@anoki/fse-ui 1.0.359 → 1.0.362
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.cjs.js +1 -1
- 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.cjs105.js +1 -1
- package/dist/index.cjs106.js +1 -1
- package/dist/index.cjs107.js +1 -1
- package/dist/index.cjs108.js +1 -1
- package/dist/index.cjs109.js +1 -1
- package/dist/index.cjs11.js +1 -1
- package/dist/index.cjs110.js +1 -1
- package/dist/index.cjs111.js +1 -1
- package/dist/index.cjs112.js +1 -1
- package/dist/index.cjs113.js +1 -1
- package/dist/index.cjs115.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.cjs13.js +1 -1
- package/dist/index.cjs14.js +1 -1
- package/dist/index.cjs143.js +1 -1
- package/dist/index.cjs143.js.map +1 -1
- package/dist/index.cjs145.js +1 -1
- package/dist/index.cjs145.js.map +1 -1
- package/dist/index.cjs15.js +1 -1
- package/dist/index.cjs150.js +2 -0
- package/dist/index.cjs150.js.map +1 -0
- package/dist/index.cjs152.js +2 -0
- package/dist/index.cjs152.js.map +1 -0
- package/dist/index.cjs153.js +1 -1
- package/dist/index.cjs153.js.map +1 -1
- package/dist/index.cjs156.js +1 -1
- package/dist/index.cjs156.js.map +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs160.js +2 -0
- package/dist/index.cjs160.js.map +1 -0
- package/dist/index.cjs163.js +1 -1
- package/dist/index.cjs163.js.map +1 -1
- package/dist/{index.cjs159.js → index.cjs166.js} +2 -2
- package/dist/{index.cjs159.js.map → index.cjs166.js.map} +1 -1
- package/dist/{index.cjs162.js → index.cjs169.js} +2 -2
- package/dist/{index.cjs162.js.map → index.cjs169.js.map} +1 -1
- package/dist/index.cjs17.js +1 -1
- package/dist/index.cjs170.js +1 -1
- package/dist/index.cjs170.js.map +1 -1
- package/dist/index.cjs171.js +1 -1
- package/dist/index.cjs171.js.map +1 -1
- package/dist/index.cjs177.js +2 -0
- package/dist/index.cjs177.js.map +1 -0
- package/dist/index.cjs178.js +2 -0
- package/dist/index.cjs178.js.map +1 -0
- package/dist/index.cjs18.js +1 -1
- package/dist/index.cjs181.js +1 -5
- package/dist/index.cjs181.js.map +1 -1
- package/dist/{index.cjs179.js → index.cjs186.js} +2 -2
- package/dist/{index.cjs179.js.map → index.cjs186.js.map} +1 -1
- package/dist/index.cjs188.js +5 -1
- package/dist/index.cjs188.js.map +1 -1
- package/dist/index.cjs189.js +1 -1
- package/dist/index.cjs189.js.map +1 -1
- package/dist/index.cjs19.js +1 -1
- package/dist/{index.cjs183.js → index.cjs190.js} +1 -1
- package/dist/{index.cjs183.js.map → index.cjs190.js.map} +1 -1
- package/dist/{index.cjs184.js → index.cjs191.js} +1 -1
- package/dist/{index.cjs184.js.map → index.cjs191.js.map} +1 -1
- package/dist/index.cjs192.js +1 -1
- package/dist/index.cjs192.js.map +1 -1
- package/dist/{index.cjs187.js → index.cjs194.js} +2 -2
- package/dist/{index.cjs187.js.map → index.cjs194.js.map} +1 -1
- package/dist/index.cjs195.js +2 -0
- package/dist/index.cjs195.js.map +1 -0
- package/dist/index.cjs196.js +2 -0
- package/dist/index.cjs196.js.map +1 -0
- package/dist/index.cjs199.js +1 -1
- package/dist/index.cjs199.js.map +1 -1
- package/dist/index.cjs20.js +1 -1
- package/dist/index.cjs200.js +1 -1
- package/dist/index.cjs200.js.map +1 -1
- package/dist/index.cjs205.js +2 -0
- package/dist/{index.cjs198.js.map → index.cjs205.js.map} +1 -1
- package/dist/index.cjs206.js +1 -1
- package/dist/index.cjs206.js.map +1 -1
- package/dist/index.cjs207.js +1 -1
- package/dist/index.cjs207.js.map +1 -1
- package/dist/{index.cjs202.js → index.cjs209.js} +2 -2
- package/dist/{index.cjs202.js.map → index.cjs209.js.map} +1 -1
- package/dist/index.cjs21.js +1 -1
- package/dist/index.cjs210.js +1 -6
- package/dist/index.cjs210.js.map +1 -1
- package/dist/{index.cjs204.js → index.cjs211.js} +1 -1
- package/dist/{index.cjs204.js.map → index.cjs211.js.map} +1 -1
- package/dist/index.cjs213.js +2 -0
- package/dist/index.cjs213.js.map +1 -0
- package/dist/index.cjs214.js +2 -0
- package/dist/index.cjs214.js.map +1 -0
- package/dist/{index.cjs208.js → index.cjs215.js} +2 -2
- package/dist/{index.cjs208.js.map → index.cjs215.js.map} +1 -1
- package/dist/index.cjs217.js +7 -0
- package/dist/index.cjs217.js.map +1 -0
- package/dist/index.cjs22.js +1 -1
- package/dist/index.cjs226.js +2 -0
- package/dist/index.cjs226.js.map +1 -0
- package/dist/index.cjs23.js +1 -1
- package/dist/index.cjs24.js +1 -1
- package/dist/index.cjs240.js +1 -1
- package/dist/index.cjs241.js +1 -1
- package/dist/index.cjs242.js +27 -1
- package/dist/index.cjs242.js.map +1 -1
- package/dist/index.cjs243.js +1 -1
- package/dist/index.cjs243.js.map +1 -1
- package/dist/index.cjs244.js +1 -1
- package/dist/index.cjs244.js.map +1 -1
- 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.cjs251.js +2 -0
- package/dist/index.cjs251.js.map +1 -0
- package/dist/{index.cjs245.js → index.cjs252.js} +2 -2
- package/dist/{index.cjs245.js.map → index.cjs252.js.map} +1 -1
- package/dist/index.cjs253.js +1 -1
- package/dist/index.cjs253.js.map +1 -1
- package/dist/index.cjs254.js +1 -1
- package/dist/index.cjs254.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.cjs258.js +1 -1
- package/dist/index.cjs258.js.map +1 -1
- package/dist/index.cjs259.js +1 -1
- package/dist/index.cjs259.js.map +1 -1
- package/dist/index.cjs26.js +1 -1
- package/dist/index.cjs260.js +1 -1
- package/dist/index.cjs260.js.map +1 -1
- package/dist/index.cjs261.js +1 -1
- package/dist/index.cjs261.js.map +1 -1
- package/dist/index.cjs262.js +1 -1
- package/dist/index.cjs262.js.map +1 -1
- package/dist/index.cjs263.js +1 -1
- package/dist/index.cjs263.js.map +1 -1
- package/dist/index.cjs264.js +1 -1
- package/dist/index.cjs264.js.map +1 -1
- package/dist/index.cjs265.js +1 -1
- package/dist/index.cjs265.js.map +1 -1
- package/dist/index.cjs266.js +1 -1
- package/dist/index.cjs266.js.map +1 -1
- package/dist/index.cjs267.js +1 -1
- package/dist/index.cjs267.js.map +1 -1
- package/dist/index.cjs268.js +1 -1
- package/dist/index.cjs268.js.map +1 -1
- package/dist/index.cjs269.js +1 -1
- package/dist/index.cjs269.js.map +1 -1
- package/dist/index.cjs270.js +1 -1
- package/dist/index.cjs270.js.map +1 -1
- package/dist/index.cjs271.js +1 -1
- package/dist/index.cjs271.js.map +1 -1
- package/dist/index.cjs272.js +2 -0
- package/dist/index.cjs272.js.map +1 -0
- package/dist/index.cjs273.js +2 -0
- package/dist/index.cjs273.js.map +1 -0
- package/dist/index.cjs274.js +2 -0
- package/dist/index.cjs274.js.map +1 -0
- package/dist/index.cjs275.js +1 -1
- package/dist/index.cjs275.js.map +1 -1
- package/dist/index.cjs278.js +1 -1
- package/dist/index.cjs278.js.map +1 -1
- package/dist/index.cjs279.js +1 -1
- package/dist/index.cjs279.js.map +1 -1
- package/dist/index.cjs28.js +1 -1
- package/dist/{index.cjs277.js → index.cjs280.js} +2 -2
- package/dist/{index.cjs277.js.map → index.cjs280.js.map} +1 -1
- package/dist/index.cjs281.js +2 -0
- package/dist/{index.cjs296.js.map → index.cjs281.js.map} +1 -1
- package/dist/{index.cjs285.js → index.cjs282.js} +2 -2
- package/dist/index.cjs282.js.map +1 -0
- package/dist/index.cjs29.js +1 -1
- package/dist/index.cjs292.js +1 -1
- package/dist/index.cjs294.js +1 -1
- package/dist/index.cjs295.js +1 -1
- package/dist/index.cjs299.js +1 -1
- package/dist/index.cjs299.js.map +1 -1
- package/dist/index.cjs30.js +1 -1
- package/dist/index.cjs300.js +1 -1
- package/dist/index.cjs300.js.map +1 -1
- package/dist/index.cjs301.js +1 -1
- package/dist/index.cjs301.js.map +1 -1
- package/dist/index.cjs302.js +1 -1
- package/dist/index.cjs302.js.map +1 -1
- package/dist/index.cjs303.js +1 -1
- package/dist/index.cjs303.js.map +1 -1
- package/dist/index.cjs304.js +1 -1
- package/dist/index.cjs304.js.map +1 -1
- package/dist/index.cjs305.js +1 -4
- package/dist/index.cjs305.js.map +1 -1
- package/dist/index.cjs306.js +1 -1
- package/dist/index.cjs306.js.map +1 -1
- package/dist/index.cjs307.js +4 -1
- package/dist/index.cjs307.js.map +1 -1
- package/dist/index.cjs308.js +1 -1
- package/dist/index.cjs308.js.map +1 -1
- package/dist/index.cjs309.js +1 -1
- package/dist/index.cjs309.js.map +1 -1
- package/dist/index.cjs31.js +1 -1
- package/dist/index.cjs310.js +1 -1
- package/dist/index.cjs310.js.map +1 -1
- package/dist/index.cjs311.js +1 -38
- package/dist/index.cjs311.js.map +1 -1
- package/dist/index.cjs312.js +38 -1
- package/dist/index.cjs312.js.map +1 -1
- package/dist/index.cjs313.js +1 -1
- package/dist/index.cjs313.js.map +1 -1
- package/dist/index.cjs314.js +1 -1
- package/dist/index.cjs314.js.map +1 -1
- package/dist/index.cjs315.js +1 -1
- package/dist/index.cjs315.js.map +1 -1
- package/dist/index.cjs316.js +1 -1
- package/dist/index.cjs316.js.map +1 -1
- package/dist/index.cjs317.js +1 -1
- package/dist/index.cjs317.js.map +1 -1
- package/dist/index.cjs318.js +1 -1
- package/dist/index.cjs318.js.map +1 -1
- package/dist/index.cjs319.js +1 -1
- package/dist/index.cjs319.js.map +1 -1
- package/dist/index.cjs32.js +1 -1
- package/dist/index.cjs320.js +1 -1
- package/dist/index.cjs320.js.map +1 -1
- package/dist/index.cjs321.js +1 -27
- package/dist/index.cjs321.js.map +1 -1
- package/dist/index.cjs322.js +1 -1
- package/dist/index.cjs322.js.map +1 -1
- package/dist/index.cjs33.js +1 -1
- package/dist/index.cjs34.js +1 -1
- package/dist/index.cjs36.js +1 -1
- package/dist/index.cjs37.js +1 -1
- package/dist/index.cjs38.js +1 -1
- package/dist/index.cjs39.js +1 -1
- package/dist/index.cjs40.js +1 -1
- package/dist/index.cjs41.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.cjs73.js +1 -1
- package/dist/index.cjs73.js.map +1 -1
- package/dist/index.cjs76.js +1 -1
- package/dist/index.cjs77.js +1 -1
- package/dist/index.cjs78.js +1 -1
- package/dist/index.cjs79.js +1 -1
- package/dist/index.cjs8.js +1 -1
- package/dist/index.cjs80.js +1 -1
- package/dist/index.cjs81.js +1 -1
- package/dist/index.cjs82.js +1 -1
- package/dist/index.cjs83.js +1 -1
- package/dist/index.cjs84.js +1 -1
- package/dist/index.cjs85.js +1 -1
- package/dist/index.cjs86.js +1 -1
- package/dist/index.cjs87.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.cjs91.js +1 -1
- package/dist/index.cjs92.js +1 -1
- package/dist/index.cjs93.js +1 -1
- package/dist/index.cjs94.js +1 -1
- package/dist/index.cjs95.js +1 -1
- package/dist/index.cjs96.js +1 -1
- package/dist/index.cjs97.js +1 -1
- package/dist/index.cjs98.js +1 -1
- package/dist/index.cjs99.js +1 -1
- package/dist/index.d.ts +11 -11
- package/dist/index.es.js +90 -90
- package/dist/index.es10.js +4 -4
- package/dist/index.es100.js +1 -1
- package/dist/index.es101.js +1 -1
- package/dist/index.es102.js +2 -2
- package/dist/index.es103.js +2 -2
- package/dist/index.es104.js +2 -2
- package/dist/index.es105.js +2 -2
- package/dist/index.es106.js +2 -2
- package/dist/index.es107.js +2 -2
- package/dist/index.es108.js +2 -2
- package/dist/index.es109.js +2 -2
- package/dist/index.es11.js +1 -1
- package/dist/index.es110.js +2 -2
- package/dist/index.es111.js +2 -2
- package/dist/index.es112.js +2 -2
- package/dist/index.es113.js +2 -2
- package/dist/index.es115.js +2 -2
- 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.es13.js +1 -1
- package/dist/index.es14.js +1 -1
- package/dist/index.es143.js +15 -27
- package/dist/index.es143.js.map +1 -1
- package/dist/index.es145.js +3 -2
- package/dist/index.es145.js.map +1 -1
- package/dist/index.es15.js +2 -2
- package/dist/index.es150.js +30 -0
- package/dist/index.es150.js.map +1 -0
- package/dist/index.es152.js +5 -0
- package/dist/index.es152.js.map +1 -0
- package/dist/index.es153.js +2 -22
- package/dist/index.es153.js.map +1 -1
- package/dist/index.es156.js +14 -21
- package/dist/index.es156.js.map +1 -1
- package/dist/index.es16.js +2 -2
- package/dist/index.es160.js +25 -0
- package/dist/index.es160.js.map +1 -0
- package/dist/index.es163.js +20 -141
- package/dist/index.es163.js.map +1 -1
- package/dist/{index.es159.js → index.es166.js} +8 -8
- package/dist/{index.es159.js.map → index.es166.js.map} +1 -1
- package/dist/{index.es162.js → index.es169.js} +3 -3
- package/dist/{index.es162.js.map → index.es169.js.map} +1 -1
- package/dist/index.es17.js +1 -1
- package/dist/index.es170.js +139 -129
- package/dist/index.es170.js.map +1 -1
- package/dist/index.es171.js +135 -20
- package/dist/index.es171.js.map +1 -1
- package/dist/index.es177.js +136 -0
- package/dist/index.es177.js.map +1 -0
- package/dist/index.es178.js +23 -0
- package/dist/index.es178.js.map +1 -0
- package/dist/index.es18.js +2 -2
- package/dist/index.es181.js +3 -257
- package/dist/index.es181.js.map +1 -1
- package/dist/{index.es179.js → index.es186.js} +3 -3
- package/dist/{index.es179.js.map → index.es186.js.map} +1 -1
- package/dist/index.es188.js +257 -4
- package/dist/index.es188.js.map +1 -1
- package/dist/index.es189.js +51 -8
- package/dist/index.es189.js.map +1 -1
- package/dist/index.es19.js +2 -2
- package/dist/{index.es183.js → index.es190.js} +1 -1
- package/dist/{index.es183.js.map → index.es190.js.map} +1 -1
- package/dist/{index.es184.js → index.es191.js} +1 -1
- package/dist/{index.es184.js.map → index.es191.js.map} +1 -1
- package/dist/index.es192.js +28 -8
- package/dist/index.es192.js.map +1 -1
- package/dist/{index.es187.js → index.es194.js} +2 -2
- package/dist/{index.es187.js.map → index.es194.js.map} +1 -1
- package/dist/{index.es193.js → index.es195.js} +3 -3
- package/dist/index.es195.js.map +1 -0
- package/dist/index.es196.js +11 -0
- package/dist/index.es196.js.map +1 -0
- package/dist/index.es199.js +8 -27
- package/dist/index.es199.js.map +1 -1
- package/dist/index.es20.js +1 -1
- package/dist/index.es200.js +3 -5
- package/dist/index.es200.js.map +1 -1
- package/dist/{index.es198.js → index.es205.js} +3 -3
- package/dist/{index.es198.js.map → index.es205.js.map} +1 -1
- package/dist/index.es206.js +25 -25
- package/dist/index.es206.js.map +1 -1
- package/dist/index.es207.js +6 -26
- package/dist/index.es207.js.map +1 -1
- package/dist/{index.es202.js → index.es209.js} +2 -2
- package/dist/{index.es202.js.map → index.es209.js.map} +1 -1
- package/dist/index.es21.js +2 -2
- package/dist/index.es210.js +8 -59
- package/dist/index.es210.js.map +1 -1
- package/dist/{index.es204.js → index.es211.js} +1 -1
- package/dist/{index.es204.js.map → index.es211.js.map} +1 -1
- package/dist/index.es213.js +30 -0
- package/dist/index.es213.js.map +1 -0
- package/dist/index.es214.js +29 -0
- package/dist/index.es214.js.map +1 -0
- package/dist/{index.es208.js → index.es215.js} +8 -8
- package/dist/{index.es208.js.map → index.es215.js.map} +1 -1
- package/dist/index.es217.js +62 -0
- package/dist/index.es217.js.map +1 -0
- package/dist/index.es22.js +3 -3
- package/dist/index.es226.js +2 -0
- package/dist/index.es226.js.map +1 -0
- package/dist/index.es23.js +2 -2
- package/dist/index.es24.js +2 -2
- package/dist/index.es240.js +1 -1
- package/dist/index.es241.js +1 -1
- package/dist/index.es242.js +3674 -6
- package/dist/index.es242.js.map +1 -1
- package/dist/index.es243.js +2 -27
- package/dist/index.es243.js.map +1 -1
- package/dist/index.es244.js +2 -68
- package/dist/index.es244.js.map +1 -1
- package/dist/index.es246.js +15 -33
- package/dist/index.es246.js.map +1 -1
- package/dist/index.es249.js +10 -0
- package/dist/index.es249.js.map +1 -0
- package/dist/index.es25.js +2 -2
- package/dist/index.es250.js +27 -15
- package/dist/index.es250.js.map +1 -1
- package/dist/index.es251.js +71 -0
- package/dist/index.es251.js.map +1 -0
- package/dist/{index.es245.js → index.es252.js} +2 -2
- package/dist/{index.es245.js.map → index.es252.js.map} +1 -1
- package/dist/index.es253.js +32 -5
- package/dist/index.es253.js.map +1 -1
- package/dist/index.es254.js +621 -24
- package/dist/index.es254.js.map +1 -1
- package/dist/index.es255.js +10 -68
- package/dist/index.es255.js.map +1 -1
- package/dist/index.es256.js +2 -29
- package/dist/index.es256.js.map +1 -1
- package/dist/index.es257.js +2 -2
- package/dist/index.es258.js +6 -2
- package/dist/index.es258.js.map +1 -1
- package/dist/index.es259.js +24 -10
- package/dist/index.es259.js.map +1 -1
- package/dist/index.es26.js +1 -1
- package/dist/index.es260.js +66 -43
- package/dist/index.es260.js.map +1 -1
- package/dist/index.es261.js +29 -46
- package/dist/index.es261.js.map +1 -1
- package/dist/index.es262.js +10 -7
- package/dist/index.es262.js.map +1 -1
- package/dist/index.es263.js +41 -120
- package/dist/index.es263.js.map +1 -1
- package/dist/index.es264.js +45 -14
- package/dist/index.es264.js.map +1 -1
- package/dist/index.es265.js +7 -134
- package/dist/index.es265.js.map +1 -1
- package/dist/index.es266.js +113 -206
- package/dist/index.es266.js.map +1 -1
- package/dist/index.es267.js +14 -13
- package/dist/index.es267.js.map +1 -1
- package/dist/index.es268.js +127 -170
- package/dist/index.es268.js.map +1 -1
- package/dist/index.es269.js +217 -49
- package/dist/index.es269.js.map +1 -1
- package/dist/index.es270.js +12 -7
- package/dist/index.es270.js.map +1 -1
- package/dist/index.es271.js +177 -3
- package/dist/index.es271.js.map +1 -1
- package/dist/index.es272.js +53 -0
- package/dist/index.es272.js.map +1 -0
- package/dist/index.es273.js +12 -0
- package/dist/index.es273.js.map +1 -0
- package/dist/index.es274.js +7 -0
- package/dist/index.es274.js.map +1 -0
- package/dist/index.es275.js +37 -120
- package/dist/index.es275.js.map +1 -1
- package/dist/index.es278.js +122 -30
- package/dist/index.es278.js.map +1 -1
- package/dist/index.es279.js +130 -37
- package/dist/index.es279.js.map +1 -1
- package/dist/index.es28.js +2 -2
- package/dist/{index.es277.js → index.es280.js} +3 -3
- package/dist/{index.es277.js.map → index.es280.js.map} +1 -1
- package/dist/index.es281.js +36 -0
- package/dist/{index.es296.js.map → index.es281.js.map} +1 -1
- package/dist/{index.es285.js → index.es282.js} +2 -2
- package/dist/index.es282.js.map +1 -0
- package/dist/index.es29.js +1 -1
- package/dist/index.es292.js +1 -1
- package/dist/index.es294.js +1 -1
- package/dist/index.es295.js +3 -3
- package/dist/index.es299.js +29 -29
- package/dist/index.es299.js.map +1 -1
- package/dist/index.es30.js +3 -3
- package/dist/index.es300.js +25 -5
- package/dist/index.es300.js.map +1 -1
- package/dist/index.es301.js +28 -41
- package/dist/index.es301.js.map +1 -1
- package/dist/index.es302.js +5 -5
- package/dist/index.es302.js.map +1 -1
- package/dist/index.es303.js +42 -3
- package/dist/index.es303.js.map +1 -1
- package/dist/index.es304.js +5 -24
- package/dist/index.es304.js.map +1 -1
- package/dist/index.es305.js +3 -110
- package/dist/index.es305.js.map +1 -1
- package/dist/index.es306.js +23 -15
- package/dist/index.es306.js.map +1 -1
- package/dist/index.es307.js +104 -517
- package/dist/index.es307.js.map +1 -1
- package/dist/index.es308.js +14 -125
- package/dist/index.es308.js.map +1 -1
- package/dist/index.es309.js +514 -120
- package/dist/index.es309.js.map +1 -1
- package/dist/index.es31.js +1 -1
- package/dist/index.es310.js +124 -62
- package/dist/index.es310.js.map +1 -1
- package/dist/index.es311.js +127 -67
- package/dist/index.es311.js.map +1 -1
- package/dist/index.es312.js +68 -8
- package/dist/index.es312.js.map +1 -1
- package/dist/index.es313.js +9 -14
- package/dist/index.es313.js.map +1 -1
- package/dist/index.es314.js +14 -62
- package/dist/index.es314.js.map +1 -1
- package/dist/index.es315.js +62 -4
- package/dist/index.es315.js.map +1 -1
- package/dist/index.es316.js +61 -19
- package/dist/index.es316.js.map +1 -1
- package/dist/index.es317.js +4 -23
- package/dist/index.es317.js.map +1 -1
- package/dist/index.es318.js +23 -13
- package/dist/index.es318.js.map +1 -1
- package/dist/index.es319.js +11 -26
- package/dist/index.es319.js.map +1 -1
- package/dist/index.es32.js +1 -1
- package/dist/index.es320.js +27 -4
- package/dist/index.es320.js.map +1 -1
- package/dist/index.es321.js +5 -3675
- package/dist/index.es321.js.map +1 -1
- package/dist/index.es322.js +23 -2
- package/dist/index.es322.js.map +1 -1
- package/dist/index.es33.js +1 -1
- package/dist/index.es34.js +1 -1
- package/dist/index.es36.js +1 -1
- package/dist/index.es37.js +5 -5
- package/dist/index.es38.js +4 -4
- package/dist/index.es39.js +3 -3
- package/dist/index.es40.js +2 -2
- package/dist/index.es41.js +2 -2
- 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.es73.js +67 -55
- package/dist/index.es73.js.map +1 -1
- package/dist/index.es76.js +2 -2
- package/dist/index.es77.js +1 -1
- package/dist/index.es78.js +2 -2
- package/dist/index.es79.js +2 -2
- package/dist/index.es8.js +2 -2
- package/dist/index.es80.js +2 -2
- package/dist/index.es81.js +2 -2
- package/dist/index.es82.js +2 -2
- package/dist/index.es83.js +2 -2
- package/dist/index.es84.js +2 -2
- package/dist/index.es85.js +2 -2
- package/dist/index.es86.js +2 -2
- package/dist/index.es87.js +2 -2
- package/dist/index.es88.js +2 -2
- package/dist/index.es89.js +2 -2
- package/dist/index.es9.js +4 -4
- package/dist/index.es90.js +2 -2
- package/dist/index.es91.js +2 -2
- package/dist/index.es92.js +2 -2
- package/dist/index.es93.js +2 -2
- package/dist/index.es94.js +2 -2
- package/dist/index.es95.js +2 -2
- package/dist/index.es96.js +2 -2
- package/dist/index.es97.js +2 -2
- package/dist/index.es98.js +2 -2
- package/dist/index.es99.js +2 -2
- package/dist/sections/{AggregationItems/AggregationItems.css → HomeServices/HomeServices.css} +1 -1
- package/package.json +1 -1
- package/dist/index.cjs142.js +0 -2
- package/dist/index.cjs142.js.map +0 -1
- package/dist/index.cjs146.js +0 -2
- package/dist/index.cjs146.js.map +0 -1
- package/dist/index.cjs149.js +0 -2
- package/dist/index.cjs149.js.map +0 -1
- package/dist/index.cjs164.js +0 -2
- package/dist/index.cjs164.js.map +0 -1
- package/dist/index.cjs174.js +0 -2
- package/dist/index.cjs174.js.map +0 -1
- package/dist/index.cjs182.js +0 -2
- package/dist/index.cjs182.js.map +0 -1
- package/dist/index.cjs185.js +0 -2
- package/dist/index.cjs185.js.map +0 -1
- package/dist/index.cjs193.js +0 -2
- package/dist/index.cjs193.js.map +0 -1
- package/dist/index.cjs198.js +0 -2
- package/dist/index.cjs203.js +0 -2
- package/dist/index.cjs203.js.map +0 -1
- package/dist/index.cjs219.js +0 -2
- package/dist/index.cjs219.js.map +0 -1
- package/dist/index.cjs235.js +0 -2
- package/dist/index.cjs235.js.map +0 -1
- package/dist/index.cjs247.js +0 -2
- package/dist/index.cjs247.js.map +0 -1
- package/dist/index.cjs248.js +0 -2
- package/dist/index.cjs248.js.map +0 -1
- package/dist/index.cjs276.js +0 -2
- package/dist/index.cjs276.js.map +0 -1
- package/dist/index.cjs285.js.map +0 -1
- package/dist/index.cjs296.js +0 -2
- package/dist/index.cjs297.js +0 -2
- package/dist/index.cjs297.js.map +0 -1
- package/dist/index.cjs298.js +0 -2
- package/dist/index.cjs298.js.map +0 -1
- package/dist/index.es142.js +0 -18
- package/dist/index.es142.js.map +0 -1
- package/dist/index.es146.js +0 -5
- package/dist/index.es146.js.map +0 -1
- package/dist/index.es149.js +0 -18
- package/dist/index.es149.js.map +0 -1
- package/dist/index.es164.js +0 -138
- package/dist/index.es164.js.map +0 -1
- package/dist/index.es174.js +0 -6
- package/dist/index.es174.js.map +0 -1
- package/dist/index.es182.js +0 -54
- package/dist/index.es182.js.map +0 -1
- package/dist/index.es185.js +0 -31
- package/dist/index.es185.js.map +0 -1
- package/dist/index.es193.js.map +0 -1
- package/dist/index.es203.js +0 -11
- package/dist/index.es203.js.map +0 -1
- package/dist/index.es219.js +0 -2
- package/dist/index.es219.js.map +0 -1
- package/dist/index.es235.js +0 -6
- package/dist/index.es235.js.map +0 -1
- package/dist/index.es247.js +0 -625
- package/dist/index.es247.js.map +0 -1
- package/dist/index.es248.js +0 -14
- package/dist/index.es248.js.map +0 -1
- package/dist/index.es276.js +0 -138
- package/dist/index.es276.js.map +0 -1
- package/dist/index.es285.js.map +0 -1
- package/dist/index.es296.js +0 -32
- package/dist/index.es297.js +0 -5
- package/dist/index.es297.js.map +0 -1
- package/dist/index.es298.js +0 -28
- package/dist/index.es298.js.map +0 -1
- /package/dist/components/ui/{DoctorConfirmModal/DoctorConfirmModalContent/DoctorConfirmModalContent.css → ConsentModal/ConsentModalContent/ConsentModalContent.css} +0 -0
- /package/dist/components/ui/{ConsentModal/ConsentModalFooter/ConsentModalFooter.css → DoctorModal/DoctorModalFooter/DoctorModalFooter.css} +0 -0
package/dist/index.es292.js
CHANGED
package/dist/index.es294.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as n from "react";
|
2
|
-
import { Primitive as p } from "./index.
|
2
|
+
import { Primitive as p } from "./index.es253.js";
|
3
3
|
import { j as o } from "./index.es141.js";
|
4
4
|
var v = "Arrow", e = n.forwardRef((r, i) => {
|
5
5
|
const { children: t, width: s = 10, height: a = 5, ...m } = r;
|
package/dist/index.es295.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
import { offset as ot, shift as st, flip as rt, size as ct, hide as lt, computePosition as ft, arrow as ut, limitShift as ht } from "./index.
|
2
|
-
import { createCoords as m, rectToClientRect as J, round as A, floor as D, max as E, min as V } from "./index.
|
3
|
-
import { getOverflowAncestors as $, isElement as v, getWindow as L, getFrameElement as K, getComputedStyle as R, getDocumentElement as O, isHTMLElement as b, isWebKit as Q, isTopLayer as S, getNodeName as M, isOverflowElement as _, getNodeScroll as N, getParentNode as W, isLastTraversableNode as H, isTableElement as dt, isContainingBlock as Y, getContainingBlock as at } from "./index.
|
1
|
+
import { offset as ot, shift as st, flip as rt, size as ct, hide as lt, computePosition as ft, arrow as ut, limitShift as ht } from "./index.es309.js";
|
2
|
+
import { createCoords as m, rectToClientRect as J, round as A, floor as D, max as E, min as V } from "./index.es310.js";
|
3
|
+
import { getOverflowAncestors as $, isElement as v, getWindow as L, getFrameElement as K, getComputedStyle as R, getDocumentElement as O, isHTMLElement as b, isWebKit as Q, isTopLayer as S, getNodeName as M, isOverflowElement as _, getNodeScroll as N, getParentNode as W, isLastTraversableNode as H, isTableElement as dt, isContainingBlock as Y, getContainingBlock as at } from "./index.es311.js";
|
4
4
|
function Z(t) {
|
5
5
|
const e = R(t);
|
6
6
|
let n = parseFloat(e.width) || 0, i = parseFloat(e.height) || 0;
|
package/dist/index.es299.js
CHANGED
@@ -1,32 +1,32 @@
|
|
1
|
-
import
|
2
|
-
import
|
3
|
-
import {
|
4
|
-
import {
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
};
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
};
|
1
|
+
import * as s from "react";
|
2
|
+
import "react-dom";
|
3
|
+
import { Slot as n } from "./index.es303.js";
|
4
|
+
import { j as f } from "./index.es141.js";
|
5
|
+
var u = [
|
6
|
+
"a",
|
7
|
+
"button",
|
8
|
+
"div",
|
9
|
+
"form",
|
10
|
+
"h2",
|
11
|
+
"h3",
|
12
|
+
"img",
|
13
|
+
"input",
|
14
|
+
"label",
|
15
|
+
"li",
|
16
|
+
"nav",
|
17
|
+
"ol",
|
18
|
+
"p",
|
19
|
+
"span",
|
20
|
+
"svg",
|
21
|
+
"ul"
|
22
|
+
], c = u.reduce((o, r) => {
|
23
|
+
const i = s.forwardRef((t, e) => {
|
24
|
+
const { asChild: m, ...a } = t, p = m ? n : r;
|
25
|
+
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ f.jsx(p, { ...a, ref: e });
|
26
|
+
});
|
27
|
+
return i.displayName = `Primitive.${r}`, { ...o, [r]: i };
|
28
|
+
}, {});
|
29
29
|
export {
|
30
|
-
|
30
|
+
c as Primitive
|
31
31
|
};
|
32
32
|
//# sourceMappingURL=index.es299.js.map
|
package/dist/index.es299.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es299.js","sources":["../node_modules/react-
|
1
|
+
{"version":3,"file":"index.es299.js","sources":["../node_modules/@radix-ui/react-switch/node_modules/@radix-ui/react-primitive/dist/index.mjs"],"sourcesContent":["// packages/react/primitive/src/primitive.tsx\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NODES = [\n \"a\",\n \"button\",\n \"div\",\n \"form\",\n \"h2\",\n \"h3\",\n \"img\",\n \"input\",\n \"label\",\n \"li\",\n \"nav\",\n \"ol\",\n \"p\",\n \"span\",\n \"svg\",\n \"ul\"\n];\nvar Primitive = NODES.reduce((primitive, node) => {\n const Node = React.forwardRef((props, forwardedRef) => {\n const { asChild, ...primitiveProps } = props;\n const Comp = asChild ? Slot : node;\n if (typeof window !== \"undefined\") {\n window[Symbol.for(\"radix-ui\")] = true;\n }\n return /* @__PURE__ */ jsx(Comp, { ...primitiveProps, ref: forwardedRef });\n });\n Node.displayName = `Primitive.${node}`;\n return { ...primitive, [node]: Node };\n}, {});\nfunction dispatchDiscreteCustomEvent(target, event) {\n if (target) ReactDOM.flushSync(() => target.dispatchEvent(event));\n}\nvar Root = Primitive;\nexport {\n Primitive,\n Root,\n dispatchDiscreteCustomEvent\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["NODES","Primitive","primitive","node","Node","React","props","forwardedRef","asChild","primitiveProps","Comp","Slot","jsx"],"mappings":";;;;AAKA,IAAIA,IAAQ;AAAA,EACV;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GACIC,IAAYD,EAAM,OAAO,CAACE,GAAWC,MAAS;AAChD,QAAMC,IAAOC,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACrD,UAAM,EAAE,SAAAC,GAAS,GAAGC,EAAc,IAAKH,GACjCI,IAAOF,IAAUG,IAAOR;AAC9B,WAAI,OAAO,SAAW,QACpB,OAAO,OAAO,IAAI,UAAU,CAAC,IAAI,KAEZS,gBAAAA,EAAAA,IAAIF,GAAM,EAAE,GAAGD,GAAgB,KAAKF,GAAc;AAAA,EAC7E,CAAG;AACD,SAAAH,EAAK,cAAc,aAAaD,CAAI,IAC7B,EAAE,GAAGD,GAAW,CAACC,CAAI,GAAGC,EAAM;AACvC,GAAG,CAAE,CAAA;","x_google_ignoreList":[0]}
|
package/dist/index.es30.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import { j as e } from "./index.es141.js";
|
2
|
-
import { clsx as d } from "./index.
|
2
|
+
import { clsx as d } from "./index.es143.js";
|
3
3
|
import './components/ui/CardDocument/CardDocument.css';/* empty css */
|
4
|
-
import { Divider as N } from "./index.
|
5
|
-
import { useIsDesktop as v } from "./index.
|
4
|
+
import { Divider as N } from "./index.es160.js";
|
5
|
+
import { useIsDesktop as v } from "./index.es181.js";
|
6
6
|
import { Loader as g } from "./index.es64.js";
|
7
7
|
import { Row as s } from "./index.es9.js";
|
8
8
|
import { Col as x } from "./index.es10.js";
|
package/dist/index.es300.js
CHANGED
@@ -1,8 +1,28 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
var p = function() {
|
2
|
+
return p = Object.assign || function(e) {
|
3
|
+
for (var n, r = 1, o = arguments.length; r < o; r++) {
|
4
|
+
n = arguments[r];
|
5
|
+
for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a]);
|
6
|
+
}
|
7
|
+
return e;
|
8
|
+
}, p.apply(this, arguments);
|
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));
|
22
|
+
}
|
5
23
|
export {
|
6
|
-
|
24
|
+
p as __assign,
|
25
|
+
c as __rest,
|
26
|
+
l as __spreadArray
|
7
27
|
};
|
8
28
|
//# sourceMappingURL=index.es300.js.map
|
package/dist/index.es300.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es300.js","sources":["../node_modules/react-remove-scroll/dist/es2015/sidecar.js"],"sourcesContent":["import { exportSidecar } from 'use-sidecar';\nimport { RemoveScrollSideCar } from './SideEffect';\nimport { effectCar } from './medium';\nexport default exportSidecar(effectCar, RemoveScrollSideCar);\n"],"names":["SideCar","exportSidecar","effectCar","RemoveScrollSideCar"],"mappings":";;;AAGA,MAAAA,IAAeC,EAAcC,GAAWC,CAAmB;","x_google_ignoreList":[0]}
|
1
|
+
{"version":3,"file":"index.es300.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]}
|
package/dist/index.es301.js
CHANGED
@@ -1,45 +1,32 @@
|
|
1
|
-
import
|
2
|
-
import
|
3
|
-
import {
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
1
|
+
import { __rest as k, __assign as r } from "./index.es300.js";
|
2
|
+
import * as a from "react";
|
3
|
+
import { fullWidthClassName as E, zeroRightClassName as I } from "./index.es304.js";
|
4
|
+
import { effectCar as Z } from "./index.es305.js";
|
5
|
+
import { useMergeRefs as W } from "./index.es306.js";
|
6
|
+
var l = function() {
|
7
|
+
}, m = a.forwardRef(function(e, d) {
|
8
|
+
var o = a.useRef(null), n = a.useState({
|
9
|
+
onScrollCapture: l,
|
10
|
+
onWheelCapture: l,
|
11
|
+
onTouchMoveCapture: l
|
12
|
+
}), f = n[0], h = n[1], u = e.forwardProps, t = e.children, v = e.className, C = e.removeScrollBar, g = e.enabled, P = e.shards, R = e.sideCar, S = e.noIsolation, b = e.inert, w = e.allowPinchZoom, s = e.as, N = s === void 0 ? "div" : s, M = e.gapMode, _ = k(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), B = R, i = W([o, d]), c = r(r({}, _), f);
|
13
|
+
return a.createElement(
|
14
|
+
a.Fragment,
|
15
|
+
null,
|
16
|
+
g && a.createElement(B, { sideCar: Z, removeScrollBar: C, shards: P, noIsolation: S, inert: b, setCallbacks: h, allowPinchZoom: !!w, lockRef: o, gapMode: M }),
|
17
|
+
u ? a.cloneElement(a.Children.only(t), r(r({}, c), { ref: i })) : a.createElement(N, r({}, c, { className: v, ref: i }), t)
|
18
|
+
);
|
11
19
|
});
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
}
|
21
|
-
f.displayName = "SlotClone";
|
22
|
-
var m = ({ children: r }) => /* @__PURE__ */ c.jsx(c.Fragment, { children: r });
|
23
|
-
function g(r) {
|
24
|
-
return l.isValidElement(r) && r.type === m;
|
25
|
-
}
|
26
|
-
function y(r, n) {
|
27
|
-
const e = { ...n };
|
28
|
-
for (const t in n) {
|
29
|
-
const o = r[t], i = n[t];
|
30
|
-
/^on[A-Z]/.test(t) ? o && i ? e[t] = (...a) => {
|
31
|
-
i(...a), o(...a);
|
32
|
-
} : o && (e[t] = o) : t === "style" ? e[t] = { ...o, ...i } : t === "className" && (e[t] = [o, i].filter(Boolean).join(" "));
|
33
|
-
}
|
34
|
-
return { ...r, ...e };
|
35
|
-
}
|
36
|
-
function h(r) {
|
37
|
-
var t, o;
|
38
|
-
let n = (t = Object.getOwnPropertyDescriptor(r.props, "ref")) == null ? void 0 : t.get, e = n && "isReactWarning" in n && n.isReactWarning;
|
39
|
-
return e ? r.ref : (n = (o = Object.getOwnPropertyDescriptor(r, "ref")) == null ? void 0 : o.get, e = n && "isReactWarning" in n && n.isReactWarning, e ? r.props.ref : r.props.ref || r.ref);
|
40
|
-
}
|
20
|
+
m.defaultProps = {
|
21
|
+
enabled: !0,
|
22
|
+
removeScrollBar: !0,
|
23
|
+
inert: !1
|
24
|
+
};
|
25
|
+
m.classNames = {
|
26
|
+
fullWidth: E,
|
27
|
+
zeroRight: I
|
28
|
+
};
|
41
29
|
export {
|
42
|
-
|
43
|
-
m as Slottable
|
30
|
+
m as RemoveScroll
|
44
31
|
};
|
45
32
|
//# sourceMappingURL=index.es301.js.map
|
package/dist/index.es301.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es301.js","sources":["../node_modules
|
1
|
+
{"version":3,"file":"index.es301.js","sources":["../node_modules/react-remove-scroll/dist/es2015/UI.js"],"sourcesContent":["import { __assign, __rest } from \"tslib\";\nimport * as React from 'react';\nimport { fullWidthClassName, zeroRightClassName } from 'react-remove-scroll-bar/constants';\nimport { useMergeRefs } from 'use-callback-ref';\nimport { effectCar } from './medium';\nvar nothing = function () {\n return;\n};\n/**\n * Removes scrollbar from the page and contain the scroll within the Lock\n */\nvar RemoveScroll = React.forwardRef(function (props, parentRef) {\n var ref = React.useRef(null);\n var _a = React.useState({\n onScrollCapture: nothing,\n onWheelCapture: nothing,\n onTouchMoveCapture: nothing,\n }), callbacks = _a[0], setCallbacks = _a[1];\n var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noIsolation = props.noIsolation, inert = props.inert, allowPinchZoom = props.allowPinchZoom, _b = props.as, Container = _b === void 0 ? 'div' : _b, gapMode = props.gapMode, rest = __rest(props, [\"forwardProps\", \"children\", \"className\", \"removeScrollBar\", \"enabled\", \"shards\", \"sideCar\", \"noIsolation\", \"inert\", \"allowPinchZoom\", \"as\", \"gapMode\"]);\n var SideCar = sideCar;\n var containerRef = useMergeRefs([ref, parentRef]);\n var containerProps = __assign(__assign({}, rest), callbacks);\n return (React.createElement(React.Fragment, null,\n enabled && (React.createElement(SideCar, { sideCar: effectCar, removeScrollBar: removeScrollBar, shards: shards, noIsolation: noIsolation, inert: inert, setCallbacks: setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref, gapMode: gapMode })),\n forwardProps ? (React.cloneElement(React.Children.only(children), __assign(__assign({}, containerProps), { ref: containerRef }))) : (React.createElement(Container, __assign({}, containerProps, { className: className, ref: containerRef }), children))));\n});\nRemoveScroll.defaultProps = {\n enabled: true,\n removeScrollBar: true,\n inert: false,\n};\nRemoveScroll.classNames = {\n fullWidth: fullWidthClassName,\n zeroRight: zeroRightClassName,\n};\nexport { RemoveScroll };\n"],"names":["nothing","RemoveScroll","React","props","parentRef","ref","_a","callbacks","setCallbacks","forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","_b","Container","gapMode","rest","__rest","SideCar","containerRef","useMergeRefs","containerProps","__assign","effectCar","fullWidthClassName","zeroRightClassName"],"mappings":";;;;;AAKA,IAAIA,IAAU,WAAY;AAE1B,GAIIC,IAAeC,EAAM,WAAW,SAAUC,GAAOC,GAAW;AAC5D,MAAIC,IAAMH,EAAM,OAAO,IAAI,GACvBI,IAAKJ,EAAM,SAAS;AAAA,IACpB,iBAAiBF;AAAA,IACjB,gBAAgBA;AAAA,IAChB,oBAAoBA;AAAA,EAC5B,CAAK,GAAGO,IAAYD,EAAG,CAAC,GAAGE,IAAeF,EAAG,CAAC,GACtCG,IAAeN,EAAM,cAAcO,IAAWP,EAAM,UAAUQ,IAAYR,EAAM,WAAWS,IAAkBT,EAAM,iBAAiBU,IAAUV,EAAM,SAASW,IAASX,EAAM,QAAQY,IAAUZ,EAAM,SAASa,IAAcb,EAAM,aAAac,IAAQd,EAAM,OAAOe,IAAiBf,EAAM,gBAAgBgB,IAAKhB,EAAM,IAAIiB,IAAYD,MAAO,SAAS,QAAQA,GAAIE,IAAUlB,EAAM,SAASmB,IAAOC,EAAOpB,GAAO,CAAC,gBAAgB,YAAY,aAAa,mBAAmB,WAAW,UAAU,WAAW,eAAe,SAAS,kBAAkB,MAAM,SAAS,CAAC,GACtiBqB,IAAUT,GACVU,IAAeC,EAAa,CAACrB,GAAKD,CAAS,CAAC,GAC5CuB,IAAiBC,EAASA,EAAS,CAAA,GAAIN,CAAI,GAAGf,CAAS;AAC3D,SAAQL,EAAM;AAAA,IAAcA,EAAM;AAAA,IAAU;AAAA,IACxCW,KAAYX,EAAM,cAAcsB,GAAS,EAAE,SAASK,GAAW,iBAAiBjB,GAAiB,QAAQE,GAAQ,aAAaE,GAAa,OAAOC,GAAO,cAAcT,GAAc,gBAAgB,CAAC,CAACU,GAAgB,SAASb,GAAK,SAASgB,EAAS,CAAA;AAAA,IACvPZ,IAAgBP,EAAM,aAAaA,EAAM,SAAS,KAAKQ,CAAQ,GAAGkB,EAASA,EAAS,CAAE,GAAED,CAAc,GAAG,EAAE,KAAKF,EAAY,CAAE,CAAC,IAAMvB,EAAM,cAAckB,GAAWQ,EAAS,CAAE,GAAED,GAAgB,EAAE,WAAWhB,GAAW,KAAKc,EAAc,CAAA,GAAGf,CAAQ;AAAA,EAAE;AACjQ,CAAC;AACDT,EAAa,eAAe;AAAA,EACxB,SAAS;AAAA,EACT,iBAAiB;AAAA,EACjB,OAAO;AACX;AACAA,EAAa,aAAa;AAAA,EACtB,WAAW6B;AAAA,EACX,WAAWC;AACf;","x_google_ignoreList":[0]}
|
package/dist/index.es302.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
|
1
|
+
import { RemoveScrollSideCar as r } from "./index.es307.js";
|
2
|
+
import { effectCar as o } from "./index.es305.js";
|
3
|
+
import { exportSidecar as e } from "./index.es308.js";
|
4
|
+
const f = e(o, r);
|
2
5
|
export {
|
3
|
-
|
4
|
-
l as noScrollbarsClassName,
|
5
|
-
e as removedBarSizeVariable,
|
6
|
-
r as zeroRightClassName
|
6
|
+
f as default
|
7
7
|
};
|
8
8
|
//# sourceMappingURL=index.es302.js.map
|
package/dist/index.es302.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es302.js","sources":["../node_modules/react-remove-scroll
|
1
|
+
{"version":3,"file":"index.es302.js","sources":["../node_modules/react-remove-scroll/dist/es2015/sidecar.js"],"sourcesContent":["import { exportSidecar } from 'use-sidecar';\nimport { RemoveScrollSideCar } from './SideEffect';\nimport { effectCar } from './medium';\nexport default exportSidecar(effectCar, RemoveScrollSideCar);\n"],"names":["SideCar","exportSidecar","effectCar","RemoveScrollSideCar"],"mappings":";;;AAGA,MAAAA,IAAeC,EAAcC,GAAWC,CAAmB;","x_google_ignoreList":[0]}
|
package/dist/index.es303.js
CHANGED
@@ -1,6 +1,45 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import * as l from "react";
|
2
|
+
import { composeRefs as u } from "./index.es250.js";
|
3
|
+
import { j as c } from "./index.es141.js";
|
4
|
+
var d = l.forwardRef((r, n) => {
|
5
|
+
const { children: e, ...t } = r, o = l.Children.toArray(e), i = o.find(g);
|
6
|
+
if (i) {
|
7
|
+
const s = i.props.children, a = o.map((p) => p === i ? l.Children.count(s) > 1 ? l.Children.only(null) : l.isValidElement(s) ? s.props.children : null : p);
|
8
|
+
return /* @__PURE__ */ c.jsx(f, { ...t, ref: n, children: l.isValidElement(s) ? l.cloneElement(s, void 0, a) : null });
|
9
|
+
}
|
10
|
+
return /* @__PURE__ */ c.jsx(f, { ...t, ref: n, children: e });
|
11
|
+
});
|
12
|
+
d.displayName = "Slot";
|
13
|
+
var f = l.forwardRef((r, n) => {
|
14
|
+
const { children: e, ...t } = r;
|
15
|
+
if (l.isValidElement(e)) {
|
16
|
+
const o = h(e), i = y(t, e.props);
|
17
|
+
return e.type !== l.Fragment && (i.ref = n ? u(n, o) : o), l.cloneElement(e, i);
|
18
|
+
}
|
19
|
+
return l.Children.count(e) > 1 ? l.Children.only(null) : null;
|
20
|
+
});
|
21
|
+
f.displayName = "SlotClone";
|
22
|
+
var m = ({ children: r }) => /* @__PURE__ */ c.jsx(c.Fragment, { children: r });
|
23
|
+
function g(r) {
|
24
|
+
return l.isValidElement(r) && r.type === m;
|
25
|
+
}
|
26
|
+
function y(r, n) {
|
27
|
+
const e = { ...n };
|
28
|
+
for (const t in n) {
|
29
|
+
const o = r[t], i = n[t];
|
30
|
+
/^on[A-Z]/.test(t) ? o && i ? e[t] = (...a) => {
|
31
|
+
i(...a), o(...a);
|
32
|
+
} : o && (e[t] = o) : t === "style" ? e[t] = { ...o, ...i } : t === "className" && (e[t] = [o, i].filter(Boolean).join(" "));
|
33
|
+
}
|
34
|
+
return { ...r, ...e };
|
35
|
+
}
|
36
|
+
function h(r) {
|
37
|
+
var t, o;
|
38
|
+
let n = (t = Object.getOwnPropertyDescriptor(r.props, "ref")) == null ? void 0 : t.get, e = n && "isReactWarning" in n && n.isReactWarning;
|
39
|
+
return e ? r.ref : (n = (o = Object.getOwnPropertyDescriptor(r, "ref")) == null ? void 0 : o.get, e = n && "isReactWarning" in n && n.isReactWarning, e ? r.props.ref : r.props.ref || r.ref);
|
40
|
+
}
|
3
41
|
export {
|
4
|
-
|
42
|
+
d as Slot,
|
43
|
+
m as Slottable
|
5
44
|
};
|
6
45
|
//# sourceMappingURL=index.es303.js.map
|
package/dist/index.es303.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es303.js","sources":["../node_modules/react-
|
1
|
+
{"version":3,"file":"index.es303.js","sources":["../node_modules/@radix-ui/react-switch/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\";\nvar Slot = 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});\nSlot.displayName = \"Slot\";\nvar 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});\nSlotClone.displayName = \"SlotClone\";\nvar Slottable = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n};\nfunction isSlottable(child) {\n return React.isValidElement(child) && child.type === Slottable;\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}\nvar Root = Slot;\nexport {\n Root,\n Slot,\n Slottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["Slot","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","SlotClone","childrenRef","getElementRef","props2","mergeProps","composeRefs","Slottable","Fragment2","childProps","overrideProps","propName","slotPropValue","childPropValue","args","element","getter","_a","mayWarn","_b"],"mappings":";;;AAIG,IAACA,IAAOC,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACnD,QAAM,EAAE,UAAAC,GAAU,GAAGC,EAAS,IAAKH,GAC7BI,IAAgBL,EAAM,SAAS,QAAQG,CAAQ,GAC/CG,IAAYD,EAAc,KAAKE,CAAW;AAChD,MAAID,GAAW;AACb,UAAME,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,WAAuBC,gBAAAA,EAAAA,IAAIC,GAAW,EAAE,GAAGR,GAAW,KAAKF,GAAc,UAAUF,EAAM,eAAeQ,CAAU,IAAIR,EAAM,aAAaQ,GAAY,QAAQC,CAAW,IAAI,MAAM;AAAA,EACtL;AACE,SAAuBE,gBAAAA,EAAAA,IAAIC,GAAW,EAAE,GAAGR,GAAW,KAAKF,GAAc,UAAAC,GAAU;AACrF,CAAC;AACDJ,EAAK,cAAc;AACnB,IAAIa,IAAYZ,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACxD,QAAM,EAAE,UAAAC,GAAU,GAAGC,EAAS,IAAKH;AACnC,MAAID,EAAM,eAAeG,CAAQ,GAAG;AAClC,UAAMU,IAAcC,EAAcX,CAAQ,GACpCY,IAASC,EAAWZ,GAAWD,EAAS,KAAK;AACnD,WAAIA,EAAS,SAASH,EAAM,aAC1Be,EAAO,MAAMb,IAAee,EAAYf,GAAcW,CAAW,IAAIA,IAEhEb,EAAM,aAAaG,GAAUY,CAAM;AAAA,EAC9C;AACE,SAAOf,EAAM,SAAS,MAAMG,CAAQ,IAAI,IAAIH,EAAM,SAAS,KAAK,IAAI,IAAI;AAC1E,CAAC;AACDY,EAAU,cAAc;AACrB,IAACM,IAAY,CAAC,EAAE,UAAAf,QACMQ,gBAAAA,MAAIQ,EAAAA,UAAW,EAAE,UAAAhB,GAAU;AAEpD,SAASI,EAAYG,GAAO;AAC1B,SAAOV,EAAM,eAAeU,CAAK,KAAKA,EAAM,SAASQ;AACvD;AACA,SAASF,EAAWZ,GAAWgB,GAAY;AACzC,QAAMC,IAAgB,EAAE,GAAGD,EAAY;AACvC,aAAWE,KAAYF,GAAY;AACjC,UAAMG,IAAgBnB,EAAUkB,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,GAAGpB,GAAW,GAAGiB,EAAe;AAC3C;AACA,SAASP,EAAcY,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.es304.js
CHANGED
@@ -1,27 +1,8 @@
|
|
1
|
-
|
2
|
-
import { assignRef as o } from "./index.es315.js";
|
3
|
-
import { useCallbackRef as l } from "./index.es316.js";
|
4
|
-
var s = typeof window < "u" ? f.useLayoutEffect : f.useEffect, c = /* @__PURE__ */ new WeakMap();
|
5
|
-
function v(e, m) {
|
6
|
-
var t = l(null, function(n) {
|
7
|
-
return e.forEach(function(u) {
|
8
|
-
return o(u, n);
|
9
|
-
});
|
10
|
-
});
|
11
|
-
return s(function() {
|
12
|
-
var n = c.get(t);
|
13
|
-
if (n) {
|
14
|
-
var u = new Set(n), r = new Set(e), i = t.current;
|
15
|
-
u.forEach(function(a) {
|
16
|
-
r.has(a) || o(a, null);
|
17
|
-
}), r.forEach(function(a) {
|
18
|
-
u.has(a) || o(a, i);
|
19
|
-
});
|
20
|
-
}
|
21
|
-
c.set(t, e);
|
22
|
-
}, [e]), t;
|
23
|
-
}
|
1
|
+
var r = "right-scroll-bar-position", a = "width-before-scroll-bar", l = "with-scroll-bars-hidden", e = "--removed-body-scroll-bar-size";
|
24
2
|
export {
|
25
|
-
|
3
|
+
a as fullWidthClassName,
|
4
|
+
l as noScrollbarsClassName,
|
5
|
+
e as removedBarSizeVariable,
|
6
|
+
r as zeroRightClassName
|
26
7
|
};
|
27
8
|
//# sourceMappingURL=index.es304.js.map
|
package/dist/index.es304.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es304.js","sources":["../node_modules/
|
1
|
+
{"version":3,"file":"index.es304.js","sources":["../node_modules/react-remove-scroll-bar/dist/es2015/constants.js"],"sourcesContent":["export var zeroRightClassName = 'right-scroll-bar-position';\nexport var fullWidthClassName = 'width-before-scroll-bar';\nexport var noScrollbarsClassName = 'with-scroll-bars-hidden';\n/**\n * Name of a CSS variable containing the amount of \"hidden\" scrollbar\n * ! might be undefined ! use will fallback!\n */\nexport var removedBarSizeVariable = '--removed-body-scroll-bar-size';\n"],"names":["zeroRightClassName","fullWidthClassName","noScrollbarsClassName","removedBarSizeVariable"],"mappings":"AAAU,IAACA,IAAqB,6BACrBC,IAAqB,2BACrBC,IAAwB,2BAKxBC,IAAyB;","x_google_ignoreList":[0]}
|
package/dist/index.es305.js
CHANGED
@@ -1,113 +1,6 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
import { RemoveScrollBar as A } from "./index.es311.js";
|
4
|
-
import { styleSingleton as I } from "./index.es312.js";
|
5
|
-
import { nonPassive as s } from "./index.es313.js";
|
6
|
-
import { locationCouldBeScrolled as T, handleScroll as W } from "./index.es314.js";
|
7
|
-
var b = function(t) {
|
8
|
-
return "changedTouches" in t ? [t.changedTouches[0].clientX, t.changedTouches[0].clientY] : [0, 0];
|
9
|
-
}, Y = function(t) {
|
10
|
-
return [t.deltaX, t.deltaY];
|
11
|
-
}, B = function(t) {
|
12
|
-
return t && "current" in t ? t.current : t;
|
13
|
-
}, p = function(t, c) {
|
14
|
-
return t[0] === c[0] && t[1] === c[1];
|
15
|
-
}, F = function(t) {
|
16
|
-
return `
|
17
|
-
.block-interactivity-`.concat(t, ` {pointer-events: none;}
|
18
|
-
.allow-interactivity-`).concat(t, ` {pointer-events: all;}
|
19
|
-
`);
|
20
|
-
}, K = 0, f = [];
|
21
|
-
function z(t) {
|
22
|
-
var c = n.useRef([]), E = n.useRef([0, 0]), d = n.useRef(), h = n.useState(K++)[0], m = n.useState(I)[0], g = n.useRef(t);
|
23
|
-
n.useEffect(function() {
|
24
|
-
g.current = t;
|
25
|
-
}, [t]), n.useEffect(function() {
|
26
|
-
if (t.inert) {
|
27
|
-
document.body.classList.add("block-interactivity-".concat(h));
|
28
|
-
var e = x([t.lockRef.current], (t.shards || []).map(B), !0).filter(Boolean);
|
29
|
-
return e.forEach(function(r) {
|
30
|
-
return r.classList.add("allow-interactivity-".concat(h));
|
31
|
-
}), function() {
|
32
|
-
document.body.classList.remove("block-interactivity-".concat(h)), e.forEach(function(r) {
|
33
|
-
return r.classList.remove("allow-interactivity-".concat(h));
|
34
|
-
});
|
35
|
-
};
|
36
|
-
}
|
37
|
-
}, [t.inert, t.lockRef.current, t.shards]);
|
38
|
-
var k = n.useCallback(function(e, r) {
|
39
|
-
if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey)
|
40
|
-
return !g.current.allowPinchZoom;
|
41
|
-
var l = b(e), o = E.current, u = "deltaX" in e ? e.deltaX : o[0] - l[0], i = "deltaY" in e ? e.deltaY : o[1] - l[1], a, C = e.target, v = Math.abs(u) > Math.abs(i) ? "h" : "v";
|
42
|
-
if ("touches" in e && v === "h" && C.type === "range")
|
43
|
-
return !1;
|
44
|
-
var y = T(v, C);
|
45
|
-
if (!y)
|
46
|
-
return !0;
|
47
|
-
if (y ? a = v : (a = v === "v" ? "h" : "v", y = T(v, C)), !y)
|
48
|
-
return !1;
|
49
|
-
if (!d.current && "changedTouches" in e && (u || i) && (d.current = a), !a)
|
50
|
-
return !0;
|
51
|
-
var P = d.current || a;
|
52
|
-
return W(P, r, e, P === "h" ? u : i);
|
53
|
-
}, []), S = n.useCallback(function(e) {
|
54
|
-
var r = e;
|
55
|
-
if (!(!f.length || f[f.length - 1] !== m)) {
|
56
|
-
var l = "deltaY" in r ? Y(r) : b(r), o = c.current.filter(function(a) {
|
57
|
-
return a.name === r.type && (a.target === r.target || r.target === a.shadowParent) && p(a.delta, l);
|
58
|
-
})[0];
|
59
|
-
if (o && o.should) {
|
60
|
-
r.cancelable && r.preventDefault();
|
61
|
-
return;
|
62
|
-
}
|
63
|
-
if (!o) {
|
64
|
-
var u = (g.current.shards || []).map(B).filter(Boolean).filter(function(a) {
|
65
|
-
return a.contains(r.target);
|
66
|
-
}), i = u.length > 0 ? k(r, u[0]) : !g.current.noIsolation;
|
67
|
-
i && r.cancelable && r.preventDefault();
|
68
|
-
}
|
69
|
-
}
|
70
|
-
}, []), R = n.useCallback(function(e, r, l, o) {
|
71
|
-
var u = { name: e, delta: r, target: l, should: o, shadowParent: O(l) };
|
72
|
-
c.current.push(u), setTimeout(function() {
|
73
|
-
c.current = c.current.filter(function(i) {
|
74
|
-
return i !== u;
|
75
|
-
});
|
76
|
-
}, 1);
|
77
|
-
}, []), w = n.useCallback(function(e) {
|
78
|
-
E.current = b(e), d.current = void 0;
|
79
|
-
}, []), L = n.useCallback(function(e) {
|
80
|
-
R(e.type, Y(e), e.target, k(e, t.lockRef.current));
|
81
|
-
}, []), M = n.useCallback(function(e) {
|
82
|
-
R(e.type, b(e), e.target, k(e, t.lockRef.current));
|
83
|
-
}, []);
|
84
|
-
n.useEffect(function() {
|
85
|
-
return f.push(m), t.setCallbacks({
|
86
|
-
onScrollCapture: L,
|
87
|
-
onWheelCapture: L,
|
88
|
-
onTouchMoveCapture: M
|
89
|
-
}), document.addEventListener("wheel", S, s), document.addEventListener("touchmove", S, s), document.addEventListener("touchstart", w, s), function() {
|
90
|
-
f = f.filter(function(e) {
|
91
|
-
return e !== m;
|
92
|
-
}), document.removeEventListener("wheel", S, s), document.removeEventListener("touchmove", S, s), document.removeEventListener("touchstart", w, s);
|
93
|
-
};
|
94
|
-
}, []);
|
95
|
-
var X = t.removeScrollBar, D = t.inert;
|
96
|
-
return n.createElement(
|
97
|
-
n.Fragment,
|
98
|
-
null,
|
99
|
-
D ? n.createElement(m, { styles: F(h) }) : null,
|
100
|
-
X ? n.createElement(A, { gapMode: t.gapMode }) : null
|
101
|
-
);
|
102
|
-
}
|
103
|
-
function O(t) {
|
104
|
-
for (var c = null; t !== null; )
|
105
|
-
t instanceof ShadowRoot && (c = t.host, t = t.host), t = t.parentNode;
|
106
|
-
return c;
|
107
|
-
}
|
1
|
+
import { createSidecarMedium as e } from "./index.es316.js";
|
2
|
+
var a = e();
|
108
3
|
export {
|
109
|
-
|
110
|
-
Y as getDeltaXY,
|
111
|
-
b as getTouchXY
|
4
|
+
a as effectCar
|
112
5
|
};
|
113
6
|
//# sourceMappingURL=index.es305.js.map
|