labsense-ui-kit 1.1.8 → 1.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Inputs/TextField.d.ts +4 -0
- package/dist/index.js +1664 -346
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1664 -346
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8454,8 +8454,8 @@ var SearchBar$1$1 = styled__default.input(_templateObject10$2$1 || (_templateObj
|
|
|
8454
8454
|
var _templateObject$c$1, _templateObject2$9$1;
|
|
8455
8455
|
var ModalOverlay$1 = styled__default.div(_templateObject$c$1 || (_templateObject$c$1 = _taggedTemplateLiteralLoose$1(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.5);\n display: flex;\n align-items: center;\n justify-content: center;\n font-family: NotoSans, sans-serif;\n z-index: 9999;\n backdrop-filter: blur(4px);\n"])));
|
|
8456
8456
|
var ModalContainer$1 = styled__default.div(_templateObject2$9$1 || (_templateObject2$9$1 = _taggedTemplateLiteralLoose$1(["\n background: ", ";\n box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);\n border-radius: 8px;\n max-width: ", ";\n"])), colorVariables$1.accent.light, function (_ref) {
|
|
8457
|
-
var maxWidth = _ref
|
|
8458
|
-
return maxWidth ? maxWidth : '400px';
|
|
8457
|
+
var $maxWidth = _ref.$maxWidth;
|
|
8458
|
+
return $maxWidth ? $maxWidth : '400px';
|
|
8459
8459
|
});
|
|
8460
8460
|
var _templateObject$d$1, _templateObject2$a$1;
|
|
8461
8461
|
var SearchContainer$2$1 = styled__default.div(_templateObject$d$1 || (_templateObject$d$1 = _taggedTemplateLiteralLoose$1(["\n width: 100%;\n height: 100%;\n background: ", ";\n border: ", ";\n border-radius: ", ";\n padding: 5.5px 8px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 8px;\n"])), function (_ref) {
|
|
@@ -9340,71 +9340,1384 @@ var LabelText$1$1$1 = styled__default.div(_templateObject5$4$1$1 || (_templateOb
|
|
|
9340
9340
|
$disabled = _ref21.$disabled;
|
|
9341
9341
|
return $disabled ? colorVariables$1$1.text.medium : $color || colorVariables$1$1.text.medium;
|
|
9342
9342
|
});
|
|
9343
|
-
var NoOptions$1$1 = styled__default(Span$1$1)(_templateObject6$4$1$1 || (_templateObject6$4$1$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n align-items: center;\n height: 100%;\n padding: 12px;\n font-size: 14px;\n font-weight: 400;\n"])));
|
|
9344
|
-
var DropdownMenu$1$1$1 = styled__default.div(_templateObject7$2$1$1 || (_templateObject7$2$1$1 = _taggedTemplateLiteralLoose$1$1(["\n height: auto;\n max-height: 170px;\n border: 1px solid ", ";\n border-radius: ", ";\n min-width: 100%;\n width: ", ";\n background: ", ";\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n overflow: hidden; \n position: absolute;\n z-index: 1;\n ", "\n ", "\n \n"])), colorVariables$1$1.border.light, function (_ref22) {
|
|
9345
|
-
var $optionsBorderRadius = _ref22.$optionsBorderRadius;
|
|
9346
|
-
return $optionsBorderRadius || '8px';
|
|
9347
|
-
}, function (_ref23) {
|
|
9348
|
-
var $width = _ref23.$width;
|
|
9349
|
-
return $width ? $width : 'max-content';
|
|
9350
|
-
}, function (_ref24) {
|
|
9351
|
-
var $menuBackground = _ref24.$menuBackground;
|
|
9352
|
-
return $menuBackground || colorVariables$1$1.accent.extraLight;
|
|
9353
|
-
}, function (_ref25) {
|
|
9354
|
-
var $top = _ref25.$top;
|
|
9355
|
-
return $top && "top: " + $top + ";";
|
|
9356
|
-
}, function (_ref26) {
|
|
9357
|
-
var $bottom = _ref26.$bottom;
|
|
9358
|
-
return $bottom && "bottom: " + $bottom + ";";
|
|
9343
|
+
var NoOptions$1$1 = styled__default(Span$1$1)(_templateObject6$4$1$1 || (_templateObject6$4$1$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n align-items: center;\n height: 100%;\n padding: 12px;\n font-size: 14px;\n font-weight: 400;\n"])));
|
|
9344
|
+
var DropdownMenu$1$1$1 = styled__default.div(_templateObject7$2$1$1 || (_templateObject7$2$1$1 = _taggedTemplateLiteralLoose$1$1(["\n height: auto;\n max-height: 170px;\n border: 1px solid ", ";\n border-radius: ", ";\n min-width: 100%;\n width: ", ";\n background: ", ";\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n overflow: hidden; \n position: absolute;\n z-index: 1;\n ", "\n ", "\n \n"])), colorVariables$1$1.border.light, function (_ref22) {
|
|
9345
|
+
var $optionsBorderRadius = _ref22.$optionsBorderRadius;
|
|
9346
|
+
return $optionsBorderRadius || '8px';
|
|
9347
|
+
}, function (_ref23) {
|
|
9348
|
+
var $width = _ref23.$width;
|
|
9349
|
+
return $width ? $width : 'max-content';
|
|
9350
|
+
}, function (_ref24) {
|
|
9351
|
+
var $menuBackground = _ref24.$menuBackground;
|
|
9352
|
+
return $menuBackground || colorVariables$1$1.accent.extraLight;
|
|
9353
|
+
}, function (_ref25) {
|
|
9354
|
+
var $top = _ref25.$top;
|
|
9355
|
+
return $top && "top: " + $top + ";";
|
|
9356
|
+
}, function (_ref26) {
|
|
9357
|
+
var $bottom = _ref26.$bottom;
|
|
9358
|
+
return $bottom && "bottom: " + $bottom + ";";
|
|
9359
|
+
});
|
|
9360
|
+
var OptionsWrapper$1$1 = styled__default.div(_templateObject8$2$1$1 || (_templateObject8$2$1$1 = _taggedTemplateLiteralLoose$1$1(["\n max-height: 150px; \n overflow-y: auto; \n width: 100%;\n"])));
|
|
9361
|
+
var SearchContainer$1$1$1 = styled__default.div(_templateObject9$2$1$1 || (_templateObject9$2$1$1 = _taggedTemplateLiteralLoose$1$1(["\n width: 100%;\n background: ", ";\n border: ", ";\n border-bottom: 1px solid ", ";\n border-radius: ", ";\n padding: 10px 12px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 8px;\n position: sticky;\n top: 0;\n z-index: 10; \n"])), function (_ref27) {
|
|
9362
|
+
var $background = _ref27.$background;
|
|
9363
|
+
return $background || colorVariables$1$1.accent.extraLight;
|
|
9364
|
+
}, function (_ref28) {
|
|
9365
|
+
var $border = _ref28.$border;
|
|
9366
|
+
return $border || 'none';
|
|
9367
|
+
}, colorVariables$1$1.border.light, function (_ref29) {
|
|
9368
|
+
var $borderRadius = _ref29.$borderRadius;
|
|
9369
|
+
return $borderRadius || '8px 8px 0 0';
|
|
9370
|
+
});
|
|
9371
|
+
var SearchBar$1$1$1 = styled__default.input(_templateObject10$2$1$1 || (_templateObject10$2$1$1 = _taggedTemplateLiteralLoose$1$1(["\n border: none;\n width: 100%;\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n font-style: normal;\n font-size: 14px;\n line-height: normal;\n background: transparent;\n color: ", ";\n outline: none;\n \n &::placeholder {\n color: ", ";\n font-style: italic;\n }\n"])), function (_ref30) {
|
|
9372
|
+
var $inputColor = _ref30.$inputColor;
|
|
9373
|
+
return $inputColor || colorVariables$1$1.text.medium;
|
|
9374
|
+
}, function (_ref31) {
|
|
9375
|
+
var $placeholderColor = _ref31.$placeholderColor;
|
|
9376
|
+
return $placeholderColor || colorVariables$1$1.text.light;
|
|
9377
|
+
});
|
|
9378
|
+
var _templateObject$c$1$1, _templateObject2$9$1$1;
|
|
9379
|
+
var ModalOverlay$1$1 = styled__default.div(_templateObject$c$1$1 || (_templateObject$c$1$1 = _taggedTemplateLiteralLoose$1$1(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.5);\n display: flex;\n align-items: center;\n justify-content: center;\n font-family: NotoSans, sans-serif;\n z-index: 9999;\n backdrop-filter: blur(4px);\n"])));
|
|
9380
|
+
var ModalContainer$1$1 = styled__default.div(_templateObject2$9$1$1 || (_templateObject2$9$1$1 = _taggedTemplateLiteralLoose$1$1(["\n background: ", ";\n box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);\n border-radius: 8px;\n max-width: ", ";\n"])), colorVariables$1$1.accent.light, function (_ref) {
|
|
9381
|
+
var maxWidth = _ref.maxWidth;
|
|
9382
|
+
return maxWidth ? maxWidth : '400px';
|
|
9383
|
+
});
|
|
9384
|
+
var _templateObject$d$1$1, _templateObject2$a$1$1;
|
|
9385
|
+
var SearchContainer$2$1$1 = styled__default.div(_templateObject$d$1$1 || (_templateObject$d$1$1 = _taggedTemplateLiteralLoose$1$1(["\n width: 100%;\n height: 100%;\n background: ", ";\n border: ", ";\n border-radius: ", ";\n padding: 5.5px 8px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 8px;\n"])), function (_ref) {
|
|
9386
|
+
var $background = _ref.$background;
|
|
9387
|
+
return $background || colorVariables$1$1["default"].tertiary;
|
|
9388
|
+
}, function (_ref2) {
|
|
9389
|
+
var $border = _ref2.$border;
|
|
9390
|
+
return $border || 'none';
|
|
9391
|
+
}, function (_ref3) {
|
|
9392
|
+
var $borderRadius = _ref3.$borderRadius;
|
|
9393
|
+
return $borderRadius || '8px';
|
|
9394
|
+
});
|
|
9395
|
+
var SearchBar$2$1$1 = styled__default.input(_templateObject2$a$1$1 || (_templateObject2$a$1$1 = _taggedTemplateLiteralLoose$1$1(["\n border: none;\n width: 100%;\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n font-style: normal;\n font-size: 14px;\n line-height: normal;\n background: ", ";\n color: ", ";\n &::placeholder {\n color: ", ";\n font-style: italic;\n position: absolute;\n top: 1px;\n }\n"])), colorVariables$1$1["default"].tertiary, function (_ref4) {
|
|
9396
|
+
var $inputColor = _ref4.$inputColor;
|
|
9397
|
+
return $inputColor || colorVariables$1$1.text.medium;
|
|
9398
|
+
}, function (_ref5) {
|
|
9399
|
+
var $placeholderColor = _ref5.$placeholderColor;
|
|
9400
|
+
return $placeholderColor || colorVariables$1$1.text.light;
|
|
9401
|
+
});
|
|
9402
|
+
function _taggedTemplateLiteralLoose$1$1$1(e, t) {
|
|
9403
|
+
return t || (t = e.slice(0)), e.raw = t, e;
|
|
9404
|
+
}
|
|
9405
|
+
var colorVariables$1$1$1 = {
|
|
9406
|
+
brand: {
|
|
9407
|
+
primary: '#4C9EEB',
|
|
9408
|
+
secondary: '#14171A',
|
|
9409
|
+
light: '#FFFFFF'
|
|
9410
|
+
},
|
|
9411
|
+
accent: {
|
|
9412
|
+
light: '#E1E8ED',
|
|
9413
|
+
extraLight: '#F5F8FA',
|
|
9414
|
+
softBlue: '#D4EEFF',
|
|
9415
|
+
extraSoftBlue: '#E4F4FF',
|
|
9416
|
+
boldTransparent: '#5E5E5E80',
|
|
9417
|
+
transparent: '#5E5E5E4D',
|
|
9418
|
+
lightTransparent: '#5E5E5E23'
|
|
9419
|
+
},
|
|
9420
|
+
"default": {
|
|
9421
|
+
primary: '#78B6F0',
|
|
9422
|
+
secondary: '#C2C2C2',
|
|
9423
|
+
tertiary: 'transparent',
|
|
9424
|
+
error: '#F44336',
|
|
9425
|
+
success: '#4CAF50',
|
|
9426
|
+
warning: '#FF9800',
|
|
9427
|
+
info: '#2159F3'
|
|
9428
|
+
},
|
|
9429
|
+
disabled: {
|
|
9430
|
+
primary: '#B9DCF7',
|
|
9431
|
+
secondary: '#DADADA',
|
|
9432
|
+
error: '#FFEBEE',
|
|
9433
|
+
success: '#E8F5E9',
|
|
9434
|
+
warning: '#FFF3E0',
|
|
9435
|
+
info: '#E3F2FD'
|
|
9436
|
+
},
|
|
9437
|
+
hover: {
|
|
9438
|
+
primary: '#4C9EEB',
|
|
9439
|
+
secondary: '#A3A3A3',
|
|
9440
|
+
tertiary: 'transparent',
|
|
9441
|
+
error: '#D32F2F',
|
|
9442
|
+
success: '#388E3C',
|
|
9443
|
+
warning: '#F57C00',
|
|
9444
|
+
info: '#193ED2'
|
|
9445
|
+
},
|
|
9446
|
+
border: {
|
|
9447
|
+
extraBold: '#657786',
|
|
9448
|
+
bold: '#BFBFBF',
|
|
9449
|
+
medium: '#CBCED0',
|
|
9450
|
+
light: '#DCDCDC',
|
|
9451
|
+
extraLight: '#E6E3E3'
|
|
9452
|
+
},
|
|
9453
|
+
text: {
|
|
9454
|
+
dark: '#14171A',
|
|
9455
|
+
medium: '#657786',
|
|
9456
|
+
light: '#98A2AA',
|
|
9457
|
+
white: '#FFFFFF',
|
|
9458
|
+
success: '#1B5E20',
|
|
9459
|
+
error: '#B71C1C',
|
|
9460
|
+
info: '#0D30A1',
|
|
9461
|
+
warning: '#E65100'
|
|
9462
|
+
},
|
|
9463
|
+
badge: {
|
|
9464
|
+
lavender: '#E8DAFF',
|
|
9465
|
+
papayaWhip: '#FFEDD5',
|
|
9466
|
+
water: '#C7E3FF',
|
|
9467
|
+
paleBlue: '#B0F0E4',
|
|
9468
|
+
teaGreen: '#D5F7C2',
|
|
9469
|
+
lightBlue: '#ADD8E6'
|
|
9470
|
+
}
|
|
9471
|
+
};
|
|
9472
|
+
var _templateObject$e$1$1, _templateObject2$b$1$1, _templateObject3$7$1$1;
|
|
9473
|
+
var wrapperCss$1$1$1 = styled.css(_templateObject$e$1$1 || (_templateObject$e$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n svg {\n overflow: visible;\n vector-effect: non-scaling-stroke;\n line,\n path,\n circle,\n ellipse,\n foreignObject,\n polygon,\n polyline,\n rect,\n text,\n textPath,\n tspan {\n vector-effect: non-scaling-stroke;\n }\n }\n"])));
|
|
9474
|
+
var IconWrapper$1$1$1 = styled__default.div(_templateObject2$b$1$1 || (_templateObject2$b$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: max-content;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: ", ";\n ", ";\n"])), function (_ref) {
|
|
9475
|
+
var $clickable = _ref.$clickable;
|
|
9476
|
+
return $clickable ? 'pointer' : 'default';
|
|
9477
|
+
}, wrapperCss$1$1$1);
|
|
9478
|
+
var IconWrapperForSVG$1$1$1 = styled__default.g(_templateObject3$7$1$1 || (_templateObject3$7$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n ", ";\n"])), wrapperCss$1$1$1);
|
|
9479
|
+
var _templateObject$1$1$1$1, _templateObject2$1$1$1$1;
|
|
9480
|
+
var Container$3$1$1 = styled__default.div(_templateObject$1$1$1$1 || (_templateObject$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n flex: ", ";\n flex-wrap: ", ";\n flex-direction: ", ";\n justify-content: ", ";\n align-items: ", "; \n gap: ", ";\n font-weight: ", ";\n height: ", ";\n min-height: ", ";\n max-height: ", ";\n width: ", ";\n min-width: ", ";\n max-width: ", ";\n padding: ", ";\n background: ", ";\n object-fit:", ";\n margin: ", ";\n border-radius: ", ";\n cursor: ", ";\n font-size: ", ";\n opacity: ", ";\n pointer-events: ", ";\n position: ", ";\n top: ", ";\n bottom: ", ";\n left: ", ";\n right: ", ";\n text-align: ", "; \n color: ", "; \n overflow: ", ";\n overflow-y: ", ";\n z-index: ", "; \n scrollbar-width: ", ";\n border: ", "; \n border-bottom: ", ";\n border-left: ", ";\n\n &:hover {\n background: ", ";\n color: ", ";\n }\n"])), function (_ref) {
|
|
9481
|
+
var $flex = _ref.$flex;
|
|
9482
|
+
return $flex;
|
|
9483
|
+
}, function (_ref2) {
|
|
9484
|
+
var $flexWrap = _ref2.$flexWrap;
|
|
9485
|
+
return $flexWrap;
|
|
9486
|
+
}, function (_ref3) {
|
|
9487
|
+
var $flexDirection = _ref3.$flexDirection;
|
|
9488
|
+
return $flexDirection;
|
|
9489
|
+
}, function (_ref4) {
|
|
9490
|
+
var $justifyContent = _ref4.$justifyContent;
|
|
9491
|
+
return $justifyContent;
|
|
9492
|
+
}, function (_ref5) {
|
|
9493
|
+
var $alignItems = _ref5.$alignItems;
|
|
9494
|
+
return $alignItems;
|
|
9495
|
+
}, function (_ref6) {
|
|
9496
|
+
var $gap = _ref6.$gap;
|
|
9497
|
+
return $gap;
|
|
9498
|
+
}, function (_ref7) {
|
|
9499
|
+
var $fontWeight = _ref7.$fontWeight;
|
|
9500
|
+
return $fontWeight;
|
|
9501
|
+
}, function (_ref8) {
|
|
9502
|
+
var $height = _ref8.$height;
|
|
9503
|
+
return $height;
|
|
9504
|
+
}, function (_ref9) {
|
|
9505
|
+
var $minHeight = _ref9.$minHeight;
|
|
9506
|
+
return $minHeight;
|
|
9507
|
+
}, function (_ref10) {
|
|
9508
|
+
var $maxHeight = _ref10.$maxHeight;
|
|
9509
|
+
return $maxHeight;
|
|
9510
|
+
}, function (_ref11) {
|
|
9511
|
+
var $width = _ref11.$width;
|
|
9512
|
+
return $width;
|
|
9513
|
+
}, function (_ref12) {
|
|
9514
|
+
var $minWidth = _ref12.$minWidth;
|
|
9515
|
+
return $minWidth;
|
|
9516
|
+
}, function (_ref13) {
|
|
9517
|
+
var $maxWidth = _ref13.$maxWidth;
|
|
9518
|
+
return $maxWidth;
|
|
9519
|
+
}, function (_ref14) {
|
|
9520
|
+
var $padding = _ref14.$padding;
|
|
9521
|
+
return $padding;
|
|
9522
|
+
}, function (_ref15) {
|
|
9523
|
+
var $background = _ref15.$background;
|
|
9524
|
+
return $background;
|
|
9525
|
+
}, function (_ref16) {
|
|
9526
|
+
var $objectfit = _ref16.$objectfit;
|
|
9527
|
+
return $objectfit;
|
|
9528
|
+
}, function (_ref17) {
|
|
9529
|
+
var $margin = _ref17.$margin;
|
|
9530
|
+
return $margin;
|
|
9531
|
+
}, function (_ref18) {
|
|
9532
|
+
var $borderRadius = _ref18.$borderRadius;
|
|
9533
|
+
return $borderRadius;
|
|
9534
|
+
}, function (_ref19) {
|
|
9535
|
+
var $cursor = _ref19.$cursor;
|
|
9536
|
+
return $cursor;
|
|
9537
|
+
}, function (_ref20) {
|
|
9538
|
+
var $fontSize = _ref20.$fontSize;
|
|
9539
|
+
return $fontSize;
|
|
9540
|
+
}, function (_ref21) {
|
|
9541
|
+
var $opacity = _ref21.$opacity;
|
|
9542
|
+
return $opacity;
|
|
9543
|
+
}, function (_ref22) {
|
|
9544
|
+
var $pointerEvents = _ref22.$pointerEvents;
|
|
9545
|
+
return $pointerEvents;
|
|
9546
|
+
}, function (_ref23) {
|
|
9547
|
+
var $position = _ref23.$position;
|
|
9548
|
+
return $position;
|
|
9549
|
+
}, function (_ref24) {
|
|
9550
|
+
var $top = _ref24.$top;
|
|
9551
|
+
return $top;
|
|
9552
|
+
}, function (_ref25) {
|
|
9553
|
+
var $bottom = _ref25.$bottom;
|
|
9554
|
+
return $bottom;
|
|
9555
|
+
}, function (_ref26) {
|
|
9556
|
+
var $left = _ref26.$left;
|
|
9557
|
+
return $left;
|
|
9558
|
+
}, function (_ref27) {
|
|
9559
|
+
var $right = _ref27.$right;
|
|
9560
|
+
return $right;
|
|
9561
|
+
}, function (_ref28) {
|
|
9562
|
+
var $textAlign = _ref28.$textAlign;
|
|
9563
|
+
return $textAlign;
|
|
9564
|
+
}, function (_ref29) {
|
|
9565
|
+
var $color = _ref29.$color;
|
|
9566
|
+
return $color;
|
|
9567
|
+
}, function (_ref30) {
|
|
9568
|
+
var $overflow = _ref30.$overflow;
|
|
9569
|
+
return $overflow || 'visible';
|
|
9570
|
+
}, function (_ref31) {
|
|
9571
|
+
var $overflowY = _ref31.$overflowY;
|
|
9572
|
+
return $overflowY;
|
|
9573
|
+
}, function (_ref32) {
|
|
9574
|
+
var $zIndex = _ref32.$zIndex;
|
|
9575
|
+
return $zIndex;
|
|
9576
|
+
}, function (_ref33) {
|
|
9577
|
+
var $scrollbarWidth = _ref33.$scrollbarWidth;
|
|
9578
|
+
return $scrollbarWidth;
|
|
9579
|
+
}, function (_ref34) {
|
|
9580
|
+
var $border = _ref34.$border;
|
|
9581
|
+
return $border;
|
|
9582
|
+
}, function (_ref35) {
|
|
9583
|
+
var $borderBottom = _ref35.$borderBottom;
|
|
9584
|
+
return $borderBottom;
|
|
9585
|
+
}, function (_ref36) {
|
|
9586
|
+
var $borderLeft = _ref36.$borderLeft;
|
|
9587
|
+
return $borderLeft;
|
|
9588
|
+
}, function (_ref37) {
|
|
9589
|
+
var $hoverBackground = _ref37.$hoverBackground;
|
|
9590
|
+
return $hoverBackground;
|
|
9591
|
+
}, function (_ref38) {
|
|
9592
|
+
var $hoverColor = _ref38.$hoverColor;
|
|
9593
|
+
return $hoverColor;
|
|
9594
|
+
});
|
|
9595
|
+
var Span$1$1$1 = styled__default.span(_templateObject2$1$1$1$1 || (_templateObject2$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n color: ", ";\n line-height: ", ";\n text-align: ", ";\n min-width: ", ";\n width: ", ";\n overflow-wrap: ", ";\n"])), function (_ref39) {
|
|
9596
|
+
var $fontFamily = _ref39.$fontFamily;
|
|
9597
|
+
return $fontFamily ? $fontFamily : 'NotoSans, sans-serif';
|
|
9598
|
+
}, function (_ref40) {
|
|
9599
|
+
var $fontWeight = _ref40.$fontWeight;
|
|
9600
|
+
return $fontWeight ? $fontWeight : '500';
|
|
9601
|
+
}, function (_ref41) {
|
|
9602
|
+
var $fontSize = _ref41.$fontSize;
|
|
9603
|
+
return $fontSize ? $fontSize : '16px';
|
|
9604
|
+
}, function (_ref42) {
|
|
9605
|
+
var $color = _ref42.$color;
|
|
9606
|
+
return $color ? $color : colorVariables$1$1$1.text.medium;
|
|
9607
|
+
}, function (_ref43) {
|
|
9608
|
+
var $lineHeight = _ref43.$lineHeight;
|
|
9609
|
+
return $lineHeight ? $lineHeight : '100%';
|
|
9610
|
+
}, function (_ref44) {
|
|
9611
|
+
var $textAlign = _ref44.$textAlign;
|
|
9612
|
+
return $textAlign ? $textAlign : 'center';
|
|
9613
|
+
}, function (_ref45) {
|
|
9614
|
+
var $minWidth = _ref45.$minWidth;
|
|
9615
|
+
return $minWidth;
|
|
9616
|
+
}, function (_ref46) {
|
|
9617
|
+
var $width = _ref46.$width;
|
|
9618
|
+
return $width;
|
|
9619
|
+
}, function (_ref47) {
|
|
9620
|
+
var $overflowWrap = _ref47.$overflowWrap;
|
|
9621
|
+
return $overflowWrap;
|
|
9622
|
+
});
|
|
9623
|
+
var _templateObject$2$1$1$1, _templateObject2$2$1$1$1;
|
|
9624
|
+
var TooltipWrapper$1$1$1 = styled__default.div(_templateObject$2$1$1$1 || (_templateObject$2$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n svg {\n cursor: pointer;\n } \n"])));
|
|
9625
|
+
var TooltipText$1$1$1 = styled__default.span(_templateObject2$2$1$1$1 || (_templateObject2$2$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n visibility: ", ";\n opacity: ", ";\n width: max-content;\n max-width: 300px;\n background-color: ", ";\n color: ", ";\n text-align: start;\n border-radius: 8px;\n padding:8px 16px;\n transition: opacity 0.2s ease-in-out;\n font-size: 12px;\n\n // position: absolute;\n // left: 0;\n // bottom: 150%;\n // white-space: pre-line;\n // position: fixed;\n // z-index: 99999;\n // transition: opacity 0.2s ease-in-out;\n // font-size: 12px;\n // pointer-events: auto;\n"])), function (_ref) {
|
|
9626
|
+
var $visible = _ref.$visible;
|
|
9627
|
+
return $visible ? 'visible' : 'hidden';
|
|
9628
|
+
}, function (_ref2) {
|
|
9629
|
+
var $visible = _ref2.$visible;
|
|
9630
|
+
return $visible ? 1 : 0;
|
|
9631
|
+
}, function (_ref3) {
|
|
9632
|
+
var $bgColor = _ref3.$bgColor;
|
|
9633
|
+
return $bgColor || colorVariables$1$1$1.brand.light;
|
|
9634
|
+
}, colorVariables$1$1$1.text.medium);
|
|
9635
|
+
var _templateObject$3$1$1$1;
|
|
9636
|
+
var BreadCrum$1$1$1 = styled__default.span(_templateObject$3$1$1$1 || (_templateObject$3$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n font-weight: 400;\n font-size: 12px;\n color: ", ";\n line-height: 100%;\n text-align: center;\n opacity: ", ";\n \n &:hover {\n text-decoration: ", ";\n cursor: ", ";\n color: ", ";\n }\n"])), function (_ref) {
|
|
9637
|
+
var $color = _ref.$color;
|
|
9638
|
+
return $color ? $color : colorVariables$1$1$1.text.medium;
|
|
9639
|
+
}, function (_ref2) {
|
|
9640
|
+
var $disabled = _ref2.$disabled;
|
|
9641
|
+
return $disabled ? '0.6' : '1';
|
|
9642
|
+
}, function (_ref3) {
|
|
9643
|
+
var $hover = _ref3.$hover,
|
|
9644
|
+
$disabled = _ref3.$disabled;
|
|
9645
|
+
return $hover && !$disabled && 'underline';
|
|
9646
|
+
}, function (_ref4) {
|
|
9647
|
+
var $hover = _ref4.$hover,
|
|
9648
|
+
$disabled = _ref4.$disabled;
|
|
9649
|
+
return $hover && !$disabled ? 'pointer' : 'default';
|
|
9650
|
+
}, function (_ref5) {
|
|
9651
|
+
var $hover = _ref5.$hover,
|
|
9652
|
+
$disabled = _ref5.$disabled;
|
|
9653
|
+
return $hover && !$disabled && colorVariables$1$1$1["default"].primary;
|
|
9654
|
+
});
|
|
9655
|
+
var _templateObject$4$1$1$1;
|
|
9656
|
+
var fontFaces$1$1$1 = styled.css(_templateObject$4$1$1$1 || (_templateObject$4$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n @font-face {\n font-family: 'NotoSans';\n font-weight: 200;\n font-style: normal;\n src: url('./NotoSans-ExtraLight.woff') format('woff');\n font-display: fallback;\n }\n\n @font-face {\n font-family: 'NotoSans';\n font-weight: 300;\n font-style: normal;\n src: url('./NotoSans-Light.woff') format('woff');\n font-display: fallback;\n }\n @font-face {\n font-family: 'NotoSans';\n font-weight: 400;\n font-style: normal;\n src: url('./NotoSans-Regular.woff') format('woff');\n font-display: fallback;\n }\n @font-face {\n font-family: 'NotoSans';\n font-weight: 400;\n font-style: italic;\n src: url('./NotoSans-italic.woff') format('woff');\n font-display: fallback;\n }\n\n @font-face {\n font-family: 'NotoSans';\n font-weight: 500;\n font-style: normal;\n src: url('./NotoSans-Medium.woff') format('woff');\n font-display: fallback;\n }\n\n @font-face {\n font-family: 'NotoSans';\n font-weight: 600;\n font-style: normal;\n src: url('./NotoSans-SemiBold.woff') format('woff');\n font-display: fallback;\n }\n @font-face {\n font-family: 'NotoSans';\n font-weight: 700;\n font-style: normal;\n src: url('./NotoSans-Bold.woff') format('woff');\n font-display: fallback;\n }\n @font-face {\n font-family: 'NotoSans';\n font-weight: 800;\n font-style: normal;\n src: url('./NotoSans-ExtraBold.woff') format('woff');\n font-display: fallback;\n }\n"])));
|
|
9657
|
+
var GlobalFonts$1$1$1 = {
|
|
9658
|
+
bold: 'NotoSans, sans-serif',
|
|
9659
|
+
regular: 'NotoSans, sans-serif',
|
|
9660
|
+
light: 'NotoSans, sans-serif'
|
|
9661
|
+
};
|
|
9662
|
+
var _templateObject$5$1$1$1, _templateObject2$3$1$1$1, _templateObject3$1$1$1$1, _templateObject4$5$1$1, _templateObject5$5$1$1, _templateObject6$5$1$1;
|
|
9663
|
+
var spin$1$1$1 = styled.keyframes(_templateObject$5$1$1$1 || (_templateObject$5$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
9664
|
+
var Spinner$1$1$1 = styled__default.div(_templateObject2$3$1$1$1 || (_templateObject2$3$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: ", "px;\n height: ", "px;\n border: ", "px solid #ddd;\n border-top-color: ", ";\n border-radius: 50%;\n animation: fadeIn 0.3s ease-in-out forwards, ", " 1s linear infinite;\n"])), function (_ref) {
|
|
9665
|
+
var $size = _ref.$size;
|
|
9666
|
+
return $size;
|
|
9667
|
+
}, function (_ref2) {
|
|
9668
|
+
var $size = _ref2.$size;
|
|
9669
|
+
return $size;
|
|
9670
|
+
}, function (_ref3) {
|
|
9671
|
+
var $size = _ref3.$size;
|
|
9672
|
+
return $size / 4;
|
|
9673
|
+
}, function (_ref4) {
|
|
9674
|
+
var $color = _ref4.$color;
|
|
9675
|
+
return $color;
|
|
9676
|
+
}, spin$1$1$1);
|
|
9677
|
+
var LoaderWrapper$1$1$1 = styled__default.div(_templateObject3$1$1$1$1 || (_templateObject3$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n align-items: center;\n margin-left: ", ";\n margin-right: ", ";\n transition: opacity 0.3s ease-in-out;\n"])), function (_ref5) {
|
|
9678
|
+
var $loaderPosition = _ref5.$loaderPosition;
|
|
9679
|
+
return $loaderPosition === 'right' ? '4px' : '0';
|
|
9680
|
+
}, function (_ref6) {
|
|
9681
|
+
var $loaderPosition = _ref6.$loaderPosition;
|
|
9682
|
+
return $loaderPosition === 'left' ? '4px' : '0';
|
|
9683
|
+
});
|
|
9684
|
+
var Container$1$1$1$1 = styled__default.div(_templateObject4$5$1$1 || (_templateObject4$5$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n flex-direction: ", ";\n gap: ", ";\n svg {\n cursor: ", ";\n }\n"])), function (_ref7) {
|
|
9685
|
+
var $iconPosition = _ref7.$iconPosition;
|
|
9686
|
+
return $iconPosition === 'right' ? 'row-reverse' : 'row';
|
|
9687
|
+
}, function (_ref8) {
|
|
9688
|
+
var gap = _ref8.gap;
|
|
9689
|
+
return gap || '4px';
|
|
9690
|
+
}, function (_ref9) {
|
|
9691
|
+
var cursor = _ref9.cursor;
|
|
9692
|
+
return cursor;
|
|
9693
|
+
});
|
|
9694
|
+
var StyledButton$1$1$1 = styled__default.button(_templateObject5$5$1$1 || (_templateObject5$5$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n pointer-events: ", ";\n cursor: ", ";\n height: max-content;\n min-height: max-content;\n width: max-content;\n box-sizing: border-box;\n border-radius: ", ";\n outline: none;\n transition: all 0.2s;\n display: flex;\n align-items: center;\n justify-content: center;\n\n padding: ", ";\n\n &:focus {\n outline: none;\n }\n\n ", "\n color: ", "; \n"])), function (_ref10) {
|
|
9695
|
+
var $disabled = _ref10.$disabled;
|
|
9696
|
+
return $disabled ? 'none' : 'auto';
|
|
9697
|
+
}, function (_ref11) {
|
|
9698
|
+
var $disabled = _ref11.$disabled;
|
|
9699
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
9700
|
+
}, function (_ref12) {
|
|
9701
|
+
var $borderRadius = _ref12.$borderRadius;
|
|
9702
|
+
return $borderRadius || '8px';
|
|
9703
|
+
}, function (_ref13) {
|
|
9704
|
+
var $size = _ref13.$size,
|
|
9705
|
+
$padding = _ref13.$padding;
|
|
9706
|
+
return $size === 'small' ? '8px 12.2px' : $size === 'medium' ? '10px 19px' : $size === 'large' ? '12px 24.5px' : $size === 'custom' ? $padding : '10px 16px';
|
|
9707
|
+
}, function (_ref14) {
|
|
9708
|
+
var _$borderHover$match;
|
|
9709
|
+
var $variant = _ref14.$variant,
|
|
9710
|
+
$disabled = _ref14.$disabled,
|
|
9711
|
+
$borderHover = _ref14.$borderHover,
|
|
9712
|
+
$borderDefault = _ref14.$borderDefault,
|
|
9713
|
+
$background = _ref14.$background,
|
|
9714
|
+
$color = _ref14.$color,
|
|
9715
|
+
$colorHover = _ref14.$colorHover;
|
|
9716
|
+
switch ($variant) {
|
|
9717
|
+
case 'primary':
|
|
9718
|
+
return "\n background: " + ($disabled ? colorVariables$1$1$1.disabled.primary : colorVariables$1$1$1["default"].primary) + ";\n color: " + colorVariables$1$1$1.text.white + ";\n border: " + ($disabled ? "1px solid " + colorVariables$1$1$1.disabled.primary : "1px solid " + colorVariables$1$1$1["default"].primary) + ";\n &:hover {\n background: " + colorVariables$1$1$1.hover.primary + ";\n border: 1px solid " + colorVariables$1$1$1.hover.primary + ";\n }\n ";
|
|
9719
|
+
case 'secondary':
|
|
9720
|
+
return "\n background: " + ($disabled ? colorVariables$1$1$1.disabled.secondary : colorVariables$1$1$1["default"].secondary) + "; \n color: " + colorVariables$1$1$1.text.white + ";\n border: " + ($disabled ? "1px solid " + colorVariables$1$1$1.disabled.secondary : "1px solid " + colorVariables$1$1$1["default"].secondary) + ";\n &:hover{\n background: " + colorVariables$1$1$1.hover.secondary + ";\n border: 1px solid " + colorVariables$1$1$1.hover.secondary + ";\n }\n ";
|
|
9721
|
+
case 'tertiary':
|
|
9722
|
+
return "\n background: " + colorVariables$1$1$1["default"].tertiary + ";\n color: " + ($disabled ? colorVariables$1$1$1.disabled.primary : colorVariables$1$1$1["default"].primary) + ";\n border: " + ($borderDefault ? "" + $borderDefault : "1px solid " + colorVariables$1$1$1["default"].tertiary) + ";\n &:hover {\n color: " + (!$disabled && $borderHover ? (_$borderHover$match = $borderHover.match(/#\w+/)) === null || _$borderHover$match === void 0 ? void 0 : _$borderHover$match[0] : colorVariables$1$1$1.hover.primary) + ";\n border: " + ($borderHover ? $borderHover : "1px solid " + colorVariables$1$1$1.hover.primary) + ";\n }\n ";
|
|
9723
|
+
case 'error':
|
|
9724
|
+
return "\n background: " + ($disabled ? colorVariables$1$1$1.disabled.error : colorVariables$1$1$1["default"].error) + "; \n color: " + colorVariables$1$1$1.text.white + ";\n border: " + ($disabled ? "1px solid " + colorVariables$1$1$1.disabled.error : "1px solid " + colorVariables$1$1$1["default"].error) + ";\n &:hover{\n background: " + colorVariables$1$1$1.hover.error + ";\n border: 1px solid " + colorVariables$1$1$1.hover.error + ";\n }\n ";
|
|
9725
|
+
case 'outline-primary':
|
|
9726
|
+
return "\n background: " + colorVariables$1$1$1["default"].tertiary + ";\n color: " + ($disabled ? colorVariables$1$1$1.disabled.primary : colorVariables$1$1$1["default"].primary) + ";\n border: " + ($disabled ? "1px solid " + colorVariables$1$1$1.disabled.primary : "1px solid " + colorVariables$1$1$1["default"].primary) + ";\n &:hover{\n border: 1px solid " + colorVariables$1$1$1.hover.primary + ";\n color: " + colorVariables$1$1$1.text.white + ";\n background: " + colorVariables$1$1$1.hover.primary + ";\n }\n ";
|
|
9727
|
+
case 'outline-secondary':
|
|
9728
|
+
return "\n background: " + colorVariables$1$1$1["default"].tertiary + ";\n color: " + ($disabled ? colorVariables$1$1$1.disabled.secondary : colorVariables$1$1$1["default"].secondary) + ";\n border: " + ($disabled ? "1px solid " + colorVariables$1$1$1.disabled.secondary : "1px solid " + colorVariables$1$1$1["default"].secondary) + ";\n &:hover{\n border: 1px solid " + colorVariables$1$1$1.hover.secondary + ";\n color: " + colorVariables$1$1$1.text.white + ";\n background: " + colorVariables$1$1$1.hover.secondary + ";\n }\n ";
|
|
9729
|
+
case 'outline-error':
|
|
9730
|
+
return "\n background: " + colorVariables$1$1$1["default"].tertiary + ";\n color: " + ($disabled ? colorVariables$1$1$1.disabled.error : colorVariables$1$1$1["default"].error) + ";\n border: " + ($disabled ? "1px solid " + colorVariables$1$1$1.disabled.error : "1px solid " + colorVariables$1$1$1["default"].error) + ";\n &:hover{\n border: 1px solid " + colorVariables$1$1$1.hover.error + ";\n color: " + colorVariables$1$1$1.text.white + ";\n background: " + colorVariables$1$1$1.hover.error + ";\n }\n ";
|
|
9731
|
+
case 'custom':
|
|
9732
|
+
return "\n background: " + $background + ";\n color: " + $color + ";\n border: " + ("1px solid " + $borderDefault) + ";\n &:hover{\n border: 1px solid " + $borderHover + ";\n color: " + $colorHover + ";\n background: " + $borderHover + ";\n }\n ";
|
|
9733
|
+
default:
|
|
9734
|
+
return '';
|
|
9735
|
+
}
|
|
9736
|
+
}, function (_ref15) {
|
|
9737
|
+
var color = _ref15.color;
|
|
9738
|
+
return color;
|
|
9739
|
+
});
|
|
9740
|
+
var ButtonText$1$1$1 = styled__default.span(_templateObject6$5$1$1 || (_templateObject6$5$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n white-space: nowrap;\n"])), function (_ref16) {
|
|
9741
|
+
var $fontFamily = _ref16.$fontFamily;
|
|
9742
|
+
return $fontFamily ? $fontFamily : GlobalFonts$1$1$1.bold;
|
|
9743
|
+
}, function (_ref17) {
|
|
9744
|
+
var $size = _ref17.$size,
|
|
9745
|
+
$fontSize = _ref17.$fontSize;
|
|
9746
|
+
return $size === 'small' ? '14px' : $size === 'medium' ? '16px' : $size === 'large' ? '18px' : $size === 'custom' ? $fontSize : '16px';
|
|
9747
|
+
}, function (_ref18) {
|
|
9748
|
+
var $fontWeight = _ref18.$fontWeight,
|
|
9749
|
+
$size = _ref18.$size;
|
|
9750
|
+
return $size === 'custom' && $fontWeight || '500';
|
|
9751
|
+
}, function (_ref19) {
|
|
9752
|
+
var $size = _ref19.$size,
|
|
9753
|
+
$fontSize = _ref19.$fontSize;
|
|
9754
|
+
return $size === 'small' ? '14px' : $size === 'medium' ? '16px' : $size === 'large' ? '18px' : $size === 'custom' ? $fontSize : '16px';
|
|
9755
|
+
});
|
|
9756
|
+
var _templateObject$6$1$1$1;
|
|
9757
|
+
var InnerContent$1$1$1 = styled__default.div(_templateObject$6$1$1$1 || (_templateObject$6$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n gap: 12px;\n overflow-x: auto;\n scroll-behavior: smooth;\n scrollbar-width: none;\n ms-overflow-style: none;\n white-space: nowrap;\n padding: ", "; \n margin: 0 10px;\n"])), function (_ref) {
|
|
9758
|
+
var $isScrollable = _ref.$isScrollable;
|
|
9759
|
+
return $isScrollable ? '0 12px' : '0';
|
|
9760
|
+
});
|
|
9761
|
+
var _templateObject$7$1$1$1, _templateObject2$4$1$1$1, _templateObject3$2$1$1$1, _templateObject4$1$1$1$1, _templateObject5$1$1$1$1, _templateObject6$1$1$1$1, _templateObject7$3$1$1, _templateObject8$3$1$1, _templateObject9$3$1$1, _templateObject10$3$1$1, _templateObject11$2$1$1, _templateObject12$1$1$1, _templateObject13$1$1$1, _templateObject14$1$1$1, _templateObject15$1$1$1, _templateObject16$1$1$1, _templateObject17$1$1$1, _templateObject18$1$1$1, _templateObject19$1$1$1, _templateObject20$1$1$1, _templateObject21$1$1$1;
|
|
9762
|
+
var DatePickerContainer$1$1$1 = styled__default.div(_templateObject$7$1$1$1 || (_templateObject$7$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: 100%;\n display: flex;\n flex-direction: column;\n position: relative;\n"])));
|
|
9763
|
+
var CalendarContainer$1$1$1 = styled__default.div(_templateObject2$4$1$1$1 || (_templateObject2$4$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n overflow: auto;\n display: flex;\n flex-direction: row;\n background: rgba(245, 248, 250, .95); \n position: absolute;\n border: 1px solid ", ";\n height: auto;\n width: auto;\n border-radius: 10px;\n z-index: 10;\n padding: 10px;\n top: 0px;\n right: 0px;\n gap: 16px;\n"])), colorVariables$1$1$1.border.medium);
|
|
9764
|
+
var Calendar$1$1$1$1 = styled__default.div(_templateObject3$2$1$1$1 || (_templateObject3$2$1$1$1 = _taggedTemplateLiteralLoose$1$1$1([""])));
|
|
9765
|
+
var CalendarTime$1$1$1 = styled__default.div(_templateObject4$1$1$1$1 || (_templateObject4$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n border: 1px solid ", ";\n border-radius: 4px;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n padding: 8px;\n"])), colorVariables$1$1$1.border.medium);
|
|
9766
|
+
var StartDate$1$1$1 = styled__default.div(_templateObject5$1$1$1$1 || (_templateObject5$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n flex-direction: column;\n gap: 16px;\n padding-bottom: 4px;\n"])));
|
|
9767
|
+
var SelectedStart$1$1$1 = styled__default.div(_templateObject6$1$1$1$1 || (_templateObject6$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n gap: 4px;\n color: ", ";\n"])), colorVariables$1$1$1.text.medium);
|
|
9768
|
+
var CurrentDate$1$1$1 = styled__default.p(_templateObject7$3$1$1 || (_templateObject7$3$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n font-size: 12px;\n"])));
|
|
9769
|
+
var CurrentTime$1$1$1 = styled__default.div(_templateObject8$3$1$1 || (_templateObject8$3$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n font-family: NotoSans, sans-serif;\n font-weight: 500;\n font-size: 14px;\n color: ", ";\n"])), colorVariables$1$1$1.text.medium);
|
|
9770
|
+
var Selectedtime$1$1$1 = styled__default.div(_templateObject9$3$1$1 || (_templateObject9$3$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n color: ", ";\n gap: 8px;\n"])), colorVariables$1$1$1.text.medium);
|
|
9771
|
+
var Line$1$1$1 = styled__default.div(_templateObject10$3$1$1 || (_templateObject10$3$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: 100%;\n padding-top: 10px;\n padding-bottom: 10px;\n"])));
|
|
9772
|
+
var Zones$1$1$1 = styled__default.div(_templateObject11$2$1$1 || (_templateObject11$2$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n justify-content: space-between;\n"])));
|
|
9773
|
+
var CalendarHeader$1$1$1 = styled__default.div(_templateObject12$1$1$1 || (_templateObject12$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 10px;\n"])));
|
|
9774
|
+
var CalendarMonthYear$1$1$1 = styled__default.span(_templateObject13$1$1$1 || (_templateObject13$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n flex-direction: column;\n color: ", ";\n justify-content: center;\n align-items: center;\n"])), colorVariables$1$1$1.text.medium);
|
|
9775
|
+
var CalendarContent$1$1$1 = styled__default.div(_templateObject14$1$1$1 || (_templateObject14$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: grid;\n grid-template-columns: repeat(7, 1fr);\n gap: 5px;\n padding: 10px;\n"])));
|
|
9776
|
+
var Button$1$1$1 = styled__default.div(_templateObject15$1$1$1 || (_templateObject15$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n background:", ";\n color: ", ";\n border: none;\n border-radius: 5px;\n padding: 5px 10px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n height: ", ";\n\n svg {\n cursor: pointer;\n }\n"])), colorVariables$1$1$1["default"].secondary, colorVariables$1$1$1.text.white, function (_ref) {
|
|
9777
|
+
var $size = _ref.$size;
|
|
9778
|
+
return $size ? $size + "px" : '30px';
|
|
9779
|
+
}, function (_ref2) {
|
|
9780
|
+
var $size = _ref2.$size;
|
|
9781
|
+
return $size ? $size + "px" : '30px';
|
|
9782
|
+
});
|
|
9783
|
+
var CalendarDates$1$1$1 = styled__default.div(_templateObject16$1$1$1 || (_templateObject16$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: ", ";\n height: ", ";\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n cursor: ", "; \n font-size: 12px;\n opacity: ", "; \n\n background-color: ", ";\n\n color: ", ";\n\n &:hover {\n background-color: ", ";\n }\n"])), function (_ref3) {
|
|
9784
|
+
var $size = _ref3.$size;
|
|
9785
|
+
return $size ? $size + "px" : '30px';
|
|
9786
|
+
}, function (_ref4) {
|
|
9787
|
+
var $size = _ref4.$size;
|
|
9788
|
+
return $size ? $size + "px" : '30px';
|
|
9789
|
+
}, function (_ref5) {
|
|
9790
|
+
var $isFuture = _ref5.$isFuture,
|
|
9791
|
+
$futureDateTime = _ref5.$futureDateTime;
|
|
9792
|
+
return !$futureDateTime && $isFuture ? 'default' : 'pointer';
|
|
9793
|
+
}, function (_ref6) {
|
|
9794
|
+
var $isFuture = _ref6.$isFuture,
|
|
9795
|
+
$futureDateTime = _ref6.$futureDateTime;
|
|
9796
|
+
return !$futureDateTime && $isFuture ? 0.5 : 1;
|
|
9797
|
+
}, function (_ref7) {
|
|
9798
|
+
var $selected = _ref7.$selected,
|
|
9799
|
+
$inRange = _ref7.$inRange;
|
|
9800
|
+
return $selected ? colorVariables$1$1$1["default"].primary : $inRange ? colorVariables$1$1$1["default"].primary : colorVariables$1$1$1["default"].tertiary;
|
|
9801
|
+
}, function (_ref8) {
|
|
9802
|
+
var $selected = _ref8.$selected,
|
|
9803
|
+
$inRange = _ref8.$inRange;
|
|
9804
|
+
return $selected ? colorVariables$1$1$1.text.white : $inRange ? colorVariables$1$1$1.text.white : colorVariables$1$1$1.text.medium;
|
|
9805
|
+
}, function (_ref9) {
|
|
9806
|
+
var $selected = _ref9.$selected,
|
|
9807
|
+
$inRange = _ref9.$inRange,
|
|
9808
|
+
$isFuture = _ref9.$isFuture,
|
|
9809
|
+
$futureDateTime = _ref9.$futureDateTime;
|
|
9810
|
+
return !$futureDateTime && $isFuture ? 'transparent' : $selected ? colorVariables$1$1$1.disabled.primary : $inRange ? colorVariables$1$1$1.disabled.primary : colorVariables$1$1$1.disabled.primary;
|
|
9811
|
+
});
|
|
9812
|
+
var Year$1$1$1 = styled__default.div(_templateObject17$1$1$1 || (_templateObject17$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n font-family: NotoSans, sans-serif;\n font-weight: 500;\n font-size: 12px;\n"])));
|
|
9813
|
+
var Month$1$1$1 = styled__default.div(_templateObject18$1$1$1 || (_templateObject18$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n font-family: NotoSans, sans-serif;\n font-weight: 600;\n font-size: 14px;\n"])));
|
|
9814
|
+
var InputWrapper$1$1$1 = styled__default.div(_templateObject19$1$1$1 || (_templateObject19$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n gap: 24px;\n"])));
|
|
9815
|
+
var TimeInputWrapper$1$1$1 = styled__default.div(_templateObject20$1$1$1 || (_templateObject20$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n position: relative;\n display: flex;\n align-items: center;\n"])));
|
|
9816
|
+
var StyledInput$1$1$1 = styled__default.input(_templateObject21$1$1$1 || (_templateObject21$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n outline: none;\n width: 60px;\n height: 30px;\n text-align: center;\n font-size: 16px;\n border-radius: 5px;\n background: white;\n border: 1px solid ", ";\n color: ", ";\n"])), colorVariables$1$1$1.border.extraBold, colorVariables$1$1$1.text.dark);
|
|
9817
|
+
var _templateObject$8$1$1$1, _templateObject2$5$1$1$1, _templateObject3$3$1$1$1, _templateObject4$2$1$1$1, _templateObject5$2$1$1$1, _templateObject6$2$1$1$1;
|
|
9818
|
+
var OptionContainer$1$1$1 = styled__default.div(_templateObject$8$1$1$1 || (_templateObject$8$1$1$1 = _taggedTemplateLiteralLoose$1$1$1([""])));
|
|
9819
|
+
var OptionItem$1$1$1 = styled__default.div(_templateObject2$5$1$1$1 || (_templateObject2$5$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n border-bottom: ", ";\n"])), function (_ref) {
|
|
9820
|
+
var $optionBorder = _ref.$optionBorder,
|
|
9821
|
+
$isborder = _ref.$isborder;
|
|
9822
|
+
return $isborder ? $optionBorder || "1px solid " + colorVariables$1$1$1.border.extraLight : '';
|
|
9823
|
+
});
|
|
9824
|
+
var OptionLabel$1$1$1 = styled__default.label(_templateObject3$3$1$1$1 || (_templateObject3$3$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n cursor: pointer;\n display: flex;\n gap: 8px;\n padding: 8px 12px;\n word-break: break-word;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n font-family: NotoSans, sans-serif;\n font-weight: 500;\n font-size: 14px;\n line-height: 14px;\n color: ", ";\n"])), function (_ref2) {
|
|
9825
|
+
var $optionColor = _ref2.$optionColor;
|
|
9826
|
+
switch ($optionColor) {
|
|
9827
|
+
case 'dark':
|
|
9828
|
+
return colorVariables$1$1$1.text.dark;
|
|
9829
|
+
case 'medium':
|
|
9830
|
+
return colorVariables$1$1$1.text.medium;
|
|
9831
|
+
case 'light':
|
|
9832
|
+
return colorVariables$1$1$1.text.light;
|
|
9833
|
+
case 'white':
|
|
9834
|
+
return colorVariables$1$1$1.text.white;
|
|
9835
|
+
case 'warning':
|
|
9836
|
+
return colorVariables$1$1$1["default"].warning;
|
|
9837
|
+
case 'info':
|
|
9838
|
+
return colorVariables$1$1$1["default"].info;
|
|
9839
|
+
case 'success':
|
|
9840
|
+
return colorVariables$1$1$1["default"].success;
|
|
9841
|
+
case 'error':
|
|
9842
|
+
return colorVariables$1$1$1["default"].error;
|
|
9843
|
+
default:
|
|
9844
|
+
return $optionColor || colorVariables$1$1$1.text.medium;
|
|
9845
|
+
}
|
|
9846
|
+
});
|
|
9847
|
+
var SearchContainer$3$1$1 = styled__default.div(_templateObject4$2$1$1$1 || (_templateObject4$2$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: 100%;\n height: auto;\n background: ", ";\n border-bottom: ", ";\n border-radius: ", ";\n padding: 8px 8px;\n display: flex;\n align-items: center;\n gap: 8px;\n"])), function (_ref3) {
|
|
9848
|
+
var $background = _ref3.$background;
|
|
9849
|
+
switch ($background) {
|
|
9850
|
+
case 'dark':
|
|
9851
|
+
return colorVariables$1$1$1.text.dark;
|
|
9852
|
+
case 'medium':
|
|
9853
|
+
return colorVariables$1$1$1.text.medium;
|
|
9854
|
+
case 'light':
|
|
9855
|
+
return colorVariables$1$1$1.text.light;
|
|
9856
|
+
case 'white':
|
|
9857
|
+
return colorVariables$1$1$1.text.white;
|
|
9858
|
+
case 'warning':
|
|
9859
|
+
return colorVariables$1$1$1["default"].warning;
|
|
9860
|
+
case 'info':
|
|
9861
|
+
return colorVariables$1$1$1["default"].info;
|
|
9862
|
+
case 'success':
|
|
9863
|
+
return colorVariables$1$1$1["default"].success;
|
|
9864
|
+
case 'error':
|
|
9865
|
+
return colorVariables$1$1$1["default"].error;
|
|
9866
|
+
default:
|
|
9867
|
+
return $background;
|
|
9868
|
+
}
|
|
9869
|
+
}, function (_ref4) {
|
|
9870
|
+
var $borderBottom = _ref4.$borderBottom;
|
|
9871
|
+
return $borderBottom || 'none';
|
|
9872
|
+
}, function (_ref5) {
|
|
9873
|
+
var $borderRadius = _ref5.$borderRadius;
|
|
9874
|
+
return $borderRadius || '8px';
|
|
9875
|
+
});
|
|
9876
|
+
var SearchBar$3$1$1 = styled__default.input(_templateObject5$2$1$1$1 || (_templateObject5$2$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n border: none;\n outline: none;\n width: 100%;\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n font-size: 14px;\n line-height: 14px;\n background: ", ";\n color: ", ";\n &::placeholder {\n color: ", ";\n font-style: italic;\n }\n"])), colorVariables$1$1$1["default"].tertiary, function (_ref6) {
|
|
9877
|
+
var $inputColor = _ref6.$inputColor;
|
|
9878
|
+
switch ($inputColor) {
|
|
9879
|
+
case 'dark':
|
|
9880
|
+
return colorVariables$1$1$1.text.dark;
|
|
9881
|
+
case 'medium':
|
|
9882
|
+
return colorVariables$1$1$1.text.medium;
|
|
9883
|
+
case 'light':
|
|
9884
|
+
return colorVariables$1$1$1.text.light;
|
|
9885
|
+
case 'white':
|
|
9886
|
+
return colorVariables$1$1$1.text.white;
|
|
9887
|
+
case 'warning':
|
|
9888
|
+
return colorVariables$1$1$1["default"].warning;
|
|
9889
|
+
case 'info':
|
|
9890
|
+
return colorVariables$1$1$1["default"].info;
|
|
9891
|
+
case 'success':
|
|
9892
|
+
return colorVariables$1$1$1["default"].success;
|
|
9893
|
+
case 'error':
|
|
9894
|
+
return colorVariables$1$1$1["default"].error;
|
|
9895
|
+
default:
|
|
9896
|
+
return $inputColor;
|
|
9897
|
+
}
|
|
9898
|
+
}, function (_ref7) {
|
|
9899
|
+
var $placeholderColor = _ref7.$placeholderColor;
|
|
9900
|
+
switch ($placeholderColor) {
|
|
9901
|
+
case 'dark':
|
|
9902
|
+
return colorVariables$1$1$1.text.dark;
|
|
9903
|
+
case 'medium':
|
|
9904
|
+
return colorVariables$1$1$1.text.medium;
|
|
9905
|
+
case 'light':
|
|
9906
|
+
return colorVariables$1$1$1.text.light;
|
|
9907
|
+
case 'white':
|
|
9908
|
+
return colorVariables$1$1$1.text.white;
|
|
9909
|
+
case 'warning':
|
|
9910
|
+
return colorVariables$1$1$1["default"].warning;
|
|
9911
|
+
case 'info':
|
|
9912
|
+
return colorVariables$1$1$1["default"].info;
|
|
9913
|
+
case 'success':
|
|
9914
|
+
return colorVariables$1$1$1["default"].success;
|
|
9915
|
+
case 'error':
|
|
9916
|
+
return colorVariables$1$1$1["default"].error;
|
|
9917
|
+
default:
|
|
9918
|
+
return $placeholderColor;
|
|
9919
|
+
}
|
|
9920
|
+
});
|
|
9921
|
+
var Text$1$1$1 = styled__default.span(_templateObject6$2$1$1$1 || (_templateObject6$2$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n word-break: break-word;\n"])));
|
|
9922
|
+
var _templateObject$9$1$1$1, _templateObject2$6$1$1$1, _templateObject3$4$1$1$1, _templateObject4$3$1$1$1, _templateObject5$3$1$1$1, _templateObject6$3$1$1$1, _templateObject7$1$1$1$1, _templateObject8$1$1$1$1, _templateObject9$1$1$1$1, _templateObject10$1$1$1$1, _templateObject11$1$1$1$1;
|
|
9923
|
+
var DropdownContainer$2$1$1 = styled__default.div(_templateObject$9$1$1$1 || (_templateObject$9$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: ", ";\n height: ", ";\n max-width: 100%;\n position: relative;\n max-height: ", ";\n"])), function (_ref) {
|
|
9924
|
+
var $width = _ref.$width;
|
|
9925
|
+
return $width || '100%';
|
|
9926
|
+
}, function (_ref2) {
|
|
9927
|
+
var $height = _ref2.$height;
|
|
9928
|
+
return $height || '100%';
|
|
9929
|
+
}, function (_ref3) {
|
|
9930
|
+
var $replaceLabel = _ref3.$replaceLabel;
|
|
9931
|
+
return $replaceLabel ? 'calc(100% - 22px)' : '';
|
|
9932
|
+
});
|
|
9933
|
+
var DropdownButton$2$1$1 = styled__default.div(_templateObject2$6$1$1$1 || (_templateObject2$6$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n overflow: ", ";\n padding: ", ";\n gap: 8px;\n box-sizing: border-box;\n transition: all 0.3s ease;\n width: ", ";\n height: ", ";\n border: ", ";\n border-radius: ", ";\n display: flex;\n justify-content: space-between;\n align-items: center;\n cursor: ", ";\n background: ", ";\n color: ", ";\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n font-size: ", ";\n line-height: ", ";\n"])), function (_ref4) {
|
|
9934
|
+
var $replaceLabel = _ref4.$replaceLabel;
|
|
9935
|
+
return $replaceLabel ? 'auto' : '';
|
|
9936
|
+
}, function (_ref5) {
|
|
9937
|
+
var $size = _ref5.$size;
|
|
9938
|
+
switch ($size) {
|
|
9939
|
+
case 'small':
|
|
9940
|
+
return '9px 12px';
|
|
9941
|
+
case 'large':
|
|
9942
|
+
return '24px 12px';
|
|
9943
|
+
default:
|
|
9944
|
+
return '14px 12px';
|
|
9945
|
+
}
|
|
9946
|
+
}, function (_ref6) {
|
|
9947
|
+
var $width = _ref6.$width;
|
|
9948
|
+
return $width ? $width : '100%';
|
|
9949
|
+
}, function (_ref7) {
|
|
9950
|
+
var $height = _ref7.$height;
|
|
9951
|
+
return $height || '100%';
|
|
9952
|
+
}, function (_ref8) {
|
|
9953
|
+
var $border = _ref8.$border,
|
|
9954
|
+
$isOpen = _ref8.$isOpen;
|
|
9955
|
+
return $isOpen ? "1px solid " + colorVariables$1$1$1.text.dark : $border || "1px solid " + colorVariables$1$1$1.border.light;
|
|
9956
|
+
}, function (_ref9) {
|
|
9957
|
+
var $borderRadius = _ref9.$borderRadius;
|
|
9958
|
+
return $borderRadius || '8px';
|
|
9959
|
+
}, function (_ref10) {
|
|
9960
|
+
var $disabled = _ref10.$disabled;
|
|
9961
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
9962
|
+
}, function (_ref11) {
|
|
9963
|
+
var $background = _ref11.$background,
|
|
9964
|
+
$disabled = _ref11.$disabled;
|
|
9965
|
+
switch ($background) {
|
|
9966
|
+
case 'dark':
|
|
9967
|
+
return $disabled ? colorVariables$1$1$1.disabled.secondary : colorVariables$1$1$1.text.dark;
|
|
9968
|
+
case 'medium':
|
|
9969
|
+
return $disabled ? colorVariables$1$1$1.disabled.secondary : colorVariables$1$1$1.text.medium;
|
|
9970
|
+
case 'light':
|
|
9971
|
+
return $disabled ? colorVariables$1$1$1.disabled.secondary : colorVariables$1$1$1.text.light;
|
|
9972
|
+
case 'white':
|
|
9973
|
+
return $disabled ? colorVariables$1$1$1.disabled.secondary : colorVariables$1$1$1.text.white;
|
|
9974
|
+
case 'warning':
|
|
9975
|
+
return $disabled ? colorVariables$1$1$1.disabled.secondary : colorVariables$1$1$1["default"].warning;
|
|
9976
|
+
case 'info':
|
|
9977
|
+
return $disabled ? colorVariables$1$1$1.disabled.secondary : colorVariables$1$1$1["default"].info;
|
|
9978
|
+
case 'success':
|
|
9979
|
+
return $disabled ? colorVariables$1$1$1.disabled.secondary : colorVariables$1$1$1["default"].success;
|
|
9980
|
+
case 'error':
|
|
9981
|
+
return $disabled ? colorVariables$1$1$1.disabled.secondary : colorVariables$1$1$1["default"].error;
|
|
9982
|
+
default:
|
|
9983
|
+
return $disabled ? colorVariables$1$1$1.disabled.secondary : $background;
|
|
9984
|
+
}
|
|
9985
|
+
}, function (_ref12) {
|
|
9986
|
+
var $color = _ref12.$color;
|
|
9987
|
+
return $color || colorVariables$1$1$1.text.medium;
|
|
9988
|
+
}, function (_ref13) {
|
|
9989
|
+
var $size = _ref13.$size;
|
|
9990
|
+
switch ($size) {
|
|
9991
|
+
case 'small':
|
|
9992
|
+
return '12px';
|
|
9993
|
+
case 'large':
|
|
9994
|
+
return '16px';
|
|
9995
|
+
default:
|
|
9996
|
+
return '14px';
|
|
9997
|
+
}
|
|
9998
|
+
}, function (_ref14) {
|
|
9999
|
+
var $size = _ref14.$size;
|
|
10000
|
+
switch ($size) {
|
|
10001
|
+
case 'small':
|
|
10002
|
+
return '12px';
|
|
10003
|
+
case 'large':
|
|
10004
|
+
return '16px';
|
|
10005
|
+
default:
|
|
10006
|
+
return '14px';
|
|
10007
|
+
}
|
|
10008
|
+
});
|
|
10009
|
+
var TitleText$2$1$1 = styled__default.div(_templateObject3$4$1$1$1 || (_templateObject3$4$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: max-content;\n position: relative;\n font-weight: 500;\n font-size: ", ";\n line-height: ", ";\n\n color: ", ";\n"])), function (_ref15) {
|
|
10010
|
+
var $titleSize = _ref15.$titleSize,
|
|
10011
|
+
$size = _ref15.$size;
|
|
10012
|
+
return $titleSize ? $titleSize + "px" : $size === 'small' ? '14px' : $size === 'large' ? '18px' : '16px';
|
|
10013
|
+
}, function (_ref16) {
|
|
10014
|
+
var $titleSize = _ref16.$titleSize,
|
|
10015
|
+
$size = _ref16.$size;
|
|
10016
|
+
return $titleSize ? $titleSize + "px" : $size === 'small' ? '14px' : $size === 'large' ? '18px' : '16px';
|
|
10017
|
+
}, function (_ref17) {
|
|
10018
|
+
var $titleColor = _ref17.$titleColor;
|
|
10019
|
+
switch ($titleColor) {
|
|
10020
|
+
case 'dark':
|
|
10021
|
+
return colorVariables$1$1$1.text.dark;
|
|
10022
|
+
case 'medium':
|
|
10023
|
+
return colorVariables$1$1$1.text.medium;
|
|
10024
|
+
case 'light':
|
|
10025
|
+
return colorVariables$1$1$1.text.light;
|
|
10026
|
+
case 'white':
|
|
10027
|
+
return colorVariables$1$1$1.text.white;
|
|
10028
|
+
case 'warning':
|
|
10029
|
+
return colorVariables$1$1$1["default"].warning;
|
|
10030
|
+
case 'info':
|
|
10031
|
+
return colorVariables$1$1$1["default"].info;
|
|
10032
|
+
case 'success':
|
|
10033
|
+
return colorVariables$1$1$1["default"].success;
|
|
10034
|
+
case 'error':
|
|
10035
|
+
return colorVariables$1$1$1["default"].error;
|
|
10036
|
+
default:
|
|
10037
|
+
return $titleColor;
|
|
10038
|
+
}
|
|
10039
|
+
});
|
|
10040
|
+
var Container$2$1$1$1 = styled__default.div(_templateObject4$3$1$1$1 || (_templateObject4$3$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n"])));
|
|
10041
|
+
var LabelText$2$1$1 = styled__default.div(_templateObject5$3$1$1$1 || (_templateObject5$3$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n font-size: 14px;\n font-weight: 400;\n font-style:", ";\n color: ", ";\n"])), function (_ref18) {
|
|
10042
|
+
var $labelStyle = _ref18.$labelStyle;
|
|
10043
|
+
return $labelStyle;
|
|
10044
|
+
}, colorVariables$1$1$1.text.light);
|
|
10045
|
+
var DropdownMenu$2$1$1 = styled__default.div(_templateObject6$3$1$1$1 || (_templateObject6$3$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n max-height: 156px;\n padding: 4px;\n box-sizing: border-box;\n border: 1px solid ", ";\n border-radius: ", ";\n width: ", ";\n background: ", ";\n display: flex;\n flex-direction: column;\n gap: 4px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n margin-top: 8px;\n overflow-y: auto;\n position: absolute;\n z-index: 2;\n scrollbar-width: thin;\n"])), colorVariables$1$1$1.border.light, function (_ref19) {
|
|
10046
|
+
var $optionsBorderRadius = _ref19.$optionsBorderRadius;
|
|
10047
|
+
return $optionsBorderRadius || '8px';
|
|
10048
|
+
}, function (_ref20) {
|
|
10049
|
+
var $width = _ref20.$width;
|
|
10050
|
+
return $width ? $width : 'max-content';
|
|
10051
|
+
}, function (_ref21) {
|
|
10052
|
+
var $menuBackground = _ref21.$menuBackground;
|
|
10053
|
+
return $menuBackground || colorVariables$1$1$1.accent.extraLight;
|
|
10054
|
+
});
|
|
10055
|
+
var SelectedOptionsWrapper$2$1$1 = styled__default.div(_templateObject7$1$1$1$1 || (_templateObject7$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n flex-wrap: wrap;\n gap: 6px;\n height: 100%;\n"])));
|
|
10056
|
+
var SelectedOptionDiv$2$1$1 = styled__default.div(_templateObject8$1$1$1$1 || (_templateObject8$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n align-items: center;\n background: ", ";\n border-radius: 4px;\n padding: 6px 8px;\n box-sizing: border-box;\n gap: 6px;\n font-family: NotoSans, sans-serif;\n font-style: normal;\n font-weight: 400;\n font-size: 12px;\n line-height: 12px;\n color: ", ";\n"])), function (_ref22) {
|
|
10057
|
+
var $selectedOptionBackground = _ref22.$selectedOptionBackground,
|
|
10058
|
+
$disabled = _ref22.$disabled;
|
|
10059
|
+
switch ($selectedOptionBackground) {
|
|
10060
|
+
case 'dark':
|
|
10061
|
+
return colorVariables$1$1$1.text.dark;
|
|
10062
|
+
case 'medium':
|
|
10063
|
+
return colorVariables$1$1$1.text.medium;
|
|
10064
|
+
case 'light':
|
|
10065
|
+
return colorVariables$1$1$1.text.light;
|
|
10066
|
+
case 'white':
|
|
10067
|
+
return colorVariables$1$1$1.text.white;
|
|
10068
|
+
case 'warning':
|
|
10069
|
+
return $disabled ? colorVariables$1$1$1.disabled.warning : colorVariables$1$1$1["default"].warning;
|
|
10070
|
+
case 'info':
|
|
10071
|
+
return $disabled ? colorVariables$1$1$1.disabled.info : colorVariables$1$1$1["default"].info;
|
|
10072
|
+
case 'success':
|
|
10073
|
+
return $disabled ? colorVariables$1$1$1.disabled.success : colorVariables$1$1$1["default"].success;
|
|
10074
|
+
case 'error':
|
|
10075
|
+
return $disabled ? colorVariables$1$1$1.disabled.error : colorVariables$1$1$1["default"].error;
|
|
10076
|
+
default:
|
|
10077
|
+
return $selectedOptionBackground || colorVariables$1$1$1.accent.extraLight;
|
|
10078
|
+
}
|
|
10079
|
+
}, function (_ref23) {
|
|
10080
|
+
var $selectedOptionColor = _ref23.$selectedOptionColor;
|
|
10081
|
+
switch ($selectedOptionColor) {
|
|
10082
|
+
case 'dark':
|
|
10083
|
+
return colorVariables$1$1$1.text.dark;
|
|
10084
|
+
case 'medium':
|
|
10085
|
+
return colorVariables$1$1$1.text.medium;
|
|
10086
|
+
case 'light':
|
|
10087
|
+
return colorVariables$1$1$1.text.light;
|
|
10088
|
+
case 'white':
|
|
10089
|
+
return colorVariables$1$1$1.text.white;
|
|
10090
|
+
case 'warning':
|
|
10091
|
+
return colorVariables$1$1$1["default"].warning;
|
|
10092
|
+
case 'info':
|
|
10093
|
+
return colorVariables$1$1$1["default"].info;
|
|
10094
|
+
case 'success':
|
|
10095
|
+
return colorVariables$1$1$1["default"].success;
|
|
10096
|
+
case 'error':
|
|
10097
|
+
return colorVariables$1$1$1["default"].error;
|
|
10098
|
+
default:
|
|
10099
|
+
return $selectedOptionColor;
|
|
10100
|
+
}
|
|
10101
|
+
});
|
|
10102
|
+
var RemoveIcon$2$1$1 = styled__default.div(_templateObject9$1$1$1$1 || (_templateObject9$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: 14px;\n height: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: ", ";\n border-radius: 50%;\n box-sizing: border-box;\n background: ", ";\n > div {\n cursor: ", ";\n }\n"])), function (_ref24) {
|
|
10103
|
+
var $disabled = _ref24.$disabled;
|
|
10104
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
10105
|
+
}, function (_ref25) {
|
|
10106
|
+
var removeIconBackground = _ref25.removeIconBackground,
|
|
10107
|
+
$type = _ref25.$type;
|
|
10108
|
+
return removeIconBackground ? removeIconBackground : $type === 'remove' ? '#5E5E5E24' : colorVariables$1$1$1.disabled.primary;
|
|
10109
|
+
}, function (_ref26) {
|
|
10110
|
+
var $disabled = _ref26.$disabled;
|
|
10111
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
10112
|
+
});
|
|
10113
|
+
var TextWrapper$1$1$1 = styled__default.div(_templateObject10$1$1$1$1 || (_templateObject10$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n align-items: center;\n gap: 4px;\n"])));
|
|
10114
|
+
var Asterisk$1$1$1 = styled__default.span(_templateObject11$1$1$1$1 || (_templateObject11$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n color: ", ";\n font-size: 10px;\n height: fit-content;\n position: absolute;\n top: -2px;\n right: -8px;\n"])), colorVariables$1$1$1["default"].error);
|
|
10115
|
+
var _templateObject$a$1$1$1, _templateObject2$7$1$1$1, _templateObject3$5$1$1$1;
|
|
10116
|
+
var SelectedOptionsWrapper$1$1$1$1 = styled__default.div(_templateObject$a$1$1$1 || (_templateObject$a$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n flex-wrap: wrap;\n gap: 6px;\n"])));
|
|
10117
|
+
var SelectedOptionDiv$1$1$1$1 = styled__default.div(_templateObject2$7$1$1$1 || (_templateObject2$7$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n align-items: center;\n background: ", ";\n border-radius: 4px;\n padding: 6px 8px;\n box-sizing: border-box;\n gap: 6px;\n font-family: NotoSans, sans-serif;\n font-style: normal;\n font-weight: 400;\n font-size: 12px;\n line-height: 12px;\n color: ", ";\n"])), function (_ref) {
|
|
10118
|
+
var $selectedOptionBackground = _ref.$selectedOptionBackground,
|
|
10119
|
+
$type = _ref.$type;
|
|
10120
|
+
return $selectedOptionBackground || $type === 'remove' ? colorVariables$1$1$1.disabled.error : colorVariables$1$1$1.accent.softBlue;
|
|
10121
|
+
}, function (_ref2) {
|
|
10122
|
+
var $selectedOptionColor = _ref2.$selectedOptionColor,
|
|
10123
|
+
$type = _ref2.$type;
|
|
10124
|
+
return $selectedOptionColor || $type === 'remove' ? colorVariables$1$1$1["default"].error : colorVariables$1$1$1.brand.primary;
|
|
10125
|
+
});
|
|
10126
|
+
var RemoveIcon$1$1$1$1 = styled__default.div(_templateObject3$5$1$1$1 || (_templateObject3$5$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: 14px;\n height: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n border-radius: 50%;\n box-sizing: border-box;\n background: ", ";\n"])), function (_ref3) {
|
|
10127
|
+
var $removeIconBackground = _ref3.$removeIconBackground,
|
|
10128
|
+
$type = _ref3.$type;
|
|
10129
|
+
return $removeIconBackground || $type === 'remove' ? '#5E5E5E24' : colorVariables$1$1$1.disabled.primary;
|
|
10130
|
+
});
|
|
10131
|
+
var _templateObject$b$1$1$1, _templateObject2$8$1$1$1, _templateObject3$6$1$1$1, _templateObject4$4$1$1$1, _templateObject5$4$1$1$1, _templateObject6$4$1$1$1, _templateObject7$2$1$1$1, _templateObject8$2$1$1$1, _templateObject9$2$1$1$1, _templateObject10$2$1$1$1;
|
|
10132
|
+
var TitleText$1$1$1$1 = styled__default.label(_templateObject$b$1$1$1 || (_templateObject$b$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n position: relative;\n width: max-content;\n font-weight: ", ";\n ", "\n\n color: ", ";\n"])), function (_ref) {
|
|
10133
|
+
var $titleWeight = _ref.$titleWeight;
|
|
10134
|
+
return $titleWeight || 500;
|
|
10135
|
+
}, function (_ref2) {
|
|
10136
|
+
var $size = _ref2.$size;
|
|
10137
|
+
switch ($size) {
|
|
10138
|
+
case 'small':
|
|
10139
|
+
return "\n font-size: 12px;\n line-height: 12px;\n ";
|
|
10140
|
+
case 'medium':
|
|
10141
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
10142
|
+
case 'large':
|
|
10143
|
+
return "\n font-size: 16px;\n line-height: 16px;\n ";
|
|
10144
|
+
default:
|
|
10145
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
10146
|
+
}
|
|
10147
|
+
}, function (_ref3) {
|
|
10148
|
+
var $titlecolor = _ref3.$titlecolor;
|
|
10149
|
+
switch ($titlecolor) {
|
|
10150
|
+
case 'dark':
|
|
10151
|
+
return colorVariables$1$1$1.text.dark;
|
|
10152
|
+
case 'medium':
|
|
10153
|
+
return colorVariables$1$1$1.text.medium;
|
|
10154
|
+
case 'light':
|
|
10155
|
+
return colorVariables$1$1$1.text.light;
|
|
10156
|
+
case 'white':
|
|
10157
|
+
return colorVariables$1$1$1.text.white;
|
|
10158
|
+
case 'warning':
|
|
10159
|
+
return colorVariables$1$1$1["default"].warning;
|
|
10160
|
+
case 'info':
|
|
10161
|
+
return colorVariables$1$1$1["default"].info;
|
|
10162
|
+
case 'success':
|
|
10163
|
+
return colorVariables$1$1$1["default"].success;
|
|
10164
|
+
case 'error':
|
|
10165
|
+
return colorVariables$1$1$1["default"].error;
|
|
10166
|
+
default:
|
|
10167
|
+
return $titlecolor;
|
|
10168
|
+
}
|
|
10169
|
+
});
|
|
10170
|
+
var DropdownContainer$1$1$1$1 = styled__default.div(_templateObject2$8$1$1$1 || (_templateObject2$8$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: ", ";\n max-width: 100%;\n position: relative;\n gap: 8px;\n display: flex;\n"])), function (_ref4) {
|
|
10171
|
+
var $width = _ref4.$width;
|
|
10172
|
+
return $width || '100%';
|
|
10173
|
+
});
|
|
10174
|
+
var DropdownButton$1$1$1$1 = styled__default.div(_templateObject3$6$1$1$1 || (_templateObject3$6$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n cursor: ", ";\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n width: ", ";\n height: ", ";\n border-radius: ", ";\n border: ", ";\n gap: 6px;\n padding: ", ";\n background: ", ";\n font-size: ", ";\n line-height: ", ";\n"])), function (_ref5) {
|
|
10175
|
+
var $disabled = _ref5.$disabled;
|
|
10176
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
10177
|
+
}, function (_ref6) {
|
|
10178
|
+
var $width = _ref6.$width;
|
|
10179
|
+
return $width ? $width : '100%';
|
|
10180
|
+
}, function (_ref7) {
|
|
10181
|
+
var $selectHeight = _ref7.$selectHeight;
|
|
10182
|
+
return $selectHeight || 'auto';
|
|
10183
|
+
}, function (_ref8) {
|
|
10184
|
+
var $borderRadius = _ref8.$borderRadius;
|
|
10185
|
+
return $borderRadius || '8px';
|
|
10186
|
+
}, function (_ref9) {
|
|
10187
|
+
var $border = _ref9.$border;
|
|
10188
|
+
return $border || "1px solid " + colorVariables$1$1$1.border.light;
|
|
10189
|
+
}, function (_ref10) {
|
|
10190
|
+
var $size = _ref10.$size;
|
|
10191
|
+
switch ($size) {
|
|
10192
|
+
case 'small':
|
|
10193
|
+
return '9px 12px';
|
|
10194
|
+
case 'large':
|
|
10195
|
+
return '24px 12px';
|
|
10196
|
+
default:
|
|
10197
|
+
return '13px 12px';
|
|
10198
|
+
}
|
|
10199
|
+
}, function (_ref11) {
|
|
10200
|
+
var $background = _ref11.$background,
|
|
10201
|
+
$disabled = _ref11.$disabled;
|
|
10202
|
+
return $disabled ? colorVariables$1$1$1.border.light : $background || colorVariables$1$1$1.accent.extraLight;
|
|
10203
|
+
}, function (_ref12) {
|
|
10204
|
+
var $size = _ref12.$size;
|
|
10205
|
+
switch ($size) {
|
|
10206
|
+
case 'small':
|
|
10207
|
+
return '12px';
|
|
10208
|
+
case 'large':
|
|
10209
|
+
return '16px';
|
|
10210
|
+
default:
|
|
10211
|
+
return '14px';
|
|
10212
|
+
}
|
|
10213
|
+
}, function (_ref13) {
|
|
10214
|
+
var $size = _ref13.$size;
|
|
10215
|
+
switch ($size) {
|
|
10216
|
+
case 'small':
|
|
10217
|
+
return '12px';
|
|
10218
|
+
case 'large':
|
|
10219
|
+
return '16px';
|
|
10220
|
+
default:
|
|
10221
|
+
return '14px';
|
|
10222
|
+
}
|
|
10223
|
+
});
|
|
10224
|
+
var Options$1$1$1 = styled__default.div(_templateObject4$4$1$1$1 || (_templateObject4$4$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n color: ", ";\n padding: 5px 10px;\n width: 100%;\n font-size: ", ";\n font-weight: ", ";\n background-color: ", ";\n\n \n &:hover {\n background-color: ", ";\n color: ", ";\n cursor: pointer;\n\n }\n\n"])), function (_ref14) {
|
|
10225
|
+
var $optionColor = _ref14.$optionColor,
|
|
10226
|
+
$optionSelected = _ref14.$optionSelected;
|
|
10227
|
+
return $optionSelected ? colorVariables$1$1$1.text.white : $optionColor || colorVariables$1$1$1.text.medium;
|
|
10228
|
+
}, function (_ref15) {
|
|
10229
|
+
var $optionFontSize = _ref15.$optionFontSize;
|
|
10230
|
+
return $optionFontSize || '14px';
|
|
10231
|
+
}, function (_ref16) {
|
|
10232
|
+
var $optionFontWeight = _ref16.$optionFontWeight;
|
|
10233
|
+
return $optionFontWeight || 400;
|
|
10234
|
+
}, function (_ref17) {
|
|
10235
|
+
var $optionBackgroundColor = _ref17.$optionBackgroundColor,
|
|
10236
|
+
$optionSelected = _ref17.$optionSelected;
|
|
10237
|
+
return $optionSelected ? colorVariables$1$1$1["default"].primary : $optionBackgroundColor || colorVariables$1$1$1["default"].tertiary;
|
|
10238
|
+
}, colorVariables$1$1$1.hover.primary, colorVariables$1$1$1.text.white);
|
|
10239
|
+
var LabelText$1$1$1$1 = styled__default.div(_templateObject5$4$1$1$1 || (_templateObject5$4$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n font-size: ", ";\n line-height: ", ";\n font-style: ", ";\n color: ", ";\n"])), function (_ref18) {
|
|
10240
|
+
var $size = _ref18.$size;
|
|
10241
|
+
switch ($size) {
|
|
10242
|
+
case 'small':
|
|
10243
|
+
return '14px';
|
|
10244
|
+
case 'large':
|
|
10245
|
+
return '16px';
|
|
10246
|
+
default:
|
|
10247
|
+
return '14px';
|
|
10248
|
+
}
|
|
10249
|
+
}, function (_ref19) {
|
|
10250
|
+
var $size = _ref19.$size;
|
|
10251
|
+
switch ($size) {
|
|
10252
|
+
case 'small':
|
|
10253
|
+
return '12px';
|
|
10254
|
+
case 'large':
|
|
10255
|
+
return '16px';
|
|
10256
|
+
default:
|
|
10257
|
+
return '14px';
|
|
10258
|
+
}
|
|
10259
|
+
}, function (_ref20) {
|
|
10260
|
+
var $fontStyle = _ref20.$fontStyle;
|
|
10261
|
+
return $fontStyle || '';
|
|
10262
|
+
}, function (_ref21) {
|
|
10263
|
+
var $color = _ref21.$color,
|
|
10264
|
+
$disabled = _ref21.$disabled;
|
|
10265
|
+
return $disabled ? colorVariables$1$1$1.text.medium : $color || colorVariables$1$1$1.text.medium;
|
|
10266
|
+
});
|
|
10267
|
+
var NoOptions$1$1$1 = styled__default(Span$1$1$1)(_templateObject6$4$1$1$1 || (_templateObject6$4$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n align-items: center;\n height: 100%;\n padding: 12px;\n font-size: 14px;\n font-weight: 400;\n"])));
|
|
10268
|
+
var DropdownMenu$1$1$1$1 = styled__default.div(_templateObject7$2$1$1$1 || (_templateObject7$2$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n height: auto;\n max-height: 170px;\n border: 1px solid ", ";\n border-radius: ", ";\n min-width: 100%;\n width: ", ";\n background: ", ";\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n overflow: hidden; \n position: absolute;\n z-index: 1;\n ", "\n ", "\n \n"])), colorVariables$1$1$1.border.light, function (_ref22) {
|
|
10269
|
+
var $optionsBorderRadius = _ref22.$optionsBorderRadius;
|
|
10270
|
+
return $optionsBorderRadius || '8px';
|
|
10271
|
+
}, function (_ref23) {
|
|
10272
|
+
var $width = _ref23.$width;
|
|
10273
|
+
return $width ? $width : 'max-content';
|
|
10274
|
+
}, function (_ref24) {
|
|
10275
|
+
var $menuBackground = _ref24.$menuBackground;
|
|
10276
|
+
return $menuBackground || colorVariables$1$1$1.accent.extraLight;
|
|
10277
|
+
}, function (_ref25) {
|
|
10278
|
+
var $top = _ref25.$top;
|
|
10279
|
+
return $top && "top: " + $top + ";";
|
|
10280
|
+
}, function (_ref26) {
|
|
10281
|
+
var $bottom = _ref26.$bottom;
|
|
10282
|
+
return $bottom && "bottom: " + $bottom + ";";
|
|
10283
|
+
});
|
|
10284
|
+
var OptionsWrapper$1$1$1 = styled__default.div(_templateObject8$2$1$1$1 || (_templateObject8$2$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n max-height: 150px; \n overflow-y: auto; \n width: 100%;\n"])));
|
|
10285
|
+
var SearchContainer$1$1$1$1 = styled__default.div(_templateObject9$2$1$1$1 || (_templateObject9$2$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: 100%;\n background: ", ";\n border: ", ";\n border-bottom: 1px solid ", ";\n border-radius: ", ";\n padding: 10px 12px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 8px;\n position: sticky;\n top: 0;\n z-index: 10; \n"])), function (_ref27) {
|
|
10286
|
+
var $background = _ref27.$background;
|
|
10287
|
+
return $background || colorVariables$1$1$1.accent.extraLight;
|
|
10288
|
+
}, function (_ref28) {
|
|
10289
|
+
var $border = _ref28.$border;
|
|
10290
|
+
return $border || 'none';
|
|
10291
|
+
}, colorVariables$1$1$1.border.light, function (_ref29) {
|
|
10292
|
+
var $borderRadius = _ref29.$borderRadius;
|
|
10293
|
+
return $borderRadius || '8px 8px 0 0';
|
|
10294
|
+
});
|
|
10295
|
+
var SearchBar$1$1$1$1 = styled__default.input(_templateObject10$2$1$1$1 || (_templateObject10$2$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n border: none;\n width: 100%;\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n font-style: normal;\n font-size: 14px;\n line-height: normal;\n background: transparent;\n color: ", ";\n outline: none;\n \n &::placeholder {\n color: ", ";\n font-style: italic;\n }\n"])), function (_ref30) {
|
|
10296
|
+
var $inputColor = _ref30.$inputColor;
|
|
10297
|
+
return $inputColor || colorVariables$1$1$1.text.medium;
|
|
10298
|
+
}, function (_ref31) {
|
|
10299
|
+
var $placeholderColor = _ref31.$placeholderColor;
|
|
10300
|
+
return $placeholderColor || colorVariables$1$1$1.text.light;
|
|
10301
|
+
});
|
|
10302
|
+
var _templateObject$c$1$1$1, _templateObject2$9$1$1$1;
|
|
10303
|
+
var ModalOverlay$1$1$1 = styled__default.div(_templateObject$c$1$1$1 || (_templateObject$c$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.5);\n display: flex;\n align-items: center;\n justify-content: center;\n font-family: NotoSans, sans-serif;\n z-index: 9999;\n backdrop-filter: blur(4px);\n"])));
|
|
10304
|
+
var ModalContainer$1$1$1 = styled__default.div(_templateObject2$9$1$1$1 || (_templateObject2$9$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n background: ", ";\n box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);\n border-radius: 8px;\n max-width: ", ";\n"])), colorVariables$1$1$1.accent.light, function (_ref) {
|
|
10305
|
+
var maxWidth = _ref.maxWidth;
|
|
10306
|
+
return maxWidth ? maxWidth : '400px';
|
|
10307
|
+
});
|
|
10308
|
+
var _templateObject$d$1$1$1, _templateObject2$a$1$1$1;
|
|
10309
|
+
var SearchContainer$2$1$1$1 = styled__default.div(_templateObject$d$1$1$1 || (_templateObject$d$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: 100%;\n height: 100%;\n background: ", ";\n border: ", ";\n border-radius: ", ";\n padding: 5.5px 8px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 8px;\n"])), function (_ref) {
|
|
10310
|
+
var $background = _ref.$background;
|
|
10311
|
+
return $background || colorVariables$1$1$1["default"].tertiary;
|
|
10312
|
+
}, function (_ref2) {
|
|
10313
|
+
var $border = _ref2.$border;
|
|
10314
|
+
return $border || 'none';
|
|
10315
|
+
}, function (_ref3) {
|
|
10316
|
+
var $borderRadius = _ref3.$borderRadius;
|
|
10317
|
+
return $borderRadius || '8px';
|
|
10318
|
+
});
|
|
10319
|
+
var SearchBar$2$1$1$1 = styled__default.input(_templateObject2$a$1$1$1 || (_templateObject2$a$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n border: none;\n width: 100%;\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n font-style: normal;\n font-size: 14px;\n line-height: normal;\n background: ", ";\n color: ", ";\n &::placeholder {\n color: ", ";\n font-style: italic;\n position: absolute;\n top: 1px;\n }\n"])), colorVariables$1$1$1["default"].tertiary, function (_ref4) {
|
|
10320
|
+
var $inputColor = _ref4.$inputColor;
|
|
10321
|
+
return $inputColor || colorVariables$1$1$1.text.medium;
|
|
10322
|
+
}, function (_ref5) {
|
|
10323
|
+
var $placeholderColor = _ref5.$placeholderColor;
|
|
10324
|
+
return $placeholderColor || colorVariables$1$1$1.text.light;
|
|
10325
|
+
});
|
|
10326
|
+
var _templateObject$e$1$1$1, _templateObject2$b$1$1$1, _templateObject3$7$1$1$1, _templateObject4$5$1$1$1, _templateObject5$5$1$1$1, _templateObject6$5$1$1$1;
|
|
10327
|
+
var Container$3$1$1$1 = styled__default.div(_templateObject$e$1$1$1 || (_templateObject$e$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n padding: ", ";\n"])), function (_ref) {
|
|
10328
|
+
var $padding = _ref.$padding;
|
|
10329
|
+
return $padding;
|
|
10330
|
+
});
|
|
10331
|
+
var Label = styled__default.label(_templateObject2$b$1$1$1 || (_templateObject2$b$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n cursor: auto;\n width: 100%;\n font-weight: 500;\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref2) {
|
|
10332
|
+
var $size = _ref2.$size;
|
|
10333
|
+
switch ($size) {
|
|
10334
|
+
case 'small':
|
|
10335
|
+
return "\n font-size: 12px;\n line-height: 12px;\n ";
|
|
10336
|
+
case 'medium':
|
|
10337
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
10338
|
+
case 'large':
|
|
10339
|
+
return "\n font-size: 16px;\n line-height: 16px;\n ";
|
|
10340
|
+
default:
|
|
10341
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
10342
|
+
}
|
|
10343
|
+
}, function (_ref3) {
|
|
10344
|
+
var $titlecolor = _ref3.$titlecolor;
|
|
10345
|
+
switch ($titlecolor) {
|
|
10346
|
+
case 'dark':
|
|
10347
|
+
return colorVariables$1$1$1.text.dark;
|
|
10348
|
+
case 'medium':
|
|
10349
|
+
return colorVariables$1$1$1.text.medium;
|
|
10350
|
+
case 'light':
|
|
10351
|
+
return colorVariables$1$1$1.text.light;
|
|
10352
|
+
case 'white':
|
|
10353
|
+
return colorVariables$1$1$1.text.white;
|
|
10354
|
+
case 'warning':
|
|
10355
|
+
return colorVariables$1$1$1["default"].warning;
|
|
10356
|
+
case 'info':
|
|
10357
|
+
return colorVariables$1$1$1["default"].info;
|
|
10358
|
+
case 'success':
|
|
10359
|
+
return colorVariables$1$1$1["default"].success;
|
|
10360
|
+
case 'error':
|
|
10361
|
+
return colorVariables$1$1$1["default"].error;
|
|
10362
|
+
default:
|
|
10363
|
+
return $titlecolor;
|
|
10364
|
+
}
|
|
10365
|
+
});
|
|
10366
|
+
var Input = styled__default.input(_templateObject3$7$1$1$1 || (_templateObject3$7$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: 100%;\n border: 1px solid ", ";\n border-radius: 8px;\n cursor: ", ";\n background: ", ";\n transition: all 0.3s ease;\n color: ", ";\n\n ", "\n\n &:focus {\n border: 1px solid\n ", ";\n }\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-family: NotoSans, sans-serif;\n }\n"])), colorVariables$1$1$1.border.light, function (_ref4) {
|
|
10367
|
+
var $disabled = _ref4.$disabled;
|
|
10368
|
+
return $disabled ? 'not-allowed' : 'auto';
|
|
10369
|
+
}, function (_ref5) {
|
|
10370
|
+
var $disabled = _ref5.$disabled,
|
|
10371
|
+
$background = _ref5.$background;
|
|
10372
|
+
return $disabled ? colorVariables$1$1$1.disabled.secondary : $background;
|
|
10373
|
+
}, function (_ref6) {
|
|
10374
|
+
var $color = _ref6.$color;
|
|
10375
|
+
return $color;
|
|
10376
|
+
}, function (_ref7) {
|
|
10377
|
+
var $size = _ref7.$size;
|
|
10378
|
+
switch ($size) {
|
|
10379
|
+
case 'small':
|
|
10380
|
+
return "\n font-size: 12px;\n padding: 5px 10px;\n ";
|
|
10381
|
+
case 'medium':
|
|
10382
|
+
return "\n font-size: 14px;\n padding: 9.5px 12px;\n ";
|
|
10383
|
+
case 'large':
|
|
10384
|
+
return "\n font-size: 16px;\n padding: 9px 14px;\n ";
|
|
10385
|
+
default:
|
|
10386
|
+
return "\n font-size: 14px;\n padding: 7px 12px;\n ";
|
|
10387
|
+
}
|
|
10388
|
+
}, function (_ref8) {
|
|
10389
|
+
var $color = _ref8.$color;
|
|
10390
|
+
switch ($color) {
|
|
10391
|
+
case 'dark':
|
|
10392
|
+
return colorVariables$1$1$1.text.dark;
|
|
10393
|
+
case 'medium':
|
|
10394
|
+
return colorVariables$1$1$1.text.medium;
|
|
10395
|
+
case 'light':
|
|
10396
|
+
return colorVariables$1$1$1.text.light;
|
|
10397
|
+
case 'white':
|
|
10398
|
+
return colorVariables$1$1$1.text.white;
|
|
10399
|
+
case 'warning':
|
|
10400
|
+
return colorVariables$1$1$1["default"].warning;
|
|
10401
|
+
case 'info':
|
|
10402
|
+
return colorVariables$1$1$1["default"].info;
|
|
10403
|
+
case 'success':
|
|
10404
|
+
return colorVariables$1$1$1["default"].success;
|
|
10405
|
+
case 'error':
|
|
10406
|
+
return colorVariables$1$1$1["default"].error;
|
|
10407
|
+
default:
|
|
10408
|
+
return $color;
|
|
10409
|
+
}
|
|
10410
|
+
}, colorVariables$1$1$1.text.light);
|
|
10411
|
+
var InputWrapper$1$1$1$1 = styled__default.div(_templateObject4$5$1$1$1 || (_templateObject4$5$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n"])));
|
|
10412
|
+
var IconWrapper$1$1$1$1 = styled__default.div(_templateObject5$5$1$1$1 || (_templateObject5$5$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n position: absolute;\n right: 12px;\n cursor: pointer;\n\n > div {\n cursor: ", ";\n }\n"])), function (_ref9) {
|
|
10413
|
+
var $disabled = _ref9.$disabled;
|
|
10414
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
10415
|
+
});
|
|
10416
|
+
var Asterisk$1$1$1$1 = styled__default.span(_templateObject6$5$1$1$1 || (_templateObject6$5$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n color: ", ";\n font-size: 10px;\n height: fit-content;\n position: absolute;\n top: -2px;\n right: -8px;\n"])), colorVariables$1$1$1["default"].error);
|
|
10417
|
+
var _templateObject$f, _templateObject2$c, _templateObject3$8;
|
|
10418
|
+
var Container$4 = styled__default.div(_templateObject$f || (_templateObject$f = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n padding: ", ";\n"])), function (_ref) {
|
|
10419
|
+
var $padding = _ref.$padding;
|
|
10420
|
+
return $padding;
|
|
10421
|
+
});
|
|
10422
|
+
var Label$1 = styled__default.label(_templateObject2$c || (_templateObject2$c = _taggedTemplateLiteralLoose$1$1$1(["\n cursor: auto;\n font-weight: 500;\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref2) {
|
|
10423
|
+
var $size = _ref2.$size;
|
|
10424
|
+
switch ($size) {
|
|
10425
|
+
case 'small':
|
|
10426
|
+
return 'font-size: 12px; line-height: 12px;';
|
|
10427
|
+
case 'medium':
|
|
10428
|
+
return 'font-size: 14px; line-height: 14px;';
|
|
10429
|
+
case 'large':
|
|
10430
|
+
return 'font-size: 16px; line-height: 16px;';
|
|
10431
|
+
default:
|
|
10432
|
+
return 'font-size: 14px; line-height: 14px;';
|
|
10433
|
+
}
|
|
10434
|
+
}, function (_ref3) {
|
|
10435
|
+
var $titlecolor = _ref3.$titlecolor;
|
|
10436
|
+
return $titlecolor || colorVariables$1$1$1.text.dark;
|
|
10437
|
+
});
|
|
10438
|
+
var TextAreaComponent = styled__default.textarea(_templateObject3$8 || (_templateObject3$8 = _taggedTemplateLiteralLoose$1$1$1(["\n width: 100%;\n border: 1px solid ", ";\n border-radius: 8px;\n cursor: ", ";\n background: ", ";\n transition: all 0.3s ease;\n color: ", ";\n resize: none;\n height: 100%;\n \n ", "\n\n &:focus {\n border-color: ", ";\n }\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-family: NotoSans, sans-serif;\n }\n"])), colorVariables$1$1$1.border.light, function (_ref4) {
|
|
10439
|
+
var $disabled = _ref4.$disabled;
|
|
10440
|
+
return $disabled ? 'not-allowed' : 'auto';
|
|
10441
|
+
}, function (_ref5) {
|
|
10442
|
+
var $disabled = _ref5.$disabled,
|
|
10443
|
+
$background = _ref5.$background;
|
|
10444
|
+
return $disabled ? colorVariables$1$1$1.disabled.secondary : $background;
|
|
10445
|
+
}, function (_ref6) {
|
|
10446
|
+
var $color = _ref6.$color;
|
|
10447
|
+
return $color;
|
|
10448
|
+
}, function (_ref7) {
|
|
10449
|
+
var $size = _ref7.$size;
|
|
10450
|
+
switch ($size) {
|
|
10451
|
+
case 'small':
|
|
10452
|
+
return 'font-size: 12px; padding: 5px 10px;';
|
|
10453
|
+
case 'medium':
|
|
10454
|
+
return 'font-size: 14px; padding: 9px 12px;';
|
|
10455
|
+
case 'large':
|
|
10456
|
+
return 'font-size: 16px; padding: 9px 14px;';
|
|
10457
|
+
default:
|
|
10458
|
+
return 'font-size: 14px; padding: 7px 12px;';
|
|
10459
|
+
}
|
|
10460
|
+
}, function (_ref8) {
|
|
10461
|
+
var $color = _ref8.$color;
|
|
10462
|
+
return $color || colorVariables$1$1$1.text.dark;
|
|
10463
|
+
}, colorVariables$1$1$1.text.light);
|
|
10464
|
+
var _templateObject$g, _templateObject2$d, _templateObject3$9, _templateObject4$6, _templateObject5$6, _templateObject6$6, _templateObject7$3$1$1$1;
|
|
10465
|
+
var OptionContainer$1$1$1$1 = styled__default.div(_templateObject$g || (_templateObject$g = _taggedTemplateLiteralLoose$1$1$1(["\n z-index: 2;\n border-radius: 8px;\n display: flex;\n flex-direction: column;\n position: absolute;\n padding: 4px;\n top: 40px;\n left: 0px;\n background: ", ";\n max-width: 192px;\n min-width: 192px;\n height: auto;\n max-height: 175px;\n"])), colorVariables$1$1$1.text.white);
|
|
10466
|
+
var OptionItem$1$1$1$1 = styled__default.div(_templateObject2$d || (_templateObject2$d = _taggedTemplateLiteralLoose$1$1$1(["\n color: ", ";\n background-color: ", ";\n border-radius: 8px;\n\n &:hover {\n background-color: ", ";\n color: ", ";\n cursor: pointer;\n }\n"])), function (_ref) {
|
|
10467
|
+
var $optionSelected = _ref.$optionSelected;
|
|
10468
|
+
return $optionSelected ? colorVariables$1$1$1.text.white : colorVariables$1$1$1.text.medium;
|
|
10469
|
+
}, function (_ref2) {
|
|
10470
|
+
var $optionSelected = _ref2.$optionSelected;
|
|
10471
|
+
return $optionSelected ? colorVariables$1$1$1["default"].primary : colorVariables$1$1$1.text.white;
|
|
10472
|
+
}, colorVariables$1$1$1.hover.primary, colorVariables$1$1$1.text.white);
|
|
10473
|
+
var TotalOptionsHeader = styled__default.div(_templateObject3$9 || (_templateObject3$9 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n align-items: center;\n z-index: 2;\n background: ", ";\n color: ", ";\n height: max-content;\n padding: 8px 4px;\n gap: 4px;\n border-bottom: 1px solid ", ";\n font-size:12px;\n"])), colorVariables$1$1$1.text.white, colorVariables$1$1$1.text.light, colorVariables$1$1$1.text.light);
|
|
10474
|
+
var OptionLabel$1$1$1$1 = styled__default.label(_templateObject4$6 || (_templateObject4$6 = _taggedTemplateLiteralLoose$1$1$1(["\n cursor: pointer;\n height: max-content;\n gap: 8px;\n padding: 8px 12px;\n word-break: break-word;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n font-family: NotoSans;\n font-weight: 500;\n font-size: 14px;\n line-height: 14px;\n"])));
|
|
10475
|
+
var SearchContainer$3$1$1$1 = styled__default.div(_templateObject5$6 || (_templateObject5$6 = _taggedTemplateLiteralLoose$1$1$1(["\n width: 100%;\n height: auto;\n background: ", ";\n border: ", ";\n border-radius: ", ";\n padding: 6.5px 8px;\n display: flex;\n align-items: center;\n gap: 6px;\n"])), function (_ref3) {
|
|
10476
|
+
var $background = _ref3.$background;
|
|
10477
|
+
switch ($background) {
|
|
10478
|
+
case 'dark':
|
|
10479
|
+
return colorVariables$1$1$1.text.dark;
|
|
10480
|
+
case 'medium':
|
|
10481
|
+
return colorVariables$1$1$1.text.medium;
|
|
10482
|
+
case 'light':
|
|
10483
|
+
return colorVariables$1$1$1.text.light;
|
|
10484
|
+
case 'white':
|
|
10485
|
+
return colorVariables$1$1$1.text.white;
|
|
10486
|
+
case 'warning':
|
|
10487
|
+
return colorVariables$1$1$1["default"].warning;
|
|
10488
|
+
case 'info':
|
|
10489
|
+
return colorVariables$1$1$1["default"].info;
|
|
10490
|
+
case 'success':
|
|
10491
|
+
return colorVariables$1$1$1["default"].success;
|
|
10492
|
+
case 'error':
|
|
10493
|
+
return colorVariables$1$1$1["default"].error;
|
|
10494
|
+
default:
|
|
10495
|
+
return $background;
|
|
10496
|
+
}
|
|
10497
|
+
}, function (_ref4) {
|
|
10498
|
+
var $borderBottom = _ref4.$borderBottom;
|
|
10499
|
+
return $borderBottom || 'none';
|
|
10500
|
+
}, function (_ref5) {
|
|
10501
|
+
var $borderRadius = _ref5.$borderRadius;
|
|
10502
|
+
return $borderRadius || '8px';
|
|
10503
|
+
});
|
|
10504
|
+
var SearchBar$3$1$1$1 = styled__default.input(_templateObject6$6 || (_templateObject6$6 = _taggedTemplateLiteralLoose$1$1$1(["\n border: none;\n outline: none;\n width: 100%;\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n font-size: 14px;\n line-height: 100%;\n background: ", ";\n color: ", ";\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-size: 14px;\n }\n"])), colorVariables$1$1$1["default"].tertiary, function (_ref6) {
|
|
10505
|
+
var $inputColor = _ref6.$inputColor;
|
|
10506
|
+
switch ($inputColor) {
|
|
10507
|
+
case 'dark':
|
|
10508
|
+
return colorVariables$1$1$1.text.dark;
|
|
10509
|
+
case 'medium':
|
|
10510
|
+
return colorVariables$1$1$1.text.medium;
|
|
10511
|
+
case 'light':
|
|
10512
|
+
return colorVariables$1$1$1.text.light;
|
|
10513
|
+
case 'white':
|
|
10514
|
+
return colorVariables$1$1$1.text.white;
|
|
10515
|
+
case 'warning':
|
|
10516
|
+
return colorVariables$1$1$1["default"].warning;
|
|
10517
|
+
case 'info':
|
|
10518
|
+
return colorVariables$1$1$1["default"].info;
|
|
10519
|
+
case 'success':
|
|
10520
|
+
return colorVariables$1$1$1["default"].success;
|
|
10521
|
+
case 'error':
|
|
10522
|
+
return colorVariables$1$1$1["default"].error;
|
|
10523
|
+
default:
|
|
10524
|
+
return $inputColor;
|
|
10525
|
+
}
|
|
10526
|
+
}, function (_ref7) {
|
|
10527
|
+
var $placeholderColor = _ref7.$placeholderColor;
|
|
10528
|
+
switch ($placeholderColor) {
|
|
10529
|
+
case 'dark':
|
|
10530
|
+
return colorVariables$1$1$1.text.dark;
|
|
10531
|
+
case 'medium':
|
|
10532
|
+
return colorVariables$1$1$1.text.medium;
|
|
10533
|
+
case 'light':
|
|
10534
|
+
return colorVariables$1$1$1.text.light;
|
|
10535
|
+
case 'white':
|
|
10536
|
+
return colorVariables$1$1$1.text.white;
|
|
10537
|
+
case 'warning':
|
|
10538
|
+
return colorVariables$1$1$1["default"].warning;
|
|
10539
|
+
case 'info':
|
|
10540
|
+
return colorVariables$1$1$1["default"].info;
|
|
10541
|
+
case 'success':
|
|
10542
|
+
return colorVariables$1$1$1["default"].success;
|
|
10543
|
+
case 'error':
|
|
10544
|
+
return colorVariables$1$1$1["default"].error;
|
|
10545
|
+
default:
|
|
10546
|
+
return $placeholderColor;
|
|
10547
|
+
}
|
|
10548
|
+
});
|
|
10549
|
+
var OptionsWrapper$1$1$1$1 = styled__default.div(_templateObject7$3$1$1$1 || (_templateObject7$3$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n padding: 4px 0px;\n height: 100%;\n overflow-y: auto;\n scrollbar-width: thin;\n background: ", "\n"])), colorVariables$1$1$1.text.white);
|
|
10550
|
+
var _templateObject$h, _templateObject2$e, _templateObject3$a, _templateObject4$7;
|
|
10551
|
+
var spin$1$1$1$1 = styled.keyframes(_templateObject$h || (_templateObject$h = _taggedTemplateLiteralLoose$1$1$1(["\n 0% { opacity: 1; }\n 100% { opacity: 0.3; }\n"])));
|
|
10552
|
+
var getDotPosition = function getDotPosition(index, size) {
|
|
10553
|
+
var angle = index * 360 / 8;
|
|
10554
|
+
var radius = size / 2.5;
|
|
10555
|
+
var x = radius * Math.cos(angle * Math.PI / 180);
|
|
10556
|
+
var y = radius * Math.sin(angle * Math.PI / 180);
|
|
10557
|
+
return "translate(" + x + "px, " + y + "px)";
|
|
10558
|
+
};
|
|
10559
|
+
var SpinnerContainer = styled__default.div(_templateObject2$e || (_templateObject2$e = _taggedTemplateLiteralLoose$1$1$1(["\n position: relative;\n width: ", "px;\n height: ", "px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (_ref) {
|
|
10560
|
+
var $size = _ref.$size;
|
|
10561
|
+
return $size;
|
|
10562
|
+
}, function (_ref2) {
|
|
10563
|
+
var $size = _ref2.$size;
|
|
10564
|
+
return $size;
|
|
10565
|
+
});
|
|
10566
|
+
var Dot = styled__default.div.attrs(function (_ref3) {
|
|
10567
|
+
var $index = _ref3.$index,
|
|
10568
|
+
$size = _ref3.$size;
|
|
10569
|
+
return {
|
|
10570
|
+
style: {
|
|
10571
|
+
transform: getDotPosition($index, $size)
|
|
10572
|
+
}
|
|
10573
|
+
};
|
|
10574
|
+
})(_templateObject3$a || (_templateObject3$a = _taggedTemplateLiteralLoose$1$1$1(["\n position: absolute;\n width: ", "px;\n height: ", "px;\n background-color: ", ";\n border-radius: 50%;\n animation: ", " ", "s linear infinite;\n animation-delay: ", "s;\n"])), function (_ref4) {
|
|
10575
|
+
var $dotSize = _ref4.$dotSize;
|
|
10576
|
+
return $dotSize;
|
|
10577
|
+
}, function (_ref5) {
|
|
10578
|
+
var $dotSize = _ref5.$dotSize;
|
|
10579
|
+
return $dotSize;
|
|
10580
|
+
}, function (_ref6) {
|
|
10581
|
+
var $color = _ref6.$color;
|
|
10582
|
+
return $color;
|
|
10583
|
+
}, spin$1$1$1$1, function (_ref7) {
|
|
10584
|
+
var $speed = _ref7.$speed;
|
|
10585
|
+
return $speed;
|
|
10586
|
+
}, function (_ref8) {
|
|
10587
|
+
var $index = _ref8.$index,
|
|
10588
|
+
$speed = _ref8.$speed;
|
|
10589
|
+
return $index * $speed / 8;
|
|
10590
|
+
});
|
|
10591
|
+
var SpinnerWrapper = styled__default.div(_templateObject4$7 || (_templateObject4$7 = _taggedTemplateLiteralLoose$1$1$1(["\n display: inline-flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: max-content;\n"])));
|
|
10592
|
+
var _templateObject$i, _templateObject2$f;
|
|
10593
|
+
var spin$2 = styled.keyframes(_templateObject$i || (_templateObject$i = _taggedTemplateLiteralLoose$1$1$1(["\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
10594
|
+
var Spinner$1$1$1$1 = styled__default.div(_templateObject2$f || (_templateObject2$f = _taggedTemplateLiteralLoose$1$1$1(["\n width: ", "px;\n height: ", "px;\n border: 5px solid #ddd;\n border-top-color: ", ";\n border-radius: 50%;\n animation: ", " 1s linear infinite;\n"])), function (_ref) {
|
|
10595
|
+
var $size = _ref.$size;
|
|
10596
|
+
return $size;
|
|
10597
|
+
}, function (_ref2) {
|
|
10598
|
+
var $size = _ref2.$size;
|
|
10599
|
+
return $size;
|
|
10600
|
+
}, function (_ref3) {
|
|
10601
|
+
var $color = _ref3.$color;
|
|
10602
|
+
return $color;
|
|
10603
|
+
}, spin$2);
|
|
10604
|
+
var _templateObject$j;
|
|
10605
|
+
var PageInput = styled__default.input(_templateObject$j || (_templateObject$j = _taggedTemplateLiteralLoose$1$1$1(["\n width: 40px;\n height: 32px;\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: 8px;\n padding: 4px;\n color: ", ";\n text-align: center;\n &::-webkit-outer-spin-button,\n &::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n"])), colorVariables$1$1$1.accent.extraLight, colorVariables$1$1$1.border.light, colorVariables$1$1$1.text.dark);
|
|
10606
|
+
var _templateObject$k, _templateObject2$g, _templateObject3$b, _templateObject4$8, _templateObject5$7, _templateObject6$7;
|
|
10607
|
+
var SidebarContainer = styled__default.div(_templateObject$k || (_templateObject$k = _taggedTemplateLiteralLoose$1$1$1(["\n width: ", ";\n height: 100vh;\n background: ", "; \n transition: width 0.3s ease-in-out;\n display: flex;\n flex-direction: column;\n align-items: start;\n padding: 20px;\n position: fixed;\n left: 0;\n top: 0;\n overflow: hidden;\n z-index: 10;\n justify-content: space-between;\n"])), function (_ref) {
|
|
10608
|
+
var $isExpanded = _ref.$isExpanded;
|
|
10609
|
+
return $isExpanded ? '225px' : '68px';
|
|
10610
|
+
}, function (_ref2) {
|
|
10611
|
+
var $background = _ref2.$background;
|
|
10612
|
+
return $background ? $background : colorVariables$1$1$1.accent.softBlue;
|
|
10613
|
+
});
|
|
10614
|
+
var SidebarItem = styled__default(reactRouterDom.NavLink)(_templateObject2$g || (_templateObject2$g = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n align-items: center;\n height: 28px;\n width: 100%;\n gap: 10px;\n cursor: pointer;\n border-radius: 4px;\n color: ", ";\n transition: background 0.3s;\n\n &:hover {\n background: ", ";\n }\n"])), colorVariables$1$1$1.text.medium, colorVariables$1$1$1["default"].primary);
|
|
10615
|
+
var ContentWrapper = styled__default.div(_templateObject3$b || (_templateObject3$b = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n flex-direction: column;\n gap: 16px;\n width: 100%;\n"])));
|
|
10616
|
+
var IconWrapper$2 = styled__default.div(_templateObject4$8 || (_templateObject4$8 = _taggedTemplateLiteralLoose$1$1$1(["\n background: ", "; \n font-weight: bold;\n padding: 4px;\n border-radius: 4px;\n width: 28px;\n display: flex;\n align-items: center;\n justify-content: center;\n\n > div:first-child {\n cursor: pointer;\n }\n"])), function (_ref3) {
|
|
10617
|
+
var $selected = _ref3.$selected;
|
|
10618
|
+
return $selected ? colorVariables$1$1$1["default"].primary : colorVariables$1$1$1["default"].tertiary;
|
|
10619
|
+
});
|
|
10620
|
+
var Logo = styled__default.div(_templateObject5$7 || (_templateObject5$7 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n width: 100%;\n min-width: max-content;\n height: 32px;\n align-items: center;\n justify-content: start;\n gap: 10px;\n"])));
|
|
10621
|
+
var TextContainer = styled__default.span(_templateObject6$7 || (_templateObject6$7 = _taggedTemplateLiteralLoose$1$1$1(["\n width: 100%;\n white-space: nowrap;\n padding: ", ";\n font-size: ", ";\n font-weight: ", ";\n color: ", ";\n opacity: ", ";\n visibility: ", ";\n transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;\n"])), function (_ref4) {
|
|
10622
|
+
var $padding = _ref4.$padding;
|
|
10623
|
+
return $padding;
|
|
10624
|
+
}, function (_ref5) {
|
|
10625
|
+
var $fontSize = _ref5.$fontSize;
|
|
10626
|
+
return $fontSize ? $fontSize : '20px';
|
|
10627
|
+
}, function (_ref6) {
|
|
10628
|
+
var $fontWeight = _ref6.$fontWeight;
|
|
10629
|
+
return $fontWeight ? $fontWeight : '500';
|
|
10630
|
+
}, function (_ref7) {
|
|
10631
|
+
var $color = _ref7.$color;
|
|
10632
|
+
return $color ? $color : colorVariables$1$1$1["default"].primary;
|
|
10633
|
+
}, function (_ref8) {
|
|
10634
|
+
var $isExpanded = _ref8.$isExpanded;
|
|
10635
|
+
return $isExpanded ? 1 : 0;
|
|
10636
|
+
}, function (_ref9) {
|
|
10637
|
+
var $isExpanded = _ref9.$isExpanded;
|
|
10638
|
+
return $isExpanded ? 'visible' : 'hidden';
|
|
10639
|
+
});
|
|
10640
|
+
var _templateObject$l, _templateObject2$h, _templateObject3$c, _templateObject4$9;
|
|
10641
|
+
var ContainerWrapper = styled__default.div(_templateObject$l || (_templateObject$l = _taggedTemplateLiteralLoose$1$1$1(["\n height: auto;\n display: flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n min-height: ", ";\n word-break: break-word;\n"])), function (props) {
|
|
10642
|
+
return props.$width || 'auto';
|
|
10643
|
+
}, function (_ref) {
|
|
10644
|
+
var $minHeight = _ref.$minHeight;
|
|
10645
|
+
return $minHeight;
|
|
9359
10646
|
});
|
|
9360
|
-
var
|
|
9361
|
-
|
|
9362
|
-
|
|
9363
|
-
return
|
|
9364
|
-
}, function (
|
|
9365
|
-
|
|
9366
|
-
|
|
9367
|
-
|
|
9368
|
-
|
|
9369
|
-
return
|
|
10647
|
+
var CellContainer = styled__default.div(_templateObject2$h || (_templateObject2$h = _taggedTemplateLiteralLoose$1$1$1(["\n align-items:", ";\n justify-content: center;\n width: ", ";\n min-width: ", ";\n display: flex;\n flex-direction: column;\n background: ", ";\n padding: ", ";\n gap: 4px;\n height: 100%\n"])), function (props) {
|
|
10648
|
+
return props.$align;
|
|
10649
|
+
}, function (props) {
|
|
10650
|
+
return props.$width || 'auto';
|
|
10651
|
+
}, function (props) {
|
|
10652
|
+
return props.$minWidth;
|
|
10653
|
+
}, function (props) {
|
|
10654
|
+
return props.$background || 'inherit';
|
|
10655
|
+
}, function (props) {
|
|
10656
|
+
return props.$padding;
|
|
9370
10657
|
});
|
|
9371
|
-
var
|
|
9372
|
-
|
|
9373
|
-
|
|
9374
|
-
|
|
9375
|
-
|
|
9376
|
-
return
|
|
10658
|
+
var MainText = styled__default.div(_templateObject3$c || (_templateObject3$c = _taggedTemplateLiteralLoose$1$1$1(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
10659
|
+
return props.$mtc;
|
|
10660
|
+
}, function (props) {
|
|
10661
|
+
return props.$mtfs;
|
|
10662
|
+
}, function (props) {
|
|
10663
|
+
return props.$mtw;
|
|
9377
10664
|
});
|
|
9378
|
-
var
|
|
9379
|
-
|
|
9380
|
-
|
|
9381
|
-
|
|
9382
|
-
|
|
10665
|
+
var SubText = styled__default.div(_templateObject4$9 || (_templateObject4$9 = _taggedTemplateLiteralLoose$1$1$1(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
10666
|
+
return props.$stc;
|
|
10667
|
+
}, function (props) {
|
|
10668
|
+
return props.$stfs;
|
|
10669
|
+
}, function (props) {
|
|
10670
|
+
return props.$stw;
|
|
9383
10671
|
});
|
|
9384
|
-
var _templateObject$
|
|
9385
|
-
var
|
|
9386
|
-
|
|
9387
|
-
|
|
9388
|
-
|
|
9389
|
-
|
|
9390
|
-
|
|
9391
|
-
|
|
9392
|
-
var $borderRadius = _ref3.$borderRadius;
|
|
9393
|
-
return $borderRadius || '8px';
|
|
10672
|
+
var _templateObject$m;
|
|
10673
|
+
var TableRowContainer = styled.styled.div(_templateObject$m || (_templateObject$m = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n flex-direction: row;\n background: inherit;\n align-items:center;\n padding: 16px 12px;\n width: 100%;\n"])));
|
|
10674
|
+
var _templateObject$n, _templateObject2$i, _templateObject3$d, _templateObject4$a, _templateObject5$8;
|
|
10675
|
+
var TableContainer = styled__default.div(_templateObject$n || (_templateObject$n = _taggedTemplateLiteralLoose$1$1$1(["\n background: ", ";\n width: 100%;\n display: flex;\n overflow: hidden;\n border-radius: 8px;\n"])), colorVariables$1$1$1.brand.light);
|
|
10676
|
+
var TableHeader = styled__default.div(_templateObject2$i || (_templateObject2$i = _taggedTemplateLiteralLoose$1$1$1(["\n font-size: 14px;\n display: flex;\n background: ", ";\n color: ", ";\n min-height: 36px;\n align-items: center;\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n padding: 9px 12px;\n"])), function (props) {
|
|
10677
|
+
return props.$hbcolor || 'transparent';
|
|
10678
|
+
}, function (props) {
|
|
10679
|
+
return props.$tcolor || 'white';
|
|
9394
10680
|
});
|
|
9395
|
-
var
|
|
9396
|
-
|
|
9397
|
-
|
|
9398
|
-
|
|
9399
|
-
|
|
9400
|
-
|
|
10681
|
+
var TableContent = styled__default.div(_templateObject3$d || (_templateObject3$d = _taggedTemplateLiteralLoose$1$1$1(["\n width: 100%;\n svg {\n cursor: pointer;\n }\n"])));
|
|
10682
|
+
var TableData = styled__default.div(_templateObject4$a || (_templateObject4$a = _taggedTemplateLiteralLoose$1$1$1(["\n overflow: auto;\n scrollbar-width: thin;\n height: 100%;\n max-height: calc(100% - 36px);\n"])));
|
|
10683
|
+
var Divider = styled__default.div(_templateObject5$8 || (_templateObject5$8 = _taggedTemplateLiteralLoose$1$1$1(["\n height: 2px;\n background: ", ";\n"])), colorVariables$1$1$1.border.extraLight);
|
|
10684
|
+
var _templateObject$o, _templateObject2$j, _templateObject3$e, _templateObject4$b, _templateObject5$9;
|
|
10685
|
+
var Container$5 = styled__default.div(_templateObject$o || (_templateObject$o = _taggedTemplateLiteralLoose$1$1$1(["\n width: 100%;\n height: 100%; \n display: flex;\n flex-direction: column;\n overflow: hidden;\n gap: 24px;\n border: ", ";\n border-radius: 8px;\n"])), function (_ref) {
|
|
10686
|
+
var $border = _ref.$border;
|
|
10687
|
+
return $border;
|
|
10688
|
+
});
|
|
10689
|
+
var FirstContainer = styled__default.div(_templateObject2$j || (_templateObject2$j = _taggedTemplateLiteralLoose$1$1$1(["\n width: 100%;\n display: flex;\n font-family: NotoSans, sans-serif;\n font-size: 16px;\n gap: 24px;\n border-bottom: 1px solid ", ";\n padding: ", ";\n"])), colorVariables$1$1$1.border.light, function (_ref2) {
|
|
10690
|
+
var $headerPadding = _ref2.$headerPadding;
|
|
10691
|
+
return $headerPadding ? $headerPadding : '0px';
|
|
10692
|
+
});
|
|
10693
|
+
var TabContainer = styled__default.div(_templateObject3$e || (_templateObject3$e = _taggedTemplateLiteralLoose$1$1$1(["\n width: auto;\n display: flex;\n align-items: center;\n cursor: ", ";\n opacity: ", ";\n gap: 8px;\n font-family: NotoSans, sans-serif;\n font-size: 14px;\n font-weight: 500;\n color: ", ";\n height: ", ";\n\n svg {\n cursor: ", ";\n }\n\n"])), function (_ref3) {
|
|
10694
|
+
var $disabled = _ref3.$disabled;
|
|
10695
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
10696
|
+
}, function (_ref4) {
|
|
10697
|
+
var $disabled = _ref4.$disabled;
|
|
10698
|
+
return $disabled ? '0.6' : '1';
|
|
10699
|
+
}, colorVariables$1$1$1.text.medium, function (_ref5) {
|
|
10700
|
+
var $headerHeight = _ref5.$headerHeight;
|
|
10701
|
+
return $headerHeight ? $headerHeight : '34px';
|
|
10702
|
+
}, function (_ref6) {
|
|
10703
|
+
var $disabled = _ref6.$disabled;
|
|
10704
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
10705
|
+
});
|
|
10706
|
+
var TabItemContainer = styled__default.div(_templateObject4$b || (_templateObject4$b = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n align-items: center;\n position: relative;\n gap: 8px;\n height: 100%;\n max-height: ", ";\n\n &:after {\n content: \"\";\n display: ", ";\n width: 100%;\n height: 3px;\n background: ", ";\n position: absolute;\n bottom: -1px;\n left: 0px;\n }\n"])), function (_ref7) {
|
|
10707
|
+
var $headerHeight = _ref7.$headerHeight;
|
|
10708
|
+
return $headerHeight ? $headerHeight : '34px';
|
|
10709
|
+
}, function (props) {
|
|
10710
|
+
return props.$active ? 'block' : 'none';
|
|
10711
|
+
}, colorVariables$1$1$1["default"].primary);
|
|
10712
|
+
var DetailsFirstContainer = styled__default.div(_templateObject5$9 || (_templateObject5$9 = _taggedTemplateLiteralLoose$1$1$1(["\n text-align: center;\n font-size: 14px;\n line-height: 18px;\n font-weight: 500;\n font-family: NotoSans, sans-serif;\n height: 100%;\n display: flex;\n align-items: center;\n color: ", ";\n"])), function (props) {
|
|
10713
|
+
return props.$active ? colorVariables$1$1$1["default"].primary : colorVariables$1$1$1.text.medium;
|
|
9401
10714
|
});
|
|
9402
|
-
var _templateObject$
|
|
9403
|
-
var Container$
|
|
10715
|
+
var _templateObject$p, _templateObject2$k, _templateObject3$f, _templateObject4$c, _templateObject5$a, _templateObject6$8;
|
|
10716
|
+
var Container$6 = styled__default.div(_templateObject$p || (_templateObject$p = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n padding: ", ";\n"])), function (_ref) {
|
|
9404
10717
|
var $padding = _ref.$padding;
|
|
9405
10718
|
return $padding;
|
|
9406
10719
|
});
|
|
9407
|
-
var Label = styled__default.label(_templateObject2$
|
|
10720
|
+
var Label$2 = styled__default.label(_templateObject2$k || (_templateObject2$k = _taggedTemplateLiteralLoose$1$1(["\n cursor: auto;\n width: 100%;\n font-weight: 500;\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref2) {
|
|
9408
10721
|
var $size = _ref2.$size;
|
|
9409
10722
|
switch ($size) {
|
|
9410
10723
|
case 'small':
|
|
@@ -9420,37 +10733,40 @@ var Label = styled__default.label(_templateObject2$b$1$1 || (_templateObject2$b$
|
|
|
9420
10733
|
var $titlecolor = _ref3.$titlecolor;
|
|
9421
10734
|
switch ($titlecolor) {
|
|
9422
10735
|
case 'dark':
|
|
9423
|
-
return colorVariables$1$1.text.dark;
|
|
10736
|
+
return colorVariables$1$1$1.text.dark;
|
|
9424
10737
|
case 'medium':
|
|
9425
|
-
return colorVariables$1$1.text.medium;
|
|
10738
|
+
return colorVariables$1$1$1.text.medium;
|
|
9426
10739
|
case 'light':
|
|
9427
|
-
return colorVariables$1$1.text.light;
|
|
10740
|
+
return colorVariables$1$1$1.text.light;
|
|
9428
10741
|
case 'white':
|
|
9429
|
-
return colorVariables$1$1.text.white;
|
|
10742
|
+
return colorVariables$1$1$1.text.white;
|
|
9430
10743
|
case 'warning':
|
|
9431
|
-
return colorVariables$1$1["default"].warning;
|
|
10744
|
+
return colorVariables$1$1$1["default"].warning;
|
|
9432
10745
|
case 'info':
|
|
9433
|
-
return colorVariables$1$1["default"].info;
|
|
10746
|
+
return colorVariables$1$1$1["default"].info;
|
|
9434
10747
|
case 'success':
|
|
9435
|
-
return colorVariables$1$1["default"].success;
|
|
10748
|
+
return colorVariables$1$1$1["default"].success;
|
|
9436
10749
|
case 'error':
|
|
9437
|
-
return colorVariables$1$1["default"].error;
|
|
10750
|
+
return colorVariables$1$1$1["default"].error;
|
|
9438
10751
|
default:
|
|
9439
10752
|
return $titlecolor;
|
|
9440
10753
|
}
|
|
9441
10754
|
});
|
|
9442
|
-
var Input = styled__default.input(_templateObject3$
|
|
10755
|
+
var Input$1 = styled__default.input(_templateObject3$f || (_templateObject3$f = _taggedTemplateLiteralLoose$1$1(["\n width: 100%;\n border: 1px solid ", ";\n border-radius: 8px;\n cursor: ", ";\n background: ", ";\n transition: all 0.3s ease;\n color: ", ";\n pointer-events: ", ";\n\n ", "\n\n &:focus {\n border: 1px solid\n ", ";\n }\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-family: NotoSans, sans-serif;\n }\n"])), colorVariables$1$1$1.border.light, function (_ref4) {
|
|
9443
10756
|
var $disabled = _ref4.$disabled;
|
|
9444
10757
|
return $disabled ? 'not-allowed' : 'auto';
|
|
9445
10758
|
}, function (_ref5) {
|
|
9446
10759
|
var $disabled = _ref5.$disabled,
|
|
9447
10760
|
$background = _ref5.$background;
|
|
9448
|
-
return $disabled ? colorVariables$1$1.disabled.secondary : $background;
|
|
10761
|
+
return $disabled ? colorVariables$1$1$1.disabled.secondary : $background;
|
|
9449
10762
|
}, function (_ref6) {
|
|
9450
10763
|
var $color = _ref6.$color;
|
|
9451
10764
|
return $color;
|
|
9452
10765
|
}, function (_ref7) {
|
|
9453
|
-
var $
|
|
10766
|
+
var $disabled = _ref7.$disabled;
|
|
10767
|
+
return $disabled ? 'none' : 'auto';
|
|
10768
|
+
}, function (_ref8) {
|
|
10769
|
+
var $size = _ref8.$size;
|
|
9454
10770
|
switch ($size) {
|
|
9455
10771
|
case 'small':
|
|
9456
10772
|
return "\n font-size: 12px;\n padding: 5px 10px;\n ";
|
|
@@ -9461,41 +10777,41 @@ var Input = styled__default.input(_templateObject3$7$1$1 || (_templateObject3$7$
|
|
|
9461
10777
|
default:
|
|
9462
10778
|
return "\n font-size: 14px;\n padding: 7px 12px;\n ";
|
|
9463
10779
|
}
|
|
9464
|
-
}, function (
|
|
9465
|
-
var $color =
|
|
10780
|
+
}, function (_ref9) {
|
|
10781
|
+
var $color = _ref9.$color;
|
|
9466
10782
|
switch ($color) {
|
|
9467
10783
|
case 'dark':
|
|
9468
|
-
return colorVariables$1$1.text.dark;
|
|
10784
|
+
return colorVariables$1$1$1.text.dark;
|
|
9469
10785
|
case 'medium':
|
|
9470
|
-
return colorVariables$1$1.text.medium;
|
|
10786
|
+
return colorVariables$1$1$1.text.medium;
|
|
9471
10787
|
case 'light':
|
|
9472
|
-
return colorVariables$1$1.text.light;
|
|
10788
|
+
return colorVariables$1$1$1.text.light;
|
|
9473
10789
|
case 'white':
|
|
9474
|
-
return colorVariables$1$1.text.white;
|
|
10790
|
+
return colorVariables$1$1$1.text.white;
|
|
9475
10791
|
case 'warning':
|
|
9476
|
-
return colorVariables$1$1["default"].warning;
|
|
10792
|
+
return colorVariables$1$1$1["default"].warning;
|
|
9477
10793
|
case 'info':
|
|
9478
|
-
return colorVariables$1$1["default"].info;
|
|
10794
|
+
return colorVariables$1$1$1["default"].info;
|
|
9479
10795
|
case 'success':
|
|
9480
|
-
return colorVariables$1$1["default"].success;
|
|
10796
|
+
return colorVariables$1$1$1["default"].success;
|
|
9481
10797
|
case 'error':
|
|
9482
|
-
return colorVariables$1$1["default"].error;
|
|
10798
|
+
return colorVariables$1$1$1["default"].error;
|
|
9483
10799
|
default:
|
|
9484
10800
|
return $color;
|
|
9485
10801
|
}
|
|
9486
|
-
}, colorVariables$1$1.text.light);
|
|
9487
|
-
var InputWrapper$
|
|
9488
|
-
var IconWrapper$
|
|
9489
|
-
var $disabled =
|
|
10802
|
+
}, colorVariables$1$1$1.text.light);
|
|
10803
|
+
var InputWrapper$2 = styled__default.div(_templateObject4$c || (_templateObject4$c = _taggedTemplateLiteralLoose$1$1(["\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n"])));
|
|
10804
|
+
var IconWrapper$3 = styled__default.div(_templateObject5$a || (_templateObject5$a = _taggedTemplateLiteralLoose$1$1(["\n position: absolute;\n right: 12px;\n cursor: pointer;\n\n > div {\n cursor: ", ";\n }\n"])), function (_ref10) {
|
|
10805
|
+
var $disabled = _ref10.$disabled;
|
|
9490
10806
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
9491
10807
|
});
|
|
9492
|
-
var Asterisk$
|
|
9493
|
-
var _templateObject$
|
|
9494
|
-
var Container$
|
|
10808
|
+
var Asterisk$2 = styled__default.span(_templateObject6$8 || (_templateObject6$8 = _taggedTemplateLiteralLoose$1$1(["\n color: ", ";\n font-size: 10px;\n height: fit-content;\n position: absolute;\n top: -2px;\n right: -8px;\n"])), colorVariables$1$1$1["default"].error);
|
|
10809
|
+
var _templateObject$q, _templateObject2$l, _templateObject3$g;
|
|
10810
|
+
var Container$7 = styled__default.div(_templateObject$q || (_templateObject$q = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n padding: ", ";\n"])), function (_ref) {
|
|
9495
10811
|
var $padding = _ref.$padding;
|
|
9496
10812
|
return $padding;
|
|
9497
10813
|
});
|
|
9498
|
-
var Label$
|
|
10814
|
+
var Label$3 = styled__default.label(_templateObject2$l || (_templateObject2$l = _taggedTemplateLiteralLoose$1$1(["\n cursor: auto;\n font-weight: 500;\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref2) {
|
|
9499
10815
|
var $size = _ref2.$size;
|
|
9500
10816
|
switch ($size) {
|
|
9501
10817
|
case 'small':
|
|
@@ -9511,7 +10827,7 @@ var Label$1 = styled__default.label(_templateObject2$c || (_templateObject2$c =
|
|
|
9511
10827
|
var $titlecolor = _ref3.$titlecolor;
|
|
9512
10828
|
return $titlecolor || colorVariables$1$1.text.dark;
|
|
9513
10829
|
});
|
|
9514
|
-
var TextAreaComponent = styled__default.textarea(_templateObject3$
|
|
10830
|
+
var TextAreaComponent$1 = styled__default.textarea(_templateObject3$g || (_templateObject3$g = _taggedTemplateLiteralLoose$1$1(["\n width: 100%;\n border: 1px solid ", ";\n border-radius: 8px;\n cursor: ", ";\n background: ", ";\n transition: all 0.3s ease;\n color: ", ";\n resize: none;\n height: 100%;\n \n ", "\n\n &:focus {\n border-color: ", ";\n }\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-family: NotoSans, sans-serif;\n }\n"])), colorVariables$1$1.border.light, function (_ref4) {
|
|
9515
10831
|
var $disabled = _ref4.$disabled;
|
|
9516
10832
|
return $disabled ? 'not-allowed' : 'auto';
|
|
9517
10833
|
}, function (_ref5) {
|
|
@@ -9537,18 +10853,18 @@ var TextAreaComponent = styled__default.textarea(_templateObject3$8 || (_templat
|
|
|
9537
10853
|
var $color = _ref8.$color;
|
|
9538
10854
|
return $color || colorVariables$1$1.text.dark;
|
|
9539
10855
|
}, colorVariables$1$1.text.light);
|
|
9540
|
-
var _templateObject$
|
|
9541
|
-
var OptionContainer$
|
|
9542
|
-
var OptionItem$
|
|
10856
|
+
var _templateObject$r, _templateObject2$m, _templateObject3$h, _templateObject4$d, _templateObject5$b, _templateObject6$9, _templateObject7$4;
|
|
10857
|
+
var OptionContainer$2 = styled__default.div(_templateObject$r || (_templateObject$r = _taggedTemplateLiteralLoose$1$1(["\n z-index: 2;\n border-radius: 8px;\n display: flex;\n flex-direction: column;\n position: absolute;\n padding: 4px;\n top: 40px;\n left: 0px;\n background: ", ";\n max-width: 192px;\n min-width: 192px;\n height: auto;\n max-height: 175px;\n"])), colorVariables$1$1.text.white);
|
|
10858
|
+
var OptionItem$2 = styled__default.div(_templateObject2$m || (_templateObject2$m = _taggedTemplateLiteralLoose$1$1(["\n color: ", ";\n background-color: ", ";\n border-radius: 8px;\n\n &:hover {\n background-color: ", ";\n color: ", ";\n cursor: pointer;\n }\n"])), function (_ref) {
|
|
9543
10859
|
var $optionSelected = _ref.$optionSelected;
|
|
9544
10860
|
return $optionSelected ? colorVariables$1$1.text.white : colorVariables$1$1.text.medium;
|
|
9545
10861
|
}, function (_ref2) {
|
|
9546
10862
|
var $optionSelected = _ref2.$optionSelected;
|
|
9547
10863
|
return $optionSelected ? colorVariables$1$1["default"].primary : colorVariables$1$1.text.white;
|
|
9548
10864
|
}, colorVariables$1$1.hover.primary, colorVariables$1$1.text.white);
|
|
9549
|
-
var TotalOptionsHeader = styled__default.div(_templateObject3$
|
|
9550
|
-
var OptionLabel$
|
|
9551
|
-
var SearchContainer$
|
|
10865
|
+
var TotalOptionsHeader$1 = styled__default.div(_templateObject3$h || (_templateObject3$h = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n align-items: center;\n z-index: 2;\n background: ", ";\n color: ", ";\n height: max-content;\n padding: 8px 4px;\n gap: 4px;\n border-bottom: 1px solid ", ";\n font-size:12px;\n"])), colorVariables$1$1.text.white, colorVariables$1$1.text.light, colorVariables$1$1.text.light);
|
|
10866
|
+
var OptionLabel$2 = styled__default.label(_templateObject4$d || (_templateObject4$d = _taggedTemplateLiteralLoose$1$1(["\n cursor: pointer;\n height: max-content;\n gap: 8px;\n padding: 8px 12px;\n word-break: break-word;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n font-family: NotoSans;\n font-weight: 500;\n font-size: 14px;\n line-height: 14px;\n"])));
|
|
10867
|
+
var SearchContainer$4 = styled__default.div(_templateObject5$b || (_templateObject5$b = _taggedTemplateLiteralLoose$1$1(["\n width: 100%;\n height: auto;\n background: ", ";\n border: ", ";\n border-radius: ", ";\n padding: 6.5px 8px;\n display: flex;\n align-items: center;\n gap: 6px;\n"])), function (_ref3) {
|
|
9552
10868
|
var $background = _ref3.$background;
|
|
9553
10869
|
switch ($background) {
|
|
9554
10870
|
case 'dark':
|
|
@@ -9577,7 +10893,7 @@ var SearchContainer$3$1$1 = styled__default.div(_templateObject5$6 || (_template
|
|
|
9577
10893
|
var $borderRadius = _ref5.$borderRadius;
|
|
9578
10894
|
return $borderRadius || '8px';
|
|
9579
10895
|
});
|
|
9580
|
-
var SearchBar$
|
|
10896
|
+
var SearchBar$4 = styled__default.input(_templateObject6$9 || (_templateObject6$9 = _taggedTemplateLiteralLoose$1$1(["\n border: none;\n outline: none;\n width: 100%;\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n font-size: 14px;\n line-height: 100%;\n background: ", ";\n color: ", ";\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-size: 14px;\n }\n"])), colorVariables$1$1["default"].tertiary, function (_ref6) {
|
|
9581
10897
|
var $inputColor = _ref6.$inputColor;
|
|
9582
10898
|
switch ($inputColor) {
|
|
9583
10899
|
case 'dark':
|
|
@@ -9622,32 +10938,32 @@ var SearchBar$3$1$1 = styled__default.input(_templateObject6$6 || (_templateObje
|
|
|
9622
10938
|
return $placeholderColor;
|
|
9623
10939
|
}
|
|
9624
10940
|
});
|
|
9625
|
-
var OptionsWrapper$
|
|
9626
|
-
var _templateObject$
|
|
9627
|
-
var spin$
|
|
9628
|
-
var getDotPosition = function getDotPosition(index, size) {
|
|
10941
|
+
var OptionsWrapper$2 = styled__default.div(_templateObject7$4 || (_templateObject7$4 = _taggedTemplateLiteralLoose$1$1(["\n padding: 4px 0px;\n height: 100%;\n overflow-y: auto;\n scrollbar-width: thin;\n background: ", "\n"])), colorVariables$1$1.text.white);
|
|
10942
|
+
var _templateObject$s, _templateObject2$n, _templateObject3$i, _templateObject4$e;
|
|
10943
|
+
var spin$3 = styled.keyframes(_templateObject$s || (_templateObject$s = _taggedTemplateLiteralLoose$1$1(["\n 0% { opacity: 1; }\n 100% { opacity: 0.3; }\n"])));
|
|
10944
|
+
var getDotPosition$1 = function getDotPosition(index, size) {
|
|
9629
10945
|
var angle = index * 360 / 8;
|
|
9630
10946
|
var radius = size / 2.5;
|
|
9631
10947
|
var x = radius * Math.cos(angle * Math.PI / 180);
|
|
9632
10948
|
var y = radius * Math.sin(angle * Math.PI / 180);
|
|
9633
10949
|
return "translate(" + x + "px, " + y + "px)";
|
|
9634
10950
|
};
|
|
9635
|
-
var SpinnerContainer = styled__default.div(_templateObject2$
|
|
10951
|
+
var SpinnerContainer$1 = styled__default.div(_templateObject2$n || (_templateObject2$n = _taggedTemplateLiteralLoose$1$1(["\n position: relative;\n width: ", "px;\n height: ", "px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (_ref) {
|
|
9636
10952
|
var $size = _ref.$size;
|
|
9637
10953
|
return $size;
|
|
9638
10954
|
}, function (_ref2) {
|
|
9639
10955
|
var $size = _ref2.$size;
|
|
9640
10956
|
return $size;
|
|
9641
10957
|
});
|
|
9642
|
-
var Dot = styled__default.div.attrs(function (_ref3) {
|
|
10958
|
+
var Dot$1 = styled__default.div.attrs(function (_ref3) {
|
|
9643
10959
|
var $index = _ref3.$index,
|
|
9644
10960
|
$size = _ref3.$size;
|
|
9645
10961
|
return {
|
|
9646
10962
|
style: {
|
|
9647
|
-
transform: getDotPosition($index, $size)
|
|
10963
|
+
transform: getDotPosition$1($index, $size)
|
|
9648
10964
|
}
|
|
9649
10965
|
};
|
|
9650
|
-
})(_templateObject3$
|
|
10966
|
+
})(_templateObject3$i || (_templateObject3$i = _taggedTemplateLiteralLoose$1$1(["\n position: absolute;\n width: ", "px;\n height: ", "px;\n background-color: ", ";\n border-radius: 50%;\n animation: ", " ", "s linear infinite;\n animation-delay: ", "s;\n"])), function (_ref4) {
|
|
9651
10967
|
var $dotSize = _ref4.$dotSize;
|
|
9652
10968
|
return $dotSize;
|
|
9653
10969
|
}, function (_ref5) {
|
|
@@ -9656,7 +10972,7 @@ var Dot = styled__default.div.attrs(function (_ref3) {
|
|
|
9656
10972
|
}, function (_ref6) {
|
|
9657
10973
|
var $color = _ref6.$color;
|
|
9658
10974
|
return $color;
|
|
9659
|
-
}, spin$
|
|
10975
|
+
}, spin$3, function (_ref7) {
|
|
9660
10976
|
var $speed = _ref7.$speed;
|
|
9661
10977
|
return $speed;
|
|
9662
10978
|
}, function (_ref8) {
|
|
@@ -9664,10 +10980,10 @@ var Dot = styled__default.div.attrs(function (_ref3) {
|
|
|
9664
10980
|
$speed = _ref8.$speed;
|
|
9665
10981
|
return $index * $speed / 8;
|
|
9666
10982
|
});
|
|
9667
|
-
var SpinnerWrapper = styled__default.div(_templateObject4$
|
|
9668
|
-
var _templateObject$
|
|
9669
|
-
var spin$
|
|
9670
|
-
var Spinner$
|
|
10983
|
+
var SpinnerWrapper$1 = styled__default.div(_templateObject4$e || (_templateObject4$e = _taggedTemplateLiteralLoose$1$1(["\n display: inline-flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: max-content;\n"])));
|
|
10984
|
+
var _templateObject$t, _templateObject2$o;
|
|
10985
|
+
var spin$4 = styled.keyframes(_templateObject$t || (_templateObject$t = _taggedTemplateLiteralLoose$1$1(["\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
10986
|
+
var Spinner$2 = styled__default.div(_templateObject2$o || (_templateObject2$o = _taggedTemplateLiteralLoose$1$1(["\n width: ", "px;\n height: ", "px;\n border: 5px solid #ddd;\n border-top-color: ", ";\n border-radius: 50%;\n animation: ", " 1s linear infinite;\n"])), function (_ref) {
|
|
9671
10987
|
var $size = _ref.$size;
|
|
9672
10988
|
return $size;
|
|
9673
10989
|
}, function (_ref2) {
|
|
@@ -9676,25 +10992,25 @@ var Spinner$1$1$1 = styled__default.div(_templateObject2$f || (_templateObject2$
|
|
|
9676
10992
|
}, function (_ref3) {
|
|
9677
10993
|
var $color = _ref3.$color;
|
|
9678
10994
|
return $color;
|
|
9679
|
-
}, spin$
|
|
9680
|
-
var _templateObject$
|
|
9681
|
-
var PageInput = styled__default.input(_templateObject$
|
|
9682
|
-
var _templateObject$
|
|
9683
|
-
var SidebarContainer = styled__default.div(_templateObject$
|
|
10995
|
+
}, spin$4);
|
|
10996
|
+
var _templateObject$u;
|
|
10997
|
+
var PageInput$1 = styled__default.input(_templateObject$u || (_templateObject$u = _taggedTemplateLiteralLoose$1$1(["\n width: 40px;\n height: 32px;\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: 8px;\n padding: 4px;\n color: ", ";\n text-align: center;\n &::-webkit-outer-spin-button,\n &::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n"])), colorVariables$1$1.accent.extraLight, colorVariables$1$1.border.light, colorVariables$1$1.text.dark);
|
|
10998
|
+
var _templateObject$v, _templateObject2$p, _templateObject3$j, _templateObject4$f, _templateObject5$c, _templateObject6$a;
|
|
10999
|
+
var SidebarContainer$1 = styled__default.div(_templateObject$v || (_templateObject$v = _taggedTemplateLiteralLoose$1$1(["\n width: ", ";\n height: 100vh;\n background: ", "; \n transition: width 0.3s ease-in-out;\n display: flex;\n flex-direction: column;\n align-items: start;\n padding: 20px;\n position: fixed;\n left: 0;\n top: 0;\n overflow: hidden;\n z-index: 10;\n justify-content: space-between;\n"])), function (_ref) {
|
|
9684
11000
|
var $isExpanded = _ref.$isExpanded;
|
|
9685
11001
|
return $isExpanded ? '225px' : '68px';
|
|
9686
11002
|
}, function (_ref2) {
|
|
9687
11003
|
var $background = _ref2.$background;
|
|
9688
11004
|
return $background ? $background : colorVariables$1$1.accent.softBlue;
|
|
9689
11005
|
});
|
|
9690
|
-
var SidebarItem = styled__default(reactRouterDom.NavLink)(_templateObject2$
|
|
9691
|
-
var ContentWrapper = styled__default.div(_templateObject3$
|
|
9692
|
-
var IconWrapper$
|
|
11006
|
+
var SidebarItem$1 = styled__default(reactRouterDom.NavLink)(_templateObject2$p || (_templateObject2$p = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n align-items: center;\n height: 28px;\n width: 100%;\n gap: 10px;\n cursor: pointer;\n border-radius: 4px;\n color: ", ";\n transition: background 0.3s;\n\n &:hover {\n background: ", ";\n }\n"])), colorVariables$1$1.text.medium, colorVariables$1$1["default"].primary);
|
|
11007
|
+
var ContentWrapper$1 = styled__default.div(_templateObject3$j || (_templateObject3$j = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n flex-direction: column;\n gap: 16px;\n width: 100%;\n"])));
|
|
11008
|
+
var IconWrapper$4 = styled__default.div(_templateObject4$f || (_templateObject4$f = _taggedTemplateLiteralLoose$1$1(["\n background: ", "; \n font-weight: bold;\n padding: 4px;\n border-radius: 4px;\n width: 28px;\n display: flex;\n align-items: center;\n justify-content: center;\n\n > div:first-child {\n cursor: pointer;\n }\n"])), function (_ref3) {
|
|
9693
11009
|
var $selected = _ref3.$selected;
|
|
9694
11010
|
return $selected ? colorVariables$1$1["default"].primary : colorVariables$1$1["default"].tertiary;
|
|
9695
11011
|
});
|
|
9696
|
-
var Logo = styled__default.div(_templateObject5$
|
|
9697
|
-
var TextContainer = styled__default.span(_templateObject6$
|
|
11012
|
+
var Logo$1 = styled__default.div(_templateObject5$c || (_templateObject5$c = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n width: 100%;\n min-width: max-content;\n height: 32px;\n align-items: center;\n justify-content: start;\n gap: 10px;\n"])));
|
|
11013
|
+
var TextContainer$1 = styled__default.span(_templateObject6$a || (_templateObject6$a = _taggedTemplateLiteralLoose$1$1(["\n width: 100%;\n white-space: nowrap;\n padding: ", ";\n font-size: ", ";\n font-weight: ", ";\n color: ", ";\n opacity: ", ";\n visibility: ", ";\n transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;\n"])), function (_ref4) {
|
|
9698
11014
|
var $padding = _ref4.$padding;
|
|
9699
11015
|
return $padding;
|
|
9700
11016
|
}, function (_ref5) {
|
|
@@ -9713,14 +11029,14 @@ var TextContainer = styled__default.span(_templateObject6$7 || (_templateObject6
|
|
|
9713
11029
|
var $isExpanded = _ref9.$isExpanded;
|
|
9714
11030
|
return $isExpanded ? 'visible' : 'hidden';
|
|
9715
11031
|
});
|
|
9716
|
-
var _templateObject$
|
|
9717
|
-
var ContainerWrapper = styled__default.div(_templateObject$
|
|
11032
|
+
var _templateObject$w, _templateObject2$q, _templateObject3$k, _templateObject4$g;
|
|
11033
|
+
var ContainerWrapper$1 = styled__default.div(_templateObject$w || (_templateObject$w = _taggedTemplateLiteralLoose$1$1(["\n height: auto;\n display: flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n min-height: ", ";\n word-break: break-word;\n"])), function (props) {
|
|
9718
11034
|
return props.$width || 'auto';
|
|
9719
11035
|
}, function (_ref) {
|
|
9720
11036
|
var $minHeight = _ref.$minHeight;
|
|
9721
11037
|
return $minHeight;
|
|
9722
11038
|
});
|
|
9723
|
-
var CellContainer = styled__default.div(_templateObject2$
|
|
11039
|
+
var CellContainer$1 = styled__default.div(_templateObject2$q || (_templateObject2$q = _taggedTemplateLiteralLoose$1$1(["\n align-items:", ";\n justify-content: center;\n width: ", ";\n min-width: ", ";\n display: flex;\n flex-direction: column;\n background: ", ";\n padding: ", ";\n gap: 4px;\n height: 100%\n"])), function (props) {
|
|
9724
11040
|
return props.$align;
|
|
9725
11041
|
}, function (props) {
|
|
9726
11042
|
return props.$width || 'auto';
|
|
@@ -9731,42 +11047,42 @@ var CellContainer = styled__default.div(_templateObject2$h || (_templateObject2$
|
|
|
9731
11047
|
}, function (props) {
|
|
9732
11048
|
return props.$padding;
|
|
9733
11049
|
});
|
|
9734
|
-
var MainText = styled__default.div(_templateObject3$
|
|
11050
|
+
var MainText$1 = styled__default.div(_templateObject3$k || (_templateObject3$k = _taggedTemplateLiteralLoose$1$1(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
9735
11051
|
return props.$mtc;
|
|
9736
11052
|
}, function (props) {
|
|
9737
11053
|
return props.$mtfs;
|
|
9738
11054
|
}, function (props) {
|
|
9739
11055
|
return props.$mtw;
|
|
9740
11056
|
});
|
|
9741
|
-
var SubText = styled__default.div(_templateObject4$
|
|
11057
|
+
var SubText$1 = styled__default.div(_templateObject4$g || (_templateObject4$g = _taggedTemplateLiteralLoose$1$1(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
9742
11058
|
return props.$stc;
|
|
9743
11059
|
}, function (props) {
|
|
9744
11060
|
return props.$stfs;
|
|
9745
11061
|
}, function (props) {
|
|
9746
11062
|
return props.$stw;
|
|
9747
11063
|
});
|
|
9748
|
-
var _templateObject$
|
|
9749
|
-
var TableRowContainer = styled.styled.div(_templateObject$
|
|
9750
|
-
var _templateObject$
|
|
9751
|
-
var TableContainer = styled__default.div(_templateObject$
|
|
9752
|
-
var TableHeader = styled__default.div(_templateObject2$
|
|
11064
|
+
var _templateObject$x;
|
|
11065
|
+
var TableRowContainer$1 = styled.styled.div(_templateObject$x || (_templateObject$x = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n flex-direction: row;\n background: inherit;\n align-items:center;\n padding: 16px 12px;\n width: 100%;\n"])));
|
|
11066
|
+
var _templateObject$y, _templateObject2$r, _templateObject3$l, _templateObject4$h, _templateObject5$d;
|
|
11067
|
+
var TableContainer$1 = styled__default.div(_templateObject$y || (_templateObject$y = _taggedTemplateLiteralLoose$1$1(["\n background: ", ";\n width: 100%;\n display: flex;\n overflow: hidden;\n border-radius: 8px;\n"])), colorVariables$1$1.brand.light);
|
|
11068
|
+
var TableHeader$1 = styled__default.div(_templateObject2$r || (_templateObject2$r = _taggedTemplateLiteralLoose$1$1(["\n font-size: 14px;\n display: flex;\n background: ", ";\n color: ", ";\n min-height: 36px;\n align-items: center;\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n padding: 9px 12px;\n"])), function (props) {
|
|
9753
11069
|
return props.$hbcolor || 'transparent';
|
|
9754
11070
|
}, function (props) {
|
|
9755
11071
|
return props.$tcolor || 'white';
|
|
9756
11072
|
});
|
|
9757
|
-
var TableContent = styled__default.div(_templateObject3$
|
|
9758
|
-
var TableData = styled__default.div(_templateObject4$
|
|
9759
|
-
var Divider = styled__default.div(_templateObject5$
|
|
9760
|
-
var _templateObject$
|
|
9761
|
-
var Container$
|
|
11073
|
+
var TableContent$1 = styled__default.div(_templateObject3$l || (_templateObject3$l = _taggedTemplateLiteralLoose$1$1(["\n width: 100%;\n svg {\n cursor: pointer;\n }\n"])));
|
|
11074
|
+
var TableData$1 = styled__default.div(_templateObject4$h || (_templateObject4$h = _taggedTemplateLiteralLoose$1$1(["\n overflow: auto;\n scrollbar-width: thin;\n height: 100%;\n max-height: calc(100% - 36px);\n"])));
|
|
11075
|
+
var Divider$1 = styled__default.div(_templateObject5$d || (_templateObject5$d = _taggedTemplateLiteralLoose$1$1(["\n height: 2px;\n background: ", ";\n"])), colorVariables$1$1.border.extraLight);
|
|
11076
|
+
var _templateObject$z, _templateObject2$s, _templateObject3$m, _templateObject4$i, _templateObject5$e;
|
|
11077
|
+
var Container$8 = styled__default.div(_templateObject$z || (_templateObject$z = _taggedTemplateLiteralLoose$1$1(["\n width: 100%;\n height: 100%; \n display: flex;\n flex-direction: column;\n overflow: hidden;\n gap: 24px;\n border: ", ";\n border-radius: 8px;\n"])), function (_ref) {
|
|
9762
11078
|
var $border = _ref.$border;
|
|
9763
11079
|
return $border;
|
|
9764
11080
|
});
|
|
9765
|
-
var FirstContainer = styled__default.div(_templateObject2$
|
|
11081
|
+
var FirstContainer$1 = styled__default.div(_templateObject2$s || (_templateObject2$s = _taggedTemplateLiteralLoose$1$1(["\n width: 100%;\n display: flex;\n font-family: NotoSans, sans-serif;\n font-size: 16px;\n gap: 24px;\n border-bottom: 1px solid ", ";\n padding: ", ";\n"])), colorVariables$1$1.border.light, function (_ref2) {
|
|
9766
11082
|
var $headerPadding = _ref2.$headerPadding;
|
|
9767
11083
|
return $headerPadding ? $headerPadding : '0px';
|
|
9768
11084
|
});
|
|
9769
|
-
var TabContainer = styled__default.div(_templateObject3$
|
|
11085
|
+
var TabContainer$1 = styled__default.div(_templateObject3$m || (_templateObject3$m = _taggedTemplateLiteralLoose$1$1(["\n width: auto;\n display: flex;\n align-items: center;\n cursor: ", ";\n opacity: ", ";\n gap: 8px;\n font-family: NotoSans, sans-serif;\n font-size: 14px;\n font-weight: 500;\n color: ", ";\n height: ", ";\n\n svg {\n cursor: ", ";\n }\n\n"])), function (_ref3) {
|
|
9770
11086
|
var $disabled = _ref3.$disabled;
|
|
9771
11087
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
9772
11088
|
}, function (_ref4) {
|
|
@@ -9779,21 +11095,21 @@ var TabContainer = styled__default.div(_templateObject3$e || (_templateObject3$e
|
|
|
9779
11095
|
var $disabled = _ref6.$disabled;
|
|
9780
11096
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
9781
11097
|
});
|
|
9782
|
-
var TabItemContainer = styled__default.div(_templateObject4$
|
|
11098
|
+
var TabItemContainer$1 = styled__default.div(_templateObject4$i || (_templateObject4$i = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n align-items: center;\n position: relative;\n gap: 8px;\n height: 100%;\n max-height: ", ";\n\n &:after {\n content: \"\";\n display: ", ";\n width: 100%;\n height: 3px;\n background: ", ";\n position: absolute;\n bottom: -1px;\n left: 0px;\n }\n"])), function (_ref7) {
|
|
9783
11099
|
var $headerHeight = _ref7.$headerHeight;
|
|
9784
11100
|
return $headerHeight ? $headerHeight : '34px';
|
|
9785
11101
|
}, function (props) {
|
|
9786
11102
|
return props.$active ? 'block' : 'none';
|
|
9787
11103
|
}, colorVariables$1$1["default"].primary);
|
|
9788
|
-
var DetailsFirstContainer = styled__default.div(_templateObject5$
|
|
11104
|
+
var DetailsFirstContainer$1 = styled__default.div(_templateObject5$e || (_templateObject5$e = _taggedTemplateLiteralLoose$1$1(["\n text-align: center;\n font-size: 14px;\n line-height: 18px;\n font-weight: 500;\n font-family: NotoSans, sans-serif;\n height: 100%;\n display: flex;\n align-items: center;\n color: ", ";\n"])), function (props) {
|
|
9789
11105
|
return props.$active ? colorVariables$1$1["default"].primary : colorVariables$1$1.text.medium;
|
|
9790
11106
|
});
|
|
9791
|
-
var _templateObject$
|
|
9792
|
-
var Container$
|
|
11107
|
+
var _templateObject$A, _templateObject2$t, _templateObject3$n, _templateObject4$j, _templateObject5$f, _templateObject6$b;
|
|
11108
|
+
var Container$9 = styled__default.div(_templateObject$A || (_templateObject$A = _taggedTemplateLiteralLoose$1(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n padding: ", ";\n"])), function (_ref) {
|
|
9793
11109
|
var $padding = _ref.$padding;
|
|
9794
11110
|
return $padding;
|
|
9795
11111
|
});
|
|
9796
|
-
var Label$
|
|
11112
|
+
var Label$4 = styled__default.label(_templateObject2$t || (_templateObject2$t = _taggedTemplateLiteralLoose$1(["\n cursor: auto;\n width: 100%;\n font-weight: 500;\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref2) {
|
|
9797
11113
|
var $size = _ref2.$size;
|
|
9798
11114
|
switch ($size) {
|
|
9799
11115
|
case 'small':
|
|
@@ -9828,7 +11144,7 @@ var Label$2 = styled__default.label(_templateObject2$k || (_templateObject2$k =
|
|
|
9828
11144
|
return $titlecolor;
|
|
9829
11145
|
}
|
|
9830
11146
|
});
|
|
9831
|
-
var Input$
|
|
11147
|
+
var Input$2 = styled__default.input(_templateObject3$n || (_templateObject3$n = _taggedTemplateLiteralLoose$1(["\n width: 100%;\n border: 1px solid ", ";\n border-radius: 8px;\n cursor: ", ";\n background: ", ";\n transition: all 0.3s ease;\n color: ", ";\n pointer-events: ", ";\n\n ", "\n\n &:focus {\n border: 1px solid\n ", ";\n }\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-family: NotoSans, sans-serif;\n }\n"])), colorVariables$1$1.border.light, function (_ref4) {
|
|
9832
11148
|
var $disabled = _ref4.$disabled;
|
|
9833
11149
|
return $disabled ? 'not-allowed' : 'auto';
|
|
9834
11150
|
}, function (_ref5) {
|
|
@@ -9876,18 +11192,18 @@ var Input$1 = styled__default.input(_templateObject3$f || (_templateObject3$f =
|
|
|
9876
11192
|
return $color;
|
|
9877
11193
|
}
|
|
9878
11194
|
}, colorVariables$1$1.text.light);
|
|
9879
|
-
var InputWrapper$
|
|
9880
|
-
var IconWrapper$
|
|
11195
|
+
var InputWrapper$3 = styled__default.div(_templateObject4$j || (_templateObject4$j = _taggedTemplateLiteralLoose$1(["\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n"])));
|
|
11196
|
+
var IconWrapper$5 = styled__default.div(_templateObject5$f || (_templateObject5$f = _taggedTemplateLiteralLoose$1(["\n position: absolute;\n right: 12px;\n cursor: pointer;\n\n > div {\n cursor: ", ";\n }\n"])), function (_ref10) {
|
|
9881
11197
|
var $disabled = _ref10.$disabled;
|
|
9882
11198
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
9883
11199
|
});
|
|
9884
|
-
var Asterisk$
|
|
9885
|
-
var _templateObject$
|
|
9886
|
-
var Container$
|
|
11200
|
+
var Asterisk$3 = styled__default.span(_templateObject6$b || (_templateObject6$b = _taggedTemplateLiteralLoose$1(["\n color: ", ";\n font-size: 10px;\n height: fit-content;\n position: absolute;\n top: -2px;\n right: -8px;\n"])), colorVariables$1$1["default"].error);
|
|
11201
|
+
var _templateObject$B, _templateObject2$u, _templateObject3$o;
|
|
11202
|
+
var Container$a = styled__default.div(_templateObject$B || (_templateObject$B = _taggedTemplateLiteralLoose$1(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n padding: ", ";\n"])), function (_ref) {
|
|
9887
11203
|
var $padding = _ref.$padding;
|
|
9888
11204
|
return $padding;
|
|
9889
11205
|
});
|
|
9890
|
-
var Label$
|
|
11206
|
+
var Label$5 = styled__default.label(_templateObject2$u || (_templateObject2$u = _taggedTemplateLiteralLoose$1(["\n cursor: auto;\n font-weight: 500;\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref2) {
|
|
9891
11207
|
var $size = _ref2.$size;
|
|
9892
11208
|
switch ($size) {
|
|
9893
11209
|
case 'small':
|
|
@@ -9903,7 +11219,7 @@ var Label$3 = styled__default.label(_templateObject2$l || (_templateObject2$l =
|
|
|
9903
11219
|
var $titlecolor = _ref3.$titlecolor;
|
|
9904
11220
|
return $titlecolor || colorVariables$1.text.dark;
|
|
9905
11221
|
});
|
|
9906
|
-
var TextAreaComponent$
|
|
11222
|
+
var TextAreaComponent$2 = styled__default.textarea(_templateObject3$o || (_templateObject3$o = _taggedTemplateLiteralLoose$1(["\n width: 100%;\n border: 1px solid ", ";\n border-radius: 8px;\n cursor: ", ";\n background: ", ";\n transition: all 0.3s ease;\n color: ", ";\n resize: none;\n height: 100%;\n \n ", "\n\n &:focus {\n border-color: ", ";\n }\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-family: NotoSans, sans-serif;\n }\n"])), colorVariables$1.border.light, function (_ref4) {
|
|
9907
11223
|
var $disabled = _ref4.$disabled;
|
|
9908
11224
|
return $disabled ? 'not-allowed' : 'auto';
|
|
9909
11225
|
}, function (_ref5) {
|
|
@@ -9929,18 +11245,18 @@ var TextAreaComponent$1 = styled__default.textarea(_templateObject3$g || (_templ
|
|
|
9929
11245
|
var $color = _ref8.$color;
|
|
9930
11246
|
return $color || colorVariables$1.text.dark;
|
|
9931
11247
|
}, colorVariables$1.text.light);
|
|
9932
|
-
var _templateObject$
|
|
9933
|
-
var OptionContainer$
|
|
9934
|
-
var OptionItem$
|
|
11248
|
+
var _templateObject$C, _templateObject2$v, _templateObject3$p, _templateObject4$k, _templateObject5$g, _templateObject6$c, _templateObject7$5;
|
|
11249
|
+
var OptionContainer$3 = styled__default.div(_templateObject$C || (_templateObject$C = _taggedTemplateLiteralLoose$1(["\n z-index: 2;\n border-radius: 8px;\n display: flex;\n flex-direction: column;\n position: absolute;\n padding: 4px;\n top: 40px;\n left: 0px;\n background: ", ";\n max-width: 192px;\n min-width: 192px;\n height: auto;\n max-height: 175px;\n"])), colorVariables$1.text.white);
|
|
11250
|
+
var OptionItem$3 = styled__default.div(_templateObject2$v || (_templateObject2$v = _taggedTemplateLiteralLoose$1(["\n color: ", ";\n background-color: ", ";\n border-radius: 8px;\n\n &:hover {\n background-color: ", ";\n color: ", ";\n cursor: pointer;\n }\n"])), function (_ref) {
|
|
9935
11251
|
var $optionSelected = _ref.$optionSelected;
|
|
9936
11252
|
return $optionSelected ? colorVariables$1.text.white : colorVariables$1.text.medium;
|
|
9937
11253
|
}, function (_ref2) {
|
|
9938
11254
|
var $optionSelected = _ref2.$optionSelected;
|
|
9939
11255
|
return $optionSelected ? colorVariables$1["default"].primary : colorVariables$1.text.white;
|
|
9940
11256
|
}, colorVariables$1.hover.primary, colorVariables$1.text.white);
|
|
9941
|
-
var TotalOptionsHeader$
|
|
9942
|
-
var OptionLabel$
|
|
9943
|
-
var SearchContainer$
|
|
11257
|
+
var TotalOptionsHeader$2 = styled__default.div(_templateObject3$p || (_templateObject3$p = _taggedTemplateLiteralLoose$1(["\n display: flex;\n align-items: center;\n z-index: 2;\n background: ", ";\n color: ", ";\n height: max-content;\n padding: 8px 4px;\n gap: 4px;\n border-bottom: 1px solid ", ";\n font-size:12px;\n"])), colorVariables$1.text.white, colorVariables$1.text.light, colorVariables$1.text.light);
|
|
11258
|
+
var OptionLabel$3 = styled__default.label(_templateObject4$k || (_templateObject4$k = _taggedTemplateLiteralLoose$1(["\n cursor: pointer;\n height: max-content;\n gap: 8px;\n padding: 8px 12px;\n word-break: break-word;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n font-family: NotoSans;\n font-weight: 500;\n font-size: 14px;\n line-height: 14px;\n"])));
|
|
11259
|
+
var SearchContainer$5 = styled__default.div(_templateObject5$g || (_templateObject5$g = _taggedTemplateLiteralLoose$1(["\n width: 100%;\n height: auto;\n background: ", ";\n border: ", ";\n border-radius: ", ";\n padding: 6.5px 8px;\n display: flex;\n align-items: center;\n gap: 6px;\n"])), function (_ref3) {
|
|
9944
11260
|
var $background = _ref3.$background;
|
|
9945
11261
|
switch ($background) {
|
|
9946
11262
|
case 'dark':
|
|
@@ -9969,7 +11285,7 @@ var SearchContainer$4 = styled__default.div(_templateObject5$b || (_templateObje
|
|
|
9969
11285
|
var $borderRadius = _ref5.$borderRadius;
|
|
9970
11286
|
return $borderRadius || '8px';
|
|
9971
11287
|
});
|
|
9972
|
-
var SearchBar$
|
|
11288
|
+
var SearchBar$5 = styled__default.input(_templateObject6$c || (_templateObject6$c = _taggedTemplateLiteralLoose$1(["\n border: none;\n outline: none;\n width: 100%;\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n font-size: 14px;\n line-height: 100%;\n background: ", ";\n color: ", ";\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-size: 14px;\n }\n"])), colorVariables$1["default"].tertiary, function (_ref6) {
|
|
9973
11289
|
var $inputColor = _ref6.$inputColor;
|
|
9974
11290
|
switch ($inputColor) {
|
|
9975
11291
|
case 'dark':
|
|
@@ -10014,32 +11330,32 @@ var SearchBar$4 = styled__default.input(_templateObject6$9 || (_templateObject6$
|
|
|
10014
11330
|
return $placeholderColor;
|
|
10015
11331
|
}
|
|
10016
11332
|
});
|
|
10017
|
-
var OptionsWrapper$
|
|
10018
|
-
var _templateObject$
|
|
10019
|
-
var spin$
|
|
10020
|
-
var getDotPosition$
|
|
11333
|
+
var OptionsWrapper$3 = styled__default.div(_templateObject7$5 || (_templateObject7$5 = _taggedTemplateLiteralLoose$1(["\n padding: 4px 0px;\n height: 100%;\n overflow-y: auto;\n scrollbar-width: thin;\n background: ", "\n"])), colorVariables$1.text.white);
|
|
11334
|
+
var _templateObject$D, _templateObject2$w, _templateObject3$q, _templateObject4$l;
|
|
11335
|
+
var spin$5 = styled.keyframes(_templateObject$D || (_templateObject$D = _taggedTemplateLiteralLoose$1(["\n 0% { opacity: 1; }\n 100% { opacity: 0.3; }\n"])));
|
|
11336
|
+
var getDotPosition$2 = function getDotPosition(index, size) {
|
|
10021
11337
|
var angle = index * 360 / 8;
|
|
10022
11338
|
var radius = size / 2.5;
|
|
10023
11339
|
var x = radius * Math.cos(angle * Math.PI / 180);
|
|
10024
11340
|
var y = radius * Math.sin(angle * Math.PI / 180);
|
|
10025
11341
|
return "translate(" + x + "px, " + y + "px)";
|
|
10026
11342
|
};
|
|
10027
|
-
var SpinnerContainer$
|
|
11343
|
+
var SpinnerContainer$2 = styled__default.div(_templateObject2$w || (_templateObject2$w = _taggedTemplateLiteralLoose$1(["\n position: relative;\n width: ", "px;\n height: ", "px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (_ref) {
|
|
10028
11344
|
var $size = _ref.$size;
|
|
10029
11345
|
return $size;
|
|
10030
11346
|
}, function (_ref2) {
|
|
10031
11347
|
var $size = _ref2.$size;
|
|
10032
11348
|
return $size;
|
|
10033
11349
|
});
|
|
10034
|
-
var Dot$
|
|
11350
|
+
var Dot$2 = styled__default.div.attrs(function (_ref3) {
|
|
10035
11351
|
var $index = _ref3.$index,
|
|
10036
11352
|
$size = _ref3.$size;
|
|
10037
11353
|
return {
|
|
10038
11354
|
style: {
|
|
10039
|
-
transform: getDotPosition$
|
|
11355
|
+
transform: getDotPosition$2($index, $size)
|
|
10040
11356
|
}
|
|
10041
11357
|
};
|
|
10042
|
-
})(_templateObject3$
|
|
11358
|
+
})(_templateObject3$q || (_templateObject3$q = _taggedTemplateLiteralLoose$1(["\n position: absolute;\n width: ", "px;\n height: ", "px;\n background-color: ", ";\n border-radius: 50%;\n animation: ", " ", "s linear infinite;\n animation-delay: ", "s;\n"])), function (_ref4) {
|
|
10043
11359
|
var $dotSize = _ref4.$dotSize;
|
|
10044
11360
|
return $dotSize;
|
|
10045
11361
|
}, function (_ref5) {
|
|
@@ -10048,7 +11364,7 @@ var Dot$1 = styled__default.div.attrs(function (_ref3) {
|
|
|
10048
11364
|
}, function (_ref6) {
|
|
10049
11365
|
var $color = _ref6.$color;
|
|
10050
11366
|
return $color;
|
|
10051
|
-
}, spin$
|
|
11367
|
+
}, spin$5, function (_ref7) {
|
|
10052
11368
|
var $speed = _ref7.$speed;
|
|
10053
11369
|
return $speed;
|
|
10054
11370
|
}, function (_ref8) {
|
|
@@ -10056,10 +11372,10 @@ var Dot$1 = styled__default.div.attrs(function (_ref3) {
|
|
|
10056
11372
|
$speed = _ref8.$speed;
|
|
10057
11373
|
return $index * $speed / 8;
|
|
10058
11374
|
});
|
|
10059
|
-
var SpinnerWrapper$
|
|
10060
|
-
var _templateObject$
|
|
10061
|
-
var spin$
|
|
10062
|
-
var Spinner$
|
|
11375
|
+
var SpinnerWrapper$2 = styled__default.div(_templateObject4$l || (_templateObject4$l = _taggedTemplateLiteralLoose$1(["\n display: inline-flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: max-content;\n"])));
|
|
11376
|
+
var _templateObject$E, _templateObject2$x;
|
|
11377
|
+
var spin$6 = styled.keyframes(_templateObject$E || (_templateObject$E = _taggedTemplateLiteralLoose$1(["\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
11378
|
+
var Spinner$3 = styled__default.div(_templateObject2$x || (_templateObject2$x = _taggedTemplateLiteralLoose$1(["\n width: ", "px;\n height: ", "px;\n border: 5px solid #ddd;\n border-top-color: ", ";\n border-radius: 50%;\n animation: ", " 1s linear infinite;\n"])), function (_ref) {
|
|
10063
11379
|
var $size = _ref.$size;
|
|
10064
11380
|
return $size;
|
|
10065
11381
|
}, function (_ref2) {
|
|
@@ -10068,25 +11384,25 @@ var Spinner$2 = styled__default.div(_templateObject2$o || (_templateObject2$o =
|
|
|
10068
11384
|
}, function (_ref3) {
|
|
10069
11385
|
var $color = _ref3.$color;
|
|
10070
11386
|
return $color;
|
|
10071
|
-
}, spin$
|
|
10072
|
-
var _templateObject$
|
|
10073
|
-
var PageInput$
|
|
10074
|
-
var _templateObject$
|
|
10075
|
-
var SidebarContainer$
|
|
11387
|
+
}, spin$6);
|
|
11388
|
+
var _templateObject$F;
|
|
11389
|
+
var PageInput$2 = styled__default.input(_templateObject$F || (_templateObject$F = _taggedTemplateLiteralLoose$1(["\n width: 40px;\n height: 32px;\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: 8px;\n padding: 4px;\n color: ", ";\n text-align: center;\n &::-webkit-outer-spin-button,\n &::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n"])), colorVariables$1.accent.extraLight, colorVariables$1.border.light, colorVariables$1.text.dark);
|
|
11390
|
+
var _templateObject$G, _templateObject2$y, _templateObject3$r, _templateObject4$m, _templateObject5$h, _templateObject6$d;
|
|
11391
|
+
var SidebarContainer$2 = styled__default.div(_templateObject$G || (_templateObject$G = _taggedTemplateLiteralLoose$1(["\n width: ", ";\n height: 100vh;\n background: ", "; \n transition: width 0.3s ease-in-out;\n display: flex;\n flex-direction: column;\n align-items: start;\n padding: 20px;\n position: fixed;\n left: 0;\n top: 0;\n overflow: hidden;\n z-index: 10;\n justify-content: space-between;\n"])), function (_ref) {
|
|
10076
11392
|
var $isExpanded = _ref.$isExpanded;
|
|
10077
11393
|
return $isExpanded ? '225px' : '68px';
|
|
10078
11394
|
}, function (_ref2) {
|
|
10079
11395
|
var $background = _ref2.$background;
|
|
10080
11396
|
return $background ? $background : colorVariables$1.accent.softBlue;
|
|
10081
11397
|
});
|
|
10082
|
-
var SidebarItem$
|
|
10083
|
-
var ContentWrapper$
|
|
10084
|
-
var IconWrapper$
|
|
11398
|
+
var SidebarItem$2 = styled__default(reactRouterDom.NavLink)(_templateObject2$y || (_templateObject2$y = _taggedTemplateLiteralLoose$1(["\n display: flex;\n align-items: center;\n height: 28px;\n width: 100%;\n gap: 10px;\n cursor: pointer;\n border-radius: 4px;\n color: ", ";\n transition: background 0.3s;\n\n &:hover {\n background: ", ";\n }\n"])), colorVariables$1.text.medium, colorVariables$1["default"].primary);
|
|
11399
|
+
var ContentWrapper$2 = styled__default.div(_templateObject3$r || (_templateObject3$r = _taggedTemplateLiteralLoose$1(["\n display: flex;\n flex-direction: column;\n gap: 16px;\n width: 100%;\n"])));
|
|
11400
|
+
var IconWrapper$6 = styled__default.div(_templateObject4$m || (_templateObject4$m = _taggedTemplateLiteralLoose$1(["\n background: ", "; \n font-weight: bold;\n padding: 4px;\n border-radius: 4px;\n width: 28px;\n display: flex;\n align-items: center;\n justify-content: center;\n\n > div:first-child {\n cursor: pointer;\n }\n"])), function (_ref3) {
|
|
10085
11401
|
var $selected = _ref3.$selected;
|
|
10086
11402
|
return $selected ? colorVariables$1["default"].primary : colorVariables$1["default"].tertiary;
|
|
10087
11403
|
});
|
|
10088
|
-
var Logo$
|
|
10089
|
-
var TextContainer$
|
|
11404
|
+
var Logo$2 = styled__default.div(_templateObject5$h || (_templateObject5$h = _taggedTemplateLiteralLoose$1(["\n display: flex;\n width: 100%;\n min-width: max-content;\n height: 32px;\n align-items: center;\n justify-content: start;\n gap: 10px;\n"])));
|
|
11405
|
+
var TextContainer$2 = styled__default.span(_templateObject6$d || (_templateObject6$d = _taggedTemplateLiteralLoose$1(["\n width: 100%;\n white-space: nowrap;\n padding: ", ";\n font-size: ", ";\n font-weight: ", ";\n color: ", ";\n opacity: ", ";\n visibility: ", ";\n transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;\n"])), function (_ref4) {
|
|
10090
11406
|
var $padding = _ref4.$padding;
|
|
10091
11407
|
return $padding;
|
|
10092
11408
|
}, function (_ref5) {
|
|
@@ -10105,14 +11421,14 @@ var TextContainer$1 = styled__default.span(_templateObject6$a || (_templateObjec
|
|
|
10105
11421
|
var $isExpanded = _ref9.$isExpanded;
|
|
10106
11422
|
return $isExpanded ? 'visible' : 'hidden';
|
|
10107
11423
|
});
|
|
10108
|
-
var _templateObject$
|
|
10109
|
-
var ContainerWrapper$
|
|
11424
|
+
var _templateObject$H, _templateObject2$z, _templateObject3$s, _templateObject4$n;
|
|
11425
|
+
var ContainerWrapper$2 = styled__default.div(_templateObject$H || (_templateObject$H = _taggedTemplateLiteralLoose$1(["\n height: auto;\n display: flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n min-height: ", ";\n word-break: break-word;\n"])), function (props) {
|
|
10110
11426
|
return props.$width || 'auto';
|
|
10111
11427
|
}, function (_ref) {
|
|
10112
11428
|
var $minHeight = _ref.$minHeight;
|
|
10113
11429
|
return $minHeight;
|
|
10114
11430
|
});
|
|
10115
|
-
var CellContainer$
|
|
11431
|
+
var CellContainer$2 = styled__default.div(_templateObject2$z || (_templateObject2$z = _taggedTemplateLiteralLoose$1(["\n align-items:", ";\n justify-content: center;\n width: ", ";\n min-width: ", ";\n display: flex;\n flex-direction: column;\n background: ", ";\n padding: ", ";\n gap: 4px;\n height: 100%\n"])), function (props) {
|
|
10116
11432
|
return props.$align;
|
|
10117
11433
|
}, function (props) {
|
|
10118
11434
|
return props.$width || 'auto';
|
|
@@ -10123,42 +11439,42 @@ var CellContainer$1 = styled__default.div(_templateObject2$q || (_templateObject
|
|
|
10123
11439
|
}, function (props) {
|
|
10124
11440
|
return props.$padding;
|
|
10125
11441
|
});
|
|
10126
|
-
var MainText$
|
|
11442
|
+
var MainText$2 = styled__default.div(_templateObject3$s || (_templateObject3$s = _taggedTemplateLiteralLoose$1(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
10127
11443
|
return props.$mtc;
|
|
10128
11444
|
}, function (props) {
|
|
10129
11445
|
return props.$mtfs;
|
|
10130
11446
|
}, function (props) {
|
|
10131
11447
|
return props.$mtw;
|
|
10132
11448
|
});
|
|
10133
|
-
var SubText$
|
|
11449
|
+
var SubText$2 = styled__default.div(_templateObject4$n || (_templateObject4$n = _taggedTemplateLiteralLoose$1(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
10134
11450
|
return props.$stc;
|
|
10135
11451
|
}, function (props) {
|
|
10136
11452
|
return props.$stfs;
|
|
10137
11453
|
}, function (props) {
|
|
10138
11454
|
return props.$stw;
|
|
10139
11455
|
});
|
|
10140
|
-
var _templateObject$
|
|
10141
|
-
var TableRowContainer$
|
|
10142
|
-
var _templateObject$
|
|
10143
|
-
var TableContainer$
|
|
10144
|
-
var TableHeader$
|
|
11456
|
+
var _templateObject$I;
|
|
11457
|
+
var TableRowContainer$2 = styled.styled.div(_templateObject$I || (_templateObject$I = _taggedTemplateLiteralLoose$1(["\n display: flex;\n flex-direction: row;\n background: inherit;\n align-items:center;\n padding: 16px 12px;\n width: 100%;\n"])));
|
|
11458
|
+
var _templateObject$J, _templateObject2$A, _templateObject3$t, _templateObject4$o, _templateObject5$i;
|
|
11459
|
+
var TableContainer$2 = styled__default.div(_templateObject$J || (_templateObject$J = _taggedTemplateLiteralLoose$1(["\n background: ", ";\n width: 100%;\n display: flex;\n overflow: hidden;\n border-radius: 8px;\n"])), colorVariables$1.brand.light);
|
|
11460
|
+
var TableHeader$2 = styled__default.div(_templateObject2$A || (_templateObject2$A = _taggedTemplateLiteralLoose$1(["\n font-size: 14px;\n display: flex;\n background: ", ";\n color: ", ";\n min-height: 36px;\n align-items: center;\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n padding: 9px 12px;\n"])), function (props) {
|
|
10145
11461
|
return props.$hbcolor || 'transparent';
|
|
10146
11462
|
}, function (props) {
|
|
10147
11463
|
return props.$tcolor || 'white';
|
|
10148
11464
|
});
|
|
10149
|
-
var TableContent$
|
|
10150
|
-
var TableData$
|
|
10151
|
-
var Divider$
|
|
10152
|
-
var _templateObject$
|
|
10153
|
-
var Container$
|
|
11465
|
+
var TableContent$2 = styled__default.div(_templateObject3$t || (_templateObject3$t = _taggedTemplateLiteralLoose$1(["\n width: 100%;\n svg {\n cursor: pointer;\n }\n"])));
|
|
11466
|
+
var TableData$2 = styled__default.div(_templateObject4$o || (_templateObject4$o = _taggedTemplateLiteralLoose$1(["\n overflow: auto;\n scrollbar-width: thin;\n height: 100%;\n max-height: calc(100% - 36px);\n"])));
|
|
11467
|
+
var Divider$2 = styled__default.div(_templateObject5$i || (_templateObject5$i = _taggedTemplateLiteralLoose$1(["\n height: 2px;\n background: ", ";\n"])), colorVariables$1.border.extraLight);
|
|
11468
|
+
var _templateObject$K, _templateObject2$B, _templateObject3$u, _templateObject4$p, _templateObject5$j;
|
|
11469
|
+
var Container$b = styled__default.div(_templateObject$K || (_templateObject$K = _taggedTemplateLiteralLoose$1(["\n width: 100%;\n height: 100%; \n display: flex;\n flex-direction: column;\n overflow: hidden;\n gap: 24px;\n border: ", ";\n border-radius: 8px;\n"])), function (_ref) {
|
|
10154
11470
|
var $border = _ref.$border;
|
|
10155
11471
|
return $border;
|
|
10156
11472
|
});
|
|
10157
|
-
var FirstContainer$
|
|
11473
|
+
var FirstContainer$2 = styled__default.div(_templateObject2$B || (_templateObject2$B = _taggedTemplateLiteralLoose$1(["\n width: 100%;\n display: flex;\n font-family: NotoSans, sans-serif;\n font-size: 16px;\n gap: 24px;\n border-bottom: 1px solid ", ";\n padding: ", ";\n"])), colorVariables$1.border.light, function (_ref2) {
|
|
10158
11474
|
var $headerPadding = _ref2.$headerPadding;
|
|
10159
11475
|
return $headerPadding ? $headerPadding : '0px';
|
|
10160
11476
|
});
|
|
10161
|
-
var TabContainer$
|
|
11477
|
+
var TabContainer$2 = styled__default.div(_templateObject3$u || (_templateObject3$u = _taggedTemplateLiteralLoose$1(["\n width: auto;\n display: flex;\n align-items: center;\n cursor: ", ";\n opacity: ", ";\n gap: 8px;\n font-family: NotoSans, sans-serif;\n font-size: 14px;\n font-weight: 500;\n color: ", ";\n height: ", ";\n\n svg {\n cursor: ", ";\n }\n\n"])), function (_ref3) {
|
|
10162
11478
|
var $disabled = _ref3.$disabled;
|
|
10163
11479
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
10164
11480
|
}, function (_ref4) {
|
|
@@ -10171,23 +11487,19 @@ var TabContainer$1 = styled__default.div(_templateObject3$m || (_templateObject3
|
|
|
10171
11487
|
var $disabled = _ref6.$disabled;
|
|
10172
11488
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
10173
11489
|
});
|
|
10174
|
-
var TabItemContainer$
|
|
11490
|
+
var TabItemContainer$2 = styled__default.div(_templateObject4$p || (_templateObject4$p = _taggedTemplateLiteralLoose$1(["\n display: flex;\n align-items: center;\n position: relative;\n gap: 8px;\n height: 100%;\n max-height: ", ";\n\n &:after {\n content: \"\";\n display: ", ";\n width: 100%;\n height: 3px;\n background: ", ";\n position: absolute;\n bottom: -1px;\n left: 0px;\n }\n"])), function (_ref7) {
|
|
10175
11491
|
var $headerHeight = _ref7.$headerHeight;
|
|
10176
11492
|
return $headerHeight ? $headerHeight : '34px';
|
|
10177
11493
|
}, function (props) {
|
|
10178
11494
|
return props.$active ? 'block' : 'none';
|
|
10179
11495
|
}, colorVariables$1["default"].primary);
|
|
10180
|
-
var DetailsFirstContainer$
|
|
11496
|
+
var DetailsFirstContainer$2 = styled__default.div(_templateObject5$j || (_templateObject5$j = _taggedTemplateLiteralLoose$1(["\n text-align: center;\n font-size: 14px;\n line-height: 18px;\n font-weight: 500;\n font-family: NotoSans, sans-serif;\n height: 100%;\n display: flex;\n align-items: center;\n color: ", ";\n"])), function (props) {
|
|
10181
11497
|
return props.$active ? colorVariables$1["default"].primary : colorVariables$1.text.medium;
|
|
10182
11498
|
});
|
|
10183
11499
|
|
|
10184
|
-
var _templateObject$
|
|
10185
|
-
var
|
|
10186
|
-
var $
|
|
10187
|
-
return $padding;
|
|
10188
|
-
});
|
|
10189
|
-
var Label$4 = styled__default.label(_templateObject2$t || (_templateObject2$t = _taggedTemplateLiteralLoose(["\n cursor: auto;\n width: 100%;\n font-weight: 500;\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref2) {
|
|
10190
|
-
var $size = _ref2.$size;
|
|
11500
|
+
var _templateObject$L, _templateObject2$C, _templateObject3$v, _templateObject4$q, _templateObject5$k;
|
|
11501
|
+
var Label$6 = styled__default.label(_templateObject$L || (_templateObject$L = _taggedTemplateLiteralLoose(["\n cursor: auto;\n width: 100%;\n font-weight: 500;\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref) {
|
|
11502
|
+
var $size = _ref.$size;
|
|
10191
11503
|
switch ($size) {
|
|
10192
11504
|
case 'small':
|
|
10193
11505
|
return "\n font-size: 12px;\n line-height: 12px;\n ";
|
|
@@ -10198,8 +11510,8 @@ var Label$4 = styled__default.label(_templateObject2$t || (_templateObject2$t =
|
|
|
10198
11510
|
default:
|
|
10199
11511
|
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
10200
11512
|
}
|
|
10201
|
-
}, function (
|
|
10202
|
-
var $titlecolor =
|
|
11513
|
+
}, function (_ref2) {
|
|
11514
|
+
var $titlecolor = _ref2.$titlecolor;
|
|
10203
11515
|
switch ($titlecolor) {
|
|
10204
11516
|
case 'dark':
|
|
10205
11517
|
return colorVariables$1.text.dark;
|
|
@@ -10221,21 +11533,21 @@ var Label$4 = styled__default.label(_templateObject2$t || (_templateObject2$t =
|
|
|
10221
11533
|
return $titlecolor;
|
|
10222
11534
|
}
|
|
10223
11535
|
});
|
|
10224
|
-
var Input$
|
|
10225
|
-
var $disabled =
|
|
11536
|
+
var Input$3 = styled__default.input(_templateObject2$C || (_templateObject2$C = _taggedTemplateLiteralLoose(["\n width: 100%;\n border: 1px solid ", ";\n border-radius: 8px;\n cursor: ", ";\n background: ", ";\n transition: all 0.3s ease;\n color: ", ";\n pointer-events: ", ";\n\n ", "\n\n &:focus {\n border: 1px solid\n ", ";\n }\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-family: NotoSans, sans-serif;\n }\n"])), colorVariables$1.border.light, function (_ref3) {
|
|
11537
|
+
var $disabled = _ref3.$disabled;
|
|
10226
11538
|
return $disabled ? 'not-allowed' : 'auto';
|
|
10227
|
-
}, function (
|
|
10228
|
-
var $disabled =
|
|
10229
|
-
$background =
|
|
11539
|
+
}, function (_ref4) {
|
|
11540
|
+
var $disabled = _ref4.$disabled,
|
|
11541
|
+
$background = _ref4.$background;
|
|
10230
11542
|
return $disabled ? colorVariables$1.disabled.secondary : $background;
|
|
10231
|
-
}, function (
|
|
10232
|
-
var $color =
|
|
11543
|
+
}, function (_ref5) {
|
|
11544
|
+
var $color = _ref5.$color;
|
|
10233
11545
|
return $color;
|
|
10234
|
-
}, function (
|
|
10235
|
-
var $disabled =
|
|
11546
|
+
}, function (_ref6) {
|
|
11547
|
+
var $disabled = _ref6.$disabled;
|
|
10236
11548
|
return $disabled ? 'none' : 'auto';
|
|
10237
|
-
}, function (
|
|
10238
|
-
var $size =
|
|
11549
|
+
}, function (_ref7) {
|
|
11550
|
+
var $size = _ref7.$size;
|
|
10239
11551
|
switch ($size) {
|
|
10240
11552
|
case 'small':
|
|
10241
11553
|
return "\n font-size: 12px;\n padding: 5px 10px;\n ";
|
|
@@ -10246,8 +11558,8 @@ var Input$2 = styled__default.input(_templateObject3$n || (_templateObject3$n =
|
|
|
10246
11558
|
default:
|
|
10247
11559
|
return "\n font-size: 14px;\n padding: 7px 12px;\n ";
|
|
10248
11560
|
}
|
|
10249
|
-
}, function (
|
|
10250
|
-
var $color =
|
|
11561
|
+
}, function (_ref8) {
|
|
11562
|
+
var $color = _ref8.$color;
|
|
10251
11563
|
switch ($color) {
|
|
10252
11564
|
case 'dark':
|
|
10253
11565
|
return colorVariables$1.text.dark;
|
|
@@ -10269,39 +11581,40 @@ var Input$2 = styled__default.input(_templateObject3$n || (_templateObject3$n =
|
|
|
10269
11581
|
return $color;
|
|
10270
11582
|
}
|
|
10271
11583
|
}, colorVariables$1.text.light);
|
|
10272
|
-
var InputWrapper$
|
|
10273
|
-
var IconWrapper$
|
|
10274
|
-
var $disabled =
|
|
11584
|
+
var InputWrapper$4 = styled__default.div(_templateObject3$v || (_templateObject3$v = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n"])));
|
|
11585
|
+
var IconWrapper$7 = styled__default.div(_templateObject4$q || (_templateObject4$q = _taggedTemplateLiteralLoose(["\n position: absolute;\n right: 12px;\n cursor: pointer;\n\n > div {\n cursor: ", ";\n }\n"])), function (_ref9) {
|
|
11586
|
+
var $disabled = _ref9.$disabled;
|
|
10275
11587
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
10276
11588
|
});
|
|
10277
|
-
var Asterisk$
|
|
10278
|
-
var TextField = function TextField(
|
|
10279
|
-
var
|
|
10280
|
-
type =
|
|
10281
|
-
title =
|
|
10282
|
-
placeholder =
|
|
10283
|
-
|
|
10284
|
-
disabled =
|
|
10285
|
-
inputValue =
|
|
10286
|
-
onChange =
|
|
10287
|
-
|
|
10288
|
-
size =
|
|
10289
|
-
|
|
10290
|
-
color =
|
|
10291
|
-
|
|
10292
|
-
padding =
|
|
10293
|
-
|
|
10294
|
-
titlecolor =
|
|
10295
|
-
icon =
|
|
10296
|
-
|
|
10297
|
-
iconsize =
|
|
10298
|
-
iconweight =
|
|
10299
|
-
iconcolor =
|
|
10300
|
-
|
|
10301
|
-
required =
|
|
10302
|
-
|
|
10303
|
-
background =
|
|
10304
|
-
onEnter =
|
|
11589
|
+
var Asterisk$4 = styled__default.span(_templateObject5$k || (_templateObject5$k = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size: 10px;\n height: fit-content;\n position: absolute;\n top: -2px;\n right: -8px;\n"])), colorVariables$1["default"].error);
|
|
11590
|
+
var TextField = function TextField(_ref10) {
|
|
11591
|
+
var _ref10$type = _ref10.type,
|
|
11592
|
+
type = _ref10$type === void 0 ? 'text' : _ref10$type,
|
|
11593
|
+
title = _ref10.title,
|
|
11594
|
+
placeholder = _ref10.placeholder,
|
|
11595
|
+
_ref10$disabled = _ref10.disabled,
|
|
11596
|
+
disabled = _ref10$disabled === void 0 ? false : _ref10$disabled,
|
|
11597
|
+
inputValue = _ref10.inputValue,
|
|
11598
|
+
onChange = _ref10.onChange,
|
|
11599
|
+
_ref10$size = _ref10.size,
|
|
11600
|
+
size = _ref10$size === void 0 ? 'medium' : _ref10$size,
|
|
11601
|
+
_ref10$color = _ref10.color,
|
|
11602
|
+
color = _ref10$color === void 0 ? colorVariables$1.text.dark : _ref10$color,
|
|
11603
|
+
_ref10$padding = _ref10.padding,
|
|
11604
|
+
padding = _ref10$padding === void 0 ? '0px' : _ref10$padding,
|
|
11605
|
+
_ref10$titlecolor = _ref10.titlecolor,
|
|
11606
|
+
titlecolor = _ref10$titlecolor === void 0 ? colorVariables$1.text.dark : _ref10$titlecolor,
|
|
11607
|
+
icon = _ref10.icon,
|
|
11608
|
+
_ref10$iconsize = _ref10.iconsize,
|
|
11609
|
+
iconsize = _ref10$iconsize === void 0 ? 18 : _ref10$iconsize,
|
|
11610
|
+
iconweight = _ref10.iconweight,
|
|
11611
|
+
iconcolor = _ref10.iconcolor,
|
|
11612
|
+
_ref10$required = _ref10.required,
|
|
11613
|
+
required = _ref10$required === void 0 ? false : _ref10$required,
|
|
11614
|
+
_ref10$background = _ref10.background,
|
|
11615
|
+
background = _ref10$background === void 0 ? colorVariables$1["default"].tertiary : _ref10$background,
|
|
11616
|
+
onEnter = _ref10.onEnter,
|
|
11617
|
+
titleRightNode = _ref10.titleRightNode;
|
|
10305
11618
|
var _useState = React.useState(disabled),
|
|
10306
11619
|
isDisabled = _useState[0],
|
|
10307
11620
|
setIsDisabled = _useState[1];
|
|
@@ -10321,13 +11634,18 @@ var TextField = function TextField(_ref11) {
|
|
|
10321
11634
|
React.useEffect(function () {
|
|
10322
11635
|
setIsDisabled(disabled);
|
|
10323
11636
|
}, [disabled]);
|
|
10324
|
-
return React__default.createElement(Container$
|
|
11637
|
+
return React__default.createElement(Container$3, {
|
|
11638
|
+
"$flexDirection": 'column',
|
|
11639
|
+
"$width": '100%',
|
|
11640
|
+
"$gap": '8px',
|
|
10325
11641
|
"$padding": padding
|
|
10326
|
-
}, title && React__default.createElement(
|
|
11642
|
+
}, (title || titleRightNode) && React__default.createElement(Container$3, {
|
|
11643
|
+
"$gap": titleRightNode === null || titleRightNode === void 0 ? void 0 : titleRightNode.gap
|
|
11644
|
+
}, title && React__default.createElement(Label$6, {
|
|
10327
11645
|
"$size": size,
|
|
10328
11646
|
htmlFor: title,
|
|
10329
11647
|
"$titlecolor": titlecolor
|
|
10330
|
-
}, title, required && React__default.createElement(Asterisk$
|
|
11648
|
+
}, title, required && React__default.createElement(Asterisk$4, null, "*")), titleRightNode === null || titleRightNode === void 0 ? void 0 : titleRightNode.node), React__default.createElement(InputWrapper$4, null, React__default.createElement(Input$3, {
|
|
10331
11649
|
type: inputType || 'text',
|
|
10332
11650
|
name: title,
|
|
10333
11651
|
id: title,
|
|
@@ -10344,7 +11662,7 @@ var TextField = function TextField(_ref11) {
|
|
|
10344
11662
|
if (onEnter) onEnter();
|
|
10345
11663
|
}
|
|
10346
11664
|
}
|
|
10347
|
-
}), type === 'password' && inputValue && React__default.createElement(IconWrapper$
|
|
11665
|
+
}), type === 'password' && inputValue && React__default.createElement(IconWrapper$7, {
|
|
10348
11666
|
"$disabled": disabled,
|
|
10349
11667
|
onClick: function onClick() {
|
|
10350
11668
|
if (!disabled) handleShowPassword();
|
|
@@ -10354,7 +11672,7 @@ var TextField = function TextField(_ref11) {
|
|
|
10354
11672
|
size: iconsize,
|
|
10355
11673
|
weight: iconweight,
|
|
10356
11674
|
color: iconcolor || colorVariables$1["default"].primary
|
|
10357
|
-
})), icon && type !== 'password' && React__default.createElement(IconWrapper$
|
|
11675
|
+
})), icon && type !== 'password' && React__default.createElement(IconWrapper$7, {
|
|
10358
11676
|
onClick: handleToggleDisabled
|
|
10359
11677
|
}, React__default.createElement(Icon$1, {
|
|
10360
11678
|
icon: icon,
|
|
@@ -10364,12 +11682,12 @@ var TextField = function TextField(_ref11) {
|
|
|
10364
11682
|
}))));
|
|
10365
11683
|
};
|
|
10366
11684
|
|
|
10367
|
-
var _templateObject$
|
|
10368
|
-
var Container$
|
|
11685
|
+
var _templateObject$M, _templateObject2$D, _templateObject3$w;
|
|
11686
|
+
var Container$c = styled__default.div(_templateObject$M || (_templateObject$M = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n padding: ", ";\n"])), function (_ref) {
|
|
10369
11687
|
var $padding = _ref.$padding;
|
|
10370
11688
|
return $padding;
|
|
10371
11689
|
});
|
|
10372
|
-
var Label$
|
|
11690
|
+
var Label$7 = styled__default.label(_templateObject2$D || (_templateObject2$D = _taggedTemplateLiteralLoose(["\n cursor: auto;\n font-weight: 500;\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref2) {
|
|
10373
11691
|
var $size = _ref2.$size;
|
|
10374
11692
|
switch ($size) {
|
|
10375
11693
|
case 'small':
|
|
@@ -10385,7 +11703,7 @@ var Label$5 = styled__default.label(_templateObject2$u || (_templateObject2$u =
|
|
|
10385
11703
|
var $titlecolor = _ref3.$titlecolor;
|
|
10386
11704
|
return $titlecolor || colorVariables.text.dark;
|
|
10387
11705
|
});
|
|
10388
|
-
var TextAreaComponent$
|
|
11706
|
+
var TextAreaComponent$3 = styled__default.textarea(_templateObject3$w || (_templateObject3$w = _taggedTemplateLiteralLoose(["\n width: 100%;\n border: 1px solid ", ";\n border-radius: 8px;\n cursor: ", ";\n background: ", ";\n transition: all 0.3s ease;\n color: ", ";\n resize: none;\n height: 100%;\n \n ", "\n\n &:focus {\n border-color: ", ";\n }\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-family: NotoSans, sans-serif;\n }\n"])), colorVariables.border.light, function (_ref4) {
|
|
10389
11707
|
var $disabled = _ref4.$disabled;
|
|
10390
11708
|
return $disabled ? 'not-allowed' : 'auto';
|
|
10391
11709
|
}, function (_ref5) {
|
|
@@ -10436,13 +11754,13 @@ var TextArea = function TextArea(_ref9) {
|
|
|
10436
11754
|
React.useEffect(function () {
|
|
10437
11755
|
setIsDisabled(disabled);
|
|
10438
11756
|
}, [disabled]);
|
|
10439
|
-
return React__default.createElement(Container$
|
|
11757
|
+
return React__default.createElement(Container$c, {
|
|
10440
11758
|
"$padding": padding
|
|
10441
|
-
}, title && React__default.createElement(Label$
|
|
11759
|
+
}, title && React__default.createElement(Label$7, {
|
|
10442
11760
|
"$size": size,
|
|
10443
11761
|
htmlFor: title,
|
|
10444
11762
|
"$titlecolor": titlecolor
|
|
10445
|
-
}, title, required && React__default.createElement(Asterisk$
|
|
11763
|
+
}, title, required && React__default.createElement(Asterisk$4, null, "*")), React__default.createElement(TextAreaComponent$3, {
|
|
10446
11764
|
name: title,
|
|
10447
11765
|
id: title,
|
|
10448
11766
|
value: inputValue,
|
|
@@ -10455,18 +11773,18 @@ var TextArea = function TextArea(_ref9) {
|
|
|
10455
11773
|
}));
|
|
10456
11774
|
};
|
|
10457
11775
|
|
|
10458
|
-
var _templateObject$
|
|
10459
|
-
var OptionContainer$
|
|
10460
|
-
var OptionItem$
|
|
11776
|
+
var _templateObject$N, _templateObject2$E, _templateObject3$x, _templateObject4$r, _templateObject5$l, _templateObject6$e, _templateObject7$6;
|
|
11777
|
+
var OptionContainer$4 = styled__default.div(_templateObject$N || (_templateObject$N = _taggedTemplateLiteralLoose(["\n z-index: 2;\n border-radius: 8px;\n display: flex;\n flex-direction: column;\n position: absolute;\n padding: 4px;\n top: 40px;\n left: 0px;\n background: ", ";\n max-width: 192px;\n min-width: 192px;\n height: auto;\n max-height: 175px;\n"])), colorVariables.text.white);
|
|
11778
|
+
var OptionItem$4 = styled__default.div(_templateObject2$E || (_templateObject2$E = _taggedTemplateLiteralLoose(["\n color: ", ";\n background-color: ", ";\n border-radius: 8px;\n\n &:hover {\n background-color: ", ";\n color: ", ";\n cursor: pointer;\n }\n"])), function (_ref) {
|
|
10461
11779
|
var $optionSelected = _ref.$optionSelected;
|
|
10462
11780
|
return $optionSelected ? colorVariables.text.white : colorVariables.text.medium;
|
|
10463
11781
|
}, function (_ref2) {
|
|
10464
11782
|
var $optionSelected = _ref2.$optionSelected;
|
|
10465
11783
|
return $optionSelected ? colorVariables["default"].primary : colorVariables.text.white;
|
|
10466
11784
|
}, colorVariables.hover.primary, colorVariables.text.white);
|
|
10467
|
-
var TotalOptionsHeader$
|
|
10468
|
-
var OptionLabel$
|
|
10469
|
-
var SearchContainer$
|
|
11785
|
+
var TotalOptionsHeader$3 = styled__default.div(_templateObject3$x || (_templateObject3$x = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n z-index: 2;\n background: ", ";\n color: ", ";\n height: max-content;\n padding: 8px 4px;\n gap: 4px;\n border-bottom: 1px solid ", ";\n font-size:12px;\n"])), colorVariables.text.white, colorVariables.text.light, colorVariables.text.light);
|
|
11786
|
+
var OptionLabel$4 = styled__default.label(_templateObject4$r || (_templateObject4$r = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n height: max-content;\n gap: 8px;\n padding: 8px 12px;\n word-break: break-word;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n font-family: NotoSans;\n font-weight: 500;\n font-size: 14px;\n line-height: 14px;\n"])));
|
|
11787
|
+
var SearchContainer$6 = styled__default.div(_templateObject5$l || (_templateObject5$l = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: auto;\n background: ", ";\n border: ", ";\n border-radius: ", ";\n padding: 6.5px 8px;\n display: flex;\n align-items: center;\n gap: 6px;\n"])), function (_ref3) {
|
|
10470
11788
|
var $background = _ref3.$background;
|
|
10471
11789
|
switch ($background) {
|
|
10472
11790
|
case 'dark':
|
|
@@ -10495,7 +11813,7 @@ var SearchContainer$5 = styled__default.div(_templateObject5$g || (_templateObje
|
|
|
10495
11813
|
var $borderRadius = _ref5.$borderRadius;
|
|
10496
11814
|
return $borderRadius || '8px';
|
|
10497
11815
|
});
|
|
10498
|
-
var SearchBar$
|
|
11816
|
+
var SearchBar$6 = styled__default.input(_templateObject6$e || (_templateObject6$e = _taggedTemplateLiteralLoose(["\n border: none;\n outline: none;\n width: 100%;\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n font-size: 14px;\n line-height: 100%;\n background: ", ";\n color: ", ";\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-size: 14px;\n }\n"])), colorVariables["default"].tertiary, function (_ref6) {
|
|
10499
11817
|
var $inputColor = _ref6.$inputColor;
|
|
10500
11818
|
switch ($inputColor) {
|
|
10501
11819
|
case 'dark':
|
|
@@ -10540,7 +11858,7 @@ var SearchBar$5 = styled__default.input(_templateObject6$c || (_templateObject6$
|
|
|
10540
11858
|
return $placeholderColor;
|
|
10541
11859
|
}
|
|
10542
11860
|
});
|
|
10543
|
-
var OptionsWrapper$
|
|
11861
|
+
var OptionsWrapper$4 = styled__default.div(_templateObject7$6 || (_templateObject7$6 = _taggedTemplateLiteralLoose(["\n padding: 4px 0px;\n height: 100%;\n overflow-y: auto;\n scrollbar-width: thin;\n background: ", "\n"])), colorVariables.text.white);
|
|
10544
11862
|
var TextFieldWithDropdown = function TextFieldWithDropdown(_ref8) {
|
|
10545
11863
|
var options = _ref8.options,
|
|
10546
11864
|
selectedOption = _ref8.selectedOption,
|
|
@@ -10589,7 +11907,7 @@ var TextFieldWithDropdown = function TextFieldWithDropdown(_ref8) {
|
|
|
10589
11907
|
"$gap": '8px',
|
|
10590
11908
|
"$width": '100%',
|
|
10591
11909
|
"$position": 'relative'
|
|
10592
|
-
}, searchBox && React__default.createElement(SearchContainer$
|
|
11910
|
+
}, searchBox && React__default.createElement(SearchContainer$6, {
|
|
10593
11911
|
"$borderBottom": searchBoxBorder,
|
|
10594
11912
|
"$background": isSearchBarEnabled ? colorVariables.text.white : colorVariables.accent.light,
|
|
10595
11913
|
"$borderRadius": searchBoxBorderRadius,
|
|
@@ -10605,7 +11923,7 @@ var TextFieldWithDropdown = function TextFieldWithDropdown(_ref8) {
|
|
|
10605
11923
|
onClick: function onClick() {
|
|
10606
11924
|
return setIsSearchBarEnabled(true);
|
|
10607
11925
|
}
|
|
10608
|
-
}, React__default.createElement(SearchBar$
|
|
11926
|
+
}, React__default.createElement(SearchBar$6, {
|
|
10609
11927
|
type: 'text',
|
|
10610
11928
|
placeholder: placeholder,
|
|
10611
11929
|
value: internalSearchQuery,
|
|
@@ -10622,18 +11940,18 @@ var TextFieldWithDropdown = function TextFieldWithDropdown(_ref8) {
|
|
|
10622
11940
|
setInternalSearchQuery('');
|
|
10623
11941
|
setSearchQuery('');
|
|
10624
11942
|
}
|
|
10625
|
-
}), isSearchBarEnabled && React__default.createElement(OptionContainer$
|
|
11943
|
+
}), isSearchBarEnabled && React__default.createElement(OptionContainer$4, null, options.length > 0 ? React__default.createElement(Container, {
|
|
10626
11944
|
"$flexDirection": 'column',
|
|
10627
11945
|
"$overflow": 'auto'
|
|
10628
|
-
}, React__default.createElement(TotalOptionsHeader$
|
|
11946
|
+
}, React__default.createElement(TotalOptionsHeader$3, null, React__default.createElement(Span, {
|
|
10629
11947
|
"$fontSize": '12px',
|
|
10630
11948
|
"$fontWeight": '400',
|
|
10631
11949
|
"$color": colorVariables.text.light
|
|
10632
|
-
}, t('Showing_results') + " (" + filteredArray.length + " of " + (options === null || options === void 0 ? void 0 : options.length) + ")")), React__default.createElement(OptionsWrapper$
|
|
10633
|
-
return React__default.createElement(OptionItem$
|
|
11950
|
+
}, t('Showing_results') + " (" + filteredArray.length + " of " + (options === null || options === void 0 ? void 0 : options.length) + ")")), React__default.createElement(OptionsWrapper$4, null, filteredArray.length > 0 ? filteredArray.map(function (option) {
|
|
11951
|
+
return React__default.createElement(OptionItem$4, {
|
|
10634
11952
|
key: option.value,
|
|
10635
11953
|
"$optionSelected": option.value === selectedOption
|
|
10636
|
-
}, React__default.createElement(OptionLabel$
|
|
11954
|
+
}, React__default.createElement(OptionLabel$4, {
|
|
10637
11955
|
htmlFor: option.value,
|
|
10638
11956
|
onClick: function onClick() {
|
|
10639
11957
|
setInternalSearchQuery(option.labelText);
|
|
@@ -10655,31 +11973,31 @@ var TextFieldWithDropdown = function TextFieldWithDropdown(_ref8) {
|
|
|
10655
11973
|
}, NoOptionsText)))));
|
|
10656
11974
|
};
|
|
10657
11975
|
|
|
10658
|
-
var _templateObject$
|
|
10659
|
-
var spin$
|
|
10660
|
-
var getDotPosition$
|
|
11976
|
+
var _templateObject$O, _templateObject2$F, _templateObject3$y, _templateObject4$s;
|
|
11977
|
+
var spin$7 = styled.keyframes(_templateObject$O || (_templateObject$O = _taggedTemplateLiteralLoose(["\n 0% { opacity: 1; }\n 100% { opacity: 0.3; }\n"])));
|
|
11978
|
+
var getDotPosition$3 = function getDotPosition(index, size) {
|
|
10661
11979
|
var angle = index * 360 / 8;
|
|
10662
11980
|
var radius = size / 2.5;
|
|
10663
11981
|
var x = radius * Math.cos(angle * Math.PI / 180);
|
|
10664
11982
|
var y = radius * Math.sin(angle * Math.PI / 180);
|
|
10665
11983
|
return "translate(" + x + "px, " + y + "px)";
|
|
10666
11984
|
};
|
|
10667
|
-
var SpinnerContainer$
|
|
11985
|
+
var SpinnerContainer$3 = styled__default.div(_templateObject2$F || (_templateObject2$F = _taggedTemplateLiteralLoose(["\n position: relative;\n width: ", "px;\n height: ", "px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (_ref) {
|
|
10668
11986
|
var $size = _ref.$size;
|
|
10669
11987
|
return $size;
|
|
10670
11988
|
}, function (_ref2) {
|
|
10671
11989
|
var $size = _ref2.$size;
|
|
10672
11990
|
return $size;
|
|
10673
11991
|
});
|
|
10674
|
-
var Dot$
|
|
11992
|
+
var Dot$3 = styled__default.div.attrs(function (_ref3) {
|
|
10675
11993
|
var $index = _ref3.$index,
|
|
10676
11994
|
$size = _ref3.$size;
|
|
10677
11995
|
return {
|
|
10678
11996
|
style: {
|
|
10679
|
-
transform: getDotPosition$
|
|
11997
|
+
transform: getDotPosition$3($index, $size)
|
|
10680
11998
|
}
|
|
10681
11999
|
};
|
|
10682
|
-
})(_templateObject3$
|
|
12000
|
+
})(_templateObject3$y || (_templateObject3$y = _taggedTemplateLiteralLoose(["\n position: absolute;\n width: ", "px;\n height: ", "px;\n background-color: ", ";\n border-radius: 50%;\n animation: ", " ", "s linear infinite;\n animation-delay: ", "s;\n"])), function (_ref4) {
|
|
10683
12001
|
var $dotSize = _ref4.$dotSize;
|
|
10684
12002
|
return $dotSize;
|
|
10685
12003
|
}, function (_ref5) {
|
|
@@ -10688,7 +12006,7 @@ var Dot$2 = styled__default.div.attrs(function (_ref3) {
|
|
|
10688
12006
|
}, function (_ref6) {
|
|
10689
12007
|
var $color = _ref6.$color;
|
|
10690
12008
|
return $color;
|
|
10691
|
-
}, spin$
|
|
12009
|
+
}, spin$7, function (_ref7) {
|
|
10692
12010
|
var $speed = _ref7.$speed;
|
|
10693
12011
|
return $speed;
|
|
10694
12012
|
}, function (_ref8) {
|
|
@@ -10696,7 +12014,7 @@ var Dot$2 = styled__default.div.attrs(function (_ref3) {
|
|
|
10696
12014
|
$speed = _ref8.$speed;
|
|
10697
12015
|
return $index * $speed / 8;
|
|
10698
12016
|
});
|
|
10699
|
-
var SpinnerWrapper$
|
|
12017
|
+
var SpinnerWrapper$3 = styled__default.div(_templateObject4$s || (_templateObject4$s = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: max-content;\n"])));
|
|
10700
12018
|
var sizeMap = {
|
|
10701
12019
|
small: {
|
|
10702
12020
|
size: 32
|
|
@@ -10720,13 +12038,13 @@ var CircularLoader = function CircularLoader(_ref9) {
|
|
|
10720
12038
|
text = _ref9.text,
|
|
10721
12039
|
customSize = _ref9.customSize;
|
|
10722
12040
|
var spinnerSize = customSize != null ? customSize : sizeMap[size].size;
|
|
10723
|
-
return React__default.createElement(SpinnerWrapper$
|
|
12041
|
+
return React__default.createElement(SpinnerWrapper$3, null, React__default.createElement(SpinnerContainer$3, {
|
|
10724
12042
|
"$size": spinnerSize,
|
|
10725
12043
|
"aria-label": "Loading animation"
|
|
10726
12044
|
}, Array.from({
|
|
10727
12045
|
length: 8
|
|
10728
12046
|
}).map(function (_, i) {
|
|
10729
|
-
return React__default.createElement(Dot$
|
|
12047
|
+
return React__default.createElement(Dot$3, {
|
|
10730
12048
|
key: i,
|
|
10731
12049
|
"$index": i,
|
|
10732
12050
|
"$size": spinnerSize,
|
|
@@ -10737,9 +12055,9 @@ var CircularLoader = function CircularLoader(_ref9) {
|
|
|
10737
12055
|
})), text && React__default.createElement(React__default.Fragment, null, text));
|
|
10738
12056
|
};
|
|
10739
12057
|
|
|
10740
|
-
var _templateObject$
|
|
10741
|
-
var spin$
|
|
10742
|
-
var Spinner$
|
|
12058
|
+
var _templateObject$P, _templateObject2$G;
|
|
12059
|
+
var spin$8 = styled.keyframes(_templateObject$P || (_templateObject$P = _taggedTemplateLiteralLoose(["\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
12060
|
+
var Spinner$4 = styled__default.div(_templateObject2$G || (_templateObject2$G = _taggedTemplateLiteralLoose(["\n width: ", "px;\n height: ", "px;\n border: 5px solid #ddd;\n border-top-color: ", ";\n border-radius: 50%;\n animation: ", " 1s linear infinite;\n"])), function (_ref) {
|
|
10743
12061
|
var $size = _ref.$size;
|
|
10744
12062
|
return $size;
|
|
10745
12063
|
}, function (_ref2) {
|
|
@@ -10748,7 +12066,7 @@ var Spinner$3 = styled__default.div(_templateObject2$x || (_templateObject2$x =
|
|
|
10748
12066
|
}, function (_ref3) {
|
|
10749
12067
|
var $color = _ref3.$color;
|
|
10750
12068
|
return $color;
|
|
10751
|
-
}, spin$
|
|
12069
|
+
}, spin$8);
|
|
10752
12070
|
var Loader = function Loader(_ref4) {
|
|
10753
12071
|
var title = _ref4.title,
|
|
10754
12072
|
_ref4$size = _ref4.size,
|
|
@@ -10764,7 +12082,7 @@ var Loader = function Loader(_ref4) {
|
|
|
10764
12082
|
"$height": '100%',
|
|
10765
12083
|
"$flexDirection": 'column',
|
|
10766
12084
|
"$gap": '12px'
|
|
10767
|
-
}, React__default.createElement(Container, null, React__default.createElement(Spinner$
|
|
12085
|
+
}, React__default.createElement(Container, null, React__default.createElement(Spinner$4, {
|
|
10768
12086
|
"$size": size,
|
|
10769
12087
|
"$color": color
|
|
10770
12088
|
})), title && React__default.createElement(Container, {
|
|
@@ -10780,8 +12098,8 @@ var Loader = function Loader(_ref4) {
|
|
|
10780
12098
|
}, title))));
|
|
10781
12099
|
};
|
|
10782
12100
|
|
|
10783
|
-
var _templateObject$
|
|
10784
|
-
var PageInput$
|
|
12101
|
+
var _templateObject$Q;
|
|
12102
|
+
var PageInput$3 = styled__default.input(_templateObject$Q || (_templateObject$Q = _taggedTemplateLiteralLoose(["\n width: 40px;\n height: 32px;\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: 8px;\n padding: 4px;\n color: ", ";\n text-align: center;\n &::-webkit-outer-spin-button,\n &::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n"])), colorVariables.accent.extraLight, colorVariables.border.light, colorVariables.text.dark);
|
|
10785
12103
|
var Pagination = function Pagination(_ref) {
|
|
10786
12104
|
var totalPages = _ref.totalPages,
|
|
10787
12105
|
currentPage = _ref.currentPage,
|
|
@@ -10839,7 +12157,7 @@ var Pagination = function Pagination(_ref) {
|
|
|
10839
12157
|
}, React__default.createElement(Container, {
|
|
10840
12158
|
"$gap": '4px',
|
|
10841
12159
|
"$alignItems": 'center'
|
|
10842
|
-
}, React__default.createElement(PageInput$
|
|
12160
|
+
}, React__default.createElement(PageInput$3, {
|
|
10843
12161
|
type: 'number',
|
|
10844
12162
|
value: inputPage,
|
|
10845
12163
|
onChange: handleInputChange,
|
|
@@ -10965,22 +12283,22 @@ var ProgressBar = function ProgressBar(_ref) {
|
|
|
10965
12283
|
})));
|
|
10966
12284
|
};
|
|
10967
12285
|
|
|
10968
|
-
var _templateObject$
|
|
10969
|
-
var SidebarContainer$
|
|
12286
|
+
var _templateObject$R, _templateObject2$H, _templateObject3$z, _templateObject4$t, _templateObject5$m, _templateObject6$f;
|
|
12287
|
+
var SidebarContainer$3 = styled__default.div(_templateObject$R || (_templateObject$R = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: 100vh;\n background: ", "; \n transition: width 0.3s ease-in-out;\n display: flex;\n flex-direction: column;\n align-items: start;\n padding: 20px;\n position: fixed;\n left: 0;\n top: 0;\n overflow: hidden;\n z-index: 10;\n justify-content: space-between;\n"])), function (_ref) {
|
|
10970
12288
|
var $isExpanded = _ref.$isExpanded;
|
|
10971
12289
|
return $isExpanded ? '225px' : '68px';
|
|
10972
12290
|
}, function (_ref2) {
|
|
10973
12291
|
var $background = _ref2.$background;
|
|
10974
12292
|
return $background ? $background : colorVariables.accent.softBlue;
|
|
10975
12293
|
});
|
|
10976
|
-
var SidebarItem$
|
|
10977
|
-
var ContentWrapper$
|
|
10978
|
-
var IconWrapper$
|
|
12294
|
+
var SidebarItem$3 = styled__default(reactRouterDom.NavLink)(_templateObject2$H || (_templateObject2$H = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n height: 28px;\n width: 100%;\n gap: 10px;\n cursor: pointer;\n border-radius: 4px;\n color: ", ";\n transition: background 0.3s;\n\n &:hover {\n background: ", ";\n }\n"])), colorVariables.text.medium, colorVariables["default"].primary);
|
|
12295
|
+
var ContentWrapper$3 = styled__default.div(_templateObject3$z || (_templateObject3$z = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n gap: 16px;\n width: 100%;\n"])));
|
|
12296
|
+
var IconWrapper$8 = styled__default.div(_templateObject4$t || (_templateObject4$t = _taggedTemplateLiteralLoose(["\n background: ", "; \n font-weight: bold;\n padding: 4px;\n border-radius: 4px;\n width: 28px;\n display: flex;\n align-items: center;\n justify-content: center;\n\n > div:first-child {\n cursor: pointer;\n }\n"])), function (_ref3) {
|
|
10979
12297
|
var $selected = _ref3.$selected;
|
|
10980
12298
|
return $selected ? colorVariables["default"].primary : colorVariables["default"].tertiary;
|
|
10981
12299
|
});
|
|
10982
|
-
var Logo$
|
|
10983
|
-
var TextContainer$
|
|
12300
|
+
var Logo$3 = styled__default.div(_templateObject5$m || (_templateObject5$m = _taggedTemplateLiteralLoose(["\n display: flex;\n width: 100%;\n min-width: max-content;\n height: 32px;\n align-items: center;\n justify-content: start;\n gap: 10px;\n"])));
|
|
12301
|
+
var TextContainer$3 = styled__default.span(_templateObject6$f || (_templateObject6$f = _taggedTemplateLiteralLoose(["\n width: 100%;\n white-space: nowrap;\n padding: ", ";\n font-size: ", ";\n font-weight: ", ";\n color: ", ";\n opacity: ", ";\n visibility: ", ";\n transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;\n"])), function (_ref4) {
|
|
10984
12302
|
var $padding = _ref4.$padding;
|
|
10985
12303
|
return $padding;
|
|
10986
12304
|
}, function (_ref5) {
|
|
@@ -11017,7 +12335,7 @@ var Sidebar = function Sidebar(_ref10) {
|
|
|
11017
12335
|
return parts.length > 0 ? "/" + parts[0] + "/" : '/';
|
|
11018
12336
|
};
|
|
11019
12337
|
var topLevelPath = getTopLevelPathWithSlash(location.pathname) || getTopLevelPath(location.pathname);
|
|
11020
|
-
return React__default.createElement(SidebarContainer$
|
|
12338
|
+
return React__default.createElement(SidebarContainer$3, {
|
|
11021
12339
|
"$background": background,
|
|
11022
12340
|
"$isExpanded": isExpanded,
|
|
11023
12341
|
onMouseEnter: function onMouseEnter() {
|
|
@@ -11026,24 +12344,24 @@ var Sidebar = function Sidebar(_ref10) {
|
|
|
11026
12344
|
onMouseLeave: function onMouseLeave() {
|
|
11027
12345
|
return setIsExpanded(false);
|
|
11028
12346
|
}
|
|
11029
|
-
}, logo && React__default.createElement(Logo$
|
|
12347
|
+
}, logo && React__default.createElement(Logo$3, null, React__default.createElement(Icon, {
|
|
11030
12348
|
icon: logo.icon
|
|
11031
|
-
}), React__default.createElement(TextContainer$
|
|
12349
|
+
}), React__default.createElement(TextContainer$3, {
|
|
11032
12350
|
"$isExpanded": isExpanded,
|
|
11033
12351
|
"$fontWeight": "700"
|
|
11034
|
-
}, logo.name)), React__default.createElement(ContentWrapper$
|
|
12352
|
+
}, logo.name)), React__default.createElement(ContentWrapper$3, null, content.map(function (item) {
|
|
11035
12353
|
var isActive = item.url.includes(topLevelPath);
|
|
11036
|
-
return React__default.createElement(SidebarItem$
|
|
12354
|
+
return React__default.createElement(SidebarItem$3, {
|
|
11037
12355
|
to: item.url,
|
|
11038
12356
|
key: item.id
|
|
11039
|
-
}, React__default.createElement(IconWrapper$
|
|
12357
|
+
}, React__default.createElement(IconWrapper$8, {
|
|
11040
12358
|
"$selected": isActive
|
|
11041
12359
|
}, React__default.createElement(Icon, {
|
|
11042
12360
|
icon: item.icon,
|
|
11043
12361
|
size: 20,
|
|
11044
12362
|
weight: item.iconWeight,
|
|
11045
12363
|
color: isActive ? colorVariables.text.white : colorVariables.text.medium
|
|
11046
|
-
})), React__default.createElement(TextContainer$
|
|
12364
|
+
})), React__default.createElement(TextContainer$3, {
|
|
11047
12365
|
"$isExpanded": isExpanded,
|
|
11048
12366
|
"$fontSize": "14px",
|
|
11049
12367
|
"$padding": '0px 10px 0px 0px',
|
|
@@ -11052,14 +12370,14 @@ var Sidebar = function Sidebar(_ref10) {
|
|
|
11052
12370
|
})), ProfileContent);
|
|
11053
12371
|
};
|
|
11054
12372
|
|
|
11055
|
-
var _templateObject$
|
|
11056
|
-
var ContainerWrapper$
|
|
12373
|
+
var _templateObject$S, _templateObject2$I, _templateObject3$A, _templateObject4$u;
|
|
12374
|
+
var ContainerWrapper$3 = styled__default.div(_templateObject$S || (_templateObject$S = _taggedTemplateLiteralLoose(["\n height: auto;\n display: flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n min-height: ", ";\n word-break: break-word;\n"])), function (props) {
|
|
11057
12375
|
return props.$width || 'auto';
|
|
11058
12376
|
}, function (_ref) {
|
|
11059
12377
|
var $minHeight = _ref.$minHeight;
|
|
11060
12378
|
return $minHeight;
|
|
11061
12379
|
});
|
|
11062
|
-
var CellContainer$
|
|
12380
|
+
var CellContainer$3 = styled__default.div(_templateObject2$I || (_templateObject2$I = _taggedTemplateLiteralLoose(["\n align-items:", ";\n justify-content: center;\n width: ", ";\n min-width: ", ";\n display: flex;\n flex-direction: column;\n background: ", ";\n padding: ", ";\n gap: 4px;\n height: 100%\n"])), function (props) {
|
|
11063
12381
|
return props.$align;
|
|
11064
12382
|
}, function (props) {
|
|
11065
12383
|
return props.$width || 'auto';
|
|
@@ -11070,14 +12388,14 @@ var CellContainer$2 = styled__default.div(_templateObject2$z || (_templateObject
|
|
|
11070
12388
|
}, function (props) {
|
|
11071
12389
|
return props.$padding;
|
|
11072
12390
|
});
|
|
11073
|
-
var MainText$
|
|
12391
|
+
var MainText$3 = styled__default.div(_templateObject3$A || (_templateObject3$A = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
11074
12392
|
return props.$mtc;
|
|
11075
12393
|
}, function (props) {
|
|
11076
12394
|
return props.$mtfs;
|
|
11077
12395
|
}, function (props) {
|
|
11078
12396
|
return props.$mtw;
|
|
11079
12397
|
});
|
|
11080
|
-
var SubText$
|
|
12398
|
+
var SubText$3 = styled__default.div(_templateObject4$u || (_templateObject4$u = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
11081
12399
|
return props.$stc;
|
|
11082
12400
|
}, function (props) {
|
|
11083
12401
|
return props.$stfs;
|
|
@@ -11106,31 +12424,31 @@ var TableCell = function TableCell(_ref2) {
|
|
|
11106
12424
|
CustomFunction = _ref2.CustomFunction,
|
|
11107
12425
|
padding = _ref2.padding,
|
|
11108
12426
|
minHeight = _ref2.minHeight;
|
|
11109
|
-
return React__default.createElement(ContainerWrapper$
|
|
12427
|
+
return React__default.createElement(ContainerWrapper$3, {
|
|
11110
12428
|
"$width": width,
|
|
11111
12429
|
"$minHeight": minHeight
|
|
11112
|
-
}, CustomFunction ? React__default.createElement(CellContainer$
|
|
12430
|
+
}, CustomFunction ? React__default.createElement(CellContainer$3, {
|
|
11113
12431
|
"$align": alignment,
|
|
11114
12432
|
"$width": width,
|
|
11115
12433
|
"$minWidth": minWidth
|
|
11116
|
-
}, CustomFunction) : React__default.createElement(CellContainer$
|
|
12434
|
+
}, CustomFunction) : React__default.createElement(CellContainer$3, {
|
|
11117
12435
|
"$align": alignment,
|
|
11118
12436
|
"$width": width,
|
|
11119
12437
|
"$minWidth": minWidth,
|
|
11120
12438
|
"$padding": padding
|
|
11121
|
-
}, React__default.createElement(MainText$
|
|
12439
|
+
}, React__default.createElement(MainText$3, {
|
|
11122
12440
|
"$mtc": maintextcolor,
|
|
11123
12441
|
"$mtfs": maintextfontsize,
|
|
11124
12442
|
"$mtw": maintextweight
|
|
11125
|
-
}, maintext), subtext && React__default.createElement(SubText$
|
|
12443
|
+
}, maintext), subtext && React__default.createElement(SubText$3, {
|
|
11126
12444
|
"$stc": subtextcolor,
|
|
11127
12445
|
"$stfs": subtextfontsize,
|
|
11128
12446
|
"$stw": subtextweight
|
|
11129
12447
|
}, subtext)));
|
|
11130
12448
|
};
|
|
11131
12449
|
|
|
11132
|
-
var _templateObject$
|
|
11133
|
-
var TableRowContainer$
|
|
12450
|
+
var _templateObject$T;
|
|
12451
|
+
var TableRowContainer$3 = styled.styled.div(_templateObject$T || (_templateObject$T = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n background: inherit;\n align-items:center;\n padding: 16px 12px;\n width: 100%;\n"])));
|
|
11134
12452
|
var TableRow = function TableRow(_ref) {
|
|
11135
12453
|
var rowconfig = _ref.rowconfig,
|
|
11136
12454
|
tableheaderconfig = _ref.tableheaderconfig;
|
|
@@ -11139,7 +12457,7 @@ var TableRow = function TableRow(_ref) {
|
|
|
11139
12457
|
};
|
|
11140
12458
|
return React__default.createElement(Container, null, rowconfig.map(function (data, Index) {
|
|
11141
12459
|
var _rowconfig$Index;
|
|
11142
|
-
return React__default.createElement(TableRowContainer$
|
|
12460
|
+
return React__default.createElement(TableRowContainer$3, {
|
|
11143
12461
|
key: Index
|
|
11144
12462
|
}, tableheaderconfig.isAllSelectable && React__default.createElement(Container, {
|
|
11145
12463
|
"$padding": '0px 16px 0px 0px',
|
|
@@ -11173,16 +12491,16 @@ var TableRow = function TableRow(_ref) {
|
|
|
11173
12491
|
}));
|
|
11174
12492
|
};
|
|
11175
12493
|
|
|
11176
|
-
var _templateObject$
|
|
11177
|
-
var TableContainer$
|
|
11178
|
-
var TableHeader$
|
|
12494
|
+
var _templateObject$U, _templateObject2$J, _templateObject3$B, _templateObject4$v, _templateObject5$n;
|
|
12495
|
+
var TableContainer$3 = styled__default.div(_templateObject$U || (_templateObject$U = _taggedTemplateLiteralLoose(["\n background: ", ";\n width: 100%;\n display: flex;\n overflow: hidden;\n border-radius: 8px;\n"])), colorVariables.brand.light);
|
|
12496
|
+
var TableHeader$3 = styled__default.div(_templateObject2$J || (_templateObject2$J = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n display: flex;\n background: ", ";\n color: ", ";\n min-height: 36px;\n align-items: center;\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n padding: 9px 12px;\n"])), function (props) {
|
|
11179
12497
|
return props.$hbcolor || 'transparent';
|
|
11180
12498
|
}, function (props) {
|
|
11181
12499
|
return props.$tcolor || 'white';
|
|
11182
12500
|
});
|
|
11183
|
-
var TableContent$
|
|
11184
|
-
var TableData$
|
|
11185
|
-
var Divider$
|
|
12501
|
+
var TableContent$3 = styled__default.div(_templateObject3$B || (_templateObject3$B = _taggedTemplateLiteralLoose(["\n width: 100%;\n svg {\n cursor: pointer;\n }\n"])));
|
|
12502
|
+
var TableData$3 = styled__default.div(_templateObject4$v || (_templateObject4$v = _taggedTemplateLiteralLoose(["\n overflow: auto;\n scrollbar-width: thin;\n height: 100%;\n max-height: calc(100% - 36px);\n"])));
|
|
12503
|
+
var Divider$3 = styled__default.div(_templateObject5$n || (_templateObject5$n = _taggedTemplateLiteralLoose(["\n height: 2px;\n background: ", ";\n"])), colorVariables.border.extraLight);
|
|
11186
12504
|
var Table = function Table(_ref) {
|
|
11187
12505
|
var tableObject = _ref.tableObject,
|
|
11188
12506
|
_ref$filter = _ref.filter,
|
|
@@ -11232,7 +12550,7 @@ var Table = function Table(_ref) {
|
|
|
11232
12550
|
React.useEffect(function () {
|
|
11233
12551
|
setIsAllSelected(false);
|
|
11234
12552
|
}, [rowconfig]);
|
|
11235
|
-
return React__default.createElement(TableContainer$
|
|
12553
|
+
return React__default.createElement(TableContainer$3, null, React__default.createElement(TableContent$3, null, React__default.createElement(TableHeader$3, {
|
|
11236
12554
|
"$hbcolor": tableheaderconfig.headercolor,
|
|
11237
12555
|
"$tcolor": tableheaderconfig.textcolor
|
|
11238
12556
|
}, tableheaderconfig.isAllSelectable && React__default.createElement(Container, {
|
|
@@ -11262,7 +12580,7 @@ var Table = function Table(_ref) {
|
|
|
11262
12580
|
"$alignItems": 'center',
|
|
11263
12581
|
"$padding": '24px 24px',
|
|
11264
12582
|
"$justifyContent": 'center'
|
|
11265
|
-
}, React__default.createElement(Span, null, noDataText)) : filter ? React__default.createElement(TableData$
|
|
12583
|
+
}, React__default.createElement(Span, null, noDataText)) : filter ? React__default.createElement(TableData$3, null, Object.entries(roleGroups).map(function (_ref2) {
|
|
11266
12584
|
var role = _ref2[0],
|
|
11267
12585
|
rows = _ref2[1];
|
|
11268
12586
|
return React__default.createElement(React__default.Fragment, {
|
|
@@ -11292,28 +12610,28 @@ var Table = function Table(_ref) {
|
|
|
11292
12610
|
}, React__default.createElement(TableRow, {
|
|
11293
12611
|
rowconfig: [row],
|
|
11294
12612
|
tableheaderconfig: tableheaderconfig
|
|
11295
|
-
}), rows.length > 1 && index < rows.length - 1 && React__default.createElement(Divider$
|
|
12613
|
+
}), rows.length > 1 && index < rows.length - 1 && React__default.createElement(Divider$3, null));
|
|
11296
12614
|
}));
|
|
11297
|
-
})) : React__default.createElement(TableData$
|
|
12615
|
+
})) : React__default.createElement(TableData$3, null, filteredRows.map(function (row, index) {
|
|
11298
12616
|
return React__default.createElement(React__default.Fragment, {
|
|
11299
12617
|
key: index
|
|
11300
12618
|
}, React__default.createElement(TableRow, {
|
|
11301
12619
|
rowconfig: [row],
|
|
11302
12620
|
tableheaderconfig: tableheaderconfig
|
|
11303
|
-
}), filteredRows.length > 1 && index < filteredRows.length - 1 && React__default.createElement(Divider$
|
|
12621
|
+
}), filteredRows.length > 1 && index < filteredRows.length - 1 && React__default.createElement(Divider$3, null));
|
|
11304
12622
|
}))));
|
|
11305
12623
|
};
|
|
11306
12624
|
|
|
11307
|
-
var _templateObject$
|
|
11308
|
-
var Container$
|
|
12625
|
+
var _templateObject$V, _templateObject2$K, _templateObject3$C, _templateObject4$w, _templateObject5$o;
|
|
12626
|
+
var Container$d = styled__default.div(_templateObject$V || (_templateObject$V = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 100%; \n display: flex;\n flex-direction: column;\n overflow: hidden;\n gap: 24px;\n border: ", ";\n border-radius: 8px;\n"])), function (_ref) {
|
|
11309
12627
|
var $border = _ref.$border;
|
|
11310
12628
|
return $border;
|
|
11311
12629
|
});
|
|
11312
|
-
var FirstContainer$
|
|
12630
|
+
var FirstContainer$3 = styled__default.div(_templateObject2$K || (_templateObject2$K = _taggedTemplateLiteralLoose(["\n width: 100%;\n display: flex;\n font-family: NotoSans, sans-serif;\n font-size: 16px;\n gap: 24px;\n border-bottom: 1px solid ", ";\n padding: ", ";\n"])), colorVariables.border.light, function (_ref2) {
|
|
11313
12631
|
var $headerPadding = _ref2.$headerPadding;
|
|
11314
12632
|
return $headerPadding ? $headerPadding : '0px';
|
|
11315
12633
|
});
|
|
11316
|
-
var TabContainer$
|
|
12634
|
+
var TabContainer$3 = styled__default.div(_templateObject3$C || (_templateObject3$C = _taggedTemplateLiteralLoose(["\n width: auto;\n display: flex;\n align-items: center;\n cursor: ", ";\n opacity: ", ";\n gap: 8px;\n font-family: NotoSans, sans-serif;\n font-size: 14px;\n font-weight: 500;\n color: ", ";\n height: ", ";\n\n svg {\n cursor: ", ";\n }\n\n"])), function (_ref3) {
|
|
11317
12635
|
var $disabled = _ref3.$disabled;
|
|
11318
12636
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
11319
12637
|
}, function (_ref4) {
|
|
@@ -11326,13 +12644,13 @@ var TabContainer$2 = styled__default.div(_templateObject3$u || (_templateObject3
|
|
|
11326
12644
|
var $disabled = _ref6.$disabled;
|
|
11327
12645
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
11328
12646
|
});
|
|
11329
|
-
var TabItemContainer$
|
|
12647
|
+
var TabItemContainer$3 = styled__default.div(_templateObject4$w || (_templateObject4$w = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n position: relative;\n gap: 8px;\n height: 100%;\n max-height: ", ";\n\n &:after {\n content: \"\";\n display: ", ";\n width: 100%;\n height: 3px;\n background: ", ";\n position: absolute;\n bottom: -1px;\n left: 0px;\n }\n"])), function (_ref7) {
|
|
11330
12648
|
var $headerHeight = _ref7.$headerHeight;
|
|
11331
12649
|
return $headerHeight ? $headerHeight : '34px';
|
|
11332
12650
|
}, function (props) {
|
|
11333
12651
|
return props.$active ? 'block' : 'none';
|
|
11334
12652
|
}, colorVariables["default"].primary);
|
|
11335
|
-
var DetailsFirstContainer$
|
|
12653
|
+
var DetailsFirstContainer$3 = styled__default.div(_templateObject5$o || (_templateObject5$o = _taggedTemplateLiteralLoose(["\n text-align: center;\n font-size: 14px;\n line-height: 18px;\n font-weight: 500;\n font-family: NotoSans, sans-serif;\n height: 100%;\n display: flex;\n align-items: center;\n color: ", ";\n"])), function (props) {
|
|
11336
12654
|
return props.$active ? colorVariables["default"].primary : colorVariables.text.medium;
|
|
11337
12655
|
});
|
|
11338
12656
|
var Tabs = function Tabs(_ref8) {
|
|
@@ -11343,19 +12661,19 @@ var Tabs = function Tabs(_ref8) {
|
|
|
11343
12661
|
headerPadding = _ref8.headerPadding,
|
|
11344
12662
|
activeTab = _ref8.activeTab,
|
|
11345
12663
|
border = _ref8.border;
|
|
11346
|
-
return React__default.createElement(Container$
|
|
12664
|
+
return React__default.createElement(Container$d, {
|
|
11347
12665
|
"$border": border
|
|
11348
|
-
}, React__default.createElement(FirstContainer$
|
|
12666
|
+
}, React__default.createElement(FirstContainer$3, {
|
|
11349
12667
|
"$headerPadding": headerPadding
|
|
11350
12668
|
}, tabItems.map(function (tab, index) {
|
|
11351
|
-
return React__default.createElement(TabContainer$
|
|
12669
|
+
return React__default.createElement(TabContainer$3, {
|
|
11352
12670
|
key: index,
|
|
11353
12671
|
onClick: function onClick() {
|
|
11354
12672
|
if (!disabled && tab.onClick) tab.onClick();
|
|
11355
12673
|
},
|
|
11356
12674
|
"$disabled": disabled,
|
|
11357
12675
|
"$headerHeight": headerHeight
|
|
11358
|
-
}, React__default.createElement(TabItemContainer$
|
|
12676
|
+
}, React__default.createElement(TabItemContainer$3, {
|
|
11359
12677
|
"$active": activeTab === tab.title,
|
|
11360
12678
|
"$headerHeight": headerHeight
|
|
11361
12679
|
}, tab.icon && React__default.createElement(Icon, {
|
|
@@ -11363,11 +12681,11 @@ var Tabs = function Tabs(_ref8) {
|
|
|
11363
12681
|
icon: tab.icon,
|
|
11364
12682
|
size: tab.iconSize,
|
|
11365
12683
|
weight: tab.iconWeight
|
|
11366
|
-
}), React__default.createElement(DetailsFirstContainer$
|
|
12684
|
+
}), React__default.createElement(DetailsFirstContainer$3, {
|
|
11367
12685
|
"$active": activeTab === tab.title
|
|
11368
12686
|
}, tab.title)));
|
|
11369
12687
|
})), tabItems.map(function (tab, index) {
|
|
11370
|
-
return activeTab === tab.title && React__default.createElement(Container$
|
|
12688
|
+
return activeTab === tab.title && React__default.createElement(Container$d, {
|
|
11371
12689
|
key: index
|
|
11372
12690
|
}, tab.content);
|
|
11373
12691
|
}));
|