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