@slickgrid-universal/event-pub-sub 4.7.0 → 5.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"program":{"fileNames":["../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../utils/dist/types/models/interfaces.d.ts","../../utils/dist/types/models/types.d.ts","../../utils/dist/types/models/index.d.ts","../../utils/dist/types/domUtils.d.ts","../../utils/dist/types/nodeExtend.d.ts","../../utils/dist/types/stripTagsUtil.d.ts","../../utils/dist/types/utils.d.ts","../../utils/dist/types/index.d.ts","../src/types/eventSubscription.interface.ts","../src/types/basePubSubService.interface.ts","../src/types/eventNamingStyle.enum.ts","../src/types/index.ts","../src/eventPubSub.service.ts","../src/index.ts","../../../node_modules/.pnpm/@jest+expect-utils@29.7.0/node_modules/@jest/expect-utils/build/index.d.ts","../../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/index.d.ts","../../../node_modules/.pnpm/@sinclair+typebox@0.27.8/node_modules/@sinclair/typebox/typebox.d.ts","../../../node_modules/.pnpm/@jest+schemas@29.6.3/node_modules/@jest/schemas/build/index.d.ts","../../../node_modules/.pnpm/pretty-format@29.7.0/node_modules/pretty-format/build/index.d.ts","../../../node_modules/.pnpm/jest-diff@29.7.0/node_modules/jest-diff/build/index.d.ts","../../../node_modules/.pnpm/jest-matcher-utils@29.7.0/node_modules/jest-matcher-utils/build/index.d.ts","../../../node_modules/.pnpm/expect@29.7.0/node_modules/expect/build/index.d.ts","../../../node_modules/.pnpm/@types+jest@29.5.12/node_modules/@types/jest/index.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/header.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/readable.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/file.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/fetch.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/formdata.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/connector.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/client.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/errors.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/global-origin.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/pool-stats.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/pool.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/handlers.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/agent.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-agent.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-client.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-pool.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-errors.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/api.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/cookies.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/patch.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/filereader.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/websocket.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/content-type.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/cache.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/interceptors.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/index.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/dom-events.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/sea.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/test.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/globals.global.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/index.d.ts"],"fileInfos":[{"version":"824cb491a40f7e8fdeb56f1df5edf91b23f3e3ee6b4cde84d4a99be32338faee","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569",{"version":"87d693a4920d794a73384b3c779cadcb8548ac6945aa7a925832fe2418c9527a","affectsGlobalScope":true},{"version":"138fb588d26538783b78d1e3b2c2cc12d55840b97bf5e08bca7f7a174fbe2f17","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"b20fe0eca9a4e405f1a5ae24a2b3290b37cf7f21eba6cbe4fc3fab979237d4f3","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"49ed889be54031e1044af0ad2c603d627b8bda8b50c1a68435fe85583901d072","affectsGlobalScope":true},{"version":"e93d098658ce4f0c8a0779e6cab91d0259efb88a318137f686ad76f8410ca270","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"5e07ed3809d48205d5b985642a59f2eba47c402374a7cf8006b686f79efadcbd","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"8073890e29d2f46fdbc19b8d6d2eb9ea58db9a2052f8640af20baff9afbc8640","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"51e547984877a62227042850456de71a5c45e7fe86b7c975c6e68896c86fa23b","affectsGlobalScope":true},{"version":"956d27abdea9652e8368ce029bb1e0b9174e9678a273529f426df4b3d90abd60","affectsGlobalScope":true},{"version":"13f6e6380c78e15e140243dc4be2fa546c287c6d61f4729bc2dd7cf449605471","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"03e026f9347b0725cdcce9ca95ffad1531c4817cef7232f8b46f91e818e2ac1c","504172f31e7616ece67ba012c54b6b33d3c4db9b2b812c9803caba1e9040e5c5","349e525352e7f6bdb92acf903298974bdbf7d8745baf637c7c7fa6c26b916dc2","faa1237c4c40d6104f67840a146fe8a1faa0d362c7c0015d5eac494e488fdb6d","cf2b71aeca2659a4f1e3d8164075c122bad44bc90dde781eb093cc13b5d67afd","3f55f6bb22c907b4e15d440a92363632b3f6553acdeec013f34d1b505ee6c9ed","489fcebef0e7463ff3580cc42e5cf039d145fdf13d19d8a0799d1540664d8d3e","52e0ddc1830a395a7c3ccf159e0c195ba5523bcb213cefbc0312821318e9e9ea",{"version":"843c8ac23a2d77142ea46b0717183d19dfb551df57d1f0493435a12d57e12d88","signature":"c7fb83efb86b29016744244e65b37430afdd948e025d00aaf0e404dc08a65e02"},{"version":"5183f80282133b2edf7bababd8a039cd6319353e5fec1e99f33a08046e446e81","signature":"21c4f77b1758d8b8de9e3eda40651ae92564569d0bac21565126145bb0e5999b"},{"version":"c4daa7918c267d474e0d269925f655f78fc52a7e2e6c12c7f6a00edd60ca3fe4","signature":"9ab9f34f15c13915347496839012509429a40a6f2f1bac0758177ff0426f9deb"},{"version":"74aa6f8a577ebc916e3c19dddbec6b3764884b17bd0f61c644a7180e2f38e5a5","signature":"f74204ee678c12e893f81b11a0eacd37222781b12329f247b025b030b0a2bb1c"},{"version":"5b66962c2222d2118c834be1105a3ba5150af037c4dc1e83369de89bba455821","signature":"24dc2abf4cea4b201713386fe94c39e4bb1819e0b9efc79e0fecb0b3610d5b78"},{"version":"15a4588eec847903e5314a5b5116b2a77ce2516479e042667f6beb0f900c37c6","signature":"a36015c64cd32628d71f1a81ceebdab348bb4db3629a63720bdd0adbebdb6153"},"cdcc132f207d097d7d3aa75615ab9a2e71d6a478162dde8b67f88ea19f3e54de","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","c085e9aa62d1ae1375794c1fb927a445fa105fed891a7e24edbb1c3300f7384a","f315e1e65a1f80992f0509e84e4ae2df15ecd9ef73df975f7c98813b71e4c8da","5b9586e9b0b6322e5bfbd2c29bd3b8e21ab9d871f82346cb71020e3d84bae73e","3e70a7e67c2cb16f8cd49097360c0309fe9d1e3210ff9222e9dac1f8df9d4fb6","ab68d2a3e3e8767c3fba8f80de099a1cfc18c0de79e42cb02ae66e22dfe14a66","d96cc6598148bf1a98fb2e8dcf01c63a4b3558bdaec6ef35e087fd0562eb40ec",{"version":"5ab630d466ac55baa6d32820378098404fc18ba9da6f7bc5df30c5dbb1cffae8","affectsGlobalScope":true},"acdc9fb9638a235a69bd270003d8db4d6153ada2b7ccbea741ade36b295e431e","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1",{"version":"a14ed46fa3f5ffc7a8336b497cd07b45c2084213aaca933a22443fcb2eef0d07","affectsGlobalScope":true},"cce1f5f86974c1e916ec4a8cab6eec9aa8e31e8148845bf07fbaa8e1d97b1a2c",{"version":"7fd7fcbf021a5845bdd9397d4649fcf2fe17152d2098140fc723099a215d19ad","affectsGlobalScope":true},"df3389f71a71a38bc931aaf1ef97a65fada98f0a27f19dd12f8b8de2b0f4e461","d69a3298a197fe5d59edba0ec23b4abf2c8e7b8c6718eac97833633cd664e4c9",{"version":"a9544f6f8af0d046565e8dde585502698ebc99eef28b715bad7c2bded62e4a32","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb",{"version":"8b809082dfeffc8cc4f3b9c59f55c0ff52ba12f5ae0766cb5c35deee83b8552e","affectsGlobalScope":true},"bd3f5d05b6b5e4bfcea7739a45f3ffb4a7f4a3442ba7baf93e0200799285b8f1","4c775c2fccabf49483c03cd5e3673f87c1ffb6079d98e7b81089c3def79e29c6","d4f9d3ae2fe1ae199e1c832cca2c44f45e0b305dfa2808afdd51249b6f4a5163","7525257b4aa35efc7a1bbc00f205a9a96c4e4ab791da90db41b77938c4e0c18e","b7fe70be794e13d1b7940e318b8770cd1fb3eced7707805318a2e3aaac2c3e9e",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"9c611eff81287837680c1f4496daf9e737d6f3a1ff17752207814b8f8e1265af","affectsGlobalScope":true},"fe1fd6afdfe77976d4c702f3746c05fb05a7e566845c890e0e970fe9376d6a90","b5d4e3e524f2eead4519c8e819eaf7fa44a27c22418eff1b7b2d0ebc5fdc510d","afb1701fd4be413a8a5a88df6befdd4510c30a31372c07a4138facf61594c66d","9bd8e5984676cf28ebffcc65620b4ab5cb38ab2ec0aac0825df8568856895653","396a8939b5e177542bdf9b5262b4eee85d29851b2d57681fa9d7eae30e225830","5e8dc64e7e68b2b3ea52ed685cf85239e0d5fb9df31aabc94370c6bc7e19077b",{"version":"ea455cc68871b049bcecd9f56d4cf27b852d6dafd5e3b54468ca87cc11604e4d","affectsGlobalScope":true},"c07146dbbbd8b347241b5df250a51e48f2d7bef19b1e187b1a3f20c849988ff1","45b1053e691c5af9bfe85060a3e1542835f8d84a7e6e2e77ca305251eda0cb3c","0f05c06ff6196958d76b865ae17245b52d8fe01773626ac3c43214a2458ea7b7",{"version":"ae5507fc333d637dec9f37c6b3f4d423105421ea2820a64818de55db85214d66","affectsGlobalScope":true},{"version":"46755a4afc53df75f0bfce72259fb971daac826b0cdd8c4eaccad2755a817403","affectsGlobalScope":true},"8abd0566d2854c4bd1c5e48e05df5c74927187f1541e6770001d9637ac41542e","54e854615c4eafbdd3fd7688bd02a3aafd0ccf0e87c98f79d3e9109f047ce6b8","d8dba11dc34d50cb4202de5effa9a1b296d7a2f4a029eec871f894bddfb6430d","8b71dd18e7e63b6f991b511a201fad7c3bf8d1e0dd98acb5e3d844f335a73634","01d8e1419c84affad359cc240b2b551fb9812b450b4d3d456b64cda8102d4f60","9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","8221b00f271cf7f535a8eeec03b0f80f0929c7a16116e2d2df089b41066de69b","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","7fa32887f8a97909fca35ebba3740f8caf8df146618d8fff957a3f89f67a2f6a","9a9634296cca836c3308923ba7aa094fa6ed76bb1e366d8ddcf5c65888ab1024",{"version":"bddce945d552a963c9733db106b17a25474eefcab7fc990157a2134ef55d4954","affectsGlobalScope":true},{"version":"7052b7b0c3829df3b4985bab2fd74531074b4835d5a7b263b75c82f0916ad62f","affectsGlobalScope":true},"aa34c3aa493d1c699601027c441b9664547c3024f9dbab1639df7701d63d18fa","4b55240c2a03b2c71e98a7fc528b16136faa762211c92e781a01c37821915ea6","7c651f8dce91a927ab62925e73f190763574c46098f2b11fb8ddc1b147a6709a","7440ab60f4cb031812940cc38166b8bb6fbf2540cfe599f87c41c08011f0c1df",{"version":"94c086dff8dbc5998749326bc69b520e8e4273fb5b7b58b50e0210e0885dfcde","affectsGlobalScope":true},{"version":"f5b5dc128973498b75f52b1b8c2d5f8629869104899733ae485100c2309b4c12","affectsGlobalScope":true},"ebe5facd12fd7745cda5f4bc3319f91fb29dc1f96e57e9c6f8b260a7cc5b67ee","79bad8541d5779c85e82a9fb119c1fe06af77a71cc40f869d62ad379473d4b75","21c56c6e8eeacef15f63f373a29fab6a2b36e4705be7a528aae8c51469e2737b",{"version":"629d20681ca284d9e38c0a019f647108f5fe02f9c59ac164d56f5694fc3faf4d","affectsGlobalScope":true},"e7dbf5716d76846c7522e910896c5747b6df1abd538fee8f5291bdc843461795",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"a42be67ed1ddaec743582f41fc219db96a1b69719fccac6d1464321178d610fc"],"root":[[60,65]],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationDir":"./types","declarationMap":true,"emitDecoratorMetadata":true,"experimentalDecorators":true,"importHelpers":true,"module":99,"noEmitOnError":true,"noImplicitReturns":true,"outDir":"./esm","preserveConstEnums":true,"rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"stripInternal":true,"target":8},"fileIdsList":[[68],[70,73],[75],[111],[112,117,146],[113,124,125,132,143,154],[113,114,124,132],[115,155],[116,117,125,133],[117,143,151],[118,120,124,132],[111,119],[120,121],[124],[122,124],[111,124],[124,125,126,143,154],[124,125,126,139,143,146],[109,112,159],[120,124,127,132,143,154],[124,125,127,128,132,143,151,154],[127,129,143,151,154],[75,76,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161],[124,130],[131,154,159],[120,124,132,143],[133],[134],[111,135],[136,153,159],[137],[138],[124,139,140],[139,141,155,157],[112,124,143,144,145,146],[112,143,145],[143,144],[146],[147],[111,143],[124,149,150],[149,150],[117,132,143,151],[152],[132,153],[112,127,138,154],[117,155],[143,156],[131,157],[158],[112,117,124,126,135,143,154,157,159],[143,160],[66,72],[70],[67,71],[69],[86,90,154],[86,143,154],[81],[83,86,151,154],[132,151],[162],[81,162],[83,86,132,154],[78,79,82,85,112,124,143,154],[78,84],[82,86,112,146,154,162],[112,162],[102,112,162],[80,81,162],[86],[80,81,82,83,84,85,86,87,88,90,91,92,93,94,95,96,97,98,99,100,101,103,104,105,106,107,108],[86,93,94],[84,86,94,95],[85],[78,81,86],[86,90,94,95],[90],[84,86,89,154],[78,83,84,86,90,93],[112,143],[81,86,102,112,159,162],[59,63],[63,64],[60],[60,61,62],[54],[54,55,56,57,58],[52,53],[53],[63]],"referencedMap":[[69,1],[74,2],[75,3],[76,3],[111,4],[112,5],[113,6],[114,7],[115,8],[116,9],[117,10],[118,11],[119,12],[120,13],[121,13],[123,14],[122,15],[124,16],[125,17],[126,18],[110,19],[127,20],[128,21],[129,22],[162,23],[130,24],[131,25],[132,26],[133,27],[134,28],[135,29],[136,30],[137,31],[138,32],[139,33],[140,33],[141,34],[143,35],[145,36],[144,37],[146,38],[147,39],[148,40],[149,41],[150,42],[151,43],[152,44],[153,45],[154,46],[155,47],[156,48],[157,49],[158,50],[159,51],[160,52],[73,53],[71,54],[72,55],[70,56],[93,57],[100,58],[92,57],[107,59],[84,60],[83,61],[106,62],[101,63],[104,64],[86,65],[85,66],[81,67],[80,68],[103,69],[82,70],[87,71],[91,71],[109,72],[108,71],[95,73],[96,74],[98,75],[94,76],[97,77],[102,62],[89,78],[90,79],[99,80],[79,81],[105,82],[64,83],[65,84],[61,85],[63,86],[55,87],[59,88],[54,89],[58,90]],"exportedModulesMap":[[69,1],[74,2],[75,3],[76,3],[111,4],[112,5],[113,6],[114,7],[115,8],[116,9],[117,10],[118,11],[119,12],[120,13],[121,13],[123,14],[122,15],[124,16],[125,17],[126,18],[110,19],[127,20],[128,21],[129,22],[162,23],[130,24],[131,25],[132,26],[133,27],[134,28],[135,29],[136,30],[137,31],[138,32],[139,33],[140,33],[141,34],[143,35],[145,36],[144,37],[146,38],[147,39],[148,40],[149,41],[150,42],[151,43],[152,44],[153,45],[154,46],[155,47],[156,48],[157,49],[158,50],[159,51],[160,52],[73,53],[71,54],[72,55],[70,56],[93,57],[100,58],[92,57],[107,59],[84,60],[83,61],[106,62],[101,63],[104,64],[86,65],[85,66],[81,67],[80,68],[103,69],[82,70],[87,71],[91,71],[109,72],[108,71],[95,73],[96,74],[98,75],[94,76],[97,77],[102,62],[89,78],[90,79],[99,80],[79,81],[105,82],[64,91],[65,84],[61,85],[63,86],[55,87],[59,88],[54,89],[58,90]],"semanticDiagnosticsPerFile":[66,69,68,74,75,76,111,112,113,114,115,116,117,118,119,120,121,123,122,124,125,126,110,161,127,128,129,162,130,131,132,133,134,135,136,137,138,139,140,141,142,143,145,144,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,77,67,73,71,72,70,50,51,9,11,10,2,12,13,14,15,16,17,18,19,3,20,4,21,25,22,23,24,26,27,28,5,29,30,31,32,6,36,33,34,35,37,7,38,43,44,39,40,41,42,8,48,45,46,47,1,49,93,100,92,107,84,83,106,101,104,86,85,81,80,103,82,87,88,91,78,109,108,95,96,98,94,97,102,89,90,99,79,105,64,65,61,62,60,63,55,59,54,52,53,56,57,58],"latestChangedDtsFile":"./types/index.d.ts"},"version":"5.4.5"}
1
+ {"program":{"fileNames":["../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../utils/dist/types/models/interfaces.d.ts","../../utils/dist/types/models/types.d.ts","../../utils/dist/types/models/index.d.ts","../../utils/dist/types/domutils.d.ts","../../utils/dist/types/nodeextend.d.ts","../../utils/dist/types/striptagsutil.d.ts","../../utils/dist/types/utils.d.ts","../../utils/dist/types/index.d.ts","../src/types/eventsubscription.interface.ts","../src/types/basepubsubservice.interface.ts","../src/types/eventnamingstyle.enum.ts","../src/types/index.ts","../src/eventpubsub.service.ts","../src/index.ts","../../../node_modules/.pnpm/@jest+expect-utils@29.7.0/node_modules/@jest/expect-utils/build/index.d.ts","../../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/index.d.ts","../../../node_modules/.pnpm/@sinclair+typebox@0.27.8/node_modules/@sinclair/typebox/typebox.d.ts","../../../node_modules/.pnpm/@jest+schemas@29.6.3/node_modules/@jest/schemas/build/index.d.ts","../../../node_modules/.pnpm/pretty-format@29.7.0/node_modules/pretty-format/build/index.d.ts","../../../node_modules/.pnpm/jest-diff@29.7.0/node_modules/jest-diff/build/index.d.ts","../../../node_modules/.pnpm/jest-matcher-utils@29.7.0/node_modules/jest-matcher-utils/build/index.d.ts","../../../node_modules/.pnpm/expect@29.7.0/node_modules/expect/build/index.d.ts","../../../node_modules/.pnpm/@types+jest@29.5.12/node_modules/@types/jest/index.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/header.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/readable.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/file.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/fetch.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/formdata.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/connector.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/client.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/errors.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/global-origin.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/pool-stats.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/pool.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/handlers.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/agent.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-agent.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-client.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-pool.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-errors.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/api.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/cookies.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/patch.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/filereader.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/websocket.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/content-type.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/cache.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/interceptors.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/index.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/dom-events.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/sea.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/test.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/globals.global.d.ts","../../../node_modules/.pnpm/@types+node@20.12.8/node_modules/@types/node/index.d.ts"],"fileInfos":[{"version":"824cb491a40f7e8fdeb56f1df5edf91b23f3e3ee6b4cde84d4a99be32338faee","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569",{"version":"87d693a4920d794a73384b3c779cadcb8548ac6945aa7a925832fe2418c9527a","affectsGlobalScope":true},{"version":"138fb588d26538783b78d1e3b2c2cc12d55840b97bf5e08bca7f7a174fbe2f17","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"b20fe0eca9a4e405f1a5ae24a2b3290b37cf7f21eba6cbe4fc3fab979237d4f3","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"49ed889be54031e1044af0ad2c603d627b8bda8b50c1a68435fe85583901d072","affectsGlobalScope":true},{"version":"e93d098658ce4f0c8a0779e6cab91d0259efb88a318137f686ad76f8410ca270","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"5e07ed3809d48205d5b985642a59f2eba47c402374a7cf8006b686f79efadcbd","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"8073890e29d2f46fdbc19b8d6d2eb9ea58db9a2052f8640af20baff9afbc8640","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"51e547984877a62227042850456de71a5c45e7fe86b7c975c6e68896c86fa23b","affectsGlobalScope":true},{"version":"956d27abdea9652e8368ce029bb1e0b9174e9678a273529f426df4b3d90abd60","affectsGlobalScope":true},{"version":"13f6e6380c78e15e140243dc4be2fa546c287c6d61f4729bc2dd7cf449605471","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"03e026f9347b0725cdcce9ca95ffad1531c4817cef7232f8b46f91e818e2ac1c","504172f31e7616ece67ba012c54b6b33d3c4db9b2b812c9803caba1e9040e5c5","349e525352e7f6bdb92acf903298974bdbf7d8745baf637c7c7fa6c26b916dc2","7ded23f22de059135b0e7c9dfd9e1bd6481f7146b3095789d61642c1ef996186","cf2b71aeca2659a4f1e3d8164075c122bad44bc90dde781eb093cc13b5d67afd","3f55f6bb22c907b4e15d440a92363632b3f6553acdeec013f34d1b505ee6c9ed","489fcebef0e7463ff3580cc42e5cf039d145fdf13d19d8a0799d1540664d8d3e","52e0ddc1830a395a7c3ccf159e0c195ba5523bcb213cefbc0312821318e9e9ea",{"version":"843c8ac23a2d77142ea46b0717183d19dfb551df57d1f0493435a12d57e12d88","signature":"c7fb83efb86b29016744244e65b37430afdd948e025d00aaf0e404dc08a65e02"},{"version":"97cc38ce62af47df8aa3e0f412ca58dad9eaf8d280c38fbd1fe38aa2c4f724a1","signature":"21c4f77b1758d8b8de9e3eda40651ae92564569d0bac21565126145bb0e5999b"},{"version":"c4daa7918c267d474e0d269925f655f78fc52a7e2e6c12c7f6a00edd60ca3fe4","signature":"9ab9f34f15c13915347496839012509429a40a6f2f1bac0758177ff0426f9deb"},{"version":"74aa6f8a577ebc916e3c19dddbec6b3764884b17bd0f61c644a7180e2f38e5a5","signature":"f74204ee678c12e893f81b11a0eacd37222781b12329f247b025b030b0a2bb1c"},{"version":"4ae21a58a8f2888de24b009cba79faba3aee19b763343a003115e63fbe8c792a","signature":"24dc2abf4cea4b201713386fe94c39e4bb1819e0b9efc79e0fecb0b3610d5b78"},{"version":"15a4588eec847903e5314a5b5116b2a77ce2516479e042667f6beb0f900c37c6","signature":"a36015c64cd32628d71f1a81ceebdab348bb4db3629a63720bdd0adbebdb6153"},"cdcc132f207d097d7d3aa75615ab9a2e71d6a478162dde8b67f88ea19f3e54de","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","c085e9aa62d1ae1375794c1fb927a445fa105fed891a7e24edbb1c3300f7384a","f315e1e65a1f80992f0509e84e4ae2df15ecd9ef73df975f7c98813b71e4c8da","5b9586e9b0b6322e5bfbd2c29bd3b8e21ab9d871f82346cb71020e3d84bae73e","3e70a7e67c2cb16f8cd49097360c0309fe9d1e3210ff9222e9dac1f8df9d4fb6","ab68d2a3e3e8767c3fba8f80de099a1cfc18c0de79e42cb02ae66e22dfe14a66","d96cc6598148bf1a98fb2e8dcf01c63a4b3558bdaec6ef35e087fd0562eb40ec",{"version":"5ab630d466ac55baa6d32820378098404fc18ba9da6f7bc5df30c5dbb1cffae8","affectsGlobalScope":true},"d78c698fa755ef94e3af591883bfee3a330ffec36392e00aaacdff3541cf5382","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1",{"version":"a14ed46fa3f5ffc7a8336b497cd07b45c2084213aaca933a22443fcb2eef0d07","affectsGlobalScope":true},"6968359c8dbc693224fd1ea0b1f96b135f14d8eee3d6e23296d68c3a9da3ea00",{"version":"79d75a353f29d9f7fc63e879ccebe213baaaea26676fb3e47cc96cf221b27b4f","affectsGlobalScope":true},"dfdc7699360a0d512d7e31c69f75cb6a419cf415c98673e24499793170db5d6b","dcf46daa1e04481b1c2f360c7a77bf019885bd70353a92aa698b9c22b7fe3d6b",{"version":"033350619c2cfcbeab2a483f4b221e0866e17cc4ac514240d285d35c35eecf7c","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb",{"version":"b197fb2d5fa71cebc66e5d10e15c7d02f15fcd3194fbdaafeb964262582f2a82","affectsGlobalScope":true},"1a7f593d587f49ca97710c021c453ab1b95db5e39e58567f4af644f97a5fb0e0","dd4705d1d78af32c407e93e5df009962bed324599d6a5b2a9d661ba44dd99e43","3a02975d4a7034567425e529a0770f7f895ed605d2b576f7831668b7beea9fea","7525257b4aa35efc7a1bbc00f205a9a96c4e4ab791da90db41b77938c4e0c18e","cf87b355c4f531e98a9bba2b0e62d413b49b58b26bf8a9865e60a22d3af1fcd3",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"bf462fd3d934265627ac1f851a0afcc4c030a0d2c8872ce9e1ed55124d1d8cf4","affectsGlobalScope":true},"3bbc26148d18b4e619251ada313379c4831f4893de56d0497a3bb1bb016ea5c5","304f66274aa8119e8d65a49b1cff84cbf803def6afe1b2cc987386e9a9890e22","cbcb993f1fa22b7769074eb09c1307756e6380659a2990d6f50cfd8943bd8333","55a93997681797056da069cfac92878bff4d2a35e61c1c16280ee0cba38702f2","ea25afcaf96904668f7eebc1b834f89b5b5e5acafd430c29990028a1aaa0bcbe","df981b2ce32930887db27eeae29e48b9b841e4ba0bbba1162ebed04c778cd7e1",{"version":"ea455cc68871b049bcecd9f56d4cf27b852d6dafd5e3b54468ca87cc11604e4d","affectsGlobalScope":true},"3be96458790a77cb357856dab45d1cc8383ac63ba4e085f620b202fb62a6e1db","02d85d03fd4a4f63cba0b133f0e0192368dfeb4338bd33f87788a4f6302de873","bb3a0ce56babb71d7c208ed848b4aafe545e7a7e06304fc0c8cfe3ad328cab7a",{"version":"43bb766c0dc5f1150021f161aa6831eb2cc75dab278172408515cb6e47f697a9","affectsGlobalScope":true},{"version":"8bcf09ba67bd0ec12a9f1efc1e58e1ba2cb1ff78920ce6cf67ebfe6003c54b82","affectsGlobalScope":true},"13ce7518e39051544dd1e3124c185665adda05a5021676f2606c2c74ad2c964f","4ac5899be65d5e2cabe3aaf3dfc2cf7641e54dde23db198d9f683dfabe228145","124dacf89c97915479ed6ad81b09ba42fd40962d069c0642fed42e2d9719f2ba","139ad1dc93a503da85b7a0d5f615bddbae61ad796bc68fedd049150db67a1e26","ad06959073c066bb9543ef9c1dee37fc3140d2ecaae42b97bf4e27f2f03d6511","9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","41c800136d52bf8d9ea3a81094708100f339494572f47f4f351b0d798657300f","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","3c1f19c7abcda6b3a4cf9438a15c7307a080bd3b51dfd56b198d9f86baf19447","98e7b7220dad76c509d584c9b7b1ec4dcbd7df5e3a2d37d28c54f74461ec0975",{"version":"d693ae6d6c10ee679462b1f6ee4a807ea90ae3ad1f19daf8c32c46fad740c2e2","affectsGlobalScope":true},{"version":"d21966ba3284ade60cb94eb2c533ab5b2af7fd0b4b28462043f6ebcb8400bd21","affectsGlobalScope":true},"98e00f3613402504bc2a2c9a621800ab48e0a463d1eed062208a4ae98ad8f84c","b8e9e44ce8eba70af569523ff31d669cc239a93f548899a259f3224392a75e6c","005d1caa2a5d9bc096f75b598d0fd184bc848dd2665b050a17a17d5dc1ef652d","619735e4e221e1bf137ae3efa5330beee4a06039dccb876c822f9d8913a392da",{"version":"3560d0809b0677d77e39d0459ae6129c0e045cb3d43d1f345df06cf7ab7d6029","affectsGlobalScope":true},{"version":"5ab086d9457abbc69cca270e5475073f2e8eb35b2fb810c516400de7b7c7d575","affectsGlobalScope":true},"2a2fd53f2d963624b596fb720b390cbfe8d744e92cb55b48a8090a8fd42a302d","1f01c8fde66abc4ff6aed1db050a928b3bcb6f29bc89630a0d748a0649e14074","60223439b7ee9b26a08d527cacc8b34ea6c6741589ef4949f4669c9aeb97978e",{"version":"48fffe7824c2e8cf8c812f528c33d4c4f502767582083df35920a7f56fe794b3","affectsGlobalScope":true},"561bf7d1d3163db272980f9167b4b98f6a9ee8698c5955e9d9584e84088aad51",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"a42be67ed1ddaec743582f41fc219db96a1b69719fccac6d1464321178d610fc"],"root":[[60,65]],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationDir":"./types","declarationMap":true,"emitDecoratorMetadata":true,"experimentalDecorators":true,"importHelpers":true,"module":99,"noEmitOnError":true,"noImplicitReturns":true,"outDir":"./esm","preserveConstEnums":true,"rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"stripInternal":true,"target":8},"fileIdsList":[[68],[70,73],[75],[111],[112,117,146],[113,124,125,132,143,154],[113,114,124,132],[115,155],[116,117,125,133],[117,143,151],[118,120,124,132],[111,119],[120,121],[124],[122,124],[111,124],[124,125,126,143,154],[124,125,126,139,143,146],[109,112,159],[120,124,127,132,143,154],[124,125,127,128,132,143,151,154],[127,129,143,151,154],[75,76,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161],[124,130],[131,154,159],[120,124,132,143],[133],[134],[111,135],[132,133,136,153,159],[137],[138],[124,139,140],[139,141,155,157],[112,124,143,144,145,146],[112,143,145],[143,144],[146],[147],[111,143],[124,149,150],[149,150],[117,132,143,151],[152],[132,153],[112,127,138,154],[117,155],[143,156],[131,157],[158],[112,117,124,126,135,143,154,157,159],[143,160],[66,72],[70],[67,71],[69],[86,90,154],[86,143,154],[81],[83,86,151,154],[132,151],[162],[81,162],[83,86,132,154],[78,79,82,85,112,124,143,154],[78,84],[82,86,112,146,154,162],[112,162],[102,112,162],[80,81,162],[86],[80,81,82,83,84,85,86,87,88,90,91,92,93,94,95,96,97,98,99,100,101,103,104,105,106,107,108],[86,93,94],[84,86,94,95],[85],[78,81,86],[86,90,94,95],[90],[84,86,89,154],[78,83,84,86,90,93],[112,143],[81,86,102,112,159,162],[59,63],[63,64],[60],[60,61,62],[54],[54,55,56,57,58],[52,53],[53],[63]],"referencedMap":[[69,1],[74,2],[75,3],[76,3],[111,4],[112,5],[113,6],[114,7],[115,8],[116,9],[117,10],[118,11],[119,12],[120,13],[121,13],[123,14],[122,15],[124,16],[125,17],[126,18],[110,19],[127,20],[128,21],[129,22],[162,23],[130,24],[131,25],[132,26],[133,27],[134,28],[135,29],[136,30],[137,31],[138,32],[139,33],[140,33],[141,34],[143,35],[145,36],[144,37],[146,38],[147,39],[148,40],[149,41],[150,42],[151,43],[152,44],[153,45],[154,46],[155,47],[156,48],[157,49],[158,50],[159,51],[160,52],[73,53],[71,54],[72,55],[70,56],[93,57],[100,58],[92,57],[107,59],[84,60],[83,61],[106,62],[101,63],[104,64],[86,65],[85,66],[81,67],[80,68],[103,69],[82,70],[87,71],[91,71],[109,72],[108,71],[95,73],[96,74],[98,75],[94,76],[97,77],[102,62],[89,78],[90,79],[99,80],[79,81],[105,82],[64,83],[65,84],[61,85],[63,86],[55,87],[59,88],[54,89],[58,90]],"exportedModulesMap":[[69,1],[74,2],[75,3],[76,3],[111,4],[112,5],[113,6],[114,7],[115,8],[116,9],[117,10],[118,11],[119,12],[120,13],[121,13],[123,14],[122,15],[124,16],[125,17],[126,18],[110,19],[127,20],[128,21],[129,22],[162,23],[130,24],[131,25],[132,26],[133,27],[134,28],[135,29],[136,30],[137,31],[138,32],[139,33],[140,33],[141,34],[143,35],[145,36],[144,37],[146,38],[147,39],[148,40],[149,41],[150,42],[151,43],[152,44],[153,45],[154,46],[155,47],[156,48],[157,49],[158,50],[159,51],[160,52],[73,53],[71,54],[72,55],[70,56],[93,57],[100,58],[92,57],[107,59],[84,60],[83,61],[106,62],[101,63],[104,64],[86,65],[85,66],[81,67],[80,68],[103,69],[82,70],[87,71],[91,71],[109,72],[108,71],[95,73],[96,74],[98,75],[94,76],[97,77],[102,62],[89,78],[90,79],[99,80],[79,81],[105,82],[64,91],[65,84],[61,85],[63,86],[55,87],[59,88],[54,89],[58,90]],"semanticDiagnosticsPerFile":[66,69,68,74,75,76,111,112,113,114,115,116,117,118,119,120,121,123,122,124,125,126,110,161,127,128,129,162,130,131,132,133,134,135,136,137,138,139,140,141,142,143,145,144,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,77,67,73,71,72,70,50,51,9,11,10,2,12,13,14,15,16,17,18,19,3,20,4,21,25,22,23,24,26,27,28,5,29,30,31,32,6,36,33,34,35,37,7,38,43,44,39,40,41,42,8,48,45,46,47,1,49,93,100,92,107,84,83,106,101,104,86,85,81,80,103,82,87,88,91,78,109,108,95,96,98,94,97,102,89,90,99,79,105,64,65,61,62,60,63,55,59,54,52,53,56,57,58],"latestChangedDtsFile":"./types/index.d.ts"},"version":"5.4.5"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slickgrid-universal/event-pub-sub",
3
- "version": "4.7.0",
3
+ "version": "5.0.0-beta.1",
4
4
  "description": "Simple Vanilla Implementation of an Event PubSub Service to do simply publish/subscribe inter-communication while optionally providing data in the event",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -38,7 +38,7 @@
38
38
  "not dead"
39
39
  ],
40
40
  "dependencies": {
41
- "@slickgrid-universal/utils": "~4.7.0"
41
+ "@slickgrid-universal/utils": "~5.0.0-beta.1"
42
42
  },
43
- "gitHead": "185b6f9e44400bec2f1d79568905ca79e4b338a5"
43
+ "gitHead": "e7e8043f4fbfd2d35a1e55c38170afca0a20690f"
44
44
  }
