@anoki/fse-ui 1.0.0-beta1.46 → 1.0.0-beta1.47
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.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.cjs160.js +1 -1
- package/dist/index.cjs161.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.cjs169.js +1 -1
- package/dist/index.cjs170.js +1 -1
- package/dist/index.cjs171.js +1 -1
- package/dist/index.cjs172.js +1 -1
- package/dist/index.cjs173.js +1 -1
- package/dist/index.cjs174.js +1 -1
- package/dist/index.cjs175.js +1 -1
- package/dist/index.cjs176.js +1 -1
- package/dist/index.cjs180.js +1 -1
- package/dist/index.cjs181.js +1 -1
- package/dist/index.cjs182.js +1 -1
- package/dist/index.cjs184.js +1 -1
- package/dist/index.cjs185.js +1 -1
- package/dist/index.cjs186.js +1 -1
- package/dist/index.cjs187.js +1 -1
- package/dist/index.cjs188.js +1 -1
- package/dist/index.cjs189.js +1 -1
- package/dist/index.cjs190.js +1 -1
- package/dist/index.cjs191.js +1 -1
- package/dist/index.cjs192.js +1 -1
- package/dist/index.cjs194.js +1 -1
- package/dist/index.cjs195.js +1 -1
- package/dist/index.cjs196.js +1 -1
- package/dist/index.cjs197.js +1 -1
- package/dist/index.cjs198.js +1 -1
- package/dist/index.cjs199.js +1 -1
- package/dist/index.cjs200.js +1 -1
- package/dist/index.cjs203.js +1 -1
- package/dist/index.cjs204.js +1 -1
- package/dist/index.cjs205.js +1 -1
- package/dist/index.cjs206.js +1 -1
- package/dist/index.cjs207.js +1 -1
- package/dist/index.cjs208.js +1 -1
- package/dist/index.cjs209.js +1 -1
- package/dist/index.cjs210.js +1 -1
- package/dist/index.cjs216.js +1 -1
- package/dist/index.cjs218.js +1 -1
- package/dist/index.cjs219.js +1 -1
- package/dist/index.cjs22.js +1 -1
- package/dist/index.cjs222.js +1 -1
- package/dist/index.cjs222.js.map +1 -1
- package/dist/index.cjs224.js +2 -0
- package/dist/index.cjs224.js.map +1 -0
- package/dist/index.cjs232.js +1 -1
- package/dist/index.cjs241.js +1 -1
- package/dist/index.cjs244.js +1 -1
- package/dist/index.cjs254.js +1 -1
- package/dist/index.cjs26.js +1 -1
- package/dist/index.cjs265.js +1 -1
- package/dist/index.cjs270.js +1 -1
- package/dist/index.cjs272.js +1 -1
- package/dist/index.cjs279.js +1 -1
- package/dist/index.cjs280.js +1 -1
- package/dist/index.cjs284.js +1 -1
- package/dist/index.cjs293.js +1 -1
- package/dist/index.cjs295.js +1 -1
- package/dist/index.cjs301.js +1 -1
- package/dist/index.cjs302.js +1 -1
- package/dist/index.cjs303.js +1 -1
- package/dist/index.cjs345.js +1 -1
- package/dist/index.cjs351.js +1 -1
- package/dist/index.cjs379.js +1 -1
- package/dist/index.cjs380.js +1 -1
- package/dist/index.cjs381.js +1 -1
- package/dist/index.cjs391.js +1 -1
- package/dist/index.cjs4.js +1 -1
- package/dist/index.cjs420.js +1 -1
- package/dist/index.cjs438.js +2 -0
- package/dist/index.cjs438.js.map +1 -0
- package/dist/index.cjs439.js +2 -0
- package/dist/index.cjs439.js.map +1 -0
- package/dist/index.cjs440.js +1 -1
- package/dist/index.cjs440.js.map +1 -1
- package/dist/index.cjs441.js +1 -1
- package/dist/index.cjs441.js.map +1 -1
- package/dist/index.cjs442.js +1 -1
- package/dist/index.cjs442.js.map +1 -1
- package/dist/index.cjs443.js +1 -1
- package/dist/index.cjs443.js.map +1 -1
- package/dist/index.cjs444.js +1 -1
- package/dist/index.cjs444.js.map +1 -1
- package/dist/index.cjs445.js +1 -1
- package/dist/index.cjs445.js.map +1 -1
- package/dist/index.cjs446.js +1 -1
- package/dist/index.cjs446.js.map +1 -1
- package/dist/index.cjs447.js +1 -1
- package/dist/index.cjs447.js.map +1 -1
- package/dist/index.cjs448.js +1 -1
- package/dist/index.cjs448.js.map +1 -1
- package/dist/index.cjs449.js +1 -1
- package/dist/index.cjs449.js.map +1 -1
- package/dist/index.cjs450.js +1 -1
- package/dist/index.cjs450.js.map +1 -1
- package/dist/index.cjs451.js +1 -1
- package/dist/index.cjs451.js.map +1 -1
- package/dist/index.cjs452.js +1 -1
- package/dist/index.cjs452.js.map +1 -1
- package/dist/index.cjs453.js +1 -1
- package/dist/index.cjs453.js.map +1 -1
- package/dist/index.cjs454.js +1 -1
- package/dist/index.cjs454.js.map +1 -1
- package/dist/index.cjs455.js +1 -1
- package/dist/index.cjs455.js.map +1 -1
- package/dist/index.cjs456.js +1 -1
- package/dist/index.cjs456.js.map +1 -1
- package/dist/index.cjs457.js +1 -1
- package/dist/index.cjs457.js.map +1 -1
- package/dist/index.cjs458.js +1 -1
- package/dist/index.cjs458.js.map +1 -1
- package/dist/index.cjs459.js +1 -1
- package/dist/index.cjs459.js.map +1 -1
- package/dist/index.cjs460.js +1 -1
- package/dist/index.cjs460.js.map +1 -1
- package/dist/index.cjs461.js +1 -1
- package/dist/index.cjs461.js.map +1 -1
- package/dist/index.cjs462.js +1 -1
- package/dist/index.cjs462.js.map +1 -1
- package/dist/index.cjs463.js +1 -1
- package/dist/index.cjs463.js.map +1 -1
- package/dist/index.cjs464.js +1 -1
- package/dist/index.cjs464.js.map +1 -1
- package/dist/index.cjs465.js +1 -1
- package/dist/index.cjs465.js.map +1 -1
- package/dist/index.cjs466.js +1 -1
- package/dist/index.cjs466.js.map +1 -1
- package/dist/index.cjs467.js +1 -1
- package/dist/index.cjs467.js.map +1 -1
- package/dist/index.cjs469.js +1 -1
- package/dist/index.cjs469.js.map +1 -1
- package/dist/index.cjs470.js +1 -1
- package/dist/index.cjs470.js.map +1 -1
- package/dist/{index.cjs482.js → index.cjs471.js} +2 -2
- package/dist/{index.cjs482.js.map → index.cjs471.js.map} +1 -1
- package/dist/{index.cjs483.js → index.cjs472.js} +2 -2
- package/dist/{index.cjs483.js.map → index.cjs472.js.map} +1 -1
- package/dist/index.cjs473.js +2 -0
- package/dist/index.cjs473.js.map +1 -0
- package/dist/index.cjs474.js +2 -0
- package/dist/index.cjs474.js.map +1 -0
- package/dist/index.cjs475.js +2 -0
- package/dist/index.cjs475.js.map +1 -0
- package/dist/index.cjs479.js +2 -0
- package/dist/index.cjs479.js.map +1 -0
- package/dist/index.cjs486.js +2 -0
- package/dist/index.cjs486.js.map +1 -0
- package/dist/index.cjs487.js +1 -1
- package/dist/index.cjs487.js.map +1 -1
- package/dist/index.cjs488.js +1 -1
- package/dist/index.cjs488.js.map +1 -1
- package/dist/index.cjs489.js +4 -1
- package/dist/index.cjs489.js.map +1 -1
- package/dist/{index.cjs497.js → index.cjs490.js} +2 -2
- package/dist/{index.cjs497.js.map → index.cjs490.js.map} +1 -1
- package/dist/index.cjs493.js +1 -1
- package/dist/index.cjs493.js.map +1 -1
- package/dist/index.cjs494.js +1 -1
- package/dist/index.cjs494.js.map +1 -1
- package/dist/index.cjs495.js +1 -1
- package/dist/index.cjs495.js.map +1 -1
- package/dist/index.cjs5.js +1 -1
- package/dist/index.cjs502.js +39 -0
- package/dist/index.cjs502.js.map +1 -0
- package/dist/index.cjs503.js +1 -1
- package/dist/index.cjs503.js.map +1 -1
- package/dist/index.cjs504.js +1 -38
- package/dist/index.cjs504.js.map +1 -1
- package/dist/index.cjs505.js +1 -1
- package/dist/index.cjs505.js.map +1 -1
- package/dist/index.cjs506.js +1 -1
- package/dist/index.cjs506.js.map +1 -1
- package/dist/index.cjs507.js +1 -1
- package/dist/index.cjs507.js.map +1 -1
- package/dist/index.cjs508.js +1 -1
- package/dist/index.cjs508.js.map +1 -1
- package/dist/index.cjs510.js +1 -1
- package/dist/index.cjs510.js.map +1 -1
- package/dist/index.cjs511.js +1 -1
- package/dist/index.cjs511.js.map +1 -1
- package/dist/index.cjs512.js +1 -1
- package/dist/index.cjs512.js.map +1 -1
- package/dist/index.cjs513.js +1 -1
- package/dist/index.cjs513.js.map +1 -1
- package/dist/index.cjs514.js +1 -1
- package/dist/index.cjs515.js +1 -1
- package/dist/index.cjs517.js +1 -1
- package/dist/index.cjs518.js +1 -1
- package/dist/index.cjs520.js +1 -1
- package/dist/index.cjs521.js +1 -1
- package/dist/index.cjs523.js +1 -1
- package/dist/index.cjs524.js +1 -1
- package/dist/index.cjs525.js +1 -1
- package/dist/index.cjs526.js +1 -1
- package/dist/index.cjs529.js +1 -1
- package/dist/index.cjs532.js +1 -1
- package/dist/index.cjs537.js +1 -1
- package/dist/index.cjs539.js +1 -1
- package/dist/index.cjs540.js +6 -0
- package/dist/index.cjs540.js.map +1 -0
- package/dist/index.cjs541.js +1 -1
- package/dist/index.cjs541.js.map +1 -1
- package/dist/index.cjs542.js +1 -1
- package/dist/index.cjs542.js.map +1 -1
- package/dist/index.cjs543.js +2 -0
- package/dist/index.cjs543.js.map +1 -0
- package/dist/index.cjs544.js +1 -5
- package/dist/index.cjs544.js.map +1 -1
- package/dist/index.cjs545.js +1 -1
- package/dist/index.cjs545.js.map +1 -1
- package/dist/index.cjs546.js +1 -1
- package/dist/index.cjs546.js.map +1 -1
- package/dist/index.cjs547.js +1 -1
- package/dist/index.cjs547.js.map +1 -1
- package/dist/index.cjs548.js +1 -1
- package/dist/index.cjs548.js.map +1 -1
- package/dist/index.cjs549.js +1 -1
- package/dist/index.cjs549.js.map +1 -1
- package/dist/index.cjs550.js +1 -1
- package/dist/index.cjs550.js.map +1 -1
- package/dist/index.cjs551.js +1 -1
- package/dist/index.cjs551.js.map +1 -1
- package/dist/index.cjs552.js +1 -1
- package/dist/index.cjs552.js.map +1 -1
- package/dist/index.cjs553.js +1 -1
- package/dist/index.cjs553.js.map +1 -1
- package/dist/index.cjs554.js +1 -1
- package/dist/index.cjs554.js.map +1 -1
- package/dist/index.cjs555.js +1 -1
- package/dist/index.cjs555.js.map +1 -1
- package/dist/index.cjs556.js +1 -1
- package/dist/index.cjs556.js.map +1 -1
- package/dist/index.cjs557.js +2 -0
- package/dist/index.cjs557.js.map +1 -0
- package/dist/index.cjs6.js +1 -1
- package/dist/index.cjs62.js +1 -1
- package/dist/index.cjs65.js +1 -1
- package/dist/index.cjs65.js.map +1 -1
- package/dist/index.cjs7.js +1 -1
- package/dist/index.cjs8.js +1 -1
- package/dist/index.es154.js +1 -1
- package/dist/index.es155.js +1 -1
- package/dist/index.es156.js +1 -1
- package/dist/index.es157.js +1 -1
- package/dist/index.es158.js +1 -1
- package/dist/index.es159.js +1 -1
- package/dist/index.es160.js +1 -1
- package/dist/index.es161.js +1 -1
- package/dist/index.es162.js +1 -1
- package/dist/index.es163.js +1 -1
- package/dist/index.es164.js +1 -1
- package/dist/index.es165.js +1 -1
- package/dist/index.es166.js +1 -1
- package/dist/index.es167.js +1 -1
- package/dist/index.es168.js +1 -1
- package/dist/index.es169.js +1 -1
- package/dist/index.es170.js +1 -1
- package/dist/index.es171.js +1 -1
- package/dist/index.es172.js +1 -1
- package/dist/index.es173.js +1 -1
- package/dist/index.es174.js +1 -1
- package/dist/index.es175.js +1 -1
- package/dist/index.es176.js +1 -1
- package/dist/index.es180.js +1 -1
- package/dist/index.es181.js +1 -1
- package/dist/index.es182.js +1 -1
- package/dist/index.es184.js +1 -1
- package/dist/index.es185.js +1 -1
- package/dist/index.es186.js +1 -1
- package/dist/index.es187.js +1 -1
- package/dist/index.es188.js +1 -1
- package/dist/index.es189.js +1 -1
- package/dist/index.es190.js +1 -1
- package/dist/index.es191.js +1 -1
- package/dist/index.es192.js +1 -1
- package/dist/index.es194.js +1 -1
- package/dist/index.es195.js +1 -1
- package/dist/index.es196.js +1 -1
- package/dist/index.es197.js +1 -1
- package/dist/index.es198.js +1 -1
- package/dist/index.es199.js +1 -1
- package/dist/index.es200.js +1 -1
- package/dist/index.es203.js +1 -1
- package/dist/index.es204.js +1 -1
- package/dist/index.es205.js +1 -1
- package/dist/index.es206.js +1 -1
- package/dist/index.es207.js +1 -1
- package/dist/index.es208.js +1 -1
- package/dist/index.es209.js +1 -1
- package/dist/index.es210.js +1 -1
- package/dist/index.es216.js +1 -1
- package/dist/index.es218.js +1 -1
- package/dist/index.es219.js +1 -1
- package/dist/index.es22.js +1 -1
- package/dist/index.es222.js +27 -2
- package/dist/index.es222.js.map +1 -1
- package/dist/index.es224.js +5 -0
- package/dist/index.es224.js.map +1 -0
- package/dist/index.es232.js +1 -1
- package/dist/index.es241.js +7 -7
- package/dist/index.es244.js +1 -1
- package/dist/index.es254.js +8 -8
- package/dist/index.es26.js +1 -1
- package/dist/index.es265.js +1 -1
- package/dist/index.es270.js +1 -1
- package/dist/index.es272.js +14 -14
- package/dist/index.es279.js +1 -1
- package/dist/index.es280.js +1 -1
- package/dist/index.es284.js +1 -1
- package/dist/index.es293.js +1 -1
- package/dist/index.es295.js +1 -1
- package/dist/index.es301.js +1 -1
- package/dist/index.es302.js +1 -1
- package/dist/index.es303.js +7 -7
- package/dist/index.es345.js +4 -4
- package/dist/index.es351.js +1 -1
- package/dist/index.es379.js +3 -3
- package/dist/index.es380.js +2 -2
- package/dist/index.es381.js +3 -3
- package/dist/index.es391.js +1 -1
- package/dist/index.es4.js +1 -1
- package/dist/index.es420.js +3 -3
- package/dist/index.es438.js +2037 -0
- package/dist/index.es438.js.map +1 -0
- package/dist/index.es439.js +63 -0
- package/dist/index.es439.js.map +1 -0
- package/dist/index.es440.js +175 -2019
- package/dist/index.es440.js.map +1 -1
- package/dist/index.es441.js +9 -59
- package/dist/index.es441.js.map +1 -1
- package/dist/index.es442.js +173 -179
- package/dist/index.es442.js.map +1 -1
- package/dist/index.es443.js +3 -14
- package/dist/index.es443.js.map +1 -1
- package/dist/index.es444.js +132 -6
- package/dist/index.es444.js.map +1 -1
- package/dist/index.es445.js +5 -25
- package/dist/index.es445.js.map +1 -1
- package/dist/index.es446.js +23 -64
- package/dist/index.es446.js.map +1 -1
- package/dist/index.es447.js +64 -48
- package/dist/index.es447.js.map +1 -1
- package/dist/index.es448.js +51 -33
- package/dist/index.es448.js.map +1 -1
- package/dist/index.es449.js +32 -620
- package/dist/index.es449.js.map +1 -1
- package/dist/index.es450.js +621 -10
- package/dist/index.es450.js.map +1 -1
- package/dist/index.es451.js +10 -5
- package/dist/index.es451.js.map +1 -1
- package/dist/index.es452.js +5 -24
- package/dist/index.es452.js.map +1 -1
- package/dist/index.es453.js +23 -67
- package/dist/index.es453.js.map +1 -1
- package/dist/index.es454.js +67 -8
- package/dist/index.es454.js.map +1 -1
- package/dist/index.es455.js +4 -184
- package/dist/index.es455.js.map +1 -1
- package/dist/index.es456.js +56 -3
- package/dist/index.es456.js.map +1 -1
- package/dist/index.es457.js +43 -130
- package/dist/index.es457.js.map +1 -1
- package/dist/index.es458.js +13 -3
- package/dist/index.es458.js.map +1 -1
- package/dist/index.es459.js +120 -52
- package/dist/index.es459.js.map +1 -1
- package/dist/index.es460.js +14 -45
- package/dist/index.es460.js.map +1 -1
- package/dist/index.es461.js +134 -13
- package/dist/index.es461.js.map +1 -1
- package/dist/index.es462.js +207 -113
- package/dist/index.es462.js.map +1 -1
- package/dist/index.es463.js +13 -14
- package/dist/index.es463.js.map +1 -1
- package/dist/index.es464.js +173 -127
- package/dist/index.es464.js.map +1 -1
- package/dist/index.es465.js +10 -218
- package/dist/index.es465.js.map +1 -1
- package/dist/index.es466.js +50 -14
- package/dist/index.es466.js.map +1 -1
- package/dist/index.es467.js +9 -181
- package/dist/index.es467.js.map +1 -1
- package/dist/index.es469.js +12 -50
- package/dist/index.es469.js.map +1 -1
- package/dist/index.es470.js +205 -8
- package/dist/index.es470.js.map +1 -1
- package/dist/{index.es482.js → index.es471.js} +2 -2
- package/dist/{index.es482.js.map → index.es471.js.map} +1 -1
- package/dist/{index.es483.js → index.es472.js} +4 -4
- package/dist/{index.es483.js.map → index.es472.js.map} +1 -1
- package/dist/index.es473.js +28 -0
- package/dist/index.es473.js.map +1 -0
- package/dist/index.es474.js +32 -0
- package/dist/index.es474.js.map +1 -0
- package/dist/index.es475.js +8 -0
- package/dist/index.es475.js.map +1 -0
- package/dist/index.es479.js +18 -0
- package/dist/index.es479.js.map +1 -0
- package/dist/index.es486.js +8 -0
- package/dist/index.es486.js.map +1 -0
- package/dist/index.es487.js +3 -25
- package/dist/index.es487.js.map +1 -1
- package/dist/index.es488.js +24 -29
- package/dist/index.es488.js.map +1 -1
- package/dist/index.es489.js +110 -5
- package/dist/index.es489.js.map +1 -1
- package/dist/{index.es497.js → index.es490.js} +2 -2
- package/dist/{index.es497.js.map → index.es490.js.map} +1 -1
- package/dist/index.es493.js +525 -5
- package/dist/index.es493.js.map +1 -1
- package/dist/index.es494.js +128 -3
- package/dist/index.es494.js.map +1 -1
- package/dist/index.es495.js +132 -22
- package/dist/index.es495.js.map +1 -1
- package/dist/index.es5.js +1 -1
- package/dist/index.es502.js +72 -0
- package/dist/index.es502.js.map +1 -0
- package/dist/index.es503.js +8 -64
- package/dist/index.es503.js.map +1 -1
- package/dist/index.es504.js +13 -68
- package/dist/index.es504.js.map +1 -1
- package/dist/index.es505.js +65 -8
- package/dist/index.es505.js.map +1 -1
- package/dist/index.es506.js +64 -13
- package/dist/index.es506.js.map +1 -1
- package/dist/index.es507.js +4 -66
- package/dist/index.es507.js.map +1 -1
- package/dist/index.es508.js +22 -3
- package/dist/index.es508.js.map +1 -1
- package/dist/index.es510.js +21 -11
- package/dist/index.es510.js.map +1 -1
- package/dist/index.es511.js +11 -26
- package/dist/index.es511.js.map +1 -1
- package/dist/index.es512.js +27 -4
- package/dist/index.es512.js.map +1 -1
- package/dist/index.es513.js +4 -22
- package/dist/index.es513.js.map +1 -1
- package/dist/index.es514.js +1 -1
- package/dist/index.es515.js +3 -3
- package/dist/index.es517.js +1 -1
- package/dist/index.es518.js +3 -3
- package/dist/index.es520.js +1 -1
- package/dist/index.es521.js +2 -2
- package/dist/index.es523.js +3 -3
- package/dist/index.es524.js +2 -2
- package/dist/index.es525.js +15 -15
- package/dist/index.es526.js +2 -2
- package/dist/index.es529.js +3 -3
- package/dist/index.es532.js +9 -9
- package/dist/index.es537.js +8 -8
- package/dist/index.es539.js +1 -1
- package/dist/index.es540.js +43 -0
- package/dist/index.es540.js.map +1 -0
- package/dist/index.es541.js +2 -74
- package/dist/index.es541.js.map +1 -1
- package/dist/index.es542.js +5 -2
- package/dist/index.es542.js.map +1 -1
- package/dist/index.es543.js +5 -0
- package/dist/index.es543.js.map +1 -0
- package/dist/index.es544.js +2 -40
- package/dist/index.es544.js.map +1 -1
- package/dist/index.es545.js +2 -2
- package/dist/index.es545.js.map +1 -1
- package/dist/index.es546.js +6 -5
- package/dist/index.es546.js.map +1 -1
- package/dist/index.es547.js +16 -6
- package/dist/index.es547.js.map +1 -1
- package/dist/index.es548.js +2 -16
- package/dist/index.es548.js.map +1 -1
- package/dist/index.es549.js +2 -2
- package/dist/index.es549.js.map +1 -1
- package/dist/index.es550.js +3 -2
- package/dist/index.es550.js.map +1 -1
- package/dist/index.es551.js +2 -2
- package/dist/index.es551.js.map +1 -1
- package/dist/index.es552.js +4 -2
- package/dist/index.es552.js.map +1 -1
- package/dist/index.es553.js +4 -2
- package/dist/index.es553.js.map +1 -1
- package/dist/index.es554.js +3 -3
- package/dist/index.es554.js.map +1 -1
- package/dist/index.es555.js +2 -2
- package/dist/index.es555.js.map +1 -1
- package/dist/index.es556.js +73 -3
- package/dist/index.es556.js.map +1 -1
- package/dist/index.es557.js +5 -0
- package/dist/index.es557.js.map +1 -0
- package/dist/index.es6.js +1 -1
- package/dist/index.es62.js +1 -1
- package/dist/index.es65.js +41 -50
- package/dist/index.es65.js.map +1 -1
- package/dist/index.es7.js +2 -2
- package/dist/index.es8.js +2 -2
- package/package.json +1 -1
- package/dist/index.cjs223.js +0 -2
- package/dist/index.cjs223.js.map +0 -1
- package/dist/index.cjs468.js +0 -2
- package/dist/index.cjs468.js.map +0 -1
- package/dist/index.cjs480.js +0 -2
- package/dist/index.cjs480.js.map +0 -1
- package/dist/index.cjs481.js +0 -2
- package/dist/index.cjs481.js.map +0 -1
- package/dist/index.cjs496.js +0 -5
- package/dist/index.cjs496.js.map +0 -1
- package/dist/index.cjs498.js +0 -2
- package/dist/index.cjs498.js.map +0 -1
- package/dist/index.cjs499.js +0 -2
- package/dist/index.cjs499.js.map +0 -1
- package/dist/index.cjs500.js +0 -2
- package/dist/index.cjs500.js.map +0 -1
- package/dist/index.cjs509.js +0 -2
- package/dist/index.cjs509.js.map +0 -1
- package/dist/index.cjs560.js +0 -2
- package/dist/index.cjs560.js.map +0 -1
- package/dist/index.cjs561.js +0 -2
- package/dist/index.cjs561.js.map +0 -1
- package/dist/index.cjs562.js +0 -2
- package/dist/index.cjs562.js.map +0 -1
- package/dist/index.es223.js +0 -30
- package/dist/index.es223.js.map +0 -1
- package/dist/index.es468.js +0 -14
- package/dist/index.es468.js.map +0 -1
- package/dist/index.es480.js +0 -15
- package/dist/index.es480.js.map +0 -1
- package/dist/index.es481.js +0 -209
- package/dist/index.es481.js.map +0 -1
- package/dist/index.es496.js +0 -113
- package/dist/index.es496.js.map +0 -1
- package/dist/index.es498.js +0 -528
- package/dist/index.es498.js.map +0 -1
- package/dist/index.es499.js +0 -131
- package/dist/index.es499.js.map +0 -1
- package/dist/index.es500.js +0 -137
- package/dist/index.es500.js.map +0 -1
- package/dist/index.es509.js +0 -26
- package/dist/index.es509.js.map +0 -1
- package/dist/index.es560.js +0 -7
- package/dist/index.es560.js.map +0 -1
- package/dist/index.es561.js +0 -6
- package/dist/index.es561.js.map +0 -1
- package/dist/index.es562.js +0 -5
- package/dist/index.es562.js.map +0 -1
- /package/dist/components/ui/{DoctorConfirmModal/DoctorConfirmModalContent/DoctorConfirmModalContent.css → ConsentModal/ConsentModalContent/ConsentModalContent.css} +0 -0
- /package/dist/components/ui/{DoctorModal/DoctorModalFooter/DoctorModalFooter.css → ConsentModal/ConsentModalFooter/ConsentModalFooter.css} +0 -0
package/dist/index.es552.js
CHANGED
package/dist/index.es552.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es552.js","sources":["../node_modules/@radix-ui/themes/dist/esm/
|
|
1
|
+
{"version":3,"file":"index.es552.js","sources":["../node_modules/@radix-ui/themes/dist/esm/helpers/has-own-property.js"],"sourcesContent":["function e(n,r){return Object.prototype.hasOwnProperty.call(n,r)}export{e as hasOwnProperty};\n//# sourceMappingURL=has-own-property.js.map\n"],"names":["n","r"],"mappings":"AAAA,SAAS,EAAEA,GAAEC,GAAE;AAAC,SAAO,OAAO,UAAU,eAAe,KAAKD,GAAEC,CAAC;AAAC;","x_google_ignoreList":[0]}
|
package/dist/index.es553.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
function m(t, [a, n]) {
|
|
2
|
+
return Math.min(n, Math.max(a, t));
|
|
3
|
+
}
|
|
2
4
|
export {
|
|
3
|
-
|
|
5
|
+
m as clamp
|
|
4
6
|
};
|
|
5
7
|
//# sourceMappingURL=index.es553.js.map
|
package/dist/index.es553.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es553.js","sources":["../node_modules/@radix-ui/
|
|
1
|
+
{"version":3,"file":"index.es553.js","sources":["../node_modules/@radix-ui/number/dist/index.mjs"],"sourcesContent":["// packages/core/number/src/number.ts\nfunction clamp(value, [min, max]) {\n return Math.min(max, Math.max(min, value));\n}\nexport {\n clamp\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["clamp","value","min","max"],"mappings":"AACA,SAASA,EAAMC,GAAO,CAACC,GAAKC,CAAG,GAAG;AAChC,SAAO,KAAK,IAAIA,GAAK,KAAK,IAAID,GAAKD,CAAK,CAAC;AAC3C;","x_google_ignoreList":[0]}
|
package/dist/index.es554.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const e = ["
|
|
1
|
+
const e = ["gray", "gold", "bronze", "brown", "yellow", "amber", "orange", "tomato", "red", "ruby", "crimson", "pink", "plum", "purple", "violet", "iris", "indigo", "blue", "cyan", "teal", "jade", "green", "grass", "lime", "mint", "sky"], o = { color: { type: "enum", values: e, default: "" } };
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
o as accentColorPropDef,
|
|
4
|
+
e as accentColors
|
|
5
5
|
};
|
|
6
6
|
//# sourceMappingURL=index.es554.js.map
|
package/dist/index.es554.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es554.js","sources":["../node_modules/@radix-ui/themes/dist/esm/props/
|
|
1
|
+
{"version":3,"file":"index.es554.js","sources":["../node_modules/@radix-ui/themes/dist/esm/props/color.prop.js"],"sourcesContent":["const o=[\"gray\",\"gold\",\"bronze\",\"brown\",\"yellow\",\"amber\",\"orange\",\"tomato\",\"red\",\"ruby\",\"crimson\",\"pink\",\"plum\",\"purple\",\"violet\",\"iris\",\"indigo\",\"blue\",\"cyan\",\"teal\",\"jade\",\"green\",\"grass\",\"lime\",\"mint\",\"sky\"],e=[\"auto\",\"gray\",\"mauve\",\"slate\",\"sage\",\"olive\",\"sand\"],r={color:{type:\"enum\",values:o,default:void 0}},s={color:{type:\"enum\",values:o,default:\"\"}};export{s as accentColorPropDef,o as accentColors,r as colorPropDef,e as grayColors};\n//# sourceMappingURL=color.prop.js.map\n"],"names":["o","s"],"mappings":"AAAK,MAACA,IAAE,CAAC,QAAO,QAAO,UAAS,SAAQ,UAAS,SAAQ,UAAS,UAAS,OAAM,QAAO,WAAU,QAAO,QAAO,UAAS,UAAS,QAAO,UAAS,QAAO,QAAO,QAAO,QAAO,SAAQ,SAAQ,QAAO,QAAO,KAAK,GAA0GC,IAAE,EAAC,OAAM,EAAC,MAAK,QAAO,QAAOD,GAAE,SAAQ,GAAE,EAAC;","x_google_ignoreList":[0]}
|
package/dist/index.es555.js
CHANGED
package/dist/index.es555.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es555.js","sources":["../node_modules/@radix-ui/themes/dist/esm/props/
|
|
1
|
+
{"version":3,"file":"index.es555.js","sources":["../node_modules/@radix-ui/themes/dist/esm/props/high-contrast.prop.js"],"sourcesContent":["const o={highContrast:{type:\"boolean\",className:\"rt-high-contrast\",default:void 0}};export{o as highContrastPropDef};\n//# sourceMappingURL=high-contrast.prop.js.map\n"],"names":["o"],"mappings":"AAAK,MAACA,IAAE,EAAC,cAAa,EAAC,MAAK,WAAU,WAAU,oBAAmB,SAAQ,OAAM,EAAC;","x_google_ignoreList":[0]}
|
package/dist/index.es556.js
CHANGED
|
@@ -1,7 +1,77 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { commonjsGlobal as u } from "./index.es433.js";
|
|
2
|
+
import { __module as f } from "./index.es557.js";
|
|
3
|
+
var j = f.exports, E;
|
|
4
|
+
function S() {
|
|
5
|
+
return E ? f.exports : (E = 1, (function(R, L) {
|
|
6
|
+
(function(v, i) {
|
|
7
|
+
i();
|
|
8
|
+
})(j, function() {
|
|
9
|
+
function v(e, t) {
|
|
10
|
+
return typeof t > "u" ? t = { autoBom: !1 } : typeof t != "object" && (console.warn("Deprecated: Expected third argument to be a object"), t = { autoBom: !t }), t.autoBom && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type) ? new Blob(["\uFEFF", e], { type: e.type }) : e;
|
|
11
|
+
}
|
|
12
|
+
function i(e, t, r) {
|
|
13
|
+
var n = new XMLHttpRequest();
|
|
14
|
+
n.open("GET", e), n.responseType = "blob", n.onload = function() {
|
|
15
|
+
l(n.response, t, r);
|
|
16
|
+
}, n.onerror = function() {
|
|
17
|
+
console.error("could not download file");
|
|
18
|
+
}, n.send();
|
|
19
|
+
}
|
|
20
|
+
function m(e) {
|
|
21
|
+
var t = new XMLHttpRequest();
|
|
22
|
+
t.open("HEAD", e, !1);
|
|
23
|
+
try {
|
|
24
|
+
t.send();
|
|
25
|
+
} catch {
|
|
26
|
+
}
|
|
27
|
+
return 200 <= t.status && 299 >= t.status;
|
|
28
|
+
}
|
|
29
|
+
function c(e) {
|
|
30
|
+
try {
|
|
31
|
+
e.dispatchEvent(new MouseEvent("click"));
|
|
32
|
+
} catch {
|
|
33
|
+
var t = document.createEvent("MouseEvents");
|
|
34
|
+
t.initMouseEvent("click", !0, !0, window, 0, 0, 0, 80, 20, !1, !1, !1, !1, 0, null), e.dispatchEvent(t);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
var a = typeof window == "object" && window.window === window ? window : typeof self == "object" && self.self === self ? self : typeof u == "object" && u.global === u ? u : void 0, w = a.navigator && /Macintosh/.test(navigator.userAgent) && /AppleWebKit/.test(navigator.userAgent) && !/Safari/.test(navigator.userAgent), l = a.saveAs || (typeof window != "object" || window !== a ? function() {
|
|
38
|
+
} : "download" in HTMLAnchorElement.prototype && !w ? function(e, t, r) {
|
|
39
|
+
var n = a.URL || a.webkitURL, o = document.createElement("a");
|
|
40
|
+
t = t || e.name || "download", o.download = t, o.rel = "noopener", typeof e == "string" ? (o.href = e, o.origin === location.origin ? c(o) : m(o.href) ? i(e, t, r) : c(o, o.target = "_blank")) : (o.href = n.createObjectURL(e), setTimeout(function() {
|
|
41
|
+
n.revokeObjectURL(o.href);
|
|
42
|
+
}, 4e4), setTimeout(function() {
|
|
43
|
+
c(o);
|
|
44
|
+
}, 0));
|
|
45
|
+
} : "msSaveOrOpenBlob" in navigator ? function(e, t, r) {
|
|
46
|
+
if (t = t || e.name || "download", typeof e != "string") navigator.msSaveOrOpenBlob(v(e, r), t);
|
|
47
|
+
else if (m(e)) i(e, t, r);
|
|
48
|
+
else {
|
|
49
|
+
var n = document.createElement("a");
|
|
50
|
+
n.href = e, n.target = "_blank", setTimeout(function() {
|
|
51
|
+
c(n);
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
} : function(e, t, r, n) {
|
|
55
|
+
if (n = n || open("", "_blank"), n && (n.document.title = n.document.body.innerText = "downloading..."), typeof e == "string") return i(e, t, r);
|
|
56
|
+
var o = e.type === "application/octet-stream", b = /constructor/i.test(a.HTMLElement) || a.safari, y = /CriOS\/[\d]+/.test(navigator.userAgent);
|
|
57
|
+
if ((y || o && b || w) && typeof FileReader < "u") {
|
|
58
|
+
var d = new FileReader();
|
|
59
|
+
d.onloadend = function() {
|
|
60
|
+
var s = d.result;
|
|
61
|
+
s = y ? s : s.replace(/^data:[^;]*;/, "data:attachment/file;"), n ? n.location.href = s : location = s, n = null;
|
|
62
|
+
}, d.readAsDataURL(e);
|
|
63
|
+
} else {
|
|
64
|
+
var h = a.URL || a.webkitURL, p = h.createObjectURL(e);
|
|
65
|
+
n ? n.location = p : location.href = p, n = null, setTimeout(function() {
|
|
66
|
+
h.revokeObjectURL(p);
|
|
67
|
+
}, 4e4);
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
a.saveAs = l.saveAs = l, R.exports = l;
|
|
71
|
+
});
|
|
72
|
+
})(f), f.exports);
|
|
3
73
|
}
|
|
4
74
|
export {
|
|
5
|
-
|
|
75
|
+
S as __require
|
|
6
76
|
};
|
|
7
77
|
//# sourceMappingURL=index.es556.js.map
|
package/dist/index.es556.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es556.js","sources":["../node_modules
|
|
1
|
+
{"version":3,"file":"index.es556.js","sources":["../node_modules/file-saver/dist/FileSaver.min.js"],"sourcesContent":["(function(a,b){if(\"function\"==typeof define&&define.amd)define([],b);else if(\"undefined\"!=typeof exports)b();else{b(),a.FileSaver={exports:{}}.exports}})(this,function(){\"use strict\";function b(a,b){return\"undefined\"==typeof b?b={autoBom:!1}:\"object\"!=typeof b&&(console.warn(\"Deprecated: Expected third argument to be a object\"),b={autoBom:!b}),b.autoBom&&/^\\s*(?:text\\/\\S*|application\\/xml|\\S*\\/\\S*\\+xml)\\s*;.*charset\\s*=\\s*utf-8/i.test(a.type)?new Blob([\"\\uFEFF\",a],{type:a.type}):a}function c(a,b,c){var d=new XMLHttpRequest;d.open(\"GET\",a),d.responseType=\"blob\",d.onload=function(){g(d.response,b,c)},d.onerror=function(){console.error(\"could not download file\")},d.send()}function d(a){var b=new XMLHttpRequest;b.open(\"HEAD\",a,!1);try{b.send()}catch(a){}return 200<=b.status&&299>=b.status}function e(a){try{a.dispatchEvent(new MouseEvent(\"click\"))}catch(c){var b=document.createEvent(\"MouseEvents\");b.initMouseEvent(\"click\",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),a.dispatchEvent(b)}}var f=\"object\"==typeof window&&window.window===window?window:\"object\"==typeof self&&self.self===self?self:\"object\"==typeof global&&global.global===global?global:void 0,a=f.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),g=f.saveAs||(\"object\"!=typeof window||window!==f?function(){}:\"download\"in HTMLAnchorElement.prototype&&!a?function(b,g,h){var i=f.URL||f.webkitURL,j=document.createElement(\"a\");g=g||b.name||\"download\",j.download=g,j.rel=\"noopener\",\"string\"==typeof b?(j.href=b,j.origin===location.origin?e(j):d(j.href)?c(b,g,h):e(j,j.target=\"_blank\")):(j.href=i.createObjectURL(b),setTimeout(function(){i.revokeObjectURL(j.href)},4E4),setTimeout(function(){e(j)},0))}:\"msSaveOrOpenBlob\"in navigator?function(f,g,h){if(g=g||f.name||\"download\",\"string\"!=typeof f)navigator.msSaveOrOpenBlob(b(f,h),g);else if(d(f))c(f,g,h);else{var i=document.createElement(\"a\");i.href=f,i.target=\"_blank\",setTimeout(function(){e(i)})}}:function(b,d,e,g){if(g=g||open(\"\",\"_blank\"),g&&(g.document.title=g.document.body.innerText=\"downloading...\"),\"string\"==typeof b)return c(b,d,e);var h=\"application/octet-stream\"===b.type,i=/constructor/i.test(f.HTMLElement)||f.safari,j=/CriOS\\/[\\d]+/.test(navigator.userAgent);if((j||h&&i||a)&&\"undefined\"!=typeof FileReader){var k=new FileReader;k.onloadend=function(){var a=k.result;a=j?a:a.replace(/^data:[^;]*;/,\"data:attachment/file;\"),g?g.location.href=a:location=a,g=null},k.readAsDataURL(b)}else{var l=f.URL||f.webkitURL,m=l.createObjectURL(b);g?g.location=m:location.href=m,g=null,setTimeout(function(){l.revokeObjectURL(m)},4E4)}});f.saveAs=g.saveAs=g,\"undefined\"!=typeof module&&(module.exports=g)});\n\n//# sourceMappingURL=FileSaver.min.js.map"],"names":["a","b","this","c","d","g","e","f","global","h","i","j","k","l","m","module"],"mappings":";;;;;AAAA,KAAC,SAASA,GAAEC,GAAE;AAA2F,MAAAA,EAAC;AAAA,IAA6C,GAAGC,GAAK,WAAU;AAAc,eAASD,EAAED,GAAEC,GAAE;AAAC,eAAmB,OAAOA,IAApB,MAAsBA,IAAE,EAAC,SAAQ,GAAE,IAAY,OAAOA,KAAjB,aAAqB,QAAQ,KAAK,oDAAoD,GAAEA,IAAE,EAAC,SAAQ,CAACA,EAAC,IAAGA,EAAE,WAAS,6EAA6E,KAAKD,EAAE,IAAI,IAAE,IAAI,KAAK,CAAC,UAASA,CAAC,GAAE,EAAC,MAAKA,EAAE,KAAI,CAAC,IAAEA;AAAA,MAAC;AAAC,eAASG,EAAEH,GAAEC,GAAEE,GAAE;AAAC,YAAIC,IAAE,IAAI;AAAe,QAAAA,EAAE,KAAK,OAAMJ,CAAC,GAAEI,EAAE,eAAa,QAAOA,EAAE,SAAO,WAAU;AAAC,UAAAC,EAAED,EAAE,UAASH,GAAEE,CAAC;AAAA,QAAC,GAAEC,EAAE,UAAQ,WAAU;AAAC,kBAAQ,MAAM,yBAAyB;AAAA,QAAC,GAAEA,EAAE,KAAI;AAAA,MAAE;AAAC,eAASA,EAAEJ,GAAE;AAAC,YAAIC,IAAE,IAAI;AAAe,QAAAA,EAAE,KAAK,QAAOD,GAAE,EAAE;AAAE,YAAG;AAAC,UAAAC,EAAE;QAAM,QAAS;AAAA,QAAA;A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EAAE,gBAAgBZ,CAAC;AAAE,UAAAI,IAAEA,EAAE,WAASS,IAAE,SAAS,OAAKA,GAAET,IAAE,MAAK,WAAW,WAAU;AAAC,YAAAQ,EAAE,gBAAgBC,CAAC;AAAA,UAAC,GAAE,GAAG;AAAA,QAAC;AAAA,MAAC;AAAG,MAAAP,EAAE,SAAOF,EAAE,SAAOA,GAA+BU,EAAA,UAAeV;AAAA,IAAE,CAAC;AAAA;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.es557.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/index.es6.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as g } from "./index.es220.js";
|
|
2
2
|
import { useMemo as s } from "react";
|
|
3
3
|
import { clsx as x } from "./index.es221.js";
|
|
4
|
-
import { createSpacingClasses as f } from "./index.
|
|
4
|
+
import { createSpacingClasses as f } from "./index.es222.js";
|
|
5
5
|
const v = ({
|
|
6
6
|
as: e,
|
|
7
7
|
className: i,
|
package/dist/index.es62.js
CHANGED
package/dist/index.es65.js
CHANGED
|
@@ -1,86 +1,77 @@
|
|
|
1
1
|
import { j as t } from "./index.es220.js";
|
|
2
|
-
import { clsx as
|
|
2
|
+
import { clsx as h } from "./index.es221.js";
|
|
3
3
|
import F, { useMemo as T } from "react";
|
|
4
|
-
import { InfoPopup as
|
|
4
|
+
import { InfoPopup as u } from "./index.es73.js";
|
|
5
5
|
import "./index.es314.js";
|
|
6
6
|
import { Favourite as N } from "./index.es182.js";
|
|
7
|
-
import { Row as
|
|
7
|
+
import { Row as j } from "./index.es7.js";
|
|
8
8
|
const z = ({
|
|
9
|
-
iconColor:
|
|
10
|
-
icon:
|
|
11
|
-
noIcon:
|
|
12
|
-
textLabel:
|
|
9
|
+
iconColor: a,
|
|
10
|
+
icon: c = /* @__PURE__ */ t.jsx(N, { color: a }),
|
|
11
|
+
noIcon: m = !1,
|
|
12
|
+
textLabel: k = "Default text",
|
|
13
13
|
handleAction: d = () => {
|
|
14
14
|
},
|
|
15
15
|
handleIconAction: f = () => {
|
|
16
16
|
},
|
|
17
|
-
classNameComponent:
|
|
18
|
-
classNameText:
|
|
19
|
-
disablePointer:
|
|
20
|
-
iconPosition:
|
|
17
|
+
classNameComponent: C = "fs-7",
|
|
18
|
+
classNameText: O = "",
|
|
19
|
+
disablePointer: i = !1,
|
|
20
|
+
iconPosition: s = "left",
|
|
21
21
|
popupInfo: e,
|
|
22
|
-
positionPopUp:
|
|
23
|
-
justifyContent:
|
|
24
|
-
alignItems:
|
|
25
|
-
children:
|
|
22
|
+
positionPopUp: g = "right",
|
|
23
|
+
justifyContent: R = "center",
|
|
24
|
+
alignItems: v = "center",
|
|
25
|
+
children: w = void 0
|
|
26
26
|
}) => {
|
|
27
|
-
const
|
|
28
|
-
!
|
|
29
|
-
}, [
|
|
27
|
+
const n = (l) => {
|
|
28
|
+
!i && f && (l.stopPropagation(), e && x(!r), f());
|
|
29
|
+
}, [r, x] = F.useState(!1), B = T(() => c || /* @__PURE__ */ t.jsx(N, { color: a }), [a, c]);
|
|
30
30
|
return /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsxs(
|
|
31
|
-
|
|
31
|
+
j,
|
|
32
32
|
{
|
|
33
|
-
justifyContent:
|
|
34
|
-
alignItems:
|
|
33
|
+
justifyContent: R,
|
|
34
|
+
alignItems: v,
|
|
35
35
|
gap: "x8",
|
|
36
|
-
className:
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
className: h(
|
|
37
|
+
i ? "text-muted" : "cursor-pointer text-primary",
|
|
38
|
+
C
|
|
39
39
|
),
|
|
40
|
-
onClick: () => d && !
|
|
40
|
+
onClick: () => d && !i && d(),
|
|
41
41
|
children: [
|
|
42
|
-
!
|
|
43
|
-
|
|
42
|
+
!m && (s === "left" || s == null) && !e ? /* @__PURE__ */ t.jsx(j, { alignItems: "center", onClick: (l) => n(l), children: B }) : e && !m && (s === "left" || s == null) && /* @__PURE__ */ t.jsx(
|
|
43
|
+
u,
|
|
44
44
|
{
|
|
45
45
|
title: e.title,
|
|
46
46
|
description: e.description,
|
|
47
|
-
isOpen:
|
|
48
|
-
positionPopUp:
|
|
49
|
-
onClickCloseBtn: () =>
|
|
47
|
+
isOpen: r,
|
|
48
|
+
positionPopUp: g,
|
|
49
|
+
onClickCloseBtn: () => x(!r),
|
|
50
50
|
className: e.className
|
|
51
51
|
}
|
|
52
52
|
),
|
|
53
|
-
/* @__PURE__ */ t.jsx("p", { className:
|
|
54
|
-
!
|
|
55
|
-
|
|
53
|
+
/* @__PURE__ */ t.jsx("p", { className: h("fw-bold", O), children: k }),
|
|
54
|
+
!m && s === "right" && !e ? /* @__PURE__ */ t.jsxs(
|
|
55
|
+
j,
|
|
56
56
|
{
|
|
57
57
|
gap: "x24",
|
|
58
58
|
alignItems: "center",
|
|
59
|
-
onClick: (
|
|
59
|
+
onClick: (l) => n(l),
|
|
60
60
|
children: [
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
w,
|
|
62
|
+
c
|
|
63
63
|
]
|
|
64
64
|
}
|
|
65
|
-
) : e && !
|
|
66
|
-
|
|
65
|
+
) : e && !m && s === "right" && /* @__PURE__ */ t.jsx(
|
|
66
|
+
u,
|
|
67
67
|
{
|
|
68
68
|
title: e.title,
|
|
69
69
|
description: e.description,
|
|
70
|
-
isOpen:
|
|
71
|
-
positionPopUp:
|
|
72
|
-
onClickCloseBtn: () =>
|
|
70
|
+
isOpen: r,
|
|
71
|
+
positionPopUp: g,
|
|
72
|
+
onClickCloseBtn: () => x(!r),
|
|
73
73
|
className: e.className
|
|
74
74
|
}
|
|
75
|
-
),
|
|
76
|
-
l && /* @__PURE__ */ t.jsx(
|
|
77
|
-
m,
|
|
78
|
-
{
|
|
79
|
-
gap: "x24",
|
|
80
|
-
alignItems: "center",
|
|
81
|
-
onClick: (s) => j(s),
|
|
82
|
-
children: k
|
|
83
|
-
}
|
|
84
75
|
)
|
|
85
76
|
]
|
|
86
77
|
}
|
package/dist/index.es65.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es65.js","sources":["../src/components/ui/ActionIconText/index.tsx"],"sourcesContent":["import { Favourite } from \"@/icons\";\nimport clsx from \"clsx\";\nimport React, { CSSProperties, useMemo } from \"react\";\nimport { PropsWithChildren, ReactNode } from \"react\";\nimport { InfoPopup, InfoPopupProps } from \"../InfoPopup\";\nimport \"./ActionIconText.scss\";\nimport { ColorKeys } from \"@theme/colors.ts\";\nimport { Row } from \"@/components\";\n\nexport type ActionIconTextProps = PropsWithChildren<{\n icon?: ReactNode;\n noIcon?: boolean;\n textLabel?: string;\n handleAction?: () => void;\n handleIconAction?: () => void;\n classNameComponent?: string;\n classNameText?: string;\n disablePointer?: boolean;\n iconPosition?: \"left\" | \"right\";\n popupInfo?: InfoPopupProps;\n iconColor?: ColorKeys;\n positionPopUp?: \"right\" | \"top\" | \"bottom\" | \"left\" | undefined;\n justifyContent?: CSSProperties[\"justifyContent\"];\n alignItems?: CSSProperties[\"alignItems\"];\n children?: ReactNode;\n}>;\n\nexport const ActionIconText = ({\n iconColor,\n icon = <Favourite color={iconColor} />,\n noIcon = false,\n textLabel = \"Default text\",\n handleAction = () => {},\n handleIconAction = () => {},\n classNameComponent = \"fs-7\",\n classNameText = \"\",\n disablePointer = false,\n iconPosition = \"left\",\n popupInfo,\n positionPopUp = \"right\",\n justifyContent = \"center\",\n alignItems = \"center\",\n children = undefined,\n}: ActionIconTextProps) => {\n const runIconAction = (e: React.MouseEvent) => {\n if (!disablePointer && handleIconAction) {\n e.stopPropagation();\n if (popupInfo) {\n setPopupIsOpen(!popupIsOpen);\n }\n handleIconAction();\n }\n };\n\n const [popupIsOpen, setPopupIsOpen] = React.useState(false);\n\n const iconToRender = useMemo(() => {\n return icon || <Favourite color={iconColor} />;\n }, [iconColor, icon]);\n\n return (\n <>\n <Row\n justifyContent={justifyContent}\n alignItems={alignItems}\n gap={\"x8\"}\n className={clsx(\n disablePointer ? \"text-muted\" : \"cursor-pointer text-primary\",\n classNameComponent,\n )}\n onClick={() => handleAction && !disablePointer && handleAction()}\n >\n {!noIcon &&\n
|
|
1
|
+
{"version":3,"file":"index.es65.js","sources":["../src/components/ui/ActionIconText/index.tsx"],"sourcesContent":["import { Favourite } from \"@/icons\";\nimport clsx from \"clsx\";\nimport React, { CSSProperties, useMemo } from \"react\";\nimport { PropsWithChildren, ReactNode } from \"react\";\nimport { InfoPopup, InfoPopupProps } from \"../InfoPopup\";\nimport \"./ActionIconText.scss\";\nimport { ColorKeys } from \"@theme/colors.ts\";\nimport { Row } from \"@/components\";\n\nexport type ActionIconTextProps = PropsWithChildren<{\n icon?: ReactNode;\n noIcon?: boolean;\n textLabel?: string;\n handleAction?: () => void;\n handleIconAction?: () => void;\n classNameComponent?: string;\n classNameText?: string;\n disablePointer?: boolean;\n iconPosition?: \"left\" | \"right\";\n popupInfo?: InfoPopupProps;\n iconColor?: ColorKeys;\n positionPopUp?: \"right\" | \"top\" | \"bottom\" | \"left\" | undefined;\n justifyContent?: CSSProperties[\"justifyContent\"];\n alignItems?: CSSProperties[\"alignItems\"];\n children?: ReactNode;\n}>;\n\nexport const ActionIconText = ({\n iconColor,\n icon = <Favourite color={iconColor} />,\n noIcon = false,\n textLabel = \"Default text\",\n handleAction = () => { },\n handleIconAction = () => { },\n classNameComponent = \"fs-7\",\n classNameText = \"\",\n disablePointer = false,\n iconPosition = \"left\",\n popupInfo,\n positionPopUp = \"right\",\n justifyContent = \"center\",\n alignItems = \"center\",\n children = undefined,\n}: ActionIconTextProps) => {\n const runIconAction = (e: React.MouseEvent) => {\n if (!disablePointer && handleIconAction) {\n e.stopPropagation();\n if (popupInfo) {\n setPopupIsOpen(!popupIsOpen);\n }\n handleIconAction();\n }\n };\n\n const [popupIsOpen, setPopupIsOpen] = React.useState(false);\n\n const iconToRender = useMemo(() => {\n return icon || <Favourite color={iconColor} />;\n }, [iconColor, icon]);\n\n return (\n <>\n <Row\n justifyContent={justifyContent}\n alignItems={alignItems}\n gap={\"x8\"}\n className={clsx(\n disablePointer ? \"text-muted\" : \"cursor-pointer text-primary\",\n classNameComponent,\n )}\n onClick={() => handleAction && !disablePointer && handleAction()}\n >\n {!noIcon &&\n (iconPosition === \"left\" || iconPosition == null) &&\n !popupInfo ? (\n <Row alignItems={\"center\"} onClick={(e) => runIconAction(e)}>\n {iconToRender}\n </Row>\n ) : (\n popupInfo &&\n !noIcon &&\n (iconPosition === \"left\" || iconPosition == null) && (\n <InfoPopup\n title={popupInfo.title}\n description={popupInfo.description}\n isOpen={popupIsOpen}\n positionPopUp={positionPopUp}\n onClickCloseBtn={() => setPopupIsOpen(!popupIsOpen)}\n className={popupInfo.className}\n ></InfoPopup>\n )\n )}\n <p className={clsx(\"fw-bold\", classNameText)}>{textLabel}</p>\n\n {!noIcon && iconPosition === \"right\" && !popupInfo ? (\n <Row\n gap={\"x24\"}\n alignItems={\"center\"}\n onClick={(e) => runIconAction(e)}\n >\n {children}\n {icon}\n </Row>\n ) : (\n popupInfo &&\n !noIcon &&\n iconPosition === \"right\" && (\n <InfoPopup\n title={popupInfo.title}\n description={popupInfo.description}\n isOpen={popupIsOpen}\n positionPopUp={positionPopUp}\n onClickCloseBtn={() => setPopupIsOpen(!popupIsOpen)}\n className={popupInfo.className}\n ></InfoPopup>\n )\n )}\n {/* {noIcon && (\n <Row\n gap={\"x24\"}\n alignItems={\"center\"}\n onClick={(e) => runIconAction(e)}\n >\n {children}\n </Row>\n )} */}\n </Row>\n </>\n );\n};\n"],"names":["ActionIconText","iconColor","icon","jsx","Favourite","noIcon","textLabel","handleAction","handleIconAction","classNameComponent","classNameText","disablePointer","iconPosition","popupInfo","positionPopUp","justifyContent","alignItems","children","runIconAction","e","setPopupIsOpen","popupIsOpen","React","iconToRender","useMemo","Fragment","jsxs","Row","clsx","InfoPopup"],"mappings":";;;;;;;AA2BO,MAAMA,IAAiB,CAAC;AAAA,EAC7B,WAA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A,CACH,IAEAV,KACA,CAACR,MACAO,MAAiB,UAAUA,KAAgB,SAC1CT,gBAAAA,EAAAA;AAAAA,UAAC0B;AAAA,UAAA;AAAA,YACC,OAAOhB,EAAU;AAAA,YACjB,aAAaA,EAAU;AAAA,YACvB,QAAQQ;AAAA,YACR,eAAAP;AAAA,YACA,iBAAiB,MAAMM,EAAe,CAACC,CAAW;AAAA,YAClD,WAAWR,EAAU;AAAA,UAAA;AAAA,QAAA;AAAA,8BAI1B,KAAA,EAAE,WAAWe,EAAK,WAAWlB,CAAa,GAAI,UAAAJ,GAAU;AAAA,QAExD,CAACD,KAAUO,MAAiB,WAAW,CAACC,IACvCa,gBAAAA,EAAAA;AAAAA,UAACC;AAAA,UAAA;AAAA,YACC,KAAK;AAAA,YACL,YAAY;AAAA,YACZ,SAAS,CAACR,MAAMD,EAAcC,CAAC;AAAA,YAE9B,UAAA;AAAA,cAAAF;AAAA,cACAf;AAAA,YAAA;AAAA,UAAA;AAAA,QAAA,IAGHW,KACA,CAACR,KACDO,MAAiB,WACfT,gBAAAA,EAAAA;AAAAA,UAAC0B;AAAA,UAAA;AAAA,YACC,OAAOhB,EAAU;AAAA,YACjB,aAAaA,EAAU;AAAA,YACvB,QAAQQ;AAAA,YACR,eAAAP;AAAA,YACA,iBAAiB,MAAMM,EAAe,CAACC,CAAW;AAAA,YAClD,WAAWR,EAAU;AAAA,UAAA;AAAA,QAAA;AAAA,MACtB;AAAA,IAAA;AAAA,EAAA,GAaT;AAEJ;"}
|
package/dist/index.es7.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { j as x } from "./index.es220.js";
|
|
2
2
|
import { useMemo as y } from "react";
|
|
3
3
|
import { clsx as g } from "./index.es221.js";
|
|
4
|
-
import { createSpacingClasses as j } from "./index.
|
|
5
|
-
import { createColorClasses as u } from "./index.
|
|
4
|
+
import { createSpacingClasses as j } from "./index.es222.js";
|
|
5
|
+
import { createColorClasses as u } from "./index.es224.js";
|
|
6
6
|
import { createTypographyClasses as h } from "./index.es225.js";
|
|
7
7
|
const E = ({
|
|
8
8
|
as: o,
|
package/dist/index.es8.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { j as f } from "./index.es220.js";
|
|
2
2
|
import { useMemo as x } from "react";
|
|
3
3
|
import { clsx as y } from "./index.es221.js";
|
|
4
|
-
import { createSpacingClasses as g } from "./index.
|
|
5
|
-
import { createColorClasses as j } from "./index.
|
|
4
|
+
import { createSpacingClasses as g } from "./index.es222.js";
|
|
5
|
+
import { createColorClasses as j } from "./index.es224.js";
|
|
6
6
|
import { createTypographyClasses as u } from "./index.es225.js";
|
|
7
7
|
const M = ({
|
|
8
8
|
as: o,
|
package/package.json
CHANGED
package/dist/index.cjs223.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=["gap","m","mx","my","mt","mr","mb","ml","p","px","py","pt","pr","pb","pl","br","br-t","br-r","br-b","br-l","min-h","min-w","max-h","max-w"],a=e=>t.map(r=>e[r]?`${r}-${e[r]}`:"").filter(Boolean);exports.createSpacingClasses=a;
|
|
2
|
-
//# sourceMappingURL=index.cjs223.js.map
|
package/dist/index.cjs223.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs223.js","sources":["../src/theme/spacing.ts"],"sourcesContent":["export type SpacingKey =\n | \"x4\"\n | \"x8\"\n | \"x12\"\n | \"x16\"\n | \"x20\"\n | \"x24\"\n | \"x28\"\n | \"x32\"\n | \"x36\"\n | \"x40\"\n | \"x44\"\n | \"x48\"\n | \"x52\"\n | \"x56\"\n | \"x60\"\n | \"x64\"\n | \"x68\"\n | \"x72\"\n | \"x76\"\n | \"x80\"\n | \"x84\"\n | \"x88\"\n | \"x92\"\n | \"x96\"\n | \"x100\"\n | \"x104\";\n\nexport type SpacingProps = {\n gap?: SpacingKey;\n m?: SpacingKey; // margin\n mx?: SpacingKey; // margin x\n my?: SpacingKey; // margin y\n mt?: SpacingKey; // margin top\n mr?: SpacingKey; // margin bottom\n mb?: SpacingKey; // margin right\n ml?: SpacingKey; // margin left\n p?: SpacingKey; // padding\n px?: SpacingKey; // padding x\n py?: SpacingKey; // padding y\n pt?: SpacingKey; // padding top\n pr?: SpacingKey; // padding bottom\n pb?: SpacingKey; // padding right\n pl?: SpacingKey; // padding left\n br?: SpacingKey; // border-radius\n \"br-t\"?: SpacingKey; // border-radius top\n \"br-r\"?: SpacingKey; // border-radius right\n \"br-b\"?: SpacingKey; // border-radius bottom\n \"br-l\"?: SpacingKey; // border-radius left\n \"min-h\"?: SpacingKey; // min-height\n \"min-w\"?: SpacingKey; // min-width\n \"max-h\"?: SpacingKey; // max-height\n \"max-w\"?: SpacingKey; // max-width\n};\n\nexport type SpacingPropsKeys = keyof SpacingProps;\nconst spacingPropsKeys: SpacingPropsKeys[] = [\n \"gap\",\n \"m\",\n \"mx\",\n \"my\",\n \"mt\",\n \"mr\",\n \"mb\",\n \"ml\",\n \"p\",\n \"px\",\n \"py\",\n \"pt\",\n \"pr\",\n \"pb\",\n \"pl\",\n \"br\",\n \"br-t\",\n \"br-r\",\n \"br-b\",\n \"br-l\",\n \"min-h\",\n \"min-w\",\n \"max-h\",\n \"max-w\",\n];\n\nexport const createSpacingClasses = <TProps extends SpacingProps>(\n props: TProps,\n) => {\n return spacingPropsKeys\n .map((key) => (props[key] ? `${key}-${props[key]}` : \"\"))\n .filter(Boolean);\n};\n"],"names":["spacingPropsKeys","createSpacingClasses","props","key"],"mappings":"gFAwDA,MAAMA,EAAuC,CAC3C,MACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,OACA,OACA,OACA,OACA,QACA,QACA,QACA,OACF,EAEaC,EACXC,GAEOF,EACJ,IAAKG,GAASD,EAAMC,CAAG,EAAI,GAAGA,CAAG,IAAID,EAAMC,CAAG,CAAC,GAAK,EAAG,EACvD,OAAO,OAAO"}
|
package/dist/index.cjs468.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react");function o(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const u=o(c);function s(e){const t=u.useRef(e);return u.useEffect(()=>{t.current=e}),u.useMemo(()=>(...r)=>{var n;return(n=t.current)==null?void 0:n.call(t,...r)},[])}exports.useCallbackRef=s;
|
|
2
|
-
//# sourceMappingURL=index.cjs468.js.map
|
package/dist/index.cjs468.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs468.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":"mYAEA,SAASA,EAAeC,EAAU,CAChC,MAAMC,EAAcC,EAAM,OAAOF,CAAQ,EACzCE,OAAAA,EAAM,UAAU,IAAM,CACpBD,EAAY,QAAUD,CACxB,CAAC,EACME,EAAM,QAAQ,IAAM,IAAIC,WAAS,OAAAC,EAAAH,EAAY,UAAZ,YAAAG,EAAA,KAAAH,EAAsB,GAAGE,IAAO,EAAE,CAC5E","x_google_ignoreList":[0]}
|
package/dist/index.cjs480.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),a=require("./index.cjs468.js");function s(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const u=s(o);function i(e,t=globalThis==null?void 0:globalThis.document){const n=a.useCallbackRef(e);u.useEffect(()=>{const r=c=>{c.key==="Escape"&&n(c)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}exports.useEscapeKeydown=i;
|
|
2
|
-
//# sourceMappingURL=index.cjs480.js.map
|
package/dist/index.cjs480.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs480.js","sources":["../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs"],"sourcesContent":["// packages/react/use-escape-keydown/src/use-escape-keydown.tsx\nimport * as React from \"react\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nfunction useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThis?.document) {\n const onEscapeKeyDown = useCallbackRef(onEscapeKeyDownProp);\n React.useEffect(() => {\n const handleKeyDown = (event) => {\n if (event.key === \"Escape\") {\n onEscapeKeyDown(event);\n }\n };\n ownerDocument.addEventListener(\"keydown\", handleKeyDown, { capture: true });\n return () => ownerDocument.removeEventListener(\"keydown\", handleKeyDown, { capture: true });\n }, [onEscapeKeyDown, ownerDocument]);\n}\nexport {\n useEscapeKeydown\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useEscapeKeydown","onEscapeKeyDownProp","ownerDocument","onEscapeKeyDown","useCallbackRef","React","handleKeyDown","event"],"mappings":"kaAGA,SAASA,EAAiBC,EAAqBC,EAAgB,mCAAY,SAAU,CACnF,MAAMC,EAAkBC,EAAAA,eAAeH,CAAmB,EAC1DI,EAAM,UAAU,IAAM,CACpB,MAAMC,EAAiBC,GAAU,CAC3BA,EAAM,MAAQ,UAChBJ,EAAgBI,CAAK,CAEzB,EACA,OAAAL,EAAc,iBAAiB,UAAWI,EAAe,CAAE,QAAS,GAAM,EACnE,IAAMJ,EAAc,oBAAoB,UAAWI,EAAe,CAAE,QAAS,GAAM,CAC5F,EAAG,CAACH,EAAiBD,CAAa,CAAC,CACrC","x_google_ignoreList":[0]}
|
package/dist/index.cjs481.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./index.cjs483.js"),L=require("react"),H=require("react-dom");function U(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const o=U(L),I=U(H);var J=typeof document<"u",K=function(){},R=J?L.useLayoutEffect:K;function P(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,s;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!P(e[r],t[r]))return!1;return!0}if(s=Object.keys(e),n=s.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,s[r]))return!1;for(r=n;r--!==0;){const g=s[r];if(!(g==="_owner"&&e.$$typeof)&&!P(e[g],t[g]))return!1}return!0}return e!==e&&t!==t}function $(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function z(e,t){const n=$(e);return Math.round(t*n)/n}function D(e){const t=o.useRef(e);return R(()=>{t.current=e}),t}function Q(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:s,elements:{reference:g,floating:A}={},transform:j=!0,whileElementsMounted:k,open:S}=e,[u,E]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[M,T]=o.useState(r);P(M,r)||T(r);const[B,N]=o.useState(null),[V,W]=o.useState(null),b=o.useCallback(i=>{i!==d.current&&(d.current=i,N(i))},[]),v=o.useCallback(i=>{i!==p.current&&(p.current=i,W(i))},[]),c=g||B,l=A||V,d=o.useRef(null),p=o.useRef(null),w=o.useRef(u),G=k!=null,O=D(k),_=D(s),C=D(S),y=o.useCallback(()=>{if(!d.current||!p.current)return;const i={placement:t,strategy:n,middleware:M};_.current&&(i.platform=_.current),f.computePosition(d.current,p.current,i).then(h=>{const m={...h,isPositioned:C.current!==!1};x.current&&!P(w.current,m)&&(w.current=m,I.flushSync(()=>{E(m)}))})},[M,t,n,_,C]);R(()=>{S===!1&&w.current.isPositioned&&(w.current.isPositioned=!1,E(i=>({...i,isPositioned:!1})))},[S]);const x=o.useRef(!1);R(()=>(x.current=!0,()=>{x.current=!1}),[]),R(()=>{if(c&&(d.current=c),l&&(p.current=l),c&&l){if(O.current)return O.current(c,l,y);y()}},[c,l,y,O,G]);const F=o.useMemo(()=>({reference:d,floating:p,setReference:b,setFloating:v}),[b,v]),a=o.useMemo(()=>({reference:c,floating:l}),[c,l]),q=o.useMemo(()=>{const i={position:n,left:0,top:0};if(!a.floating)return i;const h=z(a.floating,u.x),m=z(a.floating,u.y);return j?{...i,transform:"translate("+h+"px, "+m+"px)",...$(a.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:h,top:m}},[n,j,a.floating,u.x,u.y]);return o.useMemo(()=>({...u,update:y,refs:F,elements:a,floatingStyles:q}),[u,y,F,a,q])}const X=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:s}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?f.arrow({element:r.current,padding:s}).fn(n):{}:r?f.arrow({element:r,padding:s}).fn(n):{}}}},Y=(e,t)=>({...f.offset(e),options:[e,t]}),Z=(e,t)=>({...f.shift(e),options:[e,t]}),ee=(e,t)=>({...f.limitShift(e),options:[e,t]}),te=(e,t)=>({...f.flip(e),options:[e,t]}),ne=(e,t)=>({...f.size(e),options:[e,t]}),re=(e,t)=>({...f.hide(e),options:[e,t]}),oe=(e,t)=>({...X(e),options:[e,t]});exports.autoUpdate=f.autoUpdate;exports.computePosition=f.computePosition;exports.platform=f.platform;exports.arrow=oe;exports.flip=te;exports.hide=re;exports.limitShift=ee;exports.offset=Y;exports.shift=Z;exports.size=ne;exports.useFloating=Q;
|
|
2
|
-
//# sourceMappingURL=index.cjs481.js.map
|
package/dist/index.cjs481.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs481.js","sources":["../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs"],"sourcesContent":["import { computePosition, arrow as arrow$2, autoPlacement as autoPlacement$1, flip as flip$1, hide as hide$1, inline as inline$1, limitShift as limitShift$1, offset as offset$1, shift as shift$1, size as size$1 } from '@floating-ui/dom';\nexport { autoUpdate, computePosition, detectOverflow, getOverflowAncestors, platform } from '@floating-ui/dom';\nimport * as React from 'react';\nimport { useLayoutEffect } from 'react';\nimport * as ReactDOM from 'react-dom';\n\nvar isClient = typeof document !== 'undefined';\n\nvar noop = function noop() {};\nvar index = isClient ? useLayoutEffect : noop;\n\n// Fork of `fast-deep-equal` that only does the comparisons we need and compares\n// functions\nfunction deepEqual(a, b) {\n if (a === b) {\n return true;\n }\n if (typeof a !== typeof b) {\n return false;\n }\n if (typeof a === 'function' && a.toString() === b.toString()) {\n return true;\n }\n let length;\n let i;\n let keys;\n if (a && b && typeof a === 'object') {\n if (Array.isArray(a)) {\n length = a.length;\n if (length !== b.length) return false;\n for (i = length; i-- !== 0;) {\n if (!deepEqual(a[i], b[i])) {\n return false;\n }\n }\n return true;\n }\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) {\n return false;\n }\n for (i = length; i-- !== 0;) {\n if (!{}.hasOwnProperty.call(b, keys[i])) {\n return false;\n }\n }\n for (i = length; i-- !== 0;) {\n const key = keys[i];\n if (key === '_owner' && a.$$typeof) {\n continue;\n }\n if (!deepEqual(a[key], b[key])) {\n return false;\n }\n }\n return true;\n }\n return a !== a && b !== b;\n}\n\nfunction getDPR(element) {\n if (typeof window === 'undefined') {\n return 1;\n }\n const win = element.ownerDocument.defaultView || window;\n return win.devicePixelRatio || 1;\n}\n\nfunction roundByDPR(element, value) {\n const dpr = getDPR(element);\n return Math.round(value * dpr) / dpr;\n}\n\nfunction useLatestRef(value) {\n const ref = React.useRef(value);\n index(() => {\n ref.current = value;\n });\n return ref;\n}\n\n/**\n * Provides data to position a floating element.\n * @see https://floating-ui.com/docs/useFloating\n */\nfunction useFloating(options) {\n if (options === void 0) {\n options = {};\n }\n const {\n placement = 'bottom',\n strategy = 'absolute',\n middleware = [],\n platform,\n elements: {\n reference: externalReference,\n floating: externalFloating\n } = {},\n transform = true,\n whileElementsMounted,\n open\n } = options;\n const [data, setData] = React.useState({\n x: 0,\n y: 0,\n strategy,\n placement,\n middlewareData: {},\n isPositioned: false\n });\n const [latestMiddleware, setLatestMiddleware] = React.useState(middleware);\n if (!deepEqual(latestMiddleware, middleware)) {\n setLatestMiddleware(middleware);\n }\n const [_reference, _setReference] = React.useState(null);\n const [_floating, _setFloating] = React.useState(null);\n const setReference = React.useCallback(node => {\n if (node !== referenceRef.current) {\n referenceRef.current = node;\n _setReference(node);\n }\n }, []);\n const setFloating = React.useCallback(node => {\n if (node !== floatingRef.current) {\n floatingRef.current = node;\n _setFloating(node);\n }\n }, []);\n const referenceEl = externalReference || _reference;\n const floatingEl = externalFloating || _floating;\n const referenceRef = React.useRef(null);\n const floatingRef = React.useRef(null);\n const dataRef = React.useRef(data);\n const hasWhileElementsMounted = whileElementsMounted != null;\n const whileElementsMountedRef = useLatestRef(whileElementsMounted);\n const platformRef = useLatestRef(platform);\n const openRef = useLatestRef(open);\n const update = React.useCallback(() => {\n if (!referenceRef.current || !floatingRef.current) {\n return;\n }\n const config = {\n placement,\n strategy,\n middleware: latestMiddleware\n };\n if (platformRef.current) {\n config.platform = platformRef.current;\n }\n computePosition(referenceRef.current, floatingRef.current, config).then(data => {\n const fullData = {\n ...data,\n // The floating element's position may be recomputed while it's closed\n // but still mounted (such as when transitioning out). To ensure\n // `isPositioned` will be `false` initially on the next open, avoid\n // setting it to `true` when `open === false` (must be specified).\n isPositioned: openRef.current !== false\n };\n if (isMountedRef.current && !deepEqual(dataRef.current, fullData)) {\n dataRef.current = fullData;\n ReactDOM.flushSync(() => {\n setData(fullData);\n });\n }\n });\n }, [latestMiddleware, placement, strategy, platformRef, openRef]);\n index(() => {\n if (open === false && dataRef.current.isPositioned) {\n dataRef.current.isPositioned = false;\n setData(data => ({\n ...data,\n isPositioned: false\n }));\n }\n }, [open]);\n const isMountedRef = React.useRef(false);\n index(() => {\n isMountedRef.current = true;\n return () => {\n isMountedRef.current = false;\n };\n }, []);\n index(() => {\n if (referenceEl) referenceRef.current = referenceEl;\n if (floatingEl) floatingRef.current = floatingEl;\n if (referenceEl && floatingEl) {\n if (whileElementsMountedRef.current) {\n return whileElementsMountedRef.current(referenceEl, floatingEl, update);\n }\n update();\n }\n }, [referenceEl, floatingEl, update, whileElementsMountedRef, hasWhileElementsMounted]);\n const refs = React.useMemo(() => ({\n reference: referenceRef,\n floating: floatingRef,\n setReference,\n setFloating\n }), [setReference, setFloating]);\n const elements = React.useMemo(() => ({\n reference: referenceEl,\n floating: floatingEl\n }), [referenceEl, floatingEl]);\n const floatingStyles = React.useMemo(() => {\n const initialStyles = {\n position: strategy,\n left: 0,\n top: 0\n };\n if (!elements.floating) {\n return initialStyles;\n }\n const x = roundByDPR(elements.floating, data.x);\n const y = roundByDPR(elements.floating, data.y);\n if (transform) {\n return {\n ...initialStyles,\n transform: \"translate(\" + x + \"px, \" + y + \"px)\",\n ...(getDPR(elements.floating) >= 1.5 && {\n willChange: 'transform'\n })\n };\n }\n return {\n position: strategy,\n left: x,\n top: y\n };\n }, [strategy, transform, elements.floating, data.x, data.y]);\n return React.useMemo(() => ({\n ...data,\n update,\n refs,\n elements,\n floatingStyles\n }), [data, update, refs, elements, floatingStyles]);\n}\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow$1 = options => {\n function isRef(value) {\n return {}.hasOwnProperty.call(value, 'current');\n }\n return {\n name: 'arrow',\n options,\n fn(state) {\n const {\n element,\n padding\n } = typeof options === 'function' ? options(state) : options;\n if (element && isRef(element)) {\n if (element.current != null) {\n return arrow$2({\n element: element.current,\n padding\n }).fn(state);\n }\n return {};\n }\n if (element) {\n return arrow$2({\n element,\n padding\n }).fn(state);\n }\n return {};\n }\n };\n};\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = (options, deps) => ({\n ...offset$1(options),\n options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = (options, deps) => ({\n ...shift$1(options),\n options: [options, deps]\n});\n\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = (options, deps) => ({\n ...limitShift$1(options),\n options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = (options, deps) => ({\n ...flip$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = (options, deps) => ({\n ...size$1(options),\n options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = (options, deps) => ({\n ...autoPlacement$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = (options, deps) => ({\n ...hide$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = (options, deps) => ({\n ...inline$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = (options, deps) => ({\n ...arrow$1(options),\n options: [options, deps]\n});\n\nexport { arrow, autoPlacement, flip, hide, inline, limitShift, offset, shift, size, useFloating };\n"],"names":["isClient","noop","index","useLayoutEffect","deepEqual","a","b","length","i","keys","key","getDPR","element","roundByDPR","value","dpr","useLatestRef","ref","React","useFloating","options","placement","strategy","middleware","platform","externalReference","externalFloating","transform","whileElementsMounted","open","data","setData","latestMiddleware","setLatestMiddleware","_reference","_setReference","_floating","_setFloating","setReference","node","referenceRef","setFloating","floatingRef","referenceEl","floatingEl","dataRef","hasWhileElementsMounted","whileElementsMountedRef","platformRef","openRef","update","config","computePosition","fullData","isMountedRef","ReactDOM","refs","elements","floatingStyles","initialStyles","x","y","arrow$1","isRef","state","padding","arrow$2","offset","deps","offset$1","shift","shift$1","limitShift","limitShift$1","flip","flip$1","size","size$1","hide","hide$1","arrow"],"mappings":"gcAMA,IAAIA,EAAW,OAAO,SAAa,IAE/BC,EAAO,UAAgB,CAAC,EACxBC,EAAQF,EAAWG,EAAAA,gBAAkBF,EAIzC,SAASG,EAAUC,EAAGC,EAAG,CACvB,GAAID,IAAMC,EACR,MA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AAO,EACnB,QAAS,CAACA,EAASgD,CAAI,CACzB,GAOME,EAAQ,CAAClD,EAASgD,KAAU,CAChC,GAAGG,EAAAA,MAAQnD,CAAO,EAClB,QAAS,CAACA,EAASgD,CAAI,CACzB,GAKMI,GAAa,CAACpD,EAASgD,KAAU,CACrC,GAAGK,EAAAA,WAAarD,CAAO,EACvB,QAAS,CAACA,EAASgD,CAAI,CACzB,GAQMM,GAAO,CAACtD,EAASgD,KAAU,CAC/B,GAAGO,EAAAA,KAAOvD,CAAO,EACjB,QAAS,CAACA,EAASgD,CAAI,CACzB,GAQMQ,GAAO,CAACxD,EAASgD,KAAU,CAC/B,GAAGS,EAAAA,KAAOzD,CAAO,EACjB,QAAS,CAACA,EAASgD,CAAI,CACzB,GAkBMU,GAAO,CAAC1D,EAASgD,KAAU,CAC/B,GAAGW,EAAAA,KAAO3D,CAAO,EACjB,QAAS,CAACA,EAASgD,CAAI,CACzB,GAkBMY,GAAQ,CAAC5D,EAASgD,KAAU,CAChC,GAAGN,EAAQ1C,CAAO,EAClB,QAAS,CAACA,EAASgD,CAAI,CACzB","x_google_ignoreList":[0]}
|
package/dist/index.cjs496.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const O=require("./index.cjs487.js"),q=require("react"),j=require("./index.cjs504.js"),_=require("./index.cjs505.js"),v=require("./index.cjs506.js"),P=require("./index.cjs507.js");function A(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const l in e)if(l!=="default"){const i=Object.getOwnPropertyDescriptor(e,l);Object.defineProperty(a,l,i.get?i:{enumerable:!0,get:()=>e[l]})}}return a.default=e,Object.freeze(a)}const n=A(q);var g=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},E=function(e){return[e.deltaX,e.deltaY]},M=function(e){return e&&"current"in e?e.current:e},x=function(e,a){return e[0]===a[0]&&e[1]===a[1]},p=function(e){return`
|
|
2
|
-
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
3
|
-
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
4
|
-
`)},I=0,d=[];function W(e){var a=n.useRef([]),l=n.useRef([0,0]),i=n.useRef(),h=n.useState(I++)[0],S=n.useState(_.styleSingleton)[0],b=n.useRef(e);n.useEffect(function(){b.current=e},[e]),n.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(h));var t=O.__spreadArray([e.lockRef.current],(e.shards||[]).map(M),!0).filter(Boolean);return t.forEach(function(r){return r.classList.add("allow-interactivity-".concat(h))}),function(){document.body.classList.remove("block-interactivity-".concat(h)),t.forEach(function(r){return r.classList.remove("allow-interactivity-".concat(h))})}}},[e.inert,e.lockRef.current,e.shards]);var R=n.useCallback(function(t,r){if("touches"in t&&t.touches.length===2||t.type==="wheel"&&t.ctrlKey)return!b.current.allowPinchZoom;var s=g(t),u=l.current,o="deltaX"in t?t.deltaX:u[0]-s[0],f="deltaY"in t?t.deltaY:u[1]-s[1],c,k=t.target,m=Math.abs(o)>Math.abs(f)?"h":"v";if("touches"in t&&m==="h"&&k.type==="range")return!1;var C=P.locationCouldBeScrolled(m,k);if(!C)return!0;if(C?c=m:(c=m==="v"?"h":"v",C=P.locationCouldBeScrolled(m,k)),!C)return!1;if(!i.current&&"changedTouches"in t&&(o||f)&&(i.current=c),!c)return!0;var Y=i.current||c;return P.handleScroll(Y,r,t,Y==="h"?o:f)},[]),y=n.useCallback(function(t){var r=t;if(!(!d.length||d[d.length-1]!==S)){var s="deltaY"in r?E(r):g(r),u=a.current.filter(function(c){return c.name===r.type&&(c.target===r.target||r.target===c.shadowParent)&&x(c.delta,s)})[0];if(u&&u.should){r.cancelable&&r.preventDefault();return}if(!u){var o=(b.current.shards||[]).map(M).filter(Boolean).filter(function(c){return c.contains(r.target)}),f=o.length>0?R(r,o[0]):!b.current.noIsolation;f&&r.cancelable&&r.preventDefault()}}},[]),w=n.useCallback(function(t,r,s,u){var o={name:t,delta:r,target:s,should:u,shadowParent:z(s)};a.current.push(o),setTimeout(function(){a.current=a.current.filter(function(f){return f!==o})},1)},[]),T=n.useCallback(function(t){l.current=g(t),i.current=void 0},[]),L=n.useCallback(function(t){w(t.type,E(t),t.target,R(t,e.lockRef.current))},[]),X=n.useCallback(function(t){w(t.type,g(t),t.target,R(t,e.lockRef.current))},[]);n.useEffect(function(){return d.push(S),e.setCallbacks({onScrollCapture:L,onWheelCapture:L,onTouchMoveCapture:X}),document.addEventListener("wheel",y,v.nonPassive),document.addEventListener("touchmove",y,v.nonPassive),document.addEventListener("touchstart",T,v.nonPassive),function(){d=d.filter(function(t){return t!==S}),document.removeEventListener("wheel",y,v.nonPassive),document.removeEventListener("touchmove",y,v.nonPassive),document.removeEventListener("touchstart",T,v.nonPassive)}},[]);var B=e.removeScrollBar,D=e.inert;return n.createElement(n.Fragment,null,D?n.createElement(S,{styles:p(h)}):null,B?n.createElement(j.RemoveScrollBar,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function z(e){for(var a=null;e!==null;)e instanceof ShadowRoot&&(a=e.host,e=e.host),e=e.parentNode;return a}exports.RemoveScrollSideCar=W;exports.getDeltaXY=E;exports.getTouchXY=g;
|
|
5
|
-
//# sourceMappingURL=index.cjs496.js.map
|
package/dist/index.cjs496.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs496.js","sources":["../node_modules/react-remove-scroll/dist/es2015/SideEffect.js"],"sourcesContent":["import { __spreadArray } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScrollBar } from 'react-remove-scroll-bar';\nimport { styleSingleton } from 'react-style-singleton';\nimport { nonPassive } from './aggresiveCapture';\nimport { handleScroll, locationCouldBeScrolled } from './handleScroll';\nexport var getTouchXY = function (event) {\n return 'changedTouches' in event ? [event.changedTouches[0].clientX, event.changedTouches[0].clientY] : [0, 0];\n};\nexport var getDeltaXY = function (event) { return [event.deltaX, event.deltaY]; };\nvar extractRef = function (ref) {\n return ref && 'current' in ref ? ref.current : ref;\n};\nvar deltaCompare = function (x, y) { return x[0] === y[0] && x[1] === y[1]; };\nvar generateStyle = function (id) { return \"\\n .block-interactivity-\".concat(id, \" {pointer-events: none;}\\n .allow-interactivity-\").concat(id, \" {pointer-events: all;}\\n\"); };\nvar idCounter = 0;\nvar lockStack = [];\nexport function RemoveScrollSideCar(props) {\n var shouldPreventQueue = React.useRef([]);\n var touchStartRef = React.useRef([0, 0]);\n var activeAxis = React.useRef();\n var id = React.useState(idCounter++)[0];\n var Style = React.useState(styleSingleton)[0];\n var lastProps = React.useRef(props);\n React.useEffect(function () {\n lastProps.current = props;\n }, [props]);\n React.useEffect(function () {\n if (props.inert) {\n document.body.classList.add(\"block-interactivity-\".concat(id));\n var allow_1 = __spreadArray([props.lockRef.current], (props.shards || []).map(extractRef), true).filter(Boolean);\n allow_1.forEach(function (el) { return el.classList.add(\"allow-interactivity-\".concat(id)); });\n return function () {\n document.body.classList.remove(\"block-interactivity-\".concat(id));\n allow_1.forEach(function (el) { return el.classList.remove(\"allow-interactivity-\".concat(id)); });\n };\n }\n return;\n }, [props.inert, props.lockRef.current, props.shards]);\n var shouldCancelEvent = React.useCallback(function (event, parent) {\n if (('touches' in event && event.touches.length === 2) || (event.type === 'wheel' && event.ctrlKey)) {\n return !lastProps.current.allowPinchZoom;\n }\n var touch = getTouchXY(event);\n var touchStart = touchStartRef.current;\n var deltaX = 'deltaX' in event ? event.deltaX : touchStart[0] - touch[0];\n var deltaY = 'deltaY' in event ? event.deltaY : touchStart[1] - touch[1];\n var currentAxis;\n var target = event.target;\n var moveDirection = Math.abs(deltaX) > Math.abs(deltaY) ? 'h' : 'v';\n // allow horizontal touch move on Range inputs. They will not cause any scroll\n if ('touches' in event && moveDirection === 'h' && target.type === 'range') {\n return false;\n }\n var canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);\n if (!canBeScrolledInMainDirection) {\n return true;\n }\n if (canBeScrolledInMainDirection) {\n currentAxis = moveDirection;\n }\n else {\n currentAxis = moveDirection === 'v' ? 'h' : 'v';\n canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);\n // other axis might be not scrollable\n }\n if (!canBeScrolledInMainDirection) {\n return false;\n }\n if (!activeAxis.current && 'changedTouches' in event && (deltaX || deltaY)) {\n activeAxis.current = currentAxis;\n }\n if (!currentAxis) {\n return true;\n }\n var cancelingAxis = activeAxis.current || currentAxis;\n return handleScroll(cancelingAxis, parent, event, cancelingAxis === 'h' ? deltaX : deltaY, true);\n }, []);\n var shouldPrevent = React.useCallback(function (_event) {\n var event = _event;\n if (!lockStack.length || lockStack[lockStack.length - 1] !== Style) {\n // not the last active\n return;\n }\n var delta = 'deltaY' in event ? getDeltaXY(event) : getTouchXY(event);\n var sourceEvent = shouldPreventQueue.current.filter(function (e) { return e.name === event.type && (e.target === event.target || event.target === e.shadowParent) && deltaCompare(e.delta, delta); })[0];\n // self event, and should be canceled\n if (sourceEvent && sourceEvent.should) {\n if (event.cancelable) {\n event.preventDefault();\n }\n return;\n }\n // outside or shard event\n if (!sourceEvent) {\n var shardNodes = (lastProps.current.shards || [])\n .map(extractRef)\n .filter(Boolean)\n .filter(function (node) { return node.contains(event.target); });\n var shouldStop = shardNodes.length > 0 ? shouldCancelEvent(event, shardNodes[0]) : !lastProps.current.noIsolation;\n if (shouldStop) {\n if (event.cancelable) {\n event.preventDefault();\n }\n }\n }\n }, []);\n var shouldCancel = React.useCallback(function (name, delta, target, should) {\n var event = { name: name, delta: delta, target: target, should: should, shadowParent: getOutermostShadowParent(target) };\n shouldPreventQueue.current.push(event);\n setTimeout(function () {\n shouldPreventQueue.current = shouldPreventQueue.current.filter(function (e) { return e !== event; });\n }, 1);\n }, []);\n var scrollTouchStart = React.useCallback(function (event) {\n touchStartRef.current = getTouchXY(event);\n activeAxis.current = undefined;\n }, []);\n var scrollWheel = React.useCallback(function (event) {\n shouldCancel(event.type, getDeltaXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));\n }, []);\n var scrollTouchMove = React.useCallback(function (event) {\n shouldCancel(event.type, getTouchXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));\n }, []);\n React.useEffect(function () {\n lockStack.push(Style);\n props.setCallbacks({\n onScrollCapture: scrollWheel,\n onWheelCapture: scrollWheel,\n onTouchMoveCapture: scrollTouchMove,\n });\n document.addEventListener('wheel', shouldPrevent, nonPassive);\n document.addEventListener('touchmove', shouldPrevent, nonPassive);\n document.addEventListener('touchstart', scrollTouchStart, nonPassive);\n return function () {\n lockStack = lockStack.filter(function (inst) { return inst !== Style; });\n document.removeEventListener('wheel', shouldPrevent, nonPassive);\n document.removeEventListener('touchmove', shouldPrevent, nonPassive);\n document.removeEventListener('touchstart', scrollTouchStart, nonPassive);\n };\n }, []);\n var removeScrollBar = props.removeScrollBar, inert = props.inert;\n return (React.createElement(React.Fragment, null,\n inert ? React.createElement(Style, { styles: generateStyle(id) }) : null,\n removeScrollBar ? React.createElement(RemoveScrollBar, { noRelative: props.noRelative, gapMode: props.gapMode }) : null));\n}\nfunction getOutermostShadowParent(node) {\n var shadowParent = null;\n while (node !== null) {\n if (node instanceof ShadowRoot) {\n shadowParent = node.host;\n node = node.host;\n }\n node = node.parentNode;\n }\n return shadowParent;\n}\n"],"names":["getTouchXY","event","getDeltaXY","extractRef","ref","deltaCompare","x","y","generateStyle","id","idCounter","lockStack","RemoveScrollSideCar","props","shouldPreventQueue","React","touchStartRef","activeAxis","Style","styleSingleton","lastProps","allow_1","__spreadArray","el","shouldCancelEvent","parent","touch","touchStart","deltaX","deltaY","currentAxis","target","moveDirection","canBeScrolledInMainDirection","locationCouldBeScrolled","cancelingAxis","handleScroll","shouldPrevent","_event","delta","sourceEvent","e","shardNodes","node","shouldStop","shouldCancel","name","should","getOutermostShadowParent","scrollTouchStart","scrollWheel","scrollTouchMove","nonPassive","inst","removeScrollBar","inert","RemoveScrollBar","shadowParent"],"mappings":"8hBAMU,IAACA,EAAa,SAAUC,EAA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AM,cAAcyC,EAAAA,gBAAiB,CAAE,WAAY3C,EAAM,WAAY,QAASA,EAAM,OAAO,CAAE,EAAI,IAAI,CAC/H,CACA,SAASmC,EAAyBL,EAAM,CAEpC,QADIc,EAAe,KACZd,IAAS,MACRA,aAAgB,aAChBc,EAAed,EAAK,KACpBA,EAAOA,EAAK,MAEhBA,EAAOA,EAAK,WAEhB,OAAOc,CACX","x_google_ignoreList":[0]}
|
package/dist/index.cjs498.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs499.js");function B(n,t,g){let{reference:l,floating:f}=n;const i=e.getSideAxis(t),a=e.getAlignmentAxis(t),d=e.getAxisLength(a),h=e.getSide(t),w=i==="y",c=l.x+l.width/2-f.width/2,o=l.y+l.height/2-f.height/2,m=l[d]/2-f[d]/2;let s;switch(h){case"top":s={x:c,y:l.y-f.height};break;case"bottom":s={x:c,y:l.y+l.height};break;case"right":s={x:l.x+l.width,y:o};break;case"left":s={x:l.x-f.width,y:o};break;default:s={x:l.x,y:l.y}}switch(e.getAlignment(t)){case"start":s[a]-=m*(g&&w?-1:1);break;case"end":s[a]+=m*(g&&w?-1:1);break}return s}const _=async(n,t,g)=>{const{placement:l="bottom",strategy:f="absolute",middleware:i=[],platform:a}=g,d=i.filter(Boolean),h=await(a.isRTL==null?void 0:a.isRTL(t));let w=await a.getElementRects({reference:n,floating:t,strategy:f}),{x:c,y:o}=B(w,l,h),m=l,s={},r=0;for(let u=0;u<d.length;u++){const{name:x,fn:v}=d[u],{x:y,y:A,data:b,reset:p}=await v({x:c,y:o,initialPlacement:l,placement:m,strategy:f,middlewareData:s,rects:w,platform:a,elements:{reference:n,floating:t}});c=y??c,o=A??o,s={...s,[x]:{...s[x],...b}},p&&r<=50&&(r++,typeof p=="object"&&(p.placement&&(m=p.placement),p.rects&&(w=p.rects===!0?await a.getElementRects({reference:n,floating:t,strategy:f}):p.rects),{x:c,y:o}=B(w,m,h)),u=-1)}return{x:c,y:o,placement:m,strategy:f,middlewareData:s}};async function V(n,t){var g;t===void 0&&(t={});const{x:l,y:f,platform:i,rects:a,elements:d,strategy:h}=n,{boundary:w="clippingAncestors",rootBoundary:c="viewport",elementContext:o="floating",altBoundary:m=!1,padding:s=0}=e.evaluate(t,n),r=e.getPaddingObject(s),x=d[m?o==="floating"?"reference":"floating":o],v=e.rectToClientRect(await i.getClippingRect({element:(g=await(i.isElement==null?void 0:i.isElement(x)))==null||g?x:x.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(d.floating)),boundary:w,rootBoundary:c,strategy:h})),y=o==="floating"?{x:l,y:f,width:a.floating.width,height:a.floating.height}:a.reference,A=await(i.getOffsetParent==null?void 0:i.getOffsetParent(d.floating)),b=await(i.isElement==null?void 0:i.isElement(A))?await(i.getScale==null?void 0:i.getScale(A))||{x:1,y:1}:{x:1,y:1},p=e.rectToClientRect(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:y,offsetParent:A,strategy:h}):y);return{top:(v.top-p.top+r.top)/b.y,bottom:(p.bottom-v.bottom+r.bottom)/b.y,left:(v.left-p.left+r.left)/b.x,right:(p.right-v.right+r.right)/b.x}}const X=n=>({name:"arrow",options:n,async fn(t){const{x:g,y:l,placement:f,rects:i,platform:a,elements:d,middlewareData:h}=t,{element:w,padding:c=0}=e.evaluate(n,t)||{};if(w==null)return{};const o=e.getPaddingObject(c),m={x:g,y:l},s=e.getAlignmentAxis(f),r=e.getAxisLength(s),u=await a.getDimensions(w),x=s==="y",v=x?"top":"left",y=x?"bottom":"right",A=x?"clientHeight":"clientWidth",b=i.reference[r]+i.reference[s]-m[s]-i.floating[r],p=m[s]-i.reference[s],P=await(a.getOffsetParent==null?void 0:a.getOffsetParent(w));let C=P?P[A]:0;(!C||!await(a.isElement==null?void 0:a.isElement(P)))&&(C=d.floating[A]||i.floating[r]);const M=b/2-p/2,D=C/2-u[r]/2-1,O=e.min(o[v],D),L=e.min(o[y],D),T=O,H=C-u[r]-L,S=C/2-u[r]/2+M,F=e.clamp(T,S,H),E=!h.arrow&&e.getAlignment(f)!=null&&S!==F&&i.reference[r]/2-(S<T?O:L)-u[r]/2<0,R=E?S<T?S-T:S-H:0;return{[s]:m[s]+R,data:{[s]:F,centerOffset:S-F-R,...E&&{alignmentOffset:R}},reset:E}}}),q=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(t){var g,l;const{placement:f,middlewareData:i,rects:a,initialPlacement:d,platform:h,elements:w}=t,{mainAxis:c=!0,crossAxis:o=!0,fallbackPlacements:m,fallbackStrategy:s="bestFit",fallbackAxisSideDirection:r="none",flipAlignment:u=!0,...x}=e.evaluate(n,t);if((g=i.arrow)!=null&&g.alignmentOffset)return{};const v=e.getSide(f),y=e.getSideAxis(d),A=e.getSide(d)===d,b=await(h.isRTL==null?void 0:h.isRTL(w.floating)),p=m||(A||!u?[e.getOppositePlacement(d)]:e.getExpandedPlacements(d)),P=r!=="none";!m&&P&&p.push(...e.getOppositeAxisPlacements(d,u,r,b));const C=[d,...p],M=await V(t,x),D=[];let O=((l=i.flip)==null?void 0:l.overflows)||[];if(c&&D.push(M[v]),o){const S=e.getAlignmentSides(f,a,b);D.push(M[S[0]],M[S[1]])}if(O=[...O,{placement:f,overflows:D}],!D.every(S=>S<=0)){var L,T;const S=(((L=i.flip)==null?void 0:L.index)||0)+1,F=C[S];if(F&&(!(o==="alignment"?y!==e.getSideAxis(F):!1)||O.every(k=>e.getSideAxis(k.placement)===y?k.overflows[0]>0:!0)))return{data:{index:S,overflows:O},reset:{placement:F}};let E=(T=O.filter(R=>R.overflows[0]<=0).sort((R,k)=>R.overflows[1]-k.overflows[1])[0])==null?void 0:T.placement;if(!E)switch(s){case"bestFit":{var H;const R=(H=O.filter(k=>{if(P){const j=e.getSideAxis(k.placement);return j===y||j==="y"}return!0}).map(k=>[k.placement,k.overflows.filter(j=>j>0).reduce((j,$)=>j+$,0)]).sort((k,j)=>k[1]-j[1])[0])==null?void 0:H[0];R&&(E=R);break}case"initialPlacement":E=d;break}if(f!==E)return{reset:{placement:E}}}return{}}}};function z(n,t){return{top:n.top-t.height,right:n.right-t.width,bottom:n.bottom-t.height,left:n.left-t.width}}function W(n){return e.sides.some(t=>n[t]>=0)}const I=function(n){return n===void 0&&(n={}),{name:"hide",options:n,async fn(t){const{rects:g}=t,{strategy:l="referenceHidden",...f}=e.evaluate(n,t);switch(l){case"referenceHidden":{const i=await V(t,{...f,elementContext:"reference"}),a=z(i,g.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:W(a)}}}case"escaped":{const i=await V(t,{...f,altBoundary:!0}),a=z(i,g.floating);return{data:{escapedOffsets:a,escaped:W(a)}}}default:return{}}}}},Y=new Set(["left","top"]);async function U(n,t){const{placement:g,platform:l,elements:f}=n,i=await(l.isRTL==null?void 0:l.isRTL(f.floating)),a=e.getSide(g),d=e.getAlignment(g),h=e.getSideAxis(g)==="y",w=Y.has(a)?-1:1,c=i&&h?-1:1,o=e.evaluate(t,n);let{mainAxis:m,crossAxis:s,alignmentAxis:r}=typeof o=="number"?{mainAxis:o,crossAxis:0,alignmentAxis:null}:{mainAxis:o.mainAxis||0,crossAxis:o.crossAxis||0,alignmentAxis:o.alignmentAxis};return d&&typeof r=="number"&&(s=d==="end"?r*-1:r),h?{x:s*c,y:m*w}:{x:m*w,y:s*c}}const G=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(t){var g,l;const{x:f,y:i,placement:a,middlewareData:d}=t,h=await U(t,n);return a===((g=d.offset)==null?void 0:g.placement)&&(l=d.arrow)!=null&&l.alignmentOffset?{}:{x:f+h.x,y:i+h.y,data:{...h,placement:a}}}}},J=function(n){return n===void 0&&(n={}),{name:"shift",options:n,async fn(t){const{x:g,y:l,placement:f}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:d={fn:x=>{let{x:v,y}=x;return{x:v,y}}},...h}=e.evaluate(n,t),w={x:g,y:l},c=await V(t,h),o=e.getSideAxis(e.getSide(f)),m=e.getOppositeAxis(o);let s=w[m],r=w[o];if(i){const x=m==="y"?"top":"left",v=m==="y"?"bottom":"right",y=s+c[x],A=s-c[v];s=e.clamp(y,s,A)}if(a){const x=o==="y"?"top":"left",v=o==="y"?"bottom":"right",y=r+c[x],A=r-c[v];r=e.clamp(y,r,A)}const u=d.fn({...t,[m]:s,[o]:r});return{...u,data:{x:u.x-g,y:u.y-l,enabled:{[m]:i,[o]:a}}}}}},K=function(n){return n===void 0&&(n={}),{options:n,fn(t){const{x:g,y:l,placement:f,rects:i,middlewareData:a}=t,{offset:d=0,mainAxis:h=!0,crossAxis:w=!0}=e.evaluate(n,t),c={x:g,y:l},o=e.getSideAxis(f),m=e.getOppositeAxis(o);let s=c[m],r=c[o];const u=e.evaluate(d,t),x=typeof u=="number"?{mainAxis:u,crossAxis:0}:{mainAxis:0,crossAxis:0,...u};if(h){const A=m==="y"?"height":"width",b=i.reference[m]-i.floating[A]+x.mainAxis,p=i.reference[m]+i.reference[A]-x.mainAxis;s<b?s=b:s>p&&(s=p)}if(w){var v,y;const A=m==="y"?"width":"height",b=Y.has(e.getSide(f)),p=i.reference[o]-i.floating[A]+(b&&((v=a.offset)==null?void 0:v[o])||0)+(b?0:x.crossAxis),P=i.reference[o]+i.reference[A]+(b?0:((y=a.offset)==null?void 0:y[o])||0)-(b?x.crossAxis:0);r<p?r=p:r>P&&(r=P)}return{[m]:s,[o]:r}}}},N=function(n){return n===void 0&&(n={}),{name:"size",options:n,async fn(t){var g,l;const{placement:f,rects:i,platform:a,elements:d}=t,{apply:h=()=>{},...w}=e.evaluate(n,t),c=await V(t,w),o=e.getSide(f),m=e.getAlignment(f),s=e.getSideAxis(f)==="y",{width:r,height:u}=i.floating;let x,v;o==="top"||o==="bottom"?(x=o,v=m===(await(a.isRTL==null?void 0:a.isRTL(d.floating))?"start":"end")?"left":"right"):(v=o,x=m==="end"?"top":"bottom");const y=u-c.top-c.bottom,A=r-c.left-c.right,b=e.min(u-c[x],y),p=e.min(r-c[v],A),P=!t.middlewareData.shift;let C=b,M=p;if((g=t.middlewareData.shift)!=null&&g.enabled.x&&(M=A),(l=t.middlewareData.shift)!=null&&l.enabled.y&&(C=y),P&&!m){const O=e.max(c.left,0),L=e.max(c.right,0),T=e.max(c.top,0),H=e.max(c.bottom,0);s?M=r-2*(O!==0||L!==0?O+L:e.max(c.left,c.right)):C=u-2*(T!==0||H!==0?T+H:e.max(c.top,c.bottom))}await h({...t,availableWidth:M,availableHeight:C});const D=await a.getDimensions(d.floating);return r!==D.width||u!==D.height?{reset:{rects:!0}}:{}}}};exports.rectToClientRect=e.rectToClientRect;exports.arrow=X;exports.computePosition=_;exports.detectOverflow=V;exports.flip=q;exports.hide=I;exports.limitShift=K;exports.offset=G;exports.shift=J;exports.size=N;
|
|
2
|
-
//# sourceMappingURL=index.cjs498.js.map
|