@thednp/shorty 2.0.0-alpha1 → 2.0.0-alpha11

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 (1099) hide show
  1. package/.eslintrc.cjs +224 -0
  2. package/.lgtm.yml +8 -0
  3. package/.prettierrc.json +15 -0
  4. package/README.md +10 -4
  5. package/cypress/e2e/att.cy.ts +46 -0
  6. package/cypress/e2e/boolean.cy.ts +44 -0
  7. package/cypress/e2e/class.cy.ts +28 -0
  8. package/cypress/e2e/event.cy.ts +51 -0
  9. package/cypress/e2e/get.cy.ts +168 -0
  10. package/cypress/e2e/is.cy.ts +233 -0
  11. package/cypress/e2e/misc.cy.ts +331 -0
  12. package/cypress/e2e/selectors.cy.ts +85 -0
  13. package/cypress/fixtures/custom-elem.js +18 -0
  14. package/cypress/plugins/esbuild-istanbul.ts +50 -0
  15. package/cypress/plugins/tsCompile.ts +34 -0
  16. package/cypress/support/commands.ts +37 -0
  17. package/cypress/support/e2e.ts +21 -0
  18. package/cypress/support/index.js +22 -0
  19. package/cypress/test.html +63 -0
  20. package/cypress.config.ts +30 -0
  21. package/dist/shorty.cjs +2 -0
  22. package/dist/shorty.cjs.map +1 -0
  23. package/dist/shorty.d.ts +1502 -0
  24. package/dist/shorty.js +2 -0
  25. package/dist/shorty.js.map +1 -0
  26. package/dist/shorty.mjs +669 -0
  27. package/dist/shorty.mjs.map +1 -0
  28. package/dts.config.ts +22 -0
  29. package/package.json +29 -34
  30. package/src/attr/getAttribute.ts +1 -0
  31. package/src/attr/getAttributeNS.ts +1 -0
  32. package/src/attr/hasAttribute.ts +1 -0
  33. package/src/attr/hasAttributeNS.ts +1 -0
  34. package/src/attr/removeAttribute.ts +1 -0
  35. package/src/attr/removeAttributeNS.ts +1 -0
  36. package/src/attr/setAttribute.ts +1 -0
  37. package/src/attr/setAttributeNS.ts +1 -0
  38. package/src/boolean/isApple.ts +3 -3
  39. package/src/boolean/isFirefox.ts +2 -2
  40. package/src/boolean/isMobile.ts +3 -3
  41. package/src/boolean/support3DTransform.ts +2 -4
  42. package/src/boolean/supportAnimation.ts +2 -2
  43. package/src/boolean/supportPassive.ts +6 -5
  44. package/src/boolean/supportTouch.ts +1 -1
  45. package/src/boolean/supportTransform.ts +2 -2
  46. package/src/boolean/supportTransition.ts +2 -2
  47. package/src/class/addClass.ts +3 -3
  48. package/src/class/removeClass.ts +3 -3
  49. package/src/event/off.ts +8 -6
  50. package/src/event/on.ts +8 -6
  51. package/src/event/one.ts +7 -7
  52. package/src/get/getBoundingClientRect.ts +4 -3
  53. package/src/get/getDocument.ts +9 -8
  54. package/src/get/getDocumentBody.ts +3 -3
  55. package/src/get/getDocumentElement.ts +3 -3
  56. package/src/get/getDocumentHead.ts +3 -3
  57. package/src/get/getElementAnimationDelay.ts +6 -7
  58. package/src/get/getElementAnimationDuration.ts +5 -5
  59. package/src/get/getElementStyle.ts +8 -5
  60. package/src/get/getElementTransitionDelay.ts +7 -5
  61. package/src/get/getElementTransitionDuration.ts +7 -5
  62. package/src/get/getNodeScroll.ts +1 -1
  63. package/src/get/getParentNode.ts +11 -8
  64. package/src/get/getRectRelativeToOffsetParent.ts +8 -7
  65. package/src/get/getUID.ts +13 -7
  66. package/src/get/getWindow.ts +6 -5
  67. package/src/index.ts +236 -207
  68. package/src/interface/{boundingClientRect.ts → boundingClientRect.d.ts} +10 -10
  69. package/src/interface/css4Declaration.d.ts +4 -0
  70. package/src/interface/customElement.d.ts +8 -0
  71. package/src/interface/{navigatorUA.ts → navigatorUA.d.ts} +15 -15
  72. package/src/interface/{offsetRect.ts → offsetRect.d.ts} +6 -6
  73. package/src/interface/originalEvent.d.ts +4 -0
  74. package/src/is/isArray.ts +3 -3
  75. package/src/is/isCanvas.ts +13 -0
  76. package/src/is/isCustomElement.ts +6 -3
  77. package/src/is/isDocument.ts +4 -1
  78. package/src/is/isElement.ts +8 -3
  79. package/src/is/isElementInScrollRange.ts +4 -4
  80. package/src/is/isElementInViewport.ts +4 -4
  81. package/src/is/isElementsArray.ts +3 -3
  82. package/src/is/isFunction.ts +2 -2
  83. package/src/is/isHTMLCollection.ts +4 -2
  84. package/src/is/isHTMLElement.ts +5 -2
  85. package/src/is/isHTMLImageElement.ts +5 -2
  86. package/src/is/isJSON.ts +20 -0
  87. package/src/is/isMap.ts +11 -0
  88. package/src/is/isMedia.ts +9 -5
  89. package/src/is/isNode.ts +9 -3
  90. package/src/is/isNodeList.ts +4 -2
  91. package/src/is/isNumber.ts +2 -2
  92. package/src/is/isObject.ts +3 -2
  93. package/src/is/isRTL.ts +3 -2
  94. package/src/is/isSVGElement.ts +4 -2
  95. package/src/is/isScaledElement.ts +7 -4
  96. package/src/is/isShadowRoot.ts +4 -2
  97. package/src/is/isString.ts +2 -2
  98. package/src/is/isTableElement.ts +4 -2
  99. package/src/is/isWeakMap.ts +11 -0
  100. package/src/is/isWindow.ts +4 -1
  101. package/src/misc/ArrayFrom.ts +4 -2
  102. package/src/misc/Float32ArrayFrom.ts +2 -1
  103. package/src/misc/Float64ArrayFrom.ts +2 -1
  104. package/src/misc/ObjectAssign.ts +38 -3
  105. package/src/misc/ObjectEntries.ts +5 -2
  106. package/src/misc/ObjectHasOwn.ts +17 -0
  107. package/src/misc/ObjectKeys.ts +3 -1
  108. package/src/misc/ObjectValues.ts +4 -1
  109. package/src/misc/createCustomEvent.ts +28 -0
  110. package/src/misc/createElement.ts +14 -10
  111. package/src/misc/createElementNS.ts +16 -12
  112. package/src/misc/data.ts +23 -20
  113. package/src/misc/dispatchEvent.ts +1 -1
  114. package/src/misc/distinct.ts +4 -3
  115. package/src/misc/emulateAnimationEnd.ts +5 -7
  116. package/src/misc/emulateTransitionEnd.ts +6 -8
  117. package/src/misc/focus.ts +3 -2
  118. package/src/misc/getInstance.ts +9 -0
  119. package/src/misc/noop.ts +3 -1
  120. package/src/misc/normalizeOptions.ts +27 -23
  121. package/src/misc/normalizeValue.ts +9 -19
  122. package/src/misc/setElementStyle.ts +10 -7
  123. package/src/misc/timer.ts +30 -20
  124. package/src/selectors/getCustomElements.ts +6 -4
  125. package/src/selectors/getElementById.ts +3 -3
  126. package/src/selectors/getElementsByClassName.ts +5 -5
  127. package/src/selectors/getElementsByTagName.ts +3 -3
  128. package/src/selectors/matches.ts +1 -1
  129. package/src/selectors/querySelector.ts +8 -7
  130. package/src/selectors/querySelectorAll.ts +3 -3
  131. package/src/strings/DOMContentLoadedEvent.ts +1 -1
  132. package/src/strings/DOMMouseScrollEvent.ts +1 -1
  133. package/src/strings/abortEvent.ts +1 -1
  134. package/src/strings/addEventListener.ts +1 -1
  135. package/src/strings/animationDelay.ts +1 -1
  136. package/src/strings/animationDuration.ts +1 -1
  137. package/src/strings/animationEndEvent.ts +1 -1
  138. package/src/strings/animationName.ts +1 -1
  139. package/src/strings/ariaChecked.ts +1 -1
  140. package/src/strings/ariaDescribedBy.ts +1 -1
  141. package/src/strings/ariaDescription.ts +1 -1
  142. package/src/strings/ariaExpanded.ts +1 -1
  143. package/src/strings/ariaHasPopup.ts +1 -1
  144. package/src/strings/ariaHidden.ts +1 -1
  145. package/src/strings/ariaLabel.ts +1 -1
  146. package/src/strings/ariaLabelledBy.ts +1 -1
  147. package/src/strings/ariaModal.ts +1 -1
  148. package/src/strings/ariaPressed.ts +1 -1
  149. package/src/strings/ariaSelected.ts +1 -1
  150. package/src/strings/ariaValueMax.ts +1 -1
  151. package/src/strings/ariaValueMin.ts +1 -1
  152. package/src/strings/ariaValueNow.ts +1 -1
  153. package/src/strings/ariaValueText.ts +1 -1
  154. package/src/strings/beforeunloadEvent.ts +1 -1
  155. package/src/strings/bezierEasings.ts +25 -25
  156. package/src/strings/blurEvent.ts +1 -1
  157. package/src/strings/changeEvent.ts +1 -1
  158. package/src/strings/contextmenuEvent.ts +1 -1
  159. package/src/strings/dragEvent.ts +5 -0
  160. package/src/strings/dragendEvent.ts +5 -0
  161. package/src/strings/dragenterEvent.ts +5 -0
  162. package/src/strings/dragleaveEvent.ts +5 -0
  163. package/src/strings/dragoverEvent.ts +5 -0
  164. package/src/strings/dragstartEvent.ts +5 -0
  165. package/src/strings/errorEvent.ts +1 -1
  166. package/src/strings/focusEvent.ts +1 -1
  167. package/src/strings/focusEvents.ts +1 -1
  168. package/src/strings/focusinEvent.ts +1 -1
  169. package/src/strings/focusoutEvent.ts +1 -1
  170. package/src/strings/gesturechangeEvent.ts +1 -1
  171. package/src/strings/gestureendEvent.ts +1 -1
  172. package/src/strings/gesturestartEvent.ts +1 -1
  173. package/src/strings/keyAlt.ts +1 -1
  174. package/src/strings/keyArrowDown.ts +1 -1
  175. package/src/strings/keyArrowLeft.ts +1 -1
  176. package/src/strings/keyArrowRight.ts +1 -1
  177. package/src/strings/keyArrowUp.ts +1 -1
  178. package/src/strings/keyBackspace.ts +1 -1
  179. package/src/strings/keyCapsLock.ts +1 -1
  180. package/src/strings/keyControl.ts +1 -1
  181. package/src/strings/keyDelete.ts +1 -1
  182. package/src/strings/keyEnter.ts +1 -1
  183. package/src/strings/keyEscape.ts +1 -1
  184. package/src/strings/keyInsert.ts +1 -1
  185. package/src/strings/keyMeta.ts +1 -1
  186. package/src/strings/keyPause.ts +1 -1
  187. package/src/strings/keyScrollLock.ts +1 -1
  188. package/src/strings/keyShift.ts +1 -1
  189. package/src/strings/keySpace.ts +1 -1
  190. package/src/strings/keyTab.ts +1 -1
  191. package/src/strings/keyboardEventKeys.ts +19 -19
  192. package/src/strings/keydownEvent.ts +1 -1
  193. package/src/strings/keypressEvent.ts +1 -1
  194. package/src/strings/keyupEvent.ts +1 -1
  195. package/src/strings/loadEvent.ts +1 -1
  196. package/src/strings/loadstartEvent.ts +1 -1
  197. package/src/strings/mouseClickEvents.ts +1 -1
  198. package/src/strings/mouseHoverEvents.ts +3 -3
  199. package/src/strings/mouseSwipeEvents.ts +4 -4
  200. package/src/strings/mouseclickEvent.ts +1 -1
  201. package/src/strings/mousedblclickEvent.ts +1 -1
  202. package/src/strings/mousedownEvent.ts +1 -1
  203. package/src/strings/mouseenterEvent.ts +1 -1
  204. package/src/strings/mousehoverEvent.ts +1 -1
  205. package/src/strings/mouseinEvent.ts +1 -1
  206. package/src/strings/mouseleaveEvent.ts +1 -1
  207. package/src/strings/mousemoveEvent.ts +1 -1
  208. package/src/strings/mouseoutEvent.ts +1 -1
  209. package/src/strings/mouseoverEvent.ts +1 -1
  210. package/src/strings/mouseupEvent.ts +1 -1
  211. package/src/strings/mousewheelEvent.ts +1 -1
  212. package/src/strings/moveEvent.ts +1 -1
  213. package/src/strings/offsetHeight.ts +1 -1
  214. package/src/strings/offsetWidth.ts +1 -1
  215. package/src/strings/orientationchangeEvent.ts +1 -1
  216. package/src/strings/pointercancelEvent.ts +1 -1
  217. package/src/strings/pointerdownEvent.ts +1 -1
  218. package/src/strings/pointerleaveEvent.ts +1 -1
  219. package/src/strings/pointermoveEvent.ts +1 -1
  220. package/src/strings/pointerupEvent.ts +1 -1
  221. package/src/strings/readystatechangeEvent.ts +1 -1
  222. package/src/strings/removeEventListener.ts +1 -1
  223. package/src/strings/resetEvent.ts +1 -1
  224. package/src/strings/resizeEvent.ts +1 -1
  225. package/src/strings/scrollEvent.ts +1 -1
  226. package/src/strings/scrollHeight.ts +1 -1
  227. package/src/strings/scrollWidth.ts +1 -1
  228. package/src/strings/selectEvent.ts +1 -1
  229. package/src/strings/selectendEvent.ts +1 -1
  230. package/src/strings/selectstartEvent.ts +1 -1
  231. package/src/strings/submitEvent.ts +1 -1
  232. package/src/strings/tabindex.ts +1 -1
  233. package/src/strings/touchEvents.ts +4 -4
  234. package/src/strings/touchcancelEvent.ts +1 -1
  235. package/src/strings/touchendEvent.ts +1 -1
  236. package/src/strings/touchmoveEvent.ts +1 -1
  237. package/src/strings/touchstartEvent.ts +1 -1
  238. package/src/strings/transitionDelay.ts +1 -1
  239. package/src/strings/transitionDuration.ts +1 -1
  240. package/src/strings/transitionEndEvent.ts +1 -1
  241. package/src/strings/transitionProperty.ts +1 -1
  242. package/src/strings/unloadEvent.ts +1 -1
  243. package/src/strings/userAgentData.ts +2 -2
  244. package/tsconfig.json +29 -0
  245. package/vite.config.ts +30 -0
  246. package/dist/index.cjs.js +0 -1564
  247. package/dist/index.cjs.js.map +0 -7
  248. package/dist/index.cjs.min.js +0 -3
  249. package/dist/index.cjs.min.js.map +0 -7
  250. package/dist/index.js +0 -1542
  251. package/dist/index.js.map +0 -7
  252. package/dist/index.min.js +0 -3
  253. package/dist/index.min.js.map +0 -7
  254. package/src/attr/getAttribute.js +0 -3
  255. package/src/attr/getAttribute.js.map +0 -1
  256. package/src/attr/getAttributeNS.js +0 -3
  257. package/src/attr/getAttributeNS.js.map +0 -1
  258. package/src/attr/hasAttribute.js +0 -3
  259. package/src/attr/hasAttribute.js.map +0 -1
  260. package/src/attr/hasAttributeNS.js +0 -3
  261. package/src/attr/hasAttributeNS.js.map +0 -1
  262. package/src/attr/removeAttribute.js +0 -3
  263. package/src/attr/removeAttribute.js.map +0 -1
  264. package/src/attr/removeAttributeNS.js +0 -3
  265. package/src/attr/removeAttributeNS.js.map +0 -1
  266. package/src/attr/setAttribute.js +0 -3
  267. package/src/attr/setAttribute.js.map +0 -1
  268. package/src/attr/setAttributeNS.js +0 -3
  269. package/src/attr/setAttributeNS.js.map +0 -1
  270. package/src/blocks/documentBody.js +0 -3
  271. package/src/blocks/documentBody.js.map +0 -1
  272. package/src/blocks/documentElement.js +0 -3
  273. package/src/blocks/documentElement.js.map +0 -1
  274. package/src/blocks/documentHead.js +0 -3
  275. package/src/blocks/documentHead.js.map +0 -1
  276. package/src/boolean/isApple.js +0 -8
  277. package/src/boolean/isApple.js.map +0 -1
  278. package/src/boolean/isFirefox.js +0 -4
  279. package/src/boolean/isFirefox.js.map +0 -1
  280. package/src/boolean/isMobile.js +0 -13
  281. package/src/boolean/isMobile.js.map +0 -1
  282. package/src/boolean/support3DTransform.js +0 -4
  283. package/src/boolean/support3DTransform.js.map +0 -1
  284. package/src/boolean/supportAnimation.js +0 -4
  285. package/src/boolean/supportAnimation.js.map +0 -1
  286. package/src/boolean/supportPassive.js +0 -19
  287. package/src/boolean/supportPassive.js.map +0 -1
  288. package/src/boolean/supportTouch.js +0 -3
  289. package/src/boolean/supportTouch.js.map +0 -1
  290. package/src/boolean/supportTransform.js +0 -4
  291. package/src/boolean/supportTransform.js.map +0 -1
  292. package/src/boolean/supportTransition.js +0 -4
  293. package/src/boolean/supportTransition.js.map +0 -1
  294. package/src/class/addClass.js +0 -5
  295. package/src/class/addClass.js.map +0 -1
  296. package/src/class/hasClass.js +0 -5
  297. package/src/class/hasClass.js.map +0 -1
  298. package/src/class/removeClass.js +0 -5
  299. package/src/class/removeClass.js.map +0 -1
  300. package/src/event/off.js +0 -5
  301. package/src/event/off.js.map +0 -1
  302. package/src/event/on.js +0 -5
  303. package/src/event/on.js.map +0 -1
  304. package/src/event/one.js +0 -13
  305. package/src/event/one.js.map +0 -1
  306. package/src/get/getBoundingClientRect.js +0 -23
  307. package/src/get/getBoundingClientRect.js.map +0 -1
  308. package/src/get/getDocument.js +0 -14
  309. package/src/get/getDocument.js.map +0 -1
  310. package/src/get/getDocumentBody.js +0 -6
  311. package/src/get/getDocumentBody.js.map +0 -1
  312. package/src/get/getDocumentElement.js +0 -6
  313. package/src/get/getDocumentElement.js.map +0 -1
  314. package/src/get/getDocumentHead.js +0 -6
  315. package/src/get/getDocumentHead.js.map +0 -1
  316. package/src/get/getElementAnimationDelay.js +0 -12
  317. package/src/get/getElementAnimationDelay.js.map +0 -1
  318. package/src/get/getElementAnimationDuration.js +0 -12
  319. package/src/get/getElementAnimationDuration.js.map +0 -1
  320. package/src/get/getElementStyle.js +0 -8
  321. package/src/get/getElementStyle.js.map +0 -1
  322. package/src/get/getElementTransitionDelay.js +0 -12
  323. package/src/get/getElementTransitionDelay.js.map +0 -1
  324. package/src/get/getElementTransitionDuration.js +0 -12
  325. package/src/get/getElementTransitionDuration.js.map +0 -1
  326. package/src/get/getNodeScroll.js +0 -9
  327. package/src/get/getNodeScroll.js.map +0 -1
  328. package/src/get/getParentNode.js +0 -13
  329. package/src/get/getParentNode.js.map +0 -1
  330. package/src/get/getRectRelativeToOffsetParent.js +0 -21
  331. package/src/get/getRectRelativeToOffsetParent.js.map +0 -1
  332. package/src/get/getUID.js +0 -31
  333. package/src/get/getUID.js.map +0 -1
  334. package/src/get/getWindow.js +0 -13
  335. package/src/get/getWindow.js.map +0 -1
  336. package/src/index.js +0 -411
  337. package/src/index.js.map +0 -1
  338. package/src/interface/boundingClientRect.js +0 -2
  339. package/src/interface/boundingClientRect.js.map +0 -1
  340. package/src/interface/navigatorUA.js +0 -2
  341. package/src/interface/navigatorUA.js.map +0 -1
  342. package/src/interface/offsetRect.js +0 -2
  343. package/src/interface/offsetRect.js.map +0 -1
  344. package/src/interface/originalEvent.js +0 -2
  345. package/src/interface/originalEvent.js.map +0 -1
  346. package/src/interface/originalEvent.ts +0 -3
  347. package/src/is/isArray.js +0 -3
  348. package/src/is/isArray.js.map +0 -1
  349. package/src/is/isCustomElement.js +0 -3
  350. package/src/is/isCustomElement.js.map +0 -1
  351. package/src/is/isDocument.js +0 -3
  352. package/src/is/isDocument.js.map +0 -1
  353. package/src/is/isElement.js +0 -3
  354. package/src/is/isElement.js.map +0 -1
  355. package/src/is/isElementInScrollRange.js +0 -12
  356. package/src/is/isElementInScrollRange.js.map +0 -1
  357. package/src/is/isElementInViewport.js +0 -12
  358. package/src/is/isElementInViewport.js.map +0 -1
  359. package/src/is/isElementsArray.js +0 -5
  360. package/src/is/isElementsArray.js.map +0 -1
  361. package/src/is/isFunction.js +0 -3
  362. package/src/is/isFunction.js.map +0 -1
  363. package/src/is/isHTMLCollection.js +0 -3
  364. package/src/is/isHTMLCollection.js.map +0 -1
  365. package/src/is/isHTMLElement.js +0 -3
  366. package/src/is/isHTMLElement.js.map +0 -1
  367. package/src/is/isHTMLImageElement.js +0 -3
  368. package/src/is/isHTMLImageElement.js.map +0 -1
  369. package/src/is/isMedia.js +0 -6
  370. package/src/is/isMedia.js.map +0 -1
  371. package/src/is/isNode.js +0 -3
  372. package/src/is/isNode.js.map +0 -1
  373. package/src/is/isNodeList.js +0 -3
  374. package/src/is/isNodeList.js.map +0 -1
  375. package/src/is/isNumber.js +0 -3
  376. package/src/is/isNumber.js.map +0 -1
  377. package/src/is/isObject.js +0 -3
  378. package/src/is/isObject.js.map +0 -1
  379. package/src/is/isRTL.js +0 -4
  380. package/src/is/isRTL.js.map +0 -1
  381. package/src/is/isSVGElement.js +0 -3
  382. package/src/is/isSVGElement.js.map +0 -1
  383. package/src/is/isScaledElement.js +0 -10
  384. package/src/is/isScaledElement.js.map +0 -1
  385. package/src/is/isShadowRoot.js +0 -3
  386. package/src/is/isShadowRoot.js.map +0 -1
  387. package/src/is/isString.js +0 -3
  388. package/src/is/isString.js.map +0 -1
  389. package/src/is/isTableElement.js +0 -3
  390. package/src/is/isTableElement.js.map +0 -1
  391. package/src/is/isWindow.js +0 -3
  392. package/src/is/isWindow.js.map +0 -1
  393. package/src/misc/ArrayFrom.js +0 -3
  394. package/src/misc/ArrayFrom.js.map +0 -1
  395. package/src/misc/Float32ArrayFrom.js +0 -3
  396. package/src/misc/Float32ArrayFrom.js.map +0 -1
  397. package/src/misc/Float64ArrayFrom.js +0 -3
  398. package/src/misc/Float64ArrayFrom.js.map +0 -1
  399. package/src/misc/ObjectAssign.js +0 -3
  400. package/src/misc/ObjectAssign.js.map +0 -1
  401. package/src/misc/ObjectEntries.js +0 -3
  402. package/src/misc/ObjectEntries.js.map +0 -1
  403. package/src/misc/ObjectKeys.js +0 -3
  404. package/src/misc/ObjectKeys.js.map +0 -1
  405. package/src/misc/ObjectValues.js +0 -3
  406. package/src/misc/ObjectValues.js.map +0 -1
  407. package/src/misc/OriginalEvent.js +0 -14
  408. package/src/misc/OriginalEvent.js.map +0 -1
  409. package/src/misc/OriginalEvent.ts +0 -24
  410. package/src/misc/createElement.js +0 -22
  411. package/src/misc/createElement.js.map +0 -1
  412. package/src/misc/createElementNS.js +0 -22
  413. package/src/misc/createElementNS.js.map +0 -1
  414. package/src/misc/data.js +0 -36
  415. package/src/misc/data.js.map +0 -1
  416. package/src/misc/dispatchEvent.js +0 -3
  417. package/src/misc/dispatchEvent.js.map +0 -1
  418. package/src/misc/distinct.js +0 -3
  419. package/src/misc/distinct.js.map +0 -1
  420. package/src/misc/emulateAnimationEnd.js +0 -29
  421. package/src/misc/emulateAnimationEnd.js.map +0 -1
  422. package/src/misc/emulateTransitionEnd.js +0 -29
  423. package/src/misc/emulateTransitionEnd.js.map +0 -1
  424. package/src/misc/focus.js +0 -3
  425. package/src/misc/focus.js.map +0 -1
  426. package/src/misc/noop.js +0 -3
  427. package/src/misc/noop.js.map +0 -1
  428. package/src/misc/normalizeOptions.js +0 -31
  429. package/src/misc/normalizeOptions.js.map +0 -1
  430. package/src/misc/normalizeValue.js +0 -17
  431. package/src/misc/normalizeValue.js.map +0 -1
  432. package/src/misc/passiveHandler.js +0 -3
  433. package/src/misc/passiveHandler.js.map +0 -1
  434. package/src/misc/reflow.js +0 -3
  435. package/src/misc/reflow.js.map +0 -1
  436. package/src/misc/setElementStyle.js +0 -16
  437. package/src/misc/setElementStyle.js.map +0 -1
  438. package/src/misc/timer.js +0 -47
  439. package/src/misc/timer.js.map +0 -1
  440. package/src/misc/toLowerCase.js +0 -3
  441. package/src/misc/toLowerCase.js.map +0 -1
  442. package/src/misc/toUpperCase.js +0 -3
  443. package/src/misc/toUpperCase.js.map +0 -1
  444. package/src/selectors/closest.js +0 -8
  445. package/src/selectors/closest.js.map +0 -1
  446. package/src/selectors/getCustomElements.js +0 -8
  447. package/src/selectors/getCustomElements.js.map +0 -1
  448. package/src/selectors/getElementById.js +0 -6
  449. package/src/selectors/getElementById.js.map +0 -1
  450. package/src/selectors/getElementsByClassName.js +0 -8
  451. package/src/selectors/getElementsByClassName.js.map +0 -1
  452. package/src/selectors/getElementsByTagName.js +0 -8
  453. package/src/selectors/getElementsByTagName.js.map +0 -1
  454. package/src/selectors/matches.js +0 -3
  455. package/src/selectors/matches.js.map +0 -1
  456. package/src/selectors/querySelector.js +0 -11
  457. package/src/selectors/querySelector.js.map +0 -1
  458. package/src/selectors/querySelectorAll.js +0 -8
  459. package/src/selectors/querySelectorAll.js.map +0 -1
  460. package/src/strings/DOMContentLoadedEvent.js +0 -3
  461. package/src/strings/DOMContentLoadedEvent.js.map +0 -1
  462. package/src/strings/DOMMouseScrollEvent.js +0 -3
  463. package/src/strings/DOMMouseScrollEvent.js.map +0 -1
  464. package/src/strings/abortEvent.js +0 -3
  465. package/src/strings/abortEvent.js.map +0 -1
  466. package/src/strings/addEventListener.js +0 -3
  467. package/src/strings/addEventListener.js.map +0 -1
  468. package/src/strings/animationDelay.js +0 -3
  469. package/src/strings/animationDelay.js.map +0 -1
  470. package/src/strings/animationDuration.js +0 -3
  471. package/src/strings/animationDuration.js.map +0 -1
  472. package/src/strings/animationEndEvent.js +0 -3
  473. package/src/strings/animationEndEvent.js.map +0 -1
  474. package/src/strings/animationName.js +0 -3
  475. package/src/strings/animationName.js.map +0 -1
  476. package/src/strings/ariaChecked.js +0 -3
  477. package/src/strings/ariaChecked.js.map +0 -1
  478. package/src/strings/ariaDescribedBy.js +0 -3
  479. package/src/strings/ariaDescribedBy.js.map +0 -1
  480. package/src/strings/ariaDescription.js +0 -3
  481. package/src/strings/ariaDescription.js.map +0 -1
  482. package/src/strings/ariaExpanded.js +0 -3
  483. package/src/strings/ariaExpanded.js.map +0 -1
  484. package/src/strings/ariaHasPopup.js +0 -3
  485. package/src/strings/ariaHasPopup.js.map +0 -1
  486. package/src/strings/ariaHidden.js +0 -3
  487. package/src/strings/ariaHidden.js.map +0 -1
  488. package/src/strings/ariaLabel.js +0 -3
  489. package/src/strings/ariaLabel.js.map +0 -1
  490. package/src/strings/ariaLabelledBy.js +0 -3
  491. package/src/strings/ariaLabelledBy.js.map +0 -1
  492. package/src/strings/ariaModal.js +0 -3
  493. package/src/strings/ariaModal.js.map +0 -1
  494. package/src/strings/ariaPressed.js +0 -3
  495. package/src/strings/ariaPressed.js.map +0 -1
  496. package/src/strings/ariaSelected.js +0 -3
  497. package/src/strings/ariaSelected.js.map +0 -1
  498. package/src/strings/ariaValueMax.js +0 -3
  499. package/src/strings/ariaValueMax.js.map +0 -1
  500. package/src/strings/ariaValueMin.js +0 -3
  501. package/src/strings/ariaValueMin.js.map +0 -1
  502. package/src/strings/ariaValueNow.js +0 -3
  503. package/src/strings/ariaValueNow.js.map +0 -1
  504. package/src/strings/ariaValueText.js +0 -3
  505. package/src/strings/ariaValueText.js.map +0 -1
  506. package/src/strings/beforeunloadEvent.js +0 -3
  507. package/src/strings/beforeunloadEvent.js.map +0 -1
  508. package/src/strings/bezierEasings.js +0 -29
  509. package/src/strings/bezierEasings.js.map +0 -1
  510. package/src/strings/blurEvent.js +0 -3
  511. package/src/strings/blurEvent.js.map +0 -1
  512. package/src/strings/changeEvent.js +0 -3
  513. package/src/strings/changeEvent.js.map +0 -1
  514. package/src/strings/contextmenuEvent.js +0 -3
  515. package/src/strings/contextmenuEvent.js.map +0 -1
  516. package/src/strings/errorEvent.js +0 -3
  517. package/src/strings/errorEvent.js.map +0 -1
  518. package/src/strings/focusEvent.js +0 -3
  519. package/src/strings/focusEvent.js.map +0 -1
  520. package/src/strings/focusEvents.js +0 -3
  521. package/src/strings/focusEvents.js.map +0 -1
  522. package/src/strings/focusinEvent.js +0 -3
  523. package/src/strings/focusinEvent.js.map +0 -1
  524. package/src/strings/focusoutEvent.js +0 -3
  525. package/src/strings/focusoutEvent.js.map +0 -1
  526. package/src/strings/gesturechangeEvent.js +0 -3
  527. package/src/strings/gesturechangeEvent.js.map +0 -1
  528. package/src/strings/gestureendEvent.js +0 -3
  529. package/src/strings/gestureendEvent.js.map +0 -1
  530. package/src/strings/gesturestartEvent.js +0 -3
  531. package/src/strings/gesturestartEvent.js.map +0 -1
  532. package/src/strings/keyAlt.js +0 -3
  533. package/src/strings/keyAlt.js.map +0 -1
  534. package/src/strings/keyArrowDown.js +0 -3
  535. package/src/strings/keyArrowDown.js.map +0 -1
  536. package/src/strings/keyArrowLeft.js +0 -3
  537. package/src/strings/keyArrowLeft.js.map +0 -1
  538. package/src/strings/keyArrowRight.js +0 -3
  539. package/src/strings/keyArrowRight.js.map +0 -1
  540. package/src/strings/keyArrowUp.js +0 -3
  541. package/src/strings/keyArrowUp.js.map +0 -1
  542. package/src/strings/keyBackspace.js +0 -3
  543. package/src/strings/keyBackspace.js.map +0 -1
  544. package/src/strings/keyCapsLock.js +0 -3
  545. package/src/strings/keyCapsLock.js.map +0 -1
  546. package/src/strings/keyControl.js +0 -3
  547. package/src/strings/keyControl.js.map +0 -1
  548. package/src/strings/keyDelete.js +0 -3
  549. package/src/strings/keyDelete.js.map +0 -1
  550. package/src/strings/keyEnter.js +0 -3
  551. package/src/strings/keyEnter.js.map +0 -1
  552. package/src/strings/keyEscape.js +0 -3
  553. package/src/strings/keyEscape.js.map +0 -1
  554. package/src/strings/keyInsert.js +0 -3
  555. package/src/strings/keyInsert.js.map +0 -1
  556. package/src/strings/keyMeta.js +0 -3
  557. package/src/strings/keyMeta.js.map +0 -1
  558. package/src/strings/keyPause.js +0 -3
  559. package/src/strings/keyPause.js.map +0 -1
  560. package/src/strings/keyScrollLock.js +0 -3
  561. package/src/strings/keyScrollLock.js.map +0 -1
  562. package/src/strings/keyShift.js +0 -3
  563. package/src/strings/keyShift.js.map +0 -1
  564. package/src/strings/keySpace.js +0 -3
  565. package/src/strings/keySpace.js.map +0 -1
  566. package/src/strings/keyTab.js +0 -3
  567. package/src/strings/keyTab.js.map +0 -1
  568. package/src/strings/keyboardEventKeys.js +0 -23
  569. package/src/strings/keyboardEventKeys.js.map +0 -1
  570. package/src/strings/keydownEvent.js +0 -3
  571. package/src/strings/keydownEvent.js.map +0 -1
  572. package/src/strings/keypressEvent.js +0 -3
  573. package/src/strings/keypressEvent.js.map +0 -1
  574. package/src/strings/keyupEvent.js +0 -3
  575. package/src/strings/keyupEvent.js.map +0 -1
  576. package/src/strings/loadEvent.js +0 -3
  577. package/src/strings/loadEvent.js.map +0 -1
  578. package/src/strings/loadstartEvent.js +0 -3
  579. package/src/strings/loadstartEvent.js.map +0 -1
  580. package/src/strings/mouseClickEvents.js +0 -3
  581. package/src/strings/mouseClickEvents.js.map +0 -1
  582. package/src/strings/mouseHoverEvents.js +0 -5
  583. package/src/strings/mouseHoverEvents.js.map +0 -1
  584. package/src/strings/mouseSwipeEvents.js +0 -8
  585. package/src/strings/mouseSwipeEvents.js.map +0 -1
  586. package/src/strings/mouseclickEvent.js +0 -3
  587. package/src/strings/mouseclickEvent.js.map +0 -1
  588. package/src/strings/mousedblclickEvent.js +0 -3
  589. package/src/strings/mousedblclickEvent.js.map +0 -1
  590. package/src/strings/mousedownEvent.js +0 -3
  591. package/src/strings/mousedownEvent.js.map +0 -1
  592. package/src/strings/mouseenterEvent.js +0 -3
  593. package/src/strings/mouseenterEvent.js.map +0 -1
  594. package/src/strings/mousehoverEvent.js +0 -3
  595. package/src/strings/mousehoverEvent.js.map +0 -1
  596. package/src/strings/mouseinEvent.js +0 -3
  597. package/src/strings/mouseinEvent.js.map +0 -1
  598. package/src/strings/mouseleaveEvent.js +0 -3
  599. package/src/strings/mouseleaveEvent.js.map +0 -1
  600. package/src/strings/mousemoveEvent.js +0 -3
  601. package/src/strings/mousemoveEvent.js.map +0 -1
  602. package/src/strings/mouseoutEvent.js +0 -3
  603. package/src/strings/mouseoutEvent.js.map +0 -1
  604. package/src/strings/mouseoverEvent.js +0 -3
  605. package/src/strings/mouseoverEvent.js.map +0 -1
  606. package/src/strings/mouseupEvent.js +0 -3
  607. package/src/strings/mouseupEvent.js.map +0 -1
  608. package/src/strings/mousewheelEvent.js +0 -3
  609. package/src/strings/mousewheelEvent.js.map +0 -1
  610. package/src/strings/moveEvent.js +0 -3
  611. package/src/strings/moveEvent.js.map +0 -1
  612. package/src/strings/nativeEvents.js +0 -104
  613. package/src/strings/nativeEvents.js.map +0 -1
  614. package/src/strings/offsetHeight.js +0 -3
  615. package/src/strings/offsetHeight.js.map +0 -1
  616. package/src/strings/offsetWidth.js +0 -3
  617. package/src/strings/offsetWidth.js.map +0 -1
  618. package/src/strings/orientationchangeEvent.js +0 -3
  619. package/src/strings/orientationchangeEvent.js.map +0 -1
  620. package/src/strings/pointercancelEvent.js +0 -3
  621. package/src/strings/pointercancelEvent.js.map +0 -1
  622. package/src/strings/pointerdownEvent.js +0 -3
  623. package/src/strings/pointerdownEvent.js.map +0 -1
  624. package/src/strings/pointerleaveEvent.js +0 -3
  625. package/src/strings/pointerleaveEvent.js.map +0 -1
  626. package/src/strings/pointermoveEvent.js +0 -3
  627. package/src/strings/pointermoveEvent.js.map +0 -1
  628. package/src/strings/pointerupEvent.js +0 -3
  629. package/src/strings/pointerupEvent.js.map +0 -1
  630. package/src/strings/readystatechangeEvent.js +0 -3
  631. package/src/strings/readystatechangeEvent.js.map +0 -1
  632. package/src/strings/removeEventListener.js +0 -3
  633. package/src/strings/removeEventListener.js.map +0 -1
  634. package/src/strings/resetEvent.js +0 -3
  635. package/src/strings/resetEvent.js.map +0 -1
  636. package/src/strings/resizeEvent.js +0 -3
  637. package/src/strings/resizeEvent.js.map +0 -1
  638. package/src/strings/scrollEvent.js +0 -3
  639. package/src/strings/scrollEvent.js.map +0 -1
  640. package/src/strings/scrollHeight.js +0 -3
  641. package/src/strings/scrollHeight.js.map +0 -1
  642. package/src/strings/scrollWidth.js +0 -3
  643. package/src/strings/scrollWidth.js.map +0 -1
  644. package/src/strings/selectEvent.js +0 -3
  645. package/src/strings/selectEvent.js.map +0 -1
  646. package/src/strings/selectendEvent.js +0 -3
  647. package/src/strings/selectendEvent.js.map +0 -1
  648. package/src/strings/selectstartEvent.js +0 -3
  649. package/src/strings/selectstartEvent.js.map +0 -1
  650. package/src/strings/submitEvent.js +0 -3
  651. package/src/strings/submitEvent.js.map +0 -1
  652. package/src/strings/tabindex.js +0 -3
  653. package/src/strings/tabindex.js.map +0 -1
  654. package/src/strings/touchEvents.js +0 -8
  655. package/src/strings/touchEvents.js.map +0 -1
  656. package/src/strings/touchcancelEvent.js +0 -3
  657. package/src/strings/touchcancelEvent.js.map +0 -1
  658. package/src/strings/touchendEvent.js +0 -3
  659. package/src/strings/touchendEvent.js.map +0 -1
  660. package/src/strings/touchmoveEvent.js +0 -3
  661. package/src/strings/touchmoveEvent.js.map +0 -1
  662. package/src/strings/touchstartEvent.js +0 -3
  663. package/src/strings/touchstartEvent.js.map +0 -1
  664. package/src/strings/transitionDelay.js +0 -3
  665. package/src/strings/transitionDelay.js.map +0 -1
  666. package/src/strings/transitionDuration.js +0 -3
  667. package/src/strings/transitionDuration.js.map +0 -1
  668. package/src/strings/transitionEndEvent.js +0 -3
  669. package/src/strings/transitionEndEvent.js.map +0 -1
  670. package/src/strings/transitionProperty.js +0 -3
  671. package/src/strings/transitionProperty.js.map +0 -1
  672. package/src/strings/unloadEvent.js +0 -3
  673. package/src/strings/unloadEvent.js.map +0 -1
  674. package/src/strings/userAgent.js +0 -4
  675. package/src/strings/userAgent.js.map +0 -1
  676. package/src/strings/userAgentData.js +0 -4
  677. package/src/strings/userAgentData.js.map +0 -1
  678. package/types/attr/getAttribute.d.ts +0 -3
  679. package/types/attr/getAttribute.d.ts.map +0 -1
  680. package/types/attr/getAttributeNS.d.ts +0 -3
  681. package/types/attr/getAttributeNS.d.ts.map +0 -1
  682. package/types/attr/hasAttribute.d.ts +0 -3
  683. package/types/attr/hasAttribute.d.ts.map +0 -1
  684. package/types/attr/hasAttributeNS.d.ts +0 -3
  685. package/types/attr/hasAttributeNS.d.ts.map +0 -1
  686. package/types/attr/removeAttribute.d.ts +0 -3
  687. package/types/attr/removeAttribute.d.ts.map +0 -1
  688. package/types/attr/removeAttributeNS.d.ts +0 -3
  689. package/types/attr/removeAttributeNS.d.ts.map +0 -1
  690. package/types/attr/setAttribute.d.ts +0 -3
  691. package/types/attr/setAttribute.d.ts.map +0 -1
  692. package/types/attr/setAttributeNS.d.ts +0 -3
  693. package/types/attr/setAttributeNS.d.ts.map +0 -1
  694. package/types/blocks/documentBody.d.ts +0 -3
  695. package/types/blocks/documentBody.d.ts.map +0 -1
  696. package/types/blocks/documentElement.d.ts +0 -3
  697. package/types/blocks/documentElement.d.ts.map +0 -1
  698. package/types/blocks/documentHead.d.ts +0 -3
  699. package/types/blocks/documentHead.d.ts.map +0 -1
  700. package/types/boolean/isApple.d.ts +0 -3
  701. package/types/boolean/isApple.d.ts.map +0 -1
  702. package/types/boolean/isFirefox.d.ts +0 -3
  703. package/types/boolean/isFirefox.d.ts.map +0 -1
  704. package/types/boolean/isMobile.d.ts +0 -3
  705. package/types/boolean/isMobile.d.ts.map +0 -1
  706. package/types/boolean/support3DTransform.d.ts +0 -3
  707. package/types/boolean/support3DTransform.d.ts.map +0 -1
  708. package/types/boolean/supportAnimation.d.ts +0 -3
  709. package/types/boolean/supportAnimation.d.ts.map +0 -1
  710. package/types/boolean/supportPassive.d.ts +0 -3
  711. package/types/boolean/supportPassive.d.ts.map +0 -1
  712. package/types/boolean/supportTouch.d.ts +0 -3
  713. package/types/boolean/supportTouch.d.ts.map +0 -1
  714. package/types/boolean/supportTransform.d.ts +0 -3
  715. package/types/boolean/supportTransform.d.ts.map +0 -1
  716. package/types/boolean/supportTransition.d.ts +0 -3
  717. package/types/boolean/supportTransition.d.ts.map +0 -1
  718. package/types/class/addClass.d.ts +0 -3
  719. package/types/class/addClass.d.ts.map +0 -1
  720. package/types/class/hasClass.d.ts +0 -3
  721. package/types/class/hasClass.d.ts.map +0 -1
  722. package/types/class/removeClass.d.ts +0 -3
  723. package/types/class/removeClass.d.ts.map +0 -1
  724. package/types/event/off.d.ts +0 -2
  725. package/types/event/off.d.ts.map +0 -1
  726. package/types/event/on.d.ts +0 -2
  727. package/types/event/on.d.ts.map +0 -1
  728. package/types/event/one.d.ts +0 -3
  729. package/types/event/one.d.ts.map +0 -1
  730. package/types/get/getBoundingClientRect.d.ts +0 -4
  731. package/types/get/getBoundingClientRect.d.ts.map +0 -1
  732. package/types/get/getDocument.d.ts +0 -3
  733. package/types/get/getDocument.d.ts.map +0 -1
  734. package/types/get/getDocumentBody.d.ts +0 -3
  735. package/types/get/getDocumentBody.d.ts.map +0 -1
  736. package/types/get/getDocumentElement.d.ts +0 -3
  737. package/types/get/getDocumentElement.d.ts.map +0 -1
  738. package/types/get/getDocumentHead.d.ts +0 -3
  739. package/types/get/getDocumentHead.d.ts.map +0 -1
  740. package/types/get/getElementAnimationDelay.d.ts +0 -3
  741. package/types/get/getElementAnimationDelay.d.ts.map +0 -1
  742. package/types/get/getElementAnimationDuration.d.ts +0 -3
  743. package/types/get/getElementAnimationDuration.d.ts.map +0 -1
  744. package/types/get/getElementStyle.d.ts +0 -3
  745. package/types/get/getElementStyle.d.ts.map +0 -1
  746. package/types/get/getElementTransitionDelay.d.ts +0 -3
  747. package/types/get/getElementTransitionDelay.d.ts.map +0 -1
  748. package/types/get/getElementTransitionDuration.d.ts +0 -3
  749. package/types/get/getElementTransitionDuration.d.ts.map +0 -1
  750. package/types/get/getNodeScroll.d.ts +0 -6
  751. package/types/get/getNodeScroll.d.ts.map +0 -1
  752. package/types/get/getParentNode.d.ts +0 -3
  753. package/types/get/getParentNode.d.ts.map +0 -1
  754. package/types/get/getRectRelativeToOffsetParent.d.ts +0 -7
  755. package/types/get/getRectRelativeToOffsetParent.d.ts.map +0 -1
  756. package/types/get/getUID.d.ts +0 -3
  757. package/types/get/getUID.d.ts.map +0 -1
  758. package/types/get/getWindow.d.ts +0 -3
  759. package/types/get/getWindow.d.ts.map +0 -1
  760. package/types/index.d.ts +0 -341
  761. package/types/index.d.ts.map +0 -1
  762. package/types/interface/boundingClientRect.d.ts +0 -11
  763. package/types/interface/boundingClientRect.d.ts.map +0 -1
  764. package/types/interface/navigatorUA.d.ts +0 -13
  765. package/types/interface/navigatorUA.d.ts.map +0 -1
  766. package/types/interface/offsetRect.d.ts +0 -7
  767. package/types/interface/offsetRect.d.ts.map +0 -1
  768. package/types/interface/originalEvent.d.ts +0 -4
  769. package/types/interface/originalEvent.d.ts.map +0 -1
  770. package/types/is/isArray.d.ts +0 -3
  771. package/types/is/isArray.d.ts.map +0 -1
  772. package/types/is/isCustomElement.d.ts +0 -5
  773. package/types/is/isCustomElement.d.ts.map +0 -1
  774. package/types/is/isDocument.d.ts +0 -3
  775. package/types/is/isDocument.d.ts.map +0 -1
  776. package/types/is/isElement.d.ts +0 -3
  777. package/types/is/isElement.d.ts.map +0 -1
  778. package/types/is/isElementInScrollRange.d.ts +0 -3
  779. package/types/is/isElementInScrollRange.d.ts.map +0 -1
  780. package/types/is/isElementInViewport.d.ts +0 -3
  781. package/types/is/isElementInViewport.d.ts.map +0 -1
  782. package/types/is/isElementsArray.d.ts +0 -3
  783. package/types/is/isElementsArray.d.ts.map +0 -1
  784. package/types/is/isFunction.d.ts +0 -3
  785. package/types/is/isFunction.d.ts.map +0 -1
  786. package/types/is/isHTMLCollection.d.ts +0 -3
  787. package/types/is/isHTMLCollection.d.ts.map +0 -1
  788. package/types/is/isHTMLElement.d.ts +0 -3
  789. package/types/is/isHTMLElement.d.ts.map +0 -1
  790. package/types/is/isHTMLImageElement.d.ts +0 -3
  791. package/types/is/isHTMLImageElement.d.ts.map +0 -1
  792. package/types/is/isMedia.d.ts +0 -3
  793. package/types/is/isMedia.d.ts.map +0 -1
  794. package/types/is/isNode.d.ts +0 -3
  795. package/types/is/isNode.d.ts.map +0 -1
  796. package/types/is/isNodeList.d.ts +0 -3
  797. package/types/is/isNodeList.d.ts.map +0 -1
  798. package/types/is/isNumber.d.ts +0 -3
  799. package/types/is/isNumber.d.ts.map +0 -1
  800. package/types/is/isObject.d.ts +0 -3
  801. package/types/is/isObject.d.ts.map +0 -1
  802. package/types/is/isRTL.d.ts +0 -3
  803. package/types/is/isRTL.d.ts.map +0 -1
  804. package/types/is/isSVGElement.d.ts +0 -3
  805. package/types/is/isSVGElement.d.ts.map +0 -1
  806. package/types/is/isScaledElement.d.ts +0 -2
  807. package/types/is/isScaledElement.d.ts.map +0 -1
  808. package/types/is/isShadowRoot.d.ts +0 -3
  809. package/types/is/isShadowRoot.d.ts.map +0 -1
  810. package/types/is/isString.d.ts +0 -3
  811. package/types/is/isString.d.ts.map +0 -1
  812. package/types/is/isTableElement.d.ts +0 -3
  813. package/types/is/isTableElement.d.ts.map +0 -1
  814. package/types/is/isWindow.d.ts +0 -3
  815. package/types/is/isWindow.d.ts.map +0 -1
  816. package/types/misc/ArrayFrom.d.ts +0 -3
  817. package/types/misc/ArrayFrom.d.ts.map +0 -1
  818. package/types/misc/Float32ArrayFrom.d.ts +0 -3
  819. package/types/misc/Float32ArrayFrom.d.ts.map +0 -1
  820. package/types/misc/Float64ArrayFrom.d.ts +0 -3
  821. package/types/misc/Float64ArrayFrom.d.ts.map +0 -1
  822. package/types/misc/ObjectAssign.d.ts +0 -3
  823. package/types/misc/ObjectAssign.d.ts.map +0 -1
  824. package/types/misc/ObjectEntries.d.ts +0 -3
  825. package/types/misc/ObjectEntries.d.ts.map +0 -1
  826. package/types/misc/ObjectKeys.d.ts +0 -3
  827. package/types/misc/ObjectKeys.d.ts.map +0 -1
  828. package/types/misc/ObjectValues.d.ts +0 -3
  829. package/types/misc/ObjectValues.d.ts.map +0 -1
  830. package/types/misc/OriginalEvent.d.ts +0 -4
  831. package/types/misc/OriginalEvent.d.ts.map +0 -1
  832. package/types/misc/createElement.d.ts +0 -3
  833. package/types/misc/createElement.d.ts.map +0 -1
  834. package/types/misc/createElementNS.d.ts +0 -3
  835. package/types/misc/createElementNS.d.ts.map +0 -1
  836. package/types/misc/data.d.ts +0 -9
  837. package/types/misc/data.d.ts.map +0 -1
  838. package/types/misc/dispatchEvent.d.ts +0 -3
  839. package/types/misc/dispatchEvent.d.ts.map +0 -1
  840. package/types/misc/distinct.d.ts +0 -3
  841. package/types/misc/distinct.d.ts.map +0 -1
  842. package/types/misc/emulateAnimationEnd.d.ts +0 -3
  843. package/types/misc/emulateAnimationEnd.d.ts.map +0 -1
  844. package/types/misc/emulateTransitionEnd.d.ts +0 -3
  845. package/types/misc/emulateTransitionEnd.d.ts.map +0 -1
  846. package/types/misc/focus.d.ts +0 -3
  847. package/types/misc/focus.d.ts.map +0 -1
  848. package/types/misc/noop.d.ts +0 -3
  849. package/types/misc/noop.d.ts.map +0 -1
  850. package/types/misc/normalizeOptions.d.ts +0 -3
  851. package/types/misc/normalizeOptions.d.ts.map +0 -1
  852. package/types/misc/normalizeValue.d.ts +0 -3
  853. package/types/misc/normalizeValue.d.ts.map +0 -1
  854. package/types/misc/passiveHandler.d.ts +0 -3
  855. package/types/misc/passiveHandler.d.ts.map +0 -1
  856. package/types/misc/reflow.d.ts +0 -3
  857. package/types/misc/reflow.d.ts.map +0 -1
  858. package/types/misc/setElementStyle.d.ts +0 -3
  859. package/types/misc/setElementStyle.d.ts.map +0 -1
  860. package/types/misc/timer.d.ts +0 -7
  861. package/types/misc/timer.d.ts.map +0 -1
  862. package/types/misc/toLowerCase.d.ts +0 -3
  863. package/types/misc/toLowerCase.d.ts.map +0 -1
  864. package/types/misc/toUpperCase.d.ts +0 -3
  865. package/types/misc/toUpperCase.d.ts.map +0 -1
  866. package/types/selectors/closest.d.ts +0 -3
  867. package/types/selectors/closest.d.ts.map +0 -1
  868. package/types/selectors/getCustomElements.d.ts +0 -3
  869. package/types/selectors/getCustomElements.d.ts.map +0 -1
  870. package/types/selectors/getElementById.d.ts +0 -3
  871. package/types/selectors/getElementById.d.ts.map +0 -1
  872. package/types/selectors/getElementsByClassName.d.ts +0 -3
  873. package/types/selectors/getElementsByClassName.d.ts.map +0 -1
  874. package/types/selectors/getElementsByTagName.d.ts +0 -3
  875. package/types/selectors/getElementsByTagName.d.ts.map +0 -1
  876. package/types/selectors/matches.d.ts +0 -3
  877. package/types/selectors/matches.d.ts.map +0 -1
  878. package/types/selectors/querySelector.d.ts +0 -3
  879. package/types/selectors/querySelector.d.ts.map +0 -1
  880. package/types/selectors/querySelectorAll.d.ts +0 -3
  881. package/types/selectors/querySelectorAll.d.ts.map +0 -1
  882. package/types/strings/DOMContentLoadedEvent.d.ts +0 -3
  883. package/types/strings/DOMContentLoadedEvent.d.ts.map +0 -1
  884. package/types/strings/DOMMouseScrollEvent.d.ts +0 -3
  885. package/types/strings/DOMMouseScrollEvent.d.ts.map +0 -1
  886. package/types/strings/abortEvent.d.ts +0 -3
  887. package/types/strings/abortEvent.d.ts.map +0 -1
  888. package/types/strings/addEventListener.d.ts +0 -3
  889. package/types/strings/addEventListener.d.ts.map +0 -1
  890. package/types/strings/animationDelay.d.ts +0 -3
  891. package/types/strings/animationDelay.d.ts.map +0 -1
  892. package/types/strings/animationDuration.d.ts +0 -3
  893. package/types/strings/animationDuration.d.ts.map +0 -1
  894. package/types/strings/animationEndEvent.d.ts +0 -3
  895. package/types/strings/animationEndEvent.d.ts.map +0 -1
  896. package/types/strings/animationName.d.ts +0 -3
  897. package/types/strings/animationName.d.ts.map +0 -1
  898. package/types/strings/ariaChecked.d.ts +0 -3
  899. package/types/strings/ariaChecked.d.ts.map +0 -1
  900. package/types/strings/ariaDescribedBy.d.ts +0 -3
  901. package/types/strings/ariaDescribedBy.d.ts.map +0 -1
  902. package/types/strings/ariaDescription.d.ts +0 -3
  903. package/types/strings/ariaDescription.d.ts.map +0 -1
  904. package/types/strings/ariaExpanded.d.ts +0 -3
  905. package/types/strings/ariaExpanded.d.ts.map +0 -1
  906. package/types/strings/ariaHasPopup.d.ts +0 -3
  907. package/types/strings/ariaHasPopup.d.ts.map +0 -1
  908. package/types/strings/ariaHidden.d.ts +0 -3
  909. package/types/strings/ariaHidden.d.ts.map +0 -1
  910. package/types/strings/ariaLabel.d.ts +0 -3
  911. package/types/strings/ariaLabel.d.ts.map +0 -1
  912. package/types/strings/ariaLabelledBy.d.ts +0 -3
  913. package/types/strings/ariaLabelledBy.d.ts.map +0 -1
  914. package/types/strings/ariaModal.d.ts +0 -3
  915. package/types/strings/ariaModal.d.ts.map +0 -1
  916. package/types/strings/ariaPressed.d.ts +0 -3
  917. package/types/strings/ariaPressed.d.ts.map +0 -1
  918. package/types/strings/ariaSelected.d.ts +0 -3
  919. package/types/strings/ariaSelected.d.ts.map +0 -1
  920. package/types/strings/ariaValueMax.d.ts +0 -3
  921. package/types/strings/ariaValueMax.d.ts.map +0 -1
  922. package/types/strings/ariaValueMin.d.ts +0 -3
  923. package/types/strings/ariaValueMin.d.ts.map +0 -1
  924. package/types/strings/ariaValueNow.d.ts +0 -3
  925. package/types/strings/ariaValueNow.d.ts.map +0 -1
  926. package/types/strings/ariaValueText.d.ts +0 -3
  927. package/types/strings/ariaValueText.d.ts.map +0 -1
  928. package/types/strings/beforeunloadEvent.d.ts +0 -3
  929. package/types/strings/beforeunloadEvent.d.ts.map +0 -1
  930. package/types/strings/bezierEasings.d.ts +0 -29
  931. package/types/strings/bezierEasings.d.ts.map +0 -1
  932. package/types/strings/blurEvent.d.ts +0 -3
  933. package/types/strings/blurEvent.d.ts.map +0 -1
  934. package/types/strings/changeEvent.d.ts +0 -3
  935. package/types/strings/changeEvent.d.ts.map +0 -1
  936. package/types/strings/contextmenuEvent.d.ts +0 -3
  937. package/types/strings/contextmenuEvent.d.ts.map +0 -1
  938. package/types/strings/errorEvent.d.ts +0 -3
  939. package/types/strings/errorEvent.d.ts.map +0 -1
  940. package/types/strings/focusEvent.d.ts +0 -3
  941. package/types/strings/focusEvent.d.ts.map +0 -1
  942. package/types/strings/focusEvents.d.ts +0 -6
  943. package/types/strings/focusEvents.d.ts.map +0 -1
  944. package/types/strings/focusinEvent.d.ts +0 -3
  945. package/types/strings/focusinEvent.d.ts.map +0 -1
  946. package/types/strings/focusoutEvent.d.ts +0 -3
  947. package/types/strings/focusoutEvent.d.ts.map +0 -1
  948. package/types/strings/gesturechangeEvent.d.ts +0 -3
  949. package/types/strings/gesturechangeEvent.d.ts.map +0 -1
  950. package/types/strings/gestureendEvent.d.ts +0 -3
  951. package/types/strings/gestureendEvent.d.ts.map +0 -1
  952. package/types/strings/gesturestartEvent.d.ts +0 -3
  953. package/types/strings/gesturestartEvent.d.ts.map +0 -1
  954. package/types/strings/keyAlt.d.ts +0 -3
  955. package/types/strings/keyAlt.d.ts.map +0 -1
  956. package/types/strings/keyArrowDown.d.ts +0 -3
  957. package/types/strings/keyArrowDown.d.ts.map +0 -1
  958. package/types/strings/keyArrowLeft.d.ts +0 -3
  959. package/types/strings/keyArrowLeft.d.ts.map +0 -1
  960. package/types/strings/keyArrowRight.d.ts +0 -3
  961. package/types/strings/keyArrowRight.d.ts.map +0 -1
  962. package/types/strings/keyArrowUp.d.ts +0 -3
  963. package/types/strings/keyArrowUp.d.ts.map +0 -1
  964. package/types/strings/keyBackspace.d.ts +0 -3
  965. package/types/strings/keyBackspace.d.ts.map +0 -1
  966. package/types/strings/keyCapsLock.d.ts +0 -3
  967. package/types/strings/keyCapsLock.d.ts.map +0 -1
  968. package/types/strings/keyControl.d.ts +0 -3
  969. package/types/strings/keyControl.d.ts.map +0 -1
  970. package/types/strings/keyDelete.d.ts +0 -3
  971. package/types/strings/keyDelete.d.ts.map +0 -1
  972. package/types/strings/keyEnter.d.ts +0 -3
  973. package/types/strings/keyEnter.d.ts.map +0 -1
  974. package/types/strings/keyEscape.d.ts +0 -3
  975. package/types/strings/keyEscape.d.ts.map +0 -1
  976. package/types/strings/keyInsert.d.ts +0 -3
  977. package/types/strings/keyInsert.d.ts.map +0 -1
  978. package/types/strings/keyMeta.d.ts +0 -3
  979. package/types/strings/keyMeta.d.ts.map +0 -1
  980. package/types/strings/keyPause.d.ts +0 -3
  981. package/types/strings/keyPause.d.ts.map +0 -1
  982. package/types/strings/keyScrollLock.d.ts +0 -3
  983. package/types/strings/keyScrollLock.d.ts.map +0 -1
  984. package/types/strings/keyShift.d.ts +0 -3
  985. package/types/strings/keyShift.d.ts.map +0 -1
  986. package/types/strings/keySpace.d.ts +0 -3
  987. package/types/strings/keySpace.d.ts.map +0 -1
  988. package/types/strings/keyTab.d.ts +0 -3
  989. package/types/strings/keyTab.d.ts.map +0 -1
  990. package/types/strings/keyboardEventKeys.d.ts +0 -23
  991. package/types/strings/keyboardEventKeys.d.ts.map +0 -1
  992. package/types/strings/keydownEvent.d.ts +0 -3
  993. package/types/strings/keydownEvent.d.ts.map +0 -1
  994. package/types/strings/keypressEvent.d.ts +0 -3
  995. package/types/strings/keypressEvent.d.ts.map +0 -1
  996. package/types/strings/keyupEvent.d.ts +0 -3
  997. package/types/strings/keyupEvent.d.ts.map +0 -1
  998. package/types/strings/loadEvent.d.ts +0 -3
  999. package/types/strings/loadEvent.d.ts.map +0 -1
  1000. package/types/strings/loadstartEvent.d.ts +0 -3
  1001. package/types/strings/loadstartEvent.d.ts.map +0 -1
  1002. package/types/strings/mouseClickEvents.d.ts +0 -6
  1003. package/types/strings/mouseClickEvents.d.ts.map +0 -1
  1004. package/types/strings/mouseHoverEvents.d.ts +0 -3
  1005. package/types/strings/mouseHoverEvents.d.ts.map +0 -1
  1006. package/types/strings/mouseSwipeEvents.d.ts +0 -8
  1007. package/types/strings/mouseSwipeEvents.d.ts.map +0 -1
  1008. package/types/strings/mouseclickEvent.d.ts +0 -3
  1009. package/types/strings/mouseclickEvent.d.ts.map +0 -1
  1010. package/types/strings/mousedblclickEvent.d.ts +0 -3
  1011. package/types/strings/mousedblclickEvent.d.ts.map +0 -1
  1012. package/types/strings/mousedownEvent.d.ts +0 -3
  1013. package/types/strings/mousedownEvent.d.ts.map +0 -1
  1014. package/types/strings/mouseenterEvent.d.ts +0 -3
  1015. package/types/strings/mouseenterEvent.d.ts.map +0 -1
  1016. package/types/strings/mousehoverEvent.d.ts +0 -3
  1017. package/types/strings/mousehoverEvent.d.ts.map +0 -1
  1018. package/types/strings/mouseinEvent.d.ts +0 -3
  1019. package/types/strings/mouseinEvent.d.ts.map +0 -1
  1020. package/types/strings/mouseleaveEvent.d.ts +0 -3
  1021. package/types/strings/mouseleaveEvent.d.ts.map +0 -1
  1022. package/types/strings/mousemoveEvent.d.ts +0 -3
  1023. package/types/strings/mousemoveEvent.d.ts.map +0 -1
  1024. package/types/strings/mouseoutEvent.d.ts +0 -3
  1025. package/types/strings/mouseoutEvent.d.ts.map +0 -1
  1026. package/types/strings/mouseoverEvent.d.ts +0 -3
  1027. package/types/strings/mouseoverEvent.d.ts.map +0 -1
  1028. package/types/strings/mouseupEvent.d.ts +0 -3
  1029. package/types/strings/mouseupEvent.d.ts.map +0 -1
  1030. package/types/strings/mousewheelEvent.d.ts +0 -3
  1031. package/types/strings/mousewheelEvent.d.ts.map +0 -1
  1032. package/types/strings/moveEvent.d.ts +0 -3
  1033. package/types/strings/moveEvent.d.ts.map +0 -1
  1034. package/types/strings/nativeEvents.d.ts +0 -54
  1035. package/types/strings/nativeEvents.d.ts.map +0 -1
  1036. package/types/strings/offsetHeight.d.ts +0 -3
  1037. package/types/strings/offsetHeight.d.ts.map +0 -1
  1038. package/types/strings/offsetWidth.d.ts +0 -3
  1039. package/types/strings/offsetWidth.d.ts.map +0 -1
  1040. package/types/strings/orientationchangeEvent.d.ts +0 -3
  1041. package/types/strings/orientationchangeEvent.d.ts.map +0 -1
  1042. package/types/strings/pointercancelEvent.d.ts +0 -3
  1043. package/types/strings/pointercancelEvent.d.ts.map +0 -1
  1044. package/types/strings/pointerdownEvent.d.ts +0 -3
  1045. package/types/strings/pointerdownEvent.d.ts.map +0 -1
  1046. package/types/strings/pointerleaveEvent.d.ts +0 -3
  1047. package/types/strings/pointerleaveEvent.d.ts.map +0 -1
  1048. package/types/strings/pointermoveEvent.d.ts +0 -3
  1049. package/types/strings/pointermoveEvent.d.ts.map +0 -1
  1050. package/types/strings/pointerupEvent.d.ts +0 -3
  1051. package/types/strings/pointerupEvent.d.ts.map +0 -1
  1052. package/types/strings/readystatechangeEvent.d.ts +0 -3
  1053. package/types/strings/readystatechangeEvent.d.ts.map +0 -1
  1054. package/types/strings/removeEventListener.d.ts +0 -3
  1055. package/types/strings/removeEventListener.d.ts.map +0 -1
  1056. package/types/strings/resetEvent.d.ts +0 -3
  1057. package/types/strings/resetEvent.d.ts.map +0 -1
  1058. package/types/strings/resizeEvent.d.ts +0 -3
  1059. package/types/strings/resizeEvent.d.ts.map +0 -1
  1060. package/types/strings/scrollEvent.d.ts +0 -3
  1061. package/types/strings/scrollEvent.d.ts.map +0 -1
  1062. package/types/strings/scrollHeight.d.ts +0 -3
  1063. package/types/strings/scrollHeight.d.ts.map +0 -1
  1064. package/types/strings/scrollWidth.d.ts +0 -3
  1065. package/types/strings/scrollWidth.d.ts.map +0 -1
  1066. package/types/strings/selectEvent.d.ts +0 -3
  1067. package/types/strings/selectEvent.d.ts.map +0 -1
  1068. package/types/strings/selectendEvent.d.ts +0 -3
  1069. package/types/strings/selectendEvent.d.ts.map +0 -1
  1070. package/types/strings/selectstartEvent.d.ts +0 -3
  1071. package/types/strings/selectstartEvent.d.ts.map +0 -1
  1072. package/types/strings/submitEvent.d.ts +0 -3
  1073. package/types/strings/submitEvent.d.ts.map +0 -1
  1074. package/types/strings/tabindex.d.ts +0 -3
  1075. package/types/strings/tabindex.d.ts.map +0 -1
  1076. package/types/strings/touchEvents.d.ts +0 -8
  1077. package/types/strings/touchEvents.d.ts.map +0 -1
  1078. package/types/strings/touchcancelEvent.d.ts +0 -3
  1079. package/types/strings/touchcancelEvent.d.ts.map +0 -1
  1080. package/types/strings/touchendEvent.d.ts +0 -3
  1081. package/types/strings/touchendEvent.d.ts.map +0 -1
  1082. package/types/strings/touchmoveEvent.d.ts +0 -3
  1083. package/types/strings/touchmoveEvent.d.ts.map +0 -1
  1084. package/types/strings/touchstartEvent.d.ts +0 -3
  1085. package/types/strings/touchstartEvent.d.ts.map +0 -1
  1086. package/types/strings/transitionDelay.d.ts +0 -3
  1087. package/types/strings/transitionDelay.d.ts.map +0 -1
  1088. package/types/strings/transitionDuration.d.ts +0 -3
  1089. package/types/strings/transitionDuration.d.ts.map +0 -1
  1090. package/types/strings/transitionEndEvent.d.ts +0 -3
  1091. package/types/strings/transitionEndEvent.d.ts.map +0 -1
  1092. package/types/strings/transitionProperty.d.ts +0 -3
  1093. package/types/strings/transitionProperty.d.ts.map +0 -1
  1094. package/types/strings/unloadEvent.d.ts +0 -3
  1095. package/types/strings/unloadEvent.d.ts.map +0 -1
  1096. package/types/strings/userAgent.d.ts +0 -3
  1097. package/types/strings/userAgent.d.ts.map +0 -1
  1098. package/types/strings/userAgentData.d.ts +0 -4
  1099. package/types/strings/userAgentData.d.ts.map +0 -1
