@daryasidorovich/modsen-datepicker 1.0.6 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1,23 +1,5 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var Delete = require('@assets/actions/Delete.svg?react');
6
- var Edit = require('@assets/actions/Edit.svg?react');
7
- var Calendar = require('@assets/input/Calendar.svg?react');
8
- var Clear$1 = require('@assets/input/Clear.svg?react');
9
- var Next = require('@assets/arrows/Next.svg?react');
10
- var Prev = require('@assets/arrows/Prev.svg?react');
11
-
12
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
13
-
14
- var Delete__default = /*#__PURE__*/_interopDefaultLegacy(Delete);
15
- var Edit__default = /*#__PURE__*/_interopDefaultLegacy(Edit);
16
- var Calendar__default = /*#__PURE__*/_interopDefaultLegacy(Calendar);
17
- var Clear__default = /*#__PURE__*/_interopDefaultLegacy(Clear$1);
18
- var Next__default = /*#__PURE__*/_interopDefaultLegacy(Next);
19
- var Prev__default = /*#__PURE__*/_interopDefaultLegacy(Prev);
20
-
21
3
  const FIRST_DAY_OF_WEEK = {
22
4
  MONDAY: 1,
23
5
  SUNDAY: 0,
@@ -120,7 +102,7 @@ function requireReact_production () {
120
102
  }
121
103
  var ReactNoopUpdateQueue = {
122
104
  isMounted: function () {
123
- return !1;
105
+ return false;
124
106
  },
125
107
  enqueueForceUpdate: function () {},
126
108
  enqueueReplaceState: function () {},
@@ -160,7 +142,7 @@ function requireReact_production () {
160
142
  var pureComponentPrototype = (PureComponent.prototype = new ComponentDummy());
161
143
  pureComponentPrototype.constructor = PureComponent;
162
144
  assign(pureComponentPrototype, Component.prototype);
163
- pureComponentPrototype.isPureReactComponent = !0;
145
+ pureComponentPrototype.isPureReactComponent = true;
164
146
  var isArrayImpl = Array.isArray;
165
147
  function noop() {}
166
148
  var ReactSharedInternals = { H: null, A: null, T: null, S: null },
@@ -235,20 +217,20 @@ function requireReact_production () {
235
217
  function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
236
218
  var type = typeof children;
237
219
  if ("undefined" === type || "boolean" === type) children = null;
238
- var invokeCallback = !1;
239
- if (null === children) invokeCallback = !0;
220
+ var invokeCallback = false;
221
+ if (null === children) invokeCallback = true;
240
222
  else
241
223
  switch (type) {
242
224
  case "bigint":
243
225
  case "string":
244
226
  case "number":
245
- invokeCallback = !0;
227
+ invokeCallback = true;
246
228
  break;
247
229
  case "object":
248
230
  switch (children.$$typeof) {
249
231
  case REACT_ELEMENT_TYPE:
250
232
  case REACT_PORTAL_TYPE:
251
- invokeCallback = !0;
233
+ invokeCallback = true;
252
234
  break;
253
235
  case REACT_LAZY_TYPE:
254
236
  return (
@@ -378,8 +360,8 @@ function requireReact_production () {
378
360
  "function" === typeof window.ErrorEvent
379
361
  ) {
380
362
  var event = new window.ErrorEvent("error", {
381
- bubbles: !0,
382
- cancelable: !0,
363
+ bubbles: true,
364
+ cancelable: true,
383
365
  message:
384
366
  "object" === typeof error &&
385
367
  null !== error &&
@@ -684,7 +666,7 @@ function requireReact_development () {
684
666
  callerName,
685
667
  publicInstance
686
668
  ),
687
- (didWarnStateUpdateForUnmountedComponent[warningKey] = !0));
669
+ (didWarnStateUpdateForUnmountedComponent[warningKey] = true));
688
670
  }
689
671
  function Component(props, context, updater) {
690
672
  this.props = props;
@@ -708,7 +690,7 @@ function requireReact_development () {
708
690
  testStringCoercion(value);
709
691
  var JSCompiler_inline_result = !1;
710
692
  } catch (e) {
711
- JSCompiler_inline_result = !0;
693
+ JSCompiler_inline_result = true;
712
694
  }
713
695
  if (JSCompiler_inline_result) {
714
696
  JSCompiler_inline_result = console;
@@ -810,29 +792,29 @@ function requireReact_development () {
810
792
  function hasValidKey(config) {
811
793
  if (hasOwnProperty.call(config, "key")) {
812
794
  var getter = Object.getOwnPropertyDescriptor(config, "key").get;
813
- if (getter && getter.isReactWarning) return !1;
795
+ if (getter && getter.isReactWarning) return false;
814
796
  }
815
797
  return void 0 !== config.key;
816
798
  }
817
799
  function defineKeyPropWarningGetter(props, displayName) {
818
800
  function warnAboutAccessingKey() {
819
801
  specialPropKeyWarningShown ||
820
- ((specialPropKeyWarningShown = !0),
802
+ ((specialPropKeyWarningShown = true),
821
803
  console.error(
822
804
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
823
805
  displayName
824
806
  ));
825
807
  }
826
- warnAboutAccessingKey.isReactWarning = !0;
808
+ warnAboutAccessingKey.isReactWarning = true;
827
809
  Object.defineProperty(props, "key", {
828
810
  get: warnAboutAccessingKey,
829
- configurable: !0
811
+ configurable: true
830
812
  });
831
813
  }
832
814
  function elementRefGetterWithDeprecationWarning() {
833
815
  var componentName = getComponentNameFromType(this.type);
834
816
  didWarnAboutElementRef[componentName] ||
835
- ((didWarnAboutElementRef[componentName] = !0),
817
+ ((didWarnAboutElementRef[componentName] = true),
836
818
  console.error(
837
819
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
838
820
  ));
@@ -850,33 +832,33 @@ function requireReact_development () {
850
832
  };
851
833
  null !== (void 0 !== refProp ? refProp : null)
852
834
  ? Object.defineProperty(type, "ref", {
853
- enumerable: !1,
835
+ enumerable: false,
854
836
  get: elementRefGetterWithDeprecationWarning
855
837
  })
856
- : Object.defineProperty(type, "ref", { enumerable: !1, value: null });
838
+ : Object.defineProperty(type, "ref", { enumerable: false, value: null });
857
839
  type._store = {};
858
840
  Object.defineProperty(type._store, "validated", {
859
- configurable: !1,
860
- enumerable: !1,
861
- writable: !0,
841
+ configurable: false,
842
+ enumerable: false,
843
+ writable: true,
862
844
  value: 0
863
845
  });
864
846
  Object.defineProperty(type, "_debugInfo", {
865
- configurable: !1,
866
- enumerable: !1,
867
- writable: !0,
847
+ configurable: false,
848
+ enumerable: false,
849
+ writable: true,
868
850
  value: null
869
851
  });
870
852
  Object.defineProperty(type, "_debugStack", {
871
- configurable: !1,
872
- enumerable: !1,
873
- writable: !0,
853
+ configurable: false,
854
+ enumerable: false,
855
+ writable: true,
874
856
  value: debugStack
875
857
  });
876
858
  Object.defineProperty(type, "_debugTask", {
877
- configurable: !1,
878
- enumerable: !1,
879
- writable: !0,
859
+ configurable: false,
860
+ enumerable: false,
861
+ writable: true,
880
862
  value: debugTask
881
863
  });
882
864
  Object.freeze && (Object.freeze(type.props), Object.freeze(type));
@@ -966,20 +948,20 @@ function requireReact_development () {
966
948
  function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
967
949
  var type = typeof children;
968
950
  if ("undefined" === type || "boolean" === type) children = null;
969
- var invokeCallback = !1;
970
- if (null === children) invokeCallback = !0;
951
+ var invokeCallback = false;
952
+ if (null === children) invokeCallback = true;
971
953
  else
972
954
  switch (type) {
973
955
  case "bigint":
974
956
  case "string":
975
957
  case "number":
976
- invokeCallback = !0;
958
+ invokeCallback = true;
977
959
  break;
978
960
  case "object":
979
961
  switch (children.$$typeof) {
980
962
  case REACT_ELEMENT_TYPE:
981
963
  case REACT_PORTAL_TYPE:
982
- invokeCallback = !0;
964
+ invokeCallback = true;
983
965
  break;
984
966
  case REACT_LAZY_TYPE:
985
967
  return (
@@ -1055,7 +1037,7 @@ function requireReact_development () {
1055
1037
  console.warn(
1056
1038
  "Using Maps as children is not supported. Use an array of keyed ReactElements instead."
1057
1039
  ),
1058
- (didWarnAboutMaps = !0)),
1040
+ (didWarnAboutMaps = true)),
1059
1041
  children = i.call(children),
1060
1042
  i = 0;
1061
1043
  !(nameSoFar = children.next()).done;
@@ -1175,8 +1157,8 @@ function requireReact_development () {
1175
1157
  ).setImmediate;
1176
1158
  } catch (_err) {
1177
1159
  enqueueTaskImpl = function (callback) {
1178
- !1 === didWarnAboutMessageChannel &&
1179
- ((didWarnAboutMessageChannel = !0),
1160
+ false === didWarnAboutMessageChannel &&
1161
+ ((didWarnAboutMessageChannel = true),
1180
1162
  "undefined" === typeof MessageChannel &&
1181
1163
  console.error(
1182
1164
  "This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."
@@ -1222,7 +1204,7 @@ function requireReact_development () {
1222
1204
  }
1223
1205
  function flushActQueue(queue) {
1224
1206
  if (!isFlushing) {
1225
- isFlushing = !0;
1207
+ isFlushing = true;
1226
1208
  var i = 0;
1227
1209
  try {
1228
1210
  for (; i < queue.length; i++) {
@@ -1244,7 +1226,7 @@ function requireReact_development () {
1244
1226
  } catch (error) {
1245
1227
  queue.splice(0, i + 1), ReactSharedInternals.thrownErrors.push(error);
1246
1228
  } finally {
1247
- isFlushing = !1;
1229
+ isFlushing = false;
1248
1230
  }
1249
1231
  }
1250
1232
  }
@@ -1269,7 +1251,7 @@ function requireReact_development () {
1269
1251
  didWarnStateUpdateForUnmountedComponent = {},
1270
1252
  ReactNoopUpdateQueue = {
1271
1253
  isMounted: function () {
1272
- return !1;
1254
+ return false;
1273
1255
  },
1274
1256
  enqueueForceUpdate: function (publicInstance) {
1275
1257
  warnNoop(publicInstance, "forceUpdate");
@@ -1316,7 +1298,7 @@ function requireReact_development () {
1316
1298
  deprecatedAPIs = PureComponent.prototype = new ComponentDummy();
1317
1299
  deprecatedAPIs.constructor = PureComponent;
1318
1300
  assign(deprecatedAPIs, Component.prototype);
1319
- deprecatedAPIs.isPureReactComponent = !0;
1301
+ deprecatedAPIs.isPureReactComponent = true;
1320
1302
  var isArrayImpl = Array.isArray,
1321
1303
  REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
1322
1304
  ReactSharedInternals = {
@@ -1326,9 +1308,9 @@ function requireReact_development () {
1326
1308
  S: null,
1327
1309
  actQueue: null,
1328
1310
  asyncTransitions: 0,
1329
- isBatchingLegacy: !1,
1330
- didScheduleLegacyUpdate: !1,
1331
- didUsePromise: !1,
1311
+ isBatchingLegacy: false,
1312
+ didScheduleLegacyUpdate: false,
1313
+ didUsePromise: false,
1332
1314
  thrownErrors: [],
1333
1315
  getCurrentStack: null,
1334
1316
  recentlyCreatedOwnerStacks: 0
@@ -1351,7 +1333,7 @@ function requireReact_development () {
1351
1333
  UnknownOwner
1352
1334
  )();
1353
1335
  var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
1354
- var didWarnAboutMaps = !1,
1336
+ var didWarnAboutMaps = false,
1355
1337
  userProvidedKeyEscapeRegex = /\/+/g,
1356
1338
  reportGlobalError =
1357
1339
  "function" === typeof reportError
@@ -1362,8 +1344,8 @@ function requireReact_development () {
1362
1344
  "function" === typeof window.ErrorEvent
1363
1345
  ) {
1364
1346
  var event = new window.ErrorEvent("error", {
1365
- bubbles: !0,
1366
- cancelable: !0,
1347
+ bubbles: true,
1348
+ cancelable: true,
1367
1349
  message:
1368
1350
  "object" === typeof error &&
1369
1351
  null !== error &&
@@ -1382,11 +1364,11 @@ function requireReact_development () {
1382
1364
  }
1383
1365
  console.error(error);
1384
1366
  },
1385
- didWarnAboutMessageChannel = !1,
1367
+ didWarnAboutMessageChannel = false,
1386
1368
  enqueueTaskImpl = null,
1387
1369
  actScopeDepth = 0,
1388
- didWarnNoAwaitAct = !1,
1389
- isFlushing = !1,
1370
+ didWarnNoAwaitAct = false,
1371
+ isFlushing = false,
1390
1372
  queueSeveralMicrotasks =
1391
1373
  "function" === typeof queueMicrotask
1392
1374
  ? function (callback) {
@@ -1451,7 +1433,7 @@ function requireReact_development () {
1451
1433
  actScopeDepth++;
1452
1434
  var queue = (ReactSharedInternals.actQueue =
1453
1435
  null !== prevActQueue ? prevActQueue : []),
1454
- didAwaitActCall = !1;
1436
+ didAwaitActCall = false;
1455
1437
  try {
1456
1438
  var result = callback();
1457
1439
  } catch (error) {
@@ -1473,14 +1455,14 @@ function requireReact_development () {
1473
1455
  queueSeveralMicrotasks(function () {
1474
1456
  didAwaitActCall ||
1475
1457
  didWarnNoAwaitAct ||
1476
- ((didWarnNoAwaitAct = !0),
1458
+ ((didWarnNoAwaitAct = true),
1477
1459
  console.error(
1478
1460
  "You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"
1479
1461
  ));
1480
1462
  });
1481
1463
  return {
1482
1464
  then: function (resolve, reject) {
1483
- didAwaitActCall = !0;
1465
+ didAwaitActCall = true;
1484
1466
  thenable.then(
1485
1467
  function (returnValue) {
1486
1468
  popActScope(prevActQueue, prevActScopeDepth);
@@ -1528,7 +1510,7 @@ function requireReact_development () {
1528
1510
  queueSeveralMicrotasks(function () {
1529
1511
  didAwaitActCall ||
1530
1512
  didWarnNoAwaitAct ||
1531
- ((didWarnNoAwaitAct = !0),
1513
+ ((didWarnNoAwaitAct = true),
1532
1514
  console.error(
1533
1515
  "A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"
1534
1516
  ));
@@ -1542,7 +1524,7 @@ function requireReact_development () {
1542
1524
  );
1543
1525
  return {
1544
1526
  then: function (resolve, reject) {
1545
- didAwaitActCall = !0;
1527
+ didAwaitActCall = true;
1546
1528
  0 === prevActScopeDepth
1547
1529
  ? ((ReactSharedInternals.actQueue = queue),
1548
1530
  enqueueTask(function () {
@@ -1589,7 +1571,7 @@ function requireReact_development () {
1589
1571
  ).get) &&
1590
1572
  JSCompiler_inline_result.isReactWarning
1591
1573
  ) {
1592
- JSCompiler_inline_result = !1;
1574
+ JSCompiler_inline_result = false;
1593
1575
  break a;
1594
1576
  }
1595
1577
  JSCompiler_inline_result = void 0 !== config.ref;
@@ -1652,7 +1634,7 @@ function requireReact_development () {
1652
1634
  for (propName in (didWarnAboutOldJSXRuntime ||
1653
1635
  !("__self" in config) ||
1654
1636
  "key" in config ||
1655
- ((didWarnAboutOldJSXRuntime = !0),
1637
+ ((didWarnAboutOldJSXRuntime = true),
1656
1638
  console.warn(
1657
1639
  "Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform"
1658
1640
  )),
@@ -1727,8 +1709,8 @@ function requireReact_development () {
1727
1709
  var elementType = { $$typeof: REACT_FORWARD_REF_TYPE, render: render },
1728
1710
  ownName;
1729
1711
  Object.defineProperty(elementType, "displayName", {
1730
- enumerable: !1,
1731
- configurable: !0,
1712
+ enumerable: false,
1713
+ configurable: true,
1732
1714
  get: function () {
1733
1715
  return ownName;
1734
1716
  },
@@ -1776,8 +1758,8 @@ function requireReact_development () {
1776
1758
  };
1777
1759
  var ownName;
1778
1760
  Object.defineProperty(compare, "displayName", {
1779
- enumerable: !1,
1780
- configurable: !0,
1761
+ enumerable: false,
1762
+ configurable: true,
1781
1763
  get: function () {
1782
1764
  return ownName;
1783
1765
  },
@@ -2025,7 +2007,7 @@ function requireReactJsxRuntime_development () {
2025
2007
  testStringCoercion(value);
2026
2008
  var JSCompiler_inline_result = !1;
2027
2009
  } catch (e) {
2028
- JSCompiler_inline_result = !0;
2010
+ JSCompiler_inline_result = true;
2029
2011
  }
2030
2012
  if (JSCompiler_inline_result) {
2031
2013
  JSCompiler_inline_result = console;
@@ -2069,29 +2051,29 @@ function requireReactJsxRuntime_development () {
2069
2051
  function hasValidKey(config) {
2070
2052
  if (hasOwnProperty.call(config, "key")) {
2071
2053
  var getter = Object.getOwnPropertyDescriptor(config, "key").get;
2072
- if (getter && getter.isReactWarning) return !1;
2054
+ if (getter && getter.isReactWarning) return false;
2073
2055
  }
2074
2056
  return void 0 !== config.key;
2075
2057
  }
2076
2058
  function defineKeyPropWarningGetter(props, displayName) {
2077
2059
  function warnAboutAccessingKey() {
2078
2060
  specialPropKeyWarningShown ||
2079
- ((specialPropKeyWarningShown = !0),
2061
+ ((specialPropKeyWarningShown = true),
2080
2062
  console.error(
2081
2063
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
2082
2064
  displayName
2083
2065
  ));
2084
2066
  }
2085
- warnAboutAccessingKey.isReactWarning = !0;
2067
+ warnAboutAccessingKey.isReactWarning = true;
2086
2068
  Object.defineProperty(props, "key", {
2087
2069
  get: warnAboutAccessingKey,
2088
- configurable: !0
2070
+ configurable: true
2089
2071
  });
2090
2072
  }
2091
2073
  function elementRefGetterWithDeprecationWarning() {
2092
2074
  var componentName = getComponentNameFromType(this.type);
2093
2075
  didWarnAboutElementRef[componentName] ||
2094
- ((didWarnAboutElementRef[componentName] = !0),
2076
+ ((didWarnAboutElementRef[componentName] = true),
2095
2077
  console.error(
2096
2078
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
2097
2079
  ));
@@ -2109,33 +2091,33 @@ function requireReactJsxRuntime_development () {
2109
2091
  };
2110
2092
  null !== (void 0 !== refProp ? refProp : null)
2111
2093
  ? Object.defineProperty(type, "ref", {
2112
- enumerable: !1,
2094
+ enumerable: false,
2113
2095
  get: elementRefGetterWithDeprecationWarning
2114
2096
  })
2115
- : Object.defineProperty(type, "ref", { enumerable: !1, value: null });
2097
+ : Object.defineProperty(type, "ref", { enumerable: false, value: null });
2116
2098
  type._store = {};
2117
2099
  Object.defineProperty(type._store, "validated", {
2118
- configurable: !1,
2119
- enumerable: !1,
2120
- writable: !0,
2100
+ configurable: false,
2101
+ enumerable: false,
2102
+ writable: true,
2121
2103
  value: 0
2122
2104
  });
2123
2105
  Object.defineProperty(type, "_debugInfo", {
2124
- configurable: !1,
2125
- enumerable: !1,
2126
- writable: !0,
2106
+ configurable: false,
2107
+ enumerable: false,
2108
+ writable: true,
2127
2109
  value: null
2128
2110
  });
2129
2111
  Object.defineProperty(type, "_debugStack", {
2130
- configurable: !1,
2131
- enumerable: !1,
2132
- writable: !0,
2112
+ configurable: false,
2113
+ enumerable: false,
2114
+ writable: true,
2133
2115
  value: debugStack
2134
2116
  });
2135
2117
  Object.defineProperty(type, "_debugTask", {
2136
- configurable: !1,
2137
- enumerable: !1,
2138
- writable: !0,
2118
+ configurable: false,
2119
+ enumerable: false,
2120
+ writable: true,
2139
2121
  value: debugTask
2140
2122
  });
2141
2123
  Object.freeze && (Object.freeze(type.props), Object.freeze(type));
@@ -2184,7 +2166,7 @@ function requireReactJsxRuntime_development () {
2184
2166
  keys,
2185
2167
  children
2186
2168
  ),
2187
- (didWarnAboutKeySpread[children + isStaticChildren] = !0));
2169
+ (didWarnAboutKeySpread[children + isStaticChildren] = true));
2188
2170
  }
2189
2171
  children = null;
2190
2172
  void 0 !== maybeKey &&
@@ -2276,7 +2258,7 @@ function requireReactJsxRuntime_development () {
2276
2258
  type,
2277
2259
  config,
2278
2260
  maybeKey,
2279
- !1,
2261
+ false,
2280
2262
  trackActualOwner
2281
2263
  ? Error("react-stack-top-frame")
2282
2264
  : unknownOwnerDebugStack,
@@ -2290,7 +2272,7 @@ function requireReactJsxRuntime_development () {
2290
2272
  type,
2291
2273
  config,
2292
2274
  maybeKey,
2293
- !0,
2275
+ true,
2294
2276
  trackActualOwner
2295
2277
  ? Error("react-stack-top-frame")
2296
2278
  : unknownOwnerDebugStack,
@@ -2539,7 +2521,6 @@ var classnames = {exports: {}};
2539
2521
  Licensed under the MIT License (MIT), see
2540
2522
  http://jedwatson.github.io/classnames
2541
2523
  */
2542
- classnames.exports;
2543
2524
 
2544
2525
  var hasRequiredClassnames;
2545
2526
 
@@ -2620,7 +2601,7 @@ function requireClassnames () {
2620
2601
  var classnamesExports = requireClassnames();
2621
2602
  var classNames = /*@__PURE__*/getDefaultExportFromCjs(classnamesExports);
2622
2603
 
2623
- var e=[],t$2=[];function n$1(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r.prepend?"prepend":"append",d=!0===r.singleTag,i="string"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName("head")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t$2[u]={}),a=t$2[u]&&t$2[u][s]?t$2[u][s]:t$2[u][s]=c();}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n));}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a="prepend"===s?"afterbegin":"beforeend";return i.insertAdjacentElement(a,e),e}}
2604
+ var e=[],t$2=[];function n$1(n,r){if(n&&"undefined"!=typeof document){var a,s=true===r.prepend?"prepend":"append",d=true===r.singleTag,i="string"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName("head")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t$2[u]={}),a=t$2[u]&&t$2[u][s]?t$2[u][s]:t$2[u][s]=c();}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n));}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a="prepend"===s?"afterbegin":"beforeend";return i.insertAdjacentElement(a,e),e}}
2624
2605
 
2625
2606
  var css$d = ".day {\n width: 32px;\n height: 32px;\n}\n:global(.theme-light) .day {\n background-color: #ffffff;\n color: #333333;\n}\n:global(.theme-dark) .day {\n background-color: #333333;\n color: #ffffff;\n}\n.day {\n font-size: 13px;\n padding: 10px;\n border-radius: 8px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-weight: 600;\n border: none;\n position: relative;\n}\n\n:global(.theme-light) .holiday {\n color: #ff383c;\n}\n:global(.theme-dark) .holiday {\n color: #ff383c;\n}\n\n:global(.theme-light) .today {\n color: #2f80ed;\n}\n:global(.theme-dark) .today {\n color: #2f80ed;\n}\n\n:global(.theme-light) .selected {\n background-color: #2f80ed;\n color: #ffffff;\n}\n:global(.theme-dark) .selected {\n background-color: #2f80ed;\n color: #e1e1e1;\n}\n\n:global(.theme-light) .disabled {\n color: #aaaaaa;\n}\n:global(.theme-dark) .disabled {\n color: #aaaaaa;\n}\n.disabled {\n cursor: not-allowed;\n}\n\n:global(.theme-light) .otherMonth {\n color: #aaaaaa;\n}\n:global(.theme-dark) .otherMonth {\n color: #aaaaaa;\n}\n\n:global(.theme-light) .rangeStart {\n color: #ffffff;\n background-color: rgba(47, 129, 237, 0.5764705882);\n}\n:global(.theme-dark) .rangeStart {\n color: #e1e1e1;\n background-color: rgba(47, 129, 237, 0.5764705882);\n}\n.rangeStart {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n:global(.theme-light) .rangeMiddle {\n background-color: rgba(47, 129, 237, 0.1647058824);\n}\n:global(.theme-dark) .rangeMiddle {\n background-color: rgba(47, 129, 237, 0.1647058824);\n}\n.rangeMiddle {\n border-radius: 0;\n}\n\n:global(.theme-light) .rangeEnd {\n color: #ffffff;\n background-color: #2f80ed;\n}\n:global(.theme-dark) .rangeEnd {\n color: #e1e1e1;\n background-color: #2f80ed;\n}\n.rangeEnd {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n.hasTasks {\n position: relative;\n}\n.hasTasks::after {\n width: 4px;\n height: 4px;\n}\n:global(.theme-light) .hasTasks::after {\n background-color: #62d0a2;\n}\n:global(.theme-dark) .hasTasks::after {\n background-color: #62d0a2;\n}\n.hasTasks::after {\n content: \"\";\n position: absolute;\n top: 12%;\n right: 12%;\n border-radius: 100%;\n}";
2626
2607
  n$1(css$d,{});
@@ -2930,6 +2911,40 @@ const CalendarGridWithoutTasks = ({ children, ...props }) => {
2930
2911
  return (jsxRuntimeExports.jsxs("div", { className: css$b.calendar, children: [weeks.map((weekDays) => (jsxRuntimeExports.jsx(Week, { weekDays: weekDays, selectedDate: calendar.selectedDate, getIsDisabled: calendar.getIsDisabled, getIsCurrentMonth: calendar.getIsCurrentMonth, getIsHoliday: calendar.getIsHoliday, rangeStart: calendar.rangeStart, rangeEnd: calendar.rangeEnd, ...props }, weekDays[0].toISOString()))), error && jsxRuntimeExports.jsx("p", { className: css$b.errorMessage, children: error }), loading && jsxRuntimeExports.jsx("div", { children: "Loading..." }), children] }));
2931
2912
  };
2932
2913
 
2914
+ var _path$5;
2915
+ function _extends$5() { return _extends$5 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$5.apply(null, arguments); }
2916
+ var SvgDelete = function SvgDelete(props) {
2917
+ return /*#__PURE__*/reactExports.createElement("svg", _extends$5({
2918
+ xmlns: "http://www.w3.org/2000/svg",
2919
+ width: 14,
2920
+ height: 14,
2921
+ fill: "none"
2922
+ }, props), _path$5 || (_path$5 = /*#__PURE__*/reactExports.createElement("path", {
2923
+ stroke: "currentColor",
2924
+ strokeLinecap: "round",
2925
+ strokeLinejoin: "round",
2926
+ strokeWidth: 1.167,
2927
+ d: "m12.583.583-12 12M.583.583l12 12"
2928
+ })));
2929
+ };
2930
+
2931
+ var _path$4;
2932
+ function _extends$4() { return _extends$4 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$4.apply(null, arguments); }
2933
+ var SvgEdit = function SvgEdit(props) {
2934
+ return /*#__PURE__*/reactExports.createElement("svg", _extends$4({
2935
+ xmlns: "http://www.w3.org/2000/svg",
2936
+ width: 24,
2937
+ height: 24,
2938
+ fill: "none"
2939
+ }, props), _path$4 || (_path$4 = /*#__PURE__*/reactExports.createElement("path", {
2940
+ stroke: "currentColor",
2941
+ strokeLinecap: "round",
2942
+ strokeLinejoin: "round",
2943
+ strokeWidth: 1.167,
2944
+ d: "M21.174 6.812a2.819 2.819 0 1 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z"
2945
+ })));
2946
+ };
2947
+
2933
2948
  const useModal = (options = {}) => {
2934
2949
  const { initial = false, onOpen, onClose } = options;
2935
2950
  const [isOpen, setIsOpen] = reactExports.useState(initial);
@@ -3216,7 +3231,7 @@ function requireReactDom_development () {
3216
3231
  testStringCoercion(key);
3217
3232
  var JSCompiler_inline_result = !1;
3218
3233
  } catch (e) {
3219
- JSCompiler_inline_result = !0;
3234
+ JSCompiler_inline_result = true;
3220
3235
  }
3221
3236
  JSCompiler_inline_result &&
3222
3237
  (console.error(
@@ -3762,7 +3777,6 @@ function cloneObject(data) {
3762
3777
  const EVENTS = {
3763
3778
  BLUR: 'blur',
3764
3779
  FOCUS_OUT: 'focusout',
3765
- CHANGE: 'change',
3766
3780
  SUBMIT: 'submit',
3767
3781
  TRIGGER: 'trigger',
3768
3782
  VALID: 'valid',
@@ -3854,7 +3868,6 @@ var getProxyFormState = (formState, control, localProxyFormState, isRoot = true)
3854
3868
  if (control._proxyFormState[_key] !== VALIDATION_MODE.all) {
3855
3869
  control._proxyFormState[_key] = !isRoot || VALIDATION_MODE.all;
3856
3870
  }
3857
- localProxyFormState && (localProxyFormState[_key] = true);
3858
3871
  return formState[_key];
3859
3872
  },
3860
3873
  });
@@ -3933,10 +3946,7 @@ function useResyncOnReconnect(getInitialValue) {
3933
3946
  const _prevValue = React.useRef(undefined);
3934
3947
  const _renderCount = React.useRef(0);
3935
3948
  _renderCount.current++;
3936
- if (!_initialized.current && getInitialValue) {
3937
- _initialized.current = true;
3938
- _prevValue.current = cloneObject(getInitialValue());
3939
- }
3949
+ if (!_initialized.current && getInitialValue) ;
3940
3950
  const resyncIfNeeded = React.useCallback((enabled, getCurrentValue, setValue) => {
3941
3951
  if (enabled &&
3942
3952
  (_connected.current ||
@@ -6324,6 +6334,34 @@ const t$1=(r,t,s)=>{if(r&&"reportValidity"in r){const o=get(s,t);r.setCustomVali
6324
6334
 
6325
6335
  function o(){return o=Object.assign?Object.assign.bind():function(r){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)({}).hasOwnProperty.call(n,o)&&(r[o]=n[o]);}return r},o.apply(null,arguments)}function t(r,e){try{var n=r();}catch(r){return e(r)}return n&&n.then?n.then(void 0,e):n}function s(r,e){for(var o=Object.create(null);r.length;){var t=r[0],s=t.code,i=t.message,u=t.path.join(".");if(!o[u])if("unionErrors"in t){var a,c,l=t.unionErrors.reduce(function(r,e){return e.errors.length<r.errors.length?e:r}).errors[0];o[u]={message:null!=(a=null==l?void 0:l.message)?a:i,type:null!=(c=null==l?void 0:l.code)?c:s};}else o[u]={message:i,type:s};if("unionErrors"in t&&t.unionErrors.forEach(function(e){return e.errors.forEach(function(e){return r.push(e)})}),e){var f=o[u].types,d=f&&f[t.code];o[u]=appendErrors(u,e,o,s,d?[].concat(d,t.message):t.message);}r.shift();}return o}function i(r,e){for(var t=Object.create(null),s=function(){var s=r[0],i=s.code,u=s.message,a=s.path.join(".");if(!t[a])if("invalid_union"===s.code&&s.errors.length>0){var c,l,f=s.errors.reduce(function(r,e){return e.length<r.length?e:r})[0];t[a]={message:null!=(c=null==f?void 0:f.message)?c:u,type:null!=(l=null==f?void 0:f.code)?l:i};}else t[a]={message:u,type:i};if("invalid_union"===s.code&&s.errors.forEach(function(e){return e.forEach(function(e){return r.push(o({},e,{path:[].concat(s.path,e.path)}))})}),e){var d=t[a].types,h=d&&d[s.code];t[a]=appendErrors(a,e,t,i,h?[].concat(h,s.message):s.message);}r.shift();};r.length;)s();return t}function u(n,o,u){if(void 0===u&&(u={}),function(r){return "_zod"in r&&"object"==typeof r._zod}(n))return function(s,a,c){try{return Promise.resolve(t(function(){function e(e){return c.shouldUseNativeValidation&&s$1({},c),{errors:{},values:u.raw?Object.assign({},s):e}}var t=n;return "sync"===u.mode?e(t.parse(s,o)):Promise.resolve(t.parseAsync(s,o)).then(e)},function(r){if(function(r){var e;return !(null==r||null==(e=r._zod)||null==(e=e.traits)||!e.has("$ZodError"))}(r))return {values:{},errors:o$1(i(r.issues,!c.shouldUseNativeValidation&&"all"===c.criteriaMode),c)};throw r}))}catch(r){return Promise.reject(r)}};if(function(r){return "_def"in r&&"object"==typeof r._def}(n))return function(i,a,c){try{return Promise.resolve(t(function(){return Promise.resolve(n["sync"===u.mode?"parse":"parseAsync"](i,o)).then(function(e){return c.shouldUseNativeValidation&&s$1({},c),{errors:{},values:u.raw?Object.assign({},i):e}})},function(r){if(function(r){return Array.isArray(null==r?void 0:r.issues)}(r))return {values:{},errors:o$1(s(r.errors,!c.shouldUseNativeValidation&&"all"===c.criteriaMode),c)};throw r}))}catch(r){return Promise.reject(r)}};throw new Error("Invalid input: not a Zod schema")}
6326
6336
 
6337
+ var _path$3;
6338
+ function _extends$3() { return _extends$3 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$3.apply(null, arguments); }
6339
+ var SvgCalendar = function SvgCalendar(props) {
6340
+ return /*#__PURE__*/reactExports.createElement("svg", _extends$3({
6341
+ xmlns: "http://www.w3.org/2000/svg",
6342
+ width: 16,
6343
+ height: 16,
6344
+ fill: "none"
6345
+ }, props), _path$3 || (_path$3 = /*#__PURE__*/reactExports.createElement("path", {
6346
+ fill: "currentColor",
6347
+ d: "M8.2 9.6a.77.77 0 0 1-.57-.23.77.77 0 0 1-.23-.57q0-.34.23-.57A.77.77 0 0 1 8.2 8q.34 0 .57.23T9 8.8a.77.77 0 0 1-.23.57.78.78 0 0 1-.57.23M5 9.6a.78.78 0 0 1-.57-.23.77.77 0 0 1-.23-.57q0-.34.23-.57A.78.78 0 0 1 5 8q.34 0 .57.23t.23.57a.77.77 0 0 1-.23.57.78.78 0 0 1-.57.23m6.4 0a.77.77 0 0 1-.57-.23.77.77 0 0 1-.23-.57q0-.34.23-.57A.77.77 0 0 1 11.4 8q.34 0 .57.23t.23.57a.77.77 0 0 1-.23.57.77.77 0 0 1-.57.23m-3.2 3.2a.77.77 0 0 1-.57-.23.77.77 0 0 1-.23-.57q0-.34.23-.57a.77.77 0 0 1 .57-.23q.34 0 .57.23T9 12a.77.77 0 0 1-.23.57.78.78 0 0 1-.57.23m-3.2 0a.78.78 0 0 1-.57-.23.77.77 0 0 1-.23-.57q0-.34.23-.57A.78.78 0 0 1 5 11.2q.34 0 .57.23t.23.57a.77.77 0 0 1-.23.57.78.78 0 0 1-.57.23m6.4 0a.77.77 0 0 1-.57-.23.77.77 0 0 1-.23-.57q0-.34.23-.57a.77.77 0 0 1 .57-.23q.34 0 .57.23t.23.57a.77.77 0 0 1-.23.57.77.77 0 0 1-.57.23M2.6 16q-.66 0-1.13-.47A1.54 1.54 0 0 1 1 14.4V3.2q0-.66.47-1.13T2.6 1.6h.8V0H5v1.6h6.4V0H13v1.6h.8q.66 0 1.13.47t.47 1.13v11.2q0 .66-.47 1.13T13.8 16zm0-1.6h11.2v-8H2.6z"
6348
+ })));
6349
+ };
6350
+
6351
+ var _path$2;
6352
+ function _extends$2() { return _extends$2 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$2.apply(null, arguments); }
6353
+ var SvgClear = function SvgClear(props) {
6354
+ return /*#__PURE__*/reactExports.createElement("svg", _extends$2({
6355
+ xmlns: "http://www.w3.org/2000/svg",
6356
+ width: 16,
6357
+ height: 16,
6358
+ fill: "none"
6359
+ }, props), _path$2 || (_path$2 = /*#__PURE__*/reactExports.createElement("path", {
6360
+ fill: "currentColor",
6361
+ d: "M12.987 3.042c-2.73-2.723-7.21-2.723-9.94 0-2.73 2.724-2.73 7.192 0 9.916a6.983 6.983 0 0 0 9.87 0c2.73-2.724 2.8-7.192.07-9.916m-3.01 7.89-1.96-1.954-1.96 1.955-.98-.978L7.037 8l-1.96-1.955.98-.978 1.96 1.955 1.96-1.955.98.978L8.997 8l1.96 1.955z"
6362
+ })));
6363
+ };
6364
+
6327
6365
  var css$9 = ":global(.theme-light) .wrapper {\n color: #333333;\n background-color: #ffffff;\n}\n:global(.theme-dark) .wrapper {\n color: #ffffff;\n background-color: #333333;\n}\n.wrapper {\n display: flex;\n flex-direction: column;\n align-items: start;\n gap: 2px;\n width: 100%;\n}\n\n.label {\n font-size: 15px;\n font-weight: 600;\n margin-bottom: 8px;\n}\n\n:global(.theme-light) .inputWrapper {\n color: #333333;\n background-color: #ffffff;\n border-color: #e1e1e1;\n}\n:global(.theme-dark) .inputWrapper {\n color: #ffffff;\n background-color: #333333;\n border-color: #aaaaaa;\n}\n.inputWrapper {\n border-style: solid;\n border-width: 1px;\n padding: 8px 15px;\n border-radius: 8px;\n display: flex;\n gap: 8px;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n}\n\n:global(.theme-light) .errorWrapper {\n border-color: #ff383c;\n}\n:global(.theme-dark) .errorWrapper {\n border-color: #ff383c;\n}\n\n.input {\n border: none;\n outline: none;\n background-color: transparent;\n width: 100%;\n}\n:global(.theme-light) .input {\n color: #333333;\n}\n:global(.theme-dark) .input {\n color: #ffffff;\n}\n:global(.theme-light) .input::placeholder {\n color: #e1e1e1;\n}\n:global(.theme-dark) .input::placeholder {\n color: #aaaaaa;\n}\n\n.clear {\n border: none;\n background-color: transparent;\n width: max-content;\n padding: 0;\n}\n\n:global(.theme-light) .icon {\n color: #aaaaaa;\n}\n:global(.theme-dark) .icon {\n color: #aaaaaa;\n}\n\n:global(.theme-light) .error {\n color: #ff383c;\n}\n:global(.theme-dark) .error {\n color: #ff383c;\n}\n.error {\n height: 15px;\n}";
6328
6366
  n$1(css$9,{});
6329
6367
 
@@ -6332,7 +6370,7 @@ const Input = ({ label, error, className = '', id, onReset, placeholder, type =
6332
6370
  const inputId = id || `input-${generatedId}`;
6333
6371
  return (jsxRuntimeExports.jsxs("div", { className: css$9.wrapper, children: [label && (jsxRuntimeExports.jsx("label", { htmlFor: inputId, className: css$9.label, children: label })), jsxRuntimeExports.jsxs("div", { className: classNames(css$9.inputWrapper, {
6334
6372
  [css$9.errorWrapper]: error,
6335
- }), children: [isDateInput && jsxRuntimeExports.jsx(Calendar__default["default"], { className: css$9.icon }), jsxRuntimeExports.jsx("input", { id: inputId, type: type, ref: ref, placeholder: placeholder, className: classNames(css$9.input, className), ...restProps }), isDateInput && onReset && (jsxRuntimeExports.jsx("button", { className: css$9.clear, onClick: onReset, type: "button", children: jsxRuntimeExports.jsx(Clear__default["default"], { className: css$9.icon }) }))] }), jsxRuntimeExports.jsx("span", { className: css$9.error, children: error ?? '' })] }));
6373
+ }), children: [isDateInput && jsxRuntimeExports.jsx(SvgCalendar, { className: css$9.icon }), jsxRuntimeExports.jsx("input", { id: inputId, type: type, ref: ref, placeholder: placeholder, className: classNames(css$9.input, className), ...restProps }), isDateInput && onReset && (jsxRuntimeExports.jsx("button", { className: css$9.clear, onClick: onReset, type: "button", children: jsxRuntimeExports.jsx(SvgClear, { className: css$9.icon }) }))] }), jsxRuntimeExports.jsx("span", { className: css$9.error, children: error ?? '' })] }));
6336
6374
  };
6337
6375
 
6338
6376
  var css$8 = ".header {\n margin-bottom: 24px;\n margin-top: 8px;\n}\n\n.title {\n font-size: 18px;\n}\n\n.footer {\n display: flex;\n width: 100%;\n gap: 10px;\n justify-content: end;\n}\n\n.children {\n display: flex;\n gap: 8px;\n flex-direction: column;\n min-width: 300px;\n width: fit-content;\n margin-bottom: 24px;\n}\n\n:global(.theme-light) .modalButtons {\n background-color: rgba(47, 129, 237, 0.1647058824);\n border-color: #e1e1e1;\n color: #333333;\n}\n:global(.theme-dark) .modalButtons {\n background-color: rgba(47, 129, 237, 0.1647058824);\n border-color: #aaaaaa;\n color: #ffffff;\n}\n.modalButtons {\n border-style: solid;\n border-width: 1px;\n padding: 5px 10px;\n border-radius: 8px;\n}\n\n:global(.theme-light) .confirm {\n background-color: rgba(47, 129, 237, 0.5764705882);\n border-color: #e1e1e1;\n color: #ffffff;\n}\n:global(.theme-dark) .confirm {\n background-color: rgba(47, 129, 237, 0.5764705882);\n border-color: #aaaaaa;\n color: #e1e1e1;\n}";
@@ -11828,7 +11866,7 @@ const TasksManager = ({ onClose, isOpen, tasks, selectedDate, }) => {
11828
11866
  };
11829
11867
  return (jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx(Modal, { isOpen: isOpen, onClose: onClose, children: jsxRuntimeExports.jsxs("div", { className: css$7.tasksManager, children: [jsxRuntimeExports.jsx("h1", { className: css$7.header, children: "Tasks for the day:" }), jsxRuntimeExports.jsx("button", { className: css$7.add, onClick: handleAddTask, children: "Add task" }), jsxRuntimeExports.jsxs("ul", { className: css$7.tasks, children: [tasks.length < 1 && (jsxRuntimeExports.jsx("li", { children: jsxRuntimeExports.jsx("p", { children: "No tasks added" }) })), tasks.map(({ id, title, completed }) => (jsxRuntimeExports.jsxs("li", { className: classNames(css$7.task, {
11830
11868
  [css$7.checked]: completed,
11831
- }), children: [jsxRuntimeExports.jsx("input", { type: "checkbox", checked: completed, onChange: handleToggle(id) }), jsxRuntimeExports.jsx("p", { className: css$7.title, children: title }), jsxRuntimeExports.jsx("button", { onClick: handleEditTask(id), className: css$7.action, children: jsxRuntimeExports.jsx(Edit__default["default"], {}) }), jsxRuntimeExports.jsx("button", { onClick: handleDeleteTask(id), className: classNames(css$7.action, css$7.delete), children: jsxRuntimeExports.jsx(Delete__default["default"], {}) })] }, id)))] })] }) }), jsxRuntimeExports.jsx(AddModal, { isOpen: addModal.isOpen, onClose: addModal.close, date: selectedDate }), jsxRuntimeExports.jsx(EditModal, { isOpen: editModal.isOpen, onClose: editModal.close, id: currentTaskId, date: selectedDate }), jsxRuntimeExports.jsx(DeleteModal, { isOpen: deleteModal.isOpen, onClose: deleteModal.close, id: currentTaskId })] }));
11869
+ }), children: [jsxRuntimeExports.jsx("input", { type: "checkbox", checked: completed, onChange: handleToggle(id) }), jsxRuntimeExports.jsx("p", { className: css$7.title, children: title }), jsxRuntimeExports.jsx("button", { onClick: handleEditTask(id), className: css$7.action, children: jsxRuntimeExports.jsx(SvgEdit, {}) }), jsxRuntimeExports.jsx("button", { onClick: handleDeleteTask(id), className: classNames(css$7.action, css$7.delete), children: jsxRuntimeExports.jsx(SvgDelete, {}) })] }, id)))] })] }) }), jsxRuntimeExports.jsx(AddModal, { isOpen: addModal.isOpen, onClose: addModal.close, date: selectedDate }), jsxRuntimeExports.jsx(EditModal, { isOpen: editModal.isOpen, onClose: editModal.close, id: currentTaskId, date: selectedDate }), jsxRuntimeExports.jsx(DeleteModal, { isOpen: deleteModal.isOpen, onClose: deleteModal.close, id: currentTaskId })] }));
11832
11870
  };
11833
11871
 
11834
11872
  const useTooltip = () => {
@@ -11913,13 +11951,47 @@ const MONTHS_NAMES = [
11913
11951
  'December',
11914
11952
  ];
11915
11953
 
11954
+ var _path$1, _path2$1;
11955
+ function _extends$1() { return _extends$1 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$1.apply(null, arguments); }
11956
+ var SvgNext = function SvgNext(props) {
11957
+ return /*#__PURE__*/reactExports.createElement("svg", _extends$1({
11958
+ xmlns: "http://www.w3.org/2000/svg",
11959
+ width: 16,
11960
+ height: 16,
11961
+ fill: "none"
11962
+ }, props), _path$1 || (_path$1 = /*#__PURE__*/reactExports.createElement("path", {
11963
+ fill: "currentColor",
11964
+ d: "m4.273 4-.94.94L6.387 8l-3.054 3.06.94.94 4-4z"
11965
+ })), _path2$1 || (_path2$1 = /*#__PURE__*/reactExports.createElement("path", {
11966
+ fill: "currentColor",
11967
+ d: "m8.667 4-.94.94L10.78 8l-3.053 3.06.94.94 4-4z"
11968
+ })));
11969
+ };
11970
+
11971
+ var _path, _path2;
11972
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
11973
+ var SvgPrev = function SvgPrev(props) {
11974
+ return /*#__PURE__*/reactExports.createElement("svg", _extends({
11975
+ xmlns: "http://www.w3.org/2000/svg",
11976
+ width: 16,
11977
+ height: 16,
11978
+ fill: "none"
11979
+ }, props), _path || (_path = /*#__PURE__*/reactExports.createElement("path", {
11980
+ fill: "currentColor",
11981
+ d: "m11.727 12 .94-.94L9.613 8l3.054-3.06-.94-.94-4 4z"
11982
+ })), _path2 || (_path2 = /*#__PURE__*/reactExports.createElement("path", {
11983
+ fill: "currentColor",
11984
+ d: "m7.333 12 .94-.94L5.22 8l3.053-3.06-.94-.94-4 4z"
11985
+ })));
11986
+ };
11987
+
11916
11988
  var css$5 = ":global(.theme-light) .month {\n color: #333333;\n background-color: #ffffff;\n}\n:global(.theme-dark) .month {\n color: #ffffff;\n background-color: #333333;\n}\n.month {\n display: flex;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n padding-block: 5px;\n gap: 2px;\n font-weight: 700;\n}\n\n:global(.theme-light) .arrow {\n color: #333333;\n}\n:global(.theme-dark) .arrow {\n color: #ffffff;\n}\n.arrow {\n width: max-content;\n border: none;\n background-color: transparent;\n}\n:global(.theme-light) .arrow:hover {\n color: rgba(47, 129, 237, 0.5764705882);\n}\n:global(.theme-dark) .arrow:hover {\n color: rgba(47, 129, 237, 0.5764705882);\n}";
11917
11989
  n$1(css$5,{});
11918
11990
 
11919
11991
  const Month = ({ date, onPrev, onNext }) => {
11920
11992
  const year = date.getFullYear();
11921
11993
  const month = MONTHS_NAMES[date.getMonth()];
11922
- return (jsxRuntimeExports.jsxs("div", { className: css$5.month, children: [jsxRuntimeExports.jsx("button", { className: css$5.arrow, onClick: onPrev, type: "button", children: jsxRuntimeExports.jsx(Prev__default["default"], {}) }), jsxRuntimeExports.jsxs("p", { children: [month, " ", year] }), jsxRuntimeExports.jsx("button", { className: css$5.arrow, onClick: onNext, type: "button", children: jsxRuntimeExports.jsx(Next__default["default"], {}) })] }));
11994
+ return (jsxRuntimeExports.jsxs("div", { className: css$5.month, children: [jsxRuntimeExports.jsx("button", { className: css$5.arrow, onClick: onPrev, type: "button", children: jsxRuntimeExports.jsx(SvgPrev, {}) }), jsxRuntimeExports.jsxs("p", { children: [month, " ", year] }), jsxRuntimeExports.jsx("button", { className: css$5.arrow, onClick: onNext, type: "button", children: jsxRuntimeExports.jsx(SvgNext, {}) })] }));
11923
11995
  };
11924
11996
 
11925
11997
  const WEEKDAYS_NAMES = ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'];
@@ -12488,7 +12560,7 @@ class InputHistory {
12488
12560
  return this.go(-1);
12489
12561
  }
12490
12562
  redo() {
12491
- return this.go(+1);
12563
+ return this.go(1);
12492
12564
  }
12493
12565
  clear() {
12494
12566
  this.states.length = 0;