@react-spectrum/calendar 3.0.0-nightly.1663 → 3.0.0-nightly.1675
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/main.js +206 -36
- package/dist/main.js.map +1 -1
- package/dist/module.js +207 -37
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +1 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +19 -19
- package/src/CalendarBase.tsx +3 -3
- package/src/index.ts +1 -0
package/dist/module.js
CHANGED
|
@@ -4,7 +4,7 @@ import {createDOMRef as $40VnT$createDOMRef, useStyleProps as $40VnT$useStylePro
|
|
|
4
4
|
import $40VnT$react, {useMemo as $40VnT$useMemo, useRef as $40VnT$useRef, useImperativeHandle as $40VnT$useImperativeHandle} from "react";
|
|
5
5
|
import {useCalendar as $40VnT$useCalendar, useCalendarGrid as $40VnT$useCalendarGrid, useCalendarCell as $40VnT$useCalendarCell, useRangeCalendar as $40VnT$useRangeCalendar} from "@react-aria/calendar";
|
|
6
6
|
import {useCalendarState as $40VnT$useCalendarState, useRangeCalendarState as $40VnT$useRangeCalendarState} from "@react-stately/calendar";
|
|
7
|
-
import {useLocale as $40VnT$useLocale,
|
|
7
|
+
import {useLocale as $40VnT$useLocale, useLocalizedStringFormatter as $40VnT$useLocalizedStringFormatter, useDateFormatter as $40VnT$useDateFormatter} from "@react-aria/i18n";
|
|
8
8
|
import {useProviderProps as $40VnT$useProviderProps} from "@react-spectrum/provider";
|
|
9
9
|
import {ActionButton as $40VnT$ActionButton} from "@react-spectrum/button";
|
|
10
10
|
import $40VnT$spectrumiconsuiChevronLeftLarge from "@spectrum-icons/ui/ChevronLeftLarge";
|
|
@@ -218,139 +218,309 @@ function $faa2f3867773cfe5$export$26e2752316b9a375(props) {
|
|
|
218
218
|
|
|
219
219
|
var $e0a80792abac0d48$exports = {};
|
|
220
220
|
var $c1fdee2284f63122$exports = {};
|
|
221
|
-
$c1fdee2284f63122$exports =
|
|
221
|
+
$c1fdee2284f63122$exports = {
|
|
222
|
+
"invalidSelection": (args, formatter)=>`${formatter.plural(args.selectedCount, {
|
|
223
|
+
one: `التاريخ`,
|
|
224
|
+
other: `التواريخ`
|
|
225
|
+
})} المحدد/المحددة غير متوفرة.`
|
|
226
|
+
};
|
|
222
227
|
|
|
223
228
|
|
|
224
229
|
var $81326fc5b8464f3e$exports = {};
|
|
225
|
-
$81326fc5b8464f3e$exports =
|
|
230
|
+
$81326fc5b8464f3e$exports = {
|
|
231
|
+
"invalidSelection": (args, formatter)=>`${formatter.plural(args.selectedCount, {
|
|
232
|
+
one: `Избраната дата не е налична`,
|
|
233
|
+
other: `Избраните дати не са налични`
|
|
234
|
+
})}.`
|
|
235
|
+
};
|
|
226
236
|
|
|
227
237
|
|
|
228
238
|
var $61bec992b8f61b70$exports = {};
|
|
229
|
-
$61bec992b8f61b70$exports =
|
|
239
|
+
$61bec992b8f61b70$exports = {
|
|
240
|
+
"invalidSelection": (args, formatter)=>`${formatter.plural(args.selectedCount, {
|
|
241
|
+
one: `Vybrané datum není`,
|
|
242
|
+
other: `Vybraná data nejsou`
|
|
243
|
+
})} k dispozici.`
|
|
244
|
+
};
|
|
230
245
|
|
|
231
246
|
|
|
232
247
|
var $92192aa23ec84b2d$exports = {};
|
|
233
|
-
$92192aa23ec84b2d$exports =
|
|
248
|
+
$92192aa23ec84b2d$exports = {
|
|
249
|
+
"invalidSelection": (args, formatter)=>`Valgte ${formatter.plural(args.selectedCount, {
|
|
250
|
+
one: `dato`,
|
|
251
|
+
other: `datoer`
|
|
252
|
+
})} ikke ledige.`
|
|
253
|
+
};
|
|
234
254
|
|
|
235
255
|
|
|
236
256
|
var $4db8629ea44949b0$exports = {};
|
|
237
|
-
$4db8629ea44949b0$exports =
|
|
257
|
+
$4db8629ea44949b0$exports = {
|
|
258
|
+
"invalidSelection": (args, formatter)=>`Ausgewählte(s) ${formatter.plural(args.selectedCount, {
|
|
259
|
+
one: `Datum`,
|
|
260
|
+
other: `Daten`
|
|
261
|
+
})} nicht verfügbar.`
|
|
262
|
+
};
|
|
238
263
|
|
|
239
264
|
|
|
240
265
|
var $d1795c2b69d00f6c$exports = {};
|
|
241
|
-
$d1795c2b69d00f6c$exports =
|
|
266
|
+
$d1795c2b69d00f6c$exports = {
|
|
267
|
+
"invalidSelection": (args, formatter)=>`${formatter.plural(args.selectedCount, {
|
|
268
|
+
one: `Η επιλεγμένη ημερομηνία δεν είναι διαθέσιμη`,
|
|
269
|
+
other: `Οι επιλεγμένες ημερομηνίες δεν είναι διαθέσιμες`
|
|
270
|
+
})}.`
|
|
271
|
+
};
|
|
242
272
|
|
|
243
273
|
|
|
244
274
|
var $16d2015735d51a41$exports = {};
|
|
245
|
-
$16d2015735d51a41$exports =
|
|
275
|
+
$16d2015735d51a41$exports = {
|
|
276
|
+
"invalidSelection": (args, formatter)=>`Selected ${formatter.plural(args.selectedCount, {
|
|
277
|
+
one: `date`,
|
|
278
|
+
other: `dates`
|
|
279
|
+
})} unavailable.`
|
|
280
|
+
};
|
|
246
281
|
|
|
247
282
|
|
|
248
283
|
var $96cd1e101026681b$exports = {};
|
|
249
|
-
$96cd1e101026681b$exports =
|
|
284
|
+
$96cd1e101026681b$exports = {
|
|
285
|
+
"invalidSelection": (args, formatter)=>`${formatter.plural(args.selectedCount, {
|
|
286
|
+
one: `La fecha seleccionada no está disponible`,
|
|
287
|
+
other: `Las fechas seleccionadas no están disponibles`
|
|
288
|
+
})}.`
|
|
289
|
+
};
|
|
250
290
|
|
|
251
291
|
|
|
252
292
|
var $1133d3628ea10323$exports = {};
|
|
253
|
-
$1133d3628ea10323$exports =
|
|
293
|
+
$1133d3628ea10323$exports = {
|
|
294
|
+
"invalidSelection": (args, formatter)=>`Valitud ${formatter.plural(args.selectedCount, {
|
|
295
|
+
one: `kuupäev`,
|
|
296
|
+
other: `kuupäevad`
|
|
297
|
+
})} pole saadaval.`
|
|
298
|
+
};
|
|
254
299
|
|
|
255
300
|
|
|
256
301
|
var $53163229660d53e4$exports = {};
|
|
257
|
-
$53163229660d53e4$exports =
|
|
302
|
+
$53163229660d53e4$exports = {
|
|
303
|
+
"invalidSelection": (args, formatter)=>`${formatter.plural(args.selectedCount, {
|
|
304
|
+
one: `Valittu päivämäärä ei ole`,
|
|
305
|
+
other: `Valitut päivämäärät eivät ole`
|
|
306
|
+
})} saatavilla.`
|
|
307
|
+
};
|
|
258
308
|
|
|
259
309
|
|
|
260
310
|
var $d0808f7b535fb9b6$exports = {};
|
|
261
|
-
$d0808f7b535fb9b6$exports =
|
|
311
|
+
$d0808f7b535fb9b6$exports = {
|
|
312
|
+
"invalidSelection": (args, formatter)=>`${formatter.plural(args.selectedCount, {
|
|
313
|
+
one: `La date sélectionnée est indisponible`,
|
|
314
|
+
other: `Les dates sélectionnées sont indisponibles`
|
|
315
|
+
})}.`
|
|
316
|
+
};
|
|
262
317
|
|
|
263
318
|
|
|
264
319
|
var $658f594fbca84b9b$exports = {};
|
|
265
|
-
$658f594fbca84b9b$exports =
|
|
320
|
+
$658f594fbca84b9b$exports = {
|
|
321
|
+
"invalidSelection": (args, formatter)=>`נבחר ${formatter.plural(args.selectedCount, {
|
|
322
|
+
one: `תאריך`,
|
|
323
|
+
other: `תאריכים`
|
|
324
|
+
})} אינו זמין.`
|
|
325
|
+
};
|
|
266
326
|
|
|
267
327
|
|
|
268
328
|
var $0b62e8a6414bc20c$exports = {};
|
|
269
|
-
$0b62e8a6414bc20c$exports =
|
|
329
|
+
$0b62e8a6414bc20c$exports = {
|
|
330
|
+
"invalidSelection": (args, formatter)=>`${formatter.plural(args.selectedCount, {
|
|
331
|
+
one: `Odabrani datum nije dostupan`,
|
|
332
|
+
other: `Odabrani datumi nisu dostupni`
|
|
333
|
+
})}.`
|
|
334
|
+
};
|
|
270
335
|
|
|
271
336
|
|
|
272
337
|
var $132d1b97de231314$exports = {};
|
|
273
|
-
$132d1b97de231314$exports =
|
|
338
|
+
$132d1b97de231314$exports = {
|
|
339
|
+
"invalidSelection": (args, formatter)=>`A kijelölt ${formatter.plural(args.selectedCount, {
|
|
340
|
+
one: `dátum nem érhető el`,
|
|
341
|
+
other: `dátumok nem érhetőek el`
|
|
342
|
+
})}.`
|
|
343
|
+
};
|
|
274
344
|
|
|
275
345
|
|
|
276
346
|
var $5653a55498966c6c$exports = {};
|
|
277
|
-
$5653a55498966c6c$exports =
|
|
347
|
+
$5653a55498966c6c$exports = {
|
|
348
|
+
"invalidSelection": (args, formatter)=>`${formatter.plural(args.selectedCount, {
|
|
349
|
+
one: `Data selezionata non disponibile`,
|
|
350
|
+
other: `Date selezionate non disponibili`
|
|
351
|
+
})}.`
|
|
352
|
+
};
|
|
278
353
|
|
|
279
354
|
|
|
280
355
|
var $243f99057b9b0af0$exports = {};
|
|
281
|
-
$243f99057b9b0af0$exports =
|
|
356
|
+
$243f99057b9b0af0$exports = {
|
|
357
|
+
"invalidSelection": (args, formatter)=>`選択した${formatter.plural(args.selectedCount, {
|
|
358
|
+
one: `日付`,
|
|
359
|
+
other: `日付`
|
|
360
|
+
})}は使用できません。`
|
|
361
|
+
};
|
|
282
362
|
|
|
283
363
|
|
|
284
364
|
var $9dbe802a4c1b47ed$exports = {};
|
|
285
|
-
$9dbe802a4c1b47ed$exports =
|
|
365
|
+
$9dbe802a4c1b47ed$exports = {
|
|
366
|
+
"invalidSelection": (args, formatter)=>`선택한 ${formatter.plural(args.selectedCount, {
|
|
367
|
+
one: `일자를`,
|
|
368
|
+
other: `일자를`
|
|
369
|
+
})} 사용할 수 없습니다.`
|
|
370
|
+
};
|
|
286
371
|
|
|
287
372
|
|
|
288
373
|
var $ed6bec4d46a5be1b$exports = {};
|
|
289
|
-
$ed6bec4d46a5be1b$exports =
|
|
374
|
+
$ed6bec4d46a5be1b$exports = {
|
|
375
|
+
"invalidSelection": (args, formatter)=>`${formatter.plural(args.selectedCount, {
|
|
376
|
+
one: `Datos`,
|
|
377
|
+
other: `Datų`
|
|
378
|
+
})} pasirinkimas negalimas.`
|
|
379
|
+
};
|
|
290
380
|
|
|
291
381
|
|
|
292
382
|
var $e203254b4140c831$exports = {};
|
|
293
|
-
$e203254b4140c831$exports =
|
|
383
|
+
$e203254b4140c831$exports = {
|
|
384
|
+
"invalidSelection": (args, formatter)=>`Atlasītais(-ie) ${formatter.plural(args.selectedCount, {
|
|
385
|
+
one: `date`,
|
|
386
|
+
other: `dates`
|
|
387
|
+
})} nav pieejams(-i).`
|
|
388
|
+
};
|
|
294
389
|
|
|
295
390
|
|
|
296
391
|
var $87004dc1feacb708$exports = {};
|
|
297
|
-
$87004dc1feacb708$exports =
|
|
392
|
+
$87004dc1feacb708$exports = {
|
|
393
|
+
"invalidSelection": (args, formatter)=>`Valgt(e) ${formatter.plural(args.selectedCount, {
|
|
394
|
+
one: `dato`,
|
|
395
|
+
other: `datoer`
|
|
396
|
+
})} er utilgjengelig.`
|
|
397
|
+
};
|
|
298
398
|
|
|
299
399
|
|
|
300
400
|
var $fd392c0c0b12ff84$exports = {};
|
|
301
|
-
$fd392c0c0b12ff84$exports =
|
|
401
|
+
$fd392c0c0b12ff84$exports = {
|
|
402
|
+
"invalidSelection": (args, formatter)=>`Geselecteerde ${formatter.plural(args.selectedCount, {
|
|
403
|
+
one: `datum`,
|
|
404
|
+
other: `datums`
|
|
405
|
+
})} niet beschikbaar.`
|
|
406
|
+
};
|
|
302
407
|
|
|
303
408
|
|
|
304
409
|
var $02f96c467435edbf$exports = {};
|
|
305
|
-
$02f96c467435edbf$exports =
|
|
410
|
+
$02f96c467435edbf$exports = {
|
|
411
|
+
"invalidSelection": (args, formatter)=>`${formatter.plural(args.selectedCount, {
|
|
412
|
+
one: `Wybrana data jest niedostępna`,
|
|
413
|
+
other: `Wybrane daty są niedostępne`
|
|
414
|
+
})}.`
|
|
415
|
+
};
|
|
306
416
|
|
|
307
417
|
|
|
308
418
|
var $a516ff2265dc1cde$exports = {};
|
|
309
|
-
$a516ff2265dc1cde$exports =
|
|
419
|
+
$a516ff2265dc1cde$exports = {
|
|
420
|
+
"invalidSelection": (args, formatter)=>`${formatter.plural(args.selectedCount, {
|
|
421
|
+
one: `Data`,
|
|
422
|
+
other: `Datas`
|
|
423
|
+
})} selecionada(s) indisponível(is).`
|
|
424
|
+
};
|
|
310
425
|
|
|
311
426
|
|
|
312
427
|
var $2a8fe7dc6b71b8d6$exports = {};
|
|
313
|
-
$2a8fe7dc6b71b8d6$exports =
|
|
428
|
+
$2a8fe7dc6b71b8d6$exports = {
|
|
429
|
+
"invalidSelection": (args, formatter)=>`A(s) ${formatter.plural(args.selectedCount, {
|
|
430
|
+
one: `data`,
|
|
431
|
+
other: `datas`
|
|
432
|
+
})} selecionada(s) não está(ão) disponível/disponível(eis).`
|
|
433
|
+
};
|
|
314
434
|
|
|
315
435
|
|
|
316
436
|
var $459c636d0d282e8f$exports = {};
|
|
317
|
-
$459c636d0d282e8f$exports =
|
|
437
|
+
$459c636d0d282e8f$exports = {
|
|
438
|
+
"invalidSelection": (args, formatter)=>`${formatter.plural(args.selectedCount, {
|
|
439
|
+
one: `Data selectată nu este disponibilă`,
|
|
440
|
+
other: `Datele selectate nu sunt disponibile`
|
|
441
|
+
})}.`
|
|
442
|
+
};
|
|
318
443
|
|
|
319
444
|
|
|
320
445
|
var $d49b96bc4e237385$exports = {};
|
|
321
|
-
$d49b96bc4e237385$exports =
|
|
446
|
+
$d49b96bc4e237385$exports = {
|
|
447
|
+
"invalidSelection": (args, formatter)=>`Выбранные ${formatter.plural(args.selectedCount, {
|
|
448
|
+
one: `дата`,
|
|
449
|
+
other: `даты`
|
|
450
|
+
})} недоступны.`
|
|
451
|
+
};
|
|
322
452
|
|
|
323
453
|
|
|
324
454
|
var $14f44f430d85943b$exports = {};
|
|
325
|
-
$14f44f430d85943b$exports =
|
|
455
|
+
$14f44f430d85943b$exports = {
|
|
456
|
+
"invalidSelection": (args, formatter)=>`${formatter.plural(args.selectedCount, {
|
|
457
|
+
one: `Vybratý dátum`,
|
|
458
|
+
other: `Vybraté dátumy`
|
|
459
|
+
})}: nedostupné.`
|
|
460
|
+
};
|
|
326
461
|
|
|
327
462
|
|
|
328
463
|
var $ced45866328d3850$exports = {};
|
|
329
|
-
$ced45866328d3850$exports =
|
|
464
|
+
$ced45866328d3850$exports = {
|
|
465
|
+
"invalidSelection": (args, formatter)=>`Izbrano ${formatter.plural(args.selectedCount, {
|
|
466
|
+
one: `date`,
|
|
467
|
+
other: `dates`
|
|
468
|
+
})} ni na voljo.`
|
|
469
|
+
};
|
|
330
470
|
|
|
331
471
|
|
|
332
472
|
var $46417484d64689f8$exports = {};
|
|
333
|
-
$46417484d64689f8$exports =
|
|
473
|
+
$46417484d64689f8$exports = {
|
|
474
|
+
"invalidSelection": (args, formatter)=>`Izabrani ${formatter.plural(args.selectedCount, {
|
|
475
|
+
one: `date`,
|
|
476
|
+
other: `dates`
|
|
477
|
+
})} nije dostupan.`
|
|
478
|
+
};
|
|
334
479
|
|
|
335
480
|
|
|
336
481
|
var $9d8ccb39096f4575$exports = {};
|
|
337
|
-
$9d8ccb39096f4575$exports =
|
|
482
|
+
$9d8ccb39096f4575$exports = {
|
|
483
|
+
"invalidSelection": (args, formatter)=>`${formatter.plural(args.selectedCount, {
|
|
484
|
+
one: `Valt datum är inte tillgängligt.`,
|
|
485
|
+
other: `Valda datum är inte tillgängliga.`
|
|
486
|
+
})}`
|
|
487
|
+
};
|
|
338
488
|
|
|
339
489
|
|
|
340
490
|
var $8e9c1a10ed1cc18a$exports = {};
|
|
341
|
-
$8e9c1a10ed1cc18a$exports =
|
|
491
|
+
$8e9c1a10ed1cc18a$exports = {
|
|
492
|
+
"invalidSelection": (args, formatter)=>`Seçilen ${formatter.plural(args.selectedCount, {
|
|
493
|
+
one: `tarih`,
|
|
494
|
+
other: `tarihler`
|
|
495
|
+
})} müsait değil.`
|
|
496
|
+
};
|
|
342
497
|
|
|
343
498
|
|
|
344
499
|
var $84c3bf1d3eaf1f59$exports = {};
|
|
345
|
-
$84c3bf1d3eaf1f59$exports =
|
|
500
|
+
$84c3bf1d3eaf1f59$exports = {
|
|
501
|
+
"invalidSelection": (args, formatter)=>`${formatter.plural(args.selectedCount, {
|
|
502
|
+
one: `Вибрана дата недоступна`,
|
|
503
|
+
other: `Вибрані дати недоступні`
|
|
504
|
+
})}.`
|
|
505
|
+
};
|
|
346
506
|
|
|
347
507
|
|
|
348
508
|
var $0212afd59952ac06$exports = {};
|
|
349
|
-
$0212afd59952ac06$exports =
|
|
509
|
+
$0212afd59952ac06$exports = {
|
|
510
|
+
"invalidSelection": (args, formatter)=>`选定的 ${formatter.plural(args.selectedCount, {
|
|
511
|
+
one: `个日期`,
|
|
512
|
+
other: `个日期`
|
|
513
|
+
})} 不可用。`
|
|
514
|
+
};
|
|
350
515
|
|
|
351
516
|
|
|
352
517
|
var $87077630a4e30349$exports = {};
|
|
353
|
-
$87077630a4e30349$exports =
|
|
518
|
+
$87077630a4e30349$exports = {
|
|
519
|
+
"invalidSelection": (args, formatter)=>`所選的${formatter.plural(args.selectedCount, {
|
|
520
|
+
one: `日期`,
|
|
521
|
+
other: `日期`
|
|
522
|
+
})}無法使用。`
|
|
523
|
+
};
|
|
354
524
|
|
|
355
525
|
|
|
356
526
|
$e0a80792abac0d48$exports = {
|
|
@@ -398,7 +568,7 @@ $e0a80792abac0d48$exports = {
|
|
|
398
568
|
function $62cd1e80f0dffb66$export$bfd52a43017368fe(props) {
|
|
399
569
|
let { state: state , calendarProps: calendarProps , nextButtonProps: nextButtonProps , prevButtonProps: prevButtonProps , errorMessageProps: errorMessageProps , calendarRef: ref , visibleMonths: visibleMonths = 1 } = props;
|
|
400
570
|
let { styleProps: styleProps } = $40VnT$useStyleProps(props);
|
|
401
|
-
let
|
|
571
|
+
let stringFormatter = $40VnT$useLocalizedStringFormatter((/*@__PURE__*/$parcel$interopDefault($e0a80792abac0d48$exports)));
|
|
402
572
|
let { direction: direction } = $40VnT$useLocale();
|
|
403
573
|
let currentMonth = state.visibleRange.start;
|
|
404
574
|
let monthDateFormatter = $40VnT$useDateFormatter({
|
|
@@ -456,7 +626,7 @@ function $62cd1e80f0dffb66$export$bfd52a43017368fe(props) {
|
|
|
456
626
|
tabIndex: -1
|
|
457
627
|
})), state.validationState === 'invalid' && /*#__PURE__*/ $40VnT$react.createElement($40VnT$HelpText, {
|
|
458
628
|
showErrorIcon: true,
|
|
459
|
-
errorMessage: props.errorMessage ||
|
|
629
|
+
errorMessage: props.errorMessage || stringFormatter.format('invalidSelection', {
|
|
460
630
|
selectedCount: 'highlightedRange' in state ? 2 : 1
|
|
461
631
|
}),
|
|
462
632
|
errorMessageProps: errorMessageProps,
|
package/dist/module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AKAA,GAAmC;AACnC,GAA2C;AAC3C,GAA0C;AAC1C,GAA+C;AAC/C,GAAyC;AACzC,GAA6C;AAC7C,GAA6C;AAC7C,GAA0C;AAC1C,GAA6C;AAC7C,GAAwC;AACxC,GAAyC;AACzC,GAA6C;AAC7C,GAAwC;AACxC,GAA4C;AAC5C,GAA6B;AAC7B,GAAgC;AAChC,GAAiC;AACjC,GAA4B;AAC5B,GAAoC;AACpC,GAAgC;AAChC,GAAoC;AACpC,GAA8B;AAC9B,GAAkC;AAClC,GAA4B;AAC5B,GAA0B;AAC1B,GAA6B;AAC7B,GAA4B;AAC5B,GAA4B;AA3B5B,yCAAmC,GAAG,CAA0B;AAChE,yCAA2C,GAAG,CAAkC;AAChF,yCAA0C,GAAG,CAAiC;AAC9E,yCAA+C,GAAG,CAAsC;AACxF,yCAAyC,GAAG,CAAgC;AAC5E,yCAA6C,GAAG,CAAoC;AACpF,yCAA6C,GAAG,CAAoC;AACpF,yCAA0C,GAAG,CAAiC;AAC9E,yCAA6C,GAAG,CAAoC;AACpF,yCAAwC,GAAG,CAA+B;AAC1E,yCAAyC,GAAG,CAAgC;AAC5E,yCAA6C,GAAG,CAAoC;AACpF,yCAAw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9B,GAAG,CAAC,CAAC,gBAAA,aAAa,GAAG,CAAC,EAAA,CAAC,GAAG,KAAK;IAC/B,GAAG,CAAC,eAAe,GAAG,cAAO,MAAQ,CAAC;YAAA,MAAM,EAAE,aAAa;QAAA,CAAC;MAAG,CAAC;QAAA,aAAa;IAAA,CAAC;IAC9E,GAAG,CAAC,CAAC,SAAA,MAAM,EAAA,CAAC,GAAG,gBAAS;IACxB,GAAG,CAAC,KAAK,GAAG,4BAAqB,CAAC,CAAC;WAC9B,KAAK;gBACR,MAAM;yBACN,eAAe;wBACf,qBAAc;IAChB,CAAC;IAED,GAAG,CAAC,MAAM,GAAG,aAAM;IACnB,0BAAmB,CAAC,GAAG,OAAS,CAAC;eAC5B,mBAAY,CAAC,MAAM;YACtB,KAAK,IAAG,CAAC;gBACP,KAAK,CAAC,UAAU,CAAC,IAAI;YACvB,CAAC;QACH,CAAC;;IAED,GAAG,CAAC,CAAC,gBAAA,aAAa,oBAAE,eAAe,oBAAE,eAAe,sBAAE,iBAAiB,EAAA,CAAC,GAAG,uBAAgB,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM;IAEhH,MAAM,0CACH,yCAAY;WACP,KAAK;QACT,KAAK,EAAE,KAAK;QACZ,WAAW,EAAE,MAAM;QACnB,aAAa,EAAE,aAAa;QAC5B,eAAe,EAAE,eAAe;QAChC,eAAe,EAAE,eAAe;QAChC,iBAAiB,EAAE,iBAAiB;;AAE1C,CAAC;AAED,EAEG,AAFH;;CAEG,AAFH,EAEG,CACH,KAAK,CAAC,yCAAc,iBAAG,YAAK,CAAC,UAAU,CAAC,mCAAa;;","sources":["packages/@react-spectrum/calendar/src/index.ts","packages/@react-spectrum/calendar/src/Calendar.tsx","packages/@react-spectrum/calendar/src/CalendarBase.tsx","packages/@react-spectrum/calendar/src/CalendarMonth.tsx","packages/@react-spectrum/calendar/src/CalendarCell.tsx","packages/@adobe/spectrum-css-temp/components/calendar/vars.css","packages/@react-spectrum/calendar/intl/*.js","packages/@react-spectrum/calendar/intl/ar-AE.json","packages/@react-spectrum/calendar/intl/bg-BG.json","packages/@react-spectrum/calendar/intl/cs-CZ.json","packages/@react-spectrum/calendar/intl/da-DK.json","packages/@react-spectrum/calendar/intl/de-DE.json","packages/@react-spectrum/calendar/intl/el-GR.json","packages/@react-spectrum/calendar/intl/en-US.json","packages/@react-spectrum/calendar/intl/es-ES.json","packages/@react-spectrum/calendar/intl/et-EE.json","packages/@react-spectrum/calendar/intl/fi-FI.json","packages/@react-spectrum/calendar/intl/fr-FR.json","packages/@react-spectrum/calendar/intl/he-IL.json","packages/@react-spectrum/calendar/intl/hr-HR.json","packages/@react-spectrum/calendar/intl/hu-HU.json","packages/@react-spectrum/calendar/intl/it-IT.json","packages/@react-spectrum/calendar/intl/ja-JP.json","packages/@react-spectrum/calendar/intl/ko-KR.json","packages/@react-spectrum/calendar/intl/lt-LT.json","packages/@react-spectrum/calendar/intl/lv-LV.json","packages/@react-spectrum/calendar/intl/nb-NO.json","packages/@react-spectrum/calendar/intl/nl-NL.json","packages/@react-spectrum/calendar/intl/pl-PL.json","packages/@react-spectrum/calendar/intl/pt-BR.json","packages/@react-spectrum/calendar/intl/pt-PT.json","packages/@react-spectrum/calendar/intl/ro-RO.json","packages/@react-spectrum/calendar/intl/ru-RU.json","packages/@react-spectrum/calendar/intl/sk-SK.json","packages/@react-spectrum/calendar/intl/sl-SI.json","packages/@react-spectrum/calendar/intl/sr-SP.json","packages/@react-spectrum/calendar/intl/sv-SE.json","packages/@react-spectrum/calendar/intl/tr-TR.json","packages/@react-spectrum/calendar/intl/uk-UA.json","packages/@react-spectrum/calendar/intl/zh-CN.json","packages/@react-spectrum/calendar/intl/zh-TW.json","packages/@react-spectrum/calendar/src/RangeCalendar.tsx"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {Calendar} from './Calendar';\nexport {RangeCalendar} from './RangeCalendar';\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {CalendarBase} from './CalendarBase';\nimport {createCalendar} from '@internationalized/date';\nimport {createDOMRef} from '@react-spectrum/utils';\nimport {DateValue, SpectrumCalendarProps} from '@react-types/calendar';\nimport {FocusableRef} from '@react-types/shared';\nimport React, {ReactElement, useImperativeHandle, useMemo, useRef} from 'react';\nimport {useCalendar} from '@react-aria/calendar';\nimport {useCalendarState} from '@react-stately/calendar';\nimport {useLocale} from '@react-aria/i18n';\nimport {useProviderProps} from '@react-spectrum/provider';\n\nfunction Calendar<T extends DateValue>(props: SpectrumCalendarProps<T>, ref: FocusableRef<HTMLElement>) {\n props = useProviderProps(props);\n let {visibleMonths = 1} = props;\n let visibleDuration = useMemo(() => ({months: visibleMonths}), [visibleMonths]);\n let {locale} = useLocale();\n let state = useCalendarState({\n ...props,\n locale,\n visibleDuration,\n createCalendar\n });\n\n let domRef = useRef();\n useImperativeHandle(ref, () => ({\n ...createDOMRef(domRef),\n focus() {\n state.setFocused(true);\n }\n }));\n\n let {calendarProps, prevButtonProps, nextButtonProps, errorMessageProps} = useCalendar(props, state);\n\n return (\n <CalendarBase\n {...props}\n state={state}\n calendarRef={domRef}\n calendarProps={calendarProps}\n prevButtonProps={prevButtonProps}\n nextButtonProps={nextButtonProps}\n errorMessageProps={errorMessageProps} />\n );\n}\n\n/**\n * Calendars display a grid of days in one or more months and allow users to select a single date.\n */\nconst _Calendar = React.forwardRef(Calendar) as <T extends DateValue>(props: SpectrumCalendarProps<T> & {ref?: FocusableRef<HTMLElement>}) => ReactElement;\nexport {_Calendar as Calendar};\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {ActionButton} from '@react-spectrum/button';\nimport {AriaButtonProps} from '@react-types/button';\nimport {CalendarMonth} from './CalendarMonth';\nimport {CalendarPropsBase} from '@react-types/calendar';\nimport {CalendarState, RangeCalendarState} from '@react-stately/calendar';\nimport ChevronLeft from '@spectrum-icons/ui/ChevronLeftLarge';\nimport ChevronRight from '@spectrum-icons/ui/ChevronRightLarge';\nimport {classNames, useStyleProps} from '@react-spectrum/utils';\nimport {DOMProps, StyleProps} from '@react-types/shared';\nimport {HelpText} from '@react-spectrum/label';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport React, {HTMLAttributes, RefObject} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/calendar/vars.css';\nimport {useDateFormatter, useLocale, useMessageFormatter} from '@react-aria/i18n';\nimport {VisuallyHidden} from '@react-aria/visually-hidden';\n\ninterface CalendarBaseProps<T extends CalendarState | RangeCalendarState> extends CalendarPropsBase, DOMProps, StyleProps {\n state: T,\n visibleMonths?: number,\n calendarProps: HTMLAttributes<HTMLElement>,\n nextButtonProps: AriaButtonProps,\n prevButtonProps: AriaButtonProps,\n errorMessageProps: HTMLAttributes<HTMLElement>,\n calendarRef: RefObject<HTMLDivElement>\n}\n\nexport function CalendarBase<T extends CalendarState | RangeCalendarState>(props: CalendarBaseProps<T>) {\n let {\n state,\n calendarProps,\n nextButtonProps,\n prevButtonProps,\n errorMessageProps,\n calendarRef: ref,\n visibleMonths = 1\n } = props;\n let {styleProps} = useStyleProps(props);\n let formatMessage = useMessageFormatter(intlMessages);\n let {direction} = useLocale();\n let currentMonth = state.visibleRange.start;\n let monthDateFormatter = useDateFormatter({\n month: 'long',\n year: 'numeric',\n era: currentMonth.calendar.identifier === 'gregory' && currentMonth.era === 'BC' ? 'short' : undefined,\n calendar: currentMonth.calendar.identifier,\n timeZone: state.timeZone\n });\n\n let titles = [];\n let calendars = [];\n for (let i = 0; i < visibleMonths; i++) {\n let d = currentMonth.add({months: i});\n titles.push(\n <div key={i} className={classNames(styles, 'spectrum-Calendar-monthHeader')}>\n {i === 0 &&\n <ActionButton\n {...prevButtonProps}\n UNSAFE_className={classNames(styles, 'spectrum-Calendar-prevMonth')}\n isQuiet>\n {direction === 'rtl' ? <ChevronRight /> : <ChevronLeft />}\n </ActionButton>\n }\n <h2\n // We have a visually hidden heading describing the entire visible range,\n // and the calendar itself describes the individual month\n // so we don't need to repeat that here for screen reader users.\n aria-hidden\n className={classNames(styles, 'spectrum-Calendar-title')}>\n {monthDateFormatter.format(d.toDate(state.timeZone))}\n </h2>\n {i === visibleMonths - 1 &&\n <ActionButton\n {...nextButtonProps}\n UNSAFE_className={classNames(styles, 'spectrum-Calendar-nextMonth')}\n isQuiet>\n {direction === 'rtl' ? <ChevronLeft /> : <ChevronRight />}\n </ActionButton>\n }\n </div>\n );\n\n calendars.push(\n <CalendarMonth\n {...props}\n key={i}\n state={state}\n startDate={d} />\n );\n }\n\n return (\n <div\n {...styleProps}\n {...calendarProps}\n ref={ref}\n className={\n classNames(styles,\n 'spectrum-Calendar',\n styleProps.className\n )\n }>\n {/* Add a screen reader only description of the entire visible range rather than\n * a separate heading above each month grid. This is placed first in the DOM order\n * so that it is the first thing a touch screen reader user encounters.\n * In addition, VoiceOver on iOS does not announce the aria-label of the grid\n * elements, so the aria-label of the Calendar is included here as well. */}\n <VisuallyHidden>\n <h2>{calendarProps['aria-label']}</h2>\n </VisuallyHidden>\n <div className={classNames(styles, 'spectrum-Calendar-header')}>\n {titles}\n </div>\n <div className={classNames(styles, 'spectrum-Calendar-months')}>\n {calendars}\n </div>\n {/* For touch screen readers, add a visually hidden next button after the month grid\n * so it's easy to navigate after reaching the end without going all the way\n * back to the start of the month. */}\n <VisuallyHidden>\n <button\n aria-label={nextButtonProps['aria-label']}\n disabled={nextButtonProps.isDisabled}\n onClick={() => state.focusNextPage()}\n tabIndex={-1} />\n </VisuallyHidden>\n {state.validationState === 'invalid' &&\n <HelpText\n showErrorIcon\n errorMessage={props.errorMessage || formatMessage('invalidSelection', {selectedCount: 'highlightedRange' in state ? 2 : 1})}\n errorMessageProps={errorMessageProps}\n validationState=\"invalid\"\n // Intentionally a global class name so it can be targeted in DatePicker CSS...\n UNSAFE_className=\"spectrum-Calendar-helpText\" />\n }\n </div>\n );\n}\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {CalendarCell} from './CalendarCell';\nimport {CalendarDate, endOfMonth, getWeeksInMonth} from '@internationalized/date';\nimport {CalendarPropsBase} from '@react-types/calendar';\nimport {CalendarState, RangeCalendarState} from '@react-stately/calendar';\nimport {classNames} from '@react-spectrum/utils';\nimport {DOMProps, StyleProps} from '@react-types/shared';\nimport React from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/calendar/vars.css';\nimport {useCalendarGrid} from '@react-aria/calendar';\nimport {useLocale} from '@react-aria/i18n';\n\ninterface CalendarMonthProps extends CalendarPropsBase, DOMProps, StyleProps {\n state: CalendarState | RangeCalendarState,\n startDate: CalendarDate\n}\n\nexport function CalendarMonth(props: CalendarMonthProps) {\n let {\n state,\n startDate\n } = props;\n let {\n gridProps,\n headerProps,\n weekDays\n } = useCalendarGrid({\n ...props,\n endDate: endOfMonth(startDate)\n }, state);\n\n let {locale} = useLocale();\n let weeksInMonth = getWeeksInMonth(startDate, locale);\n\n return (\n <table\n {...gridProps}\n className={classNames(styles, 'spectrum-Calendar-body', 'spectrum-Calendar-table')}>\n <thead {...headerProps}>\n <tr>\n {weekDays.map((day, index) => (\n <th\n key={index}\n className={classNames(styles, 'spectrum-Calendar-tableCell')}>\n <span className={classNames(styles, 'spectrum-Calendar-dayOfWeek')}>\n {day}\n </span>\n </th>\n ))}\n </tr>\n </thead>\n <tbody>\n {[...new Array(weeksInMonth).keys()].map(weekIndex => (\n <tr key={weekIndex}>\n {state.getDatesInWeek(weekIndex, startDate).map((date, i) => (\n date ? (\n <CalendarCell\n key={i}\n state={state}\n date={date}\n currentMonth={startDate} />\n ) : <td key={i} />\n ))}\n </tr>\n ))}\n </tbody>\n </table>\n );\n}\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaCalendarCellProps, useCalendarCell} from '@react-aria/calendar';\nimport {CalendarDate, getDayOfWeek, isSameDay, isSameMonth, isToday} from '@internationalized/date';\nimport {CalendarState, RangeCalendarState} from '@react-stately/calendar';\nimport {classNames} from '@react-spectrum/utils';\nimport {mergeProps} from '@react-aria/utils';\nimport React, {useRef} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/calendar/vars.css';\nimport {useFocusRing} from '@react-aria/focus';\nimport {useHover} from '@react-aria/interactions';\nimport {useLocale} from '@react-aria/i18n';\n\ninterface CalendarCellProps extends AriaCalendarCellProps {\n state: CalendarState | RangeCalendarState,\n currentMonth: CalendarDate\n}\n\nexport function CalendarCell({state, currentMonth, ...props}: CalendarCellProps) {\n let ref = useRef<HTMLElement>();\n let {\n cellProps,\n buttonProps,\n isPressed,\n isSelected,\n isDisabled,\n isFocused,\n isInvalid,\n formattedDate\n } = useCalendarCell({\n ...props,\n isDisabled: !isSameMonth(props.date, currentMonth)\n }, state, ref);\n let isUnavailable = state.isCellUnavailable(props.date) && !isDisabled;\n let isLastSelectedBeforeDisabled = !isDisabled && !isInvalid && state.isCellUnavailable(props.date.add({days: 1}));\n let isFirstSelectedAfterDisabled = !isDisabled && !isInvalid && state.isCellUnavailable(props.date.subtract({days: 1}));\n let highlightedRange = 'highlightedRange' in state && state.highlightedRange;\n let isSelectionStart = isSelected && highlightedRange && isSameDay(props.date, highlightedRange.start);\n let isSelectionEnd = isSelected && highlightedRange && isSameDay(props.date, highlightedRange.end);\n let {locale} = useLocale();\n let dayOfWeek = getDayOfWeek(props.date, locale);\n let isRangeStart = isSelected && (isFirstSelectedAfterDisabled || dayOfWeek === 0 || props.date.day === 1);\n let isRangeEnd = isSelected && (isLastSelectedBeforeDisabled || dayOfWeek === 6 || props.date.day === currentMonth.calendar.getDaysInMonth(currentMonth));\n let {focusProps, isFocusVisible} = useFocusRing();\n let {hoverProps, isHovered} = useHover({isDisabled: isDisabled || isUnavailable || state.isReadOnly});\n\n return (\n <td\n {...cellProps}\n className={classNames(styles, 'spectrum-Calendar-tableCell')}>\n <span\n {...mergeProps(buttonProps, hoverProps, focusProps)}\n ref={ref}\n className={classNames(styles, 'spectrum-Calendar-date', {\n 'is-today': isToday(props.date, state.timeZone),\n 'is-selected': isSelected,\n 'is-focused': isFocused && isFocusVisible,\n // Style disabled (i.e. out of min/max range), but selected dates as unavailable\n // since it is more clear than trying to dim the selection.\n 'is-disabled': isDisabled && !isInvalid,\n 'is-unavailable': isUnavailable || (isInvalid && isDisabled),\n 'is-outsideMonth': !isSameMonth(props.date, currentMonth),\n 'is-range-start': isRangeStart,\n 'is-range-end': isRangeEnd,\n 'is-range-selection': isSelected && 'highlightedRange' in state,\n 'is-selection-start': isSelectionStart,\n 'is-selection-end': isSelectionEnd,\n 'is-hovered': isHovered,\n 'is-pressed': isPressed && !state.isReadOnly,\n 'is-invalid': isInvalid\n })}>\n <span className={classNames(styles, 'spectrum-Calendar-dateText')}>\n <span>{formattedDate}</span>\n </span>\n </span>\n </td>\n );\n}\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n","const _temp0 = require(\"./ar-AE.json\");\nconst _temp1 = require(\"./bg-BG.json\");\nconst _temp2 = require(\"./cs-CZ.json\");\nconst _temp3 = require(\"./da-DK.json\");\nconst _temp4 = require(\"./de-DE.json\");\nconst _temp5 = require(\"./el-GR.json\");\nconst _temp6 = require(\"./en-US.json\");\nconst _temp7 = require(\"./es-ES.json\");\nconst _temp8 = require(\"./et-EE.json\");\nconst _temp9 = require(\"./fi-FI.json\");\nconst _temp10 = require(\"./fr-FR.json\");\nconst _temp11 = require(\"./he-IL.json\");\nconst _temp12 = require(\"./hr-HR.json\");\nconst _temp13 = require(\"./hu-HU.json\");\nconst _temp14 = require(\"./it-IT.json\");\nconst _temp15 = require(\"./ja-JP.json\");\nconst _temp16 = require(\"./ko-KR.json\");\nconst _temp17 = require(\"./lt-LT.json\");\nconst _temp18 = require(\"./lv-LV.json\");\nconst _temp19 = require(\"./nb-NO.json\");\nconst _temp20 = require(\"./nl-NL.json\");\nconst _temp21 = require(\"./pl-PL.json\");\nconst _temp22 = require(\"./pt-BR.json\");\nconst _temp23 = require(\"./pt-PT.json\");\nconst _temp24 = require(\"./ro-RO.json\");\nconst _temp25 = require(\"./ru-RU.json\");\nconst _temp26 = require(\"./sk-SK.json\");\nconst _temp27 = require(\"./sl-SI.json\");\nconst _temp28 = require(\"./sr-SP.json\");\nconst _temp29 = require(\"./sv-SE.json\");\nconst _temp30 = require(\"./tr-TR.json\");\nconst _temp31 = require(\"./uk-UA.json\");\nconst _temp32 = require(\"./zh-CN.json\");\nconst _temp33 = require(\"./zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","{\n \"invalidSelection\": \"{selectedCount, plural, one {التاريخ} other {التواريخ}} المحدد/المحددة غير متوفرة.\"\n}\n","{\n \"invalidSelection\": \"{selectedCount, plural, one {Избраната дата не е налична} other {Избраните дати не са налични}}.\"\n}\n","{\n \"invalidSelection\": \"{selectedCount, plural, one {Vybrané datum není} other {Vybraná data nejsou}} k dispozici.\"\n}\n","{\n \"invalidSelection\": \"Valgte {selectedCount, plural, one {dato} other {datoer}} ikke ledige.\"\n}\n","{\n \"invalidSelection\": \"Ausgewählte(s) {selectedCount, plural, one {Datum} other {Daten}} nicht verfügbar.\"\n}\n","{\n \"invalidSelection\": \"{selectedCount, plural, one {Η επιλεγμένη ημερομηνία δεν είναι διαθέσιμη} other {Οι επιλεγμένες ημερομηνίες δεν είναι διαθέσιμες}}.\"\n}\n","{\n \"invalidSelection\": \"Selected {selectedCount, plural, one {date} other {dates}} unavailable.\"\n}\n","{\n \"invalidSelection\": \"{selectedCount, plural, one {La fecha seleccionada no está disponible} other {Las fechas seleccionadas no están disponibles}}.\"\n}\n","{\n \"invalidSelection\": \"Valitud {selectedCount, plural, one {kuupäev} other {kuupäevad}} pole saadaval.\"\n}\n","{\n \"invalidSelection\": \"{selectedCount, plural, one {Valittu päivämäärä ei ole} other {Valitut päivämäärät eivät ole}} saatavilla.\"\n}\n","{\n \"invalidSelection\": \"{selectedCount, plural, one {La date sélectionnée est indisponible} other {Les dates sélectionnées sont indisponibles}}.\"\n}\n","{\n \"invalidSelection\": \"נבחר {selectedCount, plural, one {תאריך} other {תאריכים}} אינו זמין.\"\n}\n","{\n \"invalidSelection\": \"{selectedCount, plural, one {Odabrani datum nije dostupan} other {Odabrani datumi nisu dostupni}}.\"\n}\n","{\n \"invalidSelection\": \"A kijelölt {selectedCount, plural, one {dátum nem érhető el} other {dátumok nem érhetőek el}}.\"\n}\n","{\n \"invalidSelection\": \"{selectedCount, plural, one {Data selezionata non disponibile} other {Date selezionate non disponibili}}.\"\n}\n","{\n \"invalidSelection\": \"選択した{selectedCount, plural, one {日付} other {日付}}は使用できません。\"\n}\n","{\n \"invalidSelection\": \"선택한 {selectedCount, plural, one {일자를} other {일자를}} 사용할 수 없습니다.\"\n}\n","{\n \"invalidSelection\": \"{selectedCount, plural, one {Datos} other {Datų}} pasirinkimas negalimas.\"\n}\n","{\n \"invalidSelection\": \"Atlasītais(-ie) {selectedCount, plural, one {date} other {dates}} nav pieejams(-i).\"\n}\n","{\n \"invalidSelection\": \"Valgt(e) {selectedCount, plural, one {dato} other {datoer}} er utilgjengelig.\"\n}\n","{\n \"invalidSelection\": \"Geselecteerde {selectedCount, plural, one {datum} other {datums}} niet beschikbaar.\"\n}\n","{\n \"invalidSelection\": \"{selectedCount, plural, one {Wybrana data jest niedostępna} other {Wybrane daty są niedostępne}}.\"\n}\n","{\n \"invalidSelection\": \"{selectedCount, plural, one {Data} other {Datas}} selecionada(s) indisponível(is).\"\n}\n","{\n \"invalidSelection\": \"A(s) {selectedCount, plural, one {data} other {datas}} selecionada(s) não está(ão) disponível/disponível(eis).\"\n}\n","{\n \"invalidSelection\": \"{selectedCount, plural, one {Data selectată nu este disponibilă} other {Datele selectate nu sunt disponibile}}.\"\n}\n","{\n \"invalidSelection\": \"Выбранные {selectedCount, plural, one {дата} other {даты}} недоступны.\"\n}\n","{\n \"invalidSelection\": \"{selectedCount, plural, one {Vybratý dátum} other {Vybraté dátumy}}: nedostupné.\"\n}\n","{\n \"invalidSelection\": \"Izbrano {selectedCount, plural, one {date} other {dates}} ni na voljo.\"\n}\n","{\n \"invalidSelection\": \"Izabrani {selectedCount, plural, one {date} other {dates}} nije dostupan.\"\n}\n","{\n \"invalidSelection\": \"{selectedCount, plural, one {Valt datum är inte tillgängligt.} other {Valda datum är inte tillgängliga.}}\"\n}\n","{\n \"invalidSelection\": \"Seçilen {selectedCount, plural, one {tarih} other {tarihler}} müsait değil.\"\n}\n","{\n \"invalidSelection\": \"{selectedCount, plural, one {Вибрана дата недоступна} other {Вибрані дати недоступні}}.\"\n}\n","{\n \"invalidSelection\": \"选定的 {selectedCount, plural, one {个日期} other {个日期}} 不可用。\"\n}\n","{\n \"invalidSelection\": \"所選的{selectedCount, plural, one {日期} other {日期}}無法使用。\"\n}\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {CalendarBase} from './CalendarBase';\nimport {createCalendar} from '@internationalized/date';\nimport {createDOMRef} from '@react-spectrum/utils';\nimport {DateValue, SpectrumRangeCalendarProps} from '@react-types/calendar';\nimport {FocusableRef} from '@react-types/shared';\nimport React, {ReactElement, useImperativeHandle, useMemo, useRef} from 'react';\nimport {useLocale} from '@react-aria/i18n';\nimport {useProviderProps} from '@react-spectrum/provider';\nimport {useRangeCalendar} from '@react-aria/calendar';\nimport {useRangeCalendarState} from '@react-stately/calendar';\n\nfunction RangeCalendar<T extends DateValue>(props: SpectrumRangeCalendarProps<T>, ref: FocusableRef<HTMLElement>) {\n props = useProviderProps(props);\n let {visibleMonths = 1} = props;\n let visibleDuration = useMemo(() => ({months: visibleMonths}), [visibleMonths]);\n let {locale} = useLocale();\n let state = useRangeCalendarState({\n ...props,\n locale,\n visibleDuration,\n createCalendar\n });\n\n let domRef = useRef();\n useImperativeHandle(ref, () => ({\n ...createDOMRef(domRef),\n focus() {\n state.setFocused(true);\n }\n }));\n\n let {calendarProps, prevButtonProps, nextButtonProps, errorMessageProps} = useRangeCalendar(props, state, domRef);\n\n return (\n <CalendarBase\n {...props}\n state={state}\n calendarRef={domRef}\n calendarProps={calendarProps}\n prevButtonProps={prevButtonProps}\n nextButtonProps={nextButtonProps}\n errorMessageProps={errorMessageProps} />\n );\n}\n\n/**\n * RangeCalendars display a grid of days in one or more months and allow users to select a contiguous range of dates.\n */\nconst _RangeCalendar = React.forwardRef(RangeCalendar) as <T extends DateValue>(props: SpectrumRangeCalendarProps<T> & {ref?: FocusableRef<HTMLElement>}) => ReactElement;\nexport {_RangeCalendar as RangeCalendar};\n"],"names":[],"version":3,"file":"module.js.map"}
|
|
1
|
+
{"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AKAA,GAAmC;AACnC,GAA2C;AAC3C,GAA0C;AAC1C,GAA+C;AAC/C,GAAyC;AACzC,GAA6C;AAC7C,GAA6C;AAC7C,GAA0C;AAC1C,GAA6C;AAC7C,GAAwC;AACxC,GAAyC;AACzC,GAA6C;AAC7C,GAAwC;AACxC,GAA4C;AAC5C,GAA6B;AAC7B,GAAgC;AAChC,GAAiC;AACjC,GAA4B;AAC5B,GAAoC;AACpC,GAAgC;AAChC,GAAoC;AACpC,GAA8B;AAC9B,GAAkC;AAClC,GAA4B;AAC5B,GAA0B;AAC1B,GAA6B;AAC7B,GAA4B;AAC5B,GAA4B;AA3B5B,yCAAmC,GAAG,CAA0B;AAChE,yCAA2C,GAAG,CAAkC;AAChF,yCAA0C,GAAG,CAAiC;AAC9E,yCAA+C,GAAG,CAAsC;AACxF,yCAAyC,GAAG,CAAgC;AAC5E,yCAA6C,GAAG,CAAoC;AACpF,yCAA6C,GAAG,CAAoC;AACpF,yCAA0C,GAAG,CAAiC;AAC9E,yCAA6C,GAAG,CAAoC;AACpF,yCAAwC,GAAG,CAA+B;AAC1E,yCAAyC,GAAG,CAAgC;AAC5E,yCAA6C,GAAG,CAAoC;AACpF,yCAAwC,GAAG,CAA+B;AAC1E,yCAA4C,GAAG,CAAmC;AAClF,yCAA6B,GAAG,CAAoB;AACpD,yCAAgC,GAAG,CAAuB;AAC1D,yCAAiC,GAAG,CAAwB;AAC5D,yCAA4B,GAAG,CAAmB;AAClD,yCAAoC,GAAG,CAA2B;AAClE,yCAAgC,GAAG,CAAuB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AE,MAAM;IAEhH,MAAM,0CACH,yCAAY;WACP,KAAK;QACT,KAAK,EAAE,KAAK;QACZ,WAAW,EAAE,MAAM;QACnB,aAAa,EAAE,aAAa;QAC5B,eAAe,EAAE,eAAe;QAChC,eAAe,EAAE,eAAe;QAChC,iBAAiB,EAAE,iBAAiB;;AAE1C,CAAC;AAED,EAEG,AAFH;;CAEG,AAFH,EAEG,CACH,KAAK,CAAC,yCAAc,iBAAG,YAAK,CAAC,UAAU,CAAC,mCAAa;;","sources":["packages/@react-spectrum/calendar/src/index.ts","packages/@react-spectrum/calendar/src/Calendar.tsx","packages/@react-spectrum/calendar/src/CalendarBase.tsx","packages/@react-spectrum/calendar/src/CalendarMonth.tsx","packages/@react-spectrum/calendar/src/CalendarCell.tsx","packages/@adobe/spectrum-css-temp/components/calendar/vars.css","packages/@react-spectrum/calendar/intl/*.js","packages/@react-spectrum/calendar/intl/ar-AE.json","packages/@react-spectrum/calendar/intl/bg-BG.json","packages/@react-spectrum/calendar/intl/cs-CZ.json","packages/@react-spectrum/calendar/intl/da-DK.json","packages/@react-spectrum/calendar/intl/de-DE.json","packages/@react-spectrum/calendar/intl/el-GR.json","packages/@react-spectrum/calendar/intl/en-US.json","packages/@react-spectrum/calendar/intl/es-ES.json","packages/@react-spectrum/calendar/intl/et-EE.json","packages/@react-spectrum/calendar/intl/fi-FI.json","packages/@react-spectrum/calendar/intl/fr-FR.json","packages/@react-spectrum/calendar/intl/he-IL.json","packages/@react-spectrum/calendar/intl/hr-HR.json","packages/@react-spectrum/calendar/intl/hu-HU.json","packages/@react-spectrum/calendar/intl/it-IT.json","packages/@react-spectrum/calendar/intl/ja-JP.json","packages/@react-spectrum/calendar/intl/ko-KR.json","packages/@react-spectrum/calendar/intl/lt-LT.json","packages/@react-spectrum/calendar/intl/lv-LV.json","packages/@react-spectrum/calendar/intl/nb-NO.json","packages/@react-spectrum/calendar/intl/nl-NL.json","packages/@react-spectrum/calendar/intl/pl-PL.json","packages/@react-spectrum/calendar/intl/pt-BR.json","packages/@react-spectrum/calendar/intl/pt-PT.json","packages/@react-spectrum/calendar/intl/ro-RO.json","packages/@react-spectrum/calendar/intl/ru-RU.json","packages/@react-spectrum/calendar/intl/sk-SK.json","packages/@react-spectrum/calendar/intl/sl-SI.json","packages/@react-spectrum/calendar/intl/sr-SP.json","packages/@react-spectrum/calendar/intl/sv-SE.json","packages/@react-spectrum/calendar/intl/tr-TR.json","packages/@react-spectrum/calendar/intl/uk-UA.json","packages/@react-spectrum/calendar/intl/zh-CN.json","packages/@react-spectrum/calendar/intl/zh-TW.json","packages/@react-spectrum/calendar/src/RangeCalendar.tsx"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {Calendar} from './Calendar';\nexport {RangeCalendar} from './RangeCalendar';\nexport type {SpectrumCalendarProps, SpectrumRangeCalendarProps} from '@react-types/calendar';\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {CalendarBase} from './CalendarBase';\nimport {createCalendar} from '@internationalized/date';\nimport {createDOMRef} from '@react-spectrum/utils';\nimport {DateValue, SpectrumCalendarProps} from '@react-types/calendar';\nimport {FocusableRef} from '@react-types/shared';\nimport React, {ReactElement, useImperativeHandle, useMemo, useRef} from 'react';\nimport {useCalendar} from '@react-aria/calendar';\nimport {useCalendarState} from '@react-stately/calendar';\nimport {useLocale} from '@react-aria/i18n';\nimport {useProviderProps} from '@react-spectrum/provider';\n\nfunction Calendar<T extends DateValue>(props: SpectrumCalendarProps<T>, ref: FocusableRef<HTMLElement>) {\n props = useProviderProps(props);\n let {visibleMonths = 1} = props;\n let visibleDuration = useMemo(() => ({months: visibleMonths}), [visibleMonths]);\n let {locale} = useLocale();\n let state = useCalendarState({\n ...props,\n locale,\n visibleDuration,\n createCalendar\n });\n\n let domRef = useRef();\n useImperativeHandle(ref, () => ({\n ...createDOMRef(domRef),\n focus() {\n state.setFocused(true);\n }\n }));\n\n let {calendarProps, prevButtonProps, nextButtonProps, errorMessageProps} = useCalendar(props, state);\n\n return (\n <CalendarBase\n {...props}\n state={state}\n calendarRef={domRef}\n calendarProps={calendarProps}\n prevButtonProps={prevButtonProps}\n nextButtonProps={nextButtonProps}\n errorMessageProps={errorMessageProps} />\n );\n}\n\n/**\n * Calendars display a grid of days in one or more months and allow users to select a single date.\n */\nconst _Calendar = React.forwardRef(Calendar) as <T extends DateValue>(props: SpectrumCalendarProps<T> & {ref?: FocusableRef<HTMLElement>}) => ReactElement;\nexport {_Calendar as Calendar};\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {ActionButton} from '@react-spectrum/button';\nimport {AriaButtonProps} from '@react-types/button';\nimport {CalendarMonth} from './CalendarMonth';\nimport {CalendarPropsBase} from '@react-types/calendar';\nimport {CalendarState, RangeCalendarState} from '@react-stately/calendar';\nimport ChevronLeft from '@spectrum-icons/ui/ChevronLeftLarge';\nimport ChevronRight from '@spectrum-icons/ui/ChevronRightLarge';\nimport {classNames, useStyleProps} from '@react-spectrum/utils';\nimport {DOMProps, StyleProps} from '@react-types/shared';\nimport {HelpText} from '@react-spectrum/label';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport React, {HTMLAttributes, RefObject} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/calendar/vars.css';\nimport {useDateFormatter, useLocale, useLocalizedStringFormatter} from '@react-aria/i18n';\nimport {VisuallyHidden} from '@react-aria/visually-hidden';\n\ninterface CalendarBaseProps<T extends CalendarState | RangeCalendarState> extends CalendarPropsBase, DOMProps, StyleProps {\n state: T,\n visibleMonths?: number,\n calendarProps: HTMLAttributes<HTMLElement>,\n nextButtonProps: AriaButtonProps,\n prevButtonProps: AriaButtonProps,\n errorMessageProps: HTMLAttributes<HTMLElement>,\n calendarRef: RefObject<HTMLDivElement>\n}\n\nexport function CalendarBase<T extends CalendarState | RangeCalendarState>(props: CalendarBaseProps<T>) {\n let {\n state,\n calendarProps,\n nextButtonProps,\n prevButtonProps,\n errorMessageProps,\n calendarRef: ref,\n visibleMonths = 1\n } = props;\n let {styleProps} = useStyleProps(props);\n let stringFormatter = useLocalizedStringFormatter(intlMessages);\n let {direction} = useLocale();\n let currentMonth = state.visibleRange.start;\n let monthDateFormatter = useDateFormatter({\n month: 'long',\n year: 'numeric',\n era: currentMonth.calendar.identifier === 'gregory' && currentMonth.era === 'BC' ? 'short' : undefined,\n calendar: currentMonth.calendar.identifier,\n timeZone: state.timeZone\n });\n\n let titles = [];\n let calendars = [];\n for (let i = 0; i < visibleMonths; i++) {\n let d = currentMonth.add({months: i});\n titles.push(\n <div key={i} className={classNames(styles, 'spectrum-Calendar-monthHeader')}>\n {i === 0 &&\n <ActionButton\n {...prevButtonProps}\n UNSAFE_className={classNames(styles, 'spectrum-Calendar-prevMonth')}\n isQuiet>\n {direction === 'rtl' ? <ChevronRight /> : <ChevronLeft />}\n </ActionButton>\n }\n <h2\n // We have a visually hidden heading describing the entire visible range,\n // and the calendar itself describes the individual month\n // so we don't need to repeat that here for screen reader users.\n aria-hidden\n className={classNames(styles, 'spectrum-Calendar-title')}>\n {monthDateFormatter.format(d.toDate(state.timeZone))}\n </h2>\n {i === visibleMonths - 1 &&\n <ActionButton\n {...nextButtonProps}\n UNSAFE_className={classNames(styles, 'spectrum-Calendar-nextMonth')}\n isQuiet>\n {direction === 'rtl' ? <ChevronLeft /> : <ChevronRight />}\n </ActionButton>\n }\n </div>\n );\n\n calendars.push(\n <CalendarMonth\n {...props}\n key={i}\n state={state}\n startDate={d} />\n );\n }\n\n return (\n <div\n {...styleProps}\n {...calendarProps}\n ref={ref}\n className={\n classNames(styles,\n 'spectrum-Calendar',\n styleProps.className\n )\n }>\n {/* Add a screen reader only description of the entire visible range rather than\n * a separate heading above each month grid. This is placed first in the DOM order\n * so that it is the first thing a touch screen reader user encounters.\n * In addition, VoiceOver on iOS does not announce the aria-label of the grid\n * elements, so the aria-label of the Calendar is included here as well. */}\n <VisuallyHidden>\n <h2>{calendarProps['aria-label']}</h2>\n </VisuallyHidden>\n <div className={classNames(styles, 'spectrum-Calendar-header')}>\n {titles}\n </div>\n <div className={classNames(styles, 'spectrum-Calendar-months')}>\n {calendars}\n </div>\n {/* For touch screen readers, add a visually hidden next button after the month grid\n * so it's easy to navigate after reaching the end without going all the way\n * back to the start of the month. */}\n <VisuallyHidden>\n <button\n aria-label={nextButtonProps['aria-label']}\n disabled={nextButtonProps.isDisabled}\n onClick={() => state.focusNextPage()}\n tabIndex={-1} />\n </VisuallyHidden>\n {state.validationState === 'invalid' &&\n <HelpText\n showErrorIcon\n errorMessage={props.errorMessage || stringFormatter.format('invalidSelection', {selectedCount: 'highlightedRange' in state ? 2 : 1})}\n errorMessageProps={errorMessageProps}\n validationState=\"invalid\"\n // Intentionally a global class name so it can be targeted in DatePicker CSS...\n UNSAFE_className=\"spectrum-Calendar-helpText\" />\n }\n </div>\n );\n}\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {CalendarCell} from './CalendarCell';\nimport {CalendarDate, endOfMonth, getWeeksInMonth} from '@internationalized/date';\nimport {CalendarPropsBase} from '@react-types/calendar';\nimport {CalendarState, RangeCalendarState} from '@react-stately/calendar';\nimport {classNames} from '@react-spectrum/utils';\nimport {DOMProps, StyleProps} from '@react-types/shared';\nimport React from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/calendar/vars.css';\nimport {useCalendarGrid} from '@react-aria/calendar';\nimport {useLocale} from '@react-aria/i18n';\n\ninterface CalendarMonthProps extends CalendarPropsBase, DOMProps, StyleProps {\n state: CalendarState | RangeCalendarState,\n startDate: CalendarDate\n}\n\nexport function CalendarMonth(props: CalendarMonthProps) {\n let {\n state,\n startDate\n } = props;\n let {\n gridProps,\n headerProps,\n weekDays\n } = useCalendarGrid({\n ...props,\n endDate: endOfMonth(startDate)\n }, state);\n\n let {locale} = useLocale();\n let weeksInMonth = getWeeksInMonth(startDate, locale);\n\n return (\n <table\n {...gridProps}\n className={classNames(styles, 'spectrum-Calendar-body', 'spectrum-Calendar-table')}>\n <thead {...headerProps}>\n <tr>\n {weekDays.map((day, index) => (\n <th\n key={index}\n className={classNames(styles, 'spectrum-Calendar-tableCell')}>\n <span className={classNames(styles, 'spectrum-Calendar-dayOfWeek')}>\n {day}\n </span>\n </th>\n ))}\n </tr>\n </thead>\n <tbody>\n {[...new Array(weeksInMonth).keys()].map(weekIndex => (\n <tr key={weekIndex}>\n {state.getDatesInWeek(weekIndex, startDate).map((date, i) => (\n date ? (\n <CalendarCell\n key={i}\n state={state}\n date={date}\n currentMonth={startDate} />\n ) : <td key={i} />\n ))}\n </tr>\n ))}\n </tbody>\n </table>\n );\n}\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaCalendarCellProps, useCalendarCell} from '@react-aria/calendar';\nimport {CalendarDate, getDayOfWeek, isSameDay, isSameMonth, isToday} from '@internationalized/date';\nimport {CalendarState, RangeCalendarState} from '@react-stately/calendar';\nimport {classNames} from '@react-spectrum/utils';\nimport {mergeProps} from '@react-aria/utils';\nimport React, {useRef} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/calendar/vars.css';\nimport {useFocusRing} from '@react-aria/focus';\nimport {useHover} from '@react-aria/interactions';\nimport {useLocale} from '@react-aria/i18n';\n\ninterface CalendarCellProps extends AriaCalendarCellProps {\n state: CalendarState | RangeCalendarState,\n currentMonth: CalendarDate\n}\n\nexport function CalendarCell({state, currentMonth, ...props}: CalendarCellProps) {\n let ref = useRef<HTMLElement>();\n let {\n cellProps,\n buttonProps,\n isPressed,\n isSelected,\n isDisabled,\n isFocused,\n isInvalid,\n formattedDate\n } = useCalendarCell({\n ...props,\n isDisabled: !isSameMonth(props.date, currentMonth)\n }, state, ref);\n let isUnavailable = state.isCellUnavailable(props.date) && !isDisabled;\n let isLastSelectedBeforeDisabled = !isDisabled && !isInvalid && state.isCellUnavailable(props.date.add({days: 1}));\n let isFirstSelectedAfterDisabled = !isDisabled && !isInvalid && state.isCellUnavailable(props.date.subtract({days: 1}));\n let highlightedRange = 'highlightedRange' in state && state.highlightedRange;\n let isSelectionStart = isSelected && highlightedRange && isSameDay(props.date, highlightedRange.start);\n let isSelectionEnd = isSelected && highlightedRange && isSameDay(props.date, highlightedRange.end);\n let {locale} = useLocale();\n let dayOfWeek = getDayOfWeek(props.date, locale);\n let isRangeStart = isSelected && (isFirstSelectedAfterDisabled || dayOfWeek === 0 || props.date.day === 1);\n let isRangeEnd = isSelected && (isLastSelectedBeforeDisabled || dayOfWeek === 6 || props.date.day === currentMonth.calendar.getDaysInMonth(currentMonth));\n let {focusProps, isFocusVisible} = useFocusRing();\n let {hoverProps, isHovered} = useHover({isDisabled: isDisabled || isUnavailable || state.isReadOnly});\n\n return (\n <td\n {...cellProps}\n className={classNames(styles, 'spectrum-Calendar-tableCell')}>\n <span\n {...mergeProps(buttonProps, hoverProps, focusProps)}\n ref={ref}\n className={classNames(styles, 'spectrum-Calendar-date', {\n 'is-today': isToday(props.date, state.timeZone),\n 'is-selected': isSelected,\n 'is-focused': isFocused && isFocusVisible,\n // Style disabled (i.e. out of min/max range), but selected dates as unavailable\n // since it is more clear than trying to dim the selection.\n 'is-disabled': isDisabled && !isInvalid,\n 'is-unavailable': isUnavailable || (isInvalid && isDisabled),\n 'is-outsideMonth': !isSameMonth(props.date, currentMonth),\n 'is-range-start': isRangeStart,\n 'is-range-end': isRangeEnd,\n 'is-range-selection': isSelected && 'highlightedRange' in state,\n 'is-selection-start': isSelectionStart,\n 'is-selection-end': isSelectionEnd,\n 'is-hovered': isHovered,\n 'is-pressed': isPressed && !state.isReadOnly,\n 'is-invalid': isInvalid\n })}>\n <span className={classNames(styles, 'spectrum-Calendar-dateText')}>\n <span>{formattedDate}</span>\n </span>\n </span>\n </td>\n );\n}\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n","const _temp0 = require(\"./ar-AE.json\");\nconst _temp1 = require(\"./bg-BG.json\");\nconst _temp2 = require(\"./cs-CZ.json\");\nconst _temp3 = require(\"./da-DK.json\");\nconst _temp4 = require(\"./de-DE.json\");\nconst _temp5 = require(\"./el-GR.json\");\nconst _temp6 = require(\"./en-US.json\");\nconst _temp7 = require(\"./es-ES.json\");\nconst _temp8 = require(\"./et-EE.json\");\nconst _temp9 = require(\"./fi-FI.json\");\nconst _temp10 = require(\"./fr-FR.json\");\nconst _temp11 = require(\"./he-IL.json\");\nconst _temp12 = require(\"./hr-HR.json\");\nconst _temp13 = require(\"./hu-HU.json\");\nconst _temp14 = require(\"./it-IT.json\");\nconst _temp15 = require(\"./ja-JP.json\");\nconst _temp16 = require(\"./ko-KR.json\");\nconst _temp17 = require(\"./lt-LT.json\");\nconst _temp18 = require(\"./lv-LV.json\");\nconst _temp19 = require(\"./nb-NO.json\");\nconst _temp20 = require(\"./nl-NL.json\");\nconst _temp21 = require(\"./pl-PL.json\");\nconst _temp22 = require(\"./pt-BR.json\");\nconst _temp23 = require(\"./pt-PT.json\");\nconst _temp24 = require(\"./ro-RO.json\");\nconst _temp25 = require(\"./ru-RU.json\");\nconst _temp26 = require(\"./sk-SK.json\");\nconst _temp27 = require(\"./sl-SI.json\");\nconst _temp28 = require(\"./sr-SP.json\");\nconst _temp29 = require(\"./sv-SE.json\");\nconst _temp30 = require(\"./tr-TR.json\");\nconst _temp31 = require(\"./uk-UA.json\");\nconst _temp32 = require(\"./zh-CN.json\");\nconst _temp33 = require(\"./zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","{\n \"invalidSelection\": \"{selectedCount, plural, one {التاريخ} other {التواريخ}} المحدد/المحددة غير متوفرة.\"\n}\n","{\n \"invalidSelection\": \"{selectedCount, plural, one {Избраната дата не е налична} other {Избраните дати не са налични}}.\"\n}\n","{\n \"invalidSelection\": \"{selectedCount, plural, one {Vybrané datum není} other {Vybraná data nejsou}} k dispozici.\"\n}\n","{\n \"invalidSelection\": \"Valgte {selectedCount, plural, one {dato} other {datoer}} ikke ledige.\"\n}\n","{\n \"invalidSelection\": \"Ausgewählte(s) {selectedCount, plural, one {Datum} other {Daten}} nicht verfügbar.\"\n}\n","{\n \"invalidSelection\": \"{selectedCount, plural, one {Η επιλεγμένη ημερομηνία δεν είναι διαθέσιμη} other {Οι επιλεγμένες ημερομηνίες δεν είναι διαθέσιμες}}.\"\n}\n","{\n \"invalidSelection\": \"Selected {selectedCount, plural, one {date} other {dates}} unavailable.\"\n}\n","{\n \"invalidSelection\": \"{selectedCount, plural, one {La fecha seleccionada no está disponible} other {Las fechas seleccionadas no están disponibles}}.\"\n}\n","{\n \"invalidSelection\": \"Valitud {selectedCount, plural, one {kuupäev} other {kuupäevad}} pole saadaval.\"\n}\n","{\n \"invalidSelection\": \"{selectedCount, plural, one {Valittu päivämäärä ei ole} other {Valitut päivämäärät eivät ole}} saatavilla.\"\n}\n","{\n \"invalidSelection\": \"{selectedCount, plural, one {La date sélectionnée est indisponible} other {Les dates sélectionnées sont indisponibles}}.\"\n}\n","{\n \"invalidSelection\": \"נבחר {selectedCount, plural, one {תאריך} other {תאריכים}} אינו זמין.\"\n}\n","{\n \"invalidSelection\": \"{selectedCount, plural, one {Odabrani datum nije dostupan} other {Odabrani datumi nisu dostupni}}.\"\n}\n","{\n \"invalidSelection\": \"A kijelölt {selectedCount, plural, one {dátum nem érhető el} other {dátumok nem érhetőek el}}.\"\n}\n","{\n \"invalidSelection\": \"{selectedCount, plural, one {Data selezionata non disponibile} other {Date selezionate non disponibili}}.\"\n}\n","{\n \"invalidSelection\": \"選択した{selectedCount, plural, one {日付} other {日付}}は使用できません。\"\n}\n","{\n \"invalidSelection\": \"선택한 {selectedCount, plural, one {일자를} other {일자를}} 사용할 수 없습니다.\"\n}\n","{\n \"invalidSelection\": \"{selectedCount, plural, one {Datos} other {Datų}} pasirinkimas negalimas.\"\n}\n","{\n \"invalidSelection\": \"Atlasītais(-ie) {selectedCount, plural, one {date} other {dates}} nav pieejams(-i).\"\n}\n","{\n \"invalidSelection\": \"Valgt(e) {selectedCount, plural, one {dato} other {datoer}} er utilgjengelig.\"\n}\n","{\n \"invalidSelection\": \"Geselecteerde {selectedCount, plural, one {datum} other {datums}} niet beschikbaar.\"\n}\n","{\n \"invalidSelection\": \"{selectedCount, plural, one {Wybrana data jest niedostępna} other {Wybrane daty są niedostępne}}.\"\n}\n","{\n \"invalidSelection\": \"{selectedCount, plural, one {Data} other {Datas}} selecionada(s) indisponível(is).\"\n}\n","{\n \"invalidSelection\": \"A(s) {selectedCount, plural, one {data} other {datas}} selecionada(s) não está(ão) disponível/disponível(eis).\"\n}\n","{\n \"invalidSelection\": \"{selectedCount, plural, one {Data selectată nu este disponibilă} other {Datele selectate nu sunt disponibile}}.\"\n}\n","{\n \"invalidSelection\": \"Выбранные {selectedCount, plural, one {дата} other {даты}} недоступны.\"\n}\n","{\n \"invalidSelection\": \"{selectedCount, plural, one {Vybratý dátum} other {Vybraté dátumy}}: nedostupné.\"\n}\n","{\n \"invalidSelection\": \"Izbrano {selectedCount, plural, one {date} other {dates}} ni na voljo.\"\n}\n","{\n \"invalidSelection\": \"Izabrani {selectedCount, plural, one {date} other {dates}} nije dostupan.\"\n}\n","{\n \"invalidSelection\": \"{selectedCount, plural, one {Valt datum är inte tillgängligt.} other {Valda datum är inte tillgängliga.}}\"\n}\n","{\n \"invalidSelection\": \"Seçilen {selectedCount, plural, one {tarih} other {tarihler}} müsait değil.\"\n}\n","{\n \"invalidSelection\": \"{selectedCount, plural, one {Вибрана дата недоступна} other {Вибрані дати недоступні}}.\"\n}\n","{\n \"invalidSelection\": \"选定的 {selectedCount, plural, one {个日期} other {个日期}} 不可用。\"\n}\n","{\n \"invalidSelection\": \"所選的{selectedCount, plural, one {日期} other {日期}}無法使用。\"\n}\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {CalendarBase} from './CalendarBase';\nimport {createCalendar} from '@internationalized/date';\nimport {createDOMRef} from '@react-spectrum/utils';\nimport {DateValue, SpectrumRangeCalendarProps} from '@react-types/calendar';\nimport {FocusableRef} from '@react-types/shared';\nimport React, {ReactElement, useImperativeHandle, useMemo, useRef} from 'react';\nimport {useLocale} from '@react-aria/i18n';\nimport {useProviderProps} from '@react-spectrum/provider';\nimport {useRangeCalendar} from '@react-aria/calendar';\nimport {useRangeCalendarState} from '@react-stately/calendar';\n\nfunction RangeCalendar<T extends DateValue>(props: SpectrumRangeCalendarProps<T>, ref: FocusableRef<HTMLElement>) {\n props = useProviderProps(props);\n let {visibleMonths = 1} = props;\n let visibleDuration = useMemo(() => ({months: visibleMonths}), [visibleMonths]);\n let {locale} = useLocale();\n let state = useRangeCalendarState({\n ...props,\n locale,\n visibleDuration,\n createCalendar\n });\n\n let domRef = useRef();\n useImperativeHandle(ref, () => ({\n ...createDOMRef(domRef),\n focus() {\n state.setFocused(true);\n }\n }));\n\n let {calendarProps, prevButtonProps, nextButtonProps, errorMessageProps} = useRangeCalendar(props, state, domRef);\n\n return (\n <CalendarBase\n {...props}\n state={state}\n calendarRef={domRef}\n calendarProps={calendarProps}\n prevButtonProps={prevButtonProps}\n nextButtonProps={nextButtonProps}\n errorMessageProps={errorMessageProps} />\n );\n}\n\n/**\n * RangeCalendars display a grid of days in one or more months and allow users to select a contiguous range of dates.\n */\nconst _RangeCalendar = React.forwardRef(RangeCalendar) as <T extends DateValue>(props: SpectrumRangeCalendarProps<T> & {ref?: FocusableRef<HTMLElement>}) => ReactElement;\nexport {_RangeCalendar as RangeCalendar};\n"],"names":[],"version":3,"file":"module.js.map"}
|
package/dist/types.d.ts
CHANGED
|
@@ -13,5 +13,6 @@ export const Calendar: <T extends DateValue>(props: SpectrumCalendarProps<T> & {
|
|
|
13
13
|
export const RangeCalendar: <T extends DateValue>(props: SpectrumRangeCalendarProps<T> & {
|
|
14
14
|
ref?: FocusableRef<HTMLElement>;
|
|
15
15
|
}) => ReactElement;
|
|
16
|
+
export type { SpectrumCalendarProps, SpectrumRangeCalendarProps } from '@react-types/calendar';
|
|
16
17
|
|
|
17
18
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":";;;AGyDA;;GAEG;AACH,OAAA,MAAM;UAAyG,aAAa,WAAW,CAAC;MAAM,YAAY,CAAC;ACH3J;;GAEG;AACH,OAAA,MAAM;UAAwH,aAAa,WAAW,CAAC;MAAM,YAAY,CAAC","sources":["packages/@react-spectrum/calendar/src/packages/@react-spectrum/calendar/src/CalendarCell.tsx","packages/@react-spectrum/calendar/src/packages/@react-spectrum/calendar/src/CalendarMonth.tsx","packages/@react-spectrum/calendar/src/packages/@react-spectrum/calendar/src/CalendarBase.tsx","packages/@react-spectrum/calendar/src/packages/@react-spectrum/calendar/src/Calendar.tsx","packages/@react-spectrum/calendar/src/packages/@react-spectrum/calendar/src/RangeCalendar.tsx","packages/@react-spectrum/calendar/src/packages/@react-spectrum/calendar/src/index.ts","packages/@react-spectrum/calendar/src/index.ts"],"sourcesContent":[null,null,null,null,null,null,"/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {Calendar} from './Calendar';\nexport {RangeCalendar} from './RangeCalendar';\n"],"names":[],"version":3,"file":"types.d.ts.map"}
|
|
1
|
+
{"mappings":";;;AGyDA;;GAEG;AACH,OAAA,MAAM;UAAyG,aAAa,WAAW,CAAC;MAAM,YAAY,CAAC;ACH3J;;GAEG;AACH,OAAA,MAAM;UAAwH,aAAa,WAAW,CAAC;MAAM,YAAY,CAAC;AC5C1K,YAAY,EAAC,qBAAqB,EAAE,0BAA0B,EAAC,MAAM,uBAAuB,CAAC","sources":["packages/@react-spectrum/calendar/src/packages/@react-spectrum/calendar/src/CalendarCell.tsx","packages/@react-spectrum/calendar/src/packages/@react-spectrum/calendar/src/CalendarMonth.tsx","packages/@react-spectrum/calendar/src/packages/@react-spectrum/calendar/src/CalendarBase.tsx","packages/@react-spectrum/calendar/src/packages/@react-spectrum/calendar/src/Calendar.tsx","packages/@react-spectrum/calendar/src/packages/@react-spectrum/calendar/src/RangeCalendar.tsx","packages/@react-spectrum/calendar/src/packages/@react-spectrum/calendar/src/index.ts","packages/@react-spectrum/calendar/src/index.ts"],"sourcesContent":[null,null,null,null,null,null,"/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {Calendar} from './Calendar';\nexport {RangeCalendar} from './RangeCalendar';\nexport type {SpectrumCalendarProps, SpectrumRangeCalendarProps} from '@react-types/calendar';\n"],"names":[],"version":3,"file":"types.d.ts.map"}
|