@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/index394.js
CHANGED
|
@@ -1,257 +1,18 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
import * as g from "react";
|
|
16
|
-
//#region ../../node_modules/@base-ui/react/internals/useAnchorPositioning.mjs
|
|
17
|
-
var _ = "--available-width", v = "--available-height";
|
|
18
|
-
function y(e, t, n) {
|
|
19
|
-
let r = e === "inline-start" || e === "inline-end";
|
|
20
|
-
return {
|
|
21
|
-
top: "top",
|
|
22
|
-
right: r ? n ? "inline-start" : "inline-end" : "right",
|
|
23
|
-
bottom: "bottom",
|
|
24
|
-
left: r ? n ? "inline-end" : "inline-start" : "left"
|
|
25
|
-
}[t];
|
|
26
|
-
}
|
|
27
|
-
function re(e, t, n) {
|
|
28
|
-
let { rects: r, placement: i } = e;
|
|
29
|
-
return {
|
|
30
|
-
side: y(t, o(i), n),
|
|
31
|
-
align: a(i) || "center",
|
|
32
|
-
anchor: {
|
|
33
|
-
width: r.reference.width,
|
|
34
|
-
height: r.reference.height
|
|
35
|
-
},
|
|
36
|
-
positioner: {
|
|
37
|
-
width: r.floating.width,
|
|
38
|
-
height: r.floating.height
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
function ie(e) {
|
|
43
|
-
return b(e, p);
|
|
44
|
-
}
|
|
45
|
-
function b(p, ie) {
|
|
46
|
-
let { anchor: b, positionMethod: oe = "absolute", side: x = "bottom", sideOffset: S = 0, align: C = "center", alignOffset: w = 0, collisionBoundary: se, collisionPadding: ce = 5, sticky: T = !1, arrowPadding: le = 5, disableAnchorTracking: E = !1, inline: ue, keepMounted: D = !1, floatingRootContext: O, mounted: k, collisionAvoidance: A, shift: de, nodeId: fe, adaptiveOrigin: j, lazyFlip: pe = !1, externalTree: me } = p, [he, ge] = g.useState(null);
|
|
47
|
-
!k && he !== null && ge(null);
|
|
48
|
-
let M = A.side || "flip", N = A.align || "flip", _e = A.fallbackAxisSide || "end", P = de?.crossAxis ?? !1, ve = de?.rootBoundary, ye = typeof b == "function" ? b : void 0, be = t(ye), xe = ye ? be : b, F = i(b), Se = i(k), I = m() === "rtl", L = he || {
|
|
49
|
-
top: "top",
|
|
50
|
-
right: "right",
|
|
51
|
-
bottom: "bottom",
|
|
52
|
-
left: "left",
|
|
53
|
-
"inline-end": I ? "left" : "right",
|
|
54
|
-
"inline-start": I ? "right" : "left"
|
|
55
|
-
}[x], Ce = C === "center" ? L : `${L}-${C}`, R = ce;
|
|
56
|
-
typeof R == "number" ? R = {
|
|
57
|
-
top: R,
|
|
58
|
-
right: R,
|
|
59
|
-
bottom: R,
|
|
60
|
-
left: R
|
|
61
|
-
} : R &&= {
|
|
62
|
-
top: R.top || 0,
|
|
63
|
-
right: R.right || 0,
|
|
64
|
-
bottom: R.bottom || 0,
|
|
65
|
-
left: R.left || 0
|
|
66
|
-
};
|
|
67
|
-
let we = +(x === "bottom"), Te = +(x === "top"), Ee = +(x === "right"), De = +(x === "left"), z = {
|
|
68
|
-
boundary: se === "clipping-ancestors" ? "clippingAncestors" : se,
|
|
69
|
-
padding: R
|
|
70
|
-
}, B = g.useRef(null), V = i(S), H = i(w), Oe = typeof S == "function" ? 0 : S, ke = typeof w == "function" ? 0 : w, U = [];
|
|
71
|
-
ue && U.push(ue), U.push(d((e) => {
|
|
72
|
-
let t = re(e, x, I), n = typeof V.current == "function" ? V.current(t) : V.current, r = typeof H.current == "function" ? H.current(t) : H.current;
|
|
73
|
-
return {
|
|
74
|
-
mainAxis: n,
|
|
75
|
-
crossAxis: r,
|
|
76
|
-
alignmentAxis: r
|
|
77
|
-
};
|
|
78
|
-
}, [
|
|
79
|
-
Oe,
|
|
80
|
-
ke,
|
|
81
|
-
I,
|
|
82
|
-
x
|
|
83
|
-
]));
|
|
84
|
-
let Ae = N === "none" && M !== "shift", je = !Ae && (T || P || M === "shift"), Me = M === "none" ? null : l({
|
|
85
|
-
...z,
|
|
86
|
-
padding: {
|
|
87
|
-
top: R.top + 1 + we,
|
|
88
|
-
right: R.right + 1 + De,
|
|
89
|
-
bottom: R.bottom + 1 + Te,
|
|
90
|
-
left: R.left + 1 + Ee
|
|
91
|
-
},
|
|
92
|
-
mainAxis: !P && M === "flip",
|
|
93
|
-
crossAxis: N === "flip" && "alignment",
|
|
94
|
-
fallbackAxisSideDirection: _e
|
|
95
|
-
}), Ne = Ae ? null : f({
|
|
96
|
-
...z,
|
|
97
|
-
rootBoundary: ve,
|
|
98
|
-
mainAxis: N !== "none",
|
|
99
|
-
crossAxis: je,
|
|
100
|
-
limiter: T || P ? void 0 : u((e) => {
|
|
101
|
-
if (!B.current) return {};
|
|
102
|
-
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;
|
|
103
|
-
return { offset: i / 2 + a / 2 };
|
|
104
|
-
})
|
|
105
|
-
}, [
|
|
106
|
-
z,
|
|
107
|
-
T,
|
|
108
|
-
P,
|
|
109
|
-
ve,
|
|
110
|
-
R,
|
|
111
|
-
N
|
|
112
|
-
]);
|
|
113
|
-
M === "shift" || N === "shift" || C === "center" ? U.push(Ne, Me) : U.push(Me, Ne), U.push(ee({
|
|
114
|
-
...z,
|
|
115
|
-
apply({ elements: { floating: t }, availableWidth: n, availableHeight: r, rects: i }) {
|
|
116
|
-
if (!Se.current) return;
|
|
117
|
-
let a = t.style;
|
|
118
|
-
a.setProperty(_, `${n}px`), a.setProperty(v, `${r}px`);
|
|
119
|
-
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;
|
|
120
|
-
a.setProperty("--anchor-width", `${d}px`), a.setProperty("--anchor-height", `${f}px`);
|
|
121
|
-
}
|
|
122
|
-
}), h((e) => ({
|
|
123
|
-
element: B.current || r(e.elements.floating).createElement("div"),
|
|
124
|
-
padding: le,
|
|
125
|
-
offsetParent: "floating"
|
|
126
|
-
}), [le]), {
|
|
127
|
-
name: "transformOrigin",
|
|
128
|
-
fn(e) {
|
|
129
|
-
let { elements: t, middlewareData: n, placement: r, rects: i, y: a } = e, c = o(r), l = s(c), u = B.current, d = n.arrow?.x || 0, f = n.arrow?.y || 0, ee = u?.clientWidth || 0, p = u?.clientHeight || 0, m = d + ee / 2, h = f + p / 2, te = Math.abs(n.shift?.y || 0), ne = i.reference.height / 2, g = typeof S == "function" ? S(re(e, x, I)) : S, _ = te > g, v = {
|
|
130
|
-
top: `${m}px calc(100% + ${g}px)`,
|
|
131
|
-
bottom: `${m}px ${-g}px`,
|
|
132
|
-
left: `calc(100% + ${g}px) ${h}px`,
|
|
133
|
-
right: `${-g}px ${h}px`
|
|
134
|
-
}[c], y = `${m}px ${i.reference.y + ne - a}px`;
|
|
135
|
-
return t.floating.style.setProperty("--transform-origin", je && l === "y" && _ ? y : v), {};
|
|
136
|
-
}
|
|
137
|
-
}, te, j), n(() => {
|
|
138
|
-
!k && O && O.update({
|
|
139
|
-
referenceElement: null,
|
|
140
|
-
floatingElement: null,
|
|
141
|
-
domReferenceElement: null,
|
|
142
|
-
positionReference: null
|
|
143
|
-
});
|
|
144
|
-
}, [k, O]);
|
|
145
|
-
let W = g.useMemo(() => ({
|
|
146
|
-
elementResize: !E && typeof ResizeObserver < "u",
|
|
147
|
-
layoutShift: !E && typeof IntersectionObserver < "u"
|
|
148
|
-
}), [E]), { refs: G, elements: K, x: Pe, y: Fe, middlewareData: q, update: J, placement: Ie, context: Le, isPositioned: Y, floatingStyles: Re } = ie({
|
|
149
|
-
rootContext: O,
|
|
150
|
-
open: D ? k : void 0,
|
|
151
|
-
placement: Ce,
|
|
152
|
-
middleware: U,
|
|
153
|
-
strategy: oe,
|
|
154
|
-
whileElementsMounted: D ? void 0 : (...e) => c(...e, W),
|
|
155
|
-
nodeId: fe,
|
|
156
|
-
externalTree: me
|
|
157
|
-
}), { sideX: ze, sideY: Be } = q.adaptiveOrigin || ne, X = Y ? oe : "fixed", Z = g.useMemo(() => {
|
|
158
|
-
let e;
|
|
159
|
-
return e = Y ? j ? {
|
|
160
|
-
position: X,
|
|
161
|
-
[ze]: Pe,
|
|
162
|
-
[Be]: Fe
|
|
163
|
-
} : {
|
|
164
|
-
...Re,
|
|
165
|
-
position: X
|
|
166
|
-
} : {
|
|
167
|
-
position: X,
|
|
168
|
-
top: 0,
|
|
169
|
-
left: 0
|
|
170
|
-
}, e[_] = "100vw", e[v] = "100vh", Y || (e.opacity = 0), e;
|
|
171
|
-
}, [
|
|
172
|
-
j,
|
|
173
|
-
X,
|
|
174
|
-
ze,
|
|
175
|
-
Pe,
|
|
176
|
-
Be,
|
|
177
|
-
Fe,
|
|
178
|
-
Re,
|
|
179
|
-
Y
|
|
180
|
-
]), Q = g.useRef(null);
|
|
181
|
-
n(() => {
|
|
182
|
-
if (!k) return;
|
|
183
|
-
let e = F.current, t = typeof e == "function" ? e() : e, n = (ae(t) ? t.current : t) || null;
|
|
184
|
-
n !== Q.current && (G.setPositionReference(n), Q.current = n);
|
|
185
|
-
}, [
|
|
186
|
-
k,
|
|
187
|
-
G,
|
|
188
|
-
xe,
|
|
189
|
-
F
|
|
190
|
-
]), g.useEffect(() => {
|
|
191
|
-
if (!k) return;
|
|
192
|
-
let e = F.current;
|
|
193
|
-
typeof e != "function" && ae(e) && e.current !== Q.current && (G.setPositionReference(e.current), Q.current = e.current);
|
|
194
|
-
}, [
|
|
195
|
-
k,
|
|
196
|
-
G,
|
|
197
|
-
xe,
|
|
198
|
-
F
|
|
199
|
-
]), g.useEffect(() => {
|
|
200
|
-
if (D && k && K.reference && K.floating) return c(K.reference, K.floating, J, W);
|
|
201
|
-
}, [
|
|
202
|
-
D,
|
|
203
|
-
k,
|
|
204
|
-
K,
|
|
205
|
-
J,
|
|
206
|
-
W
|
|
207
|
-
]);
|
|
208
|
-
let $ = o(Ie), Ve = y(x, $, I), He = a(Ie) || "center", Ue = !!q.hide?.referenceHidden;
|
|
209
|
-
n(() => {
|
|
210
|
-
pe && k && Y && $ !== L && ge($);
|
|
211
|
-
}, [
|
|
212
|
-
pe,
|
|
213
|
-
k,
|
|
214
|
-
Y,
|
|
215
|
-
$,
|
|
216
|
-
L
|
|
217
|
-
]);
|
|
218
|
-
let We = g.useMemo(() => ({
|
|
219
|
-
position: "absolute",
|
|
220
|
-
top: q.arrow?.y,
|
|
221
|
-
left: q.arrow?.x
|
|
222
|
-
}), [q.arrow]), Ge = q.arrow?.centerOffset !== 0;
|
|
223
|
-
return g.useMemo(() => ({
|
|
224
|
-
positionerStyles: Z,
|
|
225
|
-
arrowStyles: We,
|
|
226
|
-
arrowRef: B,
|
|
227
|
-
arrowUncentered: Ge,
|
|
228
|
-
side: Ve,
|
|
229
|
-
align: He,
|
|
230
|
-
physicalSide: $,
|
|
231
|
-
anchorHidden: Ue,
|
|
232
|
-
refs: G,
|
|
233
|
-
context: Le,
|
|
234
|
-
isPositioned: Y,
|
|
235
|
-
update: J
|
|
236
|
-
}), [
|
|
237
|
-
Z,
|
|
238
|
-
We,
|
|
239
|
-
B,
|
|
240
|
-
Ge,
|
|
241
|
-
Ve,
|
|
242
|
-
He,
|
|
243
|
-
$,
|
|
244
|
-
Ue,
|
|
245
|
-
G,
|
|
246
|
-
Le,
|
|
247
|
-
Y,
|
|
248
|
-
J
|
|
249
|
-
]);
|
|
250
|
-
}
|
|
251
|
-
function ae(e) {
|
|
252
|
-
return e != null && "current" in e;
|
|
253
|
-
}
|
|
2
|
+
import { FloatingPortal as e } from "./index245.js";
|
|
3
|
+
import { useSelectRootContext as t } from "./index372.js";
|
|
4
|
+
import * as n from "react";
|
|
5
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
6
|
+
//#region ../../node_modules/@base-ui/react/select/portal/SelectPortal.mjs
|
|
7
|
+
var i = /*#__PURE__*/ n.forwardRef(function(n, i) {
|
|
8
|
+
let a = t(), o = a.useState("mounted"), s = a.useState("forceMount");
|
|
9
|
+
return o || s ? /*#__PURE__*/ r(e, {
|
|
10
|
+
ref: i,
|
|
11
|
+
...n
|
|
12
|
+
}) : null;
|
|
13
|
+
});
|
|
14
|
+
process.env.NODE_ENV !== "production" && (i.displayName = "SelectPortal");
|
|
254
15
|
//#endregion
|
|
255
|
-
export {
|
|
16
|
+
export { i as SelectPortal };
|
|
256
17
|
|
|
257
18
|
//# sourceMappingURL=index394.js.map
|
package/dist/index394.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index394.js","names":["React","shift","floatingShift","ownerWindow"],"sources":["../../../node_modules/@base-ui/react/internals/useAnchorPositioning.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { getSide, getAlignment, getSideAxis } from '@floating-ui/utils';\nimport { ownerDocument, ownerWindow } from '@base-ui/utils/owner';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\nimport { useValueAsRef } from '@base-ui/utils/useValueAsRef';\nimport { useStableCallback } from '@base-ui/utils/useStableCallback';\nimport { autoUpdate, flip, limitShift, offset, shift as floatingShift, size } from \"../floating-ui-react/index.mjs\";\nimport { useBaseUIFloating } from \"../floating-ui-react/hooks/useFloating.mjs\";\nimport { useDirection } from \"./direction-context/DirectionContext.mjs\";\nimport { arrow } from \"../floating-ui-react/middleware/arrow.mjs\";\nimport { hide } from \"../utils/hideMiddleware.mjs\";\nimport { DEFAULT_SIDES } from \"../utils/adaptiveOriginConstants.mjs\";\nconst AVAILABLE_WIDTH_VAR = '--available-width';\nconst AVAILABLE_HEIGHT_VAR = '--available-height';\nfunction getLogicalSide(sideParam, renderedSide, isRtl) {\n const isLogicalSideParam = sideParam === 'inline-start' || sideParam === 'inline-end';\n const logicalRight = isRtl ? 'inline-start' : 'inline-end';\n const logicalLeft = isRtl ? 'inline-end' : 'inline-start';\n return {\n top: 'top',\n right: isLogicalSideParam ? logicalRight : 'right',\n bottom: 'bottom',\n left: isLogicalSideParam ? logicalLeft : 'left'\n }[renderedSide];\n}\nfunction getOffsetData(state, sideParam, isRtl) {\n const {\n rects,\n placement\n } = state;\n const data = {\n side: getLogicalSide(sideParam, getSide(placement), isRtl),\n align: getAlignment(placement) || 'center',\n anchor: {\n width: rects.reference.width,\n height: rects.reference.height\n },\n positioner: {\n width: rects.floating.width,\n height: rects.floating.height\n }\n };\n return data;\n}\n/**\n * Provides standardized anchor positioning behavior for floating elements. Wraps Floating UI's\n * `useFloating` hook.\n */\nexport function useAnchorPositioning(params) {\n return useAnchorPositioningWithHook(params, useBaseUIFloating);\n}\nexport function useAnchorPositioningWithHook(params, useFloatingHook) {\n const {\n // Public parameters\n anchor,\n positionMethod = 'absolute',\n side: sideParam = 'bottom',\n sideOffset = 0,\n align = 'center',\n alignOffset = 0,\n collisionBoundary,\n collisionPadding: collisionPaddingParam = 5,\n sticky = false,\n arrowPadding = 5,\n disableAnchorTracking = false,\n inline: inlineMiddleware,\n // Private parameters\n keepMounted = false,\n floatingRootContext,\n mounted,\n collisionAvoidance,\n shift,\n nodeId,\n adaptiveOrigin,\n lazyFlip = false,\n externalTree\n } = params;\n const [mountSide, setMountSide] = React.useState(null);\n if (!mounted && mountSide !== null) {\n setMountSide(null);\n }\n const collisionAvoidanceSide = collisionAvoidance.side || 'flip';\n const collisionAvoidanceAlign = collisionAvoidance.align || 'flip';\n const collisionAvoidanceFallbackAxisSide = collisionAvoidance.fallbackAxisSide || 'end';\n const shiftCrossAxis = shift?.crossAxis ?? false;\n const shiftRootBoundary = shift?.rootBoundary;\n const anchorFn = typeof anchor === 'function' ? anchor : undefined;\n const anchorFnCallback = useStableCallback(anchorFn);\n const anchorDep = anchorFn ? anchorFnCallback : anchor;\n const anchorValueRef = useValueAsRef(anchor);\n const mountedRef = useValueAsRef(mounted);\n const direction = useDirection();\n const isRtl = direction === 'rtl';\n const side = mountSide || {\n top: 'top',\n right: 'right',\n bottom: 'bottom',\n left: 'left',\n 'inline-end': isRtl ? 'left' : 'right',\n 'inline-start': isRtl ? 'right' : 'left'\n }[sideParam];\n const placement = align === 'center' ? side : `${side}-${align}`;\n let collisionPadding = collisionPaddingParam;\n if (typeof collisionPadding === 'number') {\n collisionPadding = {\n top: collisionPadding,\n right: collisionPadding,\n bottom: collisionPadding,\n left: collisionPadding\n };\n } else if (collisionPadding) {\n collisionPadding = {\n top: collisionPadding.top || 0,\n right: collisionPadding.right || 0,\n bottom: collisionPadding.bottom || 0,\n left: collisionPadding.left || 0\n };\n }\n\n // Create a bias to the preferred side.\n // On iOS, when the mobile software keyboard opens, the input is exactly centered\n // in the viewport, but this can cause it to flip to the top undesirably.\n // The bias is only applied to `flip()` so it doesn't shift the resting position\n // computed by `shift()` and `size()` away from the requested `collisionPadding`.\n const bias = 1;\n const biasTop = sideParam === 'bottom' ? bias : 0;\n const biasBottom = sideParam === 'top' ? bias : 0;\n const biasLeft = sideParam === 'right' ? bias : 0;\n const biasRight = sideParam === 'left' ? bias : 0;\n const commonCollisionProps = {\n boundary: collisionBoundary === 'clipping-ancestors' ? 'clippingAncestors' : collisionBoundary,\n padding: collisionPadding\n };\n\n // Using a ref assumes that the arrow element is always present in the DOM for the lifetime of the\n // popup. If this assumption ends up being false, we can switch to state to manage the arrow's\n // presence.\n const arrowRef = React.useRef(null);\n\n // Keep these reactive if they're not functions\n const sideOffsetRef = useValueAsRef(sideOffset);\n const alignOffsetRef = useValueAsRef(alignOffset);\n const sideOffsetDep = typeof sideOffset !== 'function' ? sideOffset : 0;\n const alignOffsetDep = typeof alignOffset !== 'function' ? alignOffset : 0;\n const middleware = [];\n if (inlineMiddleware) {\n middleware.push(inlineMiddleware);\n }\n middleware.push(offset(state => {\n const data = getOffsetData(state, sideParam, isRtl);\n const sideAxis = typeof sideOffsetRef.current === 'function' ? sideOffsetRef.current(data) : sideOffsetRef.current;\n const alignAxis = typeof alignOffsetRef.current === 'function' ? alignOffsetRef.current(data) : alignOffsetRef.current;\n return {\n mainAxis: sideAxis,\n crossAxis: alignAxis,\n alignmentAxis: alignAxis\n };\n }, [sideOffsetDep, alignOffsetDep, isRtl, sideParam]));\n const shiftDisabled = collisionAvoidanceAlign === 'none' && collisionAvoidanceSide !== 'shift';\n const crossAxisShiftEnabled = !shiftDisabled && (sticky || shiftCrossAxis || collisionAvoidanceSide === 'shift');\n const flipMiddleware = collisionAvoidanceSide === 'none' ? null : flip({\n ...commonCollisionProps,\n // Ensure the popup flips if it's been limited by its --available-height and it resizes.\n // Since the size() padding is smaller than the flip() padding, flip() will take precedence.\n padding: {\n top: collisionPadding.top + bias + biasTop,\n right: collisionPadding.right + bias + biasRight,\n bottom: collisionPadding.bottom + bias + biasBottom,\n left: collisionPadding.left + bias + biasLeft\n },\n mainAxis: !shiftCrossAxis && collisionAvoidanceSide === 'flip',\n crossAxis: collisionAvoidanceAlign === 'flip' ? 'alignment' : false,\n fallbackAxisSideDirection: collisionAvoidanceFallbackAxisSide\n });\n const shiftMiddleware = shiftDisabled ? null : floatingShift({\n ...commonCollisionProps,\n // Use the Layout Viewport to avoid shifting around when pinch-zooming.\n rootBoundary: shiftRootBoundary,\n mainAxis: collisionAvoidanceAlign !== 'none',\n crossAxis: crossAxisShiftEnabled,\n limiter: sticky || shiftCrossAxis ? undefined : limitShift(limitData => {\n if (!arrowRef.current) {\n return {};\n }\n const {\n width,\n height\n } = arrowRef.current.getBoundingClientRect();\n const sideAxis = getSideAxis(getSide(limitData.placement));\n const arrowSize = sideAxis === 'y' ? width : height;\n const offsetAmount = sideAxis === 'y' ? collisionPadding.left + collisionPadding.right : collisionPadding.top + collisionPadding.bottom;\n return {\n offset: arrowSize / 2 + offsetAmount / 2\n };\n })\n }, [commonCollisionProps, sticky, shiftCrossAxis, shiftRootBoundary, collisionPadding, collisionAvoidanceAlign]);\n\n // https://floating-ui.com/docs/flip#combining-with-shift\n if (collisionAvoidanceSide === 'shift' || collisionAvoidanceAlign === 'shift' || align === 'center') {\n middleware.push(shiftMiddleware, flipMiddleware);\n } else {\n middleware.push(flipMiddleware, shiftMiddleware);\n }\n middleware.push(size({\n ...commonCollisionProps,\n apply({\n elements: {\n floating\n },\n availableWidth,\n availableHeight,\n rects\n }) {\n if (!mountedRef.current) {\n return;\n }\n const floatingStyle = floating.style;\n floatingStyle.setProperty(AVAILABLE_WIDTH_VAR, `${availableWidth}px`);\n floatingStyle.setProperty(AVAILABLE_HEIGHT_VAR, `${availableHeight}px`);\n\n // Snap anchor dimensions to device pixels to ensure the popup's visual width matches the anchor's one.\n const dpr = ownerWindow(floating).devicePixelRatio || 1;\n const {\n x,\n y,\n width,\n height\n } = rects.reference;\n const anchorWidth = (Math.round((x + width) * dpr) - Math.round(x * dpr)) / dpr;\n const anchorHeight = (Math.round((y + height) * dpr) - Math.round(y * dpr)) / dpr;\n floatingStyle.setProperty('--anchor-width', `${anchorWidth}px`);\n floatingStyle.setProperty('--anchor-height', `${anchorHeight}px`);\n }\n }), arrow(state => ({\n // `transform-origin` calculations rely on an element existing. If the arrow hasn't been set,\n // we'll create a fake element.\n element: arrowRef.current || ownerDocument(state.elements.floating).createElement('div'),\n padding: arrowPadding,\n offsetParent: 'floating'\n }), [arrowPadding]), {\n name: 'transformOrigin',\n fn(state) {\n const {\n elements,\n middlewareData,\n placement: renderedPlacement,\n rects,\n y\n } = state;\n const currentRenderedSide = getSide(renderedPlacement);\n const currentRenderedAxis = getSideAxis(currentRenderedSide);\n const arrowEl = arrowRef.current;\n const arrowX = middlewareData.arrow?.x || 0;\n const arrowY = middlewareData.arrow?.y || 0;\n const arrowWidth = arrowEl?.clientWidth || 0;\n const arrowHeight = arrowEl?.clientHeight || 0;\n const transformX = arrowX + arrowWidth / 2;\n const transformY = arrowY + arrowHeight / 2;\n const shiftY = Math.abs(middlewareData.shift?.y || 0);\n const halfAnchorHeight = rects.reference.height / 2;\n const sideOffsetValue = typeof sideOffset === 'function' ? sideOffset(getOffsetData(state, sideParam, isRtl)) : sideOffset;\n const isOverlappingAnchor = shiftY > sideOffsetValue;\n const adjacentTransformOrigin = {\n top: `${transformX}px calc(100% + ${sideOffsetValue}px)`,\n bottom: `${transformX}px ${-sideOffsetValue}px`,\n left: `calc(100% + ${sideOffsetValue}px) ${transformY}px`,\n right: `${-sideOffsetValue}px ${transformY}px`\n }[currentRenderedSide];\n const overlapTransformOrigin = `${transformX}px ${rects.reference.y + halfAnchorHeight - y}px`;\n elements.floating.style.setProperty('--transform-origin', crossAxisShiftEnabled && currentRenderedAxis === 'y' && isOverlappingAnchor ? overlapTransformOrigin : adjacentTransformOrigin);\n return {};\n }\n }, hide, adaptiveOrigin);\n useIsoLayoutEffect(() => {\n // Ensure positioning doesn't run initially for `keepMounted` elements that\n // aren't initially open.\n if (!mounted && floatingRootContext) {\n floatingRootContext.update({\n referenceElement: null,\n floatingElement: null,\n domReferenceElement: null,\n positionReference: null\n });\n }\n }, [mounted, floatingRootContext]);\n const autoUpdateOptions = React.useMemo(() => ({\n elementResize: !disableAnchorTracking && typeof ResizeObserver !== 'undefined',\n layoutShift: !disableAnchorTracking && typeof IntersectionObserver !== 'undefined'\n }), [disableAnchorTracking]);\n const {\n refs,\n elements,\n x,\n y,\n middlewareData,\n update,\n placement: renderedPlacement,\n context,\n isPositioned,\n floatingStyles: originalFloatingStyles\n } = useFloatingHook({\n rootContext: floatingRootContext,\n open: keepMounted ? mounted : undefined,\n placement,\n middleware,\n strategy: positionMethod,\n whileElementsMounted: keepMounted ? undefined : (...args) => autoUpdate(...args, autoUpdateOptions),\n nodeId,\n externalTree\n });\n const {\n sideX,\n sideY\n } = middlewareData.adaptiveOrigin || DEFAULT_SIDES;\n\n // Default to `fixed` when not positioned to prevent `autoFocus` scroll jumps.\n // This ensures the popup is inside the viewport initially before it gets positioned.\n const resolvedPosition = isPositioned ? positionMethod : 'fixed';\n const floatingStyles = React.useMemo(() => {\n let base;\n if (!isPositioned) {\n // Until a position for the current open is computed, ignore any coordinates retained from a\n // previous open (or from a pass that measured the hidden popup as 0x0). Rendering the\n // full-size popup at such stale coordinates can overflow the layout viewport, which makes\n // mobile Chrome zoom the page out and reflow everything the popup is anchored to.\n base = {\n position: resolvedPosition,\n top: 0,\n left: 0\n };\n } else if (adaptiveOrigin) {\n base = {\n position: resolvedPosition,\n [sideX]: x,\n [sideY]: y\n };\n } else {\n base = {\n ...originalFloatingStyles,\n position: resolvedPosition\n };\n }\n\n // Seed the available size vars so consumer `max-height: min(x, var(--available-height))` rules\n // resolve to a valid length on the first positioning pass, before `size()` writes the real\n // values. Without a fallback the unresolved `var()` invalidates the whole declaration, so the\n // popup is measured unconstrained while `flip()` picks its side, against the full content\n // height rather than the capped one. Seeded unconditionally (not only while `!isPositioned`):\n // the keys must stay present with a constant value so React's per-property style diff never\n // rewrites them after mount, preserving the px values `size()` sets imperatively. Moving them\n // into the `!isPositioned` branch makes React remove them once positioned, wiping `size()`'s\n // values and leaving the popup unconstrained.\n base[AVAILABLE_WIDTH_VAR] = '100vw';\n base[AVAILABLE_HEIGHT_VAR] = '100vh';\n if (!isPositioned) {\n base.opacity = 0;\n }\n return base;\n }, [adaptiveOrigin, resolvedPosition, sideX, x, sideY, y, originalFloatingStyles, isPositioned]);\n const registeredPositionReferenceRef = React.useRef(null);\n useIsoLayoutEffect(() => {\n if (!mounted) {\n return;\n }\n const anchorValue = anchorValueRef.current;\n const resolvedAnchor = typeof anchorValue === 'function' ? anchorValue() : anchorValue;\n const unwrappedElement = (isRef(resolvedAnchor) ? resolvedAnchor.current : resolvedAnchor) || null;\n const finalAnchor = unwrappedElement || null;\n if (finalAnchor !== registeredPositionReferenceRef.current) {\n refs.setPositionReference(finalAnchor);\n registeredPositionReferenceRef.current = finalAnchor;\n }\n }, [mounted, refs, anchorDep, anchorValueRef]);\n React.useEffect(() => {\n if (!mounted) {\n return;\n }\n const anchorValue = anchorValueRef.current;\n\n // Refs from parent components are set after useLayoutEffect runs and are available in useEffect.\n // Therefore, if the anchor is a ref, we need to update the position reference in useEffect.\n if (typeof anchorValue === 'function') {\n return;\n }\n if (isRef(anchorValue) && anchorValue.current !== registeredPositionReferenceRef.current) {\n refs.setPositionReference(anchorValue.current);\n registeredPositionReferenceRef.current = anchorValue.current;\n }\n }, [mounted, refs, anchorDep, anchorValueRef]);\n React.useEffect(() => {\n if (keepMounted && mounted && elements.reference && elements.floating) {\n return autoUpdate(elements.reference, elements.floating, update, autoUpdateOptions);\n }\n return undefined;\n }, [keepMounted, mounted, elements, update, autoUpdateOptions]);\n const renderedSide = getSide(renderedPlacement);\n const logicalRenderedSide = getLogicalSide(sideParam, renderedSide, isRtl);\n const renderedAlign = getAlignment(renderedPlacement) || 'center';\n const anchorHidden = Boolean(middlewareData.hide?.referenceHidden);\n\n // Locks the flip (makes it \"sticky\") so it doesn't prefer a given placement\n // and flips back lazily, not eagerly. Ideal for filtered lists that change\n // the size of the popup dynamically to avoid unwanted flipping when typing.\n useIsoLayoutEffect(() => {\n if (lazyFlip && mounted && isPositioned && renderedSide !== side) {\n setMountSide(renderedSide);\n }\n }, [lazyFlip, mounted, isPositioned, renderedSide, side]);\n const arrowStyles = React.useMemo(() => ({\n position: 'absolute',\n top: middlewareData.arrow?.y,\n left: middlewareData.arrow?.x\n }), [middlewareData.arrow]);\n const arrowUncentered = middlewareData.arrow?.centerOffset !== 0;\n return React.useMemo(() => ({\n positionerStyles: floatingStyles,\n arrowStyles,\n arrowRef,\n arrowUncentered,\n side: logicalRenderedSide,\n align: renderedAlign,\n physicalSide: renderedSide,\n anchorHidden,\n refs,\n context,\n isPositioned,\n update\n }), [floatingStyles, arrowStyles, arrowRef, arrowUncentered, logicalRenderedSide, renderedAlign, renderedSide, anchorHidden, refs, context, isPositioned, update]);\n}\nfunction isRef(param) {\n return param != null && 'current' in param;\n}"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;;;;AAcA,IAAM,IAAsB,qBACtB,IAAuB;AAC7B,SAAS,EAAe,GAAW,GAAc,GAAO;CACtD,IAAM,IAAqB,MAAc,kBAAkB,MAAc;CAGzE,OAAO;EACL,KAAK;EACL,OAAO,IAJY,IAAQ,iBAAiB,eAID;EAC3C,QAAQ;EACR,MAAM,IALY,IAAQ,eAAe,iBAKA;CAC3C,EAAE;AACJ;AACA,SAAS,GAAc,GAAO,GAAW,GAAO;CAC9C,IAAM,EACJ,UACA,iBACE;CAaJ,OAAO;EAXL,MAAM,EAAe,GAAW,EAAQ,CAAS,GAAG,CAAK;EACzD,OAAO,EAAa,CAAS,KAAK;EAClC,QAAQ;GACN,OAAO,EAAM,UAAU;GACvB,QAAQ,EAAM,UAAU;EAC1B;EACA,YAAY;GACV,OAAO,EAAM,SAAS;GACtB,QAAQ,EAAM,SAAS;EACzB;CAEQ;AACZ;AAKA,SAAgB,GAAqB,GAAQ;CAC3C,OAAO,EAA6B,GAAQ,CAAiB;AAC/D;AACA,SAAgB,EAA6B,GAAQ,IAAiB;CACpE,IAAM,EAEJ,WACA,qBAAiB,YAC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D,GAAa,CAAY;CAE7B,GAAG;EAAC;EAAU;EAAS;EAAc;EAAc;CAAI,CAAC;CACxD,IAAM,KAAcA,EAAM,eAAe;EACvC,UAAU;EACV,KAAK,EAAe,OAAO;EAC3B,MAAM,EAAe,OAAO;CAC9B,IAAI,CAAC,EAAe,KAAK,CAAC,GACpB,KAAkB,EAAe,OAAO,iBAAiB;CAC/D,OAAOA,EAAM,eAAe;EAC1B,kBAAkB;EAClB;EACA;EACA;EACA,MAAM;EACN,OAAO;EACP,cAAc;EACd;EACA;EACA;EACA;EACA;CACF,IAAI;EAAC;EAAgB;EAAa;EAAU;EAAiB;EAAqB;EAAe;EAAc;EAAc;EAAM;EAAS;EAAc;CAAM,CAAC;AACnK;AACA,SAAS,GAAM,GAAO;CACpB,OAAO,KAAS,QAAQ,aAAa;AACvC"}
|
|
1
|
+
{"version":3,"file":"index394.js","names":["React$1","SelectPortal","store","useSelectRootContext","mounted","forceMount","FloatingPortal","forwardedRef","portalProps"],"sources":["../../../node_modules/@base-ui/react/select/portal/SelectPortal.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { FloatingPortal } from \"../../floating-ui-react/index.mjs\";\nimport { useSelectRootContext } from \"../root/SelectRootContext.mjs\";\n\n/**\n * A portal element that moves the popup to a different part of the DOM.\n * By default, the portal element is appended to `<body>`.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Select](https://base-ui.com/react/components/select)\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const SelectPortal = /*#__PURE__*/React.forwardRef(function SelectPortal(portalProps, forwardedRef) {\n const store = useSelectRootContext();\n const mounted = store.useState('mounted');\n const forceMount = store.useState('forceMount');\n const shouldRender = mounted || forceMount;\n if (!shouldRender) {\n return null;\n }\n return /*#__PURE__*/_jsx(FloatingPortal, {\n ref: forwardedRef,\n ...portalProps\n });\n});\nif (process.env.NODE_ENV !== \"production\") SelectPortal.displayName = \"SelectPortal\";"],"ignoreList":[0],"mappings":";;;;;;AAcA,IAAaC,IAA4B,gBAAM,WAAW,SAAsB,GAAa,GAAc;CACzG,IAAMC,IAAQC,EAAqB,GAC7BC,IAAUF,EAAM,SAAS,SAAS,GAClCG,IAAaH,EAAM,SAAS,YAAY;CAK9C,OAJqBE,KAAWC,IAIZ,gBAAKC,GAAgB;EACvC,KAAKC;EACL,GAAGC;CACL,CAAC,IALQ;AAMX,CAAC;AACD,QAAA,IAAA,aAA6B,iBAAc,EAAa,cAAc"}
|
package/dist/index395.js
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import e from "
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
import * as e from "react";
|
|
3
|
+
//#region ../../node_modules/@base-ui/react/internals/composite/list/CompositeListContext.mjs
|
|
4
|
+
var t = /*#__PURE__*/ e.createContext({
|
|
5
|
+
register: () => {},
|
|
6
|
+
unregister: () => {},
|
|
7
|
+
subscribeMapChange: () => () => {},
|
|
8
|
+
nextIndexRef: { current: 0 }
|
|
9
|
+
});
|
|
10
|
+
process.env.NODE_ENV !== "production" && (t.displayName = "CompositeListContext");
|
|
11
|
+
function n() {
|
|
12
|
+
return e.useContext(t);
|
|
11
13
|
}
|
|
12
14
|
//#endregion
|
|
13
|
-
export {
|
|
15
|
+
export { t as CompositeListContext, n as useCompositeListContext };
|
|
14
16
|
|
|
15
17
|
//# sourceMappingURL=index395.js.map
|
package/dist/index395.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index395.js","names":["React","
|
|
1
|
+
{"version":3,"file":"index395.js","names":["React","React$1","CompositeListContext","useCompositeListContext"],"sources":["../../../node_modules/@base-ui/react/internals/composite/list/CompositeListContext.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nexport const CompositeListContext = /*#__PURE__*/React.createContext({\n register: () => {},\n unregister: () => {},\n subscribeMapChange: () => () => {},\n nextIndexRef: {\n current: 0\n }\n});\nif (process.env.NODE_ENV !== \"production\") CompositeListContext.displayName = \"CompositeListContext\";\nexport function useCompositeListContext() {\n return React.useContext(CompositeListContext);\n}"],"ignoreList":[0],"mappings":";;;AAGA,IAAaE,IAAoC,gBAAM,cAAc;CACnE,gBAAgB,CAAC;CACjB,kBAAkB,CAAC;CACnB,gCAAgC,CAAC;CACjC,cAAc,EACZ,SAAS,EACX;AACF,CAAC;AACD,QAAA,IAAA,aAA6B,iBAAc,EAAqB,cAAc;AAC9E,SAAgBC,IAA0B;CACxC,OAAOH,EAAM,WAAWE,CAAoB;AAC9C"}
|
package/dist/index396.js
CHANGED
|
@@ -1,14 +1,120 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
1
|
+
"use client";
|
|
2
|
+
import { useRefWithInit as e } from "./index185.js";
|
|
3
|
+
import { useStableCallback as t } from "./index206.js";
|
|
4
|
+
import { useIsoLayoutEffect as n } from "./index208.js";
|
|
5
|
+
import { CompositeListContext as r } from "./index395.js";
|
|
6
|
+
import * as i from "react";
|
|
7
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
8
|
+
//#region ../../node_modules/@base-ui/react/internals/composite/list/CompositeList.mjs
|
|
9
|
+
function o(o) {
|
|
10
|
+
let { children: p, elementsRef: m, labelsRef: h, onMapChange: g } = o, _ = t(g), [, v] = i.useState(!1), y = e(c).current, b = e(s).current, x = i.useRef(0), S = i.useRef(!0), C = i.useRef(null), w = i.useRef(null), T = t(() => {
|
|
11
|
+
S.current || (S.current = !0, v((e) => !e));
|
|
12
|
+
}), E = t((e, t) => {
|
|
13
|
+
b.set(e, t), T();
|
|
14
|
+
}), D = t((e) => {
|
|
15
|
+
b.delete(e), T();
|
|
16
|
+
}), O = t((e) => {
|
|
17
|
+
let t = /* @__PURE__ */ new Map();
|
|
18
|
+
return m.current.length = 0, h && (h.current.length = 0), e.forEach((e) => {
|
|
19
|
+
t.set(e.element, {
|
|
20
|
+
...e.registration.metadata ?? {},
|
|
21
|
+
index: e.index
|
|
22
|
+
}), m.current[e.index] = e.element, h && (h.current[e.index] = e.registration.label === void 0 ? e.registration.textRef?.current?.textContent ?? e.element.textContent : e.registration.label);
|
|
23
|
+
}), x.current = m.current.length, t;
|
|
24
|
+
});
|
|
25
|
+
function k(e) {
|
|
26
|
+
if (w.current?.disconnect(), w.current = null, typeof MutationObserver != "function" || e.length < 2) return;
|
|
27
|
+
let t = new MutationObserver((n) => {
|
|
28
|
+
if (!d(n)) return;
|
|
29
|
+
let r = null;
|
|
30
|
+
for (let n of e) if (n.isConnected) {
|
|
31
|
+
if (r && f(r, n) > 0) {
|
|
32
|
+
t.disconnect(), T();
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
r = n;
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
w.current = t;
|
|
39
|
+
let n = /* @__PURE__ */ new Set();
|
|
40
|
+
for (let t = 1; t < e.length; t += 1) {
|
|
41
|
+
let r = u(e[t - 1], e[t]);
|
|
42
|
+
r && n.add(r);
|
|
43
|
+
}
|
|
44
|
+
n.forEach((e) => t.observe(e, { childList: !0 }));
|
|
45
|
+
}
|
|
46
|
+
let A = t(() => {
|
|
47
|
+
let [e, t] = l(b), n = O(e), r = C.current, i = !r || r.length !== e.length || e.some((e, t) => {
|
|
48
|
+
let n = r[t];
|
|
49
|
+
return e.index !== n.index || e.element !== n.element || e.registration.index !== n.registration.index || e.registration.metadata !== n.registration.metadata;
|
|
50
|
+
});
|
|
51
|
+
k(t), C.current = e, S.current = !1, i && (y.forEach((e) => e(n)), _(n));
|
|
52
|
+
});
|
|
53
|
+
n(() => (!S.current && C.current && O(C.current), () => {
|
|
54
|
+
m.current = [], h && (h.current = []);
|
|
55
|
+
}), [
|
|
56
|
+
m,
|
|
57
|
+
h,
|
|
58
|
+
O
|
|
59
|
+
]), n(() => {
|
|
60
|
+
S.current && A();
|
|
61
|
+
}), n(() => () => {
|
|
62
|
+
w.current?.disconnect(), S.current = !0;
|
|
63
|
+
}, []);
|
|
64
|
+
let j = t((e) => (y.add(e), () => {
|
|
65
|
+
y.delete(e);
|
|
66
|
+
})), M = i.useMemo(() => ({
|
|
67
|
+
register: E,
|
|
68
|
+
unregister: D,
|
|
69
|
+
subscribeMapChange: j,
|
|
70
|
+
nextIndexRef: x
|
|
71
|
+
}), [
|
|
72
|
+
E,
|
|
73
|
+
D,
|
|
74
|
+
j,
|
|
75
|
+
x
|
|
76
|
+
]);
|
|
77
|
+
return /*#__PURE__*/ a(r.Provider, {
|
|
78
|
+
value: M,
|
|
79
|
+
children: p
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
function s() {
|
|
83
|
+
return /* @__PURE__ */ new Map();
|
|
84
|
+
}
|
|
85
|
+
function c() {
|
|
86
|
+
return /* @__PURE__ */ new Set();
|
|
87
|
+
}
|
|
88
|
+
function l(e) {
|
|
89
|
+
let t = /* @__PURE__ */ new Set(), n = [], r = [];
|
|
90
|
+
e.forEach((e, i) => {
|
|
91
|
+
if (!i.isConnected) return;
|
|
92
|
+
let a = e.index, o = {
|
|
93
|
+
index: a ?? -1,
|
|
94
|
+
element: i,
|
|
95
|
+
registration: e
|
|
96
|
+
};
|
|
97
|
+
a === null ? r.push(o) : a >= 0 && (t.add(a), n.push(o));
|
|
98
|
+
});
|
|
99
|
+
let i = 0;
|
|
100
|
+
return r.sort((e, t) => f(e.element, t.element)), r.forEach((e) => {
|
|
101
|
+
for (; t.has(i);) i += 1;
|
|
102
|
+
e.index = i, n.push(e), i += 1;
|
|
103
|
+
}), t.size > 0 && n.sort((e, t) => e.index - t.index), [n, r.map((e) => e.element)];
|
|
104
|
+
}
|
|
105
|
+
function u(e, t) {
|
|
106
|
+
let n = e.parentElement;
|
|
107
|
+
for (; n && !n.contains(t);) n = n.parentElement;
|
|
108
|
+
return n;
|
|
109
|
+
}
|
|
110
|
+
function d(e) {
|
|
111
|
+
for (let t of e) for (let e = 0; e < t.removedNodes.length; e += 1) if (t.removedNodes[e].isConnected) return !0;
|
|
112
|
+
return !1;
|
|
113
|
+
}
|
|
114
|
+
function f(e, t) {
|
|
115
|
+
return e.compareDocumentPosition(t) & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : 1;
|
|
116
|
+
}
|
|
11
117
|
//#endregion
|
|
12
|
-
export {
|
|
118
|
+
export { o as CompositeList };
|
|
13
119
|
|
|
14
120
|
//# sourceMappingURL=index396.js.map
|
package/dist/index396.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index396.js","names":[],"sources":["../../../node_modules/@base-ui/react/select/popup/utils.mjs"],"sourcesContent":["export function clearStyles(element, originalStyles) {\n if (element) {\n Object.assign(element.style, originalStyles);\n }\n}\nexport const LIST_FUNCTIONAL_STYLES = {\n position: 'relative',\n maxHeight: '100%',\n overflowX: 'hidden',\n overflowY: 'auto'\n};"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAgB,EAAY,GAAS,GAAgB;CACnD,AAAI,KACF,OAAO,OAAO,EAAQ,OAAO,CAAc;AAE/C;AACA,IAAa,IAAyB;CACpC,UAAU;CACV,WAAW;CACX,WAAW;CACX,WAAW;AACb"}
|
|
1
|
+
{"version":3,"file":"index396.js","names":["React","React$1","CompositeList","onMapChangeProp","props","onMapChange","useStableCallback","setMapTick","listeners","useRefWithInit","createListeners","map","createMap","nextIndexRef","isDirtyRef","itemsRef","mutationObserverRef","scheduleMapUpdate","tick","register","node","registration","unregister","syncRefs","nextMap","labelsRef","items","item","elementsRef","observe","sortedNodes","mutationObserver","hasMovedNode","entries","previousConnectedNode","sortByDocumentPosition","roots","i","root","getCommonAncestor","flush","automaticNodes","getCompositeListSnapshot","previousItems","changed","previousItem","index","listener","useIsoLayoutEffect","subscribeMapChange","fn","contextValue","CompositeListContext","reservedIndices","automaticItems","nextAutomaticIndex","a","b","ancestor","firstNode","lastNode","entry"],"sources":["../../../node_modules/@base-ui/react/internals/composite/list/CompositeList.mjs"],"sourcesContent":["/* eslint-disable no-bitwise */\n'use client';\n\nimport * as React from 'react';\nimport { useRefWithInit } from '@base-ui/utils/useRefWithInit';\nimport { useStableCallback } from '@base-ui/utils/useStableCallback';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\nimport { CompositeListContext } from \"./CompositeListContext.mjs\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\n/**\n * Provides context for a list of items in a composite component.\n */\nexport function CompositeList(props) {\n const {\n children,\n elementsRef,\n labelsRef,\n onMapChange: onMapChangeProp\n } = props;\n const onMapChange = useStableCallback(onMapChangeProp);\n const [, setMapTick] = React.useState(false);\n const listeners = useRefWithInit(createListeners).current;\n const map = useRefWithInit(createMap).current;\n const nextIndexRef = React.useRef(0);\n const isDirtyRef = React.useRef(true);\n const itemsRef = React.useRef(null);\n const mutationObserverRef = React.useRef(null);\n\n // Item effects can run without their parent rendering. Schedule one synchronous\n // parent update for the whole commit so refs are rebuilt before paint and while\n // the originating React event is still inside `act()` in tests.\n const scheduleMapUpdate = useStableCallback(() => {\n if (isDirtyRef.current) {\n return;\n }\n isDirtyRef.current = true;\n setMapTick(tick => !tick);\n });\n const register = useStableCallback((node, registration) => {\n map.set(node, registration);\n scheduleMapUpdate();\n });\n const unregister = useStableCallback(node => {\n map.delete(node);\n scheduleMapUpdate();\n });\n const syncRefs = useStableCallback(items => {\n const nextMap = new Map();\n elementsRef.current.length = 0;\n if (labelsRef) {\n labelsRef.current.length = 0;\n }\n items.forEach(item => {\n nextMap.set(item.element, {\n ...(item.registration.metadata ?? {}),\n index: item.index\n });\n elementsRef.current[item.index] = item.element;\n if (labelsRef) {\n labelsRef.current[item.index] = item.registration.label !== undefined ? item.registration.label : item.registration.textRef?.current?.textContent ?? item.element.textContent;\n }\n });\n nextIndexRef.current = elementsRef.current.length;\n return nextMap;\n });\n function observe(sortedNodes) {\n mutationObserverRef.current?.disconnect();\n mutationObserverRef.current = null;\n\n // A single item can't reorder.\n if (typeof MutationObserver !== 'function' || sortedNodes.length < 2) {\n return;\n }\n const mutationObserver = new MutationObserver(entries => {\n // Only verify the order after a move: a node that was removed and later\n // re-added within the same batch. Additions and removals alone can't\n // change the relative order of the remaining items, and items that mount\n // or unmount re-sort through `register`/`unregister`.\n if (!hasMovedNode(entries)) {\n return;\n }\n let previousConnectedNode = null;\n\n // If any connected node now appears before the previous connected node,\n // wrappers/items moved and the index map needs to be rebuilt.\n for (const node of sortedNodes) {\n if (!node.isConnected) {\n continue;\n }\n if (previousConnectedNode && sortByDocumentPosition(previousConnectedNode, node) > 0) {\n mutationObserver.disconnect();\n scheduleMapUpdate();\n return;\n }\n previousConnectedNode = node;\n }\n });\n mutationObserverRef.current = mutationObserver;\n\n // A reorder that changes item indexes must invert at least one adjacent pair\n // from the previous sorted order. Observing each pair's common parent catches\n // both direct item moves and ancestor wrapper moves at the boundary.\n const roots = new Set();\n for (let i = 1; i < sortedNodes.length; i += 1) {\n const root = getCommonAncestor(sortedNodes[i - 1], sortedNodes[i]);\n if (root) {\n roots.add(root);\n }\n }\n roots.forEach(root => mutationObserver.observe(root, {\n childList: true\n }));\n }\n const flush = useStableCallback(() => {\n const [items, automaticNodes] = getCompositeListSnapshot(map);\n const nextMap = syncRefs(items);\n const previousItems = itemsRef.current;\n const changed = !previousItems || previousItems.length !== items.length || items.some((item, index) => {\n const previousItem = previousItems[index];\n return item.index !== previousItem.index || item.element !== previousItem.element || item.registration.index !== previousItem.registration.index || item.registration.metadata !== previousItem.registration.metadata;\n });\n observe(automaticNodes);\n itemsRef.current = items;\n isDirtyRef.current = false;\n if (!changed) {\n return;\n }\n listeners.forEach(listener => listener(nextMap));\n onMapChange(nextMap);\n });\n useIsoLayoutEffect(() => {\n // Re-copy the last committed snapshot when the ref objects change or Strict Mode replays\n // effects without reattaching callback refs.\n if (!isDirtyRef.current && itemsRef.current) {\n syncRefs(itemsRef.current);\n }\n return () => {\n elementsRef.current = [];\n if (labelsRef) {\n labelsRef.current = [];\n }\n };\n }, [elementsRef, labelsRef, syncRefs]);\n useIsoLayoutEffect(() => {\n if (isDirtyRef.current) {\n flush();\n }\n });\n useIsoLayoutEffect(() => {\n return () => {\n mutationObserverRef.current?.disconnect();\n // React 18 Strict Mode replays effects without replaying callback refs.\n // Mark the retained map dirty so the replay rebuilds refs and observation.\n isDirtyRef.current = true;\n };\n }, []);\n const subscribeMapChange = useStableCallback(fn => {\n listeners.add(fn);\n return () => {\n listeners.delete(fn);\n };\n });\n const contextValue = React.useMemo(() => ({\n register,\n unregister,\n subscribeMapChange,\n nextIndexRef\n }), [register, unregister, subscribeMapChange, nextIndexRef]);\n return /*#__PURE__*/_jsx(CompositeListContext.Provider, {\n value: contextValue,\n children: children\n });\n}\nfunction createMap() {\n return new Map();\n}\nfunction createListeners() {\n return new Set();\n}\nfunction getCompositeListSnapshot(map) {\n const reservedIndices = new Set();\n const items = [];\n const automaticItems = [];\n map.forEach((registration, node) => {\n if (!node.isConnected) {\n return;\n }\n const index = registration.index;\n const item = {\n index: index ?? -1,\n element: node,\n registration\n };\n if (index === null) {\n automaticItems.push(item);\n } else if (index >= 0) {\n reservedIndices.add(index);\n items.push(item);\n }\n });\n let nextAutomaticIndex = 0;\n automaticItems.sort((a, b) => sortByDocumentPosition(a.element, b.element));\n automaticItems.forEach(item => {\n while (reservedIndices.has(nextAutomaticIndex)) {\n nextAutomaticIndex += 1;\n }\n item.index = nextAutomaticIndex;\n items.push(item);\n nextAutomaticIndex += 1;\n });\n if (reservedIndices.size > 0) {\n items.sort((a, b) => a.index - b.index);\n }\n return [items, automaticItems.map(item => item.element)];\n}\nfunction getCommonAncestor(firstNode, lastNode) {\n let ancestor = firstNode.parentElement;\n\n // The `parentElement` walk cannot cross shadow boundaries, so the native\n // `contains` is sufficient here.\n while (ancestor && !ancestor.contains(lastNode)) {\n ancestor = ancestor.parentElement;\n }\n return ancestor;\n}\nfunction hasMovedNode(entries) {\n for (const entry of entries) {\n for (let i = 0; i < entry.removedNodes.length; i += 1) {\n if (entry.removedNodes[i].isConnected) {\n return true;\n }\n }\n }\n return false;\n}\nfunction sortByDocumentPosition(a, b) {\n // `DOCUMENT_POSITION_CONTAINED_BY` is always reported alongside `FOLLOWING`, and `CONTAINS`\n // alongside `PRECEDING`, so testing `FOLLOWING` alone orders siblings and nested items alike.\n return a.compareDocumentPosition(b) & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : 1;\n}"],"ignoreList":[0],"mappings":";;;;;;;;AAYA,SAAgBE,EAAc,GAAO;CACnC,IAAM,EACJ,aACA,gBACA,cACA,aAAaC,MACXC,GACEC,IAAcC,EAAkBH,CAAe,GAC/C,GAAGI,KAAcP,EAAM,SAAS,EAAK,GACrCQ,IAAYC,EAAeC,CAAe,CAAC,CAAC,SAC5CC,IAAMF,EAAeG,CAAS,CAAC,CAAC,SAChCC,IAAeb,EAAM,OAAO,CAAC,GAC7Bc,IAAad,EAAM,OAAO,EAAI,GAC9Be,IAAWf,EAAM,OAAO,IAAI,GAC5BgB,IAAsBhB,EAAM,OAAO,IAAI,GAKvCiB,IAAoBX,QAAwB;EAChD,AAAIQ,EAAW,YAGf,EAAW,UAAU,IACrBP,GAAW,MAAQ,CAACW,CAAI;CAC1B,CAAC,GACKC,IAAWb,GAAmB,GAAM,MAAiB;EAEzD,AADAK,EAAI,IAAIS,GAAMC,CAAY,GAC1BJ,EAAkB;CACpB,CAAC,GACKK,IAAahB,GAAkB,MAAQ;EAE3C,AADAK,EAAI,OAAOS,CAAI,GACfH,EAAkB;CACpB,CAAC,GACKM,IAAWjB,GAAkB,MAAS;EAC1C,IAAMkB,oBAAU,IAAI,IAAI;EAgBxB,OAfA,EAAY,QAAQ,SAAS,GACzBC,MACF,EAAU,QAAQ,SAAS,IAE7BC,EAAM,SAAQ,MAAQ;GAMpB,AALAF,EAAQ,IAAIG,EAAK,SAAS;IACxB,GAAIA,EAAK,aAAa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X,OAAOmB,KAAS;GAChB,SAAS1B;GACT;EACF;EACA,AAAI0B,MAAU,OACZQ,EAAe,KAAK3B,CAAI,IACfmB,KAAS,MAClBO,EAAgB,IAAIP,CAAK,GACzBpB,EAAM,KAAKC,CAAI;CAEnB,CAAC;CACD,IAAI4B,IAAqB;CAazB,OAZAD,EAAe,MAAM,GAAG,MAAMnB,EAAuBqB,EAAE,SAASC,EAAE,OAAO,CAAC,GAC1EH,EAAe,SAAQ,MAAQ;EAC7B,OAAOD,EAAgB,IAAIE,CAAkB,IAC3C,KAAsB;EAIxB,AAFA,EAAK,QAAQA,GACb7B,EAAM,KAAKC,CAAI,GACf,KAAsB;CACxB,CAAC,GACG0B,EAAgB,OAAO,KACzB3B,EAAM,MAAM,GAAG,MAAM8B,EAAE,QAAQC,EAAE,KAAK,GAEjC,CAAC/B,GAAO4B,EAAe,KAAI,MAAQ3B,EAAK,OAAO,CAAC;AACzD;AACA,SAASY,EAAkB,GAAW,GAAU;CAC9C,IAAImB,IAAWC,EAAU;CAIzB,OAAOD,KAAY,CAACA,EAAS,SAASE,CAAQ,IAC5C,IAAWF,EAAS;CAEtB,OAAOA;AACT;AACA,SAAS1B,EAAa,GAAS;CAC7B,KAAK,IAAM6B,KAAS5B,GAClB,KAAK,IAAII,IAAI,GAAGA,IAAIwB,EAAM,aAAa,QAAQ,KAAK,GAClD,IAAIA,EAAM,aAAaxB,EAAE,CAAC,aACxB,OAAO;CAIb,OAAO;AACT;AACA,SAASF,EAAuB,GAAG,GAAG;CAGpC,OAAOqB,EAAE,wBAAwBC,CAAC,IAAI,KAAK,8BAA8B,KAAK;AAChF"}
|
package/dist/index397.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
//#region ../../node_modules/@base-ui/react/internals/
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
"use client";
|
|
2
|
+
import * as e from "react";
|
|
3
|
+
//#region ../../node_modules/@base-ui/react/internals/direction-context/DirectionContext.mjs
|
|
4
|
+
var t = /*#__PURE__*/ e.createContext(void 0);
|
|
5
|
+
process.env.NODE_ENV !== "production" && (t.displayName = "DirectionContext");
|
|
6
|
+
function n() {
|
|
7
|
+
return e.useContext(t)?.direction ?? "ltr";
|
|
6
8
|
}
|
|
7
9
|
//#endregion
|
|
8
|
-
export { n as
|
|
10
|
+
export { t as DirectionContext, n as useDirection };
|
|
9
11
|
|
|
10
12
|
//# sourceMappingURL=index397.js.map
|
package/dist/index397.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index397.js","names":[],"sources":["../../../node_modules/@base-ui/react/internals/
|
|
1
|
+
{"version":3,"file":"index397.js","names":["React","React$1","DirectionContext","useDirection"],"sources":["../../../node_modules/@base-ui/react/internals/direction-context/DirectionContext.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nexport const DirectionContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") DirectionContext.displayName = \"DirectionContext\";\nexport function useDirection() {\n const context = React.useContext(DirectionContext);\n return context?.direction ?? 'ltr';\n}"],"ignoreList":[0],"mappings":";;;AAGA,IAAaE,IAAgC,gBAAM,cAAc,KAAA,CAAS;AAC1E,QAAA,IAAA,aAA6B,iBAAc,EAAiB,cAAc;AAC1E,SAAgBC,IAAe;CAE7B,OADgBH,EAAM,WAAWE,CACpB,CAAC,EAAE,aAAa;AAC/B"}
|
package/dist/index398.js
CHANGED
|
@@ -1,26 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { clamp as e, evaluate as t, getAlignment as n, getAlignmentAxis as r, getAxisLength as i, getPaddingObject as a } from "./index237.js";
|
|
2
|
+
//#region ../../node_modules/@base-ui/react/floating-ui-react/middleware/arrow.mjs
|
|
3
|
+
var o = (o) => ({
|
|
4
|
+
name: "arrow",
|
|
5
|
+
options: o,
|
|
6
|
+
async fn(s) {
|
|
7
|
+
let { x: c, y: l, placement: u, rects: d, platform: f, elements: p, middlewareData: m } = s, { element: h, padding: g = 0, offsetParent: _ = "real" } = t(o, s) || {};
|
|
8
|
+
if (h == null) return {};
|
|
9
|
+
let v = a(g), y = {
|
|
10
|
+
x: c,
|
|
11
|
+
y: l
|
|
12
|
+
}, b = r(u), x = i(b), S = await f.getDimensions(h), C = b === "y", w = C ? "top" : "left", T = C ? "bottom" : "right", E = C ? "clientHeight" : "clientWidth", D = d.reference[x] + d.reference[b] - y[b] - d.floating[x], O = y[b] - d.reference[b], k = _ === "real" ? await f.getOffsetParent?.(h) : p.floating, A = p.floating[E] || d.floating[x];
|
|
13
|
+
(!A || !await f.isElement?.(k)) && (A = p.floating[E] || d.floating[x]);
|
|
14
|
+
let j = D / 2 - O / 2, M = A / 2 - S[x] / 2 - 1, N = Math.min(v[w], M), P = Math.min(v[T], M), F = N, I = A - S[x] - P, L = A / 2 - S[x] / 2 + j, R = e(F, L, I), z = !m.arrow && n(u) != null && L !== R && d.reference[x] / 2 - (L < F ? N : P) - S[x] / 2 < 0, B = z ? L < F ? L - F : L - I : 0;
|
|
15
|
+
return {
|
|
16
|
+
[b]: y[b] + B,
|
|
17
|
+
data: {
|
|
18
|
+
[b]: R,
|
|
19
|
+
centerOffset: L - R - B,
|
|
20
|
+
...z && { alignmentOffset: B }
|
|
16
21
|
},
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
});
|
|
22
|
-
|
|
22
|
+
reset: z
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
}), s = (e, t) => {
|
|
26
|
+
let { name: n, fn: r } = o(e);
|
|
27
|
+
return {
|
|
28
|
+
name: n,
|
|
29
|
+
fn: r,
|
|
30
|
+
options: [e, t]
|
|
31
|
+
};
|
|
32
|
+
};
|
|
23
33
|
//#endregion
|
|
24
|
-
export {
|
|
34
|
+
export { s as arrow, o as baseArrow };
|
|
25
35
|
|
|
26
36
|
//# sourceMappingURL=index398.js.map
|