@amazon/vinyl-util 1.1.1 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browserTestUtil/index.js +5 -5
- package/dist/browserTestUtil/index.js.map +2 -2
- package/dist/browserTestUtil/types/current/async/createCallbackTimingTest.d.ts +1 -1
- package/dist/browserTestUtil/types/current/async/createCallbackTimingTest.d.ts.map +1 -1
- package/dist/browserTestUtil/types/current/expect/typesafety.d.ts +5 -15
- package/dist/browserTestUtil/types/current/expect/typesafety.d.ts.map +1 -1
- package/dist/browserTestUtil/types/current/mock/dom/globals.d.ts +4 -4
- package/dist/browserTestUtil/types/current/mock/dom/globals.d.ts.map +1 -1
- package/dist/browserTestUtil/types/current/mock/dom/globals.js +1 -1
- package/dist/browserTestUtil/types/current/mock/dom/lib.dom.d.ts +499 -499
- package/dist/browserTestUtil/types/current/mock/dom/lib.dom.d.ts.map +1 -1
- package/dist/browserTestUtil/types/current/mock/dom/lib.dom.js +1 -1
- package/dist/browserTestUtil/types/current/mock/implementEventFakes.js +1 -1
- package/dist/browserTestUtil/types/current/mock/polyfillCustomEvent.js +1 -1
- package/dist/browserTestUtil/types/current/tsconfig.tsbuildinfo +1 -1
- package/dist/browserTestUtil/types/ts3.7/async/createCallbackTimingTest.d.ts +1 -1
- package/dist/browserTestUtil/types/ts3.7/expect/typesafety.d.ts +5 -15
- package/dist/browserTestUtil/types/ts3.7/mock/dom/globals.d.ts +4 -4
- package/dist/browserTestUtil/types/ts3.7/mock/dom/lib.dom.d.ts +499 -499
- package/dist/browserTestUtil/types/ts4.1/async/createCallbackTimingTest.d.ts +1 -1
- package/dist/browserTestUtil/types/ts4.1/expect/typesafety.d.ts +5 -15
- package/dist/browserTestUtil/types/ts4.1/mock/dom/globals.d.ts +4 -4
- package/dist/browserTestUtil/types/ts4.1/mock/dom/lib.dom.d.ts +499 -499
- package/dist/browserTestUtil/types/ts4.7/async/createCallbackTimingTest.d.ts +1 -1
- package/dist/browserTestUtil/types/ts4.7/expect/typesafety.d.ts +5 -15
- package/dist/browserTestUtil/types/ts4.7/mock/dom/globals.d.ts +4 -4
- package/dist/browserTestUtil/types/ts4.7/mock/dom/lib.dom.d.ts +499 -499
- package/dist/index.cjs +34 -34
- package/dist/index.cjs.map +2 -2
- package/dist/index.js +34 -34
- package/dist/index.js.map +2 -2
- package/dist/polyfill/index.js +6 -2
- package/dist/polyfill/index.js.map +1 -1
- package/dist/polyfill/tsconfig.tsbuildinfo +1 -1
- package/dist/test/benchmark.es5.js +15 -15
- package/dist/test/benchmark.js +12 -12
- package/dist/test/benchmark.js.map +2 -2
- package/dist/testUtil/index.js +1 -1
- package/dist/testUtil/index.js.map +1 -1
- package/dist/testUtil/types/current/mock/logging/MockLogger.d.ts +1 -1
- package/dist/testUtil/types/current/mock/logging/MockLogger.d.ts.map +1 -1
- package/dist/testUtil/types/current/mock/logging/MockLogger.js +1 -1
- package/dist/testUtil/types/current/mock/navigator/setMockNavigator.js +1 -1
- package/dist/testUtil/types/current/mock/network/MockNetworkMetricsController.d.ts +1 -1
- package/dist/testUtil/types/current/mock/network/MockNetworkMetricsController.d.ts.map +1 -1
- package/dist/testUtil/types/current/mock/network/MockNetworkMetricsController.js +1 -1
- package/dist/testUtil/types/current/mock/network/MockNetworkState.d.ts +1 -1
- package/dist/testUtil/types/current/mock/network/MockNetworkState.d.ts.map +1 -1
- package/dist/testUtil/types/current/mock/network/MockNetworkState.js +1 -1
- package/dist/testUtil/types/current/mock/network/MockRequester.d.ts +1 -1
- package/dist/testUtil/types/current/mock/network/MockRequester.d.ts.map +1 -1
- package/dist/testUtil/types/current/mock/network/MockRequester.js +1 -1
- package/dist/testUtil/types/current/reporters/RestApiReporter.d.ts +1 -1
- package/dist/testUtil/types/current/reporters/RestApiReporter.d.ts.map +1 -1
- package/dist/testUtil/types/current/reporters/RestApiReporter.js +1 -1
- package/dist/testUtil/types/current/tsconfig.tsbuildinfo +1 -1
- package/dist/testUtil/types/ts3.7/mock/logging/MockLogger.d.ts +1 -1
- package/dist/testUtil/types/ts3.7/mock/network/MockNetworkMetricsController.d.ts +1 -1
- package/dist/testUtil/types/ts3.7/mock/network/MockNetworkState.d.ts +1 -1
- package/dist/testUtil/types/ts3.7/mock/network/MockRequester.d.ts +1 -1
- package/dist/testUtil/types/ts3.7/reporters/RestApiReporter.d.ts +1 -1
- package/dist/testUtil/types/ts4.1/mock/logging/MockLogger.d.ts +1 -1
- package/dist/testUtil/types/ts4.1/mock/network/MockNetworkMetricsController.d.ts +1 -1
- package/dist/testUtil/types/ts4.1/mock/network/MockNetworkState.d.ts +1 -1
- package/dist/testUtil/types/ts4.1/mock/network/MockRequester.d.ts +1 -1
- package/dist/testUtil/types/ts4.1/reporters/RestApiReporter.d.ts +2 -2
- package/dist/testUtil/types/ts4.7/mock/logging/MockLogger.d.ts +1 -1
- package/dist/testUtil/types/ts4.7/mock/network/MockNetworkMetricsController.d.ts +1 -1
- package/dist/testUtil/types/ts4.7/mock/network/MockNetworkState.d.ts +1 -1
- package/dist/testUtil/types/ts4.7/mock/network/MockRequester.d.ts +1 -1
- package/dist/testUtil/types/ts4.7/reporters/RestApiReporter.d.ts +1 -1
- package/dist/types/current/client/Version.d.ts.map +1 -1
- package/dist/types/current/client/userAgent/UserAgentInfo.d.ts +1 -1
- package/dist/types/current/client/userAgent/UserAgentInfo.d.ts.map +1 -1
- package/dist/types/current/client/userAgent/hasBrowser.d.ts.map +1 -1
- package/dist/types/current/client/userAgent/hasBrowser.js +1 -1
- package/dist/types/current/client/userAgent/parseUserAgent.d.ts +1 -1
- package/dist/types/current/client/userAgent/parseUserAgent.d.ts.map +1 -1
- package/dist/types/current/client/userAgent/tokenizeUserAgent.d.ts +1 -1
- package/dist/types/current/client/userAgent/tokenizeUserAgent.d.ts.map +1 -1
- package/dist/types/current/client/userAgent/tokenizeUserAgent.js +1 -1
- package/dist/types/current/client/userAgent/userAgentRuleHelpers.d.ts.map +1 -1
- package/dist/types/current/core/disposable.d.ts +1 -1
- package/dist/types/current/core/disposable.d.ts.map +1 -1
- package/dist/types/current/error/AbortError.js +1 -1
- package/dist/types/current/error/MediaUnsupportedError.d.ts +1 -1
- package/dist/types/current/error/MediaUnsupportedError.d.ts.map +1 -1
- package/dist/types/current/error/MediaUnsupportedError.js +2 -2
- package/dist/types/current/error/ReportableError.d.ts.map +1 -1
- package/dist/types/current/error/ServiceResponseError.d.ts.map +1 -1
- package/dist/types/current/error/TimeoutError.js +1 -1
- package/dist/types/current/error/ValidationError.d.ts +1 -1
- package/dist/types/current/error/ValidationError.d.ts.map +1 -1
- package/dist/types/current/error/ValidationError.js +2 -2
- package/dist/types/current/event/DomEventHost.d.ts +1 -1
- package/dist/types/current/event/DomEventHost.d.ts.map +1 -1
- package/dist/types/current/event/EventHost.d.ts.map +1 -1
- package/dist/types/current/event/Signal.d.ts.map +1 -1
- package/dist/types/current/event/nextEventAsPromise.d.ts.map +1 -1
- package/dist/types/current/event/onAny.d.ts.map +1 -1
- package/dist/types/current/event/redispatchEvents.d.ts.map +1 -1
- package/dist/types/current/global/globalTarget.d.ts.map +1 -1
- package/dist/types/current/logging/ConsoleLogHandler.d.ts.map +1 -1
- package/dist/types/current/logging/HistoryLogHandler.d.ts.map +1 -1
- package/dist/types/current/logging/Logger.d.ts +2 -2
- package/dist/types/current/logging/Logger.d.ts.map +1 -1
- package/dist/types/current/logging/Logger.js +1 -1
- package/dist/types/current/logging/VinylLogging.d.ts +2 -2
- package/dist/types/current/logging/VinylLogging.d.ts.map +1 -1
- package/dist/types/current/logging/getLogLevelFromSearch.d.ts +1 -1
- package/dist/types/current/logging/getLogLevelFromSearch.d.ts.map +1 -1
- package/dist/types/current/logging/getLogLevelFromSearch.js +2 -2
- package/dist/types/current/logging/logTimer.d.ts +1 -1
- package/dist/types/current/logging/logTimer.d.ts.map +1 -1
- package/dist/types/current/logging/logTimer.js +1 -1
- package/dist/types/current/network/RequestError.d.ts.map +1 -1
- package/dist/types/current/network/Requester.d.ts.map +1 -1
- package/dist/types/current/network/RequesterImpl.d.ts +1 -1
- package/dist/types/current/network/RequesterImpl.d.ts.map +1 -1
- package/dist/types/current/network/RequesterImplEventMap.d.ts +1 -1
- package/dist/types/current/network/RequesterImplEventMap.d.ts.map +1 -1
- package/dist/types/current/network/createRequester.d.ts.map +1 -1
- package/dist/types/current/network/logging/networkLoggingHandler.d.ts +1 -1
- package/dist/types/current/network/logging/networkLoggingHandler.d.ts.map +1 -1
- package/dist/types/current/network/metrics/NetworkMetricsController.d.ts.map +1 -1
- package/dist/types/current/network/metrics/NetworkMetricsControllerImpl.d.ts +1 -1
- package/dist/types/current/network/metrics/NetworkMetricsControllerImpl.d.ts.map +1 -1
- package/dist/types/current/network/metrics/networkMetricsGlobal.d.ts +1 -1
- package/dist/types/current/network/metrics/networkMetricsGlobal.d.ts.map +1 -1
- package/dist/types/current/network/metrics/networkMetricsGlobal.js +1 -1
- package/dist/types/current/network/metrics/networkMetricsModel.d.ts.map +1 -1
- package/dist/types/current/network/network.d.ts +1 -1
- package/dist/types/current/network/network.d.ts.map +1 -1
- package/dist/types/current/network/requesterGlobal.d.ts +1 -1
- package/dist/types/current/network/requesterGlobal.d.ts.map +1 -1
- package/dist/types/current/network/requesterUtil.d.ts.map +1 -1
- package/dist/types/current/patch/network/fetch.d.ts.map +1 -1
- package/dist/types/current/patch/patchTarget.d.ts.map +1 -1
- package/dist/types/current/persistence/PersistentItem.d.ts +1 -1
- package/dist/types/current/persistence/PersistentItem.d.ts.map +1 -1
- package/dist/types/current/persistence/PersistentItem.js +1 -1
- package/dist/types/current/persistence/StoragePersistence.d.ts +1 -1
- package/dist/types/current/persistence/StoragePersistence.d.ts.map +1 -1
- package/dist/types/current/persistence/persistenceRef.d.ts +2 -2
- package/dist/types/current/persistence/persistenceRef.d.ts.map +1 -1
- package/dist/types/current/persistence/persistenceRef.js +1 -1
- package/dist/types/current/tsconfig.tsbuildinfo +1 -1
- package/dist/types/current/util/async/Abort.d.ts.map +1 -1
- package/dist/types/current/util/async/Abort.js +1 -1
- package/dist/types/current/util/async/TaskQueue.d.ts +2 -2
- package/dist/types/current/util/async/TaskQueue.d.ts.map +1 -1
- package/dist/types/current/util/async/TaskQueue.js +1 -1
- package/dist/types/current/util/async/TimeoutController.d.ts +1 -1
- package/dist/types/current/util/async/TimeoutController.d.ts.map +1 -1
- package/dist/types/current/util/async/TimeoutController.js +1 -1
- package/dist/types/current/util/async/TimeoutSlot.d.ts.map +1 -1
- package/dist/types/current/util/async/abortUtils.d.ts +1 -1
- package/dist/types/current/util/async/abortUtils.d.ts.map +1 -1
- package/dist/types/current/util/async/poll.d.ts +34 -0
- package/dist/types/current/util/async/poll.d.ts.map +1 -0
- package/dist/types/current/util/async/poll.js +31 -0
- package/dist/types/current/util/async/promise.d.ts +1 -1
- package/dist/types/current/util/async/promise.d.ts.map +1 -1
- package/dist/types/current/util/async/promise.js +2 -2
- package/dist/types/current/util/async/timeout.d.ts.map +1 -1
- package/dist/types/current/util/async/timeout.js +1 -1
- package/dist/types/current/util/browser/searchParams.d.ts +1 -1
- package/dist/types/current/util/browser/searchParams.d.ts.map +1 -1
- package/dist/types/current/util/browser/searchParams.js +1 -1
- package/dist/types/current/util/buffer/BufferError.d.ts.map +1 -1
- package/dist/types/current/util/buffer/BufferReader.js +2 -2
- package/dist/types/current/util/buffer/buffer.d.ts +1 -1
- package/dist/types/current/util/buffer/buffer.d.ts.map +1 -1
- package/dist/types/current/util/collection/CacheMap.d.ts +12 -2
- package/dist/types/current/util/collection/CacheMap.d.ts.map +1 -1
- package/dist/types/current/util/collection/LinkedList.d.ts +1 -4
- package/dist/types/current/util/collection/LinkedList.d.ts.map +1 -1
- package/dist/types/current/util/collection/LruCache.js +1 -1
- package/dist/types/current/util/collection/array.d.ts +2 -2
- package/dist/types/current/util/collection/array.d.ts.map +1 -1
- package/dist/types/current/util/collection/array.js +2 -2
- package/dist/types/current/util/comparison/compare.d.ts +1 -1
- package/dist/types/current/util/comparison/compare.d.ts.map +1 -1
- package/dist/types/current/util/config/ValueProvider.d.ts +1 -1
- package/dist/types/current/util/config/ValueProvider.d.ts.map +1 -1
- package/dist/types/current/util/date/date.d.ts +1 -1
- package/dist/types/current/util/date/date.d.ts.map +1 -1
- package/dist/types/current/util/date/date.js +1 -1
- package/dist/types/current/util/error/stack.d.ts +3 -3
- package/dist/types/current/util/error/stack.d.ts.map +1 -1
- package/dist/types/current/util/error/stack.js +2 -2
- package/dist/types/current/util/fun/debounce.d.ts.map +1 -1
- package/dist/types/current/util/fun/debounce.js +1 -1
- package/dist/types/current/util/fun/memoize.d.ts +1 -1
- package/dist/types/current/util/fun/memoize.d.ts.map +1 -1
- package/dist/types/current/util/fun/memoize.js +2 -2
- package/dist/types/current/util/fun/throttle.d.ts.map +1 -1
- package/dist/types/current/util/fun/throttle.js +1 -1
- package/dist/types/current/util/map/map.d.ts +11 -2
- package/dist/types/current/util/map/map.d.ts.map +1 -1
- package/dist/types/current/util/mpeg/parseSidxBox.js +1 -1
- package/dist/types/current/util/network/request.d.ts +1 -1
- package/dist/types/current/util/network/request.d.ts.map +1 -1
- package/dist/types/current/util/object/equalDeep.d.ts +1 -1
- package/dist/types/current/util/object/equalDeep.d.ts.map +1 -1
- package/dist/types/current/util/object/equalDeep.js +1 -1
- package/dist/types/current/util/object/lazy.d.ts.map +1 -1
- package/dist/types/current/util/object/mergeDeep.d.ts +1 -1
- package/dist/types/current/util/object/mergeDeep.d.ts.map +1 -1
- package/dist/types/current/util/object/mergeDeep.js +3 -3
- package/dist/types/current/util/object/mutableType.d.ts +1 -1
- package/dist/types/current/util/object/mutableType.d.ts.map +1 -1
- package/dist/types/current/util/object/readonlyType.d.ts +1 -1
- package/dist/types/current/util/object/readonlyType.d.ts.map +1 -1
- package/dist/types/current/util/range/IntersectionRanges.d.ts +1 -1
- package/dist/types/current/util/range/IntersectionRanges.d.ts.map +1 -1
- package/dist/types/current/util/range/Ranges.js +1 -1
- package/dist/types/current/util/range/UnionRanges.d.ts +1 -1
- package/dist/types/current/util/range/UnionRanges.d.ts.map +1 -1
- package/dist/types/current/util/serialization/ParseError.js +1 -1
- package/dist/types/current/util/serialization/json.d.ts +1 -1
- package/dist/types/current/util/serialization/json.d.ts.map +1 -1
- package/dist/types/current/util/serialization/json.js +1 -1
- package/dist/types/current/util/serialization/primitives.d.ts +1 -1
- package/dist/types/current/util/serialization/primitives.d.ts.map +1 -1
- package/dist/types/current/util/serialization/stringifyForPrint.js +1 -1
- package/dist/types/current/util/string/StringReader.d.ts +2 -2
- package/dist/types/current/util/string/StringReader.d.ts.map +1 -1
- package/dist/types/current/util/string/StringReader.js +1 -1
- package/dist/types/current/util/string/string.d.ts +2 -2
- package/dist/types/current/util/string/string.d.ts.map +1 -1
- package/dist/types/current/util/string/string.js +1 -1
- package/dist/types/current/util/type.d.ts +13 -0
- package/dist/types/current/util/type.d.ts.map +1 -1
- package/dist/types/current/util/webm/parseWebm.d.ts +43 -0
- package/dist/types/current/util/webm/parseWebm.d.ts.map +1 -0
- package/dist/types/current/util/webm/parseWebm.js +166 -0
- package/dist/types/ts3.7/client/userAgent/UserAgentInfo.d.ts +1 -1
- package/dist/types/ts3.7/client/userAgent/parseUserAgent.d.ts +1 -1
- package/dist/types/ts3.7/client/userAgent/tokenizeUserAgent.d.ts +1 -1
- package/dist/types/ts3.7/core/disposable.d.ts +1 -1
- package/dist/types/ts3.7/error/MediaUnsupportedError.d.ts +1 -1
- package/dist/types/ts3.7/error/ValidationError.d.ts +1 -1
- package/dist/types/ts3.7/event/DomEventHost.d.ts +1 -1
- package/dist/types/ts3.7/logging/Logger.d.ts +2 -2
- package/dist/types/ts3.7/logging/VinylLogging.d.ts +2 -2
- package/dist/types/ts3.7/logging/getLogLevelFromSearch.d.ts +1 -1
- package/dist/types/ts3.7/logging/logTimer.d.ts +1 -1
- package/dist/types/ts3.7/network/RequesterImpl.d.ts +1 -1
- package/dist/types/ts3.7/network/RequesterImplEventMap.d.ts +1 -1
- package/dist/types/ts3.7/network/logging/networkLoggingHandler.d.ts +1 -1
- package/dist/types/ts3.7/network/metrics/NetworkMetricsControllerImpl.d.ts +1 -1
- package/dist/types/ts3.7/network/metrics/networkMetricsGlobal.d.ts +1 -1
- package/dist/types/ts3.7/network/network.d.ts +1 -1
- package/dist/types/ts3.7/network/requesterGlobal.d.ts +1 -1
- package/dist/types/ts3.7/persistence/PersistentItem.d.ts +1 -1
- package/dist/types/ts3.7/persistence/StoragePersistence.d.ts +1 -1
- package/dist/types/ts3.7/persistence/persistenceRef.d.ts +2 -2
- package/dist/types/ts3.7/util/async/TaskQueue.d.ts +2 -2
- package/dist/types/ts3.7/util/async/TimeoutController.d.ts +1 -1
- package/dist/types/ts3.7/util/async/abortUtils.d.ts +1 -1
- package/dist/types/ts3.7/util/async/poll.d.ts +34 -0
- package/dist/types/ts3.7/util/async/promise.d.ts +1 -1
- package/dist/types/ts3.7/util/browser/searchParams.d.ts +1 -1
- package/dist/types/ts3.7/util/buffer/buffer.d.ts +1 -1
- package/dist/types/ts3.7/util/collection/CacheMap.d.ts +12 -2
- package/dist/types/ts3.7/util/collection/LinkedList.d.ts +1 -4
- package/dist/types/ts3.7/util/collection/array.d.ts +2 -2
- package/dist/types/ts3.7/util/comparison/compare.d.ts +1 -1
- package/dist/types/ts3.7/util/config/ValueProvider.d.ts +1 -1
- package/dist/types/ts3.7/util/date/date.d.ts +1 -1
- package/dist/types/ts3.7/util/error/stack.d.ts +3 -3
- package/dist/types/ts3.7/util/fun/memoize.d.ts +1 -1
- package/dist/types/ts3.7/util/map/map.d.ts +14 -2
- package/dist/types/ts3.7/util/network/request.d.ts +1 -1
- package/dist/types/ts3.7/util/object/equalDeep.d.ts +1 -1
- package/dist/types/ts3.7/util/object/mergeDeep.d.ts +1 -1
- package/dist/types/ts3.7/util/object/mutableType.d.ts +1 -1
- package/dist/types/ts3.7/util/object/readonlyType.d.ts +1 -1
- package/dist/types/ts3.7/util/range/IntersectionRanges.d.ts +1 -1
- package/dist/types/ts3.7/util/range/UnionRanges.d.ts +1 -1
- package/dist/types/ts3.7/util/serialization/json.d.ts +1 -1
- package/dist/types/ts3.7/util/serialization/primitives.d.ts +1 -1
- package/dist/types/ts3.7/util/string/StringReader.d.ts +2 -2
- package/dist/types/ts3.7/util/string/string.d.ts +2 -2
- package/dist/types/ts3.7/util/type.d.ts +21 -0
- package/dist/types/ts3.7/util/webm/parseWebm.d.ts +43 -0
- package/dist/types/ts4.1/client/userAgent/UserAgentInfo.d.ts +1 -1
- package/dist/types/ts4.1/client/userAgent/parseUserAgent.d.ts +1 -1
- package/dist/types/ts4.1/client/userAgent/tokenizeUserAgent.d.ts +1 -1
- package/dist/types/ts4.1/core/disposable.d.ts +1 -1
- package/dist/types/ts4.1/error/MediaUnsupportedError.d.ts +1 -1
- package/dist/types/ts4.1/error/ValidationError.d.ts +1 -1
- package/dist/types/ts4.1/event/DomEventHost.d.ts +1 -1
- package/dist/types/ts4.1/logging/Logger.d.ts +2 -2
- package/dist/types/ts4.1/logging/VinylLogging.d.ts +2 -2
- package/dist/types/ts4.1/logging/getLogLevelFromSearch.d.ts +1 -1
- package/dist/types/ts4.1/logging/logTimer.d.ts +1 -1
- package/dist/types/ts4.1/network/RequesterImpl.d.ts +1 -1
- package/dist/types/ts4.1/network/RequesterImplEventMap.d.ts +1 -1
- package/dist/types/ts4.1/network/logging/networkLoggingHandler.d.ts +1 -1
- package/dist/types/ts4.1/network/metrics/NetworkMetricsControllerImpl.d.ts +1 -1
- package/dist/types/ts4.1/network/metrics/networkMetricsGlobal.d.ts +1 -1
- package/dist/types/ts4.1/network/network.d.ts +1 -1
- package/dist/types/ts4.1/network/requesterGlobal.d.ts +1 -1
- package/dist/types/ts4.1/persistence/PersistentItem.d.ts +1 -1
- package/dist/types/ts4.1/persistence/StoragePersistence.d.ts +1 -1
- package/dist/types/ts4.1/persistence/persistenceRef.d.ts +2 -2
- package/dist/types/ts4.1/util/async/TaskQueue.d.ts +2 -2
- package/dist/types/ts4.1/util/async/TimeoutController.d.ts +1 -1
- package/dist/types/ts4.1/util/async/abortUtils.d.ts +1 -1
- package/dist/types/ts4.1/util/async/poll.d.ts +34 -0
- package/dist/types/ts4.1/util/async/promise.d.ts +1 -1
- package/dist/types/ts4.1/util/browser/searchParams.d.ts +1 -1
- package/dist/types/ts4.1/util/buffer/buffer.d.ts +1 -1
- package/dist/types/ts4.1/util/collection/CacheMap.d.ts +12 -2
- package/dist/types/ts4.1/util/collection/LinkedList.d.ts +1 -4
- package/dist/types/ts4.1/util/collection/array.d.ts +2 -2
- package/dist/types/ts4.1/util/comparison/compare.d.ts +1 -1
- package/dist/types/ts4.1/util/config/ValueProvider.d.ts +1 -1
- package/dist/types/ts4.1/util/date/date.d.ts +1 -1
- package/dist/types/ts4.1/util/error/stack.d.ts +3 -3
- package/dist/types/ts4.1/util/fun/memoize.d.ts +1 -1
- package/dist/types/ts4.1/util/map/map.d.ts +14 -2
- package/dist/types/ts4.1/util/network/request.d.ts +1 -1
- package/dist/types/ts4.1/util/object/equalDeep.d.ts +1 -1
- package/dist/types/ts4.1/util/object/mergeDeep.d.ts +1 -1
- package/dist/types/ts4.1/util/object/mutableType.d.ts +1 -1
- package/dist/types/ts4.1/util/object/readonlyType.d.ts +1 -1
- package/dist/types/ts4.1/util/range/IntersectionRanges.d.ts +1 -1
- package/dist/types/ts4.1/util/range/UnionRanges.d.ts +1 -1
- package/dist/types/ts4.1/util/serialization/json.d.ts +1 -1
- package/dist/types/ts4.1/util/serialization/primitives.d.ts +1 -1
- package/dist/types/ts4.1/util/string/StringReader.d.ts +2 -2
- package/dist/types/ts4.1/util/string/string.d.ts +2 -2
- package/dist/types/ts4.1/util/type.d.ts +21 -0
- package/dist/types/ts4.1/util/webm/parseWebm.d.ts +43 -0
- package/dist/types/ts4.7/client/userAgent/UserAgentInfo.d.ts +1 -1
- package/dist/types/ts4.7/client/userAgent/parseUserAgent.d.ts +1 -1
- package/dist/types/ts4.7/client/userAgent/tokenizeUserAgent.d.ts +1 -1
- package/dist/types/ts4.7/core/disposable.d.ts +1 -1
- package/dist/types/ts4.7/error/MediaUnsupportedError.d.ts +1 -1
- package/dist/types/ts4.7/error/ValidationError.d.ts +1 -1
- package/dist/types/ts4.7/event/DomEventHost.d.ts +1 -1
- package/dist/types/ts4.7/logging/Logger.d.ts +2 -2
- package/dist/types/ts4.7/logging/VinylLogging.d.ts +2 -2
- package/dist/types/ts4.7/logging/getLogLevelFromSearch.d.ts +1 -1
- package/dist/types/ts4.7/logging/logTimer.d.ts +1 -1
- package/dist/types/ts4.7/network/RequesterImpl.d.ts +1 -1
- package/dist/types/ts4.7/network/RequesterImplEventMap.d.ts +1 -1
- package/dist/types/ts4.7/network/logging/networkLoggingHandler.d.ts +1 -1
- package/dist/types/ts4.7/network/metrics/NetworkMetricsControllerImpl.d.ts +1 -1
- package/dist/types/ts4.7/network/metrics/networkMetricsGlobal.d.ts +1 -1
- package/dist/types/ts4.7/network/network.d.ts +1 -1
- package/dist/types/ts4.7/network/requesterGlobal.d.ts +1 -1
- package/dist/types/ts4.7/persistence/PersistentItem.d.ts +1 -1
- package/dist/types/ts4.7/persistence/StoragePersistence.d.ts +1 -1
- package/dist/types/ts4.7/persistence/persistenceRef.d.ts +2 -2
- package/dist/types/ts4.7/util/async/TaskQueue.d.ts +2 -2
- package/dist/types/ts4.7/util/async/TimeoutController.d.ts +1 -1
- package/dist/types/ts4.7/util/async/abortUtils.d.ts +1 -1
- package/dist/types/ts4.7/util/async/poll.d.ts +34 -0
- package/dist/types/ts4.7/util/async/promise.d.ts +1 -1
- package/dist/types/ts4.7/util/browser/searchParams.d.ts +1 -1
- package/dist/types/ts4.7/util/buffer/buffer.d.ts +1 -1
- package/dist/types/ts4.7/util/collection/CacheMap.d.ts +12 -2
- package/dist/types/ts4.7/util/collection/LinkedList.d.ts +1 -4
- package/dist/types/ts4.7/util/collection/array.d.ts +2 -2
- package/dist/types/ts4.7/util/comparison/compare.d.ts +1 -1
- package/dist/types/ts4.7/util/config/ValueProvider.d.ts +1 -1
- package/dist/types/ts4.7/util/date/date.d.ts +1 -1
- package/dist/types/ts4.7/util/error/stack.d.ts +3 -3
- package/dist/types/ts4.7/util/fun/memoize.d.ts +1 -1
- package/dist/types/ts4.7/util/map/map.d.ts +14 -2
- package/dist/types/ts4.7/util/network/request.d.ts +1 -1
- package/dist/types/ts4.7/util/object/equalDeep.d.ts +1 -1
- package/dist/types/ts4.7/util/object/mergeDeep.d.ts +1 -1
- package/dist/types/ts4.7/util/object/mutableType.d.ts +1 -1
- package/dist/types/ts4.7/util/object/readonlyType.d.ts +1 -1
- package/dist/types/ts4.7/util/range/IntersectionRanges.d.ts +1 -1
- package/dist/types/ts4.7/util/range/UnionRanges.d.ts +1 -1
- package/dist/types/ts4.7/util/serialization/json.d.ts +1 -1
- package/dist/types/ts4.7/util/serialization/primitives.d.ts +1 -1
- package/dist/types/ts4.7/util/string/StringReader.d.ts +2 -2
- package/dist/types/ts4.7/util/string/string.d.ts +2 -2
- package/dist/types/ts4.7/util/type.d.ts +21 -0
- package/dist/types/ts4.7/util/webm/parseWebm.d.ts +43 -0
- package/dist/unit/types/current/tsconfig.tsbuildinfo +1 -0
- package/package.json +11 -12
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
export declare class MockAbortController implements AbortController {
|
|
2
2
|
signal: AbortSignal;
|
|
3
|
-
abort: import("
|
|
3
|
+
abort: import("../createSpyFactory").Spy2<(reason?: any) => void>;
|
|
4
4
|
}
|
|
5
5
|
export declare class MockAbortSignal implements AbortSignal {
|
|
6
6
|
aborted: boolean;
|
|
7
7
|
onabort: ((this: AbortSignal, ev: Event) => any) | null;
|
|
8
8
|
reason: any;
|
|
9
|
-
throwIfAborted: import("
|
|
10
|
-
addEventListener: import("
|
|
9
|
+
throwIfAborted: import("../createSpyFactory").Spy2<() => void>;
|
|
10
|
+
addEventListener: import("../createSpyFactory").Spy2<{
|
|
11
11
|
<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
12
12
|
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
13
13
|
}>;
|
|
14
|
-
removeEventListener: import("
|
|
14
|
+
removeEventListener: import("../createSpyFactory").Spy2<{
|
|
15
15
|
<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
16
16
|
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
17
17
|
}>;
|
|
18
|
-
dispatchEvent: import("
|
|
18
|
+
dispatchEvent: import("../createSpyFactory").Spy2<((event: Event) => boolean) & ((event: Event) => any)>;
|
|
19
19
|
}
|
|
20
20
|
export declare class MockAudioContext implements AudioContext {
|
|
21
21
|
baseLatency: number;
|
|
@@ -27,66 +27,66 @@ export declare class MockAudioContext implements AudioContext {
|
|
|
27
27
|
onstatechange: ((this: BaseAudioContext, ev: Event) => any) | null;
|
|
28
28
|
sampleRate: number;
|
|
29
29
|
state: AudioContextState;
|
|
30
|
-
close: import("
|
|
31
|
-
createMediaElementSource: import("
|
|
32
|
-
createMediaStreamDestination: import("
|
|
33
|
-
createMediaStreamSource: import("
|
|
34
|
-
getOutputTimestamp: import("
|
|
35
|
-
resume: import("
|
|
36
|
-
suspend: import("
|
|
37
|
-
addEventListener: import("
|
|
30
|
+
close: import("../createSpyFactory").Spy2<(() => Promise<void>) & (() => any)>;
|
|
31
|
+
createMediaElementSource: import("../createSpyFactory").Spy2<((mediaElement: HTMLMediaElement) => MediaElementAudioSourceNode) & ((mediaElement: HTMLMediaElement) => any)>;
|
|
32
|
+
createMediaStreamDestination: import("../createSpyFactory").Spy2<(() => MediaStreamAudioDestinationNode) & (() => any)>;
|
|
33
|
+
createMediaStreamSource: import("../createSpyFactory").Spy2<((mediaStream: MediaStream) => MediaStreamAudioSourceNode) & ((mediaStream: MediaStream) => any)>;
|
|
34
|
+
getOutputTimestamp: import("../createSpyFactory").Spy2<(() => AudioTimestamp) & (() => any)>;
|
|
35
|
+
resume: import("../createSpyFactory").Spy2<(() => Promise<void>) & (() => any)>;
|
|
36
|
+
suspend: import("../createSpyFactory").Spy2<(() => Promise<void>) & (() => any)>;
|
|
37
|
+
addEventListener: import("../createSpyFactory").Spy2<{
|
|
38
38
|
<K extends keyof BaseAudioContextEventMap>(type: K, listener: (this: AudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
39
39
|
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
40
40
|
}>;
|
|
41
|
-
removeEventListener: import("
|
|
41
|
+
removeEventListener: import("../createSpyFactory").Spy2<{
|
|
42
42
|
<K extends keyof BaseAudioContextEventMap>(type: K, listener: (this: AudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
43
43
|
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
44
44
|
}>;
|
|
45
|
-
createAnalyser: import("
|
|
46
|
-
createBiquadFilter: import("
|
|
47
|
-
createBuffer: import("
|
|
48
|
-
createBufferSource: import("
|
|
49
|
-
createChannelMerger: import("
|
|
50
|
-
createChannelSplitter: import("
|
|
51
|
-
createConstantSource: import("
|
|
52
|
-
createConvolver: import("
|
|
53
|
-
createDelay: import("
|
|
54
|
-
createDynamicsCompressor: import("
|
|
55
|
-
createGain: import("
|
|
56
|
-
createIIRFilter: import("
|
|
45
|
+
createAnalyser: import("../createSpyFactory").Spy2<(() => AnalyserNode) & (() => any)>;
|
|
46
|
+
createBiquadFilter: import("../createSpyFactory").Spy2<(() => BiquadFilterNode) & (() => any)>;
|
|
47
|
+
createBuffer: import("../createSpyFactory").Spy2<((numberOfChannels: number, length: number, sampleRate: number) => AudioBuffer) & ((numberOfChannels: number, length: number, sampleRate: number) => any)>;
|
|
48
|
+
createBufferSource: import("../createSpyFactory").Spy2<(() => AudioBufferSourceNode) & (() => any)>;
|
|
49
|
+
createChannelMerger: import("../createSpyFactory").Spy2<((numberOfInputs?: number) => ChannelMergerNode) & ((numberOfInputs?: number | undefined) => any)>;
|
|
50
|
+
createChannelSplitter: import("../createSpyFactory").Spy2<((numberOfOutputs?: number) => ChannelSplitterNode) & ((numberOfOutputs?: number | undefined) => any)>;
|
|
51
|
+
createConstantSource: import("../createSpyFactory").Spy2<(() => ConstantSourceNode) & (() => any)>;
|
|
52
|
+
createConvolver: import("../createSpyFactory").Spy2<(() => ConvolverNode) & (() => any)>;
|
|
53
|
+
createDelay: import("../createSpyFactory").Spy2<((maxDelayTime?: number) => DelayNode) & ((maxDelayTime?: number | undefined) => any)>;
|
|
54
|
+
createDynamicsCompressor: import("../createSpyFactory").Spy2<(() => DynamicsCompressorNode) & (() => any)>;
|
|
55
|
+
createGain: import("../createSpyFactory").Spy2<(() => GainNode) & (() => any)>;
|
|
56
|
+
createIIRFilter: import("../createSpyFactory").Spy2<{
|
|
57
57
|
(feedforward: number[], feedback: number[]): IIRFilterNode;
|
|
58
58
|
(feedforward: Iterable<number>, feedback: Iterable<number>): IIRFilterNode;
|
|
59
59
|
} & ((feedforward: Iterable<number>, feedback: Iterable<number>) => any)>;
|
|
60
|
-
createOscillator: import("
|
|
61
|
-
createPanner: import("
|
|
62
|
-
createPeriodicWave: import("
|
|
60
|
+
createOscillator: import("../createSpyFactory").Spy2<(() => OscillatorNode) & (() => any)>;
|
|
61
|
+
createPanner: import("../createSpyFactory").Spy2<(() => PannerNode) & (() => any)>;
|
|
62
|
+
createPeriodicWave: import("../createSpyFactory").Spy2<{
|
|
63
63
|
(real: number[] | Float32Array, imag: number[] | Float32Array, constraints?: PeriodicWaveConstraints): PeriodicWave;
|
|
64
64
|
(real: Iterable<number>, imag: Iterable<number>, constraints?: PeriodicWaveConstraints): PeriodicWave;
|
|
65
65
|
} & ((real: Iterable<number>, imag: Iterable<number>, constraints?: PeriodicWaveConstraints | undefined) => any)>;
|
|
66
|
-
createScriptProcessor: import("
|
|
67
|
-
createStereoPanner: import("
|
|
68
|
-
createWaveShaper: import("
|
|
69
|
-
decodeAudioData: import("
|
|
70
|
-
dispatchEvent: import("
|
|
66
|
+
createScriptProcessor: import("../createSpyFactory").Spy2<((bufferSize?: number, numberOfInputChannels?: number, numberOfOutputChannels?: number) => ScriptProcessorNode) & ((bufferSize?: number | undefined, numberOfInputChannels?: number | undefined, numberOfOutputChannels?: number | undefined) => any)>;
|
|
67
|
+
createStereoPanner: import("../createSpyFactory").Spy2<(() => StereoPannerNode) & (() => any)>;
|
|
68
|
+
createWaveShaper: import("../createSpyFactory").Spy2<(() => WaveShaperNode) & (() => any)>;
|
|
69
|
+
decodeAudioData: import("../createSpyFactory").Spy2<((audioData: ArrayBuffer, successCallback?: DecodeSuccessCallback | null, errorCallback?: DecodeErrorCallback | null) => Promise<AudioBuffer>) & ((audioData: ArrayBuffer, successCallback?: DecodeSuccessCallback | null | undefined, errorCallback?: DecodeErrorCallback | null | undefined) => any)>;
|
|
70
|
+
dispatchEvent: import("../createSpyFactory").Spy2<((event: Event) => boolean) & ((event: Event) => any)>;
|
|
71
71
|
}
|
|
72
72
|
export declare class MockCache implements Cache {
|
|
73
|
-
add: import("
|
|
74
|
-
addAll: import("
|
|
73
|
+
add: import("../createSpyFactory").Spy2<((request: RequestInfo | URL) => Promise<void>) & ((request: RequestInfo | URL) => any)>;
|
|
74
|
+
addAll: import("../createSpyFactory").Spy2<{
|
|
75
75
|
(requests: RequestInfo[]): Promise<void>;
|
|
76
76
|
(requests: Iterable<RequestInfo>): Promise<void>;
|
|
77
77
|
} & ((requests: Iterable<RequestInfo>) => any)>;
|
|
78
|
-
delete: import("
|
|
79
|
-
keys: import("
|
|
80
|
-
match: import("
|
|
81
|
-
matchAll: import("
|
|
82
|
-
put: import("
|
|
78
|
+
delete: import("../createSpyFactory").Spy2<((request: RequestInfo | URL, options?: CacheQueryOptions) => Promise<boolean>) & ((request: RequestInfo | URL, options?: CacheQueryOptions | undefined) => any)>;
|
|
79
|
+
keys: import("../createSpyFactory").Spy2<((request?: RequestInfo | URL, options?: CacheQueryOptions) => Promise<ReadonlyArray<Request>>) & ((request?: RequestInfo | URL | undefined, options?: CacheQueryOptions | undefined) => any)>;
|
|
80
|
+
match: import("../createSpyFactory").Spy2<((request: RequestInfo | URL, options?: CacheQueryOptions) => Promise<Response | undefined>) & ((request: RequestInfo | URL, options?: CacheQueryOptions | undefined) => any)>;
|
|
81
|
+
matchAll: import("../createSpyFactory").Spy2<((request?: RequestInfo | URL, options?: CacheQueryOptions) => Promise<ReadonlyArray<Response>>) & ((request?: RequestInfo | URL | undefined, options?: CacheQueryOptions | undefined) => any)>;
|
|
82
|
+
put: import("../createSpyFactory").Spy2<((request: RequestInfo | URL, response: Response) => Promise<void>) & ((request: RequestInfo | URL, response: Response) => any)>;
|
|
83
83
|
}
|
|
84
84
|
export declare class MockCacheStorage implements CacheStorage {
|
|
85
|
-
delete: import("
|
|
86
|
-
has: import("
|
|
87
|
-
keys: import("
|
|
88
|
-
match: import("
|
|
89
|
-
open: import("
|
|
85
|
+
delete: import("../createSpyFactory").Spy2<((cacheName: string) => Promise<boolean>) & ((cacheName: string) => any)>;
|
|
86
|
+
has: import("../createSpyFactory").Spy2<((cacheName: string) => Promise<boolean>) & ((cacheName: string) => any)>;
|
|
87
|
+
keys: import("../createSpyFactory").Spy2<(() => Promise<string[]>) & (() => any)>;
|
|
88
|
+
match: import("../createSpyFactory").Spy2<((request: RequestInfo | URL, options?: MultiCacheQueryOptions) => Promise<Response | undefined>) & ((request: RequestInfo | URL, options?: MultiCacheQueryOptions | undefined) => any)>;
|
|
89
|
+
open: import("../createSpyFactory").Spy2<((cacheName: string) => Promise<Cache>) & ((cacheName: string) => any)>;
|
|
90
90
|
}
|
|
91
91
|
export declare class MockCustomEvent<T = any> implements CustomEvent<T> {
|
|
92
92
|
detail: T;
|
|
@@ -107,12 +107,12 @@ export declare class MockCustomEvent<T = any> implements CustomEvent<T> {
|
|
|
107
107
|
CAPTURING_PHASE: 1;
|
|
108
108
|
AT_TARGET: 2;
|
|
109
109
|
BUBBLING_PHASE: 3;
|
|
110
|
-
initCustomEvent: import("
|
|
111
|
-
composedPath: import("
|
|
112
|
-
initEvent: import("
|
|
113
|
-
preventDefault: import("
|
|
114
|
-
stopImmediatePropagation: import("
|
|
115
|
-
stopPropagation: import("
|
|
110
|
+
initCustomEvent: import("../createSpyFactory").Spy2<(type: string, bubbles?: boolean, cancelable?: boolean, detail?: T | undefined) => void>;
|
|
111
|
+
composedPath: import("../createSpyFactory").Spy2<(() => EventTarget[]) & (() => any)>;
|
|
112
|
+
initEvent: import("../createSpyFactory").Spy2<(type: string, bubbles?: boolean, cancelable?: boolean) => void>;
|
|
113
|
+
preventDefault: import("../createSpyFactory").Spy2<() => void>;
|
|
114
|
+
stopImmediatePropagation: import("../createSpyFactory").Spy2<() => void>;
|
|
115
|
+
stopPropagation: import("../createSpyFactory").Spy2<() => void>;
|
|
116
116
|
}
|
|
117
117
|
export declare class MockDocument implements Document {
|
|
118
118
|
URL: string;
|
|
@@ -306,23 +306,23 @@ export declare class MockDocument implements Document {
|
|
|
306
306
|
children: HTMLCollection;
|
|
307
307
|
firstElementChild: Element | null;
|
|
308
308
|
lastElementChild: Element | null;
|
|
309
|
-
adoptNode: import("
|
|
310
|
-
captureEvents: import("
|
|
311
|
-
caretPositionFromPoint: import("
|
|
312
|
-
caretRangeFromPoint: import("
|
|
313
|
-
clear: import("
|
|
314
|
-
close: import("
|
|
315
|
-
createAttribute: import("
|
|
316
|
-
createAttributeNS: import("
|
|
317
|
-
createCDATASection: import("
|
|
318
|
-
createComment: import("
|
|
319
|
-
createDocumentFragment: import("
|
|
320
|
-
createElement: import("
|
|
309
|
+
adoptNode: import("../createSpyFactory").Spy2<(<T extends Node>(node: T) => T) & ((node: Node) => any)>;
|
|
310
|
+
captureEvents: import("../createSpyFactory").Spy2<() => void>;
|
|
311
|
+
caretPositionFromPoint: import("../createSpyFactory").Spy2<(x: number, y: number, options?: CaretPositionFromPointOptions) => CaretPosition | null>;
|
|
312
|
+
caretRangeFromPoint: import("../createSpyFactory").Spy2<(x: number, y: number) => Range | null>;
|
|
313
|
+
clear: import("../createSpyFactory").Spy2<() => void>;
|
|
314
|
+
close: import("../createSpyFactory").Spy2<() => void>;
|
|
315
|
+
createAttribute: import("../createSpyFactory").Spy2<((localName: string) => Attr) & ((localName: string) => any)>;
|
|
316
|
+
createAttributeNS: import("../createSpyFactory").Spy2<((namespace: string | null, qualifiedName: string) => Attr) & ((namespace: string | null, qualifiedName: string) => any)>;
|
|
317
|
+
createCDATASection: import("../createSpyFactory").Spy2<((data: string) => CDATASection) & ((data: string) => any)>;
|
|
318
|
+
createComment: import("../createSpyFactory").Spy2<((data: string) => Comment) & ((data: string) => any)>;
|
|
319
|
+
createDocumentFragment: import("../createSpyFactory").Spy2<(() => DocumentFragment) & (() => any)>;
|
|
320
|
+
createElement: import("../createSpyFactory").Spy2<{
|
|
321
321
|
<K extends keyof HTMLElementTagNameMap>(tagName: K, options?: ElementCreationOptions): HTMLElementTagNameMap[K];
|
|
322
322
|
<K extends keyof HTMLElementDeprecatedTagNameMap>(tagName: K, options?: ElementCreationOptions): HTMLElementDeprecatedTagNameMap[K];
|
|
323
323
|
(tagName: string, options?: ElementCreationOptions): HTMLElement;
|
|
324
324
|
} & ((tagName: string, options?: ElementCreationOptions | undefined) => any)>;
|
|
325
|
-
createElementNS: import("
|
|
325
|
+
createElementNS: import("../createSpyFactory").Spy2<{
|
|
326
326
|
(namespaceURI: "http://www.w3.org/1999/xhtml", qualifiedName: string): HTMLElement;
|
|
327
327
|
<K extends keyof SVGElementTagNameMap>(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: K): SVGElementTagNameMap[K];
|
|
328
328
|
(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: string): SVGElement;
|
|
@@ -331,7 +331,7 @@ export declare class MockDocument implements Document {
|
|
|
331
331
|
(namespaceURI: string | null, qualifiedName: string, options?: ElementCreationOptions): Element;
|
|
332
332
|
(namespace: string | null, qualifiedName: string, options?: string | ElementCreationOptions): Element;
|
|
333
333
|
} & ((namespace: string | null, qualifiedName: string, options?: string | ElementCreationOptions | undefined) => any)>;
|
|
334
|
-
createEvent: import("
|
|
334
|
+
createEvent: import("../createSpyFactory").Spy2<{
|
|
335
335
|
(eventInterface: "AnimationEvent"): AnimationEvent;
|
|
336
336
|
(eventInterface: "AnimationPlaybackEvent"): AnimationPlaybackEvent;
|
|
337
337
|
(eventInterface: "AudioProcessingEvent"): AudioProcessingEvent;
|
|
@@ -399,96 +399,96 @@ export declare class MockDocument implements Document {
|
|
|
399
399
|
(eventInterface: "WheelEvent"): WheelEvent;
|
|
400
400
|
(eventInterface: string): Event;
|
|
401
401
|
} & ((eventInterface: string) => any)>;
|
|
402
|
-
createNodeIterator: import("
|
|
403
|
-
createProcessingInstruction: import("
|
|
404
|
-
createRange: import("
|
|
405
|
-
createTextNode: import("
|
|
406
|
-
createTreeWalker: import("
|
|
407
|
-
execCommand: import("
|
|
408
|
-
exitFullscreen: import("
|
|
409
|
-
exitPictureInPicture: import("
|
|
410
|
-
exitPointerLock: import("
|
|
411
|
-
getElementById: import("
|
|
412
|
-
getElementsByClassName: import("
|
|
413
|
-
getElementsByName: import("
|
|
414
|
-
getElementsByTagName: import("
|
|
402
|
+
createNodeIterator: import("../createSpyFactory").Spy2<((root: Node, whatToShow?: number, filter?: NodeFilter | null) => NodeIterator) & ((root: Node, whatToShow?: number | undefined, filter?: NodeFilter | null | undefined) => any)>;
|
|
403
|
+
createProcessingInstruction: import("../createSpyFactory").Spy2<((target: string, data: string) => ProcessingInstruction) & ((target: string, data: string) => any)>;
|
|
404
|
+
createRange: import("../createSpyFactory").Spy2<(() => Range) & (() => any)>;
|
|
405
|
+
createTextNode: import("../createSpyFactory").Spy2<((data: string) => Text) & ((data: string) => any)>;
|
|
406
|
+
createTreeWalker: import("../createSpyFactory").Spy2<((root: Node, whatToShow?: number, filter?: NodeFilter | null) => TreeWalker) & ((root: Node, whatToShow?: number | undefined, filter?: NodeFilter | null | undefined) => any)>;
|
|
407
|
+
execCommand: import("../createSpyFactory").Spy2<((commandId: string, showUI?: boolean, value?: string) => boolean) & ((commandId: string, showUI?: boolean | undefined, value?: string | undefined) => any)>;
|
|
408
|
+
exitFullscreen: import("../createSpyFactory").Spy2<(() => Promise<void>) & (() => any)>;
|
|
409
|
+
exitPictureInPicture: import("../createSpyFactory").Spy2<(() => Promise<void>) & (() => any)>;
|
|
410
|
+
exitPointerLock: import("../createSpyFactory").Spy2<() => void>;
|
|
411
|
+
getElementById: import("../createSpyFactory").Spy2<(elementId: string) => HTMLElement | null>;
|
|
412
|
+
getElementsByClassName: import("../createSpyFactory").Spy2<((classNames: string) => HTMLCollectionOf<Element>) & ((classNames: string) => any)>;
|
|
413
|
+
getElementsByName: import("../createSpyFactory").Spy2<((elementName: string) => NodeListOf<HTMLElement>) & ((elementName: string) => any)>;
|
|
414
|
+
getElementsByTagName: import("../createSpyFactory").Spy2<{
|
|
415
415
|
<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
416
416
|
<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
417
417
|
<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
418
418
|
<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
419
419
|
(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
420
420
|
} & ((qualifiedName: string) => any)>;
|
|
421
|
-
getElementsByTagNameNS: import("
|
|
421
|
+
getElementsByTagNameNS: import("../createSpyFactory").Spy2<{
|
|
422
422
|
(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
423
423
|
(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
424
424
|
(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
425
425
|
(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
426
426
|
} & ((namespace: string | null, localName: string) => any)>;
|
|
427
|
-
getSelection: import("
|
|
428
|
-
hasFocus: import("
|
|
429
|
-
hasStorageAccess: import("
|
|
430
|
-
importNode: import("
|
|
431
|
-
open: import("
|
|
427
|
+
getSelection: import("../createSpyFactory").Spy2<() => Selection | null>;
|
|
428
|
+
hasFocus: import("../createSpyFactory").Spy2<(() => boolean) & (() => any)>;
|
|
429
|
+
hasStorageAccess: import("../createSpyFactory").Spy2<(() => Promise<boolean>) & (() => any)>;
|
|
430
|
+
importNode: import("../createSpyFactory").Spy2<(<T extends Node>(node: T, options?: boolean | ImportNodeOptions) => T) & ((node: Node, options?: boolean | ImportNodeOptions | undefined) => any)>;
|
|
431
|
+
open: import("../createSpyFactory").Spy2<{
|
|
432
432
|
(unused1?: string, unused2?: string): Document;
|
|
433
433
|
(url: string | URL, name: string, features: string): WindowProxy | null;
|
|
434
434
|
}>;
|
|
435
|
-
queryCommandEnabled: import("
|
|
436
|
-
queryCommandIndeterm: import("
|
|
437
|
-
queryCommandState: import("
|
|
438
|
-
queryCommandSupported: import("
|
|
439
|
-
queryCommandValue: import("
|
|
440
|
-
releaseEvents: import("
|
|
441
|
-
requestStorageAccess: import("
|
|
442
|
-
startViewTransition: import("
|
|
443
|
-
write: import("
|
|
444
|
-
writeln: import("
|
|
445
|
-
addEventListener: import("
|
|
435
|
+
queryCommandEnabled: import("../createSpyFactory").Spy2<((commandId: string) => boolean) & ((commandId: string) => any)>;
|
|
436
|
+
queryCommandIndeterm: import("../createSpyFactory").Spy2<((commandId: string) => boolean) & ((commandId: string) => any)>;
|
|
437
|
+
queryCommandState: import("../createSpyFactory").Spy2<((commandId: string) => boolean) & ((commandId: string) => any)>;
|
|
438
|
+
queryCommandSupported: import("../createSpyFactory").Spy2<((commandId: string) => boolean) & ((commandId: string) => any)>;
|
|
439
|
+
queryCommandValue: import("../createSpyFactory").Spy2<((commandId: string) => string) & ((commandId: string) => any)>;
|
|
440
|
+
releaseEvents: import("../createSpyFactory").Spy2<() => void>;
|
|
441
|
+
requestStorageAccess: import("../createSpyFactory").Spy2<(() => Promise<void>) & (() => any)>;
|
|
442
|
+
startViewTransition: import("../createSpyFactory").Spy2<((callbackOptions?: ViewTransitionUpdateCallback | StartViewTransitionOptions) => ViewTransition) & ((callbackOptions?: ViewTransitionUpdateCallback | StartViewTransitionOptions | undefined) => any)>;
|
|
443
|
+
write: import("../createSpyFactory").Spy2<(...text: string[]) => void>;
|
|
444
|
+
writeln: import("../createSpyFactory").Spy2<(...text: string[]) => void>;
|
|
445
|
+
addEventListener: import("../createSpyFactory").Spy2<{
|
|
446
446
|
<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
447
447
|
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
448
448
|
}>;
|
|
449
|
-
removeEventListener: import("
|
|
449
|
+
removeEventListener: import("../createSpyFactory").Spy2<{
|
|
450
450
|
<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
451
451
|
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
452
452
|
}>;
|
|
453
|
-
appendChild: import("
|
|
454
|
-
cloneNode: import("
|
|
455
|
-
compareDocumentPosition: import("
|
|
456
|
-
contains: import("
|
|
457
|
-
getRootNode: import("
|
|
458
|
-
hasChildNodes: import("
|
|
459
|
-
insertBefore: import("
|
|
460
|
-
isDefaultNamespace: import("
|
|
461
|
-
isEqualNode: import("
|
|
462
|
-
isSameNode: import("
|
|
463
|
-
lookupNamespaceURI: import("
|
|
464
|
-
lookupPrefix: import("
|
|
465
|
-
normalize: import("
|
|
466
|
-
removeChild: import("
|
|
467
|
-
replaceChild: import("
|
|
468
|
-
elementFromPoint: import("
|
|
469
|
-
elementsFromPoint: import("
|
|
470
|
-
getAnimations: import("
|
|
471
|
-
append: import("
|
|
472
|
-
prepend: import("
|
|
473
|
-
querySelector: import("
|
|
453
|
+
appendChild: import("../createSpyFactory").Spy2<(<T extends Node>(node: T) => T) & ((node: Node) => any)>;
|
|
454
|
+
cloneNode: import("../createSpyFactory").Spy2<((subtree?: boolean) => Node) & ((subtree?: boolean | undefined) => any)>;
|
|
455
|
+
compareDocumentPosition: import("../createSpyFactory").Spy2<((other: Node) => number) & ((other: Node) => any)>;
|
|
456
|
+
contains: import("../createSpyFactory").Spy2<((other: Node | null) => boolean) & ((other: Node | null) => any)>;
|
|
457
|
+
getRootNode: import("../createSpyFactory").Spy2<((options?: GetRootNodeOptions) => Node) & ((options?: GetRootNodeOptions | undefined) => any)>;
|
|
458
|
+
hasChildNodes: import("../createSpyFactory").Spy2<(() => boolean) & (() => any)>;
|
|
459
|
+
insertBefore: import("../createSpyFactory").Spy2<(<T extends Node>(node: T, child: Node | null) => T) & ((node: Node, child: Node | null) => any)>;
|
|
460
|
+
isDefaultNamespace: import("../createSpyFactory").Spy2<((namespace: string | null) => boolean) & ((namespace: string | null) => any)>;
|
|
461
|
+
isEqualNode: import("../createSpyFactory").Spy2<((otherNode: Node | null) => boolean) & ((otherNode: Node | null) => any)>;
|
|
462
|
+
isSameNode: import("../createSpyFactory").Spy2<((otherNode: Node | null) => boolean) & ((otherNode: Node | null) => any)>;
|
|
463
|
+
lookupNamespaceURI: import("../createSpyFactory").Spy2<(prefix: string | null) => string | null>;
|
|
464
|
+
lookupPrefix: import("../createSpyFactory").Spy2<(namespace: string | null) => string | null>;
|
|
465
|
+
normalize: import("../createSpyFactory").Spy2<() => void>;
|
|
466
|
+
removeChild: import("../createSpyFactory").Spy2<(<T extends Node>(child: T) => T) & ((child: Node) => any)>;
|
|
467
|
+
replaceChild: import("../createSpyFactory").Spy2<(<T extends Node>(node: Node, child: T) => T) & ((node: Node, child: Node) => any)>;
|
|
468
|
+
elementFromPoint: import("../createSpyFactory").Spy2<(x: number, y: number) => Element | null>;
|
|
469
|
+
elementsFromPoint: import("../createSpyFactory").Spy2<((x: number, y: number) => Element[]) & ((x: number, y: number) => any)>;
|
|
470
|
+
getAnimations: import("../createSpyFactory").Spy2<(() => Animation[]) & (() => any)>;
|
|
471
|
+
append: import("../createSpyFactory").Spy2<(...nodes: (Node | string)[]) => void>;
|
|
472
|
+
prepend: import("../createSpyFactory").Spy2<(...nodes: (Node | string)[]) => void>;
|
|
473
|
+
querySelector: import("../createSpyFactory").Spy2<{
|
|
474
474
|
<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
475
475
|
<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
476
476
|
<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
477
477
|
<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
478
478
|
<E extends Element = Element>(selectors: string): E | null;
|
|
479
479
|
}>;
|
|
480
|
-
querySelectorAll: import("
|
|
480
|
+
querySelectorAll: import("../createSpyFactory").Spy2<{
|
|
481
481
|
<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
482
482
|
<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
483
483
|
<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
484
484
|
<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
485
485
|
<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
486
486
|
} & ((selectors: string) => any)>;
|
|
487
|
-
replaceChildren: import("
|
|
488
|
-
createExpression: import("
|
|
489
|
-
createNSResolver: import("
|
|
490
|
-
evaluate: import("
|
|
491
|
-
dispatchEvent: import("
|
|
487
|
+
replaceChildren: import("../createSpyFactory").Spy2<(...nodes: (Node | string)[]) => void>;
|
|
488
|
+
createExpression: import("../createSpyFactory").Spy2<((expression: string, resolver?: XPathNSResolver | null) => XPathExpression) & ((expression: string, resolver?: XPathNSResolver | null | undefined) => any)>;
|
|
489
|
+
createNSResolver: import("../createSpyFactory").Spy2<((nodeResolver: Node) => Node) & ((nodeResolver: Node) => any)>;
|
|
490
|
+
evaluate: import("../createSpyFactory").Spy2<((expression: string, contextNode: Node, resolver?: XPathNSResolver | null, type?: number, result?: XPathResult | null) => XPathResult) & ((expression: string, contextNode: Node, resolver?: XPathNSResolver | null | undefined, type?: number | undefined, result?: XPathResult | null | undefined) => any)>;
|
|
491
|
+
dispatchEvent: import("../createSpyFactory").Spy2<((event: Event) => boolean) & ((event: Event) => any)>;
|
|
492
492
|
}
|
|
493
493
|
export declare class MockErrorEvent implements ErrorEvent {
|
|
494
494
|
colno: number;
|
|
@@ -513,11 +513,11 @@ export declare class MockErrorEvent implements ErrorEvent {
|
|
|
513
513
|
CAPTURING_PHASE: 1;
|
|
514
514
|
AT_TARGET: 2;
|
|
515
515
|
BUBBLING_PHASE: 3;
|
|
516
|
-
composedPath: import("
|
|
517
|
-
initEvent: import("
|
|
518
|
-
preventDefault: import("
|
|
519
|
-
stopImmediatePropagation: import("
|
|
520
|
-
stopPropagation: import("
|
|
516
|
+
composedPath: import("../createSpyFactory").Spy2<(() => EventTarget[]) & (() => any)>;
|
|
517
|
+
initEvent: import("../createSpyFactory").Spy2<(type: string, bubbles?: boolean, cancelable?: boolean) => void>;
|
|
518
|
+
preventDefault: import("../createSpyFactory").Spy2<() => void>;
|
|
519
|
+
stopImmediatePropagation: import("../createSpyFactory").Spy2<() => void>;
|
|
520
|
+
stopPropagation: import("../createSpyFactory").Spy2<() => void>;
|
|
521
521
|
}
|
|
522
522
|
export declare class MockEvent implements Event {
|
|
523
523
|
bubbles: boolean;
|
|
@@ -537,16 +537,16 @@ export declare class MockEvent implements Event {
|
|
|
537
537
|
CAPTURING_PHASE: 1;
|
|
538
538
|
AT_TARGET: 2;
|
|
539
539
|
BUBBLING_PHASE: 3;
|
|
540
|
-
composedPath: import("
|
|
541
|
-
initEvent: import("
|
|
542
|
-
preventDefault: import("
|
|
543
|
-
stopImmediatePropagation: import("
|
|
544
|
-
stopPropagation: import("
|
|
540
|
+
composedPath: import("../createSpyFactory").Spy2<(() => EventTarget[]) & (() => any)>;
|
|
541
|
+
initEvent: import("../createSpyFactory").Spy2<(type: string, bubbles?: boolean, cancelable?: boolean) => void>;
|
|
542
|
+
preventDefault: import("../createSpyFactory").Spy2<() => void>;
|
|
543
|
+
stopImmediatePropagation: import("../createSpyFactory").Spy2<() => void>;
|
|
544
|
+
stopPropagation: import("../createSpyFactory").Spy2<() => void>;
|
|
545
545
|
}
|
|
546
546
|
export declare class MockEventTarget implements EventTarget {
|
|
547
|
-
addEventListener: import("
|
|
548
|
-
dispatchEvent: import("
|
|
549
|
-
removeEventListener: import("
|
|
547
|
+
addEventListener: import("../createSpyFactory").Spy2<(type: string, callback: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean) => void>;
|
|
548
|
+
dispatchEvent: import("../createSpyFactory").Spy2<((event: Event) => boolean) & ((event: Event) => any)>;
|
|
549
|
+
removeEventListener: import("../createSpyFactory").Spy2<(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean) => void>;
|
|
550
550
|
}
|
|
551
551
|
export declare class MockHTMLAudioElement implements HTMLAudioElement {
|
|
552
552
|
autoplay: boolean;
|
|
@@ -831,134 +831,134 @@ export declare class MockHTMLAudioElement implements HTMLAudioElement {
|
|
|
831
831
|
firstElementChild: Element | null;
|
|
832
832
|
lastElementChild: Element | null;
|
|
833
833
|
assignedSlot: HTMLSlotElement | null;
|
|
834
|
-
addEventListener: import("
|
|
834
|
+
addEventListener: import("../createSpyFactory").Spy2<{
|
|
835
835
|
<K extends keyof HTMLMediaElementEventMap>(type: K, listener: (this: HTMLAudioElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
836
836
|
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
837
837
|
}>;
|
|
838
|
-
removeEventListener: import("
|
|
838
|
+
removeEventListener: import("../createSpyFactory").Spy2<{
|
|
839
839
|
<K extends keyof HTMLMediaElementEventMap>(type: K, listener: (this: HTMLAudioElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
840
840
|
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
841
841
|
}>;
|
|
842
|
-
addTextTrack: import("
|
|
843
|
-
canPlayType: import("
|
|
844
|
-
fastSeek: import("
|
|
845
|
-
load: import("
|
|
846
|
-
pause: import("
|
|
847
|
-
play: import("
|
|
848
|
-
setMediaKeys: import("
|
|
849
|
-
setSinkId: import("
|
|
850
|
-
attachInternals: import("
|
|
851
|
-
click: import("
|
|
852
|
-
hidePopover: import("
|
|
853
|
-
showPopover: import("
|
|
854
|
-
togglePopover: import("
|
|
855
|
-
attachShadow: import("
|
|
856
|
-
checkVisibility: import("
|
|
857
|
-
closest: import("
|
|
842
|
+
addTextTrack: import("../createSpyFactory").Spy2<((kind: TextTrackKind, label?: string, language?: string) => TextTrack) & ((kind: TextTrackKind, label?: string | undefined, language?: string | undefined) => any)>;
|
|
843
|
+
canPlayType: import("../createSpyFactory").Spy2<((type: string) => CanPlayTypeResult) & ((type: string) => any)>;
|
|
844
|
+
fastSeek: import("../createSpyFactory").Spy2<(time: number) => void>;
|
|
845
|
+
load: import("../createSpyFactory").Spy2<() => void>;
|
|
846
|
+
pause: import("../createSpyFactory").Spy2<() => void>;
|
|
847
|
+
play: import("../createSpyFactory").Spy2<(() => Promise<void>) & (() => any)>;
|
|
848
|
+
setMediaKeys: import("../createSpyFactory").Spy2<((mediaKeys: MediaKeys | null) => Promise<void>) & ((mediaKeys: MediaKeys | null) => any)>;
|
|
849
|
+
setSinkId: import("../createSpyFactory").Spy2<((sinkId: string) => Promise<void>) & ((sinkId: string) => any)>;
|
|
850
|
+
attachInternals: import("../createSpyFactory").Spy2<(() => ElementInternals) & (() => any)>;
|
|
851
|
+
click: import("../createSpyFactory").Spy2<() => void>;
|
|
852
|
+
hidePopover: import("../createSpyFactory").Spy2<() => void>;
|
|
853
|
+
showPopover: import("../createSpyFactory").Spy2<() => void>;
|
|
854
|
+
togglePopover: import("../createSpyFactory").Spy2<((options?: boolean) => boolean) & ((options?: boolean | undefined) => any)>;
|
|
855
|
+
attachShadow: import("../createSpyFactory").Spy2<((init: ShadowRootInit) => ShadowRoot) & ((init: ShadowRootInit) => any)>;
|
|
856
|
+
checkVisibility: import("../createSpyFactory").Spy2<((options?: CheckVisibilityOptions) => boolean) & ((options?: CheckVisibilityOptions | undefined) => any)>;
|
|
857
|
+
closest: import("../createSpyFactory").Spy2<{
|
|
858
858
|
<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
859
859
|
<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
860
860
|
<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
861
861
|
<E extends Element = Element>(selectors: string): E | null;
|
|
862
862
|
}>;
|
|
863
|
-
computedStyleMap: import("
|
|
864
|
-
getAttribute: import("
|
|
865
|
-
getAttributeNS: import("
|
|
866
|
-
getAttributeNames: import("
|
|
867
|
-
getAttributeNode: import("
|
|
868
|
-
getAttributeNodeNS: import("
|
|
869
|
-
getBoundingClientRect: import("
|
|
870
|
-
getClientRects: import("
|
|
871
|
-
getElementsByClassName: import("
|
|
872
|
-
getElementsByTagName: import("
|
|
863
|
+
computedStyleMap: import("../createSpyFactory").Spy2<(() => StylePropertyMapReadOnly) & (() => any)>;
|
|
864
|
+
getAttribute: import("../createSpyFactory").Spy2<(qualifiedName: string) => string | null>;
|
|
865
|
+
getAttributeNS: import("../createSpyFactory").Spy2<(namespace: string | null, localName: string) => string | null>;
|
|
866
|
+
getAttributeNames: import("../createSpyFactory").Spy2<(() => string[]) & (() => any)>;
|
|
867
|
+
getAttributeNode: import("../createSpyFactory").Spy2<(qualifiedName: string) => Attr | null>;
|
|
868
|
+
getAttributeNodeNS: import("../createSpyFactory").Spy2<(namespace: string | null, localName: string) => Attr | null>;
|
|
869
|
+
getBoundingClientRect: import("../createSpyFactory").Spy2<(() => DOMRect) & (() => any)>;
|
|
870
|
+
getClientRects: import("../createSpyFactory").Spy2<(() => DOMRectList) & (() => any)>;
|
|
871
|
+
getElementsByClassName: import("../createSpyFactory").Spy2<((classNames: string) => HTMLCollectionOf<Element>) & ((classNames: string) => any)>;
|
|
872
|
+
getElementsByTagName: import("../createSpyFactory").Spy2<{
|
|
873
873
|
<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
874
874
|
<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
875
875
|
<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
876
876
|
<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
877
877
|
(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
878
878
|
} & ((qualifiedName: string) => any)>;
|
|
879
|
-
getElementsByTagNameNS: import("
|
|
879
|
+
getElementsByTagNameNS: import("../createSpyFactory").Spy2<{
|
|
880
880
|
(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
881
881
|
(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
882
882
|
(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
883
883
|
(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
884
884
|
} & ((namespace: string | null, localName: string) => any)>;
|
|
885
|
-
getHTML: import("
|
|
886
|
-
hasAttribute: import("
|
|
887
|
-
hasAttributeNS: import("
|
|
888
|
-
hasAttributes: import("
|
|
889
|
-
hasPointerCapture: import("
|
|
890
|
-
insertAdjacentElement: import("
|
|
891
|
-
insertAdjacentHTML: import("
|
|
892
|
-
insertAdjacentText: import("
|
|
893
|
-
matches: import("
|
|
894
|
-
releasePointerCapture: import("
|
|
895
|
-
removeAttribute: import("
|
|
896
|
-
removeAttributeNS: import("
|
|
897
|
-
removeAttributeNode: import("
|
|
898
|
-
requestFullscreen: import("
|
|
899
|
-
requestPointerLock: import("
|
|
900
|
-
scroll: import("
|
|
885
|
+
getHTML: import("../createSpyFactory").Spy2<((options?: GetHTMLOptions) => string) & ((options?: GetHTMLOptions | undefined) => any)>;
|
|
886
|
+
hasAttribute: import("../createSpyFactory").Spy2<((qualifiedName: string) => boolean) & ((qualifiedName: string) => any)>;
|
|
887
|
+
hasAttributeNS: import("../createSpyFactory").Spy2<((namespace: string | null, localName: string) => boolean) & ((namespace: string | null, localName: string) => any)>;
|
|
888
|
+
hasAttributes: import("../createSpyFactory").Spy2<(() => boolean) & (() => any)>;
|
|
889
|
+
hasPointerCapture: import("../createSpyFactory").Spy2<((pointerId: number) => boolean) & ((pointerId: number) => any)>;
|
|
890
|
+
insertAdjacentElement: import("../createSpyFactory").Spy2<(where: InsertPosition, element: Element) => Element | null>;
|
|
891
|
+
insertAdjacentHTML: import("../createSpyFactory").Spy2<(position: InsertPosition, string: string) => void>;
|
|
892
|
+
insertAdjacentText: import("../createSpyFactory").Spy2<(where: InsertPosition, data: string) => void>;
|
|
893
|
+
matches: import("../createSpyFactory").Spy2<((selectors: string) => boolean) & ((selectors: string) => any)>;
|
|
894
|
+
releasePointerCapture: import("../createSpyFactory").Spy2<(pointerId: number) => void>;
|
|
895
|
+
removeAttribute: import("../createSpyFactory").Spy2<(qualifiedName: string) => void>;
|
|
896
|
+
removeAttributeNS: import("../createSpyFactory").Spy2<(namespace: string | null, localName: string) => void>;
|
|
897
|
+
removeAttributeNode: import("../createSpyFactory").Spy2<((attr: Attr) => Attr) & ((attr: Attr) => any)>;
|
|
898
|
+
requestFullscreen: import("../createSpyFactory").Spy2<((options?: FullscreenOptions) => Promise<void>) & ((options?: FullscreenOptions | undefined) => any)>;
|
|
899
|
+
requestPointerLock: import("../createSpyFactory").Spy2<((options?: PointerLockOptions) => Promise<void>) & ((options?: PointerLockOptions | undefined) => any)>;
|
|
900
|
+
scroll: import("../createSpyFactory").Spy2<{
|
|
901
901
|
(options?: ScrollToOptions): void;
|
|
902
902
|
(x: number, y: number): void;
|
|
903
903
|
}>;
|
|
904
|
-
scrollBy: import("
|
|
904
|
+
scrollBy: import("../createSpyFactory").Spy2<{
|
|
905
905
|
(options?: ScrollToOptions): void;
|
|
906
906
|
(x: number, y: number): void;
|
|
907
907
|
}>;
|
|
908
|
-
scrollIntoView: import("
|
|
909
|
-
scrollTo: import("
|
|
908
|
+
scrollIntoView: import("../createSpyFactory").Spy2<(arg?: boolean | ScrollIntoViewOptions) => void>;
|
|
909
|
+
scrollTo: import("../createSpyFactory").Spy2<{
|
|
910
910
|
(options?: ScrollToOptions): void;
|
|
911
911
|
(x: number, y: number): void;
|
|
912
912
|
}>;
|
|
913
|
-
setAttribute: import("
|
|
914
|
-
setAttributeNS: import("
|
|
915
|
-
setAttributeNode: import("
|
|
916
|
-
setAttributeNodeNS: import("
|
|
917
|
-
setHTMLUnsafe: import("
|
|
918
|
-
setPointerCapture: import("
|
|
919
|
-
toggleAttribute: import("
|
|
920
|
-
webkitMatchesSelector: import("
|
|
921
|
-
blur: import("
|
|
922
|
-
focus: import("
|
|
923
|
-
appendChild: import("
|
|
924
|
-
cloneNode: import("
|
|
925
|
-
compareDocumentPosition: import("
|
|
926
|
-
contains: import("
|
|
927
|
-
getRootNode: import("
|
|
928
|
-
hasChildNodes: import("
|
|
929
|
-
insertBefore: import("
|
|
930
|
-
isDefaultNamespace: import("
|
|
931
|
-
isEqualNode: import("
|
|
932
|
-
isSameNode: import("
|
|
933
|
-
lookupNamespaceURI: import("
|
|
934
|
-
lookupPrefix: import("
|
|
935
|
-
normalize: import("
|
|
936
|
-
removeChild: import("
|
|
937
|
-
replaceChild: import("
|
|
938
|
-
animate: import("
|
|
939
|
-
getAnimations: import("
|
|
940
|
-
after: import("
|
|
941
|
-
before: import("
|
|
942
|
-
remove: import("
|
|
943
|
-
replaceWith: import("
|
|
944
|
-
append: import("
|
|
945
|
-
prepend: import("
|
|
946
|
-
querySelector: import("
|
|
913
|
+
setAttribute: import("../createSpyFactory").Spy2<(qualifiedName: string, value: string) => void>;
|
|
914
|
+
setAttributeNS: import("../createSpyFactory").Spy2<(namespace: string | null, qualifiedName: string, value: string) => void>;
|
|
915
|
+
setAttributeNode: import("../createSpyFactory").Spy2<(attr: Attr) => Attr | null>;
|
|
916
|
+
setAttributeNodeNS: import("../createSpyFactory").Spy2<(attr: Attr) => Attr | null>;
|
|
917
|
+
setHTMLUnsafe: import("../createSpyFactory").Spy2<(html: string) => void>;
|
|
918
|
+
setPointerCapture: import("../createSpyFactory").Spy2<(pointerId: number) => void>;
|
|
919
|
+
toggleAttribute: import("../createSpyFactory").Spy2<((qualifiedName: string, force?: boolean) => boolean) & ((qualifiedName: string, force?: boolean | undefined) => any)>;
|
|
920
|
+
webkitMatchesSelector: import("../createSpyFactory").Spy2<((selectors: string) => boolean) & ((selectors: string) => any)>;
|
|
921
|
+
blur: import("../createSpyFactory").Spy2<() => void>;
|
|
922
|
+
focus: import("../createSpyFactory").Spy2<(options?: FocusOptions) => void>;
|
|
923
|
+
appendChild: import("../createSpyFactory").Spy2<(<T extends Node>(node: T) => T) & ((node: Node) => any)>;
|
|
924
|
+
cloneNode: import("../createSpyFactory").Spy2<((subtree?: boolean) => Node) & ((subtree?: boolean | undefined) => any)>;
|
|
925
|
+
compareDocumentPosition: import("../createSpyFactory").Spy2<((other: Node) => number) & ((other: Node) => any)>;
|
|
926
|
+
contains: import("../createSpyFactory").Spy2<((other: Node | null) => boolean) & ((other: Node | null) => any)>;
|
|
927
|
+
getRootNode: import("../createSpyFactory").Spy2<((options?: GetRootNodeOptions) => Node) & ((options?: GetRootNodeOptions | undefined) => any)>;
|
|
928
|
+
hasChildNodes: import("../createSpyFactory").Spy2<(() => boolean) & (() => any)>;
|
|
929
|
+
insertBefore: import("../createSpyFactory").Spy2<(<T extends Node>(node: T, child: Node | null) => T) & ((node: Node, child: Node | null) => any)>;
|
|
930
|
+
isDefaultNamespace: import("../createSpyFactory").Spy2<((namespace: string | null) => boolean) & ((namespace: string | null) => any)>;
|
|
931
|
+
isEqualNode: import("../createSpyFactory").Spy2<((otherNode: Node | null) => boolean) & ((otherNode: Node | null) => any)>;
|
|
932
|
+
isSameNode: import("../createSpyFactory").Spy2<((otherNode: Node | null) => boolean) & ((otherNode: Node | null) => any)>;
|
|
933
|
+
lookupNamespaceURI: import("../createSpyFactory").Spy2<(prefix: string | null) => string | null>;
|
|
934
|
+
lookupPrefix: import("../createSpyFactory").Spy2<(namespace: string | null) => string | null>;
|
|
935
|
+
normalize: import("../createSpyFactory").Spy2<() => void>;
|
|
936
|
+
removeChild: import("../createSpyFactory").Spy2<(<T extends Node>(child: T) => T) & ((child: Node) => any)>;
|
|
937
|
+
replaceChild: import("../createSpyFactory").Spy2<(<T extends Node>(node: Node, child: T) => T) & ((node: Node, child: Node) => any)>;
|
|
938
|
+
animate: import("../createSpyFactory").Spy2<((keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions) => Animation) & ((keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => any)>;
|
|
939
|
+
getAnimations: import("../createSpyFactory").Spy2<((options?: GetAnimationsOptions) => Animation[]) & ((options?: GetAnimationsOptions | undefined) => any)>;
|
|
940
|
+
after: import("../createSpyFactory").Spy2<(...nodes: (Node | string)[]) => void>;
|
|
941
|
+
before: import("../createSpyFactory").Spy2<(...nodes: (Node | string)[]) => void>;
|
|
942
|
+
remove: import("../createSpyFactory").Spy2<() => void>;
|
|
943
|
+
replaceWith: import("../createSpyFactory").Spy2<(...nodes: (Node | string)[]) => void>;
|
|
944
|
+
append: import("../createSpyFactory").Spy2<(...nodes: (Node | string)[]) => void>;
|
|
945
|
+
prepend: import("../createSpyFactory").Spy2<(...nodes: (Node | string)[]) => void>;
|
|
946
|
+
querySelector: import("../createSpyFactory").Spy2<{
|
|
947
947
|
<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
948
948
|
<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
949
949
|
<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
950
950
|
<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
951
951
|
<E extends Element = Element>(selectors: string): E | null;
|
|
952
952
|
}>;
|
|
953
|
-
querySelectorAll: import("
|
|
953
|
+
querySelectorAll: import("../createSpyFactory").Spy2<{
|
|
954
954
|
<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
955
955
|
<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
956
956
|
<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
957
957
|
<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
958
958
|
<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
959
959
|
} & ((selectors: string) => any)>;
|
|
960
|
-
replaceChildren: import("
|
|
961
|
-
dispatchEvent: import("
|
|
960
|
+
replaceChildren: import("../createSpyFactory").Spy2<(...nodes: (Node | string)[]) => void>;
|
|
961
|
+
dispatchEvent: import("../createSpyFactory").Spy2<((event: Event) => boolean) & ((event: Event) => any)>;
|
|
962
962
|
}
|
|
963
963
|
export declare class MockHTMLDivElement implements HTMLDivElement {
|
|
964
964
|
align: string;
|
|
@@ -1203,126 +1203,126 @@ export declare class MockHTMLDivElement implements HTMLDivElement {
|
|
|
1203
1203
|
firstElementChild: Element | null;
|
|
1204
1204
|
lastElementChild: Element | null;
|
|
1205
1205
|
assignedSlot: HTMLSlotElement | null;
|
|
1206
|
-
addEventListener: import("
|
|
1206
|
+
addEventListener: import("../createSpyFactory").Spy2<{
|
|
1207
1207
|
<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDivElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1208
1208
|
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1209
1209
|
}>;
|
|
1210
|
-
removeEventListener: import("
|
|
1210
|
+
removeEventListener: import("../createSpyFactory").Spy2<{
|
|
1211
1211
|
<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDivElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1212
1212
|
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1213
1213
|
}>;
|
|
1214
|
-
attachInternals: import("
|
|
1215
|
-
click: import("
|
|
1216
|
-
hidePopover: import("
|
|
1217
|
-
showPopover: import("
|
|
1218
|
-
togglePopover: import("
|
|
1219
|
-
attachShadow: import("
|
|
1220
|
-
checkVisibility: import("
|
|
1221
|
-
closest: import("
|
|
1214
|
+
attachInternals: import("../createSpyFactory").Spy2<(() => ElementInternals) & (() => any)>;
|
|
1215
|
+
click: import("../createSpyFactory").Spy2<() => void>;
|
|
1216
|
+
hidePopover: import("../createSpyFactory").Spy2<() => void>;
|
|
1217
|
+
showPopover: import("../createSpyFactory").Spy2<() => void>;
|
|
1218
|
+
togglePopover: import("../createSpyFactory").Spy2<((options?: boolean) => boolean) & ((options?: boolean | undefined) => any)>;
|
|
1219
|
+
attachShadow: import("../createSpyFactory").Spy2<((init: ShadowRootInit) => ShadowRoot) & ((init: ShadowRootInit) => any)>;
|
|
1220
|
+
checkVisibility: import("../createSpyFactory").Spy2<((options?: CheckVisibilityOptions) => boolean) & ((options?: CheckVisibilityOptions | undefined) => any)>;
|
|
1221
|
+
closest: import("../createSpyFactory").Spy2<{
|
|
1222
1222
|
<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
1223
1223
|
<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
1224
1224
|
<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
1225
1225
|
<E extends Element = Element>(selectors: string): E | null;
|
|
1226
1226
|
}>;
|
|
1227
|
-
computedStyleMap: import("
|
|
1228
|
-
getAttribute: import("
|
|
1229
|
-
getAttributeNS: import("
|
|
1230
|
-
getAttributeNames: import("
|
|
1231
|
-
getAttributeNode: import("
|
|
1232
|
-
getAttributeNodeNS: import("
|
|
1233
|
-
getBoundingClientRect: import("
|
|
1234
|
-
getClientRects: import("
|
|
1235
|
-
getElementsByClassName: import("
|
|
1236
|
-
getElementsByTagName: import("
|
|
1227
|
+
computedStyleMap: import("../createSpyFactory").Spy2<(() => StylePropertyMapReadOnly) & (() => any)>;
|
|
1228
|
+
getAttribute: import("../createSpyFactory").Spy2<(qualifiedName: string) => string | null>;
|
|
1229
|
+
getAttributeNS: import("../createSpyFactory").Spy2<(namespace: string | null, localName: string) => string | null>;
|
|
1230
|
+
getAttributeNames: import("../createSpyFactory").Spy2<(() => string[]) & (() => any)>;
|
|
1231
|
+
getAttributeNode: import("../createSpyFactory").Spy2<(qualifiedName: string) => Attr | null>;
|
|
1232
|
+
getAttributeNodeNS: import("../createSpyFactory").Spy2<(namespace: string | null, localName: string) => Attr | null>;
|
|
1233
|
+
getBoundingClientRect: import("../createSpyFactory").Spy2<(() => DOMRect) & (() => any)>;
|
|
1234
|
+
getClientRects: import("../createSpyFactory").Spy2<(() => DOMRectList) & (() => any)>;
|
|
1235
|
+
getElementsByClassName: import("../createSpyFactory").Spy2<((classNames: string) => HTMLCollectionOf<Element>) & ((classNames: string) => any)>;
|
|
1236
|
+
getElementsByTagName: import("../createSpyFactory").Spy2<{
|
|
1237
1237
|
<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
1238
1238
|
<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
1239
1239
|
<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
1240
1240
|
<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
1241
1241
|
(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
1242
1242
|
} & ((qualifiedName: string) => any)>;
|
|
1243
|
-
getElementsByTagNameNS: import("
|
|
1243
|
+
getElementsByTagNameNS: import("../createSpyFactory").Spy2<{
|
|
1244
1244
|
(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
1245
1245
|
(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
1246
1246
|
(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
1247
1247
|
(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
1248
1248
|
} & ((namespace: string | null, localName: string) => any)>;
|
|
1249
|
-
getHTML: import("
|
|
1250
|
-
hasAttribute: import("
|
|
1251
|
-
hasAttributeNS: import("
|
|
1252
|
-
hasAttributes: import("
|
|
1253
|
-
hasPointerCapture: import("
|
|
1254
|
-
insertAdjacentElement: import("
|
|
1255
|
-
insertAdjacentHTML: import("
|
|
1256
|
-
insertAdjacentText: import("
|
|
1257
|
-
matches: import("
|
|
1258
|
-
releasePointerCapture: import("
|
|
1259
|
-
removeAttribute: import("
|
|
1260
|
-
removeAttributeNS: import("
|
|
1261
|
-
removeAttributeNode: import("
|
|
1262
|
-
requestFullscreen: import("
|
|
1263
|
-
requestPointerLock: import("
|
|
1264
|
-
scroll: import("
|
|
1249
|
+
getHTML: import("../createSpyFactory").Spy2<((options?: GetHTMLOptions) => string) & ((options?: GetHTMLOptions | undefined) => any)>;
|
|
1250
|
+
hasAttribute: import("../createSpyFactory").Spy2<((qualifiedName: string) => boolean) & ((qualifiedName: string) => any)>;
|
|
1251
|
+
hasAttributeNS: import("../createSpyFactory").Spy2<((namespace: string | null, localName: string) => boolean) & ((namespace: string | null, localName: string) => any)>;
|
|
1252
|
+
hasAttributes: import("../createSpyFactory").Spy2<(() => boolean) & (() => any)>;
|
|
1253
|
+
hasPointerCapture: import("../createSpyFactory").Spy2<((pointerId: number) => boolean) & ((pointerId: number) => any)>;
|
|
1254
|
+
insertAdjacentElement: import("../createSpyFactory").Spy2<(where: InsertPosition, element: Element) => Element | null>;
|
|
1255
|
+
insertAdjacentHTML: import("../createSpyFactory").Spy2<(position: InsertPosition, string: string) => void>;
|
|
1256
|
+
insertAdjacentText: import("../createSpyFactory").Spy2<(where: InsertPosition, data: string) => void>;
|
|
1257
|
+
matches: import("../createSpyFactory").Spy2<((selectors: string) => boolean) & ((selectors: string) => any)>;
|
|
1258
|
+
releasePointerCapture: import("../createSpyFactory").Spy2<(pointerId: number) => void>;
|
|
1259
|
+
removeAttribute: import("../createSpyFactory").Spy2<(qualifiedName: string) => void>;
|
|
1260
|
+
removeAttributeNS: import("../createSpyFactory").Spy2<(namespace: string | null, localName: string) => void>;
|
|
1261
|
+
removeAttributeNode: import("../createSpyFactory").Spy2<((attr: Attr) => Attr) & ((attr: Attr) => any)>;
|
|
1262
|
+
requestFullscreen: import("../createSpyFactory").Spy2<((options?: FullscreenOptions) => Promise<void>) & ((options?: FullscreenOptions | undefined) => any)>;
|
|
1263
|
+
requestPointerLock: import("../createSpyFactory").Spy2<((options?: PointerLockOptions) => Promise<void>) & ((options?: PointerLockOptions | undefined) => any)>;
|
|
1264
|
+
scroll: import("../createSpyFactory").Spy2<{
|
|
1265
1265
|
(options?: ScrollToOptions): void;
|
|
1266
1266
|
(x: number, y: number): void;
|
|
1267
1267
|
}>;
|
|
1268
|
-
scrollBy: import("
|
|
1268
|
+
scrollBy: import("../createSpyFactory").Spy2<{
|
|
1269
1269
|
(options?: ScrollToOptions): void;
|
|
1270
1270
|
(x: number, y: number): void;
|
|
1271
1271
|
}>;
|
|
1272
|
-
scrollIntoView: import("
|
|
1273
|
-
scrollTo: import("
|
|
1272
|
+
scrollIntoView: import("../createSpyFactory").Spy2<(arg?: boolean | ScrollIntoViewOptions) => void>;
|
|
1273
|
+
scrollTo: import("../createSpyFactory").Spy2<{
|
|
1274
1274
|
(options?: ScrollToOptions): void;
|
|
1275
1275
|
(x: number, y: number): void;
|
|
1276
1276
|
}>;
|
|
1277
|
-
setAttribute: import("
|
|
1278
|
-
setAttributeNS: import("
|
|
1279
|
-
setAttributeNode: import("
|
|
1280
|
-
setAttributeNodeNS: import("
|
|
1281
|
-
setHTMLUnsafe: import("
|
|
1282
|
-
setPointerCapture: import("
|
|
1283
|
-
toggleAttribute: import("
|
|
1284
|
-
webkitMatchesSelector: import("
|
|
1285
|
-
blur: import("
|
|
1286
|
-
focus: import("
|
|
1287
|
-
appendChild: import("
|
|
1288
|
-
cloneNode: import("
|
|
1289
|
-
compareDocumentPosition: import("
|
|
1290
|
-
contains: import("
|
|
1291
|
-
getRootNode: import("
|
|
1292
|
-
hasChildNodes: import("
|
|
1293
|
-
insertBefore: import("
|
|
1294
|
-
isDefaultNamespace: import("
|
|
1295
|
-
isEqualNode: import("
|
|
1296
|
-
isSameNode: import("
|
|
1297
|
-
lookupNamespaceURI: import("
|
|
1298
|
-
lookupPrefix: import("
|
|
1299
|
-
normalize: import("
|
|
1300
|
-
removeChild: import("
|
|
1301
|
-
replaceChild: import("
|
|
1302
|
-
animate: import("
|
|
1303
|
-
getAnimations: import("
|
|
1304
|
-
after: import("
|
|
1305
|
-
before: import("
|
|
1306
|
-
remove: import("
|
|
1307
|
-
replaceWith: import("
|
|
1308
|
-
append: import("
|
|
1309
|
-
prepend: import("
|
|
1310
|
-
querySelector: import("
|
|
1277
|
+
setAttribute: import("../createSpyFactory").Spy2<(qualifiedName: string, value: string) => void>;
|
|
1278
|
+
setAttributeNS: import("../createSpyFactory").Spy2<(namespace: string | null, qualifiedName: string, value: string) => void>;
|
|
1279
|
+
setAttributeNode: import("../createSpyFactory").Spy2<(attr: Attr) => Attr | null>;
|
|
1280
|
+
setAttributeNodeNS: import("../createSpyFactory").Spy2<(attr: Attr) => Attr | null>;
|
|
1281
|
+
setHTMLUnsafe: import("../createSpyFactory").Spy2<(html: string) => void>;
|
|
1282
|
+
setPointerCapture: import("../createSpyFactory").Spy2<(pointerId: number) => void>;
|
|
1283
|
+
toggleAttribute: import("../createSpyFactory").Spy2<((qualifiedName: string, force?: boolean) => boolean) & ((qualifiedName: string, force?: boolean | undefined) => any)>;
|
|
1284
|
+
webkitMatchesSelector: import("../createSpyFactory").Spy2<((selectors: string) => boolean) & ((selectors: string) => any)>;
|
|
1285
|
+
blur: import("../createSpyFactory").Spy2<() => void>;
|
|
1286
|
+
focus: import("../createSpyFactory").Spy2<(options?: FocusOptions) => void>;
|
|
1287
|
+
appendChild: import("../createSpyFactory").Spy2<(<T extends Node>(node: T) => T) & ((node: Node) => any)>;
|
|
1288
|
+
cloneNode: import("../createSpyFactory").Spy2<((subtree?: boolean) => Node) & ((subtree?: boolean | undefined) => any)>;
|
|
1289
|
+
compareDocumentPosition: import("../createSpyFactory").Spy2<((other: Node) => number) & ((other: Node) => any)>;
|
|
1290
|
+
contains: import("../createSpyFactory").Spy2<((other: Node | null) => boolean) & ((other: Node | null) => any)>;
|
|
1291
|
+
getRootNode: import("../createSpyFactory").Spy2<((options?: GetRootNodeOptions) => Node) & ((options?: GetRootNodeOptions | undefined) => any)>;
|
|
1292
|
+
hasChildNodes: import("../createSpyFactory").Spy2<(() => boolean) & (() => any)>;
|
|
1293
|
+
insertBefore: import("../createSpyFactory").Spy2<(<T extends Node>(node: T, child: Node | null) => T) & ((node: Node, child: Node | null) => any)>;
|
|
1294
|
+
isDefaultNamespace: import("../createSpyFactory").Spy2<((namespace: string | null) => boolean) & ((namespace: string | null) => any)>;
|
|
1295
|
+
isEqualNode: import("../createSpyFactory").Spy2<((otherNode: Node | null) => boolean) & ((otherNode: Node | null) => any)>;
|
|
1296
|
+
isSameNode: import("../createSpyFactory").Spy2<((otherNode: Node | null) => boolean) & ((otherNode: Node | null) => any)>;
|
|
1297
|
+
lookupNamespaceURI: import("../createSpyFactory").Spy2<(prefix: string | null) => string | null>;
|
|
1298
|
+
lookupPrefix: import("../createSpyFactory").Spy2<(namespace: string | null) => string | null>;
|
|
1299
|
+
normalize: import("../createSpyFactory").Spy2<() => void>;
|
|
1300
|
+
removeChild: import("../createSpyFactory").Spy2<(<T extends Node>(child: T) => T) & ((child: Node) => any)>;
|
|
1301
|
+
replaceChild: import("../createSpyFactory").Spy2<(<T extends Node>(node: Node, child: T) => T) & ((node: Node, child: Node) => any)>;
|
|
1302
|
+
animate: import("../createSpyFactory").Spy2<((keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions) => Animation) & ((keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => any)>;
|
|
1303
|
+
getAnimations: import("../createSpyFactory").Spy2<((options?: GetAnimationsOptions) => Animation[]) & ((options?: GetAnimationsOptions | undefined) => any)>;
|
|
1304
|
+
after: import("../createSpyFactory").Spy2<(...nodes: (Node | string)[]) => void>;
|
|
1305
|
+
before: import("../createSpyFactory").Spy2<(...nodes: (Node | string)[]) => void>;
|
|
1306
|
+
remove: import("../createSpyFactory").Spy2<() => void>;
|
|
1307
|
+
replaceWith: import("../createSpyFactory").Spy2<(...nodes: (Node | string)[]) => void>;
|
|
1308
|
+
append: import("../createSpyFactory").Spy2<(...nodes: (Node | string)[]) => void>;
|
|
1309
|
+
prepend: import("../createSpyFactory").Spy2<(...nodes: (Node | string)[]) => void>;
|
|
1310
|
+
querySelector: import("../createSpyFactory").Spy2<{
|
|
1311
1311
|
<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
1312
1312
|
<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
1313
1313
|
<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
1314
1314
|
<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
1315
1315
|
<E extends Element = Element>(selectors: string): E | null;
|
|
1316
1316
|
}>;
|
|
1317
|
-
querySelectorAll: import("
|
|
1317
|
+
querySelectorAll: import("../createSpyFactory").Spy2<{
|
|
1318
1318
|
<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
1319
1319
|
<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
1320
1320
|
<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
1321
1321
|
<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
1322
1322
|
<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
1323
1323
|
} & ((selectors: string) => any)>;
|
|
1324
|
-
replaceChildren: import("
|
|
1325
|
-
dispatchEvent: import("
|
|
1324
|
+
replaceChildren: import("../createSpyFactory").Spy2<(...nodes: (Node | string)[]) => void>;
|
|
1325
|
+
dispatchEvent: import("../createSpyFactory").Spy2<((event: Event) => boolean) & ((event: Event) => any)>;
|
|
1326
1326
|
}
|
|
1327
1327
|
export declare class MockHTMLMediaElement implements HTMLMediaElement {
|
|
1328
1328
|
autoplay: boolean;
|
|
@@ -1607,134 +1607,134 @@ export declare class MockHTMLMediaElement implements HTMLMediaElement {
|
|
|
1607
1607
|
firstElementChild: Element | null;
|
|
1608
1608
|
lastElementChild: Element | null;
|
|
1609
1609
|
assignedSlot: HTMLSlotElement | null;
|
|
1610
|
-
addTextTrack: import("
|
|
1611
|
-
canPlayType: import("
|
|
1612
|
-
fastSeek: import("
|
|
1613
|
-
load: import("
|
|
1614
|
-
pause: import("
|
|
1615
|
-
play: import("
|
|
1616
|
-
setMediaKeys: import("
|
|
1617
|
-
setSinkId: import("
|
|
1618
|
-
addEventListener: import("
|
|
1610
|
+
addTextTrack: import("../createSpyFactory").Spy2<((kind: TextTrackKind, label?: string, language?: string) => TextTrack) & ((kind: TextTrackKind, label?: string | undefined, language?: string | undefined) => any)>;
|
|
1611
|
+
canPlayType: import("../createSpyFactory").Spy2<((type: string) => CanPlayTypeResult) & ((type: string) => any)>;
|
|
1612
|
+
fastSeek: import("../createSpyFactory").Spy2<(time: number) => void>;
|
|
1613
|
+
load: import("../createSpyFactory").Spy2<() => void>;
|
|
1614
|
+
pause: import("../createSpyFactory").Spy2<() => void>;
|
|
1615
|
+
play: import("../createSpyFactory").Spy2<(() => Promise<void>) & (() => any)>;
|
|
1616
|
+
setMediaKeys: import("../createSpyFactory").Spy2<((mediaKeys: MediaKeys | null) => Promise<void>) & ((mediaKeys: MediaKeys | null) => any)>;
|
|
1617
|
+
setSinkId: import("../createSpyFactory").Spy2<((sinkId: string) => Promise<void>) & ((sinkId: string) => any)>;
|
|
1618
|
+
addEventListener: import("../createSpyFactory").Spy2<{
|
|
1619
1619
|
<K extends keyof HTMLMediaElementEventMap>(type: K, listener: (this: HTMLMediaElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1620
1620
|
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1621
1621
|
}>;
|
|
1622
|
-
removeEventListener: import("
|
|
1622
|
+
removeEventListener: import("../createSpyFactory").Spy2<{
|
|
1623
1623
|
<K extends keyof HTMLMediaElementEventMap>(type: K, listener: (this: HTMLMediaElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1624
1624
|
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1625
1625
|
}>;
|
|
1626
|
-
attachInternals: import("
|
|
1627
|
-
click: import("
|
|
1628
|
-
hidePopover: import("
|
|
1629
|
-
showPopover: import("
|
|
1630
|
-
togglePopover: import("
|
|
1631
|
-
attachShadow: import("
|
|
1632
|
-
checkVisibility: import("
|
|
1633
|
-
closest: import("
|
|
1626
|
+
attachInternals: import("../createSpyFactory").Spy2<(() => ElementInternals) & (() => any)>;
|
|
1627
|
+
click: import("../createSpyFactory").Spy2<() => void>;
|
|
1628
|
+
hidePopover: import("../createSpyFactory").Spy2<() => void>;
|
|
1629
|
+
showPopover: import("../createSpyFactory").Spy2<() => void>;
|
|
1630
|
+
togglePopover: import("../createSpyFactory").Spy2<((options?: boolean) => boolean) & ((options?: boolean | undefined) => any)>;
|
|
1631
|
+
attachShadow: import("../createSpyFactory").Spy2<((init: ShadowRootInit) => ShadowRoot) & ((init: ShadowRootInit) => any)>;
|
|
1632
|
+
checkVisibility: import("../createSpyFactory").Spy2<((options?: CheckVisibilityOptions) => boolean) & ((options?: CheckVisibilityOptions | undefined) => any)>;
|
|
1633
|
+
closest: import("../createSpyFactory").Spy2<{
|
|
1634
1634
|
<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
1635
1635
|
<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
1636
1636
|
<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
1637
1637
|
<E extends Element = Element>(selectors: string): E | null;
|
|
1638
1638
|
}>;
|
|
1639
|
-
computedStyleMap: import("
|
|
1640
|
-
getAttribute: import("
|
|
1641
|
-
getAttributeNS: import("
|
|
1642
|
-
getAttributeNames: import("
|
|
1643
|
-
getAttributeNode: import("
|
|
1644
|
-
getAttributeNodeNS: import("
|
|
1645
|
-
getBoundingClientRect: import("
|
|
1646
|
-
getClientRects: import("
|
|
1647
|
-
getElementsByClassName: import("
|
|
1648
|
-
getElementsByTagName: import("
|
|
1639
|
+
computedStyleMap: import("../createSpyFactory").Spy2<(() => StylePropertyMapReadOnly) & (() => any)>;
|
|
1640
|
+
getAttribute: import("../createSpyFactory").Spy2<(qualifiedName: string) => string | null>;
|
|
1641
|
+
getAttributeNS: import("../createSpyFactory").Spy2<(namespace: string | null, localName: string) => string | null>;
|
|
1642
|
+
getAttributeNames: import("../createSpyFactory").Spy2<(() => string[]) & (() => any)>;
|
|
1643
|
+
getAttributeNode: import("../createSpyFactory").Spy2<(qualifiedName: string) => Attr | null>;
|
|
1644
|
+
getAttributeNodeNS: import("../createSpyFactory").Spy2<(namespace: string | null, localName: string) => Attr | null>;
|
|
1645
|
+
getBoundingClientRect: import("../createSpyFactory").Spy2<(() => DOMRect) & (() => any)>;
|
|
1646
|
+
getClientRects: import("../createSpyFactory").Spy2<(() => DOMRectList) & (() => any)>;
|
|
1647
|
+
getElementsByClassName: import("../createSpyFactory").Spy2<((classNames: string) => HTMLCollectionOf<Element>) & ((classNames: string) => any)>;
|
|
1648
|
+
getElementsByTagName: import("../createSpyFactory").Spy2<{
|
|
1649
1649
|
<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
1650
1650
|
<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
1651
1651
|
<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
1652
1652
|
<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
1653
1653
|
(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
1654
1654
|
} & ((qualifiedName: string) => any)>;
|
|
1655
|
-
getElementsByTagNameNS: import("
|
|
1655
|
+
getElementsByTagNameNS: import("../createSpyFactory").Spy2<{
|
|
1656
1656
|
(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
1657
1657
|
(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
1658
1658
|
(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
1659
1659
|
(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
1660
1660
|
} & ((namespace: string | null, localName: string) => any)>;
|
|
1661
|
-
getHTML: import("
|
|
1662
|
-
hasAttribute: import("
|
|
1663
|
-
hasAttributeNS: import("
|
|
1664
|
-
hasAttributes: import("
|
|
1665
|
-
hasPointerCapture: import("
|
|
1666
|
-
insertAdjacentElement: import("
|
|
1667
|
-
insertAdjacentHTML: import("
|
|
1668
|
-
insertAdjacentText: import("
|
|
1669
|
-
matches: import("
|
|
1670
|
-
releasePointerCapture: import("
|
|
1671
|
-
removeAttribute: import("
|
|
1672
|
-
removeAttributeNS: import("
|
|
1673
|
-
removeAttributeNode: import("
|
|
1674
|
-
requestFullscreen: import("
|
|
1675
|
-
requestPointerLock: import("
|
|
1676
|
-
scroll: import("
|
|
1661
|
+
getHTML: import("../createSpyFactory").Spy2<((options?: GetHTMLOptions) => string) & ((options?: GetHTMLOptions | undefined) => any)>;
|
|
1662
|
+
hasAttribute: import("../createSpyFactory").Spy2<((qualifiedName: string) => boolean) & ((qualifiedName: string) => any)>;
|
|
1663
|
+
hasAttributeNS: import("../createSpyFactory").Spy2<((namespace: string | null, localName: string) => boolean) & ((namespace: string | null, localName: string) => any)>;
|
|
1664
|
+
hasAttributes: import("../createSpyFactory").Spy2<(() => boolean) & (() => any)>;
|
|
1665
|
+
hasPointerCapture: import("../createSpyFactory").Spy2<((pointerId: number) => boolean) & ((pointerId: number) => any)>;
|
|
1666
|
+
insertAdjacentElement: import("../createSpyFactory").Spy2<(where: InsertPosition, element: Element) => Element | null>;
|
|
1667
|
+
insertAdjacentHTML: import("../createSpyFactory").Spy2<(position: InsertPosition, string: string) => void>;
|
|
1668
|
+
insertAdjacentText: import("../createSpyFactory").Spy2<(where: InsertPosition, data: string) => void>;
|
|
1669
|
+
matches: import("../createSpyFactory").Spy2<((selectors: string) => boolean) & ((selectors: string) => any)>;
|
|
1670
|
+
releasePointerCapture: import("../createSpyFactory").Spy2<(pointerId: number) => void>;
|
|
1671
|
+
removeAttribute: import("../createSpyFactory").Spy2<(qualifiedName: string) => void>;
|
|
1672
|
+
removeAttributeNS: import("../createSpyFactory").Spy2<(namespace: string | null, localName: string) => void>;
|
|
1673
|
+
removeAttributeNode: import("../createSpyFactory").Spy2<((attr: Attr) => Attr) & ((attr: Attr) => any)>;
|
|
1674
|
+
requestFullscreen: import("../createSpyFactory").Spy2<((options?: FullscreenOptions) => Promise<void>) & ((options?: FullscreenOptions | undefined) => any)>;
|
|
1675
|
+
requestPointerLock: import("../createSpyFactory").Spy2<((options?: PointerLockOptions) => Promise<void>) & ((options?: PointerLockOptions | undefined) => any)>;
|
|
1676
|
+
scroll: import("../createSpyFactory").Spy2<{
|
|
1677
1677
|
(options?: ScrollToOptions): void;
|
|
1678
1678
|
(x: number, y: number): void;
|
|
1679
1679
|
}>;
|
|
1680
|
-
scrollBy: import("
|
|
1680
|
+
scrollBy: import("../createSpyFactory").Spy2<{
|
|
1681
1681
|
(options?: ScrollToOptions): void;
|
|
1682
1682
|
(x: number, y: number): void;
|
|
1683
1683
|
}>;
|
|
1684
|
-
scrollIntoView: import("
|
|
1685
|
-
scrollTo: import("
|
|
1684
|
+
scrollIntoView: import("../createSpyFactory").Spy2<(arg?: boolean | ScrollIntoViewOptions) => void>;
|
|
1685
|
+
scrollTo: import("../createSpyFactory").Spy2<{
|
|
1686
1686
|
(options?: ScrollToOptions): void;
|
|
1687
1687
|
(x: number, y: number): void;
|
|
1688
1688
|
}>;
|
|
1689
|
-
setAttribute: import("
|
|
1690
|
-
setAttributeNS: import("
|
|
1691
|
-
setAttributeNode: import("
|
|
1692
|
-
setAttributeNodeNS: import("
|
|
1693
|
-
setHTMLUnsafe: import("
|
|
1694
|
-
setPointerCapture: import("
|
|
1695
|
-
toggleAttribute: import("
|
|
1696
|
-
webkitMatchesSelector: import("
|
|
1697
|
-
blur: import("
|
|
1698
|
-
focus: import("
|
|
1699
|
-
appendChild: import("
|
|
1700
|
-
cloneNode: import("
|
|
1701
|
-
compareDocumentPosition: import("
|
|
1702
|
-
contains: import("
|
|
1703
|
-
getRootNode: import("
|
|
1704
|
-
hasChildNodes: import("
|
|
1705
|
-
insertBefore: import("
|
|
1706
|
-
isDefaultNamespace: import("
|
|
1707
|
-
isEqualNode: import("
|
|
1708
|
-
isSameNode: import("
|
|
1709
|
-
lookupNamespaceURI: import("
|
|
1710
|
-
lookupPrefix: import("
|
|
1711
|
-
normalize: import("
|
|
1712
|
-
removeChild: import("
|
|
1713
|
-
replaceChild: import("
|
|
1714
|
-
animate: import("
|
|
1715
|
-
getAnimations: import("
|
|
1716
|
-
after: import("
|
|
1717
|
-
before: import("
|
|
1718
|
-
remove: import("
|
|
1719
|
-
replaceWith: import("
|
|
1720
|
-
append: import("
|
|
1721
|
-
prepend: import("
|
|
1722
|
-
querySelector: import("
|
|
1689
|
+
setAttribute: import("../createSpyFactory").Spy2<(qualifiedName: string, value: string) => void>;
|
|
1690
|
+
setAttributeNS: import("../createSpyFactory").Spy2<(namespace: string | null, qualifiedName: string, value: string) => void>;
|
|
1691
|
+
setAttributeNode: import("../createSpyFactory").Spy2<(attr: Attr) => Attr | null>;
|
|
1692
|
+
setAttributeNodeNS: import("../createSpyFactory").Spy2<(attr: Attr) => Attr | null>;
|
|
1693
|
+
setHTMLUnsafe: import("../createSpyFactory").Spy2<(html: string) => void>;
|
|
1694
|
+
setPointerCapture: import("../createSpyFactory").Spy2<(pointerId: number) => void>;
|
|
1695
|
+
toggleAttribute: import("../createSpyFactory").Spy2<((qualifiedName: string, force?: boolean) => boolean) & ((qualifiedName: string, force?: boolean | undefined) => any)>;
|
|
1696
|
+
webkitMatchesSelector: import("../createSpyFactory").Spy2<((selectors: string) => boolean) & ((selectors: string) => any)>;
|
|
1697
|
+
blur: import("../createSpyFactory").Spy2<() => void>;
|
|
1698
|
+
focus: import("../createSpyFactory").Spy2<(options?: FocusOptions) => void>;
|
|
1699
|
+
appendChild: import("../createSpyFactory").Spy2<(<T extends Node>(node: T) => T) & ((node: Node) => any)>;
|
|
1700
|
+
cloneNode: import("../createSpyFactory").Spy2<((subtree?: boolean) => Node) & ((subtree?: boolean | undefined) => any)>;
|
|
1701
|
+
compareDocumentPosition: import("../createSpyFactory").Spy2<((other: Node) => number) & ((other: Node) => any)>;
|
|
1702
|
+
contains: import("../createSpyFactory").Spy2<((other: Node | null) => boolean) & ((other: Node | null) => any)>;
|
|
1703
|
+
getRootNode: import("../createSpyFactory").Spy2<((options?: GetRootNodeOptions) => Node) & ((options?: GetRootNodeOptions | undefined) => any)>;
|
|
1704
|
+
hasChildNodes: import("../createSpyFactory").Spy2<(() => boolean) & (() => any)>;
|
|
1705
|
+
insertBefore: import("../createSpyFactory").Spy2<(<T extends Node>(node: T, child: Node | null) => T) & ((node: Node, child: Node | null) => any)>;
|
|
1706
|
+
isDefaultNamespace: import("../createSpyFactory").Spy2<((namespace: string | null) => boolean) & ((namespace: string | null) => any)>;
|
|
1707
|
+
isEqualNode: import("../createSpyFactory").Spy2<((otherNode: Node | null) => boolean) & ((otherNode: Node | null) => any)>;
|
|
1708
|
+
isSameNode: import("../createSpyFactory").Spy2<((otherNode: Node | null) => boolean) & ((otherNode: Node | null) => any)>;
|
|
1709
|
+
lookupNamespaceURI: import("../createSpyFactory").Spy2<(prefix: string | null) => string | null>;
|
|
1710
|
+
lookupPrefix: import("../createSpyFactory").Spy2<(namespace: string | null) => string | null>;
|
|
1711
|
+
normalize: import("../createSpyFactory").Spy2<() => void>;
|
|
1712
|
+
removeChild: import("../createSpyFactory").Spy2<(<T extends Node>(child: T) => T) & ((child: Node) => any)>;
|
|
1713
|
+
replaceChild: import("../createSpyFactory").Spy2<(<T extends Node>(node: Node, child: T) => T) & ((node: Node, child: Node) => any)>;
|
|
1714
|
+
animate: import("../createSpyFactory").Spy2<((keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions) => Animation) & ((keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => any)>;
|
|
1715
|
+
getAnimations: import("../createSpyFactory").Spy2<((options?: GetAnimationsOptions) => Animation[]) & ((options?: GetAnimationsOptions | undefined) => any)>;
|
|
1716
|
+
after: import("../createSpyFactory").Spy2<(...nodes: (Node | string)[]) => void>;
|
|
1717
|
+
before: import("../createSpyFactory").Spy2<(...nodes: (Node | string)[]) => void>;
|
|
1718
|
+
remove: import("../createSpyFactory").Spy2<() => void>;
|
|
1719
|
+
replaceWith: import("../createSpyFactory").Spy2<(...nodes: (Node | string)[]) => void>;
|
|
1720
|
+
append: import("../createSpyFactory").Spy2<(...nodes: (Node | string)[]) => void>;
|
|
1721
|
+
prepend: import("../createSpyFactory").Spy2<(...nodes: (Node | string)[]) => void>;
|
|
1722
|
+
querySelector: import("../createSpyFactory").Spy2<{
|
|
1723
1723
|
<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
1724
1724
|
<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
1725
1725
|
<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
1726
1726
|
<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
1727
1727
|
<E extends Element = Element>(selectors: string): E | null;
|
|
1728
1728
|
}>;
|
|
1729
|
-
querySelectorAll: import("
|
|
1729
|
+
querySelectorAll: import("../createSpyFactory").Spy2<{
|
|
1730
1730
|
<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
1731
1731
|
<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
1732
1732
|
<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
1733
1733
|
<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
1734
1734
|
<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
1735
1735
|
} & ((selectors: string) => any)>;
|
|
1736
|
-
replaceChildren: import("
|
|
1737
|
-
dispatchEvent: import("
|
|
1736
|
+
replaceChildren: import("../createSpyFactory").Spy2<(...nodes: (Node | string)[]) => void>;
|
|
1737
|
+
dispatchEvent: import("../createSpyFactory").Spy2<((event: Event) => boolean) & ((event: Event) => any)>;
|
|
1738
1738
|
}
|
|
1739
1739
|
export declare class MockMediaError implements MediaError {
|
|
1740
1740
|
code: number;
|
|
@@ -1764,11 +1764,11 @@ export declare class MockMediaKeyMessageEvent implements MediaKeyMessageEvent {
|
|
|
1764
1764
|
CAPTURING_PHASE: 1;
|
|
1765
1765
|
AT_TARGET: 2;
|
|
1766
1766
|
BUBBLING_PHASE: 3;
|
|
1767
|
-
composedPath: import("
|
|
1768
|
-
initEvent: import("
|
|
1769
|
-
preventDefault: import("
|
|
1770
|
-
stopImmediatePropagation: import("
|
|
1771
|
-
stopPropagation: import("
|
|
1767
|
+
composedPath: import("../createSpyFactory").Spy2<(() => EventTarget[]) & (() => any)>;
|
|
1768
|
+
initEvent: import("../createSpyFactory").Spy2<(type: string, bubbles?: boolean, cancelable?: boolean) => void>;
|
|
1769
|
+
preventDefault: import("../createSpyFactory").Spy2<() => void>;
|
|
1770
|
+
stopImmediatePropagation: import("../createSpyFactory").Spy2<() => void>;
|
|
1771
|
+
stopPropagation: import("../createSpyFactory").Spy2<() => void>;
|
|
1772
1772
|
}
|
|
1773
1773
|
export declare class MockMediaKeySession implements MediaKeySession {
|
|
1774
1774
|
closed: Promise<MediaKeySessionClosedReason>;
|
|
@@ -1777,30 +1777,30 @@ export declare class MockMediaKeySession implements MediaKeySession {
|
|
|
1777
1777
|
onkeystatuseschange: ((this: MediaKeySession, ev: Event) => any) | null;
|
|
1778
1778
|
onmessage: ((this: MediaKeySession, ev: MediaKeyMessageEvent) => any) | null;
|
|
1779
1779
|
sessionId: string;
|
|
1780
|
-
close: import("
|
|
1781
|
-
generateRequest: import("
|
|
1782
|
-
load: import("
|
|
1783
|
-
remove: import("
|
|
1784
|
-
update: import("
|
|
1785
|
-
addEventListener: import("
|
|
1780
|
+
close: import("../createSpyFactory").Spy2<(() => Promise<void>) & (() => any)>;
|
|
1781
|
+
generateRequest: import("../createSpyFactory").Spy2<((initDataType: string, initData: BufferSource) => Promise<void>) & ((initDataType: string, initData: BufferSource) => any)>;
|
|
1782
|
+
load: import("../createSpyFactory").Spy2<((sessionId: string) => Promise<boolean>) & ((sessionId: string) => any)>;
|
|
1783
|
+
remove: import("../createSpyFactory").Spy2<(() => Promise<void>) & (() => any)>;
|
|
1784
|
+
update: import("../createSpyFactory").Spy2<((response: BufferSource) => Promise<void>) & ((response: BufferSource) => any)>;
|
|
1785
|
+
addEventListener: import("../createSpyFactory").Spy2<{
|
|
1786
1786
|
<K extends keyof MediaKeySessionEventMap>(type: K, listener: (this: MediaKeySession, ev: MediaKeySessionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1787
1787
|
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1788
1788
|
}>;
|
|
1789
|
-
removeEventListener: import("
|
|
1789
|
+
removeEventListener: import("../createSpyFactory").Spy2<{
|
|
1790
1790
|
<K extends keyof MediaKeySessionEventMap>(type: K, listener: (this: MediaKeySession, ev: MediaKeySessionEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1791
1791
|
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1792
1792
|
}>;
|
|
1793
|
-
dispatchEvent: import("
|
|
1793
|
+
dispatchEvent: import("../createSpyFactory").Spy2<((event: Event) => boolean) & ((event: Event) => any)>;
|
|
1794
1794
|
}
|
|
1795
1795
|
export declare class MockMediaKeySystemAccess implements MediaKeySystemAccess {
|
|
1796
1796
|
keySystem: string;
|
|
1797
|
-
createMediaKeys: import("
|
|
1798
|
-
getConfiguration: import("
|
|
1797
|
+
createMediaKeys: import("../createSpyFactory").Spy2<(() => Promise<MediaKeys>) & (() => any)>;
|
|
1798
|
+
getConfiguration: import("../createSpyFactory").Spy2<(() => MediaKeySystemConfiguration) & (() => any)>;
|
|
1799
1799
|
}
|
|
1800
1800
|
export declare class MockMediaKeys implements MediaKeys {
|
|
1801
|
-
createSession: import("
|
|
1802
|
-
getStatusForPolicy: import("
|
|
1803
|
-
setServerCertificate: import("
|
|
1801
|
+
createSession: import("../createSpyFactory").Spy2<((sessionType?: MediaKeySessionType) => MediaKeySession) & ((sessionType?: MediaKeySessionType | undefined) => any)>;
|
|
1802
|
+
getStatusForPolicy: import("../createSpyFactory").Spy2<((policy?: MediaKeysPolicy) => Promise<MediaKeyStatus>) & ((policy?: MediaKeysPolicy | undefined) => any)>;
|
|
1803
|
+
setServerCertificate: import("../createSpyFactory").Spy2<((serverCertificate: BufferSource) => Promise<boolean>) & ((serverCertificate: BufferSource) => any)>;
|
|
1804
1804
|
}
|
|
1805
1805
|
export declare class MockMediaSource implements MediaSource {
|
|
1806
1806
|
activeSourceBuffers: SourceBufferList;
|
|
@@ -1810,42 +1810,42 @@ export declare class MockMediaSource implements MediaSource {
|
|
|
1810
1810
|
onsourceopen: ((this: MediaSource, ev: Event) => any) | null;
|
|
1811
1811
|
readyState: ReadyState;
|
|
1812
1812
|
sourceBuffers: SourceBufferList;
|
|
1813
|
-
addSourceBuffer: import("
|
|
1814
|
-
clearLiveSeekableRange: import("
|
|
1815
|
-
endOfStream: import("
|
|
1816
|
-
removeSourceBuffer: import("
|
|
1817
|
-
setLiveSeekableRange: import("
|
|
1818
|
-
addEventListener: import("
|
|
1813
|
+
addSourceBuffer: import("../createSpyFactory").Spy2<((type: string) => SourceBuffer) & ((type: string) => any)>;
|
|
1814
|
+
clearLiveSeekableRange: import("../createSpyFactory").Spy2<() => void>;
|
|
1815
|
+
endOfStream: import("../createSpyFactory").Spy2<(error?: EndOfStreamError) => void>;
|
|
1816
|
+
removeSourceBuffer: import("../createSpyFactory").Spy2<(sourceBuffer: SourceBuffer) => void>;
|
|
1817
|
+
setLiveSeekableRange: import("../createSpyFactory").Spy2<(start: number, end: number) => void>;
|
|
1818
|
+
addEventListener: import("../createSpyFactory").Spy2<{
|
|
1819
1819
|
<K extends keyof MediaSourceEventMap>(type: K, listener: (this: MediaSource, ev: MediaSourceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1820
1820
|
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1821
1821
|
}>;
|
|
1822
|
-
removeEventListener: import("
|
|
1822
|
+
removeEventListener: import("../createSpyFactory").Spy2<{
|
|
1823
1823
|
<K extends keyof MediaSourceEventMap>(type: K, listener: (this: MediaSource, ev: MediaSourceEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1824
1824
|
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1825
1825
|
}>;
|
|
1826
|
-
dispatchEvent: import("
|
|
1826
|
+
dispatchEvent: import("../createSpyFactory").Spy2<((event: Event) => boolean) & ((event: Event) => any)>;
|
|
1827
1827
|
}
|
|
1828
1828
|
export declare class MockMediaStream implements MediaStream {
|
|
1829
1829
|
active: boolean;
|
|
1830
1830
|
id: string;
|
|
1831
1831
|
onaddtrack: ((this: MediaStream, ev: MediaStreamTrackEvent) => any) | null;
|
|
1832
1832
|
onremovetrack: ((this: MediaStream, ev: MediaStreamTrackEvent) => any) | null;
|
|
1833
|
-
addTrack: import("
|
|
1834
|
-
clone: import("
|
|
1835
|
-
getAudioTracks: import("
|
|
1836
|
-
getTrackById: import("
|
|
1837
|
-
getTracks: import("
|
|
1838
|
-
getVideoTracks: import("
|
|
1839
|
-
removeTrack: import("
|
|
1840
|
-
addEventListener: import("
|
|
1833
|
+
addTrack: import("../createSpyFactory").Spy2<(track: MediaStreamTrack) => void>;
|
|
1834
|
+
clone: import("../createSpyFactory").Spy2<(() => MediaStream) & (() => any)>;
|
|
1835
|
+
getAudioTracks: import("../createSpyFactory").Spy2<(() => MediaStreamTrack[]) & (() => any)>;
|
|
1836
|
+
getTrackById: import("../createSpyFactory").Spy2<(trackId: string) => MediaStreamTrack | null>;
|
|
1837
|
+
getTracks: import("../createSpyFactory").Spy2<(() => MediaStreamTrack[]) & (() => any)>;
|
|
1838
|
+
getVideoTracks: import("../createSpyFactory").Spy2<(() => MediaStreamTrack[]) & (() => any)>;
|
|
1839
|
+
removeTrack: import("../createSpyFactory").Spy2<(track: MediaStreamTrack) => void>;
|
|
1840
|
+
addEventListener: import("../createSpyFactory").Spy2<{
|
|
1841
1841
|
<K extends keyof MediaStreamEventMap>(type: K, listener: (this: MediaStream, ev: MediaStreamEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1842
1842
|
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1843
1843
|
}>;
|
|
1844
|
-
removeEventListener: import("
|
|
1844
|
+
removeEventListener: import("../createSpyFactory").Spy2<{
|
|
1845
1845
|
<K extends keyof MediaStreamEventMap>(type: K, listener: (this: MediaStream, ev: MediaStreamEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1846
1846
|
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1847
1847
|
}>;
|
|
1848
|
-
dispatchEvent: import("
|
|
1848
|
+
dispatchEvent: import("../createSpyFactory").Spy2<((event: Event) => boolean) & ((event: Event) => any)>;
|
|
1849
1849
|
}
|
|
1850
1850
|
export declare class MockNavigator implements Navigator {
|
|
1851
1851
|
clipboard: Clipboard;
|
|
@@ -1881,23 +1881,23 @@ export declare class MockNavigator implements Navigator {
|
|
|
1881
1881
|
pdfViewerEnabled: boolean;
|
|
1882
1882
|
plugins: PluginArray;
|
|
1883
1883
|
storage: StorageManager;
|
|
1884
|
-
canShare: import("
|
|
1885
|
-
getGamepads: import("
|
|
1886
|
-
requestMIDIAccess: import("
|
|
1887
|
-
requestMediaKeySystemAccess: import("
|
|
1884
|
+
canShare: import("../createSpyFactory").Spy2<((data?: ShareData) => boolean) & ((data?: ShareData | undefined) => any)>;
|
|
1885
|
+
getGamepads: import("../createSpyFactory").Spy2<(() => (Gamepad | null)[]) & (() => any)>;
|
|
1886
|
+
requestMIDIAccess: import("../createSpyFactory").Spy2<((options?: MIDIOptions) => Promise<MIDIAccess>) & ((options?: MIDIOptions | undefined) => any)>;
|
|
1887
|
+
requestMediaKeySystemAccess: import("../createSpyFactory").Spy2<{
|
|
1888
1888
|
(keySystem: string, supportedConfigurations: MediaKeySystemConfiguration[]): Promise<MediaKeySystemAccess>;
|
|
1889
1889
|
(keySystem: string, supportedConfigurations: Iterable<MediaKeySystemConfiguration>): Promise<MediaKeySystemAccess>;
|
|
1890
1890
|
} & ((keySystem: string, supportedConfigurations: Iterable<MediaKeySystemConfiguration>) => any)>;
|
|
1891
|
-
sendBeacon: import("
|
|
1892
|
-
share: import("
|
|
1893
|
-
vibrate: import("
|
|
1891
|
+
sendBeacon: import("../createSpyFactory").Spy2<((url: string | URL, data?: BodyInit | null) => boolean) & ((url: string | URL, data?: BodyInit | null | undefined) => any)>;
|
|
1892
|
+
share: import("../createSpyFactory").Spy2<((data?: ShareData) => Promise<void>) & ((data?: ShareData | undefined) => any)>;
|
|
1893
|
+
vibrate: import("../createSpyFactory").Spy2<{
|
|
1894
1894
|
(pattern: VibratePattern): boolean;
|
|
1895
1895
|
(pattern: Iterable<number>): boolean;
|
|
1896
1896
|
} & ((pattern: Iterable<number>) => any)>;
|
|
1897
|
-
clearAppBadge: import("
|
|
1898
|
-
setAppBadge: import("
|
|
1899
|
-
registerProtocolHandler: import("
|
|
1900
|
-
javaEnabled: import("
|
|
1897
|
+
clearAppBadge: import("../createSpyFactory").Spy2<(() => Promise<void>) & (() => any)>;
|
|
1898
|
+
setAppBadge: import("../createSpyFactory").Spy2<((contents?: number) => Promise<void>) & ((contents?: number | undefined) => any)>;
|
|
1899
|
+
registerProtocolHandler: import("../createSpyFactory").Spy2<(scheme: string, url: string | URL) => void>;
|
|
1900
|
+
javaEnabled: import("../createSpyFactory").Spy2<(() => boolean) & (() => any)>;
|
|
1901
1901
|
}
|
|
1902
1902
|
export declare class MockNode implements Node {
|
|
1903
1903
|
baseURI: string;
|
|
@@ -1932,24 +1932,24 @@ export declare class MockNode implements Node {
|
|
|
1932
1932
|
DOCUMENT_POSITION_CONTAINS: 0x08;
|
|
1933
1933
|
DOCUMENT_POSITION_CONTAINED_BY: 0x10;
|
|
1934
1934
|
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 0x20;
|
|
1935
|
-
appendChild: import("
|
|
1936
|
-
cloneNode: import("
|
|
1937
|
-
compareDocumentPosition: import("
|
|
1938
|
-
contains: import("
|
|
1939
|
-
getRootNode: import("
|
|
1940
|
-
hasChildNodes: import("
|
|
1941
|
-
insertBefore: import("
|
|
1942
|
-
isDefaultNamespace: import("
|
|
1943
|
-
isEqualNode: import("
|
|
1944
|
-
isSameNode: import("
|
|
1945
|
-
lookupNamespaceURI: import("
|
|
1946
|
-
lookupPrefix: import("
|
|
1947
|
-
normalize: import("
|
|
1948
|
-
removeChild: import("
|
|
1949
|
-
replaceChild: import("
|
|
1950
|
-
addEventListener: import("
|
|
1951
|
-
dispatchEvent: import("
|
|
1952
|
-
removeEventListener: import("
|
|
1935
|
+
appendChild: import("../createSpyFactory").Spy2<(<T extends Node>(node: T) => T) & ((node: Node) => any)>;
|
|
1936
|
+
cloneNode: import("../createSpyFactory").Spy2<((subtree?: boolean) => Node) & ((subtree?: boolean | undefined) => any)>;
|
|
1937
|
+
compareDocumentPosition: import("../createSpyFactory").Spy2<((other: Node) => number) & ((other: Node) => any)>;
|
|
1938
|
+
contains: import("../createSpyFactory").Spy2<((other: Node | null) => boolean) & ((other: Node | null) => any)>;
|
|
1939
|
+
getRootNode: import("../createSpyFactory").Spy2<((options?: GetRootNodeOptions) => Node) & ((options?: GetRootNodeOptions | undefined) => any)>;
|
|
1940
|
+
hasChildNodes: import("../createSpyFactory").Spy2<(() => boolean) & (() => any)>;
|
|
1941
|
+
insertBefore: import("../createSpyFactory").Spy2<(<T extends Node>(node: T, child: Node | null) => T) & ((node: Node, child: Node | null) => any)>;
|
|
1942
|
+
isDefaultNamespace: import("../createSpyFactory").Spy2<((namespace: string | null) => boolean) & ((namespace: string | null) => any)>;
|
|
1943
|
+
isEqualNode: import("../createSpyFactory").Spy2<((otherNode: Node | null) => boolean) & ((otherNode: Node | null) => any)>;
|
|
1944
|
+
isSameNode: import("../createSpyFactory").Spy2<((otherNode: Node | null) => boolean) & ((otherNode: Node | null) => any)>;
|
|
1945
|
+
lookupNamespaceURI: import("../createSpyFactory").Spy2<(prefix: string | null) => string | null>;
|
|
1946
|
+
lookupPrefix: import("../createSpyFactory").Spy2<(namespace: string | null) => string | null>;
|
|
1947
|
+
normalize: import("../createSpyFactory").Spy2<() => void>;
|
|
1948
|
+
removeChild: import("../createSpyFactory").Spy2<(<T extends Node>(child: T) => T) & ((child: Node) => any)>;
|
|
1949
|
+
replaceChild: import("../createSpyFactory").Spy2<(<T extends Node>(node: Node, child: T) => T) & ((node: Node, child: Node) => any)>;
|
|
1950
|
+
addEventListener: import("../createSpyFactory").Spy2<(type: string, callback: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean) => void>;
|
|
1951
|
+
dispatchEvent: import("../createSpyFactory").Spy2<((event: Event) => boolean) & ((event: Event) => any)>;
|
|
1952
|
+
removeEventListener: import("../createSpyFactory").Spy2<(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean) => void>;
|
|
1953
1953
|
}
|
|
1954
1954
|
export declare class MockProgressEvent<T extends EventTarget = EventTarget> implements ProgressEvent<T> {
|
|
1955
1955
|
lengthComputable: boolean;
|
|
@@ -1972,11 +1972,11 @@ export declare class MockProgressEvent<T extends EventTarget = EventTarget> impl
|
|
|
1972
1972
|
CAPTURING_PHASE: 1;
|
|
1973
1973
|
AT_TARGET: 2;
|
|
1974
1974
|
BUBBLING_PHASE: 3;
|
|
1975
|
-
composedPath: import("
|
|
1976
|
-
initEvent: import("
|
|
1977
|
-
preventDefault: import("
|
|
1978
|
-
stopImmediatePropagation: import("
|
|
1979
|
-
stopPropagation: import("
|
|
1975
|
+
composedPath: import("../createSpyFactory").Spy2<(() => EventTarget[]) & (() => any)>;
|
|
1976
|
+
initEvent: import("../createSpyFactory").Spy2<(type: string, bubbles?: boolean, cancelable?: boolean) => void>;
|
|
1977
|
+
preventDefault: import("../createSpyFactory").Spy2<() => void>;
|
|
1978
|
+
stopImmediatePropagation: import("../createSpyFactory").Spy2<() => void>;
|
|
1979
|
+
stopPropagation: import("../createSpyFactory").Spy2<() => void>;
|
|
1980
1980
|
}
|
|
1981
1981
|
export declare class MockPromiseRejectionEvent implements PromiseRejectionEvent {
|
|
1982
1982
|
promise: Promise<any>;
|
|
@@ -1998,11 +1998,11 @@ export declare class MockPromiseRejectionEvent implements PromiseRejectionEvent
|
|
|
1998
1998
|
CAPTURING_PHASE: 1;
|
|
1999
1999
|
AT_TARGET: 2;
|
|
2000
2000
|
BUBBLING_PHASE: 3;
|
|
2001
|
-
composedPath: import("
|
|
2002
|
-
initEvent: import("
|
|
2003
|
-
preventDefault: import("
|
|
2004
|
-
stopImmediatePropagation: import("
|
|
2005
|
-
stopPropagation: import("
|
|
2001
|
+
composedPath: import("../createSpyFactory").Spy2<(() => EventTarget[]) & (() => any)>;
|
|
2002
|
+
initEvent: import("../createSpyFactory").Spy2<(type: string, bubbles?: boolean, cancelable?: boolean) => void>;
|
|
2003
|
+
preventDefault: import("../createSpyFactory").Spy2<() => void>;
|
|
2004
|
+
stopImmediatePropagation: import("../createSpyFactory").Spy2<() => void>;
|
|
2005
|
+
stopPropagation: import("../createSpyFactory").Spy2<() => void>;
|
|
2006
2006
|
}
|
|
2007
2007
|
export declare class MockSourceBuffer implements SourceBuffer {
|
|
2008
2008
|
appendWindowEnd: number;
|
|
@@ -2016,28 +2016,28 @@ export declare class MockSourceBuffer implements SourceBuffer {
|
|
|
2016
2016
|
onupdatestart: ((this: SourceBuffer, ev: Event) => any) | null;
|
|
2017
2017
|
timestampOffset: number;
|
|
2018
2018
|
updating: boolean;
|
|
2019
|
-
abort: import("
|
|
2020
|
-
appendBuffer: import("
|
|
2021
|
-
changeType: import("
|
|
2022
|
-
remove: import("
|
|
2023
|
-
addEventListener: import("
|
|
2019
|
+
abort: import("../createSpyFactory").Spy2<() => void>;
|
|
2020
|
+
appendBuffer: import("../createSpyFactory").Spy2<(data: BufferSource) => void>;
|
|
2021
|
+
changeType: import("../createSpyFactory").Spy2<(type: string) => void>;
|
|
2022
|
+
remove: import("../createSpyFactory").Spy2<(start: number, end: number) => void>;
|
|
2023
|
+
addEventListener: import("../createSpyFactory").Spy2<{
|
|
2024
2024
|
<K extends keyof SourceBufferEventMap>(type: K, listener: (this: SourceBuffer, ev: SourceBufferEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2025
2025
|
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2026
2026
|
}>;
|
|
2027
|
-
removeEventListener: import("
|
|
2027
|
+
removeEventListener: import("../createSpyFactory").Spy2<{
|
|
2028
2028
|
<K extends keyof SourceBufferEventMap>(type: K, listener: (this: SourceBuffer, ev: SourceBufferEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2029
2029
|
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2030
2030
|
}>;
|
|
2031
|
-
dispatchEvent: import("
|
|
2031
|
+
dispatchEvent: import("../createSpyFactory").Spy2<((event: Event) => boolean) & ((event: Event) => any)>;
|
|
2032
2032
|
}
|
|
2033
2033
|
export declare class MockStorage implements Storage {
|
|
2034
2034
|
[key: string]: any;
|
|
2035
2035
|
length: number;
|
|
2036
|
-
clear: import("
|
|
2037
|
-
getItem: import("
|
|
2038
|
-
key: import("
|
|
2039
|
-
removeItem: import("
|
|
2040
|
-
setItem: import("
|
|
2036
|
+
clear: import("../createSpyFactory").Spy2<() => void>;
|
|
2037
|
+
getItem: import("../createSpyFactory").Spy2<(key: string) => string | null>;
|
|
2038
|
+
key: import("../createSpyFactory").Spy2<(index: number) => string | null>;
|
|
2039
|
+
removeItem: import("../createSpyFactory").Spy2<(key: string) => void>;
|
|
2040
|
+
setItem: import("../createSpyFactory").Spy2<(key: string, value: string) => void>;
|
|
2041
2041
|
}
|
|
2042
2042
|
export declare class MockText implements Text {
|
|
2043
2043
|
wholeText: string;
|
|
@@ -2078,33 +2078,33 @@ export declare class MockText implements Text {
|
|
|
2078
2078
|
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 0x20;
|
|
2079
2079
|
nextElementSibling: Element | null;
|
|
2080
2080
|
previousElementSibling: Element | null;
|
|
2081
|
-
splitText: import("
|
|
2082
|
-
appendData: import("
|
|
2083
|
-
deleteData: import("
|
|
2084
|
-
insertData: import("
|
|
2085
|
-
replaceData: import("
|
|
2086
|
-
substringData: import("
|
|
2087
|
-
appendChild: import("
|
|
2088
|
-
cloneNode: import("
|
|
2089
|
-
compareDocumentPosition: import("
|
|
2090
|
-
contains: import("
|
|
2091
|
-
getRootNode: import("
|
|
2092
|
-
hasChildNodes: import("
|
|
2093
|
-
insertBefore: import("
|
|
2094
|
-
isDefaultNamespace: import("
|
|
2095
|
-
isEqualNode: import("
|
|
2096
|
-
isSameNode: import("
|
|
2097
|
-
lookupNamespaceURI: import("
|
|
2098
|
-
lookupPrefix: import("
|
|
2099
|
-
normalize: import("
|
|
2100
|
-
removeChild: import("
|
|
2101
|
-
replaceChild: import("
|
|
2102
|
-
after: import("
|
|
2103
|
-
before: import("
|
|
2104
|
-
remove: import("
|
|
2105
|
-
replaceWith: import("
|
|
2106
|
-
addEventListener: import("
|
|
2107
|
-
dispatchEvent: import("
|
|
2108
|
-
removeEventListener: import("
|
|
2081
|
+
splitText: import("../createSpyFactory").Spy2<((offset: number) => Text) & ((offset: number) => any)>;
|
|
2082
|
+
appendData: import("../createSpyFactory").Spy2<(data: string) => void>;
|
|
2083
|
+
deleteData: import("../createSpyFactory").Spy2<(offset: number, count: number) => void>;
|
|
2084
|
+
insertData: import("../createSpyFactory").Spy2<(offset: number, data: string) => void>;
|
|
2085
|
+
replaceData: import("../createSpyFactory").Spy2<(offset: number, count: number, data: string) => void>;
|
|
2086
|
+
substringData: import("../createSpyFactory").Spy2<((offset: number, count: number) => string) & ((offset: number, count: number) => any)>;
|
|
2087
|
+
appendChild: import("../createSpyFactory").Spy2<(<T extends Node>(node: T) => T) & ((node: Node) => any)>;
|
|
2088
|
+
cloneNode: import("../createSpyFactory").Spy2<((subtree?: boolean) => Node) & ((subtree?: boolean | undefined) => any)>;
|
|
2089
|
+
compareDocumentPosition: import("../createSpyFactory").Spy2<((other: Node) => number) & ((other: Node) => any)>;
|
|
2090
|
+
contains: import("../createSpyFactory").Spy2<((other: Node | null) => boolean) & ((other: Node | null) => any)>;
|
|
2091
|
+
getRootNode: import("../createSpyFactory").Spy2<((options?: GetRootNodeOptions) => Node) & ((options?: GetRootNodeOptions | undefined) => any)>;
|
|
2092
|
+
hasChildNodes: import("../createSpyFactory").Spy2<(() => boolean) & (() => any)>;
|
|
2093
|
+
insertBefore: import("../createSpyFactory").Spy2<(<T extends Node>(node: T, child: Node | null) => T) & ((node: Node, child: Node | null) => any)>;
|
|
2094
|
+
isDefaultNamespace: import("../createSpyFactory").Spy2<((namespace: string | null) => boolean) & ((namespace: string | null) => any)>;
|
|
2095
|
+
isEqualNode: import("../createSpyFactory").Spy2<((otherNode: Node | null) => boolean) & ((otherNode: Node | null) => any)>;
|
|
2096
|
+
isSameNode: import("../createSpyFactory").Spy2<((otherNode: Node | null) => boolean) & ((otherNode: Node | null) => any)>;
|
|
2097
|
+
lookupNamespaceURI: import("../createSpyFactory").Spy2<(prefix: string | null) => string | null>;
|
|
2098
|
+
lookupPrefix: import("../createSpyFactory").Spy2<(namespace: string | null) => string | null>;
|
|
2099
|
+
normalize: import("../createSpyFactory").Spy2<() => void>;
|
|
2100
|
+
removeChild: import("../createSpyFactory").Spy2<(<T extends Node>(child: T) => T) & ((child: Node) => any)>;
|
|
2101
|
+
replaceChild: import("../createSpyFactory").Spy2<(<T extends Node>(node: Node, child: T) => T) & ((node: Node, child: Node) => any)>;
|
|
2102
|
+
after: import("../createSpyFactory").Spy2<(...nodes: (Node | string)[]) => void>;
|
|
2103
|
+
before: import("../createSpyFactory").Spy2<(...nodes: (Node | string)[]) => void>;
|
|
2104
|
+
remove: import("../createSpyFactory").Spy2<() => void>;
|
|
2105
|
+
replaceWith: import("../createSpyFactory").Spy2<(...nodes: (Node | string)[]) => void>;
|
|
2106
|
+
addEventListener: import("../createSpyFactory").Spy2<(type: string, callback: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean) => void>;
|
|
2107
|
+
dispatchEvent: import("../createSpyFactory").Spy2<((event: Event) => boolean) & ((event: Event) => any)>;
|
|
2108
|
+
removeEventListener: import("../createSpyFactory").Spy2<(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean) => void>;
|
|
2109
2109
|
}
|
|
2110
2110
|
//# sourceMappingURL=lib.dom.d.ts.map
|