@rpcbase/ui 0.287.0 → 0.289.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/assets/sha256.worker-DNtOSCbM.js.map +1 -0
- package/dist/components/FilesUploadField/index.d.ts.map +1 -1
- package/dist/index.js +12 -12
- package/dist/index10.js.map +1 -1
- package/dist/index100.js.map +1 -1
- package/dist/index101.js.map +1 -1
- package/dist/index102.js.map +1 -1
- package/dist/index103.js.map +1 -1
- package/dist/index104.js.map +1 -1
- package/dist/index105.js.map +1 -1
- package/dist/index106.js.map +1 -1
- package/dist/index107.js.map +1 -1
- package/dist/index108.js.map +1 -1
- package/dist/index109.js.map +1 -1
- package/dist/index11.js +96 -17
- package/dist/index11.js.map +1 -1
- package/dist/index110.js.map +1 -1
- package/dist/index111.js.map +1 -1
- package/dist/index112.js.map +1 -1
- package/dist/index113.js.map +1 -1
- package/dist/index114.js.map +1 -1
- package/dist/index115.js.map +1 -1
- package/dist/index116.js.map +1 -1
- package/dist/index117.js.map +1 -1
- package/dist/index118.js.map +1 -1
- package/dist/index119.js.map +1 -1
- package/dist/index12.js.map +1 -1
- package/dist/index120.js.map +1 -1
- package/dist/index121.js.map +1 -1
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +1 -1
- package/dist/index123.js.map +1 -1
- package/dist/index124.js.map +1 -1
- package/dist/index125.js.map +1 -1
- package/dist/index126.js.map +1 -1
- package/dist/index127.js.map +1 -1
- package/dist/index128.js.map +1 -1
- package/dist/index129.js.map +1 -1
- package/dist/index13.js.map +1 -1
- package/dist/index130.js.map +1 -1
- package/dist/index131.js.map +1 -1
- package/dist/index132.js.map +1 -1
- package/dist/index133.js.map +1 -1
- package/dist/index134.js.map +1 -1
- package/dist/index135.js.map +1 -1
- package/dist/index136.js.map +1 -1
- package/dist/index137.js.map +1 -1
- package/dist/index138.js.map +1 -1
- package/dist/index139.js.map +1 -1
- package/dist/index14.js.map +1 -1
- package/dist/index140.js.map +1 -1
- package/dist/index141.js.map +1 -1
- package/dist/index142.js.map +1 -1
- package/dist/index143.js.map +1 -1
- package/dist/index144.js.map +1 -1
- package/dist/index145.js.map +1 -1
- package/dist/index146.js.map +1 -1
- package/dist/index147.js.map +1 -1
- package/dist/index148.js.map +1 -1
- package/dist/index149.js.map +1 -1
- package/dist/index15.js.map +1 -1
- package/dist/index150.js.map +1 -1
- package/dist/index151.js.map +1 -1
- package/dist/index152.js.map +1 -1
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +4 -4
- package/dist/index154.js.map +1 -1
- package/dist/index155.js.map +1 -1
- package/dist/index156.js.map +1 -1
- package/dist/index157.js.map +1 -1
- package/dist/index158.js.map +1 -1
- package/dist/index159.js.map +1 -1
- package/dist/index16.js.map +1 -1
- package/dist/index160.js.map +1 -1
- package/dist/index161.js.map +1 -1
- package/dist/index162.js.map +1 -1
- package/dist/index163.js.map +1 -1
- package/dist/index164.js.map +1 -1
- package/dist/index165.js.map +1 -1
- package/dist/index166.js.map +1 -1
- package/dist/index167.js.map +1 -1
- package/dist/index168.js.map +1 -1
- package/dist/index169.js.map +1 -1
- package/dist/index17.js.map +1 -1
- package/dist/index170.js +18 -12
- package/dist/index170.js.map +1 -1
- package/dist/index171.js.map +1 -1
- package/dist/index172.js.map +1 -1
- package/dist/index173.js.map +1 -1
- package/dist/index174.js.map +1 -1
- package/dist/index175.js.map +1 -1
- package/dist/index176.js.map +1 -1
- package/dist/index177.js.map +1 -1
- package/dist/index178.js.map +1 -1
- package/dist/index179.js.map +1 -1
- package/dist/index18.js.map +1 -1
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +1 -1
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +3 -3
- package/dist/index182.js.map +1 -1
- package/dist/index183.js.map +1 -1
- package/dist/index184.js.map +1 -1
- package/dist/index185.js.map +1 -1
- package/dist/index186.js.map +1 -1
- package/dist/index187.js.map +1 -1
- package/dist/index188.js.map +1 -1
- package/dist/index189.js.map +1 -1
- package/dist/index19.js.map +1 -1
- package/dist/index190.js +9 -7
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +4 -4
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +4 -15
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +13 -3
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +2 -2
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +4 -85
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +79 -54
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +68 -7
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +3 -23
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +6 -28
- package/dist/index199.js.map +1 -1
- package/dist/index20.js.map +1 -1
- package/dist/index200.js +4 -97
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +3 -4
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +23 -24
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +28 -10
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +97 -4
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +4 -12
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +22 -19
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +4 -6
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +4 -15
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +10 -102
- package/dist/index209.js.map +1 -1
- package/dist/index210.js +21 -3
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +5 -23
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +15 -28
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +101 -17
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +3 -7
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +24 -15
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +27 -7
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +17 -24
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +6 -22
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +15 -6
- package/dist/index219.js.map +1 -1
- package/dist/index220.js +8 -5
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +27 -4
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +23 -4
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +6 -24
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +5 -3
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +4 -24
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +4 -23
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +23 -6
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +22 -8
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +3 -19
- package/dist/index229.js.map +1 -1
- package/dist/index23.js.map +1 -1
- package/dist/index230.js +22 -50
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +7 -20
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +9 -27
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +17 -97
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +50 -33
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +20 -119
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +28 -13
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +98 -4
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +33 -15
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +116 -62
- package/dist/index239.js.map +1 -1
- package/dist/index24.js.map +1 -1
- package/dist/index240.js +13 -10
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +4 -109
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +14 -14
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +64 -12
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +10 -5
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +104 -318
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +14 -66
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +12 -232
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +4 -270
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +313 -309
- package/dist/index249.js.map +1 -1
- package/dist/index25.js.map +1 -1
- package/dist/index250.js +60 -171
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +252 -8
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +268 -41
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +316 -47
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +179 -9
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +6 -50
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +41 -51
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +50 -7
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +9 -10
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +51 -61
- package/dist/index259.js.map +1 -1
- package/dist/index26.js.map +1 -1
- package/dist/index260.js +53 -42
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +9 -97
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +31 -47
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +61 -36
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +43 -47
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +92 -46
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +48 -20
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +33 -176
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +49 -48
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +68 -15
- package/dist/index269.js.map +1 -1
- package/dist/index27.js.map +1 -1
- package/dist/index270.js +20 -65
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +202 -9
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +48 -40
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +60 -91
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +9 -278
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +38 -55
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +91 -10
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +278 -12
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +58 -11
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +11 -64
- package/dist/index279.js.map +1 -1
- package/dist/index28.js +5 -5
- package/dist/index28.js.map +1 -1
- package/dist/index280.js +12 -6
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +3 -25
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +3 -25
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +12 -126
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +63 -51
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +5 -60
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +24 -48
- package/dist/index286.js.map +1 -1
- package/dist/index287.js +24 -6
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +125 -14
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +51 -16
- package/dist/index289.js.map +1 -1
- package/dist/index29.js +5 -7
- package/dist/index29.js.map +1 -1
- package/dist/index290.js +56 -11
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +47 -24
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +7 -51
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +15 -6
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +18 -148
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +12 -59
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +25 -120
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +54 -15
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +5 -866
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +148 -28
- package/dist/index299.js.map +1 -1
- package/dist/index3.js.map +1 -1
- package/dist/index30.js +6 -8
- package/dist/index30.js.map +1 -1
- package/dist/index300.js +55 -512
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +111 -794
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +14 -7436
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +862 -6
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +28 -12
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +515 -5
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +803 -5
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +7426 -468
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +6 -37
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +12 -19
- package/dist/index309.js.map +1 -1
- package/dist/index31.js +5 -11
- package/dist/index31.js.map +1 -1
- package/dist/index310.js +5 -30
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +5 -4
- package/dist/index311.js.map +1 -1
- package/dist/index312.js +461 -51
- package/dist/index312.js.map +1 -1
- package/dist/index313.js +36 -10
- package/dist/index313.js.map +1 -1
- package/dist/index314.js +19 -5
- package/dist/index314.js.map +1 -1
- package/dist/index315.js +29 -8
- package/dist/index315.js.map +1 -1
- package/dist/index316.js +4 -12
- package/dist/index316.js.map +1 -1
- package/dist/index317.js +60 -3
- package/dist/index317.js.map +1 -1
- package/dist/index318.js +10 -15
- package/dist/index318.js.map +1 -1
- package/dist/index319.js +5 -25
- package/dist/index319.js.map +1 -1
- package/dist/index32.js +5 -5
- package/dist/index32.js.map +1 -1
- package/dist/index320.js +9 -41
- package/dist/index320.js.map +1 -1
- package/dist/index321.js +11 -4
- package/dist/index321.js.map +1 -1
- package/dist/index322.js +3 -26
- package/dist/index322.js.map +1 -1
- package/dist/index323.js +15 -18
- package/dist/index323.js.map +1 -1
- package/dist/index324.js +22 -31
- package/dist/index324.js.map +1 -1
- package/dist/index325.js +41 -5
- package/dist/index325.js.map +1 -1
- package/dist/index326.js +4 -8
- package/dist/index326.js.map +1 -1
- package/dist/index327.js +25 -8
- package/dist/index327.js.map +1 -1
- package/dist/index328.js +19 -9
- package/dist/index328.js.map +1 -1
- package/dist/index329.js +34 -10
- package/dist/index329.js.map +1 -1
- package/dist/index33.js +9 -6
- package/dist/index33.js.map +1 -1
- package/dist/index330.js +5 -7
- package/dist/index330.js.map +1 -1
- package/dist/index331.js +9 -75
- package/dist/index331.js.map +1 -1
- package/dist/index332.js +8 -162
- package/dist/index332.js.map +1 -1
- package/dist/index333.js +9 -114
- package/dist/index333.js.map +1 -1
- package/dist/index334.js +10 -14
- package/dist/index334.js.map +1 -1
- package/dist/index335.js +7 -80
- package/dist/index335.js.map +1 -1
- package/dist/index336.js +68 -39
- package/dist/index336.js.map +1 -1
- package/dist/index337.js +160 -11
- package/dist/index337.js.map +1 -1
- package/dist/index338.js +113 -15
- package/dist/index338.js.map +1 -1
- package/dist/index339.js +13 -100
- package/dist/index339.js.map +1 -1
- package/dist/index34.js +6 -6
- package/dist/index34.js.map +1 -1
- package/dist/index340.js +73 -49
- package/dist/index340.js.map +1 -1
- package/dist/index341.js +34 -96
- package/dist/index341.js.map +1 -1
- package/dist/index342.js +12 -70
- package/dist/index342.js.map +1 -1
- package/dist/index343.js +14 -111
- package/dist/index343.js.map +1 -1
- package/dist/index344.js +94 -48
- package/dist/index344.js.map +1 -1
- package/dist/index345.js +50 -37
- package/dist/index345.js.map +1 -1
- package/dist/index346.js +89 -125
- package/dist/index346.js.map +1 -1
- package/dist/index347.js +52 -123
- package/dist/index347.js.map +1 -1
- package/dist/index348.js +54 -197
- package/dist/index348.js.map +1 -1
- package/dist/index349.js +44 -229
- package/dist/index349.js.map +1 -1
- package/dist/index35.js +9 -9
- package/dist/index35.js.map +1 -1
- package/dist/index350.js +42 -308
- package/dist/index350.js.map +1 -1
- package/dist/index351.js +144 -5
- package/dist/index351.js.map +1 -1
- package/dist/index352.js +142 -6
- package/dist/index352.js.map +1 -1
- package/dist/index353.js +257 -7
- package/dist/index353.js.map +1 -1
- package/dist/index354.js +241 -6
- package/dist/index354.js.map +1 -1
- package/dist/index355.js +309 -6
- package/dist/index355.js.map +1 -1
- package/dist/index356.js +5 -21
- package/dist/index356.js.map +1 -1
- package/dist/index357.js +6 -10
- package/dist/index357.js.map +1 -1
- package/dist/index358.js +7 -128
- package/dist/index358.js.map +1 -1
- package/dist/index359.js +6 -42
- package/dist/index359.js.map +1 -1
- package/dist/index36.js +12 -7
- package/dist/index36.js.map +1 -1
- package/dist/index360.js +6 -68
- package/dist/index360.js.map +1 -1
- package/dist/index361.js +20 -116
- package/dist/index361.js.map +1 -1
- package/dist/index362.js +10 -490
- package/dist/index362.js.map +1 -1
- package/dist/index363.js +128 -7
- package/dist/index363.js.map +1 -1
- package/dist/index364.js +42 -13
- package/dist/index364.js.map +1 -1
- package/dist/index365.js +67 -3
- package/dist/index365.js.map +1 -1
- package/dist/index366.js +115 -45
- package/dist/index366.js.map +1 -1
- package/dist/index367.js +490 -11
- package/dist/index367.js.map +1 -1
- package/dist/index368.js +8 -26
- package/dist/index368.js.map +1 -1
- package/dist/index369.js +12 -41
- package/dist/index369.js.map +1 -1
- package/dist/index37.js +13 -5
- package/dist/index37.js.map +1 -1
- package/dist/index370.js +4 -36
- package/dist/index370.js.map +1 -1
- package/dist/index371.js +45 -15
- package/dist/index371.js.map +1 -1
- package/dist/index372.js +24 -41
- package/dist/index372.js.map +1 -1
- package/dist/index373.js +3 -12
- package/dist/index373.js.map +1 -1
- package/dist/index374.js +27 -11
- package/dist/index374.js.map +1 -1
- package/dist/index375.js +40 -50
- package/dist/index375.js.map +1 -1
- package/dist/index376.js +37 -40
- package/dist/index376.js.map +1 -1
- package/dist/index377.js +12 -10
- package/dist/index377.js.map +1 -1
- package/dist/index378.js +40 -4
- package/dist/index378.js.map +1 -1
- package/dist/index379.js +7 -4
- package/dist/index379.js.map +1 -1
- package/dist/index38.js +5 -5
- package/dist/index38.js.map +1 -1
- package/dist/index380.js +29 -8
- package/dist/index380.js.map +1 -1
- package/dist/index381.js +9 -303
- package/dist/index381.js.map +1 -1
- package/dist/index382.js +57 -4
- package/dist/index382.js.map +1 -1
- package/dist/index383.js +40 -22
- package/dist/index383.js.map +1 -1
- package/dist/index384.js +15 -105
- package/dist/index384.js.map +1 -1
- package/dist/index385.js +5 -22
- package/dist/index385.js.map +1 -1
- package/dist/index386.js +10 -22
- package/dist/index386.js.map +1 -1
- package/dist/index387.js +289 -16
- package/dist/index387.js.map +1 -1
- package/dist/index388.js +4 -12
- package/dist/index388.js.map +1 -1
- package/dist/index389.js +20 -112
- package/dist/index389.js.map +1 -1
- package/dist/index39.js +6 -10
- package/dist/index39.js.map +1 -1
- package/dist/index390.js +3 -9
- package/dist/index390.js.map +1 -1
- package/dist/index391.js +104 -27
- package/dist/index391.js.map +1 -1
- package/dist/index392.js +20 -9
- package/dist/index392.js.map +1 -1
- package/dist/index393.js +20 -6
- package/dist/index393.js.map +1 -1
- package/dist/index394.js +14 -253
- package/dist/index394.js.map +1 -1
- package/dist/index395.js +12 -10
- package/dist/index395.js.map +1 -1
- package/dist/index396.js +117 -11
- package/dist/index396.js.map +1 -1
- package/dist/index397.js +8 -6
- package/dist/index397.js.map +1 -1
- package/dist/index398.js +32 -22
- package/dist/index398.js.map +1 -1
- package/dist/index399.js +9 -23
- package/dist/index399.js.map +1 -1
- package/dist/index4.js.map +1 -1
- package/dist/index40.js +8 -11
- package/dist/index40.js.map +1 -1
- package/dist/index400.js +6 -105
- package/dist/index400.js.map +1 -1
- package/dist/index401.js +3 -15
- package/dist/index401.js.map +1 -1
- package/dist/index402.js +251 -10
- package/dist/index402.js.map +1 -1
- package/dist/index403.js +9 -7
- package/dist/index403.js.map +1 -1
- package/dist/index404.js +11 -239
- package/dist/index404.js.map +1 -1
- package/dist/index405.js +7 -28
- package/dist/index405.js.map +1 -1
- package/dist/index406.js +21 -37
- package/dist/index406.js.map +1 -1
- package/dist/index407.js +21 -10
- package/dist/index407.js.map +1 -1
- package/dist/index408.js +97 -117
- package/dist/index408.js.map +1 -1
- package/dist/index409.js +15 -40
- package/dist/index409.js.map +1 -1
- package/dist/index41.js +6 -7
- package/dist/index41.js.map +1 -1
- package/dist/index410.js +11 -25
- package/dist/index410.js.map +1 -1
- package/dist/index411.js +7 -9
- package/dist/index411.js.map +1 -1
- package/dist/index412.js +3 -24
- package/dist/index412.js.map +1 -1
- package/dist/index413.js +226 -15
- package/dist/index413.js.map +1 -1
- package/dist/index414.js +24 -11
- package/dist/index414.js.map +1 -1
- package/dist/index415.js +38 -4
- package/dist/index415.js.map +1 -1
- package/dist/index416.js +11 -324
- package/dist/index416.js.map +1 -1
- package/dist/index417.js +119 -62
- package/dist/index417.js.map +1 -1
- package/dist/index418.js +42 -4
- package/dist/index418.js.map +1 -1
- package/dist/index419.js +25 -28
- package/dist/index419.js.map +1 -1
- package/dist/index42.js +6 -4
- package/dist/index42.js.map +1 -1
- package/dist/index420.js +11 -470
- package/dist/index420.js.map +1 -1
- package/dist/index421.js +23 -268
- package/dist/index421.js.map +1 -1
- package/dist/index422.js +24 -0
- package/dist/index422.js.map +1 -0
- package/dist/index423.js +17 -0
- package/dist/index423.js.map +1 -0
- package/dist/index424.js +8 -0
- package/dist/index424.js.map +1 -0
- package/dist/index425.js +328 -0
- package/dist/index425.js.map +1 -0
- package/dist/index426.js +66 -0
- package/dist/index426.js.map +1 -0
- package/dist/index427.js +7 -0
- package/dist/index427.js.map +1 -0
- package/dist/index428.js +31 -0
- package/dist/index428.js.map +1 -0
- package/dist/index429.js +474 -0
- package/dist/index429.js.map +1 -0
- package/dist/index43.js +68 -7
- package/dist/index43.js.map +1 -1
- package/dist/index430.js +272 -0
- package/dist/index430.js.map +1 -0
- package/dist/index44.js +7 -6
- package/dist/index44.js.map +1 -1
- package/dist/index45.js +31 -7
- package/dist/index45.js.map +1 -1
- package/dist/index46.js +10 -10
- package/dist/index46.js.map +1 -1
- package/dist/index47.js +15 -13
- package/dist/index47.js.map +1 -1
- package/dist/index48.js +201 -7
- package/dist/index48.js.map +1 -1
- package/dist/index49.js +20 -6
- package/dist/index49.js.map +1 -1
- package/dist/index5.js.map +1 -1
- package/dist/index50.js +16 -6
- package/dist/index50.js.map +1 -1
- package/dist/index51.js +123 -14
- package/dist/index51.js.map +1 -1
- package/dist/index52.js +19 -8
- package/dist/index52.js.map +1 -1
- package/dist/index53.js +5 -7
- package/dist/index53.js.map +1 -1
- package/dist/index54.js +9 -68
- package/dist/index54.js.map +1 -1
- package/dist/index55.js +7 -7
- package/dist/index55.js.map +1 -1
- package/dist/index56.js +9 -31
- package/dist/index56.js.map +1 -1
- package/dist/index57.js +13 -10
- package/dist/index57.js.map +1 -1
- package/dist/index58.js +8 -15
- package/dist/index58.js.map +1 -1
- package/dist/index59.js +10 -201
- package/dist/index59.js.map +1 -1
- package/dist/index6.js.map +1 -1
- package/dist/index60.js +13 -20
- package/dist/index60.js.map +1 -1
- package/dist/index61.js +9 -16
- package/dist/index61.js.map +1 -1
- package/dist/index62.js +10 -123
- package/dist/index62.js.map +1 -1
- package/dist/index63.js +5 -19
- package/dist/index63.js.map +1 -1
- package/dist/index64.js +42 -9
- package/dist/index64.js.map +1 -1
- package/dist/index65.js +387 -9
- package/dist/index65.js.map +1 -1
- package/dist/index66.js +37 -14
- package/dist/index66.js.map +1 -1
- package/dist/index67.js +21 -9
- package/dist/index67.js.map +1 -1
- package/dist/index68.js +4 -9
- package/dist/index68.js.map +1 -1
- package/dist/index69.js +6 -4
- package/dist/index69.js.map +1 -1
- package/dist/index7.js +3 -3
- package/dist/index7.js.map +1 -1
- package/dist/index70.js +57 -41
- package/dist/index70.js.map +1 -1
- package/dist/index71.js +5 -387
- package/dist/index71.js.map +1 -1
- package/dist/index72.js +6 -37
- package/dist/index72.js.map +1 -1
- package/dist/index73.js +5 -21
- package/dist/index73.js.map +1 -1
- package/dist/index74.js +4 -56
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +7 -7
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +6 -5
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +6 -5
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +11 -5
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +11 -5
- package/dist/index79.js.map +1 -1
- package/dist/index8.js.map +1 -1
- package/dist/index80.js +7 -6
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +10 -6
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +5 -8
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +6 -7
- package/dist/index83.js.map +1 -1
- package/dist/index84.js.map +1 -1
- package/dist/index85.js.map +1 -1
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +2 -2
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +31 -31
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +1 -1
- package/dist/index89.js.map +1 -1
- package/dist/index9.js.map +1 -1
- package/dist/index90.js.map +1 -1
- package/dist/index91.js.map +1 -1
- package/dist/index92.js.map +1 -1
- package/dist/index93.js.map +1 -1
- package/dist/index94.js.map +1 -1
- package/dist/index95.js.map +1 -1
- package/dist/index96.js.map +1 -1
- package/dist/index97.js.map +1 -1
- package/dist/index98.js.map +1 -1
- package/dist/index99.js.map +1 -1
- package/package.json +13 -13
- package/dist/assets/sha256.worker-BEf4_Y9w.js.map +0 -1
package/dist/index398.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index398.js","names":[],"sources":["../../../node_modules/@base-ui/react/
|
|
1
|
+
{"version":3,"file":"index398.js","names":["baseArrow","state","evaluate","options","element","paddingObject","getPaddingObject","padding","coords","axis","getAlignmentAxis","placement","length","getAxisLength","arrowDimensions","platform","isYAxis","minProp","maxProp","clientProp","endDiff","rects","startDiff","arrowOffsetParent","offsetParent","elements","clientSize","centerToReference","largestPossiblePadding","minPadding","maxPadding","min","max","center","offset","clamp","shouldAddOffset","middlewareData","getAlignment","alignmentOffset","arrow","deps"],"sources":["../../../node_modules/@base-ui/react/floating-ui-react/middleware/arrow.mjs"],"sourcesContent":["import { clamp, evaluate, getAlignment, getAlignmentAxis, getAxisLength, getPaddingObject } from '@floating-ui/utils';\n/**\n * Fork of the original `arrow` middleware from Floating UI that allows\n * configuring the offset parent.\n */\nexport const baseArrow = options => ({\n name: 'arrow',\n options,\n async fn(state) {\n const {\n x,\n y,\n placement,\n rects,\n platform,\n elements,\n middlewareData\n } = state;\n // Since `element` is required, we don't Partial<> the type.\n const {\n element,\n padding = 0,\n offsetParent = 'real'\n } = evaluate(options, state) || {};\n if (element == null) {\n return {};\n }\n const paddingObject = getPaddingObject(padding);\n const coords = {\n x,\n y\n };\n const axis = getAlignmentAxis(placement);\n const length = getAxisLength(axis);\n const arrowDimensions = await platform.getDimensions(element);\n const isYAxis = axis === 'y';\n const minProp = isYAxis ? 'top' : 'left';\n const maxProp = isYAxis ? 'bottom' : 'right';\n const clientProp = isYAxis ? 'clientHeight' : 'clientWidth';\n const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];\n const startDiff = coords[axis] - rects.reference[axis];\n const arrowOffsetParent = offsetParent === 'real' ? await platform.getOffsetParent?.(element) : elements.floating;\n let clientSize = elements.floating[clientProp] || rects.floating[length];\n\n // DOM platform can return `window` as the `offsetParent`.\n if (!clientSize || !(await platform.isElement?.(arrowOffsetParent))) {\n clientSize = elements.floating[clientProp] || rects.floating[length];\n }\n const centerToReference = endDiff / 2 - startDiff / 2;\n\n // If the padding is large enough that it causes the arrow to no longer be\n // centered, modify the padding so that it is centered.\n const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;\n const minPadding = Math.min(paddingObject[minProp], largestPossiblePadding);\n const maxPadding = Math.min(paddingObject[maxProp], largestPossiblePadding);\n\n // Make sure the arrow doesn't overflow the floating element if the center\n // point is outside the floating element's bounds.\n const min = minPadding;\n const max = clientSize - arrowDimensions[length] - maxPadding;\n const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;\n const offset = clamp(min, center, max);\n\n // If the reference is small enough that the arrow's padding causes it to\n // to point to nothing for an aligned placement, adjust the offset of the\n // floating element itself. To ensure `shift()` continues to take action,\n // a single reset is performed when this is true.\n const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset && rects.reference[length] / 2 - (center < min ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;\n // eslint-disable-next-line no-nested-ternary\n const alignmentOffset = shouldAddOffset ? center < min ? center - min : center - max : 0;\n return {\n [axis]: coords[axis] + alignmentOffset,\n data: {\n [axis]: offset,\n centerOffset: center - offset - alignmentOffset,\n ...(shouldAddOffset && {\n alignmentOffset\n })\n },\n reset: shouldAddOffset\n };\n }\n});\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nexport const arrow = (options, deps) => {\n const {\n name,\n fn\n } = baseArrow(options);\n return {\n name,\n fn,\n options: [options, deps]\n };\n};"],"ignoreList":[0],"mappings":";;AAKA,IAAaA,KAAY,OAAY;CACnC,MAAM;CACN;CACA,MAAM,GAAG,GAAO;EACd,IAAM,EACJ,MACA,MACA,cACA,UACA,aACA,aACA,sBACEC,GAEE,EACJ,YACA,aAAU,GACV,kBAAe,WACbC,EAASC,GAASF,CAAK,KAAK,CAAC;EACjC,IAAIG,KAAW,MACb,OAAO,CAAC;EAEV,IAAMC,IAAgBC,EAAiBC,CAAO,GACxCC,IAAS;GACb;GACA;EACF,GACMC,IAAOC,EAAiBC,CAAS,GACjCC,IAASC,EAAcJ,CAAI,GAC3BK,IAAkB,MAAMC,EAAS,cAAcX,CAAO,GACtDY,IAAUP,MAAS,KACnBQ,IAAUD,IAAU,QAAQ,QAC5BE,IAAUF,IAAU,WAAW,SAC/BG,IAAaH,IAAU,iBAAiB,eACxCI,IAAUC,EAAM,UAAUT,KAAUS,EAAM,UAAUZ,KAAQD,EAAOC,KAAQY,EAAM,SAAST,IAC1FU,IAAYd,EAAOC,KAAQY,EAAM,UAAUZ,IAC3Cc,IAAoBC,MAAiB,SAAS,MAAMT,EAAS,kBAAkBX,CAAO,IAAIqB,EAAS,UACrGC,IAAaD,EAAS,SAASN,MAAeE,EAAM,SAAST;EAGjE,CAAI,CAACc,KAAc,CAAE,MAAMX,EAAS,YAAYQ,CAAiB,OAC/D,IAAaE,EAAS,SAASN,MAAeE,EAAM,SAAST;EAE/D,IAAMe,IAAoBP,IAAU,IAAIE,IAAY,GAI9CM,IAAyBF,IAAa,IAAIZ,EAAgBF,KAAU,IAAI,GACxEiB,IAAa,KAAK,IAAIxB,EAAcY,IAAUW,CAAsB,GACpEE,IAAa,KAAK,IAAIzB,EAAca,IAAUU,CAAsB,GAIpEG,IAAMF,GACNG,IAAMN,IAAaZ,EAAgBF,KAAUkB,GAC7CG,IAASP,IAAa,IAAIZ,EAAgBF,KAAU,IAAIe,GACxDO,IAASC,EAAMJ,GAAKE,GAAQD,CAAG,GAM/BI,IAAkB,CAACC,EAAe,SAASC,EAAa3B,CAAS,KAAK,QAAQsB,MAAWC,KAAUb,EAAM,UAAUT,KAAU,KAAKqB,IAASF,IAAMF,IAAaC,KAAchB,EAAgBF,KAAU,IAAI,GAE1M2B,IAAkBH,IAAkBH,IAASF,IAAME,IAASF,IAAME,IAASD,IAAM;EACvF,OAAO;IACJvB,IAAOD,EAAOC,KAAQ8B;GACvB,MAAM;KACH9B,IAAOyB;IACR,cAAcD,IAASC,IAASK;IAChC,GAAIH,KAAmB,EACrB,mBACF;GACF;GACA,OAAOA;EACT;CACF;AACF,IAQaI,KAAS,GAAS,MAAS;CACtC,IAAM,EACJ,SACA,UACExC,EAAUG,CAAO;CACrB,OAAO;EACL;EACA;EACA,SAAS,CAACA,GAASsC,CAAI;CACzB;AACF"}
|
package/dist/index399.js
CHANGED
|
@@ -1,26 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
let [l, u] = r.useState(!1);
|
|
10
|
-
e(() => {
|
|
11
|
-
if (!a || !o || s == null) {
|
|
12
|
-
u(!1);
|
|
13
|
-
return;
|
|
14
|
-
}
|
|
15
|
-
let e = t(s).documentElement.clientWidth, n = s.offsetWidth;
|
|
16
|
-
u(e > 0 && n > 0 && n >= e - i);
|
|
17
|
-
}, [
|
|
18
|
-
a,
|
|
19
|
-
o,
|
|
20
|
-
s
|
|
21
|
-
]), n(a && (!o || l), c);
|
|
22
|
-
}
|
|
1
|
+
//#region ../../node_modules/@base-ui/react/utils/hideMiddleware.mjs
|
|
2
|
+
var e = {
|
|
3
|
+
name: "hide",
|
|
4
|
+
async fn(e) {
|
|
5
|
+
let { width: t, height: n, x: r, y: i } = e.rects.reference, a = t === 0 && n === 0 && r === 0 && i === 0, o = await e.platform.detectOverflow(e, { elementContext: "reference" });
|
|
6
|
+
return { data: { referenceHidden: o.top - n >= 0 || o.right - t >= 0 || o.bottom - n >= 0 || o.left - t >= 0 || a } };
|
|
7
|
+
}
|
|
8
|
+
};
|
|
23
9
|
//#endregion
|
|
24
|
-
export {
|
|
10
|
+
export { e as hide };
|
|
25
11
|
|
|
26
12
|
//# sourceMappingURL=index399.js.map
|
package/dist/index399.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index399.js","names":["
|
|
1
|
+
{"version":3,"file":"index399.js","names":["hide","state","anchorHidden","width","height","x","y","overflow"],"sources":["../../../node_modules/@base-ui/react/utils/hideMiddleware.mjs"],"sourcesContent":["export const hide = {\n name: 'hide',\n async fn(state) {\n const {\n width,\n height,\n x,\n y\n } = state.rects.reference;\n const anchorHidden = width === 0 && height === 0 && x === 0 && y === 0;\n // Mirrors Floating UI's `hide()` referenceHidden strategy. Floating UI injects\n // `detectOverflow` into the middleware platform before invoking middleware.\n const overflow = await state.platform.detectOverflow(state, {\n elementContext: 'reference'\n });\n const referenceHidden = overflow.top - height >= 0 || overflow.right - width >= 0 || overflow.bottom - height >= 0 || overflow.left - width >= 0;\n return {\n data: {\n referenceHidden: referenceHidden || anchorHidden\n }\n };\n }\n};"],"ignoreList":[0],"mappings":";AAAA,IAAaA,IAAO;CAClB,MAAM;CACN,MAAM,GAAG,GAAO;EACd,IAAM,EACJ,UACA,WACA,MACA,SACEC,EAAM,MAAM,WACVC,IAAeC,MAAU,KAAKC,MAAW,KAAKC,MAAM,KAAKC,MAAM,GAG/DC,IAAW,MAAMN,EAAM,SAAS,eAAeA,GAAO,EAC1D,gBAAgB,YAClB,CAAC;EAED,OAAO,EACL,MAAM,EACJ,iBAHoBM,EAAS,MAAMH,KAAU,KAAKG,EAAS,QAAQJ,KAAS,KAAKI,EAAS,SAASH,KAAU,KAAKG,EAAS,OAAOJ,KAAS,KAGvGD,EACtC,EACF;CACF;AACF"}
|
package/dist/index4.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index4.js","names":["() => {\n if (typeof window === \"undefined\") {\n return\n }\n\n const mediaQuery =\n typeof window.matchMedia === \"function\" ? window.matchMedia(TOUCH_MEDIA_QUERY) : undefined\n\n const getHasTouchSupport = () => {\n if (typeof window === \"undefined\") {\n return false\n }\n\n const mqMatches = mediaQuery?.matches ?? false\n const nav = typeof navigator !== \"undefined\" ? navigator : undefined\n const maxTouchPoints = nav?.maxTouchPoints ?? 0\n const msMaxTouchPoints = (nav as unknown as { msMaxTouchPoints?: number })?.msMaxTouchPoints ?? 0\n\n return mqMatches || maxTouchPoints > 0 || msMaxTouchPoints > 0\n }\n\n const updateIsTouchDevice = () => {\n setIsTouchDevice(getHasTouchSupport())\n }\n\n updateIsTouchDevice()\n\n if (!mediaQuery) {\n return\n }\n\n if (typeof mediaQuery.addEventListener === \"function\") {\n mediaQuery.addEventListener(\"change\", updateIsTouchDevice)\n return () => mediaQuery.removeEventListener(\"change\", updateIsTouchDevice)\n }\n\n if (typeof mediaQuery.addListener === \"function\") {\n mediaQuery.addListener(updateIsTouchDevice)\n return () => mediaQuery.removeListener(updateIsTouchDevice)\n }\n }","[]"],"sources":["../src/helpers/useIsTouchDevice.ts"],"sourcesContent":["import { useEffect, useState } from \"react\"\n\n\nconst TOUCH_MEDIA_QUERY = \"(pointer: coarse)\"\n\nexport function useIsTouchDevice() {\n const [isTouchDevice, setIsTouchDevice] = useState(false)\n\n // React Compiler rejects hook aliasing (useIsomorphicLayoutEffect pattern), so we keep\n // a direct hook call and guard browser-only logic inside the effect.\n useEffect(() => {\n if (typeof window === \"undefined\") {\n return\n }\n\n const mediaQuery =\n typeof window.matchMedia === \"function\" ? window.matchMedia(TOUCH_MEDIA_QUERY) : undefined\n\n const getHasTouchSupport = () => {\n if (typeof window === \"undefined\") {\n return false\n }\n\n const mqMatches = mediaQuery?.matches ?? false\n const nav = typeof navigator !== \"undefined\" ? navigator : undefined\n const maxTouchPoints = nav?.maxTouchPoints ?? 0\n const msMaxTouchPoints = (nav as unknown as { msMaxTouchPoints?: number })?.msMaxTouchPoints ?? 0\n\n return mqMatches || maxTouchPoints > 0 || msMaxTouchPoints > 0\n }\n\n const updateIsTouchDevice = () => {\n setIsTouchDevice(getHasTouchSupport())\n }\n\n updateIsTouchDevice()\n\n if (!mediaQuery) {\n return\n }\n\n if (typeof mediaQuery.addEventListener === \"function\") {\n mediaQuery.addEventListener(\"change\", updateIsTouchDevice)\n return () => mediaQuery.removeEventListener(\"change\", updateIsTouchDevice)\n }\n\n if (typeof mediaQuery.addListener === \"function\") {\n mediaQuery.addListener(updateIsTouchDevice)\n return () => mediaQuery.removeListener(updateIsTouchDevice)\n }\n }, [])\n\n return isTouchDevice\n}\n"],"mappings":";;;AAGA,
|
|
1
|
+
{"version":3,"file":"index4.js","names":["() => {\n if (typeof window === \"undefined\") {\n return\n }\n\n const mediaQuery =\n typeof window.matchMedia === \"function\" ? window.matchMedia(TOUCH_MEDIA_QUERY) : undefined\n\n const getHasTouchSupport = () => {\n if (typeof window === \"undefined\") {\n return false\n }\n\n const mqMatches = mediaQuery?.matches ?? false\n const nav = typeof navigator !== \"undefined\" ? navigator : undefined\n const maxTouchPoints = nav?.maxTouchPoints ?? 0\n const msMaxTouchPoints = (nav as unknown as { msMaxTouchPoints?: number })?.msMaxTouchPoints ?? 0\n\n return mqMatches || maxTouchPoints > 0 || msMaxTouchPoints > 0\n }\n\n const updateIsTouchDevice = () => {\n setIsTouchDevice(getHasTouchSupport())\n }\n\n updateIsTouchDevice()\n\n if (!mediaQuery) {\n return\n }\n\n if (typeof mediaQuery.addEventListener === \"function\") {\n mediaQuery.addEventListener(\"change\", updateIsTouchDevice)\n return () => mediaQuery.removeEventListener(\"change\", updateIsTouchDevice)\n }\n\n if (typeof mediaQuery.addListener === \"function\") {\n mediaQuery.addListener(updateIsTouchDevice)\n return () => mediaQuery.removeListener(updateIsTouchDevice)\n }\n }","[]","_c","TOUCH_MEDIA_QUERY","useIsTouchDevice","$","c","isTouchDevice","setIsTouchDevice","useState","t0","t1","mediaQuery","getHasTouchSupport","mqMatches","nav","maxTouchPoints","msMaxTouchPoints","updateIsTouchDevice","useEffect"],"sources":["../src/helpers/useIsTouchDevice.ts"],"sourcesContent":["import { useEffect, useState } from \"react\"\n\n\nconst TOUCH_MEDIA_QUERY = \"(pointer: coarse)\"\n\nexport function useIsTouchDevice() {\n const [isTouchDevice, setIsTouchDevice] = useState(false)\n\n // React Compiler rejects hook aliasing (useIsomorphicLayoutEffect pattern), so we keep\n // a direct hook call and guard browser-only logic inside the effect.\n useEffect(() => {\n if (typeof window === \"undefined\") {\n return\n }\n\n const mediaQuery =\n typeof window.matchMedia === \"function\" ? window.matchMedia(TOUCH_MEDIA_QUERY) : undefined\n\n const getHasTouchSupport = () => {\n if (typeof window === \"undefined\") {\n return false\n }\n\n const mqMatches = mediaQuery?.matches ?? false\n const nav = typeof navigator !== \"undefined\" ? navigator : undefined\n const maxTouchPoints = nav?.maxTouchPoints ?? 0\n const msMaxTouchPoints = (nav as unknown as { msMaxTouchPoints?: number })?.msMaxTouchPoints ?? 0\n\n return mqMatches || maxTouchPoints > 0 || msMaxTouchPoints > 0\n }\n\n const updateIsTouchDevice = () => {\n setIsTouchDevice(getHasTouchSupport())\n }\n\n updateIsTouchDevice()\n\n if (!mediaQuery) {\n return\n }\n\n if (typeof mediaQuery.addEventListener === \"function\") {\n mediaQuery.addEventListener(\"change\", updateIsTouchDevice)\n return () => mediaQuery.removeEventListener(\"change\", updateIsTouchDevice)\n }\n\n if (typeof mediaQuery.addListener === \"function\") {\n mediaQuery.addListener(updateIsTouchDevice)\n return () => mediaQuery.removeListener(updateIsTouchDevice)\n }\n }, [])\n\n return isTouchDevice\n}\n"],"mappings":";;;AAGA,IAAMG,IAAoB;AAE1B,SAAgBC,IAAmB;eAC3B,CAACG,GAAeC,KAAoBC,EAAS,EAAK,GAI9CT,GAwCPC;CAEH,2DA1CU,UAAM;EACd,IAAI,OAAO,SAAW,KACpB;EAGF,IAAMW,IACJ,OAAO,OAAO,cAAe,aAAa,OAAO,WAAWT,CAAiB,IAAI,KAAA,GAE7EU,UAA2B;GAC/B,IAAI,OAAO,SAAW,KACpB,OAAO;GAGT,IAAMC,IAAYF,GAAY,WAAW,IACnCG,IAAM,OAAO,YAAc,MAAc,YAAY,KAAA,GACrDC,IAAiBD,GAAK,kBAAkB,GACxCE,IAAoBF,GAAkD,oBAAoB;GAEhG,OAAOD,KAAaE,IAAiB,KAAKC,IAAmB;EAC/D,GAEMC,UAA4B;GAChC,EAAiBL,EAAmB,CAAC;EACvC;EAIA,IAFAK,EAAoB,GAEfN,GAIL;OAAI,OAAOA,EAAW,oBAAqB,YAEzC,OADAA,EAAW,iBAAiB,UAAUM,CAAmB,SAC5CN,EAAW,oBAAoB,UAAUM,CAAmB;GAG3E,IAAI,OAAON,EAAW,eAAgB,YAEpC,OADAA,EAAW,YAAYM,CAAmB,SAC7BN,EAAW,eAAeM,CAAmB;EAJ5D;CAMF,GAAG,IAAA,CAAC,+CAxCJC,EAAUnB,GAwCPC,CAAE,GAEEM;AACT"}
|
package/dist/index40.js
CHANGED
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
let r = t(n, a);
|
|
9
|
-
(!i || i > r || isNaN(+r)) && (i = r);
|
|
10
|
-
}), e(a, i || NaN);
|
|
1
|
+
import e from "./index39.js";
|
|
2
|
+
//#region ../../node_modules/date-fns/endOfISOWeek.js
|
|
3
|
+
function t(t, n) {
|
|
4
|
+
return e(t, {
|
|
5
|
+
...n,
|
|
6
|
+
weekStartsOn: 1
|
|
7
|
+
});
|
|
11
8
|
}
|
|
12
9
|
//#endregion
|
|
13
|
-
export {
|
|
10
|
+
export { t as default, t as endOfISOWeek };
|
|
14
11
|
|
|
15
12
|
//# sourceMappingURL=index40.js.map
|
package/dist/index40.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index40.js","names":[],"sources":["../../../node_modules/date-fns/
|
|
1
|
+
{"version":3,"file":"index40.js","names":["endOfWeek","endOfISOWeek","date","options"],"sources":["../../../node_modules/date-fns/endOfISOWeek.js"],"sourcesContent":["import { endOfWeek } from \"./endOfWeek.js\";\n\n/**\n * The {@link endOfISOWeek} function options.\n */\n\n/**\n * @name endOfISOWeek\n * @category ISO Week Helpers\n * @summary Return the end of an ISO week for the given date.\n *\n * @description\n * Return the end of an ISO week for the given date.\n * The result will be in the local timezone.\n *\n * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date\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 date - The original date\n * @param options - An object with options\n *\n * @returns The end of an ISO week\n *\n * @example\n * // The end of an ISO week for 2 September 2014 11:55:00:\n * const result = endOfISOWeek(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Sun Sep 07 2014 23:59:59.999\n */\nexport function endOfISOWeek(date, options) {\n return endOfWeek(date, { ...options, weekStartsOn: 1 });\n}\n\n// Fallback for modularized imports:\nexport default endOfISOWeek;\n"],"ignoreList":[0],"mappings":";;AA8BA,SAAgBC,EAAa,GAAM,GAAS;CAC1C,OAAOD,EAAUE,GAAM;EAAE,GAAGC;EAAS,cAAc;CAAE,CAAC;AACxD"}
|
package/dist/index400.js
CHANGED
|
@@ -1,108 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import { DROPDOWN_COLLISION_AVOIDANCE as i } from "./index240.js";
|
|
7
|
-
import { useStore as a } from "./index259.js";
|
|
8
|
-
import { inertValue as o } from "./index280.js";
|
|
9
|
-
import { InternalBackdrop as s } from "./index281.js";
|
|
10
|
-
import { useSelectRootContext as c } from "./index367.js";
|
|
11
|
-
import { findItemIndex as l } from "./index373.js";
|
|
12
|
-
import { selectors as u } from "./index376.js";
|
|
13
|
-
import { CompositeList as d } from "./index389.js";
|
|
14
|
-
import { useAnchorPositioning as f } from "./index394.js";
|
|
15
|
-
import { SelectPositionerContext as ee } from "./index395.js";
|
|
16
|
-
import { clearStyles as p } from "./index396.js";
|
|
17
|
-
import { usePositioner as m } from "./index398.js";
|
|
18
|
-
import { useAnchoredPopupScrollLock as h } from "./index399.js";
|
|
19
|
-
import * as g from "react";
|
|
20
|
-
import { jsx as _, jsxs as v } from "react/jsx-runtime";
|
|
21
|
-
//#region ../../node_modules/@base-ui/react/select/positioner/SelectPositioner.mjs
|
|
22
|
-
var te = { position: "fixed" }, y = /*#__PURE__*/ g.forwardRef(function(y, b) {
|
|
23
|
-
let { anchor: x, className: ne, render: re, positionMethod: ie, side: ae, align: oe, sideOffset: se, alignOffset: ce, collisionBoundary: S = "clipping-ancestors", collisionPadding: C, arrowPadding: w, sticky: T, disableAnchorTracking: E, alignItemWithTrigger: D = !0, collisionAvoidance: O = i, style: le, ...k } = y, { store: A, listRef: j, labelsRef: M, alignItemWithTriggerActiveRef: N, selectedItemTextRef: P, valuesRef: F, initialValueRef: I, popupRef: L, setValue: R, floatingContext: z } = c(), B = a(A, u.open), V = a(A, u.mounted), H = a(A, u.modal), U = a(A, u.value), W = a(A, u.openMethod), G = a(A, u.positionerElement), K = a(A, u.triggerElement), q = a(A, u.isItemEqualToValue), ue = a(A, u.transitionStatus), de = g.useRef(null), fe = g.useRef(null), [J, Y] = g.useState(D), X = V && J && W !== "touch";
|
|
24
|
-
!V && J !== D && Y(D), g.useImperativeHandle(N, () => X), h((X || H) && B, W === "touch", G, K);
|
|
25
|
-
let Z = f({
|
|
26
|
-
anchor: x,
|
|
27
|
-
floatingRootContext: z,
|
|
28
|
-
positionMethod: ie,
|
|
29
|
-
mounted: V,
|
|
30
|
-
side: ae,
|
|
31
|
-
sideOffset: se,
|
|
32
|
-
align: oe,
|
|
33
|
-
alignOffset: ce,
|
|
34
|
-
arrowPadding: w,
|
|
35
|
-
collisionBoundary: S,
|
|
36
|
-
collisionPadding: C,
|
|
37
|
-
sticky: T,
|
|
38
|
-
disableAnchorTracking: E ?? X,
|
|
39
|
-
collisionAvoidance: O,
|
|
40
|
-
keepMounted: !0
|
|
41
|
-
}), Q = X ? "none" : Z.side, pe = X ? te : Z.positionerStyles, me = {
|
|
42
|
-
open: B,
|
|
43
|
-
side: Q,
|
|
44
|
-
align: Z.align,
|
|
45
|
-
anchorHidden: Z.anchorHidden
|
|
46
|
-
};
|
|
47
|
-
t(() => {
|
|
48
|
-
A.set("popupSide", Z.side);
|
|
49
|
-
}, [A, Z.side]);
|
|
50
|
-
let he = A.useStateSetter("positionerElement"), ge = m(y, me, {
|
|
51
|
-
styles: pe,
|
|
52
|
-
transitionStatus: ue,
|
|
53
|
-
props: k,
|
|
54
|
-
refs: [b, he],
|
|
55
|
-
hidden: !V,
|
|
56
|
-
inert: !B
|
|
57
|
-
}), $ = g.useRef(0), _e = e((e) => {
|
|
58
|
-
if (F.current.length === 0) return;
|
|
59
|
-
let t = $.current;
|
|
60
|
-
if ($.current = e.size, e.size === t) return;
|
|
61
|
-
let i = r(n);
|
|
62
|
-
if (t !== 0 && !A.state.multiple && U !== null && l(F.current, U, q) === -1) {
|
|
63
|
-
let e = I.current, t = e != null && l(F.current, e, q) !== -1 ? e : null;
|
|
64
|
-
R(t, i), t === null && (A.set("selectedIndex", null), P.current = null);
|
|
65
|
-
}
|
|
66
|
-
if (t !== 0 && A.state.multiple && Array.isArray(U)) {
|
|
67
|
-
let e = U.filter((e) => l(F.current, e, q) !== -1);
|
|
68
|
-
e.length !== U.length && (R(e, i), e.length === 0 && (A.set("selectedIndex", null), P.current = null));
|
|
69
|
-
}
|
|
70
|
-
if (B && X) {
|
|
71
|
-
A.update({
|
|
72
|
-
scrollUpArrowVisible: !1,
|
|
73
|
-
scrollDownArrowVisible: !1
|
|
74
|
-
});
|
|
75
|
-
let e = { height: "" };
|
|
76
|
-
p(G, e), p(L.current, e);
|
|
77
|
-
}
|
|
78
|
-
}), ve = g.useMemo(() => ({
|
|
79
|
-
...Z,
|
|
80
|
-
side: Q,
|
|
81
|
-
alignItemWithTriggerActive: X,
|
|
82
|
-
setControlledAlignItemWithTrigger: Y,
|
|
83
|
-
scrollUpArrowRef: de,
|
|
84
|
-
scrollDownArrowRef: fe
|
|
85
|
-
}), [
|
|
86
|
-
Z,
|
|
87
|
-
Q,
|
|
88
|
-
X,
|
|
89
|
-
Y
|
|
90
|
-
]);
|
|
91
|
-
return /*#__PURE__*/ _(d, {
|
|
92
|
-
elementsRef: j,
|
|
93
|
-
labelsRef: M,
|
|
94
|
-
onMapChange: _e,
|
|
95
|
-
children: /*#__PURE__*/ v(ee.Provider, {
|
|
96
|
-
value: ve,
|
|
97
|
-
children: [V && H && /*#__PURE__*/ _(s, {
|
|
98
|
-
inert: o(!B),
|
|
99
|
-
cutout: K
|
|
100
|
-
}), ge]
|
|
101
|
-
})
|
|
102
|
-
});
|
|
103
|
-
});
|
|
104
|
-
process.env.NODE_ENV !== "production" && (y.displayName = "SelectPositioner");
|
|
1
|
+
//#region ../../node_modules/@base-ui/react/utils/adaptiveOriginConstants.mjs
|
|
2
|
+
var e = {
|
|
3
|
+
sideX: "left",
|
|
4
|
+
sideY: "top"
|
|
5
|
+
};
|
|
105
6
|
//#endregion
|
|
106
|
-
export {
|
|
7
|
+
export { e as DEFAULT_SIDES };
|
|
107
8
|
|
|
108
9
|
//# sourceMappingURL=index400.js.map
|
package/dist/index400.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index400.js","names":["React","REASONS.none"],"sources":["../../../node_modules/@base-ui/react/select/positioner/SelectPositioner.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { inertValue } from '@base-ui/utils/inertValue';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\nimport { useStableCallback } from '@base-ui/utils/useStableCallback';\nimport { useStore } from '@base-ui/utils/store';\nimport { useSelectRootContext } from \"../root/SelectRootContext.mjs\";\nimport { CompositeList } from \"../../internals/composite/list/CompositeList.mjs\";\nimport { useAnchorPositioning } from \"../../internals/useAnchorPositioning.mjs\";\nimport { SelectPositionerContext } from \"./SelectPositionerContext.mjs\";\nimport { InternalBackdrop } from \"../../utils/InternalBackdrop.mjs\";\nimport { DROPDOWN_COLLISION_AVOIDANCE } from \"../../internals/constants.mjs\";\nimport { clearStyles } from \"../popup/utils.mjs\";\nimport { selectors } from \"../store.mjs\";\nimport { createChangeEventDetails } from \"../../internals/createBaseUIEventDetails.mjs\";\nimport { REASONS } from \"../../internals/reasons.mjs\";\nimport { findItemIndex } from \"../../internals/itemEquality.mjs\";\nimport { usePositioner } from \"../../utils/usePositioner.mjs\";\nimport { useAnchoredPopupScrollLock } from \"../../utils/useAnchoredPopupScrollLock.mjs\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst FIXED = {\n position: 'fixed'\n};\n\n/**\n * Positions the select popup.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Select](https://base-ui.com/react/components/select)\n */\nexport const SelectPositioner = /*#__PURE__*/React.forwardRef(function SelectPositioner(componentProps, forwardedRef) {\n const {\n anchor,\n className,\n render,\n // `useAnchorPositioning` applies the same defaults to the undefined values; the names\n // remain destructured to exclude the props from `elementProps`.\n positionMethod,\n side,\n align,\n sideOffset,\n alignOffset,\n collisionBoundary = 'clipping-ancestors',\n collisionPadding,\n arrowPadding,\n sticky,\n disableAnchorTracking,\n alignItemWithTrigger = true,\n collisionAvoidance = DROPDOWN_COLLISION_AVOIDANCE,\n style,\n ...elementProps\n } = componentProps;\n const {\n store,\n listRef,\n labelsRef,\n alignItemWithTriggerActiveRef,\n selectedItemTextRef,\n valuesRef,\n initialValueRef,\n popupRef,\n setValue,\n floatingContext: floatingRootContext\n } = useSelectRootContext();\n const open = useStore(store, selectors.open);\n const mounted = useStore(store, selectors.mounted);\n const modal = useStore(store, selectors.modal);\n const value = useStore(store, selectors.value);\n const openMethod = useStore(store, selectors.openMethod);\n const positionerElement = useStore(store, selectors.positionerElement);\n const triggerElement = useStore(store, selectors.triggerElement);\n const isItemEqualToValue = useStore(store, selectors.isItemEqualToValue);\n const transitionStatus = useStore(store, selectors.transitionStatus);\n const scrollUpArrowRef = React.useRef(null);\n const scrollDownArrowRef = React.useRef(null);\n const [controlledAlignItemWithTrigger, setControlledAlignItemWithTrigger] = React.useState(alignItemWithTrigger);\n const alignItemWithTriggerActive = mounted && controlledAlignItemWithTrigger && openMethod !== 'touch';\n if (!mounted && controlledAlignItemWithTrigger !== alignItemWithTrigger) {\n setControlledAlignItemWithTrigger(alignItemWithTrigger);\n }\n React.useImperativeHandle(alignItemWithTriggerActiveRef, () => alignItemWithTriggerActive);\n useAnchoredPopupScrollLock((alignItemWithTriggerActive || modal) && open, openMethod === 'touch', positionerElement, triggerElement);\n const positioning = useAnchorPositioning({\n anchor,\n floatingRootContext,\n positionMethod,\n mounted,\n side,\n sideOffset,\n align,\n alignOffset,\n arrowPadding,\n collisionBoundary,\n collisionPadding,\n sticky,\n disableAnchorTracking: disableAnchorTracking ?? alignItemWithTriggerActive,\n collisionAvoidance,\n keepMounted: true\n });\n const renderedSide = alignItemWithTriggerActive ? 'none' : positioning.side;\n const positionerStyles = alignItemWithTriggerActive ? FIXED : positioning.positionerStyles;\n const state = {\n open,\n side: renderedSide,\n align: positioning.align,\n anchorHidden: positioning.anchorHidden\n };\n useIsoLayoutEffect(() => {\n store.set('popupSide', positioning.side);\n }, [store, positioning.side]);\n const setPositionerElement = store.useStateSetter('positionerElement');\n const element = usePositioner(componentProps, state, {\n styles: positionerStyles,\n transitionStatus,\n props: elementProps,\n refs: [forwardedRef, setPositionerElement],\n hidden: !mounted,\n inert: !open\n });\n const prevMapSizeRef = React.useRef(0);\n const onMapChange = useStableCallback(map => {\n if (valuesRef.current.length === 0) {\n return;\n }\n const prevSize = prevMapSizeRef.current;\n prevMapSizeRef.current = map.size;\n if (map.size === prevSize) {\n return;\n }\n const eventDetails = createChangeEventDetails(REASONS.none);\n if (prevSize !== 0 && !store.state.multiple && value !== null) {\n const selectedValueIndex = findItemIndex(valuesRef.current, value, isItemEqualToValue);\n if (selectedValueIndex === -1) {\n const initialSelectedValue = initialValueRef.current;\n const hasInitial = initialSelectedValue != null && findItemIndex(valuesRef.current, initialSelectedValue, isItemEqualToValue) !== -1;\n const nextValue = hasInitial ? initialSelectedValue : null;\n setValue(nextValue, eventDetails);\n if (nextValue === null) {\n store.set('selectedIndex', null);\n selectedItemTextRef.current = null;\n }\n }\n }\n if (prevSize !== 0 && store.state.multiple && Array.isArray(value)) {\n const nextValue = value.filter(selectedItemValue => findItemIndex(valuesRef.current, selectedItemValue, isItemEqualToValue) !== -1);\n if (nextValue.length !== value.length) {\n setValue(nextValue, eventDetails);\n if (nextValue.length === 0) {\n store.set('selectedIndex', null);\n selectedItemTextRef.current = null;\n }\n }\n }\n if (open && alignItemWithTriggerActive) {\n store.update({\n scrollUpArrowVisible: false,\n scrollDownArrowVisible: false\n });\n const stylesToClear = {\n height: ''\n };\n clearStyles(positionerElement, stylesToClear);\n clearStyles(popupRef.current, stylesToClear);\n }\n });\n const contextValue = React.useMemo(() => ({\n ...positioning,\n side: renderedSide,\n alignItemWithTriggerActive,\n setControlledAlignItemWithTrigger,\n scrollUpArrowRef,\n scrollDownArrowRef\n }), [positioning, renderedSide, alignItemWithTriggerActive, setControlledAlignItemWithTrigger]);\n return /*#__PURE__*/_jsx(CompositeList, {\n elementsRef: listRef,\n labelsRef: labelsRef,\n onMapChange: onMapChange,\n children: /*#__PURE__*/_jsxs(SelectPositionerContext.Provider, {\n value: contextValue,\n children: [mounted && modal && /*#__PURE__*/_jsx(InternalBackdrop, {\n inert: inertValue(!open),\n cutout: triggerElement\n }), element]\n })\n });\n});\nif (process.env.NODE_ENV !== \"production\") SelectPositioner.displayName = \"SelectPositioner\";"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;;;;;;;;;AAqBA,IAAM,KAAQ,EACZ,UAAU,QACZ,GAQa,IAAgC,gBAAM,WAAW,SAA0B,GAAgB,GAAc;CACpH,IAAM,EACJ,WACA,eACA,YAGA,oBACA,UACA,WACA,gBACA,iBACA,uBAAoB,sBACpB,qBACA,iBACA,WACA,0BACA,0BAAuB,IACvB,wBAAqB,GACrB,WACA,GAAG,MACD,GACE,EACJ,UACA,YACA,cACA,kCACA,wBACA,cACA,oBACA,aACA,aACA,iBAAiB,MACf,EAAqB,GACnB,IAAO,EAAS,GAAO,EAAU,IAAI,GACrC,IAAU,EAAS,GAAO,EAAU,OAAO,GAC3C,IAAQ,EAAS,GAAO,EAAU,KAAK,GACvC,IAAQ,EAAS,GAAO,EAAU,KAAK,GACvC,IAAa,EAAS,GAAO,EAAU,UAAU,GACjD,IAAoB,EAAS,GAAO,EAAU,iBAAiB,GAC/D,IAAiB,EAAS,GAAO,EAAU,cAAc,GACzD,IAAqB,EAAS,GAAO,EAAU,kBAAkB,GACjE,KAAmB,EAAS,GAAO,EAAU,gBAAgB,GAC7D,KAAmBA,EAAM,OAAO,IAAI,GACpC,KAAqBA,EAAM,OAAO,IAAI,GACtC,CAAC,GAAgC,KAAqCA,EAAM,SAAS,CAAoB,GACzG,IAA6B,KAAW,KAAkC,MAAe;CAK/F,AAJI,CAAC,KAAW,MAAmC,KACjD,EAAkC,CAAoB,GAExD,EAAM,oBAAoB,SAAqC,CAA0B,GACzF,GAA4B,KAA8B,MAAU,GAAM,MAAe,SAAS,GAAmB,CAAc;CACnI,IAAM,IAAc,EAAqB;EACvC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,uBAAuB,KAAyB;EAChD;EACA,aAAa;CACf,CAAC,GACK,IAAe,IAA6B,SAAS,EAAY,MACjE,KAAmB,IAA6B,KAAQ,EAAY,kBACpE,KAAQ;EACZ;EACA,MAAM;EACN,OAAO,EAAY;EACnB,cAAc,EAAY;CAC5B;CACA,QAAyB;EACvB,EAAM,IAAI,aAAa,EAAY,IAAI;CACzC,GAAG,CAAC,GAAO,EAAY,IAAI,CAAC;CAC5B,IAAM,KAAuB,EAAM,eAAe,mBAAmB,GAC/D,KAAU,EAAc,GAAgB,IAAO;EACnD,QAAQ;EACR;EACA,OAAO;EACP,MAAM,CAAC,GAAc,EAAoB;EACzC,QAAQ,CAAC;EACT,OAAO,CAAC;CACV,CAAC,GACK,IAAiBA,EAAM,OAAO,CAAC,GAC/B,KAAc,GAAkB,MAAO;EAC3C,IAAI,EAAU,QAAQ,WAAW,GAC/B;EAEF,IAAM,IAAW,EAAe;EAEhC,IADA,EAAe,UAAU,EAAI,MACzB,EAAI,SAAS,GACf;EAEF,IAAM,IAAe,EAAyBC,CAAY;EAC1D,IAAI,MAAa,KAAK,CAAC,EAAM,MAAM,YAAY,MAAU,QAC5B,EAAc,EAAU,SAAS,GAAO,CAC9C,MAAM,IAAI;GAC7B,IAAM,IAAuB,EAAgB,SAEvC,IADa,KAAwB,QAAQ,EAAc,EAAU,SAAS,GAAsB,CAAkB,MAAM,KACnG,IAAuB;GAEtD,AADA,EAAS,GAAW,CAAY,GAC5B,MAAc,SAChB,EAAM,IAAI,iBAAiB,IAAI,GAC/B,EAAoB,UAAU;EAElC;EAEF,IAAI,MAAa,KAAK,EAAM,MAAM,YAAY,MAAM,QAAQ,CAAK,GAAG;GAClE,IAAM,IAAY,EAAM,QAAO,MAAqB,EAAc,EAAU,SAAS,GAAmB,CAAkB,MAAM,EAAE;GAClI,AAAI,EAAU,WAAW,EAAM,WAC7B,EAAS,GAAW,CAAY,GAC5B,EAAU,WAAW,MACvB,EAAM,IAAI,iBAAiB,IAAI,GAC/B,EAAoB,UAAU;EAGpC;EACA,IAAI,KAAQ,GAA4B;GACtC,EAAM,OAAO;IACX,sBAAsB;IACtB,wBAAwB;GAC1B,CAAC;GACD,IAAM,IAAgB,EACpB,QAAQ,GACV;GAEA,AADA,EAAY,GAAmB,CAAa,GAC5C,EAAY,EAAS,SAAS,CAAa;EAC7C;CACF,CAAC,GACK,KAAeD,EAAM,eAAe;EACxC,GAAG;EACH,MAAM;EACN;EACA;EACA;EACA;CACF,IAAI;EAAC;EAAa;EAAc;EAA4B;CAAiC,CAAC;CAC9F,OAAoB,gBAAK,GAAe;EACtC,aAAa;EACF;EACE;EACb,UAAuB,gBAAM,GAAwB,UAAU;GAC7D,OAAO;GACP,UAAU,CAAC,KAAW,KAAsB,gBAAK,GAAkB;IACjE,OAAO,EAAW,CAAC,CAAI;IACvB,QAAQ;GACV,CAAC,GAAG,EAAO;EACb,CAAC;CACH,CAAC;AACH,CAAC;AACD,QAAA,IAAA,aAA6B,iBAAc,EAAiB,cAAc"}
|
|
1
|
+
{"version":3,"file":"index400.js","names":["DEFAULT_SIDES"],"sources":["../../../node_modules/@base-ui/react/utils/adaptiveOriginConstants.mjs"],"sourcesContent":["export const DEFAULT_SIDES = {\n sideX: 'left',\n sideY: 'top'\n};\n\n// Self-contained stand-in for Floating UI's `Middleware` type. Referencing the real type in\n// store state makes `tsc` declaration emit reference `Platform`/`detectOverflow` from\n// `@floating-ui/core` internals, which fails as non-portable (TS2883) in consuming builds."],"ignoreList":[0],"mappings":";AAAA,IAAaA,IAAgB;CAC3B,OAAO;CACP,OAAO;AACT"}
|
package/dist/index401.js
CHANGED
|
@@ -1,18 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var t = "base-ui-disable-scrollbar", n = {
|
|
4
|
-
className: t,
|
|
5
|
-
getElement(n) {
|
|
6
|
-
return /*#__PURE__*/ e("style", {
|
|
7
|
-
nonce: n,
|
|
8
|
-
href: t,
|
|
9
|
-
precedence: "base-ui:low",
|
|
10
|
-
children: `.${t}{scrollbar-width:none}.${t}::-webkit-scrollbar{display:none}`
|
|
11
|
-
});
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
process.env.NODE_ENV !== "production" && (n.getElement.displayName = "styleDisableScrollbar.getElement");
|
|
1
|
+
//#region ../../node_modules/@base-ui/react/utils/CommonPositionerCssVars.mjs
|
|
2
|
+
var e = "--available-width", t = "--available-height", n = "--anchor-width", r = "--anchor-height", i = "--transform-origin";
|
|
15
3
|
//#endregion
|
|
16
|
-
export { n as
|
|
4
|
+
export { r as anchorHeight, n as anchorWidth, t as availableHeight, e as availableWidth, i as transformOrigin };
|
|
17
5
|
|
|
18
6
|
//# sourceMappingURL=index401.js.map
|
package/dist/index401.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index401.js","names":[],"sources":["../../../node_modules/@base-ui/react/utils/
|
|
1
|
+
{"version":3,"file":"index401.js","names":["availableWidth","availableHeight","anchorWidth","anchorHeight","transformOrigin"],"sources":["../../../node_modules/@base-ui/react/utils/CommonPositionerCssVars.mjs"],"sourcesContent":["/**\n * The available width between the trigger and the edge of the viewport.\n * @type {number}\n */\nexport const availableWidth = '--available-width';\n/**\n * The available height between the trigger and the edge of the viewport.\n * @type {number}\n */\nexport const availableHeight = '--available-height';\n/**\n * The anchor's width.\n * @type {number}\n */\nexport const anchorWidth = '--anchor-width';\n/**\n * The anchor's height.\n * @type {number}\n */\nexport const anchorHeight = '--anchor-height';\n/**\n * The coordinates that this element is anchored to. Used for animations and transitions.\n * @type {string}\n */\nexport const transformOrigin = '--transform-origin';\n/**\n * The width of the popup's positioner.\n * It is important to set `width` to this value when using CSS to animate size changes.\n * @type {number}\n */\nexport const positionerWidth = '--positioner-width';\n/**\n * The height of the popup's positioner.\n * It is important to set `height` to this value when using CSS to animate size changes.\n * @type {number}\n */\nexport const positionerHeight = '--positioner-height';"],"ignoreList":[0],"mappings":";AAIA,IAAaA,IAAiB,qBAKjBC,IAAkB,sBAKlBC,IAAc,kBAKdC,IAAe,mBAKfC,IAAkB"}
|
package/dist/index402.js
CHANGED
|
@@ -1,15 +1,256 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import e from "./
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
import { getWindow as e } from "./index204.js";
|
|
3
|
+
import { useStableCallback as t } from "./index206.js";
|
|
4
|
+
import { useIsoLayoutEffect as n } from "./index208.js";
|
|
5
|
+
import { ownerDocument as r } from "./index211.js";
|
|
6
|
+
import { useValueAsRef as i } from "./index233.js";
|
|
7
|
+
import { getAlignment as a, getSide as o, getSideAxis as s } from "./index237.js";
|
|
8
|
+
import { autoUpdate as c } from "./index253.js";
|
|
9
|
+
import { flip as l, limitShift as u, offset as d, shift as f, size as p } from "./index254.js";
|
|
10
|
+
import { useBaseUIFloating as m } from "./index276.js";
|
|
11
|
+
import { useDirection as h } from "./index397.js";
|
|
12
|
+
import { arrow as g } from "./index398.js";
|
|
13
|
+
import { hide as ee } from "./index399.js";
|
|
14
|
+
import { DEFAULT_SIDES as te } from "./index400.js";
|
|
15
|
+
import { anchorHeight as ne, anchorWidth as re, availableHeight as ie, availableWidth as _, transformOrigin as ae } from "./index401.js";
|
|
16
|
+
import * as v from "react";
|
|
17
|
+
//#region ../../node_modules/@base-ui/react/internals/useAnchorPositioning.mjs
|
|
18
|
+
var oe = _, se = ie;
|
|
19
|
+
function ce(e, t, n) {
|
|
20
|
+
let r = e === "inline-start" || e === "inline-end";
|
|
21
|
+
return {
|
|
22
|
+
top: "top",
|
|
23
|
+
right: r ? n ? "inline-start" : "inline-end" : "right",
|
|
24
|
+
bottom: "bottom",
|
|
25
|
+
left: r ? n ? "inline-end" : "inline-start" : "left"
|
|
26
|
+
}[t];
|
|
27
|
+
}
|
|
28
|
+
function le(e, t, n) {
|
|
29
|
+
let { rects: r, placement: i } = e;
|
|
30
|
+
return {
|
|
31
|
+
side: ce(t, o(i), n),
|
|
32
|
+
align: a(i) || "center",
|
|
33
|
+
anchor: {
|
|
34
|
+
width: r.reference.width,
|
|
35
|
+
height: r.reference.height
|
|
36
|
+
},
|
|
37
|
+
positioner: {
|
|
38
|
+
width: r.floating.width,
|
|
39
|
+
height: r.floating.height
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function y(e) {
|
|
44
|
+
return b(e, m);
|
|
45
|
+
}
|
|
46
|
+
function b(m, ie) {
|
|
47
|
+
let { anchor: _, positionMethod: y = "absolute", side: b = "bottom", sideOffset: x = 0, align: S = "center", alignOffset: C = 0, collisionBoundary: w, collisionPadding: de = 5, sticky: T = !1, arrowPadding: fe = 5, disableAnchorTracking: E = !1, inline: pe, keepMounted: D = !1, floatingRootContext: O, mounted: k, collisionAvoidance: A, shift: me, nodeId: he, adaptiveOrigin: j, lazyFlip: ge = !1, externalTree: _e } = m, [ve, ye] = v.useState(null);
|
|
48
|
+
!k && ve !== null && ye(null);
|
|
49
|
+
let M = A.side || "flip", N = A.align || "flip", be = A.fallbackAxisSide || "end", P = me?.crossAxis ?? !1, xe = me?.rootBoundary, Se = typeof _ == "function" ? _ : void 0, Ce = t(Se), we = Se ? Ce : _, F = i(_), Te = i(k), I = h() === "rtl", L = ve || {
|
|
50
|
+
top: "top",
|
|
51
|
+
right: "right",
|
|
52
|
+
bottom: "bottom",
|
|
53
|
+
left: "left",
|
|
54
|
+
"inline-end": I ? "left" : "right",
|
|
55
|
+
"inline-start": I ? "right" : "left"
|
|
56
|
+
}[b], Ee = S === "center" ? L : `${L}-${S}`, R = de;
|
|
57
|
+
typeof R == "number" ? R = {
|
|
58
|
+
top: R,
|
|
59
|
+
right: R,
|
|
60
|
+
bottom: R,
|
|
61
|
+
left: R
|
|
62
|
+
} : R &&= {
|
|
63
|
+
top: R.top || 0,
|
|
64
|
+
right: R.right || 0,
|
|
65
|
+
bottom: R.bottom || 0,
|
|
66
|
+
left: R.left || 0
|
|
67
|
+
};
|
|
68
|
+
let De = +(b === "bottom"), Oe = +(b === "top"), ke = +(b === "right"), Ae = +(b === "left"), z = {
|
|
69
|
+
boundary: w === "clipping-ancestors" ? "clippingAncestors" : w,
|
|
70
|
+
padding: R
|
|
71
|
+
}, B = v.useRef(null), V = i(x), H = i(C), je = typeof x == "function" ? 0 : x, Me = typeof C == "function" ? 0 : C, U = [];
|
|
72
|
+
pe && U.push(pe), U.push(d((e) => {
|
|
73
|
+
let t = le(e, b, I), n = typeof V.current == "function" ? V.current(t) : V.current, r = typeof H.current == "function" ? H.current(t) : H.current;
|
|
74
|
+
return {
|
|
75
|
+
mainAxis: n,
|
|
76
|
+
crossAxis: r,
|
|
77
|
+
alignmentAxis: r
|
|
78
|
+
};
|
|
79
|
+
}, [
|
|
80
|
+
je,
|
|
81
|
+
Me,
|
|
82
|
+
I,
|
|
83
|
+
b
|
|
84
|
+
]));
|
|
85
|
+
let Ne = N === "none" && M !== "shift", Pe = !Ne && (T || P || M === "shift"), Fe = M === "none" ? null : l({
|
|
86
|
+
...z,
|
|
87
|
+
padding: {
|
|
88
|
+
top: R.top + 1 + De,
|
|
89
|
+
right: R.right + 1 + Ae,
|
|
90
|
+
bottom: R.bottom + 1 + Oe,
|
|
91
|
+
left: R.left + 1 + ke
|
|
92
|
+
},
|
|
93
|
+
mainAxis: !P && M === "flip",
|
|
94
|
+
crossAxis: N === "flip" && "alignment",
|
|
95
|
+
fallbackAxisSideDirection: be
|
|
96
|
+
}), Ie = Ne ? null : f({
|
|
97
|
+
...z,
|
|
98
|
+
rootBoundary: xe,
|
|
99
|
+
mainAxis: N !== "none",
|
|
100
|
+
crossAxis: Pe,
|
|
101
|
+
limiter: T || P ? void 0 : u((e) => {
|
|
102
|
+
if (!B.current) return {};
|
|
103
|
+
let { width: t, height: n } = B.current.getBoundingClientRect(), r = s(o(e.placement)), i = r === "y" ? t : n, a = r === "y" ? R.left + R.right : R.top + R.bottom;
|
|
104
|
+
return { offset: i / 2 + a / 2 };
|
|
105
|
+
})
|
|
106
|
+
}, [
|
|
107
|
+
z,
|
|
108
|
+
T,
|
|
109
|
+
P,
|
|
110
|
+
xe,
|
|
111
|
+
R,
|
|
112
|
+
N
|
|
113
|
+
]);
|
|
114
|
+
M === "shift" || N === "shift" || S === "center" ? U.push(Ie, Fe) : U.push(Fe, Ie), U.push(p({
|
|
115
|
+
...z,
|
|
116
|
+
apply({ elements: { floating: t }, availableWidth: n, availableHeight: r, rects: i }) {
|
|
117
|
+
if (!Te.current) return;
|
|
118
|
+
let a = t.style;
|
|
119
|
+
a.setProperty(oe, `${n}px`), a.setProperty(se, `${r}px`);
|
|
120
|
+
let o = e(t).devicePixelRatio || 1, { x: s, y: c, width: l, height: u } = i.reference, d = (Math.round((s + l) * o) - Math.round(s * o)) / o, f = (Math.round((c + u) * o) - Math.round(c * o)) / o;
|
|
121
|
+
a.setProperty(re, `${d}px`), a.setProperty(ne, `${f}px`);
|
|
122
|
+
}
|
|
123
|
+
}), g((e) => ({
|
|
124
|
+
element: B.current || r(e.elements.floating).createElement("div"),
|
|
125
|
+
padding: B.current ? fe : 0,
|
|
126
|
+
offsetParent: "floating"
|
|
127
|
+
}), [fe]), {
|
|
128
|
+
name: "transformOrigin",
|
|
129
|
+
fn(e) {
|
|
130
|
+
let { elements: { floating: t }, middlewareData: n, placement: r, platform: i, rects: c, y: l } = e, u = o(r), d = a(r), f = s(u) === "y", p = B.current, m = typeof x == "function" ? x(le(e, b, I)) : x, h;
|
|
131
|
+
h = !p && d && Math.abs(f ? n.shift?.x || 0 : n.shift?.y || 0) <= 1 ? d === "start" === (f && i.isRTL?.(t) === !0) ? "100%" : "0%" : `${(f ? n.arrow?.x || 0 : n.arrow?.y || 0) + (f ? p?.clientWidth || 0 : p?.clientHeight || 0) / 2}px`;
|
|
132
|
+
let g = u === "top" || u === "left" ? `calc(100% + ${m}px)` : `${-m}px`;
|
|
133
|
+
return Pe && f && Math.abs(n.shift?.y || 0) > m && (g = `${c.reference.y + c.reference.height / 2 - l}px`), t.style.setProperty(ae, f ? `${h} ${g}` : `${g} ${h}`), {};
|
|
134
|
+
}
|
|
135
|
+
}, ee, j), n(() => {
|
|
136
|
+
!k && O && O.update({
|
|
137
|
+
referenceElement: null,
|
|
138
|
+
floatingElement: null,
|
|
139
|
+
domReferenceElement: null,
|
|
140
|
+
positionReference: null
|
|
141
|
+
});
|
|
142
|
+
}, [k, O]);
|
|
143
|
+
let W = v.useMemo(() => ({
|
|
144
|
+
ancestorScroll: !E,
|
|
145
|
+
elementResize: !E && typeof ResizeObserver < "u",
|
|
146
|
+
layoutShift: !E && typeof IntersectionObserver < "u"
|
|
147
|
+
}), [E]), { refs: G, elements: K, x: Le, y: Re, middlewareData: q, update: J, placement: ze, context: Be, isPositioned: Y, floatingStyles: Ve } = ie({
|
|
148
|
+
rootContext: O,
|
|
149
|
+
open: D ? k : void 0,
|
|
150
|
+
placement: Ee,
|
|
151
|
+
middleware: U,
|
|
152
|
+
strategy: y,
|
|
153
|
+
whileElementsMounted: D ? void 0 : (...e) => c(...e, W),
|
|
154
|
+
nodeId: he,
|
|
155
|
+
externalTree: _e
|
|
156
|
+
}), { sideX: He, sideY: Ue } = q.adaptiveOrigin || te, X = Y ? y : "fixed", We = v.useMemo(() => {
|
|
157
|
+
let e;
|
|
158
|
+
return e = Y ? j ? {
|
|
159
|
+
position: X,
|
|
160
|
+
[He]: Le,
|
|
161
|
+
[Ue]: Re
|
|
162
|
+
} : {
|
|
163
|
+
...Ve,
|
|
164
|
+
position: X
|
|
165
|
+
} : {
|
|
166
|
+
position: X,
|
|
167
|
+
top: 0,
|
|
168
|
+
left: 0
|
|
169
|
+
}, e[oe] = "100vw", e[se] = "100vh", Y || (e.opacity = 0), e;
|
|
170
|
+
}, [
|
|
171
|
+
j,
|
|
172
|
+
X,
|
|
173
|
+
He,
|
|
174
|
+
Le,
|
|
175
|
+
Ue,
|
|
176
|
+
Re,
|
|
177
|
+
Ve,
|
|
178
|
+
Y
|
|
179
|
+
]), Z = v.useRef(null);
|
|
180
|
+
n(() => {
|
|
181
|
+
if (!k) return;
|
|
182
|
+
let e = F.current, t = typeof e == "function" ? e() : e, n = (ue(t) ? t.current : t) || null;
|
|
183
|
+
n !== Z.current && (G.setPositionReference(n), Z.current = n);
|
|
184
|
+
}, [
|
|
185
|
+
k,
|
|
186
|
+
G,
|
|
187
|
+
we,
|
|
188
|
+
F
|
|
189
|
+
]), v.useEffect(() => {
|
|
190
|
+
if (!k) return;
|
|
191
|
+
let e = F.current;
|
|
192
|
+
typeof e != "function" && ue(e) && e.current !== Z.current && (G.setPositionReference(e.current), Z.current = e.current);
|
|
193
|
+
}, [
|
|
194
|
+
k,
|
|
195
|
+
G,
|
|
196
|
+
we,
|
|
197
|
+
F
|
|
198
|
+
]), v.useEffect(() => {
|
|
199
|
+
if (D && k && K.reference && K.floating) return c(K.reference, K.floating, J, W);
|
|
200
|
+
}, [
|
|
201
|
+
D,
|
|
202
|
+
k,
|
|
203
|
+
K,
|
|
204
|
+
J,
|
|
205
|
+
W
|
|
206
|
+
]);
|
|
207
|
+
let Q = o(ze), Ge = ce(b, Q, I), Ke = a(ze) || "center", qe = !!q.hide?.referenceHidden;
|
|
208
|
+
n(() => {
|
|
209
|
+
ge && k && Y && Q !== L && ye(Q);
|
|
210
|
+
}, [
|
|
211
|
+
ge,
|
|
212
|
+
k,
|
|
213
|
+
Y,
|
|
214
|
+
Q,
|
|
215
|
+
L
|
|
216
|
+
]);
|
|
217
|
+
let Je = v.useMemo(() => ({
|
|
218
|
+
position: "absolute",
|
|
219
|
+
top: q.arrow?.y,
|
|
220
|
+
left: q.arrow?.x
|
|
221
|
+
}), [q.arrow]), $ = q.arrow?.centerOffset !== 0;
|
|
222
|
+
return v.useMemo(() => ({
|
|
223
|
+
positionerStyles: We,
|
|
224
|
+
arrowStyles: Je,
|
|
225
|
+
arrowRef: B,
|
|
226
|
+
arrowUncentered: $,
|
|
227
|
+
side: Ge,
|
|
228
|
+
align: Ke,
|
|
229
|
+
physicalSide: Q,
|
|
230
|
+
anchorHidden: qe,
|
|
231
|
+
refs: G,
|
|
232
|
+
context: Be,
|
|
233
|
+
isPositioned: Y,
|
|
234
|
+
update: J
|
|
235
|
+
}), [
|
|
236
|
+
We,
|
|
237
|
+
Je,
|
|
238
|
+
B,
|
|
239
|
+
$,
|
|
240
|
+
Ge,
|
|
241
|
+
Ke,
|
|
242
|
+
Q,
|
|
243
|
+
qe,
|
|
244
|
+
G,
|
|
245
|
+
Be,
|
|
246
|
+
Y,
|
|
247
|
+
J
|
|
248
|
+
]);
|
|
249
|
+
}
|
|
250
|
+
function ue(e) {
|
|
251
|
+
return e != null && "current" in e;
|
|
11
252
|
}
|
|
12
253
|
//#endregion
|
|
13
|
-
export {
|
|
254
|
+
export { y as useAnchorPositioning, b as useAnchorPositioningWithHook };
|
|
14
255
|
|
|
15
256
|
//# sourceMappingURL=index402.js.map
|