@anoki/fse-ui 1.10.1-RC2.15 → 1.10.1-RC2.16.1
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.cjs113.js +1 -1
- package/dist/index.cjs113.js.map +1 -1
- package/dist/index.cjs137.js +1 -1
- package/dist/index.cjs137.js.map +1 -1
- package/dist/index.cjs207.js +1 -1
- package/dist/index.cjs207.js.map +1 -1
- package/dist/index.cjs251.js +1 -1
- package/dist/index.cjs258.js +1 -1
- package/dist/index.cjs264.js +1 -1
- package/dist/index.cjs265.js +1 -1
- package/dist/index.cjs266.js +1 -1
- package/dist/index.cjs267.js +1 -1
- package/dist/index.cjs297.js +1 -1
- package/dist/index.cjs302.js +1 -1
- package/dist/index.cjs310.js +1 -1
- package/dist/index.cjs321.js +1 -1
- package/dist/index.cjs328.js +1 -1
- package/dist/index.cjs359.js +1 -1
- package/dist/index.cjs377.js +1 -1
- package/dist/index.cjs378.js +1 -1
- package/dist/index.cjs400.js +1 -1
- package/dist/index.cjs406.js +1 -1
- package/dist/index.cjs418.js +1 -1
- package/dist/index.cjs437.js +1 -1
- package/dist/index.cjs449.js +1 -1
- package/dist/index.cjs460.js +1 -1
- package/dist/index.cjs461.js +1 -1
- package/dist/index.cjs462.js +1 -27
- package/dist/index.cjs462.js.map +1 -1
- package/dist/index.cjs463.js +2 -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 -2
- package/dist/index.cjs466.js.map +1 -1
- package/dist/index.cjs467.js +27 -1
- package/dist/index.cjs467.js.map +1 -1
- package/dist/index.cjs468.js +1 -1
- package/dist/index.cjs468.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.cjs473.js +1 -1
- package/dist/index.cjs473.js.map +1 -1
- package/dist/index.cjs474.js +1 -1
- package/dist/index.cjs474.js.map +1 -1
- package/dist/index.cjs475.js +1 -1
- package/dist/index.cjs475.js.map +1 -1
- package/dist/index.cjs476.js +1 -1
- package/dist/index.cjs476.js.map +1 -1
- package/dist/index.cjs477.js +1 -1
- package/dist/index.cjs477.js.map +1 -1
- package/dist/index.cjs478.js +2 -0
- package/dist/index.cjs478.js.map +1 -0
- package/dist/index.cjs479.js +2 -0
- package/dist/index.cjs479.js.map +1 -0
- package/dist/index.cjs481.js +1 -1
- package/dist/index.cjs482.js +1 -1
- package/dist/index.cjs498.js +1 -1
- package/dist/index.cjs498.js.map +1 -1
- package/dist/{index.cjs489.js → index.cjs499.js} +2 -2
- package/dist/{index.cjs489.js.map → index.cjs499.js.map} +1 -1
- package/dist/{index.cjs490.js → index.cjs500.js} +2 -2
- package/dist/{index.cjs490.js.map → index.cjs500.js.map} +1 -1
- package/dist/{index.cjs491.js → index.cjs501.js} +1 -1
- package/dist/{index.cjs491.js.map → index.cjs501.js.map} +1 -1
- package/dist/{index.cjs492.js → index.cjs502.js} +2 -2
- package/dist/{index.cjs492.js.map → index.cjs502.js.map} +1 -1
- package/dist/{index.cjs493.js → index.cjs503.js} +1 -1
- package/dist/{index.cjs493.js.map → index.cjs503.js.map} +1 -1
- package/dist/{index.cjs494.js → index.cjs504.js} +2 -2
- package/dist/{index.cjs494.js.map → index.cjs504.js.map} +1 -1
- package/dist/index.cjs508.js +2 -0
- package/dist/index.cjs508.js.map +1 -0
- package/dist/{index.cjs513.js → index.cjs511.js} +2 -2
- package/dist/{index.cjs513.js.map → index.cjs511.js.map} +1 -1
- package/dist/{index.cjs514.js → index.cjs512.js} +1 -1
- package/dist/index.cjs512.js.map +1 -0
- package/dist/{index.cjs519.js → index.cjs516.js} +1 -1
- package/dist/index.cjs516.js.map +1 -0
- package/dist/{index.cjs522.js → index.cjs517.js} +1 -1
- package/dist/index.cjs517.js.map +1 -0
- package/dist/index.cjs520.js +1 -1
- package/dist/index.cjs520.js.map +1 -1
- package/dist/index.cjs523.js +1 -1
- package/dist/index.cjs523.js.map +1 -1
- package/dist/index.cjs524.js +2 -0
- package/dist/index.cjs524.js.map +1 -0
- package/dist/index.cjs525.js +2 -0
- package/dist/index.cjs525.js.map +1 -0
- package/dist/index.cjs526.js +1 -1
- package/dist/index.cjs526.js.map +1 -1
- package/dist/index.cjs527.js +1 -1
- package/dist/index.cjs527.js.map +1 -1
- package/dist/index.cjs528.js +1 -1
- package/dist/index.cjs529.js +1 -1
- package/dist/index.cjs529.js.map +1 -1
- package/dist/index.cjs530.js +1 -1
- package/dist/index.cjs530.js.map +1 -1
- package/dist/index.cjs532.js +1 -1
- package/dist/index.cjs532.js.map +1 -1
- package/dist/index.cjs533.js +1 -1
- package/dist/index.cjs533.js.map +1 -1
- package/dist/index.cjs534.js +1 -1
- package/dist/index.cjs534.js.map +1 -1
- package/dist/index.cjs535.js +1 -1
- package/dist/index.cjs535.js.map +1 -1
- package/dist/index.cjs536.js +1 -1
- package/dist/index.cjs536.js.map +1 -1
- package/dist/index.cjs538.js +1 -1
- package/dist/index.cjs576.js +1 -1
- package/dist/index.cjs576.js.map +1 -1
- package/dist/index.cjs577.js +1 -1
- package/dist/index.cjs577.js.map +1 -1
- package/dist/index.cjs578.js +1 -1
- package/dist/index.cjs578.js.map +1 -1
- package/dist/index.cjs579.js +1 -1
- package/dist/index.cjs579.js.map +1 -1
- package/dist/index.cjs580.js +1 -1
- package/dist/index.cjs580.js.map +1 -1
- package/dist/index.cjs581.js +1 -1
- package/dist/index.cjs581.js.map +1 -1
- package/dist/index.cjs582.js +1 -1
- package/dist/index.cjs582.js.map +1 -1
- package/dist/index.cjs583.js +1 -1
- package/dist/index.cjs583.js.map +1 -1
- package/dist/index.cjs584.js +1 -1
- package/dist/index.cjs584.js.map +1 -1
- package/dist/index.cjs585.js +1 -1
- package/dist/index.cjs585.js.map +1 -1
- package/dist/index.cjs586.js +1 -1
- package/dist/index.cjs586.js.map +1 -1
- package/dist/index.cjs587.js +1 -1
- package/dist/index.cjs587.js.map +1 -1
- package/dist/index.cjs588.js +1 -1
- package/dist/index.cjs588.js.map +1 -1
- package/dist/index.cjs589.js +1 -1
- package/dist/index.cjs589.js.map +1 -1
- package/dist/index.cjs590.js +1 -1
- package/dist/index.cjs590.js.map +1 -1
- package/dist/index.cjs591.js +1 -1
- package/dist/index.cjs591.js.map +1 -1
- package/dist/index.cjs592.js +1 -1
- package/dist/index.cjs592.js.map +1 -1
- package/dist/index.cjs593.js +1 -1
- package/dist/index.cjs593.js.map +1 -1
- package/dist/index.cjs594.js +1 -1
- package/dist/index.cjs594.js.map +1 -1
- package/dist/index.cjs595.js +1 -1
- package/dist/index.cjs595.js.map +1 -1
- package/dist/index.cjs596.js +1 -1
- package/dist/index.cjs596.js.map +1 -1
- package/dist/index.cjs597.js +1 -1
- package/dist/index.cjs597.js.map +1 -1
- package/dist/index.cjs598.js +1 -1
- package/dist/index.cjs598.js.map +1 -1
- package/dist/index.cjs599.js +1 -1
- package/dist/index.cjs599.js.map +1 -1
- package/dist/index.cjs600.js +1 -1
- package/dist/index.cjs600.js.map +1 -1
- package/dist/index.cjs601.js +1 -1
- package/dist/index.cjs601.js.map +1 -1
- package/dist/index.cjs602.js +1 -1
- package/dist/index.cjs602.js.map +1 -1
- package/dist/index.cjs603.js +1 -1
- package/dist/index.cjs603.js.map +1 -1
- package/dist/index.cjs604.js +1 -1
- package/dist/index.cjs604.js.map +1 -1
- package/dist/index.cjs605.js +1 -1
- package/dist/index.cjs605.js.map +1 -1
- package/dist/index.cjs606.js +1 -1
- package/dist/index.cjs606.js.map +1 -1
- package/dist/index.cjs607.js +1 -1
- package/dist/index.cjs607.js.map +1 -1
- package/dist/index.cjs608.js +1 -1
- package/dist/index.cjs608.js.map +1 -1
- package/dist/index.cjs645.js +1 -1
- package/dist/index.cjs647.js +1 -1
- package/dist/index.cjs648.js +1 -1
- package/dist/index.cjs662.js +38 -1
- package/dist/index.cjs662.js.map +1 -1
- package/dist/index.cjs663.js +1 -38
- package/dist/index.cjs663.js.map +1 -1
- package/dist/index.cjs664.js +1 -1
- package/dist/index.cjs664.js.map +1 -1
- package/dist/index.cjs665.js +1 -1
- package/dist/index.cjs665.js.map +1 -1
- package/dist/index.cjs666.js +1 -1
- package/dist/index.cjs666.js.map +1 -1
- package/dist/index.cjs667.js +1 -1
- package/dist/index.cjs667.js.map +1 -1
- package/dist/index.cjs668.js +1 -1
- package/dist/index.cjs668.js.map +1 -1
- package/dist/index.cjs669.js +1 -1
- package/dist/index.cjs669.js.map +1 -1
- package/dist/index.cjs670.js +1 -1
- package/dist/index.cjs670.js.map +1 -1
- package/dist/index.es113.js +1 -0
- package/dist/index.es113.js.map +1 -1
- package/dist/index.es137.js +11 -10
- package/dist/index.es137.js.map +1 -1
- package/dist/index.es207.js +12 -12
- package/dist/index.es207.js.map +1 -1
- package/dist/index.es251.js +1 -1
- package/dist/index.es258.js +2 -2
- package/dist/index.es264.js +3 -3
- package/dist/index.es265.js +1 -1
- package/dist/index.es266.js +2 -2
- package/dist/index.es267.js +2 -2
- package/dist/index.es297.js +7 -7
- package/dist/index.es302.js +1 -1
- package/dist/index.es310.js +5 -5
- package/dist/index.es321.js +1 -1
- package/dist/index.es328.js +13 -13
- package/dist/index.es359.js +5 -5
- package/dist/index.es377.js +6 -6
- package/dist/index.es378.js +2 -2
- package/dist/index.es400.js +4 -4
- package/dist/index.es406.js +1 -1
- package/dist/index.es418.js +8 -8
- package/dist/index.es437.js +1 -1
- package/dist/index.es449.js +1 -1
- package/dist/index.es460.js +1 -1
- package/dist/index.es461.js +1 -1
- package/dist/index.es462.js +5 -3674
- package/dist/index.es462.js.map +1 -1
- package/dist/index.es463.js +520 -5
- package/dist/index.es463.js.map +1 -1
- package/dist/index.es464.js +2032 -2
- package/dist/index.es464.js.map +1 -1
- package/dist/index.es465.js +59 -5
- package/dist/index.es465.js.map +1 -1
- package/dist/index.es466.js +185 -517
- package/dist/index.es466.js.map +1 -1
- package/dist/index.es467.js +3664 -2021
- package/dist/index.es467.js.map +1 -1
- package/dist/index.es468.js +5 -59
- package/dist/index.es468.js.map +1 -1
- package/dist/index.es469.js +2 -189
- package/dist/index.es469.js.map +1 -1
- package/dist/index.es470.js +15 -7
- package/dist/index.es470.js.map +1 -1
- package/dist/index.es473.js +6 -29
- package/dist/index.es473.js.map +1 -1
- package/dist/index.es474.js +26 -32
- package/dist/index.es474.js.map +1 -1
- package/dist/index.es475.js +63 -617
- package/dist/index.es475.js.map +1 -1
- package/dist/index.es476.js +29 -10
- package/dist/index.es476.js.map +1 -1
- package/dist/index.es477.js +33 -15
- package/dist/index.es477.js.map +1 -1
- package/dist/index.es478.js +625 -0
- package/dist/index.es478.js.map +1 -0
- package/dist/index.es479.js +14 -0
- package/dist/index.es479.js.map +1 -0
- package/dist/index.es481.js +1 -1
- package/dist/index.es482.js +2 -2
- package/dist/index.es498.js +124 -14
- package/dist/index.es498.js.map +1 -1
- package/dist/{index.es489.js → index.es499.js} +3 -3
- package/dist/{index.es489.js.map → index.es499.js.map} +1 -1
- package/dist/{index.es490.js → index.es500.js} +3 -3
- package/dist/{index.es490.js.map → index.es500.js.map} +1 -1
- package/dist/{index.es491.js → index.es501.js} +1 -1
- package/dist/{index.es491.js.map → index.es501.js.map} +1 -1
- package/dist/{index.es492.js → index.es502.js} +4 -4
- package/dist/{index.es492.js.map → index.es502.js.map} +1 -1
- package/dist/{index.es493.js → index.es503.js} +1 -1
- package/dist/{index.es493.js.map → index.es503.js.map} +1 -1
- package/dist/{index.es494.js → index.es504.js} +2 -2
- package/dist/{index.es494.js.map → index.es504.js.map} +1 -1
- package/dist/index.es508.js +18 -0
- package/dist/index.es508.js.map +1 -0
- package/dist/{index.es513.js → index.es511.js} +3 -3
- package/dist/{index.es513.js.map → index.es511.js.map} +1 -1
- package/dist/{index.es514.js → index.es512.js} +1 -1
- package/dist/index.es512.js.map +1 -0
- package/dist/{index.es519.js → index.es516.js} +1 -1
- package/dist/index.es516.js.map +1 -0
- package/dist/index.es517.js +5 -0
- package/dist/index.es517.js.map +1 -0
- package/dist/index.es520.js +4 -53
- package/dist/index.es520.js.map +1 -1
- package/dist/index.es523.js +21 -2
- package/dist/index.es523.js.map +1 -1
- package/dist/{index.es522.js → index.es524.js} +1 -1
- package/dist/index.es524.js.map +1 -0
- package/dist/index.es525.js +57 -0
- package/dist/index.es525.js.map +1 -0
- package/dist/index.es526.js +202 -4
- package/dist/index.es526.js.map +1 -1
- package/dist/index.es527.js +8 -131
- package/dist/index.es527.js.map +1 -1
- package/dist/index.es528.js +1 -1
- package/dist/index.es529.js +3 -9
- package/dist/index.es529.js.map +1 -1
- package/dist/index.es530.js +131 -2
- package/dist/index.es530.js.map +1 -1
- package/dist/index.es532.js +4 -46
- package/dist/index.es532.js.map +1 -1
- package/dist/index.es533.js +45 -13
- package/dist/index.es533.js.map +1 -1
- package/dist/index.es534.js +12 -216
- package/dist/index.es534.js.map +1 -1
- package/dist/index.es535.js +203 -163
- package/dist/index.es535.js.map +1 -1
- package/dist/index.es536.js +177 -3
- package/dist/index.es536.js.map +1 -1
- package/dist/index.es538.js +1 -1
- package/dist/index.es576.js +202 -22
- package/dist/index.es576.js.map +1 -1
- package/dist/index.es577.js +20 -27
- package/dist/index.es577.js.map +1 -1
- package/dist/index.es578.js +393 -5
- package/dist/index.es578.js.map +1 -1
- package/dist/index.es579.js +22 -202
- package/dist/index.es579.js.map +1 -1
- package/dist/index.es580.js +27 -20
- package/dist/index.es580.js.map +1 -1
- package/dist/index.es581.js +5 -393
- package/dist/index.es581.js.map +1 -1
- package/dist/index.es582.js +5 -83
- package/dist/index.es582.js.map +1 -1
- package/dist/index.es583.js +16 -5
- package/dist/index.es583.js.map +1 -1
- package/dist/index.es584.js +12 -15
- package/dist/index.es584.js.map +1 -1
- package/dist/index.es585.js +36 -13
- package/dist/index.es585.js.map +1 -1
- package/dist/index.es586.js +5 -36
- package/dist/index.es586.js.map +1 -1
- package/dist/index.es587.js +2 -5
- package/dist/index.es587.js.map +1 -1
- package/dist/index.es588.js +3 -2
- package/dist/index.es588.js.map +1 -1
- package/dist/index.es589.js +7 -3
- package/dist/index.es589.js.map +1 -1
- package/dist/index.es590.js +6 -7
- package/dist/index.es590.js.map +1 -1
- package/dist/index.es591.js +5 -6
- package/dist/index.es591.js.map +1 -1
- package/dist/index.es592.js +32 -5
- package/dist/index.es592.js.map +1 -1
- package/dist/index.es593.js +242 -32
- package/dist/index.es593.js.map +1 -1
- package/dist/index.es594.js +4 -242
- package/dist/index.es594.js.map +1 -1
- package/dist/index.es595.js +5 -4
- package/dist/index.es595.js.map +1 -1
- package/dist/index.es596.js +9 -4
- package/dist/index.es596.js.map +1 -1
- package/dist/index.es597.js +55 -9
- package/dist/index.es597.js.map +1 -1
- package/dist/index.es598.js +7 -55
- package/dist/index.es598.js.map +1 -1
- package/dist/index.es599.js +5 -7
- package/dist/index.es599.js.map +1 -1
- package/dist/index.es600.js +532 -5
- package/dist/index.es600.js.map +1 -1
- package/dist/index.es601.js +13 -532
- package/dist/index.es601.js.map +1 -1
- package/dist/index.es602.js +2 -14
- package/dist/index.es602.js.map +1 -1
- package/dist/index.es603.js +37 -2
- package/dist/index.es603.js.map +1 -1
- package/dist/index.es604.js +2 -37
- package/dist/index.es604.js.map +1 -1
- package/dist/index.es605.js +273 -2
- package/dist/index.es605.js.map +1 -1
- package/dist/index.es606.js +3 -273
- package/dist/index.es606.js.map +1 -1
- package/dist/index.es607.js +30 -3
- package/dist/index.es607.js.map +1 -1
- package/dist/index.es608.js +81 -28
- package/dist/index.es608.js.map +1 -1
- package/dist/index.es645.js +1 -1
- package/dist/index.es647.js +5 -5
- package/dist/index.es648.js +1 -1
- package/dist/index.es662.js +69 -65
- package/dist/index.es662.js.map +1 -1
- package/dist/index.es663.js +8 -68
- package/dist/index.es663.js.map +1 -1
- package/dist/index.es664.js +14 -9
- package/dist/index.es664.js.map +1 -1
- package/dist/index.es665.js +62 -14
- package/dist/index.es665.js.map +1 -1
- package/dist/index.es666.js +64 -61
- package/dist/index.es666.js.map +1 -1
- package/dist/index.es667.js +522 -3
- package/dist/index.es667.js.map +1 -1
- package/dist/index.es668.js +113 -509
- package/dist/index.es668.js.map +1 -1
- package/dist/index.es669.js +123 -121
- package/dist/index.es669.js.map +1 -1
- package/dist/index.es670.js +3 -128
- package/dist/index.es670.js.map +1 -1
- package/package.json +5 -4
- package/dist/index.cjs471.js +0 -2
- package/dist/index.cjs471.js.map +0 -1
- package/dist/index.cjs472.js +0 -2
- package/dist/index.cjs472.js.map +0 -1
- package/dist/index.cjs488.js +0 -2
- package/dist/index.cjs488.js.map +0 -1
- package/dist/index.cjs514.js.map +0 -1
- package/dist/index.cjs518.js +0 -2
- package/dist/index.cjs518.js.map +0 -1
- package/dist/index.cjs519.js.map +0 -1
- package/dist/index.cjs521.js +0 -2
- package/dist/index.cjs521.js.map +0 -1
- package/dist/index.cjs522.js.map +0 -1
- package/dist/index.es471.js +0 -30
- package/dist/index.es471.js.map +0 -1
- package/dist/index.es472.js +0 -71
- package/dist/index.es472.js.map +0 -1
- package/dist/index.es488.js +0 -128
- package/dist/index.es488.js.map +0 -1
- package/dist/index.es514.js.map +0 -1
- package/dist/index.es518.js +0 -24
- package/dist/index.es518.js.map +0 -1
- package/dist/index.es519.js.map +0 -1
- package/dist/index.es521.js +0 -206
- package/dist/index.es521.js.map +0 -1
- package/dist/index.es522.js.map +0 -1
package/dist/index.es579.js
CHANGED
@@ -1,208 +1,28 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
var w = typeof document < "u" ? Y : Z;
|
7
|
-
function R(e, t) {
|
8
|
-
if (e === t)
|
9
|
-
return !0;
|
10
|
-
if (typeof e != typeof t)
|
11
|
-
return !1;
|
12
|
-
if (typeof e == "function" && e.toString() === t.toString())
|
13
|
-
return !0;
|
14
|
-
let n, r, s;
|
15
|
-
if (e && t && typeof e == "object") {
|
16
|
-
if (Array.isArray(e)) {
|
17
|
-
if (n = e.length, n !== t.length) return !1;
|
18
|
-
for (r = n; r-- !== 0; )
|
19
|
-
if (!R(e[r], t[r]))
|
20
|
-
return !1;
|
21
|
-
return !0;
|
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]);
|
22
6
|
}
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
return !0;
|
34
|
-
}
|
35
|
-
return e !== e && t !== t;
|
36
|
-
}
|
37
|
-
function A(e) {
|
38
|
-
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
39
|
-
}
|
40
|
-
function v(e, t) {
|
41
|
-
const n = A(e);
|
42
|
-
return Math.round(t * n) / n;
|
43
|
-
}
|
44
|
-
function E(e) {
|
45
|
-
const t = f.useRef(e);
|
46
|
-
return w(() => {
|
47
|
-
t.current = e;
|
48
|
-
}), t;
|
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;
|
49
17
|
}
|
50
|
-
function
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
strategy: n = "absolute",
|
55
|
-
middleware: r = [],
|
56
|
-
platform: s,
|
57
|
-
elements: {
|
58
|
-
reference: p,
|
59
|
-
floating: q
|
60
|
-
} = {},
|
61
|
-
transform: k = !0,
|
62
|
-
whileElementsMounted: D,
|
63
|
-
open: x
|
64
|
-
} = e, [i, O] = f.useState({
|
65
|
-
x: 0,
|
66
|
-
y: 0,
|
67
|
-
strategy: n,
|
68
|
-
placement: t,
|
69
|
-
middlewareData: {},
|
70
|
-
isPositioned: !1
|
71
|
-
}), [M, B] = f.useState(r);
|
72
|
-
R(M, r) || B(r);
|
73
|
-
const [U, V] = f.useState(null), [W, G] = f.useState(null), _ = f.useCallback((o) => {
|
74
|
-
o !== a.current && (a.current = o, V(o));
|
75
|
-
}, []), C = f.useCallback((o) => {
|
76
|
-
o !== d.current && (d.current = o, G(o));
|
77
|
-
}, []), u = p || U, l = q || W, a = f.useRef(null), d = f.useRef(null), y = f.useRef(i), H = D != null, S = E(D), P = E(s), F = E(x), g = f.useCallback(() => {
|
78
|
-
if (!a.current || !d.current)
|
79
|
-
return;
|
80
|
-
const o = {
|
81
|
-
placement: t,
|
82
|
-
strategy: n,
|
83
|
-
middleware: M
|
84
|
-
};
|
85
|
-
P.current && (o.platform = P.current), I(a.current, d.current, o).then((h) => {
|
86
|
-
const m = {
|
87
|
-
...h,
|
88
|
-
// The floating element's position may be recomputed while it's closed
|
89
|
-
// but still mounted (such as when transitioning out). To ensure
|
90
|
-
// `isPositioned` will be `false` initially on the next open, avoid
|
91
|
-
// setting it to `true` when `open === false` (must be specified).
|
92
|
-
isPositioned: F.current !== !1
|
93
|
-
};
|
94
|
-
$.current && !R(y.current, m) && (y.current = m, b.flushSync(() => {
|
95
|
-
O(m);
|
96
|
-
}));
|
97
|
-
});
|
98
|
-
}, [M, t, n, P, F]);
|
99
|
-
w(() => {
|
100
|
-
x === !1 && y.current.isPositioned && (y.current.isPositioned = !1, O((o) => ({
|
101
|
-
...o,
|
102
|
-
isPositioned: !1
|
103
|
-
})));
|
104
|
-
}, [x]);
|
105
|
-
const $ = f.useRef(!1);
|
106
|
-
w(() => ($.current = !0, () => {
|
107
|
-
$.current = !1;
|
108
|
-
}), []), w(() => {
|
109
|
-
if (u && (a.current = u), l && (d.current = l), u && l) {
|
110
|
-
if (S.current)
|
111
|
-
return S.current(u, l, g);
|
112
|
-
g();
|
113
|
-
}
|
114
|
-
}, [u, l, g, S, H]);
|
115
|
-
const j = f.useMemo(() => ({
|
116
|
-
reference: a,
|
117
|
-
floating: d,
|
118
|
-
setReference: _,
|
119
|
-
setFloating: C
|
120
|
-
}), [_, C]), c = f.useMemo(() => ({
|
121
|
-
reference: u,
|
122
|
-
floating: l
|
123
|
-
}), [u, l]), z = f.useMemo(() => {
|
124
|
-
const o = {
|
125
|
-
position: n,
|
126
|
-
left: 0,
|
127
|
-
top: 0
|
128
|
-
};
|
129
|
-
if (!c.floating)
|
130
|
-
return o;
|
131
|
-
const h = v(c.floating, i.x), m = v(c.floating, i.y);
|
132
|
-
return k ? {
|
133
|
-
...o,
|
134
|
-
transform: "translate(" + h + "px, " + m + "px)",
|
135
|
-
...A(c.floating) >= 1.5 && {
|
136
|
-
willChange: "transform"
|
137
|
-
}
|
138
|
-
} : {
|
139
|
-
position: n,
|
140
|
-
left: h,
|
141
|
-
top: m
|
142
|
-
};
|
143
|
-
}, [n, k, c.floating, i.x, i.y]);
|
144
|
-
return f.useMemo(() => ({
|
145
|
-
...i,
|
146
|
-
update: g,
|
147
|
-
refs: j,
|
148
|
-
elements: c,
|
149
|
-
floatingStyles: z
|
150
|
-
}), [i, g, j, c, z]);
|
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));
|
151
22
|
}
|
152
|
-
const ee = (e) => {
|
153
|
-
function t(n) {
|
154
|
-
return {}.hasOwnProperty.call(n, "current");
|
155
|
-
}
|
156
|
-
return {
|
157
|
-
name: "arrow",
|
158
|
-
options: e,
|
159
|
-
fn(n) {
|
160
|
-
const {
|
161
|
-
element: r,
|
162
|
-
padding: s
|
163
|
-
} = typeof e == "function" ? e(n) : e;
|
164
|
-
return r && t(r) ? r.current != null ? L({
|
165
|
-
element: r.current,
|
166
|
-
padding: s
|
167
|
-
}).fn(n) : {} : r ? L({
|
168
|
-
element: r,
|
169
|
-
padding: s
|
170
|
-
}).fn(n) : {};
|
171
|
-
}
|
172
|
-
};
|
173
|
-
}, fe = (e, t) => ({
|
174
|
-
...J(e),
|
175
|
-
options: [e, t]
|
176
|
-
}), oe = (e, t) => ({
|
177
|
-
...K(e),
|
178
|
-
options: [e, t]
|
179
|
-
}), se = (e, t) => ({
|
180
|
-
...X(e),
|
181
|
-
options: [e, t]
|
182
|
-
}), ie = (e, t) => ({
|
183
|
-
...N(e),
|
184
|
-
options: [e, t]
|
185
|
-
}), ue = (e, t) => ({
|
186
|
-
...Q(e),
|
187
|
-
options: [e, t]
|
188
|
-
}), le = (e, t) => ({
|
189
|
-
...T(e),
|
190
|
-
options: [e, t]
|
191
|
-
}), ce = (e, t) => ({
|
192
|
-
...ee(e),
|
193
|
-
options: [e, t]
|
194
|
-
});
|
195
23
|
export {
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
ie as flip,
|
200
|
-
le as hide,
|
201
|
-
se as limitShift,
|
202
|
-
fe as offset,
|
203
|
-
pe as platform,
|
204
|
-
oe as shift,
|
205
|
-
ue as size,
|
206
|
-
re as useFloating
|
24
|
+
p as __assign,
|
25
|
+
c as __rest,
|
26
|
+
l as __spreadArray
|
207
27
|
};
|
208
28
|
//# sourceMappingURL=index.es579.js.map
|
package/dist/index.es579.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es579.js","sources":["../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs"],"sourcesContent":["import { computePosition, arrow as arrow$2, offset as offset$1, shift as shift$1, limitShift as limitShift$1, flip as flip$1, size as size$1, autoPlacement as autoPlacement$1, hide as hide$1, inline as inline$1 } from '@floating-ui/dom';\nexport { autoUpdate, computePosition, detectOverflow, getOverflowAncestors, platform } from '@floating-ui/dom';\nimport * as React from 'react';\nimport { useLayoutEffect, useEffect } from 'react';\nimport * as ReactDOM from 'react-dom';\n\nvar index = typeof document !== 'undefined' ? useLayoutEffect : useEffect;\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":["index","useLayoutEffect","useEffect","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":";;;;;AAMA,IAAIA,IAAQ,OAAO,WAAa,MAAcC,IAAkBC;AAIhE,SAASC,EAAUC,GAAGC,GAAG;AACvB,MAAID,MAAMC;AACR,WAAO;AAET,MAAI,OAAOD,KAAM,OAAOC;AACtB,WAAO;AAET,MAAI,OAAOD,KAAM,cAAcA,EAAE,eAAeC,EAAE;AAChD,WAAO;AAET,MAAIC,GACAC,GACAC;AACJ,MAAIJ,KAAKC,KAAK,OAAOD,KAAM,UAAU;AACnC,QAAI,MAAM,QAAQA,CAAC,GAAG;AAEpB,UADAE,IAASF,EAAE,QACPE,MAAWD,EAAE,OAAQ,QAAO;AAChC,WAAKE,IAAID,GAAQC,QAAQ;AACvB,YAAI,CAACJ,EAAUC,EAAEG,CAAC,GAAGF,EAAEE,CAAC,CAAC;AACvB,iBAAO;AAGX,aAAO;AAAA,IACb;AAGI,QAFAC,IAAO,OAAO,KAAKJ,CAAC,GACpBE,IAASE,EAAK,QACVF,MAAW,OAAO,KAAKD,CAAC,EAAE;AAC5B,aAAO;AAET,SAAKE,IAAID,GAAQC,QAAQ;AACvB,UAAI,CAAC,CAAE,EAAC,e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AAC/C,GAASgD,OAAU;AAAA,EACjC,GAAGC,EAASjD,CAAO;AAAA,EACnB,SAAS,CAACA,GAASgD,CAAI;AACzB,IAOME,KAAQ,CAAClD,GAASgD,OAAU;AAAA,EAChC,GAAGG,EAAQnD,CAAO;AAAA,EAClB,SAAS,CAACA,GAASgD,CAAI;AACzB,IAKMI,KAAa,CAACpD,GAASgD,OAAU;AAAA,EACrC,GAAGK,EAAarD,CAAO;AAAA,EACvB,SAAS,CAACA,GAASgD,CAAI;AACzB,IAQMM,KAAO,CAACtD,GAASgD,OAAU;AAAA,EAC/B,GAAGO,EAAOvD,CAAO;AAAA,EACjB,SAAS,CAACA,GAASgD,CAAI;AACzB,IAQMQ,KAAO,CAACxD,GAASgD,OAAU;AAAA,EAC/B,GAAGS,EAAOzD,CAAO;AAAA,EACjB,SAAS,CAACA,GAASgD,CAAI;AACzB,IAkBMU,KAAO,CAAC1D,GAASgD,OAAU;AAAA,EAC/B,GAAGW,EAAO3D,CAAO;AAAA,EACjB,SAAS,CAACA,GAASgD,CAAI;AACzB,IAkBMY,KAAQ,CAAC5D,GAASgD,OAAU;AAAA,EAChC,GAAGN,GAAQ1C,CAAO;AAAA,EAClB,SAAS,CAACA,GAASgD,CAAI;AACzB;","x_google_ignoreList":[0]}
|
1
|
+
{"version":3,"file":"index.es579.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.es580.js
CHANGED
@@ -1,25 +1,32 @@
|
|
1
|
-
import
|
2
|
-
import
|
3
|
-
import {
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
}
|
1
|
+
import { __rest as k, __assign as r } from "./index.es579.js";
|
2
|
+
import * as a from "react";
|
3
|
+
import { zeroRightClassName as E, fullWidthClassName as I } from "./index.es644.js";
|
4
|
+
import { effectCar as Z } from "./index.es645.js";
|
5
|
+
import { useMergeRefs as W } from "./index.es646.js";
|
6
|
+
var o = function() {
|
7
|
+
}, m = a.forwardRef(function(e, d) {
|
8
|
+
var l = a.useRef(null), n = a.useState({
|
9
|
+
onScrollCapture: o,
|
10
|
+
onWheelCapture: o,
|
11
|
+
onTouchMoveCapture: o
|
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([l, 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: l, 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)
|
17
18
|
);
|
18
19
|
});
|
19
|
-
|
20
|
-
|
20
|
+
m.defaultProps = {
|
21
|
+
enabled: !0,
|
22
|
+
removeScrollBar: !0,
|
23
|
+
inert: !1
|
24
|
+
};
|
25
|
+
m.classNames = {
|
26
|
+
fullWidth: I,
|
27
|
+
zeroRight: E
|
28
|
+
};
|
21
29
|
export {
|
22
|
-
|
23
|
-
h as Root
|
30
|
+
m as RemoveScroll
|
24
31
|
};
|
25
32
|
//# sourceMappingURL=index.es580.js.map
|
package/dist/index.es580.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es580.js","sources":["../node_modules
|
1
|
+
{"version":3,"file":"index.es580.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","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