@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/index.js CHANGED
@@ -12585,7 +12585,15 @@ var Checkbox = React__default.forwardRef(function (props, ref) {
12585
12585
  bordered = props.bordered;
12586
12586
  var htmlProps = filterObject(props, ['label', 'invalid', 'required', 'padding', 'bordered']);
12587
12587
 
12588
- var _ref = typeof props.label === 'function' ? [props.label] : [LabelContent, props.label],
12588
+ var _ref = function () {
12589
+ if (!props.label) {
12590
+ return [function () {
12591
+ return null;
12592
+ }];
12593
+ }
12594
+
12595
+ return typeof props.label === 'function' ? [props.label] : [LabelContent, props.label];
12596
+ }(),
12589
12597
  LabelComponent = _ref[0],
12590
12598
  children = _ref[1];
12591
12599
 
@@ -12858,9 +12866,14 @@ var MenuComponent = function MenuComponent(props, ref) {
12858
12866
  var children = _ref2.children;
12859
12867
  return React__default.createElement(semanticUiReact.Popup, Object.assign({
12860
12868
  on: 'click',
12861
- position: 'top left',
12869
+ position: 'left center',
12862
12870
  inverted: true,
12863
- wide: true
12871
+ wide: true,
12872
+ popperModifiers: {
12873
+ preventOverflow: {
12874
+ boundariesElement: 'window'
12875
+ }
12876
+ }
12864
12877
  }, rule, {
12865
12878
  trigger: React__default.createElement("div", null, children)
12866
12879
  }));
@@ -12895,7 +12908,7 @@ var MenuComponent = function MenuComponent(props, ref) {
12895
12908
 
12896
12909
  var Menu = React__default.forwardRef(MenuComponent);
12897
12910
 
12898
- var _templateObject$9, _templateObject2$9, _templateObject3$9, _templateObject4$7, _templateObject5$6, _templateObject6$5, _templateObject7$5, _templateObject8$4, _templateObject9$4;
12911
+ var _templateObject$9, _templateObject2$9, _templateObject3$9, _templateObject4$7, _templateObject5$6, _templateObject6$5, _templateObject7$5, _templateObject8$4, _templateObject9$4, _templateObject10$4;
12899
12912
  var Container$3 = styled__default.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) {
12900
12913
  var theme = _ref.theme;
12901
12914
  return theme.spacings.s3;
@@ -12903,7 +12916,9 @@ var Container$3 = styled__default.div(_templateObject$9 || (_templateObject$9 =
12903
12916
  var theme = _ref2.theme;
12904
12917
  return theme.colors.white;
12905
12918
  }, function (_ref3) {
12906
- var theme = _ref3.theme;
12919
+ var theme = _ref3.theme,
12920
+ paddingless = _ref3.$paddingless;
12921
+ if (paddingless) return;
12907
12922
  var s3 = theme.spacings.s3;
12908
12923
  return styled.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);
12909
12924
  });
@@ -12929,7 +12944,7 @@ var MonthContainer = styled__default.div(_templateObject6$5 || (_templateObject6
12929
12944
  var theme = _ref9.theme;
12930
12945
  return theme.spacings.s1;
12931
12946
  });
12932
- var MonthBtn = styled__default.div(_templateObject7$5 || (_templateObject7$5 = _taggedTemplateLiteralLoose(["\n ", ";\n line-height: ", ";\n color: ", ";\n text-align: center;\n display: flex;\n justify-content: center;\n align-items: center;\n gap: ", ";\n\n ", "\n"])), function (_ref10) {
12947
+ var MonthName = styled__default.div(_templateObject7$5 || (_templateObject7$5 = _taggedTemplateLiteralLoose(["\n ", ";\n line-height: ", ";\n color: ", ";\n text-align: center;\n"])), function (_ref10) {
12933
12948
  var theme = _ref10.theme;
12934
12949
  return theme.useTypography('p');
12935
12950
  }, function (_ref11) {
@@ -12938,15 +12953,16 @@ var MonthBtn = styled__default.div(_templateObject7$5 || (_templateObject7$5 = _
12938
12953
  }, function (_ref12) {
12939
12954
  var theme = _ref12.theme;
12940
12955
  return theme.colors.darkBlue;
12941
- }, function (_ref13) {
12956
+ });
12957
+ var MonthBtn = styled__default.div(_templateObject8$4 || (_templateObject8$4 = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: center;\n align-items: center;\n gap: ", ";\n\n ", "\n"])), function (_ref13) {
12942
12958
  var theme = _ref13.theme;
12943
12959
  return theme.spacings.s1;
12944
12960
  }, function (_ref14) {
12945
12961
  var onClick = _ref14.onClick;
12946
12962
  if (!onClick) return;
12947
- return styled.css(_templateObject8$4 || (_templateObject8$4 = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n "])));
12963
+ return styled.css(_templateObject9$4 || (_templateObject9$4 = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n "])));
12948
12964
  });
12949
- var NavBtn = styled__default.button(_templateObject9$4 || (_templateObject9$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) {
12965
+ var NavBtn = styled__default.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) {
12950
12966
  var theme = _ref15.theme;
12951
12967
  return theme.useTypography('p');
12952
12968
  }, function (_ref16) {
@@ -13027,8 +13043,9 @@ var types = {
13027
13043
 
13028
13044
  var _templateObject$a, _templateObject2$a;
13029
13045
  var Container$4 = styled__default.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) {
13030
- var labelColor = _ref.labelColor;
13031
- return labelColor;
13046
+ var theme = _ref.theme,
13047
+ labelColor = _ref.labelColor;
13048
+ return theme.getColor(labelColor);
13032
13049
  }, function (_ref2) {
13033
13050
  var spacings = _ref2.theme.spacings;
13034
13051
  return spacings.s1;
@@ -13049,7 +13066,7 @@ var Indicator = function Indicator(props) {
13049
13066
  }, props)));
13050
13067
  };
13051
13068
 
13052
- var _templateObject$b, _templateObject2$b, _templateObject3$a, _templateObject4$8, _templateObject5$7, _templateObject6$6, _templateObject7$6, _templateObject8$5, _templateObject9$5, _templateObject10$4, _templateObject11$2;
13069
+ 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;
13053
13070
  var Footer = styled__default.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"])));
13054
13071
  var WeekContainer = styled__default.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) {
13055
13072
  var theme = _ref.theme;
@@ -13074,43 +13091,53 @@ var Header = styled__default.div(_templateObject3$a || (_templateObject3$a = _ta
13074
13091
  var theme = _ref7.theme;
13075
13092
  return theme.getColor('lightestGrey', 40);
13076
13093
  }, WeekContainer);
13077
- var DayContainer = styled__default.button(_templateObject4$8 || (_templateObject4$8 = _taggedTemplateLiteralLoose(["\n position: relative;\n overflow: hidden;\n\n ", ";\n\n :disabled {\n color: ", ";\n }\n\n :not(:disabled) {\n cursor: pointer;\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) {
13094
+ var DayContainer = styled__default.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) {
13078
13095
  var theme = _ref8.theme,
13079
- appearance = _ref8.appearance;
13096
+ appearance = _ref8.appearance,
13097
+ activeColor = _ref8.activeColor,
13098
+ onClick = _ref8.onClick;
13099
+
13100
+ if (!onClick) {
13101
+ return styled.css(_templateObject5$7 || (_templateObject5$7 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), theme.colors.white);
13102
+ }
13080
13103
 
13081
13104
  var hover = function hover(color) {
13082
- return styled.css(_templateObject5$7 || (_templateObject5$7 = _taggedTemplateLiteralLoose(["\n :not(:disabled):hover {\n border-color: ", ";\n color: ", ";\n }\n "])), theme.colors[color], theme.colors[color]);
13105
+ return styled.css(_templateObject6$6 || (_templateObject6$6 = _taggedTemplateLiteralLoose(["\n :not(:disabled):hover {\n border-color: ", ";\n color: ", ";\n }\n "])), theme.colors[color], theme.colors[color]);
13083
13106
  };
13084
13107
 
13085
13108
  if (appearance === 'disabled') {
13086
- return styled.css(_templateObject6$6 || (_templateObject6$6 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), theme.getColor('greyishBlue', 10));
13109
+ return styled.css(_templateObject7$6 || (_templateObject7$6 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), theme.getColor('greyishBlue', 10));
13087
13110
  } else if (appearance === 'highlight') {
13088
- return styled.css(_templateObject7$6 || (_templateObject7$6 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n ", "\n "])), theme.getColor('blue', 30), hover('blue'));
13111
+ return styled.css(_templateObject8$5 || (_templateObject8$5 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n ", "\n "])), theme.getColor('blue', 30), hover('blue'));
13089
13112
  } else if (appearance === 'active') {
13090
- return styled.css(_templateObject8$5 || (_templateObject8$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) {
13113
+ return styled.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) {
13091
13114
  var theme = _ref9.theme;
13092
- return theme.colors.blue;
13115
+ return theme.colors[activeColor];
13093
13116
  }, hover('white'));
13094
13117
  }
13095
13118
 
13096
- return styled.css(_templateObject9$5 || (_templateObject9$5 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n ", "\n "])), theme.colors.white, hover('blue'));
13119
+ return styled.css(_templateObject10$5 || (_templateObject10$5 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n ", "\n "])), theme.colors.white, hover('blue'));
13097
13120
  }, function (_ref10) {
13098
- var theme = _ref10.theme;
13099
- return theme.colors.silver;
13121
+ var onClick = _ref10.onClick;
13122
+ if (!onClick) return;
13123
+ return styled.css(_templateObject11$2 || (_templateObject11$2 = _taggedTemplateLiteralLoose(["\n :not(:disabled) {\n cursor: pointer;\n }\n "])));
13100
13124
  }, function (_ref11) {
13101
- var appearance = _ref11.appearance,
13102
- today = _ref11.today,
13103
- theme = _ref11.theme;
13125
+ var theme = _ref11.theme;
13126
+ return theme.colors.silver;
13127
+ }, function (_ref12) {
13128
+ var appearance = _ref12.appearance,
13129
+ today = _ref12.today,
13130
+ theme = _ref12.theme;
13104
13131
 
13105
13132
  if (today !== 1) {
13106
13133
  return;
13107
13134
  }
13108
13135
 
13109
- return styled.css(_templateObject10$4 || (_templateObject10$4 = _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']);
13136
+ return styled.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']);
13110
13137
  });
13111
13138
  var DayIndicator = styled__default(Indicator).attrs({
13112
13139
  size: 'mini'
13113
- })(_templateObject11$2 || (_templateObject11$2 = _taggedTemplateLiteralLoose(["\n position: absolute;\n bottom: calc(", " - 1px);\n left: calc(50% - (", " / 2) + 1px);\n"])), sizes.mini, sizes.mini);
13140
+ })(_templateObject13$2 || (_templateObject13$2 = _taggedTemplateLiteralLoose(["\n position: absolute;\n bottom: calc(", " - 1px);\n left: calc(50% - (", " / 2) + 1px);\n"])), sizes.mini, sizes.mini);
13114
13141
 
13115
13142
  var getCalendar = function getCalendar(d) {
13116
13143
  var date = new Date(d.getTime());
@@ -13398,6 +13425,9 @@ var Main = React__default.forwardRef(function (props, ref) {
13398
13425
  });
13399
13426
  };
13400
13427
 
13428
+ React.useEffect(function () {
13429
+ setCalendar(getInitialCalendar(initialMonth, min, max));
13430
+ }, [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()]);
13401
13431
  React.useEffect(function () {
13402
13432
  var _ref2 = [calendar.weeks[0], calendar.weeks[calendar.weeks.length - 1]],
13403
13433
  first = _ref2[0],
@@ -13457,22 +13487,29 @@ var Main = React__default.forwardRef(function (props, ref) {
13457
13487
  };
13458
13488
 
13459
13489
  return React__default.createElement(Container$3, {
13460
- ref: ref
13490
+ ref: ref,
13491
+ "$paddingless": props.paddingless
13461
13492
  }, 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", {
13462
13493
  ref: useOnClickOut(function () {
13463
13494
  return setSelectOpen(false);
13464
13495
  })
13465
- }, React__default.createElement(MonthBtn, {
13466
- onClick: function onClick() {
13467
- return setSelectOpen(function (prev) {
13468
- return !prev;
13469
- });
13496
+ }, function () {
13497
+ if (min !== undefined && max !== undefined && min.getFullYear() === max.getFullYear() && min.getMonth() === max.getMonth()) {
13498
+ return React__default.createElement(MonthName, null, months[calendar.month], " ", calendar.year);
13470
13499
  }
13471
- }, months[calendar.month], " ", calendar.year, React__default.createElement(Icon, {
13472
- type: 'semantic',
13473
- icon: selectOpen ? 'caret up' : 'caret down',
13474
- width: '14px'
13475
- })), React__default.createElement(MonthPicker, {
13500
+
13501
+ return React__default.createElement(MonthBtn, {
13502
+ onClick: function onClick() {
13503
+ return setSelectOpen(function (prev) {
13504
+ return !prev;
13505
+ });
13506
+ }
13507
+ }, React__default.createElement(MonthName, null, months[calendar.month], " ", calendar.year), React__default.createElement(Icon, {
13508
+ type: 'semantic',
13509
+ icon: selectOpen ? 'caret up' : 'caret down',
13510
+ width: '14px'
13511
+ }));
13512
+ }(), React__default.createElement(MonthPicker, {
13476
13513
  open: selectOpen,
13477
13514
  close: function close() {
13478
13515
  return setSelectOpen(false);
@@ -13519,6 +13556,7 @@ var Main = React__default.forwardRef(function (props, ref) {
13519
13556
  onMouseOut: onMouseOut,
13520
13557
  disabled: disabled,
13521
13558
  appearance: appearance,
13559
+ activeColor: details.activeColor || 'blue',
13522
13560
  today: dateCompare(new Date(), date, 'eq', false) ? 1 : 0
13523
13561
  }, day, details.indicator && React__default.createElement(DayIndicator, {
13524
13562
  type: details.indicator
@@ -13531,7 +13569,7 @@ var Main = React__default.forwardRef(function (props, ref) {
13531
13569
  Main.displayName = 'Main';
13532
13570
 
13533
13571
  var BasicCalendar = React__default.forwardRef(function (props, ref) {
13534
- var containerProps = filterObject(props, ['initialMonth', 'max', 'min', 'getDay', 'calendar', 'absolute', 'onChangeMonth']);
13572
+ var containerProps = filterObject(props, ['initialMonth', 'max', 'min', 'getDay', 'calendar', 'absolute', 'onChangeMonth', 'paddingless']);
13535
13573
  return 'absolute' in props ? React__default.createElement(AbsoluteContainer$1, Object.assign({
13536
13574
  axis: 'y',
13537
13575
  maxHeight: maxHeight
@@ -13681,7 +13719,7 @@ var getTimeProps = function getTimeProps(time, value) {
13681
13719
  });
13682
13720
  };
13683
13721
 
13684
- var _templateObject$e, _templateObject2$c, _templateObject3$b, _templateObject4$9, _templateObject5$8, _templateObject6$7, _templateObject7$7, _templateObject8$6, _templateObject9$6, _templateObject10$5, _templateObject11$3, _templateObject12$2;
13722
+ 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;
13685
13723
  var Button = styled__default.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) {
13686
13724
  var theme = _ref.theme,
13687
13725
  appearance = _ref.appearance;
@@ -13753,14 +13791,14 @@ var Button = styled__default.button(_templateObject$e || (_templateObject$e = _t
13753
13791
  }
13754
13792
 
13755
13793
  if (['link', 'borderless'].includes(appearance)) {
13756
- return styled.css(_templateObject10$5 || (_templateObject10$5 = _taggedTemplateLiteralLoose(["\n color: ", ";\n "])), theme.getColor('blue', 50));
13794
+ return styled.css(_templateObject10$6 || (_templateObject10$6 = _taggedTemplateLiteralLoose(["\n color: ", ";\n "])), theme.getColor('blue', 50));
13757
13795
  }
13758
13796
 
13759
13797
  return styled.css(_templateObject11$3 || (_templateObject11$3 = _taggedTemplateLiteralLoose(["\n color: ", ";\n "])), theme.getColor(color || 'blue'));
13760
13798
  }, function (_ref10) {
13761
13799
  var loading = _ref10.loading;
13762
13800
  if (!loading) return;
13763
- return styled.css(_templateObject12$2 || (_templateObject12$2 = _taggedTemplateLiteralLoose(["\n pointer-events: none;\n "])));
13801
+ return styled.css(_templateObject12$3 || (_templateObject12$3 = _taggedTemplateLiteralLoose(["\n pointer-events: none;\n "])));
13764
13802
  });
13765
13803
 
13766
13804
  var _excluded = ["children", "content"];
@@ -15549,7 +15587,7 @@ var Switch = function Switch(props) {
15549
15587
  })), React__default.createElement("span", null), label.after && React__default.createElement(LabelContainer$3, null, label.after));
15550
15588
  };
15551
15589
 
15552
- var _templateObject$q, _templateObject2$m, _templateObject3$i, _templateObject4$d, _templateObject5$b, _templateObject6$a, _templateObject7$a, _templateObject8$8, _templateObject9$8, _templateObject10$6, _templateObject11$4, _templateObject12$3, _templateObject13$2, _templateObject14$2, _templateObject15$2, _templateObject16$2, _templateObject17$2, _templateObject18$2, _templateObject19$1, _templateObject20$1;
15590
+ 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;
15553
15591
  var bullet = styled.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) {
15554
15592
  var theme = _ref.theme;
15555
15593
  return theme.spacings.s4;
@@ -15609,7 +15647,7 @@ var Label$5 = styled__default.label(_templateObject7$a || (_templateObject7$a =
15609
15647
  var required = _ref17.required;
15610
15648
  return required && styled.css(_templateObject9$8 || (_templateObject9$8 = _taggedTemplateLiteralLoose(["\n :after {\n content: ' *';\n }\n "])));
15611
15649
  }, NavBar);
15612
- var InputContainer$1 = styled__default.div(_templateObject10$6 || (_templateObject10$6 = _taggedTemplateLiteralLoose(["\n flex: 1;\n display: flex;\n gap: 6px;\n\n > div {\n position: relative;\n }\n\n ", "\n"])), function (_ref18) {
15650
+ var InputContainer$1 = styled__default.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) {
15613
15651
  var theme = _ref18.theme,
15614
15652
  invalid = _ref18.invalid;
15615
15653
 
@@ -15617,9 +15655,9 @@ var InputContainer$1 = styled__default.div(_templateObject10$6 || (_templateObje
15617
15655
  return styled.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);
15618
15656
  }
15619
15657
 
15620
- return styled.css(_templateObject12$3 || (_templateObject12$3 = _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);
15658
+ return styled.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);
15621
15659
  });
15622
- var MinMaxLabelContainer = styled__default.div(_templateObject13$2 || (_templateObject13$2 = _taggedTemplateLiteralLoose(["\n display: flex;\n padding-bottom: 2px;\n"])));
15660
+ var MinMaxLabelContainer = styled__default.div(_templateObject13$3 || (_templateObject13$3 = _taggedTemplateLiteralLoose(["\n display: flex;\n padding-bottom: 2px;\n"])));
15623
15661
  var LabelsContainer = styled__default.div(_templateObject14$2 || (_templateObject14$2 = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: 7px;\n\n ", "\n"])), function (_ref19) {
15624
15662
  var position = _ref19.position;
15625
15663
 
@@ -16110,7 +16148,7 @@ var parse = function parse(value) {
16110
16148
  });
16111
16149
  };
16112
16150
 
16113
- var _templateObject$s, _templateObject2$o, _templateObject3$k, _templateObject4$f, _templateObject5$d, _templateObject6$c, _templateObject7$c, _templateObject8$9, _templateObject9$9, _templateObject10$7, _templateObject11$5, _templateObject12$4;
16151
+ 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;
16114
16152
  var RelativeContainer$5 = styled__default.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"])));
16115
16153
  var LabelContainer$6 = styled__default.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) {
16116
16154
  var theme = _ref.theme;
@@ -16158,7 +16196,7 @@ var Container$6 = styled__default.div(_templateObject5$d || (_templateObject5$d
16158
16196
  var Button$4 = styled__default.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) {
16159
16197
  var onClick = _ref11.onClick;
16160
16198
  if (!onClick) return;
16161
- return styled.css(_templateObject10$7 || (_templateObject10$7 = _taggedTemplateLiteralLoose(["\n :not(:disabled) {\n cursor: pointer;\n }\n "])));
16199
+ return styled.css(_templateObject10$8 || (_templateObject10$8 = _taggedTemplateLiteralLoose(["\n :not(:disabled) {\n cursor: pointer;\n }\n "])));
16162
16200
  });
16163
16201
  var LabelText$1 = styled__default.label(_templateObject11$5 || (_templateObject11$5 = _taggedTemplateLiteralLoose(["\n display: inline-block;\n margin-bottom: ", ";\n\n ", "\n"])), function (_ref12) {
16164
16202
  var theme = _ref12.theme;
@@ -16166,7 +16204,7 @@ var LabelText$1 = styled__default.label(_templateObject11$5 || (_templateObject1
16166
16204
  }, function (_ref13) {
16167
16205
  var required = _ref13.required;
16168
16206
  if (!required) return;
16169
- return styled.css(_templateObject12$4 || (_templateObject12$4 = _taggedTemplateLiteralLoose(["\n :after {\n content: ' *';\n }\n "])));
16207
+ return styled.css(_templateObject12$5 || (_templateObject12$5 = _taggedTemplateLiteralLoose(["\n :after {\n content: ' *';\n }\n "])));
16170
16208
  });
16171
16209
 
16172
16210
  var Component$1 = React__default.forwardRef(function (props, ref) {
@@ -17207,7 +17245,7 @@ var AppliedFilters = Object.assign(function (props) {
17207
17245
  Menu: AppliedFiltersMenu
17208
17246
  });
17209
17247
 
17210
- var _templateObject$A, _templateObject2$t, _templateObject3$o, _templateObject4$h, _templateObject5$e, _templateObject6$d, _templateObject7$d, _templateObject8$a, _templateObject9$a, _templateObject10$8;
17248
+ var _templateObject$A, _templateObject2$t, _templateObject3$o, _templateObject4$h, _templateObject5$e, _templateObject6$d, _templateObject7$d, _templateObject8$a, _templateObject9$a, _templateObject10$9;
17211
17249
  var Container$9 = styled__default.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) {
17212
17250
  return props.size === 'mini' && styled.css(_templateObject2$t || (_templateObject2$t = _taggedTemplateLiteralLoose(["\n width: 394px;\n height: 99px;\n "])));
17213
17251
  }, function (props) {
@@ -17225,7 +17263,7 @@ var Container$9 = styled__default.div(_templateObject$A || (_templateObject$A =
17225
17263
  }, function (props) {
17226
17264
  return props.borderType === 'danger' && styled.css(_templateObject9$a || (_templateObject9$a = _taggedTemplateLiteralLoose(["\n border-left-color: #e23851;\n "])));
17227
17265
  }, function (props) {
17228
- return props.borderType === 'none' && styled.css(_templateObject10$8 || (_templateObject10$8 = _taggedTemplateLiteralLoose(["\n border: 1px solid #d4d4d5;\n "])));
17266
+ return props.borderType === 'none' && styled.css(_templateObject10$9 || (_templateObject10$9 = _taggedTemplateLiteralLoose(["\n border: 1px solid #d4d4d5;\n "])));
17229
17267
  });
17230
17268
 
17231
17269
  var _excluded$1 = ["children"];
@@ -17397,7 +17435,8 @@ var getInstance = function getInstance(props) {
17397
17435
  var Submenu = function Submenu(props) {
17398
17436
  var item = props.item,
17399
17437
  close = props.close,
17400
- setAppliedFilters = props.setAppliedFilters;
17438
+ setAppliedFilters = props.setAppliedFilters,
17439
+ closeParent = props.closeParent;
17401
17440
 
17402
17441
  var _getInstance = getInstance(props),
17403
17442
  open = _getInstance.open,
@@ -17501,6 +17540,7 @@ var Submenu = function Submenu(props) {
17501
17540
  });
17502
17541
  return newState;
17503
17542
  });
17543
+ !item.keepOpen && closeParent();
17504
17544
  } : undefined;
17505
17545
 
17506
17546
  var optionsParser = function optionsParser(option) {
@@ -17518,7 +17558,7 @@ var Submenu = function Submenu(props) {
17518
17558
  });
17519
17559
  };
17520
17560
 
17521
- return React__default.createElement(Menu, {
17561
+ return React__default.createElement(Menu, Object.assign({
17522
17562
  open: open,
17523
17563
  axis: 'x',
17524
17564
  options: options.map(optionsParser),
@@ -17556,7 +17596,7 @@ var Submenu = function Submenu(props) {
17556
17596
  width: {}
17557
17597
  }
17558
17598
  }
17559
- });
17599
+ }, props.containerProps || {}));
17560
17600
  };
17561
17601
 
17562
17602
  var FiltersMenu = function FiltersMenu(props) {
@@ -17612,14 +17652,17 @@ var FiltersMenu = function FiltersMenu(props) {
17612
17652
  close: function close() {
17613
17653
  return setActive(-1);
17614
17654
  },
17615
- setAppliedFilters: props.setAppliedFilters
17655
+ closeParent: close,
17656
+ setAppliedFilters: props.setAppliedFilters,
17657
+ containerProps: props.subContainerProps
17616
17658
  }));
17617
17659
  };
17618
17660
 
17619
17661
  var Filters = Object.assign(function (props) {
17620
17662
  var items = props.items,
17621
17663
  setAppliedFilters = props.setAppliedFilters,
17622
- containerProps = props.containerProps;
17664
+ containerProps = props.containerProps,
17665
+ subContainerProps = props.subContainerProps;
17623
17666
  var buttonProps = filterObject(props, ['items', 'setAppliedFilters']);
17624
17667
  return React__default.createElement(Button$5, Object.assign({}, buttonProps, {
17625
17668
  getContent: function getContent(open, close) {
@@ -17628,7 +17671,8 @@ var Filters = Object.assign(function (props) {
17628
17671
  close: close,
17629
17672
  setAppliedFilters: setAppliedFilters,
17630
17673
  items: items,
17631
- containerProps: containerProps
17674
+ containerProps: containerProps,
17675
+ subContainerProps: subContainerProps
17632
17676
  }));
17633
17677
  }
17634
17678
  }), "Filtros");
@@ -17643,7 +17687,7 @@ var useContext$2 = function useContext() {
17643
17687
  return React__default.useContext(Provider$2);
17644
17688
  };
17645
17689
 
17646
- var _templateObject$D, _templateObject2$u, _templateObject3$p, _templateObject4$i, _templateObject5$f, _templateObject6$e, _templateObject7$e, _templateObject8$b, _templateObject9$b, _templateObject10$9, _templateObject11$6, _templateObject12$5, _templateObject13$3, _templateObject14$3, _templateObject15$3;
17690
+ 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;
17647
17691
  var aligns = {
17648
17692
  self: {
17649
17693
  horizontal: {
@@ -17726,7 +17770,7 @@ var Col = styled__default.div(_templateObject$D || (_templateObject$D = _taggedT
17726
17770
 
17727
17771
  if (align.text !== undefined) {
17728
17772
  var _v4 = align.text;
17729
- styles.push(styled.css(_templateObject10$9 || (_templateObject10$9 = _taggedTemplateLiteralLoose(["\n text-align: ", ";\n "])), _v4));
17773
+ styles.push(styled.css(_templateObject10$a || (_templateObject10$a = _taggedTemplateLiteralLoose(["\n text-align: ", ";\n "])), _v4));
17730
17774
  }
17731
17775
 
17732
17776
  return styles;
@@ -17740,13 +17784,13 @@ var Col = styled__default.div(_templateObject$D || (_templateObject$D = _taggedT
17740
17784
  theme = _ref6.theme;
17741
17785
  if (fontColor === undefined) return;
17742
17786
  var c = Array.isArray(fontColor) ? theme.getColor.apply(theme, fontColor) : theme.colors[fontColor];
17743
- return styled.css(_templateObject12$5 || (_templateObject12$5 = _taggedTemplateLiteralLoose(["\n color: ", ";\n "])), c);
17787
+ return styled.css(_templateObject12$6 || (_templateObject12$6 = _taggedTemplateLiteralLoose(["\n color: ", ";\n "])), c);
17744
17788
  }, function (_ref7) {
17745
17789
  var backgroundColor = _ref7.backgroundColor,
17746
17790
  theme = _ref7.theme;
17747
17791
  if (backgroundColor === undefined) return;
17748
17792
  var c = Array.isArray(backgroundColor) ? theme.getColor.apply(theme, backgroundColor) : theme.colors[backgroundColor];
17749
- return styled.css(_templateObject13$3 || (_templateObject13$3 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), c);
17793
+ return styled.css(_templateObject13$4 || (_templateObject13$4 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), c);
17750
17794
  }, function (_ref8) {
17751
17795
  var hover = _ref8.hover,
17752
17796
  theme = _ref8.theme;
@@ -17802,7 +17846,7 @@ var Grid$1 = function Grid$1(props) {
17802
17846
  }, React__default.createElement(Grid, Object.assign({}, gridProps)));
17803
17847
  };
17804
17848
 
17805
- var _templateObject$F, _templateObject2$w, _templateObject3$r, _templateObject4$j, _templateObject5$g, _templateObject6$f, _templateObject7$f, _templateObject8$c, _templateObject9$c, _templateObject10$a;
17849
+ var _templateObject$F, _templateObject2$w, _templateObject3$r, _templateObject4$j, _templateObject5$g, _templateObject6$f, _templateObject7$f, _templateObject8$c, _templateObject9$c, _templateObject10$b;
17806
17850
  var horizontalAligns = {
17807
17851
  around: 'space-around',
17808
17852
  between: 'space-between',
@@ -17877,7 +17921,7 @@ var Row = styled__default.div(_templateObject$F || (_templateObject$F = _taggedT
17877
17921
  if (!hover) return;
17878
17922
  var h = hover === true ? ['lightGrey', 50] : hover;
17879
17923
  var c = Array.isArray(h) ? theme.getColor.apply(theme, h) : theme.colors[h];
17880
- return styled.css(_templateObject10$a || (_templateObject10$a = _taggedTemplateLiteralLoose(["\n :hover {\n background-color: ", ";\n }\n "])), c);
17924
+ return styled.css(_templateObject10$b || (_templateObject10$b = _taggedTemplateLiteralLoose(["\n :hover {\n background-color: ", ";\n }\n "])), c);
17881
17925
  });
17882
17926
 
17883
17927
  var Row$1 = function Row$1(props) {
@@ -17930,7 +17974,7 @@ var widths = {
17930
17974
  default: '642.5px'
17931
17975
  };
17932
17976
 
17933
- var _templateObject$G, _templateObject2$x, _templateObject3$s, _templateObject4$k, _templateObject5$h, _templateObject6$g, _templateObject7$g, _templateObject8$d, _templateObject9$d, _templateObject10$b;
17977
+ var _templateObject$G, _templateObject2$x, _templateObject3$s, _templateObject4$k, _templateObject5$h, _templateObject6$g, _templateObject7$g, _templateObject8$d, _templateObject9$d, _templateObject10$c;
17934
17978
  var Background = styled__default.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) {
17935
17979
  var theme = _ref.theme;
17936
17980
  return theme.getColor('black', 25);
@@ -17963,7 +18007,7 @@ var Container$b = styled__default.div(_templateObject9$d || (_templateObject9$d
17963
18007
  customSize = _ref6.customSize,
17964
18008
  color = _ref6.color,
17965
18009
  inverted = _ref6.inverted;
17966
- return styled.css(_templateObject10$b || (_templateObject10$b = _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));
18010
+ return styled.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));
17967
18011
  });
17968
18012
 
17969
18013
  var _excluded$2 = ["children"];
@@ -18160,7 +18204,7 @@ var Modal$1 = Object.assign(Modal, {
18160
18204
  Audit: Audit
18161
18205
  });
18162
18206
 
18163
- var _templateObject$K, _templateObject2$y, _templateObject3$t, _templateObject4$l, _templateObject5$i, _templateObject6$h, _templateObject7$h, _templateObject8$e, _templateObject9$e, _templateObject10$c, _templateObject11$7;
18207
+ var _templateObject$K, _templateObject2$y, _templateObject3$t, _templateObject4$l, _templateObject5$i, _templateObject6$h, _templateObject7$h, _templateObject8$e, _templateObject9$e, _templateObject10$d, _templateObject11$7;
18164
18208
  var Container$c = styled__default.div(_templateObject$K || (_templateObject$K = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 300px;\n position: absolute;\n padding: 14px;\n"])));
18165
18209
  var Header$6 = styled__default.div(_templateObject2$y || (_templateObject2$y = _taggedTemplateLiteralLoose(["\n display: flex;\n"])));
18166
18210
  var HeaderImage = styled__default.div(_templateObject3$t || (_templateObject3$t = _taggedTemplateLiteralLoose(["\n width: 43px;\n height: 44px;\n background-color: #ebebeb;\n"])));
@@ -18175,7 +18219,7 @@ var HeaderLine = styled__default.div(_templateObject6$h || (_templateObject6$h =
18175
18219
  }, function (props) {
18176
18220
  return props.size === 'medium' && styled.css(_templateObject9$e || (_templateObject9$e = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
18177
18221
  }, function (props) {
18178
- return props.size === 'large' && styled.css(_templateObject10$c || (_templateObject10$c = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
18222
+ return props.size === 'large' && styled.css(_templateObject10$d || (_templateObject10$d = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
18179
18223
  });
18180
18224
  var MainLine = styled__default(HeaderLine)(_templateObject11$7 || (_templateObject11$7 = _taggedTemplateLiteralLoose(["\n margin-bottom: 14px;\n margin-left: 0;\n"])));
18181
18225
 
@@ -18446,7 +18490,7 @@ var Template6 = function Template6(props) {
18446
18490
  })));
18447
18491
  };
18448
18492
 
18449
- var _templateObject$R, _templateObject2$F, _templateObject3$A, _templateObject4$r, _templateObject5$o, _templateObject6$m, _templateObject7$m, _templateObject8$j, _templateObject9$h, _templateObject10$d;
18493
+ var _templateObject$R, _templateObject2$F, _templateObject3$A, _templateObject4$r, _templateObject5$o, _templateObject6$m, _templateObject7$m, _templateObject8$j, _templateObject9$h, _templateObject10$e;
18450
18494
  var Container$i = styled__default.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"])));
18451
18495
  var Header$9 = styled__default.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"])));
18452
18496
  var HeaderLine$6 = styled__default.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) {
@@ -18468,7 +18512,7 @@ var CustomLine$3 = styled__default(HeaderLine$6)(_templateObject8$j || (_templat
18468
18512
  return props.color;
18469
18513
  });
18470
18514
  var Main$2 = styled__default.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"])));
18471
- var Circle$1 = styled__default.div(_templateObject10$d || (_templateObject10$d = _taggedTemplateLiteralLoose(["\n width: 30px;\n height: 30px;\n background-color: #ebebeb;\n border-radius: 50%;\n margin: 0 16px;\n"])));
18515
+ var Circle$1 = styled__default.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"])));
18472
18516
 
18473
18517
  var Template7 = function Template7(props) {
18474
18518
  if (!props.loading) return React__default.createElement(React__default.Fragment, null);
@@ -18523,7 +18567,7 @@ var Template8 = function Template8(props) {
18523
18567
  })));
18524
18568
  };
18525
18569
 
18526
- var _templateObject$T, _templateObject2$H, _templateObject3$C, _templateObject4$t, _templateObject5$q, _templateObject6$o, _templateObject7$o, _templateObject8$l, _templateObject9$j, _templateObject10$e;
18570
+ var _templateObject$T, _templateObject2$H, _templateObject3$C, _templateObject4$t, _templateObject5$q, _templateObject6$o, _templateObject7$o, _templateObject8$l, _templateObject9$j, _templateObject10$f;
18527
18571
  var Container$k = styled__default.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"])));
18528
18572
  var Header$b = styled__default.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"])));
18529
18573
  var HeaderLine$8 = styled__default.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) {
@@ -18545,7 +18589,7 @@ var CustomLine$5 = styled__default(HeaderLine$8)(_templateObject8$l || (_templat
18545
18589
  return props.color;
18546
18590
  });
18547
18591
  var Main$4 = styled__default.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"])));
18548
- var Circle$2 = styled__default.div(_templateObject10$e || (_templateObject10$e = _taggedTemplateLiteralLoose(["\n width: 128px;\n height: 128px;\n background-color: #ebebeb;\n border-radius: 50%;\n"])));
18592
+ var Circle$2 = styled__default.div(_templateObject10$f || (_templateObject10$f = _taggedTemplateLiteralLoose(["\n width: 128px;\n height: 128px;\n background-color: #ebebeb;\n border-radius: 50%;\n"])));
18549
18593
 
18550
18594
  var Template8$1 = function Template8(props) {
18551
18595
  if (!props.loading) return React__default.createElement(React__default.Fragment, null);
@@ -18562,7 +18606,7 @@ var Template8$1 = function Template8(props) {
18562
18606
  })), React__default.createElement(Main$4, null, React__default.createElement(Circle$2, null)));
18563
18607
  };
18564
18608
 
18565
- var _templateObject$U, _templateObject2$I, _templateObject3$D, _templateObject4$u, _templateObject5$r, _templateObject6$p, _templateObject7$p, _templateObject8$m, _templateObject9$k, _templateObject10$f, _templateObject11$8;
18609
+ var _templateObject$U, _templateObject2$I, _templateObject3$D, _templateObject4$u, _templateObject5$r, _templateObject6$p, _templateObject7$p, _templateObject8$m, _templateObject9$k, _templateObject10$g, _templateObject11$8;
18566
18610
  var Container$l = styled__default.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"])));
18567
18611
  var Header$c = styled__default.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"])));
18568
18612
  var HeaderLine$9 = styled__default.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) {
@@ -18584,7 +18628,7 @@ var CustomLine$6 = styled__default(HeaderLine$9)(_templateObject8$m || (_templat
18584
18628
  return props.color;
18585
18629
  });
18586
18630
  var GraphLine = styled__default(CustomLine$6)(_templateObject9$k || (_templateObject9$k = _taggedTemplateLiteralLoose(["\n margin: 0 7px;\n"])));
18587
- var Main$5 = styled__default.div(_templateObject10$f || (_templateObject10$f = _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"])));
18631
+ var Main$5 = styled__default.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"])));
18588
18632
  var Circle$3 = styled__default.div(_templateObject11$8 || (_templateObject11$8 = _taggedTemplateLiteralLoose(["\n width: 128px;\n height: 128px;\n background-color: #ebebeb;\n border-radius: 50%;\n"])));
18589
18633
 
18590
18634
  var Template10 = function Template10(props) {