happy-dom 18.0.0 → 19.0.0
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.
Potentially problematic release.
This version of happy-dom might be problematic. Click here for more details.
- package/lib/PropertySymbol.d.ts +13 -0
- package/lib/PropertySymbol.d.ts.map +1 -1
- package/lib/PropertySymbol.js +13 -0
- package/lib/PropertySymbol.js.map +1 -1
- package/lib/async-task-manager/AsyncTaskManager.d.ts +0 -1
- package/lib/async-task-manager/AsyncTaskManager.d.ts.map +1 -1
- package/lib/async-task-manager/AsyncTaskManager.js +22 -19
- package/lib/async-task-manager/AsyncTaskManager.js.map +1 -1
- package/lib/async-task-manager/AsyncTaskManagerDebugError.d.ts +12 -0
- package/lib/async-task-manager/AsyncTaskManagerDebugError.d.ts.map +1 -0
- package/lib/async-task-manager/AsyncTaskManagerDebugError.js +15 -0
- package/lib/async-task-manager/AsyncTaskManagerDebugError.js.map +1 -0
- package/lib/browser/BrowserFrame.d.ts +2 -2
- package/lib/browser/BrowserFrame.d.ts.map +1 -1
- package/lib/browser/BrowserFrame.js +2 -12
- package/lib/browser/BrowserFrame.js.map +1 -1
- package/lib/browser/BrowserPage.d.ts.map +1 -1
- package/lib/browser/BrowserPage.js +6 -2
- package/lib/browser/BrowserPage.js.map +1 -1
- package/lib/browser/BrowserSettingsFactory.d.ts +8 -1
- package/lib/browser/BrowserSettingsFactory.d.ts.map +1 -1
- package/lib/browser/BrowserSettingsFactory.js +41 -1
- package/lib/browser/BrowserSettingsFactory.js.map +1 -1
- package/lib/browser/DefaultBrowserSettings.d.ts.map +1 -1
- package/lib/browser/DefaultBrowserSettings.js +9 -1
- package/lib/browser/DefaultBrowserSettings.js.map +1 -1
- package/lib/browser/detached-browser/DetachedBrowserFrame.d.ts +2 -2
- package/lib/browser/detached-browser/DetachedBrowserFrame.d.ts.map +1 -1
- package/lib/browser/detached-browser/DetachedBrowserFrame.js +2 -12
- package/lib/browser/detached-browser/DetachedBrowserFrame.js.map +1 -1
- package/lib/browser/detached-browser/DetachedBrowserPage.d.ts.map +1 -1
- package/lib/browser/detached-browser/DetachedBrowserPage.js +6 -2
- package/lib/browser/detached-browser/DetachedBrowserPage.js.map +1 -1
- package/lib/browser/types/IBrowserFrame.d.ts +2 -2
- package/lib/browser/types/IBrowserFrame.d.ts.map +1 -1
- package/lib/browser/types/IBrowserSettings.d.ts +15 -1
- package/lib/browser/types/IBrowserSettings.d.ts.map +1 -1
- package/lib/browser/types/IOptionalBrowserSettings.d.ts +15 -0
- package/lib/browser/types/IOptionalBrowserSettings.d.ts.map +1 -1
- package/lib/browser/types/IReloadOptions.d.ts +10 -0
- package/lib/browser/types/IReloadOptions.d.ts.map +1 -1
- package/lib/browser/utilities/BrowserExceptionObserver.d.ts.map +1 -1
- package/lib/browser/utilities/BrowserExceptionObserver.js.map +1 -1
- package/lib/browser/utilities/BrowserFrameNavigator.d.ts.map +1 -1
- package/lib/browser/utilities/BrowserFrameNavigator.js +181 -117
- package/lib/browser/utilities/BrowserFrameNavigator.js.map +1 -1
- package/lib/css/CSSRule.d.ts +30 -8
- package/lib/css/CSSRule.d.ts.map +1 -1
- package/lib/css/CSSRule.js +20 -8
- package/lib/css/CSSRule.js.map +1 -1
- package/lib/css/CSSStyleSheet.d.ts.map +1 -1
- package/lib/css/CSSStyleSheet.js +3 -2
- package/lib/css/CSSStyleSheet.js.map +1 -1
- package/lib/css/MediaList.d.ts +29 -3
- package/lib/css/MediaList.d.ts.map +1 -1
- package/lib/css/MediaList.js +122 -21
- package/lib/css/MediaList.js.map +1 -1
- package/lib/css/declaration/computed-style/CSSStyleDeclarationComputedStyle.d.ts +8 -1
- package/lib/css/declaration/computed-style/CSSStyleDeclarationComputedStyle.d.ts.map +1 -1
- package/lib/css/declaration/computed-style/CSSStyleDeclarationComputedStyle.js +149 -47
- package/lib/css/declaration/computed-style/CSSStyleDeclarationComputedStyle.js.map +1 -1
- package/lib/css/rules/CSSConditionRule.d.ts +17 -0
- package/lib/css/rules/CSSConditionRule.d.ts.map +1 -0
- package/lib/css/rules/CSSConditionRule.js +19 -0
- package/lib/css/rules/CSSConditionRule.js.map +1 -0
- package/lib/css/rules/CSSContainerRule.d.ts +13 -9
- package/lib/css/rules/CSSContainerRule.d.ts.map +1 -1
- package/lib/css/rules/CSSContainerRule.js +19 -12
- package/lib/css/rules/CSSContainerRule.js.map +1 -1
- package/lib/css/rules/CSSFontFaceRule.d.ts +11 -8
- package/lib/css/rules/CSSFontFaceRule.d.ts.map +1 -1
- package/lib/css/rules/CSSFontFaceRule.js +15 -10
- package/lib/css/rules/CSSFontFaceRule.js.map +1 -1
- package/lib/css/rules/CSSGroupingRule.d.ts +31 -0
- package/lib/css/rules/CSSGroupingRule.d.ts.map +1 -0
- package/lib/css/rules/CSSGroupingRule.js +62 -0
- package/lib/css/rules/CSSGroupingRule.js.map +1 -0
- package/lib/css/rules/CSSKeyframeRule.d.ts +13 -6
- package/lib/css/rules/CSSKeyframeRule.d.ts.map +1 -1
- package/lib/css/rules/CSSKeyframeRule.js +18 -7
- package/lib/css/rules/CSSKeyframeRule.js.map +1 -1
- package/lib/css/rules/CSSKeyframesRule.d.ts +35 -7
- package/lib/css/rules/CSSKeyframesRule.d.ts.map +1 -1
- package/lib/css/rules/CSSKeyframesRule.js +83 -25
- package/lib/css/rules/CSSKeyframesRule.js.map +1 -1
- package/lib/css/rules/CSSMediaRule.d.ts +18 -9
- package/lib/css/rules/CSSMediaRule.d.ts.map +1 -1
- package/lib/css/rules/CSSMediaRule.js +26 -12
- package/lib/css/rules/CSSMediaRule.js.map +1 -1
- package/lib/css/rules/CSSScopeRule.d.ts +34 -0
- package/lib/css/rules/CSSScopeRule.d.ts.map +1 -0
- package/lib/css/rules/CSSScopeRule.js +47 -0
- package/lib/css/rules/CSSScopeRule.js.map +1 -0
- package/lib/css/rules/CSSStyleRule.d.ts +28 -12
- package/lib/css/rules/CSSStyleRule.d.ts.map +1 -1
- package/lib/css/rules/CSSStyleRule.js +39 -14
- package/lib/css/rules/CSSStyleRule.js.map +1 -1
- package/lib/css/rules/CSSSupportsRule.d.ts +10 -8
- package/lib/css/rules/CSSSupportsRule.d.ts.map +1 -1
- package/lib/css/rules/CSSSupportsRule.js +16 -11
- package/lib/css/rules/CSSSupportsRule.js.map +1 -1
- package/lib/css/style-property-map/CSSKeywordValue.d.ts +27 -0
- package/lib/css/style-property-map/CSSKeywordValue.d.ts.map +1 -0
- package/lib/css/style-property-map/CSSKeywordValue.js +33 -0
- package/lib/css/style-property-map/CSSKeywordValue.js.map +1 -0
- package/lib/css/style-property-map/CSSStyleValue.d.ts +24 -0
- package/lib/css/style-property-map/CSSStyleValue.d.ts.map +1 -0
- package/lib/css/style-property-map/CSSStyleValue.js +33 -0
- package/lib/css/style-property-map/CSSStyleValue.js.map +1 -0
- package/lib/css/style-property-map/StylePropertyMap.d.ts +33 -0
- package/lib/css/style-property-map/StylePropertyMap.d.ts.map +1 -0
- package/lib/css/style-property-map/StylePropertyMap.js +42 -0
- package/lib/css/style-property-map/StylePropertyMap.js.map +1 -0
- package/lib/css/style-property-map/StylePropertyMapReadOnly.d.ts +71 -0
- package/lib/css/style-property-map/StylePropertyMapReadOnly.d.ts.map +1 -0
- package/lib/css/style-property-map/StylePropertyMapReadOnly.js +113 -0
- package/lib/css/style-property-map/StylePropertyMapReadOnly.js.map +1 -0
- package/lib/css/utilities/CSSParser.d.ts +10 -4
- package/lib/css/utilities/CSSParser.d.ts.map +1 -1
- package/lib/css/utilities/CSSParser.js +85 -32
- package/lib/css/utilities/CSSParser.js.map +1 -1
- package/lib/event/events/IPopStateEventInit.d.ts +6 -0
- package/lib/event/events/IPopStateEventInit.d.ts.map +1 -0
- package/lib/event/events/IPopStateEventInit.js +2 -0
- package/lib/event/events/IPopStateEventInit.js.map +1 -0
- package/lib/event/events/PopStateEvent.d.ts +17 -0
- package/lib/event/events/PopStateEvent.d.ts.map +1 -0
- package/lib/event/events/PopStateEvent.js +20 -0
- package/lib/event/events/PopStateEvent.js.map +1 -0
- package/lib/fetch/Fetch.d.ts +1 -0
- package/lib/fetch/Fetch.d.ts.map +1 -1
- package/lib/fetch/Fetch.js +27 -5
- package/lib/fetch/Fetch.js.map +1 -1
- package/lib/fetch/Request.d.ts.map +1 -1
- package/lib/fetch/Request.js +1 -1
- package/lib/fetch/Request.js.map +1 -1
- package/lib/fetch/ResourceFetch.d.ts +3 -2
- package/lib/fetch/ResourceFetch.d.ts.map +1 -1
- package/lib/fetch/ResourceFetch.js +24 -9
- package/lib/fetch/ResourceFetch.js.map +1 -1
- package/lib/fetch/Response.d.ts +1 -0
- package/lib/fetch/Response.d.ts.map +1 -1
- package/lib/fetch/Response.js +3 -1
- package/lib/fetch/Response.js.map +1 -1
- package/lib/fetch/SyncFetch.d.ts +2 -1
- package/lib/fetch/SyncFetch.d.ts.map +1 -1
- package/lib/fetch/SyncFetch.js +31 -12
- package/lib/fetch/SyncFetch.js.map +1 -1
- package/lib/fetch/cache/preflight/ICacheablePreflightRequest.d.ts +7 -0
- package/lib/fetch/cache/preflight/ICacheablePreflightRequest.d.ts.map +1 -0
- package/lib/fetch/cache/preflight/ICacheablePreflightRequest.js +2 -0
- package/lib/fetch/cache/preflight/ICacheablePreflightRequest.js.map +1 -0
- package/lib/fetch/cache/preflight/ICacheablePreflightResponse.d.ts +7 -0
- package/lib/fetch/cache/preflight/ICacheablePreflightResponse.d.ts.map +1 -0
- package/lib/fetch/cache/preflight/ICacheablePreflightResponse.js +2 -0
- package/lib/fetch/cache/preflight/ICacheablePreflightResponse.js.map +1 -0
- package/lib/fetch/cache/preflight/IPreflightResponseCache.d.ts +4 -4
- package/lib/fetch/cache/preflight/IPreflightResponseCache.d.ts.map +1 -1
- package/lib/fetch/cache/preflight/PreflightResponseCache.d.ts +4 -4
- package/lib/fetch/cache/preflight/PreflightResponseCache.d.ts.map +1 -1
- package/lib/fetch/cache/preflight/PreflightResponseCache.js +6 -6
- package/lib/fetch/cache/preflight/PreflightResponseCache.js.map +1 -1
- package/lib/fetch/cache/response/ICacheableRequest.d.ts +7 -0
- package/lib/fetch/cache/response/ICacheableRequest.d.ts.map +1 -0
- package/lib/fetch/cache/response/ICacheableRequest.js +2 -0
- package/lib/fetch/cache/response/ICacheableRequest.js.map +1 -0
- package/lib/fetch/cache/response/ICacheableResponse.d.ts +11 -0
- package/lib/fetch/cache/response/ICacheableResponse.d.ts.map +1 -0
- package/lib/fetch/cache/response/ICacheableResponse.js +2 -0
- package/lib/fetch/cache/response/ICacheableResponse.js.map +1 -0
- package/lib/fetch/cache/response/ICachedResponse.d.ts +4 -0
- package/lib/fetch/cache/response/ICachedResponse.d.ts.map +1 -1
- package/lib/fetch/cache/response/ICachedResponse.js +1 -1
- package/lib/fetch/cache/response/ICachedResponse.js.map +1 -1
- package/lib/fetch/cache/response/IResponseCache.d.ts +6 -4
- package/lib/fetch/cache/response/IResponseCache.d.ts.map +1 -1
- package/lib/fetch/cache/response/IResponseCacheFileSystem.d.ts +18 -0
- package/lib/fetch/cache/response/IResponseCacheFileSystem.d.ts.map +1 -0
- package/lib/fetch/cache/response/IResponseCacheFileSystem.js +2 -0
- package/lib/fetch/cache/response/IResponseCacheFileSystem.js.map +1 -0
- package/lib/fetch/cache/response/ResponseCache.d.ts +10 -4
- package/lib/fetch/cache/response/ResponseCache.d.ts.map +1 -1
- package/lib/fetch/cache/response/ResponseCache.js +48 -24
- package/lib/fetch/cache/response/ResponseCache.js.map +1 -1
- package/lib/fetch/cache/response/ResponseCacheFileSystem.d.ts +27 -0
- package/lib/fetch/cache/response/ResponseCacheFileSystem.d.ts.map +1 -0
- package/lib/fetch/cache/response/ResponseCacheFileSystem.js +140 -0
- package/lib/fetch/cache/response/ResponseCacheFileSystem.js.map +1 -0
- package/lib/fetch/types/IFetchRequestHeaders.d.ts +10 -0
- package/lib/fetch/types/IFetchRequestHeaders.d.ts.map +1 -0
- package/lib/fetch/types/IFetchRequestHeaders.js +2 -0
- package/lib/fetch/types/IFetchRequestHeaders.js.map +1 -0
- package/lib/fetch/types/IResourceFetchResponse.d.ts +5 -0
- package/lib/fetch/types/IResourceFetchResponse.d.ts.map +1 -0
- package/lib/fetch/types/IResourceFetchResponse.js +2 -0
- package/lib/fetch/types/IResourceFetchResponse.js.map +1 -0
- package/lib/fetch/types/ISyncResponse.d.ts +2 -0
- package/lib/fetch/types/ISyncResponse.d.ts.map +1 -1
- package/lib/fetch/types/ISyncResponse.js +1 -1
- package/lib/fetch/types/ISyncResponse.js.map +1 -1
- package/lib/fetch/utilities/VirtualServerUtility.d.ts.map +1 -1
- package/lib/fetch/utilities/VirtualServerUtility.js +3 -1
- package/lib/fetch/utilities/VirtualServerUtility.js.map +1 -1
- package/lib/history/History.d.ts +2 -2
- package/lib/history/History.d.ts.map +1 -1
- package/lib/history/History.js +34 -55
- package/lib/history/History.js.map +1 -1
- package/lib/history/HistoryItemList.d.ts +24 -0
- package/lib/history/HistoryItemList.d.ts.map +1 -0
- package/lib/history/HistoryItemList.js +63 -0
- package/lib/history/HistoryItemList.js.map +1 -0
- package/lib/history/IHistoryItem.d.ts +1 -1
- package/lib/history/IHistoryItem.d.ts.map +1 -1
- package/lib/html-serializer/HTMLSerializer.d.ts +2 -0
- package/lib/html-serializer/HTMLSerializer.d.ts.map +1 -1
- package/lib/html-serializer/HTMLSerializer.js +9 -2
- package/lib/html-serializer/HTMLSerializer.js.map +1 -1
- package/lib/index.d.ts +10 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +10 -1
- package/lib/index.js.map +1 -1
- package/lib/location/Location.d.ts +0 -1
- package/lib/location/Location.d.ts.map +1 -1
- package/lib/location/Location.js +41 -9
- package/lib/location/Location.js.map +1 -1
- package/lib/module/ECMAScriptModule.d.ts +2 -1
- package/lib/module/ECMAScriptModule.d.ts.map +1 -1
- package/lib/module/ECMAScriptModule.js +12 -3
- package/lib/module/ECMAScriptModule.js.map +1 -1
- package/lib/module/ECMAScriptModuleCompiler.d.ts +42 -1
- package/lib/module/ECMAScriptModuleCompiler.d.ts.map +1 -1
- package/lib/module/ECMAScriptModuleCompiler.js +485 -266
- package/lib/module/ECMAScriptModuleCompiler.js.map +1 -1
- package/lib/module/IECMAScriptModuleCompiledResult.d.ts +5 -1
- package/lib/module/IECMAScriptModuleCompiledResult.d.ts.map +1 -1
- package/lib/module/ModuleFactory.d.ts.map +1 -1
- package/lib/module/ModuleFactory.js +9 -5
- package/lib/module/ModuleFactory.js.map +1 -1
- package/lib/nodes/document/DocumentReadyStateManager.d.ts +14 -10
- package/lib/nodes/document/DocumentReadyStateManager.d.ts.map +1 -1
- package/lib/nodes/document/DocumentReadyStateManager.js +19 -46
- package/lib/nodes/document/DocumentReadyStateManager.js.map +1 -1
- package/lib/nodes/element/Element.d.ts.map +1 -1
- package/lib/nodes/element/Element.js +2 -1
- package/lib/nodes/element/Element.js.map +1 -1
- package/lib/nodes/element/ElementEventAttributeUtility.d.ts.map +1 -1
- package/lib/nodes/element/ElementEventAttributeUtility.js +3 -2
- package/lib/nodes/element/ElementEventAttributeUtility.js.map +1 -1
- package/lib/nodes/element/NamedNodeMap.d.ts.map +1 -1
- package/lib/nodes/element/NamedNodeMap.js +2 -3
- package/lib/nodes/element/NamedNodeMap.js.map +1 -1
- package/lib/nodes/html-canvas-element/HTMLCanvasElement.d.ts +1 -1
- package/lib/nodes/html-canvas-element/HTMLCanvasElement.d.ts.map +1 -1
- package/lib/nodes/html-link-element/HTMLLinkElement.d.ts.map +1 -1
- package/lib/nodes/html-link-element/HTMLLinkElement.js +5 -5
- package/lib/nodes/html-link-element/HTMLLinkElement.js.map +1 -1
- package/lib/nodes/html-script-element/HTMLScriptElement.d.ts.map +1 -1
- package/lib/nodes/html-script-element/HTMLScriptElement.js +8 -14
- package/lib/nodes/html-script-element/HTMLScriptElement.js.map +1 -1
- package/lib/query-selector/QuerySelector.d.ts +2 -0
- package/lib/query-selector/QuerySelector.d.ts.map +1 -1
- package/lib/query-selector/QuerySelector.js +7 -3
- package/lib/query-selector/QuerySelector.js.map +1 -1
- package/lib/query-selector/SelectorItem.d.ts +5 -0
- package/lib/query-selector/SelectorItem.d.ts.map +1 -1
- package/lib/query-selector/SelectorItem.js +30 -24
- package/lib/query-selector/SelectorItem.js.map +1 -1
- package/lib/query-selector/SelectorParser.d.ts +11 -3
- package/lib/query-selector/SelectorParser.d.ts.map +1 -1
- package/lib/query-selector/SelectorParser.js +26 -8
- package/lib/query-selector/SelectorParser.js.map +1 -1
- package/lib/url/URL.d.ts +10 -0
- package/lib/url/URL.d.ts.map +1 -1
- package/lib/url/URL.js +18 -0
- package/lib/url/URL.js.map +1 -1
- package/lib/version.js +1 -2
- package/lib/window/BrowserWindow.d.ts +34 -4
- package/lib/window/BrowserWindow.d.ts.map +1 -1
- package/lib/window/BrowserWindow.js +78 -13
- package/lib/window/BrowserWindow.js.map +1 -1
- package/lib/window/IOptionalTimerLoopsLimit.d.ts +5 -0
- package/lib/window/IOptionalTimerLoopsLimit.d.ts.map +1 -0
- package/lib/window/IOptionalTimerLoopsLimit.js +2 -0
- package/lib/window/IOptionalTimerLoopsLimit.js.map +1 -0
- package/lib/window/ITimerLoopsLimit.d.ts +5 -0
- package/lib/window/ITimerLoopsLimit.d.ts.map +1 -0
- package/lib/window/ITimerLoopsLimit.js +2 -0
- package/lib/window/ITimerLoopsLimit.js.map +1 -0
- package/lib/window/WindowContextClassExtender.d.ts.map +1 -1
- package/lib/window/WindowContextClassExtender.js +6 -0
- package/lib/window/WindowContextClassExtender.js.map +1 -1
- package/lib/xml-http-request/XMLHttpRequest.d.ts +3 -0
- package/lib/xml-http-request/XMLHttpRequest.d.ts.map +1 -1
- package/lib/xml-http-request/XMLHttpRequest.js +42 -23
- package/lib/xml-http-request/XMLHttpRequest.js.map +1 -1
- package/lib/xml-http-request/XMLHttpRequestReadyStateEnum.d.ts +1 -1
- package/lib/xml-http-request/XMLHttpRequestReadyStateEnum.js +1 -1
- package/package.json +3 -47
- package/src/PropertySymbol.ts +13 -0
- package/src/async-task-manager/AsyncTaskManager.ts +22 -19
- package/src/async-task-manager/AsyncTaskManagerDebugError.ts +14 -0
- package/src/browser/BrowserFrame.ts +2 -13
- package/src/browser/BrowserPage.ts +6 -2
- package/src/browser/BrowserSettingsFactory.ts +46 -1
- package/src/browser/DefaultBrowserSettings.ts +9 -1
- package/src/browser/detached-browser/DetachedBrowserFrame.ts +2 -13
- package/src/browser/detached-browser/DetachedBrowserPage.ts +6 -2
- package/src/browser/types/IBrowserFrame.ts +2 -2
- package/src/browser/types/IBrowserSettings.ts +18 -1
- package/src/browser/types/IOptionalBrowserSettings.ts +18 -0
- package/src/browser/types/IReloadOptions.ts +13 -0
- package/src/browser/utilities/BrowserExceptionObserver.ts +0 -3
- package/src/browser/utilities/BrowserFrameNavigator.ts +215 -135
- package/src/css/CSSRule.ts +37 -9
- package/src/css/CSSStyleSheet.ts +3 -2
- package/src/css/MediaList.ts +139 -22
- package/src/css/declaration/computed-style/CSSStyleDeclarationComputedStyle.ts +178 -57
- package/src/css/rules/CSSConditionRule.ts +20 -0
- package/src/css/rules/CSSContainerRule.ts +23 -13
- package/src/css/rules/CSSFontFaceRule.ts +17 -11
- package/src/css/rules/CSSGroupingRule.ts +84 -0
- package/src/css/rules/CSSKeyframeRule.ts +20 -7
- package/src/css/rules/CSSKeyframesRule.ts +107 -30
- package/src/css/rules/CSSMediaRule.ts +29 -13
- package/src/css/rules/CSSScopeRule.ts +53 -0
- package/src/css/rules/CSSStyleRule.ts +46 -14
- package/src/css/rules/CSSSupportsRule.ts +18 -12
- package/src/css/style-property-map/CSSKeywordValue.ts +35 -0
- package/src/css/style-property-map/CSSStyleValue.ts +37 -0
- package/src/css/style-property-map/StylePropertyMap.ts +45 -0
- package/src/css/style-property-map/StylePropertyMapReadOnly.ts +128 -0
- package/src/css/utilities/CSSParser.ts +109 -32
- package/src/event/events/IPopStateEventInit.ts +6 -0
- package/src/event/events/PopStateEvent.ts +23 -0
- package/src/fetch/Fetch.ts +34 -7
- package/src/fetch/Request.ts +3 -1
- package/src/fetch/ResourceFetch.ts +27 -14
- package/src/fetch/Response.ts +6 -1
- package/src/fetch/SyncFetch.ts +40 -16
- package/src/fetch/cache/preflight/ICacheablePreflightRequest.ts +7 -0
- package/src/fetch/cache/preflight/ICacheablePreflightResponse.ts +7 -0
- package/src/fetch/cache/preflight/IPreflightResponseCache.ts +5 -5
- package/src/fetch/cache/preflight/PreflightResponseCache.ts +11 -11
- package/src/fetch/cache/response/ICacheableRequest.ts +7 -0
- package/src/fetch/cache/response/ICacheableResponse.ts +11 -0
- package/src/fetch/cache/response/ICachedResponse.ts +4 -0
- package/src/fetch/cache/response/IResponseCache.ts +7 -4
- package/src/fetch/cache/response/IResponseCacheFileSystem.ts +18 -0
- package/src/fetch/cache/response/ResponseCache.ts +55 -28
- package/src/fetch/cache/response/ResponseCacheFileSystem.ts +175 -0
- package/src/fetch/types/IFetchRequestHeaders.ts +9 -0
- package/src/fetch/types/IResourceFetchResponse.ts +4 -0
- package/src/fetch/types/ISyncResponse.ts +2 -0
- package/src/fetch/utilities/VirtualServerUtility.ts +3 -1
- package/src/history/History.ts +51 -71
- package/src/history/HistoryItemList.ts +72 -0
- package/src/history/IHistoryItem.ts +1 -1
- package/src/html-serializer/HTMLSerializer.ts +13 -3
- package/src/index.ts +18 -0
- package/src/location/Location.ts +48 -11
- package/src/module/ECMAScriptModule.ts +16 -3
- package/src/module/ECMAScriptModuleCompiler.ts +556 -292
- package/src/module/IECMAScriptModuleCompiledResult.ts +5 -1
- package/src/module/ModuleFactory.ts +18 -5
- package/src/nodes/document/DocumentReadyStateManager.ts +21 -54
- package/src/nodes/element/Element.ts +4 -1
- package/src/nodes/element/ElementEventAttributeUtility.ts +3 -2
- package/src/nodes/element/NamedNodeMap.ts +2 -3
- package/src/nodes/html-canvas-element/HTMLCanvasElement.ts +1 -1
- package/src/nodes/html-link-element/HTMLLinkElement.ts +6 -5
- package/src/nodes/html-script-element/HTMLScriptElement.ts +11 -18
- package/src/query-selector/QuerySelector.ts +8 -4
- package/src/query-selector/SelectorItem.ts +32 -23
- package/src/query-selector/SelectorParser.ts +33 -12
- package/src/url/URL.ts +22 -0
- package/src/window/BrowserWindow.ts +88 -12
- package/src/window/IOptionalTimerLoopsLimit.ts +4 -0
- package/src/window/ITimerLoopsLimit.ts +4 -0
- package/src/window/WindowContextClassExtender.ts +6 -0
- package/src/xml-http-request/XMLHttpRequest.ts +47 -23
- package/src/xml-http-request/XMLHttpRequestReadyStateEnum.ts +1 -1
- package/.editorconfig +0 -8
- package/.prettierrc.cjs +0 -6
- package/cjs/PropertySymbol.cjs +0 -404
- package/cjs/PropertySymbol.cjs.map +0 -1
- package/cjs/PropertySymbol.d.ts +0 -394
- package/cjs/PropertySymbol.d.ts.map +0 -1
- package/cjs/async-task-manager/AsyncTaskManager.cjs +0 -301
- package/cjs/async-task-manager/AsyncTaskManager.cjs.map +0 -1
- package/cjs/async-task-manager/AsyncTaskManager.d.ts +0 -101
- package/cjs/async-task-manager/AsyncTaskManager.d.ts.map +0 -1
- package/cjs/base64/Base64.cjs +0 -89
- package/cjs/base64/Base64.cjs.map +0 -1
- package/cjs/base64/Base64.d.ts +0 -24
- package/cjs/base64/Base64.d.ts.map +0 -1
- package/cjs/browser/Browser.cjs +0 -149
- package/cjs/browser/Browser.cjs.map +0 -1
- package/cjs/browser/Browser.d.ts +0 -66
- package/cjs/browser/Browser.d.ts.map +0 -1
- package/cjs/browser/BrowserContext.cjs +0 -84
- package/cjs/browser/BrowserContext.cjs.map +0 -1
- package/cjs/browser/BrowserContext.d.ts +0 -44
- package/cjs/browser/BrowserContext.d.ts.map +0 -1
- package/cjs/browser/BrowserFrame.cjs +0 -235
- package/cjs/browser/BrowserFrame.cjs.map +0 -1
- package/cjs/browser/BrowserFrame.d.ts +0 -120
- package/cjs/browser/BrowserFrame.d.ts.map +0 -1
- package/cjs/browser/BrowserPage.cjs +0 -162
- package/cjs/browser/BrowserPage.cjs.map +0 -1
- package/cjs/browser/BrowserPage.d.ts +0 -118
- package/cjs/browser/BrowserPage.d.ts.map +0 -1
- package/cjs/browser/BrowserSettingsFactory.cjs +0 -50
- package/cjs/browser/BrowserSettingsFactory.cjs.map +0 -1
- package/cjs/browser/BrowserSettingsFactory.d.ts +0 -16
- package/cjs/browser/BrowserSettingsFactory.d.ts.map +0 -1
- package/cjs/browser/DefaultBrowserPageViewport.cjs +0 -8
- package/cjs/browser/DefaultBrowserPageViewport.cjs.map +0 -1
- package/cjs/browser/DefaultBrowserPageViewport.d.ts +0 -4
- package/cjs/browser/DefaultBrowserPageViewport.d.ts.map +0 -1
- package/cjs/browser/DefaultBrowserSettings.cjs +0 -51
- package/cjs/browser/DefaultBrowserSettings.cjs.map +0 -1
- package/cjs/browser/DefaultBrowserSettings.d.ts +0 -4
- package/cjs/browser/DefaultBrowserSettings.d.ts.map +0 -1
- package/cjs/browser/detached-browser/DetachedBrowser.cjs +0 -143
- package/cjs/browser/detached-browser/DetachedBrowser.cjs.map +0 -1
- package/cjs/browser/detached-browser/DetachedBrowser.d.ts +0 -76
- package/cjs/browser/detached-browser/DetachedBrowser.d.ts.map +0 -1
- package/cjs/browser/detached-browser/DetachedBrowserContext.cjs +0 -87
- package/cjs/browser/detached-browser/DetachedBrowserContext.cjs.map +0 -1
- package/cjs/browser/detached-browser/DetachedBrowserContext.d.ts +0 -45
- package/cjs/browser/detached-browser/DetachedBrowserContext.d.ts.map +0 -1
- package/cjs/browser/detached-browser/DetachedBrowserFrame.cjs +0 -248
- package/cjs/browser/detached-browser/DetachedBrowserFrame.cjs.map +0 -1
- package/cjs/browser/detached-browser/DetachedBrowserFrame.d.ts +0 -121
- package/cjs/browser/detached-browser/DetachedBrowserFrame.d.ts.map +0 -1
- package/cjs/browser/detached-browser/DetachedBrowserPage.cjs +0 -176
- package/cjs/browser/detached-browser/DetachedBrowserPage.cjs.map +0 -1
- package/cjs/browser/detached-browser/DetachedBrowserPage.d.ts +0 -118
- package/cjs/browser/detached-browser/DetachedBrowserPage.d.ts.map +0 -1
- package/cjs/browser/enums/BrowserErrorCaptureEnum.cjs +0 -13
- package/cjs/browser/enums/BrowserErrorCaptureEnum.cjs.map +0 -1
- package/cjs/browser/enums/BrowserErrorCaptureEnum.d.ts +0 -10
- package/cjs/browser/enums/BrowserErrorCaptureEnum.d.ts.map +0 -1
- package/cjs/browser/enums/BrowserNavigationCrossOriginPolicyEnum.cjs +0 -13
- package/cjs/browser/enums/BrowserNavigationCrossOriginPolicyEnum.cjs.map +0 -1
- package/cjs/browser/enums/BrowserNavigationCrossOriginPolicyEnum.d.ts +0 -10
- package/cjs/browser/enums/BrowserNavigationCrossOriginPolicyEnum.d.ts.map +0 -1
- package/cjs/browser/types/IBrowser.cjs +0 -37
- package/cjs/browser/types/IBrowser.cjs.map +0 -1
- package/cjs/browser/types/IBrowser.d.ts +0 -45
- package/cjs/browser/types/IBrowser.d.ts.map +0 -1
- package/cjs/browser/types/IBrowserContext.cjs +0 -3
- package/cjs/browser/types/IBrowserContext.cjs.map +0 -1
- package/cjs/browser/types/IBrowserContext.d.ts +0 -37
- package/cjs/browser/types/IBrowserContext.d.ts.map +0 -1
- package/cjs/browser/types/IBrowserFrame.cjs +0 -37
- package/cjs/browser/types/IBrowserFrame.cjs.map +0 -1
- package/cjs/browser/types/IBrowserFrame.d.ts +0 -83
- package/cjs/browser/types/IBrowserFrame.d.ts.map +0 -1
- package/cjs/browser/types/IBrowserPage.cjs +0 -3
- package/cjs/browser/types/IBrowserPage.cjs.map +0 -1
- package/cjs/browser/types/IBrowserPage.d.ts +0 -83
- package/cjs/browser/types/IBrowserPage.d.ts.map +0 -1
- package/cjs/browser/types/IBrowserPageViewport.cjs +0 -3
- package/cjs/browser/types/IBrowserPageViewport.cjs.map +0 -1
- package/cjs/browser/types/IBrowserPageViewport.d.ts +0 -6
- package/cjs/browser/types/IBrowserPageViewport.d.ts.map +0 -1
- package/cjs/browser/types/IBrowserSettings.cjs +0 -3
- package/cjs/browser/types/IBrowserSettings.cjs.map +0 -1
- package/cjs/browser/types/IBrowserSettings.d.ts +0 -109
- package/cjs/browser/types/IBrowserSettings.d.ts.map +0 -1
- package/cjs/browser/types/IGoToOptions.cjs +0 -3
- package/cjs/browser/types/IGoToOptions.cjs.map +0 -1
- package/cjs/browser/types/IGoToOptions.d.ts +0 -16
- package/cjs/browser/types/IGoToOptions.d.ts.map +0 -1
- package/cjs/browser/types/IOptionalBrowserPageViewport.cjs +0 -3
- package/cjs/browser/types/IOptionalBrowserPageViewport.cjs.map +0 -1
- package/cjs/browser/types/IOptionalBrowserPageViewport.d.ts +0 -6
- package/cjs/browser/types/IOptionalBrowserPageViewport.d.ts.map +0 -1
- package/cjs/browser/types/IOptionalBrowserSettings.cjs +0 -3
- package/cjs/browser/types/IOptionalBrowserSettings.cjs.map +0 -1
- package/cjs/browser/types/IOptionalBrowserSettings.d.ts +0 -103
- package/cjs/browser/types/IOptionalBrowserSettings.d.ts.map +0 -1
- package/cjs/browser/types/IReloadOptions.cjs +0 -3
- package/cjs/browser/types/IReloadOptions.cjs.map +0 -1
- package/cjs/browser/types/IReloadOptions.d.ts +0 -14
- package/cjs/browser/types/IReloadOptions.d.ts.map +0 -1
- package/cjs/browser/utilities/BrowserExceptionObserver.cjs +0 -102
- package/cjs/browser/utilities/BrowserExceptionObserver.cjs.map +0 -1
- package/cjs/browser/utilities/BrowserExceptionObserver.d.ts +0 -23
- package/cjs/browser/utilities/BrowserExceptionObserver.d.ts.map +0 -1
- package/cjs/browser/utilities/BrowserFrameFactory.cjs +0 -117
- package/cjs/browser/utilities/BrowserFrameFactory.cjs.map +0 -1
- package/cjs/browser/utilities/BrowserFrameFactory.d.ts +0 -20
- package/cjs/browser/utilities/BrowserFrameFactory.d.ts.map +0 -1
- package/cjs/browser/utilities/BrowserFrameNavigator.cjs +0 -422
- package/cjs/browser/utilities/BrowserFrameNavigator.cjs.map +0 -1
- package/cjs/browser/utilities/BrowserFrameNavigator.d.ts +0 -108
- package/cjs/browser/utilities/BrowserFrameNavigator.d.ts.map +0 -1
- package/cjs/browser/utilities/BrowserFrameScriptEvaluator.cjs +0 -24
- package/cjs/browser/utilities/BrowserFrameScriptEvaluator.cjs.map +0 -1
- package/cjs/browser/utilities/BrowserFrameScriptEvaluator.d.ts +0 -16
- package/cjs/browser/utilities/BrowserFrameScriptEvaluator.d.ts.map +0 -1
- package/cjs/browser/utilities/BrowserFrameURL.cjs +0 -29
- package/cjs/browser/utilities/BrowserFrameURL.cjs.map +0 -1
- package/cjs/browser/utilities/BrowserFrameURL.d.ts +0 -16
- package/cjs/browser/utilities/BrowserFrameURL.d.ts.map +0 -1
- package/cjs/browser/utilities/BrowserFrameValidator.cjs +0 -105
- package/cjs/browser/utilities/BrowserFrameValidator.cjs.map +0 -1
- package/cjs/browser/utilities/BrowserFrameValidator.d.ts +0 -23
- package/cjs/browser/utilities/BrowserFrameValidator.d.ts.map +0 -1
- package/cjs/browser/utilities/BrowserPageUtility.cjs +0 -53
- package/cjs/browser/utilities/BrowserPageUtility.cjs.map +0 -1
- package/cjs/browser/utilities/BrowserPageUtility.d.ts +0 -28
- package/cjs/browser/utilities/BrowserPageUtility.d.ts.map +0 -1
- package/cjs/clipboard/Clipboard.cjs +0 -100
- package/cjs/clipboard/Clipboard.cjs.map +0 -1
- package/cjs/clipboard/Clipboard.d.ts +0 -42
- package/cjs/clipboard/Clipboard.d.ts.map +0 -1
- package/cjs/clipboard/ClipboardItem.cjs +0 -55
- package/cjs/clipboard/ClipboardItem.cjs.map +0 -1
- package/cjs/clipboard/ClipboardItem.d.ts +0 -37
- package/cjs/clipboard/ClipboardItem.d.ts.map +0 -1
- package/cjs/config/HTMLElementConfig.cjs +0 -494
- package/cjs/config/HTMLElementConfig.cjs.map +0 -1
- package/cjs/config/HTMLElementConfig.d.ts +0 -19
- package/cjs/config/HTMLElementConfig.d.ts.map +0 -1
- package/cjs/config/HTMLElementConfigContentModelEnum.cjs +0 -15
- package/cjs/config/HTMLElementConfigContentModelEnum.cjs.map +0 -1
- package/cjs/config/HTMLElementConfigContentModelEnum.d.ts +0 -12
- package/cjs/config/HTMLElementConfigContentModelEnum.d.ts.map +0 -1
- package/cjs/config/IHTMLElementTagNameMap.cjs +0 -3
- package/cjs/config/IHTMLElementTagNameMap.cjs.map +0 -1
- package/cjs/config/IHTMLElementTagNameMap.d.ts +0 -181
- package/cjs/config/IHTMLElementTagNameMap.d.ts.map +0 -1
- package/cjs/config/ISVGElementTagNameMap.cjs +0 -3
- package/cjs/config/ISVGElementTagNameMap.cjs.map +0 -1
- package/cjs/config/ISVGElementTagNameMap.d.ts +0 -127
- package/cjs/config/ISVGElementTagNameMap.d.ts.map +0 -1
- package/cjs/config/NamespaceURI.cjs +0 -11
- package/cjs/config/NamespaceURI.cjs.map +0 -1
- package/cjs/config/NamespaceURI.d.ts +0 -10
- package/cjs/config/NamespaceURI.d.ts.map +0 -1
- package/cjs/config/SVGElementConfig.cjs +0 -73
- package/cjs/config/SVGElementConfig.cjs.map +0 -1
- package/cjs/config/SVGElementConfig.d.ts +0 -8
- package/cjs/config/SVGElementConfig.d.ts.map +0 -1
- package/cjs/console/IVirtualConsoleLogEntry.cjs +0 -3
- package/cjs/console/IVirtualConsoleLogEntry.cjs.map +0 -1
- package/cjs/console/IVirtualConsoleLogEntry.d.ts +0 -10
- package/cjs/console/IVirtualConsoleLogEntry.d.ts.map +0 -1
- package/cjs/console/IVirtualConsoleLogGroup.cjs +0 -3
- package/cjs/console/IVirtualConsoleLogGroup.cjs.map +0 -1
- package/cjs/console/IVirtualConsoleLogGroup.d.ts +0 -7
- package/cjs/console/IVirtualConsoleLogGroup.d.ts.map +0 -1
- package/cjs/console/IVirtualConsolePrinter.cjs +0 -3
- package/cjs/console/IVirtualConsolePrinter.cjs.map +0 -1
- package/cjs/console/IVirtualConsolePrinter.d.ts +0 -52
- package/cjs/console/IVirtualConsolePrinter.d.ts.map +0 -1
- package/cjs/console/VirtualConsole.cjs +0 -339
- package/cjs/console/VirtualConsole.cjs.map +0 -1
- package/cjs/console/VirtualConsole.d.ts +0 -167
- package/cjs/console/VirtualConsole.d.ts.map +0 -1
- package/cjs/console/VirtualConsolePrinter.cjs +0 -138
- package/cjs/console/VirtualConsolePrinter.cjs.map +0 -1
- package/cjs/console/VirtualConsolePrinter.d.ts +0 -64
- package/cjs/console/VirtualConsolePrinter.d.ts.map +0 -1
- package/cjs/console/enums/VirtualConsoleLogLevelEnum.cjs +0 -16
- package/cjs/console/enums/VirtualConsoleLogLevelEnum.cjs.map +0 -1
- package/cjs/console/enums/VirtualConsoleLogLevelEnum.d.ts +0 -13
- package/cjs/console/enums/VirtualConsoleLogLevelEnum.d.ts.map +0 -1
- package/cjs/console/enums/VirtualConsoleLogTypeEnum.cjs +0 -30
- package/cjs/console/enums/VirtualConsoleLogTypeEnum.cjs.map +0 -1
- package/cjs/console/enums/VirtualConsoleLogTypeEnum.d.ts +0 -23
- package/cjs/console/enums/VirtualConsoleLogTypeEnum.d.ts.map +0 -1
- package/cjs/console/utilities/VirtualConsoleLogEntryStringifier.cjs +0 -97
- package/cjs/console/utilities/VirtualConsoleLogEntryStringifier.cjs.map +0 -1
- package/cjs/console/utilities/VirtualConsoleLogEntryStringifier.d.ts +0 -35
- package/cjs/console/utilities/VirtualConsoleLogEntryStringifier.d.ts.map +0 -1
- package/cjs/cookie/CookieContainer.cjs +0 -70
- package/cjs/cookie/CookieContainer.cjs.map +0 -1
- package/cjs/cookie/CookieContainer.d.ts +0 -32
- package/cjs/cookie/CookieContainer.d.ts.map +0 -1
- package/cjs/cookie/DefaultCookie.cjs +0 -20
- package/cjs/cookie/DefaultCookie.cjs.map +0 -1
- package/cjs/cookie/DefaultCookie.d.ts +0 -4
- package/cjs/cookie/DefaultCookie.d.ts.map +0 -1
- package/cjs/cookie/ICookie.cjs +0 -3
- package/cjs/cookie/ICookie.cjs.map +0 -1
- package/cjs/cookie/ICookie.d.ts +0 -13
- package/cjs/cookie/ICookie.d.ts.map +0 -1
- package/cjs/cookie/ICookieContainer.cjs +0 -3
- package/cjs/cookie/ICookieContainer.cjs.map +0 -1
- package/cjs/cookie/ICookieContainer.d.ts +0 -30
- package/cjs/cookie/ICookieContainer.d.ts.map +0 -1
- package/cjs/cookie/IOptionalCookie.cjs +0 -3
- package/cjs/cookie/IOptionalCookie.cjs.map +0 -1
- package/cjs/cookie/IOptionalCookie.d.ts +0 -13
- package/cjs/cookie/IOptionalCookie.d.ts.map +0 -1
- package/cjs/cookie/enums/CookieSameSiteEnum.cjs +0 -10
- package/cjs/cookie/enums/CookieSameSiteEnum.cjs.map +0 -1
- package/cjs/cookie/enums/CookieSameSiteEnum.d.ts +0 -7
- package/cjs/cookie/enums/CookieSameSiteEnum.d.ts.map +0 -1
- package/cjs/cookie/urilities/CookieExpireUtility.cjs +0 -18
- package/cjs/cookie/urilities/CookieExpireUtility.cjs.map +0 -1
- package/cjs/cookie/urilities/CookieExpireUtility.d.ts +0 -14
- package/cjs/cookie/urilities/CookieExpireUtility.d.ts.map +0 -1
- package/cjs/cookie/urilities/CookieStringUtility.cjs +0 -107
- package/cjs/cookie/urilities/CookieStringUtility.cjs.map +0 -1
- package/cjs/cookie/urilities/CookieStringUtility.d.ts +0 -24
- package/cjs/cookie/urilities/CookieStringUtility.d.ts.map +0 -1
- package/cjs/cookie/urilities/CookieURLUtility.cjs +0 -29
- package/cjs/cookie/urilities/CookieURLUtility.cjs.map +0 -1
- package/cjs/cookie/urilities/CookieURLUtility.d.ts +0 -16
- package/cjs/cookie/urilities/CookieURLUtility.d.ts.map +0 -1
- package/cjs/css/CSS.cjs +0 -67
- package/cjs/css/CSS.cjs.map +0 -1
- package/cjs/css/CSS.d.ts +0 -56
- package/cjs/css/CSS.d.ts.map +0 -1
- package/cjs/css/CSSRule.cjs +0 -88
- package/cjs/css/CSSRule.cjs.map +0 -1
- package/cjs/css/CSSRule.d.ts +0 -41
- package/cjs/css/CSSRule.d.ts.map +0 -1
- package/cjs/css/CSSRuleTypeEnum.cjs +0 -21
- package/cjs/css/CSSRuleTypeEnum.cjs.map +0 -1
- package/cjs/css/CSSRuleTypeEnum.d.ts +0 -18
- package/cjs/css/CSSRuleTypeEnum.d.ts.map +0 -1
- package/cjs/css/CSSStyleSheet.cjs +0 -140
- package/cjs/css/CSSStyleSheet.cjs.map +0 -1
- package/cjs/css/CSSStyleSheet.d.ts +0 -66
- package/cjs/css/CSSStyleSheet.d.ts.map +0 -1
- package/cjs/css/CSSUnitValue.cjs +0 -31
- package/cjs/css/CSSUnitValue.cjs.map +0 -1
- package/cjs/css/CSSUnitValue.d.ts +0 -15
- package/cjs/css/CSSUnitValue.d.ts.map +0 -1
- package/cjs/css/CSSUnits.cjs +0 -34
- package/cjs/css/CSSUnits.cjs.map +0 -1
- package/cjs/css/CSSUnits.d.ts +0 -3
- package/cjs/css/CSSUnits.d.ts.map +0 -1
- package/cjs/css/MediaList.cjs +0 -59
- package/cjs/css/MediaList.cjs.map +0 -1
- package/cjs/css/MediaList.d.ts +0 -33
- package/cjs/css/MediaList.d.ts.map +0 -1
- package/cjs/css/declaration/CSSStyleDeclaration.cjs +0 -3781
- package/cjs/css/declaration/CSSStyleDeclaration.cjs.map +0 -1
- package/cjs/css/declaration/CSSStyleDeclaration.d.ts +0 -1273
- package/cjs/css/declaration/CSSStyleDeclaration.d.ts.map +0 -1
- package/cjs/css/declaration/computed-style/CSSStyleDeclarationComputedStyle.cjs +0 -361
- package/cjs/css/declaration/computed-style/CSSStyleDeclarationComputedStyle.cjs.map +0 -1
- package/cjs/css/declaration/computed-style/CSSStyleDeclarationComputedStyle.d.ts +0 -52
- package/cjs/css/declaration/computed-style/CSSStyleDeclarationComputedStyle.d.ts.map +0 -1
- package/cjs/css/declaration/computed-style/config/CSSStyleDeclarationElementDefaultCSS.cjs +0 -136
- package/cjs/css/declaration/computed-style/config/CSSStyleDeclarationElementDefaultCSS.cjs.map +0 -1
- package/cjs/css/declaration/computed-style/config/CSSStyleDeclarationElementDefaultCSS.d.ts +0 -135
- package/cjs/css/declaration/computed-style/config/CSSStyleDeclarationElementDefaultCSS.d.ts.map +0 -1
- package/cjs/css/declaration/computed-style/config/CSSStyleDeclarationElementInheritedProperties.cjs +0 -42
- package/cjs/css/declaration/computed-style/config/CSSStyleDeclarationElementInheritedProperties.cjs.map +0 -1
- package/cjs/css/declaration/computed-style/config/CSSStyleDeclarationElementInheritedProperties.d.ts +0 -41
- package/cjs/css/declaration/computed-style/config/CSSStyleDeclarationElementInheritedProperties.d.ts.map +0 -1
- package/cjs/css/declaration/computed-style/config/CSSStyleDeclarationElementMeasurementProperties.cjs +0 -44
- package/cjs/css/declaration/computed-style/config/CSSStyleDeclarationElementMeasurementProperties.cjs.map +0 -1
- package/cjs/css/declaration/computed-style/config/CSSStyleDeclarationElementMeasurementProperties.d.ts +0 -3
- package/cjs/css/declaration/computed-style/config/CSSStyleDeclarationElementMeasurementProperties.d.ts.map +0 -1
- package/cjs/css/declaration/css-parser/CSSStyleDeclarationCSSParser.cjs +0 -39
- package/cjs/css/declaration/css-parser/CSSStyleDeclarationCSSParser.cjs.map +0 -1
- package/cjs/css/declaration/css-parser/CSSStyleDeclarationCSSParser.d.ts +0 -22
- package/cjs/css/declaration/css-parser/CSSStyleDeclarationCSSParser.d.ts.map +0 -1
- package/cjs/css/declaration/measurement-converter/CSSMeasurementConverter.cjs +0 -70
- package/cjs/css/declaration/measurement-converter/CSSMeasurementConverter.cjs.map +0 -1
- package/cjs/css/declaration/measurement-converter/CSSMeasurementConverter.d.ts +0 -32
- package/cjs/css/declaration/measurement-converter/CSSMeasurementConverter.d.ts.map +0 -1
- package/cjs/css/declaration/property-manager/CSSStyleDeclarationPropertyGetParser.cjs +0 -575
- package/cjs/css/declaration/property-manager/CSSStyleDeclarationPropertyGetParser.cjs.map +0 -1
- package/cjs/css/declaration/property-manager/CSSStyleDeclarationPropertyGetParser.d.ts +0 -177
- package/cjs/css/declaration/property-manager/CSSStyleDeclarationPropertyGetParser.d.ts.map +0 -1
- package/cjs/css/declaration/property-manager/CSSStyleDeclarationPropertyManager.cjs +0 -600
- package/cjs/css/declaration/property-manager/CSSStyleDeclarationPropertyManager.cjs.map +0 -1
- package/cjs/css/declaration/property-manager/CSSStyleDeclarationPropertyManager.d.ts +0 -66
- package/cjs/css/declaration/property-manager/CSSStyleDeclarationPropertyManager.d.ts.map +0 -1
- package/cjs/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.cjs +0 -2510
- package/cjs/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.cjs.map +0 -1
- package/cjs/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.d.ts +0 -910
- package/cjs/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.d.ts.map +0 -1
- package/cjs/css/declaration/property-manager/CSSStyleDeclarationValueParser.cjs +0 -432
- package/cjs/css/declaration/property-manager/CSSStyleDeclarationValueParser.cjs.map +0 -1
- package/cjs/css/declaration/property-manager/CSSStyleDeclarationValueParser.d.ts +0 -128
- package/cjs/css/declaration/property-manager/CSSStyleDeclarationValueParser.d.ts.map +0 -1
- package/cjs/css/declaration/property-manager/ICSSStyleDeclarationPropertyValue.cjs +0 -3
- package/cjs/css/declaration/property-manager/ICSSStyleDeclarationPropertyValue.cjs.map +0 -1
- package/cjs/css/declaration/property-manager/ICSSStyleDeclarationPropertyValue.d.ts +0 -5
- package/cjs/css/declaration/property-manager/ICSSStyleDeclarationPropertyValue.d.ts.map +0 -1
- package/cjs/css/rules/CSSContainerRule.cjs +0 -29
- package/cjs/css/rules/CSSContainerRule.cjs.map +0 -1
- package/cjs/css/rules/CSSContainerRule.d.ts +0 -17
- package/cjs/css/rules/CSSContainerRule.d.ts.map +0 -1
- package/cjs/css/rules/CSSFontFaceRule.cjs +0 -73
- package/cjs/css/rules/CSSFontFaceRule.cjs.map +0 -1
- package/cjs/css/rules/CSSFontFaceRule.d.ts +0 -25
- package/cjs/css/rules/CSSFontFaceRule.d.ts.map +0 -1
- package/cjs/css/rules/CSSKeyframeRule.cjs +0 -74
- package/cjs/css/rules/CSSKeyframeRule.cjs.map +0 -1
- package/cjs/css/rules/CSSKeyframeRule.d.ts +0 -26
- package/cjs/css/rules/CSSKeyframeRule.d.ts.map +0 -1
- package/cjs/css/rules/CSSKeyframesRule.cjs +0 -96
- package/cjs/css/rules/CSSKeyframesRule.cjs.map +0 -1
- package/cjs/css/rules/CSSKeyframesRule.d.ts +0 -30
- package/cjs/css/rules/CSSKeyframesRule.d.ts.map +0 -1
- package/cjs/css/rules/CSSMediaRule.cjs +0 -38
- package/cjs/css/rules/CSSMediaRule.cjs.map +0 -1
- package/cjs/css/rules/CSSMediaRule.d.ts +0 -24
- package/cjs/css/rules/CSSMediaRule.d.ts.map +0 -1
- package/cjs/css/rules/CSSStyleRule.cjs +0 -75
- package/cjs/css/rules/CSSStyleRule.cjs.map +0 -1
- package/cjs/css/rules/CSSStyleRule.d.ts +0 -27
- package/cjs/css/rules/CSSStyleRule.d.ts.map +0 -1
- package/cjs/css/rules/CSSSupportsRule.cjs +0 -29
- package/cjs/css/rules/CSSSupportsRule.cjs.map +0 -1
- package/cjs/css/rules/CSSSupportsRule.d.ts +0 -17
- package/cjs/css/rules/CSSSupportsRule.d.ts.map +0 -1
- package/cjs/css/utilities/CSSEscaper.cjs +0 -80
- package/cjs/css/utilities/CSSEscaper.cjs.map +0 -1
- package/cjs/css/utilities/CSSEscaper.d.ts +0 -16
- package/cjs/css/utilities/CSSEscaper.d.ts.map +0 -1
- package/cjs/css/utilities/CSSParser.cjs +0 -250
- package/cjs/css/utilities/CSSParser.cjs.map +0 -1
- package/cjs/css/utilities/CSSParser.d.ts +0 -24
- package/cjs/css/utilities/CSSParser.d.ts.map +0 -1
- package/cjs/custom-element/CustomElementReactionStack.cjs +0 -115
- package/cjs/custom-element/CustomElementReactionStack.cjs.map +0 -1
- package/cjs/custom-element/CustomElementReactionStack.d.ts +0 -27
- package/cjs/custom-element/CustomElementReactionStack.d.ts.map +0 -1
- package/cjs/custom-element/CustomElementRegistry.cjs +0 -188
- package/cjs/custom-element/CustomElementRegistry.cjs.map +0 -1
- package/cjs/custom-element/CustomElementRegistry.d.ts +0 -65
- package/cjs/custom-element/CustomElementRegistry.d.ts.map +0 -1
- package/cjs/custom-element/CustomElementUtility.cjs +0 -35
- package/cjs/custom-element/CustomElementUtility.cjs.map +0 -1
- package/cjs/custom-element/CustomElementUtility.d.ts +0 -14
- package/cjs/custom-element/CustomElementUtility.d.ts.map +0 -1
- package/cjs/custom-element/ICustomElementDefinition.cjs +0 -3
- package/cjs/custom-element/ICustomElementDefinition.cjs.map +0 -1
- package/cjs/custom-element/ICustomElementDefinition.d.ts +0 -12
- package/cjs/custom-element/ICustomElementDefinition.d.ts.map +0 -1
- package/cjs/dom/DOMPoint.cjs +0 -113
- package/cjs/dom/DOMPoint.cjs.map +0 -1
- package/cjs/dom/DOMPoint.d.ts +0 -57
- package/cjs/dom/DOMPoint.d.ts.map +0 -1
- package/cjs/dom/DOMPointReadOnly.cjs +0 -120
- package/cjs/dom/DOMPointReadOnly.cjs.map +0 -1
- package/cjs/dom/DOMPointReadOnly.d.ts +0 -60
- package/cjs/dom/DOMPointReadOnly.d.ts.map +0 -1
- package/cjs/dom/DOMRect.cjs +0 -122
- package/cjs/dom/DOMRect.cjs.map +0 -1
- package/cjs/dom/DOMRect.d.ts +0 -65
- package/cjs/dom/DOMRect.d.ts.map +0 -1
- package/cjs/dom/DOMRectList.cjs +0 -66
- package/cjs/dom/DOMRectList.cjs.map +0 -1
- package/cjs/dom/DOMRectList.d.ts +0 -21
- package/cjs/dom/DOMRectList.d.ts.map +0 -1
- package/cjs/dom/DOMRectReadOnly.cjs +0 -153
- package/cjs/dom/DOMRectReadOnly.cjs.map +0 -1
- package/cjs/dom/DOMRectReadOnly.d.ts +0 -84
- package/cjs/dom/DOMRectReadOnly.d.ts.map +0 -1
- package/cjs/dom/DOMStringMap.cjs +0 -113
- package/cjs/dom/DOMStringMap.cjs.map +0 -1
- package/cjs/dom/DOMStringMap.d.ts +0 -18
- package/cjs/dom/DOMStringMap.d.ts.map +0 -1
- package/cjs/dom/DOMStringMapUtility.cjs +0 -36
- package/cjs/dom/DOMStringMapUtility.cjs.map +0 -1
- package/cjs/dom/DOMStringMapUtility.d.ts +0 -23
- package/cjs/dom/DOMStringMapUtility.d.ts.map +0 -1
- package/cjs/dom/DOMTokenList.cjs +0 -335
- package/cjs/dom/DOMTokenList.cjs.map +0 -1
- package/cjs/dom/DOMTokenList.d.ts +0 -121
- package/cjs/dom/DOMTokenList.d.ts.map +0 -1
- package/cjs/dom/IDOMPointInit.cjs +0 -3
- package/cjs/dom/IDOMPointInit.cjs.map +0 -1
- package/cjs/dom/IDOMPointInit.d.ts +0 -7
- package/cjs/dom/IDOMPointInit.d.ts.map +0 -1
- package/cjs/dom/IDOMRectInit.cjs +0 -3
- package/cjs/dom/IDOMRectInit.cjs.map +0 -1
- package/cjs/dom/IDOMRectInit.d.ts +0 -7
- package/cjs/dom/IDOMRectInit.d.ts.map +0 -1
- package/cjs/dom/dom-matrix/DOMMatrix.cjs +0 -464
- package/cjs/dom/dom-matrix/DOMMatrix.cjs.map +0 -1
- package/cjs/dom/dom-matrix/DOMMatrix.d.ts +0 -296
- package/cjs/dom/dom-matrix/DOMMatrix.d.ts.map +0 -1
- package/cjs/dom/dom-matrix/DOMMatrixReadOnly.cjs +0 -1419
- package/cjs/dom/dom-matrix/DOMMatrixReadOnly.cjs.map +0 -1
- package/cjs/dom/dom-matrix/DOMMatrixReadOnly.d.ts +0 -485
- package/cjs/dom/dom-matrix/DOMMatrixReadOnly.d.ts.map +0 -1
- package/cjs/dom/dom-matrix/IDOMMatrixCompatibleObject.cjs +0 -3
- package/cjs/dom/dom-matrix/IDOMMatrixCompatibleObject.cjs.map +0 -1
- package/cjs/dom/dom-matrix/IDOMMatrixCompatibleObject.d.ts +0 -25
- package/cjs/dom/dom-matrix/IDOMMatrixCompatibleObject.d.ts.map +0 -1
- package/cjs/dom/dom-matrix/IDOMMatrixJSON.cjs +0 -3
- package/cjs/dom/dom-matrix/IDOMMatrixJSON.cjs.map +0 -1
- package/cjs/dom/dom-matrix/IDOMMatrixJSON.d.ts +0 -27
- package/cjs/dom/dom-matrix/IDOMMatrixJSON.d.ts.map +0 -1
- package/cjs/dom/dom-matrix/TDOMMatrix2DArray.cjs +0 -3
- package/cjs/dom/dom-matrix/TDOMMatrix2DArray.cjs.map +0 -1
- package/cjs/dom/dom-matrix/TDOMMatrix2DArray.d.ts +0 -4
- package/cjs/dom/dom-matrix/TDOMMatrix2DArray.d.ts.map +0 -1
- package/cjs/dom/dom-matrix/TDOMMatrix3DArray.cjs +0 -3
- package/cjs/dom/dom-matrix/TDOMMatrix3DArray.cjs.map +0 -1
- package/cjs/dom/dom-matrix/TDOMMatrix3DArray.d.ts +0 -21
- package/cjs/dom/dom-matrix/TDOMMatrix3DArray.d.ts.map +0 -1
- package/cjs/dom/dom-matrix/TDOMMatrixInit.cjs +0 -3
- package/cjs/dom/dom-matrix/TDOMMatrixInit.cjs.map +0 -1
- package/cjs/dom/dom-matrix/TDOMMatrixInit.d.ts +0 -4
- package/cjs/dom/dom-matrix/TDOMMatrixInit.d.ts.map +0 -1
- package/cjs/dom-implementation/DOMImplementation.cjs +0 -89
- package/cjs/dom-implementation/DOMImplementation.cjs.map +0 -1
- package/cjs/dom-implementation/DOMImplementation.d.ts +0 -37
- package/cjs/dom-implementation/DOMImplementation.d.ts.map +0 -1
- package/cjs/dom-parser/DOMParser.cjs +0 -77
- package/cjs/dom-parser/DOMParser.cjs.map +0 -1
- package/cjs/dom-parser/DOMParser.d.ts +0 -21
- package/cjs/dom-parser/DOMParser.d.ts.map +0 -1
- package/cjs/event/DataTransfer.cjs +0 -90
- package/cjs/event/DataTransfer.cjs.map +0 -1
- package/cjs/event/DataTransfer.d.ts +0 -50
- package/cjs/event/DataTransfer.d.ts.map +0 -1
- package/cjs/event/DataTransferItem.cjs +0 -46
- package/cjs/event/DataTransferItem.cjs.map +0 -1
- package/cjs/event/DataTransferItem.d.ts +0 -30
- package/cjs/event/DataTransferItem.d.ts.map +0 -1
- package/cjs/event/DataTransferItemList.cjs +0 -46
- package/cjs/event/DataTransferItemList.cjs.map +0 -1
- package/cjs/event/DataTransferItemList.d.ts +0 -25
- package/cjs/event/DataTransferItemList.d.ts.map +0 -1
- package/cjs/event/Event.cjs +0 -226
- package/cjs/event/Event.cjs.map +0 -1
- package/cjs/event/Event.d.ts +0 -125
- package/cjs/event/Event.d.ts.map +0 -1
- package/cjs/event/EventPhaseEnum.cjs +0 -11
- package/cjs/event/EventPhaseEnum.cjs.map +0 -1
- package/cjs/event/EventPhaseEnum.d.ts +0 -8
- package/cjs/event/EventPhaseEnum.d.ts.map +0 -1
- package/cjs/event/EventTarget.cjs +0 -312
- package/cjs/event/EventTarget.cjs.map +0 -1
- package/cjs/event/EventTarget.d.ts +0 -73
- package/cjs/event/EventTarget.d.ts.map +0 -1
- package/cjs/event/IEventInit.cjs +0 -3
- package/cjs/event/IEventInit.cjs.map +0 -1
- package/cjs/event/IEventInit.d.ts +0 -6
- package/cjs/event/IEventInit.d.ts.map +0 -1
- package/cjs/event/IEventListenerOptions.cjs +0 -3
- package/cjs/event/IEventListenerOptions.cjs.map +0 -1
- package/cjs/event/IEventListenerOptions.d.ts +0 -8
- package/cjs/event/IEventListenerOptions.d.ts.map +0 -1
- package/cjs/event/ITouchInit.cjs +0 -3
- package/cjs/event/ITouchInit.cjs.map +0 -1
- package/cjs/event/ITouchInit.d.ts +0 -16
- package/cjs/event/ITouchInit.d.ts.map +0 -1
- package/cjs/event/IUIEventInit.cjs +0 -3
- package/cjs/event/IUIEventInit.cjs.map +0 -1
- package/cjs/event/IUIEventInit.d.ts +0 -7
- package/cjs/event/IUIEventInit.d.ts.map +0 -1
- package/cjs/event/MessagePort.cjs +0 -36
- package/cjs/event/MessagePort.cjs.map +0 -1
- package/cjs/event/MessagePort.d.ts +0 -24
- package/cjs/event/MessagePort.d.ts.map +0 -1
- package/cjs/event/TEventListener.cjs +0 -3
- package/cjs/event/TEventListener.cjs.map +0 -1
- package/cjs/event/TEventListener.d.ts +0 -5
- package/cjs/event/TEventListener.d.ts.map +0 -1
- package/cjs/event/TEventListenerFunction.cjs +0 -3
- package/cjs/event/TEventListenerFunction.cjs.map +0 -1
- package/cjs/event/TEventListenerFunction.d.ts +0 -4
- package/cjs/event/TEventListenerFunction.d.ts.map +0 -1
- package/cjs/event/TEventListenerObject.cjs +0 -3
- package/cjs/event/TEventListenerObject.cjs.map +0 -1
- package/cjs/event/TEventListenerObject.d.ts +0 -6
- package/cjs/event/TEventListenerObject.d.ts.map +0 -1
- package/cjs/event/Touch.cjs +0 -40
- package/cjs/event/Touch.cjs.map +0 -1
- package/cjs/event/Touch.d.ts +0 -26
- package/cjs/event/Touch.d.ts.map +0 -1
- package/cjs/event/UIEvent.cjs +0 -34
- package/cjs/event/UIEvent.cjs.map +0 -1
- package/cjs/event/UIEvent.d.ts +0 -26
- package/cjs/event/UIEvent.d.ts.map +0 -1
- package/cjs/event/events/AnimationEvent.cjs +0 -28
- package/cjs/event/events/AnimationEvent.cjs.map +0 -1
- package/cjs/event/events/AnimationEvent.d.ts +0 -18
- package/cjs/event/events/AnimationEvent.d.ts.map +0 -1
- package/cjs/event/events/ClipboardEvent.cjs +0 -24
- package/cjs/event/events/ClipboardEvent.cjs.map +0 -1
- package/cjs/event/events/ClipboardEvent.d.ts +0 -17
- package/cjs/event/events/ClipboardEvent.d.ts.map +0 -1
- package/cjs/event/events/CustomEvent.cjs +0 -82
- package/cjs/event/events/CustomEvent.cjs.map +0 -1
- package/cjs/event/events/CustomEvent.d.ts +0 -33
- package/cjs/event/events/CustomEvent.d.ts.map +0 -1
- package/cjs/event/events/ErrorEvent.cjs +0 -32
- package/cjs/event/events/ErrorEvent.cjs.map +0 -1
- package/cjs/event/events/ErrorEvent.d.ts +0 -20
- package/cjs/event/events/ErrorEvent.d.ts.map +0 -1
- package/cjs/event/events/FocusEvent.cjs +0 -24
- package/cjs/event/events/FocusEvent.cjs.map +0 -1
- package/cjs/event/events/FocusEvent.d.ts +0 -17
- package/cjs/event/events/FocusEvent.d.ts.map +0 -1
- package/cjs/event/events/HashChangeEvent.cjs +0 -28
- package/cjs/event/events/HashChangeEvent.cjs.map +0 -1
- package/cjs/event/events/HashChangeEvent.d.ts +0 -19
- package/cjs/event/events/HashChangeEvent.d.ts.map +0 -1
- package/cjs/event/events/IAnimationEventInit.cjs +0 -3
- package/cjs/event/events/IAnimationEventInit.cjs.map +0 -1
- package/cjs/event/events/IAnimationEventInit.d.ts +0 -7
- package/cjs/event/events/IAnimationEventInit.d.ts.map +0 -1
- package/cjs/event/events/IClipboardEventInit.cjs +0 -3
- package/cjs/event/events/IClipboardEventInit.cjs.map +0 -1
- package/cjs/event/events/IClipboardEventInit.d.ts +0 -6
- package/cjs/event/events/IClipboardEventInit.d.ts.map +0 -1
- package/cjs/event/events/ICustomEventInit.cjs +0 -3
- package/cjs/event/events/ICustomEventInit.cjs.map +0 -1
- package/cjs/event/events/ICustomEventInit.d.ts +0 -5
- package/cjs/event/events/ICustomEventInit.d.ts.map +0 -1
- package/cjs/event/events/IErrorEventInit.cjs +0 -3
- package/cjs/event/events/IErrorEventInit.cjs.map +0 -1
- package/cjs/event/events/IErrorEventInit.d.ts +0 -9
- package/cjs/event/events/IErrorEventInit.d.ts.map +0 -1
- package/cjs/event/events/IFocusEventInit.cjs +0 -3
- package/cjs/event/events/IFocusEventInit.cjs.map +0 -1
- package/cjs/event/events/IFocusEventInit.d.ts +0 -6
- package/cjs/event/events/IFocusEventInit.d.ts.map +0 -1
- package/cjs/event/events/IHashChangeEventInit.cjs +0 -3
- package/cjs/event/events/IHashChangeEventInit.cjs.map +0 -1
- package/cjs/event/events/IHashChangeEventInit.d.ts +0 -6
- package/cjs/event/events/IHashChangeEventInit.d.ts.map +0 -1
- package/cjs/event/events/IInputEventInit.cjs +0 -3
- package/cjs/event/events/IInputEventInit.cjs.map +0 -1
- package/cjs/event/events/IInputEventInit.d.ts +0 -9
- package/cjs/event/events/IInputEventInit.d.ts.map +0 -1
- package/cjs/event/events/IKeyboardEventInit.cjs +0 -3
- package/cjs/event/events/IKeyboardEventInit.cjs.map +0 -1
- package/cjs/event/events/IKeyboardEventInit.d.ts +0 -17
- package/cjs/event/events/IKeyboardEventInit.d.ts.map +0 -1
- package/cjs/event/events/IMediaQueryListEventInit.cjs +0 -3
- package/cjs/event/events/IMediaQueryListEventInit.cjs.map +0 -1
- package/cjs/event/events/IMediaQueryListEventInit.d.ts +0 -6
- package/cjs/event/events/IMediaQueryListEventInit.d.ts.map +0 -1
- package/cjs/event/events/IMediaQueryListInit.cjs +0 -3
- package/cjs/event/events/IMediaQueryListInit.cjs.map +0 -1
- package/cjs/event/events/IMediaQueryListInit.d.ts +0 -6
- package/cjs/event/events/IMediaQueryListInit.d.ts.map +0 -1
- package/cjs/event/events/IMessageEventInit.cjs +0 -3
- package/cjs/event/events/IMessageEventInit.cjs.map +0 -1
- package/cjs/event/events/IMessageEventInit.d.ts +0 -11
- package/cjs/event/events/IMessageEventInit.d.ts.map +0 -1
- package/cjs/event/events/IMouseEventInit.cjs +0 -3
- package/cjs/event/events/IMouseEventInit.cjs.map +0 -1
- package/cjs/event/events/IMouseEventInit.d.ts +0 -21
- package/cjs/event/events/IMouseEventInit.d.ts.map +0 -1
- package/cjs/event/events/IPointerEventInit.cjs +0 -3
- package/cjs/event/events/IPointerEventInit.cjs.map +0 -1
- package/cjs/event/events/IPointerEventInit.d.ts +0 -19
- package/cjs/event/events/IPointerEventInit.d.ts.map +0 -1
- package/cjs/event/events/IProgressEventInit.cjs +0 -3
- package/cjs/event/events/IProgressEventInit.cjs.map +0 -1
- package/cjs/event/events/IProgressEventInit.d.ts +0 -7
- package/cjs/event/events/IProgressEventInit.d.ts.map +0 -1
- package/cjs/event/events/IStorageEventInit.cjs +0 -3
- package/cjs/event/events/IStorageEventInit.cjs.map +0 -1
- package/cjs/event/events/IStorageEventInit.d.ts +0 -10
- package/cjs/event/events/IStorageEventInit.d.ts.map +0 -1
- package/cjs/event/events/ISubmitEventInit.cjs +0 -3
- package/cjs/event/events/ISubmitEventInit.cjs.map +0 -1
- package/cjs/event/events/ISubmitEventInit.d.ts +0 -6
- package/cjs/event/events/ISubmitEventInit.d.ts.map +0 -1
- package/cjs/event/events/ITouchEventInit.cjs +0 -3
- package/cjs/event/events/ITouchEventInit.cjs.map +0 -1
- package/cjs/event/events/ITouchEventInit.d.ts +0 -12
- package/cjs/event/events/ITouchEventInit.d.ts.map +0 -1
- package/cjs/event/events/IWheelEventInit.cjs +0 -3
- package/cjs/event/events/IWheelEventInit.cjs.map +0 -1
- package/cjs/event/events/IWheelEventInit.d.ts +0 -8
- package/cjs/event/events/IWheelEventInit.d.ts.map +0 -1
- package/cjs/event/events/InputEvent.cjs +0 -30
- package/cjs/event/events/InputEvent.cjs.map +0 -1
- package/cjs/event/events/InputEvent.d.ts +0 -20
- package/cjs/event/events/InputEvent.d.ts.map +0 -1
- package/cjs/event/events/KeyboardEvent.cjs +0 -73
- package/cjs/event/events/KeyboardEvent.cjs.map +0 -1
- package/cjs/event/events/KeyboardEvent.d.ts +0 -39
- package/cjs/event/events/KeyboardEvent.d.ts.map +0 -1
- package/cjs/event/events/MediaQueryListEvent.cjs +0 -26
- package/cjs/event/events/MediaQueryListEvent.cjs.map +0 -1
- package/cjs/event/events/MediaQueryListEvent.d.ts +0 -17
- package/cjs/event/events/MediaQueryListEvent.d.ts.map +0 -1
- package/cjs/event/events/MediaStreamTrackEvent.cjs +0 -24
- package/cjs/event/events/MediaStreamTrackEvent.cjs.map +0 -1
- package/cjs/event/events/MediaStreamTrackEvent.d.ts +0 -17
- package/cjs/event/events/MediaStreamTrackEvent.d.ts.map +0 -1
- package/cjs/event/events/MessageEvent.cjs +0 -34
- package/cjs/event/events/MessageEvent.cjs.map +0 -1
- package/cjs/event/events/MessageEvent.d.ts +0 -24
- package/cjs/event/events/MessageEvent.d.ts.map +0 -1
- package/cjs/event/events/MouseEvent.cjs +0 -54
- package/cjs/event/events/MouseEvent.cjs.map +0 -1
- package/cjs/event/events/MouseEvent.d.ts +0 -32
- package/cjs/event/events/MouseEvent.d.ts.map +0 -1
- package/cjs/event/events/PointerEvent.cjs +0 -52
- package/cjs/event/events/PointerEvent.cjs.map +0 -1
- package/cjs/event/events/PointerEvent.d.ts +0 -31
- package/cjs/event/events/PointerEvent.d.ts.map +0 -1
- package/cjs/event/events/ProgressEvent.cjs +0 -28
- package/cjs/event/events/ProgressEvent.cjs.map +0 -1
- package/cjs/event/events/ProgressEvent.d.ts +0 -18
- package/cjs/event/events/ProgressEvent.d.ts.map +0 -1
- package/cjs/event/events/StorageEvent.cjs +0 -32
- package/cjs/event/events/StorageEvent.cjs.map +0 -1
- package/cjs/event/events/StorageEvent.d.ts +0 -21
- package/cjs/event/events/StorageEvent.d.ts.map +0 -1
- package/cjs/event/events/SubmitEvent.cjs +0 -24
- package/cjs/event/events/SubmitEvent.cjs.map +0 -1
- package/cjs/event/events/SubmitEvent.d.ts +0 -17
- package/cjs/event/events/SubmitEvent.d.ts.map +0 -1
- package/cjs/event/events/TouchEvent.cjs +0 -36
- package/cjs/event/events/TouchEvent.cjs.map +0 -1
- package/cjs/event/events/TouchEvent.d.ts +0 -23
- package/cjs/event/events/TouchEvent.d.ts.map +0 -1
- package/cjs/event/events/WheelEvent.cjs +0 -33
- package/cjs/event/events/WheelEvent.cjs.map +0 -1
- package/cjs/event/events/WheelEvent.d.ts +0 -22
- package/cjs/event/events/WheelEvent.d.ts.map +0 -1
- package/cjs/exception/DOMException.cjs +0 -26
- package/cjs/exception/DOMException.cjs.map +0 -1
- package/cjs/exception/DOMException.d.ts +0 -16
- package/cjs/exception/DOMException.d.ts.map +0 -1
- package/cjs/exception/DOMExceptionNameEnum.cjs +0 -27
- package/cjs/exception/DOMExceptionNameEnum.cjs.map +0 -1
- package/cjs/exception/DOMExceptionNameEnum.d.ts +0 -24
- package/cjs/exception/DOMExceptionNameEnum.d.ts.map +0 -1
- package/cjs/fetch/AbortController.cjs +0 -55
- package/cjs/fetch/AbortController.cjs.map +0 -1
- package/cjs/fetch/AbortController.d.ts +0 -19
- package/cjs/fetch/AbortController.d.ts.map +0 -1
- package/cjs/fetch/AbortSignal.cjs +0 -191
- package/cjs/fetch/AbortSignal.cjs.map +0 -1
- package/cjs/fetch/AbortSignal.d.ts +0 -86
- package/cjs/fetch/AbortSignal.d.ts.map +0 -1
- package/cjs/fetch/Fetch.cjs +0 -839
- package/cjs/fetch/Fetch.cjs.map +0 -1
- package/cjs/fetch/Fetch.d.ts +0 -137
- package/cjs/fetch/Fetch.d.ts.map +0 -1
- package/cjs/fetch/Headers.cjs +0 -194
- package/cjs/fetch/Headers.cjs.map +0 -1
- package/cjs/fetch/Headers.d.ts +0 -92
- package/cjs/fetch/Headers.d.ts.map +0 -1
- package/cjs/fetch/Request.cjs +0 -416
- package/cjs/fetch/Request.cjs.map +0 -1
- package/cjs/fetch/Request.d.ts +0 -163
- package/cjs/fetch/Request.d.ts.map +0 -1
- package/cjs/fetch/ResourceFetch.cjs +0 -163
- package/cjs/fetch/ResourceFetch.cjs.map +0 -1
- package/cjs/fetch/ResourceFetch.d.ts +0 -45
- package/cjs/fetch/ResourceFetch.d.ts.map +0 -1
- package/cjs/fetch/Response.cjs +0 -366
- package/cjs/fetch/Response.cjs.map +0 -1
- package/cjs/fetch/Response.d.ts +0 -117
- package/cjs/fetch/Response.d.ts.map +0 -1
- package/cjs/fetch/SyncFetch.cjs +0 -571
- package/cjs/fetch/SyncFetch.cjs.map +0 -1
- package/cjs/fetch/SyncFetch.d.ts +0 -90
- package/cjs/fetch/SyncFetch.d.ts.map +0 -1
- package/cjs/fetch/cache/preflight/ICachablePreflightRequest.cjs +0 -3
- package/cjs/fetch/cache/preflight/ICachablePreflightRequest.cjs.map +0 -1
- package/cjs/fetch/cache/preflight/ICachablePreflightRequest.d.ts +0 -7
- package/cjs/fetch/cache/preflight/ICachablePreflightRequest.d.ts.map +0 -1
- package/cjs/fetch/cache/preflight/ICachablePreflightResponse.cjs +0 -3
- package/cjs/fetch/cache/preflight/ICachablePreflightResponse.cjs.map +0 -1
- package/cjs/fetch/cache/preflight/ICachablePreflightResponse.d.ts +0 -7
- package/cjs/fetch/cache/preflight/ICachablePreflightResponse.d.ts.map +0 -1
- package/cjs/fetch/cache/preflight/ICachedPreflightResponse.cjs +0 -3
- package/cjs/fetch/cache/preflight/ICachedPreflightResponse.cjs.map +0 -1
- package/cjs/fetch/cache/preflight/ICachedPreflightResponse.d.ts +0 -6
- package/cjs/fetch/cache/preflight/ICachedPreflightResponse.d.ts.map +0 -1
- package/cjs/fetch/cache/preflight/IPreflightResponseCache.cjs +0 -3
- package/cjs/fetch/cache/preflight/IPreflightResponseCache.cjs.map +0 -1
- package/cjs/fetch/cache/preflight/IPreflightResponseCache.d.ts +0 -28
- package/cjs/fetch/cache/preflight/IPreflightResponseCache.d.ts.map +0 -1
- package/cjs/fetch/cache/preflight/PreflightResponseCache.cjs +0 -75
- package/cjs/fetch/cache/preflight/PreflightResponseCache.cjs.map +0 -1
- package/cjs/fetch/cache/preflight/PreflightResponseCache.d.ts +0 -32
- package/cjs/fetch/cache/preflight/PreflightResponseCache.d.ts.map +0 -1
- package/cjs/fetch/cache/response/CachedResponseStateEnum.cjs +0 -9
- package/cjs/fetch/cache/response/CachedResponseStateEnum.cjs.map +0 -1
- package/cjs/fetch/cache/response/CachedResponseStateEnum.d.ts +0 -6
- package/cjs/fetch/cache/response/CachedResponseStateEnum.d.ts.map +0 -1
- package/cjs/fetch/cache/response/ICachableRequest.cjs +0 -3
- package/cjs/fetch/cache/response/ICachableRequest.cjs.map +0 -1
- package/cjs/fetch/cache/response/ICachableRequest.d.ts +0 -7
- package/cjs/fetch/cache/response/ICachableRequest.d.ts.map +0 -1
- package/cjs/fetch/cache/response/ICachableResponse.cjs +0 -3
- package/cjs/fetch/cache/response/ICachableResponse.cjs.map +0 -1
- package/cjs/fetch/cache/response/ICachableResponse.d.ts +0 -10
- package/cjs/fetch/cache/response/ICachableResponse.d.ts.map +0 -1
- package/cjs/fetch/cache/response/ICachedResponse.cjs +0 -3
- package/cjs/fetch/cache/response/ICachedResponse.cjs.map +0 -1
- package/cjs/fetch/cache/response/ICachedResponse.d.ts +0 -37
- package/cjs/fetch/cache/response/ICachedResponse.d.ts.map +0 -1
- package/cjs/fetch/cache/response/IResponseCache.cjs +0 -3
- package/cjs/fetch/cache/response/IResponseCache.cjs.map +0 -1
- package/cjs/fetch/cache/response/IResponseCache.d.ts +0 -35
- package/cjs/fetch/cache/response/IResponseCache.d.ts.map +0 -1
- package/cjs/fetch/cache/response/ResponseCache.cjs +0 -205
- package/cjs/fetch/cache/response/ResponseCache.cjs.map +0 -1
- package/cjs/fetch/cache/response/ResponseCache.d.ts +0 -40
- package/cjs/fetch/cache/response/ResponseCache.d.ts.map +0 -1
- package/cjs/fetch/certificate/FetchHTTPSCertificate.cjs +0 -55
- package/cjs/fetch/certificate/FetchHTTPSCertificate.cjs.map +0 -1
- package/cjs/fetch/certificate/FetchHTTPSCertificate.d.ts +0 -6
- package/cjs/fetch/certificate/FetchHTTPSCertificate.d.ts.map +0 -1
- package/cjs/fetch/data-uri/DataURIParser.cjs +0 -60
- package/cjs/fetch/data-uri/DataURIParser.cjs.map +0 -1
- package/cjs/fetch/data-uri/DataURIParser.d.ts +0 -20
- package/cjs/fetch/data-uri/DataURIParser.d.ts.map +0 -1
- package/cjs/fetch/multipart/MultipartFormDataParser.cjs +0 -152
- package/cjs/fetch/multipart/MultipartFormDataParser.cjs.map +0 -1
- package/cjs/fetch/multipart/MultipartFormDataParser.d.ts +0 -53
- package/cjs/fetch/multipart/MultipartFormDataParser.d.ts.map +0 -1
- package/cjs/fetch/multipart/MultipartReader.cjs +0 -180
- package/cjs/fetch/multipart/MultipartReader.cjs.map +0 -1
- package/cjs/fetch/multipart/MultipartReader.d.ts +0 -52
- package/cjs/fetch/multipart/MultipartReader.d.ts.map +0 -1
- package/cjs/fetch/preload/PreloadEntry.cjs +0 -47
- package/cjs/fetch/preload/PreloadEntry.cjs.map +0 -1
- package/cjs/fetch/preload/PreloadEntry.d.ts +0 -26
- package/cjs/fetch/preload/PreloadEntry.d.ts.map +0 -1
- package/cjs/fetch/preload/PreloadUtility.cjs +0 -29
- package/cjs/fetch/preload/PreloadUtility.cjs.map +0 -1
- package/cjs/fetch/preload/PreloadUtility.d.ts +0 -26
- package/cjs/fetch/preload/PreloadUtility.d.ts.map +0 -1
- package/cjs/fetch/types/IFetchInterceptor.cjs +0 -3
- package/cjs/fetch/types/IFetchInterceptor.cjs.map +0 -1
- package/cjs/fetch/types/IFetchInterceptor.d.ts +0 -57
- package/cjs/fetch/types/IFetchInterceptor.d.ts.map +0 -1
- package/cjs/fetch/types/IHeadersInit.cjs +0 -3
- package/cjs/fetch/types/IHeadersInit.cjs.map +0 -1
- package/cjs/fetch/types/IHeadersInit.d.ts +0 -6
- package/cjs/fetch/types/IHeadersInit.d.ts.map +0 -1
- package/cjs/fetch/types/IRequestBody.cjs +0 -3
- package/cjs/fetch/types/IRequestBody.cjs.map +0 -1
- package/cjs/fetch/types/IRequestBody.d.ts +0 -7
- package/cjs/fetch/types/IRequestBody.d.ts.map +0 -1
- package/cjs/fetch/types/IRequestCredentials.cjs +0 -3
- package/cjs/fetch/types/IRequestCredentials.cjs.map +0 -1
- package/cjs/fetch/types/IRequestCredentials.d.ts +0 -3
- package/cjs/fetch/types/IRequestCredentials.d.ts.map +0 -1
- package/cjs/fetch/types/IRequestInfo.cjs +0 -3
- package/cjs/fetch/types/IRequestInfo.cjs.map +0 -1
- package/cjs/fetch/types/IRequestInfo.d.ts +0 -5
- package/cjs/fetch/types/IRequestInfo.d.ts.map +0 -1
- package/cjs/fetch/types/IRequestInit.cjs +0 -3
- package/cjs/fetch/types/IRequestInit.cjs.map +0 -1
- package/cjs/fetch/types/IRequestInit.d.ts +0 -23
- package/cjs/fetch/types/IRequestInit.d.ts.map +0 -1
- package/cjs/fetch/types/IRequestMode.cjs +0 -3
- package/cjs/fetch/types/IRequestMode.cjs.map +0 -1
- package/cjs/fetch/types/IRequestMode.d.ts +0 -3
- package/cjs/fetch/types/IRequestMode.d.ts.map +0 -1
- package/cjs/fetch/types/IRequestRedirect.cjs +0 -3
- package/cjs/fetch/types/IRequestRedirect.cjs.map +0 -1
- package/cjs/fetch/types/IRequestRedirect.d.ts +0 -3
- package/cjs/fetch/types/IRequestRedirect.d.ts.map +0 -1
- package/cjs/fetch/types/IRequestReferrerPolicy.cjs +0 -3
- package/cjs/fetch/types/IRequestReferrerPolicy.cjs.map +0 -1
- package/cjs/fetch/types/IRequestReferrerPolicy.d.ts +0 -3
- package/cjs/fetch/types/IRequestReferrerPolicy.d.ts.map +0 -1
- package/cjs/fetch/types/IResponseBody.cjs +0 -3
- package/cjs/fetch/types/IResponseBody.cjs.map +0 -1
- package/cjs/fetch/types/IResponseBody.d.ts +0 -7
- package/cjs/fetch/types/IResponseBody.d.ts.map +0 -1
- package/cjs/fetch/types/IResponseInit.cjs +0 -3
- package/cjs/fetch/types/IResponseInit.cjs.map +0 -1
- package/cjs/fetch/types/IResponseInit.d.ts +0 -10
- package/cjs/fetch/types/IResponseInit.d.ts.map +0 -1
- package/cjs/fetch/types/ISyncResponse.cjs +0 -3
- package/cjs/fetch/types/ISyncResponse.cjs.map +0 -1
- package/cjs/fetch/types/ISyncResponse.d.ts +0 -16
- package/cjs/fetch/types/ISyncResponse.d.ts.map +0 -1
- package/cjs/fetch/types/IVirtualServer.cjs +0 -3
- package/cjs/fetch/types/IVirtualServer.cjs.map +0 -1
- package/cjs/fetch/types/IVirtualServer.d.ts +0 -8
- package/cjs/fetch/types/IVirtualServer.d.ts.map +0 -1
- package/cjs/fetch/utilities/FetchBodyUtility.cjs +0 -272
- package/cjs/fetch/utilities/FetchBodyUtility.cjs.map +0 -1
- package/cjs/fetch/utilities/FetchBodyUtility.d.ts +0 -83
- package/cjs/fetch/utilities/FetchBodyUtility.d.ts.map +0 -1
- package/cjs/fetch/utilities/FetchCORSUtility.cjs +0 -26
- package/cjs/fetch/utilities/FetchCORSUtility.cjs.map +0 -1
- package/cjs/fetch/utilities/FetchCORSUtility.d.ts +0 -14
- package/cjs/fetch/utilities/FetchCORSUtility.d.ts.map +0 -1
- package/cjs/fetch/utilities/FetchRequestHeaderUtility.cjs +0 -153
- package/cjs/fetch/utilities/FetchRequestHeaderUtility.cjs.map +0 -1
- package/cjs/fetch/utilities/FetchRequestHeaderUtility.d.ts +0 -41
- package/cjs/fetch/utilities/FetchRequestHeaderUtility.d.ts.map +0 -1
- package/cjs/fetch/utilities/FetchRequestReferrerUtility.cjs +0 -246
- package/cjs/fetch/utilities/FetchRequestReferrerUtility.cjs.map +0 -1
- package/cjs/fetch/utilities/FetchRequestReferrerUtility.d.ts +0 -62
- package/cjs/fetch/utilities/FetchRequestReferrerUtility.d.ts.map +0 -1
- package/cjs/fetch/utilities/FetchRequestValidationUtility.cjs +0 -133
- package/cjs/fetch/utilities/FetchRequestValidationUtility.cjs.map +0 -1
- package/cjs/fetch/utilities/FetchRequestValidationUtility.d.ts +0 -53
- package/cjs/fetch/utilities/FetchRequestValidationUtility.d.ts.map +0 -1
- package/cjs/fetch/utilities/FetchResponseHeaderUtility.cjs +0 -49
- package/cjs/fetch/utilities/FetchResponseHeaderUtility.cjs.map +0 -1
- package/cjs/fetch/utilities/FetchResponseHeaderUtility.d.ts +0 -23
- package/cjs/fetch/utilities/FetchResponseHeaderUtility.d.ts.map +0 -1
- package/cjs/fetch/utilities/FetchResponseRedirectUtility.cjs +0 -29
- package/cjs/fetch/utilities/FetchResponseRedirectUtility.cjs.map +0 -1
- package/cjs/fetch/utilities/FetchResponseRedirectUtility.d.ts +0 -20
- package/cjs/fetch/utilities/FetchResponseRedirectUtility.d.ts.map +0 -1
- package/cjs/fetch/utilities/SyncFetchScriptBuilder.cjs +0 -64
- package/cjs/fetch/utilities/SyncFetchScriptBuilder.cjs.map +0 -1
- package/cjs/fetch/utilities/SyncFetchScriptBuilder.d.ts +0 -27
- package/cjs/fetch/utilities/SyncFetchScriptBuilder.d.ts.map +0 -1
- package/cjs/fetch/utilities/VirtualServerUtility.cjs +0 -84
- package/cjs/fetch/utilities/VirtualServerUtility.cjs.map +0 -1
- package/cjs/fetch/utilities/VirtualServerUtility.d.ts +0 -31
- package/cjs/fetch/utilities/VirtualServerUtility.d.ts.map +0 -1
- package/cjs/file/Blob.cjs +0 -184
- package/cjs/file/Blob.cjs.map +0 -1
- package/cjs/file/Blob.d.ts +0 -67
- package/cjs/file/Blob.d.ts.map +0 -1
- package/cjs/file/File.cjs +0 -39
- package/cjs/file/File.cjs.map +0 -1
- package/cjs/file/File.d.ts +0 -28
- package/cjs/file/File.d.ts.map +0 -1
- package/cjs/file/FileReader.cjs +0 -210
- package/cjs/file/FileReader.cjs.map +0 -1
- package/cjs/file/FileReader.d.ts +0 -57
- package/cjs/file/FileReader.d.ts.map +0 -1
- package/cjs/file/FileReaderEventTypeEnum.cjs +0 -13
- package/cjs/file/FileReaderEventTypeEnum.cjs.map +0 -1
- package/cjs/file/FileReaderEventTypeEnum.d.ts +0 -10
- package/cjs/file/FileReaderEventTypeEnum.d.ts.map +0 -1
- package/cjs/file/FileReaderFormatEnum.cjs +0 -11
- package/cjs/file/FileReaderFormatEnum.cjs.map +0 -1
- package/cjs/file/FileReaderFormatEnum.d.ts +0 -8
- package/cjs/file/FileReaderFormatEnum.d.ts.map +0 -1
- package/cjs/file/FileReaderReadyStateEnum.cjs +0 -10
- package/cjs/file/FileReaderReadyStateEnum.cjs.map +0 -1
- package/cjs/file/FileReaderReadyStateEnum.d.ts +0 -7
- package/cjs/file/FileReaderReadyStateEnum.d.ts.map +0 -1
- package/cjs/form-data/FormData.cjs +0 -273
- package/cjs/form-data/FormData.cjs.map +0 -1
- package/cjs/form-data/FormData.d.ts +0 -94
- package/cjs/form-data/FormData.d.ts.map +0 -1
- package/cjs/history/History.cjs +0 -235
- package/cjs/history/History.cjs.map +0 -1
- package/cjs/history/History.d.ts +0 -82
- package/cjs/history/History.d.ts.map +0 -1
- package/cjs/history/HistoryScrollRestorationEnum.cjs +0 -9
- package/cjs/history/HistoryScrollRestorationEnum.cjs.map +0 -1
- package/cjs/history/HistoryScrollRestorationEnum.d.ts +0 -6
- package/cjs/history/HistoryScrollRestorationEnum.d.ts.map +0 -1
- package/cjs/history/IHistoryItem.cjs +0 -3
- package/cjs/history/IHistoryItem.cjs.map +0 -1
- package/cjs/history/IHistoryItem.d.ts +0 -12
- package/cjs/history/IHistoryItem.d.ts.map +0 -1
- package/cjs/html-parser/HTMLParser.cjs +0 -771
- package/cjs/html-parser/HTMLParser.cjs.map +0 -1
- package/cjs/html-parser/HTMLParser.d.ts +0 -91
- package/cjs/html-parser/HTMLParser.d.ts.map +0 -1
- package/cjs/html-serializer/HTMLSerializer.cjs +0 -162
- package/cjs/html-serializer/HTMLSerializer.cjs.map +0 -1
- package/cjs/html-serializer/HTMLSerializer.d.ts +0 -36
- package/cjs/html-serializer/HTMLSerializer.d.ts.map +0 -1
- package/cjs/index.cjs +0 -407
- package/cjs/index.cjs.map +0 -1
- package/cjs/index.d.ts +0 -214
- package/cjs/index.d.ts.map +0 -1
- package/cjs/intersection-observer/IIntersectionObserverInit.cjs +0 -3
- package/cjs/intersection-observer/IIntersectionObserverInit.cjs.map +0 -1
- package/cjs/intersection-observer/IIntersectionObserverInit.d.ts +0 -16
- package/cjs/intersection-observer/IIntersectionObserverInit.d.ts.map +0 -1
- package/cjs/intersection-observer/IntersectionObserver.cjs +0 -56
- package/cjs/intersection-observer/IntersectionObserver.cjs.map +0 -1
- package/cjs/intersection-observer/IntersectionObserver.d.ts +0 -41
- package/cjs/intersection-observer/IntersectionObserver.d.ts.map +0 -1
- package/cjs/intersection-observer/IntersectionObserverEntry.cjs +0 -26
- package/cjs/intersection-observer/IntersectionObserverEntry.cjs.map +0 -1
- package/cjs/intersection-observer/IntersectionObserverEntry.d.ts +0 -23
- package/cjs/intersection-observer/IntersectionObserverEntry.d.ts.map +0 -1
- package/cjs/location/Location.cjs +0 -290
- package/cjs/location/Location.cjs.map +0 -1
- package/cjs/location/Location.d.ts +0 -149
- package/cjs/location/Location.d.ts.map +0 -1
- package/cjs/match-media/IMediaQueryRange.cjs +0 -3
- package/cjs/match-media/IMediaQueryRange.cjs.map +0 -1
- package/cjs/match-media/IMediaQueryRange.d.ts +0 -12
- package/cjs/match-media/IMediaQueryRange.d.ts.map +0 -1
- package/cjs/match-media/IMediaQueryRule.cjs +0 -3
- package/cjs/match-media/IMediaQueryRule.cjs.map +0 -1
- package/cjs/match-media/IMediaQueryRule.d.ts +0 -5
- package/cjs/match-media/IMediaQueryRule.d.ts.map +0 -1
- package/cjs/match-media/MediaQueryItem.cjs +0 -303
- package/cjs/match-media/MediaQueryItem.cjs.map +0 -1
- package/cjs/match-media/MediaQueryItem.d.ts +0 -77
- package/cjs/match-media/MediaQueryItem.d.ts.map +0 -1
- package/cjs/match-media/MediaQueryList.cjs +0 -151
- package/cjs/match-media/MediaQueryList.cjs.map +0 -1
- package/cjs/match-media/MediaQueryList.d.ts +0 -62
- package/cjs/match-media/MediaQueryList.d.ts.map +0 -1
- package/cjs/match-media/MediaQueryParser.cjs +0 -112
- package/cjs/match-media/MediaQueryParser.cjs.map +0 -1
- package/cjs/match-media/MediaQueryParser.d.ts +0 -22
- package/cjs/match-media/MediaQueryParser.d.ts.map +0 -1
- package/cjs/match-media/MediaQueryTypeEnum.cjs +0 -10
- package/cjs/match-media/MediaQueryTypeEnum.cjs.map +0 -1
- package/cjs/match-media/MediaQueryTypeEnum.d.ts +0 -7
- package/cjs/match-media/MediaQueryTypeEnum.d.ts.map +0 -1
- package/cjs/module/CSSModule.cjs +0 -47
- package/cjs/module/CSSModule.cjs.map +0 -1
- package/cjs/module/CSSModule.d.ts +0 -34
- package/cjs/module/CSSModule.d.ts.map +0 -1
- package/cjs/module/ECMAScriptModule.cjs +0 -167
- package/cjs/module/ECMAScriptModule.cjs.map +0 -1
- package/cjs/module/ECMAScriptModule.d.ts +0 -36
- package/cjs/module/ECMAScriptModule.d.ts.map +0 -1
- package/cjs/module/ECMAScriptModuleCompiler.cjs +0 -563
- package/cjs/module/ECMAScriptModuleCompiler.cjs.map +0 -1
- package/cjs/module/ECMAScriptModuleCompiler.d.ts +0 -31
- package/cjs/module/ECMAScriptModuleCompiler.d.ts.map +0 -1
- package/cjs/module/IECMAScriptModuleCompiledResult.cjs +0 -3
- package/cjs/module/IECMAScriptModuleCompiledResult.cjs.map +0 -1
- package/cjs/module/IECMAScriptModuleCompiledResult.d.ts +0 -21
- package/cjs/module/IECMAScriptModuleCompiledResult.d.ts.map +0 -1
- package/cjs/module/IECMAScriptModuleImport.cjs +0 -3
- package/cjs/module/IECMAScriptModuleImport.cjs.map +0 -1
- package/cjs/module/IECMAScriptModuleImport.d.ts +0 -5
- package/cjs/module/IECMAScriptModuleImport.d.ts.map +0 -1
- package/cjs/module/IModule.cjs +0 -3
- package/cjs/module/IModule.cjs.map +0 -1
- package/cjs/module/IModule.d.ts +0 -21
- package/cjs/module/IModule.d.ts.map +0 -1
- package/cjs/module/IModuleImportMap.cjs +0 -3
- package/cjs/module/IModuleImportMap.cjs.map +0 -1
- package/cjs/module/IModuleImportMap.d.ts +0 -10
- package/cjs/module/IModuleImportMap.d.ts.map +0 -1
- package/cjs/module/IModuleImportMapRule.cjs +0 -3
- package/cjs/module/IModuleImportMapRule.cjs.map +0 -1
- package/cjs/module/IModuleImportMapRule.d.ts +0 -5
- package/cjs/module/IModuleImportMapRule.d.ts.map +0 -1
- package/cjs/module/IModuleImportMapScope.cjs +0 -3
- package/cjs/module/IModuleImportMapScope.cjs.map +0 -1
- package/cjs/module/IModuleImportMapScope.d.ts +0 -6
- package/cjs/module/IModuleImportMapScope.d.ts.map +0 -1
- package/cjs/module/JSONModule.cjs +0 -52
- package/cjs/module/JSONModule.cjs.map +0 -1
- package/cjs/module/JSONModule.d.ts +0 -33
- package/cjs/module/JSONModule.d.ts.map +0 -1
- package/cjs/module/ModuleFactory.cjs +0 -146
- package/cjs/module/ModuleFactory.cjs.map +0 -1
- package/cjs/module/ModuleFactory.d.ts +0 -33
- package/cjs/module/ModuleFactory.d.ts.map +0 -1
- package/cjs/module/ModuleURLUtility.cjs +0 -77
- package/cjs/module/ModuleURLUtility.cjs.map +0 -1
- package/cjs/module/ModuleURLUtility.d.ts +0 -17
- package/cjs/module/ModuleURLUtility.d.ts.map +0 -1
- package/cjs/module/UnresolvedModule.cjs +0 -70
- package/cjs/module/UnresolvedModule.cjs.map +0 -1
- package/cjs/module/UnresolvedModule.d.ts +0 -43
- package/cjs/module/UnresolvedModule.d.ts.map +0 -1
- package/cjs/mutation-observer/IMutationListener.cjs +0 -3
- package/cjs/mutation-observer/IMutationListener.cjs.map +0 -1
- package/cjs/mutation-observer/IMutationListener.d.ts +0 -7
- package/cjs/mutation-observer/IMutationListener.d.ts.map +0 -1
- package/cjs/mutation-observer/IMutationObserverInit.cjs +0 -3
- package/cjs/mutation-observer/IMutationObserverInit.cjs.map +0 -1
- package/cjs/mutation-observer/IMutationObserverInit.d.ts +0 -15
- package/cjs/mutation-observer/IMutationObserverInit.d.ts.map +0 -1
- package/cjs/mutation-observer/MutationObserver.cjs +0 -173
- package/cjs/mutation-observer/MutationObserver.cjs.map +0 -1
- package/cjs/mutation-observer/MutationObserver.d.ts +0 -42
- package/cjs/mutation-observer/MutationObserver.d.ts.map +0 -1
- package/cjs/mutation-observer/MutationObserverListener.cjs +0 -97
- package/cjs/mutation-observer/MutationObserverListener.cjs.map +0 -1
- package/cjs/mutation-observer/MutationObserverListener.d.ts +0 -47
- package/cjs/mutation-observer/MutationObserverListener.d.ts.map +0 -1
- package/cjs/mutation-observer/MutationRecord.cjs +0 -45
- package/cjs/mutation-observer/MutationRecord.cjs.map +0 -1
- package/cjs/mutation-observer/MutationRecord.d.ts +0 -44
- package/cjs/mutation-observer/MutationRecord.d.ts.map +0 -1
- package/cjs/mutation-observer/MutationTypeEnum.cjs +0 -10
- package/cjs/mutation-observer/MutationTypeEnum.cjs.map +0 -1
- package/cjs/mutation-observer/MutationTypeEnum.d.ts +0 -7
- package/cjs/mutation-observer/MutationTypeEnum.d.ts.map +0 -1
- package/cjs/navigator/MimeType.cjs +0 -35
- package/cjs/navigator/MimeType.cjs.map +0 -1
- package/cjs/navigator/MimeType.d.ts +0 -26
- package/cjs/navigator/MimeType.d.ts.map +0 -1
- package/cjs/navigator/MimeTypeArray.cjs +0 -45
- package/cjs/navigator/MimeTypeArray.cjs.map +0 -1
- package/cjs/navigator/MimeTypeArray.d.ts +0 -32
- package/cjs/navigator/MimeTypeArray.d.ts.map +0 -1
- package/cjs/navigator/Navigator.cjs +0 -219
- package/cjs/navigator/Navigator.cjs.map +0 -1
- package/cjs/navigator/Navigator.d.ts +0 -145
- package/cjs/navigator/Navigator.d.ts.map +0 -1
- package/cjs/navigator/Plugin.cjs +0 -57
- package/cjs/navigator/Plugin.cjs.map +0 -1
- package/cjs/navigator/Plugin.d.ts +0 -41
- package/cjs/navigator/Plugin.d.ts.map +0 -1
- package/cjs/navigator/PluginArray.cjs +0 -54
- package/cjs/navigator/PluginArray.cjs.map +0 -1
- package/cjs/navigator/PluginArray.d.ts +0 -39
- package/cjs/navigator/PluginArray.d.ts.map +0 -1
- package/cjs/nodes/NodeFactory.cjs +0 -66
- package/cjs/nodes/NodeFactory.cjs.map +0 -1
- package/cjs/nodes/NodeFactory.d.ts +0 -24
- package/cjs/nodes/NodeFactory.d.ts.map +0 -1
- package/cjs/nodes/attr/Attr.cjs +0 -142
- package/cjs/nodes/attr/Attr.cjs.map +0 -1
- package/cjs/nodes/attr/Attr.d.ts +0 -78
- package/cjs/nodes/attr/Attr.d.ts.map +0 -1
- package/cjs/nodes/character-data/CharacterData.cjs +0 -226
- package/cjs/nodes/character-data/CharacterData.cjs.map +0 -1
- package/cjs/nodes/character-data/CharacterData.d.ts +0 -137
- package/cjs/nodes/character-data/CharacterData.d.ts.map +0 -1
- package/cjs/nodes/character-data/CharacterDataUtility.cjs +0 -62
- package/cjs/nodes/character-data/CharacterDataUtility.cjs.map +0 -1
- package/cjs/nodes/character-data/CharacterDataUtility.d.ts +0 -47
- package/cjs/nodes/character-data/CharacterDataUtility.d.ts.map +0 -1
- package/cjs/nodes/child-node/ChildNodeUtility.cjs +0 -123
- package/cjs/nodes/child-node/ChildNodeUtility.cjs.map +0 -1
- package/cjs/nodes/child-node/ChildNodeUtility.d.ts +0 -35
- package/cjs/nodes/child-node/ChildNodeUtility.d.ts.map +0 -1
- package/cjs/nodes/child-node/IChildNode.cjs +0 -3
- package/cjs/nodes/child-node/IChildNode.cjs.map +0 -1
- package/cjs/nodes/child-node/IChildNode.d.ts +0 -26
- package/cjs/nodes/child-node/IChildNode.d.ts.map +0 -1
- package/cjs/nodes/child-node/INonDocumentTypeChildNode.cjs +0 -3
- package/cjs/nodes/child-node/INonDocumentTypeChildNode.cjs.map +0 -1
- package/cjs/nodes/child-node/INonDocumentTypeChildNode.d.ts +0 -7
- package/cjs/nodes/child-node/INonDocumentTypeChildNode.d.ts.map +0 -1
- package/cjs/nodes/child-node/NonDocumentChildNodeUtility.cjs +0 -73
- package/cjs/nodes/child-node/NonDocumentChildNodeUtility.cjs.map +0 -1
- package/cjs/nodes/child-node/NonDocumentChildNodeUtility.d.ts +0 -22
- package/cjs/nodes/child-node/NonDocumentChildNodeUtility.d.ts.map +0 -1
- package/cjs/nodes/comment/Comment.cjs +0 -71
- package/cjs/nodes/comment/Comment.cjs.map +0 -1
- package/cjs/nodes/comment/Comment.d.ts +0 -27
- package/cjs/nodes/comment/Comment.d.ts.map +0 -1
- package/cjs/nodes/document/Document.cjs +0 -1614
- package/cjs/nodes/document/Document.cjs.map +0 -1
- package/cjs/nodes/document/Document.d.ts +0 -837
- package/cjs/nodes/document/Document.d.ts.map +0 -1
- package/cjs/nodes/document/DocumentReadyStateEnum.cjs +0 -10
- package/cjs/nodes/document/DocumentReadyStateEnum.cjs.map +0 -1
- package/cjs/nodes/document/DocumentReadyStateEnum.d.ts +0 -7
- package/cjs/nodes/document/DocumentReadyStateEnum.d.ts.map +0 -1
- package/cjs/nodes/document/DocumentReadyStateManager.cjs +0 -76
- package/cjs/nodes/document/DocumentReadyStateManager.cjs.map +0 -1
- package/cjs/nodes/document/DocumentReadyStateManager.d.ts +0 -32
- package/cjs/nodes/document/DocumentReadyStateManager.d.ts.map +0 -1
- package/cjs/nodes/document/VisibilityStateEnum.cjs +0 -10
- package/cjs/nodes/document/VisibilityStateEnum.cjs.map +0 -1
- package/cjs/nodes/document/VisibilityStateEnum.d.ts +0 -7
- package/cjs/nodes/document/VisibilityStateEnum.d.ts.map +0 -1
- package/cjs/nodes/document-fragment/DocumentFragment.cjs +0 -169
- package/cjs/nodes/document-fragment/DocumentFragment.cjs.map +0 -1
- package/cjs/nodes/document-fragment/DocumentFragment.d.ts +0 -119
- package/cjs/nodes/document-fragment/DocumentFragment.d.ts.map +0 -1
- package/cjs/nodes/document-type/DocumentType.cjs +0 -102
- package/cjs/nodes/document-type/DocumentType.cjs.map +0 -1
- package/cjs/nodes/document-type/DocumentType.d.ts +0 -48
- package/cjs/nodes/document-type/DocumentType.d.ts.map +0 -1
- package/cjs/nodes/element/Element.cjs +0 -1272
- package/cjs/nodes/element/Element.cjs.map +0 -1
- package/cjs/nodes/element/Element.d.ts +0 -699
- package/cjs/nodes/element/Element.d.ts.map +0 -1
- package/cjs/nodes/element/ElementEventAttributeUtility.cjs +0 -107
- package/cjs/nodes/element/ElementEventAttributeUtility.cjs.map +0 -1
- package/cjs/nodes/element/ElementEventAttributeUtility.d.ts +0 -16
- package/cjs/nodes/element/ElementEventAttributeUtility.d.ts.map +0 -1
- package/cjs/nodes/element/HTMLCollection.cjs +0 -238
- package/cjs/nodes/element/HTMLCollection.cjs.map +0 -1
- package/cjs/nodes/element/HTMLCollection.d.ts +0 -65
- package/cjs/nodes/element/HTMLCollection.d.ts.map +0 -1
- package/cjs/nodes/element/NamedNodeMap.cjs +0 -247
- package/cjs/nodes/element/NamedNodeMap.cjs.map +0 -1
- package/cjs/nodes/element/NamedNodeMap.d.ts +0 -113
- package/cjs/nodes/element/NamedNodeMap.d.ts.map +0 -1
- package/cjs/nodes/element/NamedNodeMapProxyFactory.cjs +0 -155
- package/cjs/nodes/element/NamedNodeMapProxyFactory.cjs.map +0 -1
- package/cjs/nodes/element/NamedNodeMapProxyFactory.d.ts +0 -15
- package/cjs/nodes/element/NamedNodeMapProxyFactory.d.ts.map +0 -1
- package/cjs/nodes/element/THTMLCollectionListener.cjs +0 -3
- package/cjs/nodes/element/THTMLCollectionListener.cjs.map +0 -1
- package/cjs/nodes/element/THTMLCollectionListener.d.ts +0 -8
- package/cjs/nodes/element/THTMLCollectionListener.d.ts.map +0 -1
- package/cjs/nodes/element/TNamedNodeMapListener.cjs +0 -3
- package/cjs/nodes/element/TNamedNodeMapListener.cjs.map +0 -1
- package/cjs/nodes/element/TNamedNodeMapListener.d.ts +0 -4
- package/cjs/nodes/element/TNamedNodeMapListener.d.ts.map +0 -1
- package/cjs/nodes/html-anchor-element/HTMLAnchorElement.cjs +0 -420
- package/cjs/nodes/html-anchor-element/HTMLAnchorElement.cjs.map +0 -1
- package/cjs/nodes/html-anchor-element/HTMLAnchorElement.d.ts +0 -266
- package/cjs/nodes/html-anchor-element/HTMLAnchorElement.d.ts.map +0 -1
- package/cjs/nodes/html-area-element/HTMLAreaElement.cjs +0 -412
- package/cjs/nodes/html-area-element/HTMLAreaElement.cjs.map +0 -1
- package/cjs/nodes/html-area-element/HTMLAreaElement.d.ts +0 -265
- package/cjs/nodes/html-area-element/HTMLAreaElement.d.ts.map +0 -1
- package/cjs/nodes/html-audio-element/Audio.cjs +0 -65
- package/cjs/nodes/html-audio-element/Audio.cjs.map +0 -1
- package/cjs/nodes/html-audio-element/Audio.d.ts +0 -20
- package/cjs/nodes/html-audio-element/Audio.d.ts.map +0 -1
- package/cjs/nodes/html-audio-element/HTMLAudioElement.cjs +0 -17
- package/cjs/nodes/html-audio-element/HTMLAudioElement.cjs.map +0 -1
- package/cjs/nodes/html-audio-element/HTMLAudioElement.d.ts +0 -11
- package/cjs/nodes/html-audio-element/HTMLAudioElement.d.ts.map +0 -1
- package/cjs/nodes/html-base-element/HTMLBaseElement.cjs +0 -97
- package/cjs/nodes/html-base-element/HTMLBaseElement.cjs.map +0 -1
- package/cjs/nodes/html-base-element/HTMLBaseElement.d.ts +0 -40
- package/cjs/nodes/html-base-element/HTMLBaseElement.d.ts.map +0 -1
- package/cjs/nodes/html-body-element/HTMLBodyElement.cjs +0 -160
- package/cjs/nodes/html-body-element/HTMLBodyElement.cjs.map +0 -1
- package/cjs/nodes/html-body-element/HTMLBodyElement.d.ts +0 -46
- package/cjs/nodes/html-body-element/HTMLBodyElement.d.ts.map +0 -1
- package/cjs/nodes/html-br-element/HTMLBRElement.cjs +0 -15
- package/cjs/nodes/html-br-element/HTMLBRElement.cjs.map +0 -1
- package/cjs/nodes/html-br-element/HTMLBRElement.d.ts +0 -9
- package/cjs/nodes/html-br-element/HTMLBRElement.d.ts.map +0 -1
- package/cjs/nodes/html-button-element/HTMLButtonElement.cjs +0 -383
- package/cjs/nodes/html-button-element/HTMLButtonElement.cjs.map +0 -1
- package/cjs/nodes/html-button-element/HTMLButtonElement.d.ts +0 -206
- package/cjs/nodes/html-button-element/HTMLButtonElement.d.ts.map +0 -1
- package/cjs/nodes/html-canvas-element/CanvasCaptureMediaStreamTrack.cjs +0 -84
- package/cjs/nodes/html-canvas-element/CanvasCaptureMediaStreamTrack.cjs.map +0 -1
- package/cjs/nodes/html-canvas-element/CanvasCaptureMediaStreamTrack.d.ts +0 -35
- package/cjs/nodes/html-canvas-element/CanvasCaptureMediaStreamTrack.d.ts.map +0 -1
- package/cjs/nodes/html-canvas-element/HTMLCanvasElement.cjs +0 -180
- package/cjs/nodes/html-canvas-element/HTMLCanvasElement.cjs.map +0 -1
- package/cjs/nodes/html-canvas-element/HTMLCanvasElement.d.ts +0 -86
- package/cjs/nodes/html-canvas-element/HTMLCanvasElement.d.ts.map +0 -1
- package/cjs/nodes/html-canvas-element/ImageBitmap.cjs +0 -29
- package/cjs/nodes/html-canvas-element/ImageBitmap.cjs.map +0 -1
- package/cjs/nodes/html-canvas-element/ImageBitmap.d.ts +0 -21
- package/cjs/nodes/html-canvas-element/ImageBitmap.d.ts.map +0 -1
- package/cjs/nodes/html-canvas-element/OffscreenCanvas.cjs +0 -57
- package/cjs/nodes/html-canvas-element/OffscreenCanvas.cjs.map +0 -1
- package/cjs/nodes/html-canvas-element/OffscreenCanvas.d.ts +0 -47
- package/cjs/nodes/html-canvas-element/OffscreenCanvas.d.ts.map +0 -1
- package/cjs/nodes/html-d-list-element/HTMLDListElement.cjs +0 -15
- package/cjs/nodes/html-d-list-element/HTMLDListElement.cjs.map +0 -1
- package/cjs/nodes/html-d-list-element/HTMLDListElement.d.ts +0 -9
- package/cjs/nodes/html-d-list-element/HTMLDListElement.d.ts.map +0 -1
- package/cjs/nodes/html-data-element/HTMLDataElement.cjs +0 -31
- package/cjs/nodes/html-data-element/HTMLDataElement.cjs.map +0 -1
- package/cjs/nodes/html-data-element/HTMLDataElement.d.ts +0 -21
- package/cjs/nodes/html-data-element/HTMLDataElement.d.ts.map +0 -1
- package/cjs/nodes/html-data-list-element/HTMLDataListElement.cjs +0 -62
- package/cjs/nodes/html-data-list-element/HTMLDataListElement.cjs.map +0 -1
- package/cjs/nodes/html-data-list-element/HTMLDataListElement.d.ts +0 -19
- package/cjs/nodes/html-data-list-element/HTMLDataListElement.d.ts.map +0 -1
- package/cjs/nodes/html-details-element/HTMLDetailsElement.cjs +0 -115
- package/cjs/nodes/html-details-element/HTMLDetailsElement.cjs.map +0 -1
- package/cjs/nodes/html-details-element/HTMLDetailsElement.d.ts +0 -36
- package/cjs/nodes/html-details-element/HTMLDetailsElement.d.ts.map +0 -1
- package/cjs/nodes/html-dialog-element/HTMLDialogElement.cjs +0 -130
- package/cjs/nodes/html-dialog-element/HTMLDialogElement.cjs.map +0 -1
- package/cjs/nodes/html-dialog-element/HTMLDialogElement.d.ts +0 -54
- package/cjs/nodes/html-dialog-element/HTMLDialogElement.d.ts.map +0 -1
- package/cjs/nodes/html-div-element/HTMLDivElement.cjs +0 -15
- package/cjs/nodes/html-div-element/HTMLDivElement.cjs.map +0 -1
- package/cjs/nodes/html-div-element/HTMLDivElement.d.ts +0 -9
- package/cjs/nodes/html-div-element/HTMLDivElement.d.ts.map +0 -1
- package/cjs/nodes/html-document/HTMLDocument.cjs +0 -93
- package/cjs/nodes/html-document/HTMLDocument.cjs.map +0 -1
- package/cjs/nodes/html-document/HTMLDocument.d.ts +0 -21
- package/cjs/nodes/html-document/HTMLDocument.d.ts.map +0 -1
- package/cjs/nodes/html-element/HTMLElement.cjs +0 -969
- package/cjs/nodes/html-element/HTMLElement.cjs.map +0 -1
- package/cjs/nodes/html-element/HTMLElement.d.ts +0 -379
- package/cjs/nodes/html-element/HTMLElement.d.ts.map +0 -1
- package/cjs/nodes/html-element/HTMLElementUtility.cjs +0 -110
- package/cjs/nodes/html-element/HTMLElementUtility.cjs.map +0 -1
- package/cjs/nodes/html-element/HTMLElementUtility.d.ts +0 -20
- package/cjs/nodes/html-element/HTMLElementUtility.d.ts.map +0 -1
- package/cjs/nodes/html-embed-element/HTMLEmbedElement.cjs +0 -122
- package/cjs/nodes/html-embed-element/HTMLEmbedElement.cjs.map +0 -1
- package/cjs/nodes/html-embed-element/HTMLEmbedElement.d.ts +0 -57
- package/cjs/nodes/html-embed-element/HTMLEmbedElement.d.ts.map +0 -1
- package/cjs/nodes/html-field-set-element/HTMLFieldSetElement.cjs +0 -171
- package/cjs/nodes/html-field-set-element/HTMLFieldSetElement.cjs.map +0 -1
- package/cjs/nodes/html-field-set-element/HTMLFieldSetElement.d.ts +0 -99
- package/cjs/nodes/html-field-set-element/HTMLFieldSetElement.d.ts.map +0 -1
- package/cjs/nodes/html-form-element/HTMLFormControlsCollection.cjs +0 -65
- package/cjs/nodes/html-form-element/HTMLFormControlsCollection.cjs.map +0 -1
- package/cjs/nodes/html-form-element/HTMLFormControlsCollection.d.ts +0 -25
- package/cjs/nodes/html-form-element/HTMLFormControlsCollection.d.ts.map +0 -1
- package/cjs/nodes/html-form-element/HTMLFormElement.cjs +0 -604
- package/cjs/nodes/html-form-element/HTMLFormElement.cjs.map +0 -1
- package/cjs/nodes/html-form-element/HTMLFormElement.d.ts +0 -194
- package/cjs/nodes/html-form-element/HTMLFormElement.d.ts.map +0 -1
- package/cjs/nodes/html-form-element/RadioNodeList.cjs +0 -62
- package/cjs/nodes/html-form-element/RadioNodeList.cjs.map +0 -1
- package/cjs/nodes/html-form-element/RadioNodeList.d.ts +0 -16
- package/cjs/nodes/html-form-element/RadioNodeList.d.ts.map +0 -1
- package/cjs/nodes/html-form-element/THTMLFormControlElement.cjs +0 -3
- package/cjs/nodes/html-form-element/THTMLFormControlElement.cjs.map +0 -1
- package/cjs/nodes/html-form-element/THTMLFormControlElement.d.ts +0 -10
- package/cjs/nodes/html-form-element/THTMLFormControlElement.d.ts.map +0 -1
- package/cjs/nodes/html-head-element/HTMLHeadElement.cjs +0 -15
- package/cjs/nodes/html-head-element/HTMLHeadElement.cjs.map +0 -1
- package/cjs/nodes/html-head-element/HTMLHeadElement.d.ts +0 -9
- package/cjs/nodes/html-head-element/HTMLHeadElement.d.ts.map +0 -1
- package/cjs/nodes/html-heading-element/HTMLHeadingElement.cjs +0 -15
- package/cjs/nodes/html-heading-element/HTMLHeadingElement.cjs.map +0 -1
- package/cjs/nodes/html-heading-element/HTMLHeadingElement.d.ts +0 -9
- package/cjs/nodes/html-heading-element/HTMLHeadingElement.d.ts.map +0 -1
- package/cjs/nodes/html-hr-element/HTMLHRElement.cjs +0 -15
- package/cjs/nodes/html-hr-element/HTMLHRElement.cjs.map +0 -1
- package/cjs/nodes/html-hr-element/HTMLHRElement.d.ts +0 -9
- package/cjs/nodes/html-hr-element/HTMLHRElement.d.ts.map +0 -1
- package/cjs/nodes/html-html-element/HTMLHtmlElement.cjs +0 -15
- package/cjs/nodes/html-html-element/HTMLHtmlElement.cjs.map +0 -1
- package/cjs/nodes/html-html-element/HTMLHtmlElement.d.ts +0 -9
- package/cjs/nodes/html-html-element/HTMLHtmlElement.d.ts.map +0 -1
- package/cjs/nodes/html-hyperlink-element/HTMLHyperlinkElementUtility.cjs +0 -358
- package/cjs/nodes/html-hyperlink-element/HTMLHyperlinkElementUtility.cjs.map +0 -1
- package/cjs/nodes/html-hyperlink-element/HTMLHyperlinkElementUtility.d.ts +0 -142
- package/cjs/nodes/html-hyperlink-element/HTMLHyperlinkElementUtility.d.ts.map +0 -1
- package/cjs/nodes/html-hyperlink-element/IHTMLHyperlinkElement.cjs +0 -3
- package/cjs/nodes/html-hyperlink-element/IHTMLHyperlinkElement.cjs.map +0 -1
- package/cjs/nodes/html-hyperlink-element/IHTMLHyperlinkElement.d.ts +0 -20
- package/cjs/nodes/html-hyperlink-element/IHTMLHyperlinkElement.d.ts.map +0 -1
- package/cjs/nodes/html-iframe-element/HTMLIFrameElement.cjs +0 -409
- package/cjs/nodes/html-iframe-element/HTMLIFrameElement.cjs.map +0 -1
- package/cjs/nodes/html-iframe-element/HTMLIFrameElement.d.ts +0 -157
- package/cjs/nodes/html-iframe-element/HTMLIFrameElement.d.ts.map +0 -1
- package/cjs/nodes/html-image-element/HTMLImageElement.cjs +0 -326
- package/cjs/nodes/html-image-element/HTMLImageElement.cjs.map +0 -1
- package/cjs/nodes/html-image-element/HTMLImageElement.d.ts +0 -205
- package/cjs/nodes/html-image-element/HTMLImageElement.d.ts.map +0 -1
- package/cjs/nodes/html-image-element/Image.cjs +0 -69
- package/cjs/nodes/html-image-element/Image.cjs.map +0 -1
- package/cjs/nodes/html-image-element/Image.d.ts +0 -21
- package/cjs/nodes/html-image-element/Image.d.ts.map +0 -1
- package/cjs/nodes/html-input-element/FileList.cjs +0 -34
- package/cjs/nodes/html-input-element/FileList.cjs.map +0 -1
- package/cjs/nodes/html-input-element/FileList.d.ts +0 -26
- package/cjs/nodes/html-input-element/FileList.d.ts.map +0 -1
- package/cjs/nodes/html-input-element/HTMLInputElement.cjs +0 -1359
- package/cjs/nodes/html-input-element/HTMLInputElement.cjs.map +0 -1
- package/cjs/nodes/html-input-element/HTMLInputElement.d.ts +0 -636
- package/cjs/nodes/html-input-element/HTMLInputElement.d.ts.map +0 -1
- package/cjs/nodes/html-input-element/HTMLInputElementDateUtility.cjs +0 -51
- package/cjs/nodes/html-input-element/HTMLInputElementDateUtility.cjs.map +0 -1
- package/cjs/nodes/html-input-element/HTMLInputElementDateUtility.d.ts +0 -21
- package/cjs/nodes/html-input-element/HTMLInputElementDateUtility.d.ts.map +0 -1
- package/cjs/nodes/html-input-element/HTMLInputElementSelectionDirectionEnum.cjs +0 -10
- package/cjs/nodes/html-input-element/HTMLInputElementSelectionDirectionEnum.cjs.map +0 -1
- package/cjs/nodes/html-input-element/HTMLInputElementSelectionDirectionEnum.d.ts +0 -7
- package/cjs/nodes/html-input-element/HTMLInputElementSelectionDirectionEnum.d.ts.map +0 -1
- package/cjs/nodes/html-input-element/HTMLInputElementSelectionModeEnum.cjs +0 -11
- package/cjs/nodes/html-input-element/HTMLInputElementSelectionModeEnum.cjs.map +0 -1
- package/cjs/nodes/html-input-element/HTMLInputElementSelectionModeEnum.d.ts +0 -8
- package/cjs/nodes/html-input-element/HTMLInputElementSelectionModeEnum.d.ts.map +0 -1
- package/cjs/nodes/html-input-element/HTMLInputElementValueSanitizer.cjs +0 -209
- package/cjs/nodes/html-input-element/HTMLInputElementValueSanitizer.cjs.map +0 -1
- package/cjs/nodes/html-input-element/HTMLInputElementValueSanitizer.d.ts +0 -46
- package/cjs/nodes/html-input-element/HTMLInputElementValueSanitizer.d.ts.map +0 -1
- package/cjs/nodes/html-input-element/HTMLInputElementValueStepping.cjs +0 -38
- package/cjs/nodes/html-input-element/HTMLInputElementValueStepping.cjs.map +0 -1
- package/cjs/nodes/html-input-element/HTMLInputElementValueStepping.d.ts +0 -16
- package/cjs/nodes/html-input-element/HTMLInputElementValueStepping.d.ts.map +0 -1
- package/cjs/nodes/html-label-element/HTMLLabelElement.cjs +0 -133
- package/cjs/nodes/html-label-element/HTMLLabelElement.cjs.map +0 -1
- package/cjs/nodes/html-label-element/HTMLLabelElement.d.ts +0 -53
- package/cjs/nodes/html-label-element/HTMLLabelElement.d.ts.map +0 -1
- package/cjs/nodes/html-label-element/HTMLLabelElementUtility.cjs +0 -74
- package/cjs/nodes/html-label-element/HTMLLabelElementUtility.cjs.map +0 -1
- package/cjs/nodes/html-label-element/HTMLLabelElementUtility.d.ts +0 -16
- package/cjs/nodes/html-label-element/HTMLLabelElementUtility.d.ts.map +0 -1
- package/cjs/nodes/html-legend-element/HTMLLegendElement.cjs +0 -31
- package/cjs/nodes/html-legend-element/HTMLLegendElement.cjs.map +0 -1
- package/cjs/nodes/html-legend-element/HTMLLegendElement.d.ts +0 -16
- package/cjs/nodes/html-legend-element/HTMLLegendElement.d.ts.map +0 -1
- package/cjs/nodes/html-li-element/HTMLLIElement.cjs +0 -36
- package/cjs/nodes/html-li-element/HTMLLIElement.cjs.map +0 -1
- package/cjs/nodes/html-li-element/HTMLLIElement.d.ts +0 -21
- package/cjs/nodes/html-li-element/HTMLLIElement.d.ts.map +0 -1
- package/cjs/nodes/html-link-element/HTMLLinkElement.cjs +0 -450
- package/cjs/nodes/html-link-element/HTMLLinkElement.cjs.map +0 -1
- package/cjs/nodes/html-link-element/HTMLLinkElement.d.ts +0 -143
- package/cjs/nodes/html-link-element/HTMLLinkElement.d.ts.map +0 -1
- package/cjs/nodes/html-map-element/HTMLMapElement.cjs +0 -78
- package/cjs/nodes/html-map-element/HTMLMapElement.cjs.map +0 -1
- package/cjs/nodes/html-map-element/HTMLMapElement.d.ts +0 -31
- package/cjs/nodes/html-map-element/HTMLMapElement.d.ts.map +0 -1
- package/cjs/nodes/html-media-element/HTMLMediaElement.cjs +0 -805
- package/cjs/nodes/html-media-element/HTMLMediaElement.cjs.map +0 -1
- package/cjs/nodes/html-media-element/HTMLMediaElement.d.ts +0 -440
- package/cjs/nodes/html-media-element/HTMLMediaElement.d.ts.map +0 -1
- package/cjs/nodes/html-media-element/IMediaTrackCapabilities.cjs +0 -3
- package/cjs/nodes/html-media-element/IMediaTrackCapabilities.cjs.map +0 -1
- package/cjs/nodes/html-media-element/IMediaTrackCapabilities.d.ts +0 -22
- package/cjs/nodes/html-media-element/IMediaTrackCapabilities.d.ts.map +0 -1
- package/cjs/nodes/html-media-element/IMediaTrackSettings.cjs +0 -3
- package/cjs/nodes/html-media-element/IMediaTrackSettings.cjs.map +0 -1
- package/cjs/nodes/html-media-element/IMediaTrackSettings.d.ts +0 -6
- package/cjs/nodes/html-media-element/IMediaTrackSettings.d.ts.map +0 -1
- package/cjs/nodes/html-media-element/MediaStream.cjs +0 -139
- package/cjs/nodes/html-media-element/MediaStream.cjs.map +0 -1
- package/cjs/nodes/html-media-element/MediaStream.d.ts +0 -60
- package/cjs/nodes/html-media-element/MediaStream.d.ts.map +0 -1
- package/cjs/nodes/html-media-element/MediaStreamTrack.cjs +0 -189
- package/cjs/nodes/html-media-element/MediaStreamTrack.cjs.map +0 -1
- package/cjs/nodes/html-media-element/MediaStreamTrack.d.ts +0 -77
- package/cjs/nodes/html-media-element/MediaStreamTrack.d.ts.map +0 -1
- package/cjs/nodes/html-media-element/RemotePlayback.cjs +0 -81
- package/cjs/nodes/html-media-element/RemotePlayback.cjs.map +0 -1
- package/cjs/nodes/html-media-element/RemotePlayback.d.ts +0 -32
- package/cjs/nodes/html-media-element/RemotePlayback.d.ts.map +0 -1
- package/cjs/nodes/html-media-element/TextTrack.cjs +0 -173
- package/cjs/nodes/html-media-element/TextTrack.cjs.map +0 -1
- package/cjs/nodes/html-media-element/TextTrack.d.ts +0 -88
- package/cjs/nodes/html-media-element/TextTrack.d.ts.map +0 -1
- package/cjs/nodes/html-media-element/TextTrackCue.cjs +0 -81
- package/cjs/nodes/html-media-element/TextTrackCue.cjs.map +0 -1
- package/cjs/nodes/html-media-element/TextTrackCue.d.ts +0 -31
- package/cjs/nodes/html-media-element/TextTrackCue.d.ts.map +0 -1
- package/cjs/nodes/html-media-element/TextTrackCueList.cjs +0 -69
- package/cjs/nodes/html-media-element/TextTrackCueList.cjs.map +0 -1
- package/cjs/nodes/html-media-element/TextTrackCueList.d.ts +0 -19
- package/cjs/nodes/html-media-element/TextTrackCueList.d.ts.map +0 -1
- package/cjs/nodes/html-media-element/TextTrackKindEnum.cjs +0 -12
- package/cjs/nodes/html-media-element/TextTrackKindEnum.cjs.map +0 -1
- package/cjs/nodes/html-media-element/TextTrackKindEnum.d.ts +0 -9
- package/cjs/nodes/html-media-element/TextTrackKindEnum.d.ts.map +0 -1
- package/cjs/nodes/html-media-element/TextTrackList.cjs +0 -198
- package/cjs/nodes/html-media-element/TextTrackList.cjs.map +0 -1
- package/cjs/nodes/html-media-element/TextTrackList.d.ts +0 -59
- package/cjs/nodes/html-media-element/TextTrackList.d.ts.map +0 -1
- package/cjs/nodes/html-media-element/TimeRanges.cjs +0 -103
- package/cjs/nodes/html-media-element/TimeRanges.cjs.map +0 -1
- package/cjs/nodes/html-media-element/TimeRanges.d.ts +0 -50
- package/cjs/nodes/html-media-element/TimeRanges.d.ts.map +0 -1
- package/cjs/nodes/html-media-element/VTTCue.cjs +0 -103
- package/cjs/nodes/html-media-element/VTTCue.cjs.map +0 -1
- package/cjs/nodes/html-media-element/VTTCue.d.ts +0 -35
- package/cjs/nodes/html-media-element/VTTCue.d.ts.map +0 -1
- package/cjs/nodes/html-media-element/VTTRegion.cjs +0 -19
- package/cjs/nodes/html-media-element/VTTRegion.cjs.map +0 -1
- package/cjs/nodes/html-media-element/VTTRegion.d.ts +0 -16
- package/cjs/nodes/html-media-element/VTTRegion.d.ts.map +0 -1
- package/cjs/nodes/html-menu-element/HTMLMenuElement.cjs +0 -15
- package/cjs/nodes/html-menu-element/HTMLMenuElement.cjs.map +0 -1
- package/cjs/nodes/html-menu-element/HTMLMenuElement.d.ts +0 -9
- package/cjs/nodes/html-menu-element/HTMLMenuElement.d.ts.map +0 -1
- package/cjs/nodes/html-meta-element/HTMLMetaElement.cjs +0 -80
- package/cjs/nodes/html-meta-element/HTMLMetaElement.cjs.map +0 -1
- package/cjs/nodes/html-meta-element/HTMLMetaElement.d.ts +0 -58
- package/cjs/nodes/html-meta-element/HTMLMetaElement.d.ts.map +0 -1
- package/cjs/nodes/html-meter-element/HTMLMeterElement.cjs +0 -223
- package/cjs/nodes/html-meter-element/HTMLMeterElement.cjs.map +0 -1
- package/cjs/nodes/html-meter-element/HTMLMeterElement.d.ts +0 -89
- package/cjs/nodes/html-meter-element/HTMLMeterElement.d.ts.map +0 -1
- package/cjs/nodes/html-mod-element/HTMLModElement.cjs +0 -90
- package/cjs/nodes/html-mod-element/HTMLModElement.cjs.map +0 -1
- package/cjs/nodes/html-mod-element/HTMLModElement.d.ts +0 -33
- package/cjs/nodes/html-mod-element/HTMLModElement.d.ts.map +0 -1
- package/cjs/nodes/html-o-list-element/HTMLOListElement.cjs +0 -81
- package/cjs/nodes/html-o-list-element/HTMLOListElement.cjs.map +0 -1
- package/cjs/nodes/html-o-list-element/HTMLOListElement.d.ts +0 -45
- package/cjs/nodes/html-o-list-element/HTMLOListElement.d.ts.map +0 -1
- package/cjs/nodes/html-object-element/HTMLObjectElement.cjs +0 -238
- package/cjs/nodes/html-object-element/HTMLObjectElement.cjs.map +0 -1
- package/cjs/nodes/html-object-element/HTMLObjectElement.d.ts +0 -139
- package/cjs/nodes/html-object-element/HTMLObjectElement.d.ts.map +0 -1
- package/cjs/nodes/html-opt-group-element/HTMLOptGroupElement.cjs +0 -58
- package/cjs/nodes/html-opt-group-element/HTMLOptGroupElement.cjs.map +0 -1
- package/cjs/nodes/html-opt-group-element/HTMLOptGroupElement.d.ts +0 -34
- package/cjs/nodes/html-opt-group-element/HTMLOptGroupElement.d.ts.map +0 -1
- package/cjs/nodes/html-option-element/HTMLOptionElement.cjs +0 -196
- package/cjs/nodes/html-option-element/HTMLOptionElement.cjs.map +0 -1
- package/cjs/nodes/html-option-element/HTMLOptionElement.d.ts +0 -93
- package/cjs/nodes/html-option-element/HTMLOptionElement.d.ts.map +0 -1
- package/cjs/nodes/html-output-element/HTMLOutputElement.cjs +0 -198
- package/cjs/nodes/html-output-element/HTMLOutputElement.cjs.map +0 -1
- package/cjs/nodes/html-output-element/HTMLOutputElement.d.ts +0 -120
- package/cjs/nodes/html-output-element/HTMLOutputElement.d.ts.map +0 -1
- package/cjs/nodes/html-paragraph-element/HTMLParagraphElement.cjs +0 -15
- package/cjs/nodes/html-paragraph-element/HTMLParagraphElement.cjs.map +0 -1
- package/cjs/nodes/html-paragraph-element/HTMLParagraphElement.d.ts +0 -9
- package/cjs/nodes/html-paragraph-element/HTMLParagraphElement.d.ts.map +0 -1
- package/cjs/nodes/html-param-element/HTMLParamElement.cjs +0 -15
- package/cjs/nodes/html-param-element/HTMLParamElement.cjs.map +0 -1
- package/cjs/nodes/html-param-element/HTMLParamElement.d.ts +0 -9
- package/cjs/nodes/html-param-element/HTMLParamElement.d.ts.map +0 -1
- package/cjs/nodes/html-picture-element/HTMLPictureElement.cjs +0 -15
- package/cjs/nodes/html-picture-element/HTMLPictureElement.cjs.map +0 -1
- package/cjs/nodes/html-picture-element/HTMLPictureElement.d.ts +0 -9
- package/cjs/nodes/html-picture-element/HTMLPictureElement.d.ts.map +0 -1
- package/cjs/nodes/html-pre-element/HTMLPreElement.cjs +0 -15
- package/cjs/nodes/html-pre-element/HTMLPreElement.cjs.map +0 -1
- package/cjs/nodes/html-pre-element/HTMLPreElement.d.ts +0 -9
- package/cjs/nodes/html-pre-element/HTMLPreElement.d.ts.map +0 -1
- package/cjs/nodes/html-progress-element/HTMLProgressElement.cjs +0 -126
- package/cjs/nodes/html-progress-element/HTMLProgressElement.cjs.map +0 -1
- package/cjs/nodes/html-progress-element/HTMLProgressElement.d.ts +0 -47
- package/cjs/nodes/html-progress-element/HTMLProgressElement.d.ts.map +0 -1
- package/cjs/nodes/html-quote-element/HTMLQuoteElement.cjs +0 -74
- package/cjs/nodes/html-quote-element/HTMLQuoteElement.cjs.map +0 -1
- package/cjs/nodes/html-quote-element/HTMLQuoteElement.d.ts +0 -21
- package/cjs/nodes/html-quote-element/HTMLQuoteElement.d.ts.map +0 -1
- package/cjs/nodes/html-script-element/HTMLScriptElement.cjs +0 -672
- package/cjs/nodes/html-script-element/HTMLScriptElement.cjs.map +0 -1
- package/cjs/nodes/html-script-element/HTMLScriptElement.d.ts +0 -196
- package/cjs/nodes/html-script-element/HTMLScriptElement.d.ts.map +0 -1
- package/cjs/nodes/html-select-element/HTMLOptionsCollection.cjs +0 -93
- package/cjs/nodes/html-select-element/HTMLOptionsCollection.cjs.map +0 -1
- package/cjs/nodes/html-select-element/HTMLOptionsCollection.d.ts +0 -45
- package/cjs/nodes/html-select-element/HTMLOptionsCollection.d.ts.map +0 -1
- package/cjs/nodes/html-select-element/HTMLSelectElement.cjs +0 -679
- package/cjs/nodes/html-select-element/HTMLSelectElement.cjs.map +0 -1
- package/cjs/nodes/html-select-element/HTMLSelectElement.d.ts +0 -229
- package/cjs/nodes/html-select-element/HTMLSelectElement.d.ts.map +0 -1
- package/cjs/nodes/html-slot-element/HTMLSlotElement.cjs +0 -247
- package/cjs/nodes/html-slot-element/HTMLSlotElement.cjs.map +0 -1
- package/cjs/nodes/html-slot-element/HTMLSlotElement.d.ts +0 -71
- package/cjs/nodes/html-slot-element/HTMLSlotElement.d.ts.map +0 -1
- package/cjs/nodes/html-source-element/HTMLSourceElement.cjs +0 -174
- package/cjs/nodes/html-source-element/HTMLSourceElement.cjs.map +0 -1
- package/cjs/nodes/html-source-element/HTMLSourceElement.d.ts +0 -93
- package/cjs/nodes/html-source-element/HTMLSourceElement.d.ts.map +0 -1
- package/cjs/nodes/html-span-element/HTMLSpanElement.cjs +0 -15
- package/cjs/nodes/html-span-element/HTMLSpanElement.cjs.map +0 -1
- package/cjs/nodes/html-span-element/HTMLSpanElement.d.ts +0 -9
- package/cjs/nodes/html-span-element/HTMLSpanElement.d.ts.map +0 -1
- package/cjs/nodes/html-style-element/HTMLStyleElement.cjs +0 -133
- package/cjs/nodes/html-style-element/HTMLStyleElement.cjs.map +0 -1
- package/cjs/nodes/html-style-element/HTMLStyleElement.d.ts +0 -67
- package/cjs/nodes/html-style-element/HTMLStyleElement.d.ts.map +0 -1
- package/cjs/nodes/html-table-caption-element/HTMLTableCaptionElement.cjs +0 -15
- package/cjs/nodes/html-table-caption-element/HTMLTableCaptionElement.cjs.map +0 -1
- package/cjs/nodes/html-table-caption-element/HTMLTableCaptionElement.d.ts +0 -9
- package/cjs/nodes/html-table-caption-element/HTMLTableCaptionElement.d.ts.map +0 -1
- package/cjs/nodes/html-table-cell-element/HTMLTableCellElement.cjs +0 -151
- package/cjs/nodes/html-table-cell-element/HTMLTableCellElement.cjs.map +0 -1
- package/cjs/nodes/html-table-cell-element/HTMLTableCellElement.d.ts +0 -75
- package/cjs/nodes/html-table-cell-element/HTMLTableCellElement.d.ts.map +0 -1
- package/cjs/nodes/html-table-col-element/HTMLTableColElement.cjs +0 -15
- package/cjs/nodes/html-table-col-element/HTMLTableColElement.cjs.map +0 -1
- package/cjs/nodes/html-table-col-element/HTMLTableColElement.d.ts +0 -9
- package/cjs/nodes/html-table-col-element/HTMLTableColElement.d.ts.map +0 -1
- package/cjs/nodes/html-table-element/HTMLTableElement.cjs +0 -311
- package/cjs/nodes/html-table-element/HTMLTableElement.cjs.map +0 -1
- package/cjs/nodes/html-table-element/HTMLTableElement.d.ts +0 -111
- package/cjs/nodes/html-table-element/HTMLTableElement.d.ts.map +0 -1
- package/cjs/nodes/html-table-row-element/HTMLTableRowElement.cjs +0 -144
- package/cjs/nodes/html-table-row-element/HTMLTableRowElement.cjs.map +0 -1
- package/cjs/nodes/html-table-row-element/HTMLTableRowElement.d.ts +0 -42
- package/cjs/nodes/html-table-row-element/HTMLTableRowElement.d.ts.map +0 -1
- package/cjs/nodes/html-table-section-element/HTMLTableSectionElement.cjs +0 -101
- package/cjs/nodes/html-table-section-element/HTMLTableSectionElement.cjs.map +0 -1
- package/cjs/nodes/html-table-section-element/HTMLTableSectionElement.d.ts +0 -23
- package/cjs/nodes/html-table-section-element/HTMLTableSectionElement.d.ts.map +0 -1
- package/cjs/nodes/html-template-element/HTMLTemplateElement.cjs +0 -150
- package/cjs/nodes/html-template-element/HTMLTemplateElement.cjs.map +0 -1
- package/cjs/nodes/html-template-element/HTMLTemplateElement.d.ts +0 -72
- package/cjs/nodes/html-template-element/HTMLTemplateElement.d.ts.map +0 -1
- package/cjs/nodes/html-text-area-element/HTMLTextAreaElement.cjs +0 -591
- package/cjs/nodes/html-text-area-element/HTMLTextAreaElement.cjs.map +0 -1
- package/cjs/nodes/html-text-area-element/HTMLTextAreaElement.d.ts +0 -319
- package/cjs/nodes/html-text-area-element/HTMLTextAreaElement.d.ts.map +0 -1
- package/cjs/nodes/html-time-element/HTMLTimeElement.cjs +0 -32
- package/cjs/nodes/html-time-element/HTMLTimeElement.cjs.map +0 -1
- package/cjs/nodes/html-time-element/HTMLTimeElement.d.ts +0 -22
- package/cjs/nodes/html-time-element/HTMLTimeElement.d.ts.map +0 -1
- package/cjs/nodes/html-title-element/HTMLTitleElement.cjs +0 -84
- package/cjs/nodes/html-title-element/HTMLTitleElement.cjs.map +0 -1
- package/cjs/nodes/html-title-element/HTMLTitleElement.d.ts +0 -29
- package/cjs/nodes/html-title-element/HTMLTitleElement.d.ts.map +0 -1
- package/cjs/nodes/html-track-element/HTMLTrackElement.cjs +0 -186
- package/cjs/nodes/html-track-element/HTMLTrackElement.cjs.map +0 -1
- package/cjs/nodes/html-track-element/HTMLTrackElement.d.ts +0 -85
- package/cjs/nodes/html-track-element/HTMLTrackElement.d.ts.map +0 -1
- package/cjs/nodes/html-u-list-element/HTMLUListElement.cjs +0 -15
- package/cjs/nodes/html-u-list-element/HTMLUListElement.cjs.map +0 -1
- package/cjs/nodes/html-u-list-element/HTMLUListElement.d.ts +0 -9
- package/cjs/nodes/html-u-list-element/HTMLUListElement.d.ts.map +0 -1
- package/cjs/nodes/html-unknown-element/HTMLUnknownElement.cjs +0 -16
- package/cjs/nodes/html-unknown-element/HTMLUnknownElement.cjs.map +0 -1
- package/cjs/nodes/html-unknown-element/HTMLUnknownElement.d.ts +0 -10
- package/cjs/nodes/html-unknown-element/HTMLUnknownElement.d.ts.map +0 -1
- package/cjs/nodes/html-video-element/HTMLVideoElement.cjs +0 -17
- package/cjs/nodes/html-video-element/HTMLVideoElement.cjs.map +0 -1
- package/cjs/nodes/html-video-element/HTMLVideoElement.d.ts +0 -11
- package/cjs/nodes/html-video-element/HTMLVideoElement.d.ts.map +0 -1
- package/cjs/nodes/node/ICachedComputedStyleResult.cjs +0 -3
- package/cjs/nodes/node/ICachedComputedStyleResult.cjs.map +0 -1
- package/cjs/nodes/node/ICachedComputedStyleResult.d.ts +0 -6
- package/cjs/nodes/node/ICachedComputedStyleResult.d.ts.map +0 -1
- package/cjs/nodes/node/ICachedElementByIdResult.cjs +0 -3
- package/cjs/nodes/node/ICachedElementByIdResult.cjs.map +0 -1
- package/cjs/nodes/node/ICachedElementByIdResult.d.ts +0 -6
- package/cjs/nodes/node/ICachedElementByIdResult.d.ts.map +0 -1
- package/cjs/nodes/node/ICachedElementByTagNameResult.cjs +0 -3
- package/cjs/nodes/node/ICachedElementByTagNameResult.cjs.map +0 -1
- package/cjs/nodes/node/ICachedElementByTagNameResult.d.ts +0 -6
- package/cjs/nodes/node/ICachedElementByTagNameResult.d.ts.map +0 -1
- package/cjs/nodes/node/ICachedElementsByTagNameResult.cjs +0 -3
- package/cjs/nodes/node/ICachedElementsByTagNameResult.cjs.map +0 -1
- package/cjs/nodes/node/ICachedElementsByTagNameResult.d.ts +0 -6
- package/cjs/nodes/node/ICachedElementsByTagNameResult.d.ts.map +0 -1
- package/cjs/nodes/node/ICachedMatchesResult.cjs +0 -3
- package/cjs/nodes/node/ICachedMatchesResult.cjs.map +0 -1
- package/cjs/nodes/node/ICachedMatchesResult.d.ts +0 -8
- package/cjs/nodes/node/ICachedMatchesResult.d.ts.map +0 -1
- package/cjs/nodes/node/ICachedQuerySelectorAllResult.cjs +0 -3
- package/cjs/nodes/node/ICachedQuerySelectorAllResult.cjs.map +0 -1
- package/cjs/nodes/node/ICachedQuerySelectorAllResult.d.ts +0 -7
- package/cjs/nodes/node/ICachedQuerySelectorAllResult.d.ts.map +0 -1
- package/cjs/nodes/node/ICachedQuerySelectorResult.cjs +0 -3
- package/cjs/nodes/node/ICachedQuerySelectorResult.cjs.map +0 -1
- package/cjs/nodes/node/ICachedQuerySelectorResult.d.ts +0 -6
- package/cjs/nodes/node/ICachedQuerySelectorResult.d.ts.map +0 -1
- package/cjs/nodes/node/ICachedResult.cjs +0 -3
- package/cjs/nodes/node/ICachedResult.cjs.map +0 -1
- package/cjs/nodes/node/ICachedResult.d.ts +0 -4
- package/cjs/nodes/node/ICachedResult.d.ts.map +0 -1
- package/cjs/nodes/node/ICachedStyleResult.cjs +0 -3
- package/cjs/nodes/node/ICachedStyleResult.cjs.map +0 -1
- package/cjs/nodes/node/ICachedStyleResult.d.ts +0 -6
- package/cjs/nodes/node/ICachedStyleResult.d.ts.map +0 -1
- package/cjs/nodes/node/Node.cjs +0 -1091
- package/cjs/nodes/node/Node.cjs.map +0 -1
- package/cjs/nodes/node/Node.d.ts +0 -368
- package/cjs/nodes/node/Node.d.ts.map +0 -1
- package/cjs/nodes/node/NodeDocumentPositionEnum.cjs +0 -13
- package/cjs/nodes/node/NodeDocumentPositionEnum.cjs.map +0 -1
- package/cjs/nodes/node/NodeDocumentPositionEnum.d.ts +0 -10
- package/cjs/nodes/node/NodeDocumentPositionEnum.d.ts.map +0 -1
- package/cjs/nodes/node/NodeList.cjs +0 -223
- package/cjs/nodes/node/NodeList.cjs.map +0 -1
- package/cjs/nodes/node/NodeList.d.ts +0 -81
- package/cjs/nodes/node/NodeList.d.ts.map +0 -1
- package/cjs/nodes/node/NodeTypeEnum.cjs +0 -16
- package/cjs/nodes/node/NodeTypeEnum.cjs.map +0 -1
- package/cjs/nodes/node/NodeTypeEnum.d.ts +0 -13
- package/cjs/nodes/node/NodeTypeEnum.d.ts.map +0 -1
- package/cjs/nodes/node/NodeUtility.cjs +0 -289
- package/cjs/nodes/node/NodeUtility.cjs.map +0 -1
- package/cjs/nodes/node/NodeUtility.d.ts +0 -85
- package/cjs/nodes/node/NodeUtility.d.ts.map +0 -1
- package/cjs/nodes/node/TNodeListListener.cjs +0 -3
- package/cjs/nodes/node/TNodeListListener.cjs.map +0 -1
- package/cjs/nodes/node/TNodeListListener.d.ts +0 -3
- package/cjs/nodes/node/TNodeListListener.d.ts.map +0 -1
- package/cjs/nodes/parent-node/IParentNode.cjs +0 -3
- package/cjs/nodes/parent-node/IParentNode.cjs.map +0 -1
- package/cjs/nodes/parent-node/IParentNode.d.ts +0 -82
- package/cjs/nodes/parent-node/IParentNode.d.ts.map +0 -1
- package/cjs/nodes/parent-node/ParentNodeUtility.cjs +0 -273
- package/cjs/nodes/parent-node/ParentNodeUtility.cjs.map +0 -1
- package/cjs/nodes/parent-node/ParentNodeUtility.d.ts +0 -74
- package/cjs/nodes/parent-node/ParentNodeUtility.d.ts.map +0 -1
- package/cjs/nodes/processing-instruction/ProcessingInstruction.cjs +0 -60
- package/cjs/nodes/processing-instruction/ProcessingInstruction.cjs.map +0 -1
- package/cjs/nodes/processing-instruction/ProcessingInstruction.d.ts +0 -19
- package/cjs/nodes/processing-instruction/ProcessingInstruction.d.ts.map +0 -1
- package/cjs/nodes/shadow-root/ShadowRoot.cjs +0 -246
- package/cjs/nodes/shadow-root/ShadowRoot.cjs.map +0 -1
- package/cjs/nodes/shadow-root/ShadowRoot.d.ts +0 -130
- package/cjs/nodes/shadow-root/ShadowRoot.d.ts.map +0 -1
- package/cjs/nodes/svg-animate-element/SVGAnimateElement.cjs +0 -15
- package/cjs/nodes/svg-animate-element/SVGAnimateElement.cjs.map +0 -1
- package/cjs/nodes/svg-animate-element/SVGAnimateElement.d.ts +0 -9
- package/cjs/nodes/svg-animate-element/SVGAnimateElement.d.ts.map +0 -1
- package/cjs/nodes/svg-animate-motion-element/SVGAnimateMotionElement.cjs +0 -15
- package/cjs/nodes/svg-animate-motion-element/SVGAnimateMotionElement.cjs.map +0 -1
- package/cjs/nodes/svg-animate-motion-element/SVGAnimateMotionElement.d.ts +0 -9
- package/cjs/nodes/svg-animate-motion-element/SVGAnimateMotionElement.d.ts.map +0 -1
- package/cjs/nodes/svg-animate-transform-element/SVGAnimateTransformElement.cjs +0 -15
- package/cjs/nodes/svg-animate-transform-element/SVGAnimateTransformElement.cjs.map +0 -1
- package/cjs/nodes/svg-animate-transform-element/SVGAnimateTransformElement.d.ts +0 -9
- package/cjs/nodes/svg-animate-transform-element/SVGAnimateTransformElement.d.ts.map +0 -1
- package/cjs/nodes/svg-animation-element/SVGAnimationElement.cjs +0 -112
- package/cjs/nodes/svg-animation-element/SVGAnimationElement.cjs.map +0 -1
- package/cjs/nodes/svg-animation-element/SVGAnimationElement.d.ts +0 -38
- package/cjs/nodes/svg-animation-element/SVGAnimationElement.d.ts.map +0 -1
- package/cjs/nodes/svg-circle-element/SVGCircleElement.cjs +0 -96
- package/cjs/nodes/svg-circle-element/SVGCircleElement.cjs.map +0 -1
- package/cjs/nodes/svg-circle-element/SVGCircleElement.d.ts +0 -32
- package/cjs/nodes/svg-circle-element/SVGCircleElement.d.ts.map +0 -1
- package/cjs/nodes/svg-clip-path-element/SVGClipPathElement.cjs +0 -68
- package/cjs/nodes/svg-clip-path-element/SVGClipPathElement.cjs.map +0 -1
- package/cjs/nodes/svg-clip-path-element/SVGClipPathElement.d.ts +0 -18
- package/cjs/nodes/svg-clip-path-element/SVGClipPathElement.d.ts.map +0 -1
- package/cjs/nodes/svg-component-transfer-function-element/SVGComponentTransferFunctionElement.cjs +0 -170
- package/cjs/nodes/svg-component-transfer-function-element/SVGComponentTransferFunctionElement.cjs.map +0 -1
- package/cjs/nodes/svg-component-transfer-function-element/SVGComponentTransferFunctionElement.d.ts +0 -68
- package/cjs/nodes/svg-component-transfer-function-element/SVGComponentTransferFunctionElement.d.ts.map +0 -1
- package/cjs/nodes/svg-defs-element/SVGDefsElement.cjs +0 -15
- package/cjs/nodes/svg-defs-element/SVGDefsElement.cjs.map +0 -1
- package/cjs/nodes/svg-defs-element/SVGDefsElement.d.ts +0 -9
- package/cjs/nodes/svg-defs-element/SVGDefsElement.d.ts.map +0 -1
- package/cjs/nodes/svg-desc-element/SVGDescElement.cjs +0 -15
- package/cjs/nodes/svg-desc-element/SVGDescElement.cjs.map +0 -1
- package/cjs/nodes/svg-desc-element/SVGDescElement.d.ts +0 -9
- package/cjs/nodes/svg-desc-element/SVGDescElement.d.ts.map +0 -1
- package/cjs/nodes/svg-element/SVGElement.cjs +0 -671
- package/cjs/nodes/svg-element/SVGElement.cjs.map +0 -1
- package/cjs/nodes/svg-element/SVGElement.d.ts +0 -239
- package/cjs/nodes/svg-element/SVGElement.d.ts.map +0 -1
- package/cjs/nodes/svg-ellipse-element/SVGEllipseElement.cjs +0 -111
- package/cjs/nodes/svg-ellipse-element/SVGEllipseElement.cjs.map +0 -1
- package/cjs/nodes/svg-ellipse-element/SVGEllipseElement.d.ts +0 -39
- package/cjs/nodes/svg-ellipse-element/SVGEllipseElement.d.ts.map +0 -1
- package/cjs/nodes/svg-fe-blend-element/SVGFEBlendElement.cjs +0 -195
- package/cjs/nodes/svg-fe-blend-element/SVGFEBlendElement.cjs.map +0 -1
- package/cjs/nodes/svg-fe-blend-element/SVGFEBlendElement.d.ts +0 -79
- package/cjs/nodes/svg-fe-blend-element/SVGFEBlendElement.d.ts.map +0 -1
- package/cjs/nodes/svg-fe-color-matrix-element/SVGFEColorMatrixElement.cjs +0 -197
- package/cjs/nodes/svg-fe-color-matrix-element/SVGFEColorMatrixElement.cjs.map +0 -1
- package/cjs/nodes/svg-fe-color-matrix-element/SVGFEColorMatrixElement.d.ts +0 -82
- package/cjs/nodes/svg-fe-color-matrix-element/SVGFEColorMatrixElement.d.ts.map +0 -1
- package/cjs/nodes/svg-fe-component-transfer-element/SVGFEComponentTransferElement.cjs +0 -142
- package/cjs/nodes/svg-fe-component-transfer-element/SVGFEComponentTransferElement.cjs.map +0 -1
- package/cjs/nodes/svg-fe-component-transfer-element/SVGFEComponentTransferElement.d.ts +0 -54
- package/cjs/nodes/svg-fe-component-transfer-element/SVGFEComponentTransferElement.d.ts.map +0 -1
- package/cjs/nodes/svg-fe-composite-element/SVGFECompositeElement.cjs +0 -184
- package/cjs/nodes/svg-fe-composite-element/SVGFECompositeElement.cjs.map +0 -1
- package/cjs/nodes/svg-fe-composite-element/SVGFECompositeElement.d.ts +0 -77
- package/cjs/nodes/svg-fe-composite-element/SVGFECompositeElement.d.ts.map +0 -1
- package/cjs/nodes/svg-fe-convolve-matrix-element/SVGFEConvolveMatrixElement.cjs +0 -319
- package/cjs/nodes/svg-fe-convolve-matrix-element/SVGFEConvolveMatrixElement.cjs.map +0 -1
- package/cjs/nodes/svg-fe-convolve-matrix-element/SVGFEConvolveMatrixElement.d.ts +0 -140
- package/cjs/nodes/svg-fe-convolve-matrix-element/SVGFEConvolveMatrixElement.d.ts.map +0 -1
- package/cjs/nodes/svg-fe-diffuse-lighting-element/SVGFEDiffuseLightingElement.cjs +0 -203
- package/cjs/nodes/svg-fe-diffuse-lighting-element/SVGFEDiffuseLightingElement.cjs.map +0 -1
- package/cjs/nodes/svg-fe-diffuse-lighting-element/SVGFEDiffuseLightingElement.d.ts +0 -83
- package/cjs/nodes/svg-fe-diffuse-lighting-element/SVGFEDiffuseLightingElement.d.ts.map +0 -1
- package/cjs/nodes/svg-fe-displacement-map-element/SVGFEDisplacementMapElement.cjs +0 -214
- package/cjs/nodes/svg-fe-displacement-map-element/SVGFEDisplacementMapElement.cjs.map +0 -1
- package/cjs/nodes/svg-fe-displacement-map-element/SVGFEDisplacementMapElement.d.ts +0 -89
- package/cjs/nodes/svg-fe-displacement-map-element/SVGFEDisplacementMapElement.d.ts.map +0 -1
- package/cjs/nodes/svg-fe-distant-light-element/SVGFEDistantLightElement.cjs +0 -81
- package/cjs/nodes/svg-fe-distant-light-element/SVGFEDistantLightElement.cjs.map +0 -1
- package/cjs/nodes/svg-fe-distant-light-element/SVGFEDistantLightElement.d.ts +0 -25
- package/cjs/nodes/svg-fe-distant-light-element/SVGFEDistantLightElement.d.ts.map +0 -1
- package/cjs/nodes/svg-fe-drop-shadow-element/SVGFEDropShadowElement.cjs +0 -215
- package/cjs/nodes/svg-fe-drop-shadow-element/SVGFEDropShadowElement.cjs.map +0 -1
- package/cjs/nodes/svg-fe-drop-shadow-element/SVGFEDropShadowElement.d.ts +0 -90
- package/cjs/nodes/svg-fe-drop-shadow-element/SVGFEDropShadowElement.d.ts.map +0 -1
- package/cjs/nodes/svg-fe-flood-element/SVGFEFloodElement.cjs +0 -127
- package/cjs/nodes/svg-fe-flood-element/SVGFEFloodElement.cjs.map +0 -1
- package/cjs/nodes/svg-fe-flood-element/SVGFEFloodElement.d.ts +0 -47
- package/cjs/nodes/svg-fe-flood-element/SVGFEFloodElement.d.ts.map +0 -1
- package/cjs/nodes/svg-fe-func-a-element/SVGFEFuncAElement.cjs +0 -15
- package/cjs/nodes/svg-fe-func-a-element/SVGFEFuncAElement.cjs.map +0 -1
- package/cjs/nodes/svg-fe-func-a-element/SVGFEFuncAElement.d.ts +0 -9
- package/cjs/nodes/svg-fe-func-a-element/SVGFEFuncAElement.d.ts.map +0 -1
- package/cjs/nodes/svg-fe-func-b-element/SVGFEFuncBElement.cjs +0 -15
- package/cjs/nodes/svg-fe-func-b-element/SVGFEFuncBElement.cjs.map +0 -1
- package/cjs/nodes/svg-fe-func-b-element/SVGFEFuncBElement.d.ts +0 -9
- package/cjs/nodes/svg-fe-func-b-element/SVGFEFuncBElement.d.ts.map +0 -1
- package/cjs/nodes/svg-fe-func-g-element/SVGFEFuncGElement.cjs +0 -15
- package/cjs/nodes/svg-fe-func-g-element/SVGFEFuncGElement.cjs.map +0 -1
- package/cjs/nodes/svg-fe-func-g-element/SVGFEFuncGElement.d.ts +0 -9
- package/cjs/nodes/svg-fe-func-g-element/SVGFEFuncGElement.d.ts.map +0 -1
- package/cjs/nodes/svg-fe-func-r-element/SVGFEFuncRElement.cjs +0 -15
- package/cjs/nodes/svg-fe-func-r-element/SVGFEFuncRElement.cjs.map +0 -1
- package/cjs/nodes/svg-fe-func-r-element/SVGFEFuncRElement.d.ts +0 -9
- package/cjs/nodes/svg-fe-func-r-element/SVGFEFuncRElement.d.ts.map +0 -1
- package/cjs/nodes/svg-fe-gaussian-blur-element/SVGFEGaussianBlurElement.cjs +0 -206
- package/cjs/nodes/svg-fe-gaussian-blur-element/SVGFEGaussianBlurElement.cjs.map +0 -1
- package/cjs/nodes/svg-fe-gaussian-blur-element/SVGFEGaussianBlurElement.d.ts +0 -88
- package/cjs/nodes/svg-fe-gaussian-blur-element/SVGFEGaussianBlurElement.d.ts.map +0 -1
- package/cjs/nodes/svg-fe-image-element/SVGFEImageElement.cjs +0 -175
- package/cjs/nodes/svg-fe-image-element/SVGFEImageElement.cjs.map +0 -1
- package/cjs/nodes/svg-fe-image-element/SVGFEImageElement.d.ts +0 -75
- package/cjs/nodes/svg-fe-image-element/SVGFEImageElement.d.ts.map +0 -1
- package/cjs/nodes/svg-fe-merge-element/SVGFEMergeElement.cjs +0 -127
- package/cjs/nodes/svg-fe-merge-element/SVGFEMergeElement.cjs.map +0 -1
- package/cjs/nodes/svg-fe-merge-element/SVGFEMergeElement.d.ts +0 -47
- package/cjs/nodes/svg-fe-merge-element/SVGFEMergeElement.d.ts.map +0 -1
- package/cjs/nodes/svg-fe-merge-node-element/SVGFEMergeNodeElement.cjs +0 -66
- package/cjs/nodes/svg-fe-merge-node-element/SVGFEMergeNodeElement.cjs.map +0 -1
- package/cjs/nodes/svg-fe-merge-node-element/SVGFEMergeNodeElement.d.ts +0 -18
- package/cjs/nodes/svg-fe-merge-node-element/SVGFEMergeNodeElement.d.ts.map +0 -1
- package/cjs/nodes/svg-fe-morphology-element/SVGFEMorphologyElement.cjs +0 -195
- package/cjs/nodes/svg-fe-morphology-element/SVGFEMorphologyElement.cjs.map +0 -1
- package/cjs/nodes/svg-fe-morphology-element/SVGFEMorphologyElement.d.ts +0 -80
- package/cjs/nodes/svg-fe-morphology-element/SVGFEMorphologyElement.d.ts.map +0 -1
- package/cjs/nodes/svg-fe-offset-element/SVGFEOffsetElement.cjs +0 -173
- package/cjs/nodes/svg-fe-offset-element/SVGFEOffsetElement.cjs.map +0 -1
- package/cjs/nodes/svg-fe-offset-element/SVGFEOffsetElement.d.ts +0 -69
- package/cjs/nodes/svg-fe-offset-element/SVGFEOffsetElement.d.ts.map +0 -1
- package/cjs/nodes/svg-fe-point-light-element/SVGFEPointLightElement.cjs +0 -96
- package/cjs/nodes/svg-fe-point-light-element/SVGFEPointLightElement.cjs.map +0 -1
- package/cjs/nodes/svg-fe-point-light-element/SVGFEPointLightElement.d.ts +0 -32
- package/cjs/nodes/svg-fe-point-light-element/SVGFEPointLightElement.d.ts.map +0 -1
- package/cjs/nodes/svg-fe-specular-lighting-element/SVGFESpecularLightingElement.cjs +0 -221
- package/cjs/nodes/svg-fe-specular-lighting-element/SVGFESpecularLightingElement.cjs.map +0 -1
- package/cjs/nodes/svg-fe-specular-lighting-element/SVGFESpecularLightingElement.d.ts +0 -90
- package/cjs/nodes/svg-fe-specular-lighting-element/SVGFESpecularLightingElement.d.ts.map +0 -1
- package/cjs/nodes/svg-fe-spot-light-element/SVGFESpotLightElement.cjs +0 -172
- package/cjs/nodes/svg-fe-spot-light-element/SVGFESpotLightElement.cjs.map +0 -1
- package/cjs/nodes/svg-fe-spot-light-element/SVGFESpotLightElement.d.ts +0 -67
- package/cjs/nodes/svg-fe-spot-light-element/SVGFESpotLightElement.d.ts.map +0 -1
- package/cjs/nodes/svg-fe-tile-element/SVGFETileElement.cjs +0 -142
- package/cjs/nodes/svg-fe-tile-element/SVGFETileElement.cjs.map +0 -1
- package/cjs/nodes/svg-fe-tile-element/SVGFETileElement.d.ts +0 -54
- package/cjs/nodes/svg-fe-tile-element/SVGFETileElement.d.ts.map +0 -1
- package/cjs/nodes/svg-fe-turbulence-element/SVGFETurbulenceElement.cjs +0 -231
- package/cjs/nodes/svg-fe-turbulence-element/SVGFETurbulenceElement.cjs.map +0 -1
- package/cjs/nodes/svg-fe-turbulence-element/SVGFETurbulenceElement.d.ts +0 -98
- package/cjs/nodes/svg-fe-turbulence-element/SVGFETurbulenceElement.d.ts.map +0 -1
- package/cjs/nodes/svg-filter-element/SVGFilterElement.cjs +0 -162
- package/cjs/nodes/svg-filter-element/SVGFilterElement.cjs.map +0 -1
- package/cjs/nodes/svg-filter-element/SVGFilterElement.d.ts +0 -62
- package/cjs/nodes/svg-filter-element/SVGFilterElement.d.ts.map +0 -1
- package/cjs/nodes/svg-foreign-object-element/SVGForeignObjectElement.cjs +0 -111
- package/cjs/nodes/svg-foreign-object-element/SVGForeignObjectElement.cjs.map +0 -1
- package/cjs/nodes/svg-foreign-object-element/SVGForeignObjectElement.d.ts +0 -39
- package/cjs/nodes/svg-foreign-object-element/SVGForeignObjectElement.d.ts.map +0 -1
- package/cjs/nodes/svg-g-element/SVGGElement.cjs +0 -15
- package/cjs/nodes/svg-g-element/SVGGElement.cjs.map +0 -1
- package/cjs/nodes/svg-g-element/SVGGElement.d.ts +0 -9
- package/cjs/nodes/svg-g-element/SVGGElement.d.ts.map +0 -1
- package/cjs/nodes/svg-geometry-element/SVGGeometryElement.cjs +0 -120
- package/cjs/nodes/svg-geometry-element/SVGGeometryElement.cjs.map +0 -1
- package/cjs/nodes/svg-geometry-element/SVGGeometryElement.d.ts +0 -54
- package/cjs/nodes/svg-geometry-element/SVGGeometryElement.d.ts.map +0 -1
- package/cjs/nodes/svg-gradient-element/SVGGradientElement.cjs +0 -122
- package/cjs/nodes/svg-gradient-element/SVGGradientElement.cjs.map +0 -1
- package/cjs/nodes/svg-gradient-element/SVGGradientElement.d.ts +0 -45
- package/cjs/nodes/svg-gradient-element/SVGGradientElement.d.ts.map +0 -1
- package/cjs/nodes/svg-graphics-element/SVGGraphicsElement.cjs +0 -145
- package/cjs/nodes/svg-graphics-element/SVGGraphicsElement.cjs.map +0 -1
- package/cjs/nodes/svg-graphics-element/SVGGraphicsElement.d.ts +0 -60
- package/cjs/nodes/svg-graphics-element/SVGGraphicsElement.d.ts.map +0 -1
- package/cjs/nodes/svg-image-element/SVGImageElement.cjs +0 -192
- package/cjs/nodes/svg-image-element/SVGImageElement.cjs.map +0 -1
- package/cjs/nodes/svg-image-element/SVGImageElement.d.ts +0 -85
- package/cjs/nodes/svg-image-element/SVGImageElement.d.ts.map +0 -1
- package/cjs/nodes/svg-line-element/SVGLineElement.cjs +0 -111
- package/cjs/nodes/svg-line-element/SVGLineElement.cjs.map +0 -1
- package/cjs/nodes/svg-line-element/SVGLineElement.d.ts +0 -39
- package/cjs/nodes/svg-line-element/SVGLineElement.d.ts.map +0 -1
- package/cjs/nodes/svg-linear-gradient-element/SVGLinearGradientElement.cjs +0 -111
- package/cjs/nodes/svg-linear-gradient-element/SVGLinearGradientElement.cjs.map +0 -1
- package/cjs/nodes/svg-linear-gradient-element/SVGLinearGradientElement.d.ts +0 -39
- package/cjs/nodes/svg-linear-gradient-element/SVGLinearGradientElement.d.ts.map +0 -1
- package/cjs/nodes/svg-m-path-element/SVGMPathElement.cjs +0 -66
- package/cjs/nodes/svg-m-path-element/SVGMPathElement.cjs.map +0 -1
- package/cjs/nodes/svg-m-path-element/SVGMPathElement.d.ts +0 -18
- package/cjs/nodes/svg-m-path-element/SVGMPathElement.d.ts.map +0 -1
- package/cjs/nodes/svg-marker-element/SVGMarkerElement.cjs +0 -219
- package/cjs/nodes/svg-marker-element/SVGMarkerElement.cjs.map +0 -1
- package/cjs/nodes/svg-marker-element/SVGMarkerElement.d.ts +0 -98
- package/cjs/nodes/svg-marker-element/SVGMarkerElement.d.ts.map +0 -1
- package/cjs/nodes/svg-mask-element/SVGMaskElement.cjs +0 -146
- package/cjs/nodes/svg-mask-element/SVGMaskElement.cjs.map +0 -1
- package/cjs/nodes/svg-mask-element/SVGMaskElement.d.ts +0 -54
- package/cjs/nodes/svg-mask-element/SVGMaskElement.d.ts.map +0 -1
- package/cjs/nodes/svg-metadata-element/SVGMetadataElement.cjs +0 -15
- package/cjs/nodes/svg-metadata-element/SVGMetadataElement.cjs.map +0 -1
- package/cjs/nodes/svg-metadata-element/SVGMetadataElement.d.ts +0 -9
- package/cjs/nodes/svg-metadata-element/SVGMetadataElement.d.ts.map +0 -1
- package/cjs/nodes/svg-path-element/SVGPathElement.cjs +0 -15
- package/cjs/nodes/svg-path-element/SVGPathElement.cjs.map +0 -1
- package/cjs/nodes/svg-path-element/SVGPathElement.d.ts +0 -9
- package/cjs/nodes/svg-path-element/SVGPathElement.d.ts.map +0 -1
- package/cjs/nodes/svg-pattern-element/SVGPatternElement.cjs +0 -178
- package/cjs/nodes/svg-pattern-element/SVGPatternElement.cjs.map +0 -1
- package/cjs/nodes/svg-pattern-element/SVGPatternElement.d.ts +0 -70
- package/cjs/nodes/svg-pattern-element/SVGPatternElement.d.ts.map +0 -1
- package/cjs/nodes/svg-polygon-element/SVGPolygonElement.cjs +0 -82
- package/cjs/nodes/svg-polygon-element/SVGPolygonElement.cjs.map +0 -1
- package/cjs/nodes/svg-polygon-element/SVGPolygonElement.d.ts +0 -25
- package/cjs/nodes/svg-polygon-element/SVGPolygonElement.d.ts.map +0 -1
- package/cjs/nodes/svg-polyline-element/SVGPolylineElement.cjs +0 -82
- package/cjs/nodes/svg-polyline-element/SVGPolylineElement.cjs.map +0 -1
- package/cjs/nodes/svg-polyline-element/SVGPolylineElement.d.ts +0 -25
- package/cjs/nodes/svg-polyline-element/SVGPolylineElement.d.ts.map +0 -1
- package/cjs/nodes/svg-radial-gradient-element/SVGRadialGradientElement.cjs +0 -126
- package/cjs/nodes/svg-radial-gradient-element/SVGRadialGradientElement.cjs.map +0 -1
- package/cjs/nodes/svg-radial-gradient-element/SVGRadialGradientElement.d.ts +0 -46
- package/cjs/nodes/svg-radial-gradient-element/SVGRadialGradientElement.d.ts.map +0 -1
- package/cjs/nodes/svg-rect-element/SVGRectElement.cjs +0 -141
- package/cjs/nodes/svg-rect-element/SVGRectElement.cjs.map +0 -1
- package/cjs/nodes/svg-rect-element/SVGRectElement.d.ts +0 -53
- package/cjs/nodes/svg-rect-element/SVGRectElement.d.ts.map +0 -1
- package/cjs/nodes/svg-script-element/SVGScriptElement.cjs +0 -82
- package/cjs/nodes/svg-script-element/SVGScriptElement.cjs.map +0 -1
- package/cjs/nodes/svg-script-element/SVGScriptElement.d.ts +0 -30
- package/cjs/nodes/svg-script-element/SVGScriptElement.d.ts.map +0 -1
- package/cjs/nodes/svg-set-element/SVGSetElement.cjs +0 -15
- package/cjs/nodes/svg-set-element/SVGSetElement.cjs.map +0 -1
- package/cjs/nodes/svg-set-element/SVGSetElement.d.ts +0 -9
- package/cjs/nodes/svg-set-element/SVGSetElement.d.ts.map +0 -1
- package/cjs/nodes/svg-stop-element/SVGStopElement.cjs +0 -66
- package/cjs/nodes/svg-stop-element/SVGStopElement.cjs.map +0 -1
- package/cjs/nodes/svg-stop-element/SVGStopElement.d.ts +0 -18
- package/cjs/nodes/svg-stop-element/SVGStopElement.d.ts.map +0 -1
- package/cjs/nodes/svg-style-element/SVGStyleElement.cjs +0 -149
- package/cjs/nodes/svg-style-element/SVGStyleElement.cjs.map +0 -1
- package/cjs/nodes/svg-style-element/SVGStyleElement.d.ts +0 -78
- package/cjs/nodes/svg-style-element/SVGStyleElement.d.ts.map +0 -1
- package/cjs/nodes/svg-svg-element/SVGSVGElement.cjs +0 -479
- package/cjs/nodes/svg-svg-element/SVGSVGElement.cjs.map +0 -1
- package/cjs/nodes/svg-svg-element/SVGSVGElement.d.ts +0 -291
- package/cjs/nodes/svg-svg-element/SVGSVGElement.d.ts.map +0 -1
- package/cjs/nodes/svg-switch-element/SVGSwitchElement.cjs +0 -15
- package/cjs/nodes/svg-switch-element/SVGSwitchElement.cjs.map +0 -1
- package/cjs/nodes/svg-switch-element/SVGSwitchElement.d.ts +0 -9
- package/cjs/nodes/svg-switch-element/SVGSwitchElement.d.ts.map +0 -1
- package/cjs/nodes/svg-symbol-element/SVGSymbolElement.cjs +0 -15
- package/cjs/nodes/svg-symbol-element/SVGSymbolElement.cjs.map +0 -1
- package/cjs/nodes/svg-symbol-element/SVGSymbolElement.d.ts +0 -9
- package/cjs/nodes/svg-symbol-element/SVGSymbolElement.d.ts.map +0 -1
- package/cjs/nodes/svg-t-span-element/SVGTSpanElement.cjs +0 -15
- package/cjs/nodes/svg-t-span-element/SVGTSpanElement.cjs.map +0 -1
- package/cjs/nodes/svg-t-span-element/SVGTSpanElement.d.ts +0 -9
- package/cjs/nodes/svg-t-span-element/SVGTSpanElement.d.ts.map +0 -1
- package/cjs/nodes/svg-text-content-element/SVGTextContentElement.cjs +0 -163
- package/cjs/nodes/svg-text-content-element/SVGTextContentElement.cjs.map +0 -1
- package/cjs/nodes/svg-text-content-element/SVGTextContentElement.d.ts +0 -80
- package/cjs/nodes/svg-text-content-element/SVGTextContentElement.d.ts.map +0 -1
- package/cjs/nodes/svg-text-element/SVGTextElement.cjs +0 -15
- package/cjs/nodes/svg-text-element/SVGTextElement.cjs.map +0 -1
- package/cjs/nodes/svg-text-element/SVGTextElement.d.ts +0 -9
- package/cjs/nodes/svg-text-element/SVGTextElement.d.ts.map +0 -1
- package/cjs/nodes/svg-text-path-element/SVGTextPathElement.cjs +0 -124
- package/cjs/nodes/svg-text-path-element/SVGTextPathElement.cjs.map +0 -1
- package/cjs/nodes/svg-text-path-element/SVGTextPathElement.d.ts +0 -47
- package/cjs/nodes/svg-text-path-element/SVGTextPathElement.d.ts.map +0 -1
- package/cjs/nodes/svg-text-positioning-element/SVGTextPositioningElement.cjs +0 -127
- package/cjs/nodes/svg-text-positioning-element/SVGTextPositioningElement.cjs.map +0 -1
- package/cjs/nodes/svg-text-positioning-element/SVGTextPositioningElement.d.ts +0 -47
- package/cjs/nodes/svg-text-positioning-element/SVGTextPositioningElement.d.ts.map +0 -1
- package/cjs/nodes/svg-title-element/SVGTitleElement.cjs +0 -15
- package/cjs/nodes/svg-title-element/SVGTitleElement.cjs.map +0 -1
- package/cjs/nodes/svg-title-element/SVGTitleElement.d.ts +0 -9
- package/cjs/nodes/svg-title-element/SVGTitleElement.d.ts.map +0 -1
- package/cjs/nodes/svg-use-element/SVGUseElement.cjs +0 -127
- package/cjs/nodes/svg-use-element/SVGUseElement.cjs.map +0 -1
- package/cjs/nodes/svg-use-element/SVGUseElement.d.ts +0 -47
- package/cjs/nodes/svg-use-element/SVGUseElement.d.ts.map +0 -1
- package/cjs/nodes/svg-view-element/SVGViewElement.cjs +0 -15
- package/cjs/nodes/svg-view-element/SVGViewElement.cjs.map +0 -1
- package/cjs/nodes/svg-view-element/SVGViewElement.d.ts +0 -9
- package/cjs/nodes/svg-view-element/SVGViewElement.d.ts.map +0 -1
- package/cjs/nodes/text/Text.cjs +0 -137
- package/cjs/nodes/text/Text.cjs.map +0 -1
- package/cjs/nodes/text/Text.d.ts +0 -55
- package/cjs/nodes/text/Text.d.ts.map +0 -1
- package/cjs/nodes/xml-document/XMLDocument.cjs +0 -49
- package/cjs/nodes/xml-document/XMLDocument.cjs.map +0 -1
- package/cjs/nodes/xml-document/XMLDocument.d.ts +0 -9
- package/cjs/nodes/xml-document/XMLDocument.d.ts.map +0 -1
- package/cjs/permissions/PermissionNameEnum.cjs +0 -35
- package/cjs/permissions/PermissionNameEnum.cjs.map +0 -1
- package/cjs/permissions/PermissionNameEnum.d.ts +0 -32
- package/cjs/permissions/PermissionNameEnum.d.ts.map +0 -1
- package/cjs/permissions/PermissionStatus.cjs +0 -27
- package/cjs/permissions/PermissionStatus.cjs.map +0 -1
- package/cjs/permissions/PermissionStatus.d.ts +0 -19
- package/cjs/permissions/PermissionStatus.d.ts.map +0 -1
- package/cjs/permissions/Permissions.cjs +0 -49
- package/cjs/permissions/Permissions.cjs.map +0 -1
- package/cjs/permissions/Permissions.d.ts +0 -32
- package/cjs/permissions/Permissions.d.ts.map +0 -1
- package/cjs/query-selector/ISelectorAttribute.cjs +0 -3
- package/cjs/query-selector/ISelectorAttribute.cjs.map +0 -1
- package/cjs/query-selector/ISelectorAttribute.d.ts +0 -8
- package/cjs/query-selector/ISelectorAttribute.d.ts.map +0 -1
- package/cjs/query-selector/ISelectorMatch.cjs +0 -3
- package/cjs/query-selector/ISelectorMatch.cjs.map +0 -1
- package/cjs/query-selector/ISelectorMatch.d.ts +0 -4
- package/cjs/query-selector/ISelectorMatch.d.ts.map +0 -1
- package/cjs/query-selector/ISelectorPseudo.cjs +0 -3
- package/cjs/query-selector/ISelectorPseudo.cjs.map +0 -1
- package/cjs/query-selector/ISelectorPseudo.d.ts +0 -8
- package/cjs/query-selector/ISelectorPseudo.d.ts.map +0 -1
- package/cjs/query-selector/QuerySelector.cjs +0 -423
- package/cjs/query-selector/QuerySelector.cjs.map +0 -1
- package/cjs/query-selector/QuerySelector.d.ts +0 -109
- package/cjs/query-selector/QuerySelector.d.ts.map +0 -1
- package/cjs/query-selector/SelectorCombinatorEnum.cjs +0 -11
- package/cjs/query-selector/SelectorCombinatorEnum.cjs.map +0 -1
- package/cjs/query-selector/SelectorCombinatorEnum.d.ts +0 -8
- package/cjs/query-selector/SelectorCombinatorEnum.d.ts.map +0 -1
- package/cjs/query-selector/SelectorItem.cjs +0 -465
- package/cjs/query-selector/SelectorItem.cjs.map +0 -1
- package/cjs/query-selector/SelectorItem.d.ts +0 -92
- package/cjs/query-selector/SelectorItem.d.ts.map +0 -1
- package/cjs/query-selector/SelectorParser.cjs +0 -398
- package/cjs/query-selector/SelectorParser.cjs.map +0 -1
- package/cjs/query-selector/SelectorParser.d.ts +0 -59
- package/cjs/query-selector/SelectorParser.d.ts.map +0 -1
- package/cjs/range/IRangeBoundaryPoint.cjs +0 -3
- package/cjs/range/IRangeBoundaryPoint.cjs.map +0 -1
- package/cjs/range/IRangeBoundaryPoint.d.ts +0 -9
- package/cjs/range/IRangeBoundaryPoint.d.ts.map +0 -1
- package/cjs/range/Range.cjs +0 -873
- package/cjs/range/Range.cjs.map +0 -1
- package/cjs/range/Range.d.ts +0 -254
- package/cjs/range/Range.d.ts.map +0 -1
- package/cjs/range/RangeHowEnum.cjs +0 -11
- package/cjs/range/RangeHowEnum.cjs.map +0 -1
- package/cjs/range/RangeHowEnum.d.ts +0 -8
- package/cjs/range/RangeHowEnum.d.ts.map +0 -1
- package/cjs/range/RangeUtility.cjs +0 -127
- package/cjs/range/RangeUtility.cjs.map +0 -1
- package/cjs/range/RangeUtility.d.ts +0 -47
- package/cjs/range/RangeUtility.d.ts.map +0 -1
- package/cjs/resize-observer/ResizeObserver.cjs +0 -35
- package/cjs/resize-observer/ResizeObserver.cjs.map +0 -1
- package/cjs/resize-observer/ResizeObserver.d.ts +0 -26
- package/cjs/resize-observer/ResizeObserver.d.ts.map +0 -1
- package/cjs/screen/Screen.cjs +0 -15
- package/cjs/screen/Screen.cjs.map +0 -1
- package/cjs/screen/Screen.d.ts +0 -12
- package/cjs/screen/Screen.d.ts.map +0 -1
- package/cjs/selection/Selection.cjs +0 -470
- package/cjs/selection/Selection.cjs.map +0 -1
- package/cjs/selection/Selection.d.ts +0 -210
- package/cjs/selection/Selection.d.ts.map +0 -1
- package/cjs/selection/SelectionDirectionEnum.cjs +0 -10
- package/cjs/selection/SelectionDirectionEnum.cjs.map +0 -1
- package/cjs/selection/SelectionDirectionEnum.d.ts +0 -7
- package/cjs/selection/SelectionDirectionEnum.d.ts.map +0 -1
- package/cjs/storage/Storage.cjs +0 -171
- package/cjs/storage/Storage.cjs.map +0 -1
- package/cjs/storage/Storage.d.ts +0 -53
- package/cjs/storage/Storage.d.ts.map +0 -1
- package/cjs/svg/SVGAngle.cjs +0 -290
- package/cjs/svg/SVGAngle.cjs.map +0 -1
- package/cjs/svg/SVGAngle.d.ts +0 -77
- package/cjs/svg/SVGAngle.d.ts.map +0 -1
- package/cjs/svg/SVGAngleTypeEnum.cjs +0 -12
- package/cjs/svg/SVGAngleTypeEnum.cjs.map +0 -1
- package/cjs/svg/SVGAngleTypeEnum.d.ts +0 -9
- package/cjs/svg/SVGAngleTypeEnum.d.ts.map +0 -1
- package/cjs/svg/SVGAnimatedAngle.cjs +0 -116
- package/cjs/svg/SVGAnimatedAngle.cjs.map +0 -1
- package/cjs/svg/SVGAnimatedAngle.d.ts +0 -53
- package/cjs/svg/SVGAnimatedAngle.d.ts.map +0 -1
- package/cjs/svg/SVGAnimatedBoolean.cjs +0 -99
- package/cjs/svg/SVGAnimatedBoolean.cjs.map +0 -1
- package/cjs/svg/SVGAnimatedBoolean.d.ts +0 -50
- package/cjs/svg/SVGAnimatedBoolean.d.ts.map +0 -1
- package/cjs/svg/SVGAnimatedEnumeration.cjs +0 -130
- package/cjs/svg/SVGAnimatedEnumeration.cjs.map +0 -1
- package/cjs/svg/SVGAnimatedEnumeration.d.ts +0 -56
- package/cjs/svg/SVGAnimatedEnumeration.d.ts.map +0 -1
- package/cjs/svg/SVGAnimatedInteger.cjs +0 -110
- package/cjs/svg/SVGAnimatedInteger.cjs.map +0 -1
- package/cjs/svg/SVGAnimatedInteger.d.ts +0 -50
- package/cjs/svg/SVGAnimatedInteger.d.ts.map +0 -1
- package/cjs/svg/SVGAnimatedLength.cjs +0 -116
- package/cjs/svg/SVGAnimatedLength.cjs.map +0 -1
- package/cjs/svg/SVGAnimatedLength.d.ts +0 -53
- package/cjs/svg/SVGAnimatedLength.d.ts.map +0 -1
- package/cjs/svg/SVGAnimatedLengthList.cjs +0 -117
- package/cjs/svg/SVGAnimatedLengthList.cjs.map +0 -1
- package/cjs/svg/SVGAnimatedLengthList.d.ts +0 -53
- package/cjs/svg/SVGAnimatedLengthList.d.ts.map +0 -1
- package/cjs/svg/SVGAnimatedNumber.cjs +0 -113
- package/cjs/svg/SVGAnimatedNumber.cjs.map +0 -1
- package/cjs/svg/SVGAnimatedNumber.d.ts +0 -53
- package/cjs/svg/SVGAnimatedNumber.d.ts.map +0 -1
- package/cjs/svg/SVGAnimatedNumberList.cjs +0 -117
- package/cjs/svg/SVGAnimatedNumberList.cjs.map +0 -1
- package/cjs/svg/SVGAnimatedNumberList.d.ts +0 -53
- package/cjs/svg/SVGAnimatedNumberList.d.ts.map +0 -1
- package/cjs/svg/SVGAnimatedPreserveAspectRatio.cjs +0 -116
- package/cjs/svg/SVGAnimatedPreserveAspectRatio.cjs.map +0 -1
- package/cjs/svg/SVGAnimatedPreserveAspectRatio.d.ts +0 -53
- package/cjs/svg/SVGAnimatedPreserveAspectRatio.d.ts.map +0 -1
- package/cjs/svg/SVGAnimatedRect.cjs +0 -116
- package/cjs/svg/SVGAnimatedRect.cjs.map +0 -1
- package/cjs/svg/SVGAnimatedRect.d.ts +0 -53
- package/cjs/svg/SVGAnimatedRect.d.ts.map +0 -1
- package/cjs/svg/SVGAnimatedString.cjs +0 -102
- package/cjs/svg/SVGAnimatedString.cjs.map +0 -1
- package/cjs/svg/SVGAnimatedString.d.ts +0 -50
- package/cjs/svg/SVGAnimatedString.d.ts.map +0 -1
- package/cjs/svg/SVGAnimatedTransformList.cjs +0 -117
- package/cjs/svg/SVGAnimatedTransformList.cjs.map +0 -1
- package/cjs/svg/SVGAnimatedTransformList.d.ts +0 -53
- package/cjs/svg/SVGAnimatedTransformList.d.ts.map +0 -1
- package/cjs/svg/SVGLength.cjs +0 -348
- package/cjs/svg/SVGLength.cjs.map +0 -1
- package/cjs/svg/SVGLength.d.ts +0 -84
- package/cjs/svg/SVGLength.d.ts.map +0 -1
- package/cjs/svg/SVGLengthList.cjs +0 -420
- package/cjs/svg/SVGLengthList.cjs.map +0 -1
- package/cjs/svg/SVGLengthList.d.ts +0 -102
- package/cjs/svg/SVGLengthList.d.ts.map +0 -1
- package/cjs/svg/SVGLengthTypeEnum.cjs +0 -18
- package/cjs/svg/SVGLengthTypeEnum.cjs.map +0 -1
- package/cjs/svg/SVGLengthTypeEnum.d.ts +0 -15
- package/cjs/svg/SVGLengthTypeEnum.d.ts.map +0 -1
- package/cjs/svg/SVGMatrix.cjs +0 -401
- package/cjs/svg/SVGMatrix.cjs.map +0 -1
- package/cjs/svg/SVGMatrix.d.ts +0 -163
- package/cjs/svg/SVGMatrix.d.ts.map +0 -1
- package/cjs/svg/SVGNumber.cjs +0 -101
- package/cjs/svg/SVGNumber.cjs.map +0 -1
- package/cjs/svg/SVGNumber.d.ts +0 -42
- package/cjs/svg/SVGNumber.d.ts.map +0 -1
- package/cjs/svg/SVGNumberList.cjs +0 -439
- package/cjs/svg/SVGNumberList.cjs.map +0 -1
- package/cjs/svg/SVGNumberList.d.ts +0 -102
- package/cjs/svg/SVGNumberList.d.ts.map +0 -1
- package/cjs/svg/SVGPoint.cjs +0 -125
- package/cjs/svg/SVGPoint.cjs.map +0 -1
- package/cjs/svg/SVGPoint.d.ts +0 -54
- package/cjs/svg/SVGPoint.d.ts.map +0 -1
- package/cjs/svg/SVGPointList.cjs +0 -441
- package/cjs/svg/SVGPointList.cjs.map +0 -1
- package/cjs/svg/SVGPointList.d.ts +0 -102
- package/cjs/svg/SVGPointList.d.ts.map +0 -1
- package/cjs/svg/SVGPreserveAspectRatio.cjs +0 -168
- package/cjs/svg/SVGPreserveAspectRatio.cjs.map +0 -1
- package/cjs/svg/SVGPreserveAspectRatio.d.ts +0 -70
- package/cjs/svg/SVGPreserveAspectRatio.d.ts.map +0 -1
- package/cjs/svg/SVGPreserveAspectRatioAlignEnum.cjs +0 -18
- package/cjs/svg/SVGPreserveAspectRatioAlignEnum.cjs.map +0 -1
- package/cjs/svg/SVGPreserveAspectRatioAlignEnum.d.ts +0 -15
- package/cjs/svg/SVGPreserveAspectRatioAlignEnum.d.ts.map +0 -1
- package/cjs/svg/SVGPreserveAspectRatioMeetOrSliceEnum.cjs +0 -10
- package/cjs/svg/SVGPreserveAspectRatioMeetOrSliceEnum.cjs.map +0 -1
- package/cjs/svg/SVGPreserveAspectRatioMeetOrSliceEnum.d.ts +0 -7
- package/cjs/svg/SVGPreserveAspectRatioMeetOrSliceEnum.d.ts.map +0 -1
- package/cjs/svg/SVGRect.cjs +0 -192
- package/cjs/svg/SVGRect.cjs.map +0 -1
- package/cjs/svg/SVGRect.d.ts +0 -78
- package/cjs/svg/SVGRect.d.ts.map +0 -1
- package/cjs/svg/SVGStringList.cjs +0 -365
- package/cjs/svg/SVGStringList.cjs.map +0 -1
- package/cjs/svg/SVGStringList.d.ts +0 -101
- package/cjs/svg/SVGStringList.d.ts.map +0 -1
- package/cjs/svg/SVGTransform.cjs +0 -317
- package/cjs/svg/SVGTransform.cjs.map +0 -1
- package/cjs/svg/SVGTransform.d.ts +0 -98
- package/cjs/svg/SVGTransform.d.ts.map +0 -1
- package/cjs/svg/SVGTransformList.cjs +0 -444
- package/cjs/svg/SVGTransformList.cjs.map +0 -1
- package/cjs/svg/SVGTransformList.d.ts +0 -102
- package/cjs/svg/SVGTransformList.d.ts.map +0 -1
- package/cjs/svg/SVGTransformTypeEnum.cjs +0 -14
- package/cjs/svg/SVGTransformTypeEnum.cjs.map +0 -1
- package/cjs/svg/SVGTransformTypeEnum.d.ts +0 -11
- package/cjs/svg/SVGTransformTypeEnum.d.ts.map +0 -1
- package/cjs/svg/SVGUnitTypes.cjs +0 -61
- package/cjs/svg/SVGUnitTypes.cjs.map +0 -1
- package/cjs/svg/SVGUnitTypes.d.ts +0 -20
- package/cjs/svg/SVGUnitTypes.d.ts.map +0 -1
- package/cjs/tree-walker/INodeFilter.cjs +0 -3
- package/cjs/tree-walker/INodeFilter.cjs.map +0 -1
- package/cjs/tree-walker/INodeFilter.d.ts +0 -6
- package/cjs/tree-walker/INodeFilter.d.ts.map +0 -1
- package/cjs/tree-walker/NodeFilter.cjs +0 -21
- package/cjs/tree-walker/NodeFilter.cjs.map +0 -1
- package/cjs/tree-walker/NodeFilter.d.ts +0 -20
- package/cjs/tree-walker/NodeFilter.d.ts.map +0 -1
- package/cjs/tree-walker/NodeFilterMask.cjs +0 -33
- package/cjs/tree-walker/NodeFilterMask.cjs.map +0 -1
- package/cjs/tree-walker/NodeFilterMask.d.ts +0 -16
- package/cjs/tree-walker/NodeFilterMask.d.ts.map +0 -1
- package/cjs/tree-walker/NodeIterator.cjs +0 -116
- package/cjs/tree-walker/NodeIterator.cjs.map +0 -1
- package/cjs/tree-walker/NodeIterator.d.ts +0 -50
- package/cjs/tree-walker/NodeIterator.d.ts.map +0 -1
- package/cjs/tree-walker/TreeWalker.cjs +0 -302
- package/cjs/tree-walker/TreeWalker.cjs.map +0 -1
- package/cjs/tree-walker/TreeWalker.d.ts +0 -77
- package/cjs/tree-walker/TreeWalker.d.ts.map +0 -1
- package/cjs/url/URL.cjs +0 -62
- package/cjs/url/URL.cjs.map +0 -1
- package/cjs/url/URL.d.ts +0 -16
- package/cjs/url/URL.d.ts.map +0 -1
- package/cjs/utilities/AttributeUtility.cjs +0 -36
- package/cjs/utilities/AttributeUtility.cjs.map +0 -1
- package/cjs/utilities/AttributeUtility.d.ts +0 -18
- package/cjs/utilities/AttributeUtility.d.ts.map +0 -1
- package/cjs/utilities/ClassMethodBinder.cjs +0 -69
- package/cjs/utilities/ClassMethodBinder.cjs.map +0 -1
- package/cjs/utilities/ClassMethodBinder.d.ts +0 -28
- package/cjs/utilities/ClassMethodBinder.d.ts.map +0 -1
- package/cjs/utilities/StringUtility.cjs +0 -61
- package/cjs/utilities/StringUtility.cjs.map +0 -1
- package/cjs/utilities/StringUtility.d.ts +0 -22
- package/cjs/utilities/StringUtility.d.ts.map +0 -1
- package/cjs/utilities/XMLEncodeUtility.cjs +0 -143
- package/cjs/utilities/XMLEncodeUtility.cjs.map +0 -1
- package/cjs/utilities/XMLEncodeUtility.d.ts +0 -62
- package/cjs/utilities/XMLEncodeUtility.d.ts.map +0 -1
- package/cjs/validity-state/ValidityState.cjs +0 -211
- package/cjs/validity-state/ValidityState.cjs.map +0 -1
- package/cjs/validity-state/ValidityState.d.ts +0 -90
- package/cjs/validity-state/ValidityState.d.ts.map +0 -1
- package/cjs/version.cjs +0 -4
- package/cjs/version.cjs.map +0 -1
- package/cjs/version.d.ts +0 -5
- package/cjs/version.d.ts.map +0 -1
- package/cjs/window/BrowserWindow.cjs +0 -1576
- package/cjs/window/BrowserWindow.cjs.map +0 -1
- package/cjs/window/BrowserWindow.d.ts +0 -1086
- package/cjs/window/BrowserWindow.d.ts.map +0 -1
- package/cjs/window/CrossOriginBrowserWindow.cjs +0 -159
- package/cjs/window/CrossOriginBrowserWindow.cjs.map +0 -1
- package/cjs/window/CrossOriginBrowserWindow.d.ts +0 -85
- package/cjs/window/CrossOriginBrowserWindow.d.ts.map +0 -1
- package/cjs/window/DetachedWindowAPI.cjs +0 -119
- package/cjs/window/DetachedWindowAPI.cjs.map +0 -1
- package/cjs/window/DetachedWindowAPI.d.ts +0 -94
- package/cjs/window/DetachedWindowAPI.d.ts.map +0 -1
- package/cjs/window/GlobalWindow.cjs +0 -115
- package/cjs/window/GlobalWindow.cjs.map +0 -1
- package/cjs/window/GlobalWindow.d.ts +0 -73
- package/cjs/window/GlobalWindow.d.ts.map +0 -1
- package/cjs/window/INodeJSGlobal.cjs +0 -3
- package/cjs/window/INodeJSGlobal.cjs.map +0 -1
- package/cjs/window/INodeJSGlobal.d.ts +0 -68
- package/cjs/window/INodeJSGlobal.d.ts.map +0 -1
- package/cjs/window/IScrollToOptions.cjs +0 -3
- package/cjs/window/IScrollToOptions.cjs.map +0 -1
- package/cjs/window/IScrollToOptions.d.ts +0 -6
- package/cjs/window/IScrollToOptions.d.ts.map +0 -1
- package/cjs/window/VMGlobalPropertyScript.cjs +0 -61
- package/cjs/window/VMGlobalPropertyScript.cjs.map +0 -1
- package/cjs/window/VMGlobalPropertyScript.d.ts +0 -4
- package/cjs/window/VMGlobalPropertyScript.d.ts.map +0 -1
- package/cjs/window/Window.cjs +0 -88
- package/cjs/window/Window.cjs.map +0 -1
- package/cjs/window/Window.d.ts +0 -36
- package/cjs/window/Window.d.ts.map +0 -1
- package/cjs/window/WindowBrowserContext.cjs +0 -130
- package/cjs/window/WindowBrowserContext.cjs.map +0 -1
- package/cjs/window/WindowBrowserContext.d.ts +0 -75
- package/cjs/window/WindowBrowserContext.d.ts.map +0 -1
- package/cjs/window/WindowContextClassExtender.cjs +0 -258
- package/cjs/window/WindowContextClassExtender.cjs.map +0 -1
- package/cjs/window/WindowContextClassExtender.d.ts +0 -15
- package/cjs/window/WindowContextClassExtender.d.ts.map +0 -1
- package/cjs/window/WindowPageOpenUtility.cjs +0 -192
- package/cjs/window/WindowPageOpenUtility.cjs.map +0 -1
- package/cjs/window/WindowPageOpenUtility.d.ts +0 -30
- package/cjs/window/WindowPageOpenUtility.d.ts.map +0 -1
- package/cjs/xml-http-request/XMLHttpRequest.cjs +0 -473
- package/cjs/xml-http-request/XMLHttpRequest.cjs.map +0 -1
- package/cjs/xml-http-request/XMLHttpRequest.d.ts +0 -135
- package/cjs/xml-http-request/XMLHttpRequest.d.ts.map +0 -1
- package/cjs/xml-http-request/XMLHttpRequestEventTarget.cjs +0 -20
- package/cjs/xml-http-request/XMLHttpRequestEventTarget.cjs.map +0 -1
- package/cjs/xml-http-request/XMLHttpRequestEventTarget.d.ts +0 -16
- package/cjs/xml-http-request/XMLHttpRequestEventTarget.d.ts.map +0 -1
- package/cjs/xml-http-request/XMLHttpRequestReadyStateEnum.cjs +0 -12
- package/cjs/xml-http-request/XMLHttpRequestReadyStateEnum.cjs.map +0 -1
- package/cjs/xml-http-request/XMLHttpRequestReadyStateEnum.d.ts +0 -9
- package/cjs/xml-http-request/XMLHttpRequestReadyStateEnum.d.ts.map +0 -1
- package/cjs/xml-http-request/XMLHttpRequestResponseDataParser.cjs +0 -68
- package/cjs/xml-http-request/XMLHttpRequestResponseDataParser.cjs.map +0 -1
- package/cjs/xml-http-request/XMLHttpRequestResponseDataParser.d.ts +0 -26
- package/cjs/xml-http-request/XMLHttpRequestResponseDataParser.d.ts.map +0 -1
- package/cjs/xml-http-request/XMLHttpRequestUpload.cjs +0 -13
- package/cjs/xml-http-request/XMLHttpRequestUpload.cjs.map +0 -1
- package/cjs/xml-http-request/XMLHttpRequestUpload.d.ts +0 -7
- package/cjs/xml-http-request/XMLHttpRequestUpload.d.ts.map +0 -1
- package/cjs/xml-http-request/XMLHttpResponseTypeEnum.cjs +0 -12
- package/cjs/xml-http-request/XMLHttpResponseTypeEnum.cjs.map +0 -1
- package/cjs/xml-http-request/XMLHttpResponseTypeEnum.d.ts +0 -9
- package/cjs/xml-http-request/XMLHttpResponseTypeEnum.d.ts.map +0 -1
- package/cjs/xml-parser/XMLParser.cjs +0 -660
- package/cjs/xml-parser/XMLParser.cjs.map +0 -1
- package/cjs/xml-parser/XMLParser.d.ts +0 -103
- package/cjs/xml-parser/XMLParser.d.ts.map +0 -1
- package/cjs/xml-serializer/XMLSerializer.cjs +0 -232
- package/cjs/xml-serializer/XMLSerializer.cjs.map +0 -1
- package/cjs/xml-serializer/XMLSerializer.d.ts +0 -17
- package/cjs/xml-serializer/XMLSerializer.d.ts.map +0 -1
- package/lib/browser/DefaultBrowserPageViewport.d.ts +0 -4
- package/lib/browser/DefaultBrowserPageViewport.d.ts.map +0 -1
- package/lib/browser/DefaultBrowserPageViewport.js +0 -6
- package/lib/browser/DefaultBrowserPageViewport.js.map +0 -1
- package/lib/fetch/cache/preflight/ICachablePreflightRequest.d.ts +0 -7
- package/lib/fetch/cache/preflight/ICachablePreflightRequest.d.ts.map +0 -1
- package/lib/fetch/cache/preflight/ICachablePreflightRequest.js +0 -2
- package/lib/fetch/cache/preflight/ICachablePreflightRequest.js.map +0 -1
- package/lib/fetch/cache/preflight/ICachablePreflightResponse.d.ts +0 -7
- package/lib/fetch/cache/preflight/ICachablePreflightResponse.d.ts.map +0 -1
- package/lib/fetch/cache/preflight/ICachablePreflightResponse.js +0 -2
- package/lib/fetch/cache/preflight/ICachablePreflightResponse.js.map +0 -1
- package/lib/fetch/cache/response/ICachableRequest.d.ts +0 -7
- package/lib/fetch/cache/response/ICachableRequest.d.ts.map +0 -1
- package/lib/fetch/cache/response/ICachableRequest.js +0 -2
- package/lib/fetch/cache/response/ICachableRequest.js.map +0 -1
- package/lib/fetch/cache/response/ICachableResponse.d.ts +0 -10
- package/lib/fetch/cache/response/ICachableResponse.d.ts.map +0 -1
- package/lib/fetch/cache/response/ICachableResponse.js +0 -2
- package/lib/fetch/cache/response/ICachableResponse.js.map +0 -1
- package/src/browser/DefaultBrowserPageViewport.ts +0 -7
- package/src/fetch/cache/preflight/ICachablePreflightRequest.ts +0 -7
- package/src/fetch/cache/preflight/ICachablePreflightResponse.ts +0 -7
- package/src/fetch/cache/response/ICachableRequest.ts +0 -7
- package/src/fetch/cache/response/ICachableResponse.ts +0 -10
- package/tsconfig.json +0 -40
- package/vitest.config.ts +0 -11
|
@@ -1,2510 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const CSSStyleDeclarationValueParser_js_1 = __importDefault(require("./CSSStyleDeclarationValueParser.cjs"));
|
|
7
|
-
const RECT_REGEXP = /^rect\((.*)\)$/i;
|
|
8
|
-
const SPLIT_COMMA_SEPARATED_WITH_PARANTHESES_REGEXP = /,(?=(?:(?:(?!\))[\s\S])*\()|[^\(\)]*$)/; // Split on commas that are outside of parentheses
|
|
9
|
-
const SPLIT_SPACE_SEPARATED_WITH_PARANTHESES_REGEXP = /\s+(?=(?:(?:(?!\))[\s\S])*\()|[^\(\)]*$)/; // Split on spaces that are outside of parentheses
|
|
10
|
-
const WHITE_SPACE_GLOBAL_REGEXP = /\s+/gm;
|
|
11
|
-
const BORDER_STYLE = [
|
|
12
|
-
'none',
|
|
13
|
-
'hidden',
|
|
14
|
-
'dotted',
|
|
15
|
-
'dashed',
|
|
16
|
-
'solid',
|
|
17
|
-
'double',
|
|
18
|
-
'groove',
|
|
19
|
-
'ridge',
|
|
20
|
-
'inset',
|
|
21
|
-
'outset'
|
|
22
|
-
];
|
|
23
|
-
const BORDER_WIDTH = ['thin', 'medium', 'thick'];
|
|
24
|
-
const BORDER_COLLAPSE = ['separate', 'collapse'];
|
|
25
|
-
const BACKGROUND_REPEAT = ['repeat', 'repeat-x', 'repeat-y', 'no-repeat'];
|
|
26
|
-
const BACKGROUND_ORIGIN = ['border-box', 'padding-box', 'content-box'];
|
|
27
|
-
const BACKGROUND_CLIP = ['border-box', 'padding-box', 'content-box'];
|
|
28
|
-
const BACKGROUND_ATTACHMENT = ['scroll', 'fixed'];
|
|
29
|
-
const FLEX_BASIS = ['auto', 'fill', 'content'];
|
|
30
|
-
const CLEAR = ['none', 'left', 'right', 'both'];
|
|
31
|
-
const FLOAT = ['none', 'left', 'right', 'inline-start', 'inline-end'];
|
|
32
|
-
const SYSTEM_FONT = ['caption', 'icon', 'menu', 'message-box', 'small-caption', 'status-bar'];
|
|
33
|
-
const FONT_WEIGHT = ['normal', 'bold', 'bolder', 'lighter'];
|
|
34
|
-
const FONT_STYLE = ['normal', 'italic', 'oblique'];
|
|
35
|
-
const FONT_SIZE = [
|
|
36
|
-
'xx-small',
|
|
37
|
-
'x-small',
|
|
38
|
-
'small',
|
|
39
|
-
'medium',
|
|
40
|
-
'large',
|
|
41
|
-
'x-large',
|
|
42
|
-
'xx-large',
|
|
43
|
-
'xxx-large',
|
|
44
|
-
'smaller',
|
|
45
|
-
'larger'
|
|
46
|
-
];
|
|
47
|
-
const FONT_STRETCH = [
|
|
48
|
-
'ultra-condensed',
|
|
49
|
-
'extra-condensed',
|
|
50
|
-
'condensed',
|
|
51
|
-
'semi-condensed',
|
|
52
|
-
'normal',
|
|
53
|
-
'semi-expanded',
|
|
54
|
-
'expanded',
|
|
55
|
-
'extra-expanded',
|
|
56
|
-
'ultra-expanded'
|
|
57
|
-
];
|
|
58
|
-
const DISPLAY = [
|
|
59
|
-
/* Legacy values */
|
|
60
|
-
'block',
|
|
61
|
-
'inline',
|
|
62
|
-
'inline-block',
|
|
63
|
-
'flex',
|
|
64
|
-
'inline-flex',
|
|
65
|
-
'grid',
|
|
66
|
-
'inline-grid',
|
|
67
|
-
'flow-root',
|
|
68
|
-
/* Box generation */
|
|
69
|
-
'none',
|
|
70
|
-
'contents',
|
|
71
|
-
/* Two-value syntax */
|
|
72
|
-
'block flow',
|
|
73
|
-
'inline flow',
|
|
74
|
-
'inline flow-root',
|
|
75
|
-
'block flex',
|
|
76
|
-
'inline flex',
|
|
77
|
-
'block grid',
|
|
78
|
-
'inline grid',
|
|
79
|
-
'block flow-root',
|
|
80
|
-
/* Other values */
|
|
81
|
-
'table',
|
|
82
|
-
'table-row',
|
|
83
|
-
'list-item'
|
|
84
|
-
];
|
|
85
|
-
const BORDER_IMAGE_REPEAT = ['stretch', 'repeat', 'round', 'space'];
|
|
86
|
-
const TEXT_TRANSFORM = [
|
|
87
|
-
'capitalize',
|
|
88
|
-
'uppercase',
|
|
89
|
-
'lowercase',
|
|
90
|
-
'none',
|
|
91
|
-
'full-width',
|
|
92
|
-
'full-size-kana'
|
|
93
|
-
];
|
|
94
|
-
const VISIBILITY = ['visible', 'hidden', 'collapse'];
|
|
95
|
-
/**
|
|
96
|
-
* Computed style property parser.
|
|
97
|
-
*/
|
|
98
|
-
class CSSStyleDeclarationPropertySetParser {
|
|
99
|
-
/**
|
|
100
|
-
* Returns border collapse.
|
|
101
|
-
*
|
|
102
|
-
* @param value Value.
|
|
103
|
-
* @param important Important.
|
|
104
|
-
* @returns Property values
|
|
105
|
-
*/
|
|
106
|
-
static getBorderCollapse(value, important) {
|
|
107
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
108
|
-
if (variable) {
|
|
109
|
-
return { 'border-collapse': { value: variable, important } };
|
|
110
|
-
}
|
|
111
|
-
const lowerValue = value.toLowerCase();
|
|
112
|
-
if (CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue) ||
|
|
113
|
-
BORDER_COLLAPSE.includes(lowerValue)) {
|
|
114
|
-
return { 'border-collapse': { value: lowerValue, important } };
|
|
115
|
-
}
|
|
116
|
-
return null;
|
|
117
|
-
}
|
|
118
|
-
/**
|
|
119
|
-
* Returns display.
|
|
120
|
-
*
|
|
121
|
-
* @param value Value.
|
|
122
|
-
* @param important Important.
|
|
123
|
-
* @returns Property values
|
|
124
|
-
*/
|
|
125
|
-
static getDisplay(value, important) {
|
|
126
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
127
|
-
if (variable) {
|
|
128
|
-
return { display: { value: variable, important } };
|
|
129
|
-
}
|
|
130
|
-
const lowerValue = value.toLowerCase();
|
|
131
|
-
if (CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue) || DISPLAY.includes(lowerValue)) {
|
|
132
|
-
return { display: { value: lowerValue, important } };
|
|
133
|
-
}
|
|
134
|
-
return null;
|
|
135
|
-
}
|
|
136
|
-
/**
|
|
137
|
-
* Returns direction.
|
|
138
|
-
*
|
|
139
|
-
* @param value Value.
|
|
140
|
-
* @param important Important.
|
|
141
|
-
* @returns Property values
|
|
142
|
-
*/
|
|
143
|
-
static getDirection(value, important) {
|
|
144
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
145
|
-
if (variable) {
|
|
146
|
-
return { direction: { value: variable, important } };
|
|
147
|
-
}
|
|
148
|
-
const lowerValue = value.toLowerCase();
|
|
149
|
-
if (CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue) ||
|
|
150
|
-
lowerValue === 'ltr' ||
|
|
151
|
-
lowerValue === 'rtl') {
|
|
152
|
-
return { direction: { value: lowerValue, important } };
|
|
153
|
-
}
|
|
154
|
-
return null;
|
|
155
|
-
}
|
|
156
|
-
/**
|
|
157
|
-
* Returns letter spacing.
|
|
158
|
-
*
|
|
159
|
-
* @param value Value.
|
|
160
|
-
* @param important Important.
|
|
161
|
-
* @returns Property values
|
|
162
|
-
*/
|
|
163
|
-
static getLetterSpacing(value, important) {
|
|
164
|
-
const parsedValue = CSSStyleDeclarationValueParser_js_1.default.getVariable(value) ||
|
|
165
|
-
CSSStyleDeclarationValueParser_js_1.default.getGlobal(value) ||
|
|
166
|
-
CSSStyleDeclarationValueParser_js_1.default.getContentMeasurement(value);
|
|
167
|
-
return parsedValue ? { 'letter-spacing': { value: parsedValue, important } } : null;
|
|
168
|
-
}
|
|
169
|
-
/**
|
|
170
|
-
* Returns word spacing.
|
|
171
|
-
*
|
|
172
|
-
* @param value Value.
|
|
173
|
-
* @param important Important.
|
|
174
|
-
* @returns Property values
|
|
175
|
-
*/
|
|
176
|
-
static getWordSpacing(value, important) {
|
|
177
|
-
const parsedValue = CSSStyleDeclarationValueParser_js_1.default.getVariable(value) ||
|
|
178
|
-
CSSStyleDeclarationValueParser_js_1.default.getGlobal(value) ||
|
|
179
|
-
CSSStyleDeclarationValueParser_js_1.default.getContentMeasurement(value);
|
|
180
|
-
return parsedValue ? { 'word-spacing': { value: parsedValue, important } } : null;
|
|
181
|
-
}
|
|
182
|
-
/**
|
|
183
|
-
* Returns text indent.
|
|
184
|
-
*
|
|
185
|
-
* @param value Value.
|
|
186
|
-
* @param important Important.
|
|
187
|
-
* @returns Property values
|
|
188
|
-
*/
|
|
189
|
-
static getTextIndent(value, important) {
|
|
190
|
-
const parsedValue = CSSStyleDeclarationValueParser_js_1.default.getVariable(value) ||
|
|
191
|
-
CSSStyleDeclarationValueParser_js_1.default.getGlobal(value) ||
|
|
192
|
-
CSSStyleDeclarationValueParser_js_1.default.getContentMeasurement(value);
|
|
193
|
-
return parsedValue ? { 'text-indent': { value: parsedValue, important } } : null;
|
|
194
|
-
}
|
|
195
|
-
/**
|
|
196
|
-
* Returns width.
|
|
197
|
-
*
|
|
198
|
-
* @param value Value.
|
|
199
|
-
* @param important Important.
|
|
200
|
-
* @returns Property values
|
|
201
|
-
*/
|
|
202
|
-
static getWidth(value, important) {
|
|
203
|
-
const parsedValue = CSSStyleDeclarationValueParser_js_1.default.getVariable(value) ||
|
|
204
|
-
CSSStyleDeclarationValueParser_js_1.default.getGlobal(value) ||
|
|
205
|
-
CSSStyleDeclarationValueParser_js_1.default.getContentMeasurement(value);
|
|
206
|
-
return parsedValue ? { width: { value: parsedValue, important } } : null;
|
|
207
|
-
}
|
|
208
|
-
/**
|
|
209
|
-
* Returns height.
|
|
210
|
-
*
|
|
211
|
-
* @param value Value.
|
|
212
|
-
* @param important Important.
|
|
213
|
-
* @returns Property values
|
|
214
|
-
*/
|
|
215
|
-
static getHeight(value, important) {
|
|
216
|
-
const parsedValue = CSSStyleDeclarationValueParser_js_1.default.getVariable(value) ||
|
|
217
|
-
CSSStyleDeclarationValueParser_js_1.default.getGlobal(value) ||
|
|
218
|
-
CSSStyleDeclarationValueParser_js_1.default.getContentMeasurement(value);
|
|
219
|
-
return parsedValue ? { height: { value: parsedValue, important } } : null;
|
|
220
|
-
}
|
|
221
|
-
/**
|
|
222
|
-
* Returns top.
|
|
223
|
-
*
|
|
224
|
-
* @param value Value.
|
|
225
|
-
* @param important Important.
|
|
226
|
-
* @returns Property values
|
|
227
|
-
*/
|
|
228
|
-
static getTop(value, important) {
|
|
229
|
-
const parsedValue = CSSStyleDeclarationValueParser_js_1.default.getVariable(value) ||
|
|
230
|
-
CSSStyleDeclarationValueParser_js_1.default.getGlobal(value) ||
|
|
231
|
-
CSSStyleDeclarationValueParser_js_1.default.getContentMeasurement(value);
|
|
232
|
-
return parsedValue ? { top: { value: parsedValue, important } } : null;
|
|
233
|
-
}
|
|
234
|
-
/**
|
|
235
|
-
* Returns top.
|
|
236
|
-
*
|
|
237
|
-
* @param value Value.
|
|
238
|
-
* @param important Important.
|
|
239
|
-
* @returns Property values
|
|
240
|
-
*/
|
|
241
|
-
static getRight(value, important) {
|
|
242
|
-
const parsedValue = CSSStyleDeclarationValueParser_js_1.default.getVariable(value) ||
|
|
243
|
-
CSSStyleDeclarationValueParser_js_1.default.getGlobal(value) ||
|
|
244
|
-
CSSStyleDeclarationValueParser_js_1.default.getContentMeasurement(value);
|
|
245
|
-
return parsedValue ? { right: { value: parsedValue, important } } : null;
|
|
246
|
-
}
|
|
247
|
-
/**
|
|
248
|
-
* Returns top.
|
|
249
|
-
*
|
|
250
|
-
* @param value Value.
|
|
251
|
-
* @param important Important.
|
|
252
|
-
* @returns Property values
|
|
253
|
-
*/
|
|
254
|
-
static getBottom(value, important) {
|
|
255
|
-
const parsedValue = CSSStyleDeclarationValueParser_js_1.default.getVariable(value) ||
|
|
256
|
-
CSSStyleDeclarationValueParser_js_1.default.getGlobal(value) ||
|
|
257
|
-
CSSStyleDeclarationValueParser_js_1.default.getContentMeasurement(value);
|
|
258
|
-
return parsedValue ? { bottom: { value: parsedValue, important } } : null;
|
|
259
|
-
}
|
|
260
|
-
/**
|
|
261
|
-
* Returns top.
|
|
262
|
-
*
|
|
263
|
-
* @param value Value.
|
|
264
|
-
* @param important Important.
|
|
265
|
-
* @returns Property values
|
|
266
|
-
*/
|
|
267
|
-
static getLeft(value, important) {
|
|
268
|
-
const parsedValue = CSSStyleDeclarationValueParser_js_1.default.getVariable(value) ||
|
|
269
|
-
CSSStyleDeclarationValueParser_js_1.default.getGlobal(value) ||
|
|
270
|
-
CSSStyleDeclarationValueParser_js_1.default.getContentMeasurement(value);
|
|
271
|
-
return parsedValue ? { left: { value: parsedValue, important } } : null;
|
|
272
|
-
}
|
|
273
|
-
/**
|
|
274
|
-
* Returns clear.
|
|
275
|
-
*
|
|
276
|
-
* @param value Value.
|
|
277
|
-
* @param important Important.
|
|
278
|
-
* @returns Property values
|
|
279
|
-
*/
|
|
280
|
-
static getClear(value, important) {
|
|
281
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
282
|
-
if (variable) {
|
|
283
|
-
return { clear: { value: variable, important } };
|
|
284
|
-
}
|
|
285
|
-
const lowerValue = value.toLowerCase();
|
|
286
|
-
if (CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue) || CLEAR.includes(lowerValue)) {
|
|
287
|
-
return { clear: { value: lowerValue, important } };
|
|
288
|
-
}
|
|
289
|
-
return null;
|
|
290
|
-
}
|
|
291
|
-
/**
|
|
292
|
-
* Returns clip
|
|
293
|
-
*
|
|
294
|
-
* Based on:
|
|
295
|
-
* https://github.com/jsdom/cssstyle/blob/master/lib/properties/clip.js
|
|
296
|
-
*
|
|
297
|
-
* @param value Value.
|
|
298
|
-
* @param important Important.
|
|
299
|
-
* @returns Property values
|
|
300
|
-
*/
|
|
301
|
-
static getClip(value, important) {
|
|
302
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
303
|
-
if (variable) {
|
|
304
|
-
return { clip: { value: variable, important } };
|
|
305
|
-
}
|
|
306
|
-
const lowerValue = value.toLowerCase();
|
|
307
|
-
if (CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue) || lowerValue === 'auto') {
|
|
308
|
-
return { clip: { value: lowerValue, important } };
|
|
309
|
-
}
|
|
310
|
-
const matches = lowerValue.match(RECT_REGEXP);
|
|
311
|
-
if (!matches) {
|
|
312
|
-
return null;
|
|
313
|
-
}
|
|
314
|
-
const parts = matches[1].split(/\s*,\s*/);
|
|
315
|
-
if (parts.length !== 4) {
|
|
316
|
-
return null;
|
|
317
|
-
}
|
|
318
|
-
for (const part of parts) {
|
|
319
|
-
if (!CSSStyleDeclarationValueParser_js_1.default.getMeasurement(part)) {
|
|
320
|
-
return null;
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
return { clip: { value, important } };
|
|
324
|
-
}
|
|
325
|
-
/**
|
|
326
|
-
* Returns float.
|
|
327
|
-
*
|
|
328
|
-
* @param value Value.
|
|
329
|
-
* @param important Important.
|
|
330
|
-
* @returns Property values
|
|
331
|
-
*/
|
|
332
|
-
static getFloat(value, important) {
|
|
333
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
334
|
-
if (variable) {
|
|
335
|
-
return { float: { value: variable, important } };
|
|
336
|
-
}
|
|
337
|
-
const lowerValue = value.toLowerCase();
|
|
338
|
-
if (CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue) || FLOAT.includes(lowerValue)) {
|
|
339
|
-
return { float: { value: lowerValue, important } };
|
|
340
|
-
}
|
|
341
|
-
return null;
|
|
342
|
-
}
|
|
343
|
-
/**
|
|
344
|
-
* Returns float.
|
|
345
|
-
*
|
|
346
|
-
* @param value Value.
|
|
347
|
-
* @param important Important.
|
|
348
|
-
* @returns Property values
|
|
349
|
-
*/
|
|
350
|
-
static getCSSFloat(value, important) {
|
|
351
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
352
|
-
if (variable) {
|
|
353
|
-
return { 'css-float': { value: variable, important } };
|
|
354
|
-
}
|
|
355
|
-
const float = this.getFloat(value, important);
|
|
356
|
-
return float ? { 'css-float': float['float'] } : null;
|
|
357
|
-
}
|
|
358
|
-
/**
|
|
359
|
-
* Returns outline.
|
|
360
|
-
*
|
|
361
|
-
* @param value Value.
|
|
362
|
-
* @param important Important.
|
|
363
|
-
* @returns Property values.
|
|
364
|
-
*/
|
|
365
|
-
static getOutline(value, important) {
|
|
366
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
367
|
-
if (variable) {
|
|
368
|
-
return { outline: { value: variable, important } };
|
|
369
|
-
}
|
|
370
|
-
const globalValue = CSSStyleDeclarationValueParser_js_1.default.getGlobal(value);
|
|
371
|
-
if (globalValue) {
|
|
372
|
-
return {
|
|
373
|
-
...this.getOutlineColor(globalValue, important),
|
|
374
|
-
...this.getOutlineStyle(globalValue, important),
|
|
375
|
-
...this.getOutlineWidth(globalValue, important)
|
|
376
|
-
};
|
|
377
|
-
}
|
|
378
|
-
const properties = {
|
|
379
|
-
...this.getOutlineColor('initial', important),
|
|
380
|
-
...this.getOutlineStyle('initial', important),
|
|
381
|
-
...this.getOutlineWidth('initial', important)
|
|
382
|
-
};
|
|
383
|
-
const parts = value.split(SPLIT_SPACE_SEPARATED_WITH_PARANTHESES_REGEXP);
|
|
384
|
-
for (const part of parts) {
|
|
385
|
-
const width = this.getOutlineWidth(part, important);
|
|
386
|
-
const style = this.getOutlineStyle(part, important);
|
|
387
|
-
const color = this.getOutlineColor(part, important);
|
|
388
|
-
if (width === null && style === null && color === null) {
|
|
389
|
-
return null;
|
|
390
|
-
}
|
|
391
|
-
Object.assign(properties, width, style, color);
|
|
392
|
-
}
|
|
393
|
-
return properties;
|
|
394
|
-
}
|
|
395
|
-
/**
|
|
396
|
-
* Returns outline color.
|
|
397
|
-
*
|
|
398
|
-
* @param value Value.
|
|
399
|
-
* @param important Important.
|
|
400
|
-
* @returns Property values
|
|
401
|
-
*/
|
|
402
|
-
static getOutlineColor(value, important) {
|
|
403
|
-
const color = CSSStyleDeclarationValueParser_js_1.default.getVariable(value) ||
|
|
404
|
-
CSSStyleDeclarationValueParser_js_1.default.getGlobal(value) ||
|
|
405
|
-
CSSStyleDeclarationValueParser_js_1.default.getColor(value);
|
|
406
|
-
return color
|
|
407
|
-
? {
|
|
408
|
-
'outline-color': { value: color, important }
|
|
409
|
-
}
|
|
410
|
-
: null;
|
|
411
|
-
}
|
|
412
|
-
/**
|
|
413
|
-
* Returns outline offset.
|
|
414
|
-
*
|
|
415
|
-
* @param value Value.
|
|
416
|
-
* @param important Important.
|
|
417
|
-
* @returns Property values
|
|
418
|
-
*/
|
|
419
|
-
static getOutlineOffset(value, important) {
|
|
420
|
-
const parsedValue = CSSStyleDeclarationValueParser_js_1.default.getVariable(value) ||
|
|
421
|
-
CSSStyleDeclarationValueParser_js_1.default.getLength(value);
|
|
422
|
-
return parsedValue ? { 'outline-offset': { value: parsedValue, important } } : null;
|
|
423
|
-
}
|
|
424
|
-
/**
|
|
425
|
-
* Returns outline style.
|
|
426
|
-
*
|
|
427
|
-
* @param value Value.
|
|
428
|
-
* @param important Important.
|
|
429
|
-
* @returns Property values
|
|
430
|
-
*/
|
|
431
|
-
static getOutlineStyle(value, important) {
|
|
432
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
433
|
-
if (variable) {
|
|
434
|
-
return { 'outline-style': { value: variable, important } };
|
|
435
|
-
}
|
|
436
|
-
const lowerValue = value.toLowerCase();
|
|
437
|
-
if (CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue) || BORDER_STYLE.includes(lowerValue)) {
|
|
438
|
-
return {
|
|
439
|
-
'outline-style': { value: lowerValue, important }
|
|
440
|
-
};
|
|
441
|
-
}
|
|
442
|
-
return null;
|
|
443
|
-
}
|
|
444
|
-
/**
|
|
445
|
-
* Returns outline width.
|
|
446
|
-
*
|
|
447
|
-
* @param value Value.
|
|
448
|
-
* @param important Important.
|
|
449
|
-
* @returns Property values
|
|
450
|
-
*/
|
|
451
|
-
static getOutlineWidth(value, important) {
|
|
452
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
453
|
-
if (variable) {
|
|
454
|
-
return { 'outline-width': { value: variable, important } };
|
|
455
|
-
}
|
|
456
|
-
const lowerValue = value.toLowerCase();
|
|
457
|
-
const parsedValue = BORDER_WIDTH.includes(lowerValue) || CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue)
|
|
458
|
-
? lowerValue
|
|
459
|
-
: CSSStyleDeclarationValueParser_js_1.default.getLength(value);
|
|
460
|
-
if (parsedValue) {
|
|
461
|
-
return {
|
|
462
|
-
'outline-width': { value: parsedValue, important }
|
|
463
|
-
};
|
|
464
|
-
}
|
|
465
|
-
return null;
|
|
466
|
-
}
|
|
467
|
-
/**
|
|
468
|
-
* Returns border.
|
|
469
|
-
*
|
|
470
|
-
* @param value Value.
|
|
471
|
-
* @param important Important.
|
|
472
|
-
* @returns Property values.
|
|
473
|
-
*/
|
|
474
|
-
static getBorder(value, important) {
|
|
475
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
476
|
-
if (variable) {
|
|
477
|
-
return { border: { value: variable, important } };
|
|
478
|
-
}
|
|
479
|
-
const globalValue = CSSStyleDeclarationValueParser_js_1.default.getGlobal(value);
|
|
480
|
-
if (globalValue) {
|
|
481
|
-
return {
|
|
482
|
-
...this.getBorderWidth(globalValue, important),
|
|
483
|
-
...this.getBorderStyle(globalValue, important),
|
|
484
|
-
...this.getBorderColor(globalValue, important),
|
|
485
|
-
...this.getBorderImage(globalValue, important)
|
|
486
|
-
};
|
|
487
|
-
}
|
|
488
|
-
const properties = {
|
|
489
|
-
...this.getBorderWidth('initial', important),
|
|
490
|
-
...this.getBorderStyle('initial', important),
|
|
491
|
-
...this.getBorderColor('initial', important),
|
|
492
|
-
...this.getBorderImage('initial', important)
|
|
493
|
-
};
|
|
494
|
-
const parts = value
|
|
495
|
-
.replace(/\s*,\s*/g, ',')
|
|
496
|
-
.split(SPLIT_SPACE_SEPARATED_WITH_PARANTHESES_REGEXP);
|
|
497
|
-
for (const part of parts) {
|
|
498
|
-
const width = this.getBorderWidth(part, important);
|
|
499
|
-
const style = this.getBorderStyle(part, important);
|
|
500
|
-
const color = this.getBorderColor(part, important);
|
|
501
|
-
if (width === null && style === null && color === null) {
|
|
502
|
-
return null;
|
|
503
|
-
}
|
|
504
|
-
Object.assign(properties, width, style, color);
|
|
505
|
-
}
|
|
506
|
-
return properties;
|
|
507
|
-
}
|
|
508
|
-
/**
|
|
509
|
-
* Returns border width.
|
|
510
|
-
*
|
|
511
|
-
* @param value Value.
|
|
512
|
-
* @param important Important.
|
|
513
|
-
* @returns Property values
|
|
514
|
-
*/
|
|
515
|
-
static getBorderWidth(value, important) {
|
|
516
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
517
|
-
if (variable) {
|
|
518
|
-
return { 'border-width': { value: variable, important } };
|
|
519
|
-
}
|
|
520
|
-
const globalValue = CSSStyleDeclarationValueParser_js_1.default.getGlobal(value);
|
|
521
|
-
if (globalValue) {
|
|
522
|
-
return {
|
|
523
|
-
...this.getBorderTopWidth(globalValue, important),
|
|
524
|
-
...this.getBorderRightWidth(globalValue, important),
|
|
525
|
-
...this.getBorderBottomWidth(globalValue, important),
|
|
526
|
-
...this.getBorderLeftWidth(globalValue, important)
|
|
527
|
-
};
|
|
528
|
-
}
|
|
529
|
-
const parts = value.split(SPLIT_SPACE_SEPARATED_WITH_PARANTHESES_REGEXP);
|
|
530
|
-
const top = this.getBorderTopWidth(parts[0], important);
|
|
531
|
-
const right = this.getBorderRightWidth(parts[1] || parts[0], important);
|
|
532
|
-
const bottom = this.getBorderBottomWidth(parts[2] || parts[0], important);
|
|
533
|
-
const left = this.getBorderLeftWidth(parts[3] || parts[1] || parts[0], important);
|
|
534
|
-
if (!top || !right || !bottom || !left) {
|
|
535
|
-
return null;
|
|
536
|
-
}
|
|
537
|
-
return {
|
|
538
|
-
...top,
|
|
539
|
-
...right,
|
|
540
|
-
...bottom,
|
|
541
|
-
...left
|
|
542
|
-
};
|
|
543
|
-
}
|
|
544
|
-
/**
|
|
545
|
-
* Returns border style.
|
|
546
|
-
*
|
|
547
|
-
* @param value Value.
|
|
548
|
-
* @param important Important.
|
|
549
|
-
* @returns Property values
|
|
550
|
-
*/
|
|
551
|
-
static getBorderStyle(value, important) {
|
|
552
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
553
|
-
if (variable) {
|
|
554
|
-
return { 'border-style': { value: variable, important } };
|
|
555
|
-
}
|
|
556
|
-
const globalValue = CSSStyleDeclarationValueParser_js_1.default.getGlobal(value);
|
|
557
|
-
if (globalValue) {
|
|
558
|
-
return {
|
|
559
|
-
...this.getBorderTopStyle(globalValue, important),
|
|
560
|
-
...this.getBorderRightStyle(globalValue, important),
|
|
561
|
-
...this.getBorderBottomStyle(globalValue, important),
|
|
562
|
-
...this.getBorderLeftStyle(globalValue, important)
|
|
563
|
-
};
|
|
564
|
-
}
|
|
565
|
-
const parts = value.split(SPLIT_SPACE_SEPARATED_WITH_PARANTHESES_REGEXP);
|
|
566
|
-
const top = this.getBorderTopStyle(parts[0], important);
|
|
567
|
-
const right = this.getBorderRightStyle(parts[1] || parts[0], important);
|
|
568
|
-
const bottom = this.getBorderBottomStyle(parts[2] || parts[0], important);
|
|
569
|
-
const left = this.getBorderLeftStyle(parts[3] || parts[1] || parts[0], important);
|
|
570
|
-
if (!top || !right || !bottom || !left) {
|
|
571
|
-
return null;
|
|
572
|
-
}
|
|
573
|
-
return {
|
|
574
|
-
...top,
|
|
575
|
-
...right,
|
|
576
|
-
...bottom,
|
|
577
|
-
...left
|
|
578
|
-
};
|
|
579
|
-
}
|
|
580
|
-
/**
|
|
581
|
-
* Returns border color.
|
|
582
|
-
*
|
|
583
|
-
* @param value Value.
|
|
584
|
-
* @param important Important.
|
|
585
|
-
* @returns Property values
|
|
586
|
-
*/
|
|
587
|
-
static getBorderColor(value, important) {
|
|
588
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
589
|
-
if (variable) {
|
|
590
|
-
return { 'border-color': { value: variable, important } };
|
|
591
|
-
}
|
|
592
|
-
const globalValue = CSSStyleDeclarationValueParser_js_1.default.getGlobal(value);
|
|
593
|
-
if (globalValue) {
|
|
594
|
-
return {
|
|
595
|
-
...this.getBorderTopColor(globalValue, important),
|
|
596
|
-
...this.getBorderRightColor(globalValue, important),
|
|
597
|
-
...this.getBorderBottomColor(globalValue, important),
|
|
598
|
-
...this.getBorderLeftColor(globalValue, important)
|
|
599
|
-
};
|
|
600
|
-
}
|
|
601
|
-
const parts = value.split(SPLIT_SPACE_SEPARATED_WITH_PARANTHESES_REGEXP);
|
|
602
|
-
const top = this.getBorderTopColor(parts[0], important);
|
|
603
|
-
const right = this.getBorderRightColor(parts[1] || parts[0], important);
|
|
604
|
-
const bottom = this.getBorderBottomColor(parts[2] || parts[0], important);
|
|
605
|
-
const left = this.getBorderLeftColor(parts[3] || parts[1] || parts[0], important);
|
|
606
|
-
if (!top || !right || !bottom || !left) {
|
|
607
|
-
return null;
|
|
608
|
-
}
|
|
609
|
-
return {
|
|
610
|
-
...top,
|
|
611
|
-
...right,
|
|
612
|
-
...bottom,
|
|
613
|
-
...left
|
|
614
|
-
};
|
|
615
|
-
}
|
|
616
|
-
/**
|
|
617
|
-
* Returns border image.
|
|
618
|
-
*
|
|
619
|
-
* @param value Value.
|
|
620
|
-
* @param important Important.
|
|
621
|
-
* @returns Property values
|
|
622
|
-
*/
|
|
623
|
-
static getBorderImage(value, important) {
|
|
624
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
625
|
-
if (variable) {
|
|
626
|
-
return { 'border-image': { value: variable, important } };
|
|
627
|
-
}
|
|
628
|
-
const globalValue = CSSStyleDeclarationValueParser_js_1.default.getGlobal(value);
|
|
629
|
-
if (globalValue) {
|
|
630
|
-
return {
|
|
631
|
-
...this.getBorderImageSource(globalValue, important),
|
|
632
|
-
...this.getBorderImageSlice(globalValue, important),
|
|
633
|
-
...this.getBorderImageWidth(globalValue, important),
|
|
634
|
-
...this.getBorderImageOutset(globalValue, important),
|
|
635
|
-
...this.getBorderImageRepeat(globalValue, important)
|
|
636
|
-
};
|
|
637
|
-
}
|
|
638
|
-
let parsedValue = value.replace(/\s\/\s/g, '/');
|
|
639
|
-
const sourceMatch = parsedValue.match(/\s*([a-zA-Z-]+\([^)]*\))\s*/);
|
|
640
|
-
if (sourceMatch) {
|
|
641
|
-
parsedValue = parsedValue.replace(sourceMatch[0], '');
|
|
642
|
-
}
|
|
643
|
-
const parts = parsedValue.split(SPLIT_SPACE_SEPARATED_WITH_PARANTHESES_REGEXP);
|
|
644
|
-
if (sourceMatch) {
|
|
645
|
-
parts.push(sourceMatch[1]);
|
|
646
|
-
}
|
|
647
|
-
const properties = {
|
|
648
|
-
...this.getBorderImageSource('none', important),
|
|
649
|
-
...this.getBorderImageSlice('100%', important),
|
|
650
|
-
...this.getBorderImageWidth('1', important),
|
|
651
|
-
...this.getBorderImageOutset('0', important),
|
|
652
|
-
...this.getBorderImageRepeat('stretch', important)
|
|
653
|
-
};
|
|
654
|
-
for (let i = 0, max = parts.length; i < max; i++) {
|
|
655
|
-
const part = parts[i];
|
|
656
|
-
const previousPart = i > 0 ? parts[i - 1] : '';
|
|
657
|
-
if (!part.startsWith('url') && part.includes('/')) {
|
|
658
|
-
const [slice, width, outset] = part.split('/');
|
|
659
|
-
const borderImageSlice = this.getBorderImageSlice(`${previousPart} ${slice}`, important) ||
|
|
660
|
-
this.getBorderImageSlice(slice, important);
|
|
661
|
-
const borderImageWidth = this.getBorderImageWidth(width, important);
|
|
662
|
-
const borderImageOutset = outset && this.getBorderImageOutset(outset, important);
|
|
663
|
-
if (!borderImageSlice || !borderImageWidth || borderImageOutset === null) {
|
|
664
|
-
return null;
|
|
665
|
-
}
|
|
666
|
-
Object.assign(properties, borderImageSlice, borderImageWidth, borderImageOutset);
|
|
667
|
-
}
|
|
668
|
-
else {
|
|
669
|
-
const slice = this.getBorderImageSlice(`${previousPart} ${part}`, important) ||
|
|
670
|
-
this.getBorderImageSlice(part, important);
|
|
671
|
-
const source = this.getBorderImageSource(part, important);
|
|
672
|
-
const repeat = this.getBorderImageRepeat(part, important);
|
|
673
|
-
if (!slice && !source && !repeat) {
|
|
674
|
-
return null;
|
|
675
|
-
}
|
|
676
|
-
Object.assign(properties, slice, source, repeat);
|
|
677
|
-
}
|
|
678
|
-
}
|
|
679
|
-
return properties;
|
|
680
|
-
}
|
|
681
|
-
/**
|
|
682
|
-
* Returns border source.
|
|
683
|
-
*
|
|
684
|
-
* @param value Value.
|
|
685
|
-
* @param important Important.
|
|
686
|
-
* @returns Property values
|
|
687
|
-
*/
|
|
688
|
-
static getBorderImageSource(value, important) {
|
|
689
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
690
|
-
if (variable) {
|
|
691
|
-
return { 'border-image-source': { value: variable, important } };
|
|
692
|
-
}
|
|
693
|
-
const lowerValue = value.toLowerCase();
|
|
694
|
-
if (CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue) || lowerValue === 'none') {
|
|
695
|
-
return {
|
|
696
|
-
'border-image-source': {
|
|
697
|
-
important,
|
|
698
|
-
value: lowerValue
|
|
699
|
-
}
|
|
700
|
-
};
|
|
701
|
-
}
|
|
702
|
-
const parsedValue = CSSStyleDeclarationValueParser_js_1.default.getURL(value) ||
|
|
703
|
-
CSSStyleDeclarationValueParser_js_1.default.getGradient(value);
|
|
704
|
-
if (!parsedValue) {
|
|
705
|
-
return null;
|
|
706
|
-
}
|
|
707
|
-
return {
|
|
708
|
-
'border-image-source': {
|
|
709
|
-
important,
|
|
710
|
-
value: parsedValue
|
|
711
|
-
}
|
|
712
|
-
};
|
|
713
|
-
}
|
|
714
|
-
/**
|
|
715
|
-
* Returns border slice.
|
|
716
|
-
*
|
|
717
|
-
* @param value Value.
|
|
718
|
-
* @param important Important.
|
|
719
|
-
* @returns Property values
|
|
720
|
-
*/
|
|
721
|
-
static getBorderImageSlice(value, important) {
|
|
722
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
723
|
-
if (variable) {
|
|
724
|
-
return { 'border-image-slice': { value: variable, important } };
|
|
725
|
-
}
|
|
726
|
-
const lowerValue = value.toLowerCase();
|
|
727
|
-
if (CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue)) {
|
|
728
|
-
return {
|
|
729
|
-
'border-image-slice': {
|
|
730
|
-
important,
|
|
731
|
-
value: lowerValue
|
|
732
|
-
}
|
|
733
|
-
};
|
|
734
|
-
}
|
|
735
|
-
if (lowerValue !== lowerValue.trim()) {
|
|
736
|
-
return null;
|
|
737
|
-
}
|
|
738
|
-
const regexp = /(fill)|(calc\([^^)]+\))|([0-9]+%)|([0-9]+)/g;
|
|
739
|
-
const values = [];
|
|
740
|
-
let match;
|
|
741
|
-
while ((match = regexp.exec(lowerValue))) {
|
|
742
|
-
const previousCharacter = lowerValue[match.index - 1];
|
|
743
|
-
const nextCharacter = lowerValue[match.index + match[0].length];
|
|
744
|
-
if ((previousCharacter && previousCharacter !== ' ') ||
|
|
745
|
-
(nextCharacter && nextCharacter !== ' ')) {
|
|
746
|
-
return null;
|
|
747
|
-
}
|
|
748
|
-
const fill = match[1] && 'fill';
|
|
749
|
-
const calc = match[2] && CSSStyleDeclarationValueParser_js_1.default.getCalc(match[2]);
|
|
750
|
-
const percentage = match[3] && CSSStyleDeclarationValueParser_js_1.default.getPercentage(match[3]);
|
|
751
|
-
const integer = match[4] && CSSStyleDeclarationValueParser_js_1.default.getInteger(match[4]);
|
|
752
|
-
if (!fill && !calc && !percentage && !integer) {
|
|
753
|
-
return null;
|
|
754
|
-
}
|
|
755
|
-
values.push(fill || calc || percentage || integer);
|
|
756
|
-
}
|
|
757
|
-
if (!values.length || values.length > 4) {
|
|
758
|
-
return null;
|
|
759
|
-
}
|
|
760
|
-
return {
|
|
761
|
-
'border-image-slice': {
|
|
762
|
-
important,
|
|
763
|
-
value: values.join(' ')
|
|
764
|
-
}
|
|
765
|
-
};
|
|
766
|
-
}
|
|
767
|
-
/**
|
|
768
|
-
* Returns border width.
|
|
769
|
-
*
|
|
770
|
-
* @param value Value.
|
|
771
|
-
* @param important Important.
|
|
772
|
-
* @returns Property values
|
|
773
|
-
*/
|
|
774
|
-
static getBorderImageWidth(value, important) {
|
|
775
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
776
|
-
if (variable) {
|
|
777
|
-
return { 'border-image-width': { value: variable, important } };
|
|
778
|
-
}
|
|
779
|
-
const lowerValue = value.toLowerCase();
|
|
780
|
-
if (CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue)) {
|
|
781
|
-
return {
|
|
782
|
-
'border-image-width': {
|
|
783
|
-
important,
|
|
784
|
-
value: lowerValue
|
|
785
|
-
}
|
|
786
|
-
};
|
|
787
|
-
}
|
|
788
|
-
const parts = lowerValue.split(SPLIT_SPACE_SEPARATED_WITH_PARANTHESES_REGEXP);
|
|
789
|
-
if (parts.length > 4) {
|
|
790
|
-
return null;
|
|
791
|
-
}
|
|
792
|
-
for (const part of parts) {
|
|
793
|
-
if (!CSSStyleDeclarationValueParser_js_1.default.getInteger(part) &&
|
|
794
|
-
!CSSStyleDeclarationValueParser_js_1.default.getAutoMeasurement(part)) {
|
|
795
|
-
return null;
|
|
796
|
-
}
|
|
797
|
-
}
|
|
798
|
-
return {
|
|
799
|
-
'border-image-width': {
|
|
800
|
-
important,
|
|
801
|
-
value
|
|
802
|
-
}
|
|
803
|
-
};
|
|
804
|
-
}
|
|
805
|
-
/**
|
|
806
|
-
* Returns border outset.
|
|
807
|
-
*
|
|
808
|
-
* @param value Value.
|
|
809
|
-
* @param important Important.
|
|
810
|
-
* @returns Property values
|
|
811
|
-
*/
|
|
812
|
-
static getBorderImageOutset(value, important) {
|
|
813
|
-
if (value === '0') {
|
|
814
|
-
return {
|
|
815
|
-
'border-image-outset': {
|
|
816
|
-
important,
|
|
817
|
-
value
|
|
818
|
-
}
|
|
819
|
-
};
|
|
820
|
-
}
|
|
821
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
822
|
-
if (variable) {
|
|
823
|
-
return { 'border-image-outset': { value: variable, important } };
|
|
824
|
-
}
|
|
825
|
-
const lowerValue = value.toLowerCase();
|
|
826
|
-
if (CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue)) {
|
|
827
|
-
return {
|
|
828
|
-
'border-image-outset': {
|
|
829
|
-
important,
|
|
830
|
-
value: lowerValue
|
|
831
|
-
}
|
|
832
|
-
};
|
|
833
|
-
}
|
|
834
|
-
const parts = value.split(SPLIT_SPACE_SEPARATED_WITH_PARANTHESES_REGEXP);
|
|
835
|
-
if (parts.length > 4) {
|
|
836
|
-
return null;
|
|
837
|
-
}
|
|
838
|
-
const newParts = [];
|
|
839
|
-
for (const part of parts) {
|
|
840
|
-
const parsedValue = CSSStyleDeclarationValueParser_js_1.default.getLength(part) ||
|
|
841
|
-
CSSStyleDeclarationValueParser_js_1.default.getFloat(part);
|
|
842
|
-
if (!parsedValue) {
|
|
843
|
-
return null;
|
|
844
|
-
}
|
|
845
|
-
newParts.push(parsedValue === '0px' ? '0' : parsedValue);
|
|
846
|
-
}
|
|
847
|
-
return {
|
|
848
|
-
'border-image-outset': {
|
|
849
|
-
important,
|
|
850
|
-
value: newParts.join(' ')
|
|
851
|
-
}
|
|
852
|
-
};
|
|
853
|
-
}
|
|
854
|
-
/**
|
|
855
|
-
* Returns border repeat.
|
|
856
|
-
*
|
|
857
|
-
* @param value Value.
|
|
858
|
-
* @param important Important.
|
|
859
|
-
* @returns Property values
|
|
860
|
-
*/
|
|
861
|
-
static getBorderImageRepeat(value, important) {
|
|
862
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
863
|
-
if (variable) {
|
|
864
|
-
return { 'border-image-repeat': { value: variable, important } };
|
|
865
|
-
}
|
|
866
|
-
const lowerValue = value.toLowerCase();
|
|
867
|
-
if (CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue)) {
|
|
868
|
-
return {
|
|
869
|
-
'border-image-repeat': {
|
|
870
|
-
important,
|
|
871
|
-
value: lowerValue
|
|
872
|
-
}
|
|
873
|
-
};
|
|
874
|
-
}
|
|
875
|
-
const parts = lowerValue.split(SPLIT_SPACE_SEPARATED_WITH_PARANTHESES_REGEXP);
|
|
876
|
-
if (parts.length > 2) {
|
|
877
|
-
return null;
|
|
878
|
-
}
|
|
879
|
-
for (const part of parts) {
|
|
880
|
-
if (!BORDER_IMAGE_REPEAT.includes(part)) {
|
|
881
|
-
return null;
|
|
882
|
-
}
|
|
883
|
-
}
|
|
884
|
-
return {
|
|
885
|
-
'border-image-repeat': {
|
|
886
|
-
important,
|
|
887
|
-
value
|
|
888
|
-
}
|
|
889
|
-
};
|
|
890
|
-
}
|
|
891
|
-
/**
|
|
892
|
-
* Returns border width.
|
|
893
|
-
*
|
|
894
|
-
* @param value Value.
|
|
895
|
-
* @param important Important.
|
|
896
|
-
* @returns Property values
|
|
897
|
-
*/
|
|
898
|
-
static getBorderTopWidth(value, important) {
|
|
899
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
900
|
-
if (variable) {
|
|
901
|
-
return { 'border-top-width': { value: variable, important } };
|
|
902
|
-
}
|
|
903
|
-
const lowerValue = value.toLowerCase();
|
|
904
|
-
const parsedValue = BORDER_WIDTH.includes(lowerValue) || CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue)
|
|
905
|
-
? lowerValue
|
|
906
|
-
: CSSStyleDeclarationValueParser_js_1.default.getLength(value);
|
|
907
|
-
if (parsedValue) {
|
|
908
|
-
return {
|
|
909
|
-
'border-top-width': { value: parsedValue, important }
|
|
910
|
-
};
|
|
911
|
-
}
|
|
912
|
-
return null;
|
|
913
|
-
}
|
|
914
|
-
/**
|
|
915
|
-
* Returns border width.
|
|
916
|
-
*
|
|
917
|
-
* @param value Value.
|
|
918
|
-
* @param important Important.
|
|
919
|
-
* @returns Property values
|
|
920
|
-
*/
|
|
921
|
-
static getBorderRightWidth(value, important) {
|
|
922
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
923
|
-
if (variable) {
|
|
924
|
-
return { 'border-right-width': { value: variable, important } };
|
|
925
|
-
}
|
|
926
|
-
const lowerValue = value.toLowerCase();
|
|
927
|
-
const parsedValue = BORDER_WIDTH.includes(lowerValue) || CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue)
|
|
928
|
-
? lowerValue
|
|
929
|
-
: CSSStyleDeclarationValueParser_js_1.default.getLength(value);
|
|
930
|
-
if (parsedValue) {
|
|
931
|
-
return {
|
|
932
|
-
'border-right-width': { value: parsedValue, important }
|
|
933
|
-
};
|
|
934
|
-
}
|
|
935
|
-
return null;
|
|
936
|
-
}
|
|
937
|
-
/**
|
|
938
|
-
* Returns border width.
|
|
939
|
-
*
|
|
940
|
-
* @param value Value.
|
|
941
|
-
* @param important Important.
|
|
942
|
-
* @returns Property values
|
|
943
|
-
*/
|
|
944
|
-
static getBorderBottomWidth(value, important) {
|
|
945
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
946
|
-
if (variable) {
|
|
947
|
-
return { 'border-bottom-width': { value: variable, important } };
|
|
948
|
-
}
|
|
949
|
-
const lowerValue = value.toLowerCase();
|
|
950
|
-
const parsedValue = BORDER_WIDTH.includes(lowerValue) || CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue)
|
|
951
|
-
? lowerValue
|
|
952
|
-
: CSSStyleDeclarationValueParser_js_1.default.getLength(value);
|
|
953
|
-
if (parsedValue) {
|
|
954
|
-
return {
|
|
955
|
-
'border-bottom-width': { value: parsedValue, important }
|
|
956
|
-
};
|
|
957
|
-
}
|
|
958
|
-
return null;
|
|
959
|
-
}
|
|
960
|
-
/**
|
|
961
|
-
* Returns border width.
|
|
962
|
-
*
|
|
963
|
-
* @param value Value.
|
|
964
|
-
* @param important Important.
|
|
965
|
-
* @returns Property values
|
|
966
|
-
*/
|
|
967
|
-
static getBorderLeftWidth(value, important) {
|
|
968
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
969
|
-
if (variable) {
|
|
970
|
-
return { 'border-left-width': { value: variable, important } };
|
|
971
|
-
}
|
|
972
|
-
const lowerValue = value.toLowerCase();
|
|
973
|
-
const parsedValue = BORDER_WIDTH.includes(lowerValue) || CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue)
|
|
974
|
-
? lowerValue
|
|
975
|
-
: CSSStyleDeclarationValueParser_js_1.default.getLength(value);
|
|
976
|
-
if (parsedValue) {
|
|
977
|
-
return {
|
|
978
|
-
'border-left-width': { value: parsedValue, important }
|
|
979
|
-
};
|
|
980
|
-
}
|
|
981
|
-
return null;
|
|
982
|
-
}
|
|
983
|
-
/**
|
|
984
|
-
* Returns border style.
|
|
985
|
-
*
|
|
986
|
-
* @param value Value.
|
|
987
|
-
* @param important Important.
|
|
988
|
-
* @returns Property values
|
|
989
|
-
*/
|
|
990
|
-
static getBorderTopStyle(value, important) {
|
|
991
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
992
|
-
if (variable) {
|
|
993
|
-
return { 'border-top-style': { value: variable, important } };
|
|
994
|
-
}
|
|
995
|
-
const lowerValue = value.toLowerCase();
|
|
996
|
-
if (CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue) || BORDER_STYLE.includes(lowerValue)) {
|
|
997
|
-
return {
|
|
998
|
-
'border-top-style': { value: lowerValue, important }
|
|
999
|
-
};
|
|
1000
|
-
}
|
|
1001
|
-
return null;
|
|
1002
|
-
}
|
|
1003
|
-
/**
|
|
1004
|
-
* Returns border style.
|
|
1005
|
-
*
|
|
1006
|
-
* @param value Value.
|
|
1007
|
-
* @param important Important.
|
|
1008
|
-
* @returns Property values
|
|
1009
|
-
*/
|
|
1010
|
-
static getBorderRightStyle(value, important) {
|
|
1011
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
1012
|
-
if (variable) {
|
|
1013
|
-
return { 'border-right-style': { value: variable, important } };
|
|
1014
|
-
}
|
|
1015
|
-
const lowerValue = value.toLowerCase();
|
|
1016
|
-
if (CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue) || BORDER_STYLE.includes(lowerValue)) {
|
|
1017
|
-
return {
|
|
1018
|
-
'border-right-style': { value: lowerValue, important }
|
|
1019
|
-
};
|
|
1020
|
-
}
|
|
1021
|
-
return null;
|
|
1022
|
-
}
|
|
1023
|
-
/**
|
|
1024
|
-
* Returns border style.
|
|
1025
|
-
*
|
|
1026
|
-
* @param value Value.
|
|
1027
|
-
* @param important Important.
|
|
1028
|
-
* @returns Property values
|
|
1029
|
-
*/
|
|
1030
|
-
static getBorderBottomStyle(value, important) {
|
|
1031
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
1032
|
-
if (variable) {
|
|
1033
|
-
return { 'border-bottom-style': { value: variable, important } };
|
|
1034
|
-
}
|
|
1035
|
-
const lowerValue = value.toLowerCase();
|
|
1036
|
-
if (CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue) || BORDER_STYLE.includes(lowerValue)) {
|
|
1037
|
-
return {
|
|
1038
|
-
'border-bottom-style': { value: lowerValue, important }
|
|
1039
|
-
};
|
|
1040
|
-
}
|
|
1041
|
-
return null;
|
|
1042
|
-
}
|
|
1043
|
-
/**
|
|
1044
|
-
* Returns border style.
|
|
1045
|
-
*
|
|
1046
|
-
* @param value Value.
|
|
1047
|
-
* @param important Important.
|
|
1048
|
-
* @returns Property values
|
|
1049
|
-
*/
|
|
1050
|
-
static getBorderLeftStyle(value, important) {
|
|
1051
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
1052
|
-
if (variable) {
|
|
1053
|
-
return { 'border-left-style': { value: variable, important } };
|
|
1054
|
-
}
|
|
1055
|
-
const lowerValue = value.toLowerCase();
|
|
1056
|
-
if (CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue) || BORDER_STYLE.includes(lowerValue)) {
|
|
1057
|
-
return {
|
|
1058
|
-
'border-left-style': { value: lowerValue, important }
|
|
1059
|
-
};
|
|
1060
|
-
}
|
|
1061
|
-
return null;
|
|
1062
|
-
}
|
|
1063
|
-
/**
|
|
1064
|
-
* Returns border color.
|
|
1065
|
-
*
|
|
1066
|
-
* @param value Value.
|
|
1067
|
-
* @param important Important.
|
|
1068
|
-
* @returns Property values
|
|
1069
|
-
*/
|
|
1070
|
-
static getBorderTopColor(value, important) {
|
|
1071
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
1072
|
-
if (variable) {
|
|
1073
|
-
return { 'border-top-color': { value: variable, important } };
|
|
1074
|
-
}
|
|
1075
|
-
const color = CSSStyleDeclarationValueParser_js_1.default.getGlobal(value) ||
|
|
1076
|
-
CSSStyleDeclarationValueParser_js_1.default.getColor(value);
|
|
1077
|
-
return color
|
|
1078
|
-
? {
|
|
1079
|
-
'border-top-color': { value: color, important }
|
|
1080
|
-
}
|
|
1081
|
-
: null;
|
|
1082
|
-
}
|
|
1083
|
-
/**
|
|
1084
|
-
* Returns border color.
|
|
1085
|
-
*
|
|
1086
|
-
* @param value Value.
|
|
1087
|
-
* @param important Important.
|
|
1088
|
-
* @returns Property values
|
|
1089
|
-
*/
|
|
1090
|
-
static getBorderRightColor(value, important) {
|
|
1091
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
1092
|
-
if (variable) {
|
|
1093
|
-
return { 'border-right-color': { value: variable, important } };
|
|
1094
|
-
}
|
|
1095
|
-
const color = CSSStyleDeclarationValueParser_js_1.default.getGlobal(value) ||
|
|
1096
|
-
CSSStyleDeclarationValueParser_js_1.default.getColor(value);
|
|
1097
|
-
return color
|
|
1098
|
-
? {
|
|
1099
|
-
'border-right-color': { value: color, important }
|
|
1100
|
-
}
|
|
1101
|
-
: null;
|
|
1102
|
-
}
|
|
1103
|
-
/**
|
|
1104
|
-
* Returns border color.
|
|
1105
|
-
*
|
|
1106
|
-
* @param value Value.
|
|
1107
|
-
* @param important Important.
|
|
1108
|
-
* @returns Property values
|
|
1109
|
-
*/
|
|
1110
|
-
static getBorderBottomColor(value, important) {
|
|
1111
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
1112
|
-
if (variable) {
|
|
1113
|
-
return { 'border-bottom-color': { value: variable, important } };
|
|
1114
|
-
}
|
|
1115
|
-
const color = CSSStyleDeclarationValueParser_js_1.default.getGlobal(value) ||
|
|
1116
|
-
CSSStyleDeclarationValueParser_js_1.default.getColor(value);
|
|
1117
|
-
return color
|
|
1118
|
-
? {
|
|
1119
|
-
'border-bottom-color': { value: color, important }
|
|
1120
|
-
}
|
|
1121
|
-
: null;
|
|
1122
|
-
}
|
|
1123
|
-
/**
|
|
1124
|
-
* Returns border color.
|
|
1125
|
-
*
|
|
1126
|
-
* @param value Value.
|
|
1127
|
-
* @param important Important.
|
|
1128
|
-
* @returns Property values
|
|
1129
|
-
*/
|
|
1130
|
-
static getBorderLeftColor(value, important) {
|
|
1131
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
1132
|
-
if (variable) {
|
|
1133
|
-
return { 'border-left-color': { value: variable, important } };
|
|
1134
|
-
}
|
|
1135
|
-
const color = CSSStyleDeclarationValueParser_js_1.default.getGlobal(value) ||
|
|
1136
|
-
CSSStyleDeclarationValueParser_js_1.default.getColor(value);
|
|
1137
|
-
return color
|
|
1138
|
-
? {
|
|
1139
|
-
'border-left-color': { value: color, important }
|
|
1140
|
-
}
|
|
1141
|
-
: null;
|
|
1142
|
-
}
|
|
1143
|
-
/**
|
|
1144
|
-
* Returns border radius.
|
|
1145
|
-
*
|
|
1146
|
-
* @param value Value.
|
|
1147
|
-
* @param important Important.
|
|
1148
|
-
* @returns Property values.
|
|
1149
|
-
*/
|
|
1150
|
-
static getBorderRadius(value, important) {
|
|
1151
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
1152
|
-
if (variable) {
|
|
1153
|
-
return { 'border-radius': { value: variable, important } };
|
|
1154
|
-
}
|
|
1155
|
-
const globalValue = CSSStyleDeclarationValueParser_js_1.default.getGlobal(value);
|
|
1156
|
-
if (globalValue) {
|
|
1157
|
-
return {
|
|
1158
|
-
...this.getBorderTopLeftRadius(globalValue, important),
|
|
1159
|
-
...this.getBorderTopRightRadius(globalValue, important),
|
|
1160
|
-
...this.getBorderBottomRightRadius(globalValue, important),
|
|
1161
|
-
...this.getBorderBottomLeftRadius(globalValue, important)
|
|
1162
|
-
};
|
|
1163
|
-
}
|
|
1164
|
-
const parts = value.split(SPLIT_SPACE_SEPARATED_WITH_PARANTHESES_REGEXP);
|
|
1165
|
-
const topLeft = this.getBorderTopLeftRadius(parts[0], important);
|
|
1166
|
-
const topRight = this.getBorderTopRightRadius(parts[1] || parts[0], important);
|
|
1167
|
-
const bottomRight = this.getBorderBottomRightRadius(parts[2] || parts[0], important);
|
|
1168
|
-
const bottomLeft = this.getBorderBottomLeftRadius(parts[3] || parts[1] || parts[0], important);
|
|
1169
|
-
if (!topLeft || !topRight || !bottomRight || !bottomLeft) {
|
|
1170
|
-
return null;
|
|
1171
|
-
}
|
|
1172
|
-
return {
|
|
1173
|
-
...topLeft,
|
|
1174
|
-
...topRight,
|
|
1175
|
-
...bottomRight,
|
|
1176
|
-
...bottomLeft
|
|
1177
|
-
};
|
|
1178
|
-
}
|
|
1179
|
-
/**
|
|
1180
|
-
* Returns border radius.
|
|
1181
|
-
*
|
|
1182
|
-
* @param value Value.
|
|
1183
|
-
* @param important Important.
|
|
1184
|
-
* @returns Property values.
|
|
1185
|
-
*/
|
|
1186
|
-
static getBorderTopLeftRadius(value, important) {
|
|
1187
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
1188
|
-
if (variable) {
|
|
1189
|
-
return { 'border-top-left-radius': { value: variable, important } };
|
|
1190
|
-
}
|
|
1191
|
-
const radius = CSSStyleDeclarationValueParser_js_1.default.getGlobal(value) ||
|
|
1192
|
-
CSSStyleDeclarationValueParser_js_1.default.getMeasurement(value);
|
|
1193
|
-
return radius ? { 'border-top-left-radius': { important, value: radius } } : null;
|
|
1194
|
-
}
|
|
1195
|
-
/**
|
|
1196
|
-
* Returns border radius.
|
|
1197
|
-
*
|
|
1198
|
-
* @param value Value.
|
|
1199
|
-
* @param important Important.
|
|
1200
|
-
* @returns Property values.
|
|
1201
|
-
*/
|
|
1202
|
-
static getBorderTopRightRadius(value, important) {
|
|
1203
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
1204
|
-
if (variable) {
|
|
1205
|
-
return { 'border-top-right-radius': { value: variable, important } };
|
|
1206
|
-
}
|
|
1207
|
-
const radius = CSSStyleDeclarationValueParser_js_1.default.getGlobal(value) ||
|
|
1208
|
-
CSSStyleDeclarationValueParser_js_1.default.getMeasurement(value);
|
|
1209
|
-
return radius ? { 'border-top-right-radius': { important, value: radius } } : null;
|
|
1210
|
-
}
|
|
1211
|
-
/**
|
|
1212
|
-
* Returns border radius.
|
|
1213
|
-
*
|
|
1214
|
-
* @param value Value.
|
|
1215
|
-
* @param important Important.
|
|
1216
|
-
* @returns Property values.
|
|
1217
|
-
*/
|
|
1218
|
-
static getBorderBottomRightRadius(value, important) {
|
|
1219
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
1220
|
-
if (variable) {
|
|
1221
|
-
return { 'border-bottom-right-radius': { value: variable, important } };
|
|
1222
|
-
}
|
|
1223
|
-
const radius = CSSStyleDeclarationValueParser_js_1.default.getGlobal(value) ||
|
|
1224
|
-
CSSStyleDeclarationValueParser_js_1.default.getMeasurement(value);
|
|
1225
|
-
return radius ? { 'border-bottom-right-radius': { important, value: radius } } : null;
|
|
1226
|
-
}
|
|
1227
|
-
/**
|
|
1228
|
-
* Returns border radius.
|
|
1229
|
-
*
|
|
1230
|
-
* @param value Value.
|
|
1231
|
-
* @param important Important.
|
|
1232
|
-
* @returns Property values.
|
|
1233
|
-
*/
|
|
1234
|
-
static getBorderBottomLeftRadius(value, important) {
|
|
1235
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
1236
|
-
if (variable) {
|
|
1237
|
-
return { 'border-bottom-left-radius': { value: variable, important } };
|
|
1238
|
-
}
|
|
1239
|
-
const radius = CSSStyleDeclarationValueParser_js_1.default.getGlobal(value) ||
|
|
1240
|
-
CSSStyleDeclarationValueParser_js_1.default.getMeasurement(value);
|
|
1241
|
-
return radius ? { 'border-bottom-left-radius': { important, value: radius } } : null;
|
|
1242
|
-
}
|
|
1243
|
-
/**
|
|
1244
|
-
* Returns border top, right, bottom or left.
|
|
1245
|
-
*
|
|
1246
|
-
* @param value Value.
|
|
1247
|
-
* @param important Important.
|
|
1248
|
-
* @returns Property values.
|
|
1249
|
-
*/
|
|
1250
|
-
static getBorderTop(value, important) {
|
|
1251
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
1252
|
-
if (variable) {
|
|
1253
|
-
return { 'border-top': { value: variable, important } };
|
|
1254
|
-
}
|
|
1255
|
-
const globalValue = CSSStyleDeclarationValueParser_js_1.default.getGlobal(value);
|
|
1256
|
-
if (globalValue) {
|
|
1257
|
-
return {
|
|
1258
|
-
...this.getBorderTopWidth(globalValue, important),
|
|
1259
|
-
...this.getBorderTopStyle(globalValue, important),
|
|
1260
|
-
...this.getBorderTopColor(globalValue, important)
|
|
1261
|
-
};
|
|
1262
|
-
}
|
|
1263
|
-
const properties = {
|
|
1264
|
-
...this.getBorderTopWidth('initial', important),
|
|
1265
|
-
...this.getBorderTopStyle('initial', important),
|
|
1266
|
-
...this.getBorderTopColor('initial', important)
|
|
1267
|
-
};
|
|
1268
|
-
const parts = value.split(SPLIT_SPACE_SEPARATED_WITH_PARANTHESES_REGEXP);
|
|
1269
|
-
for (const part of parts) {
|
|
1270
|
-
const width = this.getBorderTopWidth(part, important);
|
|
1271
|
-
const style = this.getBorderTopStyle(part, important);
|
|
1272
|
-
const color = this.getBorderTopColor(part, important);
|
|
1273
|
-
if (width === null && style === null && color === null) {
|
|
1274
|
-
return null;
|
|
1275
|
-
}
|
|
1276
|
-
Object.assign(properties, width, style, color);
|
|
1277
|
-
}
|
|
1278
|
-
return properties;
|
|
1279
|
-
}
|
|
1280
|
-
/**
|
|
1281
|
-
* Returns border top, right, bottom or left.
|
|
1282
|
-
*
|
|
1283
|
-
* @param value Value.
|
|
1284
|
-
* @param important Important.
|
|
1285
|
-
* @returns Property values.
|
|
1286
|
-
*/
|
|
1287
|
-
static getBorderRight(value, important) {
|
|
1288
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
1289
|
-
if (variable) {
|
|
1290
|
-
return { 'border-right': { value: variable, important } };
|
|
1291
|
-
}
|
|
1292
|
-
const globalValue = CSSStyleDeclarationValueParser_js_1.default.getGlobal(value);
|
|
1293
|
-
if (globalValue) {
|
|
1294
|
-
return {
|
|
1295
|
-
...this.getBorderRightWidth(globalValue, important),
|
|
1296
|
-
...this.getBorderRightStyle(globalValue, important),
|
|
1297
|
-
...this.getBorderRightColor(globalValue, important)
|
|
1298
|
-
};
|
|
1299
|
-
}
|
|
1300
|
-
const properties = {
|
|
1301
|
-
...this.getBorderRightWidth('initial', important),
|
|
1302
|
-
...this.getBorderRightStyle('initial', important),
|
|
1303
|
-
...this.getBorderRightColor('initial', important)
|
|
1304
|
-
};
|
|
1305
|
-
const parts = value.split(SPLIT_SPACE_SEPARATED_WITH_PARANTHESES_REGEXP);
|
|
1306
|
-
for (const part of parts) {
|
|
1307
|
-
const width = this.getBorderRightWidth(part, important);
|
|
1308
|
-
const style = this.getBorderRightStyle(part, important);
|
|
1309
|
-
const color = this.getBorderRightColor(part, important);
|
|
1310
|
-
if (width === null && style === null && color === null) {
|
|
1311
|
-
return null;
|
|
1312
|
-
}
|
|
1313
|
-
Object.assign(properties, width, style, color);
|
|
1314
|
-
}
|
|
1315
|
-
return properties;
|
|
1316
|
-
}
|
|
1317
|
-
/**
|
|
1318
|
-
* Returns border top, right, bottom or left.
|
|
1319
|
-
*
|
|
1320
|
-
* @param value Value.
|
|
1321
|
-
* @param important Important.
|
|
1322
|
-
* @returns Property values.
|
|
1323
|
-
*/
|
|
1324
|
-
static getBorderBottom(value, important) {
|
|
1325
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
1326
|
-
if (variable) {
|
|
1327
|
-
return { 'border-bottom': { value: variable, important } };
|
|
1328
|
-
}
|
|
1329
|
-
const globalValue = CSSStyleDeclarationValueParser_js_1.default.getGlobal(value);
|
|
1330
|
-
if (globalValue) {
|
|
1331
|
-
return {
|
|
1332
|
-
...this.getBorderBottomWidth(globalValue, important),
|
|
1333
|
-
...this.getBorderBottomStyle(globalValue, important),
|
|
1334
|
-
...this.getBorderBottomColor(globalValue, important)
|
|
1335
|
-
};
|
|
1336
|
-
}
|
|
1337
|
-
const properties = {
|
|
1338
|
-
...this.getBorderBottomWidth('initial', important),
|
|
1339
|
-
...this.getBorderBottomStyle('initial', important),
|
|
1340
|
-
...this.getBorderBottomColor('initial', important)
|
|
1341
|
-
};
|
|
1342
|
-
const parts = value.split(SPLIT_SPACE_SEPARATED_WITH_PARANTHESES_REGEXP);
|
|
1343
|
-
for (const part of parts) {
|
|
1344
|
-
const width = this.getBorderBottomWidth(part, important);
|
|
1345
|
-
const style = this.getBorderBottomStyle(part, important);
|
|
1346
|
-
const color = this.getBorderBottomColor(part, important);
|
|
1347
|
-
if (width === null && style === null && color === null) {
|
|
1348
|
-
return null;
|
|
1349
|
-
}
|
|
1350
|
-
Object.assign(properties, width, style, color);
|
|
1351
|
-
}
|
|
1352
|
-
return properties;
|
|
1353
|
-
}
|
|
1354
|
-
/**
|
|
1355
|
-
* Returns border top, right, bottom or left.
|
|
1356
|
-
*
|
|
1357
|
-
* @param value Value.
|
|
1358
|
-
* @param important Important.
|
|
1359
|
-
* @returns Property values.
|
|
1360
|
-
*/
|
|
1361
|
-
static getBorderLeft(value, important) {
|
|
1362
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
1363
|
-
if (variable) {
|
|
1364
|
-
return { 'border-left': { value: variable, important } };
|
|
1365
|
-
}
|
|
1366
|
-
const globalValue = CSSStyleDeclarationValueParser_js_1.default.getGlobal(value);
|
|
1367
|
-
if (globalValue) {
|
|
1368
|
-
return {
|
|
1369
|
-
...this.getBorderLeftWidth(globalValue, important),
|
|
1370
|
-
...this.getBorderLeftStyle(globalValue, important),
|
|
1371
|
-
...this.getBorderLeftColor(globalValue, important)
|
|
1372
|
-
};
|
|
1373
|
-
}
|
|
1374
|
-
const properties = {
|
|
1375
|
-
...this.getBorderLeftWidth('initial', important),
|
|
1376
|
-
...this.getBorderLeftStyle('initial', important),
|
|
1377
|
-
...this.getBorderLeftColor('initial', important)
|
|
1378
|
-
};
|
|
1379
|
-
const parts = value.split(SPLIT_SPACE_SEPARATED_WITH_PARANTHESES_REGEXP);
|
|
1380
|
-
for (const part of parts) {
|
|
1381
|
-
const width = this.getBorderLeftWidth(part, important);
|
|
1382
|
-
const style = this.getBorderLeftStyle(part, important);
|
|
1383
|
-
const color = this.getBorderLeftColor(part, important);
|
|
1384
|
-
if (width === null && style === null && color === null) {
|
|
1385
|
-
return null;
|
|
1386
|
-
}
|
|
1387
|
-
Object.assign(properties, width, style, color);
|
|
1388
|
-
}
|
|
1389
|
-
return properties;
|
|
1390
|
-
}
|
|
1391
|
-
/**
|
|
1392
|
-
* Returns padding.
|
|
1393
|
-
*
|
|
1394
|
-
* @param value Value.
|
|
1395
|
-
* @param important Important.
|
|
1396
|
-
*/
|
|
1397
|
-
static getPadding(value, important) {
|
|
1398
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
1399
|
-
if (variable) {
|
|
1400
|
-
return { padding: { value: variable, important } };
|
|
1401
|
-
}
|
|
1402
|
-
const globalValue = CSSStyleDeclarationValueParser_js_1.default.getGlobal(value);
|
|
1403
|
-
if (globalValue) {
|
|
1404
|
-
return {
|
|
1405
|
-
...this.getPaddingTop(globalValue, important),
|
|
1406
|
-
...this.getPaddingRight(globalValue, important),
|
|
1407
|
-
...this.getPaddingBottom(globalValue, important),
|
|
1408
|
-
...this.getPaddingLeft(globalValue, important)
|
|
1409
|
-
};
|
|
1410
|
-
}
|
|
1411
|
-
const parts = value.split(SPLIT_SPACE_SEPARATED_WITH_PARANTHESES_REGEXP);
|
|
1412
|
-
const top = this.getPaddingTop(parts[0], important);
|
|
1413
|
-
const right = this.getPaddingRight(parts[1] || parts[0], important);
|
|
1414
|
-
const bottom = this.getPaddingBottom(parts[2] || parts[0], important);
|
|
1415
|
-
const left = this.getPaddingLeft(parts[3] || parts[1] || parts[0], important);
|
|
1416
|
-
if (!top || !right || !bottom || !left) {
|
|
1417
|
-
return null;
|
|
1418
|
-
}
|
|
1419
|
-
return {
|
|
1420
|
-
...top,
|
|
1421
|
-
...right,
|
|
1422
|
-
...bottom,
|
|
1423
|
-
...left
|
|
1424
|
-
};
|
|
1425
|
-
}
|
|
1426
|
-
/**
|
|
1427
|
-
* Returns padding top.
|
|
1428
|
-
*
|
|
1429
|
-
* @param value Value.
|
|
1430
|
-
* @param important Important.
|
|
1431
|
-
* @returns Property values.
|
|
1432
|
-
*/
|
|
1433
|
-
static getPaddingTop(value, important) {
|
|
1434
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
1435
|
-
if (variable) {
|
|
1436
|
-
return { 'padding-top': { value: variable, important } };
|
|
1437
|
-
}
|
|
1438
|
-
const padding = CSSStyleDeclarationValueParser_js_1.default.getGlobal(value) ||
|
|
1439
|
-
CSSStyleDeclarationValueParser_js_1.default.getMeasurement(value);
|
|
1440
|
-
return padding ? { 'padding-top': { value: padding, important } } : null;
|
|
1441
|
-
}
|
|
1442
|
-
/**
|
|
1443
|
-
* Returns padding right.
|
|
1444
|
-
*
|
|
1445
|
-
* @param value Value.
|
|
1446
|
-
* @param important Important.
|
|
1447
|
-
* @returns Property values.
|
|
1448
|
-
*/
|
|
1449
|
-
static getPaddingRight(value, important) {
|
|
1450
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
1451
|
-
if (variable) {
|
|
1452
|
-
return { 'padding-right': { value: variable, important } };
|
|
1453
|
-
}
|
|
1454
|
-
const padding = CSSStyleDeclarationValueParser_js_1.default.getGlobal(value) ||
|
|
1455
|
-
CSSStyleDeclarationValueParser_js_1.default.getMeasurement(value);
|
|
1456
|
-
return padding ? { 'padding-right': { value: padding, important } } : null;
|
|
1457
|
-
}
|
|
1458
|
-
/**
|
|
1459
|
-
* Returns padding bottom.
|
|
1460
|
-
*
|
|
1461
|
-
* @param value Value.
|
|
1462
|
-
* @param important Important.
|
|
1463
|
-
* @returns Property values.
|
|
1464
|
-
*/
|
|
1465
|
-
static getPaddingBottom(value, important) {
|
|
1466
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
1467
|
-
if (variable) {
|
|
1468
|
-
return { 'padding-bottom': { value: variable, important } };
|
|
1469
|
-
}
|
|
1470
|
-
const padding = CSSStyleDeclarationValueParser_js_1.default.getGlobal(value) ||
|
|
1471
|
-
CSSStyleDeclarationValueParser_js_1.default.getMeasurement(value);
|
|
1472
|
-
return padding ? { 'padding-bottom': { value: padding, important } } : null;
|
|
1473
|
-
}
|
|
1474
|
-
/**
|
|
1475
|
-
* Returns padding left.
|
|
1476
|
-
*
|
|
1477
|
-
* @param value Value.
|
|
1478
|
-
* @param important Important.
|
|
1479
|
-
* @returns Property values.
|
|
1480
|
-
*/
|
|
1481
|
-
static getPaddingLeft(value, important) {
|
|
1482
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
1483
|
-
if (variable) {
|
|
1484
|
-
return { 'padding-left': { value: variable, important } };
|
|
1485
|
-
}
|
|
1486
|
-
const padding = CSSStyleDeclarationValueParser_js_1.default.getGlobal(value) ||
|
|
1487
|
-
CSSStyleDeclarationValueParser_js_1.default.getMeasurement(value);
|
|
1488
|
-
return padding ? { 'padding-left': { value: padding, important } } : null;
|
|
1489
|
-
}
|
|
1490
|
-
/**
|
|
1491
|
-
* Returns margin.
|
|
1492
|
-
*
|
|
1493
|
-
* @param value Value.
|
|
1494
|
-
* @param important Important.
|
|
1495
|
-
* @returns Property values.
|
|
1496
|
-
*/
|
|
1497
|
-
static getMargin(value, important) {
|
|
1498
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
1499
|
-
if (variable) {
|
|
1500
|
-
return { margin: { value: variable, important } };
|
|
1501
|
-
}
|
|
1502
|
-
const globalValue = CSSStyleDeclarationValueParser_js_1.default.getGlobal(value);
|
|
1503
|
-
if (globalValue) {
|
|
1504
|
-
return {
|
|
1505
|
-
...this.getMarginTop(globalValue, important),
|
|
1506
|
-
...this.getMarginRight(globalValue, important),
|
|
1507
|
-
...this.getMarginBottom(globalValue, important),
|
|
1508
|
-
...this.getMarginLeft(globalValue, important)
|
|
1509
|
-
};
|
|
1510
|
-
}
|
|
1511
|
-
const parts = value.split(SPLIT_SPACE_SEPARATED_WITH_PARANTHESES_REGEXP);
|
|
1512
|
-
const top = this.getMarginTop(parts[0], important);
|
|
1513
|
-
const right = this.getMarginRight(parts[1] || parts[0], important);
|
|
1514
|
-
const bottom = this.getMarginBottom(parts[2] || parts[0], important);
|
|
1515
|
-
const left = this.getMarginLeft(parts[3] || parts[1] || parts[0], important);
|
|
1516
|
-
if (!top || !right || !bottom || !left) {
|
|
1517
|
-
return null;
|
|
1518
|
-
}
|
|
1519
|
-
return {
|
|
1520
|
-
...top,
|
|
1521
|
-
...right,
|
|
1522
|
-
...bottom,
|
|
1523
|
-
...left
|
|
1524
|
-
};
|
|
1525
|
-
}
|
|
1526
|
-
/**
|
|
1527
|
-
* Returns margin top.
|
|
1528
|
-
*
|
|
1529
|
-
* @param value Value.
|
|
1530
|
-
* @param important Important.
|
|
1531
|
-
* @returns Property values.
|
|
1532
|
-
*/
|
|
1533
|
-
static getMarginTop(value, important) {
|
|
1534
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
1535
|
-
if (variable) {
|
|
1536
|
-
return { 'margin-top': { value: variable, important } };
|
|
1537
|
-
}
|
|
1538
|
-
const margin = CSSStyleDeclarationValueParser_js_1.default.getGlobal(value) ||
|
|
1539
|
-
CSSStyleDeclarationValueParser_js_1.default.getAutoMeasurement(value);
|
|
1540
|
-
return margin ? { 'margin-top': { value: margin, important } } : null;
|
|
1541
|
-
}
|
|
1542
|
-
/**
|
|
1543
|
-
* Returns margin right.
|
|
1544
|
-
*
|
|
1545
|
-
* @param value Value.
|
|
1546
|
-
* @param important Important.
|
|
1547
|
-
* @returns Property values.
|
|
1548
|
-
*/
|
|
1549
|
-
static getMarginRight(value, important) {
|
|
1550
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
1551
|
-
if (variable) {
|
|
1552
|
-
return { 'margin-right': { value: variable, important } };
|
|
1553
|
-
}
|
|
1554
|
-
const margin = CSSStyleDeclarationValueParser_js_1.default.getGlobal(value) ||
|
|
1555
|
-
CSSStyleDeclarationValueParser_js_1.default.getAutoMeasurement(value);
|
|
1556
|
-
return margin ? { 'margin-right': { value: margin, important } } : null;
|
|
1557
|
-
}
|
|
1558
|
-
/**
|
|
1559
|
-
* Returns margin right.
|
|
1560
|
-
*
|
|
1561
|
-
* @param value Value.
|
|
1562
|
-
* @param important Important.
|
|
1563
|
-
* @returns Property values.
|
|
1564
|
-
*/
|
|
1565
|
-
static getMarginBottom(value, important) {
|
|
1566
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
1567
|
-
if (variable) {
|
|
1568
|
-
return { 'margin-bottom': { value: variable, important } };
|
|
1569
|
-
}
|
|
1570
|
-
const margin = CSSStyleDeclarationValueParser_js_1.default.getGlobal(value) ||
|
|
1571
|
-
CSSStyleDeclarationValueParser_js_1.default.getAutoMeasurement(value);
|
|
1572
|
-
return margin ? { 'margin-bottom': { value: margin, important } } : null;
|
|
1573
|
-
}
|
|
1574
|
-
/**
|
|
1575
|
-
* Returns margin left.
|
|
1576
|
-
*
|
|
1577
|
-
* @param value Value.
|
|
1578
|
-
* @param important Important.
|
|
1579
|
-
* @returns Property values.
|
|
1580
|
-
*/
|
|
1581
|
-
static getMarginLeft(value, important) {
|
|
1582
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
1583
|
-
if (variable) {
|
|
1584
|
-
return { 'margin-left': { value: variable, important } };
|
|
1585
|
-
}
|
|
1586
|
-
const margin = CSSStyleDeclarationValueParser_js_1.default.getGlobal(value) ||
|
|
1587
|
-
CSSStyleDeclarationValueParser_js_1.default.getAutoMeasurement(value);
|
|
1588
|
-
return margin ? { 'margin-left': { value: margin, important } } : null;
|
|
1589
|
-
}
|
|
1590
|
-
/**
|
|
1591
|
-
* Returns flex.
|
|
1592
|
-
*
|
|
1593
|
-
* @param value Value.
|
|
1594
|
-
* @param important Important.
|
|
1595
|
-
* @returns Property values.
|
|
1596
|
-
*/
|
|
1597
|
-
static getFlex(value, important) {
|
|
1598
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
1599
|
-
if (variable) {
|
|
1600
|
-
return { flex: { value: variable, important } };
|
|
1601
|
-
}
|
|
1602
|
-
const lowerValue = value.trim().toLowerCase();
|
|
1603
|
-
const globalValue = CSSStyleDeclarationValueParser_js_1.default.getGlobal(value);
|
|
1604
|
-
if (globalValue) {
|
|
1605
|
-
return {
|
|
1606
|
-
...this.getFlexGrow(globalValue, important),
|
|
1607
|
-
...this.getFlexShrink(globalValue, important),
|
|
1608
|
-
...this.getFlexBasis(globalValue, important)
|
|
1609
|
-
};
|
|
1610
|
-
}
|
|
1611
|
-
switch (lowerValue) {
|
|
1612
|
-
case 'none':
|
|
1613
|
-
return {
|
|
1614
|
-
...this.getFlexGrow('0', important),
|
|
1615
|
-
...this.getFlexShrink('0', important),
|
|
1616
|
-
...this.getFlexBasis('auto', important)
|
|
1617
|
-
};
|
|
1618
|
-
case 'auto':
|
|
1619
|
-
return {
|
|
1620
|
-
...this.getFlexGrow('1', important),
|
|
1621
|
-
...this.getFlexShrink('1', important),
|
|
1622
|
-
...this.getFlexBasis('auto', important)
|
|
1623
|
-
};
|
|
1624
|
-
}
|
|
1625
|
-
const measurement = CSSStyleDeclarationValueParser_js_1.default.getContentMeasurement(lowerValue);
|
|
1626
|
-
if (measurement) {
|
|
1627
|
-
return {
|
|
1628
|
-
...this.getFlexGrow('1', important),
|
|
1629
|
-
...this.getFlexShrink('1', important),
|
|
1630
|
-
...this.getFlexBasis(measurement, important)
|
|
1631
|
-
};
|
|
1632
|
-
}
|
|
1633
|
-
const parts = value.split(SPLIT_SPACE_SEPARATED_WITH_PARANTHESES_REGEXP);
|
|
1634
|
-
const flexGrow = this.getFlexGrow(parts[0], important);
|
|
1635
|
-
const flexShrink = this.getFlexShrink(parts[1] || '1', important);
|
|
1636
|
-
const flexBasis = this.getFlexBasis(parts[2] || '0%', important);
|
|
1637
|
-
if (!flexGrow || !flexShrink || !flexBasis) {
|
|
1638
|
-
return null;
|
|
1639
|
-
}
|
|
1640
|
-
return {
|
|
1641
|
-
...flexGrow,
|
|
1642
|
-
...flexShrink,
|
|
1643
|
-
...flexBasis
|
|
1644
|
-
};
|
|
1645
|
-
}
|
|
1646
|
-
/**
|
|
1647
|
-
* Returns flex basis.
|
|
1648
|
-
*
|
|
1649
|
-
* @param value Value.
|
|
1650
|
-
* @param important Important.
|
|
1651
|
-
* @returns Property values
|
|
1652
|
-
*/
|
|
1653
|
-
static getFlexBasis(value, important) {
|
|
1654
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
1655
|
-
if (variable) {
|
|
1656
|
-
return { 'flex-basis': { value: variable, important } };
|
|
1657
|
-
}
|
|
1658
|
-
const lowerValue = value.toLowerCase();
|
|
1659
|
-
if (CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue) || FLEX_BASIS.includes(lowerValue)) {
|
|
1660
|
-
return { 'flex-basis': { value: lowerValue, important } };
|
|
1661
|
-
}
|
|
1662
|
-
const measurement = CSSStyleDeclarationValueParser_js_1.default.getContentMeasurement(lowerValue);
|
|
1663
|
-
return measurement ? { 'flex-basis': { value: measurement, important } } : null;
|
|
1664
|
-
}
|
|
1665
|
-
/**
|
|
1666
|
-
* Returns flex shrink.
|
|
1667
|
-
*
|
|
1668
|
-
* @param value Value.
|
|
1669
|
-
* @param important Important.
|
|
1670
|
-
* @returns Property values
|
|
1671
|
-
*/
|
|
1672
|
-
static getFlexShrink(value, important) {
|
|
1673
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
1674
|
-
if (variable) {
|
|
1675
|
-
return { 'flex-shrink': { value: variable, important } };
|
|
1676
|
-
}
|
|
1677
|
-
const parsedValue = CSSStyleDeclarationValueParser_js_1.default.getGlobal(value) ||
|
|
1678
|
-
CSSStyleDeclarationValueParser_js_1.default.getFloat(value);
|
|
1679
|
-
return parsedValue ? { 'flex-shrink': { value: parsedValue, important } } : null;
|
|
1680
|
-
}
|
|
1681
|
-
/**
|
|
1682
|
-
* Returns flex grow.
|
|
1683
|
-
*
|
|
1684
|
-
* @param value Value.
|
|
1685
|
-
* @param important Important.
|
|
1686
|
-
* @returns Property values
|
|
1687
|
-
*/
|
|
1688
|
-
static getFlexGrow(value, important) {
|
|
1689
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
1690
|
-
if (variable) {
|
|
1691
|
-
return { 'flex-grow': { value: variable, important } };
|
|
1692
|
-
}
|
|
1693
|
-
const parsedValue = CSSStyleDeclarationValueParser_js_1.default.getGlobal(value) ||
|
|
1694
|
-
CSSStyleDeclarationValueParser_js_1.default.getFloat(value);
|
|
1695
|
-
return parsedValue ? { 'flex-grow': { value: parsedValue, important } } : null;
|
|
1696
|
-
}
|
|
1697
|
-
/**
|
|
1698
|
-
* Returns background.
|
|
1699
|
-
*
|
|
1700
|
-
* @param name Name.
|
|
1701
|
-
* @param value Value.
|
|
1702
|
-
* @param important Important.
|
|
1703
|
-
* @returns Property values.
|
|
1704
|
-
*/
|
|
1705
|
-
static getBackground(value, important) {
|
|
1706
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
1707
|
-
if (variable) {
|
|
1708
|
-
return { background: { value: variable, important } };
|
|
1709
|
-
}
|
|
1710
|
-
const globalValue = CSSStyleDeclarationValueParser_js_1.default.getGlobal(value);
|
|
1711
|
-
if (globalValue) {
|
|
1712
|
-
return {
|
|
1713
|
-
...this.getBackgroundImage(globalValue, important),
|
|
1714
|
-
...this.getBackgroundPosition(globalValue, important),
|
|
1715
|
-
...this.getBackgroundSize(globalValue, important),
|
|
1716
|
-
...this.getBackgroundRepeat(globalValue, important),
|
|
1717
|
-
...this.getBackgroundAttachment(globalValue, important),
|
|
1718
|
-
...this.getBackgroundOrigin(globalValue, important),
|
|
1719
|
-
...this.getBackgroundClip(globalValue, important),
|
|
1720
|
-
...this.getBackgroundColor(globalValue, important)
|
|
1721
|
-
};
|
|
1722
|
-
}
|
|
1723
|
-
const properties = {
|
|
1724
|
-
...this.getBackgroundImage('initial', important),
|
|
1725
|
-
...this.getBackgroundPosition('initial', important),
|
|
1726
|
-
...this.getBackgroundSize('initial', important),
|
|
1727
|
-
...this.getBackgroundRepeat('initial', important),
|
|
1728
|
-
...this.getBackgroundAttachment('initial', important),
|
|
1729
|
-
...this.getBackgroundOrigin('initial', important),
|
|
1730
|
-
...this.getBackgroundClip('initial', important),
|
|
1731
|
-
...this.getBackgroundColor('initial', important)
|
|
1732
|
-
};
|
|
1733
|
-
const parts = value
|
|
1734
|
-
.replace(/\s,\s/g, ',')
|
|
1735
|
-
.replace(/\s\/\s/g, '/')
|
|
1736
|
-
.split(SPLIT_SPACE_SEPARATED_WITH_PARANTHESES_REGEXP);
|
|
1737
|
-
const backgroundPositions = [];
|
|
1738
|
-
for (const part of parts) {
|
|
1739
|
-
if (!part.startsWith('url') && part.includes('/')) {
|
|
1740
|
-
const [position, size] = part.split('/');
|
|
1741
|
-
const backgroundPositionX = this.getBackgroundPositionX(position, important);
|
|
1742
|
-
const backgroundPositionY = this.getBackgroundPositionY(position, important);
|
|
1743
|
-
const backgroundSize = this.getBackgroundSize(size, important);
|
|
1744
|
-
if ((!backgroundPositionX && !backgroundPositionY) || !backgroundSize) {
|
|
1745
|
-
return null;
|
|
1746
|
-
}
|
|
1747
|
-
if (backgroundPositionY) {
|
|
1748
|
-
backgroundPositions.push(backgroundPositionY['background-position-y'].value);
|
|
1749
|
-
}
|
|
1750
|
-
else if (backgroundPositionX) {
|
|
1751
|
-
backgroundPositions.push(backgroundPositionX['background-position-x'].value);
|
|
1752
|
-
}
|
|
1753
|
-
Object.assign(properties, backgroundSize);
|
|
1754
|
-
}
|
|
1755
|
-
else {
|
|
1756
|
-
const backgroundImage = this.getBackgroundImage(part, important);
|
|
1757
|
-
const backgroundRepeat = this.getBackgroundRepeat(part, important);
|
|
1758
|
-
const backgroundAttachment = this.getBackgroundAttachment(part, important);
|
|
1759
|
-
const backgroundPositionX = this.getBackgroundPositionX(part, important);
|
|
1760
|
-
const backgroundPositionY = this.getBackgroundPositionY(part, important);
|
|
1761
|
-
const backgroundColor = this.getBackgroundColor(part, important);
|
|
1762
|
-
const backgroundOrigin = this.getBackgroundOrigin(part, important);
|
|
1763
|
-
const backgroundClip = this.getBackgroundClip(part, important);
|
|
1764
|
-
if (!backgroundImage &&
|
|
1765
|
-
!backgroundRepeat &&
|
|
1766
|
-
!backgroundAttachment &&
|
|
1767
|
-
!backgroundPositionX &&
|
|
1768
|
-
!backgroundPositionY &&
|
|
1769
|
-
!backgroundColor &&
|
|
1770
|
-
!backgroundOrigin &&
|
|
1771
|
-
!backgroundClip) {
|
|
1772
|
-
return null;
|
|
1773
|
-
}
|
|
1774
|
-
if (backgroundPositionX) {
|
|
1775
|
-
backgroundPositions.push(backgroundPositionX['background-position-x'].value);
|
|
1776
|
-
}
|
|
1777
|
-
else if (backgroundPositionY) {
|
|
1778
|
-
backgroundPositions.push(backgroundPositionY['background-position-y'].value);
|
|
1779
|
-
}
|
|
1780
|
-
Object.assign(properties, backgroundImage, backgroundRepeat, backgroundAttachment, backgroundColor, backgroundOrigin, backgroundClip);
|
|
1781
|
-
}
|
|
1782
|
-
}
|
|
1783
|
-
if (backgroundPositions.length) {
|
|
1784
|
-
Object.assign(properties, this.getBackgroundPosition(backgroundPositions.join(' '), important));
|
|
1785
|
-
}
|
|
1786
|
-
return properties;
|
|
1787
|
-
}
|
|
1788
|
-
/**
|
|
1789
|
-
* Returns background size.
|
|
1790
|
-
*
|
|
1791
|
-
* @param value Value.
|
|
1792
|
-
* @param important Important.
|
|
1793
|
-
* @returns Property values
|
|
1794
|
-
*/
|
|
1795
|
-
static getBackgroundSize(value, important) {
|
|
1796
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
1797
|
-
if (variable) {
|
|
1798
|
-
return { 'background-size': { value: variable, important } };
|
|
1799
|
-
}
|
|
1800
|
-
const lowerValue = value.toLowerCase();
|
|
1801
|
-
if (CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue)) {
|
|
1802
|
-
return { 'background-size': { value: lowerValue, important } };
|
|
1803
|
-
}
|
|
1804
|
-
const imageParts = lowerValue.split(SPLIT_COMMA_SEPARATED_WITH_PARANTHESES_REGEXP);
|
|
1805
|
-
const parsed = [];
|
|
1806
|
-
for (const imagePart of imageParts) {
|
|
1807
|
-
const parts = imagePart.trim().split(' ');
|
|
1808
|
-
if (parts.length !== 1 && parts.length !== 2) {
|
|
1809
|
-
return null;
|
|
1810
|
-
}
|
|
1811
|
-
if (parts.length === 1) {
|
|
1812
|
-
if (parts[0] !== 'cover' &&
|
|
1813
|
-
parts[0] !== 'contain' &&
|
|
1814
|
-
!CSSStyleDeclarationValueParser_js_1.default.getAutoMeasurement(parts[0])) {
|
|
1815
|
-
return null;
|
|
1816
|
-
}
|
|
1817
|
-
parsed.push(parts[0]);
|
|
1818
|
-
}
|
|
1819
|
-
else {
|
|
1820
|
-
if (!CSSStyleDeclarationValueParser_js_1.default.getAutoMeasurement(parts[0]) ||
|
|
1821
|
-
!CSSStyleDeclarationValueParser_js_1.default.getAutoMeasurement(parts[1])) {
|
|
1822
|
-
return null;
|
|
1823
|
-
}
|
|
1824
|
-
parsed.push(`${parts[0]} ${parts[1]}`);
|
|
1825
|
-
}
|
|
1826
|
-
}
|
|
1827
|
-
if (parsed.length === 1) {
|
|
1828
|
-
return { 'background-size': { value: parsed.join(', '), important } };
|
|
1829
|
-
}
|
|
1830
|
-
return null;
|
|
1831
|
-
}
|
|
1832
|
-
/**
|
|
1833
|
-
* Returns background origin.
|
|
1834
|
-
*
|
|
1835
|
-
* @param value Value.
|
|
1836
|
-
* @param important Important.
|
|
1837
|
-
* @returns Property values
|
|
1838
|
-
*/
|
|
1839
|
-
static getBackgroundOrigin(value, important) {
|
|
1840
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
1841
|
-
if (variable) {
|
|
1842
|
-
return { 'background-origin': { value: variable, important } };
|
|
1843
|
-
}
|
|
1844
|
-
const lowerValue = value.toLowerCase();
|
|
1845
|
-
if (CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue) ||
|
|
1846
|
-
BACKGROUND_ORIGIN.includes(lowerValue)) {
|
|
1847
|
-
return { 'background-origin': { value: lowerValue, important } };
|
|
1848
|
-
}
|
|
1849
|
-
return null;
|
|
1850
|
-
}
|
|
1851
|
-
/**
|
|
1852
|
-
* Returns background clip.
|
|
1853
|
-
*
|
|
1854
|
-
* @param value Value.
|
|
1855
|
-
* @param important Important.
|
|
1856
|
-
* @returns Property values
|
|
1857
|
-
*/
|
|
1858
|
-
static getBackgroundClip(value, important) {
|
|
1859
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
1860
|
-
if (variable) {
|
|
1861
|
-
return { 'background-clip': { value: variable, important } };
|
|
1862
|
-
}
|
|
1863
|
-
const lowerValue = value.toLowerCase();
|
|
1864
|
-
if (CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue) ||
|
|
1865
|
-
BACKGROUND_CLIP.includes(lowerValue)) {
|
|
1866
|
-
return { 'background-clip': { value: lowerValue, important } };
|
|
1867
|
-
}
|
|
1868
|
-
return null;
|
|
1869
|
-
}
|
|
1870
|
-
/**
|
|
1871
|
-
* Returns background repeat.
|
|
1872
|
-
*
|
|
1873
|
-
* @param value Value.
|
|
1874
|
-
* @param important Important.
|
|
1875
|
-
* @returns Property values
|
|
1876
|
-
*/
|
|
1877
|
-
static getBackgroundRepeat(value, important) {
|
|
1878
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
1879
|
-
if (variable) {
|
|
1880
|
-
return { 'background-repeat': { value: variable, important } };
|
|
1881
|
-
}
|
|
1882
|
-
const lowerValue = value.toLowerCase();
|
|
1883
|
-
if (CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue) ||
|
|
1884
|
-
BACKGROUND_REPEAT.includes(lowerValue)) {
|
|
1885
|
-
return { 'background-repeat': { value: lowerValue, important } };
|
|
1886
|
-
}
|
|
1887
|
-
return null;
|
|
1888
|
-
}
|
|
1889
|
-
/**
|
|
1890
|
-
* Returns background attachment.
|
|
1891
|
-
*
|
|
1892
|
-
* @param value Value.
|
|
1893
|
-
* @param important Important.
|
|
1894
|
-
* @returns Property values
|
|
1895
|
-
*/
|
|
1896
|
-
static getBackgroundAttachment(value, important) {
|
|
1897
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
1898
|
-
if (variable) {
|
|
1899
|
-
return { 'background-attachment': { value: variable, important } };
|
|
1900
|
-
}
|
|
1901
|
-
const lowerValue = value.toLowerCase();
|
|
1902
|
-
if (CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue) ||
|
|
1903
|
-
BACKGROUND_ATTACHMENT.includes(lowerValue)) {
|
|
1904
|
-
return { 'background-attachment': { value: lowerValue, important } };
|
|
1905
|
-
}
|
|
1906
|
-
return null;
|
|
1907
|
-
}
|
|
1908
|
-
/**
|
|
1909
|
-
* Returns background position.
|
|
1910
|
-
*
|
|
1911
|
-
* @param value Value.
|
|
1912
|
-
* @param important Important.
|
|
1913
|
-
* @returns Property values
|
|
1914
|
-
*/
|
|
1915
|
-
static getBackgroundPosition(value, important) {
|
|
1916
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
1917
|
-
if (variable) {
|
|
1918
|
-
return { 'background-position': { value: variable, important } };
|
|
1919
|
-
}
|
|
1920
|
-
const globalValue = CSSStyleDeclarationValueParser_js_1.default.getGlobal(value);
|
|
1921
|
-
if (globalValue) {
|
|
1922
|
-
return {
|
|
1923
|
-
...this.getBackgroundPositionX(globalValue, important),
|
|
1924
|
-
...this.getBackgroundPositionY(globalValue, important)
|
|
1925
|
-
};
|
|
1926
|
-
}
|
|
1927
|
-
const imageParts = value.split(SPLIT_COMMA_SEPARATED_WITH_PARANTHESES_REGEXP);
|
|
1928
|
-
let x = '';
|
|
1929
|
-
let y = '';
|
|
1930
|
-
for (const imagePart of imageParts) {
|
|
1931
|
-
const parts = imagePart.trim().split(SPLIT_SPACE_SEPARATED_WITH_PARANTHESES_REGEXP);
|
|
1932
|
-
if (x) {
|
|
1933
|
-
x += ',';
|
|
1934
|
-
y += ',';
|
|
1935
|
-
}
|
|
1936
|
-
switch (parts.length) {
|
|
1937
|
-
case 1:
|
|
1938
|
-
if (parts[0] === 'top' || parts[0] === 'bottom') {
|
|
1939
|
-
x += 'center';
|
|
1940
|
-
y += parts[0];
|
|
1941
|
-
}
|
|
1942
|
-
else if (parts[0] === 'left' || parts[0] === 'right') {
|
|
1943
|
-
x += parts[0];
|
|
1944
|
-
y += 'center';
|
|
1945
|
-
}
|
|
1946
|
-
else if (parts[0] === 'center') {
|
|
1947
|
-
x += 'center';
|
|
1948
|
-
y += 'center';
|
|
1949
|
-
}
|
|
1950
|
-
break;
|
|
1951
|
-
case 2:
|
|
1952
|
-
x += parts[0] === 'top' || parts[0] === 'bottom' ? parts[1] : parts[0];
|
|
1953
|
-
y += parts[0] === 'top' || parts[0] === 'bottom' ? parts[0] : parts[1];
|
|
1954
|
-
break;
|
|
1955
|
-
case 3:
|
|
1956
|
-
if (parts[0] === 'top' ||
|
|
1957
|
-
parts[0] === 'bottom' ||
|
|
1958
|
-
parts[1] === 'left' ||
|
|
1959
|
-
parts[1] === 'right' ||
|
|
1960
|
-
parts[2] === 'left' ||
|
|
1961
|
-
parts[2] === 'right') {
|
|
1962
|
-
if (CSSStyleDeclarationValueParser_js_1.default.getMeasurement(parts[1])) {
|
|
1963
|
-
x += parts[2];
|
|
1964
|
-
y += `${parts[0]} ${parts[1]}`;
|
|
1965
|
-
}
|
|
1966
|
-
else {
|
|
1967
|
-
x += `${parts[1]} ${parts[2]}`;
|
|
1968
|
-
y += parts[0];
|
|
1969
|
-
}
|
|
1970
|
-
}
|
|
1971
|
-
else {
|
|
1972
|
-
if (CSSStyleDeclarationValueParser_js_1.default.getMeasurement(parts[1])) {
|
|
1973
|
-
x += `${parts[0]} ${parts[1]}`;
|
|
1974
|
-
y += parts[2];
|
|
1975
|
-
}
|
|
1976
|
-
else {
|
|
1977
|
-
x += parts[0];
|
|
1978
|
-
y += `${parts[1]} ${parts[2]}`;
|
|
1979
|
-
}
|
|
1980
|
-
}
|
|
1981
|
-
break;
|
|
1982
|
-
case 4:
|
|
1983
|
-
x +=
|
|
1984
|
-
parts[0] === 'top' ||
|
|
1985
|
-
parts[0] === 'bottom' ||
|
|
1986
|
-
parts[1] === 'top' ||
|
|
1987
|
-
parts[1] === 'bottom'
|
|
1988
|
-
? `${parts[2]} ${parts[3]}`
|
|
1989
|
-
: `${parts[0]} ${parts[1]}`;
|
|
1990
|
-
y +=
|
|
1991
|
-
parts[0] === 'top' ||
|
|
1992
|
-
parts[0] === 'bottom' ||
|
|
1993
|
-
parts[1] === 'top' ||
|
|
1994
|
-
parts[1] === 'bottom'
|
|
1995
|
-
? `${parts[0]} ${parts[1]}`
|
|
1996
|
-
: `${parts[2]} ${parts[3]}`;
|
|
1997
|
-
break;
|
|
1998
|
-
default:
|
|
1999
|
-
return null;
|
|
2000
|
-
}
|
|
2001
|
-
}
|
|
2002
|
-
const xValue = this.getBackgroundPositionX(x, important);
|
|
2003
|
-
const yValue = this.getBackgroundPositionY(y, important);
|
|
2004
|
-
if (xValue && yValue) {
|
|
2005
|
-
return {
|
|
2006
|
-
...xValue,
|
|
2007
|
-
...yValue
|
|
2008
|
-
};
|
|
2009
|
-
}
|
|
2010
|
-
return null;
|
|
2011
|
-
}
|
|
2012
|
-
/**
|
|
2013
|
-
* Returns background position.
|
|
2014
|
-
*
|
|
2015
|
-
* @param value Value.
|
|
2016
|
-
* @param important Important.
|
|
2017
|
-
* @returns Property values
|
|
2018
|
-
*/
|
|
2019
|
-
static getBackgroundPositionX(value, important) {
|
|
2020
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
2021
|
-
if (variable) {
|
|
2022
|
-
return { 'background-position-x': { value: variable, important } };
|
|
2023
|
-
}
|
|
2024
|
-
const lowerValue = value.toLowerCase();
|
|
2025
|
-
if (CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue)) {
|
|
2026
|
-
return { 'background-position-x': { value: lowerValue, important } };
|
|
2027
|
-
}
|
|
2028
|
-
const imageParts = lowerValue.split(SPLIT_COMMA_SEPARATED_WITH_PARANTHESES_REGEXP);
|
|
2029
|
-
let parsedValue = '';
|
|
2030
|
-
for (const imagePart of imageParts) {
|
|
2031
|
-
const parts = imagePart.trim().split(SPLIT_SPACE_SEPARATED_WITH_PARANTHESES_REGEXP);
|
|
2032
|
-
if (parsedValue) {
|
|
2033
|
-
parsedValue += ',';
|
|
2034
|
-
}
|
|
2035
|
-
for (const part of parts) {
|
|
2036
|
-
const measurement = CSSStyleDeclarationValueParser_js_1.default.getMeasurement(part);
|
|
2037
|
-
if (!measurement && part !== 'left' && part !== 'right' && part !== 'center') {
|
|
2038
|
-
return null;
|
|
2039
|
-
}
|
|
2040
|
-
if (parsedValue) {
|
|
2041
|
-
parsedValue += ' ';
|
|
2042
|
-
}
|
|
2043
|
-
parsedValue += measurement || part;
|
|
2044
|
-
}
|
|
2045
|
-
}
|
|
2046
|
-
return { 'background-position-x': { value: parsedValue, important } };
|
|
2047
|
-
}
|
|
2048
|
-
/**
|
|
2049
|
-
* Returns background position.
|
|
2050
|
-
*
|
|
2051
|
-
* @param value Value.
|
|
2052
|
-
* @param important Important.
|
|
2053
|
-
* @returns Property values
|
|
2054
|
-
*/
|
|
2055
|
-
static getBackgroundPositionY(value, important) {
|
|
2056
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
2057
|
-
if (variable) {
|
|
2058
|
-
return { 'background-position-y': { value: variable, important } };
|
|
2059
|
-
}
|
|
2060
|
-
const lowerValue = value.toLowerCase();
|
|
2061
|
-
if (CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue)) {
|
|
2062
|
-
return { 'background-position-y': { value: lowerValue, important } };
|
|
2063
|
-
}
|
|
2064
|
-
const imageParts = lowerValue.split(SPLIT_COMMA_SEPARATED_WITH_PARANTHESES_REGEXP);
|
|
2065
|
-
let parsedValue = '';
|
|
2066
|
-
for (const imagePart of imageParts) {
|
|
2067
|
-
const parts = imagePart.trim().split(SPLIT_SPACE_SEPARATED_WITH_PARANTHESES_REGEXP);
|
|
2068
|
-
if (parsedValue) {
|
|
2069
|
-
parsedValue += ',';
|
|
2070
|
-
}
|
|
2071
|
-
for (const part of parts) {
|
|
2072
|
-
const measurement = CSSStyleDeclarationValueParser_js_1.default.getMeasurement(part);
|
|
2073
|
-
if (!measurement && part !== 'top' && part !== 'bottom' && part !== 'center') {
|
|
2074
|
-
return null;
|
|
2075
|
-
}
|
|
2076
|
-
if (parsedValue) {
|
|
2077
|
-
parsedValue += ' ';
|
|
2078
|
-
}
|
|
2079
|
-
parsedValue += measurement || part;
|
|
2080
|
-
}
|
|
2081
|
-
}
|
|
2082
|
-
return { 'background-position-y': { value: parsedValue, important } };
|
|
2083
|
-
}
|
|
2084
|
-
/**
|
|
2085
|
-
* Returns background color.
|
|
2086
|
-
*
|
|
2087
|
-
* @param value Value.
|
|
2088
|
-
* @param important Important.
|
|
2089
|
-
* @returns Property value.
|
|
2090
|
-
*/
|
|
2091
|
-
static getBackgroundColor(value, important) {
|
|
2092
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
2093
|
-
if (variable) {
|
|
2094
|
-
return { 'background-color': { value: variable, important } };
|
|
2095
|
-
}
|
|
2096
|
-
const color = CSSStyleDeclarationValueParser_js_1.default.getGlobal(value) ||
|
|
2097
|
-
CSSStyleDeclarationValueParser_js_1.default.getColor(value);
|
|
2098
|
-
return color
|
|
2099
|
-
? {
|
|
2100
|
-
['background-color']: { important, value: color }
|
|
2101
|
-
}
|
|
2102
|
-
: null;
|
|
2103
|
-
}
|
|
2104
|
-
/**
|
|
2105
|
-
* Returns background image.
|
|
2106
|
-
*
|
|
2107
|
-
* @param value Value.
|
|
2108
|
-
* @param important Important.
|
|
2109
|
-
* @returns Property value.
|
|
2110
|
-
*/
|
|
2111
|
-
static getBackgroundImage(value, important) {
|
|
2112
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
2113
|
-
if (variable) {
|
|
2114
|
-
return { 'background-image': { value: variable, important } };
|
|
2115
|
-
}
|
|
2116
|
-
const lowerValue = value.toLowerCase();
|
|
2117
|
-
if (CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue) || lowerValue === 'none') {
|
|
2118
|
-
return { 'background-image': { value: lowerValue, important } };
|
|
2119
|
-
}
|
|
2120
|
-
const parts = value.split(SPLIT_COMMA_SEPARATED_WITH_PARANTHESES_REGEXP);
|
|
2121
|
-
const parsed = [];
|
|
2122
|
-
for (const part of parts) {
|
|
2123
|
-
const parsedValue = CSSStyleDeclarationValueParser_js_1.default.getURL(part.trim()) ||
|
|
2124
|
-
CSSStyleDeclarationValueParser_js_1.default.getGradient(part.trim());
|
|
2125
|
-
if (!parsedValue) {
|
|
2126
|
-
return null;
|
|
2127
|
-
}
|
|
2128
|
-
parsed.push(parsedValue);
|
|
2129
|
-
}
|
|
2130
|
-
if (parsed.length) {
|
|
2131
|
-
return { 'background-image': { value: parsed.join(', '), important } };
|
|
2132
|
-
}
|
|
2133
|
-
return null;
|
|
2134
|
-
}
|
|
2135
|
-
/**
|
|
2136
|
-
* Returns color.
|
|
2137
|
-
*
|
|
2138
|
-
* @param value Value.
|
|
2139
|
-
* @param important Important.
|
|
2140
|
-
* @returns Property value.
|
|
2141
|
-
*/
|
|
2142
|
-
static getColor(value, important) {
|
|
2143
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
2144
|
-
if (variable) {
|
|
2145
|
-
return { color: { value: variable, important } };
|
|
2146
|
-
}
|
|
2147
|
-
const color = CSSStyleDeclarationValueParser_js_1.default.getGlobal(value) ||
|
|
2148
|
-
CSSStyleDeclarationValueParser_js_1.default.getColor(value);
|
|
2149
|
-
return color ? { color: { important, value: color } } : null;
|
|
2150
|
-
}
|
|
2151
|
-
/**
|
|
2152
|
-
* Returns color.
|
|
2153
|
-
*
|
|
2154
|
-
* @param value Value.
|
|
2155
|
-
* @param important Important.
|
|
2156
|
-
* @returns Property value.
|
|
2157
|
-
*/
|
|
2158
|
-
static getFloodColor(value, important) {
|
|
2159
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
2160
|
-
if (variable) {
|
|
2161
|
-
return { 'flood-color': { value: variable, important } };
|
|
2162
|
-
}
|
|
2163
|
-
const color = CSSStyleDeclarationValueParser_js_1.default.getGlobal(value) ||
|
|
2164
|
-
CSSStyleDeclarationValueParser_js_1.default.getColor(value);
|
|
2165
|
-
return color ? { 'flood-color': { important, value: color } } : null;
|
|
2166
|
-
}
|
|
2167
|
-
/**
|
|
2168
|
-
* Returns font.
|
|
2169
|
-
*
|
|
2170
|
-
* @param value Value.
|
|
2171
|
-
* @param important Important.
|
|
2172
|
-
* @returns Property values
|
|
2173
|
-
*/
|
|
2174
|
-
static getFont(value, important) {
|
|
2175
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
2176
|
-
if (variable) {
|
|
2177
|
-
return { font: { value: variable, important } };
|
|
2178
|
-
}
|
|
2179
|
-
const lowerValue = value.toLowerCase();
|
|
2180
|
-
if (CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue)) {
|
|
2181
|
-
return {
|
|
2182
|
-
...this.getFontStyle(lowerValue, important),
|
|
2183
|
-
...this.getFontVariant(lowerValue, important),
|
|
2184
|
-
...this.getFontWeight(lowerValue, important),
|
|
2185
|
-
...this.getFontStretch(lowerValue, important),
|
|
2186
|
-
...this.getFontSize(lowerValue, important),
|
|
2187
|
-
...this.getLineHeight(lowerValue, important),
|
|
2188
|
-
...this.getFontFamily(lowerValue, important)
|
|
2189
|
-
};
|
|
2190
|
-
}
|
|
2191
|
-
if (SYSTEM_FONT.includes(lowerValue)) {
|
|
2192
|
-
return { font: { value: lowerValue, important } };
|
|
2193
|
-
}
|
|
2194
|
-
const properties = {
|
|
2195
|
-
...this.getFontStyle('normal', important),
|
|
2196
|
-
...this.getFontVariant('normal', important),
|
|
2197
|
-
...this.getFontWeight('normal', important),
|
|
2198
|
-
...this.getFontStretch('normal', important),
|
|
2199
|
-
...this.getLineHeight('normal', important)
|
|
2200
|
-
};
|
|
2201
|
-
const parts = value
|
|
2202
|
-
.replace(/\s*\/\s*/g, '/')
|
|
2203
|
-
.split(SPLIT_SPACE_SEPARATED_WITH_PARANTHESES_REGEXP);
|
|
2204
|
-
for (let i = 0, max = parts.length; i < max; i++) {
|
|
2205
|
-
const part = parts[i];
|
|
2206
|
-
if (part.includes('/')) {
|
|
2207
|
-
const [size, height] = part.split('/');
|
|
2208
|
-
const fontSize = this.getFontSize(size, important);
|
|
2209
|
-
const lineHeight = this.getLineHeight(height, important);
|
|
2210
|
-
if (!fontSize || !lineHeight) {
|
|
2211
|
-
return null;
|
|
2212
|
-
}
|
|
2213
|
-
Object.assign(properties, fontSize, lineHeight);
|
|
2214
|
-
}
|
|
2215
|
-
else {
|
|
2216
|
-
const fontStyle = this.getFontStyle(part, important);
|
|
2217
|
-
const fontVariant = this.getFontVariant(part, important);
|
|
2218
|
-
const fontWeight = this.getFontWeight(part, important);
|
|
2219
|
-
const fontSize = this.getFontSize(part, important);
|
|
2220
|
-
const fontStretch = this.getFontStretch(part, important);
|
|
2221
|
-
if (fontStyle) {
|
|
2222
|
-
Object.assign(properties, fontStyle);
|
|
2223
|
-
}
|
|
2224
|
-
else if (fontVariant) {
|
|
2225
|
-
Object.assign(properties, fontVariant);
|
|
2226
|
-
}
|
|
2227
|
-
else if (fontWeight) {
|
|
2228
|
-
Object.assign(properties, fontWeight);
|
|
2229
|
-
}
|
|
2230
|
-
else if (fontSize) {
|
|
2231
|
-
Object.assign(properties, fontSize);
|
|
2232
|
-
}
|
|
2233
|
-
else if (fontStretch) {
|
|
2234
|
-
Object.assign(properties, fontStretch);
|
|
2235
|
-
}
|
|
2236
|
-
else {
|
|
2237
|
-
const fontFamilyValue = parts.slice(i).join(' ');
|
|
2238
|
-
const fontFamily = this.getFontFamily(fontFamilyValue, important);
|
|
2239
|
-
if (!fontFamily) {
|
|
2240
|
-
return null;
|
|
2241
|
-
}
|
|
2242
|
-
Object.assign(properties, fontFamily);
|
|
2243
|
-
break;
|
|
2244
|
-
}
|
|
2245
|
-
}
|
|
2246
|
-
}
|
|
2247
|
-
return properties;
|
|
2248
|
-
}
|
|
2249
|
-
/**
|
|
2250
|
-
* Returns font style.
|
|
2251
|
-
*
|
|
2252
|
-
* @param value Value.
|
|
2253
|
-
* @param important Important.
|
|
2254
|
-
* @returns Property values
|
|
2255
|
-
*/
|
|
2256
|
-
static getFontStyle(value, important) {
|
|
2257
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
2258
|
-
if (variable) {
|
|
2259
|
-
return { 'font-style': { value: variable, important } };
|
|
2260
|
-
}
|
|
2261
|
-
const lowerValue = value.toLowerCase();
|
|
2262
|
-
if (CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue) || FONT_STYLE.includes(lowerValue)) {
|
|
2263
|
-
return { 'font-style': { value: lowerValue, important } };
|
|
2264
|
-
}
|
|
2265
|
-
const parts = value.split(SPLIT_SPACE_SEPARATED_WITH_PARANTHESES_REGEXP);
|
|
2266
|
-
if (parts.length === 2 && parts[0] === 'oblique') {
|
|
2267
|
-
const degree = CSSStyleDeclarationValueParser_js_1.default.getDegree(parts[1]);
|
|
2268
|
-
return degree ? { 'font-style': { value: lowerValue, important } } : null;
|
|
2269
|
-
}
|
|
2270
|
-
return null;
|
|
2271
|
-
}
|
|
2272
|
-
/**
|
|
2273
|
-
* Returns font variant.
|
|
2274
|
-
*
|
|
2275
|
-
* @param value Value.
|
|
2276
|
-
* @param important Important.
|
|
2277
|
-
* @returns Property values
|
|
2278
|
-
*/
|
|
2279
|
-
static getFontVariant(value, important) {
|
|
2280
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
2281
|
-
if (variable) {
|
|
2282
|
-
return { 'font-variant': { value: variable, important } };
|
|
2283
|
-
}
|
|
2284
|
-
const lowerValue = value.toLowerCase();
|
|
2285
|
-
return CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue) ||
|
|
2286
|
-
lowerValue === 'normal' ||
|
|
2287
|
-
lowerValue === 'small-caps'
|
|
2288
|
-
? { 'font-variant': { value: lowerValue, important } }
|
|
2289
|
-
: null;
|
|
2290
|
-
}
|
|
2291
|
-
/**
|
|
2292
|
-
* Returns font strech.
|
|
2293
|
-
*
|
|
2294
|
-
* @param value Value.
|
|
2295
|
-
* @param important Important.
|
|
2296
|
-
* @returns Property values
|
|
2297
|
-
*/
|
|
2298
|
-
static getFontStretch(value, important) {
|
|
2299
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
2300
|
-
if (variable) {
|
|
2301
|
-
return { 'font-stretch': { value: variable, important } };
|
|
2302
|
-
}
|
|
2303
|
-
const lowerValue = value.toLowerCase();
|
|
2304
|
-
if (CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue) || FONT_STRETCH.includes(lowerValue)) {
|
|
2305
|
-
return { 'font-stretch': { value: lowerValue, important } };
|
|
2306
|
-
}
|
|
2307
|
-
const percentage = CSSStyleDeclarationValueParser_js_1.default.getPercentage(value);
|
|
2308
|
-
return percentage ? { 'font-stretch': { value: percentage, important } } : null;
|
|
2309
|
-
}
|
|
2310
|
-
/**
|
|
2311
|
-
* Returns font weight.
|
|
2312
|
-
*
|
|
2313
|
-
* @param value Value.
|
|
2314
|
-
* @param important Important.
|
|
2315
|
-
* @returns Property values
|
|
2316
|
-
*/
|
|
2317
|
-
static getFontWeight(value, important) {
|
|
2318
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
2319
|
-
if (variable) {
|
|
2320
|
-
return { 'font-weight': { value: variable, important } };
|
|
2321
|
-
}
|
|
2322
|
-
const lowerValue = value.toLowerCase();
|
|
2323
|
-
if (CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue) || FONT_WEIGHT.includes(lowerValue)) {
|
|
2324
|
-
return { 'font-weight': { value: lowerValue, important } };
|
|
2325
|
-
}
|
|
2326
|
-
const integer = CSSStyleDeclarationValueParser_js_1.default.getInteger(value);
|
|
2327
|
-
return integer ? { 'font-weight': { value: integer, important } } : null;
|
|
2328
|
-
}
|
|
2329
|
-
/**
|
|
2330
|
-
* Returns font size.
|
|
2331
|
-
*
|
|
2332
|
-
* @param value Value.
|
|
2333
|
-
* @param important Important.
|
|
2334
|
-
* @returns Property values
|
|
2335
|
-
*/
|
|
2336
|
-
static getFontSize(value, important) {
|
|
2337
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
2338
|
-
if (variable) {
|
|
2339
|
-
return { 'font-size': { value: variable, important } };
|
|
2340
|
-
}
|
|
2341
|
-
const lowerValue = value.toLowerCase();
|
|
2342
|
-
if (CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue) || FONT_SIZE.includes(lowerValue)) {
|
|
2343
|
-
return { 'font-size': { value: lowerValue, important } };
|
|
2344
|
-
}
|
|
2345
|
-
const measurement = CSSStyleDeclarationValueParser_js_1.default.getMeasurement(value);
|
|
2346
|
-
return measurement ? { 'font-size': { value: measurement, important } } : null;
|
|
2347
|
-
}
|
|
2348
|
-
/**
|
|
2349
|
-
* Returns line height.
|
|
2350
|
-
*
|
|
2351
|
-
* @param value Value.
|
|
2352
|
-
* @param important Important.
|
|
2353
|
-
* @returns Property values
|
|
2354
|
-
*/
|
|
2355
|
-
static getLineHeight(value, important) {
|
|
2356
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
2357
|
-
if (variable) {
|
|
2358
|
-
return { 'line-height': { value: variable, important } };
|
|
2359
|
-
}
|
|
2360
|
-
const lowerValue = value.toLowerCase();
|
|
2361
|
-
if (CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue) || lowerValue === 'normal') {
|
|
2362
|
-
return { 'line-height': { value: lowerValue, important } };
|
|
2363
|
-
}
|
|
2364
|
-
const lineHeight = CSSStyleDeclarationValueParser_js_1.default.getFloat(value) ||
|
|
2365
|
-
CSSStyleDeclarationValueParser_js_1.default.getMeasurement(value);
|
|
2366
|
-
return lineHeight ? { 'line-height': { value: lineHeight, important } } : null;
|
|
2367
|
-
}
|
|
2368
|
-
/**
|
|
2369
|
-
* Returns font family.
|
|
2370
|
-
*
|
|
2371
|
-
* @param value Value.
|
|
2372
|
-
* @param important Important.
|
|
2373
|
-
* @returns Property values
|
|
2374
|
-
*/
|
|
2375
|
-
static getFontFamily(value, important) {
|
|
2376
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
2377
|
-
if (variable) {
|
|
2378
|
-
return { 'font-family': { value: variable, important } };
|
|
2379
|
-
}
|
|
2380
|
-
const globalValue = CSSStyleDeclarationValueParser_js_1.default.getGlobal(value);
|
|
2381
|
-
if (globalValue) {
|
|
2382
|
-
return { 'font-family': { value: globalValue, important } };
|
|
2383
|
-
}
|
|
2384
|
-
const parts = value.split(',');
|
|
2385
|
-
let parsedValue = '';
|
|
2386
|
-
let endWithApostroph = false;
|
|
2387
|
-
for (let i = 0, max = parts.length; i < max; i++) {
|
|
2388
|
-
let trimmedPart = parts[i].trim().replace(/'/g, '"');
|
|
2389
|
-
if (!trimmedPart) {
|
|
2390
|
-
return null;
|
|
2391
|
-
}
|
|
2392
|
-
if (trimmedPart.includes(' ')) {
|
|
2393
|
-
const apostrophCount = (trimmedPart.match(/"/g) || []).length;
|
|
2394
|
-
if ((trimmedPart[0] !== '"' || i !== 0) && apostrophCount !== 2 && apostrophCount !== 0) {
|
|
2395
|
-
return null;
|
|
2396
|
-
}
|
|
2397
|
-
if (trimmedPart[0] === '"' && trimmedPart[trimmedPart.length - 1] !== '"') {
|
|
2398
|
-
endWithApostroph = true;
|
|
2399
|
-
}
|
|
2400
|
-
else if (trimmedPart[0] !== '"' && trimmedPart[trimmedPart.length - 1] !== '"') {
|
|
2401
|
-
trimmedPart = `"${trimmedPart}"`;
|
|
2402
|
-
}
|
|
2403
|
-
}
|
|
2404
|
-
else {
|
|
2405
|
-
trimmedPart = trimmedPart.replace(/"/g, '');
|
|
2406
|
-
}
|
|
2407
|
-
if (i > 0) {
|
|
2408
|
-
parsedValue += ', ';
|
|
2409
|
-
}
|
|
2410
|
-
parsedValue += trimmedPart;
|
|
2411
|
-
}
|
|
2412
|
-
if (endWithApostroph) {
|
|
2413
|
-
parsedValue += '"';
|
|
2414
|
-
}
|
|
2415
|
-
if (!parsedValue) {
|
|
2416
|
-
return null;
|
|
2417
|
-
}
|
|
2418
|
-
return {
|
|
2419
|
-
'font-family': {
|
|
2420
|
-
important,
|
|
2421
|
-
value: parsedValue
|
|
2422
|
-
}
|
|
2423
|
-
};
|
|
2424
|
-
}
|
|
2425
|
-
/**
|
|
2426
|
-
* Returns font family.
|
|
2427
|
-
*
|
|
2428
|
-
* @param value Value.
|
|
2429
|
-
* @param important Important.
|
|
2430
|
-
* @returns Property values
|
|
2431
|
-
*/
|
|
2432
|
-
static getTextTransform(value, important) {
|
|
2433
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
2434
|
-
if (variable) {
|
|
2435
|
-
return { 'text-transform': { value: variable, important } };
|
|
2436
|
-
}
|
|
2437
|
-
const lowerValue = value.toLowerCase();
|
|
2438
|
-
const parsedValue = CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue) ||
|
|
2439
|
-
(TEXT_TRANSFORM.includes(lowerValue) && lowerValue);
|
|
2440
|
-
if (parsedValue) {
|
|
2441
|
-
return {
|
|
2442
|
-
'text-transform': { value: parsedValue, important }
|
|
2443
|
-
};
|
|
2444
|
-
}
|
|
2445
|
-
return null;
|
|
2446
|
-
}
|
|
2447
|
-
/**
|
|
2448
|
-
* Returns visibility.
|
|
2449
|
-
*
|
|
2450
|
-
* @param value Value.
|
|
2451
|
-
* @param important Important.
|
|
2452
|
-
* @returns Property
|
|
2453
|
-
*/
|
|
2454
|
-
static getVisibility(value, important) {
|
|
2455
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
2456
|
-
if (variable) {
|
|
2457
|
-
return { visibility: { value: variable, important } };
|
|
2458
|
-
}
|
|
2459
|
-
const lowerValue = value.toLowerCase();
|
|
2460
|
-
const parsedValue = CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue) ||
|
|
2461
|
-
(VISIBILITY.includes(lowerValue) && lowerValue);
|
|
2462
|
-
if (parsedValue) {
|
|
2463
|
-
return {
|
|
2464
|
-
visibility: { value: parsedValue, important }
|
|
2465
|
-
};
|
|
2466
|
-
}
|
|
2467
|
-
return null;
|
|
2468
|
-
}
|
|
2469
|
-
/**
|
|
2470
|
-
* Returns aspect ratio.
|
|
2471
|
-
*
|
|
2472
|
-
* @param value Value.
|
|
2473
|
-
* @param important Important.
|
|
2474
|
-
* @returns Property
|
|
2475
|
-
*/
|
|
2476
|
-
static getAspectRatio(value, important) {
|
|
2477
|
-
const variable = CSSStyleDeclarationValueParser_js_1.default.getVariable(value);
|
|
2478
|
-
if (variable) {
|
|
2479
|
-
return { 'aspect-ratio': { value: variable, important } };
|
|
2480
|
-
}
|
|
2481
|
-
const lowerValue = value.toLowerCase();
|
|
2482
|
-
if (CSSStyleDeclarationValueParser_js_1.default.getGlobal(lowerValue)) {
|
|
2483
|
-
return { 'aspect-ratio': { value: lowerValue, important } };
|
|
2484
|
-
}
|
|
2485
|
-
let parsedValue = value;
|
|
2486
|
-
const hasAuto = parsedValue.includes('auto');
|
|
2487
|
-
if (hasAuto) {
|
|
2488
|
-
parsedValue = parsedValue.replace('auto', '');
|
|
2489
|
-
}
|
|
2490
|
-
parsedValue = parsedValue.replace(WHITE_SPACE_GLOBAL_REGEXP, '');
|
|
2491
|
-
if (!parsedValue) {
|
|
2492
|
-
return { 'aspect-ratio': { value: 'auto', important } };
|
|
2493
|
-
}
|
|
2494
|
-
const aspectRatio = parsedValue.split('/');
|
|
2495
|
-
if (aspectRatio.length > 3) {
|
|
2496
|
-
return null;
|
|
2497
|
-
}
|
|
2498
|
-
const width = Number(aspectRatio[0]);
|
|
2499
|
-
const height = aspectRatio[1] ? Number(aspectRatio[1]) : 1;
|
|
2500
|
-
if (isNaN(width) || isNaN(height)) {
|
|
2501
|
-
return null;
|
|
2502
|
-
}
|
|
2503
|
-
if (hasAuto) {
|
|
2504
|
-
return { 'aspect-ratio': { value: `auto ${width} / ${height}`, important } };
|
|
2505
|
-
}
|
|
2506
|
-
return { 'aspect-ratio': { value: `${width} / ${height}`, important } };
|
|
2507
|
-
}
|
|
2508
|
-
}
|
|
2509
|
-
exports.default = CSSStyleDeclarationPropertySetParser;
|
|
2510
|
-
//# sourceMappingURL=CSSStyleDeclarationPropertySetParser.cjs.map
|