@anoki/fse-ui 1.0.558 → 1.0.559
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.cjs10.js +1 -1
- package/dist/index.cjs100.js +1 -1
- package/dist/index.cjs101.js +1 -1
- package/dist/index.cjs102.js +1 -1
- package/dist/index.cjs103.js +1 -1
- package/dist/index.cjs104.js +1 -1
- package/dist/index.cjs106.js +1 -1
- package/dist/index.cjs107.js +1 -1
- package/dist/index.cjs109.js +1 -1
- package/dist/index.cjs11.js +1 -1
- package/dist/index.cjs112.js +1 -1
- package/dist/index.cjs113.js +1 -1
- package/dist/index.cjs116.js +1 -1
- package/dist/index.cjs117.js +1 -1
- package/dist/index.cjs118.js +1 -1
- package/dist/index.cjs119.js +1 -1
- package/dist/index.cjs12.js +1 -1
- package/dist/index.cjs120.js +1 -1
- package/dist/index.cjs121.js +1 -1
- package/dist/index.cjs122.js +1 -1
- package/dist/index.cjs123.js +1 -1
- package/dist/index.cjs124.js +1 -1
- package/dist/index.cjs125.js +1 -1
- package/dist/index.cjs126.js +1 -1
- package/dist/index.cjs127.js +1 -1
- package/dist/index.cjs128.js +1 -1
- package/dist/index.cjs129.js +1 -1
- package/dist/index.cjs13.js +1 -1
- package/dist/index.cjs130.js +1 -1
- package/dist/index.cjs131.js +1 -1
- package/dist/index.cjs132.js +1 -1
- package/dist/index.cjs133.js +1 -1
- package/dist/index.cjs134.js +1 -1
- package/dist/index.cjs135.js +1 -1
- package/dist/index.cjs136.js +1 -1
- package/dist/index.cjs137.js +1 -1
- package/dist/index.cjs138.js +1 -1
- package/dist/index.cjs139.js +1 -1
- package/dist/index.cjs14.js +1 -1
- package/dist/index.cjs140.js +1 -1
- package/dist/index.cjs141.js +1 -1
- package/dist/index.cjs142.js +1 -1
- package/dist/index.cjs144.js +1 -1
- package/dist/index.cjs145.js +1 -1
- package/dist/index.cjs146.js +1 -1
- package/dist/index.cjs147.js +1 -1
- package/dist/index.cjs148.js +1 -1
- package/dist/index.cjs149.js +1 -1
- package/dist/index.cjs15.js +1 -1
- package/dist/index.cjs150.js +1 -1
- package/dist/index.cjs151.js +1 -1
- package/dist/index.cjs152.js +1 -1
- package/dist/index.cjs154.js +1 -1
- package/dist/index.cjs155.js +1 -1
- package/dist/index.cjs156.js +1 -1
- package/dist/index.cjs157.js +1 -1
- package/dist/index.cjs158.js +1 -1
- package/dist/index.cjs159.js +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs160.js +1 -1
- package/dist/index.cjs162.js +1 -1
- package/dist/index.cjs163.js +1 -1
- package/dist/index.cjs164.js +1 -1
- package/dist/index.cjs165.js +1 -1
- package/dist/index.cjs166.js +1 -1
- package/dist/index.cjs167.js +1 -1
- package/dist/index.cjs168.js +1 -1
- package/dist/index.cjs17.js +1 -1
- package/dist/index.cjs18.js +1 -1
- package/dist/index.cjs19.js +1 -1
- package/dist/index.cjs190.js +1 -1
- package/dist/index.cjs190.js.map +1 -1
- package/dist/index.cjs192.js +2 -0
- package/dist/index.cjs192.js.map +1 -0
- package/dist/{index.cjs191.js → index.cjs199.js} +1 -1
- package/dist/{index.cjs191.js.map → index.cjs199.js.map} +1 -1
- package/dist/index.cjs20.js +1 -1
- package/dist/index.cjs201.js +1 -1
- package/dist/index.cjs201.js.map +1 -1
- package/dist/{index.cjs193.js → index.cjs202.js} +1 -1
- package/dist/{index.cjs193.js.map → index.cjs202.js.map} +1 -1
- package/dist/index.cjs204.js +1 -1
- package/dist/index.cjs204.js.map +1 -1
- package/dist/{index.cjs197.js → index.cjs206.js} +1 -1
- package/dist/{index.cjs197.js.map → index.cjs206.js.map} +1 -1
- package/dist/index.cjs21.js +1 -1
- package/dist/index.cjs210.js +1 -1
- package/dist/index.cjs210.js.map +1 -1
- package/dist/index.cjs213.js +2 -0
- package/dist/index.cjs213.js.map +1 -0
- package/dist/{index.cjs207.js → index.cjs216.js} +2 -2
- package/dist/{index.cjs207.js.map → index.cjs216.js.map} +1 -1
- package/dist/index.cjs219.js +1 -1
- package/dist/index.cjs219.js.map +1 -1
- package/dist/index.cjs22.js +1 -1
- package/dist/{index.cjs211.js → index.cjs220.js} +2 -2
- package/dist/{index.cjs211.js.map → index.cjs220.js.map} +1 -1
- package/dist/{index.cjs212.js → index.cjs221.js} +2 -2
- package/dist/{index.cjs212.js.map → index.cjs221.js.map} +1 -1
- package/dist/index.cjs227.js +1 -1
- package/dist/index.cjs227.js.map +1 -1
- package/dist/index.cjs228.js +2 -0
- package/dist/index.cjs228.js.map +1 -0
- package/dist/index.cjs23.js +1 -1
- package/dist/index.cjs231.js +1 -1
- package/dist/index.cjs231.js.map +1 -1
- package/dist/index.cjs236.js +1 -1
- package/dist/index.cjs236.js.map +1 -1
- package/dist/{index.cjs229.js → index.cjs238.js} +2 -2
- package/dist/{index.cjs229.js.map → index.cjs238.js.map} +1 -1
- package/dist/{index.cjs230.js → index.cjs239.js} +2 -2
- package/dist/{index.cjs230.js.map → index.cjs239.js.map} +1 -1
- package/dist/index.cjs24.js +1 -1
- package/dist/index.cjs240.js +1 -1
- package/dist/index.cjs240.js.map +1 -1
- package/dist/index.cjs241.js +1 -1
- package/dist/index.cjs241.js.map +1 -1
- package/dist/{index.cjs233.js → index.cjs242.js} +2 -2
- package/dist/{index.cjs233.js.map → index.cjs242.js.map} +1 -1
- package/dist/{index.cjs235.js → index.cjs244.js} +2 -2
- package/dist/{index.cjs235.js.map → index.cjs244.js.map} +1 -1
- package/dist/index.cjs245.js +2 -0
- package/dist/index.cjs245.js.map +1 -0
- package/dist/index.cjs246.js +1 -1
- package/dist/index.cjs246.js.map +1 -1
- package/dist/index.cjs249.js +2 -0
- package/dist/index.cjs249.js.map +1 -0
- package/dist/index.cjs25.js +1 -1
- package/dist/index.cjs250.js +1 -1
- package/dist/index.cjs250.js.map +1 -1
- package/dist/index.cjs255.js +1 -1
- package/dist/index.cjs255.js.map +1 -1
- package/dist/index.cjs256.js +1 -1
- package/dist/index.cjs256.js.map +1 -1
- package/dist/{index.cjs248.js → index.cjs257.js} +1 -1
- package/dist/{index.cjs248.js.map → index.cjs257.js.map} +1 -1
- package/dist/index.cjs259.js +2 -0
- package/dist/index.cjs259.js.map +1 -0
- package/dist/index.cjs26.js +1 -1
- package/dist/{index.cjs251.js → index.cjs260.js} +2 -2
- package/dist/{index.cjs251.js.map → index.cjs260.js.map} +1 -1
- package/dist/{index.cjs252.js → index.cjs261.js} +1 -1
- package/dist/{index.cjs252.js.map → index.cjs261.js.map} +1 -1
- package/dist/{index.cjs254.js → index.cjs263.js} +2 -2
- package/dist/{index.cjs254.js.map → index.cjs263.js.map} +1 -1
- package/dist/index.cjs264.js +2 -0
- package/dist/index.cjs264.js.map +1 -0
- package/dist/index.cjs265.js +2 -0
- package/dist/index.cjs265.js.map +1 -0
- package/dist/index.cjs267.js +6 -1
- package/dist/index.cjs267.js.map +1 -1
- package/dist/index.cjs276.js +2 -0
- package/dist/index.cjs276.js.map +1 -0
- package/dist/index.cjs28.js +1 -1
- package/dist/index.cjs29.js +1 -1
- package/dist/index.cjs30.js +1 -1
- package/dist/{index.cjs295.js → index.cjs304.js} +2 -2
- package/dist/{index.cjs295.js.map → index.cjs304.js.map} +1 -1
- package/dist/index.cjs31.js +1 -1
- package/dist/{index.cjs303.js → index.cjs312.js} +2 -2
- package/dist/{index.cjs303.js.map → index.cjs312.js.map} +1 -1
- package/dist/{index.cjs308.js → index.cjs317.js} +1 -1
- package/dist/{index.cjs308.js.map → index.cjs317.js.map} +1 -1
- package/dist/index.cjs32.js +1 -1
- package/dist/{index.cjs314.js → index.cjs323.js} +2 -2
- package/dist/{index.cjs314.js.map → index.cjs323.js.map} +1 -1
- package/dist/{index.cjs316.js → index.cjs325.js} +2 -2
- package/dist/{index.cjs316.js.map → index.cjs325.js.map} +1 -1
- package/dist/index.cjs33.js +1 -1
- package/dist/index.cjs330.js +1 -1
- package/dist/index.cjs331.js +1 -1
- package/dist/index.cjs332.js +27 -1
- package/dist/index.cjs332.js.map +1 -1
- package/dist/index.cjs333.js +1 -1
- package/dist/index.cjs334.js +1 -1
- package/dist/index.cjs336.js +1 -1
- package/dist/index.cjs336.js.map +1 -1
- package/dist/index.cjs339.js +1 -1
- package/dist/index.cjs339.js.map +1 -1
- package/dist/index.cjs34.js +1 -1
- package/dist/index.cjs340.js +1 -1
- package/dist/index.cjs340.js.map +1 -1
- package/dist/index.cjs341.js +1 -1
- package/dist/index.cjs341.js.map +1 -1
- package/dist/{index.cjs338.js → index.cjs342.js} +2 -2
- package/dist/{index.cjs338.js.map → index.cjs342.js.map} +1 -1
- package/dist/index.cjs343.js +1 -1
- package/dist/index.cjs343.js.map +1 -1
- package/dist/index.cjs344.js +1 -1
- package/dist/index.cjs344.js.map +1 -1
- package/dist/index.cjs345.js +1 -1
- package/dist/index.cjs345.js.map +1 -1
- package/dist/index.cjs346.js +1 -1
- package/dist/index.cjs346.js.map +1 -1
- package/dist/index.cjs347.js +1 -1
- package/dist/index.cjs347.js.map +1 -1
- package/dist/index.cjs348.js +1 -1
- package/dist/index.cjs348.js.map +1 -1
- package/dist/index.cjs349.js +1 -1
- package/dist/index.cjs349.js.map +1 -1
- package/dist/index.cjs350.js +1 -1
- package/dist/index.cjs350.js.map +1 -1
- package/dist/index.cjs359.js +1 -1
- package/dist/index.cjs359.js.map +1 -1
- package/dist/index.cjs36.js +1 -1
- package/dist/index.cjs360.js +2 -0
- package/dist/index.cjs360.js.map +1 -0
- package/dist/{index.cjs351.js → index.cjs361.js} +2 -2
- package/dist/{index.cjs351.js.map → index.cjs361.js.map} +1 -1
- package/dist/index.cjs362.js +1 -1
- package/dist/index.cjs362.js.map +1 -1
- package/dist/index.cjs363.js +1 -1
- package/dist/index.cjs363.js.map +1 -1
- package/dist/index.cjs364.js +1 -1
- package/dist/index.cjs364.js.map +1 -1
- package/dist/index.cjs365.js +1 -1
- package/dist/index.cjs365.js.map +1 -1
- package/dist/index.cjs37.js +1 -1
- package/dist/index.cjs373.js +1 -1
- package/dist/index.cjs373.js.map +1 -1
- package/dist/index.cjs374.js +1 -1
- package/dist/index.cjs374.js.map +1 -1
- package/dist/index.cjs375.js +1 -1
- package/dist/index.cjs375.js.map +1 -1
- package/dist/index.cjs376.js +2 -0
- package/dist/index.cjs376.js.map +1 -0
- package/dist/{index.cjs353.js → index.cjs377.js} +2 -2
- package/dist/{index.cjs353.js.map → index.cjs377.js.map} +1 -1
- package/dist/{index.cjs356.js → index.cjs378.js} +1 -1
- package/dist/{index.cjs356.js.map → index.cjs378.js.map} +1 -1
- package/dist/index.cjs379.js +2 -0
- package/dist/index.cjs379.js.map +1 -0
- package/dist/index.cjs38.js +1 -1
- package/dist/index.cjs380.js +2 -0
- package/dist/index.cjs380.js.map +1 -0
- package/dist/index.cjs381.js +2 -0
- package/dist/index.cjs381.js.map +1 -0
- package/dist/index.cjs382.js +1 -1
- package/dist/index.cjs382.js.map +1 -1
- package/dist/index.cjs383.js +1 -1
- package/dist/index.cjs383.js.map +1 -1
- package/dist/index.cjs384.js +1 -1
- package/dist/index.cjs384.js.map +1 -1
- package/dist/index.cjs385.js +1 -4
- package/dist/index.cjs385.js.map +1 -1
- package/dist/index.cjs386.js +1 -1
- package/dist/index.cjs386.js.map +1 -1
- package/dist/index.cjs387.js +1 -1
- package/dist/index.cjs387.js.map +1 -1
- package/dist/index.cjs388.js +1 -1
- package/dist/index.cjs388.js.map +1 -1
- package/dist/index.cjs389.js +4 -1
- package/dist/index.cjs389.js.map +1 -1
- package/dist/index.cjs39.js +1 -1
- package/dist/index.cjs390.js +1 -1
- package/dist/index.cjs390.js.map +1 -1
- package/dist/index.cjs391.js +2 -0
- package/dist/index.cjs391.js.map +1 -0
- package/dist/index.cjs392.js +1 -1
- package/dist/index.cjs392.js.map +1 -1
- package/dist/index.cjs393.js +1 -38
- package/dist/index.cjs393.js.map +1 -1
- package/dist/index.cjs394.js +1 -1
- package/dist/index.cjs394.js.map +1 -1
- package/dist/index.cjs395.js +38 -1
- package/dist/index.cjs395.js.map +1 -1
- package/dist/index.cjs396.js +1 -1
- package/dist/index.cjs396.js.map +1 -1
- package/dist/index.cjs397.js +1 -1
- package/dist/index.cjs397.js.map +1 -1
- package/dist/index.cjs398.js +1 -1
- package/dist/index.cjs398.js.map +1 -1
- package/dist/index.cjs399.js +1 -1
- package/dist/index.cjs399.js.map +1 -1
- package/dist/index.cjs40.js +1 -1
- package/dist/index.cjs400.js +1 -1
- package/dist/index.cjs400.js.map +1 -1
- package/dist/index.cjs401.js +1 -1
- package/dist/index.cjs401.js.map +1 -1
- package/dist/index.cjs402.js +1 -1
- package/dist/index.cjs402.js.map +1 -1
- package/dist/index.cjs403.js +2 -0
- package/dist/index.cjs403.js.map +1 -0
- package/dist/index.cjs404.js +2 -0
- package/dist/index.cjs404.js.map +1 -0
- package/dist/index.cjs407.js +1 -1
- package/dist/index.cjs41.js +1 -1
- package/dist/index.cjs414.js +1 -1
- package/dist/index.cjs42.js +1 -1
- package/dist/index.cjs43.js +1 -1
- package/dist/index.cjs44.js +1 -1
- package/dist/index.cjs45.js +1 -1
- package/dist/index.cjs46.js +1 -1
- package/dist/index.cjs47.js +1 -1
- package/dist/index.cjs48.js +1 -1
- package/dist/index.cjs49.js +1 -1
- package/dist/index.cjs50.js +1 -1
- package/dist/index.cjs51.js +1 -1
- package/dist/index.cjs52.js +1 -1
- package/dist/index.cjs53.js +1 -1
- package/dist/index.cjs54.js +1 -1
- package/dist/index.cjs55.js +1 -1
- package/dist/index.cjs56.js +1 -1
- package/dist/index.cjs58.js +1 -1
- package/dist/index.cjs59.js +1 -1
- package/dist/index.cjs6.js +1 -1
- package/dist/index.cjs60.js +1 -1
- package/dist/index.cjs61.js +1 -1
- package/dist/index.cjs63.js +1 -1
- package/dist/index.cjs65.js +1 -1
- package/dist/index.cjs66.js +1 -1
- package/dist/index.cjs68.js +1 -1
- package/dist/index.cjs69.js +1 -1
- package/dist/index.cjs7.js +1 -1
- package/dist/index.cjs70.js +1 -1
- package/dist/index.cjs71.js +1 -1
- package/dist/index.cjs8.js +1 -1
- package/dist/index.cjs88.js +1 -1
- package/dist/index.cjs89.js +1 -1
- package/dist/index.cjs9.js +1 -1
- package/dist/index.cjs90.js +1 -1
- package/dist/index.cjs92.js +1 -1
- package/dist/index.cjs92.js.map +1 -1
- package/dist/index.cjs94.js +1 -1
- package/dist/index.cjs95.js +1 -1
- package/dist/index.cjs98.js +1 -1
- package/dist/index.cjs99.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.es10.js +4 -4
- package/dist/index.es100.js +3 -3
- package/dist/index.es101.js +1 -1
- package/dist/index.es102.js +1 -1
- package/dist/index.es103.js +1 -1
- package/dist/index.es104.js +1 -1
- package/dist/index.es106.js +2 -2
- package/dist/index.es107.js +1 -1
- package/dist/index.es109.js +2 -2
- package/dist/index.es11.js +2 -2
- package/dist/index.es112.js +2 -2
- package/dist/index.es113.js +1 -1
- package/dist/index.es116.js +2 -2
- package/dist/index.es117.js +2 -2
- package/dist/index.es118.js +2 -2
- package/dist/index.es119.js +2 -2
- package/dist/index.es12.js +2 -2
- package/dist/index.es120.js +2 -2
- package/dist/index.es121.js +2 -2
- package/dist/index.es122.js +2 -2
- package/dist/index.es123.js +2 -2
- package/dist/index.es124.js +2 -2
- package/dist/index.es125.js +2 -2
- package/dist/index.es126.js +2 -2
- package/dist/index.es127.js +2 -2
- package/dist/index.es128.js +2 -2
- package/dist/index.es129.js +2 -2
- package/dist/index.es13.js +1 -1
- package/dist/index.es130.js +2 -2
- package/dist/index.es131.js +2 -2
- package/dist/index.es132.js +2 -2
- package/dist/index.es133.js +2 -2
- package/dist/index.es134.js +2 -2
- package/dist/index.es135.js +2 -2
- package/dist/index.es136.js +2 -2
- package/dist/index.es137.js +2 -2
- package/dist/index.es138.js +1 -1
- package/dist/index.es139.js +1 -1
- package/dist/index.es14.js +1 -1
- package/dist/index.es140.js +2 -2
- package/dist/index.es141.js +2 -2
- package/dist/index.es142.js +2 -2
- package/dist/index.es144.js +2 -2
- package/dist/index.es145.js +2 -2
- package/dist/index.es146.js +2 -2
- package/dist/index.es147.js +2 -2
- package/dist/index.es148.js +2 -2
- package/dist/index.es149.js +2 -2
- package/dist/index.es15.js +2 -2
- package/dist/index.es150.js +2 -2
- package/dist/index.es151.js +2 -2
- package/dist/index.es152.js +2 -2
- package/dist/index.es154.js +2 -2
- package/dist/index.es155.js +2 -2
- package/dist/index.es156.js +2 -2
- package/dist/index.es157.js +2 -2
- package/dist/index.es158.js +2 -2
- package/dist/index.es159.js +2 -2
- package/dist/index.es16.js +2 -2
- package/dist/index.es160.js +2 -2
- package/dist/index.es162.js +2 -2
- package/dist/index.es163.js +2 -2
- package/dist/index.es164.js +2 -2
- package/dist/index.es165.js +2 -2
- package/dist/index.es166.js +2 -2
- package/dist/index.es167.js +2 -2
- package/dist/index.es168.js +2 -2
- package/dist/index.es17.js +1 -1
- package/dist/index.es18.js +2 -2
- package/dist/index.es19.js +2 -2
- package/dist/index.es190.js +15 -2
- package/dist/index.es190.js.map +1 -1
- package/dist/index.es192.js +6 -0
- package/dist/index.es192.js.map +1 -0
- package/dist/{index.es191.js → index.es199.js} +1 -1
- package/dist/{index.es191.js.map → index.es199.js.map} +1 -1
- package/dist/index.es20.js +1 -1
- package/dist/index.es201.js +2 -22
- package/dist/index.es201.js.map +1 -1
- package/dist/{index.es193.js → index.es202.js} +1 -1
- package/dist/{index.es193.js.map → index.es202.js.map} +1 -1
- package/dist/index.es204.js +11 -21
- package/dist/index.es204.js.map +1 -1
- package/dist/{index.es197.js → index.es206.js} +1 -1
- package/dist/{index.es197.js.map → index.es206.js.map} +1 -1
- package/dist/index.es21.js +2 -2
- package/dist/index.es210.js +17 -71
- package/dist/index.es210.js.map +1 -1
- package/dist/index.es213.js +25 -0
- package/dist/index.es213.js.map +1 -0
- package/dist/{index.es207.js → index.es216.js} +8 -8
- package/dist/{index.es207.js.map → index.es216.js.map} +1 -1
- package/dist/index.es219.js +76 -20
- package/dist/index.es219.js.map +1 -1
- package/dist/index.es22.js +3 -3
- package/dist/{index.es211.js → index.es220.js} +3 -3
- package/dist/{index.es211.js.map → index.es220.js.map} +1 -1
- package/dist/{index.es212.js → index.es221.js} +4 -4
- package/dist/{index.es212.js.map → index.es221.js.map} +1 -1
- package/dist/index.es227.js +129 -47
- package/dist/index.es227.js.map +1 -1
- package/dist/index.es228.js +23 -0
- package/dist/index.es228.js.map +1 -0
- package/dist/index.es23.js +2 -2
- package/dist/index.es231.js +3 -18
- package/dist/index.es231.js.map +1 -1
- package/dist/index.es236.js +51 -4
- package/dist/index.es236.js.map +1 -1
- package/dist/{index.es229.js → index.es238.js} +15 -15
- package/dist/{index.es229.js.map → index.es238.js.map} +1 -1
- package/dist/{index.es230.js → index.es239.js} +2 -2
- package/dist/{index.es230.js.map → index.es239.js.map} +1 -1
- package/dist/index.es24.js +2 -2
- package/dist/index.es240.js +18 -8
- package/dist/index.es240.js.map +1 -1
- package/dist/index.es241.js +7 -4
- package/dist/index.es241.js.map +1 -1
- package/dist/{index.es233.js → index.es242.js} +2 -2
- package/dist/{index.es233.js.map → index.es242.js.map} +1 -1
- package/dist/{index.es235.js → index.es244.js} +2 -2
- package/dist/{index.es235.js.map → index.es244.js.map} +1 -1
- package/dist/index.es245.js +7 -0
- package/dist/index.es245.js.map +1 -0
- package/dist/index.es246.js +5 -5
- package/dist/index.es246.js.map +1 -1
- package/dist/index.es249.js +11 -0
- package/dist/index.es249.js.map +1 -0
- package/dist/index.es25.js +2 -2
- package/dist/index.es250.js +4 -27
- package/dist/index.es250.js.map +1 -1
- package/dist/index.es255.js +8 -28
- package/dist/index.es255.js.map +1 -1
- package/dist/index.es256.js +25 -114
- package/dist/index.es256.js.map +1 -1
- package/dist/{index.es248.js → index.es257.js} +1 -1
- package/dist/{index.es248.js.map → index.es257.js.map} +1 -1
- package/dist/index.es259.js +30 -0
- package/dist/index.es259.js.map +1 -0
- package/dist/index.es26.js +1 -1
- package/dist/{index.es251.js → index.es260.js} +2 -2
- package/dist/{index.es251.js.map → index.es260.js.map} +1 -1
- package/dist/{index.es252.js → index.es261.js} +1 -1
- package/dist/{index.es252.js.map → index.es261.js.map} +1 -1
- package/dist/{index.es254.js → index.es263.js} +3 -3
- package/dist/{index.es254.js.map → index.es263.js.map} +1 -1
- package/dist/index.es264.js +31 -0
- package/dist/index.es264.js.map +1 -0
- package/dist/index.es265.js +119 -0
- package/dist/index.es265.js.map +1 -0
- package/dist/index.es267.js +60 -0
- package/dist/index.es267.js.map +1 -1
- package/dist/index.es276.js +2 -0
- package/dist/index.es276.js.map +1 -0
- package/dist/index.es28.js +2 -2
- package/dist/index.es29.js +1 -1
- package/dist/index.es30.js +3 -3
- package/dist/{index.es295.js → index.es304.js} +6 -6
- package/dist/{index.es295.js.map → index.es304.js.map} +1 -1
- package/dist/index.es31.js +1 -1
- package/dist/{index.es303.js → index.es312.js} +2 -2
- package/dist/{index.es303.js.map → index.es312.js.map} +1 -1
- package/dist/{index.es308.js → index.es317.js} +1 -1
- package/dist/{index.es308.js.map → index.es317.js.map} +1 -1
- package/dist/index.es32.js +1 -1
- package/dist/{index.es314.js → index.es323.js} +3 -3
- package/dist/{index.es314.js.map → index.es323.js.map} +1 -1
- package/dist/{index.es316.js → index.es325.js} +2 -2
- package/dist/{index.es316.js.map → index.es325.js.map} +1 -1
- package/dist/index.es33.js +1 -1
- package/dist/index.es330.js +1 -1
- package/dist/index.es331.js +1 -1
- package/dist/index.es332.js +3675 -2
- package/dist/index.es332.js.map +1 -1
- package/dist/index.es333.js +6 -2
- package/dist/index.es333.js.map +1 -1
- package/dist/index.es334.js +2 -6
- package/dist/index.es334.js.map +1 -1
- package/dist/index.es336.js +15 -27
- package/dist/index.es336.js.map +1 -1
- package/dist/index.es339.js +6 -32
- package/dist/index.es339.js.map +1 -1
- package/dist/index.es34.js +1 -1
- package/dist/index.es340.js +23 -618
- package/dist/index.es340.js.map +1 -1
- package/dist/index.es341.js +67 -10
- package/dist/index.es341.js.map +1 -1
- package/dist/{index.es338.js → index.es342.js} +2 -2
- package/dist/{index.es338.js.map → index.es342.js.map} +1 -1
- package/dist/index.es343.js +32 -10
- package/dist/index.es343.js.map +1 -1
- package/dist/index.es344.js +619 -50
- package/dist/index.es344.js.map +1 -1
- package/dist/index.es345.js +10 -45
- package/dist/index.es345.js.map +1 -1
- package/dist/index.es346.js +5 -7
- package/dist/index.es346.js.map +1 -1
- package/dist/index.es347.js +23 -123
- package/dist/index.es347.js.map +1 -1
- package/dist/index.es348.js +67 -13
- package/dist/index.es348.js.map +1 -1
- package/dist/index.es349.js +2 -135
- package/dist/index.es349.js.map +1 -1
- package/dist/index.es350.js +2 -218
- package/dist/index.es350.js.map +1 -1
- package/dist/index.es359.js +124 -14
- package/dist/index.es359.js.map +1 -1
- package/dist/index.es36.js +1 -1
- package/dist/index.es360.js +138 -0
- package/dist/index.es360.js.map +1 -0
- package/dist/{index.es351.js → index.es361.js} +3 -3
- package/dist/{index.es351.js.map → index.es361.js.map} +1 -1
- package/dist/index.es362.js +11 -8
- package/dist/index.es362.js.map +1 -1
- package/dist/index.es363.js +8 -204
- package/dist/index.es363.js.map +1 -1
- package/dist/index.es364.js +50 -22
- package/dist/index.es364.js.map +1 -1
- package/dist/index.es365.js +52 -24
- package/dist/index.es365.js.map +1 -1
- package/dist/index.es37.js +5 -5
- package/dist/index.es373.js +10 -24
- package/dist/index.es373.js.map +1 -1
- package/dist/index.es374.js +45 -28
- package/dist/index.es374.js.map +1 -1
- package/dist/index.es375.js +8 -5
- package/dist/index.es375.js.map +1 -1
- package/dist/index.es376.js +221 -0
- package/dist/index.es376.js.map +1 -0
- package/dist/{index.es353.js → index.es377.js} +10 -10
- package/dist/{index.es353.js.map → index.es377.js.map} +1 -1
- package/dist/{index.es356.js → index.es378.js} +1 -1
- package/dist/{index.es356.js.map → index.es378.js.map} +1 -1
- package/dist/index.es379.js +15 -0
- package/dist/index.es379.js.map +1 -0
- package/dist/index.es38.js +4 -4
- package/dist/index.es380.js +208 -0
- package/dist/index.es380.js.map +1 -0
- package/dist/index.es381.js +25 -0
- package/dist/index.es381.js.map +1 -0
- package/dist/index.es382.js +393 -5
- package/dist/index.es382.js.map +1 -1
- package/dist/index.es383.js +25 -3
- package/dist/index.es383.js.map +1 -1
- package/dist/index.es384.js +29 -24
- package/dist/index.es384.js.map +1 -1
- package/dist/index.es385.js +5 -110
- package/dist/index.es385.js.map +1 -1
- package/dist/index.es386.js +5 -16
- package/dist/index.es386.js.map +1 -1
- package/dist/index.es387.js +3 -6
- package/dist/index.es387.js.map +1 -1
- package/dist/index.es388.js +21 -520
- package/dist/index.es388.js.map +1 -1
- package/dist/index.es389.js +109 -126
- package/dist/index.es389.js.map +1 -1
- package/dist/index.es39.js +3 -3
- package/dist/index.es390.js +15 -128
- package/dist/index.es390.js.map +1 -1
- package/dist/index.es391.js +526 -0
- package/dist/index.es391.js.map +1 -0
- package/dist/index.es392.js +124 -62
- package/dist/index.es392.js.map +1 -1
- package/dist/index.es393.js +127 -67
- package/dist/index.es393.js.map +1 -1
- package/dist/index.es394.js +64 -8
- package/dist/index.es394.js.map +1 -1
- package/dist/index.es395.js +68 -13
- package/dist/index.es395.js.map +1 -1
- package/dist/index.es396.js +8 -61
- package/dist/index.es396.js.map +1 -1
- package/dist/index.es397.js +14 -4
- package/dist/index.es397.js.map +1 -1
- package/dist/index.es398.js +62 -23
- package/dist/index.es398.js.map +1 -1
- package/dist/index.es399.js +4 -13
- package/dist/index.es399.js.map +1 -1
- package/dist/index.es40.js +2 -2
- package/dist/index.es400.js +22 -27
- package/dist/index.es400.js.map +1 -1
- package/dist/index.es401.js +22 -4
- package/dist/index.es401.js.map +1 -1
- package/dist/index.es402.js +11 -21
- package/dist/index.es402.js.map +1 -1
- package/dist/index.es403.js +31 -0
- package/dist/index.es403.js.map +1 -0
- package/dist/index.es404.js +8 -0
- package/dist/index.es404.js.map +1 -0
- package/dist/index.es407.js +1 -1
- package/dist/index.es41.js +2 -2
- package/dist/index.es414.js +8 -8
- package/dist/index.es42.js +2 -2
- package/dist/index.es43.js +4 -4
- package/dist/index.es44.js +4 -4
- package/dist/index.es45.js +1 -1
- package/dist/index.es46.js +2 -2
- package/dist/index.es47.js +1 -1
- package/dist/index.es48.js +3 -3
- package/dist/index.es49.js +1 -1
- package/dist/index.es50.js +1 -1
- package/dist/index.es51.js +1 -1
- package/dist/index.es52.js +2 -2
- package/dist/index.es53.js +1 -1
- package/dist/index.es54.js +1 -1
- package/dist/index.es55.js +1 -1
- package/dist/index.es56.js +2 -2
- package/dist/index.es58.js +1 -1
- package/dist/index.es59.js +2 -2
- package/dist/index.es6.js +2 -2
- package/dist/index.es60.js +1 -1
- package/dist/index.es61.js +3 -3
- package/dist/index.es63.js +1 -1
- package/dist/index.es65.js +1 -1
- package/dist/index.es66.js +1 -1
- package/dist/index.es68.js +1 -1
- package/dist/index.es69.js +1 -1
- package/dist/index.es7.js +2 -2
- package/dist/index.es70.js +1 -1
- package/dist/index.es71.js +1 -1
- package/dist/index.es8.js +2 -2
- package/dist/index.es88.js +1 -1
- package/dist/index.es89.js +1 -1
- package/dist/index.es9.js +4 -4
- package/dist/index.es90.js +1 -1
- package/dist/index.es92.js +10 -9
- package/dist/index.es92.js.map +1 -1
- package/dist/index.es94.js +2 -2
- package/dist/index.es95.js +1 -1
- package/dist/index.es98.js +1 -1
- package/dist/index.es99.js +1 -1
- package/package.json +1 -1
- package/dist/index.cjs189.js +0 -2
- package/dist/index.cjs189.js.map +0 -1
- package/dist/index.cjs195.js +0 -2
- package/dist/index.cjs195.js.map +0 -1
- package/dist/index.cjs218.js +0 -2
- package/dist/index.cjs218.js.map +0 -1
- package/dist/index.cjs222.js +0 -2
- package/dist/index.cjs222.js.map +0 -1
- package/dist/index.cjs232.js +0 -2
- package/dist/index.cjs232.js.map +0 -1
- package/dist/index.cjs237.js +0 -2
- package/dist/index.cjs237.js.map +0 -1
- package/dist/index.cjs247.js +0 -2
- package/dist/index.cjs247.js.map +0 -1
- package/dist/index.cjs258.js +0 -7
- package/dist/index.cjs258.js.map +0 -1
- package/dist/index.cjs320.js +0 -2
- package/dist/index.cjs320.js.map +0 -1
- package/dist/index.cjs335.js +0 -2
- package/dist/index.cjs335.js.map +0 -1
- package/dist/index.cjs337.js +0 -2
- package/dist/index.cjs337.js.map +0 -1
- package/dist/index.cjs352.js +0 -2
- package/dist/index.cjs352.js.map +0 -1
- package/dist/index.cjs354.js +0 -2
- package/dist/index.cjs354.js.map +0 -1
- package/dist/index.cjs355.js +0 -2
- package/dist/index.cjs355.js.map +0 -1
- package/dist/index.cjs366.js +0 -2
- package/dist/index.cjs366.js.map +0 -1
- package/dist/index.cjs405.js +0 -28
- package/dist/index.cjs405.js.map +0 -1
- package/dist/index.cjs406.js +0 -2
- package/dist/index.cjs406.js.map +0 -1
- package/dist/index.es189.js +0 -18
- package/dist/index.es189.js.map +0 -1
- package/dist/index.es195.js +0 -15
- package/dist/index.es195.js.map +0 -1
- package/dist/index.es218.js +0 -136
- package/dist/index.es218.js.map +0 -1
- package/dist/index.es222.js +0 -6
- package/dist/index.es222.js.map +0 -1
- package/dist/index.es232.js +0 -10
- package/dist/index.es232.js.map +0 -1
- package/dist/index.es237.js +0 -11
- package/dist/index.es237.js.map +0 -1
- package/dist/index.es247.js +0 -30
- package/dist/index.es247.js.map +0 -1
- package/dist/index.es258.js +0 -62
- package/dist/index.es258.js.map +0 -1
- package/dist/index.es320.js +0 -6
- package/dist/index.es320.js.map +0 -1
- package/dist/index.es335.js +0 -10
- package/dist/index.es335.js.map +0 -1
- package/dist/index.es337.js +0 -71
- package/dist/index.es337.js.map +0 -1
- package/dist/index.es352.js +0 -72
- package/dist/index.es352.js.map +0 -1
- package/dist/index.es354.js +0 -53
- package/dist/index.es354.js.map +0 -1
- package/dist/index.es355.js +0 -12
- package/dist/index.es355.js.map +0 -1
- package/dist/index.es366.js +0 -396
- package/dist/index.es366.js.map +0 -1
- package/dist/index.es405.js +0 -3678
- package/dist/index.es405.js.map +0 -1
- package/dist/index.es406.js +0 -5
- package/dist/index.es406.js.map +0 -1
package/dist/index.es365.js
CHANGED
@@ -1,28 +1,56 @@
|
|
1
|
-
import * as
|
2
|
-
import {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
1
|
+
import * as l from "react";
|
2
|
+
import { composeRefs as y } from "./index.es340.js";
|
3
|
+
import { j as f } from "./index.es188.js";
|
4
|
+
// @__NO_SIDE_EFFECTS__
|
5
|
+
function b(e) {
|
6
|
+
const t = /* @__PURE__ */ S(e), o = l.forwardRef((n, r) => {
|
7
|
+
const { children: i, ...a } = n, s = l.Children.toArray(i), p = s.find(g);
|
8
|
+
if (p) {
|
9
|
+
const c = p.props.children, m = s.map((u) => u === p ? l.Children.count(c) > 1 ? l.Children.only(null) : l.isValidElement(c) ? c.props.children : null : u);
|
10
|
+
return /* @__PURE__ */ f.jsx(t, { ...a, ref: r, children: l.isValidElement(c) ? l.cloneElement(c, void 0, m) : null });
|
11
|
+
}
|
12
|
+
return /* @__PURE__ */ f.jsx(t, { ...a, ref: r, children: i });
|
13
|
+
});
|
14
|
+
return o.displayName = `${e}.Slot`, o;
|
15
|
+
}
|
16
|
+
// @__NO_SIDE_EFFECTS__
|
17
|
+
function S(e) {
|
18
|
+
const t = l.forwardRef((o, n) => {
|
19
|
+
const { children: r, ...i } = o;
|
20
|
+
if (l.isValidElement(r)) {
|
21
|
+
const a = x(r), s = E(i, r.props);
|
22
|
+
return r.type !== l.Fragment && (s.ref = n ? y(n, a) : a), l.cloneElement(r, s);
|
23
|
+
}
|
24
|
+
return l.Children.count(r) > 1 ? l.Children.only(null) : null;
|
25
|
+
});
|
26
|
+
return t.displayName = `${e}.SlotClone`, t;
|
27
|
+
}
|
28
|
+
var d = Symbol("radix.slottable");
|
29
|
+
// @__NO_SIDE_EFFECTS__
|
30
|
+
function h(e) {
|
31
|
+
const t = ({ children: o }) => /* @__PURE__ */ f.jsx(f.Fragment, { children: o });
|
32
|
+
return t.displayName = `${e}.Slottable`, t.__radixId = d, t;
|
33
|
+
}
|
34
|
+
function g(e) {
|
35
|
+
return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === d;
|
36
|
+
}
|
37
|
+
function E(e, t) {
|
38
|
+
const o = { ...t };
|
39
|
+
for (const n in t) {
|
40
|
+
const r = e[n], i = t[n];
|
41
|
+
/^on[A-Z]/.test(n) ? r && i ? o[n] = (...s) => {
|
42
|
+
i(...s), r(...s);
|
43
|
+
} : r && (o[n] = r) : n === "style" ? o[n] = { ...r, ...i } : n === "className" && (o[n] = [r, i].filter(Boolean).join(" "));
|
44
|
+
}
|
45
|
+
return { ...e, ...o };
|
46
|
+
}
|
47
|
+
function x(e) {
|
48
|
+
var n, r;
|
49
|
+
let t = (n = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : n.get, o = t && "isReactWarning" in t && t.isReactWarning;
|
50
|
+
return o ? e.ref : (t = (r = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : r.get, o = t && "isReactWarning" in t && t.isReactWarning, o ? e.props.ref : e.props.ref || e.ref);
|
24
51
|
}
|
25
52
|
export {
|
26
|
-
|
53
|
+
b as createSlot,
|
54
|
+
h as createSlottable
|
27
55
|
};
|
28
56
|
//# sourceMappingURL=index.es365.js.map
|
package/dist/index.es365.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es365.js","sources":["../node_modules/@radix-ui/react-
|
1
|
+
{"version":3,"file":"index.es365.js","sources":["../node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// packages/react/slot/src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n childPropValue(...args);\n slotPropValue(...args);\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createSlot","ownerName","SlotClone","createSlotClone","Slot2","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","childrenRef","getElementRef","props2","mergeProps","composeRefs","SLOTTABLE_IDENTIFIER","createSlottable","Slottable2","Fragment2","childProps","overrideProps","propName","slotPropValue","childPropValue","args","element","getter","_a","mayWarn","_b"],"mappings":";;;;AAKA,SAASA,EAAWC,GAAW;AAC7B,QAAMC,IAA4B,gBAAAC,EAAgBF,CAAS,GACrDG,IAAQC,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACtD,UAAM,EAAE,UAAAC,GAAU,GAAGC,EAAS,IAAKH,GAC7BI,IAAgBL,EAAM,SAAS,QAAQG,CAAQ,GAC/CG,IAAYD,EAAc,KAAKE,CAAW;AAChD,QAAID,GAAW;AACb,YAAME,IAAaF,EAAU,MAAM,UAC7BG,IAAcJ,EAAc,IAAI,CAACK,MACjCA,MAAUJ,IACRN,EAAM,SAAS,MAAMQ,CAAU,IAAI,IAAUR,EAAM,SAAS,KAAK,IAAI,IAClEA,EAAM,eAAeQ,CAAU,IAAIA,EAAW,MAAM,WAAW,OAE/DE,CAEV;AACD,aAAuBC,gBAAAA,EAAAA,IAAId,GAAW,EAAE,GAAGO,GAAW,KAAKF,GAAc,UAAUF,EAAM,eAAeQ,CAAU,IAAIR,EAAM,aAAaQ,GAAY,QAAQC,CAAW,IAAI,MAAM;AAAA,IACxL;AACI,WAAuBE,gBAAAA,EAAAA,IAAId,GAAW,EAAE,GAAGO,GAAW,KAAKF,GAAc,UAAAC,GAAU;AAAA,EACvF,CAAG;AACD,SAAAJ,EAAM,cAAc,GAAGH,CAAS,SACzBG;AACT;AAAA;AAGA,SAASD,EAAgBF,GAAW;AAClC,QAAMC,IAAYG,EAAM,WAAW,CAACC,GAAOC,MAAiB;AAC1D,UAAM,EAAE,UAAAC,GAAU,GAAGC,EAAS,IAAKH;AACnC,QAAID,EAAM,eAAeG,CAAQ,GAAG;AAClC,YAAMS,IAAcC,EAAcV,CAAQ,GACpCW,IAASC,EAAWX,GAAWD,EAAS,KAAK;AACnD,aAAIA,EAAS,SAASH,EAAM,aAC1Bc,EAAO,MAAMZ,IAAec,EAAYd,GAAcU,CAAW,IAAIA,IAEhEZ,EAAM,aAAaG,GAAUW,CAAM;AAAA,IAChD;AACI,WAAOd,EAAM,SAAS,MAAMG,CAAQ,IAAI,IAAIH,EAAM,SAAS,KAAK,IAAI,IAAI;AAAA,EAC5E,CAAG;AACD,SAAAH,EAAU,cAAc,GAAGD,CAAS,cAC7BC;AACT;AACA,IAAIoB,IAAuB,OAAO,iBAAiB;AAAA;AAEnD,SAASC,EAAgBtB,GAAW;AAClC,QAAMuB,IAAa,CAAC,EAAE,UAAAhB,QACGQ,gBAAAA,MAAIS,EAAAA,UAAW,EAAE,UAAAjB,GAAU;AAEpD,SAAAgB,EAAW,cAAc,GAAGvB,CAAS,cACrCuB,EAAW,YAAYF,GAChBE;AACT;AAEA,SAASZ,EAAYG,GAAO;AAC1B,SAAOV,EAAM,eAAeU,CAAK,KAAK,OAAOA,EAAM,QAAS,cAAc,eAAeA,EAAM,QAAQA,EAAM,KAAK,cAAcO;AAClI;AACA,SAASF,EAAWX,GAAWiB,GAAY;AACzC,QAAMC,IAAgB,EAAE,GAAGD,EAAY;AACvC,aAAWE,KAAYF,GAAY;AACjC,UAAMG,IAAgBpB,EAAUmB,CAAQ,GAClCE,IAAiBJ,EAAWE,CAAQ;AAE1C,IADkB,WAAW,KAAKA,CAAQ,IAEpCC,KAAiBC,IACnBH,EAAcC,CAAQ,IAAI,IAAIG,MAAS;AACrC,MAAAD,EAAe,GAAGC,CAAI,GACtBF,EAAc,GAAGE,CAAI;AAAA,IACtB,IACQF,MACTF,EAAcC,CAAQ,IAAIC,KAEnBD,MAAa,UACtBD,EAAcC,CAAQ,IAAI,EAAE,GAAGC,GAAe,GAAGC,EAAgB,IACxDF,MAAa,gBACtBD,EAAcC,CAAQ,IAAI,CAACC,GAAeC,CAAc,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG;AAAA,EAExF;AACE,SAAO,EAAE,GAAGrB,GAAW,GAAGkB,EAAe;AAC3C;AACA,SAAST,EAAcc,GAAS;;AAC9B,MAAIC,KAASC,IAAA,OAAO,yBAAyBF,EAAQ,OAAO,KAAK,MAApD,gBAAAE,EAAuD,KAChEC,IAAUF,KAAU,oBAAoBA,KAAUA,EAAO;AAC7D,SAAIE,IACKH,EAAQ,OAEjBC,KAASG,IAAA,OAAO,yBAAyBJ,GAAS,KAAK,MAA9C,gBAAAI,EAAiD,KAC1DD,IAAUF,KAAU,oBAAoBA,KAAUA,EAAO,gBACrDE,IACKH,EAAQ,MAAM,MAEhBA,EAAQ,MAAM,OAAOA,EAAQ;AACtC;","x_google_ignoreList":[0]}
|
package/dist/index.es37.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import { j as o } from "./index.es188.js";
|
2
|
-
import { Root as d, Portal as i, Overlay as l, Content as n } from "./index.
|
3
|
-
import { BaseModalHeader as p } from "./index.
|
4
|
-
import { BaseModalFooter as x } from "./index.
|
5
|
-
import { BaseModalContent as c } from "./index.
|
6
|
-
import { BaseModalBackHeader as B } from "./index.
|
2
|
+
import { Root as d, Portal as i, Overlay as l, Content as n } from "./index.es238.js";
|
3
|
+
import { BaseModalHeader as p } from "./index.es239.js";
|
4
|
+
import { BaseModalFooter as x } from "./index.es240.js";
|
5
|
+
import { BaseModalContent as c } from "./index.es241.js";
|
6
|
+
import { BaseModalBackHeader as B } from "./index.es242.js";
|
7
7
|
import './components/ui/BaseModal/BaseModal.css';/* empty css */
|
8
8
|
const e = ({
|
9
9
|
open: a,
|
package/dist/index.es373.js
CHANGED
@@ -1,28 +1,14 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
};
|
10
|
-
function c(t, e) {
|
11
|
-
var n = {};
|
12
|
-
for (var r in t) Object.prototype.hasOwnProperty.call(t, r) && e.indexOf(r) < 0 && (n[r] = t[r]);
|
13
|
-
if (t != null && typeof Object.getOwnPropertySymbols == "function")
|
14
|
-
for (var o = 0, r = Object.getOwnPropertySymbols(t); o < r.length; o++)
|
15
|
-
e.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(t, r[o]) && (n[r[o]] = t[r[o]]);
|
16
|
-
return n;
|
17
|
-
}
|
18
|
-
function l(t, e, n) {
|
19
|
-
if (n || arguments.length === 2) for (var r = 0, o = e.length, a; r < o; r++)
|
20
|
-
(a || !(r in e)) && (a || (a = Array.prototype.slice.call(e, 0, r)), a[r] = e[r]);
|
21
|
-
return t.concat(a || Array.prototype.slice.call(e));
|
1
|
+
import * as r from "react";
|
2
|
+
function o(t) {
|
3
|
+
const e = r.useRef(t);
|
4
|
+
return r.useEffect(() => {
|
5
|
+
e.current = t;
|
6
|
+
}), r.useMemo(() => (...n) => {
|
7
|
+
var u;
|
8
|
+
return (u = e.current) == null ? void 0 : u.call(e, ...n);
|
9
|
+
}, []);
|
22
10
|
}
|
23
11
|
export {
|
24
|
-
|
25
|
-
c as __rest,
|
26
|
-
l as __spreadArray
|
12
|
+
o as useCallbackRef
|
27
13
|
};
|
28
14
|
//# sourceMappingURL=index.es373.js.map
|
package/dist/index.es373.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es373.js","sources":["../node_modules/tslib/tslib.es6.mjs"],"sourcesContent":["/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nvar ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose, inner;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n if (async) inner = dispose;\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n var r, s = 0;\n function next() {\n while (r = env.stack.pop()) {\n try {\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\n if (r.dispose) {\n var result = r.dispose.call(r.value);\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n else s |= 1;\n }\n catch (e) {\n fail(e);\n }\n }\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\n });\n }\n return path;\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __esDecorate,\n __runInitializers,\n __propKey,\n __setFunctionName,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n __rewriteRelativeImportExtension,\n};\n"],"names":["__assign","t","s","i","n","p","__rest","__spreadArray","to","from","pack","l","ar"],"mappings":"AA+BU,IAACA,IAAW,WAAW;AAC/B,SAAAA,IAAW,OAAO,UAAU,SAAkBC,GAAG;AAC7C,aAASC,GAAGC,IAAI,GAAGC,IAAI,UAAU,QAAQD,IAAIC,GAAGD,KAAK;AACjD,MAAAD,IAAI,UAAUC,CAAC;AACf,eAASE,KAAKH,EAAG,CAAI,OAAO,UAAU,eAAe,KAAKA,GAAGG,CAAC,MAAGJ,EAAEI,CAAC,IAAIH,EAAEG,CAAC;AAAA,IACrF;AACM,WAAOJ;AAAA,EACb,GACSD,EAAS,MAAM,MAAM,SAAS;AACvC;AAEO,SAASM,EAAOJ,GAAG,GAAG;AAC3B,MAAID,IAAI,CAAE;AACV,WAASI,KAAKH,EAAG,CAAI,OAAO,UAAU,eAAe,KAAKA,GAAGG,CAAC,KAAK,EAAE,QAAQA,CAAC,IAAI,MAC9EJ,EAAEI,CAAC,IAAIH,EAAEG,CAAC;AACd,MAAIH,KAAK,QAAQ,OAAO,OAAO,yBAA0B;AACrD,aAASC,IAAI,GAAGE,IAAI,OAAO,sBAAsBH,CAAC,GAAGC,IAAIE,EAAE,QAAQF;AAC/D,MAAI,EAAE,QAAQE,EAAEF,CAAC,CAAC,IAAI,KAAK,OAAO,UAAU,qBAAqB,KAAKD,GAAGG,EAAEF,CAAC,CAAC,MACzEF,EAAEI,EAAEF,CAAC,CAAC,IAAID,EAAEG,EAAEF,CAAC,CAAC;AAE5B,SAAOF;AACT;AAiKO,SAASM,EAAcC,GAAIC,GAAMC,GAAM;AAC5C,MAAIA,KAAQ,UAAU,WAAW,EAAG,UAASP,IAAI,GAAGQ,IAAIF,EAAK,QAAQG,GAAIT,IAAIQ,GAAGR;AAC5E,KAAIS,KAAM,EAAET,KAAKM,QACRG,MAAIA,IAAK,MAAM,UAAU,MAAM,KAAKH,GAAM,GAAGN,CAAC,IACnDS,EAAGT,CAAC,IAAIM,EAAKN,CAAC;AAGtB,SAAOK,EAAG,OAAOI,KAAM,MAAM,UAAU,MAAM,KAAKH,CAAI,CAAC;AACzD;","x_google_ignoreList":[0]}
|
1
|
+
{"version":3,"file":"index.es373.js","sources":["../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs"],"sourcesContent":["// packages/react/use-callback-ref/src/use-callback-ref.tsx\nimport * as React from \"react\";\nfunction useCallbackRef(callback) {\n const callbackRef = React.useRef(callback);\n React.useEffect(() => {\n callbackRef.current = callback;\n });\n return React.useMemo(() => (...args) => callbackRef.current?.(...args), []);\n}\nexport {\n useCallbackRef\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useCallbackRef","callback","callbackRef","React","args","_a"],"mappings":";AAEA,SAASA,EAAeC,GAAU;AAChC,QAAMC,IAAcC,EAAM,OAAOF,CAAQ;AACzC,SAAAE,EAAM,UAAU,MAAM;AACpB,IAAAD,EAAY,UAAUD;AAAA,EAC1B,CAAG,GACME,EAAM,QAAQ,MAAM,IAAIC;;AAAS,YAAAC,IAAAH,EAAY,YAAZ,gBAAAG,EAAA,KAAAH,GAAsB,GAAGE;AAAA,KAAO,EAAE;AAC5E;","x_google_ignoreList":[0]}
|
package/dist/index.es374.js
CHANGED
@@ -1,32 +1,49 @@
|
|
1
|
-
import
|
2
|
-
import
|
3
|
-
import {
|
4
|
-
import {
|
5
|
-
import {
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
1
|
+
import r from "react";
|
2
|
+
import { createContextScope as y } from "./index.es341.js";
|
3
|
+
import { useComposedRefs as S } from "./index.es340.js";
|
4
|
+
import { createSlot as M } from "./index.es365.js";
|
5
|
+
import { j as d } from "./index.es188.js";
|
6
|
+
function D(s) {
|
7
|
+
const m = s + "CollectionProvider", [A, E] = y(m), [N, f] = A(
|
8
|
+
m,
|
9
|
+
{ collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
|
10
|
+
), p = (c) => {
|
11
|
+
const { scope: e, children: l } = c, o = r.useRef(null), t = r.useRef(/* @__PURE__ */ new Map()).current;
|
12
|
+
return /* @__PURE__ */ d.jsx(N, { scope: e, itemMap: t, collectionRef: o, children: l });
|
13
|
+
};
|
14
|
+
p.displayName = m;
|
15
|
+
const a = s + "CollectionSlot", _ = M(a), C = r.forwardRef(
|
16
|
+
(c, e) => {
|
17
|
+
const { scope: l, children: o } = c, t = f(a, l), n = S(e, t.collectionRef);
|
18
|
+
return /* @__PURE__ */ d.jsx(_, { ref: n, children: o });
|
19
|
+
}
|
18
20
|
);
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
}
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
21
|
+
C.displayName = a;
|
22
|
+
const u = s + "CollectionItemSlot", R = "data-radix-collection-item", T = M(u), x = r.forwardRef(
|
23
|
+
(c, e) => {
|
24
|
+
const { scope: l, children: o, ...t } = c, n = r.useRef(null), I = S(e, n), i = f(u, l);
|
25
|
+
return r.useEffect(() => (i.itemMap.set(n, { ref: n, ...t }), () => void i.itemMap.delete(n))), /* @__PURE__ */ d.jsx(T, { [R]: "", ref: I, children: o });
|
26
|
+
}
|
27
|
+
);
|
28
|
+
x.displayName = u;
|
29
|
+
function O(c) {
|
30
|
+
const e = f(s + "CollectionConsumer", c);
|
31
|
+
return r.useCallback(() => {
|
32
|
+
const o = e.collectionRef.current;
|
33
|
+
if (!o) return [];
|
34
|
+
const t = Array.from(o.querySelectorAll(`[${R}]`));
|
35
|
+
return Array.from(e.itemMap.values()).sort(
|
36
|
+
(i, v) => t.indexOf(i.ref.current) - t.indexOf(v.ref.current)
|
37
|
+
);
|
38
|
+
}, [e.collectionRef, e.itemMap]);
|
39
|
+
}
|
40
|
+
return [
|
41
|
+
{ Provider: p, Slot: C, ItemSlot: x },
|
42
|
+
O,
|
43
|
+
E
|
44
|
+
];
|
45
|
+
}
|
29
46
|
export {
|
30
|
-
|
47
|
+
D as createCollection
|
31
48
|
};
|
32
49
|
//# sourceMappingURL=index.es374.js.map
|
package/dist/index.es374.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es374.js","sources":["../node_modules/react-
|
1
|
+
{"version":3,"file":"index.es374.js","sources":["../node_modules/@radix-ui/react-collection/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/collection/src/collection.tsx\nimport React from \"react\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction createCollection(name) {\n const PROVIDER_NAME = name + \"CollectionProvider\";\n const [createCollectionContext, createCollectionScope] = createContextScope(PROVIDER_NAME);\n const [CollectionProviderImpl, useCollectionContext] = createCollectionContext(\n PROVIDER_NAME,\n { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }\n );\n const CollectionProvider = (props) => {\n const { scope, children } = props;\n const ref = React.useRef(null);\n const itemMap = React.useRef(/* @__PURE__ */ new Map()).current;\n return /* @__PURE__ */ jsx(CollectionProviderImpl, { scope, itemMap, collectionRef: ref, children });\n };\n CollectionProvider.displayName = PROVIDER_NAME;\n const COLLECTION_SLOT_NAME = name + \"CollectionSlot\";\n const CollectionSlotImpl = createSlot(COLLECTION_SLOT_NAME);\n const CollectionSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children } = props;\n const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);\n const composedRefs = useComposedRefs(forwardedRef, context.collectionRef);\n return /* @__PURE__ */ jsx(CollectionSlotImpl, { ref: composedRefs, children });\n }\n );\n CollectionSlot.displayName = COLLECTION_SLOT_NAME;\n const ITEM_SLOT_NAME = name + \"CollectionItemSlot\";\n const ITEM_DATA_ATTR = \"data-radix-collection-item\";\n const CollectionItemSlotImpl = createSlot(ITEM_SLOT_NAME);\n const CollectionItemSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children, ...itemData } = props;\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const context = useCollectionContext(ITEM_SLOT_NAME, scope);\n React.useEffect(() => {\n context.itemMap.set(ref, { ref, ...itemData });\n return () => void context.itemMap.delete(ref);\n });\n return /* @__PURE__ */ jsx(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: \"\" }, ref: composedRefs, children });\n }\n );\n CollectionItemSlot.displayName = ITEM_SLOT_NAME;\n function useCollection(scope) {\n const context = useCollectionContext(name + \"CollectionConsumer\", scope);\n const getItems = React.useCallback(() => {\n const collectionNode = context.collectionRef.current;\n if (!collectionNode) return [];\n const orderedNodes = Array.from(collectionNode.querySelectorAll(`[${ITEM_DATA_ATTR}]`));\n const items = Array.from(context.itemMap.values());\n const orderedItems = items.sort(\n (a, b) => orderedNodes.indexOf(a.ref.current) - orderedNodes.indexOf(b.ref.current)\n );\n return orderedItems;\n }, [context.collectionRef, context.itemMap]);\n return getItems;\n }\n return [\n { Provider: CollectionProvider, Slot: CollectionSlot, ItemSlot: CollectionItemSlot },\n useCollection,\n createCollectionScope\n ];\n}\nexport {\n createCollection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createCollection","name","PROVIDER_NAME","createCollectionContext","createCollectionScope","createContextScope","CollectionProviderImpl","useCollectionContext","CollectionProvider","props","scope","children","ref","React","itemMap","jsx","COLLECTION_SLOT_NAME","CollectionSlotImpl","createSlot","CollectionSlot","forwardedRef","context","composedRefs","useComposedRefs","ITEM_SLOT_NAME","ITEM_DATA_ATTR","CollectionItemSlotImpl","CollectionItemSlot","itemData","useCollection","collectionNode","orderedNodes","a","b"],"mappings":";;;;;AAQA,SAASA,EAAiBC,GAAM;AAC9B,QAAMC,IAAgBD,IAAO,sBACvB,CAACE,GAAyBC,CAAqB,IAAIC,EAAmBH,CAAa,GACnF,CAACI,GAAwBC,CAAoB,IAAIJ;AAAA,IACrDD;AAAA,IACA,EAAE,eAAe,EAAE,SAAS,KAAI,GAAI,SAAyB,oBAAI,IAAK,EAAA;AAAA,EACvE,GACKM,IAAqB,CAACC,MAAU;AACpC,UAAM,EAAE,OAAAC,GAAO,UAAAC,EAAQ,IAAKF,GACtBG,IAAMC,EAAM,OAAO,IAAI,GACvBC,IAAUD,EAAM,OAAuB,oBAAI,IAAG,CAAE,EAAE;AACxD,WAAuBE,gBAAAA,EAAG,IAACT,GAAwB,EAAE,OAAAI,GAAO,SAAAI,GAAS,eAAeF,GAAK,UAAAD,GAAU;AAAA,EACpG;AACD,EAAAH,EAAmB,cAAcN;AACjC,QAAMc,IAAuBf,IAAO,kBAC9BgB,IAAqBC,EAAWF,CAAoB,GACpDG,IAAiBN,EAAM;AAAA,IAC3B,CAACJ,GAAOW,MAAiB;AACvB,YAAM,EAAE,OAAAV,GAAO,UAAAC,EAAQ,IAAKF,GACtBY,IAAUd,EAAqBS,GAAsBN,CAAK,GAC1DY,IAAeC,EAAgBH,GAAcC,EAAQ,aAAa;AACxE,aAAuBN,gBAAAA,EAAAA,IAAIE,GAAoB,EAAE,KAAKK,GAAc,UAAAX,EAAQ,CAAE;AAAA,IACpF;AAAA,EACG;AACD,EAAAQ,EAAe,cAAcH;AAC7B,QAAMQ,IAAiBvB,IAAO,sBACxBwB,IAAiB,8BACjBC,IAAyBR,EAAWM,CAAc,GAClDG,IAAqBd,EAAM;AAAA,IAC/B,CAACJ,GAAOW,MAAiB;AACvB,YAAM,EAAE,OAAAV,GAAO,UAAAC,GAAU,GAAGiB,EAAU,IAAGnB,GACnCG,IAAMC,EAAM,OAAO,IAAI,GACvBS,IAAeC,EAAgBH,GAAcR,CAAG,GAChDS,IAAUd,EAAqBiB,GAAgBd,CAAK;AAC1DG,aAAAA,EAAM,UAAU,OACdQ,EAAQ,QAAQ,IAAIT,GAAK,EAAE,KAAAA,GAAK,GAAGgB,GAAU,GACtC,MAAM,KAAKP,EAAQ,QAAQ,OAAOT,CAAG,EAC7C,GACsBG,gBAAAA,MAAIW,GAAwB,EAAO,CAACD,CAAc,GAAG,IAAM,KAAKH,GAAc,UAAAX,GAAU;AAAA,IACrH;AAAA,EACG;AACD,EAAAgB,EAAmB,cAAcH;AACjC,WAASK,EAAcnB,GAAO;AAC5B,UAAMW,IAAUd,EAAqBN,IAAO,sBAAsBS,CAAK;AAWvE,WAViBG,EAAM,YAAY,MAAM;AACvC,YAAMiB,IAAiBT,EAAQ,cAAc;AAC7C,UAAI,CAACS,EAAgB,QAAO,CAAE;AAC9B,YAAMC,IAAe,MAAM,KAAKD,EAAe,iBAAiB,IAAIL,CAAc,GAAG,CAAC;AAKtF,aAJc,MAAM,KAAKJ,EAAQ,QAAQ,QAAQ,EACtB;AAAA,QACzB,CAACW,GAAGC,MAAMF,EAAa,QAAQC,EAAE,IAAI,OAAO,IAAID,EAAa,QAAQE,EAAE,IAAI,OAAO;AAAA,MACnF;AAAA,IAEF,GAAE,CAACZ,EAAQ,eAAeA,EAAQ,OAAO,CAAC;AAAA,EAE/C;AACE,SAAO;AAAA,IACL,EAAE,UAAUb,GAAoB,MAAMW,GAAgB,UAAUQ,EAAoB;AAAA,IACpFE;AAAA,IACAzB;AAAA,EACD;AACH;","x_google_ignoreList":[0]}
|
package/dist/index.es375.js
CHANGED
@@ -1,8 +1,11 @@
|
|
1
|
-
import
|
2
|
-
import
|
3
|
-
|
4
|
-
|
1
|
+
import * as t from "react";
|
2
|
+
import "./index.es188.js";
|
3
|
+
var r = t.createContext(void 0);
|
4
|
+
function n(o) {
|
5
|
+
const e = t.useContext(r);
|
6
|
+
return o || e || "ltr";
|
7
|
+
}
|
5
8
|
export {
|
6
|
-
|
9
|
+
n as useDirection
|
7
10
|
};
|
8
11
|
//# sourceMappingURL=index.es375.js.map
|
package/dist/index.es375.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es375.js","sources":["../node_modules/react-
|
1
|
+
{"version":3,"file":"index.es375.js","sources":["../node_modules/@radix-ui/react-direction/dist/index.mjs"],"sourcesContent":["// packages/react/direction/src/direction.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nvar DirectionContext = React.createContext(void 0);\nvar DirectionProvider = (props) => {\n const { dir, children } = props;\n return /* @__PURE__ */ jsx(DirectionContext.Provider, { value: dir, children });\n};\nfunction useDirection(localDir) {\n const globalDir = React.useContext(DirectionContext);\n return localDir || globalDir || \"ltr\";\n}\nvar Provider = DirectionProvider;\nexport {\n DirectionProvider,\n Provider,\n useDirection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DirectionContext","React","useDirection","localDir","globalDir"],"mappings":";;AAGA,IAAIA,IAAmBC,EAAM,cAAc,MAAM;AAKjD,SAASC,EAAaC,GAAU;AAC9B,QAAMC,IAAYH,EAAM,WAAWD,CAAgB;AACnD,SAAOG,KAAYC,KAAa;AAClC;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,221 @@
|
|
1
|
+
import * as s from "react";
|
2
|
+
import { useFloating as xe, offset as Pe, shift as ye, flip as Ae, size as ve, arrow as Ce, hide as be, limitShift as Se } from "./index.es380.js";
|
3
|
+
import { Root as Oe } from "./index.es381.js";
|
4
|
+
import { useComposedRefs as T } from "./index.es340.js";
|
5
|
+
import { createContextScope as Re } from "./index.es341.js";
|
6
|
+
import { Primitive as z } from "./index.es343.js";
|
7
|
+
import { useCallbackRef as Ee } from "./index.es373.js";
|
8
|
+
import { useLayoutEffect as B } from "./index.es378.js";
|
9
|
+
import { useSize as Ne } from "./index.es347.js";
|
10
|
+
import { j as f } from "./index.es188.js";
|
11
|
+
import { autoUpdate as _e } from "./index.es382.js";
|
12
|
+
var N = "Popper", [L, Ue] = Re(N), [$e, Z] = L(N), U = (e) => {
|
13
|
+
const { __scopePopper: i, children: n } = e, [t, a] = s.useState(null);
|
14
|
+
return /* @__PURE__ */ f.jsx($e, { scope: i, anchor: t, onAnchorChange: a, children: n });
|
15
|
+
};
|
16
|
+
U.displayName = N;
|
17
|
+
var q = "PopperAnchor", G = s.forwardRef(
|
18
|
+
(e, i) => {
|
19
|
+
const { __scopePopper: n, virtualRef: t, ...a } = e, r = Z(q, n), o = s.useRef(null), w = T(i, o);
|
20
|
+
return s.useEffect(() => {
|
21
|
+
r.onAnchorChange((t == null ? void 0 : t.current) || o.current);
|
22
|
+
}), t ? null : /* @__PURE__ */ f.jsx(z.div, { ...a, ref: w });
|
23
|
+
}
|
24
|
+
);
|
25
|
+
G.displayName = q;
|
26
|
+
var _ = "PopperContent", [je, He] = L(_), J = s.forwardRef(
|
27
|
+
(e, i) => {
|
28
|
+
var I, Y, M, X, D, F;
|
29
|
+
const {
|
30
|
+
__scopePopper: n,
|
31
|
+
side: t = "bottom",
|
32
|
+
sideOffset: a = 0,
|
33
|
+
align: r = "center",
|
34
|
+
alignOffset: o = 0,
|
35
|
+
arrowPadding: w = 0,
|
36
|
+
avoidCollisions: p = !0,
|
37
|
+
collisionBoundary: c = [],
|
38
|
+
collisionPadding: x = 0,
|
39
|
+
sticky: m = "partial",
|
40
|
+
hideWhenDetached: y = !1,
|
41
|
+
updatePositionStrategy: A = "optimized",
|
42
|
+
onPlaced: l,
|
43
|
+
...d
|
44
|
+
} = e, v = Z(_, n), [h, C] = s.useState(null), ee = T(i, (P) => C(P)), [E, te] = s.useState(null), g = Ne(E), re = (g == null ? void 0 : g.width) ?? 0, $ = (g == null ? void 0 : g.height) ?? 0, oe = t + (r !== "center" ? "-" + r : ""), ne = typeof x == "number" ? x : { top: 0, right: 0, bottom: 0, left: 0, ...x }, j = Array.isArray(c) ? c : [c], ae = j.length > 0, b = {
|
45
|
+
padding: ne,
|
46
|
+
boundary: j.filter(Ie),
|
47
|
+
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
48
|
+
altBoundary: ae
|
49
|
+
}, { refs: ie, floatingStyles: H, placement: se, isPositioned: S, middlewareData: u } = xe({
|
50
|
+
// default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
|
51
|
+
strategy: "fixed",
|
52
|
+
placement: oe,
|
53
|
+
whileElementsMounted: (...P) => _e(...P, {
|
54
|
+
animationFrame: A === "always"
|
55
|
+
}),
|
56
|
+
elements: {
|
57
|
+
reference: v.anchor
|
58
|
+
},
|
59
|
+
middleware: [
|
60
|
+
Pe({ mainAxis: a + $, alignmentAxis: o }),
|
61
|
+
p && ye({
|
62
|
+
mainAxis: !0,
|
63
|
+
crossAxis: !1,
|
64
|
+
limiter: m === "partial" ? Se() : void 0,
|
65
|
+
...b
|
66
|
+
}),
|
67
|
+
p && Ae({ ...b }),
|
68
|
+
ve({
|
69
|
+
...b,
|
70
|
+
apply: ({ elements: P, rects: k, availableWidth: he, availableHeight: ge }) => {
|
71
|
+
const { width: ue, height: we } = k.reference, R = P.floating.style;
|
72
|
+
R.setProperty("--radix-popper-available-width", `${he}px`), R.setProperty("--radix-popper-available-height", `${ge}px`), R.setProperty("--radix-popper-anchor-width", `${ue}px`), R.setProperty("--radix-popper-anchor-height", `${we}px`);
|
73
|
+
}
|
74
|
+
}),
|
75
|
+
E && Ce({ element: E, padding: w }),
|
76
|
+
Ye({ arrowWidth: re, arrowHeight: $ }),
|
77
|
+
y && be({ strategy: "referenceHidden", ...b })
|
78
|
+
]
|
79
|
+
}), [W, pe] = V(se), O = Ee(l);
|
80
|
+
B(() => {
|
81
|
+
S && (O == null || O());
|
82
|
+
}, [S, O]);
|
83
|
+
const ce = (I = u.arrow) == null ? void 0 : I.x, de = (Y = u.arrow) == null ? void 0 : Y.y, le = ((M = u.arrow) == null ? void 0 : M.centerOffset) !== 0, [fe, me] = s.useState();
|
84
|
+
return B(() => {
|
85
|
+
h && me(window.getComputedStyle(h).zIndex);
|
86
|
+
}, [h]), /* @__PURE__ */ f.jsx(
|
87
|
+
"div",
|
88
|
+
{
|
89
|
+
ref: ie.setFloating,
|
90
|
+
"data-radix-popper-content-wrapper": "",
|
91
|
+
style: {
|
92
|
+
...H,
|
93
|
+
transform: S ? H.transform : "translate(0, -200%)",
|
94
|
+
// keep off the page when measuring
|
95
|
+
minWidth: "max-content",
|
96
|
+
zIndex: fe,
|
97
|
+
"--radix-popper-transform-origin": [
|
98
|
+
(X = u.transformOrigin) == null ? void 0 : X.x,
|
99
|
+
(D = u.transformOrigin) == null ? void 0 : D.y
|
100
|
+
].join(" "),
|
101
|
+
// hide the content if using the hide middleware and should be hidden
|
102
|
+
// set visibility to hidden and disable pointer events so the UI behaves
|
103
|
+
// as if the PopperContent isn't there at all
|
104
|
+
...((F = u.hide) == null ? void 0 : F.referenceHidden) && {
|
105
|
+
visibility: "hidden",
|
106
|
+
pointerEvents: "none"
|
107
|
+
}
|
108
|
+
},
|
109
|
+
dir: e.dir,
|
110
|
+
children: /* @__PURE__ */ f.jsx(
|
111
|
+
je,
|
112
|
+
{
|
113
|
+
scope: n,
|
114
|
+
placedSide: W,
|
115
|
+
onArrowChange: te,
|
116
|
+
arrowX: ce,
|
117
|
+
arrowY: de,
|
118
|
+
shouldHideArrow: le,
|
119
|
+
children: /* @__PURE__ */ f.jsx(
|
120
|
+
z.div,
|
121
|
+
{
|
122
|
+
"data-side": W,
|
123
|
+
"data-align": pe,
|
124
|
+
...d,
|
125
|
+
ref: ee,
|
126
|
+
style: {
|
127
|
+
...d.style,
|
128
|
+
// if the PopperContent hasn't been placed yet (not all measurements done)
|
129
|
+
// we prevent animations so that users's animation don't kick in too early referring wrong sides
|
130
|
+
animation: S ? void 0 : "none"
|
131
|
+
}
|
132
|
+
}
|
133
|
+
)
|
134
|
+
}
|
135
|
+
)
|
136
|
+
}
|
137
|
+
);
|
138
|
+
}
|
139
|
+
);
|
140
|
+
J.displayName = _;
|
141
|
+
var K = "PopperArrow", We = {
|
142
|
+
top: "bottom",
|
143
|
+
right: "left",
|
144
|
+
bottom: "top",
|
145
|
+
left: "right"
|
146
|
+
}, Q = s.forwardRef(function(i, n) {
|
147
|
+
const { __scopePopper: t, ...a } = i, r = He(K, t), o = We[r.placedSide];
|
148
|
+
return (
|
149
|
+
// we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
|
150
|
+
// doesn't report size as we'd expect on SVG elements.
|
151
|
+
// it reports their bounding box which is effectively the largest path inside the SVG.
|
152
|
+
/* @__PURE__ */ f.jsx(
|
153
|
+
"span",
|
154
|
+
{
|
155
|
+
ref: r.onArrowChange,
|
156
|
+
style: {
|
157
|
+
position: "absolute",
|
158
|
+
left: r.arrowX,
|
159
|
+
top: r.arrowY,
|
160
|
+
[o]: 0,
|
161
|
+
transformOrigin: {
|
162
|
+
top: "",
|
163
|
+
right: "0 0",
|
164
|
+
bottom: "center 0",
|
165
|
+
left: "100% 0"
|
166
|
+
}[r.placedSide],
|
167
|
+
transform: {
|
168
|
+
top: "translateY(100%)",
|
169
|
+
right: "translateY(50%) rotate(90deg) translateX(-50%)",
|
170
|
+
bottom: "rotate(180deg)",
|
171
|
+
left: "translateY(50%) rotate(-90deg) translateX(50%)"
|
172
|
+
}[r.placedSide],
|
173
|
+
visibility: r.shouldHideArrow ? "hidden" : void 0
|
174
|
+
},
|
175
|
+
children: /* @__PURE__ */ f.jsx(
|
176
|
+
Oe,
|
177
|
+
{
|
178
|
+
...a,
|
179
|
+
ref: n,
|
180
|
+
style: {
|
181
|
+
...a.style,
|
182
|
+
// ensures the element can be measured correctly (mostly for if SVG)
|
183
|
+
display: "block"
|
184
|
+
}
|
185
|
+
}
|
186
|
+
)
|
187
|
+
}
|
188
|
+
)
|
189
|
+
);
|
190
|
+
});
|
191
|
+
Q.displayName = K;
|
192
|
+
function Ie(e) {
|
193
|
+
return e !== null;
|
194
|
+
}
|
195
|
+
var Ye = (e) => ({
|
196
|
+
name: "transformOrigin",
|
197
|
+
options: e,
|
198
|
+
fn(i) {
|
199
|
+
var v, h, C;
|
200
|
+
const { placement: n, rects: t, middlewareData: a } = i, o = ((v = a.arrow) == null ? void 0 : v.centerOffset) !== 0, w = o ? 0 : e.arrowWidth, p = o ? 0 : e.arrowHeight, [c, x] = V(n), m = { start: "0%", center: "50%", end: "100%" }[x], y = (((h = a.arrow) == null ? void 0 : h.x) ?? 0) + w / 2, A = (((C = a.arrow) == null ? void 0 : C.y) ?? 0) + p / 2;
|
201
|
+
let l = "", d = "";
|
202
|
+
return c === "bottom" ? (l = o ? m : `${y}px`, d = `${-p}px`) : c === "top" ? (l = o ? m : `${y}px`, d = `${t.floating.height + p}px`) : c === "right" ? (l = `${-p}px`, d = o ? m : `${A}px`) : c === "left" && (l = `${t.floating.width + p}px`, d = o ? m : `${A}px`), { data: { x: l, y: d } };
|
203
|
+
}
|
204
|
+
});
|
205
|
+
function V(e) {
|
206
|
+
const [i, n = "center"] = e.split("-");
|
207
|
+
return [i, n];
|
208
|
+
}
|
209
|
+
var qe = U, Ge = G, Je = J, Ke = Q;
|
210
|
+
export {
|
211
|
+
Ge as Anchor,
|
212
|
+
Ke as Arrow,
|
213
|
+
Je as Content,
|
214
|
+
U as Popper,
|
215
|
+
G as PopperAnchor,
|
216
|
+
Q as PopperArrow,
|
217
|
+
J as PopperContent,
|
218
|
+
qe as Root,
|
219
|
+
Ue as createPopperScope
|
220
|
+
};
|
221
|
+
//# sourceMappingURL=index.es376.js.map
|