@@ -1,201 +1,201 @@
1
- import { titleCase, toKebabCase } from '@slickgrid-universal/utils';
2
- import { type BasePubSubService, EventNamingStyle, type EventSubscription, type Subscription, } from './types';
3
-
4
- export interface PubSubEvent<T = any> {
5
- name: string;
6
- listener: (event: T | CustomEventInit<T>) => void;
7
- }
8
-
9
- export class EventPubSubService implements BasePubSubService {
10
- protected _elementSource: Element;
11
- protected _subscribedEvents: PubSubEvent[] = [];
12
- protected _timer: any;
13
-
14
- eventNamingStyle = EventNamingStyle.camelCase;
15
-
16
- get elementSource() {
17
- return this._elementSource;
18
- }
19
- set elementSource(element: Element) {
20
- this._elementSource = element;
21
- }
22
-
23
- get subscribedEvents(): PubSubEvent[] {
24
- return this._subscribedEvents;
25
- }
26
-
27
- get subscribedEventNames(): string[] {
28
- return this._subscribedEvents.map((pubSubEvent) => pubSubEvent.name);
29
- }
30
-
31
- constructor(elementSource?: Element) {
32
- // use the provided element
33
- // or create a "phantom DOM node" (a div element that is never rendered) to set up a custom event dispatching
34
- this._elementSource = elementSource || document.createElement('div');
35
- }
36
-
37
- dispose() {
38
- this.unsubscribeAll();
39
- this._subscribedEvents = [];
40
- clearTimeout(this._timer);
41
- this._elementSource?.remove();
42
- this._elementSource = null as any;
43
- }
44
-
45
- /**
46
- * Dispatch of Custom Event, which by default will bubble up & is cancelable
47
- * @param {String} eventName - event name to dispatch
48
- * @param {*} data - optional data to include in the dispatching
49
- * @param {Boolean} isBubbling - is the event bubbling up?
50
- * @param {Boolean} isCancelable - is the event cancellable?
51
- * @param {Function} externalizeEventCallback - user can optionally retrieve the CustomEvent used in the PubSub for its own usage via a callback (called just before the event dispatch)
52
- * @returns {Boolean} returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
53
- */
54
- dispatchCustomEvent<T = any>(eventName: string, data?: T, isBubbling = true, isCancelable = true, externalizeEventCallback?: (e: Event) => void) {
55
- const eventInit: CustomEventInit<T> = { bubbles: isBubbling, cancelable: isCancelable };
56
- if (data) {
57
- eventInit.detail = data;
58
- }
59
- const custEvent = new CustomEvent<T>(eventName, eventInit);
60
- if (typeof externalizeEventCallback === 'function') {
61
- externalizeEventCallback(custEvent);
62
- }
63
- return this._elementSource?.dispatchEvent(custEvent);
64
- }
65
-
66
- /**
67
- * Get the event name by the convention defined, it could be: all lower case, camelCase, PascalCase or kebab-case
68
- * @param {String} inputEventName - name of the event
69
- * @param {String} eventNamePrefix - prefix to use in the event name
70
- * @returns {String} - output event name
71
- */
72
- getEventNameByNamingConvention(inputEventName: string, eventNamePrefix: string) {
73
- let outputEventName = '';
74
-
75
- switch (this.eventNamingStyle) {
76
- case EventNamingStyle.camelCase:
77
- outputEventName = (eventNamePrefix !== '') ? `${eventNamePrefix}${titleCase(inputEventName)}` : inputEventName;
78
- break;
79
- case EventNamingStyle.kebabCase:
80
- outputEventName = (eventNamePrefix !== '') ? `${eventNamePrefix}-${toKebabCase(inputEventName)}` : toKebabCase(inputEventName);
81
- break;
82
- case EventNamingStyle.lowerCase:
83
- outputEventName = `${eventNamePrefix}${inputEventName}`.toLowerCase();
84
- break;
85
- case EventNamingStyle.lowerCaseWithoutOnPrefix:
86
- outputEventName = `${eventNamePrefix}${inputEventName.replace(/^on/, '')}`.toLowerCase();
87
- break;
88
- }
89
- return outputEventName;
90
- }
91
-
92
- /**
93
- * Method to publish a message via a dispatchEvent.
94
- * Return is a Boolean (from the event dispatch) unless a delay is provided if so we'll return the dispatched event in a Promise with a delayed cycle
95
- * The delay is rarely use and is only used when we want to make sure that certain events have the time to execute
96
- * and we do this because most framework require a cycle before the binding is processed and binding a spinner end up showing too late
97
- * for example this is used for the following events: onBeforeFilterClear, onBeforeFilterChange, onBeforeToggleTreeCollapse, onBeforeSortChange
98
- * @param {String} event - The event or channel to publish to.
99
- * @param {*} data - The data to publish on the channel.
100
- * @param {Number} delay - optional argument to delay the publish event
101
- * @param {Function} externalizeEventCallback - user can optionally retrieve the CustomEvent used in the PubSub for its own usage via a callback (called just before the event dispatch)
102
- * @returns {Boolean | Promise} - return type will be a Boolean unless a `delay` is provided then a `Promise<Boolean>` will be returned
103
- */
104
- publish<T = any>(eventName: string, data?: T, delay?: number, externalizeEventCallback?: (e: Event) => void): boolean | Promise<boolean> {
105
- const eventNameByConvention = this.getEventNameByNamingConvention(eventName, '');
106
-
107
- if (delay) {
108
- return new Promise(resolve => {
109
- clearTimeout(this._timer);
110
- this._timer = setTimeout(() => resolve(this.dispatchCustomEvent<T>(eventNameByConvention, data, true, true, externalizeEventCallback)), delay);
111
- });
112
- } else {
113
- return this.dispatchCustomEvent<T>(eventNameByConvention, data, true, true, externalizeEventCallback);
114
- }
115
- }
116
-
117
- /**
118
- * Subscribes to a message channel or message type.
119
- * @param event The event channel or event data type.
120
- * @param callback The callback to be invoked when the specified message is published.
121
- * @return possibly a Subscription
122
- */
123
- subscribe<T = any>(eventName: string, callback: (data: T) => void): Subscription {
124
- const eventNameByConvention = this.getEventNameByNamingConvention(eventName, '');
125
-
126
- // the event listener will return the data in the "event.detail", so we need to return its content to the final callback
127
- // basically we substitute the "data" with "event.detail" so that the user ends up with only the "data" result
128
- this._elementSource.addEventListener(eventNameByConvention, (event: CustomEventInit<T>) => callback.call(null, event.detail as T));
129
- this._subscribedEvents.push({ name: eventNameByConvention, listener: callback });
130
-
131
- // return a subscription that we can unsubscribe
132
- return {
133
- unsubscribe: () => this.unsubscribe(eventNameByConvention, callback as never)
134
- };
135
- }
136
-
137
- /**
138
- * Subscribes to a custom event message channel or message type.
139
- * This is similar to the "subscribe" except that the callback receives an event typed as CustomEventInit and the data will be inside its "event.detail"
140
- * @param event The event channel or event data type.
141
- * @param callback The callback to be invoked when the specified message is published.
142
- * @return possibly a Subscription
143
- */
144
- subscribeEvent<T = any>(eventName: string, listener: (event: CustomEventInit<T>) => void): Subscription {
145
- const eventNameByConvention = this.getEventNameByNamingConvention(eventName, '');
146
- this._elementSource.addEventListener(eventNameByConvention, listener);
147
- this._subscribedEvents.push({ name: eventNameByConvention, listener });
148
-
149
- // return a subscription that we can unsubscribe
150
- return {
151
- unsubscribe: () => this.unsubscribe(eventNameByConvention, listener as never)
152
- };
153
- }
154
-
155
- /**
156
- * Unsubscribes a message name
157
- * @param {String} event - the event name
158
- * @param {*} listener - event listener callback
159
- * @param {Boolean} shouldRemoveFromEventList - should we also remove the event from the subscriptions array?
160
- * @return possibly a Subscription
161
- */
162
- unsubscribe<T = any>(eventName: string, listener: (event: T | CustomEventInit<T>) => void, shouldRemoveFromEventList = true) {
163
- const eventNameByConvention = this.getEventNameByNamingConvention(eventName, '');
164
- this._elementSource.removeEventListener(eventNameByConvention, listener);
165
- if (shouldRemoveFromEventList) {
166
- this.removeSubscribedEventWhenFound(eventName, listener);
167
- }
168
- }
169
-
170
- /** Unsubscribes all subscriptions/events that currently exists */
171
- unsubscribeAll(subscriptions?: EventSubscription[]) {
172
- if (Array.isArray(subscriptions)) {
173
- let subscription;
174
- do {
175
- subscription = subscriptions.pop();
176
- if (subscription?.dispose) {
177
- subscription.dispose();
178
- } else if (subscription?.unsubscribe) {
179
- subscription.unsubscribe();
180
- }
181
- } while (subscription);
182
- } else {
183
- let pubSubEvent = this._subscribedEvents.pop();
184
- while (pubSubEvent) {
185
- this.unsubscribe(pubSubEvent.name, pubSubEvent.listener, false);
186
- pubSubEvent = this._subscribedEvents.pop();
187
- }
188
- }
189
- }
190
-
191
- // --
192
- // protected functions
193
- // --------------------
194
-
195
- protected removeSubscribedEventWhenFound<T>(eventName: string, listener: (event: T | CustomEventInit<T>) => void) {
196
- const eventIdx = this._subscribedEvents.findIndex(evt => evt.name === eventName && evt.listener === listener);
197
- if (eventIdx >= 0) {
198
- this._subscribedEvents.splice(eventIdx, 1);
199
- }
200
- }
201
- }
1
+ import { titleCase, toKebabCase } from '@slickgrid-universal/utils';
2
+ import { type BasePubSubService, EventNamingStyle, type EventSubscription, type Subscription, } from './types';
3
+
4
+ export interface PubSubEvent<T = any> {
5
+ name: string;
6
+ listener: (event: T | CustomEventInit<T>) => void;
7
+ }
8
+
9
+ export class EventPubSubService implements BasePubSubService {
10
+ protected _elementSource: Element;
11
+ protected _subscribedEvents: PubSubEvent[] = [];
12
+ protected _timer: any;
13
+
14
+ eventNamingStyle = EventNamingStyle.camelCase;
15
+
16
+ get elementSource() {
17
+ return this._elementSource;
18
+ }
19
+ set elementSource(element: Element) {
20
+ this._elementSource = element;
21
+ }
22
+
23
+ get subscribedEvents(): PubSubEvent[] {
24
+ return this._subscribedEvents;
25
+ }
26
+
27
+ get subscribedEventNames(): string[] {
28
+ return this._subscribedEvents.map((pubSubEvent) => pubSubEvent.name);
29
+ }
30
+
31
+ constructor(elementSource?: Element) {
32
+ // use the provided element
33
+ // or create a "phantom DOM node" (a div element that is never rendered) to set up a custom event dispatching
34
+ this._elementSource = elementSource || document.createElement('div');
35
+ }
36
+
37
+ dispose() {
38
+ this.unsubscribeAll();
39
+ this._subscribedEvents = [];
40
+ clearTimeout(this._timer);
41
+ this._elementSource?.remove();
42
+ this._elementSource = null as any;
43
+ }
44
+
45
+ /**
46
+ * Dispatch of Custom Event, which by default will bubble up & is cancelable
47
+ * @param {String} eventName - event name to dispatch
48
+ * @param {*} data - optional data to include in the dispatching
49
+ * @param {Boolean} isBubbling - is the event bubbling up?
50
+ * @param {Boolean} isCancelable - is the event cancellable?
51
+ * @param {Function} externalizeEventCallback - user can optionally retrieve the CustomEvent used in the PubSub for its own usage via a callback (called just before the event dispatch)
52
+ * @returns {Boolean} returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
53
+ */
54
+ dispatchCustomEvent<T = any>(eventName: string, data?: T, isBubbling = true, isCancelable = true, externalizeEventCallback?: (e: Event) => void) {
55
+ const eventInit: CustomEventInit<T> = { bubbles: isBubbling, cancelable: isCancelable };
56
+ if (data) {
57
+ eventInit.detail = data;
58
+ }
59
+ const custEvent = new CustomEvent<T>(eventName, eventInit);
60
+ if (typeof externalizeEventCallback === 'function') {
61
+ externalizeEventCallback(custEvent);
62
+ }
63
+ return this._elementSource?.dispatchEvent(custEvent);
64
+ }
65
+
66
+ /**
67
+ * Get the event name by the convention defined, it could be: all lower case, camelCase, PascalCase or kebab-case
68
+ * @param {String} inputEventName - name of the event
69
+ * @param {String} eventNamePrefix - prefix to use in the event name
70
+ * @returns {String} - output event name
71
+ */
72
+ getEventNameByNamingConvention(inputEventName: string, eventNamePrefix: string) {
73
+ let outputEventName = '';
74
+
75
+ switch (this.eventNamingStyle) {
76
+ case EventNamingStyle.camelCase:
77
+ outputEventName = (eventNamePrefix !== '') ? `${eventNamePrefix}${titleCase(inputEventName)}` : inputEventName;
78
+ break;
79
+ case EventNamingStyle.kebabCase:
80
+ outputEventName = (eventNamePrefix !== '') ? `${eventNamePrefix}-${toKebabCase(inputEventName)}` : toKebabCase(inputEventName);
81
+ break;
82
+ case EventNamingStyle.lowerCase:
83
+ outputEventName = `${eventNamePrefix}${inputEventName}`.toLowerCase();
84
+ break;
85
+ case EventNamingStyle.lowerCaseWithoutOnPrefix:
86
+ outputEventName = `${eventNamePrefix}${inputEventName.replace(/^on/, '')}`.toLowerCase();
87
+ break;
88
+ }
89
+ return outputEventName;
90
+ }
91
+
92
+ /**
93
+ * Method to publish a message via a dispatchEvent.
94
+ * Return is a Boolean (from the event dispatch) unless a delay is provided if so we'll return the dispatched event in a Promise with a delayed cycle
95
+ * The delay is rarely use and is only used when we want to make sure that certain events have the time to execute
96
+ * and we do this because most framework require a cycle before the binding is processed and binding a spinner end up showing too late
97
+ * for example this is used for the following events: onBeforeFilterClear, onBeforeFilterChange, onBeforeToggleTreeCollapse, onBeforeSortChange
98
+ * @param {String} event - The event or channel to publish to.
99
+ * @param {*} data - The data to publish on the channel.
100
+ * @param {Number} delay - optional argument to delay the publish event
101
+ * @param {Function} externalizeEventCallback - user can optionally retrieve the CustomEvent used in the PubSub for its own usage via a callback (called just before the event dispatch)
102
+ * @returns {Boolean | Promise} - return type will be a Boolean unless a `delay` is provided then a `Promise<Boolean>` will be returned
103
+ */
104
+ publish<T = any>(eventName: string, data?: T, delay?: number, externalizeEventCallback?: (e: Event) => void): boolean | Promise<boolean> {
105
+ const eventNameByConvention = this.getEventNameByNamingConvention(eventName, '');
106
+
107
+ if (delay) {
108
+ return new Promise(resolve => {
109
+ clearTimeout(this._timer);
110
+ this._timer = setTimeout(() => resolve(this.dispatchCustomEvent<T>(eventNameByConvention, data, true, true, externalizeEventCallback)), delay);
111
+ });
112
+ } else {
113
+ return this.dispatchCustomEvent<T>(eventNameByConvention, data, true, true, externalizeEventCallback);
114
+ }
115
+ }
116
+
117
+ /**
118
+ * Subscribes to a message channel or message type.
119
+ * @param event The event channel or event data type.
120
+ * @param callback The callback to be invoked when the specified message is published.
121
+ * @return possibly a Subscription
122
+ */
123
+ subscribe<T = any>(eventName: string, callback: (data: T) => void): Subscription {
124
+ const eventNameByConvention = this.getEventNameByNamingConvention(eventName, '');
125
+
126
+ // the event listener will return the data in the "event.detail", so we need to return its content to the final callback
127
+ // basically we substitute the "data" with "event.detail" so that the user ends up with only the "data" result
128
+ this._elementSource.addEventListener(eventNameByConvention, (event: CustomEventInit<T>) => callback.call(null, event.detail as T));
129
+ this._subscribedEvents.push({ name: eventNameByConvention, listener: callback });
130
+
131
+ // return a subscription that we can unsubscribe
132
+ return {
133
+ unsubscribe: () => this.unsubscribe(eventNameByConvention, callback as never)
134
+ };
135
+ }
136
+
137
+ /**
138
+ * Subscribes to a custom event message channel or message type.
139
+ * This is similar to the "subscribe" except that the callback receives an event typed as CustomEventInit and the data will be inside its "event.detail"
140
+ * @param event The event channel or event data type.
141
+ * @param callback The callback to be invoked when the specified message is published.
142
+ * @return possibly a Subscription
143
+ */
144
+ subscribeEvent<T = any>(eventName: string, listener: (event: CustomEventInit<T>) => void): Subscription {
145
+ const eventNameByConvention = this.getEventNameByNamingConvention(eventName, '');
146
+ this._elementSource.addEventListener(eventNameByConvention, listener);
147
+ this._subscribedEvents.push({ name: eventNameByConvention, listener });
148
+
149
+ // return a subscription that we can unsubscribe
150
+ return {
151
+ unsubscribe: () => this.unsubscribe(eventNameByConvention, listener as never)
152
+ };
153
+ }
154
+
155
+ /**
156
+ * Unsubscribes a message name
157
+ * @param {String} event - the event name
158
+ * @param {*} listener - event listener callback
159
+ * @param {Boolean} shouldRemoveFromEventList - should we also remove the event from the subscriptions array?
160
+ * @return possibly a Subscription
161
+ */
162
+ unsubscribe<T = any>(eventName: string, listener: (event: T | CustomEventInit<T>) => void, shouldRemoveFromEventList = true) {
163
+ const eventNameByConvention = this.getEventNameByNamingConvention(eventName, '');
164
+ this._elementSource.removeEventListener(eventNameByConvention, listener);
165
+ if (shouldRemoveFromEventList) {
166
+ this.removeSubscribedEventWhenFound(eventName, listener);
167
+ }
168
+ }
169
+
170
+ /** Unsubscribes all subscriptions/events that currently exists */
171
+ unsubscribeAll(subscriptions?: EventSubscription[]) {
172
+ if (Array.isArray(subscriptions)) {
173
+ let subscription;
174
+ do {
175
+ subscription = subscriptions.pop();
176
+ if (subscription?.dispose) {
177
+ subscription.dispose();
178
+ } else if (subscription?.unsubscribe) {
179
+ subscription.unsubscribe();
180
+ }
181
+ } while (subscription);
182
+ } else {
183
+ let pubSubEvent = this._subscribedEvents.pop();
184
+ while (pubSubEvent) {
185
+ this.unsubscribe(pubSubEvent.name, pubSubEvent.listener, false);
186
+ pubSubEvent = this._subscribedEvents.pop();
187
+ }
188
+ }
189
+ }
190
+
191
+ // --
192
+ // protected functions
193
+ // --------------------
194
+
195
+ protected removeSubscribedEventWhenFound<T>(eventName: string, listener: (event: T | CustomEventInit<T>) => void) {
196
+ const eventIdx = this._subscribedEvents.findIndex(evt => evt.name === eventName && evt.listener === listener);
197
+ if (eventIdx >= 0) {
198
+ this._subscribedEvents.splice(eventIdx, 1);
199
+ }
200
+ }
201
+ }
@@ -1,39 +1,39 @@
1
- import type { EventSubscription } from './eventSubscription.interface';
2
-
3
- export interface BasePubSubService {
4
- /**
5
- * Method to publish a message
6
- * @param event The event or channel to publish to.
7
- * @param data The data to publish on the channel.
8
- * @param {Number} delay - optional argument to delay the publish event
9
- * @param {Function} externalizeEventCallback - user can optionally retrieve the CustomEvent used in the PubSub for its own usage via a callback (called just before the event dispatch)
10
- */
11
- publish<T = any>(_eventName: string | any, _data?: T, _delay?: number, externalizeEventCallback?: (e: Event) => void): void | boolean | Promise<boolean>;
12
-
13
- /**
14
- * Subscribes to a message channel or message type.
15
- * @param event The event channel or event data type.
16
- * @param callback The callback to be invoked when the specified message is published.
17
- * @return possibly a Subscription
18
- */
19
- subscribe<T = any>(_eventName: string | Function, _callback: (data: T) => void): EventSubscription | any;
20
-
21
- /**
22
- * Subscribes to a custom event message channel or message type.
23
- * This is similar to the "subscribe" except that the callback receives an event typed as CustomEventInit and the data will be inside its "event.detail"
24
- * @param event The event channel or event data type.
25
- * @param callback The callback to be invoked when the specified message is published.
26
- * @return possibly a Subscription
27
- */
28
- subscribeEvent?<T = any>(_eventName: string | Function, _callback: (event: CustomEventInit<T>) => void): EventSubscription | any;
29
-
30
- /**
31
- * Unsubscribes a message name
32
- * @param event The event name
33
- * @return possibly a Subscription
34
- */
35
- unsubscribe(_eventName: string, _callback: (event: CustomEventInit) => void): void;
36
-
37
- /** Unsubscribes all subscriptions that currently exists */
38
- unsubscribeAll(_subscriptions?: EventSubscription[]): void;
39
- }
1
+ import type { EventSubscription } from './eventSubscription.interface';
2
+
3
+ export interface BasePubSubService {
4
+ /**
5
+ * Method to publish a message
6
+ * @param event The event or channel to publish to.
7
+ * @param data The data to publish on the channel.
8
+ * @param {Number} delay - optional argument to delay the publish event
9
+ * @param {Function} externalizeEventCallback - user can optionally retrieve the CustomEvent used in the PubSub for its own usage via a callback (called just before the event dispatch)
10
+ */
11
+ publish<T = any>(_eventName: string | any, _data?: T, _delay?: number, externalizeEventCallback?: (e: Event) => void): void | boolean | Promise<boolean>;
12
+
13
+ /**
14
+ * Subscribes to a message channel or message type.
15
+ * @param event The event channel or event data type.
16
+ * @param callback The callback to be invoked when the specified message is published.
17
+ * @return possibly a Subscription
18
+ */
19
+ subscribe<T = any>(_eventName: string | Function, _callback: (data: T) => void): EventSubscription | any;
20
+
21
+ /**
22
+ * Subscribes to a custom event message channel or message type.
23
+ * This is similar to the "subscribe" except that the callback receives an event typed as CustomEventInit and the data will be inside its "event.detail"
24
+ * @param event The event channel or event data type.
25
+ * @param callback The callback to be invoked when the specified message is published.
26
+ * @return possibly a Subscription
27
+ */
28
+ subscribeEvent?<T = any>(_eventName: string | Function, _callback: (event: CustomEventInit<T>) => void): EventSubscription | any;
29
+
30
+ /**
31
+ * Unsubscribes a message name
32
+ * @param event The event name
33
+ * @return possibly a Subscription
34
+ */
35
+ unsubscribe(_eventName: string, _callback: (event: CustomEventInit) => void): void;
36
+
37
+ /** Unsubscribes all subscriptions that currently exists */
38
+ unsubscribeAll(_subscriptions?: EventSubscription[]): void;
39
+ }