labsense-ui-kit 1.2.2 → 1.2.3
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/Icons/SVGs/DNS_1.d.ts +4 -0
- package/dist/Icons/SVGs/DNS_2.d.ts +4 -0
- package/dist/Icons/SVGs/index.d.ts +2 -0
- package/dist/Icons/index.d.ts +1 -1
- package/dist/index.js +3728 -173
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3728 -173
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -730,6 +730,49 @@ var Disk = function Disk(_ref) {
|
|
|
730
730
|
}));
|
|
731
731
|
};
|
|
732
732
|
|
|
733
|
+
var DNS_1 = function DNS_1(_ref) {
|
|
734
|
+
var size = _ref.size,
|
|
735
|
+
color = _ref.color,
|
|
736
|
+
weight = _ref.weight;
|
|
737
|
+
return React__default.createElement("svg", {
|
|
738
|
+
width: size,
|
|
739
|
+
height: size,
|
|
740
|
+
strokeWidth: weight,
|
|
741
|
+
viewBox: '0 0 12 12',
|
|
742
|
+
fill: 'none',
|
|
743
|
+
xmlns: 'http://www.w3.org/2000/svg'
|
|
744
|
+
}, React__default.createElement("path", {
|
|
745
|
+
d: 'M4.97333 7.54984V4.45117L7.02667 7.54984V4.45117M7.92325 7.2013C8.11692 7.43376 8.34908 7.54984 8.69792 7.54984H9.16283C9.58867 7.54984 9.9375 7.2013 9.9375 6.77517C9.9375 6.34905 9.58896 6.00051 9.16283 6.00051H8.65912C8.23329 6.00051 7.88446 5.65196 7.88446 5.22584C7.88446 4.79971 8.233 4.45117 8.65912 4.45117H9.12404C9.47258 4.45117 9.70504 4.52846 9.89871 4.79971M2.0625 4.45117V7.54984H2.75958C3.49575 7.54984 4.11554 6.93005 4.11554 6.19417V5.80684C4.11554 5.07096 3.49575 4.45117 2.75987 4.45117H2.0625Z',
|
|
746
|
+
stroke: color,
|
|
747
|
+
strokeWidth: '0.5',
|
|
748
|
+
strokeLinecap: 'round',
|
|
749
|
+
strokeLinejoin: 'round'
|
|
750
|
+
}), React__default.createElement("path", {
|
|
751
|
+
d: 'M10.2292 0.603516H1.77084C1.46142 0.603516 1.16467 0.726432 0.94588 0.945224C0.727088 1.16402 0.604172 1.46076 0.604172 1.77018V10.2285C0.604172 10.5379 0.727088 10.8347 0.94588 11.0535C1.16467 11.2723 1.46142 11.3952 1.77084 11.3952H10.2292C10.5386 11.3952 10.8353 11.2723 11.0541 11.0535C11.2729 10.8347 11.3958 10.5379 11.3958 10.2285V1.77018C11.3958 1.46076 11.2729 1.16402 11.0541 0.945224C10.8353 0.726432 10.5386 0.603516 10.2292 0.603516Z',
|
|
752
|
+
stroke: color,
|
|
753
|
+
strokeWidth: '0.5',
|
|
754
|
+
strokeLinecap: 'round',
|
|
755
|
+
strokeLinejoin: 'round'
|
|
756
|
+
}));
|
|
757
|
+
};
|
|
758
|
+
|
|
759
|
+
var DNS_2 = function DNS_2(_ref) {
|
|
760
|
+
var size = _ref.size,
|
|
761
|
+
color = _ref.color,
|
|
762
|
+
weight = _ref.weight;
|
|
763
|
+
return React__default.createElement("svg", {
|
|
764
|
+
width: size,
|
|
765
|
+
height: size,
|
|
766
|
+
strokeWidth: weight,
|
|
767
|
+
viewBox: '0 0 8 12',
|
|
768
|
+
fill: 'none',
|
|
769
|
+
xmlns: 'http://www.w3.org/2000/svg'
|
|
770
|
+
}, React__default.createElement("path", {
|
|
771
|
+
d: "M7.5 10.5938H0.5C0.3775 10.5938 0.28125 10.4975 0.28125 10.375V5.125C0.28125 5.0025 0.3775 4.90625 0.5 4.90625H7.5C7.6225 4.90625 7.71875 5.0025 7.71875 5.125V10.375C7.71875 10.4975 7.6225 10.5938 7.5 10.5938ZM0.71875 10.1562H7.28125V5.34375H0.71875V10.1562ZM7.0625 5.34375H5.3125C5.19 5.34375 5.09375 5.2475 5.09375 5.125V3.8125C5.09375 3.52375 4.97563 3.24375 4.77437 3.03812C4.56875 2.8325 4.29313 2.71875 4 2.71875C3.70992 2.71875 3.43172 2.83398 3.2266 3.0391C3.02148 3.24422 2.90625 3.52242 2.90625 3.8125V5.125C2.90625 5.2475 2.81 5.34375 2.6875 5.34375H0.9375C0.815 5.34375 0.71875 5.2475 0.71875 5.125V3.8125C0.71875 2.00125 2.18875 0.53125 4 0.53125C4.875 0.53125 5.70187 0.8725 6.31875 1.49375C6.94 2.115 7.28125 2.9375 7.28125 3.8125V5.125C7.28125 5.2475 7.185 5.34375 7.0625 5.34375ZM5.53125 4.90625H6.84375V3.8125C6.84375 3.05125 6.54625 2.33812 6.0125 1.8C5.74882 1.53506 5.43513 1.32515 5.08965 1.18245C4.74417 1.03975 4.37379 0.967111 4 0.96875C2.43375 0.96875 1.15625 2.24625 1.15625 3.8125V4.90625H2.46875V3.8125C2.46875 2.96813 3.15563 2.28125 4 2.28125C4.41125 2.28125 4.79187 2.43875 5.08062 2.73187C5.365 3.01625 5.53125 3.41 5.53125 3.8125V4.90625ZM2.25 8.84375H1.8125C1.69 8.84375 1.59375 8.7475 1.59375 8.625V6.875C1.59375 6.7525 1.69 6.65625 1.8125 6.65625H2.25C2.61313 6.65625 2.90625 6.94938 2.90625 7.3125V8.1875C2.90625 8.55062 2.61313 8.84375 2.25 8.84375ZM2.03125 8.40625H2.25C2.3725 8.40625 2.46875 8.31 2.46875 8.1875V7.3125C2.46875 7.19 2.3725 7.09375 2.25 7.09375H2.03125V8.40625ZM4.25375 11.25C4.25375 11.1275 4.1575 11.0312 4.035 11.0312H3.965C3.8425 11.0312 3.74625 11.1275 3.74625 11.25C3.74625 11.3725 3.8425 11.4688 3.965 11.4688H4.035C4.1575 11.4688 4.25375 11.3725 4.25375 11.25ZM7.71875 11.25V10.375C7.71875 10.2525 7.6225 10.1562 7.5 10.1562H0.5C0.3775 10.1562 0.28125 10.2525 0.28125 10.375V11.25C0.28125 11.3725 0.3775 11.4688 0.5 11.4688H3.125C3.2475 11.4688 3.34375 11.3725 3.34375 11.25C3.34375 11.1275 3.2475 11.0312 3.125 11.0312H0.71875V10.5938H7.28125V11.0312H4.875C4.7525 11.0312 4.65625 11.1275 4.65625 11.25C4.65625 11.3725 4.7525 11.4688 4.875 11.4688H7.5C7.6225 11.4688 7.71875 11.3725 7.71875 11.25ZM4.49 8.83937C4.59063 8.8175 4.65625 8.73 4.65625 8.625V6.875C4.65625 6.7525 4.56 6.65625 4.4375 6.65625C4.315 6.65625 4.21875 6.7525 4.21875 6.875V7.6975L3.75937 6.77437C3.73811 6.72991 3.70202 6.69424 3.65731 6.67348C3.61261 6.65272 3.56207 6.64818 3.51438 6.66062C3.41375 6.6825 3.34375 6.77 3.34375 6.875V8.625C3.34375 8.7475 3.44 8.84375 3.5625 8.84375C3.685 8.84375 3.78125 8.7475 3.78125 8.625V7.8025L4.24062 8.72563C4.28 8.8 4.35437 8.84813 4.4375 8.84813C4.455 8.84813 4.4725 8.84813 4.49 8.84375V8.83937ZM6.40625 8.1875C6.40625 7.82438 6.11312 7.53125 5.75 7.53125C5.6275 7.53125 5.53125 7.435 5.53125 7.3125C5.53125 7.19 5.6275 7.09375 5.75 7.09375H6.1875C6.31 7.09375 6.40625 6.9975 6.40625 6.875C6.40625 6.7525 6.31 6.65625 6.1875 6.65625H5.75C5.38688 6.65625 5.09375 6.94938 5.09375 7.3125C5.09375 7.67562 5.38688 7.96875 5.75 7.96875C5.8725 7.96875 5.96875 8.065 5.96875 8.1875C5.96875 8.31 5.8725 8.40625 5.75 8.40625H5.3125C5.19 8.40625 5.09375 8.5025 5.09375 8.625C5.09375 8.7475 5.19 8.84375 5.3125 8.84375H5.75C6.11312 8.84375 6.40625 8.55062 6.40625 8.1875Z",
|
|
772
|
+
fill: color
|
|
773
|
+
}));
|
|
774
|
+
};
|
|
775
|
+
|
|
733
776
|
var DocumentBadge = function DocumentBadge(_ref) {
|
|
734
777
|
var size = _ref.size,
|
|
735
778
|
color = _ref.color,
|
|
@@ -3644,6 +3687,8 @@ var IconSVGs = {
|
|
|
3644
3687
|
DiagonalArrow: DiagonalArrow,
|
|
3645
3688
|
Directory: Directory,
|
|
3646
3689
|
Disk: Disk,
|
|
3690
|
+
DNS_1: DNS_1,
|
|
3691
|
+
DNS_2: DNS_2,
|
|
3647
3692
|
DocumentBadge: DocumentBadge,
|
|
3648
3693
|
DownArrow: DownArrow,
|
|
3649
3694
|
Download: Download,
|
|
@@ -8517,132 +8562,3642 @@ var PageInput$1 = styled__default.input(_templateObject$l$1 || (_templateObject$
|
|
|
8517
8562
|
var theme = _ref3.theme;
|
|
8518
8563
|
return theme.text.dark;
|
|
8519
8564
|
});
|
|
8520
|
-
|
|
8521
|
-
|
|
8522
|
-
|
|
8523
|
-
|
|
8565
|
+
function _taggedTemplateLiteralLoose$1$1(e, t) {
|
|
8566
|
+
return t || (t = e.slice(0)), e.raw = t, e;
|
|
8567
|
+
}
|
|
8568
|
+
var _templateObject$m$1, _templateObject2$i$1;
|
|
8569
|
+
var ModalOverlay$1$1 = styled__default.div(_templateObject$m$1 || (_templateObject$m$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"])));
|
|
8570
|
+
var ModalContainer$1$1 = styled__default.div(_templateObject2$i$1 || (_templateObject2$i$1 = _taggedTemplateLiteralLoose$1$1(["\n background: ", ";\n box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);\n border-radius: 8px;\n max-height: 100vh;\n max-width: ", ";\n overflow: visible;\n"])), function (_ref) {
|
|
8571
|
+
var theme = _ref.theme;
|
|
8572
|
+
return theme.accent.light_1;
|
|
8524
8573
|
}, function (_ref2) {
|
|
8525
|
-
var $
|
|
8526
|
-
|
|
8527
|
-
return $background || theme.accent.softBlue;
|
|
8574
|
+
var $maxWidth = _ref2.$maxWidth;
|
|
8575
|
+
return $maxWidth ? $maxWidth : '400px';
|
|
8528
8576
|
});
|
|
8529
|
-
var
|
|
8530
|
-
|
|
8531
|
-
|
|
8577
|
+
var _templateObject$1$1$1, _templateObject2$1$1$1;
|
|
8578
|
+
var Container$4$1 = styled__default.div(_templateObject$1$1$1 || (_templateObject$1$1$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n flex: ", ";\n flex-wrap: ", ";\n flex-direction: ", ";\n justify-content: ", ";\n align-items: ", "; \n gap: ", ";\n font-weight: ", ";\n height: ", ";\n min-height: ", ";\n max-height: ", ";\n width: ", ";\n min-width: ", ";\n max-width: ", ";\n padding: ", ";\n background: ", ";\n object-fit:", ";\n margin: ", ";\n border-radius: ", ";\n border-top-left-radius: ", ";\n border-top-right-radius: ", ";\n border-bottom-right-radius: ", ";\n border-bottom-left-radius: ", ";\n cursor: ", ";\n font-size: ", ";\n opacity: ", ";\n pointer-events: ", ";\n position: ", ";\n top: ", ";\n bottom: ", ";\n left: ", ";\n right: ", ";\n text-align: ", "; \n color: ", "; \n overflow: ", ";\n overflow-y: ", ";\n z-index: ", "; \n scrollbar-width: ", ";\n border: ", "; \n border-top: ", ";\n border-bottom: ", ";\n border-left: ", ";\n transition: ", ";\n box-shadow: ", ";\n\n &:hover {\n background: ", ";\n color: ", ";\n }\n"])), function (_ref) {
|
|
8579
|
+
var $flex = _ref.$flex;
|
|
8580
|
+
return $flex;
|
|
8581
|
+
}, function (_ref2) {
|
|
8582
|
+
var $flexWrap = _ref2.$flexWrap;
|
|
8583
|
+
return $flexWrap;
|
|
8584
|
+
}, function (_ref3) {
|
|
8585
|
+
var $flexDirection = _ref3.$flexDirection;
|
|
8586
|
+
return $flexDirection;
|
|
8532
8587
|
}, function (_ref4) {
|
|
8533
|
-
var
|
|
8534
|
-
return
|
|
8535
|
-
})
|
|
8536
|
-
var
|
|
8537
|
-
|
|
8538
|
-
|
|
8539
|
-
|
|
8540
|
-
|
|
8541
|
-
var Logo = styled__default.div(_templateObject4$9$1 || (_templateObject4$9$1 = _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"])));
|
|
8542
|
-
var TextContainer = styled__default.span(_templateObject5$8$1 || (_templateObject5$8$1 = _taggedTemplateLiteralLoose$1(["\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 (_ref6) {
|
|
8543
|
-
var $padding = _ref6.$padding;
|
|
8544
|
-
return $padding;
|
|
8588
|
+
var $justifyContent = _ref4.$justifyContent;
|
|
8589
|
+
return $justifyContent;
|
|
8590
|
+
}, function (_ref5) {
|
|
8591
|
+
var $alignItems = _ref5.$alignItems;
|
|
8592
|
+
return $alignItems;
|
|
8593
|
+
}, function (_ref6) {
|
|
8594
|
+
var $gap = _ref6.$gap;
|
|
8595
|
+
return $gap;
|
|
8545
8596
|
}, function (_ref7) {
|
|
8546
|
-
var $
|
|
8547
|
-
return $
|
|
8597
|
+
var $fontWeight = _ref7.$fontWeight;
|
|
8598
|
+
return $fontWeight;
|
|
8548
8599
|
}, function (_ref8) {
|
|
8549
|
-
var $
|
|
8550
|
-
return $
|
|
8600
|
+
var $height = _ref8.$height;
|
|
8601
|
+
return $height;
|
|
8551
8602
|
}, function (_ref9) {
|
|
8552
|
-
var $
|
|
8553
|
-
|
|
8554
|
-
return $color || theme["default"].primary;
|
|
8603
|
+
var $minHeight = _ref9.$minHeight;
|
|
8604
|
+
return $minHeight;
|
|
8555
8605
|
}, function (_ref10) {
|
|
8556
|
-
var $
|
|
8557
|
-
return $
|
|
8606
|
+
var $maxHeight = _ref10.$maxHeight;
|
|
8607
|
+
return $maxHeight;
|
|
8558
8608
|
}, function (_ref11) {
|
|
8559
|
-
var $
|
|
8560
|
-
return $
|
|
8561
|
-
})
|
|
8562
|
-
var
|
|
8563
|
-
|
|
8564
|
-
|
|
8565
|
-
|
|
8566
|
-
|
|
8567
|
-
|
|
8568
|
-
|
|
8569
|
-
|
|
8570
|
-
|
|
8571
|
-
|
|
8572
|
-
return
|
|
8573
|
-
}, function (
|
|
8574
|
-
|
|
8575
|
-
|
|
8576
|
-
|
|
8577
|
-
|
|
8578
|
-
return
|
|
8579
|
-
})
|
|
8580
|
-
var
|
|
8581
|
-
return
|
|
8582
|
-
}, function (
|
|
8583
|
-
|
|
8584
|
-
|
|
8585
|
-
|
|
8586
|
-
|
|
8587
|
-
|
|
8588
|
-
|
|
8589
|
-
|
|
8590
|
-
return
|
|
8591
|
-
}, function (
|
|
8592
|
-
|
|
8593
|
-
|
|
8594
|
-
|
|
8595
|
-
var
|
|
8596
|
-
|
|
8597
|
-
|
|
8598
|
-
var
|
|
8599
|
-
return
|
|
8600
|
-
})
|
|
8601
|
-
var
|
|
8602
|
-
|
|
8603
|
-
|
|
8604
|
-
|
|
8605
|
-
|
|
8606
|
-
|
|
8607
|
-
|
|
8608
|
-
return $
|
|
8609
|
-
})
|
|
8610
|
-
var
|
|
8611
|
-
|
|
8612
|
-
|
|
8613
|
-
|
|
8614
|
-
|
|
8615
|
-
|
|
8616
|
-
var
|
|
8617
|
-
return
|
|
8618
|
-
}, function (
|
|
8619
|
-
var $
|
|
8620
|
-
return $
|
|
8621
|
-
})
|
|
8622
|
-
var
|
|
8623
|
-
|
|
8624
|
-
|
|
8625
|
-
|
|
8626
|
-
|
|
8627
|
-
|
|
8628
|
-
var $overflow =
|
|
8609
|
+
var $width = _ref11.$width;
|
|
8610
|
+
return $width;
|
|
8611
|
+
}, function (_ref12) {
|
|
8612
|
+
var $minWidth = _ref12.$minWidth;
|
|
8613
|
+
return $minWidth;
|
|
8614
|
+
}, function (_ref13) {
|
|
8615
|
+
var $maxWidth = _ref13.$maxWidth;
|
|
8616
|
+
return $maxWidth;
|
|
8617
|
+
}, function (_ref14) {
|
|
8618
|
+
var $padding = _ref14.$padding;
|
|
8619
|
+
return $padding;
|
|
8620
|
+
}, function (_ref15) {
|
|
8621
|
+
var $background = _ref15.$background;
|
|
8622
|
+
return $background;
|
|
8623
|
+
}, function (_ref16) {
|
|
8624
|
+
var $objectfit = _ref16.$objectfit;
|
|
8625
|
+
return $objectfit;
|
|
8626
|
+
}, function (_ref17) {
|
|
8627
|
+
var $margin = _ref17.$margin;
|
|
8628
|
+
return $margin;
|
|
8629
|
+
}, function (_ref18) {
|
|
8630
|
+
var $borderRadius = _ref18.$borderRadius;
|
|
8631
|
+
return $borderRadius;
|
|
8632
|
+
}, function (_ref19) {
|
|
8633
|
+
var $borderTopLeftRadius = _ref19.$borderTopLeftRadius;
|
|
8634
|
+
return $borderTopLeftRadius;
|
|
8635
|
+
}, function (_ref20) {
|
|
8636
|
+
var $borderTopRightRadius = _ref20.$borderTopRightRadius;
|
|
8637
|
+
return $borderTopRightRadius;
|
|
8638
|
+
}, function (_ref21) {
|
|
8639
|
+
var $borderBottomRightRadius = _ref21.$borderBottomRightRadius;
|
|
8640
|
+
return $borderBottomRightRadius;
|
|
8641
|
+
}, function (_ref22) {
|
|
8642
|
+
var $borderBottomLeftRadius = _ref22.$borderBottomLeftRadius;
|
|
8643
|
+
return $borderBottomLeftRadius;
|
|
8644
|
+
}, function (_ref23) {
|
|
8645
|
+
var $cursor = _ref23.$cursor;
|
|
8646
|
+
return $cursor;
|
|
8647
|
+
}, function (_ref24) {
|
|
8648
|
+
var $fontSize = _ref24.$fontSize;
|
|
8649
|
+
return $fontSize;
|
|
8650
|
+
}, function (_ref25) {
|
|
8651
|
+
var $opacity = _ref25.$opacity;
|
|
8652
|
+
return $opacity;
|
|
8653
|
+
}, function (_ref26) {
|
|
8654
|
+
var $pointerEvents = _ref26.$pointerEvents;
|
|
8655
|
+
return $pointerEvents;
|
|
8656
|
+
}, function (_ref27) {
|
|
8657
|
+
var $position = _ref27.$position;
|
|
8658
|
+
return $position;
|
|
8659
|
+
}, function (_ref28) {
|
|
8660
|
+
var $top = _ref28.$top;
|
|
8661
|
+
return $top;
|
|
8662
|
+
}, function (_ref29) {
|
|
8663
|
+
var $bottom = _ref29.$bottom;
|
|
8664
|
+
return $bottom;
|
|
8665
|
+
}, function (_ref30) {
|
|
8666
|
+
var $left = _ref30.$left;
|
|
8667
|
+
return $left;
|
|
8668
|
+
}, function (_ref31) {
|
|
8669
|
+
var $right = _ref31.$right;
|
|
8670
|
+
return $right;
|
|
8671
|
+
}, function (_ref32) {
|
|
8672
|
+
var $textAlign = _ref32.$textAlign;
|
|
8673
|
+
return $textAlign;
|
|
8674
|
+
}, function (_ref33) {
|
|
8675
|
+
var $color = _ref33.$color;
|
|
8676
|
+
return $color;
|
|
8677
|
+
}, function (_ref34) {
|
|
8678
|
+
var $overflow = _ref34.$overflow;
|
|
8629
8679
|
return $overflow || 'visible';
|
|
8630
|
-
}, function (
|
|
8631
|
-
var $
|
|
8632
|
-
return $
|
|
8633
|
-
}, function (
|
|
8634
|
-
var $
|
|
8680
|
+
}, function (_ref35) {
|
|
8681
|
+
var $overflowY = _ref35.$overflowY;
|
|
8682
|
+
return $overflowY;
|
|
8683
|
+
}, function (_ref36) {
|
|
8684
|
+
var $zIndex = _ref36.$zIndex;
|
|
8685
|
+
return $zIndex;
|
|
8686
|
+
}, function (_ref37) {
|
|
8687
|
+
var $scrollbarWidth = _ref37.$scrollbarWidth;
|
|
8688
|
+
return $scrollbarWidth;
|
|
8689
|
+
}, function (_ref38) {
|
|
8690
|
+
var $border = _ref38.$border;
|
|
8635
8691
|
return $border;
|
|
8692
|
+
}, function (_ref39) {
|
|
8693
|
+
var $borderTop = _ref39.$borderTop;
|
|
8694
|
+
return $borderTop;
|
|
8695
|
+
}, function (_ref40) {
|
|
8696
|
+
var $borderBottom = _ref40.$borderBottom;
|
|
8697
|
+
return $borderBottom;
|
|
8698
|
+
}, function (_ref41) {
|
|
8699
|
+
var $borderLeft = _ref41.$borderLeft;
|
|
8700
|
+
return $borderLeft;
|
|
8701
|
+
}, function (_ref42) {
|
|
8702
|
+
var $transition = _ref42.$transition;
|
|
8703
|
+
return $transition;
|
|
8704
|
+
}, function (_ref43) {
|
|
8705
|
+
var $boxShadow = _ref43.$boxShadow;
|
|
8706
|
+
return $boxShadow;
|
|
8707
|
+
}, function (_ref44) {
|
|
8708
|
+
var $hoverBackground = _ref44.$hoverBackground;
|
|
8709
|
+
return $hoverBackground;
|
|
8710
|
+
}, function (_ref45) {
|
|
8711
|
+
var $hoverColor = _ref45.$hoverColor;
|
|
8712
|
+
return $hoverColor;
|
|
8636
8713
|
});
|
|
8637
|
-
var
|
|
8638
|
-
var $
|
|
8714
|
+
var Span$1$1 = styled__default.span(_templateObject2$1$1$1 || (_templateObject2$1$1$1 = _taggedTemplateLiteralLoose$1$1(["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n font-style: ", ";\n color: ", ";\n line-height: ", ";\n text-align: ", ";\n min-width: ", ";\n width: ", ";\n overflow-wrap: ", ";\n"])), function (_ref46) {
|
|
8715
|
+
var $fontFamily = _ref46.$fontFamily;
|
|
8716
|
+
return $fontFamily ? $fontFamily : 'NotoSans, sans-serif';
|
|
8717
|
+
}, function (_ref47) {
|
|
8718
|
+
var $fontWeight = _ref47.$fontWeight;
|
|
8719
|
+
return $fontWeight ? $fontWeight : '500';
|
|
8720
|
+
}, function (_ref48) {
|
|
8721
|
+
var $fontSize = _ref48.$fontSize;
|
|
8722
|
+
return $fontSize ? $fontSize : '16px';
|
|
8723
|
+
}, function (_ref49) {
|
|
8724
|
+
var $fontStyle = _ref49.$fontStyle;
|
|
8725
|
+
return $fontStyle ? $fontStyle : 'normal';
|
|
8726
|
+
}, function (_ref50) {
|
|
8727
|
+
var $color = _ref50.$color,
|
|
8728
|
+
theme = _ref50.theme;
|
|
8729
|
+
return $color ? $color : theme.text.medium;
|
|
8730
|
+
}, function (_ref51) {
|
|
8731
|
+
var $lineHeight = _ref51.$lineHeight;
|
|
8732
|
+
return $lineHeight ? $lineHeight : '100%';
|
|
8733
|
+
}, function (_ref52) {
|
|
8734
|
+
var $textAlign = _ref52.$textAlign;
|
|
8735
|
+
return $textAlign ? $textAlign : 'center';
|
|
8736
|
+
}, function (_ref53) {
|
|
8737
|
+
var $minWidth = _ref53.$minWidth;
|
|
8738
|
+
return $minWidth;
|
|
8739
|
+
}, function (_ref54) {
|
|
8740
|
+
var $width = _ref54.$width;
|
|
8741
|
+
return $width;
|
|
8742
|
+
}, function (_ref55) {
|
|
8743
|
+
var $overflowWrap = _ref55.$overflowWrap;
|
|
8744
|
+
return $overflowWrap;
|
|
8745
|
+
});
|
|
8746
|
+
var light$1$1 = {
|
|
8747
|
+
brand: {
|
|
8748
|
+
primary: '#4C9EEB',
|
|
8749
|
+
secondary: '#14171A',
|
|
8750
|
+
light: '#FFFFFF'
|
|
8751
|
+
},
|
|
8752
|
+
accent: {
|
|
8753
|
+
light_1: '#E1E8ED',
|
|
8754
|
+
light_2: '#F5F8FA',
|
|
8755
|
+
light_3: '#F0F3F5',
|
|
8756
|
+
light_4: '#ECF0F4',
|
|
8757
|
+
light_5: '#F0F0F3',
|
|
8758
|
+
softBlue: '#D4EEFF',
|
|
8759
|
+
extraSoftBlue: '#E4F4FF',
|
|
8760
|
+
boldTransparent: '#5E5E5E80',
|
|
8761
|
+
transparent: '#5E5E5E4D',
|
|
8762
|
+
lightTransparent: '#5E5E5E23'
|
|
8763
|
+
},
|
|
8764
|
+
"default": {
|
|
8765
|
+
primary: '#78B6F0',
|
|
8766
|
+
secondary: '#C2C2C2',
|
|
8767
|
+
tertiary: 'transparent',
|
|
8768
|
+
error: '#F44336',
|
|
8769
|
+
success: '#4CAF50',
|
|
8770
|
+
warning: '#FF9800',
|
|
8771
|
+
info: '#2159F3'
|
|
8772
|
+
},
|
|
8773
|
+
disabled: {
|
|
8774
|
+
primary: '#B9DCF7',
|
|
8775
|
+
secondary: '#DADADA',
|
|
8776
|
+
error: '#FFEBEE',
|
|
8777
|
+
success: '#E8F5E9',
|
|
8778
|
+
warning: '#FFF3E0',
|
|
8779
|
+
info: '#E3F2FD'
|
|
8780
|
+
},
|
|
8781
|
+
hover: {
|
|
8782
|
+
primary: '#4C9EEB',
|
|
8783
|
+
secondary: '#A3A3A3',
|
|
8784
|
+
tertiary: 'transparent',
|
|
8785
|
+
error: '#D32F2F',
|
|
8786
|
+
success: '#388E3C',
|
|
8787
|
+
warning: '#F57C00',
|
|
8788
|
+
info: '#193ED2'
|
|
8789
|
+
},
|
|
8790
|
+
border: {
|
|
8791
|
+
extraBold: '#657786',
|
|
8792
|
+
bold: '#BFBFBF',
|
|
8793
|
+
medium: '#CBCED0',
|
|
8794
|
+
light: '#DCDCDC',
|
|
8795
|
+
extraLight: '#E6E3E3'
|
|
8796
|
+
},
|
|
8797
|
+
text: {
|
|
8798
|
+
dark: '#14171A',
|
|
8799
|
+
medium: '#657786',
|
|
8800
|
+
light: '#98A2AA',
|
|
8801
|
+
white: '#FFFFFF',
|
|
8802
|
+
success: '#1B5E20',
|
|
8803
|
+
error: '#B71C1C',
|
|
8804
|
+
info: '#0D30A1',
|
|
8805
|
+
warning: '#E65100'
|
|
8806
|
+
},
|
|
8807
|
+
badge: {
|
|
8808
|
+
lavender: '#E8DAFF',
|
|
8809
|
+
papayaWhip: '#FFEDD5',
|
|
8810
|
+
water: '#C7E3FF',
|
|
8811
|
+
paleBlue: '#B0F0E4',
|
|
8812
|
+
teaGreen: '#D5F7C2',
|
|
8813
|
+
lightBlue: '#ADD8E6'
|
|
8814
|
+
}
|
|
8815
|
+
};
|
|
8816
|
+
var dark$1$1 = {
|
|
8817
|
+
brand: {
|
|
8818
|
+
primary: '#4C9EEB',
|
|
8819
|
+
secondary: '#E1E8ED',
|
|
8820
|
+
light: '#1A1A1A'
|
|
8821
|
+
},
|
|
8822
|
+
accent: {
|
|
8823
|
+
light_1: '#2A2E33',
|
|
8824
|
+
light_2: '#1F2327',
|
|
8825
|
+
light_3: '#0F1214',
|
|
8826
|
+
light_4: '#101417',
|
|
8827
|
+
light_5: '#0F0F0C',
|
|
8828
|
+
softBlue: '#2C3E50',
|
|
8829
|
+
extraSoftBlue: '#34495E',
|
|
8830
|
+
boldTransparent: '#D3D3D380',
|
|
8831
|
+
transparent: '#D3D3D34D',
|
|
8832
|
+
lightTransparent: '#D3D3D323'
|
|
8833
|
+
},
|
|
8834
|
+
"default": {
|
|
8835
|
+
primary: '#78B6F0',
|
|
8836
|
+
secondary: '#4F4F4F',
|
|
8837
|
+
tertiary: 'transparent',
|
|
8838
|
+
error: '#EF5350',
|
|
8839
|
+
success: '#66BB6A',
|
|
8840
|
+
warning: '#FFB74D',
|
|
8841
|
+
info: '#42A5F5'
|
|
8842
|
+
},
|
|
8843
|
+
disabled: {
|
|
8844
|
+
primary: '#3B4A58',
|
|
8845
|
+
secondary: '#3E3E3E',
|
|
8846
|
+
error: '#5B1B1B',
|
|
8847
|
+
success: '#1B3C1B',
|
|
8848
|
+
warning: '#5A3C1B',
|
|
8849
|
+
info: '#1A3C5A'
|
|
8850
|
+
},
|
|
8851
|
+
hover: {
|
|
8852
|
+
primary: '#5CA6F0',
|
|
8853
|
+
secondary: '#7A7A7A',
|
|
8854
|
+
tertiary: 'transparent',
|
|
8855
|
+
error: '#D32F2F',
|
|
8856
|
+
success: '#388E3C',
|
|
8857
|
+
warning: '#F57C00',
|
|
8858
|
+
info: '#1976D2'
|
|
8859
|
+
},
|
|
8860
|
+
border: {
|
|
8861
|
+
extraBold: '#8899A6',
|
|
8862
|
+
bold: '#5E5E5E',
|
|
8863
|
+
medium: '#4A4A4A',
|
|
8864
|
+
light: '#3A3A3A',
|
|
8865
|
+
extraLight: '#2B2B2B'
|
|
8866
|
+
},
|
|
8867
|
+
text: {
|
|
8868
|
+
dark: '#FFFFFF',
|
|
8869
|
+
medium: '#AAB8C2',
|
|
8870
|
+
light: '#8899A6',
|
|
8871
|
+
white: '#14171A',
|
|
8872
|
+
success: '#81C784',
|
|
8873
|
+
error: '#E57373',
|
|
8874
|
+
info: '#64B5F6',
|
|
8875
|
+
warning: '#FFB74D'
|
|
8876
|
+
},
|
|
8877
|
+
badge: {
|
|
8878
|
+
lavender: '#7B5FA1',
|
|
8879
|
+
papayaWhip: '#A46A3E',
|
|
8880
|
+
water: '#5CA6F0',
|
|
8881
|
+
paleBlue: '#4BC9BC',
|
|
8882
|
+
teaGreen: '#7FBF7F',
|
|
8883
|
+
lightBlue: '#5DADE2'
|
|
8884
|
+
}
|
|
8885
|
+
};
|
|
8886
|
+
var getCurrentTheme$1$1 = function getCurrentTheme() {
|
|
8887
|
+
if (typeof document !== 'undefined') {
|
|
8888
|
+
var isDarkClass = document.documentElement.classList.contains('dark');
|
|
8889
|
+
return isDarkClass ? 'dark' : 'light';
|
|
8890
|
+
}
|
|
8891
|
+
return 'light';
|
|
8892
|
+
};
|
|
8893
|
+
var colorVariables$1$1 = new Proxy({}, {
|
|
8894
|
+
get: function get(_, prop) {
|
|
8895
|
+
var currentThemeName = getCurrentTheme$1$1();
|
|
8896
|
+
var currentTheme = themes$1$1[currentThemeName];
|
|
8897
|
+
return currentTheme[prop];
|
|
8898
|
+
}
|
|
8899
|
+
});
|
|
8900
|
+
var themes$1$1 = {
|
|
8901
|
+
light: light$1$1,
|
|
8902
|
+
dark: dark$1$1
|
|
8903
|
+
};
|
|
8904
|
+
var _templateObject$2$1$1, _templateObject2$2$1$1, _templateObject3$c$1;
|
|
8905
|
+
var wrapperCss$1$1 = styled.css(_templateObject$2$1$1 || (_templateObject$2$1$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"])));
|
|
8906
|
+
var IconWrapper$2$1 = styled__default.div(_templateObject2$2$1$1 || (_templateObject2$2$1$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) {
|
|
8907
|
+
var $clickable = _ref.$clickable;
|
|
8908
|
+
return $clickable ? 'pointer' : 'default';
|
|
8909
|
+
}, wrapperCss$1$1);
|
|
8910
|
+
var IconWrapperForSVG$1$1 = styled__default.g(_templateObject3$c$1 || (_templateObject3$c$1 = _taggedTemplateLiteralLoose$1$1(["\n ", ";\n"])), wrapperCss$1$1);
|
|
8911
|
+
var _templateObject$3$1$1, _templateObject2$3$1$1;
|
|
8912
|
+
var TooltipWrapper$2$1 = styled__default.div(_templateObject$3$1$1 || (_templateObject$3$1$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n align-items: center;\n\n svg {\n cursor: pointer;\n }\n"])));
|
|
8913
|
+
var TooltipText$1$1 = styled__default.span(_templateObject2$3$1$1 || (_templateObject2$3$1$1 = _taggedTemplateLiteralLoose$1$1(["\n visibility: ", ";\n opacity: ", ";\n transition: opacity 0.2s ease-in-out;\n background-color: ", ";\n color: ", ";\n border: ", ";\n border-radius: 8px;\n padding: 8px 16px;\n font-size: ", ";\n font-weight: ", ";\n max-width: 300px;\n width: max-content;\n position: fixed;\n z-index: 999;\n pointer-events: none;\n"])), function (_ref) {
|
|
8914
|
+
var $visible = _ref.$visible;
|
|
8915
|
+
return $visible ? 'visible' : 'hidden';
|
|
8916
|
+
}, function (_ref2) {
|
|
8917
|
+
var $visible = _ref2.$visible;
|
|
8918
|
+
return $visible ? 1 : 0;
|
|
8919
|
+
}, function (_ref3) {
|
|
8920
|
+
var $bgColor = _ref3.$bgColor,
|
|
8921
|
+
theme = _ref3.theme;
|
|
8922
|
+
return $bgColor || theme.brand.light;
|
|
8923
|
+
}, function (_ref4) {
|
|
8924
|
+
var $color = _ref4.$color,
|
|
8925
|
+
theme = _ref4.theme;
|
|
8926
|
+
return $color != null ? $color : theme.text.medium;
|
|
8927
|
+
}, function (_ref5) {
|
|
8928
|
+
var $border = _ref5.$border;
|
|
8929
|
+
return $border != null ? $border : 'none';
|
|
8930
|
+
}, function (_ref6) {
|
|
8931
|
+
var $fontSize = _ref6.$fontSize;
|
|
8932
|
+
return $fontSize != null ? $fontSize : '12px';
|
|
8933
|
+
}, function (_ref7) {
|
|
8934
|
+
var $fontWeight = _ref7.$fontWeight;
|
|
8935
|
+
return $fontWeight != null ? $fontWeight : '500';
|
|
8936
|
+
});
|
|
8937
|
+
var _templateObject$4$1$1, _templateObject2$4$1$1, _templateObject3$1$1$1, _templateObject4$9$1, _templateObject5$8$1, _templateObject6$7$1, _templateObject7$5$1, _templateObject8$4$1, _templateObject9$4$1, _templateObject10$4$1, _templateObject11$3$1, _templateObject12$2$1;
|
|
8938
|
+
var TooltipContainer$1$1 = styled__default.div(_templateObject$4$1$1 || (_templateObject$4$1$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n position: absolute;\n z-index: 10;\n align-items: center;\n justify-content: center;\n visibility: hidden;\n opacity: 0;\n transition: opacity 0.3s;\n border-radius: ", ";\n padding: 6px 8px;\n border: ", ";\n min-width: ", ";\n min-width: ", ";\n background-color: ", ";\n gap: ", ";\n\n ", "\n\n &::after {\n content: '';\n position: absolute;\n width: 16px;\n height: 8px;\n background-color: ", ";\n clip-path: polygon(50% 0%, 0% 100%, 100% 100%);\n\n ", "\n }\n"])), function (_ref) {
|
|
8939
|
+
var $borderRadius = _ref.$borderRadius;
|
|
8940
|
+
return $borderRadius != null ? $borderRadius : '4px';
|
|
8941
|
+
}, function (_ref2) {
|
|
8942
|
+
var $border = _ref2.$border;
|
|
8943
|
+
return $border;
|
|
8944
|
+
}, function (_ref3) {
|
|
8945
|
+
var $minWidth = _ref3.$minWidth;
|
|
8946
|
+
return $minWidth != null ? $minWidth : 'auto';
|
|
8947
|
+
}, function (_ref4) {
|
|
8948
|
+
var $maxWidth = _ref4.$maxWidth;
|
|
8949
|
+
return $maxWidth != null ? $maxWidth : 'auto';
|
|
8950
|
+
}, function (_ref5) {
|
|
8951
|
+
var $background = _ref5.$background,
|
|
8952
|
+
theme = _ref5.theme;
|
|
8953
|
+
return $background != null ? $background : theme.accent.light_1;
|
|
8954
|
+
}, function (_ref6) {
|
|
8955
|
+
var $gap = _ref6.$gap;
|
|
8956
|
+
return $gap != null ? $gap : '16px';
|
|
8957
|
+
}, function (_ref7) {
|
|
8958
|
+
var $tooltipPosition = _ref7.$tooltipPosition,
|
|
8959
|
+
$iconSize = _ref7.$iconSize,
|
|
8960
|
+
$tooltipTop = _ref7.$tooltipTop;
|
|
8961
|
+
var vertical = $tooltipPosition.startsWith('top') ? "bottom: " + ($tooltipTop != null ? $tooltipTop : "calc(50% + " + ($iconSize + 2) + "px)") + ";" : "top: " + ($tooltipTop != null ? $tooltipTop : "calc(50% + " + ($iconSize + 2) + "px)") + ";";
|
|
8962
|
+
var horizontal = $tooltipPosition.endsWith('Left') ? styled.css(_templateObject2$4$1$1 || (_templateObject2$4$1$1 = _taggedTemplateLiteralLoose$1$1(["left: calc(100% + 10px); transform: translateX(-99%);"]))) : $tooltipPosition.endsWith('Center') ? styled.css(_templateObject3$1$1$1 || (_templateObject3$1$1$1 = _taggedTemplateLiteralLoose$1$1(["left: 50%; transform: translateX(-50%);"]))) : styled.css(_templateObject4$9$1 || (_templateObject4$9$1 = _taggedTemplateLiteralLoose$1$1(["right: calc(100% + 10px); transform: translateX(99%);"])));
|
|
8963
|
+
return styled.css(_templateObject5$8$1 || (_templateObject5$8$1 = _taggedTemplateLiteralLoose$1$1(["", " ", ";"])), vertical, horizontal);
|
|
8964
|
+
}, function (_ref8) {
|
|
8965
|
+
var $background = _ref8.$background,
|
|
8966
|
+
theme = _ref8.theme;
|
|
8967
|
+
return $background != null ? $background : theme.accent.light_1;
|
|
8968
|
+
}, function (_ref9) {
|
|
8969
|
+
var $tooltipPosition = _ref9.$tooltipPosition;
|
|
8970
|
+
if ($tooltipPosition.startsWith('top')) {
|
|
8971
|
+
return $tooltipPosition.endsWith('Left') ? styled.css(_templateObject6$7$1 || (_templateObject6$7$1 = _taggedTemplateLiteralLoose$1$1(["top: 100%; right: 10px; transform: rotate(180deg);"]))) : $tooltipPosition.endsWith('Right') ? styled.css(_templateObject7$5$1 || (_templateObject7$5$1 = _taggedTemplateLiteralLoose$1$1(["top: 100%; left: 10px; transform: rotate(180deg);"]))) : styled.css(_templateObject8$4$1 || (_templateObject8$4$1 = _taggedTemplateLiteralLoose$1$1(["top: 100%; left: 50%; transform: translateX(-50%) rotate(180deg);"])));
|
|
8972
|
+
} else {
|
|
8973
|
+
return $tooltipPosition.endsWith('Left') ? styled.css(_templateObject9$4$1 || (_templateObject9$4$1 = _taggedTemplateLiteralLoose$1$1(["bottom: 100%; right: 10px;"]))) : $tooltipPosition.endsWith('Right') ? styled.css(_templateObject10$4$1 || (_templateObject10$4$1 = _taggedTemplateLiteralLoose$1$1(["bottom: 100%; left: 10px;"]))) : styled.css(_templateObject11$3$1 || (_templateObject11$3$1 = _taggedTemplateLiteralLoose$1$1(["bottom: 100%; left: 50%; transform: translateX(-50%);"])));
|
|
8974
|
+
}
|
|
8975
|
+
});
|
|
8976
|
+
var TooltipWrapper$1$1$1 = styled__default.div(_templateObject12$2$1 || (_templateObject12$2$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n position: relative;\n align-items: center;\n cursor: pointer;\n\n &:hover ", " {\n visibility: visible;\n opacity: 1;\n }\n"])), TooltipContainer$1$1);
|
|
8977
|
+
var _templateObject$5$1$1;
|
|
8978
|
+
var BreadCrum$1$1 = styled__default.span(_templateObject$5$1$1 || (_templateObject$5$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) {
|
|
8979
|
+
var $color = _ref.$color,
|
|
8980
|
+
theme = _ref.theme;
|
|
8981
|
+
return $color ? $color : theme.text.medium;
|
|
8982
|
+
}, function (_ref2) {
|
|
8983
|
+
var $disabled = _ref2.$disabled;
|
|
8984
|
+
return $disabled ? '0.6' : '1';
|
|
8985
|
+
}, function (_ref3) {
|
|
8986
|
+
var $hover = _ref3.$hover,
|
|
8987
|
+
$disabled = _ref3.$disabled;
|
|
8988
|
+
return $hover && !$disabled && 'underline';
|
|
8989
|
+
}, function (_ref4) {
|
|
8990
|
+
var $hover = _ref4.$hover,
|
|
8991
|
+
$disabled = _ref4.$disabled;
|
|
8992
|
+
return $hover && !$disabled ? 'pointer' : 'default';
|
|
8993
|
+
}, function (_ref5) {
|
|
8994
|
+
var $hover = _ref5.$hover,
|
|
8995
|
+
$disabled = _ref5.$disabled,
|
|
8996
|
+
theme = _ref5.theme;
|
|
8997
|
+
return $hover && !$disabled && theme["default"].primary;
|
|
8998
|
+
});
|
|
8999
|
+
var _templateObject$6$1$1;
|
|
9000
|
+
var fontFaces$1$1 = styled.css(_templateObject$6$1$1 || (_templateObject$6$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"])));
|
|
9001
|
+
var GlobalFonts$1$1 = {
|
|
9002
|
+
bold: 'NotoSans, sans-serif',
|
|
9003
|
+
regular: 'NotoSans, sans-serif',
|
|
9004
|
+
light: 'NotoSans, sans-serif'
|
|
9005
|
+
};
|
|
9006
|
+
var _templateObject$7$1$1, _templateObject2$5$1$1, _templateObject3$2$1$1, _templateObject4$1$1$1, _templateObject5$1$1$1, _templateObject6$1$1$1;
|
|
9007
|
+
var spin$3$1 = styled.keyframes(_templateObject$7$1$1 || (_templateObject$7$1$1 = _taggedTemplateLiteralLoose$1$1(["\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
9008
|
+
var Spinner$2$1 = styled__default.div(_templateObject2$5$1$1 || (_templateObject2$5$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) {
|
|
9009
|
+
var $size = _ref.$size;
|
|
9010
|
+
return $size;
|
|
9011
|
+
}, function (_ref2) {
|
|
9012
|
+
var $size = _ref2.$size;
|
|
9013
|
+
return $size;
|
|
9014
|
+
}, function (_ref3) {
|
|
9015
|
+
var $size = _ref3.$size;
|
|
9016
|
+
return $size / 4;
|
|
9017
|
+
}, function (_ref4) {
|
|
9018
|
+
var $color = _ref4.$color;
|
|
9019
|
+
return $color;
|
|
9020
|
+
}, spin$3$1);
|
|
9021
|
+
var LoaderWrapper$1$1 = styled__default.div(_templateObject3$2$1$1 || (_templateObject3$2$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) {
|
|
9022
|
+
var $loaderPosition = _ref5.$loaderPosition;
|
|
9023
|
+
return $loaderPosition === 'right' ? '4px' : '0';
|
|
9024
|
+
}, function (_ref6) {
|
|
9025
|
+
var $loaderPosition = _ref6.$loaderPosition;
|
|
9026
|
+
return $loaderPosition === 'left' ? '4px' : '0';
|
|
9027
|
+
});
|
|
9028
|
+
var Container$1$1$1 = styled__default.div(_templateObject4$1$1$1 || (_templateObject4$1$1$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n flex-direction: ", ";\n gap: ", ";\n svg {\n cursor: ", ";\n }\n"])), function (_ref7) {
|
|
9029
|
+
var $iconPosition = _ref7.$iconPosition;
|
|
9030
|
+
return $iconPosition === 'right' ? 'row-reverse' : 'row';
|
|
9031
|
+
}, function (_ref8) {
|
|
9032
|
+
var gap = _ref8.gap;
|
|
9033
|
+
return gap || '4px';
|
|
9034
|
+
}, function (_ref9) {
|
|
9035
|
+
var cursor = _ref9.cursor;
|
|
9036
|
+
return cursor;
|
|
9037
|
+
});
|
|
9038
|
+
var StyledButton$1$1 = styled__default.button(_templateObject5$1$1$1 || (_templateObject5$1$1$1 = _taggedTemplateLiteralLoose$1$1(["\n pointer-events: ", ";\n cursor: ", ";\n height: max-content;\n min-height: max-content;\n width: ", ";\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) {
|
|
9039
|
+
var $disabled = _ref10.$disabled;
|
|
9040
|
+
return $disabled ? 'none' : 'auto';
|
|
9041
|
+
}, function (_ref11) {
|
|
9042
|
+
var $disabled = _ref11.$disabled;
|
|
9043
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
9044
|
+
}, function (_ref12) {
|
|
9045
|
+
var $buttonWidth = _ref12.$buttonWidth;
|
|
9046
|
+
return $buttonWidth;
|
|
9047
|
+
}, function (_ref13) {
|
|
9048
|
+
var $borderRadius = _ref13.$borderRadius;
|
|
9049
|
+
return $borderRadius || '8px';
|
|
9050
|
+
}, function (_ref14) {
|
|
9051
|
+
var $size = _ref14.$size,
|
|
9052
|
+
$padding = _ref14.$padding;
|
|
9053
|
+
return $size === 'small' ? '8px 12.2px' : $size === 'medium' ? '10px 19px' : $size === 'large' ? '12px 24.5px' : $size === 'custom' ? $padding : '10px 16px';
|
|
9054
|
+
}, function (_ref15) {
|
|
9055
|
+
var _$borderHover$match;
|
|
9056
|
+
var $variant = _ref15.$variant,
|
|
9057
|
+
$disabled = _ref15.$disabled,
|
|
9058
|
+
$borderHover = _ref15.$borderHover,
|
|
9059
|
+
$borderDefault = _ref15.$borderDefault,
|
|
9060
|
+
$background = _ref15.$background,
|
|
9061
|
+
$color = _ref15.$color,
|
|
9062
|
+
$colorHover = _ref15.$colorHover,
|
|
9063
|
+
theme = _ref15.theme;
|
|
9064
|
+
switch ($variant) {
|
|
9065
|
+
case 'primary':
|
|
9066
|
+
return "\n background: " + ($disabled ? theme.disabled.primary : theme["default"].primary) + ";\n color: " + theme.text.white + ";\n border: " + ($disabled ? "1px solid " + theme.disabled.primary : "1px solid " + theme["default"].primary) + ";\n &:hover {\n background: " + theme.hover.primary + ";\n border: 1px solid " + theme.hover.primary + ";\n }\n ";
|
|
9067
|
+
case 'secondary':
|
|
9068
|
+
return "\n background: " + ($disabled ? theme.disabled.secondary : theme["default"].secondary) + "; \n color: " + theme.text.white + ";\n border: " + ($disabled ? "1px solid " + theme.disabled.secondary : "1px solid " + theme["default"].secondary) + ";\n &:hover{\n background: " + theme.hover.secondary + ";\n border: 1px solid " + theme.hover.secondary + ";\n }\n ";
|
|
9069
|
+
case 'tertiary':
|
|
9070
|
+
return "\n background: " + theme["default"].tertiary + ";\n color: " + ($disabled ? theme.disabled.primary : theme["default"].primary) + ";\n border: " + ($borderDefault ? "" + $borderDefault : "1px solid " + theme["default"].tertiary) + ";\n &:hover {\n color: " + (!$disabled && $borderHover ? (_$borderHover$match = $borderHover.match(/#\w+/)) === null || _$borderHover$match === void 0 ? void 0 : _$borderHover$match[0] : theme.hover.primary) + ";\n border: " + ($borderHover ? $borderHover : "1px solid " + theme.hover.primary) + ";\n }\n ";
|
|
9071
|
+
case 'error':
|
|
9072
|
+
return "\n background: " + ($disabled ? theme.disabled.error : theme["default"].error) + "; \n color: " + theme.text.white + ";\n border: " + ($disabled ? "1px solid " + theme.disabled.error : "1px solid " + theme["default"].error) + ";\n &:hover{\n background: " + theme.hover.error + ";\n border: 1px solid " + theme.hover.error + ";\n }\n ";
|
|
9073
|
+
case 'outline-primary':
|
|
9074
|
+
return "\n background: " + theme["default"].tertiary + ";\n color: " + ($disabled ? theme.disabled.primary : theme["default"].primary) + ";\n border: " + ($disabled ? "1px solid " + theme.disabled.primary : "1px solid " + theme["default"].primary) + ";\n &:hover{\n border: 1px solid " + theme.hover.primary + ";\n color: " + theme.text.white + ";\n background: " + theme.hover.primary + ";\n }\n ";
|
|
9075
|
+
case 'outline-secondary':
|
|
9076
|
+
return "\n background: " + theme["default"].tertiary + ";\n color: " + ($disabled ? theme.disabled.secondary : theme["default"].secondary) + ";\n border: " + ($disabled ? "1px solid " + theme.disabled.secondary : "1px solid " + theme["default"].secondary) + ";\n &:hover{\n border: 1px solid " + theme.hover.secondary + ";\n color: " + theme.text.white + ";\n background: " + theme.hover.secondary + ";\n }\n ";
|
|
9077
|
+
case 'outline-error':
|
|
9078
|
+
return "\n background: " + theme["default"].tertiary + ";\n color: " + ($disabled ? theme.disabled.error : theme["default"].error) + ";\n border: " + ($disabled ? "1px solid " + theme.disabled.error : "1px solid " + theme["default"].error) + ";\n &:hover{\n border: 1px solid " + theme.hover.error + ";\n color: " + theme.text.white + ";\n background: " + theme.hover.error + ";\n }\n ";
|
|
9079
|
+
case 'custom':
|
|
9080
|
+
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 ";
|
|
9081
|
+
default:
|
|
9082
|
+
return '';
|
|
9083
|
+
}
|
|
9084
|
+
}, function (_ref16) {
|
|
9085
|
+
var color = _ref16.color;
|
|
9086
|
+
return color;
|
|
9087
|
+
});
|
|
9088
|
+
var ButtonText$1$1 = styled__default.span(_templateObject6$1$1$1 || (_templateObject6$1$1$1 = _taggedTemplateLiteralLoose$1$1(["\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n white-space: nowrap;\n"])), function (_ref17) {
|
|
9089
|
+
var $fontFamily = _ref17.$fontFamily;
|
|
9090
|
+
return $fontFamily ? $fontFamily : GlobalFonts$1$1.bold;
|
|
9091
|
+
}, function (_ref18) {
|
|
9092
|
+
var $size = _ref18.$size,
|
|
9093
|
+
$fontSize = _ref18.$fontSize;
|
|
9094
|
+
return $size === 'small' ? '14px' : $size === 'medium' ? '16px' : $size === 'large' ? '18px' : $size === 'custom' ? $fontSize : '16px';
|
|
9095
|
+
}, function (_ref19) {
|
|
9096
|
+
var $fontWeight = _ref19.$fontWeight,
|
|
9097
|
+
$size = _ref19.$size;
|
|
9098
|
+
return $size === 'custom' && $fontWeight || '500';
|
|
9099
|
+
}, function (_ref20) {
|
|
9100
|
+
var $size = _ref20.$size,
|
|
9101
|
+
$fontSize = _ref20.$fontSize;
|
|
9102
|
+
return $size === 'small' ? '14px' : $size === 'medium' ? '16px' : $size === 'large' ? '18px' : $size === 'custom' ? $fontSize : '16px';
|
|
9103
|
+
});
|
|
9104
|
+
var _templateObject$8$1$1;
|
|
9105
|
+
var InnerContent$1$1 = styled__default.div(_templateObject$8$1$1 || (_templateObject$8$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) {
|
|
9106
|
+
var $isScrollable = _ref.$isScrollable;
|
|
9107
|
+
return $isScrollable ? '0 12px' : '0';
|
|
9108
|
+
});
|
|
9109
|
+
var _templateObject$9$1$1, _templateObject2$6$1$1, _templateObject3$3$1$1, _templateObject4$2$1$1, _templateObject5$2$1$1, _templateObject6$2$1$1, _templateObject7$1$1$1, _templateObject8$1$1$1, _templateObject9$1$1$1, _templateObject10$1$1$1, _templateObject11$1$1$1, _templateObject12$1$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;
|
|
9110
|
+
var DatePickerContainer$1$1 = styled__default.div(_templateObject$9$1$1 || (_templateObject$9$1$1 = _taggedTemplateLiteralLoose$1$1(["\n width: 100%;\n display: flex;\n flex-direction: column;\n position: relative;\n"])));
|
|
9111
|
+
var CalendarContainer$1$1 = styled__default.div(_templateObject2$6$1$1 || (_templateObject2$6$1$1 = _taggedTemplateLiteralLoose$1$1(["\n overflow: auto;\n display: flex;\n flex-direction: row;\n background: ", ";\n position: absolute;\n border: ", ";\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"])), function (_ref) {
|
|
9112
|
+
var theme = _ref.theme;
|
|
9113
|
+
return theme.accent.light_2;
|
|
9114
|
+
}, function (_ref2) {
|
|
9115
|
+
var theme = _ref2.theme;
|
|
9116
|
+
return "1px solid " + theme.border.medium;
|
|
9117
|
+
});
|
|
9118
|
+
var Calendar$1$1$1 = styled__default.div(_templateObject3$3$1$1 || (_templateObject3$3$1$1 = _taggedTemplateLiteralLoose$1$1([""])));
|
|
9119
|
+
var CalendarTime$1$1 = styled__default.div(_templateObject4$2$1$1 || (_templateObject4$2$1$1 = _taggedTemplateLiteralLoose$1$1(["\n border: ", ";\n border-radius: 4px;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n padding: 8px;\n"])), function (_ref3) {
|
|
9120
|
+
var theme = _ref3.theme;
|
|
9121
|
+
return "1px solid " + theme.border.medium;
|
|
9122
|
+
});
|
|
9123
|
+
var StartDate$1$1 = styled__default.div(_templateObject5$2$1$1 || (_templateObject5$2$1$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n flex-direction: column;\n gap: 16px;\n padding-bottom: 4px;\n"])));
|
|
9124
|
+
var SelectedStart$1$1 = styled__default.div(_templateObject6$2$1$1 || (_templateObject6$2$1$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n gap: 4px;\n color: ", ";\n"])), function (_ref4) {
|
|
9125
|
+
var theme = _ref4.theme;
|
|
9126
|
+
return theme.text.medium;
|
|
9127
|
+
});
|
|
9128
|
+
var CurrentDate$1$1 = styled__default.p(_templateObject7$1$1$1 || (_templateObject7$1$1$1 = _taggedTemplateLiteralLoose$1$1(["\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n font-size: 12px;\n"])));
|
|
9129
|
+
var CurrentTime$1$1 = styled__default.div(_templateObject8$1$1$1 || (_templateObject8$1$1$1 = _taggedTemplateLiteralLoose$1$1(["\n font-family: NotoSans, sans-serif;\n font-weight: 500;\n font-size: 14px;\n color: ", ";\n"])), function (_ref5) {
|
|
9130
|
+
var theme = _ref5.theme;
|
|
9131
|
+
return theme.text.medium;
|
|
9132
|
+
});
|
|
9133
|
+
var Selectedtime$1$1 = styled__default.div(_templateObject9$1$1$1 || (_templateObject9$1$1$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n color: ", ";\n gap: 8px;\n"])), function (_ref6) {
|
|
9134
|
+
var theme = _ref6.theme;
|
|
9135
|
+
return theme.text.medium;
|
|
9136
|
+
});
|
|
9137
|
+
var Line$1$1 = styled__default.div(_templateObject10$1$1$1 || (_templateObject10$1$1$1 = _taggedTemplateLiteralLoose$1$1(["\n width: 100%;\n padding-top: 10px;\n padding-bottom: 10px;\n"])));
|
|
9138
|
+
var Zones$1$1 = styled__default.div(_templateObject11$1$1$1 || (_templateObject11$1$1$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n justify-content: space-between;\n"])));
|
|
9139
|
+
var CalendarHeader$1$1 = styled__default.div(_templateObject12$1$1$1 || (_templateObject12$1$1$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 10px;\n"])));
|
|
9140
|
+
var CalendarMonthYear$1$1 = styled__default.span(_templateObject13$1$1 || (_templateObject13$1$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n flex-direction: column;\n color: ", ";\n justify-content: center;\n align-items: center;\n"])), function (_ref7) {
|
|
9141
|
+
var theme = _ref7.theme;
|
|
9142
|
+
return theme.text.medium;
|
|
9143
|
+
});
|
|
9144
|
+
var CalendarContent$1$1 = styled__default.div(_templateObject14$1$1 || (_templateObject14$1$1 = _taggedTemplateLiteralLoose$1$1(["\n display: grid;\n grid-template-columns: repeat(7, 1fr);\n gap: 5px;\n padding: 10px;\n"])));
|
|
9145
|
+
var Button$1$1 = styled__default.div(_templateObject15$1$1 || (_templateObject15$1$1 = _taggedTemplateLiteralLoose$1$1(["\n background: ", ";\n color: ", ";\n border: none;\n border-radius: 5px;\n padding: 5px 10px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n height: ", ";\n\n svg {\n cursor: pointer;\n }\n"])), function (_ref8) {
|
|
9146
|
+
var theme = _ref8.theme;
|
|
9147
|
+
return theme["default"].secondary;
|
|
9148
|
+
}, function (_ref9) {
|
|
9149
|
+
var theme = _ref9.theme;
|
|
9150
|
+
return theme.text.white;
|
|
9151
|
+
}, function (_ref10) {
|
|
9152
|
+
var $size = _ref10.$size;
|
|
9153
|
+
return $size ? $size + "px" : '30px';
|
|
9154
|
+
}, function (_ref11) {
|
|
9155
|
+
var $size = _ref11.$size;
|
|
9156
|
+
return $size ? $size + "px" : '30px';
|
|
9157
|
+
});
|
|
9158
|
+
var CalendarDates$1$1 = styled__default.div(_templateObject16$1$1 || (_templateObject16$1$1 = _taggedTemplateLiteralLoose$1$1(["\n width: ", ";\n height: ", ";\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n cursor: ", "; \n font-size: 12px;\n opacity: ", "; \n\n background-color: ", ";\n\n color: ", ";\n\n &:hover {\n background-color: ", ";\n }\n"])), function (_ref12) {
|
|
9159
|
+
var $size = _ref12.$size;
|
|
9160
|
+
return $size ? $size + "px" : '30px';
|
|
9161
|
+
}, function (_ref13) {
|
|
9162
|
+
var $size = _ref13.$size;
|
|
9163
|
+
return $size ? $size + "px" : '30px';
|
|
9164
|
+
}, function (_ref14) {
|
|
9165
|
+
var $isFuture = _ref14.$isFuture,
|
|
9166
|
+
$futureDateTime = _ref14.$futureDateTime;
|
|
9167
|
+
return !$futureDateTime && $isFuture ? 'default' : 'pointer';
|
|
9168
|
+
}, function (_ref15) {
|
|
9169
|
+
var $isFuture = _ref15.$isFuture,
|
|
9170
|
+
$futureDateTime = _ref15.$futureDateTime;
|
|
9171
|
+
return !$futureDateTime && $isFuture ? 0.5 : 1;
|
|
9172
|
+
}, function (_ref16) {
|
|
9173
|
+
var $selected = _ref16.$selected,
|
|
9174
|
+
$inRange = _ref16.$inRange,
|
|
9175
|
+
theme = _ref16.theme;
|
|
9176
|
+
return $selected ? theme["default"].primary : $inRange ? theme["default"].primary : theme["default"].tertiary;
|
|
9177
|
+
}, function (_ref17) {
|
|
9178
|
+
var $selected = _ref17.$selected,
|
|
9179
|
+
$inRange = _ref17.$inRange,
|
|
9180
|
+
theme = _ref17.theme;
|
|
9181
|
+
return $selected ? theme.text.white : $inRange ? theme.text.white : theme.text.medium;
|
|
9182
|
+
}, function (_ref18) {
|
|
9183
|
+
var $selected = _ref18.$selected,
|
|
9184
|
+
$inRange = _ref18.$inRange,
|
|
9185
|
+
$isFuture = _ref18.$isFuture,
|
|
9186
|
+
$futureDateTime = _ref18.$futureDateTime,
|
|
9187
|
+
theme = _ref18.theme;
|
|
9188
|
+
return !$futureDateTime && $isFuture ? 'transparent' : $selected ? theme.disabled.primary : $inRange ? theme.disabled.primary : theme.disabled.primary;
|
|
9189
|
+
});
|
|
9190
|
+
var Year$1$1 = styled__default.div(_templateObject17$1$1 || (_templateObject17$1$1 = _taggedTemplateLiteralLoose$1$1(["\n font-family: NotoSans, sans-serif;\n font-weight: 500;\n font-size: 12px;\n"])));
|
|
9191
|
+
var Month$1$1 = styled__default.div(_templateObject18$1$1 || (_templateObject18$1$1 = _taggedTemplateLiteralLoose$1$1(["\n font-family: NotoSans, sans-serif;\n font-weight: 600;\n font-size: 14px;\n"])));
|
|
9192
|
+
var InputWrapper$2$1 = styled__default.div(_templateObject19$1$1 || (_templateObject19$1$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n gap: 24px;\n"])));
|
|
9193
|
+
var TimeInputWrapper$1$1 = styled__default.div(_templateObject20$1$1 || (_templateObject20$1$1 = _taggedTemplateLiteralLoose$1$1(["\n position: relative;\n display: flex;\n align-items: center;\n"])));
|
|
9194
|
+
var StyledInput$1$1 = styled__default.input(_templateObject21$1$1 || (_templateObject21$1$1 = _taggedTemplateLiteralLoose$1$1(["\n outline: none;\n width: 60px;\n height: 30px;\n text-align: center;\n font-size: 16px;\n border-radius: 5px;\n background: ", ";\n border: ", ";\n color: ", ";\n"])), function (_ref19) {
|
|
9195
|
+
var theme = _ref19.theme;
|
|
9196
|
+
return theme.text.white;
|
|
9197
|
+
}, function (_ref20) {
|
|
9198
|
+
var theme = _ref20.theme;
|
|
9199
|
+
return "1px solid " + theme.border.extraBold;
|
|
9200
|
+
}, function (_ref21) {
|
|
9201
|
+
var theme = _ref21.theme;
|
|
9202
|
+
return theme.text.dark;
|
|
9203
|
+
});
|
|
9204
|
+
var _templateObject$a$1$1, _templateObject2$7$1$1, _templateObject3$4$1$1, _templateObject4$3$1$1, _templateObject5$3$1$1, _templateObject6$3$1$1;
|
|
9205
|
+
var OptionContainer$2$1 = styled__default.div(_templateObject$a$1$1 || (_templateObject$a$1$1 = _taggedTemplateLiteralLoose$1$1([""])));
|
|
9206
|
+
var OptionItem$2$1 = styled__default.div(_templateObject2$7$1$1 || (_templateObject2$7$1$1 = _taggedTemplateLiteralLoose$1$1(["\n border-bottom: ", ";\n"])), function (_ref) {
|
|
9207
|
+
var $optionBorder = _ref.$optionBorder,
|
|
9208
|
+
$isborder = _ref.$isborder,
|
|
9209
|
+
theme = _ref.theme;
|
|
9210
|
+
return $isborder ? $optionBorder || "1px solid " + theme.border.extraLight : '';
|
|
9211
|
+
});
|
|
9212
|
+
var OptionLabel$2$1 = styled__default.label(_templateObject3$4$1$1 || (_templateObject3$4$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) {
|
|
9213
|
+
var $optionColor = _ref2.$optionColor,
|
|
9214
|
+
theme = _ref2.theme;
|
|
9215
|
+
switch ($optionColor) {
|
|
9216
|
+
case 'dark':
|
|
9217
|
+
return theme.text.dark;
|
|
9218
|
+
case 'medium':
|
|
9219
|
+
return theme.text.medium;
|
|
9220
|
+
case 'light':
|
|
9221
|
+
return theme.text.light;
|
|
9222
|
+
case 'white':
|
|
9223
|
+
return theme.text.white;
|
|
9224
|
+
case 'warning':
|
|
9225
|
+
return theme["default"].warning;
|
|
9226
|
+
case 'info':
|
|
9227
|
+
return theme["default"].info;
|
|
9228
|
+
case 'success':
|
|
9229
|
+
return theme["default"].success;
|
|
9230
|
+
case 'error':
|
|
9231
|
+
return theme["default"].error;
|
|
9232
|
+
default:
|
|
9233
|
+
return $optionColor || theme.text.medium;
|
|
9234
|
+
}
|
|
9235
|
+
});
|
|
9236
|
+
var SearchContainer$4$1 = styled__default.div(_templateObject4$3$1$1 || (_templateObject4$3$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) {
|
|
9237
|
+
var $background = _ref3.$background,
|
|
9238
|
+
theme = _ref3.theme;
|
|
9239
|
+
switch ($background) {
|
|
9240
|
+
case 'dark':
|
|
9241
|
+
return theme.text.dark;
|
|
9242
|
+
case 'medium':
|
|
9243
|
+
return theme.text.medium;
|
|
9244
|
+
case 'light':
|
|
9245
|
+
return theme.text.light;
|
|
9246
|
+
case 'white':
|
|
9247
|
+
return theme.text.white;
|
|
9248
|
+
case 'warning':
|
|
9249
|
+
return theme["default"].warning;
|
|
9250
|
+
case 'info':
|
|
9251
|
+
return theme["default"].info;
|
|
9252
|
+
case 'success':
|
|
9253
|
+
return theme["default"].success;
|
|
9254
|
+
case 'error':
|
|
9255
|
+
return theme["default"].error;
|
|
9256
|
+
default:
|
|
9257
|
+
return $background;
|
|
9258
|
+
}
|
|
9259
|
+
}, function (_ref4) {
|
|
9260
|
+
var $borderBottom = _ref4.$borderBottom;
|
|
9261
|
+
return $borderBottom || 'none';
|
|
9262
|
+
}, function (_ref5) {
|
|
9263
|
+
var $borderRadius = _ref5.$borderRadius;
|
|
9264
|
+
return $borderRadius || '8px';
|
|
9265
|
+
});
|
|
9266
|
+
var SearchBar$4$1 = styled__default.input(_templateObject5$3$1$1 || (_templateObject5$3$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"])), function (_ref6) {
|
|
9267
|
+
var theme = _ref6.theme;
|
|
9268
|
+
return theme["default"].tertiary;
|
|
9269
|
+
}, function (_ref7) {
|
|
9270
|
+
var $inputColor = _ref7.$inputColor,
|
|
9271
|
+
theme = _ref7.theme;
|
|
9272
|
+
switch ($inputColor) {
|
|
9273
|
+
case 'dark':
|
|
9274
|
+
return theme.text.dark;
|
|
9275
|
+
case 'medium':
|
|
9276
|
+
return theme.text.medium;
|
|
9277
|
+
case 'light':
|
|
9278
|
+
return theme.text.light;
|
|
9279
|
+
case 'white':
|
|
9280
|
+
return theme.text.white;
|
|
9281
|
+
case 'warning':
|
|
9282
|
+
return theme["default"].warning;
|
|
9283
|
+
case 'info':
|
|
9284
|
+
return theme["default"].info;
|
|
9285
|
+
case 'success':
|
|
9286
|
+
return theme["default"].success;
|
|
9287
|
+
case 'error':
|
|
9288
|
+
return theme["default"].error;
|
|
9289
|
+
default:
|
|
9290
|
+
return $inputColor;
|
|
9291
|
+
}
|
|
9292
|
+
}, function (_ref8) {
|
|
9293
|
+
var $placeholderColor = _ref8.$placeholderColor,
|
|
9294
|
+
theme = _ref8.theme;
|
|
9295
|
+
switch ($placeholderColor) {
|
|
9296
|
+
case 'dark':
|
|
9297
|
+
return theme.text.dark;
|
|
9298
|
+
case 'medium':
|
|
9299
|
+
return theme.text.medium;
|
|
9300
|
+
case 'light':
|
|
9301
|
+
return theme.text.light;
|
|
9302
|
+
case 'white':
|
|
9303
|
+
return theme.text.white;
|
|
9304
|
+
case 'warning':
|
|
9305
|
+
return theme["default"].warning;
|
|
9306
|
+
case 'info':
|
|
9307
|
+
return theme["default"].info;
|
|
9308
|
+
case 'success':
|
|
9309
|
+
return theme["default"].success;
|
|
9310
|
+
case 'error':
|
|
9311
|
+
return theme["default"].error;
|
|
9312
|
+
default:
|
|
9313
|
+
return $placeholderColor;
|
|
9314
|
+
}
|
|
9315
|
+
});
|
|
9316
|
+
var Text$1$1 = styled__default.span(_templateObject6$3$1$1 || (_templateObject6$3$1$1 = _taggedTemplateLiteralLoose$1$1(["\n word-break: break-word;\n"])));
|
|
9317
|
+
var _templateObject$b$1$1, _templateObject2$8$1$1, _templateObject3$5$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, _templateObject11$2$1$1;
|
|
9318
|
+
var DropdownContainer$2$1 = styled__default.div(_templateObject$b$1$1 || (_templateObject$b$1$1 = _taggedTemplateLiteralLoose$1$1(["\n width: ", ";\n height: ", ";\n max-width: 100%;\n position: relative;\n max-height: ", ";\n"])), function (_ref) {
|
|
9319
|
+
var $width = _ref.$width;
|
|
9320
|
+
return $width || '100%';
|
|
9321
|
+
}, function (_ref2) {
|
|
9322
|
+
var $height = _ref2.$height;
|
|
9323
|
+
return $height || '100%';
|
|
9324
|
+
}, function (_ref3) {
|
|
9325
|
+
var $replaceLabel = _ref3.$replaceLabel;
|
|
9326
|
+
return $replaceLabel ? 'calc(100% - 22px)' : '';
|
|
9327
|
+
});
|
|
9328
|
+
var DropdownButton$2$1 = styled__default.div(_templateObject2$8$1$1 || (_templateObject2$8$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) {
|
|
9329
|
+
var $replaceLabel = _ref4.$replaceLabel;
|
|
9330
|
+
return $replaceLabel ? 'auto' : '';
|
|
9331
|
+
}, function (_ref5) {
|
|
9332
|
+
var $size = _ref5.$size;
|
|
9333
|
+
switch ($size) {
|
|
9334
|
+
case 'small':
|
|
9335
|
+
return '9px 12px';
|
|
9336
|
+
case 'large':
|
|
9337
|
+
return '24px 12px';
|
|
9338
|
+
default:
|
|
9339
|
+
return '14px 12px';
|
|
9340
|
+
}
|
|
9341
|
+
}, function (_ref6) {
|
|
9342
|
+
var $width = _ref6.$width;
|
|
9343
|
+
return $width ? $width : '100%';
|
|
9344
|
+
}, function (_ref7) {
|
|
9345
|
+
var $height = _ref7.$height;
|
|
9346
|
+
return $height || '100%';
|
|
9347
|
+
}, function (_ref8) {
|
|
9348
|
+
var $border = _ref8.$border,
|
|
9349
|
+
$isOpen = _ref8.$isOpen,
|
|
9350
|
+
theme = _ref8.theme;
|
|
9351
|
+
return $isOpen ? "1px solid " + theme.text.dark : $border || "1px solid " + theme.border.light;
|
|
9352
|
+
}, function (_ref9) {
|
|
9353
|
+
var $borderRadius = _ref9.$borderRadius;
|
|
9354
|
+
return $borderRadius || '8px';
|
|
9355
|
+
}, function (_ref10) {
|
|
9356
|
+
var $disabled = _ref10.$disabled;
|
|
9357
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
9358
|
+
}, function (_ref11) {
|
|
9359
|
+
var $background = _ref11.$background,
|
|
9360
|
+
$disabled = _ref11.$disabled,
|
|
9361
|
+
theme = _ref11.theme;
|
|
9362
|
+
switch ($background) {
|
|
9363
|
+
case 'dark':
|
|
9364
|
+
return $disabled ? theme.disabled.secondary : theme.text.dark;
|
|
9365
|
+
case 'medium':
|
|
9366
|
+
return $disabled ? theme.disabled.secondary : theme.text.medium;
|
|
9367
|
+
case 'light':
|
|
9368
|
+
return $disabled ? theme.disabled.secondary : theme.text.light;
|
|
9369
|
+
case 'white':
|
|
9370
|
+
return $disabled ? theme.disabled.secondary : theme.text.white;
|
|
9371
|
+
case 'warning':
|
|
9372
|
+
return $disabled ? theme.disabled.secondary : theme["default"].warning;
|
|
9373
|
+
case 'info':
|
|
9374
|
+
return $disabled ? theme.disabled.secondary : theme["default"].info;
|
|
9375
|
+
case 'success':
|
|
9376
|
+
return $disabled ? theme.disabled.secondary : theme["default"].success;
|
|
9377
|
+
case 'error':
|
|
9378
|
+
return $disabled ? theme.disabled.secondary : theme["default"].error;
|
|
9379
|
+
default:
|
|
9380
|
+
return $disabled ? theme.disabled.secondary : $background;
|
|
9381
|
+
}
|
|
9382
|
+
}, function (_ref12) {
|
|
9383
|
+
var $color = _ref12.$color,
|
|
9384
|
+
theme = _ref12.theme;
|
|
9385
|
+
return $color || theme.text.medium;
|
|
9386
|
+
}, function (_ref13) {
|
|
9387
|
+
var $size = _ref13.$size;
|
|
9388
|
+
switch ($size) {
|
|
9389
|
+
case 'small':
|
|
9390
|
+
return '12px';
|
|
9391
|
+
case 'large':
|
|
9392
|
+
return '16px';
|
|
9393
|
+
default:
|
|
9394
|
+
return '14px';
|
|
9395
|
+
}
|
|
9396
|
+
}, function (_ref14) {
|
|
9397
|
+
var $size = _ref14.$size;
|
|
9398
|
+
switch ($size) {
|
|
9399
|
+
case 'small':
|
|
9400
|
+
return '12px';
|
|
9401
|
+
case 'large':
|
|
9402
|
+
return '16px';
|
|
9403
|
+
default:
|
|
9404
|
+
return '14px';
|
|
9405
|
+
}
|
|
9406
|
+
});
|
|
9407
|
+
var TitleText$2$1 = styled__default.div(_templateObject3$5$1$1 || (_templateObject3$5$1$1 = _taggedTemplateLiteralLoose$1$1(["\n width: max-content;\n position: relative;\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n\n color: ", ";\n"])), function (_ref15) {
|
|
9408
|
+
var $titleWeight = _ref15.$titleWeight;
|
|
9409
|
+
return $titleWeight != null ? $titleWeight : '500';
|
|
9410
|
+
}, function (_ref16) {
|
|
9411
|
+
var $titleSize = _ref16.$titleSize,
|
|
9412
|
+
$size = _ref16.$size;
|
|
9413
|
+
return $titleSize ? $titleSize + "px" : $size === 'small' ? '14px' : $size === 'large' ? '18px' : '16px';
|
|
9414
|
+
}, function (_ref17) {
|
|
9415
|
+
var $titleSize = _ref17.$titleSize,
|
|
9416
|
+
$size = _ref17.$size;
|
|
9417
|
+
return $titleSize ? $titleSize + "px" : $size === 'small' ? '14px' : $size === 'large' ? '18px' : '16px';
|
|
9418
|
+
}, function (_ref18) {
|
|
9419
|
+
var $titleColor = _ref18.$titleColor,
|
|
9420
|
+
theme = _ref18.theme;
|
|
9421
|
+
switch ($titleColor) {
|
|
9422
|
+
case 'dark':
|
|
9423
|
+
return theme.text.dark;
|
|
9424
|
+
case 'medium':
|
|
9425
|
+
return theme.text.medium;
|
|
9426
|
+
case 'light':
|
|
9427
|
+
return theme.text.light;
|
|
9428
|
+
case 'white':
|
|
9429
|
+
return theme.text.white;
|
|
9430
|
+
case 'warning':
|
|
9431
|
+
return theme["default"].warning;
|
|
9432
|
+
case 'info':
|
|
9433
|
+
return theme["default"].info;
|
|
9434
|
+
case 'success':
|
|
9435
|
+
return theme["default"].success;
|
|
9436
|
+
case 'error':
|
|
9437
|
+
return theme["default"].error;
|
|
9438
|
+
default:
|
|
9439
|
+
return $titleColor;
|
|
9440
|
+
}
|
|
9441
|
+
});
|
|
9442
|
+
var Container$2$1$1 = styled__default.div(_templateObject4$4$1$1 || (_templateObject4$4$1$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n"])));
|
|
9443
|
+
var LabelText$2$1 = styled__default.div(_templateObject5$4$1$1 || (_templateObject5$4$1$1 = _taggedTemplateLiteralLoose$1$1(["\n font-size: 14px;\n font-weight: 400;\n font-style:", ";\n color: ", ";\n"])), function (_ref19) {
|
|
9444
|
+
var $labelStyle = _ref19.$labelStyle;
|
|
9445
|
+
return $labelStyle;
|
|
9446
|
+
}, function (_ref20) {
|
|
9447
|
+
var theme = _ref20.theme;
|
|
9448
|
+
return theme.text.medium;
|
|
9449
|
+
});
|
|
9450
|
+
var DropdownMenu$2$1 = styled__default.div(_templateObject6$4$1$1 || (_templateObject6$4$1$1 = _taggedTemplateLiteralLoose$1$1(["\n max-height: 156px;\n padding: 4px;\n box-sizing: border-box;\n border: ", ";\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"])), function (_ref21) {
|
|
9451
|
+
var theme = _ref21.theme;
|
|
9452
|
+
return "1px solid " + theme.border.light;
|
|
9453
|
+
}, function (_ref22) {
|
|
9454
|
+
var $optionsBorderRadius = _ref22.$optionsBorderRadius;
|
|
9455
|
+
return $optionsBorderRadius || '8px';
|
|
9456
|
+
}, function (_ref23) {
|
|
9457
|
+
var $width = _ref23.$width;
|
|
9458
|
+
return $width ? $width : 'max-content';
|
|
9459
|
+
}, function (_ref24) {
|
|
9460
|
+
var $menuBackground = _ref24.$menuBackground,
|
|
9461
|
+
theme = _ref24.theme;
|
|
9462
|
+
return $menuBackground || theme.accent.light_2;
|
|
9463
|
+
});
|
|
9464
|
+
var SelectedOptionsWrapper$2$1 = styled__default.div(_templateObject7$2$1$1 || (_templateObject7$2$1$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n flex-wrap: wrap;\n gap: 6px;\n height: 100%;\n"])));
|
|
9465
|
+
var SelectedOptionDiv$2$1 = styled__default.div(_templateObject8$2$1$1 || (_templateObject8$2$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 (_ref25) {
|
|
9466
|
+
var $selectedOptionBackground = _ref25.$selectedOptionBackground,
|
|
9467
|
+
$disabled = _ref25.$disabled,
|
|
9468
|
+
theme = _ref25.theme;
|
|
9469
|
+
switch ($selectedOptionBackground) {
|
|
9470
|
+
case 'dark':
|
|
9471
|
+
return theme.text.dark;
|
|
9472
|
+
case 'medium':
|
|
9473
|
+
return theme.text.medium;
|
|
9474
|
+
case 'light':
|
|
9475
|
+
return theme.text.light;
|
|
9476
|
+
case 'white':
|
|
9477
|
+
return theme.text.white;
|
|
9478
|
+
case 'warning':
|
|
9479
|
+
return $disabled ? theme.disabled.warning : theme["default"].warning;
|
|
9480
|
+
case 'info':
|
|
9481
|
+
return $disabled ? theme.disabled.info : theme["default"].info;
|
|
9482
|
+
case 'success':
|
|
9483
|
+
return $disabled ? theme.disabled.success : theme["default"].success;
|
|
9484
|
+
case 'error':
|
|
9485
|
+
return $disabled ? theme.disabled.error : theme["default"].error;
|
|
9486
|
+
default:
|
|
9487
|
+
return $selectedOptionBackground || theme.accent.light_2;
|
|
9488
|
+
}
|
|
9489
|
+
}, function (_ref26) {
|
|
9490
|
+
var $selectedOptionColor = _ref26.$selectedOptionColor,
|
|
9491
|
+
theme = _ref26.theme;
|
|
9492
|
+
switch ($selectedOptionColor) {
|
|
9493
|
+
case 'dark':
|
|
9494
|
+
return theme.text.dark;
|
|
9495
|
+
case 'medium':
|
|
9496
|
+
return theme.text.medium;
|
|
9497
|
+
case 'light':
|
|
9498
|
+
return theme.text.light;
|
|
9499
|
+
case 'white':
|
|
9500
|
+
return theme.text.white;
|
|
9501
|
+
case 'warning':
|
|
9502
|
+
return theme["default"].warning;
|
|
9503
|
+
case 'info':
|
|
9504
|
+
return theme["default"].info;
|
|
9505
|
+
case 'success':
|
|
9506
|
+
return theme["default"].success;
|
|
9507
|
+
case 'error':
|
|
9508
|
+
return theme["default"].error;
|
|
9509
|
+
default:
|
|
9510
|
+
return $selectedOptionColor;
|
|
9511
|
+
}
|
|
9512
|
+
});
|
|
9513
|
+
var RemoveIcon$2$1 = styled__default.div(_templateObject9$2$1$1 || (_templateObject9$2$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 (_ref27) {
|
|
9514
|
+
var $disabled = _ref27.$disabled;
|
|
9515
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
9516
|
+
}, function (_ref28) {
|
|
9517
|
+
var removeIconBackground = _ref28.removeIconBackground,
|
|
9518
|
+
$type = _ref28.$type,
|
|
9519
|
+
theme = _ref28.theme;
|
|
9520
|
+
return removeIconBackground ? removeIconBackground : $type === 'remove' ? '#5E5E5E24' : theme.disabled.primary;
|
|
9521
|
+
}, function (_ref29) {
|
|
9522
|
+
var $disabled = _ref29.$disabled;
|
|
9523
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
9524
|
+
});
|
|
9525
|
+
var TextWrapper$1$1 = styled__default.div(_templateObject10$2$1$1 || (_templateObject10$2$1$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n align-items: center;\n gap: 4px;\n"])));
|
|
9526
|
+
var Asterisk$2$1 = styled__default.span(_templateObject11$2$1$1 || (_templateObject11$2$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"])), function (_ref30) {
|
|
9527
|
+
var theme = _ref30.theme;
|
|
9528
|
+
return theme["default"].error;
|
|
9529
|
+
});
|
|
9530
|
+
var _templateObject$c$1$1, _templateObject2$9$1$1, _templateObject3$6$1$1, _templateObject4$5$1$1, _templateObject5$5$1$1, _templateObject6$5$1$1, _templateObject7$3$1$1, _templateObject8$3$1$1, _templateObject9$3$1$1, _templateObject10$3$1$1;
|
|
9531
|
+
var TitleText$1$1$1 = styled__default.label(_templateObject$c$1$1 || (_templateObject$c$1$1 = _taggedTemplateLiteralLoose$1$1(["\n position: relative;\n width: max-content;\n white-space: nowrap;\n font-weight: ", ";\n ", "\n\n color: ", ";\n"])), function (_ref) {
|
|
9532
|
+
var $titleWeight = _ref.$titleWeight;
|
|
9533
|
+
return $titleWeight || 500;
|
|
9534
|
+
}, function (_ref2) {
|
|
9535
|
+
var $size = _ref2.$size;
|
|
9536
|
+
switch ($size) {
|
|
9537
|
+
case 'small':
|
|
9538
|
+
return "\n font-size: 12px;\n line-height: 12px;\n ";
|
|
9539
|
+
case 'medium':
|
|
9540
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
9541
|
+
case 'large':
|
|
9542
|
+
return "\n font-size: 16px;\n line-height: 16px;\n ";
|
|
9543
|
+
default:
|
|
9544
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
9545
|
+
}
|
|
9546
|
+
}, function (_ref3) {
|
|
9547
|
+
var $titlecolor = _ref3.$titlecolor,
|
|
9548
|
+
theme = _ref3.theme;
|
|
9549
|
+
switch ($titlecolor) {
|
|
9550
|
+
case 'dark':
|
|
9551
|
+
return theme.text.dark;
|
|
9552
|
+
case 'medium':
|
|
9553
|
+
return theme.text.medium;
|
|
9554
|
+
case 'light':
|
|
9555
|
+
return theme.text.light;
|
|
9556
|
+
case 'white':
|
|
9557
|
+
return theme.text.white;
|
|
9558
|
+
case 'warning':
|
|
9559
|
+
return theme["default"].warning;
|
|
9560
|
+
case 'info':
|
|
9561
|
+
return theme["default"].info;
|
|
9562
|
+
case 'success':
|
|
9563
|
+
return theme["default"].success;
|
|
9564
|
+
case 'error':
|
|
9565
|
+
return theme["default"].error;
|
|
9566
|
+
default:
|
|
9567
|
+
return $titlecolor;
|
|
9568
|
+
}
|
|
9569
|
+
});
|
|
9570
|
+
var DropdownContainer$1$1$1 = styled__default.div(_templateObject2$9$1$1 || (_templateObject2$9$1$1 = _taggedTemplateLiteralLoose$1$1(["\n width: ", ";\n max-width: 100%;\n position: relative;\n gap: 8px;\n display: flex;\n"])), function (_ref4) {
|
|
9571
|
+
var $width = _ref4.$width;
|
|
9572
|
+
return $width || '100%';
|
|
9573
|
+
});
|
|
9574
|
+
var DropdownButton$1$1$1 = styled__default.div(_templateObject3$6$1$1 || (_templateObject3$6$1$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n cursor: ", ";\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n width: ", ";\n height: ", ";\n border-radius: ", ";\n transition: all 0.3s ease;\n border: ", ";\n gap: 6px;\n padding: ", ";\n background: ", ";\n font-size: ", ";\n line-height: ", ";\n"])), function (_ref5) {
|
|
9575
|
+
var $disabled = _ref5.$disabled;
|
|
9576
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
9577
|
+
}, function (_ref6) {
|
|
9578
|
+
var $width = _ref6.$width;
|
|
9579
|
+
return $width ? $width : '100%';
|
|
9580
|
+
}, function (_ref7) {
|
|
9581
|
+
var $selectHeight = _ref7.$selectHeight;
|
|
9582
|
+
return $selectHeight || 'auto';
|
|
9583
|
+
}, function (_ref8) {
|
|
9584
|
+
var $borderRadius = _ref8.$borderRadius;
|
|
9585
|
+
return $borderRadius || '8px';
|
|
9586
|
+
}, function (_ref9) {
|
|
9587
|
+
var $border = _ref9.$border,
|
|
9588
|
+
$isOpen = _ref9.$isOpen,
|
|
9589
|
+
theme = _ref9.theme;
|
|
9590
|
+
return $isOpen ? "1px solid " + theme.text.dark : $border || "1px solid " + theme.border.light;
|
|
9591
|
+
}, function (_ref10) {
|
|
9592
|
+
var $size = _ref10.$size;
|
|
9593
|
+
switch ($size) {
|
|
9594
|
+
case 'small':
|
|
9595
|
+
return '9px 12px';
|
|
9596
|
+
case 'large':
|
|
9597
|
+
return '24px 12px';
|
|
9598
|
+
default:
|
|
9599
|
+
return '13px 12px';
|
|
9600
|
+
}
|
|
9601
|
+
}, function (_ref11) {
|
|
9602
|
+
var $background = _ref11.$background,
|
|
9603
|
+
$disabled = _ref11.$disabled,
|
|
9604
|
+
theme = _ref11.theme;
|
|
9605
|
+
return $disabled ? theme.border.light : $background || theme.accent.light_2;
|
|
9606
|
+
}, function (_ref12) {
|
|
9607
|
+
var $size = _ref12.$size;
|
|
9608
|
+
switch ($size) {
|
|
9609
|
+
case 'small':
|
|
9610
|
+
return '12px';
|
|
9611
|
+
case 'large':
|
|
9612
|
+
return '16px';
|
|
9613
|
+
default:
|
|
9614
|
+
return '14px';
|
|
9615
|
+
}
|
|
9616
|
+
}, function (_ref13) {
|
|
9617
|
+
var $size = _ref13.$size;
|
|
9618
|
+
switch ($size) {
|
|
9619
|
+
case 'small':
|
|
9620
|
+
return '12px';
|
|
9621
|
+
case 'large':
|
|
9622
|
+
return '16px';
|
|
9623
|
+
default:
|
|
9624
|
+
return '14px';
|
|
9625
|
+
}
|
|
9626
|
+
});
|
|
9627
|
+
var Options$1$1 = styled__default.div(_templateObject4$5$1$1 || (_templateObject4$5$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"])), function (_ref14) {
|
|
9628
|
+
var $optionColor = _ref14.$optionColor,
|
|
9629
|
+
$optionSelected = _ref14.$optionSelected,
|
|
9630
|
+
theme = _ref14.theme;
|
|
9631
|
+
return $optionSelected ? theme.text.white : $optionColor || theme.text.medium;
|
|
9632
|
+
}, function (_ref15) {
|
|
9633
|
+
var $optionFontSize = _ref15.$optionFontSize;
|
|
9634
|
+
return $optionFontSize || '14px';
|
|
9635
|
+
}, function (_ref16) {
|
|
9636
|
+
var $optionFontWeight = _ref16.$optionFontWeight;
|
|
9637
|
+
return $optionFontWeight || 400;
|
|
9638
|
+
}, function (_ref17) {
|
|
9639
|
+
var $optionBackgroundColor = _ref17.$optionBackgroundColor,
|
|
9640
|
+
$optionSelected = _ref17.$optionSelected,
|
|
9641
|
+
theme = _ref17.theme;
|
|
9642
|
+
return $optionSelected ? theme["default"].primary : $optionBackgroundColor || theme["default"].tertiary;
|
|
9643
|
+
}, function (_ref18) {
|
|
9644
|
+
var theme = _ref18.theme;
|
|
9645
|
+
return theme.hover.primary;
|
|
9646
|
+
}, function (_ref19) {
|
|
9647
|
+
var theme = _ref19.theme;
|
|
9648
|
+
return theme.text.white;
|
|
9649
|
+
});
|
|
9650
|
+
var LabelText$1$1$1 = styled__default.div(_templateObject5$5$1$1 || (_templateObject5$5$1$1 = _taggedTemplateLiteralLoose$1$1(["\n font-size: ", ";\n line-height: ", ";\n font-style: ", ";\n color: ", ";\n"])), function (_ref20) {
|
|
9651
|
+
var $size = _ref20.$size;
|
|
9652
|
+
switch ($size) {
|
|
9653
|
+
case 'small':
|
|
9654
|
+
return '14px';
|
|
9655
|
+
case 'large':
|
|
9656
|
+
return '16px';
|
|
9657
|
+
default:
|
|
9658
|
+
return '14px';
|
|
9659
|
+
}
|
|
9660
|
+
}, function (_ref21) {
|
|
9661
|
+
var $size = _ref21.$size;
|
|
9662
|
+
switch ($size) {
|
|
9663
|
+
case 'small':
|
|
9664
|
+
return '12px';
|
|
9665
|
+
case 'large':
|
|
9666
|
+
return '16px';
|
|
9667
|
+
default:
|
|
9668
|
+
return '14px';
|
|
9669
|
+
}
|
|
9670
|
+
}, function (_ref22) {
|
|
9671
|
+
var $fontStyle = _ref22.$fontStyle;
|
|
9672
|
+
return $fontStyle || '';
|
|
9673
|
+
}, function (_ref23) {
|
|
9674
|
+
var $color = _ref23.$color,
|
|
9675
|
+
$disabled = _ref23.$disabled,
|
|
9676
|
+
theme = _ref23.theme;
|
|
9677
|
+
return $disabled ? theme.text.medium : $color || theme.text.medium;
|
|
9678
|
+
});
|
|
9679
|
+
var NoOptions$1$1 = styled__default(Span$1$1)(_templateObject6$5$1$1 || (_templateObject6$5$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"])));
|
|
9680
|
+
var DropdownMenu$1$1$1 = styled__default.div(_templateObject7$3$1$1 || (_templateObject7$3$1$1 = _taggedTemplateLiteralLoose$1$1(["\n height: auto;\n max-height: 170px;\n border: ", ";\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 z-index: 2;\n"])), function (_ref24) {
|
|
9681
|
+
var theme = _ref24.theme;
|
|
9682
|
+
return "1px solid " + theme.border.light;
|
|
9683
|
+
}, function (_ref25) {
|
|
9684
|
+
var $optionsBorderRadius = _ref25.$optionsBorderRadius;
|
|
9685
|
+
return $optionsBorderRadius || '8px';
|
|
9686
|
+
}, function (_ref26) {
|
|
9687
|
+
var $width = _ref26.$width;
|
|
9688
|
+
return $width ? $width : 'max-content';
|
|
9689
|
+
}, function (_ref27) {
|
|
9690
|
+
var $menuBackground = _ref27.$menuBackground,
|
|
9691
|
+
theme = _ref27.theme;
|
|
9692
|
+
return $menuBackground || theme.accent.light_2;
|
|
9693
|
+
}, function (_ref28) {
|
|
9694
|
+
var $top = _ref28.$top;
|
|
9695
|
+
return $top && "top: " + $top + ";";
|
|
9696
|
+
}, function (_ref29) {
|
|
9697
|
+
var $bottom = _ref29.$bottom;
|
|
9698
|
+
return $bottom && "bottom: " + $bottom + ";";
|
|
9699
|
+
});
|
|
9700
|
+
var OptionsWrapper$2$1 = styled__default.div(_templateObject8$3$1$1 || (_templateObject8$3$1$1 = _taggedTemplateLiteralLoose$1$1(["\n max-height: 150px; \n overflow-y: auto;\n scrollbar-width: thin;\n width: 100%;\n"])));
|
|
9701
|
+
var SearchContainer$1$1$1 = styled__default.div(_templateObject9$3$1$1 || (_templateObject9$3$1$1 = _taggedTemplateLiteralLoose$1$1(["\n width: 100%;\n background: ", ";\n border: ", ";\n border-bottom: ", ";\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 (_ref30) {
|
|
9702
|
+
var $background = _ref30.$background,
|
|
9703
|
+
theme = _ref30.theme;
|
|
9704
|
+
return $background || theme.accent.light_2;
|
|
9705
|
+
}, function (_ref31) {
|
|
9706
|
+
var $border = _ref31.$border;
|
|
9707
|
+
return $border || 'none';
|
|
9708
|
+
}, function (_ref32) {
|
|
9709
|
+
var theme = _ref32.theme;
|
|
9710
|
+
return "1px solid " + theme.border.light;
|
|
9711
|
+
}, function (_ref33) {
|
|
9712
|
+
var $borderRadius = _ref33.$borderRadius;
|
|
9713
|
+
return $borderRadius || '8px 8px 0 0';
|
|
9714
|
+
});
|
|
9715
|
+
var SearchBar$1$1$1 = styled__default.input(_templateObject10$3$1$1 || (_templateObject10$3$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 (_ref34) {
|
|
9716
|
+
var $inputColor = _ref34.$inputColor,
|
|
9717
|
+
theme = _ref34.theme;
|
|
9718
|
+
return $inputColor || theme.text.medium;
|
|
9719
|
+
}, function (_ref35) {
|
|
9720
|
+
var $placeholderColor = _ref35.$placeholderColor,
|
|
9721
|
+
theme = _ref35.theme;
|
|
9722
|
+
return $placeholderColor || theme.text.light;
|
|
9723
|
+
});
|
|
9724
|
+
var _templateObject$d$1$1, _templateObject2$a$1$1, _templateObject3$7$1$1;
|
|
9725
|
+
var SelectedOptionsWrapper$1$1$1 = styled__default.div(_templateObject$d$1$1 || (_templateObject$d$1$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n flex-wrap: wrap;\n gap: 6px;\n"])));
|
|
9726
|
+
var SelectedOptionDiv$1$1$1 = styled__default.div(_templateObject2$a$1$1 || (_templateObject2$a$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) {
|
|
9727
|
+
var $selectedOptionBackground = _ref.$selectedOptionBackground,
|
|
9728
|
+
$type = _ref.$type,
|
|
9729
|
+
theme = _ref.theme;
|
|
9730
|
+
return $selectedOptionBackground || $type === 'remove' ? theme.disabled.error : theme.accent.softBlue;
|
|
9731
|
+
}, function (_ref2) {
|
|
9732
|
+
var $selectedOptionColor = _ref2.$selectedOptionColor,
|
|
9733
|
+
$type = _ref2.$type,
|
|
9734
|
+
theme = _ref2.theme;
|
|
9735
|
+
return $selectedOptionColor || $type === 'remove' ? theme["default"].error : theme.brand.primary;
|
|
9736
|
+
});
|
|
9737
|
+
var RemoveIcon$1$1$1 = styled__default.div(_templateObject3$7$1$1 || (_templateObject3$7$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) {
|
|
9738
|
+
var $removeIconBackground = _ref3.$removeIconBackground,
|
|
9739
|
+
$type = _ref3.$type,
|
|
9740
|
+
theme = _ref3.theme;
|
|
9741
|
+
return $removeIconBackground || $type === 'remove' ? '#5E5E5E24' : theme.disabled.primary;
|
|
9742
|
+
});
|
|
9743
|
+
var _templateObject$e$1$1, _templateObject2$b$1$1;
|
|
9744
|
+
var SearchContainer$2$1$1 = styled__default.div(_templateObject$e$1$1 || (_templateObject$e$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 // cursor: ", ";\n transition: all 0.3s ease;\n\n &:focus-within {\n border: ", ";\n }\n"])), function (_ref) {
|
|
9745
|
+
var $background = _ref.$background,
|
|
9746
|
+
theme = _ref.theme;
|
|
9747
|
+
return $background || theme["default"].tertiary;
|
|
9748
|
+
}, function (_ref2) {
|
|
9749
|
+
var $border = _ref2.$border,
|
|
9750
|
+
theme = _ref2.theme;
|
|
9751
|
+
return $border || "1px solid " + theme.border.light;
|
|
9752
|
+
}, function (_ref3) {
|
|
9753
|
+
var $borderRadius = _ref3.$borderRadius;
|
|
9754
|
+
return $borderRadius || '8px';
|
|
9755
|
+
}, function (_ref4) {
|
|
9756
|
+
var $disabled = _ref4.$disabled;
|
|
9757
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
9758
|
+
}, function (_ref5) {
|
|
9759
|
+
var theme = _ref5.theme;
|
|
9760
|
+
return "1px solid " + theme.text.dark;
|
|
9761
|
+
});
|
|
9762
|
+
var SearchBar$2$1$1 = styled__default.input(_templateObject2$b$1$1 || (_templateObject2$b$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 line-height: 100%;\n }\n"])), function (_ref6) {
|
|
9763
|
+
var theme = _ref6.theme;
|
|
9764
|
+
return theme["default"].tertiary;
|
|
9765
|
+
}, function (_ref7) {
|
|
9766
|
+
var $inputColor = _ref7.$inputColor,
|
|
9767
|
+
theme = _ref7.theme;
|
|
9768
|
+
return $inputColor || theme.text.medium;
|
|
9769
|
+
}, function (_ref8) {
|
|
9770
|
+
var $placeholderColor = _ref8.$placeholderColor,
|
|
9771
|
+
theme = _ref8.theme;
|
|
9772
|
+
return $placeholderColor || theme.text.light;
|
|
9773
|
+
});
|
|
9774
|
+
var _templateObject$f$1$1, _templateObject2$c$1$1, _templateObject3$8$1$1, _templateObject4$6$1$1, _templateObject5$6$1$1;
|
|
9775
|
+
var Label$2$1 = styled__default.label(_templateObject$f$1$1 || (_templateObject$f$1$1 = _taggedTemplateLiteralLoose$1$1(["\n cursor: auto;\n width: 100%;\n font-weight: ", ";\n position: relative;\n white-space: nowrap;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref) {
|
|
9776
|
+
var $fontWeight = _ref.$fontWeight;
|
|
9777
|
+
return $fontWeight != null ? $fontWeight : '500';
|
|
9778
|
+
}, function (_ref2) {
|
|
9779
|
+
var $size = _ref2.$size;
|
|
9780
|
+
switch ($size) {
|
|
9781
|
+
case 'small':
|
|
9782
|
+
return "\n font-size: 12px;\n line-height: 12px;\n ";
|
|
9783
|
+
case 'medium':
|
|
9784
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
9785
|
+
case 'large':
|
|
9786
|
+
return "\n font-size: 16px;\n line-height: 16px;\n ";
|
|
9787
|
+
default:
|
|
9788
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
9789
|
+
}
|
|
9790
|
+
}, function (_ref3) {
|
|
9791
|
+
var $titlecolor = _ref3.$titlecolor,
|
|
9792
|
+
theme = _ref3.theme;
|
|
9793
|
+
switch ($titlecolor) {
|
|
9794
|
+
case 'dark':
|
|
9795
|
+
return theme.text.dark;
|
|
9796
|
+
case 'medium':
|
|
9797
|
+
return theme.text.medium;
|
|
9798
|
+
case 'light':
|
|
9799
|
+
return theme.text.light;
|
|
9800
|
+
case 'white':
|
|
9801
|
+
return theme.text.white;
|
|
9802
|
+
case 'warning':
|
|
9803
|
+
return theme["default"].warning;
|
|
9804
|
+
case 'info':
|
|
9805
|
+
return theme["default"].info;
|
|
9806
|
+
case 'success':
|
|
9807
|
+
return theme["default"].success;
|
|
9808
|
+
case 'error':
|
|
9809
|
+
return theme["default"].error;
|
|
9810
|
+
default:
|
|
9811
|
+
return $titlecolor;
|
|
9812
|
+
}
|
|
9813
|
+
});
|
|
9814
|
+
var Input$1$1 = styled__default.input(_templateObject2$c$1$1 || (_templateObject2$c$1$1 = _taggedTemplateLiteralLoose$1$1(["\n width: 100%;\n border: ", ";\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"])), function (_ref4) {
|
|
9815
|
+
var theme = _ref4.theme;
|
|
9816
|
+
return "1px solid " + theme.border.light;
|
|
9817
|
+
}, function (_ref5) {
|
|
9818
|
+
var $disabled = _ref5.$disabled;
|
|
9819
|
+
return $disabled ? 'not-allowed' : 'auto';
|
|
9820
|
+
}, function (_ref6) {
|
|
9821
|
+
var $disabled = _ref6.$disabled,
|
|
9822
|
+
$background = _ref6.$background,
|
|
9823
|
+
theme = _ref6.theme;
|
|
9824
|
+
return $disabled ? theme.disabled.secondary : $background;
|
|
9825
|
+
}, function (_ref7) {
|
|
9826
|
+
var $color = _ref7.$color;
|
|
9827
|
+
return $color;
|
|
9828
|
+
}, function (_ref8) {
|
|
9829
|
+
var $disabled = _ref8.$disabled;
|
|
9830
|
+
return $disabled ? 'none' : 'auto';
|
|
9831
|
+
}, function (_ref9) {
|
|
9832
|
+
var $size = _ref9.$size,
|
|
9833
|
+
$type = _ref9.$type;
|
|
9834
|
+
switch ($size) {
|
|
9835
|
+
case 'small':
|
|
9836
|
+
return "\n font-size: 12px;\n padding: " + ($type === 'password' ? '5px 38px 5px 10px' : '5px 10px') + ";\n ";
|
|
9837
|
+
case 'medium':
|
|
9838
|
+
return "\n font-size: 14px;\n padding: " + ($type === 'password' ? '9.5px 38px 9.5px 12px' : '9.5px 12px') + ";\n ";
|
|
9839
|
+
case 'large':
|
|
9840
|
+
return "\n font-size: 16px;\n padding: " + ($type === 'password' ? '9px 38px 9px 14px' : '9px 14px') + ";\n ";
|
|
9841
|
+
default:
|
|
9842
|
+
return "\n font-size: 14px;\n padding: " + ($type === 'password' ? '7px 38px 7px 12px' : '7px 12px') + ";\n ";
|
|
9843
|
+
}
|
|
9844
|
+
}, function (_ref10) {
|
|
9845
|
+
var $color = _ref10.$color,
|
|
9846
|
+
theme = _ref10.theme;
|
|
9847
|
+
switch ($color) {
|
|
9848
|
+
case 'dark':
|
|
9849
|
+
return theme.text.dark;
|
|
9850
|
+
case 'medium':
|
|
9851
|
+
return theme.text.medium;
|
|
9852
|
+
case 'light':
|
|
9853
|
+
return theme.text.light;
|
|
9854
|
+
case 'white':
|
|
9855
|
+
return theme.text.white;
|
|
9856
|
+
case 'warning':
|
|
9857
|
+
return theme["default"].warning;
|
|
9858
|
+
case 'info':
|
|
9859
|
+
return theme["default"].info;
|
|
9860
|
+
case 'success':
|
|
9861
|
+
return theme["default"].success;
|
|
9862
|
+
case 'error':
|
|
9863
|
+
return theme["default"].error;
|
|
9864
|
+
default:
|
|
9865
|
+
return $color;
|
|
9866
|
+
}
|
|
9867
|
+
}, function (_ref11) {
|
|
9868
|
+
var theme = _ref11.theme;
|
|
9869
|
+
return theme.text.light;
|
|
9870
|
+
});
|
|
9871
|
+
var InputWrapper$1$1$1 = styled__default.div(_templateObject3$8$1$1 || (_templateObject3$8$1$1 = _taggedTemplateLiteralLoose$1$1(["\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n"])));
|
|
9872
|
+
var IconWrapper$1$1$1 = styled__default.div(_templateObject4$6$1$1 || (_templateObject4$6$1$1 = _taggedTemplateLiteralLoose$1$1(["\n position: absolute;\n right: 12px;\n cursor: pointer;\n\n > div {\n cursor: ", ";\n }\n"])), function (_ref12) {
|
|
9873
|
+
var $disabled = _ref12.$disabled;
|
|
9874
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
9875
|
+
});
|
|
9876
|
+
var Asterisk$1$1$1 = styled__default.span(_templateObject5$6$1$1 || (_templateObject5$6$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"])), function (_ref13) {
|
|
9877
|
+
var theme = _ref13.theme;
|
|
9878
|
+
return theme["default"].error;
|
|
9879
|
+
});
|
|
9880
|
+
var _templateObject$g$1$1, _templateObject2$d$1$1, _templateObject3$9$1$1;
|
|
9881
|
+
var Container$3$1$1 = styled__default.div(_templateObject$g$1$1 || (_templateObject$g$1$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n padding: ", ";\n"])), function (_ref) {
|
|
9882
|
+
var $padding = _ref.$padding;
|
|
9883
|
+
return $padding;
|
|
9884
|
+
});
|
|
9885
|
+
var Label$1$1$1 = styled__default.label(_templateObject2$d$1$1 || (_templateObject2$d$1$1 = _taggedTemplateLiteralLoose$1$1(["\n cursor: auto;\n font-weight: ", ";\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref2) {
|
|
9886
|
+
var $fontWeight = _ref2.$fontWeight;
|
|
9887
|
+
return $fontWeight != null ? $fontWeight : '500';
|
|
9888
|
+
}, function (_ref3) {
|
|
9889
|
+
var $size = _ref3.$size;
|
|
9890
|
+
switch ($size) {
|
|
9891
|
+
case 'small':
|
|
9892
|
+
return 'font-size: 12px; line-height: 12px;';
|
|
9893
|
+
case 'medium':
|
|
9894
|
+
return 'font-size: 14px; line-height: 14px;';
|
|
9895
|
+
case 'large':
|
|
9896
|
+
return 'font-size: 16px; line-height: 16px;';
|
|
9897
|
+
default:
|
|
9898
|
+
return 'font-size: 14px; line-height: 14px;';
|
|
9899
|
+
}
|
|
9900
|
+
}, function (_ref4) {
|
|
9901
|
+
var $titlecolor = _ref4.$titlecolor,
|
|
9902
|
+
theme = _ref4.theme;
|
|
9903
|
+
return $titlecolor || theme.text.dark;
|
|
9904
|
+
});
|
|
9905
|
+
var TextAreaComponent$1$1 = styled__default.textarea(_templateObject3$9$1$1 || (_templateObject3$9$1$1 = _taggedTemplateLiteralLoose$1$1(["\n width: 100%;\n border: ", ";\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"])), function (_ref5) {
|
|
9906
|
+
var theme = _ref5.theme;
|
|
9907
|
+
return "1px solid " + theme.border.light;
|
|
9908
|
+
}, function (_ref6) {
|
|
9909
|
+
var $disabled = _ref6.$disabled;
|
|
9910
|
+
return $disabled ? 'not-allowed' : 'auto';
|
|
9911
|
+
}, function (_ref7) {
|
|
9912
|
+
var $disabled = _ref7.$disabled,
|
|
9913
|
+
$background = _ref7.$background,
|
|
9914
|
+
theme = _ref7.theme;
|
|
9915
|
+
return $disabled ? theme.disabled.secondary : $background;
|
|
9916
|
+
}, function (_ref8) {
|
|
9917
|
+
var $color = _ref8.$color;
|
|
9918
|
+
return $color;
|
|
9919
|
+
}, function (_ref9) {
|
|
9920
|
+
var $size = _ref9.$size;
|
|
9921
|
+
switch ($size) {
|
|
9922
|
+
case 'small':
|
|
9923
|
+
return 'font-size: 12px; padding: 5px 10px;';
|
|
9924
|
+
case 'medium':
|
|
9925
|
+
return 'font-size: 14px; padding: 9px 12px;';
|
|
9926
|
+
case 'large':
|
|
9927
|
+
return 'font-size: 16px; padding: 9px 14px;';
|
|
9928
|
+
default:
|
|
9929
|
+
return 'font-size: 14px; padding: 7px 12px;';
|
|
9930
|
+
}
|
|
9931
|
+
}, function (_ref10) {
|
|
9932
|
+
var $color = _ref10.$color,
|
|
9933
|
+
theme = _ref10.theme;
|
|
9934
|
+
return $color || theme.text.dark;
|
|
9935
|
+
}, function (_ref11) {
|
|
9936
|
+
var theme = _ref11.theme;
|
|
9937
|
+
return theme.text.light;
|
|
9938
|
+
});
|
|
9939
|
+
var _templateObject$h$1$1, _templateObject2$e$1$1, _templateObject3$a$1$1, _templateObject4$7$1$1, _templateObject5$7$1$1, _templateObject6$6$1$1, _templateObject7$4$1$1;
|
|
9940
|
+
var OptionContainer$1$1$1 = styled__default.div(_templateObject$h$1$1 || (_templateObject$h$1$1 = _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"])), function (_ref) {
|
|
9941
|
+
var theme = _ref.theme;
|
|
9942
|
+
return theme.text.white;
|
|
9943
|
+
});
|
|
9944
|
+
var OptionItem$1$1$1 = styled__default.div(_templateObject2$e$1$1 || (_templateObject2$e$1$1 = _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 (_ref2) {
|
|
9945
|
+
var $optionSelected = _ref2.$optionSelected,
|
|
9946
|
+
theme = _ref2.theme;
|
|
9947
|
+
return $optionSelected ? theme.text.white : theme.text.medium;
|
|
9948
|
+
}, function (_ref3) {
|
|
9949
|
+
var $optionSelected = _ref3.$optionSelected,
|
|
9950
|
+
theme = _ref3.theme;
|
|
9951
|
+
return $optionSelected ? theme["default"].primary : theme.text.white;
|
|
9952
|
+
}, function (_ref4) {
|
|
9953
|
+
var theme = _ref4.theme;
|
|
9954
|
+
return theme.hover.primary;
|
|
9955
|
+
}, function (_ref5) {
|
|
9956
|
+
var theme = _ref5.theme;
|
|
9957
|
+
return theme.text.white;
|
|
9958
|
+
});
|
|
9959
|
+
var TotalOptionsHeader$1$1 = styled__default.div(_templateObject3$a$1$1 || (_templateObject3$a$1$1 = _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: ", ";\n font-size:12px;\n"])), function (_ref6) {
|
|
9960
|
+
var theme = _ref6.theme;
|
|
9961
|
+
return theme.text.white;
|
|
9962
|
+
}, function (_ref7) {
|
|
9963
|
+
var theme = _ref7.theme;
|
|
9964
|
+
return theme.text.light;
|
|
9965
|
+
}, function (_ref8) {
|
|
9966
|
+
var theme = _ref8.theme;
|
|
9967
|
+
return "1px solid " + theme.text.light;
|
|
9968
|
+
});
|
|
9969
|
+
var OptionLabel$1$1$1 = styled__default.label(_templateObject4$7$1$1 || (_templateObject4$7$1$1 = _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"])));
|
|
9970
|
+
var SearchContainer$3$1$1 = styled__default.div(_templateObject5$7$1$1 || (_templateObject5$7$1$1 = _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 (_ref9) {
|
|
9971
|
+
var $background = _ref9.$background,
|
|
9972
|
+
theme = _ref9.theme;
|
|
9973
|
+
switch ($background) {
|
|
9974
|
+
case 'dark':
|
|
9975
|
+
return theme.text.dark;
|
|
9976
|
+
case 'medium':
|
|
9977
|
+
return theme.text.medium;
|
|
9978
|
+
case 'light':
|
|
9979
|
+
return theme.text.light;
|
|
9980
|
+
case 'white':
|
|
9981
|
+
return theme.text.white;
|
|
9982
|
+
case 'warning':
|
|
9983
|
+
return theme["default"].warning;
|
|
9984
|
+
case 'info':
|
|
9985
|
+
return theme["default"].info;
|
|
9986
|
+
case 'success':
|
|
9987
|
+
return theme["default"].success;
|
|
9988
|
+
case 'error':
|
|
9989
|
+
return theme["default"].error;
|
|
9990
|
+
default:
|
|
9991
|
+
return $background;
|
|
9992
|
+
}
|
|
9993
|
+
}, function (_ref10) {
|
|
9994
|
+
var $borderBottom = _ref10.$borderBottom;
|
|
9995
|
+
return $borderBottom || 'none';
|
|
9996
|
+
}, function (_ref11) {
|
|
9997
|
+
var $borderRadius = _ref11.$borderRadius;
|
|
9998
|
+
return $borderRadius || '8px';
|
|
9999
|
+
});
|
|
10000
|
+
var SearchBar$3$1$1 = styled__default.input(_templateObject6$6$1$1 || (_templateObject6$6$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: 100%;\n background: ", ";\n\n color: ", ";\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-size: 14px;\n }\n"])), function (_ref12) {
|
|
10001
|
+
var theme = _ref12.theme;
|
|
10002
|
+
return theme["default"].tertiary;
|
|
10003
|
+
}, function (_ref13) {
|
|
10004
|
+
var $inputColor = _ref13.$inputColor,
|
|
10005
|
+
theme = _ref13.theme;
|
|
10006
|
+
switch ($inputColor) {
|
|
10007
|
+
case 'dark':
|
|
10008
|
+
return theme.text.dark;
|
|
10009
|
+
case 'medium':
|
|
10010
|
+
return theme.text.medium;
|
|
10011
|
+
case 'light':
|
|
10012
|
+
return theme.text.light;
|
|
10013
|
+
case 'white':
|
|
10014
|
+
return theme.text.white;
|
|
10015
|
+
case 'warning':
|
|
10016
|
+
return theme["default"].warning;
|
|
10017
|
+
case 'info':
|
|
10018
|
+
return theme["default"].info;
|
|
10019
|
+
case 'success':
|
|
10020
|
+
return theme["default"].success;
|
|
10021
|
+
case 'error':
|
|
10022
|
+
return theme["default"].error;
|
|
10023
|
+
default:
|
|
10024
|
+
return $inputColor;
|
|
10025
|
+
}
|
|
10026
|
+
}, function (_ref14) {
|
|
10027
|
+
var $placeholderColor = _ref14.$placeholderColor,
|
|
10028
|
+
theme = _ref14.theme;
|
|
10029
|
+
switch ($placeholderColor) {
|
|
10030
|
+
case 'dark':
|
|
10031
|
+
return theme.text.dark;
|
|
10032
|
+
case 'medium':
|
|
10033
|
+
return theme.text.medium;
|
|
10034
|
+
case 'light':
|
|
10035
|
+
return theme.text.light;
|
|
10036
|
+
case 'white':
|
|
10037
|
+
return theme.text.white;
|
|
10038
|
+
case 'warning':
|
|
10039
|
+
return theme["default"].warning;
|
|
10040
|
+
case 'info':
|
|
10041
|
+
return theme["default"].info;
|
|
10042
|
+
case 'success':
|
|
10043
|
+
return theme["default"].success;
|
|
10044
|
+
case 'error':
|
|
10045
|
+
return theme["default"].error;
|
|
10046
|
+
default:
|
|
10047
|
+
return $placeholderColor;
|
|
10048
|
+
}
|
|
10049
|
+
});
|
|
10050
|
+
var OptionsWrapper$1$1$1 = styled__default.div(_templateObject7$4$1$1 || (_templateObject7$4$1$1 = _taggedTemplateLiteralLoose$1$1(["\n padding: 4px 0px;\n height: 100%;\n overflow-y: auto;\n scrollbar-width: thin;\n background: ", ";\n"])), function (_ref15) {
|
|
10051
|
+
var theme = _ref15.theme;
|
|
10052
|
+
return theme.text.white;
|
|
10053
|
+
});
|
|
10054
|
+
var _templateObject$i$1$1, _templateObject2$f$1$1;
|
|
10055
|
+
var StyledCheckBox$1$1 = styled__default.input(_templateObject$i$1$1 || (_templateObject$i$1$1 = _taggedTemplateLiteralLoose$1$1(["\n width: ", ";\n height: ", ";\n appearance: none;\n border: ", ";\n border-radius: 4px;\n background-color: ", ";\n cursor: pointer;\n display: inline-block;\n position: relative;\n transition: all 0.2s ease;\n font-size: ", "; // for em units\n\n &:checked::after {\n content: '';\n position: absolute;\n top: ", ";\n right: ", ";\n width: ", ";\n height: ", ";\n border: ", ";\n border-width: 0 0.2em 0.2em 0;\n transform: rotate(45deg);\n }\n\n &:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n }\n"])), function (_ref) {
|
|
10056
|
+
var $checkboxSize = _ref.$checkboxSize;
|
|
10057
|
+
return $checkboxSize + "px";
|
|
10058
|
+
}, function (_ref2) {
|
|
10059
|
+
var $checkboxSize = _ref2.$checkboxSize;
|
|
10060
|
+
return $checkboxSize + "px";
|
|
10061
|
+
}, function (_ref3) {
|
|
10062
|
+
var $checked = _ref3.$checked,
|
|
10063
|
+
$borderSize = _ref3.$borderSize,
|
|
10064
|
+
theme = _ref3.theme;
|
|
10065
|
+
return $checked ? $borderSize + "px solid " + theme["default"].primary : $borderSize + "px solid " + theme.border.extraBold;
|
|
10066
|
+
}, function (_ref4) {
|
|
10067
|
+
var $checked = _ref4.$checked,
|
|
10068
|
+
theme = _ref4.theme;
|
|
10069
|
+
return $checked ? theme["default"].primary : theme.text.white;
|
|
10070
|
+
}, function (_ref5) {
|
|
10071
|
+
var $checkboxSize = _ref5.$checkboxSize;
|
|
10072
|
+
return $checkboxSize / 1.4 + "px";
|
|
10073
|
+
}, function (_ref6) {
|
|
10074
|
+
var $checkboxSize = _ref6.$checkboxSize;
|
|
10075
|
+
return "calc(100% - " + $checkboxSize / 1.4 + "px)";
|
|
10076
|
+
}, function (_ref7) {
|
|
10077
|
+
var $checkboxSize = _ref7.$checkboxSize;
|
|
10078
|
+
return "calc(100% - " + $checkboxSize / 1.8 + "px)";
|
|
10079
|
+
}, function (_ref8) {
|
|
10080
|
+
var $checkboxSize = _ref8.$checkboxSize;
|
|
10081
|
+
return $checkboxSize / 5 + "px";
|
|
10082
|
+
}, function (_ref9) {
|
|
10083
|
+
var $checkboxSize = _ref9.$checkboxSize;
|
|
10084
|
+
return $checkboxSize / 2.4 + "px";
|
|
10085
|
+
}, function (_ref10) {
|
|
10086
|
+
var theme = _ref10.theme;
|
|
10087
|
+
return "solid " + theme.text.white;
|
|
10088
|
+
});
|
|
10089
|
+
var LabelSpan$1$1 = styled__default(Span$1$1)(_templateObject2$f$1$1 || (_templateObject2$f$1$1 = _taggedTemplateLiteralLoose$1$1(["\n font-weight: 500;\n line-height: 1;\n user-select: none;\n"])));
|
|
10090
|
+
var _templateObject$j$1$1, _templateObject2$g$1$1, _templateObject3$b$1$1, _templateObject4$8$1$1;
|
|
10091
|
+
var spin$1$1$1 = styled.keyframes(_templateObject$j$1$1 || (_templateObject$j$1$1 = _taggedTemplateLiteralLoose$1$1(["\n 0% { opacity: 1; }\n 100% { opacity: 0.3; }\n"])));
|
|
10092
|
+
var getDotPosition$1$1 = function getDotPosition(index, size) {
|
|
10093
|
+
var angle = index * 360 / 8;
|
|
10094
|
+
var radius = size / 2.5;
|
|
10095
|
+
var x = radius * Math.cos(angle * Math.PI / 180);
|
|
10096
|
+
var y = radius * Math.sin(angle * Math.PI / 180);
|
|
10097
|
+
return "translate(" + x + "px, " + y + "px)";
|
|
10098
|
+
};
|
|
10099
|
+
var SpinnerContainer$1$1 = styled__default.div(_templateObject2$g$1$1 || (_templateObject2$g$1$1 = _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) {
|
|
10100
|
+
var $size = _ref.$size;
|
|
10101
|
+
return $size;
|
|
10102
|
+
}, function (_ref2) {
|
|
10103
|
+
var $size = _ref2.$size;
|
|
10104
|
+
return $size;
|
|
10105
|
+
});
|
|
10106
|
+
var Dot$1$1 = styled__default.div.attrs(function (_ref3) {
|
|
10107
|
+
var $index = _ref3.$index,
|
|
10108
|
+
$size = _ref3.$size;
|
|
10109
|
+
return {
|
|
10110
|
+
style: {
|
|
10111
|
+
transform: getDotPosition$1$1($index, $size)
|
|
10112
|
+
}
|
|
10113
|
+
};
|
|
10114
|
+
})(_templateObject3$b$1$1 || (_templateObject3$b$1$1 = _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) {
|
|
10115
|
+
var $dotSize = _ref4.$dotSize;
|
|
10116
|
+
return $dotSize;
|
|
10117
|
+
}, function (_ref5) {
|
|
10118
|
+
var $dotSize = _ref5.$dotSize;
|
|
10119
|
+
return $dotSize;
|
|
10120
|
+
}, function (_ref6) {
|
|
10121
|
+
var $color = _ref6.$color;
|
|
10122
|
+
return $color;
|
|
10123
|
+
}, spin$1$1$1, function (_ref7) {
|
|
10124
|
+
var $speed = _ref7.$speed;
|
|
10125
|
+
return $speed;
|
|
10126
|
+
}, function (_ref8) {
|
|
10127
|
+
var $index = _ref8.$index,
|
|
10128
|
+
$speed = _ref8.$speed;
|
|
10129
|
+
return $index * $speed / 8;
|
|
10130
|
+
});
|
|
10131
|
+
var SpinnerWrapper$1$1 = styled__default.div(_templateObject4$8$1$1 || (_templateObject4$8$1$1 = _taggedTemplateLiteralLoose$1$1(["\n display: inline-flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: max-content;\n"])));
|
|
10132
|
+
var _templateObject$k$1$1, _templateObject2$h$1$1;
|
|
10133
|
+
var spin$2$1$1 = styled.keyframes(_templateObject$k$1$1 || (_templateObject$k$1$1 = _taggedTemplateLiteralLoose$1$1(["\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
10134
|
+
var Spinner$1$1$1 = styled__default.div(_templateObject2$h$1$1 || (_templateObject2$h$1$1 = _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) {
|
|
10135
|
+
var $size = _ref.$size;
|
|
10136
|
+
return $size;
|
|
10137
|
+
}, function (_ref2) {
|
|
10138
|
+
var $size = _ref2.$size;
|
|
10139
|
+
return $size;
|
|
10140
|
+
}, function (_ref3) {
|
|
10141
|
+
var $color = _ref3.$color;
|
|
10142
|
+
return $color;
|
|
10143
|
+
}, spin$2$1$1);
|
|
10144
|
+
var _templateObject$l$1$1;
|
|
10145
|
+
var PageInput$1$1 = styled__default.input(_templateObject$l$1$1 || (_templateObject$l$1$1 = _taggedTemplateLiteralLoose$1$1(["\n width: 40px;\n height: 32px;\n background-color: ", ";\n border: ", ";\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"])), function (_ref) {
|
|
10146
|
+
var theme = _ref.theme;
|
|
10147
|
+
return theme.accent.light_2;
|
|
10148
|
+
}, function (_ref2) {
|
|
10149
|
+
var theme = _ref2.theme;
|
|
10150
|
+
return "1px solid " + theme.border.light;
|
|
10151
|
+
}, function (_ref3) {
|
|
10152
|
+
var theme = _ref3.theme;
|
|
10153
|
+
return theme.text.dark;
|
|
10154
|
+
});
|
|
10155
|
+
function _taggedTemplateLiteralLoose$1$1$1(e, t) {
|
|
10156
|
+
return t || (t = e.slice(0)), e.raw = t, e;
|
|
10157
|
+
}
|
|
10158
|
+
var _templateObject$m$1$1, _templateObject2$i$1$1;
|
|
10159
|
+
var ModalOverlay$1$1$1 = styled__default.div(_templateObject$m$1$1 || (_templateObject$m$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.5);\n display: flex;\n align-items: center;\n justify-content: center;\n font-family: NotoSans, sans-serif;\n z-index: 9999;\n backdrop-filter: blur(4px);\n"])));
|
|
10160
|
+
var ModalContainer$1$1$1 = styled__default.div(_templateObject2$i$1$1 || (_templateObject2$i$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n background: ", ";\n box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);\n border-radius: 8px;\n max-height: 100vh;\n max-width: ", ";\n overflow: visible;\n"])), function (_ref) {
|
|
10161
|
+
var theme = _ref.theme;
|
|
10162
|
+
return theme.accent.light_1;
|
|
10163
|
+
}, function (_ref2) {
|
|
10164
|
+
var $maxWidth = _ref2.$maxWidth;
|
|
10165
|
+
return $maxWidth ? $maxWidth : '400px';
|
|
10166
|
+
});
|
|
10167
|
+
var _templateObject$1$1$1$1, _templateObject2$1$1$1$1;
|
|
10168
|
+
var Container$4$1$1 = styled__default.div(_templateObject$1$1$1$1 || (_templateObject$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n flex: ", ";\n flex-wrap: ", ";\n flex-direction: ", ";\n justify-content: ", ";\n align-items: ", "; \n gap: ", ";\n font-weight: ", ";\n height: ", ";\n min-height: ", ";\n max-height: ", ";\n width: ", ";\n min-width: ", ";\n max-width: ", ";\n padding: ", ";\n background: ", ";\n object-fit:", ";\n margin: ", ";\n border-radius: ", ";\n border-top-left-radius: ", ";\n border-top-right-radius: ", ";\n border-bottom-right-radius: ", ";\n border-bottom-left-radius: ", ";\n cursor: ", ";\n font-size: ", ";\n opacity: ", ";\n pointer-events: ", ";\n position: ", ";\n top: ", ";\n bottom: ", ";\n left: ", ";\n right: ", ";\n text-align: ", "; \n color: ", "; \n overflow: ", ";\n overflow-y: ", ";\n z-index: ", "; \n scrollbar-width: ", ";\n border: ", "; \n border-top: ", ";\n border-bottom: ", ";\n border-left: ", ";\n transition: ", ";\n box-shadow: ", ";\n\n &:hover {\n background: ", ";\n color: ", ";\n }\n"])), function (_ref) {
|
|
10169
|
+
var $flex = _ref.$flex;
|
|
10170
|
+
return $flex;
|
|
10171
|
+
}, function (_ref2) {
|
|
10172
|
+
var $flexWrap = _ref2.$flexWrap;
|
|
10173
|
+
return $flexWrap;
|
|
10174
|
+
}, function (_ref3) {
|
|
10175
|
+
var $flexDirection = _ref3.$flexDirection;
|
|
10176
|
+
return $flexDirection;
|
|
10177
|
+
}, function (_ref4) {
|
|
10178
|
+
var $justifyContent = _ref4.$justifyContent;
|
|
10179
|
+
return $justifyContent;
|
|
10180
|
+
}, function (_ref5) {
|
|
10181
|
+
var $alignItems = _ref5.$alignItems;
|
|
10182
|
+
return $alignItems;
|
|
10183
|
+
}, function (_ref6) {
|
|
10184
|
+
var $gap = _ref6.$gap;
|
|
10185
|
+
return $gap;
|
|
10186
|
+
}, function (_ref7) {
|
|
10187
|
+
var $fontWeight = _ref7.$fontWeight;
|
|
10188
|
+
return $fontWeight;
|
|
10189
|
+
}, function (_ref8) {
|
|
10190
|
+
var $height = _ref8.$height;
|
|
10191
|
+
return $height;
|
|
10192
|
+
}, function (_ref9) {
|
|
10193
|
+
var $minHeight = _ref9.$minHeight;
|
|
10194
|
+
return $minHeight;
|
|
10195
|
+
}, function (_ref10) {
|
|
10196
|
+
var $maxHeight = _ref10.$maxHeight;
|
|
10197
|
+
return $maxHeight;
|
|
10198
|
+
}, function (_ref11) {
|
|
10199
|
+
var $width = _ref11.$width;
|
|
10200
|
+
return $width;
|
|
10201
|
+
}, function (_ref12) {
|
|
10202
|
+
var $minWidth = _ref12.$minWidth;
|
|
10203
|
+
return $minWidth;
|
|
10204
|
+
}, function (_ref13) {
|
|
10205
|
+
var $maxWidth = _ref13.$maxWidth;
|
|
10206
|
+
return $maxWidth;
|
|
10207
|
+
}, function (_ref14) {
|
|
10208
|
+
var $padding = _ref14.$padding;
|
|
10209
|
+
return $padding;
|
|
10210
|
+
}, function (_ref15) {
|
|
10211
|
+
var $background = _ref15.$background;
|
|
10212
|
+
return $background;
|
|
10213
|
+
}, function (_ref16) {
|
|
10214
|
+
var $objectfit = _ref16.$objectfit;
|
|
10215
|
+
return $objectfit;
|
|
10216
|
+
}, function (_ref17) {
|
|
10217
|
+
var $margin = _ref17.$margin;
|
|
10218
|
+
return $margin;
|
|
10219
|
+
}, function (_ref18) {
|
|
10220
|
+
var $borderRadius = _ref18.$borderRadius;
|
|
10221
|
+
return $borderRadius;
|
|
10222
|
+
}, function (_ref19) {
|
|
10223
|
+
var $borderTopLeftRadius = _ref19.$borderTopLeftRadius;
|
|
10224
|
+
return $borderTopLeftRadius;
|
|
10225
|
+
}, function (_ref20) {
|
|
10226
|
+
var $borderTopRightRadius = _ref20.$borderTopRightRadius;
|
|
10227
|
+
return $borderTopRightRadius;
|
|
10228
|
+
}, function (_ref21) {
|
|
10229
|
+
var $borderBottomRightRadius = _ref21.$borderBottomRightRadius;
|
|
10230
|
+
return $borderBottomRightRadius;
|
|
10231
|
+
}, function (_ref22) {
|
|
10232
|
+
var $borderBottomLeftRadius = _ref22.$borderBottomLeftRadius;
|
|
10233
|
+
return $borderBottomLeftRadius;
|
|
10234
|
+
}, function (_ref23) {
|
|
10235
|
+
var $cursor = _ref23.$cursor;
|
|
10236
|
+
return $cursor;
|
|
10237
|
+
}, function (_ref24) {
|
|
10238
|
+
var $fontSize = _ref24.$fontSize;
|
|
10239
|
+
return $fontSize;
|
|
10240
|
+
}, function (_ref25) {
|
|
10241
|
+
var $opacity = _ref25.$opacity;
|
|
10242
|
+
return $opacity;
|
|
10243
|
+
}, function (_ref26) {
|
|
10244
|
+
var $pointerEvents = _ref26.$pointerEvents;
|
|
10245
|
+
return $pointerEvents;
|
|
10246
|
+
}, function (_ref27) {
|
|
10247
|
+
var $position = _ref27.$position;
|
|
10248
|
+
return $position;
|
|
10249
|
+
}, function (_ref28) {
|
|
10250
|
+
var $top = _ref28.$top;
|
|
10251
|
+
return $top;
|
|
10252
|
+
}, function (_ref29) {
|
|
10253
|
+
var $bottom = _ref29.$bottom;
|
|
10254
|
+
return $bottom;
|
|
10255
|
+
}, function (_ref30) {
|
|
10256
|
+
var $left = _ref30.$left;
|
|
10257
|
+
return $left;
|
|
10258
|
+
}, function (_ref31) {
|
|
10259
|
+
var $right = _ref31.$right;
|
|
10260
|
+
return $right;
|
|
10261
|
+
}, function (_ref32) {
|
|
10262
|
+
var $textAlign = _ref32.$textAlign;
|
|
10263
|
+
return $textAlign;
|
|
10264
|
+
}, function (_ref33) {
|
|
10265
|
+
var $color = _ref33.$color;
|
|
10266
|
+
return $color;
|
|
10267
|
+
}, function (_ref34) {
|
|
10268
|
+
var $overflow = _ref34.$overflow;
|
|
10269
|
+
return $overflow || 'visible';
|
|
10270
|
+
}, function (_ref35) {
|
|
10271
|
+
var $overflowY = _ref35.$overflowY;
|
|
10272
|
+
return $overflowY;
|
|
10273
|
+
}, function (_ref36) {
|
|
10274
|
+
var $zIndex = _ref36.$zIndex;
|
|
10275
|
+
return $zIndex;
|
|
10276
|
+
}, function (_ref37) {
|
|
10277
|
+
var $scrollbarWidth = _ref37.$scrollbarWidth;
|
|
10278
|
+
return $scrollbarWidth;
|
|
10279
|
+
}, function (_ref38) {
|
|
10280
|
+
var $border = _ref38.$border;
|
|
10281
|
+
return $border;
|
|
10282
|
+
}, function (_ref39) {
|
|
10283
|
+
var $borderTop = _ref39.$borderTop;
|
|
10284
|
+
return $borderTop;
|
|
10285
|
+
}, function (_ref40) {
|
|
10286
|
+
var $borderBottom = _ref40.$borderBottom;
|
|
10287
|
+
return $borderBottom;
|
|
10288
|
+
}, function (_ref41) {
|
|
10289
|
+
var $borderLeft = _ref41.$borderLeft;
|
|
10290
|
+
return $borderLeft;
|
|
10291
|
+
}, function (_ref42) {
|
|
10292
|
+
var $transition = _ref42.$transition;
|
|
10293
|
+
return $transition;
|
|
10294
|
+
}, function (_ref43) {
|
|
10295
|
+
var $boxShadow = _ref43.$boxShadow;
|
|
10296
|
+
return $boxShadow;
|
|
10297
|
+
}, function (_ref44) {
|
|
10298
|
+
var $hoverBackground = _ref44.$hoverBackground;
|
|
10299
|
+
return $hoverBackground;
|
|
10300
|
+
}, function (_ref45) {
|
|
10301
|
+
var $hoverColor = _ref45.$hoverColor;
|
|
10302
|
+
return $hoverColor;
|
|
10303
|
+
});
|
|
10304
|
+
var Span$1$1$1 = styled__default.span(_templateObject2$1$1$1$1 || (_templateObject2$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n font-style: ", ";\n color: ", ";\n line-height: ", ";\n text-align: ", ";\n min-width: ", ";\n width: ", ";\n overflow-wrap: ", ";\n"])), function (_ref46) {
|
|
10305
|
+
var $fontFamily = _ref46.$fontFamily;
|
|
10306
|
+
return $fontFamily ? $fontFamily : 'NotoSans, sans-serif';
|
|
10307
|
+
}, function (_ref47) {
|
|
10308
|
+
var $fontWeight = _ref47.$fontWeight;
|
|
10309
|
+
return $fontWeight ? $fontWeight : '500';
|
|
10310
|
+
}, function (_ref48) {
|
|
10311
|
+
var $fontSize = _ref48.$fontSize;
|
|
10312
|
+
return $fontSize ? $fontSize : '16px';
|
|
10313
|
+
}, function (_ref49) {
|
|
10314
|
+
var $fontStyle = _ref49.$fontStyle;
|
|
10315
|
+
return $fontStyle ? $fontStyle : 'normal';
|
|
10316
|
+
}, function (_ref50) {
|
|
10317
|
+
var $color = _ref50.$color,
|
|
10318
|
+
theme = _ref50.theme;
|
|
10319
|
+
return $color ? $color : theme.text.medium;
|
|
10320
|
+
}, function (_ref51) {
|
|
10321
|
+
var $lineHeight = _ref51.$lineHeight;
|
|
10322
|
+
return $lineHeight ? $lineHeight : '100%';
|
|
10323
|
+
}, function (_ref52) {
|
|
10324
|
+
var $textAlign = _ref52.$textAlign;
|
|
10325
|
+
return $textAlign ? $textAlign : 'center';
|
|
10326
|
+
}, function (_ref53) {
|
|
10327
|
+
var $minWidth = _ref53.$minWidth;
|
|
10328
|
+
return $minWidth;
|
|
10329
|
+
}, function (_ref54) {
|
|
10330
|
+
var $width = _ref54.$width;
|
|
10331
|
+
return $width;
|
|
10332
|
+
}, function (_ref55) {
|
|
10333
|
+
var $overflowWrap = _ref55.$overflowWrap;
|
|
10334
|
+
return $overflowWrap;
|
|
10335
|
+
});
|
|
10336
|
+
var light$1$1$1 = {
|
|
10337
|
+
brand: {
|
|
10338
|
+
primary: '#4C9EEB',
|
|
10339
|
+
secondary: '#14171A',
|
|
10340
|
+
light: '#FFFFFF'
|
|
10341
|
+
},
|
|
10342
|
+
accent: {
|
|
10343
|
+
light_1: '#E1E8ED',
|
|
10344
|
+
light_2: '#F5F8FA',
|
|
10345
|
+
light_3: '#F0F3F5',
|
|
10346
|
+
light_4: '#ECF0F4',
|
|
10347
|
+
light_5: '#F0F0F3',
|
|
10348
|
+
softBlue: '#D4EEFF',
|
|
10349
|
+
extraSoftBlue: '#E4F4FF',
|
|
10350
|
+
boldTransparent: '#5E5E5E80',
|
|
10351
|
+
transparent: '#5E5E5E4D',
|
|
10352
|
+
lightTransparent: '#5E5E5E23'
|
|
10353
|
+
},
|
|
10354
|
+
"default": {
|
|
10355
|
+
primary: '#78B6F0',
|
|
10356
|
+
secondary: '#C2C2C2',
|
|
10357
|
+
tertiary: 'transparent',
|
|
10358
|
+
error: '#F44336',
|
|
10359
|
+
success: '#4CAF50',
|
|
10360
|
+
warning: '#FF9800',
|
|
10361
|
+
info: '#2159F3'
|
|
10362
|
+
},
|
|
10363
|
+
disabled: {
|
|
10364
|
+
primary: '#B9DCF7',
|
|
10365
|
+
secondary: '#DADADA',
|
|
10366
|
+
error: '#FFEBEE',
|
|
10367
|
+
success: '#E8F5E9',
|
|
10368
|
+
warning: '#FFF3E0',
|
|
10369
|
+
info: '#E3F2FD'
|
|
10370
|
+
},
|
|
10371
|
+
hover: {
|
|
10372
|
+
primary: '#4C9EEB',
|
|
10373
|
+
secondary: '#A3A3A3',
|
|
10374
|
+
tertiary: 'transparent',
|
|
10375
|
+
error: '#D32F2F',
|
|
10376
|
+
success: '#388E3C',
|
|
10377
|
+
warning: '#F57C00',
|
|
10378
|
+
info: '#193ED2'
|
|
10379
|
+
},
|
|
10380
|
+
border: {
|
|
10381
|
+
extraBold: '#657786',
|
|
10382
|
+
bold: '#BFBFBF',
|
|
10383
|
+
medium: '#CBCED0',
|
|
10384
|
+
light: '#DCDCDC',
|
|
10385
|
+
extraLight: '#E6E3E3'
|
|
10386
|
+
},
|
|
10387
|
+
text: {
|
|
10388
|
+
dark: '#14171A',
|
|
10389
|
+
medium: '#657786',
|
|
10390
|
+
light: '#98A2AA',
|
|
10391
|
+
white: '#FFFFFF',
|
|
10392
|
+
success: '#1B5E20',
|
|
10393
|
+
error: '#B71C1C',
|
|
10394
|
+
info: '#0D30A1',
|
|
10395
|
+
warning: '#E65100'
|
|
10396
|
+
},
|
|
10397
|
+
badge: {
|
|
10398
|
+
lavender: '#E8DAFF',
|
|
10399
|
+
papayaWhip: '#FFEDD5',
|
|
10400
|
+
water: '#C7E3FF',
|
|
10401
|
+
paleBlue: '#B0F0E4',
|
|
10402
|
+
teaGreen: '#D5F7C2',
|
|
10403
|
+
lightBlue: '#ADD8E6'
|
|
10404
|
+
}
|
|
10405
|
+
};
|
|
10406
|
+
var dark$1$1$1 = {
|
|
10407
|
+
brand: {
|
|
10408
|
+
primary: '#4C9EEB',
|
|
10409
|
+
secondary: '#E1E8ED',
|
|
10410
|
+
light: '#1A1A1A'
|
|
10411
|
+
},
|
|
10412
|
+
accent: {
|
|
10413
|
+
light_1: '#2A2E33',
|
|
10414
|
+
light_2: '#1F2327',
|
|
10415
|
+
light_3: '#0F1214',
|
|
10416
|
+
light_4: '#101417',
|
|
10417
|
+
light_5: '#0F0F0C',
|
|
10418
|
+
softBlue: '#2C3E50',
|
|
10419
|
+
extraSoftBlue: '#34495E',
|
|
10420
|
+
boldTransparent: '#D3D3D380',
|
|
10421
|
+
transparent: '#D3D3D34D',
|
|
10422
|
+
lightTransparent: '#D3D3D323'
|
|
10423
|
+
},
|
|
10424
|
+
"default": {
|
|
10425
|
+
primary: '#78B6F0',
|
|
10426
|
+
secondary: '#4F4F4F',
|
|
10427
|
+
tertiary: 'transparent',
|
|
10428
|
+
error: '#EF5350',
|
|
10429
|
+
success: '#66BB6A',
|
|
10430
|
+
warning: '#FFB74D',
|
|
10431
|
+
info: '#42A5F5'
|
|
10432
|
+
},
|
|
10433
|
+
disabled: {
|
|
10434
|
+
primary: '#3B4A58',
|
|
10435
|
+
secondary: '#3E3E3E',
|
|
10436
|
+
error: '#5B1B1B',
|
|
10437
|
+
success: '#1B3C1B',
|
|
10438
|
+
warning: '#5A3C1B',
|
|
10439
|
+
info: '#1A3C5A'
|
|
10440
|
+
},
|
|
10441
|
+
hover: {
|
|
10442
|
+
primary: '#5CA6F0',
|
|
10443
|
+
secondary: '#7A7A7A',
|
|
10444
|
+
tertiary: 'transparent',
|
|
10445
|
+
error: '#D32F2F',
|
|
10446
|
+
success: '#388E3C',
|
|
10447
|
+
warning: '#F57C00',
|
|
10448
|
+
info: '#1976D2'
|
|
10449
|
+
},
|
|
10450
|
+
border: {
|
|
10451
|
+
extraBold: '#8899A6',
|
|
10452
|
+
bold: '#5E5E5E',
|
|
10453
|
+
medium: '#4A4A4A',
|
|
10454
|
+
light: '#3A3A3A',
|
|
10455
|
+
extraLight: '#2B2B2B'
|
|
10456
|
+
},
|
|
10457
|
+
text: {
|
|
10458
|
+
dark: '#FFFFFF',
|
|
10459
|
+
medium: '#AAB8C2',
|
|
10460
|
+
light: '#8899A6',
|
|
10461
|
+
white: '#14171A',
|
|
10462
|
+
success: '#81C784',
|
|
10463
|
+
error: '#E57373',
|
|
10464
|
+
info: '#64B5F6',
|
|
10465
|
+
warning: '#FFB74D'
|
|
10466
|
+
},
|
|
10467
|
+
badge: {
|
|
10468
|
+
lavender: '#7B5FA1',
|
|
10469
|
+
papayaWhip: '#A46A3E',
|
|
10470
|
+
water: '#5CA6F0',
|
|
10471
|
+
paleBlue: '#4BC9BC',
|
|
10472
|
+
teaGreen: '#7FBF7F',
|
|
10473
|
+
lightBlue: '#5DADE2'
|
|
10474
|
+
}
|
|
10475
|
+
};
|
|
10476
|
+
var getCurrentTheme$1$1$1 = function getCurrentTheme() {
|
|
10477
|
+
if (typeof document !== 'undefined') {
|
|
10478
|
+
var isDarkClass = document.documentElement.classList.contains('dark');
|
|
10479
|
+
return isDarkClass ? 'dark' : 'light';
|
|
10480
|
+
}
|
|
10481
|
+
return 'light';
|
|
10482
|
+
};
|
|
10483
|
+
var colorVariables$1$1$1 = new Proxy({}, {
|
|
10484
|
+
get: function get(_, prop) {
|
|
10485
|
+
var currentThemeName = getCurrentTheme$1$1$1();
|
|
10486
|
+
var currentTheme = themes$1$1$1[currentThemeName];
|
|
10487
|
+
return currentTheme[prop];
|
|
10488
|
+
}
|
|
10489
|
+
});
|
|
10490
|
+
var themes$1$1$1 = {
|
|
10491
|
+
light: light$1$1$1,
|
|
10492
|
+
dark: dark$1$1$1
|
|
10493
|
+
};
|
|
10494
|
+
var _templateObject$2$1$1$1, _templateObject2$2$1$1$1, _templateObject3$c$1$1;
|
|
10495
|
+
var wrapperCss$1$1$1 = styled.css(_templateObject$2$1$1$1 || (_templateObject$2$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n svg {\n overflow: visible;\n vector-effect: non-scaling-stroke;\n line,\n path,\n circle,\n ellipse,\n foreignObject,\n polygon,\n polyline,\n rect,\n text,\n textPath,\n tspan {\n vector-effect: non-scaling-stroke;\n }\n }\n"])));
|
|
10496
|
+
var IconWrapper$2$1$1 = styled__default.div(_templateObject2$2$1$1$1 || (_templateObject2$2$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: max-content;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: ", ";\n ", ";\n"])), function (_ref) {
|
|
10497
|
+
var $clickable = _ref.$clickable;
|
|
10498
|
+
return $clickable ? 'pointer' : 'default';
|
|
10499
|
+
}, wrapperCss$1$1$1);
|
|
10500
|
+
var IconWrapperForSVG$1$1$1 = styled__default.g(_templateObject3$c$1$1 || (_templateObject3$c$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n ", ";\n"])), wrapperCss$1$1$1);
|
|
10501
|
+
var _templateObject$3$1$1$1, _templateObject2$3$1$1$1;
|
|
10502
|
+
var TooltipWrapper$2$1$1 = styled__default.div(_templateObject$3$1$1$1 || (_templateObject$3$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n align-items: center;\n\n svg {\n cursor: pointer;\n }\n"])));
|
|
10503
|
+
var TooltipText$1$1$1 = styled__default.span(_templateObject2$3$1$1$1 || (_templateObject2$3$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n visibility: ", ";\n opacity: ", ";\n transition: opacity 0.2s ease-in-out;\n background-color: ", ";\n color: ", ";\n border: ", ";\n border-radius: 8px;\n padding: 8px 16px;\n font-size: ", ";\n font-weight: ", ";\n max-width: 300px;\n width: max-content;\n position: fixed;\n z-index: 999;\n pointer-events: none;\n"])), function (_ref) {
|
|
10504
|
+
var $visible = _ref.$visible;
|
|
10505
|
+
return $visible ? 'visible' : 'hidden';
|
|
10506
|
+
}, function (_ref2) {
|
|
10507
|
+
var $visible = _ref2.$visible;
|
|
10508
|
+
return $visible ? 1 : 0;
|
|
10509
|
+
}, function (_ref3) {
|
|
10510
|
+
var $bgColor = _ref3.$bgColor,
|
|
10511
|
+
theme = _ref3.theme;
|
|
10512
|
+
return $bgColor || theme.brand.light;
|
|
10513
|
+
}, function (_ref4) {
|
|
10514
|
+
var $color = _ref4.$color,
|
|
10515
|
+
theme = _ref4.theme;
|
|
10516
|
+
return $color != null ? $color : theme.text.medium;
|
|
10517
|
+
}, function (_ref5) {
|
|
10518
|
+
var $border = _ref5.$border;
|
|
10519
|
+
return $border != null ? $border : 'none';
|
|
10520
|
+
}, function (_ref6) {
|
|
10521
|
+
var $fontSize = _ref6.$fontSize;
|
|
10522
|
+
return $fontSize != null ? $fontSize : '12px';
|
|
10523
|
+
}, function (_ref7) {
|
|
10524
|
+
var $fontWeight = _ref7.$fontWeight;
|
|
10525
|
+
return $fontWeight != null ? $fontWeight : '500';
|
|
10526
|
+
});
|
|
10527
|
+
var _templateObject$4$1$1$1, _templateObject2$4$1$1$1, _templateObject3$1$1$1$1, _templateObject4$9$1$1, _templateObject5$8$1$1, _templateObject6$7$1$1, _templateObject7$5$1$1, _templateObject8$4$1$1, _templateObject9$4$1$1, _templateObject10$4$1$1, _templateObject11$3$1$1, _templateObject12$2$1$1;
|
|
10528
|
+
var TooltipContainer$1$1$1 = styled__default.div(_templateObject$4$1$1$1 || (_templateObject$4$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n position: absolute;\n z-index: 10;\n align-items: center;\n justify-content: center;\n visibility: hidden;\n opacity: 0;\n transition: opacity 0.3s;\n border-radius: ", ";\n padding: 6px 8px;\n border: ", ";\n min-width: ", ";\n min-width: ", ";\n background-color: ", ";\n gap: ", ";\n\n ", "\n\n &::after {\n content: '';\n position: absolute;\n width: 16px;\n height: 8px;\n background-color: ", ";\n clip-path: polygon(50% 0%, 0% 100%, 100% 100%);\n\n ", "\n }\n"])), function (_ref) {
|
|
10529
|
+
var $borderRadius = _ref.$borderRadius;
|
|
10530
|
+
return $borderRadius != null ? $borderRadius : '4px';
|
|
10531
|
+
}, function (_ref2) {
|
|
10532
|
+
var $border = _ref2.$border;
|
|
10533
|
+
return $border;
|
|
10534
|
+
}, function (_ref3) {
|
|
10535
|
+
var $minWidth = _ref3.$minWidth;
|
|
10536
|
+
return $minWidth != null ? $minWidth : 'auto';
|
|
10537
|
+
}, function (_ref4) {
|
|
10538
|
+
var $maxWidth = _ref4.$maxWidth;
|
|
10539
|
+
return $maxWidth != null ? $maxWidth : 'auto';
|
|
10540
|
+
}, function (_ref5) {
|
|
10541
|
+
var $background = _ref5.$background,
|
|
10542
|
+
theme = _ref5.theme;
|
|
10543
|
+
return $background != null ? $background : theme.accent.light_1;
|
|
10544
|
+
}, function (_ref6) {
|
|
10545
|
+
var $gap = _ref6.$gap;
|
|
10546
|
+
return $gap != null ? $gap : '16px';
|
|
10547
|
+
}, function (_ref7) {
|
|
10548
|
+
var $tooltipPosition = _ref7.$tooltipPosition,
|
|
10549
|
+
$iconSize = _ref7.$iconSize,
|
|
10550
|
+
$tooltipTop = _ref7.$tooltipTop;
|
|
10551
|
+
var vertical = $tooltipPosition.startsWith('top') ? "bottom: " + ($tooltipTop != null ? $tooltipTop : "calc(50% + " + ($iconSize + 2) + "px)") + ";" : "top: " + ($tooltipTop != null ? $tooltipTop : "calc(50% + " + ($iconSize + 2) + "px)") + ";";
|
|
10552
|
+
var horizontal = $tooltipPosition.endsWith('Left') ? styled.css(_templateObject2$4$1$1$1 || (_templateObject2$4$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["left: calc(100% + 10px); transform: translateX(-99%);"]))) : $tooltipPosition.endsWith('Center') ? styled.css(_templateObject3$1$1$1$1 || (_templateObject3$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["left: 50%; transform: translateX(-50%);"]))) : styled.css(_templateObject4$9$1$1 || (_templateObject4$9$1$1 = _taggedTemplateLiteralLoose$1$1$1(["right: calc(100% + 10px); transform: translateX(99%);"])));
|
|
10553
|
+
return styled.css(_templateObject5$8$1$1 || (_templateObject5$8$1$1 = _taggedTemplateLiteralLoose$1$1$1(["", " ", ";"])), vertical, horizontal);
|
|
10554
|
+
}, function (_ref8) {
|
|
10555
|
+
var $background = _ref8.$background,
|
|
10556
|
+
theme = _ref8.theme;
|
|
10557
|
+
return $background != null ? $background : theme.accent.light_1;
|
|
10558
|
+
}, function (_ref9) {
|
|
10559
|
+
var $tooltipPosition = _ref9.$tooltipPosition;
|
|
10560
|
+
if ($tooltipPosition.startsWith('top')) {
|
|
10561
|
+
return $tooltipPosition.endsWith('Left') ? styled.css(_templateObject6$7$1$1 || (_templateObject6$7$1$1 = _taggedTemplateLiteralLoose$1$1$1(["top: 100%; right: 10px; transform: rotate(180deg);"]))) : $tooltipPosition.endsWith('Right') ? styled.css(_templateObject7$5$1$1 || (_templateObject7$5$1$1 = _taggedTemplateLiteralLoose$1$1$1(["top: 100%; left: 10px; transform: rotate(180deg);"]))) : styled.css(_templateObject8$4$1$1 || (_templateObject8$4$1$1 = _taggedTemplateLiteralLoose$1$1$1(["top: 100%; left: 50%; transform: translateX(-50%) rotate(180deg);"])));
|
|
10562
|
+
} else {
|
|
10563
|
+
return $tooltipPosition.endsWith('Left') ? styled.css(_templateObject9$4$1$1 || (_templateObject9$4$1$1 = _taggedTemplateLiteralLoose$1$1$1(["bottom: 100%; right: 10px;"]))) : $tooltipPosition.endsWith('Right') ? styled.css(_templateObject10$4$1$1 || (_templateObject10$4$1$1 = _taggedTemplateLiteralLoose$1$1$1(["bottom: 100%; left: 10px;"]))) : styled.css(_templateObject11$3$1$1 || (_templateObject11$3$1$1 = _taggedTemplateLiteralLoose$1$1$1(["bottom: 100%; left: 50%; transform: translateX(-50%);"])));
|
|
10564
|
+
}
|
|
10565
|
+
});
|
|
10566
|
+
var TooltipWrapper$1$1$1$1 = styled__default.div(_templateObject12$2$1$1 || (_templateObject12$2$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n position: relative;\n align-items: center;\n cursor: pointer;\n\n &:hover ", " {\n visibility: visible;\n opacity: 1;\n }\n"])), TooltipContainer$1$1$1);
|
|
10567
|
+
var _templateObject$5$1$1$1;
|
|
10568
|
+
var BreadCrum$1$1$1 = styled__default.span(_templateObject$5$1$1$1 || (_templateObject$5$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n font-weight: 400;\n font-size: 12px;\n color: ", ";\n line-height: 100%;\n text-align: center;\n opacity: ", ";\n \n &:hover {\n text-decoration: ", ";\n cursor: ", ";\n color: ", ";\n }\n"])), function (_ref) {
|
|
10569
|
+
var $color = _ref.$color,
|
|
10570
|
+
theme = _ref.theme;
|
|
10571
|
+
return $color ? $color : theme.text.medium;
|
|
10572
|
+
}, function (_ref2) {
|
|
10573
|
+
var $disabled = _ref2.$disabled;
|
|
10574
|
+
return $disabled ? '0.6' : '1';
|
|
10575
|
+
}, function (_ref3) {
|
|
10576
|
+
var $hover = _ref3.$hover,
|
|
10577
|
+
$disabled = _ref3.$disabled;
|
|
10578
|
+
return $hover && !$disabled && 'underline';
|
|
10579
|
+
}, function (_ref4) {
|
|
10580
|
+
var $hover = _ref4.$hover,
|
|
10581
|
+
$disabled = _ref4.$disabled;
|
|
10582
|
+
return $hover && !$disabled ? 'pointer' : 'default';
|
|
10583
|
+
}, function (_ref5) {
|
|
10584
|
+
var $hover = _ref5.$hover,
|
|
10585
|
+
$disabled = _ref5.$disabled,
|
|
10586
|
+
theme = _ref5.theme;
|
|
10587
|
+
return $hover && !$disabled && theme["default"].primary;
|
|
10588
|
+
});
|
|
10589
|
+
var _templateObject$6$1$1$1;
|
|
10590
|
+
var fontFaces$1$1$1 = styled.css(_templateObject$6$1$1$1 || (_templateObject$6$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n @font-face {\n font-family: 'NotoSans';\n font-weight: 200;\n font-style: normal;\n src: url('./NotoSans-ExtraLight.woff') format('woff');\n font-display: fallback;\n }\n\n @font-face {\n font-family: 'NotoSans';\n font-weight: 300;\n font-style: normal;\n src: url('./NotoSans-Light.woff') format('woff');\n font-display: fallback;\n }\n @font-face {\n font-family: 'NotoSans';\n font-weight: 400;\n font-style: normal;\n src: url('./NotoSans-Regular.woff') format('woff');\n font-display: fallback;\n }\n @font-face {\n font-family: 'NotoSans';\n font-weight: 400;\n font-style: italic;\n src: url('./NotoSans-italic.woff') format('woff');\n font-display: fallback;\n }\n\n @font-face {\n font-family: 'NotoSans';\n font-weight: 500;\n font-style: normal;\n src: url('./NotoSans-Medium.woff') format('woff');\n font-display: fallback;\n }\n\n @font-face {\n font-family: 'NotoSans';\n font-weight: 600;\n font-style: normal;\n src: url('./NotoSans-SemiBold.woff') format('woff');\n font-display: fallback;\n }\n @font-face {\n font-family: 'NotoSans';\n font-weight: 700;\n font-style: normal;\n src: url('./NotoSans-Bold.woff') format('woff');\n font-display: fallback;\n }\n @font-face {\n font-family: 'NotoSans';\n font-weight: 800;\n font-style: normal;\n src: url('./NotoSans-ExtraBold.woff') format('woff');\n font-display: fallback;\n }\n"])));
|
|
10591
|
+
var GlobalFonts$1$1$1 = {
|
|
10592
|
+
bold: 'NotoSans, sans-serif',
|
|
10593
|
+
regular: 'NotoSans, sans-serif',
|
|
10594
|
+
light: 'NotoSans, sans-serif'
|
|
10595
|
+
};
|
|
10596
|
+
var _templateObject$7$1$1$1, _templateObject2$5$1$1$1, _templateObject3$2$1$1$1, _templateObject4$1$1$1$1, _templateObject5$1$1$1$1, _templateObject6$1$1$1$1;
|
|
10597
|
+
var spin$3$1$1 = styled.keyframes(_templateObject$7$1$1$1 || (_templateObject$7$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
10598
|
+
var Spinner$2$1$1 = styled__default.div(_templateObject2$5$1$1$1 || (_templateObject2$5$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: ", "px;\n height: ", "px;\n border: ", "px solid #ddd;\n border-top-color: ", ";\n border-radius: 50%;\n animation: fadeIn 0.3s ease-in-out forwards, ", " 1s linear infinite;\n"])), function (_ref) {
|
|
10599
|
+
var $size = _ref.$size;
|
|
10600
|
+
return $size;
|
|
10601
|
+
}, function (_ref2) {
|
|
10602
|
+
var $size = _ref2.$size;
|
|
10603
|
+
return $size;
|
|
10604
|
+
}, function (_ref3) {
|
|
10605
|
+
var $size = _ref3.$size;
|
|
10606
|
+
return $size / 4;
|
|
10607
|
+
}, function (_ref4) {
|
|
10608
|
+
var $color = _ref4.$color;
|
|
10609
|
+
return $color;
|
|
10610
|
+
}, spin$3$1$1);
|
|
10611
|
+
var LoaderWrapper$1$1$1 = styled__default.div(_templateObject3$2$1$1$1 || (_templateObject3$2$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n align-items: center;\n margin-left: ", ";\n margin-right: ", ";\n transition: opacity 0.3s ease-in-out;\n"])), function (_ref5) {
|
|
10612
|
+
var $loaderPosition = _ref5.$loaderPosition;
|
|
10613
|
+
return $loaderPosition === 'right' ? '4px' : '0';
|
|
10614
|
+
}, function (_ref6) {
|
|
10615
|
+
var $loaderPosition = _ref6.$loaderPosition;
|
|
10616
|
+
return $loaderPosition === 'left' ? '4px' : '0';
|
|
10617
|
+
});
|
|
10618
|
+
var Container$1$1$1$1 = styled__default.div(_templateObject4$1$1$1$1 || (_templateObject4$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n flex-direction: ", ";\n gap: ", ";\n svg {\n cursor: ", ";\n }\n"])), function (_ref7) {
|
|
10619
|
+
var $iconPosition = _ref7.$iconPosition;
|
|
10620
|
+
return $iconPosition === 'right' ? 'row-reverse' : 'row';
|
|
10621
|
+
}, function (_ref8) {
|
|
10622
|
+
var gap = _ref8.gap;
|
|
10623
|
+
return gap || '4px';
|
|
10624
|
+
}, function (_ref9) {
|
|
10625
|
+
var cursor = _ref9.cursor;
|
|
10626
|
+
return cursor;
|
|
10627
|
+
});
|
|
10628
|
+
var StyledButton$1$1$1 = styled__default.button(_templateObject5$1$1$1$1 || (_templateObject5$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n pointer-events: ", ";\n cursor: ", ";\n height: max-content;\n min-height: max-content;\n width: ", ";\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) {
|
|
10629
|
+
var $disabled = _ref10.$disabled;
|
|
10630
|
+
return $disabled ? 'none' : 'auto';
|
|
10631
|
+
}, function (_ref11) {
|
|
10632
|
+
var $disabled = _ref11.$disabled;
|
|
10633
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
10634
|
+
}, function (_ref12) {
|
|
10635
|
+
var $buttonWidth = _ref12.$buttonWidth;
|
|
10636
|
+
return $buttonWidth;
|
|
10637
|
+
}, function (_ref13) {
|
|
10638
|
+
var $borderRadius = _ref13.$borderRadius;
|
|
10639
|
+
return $borderRadius || '8px';
|
|
10640
|
+
}, function (_ref14) {
|
|
10641
|
+
var $size = _ref14.$size,
|
|
10642
|
+
$padding = _ref14.$padding;
|
|
10643
|
+
return $size === 'small' ? '8px 12.2px' : $size === 'medium' ? '10px 19px' : $size === 'large' ? '12px 24.5px' : $size === 'custom' ? $padding : '10px 16px';
|
|
10644
|
+
}, function (_ref15) {
|
|
10645
|
+
var _$borderHover$match;
|
|
10646
|
+
var $variant = _ref15.$variant,
|
|
10647
|
+
$disabled = _ref15.$disabled,
|
|
10648
|
+
$borderHover = _ref15.$borderHover,
|
|
10649
|
+
$borderDefault = _ref15.$borderDefault,
|
|
10650
|
+
$background = _ref15.$background,
|
|
10651
|
+
$color = _ref15.$color,
|
|
10652
|
+
$colorHover = _ref15.$colorHover,
|
|
10653
|
+
theme = _ref15.theme;
|
|
10654
|
+
switch ($variant) {
|
|
10655
|
+
case 'primary':
|
|
10656
|
+
return "\n background: " + ($disabled ? theme.disabled.primary : theme["default"].primary) + ";\n color: " + theme.text.white + ";\n border: " + ($disabled ? "1px solid " + theme.disabled.primary : "1px solid " + theme["default"].primary) + ";\n &:hover {\n background: " + theme.hover.primary + ";\n border: 1px solid " + theme.hover.primary + ";\n }\n ";
|
|
10657
|
+
case 'secondary':
|
|
10658
|
+
return "\n background: " + ($disabled ? theme.disabled.secondary : theme["default"].secondary) + "; \n color: " + theme.text.white + ";\n border: " + ($disabled ? "1px solid " + theme.disabled.secondary : "1px solid " + theme["default"].secondary) + ";\n &:hover{\n background: " + theme.hover.secondary + ";\n border: 1px solid " + theme.hover.secondary + ";\n }\n ";
|
|
10659
|
+
case 'tertiary':
|
|
10660
|
+
return "\n background: " + theme["default"].tertiary + ";\n color: " + ($disabled ? theme.disabled.primary : theme["default"].primary) + ";\n border: " + ($borderDefault ? "" + $borderDefault : "1px solid " + theme["default"].tertiary) + ";\n &:hover {\n color: " + (!$disabled && $borderHover ? (_$borderHover$match = $borderHover.match(/#\w+/)) === null || _$borderHover$match === void 0 ? void 0 : _$borderHover$match[0] : theme.hover.primary) + ";\n border: " + ($borderHover ? $borderHover : "1px solid " + theme.hover.primary) + ";\n }\n ";
|
|
10661
|
+
case 'error':
|
|
10662
|
+
return "\n background: " + ($disabled ? theme.disabled.error : theme["default"].error) + "; \n color: " + theme.text.white + ";\n border: " + ($disabled ? "1px solid " + theme.disabled.error : "1px solid " + theme["default"].error) + ";\n &:hover{\n background: " + theme.hover.error + ";\n border: 1px solid " + theme.hover.error + ";\n }\n ";
|
|
10663
|
+
case 'outline-primary':
|
|
10664
|
+
return "\n background: " + theme["default"].tertiary + ";\n color: " + ($disabled ? theme.disabled.primary : theme["default"].primary) + ";\n border: " + ($disabled ? "1px solid " + theme.disabled.primary : "1px solid " + theme["default"].primary) + ";\n &:hover{\n border: 1px solid " + theme.hover.primary + ";\n color: " + theme.text.white + ";\n background: " + theme.hover.primary + ";\n }\n ";
|
|
10665
|
+
case 'outline-secondary':
|
|
10666
|
+
return "\n background: " + theme["default"].tertiary + ";\n color: " + ($disabled ? theme.disabled.secondary : theme["default"].secondary) + ";\n border: " + ($disabled ? "1px solid " + theme.disabled.secondary : "1px solid " + theme["default"].secondary) + ";\n &:hover{\n border: 1px solid " + theme.hover.secondary + ";\n color: " + theme.text.white + ";\n background: " + theme.hover.secondary + ";\n }\n ";
|
|
10667
|
+
case 'outline-error':
|
|
10668
|
+
return "\n background: " + theme["default"].tertiary + ";\n color: " + ($disabled ? theme.disabled.error : theme["default"].error) + ";\n border: " + ($disabled ? "1px solid " + theme.disabled.error : "1px solid " + theme["default"].error) + ";\n &:hover{\n border: 1px solid " + theme.hover.error + ";\n color: " + theme.text.white + ";\n background: " + theme.hover.error + ";\n }\n ";
|
|
10669
|
+
case 'custom':
|
|
10670
|
+
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 ";
|
|
10671
|
+
default:
|
|
10672
|
+
return '';
|
|
10673
|
+
}
|
|
10674
|
+
}, function (_ref16) {
|
|
10675
|
+
var color = _ref16.color;
|
|
10676
|
+
return color;
|
|
10677
|
+
});
|
|
10678
|
+
var ButtonText$1$1$1 = styled__default.span(_templateObject6$1$1$1$1 || (_templateObject6$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n white-space: nowrap;\n"])), function (_ref17) {
|
|
10679
|
+
var $fontFamily = _ref17.$fontFamily;
|
|
10680
|
+
return $fontFamily ? $fontFamily : GlobalFonts$1$1$1.bold;
|
|
10681
|
+
}, function (_ref18) {
|
|
10682
|
+
var $size = _ref18.$size,
|
|
10683
|
+
$fontSize = _ref18.$fontSize;
|
|
10684
|
+
return $size === 'small' ? '14px' : $size === 'medium' ? '16px' : $size === 'large' ? '18px' : $size === 'custom' ? $fontSize : '16px';
|
|
10685
|
+
}, function (_ref19) {
|
|
10686
|
+
var $fontWeight = _ref19.$fontWeight,
|
|
10687
|
+
$size = _ref19.$size;
|
|
10688
|
+
return $size === 'custom' && $fontWeight || '500';
|
|
10689
|
+
}, function (_ref20) {
|
|
10690
|
+
var $size = _ref20.$size,
|
|
10691
|
+
$fontSize = _ref20.$fontSize;
|
|
10692
|
+
return $size === 'small' ? '14px' : $size === 'medium' ? '16px' : $size === 'large' ? '18px' : $size === 'custom' ? $fontSize : '16px';
|
|
10693
|
+
});
|
|
10694
|
+
var _templateObject$8$1$1$1;
|
|
10695
|
+
var InnerContent$1$1$1 = styled__default.div(_templateObject$8$1$1$1 || (_templateObject$8$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n gap: 12px;\n overflow-x: auto;\n scroll-behavior: smooth;\n scrollbar-width: none;\n ms-overflow-style: none;\n white-space: nowrap;\n padding: ", "; \n margin: 0 10px;\n"])), function (_ref) {
|
|
10696
|
+
var $isScrollable = _ref.$isScrollable;
|
|
10697
|
+
return $isScrollable ? '0 12px' : '0';
|
|
10698
|
+
});
|
|
10699
|
+
var _templateObject$9$1$1$1, _templateObject2$6$1$1$1, _templateObject3$3$1$1$1, _templateObject4$2$1$1$1, _templateObject5$2$1$1$1, _templateObject6$2$1$1$1, _templateObject7$1$1$1$1, _templateObject8$1$1$1$1, _templateObject9$1$1$1$1, _templateObject10$1$1$1$1, _templateObject11$1$1$1$1, _templateObject12$1$1$1$1, _templateObject13$1$1$1, _templateObject14$1$1$1, _templateObject15$1$1$1, _templateObject16$1$1$1, _templateObject17$1$1$1, _templateObject18$1$1$1, _templateObject19$1$1$1, _templateObject20$1$1$1, _templateObject21$1$1$1;
|
|
10700
|
+
var DatePickerContainer$1$1$1 = styled__default.div(_templateObject$9$1$1$1 || (_templateObject$9$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: 100%;\n display: flex;\n flex-direction: column;\n position: relative;\n"])));
|
|
10701
|
+
var CalendarContainer$1$1$1 = styled__default.div(_templateObject2$6$1$1$1 || (_templateObject2$6$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n overflow: auto;\n display: flex;\n flex-direction: row;\n background: ", ";\n position: absolute;\n border: ", ";\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"])), function (_ref) {
|
|
10702
|
+
var theme = _ref.theme;
|
|
10703
|
+
return theme.accent.light_2;
|
|
10704
|
+
}, function (_ref2) {
|
|
10705
|
+
var theme = _ref2.theme;
|
|
10706
|
+
return "1px solid " + theme.border.medium;
|
|
10707
|
+
});
|
|
10708
|
+
var Calendar$1$1$1$1 = styled__default.div(_templateObject3$3$1$1$1 || (_templateObject3$3$1$1$1 = _taggedTemplateLiteralLoose$1$1$1([""])));
|
|
10709
|
+
var CalendarTime$1$1$1 = styled__default.div(_templateObject4$2$1$1$1 || (_templateObject4$2$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n border: ", ";\n border-radius: 4px;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n padding: 8px;\n"])), function (_ref3) {
|
|
10710
|
+
var theme = _ref3.theme;
|
|
10711
|
+
return "1px solid " + theme.border.medium;
|
|
10712
|
+
});
|
|
10713
|
+
var StartDate$1$1$1 = styled__default.div(_templateObject5$2$1$1$1 || (_templateObject5$2$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n flex-direction: column;\n gap: 16px;\n padding-bottom: 4px;\n"])));
|
|
10714
|
+
var SelectedStart$1$1$1 = styled__default.div(_templateObject6$2$1$1$1 || (_templateObject6$2$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n gap: 4px;\n color: ", ";\n"])), function (_ref4) {
|
|
10715
|
+
var theme = _ref4.theme;
|
|
10716
|
+
return theme.text.medium;
|
|
10717
|
+
});
|
|
10718
|
+
var CurrentDate$1$1$1 = styled__default.p(_templateObject7$1$1$1$1 || (_templateObject7$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n font-size: 12px;\n"])));
|
|
10719
|
+
var CurrentTime$1$1$1 = styled__default.div(_templateObject8$1$1$1$1 || (_templateObject8$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n font-family: NotoSans, sans-serif;\n font-weight: 500;\n font-size: 14px;\n color: ", ";\n"])), function (_ref5) {
|
|
10720
|
+
var theme = _ref5.theme;
|
|
10721
|
+
return theme.text.medium;
|
|
10722
|
+
});
|
|
10723
|
+
var Selectedtime$1$1$1 = styled__default.div(_templateObject9$1$1$1$1 || (_templateObject9$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n color: ", ";\n gap: 8px;\n"])), function (_ref6) {
|
|
10724
|
+
var theme = _ref6.theme;
|
|
10725
|
+
return theme.text.medium;
|
|
10726
|
+
});
|
|
10727
|
+
var Line$1$1$1 = styled__default.div(_templateObject10$1$1$1$1 || (_templateObject10$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: 100%;\n padding-top: 10px;\n padding-bottom: 10px;\n"])));
|
|
10728
|
+
var Zones$1$1$1 = styled__default.div(_templateObject11$1$1$1$1 || (_templateObject11$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n justify-content: space-between;\n"])));
|
|
10729
|
+
var CalendarHeader$1$1$1 = styled__default.div(_templateObject12$1$1$1$1 || (_templateObject12$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 10px;\n"])));
|
|
10730
|
+
var CalendarMonthYear$1$1$1 = styled__default.span(_templateObject13$1$1$1 || (_templateObject13$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n flex-direction: column;\n color: ", ";\n justify-content: center;\n align-items: center;\n"])), function (_ref7) {
|
|
10731
|
+
var theme = _ref7.theme;
|
|
10732
|
+
return theme.text.medium;
|
|
10733
|
+
});
|
|
10734
|
+
var CalendarContent$1$1$1 = styled__default.div(_templateObject14$1$1$1 || (_templateObject14$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: grid;\n grid-template-columns: repeat(7, 1fr);\n gap: 5px;\n padding: 10px;\n"])));
|
|
10735
|
+
var Button$1$1$1 = styled__default.div(_templateObject15$1$1$1 || (_templateObject15$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n background: ", ";\n color: ", ";\n border: none;\n border-radius: 5px;\n padding: 5px 10px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n height: ", ";\n\n svg {\n cursor: pointer;\n }\n"])), function (_ref8) {
|
|
10736
|
+
var theme = _ref8.theme;
|
|
10737
|
+
return theme["default"].secondary;
|
|
10738
|
+
}, function (_ref9) {
|
|
10739
|
+
var theme = _ref9.theme;
|
|
10740
|
+
return theme.text.white;
|
|
10741
|
+
}, function (_ref10) {
|
|
10742
|
+
var $size = _ref10.$size;
|
|
10743
|
+
return $size ? $size + "px" : '30px';
|
|
10744
|
+
}, function (_ref11) {
|
|
10745
|
+
var $size = _ref11.$size;
|
|
10746
|
+
return $size ? $size + "px" : '30px';
|
|
10747
|
+
});
|
|
10748
|
+
var CalendarDates$1$1$1 = styled__default.div(_templateObject16$1$1$1 || (_templateObject16$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: ", ";\n height: ", ";\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n cursor: ", "; \n font-size: 12px;\n opacity: ", "; \n\n background-color: ", ";\n\n color: ", ";\n\n &:hover {\n background-color: ", ";\n }\n"])), function (_ref12) {
|
|
10749
|
+
var $size = _ref12.$size;
|
|
10750
|
+
return $size ? $size + "px" : '30px';
|
|
10751
|
+
}, function (_ref13) {
|
|
10752
|
+
var $size = _ref13.$size;
|
|
10753
|
+
return $size ? $size + "px" : '30px';
|
|
10754
|
+
}, function (_ref14) {
|
|
10755
|
+
var $isFuture = _ref14.$isFuture,
|
|
10756
|
+
$futureDateTime = _ref14.$futureDateTime;
|
|
10757
|
+
return !$futureDateTime && $isFuture ? 'default' : 'pointer';
|
|
10758
|
+
}, function (_ref15) {
|
|
10759
|
+
var $isFuture = _ref15.$isFuture,
|
|
10760
|
+
$futureDateTime = _ref15.$futureDateTime;
|
|
10761
|
+
return !$futureDateTime && $isFuture ? 0.5 : 1;
|
|
10762
|
+
}, function (_ref16) {
|
|
10763
|
+
var $selected = _ref16.$selected,
|
|
10764
|
+
$inRange = _ref16.$inRange,
|
|
10765
|
+
theme = _ref16.theme;
|
|
10766
|
+
return $selected ? theme["default"].primary : $inRange ? theme["default"].primary : theme["default"].tertiary;
|
|
10767
|
+
}, function (_ref17) {
|
|
10768
|
+
var $selected = _ref17.$selected,
|
|
10769
|
+
$inRange = _ref17.$inRange,
|
|
10770
|
+
theme = _ref17.theme;
|
|
10771
|
+
return $selected ? theme.text.white : $inRange ? theme.text.white : theme.text.medium;
|
|
10772
|
+
}, function (_ref18) {
|
|
10773
|
+
var $selected = _ref18.$selected,
|
|
10774
|
+
$inRange = _ref18.$inRange,
|
|
10775
|
+
$isFuture = _ref18.$isFuture,
|
|
10776
|
+
$futureDateTime = _ref18.$futureDateTime,
|
|
10777
|
+
theme = _ref18.theme;
|
|
10778
|
+
return !$futureDateTime && $isFuture ? 'transparent' : $selected ? theme.disabled.primary : $inRange ? theme.disabled.primary : theme.disabled.primary;
|
|
10779
|
+
});
|
|
10780
|
+
var Year$1$1$1 = styled__default.div(_templateObject17$1$1$1 || (_templateObject17$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n font-family: NotoSans, sans-serif;\n font-weight: 500;\n font-size: 12px;\n"])));
|
|
10781
|
+
var Month$1$1$1 = styled__default.div(_templateObject18$1$1$1 || (_templateObject18$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n font-family: NotoSans, sans-serif;\n font-weight: 600;\n font-size: 14px;\n"])));
|
|
10782
|
+
var InputWrapper$2$1$1 = styled__default.div(_templateObject19$1$1$1 || (_templateObject19$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n gap: 24px;\n"])));
|
|
10783
|
+
var TimeInputWrapper$1$1$1 = styled__default.div(_templateObject20$1$1$1 || (_templateObject20$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n position: relative;\n display: flex;\n align-items: center;\n"])));
|
|
10784
|
+
var StyledInput$1$1$1 = styled__default.input(_templateObject21$1$1$1 || (_templateObject21$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n outline: none;\n width: 60px;\n height: 30px;\n text-align: center;\n font-size: 16px;\n border-radius: 5px;\n background: ", ";\n border: ", ";\n color: ", ";\n"])), function (_ref19) {
|
|
10785
|
+
var theme = _ref19.theme;
|
|
10786
|
+
return theme.text.white;
|
|
10787
|
+
}, function (_ref20) {
|
|
10788
|
+
var theme = _ref20.theme;
|
|
10789
|
+
return "1px solid " + theme.border.extraBold;
|
|
10790
|
+
}, function (_ref21) {
|
|
10791
|
+
var theme = _ref21.theme;
|
|
10792
|
+
return theme.text.dark;
|
|
10793
|
+
});
|
|
10794
|
+
var _templateObject$a$1$1$1, _templateObject2$7$1$1$1, _templateObject3$4$1$1$1, _templateObject4$3$1$1$1, _templateObject5$3$1$1$1, _templateObject6$3$1$1$1;
|
|
10795
|
+
var OptionContainer$2$1$1 = styled__default.div(_templateObject$a$1$1$1 || (_templateObject$a$1$1$1 = _taggedTemplateLiteralLoose$1$1$1([""])));
|
|
10796
|
+
var OptionItem$2$1$1 = styled__default.div(_templateObject2$7$1$1$1 || (_templateObject2$7$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n border-bottom: ", ";\n"])), function (_ref) {
|
|
10797
|
+
var $optionBorder = _ref.$optionBorder,
|
|
10798
|
+
$isborder = _ref.$isborder,
|
|
10799
|
+
theme = _ref.theme;
|
|
10800
|
+
return $isborder ? $optionBorder || "1px solid " + theme.border.extraLight : '';
|
|
10801
|
+
});
|
|
10802
|
+
var OptionLabel$2$1$1 = styled__default.label(_templateObject3$4$1$1$1 || (_templateObject3$4$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n cursor: pointer;\n display: flex;\n gap: 8px;\n padding: 8px 12px;\n word-break: break-word;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n font-family: NotoSans, sans-serif;\n font-weight: 500;\n font-size: 14px;\n line-height: 14px;\n color: ", ";\n"])), function (_ref2) {
|
|
10803
|
+
var $optionColor = _ref2.$optionColor,
|
|
10804
|
+
theme = _ref2.theme;
|
|
10805
|
+
switch ($optionColor) {
|
|
10806
|
+
case 'dark':
|
|
10807
|
+
return theme.text.dark;
|
|
10808
|
+
case 'medium':
|
|
10809
|
+
return theme.text.medium;
|
|
10810
|
+
case 'light':
|
|
10811
|
+
return theme.text.light;
|
|
10812
|
+
case 'white':
|
|
10813
|
+
return theme.text.white;
|
|
10814
|
+
case 'warning':
|
|
10815
|
+
return theme["default"].warning;
|
|
10816
|
+
case 'info':
|
|
10817
|
+
return theme["default"].info;
|
|
10818
|
+
case 'success':
|
|
10819
|
+
return theme["default"].success;
|
|
10820
|
+
case 'error':
|
|
10821
|
+
return theme["default"].error;
|
|
10822
|
+
default:
|
|
10823
|
+
return $optionColor || theme.text.medium;
|
|
10824
|
+
}
|
|
10825
|
+
});
|
|
10826
|
+
var SearchContainer$4$1$1 = styled__default.div(_templateObject4$3$1$1$1 || (_templateObject4$3$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: 100%;\n height: auto;\n background: ", ";\n border-bottom: ", ";\n border-radius: ", ";\n padding: 8px 8px;\n display: flex;\n align-items: center;\n gap: 8px;\n"])), function (_ref3) {
|
|
10827
|
+
var $background = _ref3.$background,
|
|
10828
|
+
theme = _ref3.theme;
|
|
10829
|
+
switch ($background) {
|
|
10830
|
+
case 'dark':
|
|
10831
|
+
return theme.text.dark;
|
|
10832
|
+
case 'medium':
|
|
10833
|
+
return theme.text.medium;
|
|
10834
|
+
case 'light':
|
|
10835
|
+
return theme.text.light;
|
|
10836
|
+
case 'white':
|
|
10837
|
+
return theme.text.white;
|
|
10838
|
+
case 'warning':
|
|
10839
|
+
return theme["default"].warning;
|
|
10840
|
+
case 'info':
|
|
10841
|
+
return theme["default"].info;
|
|
10842
|
+
case 'success':
|
|
10843
|
+
return theme["default"].success;
|
|
10844
|
+
case 'error':
|
|
10845
|
+
return theme["default"].error;
|
|
10846
|
+
default:
|
|
10847
|
+
return $background;
|
|
10848
|
+
}
|
|
10849
|
+
}, function (_ref4) {
|
|
10850
|
+
var $borderBottom = _ref4.$borderBottom;
|
|
10851
|
+
return $borderBottom || 'none';
|
|
10852
|
+
}, function (_ref5) {
|
|
10853
|
+
var $borderRadius = _ref5.$borderRadius;
|
|
10854
|
+
return $borderRadius || '8px';
|
|
10855
|
+
});
|
|
10856
|
+
var SearchBar$4$1$1 = styled__default.input(_templateObject5$3$1$1$1 || (_templateObject5$3$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n border: none;\n outline: none;\n width: 100%;\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n font-size: 14px;\n line-height: 14px;\n background: ", ";\n color: ", ";\n &::placeholder {\n color: ", ";\n font-style: italic;\n }\n"])), function (_ref6) {
|
|
10857
|
+
var theme = _ref6.theme;
|
|
10858
|
+
return theme["default"].tertiary;
|
|
10859
|
+
}, function (_ref7) {
|
|
10860
|
+
var $inputColor = _ref7.$inputColor,
|
|
10861
|
+
theme = _ref7.theme;
|
|
10862
|
+
switch ($inputColor) {
|
|
10863
|
+
case 'dark':
|
|
10864
|
+
return theme.text.dark;
|
|
10865
|
+
case 'medium':
|
|
10866
|
+
return theme.text.medium;
|
|
10867
|
+
case 'light':
|
|
10868
|
+
return theme.text.light;
|
|
10869
|
+
case 'white':
|
|
10870
|
+
return theme.text.white;
|
|
10871
|
+
case 'warning':
|
|
10872
|
+
return theme["default"].warning;
|
|
10873
|
+
case 'info':
|
|
10874
|
+
return theme["default"].info;
|
|
10875
|
+
case 'success':
|
|
10876
|
+
return theme["default"].success;
|
|
10877
|
+
case 'error':
|
|
10878
|
+
return theme["default"].error;
|
|
10879
|
+
default:
|
|
10880
|
+
return $inputColor;
|
|
10881
|
+
}
|
|
10882
|
+
}, function (_ref8) {
|
|
10883
|
+
var $placeholderColor = _ref8.$placeholderColor,
|
|
10884
|
+
theme = _ref8.theme;
|
|
10885
|
+
switch ($placeholderColor) {
|
|
10886
|
+
case 'dark':
|
|
10887
|
+
return theme.text.dark;
|
|
10888
|
+
case 'medium':
|
|
10889
|
+
return theme.text.medium;
|
|
10890
|
+
case 'light':
|
|
10891
|
+
return theme.text.light;
|
|
10892
|
+
case 'white':
|
|
10893
|
+
return theme.text.white;
|
|
10894
|
+
case 'warning':
|
|
10895
|
+
return theme["default"].warning;
|
|
10896
|
+
case 'info':
|
|
10897
|
+
return theme["default"].info;
|
|
10898
|
+
case 'success':
|
|
10899
|
+
return theme["default"].success;
|
|
10900
|
+
case 'error':
|
|
10901
|
+
return theme["default"].error;
|
|
10902
|
+
default:
|
|
10903
|
+
return $placeholderColor;
|
|
10904
|
+
}
|
|
10905
|
+
});
|
|
10906
|
+
var Text$1$1$1 = styled__default.span(_templateObject6$3$1$1$1 || (_templateObject6$3$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n word-break: break-word;\n"])));
|
|
10907
|
+
var _templateObject$b$1$1$1, _templateObject2$8$1$1$1, _templateObject3$5$1$1$1, _templateObject4$4$1$1$1, _templateObject5$4$1$1$1, _templateObject6$4$1$1$1, _templateObject7$2$1$1$1, _templateObject8$2$1$1$1, _templateObject9$2$1$1$1, _templateObject10$2$1$1$1, _templateObject11$2$1$1$1;
|
|
10908
|
+
var DropdownContainer$2$1$1 = styled__default.div(_templateObject$b$1$1$1 || (_templateObject$b$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: ", ";\n height: ", ";\n max-width: 100%;\n position: relative;\n max-height: ", ";\n"])), function (_ref) {
|
|
10909
|
+
var $width = _ref.$width;
|
|
10910
|
+
return $width || '100%';
|
|
10911
|
+
}, function (_ref2) {
|
|
10912
|
+
var $height = _ref2.$height;
|
|
10913
|
+
return $height || '100%';
|
|
10914
|
+
}, function (_ref3) {
|
|
10915
|
+
var $replaceLabel = _ref3.$replaceLabel;
|
|
10916
|
+
return $replaceLabel ? 'calc(100% - 22px)' : '';
|
|
10917
|
+
});
|
|
10918
|
+
var DropdownButton$2$1$1 = styled__default.div(_templateObject2$8$1$1$1 || (_templateObject2$8$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n overflow: ", ";\n padding: ", ";\n gap: 8px;\n box-sizing: border-box;\n transition: all 0.3s ease;\n width: ", ";\n height: ", ";\n border: ", ";\n border-radius: ", ";\n display: flex;\n justify-content: space-between;\n align-items: center;\n cursor: ", ";\n background: ", ";\n color: ", ";\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n font-size: ", ";\n line-height: ", ";\n"])), function (_ref4) {
|
|
10919
|
+
var $replaceLabel = _ref4.$replaceLabel;
|
|
10920
|
+
return $replaceLabel ? 'auto' : '';
|
|
10921
|
+
}, function (_ref5) {
|
|
10922
|
+
var $size = _ref5.$size;
|
|
10923
|
+
switch ($size) {
|
|
10924
|
+
case 'small':
|
|
10925
|
+
return '9px 12px';
|
|
10926
|
+
case 'large':
|
|
10927
|
+
return '24px 12px';
|
|
10928
|
+
default:
|
|
10929
|
+
return '14px 12px';
|
|
10930
|
+
}
|
|
10931
|
+
}, function (_ref6) {
|
|
10932
|
+
var $width = _ref6.$width;
|
|
10933
|
+
return $width ? $width : '100%';
|
|
10934
|
+
}, function (_ref7) {
|
|
10935
|
+
var $height = _ref7.$height;
|
|
10936
|
+
return $height || '100%';
|
|
10937
|
+
}, function (_ref8) {
|
|
10938
|
+
var $border = _ref8.$border,
|
|
10939
|
+
$isOpen = _ref8.$isOpen,
|
|
10940
|
+
theme = _ref8.theme;
|
|
10941
|
+
return $isOpen ? "1px solid " + theme.text.dark : $border || "1px solid " + theme.border.light;
|
|
10942
|
+
}, function (_ref9) {
|
|
10943
|
+
var $borderRadius = _ref9.$borderRadius;
|
|
10944
|
+
return $borderRadius || '8px';
|
|
10945
|
+
}, function (_ref10) {
|
|
10946
|
+
var $disabled = _ref10.$disabled;
|
|
10947
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
10948
|
+
}, function (_ref11) {
|
|
10949
|
+
var $background = _ref11.$background,
|
|
10950
|
+
$disabled = _ref11.$disabled,
|
|
10951
|
+
theme = _ref11.theme;
|
|
10952
|
+
switch ($background) {
|
|
10953
|
+
case 'dark':
|
|
10954
|
+
return $disabled ? theme.disabled.secondary : theme.text.dark;
|
|
10955
|
+
case 'medium':
|
|
10956
|
+
return $disabled ? theme.disabled.secondary : theme.text.medium;
|
|
10957
|
+
case 'light':
|
|
10958
|
+
return $disabled ? theme.disabled.secondary : theme.text.light;
|
|
10959
|
+
case 'white':
|
|
10960
|
+
return $disabled ? theme.disabled.secondary : theme.text.white;
|
|
10961
|
+
case 'warning':
|
|
10962
|
+
return $disabled ? theme.disabled.secondary : theme["default"].warning;
|
|
10963
|
+
case 'info':
|
|
10964
|
+
return $disabled ? theme.disabled.secondary : theme["default"].info;
|
|
10965
|
+
case 'success':
|
|
10966
|
+
return $disabled ? theme.disabled.secondary : theme["default"].success;
|
|
10967
|
+
case 'error':
|
|
10968
|
+
return $disabled ? theme.disabled.secondary : theme["default"].error;
|
|
10969
|
+
default:
|
|
10970
|
+
return $disabled ? theme.disabled.secondary : $background;
|
|
10971
|
+
}
|
|
10972
|
+
}, function (_ref12) {
|
|
10973
|
+
var $color = _ref12.$color,
|
|
10974
|
+
theme = _ref12.theme;
|
|
10975
|
+
return $color || theme.text.medium;
|
|
10976
|
+
}, function (_ref13) {
|
|
10977
|
+
var $size = _ref13.$size;
|
|
10978
|
+
switch ($size) {
|
|
10979
|
+
case 'small':
|
|
10980
|
+
return '12px';
|
|
10981
|
+
case 'large':
|
|
10982
|
+
return '16px';
|
|
10983
|
+
default:
|
|
10984
|
+
return '14px';
|
|
10985
|
+
}
|
|
10986
|
+
}, function (_ref14) {
|
|
10987
|
+
var $size = _ref14.$size;
|
|
10988
|
+
switch ($size) {
|
|
10989
|
+
case 'small':
|
|
10990
|
+
return '12px';
|
|
10991
|
+
case 'large':
|
|
10992
|
+
return '16px';
|
|
10993
|
+
default:
|
|
10994
|
+
return '14px';
|
|
10995
|
+
}
|
|
10996
|
+
});
|
|
10997
|
+
var TitleText$2$1$1 = styled__default.div(_templateObject3$5$1$1$1 || (_templateObject3$5$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: max-content;\n position: relative;\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n\n color: ", ";\n"])), function (_ref15) {
|
|
10998
|
+
var $titleWeight = _ref15.$titleWeight;
|
|
10999
|
+
return $titleWeight != null ? $titleWeight : '500';
|
|
11000
|
+
}, function (_ref16) {
|
|
11001
|
+
var $titleSize = _ref16.$titleSize,
|
|
11002
|
+
$size = _ref16.$size;
|
|
11003
|
+
return $titleSize ? $titleSize + "px" : $size === 'small' ? '14px' : $size === 'large' ? '18px' : '16px';
|
|
11004
|
+
}, function (_ref17) {
|
|
11005
|
+
var $titleSize = _ref17.$titleSize,
|
|
11006
|
+
$size = _ref17.$size;
|
|
11007
|
+
return $titleSize ? $titleSize + "px" : $size === 'small' ? '14px' : $size === 'large' ? '18px' : '16px';
|
|
11008
|
+
}, function (_ref18) {
|
|
11009
|
+
var $titleColor = _ref18.$titleColor,
|
|
11010
|
+
theme = _ref18.theme;
|
|
11011
|
+
switch ($titleColor) {
|
|
11012
|
+
case 'dark':
|
|
11013
|
+
return theme.text.dark;
|
|
11014
|
+
case 'medium':
|
|
11015
|
+
return theme.text.medium;
|
|
11016
|
+
case 'light':
|
|
11017
|
+
return theme.text.light;
|
|
11018
|
+
case 'white':
|
|
11019
|
+
return theme.text.white;
|
|
11020
|
+
case 'warning':
|
|
11021
|
+
return theme["default"].warning;
|
|
11022
|
+
case 'info':
|
|
11023
|
+
return theme["default"].info;
|
|
11024
|
+
case 'success':
|
|
11025
|
+
return theme["default"].success;
|
|
11026
|
+
case 'error':
|
|
11027
|
+
return theme["default"].error;
|
|
11028
|
+
default:
|
|
11029
|
+
return $titleColor;
|
|
11030
|
+
}
|
|
11031
|
+
});
|
|
11032
|
+
var Container$2$1$1$1 = styled__default.div(_templateObject4$4$1$1$1 || (_templateObject4$4$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n"])));
|
|
11033
|
+
var LabelText$2$1$1 = styled__default.div(_templateObject5$4$1$1$1 || (_templateObject5$4$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n font-size: 14px;\n font-weight: 400;\n font-style:", ";\n color: ", ";\n"])), function (_ref19) {
|
|
11034
|
+
var $labelStyle = _ref19.$labelStyle;
|
|
11035
|
+
return $labelStyle;
|
|
11036
|
+
}, function (_ref20) {
|
|
11037
|
+
var theme = _ref20.theme;
|
|
11038
|
+
return theme.text.medium;
|
|
11039
|
+
});
|
|
11040
|
+
var DropdownMenu$2$1$1 = styled__default.div(_templateObject6$4$1$1$1 || (_templateObject6$4$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n max-height: 156px;\n padding: 4px;\n box-sizing: border-box;\n border: ", ";\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"])), function (_ref21) {
|
|
11041
|
+
var theme = _ref21.theme;
|
|
11042
|
+
return "1px solid " + theme.border.light;
|
|
11043
|
+
}, function (_ref22) {
|
|
11044
|
+
var $optionsBorderRadius = _ref22.$optionsBorderRadius;
|
|
11045
|
+
return $optionsBorderRadius || '8px';
|
|
11046
|
+
}, function (_ref23) {
|
|
11047
|
+
var $width = _ref23.$width;
|
|
11048
|
+
return $width ? $width : 'max-content';
|
|
11049
|
+
}, function (_ref24) {
|
|
11050
|
+
var $menuBackground = _ref24.$menuBackground,
|
|
11051
|
+
theme = _ref24.theme;
|
|
11052
|
+
return $menuBackground || theme.accent.light_2;
|
|
11053
|
+
});
|
|
11054
|
+
var SelectedOptionsWrapper$2$1$1 = styled__default.div(_templateObject7$2$1$1$1 || (_templateObject7$2$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n flex-wrap: wrap;\n gap: 6px;\n height: 100%;\n"])));
|
|
11055
|
+
var SelectedOptionDiv$2$1$1 = styled__default.div(_templateObject8$2$1$1$1 || (_templateObject8$2$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n align-items: center;\n background: ", ";\n border-radius: 4px;\n padding: 6px 8px;\n box-sizing: border-box;\n gap: 6px;\n font-family: NotoSans, sans-serif;\n font-style: normal;\n font-weight: 400;\n font-size: 12px;\n line-height: 12px;\n color: ", ";\n"])), function (_ref25) {
|
|
11056
|
+
var $selectedOptionBackground = _ref25.$selectedOptionBackground,
|
|
11057
|
+
$disabled = _ref25.$disabled,
|
|
11058
|
+
theme = _ref25.theme;
|
|
11059
|
+
switch ($selectedOptionBackground) {
|
|
11060
|
+
case 'dark':
|
|
11061
|
+
return theme.text.dark;
|
|
11062
|
+
case 'medium':
|
|
11063
|
+
return theme.text.medium;
|
|
11064
|
+
case 'light':
|
|
11065
|
+
return theme.text.light;
|
|
11066
|
+
case 'white':
|
|
11067
|
+
return theme.text.white;
|
|
11068
|
+
case 'warning':
|
|
11069
|
+
return $disabled ? theme.disabled.warning : theme["default"].warning;
|
|
11070
|
+
case 'info':
|
|
11071
|
+
return $disabled ? theme.disabled.info : theme["default"].info;
|
|
11072
|
+
case 'success':
|
|
11073
|
+
return $disabled ? theme.disabled.success : theme["default"].success;
|
|
11074
|
+
case 'error':
|
|
11075
|
+
return $disabled ? theme.disabled.error : theme["default"].error;
|
|
11076
|
+
default:
|
|
11077
|
+
return $selectedOptionBackground || theme.accent.light_2;
|
|
11078
|
+
}
|
|
11079
|
+
}, function (_ref26) {
|
|
11080
|
+
var $selectedOptionColor = _ref26.$selectedOptionColor,
|
|
11081
|
+
theme = _ref26.theme;
|
|
11082
|
+
switch ($selectedOptionColor) {
|
|
11083
|
+
case 'dark':
|
|
11084
|
+
return theme.text.dark;
|
|
11085
|
+
case 'medium':
|
|
11086
|
+
return theme.text.medium;
|
|
11087
|
+
case 'light':
|
|
11088
|
+
return theme.text.light;
|
|
11089
|
+
case 'white':
|
|
11090
|
+
return theme.text.white;
|
|
11091
|
+
case 'warning':
|
|
11092
|
+
return theme["default"].warning;
|
|
11093
|
+
case 'info':
|
|
11094
|
+
return theme["default"].info;
|
|
11095
|
+
case 'success':
|
|
11096
|
+
return theme["default"].success;
|
|
11097
|
+
case 'error':
|
|
11098
|
+
return theme["default"].error;
|
|
11099
|
+
default:
|
|
11100
|
+
return $selectedOptionColor;
|
|
11101
|
+
}
|
|
11102
|
+
});
|
|
11103
|
+
var RemoveIcon$2$1$1 = styled__default.div(_templateObject9$2$1$1$1 || (_templateObject9$2$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: 14px;\n height: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: ", ";\n border-radius: 50%;\n box-sizing: border-box;\n background: ", ";\n > div {\n cursor: ", ";\n }\n"])), function (_ref27) {
|
|
11104
|
+
var $disabled = _ref27.$disabled;
|
|
11105
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
11106
|
+
}, function (_ref28) {
|
|
11107
|
+
var removeIconBackground = _ref28.removeIconBackground,
|
|
11108
|
+
$type = _ref28.$type,
|
|
11109
|
+
theme = _ref28.theme;
|
|
11110
|
+
return removeIconBackground ? removeIconBackground : $type === 'remove' ? '#5E5E5E24' : theme.disabled.primary;
|
|
11111
|
+
}, function (_ref29) {
|
|
11112
|
+
var $disabled = _ref29.$disabled;
|
|
11113
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
11114
|
+
});
|
|
11115
|
+
var TextWrapper$1$1$1 = styled__default.div(_templateObject10$2$1$1$1 || (_templateObject10$2$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n align-items: center;\n gap: 4px;\n"])));
|
|
11116
|
+
var Asterisk$2$1$1 = styled__default.span(_templateObject11$2$1$1$1 || (_templateObject11$2$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n color: ", ";\n font-size: 10px;\n height: fit-content;\n position: absolute;\n top: -2px;\n right: -8px;\n"])), function (_ref30) {
|
|
11117
|
+
var theme = _ref30.theme;
|
|
11118
|
+
return theme["default"].error;
|
|
11119
|
+
});
|
|
11120
|
+
var _templateObject$c$1$1$1, _templateObject2$9$1$1$1, _templateObject3$6$1$1$1, _templateObject4$5$1$1$1, _templateObject5$5$1$1$1, _templateObject6$5$1$1$1, _templateObject7$3$1$1$1, _templateObject8$3$1$1$1, _templateObject9$3$1$1$1, _templateObject10$3$1$1$1;
|
|
11121
|
+
var TitleText$1$1$1$1 = styled__default.label(_templateObject$c$1$1$1 || (_templateObject$c$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n position: relative;\n width: max-content;\n white-space: nowrap;\n font-weight: ", ";\n ", "\n\n color: ", ";\n"])), function (_ref) {
|
|
11122
|
+
var $titleWeight = _ref.$titleWeight;
|
|
11123
|
+
return $titleWeight || 500;
|
|
11124
|
+
}, function (_ref2) {
|
|
11125
|
+
var $size = _ref2.$size;
|
|
11126
|
+
switch ($size) {
|
|
11127
|
+
case 'small':
|
|
11128
|
+
return "\n font-size: 12px;\n line-height: 12px;\n ";
|
|
11129
|
+
case 'medium':
|
|
11130
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
11131
|
+
case 'large':
|
|
11132
|
+
return "\n font-size: 16px;\n line-height: 16px;\n ";
|
|
11133
|
+
default:
|
|
11134
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
11135
|
+
}
|
|
11136
|
+
}, function (_ref3) {
|
|
11137
|
+
var $titlecolor = _ref3.$titlecolor,
|
|
11138
|
+
theme = _ref3.theme;
|
|
11139
|
+
switch ($titlecolor) {
|
|
11140
|
+
case 'dark':
|
|
11141
|
+
return theme.text.dark;
|
|
11142
|
+
case 'medium':
|
|
11143
|
+
return theme.text.medium;
|
|
11144
|
+
case 'light':
|
|
11145
|
+
return theme.text.light;
|
|
11146
|
+
case 'white':
|
|
11147
|
+
return theme.text.white;
|
|
11148
|
+
case 'warning':
|
|
11149
|
+
return theme["default"].warning;
|
|
11150
|
+
case 'info':
|
|
11151
|
+
return theme["default"].info;
|
|
11152
|
+
case 'success':
|
|
11153
|
+
return theme["default"].success;
|
|
11154
|
+
case 'error':
|
|
11155
|
+
return theme["default"].error;
|
|
11156
|
+
default:
|
|
11157
|
+
return $titlecolor;
|
|
11158
|
+
}
|
|
11159
|
+
});
|
|
11160
|
+
var DropdownContainer$1$1$1$1 = styled__default.div(_templateObject2$9$1$1$1 || (_templateObject2$9$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: ", ";\n max-width: 100%;\n position: relative;\n gap: 8px;\n display: flex;\n"])), function (_ref4) {
|
|
11161
|
+
var $width = _ref4.$width;
|
|
11162
|
+
return $width || '100%';
|
|
11163
|
+
});
|
|
11164
|
+
var DropdownButton$1$1$1$1 = styled__default.div(_templateObject3$6$1$1$1 || (_templateObject3$6$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n cursor: ", ";\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n width: ", ";\n height: ", ";\n border-radius: ", ";\n transition: all 0.3s ease;\n border: ", ";\n gap: 6px;\n padding: ", ";\n background: ", ";\n font-size: ", ";\n line-height: ", ";\n"])), function (_ref5) {
|
|
11165
|
+
var $disabled = _ref5.$disabled;
|
|
11166
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
11167
|
+
}, function (_ref6) {
|
|
11168
|
+
var $width = _ref6.$width;
|
|
11169
|
+
return $width ? $width : '100%';
|
|
11170
|
+
}, function (_ref7) {
|
|
11171
|
+
var $selectHeight = _ref7.$selectHeight;
|
|
11172
|
+
return $selectHeight || 'auto';
|
|
11173
|
+
}, function (_ref8) {
|
|
11174
|
+
var $borderRadius = _ref8.$borderRadius;
|
|
11175
|
+
return $borderRadius || '8px';
|
|
11176
|
+
}, function (_ref9) {
|
|
11177
|
+
var $border = _ref9.$border,
|
|
11178
|
+
$isOpen = _ref9.$isOpen,
|
|
11179
|
+
theme = _ref9.theme;
|
|
11180
|
+
return $isOpen ? "1px solid " + theme.text.dark : $border || "1px solid " + theme.border.light;
|
|
11181
|
+
}, function (_ref10) {
|
|
11182
|
+
var $size = _ref10.$size;
|
|
11183
|
+
switch ($size) {
|
|
11184
|
+
case 'small':
|
|
11185
|
+
return '9px 12px';
|
|
11186
|
+
case 'large':
|
|
11187
|
+
return '24px 12px';
|
|
11188
|
+
default:
|
|
11189
|
+
return '13px 12px';
|
|
11190
|
+
}
|
|
11191
|
+
}, function (_ref11) {
|
|
11192
|
+
var $background = _ref11.$background,
|
|
11193
|
+
$disabled = _ref11.$disabled,
|
|
11194
|
+
theme = _ref11.theme;
|
|
11195
|
+
return $disabled ? theme.border.light : $background || theme.accent.light_2;
|
|
11196
|
+
}, function (_ref12) {
|
|
11197
|
+
var $size = _ref12.$size;
|
|
11198
|
+
switch ($size) {
|
|
11199
|
+
case 'small':
|
|
11200
|
+
return '12px';
|
|
11201
|
+
case 'large':
|
|
11202
|
+
return '16px';
|
|
11203
|
+
default:
|
|
11204
|
+
return '14px';
|
|
11205
|
+
}
|
|
11206
|
+
}, function (_ref13) {
|
|
11207
|
+
var $size = _ref13.$size;
|
|
11208
|
+
switch ($size) {
|
|
11209
|
+
case 'small':
|
|
11210
|
+
return '12px';
|
|
11211
|
+
case 'large':
|
|
11212
|
+
return '16px';
|
|
11213
|
+
default:
|
|
11214
|
+
return '14px';
|
|
11215
|
+
}
|
|
11216
|
+
});
|
|
11217
|
+
var Options$1$1$1 = styled__default.div(_templateObject4$5$1$1$1 || (_templateObject4$5$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n color: ", ";\n padding: 5px 10px;\n width: 100%;\n font-size: ", ";\n font-weight: ", ";\n background-color: ", ";\n\n \n &:hover {\n background-color: ", ";\n color: ", ";\n cursor: pointer;\n }\n\n"])), function (_ref14) {
|
|
11218
|
+
var $optionColor = _ref14.$optionColor,
|
|
11219
|
+
$optionSelected = _ref14.$optionSelected,
|
|
11220
|
+
theme = _ref14.theme;
|
|
11221
|
+
return $optionSelected ? theme.text.white : $optionColor || theme.text.medium;
|
|
11222
|
+
}, function (_ref15) {
|
|
11223
|
+
var $optionFontSize = _ref15.$optionFontSize;
|
|
11224
|
+
return $optionFontSize || '14px';
|
|
11225
|
+
}, function (_ref16) {
|
|
11226
|
+
var $optionFontWeight = _ref16.$optionFontWeight;
|
|
11227
|
+
return $optionFontWeight || 400;
|
|
11228
|
+
}, function (_ref17) {
|
|
11229
|
+
var $optionBackgroundColor = _ref17.$optionBackgroundColor,
|
|
11230
|
+
$optionSelected = _ref17.$optionSelected,
|
|
11231
|
+
theme = _ref17.theme;
|
|
11232
|
+
return $optionSelected ? theme["default"].primary : $optionBackgroundColor || theme["default"].tertiary;
|
|
11233
|
+
}, function (_ref18) {
|
|
11234
|
+
var theme = _ref18.theme;
|
|
11235
|
+
return theme.hover.primary;
|
|
11236
|
+
}, function (_ref19) {
|
|
11237
|
+
var theme = _ref19.theme;
|
|
11238
|
+
return theme.text.white;
|
|
11239
|
+
});
|
|
11240
|
+
var LabelText$1$1$1$1 = styled__default.div(_templateObject5$5$1$1$1 || (_templateObject5$5$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n font-size: ", ";\n line-height: ", ";\n font-style: ", ";\n color: ", ";\n"])), function (_ref20) {
|
|
11241
|
+
var $size = _ref20.$size;
|
|
11242
|
+
switch ($size) {
|
|
11243
|
+
case 'small':
|
|
11244
|
+
return '14px';
|
|
11245
|
+
case 'large':
|
|
11246
|
+
return '16px';
|
|
11247
|
+
default:
|
|
11248
|
+
return '14px';
|
|
11249
|
+
}
|
|
11250
|
+
}, function (_ref21) {
|
|
11251
|
+
var $size = _ref21.$size;
|
|
11252
|
+
switch ($size) {
|
|
11253
|
+
case 'small':
|
|
11254
|
+
return '12px';
|
|
11255
|
+
case 'large':
|
|
11256
|
+
return '16px';
|
|
11257
|
+
default:
|
|
11258
|
+
return '14px';
|
|
11259
|
+
}
|
|
11260
|
+
}, function (_ref22) {
|
|
11261
|
+
var $fontStyle = _ref22.$fontStyle;
|
|
11262
|
+
return $fontStyle || '';
|
|
11263
|
+
}, function (_ref23) {
|
|
11264
|
+
var $color = _ref23.$color,
|
|
11265
|
+
$disabled = _ref23.$disabled,
|
|
11266
|
+
theme = _ref23.theme;
|
|
11267
|
+
return $disabled ? theme.text.medium : $color || theme.text.medium;
|
|
11268
|
+
});
|
|
11269
|
+
var NoOptions$1$1$1 = styled__default(Span$1$1$1)(_templateObject6$5$1$1$1 || (_templateObject6$5$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n align-items: center;\n height: 100%;\n padding: 12px;\n font-size: 14px;\n font-weight: 400;\n"])));
|
|
11270
|
+
var DropdownMenu$1$1$1$1 = styled__default.div(_templateObject7$3$1$1$1 || (_templateObject7$3$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n height: auto;\n max-height: 170px;\n border: ", ";\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 z-index: 2;\n"])), function (_ref24) {
|
|
11271
|
+
var theme = _ref24.theme;
|
|
11272
|
+
return "1px solid " + theme.border.light;
|
|
11273
|
+
}, function (_ref25) {
|
|
11274
|
+
var $optionsBorderRadius = _ref25.$optionsBorderRadius;
|
|
11275
|
+
return $optionsBorderRadius || '8px';
|
|
11276
|
+
}, function (_ref26) {
|
|
11277
|
+
var $width = _ref26.$width;
|
|
11278
|
+
return $width ? $width : 'max-content';
|
|
11279
|
+
}, function (_ref27) {
|
|
11280
|
+
var $menuBackground = _ref27.$menuBackground,
|
|
11281
|
+
theme = _ref27.theme;
|
|
11282
|
+
return $menuBackground || theme.accent.light_2;
|
|
11283
|
+
}, function (_ref28) {
|
|
11284
|
+
var $top = _ref28.$top;
|
|
11285
|
+
return $top && "top: " + $top + ";";
|
|
11286
|
+
}, function (_ref29) {
|
|
11287
|
+
var $bottom = _ref29.$bottom;
|
|
11288
|
+
return $bottom && "bottom: " + $bottom + ";";
|
|
11289
|
+
});
|
|
11290
|
+
var OptionsWrapper$2$1$1 = styled__default.div(_templateObject8$3$1$1$1 || (_templateObject8$3$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n max-height: 150px; \n overflow-y: auto;\n scrollbar-width: thin;\n width: 100%;\n"])));
|
|
11291
|
+
var SearchContainer$1$1$1$1 = styled__default.div(_templateObject9$3$1$1$1 || (_templateObject9$3$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: 100%;\n background: ", ";\n border: ", ";\n border-bottom: ", ";\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 (_ref30) {
|
|
11292
|
+
var $background = _ref30.$background,
|
|
11293
|
+
theme = _ref30.theme;
|
|
11294
|
+
return $background || theme.accent.light_2;
|
|
11295
|
+
}, function (_ref31) {
|
|
11296
|
+
var $border = _ref31.$border;
|
|
11297
|
+
return $border || 'none';
|
|
11298
|
+
}, function (_ref32) {
|
|
11299
|
+
var theme = _ref32.theme;
|
|
11300
|
+
return "1px solid " + theme.border.light;
|
|
11301
|
+
}, function (_ref33) {
|
|
11302
|
+
var $borderRadius = _ref33.$borderRadius;
|
|
11303
|
+
return $borderRadius || '8px 8px 0 0';
|
|
11304
|
+
});
|
|
11305
|
+
var SearchBar$1$1$1$1 = styled__default.input(_templateObject10$3$1$1$1 || (_templateObject10$3$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n border: none;\n width: 100%;\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n font-style: normal;\n font-size: 14px;\n line-height: normal;\n background: transparent;\n color: ", ";\n outline: none;\n \n &::placeholder {\n color: ", ";\n font-style: italic;\n }\n"])), function (_ref34) {
|
|
11306
|
+
var $inputColor = _ref34.$inputColor,
|
|
11307
|
+
theme = _ref34.theme;
|
|
11308
|
+
return $inputColor || theme.text.medium;
|
|
11309
|
+
}, function (_ref35) {
|
|
11310
|
+
var $placeholderColor = _ref35.$placeholderColor,
|
|
11311
|
+
theme = _ref35.theme;
|
|
11312
|
+
return $placeholderColor || theme.text.light;
|
|
11313
|
+
});
|
|
11314
|
+
var _templateObject$d$1$1$1, _templateObject2$a$1$1$1, _templateObject3$7$1$1$1;
|
|
11315
|
+
var SelectedOptionsWrapper$1$1$1$1 = styled__default.div(_templateObject$d$1$1$1 || (_templateObject$d$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n flex-wrap: wrap;\n gap: 6px;\n"])));
|
|
11316
|
+
var SelectedOptionDiv$1$1$1$1 = styled__default.div(_templateObject2$a$1$1$1 || (_templateObject2$a$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n align-items: center;\n background: ", ";\n border-radius: 4px;\n padding: 6px 8px;\n box-sizing: border-box;\n gap: 6px;\n font-family: NotoSans, sans-serif;\n font-style: normal;\n font-weight: 400;\n font-size: 12px;\n line-height: 12px;\n color: ", ";\n"])), function (_ref) {
|
|
11317
|
+
var $selectedOptionBackground = _ref.$selectedOptionBackground,
|
|
11318
|
+
$type = _ref.$type,
|
|
11319
|
+
theme = _ref.theme;
|
|
11320
|
+
return $selectedOptionBackground || $type === 'remove' ? theme.disabled.error : theme.accent.softBlue;
|
|
11321
|
+
}, function (_ref2) {
|
|
11322
|
+
var $selectedOptionColor = _ref2.$selectedOptionColor,
|
|
11323
|
+
$type = _ref2.$type,
|
|
11324
|
+
theme = _ref2.theme;
|
|
11325
|
+
return $selectedOptionColor || $type === 'remove' ? theme["default"].error : theme.brand.primary;
|
|
11326
|
+
});
|
|
11327
|
+
var RemoveIcon$1$1$1$1 = styled__default.div(_templateObject3$7$1$1$1 || (_templateObject3$7$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: 14px;\n height: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n border-radius: 50%;\n box-sizing: border-box;\n background: ", ";\n"])), function (_ref3) {
|
|
11328
|
+
var $removeIconBackground = _ref3.$removeIconBackground,
|
|
11329
|
+
$type = _ref3.$type,
|
|
11330
|
+
theme = _ref3.theme;
|
|
11331
|
+
return $removeIconBackground || $type === 'remove' ? '#5E5E5E24' : theme.disabled.primary;
|
|
11332
|
+
});
|
|
11333
|
+
var _templateObject$e$1$1$1, _templateObject2$b$1$1$1;
|
|
11334
|
+
var SearchContainer$2$1$1$1 = styled__default.div(_templateObject$e$1$1$1 || (_templateObject$e$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: 100%;\n height: 100%;\n background: ", ";\n border: ", ";\n border-radius: ", ";\n padding: 5.5px 8px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 8px;\n // cursor: ", ";\n transition: all 0.3s ease;\n\n &:focus-within {\n border: ", ";\n }\n"])), function (_ref) {
|
|
11335
|
+
var $background = _ref.$background,
|
|
11336
|
+
theme = _ref.theme;
|
|
11337
|
+
return $background || theme["default"].tertiary;
|
|
11338
|
+
}, function (_ref2) {
|
|
11339
|
+
var $border = _ref2.$border,
|
|
11340
|
+
theme = _ref2.theme;
|
|
11341
|
+
return $border || "1px solid " + theme.border.light;
|
|
11342
|
+
}, function (_ref3) {
|
|
11343
|
+
var $borderRadius = _ref3.$borderRadius;
|
|
11344
|
+
return $borderRadius || '8px';
|
|
11345
|
+
}, function (_ref4) {
|
|
11346
|
+
var $disabled = _ref4.$disabled;
|
|
11347
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
11348
|
+
}, function (_ref5) {
|
|
11349
|
+
var theme = _ref5.theme;
|
|
11350
|
+
return "1px solid " + theme.text.dark;
|
|
11351
|
+
});
|
|
11352
|
+
var SearchBar$2$1$1$1 = styled__default.input(_templateObject2$b$1$1$1 || (_templateObject2$b$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n border: none;\n width: 100%;\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n font-style: normal;\n font-size: 14px;\n line-height: normal;\n background: ", ";\n color: ", ";\n &::placeholder {\n color: ", ";\n font-style: italic;\n line-height: 100%;\n }\n"])), function (_ref6) {
|
|
11353
|
+
var theme = _ref6.theme;
|
|
11354
|
+
return theme["default"].tertiary;
|
|
11355
|
+
}, function (_ref7) {
|
|
11356
|
+
var $inputColor = _ref7.$inputColor,
|
|
11357
|
+
theme = _ref7.theme;
|
|
11358
|
+
return $inputColor || theme.text.medium;
|
|
11359
|
+
}, function (_ref8) {
|
|
11360
|
+
var $placeholderColor = _ref8.$placeholderColor,
|
|
11361
|
+
theme = _ref8.theme;
|
|
11362
|
+
return $placeholderColor || theme.text.light;
|
|
11363
|
+
});
|
|
11364
|
+
var _templateObject$f$1$1$1, _templateObject2$c$1$1$1, _templateObject3$8$1$1$1, _templateObject4$6$1$1$1, _templateObject5$6$1$1$1;
|
|
11365
|
+
var Label$2$1$1 = styled__default.label(_templateObject$f$1$1$1 || (_templateObject$f$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n cursor: auto;\n width: 100%;\n font-weight: ", ";\n position: relative;\n white-space: nowrap;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref) {
|
|
11366
|
+
var $fontWeight = _ref.$fontWeight;
|
|
11367
|
+
return $fontWeight != null ? $fontWeight : '500';
|
|
11368
|
+
}, function (_ref2) {
|
|
11369
|
+
var $size = _ref2.$size;
|
|
11370
|
+
switch ($size) {
|
|
11371
|
+
case 'small':
|
|
11372
|
+
return "\n font-size: 12px;\n line-height: 12px;\n ";
|
|
11373
|
+
case 'medium':
|
|
11374
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
11375
|
+
case 'large':
|
|
11376
|
+
return "\n font-size: 16px;\n line-height: 16px;\n ";
|
|
11377
|
+
default:
|
|
11378
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
11379
|
+
}
|
|
11380
|
+
}, function (_ref3) {
|
|
11381
|
+
var $titlecolor = _ref3.$titlecolor,
|
|
11382
|
+
theme = _ref3.theme;
|
|
11383
|
+
switch ($titlecolor) {
|
|
11384
|
+
case 'dark':
|
|
11385
|
+
return theme.text.dark;
|
|
11386
|
+
case 'medium':
|
|
11387
|
+
return theme.text.medium;
|
|
11388
|
+
case 'light':
|
|
11389
|
+
return theme.text.light;
|
|
11390
|
+
case 'white':
|
|
11391
|
+
return theme.text.white;
|
|
11392
|
+
case 'warning':
|
|
11393
|
+
return theme["default"].warning;
|
|
11394
|
+
case 'info':
|
|
11395
|
+
return theme["default"].info;
|
|
11396
|
+
case 'success':
|
|
11397
|
+
return theme["default"].success;
|
|
11398
|
+
case 'error':
|
|
11399
|
+
return theme["default"].error;
|
|
11400
|
+
default:
|
|
11401
|
+
return $titlecolor;
|
|
11402
|
+
}
|
|
11403
|
+
});
|
|
11404
|
+
var Input$1$1$1 = styled__default.input(_templateObject2$c$1$1$1 || (_templateObject2$c$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: 100%;\n border: ", ";\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"])), function (_ref4) {
|
|
11405
|
+
var theme = _ref4.theme;
|
|
11406
|
+
return "1px solid " + theme.border.light;
|
|
11407
|
+
}, function (_ref5) {
|
|
11408
|
+
var $disabled = _ref5.$disabled;
|
|
11409
|
+
return $disabled ? 'not-allowed' : 'auto';
|
|
11410
|
+
}, function (_ref6) {
|
|
11411
|
+
var $disabled = _ref6.$disabled,
|
|
11412
|
+
$background = _ref6.$background,
|
|
11413
|
+
theme = _ref6.theme;
|
|
11414
|
+
return $disabled ? theme.disabled.secondary : $background;
|
|
11415
|
+
}, function (_ref7) {
|
|
11416
|
+
var $color = _ref7.$color;
|
|
11417
|
+
return $color;
|
|
11418
|
+
}, function (_ref8) {
|
|
11419
|
+
var $disabled = _ref8.$disabled;
|
|
11420
|
+
return $disabled ? 'none' : 'auto';
|
|
11421
|
+
}, function (_ref9) {
|
|
11422
|
+
var $size = _ref9.$size,
|
|
11423
|
+
$type = _ref9.$type;
|
|
11424
|
+
switch ($size) {
|
|
11425
|
+
case 'small':
|
|
11426
|
+
return "\n font-size: 12px;\n padding: " + ($type === 'password' ? '5px 38px 5px 10px' : '5px 10px') + ";\n ";
|
|
11427
|
+
case 'medium':
|
|
11428
|
+
return "\n font-size: 14px;\n padding: " + ($type === 'password' ? '9.5px 38px 9.5px 12px' : '9.5px 12px') + ";\n ";
|
|
11429
|
+
case 'large':
|
|
11430
|
+
return "\n font-size: 16px;\n padding: " + ($type === 'password' ? '9px 38px 9px 14px' : '9px 14px') + ";\n ";
|
|
11431
|
+
default:
|
|
11432
|
+
return "\n font-size: 14px;\n padding: " + ($type === 'password' ? '7px 38px 7px 12px' : '7px 12px') + ";\n ";
|
|
11433
|
+
}
|
|
11434
|
+
}, function (_ref10) {
|
|
11435
|
+
var $color = _ref10.$color,
|
|
11436
|
+
theme = _ref10.theme;
|
|
11437
|
+
switch ($color) {
|
|
11438
|
+
case 'dark':
|
|
11439
|
+
return theme.text.dark;
|
|
11440
|
+
case 'medium':
|
|
11441
|
+
return theme.text.medium;
|
|
11442
|
+
case 'light':
|
|
11443
|
+
return theme.text.light;
|
|
11444
|
+
case 'white':
|
|
11445
|
+
return theme.text.white;
|
|
11446
|
+
case 'warning':
|
|
11447
|
+
return theme["default"].warning;
|
|
11448
|
+
case 'info':
|
|
11449
|
+
return theme["default"].info;
|
|
11450
|
+
case 'success':
|
|
11451
|
+
return theme["default"].success;
|
|
11452
|
+
case 'error':
|
|
11453
|
+
return theme["default"].error;
|
|
11454
|
+
default:
|
|
11455
|
+
return $color;
|
|
11456
|
+
}
|
|
11457
|
+
}, function (_ref11) {
|
|
11458
|
+
var theme = _ref11.theme;
|
|
11459
|
+
return theme.text.light;
|
|
11460
|
+
});
|
|
11461
|
+
var InputWrapper$1$1$1$1 = styled__default.div(_templateObject3$8$1$1$1 || (_templateObject3$8$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n"])));
|
|
11462
|
+
var IconWrapper$1$1$1$1 = styled__default.div(_templateObject4$6$1$1$1 || (_templateObject4$6$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n position: absolute;\n right: 12px;\n cursor: pointer;\n\n > div {\n cursor: ", ";\n }\n"])), function (_ref12) {
|
|
11463
|
+
var $disabled = _ref12.$disabled;
|
|
11464
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
11465
|
+
});
|
|
11466
|
+
var Asterisk$1$1$1$1 = styled__default.span(_templateObject5$6$1$1$1 || (_templateObject5$6$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n color: ", ";\n font-size: 10px;\n height: fit-content;\n position: absolute;\n top: -2px;\n right: -8px;\n"])), function (_ref13) {
|
|
11467
|
+
var theme = _ref13.theme;
|
|
11468
|
+
return theme["default"].error;
|
|
11469
|
+
});
|
|
11470
|
+
var _templateObject$g$1$1$1, _templateObject2$d$1$1$1, _templateObject3$9$1$1$1;
|
|
11471
|
+
var Container$3$1$1$1 = styled__default.div(_templateObject$g$1$1$1 || (_templateObject$g$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n padding: ", ";\n"])), function (_ref) {
|
|
11472
|
+
var $padding = _ref.$padding;
|
|
11473
|
+
return $padding;
|
|
11474
|
+
});
|
|
11475
|
+
var Label$1$1$1$1 = styled__default.label(_templateObject2$d$1$1$1 || (_templateObject2$d$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n cursor: auto;\n font-weight: ", ";\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref2) {
|
|
11476
|
+
var $fontWeight = _ref2.$fontWeight;
|
|
11477
|
+
return $fontWeight != null ? $fontWeight : '500';
|
|
11478
|
+
}, function (_ref3) {
|
|
11479
|
+
var $size = _ref3.$size;
|
|
11480
|
+
switch ($size) {
|
|
11481
|
+
case 'small':
|
|
11482
|
+
return 'font-size: 12px; line-height: 12px;';
|
|
11483
|
+
case 'medium':
|
|
11484
|
+
return 'font-size: 14px; line-height: 14px;';
|
|
11485
|
+
case 'large':
|
|
11486
|
+
return 'font-size: 16px; line-height: 16px;';
|
|
11487
|
+
default:
|
|
11488
|
+
return 'font-size: 14px; line-height: 14px;';
|
|
11489
|
+
}
|
|
11490
|
+
}, function (_ref4) {
|
|
11491
|
+
var $titlecolor = _ref4.$titlecolor,
|
|
11492
|
+
theme = _ref4.theme;
|
|
11493
|
+
return $titlecolor || theme.text.dark;
|
|
11494
|
+
});
|
|
11495
|
+
var TextAreaComponent$1$1$1 = styled__default.textarea(_templateObject3$9$1$1$1 || (_templateObject3$9$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: 100%;\n border: ", ";\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"])), function (_ref5) {
|
|
11496
|
+
var theme = _ref5.theme;
|
|
11497
|
+
return "1px solid " + theme.border.light;
|
|
11498
|
+
}, function (_ref6) {
|
|
11499
|
+
var $disabled = _ref6.$disabled;
|
|
11500
|
+
return $disabled ? 'not-allowed' : 'auto';
|
|
11501
|
+
}, function (_ref7) {
|
|
11502
|
+
var $disabled = _ref7.$disabled,
|
|
11503
|
+
$background = _ref7.$background,
|
|
11504
|
+
theme = _ref7.theme;
|
|
11505
|
+
return $disabled ? theme.disabled.secondary : $background;
|
|
11506
|
+
}, function (_ref8) {
|
|
11507
|
+
var $color = _ref8.$color;
|
|
11508
|
+
return $color;
|
|
11509
|
+
}, function (_ref9) {
|
|
11510
|
+
var $size = _ref9.$size;
|
|
11511
|
+
switch ($size) {
|
|
11512
|
+
case 'small':
|
|
11513
|
+
return 'font-size: 12px; padding: 5px 10px;';
|
|
11514
|
+
case 'medium':
|
|
11515
|
+
return 'font-size: 14px; padding: 9px 12px;';
|
|
11516
|
+
case 'large':
|
|
11517
|
+
return 'font-size: 16px; padding: 9px 14px;';
|
|
11518
|
+
default:
|
|
11519
|
+
return 'font-size: 14px; padding: 7px 12px;';
|
|
11520
|
+
}
|
|
11521
|
+
}, function (_ref10) {
|
|
11522
|
+
var $color = _ref10.$color,
|
|
11523
|
+
theme = _ref10.theme;
|
|
11524
|
+
return $color || theme.text.dark;
|
|
11525
|
+
}, function (_ref11) {
|
|
11526
|
+
var theme = _ref11.theme;
|
|
11527
|
+
return theme.text.light;
|
|
11528
|
+
});
|
|
11529
|
+
var _templateObject$h$1$1$1, _templateObject2$e$1$1$1, _templateObject3$a$1$1$1, _templateObject4$7$1$1$1, _templateObject5$7$1$1$1, _templateObject6$6$1$1$1, _templateObject7$4$1$1$1;
|
|
11530
|
+
var OptionContainer$1$1$1$1 = styled__default.div(_templateObject$h$1$1$1 || (_templateObject$h$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n z-index: 2;\n border-radius: 8px;\n display: flex;\n flex-direction: column;\n position: absolute;\n padding: 4px;\n top: 40px;\n left: 0px;\n background: ", ";\n max-width: 192px;\n min-width: 192px;\n height: auto;\n max-height: 175px;\n"])), function (_ref) {
|
|
11531
|
+
var theme = _ref.theme;
|
|
11532
|
+
return theme.text.white;
|
|
11533
|
+
});
|
|
11534
|
+
var OptionItem$1$1$1$1 = styled__default.div(_templateObject2$e$1$1$1 || (_templateObject2$e$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n color: ", ";\n background-color: ", ";\n border-radius: 8px;\n\n &:hover {\n background-color: ", ";\n color: ", ";\n cursor: pointer;\n }\n"])), function (_ref2) {
|
|
11535
|
+
var $optionSelected = _ref2.$optionSelected,
|
|
11536
|
+
theme = _ref2.theme;
|
|
11537
|
+
return $optionSelected ? theme.text.white : theme.text.medium;
|
|
11538
|
+
}, function (_ref3) {
|
|
11539
|
+
var $optionSelected = _ref3.$optionSelected,
|
|
11540
|
+
theme = _ref3.theme;
|
|
11541
|
+
return $optionSelected ? theme["default"].primary : theme.text.white;
|
|
11542
|
+
}, function (_ref4) {
|
|
11543
|
+
var theme = _ref4.theme;
|
|
11544
|
+
return theme.hover.primary;
|
|
11545
|
+
}, function (_ref5) {
|
|
11546
|
+
var theme = _ref5.theme;
|
|
11547
|
+
return theme.text.white;
|
|
11548
|
+
});
|
|
11549
|
+
var TotalOptionsHeader$1$1$1 = styled__default.div(_templateObject3$a$1$1$1 || (_templateObject3$a$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n align-items: center;\n z-index: 2;\n background: ", ";\n color: ", ";\n height: max-content;\n padding: 8px 4px;\n gap: 4px;\n border-bottom: ", ";\n font-size:12px;\n"])), function (_ref6) {
|
|
11550
|
+
var theme = _ref6.theme;
|
|
11551
|
+
return theme.text.white;
|
|
11552
|
+
}, function (_ref7) {
|
|
11553
|
+
var theme = _ref7.theme;
|
|
11554
|
+
return theme.text.light;
|
|
11555
|
+
}, function (_ref8) {
|
|
11556
|
+
var theme = _ref8.theme;
|
|
11557
|
+
return "1px solid " + theme.text.light;
|
|
11558
|
+
});
|
|
11559
|
+
var OptionLabel$1$1$1$1 = styled__default.label(_templateObject4$7$1$1$1 || (_templateObject4$7$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n cursor: pointer;\n height: max-content;\n gap: 8px;\n padding: 8px 12px;\n word-break: break-word;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n font-family: NotoSans;\n font-weight: 500;\n font-size: 14px;\n line-height: 14px;\n"])));
|
|
11560
|
+
var SearchContainer$3$1$1$1 = styled__default.div(_templateObject5$7$1$1$1 || (_templateObject5$7$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: 100%;\n height: auto;\n background: ", ";\n border: ", ";\n border-radius: ", ";\n padding: 6.5px 8px;\n display: flex;\n align-items: center;\n gap: 6px;\n"])), function (_ref9) {
|
|
11561
|
+
var $background = _ref9.$background,
|
|
11562
|
+
theme = _ref9.theme;
|
|
11563
|
+
switch ($background) {
|
|
11564
|
+
case 'dark':
|
|
11565
|
+
return theme.text.dark;
|
|
11566
|
+
case 'medium':
|
|
11567
|
+
return theme.text.medium;
|
|
11568
|
+
case 'light':
|
|
11569
|
+
return theme.text.light;
|
|
11570
|
+
case 'white':
|
|
11571
|
+
return theme.text.white;
|
|
11572
|
+
case 'warning':
|
|
11573
|
+
return theme["default"].warning;
|
|
11574
|
+
case 'info':
|
|
11575
|
+
return theme["default"].info;
|
|
11576
|
+
case 'success':
|
|
11577
|
+
return theme["default"].success;
|
|
11578
|
+
case 'error':
|
|
11579
|
+
return theme["default"].error;
|
|
11580
|
+
default:
|
|
11581
|
+
return $background;
|
|
11582
|
+
}
|
|
11583
|
+
}, function (_ref10) {
|
|
11584
|
+
var $borderBottom = _ref10.$borderBottom;
|
|
11585
|
+
return $borderBottom || 'none';
|
|
11586
|
+
}, function (_ref11) {
|
|
11587
|
+
var $borderRadius = _ref11.$borderRadius;
|
|
11588
|
+
return $borderRadius || '8px';
|
|
11589
|
+
});
|
|
11590
|
+
var SearchBar$3$1$1$1 = styled__default.input(_templateObject6$6$1$1$1 || (_templateObject6$6$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n border: none;\n outline: none;\n width: 100%;\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n font-size: 14px;\n line-height: 100%;\n background: ", ";\n\n color: ", ";\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-size: 14px;\n }\n"])), function (_ref12) {
|
|
11591
|
+
var theme = _ref12.theme;
|
|
11592
|
+
return theme["default"].tertiary;
|
|
11593
|
+
}, function (_ref13) {
|
|
11594
|
+
var $inputColor = _ref13.$inputColor,
|
|
11595
|
+
theme = _ref13.theme;
|
|
11596
|
+
switch ($inputColor) {
|
|
11597
|
+
case 'dark':
|
|
11598
|
+
return theme.text.dark;
|
|
11599
|
+
case 'medium':
|
|
11600
|
+
return theme.text.medium;
|
|
11601
|
+
case 'light':
|
|
11602
|
+
return theme.text.light;
|
|
11603
|
+
case 'white':
|
|
11604
|
+
return theme.text.white;
|
|
11605
|
+
case 'warning':
|
|
11606
|
+
return theme["default"].warning;
|
|
11607
|
+
case 'info':
|
|
11608
|
+
return theme["default"].info;
|
|
11609
|
+
case 'success':
|
|
11610
|
+
return theme["default"].success;
|
|
11611
|
+
case 'error':
|
|
11612
|
+
return theme["default"].error;
|
|
11613
|
+
default:
|
|
11614
|
+
return $inputColor;
|
|
11615
|
+
}
|
|
11616
|
+
}, function (_ref14) {
|
|
11617
|
+
var $placeholderColor = _ref14.$placeholderColor,
|
|
11618
|
+
theme = _ref14.theme;
|
|
11619
|
+
switch ($placeholderColor) {
|
|
11620
|
+
case 'dark':
|
|
11621
|
+
return theme.text.dark;
|
|
11622
|
+
case 'medium':
|
|
11623
|
+
return theme.text.medium;
|
|
11624
|
+
case 'light':
|
|
11625
|
+
return theme.text.light;
|
|
11626
|
+
case 'white':
|
|
11627
|
+
return theme.text.white;
|
|
11628
|
+
case 'warning':
|
|
11629
|
+
return theme["default"].warning;
|
|
11630
|
+
case 'info':
|
|
11631
|
+
return theme["default"].info;
|
|
11632
|
+
case 'success':
|
|
11633
|
+
return theme["default"].success;
|
|
11634
|
+
case 'error':
|
|
11635
|
+
return theme["default"].error;
|
|
11636
|
+
default:
|
|
11637
|
+
return $placeholderColor;
|
|
11638
|
+
}
|
|
11639
|
+
});
|
|
11640
|
+
var OptionsWrapper$1$1$1$1 = styled__default.div(_templateObject7$4$1$1$1 || (_templateObject7$4$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n padding: 4px 0px;\n height: 100%;\n overflow-y: auto;\n scrollbar-width: thin;\n background: ", ";\n"])), function (_ref15) {
|
|
11641
|
+
var theme = _ref15.theme;
|
|
11642
|
+
return theme.text.white;
|
|
11643
|
+
});
|
|
11644
|
+
var _templateObject$i$1$1$1, _templateObject2$f$1$1$1;
|
|
11645
|
+
var StyledCheckBox$1$1$1 = styled__default.input(_templateObject$i$1$1$1 || (_templateObject$i$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: ", ";\n height: ", ";\n appearance: none;\n border: ", ";\n border-radius: 4px;\n background-color: ", ";\n cursor: pointer;\n display: inline-block;\n position: relative;\n transition: all 0.2s ease;\n font-size: ", "; // for em units\n\n &:checked::after {\n content: '';\n position: absolute;\n top: ", ";\n right: ", ";\n width: ", ";\n height: ", ";\n border: ", ";\n border-width: 0 0.2em 0.2em 0;\n transform: rotate(45deg);\n }\n\n &:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n }\n"])), function (_ref) {
|
|
11646
|
+
var $checkboxSize = _ref.$checkboxSize;
|
|
11647
|
+
return $checkboxSize + "px";
|
|
11648
|
+
}, function (_ref2) {
|
|
11649
|
+
var $checkboxSize = _ref2.$checkboxSize;
|
|
11650
|
+
return $checkboxSize + "px";
|
|
11651
|
+
}, function (_ref3) {
|
|
11652
|
+
var $checked = _ref3.$checked,
|
|
11653
|
+
$borderSize = _ref3.$borderSize,
|
|
11654
|
+
theme = _ref3.theme;
|
|
11655
|
+
return $checked ? $borderSize + "px solid " + theme["default"].primary : $borderSize + "px solid " + theme.border.extraBold;
|
|
11656
|
+
}, function (_ref4) {
|
|
11657
|
+
var $checked = _ref4.$checked,
|
|
11658
|
+
theme = _ref4.theme;
|
|
11659
|
+
return $checked ? theme["default"].primary : theme.text.white;
|
|
11660
|
+
}, function (_ref5) {
|
|
11661
|
+
var $checkboxSize = _ref5.$checkboxSize;
|
|
11662
|
+
return $checkboxSize / 1.4 + "px";
|
|
11663
|
+
}, function (_ref6) {
|
|
11664
|
+
var $checkboxSize = _ref6.$checkboxSize;
|
|
11665
|
+
return "calc(100% - " + $checkboxSize / 1.4 + "px)";
|
|
11666
|
+
}, function (_ref7) {
|
|
11667
|
+
var $checkboxSize = _ref7.$checkboxSize;
|
|
11668
|
+
return "calc(100% - " + $checkboxSize / 1.8 + "px)";
|
|
11669
|
+
}, function (_ref8) {
|
|
11670
|
+
var $checkboxSize = _ref8.$checkboxSize;
|
|
11671
|
+
return $checkboxSize / 5 + "px";
|
|
11672
|
+
}, function (_ref9) {
|
|
11673
|
+
var $checkboxSize = _ref9.$checkboxSize;
|
|
11674
|
+
return $checkboxSize / 2.4 + "px";
|
|
11675
|
+
}, function (_ref10) {
|
|
11676
|
+
var theme = _ref10.theme;
|
|
11677
|
+
return "solid " + theme.text.white;
|
|
11678
|
+
});
|
|
11679
|
+
var LabelSpan$1$1$1 = styled__default(Span$1$1$1)(_templateObject2$f$1$1$1 || (_templateObject2$f$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n font-weight: 500;\n line-height: 1;\n user-select: none;\n"])));
|
|
11680
|
+
var _templateObject$j$1$1$1, _templateObject2$g$1$1$1, _templateObject3$b$1$1$1, _templateObject4$8$1$1$1;
|
|
11681
|
+
var spin$1$1$1$1 = styled.keyframes(_templateObject$j$1$1$1 || (_templateObject$j$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n 0% { opacity: 1; }\n 100% { opacity: 0.3; }\n"])));
|
|
11682
|
+
var getDotPosition$1$1$1 = function getDotPosition(index, size) {
|
|
11683
|
+
var angle = index * 360 / 8;
|
|
11684
|
+
var radius = size / 2.5;
|
|
11685
|
+
var x = radius * Math.cos(angle * Math.PI / 180);
|
|
11686
|
+
var y = radius * Math.sin(angle * Math.PI / 180);
|
|
11687
|
+
return "translate(" + x + "px, " + y + "px)";
|
|
11688
|
+
};
|
|
11689
|
+
var SpinnerContainer$1$1$1 = styled__default.div(_templateObject2$g$1$1$1 || (_templateObject2$g$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n position: relative;\n width: ", "px;\n height: ", "px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (_ref) {
|
|
11690
|
+
var $size = _ref.$size;
|
|
11691
|
+
return $size;
|
|
11692
|
+
}, function (_ref2) {
|
|
11693
|
+
var $size = _ref2.$size;
|
|
11694
|
+
return $size;
|
|
11695
|
+
});
|
|
11696
|
+
var Dot$1$1$1 = styled__default.div.attrs(function (_ref3) {
|
|
11697
|
+
var $index = _ref3.$index,
|
|
11698
|
+
$size = _ref3.$size;
|
|
11699
|
+
return {
|
|
11700
|
+
style: {
|
|
11701
|
+
transform: getDotPosition$1$1$1($index, $size)
|
|
11702
|
+
}
|
|
11703
|
+
};
|
|
11704
|
+
})(_templateObject3$b$1$1$1 || (_templateObject3$b$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n position: absolute;\n width: ", "px;\n height: ", "px;\n background-color: ", ";\n border-radius: 50%;\n animation: ", " ", "s linear infinite;\n animation-delay: ", "s;\n"])), function (_ref4) {
|
|
11705
|
+
var $dotSize = _ref4.$dotSize;
|
|
11706
|
+
return $dotSize;
|
|
11707
|
+
}, function (_ref5) {
|
|
11708
|
+
var $dotSize = _ref5.$dotSize;
|
|
11709
|
+
return $dotSize;
|
|
11710
|
+
}, function (_ref6) {
|
|
11711
|
+
var $color = _ref6.$color;
|
|
11712
|
+
return $color;
|
|
11713
|
+
}, spin$1$1$1$1, function (_ref7) {
|
|
11714
|
+
var $speed = _ref7.$speed;
|
|
11715
|
+
return $speed;
|
|
11716
|
+
}, function (_ref8) {
|
|
11717
|
+
var $index = _ref8.$index,
|
|
11718
|
+
$speed = _ref8.$speed;
|
|
11719
|
+
return $index * $speed / 8;
|
|
11720
|
+
});
|
|
11721
|
+
var SpinnerWrapper$1$1$1 = styled__default.div(_templateObject4$8$1$1$1 || (_templateObject4$8$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: inline-flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: max-content;\n"])));
|
|
11722
|
+
var _templateObject$k$1$1$1, _templateObject2$h$1$1$1;
|
|
11723
|
+
var spin$2$1$1$1 = styled.keyframes(_templateObject$k$1$1$1 || (_templateObject$k$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
11724
|
+
var Spinner$1$1$1$1 = styled__default.div(_templateObject2$h$1$1$1 || (_templateObject2$h$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: ", "px;\n height: ", "px;\n border: 5px solid #ddd;\n border-top-color: ", ";\n border-radius: 50%;\n animation: ", " 1s linear infinite;\n"])), function (_ref) {
|
|
11725
|
+
var $size = _ref.$size;
|
|
11726
|
+
return $size;
|
|
11727
|
+
}, function (_ref2) {
|
|
11728
|
+
var $size = _ref2.$size;
|
|
11729
|
+
return $size;
|
|
11730
|
+
}, function (_ref3) {
|
|
11731
|
+
var $color = _ref3.$color;
|
|
11732
|
+
return $color;
|
|
11733
|
+
}, spin$2$1$1$1);
|
|
11734
|
+
var _templateObject$l$1$1$1;
|
|
11735
|
+
var PageInput$1$1$1 = styled__default.input(_templateObject$l$1$1$1 || (_templateObject$l$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: 40px;\n height: 32px;\n background-color: ", ";\n border: ", ";\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"])), function (_ref) {
|
|
11736
|
+
var theme = _ref.theme;
|
|
11737
|
+
return theme.accent.light_2;
|
|
11738
|
+
}, function (_ref2) {
|
|
11739
|
+
var theme = _ref2.theme;
|
|
11740
|
+
return "1px solid " + theme.border.light;
|
|
11741
|
+
}, function (_ref3) {
|
|
11742
|
+
var theme = _ref3.theme;
|
|
11743
|
+
return theme.text.dark;
|
|
11744
|
+
});
|
|
11745
|
+
var _templateObject$m$1$1$1, _templateObject2$i$1$1$1, _templateObject3$c$1$1$1, _templateObject4$9$1$1$1, _templateObject5$8$1$1$1;
|
|
11746
|
+
var SidebarContainer = styled__default.div(_templateObject$m$1$1$1 || (_templateObject$m$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: ", ";\n height: 100vh;\n background: ", ";\n transition: width 0.3s ease-in-out;\n display: flex;\n flex-direction: column;\n align-items: start;\n padding: 20px;\n position: fixed;\n left: 0;\n top: 0;\n overflow: hidden;\n z-index: 10;\n justify-content: space-between;\n"])), function (_ref) {
|
|
11747
|
+
var $isExpanded = _ref.$isExpanded;
|
|
11748
|
+
return $isExpanded ? '225px' : '68px';
|
|
11749
|
+
}, function (_ref2) {
|
|
11750
|
+
var $background = _ref2.$background,
|
|
11751
|
+
theme = _ref2.theme;
|
|
11752
|
+
return $background || theme.accent.softBlue;
|
|
11753
|
+
});
|
|
11754
|
+
var SidebarLink = styled__default(reactRouterDom.NavLink)(_templateObject2$i$1$1$1 || (_templateObject2$i$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n align-items: center;\n height: 28px;\n width: 100%;\n gap: 10px;\n cursor: pointer;\n border-radius: 4px;\n color: ", ";\n text-decoration: none;\n transition: background 0.3s;\n\n &:hover {\n background: ", ";\n }\n"])), function (_ref3) {
|
|
11755
|
+
var theme = _ref3.theme;
|
|
11756
|
+
return theme.text.medium;
|
|
11757
|
+
}, function (_ref4) {
|
|
11758
|
+
var theme = _ref4.theme;
|
|
11759
|
+
return theme["default"].primary;
|
|
11760
|
+
});
|
|
11761
|
+
var IconWrapper$2$1$1$1 = styled__default.div(_templateObject3$c$1$1$1 || (_templateObject3$c$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n background: ", ";\n padding: 4px;\n border-radius: 4px;\n width: 28px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (_ref5) {
|
|
11762
|
+
var $selected = _ref5.$selected,
|
|
11763
|
+
theme = _ref5.theme;
|
|
11764
|
+
return $selected ? theme["default"].primary : theme["default"].tertiary;
|
|
11765
|
+
});
|
|
11766
|
+
var Logo = styled__default.div(_templateObject4$9$1$1$1 || (_templateObject4$9$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n width: 100%;\n min-width: max-content;\n height: 32px;\n align-items: center;\n justify-content: start;\n gap: 10px;\n"])));
|
|
11767
|
+
var TextContainer = styled__default.span(_templateObject5$8$1$1$1 || (_templateObject5$8$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\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 (_ref6) {
|
|
11768
|
+
var $padding = _ref6.$padding;
|
|
11769
|
+
return $padding;
|
|
11770
|
+
}, function (_ref7) {
|
|
11771
|
+
var $fontSize = _ref7.$fontSize;
|
|
11772
|
+
return $fontSize || '20px';
|
|
11773
|
+
}, function (_ref8) {
|
|
11774
|
+
var $fontWeight = _ref8.$fontWeight;
|
|
11775
|
+
return $fontWeight || '500';
|
|
11776
|
+
}, function (_ref9) {
|
|
11777
|
+
var $color = _ref9.$color,
|
|
11778
|
+
theme = _ref9.theme;
|
|
11779
|
+
return $color || theme["default"].primary;
|
|
11780
|
+
}, function (_ref10) {
|
|
11781
|
+
var $isExpanded = _ref10.$isExpanded;
|
|
11782
|
+
return $isExpanded ? 1 : 0;
|
|
11783
|
+
}, function (_ref11) {
|
|
11784
|
+
var $isExpanded = _ref11.$isExpanded;
|
|
11785
|
+
return $isExpanded ? 'visible' : 'hidden';
|
|
11786
|
+
});
|
|
11787
|
+
var _templateObject$n, _templateObject2$j, _templateObject3$d, _templateObject4$a;
|
|
11788
|
+
var ContainerWrapper = styled__default.div(_templateObject$n || (_templateObject$n = _taggedTemplateLiteralLoose$1$1$1(["\n height: auto;\n display: flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n min-height: ", ";\n word-break: break-word;\n"])), function (props) {
|
|
11789
|
+
return props.$width || 'auto';
|
|
11790
|
+
}, function (_ref) {
|
|
11791
|
+
var $minHeight = _ref.$minHeight;
|
|
11792
|
+
return $minHeight;
|
|
11793
|
+
});
|
|
11794
|
+
var CellContainer = styled__default.div(_templateObject2$j || (_templateObject2$j = _taggedTemplateLiteralLoose$1$1$1(["\n align-items:", ";\n justify-content: center;\n width: ", ";\n min-width: ", ";\n display: flex;\n flex-direction: column;\n background: ", ";\n padding: ", ";\n gap: 4px;\n height: 100%\n"])), function (props) {
|
|
11795
|
+
return props.$align;
|
|
11796
|
+
}, function (props) {
|
|
11797
|
+
return props.$width || 'auto';
|
|
11798
|
+
}, function (props) {
|
|
11799
|
+
return props.$minWidth;
|
|
11800
|
+
}, function (props) {
|
|
11801
|
+
return props.$background || 'inherit';
|
|
11802
|
+
}, function (props) {
|
|
11803
|
+
return props.$padding;
|
|
11804
|
+
});
|
|
11805
|
+
var MainText = styled__default.div(_templateObject3$d || (_templateObject3$d = _taggedTemplateLiteralLoose$1$1$1(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
11806
|
+
return props.$mtc;
|
|
11807
|
+
}, function (props) {
|
|
11808
|
+
return props.$mtfs;
|
|
11809
|
+
}, function (props) {
|
|
11810
|
+
return props.$mtw;
|
|
11811
|
+
});
|
|
11812
|
+
var SubText = styled__default.div(_templateObject4$a || (_templateObject4$a = _taggedTemplateLiteralLoose$1$1$1(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
11813
|
+
return props.$stc;
|
|
11814
|
+
}, function (props) {
|
|
11815
|
+
return props.$stfs;
|
|
11816
|
+
}, function (props) {
|
|
11817
|
+
return props.$stw;
|
|
11818
|
+
});
|
|
11819
|
+
var _templateObject$o;
|
|
11820
|
+
var TableRowContainer = styled.styled.div(_templateObject$o || (_templateObject$o = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n flex-direction: row;\n background: inherit;\n align-items: center;\n padding: 16px 12px;\n width: 100%;\n"])));
|
|
11821
|
+
var _templateObject$p, _templateObject2$k, _templateObject3$e, _templateObject4$b, _templateObject5$9, _templateObject6$7$1$1$1;
|
|
11822
|
+
var TableContainer = styled__default.div(_templateObject$p || (_templateObject$p = _taggedTemplateLiteralLoose$1$1$1(["\n background: ", ";\n width: 100%;\n display: flex;\n overflow: hidden;\n border-radius: 8px;\n"])), function (_ref) {
|
|
11823
|
+
var theme = _ref.theme;
|
|
11824
|
+
return theme.brand.light;
|
|
11825
|
+
});
|
|
11826
|
+
var TableHeader = styled__default.div(_templateObject2$k || (_templateObject2$k = _taggedTemplateLiteralLoose$1$1$1(["\n font-size: 14px;\n display: flex;\n background: ", ";\n color: ", ";\n min-height: 36px;\n align-items: center;\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n padding: 9px 12px;\n"])), function (_ref2) {
|
|
11827
|
+
var $hbcolor = _ref2.$hbcolor,
|
|
11828
|
+
theme = _ref2.theme;
|
|
11829
|
+
return $hbcolor || theme["default"].tertiary;
|
|
11830
|
+
}, function (_ref3) {
|
|
11831
|
+
var $tcolor = _ref3.$tcolor,
|
|
11832
|
+
theme = _ref3.theme;
|
|
11833
|
+
return $tcolor || theme.text.white;
|
|
11834
|
+
});
|
|
11835
|
+
var TableContent = styled__default.div(_templateObject3$e || (_templateObject3$e = _taggedTemplateLiteralLoose$1$1$1(["\n width: 100%;\n svg {\n cursor: pointer;\n }\n"])));
|
|
11836
|
+
var TableData = styled__default.div(_templateObject4$b || (_templateObject4$b = _taggedTemplateLiteralLoose$1$1$1(["\n overflow: auto;\n scrollbar-width: thin;\n height: 100%;\n max-height: ", ";\n"])), function (_ref4) {
|
|
11837
|
+
var $isLegends = _ref4.$isLegends;
|
|
11838
|
+
return $isLegends ? 'calc(100% - 56px)' : 'calc(100% - 36px)';
|
|
11839
|
+
});
|
|
11840
|
+
var LegendDivider = styled__default.div(_templateObject5$9 || (_templateObject5$9 = _taggedTemplateLiteralLoose$1$1$1(["\n flex: 1;\n height: 2px;\n background: ", ";\n margin-right: ", ";\n"])), function (_ref5) {
|
|
11841
|
+
var theme = _ref5.theme;
|
|
11842
|
+
return theme.border.extraLight;
|
|
11843
|
+
}, function (_ref6) {
|
|
11844
|
+
var $marginRight = _ref6.$marginRight;
|
|
11845
|
+
return $marginRight != null ? $marginRight : '0px';
|
|
11846
|
+
});
|
|
11847
|
+
var Divider = styled__default.div(_templateObject6$7$1$1$1 || (_templateObject6$7$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n height: 2px;\n background: ", ";\n"])), function (_ref7) {
|
|
11848
|
+
var theme = _ref7.theme;
|
|
11849
|
+
return theme.border.extraLight;
|
|
11850
|
+
});
|
|
11851
|
+
var _templateObject$q, _templateObject2$l, _templateObject3$f, _templateObject4$c, _templateObject5$a, _templateObject6$8;
|
|
11852
|
+
var Container$4$1$1$1 = styled__default.div(_templateObject$q || (_templateObject$q = _taggedTemplateLiteralLoose$1$1$1(["\n width: 100%;\n height: 100%; \n display: flex;\n flex-direction: column;\n overflow: ", ";\n gap: ", ";\n border: ", ";\n border-radius: 8px;\n"])), function (_ref) {
|
|
11853
|
+
var $overflow = _ref.$overflow;
|
|
11854
|
+
return $overflow || 'visible';
|
|
11855
|
+
}, function (_ref2) {
|
|
11856
|
+
var $gap = _ref2.$gap;
|
|
11857
|
+
return $gap;
|
|
11858
|
+
}, function (_ref3) {
|
|
11859
|
+
var $border = _ref3.$border;
|
|
11860
|
+
return $border;
|
|
11861
|
+
});
|
|
11862
|
+
var FirstContainer = styled__default.div(_templateObject2$l || (_templateObject2$l = _taggedTemplateLiteralLoose$1$1$1(["\n width: 100%;\n display: flex;\n font-family: NotoSans, sans-serif;\n font-size: 16px;\n gap: 24px;\n border-bottom: ", ";\n padding: ", ";\n justify-content: space-between;\n align-items: center;\n height: max-content;\n"])), function (_ref4) {
|
|
11863
|
+
var $bordeBottom = _ref4.$bordeBottom,
|
|
11864
|
+
theme = _ref4.theme;
|
|
11865
|
+
return $bordeBottom != null ? $bordeBottom : "1px solid " + theme.border.light;
|
|
11866
|
+
}, function (_ref5) {
|
|
11867
|
+
var $headerPadding = _ref5.$headerPadding;
|
|
11868
|
+
return $headerPadding ? $headerPadding : '0px';
|
|
11869
|
+
});
|
|
11870
|
+
var TabContainer = styled__default.div(_templateObject3$f || (_templateObject3$f = _taggedTemplateLiteralLoose$1$1$1(["\n width: auto;\n display: flex;\n align-items: center;\n cursor: ", ";\n opacity: ", ";\n gap: 8px;\n font-family: NotoSans, sans-serif;\n font-size: 14px;\n font-weight: 500;\n color: ", ";\n height: ", ";\n\n svg {\n cursor: ", ";\n }\n\n"])), function (_ref6) {
|
|
11871
|
+
var $disabled = _ref6.$disabled;
|
|
11872
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
11873
|
+
}, function (_ref7) {
|
|
11874
|
+
var $disabled = _ref7.$disabled;
|
|
11875
|
+
return $disabled ? '0.6' : '1';
|
|
11876
|
+
}, function (_ref8) {
|
|
11877
|
+
var theme = _ref8.theme;
|
|
11878
|
+
return theme.text.medium;
|
|
11879
|
+
}, function (_ref9) {
|
|
11880
|
+
var $headerHeight = _ref9.$headerHeight;
|
|
11881
|
+
return $headerHeight ? $headerHeight : '34px';
|
|
11882
|
+
}, function (_ref10) {
|
|
11883
|
+
var $disabled = _ref10.$disabled;
|
|
11884
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
11885
|
+
});
|
|
11886
|
+
var TabItemContainer = styled__default.div(_templateObject4$c || (_templateObject4$c = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n align-items: center;\n position: relative;\n gap: 8px;\n height: 100%;\n max-height: ", ";\n\n &:after {\n content: '';\n display: ", ";\n width: 100%;\n min-height: 3px;\n background: ", ";\n position: absolute;\n bottom: -1px;\n left: 0px;\n }\n"])), function (_ref11) {
|
|
11887
|
+
var $headerHeight = _ref11.$headerHeight;
|
|
11888
|
+
return $headerHeight ? $headerHeight : '34px';
|
|
11889
|
+
}, function (props) {
|
|
11890
|
+
return props.$active ? 'block' : 'none';
|
|
11891
|
+
}, function (_ref12) {
|
|
11892
|
+
var theme = _ref12.theme;
|
|
11893
|
+
return theme["default"].primary;
|
|
11894
|
+
});
|
|
11895
|
+
var DetailsFirstContainer = styled__default.div(_templateObject5$a || (_templateObject5$a = _taggedTemplateLiteralLoose$1$1$1(["\n text-align: center;\n font-size: 14px;\n line-height: 18px;\n font-weight: 500;\n font-family: NotoSans, sans-serif;\n height: 100%;\n display: flex;\n align-items: center;\n color: ", ";\n white-space: nowrap;\n"])), function (_ref13) {
|
|
11896
|
+
var $active = _ref13.$active,
|
|
11897
|
+
theme = _ref13.theme;
|
|
11898
|
+
return $active ? theme["default"].primary : theme.text.medium;
|
|
11899
|
+
});
|
|
11900
|
+
var TabItemsWrapper = styled__default.div(_templateObject6$8 || (_templateObject6$8 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n align-items: center;\n gap: 24px;\n // overflow-x: auto;\n scrollbar-width: thin;\n"])));
|
|
11901
|
+
var _templateObject$r, _templateObject2$m;
|
|
11902
|
+
var shimmer = styled.keyframes(_templateObject$r || (_templateObject$r = _taggedTemplateLiteralLoose$1$1(["\n 0% { background-position: 200% 0; }\n 100% { background-position: -100% 0; }\n"])));
|
|
11903
|
+
var AnimatedProgress = styled__default.div(_templateObject2$m || (_templateObject2$m = _taggedTemplateLiteralLoose$1$1(["\n height: 100%;\n width: ", ";\n background: ", ";\n background-size: 300% 100%;\n // background-repeat: no-repeat;\n animation: ", " 2s linear infinite;\n transition: width 0.5s ease-in-out;\n"])), function (_ref) {
|
|
11904
|
+
var width = _ref.width;
|
|
11905
|
+
return width;
|
|
11906
|
+
}, function (_ref2) {
|
|
11907
|
+
var color = _ref2.color;
|
|
11908
|
+
return color;
|
|
11909
|
+
}, shimmer);
|
|
11910
|
+
var _templateObject$s, _templateObject2$n, _templateObject3$g, _templateObject4$d, _templateObject5$b;
|
|
11911
|
+
var SidebarContainer$1 = styled__default.div(_templateObject$s || (_templateObject$s = _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) {
|
|
11912
|
+
var $isExpanded = _ref.$isExpanded;
|
|
11913
|
+
return $isExpanded ? '225px' : '68px';
|
|
11914
|
+
}, function (_ref2) {
|
|
11915
|
+
var $background = _ref2.$background,
|
|
11916
|
+
theme = _ref2.theme;
|
|
11917
|
+
return $background || theme.accent.softBlue;
|
|
11918
|
+
});
|
|
11919
|
+
var SidebarLink$1 = styled__default(reactRouterDom.NavLink)(_templateObject2$n || (_templateObject2$n = _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 text-decoration: none;\n transition: background 0.3s;\n\n &:hover {\n background: ", ";\n }\n"])), function (_ref3) {
|
|
11920
|
+
var theme = _ref3.theme;
|
|
11921
|
+
return theme.text.medium;
|
|
11922
|
+
}, function (_ref4) {
|
|
11923
|
+
var theme = _ref4.theme;
|
|
11924
|
+
return theme["default"].primary;
|
|
11925
|
+
});
|
|
11926
|
+
var IconWrapper$3 = styled__default.div(_templateObject3$g || (_templateObject3$g = _taggedTemplateLiteralLoose$1$1(["\n background: ", ";\n padding: 4px;\n border-radius: 4px;\n width: 28px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (_ref5) {
|
|
11927
|
+
var $selected = _ref5.$selected,
|
|
11928
|
+
theme = _ref5.theme;
|
|
11929
|
+
return $selected ? theme["default"].primary : theme["default"].tertiary;
|
|
11930
|
+
});
|
|
11931
|
+
var Logo$1 = styled__default.div(_templateObject4$d || (_templateObject4$d = _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"])));
|
|
11932
|
+
var TextContainer$1 = styled__default.span(_templateObject5$b || (_templateObject5$b = _taggedTemplateLiteralLoose$1$1(["\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 (_ref6) {
|
|
11933
|
+
var $padding = _ref6.$padding;
|
|
11934
|
+
return $padding;
|
|
11935
|
+
}, function (_ref7) {
|
|
11936
|
+
var $fontSize = _ref7.$fontSize;
|
|
11937
|
+
return $fontSize || '20px';
|
|
11938
|
+
}, function (_ref8) {
|
|
11939
|
+
var $fontWeight = _ref8.$fontWeight;
|
|
11940
|
+
return $fontWeight || '500';
|
|
11941
|
+
}, function (_ref9) {
|
|
11942
|
+
var $color = _ref9.$color,
|
|
11943
|
+
theme = _ref9.theme;
|
|
11944
|
+
return $color || theme["default"].primary;
|
|
11945
|
+
}, function (_ref10) {
|
|
11946
|
+
var $isExpanded = _ref10.$isExpanded;
|
|
11947
|
+
return $isExpanded ? 1 : 0;
|
|
11948
|
+
}, function (_ref11) {
|
|
11949
|
+
var $isExpanded = _ref11.$isExpanded;
|
|
11950
|
+
return $isExpanded ? 'visible' : 'hidden';
|
|
11951
|
+
});
|
|
11952
|
+
var _templateObject$t, _templateObject2$o, _templateObject3$h, _templateObject4$e;
|
|
11953
|
+
var ContainerWrapper$1 = styled__default.div(_templateObject$t || (_templateObject$t = _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) {
|
|
11954
|
+
return props.$width || 'auto';
|
|
11955
|
+
}, function (_ref) {
|
|
11956
|
+
var $minHeight = _ref.$minHeight;
|
|
11957
|
+
return $minHeight;
|
|
11958
|
+
});
|
|
11959
|
+
var CellContainer$1 = styled__default.div(_templateObject2$o || (_templateObject2$o = _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) {
|
|
11960
|
+
return props.$align;
|
|
11961
|
+
}, function (props) {
|
|
11962
|
+
return props.$width || 'auto';
|
|
11963
|
+
}, function (props) {
|
|
11964
|
+
return props.$minWidth;
|
|
11965
|
+
}, function (props) {
|
|
11966
|
+
return props.$background || 'inherit';
|
|
11967
|
+
}, function (props) {
|
|
11968
|
+
return props.$padding;
|
|
11969
|
+
});
|
|
11970
|
+
var MainText$1 = styled__default.div(_templateObject3$h || (_templateObject3$h = _taggedTemplateLiteralLoose$1$1(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
11971
|
+
return props.$mtc;
|
|
11972
|
+
}, function (props) {
|
|
11973
|
+
return props.$mtfs;
|
|
11974
|
+
}, function (props) {
|
|
11975
|
+
return props.$mtw;
|
|
11976
|
+
});
|
|
11977
|
+
var SubText$1 = styled__default.div(_templateObject4$e || (_templateObject4$e = _taggedTemplateLiteralLoose$1$1(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
11978
|
+
return props.$stc;
|
|
11979
|
+
}, function (props) {
|
|
11980
|
+
return props.$stfs;
|
|
11981
|
+
}, function (props) {
|
|
11982
|
+
return props.$stw;
|
|
11983
|
+
});
|
|
11984
|
+
var _templateObject$u;
|
|
11985
|
+
var TableRowContainer$1 = styled.styled.div(_templateObject$u || (_templateObject$u = _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"])));
|
|
11986
|
+
var _templateObject$v, _templateObject2$p, _templateObject3$i, _templateObject4$f, _templateObject5$c, _templateObject6$9;
|
|
11987
|
+
var TableContainer$1 = styled__default.div(_templateObject$v || (_templateObject$v = _taggedTemplateLiteralLoose$1$1(["\n background: ", ";\n width: 100%;\n display: flex;\n overflow: hidden;\n border-radius: 8px;\n"])), function (_ref) {
|
|
11988
|
+
var theme = _ref.theme;
|
|
11989
|
+
return theme.brand.light;
|
|
11990
|
+
});
|
|
11991
|
+
var TableHeader$1 = styled__default.div(_templateObject2$p || (_templateObject2$p = _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 (_ref2) {
|
|
11992
|
+
var $hbcolor = _ref2.$hbcolor,
|
|
11993
|
+
theme = _ref2.theme;
|
|
11994
|
+
return $hbcolor || theme["default"].tertiary;
|
|
11995
|
+
}, function (_ref3) {
|
|
11996
|
+
var $tcolor = _ref3.$tcolor,
|
|
11997
|
+
theme = _ref3.theme;
|
|
11998
|
+
return $tcolor || theme.text.white;
|
|
11999
|
+
});
|
|
12000
|
+
var TableContent$1 = styled__default.div(_templateObject3$i || (_templateObject3$i = _taggedTemplateLiteralLoose$1$1(["\n width: 100%;\n svg {\n cursor: pointer;\n }\n"])));
|
|
12001
|
+
var TableData$1 = styled__default.div(_templateObject4$f || (_templateObject4$f = _taggedTemplateLiteralLoose$1$1(["\n overflow: auto;\n scrollbar-width: thin;\n height: 100%;\n max-height: ", ";\n"])), function (_ref4) {
|
|
12002
|
+
var $isLegends = _ref4.$isLegends;
|
|
12003
|
+
return $isLegends ? 'calc(100% - 56px)' : 'calc(100% - 36px)';
|
|
12004
|
+
});
|
|
12005
|
+
var LegendDivider$1 = styled__default.div(_templateObject5$c || (_templateObject5$c = _taggedTemplateLiteralLoose$1$1(["\n flex: 1;\n height: 2px;\n background: ", ";\n margin-right: ", ";\n"])), function (_ref5) {
|
|
12006
|
+
var theme = _ref5.theme;
|
|
12007
|
+
return theme.border.extraLight;
|
|
12008
|
+
}, function (_ref6) {
|
|
12009
|
+
var $marginRight = _ref6.$marginRight;
|
|
12010
|
+
return $marginRight != null ? $marginRight : '0px';
|
|
12011
|
+
});
|
|
12012
|
+
var Divider$1 = styled__default.div(_templateObject6$9 || (_templateObject6$9 = _taggedTemplateLiteralLoose$1$1(["\n height: 2px;\n background: ", ";\n"])), function (_ref7) {
|
|
12013
|
+
var theme = _ref7.theme;
|
|
12014
|
+
return theme.border.extraLight;
|
|
12015
|
+
});
|
|
12016
|
+
var _templateObject$w, _templateObject2$q, _templateObject3$j, _templateObject4$g, _templateObject5$d, _templateObject6$a;
|
|
12017
|
+
var Container$5 = styled__default.div(_templateObject$w || (_templateObject$w = _taggedTemplateLiteralLoose$1$1(["\n width: 100%;\n height: 100%; \n display: flex;\n flex-direction: column;\n overflow: ", ";\n gap: ", ";\n border: ", ";\n border-radius: 8px;\n"])), function (_ref) {
|
|
12018
|
+
var $overflow = _ref.$overflow;
|
|
12019
|
+
return $overflow || 'visible';
|
|
12020
|
+
}, function (_ref2) {
|
|
12021
|
+
var $gap = _ref2.$gap;
|
|
12022
|
+
return $gap;
|
|
12023
|
+
}, function (_ref3) {
|
|
12024
|
+
var $border = _ref3.$border;
|
|
12025
|
+
return $border;
|
|
12026
|
+
});
|
|
12027
|
+
var FirstContainer$1 = styled__default.div(_templateObject2$q || (_templateObject2$q = _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: ", ";\n padding: ", ";\n justify-content: space-between;\n align-items: center;\n height: max-content;\n"])), function (_ref4) {
|
|
12028
|
+
var $bordeBottom = _ref4.$bordeBottom,
|
|
12029
|
+
theme = _ref4.theme;
|
|
12030
|
+
return $bordeBottom != null ? $bordeBottom : "1px solid " + theme.border.light;
|
|
12031
|
+
}, function (_ref5) {
|
|
12032
|
+
var $headerPadding = _ref5.$headerPadding;
|
|
12033
|
+
return $headerPadding ? $headerPadding : '0px';
|
|
12034
|
+
});
|
|
12035
|
+
var TabContainer$1 = styled__default.div(_templateObject3$j || (_templateObject3$j = _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 (_ref6) {
|
|
12036
|
+
var $disabled = _ref6.$disabled;
|
|
12037
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
12038
|
+
}, function (_ref7) {
|
|
12039
|
+
var $disabled = _ref7.$disabled;
|
|
12040
|
+
return $disabled ? '0.6' : '1';
|
|
12041
|
+
}, function (_ref8) {
|
|
12042
|
+
var theme = _ref8.theme;
|
|
12043
|
+
return theme.text.medium;
|
|
12044
|
+
}, function (_ref9) {
|
|
12045
|
+
var $headerHeight = _ref9.$headerHeight;
|
|
12046
|
+
return $headerHeight ? $headerHeight : '34px';
|
|
12047
|
+
}, function (_ref10) {
|
|
12048
|
+
var $disabled = _ref10.$disabled;
|
|
12049
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
12050
|
+
});
|
|
12051
|
+
var TabItemContainer$1 = styled__default.div(_templateObject4$g || (_templateObject4$g = _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 min-height: 3px;\n background: ", ";\n position: absolute;\n bottom: -1px;\n left: 0px;\n }\n"])), function (_ref11) {
|
|
12052
|
+
var $headerHeight = _ref11.$headerHeight;
|
|
12053
|
+
return $headerHeight ? $headerHeight : '34px';
|
|
12054
|
+
}, function (props) {
|
|
12055
|
+
return props.$active ? 'block' : 'none';
|
|
12056
|
+
}, function (_ref12) {
|
|
12057
|
+
var theme = _ref12.theme;
|
|
12058
|
+
return theme["default"].primary;
|
|
12059
|
+
});
|
|
12060
|
+
var DetailsFirstContainer$1 = styled__default.div(_templateObject5$d || (_templateObject5$d = _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 white-space: nowrap;\n"])), function (_ref13) {
|
|
12061
|
+
var $active = _ref13.$active,
|
|
12062
|
+
theme = _ref13.theme;
|
|
12063
|
+
return $active ? theme["default"].primary : theme.text.medium;
|
|
12064
|
+
});
|
|
12065
|
+
var TabItemsWrapper$1 = styled__default.div(_templateObject6$a || (_templateObject6$a = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n align-items: center;\n gap: 24px;\n // overflow-x: auto;\n scrollbar-width: thin;\n"])));
|
|
12066
|
+
var _templateObject$x, _templateObject2$r;
|
|
12067
|
+
var shimmer$1 = styled.keyframes(_templateObject$x || (_templateObject$x = _taggedTemplateLiteralLoose$1(["\n 0% { background-position: 200% 0; }\n 100% { background-position: -100% 0; }\n"])));
|
|
12068
|
+
var AnimatedProgress$1 = styled__default.div(_templateObject2$r || (_templateObject2$r = _taggedTemplateLiteralLoose$1(["\n height: 100%;\n width: ", ";\n background: ", ";\n background-size: 300% 100%;\n // background-repeat: no-repeat;\n animation: ", " 2s linear infinite;\n transition: width 0.5s ease-in-out;\n"])), function (_ref) {
|
|
12069
|
+
var width = _ref.width;
|
|
12070
|
+
return width;
|
|
12071
|
+
}, function (_ref2) {
|
|
12072
|
+
var color = _ref2.color;
|
|
12073
|
+
return color;
|
|
12074
|
+
}, shimmer$1);
|
|
12075
|
+
var _templateObject$y, _templateObject2$s, _templateObject3$k, _templateObject4$h, _templateObject5$e;
|
|
12076
|
+
var SidebarContainer$2 = styled__default.div(_templateObject$y || (_templateObject$y = _taggedTemplateLiteralLoose$1(["\n width: ", ";\n height: 100vh;\n background: ", ";\n transition: width 0.3s ease-in-out;\n display: flex;\n flex-direction: column;\n align-items: start;\n padding: 20px;\n position: fixed;\n left: 0;\n top: 0;\n overflow: hidden;\n z-index: 10;\n justify-content: space-between;\n"])), function (_ref) {
|
|
12077
|
+
var $isExpanded = _ref.$isExpanded;
|
|
12078
|
+
return $isExpanded ? '225px' : '68px';
|
|
12079
|
+
}, function (_ref2) {
|
|
12080
|
+
var $background = _ref2.$background,
|
|
12081
|
+
theme = _ref2.theme;
|
|
12082
|
+
return $background || theme.accent.softBlue;
|
|
12083
|
+
});
|
|
12084
|
+
var SidebarLink$2 = styled__default(reactRouterDom.NavLink)(_templateObject2$s || (_templateObject2$s = _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 text-decoration: none;\n transition: background 0.3s;\n\n &:hover {\n background: ", ";\n }\n"])), function (_ref3) {
|
|
12085
|
+
var theme = _ref3.theme;
|
|
12086
|
+
return theme.text.medium;
|
|
12087
|
+
}, function (_ref4) {
|
|
12088
|
+
var theme = _ref4.theme;
|
|
12089
|
+
return theme["default"].primary;
|
|
12090
|
+
});
|
|
12091
|
+
var IconWrapper$4 = styled__default.div(_templateObject3$k || (_templateObject3$k = _taggedTemplateLiteralLoose$1(["\n background: ", ";\n padding: 4px;\n border-radius: 4px;\n width: 28px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (_ref5) {
|
|
12092
|
+
var $selected = _ref5.$selected,
|
|
12093
|
+
theme = _ref5.theme;
|
|
12094
|
+
return $selected ? theme["default"].primary : theme["default"].tertiary;
|
|
12095
|
+
});
|
|
12096
|
+
var Logo$2 = styled__default.div(_templateObject4$h || (_templateObject4$h = _taggedTemplateLiteralLoose$1(["\n display: flex;\n width: 100%;\n min-width: max-content;\n height: 32px;\n align-items: center;\n justify-content: start;\n gap: 10px;\n"])));
|
|
12097
|
+
var TextContainer$2 = styled__default.span(_templateObject5$e || (_templateObject5$e = _taggedTemplateLiteralLoose$1(["\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 (_ref6) {
|
|
12098
|
+
var $padding = _ref6.$padding;
|
|
12099
|
+
return $padding;
|
|
12100
|
+
}, function (_ref7) {
|
|
12101
|
+
var $fontSize = _ref7.$fontSize;
|
|
12102
|
+
return $fontSize || '20px';
|
|
12103
|
+
}, function (_ref8) {
|
|
12104
|
+
var $fontWeight = _ref8.$fontWeight;
|
|
12105
|
+
return $fontWeight || '500';
|
|
12106
|
+
}, function (_ref9) {
|
|
12107
|
+
var $color = _ref9.$color,
|
|
12108
|
+
theme = _ref9.theme;
|
|
12109
|
+
return $color || theme["default"].primary;
|
|
12110
|
+
}, function (_ref10) {
|
|
12111
|
+
var $isExpanded = _ref10.$isExpanded;
|
|
12112
|
+
return $isExpanded ? 1 : 0;
|
|
12113
|
+
}, function (_ref11) {
|
|
12114
|
+
var $isExpanded = _ref11.$isExpanded;
|
|
12115
|
+
return $isExpanded ? 'visible' : 'hidden';
|
|
12116
|
+
});
|
|
12117
|
+
var _templateObject$z, _templateObject2$t, _templateObject3$l, _templateObject4$i;
|
|
12118
|
+
var ContainerWrapper$2 = styled__default.div(_templateObject$z || (_templateObject$z = _taggedTemplateLiteralLoose$1(["\n height: auto;\n display: flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n min-height: ", ";\n word-break: break-word;\n"])), function (props) {
|
|
12119
|
+
return props.$width || 'auto';
|
|
12120
|
+
}, function (_ref) {
|
|
12121
|
+
var $minHeight = _ref.$minHeight;
|
|
12122
|
+
return $minHeight;
|
|
12123
|
+
});
|
|
12124
|
+
var CellContainer$2 = styled__default.div(_templateObject2$t || (_templateObject2$t = _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) {
|
|
12125
|
+
return props.$align;
|
|
12126
|
+
}, function (props) {
|
|
12127
|
+
return props.$width || 'auto';
|
|
12128
|
+
}, function (props) {
|
|
12129
|
+
return props.$minWidth;
|
|
12130
|
+
}, function (props) {
|
|
12131
|
+
return props.$background || 'inherit';
|
|
12132
|
+
}, function (props) {
|
|
12133
|
+
return props.$padding;
|
|
12134
|
+
});
|
|
12135
|
+
var MainText$2 = styled__default.div(_templateObject3$l || (_templateObject3$l = _taggedTemplateLiteralLoose$1(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
12136
|
+
return props.$mtc;
|
|
12137
|
+
}, function (props) {
|
|
12138
|
+
return props.$mtfs;
|
|
12139
|
+
}, function (props) {
|
|
12140
|
+
return props.$mtw;
|
|
12141
|
+
});
|
|
12142
|
+
var SubText$2 = styled__default.div(_templateObject4$i || (_templateObject4$i = _taggedTemplateLiteralLoose$1(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
12143
|
+
return props.$stc;
|
|
12144
|
+
}, function (props) {
|
|
12145
|
+
return props.$stfs;
|
|
12146
|
+
}, function (props) {
|
|
12147
|
+
return props.$stw;
|
|
12148
|
+
});
|
|
12149
|
+
var _templateObject$A;
|
|
12150
|
+
var TableRowContainer$2 = styled.styled.div(_templateObject$A || (_templateObject$A = _taggedTemplateLiteralLoose$1(["\n display: flex;\n flex-direction: row;\n background: inherit;\n align-items: center;\n padding: 16px 12px;\n width: 100%;\n"])));
|
|
12151
|
+
var _templateObject$B, _templateObject2$u, _templateObject3$m, _templateObject4$j, _templateObject5$f, _templateObject6$b;
|
|
12152
|
+
var TableContainer$2 = styled__default.div(_templateObject$B || (_templateObject$B = _taggedTemplateLiteralLoose$1(["\n background: ", ";\n width: 100%;\n display: flex;\n overflow: hidden;\n border-radius: 8px;\n"])), function (_ref) {
|
|
12153
|
+
var theme = _ref.theme;
|
|
12154
|
+
return theme.brand.light;
|
|
12155
|
+
});
|
|
12156
|
+
var TableHeader$2 = styled__default.div(_templateObject2$u || (_templateObject2$u = _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 (_ref2) {
|
|
12157
|
+
var $hbcolor = _ref2.$hbcolor,
|
|
12158
|
+
theme = _ref2.theme;
|
|
12159
|
+
return $hbcolor || theme["default"].tertiary;
|
|
12160
|
+
}, function (_ref3) {
|
|
12161
|
+
var $tcolor = _ref3.$tcolor,
|
|
12162
|
+
theme = _ref3.theme;
|
|
12163
|
+
return $tcolor || theme.text.white;
|
|
12164
|
+
});
|
|
12165
|
+
var TableContent$2 = styled__default.div(_templateObject3$m || (_templateObject3$m = _taggedTemplateLiteralLoose$1(["\n width: 100%;\n svg {\n cursor: pointer;\n }\n"])));
|
|
12166
|
+
var TableData$2 = styled__default.div(_templateObject4$j || (_templateObject4$j = _taggedTemplateLiteralLoose$1(["\n overflow: auto;\n scrollbar-width: thin;\n height: 100%;\n max-height: ", ";\n"])), function (_ref4) {
|
|
12167
|
+
var $isLegends = _ref4.$isLegends;
|
|
12168
|
+
return $isLegends ? 'calc(100% - 56px)' : 'calc(100% - 36px)';
|
|
12169
|
+
});
|
|
12170
|
+
var LegendDivider$2 = styled__default.div(_templateObject5$f || (_templateObject5$f = _taggedTemplateLiteralLoose$1(["\n flex: 1;\n height: 2px;\n background: ", ";\n margin-right: ", ";\n"])), function (_ref5) {
|
|
12171
|
+
var theme = _ref5.theme;
|
|
12172
|
+
return theme.border.extraLight;
|
|
12173
|
+
}, function (_ref6) {
|
|
12174
|
+
var $marginRight = _ref6.$marginRight;
|
|
12175
|
+
return $marginRight != null ? $marginRight : '0px';
|
|
12176
|
+
});
|
|
12177
|
+
var Divider$2 = styled__default.div(_templateObject6$b || (_templateObject6$b = _taggedTemplateLiteralLoose$1(["\n height: 2px;\n background: ", ";\n"])), function (_ref7) {
|
|
12178
|
+
var theme = _ref7.theme;
|
|
12179
|
+
return theme.border.extraLight;
|
|
12180
|
+
});
|
|
12181
|
+
var _templateObject$C, _templateObject2$v, _templateObject3$n, _templateObject4$k, _templateObject5$g, _templateObject6$c;
|
|
12182
|
+
var Container$6 = styled__default.div(_templateObject$C || (_templateObject$C = _taggedTemplateLiteralLoose$1(["\n width: 100%;\n height: 100%; \n display: flex;\n flex-direction: column;\n overflow: ", ";\n gap: ", ";\n border: ", ";\n border-radius: 8px;\n"])), function (_ref) {
|
|
12183
|
+
var $overflow = _ref.$overflow;
|
|
12184
|
+
return $overflow || 'visible';
|
|
12185
|
+
}, function (_ref2) {
|
|
12186
|
+
var $gap = _ref2.$gap;
|
|
12187
|
+
return $gap;
|
|
12188
|
+
}, function (_ref3) {
|
|
12189
|
+
var $border = _ref3.$border;
|
|
12190
|
+
return $border;
|
|
12191
|
+
});
|
|
12192
|
+
var FirstContainer$2 = styled__default.div(_templateObject2$v || (_templateObject2$v = _taggedTemplateLiteralLoose$1(["\n width: 100%;\n display: flex;\n font-family: NotoSans, sans-serif;\n font-size: 16px;\n gap: 24px;\n border-bottom: ", ";\n padding: ", ";\n justify-content: space-between;\n align-items: center;\n height: max-content;\n"])), function (_ref4) {
|
|
12193
|
+
var $bordeBottom = _ref4.$bordeBottom,
|
|
8639
12194
|
theme = _ref4.theme;
|
|
8640
12195
|
return $bordeBottom != null ? $bordeBottom : "1px solid " + theme.border.light;
|
|
8641
12196
|
}, function (_ref5) {
|
|
8642
12197
|
var $headerPadding = _ref5.$headerPadding;
|
|
8643
12198
|
return $headerPadding ? $headerPadding : '0px';
|
|
8644
12199
|
});
|
|
8645
|
-
var TabContainer = styled__default.div(_templateObject3$
|
|
12200
|
+
var TabContainer$2 = styled__default.div(_templateObject3$n || (_templateObject3$n = _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 (_ref6) {
|
|
8646
12201
|
var $disabled = _ref6.$disabled;
|
|
8647
12202
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
8648
12203
|
}, function (_ref7) {
|
|
@@ -8658,7 +12213,7 @@ var TabContainer = styled__default.div(_templateObject3$f || (_templateObject3$f
|
|
|
8658
12213
|
var $disabled = _ref10.$disabled;
|
|
8659
12214
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
8660
12215
|
});
|
|
8661
|
-
var TabItemContainer = styled__default.div(_templateObject4$
|
|
12216
|
+
var TabItemContainer$2 = styled__default.div(_templateObject4$k || (_templateObject4$k = _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 min-height: 3px;\n background: ", ";\n position: absolute;\n bottom: -1px;\n left: 0px;\n }\n"])), function (_ref11) {
|
|
8662
12217
|
var $headerHeight = _ref11.$headerHeight;
|
|
8663
12218
|
return $headerHeight ? $headerHeight : '34px';
|
|
8664
12219
|
}, function (props) {
|
|
@@ -8667,22 +12222,22 @@ var TabItemContainer = styled__default.div(_templateObject4$c || (_templateObjec
|
|
|
8667
12222
|
var theme = _ref12.theme;
|
|
8668
12223
|
return theme["default"].primary;
|
|
8669
12224
|
});
|
|
8670
|
-
var DetailsFirstContainer = styled__default.div(_templateObject5$
|
|
12225
|
+
var DetailsFirstContainer$2 = styled__default.div(_templateObject5$g || (_templateObject5$g = _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 white-space: nowrap;\n"])), function (_ref13) {
|
|
8671
12226
|
var $active = _ref13.$active,
|
|
8672
12227
|
theme = _ref13.theme;
|
|
8673
12228
|
return $active ? theme["default"].primary : theme.text.medium;
|
|
8674
12229
|
});
|
|
8675
|
-
var TabItemsWrapper = styled__default.div(_templateObject6$
|
|
12230
|
+
var TabItemsWrapper$2 = styled__default.div(_templateObject6$c || (_templateObject6$c = _taggedTemplateLiteralLoose$1(["\n display: flex;\n align-items: center;\n gap: 24px;\n // overflow-x: auto;\n scrollbar-width: thin;\n"])));
|
|
8676
12231
|
|
|
8677
|
-
var _templateObject$
|
|
8678
|
-
var shimmer = styled.keyframes(_templateObject$
|
|
8679
|
-
var AnimatedProgress = styled__default.div(_templateObject2$
|
|
12232
|
+
var _templateObject$D, _templateObject2$w;
|
|
12233
|
+
var shimmer$2 = styled.keyframes(_templateObject$D || (_templateObject$D = _taggedTemplateLiteralLoose(["\n 0% { background-position: 200% 0; }\n 100% { background-position: -100% 0; }\n"])));
|
|
12234
|
+
var AnimatedProgress$2 = styled__default.div(_templateObject2$w || (_templateObject2$w = _taggedTemplateLiteralLoose(["\n height: 100%;\n width: ", ";\n background: ", ";\n background-size: 300% 100%;\n // background-repeat: no-repeat;\n animation: ", " 2s linear infinite;\n transition: width 0.5s ease-in-out;\n"])), function (_ref) {
|
|
8680
12235
|
var width = _ref.width;
|
|
8681
12236
|
return width;
|
|
8682
12237
|
}, function (_ref2) {
|
|
8683
12238
|
var color = _ref2.color;
|
|
8684
12239
|
return color;
|
|
8685
|
-
}, shimmer);
|
|
12240
|
+
}, shimmer$2);
|
|
8686
12241
|
var ProgressBar = function ProgressBar(_ref3) {
|
|
8687
12242
|
var threshold = _ref3.threshold,
|
|
8688
12243
|
totalCapacity = _ref3.totalCapacity,
|
|
@@ -8713,7 +12268,7 @@ var ProgressBar = function ProgressBar(_ref3) {
|
|
|
8713
12268
|
"$background": trackColor != null ? trackColor : themeColors.accent.softBlue,
|
|
8714
12269
|
"$overflow": 'hidden',
|
|
8715
12270
|
"$position": 'relative'
|
|
8716
|
-
}, animate ? React__default.createElement(AnimatedProgress, {
|
|
12271
|
+
}, animate ? React__default.createElement(AnimatedProgress$2, {
|
|
8717
12272
|
width: progress + "%",
|
|
8718
12273
|
color: progressColor != null ? progressColor : themeColors["default"].primary
|
|
8719
12274
|
}) : React__default.createElement(Container$4, {
|
|
@@ -8728,8 +12283,8 @@ var ProgressBar = function ProgressBar(_ref3) {
|
|
|
8728
12283
|
}));
|
|
8729
12284
|
};
|
|
8730
12285
|
|
|
8731
|
-
var _templateObject$
|
|
8732
|
-
var SidebarContainer$
|
|
12286
|
+
var _templateObject$E, _templateObject2$x, _templateObject3$o, _templateObject4$l, _templateObject5$h;
|
|
12287
|
+
var SidebarContainer$3 = styled__default.div(_templateObject$E || (_templateObject$E = _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) {
|
|
8733
12288
|
var $isExpanded = _ref.$isExpanded;
|
|
8734
12289
|
return $isExpanded ? '225px' : '68px';
|
|
8735
12290
|
}, function (_ref2) {
|
|
@@ -8737,20 +12292,20 @@ var SidebarContainer$1 = styled__default.div(_templateObject$s || (_templateObje
|
|
|
8737
12292
|
theme = _ref2.theme;
|
|
8738
12293
|
return $background || theme.accent.softBlue;
|
|
8739
12294
|
});
|
|
8740
|
-
var SidebarLink$
|
|
12295
|
+
var SidebarLink$3 = styled__default(reactRouterDom.NavLink)(_templateObject2$x || (_templateObject2$x = _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 text-decoration: none;\n transition: background 0.3s;\n\n &:hover {\n background: ", ";\n }\n"])), function (_ref3) {
|
|
8741
12296
|
var theme = _ref3.theme;
|
|
8742
12297
|
return theme.text.medium;
|
|
8743
12298
|
}, function (_ref4) {
|
|
8744
12299
|
var theme = _ref4.theme;
|
|
8745
12300
|
return theme["default"].primary;
|
|
8746
12301
|
});
|
|
8747
|
-
var IconWrapper$
|
|
12302
|
+
var IconWrapper$5 = styled__default.div(_templateObject3$o || (_templateObject3$o = _taggedTemplateLiteralLoose(["\n background: ", ";\n padding: 4px;\n border-radius: 4px;\n width: 28px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (_ref5) {
|
|
8748
12303
|
var $selected = _ref5.$selected,
|
|
8749
12304
|
theme = _ref5.theme;
|
|
8750
12305
|
return $selected ? theme["default"].primary : theme["default"].tertiary;
|
|
8751
12306
|
});
|
|
8752
|
-
var Logo$
|
|
8753
|
-
var TextContainer$
|
|
12307
|
+
var Logo$3 = styled__default.div(_templateObject4$l || (_templateObject4$l = _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"])));
|
|
12308
|
+
var TextContainer$3 = styled__default.span(_templateObject5$h || (_templateObject5$h = _taggedTemplateLiteralLoose(["\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 (_ref6) {
|
|
8754
12309
|
var $padding = _ref6.$padding;
|
|
8755
12310
|
return $padding;
|
|
8756
12311
|
}, function (_ref7) {
|
|
@@ -8805,17 +12360,17 @@ var Sidebar = function Sidebar(_ref12) {
|
|
|
8805
12360
|
"$gap": '10px'
|
|
8806
12361
|
}, children.map(function (child) {
|
|
8807
12362
|
var active = location.pathname.startsWith(child.url || '');
|
|
8808
|
-
return React__default.createElement(SidebarLink$
|
|
12363
|
+
return React__default.createElement(SidebarLink$3, {
|
|
8809
12364
|
to: child.url || '#',
|
|
8810
12365
|
key: child.id
|
|
8811
|
-
}, React__default.createElement(IconWrapper$
|
|
12366
|
+
}, React__default.createElement(IconWrapper$5, {
|
|
8812
12367
|
"$selected": active
|
|
8813
12368
|
}, React__default.createElement(Icon, {
|
|
8814
12369
|
icon: child.icon,
|
|
8815
12370
|
size: 18,
|
|
8816
12371
|
weight: child.iconWeight,
|
|
8817
12372
|
color: active ? themeColors.text.white : themeColors.text.medium
|
|
8818
|
-
})), React__default.createElement(TextContainer$
|
|
12373
|
+
})), React__default.createElement(TextContainer$3, {
|
|
8819
12374
|
"$isExpanded": isExpanded,
|
|
8820
12375
|
"$fontSize": '12px',
|
|
8821
12376
|
"$padding": '0px 10px 0px 0px',
|
|
@@ -8823,7 +12378,7 @@ var Sidebar = function Sidebar(_ref12) {
|
|
|
8823
12378
|
}, child.label));
|
|
8824
12379
|
}));
|
|
8825
12380
|
};
|
|
8826
|
-
return React__default.createElement(SidebarContainer$
|
|
12381
|
+
return React__default.createElement(SidebarContainer$3, {
|
|
8827
12382
|
"$background": background,
|
|
8828
12383
|
"$isExpanded": isExpanded,
|
|
8829
12384
|
onMouseEnter: function onMouseEnter() {
|
|
@@ -8836,10 +12391,10 @@ var Sidebar = function Sidebar(_ref12) {
|
|
|
8836
12391
|
"$flexDirection": 'column',
|
|
8837
12392
|
"$gap": '28px',
|
|
8838
12393
|
"$width": '100%'
|
|
8839
|
-
}, logo && React__default.createElement(Logo$
|
|
12394
|
+
}, logo && React__default.createElement(Logo$3, null, React__default.createElement(Icon, {
|
|
8840
12395
|
icon: logo.icon,
|
|
8841
12396
|
color: logo.iconColor
|
|
8842
|
-
}), React__default.createElement(TextContainer$
|
|
12397
|
+
}), React__default.createElement(TextContainer$3, {
|
|
8843
12398
|
"$isExpanded": isExpanded,
|
|
8844
12399
|
"$fontWeight": '700'
|
|
8845
12400
|
}, logo.name)), React__default.createElement(Container, {
|
|
@@ -8861,14 +12416,14 @@ var Sidebar = function Sidebar(_ref12) {
|
|
|
8861
12416
|
onClick: function onClick() {
|
|
8862
12417
|
return hasChildren && toggleMenu(item.id);
|
|
8863
12418
|
}
|
|
8864
|
-
}, React__default.createElement(IconWrapper$
|
|
12419
|
+
}, React__default.createElement(IconWrapper$5, {
|
|
8865
12420
|
"$selected": !!active
|
|
8866
12421
|
}, React__default.createElement(Icon, {
|
|
8867
12422
|
icon: item.icon,
|
|
8868
12423
|
size: 20,
|
|
8869
12424
|
weight: item.iconWeight,
|
|
8870
12425
|
color: active ? themeColors.text.white : themeColors.text.medium
|
|
8871
|
-
})), React__default.createElement(TextContainer$
|
|
12426
|
+
})), React__default.createElement(TextContainer$3, {
|
|
8872
12427
|
"$isExpanded": isExpanded,
|
|
8873
12428
|
"$fontSize": '14px',
|
|
8874
12429
|
"$padding": '0px 10px 0px 0px',
|
|
@@ -8879,7 +12434,7 @@ var Sidebar = function Sidebar(_ref12) {
|
|
|
8879
12434
|
color: themeColors.border.extraBold,
|
|
8880
12435
|
onClick: function onClick() {}
|
|
8881
12436
|
}));
|
|
8882
|
-
return item.url ? React__default.createElement(SidebarLink$
|
|
12437
|
+
return item.url ? React__default.createElement(SidebarLink$3, {
|
|
8883
12438
|
key: item.id,
|
|
8884
12439
|
to: item.url
|
|
8885
12440
|
}, ContentLayout) : React__default.createElement(Container, {
|
|
@@ -8891,14 +12446,14 @@ var Sidebar = function Sidebar(_ref12) {
|
|
|
8891
12446
|
}))), ProfileContent);
|
|
8892
12447
|
};
|
|
8893
12448
|
|
|
8894
|
-
var _templateObject$
|
|
8895
|
-
var ContainerWrapper$
|
|
12449
|
+
var _templateObject$F, _templateObject2$y, _templateObject3$p, _templateObject4$m;
|
|
12450
|
+
var ContainerWrapper$3 = styled__default.div(_templateObject$F || (_templateObject$F = _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) {
|
|
8896
12451
|
return props.$width || 'auto';
|
|
8897
12452
|
}, function (_ref) {
|
|
8898
12453
|
var $minHeight = _ref.$minHeight;
|
|
8899
12454
|
return $minHeight;
|
|
8900
12455
|
});
|
|
8901
|
-
var CellContainer$
|
|
12456
|
+
var CellContainer$3 = styled__default.div(_templateObject2$y || (_templateObject2$y = _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) {
|
|
8902
12457
|
return props.$align;
|
|
8903
12458
|
}, function (props) {
|
|
8904
12459
|
return props.$width || 'auto';
|
|
@@ -8909,14 +12464,14 @@ var CellContainer$1 = styled__default.div(_templateObject2$o || (_templateObject
|
|
|
8909
12464
|
}, function (props) {
|
|
8910
12465
|
return props.$padding;
|
|
8911
12466
|
});
|
|
8912
|
-
var MainText$
|
|
12467
|
+
var MainText$3 = styled__default.div(_templateObject3$p || (_templateObject3$p = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
8913
12468
|
return props.$mtc;
|
|
8914
12469
|
}, function (props) {
|
|
8915
12470
|
return props.$mtfs;
|
|
8916
12471
|
}, function (props) {
|
|
8917
12472
|
return props.$mtw;
|
|
8918
12473
|
});
|
|
8919
|
-
var SubText$
|
|
12474
|
+
var SubText$3 = styled__default.div(_templateObject4$m || (_templateObject4$m = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
8920
12475
|
return props.$stc;
|
|
8921
12476
|
}, function (props) {
|
|
8922
12477
|
return props.$stfs;
|
|
@@ -8945,31 +12500,31 @@ var TableCell = function TableCell(_ref2) {
|
|
|
8945
12500
|
CustomFunction = _ref2.CustomFunction,
|
|
8946
12501
|
padding = _ref2.padding,
|
|
8947
12502
|
minHeight = _ref2.minHeight;
|
|
8948
|
-
return React__default.createElement(ContainerWrapper$
|
|
12503
|
+
return React__default.createElement(ContainerWrapper$3, {
|
|
8949
12504
|
"$width": width,
|
|
8950
12505
|
"$minHeight": minHeight
|
|
8951
|
-
}, CustomFunction ? React__default.createElement(CellContainer$
|
|
12506
|
+
}, CustomFunction ? React__default.createElement(CellContainer$3, {
|
|
8952
12507
|
"$align": alignment,
|
|
8953
12508
|
"$width": width,
|
|
8954
12509
|
"$minWidth": minWidth
|
|
8955
|
-
}, CustomFunction) : React__default.createElement(CellContainer$
|
|
12510
|
+
}, CustomFunction) : React__default.createElement(CellContainer$3, {
|
|
8956
12511
|
"$align": alignment,
|
|
8957
12512
|
"$width": width,
|
|
8958
12513
|
"$minWidth": minWidth,
|
|
8959
12514
|
"$padding": padding
|
|
8960
|
-
}, React__default.createElement(MainText$
|
|
12515
|
+
}, React__default.createElement(MainText$3, {
|
|
8961
12516
|
"$mtc": maintextcolor,
|
|
8962
12517
|
"$mtfs": maintextfontsize,
|
|
8963
12518
|
"$mtw": maintextweight
|
|
8964
|
-
}, maintext), subtext && React__default.createElement(SubText$
|
|
12519
|
+
}, maintext), subtext && React__default.createElement(SubText$3, {
|
|
8965
12520
|
"$stc": subtextcolor,
|
|
8966
12521
|
"$stfs": subtextfontsize,
|
|
8967
12522
|
"$stw": subtextweight
|
|
8968
12523
|
}, subtext)));
|
|
8969
12524
|
};
|
|
8970
12525
|
|
|
8971
|
-
var _templateObject$
|
|
8972
|
-
var TableRowContainer$
|
|
12526
|
+
var _templateObject$G;
|
|
12527
|
+
var TableRowContainer$3 = styled.styled.div(_templateObject$G || (_templateObject$G = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n background: inherit;\n align-items: center;\n padding: 16px 12px;\n width: 100%;\n"])));
|
|
8973
12528
|
var TableRow = function TableRow(_ref) {
|
|
8974
12529
|
var rowconfig = _ref.rowconfig,
|
|
8975
12530
|
tableheaderconfig = _ref.tableheaderconfig,
|
|
@@ -8982,7 +12537,7 @@ var TableRow = function TableRow(_ref) {
|
|
|
8982
12537
|
}
|
|
8983
12538
|
};
|
|
8984
12539
|
return React__default.createElement(Container, null, rowconfig.map(function (data, Index) {
|
|
8985
|
-
return React__default.createElement(TableRowContainer$
|
|
12540
|
+
return React__default.createElement(TableRowContainer$3, {
|
|
8986
12541
|
key: Index
|
|
8987
12542
|
}, tableheaderconfig.isAllSelectable && React__default.createElement(Container, {
|
|
8988
12543
|
"$padding": '0px 16px 0px 0px',
|
|
@@ -9019,12 +12574,12 @@ var TableRow = function TableRow(_ref) {
|
|
|
9019
12574
|
}));
|
|
9020
12575
|
};
|
|
9021
12576
|
|
|
9022
|
-
var _templateObject$
|
|
9023
|
-
var TableContainer$
|
|
12577
|
+
var _templateObject$H, _templateObject2$z, _templateObject3$q, _templateObject4$n, _templateObject5$i, _templateObject6$d;
|
|
12578
|
+
var TableContainer$3 = styled__default.div(_templateObject$H || (_templateObject$H = _taggedTemplateLiteralLoose(["\n background: ", ";\n width: 100%;\n display: flex;\n overflow: hidden;\n border-radius: 8px;\n"])), function (_ref) {
|
|
9024
12579
|
var theme = _ref.theme;
|
|
9025
12580
|
return theme.brand.light;
|
|
9026
12581
|
});
|
|
9027
|
-
var TableHeader$
|
|
12582
|
+
var TableHeader$3 = styled__default.div(_templateObject2$z || (_templateObject2$z = _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 (_ref2) {
|
|
9028
12583
|
var $hbcolor = _ref2.$hbcolor,
|
|
9029
12584
|
theme = _ref2.theme;
|
|
9030
12585
|
return $hbcolor || theme["default"].tertiary;
|
|
@@ -9033,19 +12588,19 @@ var TableHeader$1 = styled__default.div(_templateObject2$p || (_templateObject2$
|
|
|
9033
12588
|
theme = _ref3.theme;
|
|
9034
12589
|
return $tcolor || theme.text.white;
|
|
9035
12590
|
});
|
|
9036
|
-
var TableContent$
|
|
9037
|
-
var TableData$
|
|
12591
|
+
var TableContent$3 = styled__default.div(_templateObject3$q || (_templateObject3$q = _taggedTemplateLiteralLoose(["\n width: 100%;\n svg {\n cursor: pointer;\n }\n"])));
|
|
12592
|
+
var TableData$3 = styled__default.div(_templateObject4$n || (_templateObject4$n = _taggedTemplateLiteralLoose(["\n overflow: auto;\n scrollbar-width: thin;\n height: 100%;\n max-height: ", ";\n"])), function (_ref4) {
|
|
9038
12593
|
var $isLegends = _ref4.$isLegends;
|
|
9039
12594
|
return $isLegends ? 'calc(100% - 56px)' : 'calc(100% - 36px)';
|
|
9040
12595
|
});
|
|
9041
|
-
var LegendDivider$
|
|
12596
|
+
var LegendDivider$3 = styled__default.div(_templateObject5$i || (_templateObject5$i = _taggedTemplateLiteralLoose(["\n flex: 1;\n height: 2px;\n background: ", ";\n margin-right: ", ";\n"])), function (_ref5) {
|
|
9042
12597
|
var theme = _ref5.theme;
|
|
9043
12598
|
return theme.border.extraLight;
|
|
9044
12599
|
}, function (_ref6) {
|
|
9045
12600
|
var $marginRight = _ref6.$marginRight;
|
|
9046
12601
|
return $marginRight != null ? $marginRight : '0px';
|
|
9047
12602
|
});
|
|
9048
|
-
var Divider$
|
|
12603
|
+
var Divider$3 = styled__default.div(_templateObject6$d || (_templateObject6$d = _taggedTemplateLiteralLoose(["\n height: 2px;\n background: ", ";\n"])), function (_ref7) {
|
|
9049
12604
|
var theme = _ref7.theme;
|
|
9050
12605
|
return theme.border.extraLight;
|
|
9051
12606
|
});
|
|
@@ -9104,7 +12659,7 @@ var Table = function Table(_ref8) {
|
|
|
9104
12659
|
});
|
|
9105
12660
|
setIsAllSelected(allChecked);
|
|
9106
12661
|
}, [rowconfig]);
|
|
9107
|
-
return React__default.createElement(TableContainer$
|
|
12662
|
+
return React__default.createElement(TableContainer$3, null, React__default.createElement(TableContent$3, null, React__default.createElement(TableHeader$3, {
|
|
9108
12663
|
"$hbcolor": tableheaderconfig.headercolor,
|
|
9109
12664
|
"$tcolor": tableheaderconfig.textcolor
|
|
9110
12665
|
}, tableheaderconfig.isAllSelectable && React__default.createElement(Container, {
|
|
@@ -9144,14 +12699,14 @@ var Table = function Table(_ref8) {
|
|
|
9144
12699
|
"$fontWeight": '400',
|
|
9145
12700
|
"$width": 'max-content',
|
|
9146
12701
|
"$lineHeight": 'normal'
|
|
9147
|
-
}, currentGroupTitle), React__default.createElement(LegendDivider$
|
|
12702
|
+
}, currentGroupTitle), React__default.createElement(LegendDivider$3, null)) : React__default.createElement(LegendDivider$3, {
|
|
9148
12703
|
"$marginRight": currentGroupTitle !== (((_allCols = allCols[index + 1]) === null || _allCols === void 0 ? void 0 : _allCols.groupTitle) || '') ? '8px' : '0px'
|
|
9149
12704
|
})) : null), React__default.createElement(TableCell, {
|
|
9150
12705
|
maintext: (_columndata$maintext = columndata.maintext) != null ? _columndata$maintext : '',
|
|
9151
12706
|
width: columndata.width,
|
|
9152
12707
|
alignment: columndata.alignment
|
|
9153
12708
|
}));
|
|
9154
|
-
})), React__default.createElement(Divider$
|
|
12709
|
+
})), React__default.createElement(Divider$3, null), loading ? React__default.createElement(Container, {
|
|
9155
12710
|
"$flexDirection": 'column',
|
|
9156
12711
|
"$alignItems": 'center',
|
|
9157
12712
|
"$justifyContent": 'center',
|
|
@@ -9163,7 +12718,7 @@ var Table = function Table(_ref8) {
|
|
|
9163
12718
|
"$alignItems": 'center',
|
|
9164
12719
|
"$padding": '24px 24px',
|
|
9165
12720
|
"$justifyContent": 'center'
|
|
9166
|
-
}, React__default.createElement(Span, null, noDataText)) : filter ? React__default.createElement(TableData$
|
|
12721
|
+
}, React__default.createElement(Span, null, noDataText)) : filter ? React__default.createElement(TableData$3, {
|
|
9167
12722
|
"$isLegends": tableheaderconfig.headerdata.some(function (col) {
|
|
9168
12723
|
return !!col.groupTitle;
|
|
9169
12724
|
})
|
|
@@ -9198,9 +12753,9 @@ var Table = function Table(_ref8) {
|
|
|
9198
12753
|
rowconfig: [row],
|
|
9199
12754
|
tableheaderconfig: tableheaderconfig,
|
|
9200
12755
|
selectCallback: tableObject.selectCallback
|
|
9201
|
-
}), rows.length > 1 && index < rows.length - 1 && React__default.createElement(Divider$
|
|
12756
|
+
}), rows.length > 1 && index < rows.length - 1 && React__default.createElement(Divider$3, null));
|
|
9202
12757
|
}));
|
|
9203
|
-
})) : React__default.createElement(TableData$
|
|
12758
|
+
})) : React__default.createElement(TableData$3, {
|
|
9204
12759
|
"$isLegends": tableheaderconfig.headerdata.some(function (col) {
|
|
9205
12760
|
return !!col.groupTitle;
|
|
9206
12761
|
})
|
|
@@ -9211,12 +12766,12 @@ var Table = function Table(_ref8) {
|
|
|
9211
12766
|
rowconfig: [row],
|
|
9212
12767
|
tableheaderconfig: tableheaderconfig,
|
|
9213
12768
|
selectCallback: tableObject.selectCallback
|
|
9214
|
-
}), filteredRows.length > 1 && index < filteredRows.length - 1 && React__default.createElement(Divider$
|
|
12769
|
+
}), filteredRows.length > 1 && index < filteredRows.length - 1 && React__default.createElement(Divider$3, null));
|
|
9215
12770
|
}))));
|
|
9216
12771
|
};
|
|
9217
12772
|
|
|
9218
|
-
var _templateObject$
|
|
9219
|
-
var Container$
|
|
12773
|
+
var _templateObject$I, _templateObject2$A, _templateObject3$r, _templateObject4$o, _templateObject5$j, _templateObject6$e;
|
|
12774
|
+
var Container$7 = styled__default.div(_templateObject$I || (_templateObject$I = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 100%; \n display: flex;\n flex-direction: column;\n overflow: ", ";\n gap: ", ";\n border: ", ";\n border-radius: 8px;\n"])), function (_ref) {
|
|
9220
12775
|
var $overflow = _ref.$overflow;
|
|
9221
12776
|
return $overflow || 'visible';
|
|
9222
12777
|
}, function (_ref2) {
|
|
@@ -9226,7 +12781,7 @@ var Container$5 = styled__default.div(_templateObject$w || (_templateObject$w =
|
|
|
9226
12781
|
var $border = _ref3.$border;
|
|
9227
12782
|
return $border;
|
|
9228
12783
|
});
|
|
9229
|
-
var FirstContainer$
|
|
12784
|
+
var FirstContainer$3 = styled__default.div(_templateObject2$A || (_templateObject2$A = _taggedTemplateLiteralLoose(["\n width: 100%;\n display: flex;\n font-family: NotoSans, sans-serif;\n font-size: 16px;\n gap: 24px;\n border-bottom: ", ";\n padding: ", ";\n justify-content: space-between;\n align-items: center;\n height: max-content;\n"])), function (_ref4) {
|
|
9230
12785
|
var $bordeBottom = _ref4.$bordeBottom,
|
|
9231
12786
|
theme = _ref4.theme;
|
|
9232
12787
|
return $bordeBottom != null ? $bordeBottom : "1px solid " + theme.border.light;
|
|
@@ -9234,7 +12789,7 @@ var FirstContainer$1 = styled__default.div(_templateObject2$q || (_templateObjec
|
|
|
9234
12789
|
var $headerPadding = _ref5.$headerPadding;
|
|
9235
12790
|
return $headerPadding ? $headerPadding : '0px';
|
|
9236
12791
|
});
|
|
9237
|
-
var TabContainer$
|
|
12792
|
+
var TabContainer$3 = styled__default.div(_templateObject3$r || (_templateObject3$r = _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 (_ref6) {
|
|
9238
12793
|
var $disabled = _ref6.$disabled;
|
|
9239
12794
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
9240
12795
|
}, function (_ref7) {
|
|
@@ -9250,7 +12805,7 @@ var TabContainer$1 = styled__default.div(_templateObject3$j || (_templateObject3
|
|
|
9250
12805
|
var $disabled = _ref10.$disabled;
|
|
9251
12806
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
9252
12807
|
});
|
|
9253
|
-
var TabItemContainer$
|
|
12808
|
+
var TabItemContainer$3 = styled__default.div(_templateObject4$o || (_templateObject4$o = _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 min-height: 3px;\n background: ", ";\n position: absolute;\n bottom: -1px;\n left: 0px;\n }\n"])), function (_ref11) {
|
|
9254
12809
|
var $headerHeight = _ref11.$headerHeight;
|
|
9255
12810
|
return $headerHeight ? $headerHeight : '34px';
|
|
9256
12811
|
}, function (props) {
|
|
@@ -9259,12 +12814,12 @@ var TabItemContainer$1 = styled__default.div(_templateObject4$g || (_templateObj
|
|
|
9259
12814
|
var theme = _ref12.theme;
|
|
9260
12815
|
return theme["default"].primary;
|
|
9261
12816
|
});
|
|
9262
|
-
var DetailsFirstContainer$
|
|
12817
|
+
var DetailsFirstContainer$3 = styled__default.div(_templateObject5$j || (_templateObject5$j = _taggedTemplateLiteralLoose(["\n text-align: center;\n font-size: 14px;\n line-height: 18px;\n font-weight: 500;\n font-family: NotoSans, sans-serif;\n height: 100%;\n display: flex;\n align-items: center;\n color: ", ";\n white-space: nowrap;\n"])), function (_ref13) {
|
|
9263
12818
|
var $active = _ref13.$active,
|
|
9264
12819
|
theme = _ref13.theme;
|
|
9265
12820
|
return $active ? theme["default"].primary : theme.text.medium;
|
|
9266
12821
|
});
|
|
9267
|
-
var TabItemsWrapper$
|
|
12822
|
+
var TabItemsWrapper$3 = styled__default.div(_templateObject6$e || (_templateObject6$e = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: 24px;\n // overflow-x: auto;\n scrollbar-width: thin;\n"])));
|
|
9268
12823
|
var Tabs = function Tabs(_ref14) {
|
|
9269
12824
|
var tabItems = _ref14.tabItems,
|
|
9270
12825
|
_ref14$disabled = _ref14.disabled,
|
|
@@ -9279,22 +12834,22 @@ var Tabs = function Tabs(_ref14) {
|
|
|
9279
12834
|
bordeBottom = _ref14.bordeBottom,
|
|
9280
12835
|
tabRightNode = _ref14.tabRightNode;
|
|
9281
12836
|
var themeColors = useTheme();
|
|
9282
|
-
return React__default.createElement(Container$
|
|
12837
|
+
return React__default.createElement(Container$7, {
|
|
9283
12838
|
"$gap": gap,
|
|
9284
12839
|
"$border": border,
|
|
9285
12840
|
"$overflow": overflow
|
|
9286
|
-
}, React__default.createElement(FirstContainer$
|
|
12841
|
+
}, React__default.createElement(FirstContainer$3, {
|
|
9287
12842
|
"$headerPadding": headerPadding,
|
|
9288
12843
|
"$bordeBottom": bordeBottom
|
|
9289
|
-
}, React__default.createElement(TabItemsWrapper$
|
|
9290
|
-
return React__default.createElement(TabContainer$
|
|
12844
|
+
}, React__default.createElement(TabItemsWrapper$3, null, tabItems.map(function (tab, index) {
|
|
12845
|
+
return React__default.createElement(TabContainer$3, {
|
|
9291
12846
|
key: index,
|
|
9292
12847
|
onClick: function onClick() {
|
|
9293
12848
|
if (!disabled && tab.onClick) tab.onClick();
|
|
9294
12849
|
},
|
|
9295
12850
|
"$disabled": disabled,
|
|
9296
12851
|
"$headerHeight": headerHeight
|
|
9297
|
-
}, React__default.createElement(TabItemContainer$
|
|
12852
|
+
}, React__default.createElement(TabItemContainer$3, {
|
|
9298
12853
|
"$active": activeTab === tab.title,
|
|
9299
12854
|
"$headerHeight": headerHeight
|
|
9300
12855
|
}, tab.icon && React__default.createElement(Icon, {
|
|
@@ -9302,11 +12857,11 @@ var Tabs = function Tabs(_ref14) {
|
|
|
9302
12857
|
icon: tab.icon,
|
|
9303
12858
|
size: tab.iconSize,
|
|
9304
12859
|
weight: tab.iconWeight
|
|
9305
|
-
}), React__default.createElement(DetailsFirstContainer$
|
|
12860
|
+
}), React__default.createElement(DetailsFirstContainer$3, {
|
|
9306
12861
|
"$active": activeTab === tab.title
|
|
9307
12862
|
}, tab.title)));
|
|
9308
12863
|
})), tabRightNode === null || tabRightNode === void 0 ? void 0 : tabRightNode.node), tabItems.map(function (tab, index) {
|
|
9309
|
-
return activeTab === tab.title && React__default.createElement(Container$
|
|
12864
|
+
return activeTab === tab.title && React__default.createElement(Container$7, {
|
|
9310
12865
|
key: index,
|
|
9311
12866
|
"$overflow": overflow
|
|
9312
12867
|
}, tab.content);
|