@rpcbase/ui 0.244.0 → 0.246.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/index10.js +2 -2
- package/dist/index105.js +36 -36
- package/dist/index106.js +1 -1
- package/dist/index11.js +2 -2
- package/dist/index117.js +6 -6
- package/dist/index12.js +3 -3
- package/dist/index120.js +10 -10
- package/dist/index122.js +2 -2
- package/dist/index123.js +3 -3
- package/dist/index124.js +1 -1
- package/dist/index126.js +2 -2
- package/dist/index128.js +2 -2
- package/dist/index13.js +2 -2
- package/dist/index14.js +2 -2
- package/dist/index15.js +2 -2
- package/dist/index16.js +8 -8
- package/dist/index17.js +1 -1
- package/dist/index171.js +14 -58
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +68 -8
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +37 -87
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +13 -19
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +23 -16
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +111 -5
- package/dist/index176.js.map +1 -1
- package/dist/index177.js +13 -6
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +4 -6
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +4 -5
- package/dist/index179.js.map +1 -1
- package/dist/index18.js +7 -7
- package/dist/index180.js +5 -7
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +11 -16
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +19 -4
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +11 -5
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +176 -12
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +279 -9
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +4 -13
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +28 -14
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +126 -4
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +63 -5
- package/dist/index189.js.map +1 -1
- package/dist/index19.js +16 -16
- package/dist/index190.js +8 -6
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +16 -6
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +29 -53
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +69 -8
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +58 -4
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +8 -4
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +87 -8
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +19 -4
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +16 -4
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +5 -3
- package/dist/index199.js.map +1 -1
- package/dist/index200.js +5 -10
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +6 -9
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +4 -9
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +6 -10
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +16 -10
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +4 -9
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +4 -6
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +12 -5
- 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 -5
- package/dist/index209.js.map +1 -1
- package/dist/index21.js +1 -1
- package/dist/index210.js +13 -6
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +4 -5
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +5 -16
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +6 -7
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +5 -10
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +54 -10
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +8 -21
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +4 -8
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +4 -9
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +8 -9
- package/dist/index219.js.map +1 -1
- package/dist/index22.js +2 -2
- package/dist/index220.js +4 -4
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +4 -5
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +3 -16
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +10 -9
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +9 -18
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +9 -20
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +10 -12
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +10 -29
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +9 -12
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +6 -25
- package/dist/index229.js.map +1 -1
- package/dist/index23.js +1 -1
- package/dist/index230.js +5 -5
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +5 -20
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +5 -66
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +6 -6
- 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 -11
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +7 -3
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +9 -49
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +11 -4
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +20 -28
- package/dist/index239.js.map +1 -1
- package/dist/index24.js +1 -1
- package/dist/index240.js +8 -16
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +9 -5
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +9 -21
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +4 -53
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +5 -20
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +16 -41
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +9 -39
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +19 -46
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +17 -20
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +12 -19
- package/dist/index249.js.map +1 -1
- package/dist/index25.js +1 -1
- package/dist/index250.js +28 -19
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +10 -68
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +25 -17
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +5 -3
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +20 -12
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +65 -29
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +6 -13
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +5 -18
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +11 -36
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +3 -69
- package/dist/index259.js.map +1 -1
- package/dist/index260.js +47 -236
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +4 -253
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +28 -67
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +14 -97
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +5 -176
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +21 -83
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +54 -13
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +20 -3
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +41 -29
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +39 -16
- package/dist/index269.js.map +1 -1
- package/dist/index270.js +45 -37
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +20 -34
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +64 -62
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +17 -17
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +3 -3
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +11 -111
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +12 -25
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +16 -26
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +37 -4
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +231 -118
- package/dist/index279.js.map +1 -1
- package/dist/index28.js +2 -2
- package/dist/index280.js +252 -4
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +63 -73
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +93 -266
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +83 -11
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +4 -28
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +29 -15
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +16 -10
- package/dist/index286.js.map +1 -1
- package/dist/index287.js +35 -26
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +17 -16
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +3 -125
- package/dist/index289.js.map +1 -1
- package/dist/index29.js +3 -56
- package/dist/index29.js.map +1 -1
- package/dist/index290.js +26 -5
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +25 -62
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +4 -14
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +79 -14
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +272 -7
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +12 -11
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +10 -5
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +25 -3
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +15 -9
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +125 -7
- package/dist/index299.js.map +1 -1
- package/dist/index3.js +2 -2
- package/dist/index30.js +242 -3
- package/dist/index30.js.map +1 -1
- package/dist/index300.js +4 -132
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +63 -277
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +12 -398
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +8 -5
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +5 -52
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +3 -11
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +10 -27
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +6 -10
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +133 -4
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +399 -14
- package/dist/index309.js.map +1 -1
- package/dist/index31.js +21 -239
- package/dist/index31.js.map +1 -1
- package/dist/index310.js +5 -4
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +52 -4
- package/dist/index311.js.map +1 -1
- package/dist/index312.js +10 -10
- package/dist/index312.js.map +1 -1
- package/dist/index313.js +27 -63
- package/dist/index313.js.map +1 -1
- package/dist/index314.js +11 -8
- package/dist/index314.js.map +1 -1
- package/dist/index32.js +4 -23
- package/dist/index32.js.map +1 -1
- package/dist/index33.js +6 -3
- package/dist/index33.js.map +1 -1
- package/dist/index34.js +38 -8
- package/dist/index34.js.map +1 -1
- package/dist/index341.js +8 -4
- package/dist/index341.js.map +1 -1
- package/dist/index342.js +12 -18
- package/dist/index342.js.map +1 -1
- package/dist/index343.js +8 -12
- package/dist/index343.js.map +1 -1
- package/dist/index344.js +13 -8
- package/dist/index344.js.map +1 -1
- package/dist/index345.js +3 -11
- package/dist/index345.js.map +1 -1
- package/dist/index346.js +3 -8
- package/dist/index346.js.map +1 -1
- package/dist/index347.js +16 -12
- package/dist/index347.js.map +1 -1
- package/dist/index348.js +51 -3
- package/dist/index348.js.map +1 -1
- package/dist/index349.js +5 -3
- package/dist/index349.js.map +1 -1
- package/dist/index35.js +74 -35
- package/dist/index35.js.map +1 -1
- package/dist/index350.js +62 -4
- package/dist/index350.js.map +1 -1
- package/dist/index351.js +66 -14
- package/dist/index351.js.map +1 -1
- package/dist/index352.js +7 -10
- package/dist/index352.js.map +1 -1
- package/dist/index353.js +5 -6
- package/dist/index353.js.map +1 -1
- package/dist/index354.js +11 -4
- package/dist/index354.js.map +1 -1
- package/dist/index355.js +22 -3
- package/dist/index355.js.map +1 -1
- package/dist/index356.js +16 -8
- package/dist/index356.js.map +1 -1
- package/dist/index357.js +8 -52
- package/dist/index357.js.map +1 -1
- package/dist/index358.js +143 -15
- package/dist/index358.js.map +1 -1
- package/dist/index359.js +80 -8
- package/dist/index359.js.map +1 -1
- package/dist/index36.js +20 -74
- package/dist/index36.js.map +1 -1
- package/dist/index360.js +61 -5
- package/dist/index360.js.map +1 -1
- package/dist/index361.js +15 -21
- package/dist/index361.js.map +1 -1
- package/dist/index362.js +5 -45
- package/dist/index362.js.map +1 -1
- package/dist/index363.js +16 -16
- package/dist/index363.js.map +1 -1
- package/dist/index364.js +13 -5
- package/dist/index364.js.map +1 -1
- package/dist/index365.js +10 -199
- package/dist/index365.js.map +1 -1
- package/dist/index366.js +4 -74
- package/dist/index366.js.map +1 -1
- package/dist/index367.js +5 -123
- package/dist/index367.js.map +1 -1
- package/dist/index368.js +3 -18
- package/dist/index368.js.map +1 -1
- package/dist/index369.js +20 -61
- package/dist/index369.js.map +1 -1
- package/dist/index37.js +33 -18
- package/dist/index37.js.map +1 -1
- package/dist/index370.js +42 -64
- package/dist/index370.js.map +1 -1
- package/dist/index371.js +18 -12
- package/dist/index371.js.map +1 -1
- package/dist/index372.js +5 -22
- package/dist/index372.js.map +1 -1
- package/dist/index373.js +196 -140
- package/dist/index373.js.map +1 -1
- package/dist/index374.js +73 -79
- package/dist/index374.js.map +1 -1
- package/dist/index375.js +117 -55
- package/dist/index375.js.map +1 -1
- package/dist/index378.js +8 -4
- package/dist/index378.js.map +1 -1
- package/dist/index379.js +27 -5
- package/dist/index379.js.map +1 -1
- package/dist/index38.js +26 -36
- package/dist/index38.js.map +1 -1
- package/dist/index380.js +138 -4
- package/dist/index380.js.map +1 -1
- package/dist/index381.js +12 -15
- package/dist/index381.js.map +1 -1
- package/dist/index382.js +46 -8
- package/dist/index382.js.map +1 -1
- package/dist/index383.js +3 -5
- package/dist/index383.js.map +1 -1
- package/dist/index384.js +21 -4
- package/dist/index384.js.map +1 -1
- package/dist/index385.js +72 -542
- package/dist/index385.js.map +1 -1
- package/dist/index386.js +11 -46
- package/dist/index386.js.map +1 -1
- package/dist/index387.js +3 -17
- package/dist/index387.js.map +1 -1
- package/dist/index388.js +71 -5
- package/dist/index388.js.map +1 -1
- package/dist/index389.js +35 -7
- package/dist/index389.js.map +1 -1
- package/dist/index39.js +21 -26
- package/dist/index39.js.map +1 -1
- package/dist/index390.js +7 -7
- package/dist/index390.js.map +1 -1
- package/dist/index391.js +15 -7
- package/dist/index391.js.map +1 -1
- package/dist/index392.js +4 -11
- package/dist/index392.js.map +1 -1
- package/dist/index393.js +4 -8
- package/dist/index393.js.map +1 -1
- package/dist/index394.js +4 -13
- package/dist/index394.js.map +1 -1
- package/dist/index395.js +16 -3
- package/dist/index395.js.map +1 -1
- package/dist/index396.js +9 -3
- package/dist/index396.js.map +1 -1
- package/dist/index397.js +6 -7
- package/dist/index397.js.map +1 -1
- package/dist/index398.js +4 -12
- package/dist/index398.js.map +1 -1
- package/dist/index399.js +543 -44
- package/dist/index399.js.map +1 -1
- package/dist/index4.js +2 -2
- package/dist/index40.js +56 -20
- package/dist/index40.js.map +1 -1
- package/dist/index400.js +44 -135
- package/dist/index400.js.map +1 -1
- package/dist/index401.js +17 -8
- package/dist/index401.js.map +1 -1
- package/dist/index402.js +6 -27
- package/dist/index402.js.map +1 -1
- package/dist/index403.js +7 -3
- package/dist/index403.js.map +1 -1
- package/dist/index404.js +6 -21
- package/dist/index404.js.map +1 -1
- package/dist/index405.js +7 -75
- package/dist/index405.js.map +1 -1
- package/dist/index406.js +12 -12
- package/dist/index406.js.map +1 -1
- package/dist/index407.js +8 -3
- package/dist/index407.js.map +1 -1
- package/dist/index408.js +12 -71
- package/dist/index408.js.map +1 -1
- package/dist/index409.js +3 -36
- package/dist/index409.js.map +1 -1
- package/dist/index41.js +51 -59
- package/dist/index41.js.map +1 -1
- package/dist/index410.js +3 -16
- package/dist/index410.js.map +1 -1
- package/dist/index411.js +3 -5
- package/dist/index411.js.map +1 -1
- package/dist/index412.js +14 -55
- package/dist/index412.js.map +1 -1
- package/dist/index413.js +490 -66
- package/dist/index413.js.map +1 -1
- package/dist/index414.js +5 -31
- package/dist/index414.js.map +1 -1
- package/dist/index415.js +56 -9
- package/dist/index415.js.map +1 -1
- package/dist/index416.js +61 -146
- package/dist/index416.js.map +1 -1
- package/dist/index417.js +26 -103
- package/dist/index417.js.map +1 -1
- package/dist/index418.js +9 -8
- package/dist/index418.js.map +1 -1
- package/dist/index419.js +153 -2
- package/dist/index419.js.map +1 -1
- package/dist/index42.js +21 -50
- package/dist/index42.js.map +1 -1
- package/dist/index420.js +107 -43
- package/dist/index420.js.map +1 -1
- package/dist/index421.js +7 -55
- package/dist/index421.js.map +1 -1
- package/dist/index422.js +2 -8
- package/dist/index422.js.map +1 -1
- package/dist/index423.js +44 -2
- package/dist/index423.js.map +1 -1
- package/dist/index424.js +55 -54
- package/dist/index424.js.map +1 -1
- package/dist/index425.js +7 -55
- package/dist/index425.js.map +1 -1
- package/dist/index426.js +2 -3
- package/dist/index426.js.map +1 -1
- package/dist/index427.js +54 -14
- package/dist/index427.js.map +1 -1
- package/dist/index428.js +51 -487
- package/dist/index428.js.map +1 -1
- package/dist/index43.js +127 -18
- package/dist/index43.js.map +1 -1
- package/dist/index430.js +2 -2
- package/dist/index432.js +2 -2
- package/dist/index44.js +39 -122
- package/dist/index44.js.map +1 -1
- package/dist/index45.js +85 -42
- package/dist/index45.js.map +1 -1
- package/dist/index46.js +123 -87
- package/dist/index46.js.map +1 -1
- package/dist/index47.js +5 -126
- package/dist/index47.js.map +1 -1
- package/dist/index48.js +332 -5
- package/dist/index48.js.map +1 -1
- package/dist/index49.js +246 -321
- package/dist/index49.js.map +1 -1
- package/dist/index5.js +2 -2
- package/dist/index50.js +23 -254
- package/dist/index50.js.map +1 -1
- package/dist/index51.js +129 -25
- package/dist/index51.js.map +1 -1
- package/dist/index52.js +24 -129
- package/dist/index52.js.map +1 -1
- package/dist/index53.js +19 -22
- package/dist/index53.js.map +1 -1
- package/dist/index54.js +134 -19
- package/dist/index54.js.map +1 -1
- package/dist/index55.js +30 -133
- package/dist/index55.js.map +1 -1
- package/dist/index56.js +24 -30
- package/dist/index56.js.map +1 -1
- package/dist/index57.js +38 -26
- package/dist/index57.js.map +1 -1
- package/dist/index58.js +19 -39
- package/dist/index58.js.map +1 -1
- package/dist/index59.js +133 -18
- package/dist/index59.js.map +1 -1
- package/dist/index6.js +4 -4
- package/dist/index60.js +49 -134
- package/dist/index60.js.map +1 -1
- package/dist/index61.js +25 -48
- package/dist/index61.js.map +1 -1
- package/dist/index62.js +57 -28
- package/dist/index62.js.map +1 -1
- package/dist/index63.js +56 -57
- package/dist/index63.js.map +1 -1
- package/dist/index7.js +11 -11
- package/dist/index8.js +2 -2
- package/dist/index9.js +1 -1
- package/package.json +1 -1
package/dist/index31.js
CHANGED
|
@@ -1,245 +1,27 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
import { useSelection as rt } from "./index123.js";
|
|
21
|
-
import { convertMatchersToTimeZone as R } from "./index124.js";
|
|
22
|
-
import { rangeIncludesDate as it } from "./index125.js";
|
|
23
|
-
import { toTimeZone as N } from "./index126.js";
|
|
24
|
-
import { isDateRange as dt } from "./index127.js";
|
|
25
|
-
import { enUS as lt } from "./index128.js";
|
|
26
|
-
function Ft(Z) {
|
|
27
|
-
let e = Z;
|
|
28
|
-
const f = e.timeZone;
|
|
29
|
-
if (f && (e = {
|
|
30
|
-
...Z,
|
|
31
|
-
timeZone: f
|
|
32
|
-
}, e.today && (e.today = N(e.today, f)), e.month && (e.month = N(e.month, f)), e.defaultMonth && (e.defaultMonth = N(e.defaultMonth, f)), e.startMonth && (e.startMonth = N(e.startMonth, f)), e.endMonth && (e.endMonth = N(e.endMonth, f)), e.mode === "single" && e.selected ? e.selected = N(e.selected, f) : e.mode === "multiple" && e.selected ? e.selected = e.selected?.map((o) => N(o, f)) : e.mode === "range" && e.selected && (e.selected = {
|
|
33
|
-
from: e.selected.from ? N(e.selected.from, f) : e.selected.from,
|
|
34
|
-
to: e.selected.to ? N(e.selected.to, f) : e.selected.to
|
|
35
|
-
}), e.disabled !== void 0 && (e.disabled = R(e.disabled, f)), e.hidden !== void 0 && (e.hidden = R(e.hidden, f)), e.modifiers)) {
|
|
36
|
-
const o = {};
|
|
37
|
-
Object.keys(e.modifiers).forEach((s) => {
|
|
38
|
-
o[s] = R(e.modifiers?.[s], f);
|
|
39
|
-
}), e.modifiers = o;
|
|
40
|
-
}
|
|
41
|
-
const { components: c, formatters: D, labels: G, dateLib: t, locale: H, classNames: l } = K(() => {
|
|
42
|
-
const o = { ...lt, ...e.locale }, s = e.broadcastCalendar ? 1 : e.weekStartsOn, n = e.noonSafe && e.timeZone ? et(e.timeZone, {
|
|
43
|
-
weekStartsOn: s,
|
|
44
|
-
locale: o
|
|
45
|
-
}) : void 0, u = e.dateLib && n ? { ...n, ...e.dateLib } : e.dateLib ?? n, i = new He({
|
|
46
|
-
locale: o,
|
|
47
|
-
weekStartsOn: s,
|
|
48
|
-
firstWeekContainsDate: e.firstWeekContainsDate,
|
|
49
|
-
useAdditionalWeekYearTokens: e.useAdditionalWeekYearTokens,
|
|
50
|
-
useAdditionalDayOfYearTokens: e.useAdditionalDayOfYearTokens,
|
|
51
|
-
timeZone: e.timeZone,
|
|
52
|
-
numerals: e.numerals
|
|
53
|
-
}, u);
|
|
54
|
-
return {
|
|
55
|
-
dateLib: i,
|
|
56
|
-
components: Ue(e.components),
|
|
57
|
-
formatters: $e(e.formatters),
|
|
58
|
-
labels: qe(e.labels, i.options),
|
|
59
|
-
locale: o,
|
|
60
|
-
classNames: { ...Ve(), ...e.classNames }
|
|
61
|
-
};
|
|
62
|
-
}, [
|
|
63
|
-
e.locale,
|
|
64
|
-
e.broadcastCalendar,
|
|
65
|
-
e.weekStartsOn,
|
|
66
|
-
e.firstWeekContainsDate,
|
|
67
|
-
e.useAdditionalWeekYearTokens,
|
|
68
|
-
e.useAdditionalDayOfYearTokens,
|
|
69
|
-
e.timeZone,
|
|
70
|
-
e.numerals,
|
|
71
|
-
e.dateLib,
|
|
72
|
-
e.noonSafe,
|
|
73
|
-
e.components,
|
|
74
|
-
e.formatters,
|
|
75
|
-
e.labels,
|
|
76
|
-
e.classNames
|
|
77
|
-
]);
|
|
78
|
-
e.today || (e = { ...e, today: t.today() });
|
|
79
|
-
const { captionLayout: v, mode: E, navLayout: M, numberOfMonths: _ = 1, onDayBlur: I, onDayClick: B, onDayFocus: U, onDayKeyDown: j, onDayMouseEnter: V, onDayMouseLeave: $, onNextClick: q, onPrevClick: z, showWeekNumber: J, styles: m } = e, { formatCaption: Q, formatDay: X, formatMonthDropdown: de, formatWeekNumber: le, formatWeekNumberHeader: me, formatWeekdayName: ce, formatYearDropdown: ue } = D, ee = ot(e, t), { days: fe, months: g, navStart: S, navEnd: O, previousMonth: p, nextMonth: h, goToMonth: k } = ee, L = _e(fe, e, S, O, t), { isSelected: Y, select: x, selected: w } = rt(e, t) ?? {}, { blur: te, focused: ae, isFocusTarget: pe, moveFocus: oe, setFocused: C } = st(e, ee, L, Y ?? (() => !1), t), { labelDayButton: he, labelGridcell: be, labelGrid: ye, labelMonthDropdown: ke, labelNav: ne, labelPrevious: Ne, labelNext: ve, labelWeekday: De, labelWeekNumber: Me, labelWeekNumberHeader: ge, labelYearDropdown: we } = G, Ce = K(() => Qe(t, e.ISOWeek, e.broadcastCalendar, e.today), [t, e.ISOWeek, e.broadcastCalendar, e.today]), se = E !== void 0 || B !== void 0, P = y(() => {
|
|
80
|
-
p && (k(p), z?.(p));
|
|
81
|
-
}, [p, k, z]), F = y(() => {
|
|
82
|
-
h && (k(h), q?.(h));
|
|
83
|
-
}, [k, h, q]), We = y((o, s) => (n) => {
|
|
84
|
-
n.preventDefault(), n.stopPropagation(), C(o), !s.disabled && (x?.(o.date, s, n), B?.(o.date, s, n));
|
|
85
|
-
}, [x, B, C]), Ee = y((o, s) => (n) => {
|
|
86
|
-
C(o), U?.(o.date, s, n);
|
|
87
|
-
}, [U, C]), Be = y((o, s) => (n) => {
|
|
88
|
-
te(), I?.(o.date, s, n);
|
|
89
|
-
}, [te, I]), Se = y((o, s) => (n) => {
|
|
90
|
-
const u = {
|
|
91
|
-
ArrowLeft: [
|
|
92
|
-
n.shiftKey ? "month" : "day",
|
|
93
|
-
e.dir === "rtl" ? "after" : "before"
|
|
94
|
-
],
|
|
95
|
-
ArrowRight: [
|
|
96
|
-
n.shiftKey ? "month" : "day",
|
|
97
|
-
e.dir === "rtl" ? "before" : "after"
|
|
98
|
-
],
|
|
99
|
-
ArrowDown: [n.shiftKey ? "year" : "week", "after"],
|
|
100
|
-
ArrowUp: [n.shiftKey ? "year" : "week", "before"],
|
|
101
|
-
PageUp: [n.shiftKey ? "year" : "month", "before"],
|
|
102
|
-
PageDown: [n.shiftKey ? "year" : "month", "after"],
|
|
103
|
-
Home: ["startOfWeek", "before"],
|
|
104
|
-
End: ["endOfWeek", "after"]
|
|
105
|
-
};
|
|
106
|
-
if (u[n.key]) {
|
|
107
|
-
n.preventDefault(), n.stopPropagation();
|
|
108
|
-
const [i, b] = u[n.key];
|
|
109
|
-
oe(i, b);
|
|
1
|
+
import { defaultDateLib as A } from "./index105.js";
|
|
2
|
+
import { rangeIncludesDate as p } from "./index125.js";
|
|
3
|
+
import { isDatesArray as a, isDateRange as I, isDayOfWeekType as g, isDateInterval as k, isDateAfterType as O, isDateBeforeType as W } from "./index127.js";
|
|
4
|
+
function b(f, n, r = A) {
|
|
5
|
+
const t = Array.isArray(n) ? n : [n], { isSameDay: o, differenceInCalendarDays: i, isAfter: D } = r;
|
|
6
|
+
return t.some((e) => {
|
|
7
|
+
if (typeof e == "boolean")
|
|
8
|
+
return e;
|
|
9
|
+
if (r.isDate(e))
|
|
10
|
+
return o(f, e);
|
|
11
|
+
if (a(e, r))
|
|
12
|
+
return e.some((s) => o(f, s));
|
|
13
|
+
if (I(e))
|
|
14
|
+
return p(e, f, !1, r);
|
|
15
|
+
if (g(e))
|
|
16
|
+
return Array.isArray(e.dayOfWeek) ? e.dayOfWeek.includes(f.getDay()) : e.dayOfWeek === f.getDay();
|
|
17
|
+
if (k(e)) {
|
|
18
|
+
const s = i(e.before, f), l = i(e.after, f), y = s > 0, u = l < 0;
|
|
19
|
+
return D(e.before, e.after) ? u && y : y || u;
|
|
110
20
|
}
|
|
111
|
-
|
|
112
|
-
}, [oe, j, e.dir]), Oe = y((o, s) => (n) => {
|
|
113
|
-
V?.(o.date, s, n);
|
|
114
|
-
}, [V]), Le = y((o, s) => (n) => {
|
|
115
|
-
$?.(o.date, s, n);
|
|
116
|
-
}, [$]), Ye = y((o, s) => (n) => {
|
|
117
|
-
const u = Number(n.target.value), i = t.setMonth(t.startOfMonth(o), u);
|
|
118
|
-
k(t.addMonths(i, -s));
|
|
119
|
-
}, [t, k]), xe = y((o, s) => (n) => {
|
|
120
|
-
const u = Number(n.target.value), i = t.setYear(t.startOfMonth(o), u);
|
|
121
|
-
k(t.addMonths(i, -s));
|
|
122
|
-
}, [t, k]), { className: Pe, style: Fe } = K(() => ({
|
|
123
|
-
className: [l[a.Root], e.className].filter(Boolean).join(" "),
|
|
124
|
-
style: { ...m?.[a.Root], ...e.style }
|
|
125
|
-
}), [l, e.className, e.style, m]), Ae = je(e), re = (o) => {
|
|
126
|
-
const s = m?.[a.Dropdown], n = m?.[o];
|
|
127
|
-
if (!(!s && !n))
|
|
128
|
-
return {
|
|
129
|
-
...s,
|
|
130
|
-
...n
|
|
131
|
-
};
|
|
132
|
-
}, ie = Ge(null);
|
|
133
|
-
at(ie, !!e.animate, {
|
|
134
|
-
classNames: l,
|
|
135
|
-
months: g,
|
|
136
|
-
focused: ae,
|
|
137
|
-
dateLib: t
|
|
21
|
+
return O(e) ? i(f, e.after) > 0 : W(e) ? i(e.before, f) > 0 : typeof e == "function" ? e(f) : !1;
|
|
138
22
|
});
|
|
139
|
-
const Te = {
|
|
140
|
-
dayPickerProps: e,
|
|
141
|
-
selected: w,
|
|
142
|
-
select: x,
|
|
143
|
-
isSelected: Y,
|
|
144
|
-
months: g,
|
|
145
|
-
nextMonth: h,
|
|
146
|
-
previousMonth: p,
|
|
147
|
-
goToMonth: k,
|
|
148
|
-
getModifiers: L,
|
|
149
|
-
components: c,
|
|
150
|
-
classNames: l,
|
|
151
|
-
styles: m,
|
|
152
|
-
labels: G,
|
|
153
|
-
formatters: D
|
|
154
|
-
};
|
|
155
|
-
return d.createElement(
|
|
156
|
-
nt.Provider,
|
|
157
|
-
{ value: Te },
|
|
158
|
-
d.createElement(
|
|
159
|
-
c.Root,
|
|
160
|
-
{ rootRef: e.animate ? ie : void 0, className: Pe, style: Fe, dir: e.dir, id: e.id, lang: e.lang ?? H.code, nonce: e.nonce, title: e.title, role: e.role, "aria-label": e["aria-label"], "aria-labelledby": e["aria-labelledby"], ...Ae },
|
|
161
|
-
d.createElement(
|
|
162
|
-
c.Months,
|
|
163
|
-
{ className: l[a.Months], style: m?.[a.Months] },
|
|
164
|
-
!e.hideNavigation && !M && d.createElement(c.Nav, { "data-animated-nav": e.animate ? "true" : void 0, className: l[a.Nav], style: m?.[a.Nav], "aria-label": ne(), onPreviousClick: P, onNextClick: F, previousMonth: p, nextMonth: h }),
|
|
165
|
-
g.map((o, s) => {
|
|
166
|
-
const n = e.reverseMonths ? g.length - 1 - s : s;
|
|
167
|
-
return d.createElement(
|
|
168
|
-
c.Month,
|
|
169
|
-
{
|
|
170
|
-
"data-animated-month": e.animate ? "true" : void 0,
|
|
171
|
-
className: l[a.Month],
|
|
172
|
-
style: m?.[a.Month],
|
|
173
|
-
// biome-ignore lint/suspicious/noArrayIndexKey: breaks animation
|
|
174
|
-
key: s,
|
|
175
|
-
displayIndex: s,
|
|
176
|
-
calendarMonth: o
|
|
177
|
-
},
|
|
178
|
-
M === "around" && !e.hideNavigation && s === 0 && d.createElement(
|
|
179
|
-
c.PreviousMonthButton,
|
|
180
|
-
{ type: "button", className: l[a.PreviousMonthButton], style: m?.[a.PreviousMonthButton], tabIndex: p ? void 0 : -1, "aria-disabled": p ? void 0 : !0, "aria-label": Ne(p), onClick: P, "data-animated-button": e.animate ? "true" : void 0 },
|
|
181
|
-
d.createElement(c.Chevron, { disabled: p ? void 0 : !0, className: l[a.Chevron], style: m?.[a.Chevron], orientation: e.dir === "rtl" ? "right" : "left" })
|
|
182
|
-
),
|
|
183
|
-
d.createElement(c.MonthCaption, { "data-animated-caption": e.animate ? "true" : void 0, className: l[a.MonthCaption], style: m?.[a.MonthCaption], calendarMonth: o, displayIndex: s }, v?.startsWith("dropdown") ? d.createElement(
|
|
184
|
-
c.DropdownNav,
|
|
185
|
-
{ className: l[a.Dropdowns], style: m?.[a.Dropdowns] },
|
|
186
|
-
(() => {
|
|
187
|
-
const u = v === "dropdown" || v === "dropdown-months" ? d.createElement(c.MonthsDropdown, { key: "month", className: l[a.MonthsDropdown], "aria-label": ke(), disabled: !!e.disableNavigation, onChange: Ye(o.date, n), options: ze(o.date, S, O, D, t), style: re(a.MonthsDropdown), value: t.getMonth(o.date) }) : d.createElement("span", { key: "month" }, de(o.date, t)), i = v === "dropdown" || v === "dropdown-years" ? d.createElement(c.YearsDropdown, { key: "year", className: l[a.YearsDropdown], "aria-label": we(t.options), disabled: !!e.disableNavigation, onChange: xe(o.date, n), options: Xe(S, O, D, t, !!e.reverseYears), style: re(a.YearsDropdown), value: t.getYear(o.date) }) : d.createElement("span", { key: "year" }, ue(o.date, t));
|
|
188
|
-
return t.getMonthYearOrder() === "year-first" ? [i, u] : [u, i];
|
|
189
|
-
})(),
|
|
190
|
-
d.createElement("span", { role: "status", "aria-live": "polite", style: {
|
|
191
|
-
border: 0,
|
|
192
|
-
clip: "rect(0 0 0 0)",
|
|
193
|
-
height: "1px",
|
|
194
|
-
margin: "-1px",
|
|
195
|
-
overflow: "hidden",
|
|
196
|
-
padding: 0,
|
|
197
|
-
position: "absolute",
|
|
198
|
-
width: "1px",
|
|
199
|
-
whiteSpace: "nowrap",
|
|
200
|
-
wordWrap: "normal"
|
|
201
|
-
} }, Q(o.date, t.options, t))
|
|
202
|
-
) : d.createElement(c.CaptionLabel, { className: l[a.CaptionLabel], style: m?.[a.CaptionLabel], role: "status", "aria-live": "polite" }, Q(o.date, t.options, t))),
|
|
203
|
-
M === "around" && !e.hideNavigation && s === _ - 1 && d.createElement(
|
|
204
|
-
c.NextMonthButton,
|
|
205
|
-
{ type: "button", className: l[a.NextMonthButton], style: m?.[a.NextMonthButton], tabIndex: h ? void 0 : -1, "aria-disabled": h ? void 0 : !0, "aria-label": ve(h), onClick: F, "data-animated-button": e.animate ? "true" : void 0 },
|
|
206
|
-
d.createElement(c.Chevron, { disabled: h ? void 0 : !0, className: l[a.Chevron], style: m?.[a.Chevron], orientation: e.dir === "rtl" ? "left" : "right" })
|
|
207
|
-
),
|
|
208
|
-
s === _ - 1 && M === "after" && !e.hideNavigation && d.createElement(c.Nav, { "data-animated-nav": e.animate ? "true" : void 0, className: l[a.Nav], style: m?.[a.Nav], "aria-label": ne(), onPreviousClick: P, onNextClick: F, previousMonth: p, nextMonth: h }),
|
|
209
|
-
d.createElement(
|
|
210
|
-
c.MonthGrid,
|
|
211
|
-
{ role: "grid", "aria-multiselectable": E === "multiple" || E === "range", "aria-label": ye(o.date, t.options, t) || void 0, className: l[a.MonthGrid], style: m?.[a.MonthGrid] },
|
|
212
|
-
!e.hideWeekdays && d.createElement(
|
|
213
|
-
c.Weekdays,
|
|
214
|
-
{ "data-animated-weekdays": e.animate ? "true" : void 0, className: l[a.Weekdays], style: m?.[a.Weekdays] },
|
|
215
|
-
J && d.createElement(c.WeekNumberHeader, { "aria-label": ge(t.options), className: l[a.WeekNumberHeader], style: m?.[a.WeekNumberHeader], scope: "col" }, me()),
|
|
216
|
-
Ce.map((u) => d.createElement(c.Weekday, { "aria-label": De(u, t.options, t), className: l[a.Weekday], key: String(u), style: m?.[a.Weekday], scope: "col" }, ce(u, t.options, t)))
|
|
217
|
-
),
|
|
218
|
-
d.createElement(c.Weeks, { "data-animated-weeks": e.animate ? "true" : void 0, className: l[a.Weeks], style: m?.[a.Weeks] }, o.weeks.map((u) => d.createElement(
|
|
219
|
-
c.Week,
|
|
220
|
-
{ className: l[a.Week], key: u.weekNumber, style: m?.[a.Week], week: u },
|
|
221
|
-
J && d.createElement(c.WeekNumber, { week: u, style: m?.[a.WeekNumber], "aria-label": Me(u.weekNumber, {
|
|
222
|
-
locale: H
|
|
223
|
-
}), className: l[a.WeekNumber], scope: "row", role: "rowheader" }, le(u.weekNumber, t)),
|
|
224
|
-
u.days.map((i) => {
|
|
225
|
-
const { date: b } = i, r = L(i);
|
|
226
|
-
if (r[tt.focused] = !r.hidden && !!ae?.isEqualTo(i), r[W.selected] = Y?.(b) || r.selected, dt(w)) {
|
|
227
|
-
const { from: A, to: T } = w;
|
|
228
|
-
r[W.range_start] = !!(A && T && t.isSameDay(b, A)), r[W.range_end] = !!(A && T && t.isSameDay(b, T)), r[W.range_middle] = it(w, b, !0, t);
|
|
229
|
-
}
|
|
230
|
-
const Ke = Je(r, m, e.modifiersStyles), Re = Ie(r, l, e.modifiersClassNames), Ze = !se && !r.hidden ? be(b, r, t.options, t) : void 0;
|
|
231
|
-
return d.createElement(c.Day, { key: `${i.isoDate}_${i.displayMonthId}`, day: i, modifiers: r, className: Re.join(" "), style: Ke, role: "gridcell", "aria-selected": r.selected || void 0, "aria-label": Ze, "data-day": i.isoDate, "data-month": i.outside ? i.dateMonthId : void 0, "data-selected": r.selected || void 0, "data-disabled": r.disabled || void 0, "data-hidden": r.hidden || void 0, "data-outside": i.outside || void 0, "data-focused": r.focused || void 0, "data-today": r.today || void 0 }, !r.hidden && se ? d.createElement(c.DayButton, { className: l[a.DayButton], style: m?.[a.DayButton], type: "button", day: i, modifiers: r, disabled: !r.focused && r.disabled || void 0, "aria-disabled": r.focused && r.disabled || void 0, tabIndex: pe(i) ? 0 : -1, "aria-label": he(b, r, t.options, t), onClick: We(i, r), onBlur: Be(i, r), onFocus: Ee(i, r), onKeyDown: Se(i, r), onMouseEnter: Oe(i, r), onMouseLeave: Le(i, r) }, X(b, t.options, t)) : !r.hidden && X(i.date, t.options, t));
|
|
232
|
-
})
|
|
233
|
-
)))
|
|
234
|
-
)
|
|
235
|
-
);
|
|
236
|
-
})
|
|
237
|
-
),
|
|
238
|
-
e.footer && d.createElement(c.Footer, { className: l[a.Footer], style: m?.[a.Footer], role: "status", "aria-live": "polite" }, e.footer)
|
|
239
|
-
)
|
|
240
|
-
);
|
|
241
23
|
}
|
|
242
24
|
export {
|
|
243
|
-
|
|
25
|
+
b as dateMatchModifiers
|
|
244
26
|
};
|
|
245
27
|
//# sourceMappingURL=index31.js.map
|
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, 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,EAAM,SAAS,IAAIC,CAAQ,IACtCD,EAAM,SAAS;AAAA,EACrC,IAEYA,EAAM,aAAa,WACnBA,EAAM,WAAWI,EAA0BJ,EAAM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ent":["import { defaultDateLib } from \"../classes/DateLib.js\";\nimport { rangeIncludesDate } from \"./rangeIncludesDate.js\";\nimport { isDateAfterType, isDateBeforeType, isDateInterval, isDateRange, isDatesArray, isDayOfWeekType, } from \"./typeguards.js\";\n/**\n * Checks if a given date matches at least one of the specified {@link Matcher}.\n *\n * @param date - The date to check.\n * @param matchers - The matchers to check against.\n * @param dateLib - The date utility library instance.\n * @returns `true` if the date matches any of the matchers, otherwise `false`.\n * @group Utilities\n */\nexport function dateMatchModifiers(date, matchers, dateLib = defaultDateLib) {\n const matchersArr = !Array.isArray(matchers) ? [matchers] : matchers;\n const { isSameDay, differenceInCalendarDays, isAfter } = dateLib;\n return matchersArr.some((matcher) => {\n if (typeof matcher === \"boolean\") {\n return matcher;\n }\n if (dateLib.isDate(matcher)) {\n return isSameDay(date, matcher);\n }\n if (isDatesArray(matcher, dateLib)) {\n return matcher.some((matcherDate) => isSameDay(date, matcherDate));\n }\n if (isDateRange(matcher)) {\n return rangeIncludesDate(matcher, date, false, dateLib);\n }\n if (isDayOfWeekType(matcher)) {\n if (!Array.isArray(matcher.dayOfWeek)) {\n return matcher.dayOfWeek === date.getDay();\n }\n return matcher.dayOfWeek.includes(date.getDay());\n }\n if (isDateInterval(matcher)) {\n const diffBefore = differenceInCalendarDays(matcher.before, date);\n const diffAfter = differenceInCalendarDays(matcher.after, date);\n const isDayBefore = diffBefore > 0;\n const isDayAfter = diffAfter < 0;\n const isClosedInterval = isAfter(matcher.before, matcher.after);\n if (isClosedInterval) {\n return isDayAfter && isDayBefore;\n }\n else {\n return isDayBefore || isDayAfter;\n }\n }\n if (isDateAfterType(matcher)) {\n return differenceInCalendarDays(date, matcher.after) > 0;\n }\n if (isDateBeforeType(matcher)) {\n return differenceInCalendarDays(matcher.before, date) > 0;\n }\n if (typeof matcher === \"function\") {\n return matcher(date);\n }\n return false;\n });\n}\n"],"names":["dateMatchModifiers","date","matchers","dateLib","defaultDateLib","matchersArr","isSameDay","differenceInCalendarDays","isAfter","matcher","isDatesArray","matcherDate","isDateRange","rangeIncludesDate","isDayOfWeekType","isDateInterval","diffBefore","diffAfter","isDayBefore","isDayAfter","isDateAfterType","isDateBeforeType"],"mappings":";;;AAYO,SAASA,EAAmBC,GAAMC,GAAUC,IAAUC,GAAgB;AACzE,QAAMC,IAAe,MAAM,QAAQH,CAAQ,IAAiBA,IAAb,CAACA,CAAQ,GAClD,EAAE,WAAAI,GAAW,0BAAAC,GAA0B,SAAAC,EAAO,IAAKL;AACzD,SAAOE,EAAY,KAAK,CAACI,MAAY;AACjC,QAAI,OAAOA,KAAY;AACnB,aAAOA;AAEX,QAAIN,EAAQ,OAAOM,CAAO;AACtB,aAAOH,EAAUL,GAAMQ,CAAO;AAElC,QAAIC,EAAaD,GAASN,CAAO;AAC7B,aAAOM,EAAQ,KAAK,CAACE,MAAgBL,EAAUL,GAAMU,CAAW,CAAC;AAErE,QAAIC,EAAYH,CAAO;AACnB,aAAOI,EAAkBJ,GAASR,GAAM,IAAOE,CAAO;AAE1D,QAAIW,EAAgBL,CAAO;AACvB,aAAK,MAAM,QAAQA,EAAQ,SAAS,IAG7BA,EAAQ,UAAU,SAASR,EAAK,OAAM,CAAE,IAFpCQ,EAAQ,cAAcR,EAAK,OAAM;AAIhD,QAAIc,EAAeN,CAAO,GAAG;AACzB,YAAMO,IAAaT,EAAyBE,EAAQ,QAAQR,CAAI,GAC1DgB,IAAYV,EAAyBE,EAAQ,OAAOR,CAAI,GACxDiB,IAAcF,IAAa,GAC3BG,IAAaF,IAAY;AAE/B,aADyBT,EAAQC,EAAQ,QAAQA,EAAQ,KAAK,IAEnDU,KAAcD,IAGdA,KAAeC;AAAA,IAE9B;AACA,WAAIC,EAAgBX,CAAO,IAChBF,EAAyBN,GAAMQ,EAAQ,KAAK,IAAI,IAEvDY,EAAiBZ,CAAO,IACjBF,EAAyBE,EAAQ,QAAQR,CAAI,IAAI,IAExD,OAAOQ,KAAY,aACZA,EAAQR,CAAI,IAEhB;AAAA,EACX,CAAC;AACL;","x_google_ignoreList":[0]}
|
package/dist/index310.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { lowerUserAgent as e } from "./index429.js";
|
|
2
|
+
const o = typeof CSS < "u" && !!CSS.supports?.("-webkit-backdrop-filter:none");
|
|
3
|
+
!o && e.includes("firefox");
|
|
4
|
+
!o && e.includes("chrom");
|
|
4
5
|
export {
|
|
5
|
-
|
|
6
|
+
o as webkit
|
|
6
7
|
};
|
|
7
8
|
//# sourceMappingURL=index310.js.map
|
package/dist/index310.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index310.js","sources":["../../../node_modules/@base-ui/
|
|
1
|
+
{"version":3,"file":"index310.js","sources":["../../../node_modules/@base-ui/utils/platform/engine.mjs"],"sourcesContent":["import { lowerUserAgent } from \"./shared.mjs\";\n\n// WebKit (Safari, all iOS browsers, GNOME Web). Distinguished from Blink by\n// the legacy `-webkit-backdrop-filter` name — Blink forked from WebKit in 2013\n// and only ships the unprefixed `backdrop-filter`.\n/** WebKit: Safari, all iOS browsers, GNOME Web. Excludes Blink. */\nexport const webkit = typeof CSS !== 'undefined' && !!CSS.supports?.('-webkit-backdrop-filter:none');\n\n// Anchored to `!webkit` so engines are mutually exclusive by construction.\n// Firefox-on-iOS uses WebKit (its UA marker is `FxiOS/`, not `Firefox/`); the\n// `!webkit` prefix also defends against future iOS-browser UA changes that\n// might inject `Firefox` into a WebKit-based UA.\n/** Gecko: Firefox. */\nexport const gecko = !webkit && lowerUserAgent.includes('firefox');\n\n// All Chromium-based browsers ship `Chrome/` or `Chromium/` in their UA — both\n// share the `chrom` prefix, so a single substring check covers Chrome, Edge,\n// Opera, Brave, etc. Chrome-on-iOS uses `CriOS/` and stays WebKit. The positive\n// UA check also makes this SSR-safe — an empty UA matches nothing.\n/** Blink: Chrome, Edge, Opera, Brave, and other Chromium-based browsers. */\nexport const blink = !webkit && lowerUserAgent.includes('chrom');"],"names":["webkit","lowerUserAgent"],"mappings":";AAMY,MAACA,IAAS,OAAO,MAAQ,OAAe,CAAC,CAAC,IAAI,WAAW,8BAA8B;AAO9E,CAACA,KAAUC,EAAe,SAAS,SAAS;AAO5C,CAACD,KAAUC,EAAe,SAAS,OAAO;","x_google_ignoreList":[0]}
|
package/dist/index311.js
CHANGED
|
@@ -1,8 +1,56 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import * as o from "react";
|
|
2
|
+
import { useIsoLayoutEffect as b } from "./index261.js";
|
|
3
|
+
import { useCompositeListContext as F } from "./index369.js";
|
|
4
|
+
let I = /* @__PURE__ */ (function(t) {
|
|
5
|
+
return t[t.None = 0] = "None", t[t.GuessFromOrder = 1] = "GuessFromOrder", t;
|
|
4
6
|
})({});
|
|
7
|
+
function k(t = {}) {
|
|
8
|
+
const {
|
|
9
|
+
label: c,
|
|
10
|
+
metadata: l,
|
|
11
|
+
textRef: d,
|
|
12
|
+
indexGuessBehavior: g,
|
|
13
|
+
index: n
|
|
14
|
+
} = t, {
|
|
15
|
+
register: m,
|
|
16
|
+
unregister: a,
|
|
17
|
+
subscribeMapChange: x,
|
|
18
|
+
elementsRef: R,
|
|
19
|
+
labelsRef: i,
|
|
20
|
+
nextIndexRef: p
|
|
21
|
+
} = F(), f = o.useRef(-1), [r, C] = o.useState(n ?? (g === I.GuessFromOrder ? () => {
|
|
22
|
+
if (f.current === -1) {
|
|
23
|
+
const e = p.current;
|
|
24
|
+
p.current += 1, f.current = e;
|
|
25
|
+
}
|
|
26
|
+
return f.current;
|
|
27
|
+
} : -1)), u = o.useRef(null), L = o.useCallback((e) => {
|
|
28
|
+
if (u.current = e, r !== -1 && e !== null && (R.current[r] = e, i)) {
|
|
29
|
+
const s = c !== void 0;
|
|
30
|
+
i.current[r] = s ? c : d?.current?.textContent ?? e.textContent;
|
|
31
|
+
}
|
|
32
|
+
}, [r, R, i, c, d]);
|
|
33
|
+
return b(() => {
|
|
34
|
+
if (n != null)
|
|
35
|
+
return;
|
|
36
|
+
const e = u.current;
|
|
37
|
+
if (e)
|
|
38
|
+
return m(e, l), () => {
|
|
39
|
+
a(e);
|
|
40
|
+
};
|
|
41
|
+
}, [n, m, a, l]), b(() => {
|
|
42
|
+
if (n == null)
|
|
43
|
+
return x((e) => {
|
|
44
|
+
const s = u.current ? e.get(u.current)?.index : null;
|
|
45
|
+
s != null && C(s);
|
|
46
|
+
});
|
|
47
|
+
}, [n, x, C]), {
|
|
48
|
+
ref: L,
|
|
49
|
+
index: r
|
|
50
|
+
};
|
|
51
|
+
}
|
|
5
52
|
export {
|
|
6
|
-
|
|
53
|
+
I as IndexGuessBehavior,
|
|
54
|
+
k as useCompositeListItem
|
|
7
55
|
};
|
|
8
56
|
//# sourceMappingURL=index311.js.map
|
package/dist/index311.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index311.js","sources":["../../../node_modules/@base-ui/react/
|
|
1
|
+
{"version":3,"file":"index311.js","sources":["../../../node_modules/@base-ui/react/internals/composite/list/useCompositeListItem.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\nimport { useCompositeListContext } from \"./CompositeListContext.mjs\";\nexport let IndexGuessBehavior = /*#__PURE__*/function (IndexGuessBehavior) {\n IndexGuessBehavior[IndexGuessBehavior[\"None\"] = 0] = \"None\";\n IndexGuessBehavior[IndexGuessBehavior[\"GuessFromOrder\"] = 1] = \"GuessFromOrder\";\n return IndexGuessBehavior;\n}({});\n\n/**\n * Used to register a list item and its index (DOM position) in the `CompositeList`.\n */\nexport function useCompositeListItem(params = {}) {\n const {\n label,\n metadata,\n textRef,\n indexGuessBehavior,\n index: externalIndex\n } = params;\n const {\n register,\n unregister,\n subscribeMapChange,\n elementsRef,\n labelsRef,\n nextIndexRef\n } = useCompositeListContext();\n const indexRef = React.useRef(-1);\n const [index, setIndex] = React.useState(externalIndex ?? (indexGuessBehavior === IndexGuessBehavior.GuessFromOrder ? () => {\n if (indexRef.current === -1) {\n const newIndex = nextIndexRef.current;\n nextIndexRef.current += 1;\n indexRef.current = newIndex;\n }\n return indexRef.current;\n } : -1));\n const componentRef = React.useRef(null);\n const ref = React.useCallback(node => {\n componentRef.current = node;\n if (index !== -1 && node !== null) {\n elementsRef.current[index] = node;\n if (labelsRef) {\n const isLabelDefined = label !== undefined;\n labelsRef.current[index] = isLabelDefined ? label : textRef?.current?.textContent ?? node.textContent;\n }\n }\n }, [index, elementsRef, labelsRef, label, textRef]);\n useIsoLayoutEffect(() => {\n if (externalIndex != null) {\n return undefined;\n }\n const node = componentRef.current;\n if (node) {\n register(node, metadata);\n return () => {\n unregister(node);\n };\n }\n return undefined;\n }, [externalIndex, register, unregister, metadata]);\n useIsoLayoutEffect(() => {\n if (externalIndex != null) {\n return undefined;\n }\n return subscribeMapChange(map => {\n const i = componentRef.current ? map.get(componentRef.current)?.index : null;\n if (i != null) {\n setIndex(i);\n }\n });\n }, [externalIndex, subscribeMapChange, setIndex]);\n return {\n ref,\n index\n };\n}"],"names":["IndexGuessBehavior","useCompositeListItem","params","label","metadata","textRef","indexGuessBehavior","externalIndex","register","unregister","subscribeMapChange","elementsRef","labelsRef","nextIndexRef","useCompositeListContext","indexRef","React","index","setIndex","newIndex","componentRef","ref","node","isLabelDefined","useIsoLayoutEffect","map","i"],"mappings":";;;AAKU,IAACA,IAAkC,0BAAUA,GAAoB;AACzE,SAAAA,EAAmBA,EAAmB,OAAU,CAAC,IAAI,QACrDA,EAAmBA,EAAmB,iBAAoB,CAAC,IAAI,kBACxDA;AACT,GAAE,CAAA,CAAE;AAKG,SAASC,EAAqBC,IAAS,IAAI;AAChD,QAAM;AAAA,IACJ,OAAAC;AAAA,IACA,UAAAC;AAAA,IACA,SAAAC;AAAA,IACA,oBAAAC;AAAA,IACA,OAAOC;AAAA,EACX,IAAML,GACE;AAAA,IACJ,UAAAM;AAAA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G,GAAoBQ,CAAQ,CAAC,GACzC;AAAA,IACL,KAAAG;AAAA,IACA,OAAAJ;AAAA,EACJ;AACA;","x_google_ignoreList":[0]}
|
package/dist/index312.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
1
|
+
import n from "./index190.js";
|
|
2
2
|
import * as t from "react";
|
|
3
|
-
const
|
|
4
|
-
process.env.NODE_ENV !== "production" && (
|
|
5
|
-
function
|
|
6
|
-
const
|
|
7
|
-
if (
|
|
8
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "Base UI:
|
|
9
|
-
return
|
|
3
|
+
const o = /* @__PURE__ */ t.createContext(void 0);
|
|
4
|
+
process.env.NODE_ENV !== "production" && (o.displayName = "SelectItemContext");
|
|
5
|
+
function s() {
|
|
6
|
+
const e = t.useContext(o);
|
|
7
|
+
if (!e)
|
|
8
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: SelectItemContext is missing. SelectItem parts must be placed within <Select.Item>." : n(57));
|
|
9
|
+
return e;
|
|
10
10
|
}
|
|
11
11
|
export {
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
o as SelectItemContext,
|
|
13
|
+
s as useSelectItemContext
|
|
14
14
|
};
|
|
15
15
|
//# sourceMappingURL=index312.js.map
|
package/dist/index312.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index312.js","sources":["../../../node_modules/@base-ui/react/
|
|
1
|
+
{"version":3,"file":"index312.js","sources":["../../../node_modules/@base-ui/react/select/item/SelectItemContext.mjs"],"sourcesContent":["'use client';\n\nimport _formatErrorMessage from \"@base-ui/utils/formatErrorMessage\";\nimport * as React from 'react';\nexport const SelectItemContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") SelectItemContext.displayName = \"SelectItemContext\";\nexport function useSelectItemContext() {\n const context = React.useContext(SelectItemContext);\n if (!context) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'Base UI: SelectItemContext is missing. SelectItem parts must be placed within <Select.Item>.' : _formatErrorMessage(57));\n }\n return context;\n}"],"names":["SelectItemContext","React","useSelectItemContext","context","_formatErrorMessage"],"mappings":";;AAIY,MAACA,IAAiC,gBAAAC,EAAM,cAAc,MAAS;AACvE,QAAQ,IAAI,aAAa,iBAAcD,EAAkB,cAAc;AACpE,SAASE,IAAuB;AACrC,QAAMC,IAAUF,EAAM,WAAWD,CAAiB;AAClD,MAAI,CAACG;AACH,UAAM,IAAI,MAAM,QAAQ,IAAI,aAAa,eAAe,iGAAiGC,EAAoB,EAAE,CAAC;AAElL,SAAOD;AACT;","x_google_ignoreList":[0]}
|
package/dist/index313.js
CHANGED
|
@@ -1,67 +1,31 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
disablePointerDismissal: I,
|
|
23
|
-
nested: !!u,
|
|
24
|
-
role: h
|
|
25
|
-
}, e = E.useStore(D?.store, {
|
|
26
|
-
open: i,
|
|
27
|
-
openProp: s,
|
|
28
|
-
activeTriggerId: p,
|
|
29
|
-
triggerIdProp: d,
|
|
30
|
-
...t
|
|
31
|
-
});
|
|
32
|
-
y(() => {
|
|
33
|
-
const n = s === void 0 && e.state.open === !1 && i === !0 ? {
|
|
34
|
-
open: !0,
|
|
35
|
-
activeTriggerId: p
|
|
36
|
-
} : null;
|
|
37
|
-
o ? e.update(n ? {
|
|
38
|
-
...t,
|
|
39
|
-
...n
|
|
40
|
-
} : t) : n && e.update(n);
|
|
41
|
-
}), e.useControlledProp("openProp", s), e.useControlledProp("triggerIdProp", d), e.useSyncedValues(t), e.useContextCallback("onOpenChange", g), e.useContextCallback("onOpenChangeComplete", m);
|
|
42
|
-
const S = e.useState("open"), v = e.useState("mounted"), O = e.useState("payload");
|
|
43
|
-
T({
|
|
44
|
-
store: e,
|
|
45
|
-
actionsRef: x
|
|
46
|
-
});
|
|
47
|
-
const b = S || v, j = w.useMemo(() => ({
|
|
48
|
-
store: e
|
|
49
|
-
}), [e]);
|
|
50
|
-
return /* @__PURE__ */ a.jsx(A.Provider, {
|
|
51
|
-
value: !1,
|
|
52
|
-
children: /* @__PURE__ */ a.jsxs(B.Provider, {
|
|
53
|
-
value: j,
|
|
54
|
-
children: [b && /* @__PURE__ */ a.jsx(k, {
|
|
55
|
-
store: e,
|
|
56
|
-
parentContext: u?.store.context,
|
|
57
|
-
isDrawer: P
|
|
58
|
-
}), typeof r == "function" ? r({
|
|
59
|
-
payload: O
|
|
60
|
-
}) : r]
|
|
61
|
-
})
|
|
62
|
-
});
|
|
1
|
+
import { android as r } from "./index357.js";
|
|
2
|
+
import { jsdom as o } from "./index368.js";
|
|
3
|
+
function p(i) {
|
|
4
|
+
i.preventDefault(), i.stopPropagation();
|
|
5
|
+
}
|
|
6
|
+
function e(i) {
|
|
7
|
+
return "nativeEvent" in i;
|
|
8
|
+
}
|
|
9
|
+
function c(i) {
|
|
10
|
+
return i.pointerType === "" && i.isTrusted ? !0 : r && i.pointerType ? i.type === "click" && i.buttons === 1 : i.detail === 0 && !i.pointerType;
|
|
11
|
+
}
|
|
12
|
+
function a(i) {
|
|
13
|
+
return o ? !1 : !r && i.width === 0 && i.height === 0 || r && i.width === 1 && i.height === 1 && i.pressure === 0 && i.detail === 0 && i.pointerType === "mouse" || // iOS VoiceOver returns 0.333• for width/height.
|
|
14
|
+
i.width < 1 && i.height < 1 && i.pressure === 0 && i.detail === 0 && i.pointerType === "touch";
|
|
15
|
+
}
|
|
16
|
+
function l(i, t) {
|
|
17
|
+
return ["mouse", "pen"].includes(i);
|
|
18
|
+
}
|
|
19
|
+
function d(i) {
|
|
20
|
+
const t = i.type;
|
|
21
|
+
return t === "click" || t === "mousedown" || t === "keydown" || t === "keyup";
|
|
63
22
|
}
|
|
64
23
|
export {
|
|
65
|
-
|
|
24
|
+
d as isClickLikeEvent,
|
|
25
|
+
l as isMouseLikePointerType,
|
|
26
|
+
e as isReactEvent,
|
|
27
|
+
c as isVirtualClick,
|
|
28
|
+
a as isVirtualPointerEvent,
|
|
29
|
+
p as stopEvent
|
|
66
30
|
};
|
|
67
31
|
//# sourceMappingURL=index313.js.map
|