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