@mw-kit/mw-ui 1.7.44 → 1.7.46
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/index.d.ts +1 -1
- package/dist/components/Calendar/components/Basic/interfaces.d.ts +2 -1
- 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 +100 -71
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +100 -71
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -12892,7 +12892,7 @@ var MenuComponent = function MenuComponent(props, ref) {
|
|
|
12892
12892
|
|
|
12893
12893
|
var Menu = React__default.forwardRef(MenuComponent);
|
|
12894
12894
|
|
|
12895
|
-
var _templateObject$9, _templateObject2$9, _templateObject3$9, _templateObject4$7, _templateObject5$6, _templateObject6$5, _templateObject7$5, _templateObject8$4, _templateObject9$4;
|
|
12895
|
+
var _templateObject$9, _templateObject2$9, _templateObject3$9, _templateObject4$7, _templateObject5$6, _templateObject6$5, _templateObject7$5, _templateObject8$4, _templateObject9$4, _templateObject10$4;
|
|
12896
12896
|
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
12897
|
var theme = _ref.theme;
|
|
12898
12898
|
return theme.spacings.s3;
|
|
@@ -12900,7 +12900,9 @@ var Container$3 = styled.div(_templateObject$9 || (_templateObject$9 = _taggedTe
|
|
|
12900
12900
|
var theme = _ref2.theme;
|
|
12901
12901
|
return theme.colors.white;
|
|
12902
12902
|
}, function (_ref3) {
|
|
12903
|
-
var theme = _ref3.theme
|
|
12903
|
+
var theme = _ref3.theme,
|
|
12904
|
+
paddingless = _ref3.$paddingless;
|
|
12905
|
+
if (paddingless) return;
|
|
12904
12906
|
var s3 = theme.spacings.s3;
|
|
12905
12907
|
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
12908
|
});
|
|
@@ -12926,7 +12928,7 @@ var MonthContainer = styled.div(_templateObject6$5 || (_templateObject6$5 = _tag
|
|
|
12926
12928
|
var theme = _ref9.theme;
|
|
12927
12929
|
return theme.spacings.s1;
|
|
12928
12930
|
});
|
|
12929
|
-
var
|
|
12931
|
+
var MonthName = styled.div(_templateObject7$5 || (_templateObject7$5 = _taggedTemplateLiteralLoose(["\n ", ";\n line-height: ", ";\n color: ", ";\n text-align: center;\n"])), function (_ref10) {
|
|
12930
12932
|
var theme = _ref10.theme;
|
|
12931
12933
|
return theme.useTypography('p');
|
|
12932
12934
|
}, function (_ref11) {
|
|
@@ -12935,15 +12937,16 @@ var MonthBtn = styled.div(_templateObject7$5 || (_templateObject7$5 = _taggedTem
|
|
|
12935
12937
|
}, function (_ref12) {
|
|
12936
12938
|
var theme = _ref12.theme;
|
|
12937
12939
|
return theme.colors.darkBlue;
|
|
12938
|
-
}
|
|
12940
|
+
});
|
|
12941
|
+
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
12942
|
var theme = _ref13.theme;
|
|
12940
12943
|
return theme.spacings.s1;
|
|
12941
12944
|
}, function (_ref14) {
|
|
12942
12945
|
var onClick = _ref14.onClick;
|
|
12943
12946
|
if (!onClick) return;
|
|
12944
|
-
return css(
|
|
12947
|
+
return css(_templateObject9$4 || (_templateObject9$4 = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n "])));
|
|
12945
12948
|
});
|
|
12946
|
-
var NavBtn = styled.button(
|
|
12949
|
+
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
12950
|
var theme = _ref15.theme;
|
|
12948
12951
|
return theme.useTypography('p');
|
|
12949
12952
|
}, function (_ref16) {
|
|
@@ -13024,8 +13027,9 @@ var types = {
|
|
|
13024
13027
|
|
|
13025
13028
|
var _templateObject$a, _templateObject2$a;
|
|
13026
13029
|
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
|
-
|
|
13030
|
+
var theme = _ref.theme,
|
|
13031
|
+
labelColor = _ref.labelColor;
|
|
13032
|
+
return theme.getColor(labelColor);
|
|
13029
13033
|
}, function (_ref2) {
|
|
13030
13034
|
var spacings = _ref2.theme.spacings;
|
|
13031
13035
|
return spacings.s1;
|
|
@@ -13046,7 +13050,7 @@ var Indicator = function Indicator(props) {
|
|
|
13046
13050
|
}, props)));
|
|
13047
13051
|
};
|
|
13048
13052
|
|
|
13049
|
-
var _templateObject$b, _templateObject2$b, _templateObject3$a, _templateObject4$8, _templateObject5$7, _templateObject6$6, _templateObject7$6, _templateObject8$5, _templateObject9$5, _templateObject10$
|
|
13053
|
+
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
13054
|
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
13055
|
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
13056
|
var theme = _ref.theme;
|
|
@@ -13071,43 +13075,52 @@ var Header = styled.div(_templateObject3$a || (_templateObject3$a = _taggedTempl
|
|
|
13071
13075
|
var theme = _ref7.theme;
|
|
13072
13076
|
return theme.getColor('lightestGrey', 40);
|
|
13073
13077
|
}, WeekContainer);
|
|
13074
|
-
var DayContainer = styled.button(_templateObject4$8 || (_templateObject4$8 = _taggedTemplateLiteralLoose(["\n position: relative;\n overflow: hidden;\n\n ", ";\n\n
|
|
13078
|
+
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
13079
|
var theme = _ref8.theme,
|
|
13076
|
-
appearance = _ref8.appearance
|
|
13080
|
+
appearance = _ref8.appearance,
|
|
13081
|
+
onClick = _ref8.onClick;
|
|
13082
|
+
|
|
13083
|
+
if (!onClick) {
|
|
13084
|
+
return css(_templateObject5$7 || (_templateObject5$7 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), theme.colors.white);
|
|
13085
|
+
}
|
|
13077
13086
|
|
|
13078
13087
|
var hover = function hover(color) {
|
|
13079
|
-
return css(
|
|
13088
|
+
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
13089
|
};
|
|
13081
13090
|
|
|
13082
13091
|
if (appearance === 'disabled') {
|
|
13083
|
-
return css(
|
|
13092
|
+
return css(_templateObject7$6 || (_templateObject7$6 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), theme.getColor('greyishBlue', 10));
|
|
13084
13093
|
} else if (appearance === 'highlight') {
|
|
13085
|
-
return css(
|
|
13094
|
+
return css(_templateObject8$5 || (_templateObject8$5 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n ", "\n "])), theme.getColor('blue', 30), hover('blue'));
|
|
13086
13095
|
} else if (appearance === 'active') {
|
|
13087
|
-
return css(
|
|
13096
|
+
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.blue, theme.colors.white, function (_ref9) {
|
|
13088
13097
|
var theme = _ref9.theme;
|
|
13089
13098
|
return theme.colors.blue;
|
|
13090
13099
|
}, hover('white'));
|
|
13091
13100
|
}
|
|
13092
13101
|
|
|
13093
|
-
return css(
|
|
13102
|
+
return css(_templateObject10$5 || (_templateObject10$5 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n ", "\n "])), theme.colors.white, hover('blue'));
|
|
13094
13103
|
}, function (_ref10) {
|
|
13095
|
-
var
|
|
13096
|
-
return
|
|
13104
|
+
var onClick = _ref10.onClick;
|
|
13105
|
+
if (!onClick) return;
|
|
13106
|
+
return css(_templateObject11$2 || (_templateObject11$2 = _taggedTemplateLiteralLoose(["\n :not(:disabled) {\n cursor: pointer;\n }\n "])));
|
|
13097
13107
|
}, function (_ref11) {
|
|
13098
|
-
var
|
|
13099
|
-
|
|
13100
|
-
|
|
13108
|
+
var theme = _ref11.theme;
|
|
13109
|
+
return theme.colors.silver;
|
|
13110
|
+
}, function (_ref12) {
|
|
13111
|
+
var appearance = _ref12.appearance,
|
|
13112
|
+
today = _ref12.today,
|
|
13113
|
+
theme = _ref12.theme;
|
|
13101
13114
|
|
|
13102
13115
|
if (today !== 1) {
|
|
13103
13116
|
return;
|
|
13104
13117
|
}
|
|
13105
13118
|
|
|
13106
|
-
return css(
|
|
13119
|
+
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
13120
|
});
|
|
13108
13121
|
var DayIndicator = styled(Indicator).attrs({
|
|
13109
13122
|
size: 'mini'
|
|
13110
|
-
})(
|
|
13123
|
+
})(_templateObject13$2 || (_templateObject13$2 = _taggedTemplateLiteralLoose(["\n position: absolute;\n bottom: calc(", " - 1px);\n left: calc(50% - (", " / 2) + 1px);\n"])), sizes.mini, sizes.mini);
|
|
13111
13124
|
|
|
13112
13125
|
var getCalendar = function getCalendar(d) {
|
|
13113
13126
|
var date = new Date(d.getTime());
|
|
@@ -13395,6 +13408,9 @@ var Main = React__default.forwardRef(function (props, ref) {
|
|
|
13395
13408
|
});
|
|
13396
13409
|
};
|
|
13397
13410
|
|
|
13411
|
+
useEffect(function () {
|
|
13412
|
+
setCalendar(getInitialCalendar(initialMonth, min, max));
|
|
13413
|
+
}, [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
13414
|
useEffect(function () {
|
|
13399
13415
|
var _ref2 = [calendar.weeks[0], calendar.weeks[calendar.weeks.length - 1]],
|
|
13400
13416
|
first = _ref2[0],
|
|
@@ -13454,22 +13470,29 @@ var Main = React__default.forwardRef(function (props, ref) {
|
|
|
13454
13470
|
};
|
|
13455
13471
|
|
|
13456
13472
|
return React__default.createElement(Container$3, {
|
|
13457
|
-
ref: ref
|
|
13473
|
+
ref: ref,
|
|
13474
|
+
"$paddingless": props.paddingless
|
|
13458
13475
|
}, 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
13476
|
ref: useOnClickOut(function () {
|
|
13460
13477
|
return setSelectOpen(false);
|
|
13461
13478
|
})
|
|
13462
|
-
},
|
|
13463
|
-
|
|
13464
|
-
return
|
|
13465
|
-
return !prev;
|
|
13466
|
-
});
|
|
13479
|
+
}, function () {
|
|
13480
|
+
if (min !== undefined && max !== undefined && min.getFullYear() === max.getFullYear() && min.getMonth() === max.getMonth()) {
|
|
13481
|
+
return React__default.createElement(MonthName, null, months[calendar.month], " ", calendar.year);
|
|
13467
13482
|
}
|
|
13468
|
-
|
|
13469
|
-
|
|
13470
|
-
|
|
13471
|
-
|
|
13472
|
-
|
|
13483
|
+
|
|
13484
|
+
return React__default.createElement(MonthBtn, {
|
|
13485
|
+
onClick: function onClick() {
|
|
13486
|
+
return setSelectOpen(function (prev) {
|
|
13487
|
+
return !prev;
|
|
13488
|
+
});
|
|
13489
|
+
}
|
|
13490
|
+
}, React__default.createElement(MonthName, null, months[calendar.month], " ", calendar.year), React__default.createElement(Icon, {
|
|
13491
|
+
type: 'semantic',
|
|
13492
|
+
icon: selectOpen ? 'caret up' : 'caret down',
|
|
13493
|
+
width: '14px'
|
|
13494
|
+
}));
|
|
13495
|
+
}(), React__default.createElement(MonthPicker, {
|
|
13473
13496
|
open: selectOpen,
|
|
13474
13497
|
close: function close() {
|
|
13475
13498
|
return setSelectOpen(false);
|
|
@@ -13528,7 +13551,7 @@ var Main = React__default.forwardRef(function (props, ref) {
|
|
|
13528
13551
|
Main.displayName = 'Main';
|
|
13529
13552
|
|
|
13530
13553
|
var BasicCalendar = React__default.forwardRef(function (props, ref) {
|
|
13531
|
-
var containerProps = filterObject(props, ['initialMonth', 'max', 'min', 'getDay', 'calendar', 'absolute', 'onChangeMonth']);
|
|
13554
|
+
var containerProps = filterObject(props, ['initialMonth', 'max', 'min', 'getDay', 'calendar', 'absolute', 'onChangeMonth', 'paddingless']);
|
|
13532
13555
|
return 'absolute' in props ? React__default.createElement(AbsoluteContainer$1, Object.assign({
|
|
13533
13556
|
axis: 'y',
|
|
13534
13557
|
maxHeight: maxHeight
|
|
@@ -13678,7 +13701,7 @@ var getTimeProps = function getTimeProps(time, value) {
|
|
|
13678
13701
|
});
|
|
13679
13702
|
};
|
|
13680
13703
|
|
|
13681
|
-
var _templateObject$e, _templateObject2$c, _templateObject3$b, _templateObject4$9, _templateObject5$8, _templateObject6$7, _templateObject7$7, _templateObject8$6, _templateObject9$6, _templateObject10$
|
|
13704
|
+
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
13705
|
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
13706
|
var theme = _ref.theme,
|
|
13684
13707
|
appearance = _ref.appearance;
|
|
@@ -13750,14 +13773,14 @@ var Button = styled.button(_templateObject$e || (_templateObject$e = _taggedTemp
|
|
|
13750
13773
|
}
|
|
13751
13774
|
|
|
13752
13775
|
if (['link', 'borderless'].includes(appearance)) {
|
|
13753
|
-
return css(_templateObject10$
|
|
13776
|
+
return css(_templateObject10$6 || (_templateObject10$6 = _taggedTemplateLiteralLoose(["\n color: ", ";\n "])), theme.getColor('blue', 50));
|
|
13754
13777
|
}
|
|
13755
13778
|
|
|
13756
13779
|
return css(_templateObject11$3 || (_templateObject11$3 = _taggedTemplateLiteralLoose(["\n color: ", ";\n "])), theme.getColor(color || 'blue'));
|
|
13757
13780
|
}, function (_ref10) {
|
|
13758
13781
|
var loading = _ref10.loading;
|
|
13759
13782
|
if (!loading) return;
|
|
13760
|
-
return css(_templateObject12$
|
|
13783
|
+
return css(_templateObject12$3 || (_templateObject12$3 = _taggedTemplateLiteralLoose(["\n pointer-events: none;\n "])));
|
|
13761
13784
|
});
|
|
13762
13785
|
|
|
13763
13786
|
var _excluded = ["children", "content"];
|
|
@@ -15202,7 +15225,7 @@ var Component = React__default.forwardRef(function (props, ref) {
|
|
|
15202
15225
|
|
|
15203
15226
|
var _useState = useState(!value ? '' : function () {
|
|
15204
15227
|
var details = getPhoneDetails(value);
|
|
15205
|
-
return details ? details.masked :
|
|
15228
|
+
return details ? details.masked : value;
|
|
15206
15229
|
}),
|
|
15207
15230
|
inputValue = _useState[0],
|
|
15208
15231
|
setInputValue = _useState[1];
|
|
@@ -15260,7 +15283,7 @@ var Component = React__default.forwardRef(function (props, ref) {
|
|
|
15260
15283
|
}, [country]);
|
|
15261
15284
|
useEffect(function () {
|
|
15262
15285
|
var v = inputValue.replace(/\D+/g, '').substring(0, country.charLimit);
|
|
15263
|
-
setValue(country.ddi + " " + v);
|
|
15286
|
+
setValue(v ? country.ddi + " " + v : v);
|
|
15264
15287
|
}, [inputValue]);
|
|
15265
15288
|
var placeholder = props.placeholder && props.placeholder[country.iso] ? props.placeholder[country.iso] : country.placeholder;
|
|
15266
15289
|
return React__default.createElement(RelativeContainer$3, {
|
|
@@ -15546,7 +15569,7 @@ var Switch = function Switch(props) {
|
|
|
15546
15569
|
})), React__default.createElement("span", null), label.after && React__default.createElement(LabelContainer$3, null, label.after));
|
|
15547
15570
|
};
|
|
15548
15571
|
|
|
15549
|
-
var _templateObject$q, _templateObject2$m, _templateObject3$i, _templateObject4$d, _templateObject5$b, _templateObject6$a, _templateObject7$a, _templateObject8$8, _templateObject9$8, _templateObject10$
|
|
15572
|
+
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
15573
|
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
15574
|
var theme = _ref.theme;
|
|
15552
15575
|
return theme.spacings.s4;
|
|
@@ -15606,7 +15629,7 @@ var Label$5 = styled.label(_templateObject7$a || (_templateObject7$a = _taggedTe
|
|
|
15606
15629
|
var required = _ref17.required;
|
|
15607
15630
|
return required && css(_templateObject9$8 || (_templateObject9$8 = _taggedTemplateLiteralLoose(["\n :after {\n content: ' *';\n }\n "])));
|
|
15608
15631
|
}, NavBar);
|
|
15609
|
-
var InputContainer$1 = styled.div(_templateObject10$
|
|
15632
|
+
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
15633
|
var theme = _ref18.theme,
|
|
15611
15634
|
invalid = _ref18.invalid;
|
|
15612
15635
|
|
|
@@ -15614,9 +15637,9 @@ var InputContainer$1 = styled.div(_templateObject10$6 || (_templateObject10$6 =
|
|
|
15614
15637
|
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
15638
|
}
|
|
15616
15639
|
|
|
15617
|
-
return css(_templateObject12$
|
|
15640
|
+
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
15641
|
});
|
|
15619
|
-
var MinMaxLabelContainer = styled.div(_templateObject13$
|
|
15642
|
+
var MinMaxLabelContainer = styled.div(_templateObject13$3 || (_templateObject13$3 = _taggedTemplateLiteralLoose(["\n display: flex;\n padding-bottom: 2px;\n"])));
|
|
15620
15643
|
var LabelsContainer = styled.div(_templateObject14$2 || (_templateObject14$2 = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: 7px;\n\n ", "\n"])), function (_ref19) {
|
|
15621
15644
|
var position = _ref19.position;
|
|
15622
15645
|
|
|
@@ -16107,7 +16130,7 @@ var parse = function parse(value) {
|
|
|
16107
16130
|
});
|
|
16108
16131
|
};
|
|
16109
16132
|
|
|
16110
|
-
var _templateObject$s, _templateObject2$o, _templateObject3$k, _templateObject4$f, _templateObject5$d, _templateObject6$c, _templateObject7$c, _templateObject8$9, _templateObject9$9, _templateObject10$
|
|
16133
|
+
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
16134
|
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
16135
|
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
16136
|
var theme = _ref.theme;
|
|
@@ -16155,7 +16178,7 @@ var Container$6 = styled.div(_templateObject5$d || (_templateObject5$d = _tagged
|
|
|
16155
16178
|
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
16179
|
var onClick = _ref11.onClick;
|
|
16157
16180
|
if (!onClick) return;
|
|
16158
|
-
return css(_templateObject10$
|
|
16181
|
+
return css(_templateObject10$8 || (_templateObject10$8 = _taggedTemplateLiteralLoose(["\n :not(:disabled) {\n cursor: pointer;\n }\n "])));
|
|
16159
16182
|
});
|
|
16160
16183
|
var LabelText$1 = styled.label(_templateObject11$5 || (_templateObject11$5 = _taggedTemplateLiteralLoose(["\n display: inline-block;\n margin-bottom: ", ";\n\n ", "\n"])), function (_ref12) {
|
|
16161
16184
|
var theme = _ref12.theme;
|
|
@@ -16163,7 +16186,7 @@ var LabelText$1 = styled.label(_templateObject11$5 || (_templateObject11$5 = _ta
|
|
|
16163
16186
|
}, function (_ref13) {
|
|
16164
16187
|
var required = _ref13.required;
|
|
16165
16188
|
if (!required) return;
|
|
16166
|
-
return css(_templateObject12$
|
|
16189
|
+
return css(_templateObject12$5 || (_templateObject12$5 = _taggedTemplateLiteralLoose(["\n :after {\n content: ' *';\n }\n "])));
|
|
16167
16190
|
});
|
|
16168
16191
|
|
|
16169
16192
|
var Component$1 = React__default.forwardRef(function (props, ref) {
|
|
@@ -17204,7 +17227,7 @@ var AppliedFilters = Object.assign(function (props) {
|
|
|
17204
17227
|
Menu: AppliedFiltersMenu
|
|
17205
17228
|
});
|
|
17206
17229
|
|
|
17207
|
-
var _templateObject$A, _templateObject2$t, _templateObject3$o, _templateObject4$h, _templateObject5$e, _templateObject6$d, _templateObject7$d, _templateObject8$a, _templateObject9$a, _templateObject10$
|
|
17230
|
+
var _templateObject$A, _templateObject2$t, _templateObject3$o, _templateObject4$h, _templateObject5$e, _templateObject6$d, _templateObject7$d, _templateObject8$a, _templateObject9$a, _templateObject10$9;
|
|
17208
17231
|
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
17232
|
return props.size === 'mini' && css(_templateObject2$t || (_templateObject2$t = _taggedTemplateLiteralLoose(["\n width: 394px;\n height: 99px;\n "])));
|
|
17210
17233
|
}, function (props) {
|
|
@@ -17222,7 +17245,7 @@ var Container$9 = styled.div(_templateObject$A || (_templateObject$A = _taggedTe
|
|
|
17222
17245
|
}, function (props) {
|
|
17223
17246
|
return props.borderType === 'danger' && css(_templateObject9$a || (_templateObject9$a = _taggedTemplateLiteralLoose(["\n border-left-color: #e23851;\n "])));
|
|
17224
17247
|
}, function (props) {
|
|
17225
|
-
return props.borderType === 'none' && css(_templateObject10$
|
|
17248
|
+
return props.borderType === 'none' && css(_templateObject10$9 || (_templateObject10$9 = _taggedTemplateLiteralLoose(["\n border: 1px solid #d4d4d5;\n "])));
|
|
17226
17249
|
});
|
|
17227
17250
|
|
|
17228
17251
|
var _excluded$1 = ["children"];
|
|
@@ -17394,7 +17417,8 @@ var getInstance = function getInstance(props) {
|
|
|
17394
17417
|
var Submenu = function Submenu(props) {
|
|
17395
17418
|
var item = props.item,
|
|
17396
17419
|
close = props.close,
|
|
17397
|
-
setAppliedFilters = props.setAppliedFilters
|
|
17420
|
+
setAppliedFilters = props.setAppliedFilters,
|
|
17421
|
+
closeParent = props.closeParent;
|
|
17398
17422
|
|
|
17399
17423
|
var _getInstance = getInstance(props),
|
|
17400
17424
|
open = _getInstance.open,
|
|
@@ -17498,6 +17522,7 @@ var Submenu = function Submenu(props) {
|
|
|
17498
17522
|
});
|
|
17499
17523
|
return newState;
|
|
17500
17524
|
});
|
|
17525
|
+
!item.keepOpen && closeParent();
|
|
17501
17526
|
} : undefined;
|
|
17502
17527
|
|
|
17503
17528
|
var optionsParser = function optionsParser(option) {
|
|
@@ -17515,7 +17540,7 @@ var Submenu = function Submenu(props) {
|
|
|
17515
17540
|
});
|
|
17516
17541
|
};
|
|
17517
17542
|
|
|
17518
|
-
return React__default.createElement(Menu, {
|
|
17543
|
+
return React__default.createElement(Menu, Object.assign({
|
|
17519
17544
|
open: open,
|
|
17520
17545
|
axis: 'x',
|
|
17521
17546
|
options: options.map(optionsParser),
|
|
@@ -17553,7 +17578,7 @@ var Submenu = function Submenu(props) {
|
|
|
17553
17578
|
width: {}
|
|
17554
17579
|
}
|
|
17555
17580
|
}
|
|
17556
|
-
});
|
|
17581
|
+
}, props.containerProps || {}));
|
|
17557
17582
|
};
|
|
17558
17583
|
|
|
17559
17584
|
var FiltersMenu = function FiltersMenu(props) {
|
|
@@ -17609,14 +17634,17 @@ var FiltersMenu = function FiltersMenu(props) {
|
|
|
17609
17634
|
close: function close() {
|
|
17610
17635
|
return setActive(-1);
|
|
17611
17636
|
},
|
|
17612
|
-
|
|
17637
|
+
closeParent: close,
|
|
17638
|
+
setAppliedFilters: props.setAppliedFilters,
|
|
17639
|
+
containerProps: props.subContainerProps
|
|
17613
17640
|
}));
|
|
17614
17641
|
};
|
|
17615
17642
|
|
|
17616
17643
|
var Filters = Object.assign(function (props) {
|
|
17617
17644
|
var items = props.items,
|
|
17618
17645
|
setAppliedFilters = props.setAppliedFilters,
|
|
17619
|
-
containerProps = props.containerProps
|
|
17646
|
+
containerProps = props.containerProps,
|
|
17647
|
+
subContainerProps = props.subContainerProps;
|
|
17620
17648
|
var buttonProps = filterObject(props, ['items', 'setAppliedFilters']);
|
|
17621
17649
|
return React__default.createElement(Button$5, Object.assign({}, buttonProps, {
|
|
17622
17650
|
getContent: function getContent(open, close) {
|
|
@@ -17625,7 +17653,8 @@ var Filters = Object.assign(function (props) {
|
|
|
17625
17653
|
close: close,
|
|
17626
17654
|
setAppliedFilters: setAppliedFilters,
|
|
17627
17655
|
items: items,
|
|
17628
|
-
containerProps: containerProps
|
|
17656
|
+
containerProps: containerProps,
|
|
17657
|
+
subContainerProps: subContainerProps
|
|
17629
17658
|
}));
|
|
17630
17659
|
}
|
|
17631
17660
|
}), "Filtros");
|
|
@@ -17640,7 +17669,7 @@ var useContext$2 = function useContext() {
|
|
|
17640
17669
|
return React__default.useContext(Provider$2);
|
|
17641
17670
|
};
|
|
17642
17671
|
|
|
17643
|
-
var _templateObject$D, _templateObject2$u, _templateObject3$p, _templateObject4$i, _templateObject5$f, _templateObject6$e, _templateObject7$e, _templateObject8$b, _templateObject9$b, _templateObject10$
|
|
17672
|
+
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
17673
|
var aligns = {
|
|
17645
17674
|
self: {
|
|
17646
17675
|
horizontal: {
|
|
@@ -17723,7 +17752,7 @@ var Col = styled.div(_templateObject$D || (_templateObject$D = _taggedTemplateLi
|
|
|
17723
17752
|
|
|
17724
17753
|
if (align.text !== undefined) {
|
|
17725
17754
|
var _v4 = align.text;
|
|
17726
|
-
styles.push(css(_templateObject10$
|
|
17755
|
+
styles.push(css(_templateObject10$a || (_templateObject10$a = _taggedTemplateLiteralLoose(["\n text-align: ", ";\n "])), _v4));
|
|
17727
17756
|
}
|
|
17728
17757
|
|
|
17729
17758
|
return styles;
|
|
@@ -17737,13 +17766,13 @@ var Col = styled.div(_templateObject$D || (_templateObject$D = _taggedTemplateLi
|
|
|
17737
17766
|
theme = _ref6.theme;
|
|
17738
17767
|
if (fontColor === undefined) return;
|
|
17739
17768
|
var c = Array.isArray(fontColor) ? theme.getColor.apply(theme, fontColor) : theme.colors[fontColor];
|
|
17740
|
-
return css(_templateObject12$
|
|
17769
|
+
return css(_templateObject12$6 || (_templateObject12$6 = _taggedTemplateLiteralLoose(["\n color: ", ";\n "])), c);
|
|
17741
17770
|
}, function (_ref7) {
|
|
17742
17771
|
var backgroundColor = _ref7.backgroundColor,
|
|
17743
17772
|
theme = _ref7.theme;
|
|
17744
17773
|
if (backgroundColor === undefined) return;
|
|
17745
17774
|
var c = Array.isArray(backgroundColor) ? theme.getColor.apply(theme, backgroundColor) : theme.colors[backgroundColor];
|
|
17746
|
-
return css(_templateObject13$
|
|
17775
|
+
return css(_templateObject13$4 || (_templateObject13$4 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), c);
|
|
17747
17776
|
}, function (_ref8) {
|
|
17748
17777
|
var hover = _ref8.hover,
|
|
17749
17778
|
theme = _ref8.theme;
|
|
@@ -17799,7 +17828,7 @@ var Grid$1 = function Grid$1(props) {
|
|
|
17799
17828
|
}, React__default.createElement(Grid, Object.assign({}, gridProps)));
|
|
17800
17829
|
};
|
|
17801
17830
|
|
|
17802
|
-
var _templateObject$F, _templateObject2$w, _templateObject3$r, _templateObject4$j, _templateObject5$g, _templateObject6$f, _templateObject7$f, _templateObject8$c, _templateObject9$c, _templateObject10$
|
|
17831
|
+
var _templateObject$F, _templateObject2$w, _templateObject3$r, _templateObject4$j, _templateObject5$g, _templateObject6$f, _templateObject7$f, _templateObject8$c, _templateObject9$c, _templateObject10$b;
|
|
17803
17832
|
var horizontalAligns = {
|
|
17804
17833
|
around: 'space-around',
|
|
17805
17834
|
between: 'space-between',
|
|
@@ -17874,7 +17903,7 @@ var Row = styled.div(_templateObject$F || (_templateObject$F = _taggedTemplateLi
|
|
|
17874
17903
|
if (!hover) return;
|
|
17875
17904
|
var h = hover === true ? ['lightGrey', 50] : hover;
|
|
17876
17905
|
var c = Array.isArray(h) ? theme.getColor.apply(theme, h) : theme.colors[h];
|
|
17877
|
-
return css(_templateObject10$
|
|
17906
|
+
return css(_templateObject10$b || (_templateObject10$b = _taggedTemplateLiteralLoose(["\n :hover {\n background-color: ", ";\n }\n "])), c);
|
|
17878
17907
|
});
|
|
17879
17908
|
|
|
17880
17909
|
var Row$1 = function Row$1(props) {
|
|
@@ -17927,7 +17956,7 @@ var widths = {
|
|
|
17927
17956
|
default: '642.5px'
|
|
17928
17957
|
};
|
|
17929
17958
|
|
|
17930
|
-
var _templateObject$G, _templateObject2$x, _templateObject3$s, _templateObject4$k, _templateObject5$h, _templateObject6$g, _templateObject7$g, _templateObject8$d, _templateObject9$d, _templateObject10$
|
|
17959
|
+
var _templateObject$G, _templateObject2$x, _templateObject3$s, _templateObject4$k, _templateObject5$h, _templateObject6$g, _templateObject7$g, _templateObject8$d, _templateObject9$d, _templateObject10$c;
|
|
17931
17960
|
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
17961
|
var theme = _ref.theme;
|
|
17933
17962
|
return theme.getColor('black', 25);
|
|
@@ -17960,7 +17989,7 @@ var Container$b = styled.div(_templateObject9$d || (_templateObject9$d = _tagged
|
|
|
17960
17989
|
customSize = _ref6.customSize,
|
|
17961
17990
|
color = _ref6.color,
|
|
17962
17991
|
inverted = _ref6.inverted;
|
|
17963
|
-
return css(_templateObject10$
|
|
17992
|
+
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
17993
|
});
|
|
17965
17994
|
|
|
17966
17995
|
var _excluded$2 = ["children"];
|
|
@@ -18157,7 +18186,7 @@ var Modal$1 = Object.assign(Modal, {
|
|
|
18157
18186
|
Audit: Audit
|
|
18158
18187
|
});
|
|
18159
18188
|
|
|
18160
|
-
var _templateObject$K, _templateObject2$y, _templateObject3$t, _templateObject4$l, _templateObject5$i, _templateObject6$h, _templateObject7$h, _templateObject8$e, _templateObject9$e, _templateObject10$
|
|
18189
|
+
var _templateObject$K, _templateObject2$y, _templateObject3$t, _templateObject4$l, _templateObject5$i, _templateObject6$h, _templateObject7$h, _templateObject8$e, _templateObject9$e, _templateObject10$d, _templateObject11$7;
|
|
18161
18190
|
var Container$c = styled.div(_templateObject$K || (_templateObject$K = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 300px;\n position: absolute;\n padding: 14px;\n"])));
|
|
18162
18191
|
var Header$6 = styled.div(_templateObject2$y || (_templateObject2$y = _taggedTemplateLiteralLoose(["\n display: flex;\n"])));
|
|
18163
18192
|
var HeaderImage = styled.div(_templateObject3$t || (_templateObject3$t = _taggedTemplateLiteralLoose(["\n width: 43px;\n height: 44px;\n background-color: #ebebeb;\n"])));
|
|
@@ -18172,7 +18201,7 @@ var HeaderLine = styled.div(_templateObject6$h || (_templateObject6$h = _taggedT
|
|
|
18172
18201
|
}, function (props) {
|
|
18173
18202
|
return props.size === 'medium' && css(_templateObject9$e || (_templateObject9$e = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
|
|
18174
18203
|
}, function (props) {
|
|
18175
|
-
return props.size === 'large' && css(_templateObject10$
|
|
18204
|
+
return props.size === 'large' && css(_templateObject10$d || (_templateObject10$d = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
|
|
18176
18205
|
});
|
|
18177
18206
|
var MainLine = styled(HeaderLine)(_templateObject11$7 || (_templateObject11$7 = _taggedTemplateLiteralLoose(["\n margin-bottom: 14px;\n margin-left: 0;\n"])));
|
|
18178
18207
|
|
|
@@ -18443,7 +18472,7 @@ var Template6 = function Template6(props) {
|
|
|
18443
18472
|
})));
|
|
18444
18473
|
};
|
|
18445
18474
|
|
|
18446
|
-
var _templateObject$R, _templateObject2$F, _templateObject3$A, _templateObject4$r, _templateObject5$o, _templateObject6$m, _templateObject7$m, _templateObject8$j, _templateObject9$h, _templateObject10$
|
|
18475
|
+
var _templateObject$R, _templateObject2$F, _templateObject3$A, _templateObject4$r, _templateObject5$o, _templateObject6$m, _templateObject7$m, _templateObject8$j, _templateObject9$h, _templateObject10$e;
|
|
18447
18476
|
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
18477
|
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
18478
|
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 +18494,7 @@ var CustomLine$3 = styled(HeaderLine$6)(_templateObject8$j || (_templateObject8$
|
|
|
18465
18494
|
return props.color;
|
|
18466
18495
|
});
|
|
18467
18496
|
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$
|
|
18497
|
+
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
18498
|
|
|
18470
18499
|
var Template7 = function Template7(props) {
|
|
18471
18500
|
if (!props.loading) return React__default.createElement(React__default.Fragment, null);
|
|
@@ -18520,7 +18549,7 @@ var Template8 = function Template8(props) {
|
|
|
18520
18549
|
})));
|
|
18521
18550
|
};
|
|
18522
18551
|
|
|
18523
|
-
var _templateObject$T, _templateObject2$H, _templateObject3$C, _templateObject4$t, _templateObject5$q, _templateObject6$o, _templateObject7$o, _templateObject8$l, _templateObject9$j, _templateObject10$
|
|
18552
|
+
var _templateObject$T, _templateObject2$H, _templateObject3$C, _templateObject4$t, _templateObject5$q, _templateObject6$o, _templateObject7$o, _templateObject8$l, _templateObject9$j, _templateObject10$f;
|
|
18524
18553
|
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
18554
|
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
18555
|
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 +18571,7 @@ var CustomLine$5 = styled(HeaderLine$8)(_templateObject8$l || (_templateObject8$
|
|
|
18542
18571
|
return props.color;
|
|
18543
18572
|
});
|
|
18544
18573
|
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$
|
|
18574
|
+
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
18575
|
|
|
18547
18576
|
var Template8$1 = function Template8(props) {
|
|
18548
18577
|
if (!props.loading) return React__default.createElement(React__default.Fragment, null);
|
|
@@ -18559,7 +18588,7 @@ var Template8$1 = function Template8(props) {
|
|
|
18559
18588
|
})), React__default.createElement(Main$4, null, React__default.createElement(Circle$2, null)));
|
|
18560
18589
|
};
|
|
18561
18590
|
|
|
18562
|
-
var _templateObject$U, _templateObject2$I, _templateObject3$D, _templateObject4$u, _templateObject5$r, _templateObject6$p, _templateObject7$p, _templateObject8$m, _templateObject9$k, _templateObject10$
|
|
18591
|
+
var _templateObject$U, _templateObject2$I, _templateObject3$D, _templateObject4$u, _templateObject5$r, _templateObject6$p, _templateObject7$p, _templateObject8$m, _templateObject9$k, _templateObject10$g, _templateObject11$8;
|
|
18563
18592
|
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
18593
|
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
18594
|
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 +18610,7 @@ var CustomLine$6 = styled(HeaderLine$9)(_templateObject8$m || (_templateObject8$
|
|
|
18581
18610
|
return props.color;
|
|
18582
18611
|
});
|
|
18583
18612
|
var GraphLine = styled(CustomLine$6)(_templateObject9$k || (_templateObject9$k = _taggedTemplateLiteralLoose(["\n margin: 0 7px;\n"])));
|
|
18584
|
-
var Main$5 = styled.div(_templateObject10$
|
|
18613
|
+
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
18614
|
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
18615
|
|
|
18587
18616
|
var Template10 = function Template10(props) {
|