@daryasidorovich/modsen-datepicker 1.0.6 → 1.0.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.
- package/dist/components/Button/Button.d.ts +5 -0
- package/dist/components/Button/index.d.ts +1 -0
- package/dist/index.cjs +90 -107
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +87 -93
- package/dist/index.js.map +1 -1
- package/package.json +4 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FIRST_DAY_OF_WEEK } from './constants/firstDayOfWeek';
|
|
2
2
|
import { MODES } from './constants/modes';
|
|
3
3
|
export { BaseCalendar } from './components/BaseCalendar';
|
|
4
|
-
export type { BaseCalendarProps, CalendarProps, } from './components/
|
|
4
|
+
export type { BaseCalendarProps, CalendarProps, } from './components/Calendar/types';
|
|
5
5
|
export type { DatePickerProps } from './components/DatePicker';
|
|
6
6
|
export { DatePicker } from './components/DatePicker';
|
|
7
7
|
export type { RangePickerProps } from './components/RangePicker';
|
package/dist/index.js
CHANGED
|
@@ -107,7 +107,7 @@ function requireReact_production () {
|
|
|
107
107
|
}
|
|
108
108
|
var ReactNoopUpdateQueue = {
|
|
109
109
|
isMounted: function () {
|
|
110
|
-
return
|
|
110
|
+
return false;
|
|
111
111
|
},
|
|
112
112
|
enqueueForceUpdate: function () {},
|
|
113
113
|
enqueueReplaceState: function () {},
|
|
@@ -147,7 +147,7 @@ function requireReact_production () {
|
|
|
147
147
|
var pureComponentPrototype = (PureComponent.prototype = new ComponentDummy());
|
|
148
148
|
pureComponentPrototype.constructor = PureComponent;
|
|
149
149
|
assign(pureComponentPrototype, Component.prototype);
|
|
150
|
-
pureComponentPrototype.isPureReactComponent =
|
|
150
|
+
pureComponentPrototype.isPureReactComponent = true;
|
|
151
151
|
var isArrayImpl = Array.isArray;
|
|
152
152
|
function noop() {}
|
|
153
153
|
var ReactSharedInternals = { H: null, A: null, T: null, S: null },
|
|
@@ -222,20 +222,20 @@ function requireReact_production () {
|
|
|
222
222
|
function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
|
|
223
223
|
var type = typeof children;
|
|
224
224
|
if ("undefined" === type || "boolean" === type) children = null;
|
|
225
|
-
var invokeCallback =
|
|
226
|
-
if (null === children) invokeCallback =
|
|
225
|
+
var invokeCallback = false;
|
|
226
|
+
if (null === children) invokeCallback = true;
|
|
227
227
|
else
|
|
228
228
|
switch (type) {
|
|
229
229
|
case "bigint":
|
|
230
230
|
case "string":
|
|
231
231
|
case "number":
|
|
232
|
-
invokeCallback =
|
|
232
|
+
invokeCallback = true;
|
|
233
233
|
break;
|
|
234
234
|
case "object":
|
|
235
235
|
switch (children.$$typeof) {
|
|
236
236
|
case REACT_ELEMENT_TYPE:
|
|
237
237
|
case REACT_PORTAL_TYPE:
|
|
238
|
-
invokeCallback =
|
|
238
|
+
invokeCallback = true;
|
|
239
239
|
break;
|
|
240
240
|
case REACT_LAZY_TYPE:
|
|
241
241
|
return (
|
|
@@ -365,8 +365,8 @@ function requireReact_production () {
|
|
|
365
365
|
"function" === typeof window.ErrorEvent
|
|
366
366
|
) {
|
|
367
367
|
var event = new window.ErrorEvent("error", {
|
|
368
|
-
bubbles:
|
|
369
|
-
cancelable:
|
|
368
|
+
bubbles: true,
|
|
369
|
+
cancelable: true,
|
|
370
370
|
message:
|
|
371
371
|
"object" === typeof error &&
|
|
372
372
|
null !== error &&
|
|
@@ -671,7 +671,7 @@ function requireReact_development () {
|
|
|
671
671
|
callerName,
|
|
672
672
|
publicInstance
|
|
673
673
|
),
|
|
674
|
-
(didWarnStateUpdateForUnmountedComponent[warningKey] =
|
|
674
|
+
(didWarnStateUpdateForUnmountedComponent[warningKey] = true));
|
|
675
675
|
}
|
|
676
676
|
function Component(props, context, updater) {
|
|
677
677
|
this.props = props;
|
|
@@ -695,7 +695,7 @@ function requireReact_development () {
|
|
|
695
695
|
testStringCoercion(value);
|
|
696
696
|
var JSCompiler_inline_result = !1;
|
|
697
697
|
} catch (e) {
|
|
698
|
-
JSCompiler_inline_result =
|
|
698
|
+
JSCompiler_inline_result = true;
|
|
699
699
|
}
|
|
700
700
|
if (JSCompiler_inline_result) {
|
|
701
701
|
JSCompiler_inline_result = console;
|
|
@@ -797,29 +797,29 @@ function requireReact_development () {
|
|
|
797
797
|
function hasValidKey(config) {
|
|
798
798
|
if (hasOwnProperty.call(config, "key")) {
|
|
799
799
|
var getter = Object.getOwnPropertyDescriptor(config, "key").get;
|
|
800
|
-
if (getter && getter.isReactWarning) return
|
|
800
|
+
if (getter && getter.isReactWarning) return false;
|
|
801
801
|
}
|
|
802
802
|
return void 0 !== config.key;
|
|
803
803
|
}
|
|
804
804
|
function defineKeyPropWarningGetter(props, displayName) {
|
|
805
805
|
function warnAboutAccessingKey() {
|
|
806
806
|
specialPropKeyWarningShown ||
|
|
807
|
-
((specialPropKeyWarningShown =
|
|
807
|
+
((specialPropKeyWarningShown = true),
|
|
808
808
|
console.error(
|
|
809
809
|
"%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)",
|
|
810
810
|
displayName
|
|
811
811
|
));
|
|
812
812
|
}
|
|
813
|
-
warnAboutAccessingKey.isReactWarning =
|
|
813
|
+
warnAboutAccessingKey.isReactWarning = true;
|
|
814
814
|
Object.defineProperty(props, "key", {
|
|
815
815
|
get: warnAboutAccessingKey,
|
|
816
|
-
configurable:
|
|
816
|
+
configurable: true
|
|
817
817
|
});
|
|
818
818
|
}
|
|
819
819
|
function elementRefGetterWithDeprecationWarning() {
|
|
820
820
|
var componentName = getComponentNameFromType(this.type);
|
|
821
821
|
didWarnAboutElementRef[componentName] ||
|
|
822
|
-
((didWarnAboutElementRef[componentName] =
|
|
822
|
+
((didWarnAboutElementRef[componentName] = true),
|
|
823
823
|
console.error(
|
|
824
824
|
"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."
|
|
825
825
|
));
|
|
@@ -837,33 +837,33 @@ function requireReact_development () {
|
|
|
837
837
|
};
|
|
838
838
|
null !== (void 0 !== refProp ? refProp : null)
|
|
839
839
|
? Object.defineProperty(type, "ref", {
|
|
840
|
-
enumerable:
|
|
840
|
+
enumerable: false,
|
|
841
841
|
get: elementRefGetterWithDeprecationWarning
|
|
842
842
|
})
|
|
843
|
-
: Object.defineProperty(type, "ref", { enumerable:
|
|
843
|
+
: Object.defineProperty(type, "ref", { enumerable: false, value: null });
|
|
844
844
|
type._store = {};
|
|
845
845
|
Object.defineProperty(type._store, "validated", {
|
|
846
|
-
configurable:
|
|
847
|
-
enumerable:
|
|
848
|
-
writable:
|
|
846
|
+
configurable: false,
|
|
847
|
+
enumerable: false,
|
|
848
|
+
writable: true,
|
|
849
849
|
value: 0
|
|
850
850
|
});
|
|
851
851
|
Object.defineProperty(type, "_debugInfo", {
|
|
852
|
-
configurable:
|
|
853
|
-
enumerable:
|
|
854
|
-
writable:
|
|
852
|
+
configurable: false,
|
|
853
|
+
enumerable: false,
|
|
854
|
+
writable: true,
|
|
855
855
|
value: null
|
|
856
856
|
});
|
|
857
857
|
Object.defineProperty(type, "_debugStack", {
|
|
858
|
-
configurable:
|
|
859
|
-
enumerable:
|
|
860
|
-
writable:
|
|
858
|
+
configurable: false,
|
|
859
|
+
enumerable: false,
|
|
860
|
+
writable: true,
|
|
861
861
|
value: debugStack
|
|
862
862
|
});
|
|
863
863
|
Object.defineProperty(type, "_debugTask", {
|
|
864
|
-
configurable:
|
|
865
|
-
enumerable:
|
|
866
|
-
writable:
|
|
864
|
+
configurable: false,
|
|
865
|
+
enumerable: false,
|
|
866
|
+
writable: true,
|
|
867
867
|
value: debugTask
|
|
868
868
|
});
|
|
869
869
|
Object.freeze && (Object.freeze(type.props), Object.freeze(type));
|
|
@@ -953,20 +953,20 @@ function requireReact_development () {
|
|
|
953
953
|
function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
|
|
954
954
|
var type = typeof children;
|
|
955
955
|
if ("undefined" === type || "boolean" === type) children = null;
|
|
956
|
-
var invokeCallback =
|
|
957
|
-
if (null === children) invokeCallback =
|
|
956
|
+
var invokeCallback = false;
|
|
957
|
+
if (null === children) invokeCallback = true;
|
|
958
958
|
else
|
|
959
959
|
switch (type) {
|
|
960
960
|
case "bigint":
|
|
961
961
|
case "string":
|
|
962
962
|
case "number":
|
|
963
|
-
invokeCallback =
|
|
963
|
+
invokeCallback = true;
|
|
964
964
|
break;
|
|
965
965
|
case "object":
|
|
966
966
|
switch (children.$$typeof) {
|
|
967
967
|
case REACT_ELEMENT_TYPE:
|
|
968
968
|
case REACT_PORTAL_TYPE:
|
|
969
|
-
invokeCallback =
|
|
969
|
+
invokeCallback = true;
|
|
970
970
|
break;
|
|
971
971
|
case REACT_LAZY_TYPE:
|
|
972
972
|
return (
|
|
@@ -1042,7 +1042,7 @@ function requireReact_development () {
|
|
|
1042
1042
|
console.warn(
|
|
1043
1043
|
"Using Maps as children is not supported. Use an array of keyed ReactElements instead."
|
|
1044
1044
|
),
|
|
1045
|
-
(didWarnAboutMaps =
|
|
1045
|
+
(didWarnAboutMaps = true)),
|
|
1046
1046
|
children = i.call(children),
|
|
1047
1047
|
i = 0;
|
|
1048
1048
|
!(nameSoFar = children.next()).done;
|
|
@@ -1162,8 +1162,8 @@ function requireReact_development () {
|
|
|
1162
1162
|
).setImmediate;
|
|
1163
1163
|
} catch (_err) {
|
|
1164
1164
|
enqueueTaskImpl = function (callback) {
|
|
1165
|
-
|
|
1166
|
-
((didWarnAboutMessageChannel =
|
|
1165
|
+
false === didWarnAboutMessageChannel &&
|
|
1166
|
+
((didWarnAboutMessageChannel = true),
|
|
1167
1167
|
"undefined" === typeof MessageChannel &&
|
|
1168
1168
|
console.error(
|
|
1169
1169
|
"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."
|
|
@@ -1209,7 +1209,7 @@ function requireReact_development () {
|
|
|
1209
1209
|
}
|
|
1210
1210
|
function flushActQueue(queue) {
|
|
1211
1211
|
if (!isFlushing) {
|
|
1212
|
-
isFlushing =
|
|
1212
|
+
isFlushing = true;
|
|
1213
1213
|
var i = 0;
|
|
1214
1214
|
try {
|
|
1215
1215
|
for (; i < queue.length; i++) {
|
|
@@ -1231,7 +1231,7 @@ function requireReact_development () {
|
|
|
1231
1231
|
} catch (error) {
|
|
1232
1232
|
queue.splice(0, i + 1), ReactSharedInternals.thrownErrors.push(error);
|
|
1233
1233
|
} finally {
|
|
1234
|
-
isFlushing =
|
|
1234
|
+
isFlushing = false;
|
|
1235
1235
|
}
|
|
1236
1236
|
}
|
|
1237
1237
|
}
|
|
@@ -1256,7 +1256,7 @@ function requireReact_development () {
|
|
|
1256
1256
|
didWarnStateUpdateForUnmountedComponent = {},
|
|
1257
1257
|
ReactNoopUpdateQueue = {
|
|
1258
1258
|
isMounted: function () {
|
|
1259
|
-
return
|
|
1259
|
+
return false;
|
|
1260
1260
|
},
|
|
1261
1261
|
enqueueForceUpdate: function (publicInstance) {
|
|
1262
1262
|
warnNoop(publicInstance, "forceUpdate");
|
|
@@ -1303,7 +1303,7 @@ function requireReact_development () {
|
|
|
1303
1303
|
deprecatedAPIs = PureComponent.prototype = new ComponentDummy();
|
|
1304
1304
|
deprecatedAPIs.constructor = PureComponent;
|
|
1305
1305
|
assign(deprecatedAPIs, Component.prototype);
|
|
1306
|
-
deprecatedAPIs.isPureReactComponent =
|
|
1306
|
+
deprecatedAPIs.isPureReactComponent = true;
|
|
1307
1307
|
var isArrayImpl = Array.isArray,
|
|
1308
1308
|
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
|
|
1309
1309
|
ReactSharedInternals = {
|
|
@@ -1313,9 +1313,9 @@ function requireReact_development () {
|
|
|
1313
1313
|
S: null,
|
|
1314
1314
|
actQueue: null,
|
|
1315
1315
|
asyncTransitions: 0,
|
|
1316
|
-
isBatchingLegacy:
|
|
1317
|
-
didScheduleLegacyUpdate:
|
|
1318
|
-
didUsePromise:
|
|
1316
|
+
isBatchingLegacy: false,
|
|
1317
|
+
didScheduleLegacyUpdate: false,
|
|
1318
|
+
didUsePromise: false,
|
|
1319
1319
|
thrownErrors: [],
|
|
1320
1320
|
getCurrentStack: null,
|
|
1321
1321
|
recentlyCreatedOwnerStacks: 0
|
|
@@ -1338,7 +1338,7 @@ function requireReact_development () {
|
|
|
1338
1338
|
UnknownOwner
|
|
1339
1339
|
)();
|
|
1340
1340
|
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
|
|
1341
|
-
var didWarnAboutMaps =
|
|
1341
|
+
var didWarnAboutMaps = false,
|
|
1342
1342
|
userProvidedKeyEscapeRegex = /\/+/g,
|
|
1343
1343
|
reportGlobalError =
|
|
1344
1344
|
"function" === typeof reportError
|
|
@@ -1349,8 +1349,8 @@ function requireReact_development () {
|
|
|
1349
1349
|
"function" === typeof window.ErrorEvent
|
|
1350
1350
|
) {
|
|
1351
1351
|
var event = new window.ErrorEvent("error", {
|
|
1352
|
-
bubbles:
|
|
1353
|
-
cancelable:
|
|
1352
|
+
bubbles: true,
|
|
1353
|
+
cancelable: true,
|
|
1354
1354
|
message:
|
|
1355
1355
|
"object" === typeof error &&
|
|
1356
1356
|
null !== error &&
|
|
@@ -1369,11 +1369,11 @@ function requireReact_development () {
|
|
|
1369
1369
|
}
|
|
1370
1370
|
console.error(error);
|
|
1371
1371
|
},
|
|
1372
|
-
didWarnAboutMessageChannel =
|
|
1372
|
+
didWarnAboutMessageChannel = false,
|
|
1373
1373
|
enqueueTaskImpl = null,
|
|
1374
1374
|
actScopeDepth = 0,
|
|
1375
|
-
didWarnNoAwaitAct =
|
|
1376
|
-
isFlushing =
|
|
1375
|
+
didWarnNoAwaitAct = false,
|
|
1376
|
+
isFlushing = false,
|
|
1377
1377
|
queueSeveralMicrotasks =
|
|
1378
1378
|
"function" === typeof queueMicrotask
|
|
1379
1379
|
? function (callback) {
|
|
@@ -1438,7 +1438,7 @@ function requireReact_development () {
|
|
|
1438
1438
|
actScopeDepth++;
|
|
1439
1439
|
var queue = (ReactSharedInternals.actQueue =
|
|
1440
1440
|
null !== prevActQueue ? prevActQueue : []),
|
|
1441
|
-
didAwaitActCall =
|
|
1441
|
+
didAwaitActCall = false;
|
|
1442
1442
|
try {
|
|
1443
1443
|
var result = callback();
|
|
1444
1444
|
} catch (error) {
|
|
@@ -1460,14 +1460,14 @@ function requireReact_development () {
|
|
|
1460
1460
|
queueSeveralMicrotasks(function () {
|
|
1461
1461
|
didAwaitActCall ||
|
|
1462
1462
|
didWarnNoAwaitAct ||
|
|
1463
|
-
((didWarnNoAwaitAct =
|
|
1463
|
+
((didWarnNoAwaitAct = true),
|
|
1464
1464
|
console.error(
|
|
1465
1465
|
"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 () => ...);"
|
|
1466
1466
|
));
|
|
1467
1467
|
});
|
|
1468
1468
|
return {
|
|
1469
1469
|
then: function (resolve, reject) {
|
|
1470
|
-
didAwaitActCall =
|
|
1470
|
+
didAwaitActCall = true;
|
|
1471
1471
|
thenable.then(
|
|
1472
1472
|
function (returnValue) {
|
|
1473
1473
|
popActScope(prevActQueue, prevActScopeDepth);
|
|
@@ -1515,7 +1515,7 @@ function requireReact_development () {
|
|
|
1515
1515
|
queueSeveralMicrotasks(function () {
|
|
1516
1516
|
didAwaitActCall ||
|
|
1517
1517
|
didWarnNoAwaitAct ||
|
|
1518
|
-
((didWarnNoAwaitAct =
|
|
1518
|
+
((didWarnNoAwaitAct = true),
|
|
1519
1519
|
console.error(
|
|
1520
1520
|
"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(() => ...)"
|
|
1521
1521
|
));
|
|
@@ -1529,7 +1529,7 @@ function requireReact_development () {
|
|
|
1529
1529
|
);
|
|
1530
1530
|
return {
|
|
1531
1531
|
then: function (resolve, reject) {
|
|
1532
|
-
didAwaitActCall =
|
|
1532
|
+
didAwaitActCall = true;
|
|
1533
1533
|
0 === prevActScopeDepth
|
|
1534
1534
|
? ((ReactSharedInternals.actQueue = queue),
|
|
1535
1535
|
enqueueTask(function () {
|
|
@@ -1576,7 +1576,7 @@ function requireReact_development () {
|
|
|
1576
1576
|
).get) &&
|
|
1577
1577
|
JSCompiler_inline_result.isReactWarning
|
|
1578
1578
|
) {
|
|
1579
|
-
JSCompiler_inline_result =
|
|
1579
|
+
JSCompiler_inline_result = false;
|
|
1580
1580
|
break a;
|
|
1581
1581
|
}
|
|
1582
1582
|
JSCompiler_inline_result = void 0 !== config.ref;
|
|
@@ -1639,7 +1639,7 @@ function requireReact_development () {
|
|
|
1639
1639
|
for (propName in (didWarnAboutOldJSXRuntime ||
|
|
1640
1640
|
!("__self" in config) ||
|
|
1641
1641
|
"key" in config ||
|
|
1642
|
-
((didWarnAboutOldJSXRuntime =
|
|
1642
|
+
((didWarnAboutOldJSXRuntime = true),
|
|
1643
1643
|
console.warn(
|
|
1644
1644
|
"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"
|
|
1645
1645
|
)),
|
|
@@ -1714,8 +1714,8 @@ function requireReact_development () {
|
|
|
1714
1714
|
var elementType = { $$typeof: REACT_FORWARD_REF_TYPE, render: render },
|
|
1715
1715
|
ownName;
|
|
1716
1716
|
Object.defineProperty(elementType, "displayName", {
|
|
1717
|
-
enumerable:
|
|
1718
|
-
configurable:
|
|
1717
|
+
enumerable: false,
|
|
1718
|
+
configurable: true,
|
|
1719
1719
|
get: function () {
|
|
1720
1720
|
return ownName;
|
|
1721
1721
|
},
|
|
@@ -1763,8 +1763,8 @@ function requireReact_development () {
|
|
|
1763
1763
|
};
|
|
1764
1764
|
var ownName;
|
|
1765
1765
|
Object.defineProperty(compare, "displayName", {
|
|
1766
|
-
enumerable:
|
|
1767
|
-
configurable:
|
|
1766
|
+
enumerable: false,
|
|
1767
|
+
configurable: true,
|
|
1768
1768
|
get: function () {
|
|
1769
1769
|
return ownName;
|
|
1770
1770
|
},
|
|
@@ -2012,7 +2012,7 @@ function requireReactJsxRuntime_development () {
|
|
|
2012
2012
|
testStringCoercion(value);
|
|
2013
2013
|
var JSCompiler_inline_result = !1;
|
|
2014
2014
|
} catch (e) {
|
|
2015
|
-
JSCompiler_inline_result =
|
|
2015
|
+
JSCompiler_inline_result = true;
|
|
2016
2016
|
}
|
|
2017
2017
|
if (JSCompiler_inline_result) {
|
|
2018
2018
|
JSCompiler_inline_result = console;
|
|
@@ -2056,29 +2056,29 @@ function requireReactJsxRuntime_development () {
|
|
|
2056
2056
|
function hasValidKey(config) {
|
|
2057
2057
|
if (hasOwnProperty.call(config, "key")) {
|
|
2058
2058
|
var getter = Object.getOwnPropertyDescriptor(config, "key").get;
|
|
2059
|
-
if (getter && getter.isReactWarning) return
|
|
2059
|
+
if (getter && getter.isReactWarning) return false;
|
|
2060
2060
|
}
|
|
2061
2061
|
return void 0 !== config.key;
|
|
2062
2062
|
}
|
|
2063
2063
|
function defineKeyPropWarningGetter(props, displayName) {
|
|
2064
2064
|
function warnAboutAccessingKey() {
|
|
2065
2065
|
specialPropKeyWarningShown ||
|
|
2066
|
-
((specialPropKeyWarningShown =
|
|
2066
|
+
((specialPropKeyWarningShown = true),
|
|
2067
2067
|
console.error(
|
|
2068
2068
|
"%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)",
|
|
2069
2069
|
displayName
|
|
2070
2070
|
));
|
|
2071
2071
|
}
|
|
2072
|
-
warnAboutAccessingKey.isReactWarning =
|
|
2072
|
+
warnAboutAccessingKey.isReactWarning = true;
|
|
2073
2073
|
Object.defineProperty(props, "key", {
|
|
2074
2074
|
get: warnAboutAccessingKey,
|
|
2075
|
-
configurable:
|
|
2075
|
+
configurable: true
|
|
2076
2076
|
});
|
|
2077
2077
|
}
|
|
2078
2078
|
function elementRefGetterWithDeprecationWarning() {
|
|
2079
2079
|
var componentName = getComponentNameFromType(this.type);
|
|
2080
2080
|
didWarnAboutElementRef[componentName] ||
|
|
2081
|
-
((didWarnAboutElementRef[componentName] =
|
|
2081
|
+
((didWarnAboutElementRef[componentName] = true),
|
|
2082
2082
|
console.error(
|
|
2083
2083
|
"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."
|
|
2084
2084
|
));
|
|
@@ -2096,33 +2096,33 @@ function requireReactJsxRuntime_development () {
|
|
|
2096
2096
|
};
|
|
2097
2097
|
null !== (void 0 !== refProp ? refProp : null)
|
|
2098
2098
|
? Object.defineProperty(type, "ref", {
|
|
2099
|
-
enumerable:
|
|
2099
|
+
enumerable: false,
|
|
2100
2100
|
get: elementRefGetterWithDeprecationWarning
|
|
2101
2101
|
})
|
|
2102
|
-
: Object.defineProperty(type, "ref", { enumerable:
|
|
2102
|
+
: Object.defineProperty(type, "ref", { enumerable: false, value: null });
|
|
2103
2103
|
type._store = {};
|
|
2104
2104
|
Object.defineProperty(type._store, "validated", {
|
|
2105
|
-
configurable:
|
|
2106
|
-
enumerable:
|
|
2107
|
-
writable:
|
|
2105
|
+
configurable: false,
|
|
2106
|
+
enumerable: false,
|
|
2107
|
+
writable: true,
|
|
2108
2108
|
value: 0
|
|
2109
2109
|
});
|
|
2110
2110
|
Object.defineProperty(type, "_debugInfo", {
|
|
2111
|
-
configurable:
|
|
2112
|
-
enumerable:
|
|
2113
|
-
writable:
|
|
2111
|
+
configurable: false,
|
|
2112
|
+
enumerable: false,
|
|
2113
|
+
writable: true,
|
|
2114
2114
|
value: null
|
|
2115
2115
|
});
|
|
2116
2116
|
Object.defineProperty(type, "_debugStack", {
|
|
2117
|
-
configurable:
|
|
2118
|
-
enumerable:
|
|
2119
|
-
writable:
|
|
2117
|
+
configurable: false,
|
|
2118
|
+
enumerable: false,
|
|
2119
|
+
writable: true,
|
|
2120
2120
|
value: debugStack
|
|
2121
2121
|
});
|
|
2122
2122
|
Object.defineProperty(type, "_debugTask", {
|
|
2123
|
-
configurable:
|
|
2124
|
-
enumerable:
|
|
2125
|
-
writable:
|
|
2123
|
+
configurable: false,
|
|
2124
|
+
enumerable: false,
|
|
2125
|
+
writable: true,
|
|
2126
2126
|
value: debugTask
|
|
2127
2127
|
});
|
|
2128
2128
|
Object.freeze && (Object.freeze(type.props), Object.freeze(type));
|
|
@@ -2171,7 +2171,7 @@ function requireReactJsxRuntime_development () {
|
|
|
2171
2171
|
keys,
|
|
2172
2172
|
children
|
|
2173
2173
|
),
|
|
2174
|
-
(didWarnAboutKeySpread[children + isStaticChildren] =
|
|
2174
|
+
(didWarnAboutKeySpread[children + isStaticChildren] = true));
|
|
2175
2175
|
}
|
|
2176
2176
|
children = null;
|
|
2177
2177
|
void 0 !== maybeKey &&
|
|
@@ -2263,7 +2263,7 @@ function requireReactJsxRuntime_development () {
|
|
|
2263
2263
|
type,
|
|
2264
2264
|
config,
|
|
2265
2265
|
maybeKey,
|
|
2266
|
-
|
|
2266
|
+
false,
|
|
2267
2267
|
trackActualOwner
|
|
2268
2268
|
? Error("react-stack-top-frame")
|
|
2269
2269
|
: unknownOwnerDebugStack,
|
|
@@ -2277,7 +2277,7 @@ function requireReactJsxRuntime_development () {
|
|
|
2277
2277
|
type,
|
|
2278
2278
|
config,
|
|
2279
2279
|
maybeKey,
|
|
2280
|
-
|
|
2280
|
+
true,
|
|
2281
2281
|
trackActualOwner
|
|
2282
2282
|
? Error("react-stack-top-frame")
|
|
2283
2283
|
: unknownOwnerDebugStack,
|
|
@@ -2526,7 +2526,6 @@ var classnames = {exports: {}};
|
|
|
2526
2526
|
Licensed under the MIT License (MIT), see
|
|
2527
2527
|
http://jedwatson.github.io/classnames
|
|
2528
2528
|
*/
|
|
2529
|
-
classnames.exports;
|
|
2530
2529
|
|
|
2531
2530
|
var hasRequiredClassnames;
|
|
2532
2531
|
|
|
@@ -2607,7 +2606,7 @@ function requireClassnames () {
|
|
|
2607
2606
|
var classnamesExports = requireClassnames();
|
|
2608
2607
|
var classNames = /*@__PURE__*/getDefaultExportFromCjs(classnamesExports);
|
|
2609
2608
|
|
|
2610
|
-
var e=[],t$2=[];function n$1(n,r){if(n&&"undefined"!=typeof document){var a,s
|
|
2609
|
+
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}}
|
|
2611
2610
|
|
|
2612
2611
|
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}";
|
|
2613
2612
|
n$1(css$d,{});
|
|
@@ -3203,7 +3202,7 @@ function requireReactDom_development () {
|
|
|
3203
3202
|
testStringCoercion(key);
|
|
3204
3203
|
var JSCompiler_inline_result = !1;
|
|
3205
3204
|
} catch (e) {
|
|
3206
|
-
JSCompiler_inline_result =
|
|
3205
|
+
JSCompiler_inline_result = true;
|
|
3207
3206
|
}
|
|
3208
3207
|
JSCompiler_inline_result &&
|
|
3209
3208
|
(console.error(
|
|
@@ -3749,7 +3748,6 @@ function cloneObject(data) {
|
|
|
3749
3748
|
const EVENTS = {
|
|
3750
3749
|
BLUR: 'blur',
|
|
3751
3750
|
FOCUS_OUT: 'focusout',
|
|
3752
|
-
CHANGE: 'change',
|
|
3753
3751
|
SUBMIT: 'submit',
|
|
3754
3752
|
TRIGGER: 'trigger',
|
|
3755
3753
|
VALID: 'valid',
|
|
@@ -3841,7 +3839,6 @@ var getProxyFormState = (formState, control, localProxyFormState, isRoot = true)
|
|
|
3841
3839
|
if (control._proxyFormState[_key] !== VALIDATION_MODE.all) {
|
|
3842
3840
|
control._proxyFormState[_key] = !isRoot || VALIDATION_MODE.all;
|
|
3843
3841
|
}
|
|
3844
|
-
localProxyFormState && (localProxyFormState[_key] = true);
|
|
3845
3842
|
return formState[_key];
|
|
3846
3843
|
},
|
|
3847
3844
|
});
|
|
@@ -3920,10 +3917,7 @@ function useResyncOnReconnect(getInitialValue) {
|
|
|
3920
3917
|
const _prevValue = React.useRef(undefined);
|
|
3921
3918
|
const _renderCount = React.useRef(0);
|
|
3922
3919
|
_renderCount.current++;
|
|
3923
|
-
if (!_initialized.current && getInitialValue)
|
|
3924
|
-
_initialized.current = true;
|
|
3925
|
-
_prevValue.current = cloneObject(getInitialValue());
|
|
3926
|
-
}
|
|
3920
|
+
if (!_initialized.current && getInitialValue) ;
|
|
3927
3921
|
const resyncIfNeeded = React.useCallback((enabled, getCurrentValue, setValue) => {
|
|
3928
3922
|
if (enabled &&
|
|
3929
3923
|
(_connected.current ||
|
|
@@ -12475,7 +12469,7 @@ class InputHistory {
|
|
|
12475
12469
|
return this.go(-1);
|
|
12476
12470
|
}
|
|
12477
12471
|
redo() {
|
|
12478
|
-
return this.go(
|
|
12472
|
+
return this.go(1);
|
|
12479
12473
|
}
|
|
12480
12474
|
clear() {
|
|
12481
12475
|
this.states.length = 0;
|