@mw-kit/mw-ui 1.7.45 → 1.7.47
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/components/Calendar/components/Basic/components/Main/styles.d.ts +4 -1
- package/dist/components/Calendar/components/Basic/index.d.ts +1 -1
- package/dist/components/Calendar/components/Basic/interfaces.d.ts +6 -2
- package/dist/components/Calendar/components/Basic/styles.d.ts +4 -1
- package/dist/components/Calendar/index.d.ts +1 -1
- package/dist/components/Filters/Filters/components/Submenu/interfaces.d.ts +3 -1
- package/dist/components/Filters/Filters/interfaces.d.ts +3 -0
- package/dist/index.js +117 -73
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +117 -73
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -12582,7 +12582,15 @@ var Checkbox = React__default.forwardRef(function (props, ref) {
|
|
|
12582
12582
|
bordered = props.bordered;
|
|
12583
12583
|
var htmlProps = filterObject(props, ['label', 'invalid', 'required', 'padding', 'bordered']);
|
|
12584
12584
|
|
|
12585
|
-
var _ref =
|
|
12585
|
+
var _ref = function () {
|
|
12586
|
+
if (!props.label) {
|
|
12587
|
+
return [function () {
|
|
12588
|
+
return null;
|
|
12589
|
+
}];
|
|
12590
|
+
}
|
|
12591
|
+
|
|
12592
|
+
return typeof props.label === 'function' ? [props.label] : [LabelContent, props.label];
|
|
12593
|
+
}(),
|
|
12586
12594
|
LabelComponent = _ref[0],
|
|
12587
12595
|
children = _ref[1];
|
|
12588
12596
|
|
|
@@ -12855,9 +12863,14 @@ var MenuComponent = function MenuComponent(props, ref) {
|
|
|
12855
12863
|
var children = _ref2.children;
|
|
12856
12864
|
return React__default.createElement(Popup, Object.assign({
|
|
12857
12865
|
on: 'click',
|
|
12858
|
-
position: '
|
|
12866
|
+
position: 'left center',
|
|
12859
12867
|
inverted: true,
|
|
12860
|
-
wide: true
|
|
12868
|
+
wide: true,
|
|
12869
|
+
popperModifiers: {
|
|
12870
|
+
preventOverflow: {
|
|
12871
|
+
boundariesElement: 'window'
|
|
12872
|
+
}
|
|
12873
|
+
}
|
|
12861
12874
|
}, rule, {
|
|
12862
12875
|
trigger: React__default.createElement("div", null, children)
|
|
12863
12876
|
}));
|
|
@@ -12892,7 +12905,7 @@ var MenuComponent = function MenuComponent(props, ref) {
|
|
|
12892
12905
|
|
|
12893
12906
|
var Menu = React__default.forwardRef(MenuComponent);
|
|
12894
12907
|
|
|
12895
|
-
var _templateObject$9, _templateObject2$9, _templateObject3$9, _templateObject4$7, _templateObject5$6, _templateObject6$5, _templateObject7$5, _templateObject8$4, _templateObject9$4;
|
|
12908
|
+
var _templateObject$9, _templateObject2$9, _templateObject3$9, _templateObject4$7, _templateObject5$6, _templateObject6$5, _templateObject7$5, _templateObject8$4, _templateObject9$4, _templateObject10$4;
|
|
12896
12909
|
var Container$3 = styled.div(_templateObject$9 || (_templateObject$9 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n gap: ", ";\n background-color: ", ";\n position: relative;\n\n ", ";\n"])), function (_ref) {
|
|
12897
12910
|
var theme = _ref.theme;
|
|
12898
12911
|
return theme.spacings.s3;
|
|
@@ -12900,7 +12913,9 @@ var Container$3 = styled.div(_templateObject$9 || (_templateObject$9 = _taggedTe
|
|
|
12900
12913
|
var theme = _ref2.theme;
|
|
12901
12914
|
return theme.colors.white;
|
|
12902
12915
|
}, function (_ref3) {
|
|
12903
|
-
var theme = _ref3.theme
|
|
12916
|
+
var theme = _ref3.theme,
|
|
12917
|
+
paddingless = _ref3.$paddingless;
|
|
12918
|
+
if (paddingless) return;
|
|
12904
12919
|
var s3 = theme.spacings.s3;
|
|
12905
12920
|
return css(_templateObject2$9 || (_templateObject2$9 = _taggedTemplateLiteralLoose(["\n padding-top: ", ";\n padding-bottom: ", ";\n :first-child {\n padding-left: ", ";\n }\n :last-child {\n padding-right: ", ";\n }\n "])), s3, s3, s3, s3);
|
|
12906
12921
|
});
|
|
@@ -12926,7 +12941,7 @@ var MonthContainer = styled.div(_templateObject6$5 || (_templateObject6$5 = _tag
|
|
|
12926
12941
|
var theme = _ref9.theme;
|
|
12927
12942
|
return theme.spacings.s1;
|
|
12928
12943
|
});
|
|
12929
|
-
var
|
|
12944
|
+
var MonthName = styled.div(_templateObject7$5 || (_templateObject7$5 = _taggedTemplateLiteralLoose(["\n ", ";\n line-height: ", ";\n color: ", ";\n text-align: center;\n"])), function (_ref10) {
|
|
12930
12945
|
var theme = _ref10.theme;
|
|
12931
12946
|
return theme.useTypography('p');
|
|
12932
12947
|
}, function (_ref11) {
|
|
@@ -12935,15 +12950,16 @@ var MonthBtn = styled.div(_templateObject7$5 || (_templateObject7$5 = _taggedTem
|
|
|
12935
12950
|
}, function (_ref12) {
|
|
12936
12951
|
var theme = _ref12.theme;
|
|
12937
12952
|
return theme.colors.darkBlue;
|
|
12938
|
-
}
|
|
12953
|
+
});
|
|
12954
|
+
var MonthBtn = styled.div(_templateObject8$4 || (_templateObject8$4 = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: center;\n align-items: center;\n gap: ", ";\n\n ", "\n"])), function (_ref13) {
|
|
12939
12955
|
var theme = _ref13.theme;
|
|
12940
12956
|
return theme.spacings.s1;
|
|
12941
12957
|
}, function (_ref14) {
|
|
12942
12958
|
var onClick = _ref14.onClick;
|
|
12943
12959
|
if (!onClick) return;
|
|
12944
|
-
return css(
|
|
12960
|
+
return css(_templateObject9$4 || (_templateObject9$4 = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n "])));
|
|
12945
12961
|
});
|
|
12946
|
-
var NavBtn = styled.button(
|
|
12962
|
+
var NavBtn = styled.button(_templateObject10$4 || (_templateObject10$4 = _taggedTemplateLiteralLoose(["\n ", "\n line-height: 14px;\n width: 32px;\n height: 32px;\n box-shadow: none;\n border: none;\n background-color: transparent;\n\n padding: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n\n :disabled {\n visibility: hidden;\n }\n :not(:disabled) {\n cursor: pointer;\n :hover {\n background-color: ", ";\n }\n }\n\n transition-property: background-color;\n transition-timing-function: ease-in-out;\n transition-duration: 0.25s;\n"])), function (_ref15) {
|
|
12947
12963
|
var theme = _ref15.theme;
|
|
12948
12964
|
return theme.useTypography('p');
|
|
12949
12965
|
}, function (_ref16) {
|
|
@@ -13024,8 +13040,9 @@ var types = {
|
|
|
13024
13040
|
|
|
13025
13041
|
var _templateObject$a, _templateObject2$a;
|
|
13026
13042
|
var Container$4 = styled.div(_templateObject$a || (_templateObject$a = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n align-items: center;\n gap: ", ";\n\n :before {\n content: '';\n display: block;\n border-radius: 100%;\n\n ", ";\n\n background-color: ", ";\n }\n"])), function (_ref) {
|
|
13027
|
-
var
|
|
13028
|
-
|
|
13043
|
+
var theme = _ref.theme,
|
|
13044
|
+
labelColor = _ref.labelColor;
|
|
13045
|
+
return theme.getColor(labelColor);
|
|
13029
13046
|
}, function (_ref2) {
|
|
13030
13047
|
var spacings = _ref2.theme.spacings;
|
|
13031
13048
|
return spacings.s1;
|
|
@@ -13046,7 +13063,7 @@ var Indicator = function Indicator(props) {
|
|
|
13046
13063
|
}, props)));
|
|
13047
13064
|
};
|
|
13048
13065
|
|
|
13049
|
-
var _templateObject$b, _templateObject2$b, _templateObject3$a, _templateObject4$8, _templateObject5$7, _templateObject6$6, _templateObject7$6, _templateObject8$5, _templateObject9$5, _templateObject10$
|
|
13066
|
+
var _templateObject$b, _templateObject2$b, _templateObject3$a, _templateObject4$8, _templateObject5$7, _templateObject6$6, _templateObject7$6, _templateObject8$5, _templateObject9$5, _templateObject10$5, _templateObject11$2, _templateObject12$2, _templateObject13$2;
|
|
13050
13067
|
var Footer = styled.div(_templateObject$b || (_templateObject$b = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n > button:last-child {\n margin-left: auto;\n }\n"])));
|
|
13051
13068
|
var WeekContainer = styled.div(_templateObject2$b || (_templateObject2$b = _taggedTemplateLiteralLoose(["\n width: 100%;\n display: flex;\n\n :not(:first-child) {\n border-top: 1px solid ", ";\n }\n\n > * {\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n width: 32px;\n height: 32px;\n\n color: ", ";\n box-shadow: none;\n\n display: flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n\n border: 1px solid transparent;\n :not(:last-child) {\n border-right-color: ", ";\n }\n }\n"])), function (_ref) {
|
|
13052
13069
|
var theme = _ref.theme;
|
|
@@ -13071,43 +13088,53 @@ var Header = styled.div(_templateObject3$a || (_templateObject3$a = _taggedTempl
|
|
|
13071
13088
|
var theme = _ref7.theme;
|
|
13072
13089
|
return theme.getColor('lightestGrey', 40);
|
|
13073
13090
|
}, WeekContainer);
|
|
13074
|
-
var DayContainer = styled.button(_templateObject4$8 || (_templateObject4$8 = _taggedTemplateLiteralLoose(["\n position: relative;\n overflow: hidden;\n\n ", ";\n\n
|
|
13091
|
+
var DayContainer = styled.button(_templateObject4$8 || (_templateObject4$8 = _taggedTemplateLiteralLoose(["\n position: relative;\n overflow: hidden;\n\n ", ";\n\n ", "\n\n :disabled {\n color: ", ";\n }\n\n &,\n :after {\n transition-property: background-color, color, border-color;\n transition-timing-function: ease-in-out;\n transition-duration: 0.25s;\n }\n\n ", "\n"])), function (_ref8) {
|
|
13075
13092
|
var theme = _ref8.theme,
|
|
13076
|
-
appearance = _ref8.appearance
|
|
13093
|
+
appearance = _ref8.appearance,
|
|
13094
|
+
activeColor = _ref8.activeColor,
|
|
13095
|
+
onClick = _ref8.onClick;
|
|
13096
|
+
|
|
13097
|
+
if (!onClick) {
|
|
13098
|
+
return css(_templateObject5$7 || (_templateObject5$7 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), theme.colors.white);
|
|
13099
|
+
}
|
|
13077
13100
|
|
|
13078
13101
|
var hover = function hover(color) {
|
|
13079
|
-
return css(
|
|
13102
|
+
return css(_templateObject6$6 || (_templateObject6$6 = _taggedTemplateLiteralLoose(["\n :not(:disabled):hover {\n border-color: ", ";\n color: ", ";\n }\n "])), theme.colors[color], theme.colors[color]);
|
|
13080
13103
|
};
|
|
13081
13104
|
|
|
13082
13105
|
if (appearance === 'disabled') {
|
|
13083
|
-
return css(
|
|
13106
|
+
return css(_templateObject7$6 || (_templateObject7$6 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), theme.getColor('greyishBlue', 10));
|
|
13084
13107
|
} else if (appearance === 'highlight') {
|
|
13085
|
-
return css(
|
|
13108
|
+
return css(_templateObject8$5 || (_templateObject8$5 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n ", "\n "])), theme.getColor('blue', 30), hover('blue'));
|
|
13086
13109
|
} else if (appearance === 'active') {
|
|
13087
|
-
return css(
|
|
13110
|
+
return css(_templateObject9$5 || (_templateObject9$5 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n color: ", ";\n :not(:last-child) {\n border-right-color: ", ";\n }\n ", "\n "])), theme.colors[activeColor], theme.colors.white, function (_ref9) {
|
|
13088
13111
|
var theme = _ref9.theme;
|
|
13089
|
-
return theme.colors
|
|
13112
|
+
return theme.colors[activeColor];
|
|
13090
13113
|
}, hover('white'));
|
|
13091
13114
|
}
|
|
13092
13115
|
|
|
13093
|
-
return css(
|
|
13116
|
+
return css(_templateObject10$5 || (_templateObject10$5 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n ", "\n "])), theme.colors.white, hover('blue'));
|
|
13094
13117
|
}, function (_ref10) {
|
|
13095
|
-
var
|
|
13096
|
-
return
|
|
13118
|
+
var onClick = _ref10.onClick;
|
|
13119
|
+
if (!onClick) return;
|
|
13120
|
+
return css(_templateObject11$2 || (_templateObject11$2 = _taggedTemplateLiteralLoose(["\n :not(:disabled) {\n cursor: pointer;\n }\n "])));
|
|
13097
13121
|
}, function (_ref11) {
|
|
13098
|
-
var
|
|
13099
|
-
|
|
13100
|
-
|
|
13122
|
+
var theme = _ref11.theme;
|
|
13123
|
+
return theme.colors.silver;
|
|
13124
|
+
}, function (_ref12) {
|
|
13125
|
+
var appearance = _ref12.appearance,
|
|
13126
|
+
today = _ref12.today,
|
|
13127
|
+
theme = _ref12.theme;
|
|
13101
13128
|
|
|
13102
13129
|
if (today !== 1) {
|
|
13103
13130
|
return;
|
|
13104
13131
|
}
|
|
13105
13132
|
|
|
13106
|
-
return css(
|
|
13133
|
+
return css(_templateObject12$2 || (_templateObject12$2 = _taggedTemplateLiteralLoose(["\n :after {\n content: '';\n position: absolute;\n top: -60%;\n right: -60%;\n width: 100%;\n height: 100%;\n background-color: ", ";\n transform: rotate(45deg);\n }\n "])), theme.colors[appearance === 'active' ? 'white' : 'blue']);
|
|
13107
13134
|
});
|
|
13108
13135
|
var DayIndicator = styled(Indicator).attrs({
|
|
13109
13136
|
size: 'mini'
|
|
13110
|
-
})(
|
|
13137
|
+
})(_templateObject13$2 || (_templateObject13$2 = _taggedTemplateLiteralLoose(["\n position: absolute;\n bottom: calc(", " - 1px);\n left: calc(50% - (", " / 2) + 1px);\n"])), sizes.mini, sizes.mini);
|
|
13111
13138
|
|
|
13112
13139
|
var getCalendar = function getCalendar(d) {
|
|
13113
13140
|
var date = new Date(d.getTime());
|
|
@@ -13395,6 +13422,9 @@ var Main = React__default.forwardRef(function (props, ref) {
|
|
|
13395
13422
|
});
|
|
13396
13423
|
};
|
|
13397
13424
|
|
|
13425
|
+
useEffect(function () {
|
|
13426
|
+
setCalendar(getInitialCalendar(initialMonth, min, max));
|
|
13427
|
+
}, [initialMonth === null || initialMonth === void 0 ? void 0 : initialMonth.toISOString(), min === null || min === void 0 ? void 0 : min.toISOString(), max === null || max === void 0 ? void 0 : max.toISOString()]);
|
|
13398
13428
|
useEffect(function () {
|
|
13399
13429
|
var _ref2 = [calendar.weeks[0], calendar.weeks[calendar.weeks.length - 1]],
|
|
13400
13430
|
first = _ref2[0],
|
|
@@ -13454,22 +13484,29 @@ var Main = React__default.forwardRef(function (props, ref) {
|
|
|
13454
13484
|
};
|
|
13455
13485
|
|
|
13456
13486
|
return React__default.createElement(Container$3, {
|
|
13457
|
-
ref: ref
|
|
13487
|
+
ref: ref,
|
|
13488
|
+
"$paddingless": props.paddingless
|
|
13458
13489
|
}, props.label && React__default.createElement(LabelContainer, null, props.label), React__default.createElement(CalendarContainer, null, React__default.createElement(Header, null, React__default.createElement(MonthContainer, null, getPrev(), React__default.createElement("div", {
|
|
13459
13490
|
ref: useOnClickOut(function () {
|
|
13460
13491
|
return setSelectOpen(false);
|
|
13461
13492
|
})
|
|
13462
|
-
},
|
|
13463
|
-
|
|
13464
|
-
return
|
|
13465
|
-
return !prev;
|
|
13466
|
-
});
|
|
13493
|
+
}, function () {
|
|
13494
|
+
if (min !== undefined && max !== undefined && min.getFullYear() === max.getFullYear() && min.getMonth() === max.getMonth()) {
|
|
13495
|
+
return React__default.createElement(MonthName, null, months[calendar.month], " ", calendar.year);
|
|
13467
13496
|
}
|
|
13468
|
-
|
|
13469
|
-
|
|
13470
|
-
|
|
13471
|
-
|
|
13472
|
-
|
|
13497
|
+
|
|
13498
|
+
return React__default.createElement(MonthBtn, {
|
|
13499
|
+
onClick: function onClick() {
|
|
13500
|
+
return setSelectOpen(function (prev) {
|
|
13501
|
+
return !prev;
|
|
13502
|
+
});
|
|
13503
|
+
}
|
|
13504
|
+
}, React__default.createElement(MonthName, null, months[calendar.month], " ", calendar.year), React__default.createElement(Icon, {
|
|
13505
|
+
type: 'semantic',
|
|
13506
|
+
icon: selectOpen ? 'caret up' : 'caret down',
|
|
13507
|
+
width: '14px'
|
|
13508
|
+
}));
|
|
13509
|
+
}(), React__default.createElement(MonthPicker, {
|
|
13473
13510
|
open: selectOpen,
|
|
13474
13511
|
close: function close() {
|
|
13475
13512
|
return setSelectOpen(false);
|
|
@@ -13516,6 +13553,7 @@ var Main = React__default.forwardRef(function (props, ref) {
|
|
|
13516
13553
|
onMouseOut: onMouseOut,
|
|
13517
13554
|
disabled: disabled,
|
|
13518
13555
|
appearance: appearance,
|
|
13556
|
+
activeColor: details.activeColor || 'blue',
|
|
13519
13557
|
today: dateCompare(new Date(), date, 'eq', false) ? 1 : 0
|
|
13520
13558
|
}, day, details.indicator && React__default.createElement(DayIndicator, {
|
|
13521
13559
|
type: details.indicator
|
|
@@ -13528,7 +13566,7 @@ var Main = React__default.forwardRef(function (props, ref) {
|
|
|
13528
13566
|
Main.displayName = 'Main';
|
|
13529
13567
|
|
|
13530
13568
|
var BasicCalendar = React__default.forwardRef(function (props, ref) {
|
|
13531
|
-
var containerProps = filterObject(props, ['initialMonth', 'max', 'min', 'getDay', 'calendar', 'absolute', 'onChangeMonth']);
|
|
13569
|
+
var containerProps = filterObject(props, ['initialMonth', 'max', 'min', 'getDay', 'calendar', 'absolute', 'onChangeMonth', 'paddingless']);
|
|
13532
13570
|
return 'absolute' in props ? React__default.createElement(AbsoluteContainer$1, Object.assign({
|
|
13533
13571
|
axis: 'y',
|
|
13534
13572
|
maxHeight: maxHeight
|
|
@@ -13678,7 +13716,7 @@ var getTimeProps = function getTimeProps(time, value) {
|
|
|
13678
13716
|
});
|
|
13679
13717
|
};
|
|
13680
13718
|
|
|
13681
|
-
var _templateObject$e, _templateObject2$c, _templateObject3$b, _templateObject4$9, _templateObject5$8, _templateObject6$7, _templateObject7$7, _templateObject8$6, _templateObject9$6, _templateObject10$
|
|
13719
|
+
var _templateObject$e, _templateObject2$c, _templateObject3$b, _templateObject4$9, _templateObject5$8, _templateObject6$7, _templateObject7$7, _templateObject8$6, _templateObject9$6, _templateObject10$6, _templateObject11$3, _templateObject12$3;
|
|
13682
13720
|
var Button = styled.button(_templateObject$e || (_templateObject$e = _taggedTemplateLiteralLoose(["\n padding: 0\n ", ";\n font-family: 'Lato', sans-serif;\n font-weight: ", ";\n border-radius: 4px;\n position: relative;\n user-select: none;\n\n ", ";\n\n ", ";\n\n color: ", ";\n\n :disabled {\n ", "\n }\n\n :hover {\n cursor: ", ";\n\n ", "\n }\n\n :active {\n ", ";\n }\n\n ", "\n"])), function (_ref) {
|
|
13683
13721
|
var theme = _ref.theme,
|
|
13684
13722
|
appearance = _ref.appearance;
|
|
@@ -13750,14 +13788,14 @@ var Button = styled.button(_templateObject$e || (_templateObject$e = _taggedTemp
|
|
|
13750
13788
|
}
|
|
13751
13789
|
|
|
13752
13790
|
if (['link', 'borderless'].includes(appearance)) {
|
|
13753
|
-
return css(_templateObject10$
|
|
13791
|
+
return css(_templateObject10$6 || (_templateObject10$6 = _taggedTemplateLiteralLoose(["\n color: ", ";\n "])), theme.getColor('blue', 50));
|
|
13754
13792
|
}
|
|
13755
13793
|
|
|
13756
13794
|
return css(_templateObject11$3 || (_templateObject11$3 = _taggedTemplateLiteralLoose(["\n color: ", ";\n "])), theme.getColor(color || 'blue'));
|
|
13757
13795
|
}, function (_ref10) {
|
|
13758
13796
|
var loading = _ref10.loading;
|
|
13759
13797
|
if (!loading) return;
|
|
13760
|
-
return css(_templateObject12$
|
|
13798
|
+
return css(_templateObject12$3 || (_templateObject12$3 = _taggedTemplateLiteralLoose(["\n pointer-events: none;\n "])));
|
|
13761
13799
|
});
|
|
13762
13800
|
|
|
13763
13801
|
var _excluded = ["children", "content"];
|
|
@@ -15546,7 +15584,7 @@ var Switch = function Switch(props) {
|
|
|
15546
15584
|
})), React__default.createElement("span", null), label.after && React__default.createElement(LabelContainer$3, null, label.after));
|
|
15547
15585
|
};
|
|
15548
15586
|
|
|
15549
|
-
var _templateObject$q, _templateObject2$m, _templateObject3$i, _templateObject4$d, _templateObject5$b, _templateObject6$a, _templateObject7$a, _templateObject8$8, _templateObject9$8, _templateObject10$
|
|
15587
|
+
var _templateObject$q, _templateObject2$m, _templateObject3$i, _templateObject4$d, _templateObject5$b, _templateObject6$a, _templateObject7$a, _templateObject8$8, _templateObject9$8, _templateObject10$7, _templateObject11$4, _templateObject12$4, _templateObject13$3, _templateObject14$2, _templateObject15$2, _templateObject16$2, _templateObject17$2, _templateObject18$2, _templateObject19$1, _templateObject20$1;
|
|
15550
15588
|
var bullet = css(_templateObject$q || (_templateObject$q = _taggedTemplateLiteralLoose(["\n appearance: none;\n width: ", ";\n height: ", ";\n border-radius: 100%;\n border-width: 1px;\n border-style: solid;\n background-color: ", ";\n box-shadow: 0px 1px 3px ", ";\n"])), function (_ref) {
|
|
15551
15589
|
var theme = _ref.theme;
|
|
15552
15590
|
return theme.spacings.s4;
|
|
@@ -15606,7 +15644,7 @@ var Label$5 = styled.label(_templateObject7$a || (_templateObject7$a = _taggedTe
|
|
|
15606
15644
|
var required = _ref17.required;
|
|
15607
15645
|
return required && css(_templateObject9$8 || (_templateObject9$8 = _taggedTemplateLiteralLoose(["\n :after {\n content: ' *';\n }\n "])));
|
|
15608
15646
|
}, NavBar);
|
|
15609
|
-
var InputContainer$1 = styled.div(_templateObject10$
|
|
15647
|
+
var InputContainer$1 = styled.div(_templateObject10$7 || (_templateObject10$7 = _taggedTemplateLiteralLoose(["\n flex: 1;\n display: flex;\n gap: 6px;\n\n > div {\n position: relative;\n }\n\n ", "\n"])), function (_ref18) {
|
|
15610
15648
|
var theme = _ref18.theme,
|
|
15611
15649
|
invalid = _ref18.invalid;
|
|
15612
15650
|
|
|
@@ -15614,9 +15652,9 @@ var InputContainer$1 = styled.div(_templateObject10$6 || (_templateObject10$6 =
|
|
|
15614
15652
|
return css(_templateObject11$4 || (_templateObject11$4 = _taggedTemplateLiteralLoose(["\n ", " > span {\n background-color: ", ";\n }\n\n ", " {\n /** firefox */\n ::-moz-range-thumb {\n border-color: ", ";\n }\n /** ie */\n ::-ms-thumb {\n border-color: ", ";\n }\n /** chrome */\n ::-webkit-slider-thumb {\n border-color: ", ";\n }\n }\n "])), SelectedArea, theme.colors.blue, Input$2, theme.colors.lightestGrey, theme.colors.lightestGrey, theme.colors.lightestGrey);
|
|
15615
15653
|
}
|
|
15616
15654
|
|
|
15617
|
-
return css(_templateObject12$
|
|
15655
|
+
return css(_templateObject12$4 || (_templateObject12$4 = _taggedTemplateLiteralLoose(["\n ", " > span {\n background-color: ", ";\n }\n\n ", " {\n /** firefox */\n ::-moz-range-thumb {\n border-color: ", ";\n }\n /** ie */\n ::-ms-thumb {\n border-color: ", ";\n }\n /** chrome */\n ::-webkit-slider-thumb {\n border-color: ", ";\n }\n }\n "])), SelectedArea, theme.colors.warningRed, Input$2, theme.colors.warningRed, theme.colors.warningRed, theme.colors.warningRed);
|
|
15618
15656
|
});
|
|
15619
|
-
var MinMaxLabelContainer = styled.div(_templateObject13$
|
|
15657
|
+
var MinMaxLabelContainer = styled.div(_templateObject13$3 || (_templateObject13$3 = _taggedTemplateLiteralLoose(["\n display: flex;\n padding-bottom: 2px;\n"])));
|
|
15620
15658
|
var LabelsContainer = styled.div(_templateObject14$2 || (_templateObject14$2 = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: 7px;\n\n ", "\n"])), function (_ref19) {
|
|
15621
15659
|
var position = _ref19.position;
|
|
15622
15660
|
|
|
@@ -16107,7 +16145,7 @@ var parse = function parse(value) {
|
|
|
16107
16145
|
});
|
|
16108
16146
|
};
|
|
16109
16147
|
|
|
16110
|
-
var _templateObject$s, _templateObject2$o, _templateObject3$k, _templateObject4$f, _templateObject5$d, _templateObject6$c, _templateObject7$c, _templateObject8$9, _templateObject9$9, _templateObject10$
|
|
16148
|
+
var _templateObject$s, _templateObject2$o, _templateObject3$k, _templateObject4$f, _templateObject5$d, _templateObject6$c, _templateObject7$c, _templateObject8$9, _templateObject9$9, _templateObject10$8, _templateObject11$5, _templateObject12$5;
|
|
16111
16149
|
var RelativeContainer$5 = styled.div(_templateObject$s || (_templateObject$s = _taggedTemplateLiteralLoose(["\n position: relative;\n user-select: none;\n min-width: 220px;\n\n > input,\n > label > input {\n color: transparent;\n background-color: transparent;\n width: 1px;\n height: 1px;\n position: absolute;\n left: 0;\n bottom: 0;\n border: 0;\n padding: 0;\n overflow: hidden;\n outline: none;\n box-shadow: none;\n }\n"])));
|
|
16112
16150
|
var LabelContainer$6 = styled.div(_templateObject2$o || (_templateObject2$o = _taggedTemplateLiteralLoose(["\n ", "\n line-height: 17px;\n flex: 1;\n\n :first-child {\n text-align: left;\n }\n :not(:first-child) {\n text-align: center;\n }\n\n ", "\n\n ", ";\n"])), function (_ref) {
|
|
16113
16151
|
var theme = _ref.theme;
|
|
@@ -16155,7 +16193,7 @@ var Container$6 = styled.div(_templateObject5$d || (_templateObject5$d = _tagged
|
|
|
16155
16193
|
var Button$4 = styled.button(_templateObject9$9 || (_templateObject9$9 = _taggedTemplateLiteralLoose(["\n display: flex;\n background-color: transparent;\n border: none;\n padding: 0;\n box-shadow: none;\n\n ", ";\n"])), function (_ref11) {
|
|
16156
16194
|
var onClick = _ref11.onClick;
|
|
16157
16195
|
if (!onClick) return;
|
|
16158
|
-
return css(_templateObject10$
|
|
16196
|
+
return css(_templateObject10$8 || (_templateObject10$8 = _taggedTemplateLiteralLoose(["\n :not(:disabled) {\n cursor: pointer;\n }\n "])));
|
|
16159
16197
|
});
|
|
16160
16198
|
var LabelText$1 = styled.label(_templateObject11$5 || (_templateObject11$5 = _taggedTemplateLiteralLoose(["\n display: inline-block;\n margin-bottom: ", ";\n\n ", "\n"])), function (_ref12) {
|
|
16161
16199
|
var theme = _ref12.theme;
|
|
@@ -16163,7 +16201,7 @@ var LabelText$1 = styled.label(_templateObject11$5 || (_templateObject11$5 = _ta
|
|
|
16163
16201
|
}, function (_ref13) {
|
|
16164
16202
|
var required = _ref13.required;
|
|
16165
16203
|
if (!required) return;
|
|
16166
|
-
return css(_templateObject12$
|
|
16204
|
+
return css(_templateObject12$5 || (_templateObject12$5 = _taggedTemplateLiteralLoose(["\n :after {\n content: ' *';\n }\n "])));
|
|
16167
16205
|
});
|
|
16168
16206
|
|
|
16169
16207
|
var Component$1 = React__default.forwardRef(function (props, ref) {
|
|
@@ -17204,7 +17242,7 @@ var AppliedFilters = Object.assign(function (props) {
|
|
|
17204
17242
|
Menu: AppliedFiltersMenu
|
|
17205
17243
|
});
|
|
17206
17244
|
|
|
17207
|
-
var _templateObject$A, _templateObject2$t, _templateObject3$o, _templateObject4$h, _templateObject5$e, _templateObject6$d, _templateObject7$d, _templateObject8$a, _templateObject9$a, _templateObject10$
|
|
17245
|
+
var _templateObject$A, _templateObject2$t, _templateObject3$o, _templateObject4$h, _templateObject5$e, _templateObject6$d, _templateObject7$d, _templateObject8$a, _templateObject9$a, _templateObject10$9;
|
|
17208
17246
|
var Container$9 = styled.div(_templateObject$A || (_templateObject$A = _taggedTemplateLiteralLoose(["\n width: 100%;\n background: #fff;\n border: 1px solid #d4d4d5;\n border-radius: 4px;\n border-left-width: 5px;\n padding: 14px;\n ", "\n ", "\n ", "\n ", "\n\n ", "\n ", "\n ", "\n\n ", "\n ", "\n"])), function (props) {
|
|
17209
17247
|
return props.size === 'mini' && css(_templateObject2$t || (_templateObject2$t = _taggedTemplateLiteralLoose(["\n width: 394px;\n height: 99px;\n "])));
|
|
17210
17248
|
}, function (props) {
|
|
@@ -17222,7 +17260,7 @@ var Container$9 = styled.div(_templateObject$A || (_templateObject$A = _taggedTe
|
|
|
17222
17260
|
}, function (props) {
|
|
17223
17261
|
return props.borderType === 'danger' && css(_templateObject9$a || (_templateObject9$a = _taggedTemplateLiteralLoose(["\n border-left-color: #e23851;\n "])));
|
|
17224
17262
|
}, function (props) {
|
|
17225
|
-
return props.borderType === 'none' && css(_templateObject10$
|
|
17263
|
+
return props.borderType === 'none' && css(_templateObject10$9 || (_templateObject10$9 = _taggedTemplateLiteralLoose(["\n border: 1px solid #d4d4d5;\n "])));
|
|
17226
17264
|
});
|
|
17227
17265
|
|
|
17228
17266
|
var _excluded$1 = ["children"];
|
|
@@ -17394,7 +17432,8 @@ var getInstance = function getInstance(props) {
|
|
|
17394
17432
|
var Submenu = function Submenu(props) {
|
|
17395
17433
|
var item = props.item,
|
|
17396
17434
|
close = props.close,
|
|
17397
|
-
setAppliedFilters = props.setAppliedFilters
|
|
17435
|
+
setAppliedFilters = props.setAppliedFilters,
|
|
17436
|
+
closeParent = props.closeParent;
|
|
17398
17437
|
|
|
17399
17438
|
var _getInstance = getInstance(props),
|
|
17400
17439
|
open = _getInstance.open,
|
|
@@ -17498,6 +17537,7 @@ var Submenu = function Submenu(props) {
|
|
|
17498
17537
|
});
|
|
17499
17538
|
return newState;
|
|
17500
17539
|
});
|
|
17540
|
+
!item.keepOpen && closeParent();
|
|
17501
17541
|
} : undefined;
|
|
17502
17542
|
|
|
17503
17543
|
var optionsParser = function optionsParser(option) {
|
|
@@ -17515,7 +17555,7 @@ var Submenu = function Submenu(props) {
|
|
|
17515
17555
|
});
|
|
17516
17556
|
};
|
|
17517
17557
|
|
|
17518
|
-
return React__default.createElement(Menu, {
|
|
17558
|
+
return React__default.createElement(Menu, Object.assign({
|
|
17519
17559
|
open: open,
|
|
17520
17560
|
axis: 'x',
|
|
17521
17561
|
options: options.map(optionsParser),
|
|
@@ -17553,7 +17593,7 @@ var Submenu = function Submenu(props) {
|
|
|
17553
17593
|
width: {}
|
|
17554
17594
|
}
|
|
17555
17595
|
}
|
|
17556
|
-
});
|
|
17596
|
+
}, props.containerProps || {}));
|
|
17557
17597
|
};
|
|
17558
17598
|
|
|
17559
17599
|
var FiltersMenu = function FiltersMenu(props) {
|
|
@@ -17609,14 +17649,17 @@ var FiltersMenu = function FiltersMenu(props) {
|
|
|
17609
17649
|
close: function close() {
|
|
17610
17650
|
return setActive(-1);
|
|
17611
17651
|
},
|
|
17612
|
-
|
|
17652
|
+
closeParent: close,
|
|
17653
|
+
setAppliedFilters: props.setAppliedFilters,
|
|
17654
|
+
containerProps: props.subContainerProps
|
|
17613
17655
|
}));
|
|
17614
17656
|
};
|
|
17615
17657
|
|
|
17616
17658
|
var Filters = Object.assign(function (props) {
|
|
17617
17659
|
var items = props.items,
|
|
17618
17660
|
setAppliedFilters = props.setAppliedFilters,
|
|
17619
|
-
containerProps = props.containerProps
|
|
17661
|
+
containerProps = props.containerProps,
|
|
17662
|
+
subContainerProps = props.subContainerProps;
|
|
17620
17663
|
var buttonProps = filterObject(props, ['items', 'setAppliedFilters']);
|
|
17621
17664
|
return React__default.createElement(Button$5, Object.assign({}, buttonProps, {
|
|
17622
17665
|
getContent: function getContent(open, close) {
|
|
@@ -17625,7 +17668,8 @@ var Filters = Object.assign(function (props) {
|
|
|
17625
17668
|
close: close,
|
|
17626
17669
|
setAppliedFilters: setAppliedFilters,
|
|
17627
17670
|
items: items,
|
|
17628
|
-
containerProps: containerProps
|
|
17671
|
+
containerProps: containerProps,
|
|
17672
|
+
subContainerProps: subContainerProps
|
|
17629
17673
|
}));
|
|
17630
17674
|
}
|
|
17631
17675
|
}), "Filtros");
|
|
@@ -17640,7 +17684,7 @@ var useContext$2 = function useContext() {
|
|
|
17640
17684
|
return React__default.useContext(Provider$2);
|
|
17641
17685
|
};
|
|
17642
17686
|
|
|
17643
|
-
var _templateObject$D, _templateObject2$u, _templateObject3$p, _templateObject4$i, _templateObject5$f, _templateObject6$e, _templateObject7$e, _templateObject8$b, _templateObject9$b, _templateObject10$
|
|
17687
|
+
var _templateObject$D, _templateObject2$u, _templateObject3$p, _templateObject4$i, _templateObject5$f, _templateObject6$e, _templateObject7$e, _templateObject8$b, _templateObject9$b, _templateObject10$a, _templateObject11$6, _templateObject12$6, _templateObject13$4, _templateObject14$3, _templateObject15$3;
|
|
17644
17688
|
var aligns = {
|
|
17645
17689
|
self: {
|
|
17646
17690
|
horizontal: {
|
|
@@ -17723,7 +17767,7 @@ var Col = styled.div(_templateObject$D || (_templateObject$D = _taggedTemplateLi
|
|
|
17723
17767
|
|
|
17724
17768
|
if (align.text !== undefined) {
|
|
17725
17769
|
var _v4 = align.text;
|
|
17726
|
-
styles.push(css(_templateObject10$
|
|
17770
|
+
styles.push(css(_templateObject10$a || (_templateObject10$a = _taggedTemplateLiteralLoose(["\n text-align: ", ";\n "])), _v4));
|
|
17727
17771
|
}
|
|
17728
17772
|
|
|
17729
17773
|
return styles;
|
|
@@ -17737,13 +17781,13 @@ var Col = styled.div(_templateObject$D || (_templateObject$D = _taggedTemplateLi
|
|
|
17737
17781
|
theme = _ref6.theme;
|
|
17738
17782
|
if (fontColor === undefined) return;
|
|
17739
17783
|
var c = Array.isArray(fontColor) ? theme.getColor.apply(theme, fontColor) : theme.colors[fontColor];
|
|
17740
|
-
return css(_templateObject12$
|
|
17784
|
+
return css(_templateObject12$6 || (_templateObject12$6 = _taggedTemplateLiteralLoose(["\n color: ", ";\n "])), c);
|
|
17741
17785
|
}, function (_ref7) {
|
|
17742
17786
|
var backgroundColor = _ref7.backgroundColor,
|
|
17743
17787
|
theme = _ref7.theme;
|
|
17744
17788
|
if (backgroundColor === undefined) return;
|
|
17745
17789
|
var c = Array.isArray(backgroundColor) ? theme.getColor.apply(theme, backgroundColor) : theme.colors[backgroundColor];
|
|
17746
|
-
return css(_templateObject13$
|
|
17790
|
+
return css(_templateObject13$4 || (_templateObject13$4 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), c);
|
|
17747
17791
|
}, function (_ref8) {
|
|
17748
17792
|
var hover = _ref8.hover,
|
|
17749
17793
|
theme = _ref8.theme;
|
|
@@ -17799,7 +17843,7 @@ var Grid$1 = function Grid$1(props) {
|
|
|
17799
17843
|
}, React__default.createElement(Grid, Object.assign({}, gridProps)));
|
|
17800
17844
|
};
|
|
17801
17845
|
|
|
17802
|
-
var _templateObject$F, _templateObject2$w, _templateObject3$r, _templateObject4$j, _templateObject5$g, _templateObject6$f, _templateObject7$f, _templateObject8$c, _templateObject9$c, _templateObject10$
|
|
17846
|
+
var _templateObject$F, _templateObject2$w, _templateObject3$r, _templateObject4$j, _templateObject5$g, _templateObject6$f, _templateObject7$f, _templateObject8$c, _templateObject9$c, _templateObject10$b;
|
|
17803
17847
|
var horizontalAligns = {
|
|
17804
17848
|
around: 'space-around',
|
|
17805
17849
|
between: 'space-between',
|
|
@@ -17874,7 +17918,7 @@ var Row = styled.div(_templateObject$F || (_templateObject$F = _taggedTemplateLi
|
|
|
17874
17918
|
if (!hover) return;
|
|
17875
17919
|
var h = hover === true ? ['lightGrey', 50] : hover;
|
|
17876
17920
|
var c = Array.isArray(h) ? theme.getColor.apply(theme, h) : theme.colors[h];
|
|
17877
|
-
return css(_templateObject10$
|
|
17921
|
+
return css(_templateObject10$b || (_templateObject10$b = _taggedTemplateLiteralLoose(["\n :hover {\n background-color: ", ";\n }\n "])), c);
|
|
17878
17922
|
});
|
|
17879
17923
|
|
|
17880
17924
|
var Row$1 = function Row$1(props) {
|
|
@@ -17927,7 +17971,7 @@ var widths = {
|
|
|
17927
17971
|
default: '642.5px'
|
|
17928
17972
|
};
|
|
17929
17973
|
|
|
17930
|
-
var _templateObject$G, _templateObject2$x, _templateObject3$s, _templateObject4$k, _templateObject5$h, _templateObject6$g, _templateObject7$g, _templateObject8$d, _templateObject9$d, _templateObject10$
|
|
17974
|
+
var _templateObject$G, _templateObject2$x, _templateObject3$s, _templateObject4$k, _templateObject5$h, _templateObject6$g, _templateObject7$g, _templateObject8$d, _templateObject9$d, _templateObject10$c;
|
|
17931
17975
|
var Background = styled.div(_templateObject$G || (_templateObject$G = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: center;\n align-items: center;\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n backdrop-filter: blur(3px);\n background-color: ", ";\n"])), function (_ref) {
|
|
17932
17976
|
var theme = _ref.theme;
|
|
17933
17977
|
return theme.getColor('black', 25);
|
|
@@ -17960,7 +18004,7 @@ var Container$b = styled.div(_templateObject9$d || (_templateObject9$d = _tagged
|
|
|
17960
18004
|
customSize = _ref6.customSize,
|
|
17961
18005
|
color = _ref6.color,
|
|
17962
18006
|
inverted = _ref6.inverted;
|
|
17963
|
-
return css(_templateObject10$
|
|
18007
|
+
return css(_templateObject10$c || (_templateObject10$c = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n box-shadow: 0 0 21px 7px ", ";\n\n width: ", ";\n\n height: ", ";\n\n ", " {\n background-color: ", ";\n color: ", ";\n }\n "])), theme.colors.white, theme.getColor('black', 15), size === 'custom' && customSize ? customSize.width || 'auto' : widths[size], size === 'custom' && customSize ? customSize.height || 'auto' : heights[size], Header$5, inverted ? theme.isDarkColor(color) : theme.colors[color], inverted ? theme.colors[color] : theme.isDarkColor(color));
|
|
17964
18008
|
});
|
|
17965
18009
|
|
|
17966
18010
|
var _excluded$2 = ["children"];
|
|
@@ -18157,7 +18201,7 @@ var Modal$1 = Object.assign(Modal, {
|
|
|
18157
18201
|
Audit: Audit
|
|
18158
18202
|
});
|
|
18159
18203
|
|
|
18160
|
-
var _templateObject$K, _templateObject2$y, _templateObject3$t, _templateObject4$l, _templateObject5$i, _templateObject6$h, _templateObject7$h, _templateObject8$e, _templateObject9$e, _templateObject10$
|
|
18204
|
+
var _templateObject$K, _templateObject2$y, _templateObject3$t, _templateObject4$l, _templateObject5$i, _templateObject6$h, _templateObject7$h, _templateObject8$e, _templateObject9$e, _templateObject10$d, _templateObject11$7;
|
|
18161
18205
|
var Container$c = styled.div(_templateObject$K || (_templateObject$K = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 300px;\n position: absolute;\n padding: 14px;\n"])));
|
|
18162
18206
|
var Header$6 = styled.div(_templateObject2$y || (_templateObject2$y = _taggedTemplateLiteralLoose(["\n display: flex;\n"])));
|
|
18163
18207
|
var HeaderImage = styled.div(_templateObject3$t || (_templateObject3$t = _taggedTemplateLiteralLoose(["\n width: 43px;\n height: 44px;\n background-color: #ebebeb;\n"])));
|
|
@@ -18172,7 +18216,7 @@ var HeaderLine = styled.div(_templateObject6$h || (_templateObject6$h = _taggedT
|
|
|
18172
18216
|
}, function (props) {
|
|
18173
18217
|
return props.size === 'medium' && css(_templateObject9$e || (_templateObject9$e = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
|
|
18174
18218
|
}, function (props) {
|
|
18175
|
-
return props.size === 'large' && css(_templateObject10$
|
|
18219
|
+
return props.size === 'large' && css(_templateObject10$d || (_templateObject10$d = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
|
|
18176
18220
|
});
|
|
18177
18221
|
var MainLine = styled(HeaderLine)(_templateObject11$7 || (_templateObject11$7 = _taggedTemplateLiteralLoose(["\n margin-bottom: 14px;\n margin-left: 0;\n"])));
|
|
18178
18222
|
|
|
@@ -18443,7 +18487,7 @@ var Template6 = function Template6(props) {
|
|
|
18443
18487
|
})));
|
|
18444
18488
|
};
|
|
18445
18489
|
|
|
18446
|
-
var _templateObject$R, _templateObject2$F, _templateObject3$A, _templateObject4$r, _templateObject5$o, _templateObject6$m, _templateObject7$m, _templateObject8$j, _templateObject9$h, _templateObject10$
|
|
18490
|
+
var _templateObject$R, _templateObject2$F, _templateObject3$A, _templateObject4$r, _templateObject5$o, _templateObject6$m, _templateObject7$m, _templateObject8$j, _templateObject9$h, _templateObject10$e;
|
|
18447
18491
|
var Container$i = styled.div(_templateObject$R || (_templateObject$R = _taggedTemplateLiteralLoose(["\n width: 395px;\n height: 110px;\n display: flex;\n flex-direction: column;\n align-items: center;\n background: #f5f5f5 0% 0% no-repeat padding-box;\n"])));
|
|
18448
18492
|
var Header$9 = styled.div(_templateObject2$F || (_templateObject2$F = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 14px;\n width: 100%;\n"])));
|
|
18449
18493
|
var HeaderLine$6 = styled.div(_templateObject3$A || (_templateObject3$A = _taggedTemplateLiteralLoose(["\n height: ", ";\n background-color: #ebebeb;\n margin-left: 7px;\n\n & + div {\n margin-top: 14px;\n }\n\n ", "\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
|
|
@@ -18465,7 +18509,7 @@ var CustomLine$3 = styled(HeaderLine$6)(_templateObject8$j || (_templateObject8$
|
|
|
18465
18509
|
return props.color;
|
|
18466
18510
|
});
|
|
18467
18511
|
var Main$2 = styled.div(_templateObject9$h || (_templateObject9$h = _taggedTemplateLiteralLoose(["\n margin: 10px 0;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-evenly;\n"])));
|
|
18468
|
-
var Circle$1 = styled.div(_templateObject10$
|
|
18512
|
+
var Circle$1 = styled.div(_templateObject10$e || (_templateObject10$e = _taggedTemplateLiteralLoose(["\n width: 30px;\n height: 30px;\n background-color: #ebebeb;\n border-radius: 50%;\n margin: 0 16px;\n"])));
|
|
18469
18513
|
|
|
18470
18514
|
var Template7 = function Template7(props) {
|
|
18471
18515
|
if (!props.loading) return React__default.createElement(React__default.Fragment, null);
|
|
@@ -18520,7 +18564,7 @@ var Template8 = function Template8(props) {
|
|
|
18520
18564
|
})));
|
|
18521
18565
|
};
|
|
18522
18566
|
|
|
18523
|
-
var _templateObject$T, _templateObject2$H, _templateObject3$C, _templateObject4$t, _templateObject5$q, _templateObject6$o, _templateObject7$o, _templateObject8$l, _templateObject9$j, _templateObject10$
|
|
18567
|
+
var _templateObject$T, _templateObject2$H, _templateObject3$C, _templateObject4$t, _templateObject5$q, _templateObject6$o, _templateObject7$o, _templateObject8$l, _templateObject9$j, _templateObject10$f;
|
|
18524
18568
|
var Container$k = styled.div(_templateObject$T || (_templateObject$T = _taggedTemplateLiteralLoose(["\n width: 395px;\n height: 245px;\n display: flex;\n flex-direction: column;\n align-items: center;\n background: #f5f5f5 0% 0% no-repeat padding-box;\n"])));
|
|
18525
18569
|
var Header$b = styled.div(_templateObject2$H || (_templateObject2$H = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 14px;\n width: 100%;\n"])));
|
|
18526
18570
|
var HeaderLine$8 = styled.div(_templateObject3$C || (_templateObject3$C = _taggedTemplateLiteralLoose(["\n height: ", ";\n background-color: #ebebeb;\n margin-left: 7px;\n\n & + div {\n margin-top: 7px;\n }\n\n ", "\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
|
|
@@ -18542,7 +18586,7 @@ var CustomLine$5 = styled(HeaderLine$8)(_templateObject8$l || (_templateObject8$
|
|
|
18542
18586
|
return props.color;
|
|
18543
18587
|
});
|
|
18544
18588
|
var Main$4 = styled.div(_templateObject9$j || (_templateObject9$j = _taggedTemplateLiteralLoose(["\n padding: 14px;\n width: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"])));
|
|
18545
|
-
var Circle$2 = styled.div(_templateObject10$
|
|
18589
|
+
var Circle$2 = styled.div(_templateObject10$f || (_templateObject10$f = _taggedTemplateLiteralLoose(["\n width: 128px;\n height: 128px;\n background-color: #ebebeb;\n border-radius: 50%;\n"])));
|
|
18546
18590
|
|
|
18547
18591
|
var Template8$1 = function Template8(props) {
|
|
18548
18592
|
if (!props.loading) return React__default.createElement(React__default.Fragment, null);
|
|
@@ -18559,7 +18603,7 @@ var Template8$1 = function Template8(props) {
|
|
|
18559
18603
|
})), React__default.createElement(Main$4, null, React__default.createElement(Circle$2, null)));
|
|
18560
18604
|
};
|
|
18561
18605
|
|
|
18562
|
-
var _templateObject$U, _templateObject2$I, _templateObject3$D, _templateObject4$u, _templateObject5$r, _templateObject6$p, _templateObject7$p, _templateObject8$m, _templateObject9$k, _templateObject10$
|
|
18606
|
+
var _templateObject$U, _templateObject2$I, _templateObject3$D, _templateObject4$u, _templateObject5$r, _templateObject6$p, _templateObject7$p, _templateObject8$m, _templateObject9$k, _templateObject10$g, _templateObject11$8;
|
|
18563
18607
|
var Container$l = styled.div(_templateObject$U || (_templateObject$U = _taggedTemplateLiteralLoose(["\n width: 395px;\n height: 245px;\n display: flex;\n flex-direction: column;\n align-items: center;\n background: #f5f5f5 0% 0% no-repeat padding-box;\n"])));
|
|
18564
18608
|
var Header$c = styled.div(_templateObject2$I || (_templateObject2$I = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 14px;\n width: 100%;\n"])));
|
|
18565
18609
|
var HeaderLine$9 = styled.div(_templateObject3$D || (_templateObject3$D = _taggedTemplateLiteralLoose(["\n height: ", ";\n background-color: #ebebeb;\n margin-left: 7px;\n\n & + div {\n margin-top: 7px;\n }\n\n ", "\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
|
|
@@ -18581,7 +18625,7 @@ var CustomLine$6 = styled(HeaderLine$9)(_templateObject8$m || (_templateObject8$
|
|
|
18581
18625
|
return props.color;
|
|
18582
18626
|
});
|
|
18583
18627
|
var GraphLine = styled(CustomLine$6)(_templateObject9$k || (_templateObject9$k = _taggedTemplateLiteralLoose(["\n margin: 0 7px;\n"])));
|
|
18584
|
-
var Main$5 = styled.div(_templateObject10$
|
|
18628
|
+
var Main$5 = styled.div(_templateObject10$g || (_templateObject10$g = _taggedTemplateLiteralLoose(["\n flex: 1;\n padding: 0 7px 72px 7px;\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: flex-end;\n justify-content: center;\n"])));
|
|
18585
18629
|
var Circle$3 = styled.div(_templateObject11$8 || (_templateObject11$8 = _taggedTemplateLiteralLoose(["\n width: 128px;\n height: 128px;\n background-color: #ebebeb;\n border-radius: 50%;\n"])));
|
|
18586
18630
|
|
|
18587
18631
|
var Template10 = function Template10(props) {
|