@wix/interact 2.8.4 → 2.8.5
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/cjs/index.js +1 -1
- package/dist/cjs/react.js +1 -1
- package/dist/cjs/web.js +1 -1
- package/dist/es/index.js +1 -1
- package/dist/es/react.js +2 -2
- package/dist/es/web.js +2 -2
- package/dist/index-D8zv4Q-3.js +29 -0
- package/dist/index-D8zv4Q-3.js.map +1 -0
- package/dist/{index-DxihyZYQ.mjs → index-DSREj0qw.mjs} +1628 -1427
- package/dist/index-DSREj0qw.mjs.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/core/Interact.d.ts +2 -2
- package/dist/types/core/InteractionController.d.ts +6 -1
- package/dist/types/core/InteractionController.d.ts.map +1 -1
- package/dist/types/core/add.d.ts.map +1 -1
- package/dist/types/handlers/animationEnd.d.ts +15 -0
- package/dist/types/handlers/animationEnd.d.ts.map +1 -1
- package/dist/types/handlers/viewEnter.d.ts +8 -0
- package/dist/types/handlers/viewEnter.d.ts.map +1 -1
- package/dist/types/react/Interaction.d.ts +1 -1
- package/dist/types/types/controller.d.ts +15 -2
- package/dist/types/types/controller.d.ts.map +1 -1
- package/dist/types/types/handlers.d.ts +18 -0
- package/dist/types/types/handlers.d.ts.map +1 -1
- package/dist/types/types/internal.d.ts +2 -0
- package/dist/types/types/internal.d.ts.map +1 -1
- package/dist/types/types/plugins.d.ts +12 -4
- package/dist/types/types/plugins.d.ts.map +1 -1
- package/docs/api/interact-class.md +1 -1
- package/docs/api/types.md +3 -1
- package/docs/guides/plugins.md +28 -3
- package/package.json +1 -1
- package/rules/full-lean.md +2 -1
- package/rules/plugins.md +5 -1
- package/dist/index-DxihyZYQ.mjs.map +0 -1
- package/dist/index-OM5ScKV3.js +0 -29
- package/dist/index-OM5ScKV3.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../src/external-types.d.ts","../../../node_modules/@types/react/global.d.ts","../../../node_modules/csstype/index.d.ts","../../../node_modules/@types/prop-types/index.d.ts","../../../node_modules/@types/react/index.d.ts","../../../node_modules/@types/react/jsx-runtime.d.ts","../../motion/dist/types/AnimationGroup.d.ts","../../motion/dist/types/types.d.ts","../../motion/dist/types/Sequence.d.ts","../../motion/dist/types/easings.d.ts","../../motion/dist/types/utils.d.ts","../../motion/dist/types/api/webAnimations.d.ts","../../motion/dist/types/api/cssAnimations.d.ts","../../motion/dist/types/api/prepare.d.ts","../../motion/dist/types/motion.d.ts","../../motion/dist/types/api/registry.d.ts","../../motion/dist/types/index.d.ts","../src/types/triggers.ts","../src/types/css.ts","../src/types/plugins.ts","../src/types/effects.ts","../src/types/config.ts","../src/types/controller.ts","../src/types/handlers.ts","../src/types/internal.ts","../src/types/global.ts","../src/types/index.ts","../src/core/utilities.ts","../src/utils.ts","../src/core/reducedMotion.ts","../src/core/resolvers.ts","../src/core/cssUtils.ts","../src/handlers/utilities.ts","../src/core/css.ts","../../../node_modules/fastdom/fastdom.d.ts","../src/handlers/viewEnter.ts","../../../node_modules/fizban/types.d.ts","../src/handlers/viewProgress.ts","../../../node_modules/kuliso/types.d.ts","../src/handlers/pointerMove.ts","../src/handlers/animationEnd.ts","../src/handlers/effectHandlers.ts","../src/handlers/eventTrigger.ts","../src/handlers/constants.ts","../src/handlers/index.ts","../src/core/Interact.ts","../src/core/add.ts","../src/core/remove.ts","../src/core/InteractionController.ts","../src/dom/api.ts","../src/types/external.ts","../src/index.ts","../../../node_modules/@vitest/pretty-format/dist/index.d.ts","../../../node_modules/@vitest/utils/dist/display.d.ts","../../../node_modules/@vitest/utils/dist/types.d.ts","../../../node_modules/@vitest/utils/dist/helpers.d.ts","../../../node_modules/@vitest/utils/dist/timers.d.ts","../../../node_modules/@vitest/utils/dist/index.d.ts","../../../node_modules/@vitest/runner/dist/tasks.d-C7UxawJ9.d.ts","../../../node_modules/@vitest/utils/dist/types.d-BCElaP-c.d.ts","../../../node_modules/@vitest/utils/dist/diff.d.ts","../../../node_modules/@vitest/runner/dist/types.d.ts","../../../node_modules/@vitest/runner/dist/index.d.ts","../../../node_modules/vitest/dist/chunks/traces.d.402V_yFI.d.ts","../../../node_modules/vite/types/hmrPayload.d.ts","../../../node_modules/vite/dist/node/chunks/moduleRunnerTransport.d.ts","../../../node_modules/vite/types/customEvent.d.ts","../../../node_modules/vite/types/hot.d.ts","../../../node_modules/vite/dist/node/module-runner.d.ts","../../../node_modules/@vitest/snapshot/dist/environment.d-DHdQ1Csl.d.ts","../../../node_modules/@vitest/snapshot/dist/rawSnapshot.d-lFsMJFUd.d.ts","../../../node_modules/@vitest/snapshot/dist/index.d.ts","../../../node_modules/vitest/dist/chunks/config.d.Cy95HiCx.d.ts","../../../node_modules/vitest/dist/chunks/environment.d.CrsxCzP1.d.ts","../../../node_modules/vitest/dist/chunks/rpc.d.RH3apGEf.d.ts","../../../node_modules/vitest/dist/chunks/worker.d.Dyxm8DEL.d.ts","../../../node_modules/vitest/dist/chunks/browser.d.ChKACdzH.d.ts","../../../node_modules/@vitest/spy/dist/index.d.ts","../../../node_modules/tinyrainbow/dist/index.d.ts","../../../node_modules/@standard-schema/spec/dist/index.d.ts","../../../node_modules/@types/deep-eql/index.d.ts","../../../node_modules/assertion-error/index.d.ts","../../../node_modules/@types/chai/index.d.ts","../../../node_modules/@vitest/expect/dist/index.d.ts","../../../node_modules/@vitest/runner/dist/utils.d.ts","../../../node_modules/tinybench/dist/index.d.ts","../../../node_modules/vitest/dist/chunks/benchmark.d.DAaHLpsq.d.ts","../../../node_modules/vitest/dist/chunks/global.d.B15mdLcR.d.ts","../../../node_modules/vitest/dist/chunks/suite.d.BJWk38HB.d.ts","../../../node_modules/vitest/dist/chunks/evaluatedModules.d.BxJ5omdx.d.ts","../../../node_modules/expect-type/dist/utils.d.ts","../../../node_modules/expect-type/dist/overloads.d.ts","../../../node_modules/expect-type/dist/branding.d.ts","../../../node_modules/expect-type/dist/messages.d.ts","../../../node_modules/expect-type/dist/index.d.ts","../../../node_modules/vitest/dist/index.d.ts","../../../node_modules/vitest/globals.d.ts","../src/test-types.d.ts","../src/react/interactRef.ts","../src/react/Interaction.tsx","../src/react/index.ts","../src/web/InteractElement.ts","../src/web/defineInteractElement.ts","../src/web/index.ts","../../../node_modules/@types/aria-query/index.d.ts","../../../node_modules/@babel/types/lib/index.d.ts","../../../node_modules/@types/babel__generator/index.d.ts","../../../node_modules/@babel/parser/typings/babel-parser.d.ts","../../../node_modules/@types/babel__template/index.d.ts","../../../node_modules/@types/babel__traverse/index.d.ts","../../../node_modules/@types/babel__core/index.d.ts","../../../node_modules/@types/ms/index.d.ts","../../../node_modules/@types/debug/index.d.ts","../../../node_modules/@types/esrecurse/index.d.ts","../../../node_modules/@types/estree/index.d.ts","../../../node_modules/@types/estree-jsx/index.d.ts","../../../node_modules/@types/unist/index.d.ts","../../../node_modules/@types/hast/index.d.ts","../../../node_modules/@types/json-schema/index.d.ts","../../../node_modules/@types/mdast/index.d.ts","../../../node_modules/@types/react-dom/index.d.ts"],"fileIdsList":[[165],[165,166,167,168,169],[165,167],[140,141],[171],[174,175],[176],[64],[61,62,63],[113,117,120,122,137,138,139,142,147],[117,118,120,121],[117],[117,118,120],[117,118],[112,129,130],[112,129],[112,119],[112],[114],[112,113,114,115,116],[150,151],[150,151,152,153],[150,152],[150],[124],[124,125,126,127],[126],[122,144,145,147],[122,123,135,147],[112,120,122,131,147],[128],[112,122,131,134,143,146,147],[122,123,128,131,147],[122,144,145,146,147],[122,128,132,133,134,147],[112,117,120,122,123,128,131,132,133,134,135,136,137,143,144,145,146,147,148,149,154],[155],[65,76,86,87,89,93,104],[65,86,106,107],[65,76,86,87,88,89,92,104,105],[65,76,86,87,88,89,90,91,92,105],[65,76,86,88],[65,86,88],[65,86,104,105],[65,86,87,88,89],[65,86],[65,105,108],[65,76,86,92],[65],[65,76,86,92,94],[65,86,92,101],[65,86,95,97,99,100,102,103],[65,76,86,92,98],[65,76,86,92,96],[65,93,105,109,110],[64,65,158],[65,93,105,109,110,158,159],[65,109],[156],[65,77,79,80],[65,79,80],[65,76,79,80],[65,76,79],[65,77,78,79,80,81,82,83],[65,76,77,80,82],[65,77,78,79,80,81,82,83,84,85],[65,80,81],[65,78],[65,76],[65,76,86],[65,86,108],[65,161],[65,93,105,109,110,162],[67],[66,67],[67,69,70,74,75],[66,67,68,70,71,72,73],[66],[69]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"9fc947627f070ce2adfc2cb7bfabd0a4bf1157b2942daf83f4f2dced2eaacd8b","impliedFormat":1},{"version":"eb5b19b86227ace1d29ea4cf81387279d04bb34051e944bc53df69f58914b788","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac51dd7d31333793807a6abaa5ae168512b6131bd41d9c5b98477fc3b7800f9f","impliedFormat":1},{"version":"87d9d29dbc745f182683f63187bf3d53fd8673e5fca38ad5eaab69798ed29fbc","impliedFormat":1},{"version":"035312d4945d13efa134ae482f6dc56a1a9346f7ac3be7ccbad5741058ce87f3","affectsGlobalScope":true,"impliedFormat":1},{"version":"42c169fb8c2d42f4f668c624a9a11e719d5d07dacbebb63cbcf7ef365b0a75b3","impliedFormat":1},{"version":"0685c629104b23cce60a9509d3c21dfb962bca926279ed8895121084f26a14a3","impliedFormat":1},{"version":"39cd9b5aa565059ca42244740e59a351ca1ffef46bf7a5e8dfdc1e507fa011df","affectsGlobalScope":true,"impliedFormat":1},{"version":"9bedf5fd5f2dc65f13db2de6101b33232b86766c926d5efd1a344aaed56aee8e","impliedFormat":1},{"version":"e8f08dd1ba78fb7fa18bd8ceee93f97e99504d6def93e07da35cfabb408479b5","impliedFormat":1},{"version":"2fbbf99bcdb222452246071d833eac6cf0bb9de4f4ca47434b645ba285bfae01","impliedFormat":1},{"version":"1f3265cde09b9ebd0b7b9fd6f3eab5c1567a491b4e46cc7653a10d2b51728eea","impliedFormat":1},{"version":"56f6292c04b8df5413ff9776af9bd04c58cc2d89cd839585fb0913200ef5474c","impliedFormat":1},{"version":"e36f6128e267027b803044df43f3371c48ce5edc4b530573d6090fc7178ab236","impliedFormat":1},{"version":"65947b99f129152246a95866c189aea294b2997bcaf64c52710b7ca2e062e5a0","impliedFormat":1},{"version":"21f923323e786cdce3683ebbfe5f10f6124cfffa555e7ffd73322e1766412f7e","impliedFormat":1},{"version":"1fd30a7b5c703daf10b1896536c498c02578bc5a20dca86e3f44cf7a4029324f","impliedFormat":1},{"version":"160964cbec06b0d1c7e34bd6675d32c644e7f8bf726b661ec1d52c3e3f9db9f5","signature":"ef609867d124ad47786b10614c34adacd92884a977e62215c9758d57fb160c83","impliedFormat":1},{"version":"e43986d1ce4a3865b23228101ee3f7ec7195564a7d231e7832cf0fe0c29f7063","signature":"1b8c6de7f85e3ca962239aaaaaf1ec35282813c3e0c10641af9415b64bbf2ee9","impliedFormat":1},{"version":"4b89d7ee6a6e75bbf2cec5419a618cd4585d9c56e2e2ee684caa5a80d5d2efca","signature":"70ba64d3c480b548e9989aca0a20c4762ef9e5182d551a69b763519a3e3f32ed","impliedFormat":1},{"version":"267365dc7349dc2151b4c12fd8cde324c7fe63675d07a5be3bf7bd06fccadd38","signature":"45ca8b46146d9b98bbcc3a884119fa0cd558f10d73d30123856fbf3c9b5a1c0a","impliedFormat":1},{"version":"ea222887f53a239a834b4d7324a1c4c464af1afa7a3750fde2caef8d2a83adb7","signature":"78e1eb25f8f89720690556f7f63ff1a17ea462349526b0d3681cd11330e76585","impliedFormat":1},{"version":"56eaac057804dd9e5b5098f962aa519decaadb0c0fde330b6363ba2f86cbd01b","signature":"b38e5e2d36a73a55f6466903e80df6d8a6c9bf0847b9b727aaf32eaa9d903582","impliedFormat":1},{"version":"2d2769f499b4c62107ed4aa01c6f5382e234884398492e87a681ec9b85f1f266","signature":"2aecdfe72a834762944ca7ade61c3d610715b36011b8b71a6d60d81ccf0728b6","impliedFormat":1},{"version":"4d41da9ce36e032aaf6f593d3db4886d75db27816d53ce84ac32ab2a68c4bf4a","signature":"6aba1c73fb9c28b83aafa6136176ec12dea89f8f7c8124d6112fab34eeafc3ce","impliedFormat":1},{"version":"76962459495065e058eb6ab2e5102e63a269800fc8661481fe3ad9fb11b37ac7","signature":"eb6562ee00e85a45f6e327d7d1c956bb56b031e78e98d8fe9ae2a189c1017ccc","affectsGlobalScope":true,"impliedFormat":1},{"version":"d1b0733be47ef7e1d36c49689be97140d5be7a7bdbe6ed6a2171e544d4c687f9","impliedFormat":1},{"version":"f246d18ab23346359da480c436eb8f0c7b3a131509bf23fb626c1a08630996c8","signature":"e0e3d8684b453c361f4a9091c957b01d4ebcfae82a123c197dda7f4e77fb912d","impliedFormat":1},{"version":"ce41827ce7b2bb99050518860868c28b51d3dbb5c44c466e2003966f5c657e6f","signature":"d806d5d3275444904f649e85b721b5218c5877d1b645f3dd384b1934aafdb81c","impliedFormat":1},{"version":"21d6e52c75ac732ffa20b8a4267b97072e798a4d18752e98dbdad458b1c65ef3","signature":"2fcd5fd94629d795b03c737fd26768a8e33638d2c8a4c48622162272e5904424","impliedFormat":1},{"version":"c9b60c5780193e4452f2c0535e32e460798519cbf8fa40487f747fc5b56d043f","signature":"d16f195235f6cf73d13204b2875ce3e33060e3e55188e12ed27f9010b92ab36b","impliedFormat":1},{"version":"8f12864b635154d0ceba677f23aa4d3f6e0c498000618a4f8bc7abbbcdc81615","signature":"d962eec99ed29b16e984a293f04fb4eb235eae37f925d14528657e54ac6eb66b","impliedFormat":1},{"version":"429eaa45a2d5bd30e2dd1fb030e1981af747e07386c0fa5ca363cedfff1af610","signature":"fd8f59ccef66575aac5c27f1aeab3fb1bc370658e06bbe8f9df4a771602fde60","impliedFormat":1},{"version":"1c2502ee5bfb2a45010d686ba42697fcc7534c31a880a37f092e76a105488d8b","signature":"9f0d759ff6cfb3eea8cf187eedf2f88f429e26587f5c7eb5a9cff402cea485f0","impliedFormat":1},{"version":"0021fffc42233d659de1469140b99ad163c3e030bf96681d1010b35c40fe0704","impliedFormat":1},{"version":"eb55b89447586cb95a99f001db8449844e58e5f6d28d779073a38c9bce65aef6","signature":"d1f0c623d5ce7519428bbff3ee2acee1c866255e28ce725fa5b5739889f3d965","impliedFormat":1},{"version":"f7a8a5944e41311c71111011461405e530cab30c73318abf24c66e402e2edba8","affectsGlobalScope":true,"impliedFormat":99},{"version":"ea9f3ac44b8eef20d0d007eafacfb3073d74ec7b1fd90a256782db7598816c8d","signature":"fb505cc98da558d0d4e32176715748a10a0fe30729dd9d421d62397a41a3d3ac","impliedFormat":1},{"version":"1ba3a85e0230824acb3de91ef6f86586ac27cef899b110cc740909aa92b497de","affectsGlobalScope":true,"impliedFormat":99},{"version":"a433405bf1c8166a57efeb3264513bf3bc716c87c83bf26ba8327f8ce8b63fe1","signature":"6d022fa091c92df1f891f629bf0a39ce18b556c1250e129f12891700fb2b97a2","impliedFormat":1},{"version":"0b7c4851eb42d64d9ca0c370aa5a6fe146910cc0bfdc389adfa56e4743310d1c","signature":"159d0d030893ce4bd01d7b13767bba8392cb9fb20b8779d26702bb5ab221c383","impliedFormat":1},{"version":"b875f6caf8ba810ca79afc228c9e12abc2314df6aac1aeb4bbb7ce0bd2cee469","signature":"4be060490b32c2fc648ebccfba1876e114388e477396cf58c7d0407a0bed26f1","impliedFormat":1},{"version":"dc9fd95d540676a9441b34b27851e6d01f596162ab967103975f7196dd986ece","signature":"1c955c5da8ed467ee001a5fa6d3669dc8f53bba189eccf09b933b7d8affe9e4a","impliedFormat":1},{"version":"b7612edcad9aefa346f1374bccd9be9487f9369e6e91c7eb0fc4817264645e01","signature":"e23dc290564f3e7027239e04bc4f485b3d963a386b2ad06a306ef405dcc85db3","impliedFormat":1},{"version":"56527354a80b8a597beec5162b72aa0cd531b2e330fd3b49eb5daa6554f5e901","signature":"bbed48c88a409b3a89adf82b39dea236a1eb71f34e3ae171e50de248d1ddf719","impliedFormat":1},{"version":"175a101c45ea2cf696597072d56e6d99ee80671ee9e855f6af95c27c75a39e87","signature":"7500d1626de38a83d69ee2f0866868837ffa9332df1e83e542ad17608e3ab0c3","impliedFormat":1},{"version":"c4d2108bcd58fc2ebabeeca55b99037e762707d87995626952b4fad4b73e89a8","signature":"229e4e7bcdc86b3bc14a2bfa02b90eef9cc9bdd438ca04b5c7d58019d78f5297","impliedFormat":1},{"version":"b8d06f315a7dfca07baf50d5e830ee9221758de9728a5dd0e78ef68050b09356","signature":"6c76b37da9beda925bec8513d1d8b99fd4f8aa254fa9c4972d15b06bca7ae385","impliedFormat":1},{"version":"5886c385063e3819bab0aabf87d7417f31173b2b94e03853f0dcb5db31b5eaf5","signature":"3da7dc29959bf288cb633fb53929277c8edd6136e2d9d0c3134f4e8d884349ce","impliedFormat":1},{"version":"420e1c141b8c23ceaaa28465cb8c4d0a98320cac2a2e4e92bb1cae9174d23c80","signature":"305685da5b2e363f2b8603ea1820ce48332ad034c91e862b77e4089dce7477df","impliedFormat":1},{"version":"6dda3d1a5f00b29717a79d2f81272d237f588a04fee9928c229ebfdbc173e97c","signature":"66b57e531f6d8e2e83eb75df3029bdf469a2743c602c8428dc5610fa6194487f","impliedFormat":1},{"version":"279c0be87c8b7ee79cdd8c0a6d89e19392877078ecc05eeb1ff660bf40a588a1","signature":"1101d697e70f543057f2d028b9c7e7078adea1df01f78cc9b3cceaa62c9a96b8","impliedFormat":1},{"version":"acfb723d81eda39156251aed414c553294870bf53062429ebfcfba8a68cb4753","impliedFormat":99},{"version":"fa69a90381c2f85889722a911a732a5ee3596dc3acecda8a9aa2fa89b9615d8d","impliedFormat":99},{"version":"b5ce343886d23392be9c8280e9f24a87f1d7d3667f6672c2fe4aa61fa4ece7d4","impliedFormat":99},{"version":"57e9e1b0911874c62d743af24b5d56032759846533641d550b12a45ff404bf07","impliedFormat":99},{"version":"b0857bb28fd5236ace84280f79a25093f919fd0eff13e47cc26ea03de60a7294","impliedFormat":99},{"version":"5e43e0824f10cd8c48e7a8c5c673638488925a12c31f0f9e0957965c290eb14c","impliedFormat":99},{"version":"854cd3a3375ffc4e7a92b2168dd065d7ff2614b43341038a65cca865a44c00c5","impliedFormat":99},{"version":"ef13c73d6157a32933c612d476c1524dd674cf5b9a88571d7d6a0d147544d529","impliedFormat":99},{"version":"3b0a56d056d81a011e484b9c05d5e430711aaecd561a788bad1d0498aad782c7","impliedFormat":99},{"version":"2f863ee9b873a65d9c3338ea7aaddbdb41a9673f062f06983d712bd01c25dc6b","impliedFormat":99},{"version":"67aa128c2bc170b93794f191feffc65a4b33e878db211cfcb7658c4b72f7a1f5","impliedFormat":99},{"version":"ac3d263474022e9a14c43f588f485d549641d839b159ecc971978b90f34bdf6b","impliedFormat":99},{"version":"a7ca8df4f2931bef2aa4118078584d84a0b16539598eaadf7dce9104dfaa381c","impliedFormat":1},{"version":"10073cdcf56982064c5337787cc59b79586131e1b28c106ede5bff362f912b70","impliedFormat":99},{"version":"72950913f4900b680f44d8cab6dd1ea0311698fc1eefb014eb9cdfc37ac4a734","impliedFormat":1},{"version":"36977c14a7f7bfc8c0426ae4343875689949fb699f3f84ecbe5b300ebf9a2c55","impliedFormat":1},{"version":"ff0a83c9a0489a627e264ffcb63f2264b935b20a502afa3a018848139e3d8575","impliedFormat":99},{"version":"324ac98294dab54fbd580c7d0e707d94506d7b2c3d5efe981a8495f02cf9ad96","impliedFormat":99},{"version":"9ec72eb493ff209b470467e24264116b6a8616484bca438091433a545dfba17e","impliedFormat":99},{"version":"c35b8117804c639c53c87f2c23e0c786df61d552e513bd5179f5b88e29964838","impliedFormat":99},{"version":"c609331c6ed4ad4af54e101088c6a4dcb48f8db7b0b97e44a6efeb130f4331bd","impliedFormat":99},{"version":"bcbd3becd08b4515225880abea0dbfbbf0d1181ce3af8f18f72f61edbe4febfb","impliedFormat":99},{"version":"67acaedb46832d66c15f1b09fb7b6a0b7f41bdbf8eaa586ec70459b3e8896eb9","impliedFormat":99},{"version":"4535ab977ee871e956eb7bebe2db5de79f5d5ec7dfbbf1d35e08f4a2d6630dac","impliedFormat":99},{"version":"b79b5ed99f26ffb2f8ae4bdcc4b34a9542197dc3fa96cfb425c2a81e618cff28","impliedFormat":99},{"version":"31fd7c12f6e27154efb52a916b872509a771880f3b20f2dfd045785c13aa813f","impliedFormat":99},{"version":"b481de4ab5379bd481ca12fc0b255cdc47341629a22c240a89cdb4e209522be2","impliedFormat":99},{"version":"bdd14f07b4eca0b4b5203b85b8dbc4d084c749fa590bee5ea613e1641dcd3b29","impliedFormat":99},{"version":"427fe2004642504828c1476d0af4270e6ad4db6de78c0b5da3e4c5ca95052a99","impliedFormat":1},{"version":"2eeffcee5c1661ddca53353929558037b8cf305ffb86a803512982f99bcab50d","impliedFormat":99},{"version":"9afb4cb864d297e4092a79ee2871b5d3143ea14153f62ef0bb04ede25f432030","affectsGlobalScope":true,"impliedFormat":99},{"version":"4e258d11c899cb9ff36b4b5c53df59cf4a5ccae9a9931529686e77431e0a3518","affectsGlobalScope":true,"impliedFormat":99},{"version":"a5ae67a67f786ffe92d34b55467a40fb50fb0093e92388cadce6168fa42690fd","impliedFormat":99},{"version":"69bf2422313487956e4dacf049f30cb91b34968912058d244cb19e4baa24da97","impliedFormat":99},{"version":"6987dfb4b0c4e02112cc4e548e7a77b3d9ddfeffa8c8a2db13ceac361a4567d9","impliedFormat":99},{"version":"a534e61c2f06a147d97aebad720db97dffd8066b7142212e46bcbcdcb640b81a","impliedFormat":99},{"version":"ddf569d04470a4d629090d43a16735185001f3fcf0ae036ead99f2ceab62be48","impliedFormat":99},{"version":"b413fbc6658fe2774f8bf9a15cf4c53e586fc38a2d5256b3b9647da242c14389","impliedFormat":99},{"version":"c30a41267fc04c6518b17e55dcb2b810f267af4314b0b6d7df1c33a76ce1b330","impliedFormat":1},{"version":"72422d0bac4076912385d0c10911b82e4694fc106e2d70added091f88f0824ba","impliedFormat":1},{"version":"da251b82c25bee1d93f9fd80c5a61d945da4f708ca21285541d7aff83ecb8200","impliedFormat":1},{"version":"64db14db2bf37ac089766fdb3c7e1160fabc10e9929bc2deeede7237e4419fc8","impliedFormat":1},{"version":"98b94085c9f78eba36d3d2314affe973e8994f99864b8708122750788825c771","impliedFormat":1},{"version":"53c448183c7177c83d3eb0b40824cf8952721a6584cf22052adc24f778986732","impliedFormat":99},{"version":"0a5bc32362b0559b9bcf0a6a83136c4442dbbd0edecd671538a5e03454b6dff0","affectsGlobalScope":true,"impliedFormat":99},{"version":"378885a4719497698facdf5f16941c8061bfeffd2e7197f1975ada30f90fcbf1","impliedFormat":1},{"version":"7205eca9dd959910443d5b040e66f50754cb8a75c2ee9c653ac350082a54a3df","signature":"97732c823a32a58f16d1acfee489f754c82f606d2809ffa050e2c756ac42da35","impliedFormat":1},{"version":"ccc8e7797146fa1c7a432efaa78180162a5ed46973ba4d4c2ba6c6ad99853082","signature":"0b30d8eeb36cdf266625bd1abde8f6b56483495057e07723442017402ea7829c","impliedFormat":1},{"version":"9f52c5cd0e628dfbbafe1ffb340566c34516a8f224af8b8b904d3e7742dc5b04","signature":"ffed0a4699bfc84489f5ed4d5d832ad8fce43aaeda3527bdbb8ccdd1276fa77f","impliedFormat":1},{"version":"b5060b87e736d94ccbf5e2206ab622b6f43c3cc0310a8585880889ccef8d8380","signature":"f812375dec3528e55924ca59cb36c5ad28453f35101992e112a0ded9a7d776ec","impliedFormat":1},{"version":"58a0645a12661b4e8586ce30add8b3bc738404238442fe7013c7b3280c4e6766","signature":"6dea7914b6a9245ab2d42e813ebe6aa9842dec30e16ff6a4b42699c3946c9ebb","impliedFormat":1},{"version":"36dfb89689a7ab4da2dab1cb007bad1c763e733573376aa791879220d1eb2938","signature":"dcedbce0a9c258f74a5847d6bdcd89693c01ea9f14aacc555825915f824ad70a","impliedFormat":1},{"version":"ae77d81a5541a8abb938a0efedf9ac4bea36fb3a24cc28cfa11c598863aba571","impliedFormat":1},{"version":"556ccd493ec36c7d7cb130d51be66e147b91cc1415be383d71da0f1e49f742a9","impliedFormat":1},{"version":"b6d03c9cfe2cf0ba4c673c209fcd7c46c815b2619fd2aad59fc4229aaef2ed43","impliedFormat":1},{"version":"95aba78013d782537cc5e23868e736bec5d377b918990e28ed56110e3ae8b958","impliedFormat":1},{"version":"670a76db379b27c8ff42f1ba927828a22862e2ab0b0908e38b671f0e912cc5ed","impliedFormat":1},{"version":"13b77ab19ef7aadd86a1e54f2f08ea23a6d74e102909e3c00d31f231ed040f62","impliedFormat":1},{"version":"069bebfee29864e3955378107e243508b163e77ab10de6a5ee03ae06939f0bb9","impliedFormat":1},{"version":"fb893a0dfc3c9fb0f9ca93d0648694dd95f33cbad2c0f2c629f842981dfd4e2e","impliedFormat":1},{"version":"3eb11dbf3489064a47a2e1cf9d261b1f100ef0b3b50ffca6c44dd99d6dd81ac1","impliedFormat":1},{"version":"d5799bcf7fe4e6de3063abf4e321c14b051706f03cf5716d8a19f22fe1f69519","impliedFormat":1},{"version":"151ff381ef9ff8da2da9b9663ebf657eac35c4c9a19183420c05728f31a6761d","impliedFormat":1},{"version":"5d08a179b846f5ee674624b349ebebe2121c455e3a265dc93da4e8d9e89722b4","impliedFormat":1},{"version":"89121c1bf2990f5219bfd802a3e7fc557de447c62058d6af68d6b6348d64499a","impliedFormat":1},{"version":"79b4369233a12c6fa4a07301ecb7085802c98f3a77cf9ab97eee27e1656f82e6","impliedFormat":1},{"version":"f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","impliedFormat":1},{"version":"d4a22007b481fe2a2e6bfd3a42c00cd62d41edb36d30fc4697df2692e9891fc8","impliedFormat":1},{"version":"17ed71200119e86ccef2d96b73b02ce8854b76ad6bd21b5021d4269bec527b5f","impliedFormat":1}],"root":[60,[77,93],95,97,[99,111],[157,163]],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationDir":"./types","declarationMap":true,"emitDeclarationOnly":true,"jsx":4,"module":199,"noImplicitReturns":true,"noUnusedLocals":false,"noUnusedParameters":false,"outDir":"./es","rootDir":"../src","skipLibCheck":true,"strict":true,"target":9},"referencedMap":[[167,1],[170,2],[166,1],[168,3],[169,1],[142,4],[172,5],[175,6],[177,7],[179,7],[180,8],[64,9],[65,8],[143,10],[122,11],[118,12],[121,13],[144,14],[131,15],[130,16],[120,17],[113,18],[115,19],[117,20],[119,18],[152,21],[154,22],[153,23],[151,24],[125,25],[128,26],[126,25],[127,27],[146,28],[136,29],[132,30],[133,12],[149,31],[147,32],[134,33],[148,34],[135,35],[155,36],[156,37],[105,38],[108,39],[106,40],[93,41],[91,42],[89,43],[107,44],[90,45],[87,46],[109,47],[100,48],[103,49],[101,50],[102,51],[104,52],[99,53],[92,46],[95,50],[97,54],[111,55],[159,56],[160,57],[158,58],[157,59],[81,60],[82,61],[78,62],[80,63],[110,64],[85,49],[83,65],[86,66],[84,67],[79,68],[77,69],[88,70],[161,71],[162,72],[163,73],[66,74],[68,75],[72,74],[73,74],[75,74],[71,75],[76,76],[74,77],[67,78],[70,79]],"latestChangedDtsFile":"./types/web/index.d.ts","version":"5.9.3"}
|
|
1
|
+
{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../src/external-types.d.ts","../../../node_modules/@types/react/global.d.ts","../../../node_modules/csstype/index.d.ts","../../../node_modules/@types/prop-types/index.d.ts","../../../node_modules/@types/react/index.d.ts","../../../node_modules/@types/react/jsx-runtime.d.ts","../../motion/dist/types/AnimationGroup.d.ts","../../motion/dist/types/types.d.ts","../../motion/dist/types/Sequence.d.ts","../../motion/dist/types/easings.d.ts","../../motion/dist/types/utils.d.ts","../../motion/dist/types/api/webAnimations.d.ts","../../motion/dist/types/api/cssAnimations.d.ts","../../motion/dist/types/api/prepare.d.ts","../../motion/dist/types/motion.d.ts","../../motion/dist/types/api/registry.d.ts","../../motion/dist/types/index.d.ts","../src/types/triggers.ts","../src/types/css.ts","../src/types/plugins.ts","../src/types/effects.ts","../src/types/config.ts","../src/types/controller.ts","../src/types/handlers.ts","../src/types/internal.ts","../src/types/global.ts","../src/types/index.ts","../src/core/utilities.ts","../src/utils.ts","../src/core/reducedMotion.ts","../src/core/resolvers.ts","../src/core/cssUtils.ts","../src/handlers/utilities.ts","../src/core/css.ts","../../../node_modules/fastdom/fastdom.d.ts","../src/handlers/viewEnter.ts","../../../node_modules/fizban/types.d.ts","../src/handlers/viewProgress.ts","../../../node_modules/kuliso/types.d.ts","../src/handlers/pointerMove.ts","../src/handlers/animationEnd.ts","../src/handlers/effectHandlers.ts","../src/handlers/eventTrigger.ts","../src/handlers/constants.ts","../src/handlers/index.ts","../src/core/Interact.ts","../src/core/add.ts","../src/core/remove.ts","../src/core/InteractionController.ts","../src/dom/api.ts","../src/types/external.ts","../src/index.ts","../../../node_modules/@vitest/pretty-format/dist/index.d.ts","../../../node_modules/@vitest/utils/dist/display.d.ts","../../../node_modules/@vitest/utils/dist/types.d.ts","../../../node_modules/@vitest/utils/dist/helpers.d.ts","../../../node_modules/@vitest/utils/dist/timers.d.ts","../../../node_modules/@vitest/utils/dist/index.d.ts","../../../node_modules/@vitest/runner/dist/tasks.d-C7UxawJ9.d.ts","../../../node_modules/@vitest/utils/dist/types.d-BCElaP-c.d.ts","../../../node_modules/@vitest/utils/dist/diff.d.ts","../../../node_modules/@vitest/runner/dist/types.d.ts","../../../node_modules/@vitest/runner/dist/index.d.ts","../../../node_modules/vitest/dist/chunks/traces.d.402V_yFI.d.ts","../../../node_modules/vite/types/hmrPayload.d.ts","../../../node_modules/vite/dist/node/chunks/moduleRunnerTransport.d.ts","../../../node_modules/vite/types/customEvent.d.ts","../../../node_modules/vite/types/hot.d.ts","../../../node_modules/vite/dist/node/module-runner.d.ts","../../../node_modules/@vitest/snapshot/dist/environment.d-DHdQ1Csl.d.ts","../../../node_modules/@vitest/snapshot/dist/rawSnapshot.d-lFsMJFUd.d.ts","../../../node_modules/@vitest/snapshot/dist/index.d.ts","../../../node_modules/vitest/dist/chunks/config.d.Cy95HiCx.d.ts","../../../node_modules/vitest/dist/chunks/environment.d.CrsxCzP1.d.ts","../../../node_modules/vitest/dist/chunks/rpc.d.RH3apGEf.d.ts","../../../node_modules/vitest/dist/chunks/worker.d.Dyxm8DEL.d.ts","../../../node_modules/vitest/dist/chunks/browser.d.ChKACdzH.d.ts","../../../node_modules/@vitest/spy/dist/index.d.ts","../../../node_modules/tinyrainbow/dist/index.d.ts","../../../node_modules/@standard-schema/spec/dist/index.d.ts","../../../node_modules/@types/deep-eql/index.d.ts","../../../node_modules/assertion-error/index.d.ts","../../../node_modules/@types/chai/index.d.ts","../../../node_modules/@vitest/expect/dist/index.d.ts","../../../node_modules/@vitest/runner/dist/utils.d.ts","../../../node_modules/tinybench/dist/index.d.ts","../../../node_modules/vitest/dist/chunks/benchmark.d.DAaHLpsq.d.ts","../../../node_modules/vitest/dist/chunks/global.d.B15mdLcR.d.ts","../../../node_modules/vitest/dist/chunks/suite.d.BJWk38HB.d.ts","../../../node_modules/vitest/dist/chunks/evaluatedModules.d.BxJ5omdx.d.ts","../../../node_modules/expect-type/dist/utils.d.ts","../../../node_modules/expect-type/dist/overloads.d.ts","../../../node_modules/expect-type/dist/branding.d.ts","../../../node_modules/expect-type/dist/messages.d.ts","../../../node_modules/expect-type/dist/index.d.ts","../../../node_modules/vitest/dist/index.d.ts","../../../node_modules/vitest/globals.d.ts","../src/test-types.d.ts","../src/react/interactRef.ts","../src/react/Interaction.tsx","../src/react/index.ts","../src/web/InteractElement.ts","../src/web/defineInteractElement.ts","../src/web/index.ts","../../../node_modules/@types/aria-query/index.d.ts","../../../node_modules/@babel/types/lib/index.d.ts","../../../node_modules/@types/babel__generator/index.d.ts","../../../node_modules/@babel/parser/typings/babel-parser.d.ts","../../../node_modules/@types/babel__template/index.d.ts","../../../node_modules/@types/babel__traverse/index.d.ts","../../../node_modules/@types/babel__core/index.d.ts","../../../node_modules/@types/ms/index.d.ts","../../../node_modules/@types/debug/index.d.ts","../../../node_modules/@types/esrecurse/index.d.ts","../../../node_modules/@types/estree/index.d.ts","../../../node_modules/@types/estree-jsx/index.d.ts","../../../node_modules/@types/unist/index.d.ts","../../../node_modules/@types/hast/index.d.ts","../../../node_modules/@types/json-schema/index.d.ts","../../../node_modules/@types/mdast/index.d.ts","../../../node_modules/@types/react-dom/index.d.ts"],"fileIdsList":[[165],[165,166,167,168,169],[165,167],[140,141],[171],[174,175],[176],[64],[61,62,63],[113,117,120,122,137,138,139,142,147],[117,118,120,121],[117],[117,118,120],[117,118],[112,129,130],[112,129],[112,119],[112],[114],[112,113,114,115,116],[150,151],[150,151,152,153],[150,152],[150],[124],[124,125,126,127],[126],[122,144,145,147],[122,123,135,147],[112,120,122,131,147],[128],[112,122,131,134,143,146,147],[122,123,128,131,147],[122,144,145,146,147],[122,128,132,133,134,147],[112,117,120,122,123,128,131,132,133,134,135,136,137,143,144,145,146,147,148,149,154],[155],[65,76,86,87,89,93,104],[65,86,106,107],[65,76,86,87,88,89,92,104,105],[65,76,86,87,88,89,90,91,92,105],[65,76,86,88],[65,86,88],[65,86,104,105],[65,86,87,88,89],[65,86],[65,105,108],[65,76,86,92],[65],[65,76,86,92,94],[65,86,92,101],[65,86,95,97,99,100,102,103],[65,76,86,92,98],[65,76,86,92,96],[65,93,105,109,110],[64,65,158],[65,93,105,109,110,158,159],[65,109],[156],[65,77,79,80],[65,79,80],[65,76,79,80],[65,76,79],[65,77,78,79,80,81,82,83],[65,76,77,80,82],[65,77,78,79,80,81,82,83,84,85],[65,80,81],[65,78],[65,76],[65,76,86],[65,86,108],[65,161],[65,93,105,109,110,162],[67],[66,67],[67,69,70,74,75],[66,67,68,70,71,72,73],[66],[69]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"9fc947627f070ce2adfc2cb7bfabd0a4bf1157b2942daf83f4f2dced2eaacd8b","impliedFormat":1},{"version":"eb5b19b86227ace1d29ea4cf81387279d04bb34051e944bc53df69f58914b788","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac51dd7d31333793807a6abaa5ae168512b6131bd41d9c5b98477fc3b7800f9f","impliedFormat":1},{"version":"87d9d29dbc745f182683f63187bf3d53fd8673e5fca38ad5eaab69798ed29fbc","impliedFormat":1},{"version":"035312d4945d13efa134ae482f6dc56a1a9346f7ac3be7ccbad5741058ce87f3","affectsGlobalScope":true,"impliedFormat":1},{"version":"42c169fb8c2d42f4f668c624a9a11e719d5d07dacbebb63cbcf7ef365b0a75b3","impliedFormat":1},{"version":"0685c629104b23cce60a9509d3c21dfb962bca926279ed8895121084f26a14a3","impliedFormat":1},{"version":"39cd9b5aa565059ca42244740e59a351ca1ffef46bf7a5e8dfdc1e507fa011df","affectsGlobalScope":true,"impliedFormat":1},{"version":"9bedf5fd5f2dc65f13db2de6101b33232b86766c926d5efd1a344aaed56aee8e","impliedFormat":1},{"version":"e8f08dd1ba78fb7fa18bd8ceee93f97e99504d6def93e07da35cfabb408479b5","impliedFormat":1},{"version":"2fbbf99bcdb222452246071d833eac6cf0bb9de4f4ca47434b645ba285bfae01","impliedFormat":1},{"version":"1f3265cde09b9ebd0b7b9fd6f3eab5c1567a491b4e46cc7653a10d2b51728eea","impliedFormat":1},{"version":"56f6292c04b8df5413ff9776af9bd04c58cc2d89cd839585fb0913200ef5474c","impliedFormat":1},{"version":"e36f6128e267027b803044df43f3371c48ce5edc4b530573d6090fc7178ab236","impliedFormat":1},{"version":"65947b99f129152246a95866c189aea294b2997bcaf64c52710b7ca2e062e5a0","impliedFormat":1},{"version":"21f923323e786cdce3683ebbfe5f10f6124cfffa555e7ffd73322e1766412f7e","impliedFormat":1},{"version":"1fd30a7b5c703daf10b1896536c498c02578bc5a20dca86e3f44cf7a4029324f","impliedFormat":1},{"version":"160964cbec06b0d1c7e34bd6675d32c644e7f8bf726b661ec1d52c3e3f9db9f5","signature":"ef609867d124ad47786b10614c34adacd92884a977e62215c9758d57fb160c83","impliedFormat":1},{"version":"e43986d1ce4a3865b23228101ee3f7ec7195564a7d231e7832cf0fe0c29f7063","signature":"1b8c6de7f85e3ca962239aaaaaf1ec35282813c3e0c10641af9415b64bbf2ee9","impliedFormat":1},{"version":"19b5453b0cf1c1160dee4bfac49cfb1b84419927e5c17c3e08ec8e83d03acfc0","signature":"61fc9e33be8753781c7481133947b769d1da4027d5f1c01bce7e3c36c1a94b64","impliedFormat":1},{"version":"267365dc7349dc2151b4c12fd8cde324c7fe63675d07a5be3bf7bd06fccadd38","signature":"45ca8b46146d9b98bbcc3a884119fa0cd558f10d73d30123856fbf3c9b5a1c0a","impliedFormat":1},{"version":"ea222887f53a239a834b4d7324a1c4c464af1afa7a3750fde2caef8d2a83adb7","signature":"78e1eb25f8f89720690556f7f63ff1a17ea462349526b0d3681cd11330e76585","impliedFormat":1},{"version":"bd4795bffa760d6105c869bacb40ebb453bd1417e270e823f0bcd5e078f197f1","signature":"d1f0dfbcb6c5880f8ef2fb50f65e88c833bd129c6dc9a64e0c540d519877e458","impliedFormat":1},{"version":"ac3569fd9894014b3954d1ba31fbd1fd255a578f7d5edae3dd06c4a00e79388a","signature":"3e82e0e7cb1bddfba3e5f29c52aabe1834d6b6819926dc79e848f0c908eebb0c","impliedFormat":1},{"version":"fdde012731c4c3e870051a9ab315c40e2c1ce5a2b6dddc440a36f12a00c905c2","signature":"60b822464a85a96d5b5454b9d297d75f9f26f0a81753997b93ea78e35f4313d5","impliedFormat":1},{"version":"76962459495065e058eb6ab2e5102e63a269800fc8661481fe3ad9fb11b37ac7","signature":"eb6562ee00e85a45f6e327d7d1c956bb56b031e78e98d8fe9ae2a189c1017ccc","affectsGlobalScope":true,"impliedFormat":1},{"version":"d1b0733be47ef7e1d36c49689be97140d5be7a7bdbe6ed6a2171e544d4c687f9","impliedFormat":1},{"version":"f246d18ab23346359da480c436eb8f0c7b3a131509bf23fb626c1a08630996c8","signature":"e0e3d8684b453c361f4a9091c957b01d4ebcfae82a123c197dda7f4e77fb912d","impliedFormat":1},{"version":"ce41827ce7b2bb99050518860868c28b51d3dbb5c44c466e2003966f5c657e6f","signature":"d806d5d3275444904f649e85b721b5218c5877d1b645f3dd384b1934aafdb81c","impliedFormat":1},{"version":"21d6e52c75ac732ffa20b8a4267b97072e798a4d18752e98dbdad458b1c65ef3","signature":"2fcd5fd94629d795b03c737fd26768a8e33638d2c8a4c48622162272e5904424","impliedFormat":1},{"version":"c9b60c5780193e4452f2c0535e32e460798519cbf8fa40487f747fc5b56d043f","signature":"d16f195235f6cf73d13204b2875ce3e33060e3e55188e12ed27f9010b92ab36b","impliedFormat":1},{"version":"8f12864b635154d0ceba677f23aa4d3f6e0c498000618a4f8bc7abbbcdc81615","signature":"d962eec99ed29b16e984a293f04fb4eb235eae37f925d14528657e54ac6eb66b","impliedFormat":1},{"version":"429eaa45a2d5bd30e2dd1fb030e1981af747e07386c0fa5ca363cedfff1af610","signature":"fd8f59ccef66575aac5c27f1aeab3fb1bc370658e06bbe8f9df4a771602fde60","impliedFormat":1},{"version":"1c2502ee5bfb2a45010d686ba42697fcc7534c31a880a37f092e76a105488d8b","signature":"9f0d759ff6cfb3eea8cf187eedf2f88f429e26587f5c7eb5a9cff402cea485f0","impliedFormat":1},{"version":"0021fffc42233d659de1469140b99ad163c3e030bf96681d1010b35c40fe0704","impliedFormat":1},{"version":"11a233e5c60418dcb8cb34666bba4fe8c648ac3486a02dd2501557f83d518333","signature":"3df28c1ed30f0282de2a642d3e69ce9846dc04e24294c9c4997321d68e583098","impliedFormat":1},{"version":"f7a8a5944e41311c71111011461405e530cab30c73318abf24c66e402e2edba8","affectsGlobalScope":true,"impliedFormat":99},{"version":"ea9f3ac44b8eef20d0d007eafacfb3073d74ec7b1fd90a256782db7598816c8d","signature":"fb505cc98da558d0d4e32176715748a10a0fe30729dd9d421d62397a41a3d3ac","impliedFormat":1},{"version":"1ba3a85e0230824acb3de91ef6f86586ac27cef899b110cc740909aa92b497de","affectsGlobalScope":true,"impliedFormat":99},{"version":"a433405bf1c8166a57efeb3264513bf3bc716c87c83bf26ba8327f8ce8b63fe1","signature":"6d022fa091c92df1f891f629bf0a39ce18b556c1250e129f12891700fb2b97a2","impliedFormat":1},{"version":"eb7c3c7b9a4c9ee9446a18573f1811cdb54419ef391bafb6b6f27088359812b8","signature":"1890769cc87073782b5e6dca1dd5beaa672a4e2be574b7b67395c36dbdf54624","impliedFormat":1},{"version":"b875f6caf8ba810ca79afc228c9e12abc2314df6aac1aeb4bbb7ce0bd2cee469","signature":"4be060490b32c2fc648ebccfba1876e114388e477396cf58c7d0407a0bed26f1","impliedFormat":1},{"version":"dc9fd95d540676a9441b34b27851e6d01f596162ab967103975f7196dd986ece","signature":"1c955c5da8ed467ee001a5fa6d3669dc8f53bba189eccf09b933b7d8affe9e4a","impliedFormat":1},{"version":"b7612edcad9aefa346f1374bccd9be9487f9369e6e91c7eb0fc4817264645e01","signature":"e23dc290564f3e7027239e04bc4f485b3d963a386b2ad06a306ef405dcc85db3","impliedFormat":1},{"version":"56527354a80b8a597beec5162b72aa0cd531b2e330fd3b49eb5daa6554f5e901","signature":"bbed48c88a409b3a89adf82b39dea236a1eb71f34e3ae171e50de248d1ddf719","impliedFormat":1},{"version":"21272a987630a861816c75955c0d57ccc09064f8f3eb790de0b6d8369cb08db4","signature":"0bd1df2ec5b1e32316ceaa6b1020927a312e9985b785964c059419de4b050bbf","impliedFormat":1},{"version":"33116b5878df58a397c6851493ac6184e6a4ee3a7a685928418952f8aefc62e8","signature":"229e4e7bcdc86b3bc14a2bfa02b90eef9cc9bdd438ca04b5c7d58019d78f5297","impliedFormat":1},{"version":"b8d06f315a7dfca07baf50d5e830ee9221758de9728a5dd0e78ef68050b09356","signature":"6c76b37da9beda925bec8513d1d8b99fd4f8aa254fa9c4972d15b06bca7ae385","impliedFormat":1},{"version":"a5e0aab25c48a4dac4d5a82ea905f177a6117a533297d3f5fb2b1bdddb367f6e","signature":"365451885e20659263d547a9019753c9ed39b83e197140e1ef555792ac908993","impliedFormat":1},{"version":"420e1c141b8c23ceaaa28465cb8c4d0a98320cac2a2e4e92bb1cae9174d23c80","signature":"305685da5b2e363f2b8603ea1820ce48332ad034c91e862b77e4089dce7477df","impliedFormat":1},{"version":"6dda3d1a5f00b29717a79d2f81272d237f588a04fee9928c229ebfdbc173e97c","signature":"66b57e531f6d8e2e83eb75df3029bdf469a2743c602c8428dc5610fa6194487f","impliedFormat":1},{"version":"279c0be87c8b7ee79cdd8c0a6d89e19392877078ecc05eeb1ff660bf40a588a1","signature":"1101d697e70f543057f2d028b9c7e7078adea1df01f78cc9b3cceaa62c9a96b8","impliedFormat":1},{"version":"acfb723d81eda39156251aed414c553294870bf53062429ebfcfba8a68cb4753","impliedFormat":99},{"version":"fa69a90381c2f85889722a911a732a5ee3596dc3acecda8a9aa2fa89b9615d8d","impliedFormat":99},{"version":"b5ce343886d23392be9c8280e9f24a87f1d7d3667f6672c2fe4aa61fa4ece7d4","impliedFormat":99},{"version":"57e9e1b0911874c62d743af24b5d56032759846533641d550b12a45ff404bf07","impliedFormat":99},{"version":"b0857bb28fd5236ace84280f79a25093f919fd0eff13e47cc26ea03de60a7294","impliedFormat":99},{"version":"5e43e0824f10cd8c48e7a8c5c673638488925a12c31f0f9e0957965c290eb14c","impliedFormat":99},{"version":"854cd3a3375ffc4e7a92b2168dd065d7ff2614b43341038a65cca865a44c00c5","impliedFormat":99},{"version":"ef13c73d6157a32933c612d476c1524dd674cf5b9a88571d7d6a0d147544d529","impliedFormat":99},{"version":"3b0a56d056d81a011e484b9c05d5e430711aaecd561a788bad1d0498aad782c7","impliedFormat":99},{"version":"2f863ee9b873a65d9c3338ea7aaddbdb41a9673f062f06983d712bd01c25dc6b","impliedFormat":99},{"version":"67aa128c2bc170b93794f191feffc65a4b33e878db211cfcb7658c4b72f7a1f5","impliedFormat":99},{"version":"ac3d263474022e9a14c43f588f485d549641d839b159ecc971978b90f34bdf6b","impliedFormat":99},{"version":"a7ca8df4f2931bef2aa4118078584d84a0b16539598eaadf7dce9104dfaa381c","impliedFormat":1},{"version":"10073cdcf56982064c5337787cc59b79586131e1b28c106ede5bff362f912b70","impliedFormat":99},{"version":"72950913f4900b680f44d8cab6dd1ea0311698fc1eefb014eb9cdfc37ac4a734","impliedFormat":1},{"version":"36977c14a7f7bfc8c0426ae4343875689949fb699f3f84ecbe5b300ebf9a2c55","impliedFormat":1},{"version":"ff0a83c9a0489a627e264ffcb63f2264b935b20a502afa3a018848139e3d8575","impliedFormat":99},{"version":"324ac98294dab54fbd580c7d0e707d94506d7b2c3d5efe981a8495f02cf9ad96","impliedFormat":99},{"version":"9ec72eb493ff209b470467e24264116b6a8616484bca438091433a545dfba17e","impliedFormat":99},{"version":"c35b8117804c639c53c87f2c23e0c786df61d552e513bd5179f5b88e29964838","impliedFormat":99},{"version":"c609331c6ed4ad4af54e101088c6a4dcb48f8db7b0b97e44a6efeb130f4331bd","impliedFormat":99},{"version":"bcbd3becd08b4515225880abea0dbfbbf0d1181ce3af8f18f72f61edbe4febfb","impliedFormat":99},{"version":"67acaedb46832d66c15f1b09fb7b6a0b7f41bdbf8eaa586ec70459b3e8896eb9","impliedFormat":99},{"version":"4535ab977ee871e956eb7bebe2db5de79f5d5ec7dfbbf1d35e08f4a2d6630dac","impliedFormat":99},{"version":"b79b5ed99f26ffb2f8ae4bdcc4b34a9542197dc3fa96cfb425c2a81e618cff28","impliedFormat":99},{"version":"31fd7c12f6e27154efb52a916b872509a771880f3b20f2dfd045785c13aa813f","impliedFormat":99},{"version":"b481de4ab5379bd481ca12fc0b255cdc47341629a22c240a89cdb4e209522be2","impliedFormat":99},{"version":"bdd14f07b4eca0b4b5203b85b8dbc4d084c749fa590bee5ea613e1641dcd3b29","impliedFormat":99},{"version":"427fe2004642504828c1476d0af4270e6ad4db6de78c0b5da3e4c5ca95052a99","impliedFormat":1},{"version":"2eeffcee5c1661ddca53353929558037b8cf305ffb86a803512982f99bcab50d","impliedFormat":99},{"version":"9afb4cb864d297e4092a79ee2871b5d3143ea14153f62ef0bb04ede25f432030","affectsGlobalScope":true,"impliedFormat":99},{"version":"4e258d11c899cb9ff36b4b5c53df59cf4a5ccae9a9931529686e77431e0a3518","affectsGlobalScope":true,"impliedFormat":99},{"version":"a5ae67a67f786ffe92d34b55467a40fb50fb0093e92388cadce6168fa42690fd","impliedFormat":99},{"version":"69bf2422313487956e4dacf049f30cb91b34968912058d244cb19e4baa24da97","impliedFormat":99},{"version":"6987dfb4b0c4e02112cc4e548e7a77b3d9ddfeffa8c8a2db13ceac361a4567d9","impliedFormat":99},{"version":"a534e61c2f06a147d97aebad720db97dffd8066b7142212e46bcbcdcb640b81a","impliedFormat":99},{"version":"ddf569d04470a4d629090d43a16735185001f3fcf0ae036ead99f2ceab62be48","impliedFormat":99},{"version":"b413fbc6658fe2774f8bf9a15cf4c53e586fc38a2d5256b3b9647da242c14389","impliedFormat":99},{"version":"c30a41267fc04c6518b17e55dcb2b810f267af4314b0b6d7df1c33a76ce1b330","impliedFormat":1},{"version":"72422d0bac4076912385d0c10911b82e4694fc106e2d70added091f88f0824ba","impliedFormat":1},{"version":"da251b82c25bee1d93f9fd80c5a61d945da4f708ca21285541d7aff83ecb8200","impliedFormat":1},{"version":"64db14db2bf37ac089766fdb3c7e1160fabc10e9929bc2deeede7237e4419fc8","impliedFormat":1},{"version":"98b94085c9f78eba36d3d2314affe973e8994f99864b8708122750788825c771","impliedFormat":1},{"version":"53c448183c7177c83d3eb0b40824cf8952721a6584cf22052adc24f778986732","impliedFormat":99},{"version":"0a5bc32362b0559b9bcf0a6a83136c4442dbbd0edecd671538a5e03454b6dff0","affectsGlobalScope":true,"impliedFormat":99},{"version":"378885a4719497698facdf5f16941c8061bfeffd2e7197f1975ada30f90fcbf1","impliedFormat":1},{"version":"7205eca9dd959910443d5b040e66f50754cb8a75c2ee9c653ac350082a54a3df","signature":"97732c823a32a58f16d1acfee489f754c82f606d2809ffa050e2c756ac42da35","impliedFormat":1},{"version":"ccc8e7797146fa1c7a432efaa78180162a5ed46973ba4d4c2ba6c6ad99853082","signature":"3e431069437a7892b4729eafec7882994ea49b16c7096326bf5d05f06fd1cccb","impliedFormat":1},{"version":"9f52c5cd0e628dfbbafe1ffb340566c34516a8f224af8b8b904d3e7742dc5b04","signature":"ffed0a4699bfc84489f5ed4d5d832ad8fce43aaeda3527bdbb8ccdd1276fa77f","impliedFormat":1},{"version":"b5060b87e736d94ccbf5e2206ab622b6f43c3cc0310a8585880889ccef8d8380","signature":"f812375dec3528e55924ca59cb36c5ad28453f35101992e112a0ded9a7d776ec","impliedFormat":1},{"version":"58a0645a12661b4e8586ce30add8b3bc738404238442fe7013c7b3280c4e6766","signature":"6dea7914b6a9245ab2d42e813ebe6aa9842dec30e16ff6a4b42699c3946c9ebb","impliedFormat":1},{"version":"36dfb89689a7ab4da2dab1cb007bad1c763e733573376aa791879220d1eb2938","signature":"dcedbce0a9c258f74a5847d6bdcd89693c01ea9f14aacc555825915f824ad70a","impliedFormat":1},{"version":"ae77d81a5541a8abb938a0efedf9ac4bea36fb3a24cc28cfa11c598863aba571","impliedFormat":1},{"version":"556ccd493ec36c7d7cb130d51be66e147b91cc1415be383d71da0f1e49f742a9","impliedFormat":1},{"version":"b6d03c9cfe2cf0ba4c673c209fcd7c46c815b2619fd2aad59fc4229aaef2ed43","impliedFormat":1},{"version":"95aba78013d782537cc5e23868e736bec5d377b918990e28ed56110e3ae8b958","impliedFormat":1},{"version":"670a76db379b27c8ff42f1ba927828a22862e2ab0b0908e38b671f0e912cc5ed","impliedFormat":1},{"version":"13b77ab19ef7aadd86a1e54f2f08ea23a6d74e102909e3c00d31f231ed040f62","impliedFormat":1},{"version":"069bebfee29864e3955378107e243508b163e77ab10de6a5ee03ae06939f0bb9","impliedFormat":1},{"version":"fb893a0dfc3c9fb0f9ca93d0648694dd95f33cbad2c0f2c629f842981dfd4e2e","impliedFormat":1},{"version":"3eb11dbf3489064a47a2e1cf9d261b1f100ef0b3b50ffca6c44dd99d6dd81ac1","impliedFormat":1},{"version":"d5799bcf7fe4e6de3063abf4e321c14b051706f03cf5716d8a19f22fe1f69519","impliedFormat":1},{"version":"151ff381ef9ff8da2da9b9663ebf657eac35c4c9a19183420c05728f31a6761d","impliedFormat":1},{"version":"5d08a179b846f5ee674624b349ebebe2121c455e3a265dc93da4e8d9e89722b4","impliedFormat":1},{"version":"89121c1bf2990f5219bfd802a3e7fc557de447c62058d6af68d6b6348d64499a","impliedFormat":1},{"version":"79b4369233a12c6fa4a07301ecb7085802c98f3a77cf9ab97eee27e1656f82e6","impliedFormat":1},{"version":"f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","impliedFormat":1},{"version":"d4a22007b481fe2a2e6bfd3a42c00cd62d41edb36d30fc4697df2692e9891fc8","impliedFormat":1},{"version":"17ed71200119e86ccef2d96b73b02ce8854b76ad6bd21b5021d4269bec527b5f","impliedFormat":1}],"root":[60,[77,93],95,97,[99,111],[157,163]],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationDir":"./types","declarationMap":true,"emitDeclarationOnly":true,"jsx":4,"module":199,"noImplicitReturns":true,"noUnusedLocals":false,"noUnusedParameters":false,"outDir":"./es","rootDir":"../src","skipLibCheck":true,"strict":true,"target":9},"referencedMap":[[167,1],[170,2],[166,1],[168,3],[169,1],[142,4],[172,5],[175,6],[177,7],[179,7],[180,8],[64,9],[65,8],[143,10],[122,11],[118,12],[121,13],[144,14],[131,15],[130,16],[120,17],[113,18],[115,19],[117,20],[119,18],[152,21],[154,22],[153,23],[151,24],[125,25],[128,26],[126,25],[127,27],[146,28],[136,29],[132,30],[133,12],[149,31],[147,32],[134,33],[148,34],[135,35],[155,36],[156,37],[105,38],[108,39],[106,40],[93,41],[91,42],[89,43],[107,44],[90,45],[87,46],[109,47],[100,48],[103,49],[101,50],[102,51],[104,52],[99,53],[92,46],[95,50],[97,54],[111,55],[159,56],[160,57],[158,58],[157,59],[81,60],[82,61],[78,62],[80,63],[110,64],[85,49],[83,65],[86,66],[84,67],[79,68],[77,69],[88,70],[161,71],[162,72],[163,73],[66,74],[68,75],[72,74],[73,74],[75,74],[71,75],[76,76],[74,77],[67,78],[70,79]],"latestChangedDtsFile":"./types/web/index.d.ts","version":"5.9.3"}
|
|
@@ -68,8 +68,8 @@ export declare class Interact {
|
|
|
68
68
|
* (on an interaction or effect), Interact invokes the plugin with the field's value and a
|
|
69
69
|
* context. Interact is agnostic to what the plugin does — see the `InteractPlugin` type.
|
|
70
70
|
*
|
|
71
|
-
* With `options.defer`, the plugin — and every interaction
|
|
72
|
-
*
|
|
71
|
+
* With `options.defer`, the plugin — and every interaction carrying its field, on itself or on
|
|
72
|
+
* one of its effects or sequences — is deferred until each named event is released via `Interact.ready()`.
|
|
73
73
|
*/
|
|
74
74
|
static use(name: string, plugin: InteractPlugin, options?: InteractPluginOptions): void;
|
|
75
75
|
/**
|
|
@@ -8,7 +8,12 @@ export declare class InteractionController {
|
|
|
8
8
|
useFirstChild: boolean;
|
|
9
9
|
_observers: WeakMap<HTMLElement, MutationObserver>;
|
|
10
10
|
_pluginCleanups: InteractPluginCleanup[];
|
|
11
|
-
_appliedPlugins:
|
|
11
|
+
_appliedPlugins: WeakMap<object, true | Promise<void>>;
|
|
12
|
+
_connectId: number;
|
|
13
|
+
_latches: {
|
|
14
|
+
element: HTMLElement;
|
|
15
|
+
release: () => void;
|
|
16
|
+
}[];
|
|
12
17
|
constructor(element: HTMLElement, key?: string, options?: {
|
|
13
18
|
useFirstChild?: boolean;
|
|
14
19
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InteractionController.d.ts","sourceRoot":"","sources":["../../../src/core/InteractionController.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAoB,qBAAqB,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAIrF,eAAO,MAAM,yBAAyB,mBAAmB,CAAC;AAE1D,qBAAa,qBAAqB;IAChC,OAAO,EAAE,WAAW,CAAC;IACrB,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,S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AM;IAKN,MAAM;IAMN,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE;IAwB9B,YAAY,CACV,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,WAAW,EACxB,IAAI,CAAC,EAAE,WAAW,GAAG,IAAI,EACzB,QAAQ,CAAC,EAAE,OAAO;IAiCpB,gBAAgB,IAAI,MAAM,EAAE;IAM5B,cAAc,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI;IAiB3C,uBAAuB,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,EAAE,cAAc,EAAE;CAyBzE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../src/core/add.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAYV,sBAAsB,
|
|
1
|
+
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../src/core/add.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAYV,sBAAsB,EAKvB,MAAM,UAAU,CAAC;AAq2ClB;;GAEG;AACH,wBAAgB,GAAG,CAAC,UAAU,EAAE,sBAAsB,GAAG,OAAO,CAyD/D;AAED,wBAAgB,YAAY,CAC1B,UAAU,EAAE,sBAAsB,EAClC,aAAa,EAAE,MAAM,EACrB,QAAQ,EAAE,WAAW,EAAE,QA6CxB"}
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
import type { AnimationEndParams, TimeEffect, InteractOptions } from '../types';
|
|
2
2
|
declare function addAnimationEndHandler(source: HTMLElement, target: HTMLElement, effect: TimeEffect, params: AnimationEndParams, { selectorCondition, animation: preCreatedAnimation, sourceAnimationOptions }: InteractOptions): void;
|
|
3
|
+
/**
|
|
4
|
+
* Latches the `animationend` events of `source` and its descendants while an `animationEnd`
|
|
5
|
+
* interaction is held back (e.g. by a deferred or async plugin). A trigger later attached to
|
|
6
|
+
* `source` or a descendant replays the events it would have received, playing once if any of them
|
|
7
|
+
* matches its filter, so an animation that ended while held back still chains.
|
|
8
|
+
*
|
|
9
|
+
* Latching an ancestor covers sources that do not exist yet (e.g. created by the plugin holding the
|
|
10
|
+
* trigger back): `sourceSelector` then limits the recorded events to those of the elements matching
|
|
11
|
+
* it and their descendants, so other triggers in the subtree replay nothing. It listens in the capture phase, so the
|
|
12
|
+
* non-bubbling `animationend` that `@wix/motion` dispatches for a WAAPI animation is recorded from
|
|
13
|
+
* an ancestor too.
|
|
14
|
+
*/
|
|
15
|
+
declare function latchAnimationEnd(source: HTMLElement, _params?: AnimationEndParams, sourceSelector?: string): (() => void) | void;
|
|
3
16
|
declare function removeAnimationEndHandler(element: HTMLElement): void;
|
|
4
17
|
declare const _default: {
|
|
5
18
|
add: typeof addAnimationEndHandler;
|
|
6
19
|
remove: typeof removeAnimationEndHandler;
|
|
20
|
+
latch: typeof latchAnimationEnd;
|
|
21
|
+
latchesSubtree: boolean;
|
|
7
22
|
};
|
|
8
23
|
export default _default;
|
|
9
24
|
//# sourceMappingURL=animationEnd.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"animationEnd.d.ts","sourceRoot":"","sources":["../../../src/handlers/animationEnd.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAoB,eAAe,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"animationEnd.d.ts","sourceRoot":"","sources":["../../../src/handlers/animationEnd.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAoB,eAAe,EAAE,MAAM,UAAU,CAAC;AAmElG,iBAAS,sBAAsB,CAC7B,MAAM,EAAE,WAAW,EACnB,MAAM,EAAE,WAAW,EACnB,MAAM,EAAE,UAAU,EAClB,MAAM,EAAE,kBAAkB,EAC1B,EAAE,iBAAiB,EAAE,SAAS,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,EAAE,eAAe,GAC7F,IAAI,CA2DN;AAED;;;;;;;;;;;GAWG;AACH,iBAAS,iBAAiB,CACxB,MAAM,EAAE,WAAW,EACnB,OAAO,CAAC,EAAE,kBAAkB,EAC5B,cAAc,CAAC,EAAE,MAAM,GACtB,CAAC,MAAM,IAAI,CAAC,GAAG,IAAI,CA2DrB;AAED,iBAAS,yBAAyB,CAAC,OAAO,EAAE,WAAW,GAAG,IAAI,CAG7D;;;;;;;AAED,wBAKE"}
|
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
import type { TimeEffect, ViewEnterParams, InteractOptions } from '../types';
|
|
2
2
|
declare function setOptions(options: Partial<ViewEnterParams>): void;
|
|
3
3
|
declare function addViewEnterHandler(source: HTMLElement, target: HTMLElement, effect: TimeEffect, options?: ViewEnterParams, { selectorCondition, animation: preCreatedAnimation }?: InteractOptions): void;
|
|
4
|
+
/**
|
|
5
|
+
* Latches an entry of `source` while a `viewEnter` interaction on it is held back (e.g. by a
|
|
6
|
+
* deferred or async plugin), observing it with the same observer the trigger will use. A `once`
|
|
7
|
+
* trigger later attached with the same params replays a latched entry, so an element that entered
|
|
8
|
+
* and left the viewport while held back still plays its entrance.
|
|
9
|
+
*/
|
|
10
|
+
declare function latchViewEnter(source: HTMLElement, options?: ViewEnterParams): (() => void) | void;
|
|
4
11
|
declare function removeViewEnterHandler(element: HTMLElement): void;
|
|
5
12
|
declare function reset(): void;
|
|
6
13
|
declare const _default: {
|
|
7
14
|
add: typeof addViewEnterHandler;
|
|
8
15
|
remove: typeof removeViewEnterHandler;
|
|
16
|
+
latch: typeof latchViewEnter;
|
|
9
17
|
setOptions: typeof setOptions;
|
|
10
18
|
reset: typeof reset;
|
|
11
19
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"viewEnter.d.ts","sourceRoot":"","sources":["../../../src/handlers/viewEnter.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"viewEnter.d.ts","sourceRoot":"","sources":["../../../src/handlers/viewEnter.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,UAAU,EAGV,eAAe,EACf,eAAe,EAChB,MAAM,UAAU,CAAC;AAsElB,iBAAS,UAAU,CAAC,OAAO,EAAE,OAAO,CAAC,eAAe,CAAC,QAEpD;AAiGD,iBAAS,mBAAmB,CAC1B,MAAM,EAAE,WAAW,EACnB,MAAM,EAAE,WAAW,EACnB,MAAM,EAAE,UAAU,EAClB,OAAO,GAAE,eAAoB,EAC7B,EAAE,iBAAiB,EAAE,SAAS,EAAE,mBAAmB,EAAE,GAAE,eAAoB,QA0I5E;AAED;;;;;GAKG;AACH,iBAAS,cAAc,CAAC,MAAM,EAAE,WAAW,EAAE,OAAO,GAAE,eAAoB,GAAG,CAAC,MAAM,IAAI,CAAC,GAAG,IAAI,CAyD/F;AAED,iBAAS,sBAAsB,CAAC,OAAO,EAAE,WAAW,QAGnD;AAED,iBAAS,KAAK,SAGb;;;;;;;;AAED,wBAME"}
|
|
@@ -5,6 +5,6 @@ declare const Interaction: React.ForwardRefExoticComponent<{
|
|
|
5
5
|
children?: React.ReactNode;
|
|
6
6
|
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> | (React.ClassAttributes<HTMLElement> & React.HTMLAttributes<HTMLElement> & {
|
|
7
7
|
'data-interact-key'?: string;
|
|
8
|
-
}) | React.SVGProps<SVGSymbolElement> | React.DetailedHTMLProps<React.ObjectHTMLAttributes<HTMLObjectElement>, HTMLObjectElement> | React.DetailedHTMLProps<React.TimeHTMLAttributes<HTMLTimeElement>, HTMLTimeElement> | React.DetailedHTMLProps<React.MapHTMLAttributes<HTMLMapElement>, HTMLMapElement> | React.SVGProps<SVGFilterElement> | React.DetailedHTMLProps<React.SourceHTMLAttributes<HTMLSourceElement>, HTMLSourceElement> | React.DetailedHTMLProps<React.
|
|
8
|
+
}) | React.SVGProps<SVGSymbolElement> | React.DetailedHTMLProps<React.ObjectHTMLAttributes<HTMLObjectElement>, HTMLObjectElement> | React.DetailedHTMLProps<React.TimeHTMLAttributes<HTMLTimeElement>, HTMLTimeElement> | React.DetailedHTMLProps<React.MapHTMLAttributes<HTMLMapElement>, HTMLMapElement> | React.SVGProps<SVGFilterElement> | React.DetailedHTMLProps<React.SourceHTMLAttributes<HTMLSourceElement>, HTMLSourceElement> | React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement> | React.DetailedHTMLProps<React.AreaHTMLAttributes<HTMLAreaElement>, HTMLAreaElement> | React.DetailedHTMLProps<React.AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement> | React.DetailedHTMLProps<React.BaseHTMLAttributes<HTMLBaseElement>, HTMLBaseElement> | React.DetailedHTMLProps<React.BlockquoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLBodyElement>, HTMLBodyElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLBRElement>, HTMLBRElement> | React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> | React.DetailedHTMLProps<React.CanvasHTMLAttributes<HTMLCanvasElement>, HTMLCanvasElement> | React.DetailedHTMLProps<React.ColHTMLAttributes<HTMLTableColElement>, HTMLTableColElement> | React.DetailedHTMLProps<React.ColgroupHTMLAttributes<HTMLTableColElement>, HTMLTableColElement> | React.DetailedHTMLProps<React.DataHTMLAttributes<HTMLDataElement>, HTMLDataElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLDataListElement>, HTMLDataListElement> | React.DetailedHTMLProps<React.DelHTMLAttributes<HTMLModElement>, HTMLModElement> | React.DetailedHTMLProps<React.DetailsHTMLAttributes<HTMLDetailsElement>, HTMLDetailsElement> | React.DetailedHTMLProps<React.DialogHTMLAttributes<HTMLDialogElement>, HTMLDialogElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLDListElement>, HTMLDListElement> | React.DetailedHTMLProps<React.EmbedHTMLAttributes<HTMLEmbedElement>, HTMLEmbedElement> | React.DetailedHTMLProps<React.FieldsetHTMLAttributes<HTMLFieldSetElement>, HTMLFieldSetElement> | React.DetailedHTMLProps<React.FormHTMLAttributes<HTMLFormElement>, HTMLFormElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadElement>, HTMLHeadElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLHRElement>, HTMLHRElement> | React.DetailedHTMLProps<React.HtmlHTMLAttributes<HTMLHtmlElement>, HTMLHtmlElement> | React.DetailedHTMLProps<React.IframeHTMLAttributes<HTMLIFrameElement>, HTMLIFrameElement> | React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement> | React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> | React.DetailedHTMLProps<React.InsHTMLAttributes<HTMLModElement>, HTMLModElement> | React.DetailedHTMLProps<React.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLLegendElement>, HTMLLegendElement> | React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement> | React.DetailedHTMLProps<React.LinkHTMLAttributes<HTMLLinkElement>, HTMLLinkElement> | React.DetailedHTMLProps<React.MenuHTMLAttributes<HTMLElement>, HTMLElement> | React.DetailedHTMLProps<React.MetaHTMLAttributes<HTMLMetaElement>, HTMLMetaElement> | React.DetailedHTMLProps<React.MeterHTMLAttributes<HTMLMeterElement>, HTMLMeterElement> | React.DetailedHTMLProps<React.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement> | React.DetailedHTMLProps<React.OptgroupHTMLAttributes<HTMLOptGroupElement>, HTMLOptGroupElement> | React.DetailedHTMLProps<React.OptionHTMLAttributes<HTMLOptionElement>, HTMLOptionElement> | React.DetailedHTMLProps<React.OutputHTMLAttributes<HTMLOutputElement>, HTMLOutputElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLPreElement>, HTMLPreElement> | React.DetailedHTMLProps<React.ProgressHTMLAttributes<HTMLProgressElement>, HTMLProgressElement> | React.DetailedHTMLProps<React.QuoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement> | React.DetailedHTMLProps<React.ScriptHTMLAttributes<HTMLScriptElement>, HTMLScriptElement> | React.DetailedHTMLProps<React.SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement> | React.DetailedHTMLProps<React.SlotHTMLAttributes<HTMLSlotElement>, HTMLSlotElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement> | React.DetailedHTMLProps<React.StyleHTMLAttributes<HTMLStyleElement>, HTMLStyleElement> | React.DetailedHTMLProps<React.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement> | React.DetailedHTMLProps<React.TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLTemplateElement>, HTMLTemplateElement> | React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement> | React.DetailedHTMLProps<React.ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLTitleElement>, HTMLTitleElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement> | React.DetailedHTMLProps<React.TrackHTMLAttributes<HTMLTrackElement>, HTMLTrackElement> | React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement> | React.DetailedHTMLProps<React.VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement> | React.SVGProps<SVGElement> | React.SVGProps<SVGCircleElement> | React.SVGProps<SVGClipPathElement> | React.SVGProps<SVGDefsElement> | React.SVGProps<SVGDescElement> | React.SVGProps<SVGEllipseElement> | React.SVGProps<SVGFEBlendElement> | React.SVGProps<SVGFEColorMatrixElement> | React.SVGProps<SVGFEComponentTransferElement> | React.SVGProps<SVGFECompositeElement> | React.SVGProps<SVGFEConvolveMatrixElement> | React.SVGProps<SVGFEDiffuseLightingElement> | React.SVGProps<SVGFEDisplacementMapElement> | React.SVGProps<SVGFEDistantLightElement> | React.SVGProps<SVGFEDropShadowElement> | React.SVGProps<SVGFEFloodElement> | React.SVGProps<SVGFEFuncAElement> | React.SVGProps<SVGFEFuncBElement> | React.SVGProps<SVGFEFuncGElement> | React.SVGProps<SVGFEFuncRElement> | React.SVGProps<SVGFEGaussianBlurElement> | React.SVGProps<SVGFEImageElement> | React.SVGProps<SVGFEMergeElement> | React.SVGProps<SVGFEMergeNodeElement> | React.SVGProps<SVGFEMorphologyElement> | React.SVGProps<SVGFEOffsetElement> | React.SVGProps<SVGFEPointLightElement> | React.SVGProps<SVGFESpecularLightingElement> | React.SVGProps<SVGFESpotLightElement> | React.SVGProps<SVGFETileElement> | React.SVGProps<SVGFETurbulenceElement> | React.SVGProps<SVGForeignObjectElement> | React.SVGProps<SVGGElement> | React.SVGProps<SVGImageElement> | React.SVGLineElementAttributes<SVGLineElement> | React.SVGProps<SVGLinearGradientElement> | React.SVGProps<SVGMarkerElement> | React.SVGProps<SVGMaskElement> | React.SVGProps<SVGMetadataElement> | React.SVGProps<SVGPathElement> | React.SVGProps<SVGPatternElement> | React.SVGProps<SVGPolygonElement> | React.SVGProps<SVGPolylineElement> | React.SVGProps<SVGRadialGradientElement> | React.SVGProps<SVGRectElement> | React.SVGProps<SVGSetElement> | React.SVGProps<SVGStopElement> | React.SVGProps<SVGSVGElement> | React.SVGProps<SVGSwitchElement> | React.SVGTextElementAttributes<SVGTextElement> | React.SVGProps<SVGTextPathElement> | React.SVGProps<SVGTSpanElement> | React.SVGProps<SVGUseElement> | React.SVGProps<SVGViewElement> | React.DetailedHTMLProps<React.KeygenHTMLAttributes<HTMLElement>, HTMLElement> | React.DetailedHTMLProps<React.ParamHTMLAttributes<HTMLParamElement>, HTMLParamElement> | React.DetailedHTMLProps<React.WebViewHTMLAttributes<HTMLWebViewElement>, HTMLWebViewElement>, "ref"> & React.RefAttributes<any>>;
|
|
9
9
|
export { Interaction };
|
|
10
10
|
//# sourceMappingURL=Interaction.d.ts.map
|
|
@@ -9,8 +9,21 @@ export interface IInteractionController {
|
|
|
9
9
|
_observers: WeakMap<HTMLElement, MutationObserver>;
|
|
10
10
|
/** Cleanup callbacks returned by plugins applied to this controller's element. */
|
|
11
11
|
_pluginCleanups: InteractPluginCleanup[];
|
|
12
|
-
/**
|
|
13
|
-
|
|
12
|
+
/**
|
|
13
|
+
* Plugin config values applied during the current connect (dedup guard): `true` once applied, or
|
|
14
|
+
* the in-flight promise of an async plugin, so concurrent passes await it instead of re-running it.
|
|
15
|
+
*/
|
|
16
|
+
_appliedPlugins: WeakMap<object, true | Promise<void>>;
|
|
17
|
+
/** Incremented on every disconnect; async plugin continuations from an older connect are stale. */
|
|
18
|
+
_connectId: number;
|
|
19
|
+
/**
|
|
20
|
+
* Trigger latches on this controller's elements while plugins hold their interactions back (see
|
|
21
|
+
* `TriggerLatch`), released on disconnect, or once their element leaves this controller's DOM.
|
|
22
|
+
*/
|
|
23
|
+
_latches: {
|
|
24
|
+
element: HTMLElement;
|
|
25
|
+
release: () => void;
|
|
26
|
+
}[];
|
|
14
27
|
connect(key?: string): void;
|
|
15
28
|
disconnect(options?: {
|
|
16
29
|
removeFromCache?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"controller.d.ts","sourceRoot":"","sources":["../../../src/types/controller.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAA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AAA;KAAE,GAAG,IAAI,CAAC;IAC1D,MAAM,IAAI,IAAI,CAAC;IACf;;;OAGG;IACH,MAAM,IAAI,IAAI,CAAC;IACf,YAAY,CACV,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,WAAW,EACxB,IAAI,CAAC,EAAE,WAAW,GAAG,IAAI,EACzB,QAAQ,CAAC,EAAE,OAAO,GACjB,IAAI,CAAC;IACR,gBAAgB,IAAI,MAAM,EAAE,CAAC;IAC7B,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IACtC,cAAc,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5C,uBAAuB,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,EAAE,cAAc,EAAE,GAAG,IAAI,CAAC;CACjF;AAED,MAAM,WAAW,gBAAiB,SAAQ,WAAW;IACnD,UAAU,EAAE,CAAC,gBAAgB,GAAG;QAAE,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC,GAAG,IAAI,CAAC;IAChE,UAAU,EAAE,sBAAsB,CAAC;IACnC,iBAAiB,IAAI,IAAI,CAAC;IAC1B,oBAAoB,IAAI,IAAI,CAAC;IAC7B,OAAO,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,UAAU,CAAC,OAAO,CAAC,EAAE;QAAE,eAAe,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,IAAI,CAAC;IAC1D,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,EAAE,IAAI,CAAC,EAAE,WAAW,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1F,gBAAgB,IAAI,MAAM,EAAE,CAAC;CAC9B"}
|
|
@@ -24,8 +24,26 @@ export type InteractionHandlerModule<T extends TriggerType> = {
|
|
|
24
24
|
add: (source: HTMLElement, target: HTMLElement, effect: Effect, options: InteractionParamsTypes[T], interactOptions: InteractOptions) => void;
|
|
25
25
|
remove: (element: HTMLElement) => void;
|
|
26
26
|
};
|
|
27
|
+
/**
|
|
28
|
+
* Records the trigger's events on `source` while an interaction on it is held back by its plugins,
|
|
29
|
+
* so the trigger attached later can replay them. Returns a release that stops recording and forgets
|
|
30
|
+
* them — or nothing when `source` is already latched for them. `sourceSelector` is only passed to a latch covering a subtree (see `latchesSubtree`),
|
|
31
|
+
* latched on an ancestor of the sources it matches.
|
|
32
|
+
*/
|
|
33
|
+
export type TriggerLatch<T extends TriggerType> = (source: HTMLElement, options?: InteractionParamsTypes[T], sourceSelector?: string) => (() => void) | void;
|
|
27
34
|
export type ViewEnterHandlerModule = InteractionHandlerModule<'viewEnter'> & {
|
|
28
35
|
setOptions: (options: Partial<ViewEnterParams>) => void;
|
|
36
|
+
/** Records an entry of `source` while its trigger is held back, replayed by a later `once` add. */
|
|
37
|
+
latch: TriggerLatch<'viewEnter'>;
|
|
38
|
+
};
|
|
39
|
+
export type AnimationEndHandlerModule = InteractionHandlerModule<'animationEnd'> & {
|
|
40
|
+
/**
|
|
41
|
+
* Records the `animationend` events of `source` and its descendants while their trigger is held
|
|
42
|
+
* back, replayed by a later add on any of them.
|
|
43
|
+
*/
|
|
44
|
+
latch: TriggerLatch<'animationEnd'>;
|
|
45
|
+
/** Set: a latch on an ancestor covers sources that do not exist yet. */
|
|
46
|
+
latchesSubtree: true;
|
|
29
47
|
};
|
|
30
48
|
export type TriggerHandlerMap<T extends TriggerType> = {
|
|
31
49
|
[K in T]: InteractionHandlerModule<K>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handlers.d.ts","sourceRoot":"","sources":["../../../src/types/handlers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,EACV,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,kBAAkB,EACnB,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EAAE,MAAM,EAAE,gBAAgB,E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F,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAC,WAAW,EAAE,GAAG,CAAC,aAAa,CAAC,CAAC,CAAC;AAExE,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IAChC,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC"}
|
|
@@ -17,9 +17,11 @@ export type InteractCache = {
|
|
|
17
17
|
triggers: Interaction[];
|
|
18
18
|
effects: Record<string, (InteractionTrigger & {
|
|
19
19
|
effect: Effect | EffectRef;
|
|
20
|
+
owner: Interaction;
|
|
20
21
|
})[]>;
|
|
21
22
|
sequences: Record<string, (InteractionTrigger & {
|
|
22
23
|
sequence: SequenceConfig;
|
|
24
|
+
owner: Interaction;
|
|
23
25
|
})[]>;
|
|
24
26
|
interactionIds: Set<string>;
|
|
25
27
|
selectors: Set<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/types/internal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EACN,SAAS,EACT,mBAAmB,EACnB,WAAW,EACX,kBAAkB,EACnB,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAE3F,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,EAAE;QACP,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;KAC5B,CAAC;IACF,SAAS,EAAE;QACT,CAAC,UAAU,EAAE,MAAM,GAAG,cAAc,CAAC;KACtC,CAAC;IACF,UAAU,EAAE;QACV,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;KAClC,CAAC;IAEF,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,YAAY,EAAE;QACZ,CA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AAM,MAAM,yBAAyB,GAAG;IACtC,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,WAAW,CAAC,YAAY,CAAC,CAAC;IACvC,oBAAoB,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAC5C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC"}
|
|
@@ -29,15 +29,23 @@ export type InteractPluginCleanup = () => void;
|
|
|
29
29
|
/**
|
|
30
30
|
* A plugin is a plain callback. It receives the value of its `$`-prefixed config field and a
|
|
31
31
|
* context, and may return a cleanup function. Interact is agnostic to the shape of `value`.
|
|
32
|
+
*
|
|
33
|
+
* A plugin may also be async and return a promise (of an optional cleanup). The interaction
|
|
34
|
+
* carrying its field (on itself, an effect, or a sequence effect) is then held back — like a
|
|
35
|
+
* deferred plugin — until the promise settles, so its targets resolve against the DOM the plugin produced. A `viewEnter` entry
|
|
36
|
+
* or a source `animationend` that happens meanwhile is replayed once the trigger attaches. A
|
|
37
|
+
* rejected promise is logged and the unit proceeds without the plugin.
|
|
32
38
|
*/
|
|
33
|
-
export type InteractPlugin = (value: unknown, context: InteractPluginContext) => void | InteractPluginCleanup
|
|
39
|
+
export type InteractPlugin = (value: unknown, context: InteractPluginContext) => void | InteractPluginCleanup | PromiseLike<void | InteractPluginCleanup>;
|
|
34
40
|
/** Registration options passed as the third argument of `Interact.use()`. */
|
|
35
41
|
export type InteractPluginOptions = {
|
|
36
42
|
/**
|
|
37
43
|
* Name(s) this plugin is deferred until, released with `Interact.ready(name, key?)`. While
|
|
38
|
-
* deferred, the plugin does not run, and neither does the interaction
|
|
39
|
-
*
|
|
40
|
-
*
|
|
44
|
+
* deferred, the plugin does not run, and neither does the interaction that carries its
|
|
45
|
+
* `$`-prefixed field — on itself, an effect, or a sequence effect — so its effects and sequences
|
|
46
|
+
* attach together (they may resolve against the DOM the plugin creates). A plugin
|
|
47
|
+
* with several names stays deferred until all of them are released. A `viewEnter` entry or a
|
|
48
|
+
* source `animationend` that happens while deferred is replayed once the trigger attaches.
|
|
41
49
|
*/
|
|
42
50
|
defer?: string | string[];
|
|
43
51
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../../src/types/plugins.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAEpC;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,MAAM,CAAC;AAEvC,MAAM,MAAM,qBAAqB,GAAG;IAClC,oEAAoE;IACpE,IAAI,EAAE,WAAW,CAAC;IAClB,kEAAkE;IAClE,GAAG,EAAE,MAAM,CAAC;IACZ,yEAAyE;IACzE,KAAK,EAAE,aAAa,GAAG,QAAQ,CAAC;IAChC,kFAAkF;IAClF,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACjC,CAAC;AAEF,kGAAkG;AAClG,MAAM,MAAM,qBAAqB,GAAG,MAAM,IAAI,CAAC;AAE/C
|
|
1
|
+
{"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../../src/types/plugins.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAEpC;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,MAAM,CAAC;AAEvC,MAAM,MAAM,qBAAqB,GAAG;IAClC,oEAAoE;IACpE,IAAI,EAAE,WAAW,CAAC;IAClB,kEAAkE;IAClE,GAAG,EAAE,MAAM,CAAC;IACZ,yEAAyE;IACzE,KAAK,EAAE,aAAa,GAAG,QAAQ,CAAC;IAChC,kFAAkF;IAClF,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACjC,CAAC;AAEF,kGAAkG;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263
|
**Parameters:**
|
|
264
264
|
|
|
265
265
|
- `name: string` - The plugin name, matched against `$<name>` config fields
|
|
266
|
-
- `plugin: InteractPlugin` - `(value, context) => void | (() => void)`; the returned cleanup runs on disconnect/teardown
|
|
266
|
+
- `plugin: InteractPlugin` - `(value, context) => void | (() => void)`; the returned cleanup runs on disconnect/teardown. May return a promise (of an optional cleanup) — what carries its field is held back until it settles. See [Async plugins](../guides/plugins.md#async-plugins)
|
|
267
267
|
- `options.defer?: string | string[]` - Name(s) to defer the plugin until. While deferred, neither the plugin nor the interaction, effect, or sequence carrying its `$<name>` field runs; each name is released with [`Interact.ready()`](#interactreadyname-key). See [Deferring plugins](../guides/plugins.md#deferring-plugins)
|
|
268
268
|
|
|
269
269
|
**Example:**
|
package/docs/api/types.md
CHANGED
|
@@ -967,9 +967,11 @@ A plugin callback registered via `Interact.use()`.
|
|
|
967
967
|
type InteractPlugin = (
|
|
968
968
|
value: unknown,
|
|
969
969
|
context: InteractPluginContext,
|
|
970
|
-
) => void | InteractPluginCleanup
|
|
970
|
+
) => void | InteractPluginCleanup | PromiseLike<void | InteractPluginCleanup>;
|
|
971
971
|
```
|
|
972
972
|
|
|
973
|
+
A returned promise holds back the interaction, effect, or sequence carrying the field until it settles. See [Async plugins](../guides/plugins.md#async-plugins).
|
|
974
|
+
|
|
973
975
|
### `InteractPluginContext`
|
|
974
976
|
|
|
975
977
|
```typescript
|
package/docs/guides/plugins.md
CHANGED
|
@@ -50,13 +50,34 @@ type InteractPlugin = (
|
|
|
50
50
|
scope: 'interaction' | 'effect';
|
|
51
51
|
config: Record<string, unknown>; // the interaction/effect object the field was on
|
|
52
52
|
},
|
|
53
|
-
) => void | (() => void)
|
|
53
|
+
) => void | (() => void) | PromiseLike<void | (() => void)>; // optionally return a cleanup function, or a promise of one
|
|
54
54
|
```
|
|
55
55
|
|
|
56
56
|
- Plugins run at **connect** time (when the element enters the DOM / is added).
|
|
57
|
+
- A plugin may be **async** — see [Async plugins](#async-plugins).
|
|
57
58
|
- A returned **cleanup** runs on disconnect, on teardown (`Interact.destroy()`), and when an interaction re-connects after a media-query change — so plugins can fully undo their work.
|
|
58
59
|
- Each distinct plugin value is applied **once per connect**, even if referenced by multiple triggers on the same element. That dedup relies on the value's identity, so plugin values should be objects.
|
|
59
60
|
|
|
61
|
+
### Async plugins
|
|
62
|
+
|
|
63
|
+
A plugin that prepares the DOM asynchronously (e.g. after loading a font or a module) can return a promise, optionally resolving to its cleanup:
|
|
64
|
+
|
|
65
|
+
```ts
|
|
66
|
+
Interact.use('myPlugin', async (value, { root }) => {
|
|
67
|
+
await document.fonts.ready;
|
|
68
|
+
const undo = prepare(root, value);
|
|
69
|
+
return undo;
|
|
70
|
+
});
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
Until the promise settles, Interact holds back the interaction that carries the field — exactly what [deferring](#deferring-plugins) holds back — and applies it once the plugin's DOM is in place, so selectors never resolve against unprepared markup. Other interactions are applied immediately.
|
|
74
|
+
|
|
75
|
+
- An async plugin starts only once its element is connected, so an effect whose target connects after its siblings were attached is held back on its own.
|
|
76
|
+
|
|
77
|
+
- The plugin runs once per connect: other resolution passes wait for the same promise instead of calling it again. Like the dedup, this relies on the value's identity: a primitive value (e.g. `$fonts: true`) is not awaited, so it holds nothing back.
|
|
78
|
+
- If the element disconnects (or re-connects after a media-query change) while the promise is pending, the resolved cleanup runs right away and nothing is applied for the stale connection.
|
|
79
|
+
- A rejected promise is logged with `console.error`, and the held-back parts are applied without the plugin.
|
|
80
|
+
|
|
60
81
|
### Type-safe config (optional)
|
|
61
82
|
|
|
62
83
|
Augment `InteractPluginConfigMap` — keyed by the **unprefixed** plugin name — so the `$<name>` field is type-checked:
|
|
@@ -158,11 +179,15 @@ While a plugin is deferred, Interact also defers everything that may resolve aga
|
|
|
158
179
|
| Where the `$<name>` field sits | What is deferred |
|
|
159
180
|
| --------------------------------------------------------------------------------- | ------------------------------------------------ |
|
|
160
181
|
| On an interaction | The whole interaction: its effects and sequences |
|
|
161
|
-
| On an effect in `effects` (or in its definition under the config's `effects` map) |
|
|
162
|
-
| On any effect of a sequence | The whole
|
|
182
|
+
| On an effect in `effects` (or in its definition under the config's `effects` map) | The whole interaction: its effects and sequences |
|
|
183
|
+
| On any effect of a sequence | The whole interaction: its effects and sequences |
|
|
184
|
+
|
|
185
|
+
An interaction's effects and sequences wait for each other, so they attach (and play) together — whatever plugin holds one of them back, and even if its target is a different element, connected or not. Releasing only that element's key (`Interact.ready(name, key)`) attaches all of them.
|
|
163
186
|
|
|
164
187
|
Everything else in the config is applied immediately, as usual. Once released, deferred parts are applied exactly as they would have been on connect.
|
|
165
188
|
|
|
189
|
+
A `viewEnter` entrance is not lost while deferred (or while an [async plugin](#async-plugins) is pending): Interact keeps observing the source element, and if it entered the viewport meanwhile, a `once` entrance plays as soon as its trigger attaches — even if the element has already scrolled out of view. Likewise, an `animationEnd` chain is not broken: Interact records the source's `animationend` events meanwhile, and if one of them matches the trigger's `effectId`, its effect plays as soon as the trigger attaches (once, however many matched). This holds even for an interaction-level field on an interaction whose sources come from its own `selector` / `listContainer` — the interaction still attaches once the plugin is done, to the sources it finds then. Its `animationend` events are recorded for sources the plugin creates too; a `viewEnter` entry, though, only for sources that already existed before the plugin ran and that it kept — one it creates or replaces cannot be observed before it exists, so its entrance plays when it next enters the viewport. Other triggers (`click`, `hover`, …) are not replayed: events fired while held back are ignored. Repeating `viewEnter` types (`alternate`, `repeat`, `state`) pick up the element's current visibility when they attach.
|
|
190
|
+
|
|
166
191
|
- `Interact.ready(name, key)` releases a name for a single element only — useful when parts of the page hydrate separately (e.g. Suspense boundaries).
|
|
167
192
|
- `defer` accepts several names; the plugin stays deferred until all are released. A name can stand for any event, not just hydration — for example, `@wix/splittext`'s `lines` mode measures text, so it should wait for fonts:
|
|
168
193
|
|