@anoki/fse-ui 1.10.1-RC2.16.1 → 1.10.1-RC2.16.3
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.cjs137.js +1 -1
- package/dist/index.cjs137.js.map +1 -1
- package/dist/index.cjs206.js +1 -1
- package/dist/index.cjs206.js.map +1 -1
- package/dist/index.cjs226.js +1 -1
- package/dist/index.cjs226.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.cjs32.js +1 -1
- package/dist/index.cjs321.js +1 -1
- package/dist/index.cjs328.js +1 -1
- package/dist/index.cjs33.js +1 -1
- package/dist/index.cjs335.js +1 -1
- package/dist/index.cjs340.js +1 -1
- package/dist/index.cjs351.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.cjs441.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.cjs464.js +27 -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 -27
- 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.cjs471.js +2 -0
- package/dist/index.cjs471.js.map +1 -0
- package/dist/index.cjs472.js +2 -0
- package/dist/index.cjs472.js.map +1 -0
- 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.cjs481.js +1 -1
- package/dist/index.cjs482.js +1 -1
- package/dist/index.cjs485.js +2 -0
- package/dist/index.cjs485.js.map +1 -0
- package/dist/{index.cjs499.js → index.cjs486.js} +2 -2
- package/dist/{index.cjs499.js.map → index.cjs486.js.map} +1 -1
- package/dist/{index.cjs500.js → index.cjs487.js} +2 -2
- package/dist/{index.cjs500.js.map → index.cjs487.js.map} +1 -1
- package/dist/{index.cjs501.js → index.cjs488.js} +1 -1
- package/dist/{index.cjs501.js.map → index.cjs488.js.map} +1 -1
- package/dist/{index.cjs502.js → index.cjs489.js} +1 -1
- package/dist/{index.cjs502.js.map → index.cjs489.js.map} +1 -1
- package/dist/{index.cjs503.js → index.cjs490.js} +1 -1
- package/dist/{index.cjs503.js.map → index.cjs490.js.map} +1 -1
- package/dist/{index.cjs504.js → index.cjs491.js} +2 -2
- package/dist/{index.cjs504.js.map → index.cjs491.js.map} +1 -1
- package/dist/index.cjs498.js +1 -1
- package/dist/index.cjs498.js.map +1 -1
- package/dist/{index.cjs511.js → index.cjs514.js} +2 -2
- package/dist/{index.cjs511.js.map → index.cjs514.js.map} +1 -1
- package/dist/{index.cjs512.js → index.cjs515.js} +1 -1
- package/dist/index.cjs515.js.map +1 -0
- package/dist/index.cjs518.js +2 -0
- package/dist/index.cjs518.js.map +1 -0
- package/dist/{index.cjs516.js → index.cjs519.js} +1 -1
- package/dist/index.cjs519.js.map +1 -0
- package/dist/index.cjs520.js +1 -1
- package/dist/index.cjs520.js.map +1 -1
- package/dist/index.cjs521.js +2 -0
- package/dist/index.cjs521.js.map +1 -0
- package/dist/{index.cjs517.js → index.cjs522.js} +1 -1
- package/dist/index.cjs522.js.map +1 -0
- package/dist/index.cjs523.js +1 -1
- package/dist/index.cjs523.js.map +1 -1
- 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.cjs577.js +1 -1
- package/dist/index.cjs578.js +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.cjs662.js +1 -38
- package/dist/index.cjs662.js.map +1 -1
- package/dist/index.cjs663.js +1 -1
- 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 +38 -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.es137.js +14 -15
- package/dist/index.es137.js.map +1 -1
- package/dist/index.es206.js +5 -5
- package/dist/index.es206.js.map +1 -1
- package/dist/index.es226.js +10 -10
- package/dist/index.es226.js.map +1 -1
- package/dist/index.es251.js +1 -1
- package/dist/index.es258.js +1 -1
- 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.es32.js +1 -1
- package/dist/index.es321.js +1 -1
- package/dist/index.es328.js +13 -13
- package/dist/index.es33.js +1 -1
- package/dist/index.es335.js +1 -1
- package/dist/index.es340.js +1 -1
- package/dist/index.es351.js +1 -1
- 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.es441.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.es464.js +3664 -2021
- package/dist/index.es464.js.map +1 -1
- package/dist/index.es465.js +5 -59
- package/dist/index.es465.js.map +1 -1
- package/dist/index.es466.js +2 -189
- package/dist/index.es466.js.map +1 -1
- package/dist/index.es467.js +2019 -3662
- package/dist/index.es467.js.map +1 -1
- package/dist/index.es468.js +59 -5
- package/dist/index.es468.js.map +1 -1
- package/dist/index.es469.js +189 -2
- package/dist/index.es469.js.map +1 -1
- package/dist/index.es470.js +7 -15
- package/dist/index.es470.js.map +1 -1
- package/dist/index.es471.js +30 -0
- package/dist/index.es471.js.map +1 -0
- package/dist/index.es472.js +71 -0
- package/dist/index.es472.js.map +1 -0
- package/dist/index.es473.js +29 -6
- package/dist/index.es473.js.map +1 -1
- package/dist/index.es474.js +32 -26
- package/dist/index.es474.js.map +1 -1
- package/dist/index.es475.js +617 -63
- package/dist/index.es475.js.map +1 -1
- package/dist/index.es476.js +10 -29
- package/dist/index.es476.js.map +1 -1
- package/dist/index.es477.js +15 -33
- package/dist/index.es477.js.map +1 -1
- package/dist/index.es481.js +1 -1
- package/dist/index.es482.js +2 -2
- package/dist/index.es485.js +128 -0
- package/dist/index.es485.js.map +1 -0
- package/dist/{index.es499.js → index.es486.js} +3 -3
- package/dist/{index.es499.js.map → index.es486.js.map} +1 -1
- package/dist/{index.es500.js → index.es487.js} +3 -3
- package/dist/{index.es500.js.map → index.es487.js.map} +1 -1
- package/dist/{index.es501.js → index.es488.js} +1 -1
- package/dist/{index.es501.js.map → index.es488.js.map} +1 -1
- package/dist/{index.es502.js → index.es489.js} +1 -1
- package/dist/{index.es502.js.map → index.es489.js.map} +1 -1
- package/dist/{index.es503.js → index.es490.js} +1 -1
- package/dist/{index.es503.js.map → index.es490.js.map} +1 -1
- package/dist/{index.es504.js → index.es491.js} +2 -2
- package/dist/{index.es504.js.map → index.es491.js.map} +1 -1
- package/dist/index.es498.js +14 -124
- package/dist/index.es498.js.map +1 -1
- package/dist/{index.es511.js → index.es514.js} +3 -3
- package/dist/{index.es511.js.map → index.es514.js.map} +1 -1
- package/dist/{index.es512.js → index.es515.js} +1 -1
- package/dist/index.es515.js.map +1 -0
- package/dist/index.es518.js +24 -0
- package/dist/index.es518.js.map +1 -0
- package/dist/{index.es516.js → index.es519.js} +1 -1
- package/dist/index.es519.js.map +1 -0
- package/dist/index.es520.js +53 -4
- package/dist/index.es520.js.map +1 -1
- package/dist/index.es521.js +206 -0
- package/dist/index.es521.js.map +1 -0
- package/dist/{index.es524.js → index.es522.js} +1 -1
- package/dist/index.es522.js.map +1 -0
- package/dist/index.es523.js +2 -21
- package/dist/index.es523.js.map +1 -1
- package/dist/index.es526.js +4 -202
- package/dist/index.es526.js.map +1 -1
- package/dist/index.es527.js +131 -8
- package/dist/index.es527.js.map +1 -1
- package/dist/index.es528.js +1 -1
- package/dist/index.es529.js +9 -3
- package/dist/index.es529.js.map +1 -1
- package/dist/index.es530.js +2 -131
- package/dist/index.es530.js.map +1 -1
- package/dist/index.es532.js +46 -4
- package/dist/index.es532.js.map +1 -1
- package/dist/index.es533.js +13 -45
- package/dist/index.es533.js.map +1 -1
- package/dist/index.es534.js +216 -12
- package/dist/index.es534.js.map +1 -1
- package/dist/index.es535.js +163 -203
- package/dist/index.es535.js.map +1 -1
- package/dist/index.es536.js +3 -177
- package/dist/index.es536.js.map +1 -1
- package/dist/index.es538.js +1 -1
- package/dist/index.es577.js +1 -1
- package/dist/index.es578.js +3 -3
- package/dist/index.es582.js +83 -5
- package/dist/index.es582.js.map +1 -1
- package/dist/index.es583.js +5 -16
- package/dist/index.es583.js.map +1 -1
- package/dist/index.es584.js +15 -12
- package/dist/index.es584.js.map +1 -1
- package/dist/index.es585.js +13 -36
- package/dist/index.es585.js.map +1 -1
- package/dist/index.es586.js +36 -5
- package/dist/index.es586.js.map +1 -1
- package/dist/index.es587.js +5 -2
- package/dist/index.es587.js.map +1 -1
- package/dist/index.es588.js +2 -3
- package/dist/index.es588.js.map +1 -1
- package/dist/index.es589.js +3 -7
- package/dist/index.es589.js.map +1 -1
- package/dist/index.es590.js +7 -6
- package/dist/index.es590.js.map +1 -1
- package/dist/index.es591.js +6 -5
- package/dist/index.es591.js.map +1 -1
- package/dist/index.es592.js +5 -32
- package/dist/index.es592.js.map +1 -1
- package/dist/index.es593.js +32 -242
- package/dist/index.es593.js.map +1 -1
- package/dist/index.es594.js +242 -4
- package/dist/index.es594.js.map +1 -1
- package/dist/index.es595.js +4 -5
- package/dist/index.es595.js.map +1 -1
- package/dist/index.es596.js +4 -9
- package/dist/index.es596.js.map +1 -1
- package/dist/index.es597.js +9 -55
- package/dist/index.es597.js.map +1 -1
- package/dist/index.es598.js +55 -7
- package/dist/index.es598.js.map +1 -1
- package/dist/index.es599.js +7 -5
- package/dist/index.es599.js.map +1 -1
- package/dist/index.es600.js +5 -532
- package/dist/index.es600.js.map +1 -1
- package/dist/index.es601.js +532 -13
- package/dist/index.es601.js.map +1 -1
- package/dist/index.es602.js +14 -2
- package/dist/index.es602.js.map +1 -1
- package/dist/index.es603.js +2 -37
- package/dist/index.es603.js.map +1 -1
- package/dist/index.es604.js +37 -2
- package/dist/index.es604.js.map +1 -1
- package/dist/index.es605.js +2 -273
- package/dist/index.es605.js.map +1 -1
- package/dist/index.es606.js +273 -3
- package/dist/index.es606.js.map +1 -1
- package/dist/index.es607.js +3 -30
- package/dist/index.es607.js.map +1 -1
- package/dist/index.es608.js +28 -81
- package/dist/index.es608.js.map +1 -1
- package/dist/index.es645.js +1 -1
- package/dist/index.es647.js +4 -4
- package/dist/index.es662.js +518 -64
- package/dist/index.es662.js.map +1 -1
- package/dist/index.es663.js +126 -8
- package/dist/index.es663.js.map +1 -1
- package/dist/index.es664.js +128 -13
- package/dist/index.es664.js.map +1 -1
- package/dist/index.es665.js +64 -61
- package/dist/index.es665.js.map +1 -1
- package/dist/index.es666.js +69 -65
- package/dist/index.es666.js.map +1 -1
- package/dist/index.es667.js +7 -521
- package/dist/index.es667.js.map +1 -1
- package/dist/index.es668.js +13 -126
- package/dist/index.es668.js.map +1 -1
- package/dist/index.es669.js +60 -127
- package/dist/index.es669.js.map +1 -1
- package/package.json +1 -1
- package/dist/index.cjs478.js +0 -2
- package/dist/index.cjs478.js.map +0 -1
- package/dist/index.cjs479.js +0 -2
- package/dist/index.cjs479.js.map +0 -1
- package/dist/index.cjs508.js +0 -2
- package/dist/index.cjs508.js.map +0 -1
- package/dist/index.cjs512.js.map +0 -1
- package/dist/index.cjs516.js.map +0 -1
- package/dist/index.cjs517.js.map +0 -1
- package/dist/index.cjs524.js +0 -2
- package/dist/index.cjs524.js.map +0 -1
- package/dist/index.cjs525.js +0 -2
- package/dist/index.cjs525.js.map +0 -1
- package/dist/index.es478.js +0 -625
- package/dist/index.es478.js.map +0 -1
- package/dist/index.es479.js +0 -14
- package/dist/index.es479.js.map +0 -1
- package/dist/index.es508.js +0 -18
- package/dist/index.es508.js.map +0 -1
- package/dist/index.es512.js.map +0 -1
- package/dist/index.es516.js.map +0 -1
- package/dist/index.es517.js +0 -5
- package/dist/index.es517.js.map +0 -1
- package/dist/index.es524.js.map +0 -1
- package/dist/index.es525.js +0 -57
- package/dist/index.es525.js.map +0 -1
- /package/dist/components/ui/{CardMapDoctor/CardMapDoctor.css → CardMapDoctorV2/CardMapDoctorV2.css} +0 -0
- /package/dist/components/ui/{ConsentModal/ConsentModalFooter/ConsentModalFooter.css → DoctorModal/DoctorModalFooter/DoctorModalFooter.css} +0 -0
package/dist/index.es608.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es608.js","sources":["../node_modules/lodash.debounce/index.js"],"sourcesContent":["/**\n * lodash (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors <https://jquery.org/>\n * Released under MIT license <https://lodash.com/license>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n result = wait - timeSinceLastCall;\n\n return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = debounce;\n"],"names":["FUNC_ERROR_TEXT","NAN","symbolTag","reTrim","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","freeGlobal","global","freeSelf","root","objectProto","objectToString","nativeMax","nativeMin","now","debounce","func","wait","options","lastArgs","lastThis","maxWait","result","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","toNumber","isObject","invokeFunc","time","args","thisArg","leadingEdge","timerExpired","remainingWait","timeSinceLastCall","timeSinceLastInvoke","shouldInvoke","trailingEdge","cancel","flush","debounced","isInvoking","value","type","isObjectLike","isSymbol","other","isBinary","lodash_debounce"],"mappings":"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","x_google_ignoreList":[0]}
|
1
|
+
{"version":3,"file":"index.es608.js","sources":["../node_modules/@radix-ui/react-visually-hidden/dist/index.mjs"],"sourcesContent":["// packages/react/visually-hidden/src/visually-hidden.tsx\nimport * as React from \"react\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NAME = \"VisuallyHidden\";\nvar VisuallyHidden = React.forwardRef(\n (props, forwardedRef) => {\n return /* @__PURE__ */ jsx(\n Primitive.span,\n {\n ...props,\n ref: forwardedRef,\n style: {\n // See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss\n position: \"absolute\",\n border: 0,\n width: 1,\n height: 1,\n padding: 0,\n margin: -1,\n overflow: \"hidden\",\n clip: \"rect(0, 0, 0, 0)\",\n whiteSpace: \"nowrap\",\n wordWrap: \"normal\",\n ...props.style\n }\n }\n );\n }\n);\nVisuallyHidden.displayName = NAME;\nvar Root = VisuallyHidden;\nexport {\n Root,\n VisuallyHidden\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["NAME","VisuallyHidden","React","props","forwardedRef","jsx","Primitive","Root"],"mappings":";;;AAIA,IAAIA,IAAO,kBACPC,IAAiBC,EAAM;AAAA,EACzB,CAACC,GAAOC,MACiBC,gBAAAA,EAAG;AAAA,IACxBC,EAAU;AAAA,IACV;AAAA,MACE,GAAGH;AAAA,MACH,KAAKC;AAAA,MACL,OAAO;AAAA;AAAA,QAEL,UAAU;AAAA,QACV,QAAQ;AAAA,QACR,OAAO;AAAA,QACP,QAAQ;AAAA,QACR,SAAS;AAAA,QACT,QAAQ;AAAA,QACR,UAAU;AAAA,QACV,MAAM;AAAA,QACN,YAAY;AAAA,QACZ,UAAU;AAAA,QACV,GAAGD,EAAM;AAAA,MACnB;AAAA,IACA;AAAA,EACK;AAEL;AACAF,EAAe,cAAcD;AAC1B,IAACO,IAAON;","x_google_ignoreList":[0]}
|
package/dist/index.es645.js
CHANGED
package/dist/index.es647.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import { __spreadArray as x } from "./index.es579.js";
|
2
2
|
import * as n from "react";
|
3
|
-
import { RemoveScrollBar as A } from "./index.
|
4
|
-
import { styleSingleton as I } from "./index.
|
5
|
-
import { nonPassive as s } from "./index.
|
6
|
-
import { locationCouldBeScrolled as T, handleScroll as W } from "./index.
|
3
|
+
import { RemoveScrollBar as A } from "./index.es666.js";
|
4
|
+
import { styleSingleton as I } from "./index.es667.js";
|
5
|
+
import { nonPassive as s } from "./index.es668.js";
|
6
|
+
import { locationCouldBeScrolled as T, handleScroll as W } from "./index.es669.js";
|
7
7
|
var b = function(t) {
|
8
8
|
return "changedTouches" in t ? [t.changedTouches[0].clientX, t.changedTouches[0].clientY] : [0, 0];
|
9
9
|
}, Y = function(t) {
|
package/dist/index.es662.js
CHANGED
@@ -1,72 +1,526 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
1
|
+
import { evaluate as E, getSideAxis as V, getSide as B, clamp as X, getOppositePlacement as Z, getExpandedPlacements as ee, getOppositeAxisPlacements as te, getAlignmentSides as ne, getAlignment as z, min as $, max as W, getPaddingObject as J, rectToClientRect as _, getOppositeAxis as K, getAlignmentAxis as N, sides as ie, getAxisLength as Q } from "./index.es663.js";
|
2
|
+
function I(t, e, d) {
|
3
|
+
let {
|
4
|
+
reference: a,
|
5
|
+
floating: r
|
6
|
+
} = t;
|
7
|
+
const n = V(e), o = N(e), m = Q(o), g = B(e), h = n === "y", c = a.x + a.width / 2 - r.width / 2, s = a.y + a.height / 2 - r.height / 2, f = a[m] / 2 - r[m] / 2;
|
8
|
+
let i;
|
9
|
+
switch (g) {
|
10
|
+
case "top":
|
11
|
+
i = {
|
12
|
+
x: c,
|
13
|
+
y: a.y - r.height
|
14
|
+
};
|
15
|
+
break;
|
16
|
+
case "bottom":
|
17
|
+
i = {
|
18
|
+
x: c,
|
19
|
+
y: a.y + a.height
|
20
|
+
};
|
21
|
+
break;
|
22
|
+
case "right":
|
23
|
+
i = {
|
24
|
+
x: a.x + a.width,
|
25
|
+
y: s
|
26
|
+
};
|
27
|
+
break;
|
28
|
+
case "left":
|
29
|
+
i = {
|
30
|
+
x: a.x - r.width,
|
31
|
+
y: s
|
32
|
+
};
|
33
|
+
break;
|
34
|
+
default:
|
35
|
+
i = {
|
36
|
+
x: a.x,
|
37
|
+
y: a.y
|
38
|
+
};
|
11
39
|
}
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
padding-top: `).concat(i, `px;
|
20
|
-
padding-right: `).concat(s, `px;
|
21
|
-
margin-left:0;
|
22
|
-
margin-top:0;
|
23
|
-
margin-right: `).concat(c, "px ").concat(t, `;
|
24
|
-
`),
|
25
|
-
o === "padding" && "padding-right: ".concat(c, "px ").concat(t, ";")
|
26
|
-
].filter(Boolean).join(""), `
|
40
|
+
switch (z(e)) {
|
41
|
+
case "start":
|
42
|
+
i[o] -= f * (d && h ? -1 : 1);
|
43
|
+
break;
|
44
|
+
case "end":
|
45
|
+
i[o] += f * (d && h ? -1 : 1);
|
46
|
+
break;
|
27
47
|
}
|
28
|
-
|
29
|
-
|
30
|
-
|
48
|
+
return i;
|
49
|
+
}
|
50
|
+
const ae = async (t, e, d) => {
|
51
|
+
const {
|
52
|
+
placement: a = "bottom",
|
53
|
+
strategy: r = "absolute",
|
54
|
+
middleware: n = [],
|
55
|
+
platform: o
|
56
|
+
} = d, m = n.filter(Boolean), g = await (o.isRTL == null ? void 0 : o.isRTL(e));
|
57
|
+
let h = await o.getElementRects({
|
58
|
+
reference: t,
|
59
|
+
floating: e,
|
60
|
+
strategy: r
|
61
|
+
}), {
|
62
|
+
x: c,
|
63
|
+
y: s
|
64
|
+
} = I(h, a, g), f = a, i = {}, l = 0;
|
65
|
+
for (let u = 0; u < m.length; u++) {
|
66
|
+
const {
|
67
|
+
name: x,
|
68
|
+
fn: y
|
69
|
+
} = m[u], {
|
70
|
+
x: A,
|
71
|
+
y: p,
|
72
|
+
data: v,
|
73
|
+
reset: w
|
74
|
+
} = await y({
|
75
|
+
x: c,
|
76
|
+
y: s,
|
77
|
+
initialPlacement: a,
|
78
|
+
placement: f,
|
79
|
+
strategy: r,
|
80
|
+
middlewareData: i,
|
81
|
+
rects: h,
|
82
|
+
platform: o,
|
83
|
+
elements: {
|
84
|
+
reference: t,
|
85
|
+
floating: e
|
86
|
+
}
|
87
|
+
});
|
88
|
+
c = A ?? c, s = p ?? s, i = {
|
89
|
+
...i,
|
90
|
+
[x]: {
|
91
|
+
...i[x],
|
92
|
+
...v
|
93
|
+
}
|
94
|
+
}, w && l <= 50 && (l++, typeof w == "object" && (w.placement && (f = w.placement), w.rects && (h = w.rects === !0 ? await o.getElementRects({
|
95
|
+
reference: t,
|
96
|
+
floating: e,
|
97
|
+
strategy: r
|
98
|
+
}) : w.rects), {
|
99
|
+
x: c,
|
100
|
+
y: s
|
101
|
+
} = I(h, f, g)), u = -1);
|
31
102
|
}
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
103
|
+
return {
|
104
|
+
x: c,
|
105
|
+
y: s,
|
106
|
+
placement: f,
|
107
|
+
strategy: r,
|
108
|
+
middlewareData: i
|
109
|
+
};
|
110
|
+
};
|
111
|
+
async function Y(t, e) {
|
112
|
+
var d;
|
113
|
+
e === void 0 && (e = {});
|
114
|
+
const {
|
115
|
+
x: a,
|
116
|
+
y: r,
|
117
|
+
platform: n,
|
118
|
+
rects: o,
|
119
|
+
elements: m,
|
120
|
+
strategy: g
|
121
|
+
} = t, {
|
122
|
+
boundary: h = "clippingAncestors",
|
123
|
+
rootBoundary: c = "viewport",
|
124
|
+
elementContext: s = "floating",
|
125
|
+
altBoundary: f = !1,
|
126
|
+
padding: i = 0
|
127
|
+
} = E(e, t), l = J(i), x = m[f ? s === "floating" ? "reference" : "floating" : s], y = _(await n.getClippingRect({
|
128
|
+
element: (d = await (n.isElement == null ? void 0 : n.isElement(x))) == null || d ? x : x.contextElement || await (n.getDocumentElement == null ? void 0 : n.getDocumentElement(m.floating)),
|
129
|
+
boundary: h,
|
130
|
+
rootBoundary: c,
|
131
|
+
strategy: g
|
132
|
+
})), A = s === "floating" ? {
|
133
|
+
x: a,
|
134
|
+
y: r,
|
135
|
+
width: o.floating.width,
|
136
|
+
height: o.floating.height
|
137
|
+
} : o.reference, p = await (n.getOffsetParent == null ? void 0 : n.getOffsetParent(m.floating)), v = await (n.isElement == null ? void 0 : n.isElement(p)) ? await (n.getScale == null ? void 0 : n.getScale(p)) || {
|
138
|
+
x: 1,
|
139
|
+
y: 1
|
140
|
+
} : {
|
141
|
+
x: 1,
|
142
|
+
y: 1
|
143
|
+
}, w = _(n.convertOffsetParentRelativeRectToViewportRelativeRect ? await n.convertOffsetParentRelativeRectToViewportRelativeRect({
|
144
|
+
elements: m,
|
145
|
+
rect: A,
|
146
|
+
offsetParent: p,
|
147
|
+
strategy: g
|
148
|
+
}) : A);
|
149
|
+
return {
|
150
|
+
top: (y.top - w.top + l.top) / v.y,
|
151
|
+
bottom: (w.bottom - y.bottom + l.bottom) / v.y,
|
152
|
+
left: (y.left - w.left + l.left) / v.x,
|
153
|
+
right: (w.right - y.right + l.right) / v.x
|
154
|
+
};
|
155
|
+
}
|
156
|
+
const ce = (t) => ({
|
157
|
+
name: "arrow",
|
158
|
+
options: t,
|
159
|
+
async fn(e) {
|
160
|
+
const {
|
161
|
+
x: d,
|
162
|
+
y: a,
|
163
|
+
placement: r,
|
164
|
+
rects: n,
|
165
|
+
platform: o,
|
166
|
+
elements: m,
|
167
|
+
middlewareData: g
|
168
|
+
} = e, {
|
169
|
+
element: h,
|
170
|
+
padding: c = 0
|
171
|
+
} = E(t, e) || {};
|
172
|
+
if (h == null)
|
173
|
+
return {};
|
174
|
+
const s = J(c), f = {
|
175
|
+
x: d,
|
176
|
+
y: a
|
177
|
+
}, i = N(r), l = Q(i), u = await o.getDimensions(h), x = i === "y", y = x ? "top" : "left", A = x ? "bottom" : "right", p = x ? "clientHeight" : "clientWidth", v = n.reference[l] + n.reference[i] - f[i] - n.floating[l], w = f[i] - n.reference[i], O = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(h));
|
178
|
+
let P = O ? O[p] : 0;
|
179
|
+
(!P || !await (o.isElement == null ? void 0 : o.isElement(O))) && (P = m.floating[p] || n.floating[l]);
|
180
|
+
const D = v / 2 - w / 2, R = P / 2 - u[l] / 2 - 1, C = $(s[y], R), T = $(s[A], R), S = C, L = P - u[l] - T, b = P / 2 - u[l] / 2 + D, j = X(S, b, L), M = !g.arrow && z(r) != null && b !== j && n.reference[l] / 2 - (b < S ? C : T) - u[l] / 2 < 0, k = M ? b < S ? b - S : b - L : 0;
|
181
|
+
return {
|
182
|
+
[i]: f[i] + k,
|
183
|
+
data: {
|
184
|
+
[i]: j,
|
185
|
+
centerOffset: b - j - k,
|
186
|
+
...M && {
|
187
|
+
alignmentOffset: k
|
188
|
+
}
|
189
|
+
},
|
190
|
+
reset: M
|
57
191
|
};
|
58
|
-
}
|
59
|
-
},
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
192
|
+
}
|
193
|
+
}), le = function(t) {
|
194
|
+
return t === void 0 && (t = {}), {
|
195
|
+
name: "flip",
|
196
|
+
options: t,
|
197
|
+
async fn(e) {
|
198
|
+
var d, a;
|
199
|
+
const {
|
200
|
+
placement: r,
|
201
|
+
middlewareData: n,
|
202
|
+
rects: o,
|
203
|
+
initialPlacement: m,
|
204
|
+
platform: g,
|
205
|
+
elements: h
|
206
|
+
} = e, {
|
207
|
+
mainAxis: c = !0,
|
208
|
+
crossAxis: s = !0,
|
209
|
+
fallbackPlacements: f,
|
210
|
+
fallbackStrategy: i = "bestFit",
|
211
|
+
fallbackAxisSideDirection: l = "none",
|
212
|
+
flipAlignment: u = !0,
|
213
|
+
...x
|
214
|
+
} = E(t, e);
|
215
|
+
if ((d = n.arrow) != null && d.alignmentOffset)
|
216
|
+
return {};
|
217
|
+
const y = B(r), A = V(m), p = B(m) === m, v = await (g.isRTL == null ? void 0 : g.isRTL(h.floating)), w = f || (p || !u ? [Z(m)] : ee(m)), O = l !== "none";
|
218
|
+
!f && O && w.push(...te(m, u, l, v));
|
219
|
+
const P = [m, ...w], D = await Y(e, x), R = [];
|
220
|
+
let C = ((a = n.flip) == null ? void 0 : a.overflows) || [];
|
221
|
+
if (c && R.push(D[y]), s) {
|
222
|
+
const b = ne(r, o, v);
|
223
|
+
R.push(D[b[0]], D[b[1]]);
|
224
|
+
}
|
225
|
+
if (C = [...C, {
|
226
|
+
placement: r,
|
227
|
+
overflows: R
|
228
|
+
}], !R.every((b) => b <= 0)) {
|
229
|
+
var T, S;
|
230
|
+
const b = (((T = n.flip) == null ? void 0 : T.index) || 0) + 1, j = P[b];
|
231
|
+
if (j)
|
232
|
+
return {
|
233
|
+
data: {
|
234
|
+
index: b,
|
235
|
+
overflows: C
|
236
|
+
},
|
237
|
+
reset: {
|
238
|
+
placement: j
|
239
|
+
}
|
240
|
+
};
|
241
|
+
let M = (S = C.filter((k) => k.overflows[0] <= 0).sort((k, H) => k.overflows[1] - H.overflows[1])[0]) == null ? void 0 : S.placement;
|
242
|
+
if (!M)
|
243
|
+
switch (i) {
|
244
|
+
case "bestFit": {
|
245
|
+
var L;
|
246
|
+
const k = (L = C.filter((H) => {
|
247
|
+
if (O) {
|
248
|
+
const F = V(H.placement);
|
249
|
+
return F === A || // Create a bias to the `y` side axis due to horizontal
|
250
|
+
// reading directions favoring greater width.
|
251
|
+
F === "y";
|
252
|
+
}
|
253
|
+
return !0;
|
254
|
+
}).map((H) => [H.placement, H.overflows.filter((F) => F > 0).reduce((F, U) => F + U, 0)]).sort((H, F) => H[1] - F[1])[0]) == null ? void 0 : L[0];
|
255
|
+
k && (M = k);
|
256
|
+
break;
|
257
|
+
}
|
258
|
+
case "initialPlacement":
|
259
|
+
M = m;
|
260
|
+
break;
|
261
|
+
}
|
262
|
+
if (r !== M)
|
263
|
+
return {
|
264
|
+
reset: {
|
265
|
+
placement: M
|
266
|
+
}
|
267
|
+
};
|
268
|
+
}
|
269
|
+
return {};
|
270
|
+
}
|
271
|
+
};
|
272
|
+
};
|
273
|
+
function q(t, e) {
|
274
|
+
return {
|
275
|
+
top: t.top - e.height,
|
276
|
+
right: t.right - e.width,
|
277
|
+
bottom: t.bottom - e.height,
|
278
|
+
left: t.left - e.width
|
279
|
+
};
|
280
|
+
}
|
281
|
+
function G(t) {
|
282
|
+
return ie.some((e) => t[e] >= 0);
|
283
|
+
}
|
284
|
+
const re = function(t) {
|
285
|
+
return t === void 0 && (t = {}), {
|
286
|
+
name: "hide",
|
287
|
+
options: t,
|
288
|
+
async fn(e) {
|
289
|
+
const {
|
290
|
+
rects: d
|
291
|
+
} = e, {
|
292
|
+
strategy: a = "referenceHidden",
|
293
|
+
...r
|
294
|
+
} = E(t, e);
|
295
|
+
switch (a) {
|
296
|
+
case "referenceHidden": {
|
297
|
+
const n = await Y(e, {
|
298
|
+
...r,
|
299
|
+
elementContext: "reference"
|
300
|
+
}), o = q(n, d.reference);
|
301
|
+
return {
|
302
|
+
data: {
|
303
|
+
referenceHiddenOffsets: o,
|
304
|
+
referenceHidden: G(o)
|
305
|
+
}
|
306
|
+
};
|
307
|
+
}
|
308
|
+
case "escaped": {
|
309
|
+
const n = await Y(e, {
|
310
|
+
...r,
|
311
|
+
altBoundary: !0
|
312
|
+
}), o = q(n, d.floating);
|
313
|
+
return {
|
314
|
+
data: {
|
315
|
+
escapedOffsets: o,
|
316
|
+
escaped: G(o)
|
317
|
+
}
|
318
|
+
};
|
319
|
+
}
|
320
|
+
default:
|
321
|
+
return {};
|
322
|
+
}
|
323
|
+
}
|
324
|
+
};
|
325
|
+
};
|
326
|
+
async function se(t, e) {
|
327
|
+
const {
|
328
|
+
placement: d,
|
329
|
+
platform: a,
|
330
|
+
elements: r
|
331
|
+
} = t, n = await (a.isRTL == null ? void 0 : a.isRTL(r.floating)), o = B(d), m = z(d), g = V(d) === "y", h = ["left", "top"].includes(o) ? -1 : 1, c = n && g ? -1 : 1, s = E(e, t);
|
332
|
+
let {
|
333
|
+
mainAxis: f,
|
334
|
+
crossAxis: i,
|
335
|
+
alignmentAxis: l
|
336
|
+
} = typeof s == "number" ? {
|
337
|
+
mainAxis: s,
|
338
|
+
crossAxis: 0,
|
339
|
+
alignmentAxis: null
|
340
|
+
} : {
|
341
|
+
mainAxis: s.mainAxis || 0,
|
342
|
+
crossAxis: s.crossAxis || 0,
|
343
|
+
alignmentAxis: s.alignmentAxis
|
344
|
+
};
|
345
|
+
return m && typeof l == "number" && (i = m === "end" ? l * -1 : l), g ? {
|
346
|
+
x: i * c,
|
347
|
+
y: f * h
|
348
|
+
} : {
|
349
|
+
x: f * h,
|
350
|
+
y: i * c
|
351
|
+
};
|
352
|
+
}
|
353
|
+
const fe = function(t) {
|
354
|
+
return t === void 0 && (t = 0), {
|
355
|
+
name: "offset",
|
356
|
+
options: t,
|
357
|
+
async fn(e) {
|
358
|
+
var d, a;
|
359
|
+
const {
|
360
|
+
x: r,
|
361
|
+
y: n,
|
362
|
+
placement: o,
|
363
|
+
middlewareData: m
|
364
|
+
} = e, g = await se(e, t);
|
365
|
+
return o === ((d = m.offset) == null ? void 0 : d.placement) && (a = m.arrow) != null && a.alignmentOffset ? {} : {
|
366
|
+
x: r + g.x,
|
367
|
+
y: n + g.y,
|
368
|
+
data: {
|
369
|
+
...g,
|
370
|
+
placement: o
|
371
|
+
}
|
372
|
+
};
|
373
|
+
}
|
374
|
+
};
|
375
|
+
}, me = function(t) {
|
376
|
+
return t === void 0 && (t = {}), {
|
377
|
+
name: "shift",
|
378
|
+
options: t,
|
379
|
+
async fn(e) {
|
380
|
+
const {
|
381
|
+
x: d,
|
382
|
+
y: a,
|
383
|
+
placement: r
|
384
|
+
} = e, {
|
385
|
+
mainAxis: n = !0,
|
386
|
+
crossAxis: o = !1,
|
387
|
+
limiter: m = {
|
388
|
+
fn: (x) => {
|
389
|
+
let {
|
390
|
+
x: y,
|
391
|
+
y: A
|
392
|
+
} = x;
|
393
|
+
return {
|
394
|
+
x: y,
|
395
|
+
y: A
|
396
|
+
};
|
397
|
+
}
|
398
|
+
},
|
399
|
+
...g
|
400
|
+
} = E(t, e), h = {
|
401
|
+
x: d,
|
402
|
+
y: a
|
403
|
+
}, c = await Y(e, g), s = V(B(r)), f = K(s);
|
404
|
+
let i = h[f], l = h[s];
|
405
|
+
if (n) {
|
406
|
+
const x = f === "y" ? "top" : "left", y = f === "y" ? "bottom" : "right", A = i + c[x], p = i - c[y];
|
407
|
+
i = X(A, i, p);
|
408
|
+
}
|
409
|
+
if (o) {
|
410
|
+
const x = s === "y" ? "top" : "left", y = s === "y" ? "bottom" : "right", A = l + c[x], p = l - c[y];
|
411
|
+
l = X(A, l, p);
|
412
|
+
}
|
413
|
+
const u = m.fn({
|
414
|
+
...e,
|
415
|
+
[f]: i,
|
416
|
+
[s]: l
|
417
|
+
});
|
418
|
+
return {
|
419
|
+
...u,
|
420
|
+
data: {
|
421
|
+
x: u.x - d,
|
422
|
+
y: u.y - a,
|
423
|
+
enabled: {
|
424
|
+
[f]: n,
|
425
|
+
[s]: o
|
426
|
+
}
|
427
|
+
}
|
428
|
+
};
|
429
|
+
}
|
430
|
+
};
|
431
|
+
}, de = function(t) {
|
432
|
+
return t === void 0 && (t = {}), {
|
433
|
+
options: t,
|
434
|
+
fn(e) {
|
435
|
+
const {
|
436
|
+
x: d,
|
437
|
+
y: a,
|
438
|
+
placement: r,
|
439
|
+
rects: n,
|
440
|
+
middlewareData: o
|
441
|
+
} = e, {
|
442
|
+
offset: m = 0,
|
443
|
+
mainAxis: g = !0,
|
444
|
+
crossAxis: h = !0
|
445
|
+
} = E(t, e), c = {
|
446
|
+
x: d,
|
447
|
+
y: a
|
448
|
+
}, s = V(r), f = K(s);
|
449
|
+
let i = c[f], l = c[s];
|
450
|
+
const u = E(m, e), x = typeof u == "number" ? {
|
451
|
+
mainAxis: u,
|
452
|
+
crossAxis: 0
|
453
|
+
} : {
|
454
|
+
mainAxis: 0,
|
455
|
+
crossAxis: 0,
|
456
|
+
...u
|
457
|
+
};
|
458
|
+
if (g) {
|
459
|
+
const p = f === "y" ? "height" : "width", v = n.reference[f] - n.floating[p] + x.mainAxis, w = n.reference[f] + n.reference[p] - x.mainAxis;
|
460
|
+
i < v ? i = v : i > w && (i = w);
|
461
|
+
}
|
462
|
+
if (h) {
|
463
|
+
var y, A;
|
464
|
+
const p = f === "y" ? "width" : "height", v = ["top", "left"].includes(B(r)), w = n.reference[s] - n.floating[p] + (v && ((y = o.offset) == null ? void 0 : y[s]) || 0) + (v ? 0 : x.crossAxis), O = n.reference[s] + n.reference[p] + (v ? 0 : ((A = o.offset) == null ? void 0 : A[s]) || 0) - (v ? x.crossAxis : 0);
|
465
|
+
l < w ? l = w : l > O && (l = O);
|
466
|
+
}
|
467
|
+
return {
|
468
|
+
[f]: i,
|
469
|
+
[s]: l
|
470
|
+
};
|
471
|
+
}
|
472
|
+
};
|
473
|
+
}, xe = function(t) {
|
474
|
+
return t === void 0 && (t = {}), {
|
475
|
+
name: "size",
|
476
|
+
options: t,
|
477
|
+
async fn(e) {
|
478
|
+
var d, a;
|
479
|
+
const {
|
480
|
+
placement: r,
|
481
|
+
rects: n,
|
482
|
+
platform: o,
|
483
|
+
elements: m
|
484
|
+
} = e, {
|
485
|
+
apply: g = () => {
|
486
|
+
},
|
487
|
+
...h
|
488
|
+
} = E(t, e), c = await Y(e, h), s = B(r), f = z(r), i = V(r) === "y", {
|
489
|
+
width: l,
|
490
|
+
height: u
|
491
|
+
} = n.floating;
|
492
|
+
let x, y;
|
493
|
+
s === "top" || s === "bottom" ? (x = s, y = f === (await (o.isRTL == null ? void 0 : o.isRTL(m.floating)) ? "start" : "end") ? "left" : "right") : (y = s, x = f === "end" ? "top" : "bottom");
|
494
|
+
const A = u - c.top - c.bottom, p = l - c.left - c.right, v = $(u - c[x], A), w = $(l - c[y], p), O = !e.middlewareData.shift;
|
495
|
+
let P = v, D = w;
|
496
|
+
if ((d = e.middlewareData.shift) != null && d.enabled.x && (D = p), (a = e.middlewareData.shift) != null && a.enabled.y && (P = A), O && !f) {
|
497
|
+
const C = W(c.left, 0), T = W(c.right, 0), S = W(c.top, 0), L = W(c.bottom, 0);
|
498
|
+
i ? D = l - 2 * (C !== 0 || T !== 0 ? C + T : W(c.left, c.right)) : P = u - 2 * (S !== 0 || L !== 0 ? S + L : W(c.top, c.bottom));
|
499
|
+
}
|
500
|
+
await g({
|
501
|
+
...e,
|
502
|
+
availableWidth: D,
|
503
|
+
availableHeight: P
|
504
|
+
});
|
505
|
+
const R = await o.getDimensions(m.floating);
|
506
|
+
return l !== R.width || u !== R.height ? {
|
507
|
+
reset: {
|
508
|
+
rects: !0
|
509
|
+
}
|
510
|
+
} : {};
|
511
|
+
}
|
512
|
+
};
|
66
513
|
};
|
67
514
|
export {
|
68
|
-
|
69
|
-
|
70
|
-
|
515
|
+
ce as arrow,
|
516
|
+
ae as computePosition,
|
517
|
+
Y as detectOverflow,
|
518
|
+
le as flip,
|
519
|
+
re as hide,
|
520
|
+
de as limitShift,
|
521
|
+
fe as offset,
|
522
|
+
_ as rectToClientRect,
|
523
|
+
me as shift,
|
524
|
+
xe as size
|
71
525
|
};
|
72
526
|
//# sourceMappingURL=index.es662.js.map
|