@rpcbase/ui 0.165.0 → 0.166.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/index100.js +9 -4
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +42 -4
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +4 -6
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +52 -146
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +4 -39
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +4 -4
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +15 -7
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +5 -13
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +7 -13
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +16 -7
- package/dist/index109.js.map +1 -1
- package/dist/index110.js +4 -31
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +4 -10
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +5 -10
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +5 -8
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +4 -13
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +4 -101
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +7 -20
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +24 -53
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +6 -72
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +4 -9
- package/dist/index119.js.map +1 -1
- package/dist/index120.js +6 -20
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +5 -16
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +4 -23
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +5 -6
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +4 -5
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +8 -23
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +6 -35
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +5 -16
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +4 -6
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +6 -4
- package/dist/index129.js.map +1 -1
- package/dist/index130.js +145 -4
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +39 -4
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +4 -4
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +7 -3
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +13 -6
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +14 -24
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +7 -7
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +31 -6
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +10 -5
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +10 -3
- package/dist/index139.js.map +1 -1
- package/dist/index140.js +8 -3
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +13 -4
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +101 -3
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +20 -5
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +53 -3
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +72 -3
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +9 -3
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +19 -45
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +15 -45
- package/dist/index148.js.map +1 -1
- package/dist/index149.js +21 -203
- package/dist/index149.js.map +1 -1
- package/dist/index150.js +7 -22
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +5 -24
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +18 -394
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +35 -6
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +16 -69
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +7 -2
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +4 -363
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +4 -261
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +4 -60
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +4 -46
- package/dist/index159.js.map +1 -1
- package/dist/index160.js +3 -169
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +6 -109
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +24 -25
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +8 -8
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +6 -4
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +5 -5
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +3 -4
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +3 -466
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +4 -185
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +3 -107
- package/dist/index169.js.map +1 -1
- package/dist/index170.js +4 -262
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +3 -9
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +3 -42
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +3 -4
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +22 -65
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +27 -179
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +5 -47
- package/dist/index176.js.map +1 -1
- package/dist/index177.js +67 -58
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +180 -8
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +42 -62
- package/dist/index179.js.map +1 -1
- package/dist/index180.js +12 -18
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +152 -14
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +29 -4
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +9 -5
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +47 -6
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +11 -4
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +44 -7
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +95 -17
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +86 -5
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +105 -5
- package/dist/index189.js.map +1 -1
- package/dist/index190.js +52 -13
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +11 -10
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +37 -14
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +8 -14
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +116 -5
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +17 -6
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +15 -7
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +3 -6
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +36 -9
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +20 -5
- package/dist/index199.js.map +1 -1
- package/dist/index200.js +9 -5
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +8 -9
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +19 -5
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +28 -5
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +16 -4
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +58 -11
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +8 -10
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +66 -10
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +19 -11
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +16 -11
- package/dist/index209.js.map +1 -1
- package/dist/index210.js +5 -10
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +5 -7
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +6 -6
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +4 -5
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +7 -6
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +17 -7
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +5 -6
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +5 -55
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +13 -23
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +10 -16
- package/dist/index219.js.map +1 -1
- package/dist/index220.js +14 -7
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +14 -10
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +5 -10
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +6 -21
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +7 -10
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +6 -9
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +9 -9
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +5 -4
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +5 -5
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +9 -16
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +5 -9
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +5 -18
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +4 -15
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +11 -12
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +10 -29
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +10 -12
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +11 -25
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +11 -5
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +10 -24
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +8 -29
- package/dist/index239.js.map +1 -1
- package/dist/index240.js +7 -5
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +5 -13
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +6 -154
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +7 -30
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +6 -9
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +53 -45
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +23 -11
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +14 -42
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +7 -95
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +9 -85
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +9 -104
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +21 -52
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +10 -11
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +9 -37
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +8 -7
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +4 -116
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +5 -17
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +15 -14
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +9 -3
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +16 -34
- package/dist/index259.js.map +1 -1
- package/dist/index260.js +15 -20
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +12 -9
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +29 -8
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +11 -18
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +23 -26
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +5 -16
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +5 -5
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +3 -19
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +23 -12
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +113 -5
- package/dist/index269.js.map +1 -1
- package/dist/index270.js +16 -3
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +522 -21
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +127 -112
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +133 -15
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +19 -523
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +4 -127
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +18 -133
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +12 -20
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +69 -6
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +9 -6
- package/dist/index279.js.map +1 -1
- package/dist/index280.js +14 -4
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +65 -15
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +64 -8
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +5 -5
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +5 -4
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +4 -546
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +16 -47
- package/dist/index286.js.map +1 -1
- package/dist/index287.js +8 -17
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +5 -6
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +4 -8
- package/dist/index289.js.map +1 -1
- package/dist/index29.js +5 -5
- package/dist/index290.js +545 -7
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +47 -9
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +17 -12
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +6 -9
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +8 -13
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +7 -64
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +9 -69
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +13 -9
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +10 -14
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +14 -66
- package/dist/index299.js.map +1 -1
- package/dist/index30.js +24 -24
- package/dist/index300.js +3 -4
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +23 -56
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +5 -68
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +55 -30
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +68 -9
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +26 -148
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +9 -108
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +153 -4
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +108 -23
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +22 -15
- package/dist/index309.js.map +1 -1
- package/dist/index310.js +12 -28
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +27 -12
- package/dist/index311.js.map +1 -1
- package/dist/index312.js +5 -7
- package/dist/index312.js.map +1 -1
- package/dist/index313.js +15 -22
- package/dist/index313.js.map +1 -1
- package/dist/index314.js +28 -12
- package/dist/index314.js.map +1 -1
- package/dist/index315.js +12 -27
- package/dist/index315.js.map +1 -1
- package/dist/index316.js +7 -5
- package/dist/index316.js.map +1 -1
- package/dist/index40.js +2 -2
- package/dist/index41.js +20 -20
- package/dist/index45.js +1 -1
- package/dist/index46.js +1 -1
- package/dist/index47.js +7 -7
- package/dist/index48.js +4 -2
- package/dist/index48.js.map +1 -1
- package/dist/index49.js +7 -2
- package/dist/index49.js.map +1 -1
- package/dist/index50.js +46 -5
- package/dist/index50.js.map +1 -1
- package/dist/index51.js +26 -33
- package/dist/index51.js.map +1 -1
- package/dist/index52.js +48 -24
- package/dist/index52.js.map +1 -1
- package/dist/index53.js +7 -7
- package/dist/index53.js.map +1 -1
- package/dist/index54.js +11 -8
- package/dist/index54.js.map +1 -1
- package/dist/index55.js +133 -3
- package/dist/index55.js.map +1 -1
- package/dist/index56.js +10 -47
- package/dist/index56.js.map +1 -1
- package/dist/index57.js +214 -48
- package/dist/index57.js.map +1 -1
- package/dist/index58.js +13 -8
- package/dist/index58.js.map +1 -1
- package/dist/index59.js +33 -14
- package/dist/index59.js.map +1 -1
- package/dist/index60.js +41 -128
- package/dist/index60.js.map +1 -1
- package/dist/index61.js +7 -10
- package/dist/index61.js.map +1 -1
- package/dist/index62.js +46 -213
- package/dist/index62.js.map +1 -1
- package/dist/index63.js +4 -13
- package/dist/index63.js.map +1 -1
- package/dist/index64.js +5 -46
- package/dist/index64.js.map +1 -1
- package/dist/index65.js +28 -50
- package/dist/index65.js.map +1 -1
- package/dist/index66.js +49 -3
- package/dist/index66.js.map +1 -1
- package/dist/index67.js +9 -6
- package/dist/index67.js.map +1 -1
- package/dist/index68.js +2 -28
- package/dist/index68.js.map +1 -1
- package/dist/index69.js +2 -50
- package/dist/index69.js.map +1 -1
- package/dist/index70.js +11 -8
- package/dist/index70.js.map +1 -1
- package/dist/index72.js +1 -1
- package/dist/index73.js +2 -2
- package/dist/index74.js +2 -2
- package/dist/index75.js +40 -599
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +206 -52
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +22 -5
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +24 -4
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +399 -15
- package/dist/index79.js.map +1 -1
- package/dist/index80.js +46 -5
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +605 -7
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +5 -16
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +68 -4
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +2 -5
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +363 -5
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +261 -5
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +60 -4
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +46 -4
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +169 -6
- package/dist/index89.js.map +1 -1
- package/dist/index90.js +109 -24
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +24 -6
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +8 -5
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +4 -6
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +5 -5
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +4 -4
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +466 -5
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +185 -4
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +107 -8
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +262 -5
- package/dist/index99.js.map +1 -1
- package/package.json +1 -1
package/dist/index108.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index108.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index108.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/DayButton.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render a button for a specific day in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function DayButton(props) {\n const { day, modifiers, ...buttonProps } = props;\n const ref = React.useRef(null);\n React.useEffect(() => {\n if (modifiers.focused)\n ref.current?.focus();\n }, [modifiers.focused]);\n return React.createElement(\"button\", { ref: ref, ...buttonProps });\n}\n"],"names":["DayButton","props","day","modifiers","buttonProps","ref","React"],"mappings":";AAOO,SAASA,EAAUC,GAAO;AAC7B,QAAM,EAAE,KAAAC,GAAK,WAAAC,GAAW,GAAGC,EAAW,IAAKH,GACrCI,IAAMC,EAAM,OAAO,IAAI;AAC7BA,SAAAA,EAAM,UAAU,MAAM;AAClB,IAAIH,EAAU,WACVE,EAAI,SAAS,MAAK;AAAA,EAC1B,GAAG,CAACF,EAAU,OAAO,CAAC,GACfG,EAAM,cAAc,UAAU,EAAE,KAAKD,GAAK,GAAGD,GAAa;AACrE;","x_google_ignoreList":[0]}
|
package/dist/index109.js
CHANGED
|
@@ -1,11 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import e from "react";
|
|
2
|
+
import { UI as o } from "./index143.js";
|
|
3
|
+
function f(c) {
|
|
4
|
+
const { options: l, className: r, components: s, classNames: a, ...n } = c, i = [a[o.Dropdown], r].join(" "), m = l?.find(({ value: t }) => t === n.value);
|
|
5
|
+
return e.createElement(
|
|
6
|
+
"span",
|
|
7
|
+
{ "data-disabled": n.disabled, className: a[o.DropdownRoot] },
|
|
8
|
+
e.createElement(s.Select, { className: i, ...n }, l?.map(({ value: t, label: d, disabled: p }) => e.createElement(s.Option, { key: t, value: t, disabled: p }, d))),
|
|
9
|
+
e.createElement(
|
|
10
|
+
"span",
|
|
11
|
+
{ className: a[o.CaptionLabel], "aria-hidden": !0 },
|
|
12
|
+
m?.label,
|
|
13
|
+
e.createElement(s.Chevron, { orientation: "down", size: 18, className: a[o.Chevron] })
|
|
14
|
+
)
|
|
15
|
+
);
|
|
7
16
|
}
|
|
8
17
|
export {
|
|
9
|
-
f as
|
|
18
|
+
f as Dropdown
|
|
10
19
|
};
|
|
11
20
|
//# sourceMappingURL=index109.js.map
|
package/dist/index109.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index109.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index109.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Dropdown.js"],"sourcesContent":["import React from \"react\";\nimport { UI } from \"../UI.js\";\n/**\n * Render a dropdown component for navigation in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Dropdown(props) {\n const { options, className, components, classNames, ...selectProps } = props;\n const cssClassSelect = [classNames[UI.Dropdown], className].join(\" \");\n const selectedOption = options?.find(({ value }) => value === selectProps.value);\n return (React.createElement(\"span\", { \"data-disabled\": selectProps.disabled, className: classNames[UI.DropdownRoot] },\n React.createElement(components.Select, { className: cssClassSelect, ...selectProps }, options?.map(({ value, label, disabled }) => (React.createElement(components.Option, { key: value, value: value, disabled: disabled }, label)))),\n React.createElement(\"span\", { className: classNames[UI.CaptionLabel], \"aria-hidden\": true },\n selectedOption?.label,\n React.createElement(components.Chevron, { orientation: \"down\", size: 18, className: classNames[UI.Chevron] }))));\n}\n"],"names":["Dropdown","props","options","className","components","classNames","selectProps","cssClassSelect","UI","selectedOption","value","React","label","disabled"],"mappings":";;AAQO,SAASA,EAASC,GAAO;AAC5B,QAAM,EAAE,SAAAC,GAAS,WAAAC,GAAW,YAAAC,GAAY,YAAAC,GAAY,GAAGC,EAAW,IAAKL,GACjEM,IAAiB,CAACF,EAAWG,EAAG,QAAQ,GAAGL,CAAS,EAAE,KAAK,GAAG,GAC9DM,IAAiBP,GAAS,KAAK,CAAC,EAAE,OAAAQ,QAAYA,MAAUJ,EAAY,KAAK;AAC/E,SAAQK,EAAM;AAAA,IAAc;AAAA,IAAQ,EAAE,iBAAiBL,EAAY,UAAU,WAAWD,EAAWG,EAAG,YAAY,EAAC;AAAA,IAC/GG,EAAM,cAAcP,EAAW,QAAQ,EAAE,WAAWG,GAAgB,GAAGD,EAAW,GAAIJ,GAAS,IAAI,CAAC,EAAE,OAAAQ,GAAO,OAAAE,GAAO,UAAAC,QAAgBF,EAAM,cAAcP,EAAW,QAAQ,EAAE,KAAKM,GAAO,OAAOA,GAAO,UAAUG,EAAQ,GAAID,CAAK,CAAE,CAAC;AAAA,IACrOD,EAAM;AAAA,MAAc;AAAA,MAAQ,EAAE,WAAWN,EAAWG,EAAG,YAAY,GAAG,eAAe,GAAI;AAAA,MACrFC,GAAgB;AAAA,MAChBE,EAAM,cAAcP,EAAW,SAAS,EAAE,aAAa,QAAQ,MAAM,IAAI,WAAWC,EAAWG,EAAG,OAAO,EAAC,CAAE;AAAA,IAAC;AAAA,EAAC;AAC1H;","x_google_ignoreList":[0]}
|
package/dist/index110.js
CHANGED
|
@@ -1,35 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { labelNav as n } from "./index140.js";
|
|
5
|
-
import { labelGridcell as t } from "./index138.js";
|
|
6
|
-
import { labelGrid as d } from "./index137.js";
|
|
7
|
-
import { labelYearDropdown as p } from "./index146.js";
|
|
8
|
-
import { labelWeekNumber as m } from "./index144.js";
|
|
9
|
-
import { labelPrevious as f } from "./index142.js";
|
|
10
|
-
import { labelNext as N } from "./index141.js";
|
|
11
|
-
import { labelMonthDropdown as k } from "./index139.js";
|
|
12
|
-
import { labelDayButton as D } from "./index136.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 t from "react";
|
|
2
|
+
function o(e) {
|
|
3
|
+
return t.createElement("div", { ...e });
|
|
31
4
|
}
|
|
32
5
|
export {
|
|
33
|
-
|
|
6
|
+
o as DropdownNav
|
|
34
7
|
};
|
|
35
8
|
//# sourceMappingURL=index110.js.map
|
package/dist/index110.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index110.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index110.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/DropdownNav.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the navigation dropdowns for the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function DropdownNav(props) {\n return React.createElement(\"div\", { ...props });\n}\n"],"names":["DropdownNav","props","React"],"mappings":";AAOO,SAASA,EAAYC,GAAO;AAC/B,SAAOC,EAAM,cAAc,OAAO,EAAE,GAAGD,EAAK,CAAE;AAClD;","x_google_ignoreList":[0]}
|
package/dist/index111.js
CHANGED
|
@@ -1,14 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
return
|
|
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
|
+
import t from "react";
|
|
2
|
+
function o(e) {
|
|
3
|
+
return t.createElement("div", { ...e });
|
|
10
4
|
}
|
|
11
5
|
export {
|
|
12
|
-
|
|
6
|
+
o as Footer
|
|
13
7
|
};
|
|
14
8
|
//# sourceMappingURL=index111.js.map
|
package/dist/index111.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index111.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index111.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Footer.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the footer of the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Footer(props) {\n return React.createElement(\"div\", { ...props });\n}\n"],"names":["Footer","props","React"],"mappings":";AAOO,SAASA,EAAOC,GAAO;AAC1B,SAAOC,EAAM,cAAc,OAAO,EAAE,GAAGD,EAAK,CAAE;AAClD;","x_google_ignoreList":[0]}
|
package/dist/index112.js
CHANGED
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
function
|
|
3
|
-
|
|
4
|
-
return
|
|
5
|
-
e = {
|
|
6
|
-
...e,
|
|
7
|
-
...i?.[t]
|
|
8
|
-
};
|
|
9
|
-
}), e;
|
|
1
|
+
import n from "react";
|
|
2
|
+
function a(e) {
|
|
3
|
+
const { calendarMonth: r, displayIndex: d, ...t } = e;
|
|
4
|
+
return n.createElement("div", { ...t }, e.children);
|
|
10
5
|
}
|
|
11
6
|
export {
|
|
12
|
-
|
|
7
|
+
a as Month
|
|
13
8
|
};
|
|
14
9
|
//# sourceMappingURL=index112.js.map
|
package/dist/index112.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index112.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index112.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Month.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the grid with the weekday header row and the weeks for a specific\n * month.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Month(props) {\n const { calendarMonth, displayIndex, ...divProps } = props;\n return React.createElement(\"div\", { ...divProps }, props.children);\n}\n"],"names":["Month","props","calendarMonth","displayIndex","divProps","React"],"mappings":";AAQO,SAASA,EAAMC,GAAO;AACzB,QAAM,EAAE,eAAAC,GAAe,cAAAC,GAAc,GAAGC,EAAQ,IAAKH;AACrD,SAAOI,EAAM,cAAc,OAAO,EAAE,GAAGD,EAAQ,GAAIH,EAAM,QAAQ;AACrE;","x_google_ignoreList":[0]}
|
package/dist/index113.js
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
r.push(f);
|
|
6
|
-
}
|
|
7
|
-
return r;
|
|
1
|
+
import n from "react";
|
|
2
|
+
function d(t) {
|
|
3
|
+
const { calendarMonth: o, displayIndex: r, ...e } = t;
|
|
4
|
+
return n.createElement("div", { ...e });
|
|
8
5
|
}
|
|
9
6
|
export {
|
|
10
|
-
|
|
7
|
+
d as MonthCaption
|
|
11
8
|
};
|
|
12
9
|
//# sourceMappingURL=index113.js.map
|
package/dist/index113.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index113.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index113.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/MonthCaption.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the caption for a month in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function MonthCaption(props) {\n const { calendarMonth, displayIndex, ...divProps } = props;\n return React.createElement(\"div\", { ...divProps });\n}\n"],"names":["MonthCaption","props","calendarMonth","displayIndex","divProps","React"],"mappings":";AAOO,SAASA,EAAaC,GAAO;AAChC,QAAM,EAAE,eAAAC,GAAe,cAAAC,GAAc,GAAGC,EAAQ,IAAKH;AACrD,SAAOI,EAAM,cAAc,OAAO,EAAE,GAAGD,EAAQ,CAAE;AACrD;","x_google_ignoreList":[0]}
|
package/dist/index114.js
CHANGED
|
@@ -1,17 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const { startOfYear: o, endOfYear: i, eachYearOfInterval: l, getYear: u } = t, Y = o(e), c = i(r), a = l({ start: Y, end: c });
|
|
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 e from "react";
|
|
2
|
+
function n(t) {
|
|
3
|
+
return e.createElement("table", { ...t });
|
|
13
4
|
}
|
|
14
5
|
export {
|
|
15
|
-
|
|
6
|
+
n as MonthGrid
|
|
16
7
|
};
|
|
17
8
|
//# sourceMappingURL=index114.js.map
|
package/dist/index114.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index114.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index114.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/MonthGrid.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the grid of days for a specific month.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function MonthGrid(props) {\n return React.createElement(\"table\", { ...props });\n}\n"],"names":["MonthGrid","props","React"],"mappings":";AAOO,SAASA,EAAUC,GAAO;AAC7B,SAAOC,EAAM,cAAc,SAAS,EAAE,GAAGD,EAAK,CAAE;AACpD;","x_google_ignoreList":[0]}
|
package/dist/index115.js
CHANGED
|
@@ -1,105 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { differenceInCalendarDays as O } from "./index190.js";
|
|
5
|
-
import { getISOWeek as k } from "./index198.js";
|
|
6
|
-
import { getWeek as w } from "./index201.js";
|
|
7
|
-
function W(o, D = {}) {
|
|
8
|
-
const { weekStartsOn: d, locale: g } = D, l = d ?? g?.options?.weekStartsOn ?? 0, r = (t) => {
|
|
9
|
-
const e = typeof t == "number" || typeof t == "string" ? new Date(t) : t;
|
|
10
|
-
return new c(e.getFullYear(), e.getMonth(), e.getDate(), 12, 0, 0, o);
|
|
11
|
-
}, u = (t) => {
|
|
12
|
-
const e = r(t);
|
|
13
|
-
return new Date(e.getFullYear(), e.getMonth(), e.getDate(), 0, 0, 0, 0);
|
|
14
|
-
};
|
|
15
|
-
return {
|
|
16
|
-
today: () => r(c.tz(o)),
|
|
17
|
-
newDate: (t, e, n) => new c(t, e, n, 12, 0, 0, o),
|
|
18
|
-
startOfDay: (t) => r(t),
|
|
19
|
-
startOfWeek: (t, e) => {
|
|
20
|
-
const n = r(t), a = e?.weekStartsOn ?? l, s = (n.getDay() - a + 7) % 7;
|
|
21
|
-
return n.setDate(n.getDate() - s), n;
|
|
22
|
-
},
|
|
23
|
-
startOfISOWeek: (t) => {
|
|
24
|
-
const e = r(t), n = (e.getDay() - 1 + 7) % 7;
|
|
25
|
-
return e.setDate(e.getDate() - n), e;
|
|
26
|
-
},
|
|
27
|
-
startOfMonth: (t) => {
|
|
28
|
-
const e = r(t);
|
|
29
|
-
return e.setDate(1), e;
|
|
30
|
-
},
|
|
31
|
-
startOfYear: (t) => {
|
|
32
|
-
const e = r(t);
|
|
33
|
-
return e.setMonth(0, 1), e;
|
|
34
|
-
},
|
|
35
|
-
endOfWeek: (t, e) => {
|
|
36
|
-
const n = r(t), f = (((e?.weekStartsOn ?? l) + 6) % 7 - n.getDay() + 7) % 7;
|
|
37
|
-
return n.setDate(n.getDate() + f), n;
|
|
38
|
-
},
|
|
39
|
-
endOfISOWeek: (t) => {
|
|
40
|
-
const e = r(t), n = (7 - e.getDay()) % 7;
|
|
41
|
-
return e.setDate(e.getDate() + n), e;
|
|
42
|
-
},
|
|
43
|
-
endOfMonth: (t) => {
|
|
44
|
-
const e = r(t);
|
|
45
|
-
return e.setMonth(e.getMonth() + 1, 0), e;
|
|
46
|
-
},
|
|
47
|
-
endOfYear: (t) => {
|
|
48
|
-
const e = r(t);
|
|
49
|
-
return e.setMonth(11, 31), e;
|
|
50
|
-
},
|
|
51
|
-
eachMonthOfInterval: (t) => {
|
|
52
|
-
const e = r(t.start), n = r(t.end), a = [], s = new c(e.getFullYear(), e.getMonth(), 1, 12, 0, 0, o), f = n.getFullYear() * 12 + n.getMonth();
|
|
53
|
-
for (; s.getFullYear() * 12 + s.getMonth() <= f; )
|
|
54
|
-
a.push(new c(s, o)), s.setMonth(s.getMonth() + 1, 1);
|
|
55
|
-
return a;
|
|
56
|
-
},
|
|
57
|
-
// Normalize to noon once before arithmetic (avoid DST/midnight edge cases),
|
|
58
|
-
// mutate the same TZDate, and return it.
|
|
59
|
-
addDays: (t, e) => {
|
|
60
|
-
const n = r(t);
|
|
61
|
-
return n.setDate(n.getDate() + e), n;
|
|
62
|
-
},
|
|
63
|
-
addWeeks: (t, e) => {
|
|
64
|
-
const n = r(t);
|
|
65
|
-
return n.setDate(n.getDate() + e * 7), n;
|
|
66
|
-
},
|
|
67
|
-
addMonths: (t, e) => {
|
|
68
|
-
const n = r(t);
|
|
69
|
-
return n.setMonth(n.getMonth() + e), n;
|
|
70
|
-
},
|
|
71
|
-
addYears: (t, e) => {
|
|
72
|
-
const n = r(t);
|
|
73
|
-
return n.setFullYear(n.getFullYear() + e), n;
|
|
74
|
-
},
|
|
75
|
-
eachYearOfInterval: (t) => {
|
|
76
|
-
const e = r(t.start), n = r(t.end), a = [], s = new c(e.getFullYear(), 0, 1, 12, 0, 0, o);
|
|
77
|
-
for (; s.getFullYear() <= n.getFullYear(); )
|
|
78
|
-
a.push(new c(s, o)), s.setFullYear(s.getFullYear() + 1, 0, 1);
|
|
79
|
-
return a;
|
|
80
|
-
},
|
|
81
|
-
getWeek: (t, e) => {
|
|
82
|
-
const n = u(t);
|
|
83
|
-
return w(n, {
|
|
84
|
-
weekStartsOn: e?.weekStartsOn ?? l,
|
|
85
|
-
firstWeekContainsDate: e?.firstWeekContainsDate ?? g?.options?.firstWeekContainsDate ?? 1
|
|
86
|
-
});
|
|
87
|
-
},
|
|
88
|
-
getISOWeek: (t) => {
|
|
89
|
-
const e = u(t);
|
|
90
|
-
return k(e);
|
|
91
|
-
},
|
|
92
|
-
differenceInCalendarDays: (t, e) => {
|
|
93
|
-
const n = u(t), a = u(e);
|
|
94
|
-
return O(n, a);
|
|
95
|
-
},
|
|
96
|
-
differenceInCalendarMonths: (t, e) => {
|
|
97
|
-
const n = u(t), a = u(e);
|
|
98
|
-
return h(n, a);
|
|
99
|
-
}
|
|
100
|
-
};
|
|
1
|
+
import e from "react";
|
|
2
|
+
function n(t) {
|
|
3
|
+
return e.createElement("div", { ...t });
|
|
101
4
|
}
|
|
102
5
|
export {
|
|
103
|
-
|
|
6
|
+
n as Months
|
|
104
7
|
};
|
|
105
8
|
//# sourceMappingURL=index115.js.map
|
package/dist/index115.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index115.js","sources":["../../../node_modules/react-day-picker/dist/esm/noonDateLib.js"],"sourcesContent":["import { TZDate } from \"@date-fns/tz\";\nimport { differenceInCalendarDays as differenceInCalendarDaysFn, differenceInCalendarMonths as differenceInCalendarMonthsFn, getISOWeek as getISOWeekFn, getWeek as getWeekFn, } from \"date-fns\";\n/**\n * Creates `dateLib` overrides that keep all calendar math at noon in the target\n * time zone. This avoids second-level offset changes (e.g., historical zones\n * with +03:41:12) from pushing dates backward across midnight.\n */\nexport function createNoonOverrides(timeZone, options = {}) {\n const { weekStartsOn, locale } = options;\n const fallbackWeekStartsOn = (weekStartsOn ??\n locale?.options?.weekStartsOn ??\n 0);\n // Keep all internal math anchored at noon in the target zone to avoid\n // historical second-level offsets from crossing midnight.\n const toNoonTZDate = (date) => {\n const normalizedDate = typeof date === \"number\" || typeof date === \"string\"\n ? new Date(date)\n : date;\n return new TZDate(normalizedDate.getFullYear(), normalizedDate.getMonth(), normalizedDate.getDate(), 12, 0, 0, timeZone);\n };\n // Convert a value into a host `Date` that represents the same calendar day\n // as the target-zone noon. This is useful for helpers (e.g., date-fns week\n // utilities) that expect local `Date` instances rather than `TZDate`s.\n const toCalendarDate = (date) => {\n const zoned = toNoonTZDate(date);\n return new Date(zoned.getFullYear(), zoned.getMonth(), zoned.getDate(), 0, 0, 0, 0);\n };\n return {\n today: () => {\n return toNoonTZDate(TZDate.tz(timeZone));\n },\n newDate: (year, monthIndex, date) => {\n return new TZDate(year, monthIndex, date, 12, 0, 0, timeZone);\n },\n startOfDay: (date) => {\n return toNoonTZDate(date);\n },\n startOfWeek: (date, options) => {\n const base = toNoonTZDate(date);\n const weekStartsOnValue = (options?.weekStartsOn ??\n fallbackWeekStartsOn);\n const diff = (base.getDay() - weekStartsOnValue + 7) % 7;\n base.setDate(base.getDate() - diff);\n return base;\n },\n startOfISOWeek: (date) => {\n const base = toNoonTZDate(date);\n const diff = (base.getDay() - 1 + 7) % 7;\n base.setDate(base.getDate() - diff);\n return base;\n },\n startOfMonth: (date) => {\n const base = toNoonTZDate(date);\n base.setDate(1);\n return base;\n },\n startOfYear: (date) => {\n const base = toNoonTZDate(date);\n base.setMonth(0, 1);\n return base;\n },\n endOfWeek: (date, options) => {\n const base = toNoonTZDate(date);\n const weekStartsOnValue = (options?.weekStartsOn ??\n fallbackWeekStartsOn);\n const endDow = (weekStartsOnValue + 6) % 7;\n const diff = (endDow - base.getDay() + 7) % 7;\n base.setDate(base.getDate() + diff);\n return base;\n },\n endOfISOWeek: (date) => {\n const base = toNoonTZDate(date);\n const diff = (7 - base.getDay()) % 7;\n base.setDate(base.getDate() + diff);\n return base;\n },\n endOfMonth: (date) => {\n const base = toNoonTZDate(date);\n base.setMonth(base.getMonth() + 1, 0);\n return base;\n },\n endOfYear: (date) => {\n const base = toNoonTZDate(date);\n base.setMonth(11, 31);\n return base;\n },\n eachMonthOfInterval: (interval) => {\n const start = toNoonTZDate(interval.start);\n const end = toNoonTZDate(interval.end);\n const result = [];\n const cursor = new TZDate(start.getFullYear(), start.getMonth(), 1, 12, 0, 0, timeZone);\n const endKey = end.getFullYear() * 12 + end.getMonth();\n while (cursor.getFullYear() * 12 + cursor.getMonth() <= endKey) {\n result.push(new TZDate(cursor, timeZone));\n cursor.setMonth(cursor.getMonth() + 1, 1);\n }\n return result;\n },\n // Normalize to noon once before arithmetic (avoid DST/midnight edge cases),\n // mutate the same TZDate, and return it.\n addDays: (date, amount) => {\n const base = toNoonTZDate(date);\n base.setDate(base.getDate() + amount);\n return base;\n },\n addWeeks: (date, amount) => {\n const base = toNoonTZDate(date);\n base.setDate(base.getDate() + amount * 7);\n return base;\n },\n addMonths: (date, amount) => {\n const base = toNoonTZDate(date);\n base.setMonth(base.getMonth() + amount);\n return base;\n },\n addYears: (date, amount) => {\n const base = toNoonTZDate(date);\n base.setFullYear(base.getFullYear() + amount);\n return base;\n },\n eachYearOfInterval: (interval) => {\n const start = toNoonTZDate(interval.start);\n const end = toNoonTZDate(interval.end);\n const years = [];\n const cursor = new TZDate(start.getFullYear(), 0, 1, 12, 0, 0, timeZone);\n while (cursor.getFullYear() <= end.getFullYear()) {\n years.push(new TZDate(cursor, timeZone));\n cursor.setFullYear(cursor.getFullYear() + 1, 0, 1);\n }\n return years;\n },\n getWeek: (date, options) => {\n const base = toCalendarDate(date);\n return getWeekFn(base, {\n weekStartsOn: options?.weekStartsOn ?? fallbackWeekStartsOn,\n firstWeekContainsDate: options?.firstWeekContainsDate ??\n locale?.options?.firstWeekContainsDate ??\n 1,\n });\n },\n getISOWeek: (date) => {\n const base = toCalendarDate(date);\n return getISOWeekFn(base);\n },\n differenceInCalendarDays: (dateLeft, dateRight) => {\n const left = toCalendarDate(dateLeft);\n const right = toCalendarDate(dateRight);\n return differenceInCalendarDaysFn(left, right);\n },\n differenceInCalendarMonths: (dateLeft, dateRight) => {\n const left = toCalendarDate(dateLeft);\n const right = toCalendarDate(dateRight);\n return differenceInCalendarMonthsFn(left, right);\n },\n };\n}\n"],"names":["createNoonOverrides","timeZone","options","weekStartsOn","locale","fallbackWeekStartsOn","toNoonTZDate","date","normalizedDate","TZDate","toCalendarDate","zoned","year","monthIndex","base","weekStartsOnValue","diff","interval","start","end","result","cursor","endKey","amount","years","getWeekFn","getISOWeekFn","dateLeft","dateRight","left","right","differenceInCalendarDaysFn","differenceInCalendarMonthsFn"],"mappings":";;;;;;AAOO,SAASA,EAAoBC,GAAUC,IAAU,IAAI;AACxD,QAAM,EAAE,cAAAC,GAAc,QAAAC,EAAM,IAAKF,GAC3BG,IAAwBF,KAC1BC,GAAQ,SAAS,gBACjB,GAGEE,IAAe,CAACC,MAAS;AAC3B,UAAMC,IAAiB,OAAOD,KAAS,YAAY,OAAOA,KAAS,WAC7D,IAAI,KAAKA,CAAI,IACbA;AACN,WAAO,IAAIE,EAAOD,EAAe,YAAW,GAAIA,EAAe,SAAQ,GAAIA,EAAe,QAAO,GAAI,IAAI,GAAG,GAAGP,CAAQ;AAAA,EAC3H,GAIMS,IAAiB,CAACH,MAAS;AAC7B,UAAMI,IAAQL,EAAaC,CAAI;AAC/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,CAAK;AAAA,IACnD;AAAA,EACR;AACA;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index115.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Months.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render a container wrapping the month grids.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Months(props) {\n return React.createElement(\"div\", { ...props });\n}\n"],"names":["Months","props","React"],"mappings":";AAOO,SAASA,EAAOC,GAAO;AAC1B,SAAOC,EAAM,cAAc,OAAO,EAAE,GAAGD,EAAK,CAAE;AAClD;","x_google_ignoreList":[0]}
|
package/dist/index116.js
CHANGED
|
@@ -1,23 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
e.disabled = "disabled", e.hidden = "hidden", e.outside = "outside", e.focused = "focused", e.today = "today";
|
|
8
|
-
})(t || (t = {}));
|
|
9
|
-
var r;
|
|
10
|
-
(function(e) {
|
|
11
|
-
e.range_end = "range_end", e.range_middle = "range_middle", e.range_start = "range_start", e.selected = "selected";
|
|
12
|
-
})(r || (r = {}));
|
|
13
|
-
var n;
|
|
14
|
-
(function(e) {
|
|
15
|
-
e.weeks_before_enter = "weeks_before_enter", e.weeks_before_exit = "weeks_before_exit", e.weeks_after_enter = "weeks_after_enter", e.weeks_after_exit = "weeks_after_exit", e.caption_after_enter = "caption_after_enter", e.caption_after_exit = "caption_after_exit", e.caption_before_enter = "caption_before_enter", e.caption_before_exit = "caption_before_exit";
|
|
16
|
-
})(n || (n = {}));
|
|
1
|
+
import e from "react";
|
|
2
|
+
import { useDayPicker as r } from "./index146.js";
|
|
3
|
+
function m(o) {
|
|
4
|
+
const { components: t } = r();
|
|
5
|
+
return e.createElement(t.Dropdown, { ...o });
|
|
6
|
+
}
|
|
17
7
|
export {
|
|
18
|
-
|
|
19
|
-
t as DayFlag,
|
|
20
|
-
r as SelectionState,
|
|
21
|
-
o as UI
|
|
8
|
+
m as MonthsDropdown
|
|
22
9
|
};
|
|
23
10
|
//# sourceMappingURL=index116.js.map
|
package/dist/index116.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index116.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index116.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js"],"sourcesContent":["import React from \"react\";\nimport { useDayPicker } from \"../useDayPicker.js\";\n/**\n * Render a dropdown to navigate between months in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function MonthsDropdown(props) {\n const { components } = useDayPicker();\n return React.createElement(components.Dropdown, { ...props });\n}\n"],"names":["MonthsDropdown","props","components","useDayPicker","React"],"mappings":";;AAQO,SAASA,EAAeC,GAAO;AAClC,QAAM,EAAE,YAAAC,EAAU,IAAKC,EAAY;AACnC,SAAOC,EAAM,cAAcF,EAAW,UAAU,EAAE,GAAGD,GAAO;AAChE;","x_google_ignoreList":[0]}
|
package/dist/index117.js
CHANGED
|
@@ -1,57 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
n
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}), y.current = L) : y.current = null, p.current || g || // skip animation if a day is focused because it can cause issues to the animation and is better for a11y
|
|
25
|
-
b)
|
|
26
|
-
return;
|
|
27
|
-
const _ = H instanceof HTMLElement ? q(H) : [], x = q(e.current);
|
|
28
|
-
if (x?.every((i) => i instanceof HTMLElement) && _ && _.every((i) => i instanceof HTMLElement)) {
|
|
29
|
-
p.current = !0, e.current.style.isolation = "isolate";
|
|
30
|
-
const i = B(e.current);
|
|
31
|
-
i && (i.style.zIndex = "1"), x.forEach((t, c) => {
|
|
32
|
-
const n = _[c];
|
|
33
|
-
if (!n)
|
|
34
|
-
return;
|
|
35
|
-
t.style.position = "relative", t.style.overflow = "hidden";
|
|
36
|
-
const r = w(t);
|
|
37
|
-
r && r.classList.add(v);
|
|
38
|
-
const d = h(t);
|
|
39
|
-
d && d.classList.add(m);
|
|
40
|
-
const W = () => {
|
|
41
|
-
p.current = !1, e.current && (e.current.style.isolation = ""), i && (i.style.zIndex = ""), r && r.classList.remove(v), d && d.classList.remove(m), t.style.position = "", t.style.overflow = "", t.contains(n) && t.removeChild(n);
|
|
42
|
-
};
|
|
43
|
-
n.style.pointerEvents = "none", n.style.position = "absolute", n.style.overflow = "hidden", n.setAttribute("aria-hidden", "true");
|
|
44
|
-
const C = P(n);
|
|
45
|
-
C && (C.style.opacity = "0");
|
|
46
|
-
const E = w(n);
|
|
47
|
-
E && (E.classList.add(u ? s[o.caption_before_exit] : s[o.caption_after_exit]), E.addEventListener("animationend", W));
|
|
48
|
-
const T = h(n);
|
|
49
|
-
T && T.classList.add(u ? s[o.weeks_before_exit] : s[o.weeks_after_exit]), t.insertBefore(n, t.firstChild);
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
});
|
|
1
|
+
import n, { useCallback as u } from "react";
|
|
2
|
+
import { UI as i } from "./index143.js";
|
|
3
|
+
import { useDayPicker as v } from "./index146.js";
|
|
4
|
+
function x(c) {
|
|
5
|
+
const { onPreviousClick: l, onNextClick: s, previousMonth: e, nextMonth: t, ...d } = c, { components: a, classNames: o, labels: { labelPrevious: m, labelNext: b } } = v(), f = u((r) => {
|
|
6
|
+
t && s?.(r);
|
|
7
|
+
}, [t, s]), h = u((r) => {
|
|
8
|
+
e && l?.(r);
|
|
9
|
+
}, [e, l]);
|
|
10
|
+
return n.createElement(
|
|
11
|
+
"nav",
|
|
12
|
+
{ ...d },
|
|
13
|
+
n.createElement(
|
|
14
|
+
a.PreviousMonthButton,
|
|
15
|
+
{ type: "button", className: o[i.PreviousMonthButton], tabIndex: e ? void 0 : -1, "aria-disabled": e ? void 0 : !0, "aria-label": m(e), onClick: h },
|
|
16
|
+
n.createElement(a.Chevron, { disabled: e ? void 0 : !0, className: o[i.Chevron], orientation: "left" })
|
|
17
|
+
),
|
|
18
|
+
n.createElement(
|
|
19
|
+
a.NextMonthButton,
|
|
20
|
+
{ type: "button", className: o[i.NextMonthButton], tabIndex: t ? void 0 : -1, "aria-disabled": t ? void 0 : !0, "aria-label": b(t), onClick: f },
|
|
21
|
+
n.createElement(a.Chevron, { disabled: t ? void 0 : !0, orientation: "right", className: o[i.Chevron] })
|
|
22
|
+
)
|
|
23
|
+
);
|
|
53
24
|
}
|
|
54
25
|
export {
|
|
55
|
-
|
|
26
|
+
x as Nav
|
|
56
27
|
};
|
|
57
28
|
//# sourceMappingURL=index117.js.map
|
package/dist/index117.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index117.js","sources":["../../../node_modules/react-day-picker/dist/esm/useAnimation.js"],"sourcesContent":["import { useLayoutEffect, useRef } from \"react\";\nimport { Animation } from \"./UI.js\";\nconst asHtmlElement = (element) => {\n if (element instanceof HTMLElement)\n return element;\n return null;\n};\nconst queryMonthEls = (element) => [\n ...(element.querySelectorAll(\"[data-animated-month]\") ?? []),\n];\nconst queryMonthEl = (element) => asHtmlElement(element.querySelector(\"[data-animated-month]\"));\nconst queryCaptionEl = (element) => asHtmlElement(element.querySelector(\"[data-animated-caption]\"));\nconst queryWeeksEl = (element) => asHtmlElement(element.querySelector(\"[data-animated-weeks]\"));\nconst queryNavEl = (element) => asHtmlElement(element.querySelector(\"[data-animated-nav]\"));\nconst queryWeekdaysEl = (element) => asHtmlElement(element.querySelector(\"[data-animated-weekdays]\"));\n/**\n * Handles animations for transitioning between months in the DayPicker\n * component.\n *\n * @private\n * @param rootElRef - A reference to the root element of the DayPicker\n * component.\n * @param enabled - Whether animations are enabled.\n * @param options - Configuration options for the animation, including class\n * names, months, focused day, and the date utility library.\n */\nexport function useAnimation(rootElRef, enabled, { classNames, months, focused, dateLib, }) {\n const previousRootElSnapshotRef = useRef(null);\n const previousMonthsRef = useRef(months);\n const animatingRef = useRef(false);\n useLayoutEffect(() => {\n // get previous months before updating the previous months ref\n const previousMonths = previousMonthsRef.current;\n // update previous months ref for next effect trigger\n previousMonthsRef.current = months;\n if (!enabled ||\n !rootElRef.current ||\n // safety check because the ref can be set to anything by consumers\n !(rootElRef.current instanceof HTMLElement) ||\n // validation required for the animation to work as expected\n months.length === 0 ||\n previousMonths.length === 0 ||\n months.length !== previousMonths.length) {\n return;\n }\n const isSameMonth = dateLib.isSameMonth(months[0].date, previousMonths[0].date);\n const isAfterPreviousMonth = dateLib.isAfter(months[0].date, previousMonths[0].date);\n const captionAnimationClass = isAfterPreviousMonth\n ? classNames[Animation.caption_after_enter]\n : classNames[Animation.caption_before_enter];\n const weeksAnimationClass = isAfterPreviousMonth\n ? classNames[Animation.weeks_after_enter]\n : classNames[Animation.weeks_before_enter];\n // get previous root element snapshot before updating the snapshot ref\n const previousRootElSnapshot = previousRootElSnapshotRef.current;\n // update snapshot for next effect trigger\n const rootElSnapshot = rootElRef.current.cloneNode(true);\n if (rootElSnapshot instanceof HTMLElement) {\n // if this effect is triggered while animating, we need to clean up the new root snapshot\n // to put it in the same state as when not animating, to correctly animate the next month change\n const currentMonthElsSnapshot = queryMonthEls(rootElSnapshot);\n currentMonthElsSnapshot.forEach((currentMonthElSnapshot) => {\n if (!(currentMonthElSnapshot instanceof HTMLElement))\n return;\n // remove the old month snapshots from the new root snapshot\n const previousMonthElSnapshot = queryMonthEl(currentMonthElSnapshot);\n if (previousMonthElSnapshot &&\n currentMonthElSnapshot.contains(previousMonthElSnapshot)) {\n currentMonthElSnapshot.removeChild(previousMonthElSnapshot);\n }\n // remove animation classes from the new month snapshots\n const captionEl = queryCaptionEl(currentMonthElSnapshot);\n if (captionEl) {\n captionEl.classList.remove(captionAnimationClass);\n }\n const weeksEl = queryWeeksEl(currentMonthElSnapshot);\n if (weeksEl) {\n weeksEl.classList.remove(weeksAnimationClass);\n }\n });\n previousRootElSnapshotRef.current = rootElSnapshot;\n }\n else {\n previousRootElSnapshotRef.current = null;\n }\n if (animatingRef.current ||\n isSameMonth ||\n // skip animation if a day is focused because it can cause issues to the animation and is better for a11y\n focused) {\n return;\n }\n const previousMonthEls = previousRootElSnapshot instanceof HTMLElement\n ? queryMonthEls(previousRootElSnapshot)\n : [];\n const currentMonthEls = queryMonthEls(rootElRef.current);\n if (currentMonthEls?.every((el) => el instanceof HTMLElement) &&\n previousMonthEls &&\n previousMonthEls.every((el) => el instanceof HTMLElement)) {\n animatingRef.current = true;\n const cleanUpFunctions = [];\n // set isolation to isolate to isolate the stacking context during animation\n rootElRef.current.style.isolation = \"isolate\";\n // set z-index to 1 to ensure the nav is clickable over the other elements being animated\n const navEl = queryNavEl(rootElRef.current);\n if (navEl) {\n navEl.style.zIndex = \"1\";\n }\n currentMonthEls.forEach((currentMonthEl, index) => {\n const previousMonthEl = previousMonthEls[index];\n if (!previousMonthEl) {\n return;\n }\n // animate new displayed month\n currentMonthEl.style.position = \"relative\";\n currentMonthEl.style.overflow = \"hidden\";\n const captionEl = queryCaptionEl(currentMonthEl);\n if (captionEl) {\n captionEl.classList.add(captionAnimationClass);\n }\n const weeksEl = queryWeeksEl(currentMonthEl);\n if (weeksEl) {\n weeksEl.classList.add(weeksAnimationClass);\n }\n // animate new displayed month end\n const cleanUp = () => {\n animatingRef.current = false;\n if (rootElRef.current) {\n rootElRef.current.style.isolation = \"\";\n }\n if (navEl) {\n navEl.style.zIndex = \"\";\n }\n if (captionEl) {\n captionEl.classList.remove(captionAnimationClass);\n }\n if (weeksEl) {\n weeksEl.classList.remove(weeksAnimationClass);\n }\n currentMonthEl.style.position = \"\";\n currentMonthEl.style.overflow = \"\";\n if (currentMonthEl.contains(previousMonthEl)) {\n currentMonthEl.removeChild(previousMonthEl);\n }\n };\n cleanUpFunctions.push(cleanUp);\n // animate old displayed month\n previousMonthEl.style.pointerEvents = \"none\";\n previousMonthEl.style.position = \"absolute\";\n previousMonthEl.style.overflow = \"hidden\";\n previousMonthEl.setAttribute(\"aria-hidden\", \"true\");\n // hide the weekdays container of the old month and only the new one\n const previousWeekdaysEl = queryWeekdaysEl(previousMonthEl);\n if (previousWeekdaysEl) {\n previousWeekdaysEl.style.opacity = \"0\";\n }\n const previousCaptionEl = queryCaptionEl(previousMonthEl);\n if (previousCaptionEl) {\n previousCaptionEl.classList.add(isAfterPreviousMonth\n ? classNames[Animation.caption_before_exit]\n : classNames[Animation.caption_after_exit]);\n previousCaptionEl.addEventListener(\"animationend\", cleanUp);\n }\n const previousWeeksEl = queryWeeksEl(previousMonthEl);\n if (previousWeeksEl) {\n previousWeeksEl.classList.add(isAfterPreviousMonth\n ? classNames[Animation.weeks_before_exit]\n : classNames[Animation.weeks_after_exit]);\n }\n currentMonthEl.insertBefore(previousMonthEl, currentMonthEl.firstChild);\n });\n }\n });\n}\n"],"names":["asHtmlElement","element","queryMonthEls","queryMonthEl","queryCaptionEl","queryWeeksEl","queryNavEl","queryWeekdaysEl","useAnimation","rootElRef","enabled","classNames","months","focused","dateLib","previousRootElSnapshotRef","useRef","previousMonthsRef","animatingRef","useLayoutEffect","previousMonths","isSameMonth","isAfterPreviousMonth","captionAnimationClass","Animation","weeksAnimationClass","previousRootElSnapshot","rootElSnapshot","currentMonthElSnapshot","previousMonthElSnapshot","captionEl","weeksEl","previousMonthEls","currentMonthEls","el","navEl","currentMonthEl","index","previousMonthEl","cleanUp","previousWeekdaysEl","previousCaptionEl","previousWeeksEl"],"mappings":";;AAEA,MAAMA,IAAgB,CAACC,MACfA,aAAmB,cACZA,IACJ,MAELC,IAAgB,CAACD,MAAY;AAAA,EAC/B,GAAIA,EAAQ,iBAAiB,uBAAuB,KAAK,CAAA;AAC7D,GACME,IAAe,CAACF,MAA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B,GAEhDW,EAAe,MAAM,WAAW,IAChCA,EAAe,MAAM,WAAW,IAC5BA,EAAe,SAASE,CAAe,KACvCF,EAAe,YAAYE,CAAe;AAAA,QAElD;AAGA,QAAAA,EAAgB,MAAM,gBAAgB,QACtCA,EAAgB,MAAM,WAAW,YACjCA,EAAgB,MAAM,WAAW,UACjCA,EAAgB,aAAa,eAAe,MAAM;AAElD,cAAME,IAAqBjC,EAAgB+B,CAAe;AAC1D,QAAIE,MACAA,EAAmB,MAAM,UAAU;AAEvC,cAAMC,IAAoBrC,EAAekC,CAAe;AACxD,QAAIG,MACAA,EAAkB,UAAU,IAAInB,IAC1BX,EAAWa,EAAU,mBAAmB,IACxCb,EAAWa,EAAU,kBAAkB,CAAC,GAC9CiB,EAAkB,iBAAiB,gBAAgBF,CAAO;AAE9D,cAAMG,IAAkBrC,EAAaiC,CAAe;AACpD,QAAII,KACAA,EAAgB,UAAU,IAAIpB,IACxBX,EAAWa,EAAU,iBAAiB,IACtCb,EAAWa,EAAU,gBAAgB,CAAC,GAEhDY,EAAe,aAAaE,GAAiBF,EAAe,UAAU;AAAA,MAC1E,CAAC;AAAA,IACL;AAAA,EACJ,CAAC;AACL;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index117.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Nav.js"],"sourcesContent":["import React, { useCallback, } from \"react\";\nimport { UI } from \"../UI.js\";\nimport { useDayPicker } from \"../useDayPicker.js\";\n/**\n * Render the navigation toolbar with buttons to navigate between months.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Nav(props) {\n const { onPreviousClick, onNextClick, previousMonth, nextMonth, ...navProps } = props;\n const { components, classNames, labels: { labelPrevious, labelNext }, } = useDayPicker();\n const handleNextClick = useCallback((e) => {\n if (nextMonth) {\n onNextClick?.(e);\n }\n }, [nextMonth, onNextClick]);\n const handlePreviousClick = useCallback((e) => {\n if (previousMonth) {\n onPreviousClick?.(e);\n }\n }, [previousMonth, onPreviousClick]);\n return (React.createElement(\"nav\", { ...navProps },\n React.createElement(components.PreviousMonthButton, { type: \"button\", className: classNames[UI.PreviousMonthButton], tabIndex: previousMonth ? undefined : -1, \"aria-disabled\": previousMonth ? undefined : true, \"aria-label\": labelPrevious(previousMonth), onClick: handlePreviousClick },\n React.createElement(components.Chevron, { disabled: previousMonth ? undefined : true, className: classNames[UI.Chevron], orientation: \"left\" })),\n React.createElement(components.NextMonthButton, { type: \"button\", className: classNames[UI.NextMonthButton], tabIndex: nextMonth ? undefined : -1, \"aria-disabled\": nextMonth ? undefined : true, \"aria-label\": labelNext(nextMonth), onClick: handleNextClick },\n React.createElement(components.Chevron, { disabled: nextMonth ? undefined : true, orientation: \"right\", className: classNames[UI.Chevron] }))));\n}\n"],"names":["Nav","props","onPreviousClick","onNextClick","previousMonth","nextMonth","navProps","components","classNames","labelPrevious","labelNext","useDayPicker","handleNextClick","useCallback","e","handlePreviousClick","React","UI"],"mappings":";;;AASO,SAASA,EAAIC,GAAO;AACvB,QAAM,EAAE,iBAAAC,GAAiB,aAAAC,GAAa,eAAAC,GAAe,WAAAC,GAAW,GAAGC,EAAQ,IAAKL,GAC1E,EAAE,YAAAM,GAAY,YAAAC,GAAY,QAAQ,EAAE,eAAAC,GAAe,WAAAC,EAAS,EAAE,IAAMC,EAAY,GAChFC,IAAkBC,EAAY,CAACC,MAAM;AACvC,IAAIT,KACAF,IAAcW,CAAC;AAAA,EAEvB,GAAG,CAACT,GAAWF,CAAW,CAAC,GACrBY,IAAsBF,EAAY,CAACC,MAAM;AAC3C,IAAIV,KACAF,IAAkBY,CAAC;AAAA,EAE3B,GAAG,CAACV,GAAeF,CAAe,CAAC;AACnC,SAAQc,EAAM;AAAA,IAAc;AAAA,IAAO,EAAE,GAAGV,EAAQ;AAAA,IAC5CU,EAAM;AAAA,MAAcT,EAAW;AAAA,MAAqB,EAAE,MAAM,UAAU,WAAWC,EAAWS,EAAG,mBAAmB,GAAG,UAAUb,IAAgB,S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