@rpcbase/ui 0.241.0 → 0.243.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/components/DayPickerField/index.d.ts.map +1 -1
- package/dist/components/Notifications/NotificationsDrawer.d.ts.map +1 -1
- package/dist/components/PhoneNumberInput/country-options.d.ts +1 -1
- package/dist/components/PhoneNumberInput/country-options.d.ts.map +1 -1
- package/dist/index100.js +8 -4
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +5 -8
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +4 -5
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +3 -3
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +6 -4
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +152 -6
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +38 -144
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +4 -39
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +7 -4
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +12 -6
- package/dist/index109.js.map +1 -1
- package/dist/index110.js +13 -13
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +7 -13
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +30 -6
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +10 -31
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +10 -10
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +8 -10
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +13 -8
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +101 -13
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +20 -102
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +54 -20
- package/dist/index119.js.map +1 -1
- package/dist/index120.js +70 -51
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +9 -72
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +20 -9
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +16 -20
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +23 -16
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +6 -23
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +5 -6
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +23 -5
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +35 -24
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +14 -35
- package/dist/index129.js.map +1 -1
- package/dist/index130.js +5 -16
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +4 -6
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +4 -4
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +4 -4
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +4 -4
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +3 -4
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +4 -3
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +22 -7
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +6 -24
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +4 -7
- package/dist/index139.js.map +1 -1
- package/dist/index140.js +5 -6
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +3 -5
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +3 -3
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +4 -3
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +3 -4
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +4 -3
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +3 -4
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +3 -3
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +3 -3
- package/dist/index148.js.map +1 -1
- package/dist/index149.js +5 -3
- package/dist/index149.js.map +1 -1
- package/dist/index150.js +68 -5
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +2 -69
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +386 -2
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +201 -303
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +46 -247
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +42 -56
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +169 -46
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +96 -156
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +24 -109
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +8 -25
- package/dist/index159.js.map +1 -1
- package/dist/index16.js +91 -91
- package/dist/index16.js.map +1 -1
- package/dist/index160.js +5 -8
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +5 -4
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +4 -5
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +487 -4
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +151 -428
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +13 -185
- package/dist/index165.js.map +1 -1
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +6 -6
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +3 -6
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +15 -17
- package/dist/index169.js.map +1 -1
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +12 -9
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +10 -10
- package/dist/index172.js.map +1 -1
- package/dist/index173.js.map +1 -1
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +1 -1
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +13 -12
- package/dist/index176.js.map +1 -1
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +1 -1
- package/dist/index178.js.map +1 -1
- package/dist/index179.js.map +1 -1
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +1 -1
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +2 -2
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +6 -8
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +161 -246
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +279 -4
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +5 -28
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +23 -122
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +126 -5
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +59 -74
- package/dist/index189.js.map +1 -1
- package/dist/index190.js +7 -65
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +16 -9
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +31 -16
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +65 -88
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +58 -65
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +8 -45
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +77 -48
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +19 -8
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +15 -86
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +4 -18
- package/dist/index199.js.map +1 -1
- package/dist/index200.js +4 -15
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +6 -5
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +4 -5
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +6 -6
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +16 -4
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +4 -6
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +4 -16
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +12 -4
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +9 -4
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +13 -12
- package/dist/index209.js.map +1 -1
- package/dist/index210.js +13 -9
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +4 -13
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +5 -13
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +6 -4
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +5 -5
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +54 -6
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +8 -5
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +4 -54
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +4 -8
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +8 -4
- package/dist/index219.js.map +1 -1
- package/dist/index220.js +4 -4
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +4 -8
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +3 -4
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +10 -4
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +9 -3
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +8 -9
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +10 -9
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +10 -9
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +9 -10
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +6 -10
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +5 -9
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +4 -6
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +5 -5
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +6 -4
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +5 -5
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +16 -6
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +7 -5
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +9 -15
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +10 -7
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +21 -10
- package/dist/index239.js.map +1 -1
- package/dist/index240.js +8 -10
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +9 -21
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +9 -10
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +4 -9
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +5 -9
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +16 -4
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +9 -5
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +18 -16
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +20 -9
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +8 -14
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +29 -15
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +12 -12
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +24 -28
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +5 -12
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +152 -23
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +32 -5
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +12 -20
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +44 -61
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +9 -6
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +11 -11
- package/dist/index259.js.map +1 -1
- package/dist/index260.js +41 -48
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +98 -4
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +84 -27
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +103 -14
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +52 -5
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +11 -21
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +4 -51
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +37 -25
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +8 -41
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +132 -36
- package/dist/index269.js.map +1 -1
- package/dist/index27.js +421 -350
- package/dist/index27.js.map +1 -1
- package/dist/index270.js +18 -45
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +14 -19
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +3 -70
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +34 -15
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +20 -11
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +8 -27
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +9 -13
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +24 -18
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +27 -35
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +16 -262
- package/dist/index279.js.map +1 -1
- package/dist/index280.js +20 -279
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +64 -66
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +6 -99
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +5 -83
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +11 -3
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +3 -29
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +50 -16
- package/dist/index286.js.map +1 -1
- package/dist/index287.js +4 -35
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +28 -15
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +16 -3
- package/dist/index289.js.map +1 -1
- package/dist/index29.js +48 -29
- package/dist/index29.js.map +1 -1
- package/dist/index290.js +5 -26
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +20 -27
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +54 -4
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +18 -76
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +37 -265
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +39 -11
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +45 -10
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +20 -25
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +69 -15
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +14 -122
- package/dist/index299.js.map +1 -1
- package/dist/index300.js +3 -5
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +11 -40
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +12 -64
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +19 -14
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +36 -7
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +239 -5
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +252 -3
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +68 -10
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +99 -7
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +80 -130
- package/dist/index309.js.map +1 -1
- package/dist/index31.js +194 -184
- package/dist/index31.js.map +1 -1
- package/dist/index310.js +3 -399
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +29 -52
- package/dist/index311.js.map +1 -1
- package/dist/index312.js +15 -10
- package/dist/index312.js.map +1 -1
- package/dist/index313.js +35 -12
- package/dist/index313.js.map +1 -1
- package/dist/index314.js +17 -13
- package/dist/index314.js.map +1 -1
- package/dist/index315.js +3 -154
- package/dist/index315.js.map +1 -1
- package/dist/index316.js +25 -29
- package/dist/index316.js.map +1 -1
- package/dist/index317.js +28 -9
- package/dist/index317.js.map +1 -1
- package/dist/index318.js +4 -49
- package/dist/index318.js.map +1 -1
- package/dist/index319.js +77 -10
- package/dist/index319.js.map +1 -1
- package/dist/index32.js +3 -3
- package/dist/index32.js.map +1 -1
- package/dist/index320.js +271 -43
- package/dist/index320.js.map +1 -1
- package/dist/index321.js +11 -95
- package/dist/index321.js.map +1 -1
- package/dist/index322.js +11 -87
- package/dist/index322.js.map +1 -1
- package/dist/index323.js +24 -104
- package/dist/index323.js.map +1 -1
- package/dist/index324.js +16 -52
- package/dist/index324.js.map +1 -1
- package/dist/index325.js +124 -10
- package/dist/index325.js.map +1 -1
- package/dist/index326.js +5 -37
- package/dist/index326.js.map +1 -1
- package/dist/index327.js +65 -8
- package/dist/index327.js.map +1 -1
- package/dist/index328.js +14 -4
- package/dist/index328.js.map +1 -1
- package/dist/index329.js +7 -9
- package/dist/index329.js.map +1 -1
- package/dist/index330.js +5 -116
- package/dist/index330.js.map +1 -1
- package/dist/index331.js +3 -17
- package/dist/index331.js.map +1 -1
- package/dist/index332.js +10 -15
- package/dist/index332.js.map +1 -1
- package/dist/index333.js +7 -36
- package/dist/index333.js.map +1 -1
- package/dist/index334.js +131 -18
- package/dist/index334.js.map +1 -1
- package/dist/index335.js +398 -7
- package/dist/index335.js.map +1 -1
- package/dist/index336.js +5 -20
- package/dist/index336.js.map +1 -1
- package/dist/index337.js +50 -26
- package/dist/index337.js.map +1 -1
- package/dist/index338.js +11 -16
- package/dist/index338.js.map +1 -1
- package/dist/index339.js +27 -8
- package/dist/index339.js.map +1 -1
- package/dist/index34.js +7 -61
- package/dist/index34.js.map +1 -1
- package/dist/index340.js +11 -11
- package/dist/index340.js.map +1 -1
- package/dist/index341.js +8 -8
- package/dist/index341.js.map +1 -1
- package/dist/index342.js +11 -13
- package/dist/index342.js.map +1 -1
- package/dist/index343.js +8 -3
- package/dist/index343.js.map +1 -1
- package/dist/index344.js +13 -3
- package/dist/index344.js.map +1 -1
- package/dist/index345.js +3 -17
- package/dist/index345.js.map +1 -1
- package/dist/index346.js +3 -51
- package/dist/index346.js.map +1 -1
- package/dist/index347.js +17 -5
- package/dist/index347.js.map +1 -1
- package/dist/index348.js +60 -121
- package/dist/index348.js.map +1 -1
- package/dist/index349.js +65 -31
- package/dist/index349.js.map +1 -1
- package/dist/index35.js +29 -30
- package/dist/index35.js.map +1 -1
- package/dist/index350.js +47 -69
- package/dist/index350.js.map +1 -1
- package/dist/index351.js +5 -142
- package/dist/index351.js.map +1 -1
- package/dist/index352.js +7 -60
- package/dist/index352.js.map +1 -1
- package/dist/index353.js +4 -49
- package/dist/index353.js.map +1 -1
- package/dist/index354.js +12 -15
- package/dist/index354.js.map +1 -1
- package/dist/index355.js +21 -8
- package/dist/index355.js.map +1 -1
- package/dist/index356.js +17 -5
- package/dist/index356.js.map +1 -1
- package/dist/index357.js +8 -12
- package/dist/index357.js.map +1 -1
- package/dist/index358.js +144 -21
- package/dist/index358.js.map +1 -1
- package/dist/index359.js +79 -4
- package/dist/index359.js.map +1 -1
- package/dist/index36.js +52 -53
- package/dist/index36.js.map +1 -1
- package/dist/index360.js +61 -17
- package/dist/index360.js.map +1 -1
- package/dist/index361.js +15 -13
- package/dist/index361.js.map +1 -1
- package/dist/index362.js +4 -11
- package/dist/index362.js.map +1 -1
- package/dist/index363.js +18 -17
- package/dist/index363.js.map +1 -1
- package/dist/index364.js +13 -4
- package/dist/index364.js.map +1 -1
- package/dist/index365.js +4 -5
- package/dist/index365.js.map +1 -1
- package/dist/index366.js +20 -20
- package/dist/index366.js.map +1 -1
- package/dist/index367.js +4 -45
- package/dist/index367.js.map +1 -1
- package/dist/index368.js +11 -17
- package/dist/index368.js.map +1 -1
- package/dist/index369.js +6 -5
- package/dist/index369.js.map +1 -1
- package/dist/index37.js.map +1 -1
- package/dist/index370.js +3 -201
- package/dist/index370.js.map +1 -1
- package/dist/index371.js +20 -77
- package/dist/index371.js.map +1 -1
- package/dist/index372.js +45 -21
- package/dist/index372.js.map +1 -1
- package/dist/index373.js +18 -9
- package/dist/index373.js.map +1 -1
- package/dist/index374.js +5 -26
- package/dist/index374.js.map +1 -1
- package/dist/index375.js +196 -22
- package/dist/index375.js.map +1 -1
- package/dist/index376.js +73 -137
- package/dist/index376.js.map +1 -1
- package/dist/index377.js +121 -10
- package/dist/index377.js.map +1 -1
- package/dist/index378.js +7 -225
- package/dist/index378.js.map +1 -1
- package/dist/index379.js +27 -4
- package/dist/index379.js.map +1 -1
- package/dist/index38.js.map +1 -1
- package/dist/index380.js +136 -18
- package/dist/index380.js.map +1 -1
- package/dist/index381.js +10 -75
- package/dist/index381.js.map +1 -1
- package/dist/index382.js +47 -12
- package/dist/index382.js.map +1 -1
- package/dist/index383.js +3 -3
- package/dist/index383.js.map +1 -1
- package/dist/index384.js +19 -69
- package/dist/index384.js.map +1 -1
- package/dist/index385.js +76 -9
- package/dist/index385.js.map +1 -1
- package/dist/index386.js +12 -16
- package/dist/index386.js.map +1 -1
- package/dist/index387.js +3 -4
- package/dist/index387.js.map +1 -1
- package/dist/index388.js +71 -4
- package/dist/index388.js.map +1 -1
- package/dist/index389.js +36 -4
- package/dist/index389.js.map +1 -1
- package/dist/index39.js +3 -3
- package/dist/index39.js.map +1 -1
- package/dist/index390.js +7 -16
- package/dist/index390.js.map +1 -1
- package/dist/index391.js +15 -8
- package/dist/index391.js.map +1 -1
- package/dist/index392.js +4 -5
- package/dist/index392.js.map +1 -1
- package/dist/index393.js +4 -4
- package/dist/index393.js.map +1 -1
- package/dist/index394.js +4 -546
- package/dist/index394.js.map +1 -1
- package/dist/index395.js +16 -47
- package/dist/index395.js.map +1 -1
- package/dist/index396.js +8 -17
- package/dist/index396.js.map +1 -1
- package/dist/index397.js +5 -5
- package/dist/index397.js.map +1 -1
- package/dist/index398.js +4 -7
- package/dist/index398.js.map +1 -1
- package/dist/index399.js +545 -6
- package/dist/index399.js.map +1 -1
- package/dist/index40.js.map +1 -1
- package/dist/index400.js +47 -8
- package/dist/index400.js.map +1 -1
- package/dist/index401.js +17 -11
- package/dist/index401.js.map +1 -1
- package/dist/index402.js +5 -8
- package/dist/index402.js.map +1 -1
- package/dist/index403.js +7 -12
- package/dist/index403.js.map +1 -1
- package/dist/index404.js +7 -3
- package/dist/index404.js.map +1 -1
- package/dist/index405.js +8 -3
- package/dist/index405.js.map +1 -1
- package/dist/index406.js +11 -14
- package/dist/index406.js.map +1 -1
- package/dist/index407.js +8 -491
- package/dist/index407.js.map +1 -1
- package/dist/index408.js +12 -4
- package/dist/index408.js.map +1 -1
- package/dist/index409.js +3 -56
- package/dist/index409.js.map +1 -1
- package/dist/index41.js +45 -40
- package/dist/index41.js.map +1 -1
- package/dist/index410.js +3 -68
- package/dist/index410.js.map +1 -1
- package/dist/index411.js +15 -31
- package/dist/index411.js.map +1 -1
- package/dist/index412.js +3 -9
- package/dist/index412.js.map +1 -1
- package/dist/index413.js +488 -149
- package/dist/index413.js.map +1 -1
- package/dist/index414.js +66 -106
- package/dist/index414.js.map +1 -1
- package/dist/index415.js +31 -8
- package/dist/index415.js.map +1 -1
- package/dist/index416.js +9 -2
- package/dist/index416.js.map +1 -1
- package/dist/index417.js +150 -41
- package/dist/index417.js.map +1 -1
- package/dist/index418.js +108 -56
- package/dist/index418.js.map +1 -1
- package/dist/index419.js +4 -7
- package/dist/index419.js.map +1 -1
- package/dist/index420.js +56 -2
- package/dist/index420.js.map +1 -1
- package/dist/index421.js +7 -54
- package/dist/index421.js.map +1 -1
- package/dist/index422.js +2 -56
- package/dist/index422.js.map +1 -1
- package/dist/index423.js +44 -2
- package/dist/index423.js.map +1 -1
- package/dist/index424.js +56 -2
- package/dist/index424.js.map +1 -1
- package/dist/index425.js +8 -2
- package/dist/index425.js.map +1 -1
- package/dist/index426.js +2 -2
- package/dist/index427.js +54 -15
- package/dist/index427.js.map +1 -1
- package/dist/index428.js +55 -28
- package/dist/index428.js.map +1 -1
- package/dist/index429.js +31 -11
- package/dist/index429.js.map +1 -1
- package/dist/index430.js +14 -5
- package/dist/index430.js.map +1 -1
- package/dist/index431.js +32 -0
- package/dist/index431.js.map +1 -0
- package/dist/index432.js +16 -0
- package/dist/index432.js.map +1 -0
- package/dist/index433.js +10 -0
- package/dist/index433.js.map +1 -0
- package/dist/index434.js +5 -0
- package/dist/index434.js.map +1 -0
- package/dist/index435.js +5 -0
- package/dist/index435.js.map +1 -0
- package/dist/index436.js +5 -0
- package/dist/index436.js.map +1 -0
- package/dist/index437.js +5 -0
- package/dist/index437.js.map +1 -0
- package/dist/index48.js +2 -2
- package/dist/index48.js.map +1 -1
- package/dist/index49.js +274 -268
- package/dist/index49.js.map +1 -1
- package/dist/index50.js +182 -184
- package/dist/index50.js.map +1 -1
- package/dist/index51.js +3 -3
- package/dist/index51.js.map +1 -1
- package/dist/index52.js +105 -103
- package/dist/index52.js.map +1 -1
- package/dist/index53.js +5 -5
- package/dist/index53.js.map +1 -1
- package/dist/index54.js.map +1 -1
- package/dist/index55.js +102 -110
- package/dist/index55.js.map +1 -1
- package/dist/index56.js +4 -4
- package/dist/index56.js.map +1 -1
- package/dist/index57.js +5 -5
- package/dist/index57.js.map +1 -1
- package/dist/index58.js +9 -9
- package/dist/index58.js.map +1 -1
- package/dist/index59.js +5 -5
- package/dist/index59.js.map +1 -1
- package/dist/index6.js +43 -48
- package/dist/index6.js.map +1 -1
- package/dist/index60.js +90 -86
- package/dist/index60.js.map +1 -1
- package/dist/index61.js +2 -2
- package/dist/index61.js.map +1 -1
- package/dist/index62.js +24 -26
- package/dist/index62.js.map +1 -1
- package/dist/index76.js +1 -1
- package/dist/index77.js +2 -2
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +2 -2
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +50 -52
- package/dist/index79.js.map +1 -1
- package/dist/index80.js +4 -4
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +12 -4
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +5 -15
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +7 -5
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +17 -7
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +4 -16
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +1 -1
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +5 -4
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +4 -4
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +4 -5
- package/dist/index89.js.map +1 -1
- package/dist/index90.js +2 -2
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +5 -3
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +24 -6
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +4 -24
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +4 -6
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +2 -2
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +5 -6
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +4 -5
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +4 -3
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +4 -5
- package/dist/index99.js.map +1 -1
- package/package.json +14 -12
package/dist/index31.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index31.js","sources":["../../../node_modules/react-day-picker/dist/esm/DayPicker.js"],"sourcesContent":["import React, { useCallback, useMemo, useRef } from \"react\";\nimport { DateLib, defaultLocale } from \"./classes/DateLib.js\";\nimport { createGetModifiers } from \"./helpers/createGetModifiers.js\";\nimport { getClassNamesForModifiers } from \"./helpers/getClassNamesForModifiers.js\";\nimport { getComponents } from \"./helpers/getComponents.js\";\nimport { getDataAttributes } from \"./helpers/getDataAttributes.js\";\nimport { getDefaultClassNames } from \"./helpers/getDefaultClassNames.js\";\nimport { getFormatters } from \"./helpers/getFormatters.js\";\nimport { getLabels } from \"./helpers/getLabels.js\";\nimport { getMonthOptions } from \"./helpers/getMonthOptions.js\";\nimport { getStyleForModifiers } from \"./helpers/getStyleForModifiers.js\";\nimport { getWeekdays } from \"./helpers/getWeekdays.js\";\nimport { getYearOptions } from \"./helpers/getYearOptions.js\";\nimport { createNoonOverrides } from \"./noonDateLib.js\";\nimport { DayFlag, SelectionState, UI } from \"./UI.js\";\nimport { useAnimation } from \"./useAnimation.js\";\nimport { useCalendar } from \"./useCalendar.js\";\nimport { dayPickerContext } from \"./useDayPicker.js\";\nimport { useFocus } from \"./useFocus.js\";\nimport { useSelection } from \"./useSelection.js\";\nimport { convertMatchersToTimeZone } from \"./utils/convertMatchersToTimeZone.js\";\nimport { rangeIncludesDate } from \"./utils/rangeIncludesDate.js\";\nimport { toTimeZone } from \"./utils/toTimeZone.js\";\nimport { isDateRange } from \"./utils/typeguards.js\";\n/**\n * Renders the DayPicker calendar component.\n *\n * @param initialProps - The props for the DayPicker component.\n * @returns The rendered DayPicker component.\n * @group DayPicker\n * @see https://daypicker.dev\n */\nexport function DayPicker(initialProps) {\n let props = initialProps;\n const timeZone = props.timeZone;\n if (timeZone) {\n props = {\n ...initialProps,\n timeZone,\n };\n if (props.today) {\n props.today = toTimeZone(props.today, timeZone);\n }\n if (props.month) {\n props.month = toTimeZone(props.month, timeZone);\n }\n if (props.defaultMonth) {\n props.defaultMonth = toTimeZone(props.defaultMonth, timeZone);\n }\n if (props.startMonth) {\n props.startMonth = toTimeZone(props.startMonth, timeZone);\n }\n if (props.endMonth) {\n props.endMonth = toTimeZone(props.endMonth, timeZone);\n }\n if (props.mode === \"single\" && props.selected) {\n props.selected = toTimeZone(props.selected, timeZone);\n }\n else if (props.mode === \"multiple\" && props.selected) {\n props.selected = props.selected?.map((date) => toTimeZone(date, timeZone));\n }\n else if (props.mode === \"range\" && props.selected) {\n props.selected = {\n from: props.selected.from\n ? toTimeZone(props.selected.from, timeZone)\n : props.selected.from,\n to: props.selected.to\n ? toTimeZone(props.selected.to, timeZone)\n : props.selected.to,\n };\n }\n if (props.disabled !== undefined) {\n props.disabled = convertMatchersToTimeZone(props.disabled, timeZone);\n }\n if (props.hidden !== undefined) {\n props.hidden = convertMatchersToTimeZone(props.hidden, timeZone);\n }\n if (props.modifiers) {\n const nextModifiers = {};\n Object.keys(props.modifiers).forEach((key) => {\n nextModifiers[key] = convertMatchersToTimeZone(props.modifiers?.[key], timeZone);\n });\n props.modifiers = nextModifiers;\n }\n }\n const { components, formatters, labels, dateLib, locale, classNames } = useMemo(() => {\n const locale = { ...defaultLocale, ...props.locale };\n const weekStartsOn = props.broadcastCalendar ? 1 : props.weekStartsOn;\n const noonOverrides = props.noonSafe && props.timeZone\n ? createNoonOverrides(props.timeZone, {\n weekStartsOn,\n locale,\n })\n : undefined;\n const overrides = props.dateLib && noonOverrides\n ? { ...noonOverrides, ...props.dateLib }\n : (props.dateLib ?? noonOverrides);\n const dateLib = new DateLib({\n locale,\n weekStartsOn,\n firstWeekContainsDate: props.firstWeekContainsDate,\n useAdditionalWeekYearTokens: props.useAdditionalWeekYearTokens,\n useAdditionalDayOfYearTokens: props.useAdditionalDayOfYearTokens,\n timeZone: props.timeZone,\n numerals: props.numerals,\n }, overrides);\n return {\n dateLib,\n components: getComponents(props.components),\n formatters: getFormatters(props.formatters),\n labels: getLabels(props.labels, dateLib.options),\n locale,\n classNames: { ...getDefaultClassNames(), ...props.classNames },\n };\n }, [\n props.locale,\n props.broadcastCalendar,\n props.weekStartsOn,\n props.firstWeekContainsDate,\n props.useAdditionalWeekYearTokens,\n props.useAdditionalDayOfYearTokens,\n props.timeZone,\n props.numerals,\n props.dateLib,\n props.noonSafe,\n props.components,\n props.formatters,\n props.labels,\n props.classNames,\n ]);\n if (!props.today) {\n props = { ...props, today: dateLib.today() };\n }\n const { captionLayout, mode, navLayout, numberOfMonths = 1, onDayBlur, onDayClick, onDayFocus, onDayKeyDown, onDayMouseEnter, onDayMouseLeave, onNextClick, onPrevClick, showWeekNumber, styles, } = props;\n const { formatCaption, formatDay, formatMonthDropdown, formatWeekNumber, formatWeekNumberHeader, formatWeekdayName, formatYearDropdown, } = formatters;\n const calendar = useCalendar(props, dateLib);\n const { days, months, navStart, navEnd, previousMonth, nextMonth, goToMonth, } = calendar;\n const getModifiers = createGetModifiers(days, props, navStart, navEnd, dateLib);\n const { isSelected, select, selected: selectedValue, } = useSelection(props, dateLib) ?? {};\n const { blur, focused, isFocusTarget, moveFocus, setFocused } = useFocus(props, calendar, getModifiers, isSelected ?? (() => false), dateLib);\n const { labelDayButton, labelGridcell, labelGrid, labelMonthDropdown, labelNav, labelPrevious, labelNext, labelWeekday, labelWeekNumber, labelWeekNumberHeader, labelYearDropdown, } = labels;\n const weekdays = useMemo(() => getWeekdays(dateLib, props.ISOWeek, props.broadcastCalendar, props.today), [dateLib, props.ISOWeek, props.broadcastCalendar, props.today]);\n const isInteractive = mode !== undefined || onDayClick !== undefined;\n const handlePreviousClick = useCallback(() => {\n if (!previousMonth)\n return;\n goToMonth(previousMonth);\n onPrevClick?.(previousMonth);\n }, [previousMonth, goToMonth, onPrevClick]);\n const handleNextClick = useCallback(() => {\n if (!nextMonth)\n return;\n goToMonth(nextMonth);\n onNextClick?.(nextMonth);\n }, [goToMonth, nextMonth, onNextClick]);\n const handleDayClick = useCallback((day, m) => (e) => {\n e.preventDefault();\n e.stopPropagation();\n setFocused(day);\n if (m.disabled) {\n return;\n }\n select?.(day.date, m, e);\n onDayClick?.(day.date, m, e);\n }, [select, onDayClick, setFocused]);\n const handleDayFocus = useCallback((day, m) => (e) => {\n setFocused(day);\n onDayFocus?.(day.date, m, e);\n }, [onDayFocus, setFocused]);\n const handleDayBlur = useCallback((day, m) => (e) => {\n blur();\n onDayBlur?.(day.date, m, e);\n }, [blur, onDayBlur]);\n const handleDayKeyDown = useCallback((day, modifiers) => (e) => {\n const keyMap = {\n ArrowLeft: [\n e.shiftKey ? \"month\" : \"day\",\n props.dir === \"rtl\" ? \"after\" : \"before\",\n ],\n ArrowRight: [\n e.shiftKey ? \"month\" : \"day\",\n props.dir === \"rtl\" ? \"before\" : \"after\",\n ],\n ArrowDown: [e.shiftKey ? \"year\" : \"week\", \"after\"],\n ArrowUp: [e.shiftKey ? \"year\" : \"week\", \"before\"],\n PageUp: [e.shiftKey ? \"year\" : \"month\", \"before\"],\n PageDown: [e.shiftKey ? \"year\" : \"month\", \"after\"],\n Home: [\"startOfWeek\", \"before\"],\n End: [\"endOfWeek\", \"after\"],\n };\n if (keyMap[e.key]) {\n e.preventDefault();\n e.stopPropagation();\n const [moveBy, moveDir] = keyMap[e.key];\n moveFocus(moveBy, moveDir);\n }\n onDayKeyDown?.(day.date, modifiers, e);\n }, [moveFocus, onDayKeyDown, props.dir]);\n const handleDayMouseEnter = useCallback((day, modifiers) => (e) => {\n onDayMouseEnter?.(day.date, modifiers, e);\n }, [onDayMouseEnter]);\n const handleDayMouseLeave = useCallback((day, modifiers) => (e) => {\n onDayMouseLeave?.(day.date, modifiers, e);\n }, [onDayMouseLeave]);\n const handleMonthChange = useCallback((date) => (e) => {\n const selectedMonth = Number(e.target.value);\n const month = dateLib.setMonth(dateLib.startOfMonth(date), selectedMonth);\n goToMonth(month);\n }, [dateLib, goToMonth]);\n const handleYearChange = useCallback((date) => (e) => {\n const selectedYear = Number(e.target.value);\n const month = dateLib.setYear(dateLib.startOfMonth(date), selectedYear);\n goToMonth(month);\n }, [dateLib, goToMonth]);\n const { className, style } = useMemo(() => ({\n className: [classNames[UI.Root], props.className]\n .filter(Boolean)\n .join(\" \"),\n style: { ...styles?.[UI.Root], ...props.style },\n }), [classNames, props.className, props.style, styles]);\n const dataAttributes = getDataAttributes(props);\n const rootElRef = useRef(null);\n useAnimation(rootElRef, Boolean(props.animate), {\n classNames,\n months,\n focused,\n dateLib,\n });\n const contextValue = {\n dayPickerProps: props,\n selected: selectedValue,\n select: select,\n isSelected,\n months,\n nextMonth,\n previousMonth,\n goToMonth,\n getModifiers,\n components,\n classNames,\n styles,\n labels,\n formatters,\n };\n return (React.createElement(dayPickerContext.Provider, { value: contextValue },\n React.createElement(components.Root, { rootRef: props.animate ? rootElRef : undefined, className: className, style: style, dir: props.dir, id: props.id, lang: props.lang, nonce: props.nonce, title: props.title, role: props.role, \"aria-label\": props[\"aria-label\"], \"aria-labelledby\": props[\"aria-labelledby\"], ...dataAttributes },\n React.createElement(components.Months, { className: classNames[UI.Months], style: styles?.[UI.Months] },\n !props.hideNavigation && !navLayout && (React.createElement(components.Nav, { \"data-animated-nav\": props.animate ? \"true\" : undefined, className: classNames[UI.Nav], style: styles?.[UI.Nav], \"aria-label\": labelNav(), onPreviousClick: handlePreviousClick, onNextClick: handleNextClick, previousMonth: previousMonth, nextMonth: nextMonth })),\n months.map((calendarMonth, displayIndex) => {\n return (React.createElement(components.Month, { \"data-animated-month\": props.animate ? \"true\" : undefined, className: classNames[UI.Month], style: styles?.[UI.Month], \n // biome-ignore lint/suspicious/noArrayIndexKey: breaks animation\n key: displayIndex, displayIndex: displayIndex, calendarMonth: calendarMonth },\n navLayout === \"around\" &&\n !props.hideNavigation &&\n displayIndex === 0 && (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, \"data-animated-button\": props.animate ? \"true\" : undefined },\n React.createElement(components.Chevron, { disabled: previousMonth ? undefined : true, className: classNames[UI.Chevron], orientation: props.dir === \"rtl\" ? \"right\" : \"left\" }))),\n React.createElement(components.MonthCaption, { \"data-animated-caption\": props.animate ? \"true\" : undefined, className: classNames[UI.MonthCaption], style: styles?.[UI.MonthCaption], calendarMonth: calendarMonth, displayIndex: displayIndex }, captionLayout?.startsWith(\"dropdown\") ? (React.createElement(components.DropdownNav, { className: classNames[UI.Dropdowns], style: styles?.[UI.Dropdowns] },\n (() => {\n const monthControl = captionLayout === \"dropdown\" ||\n captionLayout === \"dropdown-months\" ? (React.createElement(components.MonthsDropdown, { key: \"month\", className: classNames[UI.MonthsDropdown], \"aria-label\": labelMonthDropdown(), classNames: classNames, components: components, disabled: Boolean(props.disableNavigation), onChange: handleMonthChange(calendarMonth.date), options: getMonthOptions(calendarMonth.date, navStart, navEnd, formatters, dateLib), style: styles?.[UI.Dropdown], value: dateLib.getMonth(calendarMonth.date) })) : (React.createElement(\"span\", { key: \"month\" }, formatMonthDropdown(calendarMonth.date, dateLib)));\n const yearControl = captionLayout === \"dropdown\" ||\n captionLayout === \"dropdown-years\" ? (React.createElement(components.YearsDropdown, { key: \"year\", className: classNames[UI.YearsDropdown], \"aria-label\": labelYearDropdown(dateLib.options), classNames: classNames, components: components, disabled: Boolean(props.disableNavigation), onChange: handleYearChange(calendarMonth.date), options: getYearOptions(navStart, navEnd, formatters, dateLib, Boolean(props.reverseYears)), style: styles?.[UI.Dropdown], value: dateLib.getYear(calendarMonth.date) })) : (React.createElement(\"span\", { key: \"year\" }, formatYearDropdown(calendarMonth.date, dateLib)));\n const controls = dateLib.getMonthYearOrder() === \"year-first\"\n ? [yearControl, monthControl]\n : [monthControl, yearControl];\n return controls;\n })(),\n React.createElement(\"span\", { role: \"status\", \"aria-live\": \"polite\", style: {\n border: 0,\n clip: \"rect(0 0 0 0)\",\n height: \"1px\",\n margin: \"-1px\",\n overflow: \"hidden\",\n padding: 0,\n position: \"absolute\",\n width: \"1px\",\n whiteSpace: \"nowrap\",\n wordWrap: \"normal\",\n } }, formatCaption(calendarMonth.date, dateLib.options, dateLib)))) : (React.createElement(components.CaptionLabel, { className: classNames[UI.CaptionLabel], role: \"status\", \"aria-live\": \"polite\" }, formatCaption(calendarMonth.date, dateLib.options, dateLib)))),\n navLayout === \"around\" &&\n !props.hideNavigation &&\n displayIndex === numberOfMonths - 1 && (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, \"data-animated-button\": props.animate ? \"true\" : undefined },\n React.createElement(components.Chevron, { disabled: nextMonth ? undefined : true, className: classNames[UI.Chevron], orientation: props.dir === \"rtl\" ? \"left\" : \"right\" }))),\n displayIndex === numberOfMonths - 1 &&\n navLayout === \"after\" &&\n !props.hideNavigation && (React.createElement(components.Nav, { \"data-animated-nav\": props.animate ? \"true\" : undefined, className: classNames[UI.Nav], style: styles?.[UI.Nav], \"aria-label\": labelNav(), onPreviousClick: handlePreviousClick, onNextClick: handleNextClick, previousMonth: previousMonth, nextMonth: nextMonth })),\n React.createElement(components.MonthGrid, { role: \"grid\", \"aria-multiselectable\": mode === \"multiple\" || mode === \"range\", \"aria-label\": labelGrid(calendarMonth.date, dateLib.options, dateLib) ||\n undefined, className: classNames[UI.MonthGrid], style: styles?.[UI.MonthGrid] },\n !props.hideWeekdays && (React.createElement(components.Weekdays, { \"data-animated-weekdays\": props.animate ? \"true\" : undefined, className: classNames[UI.Weekdays], style: styles?.[UI.Weekdays] },\n showWeekNumber && (React.createElement(components.WeekNumberHeader, { \"aria-label\": labelWeekNumberHeader(dateLib.options), className: classNames[UI.WeekNumberHeader], style: styles?.[UI.WeekNumberHeader], scope: \"col\" }, formatWeekNumberHeader())),\n weekdays.map((weekday) => (React.createElement(components.Weekday, { \"aria-label\": labelWeekday(weekday, dateLib.options, dateLib), className: classNames[UI.Weekday], key: String(weekday), style: styles?.[UI.Weekday], scope: \"col\" }, formatWeekdayName(weekday, dateLib.options, dateLib)))))),\n React.createElement(components.Weeks, { \"data-animated-weeks\": props.animate ? \"true\" : undefined, className: classNames[UI.Weeks], style: styles?.[UI.Weeks] }, calendarMonth.weeks.map((week) => {\n return (React.createElement(components.Week, { className: classNames[UI.Week], key: week.weekNumber, style: styles?.[UI.Week], week: week },\n showWeekNumber && (React.createElement(components.WeekNumber, { week: week, style: styles?.[UI.WeekNumber], \"aria-label\": labelWeekNumber(week.weekNumber, {\n locale,\n }), className: classNames[UI.WeekNumber], scope: \"row\", role: \"rowheader\" }, formatWeekNumber(week.weekNumber, dateLib))),\n week.days.map((day) => {\n const { date } = day;\n const modifiers = getModifiers(day);\n modifiers[DayFlag.focused] =\n !modifiers.hidden &&\n Boolean(focused?.isEqualTo(day));\n modifiers[SelectionState.selected] =\n isSelected?.(date) || modifiers.selected;\n if (isDateRange(selectedValue)) {\n // add range modifiers\n const { from, to } = selectedValue;\n modifiers[SelectionState.range_start] = Boolean(from && to && dateLib.isSameDay(date, from));\n modifiers[SelectionState.range_end] = Boolean(from && to && dateLib.isSameDay(date, to));\n modifiers[SelectionState.range_middle] =\n rangeIncludesDate(selectedValue, date, true, dateLib);\n }\n const style = getStyleForModifiers(modifiers, styles, props.modifiersStyles);\n const className = getClassNamesForModifiers(modifiers, classNames, props.modifiersClassNames);\n const ariaLabel = !isInteractive && !modifiers.hidden\n ? labelGridcell(date, modifiers, dateLib.options, dateLib)\n : undefined;\n return (React.createElement(components.Day, { key: `${day.isoDate}_${day.displayMonthId}`, day: day, modifiers: modifiers, className: className.join(\" \"), style: style, role: \"gridcell\", \"aria-selected\": modifiers.selected || undefined, \"aria-label\": ariaLabel, \"data-day\": day.isoDate, \"data-month\": day.outside ? day.dateMonthId : undefined, \"data-selected\": modifiers.selected || undefined, \"data-disabled\": modifiers.disabled || undefined, \"data-hidden\": modifiers.hidden || undefined, \"data-outside\": day.outside || undefined, \"data-focused\": modifiers.focused || undefined, \"data-today\": modifiers.today || undefined }, !modifiers.hidden && isInteractive ? (React.createElement(components.DayButton, { className: classNames[UI.DayButton], style: styles?.[UI.DayButton], type: \"button\", day: day, modifiers: modifiers, disabled: (!modifiers.focused &&\n modifiers.disabled) ||\n undefined, \"aria-disabled\": (modifiers.focused &&\n modifiers.disabled) ||\n undefined, tabIndex: isFocusTarget(day) ? 0 : -1, \"aria-label\": labelDayButton(date, modifiers, dateLib.options, dateLib), onClick: handleDayClick(day, modifiers), onBlur: handleDayBlur(day, modifiers), onFocus: handleDayFocus(day, modifiers), onKeyDown: handleDayKeyDown(day, modifiers), onMouseEnter: handleDayMouseEnter(day, modifiers), onMouseLeave: handleDayMouseLeave(day, modifiers) }, formatDay(date, dateLib.options, dateLib))) : (!modifiers.hidden &&\n formatDay(day.date, dateLib.options, dateLib))));\n })));\n })))));\n })),\n props.footer && (React.createElement(components.Footer, { className: classNames[UI.Footer], style: styles?.[UI.Footer], role: \"status\", \"aria-live\": \"polite\" }, props.footer)))));\n}\n"],"names":["DayPicker","initialProps","props","timeZone","toTimeZone","date","convertMatchersToTimeZone","nextModifiers","key","components","formatters","labels","dateLib","locale","classNames","useMemo","defaultLocale","weekStartsOn","noonOverrides","createNoonOverrides","overrides","DateLib","getComponents","getFormatters","getLabels","getDefaultClassNames","captionLayout","mode","navLayout","numberOfMonths","onDayBlur","onDayClick","onDayFocus","onDayKeyDown","onDayMouseEnter","onDayMouseLeave","onNextClick","onPrevClick","showWeekNumber","styles","formatCaption","formatDay","formatMonthDropdown","formatWeekNumber","formatWeekNumberHeader","formatWeekdayName","formatYearDropdown","calendar","useCalendar","days","months","navStart","navEnd","previousMonth","nextMonth","goToMonth","getModifiers","createGetModifiers","isSelected","select","selectedValue","useSelection","blur","focused","isFocusTarget","moveFocus","setFocused","useFocus","labelDayButton","labelGridcell","labelGrid","labelMonthDropdown","labelNav","labelPrevious","labelNext","labelWeekday","labelWeekNumber","labelWeekNumberHeader","labelYearDropdown","weekdays","getWeekdays","isInteractive","handlePreviousClick","useCallback","handleNextClick","handleDayClick","day","m","e","handleDayFocus","handleDayBlur","handleDayKeyDown","modifiers","keyMap","moveBy","moveDir","handleDayMouseEnter","handleDayMouseLeave","handleMonthChange","selectedMonth","month","handleYearChange","selectedYear","className","style","UI","dataAttributes","getDataAttributes","rootElRef","useRef","useAnimation","contextValue","React","dayPickerContext","calendarMonth","displayIndex","monthControl","getMonthOptions","yearControl","getYearOptions","weekday","week","DayFlag","SelectionState","isDateRange","from","to","rangeIncludesDate","getStyleForModifiers","getClassNamesForModifiers","ariaLabel"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAgCO,SAASA,GAAUC,GAAc;AACpC,MAAIC,IAAQD;AACZ,QAAME,IAAWD,EAAM;AACvB,MAAIC,MACAD,IAAQ;AAAA,IACJ,GAAGD;AAAA,IACH,UAAAE;AAAA,EACZ,GACYD,EAAM,UACNA,EAAM,QAAQE,EAAWF,EAAM,OAAOC,CAAQ,IAE9CD,EAAM,UACNA,EAAM,QAAQE,EAAWF,EAAM,OAAOC,CAAQ,IAE9CD,EAAM,iBACNA,EAAM,eAAeE,EAAWF,EAAM,cAAcC,CAAQ,IAE5DD,EAAM,eACNA,EAAM,aAAaE,EAAWF,EAAM,YAAYC,CAAQ,IAExDD,EAAM,aACNA,EAAM,WAAWE,EAAWF,EAAM,UAAUC,CAAQ,IAEpDD,EAAM,SAAS,YAAYA,EAAM,WACjCA,EAAM,WAAWE,EAAWF,EAAM,UAAUC,CAAQ,IAE/CD,EAAM,SAAS,cAAcA,EAAM,WACxCA,EAAM,WAAWA,EAAM,UAAU,IAAI,CAACG,MAASD,EAAWC,GAAMF,CAAQ,CAAC,IAEpED,EAAM,SAAS,WAAWA,EAAM,aACrCA,EAAM,WAAW;AAAA,IACb,MAAMA,EAAM,SAAS,OACfE,EAAWF,EAAM,SAAS,MAA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W,iBAAkBA,EAAU,WACvCA,EAAU,YACV,QAAW,UAAU5B,GAAcsB,CAAG,IAAI,IAAI,IAAI,cAAclB,GAAe/D,GAAMuF,GAAWhF,EAAQ,SAASA,CAAO,GAAG,SAASyE,GAAeC,GAAKM,CAAS,GAAG,QAAQF,GAAcJ,GAAKM,CAAS,GAAG,SAASH,GAAeH,GAAKM,CAAS,GAAG,WAAWD,GAAiBL,GAAKM,CAAS,GAAG,cAAcI,GAAoBV,GAAKM,CAAS,GAAG,cAAcK,GAAoBX,GAAKM,CAAS,EAAC,GAAInD,EAAUpC,GAAMO,EAAQ,SAASA,CAAO,CAAC,IAAM,CAACgF,EAAU,UACvcnD,EAAU6C,EAAI,MAAM1E,EAAQ,SAASA,CAAO,CAAE;AAAA,cACtD,CAAC;AAAA,YAAC,CACT,CAAC;AAAA,UAAC;AAAA,QAAC,CACf;AAAA,MAAC;AAAA,MACNV,EAAM,UAAW8G,EAAM,cAAcvG,EAAW,QAAQ,EAAE,WAAWK,EAAW2F,EAAG,MAAM,GAAG,OAAOlE,IAASkE,EAAG,MAAM,GAAG,MAAM,UAAU,aAAa,YAAYvG,EAAM,MAAM;AAAA,IAAE;AAAA,EAAC;AAC5L;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index31.js","sources":["../../../node_modules/react-day-picker/dist/esm/DayPicker.js"],"sourcesContent":["import React, { useCallback, useMemo, useRef } from \"react\";\nimport { DateLib, defaultLocale } from \"./classes/DateLib.js\";\nimport { createGetModifiers } from \"./helpers/createGetModifiers.js\";\nimport { getClassNamesForModifiers } from \"./helpers/getClassNamesForModifiers.js\";\nimport { getComponents } from \"./helpers/getComponents.js\";\nimport { getDataAttributes } from \"./helpers/getDataAttributes.js\";\nimport { getDefaultClassNames } from \"./helpers/getDefaultClassNames.js\";\nimport { getFormatters } from \"./helpers/getFormatters.js\";\nimport { getLabels } from \"./helpers/getLabels.js\";\nimport { getMonthOptions } from \"./helpers/getMonthOptions.js\";\nimport { getStyleForModifiers } from \"./helpers/getStyleForModifiers.js\";\nimport { getWeekdays } from \"./helpers/getWeekdays.js\";\nimport { getYearOptions } from \"./helpers/getYearOptions.js\";\nimport { createNoonOverrides } from \"./noonDateLib.js\";\nimport { DayFlag, SelectionState, UI } from \"./UI.js\";\nimport { useAnimation } from \"./useAnimation.js\";\nimport { useCalendar } from \"./useCalendar.js\";\nimport { dayPickerContext } from \"./useDayPicker.js\";\nimport { useFocus } from \"./useFocus.js\";\nimport { useSelection } from \"./useSelection.js\";\nimport { convertMatchersToTimeZone } from \"./utils/convertMatchersToTimeZone.js\";\nimport { rangeIncludesDate } from \"./utils/rangeIncludesDate.js\";\nimport { toTimeZone } from \"./utils/toTimeZone.js\";\nimport { isDateRange } from \"./utils/typeguards.js\";\n/**\n * Renders the DayPicker calendar component.\n *\n * @param initialProps - The props for the DayPicker component.\n * @returns The rendered DayPicker component.\n * @group DayPicker\n * @see https://daypicker.dev\n */\nexport function DayPicker(initialProps) {\n let props = initialProps;\n const timeZone = props.timeZone;\n if (timeZone) {\n props = {\n ...initialProps,\n timeZone,\n };\n if (props.today) {\n props.today = toTimeZone(props.today, timeZone);\n }\n if (props.month) {\n props.month = toTimeZone(props.month, timeZone);\n }\n if (props.defaultMonth) {\n props.defaultMonth = toTimeZone(props.defaultMonth, timeZone);\n }\n if (props.startMonth) {\n props.startMonth = toTimeZone(props.startMonth, timeZone);\n }\n if (props.endMonth) {\n props.endMonth = toTimeZone(props.endMonth, timeZone);\n }\n if (props.mode === \"single\" && props.selected) {\n props.selected = toTimeZone(props.selected, timeZone);\n }\n else if (props.mode === \"multiple\" && props.selected) {\n props.selected = props.selected?.map((date) => toTimeZone(date, timeZone));\n }\n else if (props.mode === \"range\" && props.selected) {\n props.selected = {\n from: props.selected.from\n ? toTimeZone(props.selected.from, timeZone)\n : props.selected.from,\n to: props.selected.to\n ? toTimeZone(props.selected.to, timeZone)\n : props.selected.to,\n };\n }\n if (props.disabled !== undefined) {\n props.disabled = convertMatchersToTimeZone(props.disabled, timeZone);\n }\n if (props.hidden !== undefined) {\n props.hidden = convertMatchersToTimeZone(props.hidden, timeZone);\n }\n if (props.modifiers) {\n const nextModifiers = {};\n Object.keys(props.modifiers).forEach((key) => {\n nextModifiers[key] = convertMatchersToTimeZone(props.modifiers?.[key], timeZone);\n });\n props.modifiers = nextModifiers;\n }\n }\n const { components, formatters, labels, dateLib, locale, classNames } = useMemo(() => {\n const locale = { ...defaultLocale, ...props.locale };\n const weekStartsOn = props.broadcastCalendar ? 1 : props.weekStartsOn;\n const noonOverrides = props.noonSafe && props.timeZone\n ? createNoonOverrides(props.timeZone, {\n weekStartsOn,\n locale,\n })\n : undefined;\n const overrides = props.dateLib && noonOverrides\n ? { ...noonOverrides, ...props.dateLib }\n : (props.dateLib ?? noonOverrides);\n const dateLib = new DateLib({\n locale,\n weekStartsOn,\n firstWeekContainsDate: props.firstWeekContainsDate,\n useAdditionalWeekYearTokens: props.useAdditionalWeekYearTokens,\n useAdditionalDayOfYearTokens: props.useAdditionalDayOfYearTokens,\n timeZone: props.timeZone,\n numerals: props.numerals,\n }, overrides);\n return {\n dateLib,\n components: getComponents(props.components),\n formatters: getFormatters(props.formatters),\n labels: getLabels(props.labels, dateLib.options),\n locale,\n classNames: { ...getDefaultClassNames(), ...props.classNames },\n };\n }, [\n props.locale,\n props.broadcastCalendar,\n props.weekStartsOn,\n props.firstWeekContainsDate,\n props.useAdditionalWeekYearTokens,\n props.useAdditionalDayOfYearTokens,\n props.timeZone,\n props.numerals,\n props.dateLib,\n props.noonSafe,\n props.components,\n props.formatters,\n props.labels,\n props.classNames,\n ]);\n if (!props.today) {\n props = { ...props, today: dateLib.today() };\n }\n const { captionLayout, mode, navLayout, numberOfMonths = 1, onDayBlur, onDayClick, onDayFocus, onDayKeyDown, onDayMouseEnter, onDayMouseLeave, onNextClick, onPrevClick, showWeekNumber, styles, } = props;\n const { formatCaption, formatDay, formatMonthDropdown, formatWeekNumber, formatWeekNumberHeader, formatWeekdayName, formatYearDropdown, } = formatters;\n const calendar = useCalendar(props, dateLib);\n const { days, months, navStart, navEnd, previousMonth, nextMonth, goToMonth, } = calendar;\n const getModifiers = createGetModifiers(days, props, navStart, navEnd, dateLib);\n const { isSelected, select, selected: selectedValue, } = useSelection(props, dateLib) ?? {};\n const { blur, focused, isFocusTarget, moveFocus, setFocused } = useFocus(props, calendar, getModifiers, isSelected ?? (() => false), dateLib);\n const { labelDayButton, labelGridcell, labelGrid, labelMonthDropdown, labelNav, labelPrevious, labelNext, labelWeekday, labelWeekNumber, labelWeekNumberHeader, labelYearDropdown, } = labels;\n const weekdays = useMemo(() => getWeekdays(dateLib, props.ISOWeek, props.broadcastCalendar, props.today), [dateLib, props.ISOWeek, props.broadcastCalendar, props.today]);\n const isInteractive = mode !== undefined || onDayClick !== undefined;\n const handlePreviousClick = useCallback(() => {\n if (!previousMonth)\n return;\n goToMonth(previousMonth);\n onPrevClick?.(previousMonth);\n }, [previousMonth, goToMonth, onPrevClick]);\n const handleNextClick = useCallback(() => {\n if (!nextMonth)\n return;\n goToMonth(nextMonth);\n onNextClick?.(nextMonth);\n }, [goToMonth, nextMonth, onNextClick]);\n const handleDayClick = useCallback((day, m) => (e) => {\n e.preventDefault();\n e.stopPropagation();\n setFocused(day);\n if (m.disabled) {\n return;\n }\n select?.(day.date, m, e);\n onDayClick?.(day.date, m, e);\n }, [select, onDayClick, setFocused]);\n const handleDayFocus = useCallback((day, m) => (e) => {\n setFocused(day);\n onDayFocus?.(day.date, m, e);\n }, [onDayFocus, setFocused]);\n const handleDayBlur = useCallback((day, m) => (e) => {\n blur();\n onDayBlur?.(day.date, m, e);\n }, [blur, onDayBlur]);\n const handleDayKeyDown = useCallback((day, modifiers) => (e) => {\n const keyMap = {\n ArrowLeft: [\n e.shiftKey ? \"month\" : \"day\",\n props.dir === \"rtl\" ? \"after\" : \"before\",\n ],\n ArrowRight: [\n e.shiftKey ? \"month\" : \"day\",\n props.dir === \"rtl\" ? \"before\" : \"after\",\n ],\n ArrowDown: [e.shiftKey ? \"year\" : \"week\", \"after\"],\n ArrowUp: [e.shiftKey ? \"year\" : \"week\", \"before\"],\n PageUp: [e.shiftKey ? \"year\" : \"month\", \"before\"],\n PageDown: [e.shiftKey ? \"year\" : \"month\", \"after\"],\n Home: [\"startOfWeek\", \"before\"],\n End: [\"endOfWeek\", \"after\"],\n };\n if (keyMap[e.key]) {\n e.preventDefault();\n e.stopPropagation();\n const [moveBy, moveDir] = keyMap[e.key];\n moveFocus(moveBy, moveDir);\n }\n onDayKeyDown?.(day.date, modifiers, e);\n }, [moveFocus, onDayKeyDown, props.dir]);\n const handleDayMouseEnter = useCallback((day, modifiers) => (e) => {\n onDayMouseEnter?.(day.date, modifiers, e);\n }, [onDayMouseEnter]);\n const handleDayMouseLeave = useCallback((day, modifiers) => (e) => {\n onDayMouseLeave?.(day.date, modifiers, e);\n }, [onDayMouseLeave]);\n const handleMonthChange = useCallback((date, monthOffset) => (e) => {\n const selectedMonth = Number(e.target.value);\n const month = dateLib.setMonth(dateLib.startOfMonth(date), selectedMonth);\n goToMonth(dateLib.addMonths(month, -monthOffset));\n }, [dateLib, goToMonth]);\n const handleYearChange = useCallback((date, monthOffset) => (e) => {\n const selectedYear = Number(e.target.value);\n const month = dateLib.setYear(dateLib.startOfMonth(date), selectedYear);\n goToMonth(dateLib.addMonths(month, -monthOffset));\n }, [dateLib, goToMonth]);\n const { className, style } = useMemo(() => ({\n className: [classNames[UI.Root], props.className]\n .filter(Boolean)\n .join(\" \"),\n style: { ...styles?.[UI.Root], ...props.style },\n }), [classNames, props.className, props.style, styles]);\n const dataAttributes = getDataAttributes(props);\n const getDropdownStyle = (dropdown) => {\n const dropdownStyle = styles?.[UI.Dropdown];\n const specificDropdownStyle = styles?.[dropdown];\n if (!dropdownStyle && !specificDropdownStyle) {\n return undefined;\n }\n return {\n ...dropdownStyle,\n ...specificDropdownStyle,\n };\n };\n const rootElRef = useRef(null);\n useAnimation(rootElRef, Boolean(props.animate), {\n classNames,\n months,\n focused,\n dateLib,\n });\n const contextValue = {\n dayPickerProps: props,\n selected: selectedValue,\n select: select,\n isSelected,\n months,\n nextMonth,\n previousMonth,\n goToMonth,\n getModifiers,\n components,\n classNames,\n styles,\n labels,\n formatters,\n };\n return (React.createElement(dayPickerContext.Provider, { value: contextValue },\n React.createElement(components.Root, { rootRef: props.animate ? rootElRef : undefined, className: className, style: style, dir: props.dir, id: props.id, lang: props.lang ?? locale.code, nonce: props.nonce, title: props.title, role: props.role, \"aria-label\": props[\"aria-label\"], \"aria-labelledby\": props[\"aria-labelledby\"], ...dataAttributes },\n React.createElement(components.Months, { className: classNames[UI.Months], style: styles?.[UI.Months] },\n !props.hideNavigation && !navLayout && (React.createElement(components.Nav, { \"data-animated-nav\": props.animate ? \"true\" : undefined, className: classNames[UI.Nav], style: styles?.[UI.Nav], \"aria-label\": labelNav(), onPreviousClick: handlePreviousClick, onNextClick: handleNextClick, previousMonth: previousMonth, nextMonth: nextMonth })),\n months.map((calendarMonth, displayIndex) => {\n const monthOffset = props.reverseMonths\n ? months.length - 1 - displayIndex\n : displayIndex;\n return (React.createElement(components.Month, { \"data-animated-month\": props.animate ? \"true\" : undefined, className: classNames[UI.Month], style: styles?.[UI.Month], \n // biome-ignore lint/suspicious/noArrayIndexKey: breaks animation\n key: displayIndex, displayIndex: displayIndex, calendarMonth: calendarMonth },\n navLayout === \"around\" &&\n !props.hideNavigation &&\n displayIndex === 0 && (React.createElement(components.PreviousMonthButton, { type: \"button\", className: classNames[UI.PreviousMonthButton], style: styles?.[UI.PreviousMonthButton], tabIndex: previousMonth ? undefined : -1, \"aria-disabled\": previousMonth ? undefined : true, \"aria-label\": labelPrevious(previousMonth), onClick: handlePreviousClick, \"data-animated-button\": props.animate ? \"true\" : undefined },\n React.createElement(components.Chevron, { disabled: previousMonth ? undefined : true, className: classNames[UI.Chevron], style: styles?.[UI.Chevron], orientation: props.dir === \"rtl\" ? \"right\" : \"left\" }))),\n React.createElement(components.MonthCaption, { \"data-animated-caption\": props.animate ? \"true\" : undefined, className: classNames[UI.MonthCaption], style: styles?.[UI.MonthCaption], calendarMonth: calendarMonth, displayIndex: displayIndex }, captionLayout?.startsWith(\"dropdown\") ? (React.createElement(components.DropdownNav, { className: classNames[UI.Dropdowns], style: styles?.[UI.Dropdowns] },\n (() => {\n const monthControl = captionLayout === \"dropdown\" ||\n captionLayout === \"dropdown-months\" ? (React.createElement(components.MonthsDropdown, { key: \"month\", className: classNames[UI.MonthsDropdown], \"aria-label\": labelMonthDropdown(), disabled: Boolean(props.disableNavigation), onChange: handleMonthChange(calendarMonth.date, monthOffset), options: getMonthOptions(calendarMonth.date, navStart, navEnd, formatters, dateLib), style: getDropdownStyle(UI.MonthsDropdown), value: dateLib.getMonth(calendarMonth.date) })) : (React.createElement(\"span\", { key: \"month\" }, formatMonthDropdown(calendarMonth.date, dateLib)));\n const yearControl = captionLayout === \"dropdown\" ||\n captionLayout === \"dropdown-years\" ? (React.createElement(components.YearsDropdown, { key: \"year\", className: classNames[UI.YearsDropdown], \"aria-label\": labelYearDropdown(dateLib.options), disabled: Boolean(props.disableNavigation), onChange: handleYearChange(calendarMonth.date, monthOffset), options: getYearOptions(navStart, navEnd, formatters, dateLib, Boolean(props.reverseYears)), style: getDropdownStyle(UI.YearsDropdown), value: dateLib.getYear(calendarMonth.date) })) : (React.createElement(\"span\", { key: \"year\" }, formatYearDropdown(calendarMonth.date, dateLib)));\n const controls = dateLib.getMonthYearOrder() === \"year-first\"\n ? [yearControl, monthControl]\n : [monthControl, yearControl];\n return controls;\n })(),\n React.createElement(\"span\", { role: \"status\", \"aria-live\": \"polite\", style: {\n border: 0,\n clip: \"rect(0 0 0 0)\",\n height: \"1px\",\n margin: \"-1px\",\n overflow: \"hidden\",\n padding: 0,\n position: \"absolute\",\n width: \"1px\",\n whiteSpace: \"nowrap\",\n wordWrap: \"normal\",\n } }, formatCaption(calendarMonth.date, dateLib.options, dateLib)))) : (React.createElement(components.CaptionLabel, { className: classNames[UI.CaptionLabel], style: styles?.[UI.CaptionLabel], role: \"status\", \"aria-live\": \"polite\" }, formatCaption(calendarMonth.date, dateLib.options, dateLib)))),\n navLayout === \"around\" &&\n !props.hideNavigation &&\n displayIndex === numberOfMonths - 1 && (React.createElement(components.NextMonthButton, { type: \"button\", className: classNames[UI.NextMonthButton], style: styles?.[UI.NextMonthButton], tabIndex: nextMonth ? undefined : -1, \"aria-disabled\": nextMonth ? undefined : true, \"aria-label\": labelNext(nextMonth), onClick: handleNextClick, \"data-animated-button\": props.animate ? \"true\" : undefined },\n React.createElement(components.Chevron, { disabled: nextMonth ? undefined : true, className: classNames[UI.Chevron], style: styles?.[UI.Chevron], orientation: props.dir === \"rtl\" ? \"left\" : \"right\" }))),\n displayIndex === numberOfMonths - 1 &&\n navLayout === \"after\" &&\n !props.hideNavigation && (React.createElement(components.Nav, { \"data-animated-nav\": props.animate ? \"true\" : undefined, className: classNames[UI.Nav], style: styles?.[UI.Nav], \"aria-label\": labelNav(), onPreviousClick: handlePreviousClick, onNextClick: handleNextClick, previousMonth: previousMonth, nextMonth: nextMonth })),\n React.createElement(components.MonthGrid, { role: \"grid\", \"aria-multiselectable\": mode === \"multiple\" || mode === \"range\", \"aria-label\": labelGrid(calendarMonth.date, dateLib.options, dateLib) ||\n undefined, className: classNames[UI.MonthGrid], style: styles?.[UI.MonthGrid] },\n !props.hideWeekdays && (React.createElement(components.Weekdays, { \"data-animated-weekdays\": props.animate ? \"true\" : undefined, className: classNames[UI.Weekdays], style: styles?.[UI.Weekdays] },\n showWeekNumber && (React.createElement(components.WeekNumberHeader, { \"aria-label\": labelWeekNumberHeader(dateLib.options), className: classNames[UI.WeekNumberHeader], style: styles?.[UI.WeekNumberHeader], scope: \"col\" }, formatWeekNumberHeader())),\n weekdays.map((weekday) => (React.createElement(components.Weekday, { \"aria-label\": labelWeekday(weekday, dateLib.options, dateLib), className: classNames[UI.Weekday], key: String(weekday), style: styles?.[UI.Weekday], scope: \"col\" }, formatWeekdayName(weekday, dateLib.options, dateLib)))))),\n React.createElement(components.Weeks, { \"data-animated-weeks\": props.animate ? \"true\" : undefined, className: classNames[UI.Weeks], style: styles?.[UI.Weeks] }, calendarMonth.weeks.map((week) => {\n return (React.createElement(components.Week, { className: classNames[UI.Week], key: week.weekNumber, style: styles?.[UI.Week], week: week },\n showWeekNumber && (React.createElement(components.WeekNumber, { week: week, style: styles?.[UI.WeekNumber], \"aria-label\": labelWeekNumber(week.weekNumber, {\n locale,\n }), className: classNames[UI.WeekNumber], scope: \"row\", role: \"rowheader\" }, formatWeekNumber(week.weekNumber, dateLib))),\n week.days.map((day) => {\n const { date } = day;\n const modifiers = getModifiers(day);\n modifiers[DayFlag.focused] =\n !modifiers.hidden &&\n Boolean(focused?.isEqualTo(day));\n modifiers[SelectionState.selected] =\n isSelected?.(date) || modifiers.selected;\n if (isDateRange(selectedValue)) {\n // add range modifiers\n const { from, to } = selectedValue;\n modifiers[SelectionState.range_start] = Boolean(from && to && dateLib.isSameDay(date, from));\n modifiers[SelectionState.range_end] = Boolean(from && to && dateLib.isSameDay(date, to));\n modifiers[SelectionState.range_middle] =\n rangeIncludesDate(selectedValue, date, true, dateLib);\n }\n const style = getStyleForModifiers(modifiers, styles, props.modifiersStyles);\n const className = getClassNamesForModifiers(modifiers, classNames, props.modifiersClassNames);\n const ariaLabel = !isInteractive && !modifiers.hidden\n ? labelGridcell(date, modifiers, dateLib.options, dateLib)\n : undefined;\n return (React.createElement(components.Day, { key: `${day.isoDate}_${day.displayMonthId}`, day: day, modifiers: modifiers, className: className.join(\" \"), style: style, role: \"gridcell\", \"aria-selected\": modifiers.selected || undefined, \"aria-label\": ariaLabel, \"data-day\": day.isoDate, \"data-month\": day.outside ? day.dateMonthId : undefined, \"data-selected\": modifiers.selected || undefined, \"data-disabled\": modifiers.disabled || undefined, \"data-hidden\": modifiers.hidden || undefined, \"data-outside\": day.outside || undefined, \"data-focused\": modifiers.focused || undefined, \"data-today\": modifiers.today || undefined }, !modifiers.hidden && isInteractive ? (React.createElement(components.DayButton, { className: classNames[UI.DayButton], style: styles?.[UI.DayButton], type: \"button\", day: day, modifiers: modifiers, disabled: (!modifiers.focused &&\n modifiers.disabled) ||\n undefined, \"aria-disabled\": (modifiers.focused &&\n modifiers.disabled) ||\n undefined, tabIndex: isFocusTarget(day) ? 0 : -1, \"aria-label\": labelDayButton(date, modifiers, dateLib.options, dateLib), onClick: handleDayClick(day, modifiers), onBlur: handleDayBlur(day, modifiers), onFocus: handleDayFocus(day, modifiers), onKeyDown: handleDayKeyDown(day, modifiers), onMouseEnter: handleDayMouseEnter(day, modifiers), onMouseLeave: handleDayMouseLeave(day, modifiers) }, formatDay(date, dateLib.options, dateLib))) : (!modifiers.hidden &&\n formatDay(day.date, dateLib.options, dateLib))));\n })));\n })))));\n })),\n props.footer && (React.createElement(components.Footer, { className: classNames[UI.Footer], style: styles?.[UI.Footer], role: \"status\", \"aria-live\": \"polite\" }, props.footer)))));\n}\n"],"names":["DayPicker","initialProps","props","timeZone","toTimeZone","date","convertMatchersToTimeZone","nextModifiers","key","components","formatters","labels","dateLib","locale","classNames","useMemo","defaultLocale","weekStartsOn","noonOverrides","createNoonOverrides","overrides","DateLib","getComponents","getFormatters","getLabels","getDefaultClassNames","captionLayout","mode","navLayout","numberOfMonths","onDayBlur","onDayClick","onDayFocus","onDayKeyDown","onDayMouseEnter","onDayMouseLeave","onNextClick","onPrevClick","showWeekNumber","styles","formatCaption","formatDay","formatMonthDropdown","formatWeekNumber","formatWeekNumberHeader","formatWeekdayName","formatYearDropdown","calendar","useCalendar","days","months","navStart","navEnd","previousMonth","nextMonth","goToMonth","getModifiers","createGetModifiers","isSelected","select","selectedValue","useSelection","blur","focused","isFocusTarget","moveFocus","setFocused","useFocus","labelDayButton","labelGridcell","labelGrid","labelMonthDropdown","labelNav","labelPrevious","labelNext","labelWeekday","labelWeekNumber","labelWeekNumberHeader","labelYearDropdown","weekdays","getWeekdays","isInteractive","handlePreviousClick","useCallback","handleNextClick","handleDayClick","day","m","e","handleDayFocus","handleDayBlur","handleDayKeyDown","modifiers","keyMap","moveBy","moveDir","handleDayMouseEnter","handleDayMouseLeave","handleMonthChange","monthOffset","selectedMonth","month","handleYearChange","selectedYear","className","style","UI","dataAttributes","getDataAttributes","getDropdownStyle","dropdown","dropdownStyle","specificDropdownStyle","rootElRef","useRef","useAnimation","contextValue","React","dayPickerContext","calendarMonth","displayIndex","monthControl","getMonthOptions","yearControl","getYearOptions","weekday","week","DayFlag","SelectionState","isDateRange","from","to","rangeIncludesDate","getStyleForModifiers","getClassNamesForModifiers","ariaLabel"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAgCO,SAASA,GAAUC,GAAc;AACpC,MAAIC,IAAQD;AACZ,QAAME,IAAWD,EAAM;AACvB,MAAIC,MACAD,IAAQ;AAAA,IACJ,GAAGD;AAAA,IACH,UAAAE;AAAA,EACZ,GACYD,EAAM,UACNA,EAAM,QAAQE,EAAWF,EAAM,OAAOC,CAAQ,IAE9CD,EAAM,UACNA,EAAM,QAAQE,EAAWF,EAAM,OAAOC,CAAQ,IAE9CD,EAAM,iBACNA,EAAM,eAAeE,EAAWF,EAAM,cAAcC,CAAQ,IAE5DD,EAAM,eACNA,EAAM,aAAaE,EAAWF,EAAM,YAAYC,CAAQ,IAExDD,EAAM,aACNA,EAAM,WAAWE,EAAWF,EAAM,UAAUC,CAAQ,IAEpDD,EAAM,SAAS,YAAYA,EAAM,WACjCA,EAAM,WAAWE,EAAWF,EAAM,UAAUC,CAAQ,IAE/CD,EAAM,SAAS,cAAcA,EAAM,WACxCA,EAAM,WAAWA,EAAM,UAAU,IAAI,CAACG,MAASD,EAAWC,GAAMF,CAAQ,CAAC,IAEpED,EAAM,SAAS,WAAWA,EAAM,aACrCA,EAAM,WAAW;AAAA,IACb,MAAMA,EAAM,SAAS,OACfE,EAAWF,EAAM,SAAS,MAAMC,CAAQ,IACxCD,EAAM,SAAS;AAAA,IACrB,IAAIA,EAAM,SAAS,KACbE,EAAWF,EA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5L;","x_google_ignoreList":[0]}
|
package/dist/index310.js
CHANGED
|
@@ -1,403 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { isElement as v, getDocumentElement as b, isHTMLElement as T, getComputedStyle as R, getWindow as O, isTopLayer as $, getParentNode as S, isLastTraversableNode as A, isTableElement as at, isContainingBlock as Q, getContainingBlock as dt, getNodeName as _, isOverflowElement as q, getNodeScroll as H, getOverflowAncestors as V, getFrameElement as U, isWebKit as Y } from "./index309.js";
|
|
4
|
-
function Z(t) {
|
|
5
|
-
const e = R(t);
|
|
6
|
-
let i = parseFloat(e.width) || 0, n = parseFloat(e.height) || 0;
|
|
7
|
-
const o = T(t), r = o ? t.offsetWidth : i, s = o ? t.offsetHeight : n, c = z(i) !== r || z(n) !== s;
|
|
8
|
-
return c && (i = r, n = s), {
|
|
9
|
-
width: i,
|
|
10
|
-
height: n,
|
|
11
|
-
$: c
|
|
12
|
-
};
|
|
1
|
+
function e(n) {
|
|
2
|
+
return n?.ownerDocument || document;
|
|
13
3
|
}
|
|
14
|
-
function X(t) {
|
|
15
|
-
return v(t) ? t : t.contextElement;
|
|
16
|
-
}
|
|
17
|
-
function F(t) {
|
|
18
|
-
const e = X(t);
|
|
19
|
-
if (!T(e))
|
|
20
|
-
return w(1);
|
|
21
|
-
const i = e.getBoundingClientRect(), {
|
|
22
|
-
width: n,
|
|
23
|
-
height: o,
|
|
24
|
-
$: r
|
|
25
|
-
} = Z(e);
|
|
26
|
-
let s = (r ? z(i.width) : i.width) / n, c = (r ? z(i.height) : i.height) / o;
|
|
27
|
-
return (!s || !Number.isFinite(s)) && (s = 1), (!c || !Number.isFinite(c)) && (c = 1), {
|
|
28
|
-
x: s,
|
|
29
|
-
y: c
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
const gt = /* @__PURE__ */ w(0);
|
|
33
|
-
function tt(t) {
|
|
34
|
-
const e = O(t);
|
|
35
|
-
return !Y() || !e.visualViewport ? gt : {
|
|
36
|
-
x: e.visualViewport.offsetLeft,
|
|
37
|
-
y: e.visualViewport.offsetTop
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
function pt(t, e, i) {
|
|
41
|
-
return e === void 0 && (e = !1), !i || e && i !== O(t) ? !1 : e;
|
|
42
|
-
}
|
|
43
|
-
function L(t, e, i, n) {
|
|
44
|
-
e === void 0 && (e = !1), i === void 0 && (i = !1);
|
|
45
|
-
const o = t.getBoundingClientRect(), r = X(t);
|
|
46
|
-
let s = w(1);
|
|
47
|
-
e && (n ? v(n) && (s = F(n)) : s = F(t));
|
|
48
|
-
const c = pt(r, i, n) ? tt(r) : w(0);
|
|
49
|
-
let l = (o.left + c.x) / s.x, f = (o.top + c.y) / s.y, u = o.width / s.x, a = o.height / s.y;
|
|
50
|
-
if (r) {
|
|
51
|
-
const d = O(r), h = n && v(n) ? O(n) : n;
|
|
52
|
-
let m = d, p = U(m);
|
|
53
|
-
for (; p && n && h !== m; ) {
|
|
54
|
-
const y = F(p), g = p.getBoundingClientRect(), x = R(p), C = g.left + (p.clientLeft + parseFloat(x.paddingLeft)) * y.x, W = g.top + (p.clientTop + parseFloat(x.paddingTop)) * y.y;
|
|
55
|
-
l *= y.x, f *= y.y, u *= y.x, a *= y.y, l += C, f += W, m = O(p), p = U(m);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
return J({
|
|
59
|
-
width: u,
|
|
60
|
-
height: a,
|
|
61
|
-
x: l,
|
|
62
|
-
y: f
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
function I(t, e) {
|
|
66
|
-
const i = H(t).scrollLeft;
|
|
67
|
-
return e ? e.left + i : L(b(t)).left + i;
|
|
68
|
-
}
|
|
69
|
-
function et(t, e) {
|
|
70
|
-
const i = t.getBoundingClientRect(), n = i.left + e.scrollLeft - I(t, i), o = i.top + e.scrollTop;
|
|
71
|
-
return {
|
|
72
|
-
x: n,
|
|
73
|
-
y: o
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
function mt(t) {
|
|
77
|
-
let {
|
|
78
|
-
elements: e,
|
|
79
|
-
rect: i,
|
|
80
|
-
offsetParent: n,
|
|
81
|
-
strategy: o
|
|
82
|
-
} = t;
|
|
83
|
-
const r = o === "fixed", s = b(n), c = e ? $(e.floating) : !1;
|
|
84
|
-
if (n === s || c && r)
|
|
85
|
-
return i;
|
|
86
|
-
let l = {
|
|
87
|
-
scrollLeft: 0,
|
|
88
|
-
scrollTop: 0
|
|
89
|
-
}, f = w(1);
|
|
90
|
-
const u = w(0), a = T(n);
|
|
91
|
-
if ((a || !a && !r) && ((_(n) !== "body" || q(s)) && (l = H(n)), a)) {
|
|
92
|
-
const h = L(n);
|
|
93
|
-
f = F(n), u.x = h.x + n.clientLeft, u.y = h.y + n.clientTop;
|
|
94
|
-
}
|
|
95
|
-
const d = s && !a && !r ? et(s, l) : w(0);
|
|
96
|
-
return {
|
|
97
|
-
width: i.width * f.x,
|
|
98
|
-
height: i.height * f.y,
|
|
99
|
-
x: i.x * f.x - l.scrollLeft * f.x + u.x + d.x,
|
|
100
|
-
y: i.y * f.y - l.scrollTop * f.y + u.y + d.y
|
|
101
|
-
};
|
|
102
|
-
}
|
|
103
|
-
function yt(t) {
|
|
104
|
-
return Array.from(t.getClientRects());
|
|
105
|
-
}
|
|
106
|
-
function wt(t) {
|
|
107
|
-
const e = b(t), i = H(t), n = t.ownerDocument.body, o = E(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), r = E(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight);
|
|
108
|
-
let s = -i.scrollLeft + I(t);
|
|
109
|
-
const c = -i.scrollTop;
|
|
110
|
-
return R(n).direction === "rtl" && (s += E(e.clientWidth, n.clientWidth) - o), {
|
|
111
|
-
width: o,
|
|
112
|
-
height: r,
|
|
113
|
-
x: s,
|
|
114
|
-
y: c
|
|
115
|
-
};
|
|
116
|
-
}
|
|
117
|
-
const K = 25;
|
|
118
|
-
function xt(t, e) {
|
|
119
|
-
const i = O(t), n = b(t), o = i.visualViewport;
|
|
120
|
-
let r = n.clientWidth, s = n.clientHeight, c = 0, l = 0;
|
|
121
|
-
if (o) {
|
|
122
|
-
r = o.width, s = o.height;
|
|
123
|
-
const u = Y();
|
|
124
|
-
(!u || u && e === "fixed") && (c = o.offsetLeft, l = o.offsetTop);
|
|
125
|
-
}
|
|
126
|
-
const f = I(n);
|
|
127
|
-
if (f <= 0) {
|
|
128
|
-
const u = n.ownerDocument, a = u.body, d = getComputedStyle(a), h = u.compatMode === "CSS1Compat" && parseFloat(d.marginLeft) + parseFloat(d.marginRight) || 0, m = Math.abs(n.clientWidth - a.clientWidth - h);
|
|
129
|
-
m <= K && (r -= m);
|
|
130
|
-
} else f <= K && (r += f);
|
|
131
|
-
return {
|
|
132
|
-
width: r,
|
|
133
|
-
height: s,
|
|
134
|
-
x: c,
|
|
135
|
-
y: l
|
|
136
|
-
};
|
|
137
|
-
}
|
|
138
|
-
function vt(t, e) {
|
|
139
|
-
const i = L(t, !0, e === "fixed"), n = i.top + t.clientTop, o = i.left + t.clientLeft, r = T(t) ? F(t) : w(1), s = t.clientWidth * r.x, c = t.clientHeight * r.y, l = o * r.x, f = n * r.y;
|
|
140
|
-
return {
|
|
141
|
-
width: s,
|
|
142
|
-
height: c,
|
|
143
|
-
x: l,
|
|
144
|
-
y: f
|
|
145
|
-
};
|
|
146
|
-
}
|
|
147
|
-
function j(t, e, i) {
|
|
148
|
-
let n;
|
|
149
|
-
if (e === "viewport")
|
|
150
|
-
n = xt(t, i);
|
|
151
|
-
else if (e === "document")
|
|
152
|
-
n = wt(b(t));
|
|
153
|
-
else if (v(e))
|
|
154
|
-
n = vt(e, i);
|
|
155
|
-
else {
|
|
156
|
-
const o = tt(t);
|
|
157
|
-
n = {
|
|
158
|
-
x: e.x - o.x,
|
|
159
|
-
y: e.y - o.y,
|
|
160
|
-
width: e.width,
|
|
161
|
-
height: e.height
|
|
162
|
-
};
|
|
163
|
-
}
|
|
164
|
-
return J(n);
|
|
165
|
-
}
|
|
166
|
-
function it(t, e) {
|
|
167
|
-
const i = S(t);
|
|
168
|
-
return i === e || !v(i) || A(i) ? !1 : R(i).position === "fixed" || it(i, e);
|
|
169
|
-
}
|
|
170
|
-
function Rt(t, e) {
|
|
171
|
-
const i = e.get(t);
|
|
172
|
-
if (i)
|
|
173
|
-
return i;
|
|
174
|
-
let n = V(t, [], !1).filter((c) => v(c) && _(c) !== "body"), o = null;
|
|
175
|
-
const r = R(t).position === "fixed";
|
|
176
|
-
let s = r ? S(t) : t;
|
|
177
|
-
for (; v(s) && !A(s); ) {
|
|
178
|
-
const c = R(s), l = Q(s);
|
|
179
|
-
!l && c.position === "fixed" && (o = null), (r ? !l && !o : !l && c.position === "static" && !!o && (o.position === "absolute" || o.position === "fixed") || q(s) && !l && it(t, s)) ? n = n.filter((u) => u !== s) : o = c, s = S(s);
|
|
180
|
-
}
|
|
181
|
-
return e.set(t, n), n;
|
|
182
|
-
}
|
|
183
|
-
function bt(t) {
|
|
184
|
-
let {
|
|
185
|
-
element: e,
|
|
186
|
-
boundary: i,
|
|
187
|
-
rootBoundary: n,
|
|
188
|
-
strategy: o
|
|
189
|
-
} = t;
|
|
190
|
-
const s = [...i === "clippingAncestors" ? $(e) ? [] : Rt(e, this._c) : [].concat(i), n], c = j(e, s[0], o);
|
|
191
|
-
let l = c.top, f = c.right, u = c.bottom, a = c.left;
|
|
192
|
-
for (let d = 1; d < s.length; d++) {
|
|
193
|
-
const h = j(e, s[d], o);
|
|
194
|
-
l = E(h.top, l), f = N(h.right, f), u = N(h.bottom, u), a = E(h.left, a);
|
|
195
|
-
}
|
|
196
|
-
return {
|
|
197
|
-
width: f - a,
|
|
198
|
-
height: u - l,
|
|
199
|
-
x: a,
|
|
200
|
-
y: l
|
|
201
|
-
};
|
|
202
|
-
}
|
|
203
|
-
function Ct(t) {
|
|
204
|
-
const {
|
|
205
|
-
width: e,
|
|
206
|
-
height: i
|
|
207
|
-
} = Z(t);
|
|
208
|
-
return {
|
|
209
|
-
width: e,
|
|
210
|
-
height: i
|
|
211
|
-
};
|
|
212
|
-
}
|
|
213
|
-
function Ot(t, e, i) {
|
|
214
|
-
const n = T(e), o = b(e), r = i === "fixed", s = L(t, !0, r, e);
|
|
215
|
-
let c = {
|
|
216
|
-
scrollLeft: 0,
|
|
217
|
-
scrollTop: 0
|
|
218
|
-
};
|
|
219
|
-
const l = w(0);
|
|
220
|
-
function f() {
|
|
221
|
-
l.x = I(o);
|
|
222
|
-
}
|
|
223
|
-
if (n || !n && !r)
|
|
224
|
-
if ((_(e) !== "body" || q(o)) && (c = H(e)), n) {
|
|
225
|
-
const h = L(e, !0, r, e);
|
|
226
|
-
l.x = h.x + e.clientLeft, l.y = h.y + e.clientTop;
|
|
227
|
-
} else o && f();
|
|
228
|
-
r && !n && o && f();
|
|
229
|
-
const u = o && !n && !r ? et(o, c) : w(0), a = s.left + c.scrollLeft - l.x - u.x, d = s.top + c.scrollTop - l.y - u.y;
|
|
230
|
-
return {
|
|
231
|
-
x: a,
|
|
232
|
-
y: d,
|
|
233
|
-
width: s.width,
|
|
234
|
-
height: s.height
|
|
235
|
-
};
|
|
236
|
-
}
|
|
237
|
-
function M(t) {
|
|
238
|
-
return R(t).position === "static";
|
|
239
|
-
}
|
|
240
|
-
function G(t, e) {
|
|
241
|
-
if (!T(t) || R(t).position === "fixed")
|
|
242
|
-
return null;
|
|
243
|
-
if (e)
|
|
244
|
-
return e(t);
|
|
245
|
-
let i = t.offsetParent;
|
|
246
|
-
return b(t) === i && (i = i.ownerDocument.body), i;
|
|
247
|
-
}
|
|
248
|
-
function nt(t, e) {
|
|
249
|
-
const i = O(t);
|
|
250
|
-
if ($(t))
|
|
251
|
-
return i;
|
|
252
|
-
if (!T(t)) {
|
|
253
|
-
let o = S(t);
|
|
254
|
-
for (; o && !A(o); ) {
|
|
255
|
-
if (v(o) && !M(o))
|
|
256
|
-
return o;
|
|
257
|
-
o = S(o);
|
|
258
|
-
}
|
|
259
|
-
return i;
|
|
260
|
-
}
|
|
261
|
-
let n = G(t, e);
|
|
262
|
-
for (; n && at(n) && M(n); )
|
|
263
|
-
n = G(n, e);
|
|
264
|
-
return n && A(n) && M(n) && !Q(n) ? i : n || dt(t) || i;
|
|
265
|
-
}
|
|
266
|
-
const Lt = async function(t) {
|
|
267
|
-
const e = this.getOffsetParent || nt, i = this.getDimensions, n = await i(t.floating);
|
|
268
|
-
return {
|
|
269
|
-
reference: Ot(t.reference, await e(t.floating), t.strategy),
|
|
270
|
-
floating: {
|
|
271
|
-
x: 0,
|
|
272
|
-
y: 0,
|
|
273
|
-
width: n.width,
|
|
274
|
-
height: n.height
|
|
275
|
-
}
|
|
276
|
-
};
|
|
277
|
-
};
|
|
278
|
-
function Tt(t) {
|
|
279
|
-
return R(t).direction === "rtl";
|
|
280
|
-
}
|
|
281
|
-
const Et = {
|
|
282
|
-
convertOffsetParentRelativeRectToViewportRelativeRect: mt,
|
|
283
|
-
getDocumentElement: b,
|
|
284
|
-
getClippingRect: bt,
|
|
285
|
-
getOffsetParent: nt,
|
|
286
|
-
getElementRects: Lt,
|
|
287
|
-
getClientRects: yt,
|
|
288
|
-
getDimensions: Ct,
|
|
289
|
-
getScale: F,
|
|
290
|
-
isElement: v,
|
|
291
|
-
isRTL: Tt
|
|
292
|
-
};
|
|
293
|
-
function ot(t, e) {
|
|
294
|
-
return t.x === e.x && t.y === e.y && t.width === e.width && t.height === e.height;
|
|
295
|
-
}
|
|
296
|
-
function Ft(t, e) {
|
|
297
|
-
let i = null, n;
|
|
298
|
-
const o = b(t);
|
|
299
|
-
function r() {
|
|
300
|
-
var c;
|
|
301
|
-
clearTimeout(n), (c = i) == null || c.disconnect(), i = null;
|
|
302
|
-
}
|
|
303
|
-
function s(c, l) {
|
|
304
|
-
c === void 0 && (c = !1), l === void 0 && (l = 1), r();
|
|
305
|
-
const f = t.getBoundingClientRect(), {
|
|
306
|
-
left: u,
|
|
307
|
-
top: a,
|
|
308
|
-
width: d,
|
|
309
|
-
height: h
|
|
310
|
-
} = f;
|
|
311
|
-
if (c || e(), !d || !h)
|
|
312
|
-
return;
|
|
313
|
-
const m = D(a), p = D(o.clientWidth - (u + d)), y = D(o.clientHeight - (a + h)), g = D(u), C = {
|
|
314
|
-
rootMargin: -m + "px " + -p + "px " + -y + "px " + -g + "px",
|
|
315
|
-
threshold: E(0, N(1, l)) || 1
|
|
316
|
-
};
|
|
317
|
-
let W = !0;
|
|
318
|
-
function k(P) {
|
|
319
|
-
const B = P[0].intersectionRatio;
|
|
320
|
-
if (B !== l) {
|
|
321
|
-
if (!W)
|
|
322
|
-
return s();
|
|
323
|
-
B ? s(!1, B) : n = setTimeout(() => {
|
|
324
|
-
s(!1, 1e-7);
|
|
325
|
-
}, 1e3);
|
|
326
|
-
}
|
|
327
|
-
B === 1 && !ot(f, t.getBoundingClientRect()) && s(), W = !1;
|
|
328
|
-
}
|
|
329
|
-
try {
|
|
330
|
-
i = new IntersectionObserver(k, {
|
|
331
|
-
...C,
|
|
332
|
-
// Handle <iframe>s
|
|
333
|
-
root: o.ownerDocument
|
|
334
|
-
});
|
|
335
|
-
} catch {
|
|
336
|
-
i = new IntersectionObserver(k, C);
|
|
337
|
-
}
|
|
338
|
-
i.observe(t);
|
|
339
|
-
}
|
|
340
|
-
return s(!0), r;
|
|
341
|
-
}
|
|
342
|
-
function Dt(t, e, i, n) {
|
|
343
|
-
n === void 0 && (n = {});
|
|
344
|
-
const {
|
|
345
|
-
ancestorScroll: o = !0,
|
|
346
|
-
ancestorResize: r = !0,
|
|
347
|
-
elementResize: s = typeof ResizeObserver == "function",
|
|
348
|
-
layoutShift: c = typeof IntersectionObserver == "function",
|
|
349
|
-
animationFrame: l = !1
|
|
350
|
-
} = n, f = X(t), u = o || r ? [...f ? V(f) : [], ...e ? V(e) : []] : [];
|
|
351
|
-
u.forEach((g) => {
|
|
352
|
-
o && g.addEventListener("scroll", i, {
|
|
353
|
-
passive: !0
|
|
354
|
-
}), r && g.addEventListener("resize", i);
|
|
355
|
-
});
|
|
356
|
-
const a = f && c ? Ft(f, i) : null;
|
|
357
|
-
let d = -1, h = null;
|
|
358
|
-
s && (h = new ResizeObserver((g) => {
|
|
359
|
-
let [x] = g;
|
|
360
|
-
x && x.target === f && h && e && (h.unobserve(e), cancelAnimationFrame(d), d = requestAnimationFrame(() => {
|
|
361
|
-
var C;
|
|
362
|
-
(C = h) == null || C.observe(e);
|
|
363
|
-
})), i();
|
|
364
|
-
}), f && !l && h.observe(f), e && h.observe(e));
|
|
365
|
-
let m, p = l ? L(t) : null;
|
|
366
|
-
l && y();
|
|
367
|
-
function y() {
|
|
368
|
-
const g = L(t);
|
|
369
|
-
p && !ot(p, g) && i(), p = g, m = requestAnimationFrame(y);
|
|
370
|
-
}
|
|
371
|
-
return i(), () => {
|
|
372
|
-
var g;
|
|
373
|
-
u.forEach((x) => {
|
|
374
|
-
o && x.removeEventListener("scroll", i), r && x.removeEventListener("resize", i);
|
|
375
|
-
}), a?.(), (g = h) == null || g.disconnect(), h = null, l && cancelAnimationFrame(m);
|
|
376
|
-
};
|
|
377
|
-
}
|
|
378
|
-
const zt = lt, At = ut, Ht = st, It = rt, Mt = ft, Nt = ht, Vt = (t, e, i) => {
|
|
379
|
-
const n = /* @__PURE__ */ new Map(), o = {
|
|
380
|
-
platform: Et,
|
|
381
|
-
...i
|
|
382
|
-
}, r = {
|
|
383
|
-
...o.platform,
|
|
384
|
-
_c: n
|
|
385
|
-
};
|
|
386
|
-
return ct(t, e, {
|
|
387
|
-
...o,
|
|
388
|
-
platform: r
|
|
389
|
-
});
|
|
390
|
-
};
|
|
391
4
|
export {
|
|
392
|
-
|
|
393
|
-
Vt as computePosition,
|
|
394
|
-
Ht as flip,
|
|
395
|
-
V as getOverflowAncestors,
|
|
396
|
-
Mt as hide,
|
|
397
|
-
Nt as limitShift,
|
|
398
|
-
zt as offset,
|
|
399
|
-
Et as platform,
|
|
400
|
-
At as shift,
|
|
401
|
-
It as size
|
|
5
|
+
e as ownerDocument
|
|
402
6
|
};
|
|
403
7
|
//# sourceMappingURL=index310.js.map
|