@react-spectrum/calendar 3.4.6 → 3.4.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/Calendar.main.js +78 -0
- package/dist/Calendar.main.js.map +1 -0
- package/dist/Calendar.mjs +69 -0
- package/dist/Calendar.module.js +69 -0
- package/dist/Calendar.module.js.map +1 -0
- package/dist/CalendarBase.main.js +116 -0
- package/dist/CalendarBase.main.js.map +1 -0
- package/dist/CalendarBase.mjs +111 -0
- package/dist/CalendarBase.module.js +111 -0
- package/dist/CalendarBase.module.js.map +1 -0
- package/dist/CalendarCell.main.js +95 -0
- package/dist/CalendarCell.main.js.map +1 -0
- package/dist/CalendarCell.mjs +90 -0
- package/dist/CalendarCell.module.js +90 -0
- package/dist/CalendarCell.module.js.map +1 -0
- package/dist/CalendarMonth.main.js +68 -0
- package/dist/CalendarMonth.main.js.map +1 -0
- package/dist/CalendarMonth.mjs +63 -0
- package/dist/CalendarMonth.module.js +63 -0
- package/dist/CalendarMonth.module.js.map +1 -0
- package/dist/RangeCalendar.main.js +78 -0
- package/dist/RangeCalendar.main.js.map +1 -0
- package/dist/RangeCalendar.mjs +69 -0
- package/dist/RangeCalendar.module.js +69 -0
- package/dist/RangeCalendar.module.js.map +1 -0
- package/dist/ar-AE.main.js +9 -0
- package/dist/ar-AE.main.js.map +1 -0
- package/dist/ar-AE.mjs +11 -0
- package/dist/ar-AE.module.js +11 -0
- package/dist/ar-AE.module.js.map +1 -0
- package/dist/bg-BG.main.js +9 -0
- package/dist/bg-BG.main.js.map +1 -0
- package/dist/bg-BG.mjs +11 -0
- package/dist/bg-BG.module.js +11 -0
- package/dist/bg-BG.module.js.map +1 -0
- package/dist/calendar_vars_css.main.js +116 -0
- package/dist/calendar_vars_css.main.js.map +1 -0
- package/dist/calendar_vars_css.mjs +118 -0
- package/dist/calendar_vars_css.module.js +118 -0
- package/dist/calendar_vars_css.module.js.map +1 -0
- package/dist/cs-CZ.main.js +9 -0
- package/dist/cs-CZ.main.js.map +1 -0
- package/dist/cs-CZ.mjs +11 -0
- package/dist/cs-CZ.module.js +11 -0
- package/dist/cs-CZ.module.js.map +1 -0
- package/dist/da-DK.main.js +9 -0
- package/dist/da-DK.main.js.map +1 -0
- package/dist/da-DK.mjs +11 -0
- package/dist/da-DK.module.js +11 -0
- package/dist/da-DK.module.js.map +1 -0
- package/dist/de-DE.main.js +9 -0
- package/dist/de-DE.main.js.map +1 -0
- package/dist/de-DE.mjs +11 -0
- package/dist/de-DE.module.js +11 -0
- package/dist/de-DE.module.js.map +1 -0
- package/dist/el-GR.main.js +9 -0
- package/dist/el-GR.main.js.map +1 -0
- package/dist/el-GR.mjs +11 -0
- package/dist/el-GR.module.js +11 -0
- package/dist/el-GR.module.js.map +1 -0
- package/dist/en-US.main.js +9 -0
- package/dist/en-US.main.js.map +1 -0
- package/dist/en-US.mjs +11 -0
- package/dist/en-US.module.js +11 -0
- package/dist/en-US.module.js.map +1 -0
- package/dist/es-ES.main.js +9 -0
- package/dist/es-ES.main.js.map +1 -0
- package/dist/es-ES.mjs +11 -0
- package/dist/es-ES.module.js +11 -0
- package/dist/es-ES.module.js.map +1 -0
- package/dist/et-EE.main.js +9 -0
- package/dist/et-EE.main.js.map +1 -0
- package/dist/et-EE.mjs +11 -0
- package/dist/et-EE.module.js +11 -0
- package/dist/et-EE.module.js.map +1 -0
- package/dist/fi-FI.main.js +9 -0
- package/dist/fi-FI.main.js.map +1 -0
- package/dist/fi-FI.mjs +11 -0
- package/dist/fi-FI.module.js +11 -0
- package/dist/fi-FI.module.js.map +1 -0
- package/dist/fr-FR.main.js +9 -0
- package/dist/fr-FR.main.js.map +1 -0
- package/dist/fr-FR.mjs +11 -0
- package/dist/fr-FR.module.js +11 -0
- package/dist/fr-FR.module.js.map +1 -0
- package/dist/he-IL.main.js +9 -0
- package/dist/he-IL.main.js.map +1 -0
- package/dist/he-IL.mjs +11 -0
- package/dist/he-IL.module.js +11 -0
- package/dist/he-IL.module.js.map +1 -0
- package/dist/hr-HR.main.js +9 -0
- package/dist/hr-HR.main.js.map +1 -0
- package/dist/hr-HR.mjs +11 -0
- package/dist/hr-HR.module.js +11 -0
- package/dist/hr-HR.module.js.map +1 -0
- package/dist/hu-HU.main.js +9 -0
- package/dist/hu-HU.main.js.map +1 -0
- package/dist/hu-HU.mjs +11 -0
- package/dist/hu-HU.module.js +11 -0
- package/dist/hu-HU.module.js.map +1 -0
- package/dist/import.mjs +2 -803
- package/dist/intlStrings.main.js +108 -0
- package/dist/intlStrings.main.js.map +1 -0
- package/dist/intlStrings.mjs +110 -0
- package/dist/intlStrings.module.js +110 -0
- package/dist/intlStrings.module.js.map +1 -0
- package/dist/it-IT.main.js +9 -0
- package/dist/it-IT.main.js.map +1 -0
- package/dist/it-IT.mjs +11 -0
- package/dist/it-IT.module.js +11 -0
- package/dist/it-IT.module.js.map +1 -0
- package/dist/ja-JP.main.js +9 -0
- package/dist/ja-JP.main.js.map +1 -0
- package/dist/ja-JP.mjs +11 -0
- package/dist/ja-JP.module.js +11 -0
- package/dist/ja-JP.module.js.map +1 -0
- package/dist/ko-KR.main.js +9 -0
- package/dist/ko-KR.main.js.map +1 -0
- package/dist/ko-KR.mjs +11 -0
- package/dist/ko-KR.module.js +11 -0
- package/dist/ko-KR.module.js.map +1 -0
- package/dist/lt-LT.main.js +9 -0
- package/dist/lt-LT.main.js.map +1 -0
- package/dist/lt-LT.mjs +11 -0
- package/dist/lt-LT.module.js +11 -0
- package/dist/lt-LT.module.js.map +1 -0
- package/dist/lv-LV.main.js +9 -0
- package/dist/lv-LV.main.js.map +1 -0
- package/dist/lv-LV.mjs +11 -0
- package/dist/lv-LV.module.js +11 -0
- package/dist/lv-LV.module.js.map +1 -0
- package/dist/main.js +4 -801
- package/dist/main.js.map +1 -1
- package/dist/module.js +2 -803
- package/dist/module.js.map +1 -1
- package/dist/nb-NO.main.js +9 -0
- package/dist/nb-NO.main.js.map +1 -0
- package/dist/nb-NO.mjs +11 -0
- package/dist/nb-NO.module.js +11 -0
- package/dist/nb-NO.module.js.map +1 -0
- package/dist/nl-NL.main.js +9 -0
- package/dist/nl-NL.main.js.map +1 -0
- package/dist/nl-NL.mjs +11 -0
- package/dist/nl-NL.module.js +11 -0
- package/dist/nl-NL.module.js.map +1 -0
- package/dist/pl-PL.main.js +9 -0
- package/dist/pl-PL.main.js.map +1 -0
- package/dist/pl-PL.mjs +11 -0
- package/dist/pl-PL.module.js +11 -0
- package/dist/pl-PL.module.js.map +1 -0
- package/dist/pt-BR.main.js +9 -0
- package/dist/pt-BR.main.js.map +1 -0
- package/dist/pt-BR.mjs +11 -0
- package/dist/pt-BR.module.js +11 -0
- package/dist/pt-BR.module.js.map +1 -0
- package/dist/pt-PT.main.js +9 -0
- package/dist/pt-PT.main.js.map +1 -0
- package/dist/pt-PT.mjs +11 -0
- package/dist/pt-PT.module.js +11 -0
- package/dist/pt-PT.module.js.map +1 -0
- package/dist/ro-RO.main.js +9 -0
- package/dist/ro-RO.main.js.map +1 -0
- package/dist/ro-RO.mjs +11 -0
- package/dist/ro-RO.module.js +11 -0
- package/dist/ro-RO.module.js.map +1 -0
- package/dist/ru-RU.main.js +9 -0
- package/dist/ru-RU.main.js.map +1 -0
- package/dist/ru-RU.mjs +11 -0
- package/dist/ru-RU.module.js +11 -0
- package/dist/ru-RU.module.js.map +1 -0
- package/dist/sk-SK.main.js +9 -0
- package/dist/sk-SK.main.js.map +1 -0
- package/dist/sk-SK.mjs +11 -0
- package/dist/sk-SK.module.js +11 -0
- package/dist/sk-SK.module.js.map +1 -0
- package/dist/sl-SI.main.js +9 -0
- package/dist/sl-SI.main.js.map +1 -0
- package/dist/sl-SI.mjs +11 -0
- package/dist/sl-SI.module.js +11 -0
- package/dist/sl-SI.module.js.map +1 -0
- package/dist/sr-SP.main.js +9 -0
- package/dist/sr-SP.main.js.map +1 -0
- package/dist/sr-SP.mjs +11 -0
- package/dist/sr-SP.module.js +11 -0
- package/dist/sr-SP.module.js.map +1 -0
- package/dist/sv-SE.main.js +9 -0
- package/dist/sv-SE.main.js.map +1 -0
- package/dist/sv-SE.mjs +11 -0
- package/dist/sv-SE.module.js +11 -0
- package/dist/sv-SE.module.js.map +1 -0
- package/dist/tr-TR.main.js +9 -0
- package/dist/tr-TR.main.js.map +1 -0
- package/dist/tr-TR.mjs +11 -0
- package/dist/tr-TR.module.js +11 -0
- package/dist/tr-TR.module.js.map +1 -0
- package/dist/uk-UA.main.js +9 -0
- package/dist/uk-UA.main.js.map +1 -0
- package/dist/uk-UA.mjs +11 -0
- package/dist/uk-UA.module.js +11 -0
- package/dist/uk-UA.module.js.map +1 -0
- package/dist/vars.3977de0b.css +924 -0
- package/dist/vars.3977de0b.css.map +1 -0
- package/dist/zh-CN.main.js +9 -0
- package/dist/zh-CN.main.js.map +1 -0
- package/dist/zh-CN.mjs +11 -0
- package/dist/zh-CN.module.js +11 -0
- package/dist/zh-CN.module.js.map +1 -0
- package/dist/zh-TW.main.js +9 -0
- package/dist/zh-TW.main.js.map +1 -0
- package/dist/zh-TW.mjs +11 -0
- package/dist/zh-TW.module.js +11 -0
- package/dist/zh-TW.module.js.map +1 -0
- package/package.json +18 -18
- package/dist/main.css +0 -1
package/dist/import.mjs
CHANGED
|
@@ -1,28 +1,6 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import {
|
|
3
|
-
import {createDOMRef as $40VnT$createDOMRef, useStyleProps as $40VnT$useStyleProps, classNames as $40VnT$classNames} from "@react-spectrum/utils";
|
|
4
|
-
import $40VnT$react, {useMemo as $40VnT$useMemo, useRef as $40VnT$useRef, useImperativeHandle as $40VnT$useImperativeHandle} from "react";
|
|
5
|
-
import {useCalendar as $40VnT$useCalendar, useCalendarGrid as $40VnT$useCalendarGrid, useCalendarCell as $40VnT$useCalendarCell, useRangeCalendar as $40VnT$useRangeCalendar} from "@react-aria/calendar";
|
|
6
|
-
import {useCalendarState as $40VnT$useCalendarState, useRangeCalendarState as $40VnT$useRangeCalendarState} from "@react-stately/calendar";
|
|
7
|
-
import {useLocale as $40VnT$useLocale, useLocalizedStringFormatter as $40VnT$useLocalizedStringFormatter, useDateFormatter as $40VnT$useDateFormatter} from "@react-aria/i18n";
|
|
8
|
-
import {useProviderProps as $40VnT$useProviderProps} from "@react-spectrum/provider";
|
|
9
|
-
import {ActionButton as $40VnT$ActionButton} from "@react-spectrum/button";
|
|
10
|
-
import $40VnT$spectrumiconsuiChevronLeftLarge from "@spectrum-icons/ui/ChevronLeftLarge";
|
|
11
|
-
import $40VnT$spectrumiconsuiChevronRightLarge from "@spectrum-icons/ui/ChevronRightLarge";
|
|
12
|
-
import {HelpText as $40VnT$HelpText} from "@react-spectrum/label";
|
|
13
|
-
import {VisuallyHidden as $40VnT$VisuallyHidden} from "@react-aria/visually-hidden";
|
|
14
|
-
import {mergeProps as $40VnT$mergeProps} from "@react-aria/utils";
|
|
15
|
-
import {useFocusRing as $40VnT$useFocusRing} from "@react-aria/focus";
|
|
16
|
-
import {useHover as $40VnT$useHover} from "@react-aria/interactions";
|
|
1
|
+
import {Calendar as $d2b8d4577dd88671$export$e1aef45b828286de} from "./Calendar.mjs";
|
|
2
|
+
import {RangeCalendar as $8b1e8eddbf3b15de$export$a4f5c8b89d277a8d} from "./RangeCalendar.mjs";
|
|
17
3
|
|
|
18
|
-
|
|
19
|
-
function $parcel$interopDefault(a) {
|
|
20
|
-
return a && a.__esModule ? a.default : a;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
function $parcel$export(e, n, v, s) {
|
|
24
|
-
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
25
|
-
}
|
|
26
4
|
/*
|
|
27
5
|
* Copyright 2020 Adobe. All rights reserved.
|
|
28
6
|
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
@@ -34,785 +12,6 @@ function $parcel$export(e, n, v, s) {
|
|
|
34
12
|
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
35
13
|
* governing permissions and limitations under the License.
|
|
36
14
|
*/ /// <reference types="css-module-types" />
|
|
37
|
-
/*
|
|
38
|
-
* Copyright 2020 Adobe. All rights reserved.
|
|
39
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
40
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
41
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
42
|
-
*
|
|
43
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
44
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
45
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
46
|
-
* governing permissions and limitations under the License.
|
|
47
|
-
*/ /*
|
|
48
|
-
* Copyright 2020 Adobe. All rights reserved.
|
|
49
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
50
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
51
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
52
|
-
*
|
|
53
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
54
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
55
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
56
|
-
* governing permissions and limitations under the License.
|
|
57
|
-
*/
|
|
58
|
-
/*
|
|
59
|
-
* Copyright 2020 Adobe. All rights reserved.
|
|
60
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
61
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
62
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
63
|
-
*
|
|
64
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
65
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
66
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
67
|
-
* governing permissions and limitations under the License.
|
|
68
|
-
*/ /*
|
|
69
|
-
* Copyright 2020 Adobe. All rights reserved.
|
|
70
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
71
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
72
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
73
|
-
*
|
|
74
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
75
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
76
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
77
|
-
* governing permissions and limitations under the License.
|
|
78
|
-
*/
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
var $52c51313300b3b3e$exports = {};
|
|
84
|
-
|
|
85
|
-
$parcel$export($52c51313300b3b3e$exports, "focus-ring", () => $52c51313300b3b3e$export$f39a09f249340e2a, (v) => $52c51313300b3b3e$export$f39a09f249340e2a = v);
|
|
86
|
-
$parcel$export($52c51313300b3b3e$exports, "i18nFontFamily", () => $52c51313300b3b3e$export$8c4ee2c50c22c514, (v) => $52c51313300b3b3e$export$8c4ee2c50c22c514 = v);
|
|
87
|
-
$parcel$export($52c51313300b3b3e$exports, "is-disabled", () => $52c51313300b3b3e$export$d35bc1e505d1ebbf, (v) => $52c51313300b3b3e$export$d35bc1e505d1ebbf = v);
|
|
88
|
-
$parcel$export($52c51313300b3b3e$exports, "is-focused", () => $52c51313300b3b3e$export$e7dc768d35940237, (v) => $52c51313300b3b3e$export$e7dc768d35940237 = v);
|
|
89
|
-
$parcel$export($52c51313300b3b3e$exports, "is-hovered", () => $52c51313300b3b3e$export$b8813cd5d7824ce7, (v) => $52c51313300b3b3e$export$b8813cd5d7824ce7 = v);
|
|
90
|
-
$parcel$export($52c51313300b3b3e$exports, "is-invalid", () => $52c51313300b3b3e$export$14a30de2866685fa, (v) => $52c51313300b3b3e$export$14a30de2866685fa = v);
|
|
91
|
-
$parcel$export($52c51313300b3b3e$exports, "is-outsideMonth", () => $52c51313300b3b3e$export$93ff5b06817b3d41, (v) => $52c51313300b3b3e$export$93ff5b06817b3d41 = v);
|
|
92
|
-
$parcel$export($52c51313300b3b3e$exports, "is-pressed", () => $52c51313300b3b3e$export$15b73a232798b8d3, (v) => $52c51313300b3b3e$export$15b73a232798b8d3 = v);
|
|
93
|
-
$parcel$export($52c51313300b3b3e$exports, "is-range-end", () => $52c51313300b3b3e$export$52890a3cb1ab46b, (v) => $52c51313300b3b3e$export$52890a3cb1ab46b = v);
|
|
94
|
-
$parcel$export($52c51313300b3b3e$exports, "is-range-selection", () => $52c51313300b3b3e$export$cd2839d8bb0c6407, (v) => $52c51313300b3b3e$export$cd2839d8bb0c6407 = v);
|
|
95
|
-
$parcel$export($52c51313300b3b3e$exports, "is-range-start", () => $52c51313300b3b3e$export$4ce7d3d24e42e411, (v) => $52c51313300b3b3e$export$4ce7d3d24e42e411 = v);
|
|
96
|
-
$parcel$export($52c51313300b3b3e$exports, "is-selected", () => $52c51313300b3b3e$export$1e0fb04f31d3c22a, (v) => $52c51313300b3b3e$export$1e0fb04f31d3c22a = v);
|
|
97
|
-
$parcel$export($52c51313300b3b3e$exports, "is-selection-end", () => $52c51313300b3b3e$export$50722ae5663230f9, (v) => $52c51313300b3b3e$export$50722ae5663230f9 = v);
|
|
98
|
-
$parcel$export($52c51313300b3b3e$exports, "is-selection-start", () => $52c51313300b3b3e$export$f0091c9d6b8c19d3, (v) => $52c51313300b3b3e$export$f0091c9d6b8c19d3 = v);
|
|
99
|
-
$parcel$export($52c51313300b3b3e$exports, "is-today", () => $52c51313300b3b3e$export$189f6cc7eaf68d8b, (v) => $52c51313300b3b3e$export$189f6cc7eaf68d8b = v);
|
|
100
|
-
$parcel$export($52c51313300b3b3e$exports, "is-unavailable", () => $52c51313300b3b3e$export$38b08f1df825800e, (v) => $52c51313300b3b3e$export$38b08f1df825800e = v);
|
|
101
|
-
$parcel$export($52c51313300b3b3e$exports, "next", () => $52c51313300b3b3e$export$48cfd1e771a65c4f, (v) => $52c51313300b3b3e$export$48cfd1e771a65c4f = v);
|
|
102
|
-
$parcel$export($52c51313300b3b3e$exports, "prev", () => $52c51313300b3b3e$export$232faf9add678146, (v) => $52c51313300b3b3e$export$232faf9add678146 = v);
|
|
103
|
-
$parcel$export($52c51313300b3b3e$exports, "spectrum-Calendar", () => $52c51313300b3b3e$export$2d9837ea36f7a875, (v) => $52c51313300b3b3e$export$2d9837ea36f7a875 = v);
|
|
104
|
-
$parcel$export($52c51313300b3b3e$exports, "spectrum-Calendar--padded", () => $52c51313300b3b3e$export$8d90e3a3d21fe428, (v) => $52c51313300b3b3e$export$8d90e3a3d21fe428 = v);
|
|
105
|
-
$parcel$export($52c51313300b3b3e$exports, "spectrum-Calendar-body", () => $52c51313300b3b3e$export$33407a73687c0e62, (v) => $52c51313300b3b3e$export$33407a73687c0e62 = v);
|
|
106
|
-
$parcel$export($52c51313300b3b3e$exports, "spectrum-Calendar-date", () => $52c51313300b3b3e$export$c20fe43d14f8fa36, (v) => $52c51313300b3b3e$export$c20fe43d14f8fa36 = v);
|
|
107
|
-
$parcel$export($52c51313300b3b3e$exports, "spectrum-Calendar-dateText", () => $52c51313300b3b3e$export$cc48a6e73fdb7719, (v) => $52c51313300b3b3e$export$cc48a6e73fdb7719 = v);
|
|
108
|
-
$parcel$export($52c51313300b3b3e$exports, "spectrum-Calendar-dayOfWeek", () => $52c51313300b3b3e$export$7ff21fe81b21fa51, (v) => $52c51313300b3b3e$export$7ff21fe81b21fa51 = v);
|
|
109
|
-
$parcel$export($52c51313300b3b3e$exports, "spectrum-Calendar-header", () => $52c51313300b3b3e$export$7efb9b56af6e2d09, (v) => $52c51313300b3b3e$export$7efb9b56af6e2d09 = v);
|
|
110
|
-
$parcel$export($52c51313300b3b3e$exports, "spectrum-Calendar-monthHeader", () => $52c51313300b3b3e$export$185018e73e57145f, (v) => $52c51313300b3b3e$export$185018e73e57145f = v);
|
|
111
|
-
$parcel$export($52c51313300b3b3e$exports, "spectrum-Calendar-months", () => $52c51313300b3b3e$export$5dacd232bfef6687, (v) => $52c51313300b3b3e$export$5dacd232bfef6687 = v);
|
|
112
|
-
$parcel$export($52c51313300b3b3e$exports, "spectrum-Calendar-nextMonth", () => $52c51313300b3b3e$export$7876229ab722b448, (v) => $52c51313300b3b3e$export$7876229ab722b448 = v);
|
|
113
|
-
$parcel$export($52c51313300b3b3e$exports, "spectrum-Calendar-prevMonth", () => $52c51313300b3b3e$export$d4c1c2a202a50db2, (v) => $52c51313300b3b3e$export$d4c1c2a202a50db2 = v);
|
|
114
|
-
$parcel$export($52c51313300b3b3e$exports, "spectrum-Calendar-table", () => $52c51313300b3b3e$export$27f4c38933cceedf, (v) => $52c51313300b3b3e$export$27f4c38933cceedf = v);
|
|
115
|
-
$parcel$export($52c51313300b3b3e$exports, "spectrum-Calendar-tableCell", () => $52c51313300b3b3e$export$292b81cfd590634d, (v) => $52c51313300b3b3e$export$292b81cfd590634d = v);
|
|
116
|
-
$parcel$export($52c51313300b3b3e$exports, "spectrum-Calendar-title", () => $52c51313300b3b3e$export$98ee27555a2b7c01, (v) => $52c51313300b3b3e$export$98ee27555a2b7c01 = v);
|
|
117
|
-
$parcel$export($52c51313300b3b3e$exports, "spectrum-FocusRing-ring", () => $52c51313300b3b3e$export$4109102f950813a6, (v) => $52c51313300b3b3e$export$4109102f950813a6 = v);
|
|
118
|
-
$parcel$export($52c51313300b3b3e$exports, "spectrum-FocusRing", () => $52c51313300b3b3e$export$24c7f46a6e3605dd, (v) => $52c51313300b3b3e$export$24c7f46a6e3605dd = v);
|
|
119
|
-
$parcel$export($52c51313300b3b3e$exports, "spectrum-FocusRing--quiet", () => $52c51313300b3b3e$export$2927016961429360, (v) => $52c51313300b3b3e$export$2927016961429360 = v);
|
|
120
|
-
$parcel$export($52c51313300b3b3e$exports, "title", () => $52c51313300b3b3e$export$fb184b623420d9be, (v) => $52c51313300b3b3e$export$fb184b623420d9be = v);
|
|
121
|
-
var $52c51313300b3b3e$export$f39a09f249340e2a;
|
|
122
|
-
var $52c51313300b3b3e$export$8c4ee2c50c22c514;
|
|
123
|
-
var $52c51313300b3b3e$export$d35bc1e505d1ebbf;
|
|
124
|
-
var $52c51313300b3b3e$export$e7dc768d35940237;
|
|
125
|
-
var $52c51313300b3b3e$export$b8813cd5d7824ce7;
|
|
126
|
-
var $52c51313300b3b3e$export$14a30de2866685fa;
|
|
127
|
-
var $52c51313300b3b3e$export$93ff5b06817b3d41;
|
|
128
|
-
var $52c51313300b3b3e$export$15b73a232798b8d3;
|
|
129
|
-
var $52c51313300b3b3e$export$52890a3cb1ab46b;
|
|
130
|
-
var $52c51313300b3b3e$export$cd2839d8bb0c6407;
|
|
131
|
-
var $52c51313300b3b3e$export$4ce7d3d24e42e411;
|
|
132
|
-
var $52c51313300b3b3e$export$1e0fb04f31d3c22a;
|
|
133
|
-
var $52c51313300b3b3e$export$50722ae5663230f9;
|
|
134
|
-
var $52c51313300b3b3e$export$f0091c9d6b8c19d3;
|
|
135
|
-
var $52c51313300b3b3e$export$189f6cc7eaf68d8b;
|
|
136
|
-
var $52c51313300b3b3e$export$38b08f1df825800e;
|
|
137
|
-
var $52c51313300b3b3e$export$48cfd1e771a65c4f;
|
|
138
|
-
var $52c51313300b3b3e$export$232faf9add678146;
|
|
139
|
-
var $52c51313300b3b3e$export$2d9837ea36f7a875;
|
|
140
|
-
var $52c51313300b3b3e$export$8d90e3a3d21fe428;
|
|
141
|
-
var $52c51313300b3b3e$export$33407a73687c0e62;
|
|
142
|
-
var $52c51313300b3b3e$export$c20fe43d14f8fa36;
|
|
143
|
-
var $52c51313300b3b3e$export$cc48a6e73fdb7719;
|
|
144
|
-
var $52c51313300b3b3e$export$7ff21fe81b21fa51;
|
|
145
|
-
var $52c51313300b3b3e$export$7efb9b56af6e2d09;
|
|
146
|
-
var $52c51313300b3b3e$export$185018e73e57145f;
|
|
147
|
-
var $52c51313300b3b3e$export$5dacd232bfef6687;
|
|
148
|
-
var $52c51313300b3b3e$export$7876229ab722b448;
|
|
149
|
-
var $52c51313300b3b3e$export$d4c1c2a202a50db2;
|
|
150
|
-
var $52c51313300b3b3e$export$27f4c38933cceedf;
|
|
151
|
-
var $52c51313300b3b3e$export$292b81cfd590634d;
|
|
152
|
-
var $52c51313300b3b3e$export$98ee27555a2b7c01;
|
|
153
|
-
var $52c51313300b3b3e$export$4109102f950813a6;
|
|
154
|
-
var $52c51313300b3b3e$export$24c7f46a6e3605dd;
|
|
155
|
-
var $52c51313300b3b3e$export$2927016961429360;
|
|
156
|
-
var $52c51313300b3b3e$export$fb184b623420d9be;
|
|
157
|
-
$52c51313300b3b3e$export$f39a09f249340e2a = `EuwYBq_focus-ring`;
|
|
158
|
-
$52c51313300b3b3e$export$8c4ee2c50c22c514 = `EuwYBq_i18nFontFamily`;
|
|
159
|
-
$52c51313300b3b3e$export$d35bc1e505d1ebbf = `EuwYBq_is-disabled`;
|
|
160
|
-
$52c51313300b3b3e$export$e7dc768d35940237 = `EuwYBq_is-focused`;
|
|
161
|
-
$52c51313300b3b3e$export$b8813cd5d7824ce7 = `EuwYBq_is-hovered`;
|
|
162
|
-
$52c51313300b3b3e$export$14a30de2866685fa = `EuwYBq_is-invalid`;
|
|
163
|
-
$52c51313300b3b3e$export$93ff5b06817b3d41 = `EuwYBq_is-outsideMonth`;
|
|
164
|
-
$52c51313300b3b3e$export$15b73a232798b8d3 = `EuwYBq_is-pressed`;
|
|
165
|
-
$52c51313300b3b3e$export$52890a3cb1ab46b = `EuwYBq_is-range-end`;
|
|
166
|
-
$52c51313300b3b3e$export$cd2839d8bb0c6407 = `EuwYBq_is-range-selection`;
|
|
167
|
-
$52c51313300b3b3e$export$4ce7d3d24e42e411 = `EuwYBq_is-range-start`;
|
|
168
|
-
$52c51313300b3b3e$export$1e0fb04f31d3c22a = `EuwYBq_is-selected`;
|
|
169
|
-
$52c51313300b3b3e$export$50722ae5663230f9 = `EuwYBq_is-selection-end`;
|
|
170
|
-
$52c51313300b3b3e$export$f0091c9d6b8c19d3 = `EuwYBq_is-selection-start`;
|
|
171
|
-
$52c51313300b3b3e$export$189f6cc7eaf68d8b = `EuwYBq_is-today`;
|
|
172
|
-
$52c51313300b3b3e$export$38b08f1df825800e = `EuwYBq_is-unavailable`;
|
|
173
|
-
$52c51313300b3b3e$export$48cfd1e771a65c4f = `EuwYBq_next`;
|
|
174
|
-
$52c51313300b3b3e$export$232faf9add678146 = `EuwYBq_prev`;
|
|
175
|
-
$52c51313300b3b3e$export$2d9837ea36f7a875 = `EuwYBq_spectrum-Calendar`;
|
|
176
|
-
$52c51313300b3b3e$export$8d90e3a3d21fe428 = `EuwYBq_spectrum-Calendar--padded`;
|
|
177
|
-
$52c51313300b3b3e$export$33407a73687c0e62 = `EuwYBq_spectrum-Calendar-body`;
|
|
178
|
-
$52c51313300b3b3e$export$c20fe43d14f8fa36 = `EuwYBq_spectrum-Calendar-date`;
|
|
179
|
-
$52c51313300b3b3e$export$cc48a6e73fdb7719 = `EuwYBq_spectrum-Calendar-dateText`;
|
|
180
|
-
$52c51313300b3b3e$export$7ff21fe81b21fa51 = `EuwYBq_spectrum-Calendar-dayOfWeek`;
|
|
181
|
-
$52c51313300b3b3e$export$7efb9b56af6e2d09 = `EuwYBq_spectrum-Calendar-header`;
|
|
182
|
-
$52c51313300b3b3e$export$185018e73e57145f = `EuwYBq_spectrum-Calendar-monthHeader`;
|
|
183
|
-
$52c51313300b3b3e$export$5dacd232bfef6687 = `EuwYBq_spectrum-Calendar-months`;
|
|
184
|
-
$52c51313300b3b3e$export$7876229ab722b448 = `EuwYBq_spectrum-Calendar-nextMonth`;
|
|
185
|
-
$52c51313300b3b3e$export$d4c1c2a202a50db2 = `EuwYBq_spectrum-Calendar-prevMonth`;
|
|
186
|
-
$52c51313300b3b3e$export$27f4c38933cceedf = `EuwYBq_spectrum-Calendar-table`;
|
|
187
|
-
$52c51313300b3b3e$export$292b81cfd590634d = `EuwYBq_spectrum-Calendar-tableCell`;
|
|
188
|
-
$52c51313300b3b3e$export$98ee27555a2b7c01 = `EuwYBq_spectrum-Calendar-title`;
|
|
189
|
-
$52c51313300b3b3e$export$4109102f950813a6 = `EuwYBq_spectrum-FocusRing-ring`;
|
|
190
|
-
$52c51313300b3b3e$export$24c7f46a6e3605dd = `EuwYBq_spectrum-FocusRing ${$52c51313300b3b3e$export$4109102f950813a6}`;
|
|
191
|
-
$52c51313300b3b3e$export$2927016961429360 = `EuwYBq_spectrum-FocusRing--quiet`;
|
|
192
|
-
$52c51313300b3b3e$export$fb184b623420d9be = `EuwYBq_title`;
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
function $453c556b9066da11$export$5d847498420df57b({ state: state, currentMonth: currentMonth, ...props }) {
|
|
199
|
-
let ref = (0, $40VnT$useRef)();
|
|
200
|
-
let { cellProps: cellProps, buttonProps: buttonProps, isPressed: isPressed, isSelected: isSelected, isDisabled: isDisabled, isFocused: isFocused, isInvalid: isInvalid, formattedDate: formattedDate } = (0, $40VnT$useCalendarCell)({
|
|
201
|
-
...props,
|
|
202
|
-
isDisabled: !(0, $40VnT$isSameMonth)(props.date, currentMonth)
|
|
203
|
-
}, state, ref);
|
|
204
|
-
let isUnavailable = state.isCellUnavailable(props.date) && !isDisabled;
|
|
205
|
-
let isLastSelectedBeforeDisabled = !isDisabled && !isInvalid && state.isCellUnavailable(props.date.add({
|
|
206
|
-
days: 1
|
|
207
|
-
}));
|
|
208
|
-
let isFirstSelectedAfterDisabled = !isDisabled && !isInvalid && state.isCellUnavailable(props.date.subtract({
|
|
209
|
-
days: 1
|
|
210
|
-
}));
|
|
211
|
-
let highlightedRange = "highlightedRange" in state && state.highlightedRange;
|
|
212
|
-
let isSelectionStart = isSelected && highlightedRange && (0, $40VnT$isSameDay)(props.date, highlightedRange.start);
|
|
213
|
-
let isSelectionEnd = isSelected && highlightedRange && (0, $40VnT$isSameDay)(props.date, highlightedRange.end);
|
|
214
|
-
let { locale: locale } = (0, $40VnT$useLocale)();
|
|
215
|
-
let dayOfWeek = (0, $40VnT$getDayOfWeek)(props.date, locale);
|
|
216
|
-
let isRangeStart = isSelected && (isFirstSelectedAfterDisabled || dayOfWeek === 0 || props.date.day === 1);
|
|
217
|
-
let isRangeEnd = isSelected && (isLastSelectedBeforeDisabled || dayOfWeek === 6 || props.date.day === currentMonth.calendar.getDaysInMonth(currentMonth));
|
|
218
|
-
let { focusProps: focusProps, isFocusVisible: isFocusVisible } = (0, $40VnT$useFocusRing)();
|
|
219
|
-
let { hoverProps: hoverProps, isHovered: isHovered } = (0, $40VnT$useHover)({
|
|
220
|
-
isDisabled: isDisabled || isUnavailable || state.isReadOnly
|
|
221
|
-
});
|
|
222
|
-
return /*#__PURE__*/ (0, $40VnT$react).createElement("td", {
|
|
223
|
-
...cellProps,
|
|
224
|
-
className: (0, $40VnT$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($52c51313300b3b3e$exports))), "spectrum-Calendar-tableCell")
|
|
225
|
-
}, /*#__PURE__*/ (0, $40VnT$react).createElement("span", {
|
|
226
|
-
...(0, $40VnT$mergeProps)(buttonProps, hoverProps, focusProps),
|
|
227
|
-
ref: ref,
|
|
228
|
-
className: (0, $40VnT$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($52c51313300b3b3e$exports))), "spectrum-Calendar-date", {
|
|
229
|
-
"is-today": (0, $40VnT$isToday)(props.date, state.timeZone),
|
|
230
|
-
"is-selected": isSelected,
|
|
231
|
-
"is-focused": isFocused && isFocusVisible,
|
|
232
|
-
// Style disabled (i.e. out of min/max range), but selected dates as unavailable
|
|
233
|
-
// since it is more clear than trying to dim the selection.
|
|
234
|
-
"is-disabled": isDisabled && !isInvalid,
|
|
235
|
-
"is-unavailable": isUnavailable || isInvalid && isDisabled,
|
|
236
|
-
"is-outsideMonth": !(0, $40VnT$isSameMonth)(props.date, currentMonth),
|
|
237
|
-
"is-range-start": isRangeStart,
|
|
238
|
-
"is-range-end": isRangeEnd,
|
|
239
|
-
"is-range-selection": isSelected && "highlightedRange" in state,
|
|
240
|
-
"is-selection-start": isSelectionStart,
|
|
241
|
-
"is-selection-end": isSelectionEnd,
|
|
242
|
-
"is-hovered": isHovered,
|
|
243
|
-
"is-pressed": isPressed && !state.isReadOnly,
|
|
244
|
-
"is-invalid": isInvalid
|
|
245
|
-
})
|
|
246
|
-
}, /*#__PURE__*/ (0, $40VnT$react).createElement("span", {
|
|
247
|
-
className: (0, $40VnT$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($52c51313300b3b3e$exports))), "spectrum-Calendar-dateText")
|
|
248
|
-
}, /*#__PURE__*/ (0, $40VnT$react).createElement("span", null, formattedDate))));
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
function $faa2f3867773cfe5$export$26e2752316b9a375(props) {
|
|
259
|
-
let { state: state, startDate: startDate } = props;
|
|
260
|
-
let { gridProps: gridProps, headerProps: headerProps, weekDays: weekDays } = (0, $40VnT$useCalendarGrid)({
|
|
261
|
-
...props,
|
|
262
|
-
endDate: (0, $40VnT$endOfMonth)(startDate)
|
|
263
|
-
}, state);
|
|
264
|
-
let { locale: locale } = (0, $40VnT$useLocale)();
|
|
265
|
-
let weeksInMonth = (0, $40VnT$getWeeksInMonth)(startDate, locale);
|
|
266
|
-
return /*#__PURE__*/ (0, $40VnT$react).createElement("table", {
|
|
267
|
-
...gridProps,
|
|
268
|
-
className: (0, $40VnT$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($52c51313300b3b3e$exports))), "spectrum-Calendar-body", "spectrum-Calendar-table")
|
|
269
|
-
}, /*#__PURE__*/ (0, $40VnT$react).createElement("thead", headerProps, /*#__PURE__*/ (0, $40VnT$react).createElement("tr", null, weekDays.map((day, index)=>/*#__PURE__*/ (0, $40VnT$react).createElement("th", {
|
|
270
|
-
key: index,
|
|
271
|
-
className: (0, $40VnT$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($52c51313300b3b3e$exports))), "spectrum-Calendar-tableCell")
|
|
272
|
-
}, /*#__PURE__*/ (0, $40VnT$react).createElement("span", {
|
|
273
|
-
className: (0, $40VnT$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($52c51313300b3b3e$exports))), "spectrum-Calendar-dayOfWeek")
|
|
274
|
-
}, day))))), /*#__PURE__*/ (0, $40VnT$react).createElement("tbody", null, [
|
|
275
|
-
...new Array(weeksInMonth).keys()
|
|
276
|
-
].map((weekIndex)=>/*#__PURE__*/ (0, $40VnT$react).createElement("tr", {
|
|
277
|
-
key: weekIndex
|
|
278
|
-
}, state.getDatesInWeek(weekIndex, startDate).map((date, i)=>date ? /*#__PURE__*/ (0, $40VnT$react).createElement((0, $453c556b9066da11$export$5d847498420df57b), {
|
|
279
|
-
key: i,
|
|
280
|
-
state: state,
|
|
281
|
-
date: date,
|
|
282
|
-
currentMonth: startDate
|
|
283
|
-
}) : /*#__PURE__*/ (0, $40VnT$react).createElement("td", {
|
|
284
|
-
key: i
|
|
285
|
-
}))))));
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
var $3bf3e8635a799a6e$exports = {};
|
|
294
|
-
var $c1fdee2284f63122$exports = {};
|
|
295
|
-
$c1fdee2284f63122$exports = {
|
|
296
|
-
"invalidSelection": (args, formatter)=>`${formatter.plural(args.selectedCount, {
|
|
297
|
-
one: `\u{627}\u{644}\u{62A}\u{627}\u{631}\u{64A}\u{62E}`,
|
|
298
|
-
other: `\u{627}\u{644}\u{62A}\u{648}\u{627}\u{631}\u{64A}\u{62E}`
|
|
299
|
-
})} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}/\u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}\u{629} \u{63A}\u{64A}\u{631} \u{645}\u{62A}\u{648}\u{641}\u{631}\u{629}.`
|
|
300
|
-
};
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
var $81326fc5b8464f3e$exports = {};
|
|
304
|
-
$81326fc5b8464f3e$exports = {
|
|
305
|
-
"invalidSelection": (args, formatter)=>`${formatter.plural(args.selectedCount, {
|
|
306
|
-
one: `\u{418}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{430}\u{442}\u{430} \u{434}\u{430}\u{442}\u{430} \u{43D}\u{435} \u{435} \u{43D}\u{430}\u{43B}\u{438}\u{447}\u{43D}\u{430}`,
|
|
307
|
-
other: `\u{418}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{438}\u{442}\u{435} \u{434}\u{430}\u{442}\u{438} \u{43D}\u{435} \u{441}\u{430} \u{43D}\u{430}\u{43B}\u{438}\u{447}\u{43D}\u{438}`
|
|
308
|
-
})}.`
|
|
309
|
-
};
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
var $61bec992b8f61b70$exports = {};
|
|
313
|
-
$61bec992b8f61b70$exports = {
|
|
314
|
-
"invalidSelection": (args, formatter)=>`${formatter.plural(args.selectedCount, {
|
|
315
|
-
one: `Vybran\xe9 datum nen\xed`,
|
|
316
|
-
other: `Vybran\xe1 data nejsou`
|
|
317
|
-
})} k dispozici.`
|
|
318
|
-
};
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
var $92192aa23ec84b2d$exports = {};
|
|
322
|
-
$92192aa23ec84b2d$exports = {
|
|
323
|
-
"invalidSelection": (args, formatter)=>`Valgte ${formatter.plural(args.selectedCount, {
|
|
324
|
-
one: `dato`,
|
|
325
|
-
other: `datoer`
|
|
326
|
-
})} ikke ledige.`
|
|
327
|
-
};
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
var $4db8629ea44949b0$exports = {};
|
|
331
|
-
$4db8629ea44949b0$exports = {
|
|
332
|
-
"invalidSelection": (args, formatter)=>`Ausgew\xe4hlte(s) ${formatter.plural(args.selectedCount, {
|
|
333
|
-
one: `Datum`,
|
|
334
|
-
other: `Daten`
|
|
335
|
-
})} nicht verf\xfcgbar.`
|
|
336
|
-
};
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
var $d1795c2b69d00f6c$exports = {};
|
|
340
|
-
$d1795c2b69d00f6c$exports = {
|
|
341
|
-
"invalidSelection": (args, formatter)=>`${formatter.plural(args.selectedCount, {
|
|
342
|
-
one: `\u{397} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3B7} \u{3B7}\u{3BC}\u{3B5}\u{3C1}\u{3BF}\u{3BC}\u{3B7}\u{3BD}\u{3AF}\u{3B1} \u{3B4}\u{3B5}\u{3BD} \u{3B5}\u{3AF}\u{3BD}\u{3B1}\u{3B9} \u{3B4}\u{3B9}\u{3B1}\u{3B8}\u{3AD}\u{3C3}\u{3B9}\u{3BC}\u{3B7}`,
|
|
343
|
-
other: `\u{39F}\u{3B9} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3B5}\u{3C2} \u{3B7}\u{3BC}\u{3B5}\u{3C1}\u{3BF}\u{3BC}\u{3B7}\u{3BD}\u{3AF}\u{3B5}\u{3C2} \u{3B4}\u{3B5}\u{3BD} \u{3B5}\u{3AF}\u{3BD}\u{3B1}\u{3B9} \u{3B4}\u{3B9}\u{3B1}\u{3B8}\u{3AD}\u{3C3}\u{3B9}\u{3BC}\u{3B5}\u{3C2}`
|
|
344
|
-
})}.`
|
|
345
|
-
};
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
var $16d2015735d51a41$exports = {};
|
|
349
|
-
$16d2015735d51a41$exports = {
|
|
350
|
-
"invalidSelection": (args, formatter)=>`Selected ${formatter.plural(args.selectedCount, {
|
|
351
|
-
one: `date`,
|
|
352
|
-
other: `dates`
|
|
353
|
-
})} unavailable.`
|
|
354
|
-
};
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
var $96cd1e101026681b$exports = {};
|
|
358
|
-
$96cd1e101026681b$exports = {
|
|
359
|
-
"invalidSelection": (args, formatter)=>`${formatter.plural(args.selectedCount, {
|
|
360
|
-
one: `La fecha seleccionada no est\xe1 disponible`,
|
|
361
|
-
other: `Las fechas seleccionadas no est\xe1n disponibles`
|
|
362
|
-
})}.`
|
|
363
|
-
};
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
var $1133d3628ea10323$exports = {};
|
|
367
|
-
$1133d3628ea10323$exports = {
|
|
368
|
-
"invalidSelection": (args, formatter)=>`Valitud ${formatter.plural(args.selectedCount, {
|
|
369
|
-
one: `kuup\xe4ev`,
|
|
370
|
-
other: `kuup\xe4evad`
|
|
371
|
-
})} pole saadaval.`
|
|
372
|
-
};
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
var $53163229660d53e4$exports = {};
|
|
376
|
-
$53163229660d53e4$exports = {
|
|
377
|
-
"invalidSelection": (args, formatter)=>`${formatter.plural(args.selectedCount, {
|
|
378
|
-
one: `Valittu p\xe4iv\xe4m\xe4\xe4r\xe4 ei ole`,
|
|
379
|
-
other: `Valitut p\xe4iv\xe4m\xe4\xe4r\xe4t eiv\xe4t ole`
|
|
380
|
-
})} saatavilla.`
|
|
381
|
-
};
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
var $d0808f7b535fb9b6$exports = {};
|
|
385
|
-
$d0808f7b535fb9b6$exports = {
|
|
386
|
-
"invalidSelection": (args, formatter)=>`${formatter.plural(args.selectedCount, {
|
|
387
|
-
one: `La date s\xe9lectionn\xe9e est indisponible`,
|
|
388
|
-
other: `Les dates s\xe9lectionn\xe9es sont indisponibles`
|
|
389
|
-
})}.`
|
|
390
|
-
};
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
var $658f594fbca84b9b$exports = {};
|
|
394
|
-
$658f594fbca84b9b$exports = {
|
|
395
|
-
"invalidSelection": (args, formatter)=>`\u{5E0}\u{5D1}\u{5D7}\u{5E8} ${formatter.plural(args.selectedCount, {
|
|
396
|
-
one: `\u{5EA}\u{5D0}\u{5E8}\u{5D9}\u{5DA}`,
|
|
397
|
-
other: `\u{5EA}\u{5D0}\u{5E8}\u{5D9}\u{5DB}\u{5D9}\u{5DD}`
|
|
398
|
-
})} \u{5D0}\u{5D9}\u{5E0}\u{5D5} \u{5D6}\u{5DE}\u{5D9}\u{5DF}.`
|
|
399
|
-
};
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
var $0b62e8a6414bc20c$exports = {};
|
|
403
|
-
$0b62e8a6414bc20c$exports = {
|
|
404
|
-
"invalidSelection": (args, formatter)=>`${formatter.plural(args.selectedCount, {
|
|
405
|
-
one: `Odabrani datum nije dostupan`,
|
|
406
|
-
other: `Odabrani datumi nisu dostupni`
|
|
407
|
-
})}.`
|
|
408
|
-
};
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
var $132d1b97de231314$exports = {};
|
|
412
|
-
$132d1b97de231314$exports = {
|
|
413
|
-
"invalidSelection": (args, formatter)=>`A kijel\xf6lt ${formatter.plural(args.selectedCount, {
|
|
414
|
-
one: `d\xe1tum nem \xe9rhet\u{151} el`,
|
|
415
|
-
other: `d\xe1tumok nem \xe9rhet\u{151}ek el`
|
|
416
|
-
})}.`
|
|
417
|
-
};
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
var $5653a55498966c6c$exports = {};
|
|
421
|
-
$5653a55498966c6c$exports = {
|
|
422
|
-
"invalidSelection": (args, formatter)=>`${formatter.plural(args.selectedCount, {
|
|
423
|
-
one: `Data selezionata non disponibile`,
|
|
424
|
-
other: `Date selezionate non disponibili`
|
|
425
|
-
})}.`
|
|
426
|
-
};
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
var $243f99057b9b0af0$exports = {};
|
|
430
|
-
$243f99057b9b0af0$exports = {
|
|
431
|
-
"invalidSelection": (args, formatter)=>`\u{9078}\u{629E}\u{3057}\u{305F}${formatter.plural(args.selectedCount, {
|
|
432
|
-
one: `\u{65E5}\u{4ED8}`,
|
|
433
|
-
other: `\u{65E5}\u{4ED8}`
|
|
434
|
-
})}\u{306F}\u{4F7F}\u{7528}\u{3067}\u{304D}\u{307E}\u{305B}\u{3093}\u{3002}`
|
|
435
|
-
};
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
var $9dbe802a4c1b47ed$exports = {};
|
|
439
|
-
$9dbe802a4c1b47ed$exports = {
|
|
440
|
-
"invalidSelection": (args, formatter)=>`\u{C120}\u{D0DD}\u{D55C} ${formatter.plural(args.selectedCount, {
|
|
441
|
-
one: `\u{C77C}\u{C790}\u{B97C}`,
|
|
442
|
-
other: `\u{C77C}\u{C790}\u{B97C}`
|
|
443
|
-
})} \u{C0AC}\u{C6A9}\u{D560} \u{C218} \u{C5C6}\u{C2B5}\u{B2C8}\u{B2E4}.`
|
|
444
|
-
};
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
var $ed6bec4d46a5be1b$exports = {};
|
|
448
|
-
$ed6bec4d46a5be1b$exports = {
|
|
449
|
-
"invalidSelection": (args, formatter)=>`${formatter.plural(args.selectedCount, {
|
|
450
|
-
one: `Datos`,
|
|
451
|
-
other: `Dat\u{173}`
|
|
452
|
-
})} pasirinkimas negalimas.`
|
|
453
|
-
};
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
var $e203254b4140c831$exports = {};
|
|
457
|
-
$e203254b4140c831$exports = {
|
|
458
|
-
"invalidSelection": (args, formatter)=>`Atlas\u{12B}tais(-ie) ${formatter.plural(args.selectedCount, {
|
|
459
|
-
one: `date`,
|
|
460
|
-
other: `dates`
|
|
461
|
-
})} nav pieejams(-i).`
|
|
462
|
-
};
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
var $87004dc1feacb708$exports = {};
|
|
466
|
-
$87004dc1feacb708$exports = {
|
|
467
|
-
"invalidSelection": (args, formatter)=>`Valgt(e) ${formatter.plural(args.selectedCount, {
|
|
468
|
-
one: `dato`,
|
|
469
|
-
other: `datoer`
|
|
470
|
-
})} er utilgjengelig.`
|
|
471
|
-
};
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
var $fd392c0c0b12ff84$exports = {};
|
|
475
|
-
$fd392c0c0b12ff84$exports = {
|
|
476
|
-
"invalidSelection": (args, formatter)=>`Geselecteerde ${formatter.plural(args.selectedCount, {
|
|
477
|
-
one: `datum`,
|
|
478
|
-
other: `datums`
|
|
479
|
-
})} niet beschikbaar.`
|
|
480
|
-
};
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
var $02f96c467435edbf$exports = {};
|
|
484
|
-
$02f96c467435edbf$exports = {
|
|
485
|
-
"invalidSelection": (args, formatter)=>`${formatter.plural(args.selectedCount, {
|
|
486
|
-
one: `Wybrana data jest niedost\u{119}pna`,
|
|
487
|
-
other: `Wybrane daty s\u{105} niedost\u{119}pne`
|
|
488
|
-
})}.`
|
|
489
|
-
};
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
var $a516ff2265dc1cde$exports = {};
|
|
493
|
-
$a516ff2265dc1cde$exports = {
|
|
494
|
-
"invalidSelection": (args, formatter)=>`${formatter.plural(args.selectedCount, {
|
|
495
|
-
one: `Data`,
|
|
496
|
-
other: `Datas`
|
|
497
|
-
})} selecionada(s) indispon\xedvel(is).`
|
|
498
|
-
};
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
var $2a8fe7dc6b71b8d6$exports = {};
|
|
502
|
-
$2a8fe7dc6b71b8d6$exports = {
|
|
503
|
-
"invalidSelection": (args, formatter)=>`A(s) ${formatter.plural(args.selectedCount, {
|
|
504
|
-
one: `data`,
|
|
505
|
-
other: `datas`
|
|
506
|
-
})} selecionada(s) n\xe3o est\xe1(\xe3o) dispon\xedvel/dispon\xedvel(eis).`
|
|
507
|
-
};
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
var $459c636d0d282e8f$exports = {};
|
|
511
|
-
$459c636d0d282e8f$exports = {
|
|
512
|
-
"invalidSelection": (args, formatter)=>`${formatter.plural(args.selectedCount, {
|
|
513
|
-
one: `Data selectat\u{103} nu este disponibil\u{103}`,
|
|
514
|
-
other: `Datele selectate nu sunt disponibile`
|
|
515
|
-
})}.`
|
|
516
|
-
};
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
var $d49b96bc4e237385$exports = {};
|
|
520
|
-
$d49b96bc4e237385$exports = {
|
|
521
|
-
"invalidSelection": (args, formatter)=>`\u{412}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{44B}\u{435} ${formatter.plural(args.selectedCount, {
|
|
522
|
-
one: `\u{434}\u{430}\u{442}\u{430}`,
|
|
523
|
-
other: `\u{434}\u{430}\u{442}\u{44B}`
|
|
524
|
-
})} \u{43D}\u{435}\u{434}\u{43E}\u{441}\u{442}\u{443}\u{43F}\u{43D}\u{44B}.`
|
|
525
|
-
};
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
var $14f44f430d85943b$exports = {};
|
|
529
|
-
$14f44f430d85943b$exports = {
|
|
530
|
-
"invalidSelection": (args, formatter)=>`${formatter.plural(args.selectedCount, {
|
|
531
|
-
one: `Vybrat\xfd d\xe1tum`,
|
|
532
|
-
other: `Vybrat\xe9 d\xe1tumy`
|
|
533
|
-
})}: nedostupn\xe9.`
|
|
534
|
-
};
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
var $ced45866328d3850$exports = {};
|
|
538
|
-
$ced45866328d3850$exports = {
|
|
539
|
-
"invalidSelection": (args, formatter)=>`Izbrano ${formatter.plural(args.selectedCount, {
|
|
540
|
-
one: `date`,
|
|
541
|
-
other: `dates`
|
|
542
|
-
})} ni na voljo.`
|
|
543
|
-
};
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
var $46417484d64689f8$exports = {};
|
|
547
|
-
$46417484d64689f8$exports = {
|
|
548
|
-
"invalidSelection": (args, formatter)=>`Izabrani ${formatter.plural(args.selectedCount, {
|
|
549
|
-
one: `date`,
|
|
550
|
-
other: `dates`
|
|
551
|
-
})} nije dostupan.`
|
|
552
|
-
};
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
var $9d8ccb39096f4575$exports = {};
|
|
556
|
-
$9d8ccb39096f4575$exports = {
|
|
557
|
-
"invalidSelection": (args, formatter)=>`${formatter.plural(args.selectedCount, {
|
|
558
|
-
one: `Valt datum \xe4r inte tillg\xe4ngligt.`,
|
|
559
|
-
other: `Valda datum \xe4r inte tillg\xe4ngliga.`
|
|
560
|
-
})}`
|
|
561
|
-
};
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
var $8e9c1a10ed1cc18a$exports = {};
|
|
565
|
-
$8e9c1a10ed1cc18a$exports = {
|
|
566
|
-
"invalidSelection": (args, formatter)=>`Se\xe7ilen ${formatter.plural(args.selectedCount, {
|
|
567
|
-
one: `tarih`,
|
|
568
|
-
other: `tarihler`
|
|
569
|
-
})} m\xfcsait de\u{11F}il.`
|
|
570
|
-
};
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
var $84c3bf1d3eaf1f59$exports = {};
|
|
574
|
-
$84c3bf1d3eaf1f59$exports = {
|
|
575
|
-
"invalidSelection": (args, formatter)=>`${formatter.plural(args.selectedCount, {
|
|
576
|
-
one: `\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{430} \u{434}\u{430}\u{442}\u{430} \u{43D}\u{435}\u{434}\u{43E}\u{441}\u{442}\u{443}\u{43F}\u{43D}\u{430}`,
|
|
577
|
-
other: `\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{456} \u{434}\u{430}\u{442}\u{438} \u{43D}\u{435}\u{434}\u{43E}\u{441}\u{442}\u{443}\u{43F}\u{43D}\u{456}`
|
|
578
|
-
})}.`
|
|
579
|
-
};
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
var $0212afd59952ac06$exports = {};
|
|
583
|
-
$0212afd59952ac06$exports = {
|
|
584
|
-
"invalidSelection": (args, formatter)=>`\u{9009}\u{5B9A}\u{7684} ${formatter.plural(args.selectedCount, {
|
|
585
|
-
one: `\u{4E2A}\u{65E5}\u{671F}`,
|
|
586
|
-
other: `\u{4E2A}\u{65E5}\u{671F}`
|
|
587
|
-
})} \u{4E0D}\u{53EF}\u{7528}\u{3002}`
|
|
588
|
-
};
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
var $87077630a4e30349$exports = {};
|
|
592
|
-
$87077630a4e30349$exports = {
|
|
593
|
-
"invalidSelection": (args, formatter)=>`\u{6240}\u{9078}\u{7684}${formatter.plural(args.selectedCount, {
|
|
594
|
-
one: `\u{65E5}\u{671F}`,
|
|
595
|
-
other: `\u{65E5}\u{671F}`
|
|
596
|
-
})}\u{7121}\u{6CD5}\u{4F7F}\u{7528}\u{3002}`
|
|
597
|
-
};
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
$3bf3e8635a799a6e$exports = {
|
|
601
|
-
"ar-AE": $c1fdee2284f63122$exports,
|
|
602
|
-
"bg-BG": $81326fc5b8464f3e$exports,
|
|
603
|
-
"cs-CZ": $61bec992b8f61b70$exports,
|
|
604
|
-
"da-DK": $92192aa23ec84b2d$exports,
|
|
605
|
-
"de-DE": $4db8629ea44949b0$exports,
|
|
606
|
-
"el-GR": $d1795c2b69d00f6c$exports,
|
|
607
|
-
"en-US": $16d2015735d51a41$exports,
|
|
608
|
-
"es-ES": $96cd1e101026681b$exports,
|
|
609
|
-
"et-EE": $1133d3628ea10323$exports,
|
|
610
|
-
"fi-FI": $53163229660d53e4$exports,
|
|
611
|
-
"fr-FR": $d0808f7b535fb9b6$exports,
|
|
612
|
-
"he-IL": $658f594fbca84b9b$exports,
|
|
613
|
-
"hr-HR": $0b62e8a6414bc20c$exports,
|
|
614
|
-
"hu-HU": $132d1b97de231314$exports,
|
|
615
|
-
"it-IT": $5653a55498966c6c$exports,
|
|
616
|
-
"ja-JP": $243f99057b9b0af0$exports,
|
|
617
|
-
"ko-KR": $9dbe802a4c1b47ed$exports,
|
|
618
|
-
"lt-LT": $ed6bec4d46a5be1b$exports,
|
|
619
|
-
"lv-LV": $e203254b4140c831$exports,
|
|
620
|
-
"nb-NO": $87004dc1feacb708$exports,
|
|
621
|
-
"nl-NL": $fd392c0c0b12ff84$exports,
|
|
622
|
-
"pl-PL": $02f96c467435edbf$exports,
|
|
623
|
-
"pt-BR": $a516ff2265dc1cde$exports,
|
|
624
|
-
"pt-PT": $2a8fe7dc6b71b8d6$exports,
|
|
625
|
-
"ro-RO": $459c636d0d282e8f$exports,
|
|
626
|
-
"ru-RU": $d49b96bc4e237385$exports,
|
|
627
|
-
"sk-SK": $14f44f430d85943b$exports,
|
|
628
|
-
"sl-SI": $ced45866328d3850$exports,
|
|
629
|
-
"sr-SP": $46417484d64689f8$exports,
|
|
630
|
-
"sv-SE": $9d8ccb39096f4575$exports,
|
|
631
|
-
"tr-TR": $8e9c1a10ed1cc18a$exports,
|
|
632
|
-
"uk-UA": $84c3bf1d3eaf1f59$exports,
|
|
633
|
-
"zh-CN": $0212afd59952ac06$exports,
|
|
634
|
-
"zh-TW": $87077630a4e30349$exports
|
|
635
|
-
};
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
function $62cd1e80f0dffb66$export$bfd52a43017368fe(props) {
|
|
643
|
-
let { state: state, calendarProps: calendarProps, nextButtonProps: nextButtonProps, prevButtonProps: prevButtonProps, errorMessageProps: errorMessageProps, calendarRef: ref, visibleMonths: visibleMonths = 1 } = props;
|
|
644
|
-
let { styleProps: styleProps } = (0, $40VnT$useStyleProps)(props);
|
|
645
|
-
let stringFormatter = (0, $40VnT$useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($3bf3e8635a799a6e$exports))), "@react-spectrum/calendar");
|
|
646
|
-
let { direction: direction } = (0, $40VnT$useLocale)();
|
|
647
|
-
let currentMonth = state.visibleRange.start;
|
|
648
|
-
let monthDateFormatter = (0, $40VnT$useDateFormatter)({
|
|
649
|
-
month: "long",
|
|
650
|
-
year: "numeric",
|
|
651
|
-
era: currentMonth.calendar.identifier === "gregory" && currentMonth.era === "BC" ? "short" : undefined,
|
|
652
|
-
calendar: currentMonth.calendar.identifier,
|
|
653
|
-
timeZone: state.timeZone
|
|
654
|
-
});
|
|
655
|
-
let titles = [];
|
|
656
|
-
let calendars = [];
|
|
657
|
-
for(let i = 0; i < visibleMonths; i++){
|
|
658
|
-
let d = currentMonth.add({
|
|
659
|
-
months: i
|
|
660
|
-
});
|
|
661
|
-
titles.push(/*#__PURE__*/ (0, $40VnT$react).createElement("div", {
|
|
662
|
-
key: i,
|
|
663
|
-
className: (0, $40VnT$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($52c51313300b3b3e$exports))), "spectrum-Calendar-monthHeader")
|
|
664
|
-
}, i === 0 && /*#__PURE__*/ (0, $40VnT$react).createElement((0, $40VnT$ActionButton), {
|
|
665
|
-
...prevButtonProps,
|
|
666
|
-
UNSAFE_className: (0, $40VnT$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($52c51313300b3b3e$exports))), "spectrum-Calendar-prevMonth"),
|
|
667
|
-
isQuiet: true
|
|
668
|
-
}, direction === "rtl" ? /*#__PURE__*/ (0, $40VnT$react).createElement((0, $40VnT$spectrumiconsuiChevronRightLarge), null) : /*#__PURE__*/ (0, $40VnT$react).createElement((0, $40VnT$spectrumiconsuiChevronLeftLarge), null)), /*#__PURE__*/ (0, $40VnT$react).createElement("h2", {
|
|
669
|
-
// We have a visually hidden heading describing the entire visible range,
|
|
670
|
-
// and the calendar itself describes the individual month
|
|
671
|
-
// so we don't need to repeat that here for screen reader users.
|
|
672
|
-
"aria-hidden": true,
|
|
673
|
-
className: (0, $40VnT$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($52c51313300b3b3e$exports))), "spectrum-Calendar-title")
|
|
674
|
-
}, monthDateFormatter.format(d.toDate(state.timeZone))), i === visibleMonths - 1 && /*#__PURE__*/ (0, $40VnT$react).createElement((0, $40VnT$ActionButton), {
|
|
675
|
-
...nextButtonProps,
|
|
676
|
-
UNSAFE_className: (0, $40VnT$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($52c51313300b3b3e$exports))), "spectrum-Calendar-nextMonth"),
|
|
677
|
-
isQuiet: true
|
|
678
|
-
}, direction === "rtl" ? /*#__PURE__*/ (0, $40VnT$react).createElement((0, $40VnT$spectrumiconsuiChevronLeftLarge), null) : /*#__PURE__*/ (0, $40VnT$react).createElement((0, $40VnT$spectrumiconsuiChevronRightLarge), null))));
|
|
679
|
-
calendars.push(/*#__PURE__*/ (0, $40VnT$react).createElement((0, $faa2f3867773cfe5$export$26e2752316b9a375), {
|
|
680
|
-
...props,
|
|
681
|
-
key: i,
|
|
682
|
-
state: state,
|
|
683
|
-
startDate: d
|
|
684
|
-
}));
|
|
685
|
-
}
|
|
686
|
-
return /*#__PURE__*/ (0, $40VnT$react).createElement("div", {
|
|
687
|
-
...styleProps,
|
|
688
|
-
...calendarProps,
|
|
689
|
-
ref: ref,
|
|
690
|
-
className: (0, $40VnT$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($52c51313300b3b3e$exports))), "spectrum-Calendar", styleProps.className)
|
|
691
|
-
}, /*#__PURE__*/ (0, $40VnT$react).createElement((0, $40VnT$VisuallyHidden), null, /*#__PURE__*/ (0, $40VnT$react).createElement("h2", null, calendarProps["aria-label"])), /*#__PURE__*/ (0, $40VnT$react).createElement("div", {
|
|
692
|
-
className: (0, $40VnT$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($52c51313300b3b3e$exports))), "spectrum-Calendar-header")
|
|
693
|
-
}, titles), /*#__PURE__*/ (0, $40VnT$react).createElement("div", {
|
|
694
|
-
className: (0, $40VnT$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($52c51313300b3b3e$exports))), "spectrum-Calendar-months")
|
|
695
|
-
}, calendars), /*#__PURE__*/ (0, $40VnT$react).createElement((0, $40VnT$VisuallyHidden), null, /*#__PURE__*/ (0, $40VnT$react).createElement("button", {
|
|
696
|
-
"aria-label": nextButtonProps["aria-label"],
|
|
697
|
-
disabled: nextButtonProps.isDisabled,
|
|
698
|
-
onClick: ()=>state.focusNextPage(),
|
|
699
|
-
tabIndex: -1
|
|
700
|
-
})), state.isValueInvalid && /*#__PURE__*/ (0, $40VnT$react).createElement((0, $40VnT$HelpText), {
|
|
701
|
-
showErrorIcon: true,
|
|
702
|
-
errorMessage: props.errorMessage || stringFormatter.format("invalidSelection", {
|
|
703
|
-
selectedCount: "highlightedRange" in state ? 2 : 1
|
|
704
|
-
}),
|
|
705
|
-
errorMessageProps: errorMessageProps,
|
|
706
|
-
isInvalid: true,
|
|
707
|
-
// Intentionally a global class name so it can be targeted in DatePicker CSS...
|
|
708
|
-
UNSAFE_className: "spectrum-Calendar-helpText"
|
|
709
|
-
}));
|
|
710
|
-
}
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
function $d2b8d4577dd88671$var$Calendar(props, ref) {
|
|
721
|
-
props = (0, $40VnT$useProviderProps)(props);
|
|
722
|
-
let { visibleMonths: visibleMonths = 1 } = props;
|
|
723
|
-
visibleMonths = Math.max(visibleMonths, 1);
|
|
724
|
-
let visibleDuration = (0, $40VnT$useMemo)(()=>({
|
|
725
|
-
months: visibleMonths
|
|
726
|
-
}), [
|
|
727
|
-
visibleMonths
|
|
728
|
-
]);
|
|
729
|
-
let { locale: locale } = (0, $40VnT$useLocale)();
|
|
730
|
-
let state = (0, $40VnT$useCalendarState)({
|
|
731
|
-
...props,
|
|
732
|
-
locale: locale,
|
|
733
|
-
visibleDuration: visibleDuration,
|
|
734
|
-
createCalendar: $40VnT$createCalendar
|
|
735
|
-
});
|
|
736
|
-
let domRef = (0, $40VnT$useRef)();
|
|
737
|
-
(0, $40VnT$useImperativeHandle)(ref, ()=>({
|
|
738
|
-
...(0, $40VnT$createDOMRef)(domRef),
|
|
739
|
-
focus () {
|
|
740
|
-
state.setFocused(true);
|
|
741
|
-
}
|
|
742
|
-
}));
|
|
743
|
-
let { calendarProps: calendarProps, prevButtonProps: prevButtonProps, nextButtonProps: nextButtonProps, errorMessageProps: errorMessageProps } = (0, $40VnT$useCalendar)(props, state);
|
|
744
|
-
return /*#__PURE__*/ (0, $40VnT$react).createElement((0, $62cd1e80f0dffb66$export$bfd52a43017368fe), {
|
|
745
|
-
...props,
|
|
746
|
-
visibleMonths: visibleMonths,
|
|
747
|
-
state: state,
|
|
748
|
-
calendarRef: domRef,
|
|
749
|
-
calendarProps: calendarProps,
|
|
750
|
-
prevButtonProps: prevButtonProps,
|
|
751
|
-
nextButtonProps: nextButtonProps,
|
|
752
|
-
errorMessageProps: errorMessageProps
|
|
753
|
-
});
|
|
754
|
-
}
|
|
755
|
-
/**
|
|
756
|
-
* Calendars display a grid of days in one or more months and allow users to select a single date.
|
|
757
|
-
*/ const $d2b8d4577dd88671$export$e1aef45b828286de = /*#__PURE__*/ (0, $40VnT$react).forwardRef($d2b8d4577dd88671$var$Calendar);
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
/*
|
|
761
|
-
* Copyright 2020 Adobe. All rights reserved.
|
|
762
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
763
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
764
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
765
|
-
*
|
|
766
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
767
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
768
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
769
|
-
* governing permissions and limitations under the License.
|
|
770
|
-
*/
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
function $8b1e8eddbf3b15de$var$RangeCalendar(props, ref) {
|
|
779
|
-
props = (0, $40VnT$useProviderProps)(props);
|
|
780
|
-
let { visibleMonths: visibleMonths = 1 } = props;
|
|
781
|
-
visibleMonths = Math.max(visibleMonths, 1);
|
|
782
|
-
let visibleDuration = (0, $40VnT$useMemo)(()=>({
|
|
783
|
-
months: visibleMonths
|
|
784
|
-
}), [
|
|
785
|
-
visibleMonths
|
|
786
|
-
]);
|
|
787
|
-
let { locale: locale } = (0, $40VnT$useLocale)();
|
|
788
|
-
let state = (0, $40VnT$useRangeCalendarState)({
|
|
789
|
-
...props,
|
|
790
|
-
locale: locale,
|
|
791
|
-
visibleDuration: visibleDuration,
|
|
792
|
-
createCalendar: $40VnT$createCalendar
|
|
793
|
-
});
|
|
794
|
-
let domRef = (0, $40VnT$useRef)();
|
|
795
|
-
(0, $40VnT$useImperativeHandle)(ref, ()=>({
|
|
796
|
-
...(0, $40VnT$createDOMRef)(domRef),
|
|
797
|
-
focus () {
|
|
798
|
-
state.setFocused(true);
|
|
799
|
-
}
|
|
800
|
-
}));
|
|
801
|
-
let { calendarProps: calendarProps, prevButtonProps: prevButtonProps, nextButtonProps: nextButtonProps, errorMessageProps: errorMessageProps } = (0, $40VnT$useRangeCalendar)(props, state, domRef);
|
|
802
|
-
return /*#__PURE__*/ (0, $40VnT$react).createElement((0, $62cd1e80f0dffb66$export$bfd52a43017368fe), {
|
|
803
|
-
...props,
|
|
804
|
-
visibleMonths: visibleMonths,
|
|
805
|
-
state: state,
|
|
806
|
-
calendarRef: domRef,
|
|
807
|
-
calendarProps: calendarProps,
|
|
808
|
-
prevButtonProps: prevButtonProps,
|
|
809
|
-
nextButtonProps: nextButtonProps,
|
|
810
|
-
errorMessageProps: errorMessageProps
|
|
811
|
-
});
|
|
812
|
-
}
|
|
813
|
-
/**
|
|
814
|
-
* RangeCalendars display a grid of days in one or more months and allow users to select a contiguous range of dates.
|
|
815
|
-
*/ const $8b1e8eddbf3b15de$export$a4f5c8b89d277a8d = /*#__PURE__*/ (0, $40VnT$react).forwardRef($8b1e8eddbf3b15de$var$RangeCalendar);
|
|
816
15
|
|
|
817
16
|
|
|
818
17
|
|