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.modern.js
CHANGED
|
@@ -4824,8 +4824,8 @@ var useClickOutside = function useClickOutside(elRef, elCallback) {
|
|
|
4824
4824
|
var _templateObject$c, _templateObject2$9;
|
|
4825
4825
|
var ModalOverlay = styled.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"])));
|
|
4826
4826
|
var ModalContainer = styled.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) {
|
|
4827
|
-
var maxWidth = _ref
|
|
4828
|
-
return maxWidth ? maxWidth : '400px';
|
|
4827
|
+
var $maxWidth = _ref.$maxWidth;
|
|
4828
|
+
return $maxWidth ? $maxWidth : '400px';
|
|
4829
4829
|
});
|
|
4830
4830
|
var Modal = function Modal(_ref2) {
|
|
4831
4831
|
var isOpen = _ref2.isOpen,
|
|
@@ -4833,7 +4833,7 @@ var Modal = function Modal(_ref2) {
|
|
|
4833
4833
|
children = _ref2.children;
|
|
4834
4834
|
if (!isOpen) return null;
|
|
4835
4835
|
return React.createElement(ModalOverlay, null, React.createElement(ModalContainer, {
|
|
4836
|
-
maxWidth: maxWidth,
|
|
4836
|
+
"$maxWidth": maxWidth,
|
|
4837
4837
|
onClick: function onClick(e) {
|
|
4838
4838
|
return e.stopPropagation();
|
|
4839
4839
|
}
|
|
@@ -8471,130 +8471,1446 @@ var SearchBar$2$1 = styled.input(_templateObject2$a$1 || (_templateObject2$a$1 =
|
|
|
8471
8471
|
var $placeholderColor = _ref5.$placeholderColor;
|
|
8472
8472
|
return $placeholderColor || colorVariables$1.text.light;
|
|
8473
8473
|
});
|
|
8474
|
-
|
|
8475
|
-
|
|
8476
|
-
|
|
8477
|
-
|
|
8478
|
-
|
|
8479
|
-
|
|
8480
|
-
|
|
8481
|
-
|
|
8482
|
-
|
|
8483
|
-
|
|
8484
|
-
|
|
8485
|
-
|
|
8486
|
-
|
|
8487
|
-
|
|
8488
|
-
|
|
8489
|
-
|
|
8474
|
+
function _taggedTemplateLiteralLoose$1$1(e, t) {
|
|
8475
|
+
return t || (t = e.slice(0)), e.raw = t, e;
|
|
8476
|
+
}
|
|
8477
|
+
var colorVariables$1$1 = {
|
|
8478
|
+
brand: {
|
|
8479
|
+
primary: '#4C9EEB',
|
|
8480
|
+
secondary: '#14171A',
|
|
8481
|
+
light: '#FFFFFF'
|
|
8482
|
+
},
|
|
8483
|
+
accent: {
|
|
8484
|
+
light: '#E1E8ED',
|
|
8485
|
+
extraLight: '#F5F8FA',
|
|
8486
|
+
softBlue: '#D4EEFF',
|
|
8487
|
+
extraSoftBlue: '#E4F4FF',
|
|
8488
|
+
boldTransparent: '#5E5E5E80',
|
|
8489
|
+
transparent: '#5E5E5E4D',
|
|
8490
|
+
lightTransparent: '#5E5E5E23'
|
|
8491
|
+
},
|
|
8492
|
+
"default": {
|
|
8493
|
+
primary: '#78B6F0',
|
|
8494
|
+
secondary: '#C2C2C2',
|
|
8495
|
+
tertiary: 'transparent',
|
|
8496
|
+
error: '#F44336',
|
|
8497
|
+
success: '#4CAF50',
|
|
8498
|
+
warning: '#FF9800',
|
|
8499
|
+
info: '#2159F3'
|
|
8500
|
+
},
|
|
8501
|
+
disabled: {
|
|
8502
|
+
primary: '#B9DCF7',
|
|
8503
|
+
secondary: '#DADADA',
|
|
8504
|
+
error: '#FFEBEE',
|
|
8505
|
+
success: '#E8F5E9',
|
|
8506
|
+
warning: '#FFF3E0',
|
|
8507
|
+
info: '#E3F2FD'
|
|
8508
|
+
},
|
|
8509
|
+
hover: {
|
|
8510
|
+
primary: '#4C9EEB',
|
|
8511
|
+
secondary: '#A3A3A3',
|
|
8512
|
+
tertiary: 'transparent',
|
|
8513
|
+
error: '#D32F2F',
|
|
8514
|
+
success: '#388E3C',
|
|
8515
|
+
warning: '#F57C00',
|
|
8516
|
+
info: '#193ED2'
|
|
8517
|
+
},
|
|
8518
|
+
border: {
|
|
8519
|
+
extraBold: '#657786',
|
|
8520
|
+
bold: '#BFBFBF',
|
|
8521
|
+
medium: '#CBCED0',
|
|
8522
|
+
light: '#DCDCDC',
|
|
8523
|
+
extraLight: '#E6E3E3'
|
|
8524
|
+
},
|
|
8525
|
+
text: {
|
|
8526
|
+
dark: '#14171A',
|
|
8527
|
+
medium: '#657786',
|
|
8528
|
+
light: '#98A2AA',
|
|
8529
|
+
white: '#FFFFFF',
|
|
8530
|
+
success: '#1B5E20',
|
|
8531
|
+
error: '#B71C1C',
|
|
8532
|
+
info: '#0D30A1',
|
|
8533
|
+
warning: '#E65100'
|
|
8534
|
+
},
|
|
8535
|
+
badge: {
|
|
8536
|
+
lavender: '#E8DAFF',
|
|
8537
|
+
papayaWhip: '#FFEDD5',
|
|
8538
|
+
water: '#C7E3FF',
|
|
8539
|
+
paleBlue: '#B0F0E4',
|
|
8540
|
+
teaGreen: '#D5F7C2',
|
|
8541
|
+
lightBlue: '#ADD8E6'
|
|
8490
8542
|
}
|
|
8543
|
+
};
|
|
8544
|
+
var _templateObject$e$1, _templateObject2$b$1, _templateObject3$7$1;
|
|
8545
|
+
var wrapperCss$1$1 = 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"])));
|
|
8546
|
+
var IconWrapper$1$1 = styled.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) {
|
|
8547
|
+
var $clickable = _ref.$clickable;
|
|
8548
|
+
return $clickable ? 'pointer' : 'default';
|
|
8549
|
+
}, wrapperCss$1$1);
|
|
8550
|
+
var IconWrapperForSVG$1$1 = styled.g(_templateObject3$7$1 || (_templateObject3$7$1 = _taggedTemplateLiteralLoose$1$1(["\n ", ";\n"])), wrapperCss$1$1);
|
|
8551
|
+
var _templateObject$1$1$1, _templateObject2$1$1$1;
|
|
8552
|
+
var Container$3$1 = styled.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) {
|
|
8553
|
+
var $flex = _ref.$flex;
|
|
8554
|
+
return $flex;
|
|
8555
|
+
}, function (_ref2) {
|
|
8556
|
+
var $flexWrap = _ref2.$flexWrap;
|
|
8557
|
+
return $flexWrap;
|
|
8491
8558
|
}, function (_ref3) {
|
|
8492
|
-
var $
|
|
8493
|
-
|
|
8494
|
-
|
|
8495
|
-
|
|
8496
|
-
|
|
8497
|
-
return colorVariables$1.text.medium;
|
|
8498
|
-
case 'light':
|
|
8499
|
-
return colorVariables$1.text.light;
|
|
8500
|
-
case 'white':
|
|
8501
|
-
return colorVariables$1.text.white;
|
|
8502
|
-
case 'warning':
|
|
8503
|
-
return colorVariables$1["default"].warning;
|
|
8504
|
-
case 'info':
|
|
8505
|
-
return colorVariables$1["default"].info;
|
|
8506
|
-
case 'success':
|
|
8507
|
-
return colorVariables$1["default"].success;
|
|
8508
|
-
case 'error':
|
|
8509
|
-
return colorVariables$1["default"].error;
|
|
8510
|
-
default:
|
|
8511
|
-
return $titlecolor;
|
|
8512
|
-
}
|
|
8513
|
-
});
|
|
8514
|
-
var Input = styled.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) {
|
|
8515
|
-
var $disabled = _ref4.$disabled;
|
|
8516
|
-
return $disabled ? 'not-allowed' : 'auto';
|
|
8559
|
+
var $flexDirection = _ref3.$flexDirection;
|
|
8560
|
+
return $flexDirection;
|
|
8561
|
+
}, function (_ref4) {
|
|
8562
|
+
var $justifyContent = _ref4.$justifyContent;
|
|
8563
|
+
return $justifyContent;
|
|
8517
8564
|
}, function (_ref5) {
|
|
8518
|
-
var $
|
|
8519
|
-
|
|
8520
|
-
return $disabled ? colorVariables$1.disabled.secondary : $background;
|
|
8565
|
+
var $alignItems = _ref5.$alignItems;
|
|
8566
|
+
return $alignItems;
|
|
8521
8567
|
}, function (_ref6) {
|
|
8522
|
-
var $
|
|
8523
|
-
return $
|
|
8568
|
+
var $gap = _ref6.$gap;
|
|
8569
|
+
return $gap;
|
|
8524
8570
|
}, function (_ref7) {
|
|
8525
|
-
var $
|
|
8526
|
-
|
|
8527
|
-
case 'small':
|
|
8528
|
-
return "\n font-size: 12px;\n padding: 5px 10px;\n ";
|
|
8529
|
-
case 'medium':
|
|
8530
|
-
return "\n font-size: 14px;\n padding: 9.5px 12px;\n ";
|
|
8531
|
-
case 'large':
|
|
8532
|
-
return "\n font-size: 16px;\n padding: 9px 14px;\n ";
|
|
8533
|
-
default:
|
|
8534
|
-
return "\n font-size: 14px;\n padding: 7px 12px;\n ";
|
|
8535
|
-
}
|
|
8571
|
+
var $fontWeight = _ref7.$fontWeight;
|
|
8572
|
+
return $fontWeight;
|
|
8536
8573
|
}, function (_ref8) {
|
|
8537
|
-
var $
|
|
8538
|
-
|
|
8539
|
-
|
|
8540
|
-
|
|
8541
|
-
|
|
8542
|
-
|
|
8543
|
-
|
|
8544
|
-
|
|
8545
|
-
|
|
8546
|
-
|
|
8547
|
-
|
|
8548
|
-
|
|
8549
|
-
|
|
8550
|
-
|
|
8551
|
-
|
|
8552
|
-
|
|
8553
|
-
|
|
8554
|
-
|
|
8555
|
-
|
|
8556
|
-
return $color;
|
|
8557
|
-
}
|
|
8558
|
-
}, colorVariables$1.text.light);
|
|
8559
|
-
var InputWrapper$1$1 = styled.div(_templateObject4$5$1 || (_templateObject4$5$1 = _taggedTemplateLiteralLoose$1(["\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n"])));
|
|
8560
|
-
var IconWrapper$1$1 = styled.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) {
|
|
8561
|
-
var $disabled = _ref9.$disabled;
|
|
8562
|
-
return $disabled ? 'not-allowed' : 'pointer';
|
|
8563
|
-
});
|
|
8564
|
-
var Asterisk$1$1 = styled.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);
|
|
8565
|
-
var _templateObject$f, _templateObject2$c, _templateObject3$8;
|
|
8566
|
-
var Container$4 = styled.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) {
|
|
8567
|
-
var $padding = _ref.$padding;
|
|
8574
|
+
var $height = _ref8.$height;
|
|
8575
|
+
return $height;
|
|
8576
|
+
}, function (_ref9) {
|
|
8577
|
+
var $minHeight = _ref9.$minHeight;
|
|
8578
|
+
return $minHeight;
|
|
8579
|
+
}, function (_ref10) {
|
|
8580
|
+
var $maxHeight = _ref10.$maxHeight;
|
|
8581
|
+
return $maxHeight;
|
|
8582
|
+
}, function (_ref11) {
|
|
8583
|
+
var $width = _ref11.$width;
|
|
8584
|
+
return $width;
|
|
8585
|
+
}, function (_ref12) {
|
|
8586
|
+
var $minWidth = _ref12.$minWidth;
|
|
8587
|
+
return $minWidth;
|
|
8588
|
+
}, function (_ref13) {
|
|
8589
|
+
var $maxWidth = _ref13.$maxWidth;
|
|
8590
|
+
return $maxWidth;
|
|
8591
|
+
}, function (_ref14) {
|
|
8592
|
+
var $padding = _ref14.$padding;
|
|
8568
8593
|
return $padding;
|
|
8569
|
-
})
|
|
8570
|
-
var
|
|
8571
|
-
|
|
8572
|
-
|
|
8573
|
-
|
|
8574
|
-
|
|
8575
|
-
|
|
8576
|
-
|
|
8577
|
-
|
|
8578
|
-
|
|
8579
|
-
|
|
8580
|
-
|
|
8581
|
-
|
|
8582
|
-
|
|
8583
|
-
|
|
8584
|
-
|
|
8585
|
-
|
|
8586
|
-
|
|
8587
|
-
|
|
8588
|
-
|
|
8589
|
-
|
|
8590
|
-
|
|
8591
|
-
|
|
8592
|
-
return $
|
|
8593
|
-
}, function (
|
|
8594
|
-
var $
|
|
8594
|
+
}, function (_ref15) {
|
|
8595
|
+
var $background = _ref15.$background;
|
|
8596
|
+
return $background;
|
|
8597
|
+
}, function (_ref16) {
|
|
8598
|
+
var $objectfit = _ref16.$objectfit;
|
|
8599
|
+
return $objectfit;
|
|
8600
|
+
}, function (_ref17) {
|
|
8601
|
+
var $margin = _ref17.$margin;
|
|
8602
|
+
return $margin;
|
|
8603
|
+
}, function (_ref18) {
|
|
8604
|
+
var $borderRadius = _ref18.$borderRadius;
|
|
8605
|
+
return $borderRadius;
|
|
8606
|
+
}, function (_ref19) {
|
|
8607
|
+
var $cursor = _ref19.$cursor;
|
|
8608
|
+
return $cursor;
|
|
8609
|
+
}, function (_ref20) {
|
|
8610
|
+
var $fontSize = _ref20.$fontSize;
|
|
8611
|
+
return $fontSize;
|
|
8612
|
+
}, function (_ref21) {
|
|
8613
|
+
var $opacity = _ref21.$opacity;
|
|
8614
|
+
return $opacity;
|
|
8615
|
+
}, function (_ref22) {
|
|
8616
|
+
var $pointerEvents = _ref22.$pointerEvents;
|
|
8617
|
+
return $pointerEvents;
|
|
8618
|
+
}, function (_ref23) {
|
|
8619
|
+
var $position = _ref23.$position;
|
|
8620
|
+
return $position;
|
|
8621
|
+
}, function (_ref24) {
|
|
8622
|
+
var $top = _ref24.$top;
|
|
8623
|
+
return $top;
|
|
8624
|
+
}, function (_ref25) {
|
|
8625
|
+
var $bottom = _ref25.$bottom;
|
|
8626
|
+
return $bottom;
|
|
8627
|
+
}, function (_ref26) {
|
|
8628
|
+
var $left = _ref26.$left;
|
|
8629
|
+
return $left;
|
|
8630
|
+
}, function (_ref27) {
|
|
8631
|
+
var $right = _ref27.$right;
|
|
8632
|
+
return $right;
|
|
8633
|
+
}, function (_ref28) {
|
|
8634
|
+
var $textAlign = _ref28.$textAlign;
|
|
8635
|
+
return $textAlign;
|
|
8636
|
+
}, function (_ref29) {
|
|
8637
|
+
var $color = _ref29.$color;
|
|
8595
8638
|
return $color;
|
|
8596
|
-
}, function (
|
|
8597
|
-
var $
|
|
8639
|
+
}, function (_ref30) {
|
|
8640
|
+
var $overflow = _ref30.$overflow;
|
|
8641
|
+
return $overflow || 'visible';
|
|
8642
|
+
}, function (_ref31) {
|
|
8643
|
+
var $overflowY = _ref31.$overflowY;
|
|
8644
|
+
return $overflowY;
|
|
8645
|
+
}, function (_ref32) {
|
|
8646
|
+
var $zIndex = _ref32.$zIndex;
|
|
8647
|
+
return $zIndex;
|
|
8648
|
+
}, function (_ref33) {
|
|
8649
|
+
var $scrollbarWidth = _ref33.$scrollbarWidth;
|
|
8650
|
+
return $scrollbarWidth;
|
|
8651
|
+
}, function (_ref34) {
|
|
8652
|
+
var $border = _ref34.$border;
|
|
8653
|
+
return $border;
|
|
8654
|
+
}, function (_ref35) {
|
|
8655
|
+
var $borderBottom = _ref35.$borderBottom;
|
|
8656
|
+
return $borderBottom;
|
|
8657
|
+
}, function (_ref36) {
|
|
8658
|
+
var $borderLeft = _ref36.$borderLeft;
|
|
8659
|
+
return $borderLeft;
|
|
8660
|
+
}, function (_ref37) {
|
|
8661
|
+
var $hoverBackground = _ref37.$hoverBackground;
|
|
8662
|
+
return $hoverBackground;
|
|
8663
|
+
}, function (_ref38) {
|
|
8664
|
+
var $hoverColor = _ref38.$hoverColor;
|
|
8665
|
+
return $hoverColor;
|
|
8666
|
+
});
|
|
8667
|
+
var Span$1$1 = styled.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) {
|
|
8668
|
+
var $fontFamily = _ref39.$fontFamily;
|
|
8669
|
+
return $fontFamily ? $fontFamily : 'NotoSans, sans-serif';
|
|
8670
|
+
}, function (_ref40) {
|
|
8671
|
+
var $fontWeight = _ref40.$fontWeight;
|
|
8672
|
+
return $fontWeight ? $fontWeight : '500';
|
|
8673
|
+
}, function (_ref41) {
|
|
8674
|
+
var $fontSize = _ref41.$fontSize;
|
|
8675
|
+
return $fontSize ? $fontSize : '16px';
|
|
8676
|
+
}, function (_ref42) {
|
|
8677
|
+
var $color = _ref42.$color;
|
|
8678
|
+
return $color ? $color : colorVariables$1$1.text.medium;
|
|
8679
|
+
}, function (_ref43) {
|
|
8680
|
+
var $lineHeight = _ref43.$lineHeight;
|
|
8681
|
+
return $lineHeight ? $lineHeight : '100%';
|
|
8682
|
+
}, function (_ref44) {
|
|
8683
|
+
var $textAlign = _ref44.$textAlign;
|
|
8684
|
+
return $textAlign ? $textAlign : 'center';
|
|
8685
|
+
}, function (_ref45) {
|
|
8686
|
+
var $minWidth = _ref45.$minWidth;
|
|
8687
|
+
return $minWidth;
|
|
8688
|
+
}, function (_ref46) {
|
|
8689
|
+
var $width = _ref46.$width;
|
|
8690
|
+
return $width;
|
|
8691
|
+
}, function (_ref47) {
|
|
8692
|
+
var $overflowWrap = _ref47.$overflowWrap;
|
|
8693
|
+
return $overflowWrap;
|
|
8694
|
+
});
|
|
8695
|
+
var _templateObject$2$1$1, _templateObject2$2$1$1;
|
|
8696
|
+
var TooltipWrapper$1$1 = styled.div(_templateObject$2$1$1 || (_templateObject$2$1$1 = _taggedTemplateLiteralLoose$1$1(["\n svg {\n cursor: pointer;\n } \n"])));
|
|
8697
|
+
var TooltipText$1$1 = styled.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) {
|
|
8698
|
+
var $visible = _ref.$visible;
|
|
8699
|
+
return $visible ? 'visible' : 'hidden';
|
|
8700
|
+
}, function (_ref2) {
|
|
8701
|
+
var $visible = _ref2.$visible;
|
|
8702
|
+
return $visible ? 1 : 0;
|
|
8703
|
+
}, function (_ref3) {
|
|
8704
|
+
var $bgColor = _ref3.$bgColor;
|
|
8705
|
+
return $bgColor || colorVariables$1$1.brand.light;
|
|
8706
|
+
}, colorVariables$1$1.text.medium);
|
|
8707
|
+
var _templateObject$3$1$1;
|
|
8708
|
+
var BreadCrum$1$1 = styled.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) {
|
|
8709
|
+
var $color = _ref.$color;
|
|
8710
|
+
return $color ? $color : colorVariables$1$1.text.medium;
|
|
8711
|
+
}, function (_ref2) {
|
|
8712
|
+
var $disabled = _ref2.$disabled;
|
|
8713
|
+
return $disabled ? '0.6' : '1';
|
|
8714
|
+
}, function (_ref3) {
|
|
8715
|
+
var $hover = _ref3.$hover,
|
|
8716
|
+
$disabled = _ref3.$disabled;
|
|
8717
|
+
return $hover && !$disabled && 'underline';
|
|
8718
|
+
}, function (_ref4) {
|
|
8719
|
+
var $hover = _ref4.$hover,
|
|
8720
|
+
$disabled = _ref4.$disabled;
|
|
8721
|
+
return $hover && !$disabled ? 'pointer' : 'default';
|
|
8722
|
+
}, function (_ref5) {
|
|
8723
|
+
var $hover = _ref5.$hover,
|
|
8724
|
+
$disabled = _ref5.$disabled;
|
|
8725
|
+
return $hover && !$disabled && colorVariables$1$1["default"].primary;
|
|
8726
|
+
});
|
|
8727
|
+
var _templateObject$4$1$1;
|
|
8728
|
+
var fontFaces$1$1 = 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"])));
|
|
8729
|
+
var GlobalFonts$1$1 = {
|
|
8730
|
+
bold: 'NotoSans, sans-serif',
|
|
8731
|
+
regular: 'NotoSans, sans-serif',
|
|
8732
|
+
light: 'NotoSans, sans-serif'
|
|
8733
|
+
};
|
|
8734
|
+
var _templateObject$5$1$1, _templateObject2$3$1$1, _templateObject3$1$1$1, _templateObject4$5$1, _templateObject5$5$1, _templateObject6$5$1;
|
|
8735
|
+
var spin$1$1 = keyframes(_templateObject$5$1$1 || (_templateObject$5$1$1 = _taggedTemplateLiteralLoose$1$1(["\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
8736
|
+
var Spinner$1$1 = styled.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) {
|
|
8737
|
+
var $size = _ref.$size;
|
|
8738
|
+
return $size;
|
|
8739
|
+
}, function (_ref2) {
|
|
8740
|
+
var $size = _ref2.$size;
|
|
8741
|
+
return $size;
|
|
8742
|
+
}, function (_ref3) {
|
|
8743
|
+
var $size = _ref3.$size;
|
|
8744
|
+
return $size / 4;
|
|
8745
|
+
}, function (_ref4) {
|
|
8746
|
+
var $color = _ref4.$color;
|
|
8747
|
+
return $color;
|
|
8748
|
+
}, spin$1$1);
|
|
8749
|
+
var LoaderWrapper$1$1 = styled.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) {
|
|
8750
|
+
var $loaderPosition = _ref5.$loaderPosition;
|
|
8751
|
+
return $loaderPosition === 'right' ? '4px' : '0';
|
|
8752
|
+
}, function (_ref6) {
|
|
8753
|
+
var $loaderPosition = _ref6.$loaderPosition;
|
|
8754
|
+
return $loaderPosition === 'left' ? '4px' : '0';
|
|
8755
|
+
});
|
|
8756
|
+
var Container$1$1$1 = styled.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) {
|
|
8757
|
+
var $iconPosition = _ref7.$iconPosition;
|
|
8758
|
+
return $iconPosition === 'right' ? 'row-reverse' : 'row';
|
|
8759
|
+
}, function (_ref8) {
|
|
8760
|
+
var gap = _ref8.gap;
|
|
8761
|
+
return gap || '4px';
|
|
8762
|
+
}, function (_ref9) {
|
|
8763
|
+
var cursor = _ref9.cursor;
|
|
8764
|
+
return cursor;
|
|
8765
|
+
});
|
|
8766
|
+
var StyledButton$1$1 = styled.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) {
|
|
8767
|
+
var $disabled = _ref10.$disabled;
|
|
8768
|
+
return $disabled ? 'none' : 'auto';
|
|
8769
|
+
}, function (_ref11) {
|
|
8770
|
+
var $disabled = _ref11.$disabled;
|
|
8771
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
8772
|
+
}, function (_ref12) {
|
|
8773
|
+
var $borderRadius = _ref12.$borderRadius;
|
|
8774
|
+
return $borderRadius || '8px';
|
|
8775
|
+
}, function (_ref13) {
|
|
8776
|
+
var $size = _ref13.$size,
|
|
8777
|
+
$padding = _ref13.$padding;
|
|
8778
|
+
return $size === 'small' ? '8px 12.2px' : $size === 'medium' ? '10px 19px' : $size === 'large' ? '12px 24.5px' : $size === 'custom' ? $padding : '10px 16px';
|
|
8779
|
+
}, function (_ref14) {
|
|
8780
|
+
var _$borderHover$match;
|
|
8781
|
+
var $variant = _ref14.$variant,
|
|
8782
|
+
$disabled = _ref14.$disabled,
|
|
8783
|
+
$borderHover = _ref14.$borderHover,
|
|
8784
|
+
$borderDefault = _ref14.$borderDefault,
|
|
8785
|
+
$background = _ref14.$background,
|
|
8786
|
+
$color = _ref14.$color,
|
|
8787
|
+
$colorHover = _ref14.$colorHover;
|
|
8788
|
+
switch ($variant) {
|
|
8789
|
+
case 'primary':
|
|
8790
|
+
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 ";
|
|
8791
|
+
case 'secondary':
|
|
8792
|
+
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 ";
|
|
8793
|
+
case 'tertiary':
|
|
8794
|
+
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 ";
|
|
8795
|
+
case 'error':
|
|
8796
|
+
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 ";
|
|
8797
|
+
case 'outline-primary':
|
|
8798
|
+
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 ";
|
|
8799
|
+
case 'outline-secondary':
|
|
8800
|
+
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 ";
|
|
8801
|
+
case 'outline-error':
|
|
8802
|
+
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 ";
|
|
8803
|
+
case 'custom':
|
|
8804
|
+
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 ";
|
|
8805
|
+
default:
|
|
8806
|
+
return '';
|
|
8807
|
+
}
|
|
8808
|
+
}, function (_ref15) {
|
|
8809
|
+
var color = _ref15.color;
|
|
8810
|
+
return color;
|
|
8811
|
+
});
|
|
8812
|
+
var ButtonText$1$1 = styled.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) {
|
|
8813
|
+
var $fontFamily = _ref16.$fontFamily;
|
|
8814
|
+
return $fontFamily ? $fontFamily : GlobalFonts$1$1.bold;
|
|
8815
|
+
}, function (_ref17) {
|
|
8816
|
+
var $size = _ref17.$size,
|
|
8817
|
+
$fontSize = _ref17.$fontSize;
|
|
8818
|
+
return $size === 'small' ? '14px' : $size === 'medium' ? '16px' : $size === 'large' ? '18px' : $size === 'custom' ? $fontSize : '16px';
|
|
8819
|
+
}, function (_ref18) {
|
|
8820
|
+
var $fontWeight = _ref18.$fontWeight,
|
|
8821
|
+
$size = _ref18.$size;
|
|
8822
|
+
return $size === 'custom' && $fontWeight || '500';
|
|
8823
|
+
}, function (_ref19) {
|
|
8824
|
+
var $size = _ref19.$size,
|
|
8825
|
+
$fontSize = _ref19.$fontSize;
|
|
8826
|
+
return $size === 'small' ? '14px' : $size === 'medium' ? '16px' : $size === 'large' ? '18px' : $size === 'custom' ? $fontSize : '16px';
|
|
8827
|
+
});
|
|
8828
|
+
var _templateObject$6$1$1;
|
|
8829
|
+
var InnerContent$1$1 = styled.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) {
|
|
8830
|
+
var $isScrollable = _ref.$isScrollable;
|
|
8831
|
+
return $isScrollable ? '0 12px' : '0';
|
|
8832
|
+
});
|
|
8833
|
+
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;
|
|
8834
|
+
var DatePickerContainer$1$1 = styled.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"])));
|
|
8835
|
+
var CalendarContainer$1$1 = styled.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);
|
|
8836
|
+
var Calendar$1$1$1 = styled.div(_templateObject3$2$1$1 || (_templateObject3$2$1$1 = _taggedTemplateLiteralLoose$1$1([""])));
|
|
8837
|
+
var CalendarTime$1$1 = styled.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);
|
|
8838
|
+
var StartDate$1$1 = styled.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"])));
|
|
8839
|
+
var SelectedStart$1$1 = styled.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);
|
|
8840
|
+
var CurrentDate$1$1 = styled.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"])));
|
|
8841
|
+
var CurrentTime$1$1 = styled.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);
|
|
8842
|
+
var Selectedtime$1$1 = styled.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);
|
|
8843
|
+
var Line$1$1 = styled.div(_templateObject10$3$1 || (_templateObject10$3$1 = _taggedTemplateLiteralLoose$1$1(["\n width: 100%;\n padding-top: 10px;\n padding-bottom: 10px;\n"])));
|
|
8844
|
+
var Zones$1$1 = styled.div(_templateObject11$2$1 || (_templateObject11$2$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n justify-content: space-between;\n"])));
|
|
8845
|
+
var CalendarHeader$1$1 = styled.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"])));
|
|
8846
|
+
var CalendarMonthYear$1$1 = styled.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);
|
|
8847
|
+
var CalendarContent$1$1 = styled.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"])));
|
|
8848
|
+
var Button$1$1 = styled.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) {
|
|
8849
|
+
var $size = _ref.$size;
|
|
8850
|
+
return $size ? $size + "px" : '30px';
|
|
8851
|
+
}, function (_ref2) {
|
|
8852
|
+
var $size = _ref2.$size;
|
|
8853
|
+
return $size ? $size + "px" : '30px';
|
|
8854
|
+
});
|
|
8855
|
+
var CalendarDates$1$1 = styled.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) {
|
|
8856
|
+
var $size = _ref3.$size;
|
|
8857
|
+
return $size ? $size + "px" : '30px';
|
|
8858
|
+
}, function (_ref4) {
|
|
8859
|
+
var $size = _ref4.$size;
|
|
8860
|
+
return $size ? $size + "px" : '30px';
|
|
8861
|
+
}, function (_ref5) {
|
|
8862
|
+
var $isFuture = _ref5.$isFuture,
|
|
8863
|
+
$futureDateTime = _ref5.$futureDateTime;
|
|
8864
|
+
return !$futureDateTime && $isFuture ? 'default' : 'pointer';
|
|
8865
|
+
}, function (_ref6) {
|
|
8866
|
+
var $isFuture = _ref6.$isFuture,
|
|
8867
|
+
$futureDateTime = _ref6.$futureDateTime;
|
|
8868
|
+
return !$futureDateTime && $isFuture ? 0.5 : 1;
|
|
8869
|
+
}, function (_ref7) {
|
|
8870
|
+
var $selected = _ref7.$selected,
|
|
8871
|
+
$inRange = _ref7.$inRange;
|
|
8872
|
+
return $selected ? colorVariables$1$1["default"].primary : $inRange ? colorVariables$1$1["default"].primary : colorVariables$1$1["default"].tertiary;
|
|
8873
|
+
}, function (_ref8) {
|
|
8874
|
+
var $selected = _ref8.$selected,
|
|
8875
|
+
$inRange = _ref8.$inRange;
|
|
8876
|
+
return $selected ? colorVariables$1$1.text.white : $inRange ? colorVariables$1$1.text.white : colorVariables$1$1.text.medium;
|
|
8877
|
+
}, function (_ref9) {
|
|
8878
|
+
var $selected = _ref9.$selected,
|
|
8879
|
+
$inRange = _ref9.$inRange,
|
|
8880
|
+
$isFuture = _ref9.$isFuture,
|
|
8881
|
+
$futureDateTime = _ref9.$futureDateTime;
|
|
8882
|
+
return !$futureDateTime && $isFuture ? 'transparent' : $selected ? colorVariables$1$1.disabled.primary : $inRange ? colorVariables$1$1.disabled.primary : colorVariables$1$1.disabled.primary;
|
|
8883
|
+
});
|
|
8884
|
+
var Year$1$1 = styled.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"])));
|
|
8885
|
+
var Month$1$1 = styled.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"])));
|
|
8886
|
+
var InputWrapper$1$1 = styled.div(_templateObject19$1$1 || (_templateObject19$1$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n gap: 24px;\n"])));
|
|
8887
|
+
var TimeInputWrapper$1$1 = styled.div(_templateObject20$1$1 || (_templateObject20$1$1 = _taggedTemplateLiteralLoose$1$1(["\n position: relative;\n display: flex;\n align-items: center;\n"])));
|
|
8888
|
+
var StyledInput$1$1 = styled.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);
|
|
8889
|
+
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;
|
|
8890
|
+
var OptionContainer$1$1 = styled.div(_templateObject$8$1$1 || (_templateObject$8$1$1 = _taggedTemplateLiteralLoose$1$1([""])));
|
|
8891
|
+
var OptionItem$1$1 = styled.div(_templateObject2$5$1$1 || (_templateObject2$5$1$1 = _taggedTemplateLiteralLoose$1$1(["\n border-bottom: ", ";\n"])), function (_ref) {
|
|
8892
|
+
var $optionBorder = _ref.$optionBorder,
|
|
8893
|
+
$isborder = _ref.$isborder;
|
|
8894
|
+
return $isborder ? $optionBorder || "1px solid " + colorVariables$1$1.border.extraLight : '';
|
|
8895
|
+
});
|
|
8896
|
+
var OptionLabel$1$1 = styled.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) {
|
|
8897
|
+
var $optionColor = _ref2.$optionColor;
|
|
8898
|
+
switch ($optionColor) {
|
|
8899
|
+
case 'dark':
|
|
8900
|
+
return colorVariables$1$1.text.dark;
|
|
8901
|
+
case 'medium':
|
|
8902
|
+
return colorVariables$1$1.text.medium;
|
|
8903
|
+
case 'light':
|
|
8904
|
+
return colorVariables$1$1.text.light;
|
|
8905
|
+
case 'white':
|
|
8906
|
+
return colorVariables$1$1.text.white;
|
|
8907
|
+
case 'warning':
|
|
8908
|
+
return colorVariables$1$1["default"].warning;
|
|
8909
|
+
case 'info':
|
|
8910
|
+
return colorVariables$1$1["default"].info;
|
|
8911
|
+
case 'success':
|
|
8912
|
+
return colorVariables$1$1["default"].success;
|
|
8913
|
+
case 'error':
|
|
8914
|
+
return colorVariables$1$1["default"].error;
|
|
8915
|
+
default:
|
|
8916
|
+
return $optionColor || colorVariables$1$1.text.medium;
|
|
8917
|
+
}
|
|
8918
|
+
});
|
|
8919
|
+
var SearchContainer$3$1 = styled.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) {
|
|
8920
|
+
var $background = _ref3.$background;
|
|
8921
|
+
switch ($background) {
|
|
8922
|
+
case 'dark':
|
|
8923
|
+
return colorVariables$1$1.text.dark;
|
|
8924
|
+
case 'medium':
|
|
8925
|
+
return colorVariables$1$1.text.medium;
|
|
8926
|
+
case 'light':
|
|
8927
|
+
return colorVariables$1$1.text.light;
|
|
8928
|
+
case 'white':
|
|
8929
|
+
return colorVariables$1$1.text.white;
|
|
8930
|
+
case 'warning':
|
|
8931
|
+
return colorVariables$1$1["default"].warning;
|
|
8932
|
+
case 'info':
|
|
8933
|
+
return colorVariables$1$1["default"].info;
|
|
8934
|
+
case 'success':
|
|
8935
|
+
return colorVariables$1$1["default"].success;
|
|
8936
|
+
case 'error':
|
|
8937
|
+
return colorVariables$1$1["default"].error;
|
|
8938
|
+
default:
|
|
8939
|
+
return $background;
|
|
8940
|
+
}
|
|
8941
|
+
}, function (_ref4) {
|
|
8942
|
+
var $borderBottom = _ref4.$borderBottom;
|
|
8943
|
+
return $borderBottom || 'none';
|
|
8944
|
+
}, function (_ref5) {
|
|
8945
|
+
var $borderRadius = _ref5.$borderRadius;
|
|
8946
|
+
return $borderRadius || '8px';
|
|
8947
|
+
});
|
|
8948
|
+
var SearchBar$3$1 = styled.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) {
|
|
8949
|
+
var $inputColor = _ref6.$inputColor;
|
|
8950
|
+
switch ($inputColor) {
|
|
8951
|
+
case 'dark':
|
|
8952
|
+
return colorVariables$1$1.text.dark;
|
|
8953
|
+
case 'medium':
|
|
8954
|
+
return colorVariables$1$1.text.medium;
|
|
8955
|
+
case 'light':
|
|
8956
|
+
return colorVariables$1$1.text.light;
|
|
8957
|
+
case 'white':
|
|
8958
|
+
return colorVariables$1$1.text.white;
|
|
8959
|
+
case 'warning':
|
|
8960
|
+
return colorVariables$1$1["default"].warning;
|
|
8961
|
+
case 'info':
|
|
8962
|
+
return colorVariables$1$1["default"].info;
|
|
8963
|
+
case 'success':
|
|
8964
|
+
return colorVariables$1$1["default"].success;
|
|
8965
|
+
case 'error':
|
|
8966
|
+
return colorVariables$1$1["default"].error;
|
|
8967
|
+
default:
|
|
8968
|
+
return $inputColor;
|
|
8969
|
+
}
|
|
8970
|
+
}, function (_ref7) {
|
|
8971
|
+
var $placeholderColor = _ref7.$placeholderColor;
|
|
8972
|
+
switch ($placeholderColor) {
|
|
8973
|
+
case 'dark':
|
|
8974
|
+
return colorVariables$1$1.text.dark;
|
|
8975
|
+
case 'medium':
|
|
8976
|
+
return colorVariables$1$1.text.medium;
|
|
8977
|
+
case 'light':
|
|
8978
|
+
return colorVariables$1$1.text.light;
|
|
8979
|
+
case 'white':
|
|
8980
|
+
return colorVariables$1$1.text.white;
|
|
8981
|
+
case 'warning':
|
|
8982
|
+
return colorVariables$1$1["default"].warning;
|
|
8983
|
+
case 'info':
|
|
8984
|
+
return colorVariables$1$1["default"].info;
|
|
8985
|
+
case 'success':
|
|
8986
|
+
return colorVariables$1$1["default"].success;
|
|
8987
|
+
case 'error':
|
|
8988
|
+
return colorVariables$1$1["default"].error;
|
|
8989
|
+
default:
|
|
8990
|
+
return $placeholderColor;
|
|
8991
|
+
}
|
|
8992
|
+
});
|
|
8993
|
+
var Text$1$1 = styled.span(_templateObject6$2$1$1 || (_templateObject6$2$1$1 = _taggedTemplateLiteralLoose$1$1(["\n word-break: break-word;\n"])));
|
|
8994
|
+
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;
|
|
8995
|
+
var DropdownContainer$2$1 = styled.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) {
|
|
8996
|
+
var $width = _ref.$width;
|
|
8997
|
+
return $width || '100%';
|
|
8998
|
+
}, function (_ref2) {
|
|
8999
|
+
var $height = _ref2.$height;
|
|
9000
|
+
return $height || '100%';
|
|
9001
|
+
}, function (_ref3) {
|
|
9002
|
+
var $replaceLabel = _ref3.$replaceLabel;
|
|
9003
|
+
return $replaceLabel ? 'calc(100% - 22px)' : '';
|
|
9004
|
+
});
|
|
9005
|
+
var DropdownButton$2$1 = styled.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) {
|
|
9006
|
+
var $replaceLabel = _ref4.$replaceLabel;
|
|
9007
|
+
return $replaceLabel ? 'auto' : '';
|
|
9008
|
+
}, function (_ref5) {
|
|
9009
|
+
var $size = _ref5.$size;
|
|
9010
|
+
switch ($size) {
|
|
9011
|
+
case 'small':
|
|
9012
|
+
return '9px 12px';
|
|
9013
|
+
case 'large':
|
|
9014
|
+
return '24px 12px';
|
|
9015
|
+
default:
|
|
9016
|
+
return '14px 12px';
|
|
9017
|
+
}
|
|
9018
|
+
}, function (_ref6) {
|
|
9019
|
+
var $width = _ref6.$width;
|
|
9020
|
+
return $width ? $width : '100%';
|
|
9021
|
+
}, function (_ref7) {
|
|
9022
|
+
var $height = _ref7.$height;
|
|
9023
|
+
return $height || '100%';
|
|
9024
|
+
}, function (_ref8) {
|
|
9025
|
+
var $border = _ref8.$border,
|
|
9026
|
+
$isOpen = _ref8.$isOpen;
|
|
9027
|
+
return $isOpen ? "1px solid " + colorVariables$1$1.text.dark : $border || "1px solid " + colorVariables$1$1.border.light;
|
|
9028
|
+
}, function (_ref9) {
|
|
9029
|
+
var $borderRadius = _ref9.$borderRadius;
|
|
9030
|
+
return $borderRadius || '8px';
|
|
9031
|
+
}, function (_ref10) {
|
|
9032
|
+
var $disabled = _ref10.$disabled;
|
|
9033
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
9034
|
+
}, function (_ref11) {
|
|
9035
|
+
var $background = _ref11.$background,
|
|
9036
|
+
$disabled = _ref11.$disabled;
|
|
9037
|
+
switch ($background) {
|
|
9038
|
+
case 'dark':
|
|
9039
|
+
return $disabled ? colorVariables$1$1.disabled.secondary : colorVariables$1$1.text.dark;
|
|
9040
|
+
case 'medium':
|
|
9041
|
+
return $disabled ? colorVariables$1$1.disabled.secondary : colorVariables$1$1.text.medium;
|
|
9042
|
+
case 'light':
|
|
9043
|
+
return $disabled ? colorVariables$1$1.disabled.secondary : colorVariables$1$1.text.light;
|
|
9044
|
+
case 'white':
|
|
9045
|
+
return $disabled ? colorVariables$1$1.disabled.secondary : colorVariables$1$1.text.white;
|
|
9046
|
+
case 'warning':
|
|
9047
|
+
return $disabled ? colorVariables$1$1.disabled.secondary : colorVariables$1$1["default"].warning;
|
|
9048
|
+
case 'info':
|
|
9049
|
+
return $disabled ? colorVariables$1$1.disabled.secondary : colorVariables$1$1["default"].info;
|
|
9050
|
+
case 'success':
|
|
9051
|
+
return $disabled ? colorVariables$1$1.disabled.secondary : colorVariables$1$1["default"].success;
|
|
9052
|
+
case 'error':
|
|
9053
|
+
return $disabled ? colorVariables$1$1.disabled.secondary : colorVariables$1$1["default"].error;
|
|
9054
|
+
default:
|
|
9055
|
+
return $disabled ? colorVariables$1$1.disabled.secondary : $background;
|
|
9056
|
+
}
|
|
9057
|
+
}, function (_ref12) {
|
|
9058
|
+
var $color = _ref12.$color;
|
|
9059
|
+
return $color || colorVariables$1$1.text.medium;
|
|
9060
|
+
}, function (_ref13) {
|
|
9061
|
+
var $size = _ref13.$size;
|
|
9062
|
+
switch ($size) {
|
|
9063
|
+
case 'small':
|
|
9064
|
+
return '12px';
|
|
9065
|
+
case 'large':
|
|
9066
|
+
return '16px';
|
|
9067
|
+
default:
|
|
9068
|
+
return '14px';
|
|
9069
|
+
}
|
|
9070
|
+
}, function (_ref14) {
|
|
9071
|
+
var $size = _ref14.$size;
|
|
9072
|
+
switch ($size) {
|
|
9073
|
+
case 'small':
|
|
9074
|
+
return '12px';
|
|
9075
|
+
case 'large':
|
|
9076
|
+
return '16px';
|
|
9077
|
+
default:
|
|
9078
|
+
return '14px';
|
|
9079
|
+
}
|
|
9080
|
+
});
|
|
9081
|
+
var TitleText$2$1 = styled.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) {
|
|
9082
|
+
var $titleSize = _ref15.$titleSize,
|
|
9083
|
+
$size = _ref15.$size;
|
|
9084
|
+
return $titleSize ? $titleSize + "px" : $size === 'small' ? '14px' : $size === 'large' ? '18px' : '16px';
|
|
9085
|
+
}, function (_ref16) {
|
|
9086
|
+
var $titleSize = _ref16.$titleSize,
|
|
9087
|
+
$size = _ref16.$size;
|
|
9088
|
+
return $titleSize ? $titleSize + "px" : $size === 'small' ? '14px' : $size === 'large' ? '18px' : '16px';
|
|
9089
|
+
}, function (_ref17) {
|
|
9090
|
+
var $titleColor = _ref17.$titleColor;
|
|
9091
|
+
switch ($titleColor) {
|
|
9092
|
+
case 'dark':
|
|
9093
|
+
return colorVariables$1$1.text.dark;
|
|
9094
|
+
case 'medium':
|
|
9095
|
+
return colorVariables$1$1.text.medium;
|
|
9096
|
+
case 'light':
|
|
9097
|
+
return colorVariables$1$1.text.light;
|
|
9098
|
+
case 'white':
|
|
9099
|
+
return colorVariables$1$1.text.white;
|
|
9100
|
+
case 'warning':
|
|
9101
|
+
return colorVariables$1$1["default"].warning;
|
|
9102
|
+
case 'info':
|
|
9103
|
+
return colorVariables$1$1["default"].info;
|
|
9104
|
+
case 'success':
|
|
9105
|
+
return colorVariables$1$1["default"].success;
|
|
9106
|
+
case 'error':
|
|
9107
|
+
return colorVariables$1$1["default"].error;
|
|
9108
|
+
default:
|
|
9109
|
+
return $titleColor;
|
|
9110
|
+
}
|
|
9111
|
+
});
|
|
9112
|
+
var Container$2$1$1 = styled.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"])));
|
|
9113
|
+
var LabelText$2$1 = styled.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) {
|
|
9114
|
+
var $labelStyle = _ref18.$labelStyle;
|
|
9115
|
+
return $labelStyle;
|
|
9116
|
+
}, colorVariables$1$1.text.light);
|
|
9117
|
+
var DropdownMenu$2$1 = styled.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) {
|
|
9118
|
+
var $optionsBorderRadius = _ref19.$optionsBorderRadius;
|
|
9119
|
+
return $optionsBorderRadius || '8px';
|
|
9120
|
+
}, function (_ref20) {
|
|
9121
|
+
var $width = _ref20.$width;
|
|
9122
|
+
return $width ? $width : 'max-content';
|
|
9123
|
+
}, function (_ref21) {
|
|
9124
|
+
var $menuBackground = _ref21.$menuBackground;
|
|
9125
|
+
return $menuBackground || colorVariables$1$1.accent.extraLight;
|
|
9126
|
+
});
|
|
9127
|
+
var SelectedOptionsWrapper$2$1 = styled.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"])));
|
|
9128
|
+
var SelectedOptionDiv$2$1 = styled.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) {
|
|
9129
|
+
var $selectedOptionBackground = _ref22.$selectedOptionBackground,
|
|
9130
|
+
$disabled = _ref22.$disabled;
|
|
9131
|
+
switch ($selectedOptionBackground) {
|
|
9132
|
+
case 'dark':
|
|
9133
|
+
return colorVariables$1$1.text.dark;
|
|
9134
|
+
case 'medium':
|
|
9135
|
+
return colorVariables$1$1.text.medium;
|
|
9136
|
+
case 'light':
|
|
9137
|
+
return colorVariables$1$1.text.light;
|
|
9138
|
+
case 'white':
|
|
9139
|
+
return colorVariables$1$1.text.white;
|
|
9140
|
+
case 'warning':
|
|
9141
|
+
return $disabled ? colorVariables$1$1.disabled.warning : colorVariables$1$1["default"].warning;
|
|
9142
|
+
case 'info':
|
|
9143
|
+
return $disabled ? colorVariables$1$1.disabled.info : colorVariables$1$1["default"].info;
|
|
9144
|
+
case 'success':
|
|
9145
|
+
return $disabled ? colorVariables$1$1.disabled.success : colorVariables$1$1["default"].success;
|
|
9146
|
+
case 'error':
|
|
9147
|
+
return $disabled ? colorVariables$1$1.disabled.error : colorVariables$1$1["default"].error;
|
|
9148
|
+
default:
|
|
9149
|
+
return $selectedOptionBackground || colorVariables$1$1.accent.extraLight;
|
|
9150
|
+
}
|
|
9151
|
+
}, function (_ref23) {
|
|
9152
|
+
var $selectedOptionColor = _ref23.$selectedOptionColor;
|
|
9153
|
+
switch ($selectedOptionColor) {
|
|
9154
|
+
case 'dark':
|
|
9155
|
+
return colorVariables$1$1.text.dark;
|
|
9156
|
+
case 'medium':
|
|
9157
|
+
return colorVariables$1$1.text.medium;
|
|
9158
|
+
case 'light':
|
|
9159
|
+
return colorVariables$1$1.text.light;
|
|
9160
|
+
case 'white':
|
|
9161
|
+
return colorVariables$1$1.text.white;
|
|
9162
|
+
case 'warning':
|
|
9163
|
+
return colorVariables$1$1["default"].warning;
|
|
9164
|
+
case 'info':
|
|
9165
|
+
return colorVariables$1$1["default"].info;
|
|
9166
|
+
case 'success':
|
|
9167
|
+
return colorVariables$1$1["default"].success;
|
|
9168
|
+
case 'error':
|
|
9169
|
+
return colorVariables$1$1["default"].error;
|
|
9170
|
+
default:
|
|
9171
|
+
return $selectedOptionColor;
|
|
9172
|
+
}
|
|
9173
|
+
});
|
|
9174
|
+
var RemoveIcon$2$1 = styled.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) {
|
|
9175
|
+
var $disabled = _ref24.$disabled;
|
|
9176
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
9177
|
+
}, function (_ref25) {
|
|
9178
|
+
var removeIconBackground = _ref25.removeIconBackground,
|
|
9179
|
+
$type = _ref25.$type;
|
|
9180
|
+
return removeIconBackground ? removeIconBackground : $type === 'remove' ? '#5E5E5E24' : colorVariables$1$1.disabled.primary;
|
|
9181
|
+
}, function (_ref26) {
|
|
9182
|
+
var $disabled = _ref26.$disabled;
|
|
9183
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
9184
|
+
});
|
|
9185
|
+
var TextWrapper$1$1 = styled.div(_templateObject10$1$1$1 || (_templateObject10$1$1$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n align-items: center;\n gap: 4px;\n"])));
|
|
9186
|
+
var Asterisk$1$1 = styled.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);
|
|
9187
|
+
var _templateObject$a$1$1, _templateObject2$7$1$1, _templateObject3$5$1$1;
|
|
9188
|
+
var SelectedOptionsWrapper$1$1$1 = styled.div(_templateObject$a$1$1 || (_templateObject$a$1$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n flex-wrap: wrap;\n gap: 6px;\n"])));
|
|
9189
|
+
var SelectedOptionDiv$1$1$1 = styled.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) {
|
|
9190
|
+
var $selectedOptionBackground = _ref.$selectedOptionBackground,
|
|
9191
|
+
$type = _ref.$type;
|
|
9192
|
+
return $selectedOptionBackground || $type === 'remove' ? colorVariables$1$1.disabled.error : colorVariables$1$1.accent.softBlue;
|
|
9193
|
+
}, function (_ref2) {
|
|
9194
|
+
var $selectedOptionColor = _ref2.$selectedOptionColor,
|
|
9195
|
+
$type = _ref2.$type;
|
|
9196
|
+
return $selectedOptionColor || $type === 'remove' ? colorVariables$1$1["default"].error : colorVariables$1$1.brand.primary;
|
|
9197
|
+
});
|
|
9198
|
+
var RemoveIcon$1$1$1 = styled.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) {
|
|
9199
|
+
var $removeIconBackground = _ref3.$removeIconBackground,
|
|
9200
|
+
$type = _ref3.$type;
|
|
9201
|
+
return $removeIconBackground || $type === 'remove' ? '#5E5E5E24' : colorVariables$1$1.disabled.primary;
|
|
9202
|
+
});
|
|
9203
|
+
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;
|
|
9204
|
+
var TitleText$1$1$1 = styled.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) {
|
|
9205
|
+
var $titleWeight = _ref.$titleWeight;
|
|
9206
|
+
return $titleWeight || 500;
|
|
9207
|
+
}, function (_ref2) {
|
|
9208
|
+
var $size = _ref2.$size;
|
|
9209
|
+
switch ($size) {
|
|
9210
|
+
case 'small':
|
|
9211
|
+
return "\n font-size: 12px;\n line-height: 12px;\n ";
|
|
9212
|
+
case 'medium':
|
|
9213
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
9214
|
+
case 'large':
|
|
9215
|
+
return "\n font-size: 16px;\n line-height: 16px;\n ";
|
|
9216
|
+
default:
|
|
9217
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
9218
|
+
}
|
|
9219
|
+
}, function (_ref3) {
|
|
9220
|
+
var $titlecolor = _ref3.$titlecolor;
|
|
9221
|
+
switch ($titlecolor) {
|
|
9222
|
+
case 'dark':
|
|
9223
|
+
return colorVariables$1$1.text.dark;
|
|
9224
|
+
case 'medium':
|
|
9225
|
+
return colorVariables$1$1.text.medium;
|
|
9226
|
+
case 'light':
|
|
9227
|
+
return colorVariables$1$1.text.light;
|
|
9228
|
+
case 'white':
|
|
9229
|
+
return colorVariables$1$1.text.white;
|
|
9230
|
+
case 'warning':
|
|
9231
|
+
return colorVariables$1$1["default"].warning;
|
|
9232
|
+
case 'info':
|
|
9233
|
+
return colorVariables$1$1["default"].info;
|
|
9234
|
+
case 'success':
|
|
9235
|
+
return colorVariables$1$1["default"].success;
|
|
9236
|
+
case 'error':
|
|
9237
|
+
return colorVariables$1$1["default"].error;
|
|
9238
|
+
default:
|
|
9239
|
+
return $titlecolor;
|
|
9240
|
+
}
|
|
9241
|
+
});
|
|
9242
|
+
var DropdownContainer$1$1$1 = styled.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) {
|
|
9243
|
+
var $width = _ref4.$width;
|
|
9244
|
+
return $width || '100%';
|
|
9245
|
+
});
|
|
9246
|
+
var DropdownButton$1$1$1 = styled.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) {
|
|
9247
|
+
var $disabled = _ref5.$disabled;
|
|
9248
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
9249
|
+
}, function (_ref6) {
|
|
9250
|
+
var $width = _ref6.$width;
|
|
9251
|
+
return $width ? $width : '100%';
|
|
9252
|
+
}, function (_ref7) {
|
|
9253
|
+
var $selectHeight = _ref7.$selectHeight;
|
|
9254
|
+
return $selectHeight || 'auto';
|
|
9255
|
+
}, function (_ref8) {
|
|
9256
|
+
var $borderRadius = _ref8.$borderRadius;
|
|
9257
|
+
return $borderRadius || '8px';
|
|
9258
|
+
}, function (_ref9) {
|
|
9259
|
+
var $border = _ref9.$border;
|
|
9260
|
+
return $border || "1px solid " + colorVariables$1$1.border.light;
|
|
9261
|
+
}, function (_ref10) {
|
|
9262
|
+
var $size = _ref10.$size;
|
|
9263
|
+
switch ($size) {
|
|
9264
|
+
case 'small':
|
|
9265
|
+
return '9px 12px';
|
|
9266
|
+
case 'large':
|
|
9267
|
+
return '24px 12px';
|
|
9268
|
+
default:
|
|
9269
|
+
return '13px 12px';
|
|
9270
|
+
}
|
|
9271
|
+
}, function (_ref11) {
|
|
9272
|
+
var $background = _ref11.$background,
|
|
9273
|
+
$disabled = _ref11.$disabled;
|
|
9274
|
+
return $disabled ? colorVariables$1$1.border.light : $background || colorVariables$1$1.accent.extraLight;
|
|
9275
|
+
}, function (_ref12) {
|
|
9276
|
+
var $size = _ref12.$size;
|
|
9277
|
+
switch ($size) {
|
|
9278
|
+
case 'small':
|
|
9279
|
+
return '12px';
|
|
9280
|
+
case 'large':
|
|
9281
|
+
return '16px';
|
|
9282
|
+
default:
|
|
9283
|
+
return '14px';
|
|
9284
|
+
}
|
|
9285
|
+
}, function (_ref13) {
|
|
9286
|
+
var $size = _ref13.$size;
|
|
9287
|
+
switch ($size) {
|
|
9288
|
+
case 'small':
|
|
9289
|
+
return '12px';
|
|
9290
|
+
case 'large':
|
|
9291
|
+
return '16px';
|
|
9292
|
+
default:
|
|
9293
|
+
return '14px';
|
|
9294
|
+
}
|
|
9295
|
+
});
|
|
9296
|
+
var Options$1$1 = styled.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) {
|
|
9297
|
+
var $optionColor = _ref14.$optionColor,
|
|
9298
|
+
$optionSelected = _ref14.$optionSelected;
|
|
9299
|
+
return $optionSelected ? colorVariables$1$1.text.white : $optionColor || colorVariables$1$1.text.medium;
|
|
9300
|
+
}, function (_ref15) {
|
|
9301
|
+
var $optionFontSize = _ref15.$optionFontSize;
|
|
9302
|
+
return $optionFontSize || '14px';
|
|
9303
|
+
}, function (_ref16) {
|
|
9304
|
+
var $optionFontWeight = _ref16.$optionFontWeight;
|
|
9305
|
+
return $optionFontWeight || 400;
|
|
9306
|
+
}, function (_ref17) {
|
|
9307
|
+
var $optionBackgroundColor = _ref17.$optionBackgroundColor,
|
|
9308
|
+
$optionSelected = _ref17.$optionSelected;
|
|
9309
|
+
return $optionSelected ? colorVariables$1$1["default"].primary : $optionBackgroundColor || colorVariables$1$1["default"].tertiary;
|
|
9310
|
+
}, colorVariables$1$1.hover.primary, colorVariables$1$1.text.white);
|
|
9311
|
+
var LabelText$1$1$1 = styled.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) {
|
|
9312
|
+
var $size = _ref18.$size;
|
|
9313
|
+
switch ($size) {
|
|
9314
|
+
case 'small':
|
|
9315
|
+
return '14px';
|
|
9316
|
+
case 'large':
|
|
9317
|
+
return '16px';
|
|
9318
|
+
default:
|
|
9319
|
+
return '14px';
|
|
9320
|
+
}
|
|
9321
|
+
}, function (_ref19) {
|
|
9322
|
+
var $size = _ref19.$size;
|
|
9323
|
+
switch ($size) {
|
|
9324
|
+
case 'small':
|
|
9325
|
+
return '12px';
|
|
9326
|
+
case 'large':
|
|
9327
|
+
return '16px';
|
|
9328
|
+
default:
|
|
9329
|
+
return '14px';
|
|
9330
|
+
}
|
|
9331
|
+
}, function (_ref20) {
|
|
9332
|
+
var $fontStyle = _ref20.$fontStyle;
|
|
9333
|
+
return $fontStyle || '';
|
|
9334
|
+
}, function (_ref21) {
|
|
9335
|
+
var $color = _ref21.$color,
|
|
9336
|
+
$disabled = _ref21.$disabled;
|
|
9337
|
+
return $disabled ? colorVariables$1$1.text.medium : $color || colorVariables$1$1.text.medium;
|
|
9338
|
+
});
|
|
9339
|
+
var NoOptions$1$1 = styled(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"])));
|
|
9340
|
+
var DropdownMenu$1$1$1 = styled.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) {
|
|
9341
|
+
var $optionsBorderRadius = _ref22.$optionsBorderRadius;
|
|
9342
|
+
return $optionsBorderRadius || '8px';
|
|
9343
|
+
}, function (_ref23) {
|
|
9344
|
+
var $width = _ref23.$width;
|
|
9345
|
+
return $width ? $width : 'max-content';
|
|
9346
|
+
}, function (_ref24) {
|
|
9347
|
+
var $menuBackground = _ref24.$menuBackground;
|
|
9348
|
+
return $menuBackground || colorVariables$1$1.accent.extraLight;
|
|
9349
|
+
}, function (_ref25) {
|
|
9350
|
+
var $top = _ref25.$top;
|
|
9351
|
+
return $top && "top: " + $top + ";";
|
|
9352
|
+
}, function (_ref26) {
|
|
9353
|
+
var $bottom = _ref26.$bottom;
|
|
9354
|
+
return $bottom && "bottom: " + $bottom + ";";
|
|
9355
|
+
});
|
|
9356
|
+
var OptionsWrapper$1$1 = styled.div(_templateObject8$2$1$1 || (_templateObject8$2$1$1 = _taggedTemplateLiteralLoose$1$1(["\n max-height: 150px; \n overflow-y: auto; \n width: 100%;\n"])));
|
|
9357
|
+
var SearchContainer$1$1$1 = styled.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) {
|
|
9358
|
+
var $background = _ref27.$background;
|
|
9359
|
+
return $background || colorVariables$1$1.accent.extraLight;
|
|
9360
|
+
}, function (_ref28) {
|
|
9361
|
+
var $border = _ref28.$border;
|
|
9362
|
+
return $border || 'none';
|
|
9363
|
+
}, colorVariables$1$1.border.light, function (_ref29) {
|
|
9364
|
+
var $borderRadius = _ref29.$borderRadius;
|
|
9365
|
+
return $borderRadius || '8px 8px 0 0';
|
|
9366
|
+
});
|
|
9367
|
+
var SearchBar$1$1$1 = styled.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) {
|
|
9368
|
+
var $inputColor = _ref30.$inputColor;
|
|
9369
|
+
return $inputColor || colorVariables$1$1.text.medium;
|
|
9370
|
+
}, function (_ref31) {
|
|
9371
|
+
var $placeholderColor = _ref31.$placeholderColor;
|
|
9372
|
+
return $placeholderColor || colorVariables$1$1.text.light;
|
|
9373
|
+
});
|
|
9374
|
+
var _templateObject$c$1$1, _templateObject2$9$1$1;
|
|
9375
|
+
var ModalOverlay$1$1 = styled.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"])));
|
|
9376
|
+
var ModalContainer$1$1 = styled.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) {
|
|
9377
|
+
var maxWidth = _ref.maxWidth;
|
|
9378
|
+
return maxWidth ? maxWidth : '400px';
|
|
9379
|
+
});
|
|
9380
|
+
var _templateObject$d$1$1, _templateObject2$a$1$1;
|
|
9381
|
+
var SearchContainer$2$1$1 = styled.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) {
|
|
9382
|
+
var $background = _ref.$background;
|
|
9383
|
+
return $background || colorVariables$1$1["default"].tertiary;
|
|
9384
|
+
}, function (_ref2) {
|
|
9385
|
+
var $border = _ref2.$border;
|
|
9386
|
+
return $border || 'none';
|
|
9387
|
+
}, function (_ref3) {
|
|
9388
|
+
var $borderRadius = _ref3.$borderRadius;
|
|
9389
|
+
return $borderRadius || '8px';
|
|
9390
|
+
});
|
|
9391
|
+
var SearchBar$2$1$1 = styled.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) {
|
|
9392
|
+
var $inputColor = _ref4.$inputColor;
|
|
9393
|
+
return $inputColor || colorVariables$1$1.text.medium;
|
|
9394
|
+
}, function (_ref5) {
|
|
9395
|
+
var $placeholderColor = _ref5.$placeholderColor;
|
|
9396
|
+
return $placeholderColor || colorVariables$1$1.text.light;
|
|
9397
|
+
});
|
|
9398
|
+
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;
|
|
9399
|
+
var Container$3$1$1 = styled.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) {
|
|
9400
|
+
var $padding = _ref.$padding;
|
|
9401
|
+
return $padding;
|
|
9402
|
+
});
|
|
9403
|
+
var Label = styled.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) {
|
|
9404
|
+
var $size = _ref2.$size;
|
|
9405
|
+
switch ($size) {
|
|
9406
|
+
case 'small':
|
|
9407
|
+
return "\n font-size: 12px;\n line-height: 12px;\n ";
|
|
9408
|
+
case 'medium':
|
|
9409
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
9410
|
+
case 'large':
|
|
9411
|
+
return "\n font-size: 16px;\n line-height: 16px;\n ";
|
|
9412
|
+
default:
|
|
9413
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
9414
|
+
}
|
|
9415
|
+
}, function (_ref3) {
|
|
9416
|
+
var $titlecolor = _ref3.$titlecolor;
|
|
9417
|
+
switch ($titlecolor) {
|
|
9418
|
+
case 'dark':
|
|
9419
|
+
return colorVariables$1$1.text.dark;
|
|
9420
|
+
case 'medium':
|
|
9421
|
+
return colorVariables$1$1.text.medium;
|
|
9422
|
+
case 'light':
|
|
9423
|
+
return colorVariables$1$1.text.light;
|
|
9424
|
+
case 'white':
|
|
9425
|
+
return colorVariables$1$1.text.white;
|
|
9426
|
+
case 'warning':
|
|
9427
|
+
return colorVariables$1$1["default"].warning;
|
|
9428
|
+
case 'info':
|
|
9429
|
+
return colorVariables$1$1["default"].info;
|
|
9430
|
+
case 'success':
|
|
9431
|
+
return colorVariables$1$1["default"].success;
|
|
9432
|
+
case 'error':
|
|
9433
|
+
return colorVariables$1$1["default"].error;
|
|
9434
|
+
default:
|
|
9435
|
+
return $titlecolor;
|
|
9436
|
+
}
|
|
9437
|
+
});
|
|
9438
|
+
var Input = styled.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) {
|
|
9439
|
+
var $disabled = _ref4.$disabled;
|
|
9440
|
+
return $disabled ? 'not-allowed' : 'auto';
|
|
9441
|
+
}, function (_ref5) {
|
|
9442
|
+
var $disabled = _ref5.$disabled,
|
|
9443
|
+
$background = _ref5.$background;
|
|
9444
|
+
return $disabled ? colorVariables$1$1.disabled.secondary : $background;
|
|
9445
|
+
}, function (_ref6) {
|
|
9446
|
+
var $color = _ref6.$color;
|
|
9447
|
+
return $color;
|
|
9448
|
+
}, function (_ref7) {
|
|
9449
|
+
var $size = _ref7.$size;
|
|
9450
|
+
switch ($size) {
|
|
9451
|
+
case 'small':
|
|
9452
|
+
return "\n font-size: 12px;\n padding: 5px 10px;\n ";
|
|
9453
|
+
case 'medium':
|
|
9454
|
+
return "\n font-size: 14px;\n padding: 9.5px 12px;\n ";
|
|
9455
|
+
case 'large':
|
|
9456
|
+
return "\n font-size: 16px;\n padding: 9px 14px;\n ";
|
|
9457
|
+
default:
|
|
9458
|
+
return "\n font-size: 14px;\n padding: 7px 12px;\n ";
|
|
9459
|
+
}
|
|
9460
|
+
}, function (_ref8) {
|
|
9461
|
+
var $color = _ref8.$color;
|
|
9462
|
+
switch ($color) {
|
|
9463
|
+
case 'dark':
|
|
9464
|
+
return colorVariables$1$1.text.dark;
|
|
9465
|
+
case 'medium':
|
|
9466
|
+
return colorVariables$1$1.text.medium;
|
|
9467
|
+
case 'light':
|
|
9468
|
+
return colorVariables$1$1.text.light;
|
|
9469
|
+
case 'white':
|
|
9470
|
+
return colorVariables$1$1.text.white;
|
|
9471
|
+
case 'warning':
|
|
9472
|
+
return colorVariables$1$1["default"].warning;
|
|
9473
|
+
case 'info':
|
|
9474
|
+
return colorVariables$1$1["default"].info;
|
|
9475
|
+
case 'success':
|
|
9476
|
+
return colorVariables$1$1["default"].success;
|
|
9477
|
+
case 'error':
|
|
9478
|
+
return colorVariables$1$1["default"].error;
|
|
9479
|
+
default:
|
|
9480
|
+
return $color;
|
|
9481
|
+
}
|
|
9482
|
+
}, colorVariables$1$1.text.light);
|
|
9483
|
+
var InputWrapper$1$1$1 = styled.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"])));
|
|
9484
|
+
var IconWrapper$1$1$1 = styled.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) {
|
|
9485
|
+
var $disabled = _ref9.$disabled;
|
|
9486
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
9487
|
+
});
|
|
9488
|
+
var Asterisk$1$1$1 = styled.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);
|
|
9489
|
+
var _templateObject$f, _templateObject2$c, _templateObject3$8;
|
|
9490
|
+
var Container$4 = styled.div(_templateObject$f || (_templateObject$f = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n padding: ", ";\n"])), function (_ref) {
|
|
9491
|
+
var $padding = _ref.$padding;
|
|
9492
|
+
return $padding;
|
|
9493
|
+
});
|
|
9494
|
+
var Label$1 = styled.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) {
|
|
9495
|
+
var $size = _ref2.$size;
|
|
9496
|
+
switch ($size) {
|
|
9497
|
+
case 'small':
|
|
9498
|
+
return 'font-size: 12px; line-height: 12px;';
|
|
9499
|
+
case 'medium':
|
|
9500
|
+
return 'font-size: 14px; line-height: 14px;';
|
|
9501
|
+
case 'large':
|
|
9502
|
+
return 'font-size: 16px; line-height: 16px;';
|
|
9503
|
+
default:
|
|
9504
|
+
return 'font-size: 14px; line-height: 14px;';
|
|
9505
|
+
}
|
|
9506
|
+
}, function (_ref3) {
|
|
9507
|
+
var $titlecolor = _ref3.$titlecolor;
|
|
9508
|
+
return $titlecolor || colorVariables$1$1.text.dark;
|
|
9509
|
+
});
|
|
9510
|
+
var TextAreaComponent = styled.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) {
|
|
9511
|
+
var $disabled = _ref4.$disabled;
|
|
9512
|
+
return $disabled ? 'not-allowed' : 'auto';
|
|
9513
|
+
}, function (_ref5) {
|
|
9514
|
+
var $disabled = _ref5.$disabled,
|
|
9515
|
+
$background = _ref5.$background;
|
|
9516
|
+
return $disabled ? colorVariables$1$1.disabled.secondary : $background;
|
|
9517
|
+
}, function (_ref6) {
|
|
9518
|
+
var $color = _ref6.$color;
|
|
9519
|
+
return $color;
|
|
9520
|
+
}, function (_ref7) {
|
|
9521
|
+
var $size = _ref7.$size;
|
|
9522
|
+
switch ($size) {
|
|
9523
|
+
case 'small':
|
|
9524
|
+
return 'font-size: 12px; padding: 5px 10px;';
|
|
9525
|
+
case 'medium':
|
|
9526
|
+
return 'font-size: 14px; padding: 9px 12px;';
|
|
9527
|
+
case 'large':
|
|
9528
|
+
return 'font-size: 16px; padding: 9px 14px;';
|
|
9529
|
+
default:
|
|
9530
|
+
return 'font-size: 14px; padding: 7px 12px;';
|
|
9531
|
+
}
|
|
9532
|
+
}, function (_ref8) {
|
|
9533
|
+
var $color = _ref8.$color;
|
|
9534
|
+
return $color || colorVariables$1$1.text.dark;
|
|
9535
|
+
}, colorVariables$1$1.text.light);
|
|
9536
|
+
var _templateObject$g, _templateObject2$d, _templateObject3$9, _templateObject4$6, _templateObject5$6, _templateObject6$6, _templateObject7$3$1$1;
|
|
9537
|
+
var OptionContainer$1$1$1 = styled.div(_templateObject$g || (_templateObject$g = _taggedTemplateLiteralLoose$1$1(["\n z-index: 2;\n border-radius: 8px;\n display: flex;\n flex-direction: column;\n position: absolute;\n padding: 4px;\n top: 40px;\n left: 0px;\n background: ", ";\n max-width: 192px;\n min-width: 192px;\n height: auto;\n max-height: 175px;\n"])), colorVariables$1$1.text.white);
|
|
9538
|
+
var OptionItem$1$1$1 = styled.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) {
|
|
9539
|
+
var $optionSelected = _ref.$optionSelected;
|
|
9540
|
+
return $optionSelected ? colorVariables$1$1.text.white : colorVariables$1$1.text.medium;
|
|
9541
|
+
}, function (_ref2) {
|
|
9542
|
+
var $optionSelected = _ref2.$optionSelected;
|
|
9543
|
+
return $optionSelected ? colorVariables$1$1["default"].primary : colorVariables$1$1.text.white;
|
|
9544
|
+
}, colorVariables$1$1.hover.primary, colorVariables$1$1.text.white);
|
|
9545
|
+
var TotalOptionsHeader = styled.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);
|
|
9546
|
+
var OptionLabel$1$1$1 = styled.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"])));
|
|
9547
|
+
var SearchContainer$3$1$1 = styled.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) {
|
|
9548
|
+
var $background = _ref3.$background;
|
|
9549
|
+
switch ($background) {
|
|
9550
|
+
case 'dark':
|
|
9551
|
+
return colorVariables$1$1.text.dark;
|
|
9552
|
+
case 'medium':
|
|
9553
|
+
return colorVariables$1$1.text.medium;
|
|
9554
|
+
case 'light':
|
|
9555
|
+
return colorVariables$1$1.text.light;
|
|
9556
|
+
case 'white':
|
|
9557
|
+
return colorVariables$1$1.text.white;
|
|
9558
|
+
case 'warning':
|
|
9559
|
+
return colorVariables$1$1["default"].warning;
|
|
9560
|
+
case 'info':
|
|
9561
|
+
return colorVariables$1$1["default"].info;
|
|
9562
|
+
case 'success':
|
|
9563
|
+
return colorVariables$1$1["default"].success;
|
|
9564
|
+
case 'error':
|
|
9565
|
+
return colorVariables$1$1["default"].error;
|
|
9566
|
+
default:
|
|
9567
|
+
return $background;
|
|
9568
|
+
}
|
|
9569
|
+
}, function (_ref4) {
|
|
9570
|
+
var $borderBottom = _ref4.$borderBottom;
|
|
9571
|
+
return $borderBottom || 'none';
|
|
9572
|
+
}, function (_ref5) {
|
|
9573
|
+
var $borderRadius = _ref5.$borderRadius;
|
|
9574
|
+
return $borderRadius || '8px';
|
|
9575
|
+
});
|
|
9576
|
+
var SearchBar$3$1$1 = styled.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) {
|
|
9577
|
+
var $inputColor = _ref6.$inputColor;
|
|
9578
|
+
switch ($inputColor) {
|
|
9579
|
+
case 'dark':
|
|
9580
|
+
return colorVariables$1$1.text.dark;
|
|
9581
|
+
case 'medium':
|
|
9582
|
+
return colorVariables$1$1.text.medium;
|
|
9583
|
+
case 'light':
|
|
9584
|
+
return colorVariables$1$1.text.light;
|
|
9585
|
+
case 'white':
|
|
9586
|
+
return colorVariables$1$1.text.white;
|
|
9587
|
+
case 'warning':
|
|
9588
|
+
return colorVariables$1$1["default"].warning;
|
|
9589
|
+
case 'info':
|
|
9590
|
+
return colorVariables$1$1["default"].info;
|
|
9591
|
+
case 'success':
|
|
9592
|
+
return colorVariables$1$1["default"].success;
|
|
9593
|
+
case 'error':
|
|
9594
|
+
return colorVariables$1$1["default"].error;
|
|
9595
|
+
default:
|
|
9596
|
+
return $inputColor;
|
|
9597
|
+
}
|
|
9598
|
+
}, function (_ref7) {
|
|
9599
|
+
var $placeholderColor = _ref7.$placeholderColor;
|
|
9600
|
+
switch ($placeholderColor) {
|
|
9601
|
+
case 'dark':
|
|
9602
|
+
return colorVariables$1$1.text.dark;
|
|
9603
|
+
case 'medium':
|
|
9604
|
+
return colorVariables$1$1.text.medium;
|
|
9605
|
+
case 'light':
|
|
9606
|
+
return colorVariables$1$1.text.light;
|
|
9607
|
+
case 'white':
|
|
9608
|
+
return colorVariables$1$1.text.white;
|
|
9609
|
+
case 'warning':
|
|
9610
|
+
return colorVariables$1$1["default"].warning;
|
|
9611
|
+
case 'info':
|
|
9612
|
+
return colorVariables$1$1["default"].info;
|
|
9613
|
+
case 'success':
|
|
9614
|
+
return colorVariables$1$1["default"].success;
|
|
9615
|
+
case 'error':
|
|
9616
|
+
return colorVariables$1$1["default"].error;
|
|
9617
|
+
default:
|
|
9618
|
+
return $placeholderColor;
|
|
9619
|
+
}
|
|
9620
|
+
});
|
|
9621
|
+
var OptionsWrapper$1$1$1 = styled.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);
|
|
9622
|
+
var _templateObject$h, _templateObject2$e, _templateObject3$a, _templateObject4$7;
|
|
9623
|
+
var spin$1$1$1 = keyframes(_templateObject$h || (_templateObject$h = _taggedTemplateLiteralLoose$1$1(["\n 0% { opacity: 1; }\n 100% { opacity: 0.3; }\n"])));
|
|
9624
|
+
var getDotPosition = function getDotPosition(index, size) {
|
|
9625
|
+
var angle = index * 360 / 8;
|
|
9626
|
+
var radius = size / 2.5;
|
|
9627
|
+
var x = radius * Math.cos(angle * Math.PI / 180);
|
|
9628
|
+
var y = radius * Math.sin(angle * Math.PI / 180);
|
|
9629
|
+
return "translate(" + x + "px, " + y + "px)";
|
|
9630
|
+
};
|
|
9631
|
+
var SpinnerContainer = styled.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) {
|
|
9632
|
+
var $size = _ref.$size;
|
|
9633
|
+
return $size;
|
|
9634
|
+
}, function (_ref2) {
|
|
9635
|
+
var $size = _ref2.$size;
|
|
9636
|
+
return $size;
|
|
9637
|
+
});
|
|
9638
|
+
var Dot = styled.div.attrs(function (_ref3) {
|
|
9639
|
+
var $index = _ref3.$index,
|
|
9640
|
+
$size = _ref3.$size;
|
|
9641
|
+
return {
|
|
9642
|
+
style: {
|
|
9643
|
+
transform: getDotPosition($index, $size)
|
|
9644
|
+
}
|
|
9645
|
+
};
|
|
9646
|
+
})(_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) {
|
|
9647
|
+
var $dotSize = _ref4.$dotSize;
|
|
9648
|
+
return $dotSize;
|
|
9649
|
+
}, function (_ref5) {
|
|
9650
|
+
var $dotSize = _ref5.$dotSize;
|
|
9651
|
+
return $dotSize;
|
|
9652
|
+
}, function (_ref6) {
|
|
9653
|
+
var $color = _ref6.$color;
|
|
9654
|
+
return $color;
|
|
9655
|
+
}, spin$1$1$1, function (_ref7) {
|
|
9656
|
+
var $speed = _ref7.$speed;
|
|
9657
|
+
return $speed;
|
|
9658
|
+
}, function (_ref8) {
|
|
9659
|
+
var $index = _ref8.$index,
|
|
9660
|
+
$speed = _ref8.$speed;
|
|
9661
|
+
return $index * $speed / 8;
|
|
9662
|
+
});
|
|
9663
|
+
var SpinnerWrapper = styled.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"])));
|
|
9664
|
+
var _templateObject$i, _templateObject2$f;
|
|
9665
|
+
var spin$2 = keyframes(_templateObject$i || (_templateObject$i = _taggedTemplateLiteralLoose$1$1(["\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
9666
|
+
var Spinner$1$1$1 = styled.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) {
|
|
9667
|
+
var $size = _ref.$size;
|
|
9668
|
+
return $size;
|
|
9669
|
+
}, function (_ref2) {
|
|
9670
|
+
var $size = _ref2.$size;
|
|
9671
|
+
return $size;
|
|
9672
|
+
}, function (_ref3) {
|
|
9673
|
+
var $color = _ref3.$color;
|
|
9674
|
+
return $color;
|
|
9675
|
+
}, spin$2);
|
|
9676
|
+
var _templateObject$j;
|
|
9677
|
+
var PageInput = styled.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);
|
|
9678
|
+
var _templateObject$k, _templateObject2$g, _templateObject3$b, _templateObject4$8, _templateObject5$7, _templateObject6$7;
|
|
9679
|
+
var SidebarContainer = styled.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) {
|
|
9680
|
+
var $isExpanded = _ref.$isExpanded;
|
|
9681
|
+
return $isExpanded ? '225px' : '68px';
|
|
9682
|
+
}, function (_ref2) {
|
|
9683
|
+
var $background = _ref2.$background;
|
|
9684
|
+
return $background ? $background : colorVariables$1$1.accent.softBlue;
|
|
9685
|
+
});
|
|
9686
|
+
var SidebarItem = styled(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);
|
|
9687
|
+
var ContentWrapper = styled.div(_templateObject3$b || (_templateObject3$b = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n flex-direction: column;\n gap: 16px;\n width: 100%;\n"])));
|
|
9688
|
+
var IconWrapper$2 = styled.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) {
|
|
9689
|
+
var $selected = _ref3.$selected;
|
|
9690
|
+
return $selected ? colorVariables$1$1["default"].primary : colorVariables$1$1["default"].tertiary;
|
|
9691
|
+
});
|
|
9692
|
+
var Logo = styled.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"])));
|
|
9693
|
+
var TextContainer = styled.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) {
|
|
9694
|
+
var $padding = _ref4.$padding;
|
|
9695
|
+
return $padding;
|
|
9696
|
+
}, function (_ref5) {
|
|
9697
|
+
var $fontSize = _ref5.$fontSize;
|
|
9698
|
+
return $fontSize ? $fontSize : '20px';
|
|
9699
|
+
}, function (_ref6) {
|
|
9700
|
+
var $fontWeight = _ref6.$fontWeight;
|
|
9701
|
+
return $fontWeight ? $fontWeight : '500';
|
|
9702
|
+
}, function (_ref7) {
|
|
9703
|
+
var $color = _ref7.$color;
|
|
9704
|
+
return $color ? $color : colorVariables$1$1["default"].primary;
|
|
9705
|
+
}, function (_ref8) {
|
|
9706
|
+
var $isExpanded = _ref8.$isExpanded;
|
|
9707
|
+
return $isExpanded ? 1 : 0;
|
|
9708
|
+
}, function (_ref9) {
|
|
9709
|
+
var $isExpanded = _ref9.$isExpanded;
|
|
9710
|
+
return $isExpanded ? 'visible' : 'hidden';
|
|
9711
|
+
});
|
|
9712
|
+
var _templateObject$l, _templateObject2$h, _templateObject3$c, _templateObject4$9;
|
|
9713
|
+
var ContainerWrapper = styled.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) {
|
|
9714
|
+
return props.$width || 'auto';
|
|
9715
|
+
}, function (_ref) {
|
|
9716
|
+
var $minHeight = _ref.$minHeight;
|
|
9717
|
+
return $minHeight;
|
|
9718
|
+
});
|
|
9719
|
+
var CellContainer = styled.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) {
|
|
9720
|
+
return props.$align;
|
|
9721
|
+
}, function (props) {
|
|
9722
|
+
return props.$width || 'auto';
|
|
9723
|
+
}, function (props) {
|
|
9724
|
+
return props.$minWidth;
|
|
9725
|
+
}, function (props) {
|
|
9726
|
+
return props.$background || 'inherit';
|
|
9727
|
+
}, function (props) {
|
|
9728
|
+
return props.$padding;
|
|
9729
|
+
});
|
|
9730
|
+
var MainText = styled.div(_templateObject3$c || (_templateObject3$c = _taggedTemplateLiteralLoose$1$1(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
9731
|
+
return props.$mtc;
|
|
9732
|
+
}, function (props) {
|
|
9733
|
+
return props.$mtfs;
|
|
9734
|
+
}, function (props) {
|
|
9735
|
+
return props.$mtw;
|
|
9736
|
+
});
|
|
9737
|
+
var SubText = styled.div(_templateObject4$9 || (_templateObject4$9 = _taggedTemplateLiteralLoose$1$1(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
9738
|
+
return props.$stc;
|
|
9739
|
+
}, function (props) {
|
|
9740
|
+
return props.$stfs;
|
|
9741
|
+
}, function (props) {
|
|
9742
|
+
return props.$stw;
|
|
9743
|
+
});
|
|
9744
|
+
var _templateObject$m;
|
|
9745
|
+
var TableRowContainer = styled$1.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"])));
|
|
9746
|
+
var _templateObject$n, _templateObject2$i, _templateObject3$d, _templateObject4$a, _templateObject5$8;
|
|
9747
|
+
var TableContainer = styled.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);
|
|
9748
|
+
var TableHeader = styled.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) {
|
|
9749
|
+
return props.$hbcolor || 'transparent';
|
|
9750
|
+
}, function (props) {
|
|
9751
|
+
return props.$tcolor || 'white';
|
|
9752
|
+
});
|
|
9753
|
+
var TableContent = styled.div(_templateObject3$d || (_templateObject3$d = _taggedTemplateLiteralLoose$1$1(["\n width: 100%;\n svg {\n cursor: pointer;\n }\n"])));
|
|
9754
|
+
var TableData = styled.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"])));
|
|
9755
|
+
var Divider = styled.div(_templateObject5$8 || (_templateObject5$8 = _taggedTemplateLiteralLoose$1$1(["\n height: 2px;\n background: ", ";\n"])), colorVariables$1$1.border.extraLight);
|
|
9756
|
+
var _templateObject$o, _templateObject2$j, _templateObject3$e, _templateObject4$b, _templateObject5$9;
|
|
9757
|
+
var Container$5 = styled.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) {
|
|
9758
|
+
var $border = _ref.$border;
|
|
9759
|
+
return $border;
|
|
9760
|
+
});
|
|
9761
|
+
var FirstContainer = styled.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) {
|
|
9762
|
+
var $headerPadding = _ref2.$headerPadding;
|
|
9763
|
+
return $headerPadding ? $headerPadding : '0px';
|
|
9764
|
+
});
|
|
9765
|
+
var TabContainer = styled.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) {
|
|
9766
|
+
var $disabled = _ref3.$disabled;
|
|
9767
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
9768
|
+
}, function (_ref4) {
|
|
9769
|
+
var $disabled = _ref4.$disabled;
|
|
9770
|
+
return $disabled ? '0.6' : '1';
|
|
9771
|
+
}, colorVariables$1$1.text.medium, function (_ref5) {
|
|
9772
|
+
var $headerHeight = _ref5.$headerHeight;
|
|
9773
|
+
return $headerHeight ? $headerHeight : '34px';
|
|
9774
|
+
}, function (_ref6) {
|
|
9775
|
+
var $disabled = _ref6.$disabled;
|
|
9776
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
9777
|
+
});
|
|
9778
|
+
var TabItemContainer = styled.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) {
|
|
9779
|
+
var $headerHeight = _ref7.$headerHeight;
|
|
9780
|
+
return $headerHeight ? $headerHeight : '34px';
|
|
9781
|
+
}, function (props) {
|
|
9782
|
+
return props.$active ? 'block' : 'none';
|
|
9783
|
+
}, colorVariables$1$1["default"].primary);
|
|
9784
|
+
var DetailsFirstContainer = styled.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) {
|
|
9785
|
+
return props.$active ? colorVariables$1$1["default"].primary : colorVariables$1$1.text.medium;
|
|
9786
|
+
});
|
|
9787
|
+
var _templateObject$p, _templateObject2$k, _templateObject3$f, _templateObject4$c, _templateObject5$a, _templateObject6$8;
|
|
9788
|
+
var Container$6 = styled.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) {
|
|
9789
|
+
var $padding = _ref.$padding;
|
|
9790
|
+
return $padding;
|
|
9791
|
+
});
|
|
9792
|
+
var Label$2 = styled.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) {
|
|
9793
|
+
var $size = _ref2.$size;
|
|
9794
|
+
switch ($size) {
|
|
9795
|
+
case 'small':
|
|
9796
|
+
return "\n font-size: 12px;\n line-height: 12px;\n ";
|
|
9797
|
+
case 'medium':
|
|
9798
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
9799
|
+
case 'large':
|
|
9800
|
+
return "\n font-size: 16px;\n line-height: 16px;\n ";
|
|
9801
|
+
default:
|
|
9802
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
9803
|
+
}
|
|
9804
|
+
}, function (_ref3) {
|
|
9805
|
+
var $titlecolor = _ref3.$titlecolor;
|
|
9806
|
+
switch ($titlecolor) {
|
|
9807
|
+
case 'dark':
|
|
9808
|
+
return colorVariables$1$1.text.dark;
|
|
9809
|
+
case 'medium':
|
|
9810
|
+
return colorVariables$1$1.text.medium;
|
|
9811
|
+
case 'light':
|
|
9812
|
+
return colorVariables$1$1.text.light;
|
|
9813
|
+
case 'white':
|
|
9814
|
+
return colorVariables$1$1.text.white;
|
|
9815
|
+
case 'warning':
|
|
9816
|
+
return colorVariables$1$1["default"].warning;
|
|
9817
|
+
case 'info':
|
|
9818
|
+
return colorVariables$1$1["default"].info;
|
|
9819
|
+
case 'success':
|
|
9820
|
+
return colorVariables$1$1["default"].success;
|
|
9821
|
+
case 'error':
|
|
9822
|
+
return colorVariables$1$1["default"].error;
|
|
9823
|
+
default:
|
|
9824
|
+
return $titlecolor;
|
|
9825
|
+
}
|
|
9826
|
+
});
|
|
9827
|
+
var Input$1 = styled.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) {
|
|
9828
|
+
var $disabled = _ref4.$disabled;
|
|
9829
|
+
return $disabled ? 'not-allowed' : 'auto';
|
|
9830
|
+
}, function (_ref5) {
|
|
9831
|
+
var $disabled = _ref5.$disabled,
|
|
9832
|
+
$background = _ref5.$background;
|
|
9833
|
+
return $disabled ? colorVariables$1$1.disabled.secondary : $background;
|
|
9834
|
+
}, function (_ref6) {
|
|
9835
|
+
var $color = _ref6.$color;
|
|
9836
|
+
return $color;
|
|
9837
|
+
}, function (_ref7) {
|
|
9838
|
+
var $disabled = _ref7.$disabled;
|
|
9839
|
+
return $disabled ? 'none' : 'auto';
|
|
9840
|
+
}, function (_ref8) {
|
|
9841
|
+
var $size = _ref8.$size;
|
|
9842
|
+
switch ($size) {
|
|
9843
|
+
case 'small':
|
|
9844
|
+
return "\n font-size: 12px;\n padding: 5px 10px;\n ";
|
|
9845
|
+
case 'medium':
|
|
9846
|
+
return "\n font-size: 14px;\n padding: 9.5px 12px;\n ";
|
|
9847
|
+
case 'large':
|
|
9848
|
+
return "\n font-size: 16px;\n padding: 9px 14px;\n ";
|
|
9849
|
+
default:
|
|
9850
|
+
return "\n font-size: 14px;\n padding: 7px 12px;\n ";
|
|
9851
|
+
}
|
|
9852
|
+
}, function (_ref9) {
|
|
9853
|
+
var $color = _ref9.$color;
|
|
9854
|
+
switch ($color) {
|
|
9855
|
+
case 'dark':
|
|
9856
|
+
return colorVariables$1$1.text.dark;
|
|
9857
|
+
case 'medium':
|
|
9858
|
+
return colorVariables$1$1.text.medium;
|
|
9859
|
+
case 'light':
|
|
9860
|
+
return colorVariables$1$1.text.light;
|
|
9861
|
+
case 'white':
|
|
9862
|
+
return colorVariables$1$1.text.white;
|
|
9863
|
+
case 'warning':
|
|
9864
|
+
return colorVariables$1$1["default"].warning;
|
|
9865
|
+
case 'info':
|
|
9866
|
+
return colorVariables$1$1["default"].info;
|
|
9867
|
+
case 'success':
|
|
9868
|
+
return colorVariables$1$1["default"].success;
|
|
9869
|
+
case 'error':
|
|
9870
|
+
return colorVariables$1$1["default"].error;
|
|
9871
|
+
default:
|
|
9872
|
+
return $color;
|
|
9873
|
+
}
|
|
9874
|
+
}, colorVariables$1$1.text.light);
|
|
9875
|
+
var InputWrapper$2 = styled.div(_templateObject4$c || (_templateObject4$c = _taggedTemplateLiteralLoose$1(["\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n"])));
|
|
9876
|
+
var IconWrapper$3 = styled.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) {
|
|
9877
|
+
var $disabled = _ref10.$disabled;
|
|
9878
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
9879
|
+
});
|
|
9880
|
+
var Asterisk$2 = styled.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);
|
|
9881
|
+
var _templateObject$q, _templateObject2$l, _templateObject3$g;
|
|
9882
|
+
var Container$7 = styled.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) {
|
|
9883
|
+
var $padding = _ref.$padding;
|
|
9884
|
+
return $padding;
|
|
9885
|
+
});
|
|
9886
|
+
var Label$3 = styled.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) {
|
|
9887
|
+
var $size = _ref2.$size;
|
|
9888
|
+
switch ($size) {
|
|
9889
|
+
case 'small':
|
|
9890
|
+
return 'font-size: 12px; line-height: 12px;';
|
|
9891
|
+
case 'medium':
|
|
9892
|
+
return 'font-size: 14px; line-height: 14px;';
|
|
9893
|
+
case 'large':
|
|
9894
|
+
return 'font-size: 16px; line-height: 16px;';
|
|
9895
|
+
default:
|
|
9896
|
+
return 'font-size: 14px; line-height: 14px;';
|
|
9897
|
+
}
|
|
9898
|
+
}, function (_ref3) {
|
|
9899
|
+
var $titlecolor = _ref3.$titlecolor;
|
|
9900
|
+
return $titlecolor || colorVariables$1.text.dark;
|
|
9901
|
+
});
|
|
9902
|
+
var TextAreaComponent$1 = styled.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) {
|
|
9903
|
+
var $disabled = _ref4.$disabled;
|
|
9904
|
+
return $disabled ? 'not-allowed' : 'auto';
|
|
9905
|
+
}, function (_ref5) {
|
|
9906
|
+
var $disabled = _ref5.$disabled,
|
|
9907
|
+
$background = _ref5.$background;
|
|
9908
|
+
return $disabled ? colorVariables$1.disabled.secondary : $background;
|
|
9909
|
+
}, function (_ref6) {
|
|
9910
|
+
var $color = _ref6.$color;
|
|
9911
|
+
return $color;
|
|
9912
|
+
}, function (_ref7) {
|
|
9913
|
+
var $size = _ref7.$size;
|
|
8598
9914
|
switch ($size) {
|
|
8599
9915
|
case 'small':
|
|
8600
9916
|
return 'font-size: 12px; padding: 5px 10px;';
|
|
@@ -8609,18 +9925,18 @@ var TextAreaComponent = styled.textarea(_templateObject3$8 || (_templateObject3$
|
|
|
8609
9925
|
var $color = _ref8.$color;
|
|
8610
9926
|
return $color || colorVariables$1.text.dark;
|
|
8611
9927
|
}, colorVariables$1.text.light);
|
|
8612
|
-
var _templateObject$
|
|
8613
|
-
var OptionContainer$
|
|
8614
|
-
var OptionItem$
|
|
9928
|
+
var _templateObject$r, _templateObject2$m, _templateObject3$h, _templateObject4$d, _templateObject5$b, _templateObject6$9, _templateObject7$4;
|
|
9929
|
+
var OptionContainer$2 = styled.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);
|
|
9930
|
+
var OptionItem$2 = styled.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) {
|
|
8615
9931
|
var $optionSelected = _ref.$optionSelected;
|
|
8616
9932
|
return $optionSelected ? colorVariables$1.text.white : colorVariables$1.text.medium;
|
|
8617
9933
|
}, function (_ref2) {
|
|
8618
9934
|
var $optionSelected = _ref2.$optionSelected;
|
|
8619
9935
|
return $optionSelected ? colorVariables$1["default"].primary : colorVariables$1.text.white;
|
|
8620
9936
|
}, colorVariables$1.hover.primary, colorVariables$1.text.white);
|
|
8621
|
-
var TotalOptionsHeader = styled.div(_templateObject3$
|
|
8622
|
-
var OptionLabel$
|
|
8623
|
-
var SearchContainer$
|
|
9937
|
+
var TotalOptionsHeader$1 = styled.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);
|
|
9938
|
+
var OptionLabel$2 = styled.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"])));
|
|
9939
|
+
var SearchContainer$4 = styled.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) {
|
|
8624
9940
|
var $background = _ref3.$background;
|
|
8625
9941
|
switch ($background) {
|
|
8626
9942
|
case 'dark':
|
|
@@ -8649,7 +9965,7 @@ var SearchContainer$3$1 = styled.div(_templateObject5$6 || (_templateObject5$6 =
|
|
|
8649
9965
|
var $borderRadius = _ref5.$borderRadius;
|
|
8650
9966
|
return $borderRadius || '8px';
|
|
8651
9967
|
});
|
|
8652
|
-
var SearchBar$
|
|
9968
|
+
var SearchBar$4 = styled.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) {
|
|
8653
9969
|
var $inputColor = _ref6.$inputColor;
|
|
8654
9970
|
switch ($inputColor) {
|
|
8655
9971
|
case 'dark':
|
|
@@ -8694,32 +10010,32 @@ var SearchBar$3$1 = styled.input(_templateObject6$6 || (_templateObject6$6 = _ta
|
|
|
8694
10010
|
return $placeholderColor;
|
|
8695
10011
|
}
|
|
8696
10012
|
});
|
|
8697
|
-
var OptionsWrapper$
|
|
8698
|
-
var _templateObject$
|
|
8699
|
-
var spin$
|
|
8700
|
-
var getDotPosition = function getDotPosition(index, size) {
|
|
10013
|
+
var OptionsWrapper$2 = styled.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);
|
|
10014
|
+
var _templateObject$s, _templateObject2$n, _templateObject3$i, _templateObject4$e;
|
|
10015
|
+
var spin$3 = keyframes(_templateObject$s || (_templateObject$s = _taggedTemplateLiteralLoose$1(["\n 0% { opacity: 1; }\n 100% { opacity: 0.3; }\n"])));
|
|
10016
|
+
var getDotPosition$1 = function getDotPosition(index, size) {
|
|
8701
10017
|
var angle = index * 360 / 8;
|
|
8702
10018
|
var radius = size / 2.5;
|
|
8703
10019
|
var x = radius * Math.cos(angle * Math.PI / 180);
|
|
8704
10020
|
var y = radius * Math.sin(angle * Math.PI / 180);
|
|
8705
10021
|
return "translate(" + x + "px, " + y + "px)";
|
|
8706
10022
|
};
|
|
8707
|
-
var SpinnerContainer = styled.div(_templateObject2$
|
|
10023
|
+
var SpinnerContainer$1 = styled.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) {
|
|
8708
10024
|
var $size = _ref.$size;
|
|
8709
10025
|
return $size;
|
|
8710
10026
|
}, function (_ref2) {
|
|
8711
10027
|
var $size = _ref2.$size;
|
|
8712
10028
|
return $size;
|
|
8713
10029
|
});
|
|
8714
|
-
var Dot = styled.div.attrs(function (_ref3) {
|
|
10030
|
+
var Dot$1 = styled.div.attrs(function (_ref3) {
|
|
8715
10031
|
var $index = _ref3.$index,
|
|
8716
10032
|
$size = _ref3.$size;
|
|
8717
10033
|
return {
|
|
8718
10034
|
style: {
|
|
8719
|
-
transform: getDotPosition($index, $size)
|
|
10035
|
+
transform: getDotPosition$1($index, $size)
|
|
8720
10036
|
}
|
|
8721
10037
|
};
|
|
8722
|
-
})(_templateObject3$
|
|
10038
|
+
})(_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) {
|
|
8723
10039
|
var $dotSize = _ref4.$dotSize;
|
|
8724
10040
|
return $dotSize;
|
|
8725
10041
|
}, function (_ref5) {
|
|
@@ -8728,7 +10044,7 @@ var Dot = styled.div.attrs(function (_ref3) {
|
|
|
8728
10044
|
}, function (_ref6) {
|
|
8729
10045
|
var $color = _ref6.$color;
|
|
8730
10046
|
return $color;
|
|
8731
|
-
}, spin$
|
|
10047
|
+
}, spin$3, function (_ref7) {
|
|
8732
10048
|
var $speed = _ref7.$speed;
|
|
8733
10049
|
return $speed;
|
|
8734
10050
|
}, function (_ref8) {
|
|
@@ -8736,10 +10052,10 @@ var Dot = styled.div.attrs(function (_ref3) {
|
|
|
8736
10052
|
$speed = _ref8.$speed;
|
|
8737
10053
|
return $index * $speed / 8;
|
|
8738
10054
|
});
|
|
8739
|
-
var SpinnerWrapper = styled.div(_templateObject4$
|
|
8740
|
-
var _templateObject$
|
|
8741
|
-
var spin$
|
|
8742
|
-
var Spinner$
|
|
10055
|
+
var SpinnerWrapper$1 = styled.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"])));
|
|
10056
|
+
var _templateObject$t, _templateObject2$o;
|
|
10057
|
+
var spin$4 = keyframes(_templateObject$t || (_templateObject$t = _taggedTemplateLiteralLoose$1(["\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
10058
|
+
var Spinner$2 = styled.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) {
|
|
8743
10059
|
var $size = _ref.$size;
|
|
8744
10060
|
return $size;
|
|
8745
10061
|
}, function (_ref2) {
|
|
@@ -8748,25 +10064,25 @@ var Spinner$1$1 = styled.div(_templateObject2$f || (_templateObject2$f = _tagged
|
|
|
8748
10064
|
}, function (_ref3) {
|
|
8749
10065
|
var $color = _ref3.$color;
|
|
8750
10066
|
return $color;
|
|
8751
|
-
}, spin$
|
|
8752
|
-
var _templateObject$
|
|
8753
|
-
var PageInput = styled.input(_templateObject$
|
|
8754
|
-
var _templateObject$
|
|
8755
|
-
var SidebarContainer = styled.div(_templateObject$
|
|
10067
|
+
}, spin$4);
|
|
10068
|
+
var _templateObject$u;
|
|
10069
|
+
var PageInput$1 = styled.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);
|
|
10070
|
+
var _templateObject$v, _templateObject2$p, _templateObject3$j, _templateObject4$f, _templateObject5$c, _templateObject6$a;
|
|
10071
|
+
var SidebarContainer$1 = styled.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) {
|
|
8756
10072
|
var $isExpanded = _ref.$isExpanded;
|
|
8757
10073
|
return $isExpanded ? '225px' : '68px';
|
|
8758
10074
|
}, function (_ref2) {
|
|
8759
10075
|
var $background = _ref2.$background;
|
|
8760
10076
|
return $background ? $background : colorVariables$1.accent.softBlue;
|
|
8761
10077
|
});
|
|
8762
|
-
var SidebarItem = styled(NavLink)(_templateObject2$
|
|
8763
|
-
var ContentWrapper = styled.div(_templateObject3$
|
|
8764
|
-
var IconWrapper$
|
|
10078
|
+
var SidebarItem$1 = styled(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);
|
|
10079
|
+
var ContentWrapper$1 = styled.div(_templateObject3$j || (_templateObject3$j = _taggedTemplateLiteralLoose$1(["\n display: flex;\n flex-direction: column;\n gap: 16px;\n width: 100%;\n"])));
|
|
10080
|
+
var IconWrapper$4 = styled.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) {
|
|
8765
10081
|
var $selected = _ref3.$selected;
|
|
8766
10082
|
return $selected ? colorVariables$1["default"].primary : colorVariables$1["default"].tertiary;
|
|
8767
10083
|
});
|
|
8768
|
-
var Logo = styled.div(_templateObject5$
|
|
8769
|
-
var TextContainer = styled.span(_templateObject6$
|
|
10084
|
+
var Logo$1 = styled.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"])));
|
|
10085
|
+
var TextContainer$1 = styled.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) {
|
|
8770
10086
|
var $padding = _ref4.$padding;
|
|
8771
10087
|
return $padding;
|
|
8772
10088
|
}, function (_ref5) {
|
|
@@ -8785,14 +10101,14 @@ var TextContainer = styled.span(_templateObject6$7 || (_templateObject6$7 = _tag
|
|
|
8785
10101
|
var $isExpanded = _ref9.$isExpanded;
|
|
8786
10102
|
return $isExpanded ? 'visible' : 'hidden';
|
|
8787
10103
|
});
|
|
8788
|
-
var _templateObject$
|
|
8789
|
-
var ContainerWrapper = styled.div(_templateObject$
|
|
10104
|
+
var _templateObject$w, _templateObject2$q, _templateObject3$k, _templateObject4$g;
|
|
10105
|
+
var ContainerWrapper$1 = styled.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) {
|
|
8790
10106
|
return props.$width || 'auto';
|
|
8791
10107
|
}, function (_ref) {
|
|
8792
10108
|
var $minHeight = _ref.$minHeight;
|
|
8793
10109
|
return $minHeight;
|
|
8794
10110
|
});
|
|
8795
|
-
var CellContainer = styled.div(_templateObject2$
|
|
10111
|
+
var CellContainer$1 = styled.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) {
|
|
8796
10112
|
return props.$align;
|
|
8797
10113
|
}, function (props) {
|
|
8798
10114
|
return props.$width || 'auto';
|
|
@@ -8803,42 +10119,42 @@ var CellContainer = styled.div(_templateObject2$h || (_templateObject2$h = _tagg
|
|
|
8803
10119
|
}, function (props) {
|
|
8804
10120
|
return props.$padding;
|
|
8805
10121
|
});
|
|
8806
|
-
var MainText = styled.div(_templateObject3$
|
|
10122
|
+
var MainText$1 = styled.div(_templateObject3$k || (_templateObject3$k = _taggedTemplateLiteralLoose$1(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
8807
10123
|
return props.$mtc;
|
|
8808
10124
|
}, function (props) {
|
|
8809
10125
|
return props.$mtfs;
|
|
8810
10126
|
}, function (props) {
|
|
8811
10127
|
return props.$mtw;
|
|
8812
10128
|
});
|
|
8813
|
-
var SubText = styled.div(_templateObject4$
|
|
10129
|
+
var SubText$1 = styled.div(_templateObject4$g || (_templateObject4$g = _taggedTemplateLiteralLoose$1(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
8814
10130
|
return props.$stc;
|
|
8815
10131
|
}, function (props) {
|
|
8816
10132
|
return props.$stfs;
|
|
8817
10133
|
}, function (props) {
|
|
8818
10134
|
return props.$stw;
|
|
8819
10135
|
});
|
|
8820
|
-
var _templateObject$
|
|
8821
|
-
var TableRowContainer = styled$1.div(_templateObject$
|
|
8822
|
-
var _templateObject$
|
|
8823
|
-
var TableContainer = styled.div(_templateObject$
|
|
8824
|
-
var TableHeader = styled.div(_templateObject2$
|
|
10136
|
+
var _templateObject$x;
|
|
10137
|
+
var TableRowContainer$1 = styled$1.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"])));
|
|
10138
|
+
var _templateObject$y, _templateObject2$r, _templateObject3$l, _templateObject4$h, _templateObject5$d;
|
|
10139
|
+
var TableContainer$1 = styled.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);
|
|
10140
|
+
var TableHeader$1 = styled.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) {
|
|
8825
10141
|
return props.$hbcolor || 'transparent';
|
|
8826
10142
|
}, function (props) {
|
|
8827
10143
|
return props.$tcolor || 'white';
|
|
8828
10144
|
});
|
|
8829
|
-
var TableContent = styled.div(_templateObject3$
|
|
8830
|
-
var TableData = styled.div(_templateObject4$
|
|
8831
|
-
var Divider = styled.div(_templateObject5$
|
|
8832
|
-
var _templateObject$
|
|
8833
|
-
var Container$
|
|
10145
|
+
var TableContent$1 = styled.div(_templateObject3$l || (_templateObject3$l = _taggedTemplateLiteralLoose$1(["\n width: 100%;\n svg {\n cursor: pointer;\n }\n"])));
|
|
10146
|
+
var TableData$1 = styled.div(_templateObject4$h || (_templateObject4$h = _taggedTemplateLiteralLoose$1(["\n overflow: auto;\n scrollbar-width: thin;\n height: 100%;\n max-height: calc(100% - 36px);\n"])));
|
|
10147
|
+
var Divider$1 = styled.div(_templateObject5$d || (_templateObject5$d = _taggedTemplateLiteralLoose$1(["\n height: 2px;\n background: ", ";\n"])), colorVariables$1.border.extraLight);
|
|
10148
|
+
var _templateObject$z, _templateObject2$s, _templateObject3$m, _templateObject4$i, _templateObject5$e;
|
|
10149
|
+
var Container$8 = styled.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) {
|
|
8834
10150
|
var $border = _ref.$border;
|
|
8835
10151
|
return $border;
|
|
8836
10152
|
});
|
|
8837
|
-
var FirstContainer = styled.div(_templateObject2$
|
|
10153
|
+
var FirstContainer$1 = styled.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) {
|
|
8838
10154
|
var $headerPadding = _ref2.$headerPadding;
|
|
8839
10155
|
return $headerPadding ? $headerPadding : '0px';
|
|
8840
10156
|
});
|
|
8841
|
-
var TabContainer = styled.div(_templateObject3$
|
|
10157
|
+
var TabContainer$1 = styled.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) {
|
|
8842
10158
|
var $disabled = _ref3.$disabled;
|
|
8843
10159
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
8844
10160
|
}, function (_ref4) {
|
|
@@ -8851,22 +10167,22 @@ var TabContainer = styled.div(_templateObject3$e || (_templateObject3$e = _tagge
|
|
|
8851
10167
|
var $disabled = _ref6.$disabled;
|
|
8852
10168
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
8853
10169
|
});
|
|
8854
|
-
var TabItemContainer = styled.div(_templateObject4$
|
|
10170
|
+
var TabItemContainer$1 = styled.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) {
|
|
8855
10171
|
var $headerHeight = _ref7.$headerHeight;
|
|
8856
10172
|
return $headerHeight ? $headerHeight : '34px';
|
|
8857
10173
|
}, function (props) {
|
|
8858
10174
|
return props.$active ? 'block' : 'none';
|
|
8859
10175
|
}, colorVariables$1["default"].primary);
|
|
8860
|
-
var DetailsFirstContainer = styled.div(_templateObject5$
|
|
10176
|
+
var DetailsFirstContainer$1 = styled.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) {
|
|
8861
10177
|
return props.$active ? colorVariables$1["default"].primary : colorVariables$1.text.medium;
|
|
8862
10178
|
});
|
|
8863
10179
|
|
|
8864
|
-
var _templateObject$
|
|
8865
|
-
var Container$
|
|
10180
|
+
var _templateObject$A, _templateObject2$t, _templateObject3$n, _templateObject4$j, _templateObject5$f, _templateObject6$b;
|
|
10181
|
+
var Container$9 = styled.div(_templateObject$A || (_templateObject$A = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n padding: ", ";\n"])), function (_ref) {
|
|
8866
10182
|
var $padding = _ref.$padding;
|
|
8867
10183
|
return $padding;
|
|
8868
10184
|
});
|
|
8869
|
-
var Label$
|
|
10185
|
+
var Label$4 = styled.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) {
|
|
8870
10186
|
var $size = _ref2.$size;
|
|
8871
10187
|
switch ($size) {
|
|
8872
10188
|
case 'small':
|
|
@@ -8901,7 +10217,7 @@ var Label$2 = styled.label(_templateObject2$k || (_templateObject2$k = _taggedTe
|
|
|
8901
10217
|
return $titlecolor;
|
|
8902
10218
|
}
|
|
8903
10219
|
});
|
|
8904
|
-
var Input$
|
|
10220
|
+
var Input$2 = styled.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) {
|
|
8905
10221
|
var $disabled = _ref4.$disabled;
|
|
8906
10222
|
return $disabled ? 'not-allowed' : 'auto';
|
|
8907
10223
|
}, function (_ref5) {
|
|
@@ -8949,12 +10265,12 @@ var Input$1 = styled.input(_templateObject3$f || (_templateObject3$f = _taggedTe
|
|
|
8949
10265
|
return $color;
|
|
8950
10266
|
}
|
|
8951
10267
|
}, colorVariables$1.text.light);
|
|
8952
|
-
var InputWrapper$
|
|
8953
|
-
var IconWrapper$
|
|
10268
|
+
var InputWrapper$3 = styled.div(_templateObject4$j || (_templateObject4$j = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n"])));
|
|
10269
|
+
var IconWrapper$5 = styled.div(_templateObject5$f || (_templateObject5$f = _taggedTemplateLiteralLoose(["\n position: absolute;\n right: 12px;\n cursor: pointer;\n\n > div {\n cursor: ", ";\n }\n"])), function (_ref10) {
|
|
8954
10270
|
var $disabled = _ref10.$disabled;
|
|
8955
10271
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
8956
10272
|
});
|
|
8957
|
-
var Asterisk$
|
|
10273
|
+
var Asterisk$3 = styled.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);
|
|
8958
10274
|
var TextField = function TextField(_ref11) {
|
|
8959
10275
|
var _ref11$type = _ref11.type,
|
|
8960
10276
|
type = _ref11$type === void 0 ? 'text' : _ref11$type,
|
|
@@ -9001,13 +10317,13 @@ var TextField = function TextField(_ref11) {
|
|
|
9001
10317
|
useEffect(function () {
|
|
9002
10318
|
setIsDisabled(disabled);
|
|
9003
10319
|
}, [disabled]);
|
|
9004
|
-
return React.createElement(Container$
|
|
10320
|
+
return React.createElement(Container$9, {
|
|
9005
10321
|
"$padding": padding
|
|
9006
|
-
}, title && React.createElement(Label$
|
|
10322
|
+
}, title && React.createElement(Label$4, {
|
|
9007
10323
|
"$size": size,
|
|
9008
10324
|
htmlFor: title,
|
|
9009
10325
|
"$titlecolor": titlecolor
|
|
9010
|
-
}, title, required && React.createElement(Asterisk$
|
|
10326
|
+
}, title, required && React.createElement(Asterisk$3, null, "*")), React.createElement(InputWrapper$3, null, React.createElement(Input$2, {
|
|
9011
10327
|
type: inputType || 'text',
|
|
9012
10328
|
name: title,
|
|
9013
10329
|
id: title,
|
|
@@ -9024,7 +10340,7 @@ var TextField = function TextField(_ref11) {
|
|
|
9024
10340
|
if (onEnter) onEnter();
|
|
9025
10341
|
}
|
|
9026
10342
|
}
|
|
9027
|
-
}), type === 'password' && inputValue && React.createElement(IconWrapper$
|
|
10343
|
+
}), type === 'password' && inputValue && React.createElement(IconWrapper$5, {
|
|
9028
10344
|
"$disabled": disabled,
|
|
9029
10345
|
onClick: function onClick() {
|
|
9030
10346
|
if (!disabled) handleShowPassword();
|
|
@@ -9034,7 +10350,7 @@ var TextField = function TextField(_ref11) {
|
|
|
9034
10350
|
size: iconsize,
|
|
9035
10351
|
weight: iconweight,
|
|
9036
10352
|
color: iconcolor || colorVariables$1["default"].primary
|
|
9037
|
-
})), icon && type !== 'password' && React.createElement(IconWrapper$
|
|
10353
|
+
})), icon && type !== 'password' && React.createElement(IconWrapper$5, {
|
|
9038
10354
|
onClick: handleToggleDisabled
|
|
9039
10355
|
}, React.createElement(Icon$1, {
|
|
9040
10356
|
icon: icon,
|
|
@@ -9044,12 +10360,12 @@ var TextField = function TextField(_ref11) {
|
|
|
9044
10360
|
}))));
|
|
9045
10361
|
};
|
|
9046
10362
|
|
|
9047
|
-
var _templateObject$
|
|
9048
|
-
var Container$
|
|
10363
|
+
var _templateObject$B, _templateObject2$u, _templateObject3$o;
|
|
10364
|
+
var Container$a = styled.div(_templateObject$B || (_templateObject$B = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n padding: ", ";\n"])), function (_ref) {
|
|
9049
10365
|
var $padding = _ref.$padding;
|
|
9050
10366
|
return $padding;
|
|
9051
10367
|
});
|
|
9052
|
-
var Label$
|
|
10368
|
+
var Label$5 = styled.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) {
|
|
9053
10369
|
var $size = _ref2.$size;
|
|
9054
10370
|
switch ($size) {
|
|
9055
10371
|
case 'small':
|
|
@@ -9065,7 +10381,7 @@ var Label$3 = styled.label(_templateObject2$l || (_templateObject2$l = _taggedTe
|
|
|
9065
10381
|
var $titlecolor = _ref3.$titlecolor;
|
|
9066
10382
|
return $titlecolor || colorVariables.text.dark;
|
|
9067
10383
|
});
|
|
9068
|
-
var TextAreaComponent$
|
|
10384
|
+
var TextAreaComponent$2 = styled.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) {
|
|
9069
10385
|
var $disabled = _ref4.$disabled;
|
|
9070
10386
|
return $disabled ? 'not-allowed' : 'auto';
|
|
9071
10387
|
}, function (_ref5) {
|
|
@@ -9116,13 +10432,13 @@ var TextArea = function TextArea(_ref9) {
|
|
|
9116
10432
|
useEffect(function () {
|
|
9117
10433
|
setIsDisabled(disabled);
|
|
9118
10434
|
}, [disabled]);
|
|
9119
|
-
return React.createElement(Container$
|
|
10435
|
+
return React.createElement(Container$a, {
|
|
9120
10436
|
"$padding": padding
|
|
9121
|
-
}, title && React.createElement(Label$
|
|
10437
|
+
}, title && React.createElement(Label$5, {
|
|
9122
10438
|
"$size": size,
|
|
9123
10439
|
htmlFor: title,
|
|
9124
10440
|
"$titlecolor": titlecolor
|
|
9125
|
-
}, title, required && React.createElement(Asterisk$
|
|
10441
|
+
}, title, required && React.createElement(Asterisk$3, null, "*")), React.createElement(TextAreaComponent$2, {
|
|
9126
10442
|
name: title,
|
|
9127
10443
|
id: title,
|
|
9128
10444
|
value: inputValue,
|
|
@@ -9135,18 +10451,18 @@ var TextArea = function TextArea(_ref9) {
|
|
|
9135
10451
|
}));
|
|
9136
10452
|
};
|
|
9137
10453
|
|
|
9138
|
-
var _templateObject$
|
|
9139
|
-
var OptionContainer$
|
|
9140
|
-
var OptionItem$
|
|
10454
|
+
var _templateObject$C, _templateObject2$v, _templateObject3$p, _templateObject4$k, _templateObject5$g, _templateObject6$c, _templateObject7$5;
|
|
10455
|
+
var OptionContainer$3 = styled.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);
|
|
10456
|
+
var OptionItem$3 = styled.div(_templateObject2$v || (_templateObject2$v = _taggedTemplateLiteralLoose(["\n color: ", ";\n background-color: ", ";\n border-radius: 8px;\n\n &:hover {\n background-color: ", ";\n color: ", ";\n cursor: pointer;\n }\n"])), function (_ref) {
|
|
9141
10457
|
var $optionSelected = _ref.$optionSelected;
|
|
9142
10458
|
return $optionSelected ? colorVariables.text.white : colorVariables.text.medium;
|
|
9143
10459
|
}, function (_ref2) {
|
|
9144
10460
|
var $optionSelected = _ref2.$optionSelected;
|
|
9145
10461
|
return $optionSelected ? colorVariables["default"].primary : colorVariables.text.white;
|
|
9146
10462
|
}, colorVariables.hover.primary, colorVariables.text.white);
|
|
9147
|
-
var TotalOptionsHeader$
|
|
9148
|
-
var OptionLabel$
|
|
9149
|
-
var SearchContainer$
|
|
10463
|
+
var TotalOptionsHeader$2 = styled.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);
|
|
10464
|
+
var OptionLabel$3 = styled.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"])));
|
|
10465
|
+
var SearchContainer$5 = styled.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) {
|
|
9150
10466
|
var $background = _ref3.$background;
|
|
9151
10467
|
switch ($background) {
|
|
9152
10468
|
case 'dark':
|
|
@@ -9175,7 +10491,7 @@ var SearchContainer$4 = styled.div(_templateObject5$b || (_templateObject5$b = _
|
|
|
9175
10491
|
var $borderRadius = _ref5.$borderRadius;
|
|
9176
10492
|
return $borderRadius || '8px';
|
|
9177
10493
|
});
|
|
9178
|
-
var SearchBar$
|
|
10494
|
+
var SearchBar$5 = styled.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) {
|
|
9179
10495
|
var $inputColor = _ref6.$inputColor;
|
|
9180
10496
|
switch ($inputColor) {
|
|
9181
10497
|
case 'dark':
|
|
@@ -9220,7 +10536,7 @@ var SearchBar$4 = styled.input(_templateObject6$9 || (_templateObject6$9 = _tagg
|
|
|
9220
10536
|
return $placeholderColor;
|
|
9221
10537
|
}
|
|
9222
10538
|
});
|
|
9223
|
-
var OptionsWrapper$
|
|
10539
|
+
var OptionsWrapper$3 = styled.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);
|
|
9224
10540
|
var TextFieldWithDropdown = function TextFieldWithDropdown(_ref8) {
|
|
9225
10541
|
var options = _ref8.options,
|
|
9226
10542
|
selectedOption = _ref8.selectedOption,
|
|
@@ -9269,7 +10585,7 @@ var TextFieldWithDropdown = function TextFieldWithDropdown(_ref8) {
|
|
|
9269
10585
|
"$gap": '8px',
|
|
9270
10586
|
"$width": '100%',
|
|
9271
10587
|
"$position": 'relative'
|
|
9272
|
-
}, searchBox && React.createElement(SearchContainer$
|
|
10588
|
+
}, searchBox && React.createElement(SearchContainer$5, {
|
|
9273
10589
|
"$borderBottom": searchBoxBorder,
|
|
9274
10590
|
"$background": isSearchBarEnabled ? colorVariables.text.white : colorVariables.accent.light,
|
|
9275
10591
|
"$borderRadius": searchBoxBorderRadius,
|
|
@@ -9285,7 +10601,7 @@ var TextFieldWithDropdown = function TextFieldWithDropdown(_ref8) {
|
|
|
9285
10601
|
onClick: function onClick() {
|
|
9286
10602
|
return setIsSearchBarEnabled(true);
|
|
9287
10603
|
}
|
|
9288
|
-
}, React.createElement(SearchBar$
|
|
10604
|
+
}, React.createElement(SearchBar$5, {
|
|
9289
10605
|
type: 'text',
|
|
9290
10606
|
placeholder: placeholder,
|
|
9291
10607
|
value: internalSearchQuery,
|
|
@@ -9302,18 +10618,18 @@ var TextFieldWithDropdown = function TextFieldWithDropdown(_ref8) {
|
|
|
9302
10618
|
setInternalSearchQuery('');
|
|
9303
10619
|
setSearchQuery('');
|
|
9304
10620
|
}
|
|
9305
|
-
}), isSearchBarEnabled && React.createElement(OptionContainer$
|
|
10621
|
+
}), isSearchBarEnabled && React.createElement(OptionContainer$3, null, options.length > 0 ? React.createElement(Container, {
|
|
9306
10622
|
"$flexDirection": 'column',
|
|
9307
10623
|
"$overflow": 'auto'
|
|
9308
|
-
}, React.createElement(TotalOptionsHeader$
|
|
10624
|
+
}, React.createElement(TotalOptionsHeader$2, null, React.createElement(Span, {
|
|
9309
10625
|
"$fontSize": '12px',
|
|
9310
10626
|
"$fontWeight": '400',
|
|
9311
10627
|
"$color": colorVariables.text.light
|
|
9312
|
-
}, t('Showing_results') + " (" + filteredArray.length + " of " + (options === null || options === void 0 ? void 0 : options.length) + ")")), React.createElement(OptionsWrapper$
|
|
9313
|
-
return React.createElement(OptionItem$
|
|
10628
|
+
}, t('Showing_results') + " (" + filteredArray.length + " of " + (options === null || options === void 0 ? void 0 : options.length) + ")")), React.createElement(OptionsWrapper$3, null, filteredArray.length > 0 ? filteredArray.map(function (option) {
|
|
10629
|
+
return React.createElement(OptionItem$3, {
|
|
9314
10630
|
key: option.value,
|
|
9315
10631
|
"$optionSelected": option.value === selectedOption
|
|
9316
|
-
}, React.createElement(OptionLabel$
|
|
10632
|
+
}, React.createElement(OptionLabel$3, {
|
|
9317
10633
|
htmlFor: option.value,
|
|
9318
10634
|
onClick: function onClick() {
|
|
9319
10635
|
setInternalSearchQuery(option.labelText);
|
|
@@ -9335,31 +10651,31 @@ var TextFieldWithDropdown = function TextFieldWithDropdown(_ref8) {
|
|
|
9335
10651
|
}, NoOptionsText)))));
|
|
9336
10652
|
};
|
|
9337
10653
|
|
|
9338
|
-
var _templateObject$
|
|
9339
|
-
var spin$
|
|
9340
|
-
var getDotPosition$
|
|
10654
|
+
var _templateObject$D, _templateObject2$w, _templateObject3$q, _templateObject4$l;
|
|
10655
|
+
var spin$5 = keyframes(_templateObject$D || (_templateObject$D = _taggedTemplateLiteralLoose(["\n 0% { opacity: 1; }\n 100% { opacity: 0.3; }\n"])));
|
|
10656
|
+
var getDotPosition$2 = function getDotPosition(index, size) {
|
|
9341
10657
|
var angle = index * 360 / 8;
|
|
9342
10658
|
var radius = size / 2.5;
|
|
9343
10659
|
var x = radius * Math.cos(angle * Math.PI / 180);
|
|
9344
10660
|
var y = radius * Math.sin(angle * Math.PI / 180);
|
|
9345
10661
|
return "translate(" + x + "px, " + y + "px)";
|
|
9346
10662
|
};
|
|
9347
|
-
var SpinnerContainer$
|
|
10663
|
+
var SpinnerContainer$2 = styled.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) {
|
|
9348
10664
|
var $size = _ref.$size;
|
|
9349
10665
|
return $size;
|
|
9350
10666
|
}, function (_ref2) {
|
|
9351
10667
|
var $size = _ref2.$size;
|
|
9352
10668
|
return $size;
|
|
9353
10669
|
});
|
|
9354
|
-
var Dot$
|
|
10670
|
+
var Dot$2 = styled.div.attrs(function (_ref3) {
|
|
9355
10671
|
var $index = _ref3.$index,
|
|
9356
10672
|
$size = _ref3.$size;
|
|
9357
10673
|
return {
|
|
9358
10674
|
style: {
|
|
9359
|
-
transform: getDotPosition$
|
|
10675
|
+
transform: getDotPosition$2($index, $size)
|
|
9360
10676
|
}
|
|
9361
10677
|
};
|
|
9362
|
-
})(_templateObject3$
|
|
10678
|
+
})(_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) {
|
|
9363
10679
|
var $dotSize = _ref4.$dotSize;
|
|
9364
10680
|
return $dotSize;
|
|
9365
10681
|
}, function (_ref5) {
|
|
@@ -9368,7 +10684,7 @@ var Dot$1 = styled.div.attrs(function (_ref3) {
|
|
|
9368
10684
|
}, function (_ref6) {
|
|
9369
10685
|
var $color = _ref6.$color;
|
|
9370
10686
|
return $color;
|
|
9371
|
-
}, spin$
|
|
10687
|
+
}, spin$5, function (_ref7) {
|
|
9372
10688
|
var $speed = _ref7.$speed;
|
|
9373
10689
|
return $speed;
|
|
9374
10690
|
}, function (_ref8) {
|
|
@@ -9376,7 +10692,7 @@ var Dot$1 = styled.div.attrs(function (_ref3) {
|
|
|
9376
10692
|
$speed = _ref8.$speed;
|
|
9377
10693
|
return $index * $speed / 8;
|
|
9378
10694
|
});
|
|
9379
|
-
var SpinnerWrapper$
|
|
10695
|
+
var SpinnerWrapper$2 = styled.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"])));
|
|
9380
10696
|
var sizeMap = {
|
|
9381
10697
|
small: {
|
|
9382
10698
|
size: 32
|
|
@@ -9400,13 +10716,13 @@ var CircularLoader = function CircularLoader(_ref9) {
|
|
|
9400
10716
|
text = _ref9.text,
|
|
9401
10717
|
customSize = _ref9.customSize;
|
|
9402
10718
|
var spinnerSize = customSize != null ? customSize : sizeMap[size].size;
|
|
9403
|
-
return React.createElement(SpinnerWrapper$
|
|
10719
|
+
return React.createElement(SpinnerWrapper$2, null, React.createElement(SpinnerContainer$2, {
|
|
9404
10720
|
"$size": spinnerSize,
|
|
9405
10721
|
"aria-label": "Loading animation"
|
|
9406
10722
|
}, Array.from({
|
|
9407
10723
|
length: 8
|
|
9408
10724
|
}).map(function (_, i) {
|
|
9409
|
-
return React.createElement(Dot$
|
|
10725
|
+
return React.createElement(Dot$2, {
|
|
9410
10726
|
key: i,
|
|
9411
10727
|
"$index": i,
|
|
9412
10728
|
"$size": spinnerSize,
|
|
@@ -9417,9 +10733,9 @@ var CircularLoader = function CircularLoader(_ref9) {
|
|
|
9417
10733
|
})), text && React.createElement(React.Fragment, null, text));
|
|
9418
10734
|
};
|
|
9419
10735
|
|
|
9420
|
-
var _templateObject$
|
|
9421
|
-
var spin$
|
|
9422
|
-
var Spinner$
|
|
10736
|
+
var _templateObject$E, _templateObject2$x;
|
|
10737
|
+
var spin$6 = keyframes(_templateObject$E || (_templateObject$E = _taggedTemplateLiteralLoose(["\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
10738
|
+
var Spinner$3 = styled.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) {
|
|
9423
10739
|
var $size = _ref.$size;
|
|
9424
10740
|
return $size;
|
|
9425
10741
|
}, function (_ref2) {
|
|
@@ -9428,7 +10744,7 @@ var Spinner$2 = styled.div(_templateObject2$o || (_templateObject2$o = _taggedTe
|
|
|
9428
10744
|
}, function (_ref3) {
|
|
9429
10745
|
var $color = _ref3.$color;
|
|
9430
10746
|
return $color;
|
|
9431
|
-
}, spin$
|
|
10747
|
+
}, spin$6);
|
|
9432
10748
|
var Loader = function Loader(_ref4) {
|
|
9433
10749
|
var title = _ref4.title,
|
|
9434
10750
|
_ref4$size = _ref4.size,
|
|
@@ -9444,7 +10760,7 @@ var Loader = function Loader(_ref4) {
|
|
|
9444
10760
|
"$height": '100%',
|
|
9445
10761
|
"$flexDirection": 'column',
|
|
9446
10762
|
"$gap": '12px'
|
|
9447
|
-
}, React.createElement(Container, null, React.createElement(Spinner$
|
|
10763
|
+
}, React.createElement(Container, null, React.createElement(Spinner$3, {
|
|
9448
10764
|
"$size": size,
|
|
9449
10765
|
"$color": color
|
|
9450
10766
|
})), title && React.createElement(Container, {
|
|
@@ -9460,8 +10776,8 @@ var Loader = function Loader(_ref4) {
|
|
|
9460
10776
|
}, title))));
|
|
9461
10777
|
};
|
|
9462
10778
|
|
|
9463
|
-
var _templateObject$
|
|
9464
|
-
var PageInput$
|
|
10779
|
+
var _templateObject$F;
|
|
10780
|
+
var PageInput$2 = styled.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);
|
|
9465
10781
|
var Pagination = function Pagination(_ref) {
|
|
9466
10782
|
var totalPages = _ref.totalPages,
|
|
9467
10783
|
currentPage = _ref.currentPage,
|
|
@@ -9519,7 +10835,7 @@ var Pagination = function Pagination(_ref) {
|
|
|
9519
10835
|
}, React.createElement(Container, {
|
|
9520
10836
|
"$gap": '4px',
|
|
9521
10837
|
"$alignItems": 'center'
|
|
9522
|
-
}, React.createElement(PageInput$
|
|
10838
|
+
}, React.createElement(PageInput$2, {
|
|
9523
10839
|
type: 'number',
|
|
9524
10840
|
value: inputPage,
|
|
9525
10841
|
onChange: handleInputChange,
|
|
@@ -9645,22 +10961,22 @@ var ProgressBar = function ProgressBar(_ref) {
|
|
|
9645
10961
|
})));
|
|
9646
10962
|
};
|
|
9647
10963
|
|
|
9648
|
-
var _templateObject$
|
|
9649
|
-
var SidebarContainer$
|
|
10964
|
+
var _templateObject$G, _templateObject2$y, _templateObject3$r, _templateObject4$m, _templateObject5$h, _templateObject6$d;
|
|
10965
|
+
var SidebarContainer$2 = styled.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) {
|
|
9650
10966
|
var $isExpanded = _ref.$isExpanded;
|
|
9651
10967
|
return $isExpanded ? '225px' : '68px';
|
|
9652
10968
|
}, function (_ref2) {
|
|
9653
10969
|
var $background = _ref2.$background;
|
|
9654
10970
|
return $background ? $background : colorVariables.accent.softBlue;
|
|
9655
10971
|
});
|
|
9656
|
-
var SidebarItem$
|
|
9657
|
-
var ContentWrapper$
|
|
9658
|
-
var IconWrapper$
|
|
10972
|
+
var SidebarItem$2 = styled(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);
|
|
10973
|
+
var ContentWrapper$2 = styled.div(_templateObject3$r || (_templateObject3$r = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n gap: 16px;\n width: 100%;\n"])));
|
|
10974
|
+
var IconWrapper$6 = styled.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) {
|
|
9659
10975
|
var $selected = _ref3.$selected;
|
|
9660
10976
|
return $selected ? colorVariables["default"].primary : colorVariables["default"].tertiary;
|
|
9661
10977
|
});
|
|
9662
|
-
var Logo$
|
|
9663
|
-
var TextContainer$
|
|
10978
|
+
var Logo$2 = styled.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"])));
|
|
10979
|
+
var TextContainer$2 = styled.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) {
|
|
9664
10980
|
var $padding = _ref4.$padding;
|
|
9665
10981
|
return $padding;
|
|
9666
10982
|
}, function (_ref5) {
|
|
@@ -9697,7 +11013,7 @@ var Sidebar = function Sidebar(_ref10) {
|
|
|
9697
11013
|
return parts.length > 0 ? "/" + parts[0] + "/" : '/';
|
|
9698
11014
|
};
|
|
9699
11015
|
var topLevelPath = getTopLevelPathWithSlash(location.pathname) || getTopLevelPath(location.pathname);
|
|
9700
|
-
return React.createElement(SidebarContainer$
|
|
11016
|
+
return React.createElement(SidebarContainer$2, {
|
|
9701
11017
|
"$background": background,
|
|
9702
11018
|
"$isExpanded": isExpanded,
|
|
9703
11019
|
onMouseEnter: function onMouseEnter() {
|
|
@@ -9706,24 +11022,24 @@ var Sidebar = function Sidebar(_ref10) {
|
|
|
9706
11022
|
onMouseLeave: function onMouseLeave() {
|
|
9707
11023
|
return setIsExpanded(false);
|
|
9708
11024
|
}
|
|
9709
|
-
}, logo && React.createElement(Logo$
|
|
11025
|
+
}, logo && React.createElement(Logo$2, null, React.createElement(Icon, {
|
|
9710
11026
|
icon: logo.icon
|
|
9711
|
-
}), React.createElement(TextContainer$
|
|
11027
|
+
}), React.createElement(TextContainer$2, {
|
|
9712
11028
|
"$isExpanded": isExpanded,
|
|
9713
11029
|
"$fontWeight": "700"
|
|
9714
|
-
}, logo.name)), React.createElement(ContentWrapper$
|
|
11030
|
+
}, logo.name)), React.createElement(ContentWrapper$2, null, content.map(function (item) {
|
|
9715
11031
|
var isActive = item.url.includes(topLevelPath);
|
|
9716
|
-
return React.createElement(SidebarItem$
|
|
11032
|
+
return React.createElement(SidebarItem$2, {
|
|
9717
11033
|
to: item.url,
|
|
9718
11034
|
key: item.id
|
|
9719
|
-
}, React.createElement(IconWrapper$
|
|
11035
|
+
}, React.createElement(IconWrapper$6, {
|
|
9720
11036
|
"$selected": isActive
|
|
9721
11037
|
}, React.createElement(Icon, {
|
|
9722
11038
|
icon: item.icon,
|
|
9723
11039
|
size: 20,
|
|
9724
11040
|
weight: item.iconWeight,
|
|
9725
11041
|
color: isActive ? colorVariables.text.white : colorVariables.text.medium
|
|
9726
|
-
})), React.createElement(TextContainer$
|
|
11042
|
+
})), React.createElement(TextContainer$2, {
|
|
9727
11043
|
"$isExpanded": isExpanded,
|
|
9728
11044
|
"$fontSize": "14px",
|
|
9729
11045
|
"$padding": '0px 10px 0px 0px',
|
|
@@ -9732,14 +11048,14 @@ var Sidebar = function Sidebar(_ref10) {
|
|
|
9732
11048
|
})), ProfileContent);
|
|
9733
11049
|
};
|
|
9734
11050
|
|
|
9735
|
-
var _templateObject$
|
|
9736
|
-
var ContainerWrapper$
|
|
11051
|
+
var _templateObject$H, _templateObject2$z, _templateObject3$s, _templateObject4$n;
|
|
11052
|
+
var ContainerWrapper$2 = styled.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) {
|
|
9737
11053
|
return props.$width || 'auto';
|
|
9738
11054
|
}, function (_ref) {
|
|
9739
11055
|
var $minHeight = _ref.$minHeight;
|
|
9740
11056
|
return $minHeight;
|
|
9741
11057
|
});
|
|
9742
|
-
var CellContainer$
|
|
11058
|
+
var CellContainer$2 = styled.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) {
|
|
9743
11059
|
return props.$align;
|
|
9744
11060
|
}, function (props) {
|
|
9745
11061
|
return props.$width || 'auto';
|
|
@@ -9750,14 +11066,14 @@ var CellContainer$1 = styled.div(_templateObject2$q || (_templateObject2$q = _ta
|
|
|
9750
11066
|
}, function (props) {
|
|
9751
11067
|
return props.$padding;
|
|
9752
11068
|
});
|
|
9753
|
-
var MainText$
|
|
11069
|
+
var MainText$2 = styled.div(_templateObject3$s || (_templateObject3$s = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
9754
11070
|
return props.$mtc;
|
|
9755
11071
|
}, function (props) {
|
|
9756
11072
|
return props.$mtfs;
|
|
9757
11073
|
}, function (props) {
|
|
9758
11074
|
return props.$mtw;
|
|
9759
11075
|
});
|
|
9760
|
-
var SubText$
|
|
11076
|
+
var SubText$2 = styled.div(_templateObject4$n || (_templateObject4$n = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
9761
11077
|
return props.$stc;
|
|
9762
11078
|
}, function (props) {
|
|
9763
11079
|
return props.$stfs;
|
|
@@ -9786,31 +11102,31 @@ var TableCell = function TableCell(_ref2) {
|
|
|
9786
11102
|
CustomFunction = _ref2.CustomFunction,
|
|
9787
11103
|
padding = _ref2.padding,
|
|
9788
11104
|
minHeight = _ref2.minHeight;
|
|
9789
|
-
return React.createElement(ContainerWrapper$
|
|
11105
|
+
return React.createElement(ContainerWrapper$2, {
|
|
9790
11106
|
"$width": width,
|
|
9791
11107
|
"$minHeight": minHeight
|
|
9792
|
-
}, CustomFunction ? React.createElement(CellContainer$
|
|
11108
|
+
}, CustomFunction ? React.createElement(CellContainer$2, {
|
|
9793
11109
|
"$align": alignment,
|
|
9794
11110
|
"$width": width,
|
|
9795
11111
|
"$minWidth": minWidth
|
|
9796
|
-
}, CustomFunction) : React.createElement(CellContainer$
|
|
11112
|
+
}, CustomFunction) : React.createElement(CellContainer$2, {
|
|
9797
11113
|
"$align": alignment,
|
|
9798
11114
|
"$width": width,
|
|
9799
11115
|
"$minWidth": minWidth,
|
|
9800
11116
|
"$padding": padding
|
|
9801
|
-
}, React.createElement(MainText$
|
|
11117
|
+
}, React.createElement(MainText$2, {
|
|
9802
11118
|
"$mtc": maintextcolor,
|
|
9803
11119
|
"$mtfs": maintextfontsize,
|
|
9804
11120
|
"$mtw": maintextweight
|
|
9805
|
-
}, maintext), subtext && React.createElement(SubText$
|
|
11121
|
+
}, maintext), subtext && React.createElement(SubText$2, {
|
|
9806
11122
|
"$stc": subtextcolor,
|
|
9807
11123
|
"$stfs": subtextfontsize,
|
|
9808
11124
|
"$stw": subtextweight
|
|
9809
11125
|
}, subtext)));
|
|
9810
11126
|
};
|
|
9811
11127
|
|
|
9812
|
-
var _templateObject$
|
|
9813
|
-
var TableRowContainer$
|
|
11128
|
+
var _templateObject$I;
|
|
11129
|
+
var TableRowContainer$2 = styled$1.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"])));
|
|
9814
11130
|
var TableRow = function TableRow(_ref) {
|
|
9815
11131
|
var rowconfig = _ref.rowconfig,
|
|
9816
11132
|
tableheaderconfig = _ref.tableheaderconfig;
|
|
@@ -9819,7 +11135,7 @@ var TableRow = function TableRow(_ref) {
|
|
|
9819
11135
|
};
|
|
9820
11136
|
return React.createElement(Container, null, rowconfig.map(function (data, Index) {
|
|
9821
11137
|
var _rowconfig$Index;
|
|
9822
|
-
return React.createElement(TableRowContainer$
|
|
11138
|
+
return React.createElement(TableRowContainer$2, {
|
|
9823
11139
|
key: Index
|
|
9824
11140
|
}, tableheaderconfig.isAllSelectable && React.createElement(Container, {
|
|
9825
11141
|
"$padding": '0px 16px 0px 0px',
|
|
@@ -9853,16 +11169,16 @@ var TableRow = function TableRow(_ref) {
|
|
|
9853
11169
|
}));
|
|
9854
11170
|
};
|
|
9855
11171
|
|
|
9856
|
-
var _templateObject$
|
|
9857
|
-
var TableContainer$
|
|
9858
|
-
var TableHeader$
|
|
11172
|
+
var _templateObject$J, _templateObject2$A, _templateObject3$t, _templateObject4$o, _templateObject5$i;
|
|
11173
|
+
var TableContainer$2 = styled.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);
|
|
11174
|
+
var TableHeader$2 = styled.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) {
|
|
9859
11175
|
return props.$hbcolor || 'transparent';
|
|
9860
11176
|
}, function (props) {
|
|
9861
11177
|
return props.$tcolor || 'white';
|
|
9862
11178
|
});
|
|
9863
|
-
var TableContent$
|
|
9864
|
-
var TableData$
|
|
9865
|
-
var Divider$
|
|
11179
|
+
var TableContent$2 = styled.div(_templateObject3$t || (_templateObject3$t = _taggedTemplateLiteralLoose(["\n width: 100%;\n svg {\n cursor: pointer;\n }\n"])));
|
|
11180
|
+
var TableData$2 = styled.div(_templateObject4$o || (_templateObject4$o = _taggedTemplateLiteralLoose(["\n overflow: auto;\n scrollbar-width: thin;\n height: 100%;\n max-height: calc(100% - 36px);\n"])));
|
|
11181
|
+
var Divider$2 = styled.div(_templateObject5$i || (_templateObject5$i = _taggedTemplateLiteralLoose(["\n height: 2px;\n background: ", ";\n"])), colorVariables.border.extraLight);
|
|
9866
11182
|
var Table = function Table(_ref) {
|
|
9867
11183
|
var tableObject = _ref.tableObject,
|
|
9868
11184
|
_ref$filter = _ref.filter,
|
|
@@ -9912,7 +11228,7 @@ var Table = function Table(_ref) {
|
|
|
9912
11228
|
useEffect(function () {
|
|
9913
11229
|
setIsAllSelected(false);
|
|
9914
11230
|
}, [rowconfig]);
|
|
9915
|
-
return React.createElement(TableContainer$
|
|
11231
|
+
return React.createElement(TableContainer$2, null, React.createElement(TableContent$2, null, React.createElement(TableHeader$2, {
|
|
9916
11232
|
"$hbcolor": tableheaderconfig.headercolor,
|
|
9917
11233
|
"$tcolor": tableheaderconfig.textcolor
|
|
9918
11234
|
}, tableheaderconfig.isAllSelectable && React.createElement(Container, {
|
|
@@ -9942,7 +11258,7 @@ var Table = function Table(_ref) {
|
|
|
9942
11258
|
"$alignItems": 'center',
|
|
9943
11259
|
"$padding": '24px 24px',
|
|
9944
11260
|
"$justifyContent": 'center'
|
|
9945
|
-
}, React.createElement(Span, null, noDataText)) : filter ? React.createElement(TableData$
|
|
11261
|
+
}, React.createElement(Span, null, noDataText)) : filter ? React.createElement(TableData$2, null, Object.entries(roleGroups).map(function (_ref2) {
|
|
9946
11262
|
var role = _ref2[0],
|
|
9947
11263
|
rows = _ref2[1];
|
|
9948
11264
|
return React.createElement(React.Fragment, {
|
|
@@ -9972,28 +11288,28 @@ var Table = function Table(_ref) {
|
|
|
9972
11288
|
}, React.createElement(TableRow, {
|
|
9973
11289
|
rowconfig: [row],
|
|
9974
11290
|
tableheaderconfig: tableheaderconfig
|
|
9975
|
-
}), rows.length > 1 && index < rows.length - 1 && React.createElement(Divider$
|
|
11291
|
+
}), rows.length > 1 && index < rows.length - 1 && React.createElement(Divider$2, null));
|
|
9976
11292
|
}));
|
|
9977
|
-
})) : React.createElement(TableData$
|
|
11293
|
+
})) : React.createElement(TableData$2, null, filteredRows.map(function (row, index) {
|
|
9978
11294
|
return React.createElement(React.Fragment, {
|
|
9979
11295
|
key: index
|
|
9980
11296
|
}, React.createElement(TableRow, {
|
|
9981
11297
|
rowconfig: [row],
|
|
9982
11298
|
tableheaderconfig: tableheaderconfig
|
|
9983
|
-
}), filteredRows.length > 1 && index < filteredRows.length - 1 && React.createElement(Divider$
|
|
11299
|
+
}), filteredRows.length > 1 && index < filteredRows.length - 1 && React.createElement(Divider$2, null));
|
|
9984
11300
|
}))));
|
|
9985
11301
|
};
|
|
9986
11302
|
|
|
9987
|
-
var _templateObject$
|
|
9988
|
-
var Container$
|
|
11303
|
+
var _templateObject$K, _templateObject2$B, _templateObject3$u, _templateObject4$p, _templateObject5$j;
|
|
11304
|
+
var Container$b = styled.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) {
|
|
9989
11305
|
var $border = _ref.$border;
|
|
9990
11306
|
return $border;
|
|
9991
11307
|
});
|
|
9992
|
-
var FirstContainer$
|
|
11308
|
+
var FirstContainer$2 = styled.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) {
|
|
9993
11309
|
var $headerPadding = _ref2.$headerPadding;
|
|
9994
11310
|
return $headerPadding ? $headerPadding : '0px';
|
|
9995
11311
|
});
|
|
9996
|
-
var TabContainer$
|
|
11312
|
+
var TabContainer$2 = styled.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) {
|
|
9997
11313
|
var $disabled = _ref3.$disabled;
|
|
9998
11314
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
9999
11315
|
}, function (_ref4) {
|
|
@@ -10006,13 +11322,13 @@ var TabContainer$1 = styled.div(_templateObject3$m || (_templateObject3$m = _tag
|
|
|
10006
11322
|
var $disabled = _ref6.$disabled;
|
|
10007
11323
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
10008
11324
|
});
|
|
10009
|
-
var TabItemContainer$
|
|
11325
|
+
var TabItemContainer$2 = styled.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) {
|
|
10010
11326
|
var $headerHeight = _ref7.$headerHeight;
|
|
10011
11327
|
return $headerHeight ? $headerHeight : '34px';
|
|
10012
11328
|
}, function (props) {
|
|
10013
11329
|
return props.$active ? 'block' : 'none';
|
|
10014
11330
|
}, colorVariables["default"].primary);
|
|
10015
|
-
var DetailsFirstContainer$
|
|
11331
|
+
var DetailsFirstContainer$2 = styled.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) {
|
|
10016
11332
|
return props.$active ? colorVariables["default"].primary : colorVariables.text.medium;
|
|
10017
11333
|
});
|
|
10018
11334
|
var Tabs = function Tabs(_ref8) {
|
|
@@ -10023,19 +11339,19 @@ var Tabs = function Tabs(_ref8) {
|
|
|
10023
11339
|
headerPadding = _ref8.headerPadding,
|
|
10024
11340
|
activeTab = _ref8.activeTab,
|
|
10025
11341
|
border = _ref8.border;
|
|
10026
|
-
return React.createElement(Container$
|
|
11342
|
+
return React.createElement(Container$b, {
|
|
10027
11343
|
"$border": border
|
|
10028
|
-
}, React.createElement(FirstContainer$
|
|
11344
|
+
}, React.createElement(FirstContainer$2, {
|
|
10029
11345
|
"$headerPadding": headerPadding
|
|
10030
11346
|
}, tabItems.map(function (tab, index) {
|
|
10031
|
-
return React.createElement(TabContainer$
|
|
11347
|
+
return React.createElement(TabContainer$2, {
|
|
10032
11348
|
key: index,
|
|
10033
11349
|
onClick: function onClick() {
|
|
10034
11350
|
if (!disabled && tab.onClick) tab.onClick();
|
|
10035
11351
|
},
|
|
10036
11352
|
"$disabled": disabled,
|
|
10037
11353
|
"$headerHeight": headerHeight
|
|
10038
|
-
}, React.createElement(TabItemContainer$
|
|
11354
|
+
}, React.createElement(TabItemContainer$2, {
|
|
10039
11355
|
"$active": activeTab === tab.title,
|
|
10040
11356
|
"$headerHeight": headerHeight
|
|
10041
11357
|
}, tab.icon && React.createElement(Icon, {
|
|
@@ -10043,11 +11359,11 @@ var Tabs = function Tabs(_ref8) {
|
|
|
10043
11359
|
icon: tab.icon,
|
|
10044
11360
|
size: tab.iconSize,
|
|
10045
11361
|
weight: tab.iconWeight
|
|
10046
|
-
}), React.createElement(DetailsFirstContainer$
|
|
11362
|
+
}), React.createElement(DetailsFirstContainer$2, {
|
|
10047
11363
|
"$active": activeTab === tab.title
|
|
10048
11364
|
}, tab.title)));
|
|
10049
11365
|
})), tabItems.map(function (tab, index) {
|
|
10050
|
-
return activeTab === tab.title && React.createElement(Container$
|
|
11366
|
+
return activeTab === tab.title && React.createElement(Container$b, {
|
|
10051
11367
|
key: index
|
|
10052
11368
|
}, tab.content);
|
|
10053
11369
|
}));
|