@mw-kit/mw-ui 1.7.5 → 1.7.7

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.
Files changed (42) hide show
  1. package/dist/components/Calendar/components/Basic/components/Main/index.d.ts +3 -0
  2. package/dist/components/Calendar/components/Basic/components/Main/interfaces.d.ts +3 -0
  3. package/dist/components/Calendar/components/Basic/components/Main/styles.d.ts +10 -0
  4. package/dist/components/Calendar/components/Basic/components/MonthPicker/index.d.ts +9 -0
  5. package/dist/components/Calendar/components/Basic/index.d.ts +8 -0
  6. package/dist/components/Calendar/components/Basic/interfaces.d.ts +26 -0
  7. package/dist/components/Calendar/components/Basic/styles.d.ts +8 -0
  8. package/dist/components/Calendar/components/Interval/components/Main/functions.d.ts +4 -0
  9. package/dist/components/Calendar/components/Interval/components/Main/index.d.ts +3 -0
  10. package/dist/components/Calendar/components/Interval/components/Main/interfaces.d.ts +3 -0
  11. package/dist/components/Calendar/components/Interval/components/Main/styles.d.ts +3 -0
  12. package/dist/components/Calendar/components/Interval/index.d.ts +8 -0
  13. package/dist/components/Calendar/components/Interval/interfaces.d.ts +21 -0
  14. package/dist/components/Calendar/components/Single/components/Main/index.d.ts +3 -0
  15. package/dist/components/Calendar/components/Single/components/Main/interfaces.d.ts +3 -0
  16. package/dist/components/Calendar/components/Single/index.d.ts +8 -0
  17. package/dist/components/Calendar/components/Single/interfaces.d.ts +21 -0
  18. package/dist/components/Calendar/components/index.d.ts +3 -0
  19. package/dist/components/Calendar/components/interfaces.d.ts +3 -0
  20. package/dist/components/Calendar/constants.d.ts +6 -0
  21. package/dist/components/Calendar/functions.d.ts +11 -0
  22. package/dist/components/Calendar/index.d.ts +27 -8
  23. package/dist/components/Calendar/interfaces.d.ts +9 -20
  24. package/dist/components/Calendar/styles.d.ts +1 -13
  25. package/dist/components/Input/components/DateIntervalPicker/index.d.ts +1 -1
  26. package/dist/components/Input/components/DateIntervalPicker/interfaces.d.ts +2 -0
  27. package/dist/components/Input/index.d.ts +1 -1
  28. package/dist/components/Menu/interfaces.d.ts +1 -1
  29. package/dist/components/index.d.ts +1 -2
  30. package/dist/functions/formatters.d.ts +2 -2
  31. package/dist/functions/validators.d.ts +9 -1
  32. package/dist/index.d.ts +1 -1
  33. package/dist/index.js +1237 -824
  34. package/dist/index.js.map +1 -1
  35. package/dist/index.modern.js +1237 -823
  36. package/dist/index.modern.js.map +1 -1
  37. package/dist/interfaces.d.ts +1 -0
  38. package/dist/theme/constants.d.ts +21 -21
  39. package/package.json +1 -1
  40. package/dist/components/CalendarInterval/index.d.ts +0 -4
  41. package/dist/components/CalendarInterval/interfaces.d.ts +0 -16
  42. package/dist/components/CalendarInterval/styles.d.ts +0 -1
package/dist/index.js CHANGED
@@ -52,39 +52,39 @@ function _taggedTemplateLiteralLoose(strings, raw) {
52
52
  }
53
53
 
54
54
  var colors = {
55
- white: '#FFFFFF',
56
- iceWhite: '#F9F8F8',
57
55
  black: '#000000',
58
56
  blue: '#3455AB',
59
- lightBlue: '#2D9AFF',
60
- darkestBlue: '#121B2E',
57
+ bronze: '#7A4D05',
58
+ brown: '#9F3A38',
61
59
  darkBlue: '#192338',
62
- greyishBlue: '#263046',
63
- darkSilver: '#525A6A',
64
- silver: '#B2B2B2',
60
+ darkestBlue: '#121B2E',
61
+ darkestGreen: '#1E561F',
65
62
  darkestGrey: '#989898',
63
+ darkGreen: '#129105',
66
64
  darkGrey: '#949494',
65
+ darkSilver: '#525A6A',
66
+ floralWhite: '#FFFAF3',
67
+ green: '#76B100',
67
68
  grey: '#ADADAD',
68
- lightGrey: '#C8C8C8',
69
+ greyishBlue: '#263046',
70
+ iceWhite: '#F9F8F8',
71
+ lightBlue: '#2D9AFF',
69
72
  lightestGrey: '#E2E2E3',
70
- purple: '#8E66BB',
71
- orange: '#FB8702',
72
- yellow: '#FBCB01',
73
- red: '#C31717',
74
- darkestGreen: '#1E561F',
75
- darkGreen: '#129105',
76
- green: '#76B100',
77
73
  lightGreen: '#66BB6A',
74
+ lightGrey: '#C8C8C8',
75
+ milkWhite: '#FCFFF5',
76
+ orange: '#FB8702',
78
77
  pink: '#E23851',
79
- brown: '#9F3A38',
78
+ purple: '#8E66BB',
79
+ red: '#C31717',
80
+ silver: '#B2B2B2',
81
+ snowWhite: '#FFF6F6',
80
82
  vanilla: '#CCBEA0',
81
- bronze: '#7A4D05',
82
83
  warningGray: '#E6E6E6',
83
- warningYellow: '#FBCF30',
84
84
  warningRed: '#EF5350',
85
- floralWhite: '#FFFAF3',
86
- snowWhite: '#FFF6F6',
87
- milkWhite: '#FCFFF5'
85
+ warningYellow: '#FBCF30',
86
+ white: '#FFFFFF',
87
+ yellow: '#FBCB01'
88
88
  };
