@rpcbase/ui 0.227.0 → 0.228.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/index106.js +36 -36
- package/dist/index118.js +6 -6
- package/dist/index121.js +10 -10
- package/dist/index123.js +2 -2
- package/dist/index124.js +3 -3
- package/dist/index125.js +1 -1
- package/dist/index127.js +2 -2
- package/dist/index129.js +2 -2
- package/dist/index150.js +5 -11
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +63 -63
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +2 -38
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +363 -13
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +261 -23
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +58 -108
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +47 -13
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +169 -4
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +110 -4
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +25 -5
- package/dist/index159.js.map +1 -1
- package/dist/index160.js +8 -12
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +4 -19
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +6 -13
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +4 -261
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +466 -4
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +185 -27
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +105 -124
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +262 -5
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +9 -78
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +39 -63
- package/dist/index169.js.map +1 -1
- package/dist/index170.js +4 -8
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +12 -16
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +65 -89
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +38 -66
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +13 -45
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +23 -5
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +108 -66
- package/dist/index176.js.map +1 -1
- package/dist/index177.js +13 -2
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +4 -363
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +4 -262
- package/dist/index179.js.map +1 -1
- package/dist/index180.js +5 -61
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +11 -46
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +18 -168
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +13 -110
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +261 -24
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +5 -8
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +28 -5
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +126 -5
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +5 -4
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +77 -465
- package/dist/index189.js.map +1 -1
- package/dist/index190.js +62 -181
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +8 -107
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +15 -262
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +91 -8
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +65 -42
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +45 -4
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +17 -20
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +4 -65
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +5 -6
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +58 -11
- package/dist/index199.js.map +1 -1
- package/dist/index200.js +63 -47
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +7 -4
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +4 -29
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +6 -16
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +16 -5
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +4 -21
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +4 -51
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +12 -25
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +9 -41
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +13 -39
- package/dist/index209.js.map +1 -1
- package/dist/index210.js +14 -45
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +4 -20
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +5 -70
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +6 -17
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +5 -11
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +53 -26
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +8 -13
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +4 -18
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +4 -36
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +8 -262
- package/dist/index219.js.map +1 -1
- package/dist/index220.js +4 -278
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +4 -68
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +3 -99
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +10 -83
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +9 -3
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +9 -29
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +10 -16
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +11 -35
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +9 -16
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +6 -3
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +5 -26
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +4 -28
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +6 -4
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +6 -78
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +5 -269
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +8 -11
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +19 -10
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +16 -25
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +7 -16
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +9 -124
- package/dist/index239.js.map +1 -1
- package/dist/index240.js +10 -5
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +21 -40
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +10 -65
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +10 -14
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +9 -7
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +4 -5
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +5 -3
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +16 -10
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +9 -7
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +17 -132
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +13 -397
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +12 -52
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +28 -10
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +12 -11
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +25 -58
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +5 -8
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +20 -67
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +65 -18
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +6 -16
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +11 -5
- package/dist/index259.js.map +1 -1
- package/dist/index260.js +49 -4
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +4 -7
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +29 -4
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +16 -6
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +5 -16
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +21 -4
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +51 -4
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +25 -12
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +41 -9
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +39 -13
- package/dist/index269.js.map +1 -1
- package/dist/index270.js +45 -14
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +20 -4
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +70 -5
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +17 -6
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +11 -5
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +26 -53
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +13 -8
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +18 -4
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +36 -4
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +262 -8
- package/dist/index279.js.map +1 -1
- package/dist/index280.js +278 -4
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +68 -4
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +99 -3
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +83 -10
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +3 -9
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +29 -9
- 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 -11
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +16 -9
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +3 -6
- package/dist/index289.js.map +1 -1
- package/dist/index290.js +26 -5
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +28 -4
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +4 -6
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +78 -6
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +269 -5
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +10 -15
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +10 -7
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +25 -10
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +16 -10
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +125 -21
- package/dist/index299.js.map +1 -1
- package/dist/index300.js +5 -10
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +40 -9
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +65 -9
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +14 -5
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +7 -5
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +5 -16
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +3 -9
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +10 -18
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +7 -15
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +132 -11
- package/dist/index309.js.map +1 -1
- package/dist/index310.js +399 -29
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +52 -12
- package/dist/index311.js.map +1 -1
- package/dist/index312.js +11 -25
- package/dist/index312.js.map +1 -1
- package/dist/index313.js +11 -5
- package/dist/index313.js.map +1 -1
- package/dist/index314.js +13 -8
- package/dist/index314.js.map +1 -1
- package/dist/index315.js +154 -11
- package/dist/index315.js.map +1 -1
- package/dist/index316.js +29 -7
- package/dist/index316.js.map +1 -1
- package/dist/index317.js +9 -13
- package/dist/index317.js.map +1 -1
- package/dist/index318.js +48 -3
- package/dist/index318.js.map +1 -1
- package/dist/index319.js +11 -3
- package/dist/index319.js.map +1 -1
- package/dist/index320.js +43 -16
- package/dist/index320.js.map +1 -1
- package/dist/index321.js +95 -5
- package/dist/index321.js.map +1 -1
- package/dist/index322.js +84 -49
- package/dist/index322.js.map +1 -1
- package/dist/index323.js +96 -113
- package/dist/index323.js.map +1 -1
- package/dist/index324.js +52 -32
- package/dist/index324.js.map +1 -1
- package/dist/index325.js +11 -73
- package/dist/index325.js.map +1 -1
- package/dist/index326.js +35 -140
- package/dist/index326.js.map +1 -1
- package/dist/index327.js +8 -61
- package/dist/index327.js.map +1 -1
- package/dist/index328.js +115 -48
- package/dist/index328.js.map +1 -1
- package/dist/index329.js +18 -15
- package/dist/index329.js.map +1 -1
- package/dist/index330.js +14 -7
- package/dist/index330.js.map +1 -1
- package/dist/index331.js +4 -5
- package/dist/index331.js.map +1 -1
- package/dist/index332.js +36 -11
- package/dist/index332.js.map +1 -1
- package/dist/index333.js +20 -21
- package/dist/index333.js.map +1 -1
- package/dist/index334.js +9 -13
- package/dist/index334.js.map +1 -1
- package/dist/index335.js +8 -154
- package/dist/index335.js.map +1 -1
- package/dist/index336.js +8 -30
- package/dist/index336.js.map +1 -1
- package/dist/index337.js +11 -9
- package/dist/index337.js.map +1 -1
- package/dist/index338.js +7 -47
- package/dist/index338.js.map +1 -1
- package/dist/index339.js +13 -11
- package/dist/index339.js.map +1 -1
- package/dist/index34.js +4 -4
- package/dist/index340.js +3 -44
- package/dist/index340.js.map +1 -1
- package/dist/index341.js +3 -95
- package/dist/index341.js.map +1 -1
- package/dist/index342.js +18 -85
- package/dist/index342.js.map +1 -1
- package/dist/index343.js +23 -100
- package/dist/index343.js.map +1 -1
- package/dist/index344.js +15 -51
- package/dist/index344.js.map +1 -1
- package/dist/index345.js +16 -10
- package/dist/index345.js.map +1 -1
- package/dist/index346.js +50 -36
- package/dist/index346.js.map +1 -1
- package/dist/index347.js +5 -8
- package/dist/index347.js.map +1 -1
- package/dist/index348.js +114 -108
- package/dist/index348.js.map +1 -1
- package/dist/index349.js +32 -17
- package/dist/index349.js.map +1 -1
- package/dist/index35.js +5 -5
- package/dist/index350.js +72 -14
- package/dist/index350.js.map +1 -1
- package/dist/index351.js +142 -3
- package/dist/index351.js.map +1 -1
- package/dist/index352.js +60 -35
- package/dist/index352.js.map +1 -1
- package/dist/index353.js +49 -20
- package/dist/index353.js.map +1 -1
- package/dist/index354.js +15 -10
- package/dist/index354.js.map +1 -1
- package/dist/index355.js +8 -8
- package/dist/index355.js.map +1 -1
- package/dist/index356.js +5 -20
- package/dist/index356.js.map +1 -1
- package/dist/index357.js +11 -28
- package/dist/index357.js.map +1 -1
- package/dist/index358.js +21 -16
- package/dist/index358.js.map +1 -1
- package/dist/index359.js +5 -4
- package/dist/index359.js.map +1 -1
- package/dist/index36.js +10 -10
- package/dist/index360.js +17 -11
- package/dist/index360.js.map +1 -1
- package/dist/index361.js +12 -16
- package/dist/index361.js.map +1 -1
- package/dist/index362.js +4 -6
- package/dist/index362.js.map +1 -1
- package/dist/index363.js +10 -19
- package/dist/index363.js.map +1 -1
- package/dist/index364.js +17 -45
- package/dist/index364.js.map +1 -1
- package/dist/index365.js +6 -18
- package/dist/index365.js.map +1 -1
- package/dist/index366.js +21 -5
- package/dist/index366.js.map +1 -1
- package/dist/index367.js +44 -200
- package/dist/index367.js.map +1 -1
- package/dist/index368.js +17 -77
- package/dist/index368.js.map +1 -1
- package/dist/index369.js +5 -5
- package/dist/index369.js.map +1 -1
- package/dist/index37.js +3 -3
- package/dist/index370.js +199 -16
- package/dist/index370.js.map +1 -1
- package/dist/index371.js +77 -12
- package/dist/index371.js.map +1 -1
- package/dist/index372.js +20 -8
- package/dist/index372.js.map +1 -1
- package/dist/index373.js +8 -25
- package/dist/index373.js.map +1 -1
- package/dist/index374.js +26 -27
- package/dist/index374.js.map +1 -1
- package/dist/index375.js +21 -132
- package/dist/index375.js.map +1 -1
- package/dist/index376.js +136 -11
- package/dist/index376.js.map +1 -1
- package/dist/index377.js +11 -225
- package/dist/index377.js.map +1 -1
- package/dist/index378.js +226 -3
- package/dist/index378.js.map +1 -1
- package/dist/index379.js +3 -19
- package/dist/index379.js.map +1 -1
- package/dist/index38.js +4 -4
- package/dist/index380.js +17 -75
- package/dist/index380.js.map +1 -1
- package/dist/index381.js +77 -11
- package/dist/index381.js.map +1 -1
- package/dist/index382.js +12 -4
- package/dist/index382.js.map +1 -1
- package/dist/index383.js +3 -71
- package/dist/index383.js.map +1 -1
- package/dist/index384.js +72 -9
- package/dist/index384.js.map +1 -1
- package/dist/index385.js +9 -16
- package/dist/index385.js.map +1 -1
- package/dist/index386.js +15 -20
- package/dist/index386.js.map +1 -1
- package/dist/index387.js +5 -3
- package/dist/index387.js.map +1 -1
- package/dist/index388.js +5 -3
- package/dist/index388.js.map +1 -1
- package/dist/index389.js +4 -5
- package/dist/index389.js.map +1 -1
- package/dist/index39.js +5 -5
- package/dist/index390.js +15 -4
- package/dist/index390.js.map +1 -1
- package/dist/index391.js +9 -4
- package/dist/index391.js.map +1 -1
- package/dist/index392.js +5 -15
- package/dist/index392.js.map +1 -1
- package/dist/index393.js +4 -8
- package/dist/index393.js.map +1 -1
- package/dist/index394.js +545 -5
- package/dist/index394.js.map +1 -1
- package/dist/index395.js +47 -5
- package/dist/index395.js.map +1 -1
- package/dist/index396.js +15 -543
- package/dist/index396.js.map +1 -1
- package/dist/index397.js +6 -47
- package/dist/index397.js.map +1 -1
- package/dist/index398.js +7 -17
- package/dist/index398.js.map +1 -1
- package/dist/index399.js +6 -5
- package/dist/index399.js.map +1 -1
- package/dist/index40.js +3 -3
- package/dist/index400.js +7 -7
- package/dist/index400.js.map +1 -1
- package/dist/index401.js +11 -6
- package/dist/index401.js.map +1 -1
- package/dist/index402.js +8 -7
- package/dist/index402.js.map +1 -1
- package/dist/index403.js +12 -11
- package/dist/index403.js.map +1 -1
- package/dist/index404.js +3 -9
- package/dist/index404.js.map +1 -1
- package/dist/index405.js +3 -13
- package/dist/index405.js.map +1 -1
- package/dist/index407.js +1 -1
- package/dist/index408.js +4 -7
- package/dist/index408.js.map +1 -1
- package/dist/index409.js +56 -2
- package/dist/index409.js.map +1 -1
- package/dist/index41.js +10 -10
- package/dist/index410.js +67 -43
- package/dist/index410.js.map +1 -1
- package/dist/index411.js +31 -56
- package/dist/index411.js.map +1 -1
- package/dist/index412.js +9 -8
- package/dist/index412.js.map +1 -1
- package/dist/index413.js +153 -2
- package/dist/index413.js.map +1 -1
- package/dist/index414.js +107 -54
- package/dist/index414.js.map +1 -1
- package/dist/index415.js +7 -55
- package/dist/index415.js.map +1 -1
- package/dist/index416.js +2 -5
- package/dist/index416.js.map +1 -1
- package/dist/index417.js +42 -54
- package/dist/index417.js.map +1 -1
- package/dist/index418.js +56 -68
- package/dist/index418.js.map +1 -1
- package/dist/index419.js +8 -31
- package/dist/index419.js.map +1 -1
- package/dist/index420.js +2 -9
- package/dist/index420.js.map +1 -1
- package/dist/index421.js +54 -152
- package/dist/index421.js.map +1 -1
- package/dist/index422.js +56 -108
- package/dist/index422.js.map +1 -1
- package/dist/index423.js +16 -2
- package/dist/index423.js.map +1 -1
- package/dist/index424.js +29 -2
- package/dist/index424.js.map +1 -1
- package/dist/index425.js +13 -2
- package/dist/index425.js.map +1 -1
- package/dist/index426.js +7 -2
- package/dist/index426.js.map +1 -1
- package/dist/index427.js +2 -16
- package/dist/index427.js.map +1 -1
- package/dist/index428.js +2 -29
- package/dist/index428.js.map +1 -1
- package/dist/index429.js +2 -13
- package/dist/index429.js.map +1 -1
- package/dist/index430.js +2 -7
- package/dist/index430.js.map +1 -1
- package/dist/index48.js +2 -2
- package/dist/index49.js +34 -34
- package/dist/index50.js +29 -29
- package/dist/index51.js +2 -2
- package/dist/index52.js +12 -12
- package/dist/index53.js +4 -4
- package/dist/index54.js +1 -1
- package/dist/index55.js +22 -22
- package/dist/index56.js +5 -5
- package/dist/index57.js +5 -5
- package/dist/index58.js +8 -8
- package/dist/index59.js +5 -5
- package/dist/index60.js +17 -17
- package/dist/index61.js +5 -5
- package/dist/index62.js +3 -3
- package/dist/index76.js +1 -1
- package/dist/index77.js +2 -2
- package/dist/index78.js +2 -2
- package/package.json +1 -1
package/dist/index381.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index381.js","sources":["../../../node_modules/@base-ui/react/esm/floating-ui-react/
|
|
1
|
+
{"version":3,"file":"index381.js","sources":["../../../node_modules/@base-ui/react/esm/floating-ui-react/utils/markOthers.js"],"sourcesContent":["// Modified to add conditional `aria-hidden` support:\n// https://github.com/theKashey/aria-hidden/blob/9220c8f4a4fd35f63bee5510a9f41a37264382d4/src/index.ts\nimport { getNodeName, isShadowRoot } from '@floating-ui/utils/dom';\nimport { ownerDocument } from '@base-ui/utils/owner';\nconst counters = {\n inert: new WeakMap(),\n 'aria-hidden': new WeakMap()\n};\nconst markerName = 'data-base-ui-inert';\nconst uncontrolledElementsSets = {\n inert: new WeakSet(),\n 'aria-hidden': new WeakSet()\n};\nlet markerCounterMap = new WeakMap();\nlet lockCount = 0;\nfunction getUncontrolledElementsSet(controlAttribute) {\n return uncontrolledElementsSets[controlAttribute];\n}\nexport const supportsInert = () => typeof HTMLElement !== 'undefined' && 'inert' in HTMLElement.prototype;\nfunction unwrapHost(node) {\n if (!node) {\n return null;\n }\n return isShadowRoot(node) ? node.host : unwrapHost(node.parentNode);\n}\nconst correctElements = (parent, targets) => targets.map(target => {\n if (parent.contains(target)) {\n return target;\n }\n const correctedTarget = unwrapHost(target);\n if (parent.contains(correctedTarget)) {\n return correctedTarget;\n }\n return null;\n}).filter(x => x != null);\nconst buildKeepSet = targets => {\n const keep = new Set();\n targets.forEach(target => {\n let node = target;\n while (node && !keep.has(node)) {\n keep.add(node);\n node = node.parentNode;\n }\n });\n return keep;\n};\nconst collectOutsideElements = (root, keepElements, stopElements) => {\n const outside = [];\n const walk = parent => {\n if (!parent || stopElements.has(parent)) {\n return;\n }\n Array.from(parent.children).forEach(node => {\n if (getNodeName(node) === 'script') {\n return;\n }\n if (keepElements.has(node)) {\n walk(node);\n } else {\n outside.push(node);\n }\n });\n };\n walk(root);\n return outside;\n};\nfunction applyAttributeToOthers(uncorrectedAvoidElements, body, ariaHidden, inert, {\n mark = true,\n markerIgnoreElements = []\n}) {\n // eslint-disable-next-line no-nested-ternary\n const controlAttribute = inert ? 'inert' : ariaHidden ? 'aria-hidden' : null;\n let counterMap = null;\n let uncontrolledElementsSet = null;\n const avoidElements = correctElements(body, uncorrectedAvoidElements);\n const markerIgnoreTargets = mark ? correctElements(body, markerIgnoreElements) : [];\n const markerIgnoreSet = new Set(markerIgnoreTargets);\n const markerTargets = mark ? collectOutsideElements(body, buildKeepSet(avoidElements), new Set(avoidElements)).filter(target => !markerIgnoreSet.has(target)) : [];\n const hiddenElements = [];\n const markedElements = [];\n if (controlAttribute) {\n const map = counters[controlAttribute];\n const currentUncontrolledElementsSet = getUncontrolledElementsSet(controlAttribute);\n uncontrolledElementsSet = currentUncontrolledElementsSet;\n counterMap = map;\n const ariaLiveElements = correctElements(body, Array.from(body.querySelectorAll('[aria-live]')));\n const controlElements = avoidElements.concat(ariaLiveElements);\n const controlTargets = collectOutsideElements(body, buildKeepSet(controlElements), new Set(controlElements));\n controlTargets.forEach(node => {\n const attr = node.getAttribute(controlAttribute);\n const alreadyHidden = attr !== null && attr !== 'false';\n const counterValue = (map.get(node) || 0) + 1;\n map.set(node, counterValue);\n hiddenElements.push(node);\n if (counterValue === 1 && alreadyHidden) {\n currentUncontrolledElementsSet.add(node);\n }\n if (!alreadyHidden) {\n node.setAttribute(controlAttribute, controlAttribute === 'inert' ? '' : 'true');\n }\n });\n }\n if (mark) {\n markerTargets.forEach(node => {\n const markerValue = (markerCounterMap.get(node) || 0) + 1;\n markerCounterMap.set(node, markerValue);\n markedElements.push(node);\n if (markerValue === 1) {\n node.setAttribute(markerName, '');\n }\n });\n }\n lockCount += 1;\n return () => {\n if (counterMap) {\n hiddenElements.forEach(element => {\n const currentCounterValue = counterMap.get(element) || 0;\n const counterValue = currentCounterValue - 1;\n counterMap.set(element, counterValue);\n if (!counterValue) {\n if (!uncontrolledElementsSet?.has(element) && controlAttribute) {\n element.removeAttribute(controlAttribute);\n }\n uncontrolledElementsSet?.delete(element);\n }\n });\n }\n if (mark) {\n markedElements.forEach(element => {\n const markerValue = (markerCounterMap.get(element) || 0) - 1;\n markerCounterMap.set(element, markerValue);\n if (!markerValue) {\n element.removeAttribute(markerName);\n }\n });\n }\n lockCount -= 1;\n if (!lockCount) {\n counters.inert = new WeakMap();\n counters['aria-hidden'] = new WeakMap();\n uncontrolledElementsSets.inert = new WeakSet();\n uncontrolledElementsSets['aria-hidden'] = new WeakSet();\n markerCounterMap = new WeakMap();\n }\n };\n}\nexport function markOthers(avoidElements, options = {}) {\n const {\n ariaHidden = false,\n inert = false,\n mark = true,\n markerIgnoreElements = []\n } = options;\n const body = ownerDocument(avoidElements[0]).body;\n return applyAttributeToOthers(avoidElements, body, ariaHidden, inert, {\n mark,\n markerIgnoreElements\n });\n}"],"names":["counters","markerName","uncontrolledElementsSets","markerCounterMap","lockCount","getUncontrolledElementsSet","controlAttribute","unwrapHost","node","isShadowRoot","correctElements","parent","targets","target","correctedTarget","x","buildKeepSet","keep","collectOutsideElements","root","keepElements","stopElements","outside","walk","getNodeName","applyAttributeToOthers","uncorrectedAvoidElements","body","ariaHidden","inert","mark","markerIgnoreElements","counterMap","uncontrolledElementsSet","avoidElements","markerIgnoreTargets","markerIgnoreSet","markerTargets","hiddenElements","markedElements","map","currentUncontrolledElementsSet","ariaLiveElements","controlElements","attr","alreadyHidden","counterValue","markerValue","element","markOthers","options","ownerDocument"],"mappings":"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","x_google_ignoreList":[0]}
|
package/dist/index382.js
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import * as t from "react";
|
|
2
|
+
import "./index30.js";
|
|
3
|
+
const e = /* @__PURE__ */ t.createContext(null);
|
|
4
|
+
process.env.NODE_ENV !== "production" && (e.displayName = "FloatingNodeContext");
|
|
5
|
+
const o = /* @__PURE__ */ t.createContext(null);
|
|
6
|
+
process.env.NODE_ENV !== "production" && (o.displayName = "FloatingTreeContext");
|
|
7
|
+
const a = () => t.useContext(e)?.id || null, i = (n) => {
|
|
8
|
+
const r = t.useContext(o);
|
|
9
|
+
return n ?? r;
|
|
10
|
+
};
|
|
4
11
|
export {
|
|
5
|
-
|
|
12
|
+
a as useFloatingParentNodeId,
|
|
13
|
+
i as useFloatingTree
|
|
6
14
|
};
|
|
7
15
|
//# sourceMappingURL=index382.js.map
|
package/dist/index382.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index382.js","sources":["../../../node_modules/@base-ui/react/esm/
|
|
1
|
+
{"version":3,"file":"index382.js","sources":["../../../node_modules/@base-ui/react/esm/floating-ui-react/components/FloatingTree.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useId } from '@base-ui/utils/useId';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\nimport { useRefWithInit } from '@base-ui/utils/useRefWithInit';\nimport { FloatingTreeStore } from \"./FloatingTreeStore.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst FloatingNodeContext = /*#__PURE__*/React.createContext(null);\nif (process.env.NODE_ENV !== \"production\") FloatingNodeContext.displayName = \"FloatingNodeContext\";\nconst FloatingTreeContext = /*#__PURE__*/React.createContext(null);\n\n/**\n * Returns the parent node id for nested floating elements, if available.\n * Returns `null` for top-level floating elements.\n */\nif (process.env.NODE_ENV !== \"production\") FloatingTreeContext.displayName = \"FloatingTreeContext\";\nexport const useFloatingParentNodeId = () => React.useContext(FloatingNodeContext)?.id || null;\n\n/**\n * Returns the nearest floating tree context, if available.\n */\nexport const useFloatingTree = externalTree => {\n const contextTree = React.useContext(FloatingTreeContext);\n return externalTree ?? contextTree;\n};\n\n/**\n * Registers a node into the `FloatingTree`, returning its id.\n * @see https://floating-ui.com/docs/FloatingTree\n */\nexport function useFloatingNodeId(externalTree) {\n const id = useId();\n const tree = useFloatingTree(externalTree);\n const parentId = useFloatingParentNodeId();\n useIsoLayoutEffect(() => {\n if (!id) {\n return undefined;\n }\n const node = {\n id,\n parentId\n };\n tree?.addNode(node);\n return () => {\n tree?.removeNode(node);\n };\n }, [tree, id, parentId]);\n return id;\n}\n/**\n * Provides parent node context for nested floating elements.\n * @see https://floating-ui.com/docs/FloatingTree\n * @internal\n */\nexport function FloatingNode(props) {\n const {\n children,\n id\n } = props;\n const parentId = useFloatingParentNodeId();\n return /*#__PURE__*/_jsx(FloatingNodeContext.Provider, {\n value: React.useMemo(() => ({\n id,\n parentId\n }), [id, parentId]),\n children: children\n });\n}\n/**\n * Provides context for nested floating elements when they are not children of\n * each other on the DOM.\n * This is not necessary in all cases, except when there must be explicit communication between parent and child floating elements. It is necessary for:\n * - The `bubbles` option in the `useDismiss()` Hook\n * - Nested virtual list navigation\n * - Nested floating elements that each open on hover\n * - Custom communication between parent and child floating elements\n * @see https://floating-ui.com/docs/FloatingTree\n * @internal\n */\nexport function FloatingTree(props) {\n const {\n children,\n externalTree\n } = props;\n const tree = useRefWithInit(() => externalTree ?? new FloatingTreeStore()).current;\n return /*#__PURE__*/_jsx(FloatingTreeContext.Provider, {\n value: tree,\n children: children\n });\n}"],"names":["FloatingNodeContext","React","FloatingTreeContext","useFloatingParentNodeId","useFloatingTree","externalTree","contextTree"],"mappings":";;AAQA,MAAMA,IAAmC,gBAAAC,EAAM,cAAc,IAAI;AAC7D,QAAQ,IAAI,aAAa,iBAAcD,EAAoB,cAAc;AAC7E,MAAME,IAAmC,gBAAAD,EAAM,cAAc,IAAI;AAM7D,QAAQ,IAAI,aAAa,iBAAcC,EAAoB,cAAc;AACjE,MAACC,IAA0B,MAAMF,EAAM,WAAWD,CAAmB,GAAG,MAAM,MAK7EI,IAAkB,CAAAC,MAAgB;AAC7C,QAAMC,IAAcL,EAAM,WAAWC,CAAmB;AACxD,SAAOG,KAAgBC;AACzB;","x_google_ignoreList":[0]}
|
package/dist/index383.js
CHANGED
|
@@ -1,75 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { isClickLikeEvent as f } from "./index374.js";
|
|
4
|
-
import { createSelector as o } from "./index329.js";
|
|
5
|
-
const l = {
|
|
6
|
-
open: o((t) => t.open),
|
|
7
|
-
transitionStatus: o((t) => t.transitionStatus),
|
|
8
|
-
domReferenceElement: o((t) => t.domReferenceElement),
|
|
9
|
-
referenceElement: o((t) => t.positionReference ?? t.referenceElement),
|
|
10
|
-
floatingElement: o((t) => t.floatingElement),
|
|
11
|
-
floatingId: o((t) => t.floatingId)
|
|
12
|
-
};
|
|
13
|
-
class d extends m {
|
|
14
|
-
constructor(n) {
|
|
15
|
-
const {
|
|
16
|
-
syncOnly: e,
|
|
17
|
-
nested: r,
|
|
18
|
-
onOpenChange: s,
|
|
19
|
-
triggerElements: c,
|
|
20
|
-
...i
|
|
21
|
-
} = n;
|
|
22
|
-
super({
|
|
23
|
-
...i,
|
|
24
|
-
positionReference: i.referenceElement,
|
|
25
|
-
domReferenceElement: i.referenceElement
|
|
26
|
-
}, {
|
|
27
|
-
onOpenChange: s,
|
|
28
|
-
dataRef: {
|
|
29
|
-
current: {}
|
|
30
|
-
},
|
|
31
|
-
events: a(),
|
|
32
|
-
nested: r,
|
|
33
|
-
triggerElements: c
|
|
34
|
-
}, l), this.syncOnly = e;
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Syncs the event used by hover logic to distinguish hover-open from click-like interaction.
|
|
38
|
-
*/
|
|
39
|
-
syncOpenEvent = (n, e) => {
|
|
40
|
-
(!n || !this.state.open || // Prevent a pending hover-open from overwriting a click-open event, while allowing
|
|
41
|
-
// click events to upgrade a hover-open.
|
|
42
|
-
e != null && f(e)) && (this.context.dataRef.current.openEvent = n ? e : void 0);
|
|
43
|
-
};
|
|
44
|
-
/**
|
|
45
|
-
* Runs the root-owned side effects for an open state change.
|
|
46
|
-
*/
|
|
47
|
-
dispatchOpenChange = (n, e) => {
|
|
48
|
-
this.syncOpenEvent(n, e.event);
|
|
49
|
-
const r = {
|
|
50
|
-
open: n,
|
|
51
|
-
reason: e.reason,
|
|
52
|
-
nativeEvent: e.event,
|
|
53
|
-
nested: this.context.nested,
|
|
54
|
-
triggerElement: e.trigger
|
|
55
|
-
};
|
|
56
|
-
this.context.events.emit("openchange", r);
|
|
57
|
-
};
|
|
58
|
-
/**
|
|
59
|
-
* Emits the `openchange` event through the internal event emitter and calls the `onOpenChange` handler with the provided arguments.
|
|
60
|
-
*
|
|
61
|
-
* @param newOpen The new open state.
|
|
62
|
-
* @param eventDetails Details about the event that triggered the open state change.
|
|
63
|
-
*/
|
|
64
|
-
setOpen = (n, e) => {
|
|
65
|
-
if (this.syncOnly) {
|
|
66
|
-
this.context.onOpenChange?.(n, e);
|
|
67
|
-
return;
|
|
68
|
-
}
|
|
69
|
-
this.dispatchOpenChange(n, e), this.context.onOpenChange?.(n, e);
|
|
70
|
-
};
|
|
1
|
+
function n(r) {
|
|
2
|
+
return r == null ? r : "current" in r ? r.current : r;
|
|
71
3
|
}
|
|
72
4
|
export {
|
|
73
|
-
|
|
5
|
+
n as resolveRef
|
|
74
6
|
};
|
|
75
7
|
//# sourceMappingURL=index383.js.map
|
package/dist/index383.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index383.js","sources":["../../../node_modules/@base-ui/react/esm/
|
|
1
|
+
{"version":3,"file":"index383.js","sources":["../../../node_modules/@base-ui/react/esm/utils/resolveRef.js"],"sourcesContent":["/**\n * If the provided argument is a ref object, returns its `current` value.\n * Otherwise, returns the argument itself.\n */\nexport function resolveRef(maybeRef) {\n if (maybeRef == null) {\n return maybeRef;\n }\n return 'current' in maybeRef ? maybeRef.current : maybeRef;\n}"],"names":["resolveRef","maybeRef"],"mappings":"AAIO,SAASA,EAAWC,GAAU;AACnC,SAAIA,KAAY,OACPA,IAEF,aAAaA,IAAWA,EAAS,UAAUA;AACpD;","x_google_ignoreList":[0]}
|
package/dist/index384.js
CHANGED
|
@@ -1,12 +1,75 @@
|
|
|
1
|
-
|
|
1
|
+
import { createEventEmitter as a } from "./index406.js";
|
|
2
|
+
import { ReactStore as m } from "./index351.js";
|
|
3
|
+
import { isClickLikeEvent as f } from "./index375.js";
|
|
4
|
+
import { createSelector as o } from "./index354.js";
|
|
5
|
+
const l = {
|
|
6
|
+
open: o((t) => t.open),
|
|
7
|
+
transitionStatus: o((t) => t.transitionStatus),
|
|
8
|
+
domReferenceElement: o((t) => t.domReferenceElement),
|
|
9
|
+
referenceElement: o((t) => t.positionReference ?? t.referenceElement),
|
|
10
|
+
floatingElement: o((t) => t.floatingElement),
|
|
11
|
+
floatingId: o((t) => t.floatingId)
|
|
12
|
+
};
|
|
13
|
+
class d extends m {
|
|
14
|
+
constructor(n) {
|
|
15
|
+
const {
|
|
16
|
+
syncOnly: e,
|
|
17
|
+
nested: r,
|
|
18
|
+
onOpenChange: s,
|
|
19
|
+
triggerElements: c,
|
|
20
|
+
...i
|
|
21
|
+
} = n;
|
|
22
|
+
super({
|
|
23
|
+
...i,
|
|
24
|
+
positionReference: i.referenceElement,
|
|
25
|
+
domReferenceElement: i.referenceElement
|
|
26
|
+
}, {
|
|
27
|
+
onOpenChange: s,
|
|
28
|
+
dataRef: {
|
|
29
|
+
current: {}
|
|
30
|
+
},
|
|
31
|
+
events: a(),
|
|
32
|
+
nested: r,
|
|
33
|
+
triggerElements: c
|
|
34
|
+
}, l), this.syncOnly = e;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Syncs the event used by hover logic to distinguish hover-open from click-like interaction.
|
|
38
|
+
*/
|
|
39
|
+
syncOpenEvent = (n, e) => {
|
|
40
|
+
(!n || !this.state.open || // Prevent a pending hover-open from overwriting a click-open event, while allowing
|
|
41
|
+
// click events to upgrade a hover-open.
|
|
42
|
+
e != null && f(e)) && (this.context.dataRef.current.openEvent = n ? e : void 0);
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Runs the root-owned side effects for an open state change.
|
|
46
|
+
*/
|
|
47
|
+
dispatchOpenChange = (n, e) => {
|
|
48
|
+
this.syncOpenEvent(n, e.event);
|
|
49
|
+
const r = {
|
|
50
|
+
open: n,
|
|
51
|
+
reason: e.reason,
|
|
52
|
+
nativeEvent: e.event,
|
|
53
|
+
nested: this.context.nested,
|
|
54
|
+
triggerElement: e.trigger
|
|
55
|
+
};
|
|
56
|
+
this.context.events.emit("openchange", r);
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Emits the `openchange` event through the internal event emitter and calls the `onOpenChange` handler with the provided arguments.
|
|
60
|
+
*
|
|
61
|
+
* @param newOpen The new open state.
|
|
62
|
+
* @param eventDetails Details about the event that triggered the open state change.
|
|
63
|
+
*/
|
|
64
|
+
setOpen = (n, e) => {
|
|
65
|
+
if (this.syncOnly) {
|
|
66
|
+
this.context.onOpenChange?.(n, e);
|
|
67
|
+
return;
|
|
68
|
+
}
|
|
69
|
+
this.dispatchOpenChange(n, e), this.context.onOpenChange?.(n, e);
|
|
70
|
+
};
|
|
71
|
+
}
|
|
2
72
|
export {
|
|
3
|
-
|
|
4
|
-
a as ARROW_DOWN,
|
|
5
|
-
s as ARROW_LEFT,
|
|
6
|
-
c as ARROW_RIGHT,
|
|
7
|
-
E as ARROW_UP,
|
|
8
|
-
t as FOCUSABLE_ATTRIBUTE,
|
|
9
|
-
o as SELECTED_KEY,
|
|
10
|
-
n as TYPEABLE_SELECTOR
|
|
73
|
+
d as FloatingRootStore
|
|
11
74
|
};
|
|
12
75
|
//# sourceMappingURL=index384.js.map
|
package/dist/index384.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index384.js","sources":["../../../node_modules/@base-ui/react/esm/floating-ui-react/
|
|
1
|
+
{"version":3,"file":"index384.js","sources":["../../../node_modules/@base-ui/react/esm/floating-ui-react/components/FloatingRootStore.js"],"sourcesContent":["import { createSelector, ReactStore } from '@base-ui/utils/store';\nimport { createEventEmitter } from \"../utils/createEventEmitter.js\";\nimport { isClickLikeEvent } from \"../utils.js\";\nconst selectors = {\n open: createSelector(state => state.open),\n transitionStatus: createSelector(state => state.transitionStatus),\n domReferenceElement: createSelector(state => state.domReferenceElement),\n referenceElement: createSelector(state => state.positionReference ?? state.referenceElement),\n floatingElement: createSelector(state => state.floatingElement),\n floatingId: createSelector(state => state.floatingId)\n};\nexport class FloatingRootStore extends ReactStore {\n constructor(options) {\n const {\n syncOnly,\n nested,\n onOpenChange,\n triggerElements,\n ...initialState\n } = options;\n super({\n ...initialState,\n positionReference: initialState.referenceElement,\n domReferenceElement: initialState.referenceElement\n }, {\n onOpenChange,\n dataRef: {\n current: {}\n },\n events: createEventEmitter(),\n nested,\n triggerElements\n }, selectors);\n this.syncOnly = syncOnly;\n }\n\n /**\n * Syncs the event used by hover logic to distinguish hover-open from click-like interaction.\n */\n syncOpenEvent = (newOpen, event) => {\n if (!newOpen || !this.state.open ||\n // Prevent a pending hover-open from overwriting a click-open event, while allowing\n // click events to upgrade a hover-open.\n event != null && isClickLikeEvent(event)) {\n this.context.dataRef.current.openEvent = newOpen ? event : undefined;\n }\n };\n\n /**\n * Runs the root-owned side effects for an open state change.\n */\n dispatchOpenChange = (newOpen, eventDetails) => {\n this.syncOpenEvent(newOpen, eventDetails.event);\n const details = {\n open: newOpen,\n reason: eventDetails.reason,\n nativeEvent: eventDetails.event,\n nested: this.context.nested,\n triggerElement: eventDetails.trigger\n };\n this.context.events.emit('openchange', details);\n };\n\n /**\n * Emits the `openchange` event through the internal event emitter and calls the `onOpenChange` handler with the provided arguments.\n *\n * @param newOpen The new open state.\n * @param eventDetails Details about the event that triggered the open state change.\n */\n setOpen = (newOpen, eventDetails) => {\n if (this.syncOnly) {\n this.context.onOpenChange?.(newOpen, eventDetails);\n return;\n }\n this.dispatchOpenChange(newOpen, eventDetails);\n this.context.onOpenChange?.(newOpen, eventDetails);\n };\n}"],"names":["selectors","createSelector","state","FloatingRootStore","ReactStore","options","syncOnly","nested","onOpenChange","triggerElements","initialState","createEventEmitter","newOpen","event","isClickLikeEvent","eventDetails","details"],"mappings":";;;;AAGA,MAAMA,IAAY;AAAA,EAChB,MAAMC,EAAe,CAAAC,MAASA,EAAM,IAAI;AAAA,EACxC,kBAAkBD,EAAe,CAAAC,MAASA,EAAM,gBAAgB;AAAA,EAChE,qBAAqBD,EAAe,CAAAC,MAASA,EAAM,mBAAmB;AAAA,EACtE,kBAAkBD,EAAe,CAAAC,MAASA,EAAM,qBAAqBA,EAAM,gBAAgB;AAAA,EAC3F,iBAAiBD,EAAe,CAAAC,MAASA,EAAM,eAAe;AAAA,EAC9D,YAAYD,EAAe,CAAAC,MAASA,EAAM,UAAU;AACtD;AACO,MAAMC,UAA0BC,EAAW;AAAA,EAChD,YAAYC,GAAS;AACnB,UAAM;AAAA,MACJ,UAAAC;AAAA,MACA,QAAAC;AAAA,MACA,cAAAC;AAAA,MACA,iBAAAC;AAAA,MACA,GAAGC;AAAA,IACT,IAAQL;AACJ,UAAM;AAAA,MACJ,GAAGK;AAAA,MACH,mBAAmBA,EAAa;AAAA,MAChC,qBAAqBA,EAAa;AAAA,IACxC,GAAO;AAAA,MACD,cAAAF;AAAA,MACA,SAAS;AAAA,QACP,SAAS,CAAA;AAAA,MACjB;AAAA,MACM,QAAQG,EAAkB;AAAA,MAC1B,QAAAJ;AAAA,MACA,iBAAAE;AAAA,IACN,GAAOT,CAAS,GACZ,KAAK,WAAWM;AAAA,EAClB;AAAA;AAAA;AAAA;AAAA,EAKA,gBAAgB,CAACM,GAASC,MAAU;AAClC,KAAI,CAACD,KAAW,CAAC,KAAK,MAAM;AAAA;AAAA,IAG5BC,KAAS,QAAQC,EAAiBD,CAAK,OACrC,KAAK,QAAQ,QAAQ,QAAQ,YAAYD,IAAUC,IAAQ;AAAA,EAE/D;AAAA;AAAA;AAAA;AAAA,EAKA,qBAAqB,CAACD,GAASG,MAAiB;AAC9C,SAAK,cAAcH,GAASG,EAAa,KAAK;AAC9C,UAAMC,IAAU;AAAA,MACd,MAAMJ;AAAA,MACN,QAAQG,EAAa;AAAA,MACrB,aAAaA,EAAa;AAAA,MAC1B,QAAQ,KAAK,QAAQ;AAAA,MACrB,gBAAgBA,EAAa;AAAA,IACnC;AACI,SAAK,QAAQ,OAAO,KAAK,cAAcC,CAAO;AAAA,EAChD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQA,UAAU,CAACJ,GAASG,MAAiB;AACnC,QAAI,KAAK,UAAU;AACjB,WAAK,QAAQ,eAAeH,GAASG,CAAY;AACjD;AAAA,IACF;AACA,SAAK,mBAAmBH,GAASG,CAAY,GAC7C,KAAK,QAAQ,eAAeH,GAASG,CAAY;AAAA,EACnD;AACF;","x_google_ignoreList":[0]}
|
package/dist/index385.js
CHANGED
|
@@ -1,19 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
import { PopupTriggerMap as n } from "./index327.js";
|
|
3
|
-
function r() {
|
|
4
|
-
return new e({
|
|
5
|
-
open: !1,
|
|
6
|
-
transitionStatus: void 0,
|
|
7
|
-
floatingElement: null,
|
|
8
|
-
referenceElement: null,
|
|
9
|
-
triggerElements: new n(),
|
|
10
|
-
floatingId: "",
|
|
11
|
-
syncOnly: !1,
|
|
12
|
-
nested: !1,
|
|
13
|
-
onOpenChange: void 0
|
|
14
|
-
});
|
|
15
|
-
}
|
|
1
|
+
const t = "data-base-ui-focusable", e = "active", o = "selected", n = "input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])", s = "ArrowLeft", c = "ArrowRight", E = "ArrowUp", a = "ArrowDown";
|
|
16
2
|
export {
|
|
17
|
-
|
|
3
|
+
e as ACTIVE_KEY,
|
|
4
|
+
a as ARROW_DOWN,
|
|
5
|
+
s as ARROW_LEFT,
|
|
6
|
+
c as ARROW_RIGHT,
|
|
7
|
+
E as ARROW_UP,
|
|
8
|
+
t as FOCUSABLE_ATTRIBUTE,
|
|
9
|
+
o as SELECTED_KEY,
|
|
10
|
+
n as TYPEABLE_SELECTOR
|
|
18
11
|
};
|
|
19
12
|
//# sourceMappingURL=index385.js.map
|
package/dist/index385.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index385.js","sources":["../../../node_modules/@base-ui/react/esm/floating-ui-react/utils/
|
|
1
|
+
{"version":3,"file":"index385.js","sources":["../../../node_modules/@base-ui/react/esm/floating-ui-react/utils/constants.js"],"sourcesContent":["export const FOCUSABLE_ATTRIBUTE = 'data-base-ui-focusable';\nexport const ACTIVE_KEY = 'active';\nexport const SELECTED_KEY = 'selected';\nexport const TYPEABLE_SELECTOR = \"input:not([type='hidden']):not([disabled]),\" + \"[contenteditable]:not([contenteditable='false']),textarea:not([disabled])\";\nexport const ARROW_LEFT = 'ArrowLeft';\nexport const ARROW_RIGHT = 'ArrowRight';\nexport const ARROW_UP = 'ArrowUp';\nexport const ARROW_DOWN = 'ArrowDown';"],"names":["FOCUSABLE_ATTRIBUTE","ACTIVE_KEY","SELECTED_KEY","TYPEABLE_SELECTOR","ARROW_LEFT","ARROW_RIGHT","ARROW_UP","ARROW_DOWN"],"mappings":"AAAY,MAACA,IAAsB,0BACtBC,IAAa,UACbC,IAAe,YACfC,IAAoB,wHACpBC,IAAa,aACbC,IAAc,cACdC,IAAW,WACXC,IAAa;","x_google_ignoreList":[0]}
|
package/dist/index386.js
CHANGED
|
@@ -1,24 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
function
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import { FloatingRootStore as e } from "./index384.js";
|
|
2
|
+
import { PopupTriggerMap as n } from "./index352.js";
|
|
3
|
+
function r() {
|
|
4
|
+
return new e({
|
|
5
|
+
open: !1,
|
|
6
|
+
transitionStatus: void 0,
|
|
7
|
+
floatingElement: null,
|
|
8
|
+
referenceElement: null,
|
|
9
|
+
triggerElements: new n(),
|
|
10
|
+
floatingId: "",
|
|
11
|
+
syncOnly: !1,
|
|
12
|
+
nested: !1,
|
|
13
|
+
onOpenChange: void 0
|
|
14
|
+
});
|
|
15
15
|
}
|
|
16
16
|
export {
|
|
17
|
-
|
|
18
|
-
u as RFC3966_ISDN_SUBADDRESS_,
|
|
19
|
-
a as RFC3966_PHONE_CONTEXT_,
|
|
20
|
-
l as RFC3966_PREFIX_,
|
|
21
|
-
D as default,
|
|
22
|
-
S as isPhoneContextValid
|
|
17
|
+
r as getEmptyRootContext
|
|
23
18
|
};
|
|
24
19
|
//# sourceMappingURL=index386.js.map
|
package/dist/index386.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index386.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index386.js","sources":["../../../node_modules/@base-ui/react/esm/floating-ui-react/utils/getEmptyRootContext.js"],"sourcesContent":["import { PopupTriggerMap } from \"../../utils/popups/index.js\";\nimport { FloatingRootStore } from \"../components/FloatingRootStore.js\";\nexport function getEmptyRootContext() {\n return new FloatingRootStore({\n open: false,\n transitionStatus: undefined,\n floatingElement: null,\n referenceElement: null,\n triggerElements: new PopupTriggerMap(),\n floatingId: '',\n syncOnly: false,\n nested: false,\n onOpenChange: undefined\n });\n}"],"names":["getEmptyRootContext","FloatingRootStore","PopupTriggerMap"],"mappings":";;AAEO,SAASA,IAAsB;AACpC,SAAO,IAAIC,EAAkB;AAAA,IAC3B,MAAM;AAAA,IACN,kBAAkB;AAAA,IAClB,iBAAiB;AAAA,IACjB,kBAAkB;AAAA,IAClB,iBAAiB,IAAIC,EAAe;AAAA,IACpC,YAAY;AAAA,IACZ,UAAU;AAAA,IACV,QAAQ;AAAA,IACR,cAAc;AAAA,EAClB,CAAG;AACH;","x_google_ignoreList":[0]}
|
package/dist/index387.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { constructFromSymbol as o } from "./index389.js";
|
|
2
|
+
function c(r, n) {
|
|
3
|
+
return typeof r == "function" ? r(n) : r && typeof r == "object" && o in r ? r[o](n) : r instanceof Date ? new r.constructor(n) : new Date(n);
|
|
4
|
+
}
|
|
3
5
|
export {
|
|
4
|
-
|
|
6
|
+
c as constructFrom
|
|
5
7
|
};
|
|
6
8
|
//# sourceMappingURL=index387.js.map
|
package/dist/index387.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index387.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index387.js","sources":["../../../node_modules/date-fns/constructFrom.js"],"sourcesContent":["import { constructFromSymbol } from \"./constants.js\";\n\n/**\n * @name constructFrom\n * @category Generic Helpers\n * @summary Constructs a date using the reference date and the value\n *\n * @description\n * The function constructs a new date using the constructor from the reference\n * date and the given value. It helps to build generic functions that accept\n * date extensions.\n *\n * It defaults to `Date` if the passed reference date is a number or a string.\n *\n * Starting from v3.7.0, it allows to construct a date using `[Symbol.for(\"constructDateFrom\")]`\n * enabling to transfer extra properties from the reference date to the new date.\n * It's useful for extensions like [`TZDate`](https://github.com/date-fns/tz)\n * that accept a time zone as a constructor argument.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The reference date to take constructor from\n * @param value - The value to create the date\n *\n * @returns Date initialized using the given date and value\n *\n * @example\n * import { constructFrom } from \"./constructFrom/date-fns\";\n *\n * // A function that clones a date preserving the original type\n * function cloneDate<DateType extends Date>(date: DateType): DateType {\n * return constructFrom(\n * date, // Use constructor from the given date\n * date.getTime() // Use the date value to create a new date\n * );\n * }\n */\nexport function constructFrom(date, value) {\n if (typeof date === \"function\") return date(value);\n\n if (date && typeof date === \"object\" && constructFromSymbol in date)\n return date[constructFromSymbol](value);\n\n if (date instanceof Date) return new date.constructor(value);\n\n return new Date(value);\n}\n\n// Fallback for modularized imports:\nexport default constructFrom;\n"],"names":["constructFrom","date","value","constructFromSymbol"],"mappings":";AAqCO,SAASA,EAAcC,GAAMC,GAAO;AACzC,SAAI,OAAOD,KAAS,aAAmBA,EAAKC,CAAK,IAE7CD,KAAQ,OAAOA,KAAS,YAAYE,KAAuBF,IACtDA,EAAKE,CAAmB,EAAED,CAAK,IAEpCD,aAAgB,OAAa,IAAIA,EAAK,YAAYC,CAAK,IAEpD,IAAI,KAAKA,CAAK;AACvB;","x_google_ignoreList":[0]}
|
package/dist/index388.js
CHANGED
package/dist/index388.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index388.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index388.js","sources":["../../../node_modules/date-fns/toDate.js"],"sourcesContent":["import { constructFrom } from \"./constructFrom.js\";\n\n/**\n * @name toDate\n * @category Common Helpers\n * @summary Convert the given argument to an instance of Date.\n *\n * @description\n * Convert the given argument to an instance of Date.\n *\n * If the argument is an instance of Date, the function returns its clone.\n *\n * If the argument is a number, it is treated as a timestamp.\n *\n * If the argument is none of the above, the function returns Invalid Date.\n *\n * Starting from v3.7.0, it clones a date using `[Symbol.for(\"constructDateFrom\")]`\n * enabling to transfer extra properties from the reference date to the new date.\n * It's useful for extensions like [`TZDate`](https://github.com/date-fns/tz)\n * that accept a time zone as a constructor argument.\n *\n * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.\n *\n * @param argument - The value to convert\n *\n * @returns The parsed date in the local time zone\n *\n * @example\n * // Clone the date:\n * const result = toDate(new Date(2014, 1, 11, 11, 30, 30))\n * //=> Tue Feb 11 2014 11:30:30\n *\n * @example\n * // Convert the timestamp to date:\n * const result = toDate(1392098430000)\n * //=> Tue Feb 11 2014 11:30:30\n */\nexport function toDate(argument, context) {\n // [TODO] Get rid of `toDate` or `constructFrom`?\n return constructFrom(context || argument, argument);\n}\n\n// Fallback for modularized imports:\nexport default toDate;\n"],"names":["toDate","argument","context","constructFrom"],"mappings":";AAwCO,SAASA,EAAOC,GAAUC,GAAS;AAExC,SAAOC,EAAcD,KAAWD,GAAUA,CAAQ;AACpD;","x_google_ignoreList":[0]}
|
package/dist/index389.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
function c(r, n) {
|
|
3
|
-
return typeof r == "function" ? r(n) : r && typeof r == "object" && o in r ? r[o](n) : r instanceof Date ? new r.constructor(n) : new Date(n);
|
|
4
|
-
}
|
|
1
|
+
const o = 6048e5, c = 864e5, n = /* @__PURE__ */ Symbol.for("constructDateFrom");
|
|
5
2
|
export {
|
|
6
|
-
|
|
3
|
+
n as constructFromSymbol,
|
|
4
|
+
c as millisecondsInDay,
|
|
5
|
+
o as millisecondsInWeek
|
|
7
6
|
};
|
|
8
7
|
//# sourceMappingURL=index389.js.map
|
package/dist/index389.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index389.js","sources":["../../../node_modules/date-fns/
|
|
1
|
+
{"version":3,"file":"index389.js","sources":["../../../node_modules/date-fns/constants.js"],"sourcesContent":["/**\n * @module constants\n * @summary Useful constants\n * @description\n * Collection of useful date constants.\n *\n * The constants could be imported from `date-fns/constants`:\n *\n * ```ts\n * import { maxTime, minTime } from \"./constants/date-fns/constants\";\n *\n * function isAllowedTime(time) {\n * return time <= maxTime && time >= minTime;\n * }\n * ```\n */\n\n/**\n * @constant\n * @name daysInWeek\n * @summary Days in 1 week.\n */\nexport const daysInWeek = 7;\n\n/**\n * @constant\n * @name daysInYear\n * @summary Days in 1 year.\n *\n * @description\n * How many days in a year.\n *\n * One years equals 365.2425 days according to the formula:\n *\n * > Leap year occurs every 4 years, except for years that are divisible by 100 and not divisible by 400.\n * > 1 mean year = (365+1/4-1/100+1/400) days = 365.2425 days\n */\nexport const daysInYear = 365.2425;\n\n/**\n * @constant\n * @name maxTime\n * @summary Maximum allowed time.\n *\n * @example\n * import { maxTime } from \"./constants/date-fns/constants\";\n *\n * const isValid = 8640000000000001 <= maxTime;\n * //=> false\n *\n * new Date(8640000000000001);\n * //=> Invalid Date\n */\nexport const maxTime = Math.pow(10, 8) * 24 * 60 * 60 * 1000;\n\n/**\n * @constant\n * @name minTime\n * @summary Minimum allowed time.\n *\n * @example\n * import { minTime } from \"./constants/date-fns/constants\";\n *\n * const isValid = -8640000000000001 >= minTime;\n * //=> false\n *\n * new Date(-8640000000000001)\n * //=> Invalid Date\n */\nexport const minTime = -maxTime;\n\n/**\n * @constant\n * @name millisecondsInWeek\n * @summary Milliseconds in 1 week.\n */\nexport const millisecondsInWeek = 604800000;\n\n/**\n * @constant\n * @name millisecondsInDay\n * @summary Milliseconds in 1 day.\n */\nexport const millisecondsInDay = 86400000;\n\n/**\n * @constant\n * @name millisecondsInMinute\n * @summary Milliseconds in 1 minute\n */\nexport const millisecondsInMinute = 60000;\n\n/**\n * @constant\n * @name millisecondsInHour\n * @summary Milliseconds in 1 hour\n */\nexport const millisecondsInHour = 3600000;\n\n/**\n * @constant\n * @name millisecondsInSecond\n * @summary Milliseconds in 1 second\n */\nexport const millisecondsInSecond = 1000;\n\n/**\n * @constant\n * @name minutesInYear\n * @summary Minutes in 1 year.\n */\nexport const minutesInYear = 525600;\n\n/**\n * @constant\n * @name minutesInMonth\n * @summary Minutes in 1 month.\n */\nexport const minutesInMonth = 43200;\n\n/**\n * @constant\n * @name minutesInDay\n * @summary Minutes in 1 day.\n */\nexport const minutesInDay = 1440;\n\n/**\n * @constant\n * @name minutesInHour\n * @summary Minutes in 1 hour.\n */\nexport const minutesInHour = 60;\n\n/**\n * @constant\n * @name monthsInQuarter\n * @summary Months in 1 quarter.\n */\nexport const monthsInQuarter = 3;\n\n/**\n * @constant\n * @name monthsInYear\n * @summary Months in 1 year.\n */\nexport const monthsInYear = 12;\n\n/**\n * @constant\n * @name quartersInYear\n * @summary Quarters in 1 year\n */\nexport const quartersInYear = 4;\n\n/**\n * @constant\n * @name secondsInHour\n * @summary Seconds in 1 hour.\n */\nexport const secondsInHour = 3600;\n\n/**\n * @constant\n * @name secondsInMinute\n * @summary Seconds in 1 minute.\n */\nexport const secondsInMinute = 60;\n\n/**\n * @constant\n * @name secondsInDay\n * @summary Seconds in 1 day.\n */\nexport const secondsInDay = secondsInHour * 24;\n\n/**\n * @constant\n * @name secondsInWeek\n * @summary Seconds in 1 week.\n */\nexport const secondsInWeek = secondsInDay * 7;\n\n/**\n * @constant\n * @name secondsInYear\n * @summary Seconds in 1 year.\n */\nexport const secondsInYear = secondsInDay * daysInYear;\n\n/**\n * @constant\n * @name secondsInMonth\n * @summary Seconds in 1 month\n */\nexport const secondsInMonth = secondsInYear / 12;\n\n/**\n * @constant\n * @name secondsInQuarter\n * @summary Seconds in 1 quarter.\n */\nexport const secondsInQuarter = secondsInMonth * 3;\n\n/**\n * @constant\n * @name constructFromSymbol\n * @summary Symbol enabling Date extensions to inherit properties from the reference date.\n *\n * The symbol is used to enable the `constructFrom` function to construct a date\n * using a reference date and a value. It allows to transfer extra properties\n * from the reference date to the new date. It's useful for extensions like\n * [`TZDate`](https://github.com/date-fns/tz) that accept a time zone as\n * a constructor argument.\n */\nexport const constructFromSymbol = Symbol.for(\"constructDateFrom\");\n"],"names":["millisecondsInWeek","millisecondsInDay","constructFromSymbol"],"mappings":"AA4EY,MAACA,IAAqB,QAOrBC,IAAoB,OAoIpBC,IAAsB,uBAAO,IAAI,mBAAmB;","x_google_ignoreList":[0]}
|
package/dist/index39.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as m from "react";
|
|
2
|
-
import { inertValue as d } from "./
|
|
3
|
-
import { useDialogRootContext as u } from "./
|
|
4
|
-
import { DialogPortalContext as c } from "./
|
|
5
|
-
import { InternalBackdrop as p } from "./
|
|
2
|
+
import { inertValue as d } from "./index185.js";
|
|
3
|
+
import { useDialogRootContext as u } from "./index171.js";
|
|
4
|
+
import { DialogPortalContext as c } from "./index181.js";
|
|
5
|
+
import { InternalBackdrop as p } from "./index186.js";
|
|
6
6
|
import { j as t } from "./index30.js";
|
|
7
|
-
import { FloatingPortal as f } from "./
|
|
7
|
+
import { FloatingPortal as f } from "./index187.js";
|
|
8
8
|
const x = /* @__PURE__ */ m.forwardRef(function(r, a) {
|
|
9
9
|
const {
|
|
10
10
|
keepMounted: e = !1,
|
package/dist/index390.js
CHANGED
|
@@ -1,8 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import { toDate as o } from "./index388.js";
|
|
2
|
+
function l(t) {
|
|
3
|
+
const e = o(t), n = new Date(
|
|
4
|
+
Date.UTC(
|
|
5
|
+
e.getFullYear(),
|
|
6
|
+
e.getMonth(),
|
|
7
|
+
e.getDate(),
|
|
8
|
+
e.getHours(),
|
|
9
|
+
e.getMinutes(),
|
|
10
|
+
e.getSeconds(),
|
|
11
|
+
e.getMilliseconds()
|
|
12
|
+
)
|
|
13
|
+
);
|
|
14
|
+
return n.setUTCFullYear(e.getFullYear()), +t - +n;
|
|
4
15
|
}
|
|
5
16
|
export {
|
|
6
|
-
|
|
17
|
+
l as getTimezoneOffsetInMilliseconds
|
|
7
18
|
};
|
|
8
19
|
//# sourceMappingURL=index390.js.map
|
package/dist/index390.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index390.js","sources":["../../../node_modules/date-fns/
|
|
1
|
+
{"version":3,"file":"index390.js","sources":["../../../node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js"],"sourcesContent":["import { toDate } from \"../toDate.js\";\n\n/**\n * Google Chrome as of 67.0.3396.87 introduced timezones with offset that includes seconds.\n * They usually appear for dates that denote time before the timezones were introduced\n * (e.g. for 'Europe/Prague' timezone the offset is GMT+00:57:44 before 1 October 1891\n * and GMT+01:00:00 after that date)\n *\n * Date#getTimezoneOffset returns the offset in minutes and would return 57 for the example above,\n * which would lead to incorrect calculations.\n *\n * This function returns the timezone offset in milliseconds that takes seconds in account.\n */\nexport function getTimezoneOffsetInMilliseconds(date) {\n const _date = toDate(date);\n const utcDate = new Date(\n Date.UTC(\n _date.getFullYear(),\n _date.getMonth(),\n _date.getDate(),\n _date.getHours(),\n _date.getMinutes(),\n _date.getSeconds(),\n _date.getMilliseconds(),\n ),\n );\n utcDate.setUTCFullYear(_date.getFullYear());\n return +date - +utcDate;\n}\n"],"names":["getTimezoneOffsetInMilliseconds","date","_date","toDate","utcDate"],"mappings":";AAaO,SAASA,EAAgCC,GAAM;AACpD,QAAMC,IAAQC,EAAOF,CAAI,GACnBG,IAAU,IAAI;AAAA,IAClB,KAAK;AAAA,MACHF,EAAM,YAAW;AAAA,MACjBA,EAAM,SAAQ;AAAA,MACdA,EAAM,QAAO;AAAA,MACbA,EAAM,SAAQ;AAAA,MACdA,EAAM,WAAU;AAAA,MAChBA,EAAM,WAAU;AAAA,MAChBA,EAAM,gBAAe;AAAA,IAC3B;AAAA,EACA;AACE,SAAAE,EAAQ,eAAeF,EAAM,aAAa,GACnC,CAACD,IAAO,CAACG;AAClB;","x_google_ignoreList":[0]}
|
package/dist/index391.js
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
import { constructFrom as r } from "./index387.js";
|
|
2
|
+
function i(e, ...o) {
|
|
3
|
+
const n = r.bind(
|
|
4
|
+
null,
|
|
5
|
+
o.find((t) => typeof t == "object")
|
|
6
|
+
);
|
|
7
|
+
return o.map(n);
|
|
8
|
+
}
|
|
2
9
|
export {
|
|
3
|
-
|
|
4
|
-
c as millisecondsInDay,
|
|
5
|
-
o as millisecondsInWeek
|
|
10
|
+
i as normalizeDates
|
|
6
11
|
};
|
|
7
12
|
//# sourceMappingURL=index391.js.map
|
package/dist/index391.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index391.js","sources":["../../../node_modules/date-fns/
|
|
1
|
+
{"version":3,"file":"index391.js","sources":["../../../node_modules/date-fns/_lib/normalizeDates.js"],"sourcesContent":["import { constructFrom } from \"../constructFrom.js\";\n\nexport function normalizeDates(context, ...dates) {\n const normalize = constructFrom.bind(\n null,\n context || dates.find((date) => typeof date === \"object\"),\n );\n return dates.map(normalize);\n}\n"],"names":["normalizeDates","context","dates","normalize","constructFrom","date"],"mappings":";AAEO,SAASA,EAAeC,MAAYC,GAAO;AAChD,QAAMC,IAAYC,EAAc;AAAA,IAC9B;AAAA,IACWF,EAAM,KAAK,CAACG,MAAS,OAAOA,KAAS,QAAQ;AAAA,EAC5D;AACE,SAAOH,EAAM,IAAIC,CAAS;AAC5B;","x_google_ignoreList":[0]}
|
package/dist/index392.js
CHANGED
|
@@ -1,19 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function
|
|
3
|
-
const e = o(t
|
|
4
|
-
|
|
5
|
-
e.getFullYear(),
|
|
6
|
-
e.getMonth(),
|
|
7
|
-
e.getDate(),
|
|
8
|
-
e.getHours(),
|
|
9
|
-
e.getMinutes(),
|
|
10
|
-
e.getSeconds(),
|
|
11
|
-
e.getMilliseconds()
|
|
12
|
-
)
|
|
13
|
-
);
|
|
14
|
-
return n.setUTCFullYear(e.getFullYear()), +t - +n;
|
|
1
|
+
import { normalizeDates as o } from "./index391.js";
|
|
2
|
+
function m(r, t) {
|
|
3
|
+
const [n, e] = o(r, t.start, t.end);
|
|
4
|
+
return { start: n, end: e };
|
|
15
5
|
}
|
|
16
6
|
export {
|
|
17
|
-
|
|
7
|
+
m as normalizeInterval
|
|
18
8
|
};
|
|
19
9
|
//# sourceMappingURL=index392.js.map
|