labsense-ui-kit 1.2.1 → 1.2.2
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/ProgressBar/ProgressBar.d.ts +5 -0
- package/dist/index.js +1827 -67
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1827 -67
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -6923,14 +6923,1771 @@ var CircularProgress = function CircularProgress(_ref) {
|
|
|
6923
6923
|
}, progress + "%"));
|
|
6924
6924
|
};
|
|
6925
6925
|
|
|
6926
|
-
|
|
6927
|
-
|
|
6928
|
-
|
|
6929
|
-
|
|
6930
|
-
|
|
6931
|
-
|
|
6932
|
-
|
|
6933
|
-
|
|
6926
|
+
function _taggedTemplateLiteralLoose$1(e, t) {
|
|
6927
|
+
return t || (t = e.slice(0)), e.raw = t, e;
|
|
6928
|
+
}
|
|
6929
|
+
var _templateObject$m, _templateObject2$i;
|
|
6930
|
+
var ModalOverlay$1 = styled.div(_templateObject$m || (_templateObject$m = _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"])));
|
|
6931
|
+
var ModalContainer$1 = styled.div(_templateObject2$i || (_templateObject2$i = _taggedTemplateLiteralLoose$1(["\n background: ", ";\n box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);\n border-radius: 8px;\n max-height: 100vh;\n max-width: ", ";\n overflow: visible;\n"])), function (_ref) {
|
|
6932
|
+
var theme = _ref.theme;
|
|
6933
|
+
return theme.accent.light_1;
|
|
6934
|
+
}, function (_ref2) {
|
|
6935
|
+
var $maxWidth = _ref2.$maxWidth;
|
|
6936
|
+
return $maxWidth ? $maxWidth : '400px';
|
|
6937
|
+
});
|
|
6938
|
+
var _templateObject$1$1, _templateObject2$1$1;
|
|
6939
|
+
var Container$4 = styled.div(_templateObject$1$1 || (_templateObject$1$1 = _taggedTemplateLiteralLoose$1(["\n display: flex;\n flex: ", ";\n flex-wrap: ", ";\n flex-direction: ", ";\n justify-content: ", ";\n align-items: ", "; \n gap: ", ";\n font-weight: ", ";\n height: ", ";\n min-height: ", ";\n max-height: ", ";\n width: ", ";\n min-width: ", ";\n max-width: ", ";\n padding: ", ";\n background: ", ";\n object-fit:", ";\n margin: ", ";\n border-radius: ", ";\n border-top-left-radius: ", ";\n border-top-right-radius: ", ";\n border-bottom-right-radius: ", ";\n border-bottom-left-radius: ", ";\n cursor: ", ";\n font-size: ", ";\n opacity: ", ";\n pointer-events: ", ";\n position: ", ";\n top: ", ";\n bottom: ", ";\n left: ", ";\n right: ", ";\n text-align: ", "; \n color: ", "; \n overflow: ", ";\n overflow-y: ", ";\n z-index: ", "; \n scrollbar-width: ", ";\n border: ", "; \n border-top: ", ";\n border-bottom: ", ";\n border-left: ", ";\n transition: ", ";\n box-shadow: ", ";\n\n &:hover {\n background: ", ";\n color: ", ";\n }\n"])), function (_ref) {
|
|
6940
|
+
var $flex = _ref.$flex;
|
|
6941
|
+
return $flex;
|
|
6942
|
+
}, function (_ref2) {
|
|
6943
|
+
var $flexWrap = _ref2.$flexWrap;
|
|
6944
|
+
return $flexWrap;
|
|
6945
|
+
}, function (_ref3) {
|
|
6946
|
+
var $flexDirection = _ref3.$flexDirection;
|
|
6947
|
+
return $flexDirection;
|
|
6948
|
+
}, function (_ref4) {
|
|
6949
|
+
var $justifyContent = _ref4.$justifyContent;
|
|
6950
|
+
return $justifyContent;
|
|
6951
|
+
}, function (_ref5) {
|
|
6952
|
+
var $alignItems = _ref5.$alignItems;
|
|
6953
|
+
return $alignItems;
|
|
6954
|
+
}, function (_ref6) {
|
|
6955
|
+
var $gap = _ref6.$gap;
|
|
6956
|
+
return $gap;
|
|
6957
|
+
}, function (_ref7) {
|
|
6958
|
+
var $fontWeight = _ref7.$fontWeight;
|
|
6959
|
+
return $fontWeight;
|
|
6960
|
+
}, function (_ref8) {
|
|
6961
|
+
var $height = _ref8.$height;
|
|
6962
|
+
return $height;
|
|
6963
|
+
}, function (_ref9) {
|
|
6964
|
+
var $minHeight = _ref9.$minHeight;
|
|
6965
|
+
return $minHeight;
|
|
6966
|
+
}, function (_ref10) {
|
|
6967
|
+
var $maxHeight = _ref10.$maxHeight;
|
|
6968
|
+
return $maxHeight;
|
|
6969
|
+
}, function (_ref11) {
|
|
6970
|
+
var $width = _ref11.$width;
|
|
6971
|
+
return $width;
|
|
6972
|
+
}, function (_ref12) {
|
|
6973
|
+
var $minWidth = _ref12.$minWidth;
|
|
6974
|
+
return $minWidth;
|
|
6975
|
+
}, function (_ref13) {
|
|
6976
|
+
var $maxWidth = _ref13.$maxWidth;
|
|
6977
|
+
return $maxWidth;
|
|
6978
|
+
}, function (_ref14) {
|
|
6979
|
+
var $padding = _ref14.$padding;
|
|
6980
|
+
return $padding;
|
|
6981
|
+
}, function (_ref15) {
|
|
6982
|
+
var $background = _ref15.$background;
|
|
6983
|
+
return $background;
|
|
6984
|
+
}, function (_ref16) {
|
|
6985
|
+
var $objectfit = _ref16.$objectfit;
|
|
6986
|
+
return $objectfit;
|
|
6987
|
+
}, function (_ref17) {
|
|
6988
|
+
var $margin = _ref17.$margin;
|
|
6989
|
+
return $margin;
|
|
6990
|
+
}, function (_ref18) {
|
|
6991
|
+
var $borderRadius = _ref18.$borderRadius;
|
|
6992
|
+
return $borderRadius;
|
|
6993
|
+
}, function (_ref19) {
|
|
6994
|
+
var $borderTopLeftRadius = _ref19.$borderTopLeftRadius;
|
|
6995
|
+
return $borderTopLeftRadius;
|
|
6996
|
+
}, function (_ref20) {
|
|
6997
|
+
var $borderTopRightRadius = _ref20.$borderTopRightRadius;
|
|
6998
|
+
return $borderTopRightRadius;
|
|
6999
|
+
}, function (_ref21) {
|
|
7000
|
+
var $borderBottomRightRadius = _ref21.$borderBottomRightRadius;
|
|
7001
|
+
return $borderBottomRightRadius;
|
|
7002
|
+
}, function (_ref22) {
|
|
7003
|
+
var $borderBottomLeftRadius = _ref22.$borderBottomLeftRadius;
|
|
7004
|
+
return $borderBottomLeftRadius;
|
|
7005
|
+
}, function (_ref23) {
|
|
7006
|
+
var $cursor = _ref23.$cursor;
|
|
7007
|
+
return $cursor;
|
|
7008
|
+
}, function (_ref24) {
|
|
7009
|
+
var $fontSize = _ref24.$fontSize;
|
|
7010
|
+
return $fontSize;
|
|
7011
|
+
}, function (_ref25) {
|
|
7012
|
+
var $opacity = _ref25.$opacity;
|
|
7013
|
+
return $opacity;
|
|
7014
|
+
}, function (_ref26) {
|
|
7015
|
+
var $pointerEvents = _ref26.$pointerEvents;
|
|
7016
|
+
return $pointerEvents;
|
|
7017
|
+
}, function (_ref27) {
|
|
7018
|
+
var $position = _ref27.$position;
|
|
7019
|
+
return $position;
|
|
7020
|
+
}, function (_ref28) {
|
|
7021
|
+
var $top = _ref28.$top;
|
|
7022
|
+
return $top;
|
|
7023
|
+
}, function (_ref29) {
|
|
7024
|
+
var $bottom = _ref29.$bottom;
|
|
7025
|
+
return $bottom;
|
|
7026
|
+
}, function (_ref30) {
|
|
7027
|
+
var $left = _ref30.$left;
|
|
7028
|
+
return $left;
|
|
7029
|
+
}, function (_ref31) {
|
|
7030
|
+
var $right = _ref31.$right;
|
|
7031
|
+
return $right;
|
|
7032
|
+
}, function (_ref32) {
|
|
7033
|
+
var $textAlign = _ref32.$textAlign;
|
|
7034
|
+
return $textAlign;
|
|
7035
|
+
}, function (_ref33) {
|
|
7036
|
+
var $color = _ref33.$color;
|
|
7037
|
+
return $color;
|
|
7038
|
+
}, function (_ref34) {
|
|
7039
|
+
var $overflow = _ref34.$overflow;
|
|
7040
|
+
return $overflow || 'visible';
|
|
7041
|
+
}, function (_ref35) {
|
|
7042
|
+
var $overflowY = _ref35.$overflowY;
|
|
7043
|
+
return $overflowY;
|
|
7044
|
+
}, function (_ref36) {
|
|
7045
|
+
var $zIndex = _ref36.$zIndex;
|
|
7046
|
+
return $zIndex;
|
|
7047
|
+
}, function (_ref37) {
|
|
7048
|
+
var $scrollbarWidth = _ref37.$scrollbarWidth;
|
|
7049
|
+
return $scrollbarWidth;
|
|
7050
|
+
}, function (_ref38) {
|
|
7051
|
+
var $border = _ref38.$border;
|
|
7052
|
+
return $border;
|
|
7053
|
+
}, function (_ref39) {
|
|
7054
|
+
var $borderTop = _ref39.$borderTop;
|
|
7055
|
+
return $borderTop;
|
|
7056
|
+
}, function (_ref40) {
|
|
7057
|
+
var $borderBottom = _ref40.$borderBottom;
|
|
7058
|
+
return $borderBottom;
|
|
7059
|
+
}, function (_ref41) {
|
|
7060
|
+
var $borderLeft = _ref41.$borderLeft;
|
|
7061
|
+
return $borderLeft;
|
|
7062
|
+
}, function (_ref42) {
|
|
7063
|
+
var $transition = _ref42.$transition;
|
|
7064
|
+
return $transition;
|
|
7065
|
+
}, function (_ref43) {
|
|
7066
|
+
var $boxShadow = _ref43.$boxShadow;
|
|
7067
|
+
return $boxShadow;
|
|
7068
|
+
}, function (_ref44) {
|
|
7069
|
+
var $hoverBackground = _ref44.$hoverBackground;
|
|
7070
|
+
return $hoverBackground;
|
|
7071
|
+
}, function (_ref45) {
|
|
7072
|
+
var $hoverColor = _ref45.$hoverColor;
|
|
7073
|
+
return $hoverColor;
|
|
7074
|
+
});
|
|
7075
|
+
var Span$1 = styled.span(_templateObject2$1$1 || (_templateObject2$1$1 = _taggedTemplateLiteralLoose$1(["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n font-style: ", ";\n color: ", ";\n line-height: ", ";\n text-align: ", ";\n min-width: ", ";\n width: ", ";\n overflow-wrap: ", ";\n"])), function (_ref46) {
|
|
7076
|
+
var $fontFamily = _ref46.$fontFamily;
|
|
7077
|
+
return $fontFamily ? $fontFamily : 'NotoSans, sans-serif';
|
|
7078
|
+
}, function (_ref47) {
|
|
7079
|
+
var $fontWeight = _ref47.$fontWeight;
|
|
7080
|
+
return $fontWeight ? $fontWeight : '500';
|
|
7081
|
+
}, function (_ref48) {
|
|
7082
|
+
var $fontSize = _ref48.$fontSize;
|
|
7083
|
+
return $fontSize ? $fontSize : '16px';
|
|
7084
|
+
}, function (_ref49) {
|
|
7085
|
+
var $fontStyle = _ref49.$fontStyle;
|
|
7086
|
+
return $fontStyle ? $fontStyle : 'normal';
|
|
7087
|
+
}, function (_ref50) {
|
|
7088
|
+
var $color = _ref50.$color,
|
|
7089
|
+
theme = _ref50.theme;
|
|
7090
|
+
return $color ? $color : theme.text.medium;
|
|
7091
|
+
}, function (_ref51) {
|
|
7092
|
+
var $lineHeight = _ref51.$lineHeight;
|
|
7093
|
+
return $lineHeight ? $lineHeight : '100%';
|
|
7094
|
+
}, function (_ref52) {
|
|
7095
|
+
var $textAlign = _ref52.$textAlign;
|
|
7096
|
+
return $textAlign ? $textAlign : 'center';
|
|
7097
|
+
}, function (_ref53) {
|
|
7098
|
+
var $minWidth = _ref53.$minWidth;
|
|
7099
|
+
return $minWidth;
|
|
7100
|
+
}, function (_ref54) {
|
|
7101
|
+
var $width = _ref54.$width;
|
|
7102
|
+
return $width;
|
|
7103
|
+
}, function (_ref55) {
|
|
7104
|
+
var $overflowWrap = _ref55.$overflowWrap;
|
|
7105
|
+
return $overflowWrap;
|
|
7106
|
+
});
|
|
7107
|
+
var light$1 = {
|
|
7108
|
+
brand: {
|
|
7109
|
+
primary: '#4C9EEB',
|
|
7110
|
+
secondary: '#14171A',
|
|
7111
|
+
light: '#FFFFFF'
|
|
7112
|
+
},
|
|
7113
|
+
accent: {
|
|
7114
|
+
light_1: '#E1E8ED',
|
|
7115
|
+
light_2: '#F5F8FA',
|
|
7116
|
+
light_3: '#F0F3F5',
|
|
7117
|
+
light_4: '#ECF0F4',
|
|
7118
|
+
light_5: '#F0F0F3',
|
|
7119
|
+
softBlue: '#D4EEFF',
|
|
7120
|
+
extraSoftBlue: '#E4F4FF',
|
|
7121
|
+
boldTransparent: '#5E5E5E80',
|
|
7122
|
+
transparent: '#5E5E5E4D',
|
|
7123
|
+
lightTransparent: '#5E5E5E23'
|
|
7124
|
+
},
|
|
7125
|
+
"default": {
|
|
7126
|
+
primary: '#78B6F0',
|
|
7127
|
+
secondary: '#C2C2C2',
|
|
7128
|
+
tertiary: 'transparent',
|
|
7129
|
+
error: '#F44336',
|
|
7130
|
+
success: '#4CAF50',
|
|
7131
|
+
warning: '#FF9800',
|
|
7132
|
+
info: '#2159F3'
|
|
7133
|
+
},
|
|
7134
|
+
disabled: {
|
|
7135
|
+
primary: '#B9DCF7',
|
|
7136
|
+
secondary: '#DADADA',
|
|
7137
|
+
error: '#FFEBEE',
|
|
7138
|
+
success: '#E8F5E9',
|
|
7139
|
+
warning: '#FFF3E0',
|
|
7140
|
+
info: '#E3F2FD'
|
|
7141
|
+
},
|
|
7142
|
+
hover: {
|
|
7143
|
+
primary: '#4C9EEB',
|
|
7144
|
+
secondary: '#A3A3A3',
|
|
7145
|
+
tertiary: 'transparent',
|
|
7146
|
+
error: '#D32F2F',
|
|
7147
|
+
success: '#388E3C',
|
|
7148
|
+
warning: '#F57C00',
|
|
7149
|
+
info: '#193ED2'
|
|
7150
|
+
},
|
|
7151
|
+
border: {
|
|
7152
|
+
extraBold: '#657786',
|
|
7153
|
+
bold: '#BFBFBF',
|
|
7154
|
+
medium: '#CBCED0',
|
|
7155
|
+
light: '#DCDCDC',
|
|
7156
|
+
extraLight: '#E6E3E3'
|
|
7157
|
+
},
|
|
7158
|
+
text: {
|
|
7159
|
+
dark: '#14171A',
|
|
7160
|
+
medium: '#657786',
|
|
7161
|
+
light: '#98A2AA',
|
|
7162
|
+
white: '#FFFFFF',
|
|
7163
|
+
success: '#1B5E20',
|
|
7164
|
+
error: '#B71C1C',
|
|
7165
|
+
info: '#0D30A1',
|
|
7166
|
+
warning: '#E65100'
|
|
7167
|
+
},
|
|
7168
|
+
badge: {
|
|
7169
|
+
lavender: '#E8DAFF',
|
|
7170
|
+
papayaWhip: '#FFEDD5',
|
|
7171
|
+
water: '#C7E3FF',
|
|
7172
|
+
paleBlue: '#B0F0E4',
|
|
7173
|
+
teaGreen: '#D5F7C2',
|
|
7174
|
+
lightBlue: '#ADD8E6'
|
|
7175
|
+
}
|
|
7176
|
+
};
|
|
7177
|
+
var dark$1 = {
|
|
7178
|
+
brand: {
|
|
7179
|
+
primary: '#4C9EEB',
|
|
7180
|
+
secondary: '#E1E8ED',
|
|
7181
|
+
light: '#1A1A1A'
|
|
7182
|
+
},
|
|
7183
|
+
accent: {
|
|
7184
|
+
light_1: '#2A2E33',
|
|
7185
|
+
light_2: '#1F2327',
|
|
7186
|
+
light_3: '#0F1214',
|
|
7187
|
+
light_4: '#101417',
|
|
7188
|
+
light_5: '#0F0F0C',
|
|
7189
|
+
softBlue: '#2C3E50',
|
|
7190
|
+
extraSoftBlue: '#34495E',
|
|
7191
|
+
boldTransparent: '#D3D3D380',
|
|
7192
|
+
transparent: '#D3D3D34D',
|
|
7193
|
+
lightTransparent: '#D3D3D323'
|
|
7194
|
+
},
|
|
7195
|
+
"default": {
|
|
7196
|
+
primary: '#78B6F0',
|
|
7197
|
+
secondary: '#4F4F4F',
|
|
7198
|
+
tertiary: 'transparent',
|
|
7199
|
+
error: '#EF5350',
|
|
7200
|
+
success: '#66BB6A',
|
|
7201
|
+
warning: '#FFB74D',
|
|
7202
|
+
info: '#42A5F5'
|
|
7203
|
+
},
|
|
7204
|
+
disabled: {
|
|
7205
|
+
primary: '#3B4A58',
|
|
7206
|
+
secondary: '#3E3E3E',
|
|
7207
|
+
error: '#5B1B1B',
|
|
7208
|
+
success: '#1B3C1B',
|
|
7209
|
+
warning: '#5A3C1B',
|
|
7210
|
+
info: '#1A3C5A'
|
|
7211
|
+
},
|
|
7212
|
+
hover: {
|
|
7213
|
+
primary: '#5CA6F0',
|
|
7214
|
+
secondary: '#7A7A7A',
|
|
7215
|
+
tertiary: 'transparent',
|
|
7216
|
+
error: '#D32F2F',
|
|
7217
|
+
success: '#388E3C',
|
|
7218
|
+
warning: '#F57C00',
|
|
7219
|
+
info: '#1976D2'
|
|
7220
|
+
},
|
|
7221
|
+
border: {
|
|
7222
|
+
extraBold: '#8899A6',
|
|
7223
|
+
bold: '#5E5E5E',
|
|
7224
|
+
medium: '#4A4A4A',
|
|
7225
|
+
light: '#3A3A3A',
|
|
7226
|
+
extraLight: '#2B2B2B'
|
|
7227
|
+
},
|
|
7228
|
+
text: {
|
|
7229
|
+
dark: '#FFFFFF',
|
|
7230
|
+
medium: '#AAB8C2',
|
|
7231
|
+
light: '#8899A6',
|
|
7232
|
+
white: '#14171A',
|
|
7233
|
+
success: '#81C784',
|
|
7234
|
+
error: '#E57373',
|
|
7235
|
+
info: '#64B5F6',
|
|
7236
|
+
warning: '#FFB74D'
|
|
7237
|
+
},
|
|
7238
|
+
badge: {
|
|
7239
|
+
lavender: '#7B5FA1',
|
|
7240
|
+
papayaWhip: '#A46A3E',
|
|
7241
|
+
water: '#5CA6F0',
|
|
7242
|
+
paleBlue: '#4BC9BC',
|
|
7243
|
+
teaGreen: '#7FBF7F',
|
|
7244
|
+
lightBlue: '#5DADE2'
|
|
7245
|
+
}
|
|
7246
|
+
};
|
|
7247
|
+
var getCurrentTheme$1 = function getCurrentTheme() {
|
|
7248
|
+
if (typeof document !== 'undefined') {
|
|
7249
|
+
var isDarkClass = document.documentElement.classList.contains('dark');
|
|
7250
|
+
return isDarkClass ? 'dark' : 'light';
|
|
7251
|
+
}
|
|
7252
|
+
return 'light';
|
|
7253
|
+
};
|
|
7254
|
+
var colorVariables$1 = new Proxy({}, {
|
|
7255
|
+
get: function get(_, prop) {
|
|
7256
|
+
var currentThemeName = getCurrentTheme$1();
|
|
7257
|
+
var currentTheme = themes$1[currentThemeName];
|
|
7258
|
+
return currentTheme[prop];
|
|
7259
|
+
}
|
|
7260
|
+
});
|
|
7261
|
+
var themes$1 = {
|
|
7262
|
+
light: light$1,
|
|
7263
|
+
dark: dark$1
|
|
7264
|
+
};
|
|
7265
|
+
var _templateObject$2$1, _templateObject2$2$1, _templateObject3$c;
|
|
7266
|
+
var wrapperCss$1 = css(_templateObject$2$1 || (_templateObject$2$1 = _taggedTemplateLiteralLoose$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"])));
|
|
7267
|
+
var IconWrapper$2 = styled.div(_templateObject2$2$1 || (_templateObject2$2$1 = _taggedTemplateLiteralLoose$1(["\n width: max-content;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: ", ";\n ", ";\n"])), function (_ref) {
|
|
7268
|
+
var $clickable = _ref.$clickable;
|
|
7269
|
+
return $clickable ? 'pointer' : 'default';
|
|
7270
|
+
}, wrapperCss$1);
|
|
7271
|
+
var IconWrapperForSVG$1 = styled.g(_templateObject3$c || (_templateObject3$c = _taggedTemplateLiteralLoose$1(["\n ", ";\n"])), wrapperCss$1);
|
|
7272
|
+
var _templateObject$3$1, _templateObject2$3$1;
|
|
7273
|
+
var TooltipWrapper$2 = styled.div(_templateObject$3$1 || (_templateObject$3$1 = _taggedTemplateLiteralLoose$1(["\n display: flex;\n align-items: center;\n\n svg {\n cursor: pointer;\n }\n"])));
|
|
7274
|
+
var TooltipText$1 = styled.span(_templateObject2$3$1 || (_templateObject2$3$1 = _taggedTemplateLiteralLoose$1(["\n visibility: ", ";\n opacity: ", ";\n transition: opacity 0.2s ease-in-out;\n background-color: ", ";\n color: ", ";\n border: ", ";\n border-radius: 8px;\n padding: 8px 16px;\n font-size: ", ";\n font-weight: ", ";\n max-width: 300px;\n width: max-content;\n position: fixed;\n z-index: 999;\n pointer-events: none;\n"])), function (_ref) {
|
|
7275
|
+
var $visible = _ref.$visible;
|
|
7276
|
+
return $visible ? 'visible' : 'hidden';
|
|
7277
|
+
}, function (_ref2) {
|
|
7278
|
+
var $visible = _ref2.$visible;
|
|
7279
|
+
return $visible ? 1 : 0;
|
|
7280
|
+
}, function (_ref3) {
|
|
7281
|
+
var $bgColor = _ref3.$bgColor,
|
|
7282
|
+
theme = _ref3.theme;
|
|
7283
|
+
return $bgColor || theme.brand.light;
|
|
7284
|
+
}, function (_ref4) {
|
|
7285
|
+
var $color = _ref4.$color,
|
|
7286
|
+
theme = _ref4.theme;
|
|
7287
|
+
return $color != null ? $color : theme.text.medium;
|
|
7288
|
+
}, function (_ref5) {
|
|
7289
|
+
var $border = _ref5.$border;
|
|
7290
|
+
return $border != null ? $border : 'none';
|
|
7291
|
+
}, function (_ref6) {
|
|
7292
|
+
var $fontSize = _ref6.$fontSize;
|
|
7293
|
+
return $fontSize != null ? $fontSize : '12px';
|
|
7294
|
+
}, function (_ref7) {
|
|
7295
|
+
var $fontWeight = _ref7.$fontWeight;
|
|
7296
|
+
return $fontWeight != null ? $fontWeight : '500';
|
|
7297
|
+
});
|
|
7298
|
+
var _templateObject$4$1, _templateObject2$4$1, _templateObject3$1$1, _templateObject4$9, _templateObject5$8, _templateObject6$7, _templateObject7$5, _templateObject8$4, _templateObject9$4, _templateObject10$4, _templateObject11$3, _templateObject12$2;
|
|
7299
|
+
var TooltipContainer$1 = styled.div(_templateObject$4$1 || (_templateObject$4$1 = _taggedTemplateLiteralLoose$1(["\n display: flex;\n position: absolute;\n z-index: 10;\n align-items: center;\n justify-content: center;\n visibility: hidden;\n opacity: 0;\n transition: opacity 0.3s;\n border-radius: ", ";\n padding: 6px 8px;\n border: ", ";\n min-width: ", ";\n min-width: ", ";\n background-color: ", ";\n gap: ", ";\n\n ", "\n\n &::after {\n content: '';\n position: absolute;\n width: 16px;\n height: 8px;\n background-color: ", ";\n clip-path: polygon(50% 0%, 0% 100%, 100% 100%);\n\n ", "\n }\n"])), function (_ref) {
|
|
7300
|
+
var $borderRadius = _ref.$borderRadius;
|
|
7301
|
+
return $borderRadius != null ? $borderRadius : '4px';
|
|
7302
|
+
}, function (_ref2) {
|
|
7303
|
+
var $border = _ref2.$border;
|
|
7304
|
+
return $border;
|
|
7305
|
+
}, function (_ref3) {
|
|
7306
|
+
var $minWidth = _ref3.$minWidth;
|
|
7307
|
+
return $minWidth != null ? $minWidth : 'auto';
|
|
7308
|
+
}, function (_ref4) {
|
|
7309
|
+
var $maxWidth = _ref4.$maxWidth;
|
|
7310
|
+
return $maxWidth != null ? $maxWidth : 'auto';
|
|
7311
|
+
}, function (_ref5) {
|
|
7312
|
+
var $background = _ref5.$background,
|
|
7313
|
+
theme = _ref5.theme;
|
|
7314
|
+
return $background != null ? $background : theme.accent.light_1;
|
|
7315
|
+
}, function (_ref6) {
|
|
7316
|
+
var $gap = _ref6.$gap;
|
|
7317
|
+
return $gap != null ? $gap : '16px';
|
|
7318
|
+
}, function (_ref7) {
|
|
7319
|
+
var $tooltipPosition = _ref7.$tooltipPosition,
|
|
7320
|
+
$iconSize = _ref7.$iconSize,
|
|
7321
|
+
$tooltipTop = _ref7.$tooltipTop;
|
|
7322
|
+
var vertical = $tooltipPosition.startsWith('top') ? "bottom: " + ($tooltipTop != null ? $tooltipTop : "calc(50% + " + ($iconSize + 2) + "px)") + ";" : "top: " + ($tooltipTop != null ? $tooltipTop : "calc(50% + " + ($iconSize + 2) + "px)") + ";";
|
|
7323
|
+
var horizontal = $tooltipPosition.endsWith('Left') ? css(_templateObject2$4$1 || (_templateObject2$4$1 = _taggedTemplateLiteralLoose$1(["left: calc(100% + 10px); transform: translateX(-99%);"]))) : $tooltipPosition.endsWith('Center') ? css(_templateObject3$1$1 || (_templateObject3$1$1 = _taggedTemplateLiteralLoose$1(["left: 50%; transform: translateX(-50%);"]))) : css(_templateObject4$9 || (_templateObject4$9 = _taggedTemplateLiteralLoose$1(["right: calc(100% + 10px); transform: translateX(99%);"])));
|
|
7324
|
+
return css(_templateObject5$8 || (_templateObject5$8 = _taggedTemplateLiteralLoose$1(["", " ", ";"])), vertical, horizontal);
|
|
7325
|
+
}, function (_ref8) {
|
|
7326
|
+
var $background = _ref8.$background,
|
|
7327
|
+
theme = _ref8.theme;
|
|
7328
|
+
return $background != null ? $background : theme.accent.light_1;
|
|
7329
|
+
}, function (_ref9) {
|
|
7330
|
+
var $tooltipPosition = _ref9.$tooltipPosition;
|
|
7331
|
+
if ($tooltipPosition.startsWith('top')) {
|
|
7332
|
+
return $tooltipPosition.endsWith('Left') ? css(_templateObject6$7 || (_templateObject6$7 = _taggedTemplateLiteralLoose$1(["top: 100%; right: 10px; transform: rotate(180deg);"]))) : $tooltipPosition.endsWith('Right') ? css(_templateObject7$5 || (_templateObject7$5 = _taggedTemplateLiteralLoose$1(["top: 100%; left: 10px; transform: rotate(180deg);"]))) : css(_templateObject8$4 || (_templateObject8$4 = _taggedTemplateLiteralLoose$1(["top: 100%; left: 50%; transform: translateX(-50%) rotate(180deg);"])));
|
|
7333
|
+
} else {
|
|
7334
|
+
return $tooltipPosition.endsWith('Left') ? css(_templateObject9$4 || (_templateObject9$4 = _taggedTemplateLiteralLoose$1(["bottom: 100%; right: 10px;"]))) : $tooltipPosition.endsWith('Right') ? css(_templateObject10$4 || (_templateObject10$4 = _taggedTemplateLiteralLoose$1(["bottom: 100%; left: 10px;"]))) : css(_templateObject11$3 || (_templateObject11$3 = _taggedTemplateLiteralLoose$1(["bottom: 100%; left: 50%; transform: translateX(-50%);"])));
|
|
7335
|
+
}
|
|
7336
|
+
});
|
|
7337
|
+
var TooltipWrapper$1$1 = styled.div(_templateObject12$2 || (_templateObject12$2 = _taggedTemplateLiteralLoose$1(["\n display: flex;\n position: relative;\n align-items: center;\n cursor: pointer;\n\n &:hover ", " {\n visibility: visible;\n opacity: 1;\n }\n"])), TooltipContainer$1);
|
|
7338
|
+
var _templateObject$5$1;
|
|
7339
|
+
var BreadCrum$1 = styled.span(_templateObject$5$1 || (_templateObject$5$1 = _taggedTemplateLiteralLoose$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) {
|
|
7340
|
+
var $color = _ref.$color,
|
|
7341
|
+
theme = _ref.theme;
|
|
7342
|
+
return $color ? $color : theme.text.medium;
|
|
7343
|
+
}, function (_ref2) {
|
|
7344
|
+
var $disabled = _ref2.$disabled;
|
|
7345
|
+
return $disabled ? '0.6' : '1';
|
|
7346
|
+
}, function (_ref3) {
|
|
7347
|
+
var $hover = _ref3.$hover,
|
|
7348
|
+
$disabled = _ref3.$disabled;
|
|
7349
|
+
return $hover && !$disabled && 'underline';
|
|
7350
|
+
}, function (_ref4) {
|
|
7351
|
+
var $hover = _ref4.$hover,
|
|
7352
|
+
$disabled = _ref4.$disabled;
|
|
7353
|
+
return $hover && !$disabled ? 'pointer' : 'default';
|
|
7354
|
+
}, function (_ref5) {
|
|
7355
|
+
var $hover = _ref5.$hover,
|
|
7356
|
+
$disabled = _ref5.$disabled,
|
|
7357
|
+
theme = _ref5.theme;
|
|
7358
|
+
return $hover && !$disabled && theme["default"].primary;
|
|
7359
|
+
});
|
|
7360
|
+
var _templateObject$6$1;
|
|
7361
|
+
var fontFaces$1 = css(_templateObject$6$1 || (_templateObject$6$1 = _taggedTemplateLiteralLoose$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"])));
|
|
7362
|
+
var GlobalFonts$1 = {
|
|
7363
|
+
bold: 'NotoSans, sans-serif',
|
|
7364
|
+
regular: 'NotoSans, sans-serif',
|
|
7365
|
+
light: 'NotoSans, sans-serif'
|
|
7366
|
+
};
|
|
7367
|
+
var _templateObject$7$1, _templateObject2$5$1, _templateObject3$2$1, _templateObject4$1$1, _templateObject5$1$1, _templateObject6$1$1;
|
|
7368
|
+
var spin$3 = keyframes(_templateObject$7$1 || (_templateObject$7$1 = _taggedTemplateLiteralLoose$1(["\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
7369
|
+
var Spinner$2 = styled.div(_templateObject2$5$1 || (_templateObject2$5$1 = _taggedTemplateLiteralLoose$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) {
|
|
7370
|
+
var $size = _ref.$size;
|
|
7371
|
+
return $size;
|
|
7372
|
+
}, function (_ref2) {
|
|
7373
|
+
var $size = _ref2.$size;
|
|
7374
|
+
return $size;
|
|
7375
|
+
}, function (_ref3) {
|
|
7376
|
+
var $size = _ref3.$size;
|
|
7377
|
+
return $size / 4;
|
|
7378
|
+
}, function (_ref4) {
|
|
7379
|
+
var $color = _ref4.$color;
|
|
7380
|
+
return $color;
|
|
7381
|
+
}, spin$3);
|
|
7382
|
+
var LoaderWrapper$1 = styled.div(_templateObject3$2$1 || (_templateObject3$2$1 = _taggedTemplateLiteralLoose$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) {
|
|
7383
|
+
var $loaderPosition = _ref5.$loaderPosition;
|
|
7384
|
+
return $loaderPosition === 'right' ? '4px' : '0';
|
|
7385
|
+
}, function (_ref6) {
|
|
7386
|
+
var $loaderPosition = _ref6.$loaderPosition;
|
|
7387
|
+
return $loaderPosition === 'left' ? '4px' : '0';
|
|
7388
|
+
});
|
|
7389
|
+
var Container$1$1 = styled.div(_templateObject4$1$1 || (_templateObject4$1$1 = _taggedTemplateLiteralLoose$1(["\n display: flex;\n flex-direction: ", ";\n gap: ", ";\n svg {\n cursor: ", ";\n }\n"])), function (_ref7) {
|
|
7390
|
+
var $iconPosition = _ref7.$iconPosition;
|
|
7391
|
+
return $iconPosition === 'right' ? 'row-reverse' : 'row';
|
|
7392
|
+
}, function (_ref8) {
|
|
7393
|
+
var gap = _ref8.gap;
|
|
7394
|
+
return gap || '4px';
|
|
7395
|
+
}, function (_ref9) {
|
|
7396
|
+
var cursor = _ref9.cursor;
|
|
7397
|
+
return cursor;
|
|
7398
|
+
});
|
|
7399
|
+
var StyledButton$1 = styled.button(_templateObject5$1$1 || (_templateObject5$1$1 = _taggedTemplateLiteralLoose$1(["\n pointer-events: ", ";\n cursor: ", ";\n height: max-content;\n min-height: max-content;\n width: ", ";\n box-sizing: border-box;\n border-radius: ", ";\n outline: none;\n transition: all 0.2s;\n display: flex;\n align-items: center;\n justify-content: center;\n\n padding: ", ";\n\n &:focus {\n outline: none;\n }\n\n ", "\n color: ", "; \n"])), function (_ref10) {
|
|
7400
|
+
var $disabled = _ref10.$disabled;
|
|
7401
|
+
return $disabled ? 'none' : 'auto';
|
|
7402
|
+
}, function (_ref11) {
|
|
7403
|
+
var $disabled = _ref11.$disabled;
|
|
7404
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
7405
|
+
}, function (_ref12) {
|
|
7406
|
+
var $buttonWidth = _ref12.$buttonWidth;
|
|
7407
|
+
return $buttonWidth;
|
|
7408
|
+
}, function (_ref13) {
|
|
7409
|
+
var $borderRadius = _ref13.$borderRadius;
|
|
7410
|
+
return $borderRadius || '8px';
|
|
7411
|
+
}, function (_ref14) {
|
|
7412
|
+
var $size = _ref14.$size,
|
|
7413
|
+
$padding = _ref14.$padding;
|
|
7414
|
+
return $size === 'small' ? '8px 12.2px' : $size === 'medium' ? '10px 19px' : $size === 'large' ? '12px 24.5px' : $size === 'custom' ? $padding : '10px 16px';
|
|
7415
|
+
}, function (_ref15) {
|
|
7416
|
+
var _$borderHover$match;
|
|
7417
|
+
var $variant = _ref15.$variant,
|
|
7418
|
+
$disabled = _ref15.$disabled,
|
|
7419
|
+
$borderHover = _ref15.$borderHover,
|
|
7420
|
+
$borderDefault = _ref15.$borderDefault,
|
|
7421
|
+
$background = _ref15.$background,
|
|
7422
|
+
$color = _ref15.$color,
|
|
7423
|
+
$colorHover = _ref15.$colorHover,
|
|
7424
|
+
theme = _ref15.theme;
|
|
7425
|
+
switch ($variant) {
|
|
7426
|
+
case 'primary':
|
|
7427
|
+
return "\n background: " + ($disabled ? theme.disabled.primary : theme["default"].primary) + ";\n color: " + theme.text.white + ";\n border: " + ($disabled ? "1px solid " + theme.disabled.primary : "1px solid " + theme["default"].primary) + ";\n &:hover {\n background: " + theme.hover.primary + ";\n border: 1px solid " + theme.hover.primary + ";\n }\n ";
|
|
7428
|
+
case 'secondary':
|
|
7429
|
+
return "\n background: " + ($disabled ? theme.disabled.secondary : theme["default"].secondary) + "; \n color: " + theme.text.white + ";\n border: " + ($disabled ? "1px solid " + theme.disabled.secondary : "1px solid " + theme["default"].secondary) + ";\n &:hover{\n background: " + theme.hover.secondary + ";\n border: 1px solid " + theme.hover.secondary + ";\n }\n ";
|
|
7430
|
+
case 'tertiary':
|
|
7431
|
+
return "\n background: " + theme["default"].tertiary + ";\n color: " + ($disabled ? theme.disabled.primary : theme["default"].primary) + ";\n border: " + ($borderDefault ? "" + $borderDefault : "1px solid " + theme["default"].tertiary) + ";\n &:hover {\n color: " + (!$disabled && $borderHover ? (_$borderHover$match = $borderHover.match(/#\w+/)) === null || _$borderHover$match === void 0 ? void 0 : _$borderHover$match[0] : theme.hover.primary) + ";\n border: " + ($borderHover ? $borderHover : "1px solid " + theme.hover.primary) + ";\n }\n ";
|
|
7432
|
+
case 'error':
|
|
7433
|
+
return "\n background: " + ($disabled ? theme.disabled.error : theme["default"].error) + "; \n color: " + theme.text.white + ";\n border: " + ($disabled ? "1px solid " + theme.disabled.error : "1px solid " + theme["default"].error) + ";\n &:hover{\n background: " + theme.hover.error + ";\n border: 1px solid " + theme.hover.error + ";\n }\n ";
|
|
7434
|
+
case 'outline-primary':
|
|
7435
|
+
return "\n background: " + theme["default"].tertiary + ";\n color: " + ($disabled ? theme.disabled.primary : theme["default"].primary) + ";\n border: " + ($disabled ? "1px solid " + theme.disabled.primary : "1px solid " + theme["default"].primary) + ";\n &:hover{\n border: 1px solid " + theme.hover.primary + ";\n color: " + theme.text.white + ";\n background: " + theme.hover.primary + ";\n }\n ";
|
|
7436
|
+
case 'outline-secondary':
|
|
7437
|
+
return "\n background: " + theme["default"].tertiary + ";\n color: " + ($disabled ? theme.disabled.secondary : theme["default"].secondary) + ";\n border: " + ($disabled ? "1px solid " + theme.disabled.secondary : "1px solid " + theme["default"].secondary) + ";\n &:hover{\n border: 1px solid " + theme.hover.secondary + ";\n color: " + theme.text.white + ";\n background: " + theme.hover.secondary + ";\n }\n ";
|
|
7438
|
+
case 'outline-error':
|
|
7439
|
+
return "\n background: " + theme["default"].tertiary + ";\n color: " + ($disabled ? theme.disabled.error : theme["default"].error) + ";\n border: " + ($disabled ? "1px solid " + theme.disabled.error : "1px solid " + theme["default"].error) + ";\n &:hover{\n border: 1px solid " + theme.hover.error + ";\n color: " + theme.text.white + ";\n background: " + theme.hover.error + ";\n }\n ";
|
|
7440
|
+
case 'custom':
|
|
7441
|
+
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 ";
|
|
7442
|
+
default:
|
|
7443
|
+
return '';
|
|
7444
|
+
}
|
|
7445
|
+
}, function (_ref16) {
|
|
7446
|
+
var color = _ref16.color;
|
|
7447
|
+
return color;
|
|
7448
|
+
});
|
|
7449
|
+
var ButtonText$1 = styled.span(_templateObject6$1$1 || (_templateObject6$1$1 = _taggedTemplateLiteralLoose$1(["\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n white-space: nowrap;\n"])), function (_ref17) {
|
|
7450
|
+
var $fontFamily = _ref17.$fontFamily;
|
|
7451
|
+
return $fontFamily ? $fontFamily : GlobalFonts$1.bold;
|
|
7452
|
+
}, function (_ref18) {
|
|
7453
|
+
var $size = _ref18.$size,
|
|
7454
|
+
$fontSize = _ref18.$fontSize;
|
|
7455
|
+
return $size === 'small' ? '14px' : $size === 'medium' ? '16px' : $size === 'large' ? '18px' : $size === 'custom' ? $fontSize : '16px';
|
|
7456
|
+
}, function (_ref19) {
|
|
7457
|
+
var $fontWeight = _ref19.$fontWeight,
|
|
7458
|
+
$size = _ref19.$size;
|
|
7459
|
+
return $size === 'custom' && $fontWeight || '500';
|
|
7460
|
+
}, function (_ref20) {
|
|
7461
|
+
var $size = _ref20.$size,
|
|
7462
|
+
$fontSize = _ref20.$fontSize;
|
|
7463
|
+
return $size === 'small' ? '14px' : $size === 'medium' ? '16px' : $size === 'large' ? '18px' : $size === 'custom' ? $fontSize : '16px';
|
|
7464
|
+
});
|
|
7465
|
+
var _templateObject$8$1;
|
|
7466
|
+
var InnerContent$1 = styled.div(_templateObject$8$1 || (_templateObject$8$1 = _taggedTemplateLiteralLoose$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) {
|
|
7467
|
+
var $isScrollable = _ref.$isScrollable;
|
|
7468
|
+
return $isScrollable ? '0 12px' : '0';
|
|
7469
|
+
});
|
|
7470
|
+
var _templateObject$9$1, _templateObject2$6$1, _templateObject3$3$1, _templateObject4$2$1, _templateObject5$2$1, _templateObject6$2$1, _templateObject7$1$1, _templateObject8$1$1, _templateObject9$1$1, _templateObject10$1$1, _templateObject11$1$1, _templateObject12$1$1, _templateObject13$1, _templateObject14$1, _templateObject15$1, _templateObject16$1, _templateObject17$1, _templateObject18$1, _templateObject19$1, _templateObject20$1, _templateObject21$1;
|
|
7471
|
+
var DatePickerContainer$1 = styled.div(_templateObject$9$1 || (_templateObject$9$1 = _taggedTemplateLiteralLoose$1(["\n width: 100%;\n display: flex;\n flex-direction: column;\n position: relative;\n"])));
|
|
7472
|
+
var CalendarContainer$1 = styled.div(_templateObject2$6$1 || (_templateObject2$6$1 = _taggedTemplateLiteralLoose$1(["\n overflow: auto;\n display: flex;\n flex-direction: row;\n background: ", ";\n position: absolute;\n border: ", ";\n height: auto;\n width: auto;\n border-radius: 10px;\n z-index: 10;\n padding: 10px;\n top: 0px;\n right: 0px;\n gap: 16px;\n"])), function (_ref) {
|
|
7473
|
+
var theme = _ref.theme;
|
|
7474
|
+
return theme.accent.light_2;
|
|
7475
|
+
}, function (_ref2) {
|
|
7476
|
+
var theme = _ref2.theme;
|
|
7477
|
+
return "1px solid " + theme.border.medium;
|
|
7478
|
+
});
|
|
7479
|
+
var Calendar$1$1 = styled.div(_templateObject3$3$1 || (_templateObject3$3$1 = _taggedTemplateLiteralLoose$1([""])));
|
|
7480
|
+
var CalendarTime$1 = styled.div(_templateObject4$2$1 || (_templateObject4$2$1 = _taggedTemplateLiteralLoose$1(["\n border: ", ";\n border-radius: 4px;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n padding: 8px;\n"])), function (_ref3) {
|
|
7481
|
+
var theme = _ref3.theme;
|
|
7482
|
+
return "1px solid " + theme.border.medium;
|
|
7483
|
+
});
|
|
7484
|
+
var StartDate$1 = styled.div(_templateObject5$2$1 || (_templateObject5$2$1 = _taggedTemplateLiteralLoose$1(["\n display: flex;\n flex-direction: column;\n gap: 16px;\n padding-bottom: 4px;\n"])));
|
|
7485
|
+
var SelectedStart$1 = styled.div(_templateObject6$2$1 || (_templateObject6$2$1 = _taggedTemplateLiteralLoose$1(["\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n gap: 4px;\n color: ", ";\n"])), function (_ref4) {
|
|
7486
|
+
var theme = _ref4.theme;
|
|
7487
|
+
return theme.text.medium;
|
|
7488
|
+
});
|
|
7489
|
+
var CurrentDate$1 = styled.p(_templateObject7$1$1 || (_templateObject7$1$1 = _taggedTemplateLiteralLoose$1(["\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n font-size: 12px;\n"])));
|
|
7490
|
+
var CurrentTime$1 = styled.div(_templateObject8$1$1 || (_templateObject8$1$1 = _taggedTemplateLiteralLoose$1(["\n font-family: NotoSans, sans-serif;\n font-weight: 500;\n font-size: 14px;\n color: ", ";\n"])), function (_ref5) {
|
|
7491
|
+
var theme = _ref5.theme;
|
|
7492
|
+
return theme.text.medium;
|
|
7493
|
+
});
|
|
7494
|
+
var Selectedtime$1 = styled.div(_templateObject9$1$1 || (_templateObject9$1$1 = _taggedTemplateLiteralLoose$1(["\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n color: ", ";\n gap: 8px;\n"])), function (_ref6) {
|
|
7495
|
+
var theme = _ref6.theme;
|
|
7496
|
+
return theme.text.medium;
|
|
7497
|
+
});
|
|
7498
|
+
var Line$1 = styled.div(_templateObject10$1$1 || (_templateObject10$1$1 = _taggedTemplateLiteralLoose$1(["\n width: 100%;\n padding-top: 10px;\n padding-bottom: 10px;\n"])));
|
|
7499
|
+
var Zones$1 = styled.div(_templateObject11$1$1 || (_templateObject11$1$1 = _taggedTemplateLiteralLoose$1(["\n display: flex;\n justify-content: space-between;\n"])));
|
|
7500
|
+
var CalendarHeader$1 = styled.div(_templateObject12$1$1 || (_templateObject12$1$1 = _taggedTemplateLiteralLoose$1(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 10px;\n"])));
|
|
7501
|
+
var CalendarMonthYear$1 = styled.span(_templateObject13$1 || (_templateObject13$1 = _taggedTemplateLiteralLoose$1(["\n display: flex;\n flex-direction: column;\n color: ", ";\n justify-content: center;\n align-items: center;\n"])), function (_ref7) {
|
|
7502
|
+
var theme = _ref7.theme;
|
|
7503
|
+
return theme.text.medium;
|
|
7504
|
+
});
|
|
7505
|
+
var CalendarContent$1 = styled.div(_templateObject14$1 || (_templateObject14$1 = _taggedTemplateLiteralLoose$1(["\n display: grid;\n grid-template-columns: repeat(7, 1fr);\n gap: 5px;\n padding: 10px;\n"])));
|
|
7506
|
+
var Button$1 = styled.div(_templateObject15$1 || (_templateObject15$1 = _taggedTemplateLiteralLoose$1(["\n background: ", ";\n color: ", ";\n border: none;\n border-radius: 5px;\n padding: 5px 10px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n height: ", ";\n\n svg {\n cursor: pointer;\n }\n"])), function (_ref8) {
|
|
7507
|
+
var theme = _ref8.theme;
|
|
7508
|
+
return theme["default"].secondary;
|
|
7509
|
+
}, function (_ref9) {
|
|
7510
|
+
var theme = _ref9.theme;
|
|
7511
|
+
return theme.text.white;
|
|
7512
|
+
}, function (_ref10) {
|
|
7513
|
+
var $size = _ref10.$size;
|
|
7514
|
+
return $size ? $size + "px" : '30px';
|
|
7515
|
+
}, function (_ref11) {
|
|
7516
|
+
var $size = _ref11.$size;
|
|
7517
|
+
return $size ? $size + "px" : '30px';
|
|
7518
|
+
});
|
|
7519
|
+
var CalendarDates$1 = styled.div(_templateObject16$1 || (_templateObject16$1 = _taggedTemplateLiteralLoose$1(["\n width: ", ";\n height: ", ";\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n cursor: ", "; \n font-size: 12px;\n opacity: ", "; \n\n background-color: ", ";\n\n color: ", ";\n\n &:hover {\n background-color: ", ";\n }\n"])), function (_ref12) {
|
|
7520
|
+
var $size = _ref12.$size;
|
|
7521
|
+
return $size ? $size + "px" : '30px';
|
|
7522
|
+
}, function (_ref13) {
|
|
7523
|
+
var $size = _ref13.$size;
|
|
7524
|
+
return $size ? $size + "px" : '30px';
|
|
7525
|
+
}, function (_ref14) {
|
|
7526
|
+
var $isFuture = _ref14.$isFuture,
|
|
7527
|
+
$futureDateTime = _ref14.$futureDateTime;
|
|
7528
|
+
return !$futureDateTime && $isFuture ? 'default' : 'pointer';
|
|
7529
|
+
}, function (_ref15) {
|
|
7530
|
+
var $isFuture = _ref15.$isFuture,
|
|
7531
|
+
$futureDateTime = _ref15.$futureDateTime;
|
|
7532
|
+
return !$futureDateTime && $isFuture ? 0.5 : 1;
|
|
7533
|
+
}, function (_ref16) {
|
|
7534
|
+
var $selected = _ref16.$selected,
|
|
7535
|
+
$inRange = _ref16.$inRange,
|
|
7536
|
+
theme = _ref16.theme;
|
|
7537
|
+
return $selected ? theme["default"].primary : $inRange ? theme["default"].primary : theme["default"].tertiary;
|
|
7538
|
+
}, function (_ref17) {
|
|
7539
|
+
var $selected = _ref17.$selected,
|
|
7540
|
+
$inRange = _ref17.$inRange,
|
|
7541
|
+
theme = _ref17.theme;
|
|
7542
|
+
return $selected ? theme.text.white : $inRange ? theme.text.white : theme.text.medium;
|
|
7543
|
+
}, function (_ref18) {
|
|
7544
|
+
var $selected = _ref18.$selected,
|
|
7545
|
+
$inRange = _ref18.$inRange,
|
|
7546
|
+
$isFuture = _ref18.$isFuture,
|
|
7547
|
+
$futureDateTime = _ref18.$futureDateTime,
|
|
7548
|
+
theme = _ref18.theme;
|
|
7549
|
+
return !$futureDateTime && $isFuture ? 'transparent' : $selected ? theme.disabled.primary : $inRange ? theme.disabled.primary : theme.disabled.primary;
|
|
7550
|
+
});
|
|
7551
|
+
var Year$1 = styled.div(_templateObject17$1 || (_templateObject17$1 = _taggedTemplateLiteralLoose$1(["\n font-family: NotoSans, sans-serif;\n font-weight: 500;\n font-size: 12px;\n"])));
|
|
7552
|
+
var Month$1 = styled.div(_templateObject18$1 || (_templateObject18$1 = _taggedTemplateLiteralLoose$1(["\n font-family: NotoSans, sans-serif;\n font-weight: 600;\n font-size: 14px;\n"])));
|
|
7553
|
+
var InputWrapper$2 = styled.div(_templateObject19$1 || (_templateObject19$1 = _taggedTemplateLiteralLoose$1(["\n display: flex;\n gap: 24px;\n"])));
|
|
7554
|
+
var TimeInputWrapper$1 = styled.div(_templateObject20$1 || (_templateObject20$1 = _taggedTemplateLiteralLoose$1(["\n position: relative;\n display: flex;\n align-items: center;\n"])));
|
|
7555
|
+
var StyledInput$1 = styled.input(_templateObject21$1 || (_templateObject21$1 = _taggedTemplateLiteralLoose$1(["\n outline: none;\n width: 60px;\n height: 30px;\n text-align: center;\n font-size: 16px;\n border-radius: 5px;\n background: ", ";\n border: ", ";\n color: ", ";\n"])), function (_ref19) {
|
|
7556
|
+
var theme = _ref19.theme;
|
|
7557
|
+
return theme.text.white;
|
|
7558
|
+
}, function (_ref20) {
|
|
7559
|
+
var theme = _ref20.theme;
|
|
7560
|
+
return "1px solid " + theme.border.extraBold;
|
|
7561
|
+
}, function (_ref21) {
|
|
7562
|
+
var theme = _ref21.theme;
|
|
7563
|
+
return theme.text.dark;
|
|
7564
|
+
});
|
|
7565
|
+
var _templateObject$a$1, _templateObject2$7$1, _templateObject3$4$1, _templateObject4$3$1, _templateObject5$3$1, _templateObject6$3$1;
|
|
7566
|
+
var OptionContainer$2 = styled.div(_templateObject$a$1 || (_templateObject$a$1 = _taggedTemplateLiteralLoose$1([""])));
|
|
7567
|
+
var OptionItem$2 = styled.div(_templateObject2$7$1 || (_templateObject2$7$1 = _taggedTemplateLiteralLoose$1(["\n border-bottom: ", ";\n"])), function (_ref) {
|
|
7568
|
+
var $optionBorder = _ref.$optionBorder,
|
|
7569
|
+
$isborder = _ref.$isborder,
|
|
7570
|
+
theme = _ref.theme;
|
|
7571
|
+
return $isborder ? $optionBorder || "1px solid " + theme.border.extraLight : '';
|
|
7572
|
+
});
|
|
7573
|
+
var OptionLabel$2 = styled.label(_templateObject3$4$1 || (_templateObject3$4$1 = _taggedTemplateLiteralLoose$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) {
|
|
7574
|
+
var $optionColor = _ref2.$optionColor,
|
|
7575
|
+
theme = _ref2.theme;
|
|
7576
|
+
switch ($optionColor) {
|
|
7577
|
+
case 'dark':
|
|
7578
|
+
return theme.text.dark;
|
|
7579
|
+
case 'medium':
|
|
7580
|
+
return theme.text.medium;
|
|
7581
|
+
case 'light':
|
|
7582
|
+
return theme.text.light;
|
|
7583
|
+
case 'white':
|
|
7584
|
+
return theme.text.white;
|
|
7585
|
+
case 'warning':
|
|
7586
|
+
return theme["default"].warning;
|
|
7587
|
+
case 'info':
|
|
7588
|
+
return theme["default"].info;
|
|
7589
|
+
case 'success':
|
|
7590
|
+
return theme["default"].success;
|
|
7591
|
+
case 'error':
|
|
7592
|
+
return theme["default"].error;
|
|
7593
|
+
default:
|
|
7594
|
+
return $optionColor || theme.text.medium;
|
|
7595
|
+
}
|
|
7596
|
+
});
|
|
7597
|
+
var SearchContainer$4 = styled.div(_templateObject4$3$1 || (_templateObject4$3$1 = _taggedTemplateLiteralLoose$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) {
|
|
7598
|
+
var $background = _ref3.$background,
|
|
7599
|
+
theme = _ref3.theme;
|
|
7600
|
+
switch ($background) {
|
|
7601
|
+
case 'dark':
|
|
7602
|
+
return theme.text.dark;
|
|
7603
|
+
case 'medium':
|
|
7604
|
+
return theme.text.medium;
|
|
7605
|
+
case 'light':
|
|
7606
|
+
return theme.text.light;
|
|
7607
|
+
case 'white':
|
|
7608
|
+
return theme.text.white;
|
|
7609
|
+
case 'warning':
|
|
7610
|
+
return theme["default"].warning;
|
|
7611
|
+
case 'info':
|
|
7612
|
+
return theme["default"].info;
|
|
7613
|
+
case 'success':
|
|
7614
|
+
return theme["default"].success;
|
|
7615
|
+
case 'error':
|
|
7616
|
+
return theme["default"].error;
|
|
7617
|
+
default:
|
|
7618
|
+
return $background;
|
|
7619
|
+
}
|
|
7620
|
+
}, function (_ref4) {
|
|
7621
|
+
var $borderBottom = _ref4.$borderBottom;
|
|
7622
|
+
return $borderBottom || 'none';
|
|
7623
|
+
}, function (_ref5) {
|
|
7624
|
+
var $borderRadius = _ref5.$borderRadius;
|
|
7625
|
+
return $borderRadius || '8px';
|
|
7626
|
+
});
|
|
7627
|
+
var SearchBar$4 = styled.input(_templateObject5$3$1 || (_templateObject5$3$1 = _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: 14px;\n background: ", ";\n color: ", ";\n &::placeholder {\n color: ", ";\n font-style: italic;\n }\n"])), function (_ref6) {
|
|
7628
|
+
var theme = _ref6.theme;
|
|
7629
|
+
return theme["default"].tertiary;
|
|
7630
|
+
}, function (_ref7) {
|
|
7631
|
+
var $inputColor = _ref7.$inputColor,
|
|
7632
|
+
theme = _ref7.theme;
|
|
7633
|
+
switch ($inputColor) {
|
|
7634
|
+
case 'dark':
|
|
7635
|
+
return theme.text.dark;
|
|
7636
|
+
case 'medium':
|
|
7637
|
+
return theme.text.medium;
|
|
7638
|
+
case 'light':
|
|
7639
|
+
return theme.text.light;
|
|
7640
|
+
case 'white':
|
|
7641
|
+
return theme.text.white;
|
|
7642
|
+
case 'warning':
|
|
7643
|
+
return theme["default"].warning;
|
|
7644
|
+
case 'info':
|
|
7645
|
+
return theme["default"].info;
|
|
7646
|
+
case 'success':
|
|
7647
|
+
return theme["default"].success;
|
|
7648
|
+
case 'error':
|
|
7649
|
+
return theme["default"].error;
|
|
7650
|
+
default:
|
|
7651
|
+
return $inputColor;
|
|
7652
|
+
}
|
|
7653
|
+
}, function (_ref8) {
|
|
7654
|
+
var $placeholderColor = _ref8.$placeholderColor,
|
|
7655
|
+
theme = _ref8.theme;
|
|
7656
|
+
switch ($placeholderColor) {
|
|
7657
|
+
case 'dark':
|
|
7658
|
+
return theme.text.dark;
|
|
7659
|
+
case 'medium':
|
|
7660
|
+
return theme.text.medium;
|
|
7661
|
+
case 'light':
|
|
7662
|
+
return theme.text.light;
|
|
7663
|
+
case 'white':
|
|
7664
|
+
return theme.text.white;
|
|
7665
|
+
case 'warning':
|
|
7666
|
+
return theme["default"].warning;
|
|
7667
|
+
case 'info':
|
|
7668
|
+
return theme["default"].info;
|
|
7669
|
+
case 'success':
|
|
7670
|
+
return theme["default"].success;
|
|
7671
|
+
case 'error':
|
|
7672
|
+
return theme["default"].error;
|
|
7673
|
+
default:
|
|
7674
|
+
return $placeholderColor;
|
|
7675
|
+
}
|
|
7676
|
+
});
|
|
7677
|
+
var Text$1 = styled.span(_templateObject6$3$1 || (_templateObject6$3$1 = _taggedTemplateLiteralLoose$1(["\n word-break: break-word;\n"])));
|
|
7678
|
+
var _templateObject$b$1, _templateObject2$8$1, _templateObject3$5$1, _templateObject4$4$1, _templateObject5$4$1, _templateObject6$4$1, _templateObject7$2$1, _templateObject8$2$1, _templateObject9$2$1, _templateObject10$2$1, _templateObject11$2$1;
|
|
7679
|
+
var DropdownContainer$2 = styled.div(_templateObject$b$1 || (_templateObject$b$1 = _taggedTemplateLiteralLoose$1(["\n width: ", ";\n height: ", ";\n max-width: 100%;\n position: relative;\n max-height: ", ";\n"])), function (_ref) {
|
|
7680
|
+
var $width = _ref.$width;
|
|
7681
|
+
return $width || '100%';
|
|
7682
|
+
}, function (_ref2) {
|
|
7683
|
+
var $height = _ref2.$height;
|
|
7684
|
+
return $height || '100%';
|
|
7685
|
+
}, function (_ref3) {
|
|
7686
|
+
var $replaceLabel = _ref3.$replaceLabel;
|
|
7687
|
+
return $replaceLabel ? 'calc(100% - 22px)' : '';
|
|
7688
|
+
});
|
|
7689
|
+
var DropdownButton$2 = styled.div(_templateObject2$8$1 || (_templateObject2$8$1 = _taggedTemplateLiteralLoose$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) {
|
|
7690
|
+
var $replaceLabel = _ref4.$replaceLabel;
|
|
7691
|
+
return $replaceLabel ? 'auto' : '';
|
|
7692
|
+
}, function (_ref5) {
|
|
7693
|
+
var $size = _ref5.$size;
|
|
7694
|
+
switch ($size) {
|
|
7695
|
+
case 'small':
|
|
7696
|
+
return '9px 12px';
|
|
7697
|
+
case 'large':
|
|
7698
|
+
return '24px 12px';
|
|
7699
|
+
default:
|
|
7700
|
+
return '14px 12px';
|
|
7701
|
+
}
|
|
7702
|
+
}, function (_ref6) {
|
|
7703
|
+
var $width = _ref6.$width;
|
|
7704
|
+
return $width ? $width : '100%';
|
|
7705
|
+
}, function (_ref7) {
|
|
7706
|
+
var $height = _ref7.$height;
|
|
7707
|
+
return $height || '100%';
|
|
7708
|
+
}, function (_ref8) {
|
|
7709
|
+
var $border = _ref8.$border,
|
|
7710
|
+
$isOpen = _ref8.$isOpen,
|
|
7711
|
+
theme = _ref8.theme;
|
|
7712
|
+
return $isOpen ? "1px solid " + theme.text.dark : $border || "1px solid " + theme.border.light;
|
|
7713
|
+
}, function (_ref9) {
|
|
7714
|
+
var $borderRadius = _ref9.$borderRadius;
|
|
7715
|
+
return $borderRadius || '8px';
|
|
7716
|
+
}, function (_ref10) {
|
|
7717
|
+
var $disabled = _ref10.$disabled;
|
|
7718
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
7719
|
+
}, function (_ref11) {
|
|
7720
|
+
var $background = _ref11.$background,
|
|
7721
|
+
$disabled = _ref11.$disabled,
|
|
7722
|
+
theme = _ref11.theme;
|
|
7723
|
+
switch ($background) {
|
|
7724
|
+
case 'dark':
|
|
7725
|
+
return $disabled ? theme.disabled.secondary : theme.text.dark;
|
|
7726
|
+
case 'medium':
|
|
7727
|
+
return $disabled ? theme.disabled.secondary : theme.text.medium;
|
|
7728
|
+
case 'light':
|
|
7729
|
+
return $disabled ? theme.disabled.secondary : theme.text.light;
|
|
7730
|
+
case 'white':
|
|
7731
|
+
return $disabled ? theme.disabled.secondary : theme.text.white;
|
|
7732
|
+
case 'warning':
|
|
7733
|
+
return $disabled ? theme.disabled.secondary : theme["default"].warning;
|
|
7734
|
+
case 'info':
|
|
7735
|
+
return $disabled ? theme.disabled.secondary : theme["default"].info;
|
|
7736
|
+
case 'success':
|
|
7737
|
+
return $disabled ? theme.disabled.secondary : theme["default"].success;
|
|
7738
|
+
case 'error':
|
|
7739
|
+
return $disabled ? theme.disabled.secondary : theme["default"].error;
|
|
7740
|
+
default:
|
|
7741
|
+
return $disabled ? theme.disabled.secondary : $background;
|
|
7742
|
+
}
|
|
7743
|
+
}, function (_ref12) {
|
|
7744
|
+
var $color = _ref12.$color,
|
|
7745
|
+
theme = _ref12.theme;
|
|
7746
|
+
return $color || theme.text.medium;
|
|
7747
|
+
}, function (_ref13) {
|
|
7748
|
+
var $size = _ref13.$size;
|
|
7749
|
+
switch ($size) {
|
|
7750
|
+
case 'small':
|
|
7751
|
+
return '12px';
|
|
7752
|
+
case 'large':
|
|
7753
|
+
return '16px';
|
|
7754
|
+
default:
|
|
7755
|
+
return '14px';
|
|
7756
|
+
}
|
|
7757
|
+
}, function (_ref14) {
|
|
7758
|
+
var $size = _ref14.$size;
|
|
7759
|
+
switch ($size) {
|
|
7760
|
+
case 'small':
|
|
7761
|
+
return '12px';
|
|
7762
|
+
case 'large':
|
|
7763
|
+
return '16px';
|
|
7764
|
+
default:
|
|
7765
|
+
return '14px';
|
|
7766
|
+
}
|
|
7767
|
+
});
|
|
7768
|
+
var TitleText$2 = styled.div(_templateObject3$5$1 || (_templateObject3$5$1 = _taggedTemplateLiteralLoose$1(["\n width: max-content;\n position: relative;\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n\n color: ", ";\n"])), function (_ref15) {
|
|
7769
|
+
var $titleWeight = _ref15.$titleWeight;
|
|
7770
|
+
return $titleWeight != null ? $titleWeight : '500';
|
|
7771
|
+
}, function (_ref16) {
|
|
7772
|
+
var $titleSize = _ref16.$titleSize,
|
|
7773
|
+
$size = _ref16.$size;
|
|
7774
|
+
return $titleSize ? $titleSize + "px" : $size === 'small' ? '14px' : $size === 'large' ? '18px' : '16px';
|
|
7775
|
+
}, function (_ref17) {
|
|
7776
|
+
var $titleSize = _ref17.$titleSize,
|
|
7777
|
+
$size = _ref17.$size;
|
|
7778
|
+
return $titleSize ? $titleSize + "px" : $size === 'small' ? '14px' : $size === 'large' ? '18px' : '16px';
|
|
7779
|
+
}, function (_ref18) {
|
|
7780
|
+
var $titleColor = _ref18.$titleColor,
|
|
7781
|
+
theme = _ref18.theme;
|
|
7782
|
+
switch ($titleColor) {
|
|
7783
|
+
case 'dark':
|
|
7784
|
+
return theme.text.dark;
|
|
7785
|
+
case 'medium':
|
|
7786
|
+
return theme.text.medium;
|
|
7787
|
+
case 'light':
|
|
7788
|
+
return theme.text.light;
|
|
7789
|
+
case 'white':
|
|
7790
|
+
return theme.text.white;
|
|
7791
|
+
case 'warning':
|
|
7792
|
+
return theme["default"].warning;
|
|
7793
|
+
case 'info':
|
|
7794
|
+
return theme["default"].info;
|
|
7795
|
+
case 'success':
|
|
7796
|
+
return theme["default"].success;
|
|
7797
|
+
case 'error':
|
|
7798
|
+
return theme["default"].error;
|
|
7799
|
+
default:
|
|
7800
|
+
return $titleColor;
|
|
7801
|
+
}
|
|
7802
|
+
});
|
|
7803
|
+
var Container$2$1 = styled.div(_templateObject4$4$1 || (_templateObject4$4$1 = _taggedTemplateLiteralLoose$1(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n"])));
|
|
7804
|
+
var LabelText$2 = styled.div(_templateObject5$4$1 || (_templateObject5$4$1 = _taggedTemplateLiteralLoose$1(["\n font-size: 14px;\n font-weight: 400;\n font-style:", ";\n color: ", ";\n"])), function (_ref19) {
|
|
7805
|
+
var $labelStyle = _ref19.$labelStyle;
|
|
7806
|
+
return $labelStyle;
|
|
7807
|
+
}, function (_ref20) {
|
|
7808
|
+
var theme = _ref20.theme;
|
|
7809
|
+
return theme.text.medium;
|
|
7810
|
+
});
|
|
7811
|
+
var DropdownMenu$2 = styled.div(_templateObject6$4$1 || (_templateObject6$4$1 = _taggedTemplateLiteralLoose$1(["\n max-height: 156px;\n padding: 4px;\n box-sizing: border-box;\n border: ", ";\n border-radius: ", ";\n width: ", ";\n background: ", ";\n display: flex;\n flex-direction: column;\n gap: 4px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n margin-top: 8px;\n overflow-y: auto;\n position: absolute;\n z-index: 2;\n scrollbar-width: thin;\n"])), function (_ref21) {
|
|
7812
|
+
var theme = _ref21.theme;
|
|
7813
|
+
return "1px solid " + theme.border.light;
|
|
7814
|
+
}, function (_ref22) {
|
|
7815
|
+
var $optionsBorderRadius = _ref22.$optionsBorderRadius;
|
|
7816
|
+
return $optionsBorderRadius || '8px';
|
|
7817
|
+
}, function (_ref23) {
|
|
7818
|
+
var $width = _ref23.$width;
|
|
7819
|
+
return $width ? $width : 'max-content';
|
|
7820
|
+
}, function (_ref24) {
|
|
7821
|
+
var $menuBackground = _ref24.$menuBackground,
|
|
7822
|
+
theme = _ref24.theme;
|
|
7823
|
+
return $menuBackground || theme.accent.light_2;
|
|
7824
|
+
});
|
|
7825
|
+
var SelectedOptionsWrapper$2 = styled.div(_templateObject7$2$1 || (_templateObject7$2$1 = _taggedTemplateLiteralLoose$1(["\n display: flex;\n flex-wrap: wrap;\n gap: 6px;\n height: 100%;\n"])));
|
|
7826
|
+
var SelectedOptionDiv$2 = styled.div(_templateObject8$2$1 || (_templateObject8$2$1 = _taggedTemplateLiteralLoose$1(["\n display: flex;\n align-items: center;\n background: ", ";\n border-radius: 4px;\n padding: 6px 8px;\n box-sizing: border-box;\n gap: 6px;\n font-family: NotoSans, sans-serif;\n font-style: normal;\n font-weight: 400;\n font-size: 12px;\n line-height: 12px;\n color: ", ";\n"])), function (_ref25) {
|
|
7827
|
+
var $selectedOptionBackground = _ref25.$selectedOptionBackground,
|
|
7828
|
+
$disabled = _ref25.$disabled,
|
|
7829
|
+
theme = _ref25.theme;
|
|
7830
|
+
switch ($selectedOptionBackground) {
|
|
7831
|
+
case 'dark':
|
|
7832
|
+
return theme.text.dark;
|
|
7833
|
+
case 'medium':
|
|
7834
|
+
return theme.text.medium;
|
|
7835
|
+
case 'light':
|
|
7836
|
+
return theme.text.light;
|
|
7837
|
+
case 'white':
|
|
7838
|
+
return theme.text.white;
|
|
7839
|
+
case 'warning':
|
|
7840
|
+
return $disabled ? theme.disabled.warning : theme["default"].warning;
|
|
7841
|
+
case 'info':
|
|
7842
|
+
return $disabled ? theme.disabled.info : theme["default"].info;
|
|
7843
|
+
case 'success':
|
|
7844
|
+
return $disabled ? theme.disabled.success : theme["default"].success;
|
|
7845
|
+
case 'error':
|
|
7846
|
+
return $disabled ? theme.disabled.error : theme["default"].error;
|
|
7847
|
+
default:
|
|
7848
|
+
return $selectedOptionBackground || theme.accent.light_2;
|
|
7849
|
+
}
|
|
7850
|
+
}, function (_ref26) {
|
|
7851
|
+
var $selectedOptionColor = _ref26.$selectedOptionColor,
|
|
7852
|
+
theme = _ref26.theme;
|
|
7853
|
+
switch ($selectedOptionColor) {
|
|
7854
|
+
case 'dark':
|
|
7855
|
+
return theme.text.dark;
|
|
7856
|
+
case 'medium':
|
|
7857
|
+
return theme.text.medium;
|
|
7858
|
+
case 'light':
|
|
7859
|
+
return theme.text.light;
|
|
7860
|
+
case 'white':
|
|
7861
|
+
return theme.text.white;
|
|
7862
|
+
case 'warning':
|
|
7863
|
+
return theme["default"].warning;
|
|
7864
|
+
case 'info':
|
|
7865
|
+
return theme["default"].info;
|
|
7866
|
+
case 'success':
|
|
7867
|
+
return theme["default"].success;
|
|
7868
|
+
case 'error':
|
|
7869
|
+
return theme["default"].error;
|
|
7870
|
+
default:
|
|
7871
|
+
return $selectedOptionColor;
|
|
7872
|
+
}
|
|
7873
|
+
});
|
|
7874
|
+
var RemoveIcon$2 = styled.div(_templateObject9$2$1 || (_templateObject9$2$1 = _taggedTemplateLiteralLoose$1(["\n width: 14px;\n height: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: ", ";\n border-radius: 50%;\n box-sizing: border-box;\n background: ", ";\n > div {\n cursor: ", ";\n }\n"])), function (_ref27) {
|
|
7875
|
+
var $disabled = _ref27.$disabled;
|
|
7876
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
7877
|
+
}, function (_ref28) {
|
|
7878
|
+
var removeIconBackground = _ref28.removeIconBackground,
|
|
7879
|
+
$type = _ref28.$type,
|
|
7880
|
+
theme = _ref28.theme;
|
|
7881
|
+
return removeIconBackground ? removeIconBackground : $type === 'remove' ? '#5E5E5E24' : theme.disabled.primary;
|
|
7882
|
+
}, function (_ref29) {
|
|
7883
|
+
var $disabled = _ref29.$disabled;
|
|
7884
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
7885
|
+
});
|
|
7886
|
+
var TextWrapper$1 = styled.div(_templateObject10$2$1 || (_templateObject10$2$1 = _taggedTemplateLiteralLoose$1(["\n display: flex;\n align-items: center;\n gap: 4px;\n"])));
|
|
7887
|
+
var Asterisk$2 = styled.span(_templateObject11$2$1 || (_templateObject11$2$1 = _taggedTemplateLiteralLoose$1(["\n color: ", ";\n font-size: 10px;\n height: fit-content;\n position: absolute;\n top: -2px;\n right: -8px;\n"])), function (_ref30) {
|
|
7888
|
+
var theme = _ref30.theme;
|
|
7889
|
+
return theme["default"].error;
|
|
7890
|
+
});
|
|
7891
|
+
var _templateObject$c$1, _templateObject2$9$1, _templateObject3$6$1, _templateObject4$5$1, _templateObject5$5$1, _templateObject6$5$1, _templateObject7$3$1, _templateObject8$3$1, _templateObject9$3$1, _templateObject10$3$1;
|
|
7892
|
+
var TitleText$1$1 = styled.label(_templateObject$c$1 || (_templateObject$c$1 = _taggedTemplateLiteralLoose$1(["\n position: relative;\n width: max-content;\n white-space: nowrap;\n font-weight: ", ";\n ", "\n\n color: ", ";\n"])), function (_ref) {
|
|
7893
|
+
var $titleWeight = _ref.$titleWeight;
|
|
7894
|
+
return $titleWeight || 500;
|
|
7895
|
+
}, function (_ref2) {
|
|
7896
|
+
var $size = _ref2.$size;
|
|
7897
|
+
switch ($size) {
|
|
7898
|
+
case 'small':
|
|
7899
|
+
return "\n font-size: 12px;\n line-height: 12px;\n ";
|
|
7900
|
+
case 'medium':
|
|
7901
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
7902
|
+
case 'large':
|
|
7903
|
+
return "\n font-size: 16px;\n line-height: 16px;\n ";
|
|
7904
|
+
default:
|
|
7905
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
7906
|
+
}
|
|
7907
|
+
}, function (_ref3) {
|
|
7908
|
+
var $titlecolor = _ref3.$titlecolor,
|
|
7909
|
+
theme = _ref3.theme;
|
|
7910
|
+
switch ($titlecolor) {
|
|
7911
|
+
case 'dark':
|
|
7912
|
+
return theme.text.dark;
|
|
7913
|
+
case 'medium':
|
|
7914
|
+
return theme.text.medium;
|
|
7915
|
+
case 'light':
|
|
7916
|
+
return theme.text.light;
|
|
7917
|
+
case 'white':
|
|
7918
|
+
return theme.text.white;
|
|
7919
|
+
case 'warning':
|
|
7920
|
+
return theme["default"].warning;
|
|
7921
|
+
case 'info':
|
|
7922
|
+
return theme["default"].info;
|
|
7923
|
+
case 'success':
|
|
7924
|
+
return theme["default"].success;
|
|
7925
|
+
case 'error':
|
|
7926
|
+
return theme["default"].error;
|
|
7927
|
+
default:
|
|
7928
|
+
return $titlecolor;
|
|
7929
|
+
}
|
|
7930
|
+
});
|
|
7931
|
+
var DropdownContainer$1$1 = styled.div(_templateObject2$9$1 || (_templateObject2$9$1 = _taggedTemplateLiteralLoose$1(["\n width: ", ";\n max-width: 100%;\n position: relative;\n gap: 8px;\n display: flex;\n"])), function (_ref4) {
|
|
7932
|
+
var $width = _ref4.$width;
|
|
7933
|
+
return $width || '100%';
|
|
7934
|
+
});
|
|
7935
|
+
var DropdownButton$1$1 = styled.div(_templateObject3$6$1 || (_templateObject3$6$1 = _taggedTemplateLiteralLoose$1(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n cursor: ", ";\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n width: ", ";\n height: ", ";\n border-radius: ", ";\n transition: all 0.3s ease;\n border: ", ";\n gap: 6px;\n padding: ", ";\n background: ", ";\n font-size: ", ";\n line-height: ", ";\n"])), function (_ref5) {
|
|
7936
|
+
var $disabled = _ref5.$disabled;
|
|
7937
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
7938
|
+
}, function (_ref6) {
|
|
7939
|
+
var $width = _ref6.$width;
|
|
7940
|
+
return $width ? $width : '100%';
|
|
7941
|
+
}, function (_ref7) {
|
|
7942
|
+
var $selectHeight = _ref7.$selectHeight;
|
|
7943
|
+
return $selectHeight || 'auto';
|
|
7944
|
+
}, function (_ref8) {
|
|
7945
|
+
var $borderRadius = _ref8.$borderRadius;
|
|
7946
|
+
return $borderRadius || '8px';
|
|
7947
|
+
}, function (_ref9) {
|
|
7948
|
+
var $border = _ref9.$border,
|
|
7949
|
+
$isOpen = _ref9.$isOpen,
|
|
7950
|
+
theme = _ref9.theme;
|
|
7951
|
+
return $isOpen ? "1px solid " + theme.text.dark : $border || "1px solid " + theme.border.light;
|
|
7952
|
+
}, function (_ref10) {
|
|
7953
|
+
var $size = _ref10.$size;
|
|
7954
|
+
switch ($size) {
|
|
7955
|
+
case 'small':
|
|
7956
|
+
return '9px 12px';
|
|
7957
|
+
case 'large':
|
|
7958
|
+
return '24px 12px';
|
|
7959
|
+
default:
|
|
7960
|
+
return '13px 12px';
|
|
7961
|
+
}
|
|
7962
|
+
}, function (_ref11) {
|
|
7963
|
+
var $background = _ref11.$background,
|
|
7964
|
+
$disabled = _ref11.$disabled,
|
|
7965
|
+
theme = _ref11.theme;
|
|
7966
|
+
return $disabled ? theme.border.light : $background || theme.accent.light_2;
|
|
7967
|
+
}, function (_ref12) {
|
|
7968
|
+
var $size = _ref12.$size;
|
|
7969
|
+
switch ($size) {
|
|
7970
|
+
case 'small':
|
|
7971
|
+
return '12px';
|
|
7972
|
+
case 'large':
|
|
7973
|
+
return '16px';
|
|
7974
|
+
default:
|
|
7975
|
+
return '14px';
|
|
7976
|
+
}
|
|
7977
|
+
}, function (_ref13) {
|
|
7978
|
+
var $size = _ref13.$size;
|
|
7979
|
+
switch ($size) {
|
|
7980
|
+
case 'small':
|
|
7981
|
+
return '12px';
|
|
7982
|
+
case 'large':
|
|
7983
|
+
return '16px';
|
|
7984
|
+
default:
|
|
7985
|
+
return '14px';
|
|
7986
|
+
}
|
|
7987
|
+
});
|
|
7988
|
+
var Options$1 = styled.div(_templateObject4$5$1 || (_templateObject4$5$1 = _taggedTemplateLiteralLoose$1(["\n color: ", ";\n padding: 5px 10px;\n width: 100%;\n font-size: ", ";\n font-weight: ", ";\n background-color: ", ";\n\n \n &:hover {\n background-color: ", ";\n color: ", ";\n cursor: pointer;\n }\n\n"])), function (_ref14) {
|
|
7989
|
+
var $optionColor = _ref14.$optionColor,
|
|
7990
|
+
$optionSelected = _ref14.$optionSelected,
|
|
7991
|
+
theme = _ref14.theme;
|
|
7992
|
+
return $optionSelected ? theme.text.white : $optionColor || theme.text.medium;
|
|
7993
|
+
}, function (_ref15) {
|
|
7994
|
+
var $optionFontSize = _ref15.$optionFontSize;
|
|
7995
|
+
return $optionFontSize || '14px';
|
|
7996
|
+
}, function (_ref16) {
|
|
7997
|
+
var $optionFontWeight = _ref16.$optionFontWeight;
|
|
7998
|
+
return $optionFontWeight || 400;
|
|
7999
|
+
}, function (_ref17) {
|
|
8000
|
+
var $optionBackgroundColor = _ref17.$optionBackgroundColor,
|
|
8001
|
+
$optionSelected = _ref17.$optionSelected,
|
|
8002
|
+
theme = _ref17.theme;
|
|
8003
|
+
return $optionSelected ? theme["default"].primary : $optionBackgroundColor || theme["default"].tertiary;
|
|
8004
|
+
}, function (_ref18) {
|
|
8005
|
+
var theme = _ref18.theme;
|
|
8006
|
+
return theme.hover.primary;
|
|
8007
|
+
}, function (_ref19) {
|
|
8008
|
+
var theme = _ref19.theme;
|
|
8009
|
+
return theme.text.white;
|
|
8010
|
+
});
|
|
8011
|
+
var LabelText$1$1 = styled.div(_templateObject5$5$1 || (_templateObject5$5$1 = _taggedTemplateLiteralLoose$1(["\n font-size: ", ";\n line-height: ", ";\n font-style: ", ";\n color: ", ";\n"])), function (_ref20) {
|
|
8012
|
+
var $size = _ref20.$size;
|
|
8013
|
+
switch ($size) {
|
|
8014
|
+
case 'small':
|
|
8015
|
+
return '14px';
|
|
8016
|
+
case 'large':
|
|
8017
|
+
return '16px';
|
|
8018
|
+
default:
|
|
8019
|
+
return '14px';
|
|
8020
|
+
}
|
|
8021
|
+
}, function (_ref21) {
|
|
8022
|
+
var $size = _ref21.$size;
|
|
8023
|
+
switch ($size) {
|
|
8024
|
+
case 'small':
|
|
8025
|
+
return '12px';
|
|
8026
|
+
case 'large':
|
|
8027
|
+
return '16px';
|
|
8028
|
+
default:
|
|
8029
|
+
return '14px';
|
|
8030
|
+
}
|
|
8031
|
+
}, function (_ref22) {
|
|
8032
|
+
var $fontStyle = _ref22.$fontStyle;
|
|
8033
|
+
return $fontStyle || '';
|
|
8034
|
+
}, function (_ref23) {
|
|
8035
|
+
var $color = _ref23.$color,
|
|
8036
|
+
$disabled = _ref23.$disabled,
|
|
8037
|
+
theme = _ref23.theme;
|
|
8038
|
+
return $disabled ? theme.text.medium : $color || theme.text.medium;
|
|
8039
|
+
});
|
|
8040
|
+
var NoOptions$1 = styled(Span$1)(_templateObject6$5$1 || (_templateObject6$5$1 = _taggedTemplateLiteralLoose$1(["\n display: flex;\n align-items: center;\n height: 100%;\n padding: 12px;\n font-size: 14px;\n font-weight: 400;\n"])));
|
|
8041
|
+
var DropdownMenu$1$1 = styled.div(_templateObject7$3$1 || (_templateObject7$3$1 = _taggedTemplateLiteralLoose$1(["\n height: auto;\n max-height: 170px;\n border: ", ";\n border-radius: ", ";\n min-width: 100%;\n width: ", ";\n background: ", ";\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n overflow: hidden; \n position: absolute;\n z-index: 1;\n ", "\n ", "\n z-index: 2;\n"])), function (_ref24) {
|
|
8042
|
+
var theme = _ref24.theme;
|
|
8043
|
+
return "1px solid " + theme.border.light;
|
|
8044
|
+
}, function (_ref25) {
|
|
8045
|
+
var $optionsBorderRadius = _ref25.$optionsBorderRadius;
|
|
8046
|
+
return $optionsBorderRadius || '8px';
|
|
8047
|
+
}, function (_ref26) {
|
|
8048
|
+
var $width = _ref26.$width;
|
|
8049
|
+
return $width ? $width : 'max-content';
|
|
8050
|
+
}, function (_ref27) {
|
|
8051
|
+
var $menuBackground = _ref27.$menuBackground,
|
|
8052
|
+
theme = _ref27.theme;
|
|
8053
|
+
return $menuBackground || theme.accent.light_2;
|
|
8054
|
+
}, function (_ref28) {
|
|
8055
|
+
var $top = _ref28.$top;
|
|
8056
|
+
return $top && "top: " + $top + ";";
|
|
8057
|
+
}, function (_ref29) {
|
|
8058
|
+
var $bottom = _ref29.$bottom;
|
|
8059
|
+
return $bottom && "bottom: " + $bottom + ";";
|
|
8060
|
+
});
|
|
8061
|
+
var OptionsWrapper$2 = styled.div(_templateObject8$3$1 || (_templateObject8$3$1 = _taggedTemplateLiteralLoose$1(["\n max-height: 150px; \n overflow-y: auto;\n scrollbar-width: thin;\n width: 100%;\n"])));
|
|
8062
|
+
var SearchContainer$1$1 = styled.div(_templateObject9$3$1 || (_templateObject9$3$1 = _taggedTemplateLiteralLoose$1(["\n width: 100%;\n background: ", ";\n border: ", ";\n border-bottom: ", ";\n border-radius: ", ";\n padding: 10px 12px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 8px;\n position: sticky;\n top: 0;\n z-index: 10; \n"])), function (_ref30) {
|
|
8063
|
+
var $background = _ref30.$background,
|
|
8064
|
+
theme = _ref30.theme;
|
|
8065
|
+
return $background || theme.accent.light_2;
|
|
8066
|
+
}, function (_ref31) {
|
|
8067
|
+
var $border = _ref31.$border;
|
|
8068
|
+
return $border || 'none';
|
|
8069
|
+
}, function (_ref32) {
|
|
8070
|
+
var theme = _ref32.theme;
|
|
8071
|
+
return "1px solid " + theme.border.light;
|
|
8072
|
+
}, function (_ref33) {
|
|
8073
|
+
var $borderRadius = _ref33.$borderRadius;
|
|
8074
|
+
return $borderRadius || '8px 8px 0 0';
|
|
8075
|
+
});
|
|
8076
|
+
var SearchBar$1$1 = styled.input(_templateObject10$3$1 || (_templateObject10$3$1 = _taggedTemplateLiteralLoose$1(["\n border: none;\n width: 100%;\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n font-style: normal;\n font-size: 14px;\n line-height: normal;\n background: transparent;\n color: ", ";\n outline: none;\n \n &::placeholder {\n color: ", ";\n font-style: italic;\n }\n"])), function (_ref34) {
|
|
8077
|
+
var $inputColor = _ref34.$inputColor,
|
|
8078
|
+
theme = _ref34.theme;
|
|
8079
|
+
return $inputColor || theme.text.medium;
|
|
8080
|
+
}, function (_ref35) {
|
|
8081
|
+
var $placeholderColor = _ref35.$placeholderColor,
|
|
8082
|
+
theme = _ref35.theme;
|
|
8083
|
+
return $placeholderColor || theme.text.light;
|
|
8084
|
+
});
|
|
8085
|
+
var _templateObject$d$1, _templateObject2$a$1, _templateObject3$7$1;
|
|
8086
|
+
var SelectedOptionsWrapper$1$1 = styled.div(_templateObject$d$1 || (_templateObject$d$1 = _taggedTemplateLiteralLoose$1(["\n display: flex;\n flex-wrap: wrap;\n gap: 6px;\n"])));
|
|
8087
|
+
var SelectedOptionDiv$1$1 = styled.div(_templateObject2$a$1 || (_templateObject2$a$1 = _taggedTemplateLiteralLoose$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) {
|
|
8088
|
+
var $selectedOptionBackground = _ref.$selectedOptionBackground,
|
|
8089
|
+
$type = _ref.$type,
|
|
8090
|
+
theme = _ref.theme;
|
|
8091
|
+
return $selectedOptionBackground || $type === 'remove' ? theme.disabled.error : theme.accent.softBlue;
|
|
8092
|
+
}, function (_ref2) {
|
|
8093
|
+
var $selectedOptionColor = _ref2.$selectedOptionColor,
|
|
8094
|
+
$type = _ref2.$type,
|
|
8095
|
+
theme = _ref2.theme;
|
|
8096
|
+
return $selectedOptionColor || $type === 'remove' ? theme["default"].error : theme.brand.primary;
|
|
8097
|
+
});
|
|
8098
|
+
var RemoveIcon$1$1 = styled.div(_templateObject3$7$1 || (_templateObject3$7$1 = _taggedTemplateLiteralLoose$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) {
|
|
8099
|
+
var $removeIconBackground = _ref3.$removeIconBackground,
|
|
8100
|
+
$type = _ref3.$type,
|
|
8101
|
+
theme = _ref3.theme;
|
|
8102
|
+
return $removeIconBackground || $type === 'remove' ? '#5E5E5E24' : theme.disabled.primary;
|
|
8103
|
+
});
|
|
8104
|
+
var _templateObject$e$1, _templateObject2$b$1;
|
|
8105
|
+
var SearchContainer$2$1 = styled.div(_templateObject$e$1 || (_templateObject$e$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 // cursor: ", ";\n transition: all 0.3s ease;\n\n &:focus-within {\n border: ", ";\n }\n"])), function (_ref) {
|
|
8106
|
+
var $background = _ref.$background,
|
|
8107
|
+
theme = _ref.theme;
|
|
8108
|
+
return $background || theme["default"].tertiary;
|
|
8109
|
+
}, function (_ref2) {
|
|
8110
|
+
var $border = _ref2.$border,
|
|
8111
|
+
theme = _ref2.theme;
|
|
8112
|
+
return $border || "1px solid " + theme.border.light;
|
|
8113
|
+
}, function (_ref3) {
|
|
8114
|
+
var $borderRadius = _ref3.$borderRadius;
|
|
8115
|
+
return $borderRadius || '8px';
|
|
8116
|
+
}, function (_ref4) {
|
|
8117
|
+
var $disabled = _ref4.$disabled;
|
|
8118
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
8119
|
+
}, function (_ref5) {
|
|
8120
|
+
var theme = _ref5.theme;
|
|
8121
|
+
return "1px solid " + theme.text.dark;
|
|
8122
|
+
});
|
|
8123
|
+
var SearchBar$2$1 = styled.input(_templateObject2$b$1 || (_templateObject2$b$1 = _taggedTemplateLiteralLoose$1(["\n border: none;\n width: 100%;\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n font-style: normal;\n font-size: 14px;\n line-height: normal;\n background: ", ";\n color: ", ";\n &::placeholder {\n color: ", ";\n font-style: italic;\n line-height: 100%;\n }\n"])), function (_ref6) {
|
|
8124
|
+
var theme = _ref6.theme;
|
|
8125
|
+
return theme["default"].tertiary;
|
|
8126
|
+
}, function (_ref7) {
|
|
8127
|
+
var $inputColor = _ref7.$inputColor,
|
|
8128
|
+
theme = _ref7.theme;
|
|
8129
|
+
return $inputColor || theme.text.medium;
|
|
8130
|
+
}, function (_ref8) {
|
|
8131
|
+
var $placeholderColor = _ref8.$placeholderColor,
|
|
8132
|
+
theme = _ref8.theme;
|
|
8133
|
+
return $placeholderColor || theme.text.light;
|
|
8134
|
+
});
|
|
8135
|
+
var _templateObject$f$1, _templateObject2$c$1, _templateObject3$8$1, _templateObject4$6$1, _templateObject5$6$1;
|
|
8136
|
+
var Label$2 = styled.label(_templateObject$f$1 || (_templateObject$f$1 = _taggedTemplateLiteralLoose$1(["\n cursor: auto;\n width: 100%;\n font-weight: ", ";\n position: relative;\n white-space: nowrap;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref) {
|
|
8137
|
+
var $fontWeight = _ref.$fontWeight;
|
|
8138
|
+
return $fontWeight != null ? $fontWeight : '500';
|
|
8139
|
+
}, function (_ref2) {
|
|
8140
|
+
var $size = _ref2.$size;
|
|
8141
|
+
switch ($size) {
|
|
8142
|
+
case 'small':
|
|
8143
|
+
return "\n font-size: 12px;\n line-height: 12px;\n ";
|
|
8144
|
+
case 'medium':
|
|
8145
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
8146
|
+
case 'large':
|
|
8147
|
+
return "\n font-size: 16px;\n line-height: 16px;\n ";
|
|
8148
|
+
default:
|
|
8149
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
8150
|
+
}
|
|
8151
|
+
}, function (_ref3) {
|
|
8152
|
+
var $titlecolor = _ref3.$titlecolor,
|
|
8153
|
+
theme = _ref3.theme;
|
|
8154
|
+
switch ($titlecolor) {
|
|
8155
|
+
case 'dark':
|
|
8156
|
+
return theme.text.dark;
|
|
8157
|
+
case 'medium':
|
|
8158
|
+
return theme.text.medium;
|
|
8159
|
+
case 'light':
|
|
8160
|
+
return theme.text.light;
|
|
8161
|
+
case 'white':
|
|
8162
|
+
return theme.text.white;
|
|
8163
|
+
case 'warning':
|
|
8164
|
+
return theme["default"].warning;
|
|
8165
|
+
case 'info':
|
|
8166
|
+
return theme["default"].info;
|
|
8167
|
+
case 'success':
|
|
8168
|
+
return theme["default"].success;
|
|
8169
|
+
case 'error':
|
|
8170
|
+
return theme["default"].error;
|
|
8171
|
+
default:
|
|
8172
|
+
return $titlecolor;
|
|
8173
|
+
}
|
|
8174
|
+
});
|
|
8175
|
+
var Input$1 = styled.input(_templateObject2$c$1 || (_templateObject2$c$1 = _taggedTemplateLiteralLoose$1(["\n width: 100%;\n border: ", ";\n border-radius: 8px;\n cursor: ", ";\n background: ", ";\n transition: all 0.3s ease;\n color: ", ";\n pointer-events: ", ";\n\n ", "\n\n &:focus {\n border: 1px solid\n ", ";\n }\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-family: NotoSans, sans-serif;\n }\n"])), function (_ref4) {
|
|
8176
|
+
var theme = _ref4.theme;
|
|
8177
|
+
return "1px solid " + theme.border.light;
|
|
8178
|
+
}, function (_ref5) {
|
|
8179
|
+
var $disabled = _ref5.$disabled;
|
|
8180
|
+
return $disabled ? 'not-allowed' : 'auto';
|
|
8181
|
+
}, function (_ref6) {
|
|
8182
|
+
var $disabled = _ref6.$disabled,
|
|
8183
|
+
$background = _ref6.$background,
|
|
8184
|
+
theme = _ref6.theme;
|
|
8185
|
+
return $disabled ? theme.disabled.secondary : $background;
|
|
8186
|
+
}, function (_ref7) {
|
|
8187
|
+
var $color = _ref7.$color;
|
|
8188
|
+
return $color;
|
|
8189
|
+
}, function (_ref8) {
|
|
8190
|
+
var $disabled = _ref8.$disabled;
|
|
8191
|
+
return $disabled ? 'none' : 'auto';
|
|
8192
|
+
}, function (_ref9) {
|
|
8193
|
+
var $size = _ref9.$size,
|
|
8194
|
+
$type = _ref9.$type;
|
|
8195
|
+
switch ($size) {
|
|
8196
|
+
case 'small':
|
|
8197
|
+
return "\n font-size: 12px;\n padding: " + ($type === 'password' ? '5px 38px 5px 10px' : '5px 10px') + ";\n ";
|
|
8198
|
+
case 'medium':
|
|
8199
|
+
return "\n font-size: 14px;\n padding: " + ($type === 'password' ? '9.5px 38px 9.5px 12px' : '9.5px 12px') + ";\n ";
|
|
8200
|
+
case 'large':
|
|
8201
|
+
return "\n font-size: 16px;\n padding: " + ($type === 'password' ? '9px 38px 9px 14px' : '9px 14px') + ";\n ";
|
|
8202
|
+
default:
|
|
8203
|
+
return "\n font-size: 14px;\n padding: " + ($type === 'password' ? '7px 38px 7px 12px' : '7px 12px') + ";\n ";
|
|
8204
|
+
}
|
|
8205
|
+
}, function (_ref10) {
|
|
8206
|
+
var $color = _ref10.$color,
|
|
8207
|
+
theme = _ref10.theme;
|
|
8208
|
+
switch ($color) {
|
|
8209
|
+
case 'dark':
|
|
8210
|
+
return theme.text.dark;
|
|
8211
|
+
case 'medium':
|
|
8212
|
+
return theme.text.medium;
|
|
8213
|
+
case 'light':
|
|
8214
|
+
return theme.text.light;
|
|
8215
|
+
case 'white':
|
|
8216
|
+
return theme.text.white;
|
|
8217
|
+
case 'warning':
|
|
8218
|
+
return theme["default"].warning;
|
|
8219
|
+
case 'info':
|
|
8220
|
+
return theme["default"].info;
|
|
8221
|
+
case 'success':
|
|
8222
|
+
return theme["default"].success;
|
|
8223
|
+
case 'error':
|
|
8224
|
+
return theme["default"].error;
|
|
8225
|
+
default:
|
|
8226
|
+
return $color;
|
|
8227
|
+
}
|
|
8228
|
+
}, function (_ref11) {
|
|
8229
|
+
var theme = _ref11.theme;
|
|
8230
|
+
return theme.text.light;
|
|
8231
|
+
});
|
|
8232
|
+
var InputWrapper$1$1 = styled.div(_templateObject3$8$1 || (_templateObject3$8$1 = _taggedTemplateLiteralLoose$1(["\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n"])));
|
|
8233
|
+
var IconWrapper$1$1 = styled.div(_templateObject4$6$1 || (_templateObject4$6$1 = _taggedTemplateLiteralLoose$1(["\n position: absolute;\n right: 12px;\n cursor: pointer;\n\n > div {\n cursor: ", ";\n }\n"])), function (_ref12) {
|
|
8234
|
+
var $disabled = _ref12.$disabled;
|
|
8235
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
8236
|
+
});
|
|
8237
|
+
var Asterisk$1$1 = styled.span(_templateObject5$6$1 || (_templateObject5$6$1 = _taggedTemplateLiteralLoose$1(["\n color: ", ";\n font-size: 10px;\n height: fit-content;\n position: absolute;\n top: -2px;\n right: -8px;\n"])), function (_ref13) {
|
|
8238
|
+
var theme = _ref13.theme;
|
|
8239
|
+
return theme["default"].error;
|
|
8240
|
+
});
|
|
8241
|
+
var _templateObject$g$1, _templateObject2$d$1, _templateObject3$9$1;
|
|
8242
|
+
var Container$3$1 = styled.div(_templateObject$g$1 || (_templateObject$g$1 = _taggedTemplateLiteralLoose$1(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n padding: ", ";\n"])), function (_ref) {
|
|
8243
|
+
var $padding = _ref.$padding;
|
|
8244
|
+
return $padding;
|
|
8245
|
+
});
|
|
8246
|
+
var Label$1$1 = styled.label(_templateObject2$d$1 || (_templateObject2$d$1 = _taggedTemplateLiteralLoose$1(["\n cursor: auto;\n font-weight: ", ";\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref2) {
|
|
8247
|
+
var $fontWeight = _ref2.$fontWeight;
|
|
8248
|
+
return $fontWeight != null ? $fontWeight : '500';
|
|
8249
|
+
}, function (_ref3) {
|
|
8250
|
+
var $size = _ref3.$size;
|
|
8251
|
+
switch ($size) {
|
|
8252
|
+
case 'small':
|
|
8253
|
+
return 'font-size: 12px; line-height: 12px;';
|
|
8254
|
+
case 'medium':
|
|
8255
|
+
return 'font-size: 14px; line-height: 14px;';
|
|
8256
|
+
case 'large':
|
|
8257
|
+
return 'font-size: 16px; line-height: 16px;';
|
|
8258
|
+
default:
|
|
8259
|
+
return 'font-size: 14px; line-height: 14px;';
|
|
8260
|
+
}
|
|
8261
|
+
}, function (_ref4) {
|
|
8262
|
+
var $titlecolor = _ref4.$titlecolor,
|
|
8263
|
+
theme = _ref4.theme;
|
|
8264
|
+
return $titlecolor || theme.text.dark;
|
|
8265
|
+
});
|
|
8266
|
+
var TextAreaComponent$1 = styled.textarea(_templateObject3$9$1 || (_templateObject3$9$1 = _taggedTemplateLiteralLoose$1(["\n width: 100%;\n border: ", ";\n border-radius: 8px;\n cursor: ", ";\n background: ", ";\n transition: all 0.3s ease;\n color: ", ";\n resize: none;\n height: 100%;\n \n ", "\n\n &:focus {\n border-color: ", ";\n }\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-family: NotoSans, sans-serif;\n }\n"])), function (_ref5) {
|
|
8267
|
+
var theme = _ref5.theme;
|
|
8268
|
+
return "1px solid " + theme.border.light;
|
|
8269
|
+
}, function (_ref6) {
|
|
8270
|
+
var $disabled = _ref6.$disabled;
|
|
8271
|
+
return $disabled ? 'not-allowed' : 'auto';
|
|
8272
|
+
}, function (_ref7) {
|
|
8273
|
+
var $disabled = _ref7.$disabled,
|
|
8274
|
+
$background = _ref7.$background,
|
|
8275
|
+
theme = _ref7.theme;
|
|
8276
|
+
return $disabled ? theme.disabled.secondary : $background;
|
|
8277
|
+
}, function (_ref8) {
|
|
8278
|
+
var $color = _ref8.$color;
|
|
8279
|
+
return $color;
|
|
8280
|
+
}, function (_ref9) {
|
|
8281
|
+
var $size = _ref9.$size;
|
|
8282
|
+
switch ($size) {
|
|
8283
|
+
case 'small':
|
|
8284
|
+
return 'font-size: 12px; padding: 5px 10px;';
|
|
8285
|
+
case 'medium':
|
|
8286
|
+
return 'font-size: 14px; padding: 9px 12px;';
|
|
8287
|
+
case 'large':
|
|
8288
|
+
return 'font-size: 16px; padding: 9px 14px;';
|
|
8289
|
+
default:
|
|
8290
|
+
return 'font-size: 14px; padding: 7px 12px;';
|
|
8291
|
+
}
|
|
8292
|
+
}, function (_ref10) {
|
|
8293
|
+
var $color = _ref10.$color,
|
|
8294
|
+
theme = _ref10.theme;
|
|
8295
|
+
return $color || theme.text.dark;
|
|
8296
|
+
}, function (_ref11) {
|
|
8297
|
+
var theme = _ref11.theme;
|
|
8298
|
+
return theme.text.light;
|
|
8299
|
+
});
|
|
8300
|
+
var _templateObject$h$1, _templateObject2$e$1, _templateObject3$a$1, _templateObject4$7$1, _templateObject5$7$1, _templateObject6$6$1, _templateObject7$4$1;
|
|
8301
|
+
var OptionContainer$1$1 = styled.div(_templateObject$h$1 || (_templateObject$h$1 = _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"])), function (_ref) {
|
|
8302
|
+
var theme = _ref.theme;
|
|
8303
|
+
return theme.text.white;
|
|
8304
|
+
});
|
|
8305
|
+
var OptionItem$1$1 = styled.div(_templateObject2$e$1 || (_templateObject2$e$1 = _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 (_ref2) {
|
|
8306
|
+
var $optionSelected = _ref2.$optionSelected,
|
|
8307
|
+
theme = _ref2.theme;
|
|
8308
|
+
return $optionSelected ? theme.text.white : theme.text.medium;
|
|
8309
|
+
}, function (_ref3) {
|
|
8310
|
+
var $optionSelected = _ref3.$optionSelected,
|
|
8311
|
+
theme = _ref3.theme;
|
|
8312
|
+
return $optionSelected ? theme["default"].primary : theme.text.white;
|
|
8313
|
+
}, function (_ref4) {
|
|
8314
|
+
var theme = _ref4.theme;
|
|
8315
|
+
return theme.hover.primary;
|
|
8316
|
+
}, function (_ref5) {
|
|
8317
|
+
var theme = _ref5.theme;
|
|
8318
|
+
return theme.text.white;
|
|
8319
|
+
});
|
|
8320
|
+
var TotalOptionsHeader$1 = styled.div(_templateObject3$a$1 || (_templateObject3$a$1 = _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: ", ";\n font-size:12px;\n"])), function (_ref6) {
|
|
8321
|
+
var theme = _ref6.theme;
|
|
8322
|
+
return theme.text.white;
|
|
8323
|
+
}, function (_ref7) {
|
|
8324
|
+
var theme = _ref7.theme;
|
|
8325
|
+
return theme.text.light;
|
|
8326
|
+
}, function (_ref8) {
|
|
8327
|
+
var theme = _ref8.theme;
|
|
8328
|
+
return "1px solid " + theme.text.light;
|
|
8329
|
+
});
|
|
8330
|
+
var OptionLabel$1$1 = styled.label(_templateObject4$7$1 || (_templateObject4$7$1 = _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"])));
|
|
8331
|
+
var SearchContainer$3$1 = styled.div(_templateObject5$7$1 || (_templateObject5$7$1 = _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 (_ref9) {
|
|
8332
|
+
var $background = _ref9.$background,
|
|
8333
|
+
theme = _ref9.theme;
|
|
8334
|
+
switch ($background) {
|
|
8335
|
+
case 'dark':
|
|
8336
|
+
return theme.text.dark;
|
|
8337
|
+
case 'medium':
|
|
8338
|
+
return theme.text.medium;
|
|
8339
|
+
case 'light':
|
|
8340
|
+
return theme.text.light;
|
|
8341
|
+
case 'white':
|
|
8342
|
+
return theme.text.white;
|
|
8343
|
+
case 'warning':
|
|
8344
|
+
return theme["default"].warning;
|
|
8345
|
+
case 'info':
|
|
8346
|
+
return theme["default"].info;
|
|
8347
|
+
case 'success':
|
|
8348
|
+
return theme["default"].success;
|
|
8349
|
+
case 'error':
|
|
8350
|
+
return theme["default"].error;
|
|
8351
|
+
default:
|
|
8352
|
+
return $background;
|
|
8353
|
+
}
|
|
8354
|
+
}, function (_ref10) {
|
|
8355
|
+
var $borderBottom = _ref10.$borderBottom;
|
|
8356
|
+
return $borderBottom || 'none';
|
|
8357
|
+
}, function (_ref11) {
|
|
8358
|
+
var $borderRadius = _ref11.$borderRadius;
|
|
8359
|
+
return $borderRadius || '8px';
|
|
8360
|
+
});
|
|
8361
|
+
var SearchBar$3$1 = styled.input(_templateObject6$6$1 || (_templateObject6$6$1 = _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\n color: ", ";\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-size: 14px;\n }\n"])), function (_ref12) {
|
|
8362
|
+
var theme = _ref12.theme;
|
|
8363
|
+
return theme["default"].tertiary;
|
|
8364
|
+
}, function (_ref13) {
|
|
8365
|
+
var $inputColor = _ref13.$inputColor,
|
|
8366
|
+
theme = _ref13.theme;
|
|
8367
|
+
switch ($inputColor) {
|
|
8368
|
+
case 'dark':
|
|
8369
|
+
return theme.text.dark;
|
|
8370
|
+
case 'medium':
|
|
8371
|
+
return theme.text.medium;
|
|
8372
|
+
case 'light':
|
|
8373
|
+
return theme.text.light;
|
|
8374
|
+
case 'white':
|
|
8375
|
+
return theme.text.white;
|
|
8376
|
+
case 'warning':
|
|
8377
|
+
return theme["default"].warning;
|
|
8378
|
+
case 'info':
|
|
8379
|
+
return theme["default"].info;
|
|
8380
|
+
case 'success':
|
|
8381
|
+
return theme["default"].success;
|
|
8382
|
+
case 'error':
|
|
8383
|
+
return theme["default"].error;
|
|
8384
|
+
default:
|
|
8385
|
+
return $inputColor;
|
|
8386
|
+
}
|
|
8387
|
+
}, function (_ref14) {
|
|
8388
|
+
var $placeholderColor = _ref14.$placeholderColor,
|
|
8389
|
+
theme = _ref14.theme;
|
|
8390
|
+
switch ($placeholderColor) {
|
|
8391
|
+
case 'dark':
|
|
8392
|
+
return theme.text.dark;
|
|
8393
|
+
case 'medium':
|
|
8394
|
+
return theme.text.medium;
|
|
8395
|
+
case 'light':
|
|
8396
|
+
return theme.text.light;
|
|
8397
|
+
case 'white':
|
|
8398
|
+
return theme.text.white;
|
|
8399
|
+
case 'warning':
|
|
8400
|
+
return theme["default"].warning;
|
|
8401
|
+
case 'info':
|
|
8402
|
+
return theme["default"].info;
|
|
8403
|
+
case 'success':
|
|
8404
|
+
return theme["default"].success;
|
|
8405
|
+
case 'error':
|
|
8406
|
+
return theme["default"].error;
|
|
8407
|
+
default:
|
|
8408
|
+
return $placeholderColor;
|
|
8409
|
+
}
|
|
8410
|
+
});
|
|
8411
|
+
var OptionsWrapper$1$1 = styled.div(_templateObject7$4$1 || (_templateObject7$4$1 = _taggedTemplateLiteralLoose$1(["\n padding: 4px 0px;\n height: 100%;\n overflow-y: auto;\n scrollbar-width: thin;\n background: ", ";\n"])), function (_ref15) {
|
|
8412
|
+
var theme = _ref15.theme;
|
|
8413
|
+
return theme.text.white;
|
|
8414
|
+
});
|
|
8415
|
+
var _templateObject$i$1, _templateObject2$f$1;
|
|
8416
|
+
var StyledCheckBox$1 = styled.input(_templateObject$i$1 || (_templateObject$i$1 = _taggedTemplateLiteralLoose$1(["\n width: ", ";\n height: ", ";\n appearance: none;\n border: ", ";\n border-radius: 4px;\n background-color: ", ";\n cursor: pointer;\n display: inline-block;\n position: relative;\n transition: all 0.2s ease;\n font-size: ", "; // for em units\n\n &:checked::after {\n content: '';\n position: absolute;\n top: ", ";\n right: ", ";\n width: ", ";\n height: ", ";\n border: ", ";\n border-width: 0 0.2em 0.2em 0;\n transform: rotate(45deg);\n }\n\n &:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n }\n"])), function (_ref) {
|
|
8417
|
+
var $checkboxSize = _ref.$checkboxSize;
|
|
8418
|
+
return $checkboxSize + "px";
|
|
8419
|
+
}, function (_ref2) {
|
|
8420
|
+
var $checkboxSize = _ref2.$checkboxSize;
|
|
8421
|
+
return $checkboxSize + "px";
|
|
8422
|
+
}, function (_ref3) {
|
|
8423
|
+
var $checked = _ref3.$checked,
|
|
8424
|
+
$borderSize = _ref3.$borderSize,
|
|
8425
|
+
theme = _ref3.theme;
|
|
8426
|
+
return $checked ? $borderSize + "px solid " + theme["default"].primary : $borderSize + "px solid " + theme.border.extraBold;
|
|
8427
|
+
}, function (_ref4) {
|
|
8428
|
+
var $checked = _ref4.$checked,
|
|
8429
|
+
theme = _ref4.theme;
|
|
8430
|
+
return $checked ? theme["default"].primary : theme.text.white;
|
|
8431
|
+
}, function (_ref5) {
|
|
8432
|
+
var $checkboxSize = _ref5.$checkboxSize;
|
|
8433
|
+
return $checkboxSize / 1.4 + "px";
|
|
8434
|
+
}, function (_ref6) {
|
|
8435
|
+
var $checkboxSize = _ref6.$checkboxSize;
|
|
8436
|
+
return "calc(100% - " + $checkboxSize / 1.4 + "px)";
|
|
8437
|
+
}, function (_ref7) {
|
|
8438
|
+
var $checkboxSize = _ref7.$checkboxSize;
|
|
8439
|
+
return "calc(100% - " + $checkboxSize / 1.8 + "px)";
|
|
8440
|
+
}, function (_ref8) {
|
|
8441
|
+
var $checkboxSize = _ref8.$checkboxSize;
|
|
8442
|
+
return $checkboxSize / 5 + "px";
|
|
8443
|
+
}, function (_ref9) {
|
|
8444
|
+
var $checkboxSize = _ref9.$checkboxSize;
|
|
8445
|
+
return $checkboxSize / 2.4 + "px";
|
|
8446
|
+
}, function (_ref10) {
|
|
8447
|
+
var theme = _ref10.theme;
|
|
8448
|
+
return "solid " + theme.text.white;
|
|
8449
|
+
});
|
|
8450
|
+
var LabelSpan$1 = styled(Span$1)(_templateObject2$f$1 || (_templateObject2$f$1 = _taggedTemplateLiteralLoose$1(["\n font-weight: 500;\n line-height: 1;\n user-select: none;\n"])));
|
|
8451
|
+
var _templateObject$j$1, _templateObject2$g$1, _templateObject3$b$1, _templateObject4$8$1;
|
|
8452
|
+
var spin$1$1 = keyframes(_templateObject$j$1 || (_templateObject$j$1 = _taggedTemplateLiteralLoose$1(["\n 0% { opacity: 1; }\n 100% { opacity: 0.3; }\n"])));
|
|
8453
|
+
var getDotPosition$1 = function getDotPosition(index, size) {
|
|
8454
|
+
var angle = index * 360 / 8;
|
|
8455
|
+
var radius = size / 2.5;
|
|
8456
|
+
var x = radius * Math.cos(angle * Math.PI / 180);
|
|
8457
|
+
var y = radius * Math.sin(angle * Math.PI / 180);
|
|
8458
|
+
return "translate(" + x + "px, " + y + "px)";
|
|
8459
|
+
};
|
|
8460
|
+
var SpinnerContainer$1 = styled.div(_templateObject2$g$1 || (_templateObject2$g$1 = _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) {
|
|
8461
|
+
var $size = _ref.$size;
|
|
8462
|
+
return $size;
|
|
8463
|
+
}, function (_ref2) {
|
|
8464
|
+
var $size = _ref2.$size;
|
|
8465
|
+
return $size;
|
|
8466
|
+
});
|
|
8467
|
+
var Dot$1 = styled.div.attrs(function (_ref3) {
|
|
8468
|
+
var $index = _ref3.$index,
|
|
8469
|
+
$size = _ref3.$size;
|
|
8470
|
+
return {
|
|
8471
|
+
style: {
|
|
8472
|
+
transform: getDotPosition$1($index, $size)
|
|
8473
|
+
}
|
|
8474
|
+
};
|
|
8475
|
+
})(_templateObject3$b$1 || (_templateObject3$b$1 = _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) {
|
|
8476
|
+
var $dotSize = _ref4.$dotSize;
|
|
8477
|
+
return $dotSize;
|
|
8478
|
+
}, function (_ref5) {
|
|
8479
|
+
var $dotSize = _ref5.$dotSize;
|
|
8480
|
+
return $dotSize;
|
|
8481
|
+
}, function (_ref6) {
|
|
8482
|
+
var $color = _ref6.$color;
|
|
8483
|
+
return $color;
|
|
8484
|
+
}, spin$1$1, function (_ref7) {
|
|
8485
|
+
var $speed = _ref7.$speed;
|
|
8486
|
+
return $speed;
|
|
8487
|
+
}, function (_ref8) {
|
|
8488
|
+
var $index = _ref8.$index,
|
|
8489
|
+
$speed = _ref8.$speed;
|
|
8490
|
+
return $index * $speed / 8;
|
|
8491
|
+
});
|
|
8492
|
+
var SpinnerWrapper$1 = styled.div(_templateObject4$8$1 || (_templateObject4$8$1 = _taggedTemplateLiteralLoose$1(["\n display: inline-flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: max-content;\n"])));
|
|
8493
|
+
var _templateObject$k$1, _templateObject2$h$1;
|
|
8494
|
+
var spin$2$1 = keyframes(_templateObject$k$1 || (_templateObject$k$1 = _taggedTemplateLiteralLoose$1(["\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
8495
|
+
var Spinner$1$1 = styled.div(_templateObject2$h$1 || (_templateObject2$h$1 = _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) {
|
|
8496
|
+
var $size = _ref.$size;
|
|
8497
|
+
return $size;
|
|
8498
|
+
}, function (_ref2) {
|
|
8499
|
+
var $size = _ref2.$size;
|
|
8500
|
+
return $size;
|
|
8501
|
+
}, function (_ref3) {
|
|
8502
|
+
var $color = _ref3.$color;
|
|
8503
|
+
return $color;
|
|
8504
|
+
}, spin$2$1);
|
|
8505
|
+
var _templateObject$l$1;
|
|
8506
|
+
var PageInput$1 = styled.input(_templateObject$l$1 || (_templateObject$l$1 = _taggedTemplateLiteralLoose$1(["\n width: 40px;\n height: 32px;\n background-color: ", ";\n border: ", ";\n border-radius: 8px;\n padding: 4px;\n color: ", ";\n text-align: center;\n &::-webkit-outer-spin-button,\n &::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n"])), function (_ref) {
|
|
8507
|
+
var theme = _ref.theme;
|
|
8508
|
+
return theme.accent.light_2;
|
|
8509
|
+
}, function (_ref2) {
|
|
8510
|
+
var theme = _ref2.theme;
|
|
8511
|
+
return "1px solid " + theme.border.light;
|
|
8512
|
+
}, function (_ref3) {
|
|
8513
|
+
var theme = _ref3.theme;
|
|
8514
|
+
return theme.text.dark;
|
|
8515
|
+
});
|
|
8516
|
+
var _templateObject$m$1, _templateObject2$i$1, _templateObject3$c$1, _templateObject4$9$1, _templateObject5$8$1;
|
|
8517
|
+
var SidebarContainer = styled.div(_templateObject$m$1 || (_templateObject$m$1 = _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) {
|
|
8518
|
+
var $isExpanded = _ref.$isExpanded;
|
|
8519
|
+
return $isExpanded ? '225px' : '68px';
|
|
8520
|
+
}, function (_ref2) {
|
|
8521
|
+
var $background = _ref2.$background,
|
|
8522
|
+
theme = _ref2.theme;
|
|
8523
|
+
return $background || theme.accent.softBlue;
|
|
8524
|
+
});
|
|
8525
|
+
var SidebarLink = styled(NavLink)(_templateObject2$i$1 || (_templateObject2$i$1 = _taggedTemplateLiteralLoose$1(["\n display: flex;\n align-items: center;\n height: 28px;\n width: 100%;\n gap: 10px;\n cursor: pointer;\n border-radius: 4px;\n color: ", ";\n text-decoration: none;\n transition: background 0.3s;\n\n &:hover {\n background: ", ";\n }\n"])), function (_ref3) {
|
|
8526
|
+
var theme = _ref3.theme;
|
|
8527
|
+
return theme.text.medium;
|
|
8528
|
+
}, function (_ref4) {
|
|
8529
|
+
var theme = _ref4.theme;
|
|
8530
|
+
return theme["default"].primary;
|
|
8531
|
+
});
|
|
8532
|
+
var IconWrapper$2$1 = styled.div(_templateObject3$c$1 || (_templateObject3$c$1 = _taggedTemplateLiteralLoose$1(["\n background: ", ";\n padding: 4px;\n border-radius: 4px;\n width: 28px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (_ref5) {
|
|
8533
|
+
var $selected = _ref5.$selected,
|
|
8534
|
+
theme = _ref5.theme;
|
|
8535
|
+
return $selected ? theme["default"].primary : theme["default"].tertiary;
|
|
8536
|
+
});
|
|
8537
|
+
var Logo = styled.div(_templateObject4$9$1 || (_templateObject4$9$1 = _taggedTemplateLiteralLoose$1(["\n display: flex;\n width: 100%;\n min-width: max-content;\n height: 32px;\n align-items: center;\n justify-content: start;\n gap: 10px;\n"])));
|
|
8538
|
+
var TextContainer = styled.span(_templateObject5$8$1 || (_templateObject5$8$1 = _taggedTemplateLiteralLoose$1(["\n white-space: nowrap;\n padding: ", ";\n font-size: ", ";\n font-weight: ", ";\n color: ", ";\n opacity: ", ";\n visibility: ", ";\n transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;\n"])), function (_ref6) {
|
|
8539
|
+
var $padding = _ref6.$padding;
|
|
8540
|
+
return $padding;
|
|
8541
|
+
}, function (_ref7) {
|
|
8542
|
+
var $fontSize = _ref7.$fontSize;
|
|
8543
|
+
return $fontSize || '20px';
|
|
8544
|
+
}, function (_ref8) {
|
|
8545
|
+
var $fontWeight = _ref8.$fontWeight;
|
|
8546
|
+
return $fontWeight || '500';
|
|
8547
|
+
}, function (_ref9) {
|
|
8548
|
+
var $color = _ref9.$color,
|
|
8549
|
+
theme = _ref9.theme;
|
|
8550
|
+
return $color || theme["default"].primary;
|
|
8551
|
+
}, function (_ref10) {
|
|
8552
|
+
var $isExpanded = _ref10.$isExpanded;
|
|
8553
|
+
return $isExpanded ? 1 : 0;
|
|
8554
|
+
}, function (_ref11) {
|
|
8555
|
+
var $isExpanded = _ref11.$isExpanded;
|
|
8556
|
+
return $isExpanded ? 'visible' : 'hidden';
|
|
8557
|
+
});
|
|
8558
|
+
var _templateObject$n, _templateObject2$j, _templateObject3$d, _templateObject4$a;
|
|
8559
|
+
var ContainerWrapper = styled.div(_templateObject$n || (_templateObject$n = _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) {
|
|
8560
|
+
return props.$width || 'auto';
|
|
8561
|
+
}, function (_ref) {
|
|
8562
|
+
var $minHeight = _ref.$minHeight;
|
|
8563
|
+
return $minHeight;
|
|
8564
|
+
});
|
|
8565
|
+
var CellContainer = styled.div(_templateObject2$j || (_templateObject2$j = _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) {
|
|
8566
|
+
return props.$align;
|
|
8567
|
+
}, function (props) {
|
|
8568
|
+
return props.$width || 'auto';
|
|
8569
|
+
}, function (props) {
|
|
8570
|
+
return props.$minWidth;
|
|
8571
|
+
}, function (props) {
|
|
8572
|
+
return props.$background || 'inherit';
|
|
8573
|
+
}, function (props) {
|
|
8574
|
+
return props.$padding;
|
|
8575
|
+
});
|
|
8576
|
+
var MainText = styled.div(_templateObject3$d || (_templateObject3$d = _taggedTemplateLiteralLoose$1(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
8577
|
+
return props.$mtc;
|
|
8578
|
+
}, function (props) {
|
|
8579
|
+
return props.$mtfs;
|
|
8580
|
+
}, function (props) {
|
|
8581
|
+
return props.$mtw;
|
|
8582
|
+
});
|
|
8583
|
+
var SubText = styled.div(_templateObject4$a || (_templateObject4$a = _taggedTemplateLiteralLoose$1(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
8584
|
+
return props.$stc;
|
|
8585
|
+
}, function (props) {
|
|
8586
|
+
return props.$stfs;
|
|
8587
|
+
}, function (props) {
|
|
8588
|
+
return props.$stw;
|
|
8589
|
+
});
|
|
8590
|
+
var _templateObject$o;
|
|
8591
|
+
var TableRowContainer = styled$1.div(_templateObject$o || (_templateObject$o = _taggedTemplateLiteralLoose$1(["\n display: flex;\n flex-direction: row;\n background: inherit;\n align-items: center;\n padding: 16px 12px;\n width: 100%;\n"])));
|
|
8592
|
+
var _templateObject$p, _templateObject2$k, _templateObject3$e, _templateObject4$b, _templateObject5$9, _templateObject6$7$1;
|
|
8593
|
+
var TableContainer = styled.div(_templateObject$p || (_templateObject$p = _taggedTemplateLiteralLoose$1(["\n background: ", ";\n width: 100%;\n display: flex;\n overflow: hidden;\n border-radius: 8px;\n"])), function (_ref) {
|
|
8594
|
+
var theme = _ref.theme;
|
|
8595
|
+
return theme.brand.light;
|
|
8596
|
+
});
|
|
8597
|
+
var TableHeader = styled.div(_templateObject2$k || (_templateObject2$k = _taggedTemplateLiteralLoose$1(["\n font-size: 14px;\n display: flex;\n background: ", ";\n color: ", ";\n min-height: 36px;\n align-items: center;\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n padding: 9px 12px;\n"])), function (_ref2) {
|
|
8598
|
+
var $hbcolor = _ref2.$hbcolor,
|
|
8599
|
+
theme = _ref2.theme;
|
|
8600
|
+
return $hbcolor || theme["default"].tertiary;
|
|
8601
|
+
}, function (_ref3) {
|
|
8602
|
+
var $tcolor = _ref3.$tcolor,
|
|
8603
|
+
theme = _ref3.theme;
|
|
8604
|
+
return $tcolor || theme.text.white;
|
|
8605
|
+
});
|
|
8606
|
+
var TableContent = styled.div(_templateObject3$e || (_templateObject3$e = _taggedTemplateLiteralLoose$1(["\n width: 100%;\n svg {\n cursor: pointer;\n }\n"])));
|
|
8607
|
+
var TableData = styled.div(_templateObject4$b || (_templateObject4$b = _taggedTemplateLiteralLoose$1(["\n overflow: auto;\n scrollbar-width: thin;\n height: 100%;\n max-height: ", ";\n"])), function (_ref4) {
|
|
8608
|
+
var $isLegends = _ref4.$isLegends;
|
|
8609
|
+
return $isLegends ? 'calc(100% - 56px)' : 'calc(100% - 36px)';
|
|
8610
|
+
});
|
|
8611
|
+
var LegendDivider = styled.div(_templateObject5$9 || (_templateObject5$9 = _taggedTemplateLiteralLoose$1(["\n flex: 1;\n height: 2px;\n background: ", ";\n margin-right: ", ";\n"])), function (_ref5) {
|
|
8612
|
+
var theme = _ref5.theme;
|
|
8613
|
+
return theme.border.extraLight;
|
|
8614
|
+
}, function (_ref6) {
|
|
8615
|
+
var $marginRight = _ref6.$marginRight;
|
|
8616
|
+
return $marginRight != null ? $marginRight : '0px';
|
|
8617
|
+
});
|
|
8618
|
+
var Divider = styled.div(_templateObject6$7$1 || (_templateObject6$7$1 = _taggedTemplateLiteralLoose$1(["\n height: 2px;\n background: ", ";\n"])), function (_ref7) {
|
|
8619
|
+
var theme = _ref7.theme;
|
|
8620
|
+
return theme.border.extraLight;
|
|
8621
|
+
});
|
|
8622
|
+
var _templateObject$q, _templateObject2$l, _templateObject3$f, _templateObject4$c, _templateObject5$a, _templateObject6$8;
|
|
8623
|
+
var Container$4$1 = styled.div(_templateObject$q || (_templateObject$q = _taggedTemplateLiteralLoose$1(["\n width: 100%;\n height: 100%; \n display: flex;\n flex-direction: column;\n overflow: ", ";\n gap: ", ";\n border: ", ";\n border-radius: 8px;\n"])), function (_ref) {
|
|
8624
|
+
var $overflow = _ref.$overflow;
|
|
8625
|
+
return $overflow || 'visible';
|
|
8626
|
+
}, function (_ref2) {
|
|
8627
|
+
var $gap = _ref2.$gap;
|
|
8628
|
+
return $gap;
|
|
8629
|
+
}, function (_ref3) {
|
|
8630
|
+
var $border = _ref3.$border;
|
|
8631
|
+
return $border;
|
|
8632
|
+
});
|
|
8633
|
+
var FirstContainer = styled.div(_templateObject2$l || (_templateObject2$l = _taggedTemplateLiteralLoose$1(["\n width: 100%;\n display: flex;\n font-family: NotoSans, sans-serif;\n font-size: 16px;\n gap: 24px;\n border-bottom: ", ";\n padding: ", ";\n justify-content: space-between;\n align-items: center;\n height: max-content;\n"])), function (_ref4) {
|
|
8634
|
+
var $bordeBottom = _ref4.$bordeBottom,
|
|
8635
|
+
theme = _ref4.theme;
|
|
8636
|
+
return $bordeBottom != null ? $bordeBottom : "1px solid " + theme.border.light;
|
|
8637
|
+
}, function (_ref5) {
|
|
8638
|
+
var $headerPadding = _ref5.$headerPadding;
|
|
8639
|
+
return $headerPadding ? $headerPadding : '0px';
|
|
8640
|
+
});
|
|
8641
|
+
var TabContainer = styled.div(_templateObject3$f || (_templateObject3$f = _taggedTemplateLiteralLoose$1(["\n width: auto;\n display: flex;\n align-items: center;\n cursor: ", ";\n opacity: ", ";\n gap: 8px;\n font-family: NotoSans, sans-serif;\n font-size: 14px;\n font-weight: 500;\n color: ", ";\n height: ", ";\n\n svg {\n cursor: ", ";\n }\n\n"])), function (_ref6) {
|
|
8642
|
+
var $disabled = _ref6.$disabled;
|
|
8643
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
8644
|
+
}, function (_ref7) {
|
|
8645
|
+
var $disabled = _ref7.$disabled;
|
|
8646
|
+
return $disabled ? '0.6' : '1';
|
|
8647
|
+
}, function (_ref8) {
|
|
8648
|
+
var theme = _ref8.theme;
|
|
8649
|
+
return theme.text.medium;
|
|
8650
|
+
}, function (_ref9) {
|
|
8651
|
+
var $headerHeight = _ref9.$headerHeight;
|
|
8652
|
+
return $headerHeight ? $headerHeight : '34px';
|
|
8653
|
+
}, function (_ref10) {
|
|
8654
|
+
var $disabled = _ref10.$disabled;
|
|
8655
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
8656
|
+
});
|
|
8657
|
+
var TabItemContainer = styled.div(_templateObject4$c || (_templateObject4$c = _taggedTemplateLiteralLoose$1(["\n display: flex;\n align-items: center;\n position: relative;\n gap: 8px;\n height: 100%;\n max-height: ", ";\n\n &:after {\n content: '';\n display: ", ";\n width: 100%;\n min-height: 3px;\n background: ", ";\n position: absolute;\n bottom: -1px;\n left: 0px;\n }\n"])), function (_ref11) {
|
|
8658
|
+
var $headerHeight = _ref11.$headerHeight;
|
|
8659
|
+
return $headerHeight ? $headerHeight : '34px';
|
|
8660
|
+
}, function (props) {
|
|
8661
|
+
return props.$active ? 'block' : 'none';
|
|
8662
|
+
}, function (_ref12) {
|
|
8663
|
+
var theme = _ref12.theme;
|
|
8664
|
+
return theme["default"].primary;
|
|
8665
|
+
});
|
|
8666
|
+
var DetailsFirstContainer = styled.div(_templateObject5$a || (_templateObject5$a = _taggedTemplateLiteralLoose$1(["\n text-align: center;\n font-size: 14px;\n line-height: 18px;\n font-weight: 500;\n font-family: NotoSans, sans-serif;\n height: 100%;\n display: flex;\n align-items: center;\n color: ", ";\n white-space: nowrap;\n"])), function (_ref13) {
|
|
8667
|
+
var $active = _ref13.$active,
|
|
8668
|
+
theme = _ref13.theme;
|
|
8669
|
+
return $active ? theme["default"].primary : theme.text.medium;
|
|
8670
|
+
});
|
|
8671
|
+
var TabItemsWrapper = styled.div(_templateObject6$8 || (_templateObject6$8 = _taggedTemplateLiteralLoose$1(["\n display: flex;\n align-items: center;\n gap: 24px;\n // overflow-x: auto;\n scrollbar-width: thin;\n"])));
|
|
8672
|
+
|
|
8673
|
+
var _templateObject$r, _templateObject2$m;
|
|
8674
|
+
var shimmer = keyframes(_templateObject$r || (_templateObject$r = _taggedTemplateLiteralLoose(["\n 0% { background-position: 200% 0; }\n 100% { background-position: -100% 0; }\n"])));
|
|
8675
|
+
var AnimatedProgress = styled.div(_templateObject2$m || (_templateObject2$m = _taggedTemplateLiteralLoose(["\n height: 100%;\n width: ", ";\n background: ", ";\n background-size: 300% 100%;\n // background-repeat: no-repeat;\n animation: ", " 2s linear infinite;\n transition: width 0.5s ease-in-out;\n"])), function (_ref) {
|
|
8676
|
+
var width = _ref.width;
|
|
8677
|
+
return width;
|
|
8678
|
+
}, function (_ref2) {
|
|
8679
|
+
var color = _ref2.color;
|
|
8680
|
+
return color;
|
|
8681
|
+
}, shimmer);
|
|
8682
|
+
var ProgressBar = function ProgressBar(_ref3) {
|
|
8683
|
+
var threshold = _ref3.threshold,
|
|
8684
|
+
totalCapacity = _ref3.totalCapacity,
|
|
8685
|
+
usedCapacity = _ref3.usedCapacity,
|
|
8686
|
+
progressColor = _ref3.progressColor,
|
|
8687
|
+
thresholdColor = _ref3.thresholdColor,
|
|
8688
|
+
trackColor = _ref3.trackColor,
|
|
8689
|
+
animate = _ref3.animate;
|
|
8690
|
+
var themeColors = useTheme$1();
|
|
6934
8691
|
var parseVolumeData = function parseVolumeData(threshold, totalCapacity, usedCapacity) {
|
|
6935
8692
|
var totalCapacityGB = totalCapacity;
|
|
6936
8693
|
var usedCapacityGB = usedCapacity;
|
|
@@ -6945,27 +8702,30 @@ var ProgressBar = function ProgressBar(_ref) {
|
|
|
6945
8702
|
progress = _parseVolumeData.progress,
|
|
6946
8703
|
Processed_threshold = _parseVolumeData.Processed_threshold;
|
|
6947
8704
|
var thresholdWidth = Math.max((Processed_threshold != null ? Processed_threshold : 100) - progress, 0);
|
|
6948
|
-
return React.createElement(Container, {
|
|
8705
|
+
return React.createElement(Container$4, {
|
|
6949
8706
|
"$width": '100%',
|
|
6950
8707
|
"$height": '100%',
|
|
6951
8708
|
"$borderRadius": '100px',
|
|
6952
8709
|
"$background": trackColor != null ? trackColor : themeColors.accent.softBlue,
|
|
6953
8710
|
"$overflow": 'hidden',
|
|
6954
8711
|
"$position": 'relative'
|
|
6955
|
-
}, React.createElement(
|
|
8712
|
+
}, animate ? React.createElement(AnimatedProgress, {
|
|
8713
|
+
width: progress + "%",
|
|
8714
|
+
color: progressColor != null ? progressColor : themeColors["default"].primary
|
|
8715
|
+
}) : React.createElement(Container$4, {
|
|
6956
8716
|
"$width": progress + "%",
|
|
6957
8717
|
"$height": '100%',
|
|
6958
8718
|
"$background": progressColor != null ? progressColor : themeColors["default"].primary,
|
|
6959
8719
|
"$transition": 'width 0.5s ease-in-out'
|
|
6960
|
-
}), Processed_threshold !== undefined && Processed_threshold > progress && React.createElement(Container, {
|
|
8720
|
+
}), Processed_threshold !== undefined && Processed_threshold > progress && React.createElement(Container$4, {
|
|
6961
8721
|
"$width": thresholdWidth + "%",
|
|
6962
8722
|
"$height": '100%',
|
|
6963
8723
|
"$background": thresholdColor != null ? thresholdColor : 'rgba(255, 0, 0, 0.2)'
|
|
6964
8724
|
}));
|
|
6965
8725
|
};
|
|
6966
8726
|
|
|
6967
|
-
var _templateObject$
|
|
6968
|
-
var SidebarContainer = styled.div(_templateObject$
|
|
8727
|
+
var _templateObject$s, _templateObject2$n, _templateObject3$g, _templateObject4$d, _templateObject5$b;
|
|
8728
|
+
var SidebarContainer$1 = styled.div(_templateObject$s || (_templateObject$s = _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) {
|
|
6969
8729
|
var $isExpanded = _ref.$isExpanded;
|
|
6970
8730
|
return $isExpanded ? '225px' : '68px';
|
|
6971
8731
|
}, function (_ref2) {
|
|
@@ -6973,20 +8733,20 @@ var SidebarContainer = styled.div(_templateObject$m || (_templateObject$m = _tag
|
|
|
6973
8733
|
theme = _ref2.theme;
|
|
6974
8734
|
return $background || theme.accent.softBlue;
|
|
6975
8735
|
});
|
|
6976
|
-
var SidebarLink = styled(NavLink)(_templateObject2$
|
|
8736
|
+
var SidebarLink$1 = styled(NavLink)(_templateObject2$n || (_templateObject2$n = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n height: 28px;\n width: 100%;\n gap: 10px;\n cursor: pointer;\n border-radius: 4px;\n color: ", ";\n text-decoration: none;\n transition: background 0.3s;\n\n &:hover {\n background: ", ";\n }\n"])), function (_ref3) {
|
|
6977
8737
|
var theme = _ref3.theme;
|
|
6978
8738
|
return theme.text.medium;
|
|
6979
8739
|
}, function (_ref4) {
|
|
6980
8740
|
var theme = _ref4.theme;
|
|
6981
8741
|
return theme["default"].primary;
|
|
6982
8742
|
});
|
|
6983
|
-
var IconWrapper$
|
|
8743
|
+
var IconWrapper$3 = styled.div(_templateObject3$g || (_templateObject3$g = _taggedTemplateLiteralLoose(["\n background: ", ";\n padding: 4px;\n border-radius: 4px;\n width: 28px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (_ref5) {
|
|
6984
8744
|
var $selected = _ref5.$selected,
|
|
6985
8745
|
theme = _ref5.theme;
|
|
6986
8746
|
return $selected ? theme["default"].primary : theme["default"].tertiary;
|
|
6987
8747
|
});
|
|
6988
|
-
var Logo = styled.div(_templateObject4$
|
|
6989
|
-
var TextContainer = styled.span(_templateObject5$
|
|
8748
|
+
var Logo$1 = styled.div(_templateObject4$d || (_templateObject4$d = _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"])));
|
|
8749
|
+
var TextContainer$1 = styled.span(_templateObject5$b || (_templateObject5$b = _taggedTemplateLiteralLoose(["\n white-space: nowrap;\n padding: ", ";\n font-size: ", ";\n font-weight: ", ";\n color: ", ";\n opacity: ", ";\n visibility: ", ";\n transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;\n"])), function (_ref6) {
|
|
6990
8750
|
var $padding = _ref6.$padding;
|
|
6991
8751
|
return $padding;
|
|
6992
8752
|
}, function (_ref7) {
|
|
@@ -7041,17 +8801,17 @@ var Sidebar = function Sidebar(_ref12) {
|
|
|
7041
8801
|
"$gap": '10px'
|
|
7042
8802
|
}, children.map(function (child) {
|
|
7043
8803
|
var active = location.pathname.startsWith(child.url || '');
|
|
7044
|
-
return React.createElement(SidebarLink, {
|
|
8804
|
+
return React.createElement(SidebarLink$1, {
|
|
7045
8805
|
to: child.url || '#',
|
|
7046
8806
|
key: child.id
|
|
7047
|
-
}, React.createElement(IconWrapper$
|
|
8807
|
+
}, React.createElement(IconWrapper$3, {
|
|
7048
8808
|
"$selected": active
|
|
7049
8809
|
}, React.createElement(Icon, {
|
|
7050
8810
|
icon: child.icon,
|
|
7051
8811
|
size: 18,
|
|
7052
8812
|
weight: child.iconWeight,
|
|
7053
8813
|
color: active ? themeColors.text.white : themeColors.text.medium
|
|
7054
|
-
})), React.createElement(TextContainer, {
|
|
8814
|
+
})), React.createElement(TextContainer$1, {
|
|
7055
8815
|
"$isExpanded": isExpanded,
|
|
7056
8816
|
"$fontSize": '12px',
|
|
7057
8817
|
"$padding": '0px 10px 0px 0px',
|
|
@@ -7059,7 +8819,7 @@ var Sidebar = function Sidebar(_ref12) {
|
|
|
7059
8819
|
}, child.label));
|
|
7060
8820
|
}));
|
|
7061
8821
|
};
|
|
7062
|
-
return React.createElement(SidebarContainer, {
|
|
8822
|
+
return React.createElement(SidebarContainer$1, {
|
|
7063
8823
|
"$background": background,
|
|
7064
8824
|
"$isExpanded": isExpanded,
|
|
7065
8825
|
onMouseEnter: function onMouseEnter() {
|
|
@@ -7072,10 +8832,10 @@ var Sidebar = function Sidebar(_ref12) {
|
|
|
7072
8832
|
"$flexDirection": 'column',
|
|
7073
8833
|
"$gap": '28px',
|
|
7074
8834
|
"$width": '100%'
|
|
7075
|
-
}, logo && React.createElement(Logo, null, React.createElement(Icon, {
|
|
8835
|
+
}, logo && React.createElement(Logo$1, null, React.createElement(Icon, {
|
|
7076
8836
|
icon: logo.icon,
|
|
7077
8837
|
color: logo.iconColor
|
|
7078
|
-
}), React.createElement(TextContainer, {
|
|
8838
|
+
}), React.createElement(TextContainer$1, {
|
|
7079
8839
|
"$isExpanded": isExpanded,
|
|
7080
8840
|
"$fontWeight": '700'
|
|
7081
8841
|
}, logo.name)), React.createElement(Container, {
|
|
@@ -7097,14 +8857,14 @@ var Sidebar = function Sidebar(_ref12) {
|
|
|
7097
8857
|
onClick: function onClick() {
|
|
7098
8858
|
return hasChildren && toggleMenu(item.id);
|
|
7099
8859
|
}
|
|
7100
|
-
}, React.createElement(IconWrapper$
|
|
8860
|
+
}, React.createElement(IconWrapper$3, {
|
|
7101
8861
|
"$selected": !!active
|
|
7102
8862
|
}, React.createElement(Icon, {
|
|
7103
8863
|
icon: item.icon,
|
|
7104
8864
|
size: 20,
|
|
7105
8865
|
weight: item.iconWeight,
|
|
7106
8866
|
color: active ? themeColors.text.white : themeColors.text.medium
|
|
7107
|
-
})), React.createElement(TextContainer, {
|
|
8867
|
+
})), React.createElement(TextContainer$1, {
|
|
7108
8868
|
"$isExpanded": isExpanded,
|
|
7109
8869
|
"$fontSize": '14px',
|
|
7110
8870
|
"$padding": '0px 10px 0px 0px',
|
|
@@ -7115,7 +8875,7 @@ var Sidebar = function Sidebar(_ref12) {
|
|
|
7115
8875
|
color: themeColors.border.extraBold,
|
|
7116
8876
|
onClick: function onClick() {}
|
|
7117
8877
|
}));
|
|
7118
|
-
return item.url ? React.createElement(SidebarLink, {
|
|
8878
|
+
return item.url ? React.createElement(SidebarLink$1, {
|
|
7119
8879
|
key: item.id,
|
|
7120
8880
|
to: item.url
|
|
7121
8881
|
}, ContentLayout) : React.createElement(Container, {
|
|
@@ -7127,14 +8887,14 @@ var Sidebar = function Sidebar(_ref12) {
|
|
|
7127
8887
|
}))), ProfileContent);
|
|
7128
8888
|
};
|
|
7129
8889
|
|
|
7130
|
-
var _templateObject$
|
|
7131
|
-
var ContainerWrapper = styled.div(_templateObject$
|
|
8890
|
+
var _templateObject$t, _templateObject2$o, _templateObject3$h, _templateObject4$e;
|
|
8891
|
+
var ContainerWrapper$1 = styled.div(_templateObject$t || (_templateObject$t = _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) {
|
|
7132
8892
|
return props.$width || 'auto';
|
|
7133
8893
|
}, function (_ref) {
|
|
7134
8894
|
var $minHeight = _ref.$minHeight;
|
|
7135
8895
|
return $minHeight;
|
|
7136
8896
|
});
|
|
7137
|
-
var CellContainer = styled.div(_templateObject2$
|
|
8897
|
+
var CellContainer$1 = styled.div(_templateObject2$o || (_templateObject2$o = _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) {
|
|
7138
8898
|
return props.$align;
|
|
7139
8899
|
}, function (props) {
|
|
7140
8900
|
return props.$width || 'auto';
|
|
@@ -7145,14 +8905,14 @@ var CellContainer = styled.div(_templateObject2$j || (_templateObject2$j = _tagg
|
|
|
7145
8905
|
}, function (props) {
|
|
7146
8906
|
return props.$padding;
|
|
7147
8907
|
});
|
|
7148
|
-
var MainText = styled.div(_templateObject3$
|
|
8908
|
+
var MainText$1 = styled.div(_templateObject3$h || (_templateObject3$h = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
7149
8909
|
return props.$mtc;
|
|
7150
8910
|
}, function (props) {
|
|
7151
8911
|
return props.$mtfs;
|
|
7152
8912
|
}, function (props) {
|
|
7153
8913
|
return props.$mtw;
|
|
7154
8914
|
});
|
|
7155
|
-
var SubText = styled.div(_templateObject4$
|
|
8915
|
+
var SubText$1 = styled.div(_templateObject4$e || (_templateObject4$e = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
7156
8916
|
return props.$stc;
|
|
7157
8917
|
}, function (props) {
|
|
7158
8918
|
return props.$stfs;
|
|
@@ -7181,31 +8941,31 @@ var TableCell = function TableCell(_ref2) {
|
|
|
7181
8941
|
CustomFunction = _ref2.CustomFunction,
|
|
7182
8942
|
padding = _ref2.padding,
|
|
7183
8943
|
minHeight = _ref2.minHeight;
|
|
7184
|
-
return React.createElement(ContainerWrapper, {
|
|
8944
|
+
return React.createElement(ContainerWrapper$1, {
|
|
7185
8945
|
"$width": width,
|
|
7186
8946
|
"$minHeight": minHeight
|
|
7187
|
-
}, CustomFunction ? React.createElement(CellContainer, {
|
|
8947
|
+
}, CustomFunction ? React.createElement(CellContainer$1, {
|
|
7188
8948
|
"$align": alignment,
|
|
7189
8949
|
"$width": width,
|
|
7190
8950
|
"$minWidth": minWidth
|
|
7191
|
-
}, CustomFunction) : React.createElement(CellContainer, {
|
|
8951
|
+
}, CustomFunction) : React.createElement(CellContainer$1, {
|
|
7192
8952
|
"$align": alignment,
|
|
7193
8953
|
"$width": width,
|
|
7194
8954
|
"$minWidth": minWidth,
|
|
7195
8955
|
"$padding": padding
|
|
7196
|
-
}, React.createElement(MainText, {
|
|
8956
|
+
}, React.createElement(MainText$1, {
|
|
7197
8957
|
"$mtc": maintextcolor,
|
|
7198
8958
|
"$mtfs": maintextfontsize,
|
|
7199
8959
|
"$mtw": maintextweight
|
|
7200
|
-
}, maintext), subtext && React.createElement(SubText, {
|
|
8960
|
+
}, maintext), subtext && React.createElement(SubText$1, {
|
|
7201
8961
|
"$stc": subtextcolor,
|
|
7202
8962
|
"$stfs": subtextfontsize,
|
|
7203
8963
|
"$stw": subtextweight
|
|
7204
8964
|
}, subtext)));
|
|
7205
8965
|
};
|
|
7206
8966
|
|
|
7207
|
-
var _templateObject$
|
|
7208
|
-
var TableRowContainer = styled$1.div(_templateObject$
|
|
8967
|
+
var _templateObject$u;
|
|
8968
|
+
var TableRowContainer$1 = styled$1.div(_templateObject$u || (_templateObject$u = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n background: inherit;\n align-items: center;\n padding: 16px 12px;\n width: 100%;\n"])));
|
|
7209
8969
|
var TableRow = function TableRow(_ref) {
|
|
7210
8970
|
var rowconfig = _ref.rowconfig,
|
|
7211
8971
|
tableheaderconfig = _ref.tableheaderconfig,
|
|
@@ -7218,7 +8978,7 @@ var TableRow = function TableRow(_ref) {
|
|
|
7218
8978
|
}
|
|
7219
8979
|
};
|
|
7220
8980
|
return React.createElement(Container, null, rowconfig.map(function (data, Index) {
|
|
7221
|
-
return React.createElement(TableRowContainer, {
|
|
8981
|
+
return React.createElement(TableRowContainer$1, {
|
|
7222
8982
|
key: Index
|
|
7223
8983
|
}, tableheaderconfig.isAllSelectable && React.createElement(Container, {
|
|
7224
8984
|
"$padding": '0px 16px 0px 0px',
|
|
@@ -7255,12 +9015,12 @@ var TableRow = function TableRow(_ref) {
|
|
|
7255
9015
|
}));
|
|
7256
9016
|
};
|
|
7257
9017
|
|
|
7258
|
-
var _templateObject$
|
|
7259
|
-
var TableContainer = styled.div(_templateObject$
|
|
9018
|
+
var _templateObject$v, _templateObject2$p, _templateObject3$i, _templateObject4$f, _templateObject5$c, _templateObject6$9;
|
|
9019
|
+
var TableContainer$1 = styled.div(_templateObject$v || (_templateObject$v = _taggedTemplateLiteralLoose(["\n background: ", ";\n width: 100%;\n display: flex;\n overflow: hidden;\n border-radius: 8px;\n"])), function (_ref) {
|
|
7260
9020
|
var theme = _ref.theme;
|
|
7261
9021
|
return theme.brand.light;
|
|
7262
9022
|
});
|
|
7263
|
-
var TableHeader = styled.div(_templateObject2$
|
|
9023
|
+
var TableHeader$1 = styled.div(_templateObject2$p || (_templateObject2$p = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n display: flex;\n background: ", ";\n color: ", ";\n min-height: 36px;\n align-items: center;\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n padding: 9px 12px;\n"])), function (_ref2) {
|
|
7264
9024
|
var $hbcolor = _ref2.$hbcolor,
|
|
7265
9025
|
theme = _ref2.theme;
|
|
7266
9026
|
return $hbcolor || theme["default"].tertiary;
|
|
@@ -7269,19 +9029,19 @@ var TableHeader = styled.div(_templateObject2$k || (_templateObject2$k = _tagged
|
|
|
7269
9029
|
theme = _ref3.theme;
|
|
7270
9030
|
return $tcolor || theme.text.white;
|
|
7271
9031
|
});
|
|
7272
|
-
var TableContent = styled.div(_templateObject3$
|
|
7273
|
-
var TableData = styled.div(_templateObject4$
|
|
9032
|
+
var TableContent$1 = styled.div(_templateObject3$i || (_templateObject3$i = _taggedTemplateLiteralLoose(["\n width: 100%;\n svg {\n cursor: pointer;\n }\n"])));
|
|
9033
|
+
var TableData$1 = styled.div(_templateObject4$f || (_templateObject4$f = _taggedTemplateLiteralLoose(["\n overflow: auto;\n scrollbar-width: thin;\n height: 100%;\n max-height: ", ";\n"])), function (_ref4) {
|
|
7274
9034
|
var $isLegends = _ref4.$isLegends;
|
|
7275
9035
|
return $isLegends ? 'calc(100% - 56px)' : 'calc(100% - 36px)';
|
|
7276
9036
|
});
|
|
7277
|
-
var LegendDivider = styled.div(_templateObject5$
|
|
9037
|
+
var LegendDivider$1 = styled.div(_templateObject5$c || (_templateObject5$c = _taggedTemplateLiteralLoose(["\n flex: 1;\n height: 2px;\n background: ", ";\n margin-right: ", ";\n"])), function (_ref5) {
|
|
7278
9038
|
var theme = _ref5.theme;
|
|
7279
9039
|
return theme.border.extraLight;
|
|
7280
9040
|
}, function (_ref6) {
|
|
7281
9041
|
var $marginRight = _ref6.$marginRight;
|
|
7282
9042
|
return $marginRight != null ? $marginRight : '0px';
|
|
7283
9043
|
});
|
|
7284
|
-
var Divider = styled.div(_templateObject6$
|
|
9044
|
+
var Divider$1 = styled.div(_templateObject6$9 || (_templateObject6$9 = _taggedTemplateLiteralLoose(["\n height: 2px;\n background: ", ";\n"])), function (_ref7) {
|
|
7285
9045
|
var theme = _ref7.theme;
|
|
7286
9046
|
return theme.border.extraLight;
|
|
7287
9047
|
});
|
|
@@ -7340,7 +9100,7 @@ var Table = function Table(_ref8) {
|
|
|
7340
9100
|
});
|
|
7341
9101
|
setIsAllSelected(allChecked);
|
|
7342
9102
|
}, [rowconfig]);
|
|
7343
|
-
return React.createElement(TableContainer, null, React.createElement(TableContent, null, React.createElement(TableHeader, {
|
|
9103
|
+
return React.createElement(TableContainer$1, null, React.createElement(TableContent$1, null, React.createElement(TableHeader$1, {
|
|
7344
9104
|
"$hbcolor": tableheaderconfig.headercolor,
|
|
7345
9105
|
"$tcolor": tableheaderconfig.textcolor
|
|
7346
9106
|
}, tableheaderconfig.isAllSelectable && React.createElement(Container, {
|
|
@@ -7380,14 +9140,14 @@ var Table = function Table(_ref8) {
|
|
|
7380
9140
|
"$fontWeight": '400',
|
|
7381
9141
|
"$width": 'max-content',
|
|
7382
9142
|
"$lineHeight": 'normal'
|
|
7383
|
-
}, currentGroupTitle), React.createElement(LegendDivider, null)) : React.createElement(LegendDivider, {
|
|
9143
|
+
}, currentGroupTitle), React.createElement(LegendDivider$1, null)) : React.createElement(LegendDivider$1, {
|
|
7384
9144
|
"$marginRight": currentGroupTitle !== (((_allCols = allCols[index + 1]) === null || _allCols === void 0 ? void 0 : _allCols.groupTitle) || '') ? '8px' : '0px'
|
|
7385
9145
|
})) : null), React.createElement(TableCell, {
|
|
7386
9146
|
maintext: (_columndata$maintext = columndata.maintext) != null ? _columndata$maintext : '',
|
|
7387
9147
|
width: columndata.width,
|
|
7388
9148
|
alignment: columndata.alignment
|
|
7389
9149
|
}));
|
|
7390
|
-
})), React.createElement(Divider, null), loading ? React.createElement(Container, {
|
|
9150
|
+
})), React.createElement(Divider$1, null), loading ? React.createElement(Container, {
|
|
7391
9151
|
"$flexDirection": 'column',
|
|
7392
9152
|
"$alignItems": 'center',
|
|
7393
9153
|
"$justifyContent": 'center',
|
|
@@ -7399,7 +9159,7 @@ var Table = function Table(_ref8) {
|
|
|
7399
9159
|
"$alignItems": 'center',
|
|
7400
9160
|
"$padding": '24px 24px',
|
|
7401
9161
|
"$justifyContent": 'center'
|
|
7402
|
-
}, React.createElement(Span, null, noDataText)) : filter ? React.createElement(TableData, {
|
|
9162
|
+
}, React.createElement(Span, null, noDataText)) : filter ? React.createElement(TableData$1, {
|
|
7403
9163
|
"$isLegends": tableheaderconfig.headerdata.some(function (col) {
|
|
7404
9164
|
return !!col.groupTitle;
|
|
7405
9165
|
})
|
|
@@ -7434,9 +9194,9 @@ var Table = function Table(_ref8) {
|
|
|
7434
9194
|
rowconfig: [row],
|
|
7435
9195
|
tableheaderconfig: tableheaderconfig,
|
|
7436
9196
|
selectCallback: tableObject.selectCallback
|
|
7437
|
-
}), rows.length > 1 && index < rows.length - 1 && React.createElement(Divider, null));
|
|
9197
|
+
}), rows.length > 1 && index < rows.length - 1 && React.createElement(Divider$1, null));
|
|
7438
9198
|
}));
|
|
7439
|
-
})) : React.createElement(TableData, {
|
|
9199
|
+
})) : React.createElement(TableData$1, {
|
|
7440
9200
|
"$isLegends": tableheaderconfig.headerdata.some(function (col) {
|
|
7441
9201
|
return !!col.groupTitle;
|
|
7442
9202
|
})
|
|
@@ -7447,12 +9207,12 @@ var Table = function Table(_ref8) {
|
|
|
7447
9207
|
rowconfig: [row],
|
|
7448
9208
|
tableheaderconfig: tableheaderconfig,
|
|
7449
9209
|
selectCallback: tableObject.selectCallback
|
|
7450
|
-
}), filteredRows.length > 1 && index < filteredRows.length - 1 && React.createElement(Divider, null));
|
|
9210
|
+
}), filteredRows.length > 1 && index < filteredRows.length - 1 && React.createElement(Divider$1, null));
|
|
7451
9211
|
}))));
|
|
7452
9212
|
};
|
|
7453
9213
|
|
|
7454
|
-
var _templateObject$
|
|
7455
|
-
var Container$
|
|
9214
|
+
var _templateObject$w, _templateObject2$q, _templateObject3$j, _templateObject4$g, _templateObject5$d, _templateObject6$a;
|
|
9215
|
+
var Container$5 = styled.div(_templateObject$w || (_templateObject$w = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 100%; \n display: flex;\n flex-direction: column;\n overflow: ", ";\n gap: ", ";\n border: ", ";\n border-radius: 8px;\n"])), function (_ref) {
|
|
7456
9216
|
var $overflow = _ref.$overflow;
|
|
7457
9217
|
return $overflow || 'visible';
|
|
7458
9218
|
}, function (_ref2) {
|
|
@@ -7462,7 +9222,7 @@ var Container$4 = styled.div(_templateObject$q || (_templateObject$q = _taggedTe
|
|
|
7462
9222
|
var $border = _ref3.$border;
|
|
7463
9223
|
return $border;
|
|
7464
9224
|
});
|
|
7465
|
-
var FirstContainer = styled.div(_templateObject2$
|
|
9225
|
+
var FirstContainer$1 = styled.div(_templateObject2$q || (_templateObject2$q = _taggedTemplateLiteralLoose(["\n width: 100%;\n display: flex;\n font-family: NotoSans, sans-serif;\n font-size: 16px;\n gap: 24px;\n border-bottom: ", ";\n padding: ", ";\n justify-content: space-between;\n align-items: center;\n height: max-content;\n"])), function (_ref4) {
|
|
7466
9226
|
var $bordeBottom = _ref4.$bordeBottom,
|
|
7467
9227
|
theme = _ref4.theme;
|
|
7468
9228
|
return $bordeBottom != null ? $bordeBottom : "1px solid " + theme.border.light;
|
|
@@ -7470,7 +9230,7 @@ var FirstContainer = styled.div(_templateObject2$l || (_templateObject2$l = _tag
|
|
|
7470
9230
|
var $headerPadding = _ref5.$headerPadding;
|
|
7471
9231
|
return $headerPadding ? $headerPadding : '0px';
|
|
7472
9232
|
});
|
|
7473
|
-
var TabContainer = styled.div(_templateObject3$
|
|
9233
|
+
var TabContainer$1 = styled.div(_templateObject3$j || (_templateObject3$j = _taggedTemplateLiteralLoose(["\n width: auto;\n display: flex;\n align-items: center;\n cursor: ", ";\n opacity: ", ";\n gap: 8px;\n font-family: NotoSans, sans-serif;\n font-size: 14px;\n font-weight: 500;\n color: ", ";\n height: ", ";\n\n svg {\n cursor: ", ";\n }\n\n"])), function (_ref6) {
|
|
7474
9234
|
var $disabled = _ref6.$disabled;
|
|
7475
9235
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
7476
9236
|
}, function (_ref7) {
|
|
@@ -7486,7 +9246,7 @@ var TabContainer = styled.div(_templateObject3$f || (_templateObject3$f = _tagge
|
|
|
7486
9246
|
var $disabled = _ref10.$disabled;
|
|
7487
9247
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
7488
9248
|
});
|
|
7489
|
-
var TabItemContainer = styled.div(_templateObject4$
|
|
9249
|
+
var TabItemContainer$1 = styled.div(_templateObject4$g || (_templateObject4$g = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n position: relative;\n gap: 8px;\n height: 100%;\n max-height: ", ";\n\n &:after {\n content: '';\n display: ", ";\n width: 100%;\n min-height: 3px;\n background: ", ";\n position: absolute;\n bottom: -1px;\n left: 0px;\n }\n"])), function (_ref11) {
|
|
7490
9250
|
var $headerHeight = _ref11.$headerHeight;
|
|
7491
9251
|
return $headerHeight ? $headerHeight : '34px';
|
|
7492
9252
|
}, function (props) {
|
|
@@ -7495,12 +9255,12 @@ var TabItemContainer = styled.div(_templateObject4$c || (_templateObject4$c = _t
|
|
|
7495
9255
|
var theme = _ref12.theme;
|
|
7496
9256
|
return theme["default"].primary;
|
|
7497
9257
|
});
|
|
7498
|
-
var DetailsFirstContainer = styled.div(_templateObject5$
|
|
9258
|
+
var DetailsFirstContainer$1 = styled.div(_templateObject5$d || (_templateObject5$d = _taggedTemplateLiteralLoose(["\n text-align: center;\n font-size: 14px;\n line-height: 18px;\n font-weight: 500;\n font-family: NotoSans, sans-serif;\n height: 100%;\n display: flex;\n align-items: center;\n color: ", ";\n white-space: nowrap;\n"])), function (_ref13) {
|
|
7499
9259
|
var $active = _ref13.$active,
|
|
7500
9260
|
theme = _ref13.theme;
|
|
7501
9261
|
return $active ? theme["default"].primary : theme.text.medium;
|
|
7502
9262
|
});
|
|
7503
|
-
var TabItemsWrapper = styled.div(_templateObject6$
|
|
9263
|
+
var TabItemsWrapper$1 = styled.div(_templateObject6$a || (_templateObject6$a = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: 24px;\n // overflow-x: auto;\n scrollbar-width: thin;\n"])));
|
|
7504
9264
|
var Tabs = function Tabs(_ref14) {
|
|
7505
9265
|
var tabItems = _ref14.tabItems,
|
|
7506
9266
|
_ref14$disabled = _ref14.disabled,
|
|
@@ -7515,22 +9275,22 @@ var Tabs = function Tabs(_ref14) {
|
|
|
7515
9275
|
bordeBottom = _ref14.bordeBottom,
|
|
7516
9276
|
tabRightNode = _ref14.tabRightNode;
|
|
7517
9277
|
var themeColors = useTheme();
|
|
7518
|
-
return React.createElement(Container$
|
|
9278
|
+
return React.createElement(Container$5, {
|
|
7519
9279
|
"$gap": gap,
|
|
7520
9280
|
"$border": border,
|
|
7521
9281
|
"$overflow": overflow
|
|
7522
|
-
}, React.createElement(FirstContainer, {
|
|
9282
|
+
}, React.createElement(FirstContainer$1, {
|
|
7523
9283
|
"$headerPadding": headerPadding,
|
|
7524
9284
|
"$bordeBottom": bordeBottom
|
|
7525
|
-
}, React.createElement(TabItemsWrapper, null, tabItems.map(function (tab, index) {
|
|
7526
|
-
return React.createElement(TabContainer, {
|
|
9285
|
+
}, React.createElement(TabItemsWrapper$1, null, tabItems.map(function (tab, index) {
|
|
9286
|
+
return React.createElement(TabContainer$1, {
|
|
7527
9287
|
key: index,
|
|
7528
9288
|
onClick: function onClick() {
|
|
7529
9289
|
if (!disabled && tab.onClick) tab.onClick();
|
|
7530
9290
|
},
|
|
7531
9291
|
"$disabled": disabled,
|
|
7532
9292
|
"$headerHeight": headerHeight
|
|
7533
|
-
}, React.createElement(TabItemContainer, {
|
|
9293
|
+
}, React.createElement(TabItemContainer$1, {
|
|
7534
9294
|
"$active": activeTab === tab.title,
|
|
7535
9295
|
"$headerHeight": headerHeight
|
|
7536
9296
|
}, tab.icon && React.createElement(Icon, {
|
|
@@ -7538,11 +9298,11 @@ var Tabs = function Tabs(_ref14) {
|
|
|
7538
9298
|
icon: tab.icon,
|
|
7539
9299
|
size: tab.iconSize,
|
|
7540
9300
|
weight: tab.iconWeight
|
|
7541
|
-
}), React.createElement(DetailsFirstContainer, {
|
|
9301
|
+
}), React.createElement(DetailsFirstContainer$1, {
|
|
7542
9302
|
"$active": activeTab === tab.title
|
|
7543
9303
|
}, tab.title)));
|
|
7544
9304
|
})), tabRightNode === null || tabRightNode === void 0 ? void 0 : tabRightNode.node), tabItems.map(function (tab, index) {
|
|
7545
|
-
return activeTab === tab.title && React.createElement(Container$
|
|
9305
|
+
return activeTab === tab.title && React.createElement(Container$5, {
|
|
7546
9306
|
key: index,
|
|
7547
9307
|
"$overflow": overflow
|
|
7548
9308
|
}, tab.content);
|