89
89
  var opacities = {
90
90
  100: 'FF',
@@ -208,14 +208,59 @@ var isString = function isString(value) {
208
208
  var isDateInstance = function isDateInstance(value) {
209
209
  return value instanceof Date && !isNaN(value.valueOf());
210
210
  };
211
- var isDateEquals = function isDateEquals(x, y, time) {
211
+ var dateCompare = function dateCompare(a, b, operation, time) {
212
212
  if (time === void 0) {
213
213
  time = true;
214
214
  }
215
215
 
216
- var xStr = dateToIsoString(x, time, true, 'us');
217
- var yStr = dateToIsoString(y, time, true, 'us');
218
- return xStr === yStr;
216
+ var operations = {
217
+ eq: function eq(a, b) {
218
+ return a.getTime() === b.getTime();
219
+ },
220
+ gt: function gt(a, b) {
221
+ return a > b;
222
+ },
223
+ gte: function gte(a, b) {
224
+ return this.gt(a, b) || this.eq(a, b);
225
+ },
226
+ lt: function lt(a, b) {
227
+ return a < b;
228
+ },
229
+ lte: function lte(a, b) {
230
+ return this.lt(a, b) || this.eq(a, b);
231
+ }
232
+ };
233
+
234
+ if (time === false) {
235
+ a = new Date(a);
236
+ a.setHours(0, 0, 0, 0);
237
+ b = new Date(b);
238
+ b.setHours(0, 0, 0, 0);
239
+ }
240
+
241
+ return operations[operation](a, b);
242
+ };
243
+ var isValidTime = function isValidTime(time, format) {
244
+ if (format === void 0) {
245
+ format = {
246
+ h: 'required',
247
+ m: 'required'
248
+ };
249
+ }
250
+
251
+ var c = {
252
+ h: '(([0-1][0-9])|(2[0-3]))',
253
+ m: '([0-5][0-9])',
254
+ s: '([0-5][0-9])'
255
+ };
256
+ var sep = '';
257
+ var conditions = Object.keys(format).map(function (f) {
258
+ var content = "(" + sep + c[f] + ")";
259
+ sep = ':';
260
+ return format[f] === 'required' ? content : content + "?";
261
+ }).join('');
262
+ var re = new RegExp(conditions + "$");
263
+ return time.match(re) !== null;
219
264
  };
220
265
  var strCmp = function strCmp(x, y, options) {
221
266
  if (options === void 0) {
@@ -247,13 +292,16 @@ var strCmp = function strCmp(x, y, options) {
247
292
  return options.contain ? x.includes(y) : x === y;
248
293
  };
249
294
 
250
- var filterObject = function filterObject(object, keys, inital) {
295
+ var keys = function keys(value) {
296
+ return Object.keys(value);
297
+ };
298
+ var filterObject = function filterObject(object, remove, inital) {
251
299
  if (inital === void 0) {
252
300
  inital = {};
253
301
  }
254
302
 
255
- var r = Object.keys(object).filter(function (key) {
256
- return !keys.includes(key);
303
+ var r = keys(object).filter(function (key) {
304
+ return !remove.includes(key);
257
305
  }).reduce(function (prev, key) {
258
306
  var _extends2;
259
307
 
@@ -262,7 +310,14 @@ var filterObject = function filterObject(object, keys, inital) {
262
310
  return r;
263
311
  };
264
312
  var isoStringToDate = function isoStringToDate(value) {
265
- var date = new Date(value.split('/').reverse().join('-') + ' 00:00:00');
313
+ var _value$split = value.split(' '),
314
+ d = _value$split[0],
315
+ _value$split$ = _value$split[1],
316
+ t = _value$split$ === void 0 ? '00:00:00' : _value$split$;
317
+
318
+ var date = new Date(d.split('/').reverse().join('-') + ' ' + [].concat(t.split(':'), ['0', '0', '0']).slice(0, 3).map(function (s) {
319
+ return s.padEnd(2, '0');
320
+ }).join(':'));
266
321
  return isNaN(date.getTime()) ? null : date;
267
322
  };
268
323
  var getWeekNumber = function getWeekNumber(value) {
@@ -351,9 +406,6 @@ var getSpacings = function getSpacings(value, defaults) {
351
406
  };
352
407
  return values.top + " " + values.right + " " + values.bottom + " " + values.left;
353
408
  };
354
- var keys = function keys(value) {
355
- return Object.keys(value);
356
- };
357
409
 
358
410
  var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
359
411
  var loader = styled.keyframes(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n from { transform: rotate(0deg); }\n to { transform: rotate(360deg); }\n"])));
@@ -12256,26 +12308,29 @@ var AbsoluteContainer = React__default.forwardRef(function (props, fowardedRef)
12256
12308
  AbsoluteContainer.displayName = 'AbsoluteContainer';
12257
12309
 
12258
12310
  var _templateObject$8, _templateObject2$6, _templateObject3$6, _templateObject4$5, _templateObject5$4, _templateObject6$2, _templateObject7$2, _templateObject8$2, _templateObject9$2;
12259
- var Option = styled__default.div(_templateObject$8 || (_templateObject$8 = _taggedTemplateLiteralLoose(["\n ", ";\n line-height: ", ";\n display: flex;\n\n > :nth-child(1) {\n flex: 1;\n }\n\n ", ";\n\n :hover {\n background-color: ", ";\n }\n"])), function (_ref) {
12311
+ var Option = styled__default.div(_templateObject$8 || (_templateObject$8 = _taggedTemplateLiteralLoose(["\n ", ";\n line-height: ", ";\n color: ", ";\n display: flex;\n\n > :nth-child(1) {\n flex: 1;\n }\n\n ", ";\n\n :hover {\n background-color: ", ";\n }\n"])), function (_ref) {
12260
12312
  var theme = _ref.theme;
12261
12313
  return theme.useTypography('p');
12262
12314
  }, function (_ref2) {
12263
12315
  var theme = _ref2.theme;
12264
12316
  return theme.spacings.s3;
12265
12317
  }, function (_ref3) {
12266
- var disabled = _ref3.disabled;
12318
+ var theme = _ref3.theme;
12319
+ return theme.colors.darkBlue;
12320
+ }, function (_ref4) {
12321
+ var disabled = _ref4.disabled;
12267
12322
 
12268
12323
  if (!disabled) {
12269
12324
  return styled.css(_templateObject2$6 || (_templateObject2$6 = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n "])));
12270
12325
  }
12271
12326
 
12272
12327
  return styled.css(_templateObject3$6 || (_templateObject3$6 = _taggedTemplateLiteralLoose(["\n pointer-events: none;\n opacity: 0.3;\n "])));
12273
- }, function (_ref4) {
12274
- var theme = _ref4.theme;
12328
+ }, function (_ref5) {
12329
+ var theme = _ref5.theme;
12275
12330
  return theme.colors.iceWhite;
12276
12331
  });
12277
- var Container$3 = styled__default(AbsoluteContainer)(_templateObject4$5 || (_templateObject4$5 = _taggedTemplateLiteralLoose(["\n display: flex;\n\n > div {\n display: flex;\n width: 100%;\n\n > div:nth-child(1) {\n background-color: ", ";\n border-radius: 4px;\n\n ", "\n }\n\n ", "\n\n ", "\n }\n"])), function (_ref5) {
12278
- var theme = _ref5.theme;
12332
+ var Container$3 = styled__default(AbsoluteContainer)(_templateObject4$5 || (_templateObject4$5 = _taggedTemplateLiteralLoose(["\n display: flex;\n\n > div {\n display: flex;\n width: 100%;\n\n > div:nth-child(1) {\n background-color: ", ";\n border-radius: 4px;\n\n ", "\n }\n\n ", "\n\n ", "\n }\n"])), function (_ref6) {
12333
+ var theme = _ref6.theme;
12279
12334
  return theme.colors.white;
12280
12335
  }, function (props) {
12281
12336
  if (!props.containerSpacing) return;
@@ -12284,11 +12339,11 @@ var Container$3 = styled__default(AbsoluteContainer)(_templateObject4$5 || (_tem
12284
12339
  tmp[1] = "calc(" + props.theme.spacings.s1 + " / 2)";
12285
12340
  spacing = tmp.join(' ');
12286
12341
  return styled.css(_templateObject5$4 || (_templateObject5$4 = _taggedTemplateLiteralLoose(["\n padding: ", ";\n "])), spacing);
12287
- }, function (_ref6) {
12288
- var bordered = _ref6.bordered;
12342
+ }, function (_ref7) {
12343
+ var bordered = _ref7.bordered;
12289
12344
  if (!bordered) return;
12290
- return styled.css(_templateObject6$2 || (_templateObject6$2 = _taggedTemplateLiteralLoose(["\n ", " {\n :not(:last-child) {\n border-bottom: 1px solid\n ", ";\n }\n }\n "])), Option, function (_ref7) {
12291
- var theme = _ref7.theme;
12345
+ return styled.css(_templateObject6$2 || (_templateObject6$2 = _taggedTemplateLiteralLoose(["\n ", " {\n :not(:last-child) {\n border-bottom: 1px solid\n ", ";\n }\n }\n "])), Option, function (_ref8) {
12346
+ var theme = _ref8.theme;
12292
12347
  return theme.getColor('greyishBlue', 10);
12293
12348
  });
12294
12349
  }, function (props) {
@@ -12303,11 +12358,11 @@ var Container$3 = styled__default(AbsoluteContainer)(_templateObject4$5 || (_tem
12303
12358
  });
12304
12359
  return styled.css(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteralLoose(["\n ", " {\n padding: ", ";\n }\n ", " {\n margin: ", ";\n }\n "])), Option, spacing, Delimiter, spacing);
12305
12360
  });
12306
- var Delimiter = styled__default.div(_templateObject9$2 || (_templateObject9$2 = _taggedTemplateLiteralLoose(["\n ", ";\n\n border-bottom: 1px solid ", ";\n margin: 14px;\n width: calc(100% - 28px);\n"])), function (_ref8) {
12307
- var theme = _ref8.theme;
12308
- return theme.useTypography('p');
12309
- }, function (_ref9) {
12361
+ var Delimiter = styled__default.div(_templateObject9$2 || (_templateObject9$2 = _taggedTemplateLiteralLoose(["\n ", ";\n\n border-bottom: 1px solid ", ";\n margin: 14px;\n width: calc(100% - 28px);\n"])), function (_ref9) {
12310
12362
  var theme = _ref9.theme;
12363
+ return theme.useTypography('p');
12364
+ }, function (_ref10) {
12365
+ var theme = _ref10.theme;
12311
12366
  return theme.colors.greyishBlue;
12312
12367
  });
12313
12368
 
@@ -12988,157 +13043,50 @@ var useOnClickOut = function useOnClickOut(callback) {
12988
13043
  return setRef;
12989
13044
  };
12990
13045
 
12991
- var _mask = function mask(v, seconds) {
12992
- v = v.replace(/[^0-9\s]/g, '');
12993
-
12994
- while (v.length > 0 && parseInt(v[0]) > 2) {
12995
- v = v.substring(1);
12996
- }
12997
-
12998
- if (v.length > 1) {
12999
- if (v[0] === '2') {
13000
- while (v.length > 1 && parseInt(v[1]) > 3) {
13001
- v = v[0] + v.substring(2);
13002
- }
13003
- }
13004
- }
13005
-
13006
- if (v.length > 2) {
13007
- while (v.length > 2 && parseInt(v[2]) > 5) {
13008
- v = v.substring(0, 2) + v.substring(3);
13009
- }
13010
- }
13011
-
13012
- if (v.length > 4) {
13013
- while (v.length > 4 && parseInt(v[4]) > 5) {
13014
- v = v.substring(0, 4) + v.substring(5);
13015
- }
13016
- }
13017
-
13018
- v = v.substring(0, seconds ? 6 : 4);
13019
- if (v.length < 3) return v;else if (v.length < 5) return v.substring(0, 2) + ':' + v.substring(2);else return v.substring(0, 2) + ':' + v.substring(2, 4) + ':' + v.substring(4);
13046
+ var months = ['Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho', 'Julho', 'Agosto', 'Setembro', 'Outubro', 'Novembro', 'Dezembro'];
13047
+ var maxHeight = '378px';
13048
+ var inputTimeWidth = {
13049
+ withSeconds: '86px',
13050
+ withoutSeconds: '66px'
13020
13051
  };
13021
13052
 
13022
- var Time = React__default.forwardRef(function (props, ref) {
13023
- var value = props.value,
13024
- seconds = props.seconds;
13025
-
13026
- var _onKeyDown = props.onKeyDown || function () {};
13027
-
13028
- var setValue = props.setValue || function () {};
13029
-
13030
- var onKeyDown = function onKeyDown(event) {
13031
- var target = event.target;
13032
- var todayDate = new Date();
13033
- var curH = todayDate.getHours();
13034
- var curM = todayDate.getMinutes();
13035
- var curS = todayDate.getSeconds();
13036
- var value = target.value.replace(/[^0-9\s]/g, '');
13037
- var tmp = value.substring(0, 2);
13038
- var h = tmp.length === 0 ? curH : parseInt(tmp.padEnd(2, '0'));
13039
- tmp = value.substring(2, 4);
13040
- var m = tmp.length === 0 ? curM : parseInt(tmp.padEnd(2, '0'));
13041
- tmp = value.substring(4, 6);
13042
- var s = tmp.length === 0 ? curS : parseInt(tmp.padEnd(2, '0'));
13043
-
13044
- if (event.key === 'ArrowUp') {
13045
- var date = new Date();
13046
- date.setHours(h);
13047
- date.setMinutes(m);
13048
- date.setSeconds(s);
13049
-
13050
- if (seconds) {
13051
- date.setSeconds(s + 1);
13052
- h = date.getHours();
13053
- m = date.getMinutes();
13054
- s = date.getSeconds();
13055
- setValue([h.toString().padStart(2, '0'), m.toString().padStart(2, '0'), s.toString().padStart(2, '0')].join(':'));
13056
- } else {
13057
- date.setMinutes(m + 1);
13058
- h = date.getHours();
13059
- m = date.getMinutes();
13060
- s = date.getSeconds();
13061
- setValue([h.toString().padStart(2, '0'), m.toString().padStart(2, '0')].join(':'));
13062
- }
13063
- } else if (event.key === 'ArrowDown') {
13064
- var _date = new Date();
13065
-
13066
- _date.setHours(h);
13067
-
13068
- _date.setMinutes(m);
13069
-
13070
- _date.setSeconds(s);
13071
-
13072
- if (seconds) {
13073
- _date.setSeconds(s - 1);
13074
-
13075
- h = _date.getHours();
13076
- m = _date.getMinutes();
13077
- s = _date.getSeconds();
13078
- setValue([h.toString().padStart(2, '0'), m.toString().padStart(2, '0'), s.toString().padStart(2, '0')].join(':'));
13079
- } else {
13080
- _date.setMinutes(m - 1);
13081
-
13082
- h = _date.getHours();
13083
- m = _date.getMinutes();
13084
- s = _date.getSeconds();
13085
- setValue([h.toString().padStart(2, '0'), m.toString().padStart(2, '0')].join(':'));
13086
- }
13087
- }
13088
-
13089
- _onKeyDown(event);
13090
- };
13091
-
13092
- var placeholder = props.placeholder === undefined ? seconds ? '––:––:––' : '––:––' : props.placeholder;
13093
- return React__default.createElement(Input$1, Object.assign({}, props, {
13094
- type: 'text',
13095
- value: _mask(value, seconds),
13096
- placeholder: placeholder,
13097
- mask: function mask(v) {
13098
- return _mask(v, seconds);
13099
- },
13100
- onKeyDown: onKeyDown,
13101
- ref: ref
13102
- }));
13103
- });
13104
- Time.displayName = 'Time';
13105
-
13106
- var _templateObject$e, _templateObject2$c, _templateObject3$c, _templateObject4$b, _templateObject5$a, _templateObject6$8, _templateObject7$6, _templateObject8$4, _templateObject9$4, _templateObject10$3, _templateObject11$2, _templateObject12$2, _templateObject13$2;
13107
- var Container$7 = styled__default.div(_templateObject$e || (_templateObject$e = _taggedTemplateLiteralLoose(["\n display: inline-block;\n background-color: ", ";\n padding: ", ";\n\n > div:nth-child(1) {\n border: 1px solid ", ";\n margin-bottom: ", ";\n }\n"])), function (_ref) {
13053
+ var _templateObject$e, _templateObject2$c, _templateObject3$c, _templateObject4$b, _templateObject5$a, _templateObject6$8, _templateObject7$6, _templateObject8$4, _templateObject9$4;
13054
+ var Container$7 = styled__default.div(_templateObject$e || (_templateObject$e = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n gap: ", ";\n background-color: ", ";\n\n ", ";\n"])), function (_ref) {
13108
13055
  var theme = _ref.theme;
13109
- return theme.colors.white;
13056
+ return theme.spacings.s3;
13110
13057
  }, function (_ref2) {
13111
13058
  var theme = _ref2.theme;
13112
- return theme.spacings.s1;
13059
+ return theme.colors.white;
13113
13060
  }, function (_ref3) {
13114
13061
  var theme = _ref3.theme;
13115
- return theme.colors.lightestGrey;
13116
- }, function (_ref4) {
13117
- var theme = _ref4.theme;
13118
- return theme.spacings.s1;
13062
+ var s3 = theme.spacings.s3;
13063
+ return styled.css(_templateObject2$c || (_templateObject2$c = _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);
13119
13064
  });
13120
- var AbsoluteContainer$1 = styled__default(AbsoluteContainer)(_templateObject2$c || (_templateObject2$c = _taggedTemplateLiteralLoose(["\n > ", " {\n padding: ", ";\n }\n"])), Container$7, function (_ref5) {
13065
+ var LabelContainer = styled__default.div(_templateObject3$c || (_templateObject3$c = _taggedTemplateLiteralLoose(["\n ", ";\n line-height: ", ";\n"])), function (_ref4) {
13066
+ var theme = _ref4.theme;
13067
+ return theme.useTypography('p');
13068
+ }, function (_ref5) {
13121
13069
  var theme = _ref5.theme;
13122
- return theme.spacings.s3 + " " + theme.spacings.s3 + " " + theme.spacings.s1 + " " + theme.spacings.s3;
13070
+ return theme.spacings.s3;
13123
13071
  });
13124
- var Footer = styled__default.div(_templateObject3$c || (_templateObject3$c = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n"])));
13125
- var MonthContainer = styled__default.div(_templateObject4$b || (_templateObject4$b = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n > div {\n margin: ", " 0;\n }\n"])), function (_ref6) {
13072
+ var CalendarContainer = styled__default.div(_templateObject4$b || (_templateObject4$b = _taggedTemplateLiteralLoose(["\n border: 1px solid ", ";\n"])), function (_ref6) {
13126
13073
  var theme = _ref6.theme;
13127
- return theme.spacings.s1;
13074
+ return theme.colors.lightestGrey;
13128
13075
  });
13129
- var NavBtn = styled__default.button(_templateObject5$a || (_templateObject5$a = _taggedTemplateLiteralLoose(["\n ", "\n line-height: 14px;\n width: 32px;\n height: 32px;\n box-shadow: none;\n border: 0.5px solid transparent;\n background-color: transparent;\n cursor: pointer;\n border: none;\n\n padding: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n\n :disabled {\n visibility: hidden;\n }\n"])), function (_ref7) {
13076
+ var AbsoluteContainer$1 = styled__default(AbsoluteContainer)(_templateObject5$a || (_templateObject5$a = _taggedTemplateLiteralLoose(["\n > ", " {\n padding: ", ";\n }\n"])), Container$7, function (_ref7) {
13130
13077
  var theme = _ref7.theme;
13131
- return theme.useTypography('p');
13078
+ return theme.spacings.s3 + " " + theme.spacings.s3 + " " + theme.spacings.s1 + " " + theme.spacings.s3;
13132
13079
  });
13133
- var WeekContainer = styled__default.div(_templateObject6$8 || (_templateObject6$8 = _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 (_ref8) {
13080
+ var MonthContainer = styled__default.div(_templateObject6$8 || (_templateObject6$8 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: ", ";\n > div {\n margin: ", " 0;\n flex: 1;\n position: relative;\n }\n"])), function (_ref8) {
13134
13081
  var theme = _ref8.theme;
13135
- return theme.colors.lightestGrey;
13082
+ return theme.spacings.s1;
13136
13083
  }, function (_ref9) {
13137
13084
  var theme = _ref9.theme;
13138
- return theme.fonts.lato;
13139
- }, function (_ref10) {
13085
+ return theme.spacings.s1;
13086
+ });
13087
+ var MonthBtn = styled__default.div(_templateObject7$6 || (_templateObject7$6 = _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) {
13140
13088
  var theme = _ref10.theme;
13141
- return theme.spacings.s3;
13089
+ return theme.useTypography('p');
13142
13090
  }, function (_ref11) {
13143
13091
  var theme = _ref11.theme;
13144
13092
  return theme.spacings.s3;
@@ -13147,64 +13095,155 @@ var WeekContainer = styled__default.div(_templateObject6$8 || (_templateObject6$
13147
13095
  return theme.colors.darkBlue;
13148
13096
  }, function (_ref13) {
13149
13097
  var theme = _ref13.theme;
13150
- return theme.colors.lightestGrey;
13098
+ return theme.spacings.s1;
13099
+ }, function (_ref14) {
13100
+ var onClick = _ref14.onClick;
13101
+ if (!onClick) return;
13102
+ return styled.css(_templateObject8$4 || (_templateObject8$4 = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n "])));
13151
13103
  });
13152
- var Header = styled__default.div(_templateObject7$6 || (_templateObject7$6 = _taggedTemplateLiteralLoose(["\n width: 100%;\n\n background-color: ", ";\n font-weight: bolder;\n\n > ", " {\n border-top: none;\n > * {\n border-right-color: transparent;\n }\n }\n"])), function (_ref14) {
13153
- var theme = _ref14.theme;
13154
- return theme.getColor('lightestGrey', 40);
13155
- }, WeekContainer);
13156
- var DayContainer = styled__default.button(_templateObject8$4 || (_templateObject8$4 = _taggedTemplateLiteralLoose(["\n ", ";\n\n :disabled {\n color: ", ";\n }\n\n transition-property: background-color color;\n transition-timing-function: ease-in-out;\n transition-duration: 0.25s;\n\n :not(:disabled) {\n cursor: pointer;\n }\n\n ", "\n"])), function (_ref15) {
13157
- var theme = _ref15.theme,
13158
- color = _ref15.color;
13159
-
13160
- if (color === 'grey') {
13161
- return styled.css(_templateObject9$4 || (_templateObject9$4 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), theme.getColor('greyishBlue', 10));
13162
- } else if (color === 'blue') {
13163
- return styled.css(_templateObject10$3 || (_templateObject10$3 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n\n :not(:disabled) {\n background-color: ", ";\n }\n "])), theme.colors.white, theme.getColor('blue', 30));
13164
- }
13165
-
13166
- return styled.css(_templateObject11$2 || (_templateObject11$2 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), theme.colors.white);
13104
+ 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) {
13105
+ var theme = _ref15.theme;
13106
+ return theme.useTypography('p');
13167
13107
  }, function (_ref16) {
13168
13108
  var theme = _ref16.theme;
13169
- return theme.colors.silver;
13170
- }, function (_ref17) {
13171
- var active = _ref17.active,
13172
- theme = _ref17.theme;
13173
-
13174
- if (active !== 1) {
13175
- return styled.css(_templateObject12$2 || (_templateObject12$2 = _taggedTemplateLiteralLoose(["\n :not(:disabled) {\n :hover {\n border-color: ", ";\n color: ", ";\n }\n }\n "])), function (_ref18) {
13176
- var theme = _ref18.theme;
13177
- return theme.colors.blue;
13178
- }, function (_ref19) {
13179
- var theme = _ref19.theme;
13180
- return theme.colors.blue;
13181
- });
13182
- }
13183
-
13184
- return styled.css(_templateObject13$2 || (_templateObject13$2 = _taggedTemplateLiteralLoose(["\n color: ", ";\n background-color: ", ";\n\n :not(:last-child) {\n border-right-color: ", ";\n }\n "])), theme.colors.white, theme.colors.blue, function (_ref20) {
13185
- var theme = _ref20.theme;
13186
- return theme.colors.blue;
13187
- });
13109
+ return theme.getColor('blue', 35);
13188
13110
  });
13189
13111
 
13190
- var months = ['Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho', 'Julho', 'Agosto', 'Setembro', 'Outubro', 'Novembro', 'Dezembro'];
13191
-
13192
- var getCalendar = function getCalendar(d) {
13193
- var date = new Date(d.getTime());
13194
- date.setHours(0, 0, 0, 0);
13195
- var month = date.getMonth();
13196
- var year = date.getFullYear();
13197
- var days = [];
13198
- date.setDate(1);
13199
- date.setDate(date.getDate() - 1);
13112
+ var MonthPicker = function MonthPicker(props) {
13113
+ var setValue = props.setValue,
13114
+ close = props.close,
13115
+ min = props.min,
13116
+ max = props.max;
13200
13117
 
13201
- while (date.getDay() !== 6 || days.length === 0) {
13202
- var copy = new Date(date.getTime());
13203
- days.unshift(copy);
13204
- date.setDate(date.getDate() - 1);
13205
- }
13118
+ var _useState = React.useState(props.year),
13119
+ year = _useState[0],
13120
+ setYear = _useState[1];
13206
13121
 
13207
- date.setDate(date.getDate() + days.length + 1);
13122
+ React.useEffect(function () {
13123
+ setYear(props.year);
13124
+ }, [props.open, props.year]);
13125
+ return React__default.createElement(Menu, Object.assign({}, props, {
13126
+ before: React__default.createElement(MonthContainer, null, React__default.createElement(NavBtn, {
13127
+ type: 'button',
13128
+ onClick: function onClick() {
13129
+ return setYear(function (prev) {
13130
+ return prev - 1;
13131
+ });
13132
+ },
13133
+ disabled: min !== undefined && min.getFullYear() >= year
13134
+ }, React__default.createElement(Icon, {
13135
+ type: 'feather',
13136
+ icon: 'chevron_left',
13137
+ color: 'darkBlue',
13138
+ strokeWidth: '3px'
13139
+ })), React__default.createElement("div", null, React__default.createElement(MonthBtn, null, year)), React__default.createElement(NavBtn, {
13140
+ type: 'button',
13141
+ onClick: function onClick() {
13142
+ return setYear(function (prev) {
13143
+ return prev + 1;
13144
+ });
13145
+ },
13146
+ disabled: max !== undefined && max.getFullYear() <= year
13147
+ }, React__default.createElement(Icon, {
13148
+ type: 'feather',
13149
+ icon: 'chevron_right',
13150
+ color: 'darkBlue',
13151
+ strokeWidth: '3px'
13152
+ }))),
13153
+ options: months.map(function (label, index) {
13154
+ return {
13155
+ label: label,
13156
+ onClick: function onClick() {
13157
+ setValue(year, index);
13158
+ close();
13159
+ },
13160
+ rules: [{
13161
+ rule: function rule() {
13162
+ var disabled = min !== undefined && (min.getFullYear() > year || min.getFullYear() === year && min.getMonth() > index) || max !== undefined && (max.getFullYear() < year || max.getFullYear() === year && max.getMonth() < index);
13163
+ return !disabled;
13164
+ }
13165
+ }]
13166
+ };
13167
+ })
13168
+ }));
13169
+ };
13170
+
13171
+ var _templateObject$f, _templateObject2$d, _templateObject3$d, _templateObject4$c, _templateObject5$b, _templateObject6$9, _templateObject7$7, _templateObject8$5, _templateObject9$5, _templateObject10$3;
13172
+ var Footer = styled__default.div(_templateObject$f || (_templateObject$f = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n > button:last-child {\n margin-left: auto;\n }\n"])));
13173
+ var WeekContainer = styled__default.div(_templateObject2$d || (_templateObject2$d = _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) {
13174
+ var theme = _ref.theme;
13175
+ return theme.colors.lightestGrey;
13176
+ }, function (_ref2) {
13177
+ var theme = _ref2.theme;
13178
+ return theme.fonts.lato;
13179
+ }, function (_ref3) {
13180
+ var theme = _ref3.theme;
13181
+ return theme.spacings.s3;
13182
+ }, function (_ref4) {
13183
+ var theme = _ref4.theme;
13184
+ return theme.spacings.s3;
13185
+ }, function (_ref5) {
13186
+ var theme = _ref5.theme;
13187
+ return theme.colors.darkBlue;
13188
+ }, function (_ref6) {
13189
+ var theme = _ref6.theme;
13190
+ return theme.colors.lightestGrey;
13191
+ });
13192
+ var Header = styled__default.div(_templateObject3$d || (_templateObject3$d = _taggedTemplateLiteralLoose(["\n width: 100%;\n\n background-color: ", ";\n font-weight: bolder;\n\n > ", " {\n border-top: none;\n > * {\n border-right-color: transparent;\n }\n }\n"])), function (_ref7) {
13193
+ var theme = _ref7.theme;
13194
+ return theme.getColor('lightestGrey', 40);
13195
+ }, WeekContainer);
13196
+ var DayContainer = styled__default.button(_templateObject4$c || (_templateObject4$c = _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) {
13197
+ var theme = _ref8.theme,
13198
+ appearance = _ref8.appearance;
13199
+
13200
+ var hover = function hover(color) {
13201
+ return styled.css(_templateObject5$b || (_templateObject5$b = _taggedTemplateLiteralLoose(["\n :not(:disabled):hover {\n border-color: ", ";\n color: ", ";\n }\n "])), theme.colors[color], theme.colors[color]);
13202
+ };
13203
+
13204
+ if (appearance === 'disabled') {
13205
+ return styled.css(_templateObject6$9 || (_templateObject6$9 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), theme.getColor('greyishBlue', 10));
13206
+ } else if (appearance === 'highlight') {
13207
+ return styled.css(_templateObject7$7 || (_templateObject7$7 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n ", "\n "])), theme.getColor('blue', 30), hover('blue'));
13208
+ } else if (appearance === 'active') {
13209
+ 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) {
13210
+ var theme = _ref9.theme;
13211
+ return theme.colors.blue;
13212
+ }, hover('white'));
13213
+ }
13214
+
13215
+ return styled.css(_templateObject9$5 || (_templateObject9$5 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n ", "\n "])), theme.colors.white, hover('blue'));
13216
+ }, function (_ref10) {
13217
+ var theme = _ref10.theme;
13218
+ return theme.colors.silver;
13219
+ }, function (_ref11) {
13220
+ var appearance = _ref11.appearance,
13221
+ today = _ref11.today,
13222
+ theme = _ref11.theme;
13223
+
13224
+ if (today !== 1) {
13225
+ return;
13226
+ }
13227
+
13228
+ return styled.css(_templateObject10$3 || (_templateObject10$3 = _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']);
13229
+ });
13230
+
13231
+ var getCalendar = function getCalendar(d) {
13232
+ var date = new Date(d.getTime());
13233
+ date.setHours(0, 0, 0, 0);
13234
+ var month = date.getMonth();
13235
+ var year = date.getFullYear();
13236
+ var days = [];
13237
+ date.setDate(1);
13238
+ date.setDate(date.getDate() - 1);
13239
+
13240
+ while (date.getDay() !== 6 || days.length === 0) {
13241
+ var copy = new Date(date.getTime());
13242
+ days.unshift(copy);
13243
+ date.setDate(date.getDate() - 1);
13244
+ }
13245
+
13246
+ date.setDate(date.getDate() + days.length + 1);
13208
13247
 
13209
13248
  while (month === date.getMonth()) {
13210
13249
  var _copy = new Date(date.getTime());
@@ -13239,212 +13278,699 @@ var getCalendar = function getCalendar(d) {
13239
13278
  weeks: weeks
13240
13279
  };
13241
13280
  };
13281
+ var getMiddle = function getMiddle(min, max) {
13282
+ var today = new Date();
13283
+
13284
+ if (!max) {
13285
+ if (!min) return today;
13286
+ return dateCompare(today, min, 'gte', false) ? today : min;
13287
+ }
13288
+
13289
+ if (!min) {
13290
+ if (!max) return today;
13291
+ return dateCompare(today, max, 'lte', false) ? today : max;
13292
+ }
13293
+
13294
+ if (dateCompare(today, min, 'gte', false) && dateCompare(today, max, 'lte', false)) {
13295
+ return today;
13296
+ }
13297
+
13298
+ var days = Math.ceil(Math.abs(max.getTime() - min.getTime()) / (1000 * 60 * 60 * 24) / 2);
13299
+ var result = new Date(min);
13300
+ result.setDate(result.getDate() + days);
13301
+ return result;
13302
+ };
13303
+ var getFullDate = function getFullDate(date, time, end) {
13304
+ var v = new Date(date);
13305
+ var hours = end ? [23, 59, 59, 999] : [0, 0, 0, 0];
13306
+ time.split(':').forEach(function (v, i) {
13307
+ var parsed = parseInt(v);
13308
+ if (isNaN(parsed)) return;
13309
+ hours[i] = parsed;
13310
+ });
13311
+ v.setHours.apply(v, hours);
13312
+ return v;
13313
+ };
13314
+ var isDateBetween = function isDateBetween(date, min, max, time) {
13315
+ if (time === void 0) {
13316
+ time = false;
13317
+ }
13318
+
13319
+ if (!max) {
13320
+ if (!min) return true;
13321
+ return dateCompare(date, min, 'gte', time);
13322
+ }
13323
+
13324
+ if (!min) {
13325
+ if (!max) return true;
13326
+ return dateCompare(date, max, 'lte', time);
13327
+ }
13328
+
13329
+ return dateCompare(date, min, 'gte', time) && dateCompare(date, max, 'lte', time);
13330
+ };
13331
+ var getTimeFromDate = function getTimeFromDate(date) {
13332
+ if (!date) return '';
13333
+ var h = date.getHours();
13334
+ var m = date.getMinutes();
13335
+ var s = date.getSeconds();
13336
+ return [h, m, s].map(function (v) {
13337
+ return v.toString().padStart(2, '0');
13338
+ }).join(':');
13339
+ };
13340
+ var isInvalid = function isInvalid(value, time, timeOptions, min, max) {
13341
+ if (!value) {
13342
+ return true;
13343
+ }
13344
+
13345
+ if (timeOptions) {
13346
+ if (time.length === 0) {
13347
+ if (timeOptions.required) {
13348
+ return true;
13349
+ }
13350
+ } else if (!isValidTime(time, {
13351
+ h: 'required',
13352
+ m: 'required',
13353
+ s: timeOptions.seconds ? 'required' : 'optional'
13354
+ })) {
13355
+ return true;
13356
+ }
13357
+ }
13358
+
13359
+ var date = getFullDate(value, time);
13360
+ return min !== undefined && dateCompare(date, min, 'lt') || max !== undefined && dateCompare(date, max, 'gt');
13361
+ };
13362
+ var getInitialCalendar = function getInitialCalendar(date, min, max) {
13363
+ return getCalendar(date && !isNaN(date.getTime()) && isDateBetween(date, min, max) ? date : getMiddle(min, max));
13364
+ };
13365
+
13366
+ var Main = React__default.forwardRef(function (props, ref) {
13367
+ var getDay = props.getDay,
13368
+ initialMonth = props.initialMonth;
13369
+
13370
+ var _useState = React.useState(false),
13371
+ selectOpen = _useState[0],
13372
+ setSelectOpen = _useState[1];
13373
+
13374
+ var min = props.min ? function () {
13375
+ var date = new Date(props.min);
13376
+ date.setHours(0, 0, 0, 0);
13377
+ return date;
13378
+ }() : undefined;
13379
+ var max = props.max ? function () {
13380
+ var date = new Date(props.max);
13381
+ date.setHours(0, 0, 0, 0);
13382
+ return date;
13383
+ }() : undefined;
13384
+
13385
+ var _ref = props.calendar || React.useState(getInitialCalendar(initialMonth, min, max)),
13386
+ calendar = _ref[0],
13387
+ setCalendar = _ref[1];
13388
+
13389
+ var changeMonth = function changeMonth(add) {
13390
+ setCalendar(function (prev) {
13391
+ var date = new Date();
13392
+ date.setDate(1);
13393
+ date.setFullYear(prev.year);
13394
+ date.setMonth(prev.month + add);
13395
+ return getCalendar(date);
13396
+ });
13397
+ };
13398
+
13399
+ var getPrev = function getPrev() {
13400
+ var _ref2 = min !== undefined && (calendar.year < min.getFullYear() || calendar.year === min.getFullYear() && calendar.month <= min.getMonth()) ? [true] : [undefined, function () {
13401
+ return changeMonth(-1);
13402
+ }],
13403
+ disabled = _ref2[0],
13404
+ onClick = _ref2[1];
13405
+
13406
+ return React__default.createElement(NavBtn, {
13407
+ type: 'button',
13408
+ onClick: onClick,
13409
+ disabled: disabled
13410
+ }, React__default.createElement(Icon, {
13411
+ type: 'feather',
13412
+ icon: 'chevron_left',
13413
+ color: 'darkBlue',
13414
+ strokeWidth: '3px'
13415
+ }));
13416
+ };
13417
+
13418
+ var getNext = function getNext() {
13419
+ var _ref3 = max !== undefined && (calendar.year > max.getFullYear() || calendar.year === max.getFullYear() && calendar.month >= max.getMonth()) ? [true] : [undefined, function () {
13420
+ return changeMonth(1);
13421
+ }],
13422
+ disabled = _ref3[0],
13423
+ onClick = _ref3[1];
13424
+
13425
+ return React__default.createElement(NavBtn, {
13426
+ type: 'button',
13427
+ onClick: onClick,
13428
+ disabled: disabled
13429
+ }, React__default.createElement(Icon, {
13430
+ type: 'feather',
13431
+ icon: 'chevron_right',
13432
+ color: 'darkBlue',
13433
+ strokeWidth: '3px'
13434
+ }));
13435
+ };
13436
+
13437
+ return React__default.createElement(Container$7, {
13438
+ ref: ref
13439
+ }, 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", {
13440
+ ref: useOnClickOut(function () {
13441
+ return setSelectOpen(false);
13442
+ })
13443
+ }, React__default.createElement(MonthBtn, {
13444
+ onClick: function onClick() {
13445
+ return setSelectOpen(function (prev) {
13446
+ return !prev;
13447
+ });
13448
+ }
13449
+ }, months[calendar.month], " ", calendar.year, React__default.createElement(Icon, {
13450
+ type: 'semantic',
13451
+ icon: selectOpen ? 'caret up' : 'caret down',
13452
+ width: '14px'
13453
+ })), React__default.createElement(MonthPicker, {
13454
+ open: selectOpen,
13455
+ close: function close() {
13456
+ return setSelectOpen(false);
13457
+ },
13458
+ year: calendar.year,
13459
+ setValue: function setValue(year, month) {
13460
+ var date = new Date();
13461
+ date.setDate(1);
13462
+ date.setFullYear(year);
13463
+ date.setMonth(month);
13464
+ setCalendar(getCalendar(date));
13465
+ },
13466
+ min: min,
13467
+ max: max,
13468
+ width: '100%',
13469
+ maxHeight: '180px',
13470
+ transition: {
13471
+ properties: {
13472
+ 'max-height': {}
13473
+ }
13474
+ },
13475
+ itemSpacing: 's3',
13476
+ bordered: true
13477
+ })), getNext()), React__default.createElement(WeekContainer, null, React__default.createElement("div", null, "D"), React__default.createElement("div", null, "S"), React__default.createElement("div", null, "T"), React__default.createElement("div", null, "Q"), React__default.createElement("div", null, "Q"), React__default.createElement("div", null, "S"), React__default.createElement("div", null, "S"))), calendar.weeks.map(function (week, index) {
13478
+ return React__default.createElement(WeekContainer, {
13479
+ key: index
13480
+ }, week.map(function (date, index) {
13481
+ var details = getDay(date);
13482
+ var day = date.getDate();
13483
+ var month = date.getMonth();
13484
+ var appearance = month !== calendar.month || max && date > max || min && date < min ? 'disabled' : details.appearance;
13485
+
13486
+ var _ref4 = appearance === 'disabled' ? [true, undefined] : [undefined, details.onClick, details.onMouseOver, details.onMouseOut],
13487
+ disabled = _ref4[0],
13488
+ onClick = _ref4[1],
13489
+ onMouseOver = _ref4[2],
13490
+ onMouseOut = _ref4[3];
13491
+
13492
+ return React__default.createElement(DayContainer, {
13493
+ key: index,
13494
+ type: 'button',
13495
+ onClick: onClick,
13496
+ onMouseOver: onMouseOver,
13497
+ onMouseOut: onMouseOut,
13498
+ disabled: disabled,
13499
+ appearance: appearance,
13500
+ today: dateCompare(new Date(), date, 'eq', false) ? 1 : 0
13501
+ }, day);
13502
+ }));
13503
+ })), props.children && React__default.createElement(Footer, null, props.children));
13504
+ });
13505
+ Main.displayName = 'Main';
13506
+
13507
+ var BasicCalendar = React__default.forwardRef(function (props, ref) {
13508
+ var containerProps = filterObject(props, ['initialMonth', 'max', 'min', 'getDay', 'calendar', 'absolute']);
13509
+ return 'absolute' in props ? React__default.createElement(AbsoluteContainer$1, Object.assign({
13510
+ axis: 'y',
13511
+ maxHeight: maxHeight
13512
+ }, containerProps, {
13513
+ ref: ref
13514
+ }), React__default.createElement(Main, Object.assign({}, props))) : React__default.createElement(Main, Object.assign({}, props));
13515
+ });
13516
+ BasicCalendar.displayName = 'BasicCalendar';
13517
+
13518
+ var _mask = function mask(v, seconds) {
13519
+ v = v.replace(/[^0-9\s]/g, '');
13520
+
13521
+ while (v.length > 0 && parseInt(v[0]) > 2) {
13522
+ v = v.substring(1);
13523
+ }
13524
+
13525
+ if (v.length > 1) {
13526
+ if (v[0] === '2') {
13527
+ while (v.length > 1 && parseInt(v[1]) > 3) {
13528
+ v = v[0] + v.substring(2);
13529
+ }
13530
+ }
13531
+ }
13532
+
13533
+ if (v.length > 2) {
13534
+ while (v.length > 2 && parseInt(v[2]) > 5) {
13535
+ v = v.substring(0, 2) + v.substring(3);
13536
+ }
13537
+ }
13538
+
13539
+ if (v.length > 4) {
13540
+ while (v.length > 4 && parseInt(v[4]) > 5) {
13541
+ v = v.substring(0, 4) + v.substring(5);
13542
+ }
13543
+ }
13544
+
13545
+ v = v.substring(0, seconds ? 6 : 4);
13546
+ if (v.length < 3) return v;else if (v.length < 5) return v.substring(0, 2) + ':' + v.substring(2);else return v.substring(0, 2) + ':' + v.substring(2, 4) + ':' + v.substring(4);
13547
+ };
13548
+
13549
+ var Time = React__default.forwardRef(function (props, ref) {
13550
+ var value = props.value,
13551
+ seconds = props.seconds;
13552
+
13553
+ var _onKeyDown = props.onKeyDown || function () {};
13554
+
13555
+ var setValue = props.setValue || function () {};
13556
+
13557
+ var onKeyDown = function onKeyDown(event) {
13558
+ var target = event.target;
13559
+ var todayDate = new Date();
13560
+ var curH = todayDate.getHours();
13561
+ var curM = todayDate.getMinutes();
13562
+ var curS = todayDate.getSeconds();
13563
+ var value = target.value.replace(/[^0-9\s]/g, '');
13564
+ var tmp = value.substring(0, 2);
13565
+ var h = tmp.length === 0 ? curH : parseInt(tmp.padEnd(2, '0'));
13566
+ tmp = value.substring(2, 4);
13567
+ var m = tmp.length === 0 ? curM : parseInt(tmp.padEnd(2, '0'));
13568
+ tmp = value.substring(4, 6);
13569
+ var s = tmp.length === 0 ? curS : parseInt(tmp.padEnd(2, '0'));
13570
+
13571
+ if (event.key === 'ArrowUp') {
13572
+ var date = new Date();
13573
+ date.setHours(h);
13574
+ date.setMinutes(m);
13575
+ date.setSeconds(s);
13576
+
13577
+ if (seconds) {
13578
+ date.setSeconds(s + 1);
13579
+ h = date.getHours();
13580
+ m = date.getMinutes();
13581
+ s = date.getSeconds();
13582
+ setValue([h.toString().padStart(2, '0'), m.toString().padStart(2, '0'), s.toString().padStart(2, '0')].join(':'));
13583
+ } else {
13584
+ date.setMinutes(m + 1);
13585
+ h = date.getHours();
13586
+ m = date.getMinutes();
13587
+ s = date.getSeconds();
13588
+ setValue([h.toString().padStart(2, '0'), m.toString().padStart(2, '0')].join(':'));
13589
+ }
13590
+ } else if (event.key === 'ArrowDown') {
13591
+ var _date = new Date();
13592
+
13593
+ _date.setHours(h);
13594
+
13595
+ _date.setMinutes(m);
13596
+
13597
+ _date.setSeconds(s);
13598
+
13599
+ if (seconds) {
13600
+ _date.setSeconds(s - 1);
13601
+
13602
+ h = _date.getHours();
13603
+ m = _date.getMinutes();
13604
+ s = _date.getSeconds();
13605
+ setValue([h.toString().padStart(2, '0'), m.toString().padStart(2, '0'), s.toString().padStart(2, '0')].join(':'));
13606
+ } else {
13607
+ _date.setMinutes(m - 1);
13608
+
13609
+ h = _date.getHours();
13610
+ m = _date.getMinutes();
13611
+ s = _date.getSeconds();
13612
+ setValue([h.toString().padStart(2, '0'), m.toString().padStart(2, '0')].join(':'));
13613
+ }
13614
+ }
13615
+
13616
+ _onKeyDown(event);
13617
+ };
13618
+
13619
+ var placeholder = props.placeholder === undefined ? seconds ? '––:––:––' : '––:––' : props.placeholder;
13620
+ return React__default.createElement(Input$1, Object.assign({}, props, {
13621
+ type: 'text',
13622
+ value: _mask(value, seconds),
13623
+ placeholder: placeholder,
13624
+ mask: function mask(v) {
13625
+ return _mask(v, seconds);
13626
+ },
13627
+ onKeyDown: onKeyDown,
13628
+ ref: ref
13629
+ }));
13630
+ });
13631
+ Time.displayName = 'Time';
13632
+
13633
+ var getValue = function getValue(dates, min, max) {
13634
+ var n = [].concat(dates.filter(function (d) {
13635
+ return d && !isNaN(d.getTime()) && isDateBetween(d, min, max);
13636
+ }).sort(function (a, b) {
13637
+ if (dateCompare(a, b, 'eq')) return 0;
13638
+ return dateCompare(a, b, 'lt') ? -1 : 1;
13639
+ }), [null, null]);
13640
+ return n.slice(0, 2);
13641
+ };
13642
+ var getCalendar2 = function getCalendar2(calendar1) {
13643
+ var date = new Date();
13644
+ date.setFullYear(calendar1.year);
13645
+ date.setMonth(calendar1.month + 1);
13646
+ date.setDate(1);
13647
+ date.setHours(0, 0, 0, 0);
13648
+ return getCalendar(date);
13649
+ };
13650
+
13651
+ var _templateObject$g;
13652
+ var SubmitButton = styled__default(Button$1)(_templateObject$g || (_templateObject$g = _taggedTemplateLiteralLoose(["\n width: 105px;\n"])));
13653
+
13654
+ var _templateObject$h, _templateObject2$e;
13655
+ var CalendarsContainer = styled__default.div(_templateObject$h || (_templateObject$h = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: ", ";\n background-color: ", ";\n"])), function (_ref) {
13656
+ var theme = _ref.theme;
13657
+ return theme.spacings.s3;
13658
+ }, function (_ref2) {
13659
+ var theme = _ref2.theme;
13660
+ return theme.colors.white;
13661
+ });
13662
+ var LabelContainer$1 = styled__default.div(_templateObject2$e || (_templateObject2$e = _taggedTemplateLiteralLoose(["\n color: ", ";\n > b {\n color: ", ";\n }\n"])), function (_ref3) {
13663
+ var theme = _ref3.theme;
13664
+ return theme.colors.darkestGrey;
13665
+ }, function (_ref4) {
13666
+ var theme = _ref4.theme;
13667
+ return theme.colors.darkBlue;
13668
+ });
13242
13669
 
13243
- var Calendar = function Calendar(props) {
13244
- var overlay = props.overlay,
13245
- timeProps = props.time,
13246
- notAbsolute = props.notAbsolute,
13247
- initalValue = props.initalValue;
13670
+ var Main$1 = React__default.forwardRef(function (props, ref) {
13671
+ var initialMonth = props.initialMonth,
13672
+ initialValue = props.initialValue,
13673
+ min = props.min,
13674
+ max = props.max;
13248
13675
 
13249
- var _ref = props.value || React.useState(initalValue && !isNaN(initalValue.getTime()) ? initalValue : null),
13676
+ var _ref = props.value || React.useState(getValue(initialValue || [], min, max)),
13250
13677
  value = _ref[0],
13251
- _setValue = _ref[1];
13252
-
13253
- var withoutTime = {};
13254
- var max;
13255
-
13256
- if (props.max) {
13257
- max = new Date(props.max.getTime());
13258
- withoutTime.max = new Date(props.max.getTime());
13259
- withoutTime.max.setHours(0, 0, 0, 0);
13260
- }
13678
+ setValue = _ref[1];
13261
13679
 
13262
- var min;
13263
-
13264
- if (props.min) {
13265
- min = new Date(props.min.getTime());
13266
- withoutTime.min = new Date(props.min.getTime());
13267
- withoutTime.min.setHours(0, 0, 0, 0);
13268
- }
13269
-
13270
- var _ref2 = props.invalid || React.useState(false),
13680
+ var _ref2 = props.invalid || React.useState([false, false]),
13271
13681
  invalid = _ref2[0],
13272
13682
  setInvalid = _ref2[1];
13273
13683
 
13274
- var _useState = React.useState(getCalendar(value || max || min || new Date())),
13275
- calendar = _useState[0],
13276
- setCalendar = _useState[1];
13277
-
13278
- var _useState2 = React.useState(function () {
13279
- if (!value) return '';
13280
- var h = value.getHours();
13281
- var m = value.getMinutes();
13282
- var s = value.getSeconds();
13283
- return [h, m, s].map(function (v) {
13284
- return v.toString().padStart(2, '0');
13285
- }).join(':');
13684
+ var _useState = React.useState(function () {
13685
+ return value.map(getTimeFromDate);
13286
13686
  }),
13287
- time = _useState2[0],
13288
- setTime = _useState2[1];
13687
+ time = _useState[0],
13688
+ setTime = _useState[1];
13689
+
13690
+ var _useState2 = React.useState(getInitialCalendar(value[0] || initialMonth, min, max)),
13691
+ calendar1 = _useState2[0],
13692
+ setCalendar1 = _useState2[1];
13693
+
13694
+ var _useState3 = React.useState(getCalendar2(calendar1)),
13695
+ calendar2 = _useState3[0],
13696
+ setCalendar2 = _useState3[1];
13697
+
13698
+ var _useState4 = React.useState(null),
13699
+ hoverDay = _useState4[0],
13700
+ setHoverDay = _useState4[1];
13289
13701
 
13290
13702
  React.useEffect(function () {
13291
- if (!value) return;
13292
- setValue(value);
13293
- }, [time]);
13294
- var updateInvalid = React.useCallback(function (value) {
13295
- if (timeProps) {
13296
- if (timeProps.seconds) {
13297
- setInvalid(value === null || timeProps && timeProps.seconds && time.length < 8 || max !== undefined && value > max || min !== undefined && value < min);
13298
- } else {
13299
- setInvalid(value === null || time.length < 5 || max !== undefined && value > max || min !== undefined && value < min);
13703
+ var timeProps = props.time === true ? [{}, {}] : props.time;
13704
+ setHoverDay(null);
13705
+
13706
+ if (value[0]) {
13707
+ var c1 = getCalendar(value[0]);
13708
+ setCalendar1(c1);
13709
+
13710
+ if (value[1]) {
13711
+ var c2 = getCalendar(value[1]);
13712
+
13713
+ if (c2.year > c1.year || c2.year === c1.year && c2.month > c1.month) {
13714
+ setCalendar2(c2);
13715
+ }
13300
13716
  }
13301
- } else {
13302
- setInvalid(value === null || max !== undefined && value > max || min !== undefined && value < min);
13303
13717
  }
13304
- }, [time, value, max, min]);
13305
- React.useEffect(function () {
13306
- updateInvalid(value);
13307
- }, [updateInvalid, value]);
13308
- var setValue = timeProps ? function (date) {
13309
- if (date === null) {
13310
- _setValue(date);
13311
13718
 
13312
- return;
13719
+ setInvalid(value.map(function (v, i) {
13720
+ return isInvalid(v, time[i], timeProps ? timeProps[i] : undefined, min, max);
13721
+ }));
13722
+ }, [value, time, props.time]);
13723
+ var onSubmit = {
13724
+ disabled: invalid.some(function (v) {
13725
+ return v;
13726
+ }),
13727
+ onClick: function onClick() {}
13728
+ };
13729
+
13730
+ if (props.onSubmit) {
13731
+ var _props$onSubmit = props.onSubmit,
13732
+ disabled = _props$onSubmit.disabled,
13733
+ onClick = _props$onSubmit.onClick;
13734
+
13735
+ if (disabled) {
13736
+ onSubmit.disabled = true;
13313
13737
  }
13314
13738
 
13315
- var splitted = time.split(':').map(function (v) {
13316
- return parseInt(v.padEnd(2, '0'));
13317
- });
13318
- var copy = new Date(date.getTime());
13319
- copy.setHours(splitted[0] || 0, splitted[1] || 0, splitted[2] || 0, splitted[3] || 0);
13739
+ if (!onSubmit.disabled) {
13740
+ onSubmit.onClick = function () {
13741
+ onClick([value[0] ? getFullDate(value[0], time[0]) : null, value[1] ? getFullDate(value[1], time[1], true) : null]);
13742
+ };
13743
+ }
13744
+ }
13320
13745
 
13321
- _setValue(copy);
13746
+ var getDay = function getDay(day) {
13747
+ var onClick = function onClick() {
13748
+ var newValue = [].concat(value);
13749
+
13750
+ if (!newValue[0]) {
13751
+ newValue[0] = new Date(day);
13752
+ } else if (newValue[1]) {
13753
+ newValue[0] = new Date(day);
13754
+ newValue[1] = null;
13755
+ } else if (dateCompare(day, newValue[0], 'lt')) {
13756
+ newValue[1] = newValue[0];
13757
+ newValue[0] = new Date(day);
13758
+ } else {
13759
+ newValue[1] = new Date(day);
13760
+ }
13322
13761
 
13323
- updateInvalid(copy);
13324
- } : _setValue;
13762
+ setValue(newValue);
13763
+ };
13325
13764
 
13326
- var changeMonth = function changeMonth(add) {
13327
- setCalendar(function (prev) {
13328
- var date = new Date();
13329
- date.setDate(1);
13330
- date.setFullYear(prev.year);
13331
- date.setMonth(prev.month + add);
13332
- return getCalendar(date);
13333
- });
13334
- };
13765
+ var _ref3 = value[0] && !value[1] ? [function () {
13766
+ return setHoverDay(day);
13767
+ }, function () {
13768
+ return setHoverDay(null);
13769
+ }] : [],
13770
+ onMouseOver = _ref3[0],
13771
+ onMouseOut = _ref3[1];
13335
13772
 
13336
- var getPrev = function getPrev() {
13337
- var disabled = min !== undefined && (calendar.year < min.getFullYear() || calendar.year === min.getFullYear() && calendar.month <= min.getMonth());
13338
- return React__default.createElement(NavBtn, {
13339
- type: 'button',
13340
- onClick: function onClick() {
13341
- return changeMonth(-1);
13342
- },
13343
- disabled: disabled
13344
- }, React__default.createElement(Icon, {
13345
- type: 'feather',
13346
- icon: 'chevron_left',
13347
- color: 'darkBlue',
13348
- strokeWidth: '3px'
13349
- }));
13773
+ var appearance = function () {
13774
+ if (value.some(function (v) {
13775
+ return v && dateCompare(v, day, 'eq', false);
13776
+ })) {
13777
+ return 'active';
13778
+ }
13779
+
13780
+ if (value[0] && value[1] && isDateBetween(day, value[0], value[1]) || value[0] && hoverDay && (isDateBetween(day, value[0], hoverDay) || isDateBetween(day, hoverDay, value[0]))) {
13781
+ return 'highlight';
13782
+ }
13783
+
13784
+ return undefined;
13785
+ }();
13786
+
13787
+ return {
13788
+ appearance: appearance,
13789
+ onClick: onClick,
13790
+ onMouseOver: onMouseOver,
13791
+ onMouseOut: onMouseOut
13792
+ };
13350
13793
  };
13351
13794
 
13352
- var getNext = function getNext() {
13353
- var disabled = max !== undefined && (calendar.year > max.getFullYear() || calendar.year === max.getFullYear() && calendar.month >= max.getMonth());
13354
- return React__default.createElement(NavBtn, {
13355
- type: 'button',
13356
- onClick: function onClick() {
13357
- return changeMonth(1);
13795
+ var calendarProps = filterObject(props, ['initialValue', 'value', 'time', 'onSubmit', 'invalid', 'initialMonth', 'max', 'min']);
13796
+ var middle = new Date();
13797
+ middle.setFullYear(calendar1.year);
13798
+ middle.setMonth(calendar1.month + 1);
13799
+ middle.setDate(1);
13800
+ middle.setHours(0, 0, 0, 0);
13801
+ var inputs = props.time ? (props.time === true ? [{}, {}] : props.time).map(function (timeProps, index) {
13802
+ var width = timeProps.seconds ? 'withSeconds' : 'withoutSeconds';
13803
+ return React__default.createElement(Time, Object.assign({
13804
+ key: index
13805
+ }, timeProps, {
13806
+ type: 'time',
13807
+ value: time[index],
13808
+ setValue: function setValue(v) {
13809
+ return setTime(function (prev) {
13810
+ var n = [].concat(prev);
13811
+ n[index] = v;
13812
+ return n;
13813
+ });
13358
13814
  },
13359
- disabled: disabled
13360
- }, React__default.createElement(Icon, {
13361
- type: 'feather',
13362
- icon: 'chevron_right',
13363
- color: 'darkBlue',
13364
- strokeWidth: '3px'
13815
+ invalid: time[index] !== '' && value[index] !== null && invalid[index],
13816
+ width: inputTimeWidth[width]
13365
13817
  }));
13366
- };
13818
+ }) : [];
13819
+ return React__default.createElement(CalendarsContainer, null, React__default.createElement(BasicCalendar, Object.assign({}, calendarProps, {
13820
+ getDay: getDay
13821
+ }, {
13822
+ ref: ref,
13823
+ label: React__default.createElement(LabelContainer$1, null, React__default.createElement("b", null, "Inicio:"), ' ', value[0] ? dateToIsoString(value[0]) : '––/––/––––'),
13824
+ calendar: [calendar1, function (v) {
13825
+ setCalendar1(function (prev) {
13826
+ var c1 = typeof v === 'function' ? v(prev) : v;
13827
+ setCalendar2(getCalendar2(c1));
13828
+ return c1;
13829
+ });
13830
+ }],
13831
+ min: min,
13832
+ max: max
13833
+ }), inputs[0]), React__default.createElement(BasicCalendar, Object.assign({}, calendarProps, {
13834
+ getDay: getDay
13835
+ }, {
13836
+ ref: ref,
13837
+ label: React__default.createElement(LabelContainer$1, null, React__default.createElement("b", null, "Fim:"), " ", value[1] ? dateToIsoString(value[1]) : '––/––/––––'),
13838
+ calendar: [calendar2, setCalendar2],
13839
+ min: min && dateCompare(min, middle, 'gt') ? min : middle,
13840
+ max: max
13841
+ }), inputs[1], props.onSubmit && React__default.createElement(SubmitButton, Object.assign({}, onSubmit, {
13842
+ type: 'button',
13843
+ content: 'Aplicar'
13844
+ }))));
13845
+ });
13846
+ Main$1.displayName = 'Main';
13367
13847
 
13368
- var hasHighlight = function hasHighlight() {
13369
- return false;
13370
- };
13848
+ var CalendarInterval = React__default.forwardRef(function (props, ref) {
13849
+ var containerProps = filterObject(props, ['initialMonth', 'max', 'min', 'initialValue', 'value', 'time', 'onSubmit', 'invalid', 'absolute']);
13850
+ var mainProps = filterObject(props, ['absolute']);
13851
+ return props.absolute ? React__default.createElement(AbsoluteContainer, Object.assign({
13852
+ axis: 'y',
13853
+ maxHeight: maxHeight
13854
+ }, containerProps, {
13855
+ ref: ref
13856
+ }), React__default.createElement(Main$1, Object.assign({}, mainProps))) : React__default.createElement(Main$1, Object.assign({}, mainProps));
13857
+ });
13858
+ CalendarInterval.displayName = 'CalendarInterval';
13371
13859
 
13372
- if (value && overlay && overlay.value !== null) {
13373
- var d = new Date(overlay.value.getTime());
13374
- d.setHours(0, 0, 0, 0);
13375
- var withoutTimeValue = new Date(value.getTime());
13376
- withoutTimeValue.setHours(0, 0, 0, 0);
13377
- hasHighlight = overlay.type === 'after' ? function (date) {
13378
- return date > withoutTimeValue && date <= d;
13379
- } : function (date) {
13380
- return date < withoutTimeValue && date >= d;
13381
- };
13382
- }
13860
+ var SingleCalendar = React__default.forwardRef(function (props, ref) {
13861
+ var initialValue = props.initialValue,
13862
+ min = props.min,
13863
+ max = props.max;
13864
+ var timeProps = props.time === true ? {} : props.time;
13865
+
13866
+ var _ref = props.value || React.useState(initialValue && !isNaN(initialValue.getTime()) && isDateBetween(initialValue, min, max) ? initialValue : null),
13867
+ value = _ref[0],
13868
+ setValue = _ref[1];
13869
+
13870
+ var _ref2 = props.invalid || React.useState(false),
13871
+ invalid = _ref2[0],
13872
+ setInvalid = _ref2[1];
13383
13873
 
13384
- var _onSubmit = props.onSubmit || {};
13874
+ var _useState = React.useState(getTimeFromDate(value)),
13875
+ time = _useState[0],
13876
+ setTime = _useState[1];
13385
13877
 
13386
- var onSubmit = _extends({
13878
+ React.useEffect(function () {
13879
+ setInvalid(isInvalid(value, time, timeProps, min, max));
13880
+ }, [value, time, timeProps]);
13881
+ var onSubmit = {
13387
13882
  disabled: invalid,
13388
13883
  onClick: function onClick() {}
13389
- }, _onSubmit);
13884
+ };
13390
13885
 
13391
- var content = React__default.createElement(Container$7, null, React__default.createElement("div", null, React__default.createElement(Header, null, React__default.createElement(MonthContainer, null, getPrev(), React__default.createElement("div", null, months[calendar.month], " ", calendar.year), getNext()), React__default.createElement(WeekContainer, null, React__default.createElement("div", null, "D"), React__default.createElement("div", null, "S"), React__default.createElement("div", null, "T"), React__default.createElement("div", null, "Q"), React__default.createElement("div", null, "Q"), React__default.createElement("div", null, "S"), React__default.createElement("div", null, "S"))), calendar.weeks.map(function (week, index) {
13392
- return React__default.createElement(WeekContainer, {
13393
- key: index
13394
- }, week.map(function (date, index) {
13395
- var day = date.getDate();
13396
- var month = date.getMonth();
13397
- var disabled;
13398
- var color;
13399
- if (month !== calendar.month) disabled = true;
13886
+ if (props.onSubmit) {
13887
+ var _props$onSubmit = props.onSubmit,
13888
+ disabled = _props$onSubmit.disabled,
13889
+ onClick = _props$onSubmit.onClick;
13400
13890
 
13401
- if (withoutTime.max && date > withoutTime.max || withoutTime.min && date < withoutTime.min) {
13402
- disabled = true;
13403
- color = 'grey';
13404
- } else if (hasHighlight(date)) {
13405
- color = 'blue';
13406
- }
13891
+ if (disabled) {
13892
+ onSubmit.disabled = true;
13893
+ }
13407
13894
 
13408
- var active = value && date.toLocaleDateString() === value.toLocaleDateString() ? 1 : 0;
13409
- var onClick = active === 0 ? function () {
13410
- return setValue(date);
13411
- } : function () {
13412
- return setValue(null);
13413
- };
13414
- return React__default.createElement(DayContainer, {
13415
- key: index,
13416
- type: 'button',
13417
- onClick: disabled ? undefined : onClick,
13418
- disabled: disabled,
13419
- active: active,
13420
- color: color
13421
- }, day);
13422
- }));
13423
- })), timeProps !== undefined || props.onSubmit !== undefined ? React__default.createElement(Footer, null, timeProps ? React__default.createElement(Time, Object.assign({}, timeProps, {
13895
+ onSubmit.onClick = function () {
13896
+ onClick(value ? getFullDate(value, time) : null);
13897
+ };
13898
+ }
13899
+
13900
+ var getDay = function getDay(day) {
13901
+ var active = value && dateCompare(value, day, 'eq', false);
13902
+ var onClick = active ? function () {
13903
+ return setValue(null);
13904
+ } : function () {
13905
+ return setValue(new Date(day));
13906
+ };
13907
+ return {
13908
+ appearance: active ? 'active' : undefined,
13909
+ onClick: onClick
13910
+ };
13911
+ };
13912
+
13913
+ var calendarProps = filterObject(props, ['value', 'time', 'onSubmit', 'invalid']);
13914
+ return React__default.createElement(BasicCalendar, Object.assign({}, calendarProps, {
13915
+ getDay: getDay
13916
+ }, {
13917
+ ref: ref,
13918
+ initialMonth: props.initialValue || props.initialMonth
13919
+ }), timeProps && React__default.createElement(Time, Object.assign({}, timeProps, {
13424
13920
  type: 'time',
13425
13921
  value: time,
13426
13922
  setValue: setTime,
13427
- invalid: time.length !== 0 && (value !== null && invalid || time.length < 5),
13428
- width: timeProps.seconds ? '86px' : '66px'
13429
- })) : React__default.createElement("div", null), props.onSubmit && React__default.createElement(Button$1, {
13430
- onClick: function onClick() {
13431
- return onSubmit.onClick(value);
13432
- },
13433
- disabled: onSubmit.disabled,
13923
+ invalid: time !== '' && value !== null && invalid,
13924
+ width: inputTimeWidth[timeProps.seconds ? 'withSeconds' : 'withoutSeconds']
13925
+ })), props.onSubmit && React__default.createElement(SubmitButton, Object.assign({}, onSubmit, {
13434
13926
  type: 'button',
13435
13927
  content: 'Aplicar'
13436
- })) : undefined);
13437
- var absoluteContainerProps = filterObject(props, ['value', 'initalValue', 'max', 'min', 'overlay', 'time', 'onSubmit', 'invalid', 'notAbsolute', 'references']);
13438
- return notAbsolute ? content : React__default.createElement(AbsoluteContainer$1, Object.assign({
13928
+ })));
13929
+ });
13930
+ SingleCalendar.displayName = 'SingleCalendar';
13931
+
13932
+ var CalendarSingle = React__default.forwardRef(function (props, ref) {
13933
+ var containerProps = filterObject(props, ['initialMonth', 'max', 'min', 'initialValue', 'value', 'time', 'onSubmit', 'invalid', 'absolute']);
13934
+ var mainProps = filterObject(props, ['absolute']);
13935
+ return props.absolute ? React__default.createElement(AbsoluteContainer, Object.assign({
13439
13936
  axis: 'y',
13440
- maxHeight: '322px'
13441
- }, absoluteContainerProps), content);
13442
- };
13937
+ maxHeight: maxHeight
13938
+ }, containerProps, {
13939
+ ref: ref
13940
+ }), React__default.createElement(SingleCalendar, Object.assign({}, mainProps))) : React__default.createElement(SingleCalendar, Object.assign({}, mainProps));
13941
+ });
13942
+ CalendarSingle.displayName = 'CalendarSingle';
13943
+
13944
+ var Calendar = React__default.forwardRef(function (props, ref) {
13945
+ switch (props.type) {
13946
+ case 'basic':
13947
+ {
13948
+ return React__default.createElement(BasicCalendar, Object.assign({}, props, {
13949
+ ref: ref
13950
+ }));
13951
+ }
13952
+
13953
+ case 'interval':
13954
+ {
13955
+ return React__default.createElement(CalendarInterval, Object.assign({}, props, {
13956
+ ref: ref
13957
+ }));
13958
+ }
13959
+
13960
+ case 'single':
13961
+ {
13962
+ return React__default.createElement(CalendarSingle, Object.assign({}, props, {
13963
+ ref: ref
13964
+ }));
13965
+ }
13966
+ }
13967
+ });
13968
+ Calendar.displayName = 'Input';
13443
13969
 
13444
13970
  var JSDate = Date;
13445
13971
 
13446
- var _templateObject$f;
13447
- var RelativeContainer$1 = styled__default.div(_templateObject$f || (_templateObject$f = _taggedTemplateLiteralLoose(["\n position: relative;\n"])));
13972
+ var _templateObject$i;
13973
+ var RelativeContainer$1 = styled__default.div(_templateObject$i || (_templateObject$i = _taggedTemplateLiteralLoose(["\n position: relative;\n"])));
13448
13974
 
13449
13975
  var isLeapYear = function isLeapYear(year) {
13450
13976
  if (year % 4 !== 0) return false;else if (year % 100 !== 0) return true;else if (year % 400 !== 0) return false;else return true;
@@ -13574,8 +14100,10 @@ var Date$1 = React__default.forwardRef(function (props, ref) {
13574
14100
  icon: icon,
13575
14101
  ref: ref
13576
14102
  })), React__default.createElement(Calendar, {
14103
+ type: 'single',
14104
+ absolute: true,
13577
14105
  open: open,
13578
- initalValue: value ? isoStringToDate(value) : undefined,
14106
+ initialValue: value ? isoStringToDate(value) : undefined,
13579
14107
  onSubmit: {
13580
14108
  onClick: function onClick(date) {
13581
14109
  if (!date) return;
@@ -13598,10 +14126,10 @@ var useContext = function useContext() {
13598
14126
  return React__default.useContext(Provider);
13599
14127
  };
13600
14128
 
13601
- var _templateObject$g, _templateObject2$d;
13602
- var HeaderContainer = styled__default.div(_templateObject$g || (_templateObject$g = _taggedTemplateLiteralLoose(["\n ", "\n"])), function (_ref) {
14129
+ var _templateObject$j, _templateObject2$f;
14130
+ var HeaderContainer = styled__default.div(_templateObject$j || (_templateObject$j = _taggedTemplateLiteralLoose(["\n ", "\n"])), function (_ref) {
13603
14131
  var theme = _ref.theme;
13604
- return styled.css(_templateObject2$d || (_templateObject2$d = _taggedTemplateLiteralLoose(["\n padding: ", " calc(", " * 0.75)\n ", " ", ";\n "])), theme.spacings.s3, theme.spacings.s3, theme.spacings.s1, theme.spacings.s3);
14132
+ return styled.css(_templateObject2$f || (_templateObject2$f = _taggedTemplateLiteralLoose(["\n padding: ", " calc(", " * 0.75)\n ", " ", ";\n "])), theme.spacings.s3, theme.spacings.s3, theme.spacings.s1, theme.spacings.s3);
13605
14133
  });
13606
14134
 
13607
14135
  var Header$1 = function Header() {
@@ -13728,12 +14256,12 @@ var Footer$1 = function Footer() {
13728
14256
  });
13729
14257
  };
13730
14258
 
13731
- var _templateObject$h, _templateObject2$e, _templateObject3$d;
13732
- var HeaderContainer$1 = styled__default.div(_templateObject$h || (_templateObject$h = _taggedTemplateLiteralLoose(["\n ", "\n"])), function (_ref) {
14259
+ var _templateObject$k, _templateObject2$g, _templateObject3$e;
14260
+ var HeaderContainer$1 = styled__default.div(_templateObject$k || (_templateObject$k = _taggedTemplateLiteralLoose(["\n ", "\n"])), function (_ref) {
13733
14261
  var theme = _ref.theme;
13734
- return styled.css(_templateObject2$e || (_templateObject2$e = _taggedTemplateLiteralLoose(["\n padding: ", " calc(", " * 0.75)\n ", " ", ";\n "])), theme.spacings.s3, theme.spacings.s3, theme.spacings.s1, theme.spacings.s3);
14262
+ return styled.css(_templateObject2$g || (_templateObject2$g = _taggedTemplateLiteralLoose(["\n padding: ", " calc(", " * 0.75)\n ", " ", ";\n "])), theme.spacings.s3, theme.spacings.s3, theme.spacings.s1, theme.spacings.s3);
13735
14263
  });
13736
- var SelectAllContainer = styled__default.div(_templateObject3$d || (_templateObject3$d = _taggedTemplateLiteralLoose(["\n margin-bottom: ", ";\n display: flex;\n justify-content: space-between;\n"])), function (_ref2) {
14264
+ var SelectAllContainer = styled__default.div(_templateObject3$e || (_templateObject3$e = _taggedTemplateLiteralLoose(["\n margin-bottom: ", ";\n display: flex;\n justify-content: space-between;\n"])), function (_ref2) {
13737
14265
  var theme = _ref2.theme;
13738
14266
  return theme.spacings.s1;
13739
14267
  });
@@ -13923,8 +14451,8 @@ var useSelectMultiple = function useSelectMultiple(props) {
13923
14451
  return returnData;
13924
14452
  };
13925
14453
 
13926
- var _templateObject$i;
13927
- var RelativeContainer$2 = styled__default.div(_templateObject$i || (_templateObject$i = _taggedTemplateLiteralLoose(["\n position: relative;\n"])));
14454
+ var _templateObject$l;
14455
+ var RelativeContainer$2 = styled__default.div(_templateObject$l || (_templateObject$l = _taggedTemplateLiteralLoose(["\n position: relative;\n"])));
13928
14456
 
13929
14457
  var Select = React__default.forwardRef(function (props, ref) {
13930
14458
  var position = props.position,
@@ -14153,7 +14681,7 @@ Password.displayName = 'Password';
14153
14681
 
14154
14682
  var flags = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAFf4AAAAPCAMAAAAsJ+pWAAADAFBMVEUAAAB/U1dILHgLN5L////OECYAAAAAJH3tKDj90hXSDjT/AAABNpb/zQAAK34AI5XQFCvvKixCit7eKQ/+3wPCJy0BlUMBn0rQJToCd2DuGiPkHR52rtwgRYzUKx3pDS4AYTPGDDDjBxnCAQPpAA4DAowBbML6+voBKGXbAgcDUqYZigICeDUAaU3/1QDbEh7cIx8AHaXlZG7NCR8BMKQGMIQDakCvFCvaJRr98/GOosMAbTLosrgPrioANqvx9vZXc7MAccsCaKgDn18gtTkkSqUAI4ICot4BrspNYaBLrNf3eH775ORzq98ormartMzWER7zogbFDhufMzwBhlHfMzkRDAr83kgBeUEAgTwAmzoLRq/IND0GiTDCBSXdTSECgABYWVnsi5QHP4QBZQBjtOXz0tXkaBjl7PX+wwHDZnXIzuBIl9DcEjn/zyKtxeL5r7ABPxo5fc4ypjIgXDg6gzsAf/8BHJAFlWeMGjn3PjXQAgBzhrb6fAHk7ORZUoHvzBmq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H7B/IsC0vl3E4Ep0L5qEMZfQf49Tsh1/h1AUDT9u4aa/kXC6V8Ck9KZYL662LufM8X5lx5OkPKQIMy/HE7/gh328i8o4gcuf+CH+QZUdMTppovwJs6/oNZg/s0O6aO/kXKIvy7NvyXFxSW5zL+IkRzLvyQv/yrLvwRmYfcFJMi/Uh1kiGE5wOYnA/c+iPMv1t/0/Au8/JuN1gWjiQktGdq0KdL5V0xB/qXlPv+ify//AiP/cjz/pnl7PSn/Dh5sO//amv4FFbFYBX7kXw1MZ7ElVYKXf02PCe7Mv37X5F/7+GOSvecLssq/Kbz86+VfpHL6N1pTM5vnX343mo/5d3UfQOXf4p39++VL/h28Ns6X1n/dl39jsQ4IFkDI5V/aVjiv33qjTa++bQEAt/WWDaKgs738S/of8y/FPdO/kHyRa/LvXFj76878S3Ey/7ZbvGyZS/NvDEd/nc6/7QnS+RfYzr+CzTJq8i8S518CY/Cab1r1WKi/4vzrXmT+9XAS+dcj/100x0KJvQ/I1tdo5vkb6PzrITmdf2m7wEs8OObxAHc9vLONzr8eT0644B+Axz1E+df5c/rPZ02tL5ibdUj3gHk8ih+4pkz+nuDTvx5PXjPzb96ec5D5N6d+AU9U34jqcCCnAAAAAElFTkSuQmCC';
14155
14683
 
14156
- var _templateObject$j, _templateObject2$f;
14684
+ var _templateObject$m, _templateObject2$h;
14157
14685
  var coordinates = {
14158
14686
  ar: {
14159
14687
  s1: '0px 0px',
@@ -14228,12 +14756,12 @@ var coordinates = {
14228
14756
  s6: '0px 0px'
14229
14757
  }
14230
14758
  };
14231
- var Flag = styled__default.div(_templateObject$j || (_templateObject$j = _taggedTemplateLiteralLoose(["\n background-image: url(", ");\n background-size: auto 100%;\n\n ", "\n"])), flags, function (_ref) {
14759
+ var Flag = styled__default.div(_templateObject$m || (_templateObject$m = _taggedTemplateLiteralLoose(["\n background-image: url(", ");\n background-size: auto 100%;\n\n ", "\n"])), flags, function (_ref) {
14232
14760
  var iso = _ref.iso,
14233
14761
  width = _ref.width,
14234
14762
  theme = _ref.theme;
14235
14763
  width = width || 's4';
14236
- return styled.css(_templateObject2$f || (_templateObject2$f = _taggedTemplateLiteralLoose(["\n background-position: ", ";\n width: ", ";\n height: calc(", " / 1.4);\n "])), coordinates[iso][width], theme.spacings[width], theme.spacings[width]);
14764
+ return styled.css(_templateObject2$h || (_templateObject2$h = _taggedTemplateLiteralLoose(["\n background-position: ", ";\n width: ", ";\n height: calc(", " / 1.4);\n "])), coordinates[iso][width], theme.spacings[width], theme.spacings[width]);
14237
14765
  });
14238
14766
 
14239
14767
  var countries = {
@@ -14337,10 +14865,10 @@ var countries = {
14337
14865
  }
14338
14866
  };
14339
14867
 
14340
- var _templateObject$k, _templateObject2$g, _templateObject3$e;
14341
- var IconContainer$1 = styled__default.div(_templateObject$k || (_templateObject$k = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n\n > i.icon {\n margin-top: -1px;\n }\n"])));
14342
- var RelativeContainer$3 = styled__default.div(_templateObject2$g || (_templateObject2$g = _taggedTemplateLiteralLoose(["\n position: relative;\n"])));
14343
- var Label$2 = styled__default.div(_templateObject3$e || (_templateObject3$e = _taggedTemplateLiteralLoose(["\n ", "\n\n color: ", ";\n\n display: flex;\n gap: ", ";\n\n > span {\n color: ", ";\n }\n"])), function (_ref) {
14868
+ var _templateObject$n, _templateObject2$i, _templateObject3$f;
14869
+ var IconContainer$1 = styled__default.div(_templateObject$n || (_templateObject$n = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n\n > i.icon {\n margin-top: -1px;\n }\n"])));
14870
+ var RelativeContainer$3 = styled__default.div(_templateObject2$i || (_templateObject2$i = _taggedTemplateLiteralLoose(["\n position: relative;\n"])));
14871
+ var Label$2 = styled__default.div(_templateObject3$f || (_templateObject3$f = _taggedTemplateLiteralLoose(["\n ", "\n\n color: ", ";\n\n display: flex;\n gap: ", ";\n\n > span {\n color: ", ";\n }\n"])), function (_ref) {
14344
14872
  var theme = _ref.theme;
14345
14873
  return theme.useTypography('p');
14346
14874
  }, function (_ref2) {
@@ -14515,39 +15043,39 @@ var Phone = Object.assign(Component, {
14515
15043
  getPhoneDetails: getPhoneDetails
14516
15044
  });
14517
15045
 
14518
- var _templateObject$l, _templateObject2$h, _templateObject3$f, _templateObject4$c, _templateObject5$b, _templateObject6$9, _templateObject7$7, _templateObject8$5, _templateObject9$5;
14519
- var RelativeContainer$4 = styled__default.div(_templateObject$l || (_templateObject$l = _taggedTemplateLiteralLoose(["\n position: relative;\n\n input {\n color: transparent;\n }\n"])));
14520
- var LabelContainer = styled__default.div(_templateObject2$h || (_templateObject2$h = _taggedTemplateLiteralLoose(["\n ", "\n line-height: ", ";\n"])), function (_ref) {
15046
+ var _templateObject$o, _templateObject2$j, _templateObject3$g, _templateObject4$d, _templateObject5$c, _templateObject6$a, _templateObject7$8, _templateObject8$6, _templateObject9$6;
15047
+ var RelativeContainer$4 = styled__default.div(_templateObject$o || (_templateObject$o = _taggedTemplateLiteralLoose(["\n position: relative;\n\n input {\n color: transparent;\n }\n"])));
15048
+ var LabelContainer$2 = styled__default.div(_templateObject2$j || (_templateObject2$j = _taggedTemplateLiteralLoose(["\n ", "\n line-height: ", ";\n"])), function (_ref) {
14521
15049
  var theme = _ref.theme;
14522
15050
  return theme.useTypography('p');
14523
15051
  }, function (_ref2) {
14524
15052
  var theme = _ref2.theme;
14525
15053
  return theme.spacings.s3;
14526
15054
  });
14527
- var Container$8 = styled__default.div(_templateObject3$f || (_templateObject3$f = _taggedTemplateLiteralLoose(["\n position: absolute;\n bottom: 1px;\n left: 1px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n border-radius: 4px;\n\n ", "\n\n ", "\n\n ", "\n"])), function (_ref3) {
15055
+ var Container$8 = styled__default.div(_templateObject3$g || (_templateObject3$g = _taggedTemplateLiteralLoose(["\n position: absolute;\n bottom: 1px;\n left: 1px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n border-radius: 4px;\n\n ", "\n\n ", "\n\n ", "\n"])), function (_ref3) {
14528
15056
  var theme = _ref3.theme,
14529
15057
  iconWidth = _ref3.iconWidth,
14530
15058
  paddingless = _ref3.paddingless;
14531
15059
 
14532
15060
  if (paddingless) {
14533
- return styled.css(_templateObject4$c || (_templateObject4$c = _taggedTemplateLiteralLoose(["\n width: calc(100% - 2px - ", ");\n height: 19px;\n "])), iconWidth);
15061
+ return styled.css(_templateObject4$d || (_templateObject4$d = _taggedTemplateLiteralLoose(["\n width: calc(100% - 2px - ", ");\n height: 19px;\n "])), iconWidth);
14534
15062
  }
14535
15063
 
14536
- return styled.css(_templateObject5$b || (_templateObject5$b = _taggedTemplateLiteralLoose(["\n width: calc(100% - 2px - ", " - ", ");\n height: 33px;\n padding: ", " 0 ", " ", ";\n "])), iconWidth, theme.spacings.s3, theme.spacings.s2, theme.spacings.s2, theme.spacings.s3);
15064
+ return styled.css(_templateObject5$c || (_templateObject5$c = _taggedTemplateLiteralLoose(["\n width: calc(100% - 2px - ", " - ", ");\n height: 33px;\n padding: ", " 0 ", " ", ";\n "])), iconWidth, theme.spacings.s3, theme.spacings.s2, theme.spacings.s2, theme.spacings.s3);
14537
15065
  }, function (_ref4) {
14538
15066
  var invalid = _ref4.invalid,
14539
15067
  theme = _ref4.theme;
14540
15068
  if (!invalid) return;
14541
- return styled.css(_templateObject6$9 || (_templateObject6$9 = _taggedTemplateLiteralLoose(["\n color: ", ";\n "])), theme.colors.warningRed);
15069
+ return styled.css(_templateObject6$a || (_templateObject6$a = _taggedTemplateLiteralLoose(["\n color: ", ";\n "])), theme.colors.warningRed);
14542
15070
  }, function (_ref5) {
14543
15071
  var disabled = _ref5.disabled;
14544
15072
  if (!disabled) return;
14545
- return styled.css(_templateObject7$7 || (_templateObject7$7 = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
15073
+ return styled.css(_templateObject7$8 || (_templateObject7$8 = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
14546
15074
  });
14547
- var Button$3 = styled__default.button(_templateObject8$5 || (_templateObject8$5 = _taggedTemplateLiteralLoose(["\n display: flex;\n background-color: transparent;\n border: none;\n padding: 0;\n box-shadow: none;\n\n ", ";\n"])), function (_ref6) {
15075
+ var Button$3 = styled__default.button(_templateObject8$6 || (_templateObject8$6 = _taggedTemplateLiteralLoose(["\n display: flex;\n background-color: transparent;\n border: none;\n padding: 0;\n box-shadow: none;\n\n ", ";\n"])), function (_ref6) {
14548
15076
  var onClick = _ref6.onClick;
14549
15077
  if (!onClick) return;
14550
- return styled.css(_templateObject9$5 || (_templateObject9$5 = _taggedTemplateLiteralLoose(["\n :not(:disabled) {\n cursor: pointer;\n }\n "])));
15078
+ return styled.css(_templateObject9$6 || (_templateObject9$6 = _taggedTemplateLiteralLoose(["\n :not(:disabled) {\n cursor: pointer;\n }\n "])));
14551
15079
  });
14552
15080
 
14553
15081
  var DatePicker = React__default.forwardRef(function (props, ref) {
@@ -14567,7 +15095,7 @@ var DatePicker = React__default.forwardRef(function (props, ref) {
14567
15095
  var date = isoStringToDate(value);
14568
15096
 
14569
15097
  if (!date) {
14570
- setValue(dateToIsoString(new Date()));
15098
+ setValue(dateToIsoString(getMiddle(min, max)));
14571
15099
  }
14572
15100
  }, [value]);
14573
15101
 
@@ -14627,7 +15155,7 @@ var DatePicker = React__default.forwardRef(function (props, ref) {
14627
15155
  icon: 'chevron_left',
14628
15156
  color: props.invalid ? 'warningRed' : 'grey',
14629
15157
  strokeWidth: '3px'
14630
- })), React__default.createElement(LabelContainer, null, today === value ? 'Hoje' : value), React__default.createElement(Button$3, {
15158
+ })), React__default.createElement(LabelContainer$2, null, today === value ? 'Hoje' : value), React__default.createElement(Button$3, {
14631
15159
  type: 'button',
14632
15160
  onClick: disabled ? undefined : onAdd,
14633
15161
  disabled: disabled || function () {
@@ -14642,8 +15170,10 @@ var DatePicker = React__default.forwardRef(function (props, ref) {
14642
15170
  color: props.invalid ? 'warningRed' : 'grey',
14643
15171
  strokeWidth: '3px'
14644
15172
  }))), React__default.createElement(Calendar, {
15173
+ type: 'single',
15174
+ absolute: true,
14645
15175
  open: open,
14646
- initalValue: value ? isoStringToDate(value) : undefined,
15176
+ initialValue: value ? isoStringToDate(value) : undefined,
14647
15177
  onSubmit: {
14648
15178
  onClick: function onClick(date) {
14649
15179
  if (!date) return;
@@ -14660,31 +15190,31 @@ var DatePicker = React__default.forwardRef(function (props, ref) {
14660
15190
  });
14661
15191
  DatePicker.displayName = 'DatePicker';
14662
15192
 
14663
- var _templateObject$m, _templateObject2$i, _templateObject3$g, _templateObject4$d, _templateObject5$c, _templateObject6$a, _templateObject7$8;
14664
- var LabelContainer$1 = styled__default.div(_templateObject$m || (_templateObject$m = _taggedTemplateLiteralLoose(["\n ", "\n line-height: 14px;\n display: flex;\n align-items: center;\n"])), function (_ref) {
15193
+ var _templateObject$p, _templateObject2$k, _templateObject3$h, _templateObject4$e, _templateObject5$d, _templateObject6$b, _templateObject7$9;
15194
+ var LabelContainer$3 = styled__default.div(_templateObject$p || (_templateObject$p = _taggedTemplateLiteralLoose(["\n ", "\n line-height: 14px;\n display: flex;\n align-items: center;\n"])), function (_ref) {
14665
15195
  var theme = _ref.theme;
14666
15196
  return theme.useTypography('p');
14667
15197
  });
14668
- var Label$3 = styled__default.label(_templateObject2$i || (_templateObject2$i = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: ", ";\n position: relative;\n\n ", "\n\n ", "\n\n ", "\n\n > input {\n position: absolute;\n height: 0%;\n width: 0%;\n opacity: 0;\n }\n\n > span {\n position: relative;\n width: 50px;\n height: calc(", " + 1px);\n background-color: ", ";\n border-radius: 20px;\n transition-property: background-color;\n transition-duration: 0.4s;\n transition-timing-function: ease-in-out;\n box-sizing: content-box;\n :before {\n content: '';\n transition-property: left;\n transition-duration: 0.4s;\n transition-timing-function: ease-in-out;\n position: absolute;\n border-width: 1px;\n border-style: solid;\n border-radius: 100%;\n left: 0;\n box-shadow: 0px 1px 3px ", ";\n width: calc(", " - 1px);\n height: calc(", " - 1px);\n background-color: ", ";\n }\n }\n\n > input:checked + span {\n :before {\n left: calc(100% - ", " - 1px);\n }\n }\n"])), function (_ref2) {
15198
+ var Label$3 = styled__default.label(_templateObject2$k || (_templateObject2$k = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: ", ";\n position: relative;\n\n ", "\n\n ", "\n\n ", "\n\n > input {\n position: absolute;\n height: 0%;\n width: 0%;\n opacity: 0;\n }\n\n > span {\n position: relative;\n width: 50px;\n height: calc(", " + 1px);\n background-color: ", ";\n border-radius: 20px;\n transition-property: background-color;\n transition-duration: 0.4s;\n transition-timing-function: ease-in-out;\n box-sizing: content-box;\n :before {\n content: '';\n transition-property: left;\n transition-duration: 0.4s;\n transition-timing-function: ease-in-out;\n position: absolute;\n border-width: 1px;\n border-style: solid;\n border-radius: 100%;\n left: 0;\n box-shadow: 0px 1px 3px ", ";\n width: calc(", " - 1px);\n height: calc(", " - 1px);\n background-color: ", ";\n }\n }\n\n > input:checked + span {\n :before {\n left: calc(100% - ", " - 1px);\n }\n }\n"])), function (_ref2) {
14669
15199
  var theme = _ref2.theme;
14670
15200
  return theme.spacings.s1;
14671
15201
  }, function (_ref3) {
14672
15202
  var disabled = _ref3.disabled;
14673
15203
 
14674
15204
  if (!disabled) {
14675
- return styled.css(_templateObject3$g || (_templateObject3$g = _taggedTemplateLiteralLoose(["\n > span {\n cursor: pointer;\n }\n "])));
15205
+ return styled.css(_templateObject3$h || (_templateObject3$h = _taggedTemplateLiteralLoose(["\n > span {\n cursor: pointer;\n }\n "])));
14676
15206
  }
14677
15207
 
14678
- return styled.css(_templateObject4$d || (_templateObject4$d = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
15208
+ return styled.css(_templateObject4$e || (_templateObject4$e = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
14679
15209
  }, function (_ref4) {
14680
15210
  var required = _ref4.required;
14681
15211
  if (!required) return;
14682
- return styled.css(_templateObject5$c || (_templateObject5$c = _taggedTemplateLiteralLoose(["\n > ", " {\n :after {\n content: '*';\n }\n }\n "])), LabelContainer$1);
15212
+ return styled.css(_templateObject5$d || (_templateObject5$d = _taggedTemplateLiteralLoose(["\n > ", " {\n :after {\n content: '*';\n }\n }\n "])), LabelContainer$3);
14683
15213
  }, function (_ref5) {
14684
15214
  var invalid = _ref5.invalid;
14685
15215
 
14686
15216
  if (!invalid) {
14687
- return styled.css(_templateObject6$a || (_templateObject6$a = _taggedTemplateLiteralLoose(["\n > span:before {\n border-color: ", ";\n }\n > input:checked + span {\n background-color: ", ";\n }\n "])), function (_ref6) {
15217
+ return styled.css(_templateObject6$b || (_templateObject6$b = _taggedTemplateLiteralLoose(["\n > span:before {\n border-color: ", ";\n }\n > input:checked + span {\n background-color: ", ";\n }\n "])), function (_ref6) {
14688
15218
  var theme = _ref6.theme;
14689
15219
  return theme.colors.lightGrey;
14690
15220
  }, function (_ref7) {
@@ -14693,7 +15223,7 @@ var Label$3 = styled__default.label(_templateObject2$i || (_templateObject2$i =
14693
15223
  });
14694
15224
  }
14695
15225
 
14696
- return styled.css(_templateObject7$8 || (_templateObject7$8 = _taggedTemplateLiteralLoose(["\n > span:before {\n border-color: ", ";\n }\n > input:checked + span {\n background-color: ", ";\n }\n "])), function (_ref8) {
15226
+ return styled.css(_templateObject7$9 || (_templateObject7$9 = _taggedTemplateLiteralLoose(["\n > span:before {\n border-color: ", ";\n }\n > input:checked + span {\n background-color: ", ";\n }\n "])), function (_ref8) {
14697
15227
  var theme = _ref8.theme;
14698
15228
  return theme.colors.warningRed;
14699
15229
  }, function (_ref9) {
@@ -14735,11 +15265,11 @@ var Switch = function Switch(props) {
14735
15265
  invalid: invalid ? 1 : 0
14736
15266
  }, React__default.createElement("input", Object.assign({}, htmlProps, {
14737
15267
  type: 'checkbox'
14738
- })), React__default.createElement("span", null), label && React__default.createElement(LabelContainer$1, null, label));
15268
+ })), React__default.createElement("span", null), label && React__default.createElement(LabelContainer$3, null, label));
14739
15269
  };
14740
15270
 
14741
- var _templateObject$n, _templateObject2$j, _templateObject3$h, _templateObject4$e, _templateObject5$d, _templateObject6$b, _templateObject7$9, _templateObject8$6, _templateObject9$6, _templateObject10$4, _templateObject11$3, _templateObject12$3, _templateObject13$3, _templateObject14$2, _templateObject15$1, _templateObject16;
14742
- var bullet = styled.css(_templateObject$n || (_templateObject$n = _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) {
15271
+ var _templateObject$q, _templateObject2$l, _templateObject3$i, _templateObject4$f, _templateObject5$e, _templateObject6$c, _templateObject7$a, _templateObject8$7, _templateObject9$7, _templateObject10$4, _templateObject11$2, _templateObject12$2, _templateObject13$2, _templateObject14$2, _templateObject15$1, _templateObject16;
15272
+ 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) {
14743
15273
  var theme = _ref.theme;
14744
15274
  return theme.spacings.s4;
14745
15275
  }, function (_ref2) {
@@ -14752,8 +15282,8 @@ var bullet = styled.css(_templateObject$n || (_templateObject$n = _taggedTemplat
14752
15282
  var theme = _ref4.theme;
14753
15283
  return theme.getColor('black', 10);
14754
15284
  });
14755
- var Input$2 = styled__default.input(_templateObject2$j || (_templateObject2$j = _taggedTemplateLiteralLoose(["\n appearance: none;\n width: 100%;\n height: 10px;\n background-color: transparent;\n outline: none;\n position: relative;\n z-index: 3;\n margin: 0;\n\n :not(:disabled) {\n cursor: pointer;\n }\n\n /** firefox */\n ::-moz-range-thumb {\n ", "\n }\n /** ie */\n ::-ms-thumb {\n ", "\n }\n /** chrome */\n ::-webkit-slider-thumb {\n ", "\n }\n"])), bullet, bullet, bullet);
14756
- var Label$4 = styled__default.label(_templateObject3$h || (_templateObject3$h = _taggedTemplateLiteralLoose(["\n ", ";\n line-height: 19px;\n\n width: ", ";\n box-sizing: border-box;\n display: block;\n position: relative;\n\n ", "\n\n > div:first-child {\n display: inline-block;\n margin-bottom: ", ";\n\n ", "\n }\n"])), function (_ref5) {
15285
+ var Input$2 = styled__default.input(_templateObject2$l || (_templateObject2$l = _taggedTemplateLiteralLoose(["\n appearance: none;\n width: 100%;\n height: 10px;\n background-color: transparent;\n outline: none;\n position: relative;\n z-index: 3;\n margin: 0;\n\n :not(:disabled) {\n cursor: pointer;\n }\n\n /** firefox */\n ::-moz-range-thumb {\n ", "\n }\n /** ie */\n ::-ms-thumb {\n ", "\n }\n /** chrome */\n ::-webkit-slider-thumb {\n ", "\n }\n"])), bullet, bullet, bullet);
15286
+ var Label$4 = styled__default.label(_templateObject3$i || (_templateObject3$i = _taggedTemplateLiteralLoose(["\n ", ";\n line-height: 19px;\n\n width: ", ";\n box-sizing: border-box;\n display: block;\n position: relative;\n\n ", "\n\n > div:first-child {\n display: inline-block;\n margin-bottom: ", ";\n\n ", "\n }\n"])), function (_ref5) {
14757
15287
  var theme = _ref5.theme;
14758
15288
  return theme.useTypography('p');
14759
15289
  }, function (_ref6) {
@@ -14762,36 +15292,36 @@ var Label$4 = styled__default.label(_templateObject3$h || (_templateObject3$h =
14762
15292
  }, function (_ref7) {
14763
15293
  var disabled = _ref7.disabled;
14764
15294
  if (!disabled) return;
14765
- return styled.css(_templateObject4$e || (_templateObject4$e = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
15295
+ return styled.css(_templateObject4$f || (_templateObject4$f = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
14766
15296
  }, function (_ref8) {
14767
15297
  var theme = _ref8.theme;
14768
15298
  return theme.spacings.s1;
14769
15299
  }, function (_ref9) {
14770
15300
  var required = _ref9.required;
14771
15301
  if (!required) return;
14772
- return styled.css(_templateObject5$d || (_templateObject5$d = _taggedTemplateLiteralLoose(["\n :after {\n content: ' *';\n }\n "])));
15302
+ return styled.css(_templateObject5$e || (_templateObject5$e = _taggedTemplateLiteralLoose(["\n :after {\n content: ' *';\n }\n "])));
14773
15303
  });
14774
- var InputContainer = styled__default.div(_templateObject6$b || (_templateObject6$b = _taggedTemplateLiteralLoose(["\n flex: 1;\n display: flex;\n gap: 6px;\n\n > div {\n position: relative;\n }\n\n ", "\n"])), function (_ref10) {
15304
+ var InputContainer = styled__default.div(_templateObject6$c || (_templateObject6$c = _taggedTemplateLiteralLoose(["\n flex: 1;\n display: flex;\n gap: 6px;\n\n > div {\n position: relative;\n }\n\n ", "\n"])), function (_ref10) {
14775
15305
  var theme = _ref10.theme,
14776
15306
  invalid = _ref10.invalid;
14777
15307
 
14778
15308
  if (!invalid) {
14779
- return styled.css(_templateObject7$9 || (_templateObject7$9 = _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);
15309
+ return styled.css(_templateObject7$a || (_templateObject7$a = _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);
14780
15310
  }
14781
15311
 
14782
- return styled.css(_templateObject8$6 || (_templateObject8$6 = _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);
15312
+ return styled.css(_templateObject8$7 || (_templateObject8$7 = _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);
14783
15313
  });
14784
- var MinMaxLabelContainer = styled__default.div(_templateObject9$6 || (_templateObject9$6 = _taggedTemplateLiteralLoose(["\n display: flex;\n padding-bottom: 2px;\n"])));
15314
+ var MinMaxLabelContainer = styled__default.div(_templateObject9$7 || (_templateObject9$7 = _taggedTemplateLiteralLoose(["\n display: flex;\n padding-bottom: 2px;\n"])));
14785
15315
  var LabelsContainer = styled__default.div(_templateObject10$4 || (_templateObject10$4 = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: 7px;\n\n ", "\n"])), function (_ref11) {
14786
15316
  var position = _ref11.position;
14787
15317
 
14788
15318
  if (position === 'bottom') {
14789
- return styled.css(_templateObject11$3 || (_templateObject11$3 = _taggedTemplateLiteralLoose(["\n ", " {\n flex-direction: column-reverse;\n }\n\n ", " {\n :after {\n bottom: calc(100% + 10.5px);\n }\n }\n\n ", " {\n align-items: start;\n }\n "])), InputContainer, Marker, MinMaxLabelContainer);
15319
+ return styled.css(_templateObject11$2 || (_templateObject11$2 = _taggedTemplateLiteralLoose(["\n ", " {\n flex-direction: column-reverse;\n }\n\n ", " {\n :after {\n bottom: calc(100% + 10.5px);\n }\n }\n\n ", " {\n align-items: start;\n }\n "])), InputContainer, Marker, MinMaxLabelContainer);
14790
15320
  }
14791
15321
 
14792
- return styled.css(_templateObject12$3 || (_templateObject12$3 = _taggedTemplateLiteralLoose(["\n ", " {\n flex-direction: column;\n }\n\n ", " {\n :after {\n top: calc(100% + 8px);\n }\n }\n\n ", " {\n align-items: end;\n }\n "])), InputContainer, Marker, MinMaxLabelContainer);
15322
+ return styled.css(_templateObject12$2 || (_templateObject12$2 = _taggedTemplateLiteralLoose(["\n ", " {\n flex-direction: column;\n }\n\n ", " {\n :after {\n top: calc(100% + 8px);\n }\n }\n\n ", " {\n align-items: end;\n }\n "])), InputContainer, Marker, MinMaxLabelContainer);
14793
15323
  });
14794
- var SelectedArea = styled__default.div(_templateObject13$3 || (_templateObject13$3 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n\n height: 3px;\n width: 100%;\n position: absolute;\n bottom: calc(50% - 2px);\n left: 0;\n display: flex;\n z-index: 1;\n\n > span {\n width: ", "%;\n display: block;\n box-sizing: border-box;\n height: 100%;\n }\n"])), function (_ref12) {
15324
+ var SelectedArea = styled__default.div(_templateObject13$2 || (_templateObject13$2 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n\n height: 3px;\n width: 100%;\n position: absolute;\n bottom: calc(50% - 2px);\n left: 0;\n display: flex;\n z-index: 1;\n\n > span {\n width: ", "%;\n display: block;\n box-sizing: border-box;\n height: 100%;\n }\n"])), function (_ref12) {
14795
15325
  var theme = _ref12.theme;
14796
15326
  return theme.getColor('greyishBlue', 10);
14797
15327
  }, function (_ref13) {
@@ -14957,31 +15487,31 @@ var Range = React__default.forwardRef(function (props, ref) {
14957
15487
  });
14958
15488
  Range.displayName = 'input';
14959
15489
 
14960
- var _templateObject$o, _templateObject2$k, _templateObject3$i, _templateObject4$f, _templateObject5$e, _templateObject6$c, _templateObject7$a;
14961
- var LabelContainer$2 = styled__default.div(_templateObject$o || (_templateObject$o = _taggedTemplateLiteralLoose(["\n ", "\n display: flex;\n align-items: center;\n"])), function (_ref) {
15490
+ var _templateObject$r, _templateObject2$m, _templateObject3$j, _templateObject4$g, _templateObject5$f, _templateObject6$d, _templateObject7$b;
15491
+ var LabelContainer$4 = styled__default.div(_templateObject$r || (_templateObject$r = _taggedTemplateLiteralLoose(["\n ", "\n display: flex;\n align-items: center;\n"])), function (_ref) {
14962
15492
  var theme = _ref.theme;
14963
15493
  return theme.useTypography('p');
14964
15494
  });
14965
- var Label$5 = styled__default.label(_templateObject2$k || (_templateObject2$k = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: ", ";\n\n ", "\n\n ", "\n\n", "\n\n > input {\n height: 0;\n width: 0;\n /* Chrome, Safari, Edge, Opera */\n :-webkit-outer-spin-button,\n :-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n\n /* Firefox */\n -moz-appearance: none;\n }\n\n > span {\n height: 17px;\n width: 17px;\n border-radius: 100%;\n border-width: 1px;\n border-style: solid;\n background-color: ", ";\n position: relative;\n transition-property: border-color;\n transition-duration: 0.5s;\n transition-timing-function: ease-in-out;\n :before {\n content: '';\n position: absolute;\n top: 50%;\n left: 50%;\n height: 0;\n width: 0;\n border-radius: 100%;\n transition-property: top, left, width, height, background-color;\n transition-duration: 0.5s;\n transition-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);\n }\n }\n > input:checked + span {\n :before {\n top: calc(50% - 4.5px);\n left: calc(50% - 4.5px);\n height: 9px;\n width: 9px;\n }\n }\n"])), function (_ref2) {
15495
+ var Label$5 = styled__default.label(_templateObject2$m || (_templateObject2$m = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: ", ";\n\n ", "\n\n ", "\n\n", "\n\n > input {\n height: 0;\n width: 0;\n /* Chrome, Safari, Edge, Opera */\n :-webkit-outer-spin-button,\n :-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n\n /* Firefox */\n -moz-appearance: none;\n }\n\n > span {\n height: 17px;\n width: 17px;\n border-radius: 100%;\n border-width: 1px;\n border-style: solid;\n background-color: ", ";\n position: relative;\n transition-property: border-color;\n transition-duration: 0.5s;\n transition-timing-function: ease-in-out;\n :before {\n content: '';\n position: absolute;\n top: 50%;\n left: 50%;\n height: 0;\n width: 0;\n border-radius: 100%;\n transition-property: top, left, width, height, background-color;\n transition-duration: 0.5s;\n transition-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);\n }\n }\n > input:checked + span {\n :before {\n top: calc(50% - 4.5px);\n left: calc(50% - 4.5px);\n height: 9px;\n width: 9px;\n }\n }\n"])), function (_ref2) {
14966
15496
  var theme = _ref2.theme;
14967
15497
  return theme.spacings.s1;
14968
15498
  }, function (_ref3) {
14969
15499
  var disabled = _ref3.disabled;
14970
15500
 
14971
15501
  if (!disabled) {
14972
- return styled.css(_templateObject3$i || (_templateObject3$i = _taggedTemplateLiteralLoose(["\n > span {\n cursor: pointer;\n }\n "])));
15502
+ return styled.css(_templateObject3$j || (_templateObject3$j = _taggedTemplateLiteralLoose(["\n > span {\n cursor: pointer;\n }\n "])));
14973
15503
  }
14974
15504
 
14975
- return styled.css(_templateObject4$f || (_templateObject4$f = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
15505
+ return styled.css(_templateObject4$g || (_templateObject4$g = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
14976
15506
  }, function (_ref4) {
14977
15507
  var required = _ref4.required;
14978
15508
  if (!required) return;
14979
- return styled.css(_templateObject5$e || (_templateObject5$e = _taggedTemplateLiteralLoose(["\n > ", " {\n :after {\n content: ' *';\n }\n }\n "])), LabelContainer$2);
15509
+ return styled.css(_templateObject5$f || (_templateObject5$f = _taggedTemplateLiteralLoose(["\n > ", " {\n :after {\n content: ' *';\n }\n }\n "])), LabelContainer$4);
14980
15510
  }, function (_ref5) {
14981
15511
  var invalid = _ref5.invalid;
14982
15512
 
14983
15513
  if (!invalid) {
14984
- return styled.css(_templateObject6$c || (_templateObject6$c = _taggedTemplateLiteralLoose(["\n > span {\n border-color: ", ";\n :before {\n background-color: ", ";\n }\n }\n "])), function (_ref6) {
15514
+ return styled.css(_templateObject6$d || (_templateObject6$d = _taggedTemplateLiteralLoose(["\n > span {\n border-color: ", ";\n :before {\n background-color: ", ";\n }\n }\n "])), function (_ref6) {
14985
15515
  var theme = _ref6.theme;
14986
15516
  return theme.colors.blue;
14987
15517
  }, function (_ref7) {
@@ -14990,7 +15520,7 @@ var Label$5 = styled__default.label(_templateObject2$k || (_templateObject2$k =
14990
15520
  });
14991
15521
  }
14992
15522
 
14993
- return styled.css(_templateObject7$a || (_templateObject7$a = _taggedTemplateLiteralLoose(["\n > span {\n border-color: ", ";\n :before {\n background-color: ", ";\n }\n }\n "])), function (_ref8) {
15523
+ return styled.css(_templateObject7$b || (_templateObject7$b = _taggedTemplateLiteralLoose(["\n > span {\n border-color: ", ";\n :before {\n background-color: ", ";\n }\n }\n "])), function (_ref8) {
14994
15524
  var theme = _ref8.theme;
14995
15525
  return theme.colors.warningRed;
14996
15526
  }, function (_ref9) {
@@ -15014,127 +15544,7 @@ var RadioButton = function RadioButton(props) {
15014
15544
  invalid: invalid ? 1 : 0
15015
15545
  }, React__default.createElement("input", Object.assign({}, htmlProps, {
15016
15546
  type: 'radio'
15017
- })), React__default.createElement("span", null), label && React__default.createElement(LabelContainer$2, null, label));
15018
- };
15019
-
15020
- var _templateObject$p;
15021
- var Container$9 = styled__default.div(_templateObject$p || (_templateObject$p = _taggedTemplateLiteralLoose(["\n padding: ", ";\n background-color: ", ";\n display: flex;\n width: min-content;\n"])), function (_ref) {
15022
- var theme = _ref.theme;
15023
- return theme.spacings.s1 + " " + theme.spacings.s1 + " 0px " + theme.spacings.s1;
15024
- }, function (_ref2) {
15025
- var theme = _ref2.theme;
15026
- return theme.colors.white;
15027
- });
15028
-
15029
- var CalendarInterval = function CalendarInterval(props) {
15030
- var time = props.time;
15031
-
15032
- var _ref = props.value && Array.isArray(props.value.start) ? props.value.start : React.useState(null),
15033
- start = _ref[0],
15034
- setStart = _ref[1];
15035
-
15036
- var _ref2 = props.value && Array.isArray(props.value.end) ? props.value.end : React.useState(null),
15037
- end = _ref2[0],
15038
- setEnd = _ref2[1];
15039
-
15040
- React.useEffect(function () {
15041
- if (!props.value) return;
15042
-
15043
- if (!Array.isArray(props.value.start)) {
15044
- setStart(props.value.start);
15045
- }
15046
-
15047
- if (!Array.isArray(props.value.end)) {
15048
- setEnd(props.value.end);
15049
- }
15050
- }, [props.value]);
15051
-
15052
- var _useState = React.useState(false),
15053
- startInvalid = _useState[0],
15054
- setStartInvalid = _useState[1];
15055
-
15056
- var _useState2 = React.useState(false),
15057
- endInvalid = _useState2[0],
15058
- setEndInvalid = _useState2[1];
15059
-
15060
- var min;
15061
-
15062
- if (props.min) {
15063
- min = new Date(props.min.getTime());
15064
- }
15065
-
15066
- var max;
15067
-
15068
- if (props.max) {
15069
- max = new Date(props.max.getTime());
15070
- }
15071
-
15072
- var minEnd;
15073
-
15074
- if (start) {
15075
- minEnd = start;
15076
-
15077
- if (min) {
15078
- minEnd = start >= min ? start : min;
15079
- }
15080
- } else if (min) {
15081
- minEnd = min;
15082
- }
15083
-
15084
- var maxStart;
15085
-
15086
- if (end) {
15087
- maxStart = end;
15088
-
15089
- if (max) {
15090
- maxStart = end <= max ? end : max;
15091
- }
15092
- } else if (max) {
15093
- maxStart = max;
15094
- }
15095
-
15096
- var _onSubmit = props.onSubmit || {};
15097
-
15098
- var onSubmit = _extends({
15099
- disabled: startInvalid || endInvalid,
15100
- onClick: function onClick() {}
15101
- }, _onSubmit);
15102
-
15103
- var absoluteContainerProps = filterObject(props, ['max', 'min', 'value', 'time', 'onSubmit']);
15104
- return React__default.createElement(AbsoluteContainer, Object.assign({
15105
- axis: 'y',
15106
- maxHeight: '329px'
15107
- }, absoluteContainerProps), React__default.createElement(Container$9, null, React__default.createElement(Calendar, {
15108
- open: true,
15109
- value: [start, setStart],
15110
- min: min,
15111
- max: maxStart,
15112
- overlay: {
15113
- type: 'after',
15114
- value: end
15115
- },
15116
- time: time,
15117
- invalid: [startInvalid, setStartInvalid],
15118
- notAbsolute: true
15119
- }), React__default.createElement(Calendar, {
15120
- open: true,
15121
- value: [end, setEnd],
15122
- min: minEnd,
15123
- max: max,
15124
- overlay: {
15125
- type: 'before',
15126
- value: start
15127
- },
15128
- time: time,
15129
- invalid: [endInvalid, setEndInvalid],
15130
- notAbsolute: true,
15131
- onSubmit: {
15132
- onClick: function onClick() {
15133
- return onSubmit.onClick(start, end);
15134
- },
15135
- disabled: onSubmit.disabled
15136
- }
15137
- })));
15547
+ })), React__default.createElement("span", null), label && React__default.createElement(LabelContainer$4, null, label));
15138
15548
  };
15139
15549
 
15140
15550
  var validate = function validate(_ref, min, max) {
@@ -15150,7 +15560,7 @@ var intervalTypes = {
15150
15560
  label: function label(prev) {
15151
15561
  var today = new Date();
15152
15562
  today.setHours(0, 0, 0, 0);
15153
- if (isDateEquals(today, prev[0])) return 'Hoje';
15563
+ if (dateCompare(today, prev[0], 'eq')) return 'Hoje';
15154
15564
  return dateToIsoString(prev[0], false, false);
15155
15565
  },
15156
15566
  initial: function initial(base) {
@@ -15158,7 +15568,7 @@ var intervalTypes = {
15158
15568
  var start = new Date(base);
15159
15569
  start.setHours(0, 0, 0, 0);
15160
15570
  var end = new Date(base);
15161
- end.setHours(23, 59, 59, 0);
15571
+ end.setHours(23, 59, 59, 999);
15162
15572
  return [start, end];
15163
15573
  },
15164
15574
  increment: function increment(prev) {
@@ -15289,7 +15699,7 @@ var identify = function identify(value) {
15289
15699
  expectedStart = _intervalTypes$day$in[0],
15290
15700
  expectedEnd = _intervalTypes$day$in[1];
15291
15701
 
15292
- if (isDateEquals(start, expectedStart) && isDateEquals(end, expectedEnd)) {
15702
+ if (dateCompare(start, expectedStart, 'eq') && dateCompare(end, expectedEnd, 'eq')) {
15293
15703
  return 'day';
15294
15704
  }
15295
15705
  }
@@ -15299,7 +15709,7 @@ var identify = function identify(value) {
15299
15709
  _expectedStart = _intervalTypes$week$i[0],
15300
15710
  _expectedEnd = _intervalTypes$week$i[1];
15301
15711
 
15302
- if (isDateEquals(start, _expectedStart) && isDateEquals(end, _expectedEnd)) {
15712
+ if (dateCompare(start, _expectedStart, 'eq') && dateCompare(end, _expectedEnd, 'eq')) {
15303
15713
  return 'week';
15304
15714
  }
15305
15715
  }
@@ -15309,7 +15719,7 @@ var identify = function identify(value) {
15309
15719
  _expectedStart2 = _intervalTypes$month$[0],
15310
15720
  _expectedEnd2 = _intervalTypes$month$[1];
15311
15721
 
15312
- if (isDateEquals(start, _expectedStart2) && isDateEquals(end, _expectedEnd2)) {
15722
+ if (dateCompare(start, _expectedStart2, 'eq') && dateCompare(end, _expectedEnd2, 'eq')) {
15313
15723
  return 'month';
15314
15724
  }
15315
15725
  }
@@ -15322,17 +15732,17 @@ var parse = function parse(value) {
15322
15732
  });
15323
15733
  };
15324
15734
 
15325
- var _templateObject$q, _templateObject2$l, _templateObject3$j, _templateObject4$g, _templateObject5$f, _templateObject6$d, _templateObject7$b, _templateObject8$7, _templateObject9$7, _templateObject10$5, _templateObject11$4;
15326
- var RelativeContainer$5 = styled__default.div(_templateObject$q || (_templateObject$q = _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"])));
15327
- var LabelContainer$3 = styled__default.div(_templateObject2$l || (_templateObject2$l = _taggedTemplateLiteralLoose(["\n ", "\n line-height: 17px;\n flex: 1;\n text-align: center;\n\n ", ";\n"])), function (_ref) {
15735
+ var _templateObject$s, _templateObject2$n, _templateObject3$k, _templateObject4$h, _templateObject5$g, _templateObject6$e, _templateObject7$c, _templateObject8$8, _templateObject9$8, _templateObject10$5, _templateObject11$3;
15736
+ 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"])));
15737
+ var LabelContainer$5 = styled__default.div(_templateObject2$n || (_templateObject2$n = _taggedTemplateLiteralLoose(["\n ", "\n line-height: 17px;\n flex: 1;\n text-align: center;\n\n ", ";\n"])), function (_ref) {
15328
15738
  var theme = _ref.theme;
15329
15739
  return theme.useTypography('p');
15330
15740
  }, function (_ref2) {
15331
15741
  var onClick = _ref2.onClick;
15332
15742
  if (!onClick) return;
15333
- return styled.css(_templateObject3$j || (_templateObject3$j = _taggedTemplateLiteralLoose(["\n :not(:disabled) {\n cursor: pointer;\n }\n "])));
15743
+ return styled.css(_templateObject3$k || (_templateObject3$k = _taggedTemplateLiteralLoose(["\n :not(:disabled) {\n cursor: pointer;\n }\n "])));
15334
15744
  });
15335
- var Container$a = styled__default.div(_templateObject4$g || (_templateObject4$g = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n border-radius: 4px;\n white-space: nowrap;\n gap: ", ";\n border-width: 1px;\n border-style: solid;\n border-color: ", ";\n\n width: 100%;\n\n ", ";\n\n ", "\n\n ", "\n"])), function (_ref3) {
15745
+ var Container$9 = styled__default.div(_templateObject4$h || (_templateObject4$h = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n border-radius: 4px;\n white-space: nowrap;\n gap: ", ";\n border-width: 1px;\n border-style: solid;\n border-color: ", ";\n\n width: 100%;\n\n ", ";\n\n ", "\n\n ", "\n"])), function (_ref3) {
15336
15746
  var theme = _ref3.theme;
15337
15747
  return theme.spacings.s1;
15338
15748
  }, function (_ref4) {
@@ -15349,21 +15759,21 @@ var Container$a = styled__default.div(_templateObject4$g || (_templateObject4$g
15349
15759
  bgColor = _ref6[0],
15350
15760
  color = _ref6[1];
15351
15761
 
15352
- return styled.css(_templateObject5$f || (_templateObject5$f = _taggedTemplateLiteralLoose(["\n color: ", ";\n background-color: ", ";\n /** google chrome blue background */\n -webkit-box-shadow: 0 0 0px 1000px ", " inset !important;\n "])), color, bgColor, bgColor);
15762
+ return styled.css(_templateObject5$g || (_templateObject5$g = _taggedTemplateLiteralLoose(["\n color: ", ";\n background-color: ", ";\n /** google chrome blue background */\n -webkit-box-shadow: 0 0 0px 1000px ", " inset !important;\n "])), color, bgColor, bgColor);
15353
15763
  }, function (_ref7) {
15354
15764
  var theme = _ref7.theme,
15355
15765
  paddingless = _ref7.paddingless;
15356
15766
  if (paddingless) return;
15357
- return styled.css(_templateObject6$d || (_templateObject6$d = _taggedTemplateLiteralLoose(["\n padding: ", " ", " ", "\n ", ";\n "])), theme.spacings.s2, theme.spacings.s1, theme.spacings.s2, theme.spacings.s3);
15767
+ return styled.css(_templateObject6$e || (_templateObject6$e = _taggedTemplateLiteralLoose(["\n padding: ", " ", " ", "\n ", ";\n "])), theme.spacings.s2, theme.spacings.s1, theme.spacings.s2, theme.spacings.s3);
15358
15768
  }, function (_ref8) {
15359
15769
  var disabled = _ref8.disabled;
15360
15770
  if (!disabled) return;
15361
- return styled.css(_templateObject7$b || (_templateObject7$b = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
15771
+ return styled.css(_templateObject7$c || (_templateObject7$c = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
15362
15772
  });
15363
- var Button$4 = styled__default.button(_templateObject8$7 || (_templateObject8$7 = _taggedTemplateLiteralLoose(["\n display: flex;\n background-color: transparent;\n border: none;\n padding: 0;\n box-shadow: none;\n\n ", ";\n"])), function (_ref9) {
15773
+ var Button$4 = styled__default.button(_templateObject8$8 || (_templateObject8$8 = _taggedTemplateLiteralLoose(["\n display: flex;\n background-color: transparent;\n border: none;\n padding: 0;\n box-shadow: none;\n\n ", ";\n"])), function (_ref9) {
15364
15774
  var onClick = _ref9.onClick;
15365
15775
  if (!onClick) return;
15366
- return styled.css(_templateObject9$7 || (_templateObject9$7 = _taggedTemplateLiteralLoose(["\n :not(:disabled) {\n cursor: pointer;\n }\n "])));
15776
+ return styled.css(_templateObject9$8 || (_templateObject9$8 = _taggedTemplateLiteralLoose(["\n :not(:disabled) {\n cursor: pointer;\n }\n "])));
15367
15777
  });
15368
15778
  var LabelText$1 = styled__default.label(_templateObject10$5 || (_templateObject10$5 = _taggedTemplateLiteralLoose(["\n display: inline-block;\n margin-bottom: ", ";\n\n ", "\n"])), function (_ref10) {
15369
15779
  var theme = _ref10.theme;
@@ -15371,7 +15781,7 @@ var LabelText$1 = styled__default.label(_templateObject10$5 || (_templateObject1
15371
15781
  }, function (_ref11) {
15372
15782
  var required = _ref11.required;
15373
15783
  if (!required) return;
15374
- return styled.css(_templateObject11$4 || (_templateObject11$4 = _taggedTemplateLiteralLoose(["\n :after {\n content: ' *';\n }\n "])));
15784
+ return styled.css(_templateObject11$3 || (_templateObject11$3 = _taggedTemplateLiteralLoose(["\n :after {\n content: ' *';\n }\n "])));
15375
15785
  });
15376
15786
 
15377
15787
  var Component$1 = React__default.forwardRef(function (props, ref) {
@@ -15479,13 +15889,13 @@ var Component$1 = React__default.forwardRef(function (props, ref) {
15479
15889
  invalid: invalid
15480
15890
  }, props.label ? React__default.createElement(LabelText$1, {
15481
15891
  required: props.required ? 1 : 0
15482
- }, props.label, input) : input, React__default.createElement(Container$a, {
15892
+ }, props.label, input) : input, React__default.createElement(Container$9, {
15483
15893
  invalid: props.invalid ? 1 : 0,
15484
15894
  disabled: props.disabled ? 1 : 0,
15485
15895
  paddingless: props.paddingless ? 1 : 0,
15486
15896
  borderless: props.borderless ? 1 : 0
15487
15897
  }, function () {
15488
- var label = React__default.createElement(LabelContainer$3, {
15898
+ var label = React__default.createElement(LabelContainer$5, {
15489
15899
  onClick: onClick
15490
15900
  }, value.some(function (v) {
15491
15901
  return !isDateInstance(v);
@@ -15550,14 +15960,15 @@ var Component$1 = React__default.forwardRef(function (props, ref) {
15550
15960
  width: '165px',
15551
15961
  itemSpacing: 's3',
15552
15962
  bordered: true
15553
- }), React__default.createElement(CalendarInterval, {
15963
+ }), React__default.createElement(Calendar, {
15964
+ type: 'interval',
15965
+ absolute: true,
15554
15966
  open: open === 'calendar',
15555
- value: {
15556
- start: value[0],
15557
- end: value[1]
15558
- },
15967
+ initialValue: value,
15559
15968
  onSubmit: {
15560
- onClick: function onClick(start, end) {
15969
+ onClick: function onClick(_ref2) {
15970
+ var start = _ref2[0],
15971
+ end = _ref2[1];
15561
15972
  if (start === null || end === null) return;
15562
15973
  setValue([start, end]);
15563
15974
  setOpen(null);
@@ -15568,16 +15979,17 @@ var Component$1 = React__default.forwardRef(function (props, ref) {
15568
15979
  references: {
15569
15980
  bottom: '35px'
15570
15981
  },
15571
- time: {}
15982
+ time: props.time
15572
15983
  }));
15573
15984
  });
15574
15985
  Component$1.displayName = 'DatePicker';
15575
15986
 
15576
- var useDefaultDateIntervalState = function useDefaultDateIntervalState() {
15577
- var start = new Date();
15987
+ var useDefaultDateIntervalState = function useDefaultDateIntervalState(min, max) {
15988
+ var middle = getMiddle(min, max);
15989
+ var start = new Date(middle);
15578
15990
  start.setHours(0, 0, 0, 0);
15579
- var end = new Date();
15580
- end.setHours(23, 59, 59, 0);
15991
+ var end = new Date(middle);
15992
+ end.setHours(23, 59, 59, 999);
15581
15993
  return [start.toISOString(), end.toISOString()];
15582
15994
  };
15583
15995
 
@@ -15585,8 +15997,8 @@ var DatePicker$1 = Object.assign(Component$1, {
15585
15997
  useDefaultDateIntervalState: useDefaultDateIntervalState
15586
15998
  });
15587
15999
 
15588
- var _templateObject$r;
15589
- var Input$3 = styled__default.input(_templateObject$r || (_templateObject$r = _taggedTemplateLiteralLoose(["\n ", ";\n\n color: ", ";\n\n line-height: 17px;\n\n ::placeholder {\n color: ", ";\n\n line-height: 17px;\n ", ";\n opacity: 1;\n }\n\n display: block;\n box-sizing: border-box;\n flex: 1;\n min-width: ", ";\n\n padding: calc(", " / 2) 0;\n\n box-shadow: none;\n outline: none;\n border: 1px solid transparent;\n"])), function (_ref) {
16000
+ var _templateObject$t;
16001
+ var Input$3 = styled__default.input(_templateObject$t || (_templateObject$t = _taggedTemplateLiteralLoose(["\n ", ";\n\n color: ", ";\n\n line-height: 17px;\n\n ::placeholder {\n color: ", ";\n\n line-height: 17px;\n ", ";\n opacity: 1;\n }\n\n display: block;\n box-sizing: border-box;\n flex: 1;\n min-width: ", ";\n\n padding: calc(", " / 2) 0;\n\n box-shadow: none;\n outline: none;\n border: 1px solid transparent;\n"])), function (_ref) {
15590
16002
  var theme = _ref.theme;
15591
16003
  return theme.useTypography('p');
15592
16004
  }, function (_ref2) {
@@ -15649,22 +16061,22 @@ var Input$4 = React__default.forwardRef(function (props, ref) {
15649
16061
  });
15650
16062
  Input$4.displayName = 'Input';
15651
16063
 
15652
- var _templateObject$s, _templateObject2$m;
15653
- var Label$6 = styled__default.div(_templateObject$s || (_templateObject$s = _taggedTemplateLiteralLoose(["\n display: inline-block;\n margin-bottom: ", ";\n\n ", "\n"])), function (_ref) {
16064
+ var _templateObject$u, _templateObject2$o;
16065
+ var Label$6 = styled__default.div(_templateObject$u || (_templateObject$u = _taggedTemplateLiteralLoose(["\n display: inline-block;\n margin-bottom: ", ";\n\n ", "\n"])), function (_ref) {
15654
16066
  var theme = _ref.theme;
15655
16067
  return theme.spacings.s1;
15656
16068
  }, function (_ref2) {
15657
16069
  var required = _ref2.required;
15658
16070
  if (!required) return;
15659
- return styled.css(_templateObject2$m || (_templateObject2$m = _taggedTemplateLiteralLoose(["\n :after {\n content: ' *';\n }\n "])));
16071
+ return styled.css(_templateObject2$o || (_templateObject2$o = _taggedTemplateLiteralLoose(["\n :after {\n content: ' *';\n }\n "])));
15660
16072
  });
15661
16073
 
15662
16074
  var Label$7 = function Label(props) {
15663
16075
  return props.children ? React__default.createElement(Label$6, Object.assign({}, props)) : null;
15664
16076
  };
15665
16077
 
15666
- var _templateObject$t;
15667
- var Tag = styled__default.div(_templateObject$t || (_templateObject$t = _taggedTemplateLiteralLoose(["\n ", "\n line-height: 17px;\n\n background-color: ", ";\n color: ", ";\n padding: calc(", " / 2);\n\n border-style: solid;\n border-width: 1px;\n border-color: ", ";\n display: flex;\n align-items: center;\n gap: ", ";\n\n > div:last-child {\n cursor: pointer;\n }\n"])), function (_ref) {
16078
+ var _templateObject$v;
16079
+ var Tag = styled__default.div(_templateObject$v || (_templateObject$v = _taggedTemplateLiteralLoose(["\n ", "\n line-height: 17px;\n\n background-color: ", ";\n color: ", ";\n padding: calc(", " / 2);\n\n border-style: solid;\n border-width: 1px;\n border-color: ", ";\n display: flex;\n align-items: center;\n gap: ", ";\n\n > div:last-child {\n cursor: pointer;\n }\n"])), function (_ref) {
15668
16080
  var theme = _ref.theme;
15669
16081
  return theme.useTypography('p');
15670
16082
  }, function (_ref2) {
@@ -15697,8 +16109,8 @@ var Tag$1 = function Tag$1(props) {
15697
16109
  })));
15698
16110
  };
15699
16111
 
15700
- var _templateObject$u, _templateObject2$n, _templateObject3$k;
15701
- var Label$8 = styled__default.label(_templateObject$u || (_templateObject$u = _taggedTemplateLiteralLoose(["\n ", ";\n\n color: ", ";\n\n width: ", ";\n box-sizing: border-box;\n position: relative;\n display: block;\n\n ", "\n"])), function (_ref) {
16112
+ var _templateObject$w, _templateObject2$p, _templateObject3$l;
16113
+ var Label$8 = styled__default.label(_templateObject$w || (_templateObject$w = _taggedTemplateLiteralLoose(["\n ", ";\n\n color: ", ";\n\n width: ", ";\n box-sizing: border-box;\n position: relative;\n display: block;\n\n ", "\n"])), function (_ref) {
15702
16114
  var theme = _ref.theme;
15703
16115
  return theme.useTypography('p');
15704
16116
  }, function (_ref2) {
@@ -15710,9 +16122,9 @@ var Label$8 = styled__default.label(_templateObject$u || (_templateObject$u = _t
15710
16122
  }, function (_ref4) {
15711
16123
  var disabled = _ref4.disabled;
15712
16124
  if (!disabled) return;
15713
- return styled.css(_templateObject2$n || (_templateObject2$n = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
16125
+ return styled.css(_templateObject2$p || (_templateObject2$p = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
15714
16126
  });
15715
- var TagContainer = styled__default.div(_templateObject3$k || (_templateObject3$k = _taggedTemplateLiteralLoose(["\n border-width: 1px;\n border-style: solid;\n border-color: ", ";\n border-radius: 4px;\n display: flex;\n flex-wrap: wrap;\n gap: calc(", " / 2);\n padding: ", ";\n"])), function (_ref5) {
16127
+ var TagContainer = styled__default.div(_templateObject3$l || (_templateObject3$l = _taggedTemplateLiteralLoose(["\n border-width: 1px;\n border-style: solid;\n border-color: ", ";\n border-radius: 4px;\n display: flex;\n flex-wrap: wrap;\n gap: calc(", " / 2);\n padding: ", ";\n"])), function (_ref5) {
15716
16128
  var theme = _ref5.theme,
15717
16129
  invalid = _ref5.invalid;
15718
16130
  return theme.colors[invalid ? 'warningRed' : 'lightGrey'];
@@ -15792,8 +16204,8 @@ var Tags = React__default.forwardRef(function (props, ref) {
15792
16204
  });
15793
16205
  Tags.displayName = 'Tags';
15794
16206
 
15795
- var _templateObject$v;
15796
- var RelativeContainer$6 = styled__default.div(_templateObject$v || (_templateObject$v = _taggedTemplateLiteralLoose(["\n position: relative;\n"])));
16207
+ var _templateObject$x;
16208
+ var RelativeContainer$6 = styled__default.div(_templateObject$x || (_templateObject$x = _taggedTemplateLiteralLoose(["\n position: relative;\n"])));
15797
16209
 
15798
16210
  var isLeapYear$1 = function isLeapYear(year) {
15799
16211
  if (year % 4 !== 0) return false;else if (year % 100 !== 0) return true;else if (year % 400 !== 0) return false;else return true;
@@ -16060,8 +16472,10 @@ var DateTime = React__default.forwardRef(function (props, ref) {
16060
16472
  icon: icon,
16061
16473
  ref: ref
16062
16474
  })), React__default.createElement(Calendar, {
16475
+ type: 'single',
16476
+ absolute: true,
16063
16477
  open: open,
16064
- initalValue: value ? isoStringToDate(value) : undefined,
16478
+ initialValue: value ? isoStringToDate(value) : undefined,
16065
16479
  onSubmit: {
16066
16480
  onClick: function onClick(date) {
16067
16481
  if (!date) return;
@@ -16223,34 +16637,34 @@ var widths = {
16223
16637
  default: '642.5px'
16224
16638
  };
16225
16639
 
16226
- var _templateObject$w, _templateObject2$o, _templateObject3$l, _templateObject4$h, _templateObject5$g, _templateObject6$e, _templateObject7$c, _templateObject8$8, _templateObject9$8, _templateObject10$6;
16227
- var Background = styled__default.div(_templateObject$w || (_templateObject$w = _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) {
16640
+ var _templateObject$y, _templateObject2$q, _templateObject3$m, _templateObject4$i, _templateObject5$h, _templateObject6$f, _templateObject7$d, _templateObject8$9, _templateObject9$9, _templateObject10$6;
16641
+ var Background = styled__default.div(_templateObject$y || (_templateObject$y = _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) {
16228
16642
  var theme = _ref.theme;
16229
16643
  return theme.getColor('black', 25);
16230
16644
  });
16231
- var Content = styled__default.div(_templateObject2$o || (_templateObject2$o = _taggedTemplateLiteralLoose(["\n flex: 1;\n position: relative;\n"])));
16232
- var Header$3 = styled__default.div(_templateObject3$l || (_templateObject3$l = _taggedTemplateLiteralLoose(["\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n\n ", "\n"])), function (_ref2) {
16645
+ var Content = styled__default.div(_templateObject2$q || (_templateObject2$q = _taggedTemplateLiteralLoose(["\n flex: 1;\n position: relative;\n"])));
16646
+ var Header$3 = styled__default.div(_templateObject3$m || (_templateObject3$m = _taggedTemplateLiteralLoose(["\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n\n ", "\n"])), function (_ref2) {
16233
16647
  var _ref2$theme = _ref2.theme,
16234
16648
  colors = _ref2$theme.colors,
16235
16649
  spacings = _ref2$theme.spacings,
16236
16650
  useTypography = _ref2$theme.useTypography;
16237
- return styled.css(_templateObject4$h || (_templateObject4$h = _taggedTemplateLiteralLoose(["\n border-bottom: 1px solid ", ";\n padding: ", ";\n\n ", "\n "])), colors.lightestGrey, spacings.s4, useTypography('h1'));
16651
+ return styled.css(_templateObject4$i || (_templateObject4$i = _taggedTemplateLiteralLoose(["\n border-bottom: 1px solid ", ";\n padding: ", ";\n\n ", "\n "])), colors.lightestGrey, spacings.s4, useTypography('h1'));
16238
16652
  });
16239
- var Footer$2 = styled__default.div(_templateObject5$g || (_templateObject5$g = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n ", "\n"])), function (_ref3) {
16653
+ var Footer$2 = styled__default.div(_templateObject5$h || (_templateObject5$h = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n ", "\n"])), function (_ref3) {
16240
16654
  var _ref3$theme = _ref3.theme,
16241
16655
  spacings = _ref3$theme.spacings,
16242
16656
  colors = _ref3$theme.colors;
16243
- return styled.css(_templateObject6$e || (_templateObject6$e = _taggedTemplateLiteralLoose(["\n border-top: 1px solid ", ";\n padding: ", ";\n "])), colors.lightestGrey, spacings.s3);
16657
+ return styled.css(_templateObject6$f || (_templateObject6$f = _taggedTemplateLiteralLoose(["\n border-top: 1px solid ", ";\n padding: ", ";\n "])), colors.lightestGrey, spacings.s3);
16244
16658
  });
16245
- var FooterMessage = styled__default.div(_templateObject7$c || (_templateObject7$c = _taggedTemplateLiteralLoose(["\n max-width: 75%;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n\n span {\n font-size: 14px;\n color: ", ";\n }\n"])), function (_ref4) {
16659
+ var FooterMessage = styled__default.div(_templateObject7$d || (_templateObject7$d = _taggedTemplateLiteralLoose(["\n max-width: 75%;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n\n span {\n font-size: 14px;\n color: ", ";\n }\n"])), function (_ref4) {
16246
16660
  var theme = _ref4.theme;
16247
16661
  return theme.getColor('darkBlue', 75);
16248
16662
  });
16249
- var FooterButtons = styled__default.div(_templateObject8$8 || (_templateObject8$8 = _taggedTemplateLiteralLoose(["\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n gap: ", ";\n"])), function (_ref5) {
16663
+ var FooterButtons = styled__default.div(_templateObject8$9 || (_templateObject8$9 = _taggedTemplateLiteralLoose(["\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n gap: ", ";\n"])), function (_ref5) {
16250
16664
  var theme = _ref5.theme;
16251
16665
  return theme.spacings.s3;
16252
16666
  });
16253
- var Container$b = styled__default.div(_templateObject9$8 || (_templateObject9$8 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n\n ", "\n"])), function (_ref6) {
16667
+ var Container$a = styled__default.div(_templateObject9$9 || (_templateObject9$9 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n\n ", "\n"])), function (_ref6) {
16254
16668
  var theme = _ref6.theme,
16255
16669
  size = _ref6.size,
16256
16670
  customSize = _ref6.customSize,
@@ -16307,7 +16721,7 @@ var Modal = function Modal(props) {
16307
16721
  id: 'modal'
16308
16722
  }, React__default.createElement(Background, {
16309
16723
  onClick: onClickOutside
16310
- }, React__default.createElement(Container$b, {
16724
+ }, React__default.createElement(Container$a, {
16311
16725
  size: size || 'small',
16312
16726
  color: color || 'blue',
16313
16727
  inverted: +(inverted || false),
@@ -16332,8 +16746,8 @@ var Modal = function Modal(props) {
16332
16746
  }))))));
16333
16747
  };
16334
16748
 
16335
- var _templateObject$x;
16336
- var Content$1 = styled__default.div(_templateObject$x || (_templateObject$x = _taggedTemplateLiteralLoose(["\n padding: ", ";\n"])), function (_ref) {
16749
+ var _templateObject$z;
16750
+ var Content$1 = styled__default.div(_templateObject$z || (_templateObject$z = _taggedTemplateLiteralLoose(["\n padding: ", ";\n"])), function (_ref) {
16337
16751
  var theme = _ref.theme;
16338
16752
  return theme.spacings.s5 + " " + theme.spacings.s4;
16339
16753
  });
@@ -16370,8 +16784,8 @@ var ConfirmDelete = function ConfirmDelete(props) {
16370
16784
  }, React__default.createElement(Content$1, null, children || content));
16371
16785
  };
16372
16786
 
16373
- var _templateObject$y;
16374
- var Content$2 = styled__default.div(_templateObject$y || (_templateObject$y = _taggedTemplateLiteralLoose(["\n padding: ", ";\n"])), function (_ref) {
16787
+ var _templateObject$A;
16788
+ var Content$2 = styled__default.div(_templateObject$A || (_templateObject$A = _taggedTemplateLiteralLoose(["\n padding: ", ";\n"])), function (_ref) {
16375
16789
  var theme = _ref.theme;
16376
16790
  return theme.spacings.s5 + " " + theme.spacings.s4;
16377
16791
  });
@@ -16411,8 +16825,8 @@ var ConfirmSuccess = function ConfirmSuccess(props) {
16411
16825
  }, React__default.createElement(Content$2, null, children || content));
16412
16826
  };
16413
16827
 
16414
- var _templateObject$z;
16415
- var Content$3 = styled__default.div(_templateObject$z || (_templateObject$z = _taggedTemplateLiteralLoose(["\n padding: ", ";\n"])), function (_ref) {
16828
+ var _templateObject$B;
16829
+ var Content$3 = styled__default.div(_templateObject$B || (_templateObject$B = _taggedTemplateLiteralLoose(["\n padding: ", ";\n"])), function (_ref) {
16416
16830
  var theme = _ref.theme;
16417
16831
  return theme.spacings.s5 + " " + theme.spacings.s4;
16418
16832
  });
@@ -16453,23 +16867,23 @@ var Modal$1 = Object.assign(Modal, {
16453
16867
  Audit: Audit
16454
16868
  });
16455
16869
 
16456
- var _templateObject$A, _templateObject2$p, _templateObject3$m, _templateObject4$i, _templateObject5$h, _templateObject6$f, _templateObject7$d, _templateObject8$9, _templateObject9$9, _templateObject10$7;
16457
- var Container$c = 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) {
16458
- return props.size === 'mini' && styled.css(_templateObject2$p || (_templateObject2$p = _taggedTemplateLiteralLoose(["\n width: 394px;\n height: 99px;\n "])));
16870
+ var _templateObject$C, _templateObject2$r, _templateObject3$n, _templateObject4$j, _templateObject5$i, _templateObject6$g, _templateObject7$e, _templateObject8$a, _templateObject9$a, _templateObject10$7;
16871
+ var Container$b = styled__default.div(_templateObject$C || (_templateObject$C = _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) {
16872
+ return props.size === 'mini' && styled.css(_templateObject2$r || (_templateObject2$r = _taggedTemplateLiteralLoose(["\n width: 394px;\n height: 99px;\n "])));
16459
16873
  }, function (props) {
16460
- return props.size === 'small' && styled.css(_templateObject3$m || (_templateObject3$m = _taggedTemplateLiteralLoose(["\n width: 394px;\n height: 131px;\n "])));
16874
+ return props.size === 'small' && styled.css(_templateObject3$n || (_templateObject3$n = _taggedTemplateLiteralLoose(["\n width: 394px;\n height: 131px;\n "])));
16461
16875
  }, function (props) {
16462
- return props.size === 'medium' && styled.css(_templateObject4$i || (_templateObject4$i = _taggedTemplateLiteralLoose(["\n width: 394px;\n "])));
16876
+ return props.size === 'medium' && styled.css(_templateObject4$j || (_templateObject4$j = _taggedTemplateLiteralLoose(["\n width: 394px;\n "])));
16463
16877
  }, function (props) {
16464
- return props.size === 'big' && styled.css(_templateObject5$h || (_templateObject5$h = _taggedTemplateLiteralLoose(["\n width: 414px;\n height: 324px;\n "])));
16878
+ return props.size === 'big' && styled.css(_templateObject5$i || (_templateObject5$i = _taggedTemplateLiteralLoose(["\n width: 414px;\n height: 324px;\n "])));
16465
16879
  }, function (props) {
16466
- return props.borderType === 'info' && styled.css(_templateObject6$f || (_templateObject6$f = _taggedTemplateLiteralLoose(["\n border-left-color: #4d6dbe;\n "])));
16880
+ return props.borderType === 'info' && styled.css(_templateObject6$g || (_templateObject6$g = _taggedTemplateLiteralLoose(["\n border-left-color: #4d6dbe;\n "])));
16467
16881
  }, function (props) {
16468
- return props.borderType === 'success' && styled.css(_templateObject7$d || (_templateObject7$d = _taggedTemplateLiteralLoose(["\n border-left-color: #66bb6a;\n "])));
16882
+ return props.borderType === 'success' && styled.css(_templateObject7$e || (_templateObject7$e = _taggedTemplateLiteralLoose(["\n border-left-color: #66bb6a;\n "])));
16469
16883
  }, function (props) {
16470
- return props.borderType === 'warning' && styled.css(_templateObject8$9 || (_templateObject8$9 = _taggedTemplateLiteralLoose(["\n border-left-color: #fbcb01;\n "])));
16884
+ return props.borderType === 'warning' && styled.css(_templateObject8$a || (_templateObject8$a = _taggedTemplateLiteralLoose(["\n border-left-color: #fbcb01;\n "])));
16471
16885
  }, function (props) {
16472
- return props.borderType === 'danger' && styled.css(_templateObject9$9 || (_templateObject9$9 = _taggedTemplateLiteralLoose(["\n border-left-color: #e23851;\n "])));
16886
+ return props.borderType === 'danger' && styled.css(_templateObject9$a || (_templateObject9$a = _taggedTemplateLiteralLoose(["\n border-left-color: #e23851;\n "])));
16473
16887
  }, function (props) {
16474
16888
  return props.borderType === 'none' && styled.css(_templateObject10$7 || (_templateObject10$7 = _taggedTemplateLiteralLoose(["\n border: 1px solid #d4d4d5;\n "])));
16475
16889
  });
@@ -16480,24 +16894,24 @@ var Card = function Card(_ref) {
16480
16894
  var children = _ref.children,
16481
16895
  rest = _objectWithoutPropertiesLoose(_ref, _excluded$2);
16482
16896
 
16483
- return React__default.createElement(Container$c, Object.assign({}, rest), children);
16897
+ return React__default.createElement(Container$b, Object.assign({}, rest), children);
16484
16898
  };
16485
16899
 
16486
- var _templateObject$B, _templateObject2$q, _templateObject3$n, _templateObject4$j, _templateObject5$i, _templateObject6$g;
16487
- var Container$d = styled__default.div(_templateObject$B || (_templateObject$B = _taggedTemplateLiteralLoose(["\n border-radius: 4px;\n width: ", ";\n height: 88px;\n border: 1px solid transparent;\n position: relative;\n\n ", "\n\n ", "\n\n ", "\n\n svg {\n cursor: pointer;\n position: absolute;\n top: 14px;\n right: 14px;\n width: 13px;\n height: 13px;\n }\n"])), function (props) {
16900
+ var _templateObject$D, _templateObject2$s, _templateObject3$o, _templateObject4$k, _templateObject5$j, _templateObject6$h;
16901
+ var Container$c = styled__default.div(_templateObject$D || (_templateObject$D = _taggedTemplateLiteralLoose(["\n border-radius: 4px;\n width: ", ";\n height: 88px;\n border: 1px solid transparent;\n position: relative;\n\n ", "\n\n ", "\n\n ", "\n\n svg {\n cursor: pointer;\n position: absolute;\n top: 14px;\n right: 14px;\n width: 13px;\n height: 13px;\n }\n"])), function (props) {
16488
16902
  return props.size === 'large' ? '837px' : '460px';
16489
16903
  }, function (props) {
16490
- return props.color === 'success' && styled.css(_templateObject2$q || (_templateObject2$q = _taggedTemplateLiteralLoose(["\n background-color: #fcfff5;\n opacity: 1;\n border-color: #a8c599;\n h4 {\n color: #1e561f;\n }\n p {\n color: #1e561fcc;\n }\n "])));
16904
+ return props.color === 'success' && styled.css(_templateObject2$s || (_templateObject2$s = _taggedTemplateLiteralLoose(["\n background-color: #fcfff5;\n opacity: 1;\n border-color: #a8c599;\n h4 {\n color: #1e561f;\n }\n p {\n color: #1e561fcc;\n }\n "])));
16491
16905
  }, function (props) {
16492
- return props.color === 'error' && styled.css(_templateObject3$n || (_templateObject3$n = _taggedTemplateLiteralLoose(["\n background-color: #fff6f6;\n opacity: 1;\n border-color: #973937;\n h4 {\n color: #973937;\n }\n p {\n color: #973937;\n }\n "])));
16906
+ return props.color === 'error' && styled.css(_templateObject3$o || (_templateObject3$o = _taggedTemplateLiteralLoose(["\n background-color: #fff6f6;\n opacity: 1;\n border-color: #973937;\n h4 {\n color: #973937;\n }\n p {\n color: #973937;\n }\n "])));
16493
16907
  }, function (props) {
16494
- return props.color === 'warning' && styled.css(_templateObject4$j || (_templateObject4$j = _taggedTemplateLiteralLoose(["\n background-color: #fffaf3;\n opacity: 1;\n border-color: #ccbea0;\n h4 {\n color: #7a4d05;\n }\n p {\n color: #7a4d05cc;\n }\n "])));
16908
+ return props.color === 'warning' && styled.css(_templateObject4$k || (_templateObject4$k = _taggedTemplateLiteralLoose(["\n background-color: #fffaf3;\n opacity: 1;\n border-color: #ccbea0;\n h4 {\n color: #7a4d05;\n }\n p {\n color: #7a4d05cc;\n }\n "])));
16495
16909
  });
16496
- var IconContainer$2 = styled__default.div(_templateObject5$i || (_templateObject5$i = _taggedTemplateLiteralLoose(["\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n padding: 14px 14px 0 0;\n margin: 0;\n"])));
16497
- var IconContent = styled__default.div(_templateObject6$g || (_templateObject6$g = _taggedTemplateLiteralLoose(["\n width: 100%;\n padding: 13px 0 21px 28px;\n display: flex;\n flex: 1;\n flex-direction: column;\n\n h4 {\n margin-bottom: 7px;\n font-size: 18p;\n }\n p {\n margin: 0;\n font-size: 14px;\n max-width: 380px;\n }\n"])));
16910
+ var IconContainer$2 = styled__default.div(_templateObject5$j || (_templateObject5$j = _taggedTemplateLiteralLoose(["\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n padding: 14px 14px 0 0;\n margin: 0;\n"])));
16911
+ var IconContent = styled__default.div(_templateObject6$h || (_templateObject6$h = _taggedTemplateLiteralLoose(["\n width: 100%;\n padding: 13px 0 21px 28px;\n display: flex;\n flex: 1;\n flex-direction: column;\n\n h4 {\n margin-bottom: 7px;\n font-size: 18p;\n }\n p {\n margin: 0;\n font-size: 14px;\n max-width: 380px;\n }\n"])));
16498
16912
 
16499
16913
  var Toast = function Toast(props) {
16500
- return React__default.createElement(Container$d, Object.assign({}, props), React__default.createElement(IconContainer$2, null, React__default.createElement(Icon, {
16914
+ return React__default.createElement(Container$c, Object.assign({}, props), React__default.createElement(IconContainer$2, null, React__default.createElement(Icon, {
16501
16915
  type: 'feather',
16502
16916
  icon: 'x',
16503
16917
  onClick: function onClick() {
@@ -16506,28 +16920,28 @@ var Toast = function Toast(props) {
16506
16920
  })), React__default.createElement(IconContent, null, React__default.createElement("h4", null, props.title), React__default.createElement("p", null, " ", props.description)));
16507
16921
  };
16508
16922
 
16509
- var _templateObject$C, _templateObject2$r, _templateObject3$o, _templateObject4$k, _templateObject5$j, _templateObject6$h, _templateObject7$e, _templateObject8$a, _templateObject9$a, _templateObject10$8, _templateObject11$5;
16510
- var Container$e = styled__default.div(_templateObject$C || (_templateObject$C = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 300px;\n position: absolute;\n padding: 14px;\n"])));
16511
- var Header$4 = styled__default.div(_templateObject2$r || (_templateObject2$r = _taggedTemplateLiteralLoose(["\n display: flex;\n"])));
16512
- var HeaderImage = styled__default.div(_templateObject3$o || (_templateObject3$o = _taggedTemplateLiteralLoose(["\n width: 43px;\n height: 44px;\n background-color: #ebebeb;\n"])));
16513
- var HeaderContent = styled__default.div(_templateObject4$k || (_templateObject4$k = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n flex: 1;\n"])));
16514
- var MainContent = styled__default.div(_templateObject5$j || (_templateObject5$j = _taggedTemplateLiteralLoose(["\n margin-top: 8px;\n"])));
16515
- var HeaderLine = styled__default.div(_templateObject6$h || (_templateObject6$h = _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) {
16923
+ var _templateObject$E, _templateObject2$t, _templateObject3$p, _templateObject4$l, _templateObject5$k, _templateObject6$i, _templateObject7$f, _templateObject8$b, _templateObject9$b, _templateObject10$8, _templateObject11$4;
16924
+ var Container$d = styled__default.div(_templateObject$E || (_templateObject$E = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 300px;\n position: absolute;\n padding: 14px;\n"])));
16925
+ var Header$4 = styled__default.div(_templateObject2$t || (_templateObject2$t = _taggedTemplateLiteralLoose(["\n display: flex;\n"])));
16926
+ var HeaderImage = styled__default.div(_templateObject3$p || (_templateObject3$p = _taggedTemplateLiteralLoose(["\n width: 43px;\n height: 44px;\n background-color: #ebebeb;\n"])));
16927
+ var HeaderContent = styled__default.div(_templateObject4$l || (_templateObject4$l = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n flex: 1;\n"])));
16928
+ var MainContent = styled__default.div(_templateObject5$k || (_templateObject5$k = _taggedTemplateLiteralLoose(["\n margin-top: 8px;\n"])));
16929
+ var HeaderLine = styled__default.div(_templateObject6$i || (_templateObject6$i = _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) {
16516
16930
  return props.height;
16517
16931
  }, function (props) {
16518
- return props.size === 'mini' && styled.css(_templateObject7$e || (_templateObject7$e = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
16932
+ return props.size === 'mini' && styled.css(_templateObject7$f || (_templateObject7$f = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
16519
16933
  }, function (props) {
16520
- return props.size === 'small' && styled.css(_templateObject8$a || (_templateObject8$a = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
16934
+ return props.size === 'small' && styled.css(_templateObject8$b || (_templateObject8$b = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
16521
16935
  }, function (props) {
16522
- return props.size === 'medium' && styled.css(_templateObject9$a || (_templateObject9$a = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
16936
+ return props.size === 'medium' && styled.css(_templateObject9$b || (_templateObject9$b = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
16523
16937
  }, function (props) {
16524
16938
  return props.size === 'large' && styled.css(_templateObject10$8 || (_templateObject10$8 = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
16525
16939
  });
16526
- var MainLine = styled__default(HeaderLine)(_templateObject11$5 || (_templateObject11$5 = _taggedTemplateLiteralLoose(["\n margin-bottom: 14px;\n margin-left: 0;\n"])));
16940
+ var MainLine = styled__default(HeaderLine)(_templateObject11$4 || (_templateObject11$4 = _taggedTemplateLiteralLoose(["\n margin-bottom: 14px;\n margin-left: 0;\n"])));
16527
16941
 
16528
16942
  var Template1 = function Template1(props) {
16529
16943
  if (!props.loading) return React__default.createElement(React__default.Fragment, null);
16530
- return React__default.createElement(Container$e, null, React__default.createElement(Header$4, null, React__default.createElement(HeaderImage, null), React__default.createElement(HeaderContent, null, React__default.createElement(HeaderLine, {
16944
+ return React__default.createElement(Container$d, null, React__default.createElement(Header$4, null, React__default.createElement(HeaderImage, null), React__default.createElement(HeaderContent, null, React__default.createElement(HeaderLine, {
16531
16945
  size: 'medium',
16532
16946
  height: '9px',
16533
16947
  color: '#E6E6E6'
@@ -16558,28 +16972,28 @@ var Template1 = function Template1(props) {
16558
16972
  })));
16559
16973
  };
16560
16974
 
16561
- var _templateObject$D, _templateObject2$s, _templateObject3$p, _templateObject4$l, _templateObject5$k;
16562
- var HeaderLine$1 = styled__default.div(_templateObject$D || (_templateObject$D = _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) {
16975
+ var _templateObject$F, _templateObject2$u, _templateObject3$q, _templateObject4$m, _templateObject5$l;
16976
+ var HeaderLine$1 = styled__default.div(_templateObject$F || (_templateObject$F = _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) {
16563
16977
  return props.height;
16564
16978
  }, function (props) {
16565
- return props.size === 'mini' && styled.css(_templateObject2$s || (_templateObject2$s = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
16979
+ return props.size === 'mini' && styled.css(_templateObject2$u || (_templateObject2$u = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
16566
16980
  }, function (props) {
16567
- return props.size === 'small' && styled.css(_templateObject3$p || (_templateObject3$p = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
16981
+ return props.size === 'small' && styled.css(_templateObject3$q || (_templateObject3$q = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
16568
16982
  }, function (props) {
16569
- return props.size === 'medium' && styled.css(_templateObject4$l || (_templateObject4$l = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
16983
+ return props.size === 'medium' && styled.css(_templateObject4$m || (_templateObject4$m = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
16570
16984
  }, function (props) {
16571
- return props.size === 'large' && styled.css(_templateObject5$k || (_templateObject5$k = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
16985
+ return props.size === 'large' && styled.css(_templateObject5$l || (_templateObject5$l = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
16572
16986
  });
16573
16987
 
16574
- var _templateObject$E, _templateObject2$t, _templateObject3$q, _templateObject4$m, _templateObject5$l, _templateObject6$i, _templateObject7$f, _templateObject8$b;
16575
- var Container$f = styled__default.div(_templateObject$E || (_templateObject$E = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-height: 100%;\n position: absolute;\n padding: 14px;\n"])));
16576
- var Template2Container = styled__default(Container$f)(_templateObject2$t || (_templateObject2$t = _taggedTemplateLiteralLoose(["\n background: #fff;\n border: 2px solid #ebebeb;\n"])));
16577
- var Header$5 = styled__default.div(_templateObject3$q || (_templateObject3$q = _taggedTemplateLiteralLoose(["\n display: flex;\n"])));
16578
- var HeaderImage$1 = styled__default.div(_templateObject4$m || (_templateObject4$m = _taggedTemplateLiteralLoose(["\n width: 43px;\n height: 44px;\n background-color: #ebebeb;\n"])));
16579
- var HeaderContent$1 = styled__default.div(_templateObject5$l || (_templateObject5$l = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n flex: 1;\n"])));
16580
- var MainContent$1 = styled__default.div(_templateObject6$i || (_templateObject6$i = _taggedTemplateLiteralLoose(["\n margin-top: 8px;\n"])));
16581
- var MainLine$1 = styled__default(HeaderLine$1)(_templateObject7$f || (_templateObject7$f = _taggedTemplateLiteralLoose(["\n margin-bottom: 14px;\n margin-left: 0;\n"])));
16582
- var HeaderLine$2 = styled__default(HeaderLine$1)(_templateObject8$b || (_templateObject8$b = _taggedTemplateLiteralLoose([""])));
16988
+ var _templateObject$G, _templateObject2$v, _templateObject3$r, _templateObject4$n, _templateObject5$m, _templateObject6$j, _templateObject7$g, _templateObject8$c;
16989
+ var Container$e = styled__default.div(_templateObject$G || (_templateObject$G = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-height: 100%;\n position: absolute;\n padding: 14px;\n"])));
16990
+ var Template2Container = styled__default(Container$e)(_templateObject2$v || (_templateObject2$v = _taggedTemplateLiteralLoose(["\n background: #fff;\n border: 2px solid #ebebeb;\n"])));
16991
+ var Header$5 = styled__default.div(_templateObject3$r || (_templateObject3$r = _taggedTemplateLiteralLoose(["\n display: flex;\n"])));
16992
+ var HeaderImage$1 = styled__default.div(_templateObject4$n || (_templateObject4$n = _taggedTemplateLiteralLoose(["\n width: 43px;\n height: 44px;\n background-color: #ebebeb;\n"])));
16993
+ var HeaderContent$1 = styled__default.div(_templateObject5$m || (_templateObject5$m = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n flex: 1;\n"])));
16994
+ var MainContent$1 = styled__default.div(_templateObject6$j || (_templateObject6$j = _taggedTemplateLiteralLoose(["\n margin-top: 8px;\n"])));
16995
+ var MainLine$1 = styled__default(HeaderLine$1)(_templateObject7$g || (_templateObject7$g = _taggedTemplateLiteralLoose(["\n margin-bottom: 14px;\n margin-left: 0;\n"])));
16996
+ var HeaderLine$2 = styled__default(HeaderLine$1)(_templateObject8$c || (_templateObject8$c = _taggedTemplateLiteralLoose([""])));
16583
16997
 
16584
16998
  var Template2 = function Template2(props) {
16585
16999
  if (!props.loading) return React__default.createElement(React__default.Fragment, null);
@@ -16602,10 +17016,10 @@ var Template2 = function Template2(props) {
16602
17016
  })));
16603
17017
  };
16604
17018
 
16605
- var _templateObject$F, _templateObject2$u, _templateObject3$r;
16606
- var Container$g = styled__default.div(_templateObject$F || (_templateObject$F = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-height: 100%;\n position: absolute;\n padding: 14px;\n"])));
16607
- var Template3Container = styled__default(Container$g)(_templateObject2$u || (_templateObject2$u = _taggedTemplateLiteralLoose([""])));
16608
- var Template3Line = styled__default(HeaderLine$1)(_templateObject3$r || (_templateObject3$r = _taggedTemplateLiteralLoose(["\n background-color: #dadada;\n height: ", ";\n"])), function (props) {
17019
+ var _templateObject$H, _templateObject2$w, _templateObject3$s;
17020
+ var Container$f = styled__default.div(_templateObject$H || (_templateObject$H = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-height: 100%;\n position: absolute;\n padding: 14px;\n"])));
17021
+ var Template3Container = styled__default(Container$f)(_templateObject2$w || (_templateObject2$w = _taggedTemplateLiteralLoose([""])));
17022
+ var Template3Line = styled__default(HeaderLine$1)(_templateObject3$s || (_templateObject3$s = _taggedTemplateLiteralLoose(["\n background-color: #dadada;\n height: ", ";\n"])), function (props) {
16609
17023
  return props.height;
16610
17024
  });
16611
17025
 
@@ -16634,21 +17048,21 @@ var Template3 = function Template3(props) {
16634
17048
  }));
16635
17049
  };
16636
17050
 
16637
- var _templateObject$G, _templateObject2$v, _templateObject3$s, _templateObject4$n, _templateObject5$m, _templateObject6$j, _templateObject7$g, _templateObject8$c;
16638
- var Container$h = styled__default.div(_templateObject$G || (_templateObject$G = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-height: 100%;\n position: absolute;\n padding: 14px;\n"])));
16639
- var HeaderLine$3 = styled__default.div(_templateObject2$v || (_templateObject2$v = _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) {
17051
+ var _templateObject$I, _templateObject2$x, _templateObject3$t, _templateObject4$o, _templateObject5$n, _templateObject6$k, _templateObject7$h, _templateObject8$d;
17052
+ var Container$g = styled__default.div(_templateObject$I || (_templateObject$I = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-height: 100%;\n position: absolute;\n padding: 14px;\n"])));
17053
+ var HeaderLine$3 = styled__default.div(_templateObject2$x || (_templateObject2$x = _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) {
16640
17054
  return props.height;
16641
17055
  }, function (props) {
16642
- return props.size === 'mini' && styled.css(_templateObject3$s || (_templateObject3$s = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
17056
+ return props.size === 'mini' && styled.css(_templateObject3$t || (_templateObject3$t = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
16643
17057
  }, function (props) {
16644
- return props.size === 'small' && styled.css(_templateObject4$n || (_templateObject4$n = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
17058
+ return props.size === 'small' && styled.css(_templateObject4$o || (_templateObject4$o = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
16645
17059
  }, function (props) {
16646
- return props.size === 'medium' && styled.css(_templateObject5$m || (_templateObject5$m = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
17060
+ return props.size === 'medium' && styled.css(_templateObject5$n || (_templateObject5$n = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
16647
17061
  }, function (props) {
16648
- return props.size === 'large' && styled.css(_templateObject6$j || (_templateObject6$j = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
17062
+ return props.size === 'large' && styled.css(_templateObject6$k || (_templateObject6$k = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
16649
17063
  });
16650
- var Template4Container = styled__default(Container$h)(_templateObject7$g || (_templateObject7$g = _taggedTemplateLiteralLoose(["\n border: 1px solid #e6e6e7;\n border-radius: 4px;\n"])));
16651
- var CustomLine = styled__default(HeaderLine$3)(_templateObject8$c || (_templateObject8$c = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n"])), function (props) {
17064
+ var Template4Container = styled__default(Container$g)(_templateObject7$h || (_templateObject7$h = _taggedTemplateLiteralLoose(["\n border: 1px solid #e6e6e7;\n border-radius: 4px;\n"])));
17065
+ var CustomLine = styled__default(HeaderLine$3)(_templateObject8$d || (_templateObject8$d = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n"])), function (props) {
16652
17066
  return props.width;
16653
17067
  }, function (props) {
16654
17068
  return props.height;
@@ -16701,32 +17115,32 @@ var Template4 = function Template4(props) {
16701
17115
  }));
16702
17116
  };
16703
17117
 
16704
- var _templateObject$H, _templateObject2$w, _templateObject3$t, _templateObject4$o, _templateObject5$n, _templateObject6$k, _templateObject7$h, _templateObject8$d, _templateObject9$b;
16705
- var Container$i = styled__default.div(_templateObject$H || (_templateObject$H = _taggedTemplateLiteralLoose(["\n position: absolute;\n width: 746px;\n height: 169px;\n border: 1px solid #e6e6e7;\n border-radius: 4px;\n padding: 14px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n"])));
16706
- var Circle = styled__default.div(_templateObject2$w || (_templateObject2$w = _taggedTemplateLiteralLoose(["\n width: 141px;\n height: 141px;\n background-color: #dddedf;\n border-radius: 50%;\n"])));
16707
- var HeaderLine$4 = styled__default.div(_templateObject3$t || (_templateObject3$t = _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) {
17118
+ var _templateObject$J, _templateObject2$y, _templateObject3$u, _templateObject4$p, _templateObject5$o, _templateObject6$l, _templateObject7$i, _templateObject8$e, _templateObject9$c;
17119
+ var Container$h = styled__default.div(_templateObject$J || (_templateObject$J = _taggedTemplateLiteralLoose(["\n position: absolute;\n width: 746px;\n height: 169px;\n border: 1px solid #e6e6e7;\n border-radius: 4px;\n padding: 14px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n"])));
17120
+ var Circle = styled__default.div(_templateObject2$y || (_templateObject2$y = _taggedTemplateLiteralLoose(["\n width: 141px;\n height: 141px;\n background-color: #dddedf;\n border-radius: 50%;\n"])));
17121
+ var HeaderLine$4 = styled__default.div(_templateObject3$u || (_templateObject3$u = _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) {
16708
17122
  return props.height;
16709
17123
  }, function (props) {
16710
- return props.size === 'mini' && styled.css(_templateObject4$o || (_templateObject4$o = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
17124
+ return props.size === 'mini' && styled.css(_templateObject4$p || (_templateObject4$p = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
16711
17125
  }, function (props) {
16712
- return props.size === 'small' && styled.css(_templateObject5$n || (_templateObject5$n = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
17126
+ return props.size === 'small' && styled.css(_templateObject5$o || (_templateObject5$o = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
16713
17127
  }, function (props) {
16714
- return props.size === 'medium' && styled.css(_templateObject6$k || (_templateObject6$k = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
17128
+ return props.size === 'medium' && styled.css(_templateObject6$l || (_templateObject6$l = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
16715
17129
  }, function (props) {
16716
- return props.size === 'large' && styled.css(_templateObject7$h || (_templateObject7$h = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
17130
+ return props.size === 'large' && styled.css(_templateObject7$i || (_templateObject7$i = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
16717
17131
  });
16718
- var CustomLine$1 = styled__default(HeaderLine$4)(_templateObject8$d || (_templateObject8$d = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n"])), function (props) {
17132
+ var CustomLine$1 = styled__default(HeaderLine$4)(_templateObject8$e || (_templateObject8$e = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n"])), function (props) {
16719
17133
  return props.width;
16720
17134
  }, function (props) {
16721
17135
  return props.height;
16722
17136
  }, function (props) {
16723
17137
  return props.color;
16724
17138
  });
16725
- var MainContent$2 = styled__default.div(_templateObject9$b || (_templateObject9$b = _taggedTemplateLiteralLoose(["\n flex: 1;\n margin-left: 35px;\n"])));
17139
+ var MainContent$2 = styled__default.div(_templateObject9$c || (_templateObject9$c = _taggedTemplateLiteralLoose(["\n flex: 1;\n margin-left: 35px;\n"])));
16726
17140
 
16727
17141
  var Template5 = function Template5(props) {
16728
17142
  if (!props.loading) return React__default.createElement(React__default.Fragment, null);
16729
- return React__default.createElement(Container$i, null, React__default.createElement(Circle, null), React__default.createElement(MainContent$2, null, React__default.createElement(CustomLine$1, {
17143
+ return React__default.createElement(Container$h, null, React__default.createElement(Circle, null), React__default.createElement(MainContent$2, null, React__default.createElement(CustomLine$1, {
16730
17144
  width: '406px',
16731
17145
  height: '16px',
16732
17146
  color: '#DDDEDF',
@@ -16749,22 +17163,22 @@ var Template5 = function Template5(props) {
16749
17163
  })));
16750
17164
  };
16751
17165
 
16752
- var _templateObject$I, _templateObject2$x, _templateObject3$u, _templateObject4$p, _templateObject5$o, _templateObject6$l, _templateObject7$i, _templateObject8$e, _templateObject9$c;
16753
- var Container$j = styled__default.div(_templateObject$I || (_templateObject$I = _taggedTemplateLiteralLoose(["\n width: 395px;\n\n display: flex;\n align-items: center;\n justify-content: space-between;\n background-color: #f5f5f5;\n"])));
16754
- var Header$6 = styled__default.div(_templateObject2$x || (_templateObject2$x = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 14px;\n"])));
16755
- var Footer$3 = styled__default.div(_templateObject3$u || (_templateObject3$u = _taggedTemplateLiteralLoose(["\n width: 100%;\n border-top: 1px solid #b1b1b3;\n height: 50px;\n"])));
16756
- var HeaderLine$5 = styled__default.div(_templateObject4$p || (_templateObject4$p = _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) {
17166
+ var _templateObject$K, _templateObject2$z, _templateObject3$v, _templateObject4$q, _templateObject5$p, _templateObject6$m, _templateObject7$j, _templateObject8$f, _templateObject9$d;
17167
+ var Container$i = styled__default.div(_templateObject$K || (_templateObject$K = _taggedTemplateLiteralLoose(["\n width: 395px;\n\n display: flex;\n align-items: center;\n justify-content: space-between;\n background-color: #f5f5f5;\n"])));
17168
+ var Header$6 = styled__default.div(_templateObject2$z || (_templateObject2$z = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 14px;\n"])));
17169
+ var Footer$3 = styled__default.div(_templateObject3$v || (_templateObject3$v = _taggedTemplateLiteralLoose(["\n width: 100%;\n border-top: 1px solid #b1b1b3;\n height: 50px;\n"])));
17170
+ var HeaderLine$5 = styled__default.div(_templateObject4$q || (_templateObject4$q = _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) {
16757
17171
  return props.height;
16758
17172
  }, function (props) {
16759
- return props.size === 'mini' && styled.css(_templateObject5$o || (_templateObject5$o = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
17173
+ return props.size === 'mini' && styled.css(_templateObject5$p || (_templateObject5$p = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
16760
17174
  }, function (props) {
16761
- return props.size === 'small' && styled.css(_templateObject6$l || (_templateObject6$l = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
17175
+ return props.size === 'small' && styled.css(_templateObject6$m || (_templateObject6$m = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
16762
17176
  }, function (props) {
16763
- return props.size === 'medium' && styled.css(_templateObject7$i || (_templateObject7$i = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
17177
+ return props.size === 'medium' && styled.css(_templateObject7$j || (_templateObject7$j = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
16764
17178
  }, function (props) {
16765
- return props.size === 'large' && styled.css(_templateObject8$e || (_templateObject8$e = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
17179
+ return props.size === 'large' && styled.css(_templateObject8$f || (_templateObject8$f = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
16766
17180
  });
16767
- var CustomLine$2 = styled__default(HeaderLine$5)(_templateObject9$c || (_templateObject9$c = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n border: 1px solid #dedede5e;\n"])), function (props) {
17181
+ var CustomLine$2 = styled__default(HeaderLine$5)(_templateObject9$d || (_templateObject9$d = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n border: 1px solid #dedede5e;\n"])), function (props) {
16768
17182
  return props.width;
16769
17183
  }, function (props) {
16770
17184
  return props.height;
@@ -16774,7 +17188,7 @@ var CustomLine$2 = styled__default(HeaderLine$5)(_templateObject9$c || (_templat
16774
17188
 
16775
17189
  var Template6 = function Template6(props) {
16776
17190
  if (!props.loading) return React__default.createElement(React__default.Fragment, null);
16777
- return React__default.createElement(Container$j, null, React__default.createElement(Header$6, null, React__default.createElement(CustomLine$2, {
17191
+ return React__default.createElement(Container$i, null, React__default.createElement(Header$6, null, React__default.createElement(CustomLine$2, {
16778
17192
  width: '274px',
16779
17193
  height: '10px',
16780
17194
  color: '#EBEBEB',
@@ -16792,71 +17206,71 @@ var Template6 = function Template6(props) {
16792
17206
  })));
16793
17207
  };
16794
17208
 
16795
- var _templateObject$J, _templateObject2$y, _templateObject3$v, _templateObject4$q, _templateObject5$p, _templateObject6$m, _templateObject7$j, _templateObject8$f, _templateObject9$d, _templateObject10$9;
16796
- var Container$k = styled__default.div(_templateObject$J || (_templateObject$J = _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"])));
16797
- var Header$7 = styled__default.div(_templateObject2$y || (_templateObject2$y = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 14px;\n width: 100%;\n"])));
16798
- var HeaderLine$6 = styled__default.div(_templateObject3$v || (_templateObject3$v = _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) {
17209
+ var _templateObject$L, _templateObject2$A, _templateObject3$w, _templateObject4$r, _templateObject5$q, _templateObject6$n, _templateObject7$k, _templateObject8$g, _templateObject9$e, _templateObject10$9;
17210
+ var Container$j = styled__default.div(_templateObject$L || (_templateObject$L = _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"])));
17211
+ var Header$7 = styled__default.div(_templateObject2$A || (_templateObject2$A = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 14px;\n width: 100%;\n"])));
17212
+ var HeaderLine$6 = styled__default.div(_templateObject3$w || (_templateObject3$w = _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) {
16799
17213
  return props.height;
16800
17214
  }, function (props) {
16801
- return props.size === 'mini' && styled.css(_templateObject4$q || (_templateObject4$q = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
17215
+ return props.size === 'mini' && styled.css(_templateObject4$r || (_templateObject4$r = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
16802
17216
  }, function (props) {
16803
- return props.size === 'small' && styled.css(_templateObject5$p || (_templateObject5$p = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
17217
+ return props.size === 'small' && styled.css(_templateObject5$q || (_templateObject5$q = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
16804
17218
  }, function (props) {
16805
- return props.size === 'medium' && styled.css(_templateObject6$m || (_templateObject6$m = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
17219
+ return props.size === 'medium' && styled.css(_templateObject6$n || (_templateObject6$n = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
16806
17220
  }, function (props) {
16807
- return props.size === 'large' && styled.css(_templateObject7$j || (_templateObject7$j = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
17221
+ return props.size === 'large' && styled.css(_templateObject7$k || (_templateObject7$k = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
16808
17222
  });
16809
- var CustomLine$3 = styled__default(HeaderLine$6)(_templateObject8$f || (_templateObject8$f = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n border: 1px solid #dedede5e;\n"])), function (props) {
17223
+ var CustomLine$3 = styled__default(HeaderLine$6)(_templateObject8$g || (_templateObject8$g = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n border: 1px solid #dedede5e;\n"])), function (props) {
16810
17224
  return props.width;
16811
17225
  }, function (props) {
16812
17226
  return props.height;
16813
17227
  }, function (props) {
16814
17228
  return props.color;
16815
17229
  });
16816
- var Main = styled__default.div(_templateObject9$d || (_templateObject9$d = _taggedTemplateLiteralLoose(["\n margin: 10px 0;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-evenly;\n"])));
17230
+ var Main$2 = styled__default.div(_templateObject9$e || (_templateObject9$e = _taggedTemplateLiteralLoose(["\n margin: 10px 0;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-evenly;\n"])));
16817
17231
  var Circle$1 = styled__default.div(_templateObject10$9 || (_templateObject10$9 = _taggedTemplateLiteralLoose(["\n width: 30px;\n height: 30px;\n background-color: #ebebeb;\n border-radius: 50%;\n margin: 0 16px;\n"])));
16818
17232
 
16819
17233
  var Template7 = function Template7(props) {
16820
17234
  if (!props.loading) return React__default.createElement(React__default.Fragment, null);
16821
- return React__default.createElement(Container$k, null, React__default.createElement(Header$7, null, React__default.createElement(CustomLine$3, {
17235
+ return React__default.createElement(Container$j, null, React__default.createElement(Header$7, null, React__default.createElement(CustomLine$3, {
16822
17236
  width: '89px',
16823
17237
  height: '10px',
16824
17238
  color: '#EBEBEB',
16825
17239
  size: 'large'
16826
- })), React__default.createElement(Main, null, React__default.createElement(Circle$1, null), React__default.createElement(Circle$1, null), React__default.createElement(Circle$1, null), React__default.createElement(Circle$1, null), React__default.createElement(Circle$1, null)));
17240
+ })), React__default.createElement(Main$2, null, React__default.createElement(Circle$1, null), React__default.createElement(Circle$1, null), React__default.createElement(Circle$1, null), React__default.createElement(Circle$1, null), React__default.createElement(Circle$1, null)));
16827
17241
  };
16828
17242
 
16829
- var _templateObject$K, _templateObject2$z, _templateObject3$w, _templateObject4$r, _templateObject5$q, _templateObject6$n, _templateObject7$k, _templateObject8$g, _templateObject9$e;
16830
- var Container$l = styled__default.div(_templateObject$K || (_templateObject$K = _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"])));
16831
- var Header$8 = styled__default.div(_templateObject2$z || (_templateObject2$z = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 14px;\n width: 100%;\n"])));
16832
- var HeaderLine$7 = styled__default.div(_templateObject3$w || (_templateObject3$w = _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) {
17243
+ var _templateObject$M, _templateObject2$B, _templateObject3$x, _templateObject4$s, _templateObject5$r, _templateObject6$o, _templateObject7$l, _templateObject8$h, _templateObject9$f;
17244
+ var Container$k = styled__default.div(_templateObject$M || (_templateObject$M = _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"])));
17245
+ var Header$8 = styled__default.div(_templateObject2$B || (_templateObject2$B = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 14px;\n width: 100%;\n"])));
17246
+ var HeaderLine$7 = styled__default.div(_templateObject3$x || (_templateObject3$x = _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) {
16833
17247
  return props.height;
16834
17248
  }, function (props) {
16835
- return props.size === 'mini' && styled.css(_templateObject4$r || (_templateObject4$r = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
17249
+ return props.size === 'mini' && styled.css(_templateObject4$s || (_templateObject4$s = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
16836
17250
  }, function (props) {
16837
- return props.size === 'small' && styled.css(_templateObject5$q || (_templateObject5$q = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
17251
+ return props.size === 'small' && styled.css(_templateObject5$r || (_templateObject5$r = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
16838
17252
  }, function (props) {
16839
- return props.size === 'medium' && styled.css(_templateObject6$n || (_templateObject6$n = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
17253
+ return props.size === 'medium' && styled.css(_templateObject6$o || (_templateObject6$o = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
16840
17254
  }, function (props) {
16841
- return props.size === 'large' && styled.css(_templateObject7$k || (_templateObject7$k = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
17255
+ return props.size === 'large' && styled.css(_templateObject7$l || (_templateObject7$l = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
16842
17256
  });
16843
- var CustomLine$4 = styled__default(HeaderLine$7)(_templateObject8$g || (_templateObject8$g = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n border: 1px solid #dedede5e;\n"])), function (props) {
17257
+ var CustomLine$4 = styled__default(HeaderLine$7)(_templateObject8$h || (_templateObject8$h = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n border: 1px solid #dedede5e;\n"])), function (props) {
16844
17258
  return props.width;
16845
17259
  }, function (props) {
16846
17260
  return props.height;
16847
17261
  }, function (props) {
16848
17262
  return props.color;
16849
17263
  });
16850
- var Main$1 = styled__default.div(_templateObject9$e || (_templateObject9$e = _taggedTemplateLiteralLoose(["\n padding: 14px;\n width: 100%;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n"])));
17264
+ var Main$3 = styled__default.div(_templateObject9$f || (_templateObject9$f = _taggedTemplateLiteralLoose(["\n padding: 14px;\n width: 100%;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n"])));
16851
17265
 
16852
17266
  var Template8 = function Template8(props) {
16853
17267
  if (!props.loading) return React__default.createElement(React__default.Fragment, null);
16854
- return React__default.createElement(Container$l, null, React__default.createElement(Header$8, null, React__default.createElement(CustomLine$4, {
17268
+ return React__default.createElement(Container$k, null, React__default.createElement(Header$8, null, React__default.createElement(CustomLine$4, {
16855
17269
  width: '89px',
16856
17270
  height: '10px',
16857
17271
  color: '#EBEBEB',
16858
17272
  size: 'large'
16859
- })), React__default.createElement(Main$1, null, React__default.createElement(CustomLine$4, {
17273
+ })), React__default.createElement(Main$3, null, React__default.createElement(CustomLine$4, {
16860
17274
  width: '217px',
16861
17275
  height: '10px',
16862
17276
  color: '#EBEBEB',
@@ -16869,33 +17283,33 @@ var Template8 = function Template8(props) {
16869
17283
  })));
16870
17284
  };
16871
17285
 
16872
- var _templateObject$L, _templateObject2$A, _templateObject3$x, _templateObject4$s, _templateObject5$r, _templateObject6$o, _templateObject7$l, _templateObject8$h, _templateObject9$f, _templateObject10$a;
16873
- var Container$m = styled__default.div(_templateObject$L || (_templateObject$L = _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"])));
16874
- var Header$9 = styled__default.div(_templateObject2$A || (_templateObject2$A = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 14px;\n width: 100%;\n"])));
16875
- var HeaderLine$8 = styled__default.div(_templateObject3$x || (_templateObject3$x = _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) {
17286
+ var _templateObject$N, _templateObject2$C, _templateObject3$y, _templateObject4$t, _templateObject5$s, _templateObject6$p, _templateObject7$m, _templateObject8$i, _templateObject9$g, _templateObject10$a;
17287
+ var Container$l = styled__default.div(_templateObject$N || (_templateObject$N = _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"])));
17288
+ var Header$9 = styled__default.div(_templateObject2$C || (_templateObject2$C = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 14px;\n width: 100%;\n"])));
17289
+ var HeaderLine$8 = styled__default.div(_templateObject3$y || (_templateObject3$y = _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) {
16876
17290
  return props.height;
16877
17291
  }, function (props) {
16878
- return props.size === 'mini' && styled.css(_templateObject4$s || (_templateObject4$s = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
17292
+ return props.size === 'mini' && styled.css(_templateObject4$t || (_templateObject4$t = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
16879
17293
  }, function (props) {
16880
- return props.size === 'small' && styled.css(_templateObject5$r || (_templateObject5$r = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
17294
+ return props.size === 'small' && styled.css(_templateObject5$s || (_templateObject5$s = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
16881
17295
  }, function (props) {
16882
- return props.size === 'medium' && styled.css(_templateObject6$o || (_templateObject6$o = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
17296
+ return props.size === 'medium' && styled.css(_templateObject6$p || (_templateObject6$p = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
16883
17297
  }, function (props) {
16884
- return props.size === 'large' && styled.css(_templateObject7$l || (_templateObject7$l = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
17298
+ return props.size === 'large' && styled.css(_templateObject7$m || (_templateObject7$m = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
16885
17299
  });
16886
- var CustomLine$5 = styled__default(HeaderLine$8)(_templateObject8$h || (_templateObject8$h = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n border: 1px solid #dedede5e;\n"])), function (props) {
17300
+ var CustomLine$5 = styled__default(HeaderLine$8)(_templateObject8$i || (_templateObject8$i = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n border: 1px solid #dedede5e;\n"])), function (props) {
16887
17301
  return props.width;
16888
17302
  }, function (props) {
16889
17303
  return props.height;
16890
17304
  }, function (props) {
16891
17305
  return props.color;
16892
17306
  });
16893
- var Main$2 = styled__default.div(_templateObject9$f || (_templateObject9$f = _taggedTemplateLiteralLoose(["\n padding: 14px;\n width: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"])));
17307
+ var Main$4 = styled__default.div(_templateObject9$g || (_templateObject9$g = _taggedTemplateLiteralLoose(["\n padding: 14px;\n width: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"])));
16894
17308
  var Circle$2 = styled__default.div(_templateObject10$a || (_templateObject10$a = _taggedTemplateLiteralLoose(["\n width: 128px;\n height: 128px;\n background-color: #ebebeb;\n border-radius: 50%;\n"])));
16895
17309
 
16896
17310
  var Template8$1 = function Template8(props) {
16897
17311
  if (!props.loading) return React__default.createElement(React__default.Fragment, null);
16898
- return React__default.createElement(Container$m, null, React__default.createElement(Header$9, null, React__default.createElement(CustomLine$5, {
17312
+ return React__default.createElement(Container$l, null, React__default.createElement(Header$9, null, React__default.createElement(CustomLine$5, {
16899
17313
  width: '89px',
16900
17314
  height: '10px',
16901
17315
  color: '#EBEBEB',
@@ -16905,37 +17319,37 @@ var Template8$1 = function Template8(props) {
16905
17319
  height: '10px',
16906
17320
  color: '#EBEBEB',
16907
17321
  size: 'large'
16908
- })), React__default.createElement(Main$2, null, React__default.createElement(Circle$2, null)));
17322
+ })), React__default.createElement(Main$4, null, React__default.createElement(Circle$2, null)));
16909
17323
  };
16910
17324
 
16911
- var _templateObject$M, _templateObject2$B, _templateObject3$y, _templateObject4$t, _templateObject5$s, _templateObject6$p, _templateObject7$m, _templateObject8$i, _templateObject9$g, _templateObject10$b, _templateObject11$6;
16912
- var Container$n = styled__default.div(_templateObject$M || (_templateObject$M = _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"])));
16913
- var Header$a = styled__default.div(_templateObject2$B || (_templateObject2$B = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 14px;\n width: 100%;\n"])));
16914
- var HeaderLine$9 = styled__default.div(_templateObject3$y || (_templateObject3$y = _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) {
17325
+ var _templateObject$O, _templateObject2$D, _templateObject3$z, _templateObject4$u, _templateObject5$t, _templateObject6$q, _templateObject7$n, _templateObject8$j, _templateObject9$h, _templateObject10$b, _templateObject11$5;
17326
+ var Container$m = styled__default.div(_templateObject$O || (_templateObject$O = _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"])));
17327
+ var Header$a = styled__default.div(_templateObject2$D || (_templateObject2$D = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 14px;\n width: 100%;\n"])));
17328
+ var HeaderLine$9 = styled__default.div(_templateObject3$z || (_templateObject3$z = _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) {
16915
17329
  return props.height;
16916
17330
  }, function (props) {
16917
- return props.size === 'mini' && styled.css(_templateObject4$t || (_templateObject4$t = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
17331
+ return props.size === 'mini' && styled.css(_templateObject4$u || (_templateObject4$u = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
16918
17332
  }, function (props) {
16919
- return props.size === 'small' && styled.css(_templateObject5$s || (_templateObject5$s = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
17333
+ return props.size === 'small' && styled.css(_templateObject5$t || (_templateObject5$t = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
16920
17334
  }, function (props) {
16921
- return props.size === 'medium' && styled.css(_templateObject6$p || (_templateObject6$p = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
17335
+ return props.size === 'medium' && styled.css(_templateObject6$q || (_templateObject6$q = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
16922
17336
  }, function (props) {
16923
- return props.size === 'large' && styled.css(_templateObject7$m || (_templateObject7$m = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
17337
+ return props.size === 'large' && styled.css(_templateObject7$n || (_templateObject7$n = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
16924
17338
  });
16925
- var CustomLine$6 = styled__default(HeaderLine$9)(_templateObject8$i || (_templateObject8$i = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n border: 1px solid #dedede5e;\n"])), function (props) {
17339
+ var CustomLine$6 = styled__default(HeaderLine$9)(_templateObject8$j || (_templateObject8$j = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n border: 1px solid #dedede5e;\n"])), function (props) {
16926
17340
  return props.width;
16927
17341
  }, function (props) {
16928
17342
  return props.height;
16929
17343
  }, function (props) {
16930
17344
  return props.color;
16931
17345
  });
16932
- var GraphLine = styled__default(CustomLine$6)(_templateObject9$g || (_templateObject9$g = _taggedTemplateLiteralLoose(["\n margin: 0 7px;\n"])));
16933
- var Main$3 = styled__default.div(_templateObject10$b || (_templateObject10$b = _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"])));
16934
- var Circle$3 = styled__default.div(_templateObject11$6 || (_templateObject11$6 = _taggedTemplateLiteralLoose(["\n width: 128px;\n height: 128px;\n background-color: #ebebeb;\n border-radius: 50%;\n"])));
17346
+ var GraphLine = styled__default(CustomLine$6)(_templateObject9$h || (_templateObject9$h = _taggedTemplateLiteralLoose(["\n margin: 0 7px;\n"])));
17347
+ var Main$5 = styled__default.div(_templateObject10$b || (_templateObject10$b = _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"])));
17348
+ var Circle$3 = styled__default.div(_templateObject11$5 || (_templateObject11$5 = _taggedTemplateLiteralLoose(["\n width: 128px;\n height: 128px;\n background-color: #ebebeb;\n border-radius: 50%;\n"])));
16935
17349
 
16936
17350
  var Template10 = function Template10(props) {
16937
17351
  if (!props.loading) return React__default.createElement(React__default.Fragment, null);
16938
- return React__default.createElement(Container$n, null, React__default.createElement(Header$a, null, React__default.createElement(CustomLine$6, {
17352
+ return React__default.createElement(Container$m, null, React__default.createElement(Header$a, null, React__default.createElement(CustomLine$6, {
16939
17353
  width: '89px',
16940
17354
  height: '10px',
16941
17355
  color: '#EBEBEB',
@@ -16945,7 +17359,7 @@ var Template10 = function Template10(props) {
16945
17359
  height: '10px',
16946
17360
  color: '#EBEBEB',
16947
17361
  size: 'large'
16948
- })), React__default.createElement(Main$3, null, React__default.createElement(GraphLine, {
17362
+ })), React__default.createElement(Main$5, null, React__default.createElement(GraphLine, {
16949
17363
  width: '27px',
16950
17364
  height: '56px',
16951
17365
  color: '#EBEBEB',
@@ -17052,9 +17466,9 @@ var Placeholder = function Placeholder(props) {
17052
17466
  }
17053
17467
  };
17054
17468
 
17055
- var _templateObject$N, _templateObject2$C, _templateObject3$z, _templateObject4$u, _templateObject5$t;
17056
- var Image = styled__default.img(_templateObject$N || (_templateObject$N = _taggedTemplateLiteralLoose(["\n max-width: 100%;\n max-height: 100%;\n"])));
17057
- var Container$o = styled__default.div(_templateObject2$C || (_templateObject2$C = _taggedTemplateLiteralLoose(["\n position: relative;\n display: inline-flex;\n\n &,\n ", " {\n width: ", ";\n\n height: ", ";\n }\n"])), Image, function (_ref) {
17469
+ var _templateObject$P, _templateObject2$E, _templateObject3$A, _templateObject4$v, _templateObject5$u;
17470
+ var Image = styled__default.img(_templateObject$P || (_templateObject$P = _taggedTemplateLiteralLoose(["\n max-width: 100%;\n max-height: 100%;\n"])));
17471
+ var Container$n = styled__default.div(_templateObject2$E || (_templateObject2$E = _taggedTemplateLiteralLoose(["\n position: relative;\n display: inline-flex;\n\n &,\n ", " {\n width: ", ";\n\n height: ", ";\n }\n"])), Image, function (_ref) {
17058
17472
  var width = _ref.width;
17059
17473
 
17060
17474
  switch (typeof width) {
@@ -17081,15 +17495,15 @@ var Container$o = styled__default.div(_templateObject2$C || (_templateObject2$C
17081
17495
  return 'auto';
17082
17496
  }
17083
17497
  });
17084
- var Dimmer = styled__default.div(_templateObject3$z || (_templateObject3$z = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: ", ";\n opacity: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n transition: opacity 0.5s;\n cursor: pointer;\n\n :hover {\n opacity: 1;\n }\n"])), function (_ref3) {
17498
+ var Dimmer = styled__default.div(_templateObject3$A || (_templateObject3$A = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: ", ";\n opacity: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n transition: opacity 0.5s;\n cursor: pointer;\n\n :hover {\n opacity: 1;\n }\n"])), function (_ref3) {
17085
17499
  var theme = _ref3.theme;
17086
17500
  return theme.getColor('greyishBlue', 50);
17087
17501
  });
17088
- var Button$5 = styled__default(Button$1)(_templateObject4$u || (_templateObject4$u = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n"])), function (_ref4) {
17502
+ var Button$5 = styled__default(Button$1)(_templateObject4$v || (_templateObject4$v = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n"])), function (_ref4) {
17089
17503
  var theme = _ref4.theme;
17090
17504
  return theme.getColor('white', 50);
17091
17505
  });
17092
- var ModalContent = styled__default.div(_templateObject5$t || (_templateObject5$t = _taggedTemplateLiteralLoose(["\n position: absolute;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n\n img {\n max-height: 100%;\n max-width: 100%;\n }\n"])));
17506
+ var ModalContent = styled__default.div(_templateObject5$u || (_templateObject5$u = _taggedTemplateLiteralLoose(["\n position: absolute;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n\n img {\n max-height: 100%;\n max-width: 100%;\n }\n"])));
17093
17507
 
17094
17508
  var _excluded$3 = ["src", "defaultClickOptions"];
17095
17509
 
@@ -17101,7 +17515,7 @@ var Zoom = function Zoom(props) {
17101
17515
  modalOpened = _useState[0],
17102
17516
  setModalOpened = _useState[1];
17103
17517
 
17104
- return React__default.createElement(React__default.Fragment, null, React__default.createElement(Container$o, Object.assign({}, imgProps, {
17518
+ return React__default.createElement(React__default.Fragment, null, React__default.createElement(Container$n, Object.assign({}, imgProps, {
17105
17519
  onClick: function onClick() {
17106
17520
  return setModalOpened(true);
17107
17521
  }
@@ -17125,8 +17539,8 @@ var Zoom = function Zoom(props) {
17125
17539
  }))));
17126
17540
  };
17127
17541
 
17128
- var _templateObject$O, _templateObject2$D, _templateObject3$A;
17129
- var Container$p = styled__default.div(_templateObject$O || (_templateObject$O = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: ", ";\n align-items: center;\n color: ", ";\n\n ", "\n"])), function (_ref) {
17542
+ var _templateObject$Q, _templateObject2$F, _templateObject3$B;
17543
+ var Container$o = styled__default.div(_templateObject$Q || (_templateObject$Q = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: ", ";\n align-items: center;\n color: ", ";\n\n ", "\n"])), function (_ref) {
17130
17544
  var theme = _ref.theme;
17131
17545
  return theme.spacings.s4;
17132
17546
  }, function (_ref2) {
@@ -17136,10 +17550,10 @@ var Container$p = styled__default.div(_templateObject$O || (_templateObject$O =
17136
17550
  var onClick = _ref3.onClick;
17137
17551
 
17138
17552
  if (!onClick) {
17139
- return styled.css(_templateObject2$D || (_templateObject2$D = _taggedTemplateLiteralLoose(["\n opacity: 0.3;\n pointer-events: none;\n "])));
17553
+ return styled.css(_templateObject2$F || (_templateObject2$F = _taggedTemplateLiteralLoose(["\n opacity: 0.3;\n pointer-events: none;\n "])));
17140
17554
  }
17141
17555
 
17142
- return styled.css(_templateObject3$A || (_templateObject3$A = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n "])));
17556
+ return styled.css(_templateObject3$B || (_templateObject3$B = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n "])));
17143
17557
  });
17144
17558
 
17145
17559
  var Button$6 = function Button(props) {
@@ -17160,7 +17574,7 @@ var Button$6 = function Button(props) {
17160
17574
  };
17161
17575
  return React__default.createElement("div", {
17162
17576
  ref: useOnClickOut(close)
17163
- }, React__default.createElement(Container$p, Object.assign({}, props, {
17577
+ }, React__default.createElement(Container$o, Object.assign({}, props, {
17164
17578
  onClick: onClick
17165
17579
  }), props.children, React__default.createElement(Icon, {
17166
17580
  type: 'semantic',
@@ -17169,8 +17583,8 @@ var Button$6 = function Button(props) {
17169
17583
  })), getContent(open, close));
17170
17584
  };
17171
17585
 
17172
- var _templateObject$P;
17173
- var Container$q = styled__default.div(_templateObject$P || (_templateObject$P = _taggedTemplateLiteralLoose(["\n padding: ", ";\n\n display: flex;\n flex-direction: column;\n gap: ", ";\n\n > div:nth-child(1) {\n ", "\n color: ", ";\n }\n"])), function (_ref) {
17586
+ var _templateObject$R;
17587
+ var Container$p = styled__default.div(_templateObject$R || (_templateObject$R = _taggedTemplateLiteralLoose(["\n padding: ", ";\n\n display: flex;\n flex-direction: column;\n gap: ", ";\n\n > div:nth-child(1) {\n ", "\n color: ", ";\n }\n"])), function (_ref) {
17174
17588
  var _ref$theme$spacings = _ref.theme.spacings,
17175
17589
  s1 = _ref$theme$spacings.s1,
17176
17590
  s3 = _ref$theme$spacings.s3;
@@ -17216,7 +17630,7 @@ var Header$b = function Header(props) {
17216
17630
  setSearched('');
17217
17631
  };
17218
17632
 
17219
- return React__default.createElement(Container$q, null, React__default.createElement("div", null, isString(title) ? title : title.element), withSearch && React__default.createElement(Input$5, {
17633
+ return React__default.createElement(Container$p, null, React__default.createElement("div", null, isString(title) ? title : title.element), withSearch && React__default.createElement(Input$5, {
17220
17634
  type: 'search',
17221
17635
  placeholder: 'Pesquisa',
17222
17636
  setValue: setSearch,
@@ -17233,8 +17647,8 @@ var Header$b = function Header(props) {
17233
17647
  }));
17234
17648
  };
17235
17649
 
17236
- var _templateObject$Q;
17237
- var EmptyMessage = styled__default.div(_templateObject$Q || (_templateObject$Q = _taggedTemplateLiteralLoose(["\n padding: 0 20px;\n color: ", ";\n text-align: center;\n margin: auto;\n width: 100%;\n"])), function (_ref) {
17650
+ var _templateObject$S;
17651
+ var EmptyMessage = styled__default.div(_templateObject$S || (_templateObject$S = _taggedTemplateLiteralLoose(["\n padding: 0 20px;\n color: ", ";\n text-align: center;\n margin: auto;\n width: 100%;\n"])), function (_ref) {
17238
17652
  var lightGrey = _ref.theme.colors.lightGrey;
17239
17653
  return lightGrey;
17240
17654
  });
@@ -17564,22 +17978,22 @@ var Filters = Object.assign(function (props) {
17564
17978
  Menu: FiltersMenu
17565
17979
  });
17566
17980
 
17567
- var _templateObject$R, _templateObject2$E, _templateObject3$B, _templateObject4$v;
17568
- var Container$r = styled__default(AbsoluteContainer)(_templateObject$R || (_templateObject$R = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n\n > div {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n\n > div {\n padding: ", ";\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n }\n }\n"])), function (_ref) {
17981
+ var _templateObject$T, _templateObject2$G, _templateObject3$C, _templateObject4$w;
17982
+ var Container$q = styled__default(AbsoluteContainer)(_templateObject$T || (_templateObject$T = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n\n > div {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n\n > div {\n padding: ", ";\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n }\n }\n"])), function (_ref) {
17569
17983
  var theme = _ref.theme;
17570
17984
  return theme.colors.white;
17571
17985
  }, function (_ref2) {
17572
17986
  var s3 = _ref2.theme.spacings.s3;
17573
17987
  return s3 + " 0 " + s3 + " " + s3;
17574
17988
  });
17575
- var Header$c = styled__default.div(_templateObject2$E || (_templateObject2$E = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n gap: ", ";\n padding: ", ";\n > div {\n display: flex;\n justify-content: space-between;\n }\n"])), function (_ref3) {
17989
+ var Header$c = styled__default.div(_templateObject2$G || (_templateObject2$G = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n gap: ", ";\n padding: ", ";\n > div {\n display: flex;\n justify-content: space-between;\n }\n"])), function (_ref3) {
17576
17990
  var s3 = _ref3.theme.spacings.s3;
17577
17991
  return s3;
17578
17992
  }, function (_ref4) {
17579
17993
  var s3 = _ref4.theme.spacings.s3;
17580
17994
  return "0 " + s3 + " " + s3 + " 0";
17581
17995
  });
17582
- var Title = styled__default.div(_templateObject3$B || (_templateObject3$B = _taggedTemplateLiteralLoose(["\n ", "\n color: ", ";\n"])), function (_ref5) {
17996
+ var Title = styled__default.div(_templateObject3$C || (_templateObject3$C = _taggedTemplateLiteralLoose(["\n ", "\n color: ", ";\n"])), function (_ref5) {
17583
17997
  var useTypography = _ref5.theme.useTypography;
17584
17998
  return useTypography('p', {
17585
17999
  fontWeight: 'bold'
@@ -17588,7 +18002,7 @@ var Title = styled__default.div(_templateObject3$B || (_templateObject3$B = _tag
17588
18002
  var getColor = _ref6.theme.getColor;
17589
18003
  return getColor('greyishBlue', 50);
17590
18004
  });
17591
- var Item = styled__default.div(_templateObject4$v || (_templateObject4$v = _taggedTemplateLiteralLoose(["\n padding: ", ";\n display: flex;\n align-items: center;\n\n :not(:last-child) {\n border-bottom: 1px solid\n ", ";\n }\n\n > div:nth-child(1) {\n flex: 1;\n\n > div:nth-child(1) {\n ", "\n color: ", ";\n }\n > div:nth-child(2) {\n ", "\n }\n }\n > div:nth-child(2) {\n display: flex;\n align-items: center;\n cursor: pointer;\n }\n"])), function (_ref7) {
18005
+ var Item = styled__default.div(_templateObject4$w || (_templateObject4$w = _taggedTemplateLiteralLoose(["\n padding: ", ";\n display: flex;\n align-items: center;\n\n :not(:last-child) {\n border-bottom: 1px solid\n ", ";\n }\n\n > div:nth-child(1) {\n flex: 1;\n\n > div:nth-child(1) {\n ", "\n color: ", ";\n }\n > div:nth-child(2) {\n ", "\n }\n }\n > div:nth-child(2) {\n display: flex;\n align-items: center;\n cursor: pointer;\n }\n"])), function (_ref7) {
17592
18006
  var s1 = _ref7.theme.spacings.s1;
17593
18007
  return s1 + " " + s1 + " " + s1 + " 0";
17594
18008
  }, function (_ref8) {
@@ -17647,7 +18061,7 @@ var AppliedFiltersMenu = function AppliedFiltersMenu(props) {
17647
18061
  });
17648
18062
  };
17649
18063
 
17650
- return React__default.createElement(Container$r, {
18064
+ return React__default.createElement(Container$q, {
17651
18065
  open: open,
17652
18066
  width: '275px',
17653
18067
  height: '261px',
@@ -17726,7 +18140,7 @@ var useContext$2 = function useContext() {
17726
18140
  return React__default.useContext(Provider$2);
17727
18141
  };
17728
18142
 
17729
- var _templateObject$S, _templateObject2$F, _templateObject3$C, _templateObject4$w, _templateObject5$u, _templateObject6$q, _templateObject7$n, _templateObject8$j, _templateObject9$h, _templateObject10$c, _templateObject11$7, _templateObject12$4, _templateObject13$4, _templateObject14$3, _templateObject15$2;
18143
+ var _templateObject$U, _templateObject2$H, _templateObject3$D, _templateObject4$x, _templateObject5$v, _templateObject6$r, _templateObject7$o, _templateObject8$k, _templateObject9$i, _templateObject10$c, _templateObject11$6, _templateObject12$3, _templateObject13$3, _templateObject14$3, _templateObject15$2;
17730
18144
  var aligns = {
17731
18145
  self: {
17732
18146
  horizontal: {
@@ -17755,17 +18169,17 @@ var aligns = {
17755
18169
  }
17756
18170
  }
17757
18171
  };
17758
- var Col = styled__default.div(_templateObject$S || (_templateObject$S = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-wrap: wrap;\n position: relative;\n\n ", "\n\n padding: ", ";\n\n ", "\n\n ", "\n\n ", "\n\n ", ";\n\n ", ";\n\n ", "\n\n ", "\n"])), function (_ref) {
18172
+ var Col = styled__default.div(_templateObject$U || (_templateObject$U = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-wrap: wrap;\n position: relative;\n\n ", "\n\n padding: ", ";\n\n ", "\n\n ", "\n\n ", "\n\n ", ";\n\n ", ";\n\n ", "\n\n ", "\n"])), function (_ref) {
17759
18173
  var width = _ref.width;
17760
18174
 
17761
18175
  if (width === undefined) {
17762
- return styled.css(_templateObject2$F || (_templateObject2$F = _taggedTemplateLiteralLoose(["\n flex-basis: 0;\n flex-grow: 1;\n max-width: 100%;\n width: 100%;\n "])));
18176
+ return styled.css(_templateObject2$H || (_templateObject2$H = _taggedTemplateLiteralLoose(["\n flex-basis: 0;\n flex-grow: 1;\n max-width: 100%;\n width: 100%;\n "])));
17763
18177
  } else if (width === 'auto') {
17764
- return styled.css(_templateObject3$C || (_templateObject3$C = _taggedTemplateLiteralLoose(["\n flex: 0 0 auto;\n width: auto;\n max-width: none;\n "])));
18178
+ return styled.css(_templateObject3$D || (_templateObject3$D = _taggedTemplateLiteralLoose(["\n flex: 0 0 auto;\n width: auto;\n max-width: none;\n "])));
17765
18179
  }
17766
18180
 
17767
18181
  var w = parseFloat(width) * 100 / 12;
17768
- return styled.css(_templateObject4$w || (_templateObject4$w = _taggedTemplateLiteralLoose(["\n flex: 0 0 ", "%;\n max-width: ", "%;\n width: 100%;\n "])), w, w);
18182
+ return styled.css(_templateObject4$x || (_templateObject4$x = _taggedTemplateLiteralLoose(["\n flex: 0 0 ", "%;\n max-width: ", "%;\n width: 100%;\n "])), w, w);
17769
18183
  }, function (_ref2) {
17770
18184
  var spacing = _ref2.spacing;
17771
18185
  var padding = getSpacings(spacing === undefined ? 's1' : spacing);
@@ -17773,7 +18187,7 @@ var Col = styled__default.div(_templateObject$S || (_templateObject$S = _taggedT
17773
18187
  }, function (_ref3) {
17774
18188
  var spacingAround = _ref3.spacingAround;
17775
18189
  if (spacingAround) return;
17776
- return styled.css(_templateObject5$u || (_templateObject5$u = _taggedTemplateLiteralLoose(["\n :first-child {\n padding-left: 0;\n }\n :last-child {\n padding-right: 0;\n }\n "])));
18190
+ return styled.css(_templateObject5$v || (_templateObject5$v = _taggedTemplateLiteralLoose(["\n :first-child {\n padding-left: 0;\n }\n :last-child {\n padding-right: 0;\n }\n "])));
17777
18191
  }, function (_ref4) {
17778
18192
  var align = _ref4.align;
17779
18193
  if (align === undefined) return;
@@ -17783,13 +18197,13 @@ var Col = styled__default.div(_templateObject$S || (_templateObject$S = _taggedT
17783
18197
  if (align.self.horizontal !== undefined) {
17784
18198
  var v = align.self.horizontal;
17785
18199
  var a = aligns.self.horizontal;
17786
- styles.push(styled.css(_templateObject6$q || (_templateObject6$q = _taggedTemplateLiteralLoose(["\n justify-self: ", ";\n "])), a[v]));
18200
+ styles.push(styled.css(_templateObject6$r || (_templateObject6$r = _taggedTemplateLiteralLoose(["\n justify-self: ", ";\n "])), a[v]));
17787
18201
  }
17788
18202
 
17789
18203
  if (align.self.vertical !== undefined) {
17790
18204
  var _v = align.self.vertical;
17791
18205
  var _a = aligns.self.vertical;
17792
- styles.push(styled.css(_templateObject7$n || (_templateObject7$n = _taggedTemplateLiteralLoose(["\n align-self: ", ";\n "])), _a[_v]));
18206
+ styles.push(styled.css(_templateObject7$o || (_templateObject7$o = _taggedTemplateLiteralLoose(["\n align-self: ", ";\n "])), _a[_v]));
17793
18207
  }
17794
18208
  }
17795
18209
 
@@ -17797,13 +18211,13 @@ var Col = styled__default.div(_templateObject$S || (_templateObject$S = _taggedT
17797
18211
  if (align.content.horizontal !== undefined) {
17798
18212
  var _v2 = align.content.horizontal;
17799
18213
  var _a2 = aligns.content.horizontal;
17800
- styles.push(styled.css(_templateObject8$j || (_templateObject8$j = _taggedTemplateLiteralLoose(["\n justify-content: ", ";\n "])), _a2[_v2]));
18214
+ styles.push(styled.css(_templateObject8$k || (_templateObject8$k = _taggedTemplateLiteralLoose(["\n justify-content: ", ";\n "])), _a2[_v2]));
17801
18215
  }
17802
18216
 
17803
18217
  if (align.content.vertical !== undefined) {
17804
18218
  var _v3 = align.content.vertical;
17805
18219
  var _a3 = aligns.content.vertical;
17806
- styles.push(styled.css(_templateObject9$h || (_templateObject9$h = _taggedTemplateLiteralLoose(["\n align-items: ", ";\n "])), _a3[_v3]));
18220
+ styles.push(styled.css(_templateObject9$i || (_templateObject9$i = _taggedTemplateLiteralLoose(["\n align-items: ", ";\n "])), _a3[_v3]));
17807
18221
  }
17808
18222
  }
17809
18223
 
@@ -17817,19 +18231,19 @@ var Col = styled__default.div(_templateObject$S || (_templateObject$S = _taggedT
17817
18231
  var bordered = _ref5.bordered,
17818
18232
  lightestGrey = _ref5.theme.colors.lightestGrey;
17819
18233
  if (!bordered) return;
17820
- return styled.css(_templateObject11$7 || (_templateObject11$7 = _taggedTemplateLiteralLoose(["\n :not(:last-child) {\n border-right: 1px solid ", ";\n }\n "])), lightestGrey);
18234
+ return styled.css(_templateObject11$6 || (_templateObject11$6 = _taggedTemplateLiteralLoose(["\n :not(:last-child) {\n border-right: 1px solid ", ";\n }\n "])), lightestGrey);
17821
18235
  }, function (_ref6) {
17822
18236
  var fontColor = _ref6.fontColor,
17823
18237
  theme = _ref6.theme;
17824
18238
  if (fontColor === undefined) return;
17825
18239
  var c = Array.isArray(fontColor) ? theme.getColor.apply(theme, fontColor) : theme.colors[fontColor];
17826
- return styled.css(_templateObject12$4 || (_templateObject12$4 = _taggedTemplateLiteralLoose(["\n color: ", ";\n "])), c);
18240
+ return styled.css(_templateObject12$3 || (_templateObject12$3 = _taggedTemplateLiteralLoose(["\n color: ", ";\n "])), c);
17827
18241
  }, function (_ref7) {
17828
18242
  var backgroundColor = _ref7.backgroundColor,
17829
18243
  theme = _ref7.theme;
17830
18244
  if (backgroundColor === undefined) return;
17831
18245
  var c = Array.isArray(backgroundColor) ? theme.getColor.apply(theme, backgroundColor) : theme.colors[backgroundColor];
17832
- return styled.css(_templateObject13$4 || (_templateObject13$4 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), c);
18246
+ return styled.css(_templateObject13$3 || (_templateObject13$3 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), c);
17833
18247
  }, function (_ref8) {
17834
18248
  var hover = _ref8.hover,
17835
18249
  theme = _ref8.theme;
@@ -17860,17 +18274,17 @@ var useContext$3 = function useContext() {
17860
18274
  return React__default.useContext(Provider$3);
17861
18275
  };
17862
18276
 
17863
- var _templateObject$T, _templateObject2$G, _templateObject3$D;
17864
- var Grid = styled__default.div(_templateObject$T || (_templateObject$T = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n\n ", "\n\n ", "\n"])), function (_ref) {
18277
+ var _templateObject$V, _templateObject2$I, _templateObject3$E;
18278
+ var Grid = styled__default.div(_templateObject$V || (_templateObject$V = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n\n ", "\n\n ", "\n"])), function (_ref) {
17865
18279
  var spacing = _ref.spacing;
17866
18280
  if (spacing === undefined) return;
17867
18281
  var padding = getSpacings(spacing);
17868
- return styled.css(_templateObject2$G || (_templateObject2$G = _taggedTemplateLiteralLoose(["\n padding: ", ";\n "])), padding);
18282
+ return styled.css(_templateObject2$I || (_templateObject2$I = _taggedTemplateLiteralLoose(["\n padding: ", ";\n "])), padding);
17869
18283
  }, function (_ref2) {
17870
18284
  var borderless = _ref2.borderless,
17871
18285
  lightestGrey = _ref2.theme.colors.lightestGrey;
17872
18286
  if (borderless) return;
17873
- return styled.css(_templateObject3$D || (_templateObject3$D = _taggedTemplateLiteralLoose(["\n border: 1px solid ", ";\n "])), lightestGrey);
18287
+ return styled.css(_templateObject3$E || (_templateObject3$E = _taggedTemplateLiteralLoose(["\n border: 1px solid ", ";\n "])), lightestGrey);
17874
18288
  });
17875
18289
 
17876
18290
  var Grid$1 = function Grid$1(props) {
@@ -17885,7 +18299,7 @@ var Grid$1 = function Grid$1(props) {
17885
18299
  }, React__default.createElement(Grid, Object.assign({}, gridProps)));
17886
18300
  };
17887
18301
 
17888
- var _templateObject$U, _templateObject2$H, _templateObject3$E, _templateObject4$x, _templateObject5$v, _templateObject6$r, _templateObject7$o, _templateObject8$k, _templateObject9$i, _templateObject10$d;
18302
+ var _templateObject$W, _templateObject2$J, _templateObject3$F, _templateObject4$y, _templateObject5$w, _templateObject6$s, _templateObject7$p, _templateObject8$l, _templateObject9$j, _templateObject10$d;
17889
18303
  var horizontalAligns = {
17890
18304
  around: 'space-around',
17891
18305
  between: 'space-between',
@@ -17898,23 +18312,23 @@ var verticalAligns = {
17898
18312
  top: 'start',
17899
18313
  bottom: 'end'
17900
18314
  };
17901
- var Row = styled__default.div(_templateObject$U || (_templateObject$U = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n color: ", ";\n\n ", "\n\n ", "\n"])), function (_ref) {
18315
+ var Row = styled__default.div(_templateObject$W || (_templateObject$W = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n color: ", ";\n\n ", "\n\n ", "\n"])), function (_ref) {
17902
18316
  var spacing = _ref.spacing;
17903
18317
  if (spacing === undefined) return;
17904
18318
  var padding = getSpacings(spacing);
17905
- return styled.css(_templateObject2$H || (_templateObject2$H = _taggedTemplateLiteralLoose(["\n padding: ", ";\n "])), padding);
18319
+ return styled.css(_templateObject2$J || (_templateObject2$J = _taggedTemplateLiteralLoose(["\n padding: ", ";\n "])), padding);
17906
18320
  }, function (_ref2) {
17907
18321
  var spacingAround = _ref2.spacingAround;
17908
18322
  if (spacingAround) return;
17909
- return styled.css(_templateObject3$E || (_templateObject3$E = _taggedTemplateLiteralLoose(["\n :first-child {\n padding-top: 0;\n }\n :last-child {\n padding-bottom: 0;\n }\n "])));
18323
+ return styled.css(_templateObject3$F || (_templateObject3$F = _taggedTemplateLiteralLoose(["\n :first-child {\n padding-top: 0;\n }\n :last-child {\n padding-bottom: 0;\n }\n "])));
17910
18324
  }, function (_ref3) {
17911
18325
  var horizontalAlign = _ref3.horizontalAlign;
17912
18326
  if (horizontalAlign === undefined) return;
17913
- return styled.css(_templateObject4$x || (_templateObject4$x = _taggedTemplateLiteralLoose(["\n justify-content: ", ";\n "])), horizontalAligns[horizontalAlign]);
18327
+ return styled.css(_templateObject4$y || (_templateObject4$y = _taggedTemplateLiteralLoose(["\n justify-content: ", ";\n "])), horizontalAligns[horizontalAlign]);
17914
18328
  }, function (_ref4) {
17915
18329
  var verticalAlign = _ref4.verticalAlign;
17916
18330
  if (verticalAlign === undefined) return;
17917
- return styled.css(_templateObject5$v || (_templateObject5$v = _taggedTemplateLiteralLoose(["\n align-items: ", ";\n "])), verticalAligns[verticalAlign]);
18331
+ return styled.css(_templateObject5$w || (_templateObject5$w = _taggedTemplateLiteralLoose(["\n align-items: ", ";\n "])), verticalAligns[verticalAlign]);
17918
18332
  }, function (_ref5) {
17919
18333
  var striped = _ref5.striped,
17920
18334
  backgroundColor = _ref5.backgroundColor,
@@ -17922,11 +18336,11 @@ var Row = styled__default.div(_templateObject$U || (_templateObject$U = _taggedT
17922
18336
 
17923
18337
  if (backgroundColor !== undefined) {
17924
18338
  var c = Array.isArray(backgroundColor) ? theme.getColor.apply(theme, backgroundColor) : theme.colors[backgroundColor];
17925
- return styled.css(_templateObject6$r || (_templateObject6$r = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), c);
18339
+ return styled.css(_templateObject6$s || (_templateObject6$s = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), c);
17926
18340
  }
17927
18341
 
17928
18342
  if (striped === undefined) {
17929
- return styled.css(_templateObject7$o || (_templateObject7$o = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), theme.colors.white);
18343
+ return styled.css(_templateObject7$p || (_templateObject7$p = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), theme.colors.white);
17930
18344
  }
17931
18345
 
17932
18346
  var config = striped === true ? {
@@ -17942,7 +18356,7 @@ var Row = styled__default.div(_templateObject$U || (_templateObject$U = _taggedT
17942
18356
  even: theme.colors.white,
17943
18357
  odd: theme.colors.white
17944
18358
  });
17945
- return styled.css(_templateObject8$k || (_templateObject8$k = _taggedTemplateLiteralLoose(["\n :nth-child(even) {\n background-color: ", ";\n }\n :nth-child(odd) {\n background-color: ", ";\n }\n "])), colors.even, colors.odd);
18359
+ return styled.css(_templateObject8$l || (_templateObject8$l = _taggedTemplateLiteralLoose(["\n :nth-child(even) {\n background-color: ", ";\n }\n :nth-child(odd) {\n background-color: ", ";\n }\n "])), colors.even, colors.odd);
17946
18360
  }, function (_ref6) {
17947
18361
  var fontColor = _ref6.fontColor,
17948
18362
  theme = _ref6.theme;
@@ -17953,7 +18367,7 @@ var Row = styled__default.div(_templateObject$U || (_templateObject$U = _taggedT
17953
18367
  var borderless = _ref7.borderless,
17954
18368
  lightestGrey = _ref7.theme.colors.lightestGrey;
17955
18369
  if (borderless) return;
17956
- return styled.css(_templateObject9$i || (_templateObject9$i = _taggedTemplateLiteralLoose(["\n :not(:last-child) {\n border-bottom: 1px solid ", ";\n }\n "])), lightestGrey);
18370
+ return styled.css(_templateObject9$j || (_templateObject9$j = _taggedTemplateLiteralLoose(["\n :not(:last-child) {\n border-bottom: 1px solid ", ";\n }\n "])), lightestGrey);
17957
18371
  }, function (_ref8) {
17958
18372
  var hover = _ref8.hover,
17959
18373
  theme = _ref8.theme;
@@ -17990,14 +18404,14 @@ var theme$1 = {
17990
18404
  button: theme
17991
18405
  };
17992
18406
 
17993
- var _templateObject$V;
17994
- var FontStyles = styled.createGlobalStyle(_templateObject$V || (_templateObject$V = _taggedTemplateLiteralLoose(["\n"])));
18407
+ var _templateObject$X;
18408
+ var FontStyles = styled.createGlobalStyle(_templateObject$X || (_templateObject$X = _taggedTemplateLiteralLoose(["\n"])));
17995
18409
 
17996
18410
  var Globals = function Globals() {
17997
18411
  return React__default.createElement(React__default.Fragment, null, React__default.createElement(FontStyles, null));
17998
18412
  };
17999
18413
 
18000
- var _templateObject$W;
18414
+ var _templateObject$Y;
18001
18415
 
18002
18416
  var getColor$1 = function getColor(color, opacity) {
18003
18417
  if (opacity === void 0) {
@@ -18016,7 +18430,7 @@ var useTypography = function useTypography(typography, options) {
18016
18430
  fontFamily = _typographies$typogra.fontFamily,
18017
18431
  fontWeight = _typographies$typogra.fontWeight,
18018
18432
  fontSize = _typographies$typogra.fontSize;
18019
- return styled.css(_templateObject$W || (_templateObject$W = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n "])), fontFamily, options.fontWeight || fontWeight, fontSize);
18433
+ return styled.css(_templateObject$Y || (_templateObject$Y = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n "])), fontFamily, options.fontWeight || fontWeight, fontSize);
18020
18434
  };
18021
18435
 
18022
18436
  var isDarkColor = function isDarkColor(color, ifDark, ifLight) {
@@ -18069,13 +18483,12 @@ Object.keys(reactCalendar).forEach(function (k) {
18069
18483
  }
18070
18484
  });
18071
18485
  });
18072
- exports.MwCalendar = reactCalendar;
18486
+ exports.ReactCalendar = reactCalendar;
18073
18487
  exports.MwAbsoluteContainer = AbsoluteContainer;
18074
18488
  exports.MwAppliedFilters = AppliedFilters;
18075
18489
  exports.MwButton = Button$1;
18076
- exports.MwCalendarInterval = CalendarInterval;
18490
+ exports.MwCalendar = Calendar;
18077
18491
  exports.MwCard = Card;
18078
- exports.MwDatePicker = Calendar;
18079
18492
  exports.MwEllipsisContainer = EllipsisContainer$1;
18080
18493
  exports.MwFilters = Filters;
18081
18494
  exports.MwGrid = Grid$2;