@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/index288.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index288.js","names":[],"sources":["../../../node_modules/@base-ui/react/dialog/title/DialogTitle.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useDialogRootContext } from \"../root/DialogRootContext.mjs\";\nimport { useRenderElement } from \"../../internals/useRenderElement.mjs\";\nimport { useBaseUiId } from \"../../internals/useBaseUiId.mjs\";\n/**\n * A heading that labels the dialog.\n * Renders an `<h2>` element.\n *\n * Documentation: [Base UI Dialog](https://base-ui.com/react/components/dialog)\n */\nexport const DialogTitle = /*#__PURE__*/React.forwardRef(function DialogTitle(componentProps, forwardedRef) {\n const {\n render,\n className,\n style,\n id: idProp,\n ...elementProps\n } = componentProps;\n const store = useDialogRootContext();\n const id = useBaseUiId(idProp);\n store.useSyncedValueWithCleanup('titleElementId', id);\n return useRenderElement('h2', componentProps, {\n ref: forwardedRef,\n props: [{\n id\n }, elementProps]\n });\n});\nif (process.env.NODE_ENV !== \"production\") DialogTitle.displayName = \"DialogTitle\";"],"x_google_ignoreList":[0],"mappings":";;;;;;AAYA,IAAa,IAA2B,gBAAM,WAAW,SAAqB,GAAgB,GAAc;CAC1G,IAAM,EACJ,WACA,cACA,UACA,IAAI,GACJ,GAAG,MACD,GACE,IAAQ,EAAqB,GAC7B,IAAK,EAAY,CAAM;CAE7B,OADA,EAAM,0BAA0B,kBAAkB,CAAE,GAC7C,EAAiB,MAAM,GAAgB;EAC5C,KAAK;EACL,OAAO,CAAC,EACN,MACF,GAAG,CAAY;CACjB,CAAC;AACH,CAAC;AACD,QAAA,IAAA,aAA6B,iBAAc,EAAY,cAAc"}
|
|
1
|
+
{"version":3,"file":"index288.js","names":["ownerWindow","platform.engine.webkit","platform.os.ios","originalHtmlStyles","originalBodyStyles","originalHtmlScrollBehavior","getViewportScroller","isOverflowElement","html","body","isPageScrollLocked","win","hasInsetScrollbars","doc","ownerDocument","referenceElement","getWindow","supportsStableScrollbarGutter","scrollContainer","originalScrollContainerOverflowY","originalHtmlStyleGutter","before","after","preventScrollOverlayScrollbars","elementToLock","originalElementToLockStyles","preventScrollInsetScrollbars","scrollTop","scrollLeft","updateGutterOnly","resizeFrame","AnimationFrame","webkit","lockScroll","htmlStyles","bodyStyles","scrollbarGutterValue","isScrollableY","isScrollableX","hasConstantOverflowY","hasConstantOverflowX","scrollbarWidth","scrollbarHeight","marginY","marginX","cleanup","handleResize","unsubscribeResize","addEventListener","SCROLL_LOCKER","Timeout","observer","options","hasOverlayScrollbars","ios","useScrollLock","enabled"],"sources":["../../../node_modules/@base-ui/utils/useScrollLock.mjs"],"sourcesContent":["'use client';\n\nimport { isOverflowElement } from '@floating-ui/utils/dom';\nimport { addEventListener } from \"./addEventListener.mjs\";\nimport { platform } from \"./platform/index.mjs\";\nimport { ownerDocument, ownerWindow } from \"./owner.mjs\";\nimport { useIsoLayoutEffect } from \"./useIsoLayoutEffect.mjs\";\nimport { Timeout } from \"./useTimeout.mjs\";\nimport { AnimationFrame } from \"./useAnimationFrame.mjs\";\nlet originalHtmlStyles = {};\nlet originalBodyStyles = {};\nlet originalHtmlScrollBehavior = '';\n\n// The viewport's overflow comes from <html> when it establishes its own scroll container, and\n// propagates from <body> otherwise. An `overflow` style on the other element doesn't lock the page.\nfunction getViewportScroller(html, body) {\n return isOverflowElement(html) ? html : body;\n}\nfunction isPageScrollLocked(win, html, body) {\n return /hidden|clip/.test(win.getComputedStyle(getViewportScroller(html, body)).overflowY);\n}\nfunction hasInsetScrollbars(referenceElement) {\n if (typeof document === 'undefined') {\n return false;\n }\n const doc = ownerDocument(referenceElement);\n const win = ownerWindow(doc);\n return win.innerWidth - doc.documentElement.clientWidth > 0;\n}\nfunction supportsStableScrollbarGutter(referenceElement) {\n const supported = typeof CSS !== 'undefined' && CSS.supports && CSS.supports('scrollbar-gutter', 'stable');\n if (!supported || typeof document === 'undefined') {\n return false;\n }\n const doc = ownerDocument(referenceElement);\n const html = doc.documentElement;\n const body = doc.body;\n const scrollContainer = getViewportScroller(html, body);\n const originalScrollContainerOverflowY = scrollContainer.style.overflowY;\n const originalHtmlStyleGutter = html.style.scrollbarGutter;\n html.style.scrollbarGutter = 'stable';\n scrollContainer.style.overflowY = 'scroll';\n const before = scrollContainer.offsetWidth;\n scrollContainer.style.overflowY = 'hidden';\n const after = scrollContainer.offsetWidth;\n scrollContainer.style.overflowY = originalScrollContainerOverflowY;\n html.style.scrollbarGutter = originalHtmlStyleGutter;\n return before === after;\n}\nfunction preventScrollOverlayScrollbars(referenceElement) {\n const doc = ownerDocument(referenceElement);\n const html = doc.documentElement;\n const body = doc.body;\n\n // If an `overflow` style is present on <html>, we need to lock it, because a lock on <body>\n // won't have any effect.\n // But if <body> has an `overflow` style (like `overflow-x: hidden`), we need to lock it\n // instead, as sticky elements shift otherwise.\n const elementToLock = getViewportScroller(html, body);\n const originalElementToLockStyles = {\n overflowY: elementToLock.style.overflowY,\n overflowX: elementToLock.style.overflowX\n };\n Object.assign(elementToLock.style, {\n overflowY: 'hidden',\n overflowX: 'hidden'\n });\n return () => {\n Object.assign(elementToLock.style, originalElementToLockStyles);\n };\n}\nfunction preventScrollInsetScrollbars(referenceElement) {\n const doc = ownerDocument(referenceElement);\n const html = doc.documentElement;\n const body = doc.body;\n const win = ownerWindow(html);\n let scrollTop = 0;\n let scrollLeft = 0;\n let updateGutterOnly = false;\n const resizeFrame = AnimationFrame.create();\n\n // Pinch-zoom in Safari causes a shift. Just don't lock scroll if there's any pinch-zoom.\n if (platform.engine.webkit && (win.visualViewport?.scale ?? 1) !== 1) {\n return () => {};\n }\n function lockScroll() {\n /* DOM reads: */\n\n const htmlStyles = win.getComputedStyle(html);\n const bodyStyles = win.getComputedStyle(body);\n const htmlScrollbarGutterValue = htmlStyles.scrollbarGutter || '';\n const hasBothEdges = htmlScrollbarGutterValue.includes('both-edges');\n const scrollbarGutterValue = hasBothEdges ? 'stable both-edges' : 'stable';\n scrollTop = html.scrollTop;\n scrollLeft = html.scrollLeft;\n originalHtmlStyles = {\n scrollbarGutter: html.style.scrollbarGutter,\n overflowY: html.style.overflowY,\n overflowX: html.style.overflowX\n };\n originalHtmlScrollBehavior = html.style.scrollBehavior;\n originalBodyStyles = {\n position: body.style.position,\n height: body.style.height,\n width: body.style.width,\n boxSizing: body.style.boxSizing,\n overflowY: body.style.overflowY,\n overflowX: body.style.overflowX,\n scrollBehavior: body.style.scrollBehavior\n };\n const isScrollableY = html.scrollHeight > html.clientHeight;\n const isScrollableX = html.scrollWidth > html.clientWidth;\n const hasConstantOverflowY = htmlStyles.overflowY === 'scroll' || bodyStyles.overflowY === 'scroll';\n const hasConstantOverflowX = htmlStyles.overflowX === 'scroll' || bodyStyles.overflowX === 'scroll';\n\n // Values can be negative in Firefox\n const scrollbarWidth = Math.max(0, win.innerWidth - body.clientWidth);\n const scrollbarHeight = Math.max(0, win.innerHeight - body.clientHeight);\n\n // Avoid shift due to the default <body> margin. This does cause elements to be clipped\n // with whitespace. Warn if <body> has margins?\n const marginY = parseFloat(bodyStyles.marginTop) + parseFloat(bodyStyles.marginBottom);\n const marginX = parseFloat(bodyStyles.marginLeft) + parseFloat(bodyStyles.marginRight);\n const elementToLock = getViewportScroller(html, body);\n updateGutterOnly = supportsStableScrollbarGutter(referenceElement);\n\n /*\n * DOM writes:\n * Do not read the DOM past this point!\n */\n\n if (updateGutterOnly) {\n html.style.scrollbarGutter = scrollbarGutterValue;\n elementToLock.style.overflowY = 'hidden';\n elementToLock.style.overflowX = 'hidden';\n return;\n }\n Object.assign(html.style, {\n scrollbarGutter: scrollbarGutterValue,\n overflowY: 'hidden',\n overflowX: 'hidden'\n });\n if (isScrollableY || hasConstantOverflowY) {\n html.style.overflowY = 'scroll';\n }\n if (isScrollableX || hasConstantOverflowX) {\n html.style.overflowX = 'scroll';\n }\n Object.assign(body.style, {\n position: 'relative',\n height: marginY || scrollbarHeight ? `calc(100dvh - ${marginY + scrollbarHeight}px)` : '100dvh',\n width: marginX || scrollbarWidth ? `calc(100vw - ${marginX + scrollbarWidth}px)` : '100vw',\n boxSizing: 'border-box',\n // Assign the longhands that `cleanup` restores, so nothing is left behind.\n overflowY: 'hidden',\n overflowX: 'hidden',\n scrollBehavior: 'unset'\n });\n body.scrollTop = scrollTop;\n body.scrollLeft = scrollLeft;\n html.setAttribute('data-base-ui-scroll-locked', '');\n html.style.scrollBehavior = 'unset';\n }\n function cleanup() {\n Object.assign(html.style, originalHtmlStyles);\n Object.assign(body.style, originalBodyStyles);\n if (!updateGutterOnly) {\n html.scrollTop = scrollTop;\n html.scrollLeft = scrollLeft;\n html.removeAttribute('data-base-ui-scroll-locked');\n html.style.scrollBehavior = originalHtmlScrollBehavior;\n }\n }\n function handleResize() {\n cleanup();\n resizeFrame.request(lockScroll);\n }\n lockScroll();\n const unsubscribeResize = addEventListener(win, 'resize', handleResize);\n return () => {\n resizeFrame.cancel();\n cleanup();\n // Sometimes this cleanup can run after test teardown because it is called\n // in a `setTimeout(fn, 0)`. Guard the returned cleanup to avoid calling\n // `removeEventListener` when it is no longer available in tests.\n if (typeof win.removeEventListener === 'function') {\n unsubscribeResize();\n }\n };\n}\nclass ScrollLocker {\n lockCount = 0;\n restore = null;\n timeoutLock = Timeout.create();\n timeoutUnlock = Timeout.create();\n acquire(referenceElement) {\n this.lockCount += 1;\n if (this.lockCount === 1 && this.restore === null) {\n this.timeoutLock.start(0, () => this.lock(referenceElement));\n }\n return this.release;\n }\n release = () => {\n this.lockCount -= 1;\n if (this.lockCount === 0 && this.restore) {\n this.timeoutUnlock.start(0, this.unlock);\n }\n };\n unlock = () => {\n if (this.lockCount === 0 && this.restore) {\n this.restore?.();\n this.restore = null;\n }\n };\n lock(referenceElement) {\n if (this.lockCount === 0 || this.restore !== null) {\n return;\n }\n const doc = ownerDocument(referenceElement);\n const html = doc.documentElement;\n const body = doc.body;\n const win = ownerWindow(html);\n\n // The page is already locked, either by the site author or by a non-Base UI overlay that\n // hasn't cleaned up yet. Leave it alone and wait for the lock to clear before taking over,\n // otherwise we'd snapshot the locked state and restore it after our own lock is released.\n if (isPageScrollLocked(win, html, body)) {\n const observer = new win.MutationObserver(() => {\n if (isPageScrollLocked(win, html, body)) {\n return;\n }\n observer.disconnect();\n this.restore = null;\n this.lock(referenceElement);\n });\n\n // Watch every attribute: locks are applied through inline styles, classes, or attributes\n // paired with a stylesheet (`data-scroll-locked` in react-remove-scroll, for example).\n const options = {\n attributes: true\n };\n observer.observe(html, options);\n observer.observe(body, options);\n this.restore = () => observer.disconnect();\n return;\n }\n const hasOverlayScrollbars = platform.os.ios || !hasInsetScrollbars(referenceElement);\n\n // On iOS, scroll locking does not work if the navbar is collapsed. Due to numerous\n // side effects and bugs that arise on iOS, it must be researched extensively before\n // being enabled to ensure it doesn't cause the following issues:\n // - Textboxes must scroll into view when focused, nor cause a glitchy scroll animation.\n // - The navbar must not force itself into view and cause layout shift.\n // - Scroll containers must not flicker upon closing a popup when it has an exit animation.\n this.restore = hasOverlayScrollbars ? preventScrollOverlayScrollbars(referenceElement) : preventScrollInsetScrollbars(referenceElement);\n }\n}\nconst SCROLL_LOCKER = new ScrollLocker();\n\n/**\n * Locks the scroll of the document when enabled.\n *\n * @param enabled - Whether to enable the scroll lock.\n * @param referenceElement - Element to use as a reference for lock calculations.\n */\nexport function useScrollLock(enabled = true, referenceElement = null) {\n useIsoLayoutEffect(() => {\n if (!enabled) {\n return undefined;\n }\n return SCROLL_LOCKER.acquire(referenceElement);\n }, [enabled, referenceElement]);\n}"],"ignoreList":[0],"mappings":"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"}
|
package/dist/index289.js
CHANGED
|
@@ -1,22 +1,57 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
2
|
+
import { useIsoLayoutEffect as e } from "./index208.js";
|
|
3
|
+
import { contains as t, getTarget as n } from "./index228.js";
|
|
4
|
+
import { useDismiss as r } from "./index251.js";
|
|
5
|
+
import { usePopupInteractionProps as i } from "./index271.js";
|
|
6
|
+
import { useScrollLock as a } from "./index288.js";
|
|
7
|
+
import * as o from "react";
|
|
8
|
+
//#region ../../node_modules/@base-ui/react/dialog/root/useDialogRoot.mjs
|
|
9
|
+
function s({ store: s, parentContext: c, isDrawer: l }) {
|
|
10
|
+
let u = s.useState("open"), d = s.useState("disablePointerDismissal"), f = s.useState("modal"), p = s.useState("popupElement"), m = s.useState("floatingRootContext"), [h, g] = o.useState(0), [_, v] = o.useState(0), y = h === 0, b = r(m, {
|
|
11
|
+
outsidePressEvent() {
|
|
12
|
+
return s.context.internalBackdropRef.current || s.context.backdropRef.current ? "intentional" : {
|
|
13
|
+
mouse: f === "trap-focus" ? "sloppy" : "intentional",
|
|
14
|
+
touch: "sloppy"
|
|
15
|
+
};
|
|
16
|
+
},
|
|
17
|
+
outsidePress(e) {
|
|
18
|
+
if (!s.context.outsidePressEnabledRef.current || "button" in e && e.button !== 0) return !1;
|
|
19
|
+
if ("touches" in e) {
|
|
20
|
+
if (e.type === "touchend") {
|
|
21
|
+
if (e.changedTouches.length !== 1 || e.touches.length !== 0) return !1;
|
|
22
|
+
} else if (e.touches.length !== 1) return !1;
|
|
13
23
|
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
24
|
+
let r = n(e);
|
|
25
|
+
if (y && !d) {
|
|
26
|
+
if (f) {
|
|
27
|
+
let e = s.context.internalBackdropRef.current, n = s.context.backdropRef.current;
|
|
28
|
+
return e || n ? e === r || n === r || t(r, p) && !r?.hasAttribute("data-base-ui-portal") : !0;
|
|
29
|
+
}
|
|
30
|
+
return !0;
|
|
31
|
+
}
|
|
32
|
+
return !1;
|
|
33
|
+
},
|
|
34
|
+
escapeKey: y
|
|
35
|
+
});
|
|
36
|
+
return a(u && f === !0, p), s.useContextCallback("onNestedDialogOpen", (e, t) => {
|
|
37
|
+
g(e), v(t);
|
|
38
|
+
}), e(() => (c?.onNestedDialogOpen && (u ? c.onNestedDialogOpen(h + 1, _ + +!!l) : c.onNestedDialogOpen(0, 0)), () => {
|
|
39
|
+
c?.onNestedDialogOpen && u && c.onNestedDialogOpen(0, 0);
|
|
40
|
+
}), [
|
|
41
|
+
l,
|
|
42
|
+
u,
|
|
43
|
+
h,
|
|
44
|
+
_,
|
|
45
|
+
c
|
|
46
|
+
]), i(s, {
|
|
47
|
+
activeTriggerProps: b.reference,
|
|
48
|
+
inactiveTriggerProps: b.trigger,
|
|
49
|
+
popupProps: b.floating,
|
|
50
|
+
nestedOpenDialogCount: h,
|
|
51
|
+
nestedOpenDrawerCount: _
|
|
52
|
+
}), null;
|
|
18
53
|
}
|
|
19
54
|
//#endregion
|
|
20
|
-
export {
|
|
55
|
+
export { s as DialogInteractions };
|
|
21
56
|
|
|
22
57
|
//# sourceMappingURL=index289.js.map
|
package/dist/index289.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index289.js","names":["React"],"sources":["../../../node_modules/@base-ui/
|
|
1
|
+
{"version":3,"file":"index289.js","names":["React","React$1","DialogInteractions","open","store","disablePointerDismissal","modal","popupElement","floatingRootContext","ownNestedOpenDialogs","setOwnNestedOpenDialogs","ownNestedOpenDrawers","setOwnNestedOpenDrawers","isTopmost","dismiss","useDismiss","event","target","getTarget","internalBackdrop","backdrop","contains","useScrollLock","dialogCount","drawerCount","useIsoLayoutEffect","parentContext","isDrawer","usePopupInteractionProps"],"sources":["../../../node_modules/@base-ui/react/dialog/root/useDialogRoot.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\nimport { useScrollLock } from '@base-ui/utils/useScrollLock';\nimport { useDismiss } from \"../../floating-ui-react/index.mjs\";\nimport { contains, getTarget } from \"../../floating-ui-react/utils.mjs\";\nimport { usePopupInteractionProps } from \"../../utils/popups/index.mjs\";\nexport function DialogInteractions({\n store,\n parentContext,\n isDrawer\n}) {\n const open = store.useState('open');\n const disablePointerDismissal = store.useState('disablePointerDismissal');\n const modal = store.useState('modal');\n const popupElement = store.useState('popupElement');\n const floatingRootContext = store.useState('floatingRootContext');\n const [ownNestedOpenDialogs, setOwnNestedOpenDialogs] = React.useState(0);\n const [ownNestedOpenDrawers, setOwnNestedOpenDrawers] = React.useState(0);\n const isTopmost = ownNestedOpenDialogs === 0;\n const dismiss = useDismiss(floatingRootContext, {\n outsidePressEvent() {\n if (store.context.internalBackdropRef.current || store.context.backdropRef.current) {\n return 'intentional';\n }\n // Ensure `aria-hidden` on outside elements is removed immediately\n // on outside press when trapping focus.\n return {\n mouse: modal === 'trap-focus' ? 'sloppy' : 'intentional',\n touch: 'sloppy'\n };\n },\n outsidePress(event) {\n if (!store.context.outsidePressEnabledRef.current) {\n return false;\n }\n\n // For mouse events, only accept left button (button 0)\n // For touch events, a single touch is equivalent to left button\n if ('button' in event && event.button !== 0) {\n return false;\n }\n if ('touches' in event) {\n // Outside press can be handled on `touchend`, where the lifted point is\n // reported in `changedTouches` and `touches` contains any remaining\n // active points. Treat it as a single-finger tap only when exactly one\n // touch ended and no other fingers are still down.\n if (event.type === 'touchend') {\n if (event.changedTouches.length !== 1 || event.touches.length !== 0) {\n return false;\n }\n } else if (event.touches.length !== 1) {\n return false;\n }\n }\n const target = getTarget(event);\n if (isTopmost && !disablePointerDismissal) {\n // Only close if the click occurred on the dialog's owning backdrop.\n // This supports multiple modal dialogs that aren't nested in the React tree:\n // https://github.com/mui/base-ui/issues/1320\n if (modal) {\n const internalBackdrop = store.context.internalBackdropRef.current;\n const backdrop = store.context.backdropRef.current;\n return internalBackdrop || backdrop ? internalBackdrop === target || backdrop === target || contains(target, popupElement) && !target?.hasAttribute('data-base-ui-portal') : true;\n }\n return true;\n }\n return false;\n },\n escapeKey: isTopmost\n });\n useScrollLock(open && modal === true, popupElement);\n\n // Listen for nested open/close events on this store to maintain the counts.\n // A close notification is an open notification with zeroed counts.\n store.useContextCallback('onNestedDialogOpen', (dialogCount, drawerCount) => {\n setOwnNestedOpenDialogs(dialogCount);\n setOwnNestedOpenDrawers(drawerCount);\n });\n\n // Notify parent of our open/close state using parent callbacks, if any\n useIsoLayoutEffect(() => {\n if (parentContext?.onNestedDialogOpen) {\n if (open) {\n parentContext.onNestedDialogOpen(ownNestedOpenDialogs + 1, ownNestedOpenDrawers + (isDrawer ? 1 : 0));\n } else {\n parentContext.onNestedDialogOpen(0, 0);\n }\n }\n return () => {\n if (parentContext?.onNestedDialogOpen && open) {\n parentContext.onNestedDialogOpen(0, 0);\n }\n };\n }, [isDrawer, open, ownNestedOpenDialogs, ownNestedOpenDrawers, parentContext]);\n usePopupInteractionProps(store, {\n // `enabled` is not passed to `useDismiss`, so its props are always defined,\n // and `trigger` is the same object as `reference`.\n activeTriggerProps: dismiss.reference,\n inactiveTriggerProps: dismiss.trigger,\n // DialogPopup and DrawerPopup spread `FOCUSABLE_POPUP_PROPS` directly, so\n // this only needs to carry the dismiss handlers.\n popupProps: dismiss.floating,\n nestedOpenDialogCount: ownNestedOpenDialogs,\n nestedOpenDrawerCount: ownNestedOpenDrawers\n });\n return null;\n}"],"ignoreList":[0],"mappings":";;;;;;;;AAQA,SAAgBE,EAAmB,EACjC,UACA,kBACA,eACC;CACD,IAAMC,IAAOC,EAAM,SAAS,MAAM,GAC5BC,IAA0BD,EAAM,SAAS,yBAAyB,GAClEE,IAAQF,EAAM,SAAS,OAAO,GAC9BG,IAAeH,EAAM,SAAS,cAAc,GAC5CI,IAAsBJ,EAAM,SAAS,qBAAqB,GAC1D,CAACK,GAAsBC,KAA2BV,EAAM,SAAS,CAAC,GAClE,CAACW,GAAsBC,KAA2BZ,EAAM,SAAS,CAAC,GAClEa,IAAYJ,MAAyB,GACrCK,IAAUC,EAAWP,GAAqB;EAC9C,oBAAoB;GAMlB,OALIJ,EAAM,QAAQ,oBAAoB,WAAWA,EAAM,QAAQ,YAAY,UAClE,gBAIF;IACL,OAAOE,MAAU,eAAe,WAAW;IAC3C,OAAO;GACT;EACF;EACA,aAAa,GAAO;GAOlB,IANI,CAACF,EAAM,QAAQ,uBAAuB,WAMtC,YAAYY,KAASA,EAAM,WAAW,GACxC,OAAO;GAET,IAAI,aAAaA,GAAO;IAKtB,IAAIA,EAAM,SAAS,YACb;SAAAA,EAAM,eAAe,WAAW,KAAKA,EAAM,QAAQ,WAAW,GAChE,OAAO;IAAA,OAEJ,IAAIA,EAAM,QAAQ,WAAW,GAClC,OAAO;GAEX;GACA,IAAMC,IAASC,EAAUF,CAAK;GAC9B,IAAIH,KAAa,CAACR,GAAyB;IAIzC,IAAIC,GAAO;KACT,IAAMa,IAAmBf,EAAM,QAAQ,oBAAoB,SACrDgB,IAAWhB,EAAM,QAAQ,YAAY;KAC3C,OAAOe,KAAoBC,IAAWD,MAAqBF,KAAUG,MAAaH,KAAUI,EAASJ,GAAQV,CAAY,KAAK,CAACU,GAAQ,aAAa,qBAAqB,IAAI;IAC/K;IACA,OAAO;GACT;GACA,OAAO;EACT;EACA,WAAWJ;CACb,CAAC;CAoCD,OAnCAS,EAAcnB,KAAQG,MAAU,IAAMC,CAAY,GAIlDH,EAAM,mBAAmB,uBAAuB,GAAa,MAAgB;EAE3E,AADAM,EAAwBa,CAAW,GACnCX,EAAwBY,CAAW;CACrC,CAAC,GAGDC,SACMC,GAAe,uBACbvB,IACFuB,EAAc,mBAAmBjB,IAAuB,GAAGE,IAAwB,IAAiB,IAEpGe,EAAc,mBAAmB,GAAG,CAAC,UAG5B;EACX,AAAIA,GAAe,sBAAsBvB,KACvCuB,EAAc,mBAAmB,GAAG,CAAC;CAEzC,IACC;EAACC;EAAUxB;EAAMM;EAAsBE;EAAsBe;CAAa,CAAC,GAC9EE,EAAyBxB,GAAO;EAG9B,oBAAoBU,EAAQ;EAC5B,sBAAsBA,EAAQ;EAG9B,YAAYA,EAAQ;EACpB,uBAAuBL;EACvB,uBAAuBE;CACzB,CAAC,GACM;AACT"}
|
package/dist/index29.js
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import e from "./
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
let i = t(), a = r?.weekStartsOn ?? r?.locale?.options?.weekStartsOn ?? i.weekStartsOn ?? i.locale?.options?.weekStartsOn ?? 0, o = e(n, r?.in), s = o.getDay(), c = (s < a ? 7 : 0) + s - a;
|
|
6
|
-
return o.setDate(o.getDate() - c), o.setHours(0, 0, 0, 0), o;
|
|
1
|
+
import { addMonths as e } from "./index27.js";
|
|
2
|
+
//#region ../../node_modules/date-fns/addYears.js
|
|
3
|
+
function t(t, n, r) {
|
|
4
|
+
return e(t, n * 12, r);
|
|
7
5
|
}
|
|
8
6
|
//#endregion
|
|
9
|
-
export {
|
|
7
|
+
export { t as addYears, t as default };
|
|
10
8
|
|
|
11
9
|
//# sourceMappingURL=index29.js.map
|
package/dist/index29.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index29.js","names":[],"sources":["../../../node_modules/date-fns/
|
|
1
|
+
{"version":3,"file":"index29.js","names":["addYears","addMonths","date","amount","options"],"sources":["../../../node_modules/date-fns/addYears.js"],"sourcesContent":["import { addMonths } from \"./addMonths.js\";\n\n/**\n * The {@link addYears} function options.\n */\n\n/**\n * @name addYears\n * @category Year Helpers\n * @summary Add the specified number of years to the given date.\n *\n * @description\n * Add the specified number of years to the given 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.\n *\n * @param date - The date to be changed\n * @param amount - The amount of years to be added.\n * @param options - The options\n *\n * @returns The new date with the years added\n *\n * @example\n * // Add 5 years to 1 September 2014:\n * const result = addYears(new Date(2014, 8, 1), 5)\n * //=> Sun Sep 01 2019 00:00:00\n */\nexport function addYears(date, amount, options) {\n return addMonths(date, amount * 12, options);\n}\n\n// Fallback for modularized imports:\nexport default addYears;\n"],"ignoreList":[0],"mappings":";;AA4BA,SAAgBA,EAAS,GAAM,GAAQ,GAAS;CAC9C,OAAOC,EAAUC,GAAMC,IAAS,IAAIC,CAAO;AAC7C"}
|
package/dist/index290.js
CHANGED
|
@@ -1,15 +1,60 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { ReactStore as e } from "./index265.js";
|
|
2
|
+
import { createPopupOpenState as t } from "./index271.js";
|
|
3
|
+
import { PopupTriggerMap as n } from "./index272.js";
|
|
4
|
+
import { createInitialPopupStoreState as r, popupStoreSelectors as i } from "./index273.js";
|
|
5
|
+
import * as a from "react";
|
|
6
|
+
//#region ../../node_modules/@base-ui/react/dialog/store/DialogStore.mjs
|
|
7
|
+
var o = {
|
|
8
|
+
...i,
|
|
9
|
+
modal: (e) => e.modal,
|
|
10
|
+
nested: (e) => e.nested,
|
|
11
|
+
nestedOpenDialogCount: (e) => e.nestedOpenDialogCount,
|
|
12
|
+
nestedOpenDrawerCount: (e) => e.nestedOpenDrawerCount,
|
|
13
|
+
disablePointerDismissal: (e) => e.disablePointerDismissal,
|
|
14
|
+
openMethod: (e) => e.openMethod,
|
|
15
|
+
descriptionElementId: (e) => e.descriptionElementId,
|
|
16
|
+
titleElementId: (e) => e.titleElementId,
|
|
17
|
+
viewportElement: (e) => e.viewportElement,
|
|
18
|
+
role: (e) => e.role
|
|
19
|
+
}, s = class extends e {
|
|
20
|
+
constructor(e, t, r) {
|
|
21
|
+
let i = new n(), a = c(e, i, t, r);
|
|
22
|
+
super(a, l(i), o);
|
|
23
|
+
}
|
|
24
|
+
setOpen = (e, n) => {
|
|
25
|
+
n.preventUnmountOnClose = () => {
|
|
26
|
+
this.set("preventUnmountingOnClose", !0);
|
|
27
|
+
}, !e && n.trigger == null && this.state.activeTriggerId != null && (n.trigger = this.state.activeTriggerElement ?? void 0), this.context.onOpenChange?.(e, n), !n.isCanceled && (this.state.floatingRootContext.dispatchOpenChange(e, n), this.update(t(this.state, e, n.trigger)));
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
function c(e, t, n, i = !1) {
|
|
31
|
+
return {
|
|
32
|
+
...r(t, n, i),
|
|
33
|
+
modal: !0,
|
|
34
|
+
disablePointerDismissal: !1,
|
|
35
|
+
viewportElement: null,
|
|
36
|
+
descriptionElementId: void 0,
|
|
37
|
+
titleElementId: void 0,
|
|
38
|
+
openMethod: null,
|
|
39
|
+
nested: !1,
|
|
40
|
+
nestedOpenDialogCount: 0,
|
|
41
|
+
nestedOpenDrawerCount: 0,
|
|
42
|
+
role: "dialog",
|
|
43
|
+
...e
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function l(e) {
|
|
47
|
+
return {
|
|
48
|
+
popupRef: /*#__PURE__*/ a.createRef(),
|
|
49
|
+
backdropRef: /*#__PURE__*/ a.createRef(),
|
|
50
|
+
internalBackdropRef: /*#__PURE__*/ a.createRef(),
|
|
51
|
+
outsidePressEnabledRef: { current: !0 },
|
|
52
|
+
triggerElements: e,
|
|
53
|
+
onOpenChange: void 0,
|
|
54
|
+
onOpenChangeComplete: void 0
|
|
55
|
+
};
|
|
11
56
|
}
|
|
12
57
|
//#endregion
|
|
13
|
-
export {
|
|
58
|
+
export { s as DialogStore };
|
|
14
59
|
|
|
15
60
|
//# sourceMappingURL=index290.js.map
|
package/dist/index290.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index290.js","names":["React"],"sources":["../../../node_modules/@base-ui/react/
|
|
1
|
+
{"version":3,"file":"index290.js","names":["React$1","selectors","popupStoreSelectors","state","DialogStore","ReactStore","triggerElements","PopupTriggerMap","createInitialState","initialState","floatingId","nested","createInitialContext","nextOpen","eventDetails","createPopupOpenState","createInitialPopupStoreState"],"sources":["../../../node_modules/@base-ui/react/dialog/store/DialogStore.mjs"],"sourcesContent":["import * as React from 'react';\nimport { ReactStore } from '@base-ui/utils/store';\nimport { NullStore } from \"../../utils/NullStore.mjs\";\nimport { createInitialPopupStoreState, popupStoreSelectors, PopupTriggerMap, createPopupOpenState } from \"../../utils/popups/index.mjs\";\nconst selectors = {\n ...popupStoreSelectors,\n modal: state => state.modal,\n nested: state => state.nested,\n nestedOpenDialogCount: state => state.nestedOpenDialogCount,\n nestedOpenDrawerCount: state => state.nestedOpenDrawerCount,\n disablePointerDismissal: state => state.disablePointerDismissal,\n openMethod: state => state.openMethod,\n descriptionElementId: state => state.descriptionElementId,\n titleElementId: state => state.titleElementId,\n viewportElement: state => state.viewportElement,\n role: state => state.role\n};\n\n/**\n * The subset of `DialogStore` that detached handle-backed triggers rely on. Both the real\n * `DialogStore` and the inert fallback store satisfy it, so a trigger can read from whichever\n * store the handle currently exposes.\n */\n\nexport class DialogStore extends ReactStore {\n constructor(initialState, floatingId, nested) {\n const triggerElements = new PopupTriggerMap();\n const state = createInitialState(initialState, triggerElements, floatingId, nested);\n super(state, createInitialContext(triggerElements), selectors);\n }\n setOpen = (nextOpen, eventDetails) => {\n eventDetails.preventUnmountOnClose = () => {\n this.set('preventUnmountingOnClose', true);\n };\n if (!nextOpen && eventDetails.trigger == null && this.state.activeTriggerId != null) {\n // When closing the dialog, pass the old trigger to the onOpenChange event\n // so it's not reset too early (potentially causing focus issues in controlled scenarios).\n eventDetails.trigger = this.state.activeTriggerElement ?? undefined;\n }\n this.context.onOpenChange?.(nextOpen, eventDetails);\n if (eventDetails.isCanceled) {\n return;\n }\n this.state.floatingRootContext.dispatchOpenChange(nextOpen, eventDetails);\n this.update(createPopupOpenState(this.state, nextOpen, eventDetails.trigger));\n };\n}\n\n/**\n * Creates the inert fallback store used by detached handle-backed triggers while no\n * `Dialog.Root` is attached. It preserves a dialog-specific trigger registry in context so\n * detached triggers can register before migrating to the live root store.\n */\nexport function createNullDialogStore() {\n const triggerElements = new PopupTriggerMap();\n return new NullStore(Object.freeze(createInitialState(undefined, triggerElements)), Object.freeze(createInitialContext(triggerElements)), selectors);\n}\nfunction createInitialState(initialState, triggerElements, floatingId, nested = false) {\n const state = {\n ...createInitialPopupStoreState(triggerElements, floatingId, nested),\n modal: true,\n disablePointerDismissal: false,\n viewportElement: null,\n descriptionElementId: undefined,\n titleElementId: undefined,\n openMethod: null,\n nested: false,\n nestedOpenDialogCount: 0,\n nestedOpenDrawerCount: 0,\n role: 'dialog',\n ...initialState\n };\n return state;\n}\nfunction createInitialContext(triggerElements) {\n return {\n popupRef: /*#__PURE__*/React.createRef(),\n backdropRef: /*#__PURE__*/React.createRef(),\n internalBackdropRef: /*#__PURE__*/React.createRef(),\n outsidePressEnabledRef: {\n current: true\n },\n triggerElements,\n onOpenChange: undefined,\n onOpenChangeComplete: undefined\n };\n}"],"ignoreList":[0],"mappings":";;;;;;AAIA,IAAMC,IAAY;CAChB,GAAGC;CACH,QAAO,MAASC,EAAM;CACtB,SAAQ,MAASA,EAAM;CACvB,wBAAuB,MAASA,EAAM;CACtC,wBAAuB,MAASA,EAAM;CACtC,0BAAyB,MAASA,EAAM;CACxC,aAAY,MAASA,EAAM;CAC3B,uBAAsB,MAASA,EAAM;CACrC,iBAAgB,MAASA,EAAM;CAC/B,kBAAiB,MAASA,EAAM;CAChC,OAAM,MAASA,EAAM;AACvB,GAQaC,IAAb,cAAiCC,EAAW;CAC1C,YAAY,GAAc,GAAY,GAAQ;EAC5C,IAAMC,IAAkB,IAAIC,EAAgB,GACtCJ,IAAQK,EAAmBC,GAAcH,GAAiBI,GAAYC,CAAM;EAClF,MAAMR,GAAOS,EAAqBN,CAAe,GAAGL,CAAS;CAC/D;CACA,WAAW,GAAU,MAAiB;EAUpC,AATA,EAAa,8BAA8B;GACzC,KAAK,IAAI,4BAA4B,EAAI;EAC3C,GACI,CAACY,KAAYC,EAAa,WAAW,QAAQ,KAAK,MAAM,mBAAmB,SAG7E,EAAa,UAAU,KAAK,MAAM,wBAAwB,KAAA,IAE5D,KAAK,QAAQ,eAAeD,GAAUC,CAAY,GAC9C,GAAa,eAGjB,KAAK,MAAM,oBAAoB,mBAAmBD,GAAUC,CAAY,GACxE,KAAK,OAAOC,EAAqB,KAAK,OAAOF,GAAUC,EAAa,OAAO,CAAC;CAC9E;AACF;AAWA,SAASN,EAAmB,GAAc,GAAiB,GAAY,IAAS,IAAO;CAerF,OAAO;EAbL,GAAGQ,EAA6BV,GAAiBI,GAAYC,CAAM;EACnE,OAAO;EACP,yBAAyB;EACzB,iBAAiB;EACjB,sBAAsB,KAAA;EACtB,gBAAgB,KAAA;EAChB,YAAY;EACZ,QAAQ;EACR,uBAAuB;EACvB,uBAAuB;EACvB,MAAM;EACN,GAAGF;CAEM;AACb;AACA,SAASG,EAAqB,GAAiB;CAC7C,OAAO;EACL,UAAuB,gBAAM,UAAU;EACvC,aAA0B,gBAAM,UAAU;EAC1C,qBAAkC,gBAAM,UAAU;EAClD,wBAAwB,EACtB,SAAS,GACX;EACA;EACA,cAAc,KAAA;EACd,sBAAsB,KAAA;CACxB;AACF"}
|
package/dist/index291.js
CHANGED
|
@@ -1,29 +1,52 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
2
|
+
import { DialogRootContext as e, useDialogRootContext as t } from "./index184.js";
|
|
3
|
+
import { imperativeAction as n } from "./index214.js";
|
|
4
|
+
import { createChangeEventDetails as r } from "./index215.js";
|
|
5
|
+
import { PopupHandleAttachment as i, useImplicitActiveTrigger as a, useOpenStateTransitions as o, usePopupRootStore as s, usePopupRootSync as c } from "./index271.js";
|
|
6
|
+
import { DialogInteractions as l } from "./index289.js";
|
|
7
|
+
import { DialogStore as u } from "./index290.js";
|
|
8
|
+
import * as d from "react";
|
|
9
|
+
import { jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
10
|
+
//#region ../../node_modules/@base-ui/react/dialog/root/useRenderDialogRoot.mjs
|
|
11
|
+
function m(m, h) {
|
|
12
|
+
let { children: g, open: _, defaultOpen: v = !1, onOpenChange: y, onOpenChangeComplete: b, disablePointerDismissal: x = !1, modal: S = !0, actionsRef: C, handle: w, triggerId: T, defaultTriggerId: E = null } = h, D = m === "drawer", O = m === "alert-dialog", k = O ? !0 : S, A = O || x, j = O ? "alertdialog" : "dialog", M = t(!0), N = {
|
|
13
|
+
modal: k,
|
|
14
|
+
disablePointerDismissal: A,
|
|
15
|
+
nested: M != null,
|
|
16
|
+
role: j
|
|
17
|
+
}, P = s((e, t) => new u({
|
|
18
|
+
open: v,
|
|
19
|
+
openProp: _,
|
|
20
|
+
activeTriggerId: E,
|
|
21
|
+
triggerIdProp: T,
|
|
22
|
+
...N
|
|
23
|
+
}, e, t), !0);
|
|
24
|
+
P.useControlledProp("openProp", _), P.useControlledProp("triggerIdProp", T), P.useSyncedValues(N), P.useContextCallback("onOpenChange", y), P.useContextCallback("onOpenChangeComplete", b);
|
|
25
|
+
let F = P.useState("open"), I = P.useState("mounted"), L = P.useState("payload");
|
|
26
|
+
c(P, F), a(P);
|
|
27
|
+
let { forceUnmount: R } = o(F, P);
|
|
28
|
+
d.useImperativeHandle(C, () => ({
|
|
29
|
+
unmount: R,
|
|
30
|
+
close: () => P.setOpen(!1, r(n))
|
|
31
|
+
}), [R, P]);
|
|
32
|
+
let z = F || I;
|
|
33
|
+
return /*#__PURE__*/ p(e.Provider, {
|
|
34
|
+
value: P,
|
|
35
|
+
children: [
|
|
36
|
+
w && /*#__PURE__*/ f(i, {
|
|
37
|
+
handle: w,
|
|
38
|
+
store: P
|
|
39
|
+
}),
|
|
40
|
+
z && /*#__PURE__*/ f(l, {
|
|
41
|
+
store: P,
|
|
42
|
+
parentContext: M?.context,
|
|
43
|
+
isDrawer: D
|
|
44
|
+
}),
|
|
45
|
+
typeof g == "function" ? g({ payload: L }) : g
|
|
46
|
+
]
|
|
47
|
+
});
|
|
25
48
|
}
|
|
26
49
|
//#endregion
|
|
27
|
-
export {
|
|
50
|
+
export { m as useRenderDialogRoot };
|
|
28
51
|
|
|
29
52
|
//# sourceMappingURL=index291.js.map
|
package/dist/index291.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index291.js","names":["
|
|
1
|
+
{"version":3,"file":"index291.js","names":["REASONS.imperativeAction","React$1","useRenderDialogRoot","openProp","disablePointerDismissalProp","modalProp","triggerIdProp","defaultTriggerIdProp","props","isDrawer","mode","isAlertDialog","modal","disablePointerDismissal","role","parentStore","useDialogRootContext","rootState","store","usePopupRootStore","DialogStore","defaultOpen","floatingId","floatingNested","onOpenChange","onOpenChangeComplete","open","mounted","payload","usePopupRootSync","useImplicitActiveTrigger","useOpenStateTransitions","actionsRef","forceUnmount","createChangeEventDetails","imperativeAction","shouldRenderInteractions","DialogRootContext","handle","PopupHandleAttachment","DialogInteractions","children"],"sources":["../../../node_modules/@base-ui/react/dialog/root/useRenderDialogRoot.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { DialogInteractions } from \"./useDialogRoot.mjs\";\nimport { DialogRootContext, useDialogRootContext } from \"./DialogRootContext.mjs\";\nimport { DialogStore } from \"../store/DialogStore.mjs\";\nimport { createChangeEventDetails } from \"../../internals/createBaseUIEventDetails.mjs\";\nimport { REASONS } from \"../../internals/reasons.mjs\";\nimport { useImplicitActiveTrigger, useOpenStateTransitions, PopupHandleAttachment, usePopupRootStore, usePopupRootSync } from \"../../utils/popups/index.mjs\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nexport function useRenderDialogRoot(mode, props) {\n const {\n children,\n open: openProp,\n defaultOpen = false,\n onOpenChange,\n onOpenChangeComplete,\n disablePointerDismissal: disablePointerDismissalProp = false,\n modal: modalProp = true,\n actionsRef,\n handle,\n triggerId: triggerIdProp,\n defaultTriggerId: defaultTriggerIdProp = null\n } = props;\n const isDrawer = mode === 'drawer';\n const isAlertDialog = mode === 'alert-dialog';\n const modal = isAlertDialog ? true : modalProp;\n const disablePointerDismissal = isAlertDialog || disablePointerDismissalProp;\n const role = isAlertDialog ? 'alertdialog' : 'dialog';\n const parentStore = useDialogRootContext(true);\n const nested = parentStore != null;\n const rootState = {\n modal,\n disablePointerDismissal,\n nested,\n role\n };\n\n // The store is owned by this Root instance and created exactly once. It is not tied to the handle:\n // the handle attaches to it, so swapping the handle re-attaches rather than recreating state.\n // Default values are only initial values; controlled values and root state are synced after creation.\n // Dialogs pass the popup element to Floating UI as the floating element (`treatPopupAsFloatingElement`).\n const store = usePopupRootStore((floatingId, floatingNested) => new DialogStore({\n open: defaultOpen,\n openProp,\n activeTriggerId: defaultTriggerIdProp,\n triggerIdProp,\n ...rootState\n }, floatingId, floatingNested), true);\n store.useControlledProp('openProp', openProp);\n store.useControlledProp('triggerIdProp', triggerIdProp);\n store.useSyncedValues(rootState);\n store.useContextCallback('onOpenChange', onOpenChange);\n store.useContextCallback('onOpenChangeComplete', onOpenChangeComplete);\n const open = store.useState('open');\n const mounted = store.useState('mounted');\n const payload = store.useState('payload');\n usePopupRootSync(store, open);\n useImplicitActiveTrigger(store);\n const {\n forceUnmount\n } = useOpenStateTransitions(open, store);\n React.useImperativeHandle(actionsRef, () => ({\n unmount: forceUnmount,\n close: () => store.setOpen(false, createChangeEventDetails(REASONS.imperativeAction))\n }), [forceUnmount, store]);\n const shouldRenderInteractions = open || mounted;\n return /*#__PURE__*/_jsxs(DialogRootContext.Provider, {\n value: store,\n children: [handle && /*#__PURE__*/_jsx(PopupHandleAttachment, {\n handle: handle,\n store: store\n }), shouldRenderInteractions && /*#__PURE__*/_jsx(DialogInteractions, {\n store: store,\n parentContext: parentStore?.context,\n isDrawer: isDrawer\n }), typeof children === 'function' ? children({\n payload\n }) : children]\n });\n}"],"ignoreList":[0],"mappings":";;;;;;;;;;AAUA,SAAgBE,EAAoB,GAAM,GAAO;CAC/C,IAAM,EACJ,aACA,MAAMC,GACN,iBAAc,IACd,iBACA,yBACA,yBAAyBC,IAA8B,IACvD,OAAOC,IAAY,IACnB,eACA,WACA,WAAWC,GACX,kBAAkBC,IAAuB,SACvCC,GACEC,IAAWC,MAAS,UACpBC,IAAgBD,MAAS,gBACzBE,IAAQD,IAAgB,KAAON,GAC/BQ,IAA0BF,KAAiBP,GAC3CU,IAAOH,IAAgB,gBAAgB,UACvCI,IAAcC,EAAqB,EAAI,GAEvCC,IAAY;EAChB;EACA;EACA,QAJaF,KAAe;EAK5B;CACF,GAMMG,IAAQC,GAAmB,GAAY,MAAmB,IAAIC,EAAY;EAC9E,MAAMC;EACN;EACA,iBAAiBd;EACjB;EACA,GAAGU;CACL,GAAGK,GAAYC,CAAc,GAAG,EAAI;CAKpC,AAJAL,EAAM,kBAAkB,YAAYf,CAAQ,GAC5Ce,EAAM,kBAAkB,iBAAiBZ,CAAa,GACtDY,EAAM,gBAAgBD,CAAS,GAC/BC,EAAM,mBAAmB,gBAAgBM,CAAY,GACrDN,EAAM,mBAAmB,wBAAwBO,CAAoB;CACrE,IAAMC,IAAOR,EAAM,SAAS,MAAM,GAC5BS,IAAUT,EAAM,SAAS,SAAS,GAClCU,IAAUV,EAAM,SAAS,SAAS;CAExC,AADAW,EAAiBX,GAAOQ,CAAI,GAC5BI,EAAyBZ,CAAK;CAC9B,IAAM,EACJ,oBACEa,EAAwBL,GAAMR,CAAK;CACvC,EAAM,oBAAoBc,UAAmB;EAC3C,SAASC;EACT,aAAaf,EAAM,QAAQ,IAAOgB,EAAyBlC,CAAwB,CAAC;CACtF,IAAI,CAACiC,GAAcf,CAAK,CAAC;CACzB,IAAMkB,IAA2BV,KAAQC;CACzC,OAAoB,gBAAMU,EAAkB,UAAU;EACpD,OAAOnB;EACP,UAAU;GAACoB,KAAuB,gBAAKC,GAAuB;IACpD;IACD;GACT,CAAC;GAAGH,KAAyC,gBAAKI,GAAoB;IAC7D;IACP,eAAezB,GAAa;IAClB;GACZ,CAAC;GAAG,OAAO0B,KAAa,aAAaA,EAAS,EAC5C,WACF,CAAC,IAAIA;EAAQ;CACf,CAAC;AACH"}
|
package/dist/index292.js
CHANGED
|
@@ -1,56 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import e from "./
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import { useBaseUiId as a } from "./index214.js";
|
|
8
|
-
import { CLICK_TRIGGER_IDENTIFIER as o } from "./index240.js";
|
|
9
|
-
import { useClick as s } from "./index246.js";
|
|
10
|
-
import { useTriggerDataForwarding as c } from "./index267.js";
|
|
11
|
-
import { usePopupHandleStore as l } from "./index271.js";
|
|
12
|
-
import { useOpenMethodTriggerProps as u } from "./index291.js";
|
|
13
|
-
import * as d from "react";
|
|
14
|
-
//#region ../../node_modules/@base-ui/react/dialog/trigger/DialogTrigger.mjs
|
|
15
|
-
var f = /*#__PURE__*/ d.forwardRef(function(f, p) {
|
|
16
|
-
let { render: m, className: h, style: g, disabled: _ = !1, nativeButton: v = !0, id: y, payload: b, handle: x, ...S } = f, C = t(!0), w = l(x) ?? C;
|
|
17
|
-
if (!w) throw Error(process.env.NODE_ENV === "production" ? e(79) : "Base UI: <Dialog.Trigger> must be used within <Dialog.Root> or provided with a handle.");
|
|
18
|
-
let T = a(y), E = w.useState("floatingRootContext"), D = w.useState("isOpenedByTrigger", T), O = w.useState("triggerPopupId", T), k = d.useRef(null), { registerTrigger: A, isMountedByThisTrigger: j } = c(T, k, w, { payload: b }), { getButtonProps: M, buttonRef: N } = i({
|
|
19
|
-
disabled: _,
|
|
20
|
-
native: v
|
|
21
|
-
}), P = s(E), F = u(() => w.select("open"), (e) => {
|
|
22
|
-
w.set("openMethod", e);
|
|
23
|
-
}), I = {
|
|
24
|
-
disabled: _,
|
|
25
|
-
open: D
|
|
26
|
-
}, L = w.useState("triggerProps", j);
|
|
27
|
-
return n("button", f, {
|
|
28
|
-
state: I,
|
|
29
|
-
ref: [
|
|
30
|
-
N,
|
|
31
|
-
p,
|
|
32
|
-
A,
|
|
33
|
-
k
|
|
34
|
-
],
|
|
35
|
-
props: [
|
|
36
|
-
P.reference,
|
|
37
|
-
L,
|
|
38
|
-
F,
|
|
39
|
-
{
|
|
40
|
-
[o]: "",
|
|
41
|
-
id: T,
|
|
42
|
-
"aria-haspopup": "dialog",
|
|
43
|
-
"aria-expanded": D,
|
|
44
|
-
"aria-controls": O
|
|
45
|
-
},
|
|
46
|
-
S,
|
|
47
|
-
M
|
|
48
|
-
],
|
|
49
|
-
stateAttributesMapping: r
|
|
50
|
-
});
|
|
2
|
+
import { fastComponent as e } from "./index262.js";
|
|
3
|
+
import { useRenderDialogRoot as t } from "./index291.js";
|
|
4
|
+
//#region ../../node_modules/@base-ui/react/dialog/root/DialogRoot.mjs
|
|
5
|
+
var n = e(function(e) {
|
|
6
|
+
return t("dialog", e);
|
|
51
7
|
});
|
|
52
|
-
process.env.NODE_ENV !== "production" && (
|
|
8
|
+
process.env.NODE_ENV !== "production" && (n.displayName = "DialogRoot");
|
|
53
9
|
//#endregion
|
|
54
|
-
export {
|
|
10
|
+
export { n as DialogRoot };
|
|
55
11
|
|
|
56
12
|
//# sourceMappingURL=index292.js.map
|
package/dist/index292.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index292.js","names":["
|
|
1
|
+
{"version":3,"file":"index292.js","names":["DialogRoot","fastComponent","useRenderDialogRoot","props"],"sources":["../../../node_modules/@base-ui/react/dialog/root/DialogRoot.mjs"],"sourcesContent":["'use client';\n\nimport { fastComponent } from '@base-ui/utils/fastHooks';\nimport { useRenderDialogRoot } from \"./useRenderDialogRoot.mjs\";\n\n/**\n * Groups all parts of the dialog.\n * Doesn't render its own HTML element.\n *\n * Documentation: [Base UI Dialog](https://base-ui.com/react/components/dialog)\n */\nexport const DialogRoot = fastComponent(function DialogRoot(props) {\n return useRenderDialogRoot('dialog', props);\n});\nif (process.env.NODE_ENV !== \"production\") DialogRoot.displayName = \"DialogRoot\";"],"ignoreList":[0],"mappings":";;;;AAWA,IAAaA,IAAaC,EAAc,SAAoB,GAAO;CACjE,OAAOC,EAAoB,UAAUC,CAAK;AAC5C,CAAC;AACD,QAAA,IAAA,aAA6B,iBAAc,EAAW,cAAc"}
|
package/dist/index293.js
CHANGED
|
@@ -1,9 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
"use client";
|
|
2
|
+
import { useDialogRootContext as e } from "./index184.js";
|
|
3
|
+
import { useRenderElement as t } from "./index197.js";
|
|
4
|
+
import { useBaseUiId as n } from "./index218.js";
|
|
5
|
+
import * as r from "react";
|
|
6
|
+
//#region ../../node_modules/@base-ui/react/dialog/title/DialogTitle.mjs
|
|
7
|
+
var i = /*#__PURE__*/ r.forwardRef(function(r, i) {
|
|
8
|
+
let { render: a, className: o, style: s, id: c, ...l } = r, u = e(), d = n(c);
|
|
9
|
+
return u.useSyncedValueWithCleanup("titleElementId", d), t("h2", r, {
|
|
10
|
+
ref: i,
|
|
11
|
+
props: [{ id: d }, l]
|
|
12
|
+
});
|
|
13
|
+
});
|
|
14
|
+
process.env.NODE_ENV !== "production" && (i.displayName = "DialogTitle");
|
|
6
15
|
//#endregion
|
|
7
|
-
export {
|
|
16
|
+
export { i as DialogTitle };
|
|
8
17
|
|
|
9
18
|
//# sourceMappingURL=index293.js.map
|
package/dist/index293.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index293.js","names":[],"sources":["
|
|
1
|
+
{"version":3,"file":"index293.js","names":["React$1","DialogTitle","idProp","elementProps","componentProps","store","useDialogRootContext","id","useBaseUiId","useRenderElement","forwardedRef"],"sources":["../../../node_modules/@base-ui/react/dialog/title/DialogTitle.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useDialogRootContext } from \"../root/DialogRootContext.mjs\";\nimport { useRenderElement } from \"../../internals/useRenderElement.mjs\";\nimport { useBaseUiId } from \"../../internals/useBaseUiId.mjs\";\n/**\n * A heading that labels the dialog.\n * Renders an `<h2>` element.\n *\n * Documentation: [Base UI Dialog](https://base-ui.com/react/components/dialog)\n */\nexport const DialogTitle = /*#__PURE__*/React.forwardRef(function DialogTitle(componentProps, forwardedRef) {\n const {\n render,\n className,\n style,\n id: idProp,\n ...elementProps\n } = componentProps;\n const store = useDialogRootContext();\n const id = useBaseUiId(idProp);\n store.useSyncedValueWithCleanup('titleElementId', id);\n return useRenderElement('h2', componentProps, {\n ref: forwardedRef,\n props: [{\n id\n }, elementProps]\n });\n});\nif (process.env.NODE_ENV !== \"production\") DialogTitle.displayName = \"DialogTitle\";"],"ignoreList":[0],"mappings":";;;;;;AAYA,IAAaC,IAA2B,gBAAM,WAAW,SAAqB,GAAgB,GAAc;CAC1G,IAAM,EACJ,WACA,cACA,UACA,IAAIC,GACJ,GAAGC,MACDC,GACEC,IAAQC,EAAqB,GAC7BC,IAAKC,EAAYN,CAAM;CAE7B,OADAG,EAAM,0BAA0B,kBAAkBE,CAAE,GAC7CE,EAAiB,MAAML,GAAgB;EAC5C,KAAKM;EACL,OAAO,CAAC,EACN,MACF,GAAGP,CAAY;CACjB,CAAC;AACH,CAAC;AACD,QAAA,IAAA,aAA6B,iBAAc,EAAY,cAAc"}
|