@rpcbase/ui 0.210.0 → 0.212.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/index.js +73 -25
- package/dist/index.js.map +1 -0
- package/dist/index10.js +666 -18
- package/dist/index10.js.map +1 -1
- package/dist/index100.js +46 -9
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +7 -14
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +50 -10
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +233 -15
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +25 -21
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +27 -27
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +404 -9
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +609 -9
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +55 -10
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +6 -8
- package/dist/index109.js.map +1 -1
- package/dist/index11.js +459 -1673
- package/dist/index11.js.map +1 -1
- package/dist/index110.js +7 -8
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +17 -7
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +8 -11
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +10 -10
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +19 -37
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +6 -9
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +7 -8
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +8 -10
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +8 -12
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +6 -7
- package/dist/index119.js.map +1 -1
- package/dist/index12.js +79 -10
- package/dist/index12.js.map +1 -1
- package/dist/index120.js +6 -8
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +8 -7
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +27 -8
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +9 -9
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +6 -7
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +8 -7
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +8 -10
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +8 -60
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +8 -9
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +8 -23
- package/dist/index129.js.map +1 -1
- package/dist/index13.js +23 -21
- package/dist/index13.js.map +1 -1
- package/dist/index130.js +11 -22
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +8 -37
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +7 -8
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +7 -11
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +9 -17
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +148 -13
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +42 -9
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +7 -8
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +10 -8
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +16 -8
- package/dist/index139.js.map +1 -1
- package/dist/index14.js +20 -194
- package/dist/index14.js.map +1 -1
- package/dist/index140.js +16 -8
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +10 -7
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +34 -9
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +14 -24
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +13 -11
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +11 -10
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +16 -9
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +104 -9
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +23 -8
- package/dist/index148.js.map +1 -1
- package/dist/index149.js +56 -7
- package/dist/index149.js.map +1 -1
- package/dist/index15.js +30 -33
- package/dist/index15.js.map +1 -1
- package/dist/index150.js +75 -8
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +12 -7
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +23 -8
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +19 -7
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +26 -7
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +9 -7
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +9 -32
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +26 -35
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +38 -19
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +19 -15
- package/dist/index159.js.map +1 -1
- package/dist/index16.js +268 -57
- package/dist/index16.js.map +1 -1
- package/dist/index160.js +9 -12
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +7 -19
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +7 -89
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +7 -50
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +7 -20
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +6 -11
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +9 -13
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +27 -9
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +10 -25
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +9 -10
- package/dist/index169.js.map +1 -1
- package/dist/index17.js +179 -9
- package/dist/index17.js.map +1 -1
- package/dist/index170.js +8 -9
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +6 -9
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +6 -7
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +7 -9
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +6 -70
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +7 -20
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +6 -15
- package/dist/index176.js.map +1 -1
- package/dist/index177.js +6 -12
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +6 -23
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +16 -20
- package/dist/index179.js.map +1 -1
- package/dist/index18.js +469 -27
- package/dist/index18.js.map +1 -1
- package/dist/index180.js +158 -59
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +33 -13
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +12 -9
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +51 -29
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +14 -29
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +47 -16
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +98 -16
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +90 -10
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +109 -27
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +55 -388
- package/dist/index189.js.map +1 -1
- package/dist/index19.js +266 -65
- package/dist/index19.js.map +1 -1
- package/dist/index190.js +15 -499
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +39 -132
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +11 -55
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +6 -80
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +12 -902
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +119 -22
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +21 -452
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +18 -7
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +38 -59
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +23 -64
- package/dist/index199.js.map +1 -1
- package/dist/index2.js +8 -10
- package/dist/index2.js.map +1 -0
- package/dist/index20.js +5 -43
- package/dist/index20.js.map +1 -1
- package/dist/index200.js +11 -63
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +22 -11
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +31 -19
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +20 -148
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +28 -7
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +32 -14
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +7 -107
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +65 -355
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +184 -99
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +49 -329
- package/dist/index209.js.map +1 -1
- package/dist/index21.js +28 -11
- package/dist/index21.js.map +1 -1
- package/dist/index210.js +60 -212
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +12 -22
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +69 -30
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +21 -189
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +20 -21
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +9 -65
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +8 -46
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +9 -12
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +8 -28
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +9 -47
- package/dist/index219.js.map +1 -1
- package/dist/index22.js +48 -16
- package/dist/index22.js.map +1 -1
- package/dist/index220.js +19 -20
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +8 -6
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +7 -7
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +15 -23
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +12 -27
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +16 -70
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +16 -17
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +8 -7
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +8 -53
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +9 -8
- package/dist/index229.js.map +1 -1
- package/dist/index23.js +37 -109
- package/dist/index23.js.map +1 -1
- package/dist/index230.js +7 -28
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +57 -16
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +11 -12
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +8 -3
- package/dist/index233.js.map +1 -0
- package/dist/index234.js +7 -28
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +11 -71
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +8 -3
- package/dist/index236.js.map +1 -0
- package/dist/index237.js +7 -14
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +6 -53
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +13 -117
- package/dist/index239.js.map +1 -1
- package/dist/index24.js +227 -11
- package/dist/index24.js.map +1 -1
- package/dist/index240.js +13 -9
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +13 -16
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +13 -689
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +14 -256
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +13 -704
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +9 -7433
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +8 -9
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +7 -15
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +8 -8
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +9 -462
- package/dist/index249.js.map +1 -1
- package/dist/index25.js +32 -23
- package/dist/index25.js.map +1 -1
- package/dist/index250.js +9 -41
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +19 -22
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +10 -30
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +13 -7
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +14 -62
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +24 -10
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +13 -15
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +13 -6
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +12 -19
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +7 -28
- package/dist/index259.js.map +1 -1
- package/dist/index26.js +16 -60
- package/dist/index26.js.map +1 -1
- package/dist/index260.js +9 -47
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +19 -16
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +12 -28
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +21 -20
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +18 -38
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +15 -8
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +32 -12
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +15 -11
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +28 -12
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +8 -13
- package/dist/index269.js.map +1 -1
- package/dist/index27.js +2924 -58
- package/dist/index27.js.map +1 -1
- package/dist/index270.js +23 -10
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +8 -77
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +5 -174
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +27 -118
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +115 -17
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +17 -82
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +528 -45
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +129 -17
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +137 -20
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +8 -103
- package/dist/index279.js.map +1 -1
- package/dist/index28.js +6 -1
- package/dist/index28.js.map +1 -0
- package/dist/index280.js +21 -60
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +16 -112
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +65 -72
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +72 -117
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +12 -59
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +17 -47
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +69 -146
- package/dist/index286.js.map +1 -1
- package/dist/index287.js +8 -143
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +8 -258
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +7 -244
- package/dist/index289.js.map +1 -1
- package/dist/index29.js +40 -5
- package/dist/index29.js.map +1 -0
- package/dist/index290.js +19 -302
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +11 -8
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +8 -9
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +7 -10
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +548 -9
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +50 -10
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +20 -24
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +8 -13
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +11 -130
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +9 -167
- package/dist/index299.js.map +1 -1
- package/dist/index3.js +181 -6
- package/dist/index3.js.map +1 -1
- package/dist/index30.js +6 -8
- package/dist/index30.js.map +1 -1
- package/dist/index300.js +11 -72
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +14 -112
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +12 -495
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +15 -65
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +7 -7
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +25 -30
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +6 -67
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +58 -155
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +71 -65
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +32 -563
- package/dist/index309.js.map +1 -1
- package/dist/index31.js +128 -9
- package/dist/index31.js.map +1 -1
- package/dist/index310.js +11 -213
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +156 -335
- package/dist/index311.js.map +1 -1
- package/dist/index312.js +110 -271
- package/dist/index312.js.map +1 -1
- package/dist/index313.js +26 -0
- package/dist/index313.js.map +1 -0
- package/dist/index314.js +16 -0
- package/dist/index314.js.map +1 -0
- package/dist/index315.js +31 -0
- package/dist/index315.js.map +1 -0
- package/dist/index316.js +8 -0
- package/dist/index316.js.map +1 -0
- package/dist/index317.js +19 -0
- package/dist/index317.js.map +1 -0
- package/dist/index318.js +32 -0
- package/dist/index318.js.map +1 -0
- package/dist/index319.js +16 -0
- package/dist/index319.js.map +1 -0
- package/dist/index32.js +234 -8
- package/dist/index32.js.map +1 -1
- package/dist/index320.js +10 -0
- package/dist/index320.js.map +1 -0
- package/dist/index33.js +26 -10
- package/dist/index33.js.map +1 -1
- package/dist/index34.js +54 -14
- package/dist/index34.js.map +1 -1
- package/dist/index35.js +24 -8
- package/dist/index35.js.map +1 -1
- package/dist/index36.js +133 -11
- package/dist/index36.js.map +1 -1
- package/dist/index37.js +225 -12
- package/dist/index37.js.map +1 -1
- package/dist/index38.js +94 -16
- package/dist/index38.js.map +1 -1
- package/dist/index39.js +121 -9
- package/dist/index39.js.map +1 -1
- package/dist/index4.js +28 -25
- package/dist/index4.js.map +1 -1
- package/dist/index40.js +8 -9
- package/dist/index40.js.map +1 -1
- package/dist/index41.js +847 -10
- package/dist/index41.js.map +1 -1
- package/dist/index42.js +60 -13
- package/dist/index42.js.map +1 -1
- package/dist/index43.js +10 -11
- package/dist/index43.js.map +1 -1
- package/dist/index44.js +5 -9
- package/dist/index44.js.map +1 -1
- package/dist/index45.js +14 -8
- package/dist/index45.js.map +1 -1
- package/dist/index46.js +21 -14
- package/dist/index46.js.map +1 -1
- package/dist/index47.js +10 -14
- package/dist/index47.js.map +1 -1
- package/dist/index48.js +5 -11
- package/dist/index48.js.map +1 -1
- package/dist/index49.js +26 -7
- package/dist/index49.js.map +1 -1
- package/dist/index5.js +41 -34
- package/dist/index5.js.map +1 -1
- package/dist/index50.js +236 -9
- package/dist/index50.js.map +1 -1
- package/dist/index51.js +9 -9
- package/dist/index51.js.map +1 -1
- package/dist/index52.js +36 -9
- package/dist/index52.js.map +1 -1
- package/dist/index53.js +29 -12
- package/dist/index53.js.map +1 -1
- package/dist/index54.js +10 -16
- package/dist/index54.js.map +1 -1
- package/dist/index55.js +14 -9
- package/dist/index55.js.map +1 -1
- package/dist/index56.js +5 -10
- package/dist/index56.js.map +1 -1
- package/dist/index57.js +5 -10
- package/dist/index57.js.map +1 -1
- package/dist/index58.js +5 -17
- package/dist/index58.js.map +1 -1
- package/dist/index59.js +5 -11
- package/dist/index59.js.map +1 -1
- package/dist/index6.js +469 -42
- package/dist/index6.js.map +1 -1
- package/dist/index60.js +208 -12
- package/dist/index60.js.map +1 -1
- package/dist/index61.js +8 -70
- package/dist/index61.js.map +1 -1
- package/dist/index62.js +10 -10
- package/dist/index62.js.map +1 -1
- package/dist/index63.js +8 -33
- package/dist/index63.js.map +1 -1
- package/dist/index64.js +7 -13
- package/dist/index64.js.map +1 -1
- package/dist/index65.js +50 -18
- package/dist/index65.js.map +1 -1
- package/dist/index66.js +53 -203
- package/dist/index66.js.map +1 -1
- package/dist/index67.js +10 -23
- package/dist/index67.js.map +1 -1
- package/dist/index68.js +17 -19
- package/dist/index68.js.map +1 -1
- package/dist/index69.js +136 -125
- package/dist/index69.js.map +1 -1
- package/dist/index7.js +138 -224
- package/dist/index7.js.map +1 -1
- package/dist/index70.js +13 -21
- package/dist/index70.js.map +1 -1
- package/dist/index71.js +219 -11
- package/dist/index71.js.map +1 -1
- package/dist/index72.js +16 -13
- package/dist/index72.js.map +1 -1
- package/dist/index73.js +49 -16
- package/dist/index73.js.map +1 -1
- package/dist/index74.js +52 -12
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +7 -13
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +8 -7
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +30 -44
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +52 -383
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +11 -41
- package/dist/index79.js.map +1 -1
- package/dist/index8.js +875 -37
- package/dist/index8.js.map +1 -1
- package/dist/index80.js +46 -21
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +8 -60
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +72 -11
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +5 -9
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +367 -9
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +265 -9
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +64 -9
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +50 -10
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +173 -10
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +113 -14
- package/dist/index89.js.map +1 -1
- package/dist/index9.js +8 -33
- package/dist/index9.js.map +1 -1
- package/dist/index90.js +27 -10
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +11 -10
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +7 -8
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +8 -10
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +7 -50
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +469 -108
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +188 -13
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +110 -9
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +265 -9
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +12 -8
- package/dist/index99.js.map +1 -1
- package/package.json +7 -7
package/dist/index309.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index309.js","names":["React","PopperPrimitive.Root","PopperPrimitive.Anchor","PortalPrimitive","RemoveScroll","RovingFocusGroup.Root","PopperPrimitive.Content","RovingFocusGroup.Item","PopperPrimitive.Arrow"],"sources":["../../../node_modules/@radix-ui/react-menu/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/menu.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { createCollection } from \"@radix-ui/react-collection\";\nimport { useComposedRefs, composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useDirection } from \"@radix-ui/react-direction\";\nimport { DismissableLayer } from \"@radix-ui/react-dismissable-layer\";\nimport { useFocusGuards } from \"@radix-ui/react-focus-guards\";\nimport { FocusScope } from \"@radix-ui/react-focus-scope\";\nimport { useId } from \"@radix-ui/react-id\";\nimport * as PopperPrimitive from \"@radix-ui/react-popper\";\nimport { createPopperScope } from \"@radix-ui/react-popper\";\nimport { Portal as PortalPrimitive } from \"@radix-ui/react-portal\";\nimport { Presence } from \"@radix-ui/react-presence\";\nimport { Primitive, dispatchDiscreteCustomEvent } from \"@radix-ui/react-primitive\";\nimport * as RovingFocusGroup from \"@radix-ui/react-roving-focus\";\nimport { createRovingFocusGroupScope } from \"@radix-ui/react-roving-focus\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { hideOthers } from \"aria-hidden\";\nimport { RemoveScroll } from \"react-remove-scroll\";\nimport { jsx } from \"react/jsx-runtime\";\nvar SELECTION_KEYS = [\"Enter\", \" \"];\nvar FIRST_KEYS = [\"ArrowDown\", \"PageUp\", \"Home\"];\nvar LAST_KEYS = [\"ArrowUp\", \"PageDown\", \"End\"];\nvar FIRST_LAST_KEYS = [...FIRST_KEYS, ...LAST_KEYS];\nvar SUB_OPEN_KEYS = {\n ltr: [...SELECTION_KEYS, \"ArrowRight\"],\n rtl: [...SELECTION_KEYS, \"ArrowLeft\"]\n};\nvar SUB_CLOSE_KEYS = {\n ltr: [\"ArrowLeft\"],\n rtl: [\"ArrowRight\"]\n};\nvar MENU_NAME = \"Menu\";\nvar [Collection, useCollection, createCollectionScope] = createCollection(MENU_NAME);\nvar [createMenuContext, createMenuScope] = createContextScope(MENU_NAME, [\n createCollectionScope,\n createPopperScope,\n createRovingFocusGroupScope\n]);\nvar usePopperScope = createPopperScope();\nvar useRovingFocusGroupScope = createRovingFocusGroupScope();\nvar [MenuProvider, useMenuContext] = createMenuContext(MENU_NAME);\nvar [MenuRootProvider, useMenuRootContext] = createMenuContext(MENU_NAME);\nvar Menu = (props) => {\n const { __scopeMenu, open = false, children, dir, onOpenChange, modal = true } = props;\n const popperScope = usePopperScope(__scopeMenu);\n const [content, setContent] = React.useState(null);\n const isUsingKeyboardRef = React.useRef(false);\n const handleOpenChange = useCallbackRef(onOpenChange);\n const direction = useDirection(dir);\n React.useEffect(() => {\n const handleKeyDown = () => {\n isUsingKeyboardRef.current = true;\n document.addEventListener(\"pointerdown\", handlePointer, { capture: true, once: true });\n document.addEventListener(\"pointermove\", handlePointer, { capture: true, once: true });\n };\n const handlePointer = () => isUsingKeyboardRef.current = false;\n document.addEventListener(\"keydown\", handleKeyDown, { capture: true });\n return () => {\n document.removeEventListener(\"keydown\", handleKeyDown, { capture: true });\n document.removeEventListener(\"pointerdown\", handlePointer, { capture: true });\n document.removeEventListener(\"pointermove\", handlePointer, { capture: true });\n };\n }, []);\n return /* @__PURE__ */ jsx(PopperPrimitive.Root, { ...popperScope, children: /* @__PURE__ */ jsx(\n MenuProvider,\n {\n scope: __scopeMenu,\n open,\n onOpenChange: handleOpenChange,\n content,\n onContentChange: setContent,\n children: /* @__PURE__ */ jsx(\n MenuRootProvider,\n {\n scope: __scopeMenu,\n onClose: React.useCallback(() => handleOpenChange(false), [handleOpenChange]),\n isUsingKeyboardRef,\n dir: direction,\n modal,\n children\n }\n )\n }\n ) });\n};\nMenu.displayName = MENU_NAME;\nvar ANCHOR_NAME = \"MenuAnchor\";\nvar MenuAnchor = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeMenu, ...anchorProps } = props;\n const popperScope = usePopperScope(__scopeMenu);\n return /* @__PURE__ */ jsx(PopperPrimitive.Anchor, { ...popperScope, ...anchorProps, ref: forwardedRef });\n }\n);\nMenuAnchor.displayName = ANCHOR_NAME;\nvar PORTAL_NAME = \"MenuPortal\";\nvar [PortalProvider, usePortalContext] = createMenuContext(PORTAL_NAME, {\n forceMount: void 0\n});\nvar MenuPortal = (props) => {\n const { __scopeMenu, forceMount, children, container } = props;\n const context = useMenuContext(PORTAL_NAME, __scopeMenu);\n return /* @__PURE__ */ jsx(PortalProvider, { scope: __scopeMenu, forceMount, children: /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(PortalPrimitive, { asChild: true, container, children }) }) });\n};\nMenuPortal.displayName = PORTAL_NAME;\nvar CONTENT_NAME = \"MenuContent\";\nvar [MenuContentProvider, useMenuContentContext] = createMenuContext(CONTENT_NAME);\nvar MenuContent = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(CONTENT_NAME, props.__scopeMenu);\n const { forceMount = portalContext.forceMount, ...contentProps } = props;\n const context = useMenuContext(CONTENT_NAME, props.__scopeMenu);\n const rootContext = useMenuRootContext(CONTENT_NAME, props.__scopeMenu);\n return /* @__PURE__ */ jsx(Collection.Provider, { scope: props.__scopeMenu, children: /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(Collection.Slot, { scope: props.__scopeMenu, children: rootContext.modal ? /* @__PURE__ */ jsx(MenuRootContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ jsx(MenuRootContentNonModal, { ...contentProps, ref: forwardedRef }) }) }) });\n }\n);\nvar MenuRootContentModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = useMenuContext(CONTENT_NAME, props.__scopeMenu);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n React.useEffect(() => {\n const content = ref.current;\n if (content) return hideOthers(content);\n }, []);\n return /* @__PURE__ */ jsx(\n MenuContentImpl,\n {\n ...props,\n ref: composedRefs,\n trapFocus: context.open,\n disableOutsidePointerEvents: context.open,\n disableOutsideScroll: true,\n onFocusOutside: composeEventHandlers(\n props.onFocusOutside,\n (event) => event.preventDefault(),\n { checkForDefaultPrevented: false }\n ),\n onDismiss: () => context.onOpenChange(false)\n }\n );\n }\n);\nvar MenuRootContentNonModal = React.forwardRef((props, forwardedRef) => {\n const context = useMenuContext(CONTENT_NAME, props.__scopeMenu);\n return /* @__PURE__ */ jsx(\n MenuContentImpl,\n {\n ...props,\n ref: forwardedRef,\n trapFocus: false,\n disableOutsidePointerEvents: false,\n disableOutsideScroll: false,\n onDismiss: () => context.onOpenChange(false)\n }\n );\n});\nvar Slot = createSlot(\"MenuContent.ScrollLock\");\nvar MenuContentImpl = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeMenu,\n loop = false,\n trapFocus,\n onOpenAutoFocus,\n onCloseAutoFocus,\n disableOutsidePointerEvents,\n onEntryFocus,\n onEscapeKeyDown,\n onPointerDownOutside,\n onFocusOutside,\n onInteractOutside,\n onDismiss,\n disableOutsideScroll,\n ...contentProps\n } = props;\n const context = useMenuContext(CONTENT_NAME, __scopeMenu);\n const rootContext = useMenuRootContext(CONTENT_NAME, __scopeMenu);\n const popperScope = usePopperScope(__scopeMenu);\n const rovingFocusGroupScope = useRovingFocusGroupScope(__scopeMenu);\n const getItems = useCollection(__scopeMenu);\n const [currentItemId, setCurrentItemId] = React.useState(null);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, contentRef, context.onContentChange);\n const timerRef = React.useRef(0);\n const searchRef = React.useRef(\"\");\n const pointerGraceTimerRef = React.useRef(0);\n const pointerGraceIntentRef = React.useRef(null);\n const pointerDirRef = React.useRef(\"right\");\n const lastPointerXRef = React.useRef(0);\n const ScrollLockWrapper = disableOutsideScroll ? RemoveScroll : React.Fragment;\n const scrollLockWrapperProps = disableOutsideScroll ? { as: Slot, allowPinchZoom: true } : void 0;\n const handleTypeaheadSearch = (key) => {\n const search = searchRef.current + key;\n const items = getItems().filter((item) => !item.disabled);\n const currentItem = document.activeElement;\n const currentMatch = items.find((item) => item.ref.current === currentItem)?.textValue;\n const values = items.map((item) => item.textValue);\n const nextMatch = getNextMatch(values, search, currentMatch);\n const newItem = items.find((item) => item.textValue === nextMatch)?.ref.current;\n (function updateSearch(value) {\n searchRef.current = value;\n window.clearTimeout(timerRef.current);\n if (value !== \"\") timerRef.current = window.setTimeout(() => updateSearch(\"\"), 1e3);\n })(search);\n if (newItem) {\n setTimeout(() => newItem.focus());\n }\n };\n React.useEffect(() => {\n return () => window.clearTimeout(timerRef.current);\n }, []);\n useFocusGuards();\n const isPointerMovingToSubmenu = React.useCallback((event) => {\n const isMovingTowards = pointerDirRef.current === pointerGraceIntentRef.current?.side;\n return isMovingTowards && isPointerInGraceArea(event, pointerGraceIntentRef.current?.area);\n }, []);\n return /* @__PURE__ */ jsx(\n MenuContentProvider,\n {\n scope: __scopeMenu,\n searchRef,\n onItemEnter: React.useCallback(\n (event) => {\n if (isPointerMovingToSubmenu(event)) event.preventDefault();\n },\n [isPointerMovingToSubmenu]\n ),\n onItemLeave: React.useCallback(\n (event) => {\n if (isPointerMovingToSubmenu(event)) return;\n contentRef.current?.focus();\n setCurrentItemId(null);\n },\n [isPointerMovingToSubmenu]\n ),\n onTriggerLeave: React.useCallback(\n (event) => {\n if (isPointerMovingToSubmenu(event)) event.preventDefault();\n },\n [isPointerMovingToSubmenu]\n ),\n pointerGraceTimerRef,\n onPointerGraceIntentChange: React.useCallback((intent) => {\n pointerGraceIntentRef.current = intent;\n }, []),\n children: /* @__PURE__ */ jsx(ScrollLockWrapper, { ...scrollLockWrapperProps, children: /* @__PURE__ */ jsx(\n FocusScope,\n {\n asChild: true,\n trapped: trapFocus,\n onMountAutoFocus: composeEventHandlers(onOpenAutoFocus, (event) => {\n event.preventDefault();\n contentRef.current?.focus({ preventScroll: true });\n }),\n onUnmountAutoFocus: onCloseAutoFocus,\n children: /* @__PURE__ */ jsx(\n DismissableLayer,\n {\n asChild: true,\n disableOutsidePointerEvents,\n onEscapeKeyDown,\n onPointerDownOutside,\n onFocusOutside,\n onInteractOutside,\n onDismiss,\n children: /* @__PURE__ */ jsx(\n RovingFocusGroup.Root,\n {\n asChild: true,\n ...rovingFocusGroupScope,\n dir: rootContext.dir,\n orientation: \"vertical\",\n loop,\n currentTabStopId: currentItemId,\n onCurrentTabStopIdChange: setCurrentItemId,\n onEntryFocus: composeEventHandlers(onEntryFocus, (event) => {\n if (!rootContext.isUsingKeyboardRef.current) event.preventDefault();\n }),\n preventScrollOnEntryFocus: true,\n children: /* @__PURE__ */ jsx(\n PopperPrimitive.Content,\n {\n role: \"menu\",\n \"aria-orientation\": \"vertical\",\n \"data-state\": getOpenState(context.open),\n \"data-radix-menu-content\": \"\",\n dir: rootContext.dir,\n ...popperScope,\n ...contentProps,\n ref: composedRefs,\n style: { outline: \"none\", ...contentProps.style },\n onKeyDown: composeEventHandlers(contentProps.onKeyDown, (event) => {\n const target = event.target;\n const isKeyDownInside = target.closest(\"[data-radix-menu-content]\") === event.currentTarget;\n const isModifierKey = event.ctrlKey || event.altKey || event.metaKey;\n const isCharacterKey = event.key.length === 1;\n if (isKeyDownInside) {\n if (event.key === \"Tab\") event.preventDefault();\n if (!isModifierKey && isCharacterKey) handleTypeaheadSearch(event.key);\n }\n const content = contentRef.current;\n if (event.target !== content) return;\n if (!FIRST_LAST_KEYS.includes(event.key)) return;\n event.preventDefault();\n const items = getItems().filter((item) => !item.disabled);\n const candidateNodes = items.map((item) => item.ref.current);\n if (LAST_KEYS.includes(event.key)) candidateNodes.reverse();\n focusFirst(candidateNodes);\n }),\n onBlur: composeEventHandlers(props.onBlur, (event) => {\n if (!event.currentTarget.contains(event.target)) {\n window.clearTimeout(timerRef.current);\n searchRef.current = \"\";\n }\n }),\n onPointerMove: composeEventHandlers(\n props.onPointerMove,\n whenMouse((event) => {\n const target = event.target;\n const pointerXHasChanged = lastPointerXRef.current !== event.clientX;\n if (event.currentTarget.contains(target) && pointerXHasChanged) {\n const newDir = event.clientX > lastPointerXRef.current ? \"right\" : \"left\";\n pointerDirRef.current = newDir;\n lastPointerXRef.current = event.clientX;\n }\n })\n )\n }\n )\n }\n )\n }\n )\n }\n ) })\n }\n );\n }\n);\nMenuContent.displayName = CONTENT_NAME;\nvar GROUP_NAME = \"MenuGroup\";\nvar MenuGroup = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeMenu, ...groupProps } = props;\n return /* @__PURE__ */ jsx(Primitive.div, { role: \"group\", ...groupProps, ref: forwardedRef });\n }\n);\nMenuGroup.displayName = GROUP_NAME;\nvar LABEL_NAME = \"MenuLabel\";\nvar MenuLabel = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeMenu, ...labelProps } = props;\n return /* @__PURE__ */ jsx(Primitive.div, { ...labelProps, ref: forwardedRef });\n }\n);\nMenuLabel.displayName = LABEL_NAME;\nvar ITEM_NAME = \"MenuItem\";\nvar ITEM_SELECT = \"menu.itemSelect\";\nvar MenuItem = React.forwardRef(\n (props, forwardedRef) => {\n const { disabled = false, onSelect, ...itemProps } = props;\n const ref = React.useRef(null);\n const rootContext = useMenuRootContext(ITEM_NAME, props.__scopeMenu);\n const contentContext = useMenuContentContext(ITEM_NAME, props.__scopeMenu);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const isPointerDownRef = React.useRef(false);\n const handleSelect = () => {\n const menuItem = ref.current;\n if (!disabled && menuItem) {\n const itemSelectEvent = new CustomEvent(ITEM_SELECT, { bubbles: true, cancelable: true });\n menuItem.addEventListener(ITEM_SELECT, (event) => onSelect?.(event), { once: true });\n dispatchDiscreteCustomEvent(menuItem, itemSelectEvent);\n if (itemSelectEvent.defaultPrevented) {\n isPointerDownRef.current = false;\n } else {\n rootContext.onClose();\n }\n }\n };\n return /* @__PURE__ */ jsx(\n MenuItemImpl,\n {\n ...itemProps,\n ref: composedRefs,\n disabled,\n onClick: composeEventHandlers(props.onClick, handleSelect),\n onPointerDown: (event) => {\n props.onPointerDown?.(event);\n isPointerDownRef.current = true;\n },\n onPointerUp: composeEventHandlers(props.onPointerUp, (event) => {\n if (!isPointerDownRef.current) event.currentTarget?.click();\n }),\n onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {\n const isTypingAhead = contentContext.searchRef.current !== \"\";\n if (disabled || isTypingAhead && event.key === \" \") return;\n if (SELECTION_KEYS.includes(event.key)) {\n event.currentTarget.click();\n event.preventDefault();\n }\n })\n }\n );\n }\n);\nMenuItem.displayName = ITEM_NAME;\nvar MenuItemImpl = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeMenu, disabled = false, textValue, ...itemProps } = props;\n const contentContext = useMenuContentContext(ITEM_NAME, __scopeMenu);\n const rovingFocusGroupScope = useRovingFocusGroupScope(__scopeMenu);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const [isFocused, setIsFocused] = React.useState(false);\n const [textContent, setTextContent] = React.useState(\"\");\n React.useEffect(() => {\n const menuItem = ref.current;\n if (menuItem) {\n setTextContent((menuItem.textContent ?? \"\").trim());\n }\n }, [itemProps.children]);\n return /* @__PURE__ */ jsx(\n Collection.ItemSlot,\n {\n scope: __scopeMenu,\n disabled,\n textValue: textValue ?? textContent,\n children: /* @__PURE__ */ jsx(RovingFocusGroup.Item, { asChild: true, ...rovingFocusGroupScope, focusable: !disabled, children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n role: \"menuitem\",\n \"data-highlighted\": isFocused ? \"\" : void 0,\n \"aria-disabled\": disabled || void 0,\n \"data-disabled\": disabled ? \"\" : void 0,\n ...itemProps,\n ref: composedRefs,\n onPointerMove: composeEventHandlers(\n props.onPointerMove,\n whenMouse((event) => {\n if (disabled) {\n contentContext.onItemLeave(event);\n } else {\n contentContext.onItemEnter(event);\n if (!event.defaultPrevented) {\n const item = event.currentTarget;\n item.focus({ preventScroll: true });\n }\n }\n })\n ),\n onPointerLeave: composeEventHandlers(\n props.onPointerLeave,\n whenMouse((event) => contentContext.onItemLeave(event))\n ),\n onFocus: composeEventHandlers(props.onFocus, () => setIsFocused(true)),\n onBlur: composeEventHandlers(props.onBlur, () => setIsFocused(false))\n }\n ) })\n }\n );\n }\n);\nvar CHECKBOX_ITEM_NAME = \"MenuCheckboxItem\";\nvar MenuCheckboxItem = React.forwardRef(\n (props, forwardedRef) => {\n const { checked = false, onCheckedChange, ...checkboxItemProps } = props;\n return /* @__PURE__ */ jsx(ItemIndicatorProvider, { scope: props.__scopeMenu, checked, children: /* @__PURE__ */ jsx(\n MenuItem,\n {\n role: \"menuitemcheckbox\",\n \"aria-checked\": isIndeterminate(checked) ? \"mixed\" : checked,\n ...checkboxItemProps,\n ref: forwardedRef,\n \"data-state\": getCheckedState(checked),\n onSelect: composeEventHandlers(\n checkboxItemProps.onSelect,\n () => onCheckedChange?.(isIndeterminate(checked) ? true : !checked),\n { checkForDefaultPrevented: false }\n )\n }\n ) });\n }\n);\nMenuCheckboxItem.displayName = CHECKBOX_ITEM_NAME;\nvar RADIO_GROUP_NAME = \"MenuRadioGroup\";\nvar [RadioGroupProvider, useRadioGroupContext] = createMenuContext(\n RADIO_GROUP_NAME,\n { value: void 0, onValueChange: () => {\n } }\n);\nvar MenuRadioGroup = React.forwardRef(\n (props, forwardedRef) => {\n const { value, onValueChange, ...groupProps } = props;\n const handleValueChange = useCallbackRef(onValueChange);\n return /* @__PURE__ */ jsx(RadioGroupProvider, { scope: props.__scopeMenu, value, onValueChange: handleValueChange, children: /* @__PURE__ */ jsx(MenuGroup, { ...groupProps, ref: forwardedRef }) });\n }\n);\nMenuRadioGroup.displayName = RADIO_GROUP_NAME;\nvar RADIO_ITEM_NAME = \"MenuRadioItem\";\nvar MenuRadioItem = React.forwardRef(\n (props, forwardedRef) => {\n const { value, ...radioItemProps } = props;\n const context = useRadioGroupContext(RADIO_ITEM_NAME, props.__scopeMenu);\n const checked = value === context.value;\n return /* @__PURE__ */ jsx(ItemIndicatorProvider, { scope: props.__scopeMenu, checked, children: /* @__PURE__ */ jsx(\n MenuItem,\n {\n role: \"menuitemradio\",\n \"aria-checked\": checked,\n ...radioItemProps,\n ref: forwardedRef,\n \"data-state\": getCheckedState(checked),\n onSelect: composeEventHandlers(\n radioItemProps.onSelect,\n () => context.onValueChange?.(value),\n { checkForDefaultPrevented: false }\n )\n }\n ) });\n }\n);\nMenuRadioItem.displayName = RADIO_ITEM_NAME;\nvar ITEM_INDICATOR_NAME = \"MenuItemIndicator\";\nvar [ItemIndicatorProvider, useItemIndicatorContext] = createMenuContext(\n ITEM_INDICATOR_NAME,\n { checked: false }\n);\nvar MenuItemIndicator = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeMenu, forceMount, ...itemIndicatorProps } = props;\n const indicatorContext = useItemIndicatorContext(ITEM_INDICATOR_NAME, __scopeMenu);\n return /* @__PURE__ */ jsx(\n Presence,\n {\n present: forceMount || isIndeterminate(indicatorContext.checked) || indicatorContext.checked === true,\n children: /* @__PURE__ */ jsx(\n Primitive.span,\n {\n ...itemIndicatorProps,\n ref: forwardedRef,\n \"data-state\": getCheckedState(indicatorContext.checked)\n }\n )\n }\n );\n }\n);\nMenuItemIndicator.displayName = ITEM_INDICATOR_NAME;\nvar SEPARATOR_NAME = \"MenuSeparator\";\nvar MenuSeparator = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeMenu, ...separatorProps } = props;\n return /* @__PURE__ */ jsx(\n Primitive.div,\n {\n role: \"separator\",\n \"aria-orientation\": \"horizontal\",\n ...separatorProps,\n ref: forwardedRef\n }\n );\n }\n);\nMenuSeparator.displayName = SEPARATOR_NAME;\nvar ARROW_NAME = \"MenuArrow\";\nvar MenuArrow = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeMenu, ...arrowProps } = props;\n const popperScope = usePopperScope(__scopeMenu);\n return /* @__PURE__ */ jsx(PopperPrimitive.Arrow, { ...popperScope, ...arrowProps, ref: forwardedRef });\n }\n);\nMenuArrow.displayName = ARROW_NAME;\nvar SUB_NAME = \"MenuSub\";\nvar [MenuSubProvider, useMenuSubContext] = createMenuContext(SUB_NAME);\nvar MenuSub = (props) => {\n const { __scopeMenu, children, open = false, onOpenChange } = props;\n const parentMenuContext = useMenuContext(SUB_NAME, __scopeMenu);\n const popperScope = usePopperScope(__scopeMenu);\n const [trigger, setTrigger] = React.useState(null);\n const [content, setContent] = React.useState(null);\n const handleOpenChange = useCallbackRef(onOpenChange);\n React.useEffect(() => {\n if (parentMenuContext.open === false) handleOpenChange(false);\n return () => handleOpenChange(false);\n }, [parentMenuContext.open, handleOpenChange]);\n return /* @__PURE__ */ jsx(PopperPrimitive.Root, { ...popperScope, children: /* @__PURE__ */ jsx(\n MenuProvider,\n {\n scope: __scopeMenu,\n open,\n onOpenChange: handleOpenChange,\n content,\n onContentChange: setContent,\n children: /* @__PURE__ */ jsx(\n MenuSubProvider,\n {\n scope: __scopeMenu,\n contentId: useId(),\n triggerId: useId(),\n trigger,\n onTriggerChange: setTrigger,\n children\n }\n )\n }\n ) });\n};\nMenuSub.displayName = SUB_NAME;\nvar SUB_TRIGGER_NAME = \"MenuSubTrigger\";\nvar MenuSubTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const context = useMenuContext(SUB_TRIGGER_NAME, props.__scopeMenu);\n const rootContext = useMenuRootContext(SUB_TRIGGER_NAME, props.__scopeMenu);\n const subContext = useMenuSubContext(SUB_TRIGGER_NAME, props.__scopeMenu);\n const contentContext = useMenuContentContext(SUB_TRIGGER_NAME, props.__scopeMenu);\n const openTimerRef = React.useRef(null);\n const { pointerGraceTimerRef, onPointerGraceIntentChange } = contentContext;\n const scope = { __scopeMenu: props.__scopeMenu };\n const clearOpenTimer = React.useCallback(() => {\n if (openTimerRef.current) window.clearTimeout(openTimerRef.current);\n openTimerRef.current = null;\n }, []);\n React.useEffect(() => clearOpenTimer, [clearOpenTimer]);\n React.useEffect(() => {\n const pointerGraceTimer = pointerGraceTimerRef.current;\n return () => {\n window.clearTimeout(pointerGraceTimer);\n onPointerGraceIntentChange(null);\n };\n }, [pointerGraceTimerRef, onPointerGraceIntentChange]);\n return /* @__PURE__ */ jsx(MenuAnchor, { asChild: true, ...scope, children: /* @__PURE__ */ jsx(\n MenuItemImpl,\n {\n id: subContext.triggerId,\n \"aria-haspopup\": \"menu\",\n \"aria-expanded\": context.open,\n \"aria-controls\": subContext.contentId,\n \"data-state\": getOpenState(context.open),\n ...props,\n ref: composeRefs(forwardedRef, subContext.onTriggerChange),\n onClick: (event) => {\n props.onClick?.(event);\n if (props.disabled || event.defaultPrevented) return;\n event.currentTarget.focus();\n if (!context.open) context.onOpenChange(true);\n },\n onPointerMove: composeEventHandlers(\n props.onPointerMove,\n whenMouse((event) => {\n contentContext.onItemEnter(event);\n if (event.defaultPrevented) return;\n if (!props.disabled && !context.open && !openTimerRef.current) {\n contentContext.onPointerGraceIntentChange(null);\n openTimerRef.current = window.setTimeout(() => {\n context.onOpenChange(true);\n clearOpenTimer();\n }, 100);\n }\n })\n ),\n onPointerLeave: composeEventHandlers(\n props.onPointerLeave,\n whenMouse((event) => {\n clearOpenTimer();\n const contentRect = context.content?.getBoundingClientRect();\n if (contentRect) {\n const side = context.content?.dataset.side;\n const rightSide = side === \"right\";\n const bleed = rightSide ? -5 : 5;\n const contentNearEdge = contentRect[rightSide ? \"left\" : \"right\"];\n const contentFarEdge = contentRect[rightSide ? \"right\" : \"left\"];\n contentContext.onPointerGraceIntentChange({\n area: [\n // Apply a bleed on clientX to ensure that our exit point is\n // consistently within polygon bounds\n { x: event.clientX + bleed, y: event.clientY },\n { x: contentNearEdge, y: contentRect.top },\n { x: contentFarEdge, y: contentRect.top },\n { x: contentFarEdge, y: contentRect.bottom },\n { x: contentNearEdge, y: contentRect.bottom }\n ],\n side\n });\n window.clearTimeout(pointerGraceTimerRef.current);\n pointerGraceTimerRef.current = window.setTimeout(\n () => contentContext.onPointerGraceIntentChange(null),\n 300\n );\n } else {\n contentContext.onTriggerLeave(event);\n if (event.defaultPrevented) return;\n contentContext.onPointerGraceIntentChange(null);\n }\n })\n ),\n onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {\n const isTypingAhead = contentContext.searchRef.current !== \"\";\n if (props.disabled || isTypingAhead && event.key === \" \") return;\n if (SUB_OPEN_KEYS[rootContext.dir].includes(event.key)) {\n context.onOpenChange(true);\n context.content?.focus();\n event.preventDefault();\n }\n })\n }\n ) });\n }\n);\nMenuSubTrigger.displayName = SUB_TRIGGER_NAME;\nvar SUB_CONTENT_NAME = \"MenuSubContent\";\nvar MenuSubContent = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(CONTENT_NAME, props.__scopeMenu);\n const { forceMount = portalContext.forceMount, ...subContentProps } = props;\n const context = useMenuContext(CONTENT_NAME, props.__scopeMenu);\n const rootContext = useMenuRootContext(CONTENT_NAME, props.__scopeMenu);\n const subContext = useMenuSubContext(SUB_CONTENT_NAME, props.__scopeMenu);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n return /* @__PURE__ */ jsx(Collection.Provider, { scope: props.__scopeMenu, children: /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(Collection.Slot, { scope: props.__scopeMenu, children: /* @__PURE__ */ jsx(\n MenuContentImpl,\n {\n id: subContext.contentId,\n \"aria-labelledby\": subContext.triggerId,\n ...subContentProps,\n ref: composedRefs,\n align: \"start\",\n side: rootContext.dir === \"rtl\" ? \"left\" : \"right\",\n disableOutsidePointerEvents: false,\n disableOutsideScroll: false,\n trapFocus: false,\n onOpenAutoFocus: (event) => {\n if (rootContext.isUsingKeyboardRef.current) ref.current?.focus();\n event.preventDefault();\n },\n onCloseAutoFocus: (event) => event.preventDefault(),\n onFocusOutside: composeEventHandlers(props.onFocusOutside, (event) => {\n if (event.target !== subContext.trigger) context.onOpenChange(false);\n }),\n onEscapeKeyDown: composeEventHandlers(props.onEscapeKeyDown, (event) => {\n rootContext.onClose();\n event.preventDefault();\n }),\n onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {\n const isKeyDownInside = event.currentTarget.contains(event.target);\n const isCloseKey = SUB_CLOSE_KEYS[rootContext.dir].includes(event.key);\n if (isKeyDownInside && isCloseKey) {\n context.onOpenChange(false);\n subContext.trigger?.focus();\n event.preventDefault();\n }\n })\n }\n ) }) }) });\n }\n);\nMenuSubContent.displayName = SUB_CONTENT_NAME;\nfunction getOpenState(open) {\n return open ? \"open\" : \"closed\";\n}\nfunction isIndeterminate(checked) {\n return checked === \"indeterminate\";\n}\nfunction getCheckedState(checked) {\n return isIndeterminate(checked) ? \"indeterminate\" : checked ? \"checked\" : \"unchecked\";\n}\nfunction focusFirst(candidates) {\n const PREVIOUSLY_FOCUSED_ELEMENT = document.activeElement;\n for (const candidate of candidates) {\n if (candidate === PREVIOUSLY_FOCUSED_ELEMENT) return;\n candidate.focus();\n if (document.activeElement !== PREVIOUSLY_FOCUSED_ELEMENT) return;\n }\n}\nfunction wrapArray(array, startIndex) {\n return array.map((_, index) => array[(startIndex + index) % array.length]);\n}\nfunction getNextMatch(values, search, currentMatch) {\n const isRepeated = search.length > 1 && Array.from(search).every((char) => char === search[0]);\n const normalizedSearch = isRepeated ? search[0] : search;\n const currentMatchIndex = currentMatch ? values.indexOf(currentMatch) : -1;\n let wrappedValues = wrapArray(values, Math.max(currentMatchIndex, 0));\n const excludeCurrentMatch = normalizedSearch.length === 1;\n if (excludeCurrentMatch) wrappedValues = wrappedValues.filter((v) => v !== currentMatch);\n const nextMatch = wrappedValues.find(\n (value) => value.toLowerCase().startsWith(normalizedSearch.toLowerCase())\n );\n return nextMatch !== currentMatch ? nextMatch : void 0;\n}\nfunction isPointInPolygon(point, polygon) {\n const { x, y } = point;\n let inside = false;\n for (let i = 0, j = polygon.length - 1; i < polygon.length; j = i++) {\n const ii = polygon[i];\n const jj = polygon[j];\n const xi = ii.x;\n const yi = ii.y;\n const xj = jj.x;\n const yj = jj.y;\n const intersect = yi > y !== yj > y && x < (xj - xi) * (y - yi) / (yj - yi) + xi;\n if (intersect) inside = !inside;\n }\n return inside;\n}\nfunction isPointerInGraceArea(event, area) {\n if (!area) return false;\n const cursorPos = { x: event.clientX, y: event.clientY };\n return isPointInPolygon(cursorPos, area);\n}\nfunction whenMouse(handler) {\n return (event) => event.pointerType === \"mouse\" ? handler(event) : void 0;\n}\nvar Root3 = Menu;\nvar Anchor2 = MenuAnchor;\nvar Portal = MenuPortal;\nvar Content2 = MenuContent;\nvar Group = MenuGroup;\nvar Label = MenuLabel;\nvar Item2 = MenuItem;\nvar CheckboxItem = MenuCheckboxItem;\nvar RadioGroup = MenuRadioGroup;\nvar RadioItem = MenuRadioItem;\nvar ItemIndicator = MenuItemIndicator;\nvar Separator = MenuSeparator;\nvar Arrow2 = MenuArrow;\nvar Sub = MenuSub;\nvar SubTrigger = MenuSubTrigger;\nvar SubContent = MenuSubContent;\nexport {\n Anchor2 as Anchor,\n Arrow2 as Arrow,\n CheckboxItem,\n Content2 as Content,\n Group,\n Item2 as Item,\n ItemIndicator,\n Label,\n Menu,\n MenuAnchor,\n MenuArrow,\n MenuCheckboxItem,\n MenuContent,\n MenuGroup,\n MenuItem,\n MenuItemIndicator,\n MenuLabel,\n MenuPortal,\n MenuRadioGroup,\n MenuRadioItem,\n MenuSeparator,\n MenuSub,\n MenuSubContent,\n MenuSubTrigger,\n Portal,\n RadioGroup,\n RadioItem,\n Root3 as Root,\n Separator,\n Sub,\n SubContent,\n SubTrigger,\n createMenuScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAyBA,IAAI,IAAiB,CAAC,SAAS,IAAI,EAC/B,IAAa;CAAC;CAAa;CAAU;CAAO,EAC5C,KAAY;CAAC;CAAW;CAAY;CAAM,EAC1C,KAAkB,CAAC,GAAG,GAAY,GAAG,GAAU,EAC/C,IAAgB;CAClB,KAAK,CAAC,GAAG,GAAgB,aAAa;CACtC,KAAK,CAAC,GAAG,GAAgB,YAAY;CACtC,EACG,KAAiB;CACnB,KAAK,CAAC,YAAY;CAClB,KAAK,CAAC,aAAa;CACpB,EACG,IAAY,QACZ,CAAC,GAAY,IAAe,MAAyB,EAAiB,EAAU,EAChF,CAAC,GAAmB,KAAmB,EAAmB,GAAW;CACv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import { buildFormatLongFn } from \"../../_lib/buildFormatLongFn.js\";\n\nconst dateFormats = {\n full: \"EEEE, MMMM do, y\",\n long: \"MMMM do, y\",\n medium: \"MMM d, y\",\n short: \"MM/dd/yyyy\",\n};\n\nconst timeFormats = {\n full: \"h:mm:ss a zzzz\",\n long: \"h:mm:ss a z\",\n medium: \"h:mm:ss a\",\n short: \"h:mm a\",\n};\n\nconst dateTimeFormats = {\n full: \"{{date}} 'at' {{time}}\",\n long: \"{{date}} 'at' {{time}}\",\n medium: \"{{date}}, {{time}}\",\n short: \"{{date}}, {{time}}\",\n};\n\nexport const formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: \"full\",\n }),\n\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: \"full\",\n }),\n\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: \"full\",\n }),\n};\n"],"names":["dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn"],"mappings":";AAEA,MAAMA,IAAc;AAAA,EAClB,MAAM;AAAA,EACN,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,OAAO;AACT,GAEMC,IAAc;AAAA,EAClB,MAAM;AAAA,EACN,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,OAAO;AACT,GAEMC,IAAkB;AAAA,EACtB,MAAM;AAAA,EACN,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,OAAO;AACT,GAEaC,IAAa;AAAA,EACxB,MAAMC,EAAkB;AAAA,IACtB,SAASJ;AAAA,IACT,cAAc;AAAA,EAClB,CAAG;AAAA,EAED,MAAMI,EAAkB;AAAA,IACtB,SAASH;AAAA,IACT,cAAc;AAAA,EAClB,CAAG;AAAA,EAED,UAAUG,EAAkB;AAAA,IAC1B,SAASF;AAAA,IACT,cAAc;AAAA,EAClB,CAAG;AACH;","x_google_ignoreList":[0]}
|
package/dist/index31.js
CHANGED
|
@@ -1,9 +1,128 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import * as s from "react";
|
|
2
|
+
import { composeEventHandlers as h } from "./index51.js";
|
|
3
|
+
import { Primitive as w, dispatchDiscreteCustomEvent as k } from "./index52.js";
|
|
4
|
+
import { useComposedRefs as R } from "./index53.js";
|
|
5
|
+
import { useCallbackRef as g } from "./index54.js";
|
|
6
|
+
import { useEscapeKeydown as U } from "./index55.js";
|
|
7
|
+
import { j as x } from "./index30.js";
|
|
8
|
+
var j = "DismissableLayer", p = "dismissableLayer.update", z = "dismissableLayer.pointerDownOutside", H = "dismissableLayer.focusOutside", C, T = s.createContext({
|
|
9
|
+
layers: /* @__PURE__ */ new Set(),
|
|
10
|
+
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
11
|
+
branches: /* @__PURE__ */ new Set()
|
|
12
|
+
}), M = s.forwardRef(
|
|
13
|
+
(n, e) => {
|
|
14
|
+
const {
|
|
15
|
+
disableOutsidePointerEvents: r = !1,
|
|
16
|
+
onEscapeKeyDown: a,
|
|
17
|
+
onPointerDownOutside: i,
|
|
18
|
+
onFocusOutside: c,
|
|
19
|
+
onInteractOutside: f,
|
|
20
|
+
onDismiss: d,
|
|
21
|
+
...E
|
|
22
|
+
} = n, o = s.useContext(T), [u, F] = s.useState(null), l = u?.ownerDocument ?? globalThis?.document, [, I] = s.useState({}), S = R(e, (t) => F(t)), y = Array.from(o.layers), [W] = [...o.layersWithOutsidePointerEventsDisabled].slice(-1), A = y.indexOf(W), b = u ? y.indexOf(u) : -1, N = o.layersWithOutsidePointerEventsDisabled.size > 0, D = b >= A, _ = Y((t) => {
|
|
23
|
+
const v = t.target, P = [...o.branches].some((m) => m.contains(v));
|
|
24
|
+
!D || P || (i?.(t), f?.(t), t.defaultPrevented || d?.());
|
|
25
|
+
}, l), O = q((t) => {
|
|
26
|
+
const v = t.target;
|
|
27
|
+
[...o.branches].some((m) => m.contains(v)) || (c?.(t), f?.(t), t.defaultPrevented || d?.());
|
|
28
|
+
}, l);
|
|
29
|
+
return U((t) => {
|
|
30
|
+
b === o.layers.size - 1 && (a?.(t), !t.defaultPrevented && d && (t.preventDefault(), d()));
|
|
31
|
+
}, l), s.useEffect(() => {
|
|
32
|
+
if (u)
|
|
33
|
+
return r && (o.layersWithOutsidePointerEventsDisabled.size === 0 && (C = l.body.style.pointerEvents, l.body.style.pointerEvents = "none"), o.layersWithOutsidePointerEventsDisabled.add(u)), o.layers.add(u), L(), () => {
|
|
34
|
+
r && o.layersWithOutsidePointerEventsDisabled.size === 1 && (l.body.style.pointerEvents = C);
|
|
35
|
+
};
|
|
36
|
+
}, [u, l, r, o]), s.useEffect(() => () => {
|
|
37
|
+
u && (o.layers.delete(u), o.layersWithOutsidePointerEventsDisabled.delete(u), L());
|
|
38
|
+
}, [u, o]), s.useEffect(() => {
|
|
39
|
+
const t = () => I({});
|
|
40
|
+
return document.addEventListener(p, t), () => document.removeEventListener(p, t);
|
|
41
|
+
}, []), /* @__PURE__ */ x.jsx(
|
|
42
|
+
w.div,
|
|
43
|
+
{
|
|
44
|
+
...E,
|
|
45
|
+
ref: S,
|
|
46
|
+
style: {
|
|
47
|
+
pointerEvents: N ? D ? "auto" : "none" : void 0,
|
|
48
|
+
...n.style
|
|
49
|
+
},
|
|
50
|
+
onFocusCapture: h(n.onFocusCapture, O.onFocusCapture),
|
|
51
|
+
onBlurCapture: h(n.onBlurCapture, O.onBlurCapture),
|
|
52
|
+
onPointerDownCapture: h(
|
|
53
|
+
n.onPointerDownCapture,
|
|
54
|
+
_.onPointerDownCapture
|
|
55
|
+
)
|
|
56
|
+
}
|
|
57
|
+
);
|
|
58
|
+
}
|
|
59
|
+
);
|
|
60
|
+
M.displayName = j;
|
|
61
|
+
var K = "DismissableLayerBranch", X = s.forwardRef((n, e) => {
|
|
62
|
+
const r = s.useContext(T), a = s.useRef(null), i = R(e, a);
|
|
63
|
+
return s.useEffect(() => {
|
|
64
|
+
const c = a.current;
|
|
65
|
+
if (c)
|
|
66
|
+
return r.branches.add(c), () => {
|
|
67
|
+
r.branches.delete(c);
|
|
68
|
+
};
|
|
69
|
+
}, [r.branches]), /* @__PURE__ */ x.jsx(w.div, { ...n, ref: i });
|
|
70
|
+
});
|
|
71
|
+
X.displayName = K;
|
|
72
|
+
function Y(n, e = globalThis?.document) {
|
|
73
|
+
const r = g(n), a = s.useRef(!1), i = s.useRef(() => {
|
|
74
|
+
});
|
|
75
|
+
return s.useEffect(() => {
|
|
76
|
+
const c = (d) => {
|
|
77
|
+
if (d.target && !a.current) {
|
|
78
|
+
let E = function() {
|
|
79
|
+
B(
|
|
80
|
+
z,
|
|
81
|
+
r,
|
|
82
|
+
o,
|
|
83
|
+
{ discrete: !0 }
|
|
84
|
+
);
|
|
85
|
+
};
|
|
86
|
+
const o = { originalEvent: d };
|
|
87
|
+
d.pointerType === "touch" ? (e.removeEventListener("click", i.current), i.current = E, e.addEventListener("click", i.current, { once: !0 })) : E();
|
|
88
|
+
} else
|
|
89
|
+
e.removeEventListener("click", i.current);
|
|
90
|
+
a.current = !1;
|
|
91
|
+
}, f = window.setTimeout(() => {
|
|
92
|
+
e.addEventListener("pointerdown", c);
|
|
93
|
+
}, 0);
|
|
94
|
+
return () => {
|
|
95
|
+
window.clearTimeout(f), e.removeEventListener("pointerdown", c), e.removeEventListener("click", i.current);
|
|
96
|
+
};
|
|
97
|
+
}, [e, r]), {
|
|
98
|
+
// ensures we check React component tree (not just DOM tree)
|
|
99
|
+
onPointerDownCapture: () => a.current = !0
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
function q(n, e = globalThis?.document) {
|
|
103
|
+
const r = g(n), a = s.useRef(!1);
|
|
104
|
+
return s.useEffect(() => {
|
|
105
|
+
const i = (c) => {
|
|
106
|
+
c.target && !a.current && B(H, r, { originalEvent: c }, {
|
|
107
|
+
discrete: !1
|
|
108
|
+
});
|
|
109
|
+
};
|
|
110
|
+
return e.addEventListener("focusin", i), () => e.removeEventListener("focusin", i);
|
|
111
|
+
}, [e, r]), {
|
|
112
|
+
onFocusCapture: () => a.current = !0,
|
|
113
|
+
onBlurCapture: () => a.current = !1
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
function L() {
|
|
117
|
+
const n = new CustomEvent(p);
|
|
118
|
+
document.dispatchEvent(n);
|
|
119
|
+
}
|
|
120
|
+
function B(n, e, r, { discrete: a }) {
|
|
121
|
+
const i = r.originalEvent.target, c = new CustomEvent(n, { bubbles: !1, cancelable: !0, detail: r });
|
|
122
|
+
e && i.addEventListener(n, e, { once: !0 }), a ? k(i, c) : i.dispatchEvent(c);
|
|
123
|
+
}
|
|
124
|
+
export {
|
|
125
|
+
M as DismissableLayer,
|
|
126
|
+
X as DismissableLayerBranch
|
|
127
|
+
};
|
|
128
|
+
//# sourceMappingURL=index31.js.map
|
package/dist/index31.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index31.js","names":[],"sources":["../../../node_modules/date-fns/constructFrom.js"],"sourcesContent":["import { constructFromSymbol } from \"./constants.js\";\n\n/**\n * @name constructFrom\n * @category Generic Helpers\n * @summary Constructs a date using the reference date and the value\n *\n * @description\n * The function constructs a new date using the constructor from the reference\n * date and the given value. It helps to build generic functions that accept\n * date extensions.\n *\n * It defaults to `Date` if the passed reference date is a number or a string.\n *\n * Starting from v3.7.0, it allows to construct a date using `[Symbol.for(\"constructDateFrom\")]`\n * enabling to transfer extra properties from the reference date to the new date.\n * It's useful for extensions like [`TZDate`](https://github.com/date-fns/tz)\n * that accept a time zone as a constructor argument.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The reference date to take constructor from\n * @param value - The value to create the date\n *\n * @returns Date initialized using the given date and value\n *\n * @example\n * import { constructFrom } from \"./constructFrom/date-fns\";\n *\n * // A function that clones a date preserving the original type\n * function cloneDate<DateType extends Date>(date: DateType): DateType {\n * return constructFrom(\n * date, // Use constructor from the given date\n * date.getTime() // Use the date value to create a new date\n * );\n * }\n */\nexport function constructFrom(date, value) {\n if (typeof date === \"function\") return date(value);\n\n if (date && typeof date === \"object\" && constructFromSymbol in date)\n return date[constructFromSymbol](value);\n\n if (date instanceof Date) return new date.constructor(value);\n\n return new Date(value);\n}\n\n// Fallback for modularized imports:\nexport default constructFrom;\n"],"x_google_ignoreList":[0],"mappings":";;AAqCA,SAAgB,EAAc,GAAM,GAAO;AAQzC,QAPI,OAAO,KAAS,aAAmB,EAAK,EAAM,GAE9C,KAAQ,OAAO,KAAS,YAAY,KAAuB,IACtD,EAAK,GAAqB,EAAM,GAErC,aAAgB,OAAa,IAAI,EAAK,YAAY,EAAM,GAErD,IAAI,KAAK,EAAM"}
|
|
1
|
+
{"version":3,"file":"index31.js","sources":["../../../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/dismissable-layer.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { Primitive, dispatchDiscreteCustomEvent } from \"@radix-ui/react-primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useEscapeKeydown } from \"@radix-ui/react-use-escape-keydown\";\nimport { jsx } from \"react/jsx-runtime\";\nvar DISMISSABLE_LAYER_NAME = \"DismissableLayer\";\nvar CONTEXT_UPDATE = \"dismissableLayer.update\";\nvar POINTER_DOWN_OUTSIDE = \"dismissableLayer.pointerDownOutside\";\nvar FOCUS_OUTSIDE = \"dismissableLayer.focusOutside\";\nvar originalBodyPointerEvents;\nvar DismissableLayerContext = React.createContext({\n layers: /* @__PURE__ */ new Set(),\n layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),\n branches: /* @__PURE__ */ new Set()\n});\nvar DismissableLayer = React.forwardRef(\n (props, forwardedRef) => {\n const {\n disableOutsidePointerEvents = false,\n onEscapeKeyDown,\n onPointerDownOutside,\n onFocusOutside,\n onInteractOutside,\n onDismiss,\n ...layerProps\n } = props;\n const context = React.useContext(DismissableLayerContext);\n const [node, setNode] = React.useState(null);\n const ownerDocument = node?.ownerDocument ?? globalThis?.document;\n const [, force] = React.useState({});\n const composedRefs = useComposedRefs(forwardedRef, (node2) => setNode(node2));\n const layers = Array.from(context.layers);\n const [highestLayerWithOutsidePointerEventsDisabled] = [...context.layersWithOutsidePointerEventsDisabled].slice(-1);\n const highestLayerWithOutsidePointerEventsDisabledIndex = layers.indexOf(highestLayerWithOutsidePointerEventsDisabled);\n const index = node ? layers.indexOf(node) : -1;\n const isBodyPointerEventsDisabled = context.layersWithOutsidePointerEventsDisabled.size > 0;\n const isPointerEventsEnabled = index >= highestLayerWithOutsidePointerEventsDisabledIndex;\n const pointerDownOutside = usePointerDownOutside((event) => {\n const target = event.target;\n const isPointerDownOnBranch = [...context.branches].some((branch) => branch.contains(target));\n if (!isPointerEventsEnabled || isPointerDownOnBranch) return;\n onPointerDownOutside?.(event);\n onInteractOutside?.(event);\n if (!event.defaultPrevented) onDismiss?.();\n }, ownerDocument);\n const focusOutside = useFocusOutside((event) => {\n const target = event.target;\n const isFocusInBranch = [...context.branches].some((branch) => branch.contains(target));\n if (isFocusInBranch) return;\n onFocusOutside?.(event);\n onInteractOutside?.(event);\n if (!event.defaultPrevented) onDismiss?.();\n }, ownerDocument);\n useEscapeKeydown((event) => {\n const isHighestLayer = index === context.layers.size - 1;\n if (!isHighestLayer) return;\n onEscapeKeyDown?.(event);\n if (!event.defaultPrevented && onDismiss) {\n event.preventDefault();\n onDismiss();\n }\n }, ownerDocument);\n React.useEffect(() => {\n if (!node) return;\n if (disableOutsidePointerEvents) {\n if (context.layersWithOutsidePointerEventsDisabled.size === 0) {\n originalBodyPointerEvents = ownerDocument.body.style.pointerEvents;\n ownerDocument.body.style.pointerEvents = \"none\";\n }\n context.layersWithOutsidePointerEventsDisabled.add(node);\n }\n context.layers.add(node);\n dispatchUpdate();\n return () => {\n if (disableOutsidePointerEvents && context.layersWithOutsidePointerEventsDisabled.size === 1) {\n ownerDocument.body.style.pointerEvents = originalBodyPointerEvents;\n }\n };\n }, [node, ownerDocument, disableOutsidePointerEvents, context]);\n React.useEffect(() => {\n return () => {\n if (!node) return;\n context.layers.delete(node);\n context.layersWithOutsidePointerEventsDisabled.delete(node);\n dispatchUpdate();\n };\n }, [node, context]);\n React.useEffect(() => {\n const handleUpdate = () => force({});\n document.addEventListener(CONTEXT_UPDATE, handleUpdate);\n return () => document.removeEventListener(CONTEXT_UPDATE, handleUpdate);\n }, []);\n return /* @__PURE__ */ jsx(\n Primitive.div,\n {\n ...layerProps,\n ref: composedRefs,\n style: {\n pointerEvents: isBodyPointerEventsDisabled ? isPointerEventsEnabled ? \"auto\" : \"none\" : void 0,\n ...props.style\n },\n onFocusCapture: composeEventHandlers(props.onFocusCapture, focusOutside.onFocusCapture),\n onBlurCapture: composeEventHandlers(props.onBlurCapture, focusOutside.onBlurCapture),\n onPointerDownCapture: composeEventHandlers(\n props.onPointerDownCapture,\n pointerDownOutside.onPointerDownCapture\n )\n }\n );\n }\n);\nDismissableLayer.displayName = DISMISSABLE_LAYER_NAME;\nvar BRANCH_NAME = \"DismissableLayerBranch\";\nvar DismissableLayerBranch = React.forwardRef((props, forwardedRef) => {\n const context = React.useContext(DismissableLayerContext);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n React.useEffect(() => {\n const node = ref.current;\n if (node) {\n context.branches.add(node);\n return () => {\n context.branches.delete(node);\n };\n }\n }, [context.branches]);\n return /* @__PURE__ */ jsx(Primitive.div, { ...props, ref: composedRefs });\n});\nDismissableLayerBranch.displayName = BRANCH_NAME;\nfunction usePointerDownOutside(onPointerDownOutside, ownerDocument = globalThis?.document) {\n const handlePointerDownOutside = useCallbackRef(onPointerDownOutside);\n const isPointerInsideReactTreeRef = React.useRef(false);\n const handleClickRef = React.useRef(() => {\n });\n React.useEffect(() => {\n const handlePointerDown = (event) => {\n if (event.target && !isPointerInsideReactTreeRef.current) {\n let handleAndDispatchPointerDownOutsideEvent2 = function() {\n handleAndDispatchCustomEvent(\n POINTER_DOWN_OUTSIDE,\n handlePointerDownOutside,\n eventDetail,\n { discrete: true }\n );\n };\n var handleAndDispatchPointerDownOutsideEvent = handleAndDispatchPointerDownOutsideEvent2;\n const eventDetail = { originalEvent: event };\n if (event.pointerType === \"touch\") {\n ownerDocument.removeEventListener(\"click\", handleClickRef.current);\n handleClickRef.current = handleAndDispatchPointerDownOutsideEvent2;\n ownerDocument.addEventListener(\"click\", handleClickRef.current, { once: true });\n } else {\n handleAndDispatchPointerDownOutsideEvent2();\n }\n } else {\n ownerDocument.removeEventListener(\"click\", handleClickRef.current);\n }\n isPointerInsideReactTreeRef.current = false;\n };\n const timerId = window.setTimeout(() => {\n ownerDocument.addEventListener(\"pointerdown\", handlePointerDown);\n }, 0);\n return () => {\n window.clearTimeout(timerId);\n ownerDocument.removeEventListener(\"pointerdown\", handlePointerDown);\n ownerDocument.removeEventListener(\"click\", handleClickRef.current);\n };\n }, [ownerDocument, handlePointerDownOutside]);\n return {\n // ensures we check React component tree (not just DOM tree)\n onPointerDownCapture: () => isPointerInsideReactTreeRef.current = true\n };\n}\nfunction useFocusOutside(onFocusOutside, ownerDocument = globalThis?.document) {\n const handleFocusOutside = useCallbackRef(onFocusOutside);\n const isFocusInsideReactTreeRef = React.useRef(false);\n React.useEffect(() => {\n const handleFocus = (event) => {\n if (event.target && !isFocusInsideReactTreeRef.current) {\n const eventDetail = { originalEvent: event };\n handleAndDispatchCustomEvent(FOCUS_OUTSIDE, handleFocusOutside, eventDetail, {\n discrete: false\n });\n }\n };\n ownerDocument.addEventListener(\"focusin\", handleFocus);\n return () => ownerDocument.removeEventListener(\"focusin\", handleFocus);\n }, [ownerDocument, handleFocusOutside]);\n return {\n onFocusCapture: () => isFocusInsideReactTreeRef.current = true,\n onBlurCapture: () => isFocusInsideReactTreeRef.current = false\n };\n}\nfunction dispatchUpdate() {\n const event = new CustomEvent(CONTEXT_UPDATE);\n document.dispatchEvent(event);\n}\nfunction handleAndDispatchCustomEvent(name, handler, detail, { discrete }) {\n const target = detail.originalEvent.target;\n const event = new CustomEvent(name, { bubbles: false, cancelable: true, detail });\n if (handler) target.addEventListener(name, handler, { once: true });\n if (discrete) {\n dispatchDiscreteCustomEvent(target, event);\n } else {\n target.dispatchEvent(event);\n }\n}\nvar Root = DismissableLayer;\nvar Branch = DismissableLayerBranch;\nexport {\n Branch,\n DismissableLayer,\n DismissableLayerBranch,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DISMISSABLE_LAYER_NAME","CONTEXT_UPDATE","POINTER_DOWN_OUTSIDE","FOCUS_OUTSIDE","originalBodyPointerEvents","DismissableLayerContext","React","DismissableLayer","props","forwardedRef","disableOutsidePointerEvents","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside","onDismiss","layerProps","context","node","setNode","ownerDocument","force","composedRefs","useComposedRefs","node2","layers","highestLayerWithOutsidePointerEventsDisabled","highestLayerWithOutsidePointerEventsDisabledIndex","index","isBodyPointerEventsDisabled","isPointerEventsEnabled","pointerDownOutside","usePointerDownOutside","event","target","isPointerDownOnBranch","branch","focusOutside","useFocusOutside","useEscapeKeydown","dispatchUpdate","handleUpdate","jsx","Primitive","composeEventHandlers","BRANCH_NAME","DismissableLayerBranch","ref","handlePointerDownOutside","useCallbackRef","isPointerInsideReactTreeRef","handleClickRef","handlePointerDown","handleAndDispatchPointerDownOutsideEvent2","handleAndDispatchCustomEvent","eventDetail","timerId","handleFocusOutside","isFocusInsideReactTreeRef","handleFocus","name","handler","detail","discrete","dispatchDiscreteCustomEvent"],"mappings":";;;;;;;AAUA,IAAIA,IAAyB,oBACzBC,IAAiB,2BACjBC,IAAuB,uCACvBC,IAAgB,iCAChBC,GACAC,IAA0BC,EAAM,cAAc;AAAA,EAChD,QAAwB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,IAAiB;AACxB,QAAMP,IAAQ,IAAI,YAAYhC,CAAc;AAC5C,WAAS,cAAcgC,CAAK;AAC9B;AACA,SAASqB,EAA6BM,GAAMC,GAASC,GAAQ,EAAE,UAAAC,EAAQ,GAAI;AACzE,QAAM7B,IAAS4B,EAAO,cAAc,QAC9B7B,IAAQ,IAAI,YAAY2B,GAAM,EAAE,SAAS,IAAO,YAAY,IAAM,QAAAE,GAAQ;AAChF,EAAID,KAAS3B,EAAO,iBAAiB0B,GAAMC,GAAS,EAAE,MAAM,IAAM,GAC9DE,IACFC,EAA4B9B,GAAQD,CAAK,IAEzCC,EAAO,cAAcD,CAAK;AAE9B;","x_google_ignoreList":[0]}
|
package/dist/index310.js
CHANGED
|
@@ -1,214 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
//#region ../../node_modules/@radix-ui/react-dropdown-menu/dist/index.mjs
|
|
12
|
-
var w = "DropdownMenu", [T, ee] = r(w, [x]), E = x(), [D, O] = T(w), k = (e) => {
|
|
13
|
-
let { __scopeDropdownMenu: t, children: n, dir: r, open: o, defaultOpen: s, onOpenChange: c, modal: l = !0 } = e, u = E(t), d = S.useRef(null), [f, p] = a({
|
|
14
|
-
prop: o,
|
|
15
|
-
defaultProp: s ?? !1,
|
|
16
|
-
onChange: c,
|
|
17
|
-
caller: w
|
|
18
|
-
});
|
|
19
|
-
return /* @__PURE__ */ C(D, {
|
|
20
|
-
scope: t,
|
|
21
|
-
triggerId: i(),
|
|
22
|
-
triggerRef: d,
|
|
23
|
-
contentId: i(),
|
|
24
|
-
open: f,
|
|
25
|
-
onOpenChange: p,
|
|
26
|
-
onOpenToggle: S.useCallback(() => p((e) => !e), [p]),
|
|
27
|
-
modal: l,
|
|
28
|
-
children: /* @__PURE__ */ C(_, {
|
|
29
|
-
...u,
|
|
30
|
-
open: f,
|
|
31
|
-
onOpenChange: p,
|
|
32
|
-
dir: r,
|
|
33
|
-
modal: l,
|
|
34
|
-
children: n
|
|
35
|
-
})
|
|
36
|
-
});
|
|
1
|
+
const t = {
|
|
2
|
+
lastWeek: "'last' eeee 'at' p",
|
|
3
|
+
yesterday: "'yesterday at' p",
|
|
4
|
+
today: "'today at' p",
|
|
5
|
+
tomorrow: "'tomorrow at' p",
|
|
6
|
+
nextWeek: "eeee 'at' p",
|
|
7
|
+
other: "P"
|
|
8
|
+
}, s = (e, a, o, r) => t[e];
|
|
9
|
+
export {
|
|
10
|
+
s as formatRelative
|
|
37
11
|
};
|
|
38
|
-
|
|
39
|
-
var A = "DropdownMenuTrigger", j = S.forwardRef((r, i) => {
|
|
40
|
-
let { __scopeDropdownMenu: a, disabled: s = !1, ...c } = r, l = O(A, a);
|
|
41
|
-
return /* @__PURE__ */ C(o, {
|
|
42
|
-
asChild: !0,
|
|
43
|
-
...E(a),
|
|
44
|
-
children: /* @__PURE__ */ C(n.button, {
|
|
45
|
-
type: "button",
|
|
46
|
-
id: l.triggerId,
|
|
47
|
-
"aria-haspopup": "menu",
|
|
48
|
-
"aria-expanded": l.open,
|
|
49
|
-
"aria-controls": l.open ? l.contentId : void 0,
|
|
50
|
-
"data-state": l.open ? "open" : "closed",
|
|
51
|
-
"data-disabled": s ? "" : void 0,
|
|
52
|
-
disabled: s,
|
|
53
|
-
...c,
|
|
54
|
-
ref: t(i, l.triggerRef),
|
|
55
|
-
onPointerDown: e(r.onPointerDown, (e) => {
|
|
56
|
-
!s && e.button === 0 && e.ctrlKey === !1 && (l.onOpenToggle(), l.open || e.preventDefault());
|
|
57
|
-
}),
|
|
58
|
-
onKeyDown: e(r.onKeyDown, (e) => {
|
|
59
|
-
s || (["Enter", " "].includes(e.key) && l.onOpenToggle(), e.key === "ArrowDown" && l.onOpenChange(!0), [
|
|
60
|
-
"Enter",
|
|
61
|
-
" ",
|
|
62
|
-
"ArrowDown"
|
|
63
|
-
].includes(e.key) && e.preventDefault());
|
|
64
|
-
})
|
|
65
|
-
})
|
|
66
|
-
});
|
|
67
|
-
});
|
|
68
|
-
j.displayName = A;
|
|
69
|
-
var M = "DropdownMenuPortal", N = (e) => {
|
|
70
|
-
let { __scopeDropdownMenu: t, ...n } = e;
|
|
71
|
-
return /* @__PURE__ */ C(m, {
|
|
72
|
-
...E(t),
|
|
73
|
-
...n
|
|
74
|
-
});
|
|
75
|
-
};
|
|
76
|
-
N.displayName = M;
|
|
77
|
-
var P = "DropdownMenuContent", F = S.forwardRef((t, n) => {
|
|
78
|
-
let { __scopeDropdownMenu: r, ...i } = t, a = O(P, r), o = E(r), s = S.useRef(!1);
|
|
79
|
-
return /* @__PURE__ */ C(l, {
|
|
80
|
-
id: a.contentId,
|
|
81
|
-
"aria-labelledby": a.triggerId,
|
|
82
|
-
...o,
|
|
83
|
-
...i,
|
|
84
|
-
ref: n,
|
|
85
|
-
onCloseAutoFocus: e(t.onCloseAutoFocus, (e) => {
|
|
86
|
-
s.current || a.triggerRef.current?.focus(), s.current = !1, e.preventDefault();
|
|
87
|
-
}),
|
|
88
|
-
onInteractOutside: e(t.onInteractOutside, (e) => {
|
|
89
|
-
let t = e.detail.originalEvent, n = t.button === 0 && t.ctrlKey === !0, r = t.button === 2 || n;
|
|
90
|
-
(!a.modal || r) && (s.current = !0);
|
|
91
|
-
}),
|
|
92
|
-
style: {
|
|
93
|
-
...t.style,
|
|
94
|
-
"--radix-dropdown-menu-content-transform-origin": "var(--radix-popper-transform-origin)",
|
|
95
|
-
"--radix-dropdown-menu-content-available-width": "var(--radix-popper-available-width)",
|
|
96
|
-
"--radix-dropdown-menu-content-available-height": "var(--radix-popper-available-height)",
|
|
97
|
-
"--radix-dropdown-menu-trigger-width": "var(--radix-popper-anchor-width)",
|
|
98
|
-
"--radix-dropdown-menu-trigger-height": "var(--radix-popper-anchor-height)"
|
|
99
|
-
}
|
|
100
|
-
});
|
|
101
|
-
});
|
|
102
|
-
F.displayName = P;
|
|
103
|
-
var I = "DropdownMenuGroup", L = S.forwardRef((e, t) => {
|
|
104
|
-
let { __scopeDropdownMenu: n, ...r } = e;
|
|
105
|
-
return /* @__PURE__ */ C(u, {
|
|
106
|
-
...E(n),
|
|
107
|
-
...r,
|
|
108
|
-
ref: t
|
|
109
|
-
});
|
|
110
|
-
});
|
|
111
|
-
L.displayName = I;
|
|
112
|
-
var R = "DropdownMenuLabel", z = S.forwardRef((e, t) => {
|
|
113
|
-
let { __scopeDropdownMenu: n, ...r } = e;
|
|
114
|
-
return /* @__PURE__ */ C(p, {
|
|
115
|
-
...E(n),
|
|
116
|
-
...r,
|
|
117
|
-
ref: t
|
|
118
|
-
});
|
|
119
|
-
});
|
|
120
|
-
z.displayName = R;
|
|
121
|
-
var B = "DropdownMenuItem", V = S.forwardRef((e, t) => {
|
|
122
|
-
let { __scopeDropdownMenu: n, ...r } = e;
|
|
123
|
-
return /* @__PURE__ */ C(d, {
|
|
124
|
-
...E(n),
|
|
125
|
-
...r,
|
|
126
|
-
ref: t
|
|
127
|
-
});
|
|
128
|
-
});
|
|
129
|
-
V.displayName = B;
|
|
130
|
-
var H = "DropdownMenuCheckboxItem", te = S.forwardRef((e, t) => {
|
|
131
|
-
let { __scopeDropdownMenu: n, ...r } = e;
|
|
132
|
-
return /* @__PURE__ */ C(c, {
|
|
133
|
-
...E(n),
|
|
134
|
-
...r,
|
|
135
|
-
ref: t
|
|
136
|
-
});
|
|
137
|
-
});
|
|
138
|
-
te.displayName = H;
|
|
139
|
-
var U = "DropdownMenuRadioGroup", W = S.forwardRef((e, t) => {
|
|
140
|
-
let { __scopeDropdownMenu: n, ...r } = e;
|
|
141
|
-
return /* @__PURE__ */ C(h, {
|
|
142
|
-
...E(n),
|
|
143
|
-
...r,
|
|
144
|
-
ref: t
|
|
145
|
-
});
|
|
146
|
-
});
|
|
147
|
-
W.displayName = U;
|
|
148
|
-
var G = "DropdownMenuRadioItem", K = S.forwardRef((e, t) => {
|
|
149
|
-
let { __scopeDropdownMenu: n, ...r } = e;
|
|
150
|
-
return /* @__PURE__ */ C(g, {
|
|
151
|
-
...E(n),
|
|
152
|
-
...r,
|
|
153
|
-
ref: t
|
|
154
|
-
});
|
|
155
|
-
});
|
|
156
|
-
K.displayName = G;
|
|
157
|
-
var q = "DropdownMenuItemIndicator", J = S.forwardRef((e, t) => {
|
|
158
|
-
let { __scopeDropdownMenu: n, ...r } = e;
|
|
159
|
-
return /* @__PURE__ */ C(f, {
|
|
160
|
-
...E(n),
|
|
161
|
-
...r,
|
|
162
|
-
ref: t
|
|
163
|
-
});
|
|
164
|
-
});
|
|
165
|
-
J.displayName = q;
|
|
166
|
-
var Y = "DropdownMenuSeparator", X = S.forwardRef((e, t) => {
|
|
167
|
-
let { __scopeDropdownMenu: n, ...r } = e;
|
|
168
|
-
return /* @__PURE__ */ C(v, {
|
|
169
|
-
...E(n),
|
|
170
|
-
...r,
|
|
171
|
-
ref: t
|
|
172
|
-
});
|
|
173
|
-
});
|
|
174
|
-
X.displayName = Y;
|
|
175
|
-
var Z = "DropdownMenuArrow", Q = S.forwardRef((e, t) => {
|
|
176
|
-
let { __scopeDropdownMenu: n, ...r } = e;
|
|
177
|
-
return /* @__PURE__ */ C(s, {
|
|
178
|
-
...E(n),
|
|
179
|
-
...r,
|
|
180
|
-
ref: t
|
|
181
|
-
});
|
|
182
|
-
});
|
|
183
|
-
Q.displayName = Z;
|
|
184
|
-
var $ = "DropdownMenuSubTrigger", ne = S.forwardRef((e, t) => {
|
|
185
|
-
let { __scopeDropdownMenu: n, ...r } = e;
|
|
186
|
-
return /* @__PURE__ */ C(b, {
|
|
187
|
-
...E(n),
|
|
188
|
-
...r,
|
|
189
|
-
ref: t
|
|
190
|
-
});
|
|
191
|
-
});
|
|
192
|
-
ne.displayName = $;
|
|
193
|
-
var re = "DropdownMenuSubContent", ie = S.forwardRef((e, t) => {
|
|
194
|
-
let { __scopeDropdownMenu: n, ...r } = e;
|
|
195
|
-
return /* @__PURE__ */ C(y, {
|
|
196
|
-
...E(n),
|
|
197
|
-
...r,
|
|
198
|
-
ref: t,
|
|
199
|
-
style: {
|
|
200
|
-
...e.style,
|
|
201
|
-
"--radix-dropdown-menu-content-transform-origin": "var(--radix-popper-transform-origin)",
|
|
202
|
-
"--radix-dropdown-menu-content-available-width": "var(--radix-popper-available-width)",
|
|
203
|
-
"--radix-dropdown-menu-content-available-height": "var(--radix-popper-available-height)",
|
|
204
|
-
"--radix-dropdown-menu-trigger-width": "var(--radix-popper-anchor-width)",
|
|
205
|
-
"--radix-dropdown-menu-trigger-height": "var(--radix-popper-anchor-height)"
|
|
206
|
-
}
|
|
207
|
-
});
|
|
208
|
-
});
|
|
209
|
-
ie.displayName = re;
|
|
210
|
-
var ae = k, oe = j, se = N, ce = F, le = V;
|
|
211
|
-
//#endregion
|
|
212
|
-
export { ce as Content2, le as Item2, se as Portal2, ae as Root2, oe as Trigger };
|
|
213
|
-
|
|
214
|
-
//# sourceMappingURL=index310.js.map
|
|
12
|
+
//# sourceMappingURL=index310.js.map
|
package/dist/index310.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index310.js","names":["React","MenuPrimitive.Root","MenuPrimitive.Anchor","MenuPrimitive.Portal","MenuPrimitive.Content","MenuPrimitive.Group","MenuPrimitive.Label","MenuPrimitive.Item","MenuPrimitive.CheckboxItem","MenuPrimitive.RadioGroup","MenuPrimitive.RadioItem","MenuPrimitive.ItemIndicator","MenuPrimitive.Separator","MenuPrimitive.Arrow","MenuPrimitive.SubTrigger","MenuPrimitive.SubContent"],"sources":["../../../node_modules/@radix-ui/react-dropdown-menu/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/dropdown-menu.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport * as MenuPrimitive from \"@radix-ui/react-menu\";\nimport { createMenuScope } from \"@radix-ui/react-menu\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { jsx } from \"react/jsx-runtime\";\nvar DROPDOWN_MENU_NAME = \"DropdownMenu\";\nvar [createDropdownMenuContext, createDropdownMenuScope] = createContextScope(\n DROPDOWN_MENU_NAME,\n [createMenuScope]\n);\nvar useMenuScope = createMenuScope();\nvar [DropdownMenuProvider, useDropdownMenuContext] = createDropdownMenuContext(DROPDOWN_MENU_NAME);\nvar DropdownMenu = (props) => {\n const {\n __scopeDropdownMenu,\n children,\n dir,\n open: openProp,\n defaultOpen,\n onOpenChange,\n modal = true\n } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n const triggerRef = React.useRef(null);\n const [open, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen ?? false,\n onChange: onOpenChange,\n caller: DROPDOWN_MENU_NAME\n });\n return /* @__PURE__ */ jsx(\n DropdownMenuProvider,\n {\n scope: __scopeDropdownMenu,\n triggerId: useId(),\n triggerRef,\n contentId: useId(),\n open,\n onOpenChange: setOpen,\n onOpenToggle: React.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),\n modal,\n children: /* @__PURE__ */ jsx(MenuPrimitive.Root, { ...menuScope, open, onOpenChange: setOpen, dir, modal, children })\n }\n );\n};\nDropdownMenu.displayName = DROPDOWN_MENU_NAME;\nvar TRIGGER_NAME = \"DropdownMenuTrigger\";\nvar DropdownMenuTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, disabled = false, ...triggerProps } = props;\n const context = useDropdownMenuContext(TRIGGER_NAME, __scopeDropdownMenu);\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Anchor, { asChild: true, ...menuScope, children: /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n id: context.triggerId,\n \"aria-haspopup\": \"menu\",\n \"aria-expanded\": context.open,\n \"aria-controls\": context.open ? context.contentId : void 0,\n \"data-state\": context.open ? \"open\" : \"closed\",\n \"data-disabled\": disabled ? \"\" : void 0,\n disabled,\n ...triggerProps,\n ref: composeRefs(forwardedRef, context.triggerRef),\n onPointerDown: composeEventHandlers(props.onPointerDown, (event) => {\n if (!disabled && event.button === 0 && event.ctrlKey === false) {\n context.onOpenToggle();\n if (!context.open) event.preventDefault();\n }\n }),\n onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {\n if (disabled) return;\n if ([\"Enter\", \" \"].includes(event.key)) context.onOpenToggle();\n if (event.key === \"ArrowDown\") context.onOpenChange(true);\n if ([\"Enter\", \" \", \"ArrowDown\"].includes(event.key)) event.preventDefault();\n })\n }\n ) });\n }\n);\nDropdownMenuTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"DropdownMenuPortal\";\nvar DropdownMenuPortal = (props) => {\n const { __scopeDropdownMenu, ...portalProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Portal, { ...menuScope, ...portalProps });\n};\nDropdownMenuPortal.displayName = PORTAL_NAME;\nvar CONTENT_NAME = \"DropdownMenuContent\";\nvar DropdownMenuContent = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, ...contentProps } = props;\n const context = useDropdownMenuContext(CONTENT_NAME, __scopeDropdownMenu);\n const menuScope = useMenuScope(__scopeDropdownMenu);\n const hasInteractedOutsideRef = React.useRef(false);\n return /* @__PURE__ */ jsx(\n MenuPrimitive.Content,\n {\n id: context.contentId,\n \"aria-labelledby\": context.triggerId,\n ...menuScope,\n ...contentProps,\n ref: forwardedRef,\n onCloseAutoFocus: composeEventHandlers(props.onCloseAutoFocus, (event) => {\n if (!hasInteractedOutsideRef.current) context.triggerRef.current?.focus();\n hasInteractedOutsideRef.current = false;\n event.preventDefault();\n }),\n onInteractOutside: composeEventHandlers(props.onInteractOutside, (event) => {\n const originalEvent = event.detail.originalEvent;\n const ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === true;\n const isRightClick = originalEvent.button === 2 || ctrlLeftClick;\n if (!context.modal || isRightClick) hasInteractedOutsideRef.current = true;\n }),\n style: {\n ...props.style,\n // re-namespace exposed content custom properties\n ...{\n \"--radix-dropdown-menu-content-transform-origin\": \"var(--radix-popper-transform-origin)\",\n \"--radix-dropdown-menu-content-available-width\": \"var(--radix-popper-available-width)\",\n \"--radix-dropdown-menu-content-available-height\": \"var(--radix-popper-available-height)\",\n \"--radix-dropdown-menu-trigger-width\": \"var(--radix-popper-anchor-width)\",\n \"--radix-dropdown-menu-trigger-height\": \"var(--radix-popper-anchor-height)\"\n }\n }\n }\n );\n }\n);\nDropdownMenuContent.displayName = CONTENT_NAME;\nvar GROUP_NAME = \"DropdownMenuGroup\";\nvar DropdownMenuGroup = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, ...groupProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Group, { ...menuScope, ...groupProps, ref: forwardedRef });\n }\n);\nDropdownMenuGroup.displayName = GROUP_NAME;\nvar LABEL_NAME = \"DropdownMenuLabel\";\nvar DropdownMenuLabel = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, ...labelProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Label, { ...menuScope, ...labelProps, ref: forwardedRef });\n }\n);\nDropdownMenuLabel.displayName = LABEL_NAME;\nvar ITEM_NAME = \"DropdownMenuItem\";\nvar DropdownMenuItem = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, ...itemProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Item, { ...menuScope, ...itemProps, ref: forwardedRef });\n }\n);\nDropdownMenuItem.displayName = ITEM_NAME;\nvar CHECKBOX_ITEM_NAME = \"DropdownMenuCheckboxItem\";\nvar DropdownMenuCheckboxItem = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...checkboxItemProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.CheckboxItem, { ...menuScope, ...checkboxItemProps, ref: forwardedRef });\n});\nDropdownMenuCheckboxItem.displayName = CHECKBOX_ITEM_NAME;\nvar RADIO_GROUP_NAME = \"DropdownMenuRadioGroup\";\nvar DropdownMenuRadioGroup = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...radioGroupProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.RadioGroup, { ...menuScope, ...radioGroupProps, ref: forwardedRef });\n});\nDropdownMenuRadioGroup.displayName = RADIO_GROUP_NAME;\nvar RADIO_ITEM_NAME = \"DropdownMenuRadioItem\";\nvar DropdownMenuRadioItem = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...radioItemProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.RadioItem, { ...menuScope, ...radioItemProps, ref: forwardedRef });\n});\nDropdownMenuRadioItem.displayName = RADIO_ITEM_NAME;\nvar INDICATOR_NAME = \"DropdownMenuItemIndicator\";\nvar DropdownMenuItemIndicator = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...itemIndicatorProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.ItemIndicator, { ...menuScope, ...itemIndicatorProps, ref: forwardedRef });\n});\nDropdownMenuItemIndicator.displayName = INDICATOR_NAME;\nvar SEPARATOR_NAME = \"DropdownMenuSeparator\";\nvar DropdownMenuSeparator = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...separatorProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Separator, { ...menuScope, ...separatorProps, ref: forwardedRef });\n});\nDropdownMenuSeparator.displayName = SEPARATOR_NAME;\nvar ARROW_NAME = \"DropdownMenuArrow\";\nvar DropdownMenuArrow = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, ...arrowProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Arrow, { ...menuScope, ...arrowProps, ref: forwardedRef });\n }\n);\nDropdownMenuArrow.displayName = ARROW_NAME;\nvar DropdownMenuSub = (props) => {\n const { __scopeDropdownMenu, children, open: openProp, onOpenChange, defaultOpen } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n const [open, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen ?? false,\n onChange: onOpenChange,\n caller: \"DropdownMenuSub\"\n });\n return /* @__PURE__ */ jsx(MenuPrimitive.Sub, { ...menuScope, open, onOpenChange: setOpen, children });\n};\nvar SUB_TRIGGER_NAME = \"DropdownMenuSubTrigger\";\nvar DropdownMenuSubTrigger = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...subTriggerProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.SubTrigger, { ...menuScope, ...subTriggerProps, ref: forwardedRef });\n});\nDropdownMenuSubTrigger.displayName = SUB_TRIGGER_NAME;\nvar SUB_CONTENT_NAME = \"DropdownMenuSubContent\";\nvar DropdownMenuSubContent = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...subContentProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(\n MenuPrimitive.SubContent,\n {\n ...menuScope,\n ...subContentProps,\n ref: forwardedRef,\n style: {\n ...props.style,\n // re-namespace exposed content custom properties\n ...{\n \"--radix-dropdown-menu-content-transform-origin\": \"var(--radix-popper-transform-origin)\",\n \"--radix-dropdown-menu-content-available-width\": \"var(--radix-popper-available-width)\",\n \"--radix-dropdown-menu-content-available-height\": \"var(--radix-popper-available-height)\",\n \"--radix-dropdown-menu-trigger-width\": \"var(--radix-popper-anchor-width)\",\n \"--radix-dropdown-menu-trigger-height\": \"var(--radix-popper-anchor-height)\"\n }\n }\n }\n );\n});\nDropdownMenuSubContent.displayName = SUB_CONTENT_NAME;\nvar Root2 = DropdownMenu;\nvar Trigger = DropdownMenuTrigger;\nvar Portal2 = DropdownMenuPortal;\nvar Content2 = DropdownMenuContent;\nvar Group2 = DropdownMenuGroup;\nvar Label2 = DropdownMenuLabel;\nvar Item2 = DropdownMenuItem;\nvar CheckboxItem2 = DropdownMenuCheckboxItem;\nvar RadioGroup2 = DropdownMenuRadioGroup;\nvar RadioItem2 = DropdownMenuRadioItem;\nvar ItemIndicator2 = DropdownMenuItemIndicator;\nvar Separator2 = DropdownMenuSeparator;\nvar Arrow2 = DropdownMenuArrow;\nvar Sub2 = DropdownMenuSub;\nvar SubTrigger2 = DropdownMenuSubTrigger;\nvar SubContent2 = DropdownMenuSubContent;\nexport {\n Arrow2 as Arrow,\n CheckboxItem2 as CheckboxItem,\n Content2 as Content,\n DropdownMenu,\n DropdownMenuArrow,\n DropdownMenuCheckboxItem,\n DropdownMenuContent,\n DropdownMenuGroup,\n DropdownMenuItem,\n DropdownMenuItemIndicator,\n DropdownMenuLabel,\n DropdownMenuPortal,\n DropdownMenuRadioGroup,\n DropdownMenuRadioItem,\n DropdownMenuSeparator,\n DropdownMenuSub,\n DropdownMenuSubContent,\n DropdownMenuSubTrigger,\n DropdownMenuTrigger,\n Group2 as Group,\n Item2 as Item,\n ItemIndicator2 as ItemIndicator,\n Label2 as Label,\n Portal2 as Portal,\n RadioGroup2 as RadioGroup,\n RadioItem2 as RadioItem,\n Root2 as Root,\n Separator2 as Separator,\n Sub2 as Sub,\n SubContent2 as SubContent,\n SubTrigger2 as SubTrigger,\n Trigger,\n createDropdownMenuScope\n};\n//#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H,KAAK;EACL,OAAO;GACL,GAAG,EAAM;GAGP,kDAAkD;GAClD,iDAAiD;GACjD,kDAAkD;GAClD,uCAAuC;GACvC,wCAAwC;GAE3C;EACF,CACF;EACD;AACF,GAAuB,cAAc;AACrC,IAAI,KAAQ,GACR,KAAU,GACV,KAAU,GACV,KAAW,GAGX,KAAQ"}
|
|
1
|
+
{"version":3,"file":"index310.js","sources":["../../../node_modules/date-fns/locale/en-US/_lib/formatRelative.js"],"sourcesContent":["const formatRelativeLocale = {\n lastWeek: \"'last' eeee 'at' p\",\n yesterday: \"'yesterday at' p\",\n today: \"'today at' p\",\n tomorrow: \"'tomorrow at' p\",\n nextWeek: \"eeee 'at' p\",\n other: \"P\",\n};\n\nexport const formatRelative = (token, _date, _baseDate, _options) =>\n formatRelativeLocale[token];\n"],"names":["formatRelativeLocale","formatRelative","token","_date","_baseDate","_options"],"mappings":"AAAA,MAAMA,IAAuB;AAAA,EAC3B,UAAU;AAAA,EACV,WAAW;AAAA,EACX,OAAO;AAAA,EACP,UAAU;AAAA,EACV,UAAU;AAAA,EACV,OAAO;AACT,GAEaC,IAAiB,CAACC,GAAOC,GAAOC,GAAWC,MACtDL,EAAqBE,CAAK;","x_google_ignoreList":[0]}
|