@rpcbase/ui 0.185.0 → 0.187.0
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/helpers/useScrollPagination.d.ts.map +1 -1
- package/dist/index100.js +4 -107
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +6 -262
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +5 -9
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +4 -42
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +5 -4
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +4 -46
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +9 -52
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +5 -4
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +3 -3
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +4 -15
- package/dist/index109.js.map +1 -1
- package/dist/index110.js +5 -4
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +145 -7
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +39 -16
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +4 -4
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +7 -4
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +13 -5
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +13 -5
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +7 -4
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +31 -4
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +10 -6
- package/dist/index119.js.map +1 -1
- package/dist/index120.js +10 -24
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +8 -6
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +13 -4
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +101 -6
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +20 -6
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +53 -4
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +72 -5
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +9 -4
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +20 -8
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +16 -5
- package/dist/index129.js.map +1 -1
- package/dist/index130.js +23 -4
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +6 -4
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +5 -6
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +23 -145
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +34 -39
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +16 -5
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +6 -7
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +4 -13
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +4 -13
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +4 -7
- package/dist/index139.js.map +1 -1
- package/dist/index140.js +4 -31
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +3 -10
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +6 -10
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +24 -9
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +7 -13
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +6 -101
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +6 -20
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +3 -53
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +3 -72
- package/dist/index148.js.map +1 -1
- package/dist/index149.js +4 -9
- package/dist/index149.js.map +1 -1
- package/dist/index150.js +3 -20
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +4 -16
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +3 -23
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +3 -6
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +3 -5
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +42 -19
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +45 -33
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +206 -16
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +22 -7
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +24 -4
- package/dist/index159.js.map +1 -1
- package/dist/index160.js +399 -4
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +5 -4
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +68 -4
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +2 -4
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +363 -6
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +262 -24
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +60 -7
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +46 -6
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +169 -5
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +109 -3
- package/dist/index169.js.map +1 -1
- package/dist/index170.js +24 -3
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +8 -5
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +4 -3
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +5 -4
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +4 -3
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +466 -3
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +185 -3
- package/dist/index176.js.map +1 -1
- package/dist/index177.js +103 -42
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +253 -196
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +10 -22
- package/dist/index179.js.map +1 -1
- package/dist/index180.js +42 -24
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +4 -399
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +13 -13
- package/dist/index183.js +58 -13
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +8 -154
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +64 -28
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +19 -9
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +14 -45
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +5 -11
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +4 -43
- package/dist/index189.js.map +1 -1
- package/dist/index190.js +6 -95
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +4 -86
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +7 -105
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +17 -52
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +5 -11
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +5 -37
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +13 -8
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +10 -116
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +14 -17
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +14 -15
- package/dist/index199.js.map +1 -1
- package/dist/index200.js +5 -3
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +6 -36
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +7 -20
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +6 -9
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +9 -8
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +5 -19
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +5 -28
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +9 -16
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +5 -58
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +5 -8
- package/dist/index209.js.map +1 -1
- package/dist/index210.js +4 -66
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +11 -19
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +10 -16
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +10 -5
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +11 -5
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +11 -6
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +10 -4
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +6 -6
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +6 -17
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +5 -5
- package/dist/index219.js.map +1 -1
- package/dist/index220.js +6 -5
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +7 -13
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +5 -9
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +55 -14
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +16 -14
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +7 -5
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +10 -6
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +10 -7
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +21 -6
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +10 -9
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +9 -5
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +9 -5
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +4 -9
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +5 -5
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +16 -5
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +9 -4
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +18 -11
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +15 -10
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +12 -10
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +29 -11
- package/dist/index239.js.map +1 -1
- package/dist/index24.js +1 -1
- package/dist/index240.js +12 -11
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +25 -10
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +5 -7
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +24 -6
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +29 -6
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +5 -7
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +13 -7
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +154 -6
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +28 -53
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +9 -16
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +47 -7
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +11 -10
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +43 -9
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +93 -19
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +86 -10
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +105 -9
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +52 -9
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +11 -4
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +37 -5
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +8 -16
- package/dist/index259.js.map +1 -1
- package/dist/index260.js +3 -9
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +9 -18
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +115 -14
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +17 -12
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +14 -28
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +34 -10
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +19 -24
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +8 -5
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +19 -24
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +29 -29
- package/dist/index269.js.map +1 -1
- package/dist/index270.js +17 -5
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +2 -2
- package/dist/index272.js +9 -9
- package/dist/index273.js +1 -1
- package/dist/index274.js +4 -20
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +19 -5
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +13 -19
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +5 -13
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +3 -5
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +24 -3
- package/dist/index279.js.map +1 -1
- package/dist/index280.js +111 -22
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +14 -111
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +523 -14
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +114 -511
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +117 -111
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +20 -133
- package/dist/index285.js.map +1 -1
- package/dist/index293.js +2 -2
- package/dist/index296.js +1 -1
- package/dist/index297.js +2 -2
- package/dist/index299.js +1 -1
- package/dist/index300.js +1 -1
- package/dist/index301.js +1 -1
- package/dist/index302.js +1 -1
- package/dist/index303.js +1 -1
- package/dist/index304.js +1 -1
- package/dist/index31.js +5 -5
- package/dist/index32.js +24 -24
- package/dist/index33.js +3 -3
- package/dist/index35.js +1 -1
- package/dist/index39.js +1 -1
- package/dist/index40.js +2 -2
- package/dist/index43.js +2 -2
- package/dist/index44.js +20 -20
- package/dist/index48.js +1 -1
- package/dist/index49.js +1 -1
- package/dist/index52.js +1 -1
- package/dist/index53.js +1 -1
- package/dist/index54.js +5 -52
- package/dist/index54.js.map +1 -1
- package/dist/index55.js +34 -2
- package/dist/index55.js.map +1 -1
- package/dist/index56.js +27 -2
- package/dist/index56.js.map +1 -1
- package/dist/index57.js +7 -5
- package/dist/index57.js.map +1 -1
- package/dist/index58.js +11 -7
- package/dist/index58.js.map +1 -1
- package/dist/index59.js +2 -6
- package/dist/index59.js.map +1 -1
- package/dist/index6.js +134 -119
- package/dist/index6.js.map +1 -1
- package/dist/index60.js +2 -2
- package/dist/index61.js +2 -2
- package/dist/index62.js +2 -7
- package/dist/index62.js.map +1 -1
- package/dist/index63.js +53 -33
- package/dist/index63.js.map +1 -1
- package/dist/index64.js +204 -26
- package/dist/index64.js.map +1 -1
- package/dist/index65.js +3 -7
- package/dist/index65.js.map +1 -1
- package/dist/index66.js +47 -11
- package/dist/index66.js.map +1 -1
- package/dist/index67.js +49 -203
- package/dist/index67.js.map +1 -1
- package/dist/index68.js +7 -3
- package/dist/index68.js.map +1 -1
- package/dist/index69.js +14 -47
- package/dist/index69.js.map +1 -1
- package/dist/index70.js +129 -46
- package/dist/index70.js.map +1 -1
- package/dist/index71.js +10 -7
- package/dist/index71.js.map +1 -1
- package/dist/index72.js +215 -13
- package/dist/index72.js.map +1 -1
- package/dist/index73.js +12 -133
- package/dist/index73.js.map +1 -1
- package/dist/index74.js +46 -10
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +46 -213
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +4 -13
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +5 -46
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +28 -50
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +49 -3
- package/dist/index79.js.map +1 -1
- package/dist/index80.js +9 -6
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +6 -28
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +8 -50
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +6 -9
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +52 -6
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +4 -68
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +5 -2
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +15 -363
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +5 -261
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +7 -60
- package/dist/index89.js.map +1 -1
- package/dist/index90.js +16 -46
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +4 -169
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +4 -109
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +5 -24
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +6 -8
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +4 -4
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +4 -5
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +6 -4
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +24 -466
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +6 -185
- package/dist/index99.js.map +1 -1
- package/package.json +1 -1
package/dist/index133.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index133.js","sources":["../../../node_modules/react-day-picker/dist/esm/classes/DateLib.js"],"sourcesContent":["import { TZDate } from \"@date-fns/tz\";\nimport { addDays, addMonths, addWeeks, addYears, differenceInCalendarDays, differenceInCalendarMonths, eachMonthOfInterval, eachYearOfInterval, endOfISOWeek, endOfMonth, endOfWeek, endOfYear, format, getISOWeek, getMonth, getWeek, getYear, isAfter, isBefore, isDate, isSameDay, isSameMonth, isSameYear, max, min, setMonth, setYear, startOfDay, startOfISOWeek, startOfMonth, startOfWeek, startOfYear, } from \"date-fns\";\nimport { endOfBroadcastWeek } from \"../helpers/endOfBroadcastWeek.js\";\nimport { startOfBroadcastWeek } from \"../helpers/startOfBroadcastWeek.js\";\nimport { enUS } from \"../locale/en-US.js\";\n/**\n * A wrapper class around [date-fns](http://date-fns.org) that provides utility\n * methods for date manipulation and formatting.\n *\n * @since 9.2.0\n * @example\n * const dateLib = new DateLib({ locale: es });\n * const newDate = dateLib.addDays(new Date(), 5);\n */\nexport class DateLib {\n /**\n * Creates an instance of `DateLib`.\n *\n * @param options Configuration options for the date library.\n * @param overrides Custom overrides for the date library functions.\n */\n constructor(options, overrides) {\n /**\n * Reference to the built-in Date constructor.\n *\n * @deprecated Use `newDate()` or `today()`.\n */\n this.Date = Date;\n /**\n * Creates a new `Date` object representing today's date.\n *\n * @since 9.5.0\n * @returns A `Date` object for today's date.\n */\n this.today = () => {\n if (this.overrides?.today) {\n return this.overrides.today();\n }\n if (this.options.timeZone) {\n return TZDate.tz(this.options.timeZone);\n }\n return new this.Date();\n };\n /**\n * Creates a new `Date` object with the specified year, month, and day.\n *\n * @since 9.5.0\n * @param year The year.\n * @param monthIndex The month (0-11).\n * @param date The day of the month.\n * @returns A new `Date` object.\n */\n this.newDate = (year, monthIndex, date) => {\n if (this.overrides?.newDate) {\n return this.overrides.newDate(year, monthIndex, date);\n }\n if (this.options.timeZone) {\n return new TZDate(year, monthIndex, date, this.options.timeZone);\n }\n return new Date(year, monthIndex, date);\n };\n /**\n * Adds the specified number of days to the given date.\n *\n * @param date The date to add days to.\n * @param amount The number of days to add.\n * @returns The new date with the days added.\n */\n this.addDays = (date, amount) => {\n return this.overrides?.addDays\n ? this.overrides.addDays(date, amount)\n : addDays(date, amount);\n };\n /**\n * Adds the specified number of months to the given date.\n *\n * @param date The date to add months to.\n * @param amount The number of months to add.\n * @returns The new date with the months added.\n */\n this.addMonths = (date, amount) => {\n return this.overrides?.addMonths\n ? this.overrides.addMonths(date, amount)\n : addMonths(date, amount);\n };\n /**\n * Adds the specified number of weeks to the given date.\n *\n * @param date The date to add weeks to.\n * @param amount The number of weeks to add.\n * @returns The new date with the weeks added.\n */\n this.addWeeks = (date, amount) => {\n return this.overrides?.addWeeks\n ? this.overrides.addWeeks(date, amount)\n : addWeeks(date, amount);\n };\n /**\n * Adds the specified number of years to the given date.\n *\n * @param date The date to add years to.\n * @param amount The number of years to add.\n * @returns The new date with the years added.\n */\n this.addYears = (date, amount) => {\n return this.overrides?.addYears\n ? this.overrides.addYears(date, amount)\n : addYears(date, amount);\n };\n /**\n * Returns the number of calendar days between the given dates.\n *\n * @param dateLeft The later date.\n * @param dateRight The earlier date.\n * @returns The number of calendar days between the dates.\n */\n this.differenceInCalendarDays = (dateLeft, dateRight) => {\n return this.overrides?.differenceInCalendarDays\n ? this.overrides.differenceInCalendarDays(dateLeft, dateRight)\n : differenceInCalendarDays(dateLeft, dateRight);\n };\n /**\n * Returns the number of calendar months between the given dates.\n *\n * @param dateLeft The later date.\n * @param dateRight The earlier date.\n * @returns The number of calendar months between the dates.\n */\n this.differenceInCalendarMonths = (dateLeft, dateRight) => {\n return this.overrides?.differenceInCalendarMonths\n ? this.overrides.differenceInCalendarMonths(dateLeft, dateRight)\n : differenceInCalendarMonths(dateLeft, dateRight);\n };\n /**\n * Returns the months between the given dates.\n *\n * @param interval The interval to get the months for.\n */\n this.eachMonthOfInterval = (interval) => {\n return this.overrides?.eachMonthOfInterval\n ? this.overrides.eachMonthOfInterval(interval)\n : eachMonthOfInterval(interval);\n };\n /**\n * Returns the years between the given dates.\n *\n * @since 9.11.1\n * @param interval The interval to get the years for.\n * @returns The array of years in the interval.\n */\n this.eachYearOfInterval = (interval) => {\n const years = this.overrides?.eachYearOfInterval\n ? this.overrides.eachYearOfInterval(interval)\n : eachYearOfInterval(interval);\n // Remove duplicates that may happen across DST transitions (e.g., \"America/Sao_Paulo\")\n // See https://github.com/date-fns/tz/issues/72\n const uniqueYears = new Set(years.map((d) => this.getYear(d)));\n if (uniqueYears.size === years.length) {\n // No duplicates, return as is\n return years;\n }\n // Rebuild the array to ensure one date per year\n const yearsArray = [];\n uniqueYears.forEach((y) => {\n yearsArray.push(new Date(y, 0, 1));\n });\n return yearsArray;\n };\n /**\n * Returns the end of the broadcast week for the given date.\n *\n * @param date The original date.\n * @returns The end of the broadcast week.\n */\n this.endOfBroadcastWeek = (date) => {\n return this.overrides?.endOfBroadcastWeek\n ? this.overrides.endOfBroadcastWeek(date)\n : endOfBroadcastWeek(date, this);\n };\n /**\n * Returns the end of the ISO week for the given date.\n *\n * @param date The original date.\n * @returns The end of the ISO week.\n */\n this.endOfISOWeek = (date) => {\n return this.overrides?.endOfISOWeek\n ? this.overrides.endOfISOWeek(date)\n : endOfISOWeek(date);\n };\n /**\n * Returns the end of the month for the given date.\n *\n * @param date The original date.\n * @returns The end of the month.\n */\n this.endOfMonth = (date) => {\n return this.overrides?.endOfMonth\n ? this.overrides.endOfMonth(date)\n : endOfMonth(date);\n };\n /**\n * Returns the end of the week for the given date.\n *\n * @param date The original date.\n * @returns The end of the week.\n */\n this.endOfWeek = (date, options) => {\n return this.overrides?.endOfWeek\n ? this.overrides.endOfWeek(date, options)\n : endOfWeek(date, this.options);\n };\n /**\n * Returns the end of the year for the given date.\n *\n * @param date The original date.\n * @returns The end of the year.\n */\n this.endOfYear = (date) => {\n return this.overrides?.endOfYear\n ? this.overrides.endOfYear(date)\n : endOfYear(date);\n };\n /**\n * Formats the given date using the specified format string.\n *\n * @param date The date to format.\n * @param formatStr The format string.\n * @returns The formatted date string.\n */\n this.format = (date, formatStr, _options) => {\n const formatted = this.overrides?.format\n ? this.overrides.format(date, formatStr, this.options)\n : format(date, formatStr, this.options);\n if (this.options.numerals && this.options.numerals !== \"latn\") {\n return this.replaceDigits(formatted);\n }\n return formatted;\n };\n /**\n * Returns the ISO week number for the given date.\n *\n * @param date The date to get the ISO week number for.\n * @returns The ISO week number.\n */\n this.getISOWeek = (date) => {\n return this.overrides?.getISOWeek\n ? this.overrides.getISOWeek(date)\n : getISOWeek(date);\n };\n /**\n * Returns the month of the given date.\n *\n * @param date The date to get the month for.\n * @returns The month.\n */\n this.getMonth = (date, _options) => {\n return this.overrides?.getMonth\n ? this.overrides.getMonth(date, this.options)\n : getMonth(date, this.options);\n };\n /**\n * Returns the year of the given date.\n *\n * @param date The date to get the year for.\n * @returns The year.\n */\n this.getYear = (date, _options) => {\n return this.overrides?.getYear\n ? this.overrides.getYear(date, this.options)\n : getYear(date, this.options);\n };\n /**\n * Returns the local week number for the given date.\n *\n * @param date The date to get the week number for.\n * @returns The week number.\n */\n this.getWeek = (date, _options) => {\n return this.overrides?.getWeek\n ? this.overrides.getWeek(date, this.options)\n : getWeek(date, this.options);\n };\n /**\n * Checks if the first date is after the second date.\n *\n * @param date The date to compare.\n * @param dateToCompare The date to compare with.\n * @returns True if the first date is after the second date.\n */\n this.isAfter = (date, dateToCompare) => {\n return this.overrides?.isAfter\n ? this.overrides.isAfter(date, dateToCompare)\n : isAfter(date, dateToCompare);\n };\n /**\n * Checks if the first date is before the second date.\n *\n * @param date The date to compare.\n * @param dateToCompare The date to compare with.\n * @returns True if the first date is before the second date.\n */\n this.isBefore = (date, dateToCompare) => {\n return this.overrides?.isBefore\n ? this.overrides.isBefore(date, dateToCompare)\n : isBefore(date, dateToCompare);\n };\n /**\n * Checks if the given value is a Date object.\n *\n * @param value The value to check.\n * @returns True if the value is a Date object.\n */\n this.isDate = (value) => {\n return this.overrides?.isDate\n ? this.overrides.isDate(value)\n : isDate(value);\n };\n /**\n * Checks if the given dates are on the same day.\n *\n * @param dateLeft The first date to compare.\n * @param dateRight The second date to compare.\n * @returns True if the dates are on the same day.\n */\n this.isSameDay = (dateLeft, dateRight) => {\n return this.overrides?.isSameDay\n ? this.overrides.isSameDay(dateLeft, dateRight)\n : isSameDay(dateLeft, dateRight);\n };\n /**\n * Checks if the given dates are in the same month.\n *\n * @param dateLeft The first date to compare.\n * @param dateRight The second date to compare.\n * @returns True if the dates are in the same month.\n */\n this.isSameMonth = (dateLeft, dateRight) => {\n return this.overrides?.isSameMonth\n ? this.overrides.isSameMonth(dateLeft, dateRight)\n : isSameMonth(dateLeft, dateRight);\n };\n /**\n * Checks if the given dates are in the same year.\n *\n * @param dateLeft The first date to compare.\n * @param dateRight The second date to compare.\n * @returns True if the dates are in the same year.\n */\n this.isSameYear = (dateLeft, dateRight) => {\n return this.overrides?.isSameYear\n ? this.overrides.isSameYear(dateLeft, dateRight)\n : isSameYear(dateLeft, dateRight);\n };\n /**\n * Returns the latest date in the given array of dates.\n *\n * @param dates The array of dates to compare.\n * @returns The latest date.\n */\n this.max = (dates) => {\n return this.overrides?.max ? this.overrides.max(dates) : max(dates);\n };\n /**\n * Returns the earliest date in the given array of dates.\n *\n * @param dates The array of dates to compare.\n * @returns The earliest date.\n */\n this.min = (dates) => {\n return this.overrides?.min ? this.overrides.min(dates) : min(dates);\n };\n /**\n * Sets the month of the given date.\n *\n * @param date The date to set the month on.\n * @param month The month to set (0-11).\n * @returns The new date with the month set.\n */\n this.setMonth = (date, month) => {\n return this.overrides?.setMonth\n ? this.overrides.setMonth(date, month)\n : setMonth(date, month);\n };\n /**\n * Sets the year of the given date.\n *\n * @param date The date to set the year on.\n * @param year The year to set.\n * @returns The new date with the year set.\n */\n this.setYear = (date, year) => {\n return this.overrides?.setYear\n ? this.overrides.setYear(date, year)\n : setYear(date, year);\n };\n /**\n * Returns the start of the broadcast week for the given date.\n *\n * @param date The original date.\n * @returns The start of the broadcast week.\n */\n this.startOfBroadcastWeek = (date, _dateLib) => {\n return this.overrides?.startOfBroadcastWeek\n ? this.overrides.startOfBroadcastWeek(date, this)\n : startOfBroadcastWeek(date, this);\n };\n /**\n * Returns the start of the day for the given date.\n *\n * @param date The original date.\n * @returns The start of the day.\n */\n this.startOfDay = (date) => {\n return this.overrides?.startOfDay\n ? this.overrides.startOfDay(date)\n : startOfDay(date);\n };\n /**\n * Returns the start of the ISO week for the given date.\n *\n * @param date The original date.\n * @returns The start of the ISO week.\n */\n this.startOfISOWeek = (date) => {\n return this.overrides?.startOfISOWeek\n ? this.overrides.startOfISOWeek(date)\n : startOfISOWeek(date);\n };\n /**\n * Returns the start of the month for the given date.\n *\n * @param date The original date.\n * @returns The start of the month.\n */\n this.startOfMonth = (date) => {\n return this.overrides?.startOfMonth\n ? this.overrides.startOfMonth(date)\n : startOfMonth(date);\n };\n /**\n * Returns the start of the week for the given date.\n *\n * @param date The original date.\n * @returns The start of the week.\n */\n this.startOfWeek = (date, _options) => {\n return this.overrides?.startOfWeek\n ? this.overrides.startOfWeek(date, this.options)\n : startOfWeek(date, this.options);\n };\n /**\n * Returns the start of the year for the given date.\n *\n * @param date The original date.\n * @returns The start of the year.\n */\n this.startOfYear = (date) => {\n return this.overrides?.startOfYear\n ? this.overrides.startOfYear(date)\n : startOfYear(date);\n };\n this.options = { locale: enUS, ...options };\n this.overrides = overrides;\n }\n /**\n * Generates a mapping of Arabic digits (0-9) to the target numbering system\n * digits.\n *\n * @since 9.5.0\n * @returns A record mapping Arabic digits to the target numerals.\n */\n getDigitMap() {\n const { numerals = \"latn\" } = this.options;\n // Use Intl.NumberFormat to create a formatter with the specified numbering system\n const formatter = new Intl.NumberFormat(\"en-US\", {\n numberingSystem: numerals,\n });\n // Map Arabic digits (0-9) to the target numerals\n const digitMap = {};\n for (let i = 0; i < 10; i++) {\n digitMap[i.toString()] = formatter.format(i);\n }\n return digitMap;\n }\n /**\n * Replaces Arabic digits in a string with the target numbering system digits.\n *\n * @since 9.5.0\n * @param input The string containing Arabic digits.\n * @returns The string with digits replaced.\n */\n replaceDigits(input) {\n const digitMap = this.getDigitMap();\n return input.replace(/\\d/g, (digit) => digitMap[digit] || digit);\n }\n /**\n * Formats a number using the configured numbering system.\n *\n * @since 9.5.0\n * @param value The number to format.\n * @returns The formatted number as a string.\n */\n formatNumber(value) {\n return this.replaceDigits(value.toString());\n }\n /**\n * Returns the preferred ordering for month and year labels for the current\n * locale.\n */\n getMonthYearOrder() {\n const code = this.options.locale?.code;\n if (!code) {\n return \"month-first\";\n }\n return DateLib.yearFirstLocales.has(code) ? \"year-first\" : \"month-first\";\n }\n /**\n * Formats the month/year pair respecting locale conventions.\n *\n * @since 9.11.0\n */\n formatMonthYear(date) {\n const { locale, timeZone, numerals } = this.options;\n const localeCode = locale?.code;\n if (localeCode && DateLib.yearFirstLocales.has(localeCode)) {\n try {\n const intl = new Intl.DateTimeFormat(localeCode, {\n month: \"long\",\n year: \"numeric\",\n timeZone,\n numberingSystem: numerals,\n });\n const formatted = intl.format(date);\n return formatted;\n }\n catch {\n // Fallback to date-fns formatting below.\n }\n }\n const pattern = this.getMonthYearOrder() === \"year-first\" ? \"y LLLL\" : \"LLLL y\";\n return this.format(date, pattern);\n }\n}\nDateLib.yearFirstLocales = new Set([\n \"eu\",\n \"hu\",\n \"ja\",\n \"ja-Hira\",\n \"ja-JP\",\n \"ko\",\n \"ko-KR\",\n \"lt\",\n \"lt-LT\",\n \"lv\",\n \"lv-LV\",\n \"mn\",\n \"mn-MN\",\n \"zh\",\n \"zh-CN\",\n \"zh-HK\",\n \"zh-TW\",\n]);\n/** The default locale (English). */\nexport { enUS as defaultLocale } from \"../locale/en-US.js\";\n/**\n * The default date library with English locale.\n *\n * @since 9.2.0\n */\nexport const defaultDateLib = new DateLib();\n/**\n * @ignore\n * @deprecated Use `defaultDateLib`.\n */\nexport const dateLib = defaultDateLib;\n"],"names":["DateLib","options","overrides","TZDate","year","monthIndex","date","amount","addDays","addMonths","addWeeks","addYears","dateLeft","dateRight","differenceInCalendarDays","differenceInCalendarMonths","interval","eachMonthOfInterval","years","eachYearOfInterval","uniqueYears","d","yearsArray","y","endOfBroadcastWeek","endOfISOWeek","endOfMonth","endOfWeek","endOfYear","formatStr","_options","formatted","format","getISOWeek","getMonth","getYear","getWeek","dateToCompare","isAfter","isBefore","value","isDate","isSameDay","isSameMonth","isSameYear","dates","max","min","month","setMonth","setYear","_dateLib","startOfBroadcastWeek","startOfDay","startOfISOWeek","startOfMonth","startOfWeek","startOfYear","enUS","numerals","formatter","digitMap","i","input","digit","code","locale","timeZone","localeCode","pattern","defaultDateLib"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcO,MAAMA,EAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOjB,YAAYC,GAASC,GAAW;AAM5B,SAAK,OAAO,MAOZ,KAAK,QAAQ,MACL,KAAK,WAAW,QACT,KAAK,UAAU,MAAK,IAE3B,KAAK,QAAQ,WACNC,EAAO,GAAG,KAAK,QAAQ,QAAQ,IAEnC,IAAI,KAAK,KAAI,GAWxB,KAAK,UAAU,CAACC,GAAMC,GAAYC,MAC1B,KAAK,WAAW,UACT,KAAK,UAAU,QAAQF,GAAMC,GAAYC,CAAI,IAEpD,KAAK,QAAQ,WACN,IAAIH,EAAOC,GAAMC,GAAYC,GAAM,KAAK,QAAQ,QAAQ,IAE5D,IAAI,KAAKF,GAAMC,GAAYC,CAAI,GAS1C,KAAK,UAAU,CAACA,GAAMC,MACX,KAAK,WAAW,UACjB,KAAK,UAAU,QAAQD,GAAMC,CAAM,IACnCC,EAAQF,GAAMC,CAAM,GAS9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AAAA;AAAA,EAKA,oBAAoB;AAChB,UAAMyB,IAAO,KAAK,QAAQ,QAAQ;AAClC,WAAKA,KAGEjE,EAAQ,iBAAiB,IAAIiE,CAAI,IAAI,eAFjC;AAAA,EAGf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,gBAAgB3D,GAAM;AAClB,UAAM,EAAE,QAAA4D,GAAQ,UAAAC,GAAU,UAAAR,EAAQ,IAAK,KAAK,SACtCS,IAAaF,GAAQ;AAC3B,QAAIE,KAAcpE,EAAQ,iBAAiB,IAAIoE,CAAU;AACrD,UAAI;AAQA,eAPa,IAAI,KAAK,eAAeA,GAAY;AAAA,UAC7C,OAAO;AAAA,UACP,MAAM;AAAA,UACN,UAAAD;AAAA,UACA,iBAAiBR;AAAA,QACrC,CAAiB,EACsB,OAAOrD,CAAI;AAAA,MAEtC,QACM;AAAA,MAEN;AAEJ,UAAM+D,IAAU,KAAK,kBAAiB,MAAO,eAAe,WAAW;AACvE,WAAO,KAAK,OAAO/D,GAAM+D,CAAO;AAAA,EACpC;AACJ;AACArE,EAAQ,mBAAmB,oBAAI,IAAI;AAAA,EAC/B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACJ,CAAC;AAQW,MAACsE,KAAiB,IAAItE,EAAO;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index133.js","sources":["../../../node_modules/react-day-picker/dist/esm/utils/typeguards.js"],"sourcesContent":["/**\n * Checks if the given value is of type {@link DateInterval}.\n *\n * @param matcher - The value to check.\n * @returns `true` if the value is a {@link DateInterval}, otherwise `false`.\n * @group Utilities\n */\nexport function isDateInterval(matcher) {\n return Boolean(matcher &&\n typeof matcher === \"object\" &&\n \"before\" in matcher &&\n \"after\" in matcher);\n}\n/**\n * Checks if the given value is of type {@link DateRange}.\n *\n * @param value - The value to check.\n * @returns `true` if the value is a {@link DateRange}, otherwise `false`.\n * @group Utilities\n */\nexport function isDateRange(value) {\n return Boolean(value && typeof value === \"object\" && \"from\" in value);\n}\n/**\n * Checks if the given value is of type {@link DateAfter}.\n *\n * @param value - The value to check.\n * @returns `true` if the value is a {@link DateAfter}, otherwise `false`.\n * @group Utilities\n */\nexport function isDateAfterType(value) {\n return Boolean(value && typeof value === \"object\" && \"after\" in value);\n}\n/**\n * Checks if the given value is of type {@link DateBefore}.\n *\n * @param value - The value to check.\n * @returns `true` if the value is a {@link DateBefore}, otherwise `false`.\n * @group Utilities\n */\nexport function isDateBeforeType(value) {\n return Boolean(value && typeof value === \"object\" && \"before\" in value);\n}\n/**\n * Checks if the given value is of type {@link DayOfWeek}.\n *\n * @param value - The value to check.\n * @returns `true` if the value is a {@link DayOfWeek}, otherwise `false`.\n * @group Utilities\n */\nexport function isDayOfWeekType(value) {\n return Boolean(value && typeof value === \"object\" && \"dayOfWeek\" in value);\n}\n/**\n * Checks if the given value is an array of valid dates.\n *\n * @private\n * @param value - The value to check.\n * @param dateLib - The date utility library instance.\n * @returns `true` if the value is an array of valid dates, otherwise `false`.\n */\nexport function isDatesArray(value, dateLib) {\n return Array.isArray(value) && value.every(dateLib.isDate);\n}\n"],"names":["isDateInterval","matcher","isDateRange","value","isDateAfterType","isDateBeforeType","isDayOfWeekType","isDatesArray","dateLib"],"mappings":"AAOO,SAASA,EAAeC,GAAS;AACpC,SAAO,GAAQA,KACX,OAAOA,KAAY,YACnB,YAAYA,KACZ,WAAWA;AACnB;AAQO,SAASC,EAAYC,GAAO;AAC/B,SAAO,GAAQA,KAAS,OAAOA,KAAU,YAAY,UAAUA;AACnE;AAQO,SAASC,EAAgBD,GAAO;AACnC,SAAO,GAAQA,KAAS,OAAOA,KAAU,YAAY,WAAWA;AACpE;AAQO,SAASE,EAAiBF,GAAO;AACpC,SAAO,GAAQA,KAAS,OAAOA,KAAU,YAAY,YAAYA;AACrE;AAQO,SAASG,EAAgBH,GAAO;AACnC,SAAO,GAAQA,KAAS,OAAOA,KAAU,YAAY,eAAeA;AACxE;AASO,SAASI,EAAaJ,GAAOK,GAAS;AACzC,SAAO,MAAM,QAAQL,CAAK,KAAKA,EAAM,MAAMK,EAAQ,MAAM;AAC7D;","x_google_ignoreList":[0]}
|
package/dist/index134.js
CHANGED
|
@@ -1,43 +1,38 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
},
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
1
|
+
import { enUS as f } from "./index275.js";
|
|
2
|
+
import { formatDate as n } from "./index223.js";
|
|
3
|
+
const s = {
|
|
4
|
+
...f,
|
|
5
|
+
labels: {
|
|
6
|
+
labelDayButton: (a, r, o, e) => {
|
|
7
|
+
let t;
|
|
8
|
+
e && typeof e.format == "function" ? t = e.format.bind(e) : t = (m, c) => n(m, c, { locale: f, ...o });
|
|
9
|
+
let l = t(a, "PPPP");
|
|
10
|
+
return r.today && (l = `Today, ${l}`), r.selected && (l = `${l}, selected`), l;
|
|
11
|
+
},
|
|
12
|
+
labelMonthDropdown: "Choose the Month",
|
|
13
|
+
labelNext: "Go to the Next Month",
|
|
14
|
+
labelPrevious: "Go to the Previous Month",
|
|
15
|
+
labelWeekNumber: (a) => `Week ${a}`,
|
|
16
|
+
labelYearDropdown: "Choose the Year",
|
|
17
|
+
labelGrid: (a, r, o) => {
|
|
18
|
+
let e;
|
|
19
|
+
return o && typeof o.format == "function" ? e = o.format.bind(o) : e = (t, l) => n(t, l, { locale: f, ...r }), e(a, "LLLL yyyy");
|
|
20
|
+
},
|
|
21
|
+
labelGridcell: (a, r, o, e) => {
|
|
22
|
+
let t;
|
|
23
|
+
e && typeof e.format == "function" ? t = e.format.bind(e) : t = (m, c) => n(m, c, { locale: f, ...o });
|
|
24
|
+
let l = t(a, "PPPP");
|
|
25
|
+
return r?.today && (l = `Today, ${l}`), l;
|
|
26
|
+
},
|
|
27
|
+
labelNav: "Navigation bar",
|
|
28
|
+
labelWeekNumberHeader: "Week Number",
|
|
29
|
+
labelWeekday: (a, r, o) => {
|
|
30
|
+
let e;
|
|
31
|
+
return o && typeof o.format == "function" ? e = o.format.bind(o) : e = (t, l) => n(t, l, { locale: f, ...r }), e(a, "cccc");
|
|
30
32
|
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
return {
|
|
34
|
-
...o,
|
|
35
|
-
// custom modifiers should override all the previous ones
|
|
36
|
-
...n
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
}
|
|
33
|
+
}
|
|
34
|
+
};
|
|
40
35
|
export {
|
|
41
|
-
|
|
36
|
+
s as enUS
|
|
42
37
|
};
|
|
43
38
|
//# sourceMappingURL=index134.js.map
|
package/dist/index134.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index134.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index134.js","sources":["../../../node_modules/react-day-picker/dist/esm/locale/en-US.js"],"sourcesContent":["import { format } from \"date-fns\";\nimport { enUS as dateFnsEnUS } from \"date-fns/locale\";\n/** English (United States) locale extended with DayPicker-specific translations. */\nexport const enUS = {\n ...dateFnsEnUS,\n labels: {\n labelDayButton: (date, modifiers, options, dateLib) => {\n let formatDate;\n if (dateLib && typeof dateLib.format === \"function\") {\n formatDate = dateLib.format.bind(dateLib);\n }\n else {\n formatDate = (d, pattern) => format(d, pattern, { locale: dateFnsEnUS, ...options });\n }\n let label = formatDate(date, \"PPPP\");\n if (modifiers.today)\n label = `Today, ${label}`;\n if (modifiers.selected)\n label = `${label}, selected`;\n return label;\n },\n labelMonthDropdown: \"Choose the Month\",\n labelNext: \"Go to the Next Month\",\n labelPrevious: \"Go to the Previous Month\",\n labelWeekNumber: (weekNumber) => `Week ${weekNumber}`,\n labelYearDropdown: \"Choose the Year\",\n labelGrid: (date, options, dateLib) => {\n let formatDate;\n if (dateLib && typeof dateLib.format === \"function\") {\n formatDate = dateLib.format.bind(dateLib);\n }\n else {\n formatDate = (d, pattern) => format(d, pattern, { locale: dateFnsEnUS, ...options });\n }\n return formatDate(date, \"LLLL yyyy\");\n },\n labelGridcell: (date, modifiers, options, dateLib) => {\n let formatDate;\n if (dateLib && typeof dateLib.format === \"function\") {\n formatDate = dateLib.format.bind(dateLib);\n }\n else {\n formatDate = (d, pattern) => format(d, pattern, { locale: dateFnsEnUS, ...options });\n }\n let label = formatDate(date, \"PPPP\");\n if (modifiers?.today) {\n label = `Today, ${label}`;\n }\n return label;\n },\n labelNav: \"Navigation bar\",\n labelWeekNumberHeader: \"Week Number\",\n labelWeekday: (date, options, dateLib) => {\n let formatDate;\n if (dateLib && typeof dateLib.format === \"function\") {\n formatDate = dateLib.format.bind(dateLib);\n }\n else {\n formatDate = (d, pattern) => format(d, pattern, { locale: dateFnsEnUS, ...options });\n }\n return formatDate(date, \"cccc\");\n },\n },\n};\n"],"names":["enUS","dateFnsEnUS","date","modifiers","options","dateLib","formatDate","d","pattern","format","label","weekNumber"],"mappings":";;AAGY,MAACA,IAAO;AAAA,EAChB,GAAGC;AAAAA,EACH,QAAQ;AAAA,IACJ,gBAAgB,CAACC,GAAMC,GAAWC,GAASC,MAAY;AACnD,UAAIC;AACJ,MAAID,KAAW,OAAOA,EAAQ,UAAW,aACrCC,IAAaD,EAAQ,OAAO,KAAKA,CAAO,IAGxCC,IAAa,CAACC,GAAGC,MAAYC,EAAOF,GAAGC,GAAS,EAAE,QAAQP,GAAa,G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0]}
|
package/dist/index135.js
CHANGED
|
@@ -1,8 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
import { formatCaption as t, formatMonthCaption as e } from "./index136.js";
|
|
2
|
+
import { formatDay as a } from "./index137.js";
|
|
3
|
+
import { formatMonthDropdown as p } from "./index138.js";
|
|
4
|
+
import { formatWeekdayName as x } from "./index139.js";
|
|
5
|
+
import { formatWeekNumber as i } from "./index140.js";
|
|
6
|
+
import { formatWeekNumberHeader as C } from "./index141.js";
|
|
7
|
+
import { formatYearCaption as N, formatYearDropdown as W } from "./index142.js";
|
|
5
8
|
export {
|
|
6
|
-
|
|
9
|
+
t as formatCaption,
|
|
10
|
+
a as formatDay,
|
|
11
|
+
e as formatMonthCaption,
|
|
12
|
+
p as formatMonthDropdown,
|
|
13
|
+
i as formatWeekNumber,
|
|
14
|
+
C as formatWeekNumberHeader,
|
|
15
|
+
x as formatWeekdayName,
|
|
16
|
+
N as formatYearCaption,
|
|
17
|
+
W as formatYearDropdown
|
|
7
18
|
};
|
|
8
19
|
//# sourceMappingURL=index135.js.map
|
package/dist/index135.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index135.js","sources":[
|
|
1
|
+
{"version":3,"file":"index135.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
|
package/dist/index136.js
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
function
|
|
3
|
-
return
|
|
4
|
-
...t,
|
|
5
|
-
...o
|
|
6
|
-
};
|
|
1
|
+
import { DateLib as r } from "./index111.js";
|
|
2
|
+
function a(t, o, n) {
|
|
3
|
+
return (n ?? new r(o)).formatMonthYear(t);
|
|
7
4
|
}
|
|
5
|
+
const f = a;
|
|
8
6
|
export {
|
|
9
|
-
|
|
7
|
+
a as formatCaption,
|
|
8
|
+
f as formatMonthCaption
|
|
10
9
|
};
|
|
11
10
|
//# sourceMappingURL=index136.js.map
|
package/dist/index136.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index136.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index136.js","sources":["../../../node_modules/react-day-picker/dist/esm/formatters/formatCaption.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Formats the caption of the month.\n *\n * @defaultValue Locale-specific month/year order (e.g., \"November 2022\").\n * @param month The date representing the month.\n * @param options Configuration options for the date library.\n * @param dateLib The date library to use for formatting. If not provided, a new\n * instance is created.\n * @returns The formatted caption as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatCaption(month, options, dateLib) {\n const lib = dateLib ?? new DateLib(options);\n return lib.formatMonthYear(month);\n}\n/**\n * @private\n * @deprecated Use {@link formatCaption} instead.\n * @group Formatters\n */\nexport const formatMonthCaption = formatCaption;\n"],"names":["formatCaption","month","options","dateLib","DateLib","formatMonthCaption"],"mappings":";AAaO,SAASA,EAAcC,GAAOC,GAASC,GAAS;AAEnD,UADYA,KAAW,IAAIC,EAAQF,CAAO,GAC/B,gBAAgBD,CAAK;AACpC;AAMY,MAACI,IAAqBL;","x_google_ignoreList":[0]}
|
package/dist/index137.js
CHANGED
|
@@ -1,17 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
"data-required": "required" in e ? e.required : void 0,
|
|
5
|
-
"data-multiple-months": e.numberOfMonths && e.numberOfMonths > 1 || void 0,
|
|
6
|
-
"data-week-numbers": e.showWeekNumber || void 0,
|
|
7
|
-
"data-broadcast-calendar": e.broadcastCalendar || void 0,
|
|
8
|
-
"data-nav-layout": e.navLayout || void 0
|
|
9
|
-
};
|
|
10
|
-
return Object.entries(e).forEach(([a, d]) => {
|
|
11
|
-
a.startsWith("data-") && (t[a] = d);
|
|
12
|
-
}), t;
|
|
1
|
+
import { DateLib as a } from "./index111.js";
|
|
2
|
+
function f(r, t, o) {
|
|
3
|
+
return (o ?? new a(t)).format(r, "d");
|
|
13
4
|
}
|
|
14
5
|
export {
|
|
15
|
-
|
|
6
|
+
f as formatDay
|
|
16
7
|
};
|
|
17
8
|
//# sourceMappingURL=index137.js.map
|
package/dist/index137.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index137.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index137.js","sources":["../../../node_modules/react-day-picker/dist/esm/formatters/formatDay.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Formats the day date shown in the day cell.\n *\n * @defaultValue `d` (e.g., \"1\").\n * @param date The date to format.\n * @param options Configuration options for the date library.\n * @param dateLib The date library to use for formatting. If not provided, a new\n * instance is created.\n * @returns The formatted day as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatDay(date, options, dateLib) {\n return (dateLib ?? new DateLib(options)).format(date, \"d\");\n}\n"],"names":["formatDay","date","options","dateLib","DateLib"],"mappings":";AAaO,SAASA,EAAUC,GAAMC,GAASC,GAAS;AAC9C,UAAQA,KAAW,IAAIC,EAAQF,CAAO,GAAG,OAAOD,GAAM,GAAG;AAC7D;","x_google_ignoreList":[0]}
|
package/dist/index138.js
CHANGED
|
@@ -1,17 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function
|
|
3
|
-
|
|
4
|
-
for (const n in t)
|
|
5
|
-
o[t[n]] = `rdp-${t[n]}`;
|
|
6
|
-
for (const n in e)
|
|
7
|
-
o[e[n]] = `rdp-${e[n]}`;
|
|
8
|
-
for (const n in r)
|
|
9
|
-
o[r[n]] = `rdp-${r[n]}`;
|
|
10
|
-
for (const n in s)
|
|
11
|
-
o[s[n]] = `rdp-${s[n]}`;
|
|
12
|
-
return o;
|
|
1
|
+
import { defaultDateLib as r } from "./index111.js";
|
|
2
|
+
function n(o, t = r) {
|
|
3
|
+
return t.format(o, "LLLL");
|
|
13
4
|
}
|
|
14
5
|
export {
|
|
15
|
-
|
|
6
|
+
n as formatMonthDropdown
|
|
16
7
|
};
|
|
17
8
|
//# sourceMappingURL=index138.js.map
|
package/dist/index138.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index138.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index138.js","sources":["../../../node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js"],"sourcesContent":["import { defaultDateLib } from \"../classes/DateLib.js\";\n/**\n * Formats the month for the dropdown option label.\n *\n * @defaultValue The localized full month name.\n * @param month The date representing the month.\n * @param dateLib The date library to use for formatting. Defaults to\n * `defaultDateLib`.\n * @returns The formatted month name as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatMonthDropdown(month, dateLib = defaultDateLib) {\n return dateLib.format(month, \"LLLL\");\n}\n"],"names":["formatMonthDropdown","month","dateLib","defaultDateLib"],"mappings":";AAYO,SAASA,EAAoBC,GAAOC,IAAUC,GAAgB;AACjE,SAAOD,EAAQ,OAAOD,GAAO,MAAM;AACvC;","x_google_ignoreList":[0]}
|
package/dist/index139.js
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
function
|
|
3
|
-
return
|
|
4
|
-
...a,
|
|
5
|
-
...n
|
|
6
|
-
};
|
|
1
|
+
import { DateLib as t } from "./index111.js";
|
|
2
|
+
function a(c, e, r) {
|
|
3
|
+
return (r ?? new t(e)).format(c, "cccccc");
|
|
7
4
|
}
|
|
8
5
|
export {
|
|
9
|
-
|
|
6
|
+
a as formatWeekdayName
|
|
10
7
|
};
|
|
11
8
|
//# sourceMappingURL=index139.js.map
|
package/dist/index139.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index139.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index139.js","sources":["../../../node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Formats the name of a weekday to be displayed in the weekdays header.\n *\n * @defaultValue `cccccc` (e.g., \"Mo\" for Monday).\n * @param weekday The date representing the weekday.\n * @param options Configuration options for the date library.\n * @param dateLib The date library to use for formatting. If not provided, a new\n * instance is created.\n * @returns The formatted weekday name as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatWeekdayName(weekday, options, dateLib) {\n return (dateLib ?? new DateLib(options)).format(weekday, \"cccccc\");\n}\n"],"names":["formatWeekdayName","weekday","options","dateLib","DateLib"],"mappings":";AAaO,SAASA,EAAkBC,GAASC,GAASC,GAAS;AACzD,UAAQA,KAAW,IAAIC,EAAQF,CAAO,GAAG,OAAOD,GAAS,QAAQ;AACrE;","x_google_ignoreList":[0]}
|
package/dist/index140.js
CHANGED
|
@@ -1,35 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { labelNav as n } from "./index170.js";
|
|
5
|
-
import { labelGridcell as t } from "./index168.js";
|
|
6
|
-
import { labelGrid as d } from "./index167.js";
|
|
7
|
-
import { labelYearDropdown as p } from "./index176.js";
|
|
8
|
-
import { labelWeekNumber as m } from "./index174.js";
|
|
9
|
-
import { labelPrevious as f } from "./index172.js";
|
|
10
|
-
import { labelNext as N } from "./index171.js";
|
|
11
|
-
import { labelMonthDropdown as k } from "./index169.js";
|
|
12
|
-
import { labelDayButton as D } from "./index166.js";
|
|
13
|
-
const r = (l, a, e) => a || (e ? typeof e == "function" ? e : (...W) => e : l);
|
|
14
|
-
function Y(l, a) {
|
|
15
|
-
const e = a.locale?.labels ?? {};
|
|
16
|
-
return {
|
|
17
|
-
...o,
|
|
18
|
-
...l ?? {},
|
|
19
|
-
labelDayButton: r(D, l?.labelDayButton, e.labelDayButton),
|
|
20
|
-
labelMonthDropdown: r(k, l?.labelMonthDropdown, e.labelMonthDropdown),
|
|
21
|
-
labelNext: r(N, l?.labelNext, e.labelNext),
|
|
22
|
-
labelPrevious: r(f, l?.labelPrevious, e.labelPrevious),
|
|
23
|
-
labelWeekNumber: r(m, l?.labelWeekNumber, e.labelWeekNumber),
|
|
24
|
-
labelYearDropdown: r(p, l?.labelYearDropdown, e.labelYearDropdown),
|
|
25
|
-
labelGrid: r(d, l?.labelGrid, e.labelGrid),
|
|
26
|
-
labelGridcell: r(t, l?.labelGridcell, e.labelGridcell),
|
|
27
|
-
labelNav: r(n, l?.labelNav, e.labelNav),
|
|
28
|
-
labelWeekNumberHeader: r(i, l?.labelWeekNumberHeader, e.labelWeekNumberHeader),
|
|
29
|
-
labelWeekday: r(b, l?.labelWeekday, e.labelWeekday)
|
|
30
|
-
};
|
|
1
|
+
import { defaultDateLib as o } from "./index111.js";
|
|
2
|
+
function a(r, t = o) {
|
|
3
|
+
return r < 10 ? t.formatNumber(`0${r.toLocaleString()}`) : t.formatNumber(`${r.toLocaleString()}`);
|
|
31
4
|
}
|
|
32
5
|
export {
|
|
33
|
-
|
|
6
|
+
a as formatWeekNumber
|
|
34
7
|
};
|
|
35
8
|
//# sourceMappingURL=index140.js.map
|
package/dist/index140.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index140.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index140.js","sources":["../../../node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js"],"sourcesContent":["import { defaultDateLib } from \"../classes/DateLib.js\";\n/**\n * Formats the week number.\n *\n * @defaultValue The week number as a string, with a leading zero for single-digit numbers.\n * @param weekNumber The week number to format.\n * @param dateLib The date library to use for formatting. Defaults to\n * `defaultDateLib`.\n * @returns The formatted week number as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatWeekNumber(weekNumber, dateLib = defaultDateLib) {\n if (weekNumber < 10) {\n return dateLib.formatNumber(`0${weekNumber.toLocaleString()}`);\n }\n return dateLib.formatNumber(`${weekNumber.toLocaleString()}`);\n}\n"],"names":["formatWeekNumber","weekNumber","dateLib","defaultDateLib"],"mappings":";AAYO,SAASA,EAAiBC,GAAYC,IAAUC,GAAgB;AACnE,SAAIF,IAAa,KACNC,EAAQ,aAAa,IAAID,EAAW,eAAc,CAAE,EAAE,IAE1DC,EAAQ,aAAa,GAAGD,EAAW,eAAc,CAAE,EAAE;AAChE;","x_google_ignoreList":[0]}
|
package/dist/index141.js
CHANGED
|
@@ -1,14 +1,7 @@
|
|
|
1
|
-
function
|
|
2
|
-
|
|
3
|
-
return l({
|
|
4
|
-
start: c(o),
|
|
5
|
-
end: f(o)
|
|
6
|
-
}).map((t) => {
|
|
7
|
-
const O = a.formatMonthDropdown(t, e), h = p(t), u = n && t < r(n) || s && t > r(s) || !1;
|
|
8
|
-
return { value: h, label: O, disabled: u };
|
|
9
|
-
});
|
|
1
|
+
function e() {
|
|
2
|
+
return "";
|
|
10
3
|
}
|
|
11
4
|
export {
|
|
12
|
-
|
|
5
|
+
e as formatWeekNumberHeader
|
|
13
6
|
};
|
|
14
7
|
//# sourceMappingURL=index141.js.map
|
package/dist/index141.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index141.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index141.js","sources":["../../../node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js"],"sourcesContent":["/**\n * Formats the header for the week number column.\n *\n * @defaultValue An empty string `\"\"`.\n * @returns The formatted week number header as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatWeekNumberHeader() {\n return ``;\n}\n"],"names":["formatWeekNumberHeader"],"mappings":"AAQO,SAASA,IAAyB;AACrC,SAAO;AACX;","x_google_ignoreList":[0]}
|
package/dist/index142.js
CHANGED
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function
|
|
3
|
-
|
|
4
|
-
return Object.entries(r).filter(([, t]) => t === !0).forEach(([t]) => {
|
|
5
|
-
e = {
|
|
6
|
-
...e,
|
|
7
|
-
...i?.[t]
|
|
8
|
-
};
|
|
9
|
-
}), e;
|
|
1
|
+
import { defaultDateLib as t } from "./index111.js";
|
|
2
|
+
function a(o, r = t) {
|
|
3
|
+
return r.format(o, "yyyy");
|
|
10
4
|
}
|
|
5
|
+
const f = a;
|
|
11
6
|
export {
|
|
12
|
-
|
|
7
|
+
f as formatYearCaption,
|
|
8
|
+
a as formatYearDropdown
|
|
13
9
|
};
|
|
14
10
|
//# sourceMappingURL=index142.js.map
|
package/dist/index142.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index142.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index142.js","sources":["../../../node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js"],"sourcesContent":["import { defaultDateLib } from \"../classes/DateLib.js\";\n/**\n * Formats the year for the dropdown option label.\n *\n * @param year The year to format.\n * @param dateLib The date library to use for formatting. Defaults to\n * `defaultDateLib`.\n * @returns The formatted year as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatYearDropdown(year, dateLib = defaultDateLib) {\n return dateLib.format(year, \"yyyy\");\n}\n/**\n * @private\n * @deprecated Use `formatYearDropdown` instead.\n * @group Formatters\n */\nexport const formatYearCaption = formatYearDropdown;\n"],"names":["formatYearDropdown","year","dateLib","defaultDateLib","formatYearCaption"],"mappings":";AAWO,SAASA,EAAmBC,GAAMC,IAAUC,GAAgB;AAC/D,SAAOD,EAAQ,OAAOD,GAAM,MAAM;AACtC;AAMY,MAACG,IAAoBJ;","x_google_ignoreList":[0]}
|
package/dist/index143.js
CHANGED
|
@@ -1,12 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
1
|
+
import { labelDay as o, labelDayButton as l } from "./index144.js";
|
|
2
|
+
import { labelCaption as t, labelGrid as b } from "./index145.js";
|
|
3
|
+
import { labelGridcell as m } from "./index146.js";
|
|
4
|
+
import { labelMonthDropdown as f } from "./index147.js";
|
|
5
|
+
import { labelNav as n } from "./index148.js";
|
|
6
|
+
import { labelNext as u } from "./index149.js";
|
|
7
|
+
import { labelPrevious as N } from "./index150.js";
|
|
8
|
+
import { labelWeekday as y } from "./index151.js";
|
|
9
|
+
import { labelWeekNumber as v } from "./index152.js";
|
|
10
|
+
import { labelWeekNumberHeader as G } from "./index153.js";
|
|
11
|
+
import { labelYearDropdown as h } from "./index154.js";
|
|
9
12
|
export {
|
|
10
|
-
|
|
13
|
+
t as labelCaption,
|
|
14
|
+
o as labelDay,
|
|
15
|
+
l as labelDayButton,
|
|
16
|
+
b as labelGrid,
|
|
17
|
+
m as labelGridcell,
|
|
18
|
+
f as labelMonthDropdown,
|
|
19
|
+
n as labelNav,
|
|
20
|
+
u as labelNext,
|
|
21
|
+
N as labelPrevious,
|
|
22
|
+
v as labelWeekNumber,
|
|
23
|
+
G as labelWeekNumberHeader,
|
|
24
|
+
y as labelWeekday,
|
|
25
|
+
h as labelYearDropdown
|
|
11
26
|
};
|
|
12
27
|
//# sourceMappingURL=index143.js.map
|
package/dist/index143.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index143.js","sources":[
|
|
1
|
+
{"version":3,"file":"index143.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
|
package/dist/index144.js
CHANGED
|
@@ -1,17 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
return f && a.reverse(), a.map((n) => {
|
|
6
|
-
const d = s.formatYearDropdown(n, t);
|
|
7
|
-
return {
|
|
8
|
-
value: u(n),
|
|
9
|
-
label: d,
|
|
10
|
-
disabled: !1
|
|
11
|
-
};
|
|
12
|
-
});
|
|
1
|
+
import { DateLib as n } from "./index111.js";
|
|
2
|
+
function r(a, t, l, o) {
|
|
3
|
+
let e = (o ?? new n(l)).format(a, "PPPP");
|
|
4
|
+
return t.today && (e = `Today, ${e}`), t.selected && (e = `${e}, selected`), e;
|
|
13
5
|
}
|
|
6
|
+
const c = r;
|
|
14
7
|
export {
|
|
15
|
-
|
|
8
|
+
c as labelDay,
|
|
9
|
+
r as labelDayButton
|
|
16
10
|
};
|
|
17
11
|
//# sourceMappingURL=index144.js.map
|
package/dist/index144.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index144.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index144.js","sources":["../../../node_modules/react-day-picker/dist/esm/labels/labelDayButton.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Generates the ARIA label for a day button.\n *\n * Use the `modifiers` argument to provide additional context for the label,\n * such as indicating if the day is \"today\" or \"selected.\"\n *\n * @defaultValue The formatted date.\n * @param date - The date to format.\n * @param modifiers - The modifiers providing context for the day.\n * @param options - Optional configuration for the date formatting library.\n * @param dateLib - An optional instance of the date formatting library.\n * @returns The ARIA label for the day button.\n * @group Labels\n * @see https://daypicker.dev/docs/translation#aria-labels\n */\nexport function labelDayButton(date, modifiers, options, dateLib) {\n let label = (dateLib ?? new DateLib(options)).format(date, \"PPPP\");\n if (modifiers.today)\n label = `Today, ${label}`;\n if (modifiers.selected)\n label = `${label}, selected`;\n return label;\n}\n/**\n * @ignore\n * @deprecated Use `labelDayButton` instead.\n */\nexport const labelDay = labelDayButton;\n"],"names":["labelDayButton","date","modifiers","options","dateLib","label","DateLib","labelDay"],"mappings":";AAgBO,SAASA,EAAeC,GAAMC,GAAWC,GAASC,GAAS;AAC9D,MAAIC,KAASD,KAAW,IAAIE,EAAQH,CAAO,GAAG,OAAOF,GAAM,MAAM;AACjE,SAAIC,EAAU,UACVG,IAAQ,UAAUA,CAAK,KACvBH,EAAU,aACVG,IAAQ,GAAGA,CAAK,eACbA;AACX;AAKY,MAACE,IAAWP;","x_google_ignoreList":[0]}
|