@@ -0,0 +1,1502 @@
1
+ /**
2
+ * A global namespace for aria-checked.
3
+ */
4
+ export declare const ariaChecked = "aria-checked";
5
+ /**
6
+ * A global namespace for aria-description.
7
+ */
8
+ export declare const ariaDescription = "aria-description";
9
+ /**
10
+ * A global namespace for aria-describedby.
11
+ */
12
+ export declare const ariaDescribedBy = "aria-describedby";
13
+ /**
14
+ * A global namespace for aria-expanded.
15
+ */
16
+ export declare const ariaExpanded = "aria-expanded";
17
+ /**
18
+ * A global namespace for aria-haspopup.
19
+ */
20
+ export declare const ariaHasPopup = "aria-haspopup";
21
+ /**
22
+ * A global namespace for aria-hidden.
23
+ */
24
+ export declare const ariaHidden = "aria-hidden";
25
+ /**
26
+ * A global namespace for aria-label.
27
+ */
28
+ export declare const ariaLabel = "aria-label";
29
+ /**
30
+ * A global namespace for aria-labelledby.
31
+ */
32
+ export declare const ariaLabelledBy = "aria-labelledby";
33
+ /**
34
+ * A global namespace for aria-modal.
35
+ */
36
+ export declare const ariaModal = "aria-modal";
37
+ /**
38
+ * A global namespace for aria-pressed.
39
+ */
40
+ export declare const ariaPressed = "aria-pressed";
41
+ /**
42
+ * A global namespace for aria-selected.
43
+ */
44
+ export declare const ariaSelected = "aria-selected";
45
+ /**
46
+ * A global namespace for aria-valuemin.
47
+ */
48
+ export declare const ariaValueMin = "aria-valuemin";
49
+ /**
50
+ * A global namespace for aria-valuemax.
51
+ */
52
+ export declare const ariaValueMax = "aria-valuemax";
53
+ /**
54
+ * A global namespace for aria-valuenow.
55
+ */
56
+ export declare const ariaValueNow = "aria-valuenow";
57
+ /**
58
+ * A global namespace for aria-valuetext.
59
+ */
60
+ export declare const ariaValueText = "aria-valuetext";
61
+ /**
62
+ * A global namespace for all browser native events.
63
+ */
64
+ export declare const nativeEvents: {
65
+ DOMContentLoaded: string;
66
+ DOMMouseScroll: string;
67
+ abort: string;
68
+ beforeunload: string;
69
+ blur: string;
70
+ change: string;
71
+ click: string;
72
+ contextmenu: string;
73
+ dblclick: string;
74
+ error: string;
75
+ focus: string;
76
+ focusin: string;
77
+ focusout: string;
78
+ gesturechange: string;
79
+ gestureend: string;
80
+ gesturestart: string;
81
+ hover: string;
82
+ keydown: string;
83
+ keypress: string;
84
+ keyup: string;
85
+ load: string;
86
+ mousedown: string;
87
+ mousemove: string;
88
+ mousein: string;
89
+ mouseout: string;
90
+ mouseenter: string;
91
+ mouseleave: string;
92
+ mouseover: string;
93
+ mouseup: string;
94
+ mousewheel: string;
95
+ move: string;
96
+ orientationchange: string;
97
+ pointercancel: string;
98
+ pointerdown: string;
99
+ pointerleave: string;
100
+ pointermove: string;
101
+ pointerup: string;
102
+ readystatechange: string;
103
+ reset: string;
104
+ resize: string;
105
+ scroll: string;
106
+ select: string;
107
+ selectend: string;
108
+ selectstart: string;
109
+ submit: string;
110
+ touchcancel: string;
111
+ touchend: string;
112
+ touchmove: string;
113
+ touchstart: string;
114
+ unload: string;
115
+ };
116
+ /**
117
+ * A global namespace for `abort` event.
118
+ */
119
+ export declare const abortEvent = "abort";
120
+ /**
121
+ * A global namespace for `blur` event.
122
+ */
123
+ export declare const blurEvent = "blur";
124
+ /**
125
+ * A global namespace for `move` event.
126
+ */
127
+ export declare const moveEvent = "move";
128
+ /**
129
+ * A global namespace for `change` event.
130
+ */
131
+ export declare const changeEvent = "change";
132
+ /**
133
+ * A global namespace for `drag` event.
134
+ */
135
+ export declare const dragEvent = "drag";
136
+ /**
137
+ * A global namespace for `dragstart` event.
138
+ */
139
+ export declare const dragstartEvent = "dragstart";
140
+ /**
141
+ * A global namespace for `dragenter` event.
142
+ */
143
+ export declare const dragenterEvent = "dragenter";
144
+ /**
145
+ * A global namespace for `dragleave` event.
146
+ */
147
+ export declare const dragleaveEvent = "dragleave";
148
+ /**
149
+ * A global namespace for `dragover` event.
150
+ */
151
+ export declare const dragoverEvent = "dragover";
152
+ /**
153
+ * A global namespace for `dragend` event.
154
+ */
155
+ export declare const dragendEvent = "dragend";
156
+ /**
157
+ * A global namespace for `error` event.
158
+ */
159
+ export declare const errorEvent = "error";
160
+ /**
161
+ * A global namespace for `reset` event.
162
+ */
163
+ export declare const resetEvent = "reset";
164
+ /**
165
+ * A global namespace for `resize` event.
166
+ */
167
+ export declare const resizeEvent = "resize";
168
+ /**
169
+ * A global namespace for `scroll` event.
170
+ */
171
+ export declare const scrollEvent = "scroll";
172
+ /**
173
+ * A global namespace for `submit` event.
174
+ */
175
+ export declare const submitEvent = "submit";
176
+ /**
177
+ * A global namespace for `load` event.
178
+ */
179
+ export declare const loadEvent = "load";
180
+ /**
181
+ * A global namespace for `loadstart` event.
182
+ */
183
+ export declare const loadstartEvent = "loadstart";
184
+ /**
185
+ * A global namespace for `unload` event.
186
+ */
187
+ export declare const unloadEvent = "unload";
188
+ /**
189
+ * A global namespace for `readystatechange` event.
190
+ */
191
+ export declare const readystatechangeEvent = "readystatechange";
192
+ /**
193
+ * A global namespace for `beforeunload` event.
194
+ */
195
+ export declare const beforeunloadEvent = "beforeunload";
196
+ /**
197
+ * A global namespace for `orientationchange` event.
198
+ */
199
+ export declare const orientationchangeEvent = "orientationchange";
200
+ /**
201
+ * A global namespace for `contextmenu` event.
202
+ */
203
+ export declare const contextmenuEvent = "contextmenu";
204
+ /**
205
+ * A global namespace for `DOMContentLoaded` event.
206
+ */
207
+ export declare const DOMContentLoadedEvent = "DOMContentLoaded";
208
+ /**
209
+ * A global namespace for `DOMMouseScroll` event.
210
+ */
211
+ export declare const DOMMouseScrollEvent = "DOMMouseScroll";
212
+ /**
213
+ * A global namespace for `select` event.
214
+ */
215
+ export declare const selectEvent = "select";
216
+ /**
217
+ * A global namespace for the `selectend` event.
218
+ */
219
+ export declare const selectendEvent = "selectend";
220
+ /**
221
+ * A global namespace for the `selectstart` event.
222
+ */
223
+ export declare const selectstartEvent = "selectstart";
224
+ /**
225
+ * A global namespace for mouse events equivalent to touch events.
226
+ */
227
+ export declare const mouseSwipeEvents: {
228
+ start: string;
229
+ end: string;
230
+ move: string;
231
+ cancel: string;
232
+ };
233
+ /**
234
+ * A global namespace for mouse click events.
235
+ */
236
+ export declare const mouseClickEvents: {
237
+ down: string;
238
+ up: string;
239
+ };
240
+ /**
241
+ * A global namespace for `click` event.
242
+ */
243
+ export declare const mouseclickEvent = "click";
244
+ /**
245
+ * A global namespace for `dblclick` event.
246
+ */
247
+ export declare const mousedblclickEvent = "dblclick";
248
+ /**
249
+ * A global namespace for `mousedown` event.
250
+ */
251
+ export declare const mousedownEvent = "mousedown";
252
+ /**
253
+ * A global namespace for `mouseup` event.
254
+ */
255
+ export declare const mouseupEvent = "mouseup";
256
+ /**
257
+ * A global namespace for `hover` event.
258
+ */
259
+ export declare const mousehoverEvent = "hover";
260
+ /**
261
+ * A global namespace for mouse hover events.
262
+ */
263
+ export declare const mouseHoverEvents: string[];
264
+ /**
265
+ * A global namespace for `mouseenter` event.
266
+ */
267
+ export declare const mouseenterEvent = "mouseenter";
268
+ /**
269
+ * A global namespace for `mouseleave` event.
270
+ */
271
+ export declare const mouseleaveEvent = "mouseleave";
272
+ /**
273
+ * A global namespace for `mousein` event.
274
+ */
275
+ export declare const mouseinEvent = "mousein";
276
+ /**
277
+ * A global namespace for `mouseout` event.
278
+ */
279
+ export declare const mouseoutEvent = "mouseout";
280
+ /**
281
+ * A global namespace for `mouseover` event.
282
+ */
283
+ export declare const mouseoverEvent = "mouseover";
284
+ /**
285
+ * A global namespace for `mousemove` event.
286
+ */
287
+ export declare const mousemoveEvent = "mousemove";
288
+ /**
289
+ * A global namespace for `mousewheel` event.
290
+ */
291
+ export declare const mousewheelEvent = "mousewheel";
292
+ /**
293
+ * A global namespace for touch events.
294
+ */
295
+ export declare const touchEvents: {
296
+ start: string;
297
+ end: string;
298
+ move: string;
299
+ cancel: string;
300
+ };
301
+ /**
302
+ * A global namespace for `touchstart` event.
303
+ */
304
+ export declare const touchstartEvent = "touchstart";
305
+ /**
306
+ * A global namespace for `touchmove` event.
307
+ */
308
+ export declare const touchmoveEvent = "touchmove";
309
+ /**
310
+ * A global namespace for `touchcancel` event.
311
+ */
312
+ export declare const touchcancelEvent = "touchcancel";
313
+ /**
314
+ * A global namespace for `touchend` event.
315
+ */
316
+ export declare const touchendEvent = "touchend";
317
+ /**
318
+ * A global namespace for `pointercancel` event.
319
+ */
320
+ export declare const pointercancelEvent = "pointercancel";
321
+ /**
322
+ * A global namespace for `pointerdown` event.
323
+ */
324
+ export declare const pointerdownEvent = "pointerdown";
325
+ /**
326
+ * A global namespace for `pointerleave` event.
327
+ */
328
+ export declare const pointerleaveEvent = "pointerleave";
329
+ /**
330
+ * A global namespace for `pointermove` event.
331
+ */
332
+ export declare const pointermoveEvent = "pointermove";
333
+ /**
334
+ * A global namespace for `pointerup` event.
335
+ */
336
+ export declare const pointerupEvent = "pointerup";
337
+ /**
338
+ * A global namespace for focus event names.
339
+ */
340
+ export declare const focusEvents: {
341
+ in: string;
342
+ out: string;
343
+ };
344
+ /**
345
+ * A global namespace for `focus` event.
346
+ */
347
+ export declare const focusEvent = "focus";
348
+ /**
349
+ * A global namespace for `focusin` event.
350
+ */
351
+ export declare const focusinEvent = "focusin";
352
+ /**
353
+ * A global namespace for `focusout` event.
354
+ */
355
+ export declare const focusoutEvent = "focusout";
356
+ /**
357
+ * A global namespace for `gesturechange` event.
358
+ */
359
+ export declare const gesturechangeEvent = "gesturechange";
360
+ /**
361
+ * A global namespace for `gestureend` event.
362
+ */
363
+ export declare const gestureendEvent = "gestureend";
364
+ /**
365
+ * A global namespace for `gesturestart` event.
366
+ */
367
+ export declare const gesturestartEvent = "gesturestart";
368
+ /**
369
+ * A global namespace for keyboard event keys.
370
+ */
371
+ export declare const keyboardEventKeys: {
372
+ Backspace: string;
373
+ Tab: string;
374
+ Enter: string;
375
+ Shift: string;
376
+ Control: string;
377
+ Alt: string;
378
+ Pause: string;
379
+ CapsLock: string;
380
+ Escape: string;
381
+ Scape: string;
382
+ ArrowLeft: string;
383
+ ArrowUp: string;
384
+ ArrowRight: string;
385
+ ArrowDown: string;
386
+ Insert: string;
387
+ Delete: string;
388
+ Meta: string;
389
+ ContextMenu: string;
390
+ ScrollLock: string;
391
+ };
392
+ /**
393
+ * A global namespace for `keydown` event.
394
+ */
395
+ export declare const keydownEvent = "keydown";
396
+ /**
397
+ * A global namespace for `keyup` event.
398
+ */
399
+ export declare const keyupEvent = "keyup";
400
+ /**
401
+ * A global namespace for `keypress` event.
402
+ */
403
+ export declare const keypressEvent = "keypress";
404
+ /**
405
+ * A global namespace for `Alt` key.
406
+ * e.which = 18
407
+ */
408
+ export declare const keyAlt = "Alt";
409
+ /**
410
+ * A global namespace for `ArrowDown` key.
411
+ * e.which = 40 equivalent
412
+ */
413
+ export declare const keyArrowDown = "ArrowDown";
414
+ /**
415
+ * A global namespace for `ArrowUp` key.
416
+ * e.which = 38 equivalent
417
+ */
418
+ export declare const keyArrowUp = "ArrowUp";
419
+ /**
420
+ * A global namespace for `ArrowLeft` key.
421
+ * e.which = 37 equivalent
422
+ */
423
+ export declare const keyArrowLeft = "ArrowLeft";
424
+ /**
425
+ * A global namespace for `ArrowRight` key.
426
+ * e.which = 39 equivalent
427
+ */
428
+ export declare const keyArrowRight = "ArrowRight";
429
+ /**
430
+ * A global namespace for `Backspace` key.
431
+ * e.which === 8 equivalent
432
+ */
433
+ export declare const keyBackspace = "Backspace";
434
+ /**
435
+ * A global namespace for `CapsLock` key.
436
+ * e.which = 20 equivalent
437
+ */
438
+ export declare const keyCapsLock = "CapsLock";
439
+ /**
440
+ * A global namespace for `Control` key.
441
+ * e.which = 17
442
+ */
443
+ export declare const keyControl = "Control";
444
+ /**
445
+ * A global namespace for `Delete` key.
446
+ * e.which = 46 equivalent
447
+ */
448
+ export declare const keyDelete = "Delete";
449
+ /**
450
+ * A global namespace for `Enter` key.
451
+ * e.which = 13 equivalent
452
+ */
453
+ export declare const keyEnter = "Enter";
454
+ /**
455
+ * A global namespace for `Escape` key.
456
+ * e.which = 27 equivalent
457
+ */
458
+ export declare const keyEscape = "Escape";
459
+ /**
460
+ * A global namespace for `Insert` key.
461
+ * e.which = 45 equivalent
462
+ */
463
+ export declare const keyInsert = "Insert";
464
+ /**
465
+ * A global namespace for `Meta` key.
466
+ * e.which = 93 equivalent
467
+ */
468
+ export declare const keyMeta = "Meta";
469
+ /**
470
+ * A global namespace for `Pause` key.
471
+ * e.which = 19
472
+ */
473
+ export declare const keyPause = "Pause";
474
+ /**
475
+ * A global namespace for `ScrollLock` key.
476
+ * e.which = 145 equivalent
477
+ */
478
+ export declare const keyScrollLock = "ScrollLock";
479
+ /**
480
+ * A global namespace for `Shift` key.
481
+ * e.which = 16
482
+ */
483
+ export declare const keyShift = "Shift";
484
+ /**
485
+ * A global namespace for `Space` key.
486
+ * e.which = 32 equivalent
487
+ */
488
+ export declare const keySpace = "Space";
489
+ /**
490
+ * A global namespace for `Tab` key.
491
+ * e.which = 9 equivalent
492
+ */
493
+ export declare const keyTab = "Tab";
494
+ /**
495
+ * A global namespace for 'animationDuration' string.
496
+ */
497
+ export declare const animationDuration = "animationDuration";
498
+ /**
499
+ * A global namespace for 'animationDelay' string.
500
+ */
501
+ export declare const animationDelay = "animationDelay";
502
+ /**
503
+ * A global namespace for 'animationName' string.
504
+ */
505
+ export declare const animationName = "animationName";
506
+ /**
507
+ * A global namespace for 'animationend' string.
508
+ */
509
+ export declare const animationEndEvent = "animationend";
510
+ /**
511
+ * A global namespace for 'transitionDuration' string.
512
+ */
513
+ export declare const transitionDuration = "transitionDuration";
514
+ /**
515
+ * A global namespace for 'transitionDelay' string.
516
+ */
517
+ export declare const transitionDelay = "transitionDelay";
518
+ /**
519
+ * A global namespace for 'transitionend' string.
520
+ */
521
+ export declare const transitionEndEvent = "transitionend";
522
+ /**
523
+ * A global namespace for `transitionProperty` string for modern browsers.
524
+ */
525
+ export declare const transitionProperty = "transitionProperty";
526
+ /**
527
+ * A global namespace for 'addEventListener' string.
528
+ */
529
+ export declare const addEventListener = "addEventListener";
530
+ /**
531
+ * A global namespace for 'removeEventListener' string.
532
+ */
533
+ export declare const removeEventListener = "removeEventListener";
534
+ /**
535
+ * A global namespace for predefined
536
+ * CSS3 'cubic-bezier()' easing functions.
537
+ */
538
+ export declare const bezierEasings: {
539
+ linear: string;
540
+ easingSinusoidalIn: string;
541
+ easingSinusoidalOut: string;
542
+ easingSinusoidalInOut: string;
543
+ easingQuadraticIn: string;
544
+ easingQuadraticOut: string;
545
+ easingQuadraticInOut: string;
546
+ easingCubicIn: string;
547
+ easingCubicOut: string;
548
+ easingCubicInOut: string;
549
+ easingQuarticIn: string;
550
+ easingQuarticOut: string;
551
+ easingQuarticInOut: string;
552
+ easingQuinticIn: string;
553
+ easingQuinticOut: string;
554
+ easingQuinticInOut: string;
555
+ easingExponentialIn: string;
556
+ easingExponentialOut: string;
557
+ easingExponentialInOut: string;
558
+ easingCircularIn: string;
559
+ easingCircularOut: string;
560
+ easingCircularInOut: string;
561
+ easingBackIn: string;
562
+ easingBackOut: string;
563
+ easingBackInOut: string;
564
+ };
565
+ /**
566
+ * A global namespace for `offsetHeight` property.
567
+ */
568
+ export declare const offsetHeight = "offsetHeight";
569
+ /**
570
+ * A global namespace for `offsetWidth` property.
571
+ */
572
+ export declare const offsetWidth = "offsetWidth";
573
+ /**
574
+ * A global namespace for `scrollHeight` property.
575
+ */
576
+ export declare const scrollHeight = "scrollHeight";
577
+ /**
578
+ * A global namespace for `scrollWidth` property.
579
+ */
580
+ export declare const scrollWidth = "scrollWidth";
581
+ /**
582
+ * A global namespace for `touchcancel` event.
583
+ */
584
+ export declare const tabindex = "tabindex";
585
+ // https://github.com/lukewarlow/user-agent-data-types/blob/master/index.d.ts
586
+ export declare interface NavigatorUABrand {
587
+ readonly brand: string;
588
+ readonly version: string;
589
+ }
590
+ export declare interface NavigatorUAData {
591
+ readonly brands: NavigatorUABrand[];
592
+ readonly mobile: boolean;
593
+ readonly platform: string;
594
+ }
595
+ export declare interface NavigatorUA extends Navigator {
596
+ readonly userAgentData: NavigatorUAData;
597
+ }
598
+ /**
599
+ * A global namespace for `userAgentData` object.
600
+ */
601
+ export declare const userAgentData: NavigatorUA["userAgentData"];
602
+ /**
603
+ * A global namespace for `navigator.userAgent` string.
604
+ */
605
+ export declare const userAgent: string;
606
+ /**
607
+ * A global `boolean` for mobile detection.
608
+ */
609
+ export declare const isMobile: boolean;
610
+ /**
611
+ * A global `boolean` for Apple browsers.
612
+ */
613
+ export declare const isApple: boolean;
614
+ /**
615
+ * A global boolean for Gecko browsers. When writing this file,
616
+ * Gecko was not supporting `userAgentData`.
617
+ */
618
+ export declare const isFirefox: boolean;
619
+ /**
620
+ * A global `boolean` for CSS3 3D transform support.
621
+ */
622
+ export declare const support3DTransform: boolean;
623
+ /**
624
+ * A global `boolean` for passive events support,
625
+ * in general event options are not suited for scroll prevention.
626
+ *
627
+ * @see https://github.com/WICG/EventListenerOptions/blob/gh-pages/explainer.md#feature-detection
628
+ */
629
+ export declare const supportPassive: boolean;
630
+ /**
631
+ * A global `boolean` for CSS3 transform support.
632
+ */
633
+ export declare const supportTransform: boolean;
634
+ /**
635
+ * A global `boolean` for touch events support.
636
+ */
637
+ export declare const supportTouch: boolean;
638
+ /**
639
+ * A global `boolean` for CSS3 animation support.
640
+ */
641
+ export declare const supportAnimation: boolean;
642
+ /**
643
+ * A global `boolean` for CSS3 transition support.
644
+ */
645
+ export declare const supportTransition: boolean;
646
+ /**
647
+ * Shortcut for `HTMLElement.getAttribute()` method.
648
+ *
649
+ * @param element target element
650
+ * @param att attribute name
651
+ * @returns attribute value
652
+ */
653
+ export declare const getAttribute: (element: HTMLElement, att: string) => string | null;
654
+ /**
655
+ * Shortcut for `HTMLElement.getAttributeNS()` method.
656
+ *
657
+ * @param ns attribute namespace
658
+ * @param element target element
659
+ * @param att attribute name
660
+ * @returns attribute value
661
+ */
662
+ export declare const getAttributeNS: (ns: string, element: HTMLElement, att: string) => string | null;
663
+ /**
664
+ * Shortcut for `HTMLElement.hasAttribute()` method.
665
+ *
666
+ * @param element target element
667
+ * @param att attribute name
668
+ * @returns the query result
669
+ */
670
+ export declare const hasAttribute: (element: HTMLElement, att: string) => boolean;
671
+ /**
672
+ * Shortcut for `HTMLElement.hasAttributeNS()` method.
673
+ *
674
+ * @param ns attribute namespace
675
+ * @param element target element
676
+ * @param att attribute name
677
+ * @returns the query result
678
+ */
679
+ export declare const hasAttributeNS: (ns: string, element: HTMLElement, att: string) => boolean;
680
+ /**
681
+ * Shortcut for `HTMLElement.setAttribute()` method.
682
+ *
683
+ * @param element target element
684
+ * @param att attribute name
685
+ * @param value attribute value
686
+ */
687
+ export declare const setAttribute: (element: HTMLElement, att: string, value: string) => void;
688
+ /**
689
+ * Shortcut for `SVGElement.setAttributeNS()` method.
690
+ *
691
+ * @param ns attribute namespace
692
+ * @param element target element
693
+ * @param att attribute name
694
+ * @param value attribute value
695
+ */
696
+ export declare const setAttributeNS: (ns: string, element: HTMLElement, att: string, value: string) => void;
697
+ /**
698
+ * Shortcut for `HTMLElement.removeAttribute()` method.
699
+ *
700
+ * @param element target element
701
+ * @param att attribute name
702
+ */
703
+ export declare const removeAttribute: (element: HTMLElement, att: string) => void;
704
+ /**
705
+ * Shortcut for `HTMLElement.removeAttributeNS()` method.
706
+ *
707
+ * @param ns attribute namespace
708
+ * @param element target element
709
+ * @param att attribute name
710
+ */
711
+ export declare const removeAttributeNS: (ns: string, element: HTMLElement, att: string) => void;
712
+ /**
713
+ * Add one or more CSS classes to `HTMLElement.classList`.
714
+ *
715
+ * @param element target
716
+ * @param classNAME to add
717
+ */
718
+ export declare const addClass: (element: HTMLElement, ...classNAME: string[]) => void;
719
+ /**
720
+ * Remove one or more classes from `HTMLElement.classList`.
721
+ *
722
+ * @param element target
723
+ * @param classNAME to remove
724
+ */
725
+ export declare const removeClass: (element: HTMLElement, ...classNAME: string[]) => void;
726
+ /**
727
+ * Check class in `HTMLElement.classList`.
728
+ *
729
+ * @param element target
730
+ * @param classNAME to check
731
+ */
732
+ export declare const hasClass: (element: HTMLElement, classNAME: string) => boolean;
733
+ /**
734
+ * Add eventListener to an `EventTarget` object.
735
+ */
736
+ export declare const on: (element: EventTarget, eventName: string, listener: EventListener, options?: AddEventListenerOptions) => void;
737
+ /**
738
+ * Remove eventListener from an `EventTarget` object.
739
+ */
740
+ export declare const off: (element: EventTarget, eventName: string, listener: EventListener, options?: AddEventListenerOptions) => void;
741
+ /**
742
+ * Add an `eventListener` to an `EventTarget`
743
+ * element and remove it once callback is called.
744
+ */
745
+ export declare const one: (element: EventTarget, eventName: string, listener: EventListener, options?: AddEventListenerOptions) => void;
746
+ /**
747
+ * A global namespace for `document.body`.
748
+ */
749
+ export declare const documentBody: HTMLElement;
750
+ /**
751
+ * A global namespace for `document.documentElement` or the `<HTML>`.
752
+ */
753
+ export declare const documentElement: HTMLElement;
754
+ /**
755
+ * A global namespace for `document.head`.
756
+ */
757
+ export declare const documentHead: HTMLHeadElement;
758
+ /**
759
+ * Shortie for `Array.from()` static method.
760
+ * The utility should also work with any typed arrays
761
+ * like Float64Array or Int32Array.
762
+ *
763
+ * @param arr array-like iterable object
764
+ * @returns a new array from iterable object
765
+ */
766
+ export declare const ArrayFrom: <T>(arr: ArrayLike<T> | Iterable<T>) => T[];
767
+ /**
768
+ * An interface for web components background data.
769
+ *
770
+ * @see https://github.com/thednp/bootstrap.native/blob/master/src/components/base-component.js
771
+ */
772
+ export declare const Data: {
773
+ /**
774
+ * Sets web components data.
775
+ *
776
+ * @param element target element
777
+ * @param component the component's name or a unique key
778
+ * @param instance the component instance
779
+ */
780
+ set: <T>(element: HTMLElement, component: string, instance: T) => void;
781
+ /**
782
+ * Returns all instances for specified component.
783
+ *
784
+ * @param component the component's name or a unique key
785
+ * @returns all the component instances
786
+ */
787
+ getAllFor: <T_1>(component: string) => Map<HTMLElement, T_1> | null;
788
+ /**
789
+ * Returns the instance associated with the target.
790
+ *
791
+ * @param element target element
792
+ * @param component the component's name or a unique key
793
+ * @returns the instance
794
+ */
795
+ get: <T_2>(element: HTMLElement, component: string) => T_2 | null;
796
+ /**
797
+ * Removes web components data.
798
+ *
799
+ * @param element target element
800
+ * @param component the component's name or a unique key
801
+ */
802
+ remove: <T_3>(element: HTMLElement, component: string) => void;
803
+ };
804
+ /**
805
+ * An alias for `Data.get()`.
806
+ */
807
+ export declare const getInstance: <T>(target: HTMLElement, component: string) => T | null;
808
+ /**
809
+ * Shortie for `document.createElement` method
810
+ * which allows you to create a new `HTMLElement` for a given `tagName`
811
+ * or based on an object with specific non-readonly attributes with string values:
812
+ * `id`, `className`, `textContent`, `style`, etc.
813
+ *
814
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement
815
+ *
816
+ * @param param `tagName` or object
817
+ * @return a new `HTMLElement`
818
+ */
819
+ export declare const createElement: (param?: string | Partial<HTMLElement>) => HTMLElement | undefined;
820
+ /**
821
+ * Shortie for `document.createElementNS` method
822
+ * which allows you to create a new `HTMLElement` for a given `tagName`
823
+ * or based on an object with specific non-readonly attributes with string values:
824
+ * `id`, `className`, `textContent`, `style`, etc.
825
+ *
826
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/Document/createElementNS
827
+ *
828
+ * @param ns `namespaceURI` to associate with the new `HTMLElement`
829
+ * @param param `tagName` or object
830
+ * @return a new `HTMLElement`
831
+ */
832
+ export declare const createElementNS: (ns: string, param?: string | Partial<HTMLElement>) => HTMLElement | undefined;
833
+ /**
834
+ * Shortcut for the `Element.dispatchEvent(Event)` method.
835
+ *
836
+ * @param element is the target
837
+ * @param event is the `Event` object
838
+ */
839
+ export declare const dispatchEvent: (element: EventTarget, event: Event) => boolean;
840
+ /**
841
+ * JavaScript `Array` distinct.
842
+ *
843
+ * @see https://codeburst.io/javascript-array-distinct-5edc93501dc4
844
+ *
845
+ * @example
846
+ * ```
847
+ * [0,1,1,2].filter(distinct)
848
+ * // => [0,1,2]
849
+ * ```
850
+ * @param value array item value
851
+ * @param index array item index
852
+ * @param arr a clone of the target array
853
+ * @returns the query result
854
+ */
855
+ export declare const distinct: <T>(value: T, index: number, arr: T[]) => boolean;
856
+ /**
857
+ * Utility to make sure callbacks are consistently
858
+ * called when animation ends.
859
+ *
860
+ * @param element target
861
+ * @param handler `animationend` callback
862
+ */
863
+ export declare const emulateAnimationEnd: (element: HTMLElement, handler: EventListener) => void;
864
+ /**
865
+ * Utility to make sure callbacks are consistently
866
+ * called when transition ends.
867
+ *
868
+ * @param element event target
869
+ * @param handler `transitionend` callback
870
+ */
871
+ export declare const emulateTransitionEnd: (element: HTMLElement, handler: EventListener) => void;
872
+ /**
873
+ * Shortcut for `Float32Array.from()` static method.
874
+ *
875
+ * @param arr array-like iterable object
876
+ * @returns a new Float32Array
877
+ */
878
+ export declare const Float32ArrayFrom: (arr: ArrayLike<number> | Iterable<number>) => Float32Array;
879
+ /**
880
+ * Shortcut for `Float64Array.from()` static method.
881
+ *
882
+ * @param arr array-like iterable object
883
+ * @returns a new Float64Array
884
+ */
885
+ export declare const Float64ArrayFrom: (arr: ArrayLike<number> | Iterable<number>) => Float64Array;
886
+ /**
887
+ * Shortie for `HTMLElement.focus()` method.
888
+ *
889
+ * @param element is the target
890
+ * @param options allows to pass additional options such as `preventScroll: boolean`
891
+ */
892
+ export declare const focus: (element: HTMLOrSVGElement, options?: FocusOptions) => void;
893
+ /** A generic function with empty body. */
894
+ export declare const noop: () => void;
895
+ /**
896
+ * Utility to normalize component options.
897
+ *
898
+ * @param element target
899
+ * @param defaultOps component default options
900
+ * @param inputOps component instance options
901
+ * @param ns component namespace
902
+ * @return normalized component options object
903
+ */
904
+ export declare const normalizeOptions: <T extends {
905
+ [key: string]: any;
906
+ }>(element: HTMLElement, defaultOps: T, inputOps: Partial<T>, ns?: string) => T;
907
+ export type NormalValue = boolean | number | string | ((...args: any[]) => any) | null;
908
+ /**
909
+ * Utility to normalize component options
910
+ *
911
+ * @param value the input value
912
+ * @return the normalized value
913
+ */
914
+ export declare const normalizeValue: (value?: boolean | number | string) => NormalValue;
915
+ declare function ObjectAssignTyped<T, U>(target: T, source: U): T & U;
916
+ declare function ObjectAssignTyped<T, U, V>(target: T, source1: U, source2: V): T & U & V;
917
+ declare function ObjectAssignTyped<T, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W;
918
+ declare function ObjectAssignTyped<T, U, V, W, Q>(target: T, source1: U, source2: V, source3: W, source4: Q): T & U & V & W & Q;
919
+ declare function ObjectAssignTyped<T, U, V, W, Q, R>(target: T, source1: U, source2: V, source3: W, source4: Q, source5: R): T & U & V & W & Q & R;
920
+ declare function ObjectAssignTyped(target: any, ...sources: any[]): any;
921
+ /**
922
+ * Shortcut for `Object.assign()` static method.
923
+ *
924
+ * @param obj a target object
925
+ * @param source source object(s)
926
+ * @see https://github.com/devinrhode2/ObjectTyped/blob/master/src/index.ts
927
+ */
928
+ export declare const ObjectAssign: typeof ObjectAssignTyped;
929
+ /**
930
+ * Shortcut for `Object.entries()` static method.
931
+ *
932
+ * @param obj a target object
933
+ * @returns the entries of an object in an array format [key, value][]
934
+ * @see https://github.com/devinrhode2/ObjectTyped/blob/master/src/index.ts
935
+ */
936
+ export declare const ObjectEntries: <O extends Record<string, any>>(obj: O) => [
937
+ keyof O,
938
+ O[keyof O]
939
+ ][];
940
+ /**
941
+ * A shortcut to `Object.hasOwn()` static method to work
942
+ * with regular `Object` elements.
943
+ *
944
+ * @see https://fettblog.eu/typescript-hasownproperty/
945
+ * @param obj the target object
946
+ * @param prop the property to check
947
+ * @returns the query result
948
+ */
949
+ export declare const ObjectHasOwn: <T extends object, K extends PropertyKey>(obj: T, prop: K) => obj is T & Record<K, unknown>;
950
+ /**
951
+ * Shortcut for `Object.keys()` static method.
952
+ *
953
+ * @param obj a target object
954
+ * @returns an array with object keys
955
+ * @see https://github.com/devinrhode2/ObjectTyped/blob/master/src/index.ts
956
+ */
957
+ export declare const ObjectKeys: <O extends Record<string, any>>(obj: O) => (keyof O)[];
958
+ /**
959
+ * Shortcut for `Object.values()` static method.
960
+ *
961
+ * @param obj a target object
962
+ * @returns an array with the object values
963
+ * @see https://github.com/devinrhode2/ObjectTyped/blob/master/src/index.ts
964
+ */
965
+ export declare const ObjectValues: <O extends Record<string, unknown>>(obj: O) => O[keyof O][];
966
+ export declare interface OriginalEvent extends CustomEvent<any> {
967
+ readonly type: string;
968
+ relatedTarget?: EventTarget;
969
+ }
970
+ /**
971
+ * Returns a namespaced `CustomEvent` specific to each component.
972
+ *
973
+ * @param eventType Event.type
974
+ * @param config Event.options | Event.properties
975
+ * @returns a new namespaced event
976
+ */
977
+ export declare const createCustomEvent: <T extends OriginalEvent>(eventType: string, config?: CustomEventInit<any>) => T;
978
+ /**
979
+ * A global namespace for most scroll event listeners.
980
+ */
981
+ export declare const passiveHandler: Partial<AddEventListenerOptions>;
982
+ /**
983
+ * Utility to force re-paint of an `HTMLElement` target.
984
+ *
985
+ * @param element is the target
986
+ * @return the `Element.offsetHeight` value
987
+ */
988
+ export declare const reflow: (element: HTMLElement) => number;
989
+ export declare interface CSS4Declaration extends Exclude<() => string | symbol, CSSStyleDeclaration> {
990
+ [key: string]: string;
991
+ }
992
+ /**
993
+ * Shortcut for multiple uses of `HTMLElement.style.propertyName` method.
994
+ *
995
+ * @param element target element
996
+ * @param styles attribute value
997
+ */
998
+ export declare const setElementStyle: (element: HTMLElement, styles: Partial<CSS4Declaration>) => void;
999
+ /**
1000
+ * An interface for one or more `TimerHandler`s per `Element`.
1001
+ *
1002
+ * @see https://github.com/thednp/navbar/
1003
+ */
1004
+ export declare const Timer: {
1005
+ /**
1006
+ * Sets a new timeout timer for an element, or element -> key association.
1007
+ *
1008
+ * @param element target element
1009
+ * @param callback the callback
1010
+ * @param delay the execution delay
1011
+ * @param key a unique key
1012
+ */
1013
+ set: (element: HTMLElement, callback: TimerHandler, delay: number, key?: string) => void;
1014
+ /**
1015
+ * Returns the timer associated with the target.
1016
+ *
1017
+ * @param element target element
1018
+ * @param key a unique
1019
+ * @returns the timer
1020
+ */
1021
+ get: (element: HTMLElement, key?: string) => number | null;
1022
+ /**
1023
+ * Clears the element's timer.
1024
+ *
1025
+ * @param element target element
1026
+ * @param key a unique key
1027
+ */
1028
+ clear: (element: HTMLElement, key?: string) => void;
1029
+ };
1030
+ /**
1031
+ * Shortcut for `String.toLowerCase()`.
1032
+ *
1033
+ * @param source input string
1034
+ * @returns lowercase output string
1035
+ */
1036
+ export declare const toLowerCase: (source: string) => string;
1037
+ /**
1038
+ * Shortcut for `String.toUpperCase()`.
1039
+ *
1040
+ * @param source input string
1041
+ * @returns uppercase output string
1042
+ */
1043
+ export declare const toUpperCase: (source: string) => string;
1044
+ export declare interface BoundingClientRect {
1045
+ width: number;
1046
+ height: number;
1047
+ top: number;
1048
+ left: number;
1049
+ right: number;
1050
+ bottom: number;
1051
+ x: number;
1052
+ y: number;
1053
+ }
1054
+ /**
1055
+ * Returns the bounding client rect of a target `HTMLElement`.
1056
+ *
1057
+ * @see https://github.com/floating-ui/floating-ui
1058
+ *
1059
+ * @param element event.target
1060
+ * @param includeScale when *true*, the target scale is also computed
1061
+ * @returns the bounding client rect object
1062
+ */
1063
+ export declare const getBoundingClientRect: (element: HTMLElement, includeScale?: boolean) => BoundingClientRect;
1064
+ /**
1065
+ * Returns the `document` or the `#document` element.
1066
+ *
1067
+ * @see https://github.com/floating-ui/floating-ui
1068
+ *
1069
+ * @param node the reference node
1070
+ * @returns the parent document of the given node
1071
+ */
1072
+ export declare const getDocument: (node?: Node | Document | Window) => Document;
1073
+ /**
1074
+ * Returns the `document.body` or the `<body>` element.
1075
+ *
1076
+ * @param node the reference node
1077
+ * @returns the parent `<body>` of the specified node
1078
+ */
1079
+ export declare const getDocumentBody: (node?: Node | Document | Window) => HTMLElement;
1080
+ /**
1081
+ * Returns the `document.documentElement` or the `<HTML>` element.
1082
+ *
1083
+ * @param node the reference node
1084
+ * @returns the parent `<HTML>` of the node's parent document
1085
+ */
1086
+ export declare const getDocumentElement: (node?: Node | Document | Window) => HTMLElement;
1087
+ /**
1088
+ * Returns the `document.head` or the `<head>` element.
1089
+ *
1090
+ * @param node the reference node
1091
+ * @returns the `<head>` of the node's parent document
1092
+ */
1093
+ export declare const getDocumentHead: (node?: Node | Document | Window) => HTMLElement & HTMLHeadElement;
1094
+ /**
1095
+ * Utility to get the computed `animationDuration`
1096
+ * from `HTMLElement` in miliseconds.
1097
+ *
1098
+ * @param element target
1099
+ * @return the `animationDuration` value in miliseconds
1100
+ */
1101
+ export declare const getElementAnimationDuration: (element: HTMLElement) => number;
1102
+ /**
1103
+ * Utility to get the computed `animationDelay`
1104
+ * from Element in miliseconds.
1105
+ *
1106
+ * @param element target
1107
+ * @return the `animationDelay` value in miliseconds
1108
+ */
1109
+ export declare const getElementAnimationDelay: (element: HTMLElement) => number;
1110
+ /**
1111
+ * Shortcut for `window.getComputedStyle(element).propertyName`
1112
+ * static method.
1113
+ *
1114
+ * * If `element` parameter is not an `HTMLElement`, `getComputedStyle`
1115
+ * throws a `ReferenceError`.
1116
+ *
1117
+ * @param element target
1118
+ * @param property the css property
1119
+ * @return the css property value
1120
+ */
1121
+ export declare const getElementStyle: (element: HTMLElement, property: string) => string;
1122
+ /**
1123
+ * Utility to get the computed `transitionDuration`
1124
+ * from Element in miliseconds.
1125
+ *
1126
+ * @param element target
1127
+ * @return the `transitionDuration` value in miliseconds
1128
+ */
1129
+ export declare const getElementTransitionDuration: (element: HTMLElement) => number;
1130
+ /**
1131
+ * Utility to get the computed `transitionDelay`
1132
+ * from Element in miliseconds.
1133
+ *
1134
+ * @param element target
1135
+ * @return the `transitionDelay` value in miliseconds
1136
+ */
1137
+ export declare const getElementTransitionDelay: (element: HTMLElement) => number;
1138
+ /**
1139
+ * Returns an `{x,y}` object with the target
1140
+ * `HTMLElement` / `Node` scroll position.
1141
+ *
1142
+ * @see https://github.com/floating-ui/floating-ui
1143
+ *
1144
+ * @param element target node / element
1145
+ * @returns the scroll tuple
1146
+ */
1147
+ export declare const getNodeScroll: (element: HTMLElement | Window) => {
1148
+ x: number;
1149
+ y: number;
1150
+ };
1151
+ /**
1152
+ * Returns the `parentNode` also going through `ShadowRoot`.
1153
+ *
1154
+ * @see https://github.com/floating-ui/floating-ui
1155
+ *
1156
+ * @param {Node} node the target node
1157
+ * @returns {Node} the apropriate parent node
1158
+ */
1159
+ export declare const getParentNode: (node: Node) => Node | ParentNode;
1160
+ export declare interface OffsetRect {
1161
+ width: number;
1162
+ height: number;
1163
+ x: number;
1164
+ y: number;
1165
+ }
1166
+ /**
1167
+ * Returns the rect relative to a given offset parent and its scroll position.
1168
+ *
1169
+ * @see https://github.com/floating-ui/floating-ui
1170
+ *
1171
+ * @param element target
1172
+ * @param offsetParent the container / offset parent
1173
+ * @param scroll the offsetParent scroll position
1174
+ * @returns a DOMRect like object
1175
+ */
1176
+ export declare const getRectRelativeToOffsetParent: (element: HTMLElement, offsetParent: HTMLElement, scroll: {
1177
+ x: number;
1178
+ y: number;
1179
+ }) => OffsetRect;
1180
+ /**
1181
+ * Returns a unique identifier for popover, tooltip, scrollspy.
1182
+ *
1183
+ * @param element target element
1184
+ * @param key optional identifier key
1185
+ * @returns an existing or new unique ID
1186
+ */
1187
+ export declare const getUID: (element: HTMLElement, key?: string) => number;
1188
+ /**
1189
+ * Returns the `Window` object of a target node.
1190
+ *
1191
+ * @see https://github.com/floating-ui/floating-ui
1192
+ *
1193
+ * @param node target node
1194
+ * @returns the `Window` object
1195
+ */
1196
+ export declare const getWindow: (node?: Node) => Window;
1197
+ /**
1198
+ * Shortie for the `Array.isArray()` static method.
1199
+ *
1200
+ * @param obj array-like iterable object
1201
+ * @returns the query result
1202
+ */
1203
+ export declare const isArray: (obj?: unknown) => obj is any[];
1204
+ /**
1205
+ * Checks if an element is an `HTMLCanvasElement` or `<canvas>`.
1206
+ *
1207
+ * @param element the target element
1208
+ * @returns the query result
1209
+ */
1210
+ export declare const isCanvas: (element?: unknown) => element is HTMLCanvasElement;
1211
+ /**
1212
+ * Checks if an object is a `Document`.
1213
+ *
1214
+ * @see https://dom.spec.whatwg.org/#node
1215
+ *
1216
+ * @param obj the target object
1217
+ * @returns the query result
1218
+ */
1219
+ export declare const isDocument: (obj?: unknown) => obj is Document;
1220
+ export declare interface CustomElement extends HTMLElement {
1221
+ shadowRoot: ShadowRoot;
1222
+ connectedCallback?: () => void;
1223
+ disconnectedCallback?: () => void;
1224
+ adoptedCallback?: () => void;
1225
+ attributeChangedCallback?: () => void;
1226
+ }
1227
+ /**
1228
+ * Checks if an object is a `CustomElement`.
1229
+ *
1230
+ * @param element the target object
1231
+ * @returns the query result
1232
+ */
1233
+ export declare const isCustomElement: <T extends CustomElement>(element?: unknown) => element is T;
1234
+ /**
1235
+ * Checks if an object is an `Element`.
1236
+ *
1237
+ * @see https://dom.spec.whatwg.org/#node
1238
+ *
1239
+ * ```
1240
+ * ELEMENT_NODE = 1;
1241
+ * ATTRIBUTE_NODE = 2;
1242
+ * TEXT_NODE = 3;
1243
+ * CDATA_SECTION_NODE = 4;
1244
+ * ENTITY_REFERENCE_NODE = 5; // legacy
1245
+ * ENTITY_NODE = 6; // legacy
1246
+ * PROCESSING_INSTRUCTION_NODE = 7;
1247
+ * COMMENT_NODE = 8;
1248
+ * DOCUMENT_NODE = 9;
1249
+ * DOCUMENT_TYPE_NODE = 10;
1250
+ * DOCUMENT_FRAGMENT_NODE = 11;
1251
+ * ```
1252
+ * @param element the target object
1253
+ * @returns the query result
1254
+ */
1255
+ export declare const isElement: (element?: unknown) => element is Element;
1256
+ /**
1257
+ * Utility to determine if an `HTMLElement`
1258
+ * is partially visible in viewport.
1259
+ *
1260
+ * @param element target
1261
+ * @return the query result
1262
+ */
1263
+ export declare const isElementInScrollRange: (element?: HTMLElement) => boolean;
1264
+ /**
1265
+ * Utility to determine if an `HTMLElement`
1266
+ * is fully visible in the viewport.
1267
+ *
1268
+ * @param element target
1269
+ * @return the query result
1270
+ */
1271
+ export declare const isElementInViewport: (element?: HTMLElement) => boolean;
1272
+ /**
1273
+ * Checks if an object is an `Array` in which all items are `Element`.
1274
+ *
1275
+ * @param obj the target object
1276
+ * @returns the query result
1277
+ */
1278
+ export declare const isElementsArray: (obj?: unknown) => obj is HTMLElement[];
1279
+ /**
1280
+ * Checks if an object is a `Function`.
1281
+ *
1282
+ * @param fn the target object
1283
+ * @returns the query result
1284
+ */
1285
+ export declare const isFunction: (fn?: unknown) => fn is (...arg0: any[]) => any;
1286
+ /**
1287
+ * Checks if a value is an `Object`.
1288
+ *
1289
+ * @param obj the target object
1290
+ * @returns the query result
1291
+ */
1292
+ export declare const isObject: (obj?: unknown) => obj is object;
1293
+ /**
1294
+ * Checks if an object is an `HTMLCollection`.
1295
+ *
1296
+ * @param obj the target object
1297
+ * @returns the query result
1298
+ */
1299
+ export declare const isHTMLCollection: (obj?: unknown) => obj is HTMLCollection;
1300
+ /**
1301
+ * Checks if an element is an `HTMLElement`.
1302
+ *
1303
+ * @see https://dom.spec.whatwg.org/#node
1304
+ *
1305
+ * @param element the target object
1306
+ * @returns the query result
1307
+ */
1308
+ export declare const isHTMLElement: (element?: unknown) => element is HTMLElement;
1309
+ /**
1310
+ * Check if a target element is an `<img>`.
1311
+ *
1312
+ * @param element the target element
1313
+ * @returns the query result
1314
+ */
1315
+ export declare const isHTMLImageElement: (element?: unknown) => element is HTMLImageElement;
1316
+ /**
1317
+ * Checks if a string is a `JSON` string.
1318
+ *
1319
+ * @param str the target string
1320
+ * @returns the query result
1321
+ */
1322
+ export declare const isJSON: (str?: string) => boolean;
1323
+ /**
1324
+ * Checks if an element is a `Map`.
1325
+ *
1326
+ * @param obj the target object
1327
+ * @returns the query result
1328
+ */
1329
+ export declare const isMap: (obj?: unknown) => obj is Map<any, any>;
1330
+ /**
1331
+ * Checks if an element is a `WeakMap`.
1332
+ *
1333
+ * @param obj the target object
1334
+ * @returns the query result
1335
+ */
1336
+ export declare const isWeakMap: (obj?: unknown) => obj is WeakMap<any, any>;
1337
+ /**
1338
+ * Checks if an element is an `<svg>` (or any type of SVG element),
1339
+ * `<img>`, `<video>` or `<canvas>`.
1340
+ *
1341
+ * *Tooltip* / *Popover* works different with media elements.
1342
+ *
1343
+ * @param element the target element
1344
+ * @returns the query result
1345
+ */
1346
+ export declare const isMedia: (element?: unknown) => element is HTMLCanvasElement | HTMLImageElement | SVGElement | HTMLVideoElement;
1347
+ /**
1348
+ * Checks if an object is a `Node`.
1349
+ *
1350
+ * @param node the target object
1351
+ * @returns the query result
1352
+ */
1353
+ export declare const isNode: (node?: unknown) => node is Node;
1354
+ /**
1355
+ * Checks if an object is a `NodeList`.
1356
+ * => equivalent to `object instanceof NodeList`
1357
+ *
1358
+ * @param obj the target object
1359
+ * @returns the query result
1360
+ */
1361
+ export declare const isNodeList: (obj?: unknown) => obj is NodeList;
1362
+ /**
1363
+ * Shortie for `typeof SOMETHING === "number"`.
1364
+ *
1365
+ * @param num input value
1366
+ * @returns the query result
1367
+ */
1368
+ export declare const isNumber: (num?: unknown) => num is number;
1369
+ /**
1370
+ * Checks if a page is Right To Left.
1371
+ *
1372
+ * @param node the target
1373
+ * @returns the query result
1374
+ */
1375
+ export declare const isRTL: (node?: Node) => boolean;
1376
+ /**
1377
+ * Checks if a target `HTMLElement` is affected by scale.
1378
+ *
1379
+ * @see https://github.com/floating-ui/floating-ui
1380
+ *
1381
+ * @param element target
1382
+ * @returns the query result
1383
+ */
1384
+ export declare const isScaledElement: (element?: HTMLElement) => boolean;
1385
+ /**
1386
+ * Check if target is a `ShadowRoot`.
1387
+ *
1388
+ * @param element target
1389
+ * @returns the query result
1390
+ */
1391
+ export declare const isShadowRoot: (element?: unknown) => element is ShadowRoot;
1392
+ /**
1393
+ * Shortie for `typeof SOMETHING === "string"`.
1394
+ *
1395
+ * @param str input value
1396
+ * @returns the query result
1397
+ */
1398
+ export declare const isString: (str?: unknown) => str is string;
1399
+ /**
1400
+ * Check if an element is an `<svg>` or any other SVG element,
1401
+ * an equivalent to `SOMETHING instanceof SVGElement`.
1402
+ *
1403
+ * @param element the target element
1404
+ * @returns the query result
1405
+ */
1406
+ export declare const isSVGElement: (element?: unknown) => element is SVGElement;
1407
+ /**
1408
+ * Check if a target element is a `<table>`, `<td>` or `<th>`.
1409
+ * This specific check is important for determining
1410
+ * the `offsetParent` of a given element.
1411
+ *
1412
+ * @param element the target element
1413
+ * @returns the query result
1414
+ */
1415
+ export declare const isTableElement: (element?: unknown) => element is HTMLTableElement | HTMLTableCellElement;
1416
+ /**
1417
+ * Check if a target object is `Window`.
1418
+ * => equivalent to `object instanceof Window`
1419
+ *
1420
+ * @param obj the target object
1421
+ * @returns the query result
1422
+ */
1423
+ export declare const isWindow: (obj?: unknown) => obj is Window;
1424
+ /**
1425
+ * Shortcut for `HTMLElement.closest` method which also works
1426
+ * with children of `ShadowRoot`. The order of the parameters
1427
+ * is intentional since they're both required.
1428
+ *
1429
+ * @see https://stackoverflow.com/q/54520554/803358
1430
+ *
1431
+ * @param element Element to look into
1432
+ * @param selector the selector name
1433
+ * @return the query result
1434
+ */
1435
+ export declare const closest: (element: HTMLElement, selector: string) => HTMLElement | null;
1436
+ /**
1437
+ * Utility to check if target is typeof `HTMLElement`, `Element`, `Node`
1438
+ * or find one that matches a selector.
1439
+ *
1440
+ * @param selector the input selector or target element
1441
+ * @param parent optional node to look into
1442
+ * @return the `HTMLElement` or `querySelector` result
1443
+ */
1444
+ export declare const querySelector: (selector: HTMLElement | string, parent?: ParentNode) => HTMLElement | null;
1445
+ /**
1446
+ * Returns an `Array` of `Node` elements that are registered as
1447
+ * `CustomElement`.
1448
+ *
1449
+ * @see https://stackoverflow.com/questions/27334365/how-to-get-list-of-registered-custom-elements
1450
+ *
1451
+ * @param parent parent to look into
1452
+ * @returns the query result
1453
+ */
1454
+ export declare const getCustomElements: (parent?: ParentNode) => CustomElement[];
1455
+ /**
1456
+ * Returns an `HTMLElement` that matches the id in the document.
1457
+ * Within multiple <iframe> elements, a `parent` parameter
1458
+ * would decisively locate the correct element.
1459
+ *
1460
+ * @param id the ID selector
1461
+ * @param context an element in it's document or document
1462
+ * @returns the requested element
1463
+ */
1464
+ export declare const getElementById: (id: string, context?: Node) => HTMLElement | null;
1465
+ /**
1466
+ * A shortcut for `(document|Element).querySelectorAll`.
1467
+ *
1468
+ * @param selector the input selector
1469
+ * @param parent optional node to look into
1470
+ * @return the query result
1471
+ */
1472
+ export declare const querySelectorAll: (selector: string, parent?: ParentNode) => NodeListOf<HTMLElement>;
1473
+ /**
1474
+ * Shortcut for `HTMLElement.getElementsByTagName` method. Some `Node` elements
1475
+ * like `ShadowRoot` do not support `getElementsByTagName`.
1476
+ *
1477
+ * @param selector the tag name
1478
+ * @param parent optional Element to look into
1479
+ * @return the 'HTMLCollection'
1480
+ */
1481
+ export declare const getElementsByTagName: (selector: string, parent?: ParentNode) => HTMLCollectionOf<HTMLElement>;
1482
+ /**
1483
+ * Shortcut for `HTMLElement.getElementsByClassName` method. Some `Node` elements
1484
+ * like `ShadowRoot` do not support `getElementsByClassName`.
1485
+ *
1486
+ * @param selector the class name
1487
+ * @param parent optional Element to look into
1488
+ * @return the 'HTMLCollection'
1489
+ */
1490
+ export declare const getElementsByClassName: (selector: string, parent?: ParentNode) => HTMLCollectionOf<HTMLElement>;
1491
+ /**
1492
+ * Check if element matches a CSS selector.
1493
+ *
1494
+ * @param target the target element
1495
+ * @param selector the selector to match
1496
+ * @returns the query result
1497
+ */
1498
+ export declare const matches: (target: Element, selector: string) => boolean;
1499
+
1500
+ export as namespace SHORTY;
1501
+
1502
+ export {};