@thednp/shorty 1.0.2 → 2.0.0-alpha2

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 (903) hide show
  1. package/README.md +193 -202
  2. package/dist/shorty.cjs.js +1592 -0
  3. package/dist/shorty.cjs.js.map +7 -0
  4. package/dist/shorty.cjs.min.js +3 -0
  5. package/dist/shorty.cjs.min.js.map +7 -0
  6. package/dist/shorty.es5.js +1593 -0
  7. package/dist/shorty.es5.js.map +7 -0
  8. package/dist/shorty.es5.min.js +4 -0
  9. package/dist/shorty.es5.min.js.map +7 -0
  10. package/dist/shorty.js +1494 -2550
  11. package/dist/shorty.js.map +7 -0
  12. package/dist/shorty.min.js +3 -2
  13. package/dist/shorty.min.js.map +7 -0
  14. package/package.json +30 -30
  15. package/src/attr/getAttribute.js +2 -9
  16. package/src/attr/getAttribute.js.map +1 -0
  17. package/src/attr/getAttribute.ts +10 -0
  18. package/src/attr/getAttributeNS.js +2 -10
  19. package/src/attr/getAttributeNS.js.map +1 -0
  20. package/src/attr/getAttributeNS.ts +11 -0
  21. package/src/attr/hasAttribute.js +2 -9
  22. package/src/attr/hasAttribute.js.map +1 -0
  23. package/src/attr/hasAttribute.ts +9 -0
  24. package/src/attr/hasAttributeNS.js +2 -10
  25. package/src/attr/hasAttributeNS.js.map +1 -0
  26. package/src/attr/hasAttributeNS.ts +11 -0
  27. package/src/attr/removeAttribute.js +2 -9
  28. package/src/attr/removeAttribute.js.map +1 -0
  29. package/src/attr/removeAttribute.ts +8 -0
  30. package/src/attr/removeAttributeNS.js +2 -10
  31. package/src/attr/removeAttributeNS.js.map +1 -0
  32. package/src/attr/removeAttributeNS.ts +10 -0
  33. package/src/attr/setAttribute.js +2 -10
  34. package/src/attr/setAttribute.js.map +1 -0
  35. package/src/attr/setAttribute.ts +10 -0
  36. package/src/attr/setAttributeNS.js +2 -11
  37. package/src/attr/setAttributeNS.js.map +1 -0
  38. package/src/attr/setAttributeNS.ts +11 -0
  39. package/src/blocks/documentBody.js +2 -5
  40. package/src/blocks/documentBody.js.map +1 -0
  41. package/src/blocks/documentBody.ts +5 -0
  42. package/src/blocks/documentElement.js +2 -5
  43. package/src/blocks/documentElement.js.map +1 -0
  44. package/src/blocks/documentElement.ts +5 -0
  45. package/src/blocks/documentHead.js +2 -5
  46. package/src/blocks/documentHead.js.map +1 -0
  47. package/src/blocks/documentHead.ts +5 -0
  48. package/src/boolean/isApple.js +7 -13
  49. package/src/boolean/isApple.js.map +1 -0
  50. package/src/boolean/isApple.ts +14 -0
  51. package/src/boolean/isFirefox.js +3 -10
  52. package/src/boolean/isFirefox.js.map +1 -0
  53. package/src/boolean/isFirefox.ts +9 -0
  54. package/src/boolean/isMobile.js +12 -20
  55. package/src/boolean/isMobile.js.map +1 -0
  56. package/src/boolean/isMobile.ts +19 -0
  57. package/src/boolean/support3DTransform.js +3 -9
  58. package/src/boolean/support3DTransform.js.map +1 -0
  59. package/src/boolean/support3DTransform.ts +10 -0
  60. package/src/boolean/supportAnimation.js +3 -9
  61. package/src/boolean/supportAnimation.js.map +1 -0
  62. package/src/boolean/supportAnimation.ts +8 -0
  63. package/src/boolean/supportPassive.js +18 -28
  64. package/src/boolean/supportPassive.js.map +1 -0
  65. package/src/boolean/supportPassive.ts +28 -0
  66. package/src/boolean/supportTouch.js +2 -7
  67. package/src/boolean/supportTouch.js.map +1 -0
  68. package/src/boolean/supportTouch.ts +7 -0
  69. package/src/boolean/supportTransform.js +3 -9
  70. package/src/boolean/supportTransform.js.map +1 -0
  71. package/src/boolean/supportTransform.ts +8 -0
  72. package/src/boolean/supportTransition.js +3 -9
  73. package/src/boolean/supportTransition.js.map +1 -0
  74. package/src/boolean/supportTransition.ts +8 -0
  75. package/src/class/addClass.js +4 -10
  76. package/src/class/addClass.js.map +1 -0
  77. package/src/class/addClass.ts +11 -0
  78. package/src/class/hasClass.js +4 -10
  79. package/src/class/hasClass.js.map +1 -0
  80. package/src/class/hasClass.ts +11 -0
  81. package/src/class/removeClass.js +4 -10
  82. package/src/class/removeClass.js.map +1 -0
  83. package/src/class/removeClass.ts +11 -0
  84. package/src/event/off.js +4 -9
  85. package/src/event/off.js.map +1 -0
  86. package/src/event/off.ts +12 -0
  87. package/src/event/on.js +4 -9
  88. package/src/event/on.js.map +1 -0
  89. package/src/event/on.ts +12 -0
  90. package/src/event/one.js +12 -23
  91. package/src/event/one.js.map +1 -0
  92. package/src/event/one.ts +25 -0
  93. package/src/get/getBoundingClientRect.js +22 -37
  94. package/src/get/getBoundingClientRect.js.map +1 -0
  95. package/src/get/getBoundingClientRect.ts +38 -0
  96. package/src/get/getDocument.js +13 -16
  97. package/src/get/getDocument.js.map +1 -0
  98. package/src/get/getDocument.ts +23 -0
  99. package/src/get/getDocumentBody.js +5 -10
  100. package/src/get/getDocumentBody.js.map +1 -0
  101. package/src/get/getDocumentBody.ts +13 -0
  102. package/src/get/getDocumentElement.js +5 -11
  103. package/src/get/getDocumentElement.js.map +1 -0
  104. package/src/get/getDocumentElement.ts +13 -0
  105. package/src/get/getDocumentHead.js +5 -10
  106. package/src/get/getDocumentHead.js.map +1 -0
  107. package/src/get/getDocumentHead.ts +12 -0
  108. package/src/get/getElementAnimationDelay.js +11 -21
  109. package/src/get/getElementAnimationDelay.js.map +1 -0
  110. package/src/get/getElementAnimationDelay.ts +22 -0
  111. package/src/get/getElementAnimationDuration.js +11 -20
  112. package/src/get/getElementAnimationDuration.js.map +1 -0
  113. package/src/get/getElementAnimationDuration.ts +22 -0
  114. package/src/get/getElementStyle.js +7 -20
  115. package/src/get/getElementStyle.js.map +1 -0
  116. package/src/get/getElementStyle.ts +24 -0
  117. package/src/get/getElementTransitionDelay.js +11 -20
  118. package/src/get/getElementTransitionDelay.js.map +1 -0
  119. package/src/get/getElementTransitionDelay.ts +22 -0
  120. package/src/get/getElementTransitionDuration.js +11 -20
  121. package/src/get/getElementTransitionDuration.js.map +1 -0
  122. package/src/get/getElementTransitionDuration.ts +22 -0
  123. package/src/get/getNodeScroll.js +8 -16
  124. package/src/get/getNodeScroll.js.map +1 -0
  125. package/src/get/getNodeScroll.ts +20 -0
  126. package/src/get/getParentNode.js +14 -23
  127. package/src/get/getParentNode.js.map +1 -0
  128. package/src/get/getParentNode.ts +27 -0
  129. package/src/get/getRectRelativeToOffsetParent.js +20 -32
  130. package/src/get/getRectRelativeToOffsetParent.js.map +1 -0
  131. package/src/get/getRectRelativeToOffsetParent.ts +39 -0
  132. package/src/get/getUID.js +31 -34
  133. package/src/get/getUID.js.map +1 -0
  134. package/src/get/getUID.ts +42 -0
  135. package/src/get/getWindow.js +12 -29
  136. package/src/get/getWindow.js.map +1 -0
  137. package/src/get/getWindow.ts +22 -0
  138. package/src/index.js +416 -475
  139. package/src/index.js.map +1 -0
  140. package/src/index.ts +448 -0
  141. package/src/interface/boundingClientRect.js +1 -0
  142. package/src/interface/boundingClientRect.js.map +1 -0
  143. package/src/interface/boundingClientRect.ts +10 -0
  144. package/src/interface/css4Declaration.js +1 -0
  145. package/src/interface/css4Declaration.js.map +1 -0
  146. package/src/interface/css4Declaration.ts +3 -0
  147. package/src/interface/customElement.js +1 -0
  148. package/src/interface/customElement.js.map +1 -0
  149. package/src/interface/customElement.ts +8 -0
  150. package/src/interface/navigatorUA.js +1 -0
  151. package/src/interface/navigatorUA.js.map +1 -0
  152. package/src/interface/navigatorUA.ts +15 -0
  153. package/src/interface/offsetRect.js +1 -0
  154. package/src/interface/offsetRect.js.map +1 -0
  155. package/src/interface/offsetRect.ts +6 -0
  156. package/src/interface/originalEvent.js +1 -0
  157. package/src/interface/originalEvent.js.map +1 -0
  158. package/src/interface/originalEvent.ts +3 -0
  159. package/src/is/isArray.js +2 -8
  160. package/src/is/isArray.js.map +1 -0
  161. package/src/is/isArray.ts +9 -0
  162. package/src/is/isCanvas.js +2 -0
  163. package/src/is/isCanvas.js.map +1 -0
  164. package/src/is/isCanvas.ts +11 -0
  165. package/src/is/isCustomElement.js +2 -8
  166. package/src/is/isCustomElement.js.map +1 -0
  167. package/src/is/isCustomElement.ts +12 -0
  168. package/src/is/isDocument.js +2 -10
  169. package/src/is/isDocument.js.map +1 -0
  170. package/src/is/isDocument.ts +10 -0
  171. package/src/is/isElement.js +2 -22
  172. package/src/is/isElement.js.map +1 -0
  173. package/src/is/isElement.ts +22 -0
  174. package/src/is/isElementInScrollRange.js +11 -20
  175. package/src/is/isElementInScrollRange.js.map +1 -0
  176. package/src/is/isElementInScrollRange.ts +20 -0
  177. package/src/is/isElementInViewport.js +11 -26
  178. package/src/is/isElementInViewport.js.map +1 -0
  179. package/src/is/isElementInViewport.ts +20 -0
  180. package/src/is/isElementsArray.js +4 -12
  181. package/src/is/isElementsArray.js.map +1 -0
  182. package/src/is/isElementsArray.ts +13 -0
  183. package/src/is/isFunction.js +2 -8
  184. package/src/is/isFunction.js.map +1 -0
  185. package/src/is/isFunction.ts +10 -0
  186. package/src/is/isHTMLCollection.js +2 -8
  187. package/src/is/isHTMLCollection.js.map +1 -0
  188. package/src/is/isHTMLCollection.ts +10 -0
  189. package/src/is/isHTMLElement.js +2 -9
  190. package/src/is/isHTMLElement.js.map +1 -0
  191. package/src/is/isHTMLElement.ts +10 -0
  192. package/src/is/isHTMLImageElement.js +2 -8
  193. package/src/is/isHTMLImageElement.js.map +1 -0
  194. package/src/is/isHTMLImageElement.ts +9 -0
  195. package/src/is/isMap.js +2 -0
  196. package/src/is/isMap.js.map +1 -0
  197. package/src/is/isMap.ts +8 -0
  198. package/src/is/isMedia.js +5 -14
  199. package/src/is/isMedia.js.map +1 -0
  200. package/src/is/isMedia.ts +18 -0
  201. package/src/is/isNode.js +2 -9
  202. package/src/is/isNode.js.map +1 -0
  203. package/src/is/isNode.ts +11 -0
  204. package/src/is/isNodeList.js +2 -9
  205. package/src/is/isNodeList.js.map +1 -0
  206. package/src/is/isNodeList.ts +11 -0
  207. package/src/is/isNumber.js +2 -8
  208. package/src/is/isNumber.js.map +1 -0
  209. package/src/is/isNumber.ts +9 -0
  210. package/src/is/isObject.js +2 -0
  211. package/src/is/isObject.js.map +1 -0
  212. package/src/is/isObject.ts +9 -0
  213. package/src/is/isRTL.js +3 -9
  214. package/src/is/isRTL.js.map +1 -0
  215. package/src/is/isRTL.ts +10 -0
  216. package/src/is/isSVGElement.js +2 -11
  217. package/src/is/isSVGElement.js.map +1 -0
  218. package/src/is/isSVGElement.ts +11 -0
  219. package/src/is/isScaledElement.js +9 -17
  220. package/src/is/isScaledElement.js.map +1 -0
  221. package/src/is/isScaledElement.ts +16 -0
  222. package/src/is/isShadowRoot.js +2 -9
  223. package/src/is/isShadowRoot.js.map +1 -0
  224. package/src/is/isShadowRoot.ts +10 -0
  225. package/src/is/isString.js +2 -8
  226. package/src/is/isString.js.map +1 -0
  227. package/src/is/isString.ts +9 -0
  228. package/src/is/isTableElement.js +2 -11
  229. package/src/is/isTableElement.js.map +1 -0
  230. package/src/is/isTableElement.ts +12 -0
  231. package/src/is/isWeakMap.js +2 -0
  232. package/src/is/isWeakMap.js.map +1 -0
  233. package/src/is/isWeakMap.ts +9 -0
  234. package/src/is/isWindow.js +2 -9
  235. package/src/is/isWindow.js.map +1 -0
  236. package/src/is/isWindow.ts +10 -0
  237. package/src/misc/ArrayFrom.js +2 -8
  238. package/src/misc/ArrayFrom.js.map +1 -0
  239. package/src/misc/ArrayFrom.ts +11 -0
  240. package/src/misc/Float32ArrayFrom.js +2 -7
  241. package/src/misc/Float32ArrayFrom.js.map +1 -0
  242. package/src/misc/Float32ArrayFrom.ts +9 -0
  243. package/src/misc/Float64ArrayFrom.js +2 -7
  244. package/src/misc/Float64ArrayFrom.js.map +1 -0
  245. package/src/misc/Float64ArrayFrom.ts +9 -0
  246. package/src/misc/ObjectAssign.js +2 -7
  247. package/src/misc/ObjectAssign.js.map +1 -0
  248. package/src/misc/ObjectAssign.ts +11 -0
  249. package/src/misc/ObjectEntries.js +2 -7
  250. package/src/misc/ObjectEntries.js.map +1 -0
  251. package/src/misc/ObjectEntries.ts +8 -0
  252. package/src/misc/ObjectKeys.js +2 -7
  253. package/src/misc/ObjectKeys.js.map +1 -0
  254. package/src/misc/ObjectKeys.ts +8 -0
  255. package/src/misc/ObjectValues.js +2 -7
  256. package/src/misc/ObjectValues.js.map +1 -0
  257. package/src/misc/ObjectValues.ts +8 -0
  258. package/src/misc/OriginalEvent.js +13 -19
  259. package/src/misc/OriginalEvent.js.map +1 -0
  260. package/src/misc/OriginalEvent.ts +24 -0
  261. package/src/misc/createElement.js +24 -27
  262. package/src/misc/createElement.js.map +1 -0
  263. package/src/misc/createElement.ts +39 -0
  264. package/src/misc/createElementNS.js +24 -30
  265. package/src/misc/createElementNS.js.map +1 -0
  266. package/src/misc/createElementNS.ts +44 -0
  267. package/src/misc/data.js +35 -78
  268. package/src/misc/data.js.map +1 -0
  269. package/src/misc/data.ts +81 -0
  270. package/src/misc/dispatchEvent.js +2 -8
  271. package/src/misc/dispatchEvent.js.map +1 -0
  272. package/src/misc/dispatchEvent.ts +9 -0
  273. package/src/misc/distinct.js +2 -10
  274. package/src/misc/distinct.js.map +1 -0
  275. package/src/misc/distinct.ts +17 -0
  276. package/src/misc/emulateAnimationEnd.js +28 -40
  277. package/src/misc/emulateAnimationEnd.js.map +1 -0
  278. package/src/misc/emulateAnimationEnd.ts +39 -0
  279. package/src/misc/emulateTransitionEnd.js +28 -40
  280. package/src/misc/emulateTransitionEnd.js.map +1 -0
  281. package/src/misc/emulateTransitionEnd.ts +39 -0
  282. package/src/misc/focus.js +2 -7
  283. package/src/misc/focus.js.map +1 -0
  284. package/src/misc/focus.ts +9 -0
  285. package/src/misc/noop.js +2 -3
  286. package/src/misc/noop.js.map +1 -0
  287. package/src/misc/noop.ts +4 -0
  288. package/src/misc/normalizeOptions.js +33 -49
  289. package/src/misc/normalizeOptions.js.map +1 -0
  290. package/src/misc/normalizeOptions.ts +55 -0
  291. package/src/misc/normalizeValue.js +16 -34
  292. package/src/misc/normalizeValue.js.map +1 -0
  293. package/src/misc/normalizeValue.ts +30 -0
  294. package/src/misc/passiveHandler.js +2 -7
  295. package/src/misc/passiveHandler.js.map +1 -0
  296. package/src/misc/passiveHandler.ts +6 -0
  297. package/src/misc/reflow.js +2 -8
  298. package/src/misc/reflow.js.map +1 -0
  299. package/src/misc/reflow.ts +9 -0
  300. package/src/misc/setElementStyle.js +15 -19
  301. package/src/misc/setElementStyle.js.map +1 -0
  302. package/src/misc/setElementStyle.ts +21 -0
  303. package/src/misc/timer.js +50 -75
  304. package/src/misc/timer.js.map +1 -0
  305. package/src/misc/timer.ts +81 -0
  306. package/src/misc/toLowerCase.js +2 -8
  307. package/src/misc/toLowerCase.js.map +1 -0
  308. package/src/misc/toLowerCase.ts +9 -0
  309. package/src/misc/toUpperCase.js +2 -8
  310. package/src/misc/toUpperCase.js.map +1 -0
  311. package/src/misc/toUpperCase.ts +9 -0
  312. package/src/selectors/closest.js +7 -16
  313. package/src/selectors/closest.js.map +1 -0
  314. package/src/selectors/closest.ts +20 -0
  315. package/src/selectors/getCustomElements.js +7 -16
  316. package/src/selectors/getCustomElements.js.map +1 -0
  317. package/src/selectors/getCustomElements.ts +19 -0
  318. package/src/selectors/getElementById.js +5 -14
  319. package/src/selectors/getElementById.js.map +1 -0
  320. package/src/selectors/getElementById.ts +16 -0
  321. package/src/selectors/getElementsByClassName.js +7 -15
  322. package/src/selectors/getElementsByClassName.js.map +1 -0
  323. package/src/selectors/getElementsByClassName.ts +22 -0
  324. package/src/selectors/getElementsByTagName.js +7 -15
  325. package/src/selectors/getElementsByTagName.js.map +1 -0
  326. package/src/selectors/getElementsByTagName.ts +20 -0
  327. package/src/selectors/matches.js +2 -10
  328. package/src/selectors/matches.js.map +1 -0
  329. package/src/selectors/matches.ts +10 -0
  330. package/src/selectors/querySelector.js +10 -19
  331. package/src/selectors/querySelector.js.map +1 -0
  332. package/src/selectors/querySelector.ts +21 -0
  333. package/src/selectors/querySelectorAll.js +7 -14
  334. package/src/selectors/querySelectorAll.js.map +1 -0
  335. package/src/selectors/querySelectorAll.ts +16 -0
  336. package/src/strings/DOMContentLoadedEvent.js +2 -6
  337. package/src/strings/DOMContentLoadedEvent.js.map +1 -0
  338. package/src/strings/DOMContentLoadedEvent.ts +5 -0
  339. package/src/strings/DOMMouseScrollEvent.js +2 -6
  340. package/src/strings/DOMMouseScrollEvent.js.map +1 -0
  341. package/src/strings/DOMMouseScrollEvent.ts +5 -0
  342. package/src/strings/abortEvent.js +2 -6
  343. package/src/strings/abortEvent.js.map +1 -0
  344. package/src/strings/abortEvent.ts +5 -0
  345. package/src/strings/addEventListener.js +2 -6
  346. package/src/strings/addEventListener.js.map +1 -0
  347. package/src/strings/addEventListener.ts +5 -0
  348. package/src/strings/animationDelay.js +2 -6
  349. package/src/strings/animationDelay.js.map +1 -0
  350. package/src/strings/animationDelay.ts +5 -0
  351. package/src/strings/animationDuration.js +2 -6
  352. package/src/strings/animationDuration.js.map +1 -0
  353. package/src/strings/animationDuration.ts +5 -0
  354. package/src/strings/animationEndEvent.js +2 -6
  355. package/src/strings/animationEndEvent.js.map +1 -0
  356. package/src/strings/animationEndEvent.ts +5 -0
  357. package/src/strings/animationName.js +2 -6
  358. package/src/strings/animationName.js.map +1 -0
  359. package/src/strings/animationName.ts +5 -0
  360. package/src/strings/ariaChecked.js +2 -6
  361. package/src/strings/ariaChecked.js.map +1 -0
  362. package/src/strings/ariaChecked.ts +5 -0
  363. package/src/strings/ariaDescribedBy.js +2 -6
  364. package/src/strings/ariaDescribedBy.js.map +1 -0
  365. package/src/strings/ariaDescribedBy.ts +5 -0
  366. package/src/strings/ariaDescription.js +2 -6
  367. package/src/strings/ariaDescription.js.map +1 -0
  368. package/src/strings/ariaDescription.ts +5 -0
  369. package/src/strings/ariaExpanded.js +2 -6
  370. package/src/strings/ariaExpanded.js.map +1 -0
  371. package/src/strings/ariaExpanded.ts +5 -0
  372. package/src/strings/ariaHasPopup.js +2 -6
  373. package/src/strings/ariaHasPopup.js.map +1 -0
  374. package/src/strings/ariaHasPopup.ts +5 -0
  375. package/src/strings/ariaHidden.js +2 -6
  376. package/src/strings/ariaHidden.js.map +1 -0
  377. package/src/strings/ariaHidden.ts +5 -0
  378. package/src/strings/ariaLabel.js +2 -6
  379. package/src/strings/ariaLabel.js.map +1 -0
  380. package/src/strings/ariaLabel.ts +5 -0
  381. package/src/strings/ariaLabelledBy.js +2 -6
  382. package/src/strings/ariaLabelledBy.js.map +1 -0
  383. package/src/strings/ariaLabelledBy.ts +5 -0
  384. package/src/strings/ariaModal.js +2 -6
  385. package/src/strings/ariaModal.js.map +1 -0
  386. package/src/strings/ariaModal.ts +5 -0
  387. package/src/strings/ariaPressed.js +2 -6
  388. package/src/strings/ariaPressed.js.map +1 -0
  389. package/src/strings/ariaPressed.ts +5 -0
  390. package/src/strings/ariaSelected.js +2 -6
  391. package/src/strings/ariaSelected.js.map +1 -0
  392. package/src/strings/ariaSelected.ts +5 -0
  393. package/src/strings/ariaValueMax.js +2 -6
  394. package/src/strings/ariaValueMax.js.map +1 -0
  395. package/src/strings/ariaValueMax.ts +5 -0
  396. package/src/strings/ariaValueMin.js +2 -6
  397. package/src/strings/ariaValueMin.js.map +1 -0
  398. package/src/strings/ariaValueMin.ts +5 -0
  399. package/src/strings/ariaValueNow.js +2 -6
  400. package/src/strings/ariaValueNow.js.map +1 -0
  401. package/src/strings/ariaValueNow.ts +5 -0
  402. package/src/strings/ariaValueText.js +2 -6
  403. package/src/strings/ariaValueText.js.map +1 -0
  404. package/src/strings/ariaValueText.ts +5 -0
  405. package/src/strings/beforeunloadEvent.js +2 -6
  406. package/src/strings/beforeunloadEvent.js.map +1 -0
  407. package/src/strings/beforeunloadEvent.ts +5 -0
  408. package/src/strings/bezierEasings.js +28 -33
  409. package/src/strings/bezierEasings.js.map +1 -0
  410. package/src/strings/bezierEasings.ts +32 -0
  411. package/src/strings/blurEvent.js +2 -6
  412. package/src/strings/blurEvent.js.map +1 -0
  413. package/src/strings/blurEvent.ts +5 -0
  414. package/src/strings/changeEvent.js +2 -6
  415. package/src/strings/changeEvent.js.map +1 -0
  416. package/src/strings/changeEvent.ts +5 -0
  417. package/src/strings/contextmenuEvent.js +2 -6
  418. package/src/strings/contextmenuEvent.js.map +1 -0
  419. package/src/strings/contextmenuEvent.ts +5 -0
  420. package/src/strings/errorEvent.js +2 -6
  421. package/src/strings/errorEvent.js.map +1 -0
  422. package/src/strings/errorEvent.ts +5 -0
  423. package/src/strings/focusEvent.js +2 -6
  424. package/src/strings/focusEvent.js.map +1 -0
  425. package/src/strings/focusEvent.ts +5 -0
  426. package/src/strings/focusEvents.js +2 -6
  427. package/src/strings/focusEvents.js.map +1 -0
  428. package/src/strings/focusEvents.ts +5 -0
  429. package/src/strings/focusinEvent.js +2 -6
  430. package/src/strings/focusinEvent.js.map +1 -0
  431. package/src/strings/focusinEvent.ts +5 -0
  432. package/src/strings/focusoutEvent.js +2 -6
  433. package/src/strings/focusoutEvent.js.map +1 -0
  434. package/src/strings/focusoutEvent.ts +5 -0
  435. package/src/strings/gesturechangeEvent.js +2 -6
  436. package/src/strings/gesturechangeEvent.js.map +1 -0
  437. package/src/strings/gesturechangeEvent.ts +5 -0
  438. package/src/strings/gestureendEvent.js +2 -6
  439. package/src/strings/gestureendEvent.js.map +1 -0
  440. package/src/strings/gestureendEvent.ts +5 -0
  441. package/src/strings/gesturestartEvent.js +2 -6
  442. package/src/strings/gesturestartEvent.js.map +1 -0
  443. package/src/strings/gesturestartEvent.ts +5 -0
  444. package/src/strings/keyAlt.js +2 -7
  445. package/src/strings/keyAlt.js.map +1 -0
  446. package/src/strings/keyAlt.ts +7 -0
  447. package/src/strings/keyArrowDown.js +2 -7
  448. package/src/strings/keyArrowDown.js.map +1 -0
  449. package/src/strings/keyArrowDown.ts +7 -0
  450. package/src/strings/keyArrowLeft.js +2 -7
  451. package/src/strings/keyArrowLeft.js.map +1 -0
  452. package/src/strings/keyArrowLeft.ts +7 -0
  453. package/src/strings/keyArrowRight.js +2 -7
  454. package/src/strings/keyArrowRight.js.map +1 -0
  455. package/src/strings/keyArrowRight.ts +7 -0
  456. package/src/strings/keyArrowUp.js +2 -7
  457. package/src/strings/keyArrowUp.js.map +1 -0
  458. package/src/strings/keyArrowUp.ts +7 -0
  459. package/src/strings/keyBackspace.js +2 -7
  460. package/src/strings/keyBackspace.js.map +1 -0
  461. package/src/strings/keyBackspace.ts +7 -0
  462. package/src/strings/keyCapsLock.js +2 -7
  463. package/src/strings/keyCapsLock.js.map +1 -0
  464. package/src/strings/keyCapsLock.ts +7 -0
  465. package/src/strings/keyControl.js +2 -7
  466. package/src/strings/keyControl.js.map +1 -0
  467. package/src/strings/keyControl.ts +7 -0
  468. package/src/strings/keyDelete.js +2 -7
  469. package/src/strings/keyDelete.js.map +1 -0
  470. package/src/strings/keyDelete.ts +7 -0
  471. package/src/strings/keyEnter.js +2 -7
  472. package/src/strings/keyEnter.js.map +1 -0
  473. package/src/strings/keyEnter.ts +7 -0
  474. package/src/strings/keyEscape.js +2 -7
  475. package/src/strings/keyEscape.js.map +1 -0
  476. package/src/strings/keyEscape.ts +7 -0
  477. package/src/strings/keyInsert.js +2 -7
  478. package/src/strings/keyInsert.js.map +1 -0
  479. package/src/strings/keyInsert.ts +7 -0
  480. package/src/strings/keyMeta.js +2 -7
  481. package/src/strings/keyMeta.js.map +1 -0
  482. package/src/strings/keyMeta.ts +7 -0
  483. package/src/strings/keyPause.js +2 -7
  484. package/src/strings/keyPause.js.map +1 -0
  485. package/src/strings/keyPause.ts +7 -0
  486. package/src/strings/keyScrollLock.js +2 -7
  487. package/src/strings/keyScrollLock.js.map +1 -0
  488. package/src/strings/keyScrollLock.ts +7 -0
  489. package/src/strings/keyShift.js +2 -7
  490. package/src/strings/keyShift.js.map +1 -0
  491. package/src/strings/keyShift.ts +7 -0
  492. package/src/strings/keySpace.js +2 -7
  493. package/src/strings/keySpace.js.map +1 -0
  494. package/src/strings/keySpace.ts +7 -0
  495. package/src/strings/keyTab.js +2 -7
  496. package/src/strings/keyTab.js.map +1 -0
  497. package/src/strings/keyTab.ts +7 -0
  498. package/src/strings/keyboardEventKeys.js +22 -27
  499. package/src/strings/keyboardEventKeys.js.map +1 -0
  500. package/src/strings/keyboardEventKeys.ts +26 -0
  501. package/src/strings/keydownEvent.js +2 -6
  502. package/src/strings/keydownEvent.js.map +1 -0
  503. package/src/strings/keydownEvent.ts +5 -0
  504. package/src/strings/keypressEvent.js +2 -6
  505. package/src/strings/keypressEvent.js.map +1 -0
  506. package/src/strings/keypressEvent.ts +5 -0
  507. package/src/strings/keyupEvent.js +2 -6
  508. package/src/strings/keyupEvent.js.map +1 -0
  509. package/src/strings/keyupEvent.ts +5 -0
  510. package/src/strings/loadEvent.js +2 -6
  511. package/src/strings/loadEvent.js.map +1 -0
  512. package/src/strings/loadEvent.ts +5 -0
  513. package/src/strings/loadstartEvent.js +2 -6
  514. package/src/strings/loadstartEvent.js.map +1 -0
  515. package/src/strings/loadstartEvent.ts +5 -0
  516. package/src/strings/mouseClickEvents.js +2 -6
  517. package/src/strings/mouseClickEvents.js.map +1 -0
  518. package/src/strings/mouseClickEvents.ts +5 -0
  519. package/src/strings/mouseHoverEvents.js +4 -7
  520. package/src/strings/mouseHoverEvents.js.map +1 -0
  521. package/src/strings/mouseHoverEvents.ts +8 -0
  522. package/src/strings/mouseSwipeEvents.js +7 -8
  523. package/src/strings/mouseSwipeEvents.js.map +1 -0
  524. package/src/strings/mouseSwipeEvents.ts +10 -0
  525. package/src/strings/mouseclickEvent.js +2 -6
  526. package/src/strings/mouseclickEvent.js.map +1 -0
  527. package/src/strings/mouseclickEvent.ts +5 -0
  528. package/src/strings/mousedblclickEvent.js +2 -6
  529. package/src/strings/mousedblclickEvent.js.map +1 -0
  530. package/src/strings/mousedblclickEvent.ts +5 -0
  531. package/src/strings/mousedownEvent.js +2 -6
  532. package/src/strings/mousedownEvent.js.map +1 -0
  533. package/src/strings/mousedownEvent.ts +5 -0
  534. package/src/strings/mouseenterEvent.js +2 -6
  535. package/src/strings/mouseenterEvent.js.map +1 -0
  536. package/src/strings/mouseenterEvent.ts +5 -0
  537. package/src/strings/mousehoverEvent.js +2 -6
  538. package/src/strings/mousehoverEvent.js.map +1 -0
  539. package/src/strings/mousehoverEvent.ts +5 -0
  540. package/src/strings/mouseinEvent.js +2 -6
  541. package/src/strings/mouseinEvent.js.map +1 -0
  542. package/src/strings/mouseinEvent.ts +5 -0
  543. package/src/strings/mouseleaveEvent.js +2 -6
  544. package/src/strings/mouseleaveEvent.js.map +1 -0
  545. package/src/strings/mouseleaveEvent.ts +5 -0
  546. package/src/strings/mousemoveEvent.js +2 -6
  547. package/src/strings/mousemoveEvent.js.map +1 -0
  548. package/src/strings/mousemoveEvent.ts +5 -0
  549. package/src/strings/mouseoutEvent.js +2 -6
  550. package/src/strings/mouseoutEvent.js.map +1 -0
  551. package/src/strings/mouseoutEvent.ts +5 -0
  552. package/src/strings/mouseoverEvent.js +2 -6
  553. package/src/strings/mouseoverEvent.js.map +1 -0
  554. package/src/strings/mouseoverEvent.ts +5 -0
  555. package/src/strings/mouseupEvent.js +2 -6
  556. package/src/strings/mouseupEvent.js.map +1 -0
  557. package/src/strings/mouseupEvent.ts +5 -0
  558. package/src/strings/mousewheelEvent.js +2 -6
  559. package/src/strings/mousewheelEvent.js.map +1 -0
  560. package/src/strings/mousewheelEvent.ts +5 -0
  561. package/src/strings/moveEvent.js +2 -6
  562. package/src/strings/moveEvent.js.map +1 -0
  563. package/src/strings/moveEvent.ts +5 -0
  564. package/src/strings/nativeEvents.js +103 -108
  565. package/src/strings/nativeEvents.js.map +1 -0
  566. package/src/strings/nativeEvents.ts +108 -0
  567. package/src/strings/offsetHeight.js +2 -6
  568. package/src/strings/offsetHeight.js.map +1 -0
  569. package/src/strings/offsetHeight.ts +5 -0
  570. package/src/strings/offsetWidth.js +2 -6
  571. package/src/strings/offsetWidth.js.map +1 -0
  572. package/src/strings/offsetWidth.ts +5 -0
  573. package/src/strings/orientationchangeEvent.js +2 -6
  574. package/src/strings/orientationchangeEvent.js.map +1 -0
  575. package/src/strings/orientationchangeEvent.ts +5 -0
  576. package/src/strings/pointercancelEvent.js +2 -6
  577. package/src/strings/pointercancelEvent.js.map +1 -0
  578. package/src/strings/pointercancelEvent.ts +5 -0
  579. package/src/strings/pointerdownEvent.js +2 -6
  580. package/src/strings/pointerdownEvent.js.map +1 -0
  581. package/src/strings/pointerdownEvent.ts +5 -0
  582. package/src/strings/pointerleaveEvent.js +2 -6
  583. package/src/strings/pointerleaveEvent.js.map +1 -0
  584. package/src/strings/pointerleaveEvent.ts +5 -0
  585. package/src/strings/pointermoveEvent.js +2 -6
  586. package/src/strings/pointermoveEvent.js.map +1 -0
  587. package/src/strings/pointermoveEvent.ts +5 -0
  588. package/src/strings/pointerupEvent.js +2 -6
  589. package/src/strings/pointerupEvent.js.map +1 -0
  590. package/src/strings/pointerupEvent.ts +5 -0
  591. package/src/strings/readystatechangeEvent.js +2 -6
  592. package/src/strings/readystatechangeEvent.js.map +1 -0
  593. package/src/strings/readystatechangeEvent.ts +5 -0
  594. package/src/strings/removeEventListener.js +2 -6
  595. package/src/strings/removeEventListener.js.map +1 -0
  596. package/src/strings/removeEventListener.ts +5 -0
  597. package/src/strings/resetEvent.js +2 -6
  598. package/src/strings/resetEvent.js.map +1 -0
  599. package/src/strings/resetEvent.ts +5 -0
  600. package/src/strings/resizeEvent.js +2 -6
  601. package/src/strings/resizeEvent.js.map +1 -0
  602. package/src/strings/resizeEvent.ts +5 -0
  603. package/src/strings/scrollEvent.js +2 -6
  604. package/src/strings/scrollEvent.js.map +1 -0
  605. package/src/strings/scrollEvent.ts +5 -0
  606. package/src/strings/scrollHeight.js +2 -6
  607. package/src/strings/scrollHeight.js.map +1 -0
  608. package/src/strings/scrollHeight.ts +5 -0
  609. package/src/strings/scrollWidth.js +2 -6
  610. package/src/strings/scrollWidth.js.map +1 -0
  611. package/src/strings/scrollWidth.ts +5 -0
  612. package/src/strings/selectEvent.js +2 -6
  613. package/src/strings/selectEvent.js.map +1 -0
  614. package/src/strings/selectEvent.ts +5 -0
  615. package/src/strings/selectendEvent.js +2 -6
  616. package/src/strings/selectendEvent.js.map +1 -0
  617. package/src/strings/selectendEvent.ts +5 -0
  618. package/src/strings/selectstartEvent.js +2 -6
  619. package/src/strings/selectstartEvent.js.map +1 -0
  620. package/src/strings/selectstartEvent.ts +5 -0
  621. package/src/strings/submitEvent.js +2 -6
  622. package/src/strings/submitEvent.js.map +1 -0
  623. package/src/strings/submitEvent.ts +5 -0
  624. package/src/strings/tabindex.js +2 -0
  625. package/src/strings/tabindex.js.map +1 -0
  626. package/src/strings/tabindex.ts +5 -0
  627. package/src/strings/touchEvents.js +7 -8
  628. package/src/strings/touchEvents.js.map +1 -0
  629. package/src/strings/touchEvents.ts +10 -0
  630. package/src/strings/touchcancelEvent.js +2 -6
  631. package/src/strings/touchcancelEvent.js.map +1 -0
  632. package/src/strings/touchcancelEvent.ts +5 -0
  633. package/src/strings/touchendEvent.js +2 -6
  634. package/src/strings/touchendEvent.js.map +1 -0
  635. package/src/strings/touchendEvent.ts +5 -0
  636. package/src/strings/touchmoveEvent.js +2 -6
  637. package/src/strings/touchmoveEvent.js.map +1 -0
  638. package/src/strings/touchmoveEvent.ts +5 -0
  639. package/src/strings/touchstartEvent.js +2 -6
  640. package/src/strings/touchstartEvent.js.map +1 -0
  641. package/src/strings/touchstartEvent.ts +5 -0
  642. package/src/strings/transitionDelay.js +2 -6
  643. package/src/strings/transitionDelay.js.map +1 -0
  644. package/src/strings/transitionDelay.ts +5 -0
  645. package/src/strings/transitionDuration.js +2 -6
  646. package/src/strings/transitionDuration.js.map +1 -0
  647. package/src/strings/transitionDuration.ts +5 -0
  648. package/src/strings/transitionEndEvent.js +2 -6
  649. package/src/strings/transitionEndEvent.js.map +1 -0
  650. package/src/strings/transitionEndEvent.ts +5 -0
  651. package/src/strings/transitionProperty.js +2 -7
  652. package/src/strings/transitionProperty.js.map +1 -0
  653. package/src/strings/transitionProperty.ts +5 -0
  654. package/src/strings/unloadEvent.js +2 -6
  655. package/src/strings/unloadEvent.js.map +1 -0
  656. package/src/strings/unloadEvent.ts +5 -0
  657. package/src/strings/userAgent.js +3 -7
  658. package/src/strings/userAgent.js.map +1 -0
  659. package/src/strings/userAgent.ts +7 -0
  660. package/src/strings/userAgentData.js +3 -7
  661. package/src/strings/userAgentData.js.map +1 -0
  662. package/src/strings/userAgentData.ts +9 -0
  663. package/src/types.js +1 -0
  664. package/src/types.js.map +1 -0
  665. package/src/types.ts +1 -0
  666. package/types/attr/getAttribute.d.ts +2 -0
  667. package/types/attr/getAttributeNS.d.ts +2 -0
  668. package/types/attr/hasAttribute.d.ts +2 -0
  669. package/types/attr/hasAttributeNS.d.ts +2 -0
  670. package/types/attr/removeAttribute.d.ts +2 -0
  671. package/types/attr/removeAttributeNS.d.ts +2 -0
  672. package/types/attr/setAttribute.d.ts +2 -0
  673. package/types/attr/setAttributeNS.d.ts +2 -0
  674. package/types/blocks/documentBody.d.ts +2 -0
  675. package/types/blocks/documentElement.d.ts +2 -0
  676. package/types/blocks/documentHead.d.ts +2 -0
  677. package/types/boolean/isApple.d.ts +2 -0
  678. package/types/boolean/isFirefox.d.ts +2 -0
  679. package/types/boolean/isMobile.d.ts +2 -0
  680. package/types/boolean/support3DTransform.d.ts +2 -0
  681. package/types/boolean/supportAnimation.d.ts +2 -0
  682. package/types/boolean/supportPassive.d.ts +2 -0
  683. package/types/boolean/supportTouch.d.ts +2 -0
  684. package/types/boolean/supportTransform.d.ts +2 -0
  685. package/types/boolean/supportTransition.d.ts +2 -0
  686. package/types/class/addClass.d.ts +2 -0
  687. package/types/class/hasClass.d.ts +2 -0
  688. package/types/class/removeClass.d.ts +2 -0
  689. package/types/event/off.d.ts +1 -0
  690. package/types/event/on.d.ts +1 -0
  691. package/types/event/one.d.ts +2 -0
  692. package/types/get/getBoundingClientRect.d.ts +3 -0
  693. package/types/get/getDocument.d.ts +2 -0
  694. package/types/get/getDocumentBody.d.ts +2 -0
  695. package/types/get/getDocumentElement.d.ts +2 -0
  696. package/types/get/getDocumentHead.d.ts +2 -0
  697. package/types/get/getElementAnimationDelay.d.ts +2 -0
  698. package/types/get/getElementAnimationDuration.d.ts +2 -0
  699. package/types/get/getElementStyle.d.ts +2 -0
  700. package/types/get/getElementTransitionDelay.d.ts +2 -0
  701. package/types/get/getElementTransitionDuration.d.ts +2 -0
  702. package/types/get/getNodeScroll.d.ts +5 -0
  703. package/types/get/getParentNode.d.ts +2 -0
  704. package/types/get/getRectRelativeToOffsetParent.d.ts +6 -0
  705. package/types/get/getUID.d.ts +2 -0
  706. package/types/get/getWindow.d.ts +2 -0
  707. package/types/index.d.ts +351 -256
  708. package/types/interface/boundingClientRect.d.ts +10 -0
  709. package/types/interface/css4Declaration.d.ts +3 -0
  710. package/types/interface/customElement.d.ts +8 -0
  711. package/types/interface/navigatorUA.d.ts +12 -0
  712. package/types/interface/offsetRect.d.ts +6 -0
  713. package/types/interface/originalEvent.d.ts +3 -0
  714. package/types/is/isArray.d.ts +2 -0
  715. package/types/is/isCanvas.d.ts +2 -0
  716. package/types/is/isCustomElement.d.ts +3 -0
  717. package/types/is/isDocument.d.ts +2 -0
  718. package/types/is/isElement.d.ts +2 -0
  719. package/types/is/isElementInScrollRange.d.ts +2 -0
  720. package/types/is/isElementInViewport.d.ts +2 -0
  721. package/types/is/isElementsArray.d.ts +2 -0
  722. package/types/is/isFunction.d.ts +2 -0
  723. package/types/is/isHTMLCollection.d.ts +2 -0
  724. package/types/is/isHTMLElement.d.ts +2 -0
  725. package/types/is/isHTMLImageElement.d.ts +2 -0
  726. package/types/is/isMap.d.ts +2 -0
  727. package/types/is/isMedia.d.ts +2 -0
  728. package/types/is/isNode.d.ts +2 -0
  729. package/types/is/isNodeList.d.ts +2 -0
  730. package/types/is/isNumber.d.ts +2 -0
  731. package/types/is/isObject.d.ts +2 -0
  732. package/types/is/isRTL.d.ts +2 -0
  733. package/types/is/isSVGElement.d.ts +2 -0
  734. package/types/is/isScaledElement.d.ts +1 -0
  735. package/types/is/isShadowRoot.d.ts +2 -0
  736. package/types/is/isString.d.ts +2 -0
  737. package/types/is/isTableElement.d.ts +2 -0
  738. package/types/is/isWeakMap.d.ts +2 -0
  739. package/types/is/isWindow.d.ts +2 -0
  740. package/types/misc/ArrayFrom.d.ts +2 -0
  741. package/types/misc/Float32ArrayFrom.d.ts +2 -0
  742. package/types/misc/Float64ArrayFrom.d.ts +2 -0
  743. package/types/misc/ObjectAssign.d.ts +2 -0
  744. package/types/misc/ObjectEntries.d.ts +2 -0
  745. package/types/misc/ObjectKeys.d.ts +2 -0
  746. package/types/misc/ObjectValues.d.ts +2 -0
  747. package/types/misc/OriginalEvent.d.ts +3 -0
  748. package/types/misc/createElement.d.ts +2 -0
  749. package/types/misc/createElementNS.d.ts +2 -0
  750. package/types/misc/data.d.ts +10 -0
  751. package/types/misc/dispatchEvent.d.ts +2 -0
  752. package/types/misc/distinct.d.ts +2 -0
  753. package/types/misc/emulateAnimationEnd.d.ts +2 -0
  754. package/types/misc/emulateTransitionEnd.d.ts +2 -0
  755. package/types/misc/focus.d.ts +2 -0
  756. package/types/misc/noop.d.ts +2 -0
  757. package/types/misc/normalizeOptions.d.ts +5 -0
  758. package/types/misc/normalizeValue.d.ts +3 -0
  759. package/types/misc/passiveHandler.d.ts +2 -0
  760. package/types/misc/reflow.d.ts +2 -0
  761. package/types/misc/setElementStyle.d.ts +3 -0
  762. package/types/misc/timer.d.ts +6 -0
  763. package/types/misc/toLowerCase.d.ts +2 -0
  764. package/types/misc/toUpperCase.d.ts +2 -0
  765. package/types/selectors/closest.d.ts +2 -0
  766. package/types/selectors/getCustomElements.d.ts +3 -0
  767. package/types/selectors/getElementById.d.ts +2 -0
  768. package/types/selectors/getElementsByClassName.d.ts +2 -0
  769. package/types/selectors/getElementsByTagName.d.ts +2 -0
  770. package/types/selectors/matches.d.ts +2 -0
  771. package/types/selectors/querySelector.d.ts +2 -0
  772. package/types/selectors/querySelectorAll.d.ts +2 -0
  773. package/types/strings/DOMContentLoadedEvent.d.ts +2 -0
  774. package/types/strings/DOMMouseScrollEvent.d.ts +2 -0
  775. package/types/strings/abortEvent.d.ts +2 -0
  776. package/types/strings/addEventListener.d.ts +2 -0
  777. package/types/strings/animationDelay.d.ts +2 -0
  778. package/types/strings/animationDuration.d.ts +2 -0
  779. package/types/strings/animationEndEvent.d.ts +2 -0
  780. package/types/strings/animationName.d.ts +2 -0
  781. package/types/strings/ariaChecked.d.ts +2 -0
  782. package/types/strings/ariaDescribedBy.d.ts +2 -0
  783. package/types/strings/ariaDescription.d.ts +2 -0
  784. package/types/strings/ariaExpanded.d.ts +2 -0
  785. package/types/strings/ariaHasPopup.d.ts +2 -0
  786. package/types/strings/ariaHidden.d.ts +2 -0
  787. package/types/strings/ariaLabel.d.ts +2 -0
  788. package/types/strings/ariaLabelledBy.d.ts +2 -0
  789. package/types/strings/ariaModal.d.ts +2 -0
  790. package/types/strings/ariaPressed.d.ts +2 -0
  791. package/types/strings/ariaSelected.d.ts +2 -0
  792. package/types/strings/ariaValueMax.d.ts +2 -0
  793. package/types/strings/ariaValueMin.d.ts +2 -0
  794. package/types/strings/ariaValueNow.d.ts +2 -0
  795. package/types/strings/ariaValueText.d.ts +2 -0
  796. package/types/strings/beforeunloadEvent.d.ts +2 -0
  797. package/types/strings/bezierEasings.d.ts +28 -0
  798. package/types/strings/blurEvent.d.ts +2 -0
  799. package/types/strings/changeEvent.d.ts +2 -0
  800. package/types/strings/contextmenuEvent.d.ts +2 -0
  801. package/types/strings/errorEvent.d.ts +2 -0
  802. package/types/strings/focusEvent.d.ts +2 -0
  803. package/types/strings/focusEvents.d.ts +5 -0
  804. package/types/strings/focusinEvent.d.ts +2 -0
  805. package/types/strings/focusoutEvent.d.ts +2 -0
  806. package/types/strings/gesturechangeEvent.d.ts +2 -0
  807. package/types/strings/gestureendEvent.d.ts +2 -0
  808. package/types/strings/gesturestartEvent.d.ts +2 -0
  809. package/types/strings/keyAlt.d.ts +2 -0
  810. package/types/strings/keyArrowDown.d.ts +2 -0
  811. package/types/strings/keyArrowLeft.d.ts +2 -0
  812. package/types/strings/keyArrowRight.d.ts +2 -0
  813. package/types/strings/keyArrowUp.d.ts +2 -0
  814. package/types/strings/keyBackspace.d.ts +2 -0
  815. package/types/strings/keyCapsLock.d.ts +2 -0
  816. package/types/strings/keyControl.d.ts +2 -0
  817. package/types/strings/keyDelete.d.ts +2 -0
  818. package/types/strings/keyEnter.d.ts +2 -0
  819. package/types/strings/keyEscape.d.ts +2 -0
  820. package/types/strings/keyInsert.d.ts +2 -0
  821. package/types/strings/keyMeta.d.ts +2 -0
  822. package/types/strings/keyPause.d.ts +2 -0
  823. package/types/strings/keyScrollLock.d.ts +2 -0
  824. package/types/strings/keyShift.d.ts +2 -0
  825. package/types/strings/keySpace.d.ts +2 -0
  826. package/types/strings/keyTab.d.ts +2 -0
  827. package/types/strings/keyboardEventKeys.d.ts +22 -0
  828. package/types/strings/keydownEvent.d.ts +2 -0
  829. package/types/strings/keypressEvent.d.ts +2 -0
  830. package/types/strings/keyupEvent.d.ts +2 -0
  831. package/types/strings/loadEvent.d.ts +2 -0
  832. package/types/strings/loadstartEvent.d.ts +2 -0
  833. package/types/strings/mouseClickEvents.d.ts +5 -0
  834. package/types/strings/mouseHoverEvents.d.ts +2 -0
  835. package/types/strings/mouseSwipeEvents.d.ts +7 -0
  836. package/types/strings/mouseclickEvent.d.ts +2 -0
  837. package/types/strings/mousedblclickEvent.d.ts +2 -0
  838. package/types/strings/mousedownEvent.d.ts +2 -0
  839. package/types/strings/mouseenterEvent.d.ts +2 -0
  840. package/types/strings/mousehoverEvent.d.ts +2 -0
  841. package/types/strings/mouseinEvent.d.ts +2 -0
  842. package/types/strings/mouseleaveEvent.d.ts +2 -0
  843. package/types/strings/mousemoveEvent.d.ts +2 -0
  844. package/types/strings/mouseoutEvent.d.ts +2 -0
  845. package/types/strings/mouseoverEvent.d.ts +2 -0
  846. package/types/strings/mouseupEvent.d.ts +2 -0
  847. package/types/strings/mousewheelEvent.d.ts +2 -0
  848. package/types/strings/moveEvent.d.ts +2 -0
  849. package/types/strings/nativeEvents.d.ts +53 -0
  850. package/types/strings/offsetHeight.d.ts +2 -0
  851. package/types/strings/offsetWidth.d.ts +2 -0
  852. package/types/strings/orientationchangeEvent.d.ts +2 -0
  853. package/types/strings/pointercancelEvent.d.ts +2 -0
  854. package/types/strings/pointerdownEvent.d.ts +2 -0
  855. package/types/strings/pointerleaveEvent.d.ts +2 -0
  856. package/types/strings/pointermoveEvent.d.ts +2 -0
  857. package/types/strings/pointerupEvent.d.ts +2 -0
  858. package/types/strings/readystatechangeEvent.d.ts +2 -0
  859. package/types/strings/removeEventListener.d.ts +2 -0
  860. package/types/strings/resetEvent.d.ts +2 -0
  861. package/types/strings/resizeEvent.d.ts +2 -0
  862. package/types/strings/scrollEvent.d.ts +2 -0
  863. package/types/strings/scrollHeight.d.ts +2 -0
  864. package/types/strings/scrollWidth.d.ts +2 -0
  865. package/types/strings/selectEvent.d.ts +2 -0
  866. package/types/strings/selectendEvent.d.ts +2 -0
  867. package/types/strings/selectstartEvent.d.ts +2 -0
  868. package/types/strings/submitEvent.d.ts +2 -0
  869. package/types/strings/tabindex.d.ts +2 -0
  870. package/types/strings/touchEvents.d.ts +7 -0
  871. package/types/strings/touchcancelEvent.d.ts +2 -0
  872. package/types/strings/touchendEvent.d.ts +2 -0
  873. package/types/strings/touchmoveEvent.d.ts +2 -0
  874. package/types/strings/touchstartEvent.d.ts +2 -0
  875. package/types/strings/transitionDelay.d.ts +2 -0
  876. package/types/strings/transitionDuration.d.ts +2 -0
  877. package/types/strings/transitionEndEvent.d.ts +2 -0
  878. package/types/strings/transitionProperty.d.ts +2 -0
  879. package/types/strings/unloadEvent.d.ts +2 -0
  880. package/types/strings/userAgent.d.ts +2 -0
  881. package/types/strings/userAgentData.d.ts +3 -0
  882. package/types/types.d.ts +1 -0
  883. package/dist/shorty.esm.js +0 -2594
  884. package/dist/shorty.esm.min.js +0 -2
  885. package/src/get/getElementAnimationDelayLegacy.js +0 -21
  886. package/src/get/getElementAnimationDurationLegacy.js +0 -21
  887. package/src/get/getElementTransitionDelayLegacy.js +0 -21
  888. package/src/get/getElementTransitionDurationLegacy.js +0 -21
  889. package/src/misc/emulateAnimationEndLegacy.js +0 -41
  890. package/src/misc/emulateTransitionEndLegacy.js +0 -41
  891. package/src/misc/passiveHandlerLegacy.js +0 -10
  892. package/src/misc/version.js +0 -8
  893. package/src/selectors/matchesLegacy.js +0 -23
  894. package/src/strings/animationDelayLegacy.js +0 -9
  895. package/src/strings/animationDurationLegacy.js +0 -9
  896. package/src/strings/animationEndEventLegacy.js +0 -9
  897. package/src/strings/animationNameLegacy.js +0 -9
  898. package/src/strings/transitionDelayLegacy.js +0 -9
  899. package/src/strings/transitionDurationLegacy.js +0 -9
  900. package/src/strings/transitionEndEventLegacy.js +0 -9
  901. package/src/strings/transitionPropertyLegacy.js +0 -12
  902. package/types/module/shorty.ts +0 -247
  903. package/types/shorty.d.ts +0 -2305
package/types/shorty.d.ts DELETED
@@ -1,2305 +0,0 @@
1
- declare module "shorty/src/strings/ariaChecked" {
2
- export default ariaChecked;
3
- /**
4
- * A global namespace for aria-checked.
5
- * @type {string}
6
- */
7
- const ariaChecked: string;
8
- }
9
- declare module "shorty/src/strings/ariaDescription" {
10
- export default ariaDescription;
11
- /**
12
- * A global namespace for aria-description.
13
- * @type {string}
14
- */
15
- const ariaDescription: string;
16
- }
17
- declare module "shorty/src/strings/ariaDescribedBy" {
18
- export default ariaDescribedBy;
19
- /**
20
- * A global namespace for aria-describedby.
21
- * @type {string}
22
- */
23
- const ariaDescribedBy: string;
24
- }
25
- declare module "shorty/src/strings/ariaExpanded" {
26
- export default ariaExpanded;
27
- /**
28
- * A global namespace for aria-expanded.
29
- * @type {string}
30
- */
31
- const ariaExpanded: string;
32
- }
33
- declare module "shorty/src/strings/ariaHasPopup" {
34
- export default ariaHasPopup;
35
- /**
36
- * A global namespace for aria-haspopup.
37
- * @type {string}
38
- */
39
- const ariaHasPopup: string;
40
- }
41
- declare module "shorty/src/strings/ariaHidden" {
42
- export default ariaHidden;
43
- /**
44
- * A global namespace for aria-hidden.
45
- * @type {string}
46
- */
47
- const ariaHidden: string;
48
- }
49
- declare module "shorty/src/strings/ariaLabel" {
50
- export default ariaLabel;
51
- /**
52
- * A global namespace for aria-label.
53
- * @type {string}
54
- */
55
- const ariaLabel: string;
56
- }
57
- declare module "shorty/src/strings/ariaLabelledBy" {
58
- export default ariaLabelledBy;
59
- /**
60
- * A global namespace for aria-labelledby.
61
- * @type {string}
62
- */
63
- const ariaLabelledBy: string;
64
- }
65
- declare module "shorty/src/strings/ariaModal" {
66
- export default ariaModal;
67
- /**
68
- * A global namespace for aria-modal.
69
- * @type {string}
70
- */
71
- const ariaModal: string;
72
- }
73
- declare module "shorty/src/strings/ariaPressed" {
74
- export default ariaPressed;
75
- /**
76
- * A global namespace for aria-pressed.
77
- * @type {string}
78
- */
79
- const ariaPressed: string;
80
- }
81
- declare module "shorty/src/strings/ariaSelected" {
82
- export default ariaSelected;
83
- /**
84
- * A global namespace for aria-selected.
85
- * @type {string}
86
- */
87
- const ariaSelected: string;
88
- }
89
- declare module "shorty/src/strings/ariaValueMin" {
90
- export default ariaValueMin;
91
- /**
92
- * A global namespace for aria-valuemin.
93
- * @type {string}
94
- */
95
- const ariaValueMin: string;
96
- }
97
- declare module "shorty/src/strings/ariaValueMax" {
98
- export default ariaValueMax;
99
- /**
100
- * A global namespace for aria-valuemax.
101
- * @type {string}
102
- */
103
- const ariaValueMax: string;
104
- }
105
- declare module "shorty/src/strings/ariaValueNow" {
106
- export default ariaValueNow;
107
- /**
108
- * A global namespace for aria-valuenow.
109
- * @type {string}
110
- */
111
- const ariaValueNow: string;
112
- }
113
- declare module "shorty/src/strings/ariaValueText" {
114
- export default ariaValueText;
115
- /**
116
- * A global namespace for aria-valuetext.
117
- * @type {string}
118
- */
119
- const ariaValueText: string;
120
- }
121
- declare module "shorty/src/strings/abortEvent" {
122
- export default abortEvent;
123
- /**
124
- * A global namespace for `abort` event.
125
- * @type {string}
126
- */
127
- const abortEvent: string;
128
- }
129
- declare module "shorty/src/strings/beforeunloadEvent" {
130
- export default beforeunloadEvent;
131
- /**
132
- * A global namespace for `beforeunload` event.
133
- * @type {string}
134
- */
135
- const beforeunloadEvent: string;
136
- }
137
- declare module "shorty/src/strings/blurEvent" {
138
- export default blurEvent;
139
- /**
140
- * A global namespace for `blur` event.
141
- * @type {string}
142
- */
143
- const blurEvent: string;
144
- }
145
- declare module "shorty/src/strings/changeEvent" {
146
- export default changeEvent;
147
- /**
148
- * A global namespace for `change` event.
149
- * @type {string}
150
- */
151
- const changeEvent: string;
152
- }
153
- declare module "shorty/src/strings/contextmenuEvent" {
154
- export default contextmenuEvent;
155
- /**
156
- * A global namespace for `contextmenu` event.
157
- * @type {string}
158
- */
159
- const contextmenuEvent: string;
160
- }
161
- declare module "shorty/src/strings/DOMContentLoadedEvent" {
162
- export default DOMContentLoadedEvent;
163
- /**
164
- * A global namespace for `DOMContentLoaded` event.
165
- * @type {string}
166
- */
167
- const DOMContentLoadedEvent: string;
168
- }
169
- declare module "shorty/src/strings/DOMMouseScrollEvent" {
170
- export default DOMMouseScrollEvent;
171
- /**
172
- * A global namespace for `DOMMouseScroll` event.
173
- * @type {string}
174
- */
175
- const DOMMouseScrollEvent: string;
176
- }
177
- declare module "shorty/src/strings/errorEvent" {
178
- export default errorEvent;
179
- /**
180
- * A global namespace for `error` event.
181
- * @type {string}
182
- */
183
- const errorEvent: string;
184
- }
185
- declare module "shorty/src/strings/focusEvent" {
186
- export default focusEvent;
187
- /**
188
- * A global namespace for `focus` event.
189
- * @type {string}
190
- */
191
- const focusEvent: string;
192
- }
193
- declare module "shorty/src/strings/focusinEvent" {
194
- export default focusinEvent;
195
- /**
196
- * A global namespace for `focusin` event.
197
- * @type {string}
198
- */
199
- const focusinEvent: string;
200
- }
201
- declare module "shorty/src/strings/focusoutEvent" {
202
- export default focusoutEvent;
203
- /**
204
- * A global namespace for `focusout` event.
205
- * @type {string}
206
- */
207
- const focusoutEvent: string;
208
- }
209
- declare module "shorty/src/strings/gesturechangeEvent" {
210
- export default gesturechangeEvent;
211
- /**
212
- * A global namespace for `gesturechange` event.
213
- * @type {string}
214
- */
215
- const gesturechangeEvent: string;
216
- }
217
- declare module "shorty/src/strings/gestureendEvent" {
218
- export default gestureendEvent;
219
- /**
220
- * A global namespace for `gestureend` event.
221
- * @type {string}
222
- */
223
- const gestureendEvent: string;
224
- }
225
- declare module "shorty/src/strings/gesturestartEvent" {
226
- export default gesturestartEvent;
227
- /**
228
- * A global namespace for `gesturestart` event.
229
- * @type {string}
230
- */
231
- const gesturestartEvent: string;
232
- }
233
- declare module "shorty/src/strings/keydownEvent" {
234
- export default keydownEvent;
235
- /**
236
- * A global namespace for `keydown` event.
237
- * @type {string}
238
- */
239
- const keydownEvent: string;
240
- }
241
- declare module "shorty/src/strings/keypressEvent" {
242
- export default keypressEvent;
243
- /**
244
- * A global namespace for `keypress` event.
245
- * @type {string}
246
- */
247
- const keypressEvent: string;
248
- }
249
- declare module "shorty/src/strings/keyupEvent" {
250
- export default keyupEvent;
251
- /**
252
- * A global namespace for `keyup` event.
253
- * @type {string}
254
- */
255
- const keyupEvent: string;
256
- }
257
- declare module "shorty/src/strings/loadEvent" {
258
- export default loadEvent;
259
- /**
260
- * A global namespace for `load` event.
261
- * @type {string}
262
- */
263
- const loadEvent: string;
264
- }
265
- declare module "shorty/src/strings/mouseclickEvent" {
266
- export default mouseclickEvent;
267
- /**
268
- * A global namespace for `click` event.
269
- * @type {string}
270
- */
271
- const mouseclickEvent: string;
272
- }
273
- declare module "shorty/src/strings/mousedblclickEvent" {
274
- export default mousedblclickEvent;
275
- /**
276
- * A global namespace for `dblclick` event.
277
- * @type {string}
278
- */
279
- const mousedblclickEvent: string;
280
- }
281
- declare module "shorty/src/strings/mousedownEvent" {
282
- export default mousedownEvent;
283
- /**
284
- * A global namespace for `mousedown` event.
285
- * @type {string}
286
- */
287
- const mousedownEvent: string;
288
- }
289
- declare module "shorty/src/strings/mouseupEvent" {
290
- export default mouseupEvent;
291
- /**
292
- * A global namespace for `mouseup` event.
293
- * @type {string}
294
- */
295
- const mouseupEvent: string;
296
- }
297
- declare module "shorty/src/strings/mousehoverEvent" {
298
- export default mousehoverEvent;
299
- /**
300
- * A global namespace for `hover` event.
301
- * @type {string}
302
- */
303
- const mousehoverEvent: string;
304
- }
305
- declare module "shorty/src/strings/mouseenterEvent" {
306
- export default mouseenterEvent;
307
- /**
308
- * A global namespace for `mouseenter` event.
309
- * @type {string}
310
- */
311
- const mouseenterEvent: string;
312
- }
313
- declare module "shorty/src/strings/mouseleaveEvent" {
314
- export default mouseleaveEvent;
315
- /**
316
- * A global namespace for `mouseleave` event.
317
- * @type {string}
318
- */
319
- const mouseleaveEvent: string;
320
- }
321
- declare module "shorty/src/strings/mouseinEvent" {
322
- export default mouseinEvent;
323
- /**
324
- * A global namespace for `mousein` event.
325
- * @type {string}
326
- */
327
- const mouseinEvent: string;
328
- }
329
- declare module "shorty/src/strings/mouseoutEvent" {
330
- export default mouseoutEvent;
331
- /**
332
- * A global namespace for `mouseout` event.
333
- * @type {string}
334
- */
335
- const mouseoutEvent: string;
336
- }
337
- declare module "shorty/src/strings/mouseoverEvent" {
338
- export default mouseoverEvent;
339
- /**
340
- * A global namespace for `mouseover` event.
341
- * @type {string}
342
- */
343
- const mouseoverEvent: string;
344
- }
345
- declare module "shorty/src/strings/mousemoveEvent" {
346
- export default mousemoveEvent;
347
- /**
348
- * A global namespace for `mousemove` event.
349
- * @type {string}
350
- */
351
- const mousemoveEvent: string;
352
- }
353
- declare module "shorty/src/strings/mousewheelEvent" {
354
- export default mousewheelEvent;
355
- /**
356
- * A global namespace for `mousewheel` event.
357
- * @type {string}
358
- */
359
- const mousewheelEvent: string;
360
- }
361
- declare module "shorty/src/strings/moveEvent" {
362
- export default moveEvent;
363
- /**
364
- * A global namespace for `move` event.
365
- * @type {string}
366
- */
367
- const moveEvent: string;
368
- }
369
- declare module "shorty/src/strings/orientationchangeEvent" {
370
- export default orientationchangeEvent;
371
- /**
372
- * A global namespace for `orientationchange` event.
373
- * @type {string}
374
- */
375
- const orientationchangeEvent: string;
376
- }
377
- declare module "shorty/src/strings/pointercancelEvent" {
378
- export default pointercancelEvent;
379
- /**
380
- * A global namespace for `pointercancel` event.
381
- * @type {string}
382
- */
383
- const pointercancelEvent: string;
384
- }
385
- declare module "shorty/src/strings/pointerdownEvent" {
386
- export default pointerdownEvent;
387
- /**
388
- * A global namespace for `pointerdown` event.
389
- * @type {string}
390
- */
391
- const pointerdownEvent: string;
392
- }
393
- declare module "shorty/src/strings/pointerleaveEvent" {
394
- export default pointerleaveEvent;
395
- /**
396
- * A global namespace for `pointerleave` event.
397
- * @type {string}
398
- */
399
- const pointerleaveEvent: string;
400
- }
401
- declare module "shorty/src/strings/pointermoveEvent" {
402
- export default pointermoveEvent;
403
- /**
404
- * A global namespace for `pointermove` event.
405
- * @type {string}
406
- */
407
- const pointermoveEvent: string;
408
- }
409
- declare module "shorty/src/strings/pointerupEvent" {
410
- export default pointerupEvent;
411
- /**
412
- * A global namespace for `pointerup` event.
413
- * @type {string}
414
- */
415
- const pointerupEvent: string;
416
- }
417
- declare module "shorty/src/strings/readystatechangeEvent" {
418
- export default readystatechangeEvent;
419
- /**
420
- * A global namespace for `readystatechange` event.
421
- * @type {string}
422
- */
423
- const readystatechangeEvent: string;
424
- }
425
- declare module "shorty/src/strings/resetEvent" {
426
- export default resetEvent;
427
- /**
428
- * A global namespace for `reset` event.
429
- * @type {string}
430
- */
431
- const resetEvent: string;
432
- }
433
- declare module "shorty/src/strings/resizeEvent" {
434
- export default resizeEvent;
435
- /**
436
- * A global namespace for `resize` event.
437
- * @type {string}
438
- */
439
- const resizeEvent: string;
440
- }
441
- declare module "shorty/src/strings/selectEvent" {
442
- export default selectEvent;
443
- /**
444
- * A global namespace for `select` event.
445
- * @type {string}
446
- */
447
- const selectEvent: string;
448
- }
449
- declare module "shorty/src/strings/selectendEvent" {
450
- export default selectendEvent;
451
- /**
452
- * A global namespace for the `selectend` event.
453
- * @type {string}
454
- */
455
- const selectendEvent: string;
456
- }
457
- declare module "shorty/src/strings/selectstartEvent" {
458
- export default selectstartEvent;
459
- /**
460
- * A global namespace for the `selectstart` event.
461
- * @type {string}
462
- */
463
- const selectstartEvent: string;
464
- }
465
- declare module "shorty/src/strings/scrollEvent" {
466
- export default scrollEvent;
467
- /**
468
- * A global namespace for `scroll` event.
469
- * @type {string}
470
- */
471
- const scrollEvent: string;
472
- }
473
- declare module "shorty/src/strings/submitEvent" {
474
- export default submitEvent;
475
- /**
476
- * A global namespace for `submit` event.
477
- * @type {string}
478
- */
479
- const submitEvent: string;
480
- }
481
- declare module "shorty/src/strings/touchstartEvent" {
482
- export default touchstartEvent;
483
- /**
484
- * A global namespace for `touchstart` event.
485
- * @type {string}
486
- */
487
- const touchstartEvent: string;
488
- }
489
- declare module "shorty/src/strings/touchmoveEvent" {
490
- export default touchmoveEvent;
491
- /**
492
- * A global namespace for `touchmove` event.
493
- * @type {string}
494
- */
495
- const touchmoveEvent: string;
496
- }
497
- declare module "shorty/src/strings/touchcancelEvent" {
498
- export default touchcancelEvent;
499
- /**
500
- * A global namespace for `touchcancel` event.
501
- * @type {string}
502
- */
503
- const touchcancelEvent: string;
504
- }
505
- declare module "shorty/src/strings/touchendEvent" {
506
- export default touchendEvent;
507
- /**
508
- * A global namespace for `touchend` event.
509
- * @type {string}
510
- */
511
- const touchendEvent: string;
512
- }
513
- declare module "shorty/src/strings/unloadEvent" {
514
- export default unloadEvent;
515
- /**
516
- * A global namespace for `unload` event.
517
- * @type {string}
518
- */
519
- const unloadEvent: string;
520
- }
521
- declare module "shorty/src/strings/nativeEvents" {
522
- export default nativeEvents;
523
- namespace nativeEvents {
524
- export { DOMContentLoaded };
525
- export { DOMMouseScroll };
526
- export { abort };
527
- export { beforeunload };
528
- export { blur };
529
- export { change };
530
- export { click };
531
- export { contextmenu };
532
- export { dblclick };
533
- export { error };
534
- export { focus };
535
- export { focusin };
536
- export { focusout };
537
- export { gesturechange };
538
- export { gestureend };
539
- export { gesturestart };
540
- export { hover };
541
- export { keydown };
542
- export { keypress };
543
- export { keyup };
544
- export { load };
545
- export { mousedown };
546
- export { mousemove };
547
- export { mousein };
548
- export { mouseout };
549
- export { mouseenter };
550
- export { mouseleave };
551
- export { mouseover };
552
- export { mouseup };
553
- export { mousewheel };
554
- export { move };
555
- export { orientationchange };
556
- export { pointercancel };
557
- export { pointerdown };
558
- export { pointerleave };
559
- export { pointermove };
560
- export { pointerup };
561
- export { readystatechange };
562
- export { reset };
563
- export { resize };
564
- export { scroll };
565
- export { select };
566
- export { selectend };
567
- export { selectstart };
568
- export { submit };
569
- export { touchcancel };
570
- export { touchend };
571
- export { touchmove };
572
- export { touchstart };
573
- export { unload };
574
- }
575
- import DOMContentLoaded from "shorty/src/strings/DOMContentLoadedEvent";
576
- import DOMMouseScroll from "shorty/src/strings/DOMMouseScrollEvent";
577
- import abort from "shorty/src/strings/abortEvent";
578
- import beforeunload from "shorty/src/strings/beforeunloadEvent";
579
- import blur from "shorty/src/strings/blurEvent";
580
- import change from "shorty/src/strings/changeEvent";
581
- import click from "shorty/src/strings/mouseclickEvent";
582
- import contextmenu from "shorty/src/strings/contextmenuEvent";
583
- import dblclick from "shorty/src/strings/mousedblclickEvent";
584
- import error from "shorty/src/strings/errorEvent";
585
- import focus from "shorty/src/strings/focusEvent";
586
- import focusin from "shorty/src/strings/focusinEvent";
587
- import focusout from "shorty/src/strings/focusoutEvent";
588
- import gesturechange from "shorty/src/strings/gesturechangeEvent";
589
- import gestureend from "shorty/src/strings/gestureendEvent";
590
- import gesturestart from "shorty/src/strings/gesturestartEvent";
591
- import hover from "shorty/src/strings/mousehoverEvent";
592
- import keydown from "shorty/src/strings/keydownEvent";
593
- import keypress from "shorty/src/strings/keypressEvent";
594
- import keyup from "shorty/src/strings/keyupEvent";
595
- import load from "shorty/src/strings/loadEvent";
596
- import mousedown from "shorty/src/strings/mousedownEvent";
597
- import mousemove from "shorty/src/strings/mousemoveEvent";
598
- import mousein from "shorty/src/strings/mouseinEvent";
599
- import mouseout from "shorty/src/strings/mouseoutEvent";
600
- import mouseenter from "shorty/src/strings/mouseenterEvent";
601
- import mouseleave from "shorty/src/strings/mouseleaveEvent";
602
- import mouseover from "shorty/src/strings/mouseoverEvent";
603
- import mouseup from "shorty/src/strings/mouseupEvent";
604
- import mousewheel from "shorty/src/strings/mousewheelEvent";
605
- import move from "shorty/src/strings/moveEvent";
606
- import orientationchange from "shorty/src/strings/orientationchangeEvent";
607
- import pointercancel from "shorty/src/strings/pointercancelEvent";
608
- import pointerdown from "shorty/src/strings/pointerdownEvent";
609
- import pointerleave from "shorty/src/strings/pointerleaveEvent";
610
- import pointermove from "shorty/src/strings/pointermoveEvent";
611
- import pointerup from "shorty/src/strings/pointerupEvent";
612
- import readystatechange from "shorty/src/strings/readystatechangeEvent";
613
- import reset from "shorty/src/strings/resetEvent";
614
- import resize from "shorty/src/strings/resizeEvent";
615
- import scroll from "shorty/src/strings/scrollEvent";
616
- import select from "shorty/src/strings/selectEvent";
617
- import selectend from "shorty/src/strings/selectendEvent";
618
- import selectstart from "shorty/src/strings/selectstartEvent";
619
- import submit from "shorty/src/strings/submitEvent";
620
- import touchcancel from "shorty/src/strings/touchcancelEvent";
621
- import touchend from "shorty/src/strings/touchendEvent";
622
- import touchmove from "shorty/src/strings/touchmoveEvent";
623
- import touchstart from "shorty/src/strings/touchstartEvent";
624
- import unload from "shorty/src/strings/unloadEvent";
625
- }
626
- declare module "shorty/src/strings/focusEvents" {
627
- export default focusEvents;
628
- /**
629
- * A global namespace for focus event names.
630
- * @type {{in: string, out: string}}
631
- */
632
- const focusEvents: {
633
- in: string;
634
- out: string;
635
- };
636
- }
637
- declare module "shorty/src/strings/loadstartEvent" {
638
- export default loadstartEvent;
639
- /**
640
- * A global namespace for `loadstart` event.
641
- * @type {string}
642
- */
643
- const loadstartEvent: string;
644
- }
645
- declare module "shorty/src/strings/mouseClickEvents" {
646
- export default mouseClickEvents;
647
- /**
648
- * A global namespace for mouse click events.
649
- * @type {Record<string, string>}
650
- */
651
- const mouseClickEvents: Record<string, string>;
652
- }
653
- declare module "shorty/src/strings/mouseHoverEvents" {
654
- export default mouseHoverEvents;
655
- /**
656
- * A global namespace for mouse hover events.
657
- * @type {[string, string]}
658
- */
659
- const mouseHoverEvents: [string, string];
660
- }
661
- declare module "shorty/src/strings/mouseSwipeEvents" {
662
- export default mouseSwipeEvents;
663
- /**
664
- * A global namespace for mouse events equivalent to touch events.
665
- * @type {Record<string, string>}
666
- */
667
- const mouseSwipeEvents: Record<string, string>;
668
- }
669
- declare module "shorty/src/strings/touchEvents" {
670
- export default touchEvents;
671
- /**
672
- * A global namespace for touch events.
673
- * @type {Record<string, string>}
674
- */
675
- const touchEvents: Record<string, string>;
676
- }
677
- declare module "shorty/src/strings/keyboardEventKeys" {
678
- export default keyboardEventKeys;
679
- /**
680
- * A global namespace for keyboard event keys.
681
- * @type {Record<string, string>}
682
- */
683
- const keyboardEventKeys: Record<string, string>;
684
- }
685
- declare module "shorty/src/strings/keyAlt" {
686
- export default keyAlt;
687
- /**
688
- * A global namespace for `Alt` key.
689
- * @type {string} e.which = 18
690
- */
691
- const keyAlt: string;
692
- }
693
- declare module "shorty/src/strings/keyArrowDown" {
694
- export default keyArrowDown;
695
- /**
696
- * A global namespace for `ArrowDown` key.
697
- * @type {string} e.which = 40 equivalent
698
- */
699
- const keyArrowDown: string;
700
- }
701
- declare module "shorty/src/strings/keyArrowUp" {
702
- export default keyArrowUp;
703
- /**
704
- * A global namespace for `ArrowUp` key.
705
- * @type {string} e.which = 38 equivalent
706
- */
707
- const keyArrowUp: string;
708
- }
709
- declare module "shorty/src/strings/keyArrowLeft" {
710
- export default keyArrowLeft;
711
- /**
712
- * A global namespace for `ArrowLeft` key.
713
- * @type {string} e.which = 37 equivalent
714
- */
715
- const keyArrowLeft: string;
716
- }
717
- declare module "shorty/src/strings/keyArrowRight" {
718
- export default keyArrowRight;
719
- /**
720
- * A global namespace for `ArrowRight` key.
721
- * @type {string} e.which = 39 equivalent
722
- */
723
- const keyArrowRight: string;
724
- }
725
- declare module "shorty/src/strings/keyBackspace" {
726
- export default keyBackspace;
727
- /**
728
- * A global namespace for `Backspace` key.
729
- * @type {string} e.which === 8 equivalent
730
- */
731
- const keyBackspace: string;
732
- }
733
- declare module "shorty/src/strings/keyCapsLock" {
734
- export default keyCapsLock;
735
- /**
736
- * A global namespace for `CapsLock` key.
737
- * @type {string} e.which = 20 equivalent
738
- */
739
- const keyCapsLock: string;
740
- }
741
- declare module "shorty/src/strings/keyControl" {
742
- export default keyControl;
743
- /**
744
- * A global namespace for `Control` key.
745
- * @type {string} e.which = 17
746
- */
747
- const keyControl: string;
748
- }
749
- declare module "shorty/src/strings/keyDelete" {
750
- export default keyDelete;
751
- /**
752
- * A global namespace for `Delete` key.
753
- * @type {string} e.which = 46 equivalent
754
- */
755
- const keyDelete: string;
756
- }
757
- declare module "shorty/src/strings/keyEnter" {
758
- export default keyEnter;
759
- /**
760
- * A global namespace for `Enter` key.
761
- * @type {string} e.which = 13 equivalent
762
- */
763
- const keyEnter: string;
764
- }
765
- declare module "shorty/src/strings/keyEscape" {
766
- export default keyEscape;
767
- /**
768
- * A global namespace for `Escape` key.
769
- * @type {string} e.which = 27 equivalent
770
- */
771
- const keyEscape: string;
772
- }
773
- declare module "shorty/src/strings/keyInsert" {
774
- export default keyInsert;
775
- /**
776
- * A global namespace for `Insert` key.
777
- * @type {string} e.which = 45 equivalent
778
- */
779
- const keyInsert: string;
780
- }
781
- declare module "shorty/src/strings/keyMeta" {
782
- export default keyMeta;
783
- /**
784
- * A global namespace for `Meta` key.
785
- * @type {string} e.which = 93 equivalent
786
- */
787
- const keyMeta: string;
788
- }
789
- declare module "shorty/src/strings/keyPause" {
790
- export default keyPause;
791
- /**
792
- * A global namespace for `Pause` key.
793
- * @type {string} e.which = 19
794
- */
795
- const keyPause: string;
796
- }
797
- declare module "shorty/src/strings/keyScrollLock" {
798
- export default keyScrollLock;
799
- /**
800
- * A global namespace for `ScrollLock` key.
801
- * @type {string} e.which = 145 equivalent
802
- */
803
- const keyScrollLock: string;
804
- }
805
- declare module "shorty/src/strings/keyShift" {
806
- export default keyShift;
807
- /**
808
- * A global namespace for `Shift` key.
809
- * @type {string} e.which = 16
810
- */
811
- const keyShift: string;
812
- }
813
- declare module "shorty/src/strings/keySpace" {
814
- export default keySpace;
815
- /**
816
- * A global namespace for `Space` key.
817
- * @type {string} e.which = 32 equivalent
818
- */
819
- const keySpace: string;
820
- }
821
- declare module "shorty/src/strings/keyTab" {
822
- export default keyTab;
823
- /**
824
- * A global namespace for `Tab` key.
825
- * @type {string} e.which = 9 equivalent
826
- */
827
- const keyTab: string;
828
- }
829
- declare module "shorty/src/strings/animationDuration" {
830
- export default animationDuration;
831
- /**
832
- * A global namespace for 'animationDuration' string.
833
- * @type {string}
834
- */
835
- const animationDuration: string;
836
- }
837
- declare module "shorty/src/blocks/documentHead" {
838
- export default documentHead;
839
- const documentHead: HTMLHeadElement;
840
- }
841
- declare module "shorty/src/strings/animationDurationLegacy" {
842
- export default animationDuration;
843
- /**
844
- * A global namespace for 'animationDuration' string.
845
- * @type {string}
846
- */
847
- const animationDuration: string;
848
- }
849
- declare module "shorty/src/strings/animationDelay" {
850
- export default animationDelay;
851
- /**
852
- * A global namespace for 'animationDelay' string.
853
- * @type {string}
854
- */
855
- const animationDelay: string;
856
- }
857
- declare module "shorty/src/strings/animationDelayLegacy" {
858
- export default animationDelay;
859
- /**
860
- * A global namespace for 'animationDelay' string.
861
- * @type {string}
862
- */
863
- const animationDelay: string;
864
- }
865
- declare module "shorty/src/strings/animationName" {
866
- export default animationName;
867
- /**
868
- * A global namespace for 'animationName' string.
869
- * @type {string}
870
- */
871
- const animationName: string;
872
- }
873
- declare module "shorty/src/strings/animationNameLegacy" {
874
- export default animationName;
875
- /**
876
- * A global namespace for 'animationName' string.
877
- * @type {string}
878
- */
879
- const animationName: string;
880
- }
881
- declare module "shorty/src/strings/animationEndEvent" {
882
- export default animationEndEvent;
883
- /**
884
- * A global namespace for 'animationend' string.
885
- * @type {string}
886
- */
887
- const animationEndEvent: string;
888
- }
889
- declare module "shorty/src/strings/animationEndEventLegacy" {
890
- export default animationEndEvent;
891
- /**
892
- * A global namespace for 'animationend' string.
893
- * @type {string}
894
- */
895
- const animationEndEvent: string;
896
- }
897
- declare module "shorty/src/strings/transitionDuration" {
898
- export default transitionDuration;
899
- /**
900
- * A global namespace for 'transitionDuration' string.
901
- * @type {string}
902
- */
903
- const transitionDuration: string;
904
- }
905
- declare module "shorty/src/strings/transitionDurationLegacy" {
906
- export default transitionDuration;
907
- /**
908
- * A global namespace for 'transitionDuration' string.
909
- * @type {string}
910
- */
911
- const transitionDuration: string;
912
- }
913
- declare module "shorty/src/strings/transitionDelay" {
914
- export default transitionDelay;
915
- /**
916
- * A global namespace for 'transitionDelay' string.
917
- * @type {string}
918
- */
919
- const transitionDelay: string;
920
- }
921
- declare module "shorty/src/strings/transitionDelayLegacy" {
922
- export default transitionDelay;
923
- /**
924
- * A global namespace for 'transitionDelay' string.
925
- * @type {string}
926
- */
927
- const transitionDelay: string;
928
- }
929
- declare module "shorty/src/strings/transitionEndEvent" {
930
- export default transitionEndEvent;
931
- /**
932
- * A global namespace for 'transitionend' string.
933
- * @type {string}
934
- */
935
- const transitionEndEvent: string;
936
- }
937
- declare module "shorty/src/strings/transitionEndEventLegacy" {
938
- export default transitionEndEvent;
939
- /**
940
- * A global namespace for 'transitionend' string.
941
- * @type {string}
942
- */
943
- const transitionEndEvent: string;
944
- }
945
- declare module "shorty/src/strings/transitionProperty" {
946
- export default transitionProperty;
947
- /**
948
- * A global namespace for `transitionProperty` string for modern browsers.
949
- *
950
- * @type {string}
951
- */
952
- const transitionProperty: string;
953
- }
954
- declare module "shorty/src/strings/transitionPropertyLegacy" {
955
- export default transitionProperty;
956
- /**
957
- * A global namespace for:
958
- * * `transitionProperty` string for modern brosers,
959
- * * `webkitTransition` for legacy Chrome / Safari browsers
960
- *
961
- * @type {string}
962
- */
963
- const transitionProperty: string;
964
- }
965
- declare module "shorty/src/strings/addEventListener" {
966
- export default addEventListener;
967
- /**
968
- * A global namespace for 'addEventListener' string.
969
- * @type {string}
970
- */
971
- const addEventListener: string;
972
- }
973
- declare module "shorty/src/strings/removeEventListener" {
974
- export default removeEventListener;
975
- /**
976
- * A global namespace for 'removeEventListener' string.
977
- * @type {string}
978
- */
979
- const removeEventListener: string;
980
- }
981
- declare module "shorty/src/strings/bezierEasings" {
982
- export default bezierEasings;
983
- /**
984
- * A global namespace for predefined
985
- * CSS3 'cubic-bezier()' easing functions.
986
- * @type {Record<string, string>}
987
- */
988
- const bezierEasings: Record<string, string>;
989
- }
990
- declare module "shorty/src/strings/offsetHeight" {
991
- export default offsetHeight;
992
- /**
993
- * A global namespace for `offsetHeight` property.
994
- * @type {string}
995
- */
996
- const offsetHeight: string;
997
- }
998
- declare module "shorty/src/strings/offsetWidth" {
999
- export default offsetWidth;
1000
- /**
1001
- * A global namespace for `offsetWidth` property.
1002
- * @type {string}
1003
- */
1004
- const offsetWidth: string;
1005
- }
1006
- declare module "shorty/src/strings/scrollHeight" {
1007
- export default scrollHeight;
1008
- /**
1009
- * A global namespace for `scrollHeight` property.
1010
- * @type {string}
1011
- */
1012
- const scrollHeight: string;
1013
- }
1014
- declare module "shorty/src/strings/scrollWidth" {
1015
- export default scrollWidth;
1016
- /**
1017
- * A global namespace for `scrollWidth` property.
1018
- * @type {string}
1019
- */
1020
- const scrollWidth: string;
1021
- }
1022
- declare module "shorty/src/strings/userAgentData" {
1023
- export default userAgentData;
1024
- /**
1025
- * A global namespace for `userAgentData` object.
1026
- */
1027
- const userAgentData: any;
1028
- }
1029
- declare module "shorty/src/strings/userAgent" {
1030
- export default userAgent;
1031
- /**
1032
- * A global namespace for `navigator.userAgent` string.
1033
- */
1034
- const userAgent: string;
1035
- }
1036
- declare module "shorty/src/boolean/isApple" {
1037
- export default isApple;
1038
- /**
1039
- * A global `boolean` for Apple browsers.
1040
- * @type {boolean}
1041
- */
1042
- const isApple: boolean;
1043
- }
1044
- declare module "shorty/src/boolean/isFirefox" {
1045
- export default isFirefox;
1046
- /**
1047
- * A global boolean for Gecko browsers. When writing this file,
1048
- * Gecko was not supporting `userAgentData`.
1049
- * @type {boolean}
1050
- */
1051
- const isFirefox: boolean;
1052
- }
1053
- declare module "shorty/src/boolean/isMobile" {
1054
- export default isMobile;
1055
- /**
1056
- * A global `boolean` for mobile detection.
1057
- * @type {boolean}
1058
- */
1059
- const isMobile: boolean;
1060
- }
1061
- declare module "shorty/src/boolean/support3DTransform" {
1062
- export default support3DTransform;
1063
- /**
1064
- * A global `boolean` for CSS3 3D transform support.
1065
- * @type {boolean}
1066
- */
1067
- const support3DTransform: boolean;
1068
- }
1069
- declare module "shorty/src/boolean/supportAnimation" {
1070
- export default supportAnimation;
1071
- /**
1072
- * A global `boolean` for CSS3 animation support.
1073
- * @type {boolean}
1074
- */
1075
- const supportAnimation: boolean;
1076
- }
1077
- declare module "shorty/src/event/on" {
1078
- /**
1079
- * Add eventListener to an `Element` | `HTMLElement` | `Document` target.
1080
- *
1081
- * @type {SHORTY.OnOff<EventTarget>}
1082
- */
1083
- export default function on(element: EventTarget, eventName: string, listener: (object: Event) => void, options: AddEventListenerOptions | undefined): void;
1084
- }
1085
- declare module "shorty/src/event/off" {
1086
- /**
1087
- * Remove eventListener from an `Element` | `HTMLElement` | `Document` | `Window` target.
1088
- *
1089
- * @type {SHORTY.OnOff<EventTarget>}
1090
- */
1091
- export default function off(element: EventTarget, eventName: string, listener: (object: Event) => void, options: AddEventListenerOptions | undefined): void;
1092
- }
1093
- declare module "shorty/src/event/one" {
1094
- /**
1095
- * Add an `eventListener` to an `Element` | `HTMLElement` | `Document` | `Window`
1096
- * target and remove it once callback is called.
1097
- *
1098
- * @type {SHORTY.OnOff<EventTarget>}
1099
- */
1100
- export default function one(element: EventTarget, eventName: string, listener: (object: Event) => void, options: AddEventListenerOptions | undefined): void;
1101
- }
1102
- declare module "shorty/src/boolean/supportPassive" {
1103
- export default supportPassive;
1104
- /**
1105
- * A global `boolean` for passive events support,
1106
- * in general event options are not suited for scroll prevention.
1107
- *
1108
- * @see https://github.com/WICG/EventListenerOptions/blob/gh-pages/explainer.md#feature-detection
1109
- * @type {boolean}
1110
- */
1111
- const supportPassive: boolean;
1112
- }
1113
- declare module "shorty/src/boolean/supportTouch" {
1114
- export default supportTouch;
1115
- /**
1116
- * A global `boolean` for touch events support.
1117
- * @type {boolean}
1118
- */
1119
- const supportTouch: boolean;
1120
- }
1121
- declare module "shorty/src/boolean/supportTransform" {
1122
- export default supportTransform;
1123
- /**
1124
- * A global `boolean` for CSS3 transform support.
1125
- * @type {boolean}
1126
- */
1127
- const supportTransform: boolean;
1128
- }
1129
- declare module "shorty/src/boolean/supportTransition" {
1130
- export default supportTransition;
1131
- /**
1132
- * A global `boolean` for CSS3 transition support.
1133
- * @type {boolean}
1134
- */
1135
- const supportTransition: boolean;
1136
- }
1137
- declare module "shorty/src/attr/hasAttribute" {
1138
- export default hasAttribute;
1139
- /**
1140
- * Shortcut for `HTMLElement.hasAttribute()` method.
1141
- * @param {HTMLElement} element target element
1142
- * @param {string} attribute attribute name
1143
- * @returns {boolean} the query result
1144
- */
1145
- function hasAttribute(element: HTMLElement, attribute: string): boolean;
1146
- }
1147
- declare module "shorty/src/attr/hasAttributeNS" {
1148
- export default hasAttributeNS;
1149
- /**
1150
- * Shortcut for `HTMLElement.hasAttributeNS()` method.
1151
- * @param {string} ns attribute namespace
1152
- * @param {HTMLElement} element target element
1153
- * @param {string} att attribute name
1154
- * @returns {boolean} the query result
1155
- */
1156
- function hasAttributeNS(ns: string, element: HTMLElement, att: string): boolean;
1157
- }
1158
- declare module "shorty/src/attr/getAttribute" {
1159
- export default getAttribute;
1160
- /**
1161
- * Shortcut for `HTMLElement.getAttribute()` method.
1162
- * @param {HTMLElement} element target element
1163
- * @param {string} attribute attribute name
1164
- * @returns {string?} attribute value
1165
- */
1166
- function getAttribute(element: HTMLElement, attribute: string): string | null;
1167
- }
1168
- declare module "shorty/src/attr/getAttributeNS" {
1169
- export default getAttributeNS;
1170
- /**
1171
- * Shortcut for `HTMLElement.getAttributeNS()` method.
1172
- * @param {string} ns attribute namespace
1173
- * @param {HTMLElement} element target element
1174
- * @param {string} attribute attribute name
1175
- * @returns {string?} attribute value
1176
- */
1177
- function getAttributeNS(ns: string, element: HTMLElement, attribute: string): string | null;
1178
- }
1179
- declare module "shorty/src/attr/setAttribute" {
1180
- export default setAttribute;
1181
- /**
1182
- * Shortcut for `HTMLElement.setAttribute()` method.
1183
- * @param {HTMLElement} element target element
1184
- * @param {string} attribute attribute name
1185
- * @param {string} value attribute value
1186
- * @returns {void}
1187
- */
1188
- function setAttribute(element: HTMLElement, attribute: string, value: string): void;
1189
- }
1190
- declare module "shorty/src/attr/setAttributeNS" {
1191
- export default setAttributeNS;
1192
- /**
1193
- * Shortcut for `SVGElement.setAttributeNS()` method.
1194
- * @param {string} ns attribute namespace
1195
- * @param {HTMLElement} element target element
1196
- * @param {string} att attribute name
1197
- * @param {string} value attribute value
1198
- * @returns {void}
1199
- */
1200
- function setAttributeNS(ns: string, element: HTMLElement, att: string, value: string): void;
1201
- }
1202
- declare module "shorty/src/attr/removeAttribute" {
1203
- export default removeAttribute;
1204
- /**
1205
- * Shortcut for `HTMLElement.removeAttribute()` method.
1206
- * @param {HTMLElement} element target element
1207
- * @param {string} attribute attribute name
1208
- * @returns {void}
1209
- */
1210
- function removeAttribute(element: HTMLElement, attribute: string): void;
1211
- }
1212
- declare module "shorty/src/attr/removeAttributeNS" {
1213
- export default removeAttributeNS;
1214
- /**
1215
- * Shortcut for `HTMLElement.removeAttributeNS()` method.
1216
- * @param {string} ns attribute namespace
1217
- * @param {HTMLElement} element target element
1218
- * @param {string} att attribute name
1219
- * @returns {void}
1220
- */
1221
- function removeAttributeNS(ns: string, element: HTMLElement, att: string): void;
1222
- }
1223
- declare module "shorty/src/is/isHTMLElement" {
1224
- export default isHTMLElement;
1225
- /**
1226
- * Checks if an element is an `HTMLElement`.
1227
- * @see https://dom.spec.whatwg.org/#node
1228
- *
1229
- * @param {any} element the target object
1230
- * @returns {boolean} the query result
1231
- */
1232
- function isHTMLElement(element: any): boolean;
1233
- }
1234
- declare module "shorty/src/get/getBoundingClientRect" {
1235
- /**
1236
- * Returns the bounding client rect of a target `HTMLElement`.
1237
- *
1238
- * @see https://github.com/floating-ui/floating-ui
1239
- *
1240
- * @param {HTMLElement} element event.target
1241
- * @param {boolean=} includeScale when *true*, the target scale is also computed
1242
- * @returns {SHORTY.BoundingClientRect} the bounding client rect object
1243
- */
1244
- export default function getBoundingClientRect(element: HTMLElement, includeScale?: boolean | undefined): SHORTY.BoundingClientRect;
1245
- }
1246
- declare module "shorty/src/is/isDocument" {
1247
- export default isDocument;
1248
- /**
1249
- * Checks if an object is a `Document`.
1250
- * @see https://dom.spec.whatwg.org/#node
1251
- *
1252
- * @param {any} object the target object
1253
- * @returns {boolean} the query result
1254
- */
1255
- function isDocument(object: any): boolean;
1256
- }
1257
- declare module "shorty/src/is/isNode" {
1258
- export default isNode;
1259
- /**
1260
- * Checks if an object is a `Node`.
1261
- *
1262
- * @param {any} node the target object
1263
- * @returns {boolean} the query result
1264
- */
1265
- function isNode(element: any): boolean;
1266
- }
1267
- declare module "shorty/src/is/isWindow" {
1268
- export default isWindow;
1269
- /**
1270
- * Check if a target object is `Window`.
1271
- * => equivalent to `object instanceof Window`
1272
- *
1273
- * @param {any} object the target object
1274
- * @returns {boolean} the query result
1275
- */
1276
- function isWindow(object: any): boolean;
1277
- }
1278
- declare module "shorty/src/get/getDocument" {
1279
- /**
1280
- * Returns the `document` or the `#document` element.
1281
- * @see https://github.com/floating-ui/floating-ui
1282
- * @param {(ParentNode | Window)=} node
1283
- * @returns {Document}
1284
- */
1285
- export default function getDocument(node?: (ParentNode | Window) | undefined): Document;
1286
- }
1287
- declare module "shorty/src/get/getDocumentBody" {
1288
- /**
1289
- * Returns the `document.body` or the `<body>` element.
1290
- *
1291
- * @param {(ParentNode | Window)=} node
1292
- * @returns {HTMLBodyElement}
1293
- */
1294
- export default function getDocumentBody(node?: (ParentNode | Window) | undefined): HTMLBodyElement;
1295
- }
1296
- declare module "shorty/src/get/getDocumentElement" {
1297
- /**
1298
- * Returns the `document.documentElement` or the `<html>` element.
1299
- *
1300
- * @param {(ParentNode | Window)=} node
1301
- * @returns {HTMLHtmlElement}
1302
- */
1303
- export default function getDocumentElement(node?: (ParentNode | Window) | undefined): HTMLHtmlElement;
1304
- }
1305
- declare module "shorty/src/get/getDocumentHead" {
1306
- /**
1307
- * Returns the `document.head` or the `<head>` element.
1308
- *
1309
- * @param {(ParentNode | Window)=} node
1310
- * @returns {HTMLHeadElement}
1311
- */
1312
- export default function getDocumentHead(node?: (ParentNode | Window) | undefined): HTMLHeadElement;
1313
- }
1314
- declare module "shorty/src/get/getElementStyle" {
1315
- /**
1316
- * Shortcut for `window.getComputedStyle(element).propertyName`
1317
- * static method.
1318
- *
1319
- * * If `element` parameter is not an `HTMLElement`, `getComputedStyle`
1320
- * throws a `ReferenceError`.
1321
- *
1322
- * @param {HTMLElement} element target
1323
- * @param {string} property the css property
1324
- * @return {string} the css property value
1325
- */
1326
- export default function getElementStyle(element: HTMLElement, property: string): string;
1327
- }
1328
- declare module "shorty/src/get/getElementAnimationDuration" {
1329
- /**
1330
- * Utility to get the computed `animationDuration`
1331
- * from `HTMLElement` in miliseconds.
1332
- *
1333
- * @param {HTMLElement} element target
1334
- * @return {number} the value in miliseconds
1335
- */
1336
- export default function getElementAnimationDuration(element: HTMLElement): number;
1337
- }
1338
- declare module "shorty/src/get/getElementAnimationDurationLegacy" {
1339
- /**
1340
- * Utility to get the computed `animationDuration`
1341
- * from `HTMLElement` in miliseconds.
1342
- *
1343
- * @param {HTMLElement} element target
1344
- * @return {number} the value in miliseconds
1345
- */
1346
- export default function getElementAnimationDuration(element: HTMLElement): number;
1347
- }
1348
- declare module "shorty/src/get/getElementAnimationDelay" {
1349
- /**
1350
- * Utility to get the computed `animationDelay`
1351
- * from Element in miliseconds.
1352
- *
1353
- * @param {HTMLElement} element target
1354
- * @return {number} the value in miliseconds
1355
- */
1356
- export default function getElementAnimationDelay(element: HTMLElement): number;
1357
- }
1358
- declare module "shorty/src/get/getElementAnimationDelayLegacy" {
1359
- /**
1360
- * Utility to get the computed `animationDelay`
1361
- * from Element in miliseconds.
1362
- *
1363
- * @param {HTMLElement} element target
1364
- * @return {number} the value in miliseconds
1365
- */
1366
- export default function getElementAnimationDelay(element: HTMLElement): number;
1367
- }
1368
- declare module "shorty/src/get/getElementTransitionDuration" {
1369
- /**
1370
- * Utility to get the computed `transitionDuration`
1371
- * from Element in miliseconds.
1372
- *
1373
- * @param {HTMLElement} element target
1374
- * @return {number} the value in miliseconds
1375
- */
1376
- export default function getElementTransitionDuration(element: HTMLElement): number;
1377
- }
1378
- declare module "shorty/src/get/getElementTransitionDurationLegacy" {
1379
- /**
1380
- * Utility to get the computed `transitionDuration`
1381
- * from Element in miliseconds.
1382
- *
1383
- * @param {HTMLElement} element target
1384
- * @return {number} the value in miliseconds
1385
- */
1386
- export default function getElementTransitionDuration(element: HTMLElement): number;
1387
- }
1388
- declare module "shorty/src/get/getElementTransitionDelay" {
1389
- /**
1390
- * Utility to get the computed `transitionDelay`
1391
- * from Element in miliseconds.
1392
- *
1393
- * @param {HTMLElement} element target
1394
- * @return {number} the value in miliseconds
1395
- */
1396
- export default function getElementTransitionDelay(element: HTMLElement): number;
1397
- }
1398
- declare module "shorty/src/get/getElementTransitionDelayLegacy" {
1399
- /**
1400
- * Utility to get the computed `transitionDelay`
1401
- * from Element in miliseconds.
1402
- *
1403
- * @param {HTMLElement} element target
1404
- * @return {number} the value in miliseconds
1405
- */
1406
- export default function getElementTransitionDelay(element: HTMLElement): number;
1407
- }
1408
- declare module "shorty/src/get/getNodeScroll" {
1409
- /**
1410
- * Returns an `{x,y}` object with the target
1411
- * `HTMLElement` / `Node` scroll position.
1412
- *
1413
- * @see https://github.com/floating-ui/floating-ui
1414
- *
1415
- * @param {HTMLElement | Window} element target node / element
1416
- * @returns {{x: number, y: number}} the scroll tuple
1417
- */
1418
- export default function getNodeScroll(element: HTMLElement | Window): {
1419
- x: number;
1420
- y: number;
1421
- };
1422
- }
1423
- declare module "shorty/src/is/isShadowRoot" {
1424
- export default isShadowRoot;
1425
- /**
1426
- * Check if target is a `ShadowRoot`.
1427
- *
1428
- * @param {any} element target
1429
- * @returns {boolean} the query result
1430
- */
1431
- function isShadowRoot(element: any): boolean;
1432
- }
1433
- declare module "shorty/src/get/getParentNode" {
1434
- /**
1435
- * Returns the `parentNode` also going through `ShadowRoot`.
1436
- * @see https://github.com/floating-ui/floating-ui
1437
- *
1438
- * @param {Node} node the target node
1439
- * @returns {Node} the apropriate parent node
1440
- */
1441
- export default function getParentNode(node: Node): Node;
1442
- }
1443
- declare module "shorty/src/is/isScaledElement" {
1444
- /**
1445
- * Checks if a target `HTMLElement` is affected by scale.
1446
- * @see https://github.com/floating-ui/floating-ui
1447
- *
1448
- * @param {HTMLElement} element target
1449
- * @returns {boolean} the query result
1450
- */
1451
- export default function isScaledElement(element: HTMLElement): boolean;
1452
- }
1453
- declare module "shorty/src/get/getRectRelativeToOffsetParent" {
1454
- /**
1455
- * Returns the rect relative to an offset parent.
1456
- * @see https://github.com/floating-ui/floating-ui
1457
- *
1458
- * @param {HTMLElement} element target
1459
- * @param {ParentNode | Window} offsetParent the container / offset parent
1460
- * @param {{x: number, y: number}} scroll the offsetParent scroll position
1461
- * @returns {SHORTY.OffsetRect}
1462
- */
1463
- export default function getRectRelativeToOffsetParent(element: HTMLElement, offsetParent: ParentNode | Window, scroll: {
1464
- x: number;
1465
- y: number;
1466
- }): SHORTY.OffsetRect;
1467
- }
1468
- declare module "shorty/src/get/getUID" {
1469
- /**
1470
- * Returns a unique identifier for popover, tooltip, scrollspy.
1471
- *
1472
- * @param {HTMLElement} element target element
1473
- * @param {string=} key predefined key
1474
- * @returns {number} an existing or new unique ID
1475
- */
1476
- export default function getUID(element: HTMLElement, key?: string | undefined): number;
1477
- }
1478
- declare module "shorty/src/get/getWindow" {
1479
- /**
1480
- * Returns the `Window` object of a target node.
1481
- * @see https://github.com/floating-ui/floating-ui
1482
- *
1483
- * @param {(Node | Window)=} node target node
1484
- * @returns {Window} the `Window` object
1485
- */
1486
- export default function getWindow(node?: (Node | Window) | undefined): Window;
1487
- }
1488
- declare module "shorty/src/class/addClass" {
1489
- /**
1490
- * Add class to `HTMLElement.classList`.
1491
- *
1492
- * @param {HTMLElement} element target
1493
- * @param {string} classNAME to add
1494
- * @returns {void}
1495
- */
1496
- export default function addClass(element: HTMLElement, classNAME: string): void;
1497
- }
1498
- declare module "shorty/src/class/removeClass" {
1499
- /**
1500
- * Remove class from `HTMLElement.classList`.
1501
- *
1502
- * @param {HTMLElement} element target
1503
- * @param {string} classNAME to remove
1504
- * @returns {void}
1505
- */
1506
- export default function removeClass(element: HTMLElement, classNAME: string): void;
1507
- }
1508
- declare module "shorty/src/class/hasClass" {
1509
- /**
1510
- * Check class in `HTMLElement.classList`.
1511
- *
1512
- * @param {HTMLElement} element target
1513
- * @param {string} classNAME to check
1514
- * @returns {boolean}
1515
- */
1516
- export default function hasClass(element: HTMLElement, classNAME: string): boolean;
1517
- }
1518
- declare module "shorty/src/misc/data" {
1519
- /**
1520
- * An alias for `Data.get()`.
1521
- * @type {SHORTY.getInstance<any>}
1522
- */
1523
- export const getInstance: any;
1524
- export default Data;
1525
- namespace Data {
1526
- function set(element: HTMLElement, component: string, instance: Record<string, any>): void;
1527
- function getAllFor(component: string): Map<HTMLElement, Record<string, any>> | null;
1528
- function get(element: HTMLElement, component: string): Record<string, any> | null;
1529
- function remove(element: HTMLElement, component: string): void;
1530
- }
1531
- }
1532
- declare module "shorty/src/misc/timer" {
1533
- export default Timer;
1534
- namespace Timer {
1535
- function set(element: HTMLElement, callback: any, delay: number, key?: string | undefined): void;
1536
- function get(element: HTMLElement, key?: string | undefined): number | null;
1537
- function clear(element: HTMLElement, key?: string | undefined): void;
1538
- }
1539
- }
1540
- declare module "shorty/src/misc/ObjectAssign" {
1541
- export default ObjectAssign;
1542
- /**
1543
- * Shortcut for `Object.assign()` static method.
1544
- * @param {Record<string, any>} obj a target object
1545
- * @param {Record<string, any>} source a source object
1546
- */
1547
- function ObjectAssign(obj: Record<string, any>, source: Record<string, any>): Record<string, any>;
1548
- }
1549
- declare module "shorty/src/misc/createElement" {
1550
- /**
1551
- * This is a shortie for `document.createElement` method
1552
- * which allows you to create a new `HTMLElement` for a given `tagName`
1553
- * or based on an object with specific non-readonly attributes:
1554
- * `id`, `className`, `textContent`, `style`, etc.
1555
- * @see https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement
1556
- *
1557
- * @param {Record<string, string> | string} param `tagName` or object
1558
- * @return {HTMLElement} a new `HTMLElement` or `Element`
1559
- */
1560
- export default function createElement(param: Record<string, string> | string): HTMLElement;
1561
- }
1562
- declare module "shorty/src/misc/ObjectEntries" {
1563
- export default ObjectEntries;
1564
- /**
1565
- * Shortcut for `Object.entries()` static method.
1566
- * @param {Record<string, any>} obj a target object
1567
- * @returns {[string, any][]}
1568
- */
1569
- function ObjectEntries(obj: Record<string, any>): [string, any][];
1570
- }
1571
- declare module "shorty/src/misc/createElementNS" {
1572
- /**
1573
- * This is a shortie for `document.createElementNS` method
1574
- * which allows you to create a new `HTMLElement` for a given `tagName`
1575
- * or based on an object with specific non-readonly attributes:
1576
- * `id`, `className`, `textContent`, `style`, etc.
1577
- * @see https://developer.mozilla.org/en-US/docs/Web/API/Document/createElementNS
1578
- *
1579
- * @param {string} namespace `namespaceURI` to associate with the new `HTMLElement`
1580
- * @param {Record<string, string> | string} param `tagName` or object
1581
- * @return {HTMLElement} a new `HTMLElement` or `Element`
1582
- */
1583
- export default function createElementNS(namespace: string, param: Record<string, string> | string): HTMLElement;
1584
- }
1585
- declare module "shorty/src/misc/dispatchEvent" {
1586
- export default dispatchEvent;
1587
- /**
1588
- * Shortcut for the `Element.dispatchEvent(Event)` method.
1589
- *
1590
- * @param {HTMLElement} element is the target
1591
- * @param {Event} event is the `Event` object
1592
- */
1593
- function dispatchEvent(element: HTMLElement, event: Event): boolean;
1594
- }
1595
- declare module "shorty/src/misc/distinct" {
1596
- export default distinct;
1597
- /**
1598
- * JavaScript `Array` distinct.
1599
- * @see https://codeburst.io/javascript-array-distinct-5edc93501dc4
1600
- * @param {any} value
1601
- * @param {number} index
1602
- * @param {any} self
1603
- * @returns {boolean}
1604
- */
1605
- function distinct(value: any, index: number, self: any): boolean;
1606
- }
1607
- declare module "shorty/src/misc/emulateAnimationEnd" {
1608
- /**
1609
- * Utility to make sure callbacks are consistently
1610
- * called when animation ends.
1611
- *
1612
- * @param {HTMLElement} element target
1613
- * @param {EventListener} handler `animationend` callback
1614
- */
1615
- export default function emulateAnimationEnd(element: HTMLElement, handler: EventListener): void;
1616
- }
1617
- declare module "shorty/src/misc/emulateAnimationEndLegacy" {
1618
- /**
1619
- * Utility to make sure callbacks are consistently
1620
- * called when animation ends.
1621
- *
1622
- * @param {HTMLElement} element target
1623
- * @param {EventListener} handler `animationend` callback
1624
- */
1625
- export default function emulateAnimationEnd(element: HTMLElement, handler: EventListener): void;
1626
- }
1627
- declare module "shorty/src/misc/emulateTransitionEnd" {
1628
- /**
1629
- * Utility to make sure callbacks are consistently
1630
- * called when transition ends.
1631
- *
1632
- * @param {HTMLElement} element target
1633
- * @param {EventListener} handler `transitionend` callback
1634
- */
1635
- export default function emulateTransitionEnd(element: HTMLElement, handler: EventListener): void;
1636
- }
1637
- declare module "shorty/src/misc/emulateTransitionEndLegacy" {
1638
- /**
1639
- * Utility to make sure callbacks are consistently
1640
- * called when transition ends.
1641
- *
1642
- * @param {HTMLElement} element target
1643
- * @param {EventListener} handler `transitionend` callback
1644
- */
1645
- export default function emulateTransitionEnd(element: HTMLElement, handler: EventListener): void;
1646
- }
1647
- declare module "shorty/src/misc/passiveHandler" {
1648
- export default passiveHandler;
1649
- /**
1650
- * A global namespace for most scroll event listeners.
1651
- * @type {Partial<AddEventListenerOptions>}
1652
- */
1653
- const passiveHandler: Partial<AddEventListenerOptions>;
1654
- }
1655
- declare module "shorty/src/misc/passiveHandlerLegacy" {
1656
- export default passiveHandler;
1657
- /**
1658
- * A global namespace for most scroll event listeners in legacy browsers.
1659
- * @type {Partial<AddEventListenerOptions> | boolean}
1660
- */
1661
- const passiveHandler: Partial<AddEventListenerOptions> | boolean;
1662
- }
1663
- declare module "shorty/src/misc/setElementStyle" {
1664
- export default setElementStyle;
1665
- /**
1666
- * Shortcut for multiple uses of `HTMLElement.style.propertyName` method.
1667
- * @param {HTMLElement} element target element
1668
- * @param {Partial<CSSStyleDeclaration>} styles attribute value
1669
- */
1670
- function setElementStyle(element: HTMLElement, styles: Partial<CSSStyleDeclaration>): void;
1671
- }
1672
- declare module "shorty/src/misc/normalizeValue" {
1673
- /**
1674
- * The raw value or a given component option.
1675
- *
1676
- * @typedef {string | HTMLElement | Function | number | boolean | null} niceValue
1677
- */
1678
- /**
1679
- * Utility to normalize component options
1680
- *
1681
- * @param {any} value the input value
1682
- * @return {niceValue} the normalized value
1683
- */
1684
- export default function normalizeValue(value: any): niceValue;
1685
- /**
1686
- * The raw value or a given component option.
1687
- */
1688
- export type niceValue = string | HTMLElement | Function | number | boolean | null;
1689
- }
1690
- declare module "shorty/src/misc/ObjectKeys" {
1691
- export default ObjectKeys;
1692
- /**
1693
- * Shortcut for `Object.keys()` static method.
1694
- * @param {Record<string, any>} obj a target object
1695
- * @returns {string[]}
1696
- */
1697
- function ObjectKeys(obj: Record<string, any>): string[];
1698
- }
1699
- declare module "shorty/src/misc/toLowerCase" {
1700
- export default toLowerCase;
1701
- /**
1702
- * Shortcut for `String.toLowerCase()`.
1703
- *
1704
- * @param {string} source input string
1705
- * @returns {string} lowercase output string
1706
- */
1707
- function toLowerCase(source: string): string;
1708
- }
1709
- declare module "shorty/src/misc/normalizeOptions" {
1710
- /**
1711
- * Utility to normalize component options.
1712
- *
1713
- * @param {HTMLElement} element target
1714
- * @param {Record<string, any>} defaultOps component default options
1715
- * @param {Record<string, any>} inputOps component instance options
1716
- * @param {string=} ns component namespace
1717
- * @return {Record<string, any>} normalized component options object
1718
- */
1719
- export default function normalizeOptions(element: HTMLElement, defaultOps: Record<string, any>, inputOps: Record<string, any>, ns?: string | undefined): Record<string, any>;
1720
- }
1721
- declare module "shorty/src/misc/reflow" {
1722
- export default reflow;
1723
- /**
1724
- * Utility to force re-paint of an `HTMLElement` target.
1725
- *
1726
- * @param {HTMLElement} element is the target
1727
- * @return {number} the `Element.offsetHeight` value
1728
- */
1729
- function reflow(element: HTMLElement): number;
1730
- }
1731
- declare module "shorty/src/misc/focus" {
1732
- export default focus;
1733
- /**
1734
- * Utility to focus an `HTMLElement` target.
1735
- *
1736
- * @param {HTMLElement} element is the target
1737
- */
1738
- function focus(element: HTMLElement): void;
1739
- }
1740
- declare module "shorty/src/misc/noop" {
1741
- export default noop;
1742
- /** A generic function with empty body. */
1743
- function noop(): void;
1744
- }
1745
- declare module "shorty/src/misc/toUpperCase" {
1746
- export default toUpperCase;
1747
- /**
1748
- * Shortcut for `String.toUpperCase()`.
1749
- *
1750
- * @param {string} source input string
1751
- * @returns {string} uppercase output string
1752
- */
1753
- function toUpperCase(source: string): string;
1754
- }
1755
- declare module "shorty/src/misc/ArrayFrom" {
1756
- export default ArrayFrom;
1757
- /**
1758
- * Shortcut for `Array.from()` static method.
1759
- *
1760
- * @param {any[] | HTMLCollection | NodeList | Map<any, any>} arr array-like iterable object
1761
- * @returns {Array<any>}
1762
- */
1763
- function ArrayFrom(arr: any[] | HTMLCollection | NodeList | Map<any, any>): Array<any>;
1764
- }
1765
- declare module "shorty/src/misc/Float32ArrayFrom" {
1766
- export default Float32ArrayFrom;
1767
- /**
1768
- * Shortcut for `Float32Array.from()` static method.
1769
- * @param {any[] | HTMLCollection | NodeList} arr array-like iterable object
1770
- * @returns {Float32Array}
1771
- */
1772
- function Float32ArrayFrom(arr: any[] | HTMLCollection | NodeList): Float32Array;
1773
- }
1774
- declare module "shorty/src/misc/Float64ArrayFrom" {
1775
- export default Float64ArrayFrom;
1776
- /**
1777
- * Shortcut for `Float64Array.from()` static method.
1778
- * @param {any[] | HTMLCollection | NodeList} arr array-like iterable object
1779
- * @returns {Float64Array}
1780
- */
1781
- function Float64ArrayFrom(arr: any[] | HTMLCollection | NodeList): Float64Array;
1782
- }
1783
- declare module "shorty/src/misc/ObjectValues" {
1784
- export default ObjectValues;
1785
- /**
1786
- * Shortcut for `Object.values()` static method.
1787
- * @param {Record<string, any>} obj a target object
1788
- * @returns {any[]}
1789
- */
1790
- function ObjectValues(obj: Record<string, any>): any[];
1791
- }
1792
- declare module "shorty/src/misc/OriginalEvent" {
1793
- /**
1794
- * Returns a namespaced `CustomEvent` specific to each component.
1795
- * @param {string} EventType Event.type
1796
- * @param {Record<string, any>=} config Event.options | Event.properties
1797
- * @returns {SHORTY.OriginalEvent} a new namespaced event
1798
- */
1799
- export default function OriginalEvent(EventType: string, config?: Record<string, any> | undefined): SHORTY.OriginalEvent;
1800
- }
1801
- declare module "shorty/src/is/isArray" {
1802
- export default isArray;
1803
- /**
1804
- * Shortcut for `Array.isArray()` static method.
1805
- *
1806
- * @param {any} arr array-like iterable object
1807
- * @returns {boolean} the query result
1808
- */
1809
- function isArray(arr: any): boolean;
1810
- }
1811
- declare module "shorty/src/is/isCustomElement" {
1812
- export default isCustomElement;
1813
- /**
1814
- * Checks if an object is a `CustomElement`.
1815
- *
1816
- * @param {any} element the target object
1817
- * @returns {boolean} the query result
1818
- */
1819
- function isCustomElement(element: any): boolean;
1820
- }
1821
- declare module "shorty/src/is/isElement" {
1822
- export default isElement;
1823
- /**
1824
- * Checks if an object is an `Element`.
1825
- * @see https://dom.spec.whatwg.org/#node
1826
- * ELEMENT_NODE = 1;
1827
- * ATTRIBUTE_NODE = 2;
1828
- * TEXT_NODE = 3;
1829
- * CDATA_SECTION_NODE = 4;
1830
- * ENTITY_REFERENCE_NODE = 5; // legacy
1831
- * ENTITY_NODE = 6; // legacy
1832
- * PROCESSING_INSTRUCTION_NODE = 7;
1833
- * COMMENT_NODE = 8;
1834
- * DOCUMENT_NODE = 9;
1835
- * DOCUMENT_TYPE_NODE = 10;
1836
- * DOCUMENT_FRAGMENT_NODE = 11;
1837
- *
1838
- * @param {any} element the target object
1839
- * @returns {boolean} the query result
1840
- */
1841
- function isElement(element: any): boolean;
1842
- }
1843
- declare module "shorty/src/is/isElementInScrollRange" {
1844
- export default isElementInScrollRange;
1845
- /**
1846
- * Utility to determine if an `HTMLElement`
1847
- * is partially visible in viewport.
1848
- *
1849
- * @param {HTMLElement} element target
1850
- * @return {boolean} the query result
1851
- */
1852
- function isElementInScrollRange(element: HTMLElement): boolean;
1853
- }
1854
- declare module "shorty/src/is/isElementInViewport" {
1855
- export default isElementInViewport;
1856
- /**
1857
- * Utility to determine if an `HTMLElement`
1858
- * is fully visible in the viewport.
1859
- *
1860
- * @param {HTMLElement} element target
1861
- * @return {boolean} the query result
1862
- */
1863
- function isElementInViewport(element: HTMLElement): boolean;
1864
- }
1865
- declare module "shorty/src/is/isElementsArray" {
1866
- export default isElementsArray;
1867
- /**
1868
- * Checks if an object is an `Array` in which all items are `Element`.
1869
- *
1870
- * @param {any} object the target object
1871
- * @returns {boolean} the query result
1872
- */
1873
- function isElementsArray(object: any): boolean;
1874
- }
1875
- declare module "shorty/src/is/isFunction" {
1876
- export default isFunction;
1877
- /**
1878
- * Checks if an object is a `Function`.
1879
- *
1880
- * @param {any} fn the target object
1881
- * @returns {boolean} the query result
1882
- */
1883
- function isFunction(fn: any): boolean;
1884
- }
1885
- declare module "shorty/src/is/isHTMLCollection" {
1886
- export default isHTMLCollection;
1887
- /**
1888
- * Checks if an object is an `HTMLCollection`.
1889
- *
1890
- * @param {any} object the target object
1891
- * @returns {boolean} the query result
1892
- */
1893
- function isHTMLCollection(object: any): boolean;
1894
- }
1895
- declare module "shorty/src/is/isHTMLImageElement" {
1896
- export default isHTMLImageElement;
1897
- /**
1898
- * Check if a target element is an `<img>`.
1899
- * @param {any} element the target element
1900
- * @returns {boolean} the query result
1901
- */
1902
- function isHTMLImageElement(element: any): boolean;
1903
- }
1904
- declare module "shorty/src/is/isMedia" {
1905
- export default isMedia;
1906
- /**
1907
- * Checks if an element is an `<svg>` (or any type of SVG element),
1908
- * `<img>` or `<video>`.
1909
- *
1910
- * *Tooltip* / *Popover* works different with media elements.
1911
- * @param {any} element the target element
1912
- * @returns {boolean} the query result
1913
- */
1914
- function isMedia(element: any): boolean;
1915
- }
1916
- declare module "shorty/src/is/isNodeList" {
1917
- export default isNodeList;
1918
- /**
1919
- * Checks if an object is a `NodeList`.
1920
- * => equivalent to `object instanceof NodeList`
1921
- *
1922
- * @param {any} object the target object
1923
- * @returns {boolean} the query result
1924
- */
1925
- function isNodeList(object: any): boolean;
1926
- }
1927
- declare module "shorty/src/is/isRTL" {
1928
- export default isRTL;
1929
- /**
1930
- * Checks if a page is Right To Left.
1931
- * @param {HTMLElement=} node the target
1932
- * @returns {boolean} the query result
1933
- */
1934
- function isRTL(node?: HTMLElement | undefined): boolean;
1935
- }
1936
- declare module "shorty/src/is/isString" {
1937
- export default isString;
1938
- /**
1939
- * Shortcut for `typeof SOMETHING === "string"`.
1940
- *
1941
- * @param {any} str input value
1942
- * @returns {boolean} the query result
1943
- */
1944
- function isString(str: any): boolean;
1945
- }
1946
- declare module "shorty/src/is/isNumber" {
1947
- export default isNumber;
1948
- /**
1949
- * Shortcut for `typeof SOMETHING === "number"`.
1950
- *
1951
- * @param {any} num input value
1952
- * @returns {boolean} the query result
1953
- */
1954
- function isNumber(num: any): boolean;
1955
- }
1956
- declare module "shorty/src/is/isSVGElement" {
1957
- export default isSVGElement;
1958
- /**
1959
- * Check if an element is an `<svg>` or any other SVG element.
1960
- * @param {any} element the target element
1961
- * @returns {boolean} the query result
1962
- */
1963
- function isSVGElement(element: any): boolean;
1964
- }
1965
- declare module "shorty/src/is/isTableElement" {
1966
- export default isTableElement;
1967
- /**
1968
- * Check if a target element is a `<table>`, `<td>` or `<th>`.
1969
- * This specific check is important for determining
1970
- * the `offsetParent` of a given element.
1971
- *
1972
- * @param {any} element the target element
1973
- * @returns {boolean} the query result
1974
- */
1975
- function isTableElement(element: any): boolean;
1976
- }
1977
- declare module "shorty/src/selectors/closest" {
1978
- /**
1979
- * Shortcut for `HTMLElement.closest` method which also works
1980
- * with children of `ShadowRoot`. The order of the parameters
1981
- * is intentional since they're both required.
1982
- *
1983
- * @see https://stackoverflow.com/q/54520554/803358
1984
- *
1985
- * @param {HTMLElement} element Element to look into
1986
- * @param {string} selector the selector name
1987
- * @return {HTMLElement?} the query result
1988
- */
1989
- export default function closest(element: HTMLElement, selector: string): HTMLElement | null;
1990
- }
1991
- declare module "shorty/src/selectors/getElementsByTagName" {
1992
- /**
1993
- * Shortcut for `HTMLElement.getElementsByTagName` method. Some `Node` elements
1994
- * like `ShadowRoot` do not support `getElementsByTagName`.
1995
- *
1996
- * @param {string} selector the tag name
1997
- * @param {ParentNode=} parent optional Element to look into
1998
- * @return {HTMLCollectionOf<HTMLElement>} the 'HTMLCollection'
1999
- */
2000
- export default function getElementsByTagName(selector: string, parent?: ParentNode | undefined): HTMLCollectionOf<HTMLElement>;
2001
- }
2002
- declare module "shorty/src/selectors/getCustomElements" {
2003
- /**
2004
- * Returns an `Array` of `Node` elements that are registered as
2005
- * `CustomElement`.
2006
- * @see https://stackoverflow.com/questions/27334365/how-to-get-list-of-registered-custom-elements
2007
- *
2008
- * @param {ParentNode=} parent parent to look into
2009
- * @returns {Array<HTMLElement>} the query result
2010
- */
2011
- export default function getCustomElements(parent?: ParentNode | undefined): Array<HTMLElement>;
2012
- }
2013
- declare module "shorty/src/selectors/getElementById" {
2014
- /**
2015
- * Returns an `Element` that matches the id in the document.
2016
- * Within multiple <iframe> elements, a `parent` parameter
2017
- * would decisively locate the correct element.
2018
- *
2019
- * @param {string} id
2020
- * @param {ParentNode=} context
2021
- * @returns {HTMLElement?}
2022
- */
2023
- export default function getElementById(id: string, context?: ParentNode | undefined): HTMLElement | null;
2024
- }
2025
- declare module "shorty/src/selectors/querySelector" {
2026
- /**
2027
- * Utility to check if target is typeof `HTMLElement`, `Element`, `Node`
2028
- * or find one that matches a selector.
2029
- *
2030
- * @param {Node | string} selector the input selector or target element
2031
- * @param {ParentNode=} parent optional node to look into
2032
- * @return {HTMLElement?} the `HTMLElement` or `querySelector` result
2033
- */
2034
- export default function querySelector(selector: Node | string, parent?: ParentNode | undefined): HTMLElement | null;
2035
- }
2036
- declare module "shorty/src/selectors/querySelectorAll" {
2037
- /**
2038
- * A shortcut for `(document|Element).querySelectorAll`.
2039
- *
2040
- * @param {string} selector the input selector
2041
- * @param {ParentNode=} parent optional node to look into
2042
- * @return {NodeListOf<HTMLElement>} the query result
2043
- */
2044
- export default function querySelectorAll(selector: string, parent?: ParentNode | undefined): NodeListOf<HTMLElement>;
2045
- }
2046
- declare module "shorty/src/selectors/getElementsByClassName" {
2047
- /**
2048
- * Shortcut for `HTMLElement.getElementsByClassName` method. Some `Node` elements
2049
- * like `ShadowRoot` do not support `getElementsByClassName`.
2050
- *
2051
- * @param {string} selector the class name
2052
- * @param {ParentNode=} parent optional Element to look into
2053
- * @return {HTMLCollectionOf<HTMLElement>} the 'HTMLCollection'
2054
- */
2055
- export default function getElementsByClassName(selector: string, parent?: ParentNode | undefined): HTMLCollectionOf<HTMLElement>;
2056
- }
2057
- declare module "shorty/src/selectors/matches" {
2058
- /**
2059
- * Check if element matches a CSS selector.
2060
- *
2061
- * @param {HTMLElement} target
2062
- * @param {string} selector
2063
- * @returns {boolean}
2064
- */
2065
- export default function matches(target: HTMLElement, selector: string): boolean;
2066
- }
2067
- declare module "shorty/src/selectors/matchesLegacy" {
2068
- /**
2069
- * Check if element matches a CSS selector,
2070
- * supporting a range of legacy browsers.
2071
- *
2072
- * @param {HTMLElement} target
2073
- * @param {string} selector
2074
- * @returns {boolean}
2075
- */
2076
- export default function matches(target: HTMLElement, selector: string): boolean;
2077
- }
2078
- declare module "shorty/src/misc/version" {
2079
- export default Version;
2080
- /**
2081
- * A global namespace for library version.
2082
- * @type {string}
2083
- */
2084
- const Version: string;
2085
- }
2086
- declare module "shorty/types/module/shorty" {
2087
- export { default as ariaChecked } from "shorty/src/strings/ariaChecked";
2088
- export { default as ariaDescription } from "shorty/src/strings/ariaDescription";
2089
- export { default as ariaDescribedBy } from "shorty/src/strings/ariaDescribedBy";
2090
- export { default as ariaExpanded } from "shorty/src/strings/ariaExpanded";
2091
- export { default as ariaHasPopup } from "shorty/src/strings/ariaHasPopup";
2092
- export { default as ariaHidden } from "shorty/src/strings/ariaHidden";
2093
- export { default as ariaLabel } from "shorty/src/strings/ariaLabel";
2094
- export { default as ariaLabelledBy } from "shorty/src/strings/ariaLabelledBy";
2095
- export { default as ariaModal } from "shorty/src/strings/ariaModal";
2096
- export { default as ariaPressed } from "shorty/src/strings/ariaPressed";
2097
- export { default as ariaSelected } from "shorty/src/strings/ariaSelected";
2098
- export { default as ariaValueMin } from "shorty/src/strings/ariaValueMin";
2099
- export { default as ariaValueMax } from "shorty/src/strings/ariaValueMax";
2100
- export { default as ariaValueNow } from "shorty/src/strings/ariaValueNow";
2101
- export { default as ariaValueText } from "shorty/src/strings/ariaValueText";
2102
- export { default as nativeEvents } from "shorty/src/strings/nativeEvents";
2103
- export { default as abortEvent } from "shorty/src/strings/abortEvent";
2104
- export { default as beforeunloadEvent } from "shorty/src/strings/beforeunloadEvent";
2105
- export { default as blurEvent } from "shorty/src/strings/blurEvent";
2106
- export { default as changeEvent } from "shorty/src/strings/changeEvent";
2107
- export { default as contextmenuEvent } from "shorty/src/strings/contextmenuEvent";
2108
- export { default as DOMContentLoadedEvent } from "shorty/src/strings/DOMContentLoadedEvent";
2109
- export { default as DOMMouseScrollEvent } from "shorty/src/strings/DOMMouseScrollEvent";
2110
- export { default as errorEvent } from "shorty/src/strings/errorEvent";
2111
- export { default as focusEvents } from "shorty/src/strings/focusEvents";
2112
- export { default as focusEvent } from "shorty/src/strings/focusEvent";
2113
- export { default as focusinEvent } from "shorty/src/strings/focusinEvent";
2114
- export { default as focusoutEvent } from "shorty/src/strings/focusoutEvent";
2115
- export { default as gesturechangeEvent } from "shorty/src/strings/gesturechangeEvent";
2116
- export { default as gestureendEvent } from "shorty/src/strings/gestureendEvent";
2117
- export { default as gesturestartEvent } from "shorty/src/strings/gesturestartEvent";
2118
- export { default as keydownEvent } from "shorty/src/strings/keydownEvent";
2119
- export { default as keyupEvent } from "shorty/src/strings/keyupEvent";
2120
- export { default as keypressEvent } from "shorty/src/strings/keypressEvent";
2121
- export { default as loadEvent } from "shorty/src/strings/loadEvent";
2122
- export { default as loadstartEvent } from "shorty/src/strings/loadstartEvent";
2123
- export { default as mouseClickEvents } from "shorty/src/strings/mouseClickEvents";
2124
- export { default as mouseclickEvent } from "shorty/src/strings/mouseclickEvent";
2125
- export { default as mousedblclickEvent } from "shorty/src/strings/mousedblclickEvent";
2126
- export { default as mousedownEvent } from "shorty/src/strings/mousedownEvent";
2127
- export { default as mouseupEvent } from "shorty/src/strings/mouseupEvent";
2128
- export { default as mousehoverEvent } from "shorty/src/strings/mousehoverEvent";
2129
- export { default as mouseHoverEvents } from "shorty/src/strings/mouseHoverEvents";
2130
- export { default as mouseenterEvent } from "shorty/src/strings/mouseenterEvent";
2131
- export { default as mouseleaveEvent } from "shorty/src/strings/mouseleaveEvent";
2132
- export { default as mouseinEvent } from "shorty/src/strings/mouseinEvent";
2133
- export { default as mouseoutEvent } from "shorty/src/strings/mouseoutEvent";
2134
- export { default as mouseoverEvent } from "shorty/src/strings/mouseoverEvent";
2135
- export { default as mousemoveEvent } from "shorty/src/strings/mousemoveEvent";
2136
- export { default as mouseSwipeEvents } from "shorty/src/strings/mouseSwipeEvents";
2137
- export { default as mousewheelEvent } from "shorty/src/strings/mousewheelEvent";
2138
- export { default as moveEvent } from "shorty/src/strings/moveEvent";
2139
- export { default as orientationchangeEvent } from "shorty/src/strings/orientationchangeEvent";
2140
- export { default as pointercancelEvent } from "shorty/src/strings/pointercancelEvent";
2141
- export { default as pointerdownEvent } from "shorty/src/strings/pointerdownEvent";
2142
- export { default as pointerleaveEvent } from "shorty/src/strings/pointerleaveEvent";
2143
- export { default as pointermoveEvent } from "shorty/src/strings/pointermoveEvent";
2144
- export { default as pointerupEvent } from "shorty/src/strings/pointerupEvent";
2145
- export { default as readystatechangeEvent } from "shorty/src/strings/readystatechangeEvent";
2146
- export { default as resetEvent } from "shorty/src/strings/resetEvent";
2147
- export { default as resizeEvent } from "shorty/src/strings/resizeEvent";
2148
- export { default as selectEvent } from "shorty/src/strings/selectEvent";
2149
- export { default as selectendEvent } from "shorty/src/strings/selectendEvent";
2150
- export { default as selectstartEvent } from "shorty/src/strings/selectstartEvent";
2151
- export { default as scrollEvent } from "shorty/src/strings/scrollEvent";
2152
- export { default as submitEvent } from "shorty/src/strings/submitEvent";
2153
- export { default as touchEvents } from "shorty/src/strings/touchEvents";
2154
- export { default as touchstartEvent } from "shorty/src/strings/touchstartEvent";
2155
- export { default as touchmoveEvent } from "shorty/src/strings/touchmoveEvent";
2156
- export { default as touchcancelEvent } from "shorty/src/strings/touchcancelEvent";
2157
- export { default as touchendEvent } from "shorty/src/strings/touchendEvent";
2158
- export { default as unloadEvent } from "shorty/src/strings/unloadEvent";
2159
- export { default as keyboardEventKeys } from "shorty/src/strings/keyboardEventKeys";
2160
- export { default as keyAlt } from "shorty/src/strings/keyAlt";
2161
- export { default as keyArrowDown } from "shorty/src/strings/keyArrowDown";
2162
- export { default as keyArrowUp } from "shorty/src/strings/keyArrowUp";
2163
- export { default as keyArrowLeft } from "shorty/src/strings/keyArrowLeft";
2164
- export { default as keyArrowRight } from "shorty/src/strings/keyArrowRight";
2165
- export { default as keyBackspace } from "shorty/src/strings/keyBackspace";
2166
- export { default as keyCapsLock } from "shorty/src/strings/keyCapsLock";
2167
- export { default as keyControl } from "shorty/src/strings/keyControl";
2168
- export { default as keyDelete } from "shorty/src/strings/keyDelete";
2169
- export { default as keyEnter } from "shorty/src/strings/keyEnter";
2170
- export { default as keyEscape } from "shorty/src/strings/keyEscape";
2171
- export { default as keyInsert } from "shorty/src/strings/keyInsert";
2172
- export { default as keyMeta } from "shorty/src/strings/keyMeta";
2173
- export { default as keyPause } from "shorty/src/strings/keyPause";
2174
- export { default as keyScrollLock } from "shorty/src/strings/keyScrollLock";
2175
- export { default as keyShift } from "shorty/src/strings/keyShift";
2176
- export { default as keySpace } from "shorty/src/strings/keySpace";
2177
- export { default as keyTab } from "shorty/src/strings/keyTab";
2178
- export { default as animationDuration } from "shorty/src/strings/animationDuration";
2179
- export { default as animationDurationLegacy } from "shorty/src/strings/animationDurationLegacy";
2180
- export { default as animationDelay } from "shorty/src/strings/animationDelay";
2181
- export { default as animationDelayLegacy } from "shorty/src/strings/animationDelayLegacy";
2182
- export { default as animationName } from "shorty/src/strings/animationName";
2183
- export { default as animationNameLegacy } from "shorty/src/strings/animationNameLegacy";
2184
- export { default as animationEndEvent } from "shorty/src/strings/animationEndEvent";
2185
- export { default as animationEndEventLegacy } from "shorty/src/strings/animationEndEventLegacy";
2186
- export { default as transitionDuration } from "shorty/src/strings/transitionDuration";
2187
- export { default as transitionDurationLegacy } from "shorty/src/strings/transitionDurationLegacy";
2188
- export { default as transitionDelay } from "shorty/src/strings/transitionDelay";
2189
- export { default as transitionDelayLegacy } from "shorty/src/strings/transitionDelayLegacy";
2190
- export { default as transitionEndEvent } from "shorty/src/strings/transitionEndEvent";
2191
- export { default as transitionEndEventLegacy } from "shorty/src/strings/transitionEndEventLegacy";
2192
- export { default as transitionProperty } from "shorty/src/strings/transitionProperty";
2193
- export { default as transitionPropertyLegacy } from "shorty/src/strings/transitionPropertyLegacy";
2194
- export { default as addEventListener } from "shorty/src/strings/addEventListener";
2195
- export { default as removeEventListener } from "shorty/src/strings/removeEventListener";
2196
- export { default as bezierEasings } from "shorty/src/strings/bezierEasings";
2197
- export { default as offsetHeight } from "shorty/src/strings/offsetHeight";
2198
- export { default as offsetWidth } from "shorty/src/strings/offsetWidth";
2199
- export { default as scrollHeight } from "shorty/src/strings/scrollHeight";
2200
- export { default as scrollWidth } from "shorty/src/strings/scrollWidth";
2201
- export { default as userAgentData } from "shorty/src/strings/userAgentData";
2202
- export { default as userAgent } from "shorty/src/strings/userAgent";
2203
- export { default as isApple } from "shorty/src/boolean/isApple";
2204
- export { default as isFirefox } from "shorty/src/boolean/isFirefox";
2205
- export { default as isMobile } from "shorty/src/boolean/isMobile";
2206
- export { default as support3DTransform } from "shorty/src/boolean/support3DTransform";
2207
- export { default as supportAnimation } from "shorty/src/boolean/supportAnimation";
2208
- export { default as supportPassive } from "shorty/src/boolean/supportPassive";
2209
- export { default as supportTouch } from "shorty/src/boolean/supportTouch";
2210
- export { default as supportTransform } from "shorty/src/boolean/supportTransform";
2211
- export { default as supportTransition } from "shorty/src/boolean/supportTransition";
2212
- export { default as hasAttribute } from "shorty/src/attr/hasAttribute";
2213
- export { default as hasAttributeNS } from "shorty/src/attr/hasAttributeNS";
2214
- export { default as getAttribute } from "shorty/src/attr/getAttribute";
2215
- export { default as getAttributeNS } from "shorty/src/attr/getAttributeNS";
2216
- export { default as setAttribute } from "shorty/src/attr/setAttribute";
2217
- export { default as setAttributeNS } from "shorty/src/attr/setAttributeNS";
2218
- export { default as removeAttribute } from "shorty/src/attr/removeAttribute";
2219
- export { default as removeAttributeNS } from "shorty/src/attr/removeAttributeNS";
2220
- export { default as getBoundingClientRect } from "shorty/src/get/getBoundingClientRect";
2221
- export { default as getDocument } from "shorty/src/get/getDocument";
2222
- export { default as getDocumentBody } from "shorty/src/get/getDocumentBody";
2223
- export { default as getDocumentElement } from "shorty/src/get/getDocumentElement";
2224
- export { default as getDocumentHead } from "shorty/src/get/getDocumentHead";
2225
- export { default as getElementAnimationDuration } from "shorty/src/get/getElementAnimationDuration";
2226
- export { default as getElementAnimationDurationLegacy } from "shorty/src/get/getElementAnimationDurationLegacy";
2227
- export { default as getElementAnimationDelay } from "shorty/src/get/getElementAnimationDelay";
2228
- export { default as getElementAnimationDelayLegacy } from "shorty/src/get/getElementAnimationDelayLegacy";
2229
- export { default as getElementStyle } from "shorty/src/get/getElementStyle";
2230
- export { default as getElementTransitionDuration } from "shorty/src/get/getElementTransitionDuration";
2231
- export { default as getElementTransitionDurationLegacy } from "shorty/src/get/getElementTransitionDurationLegacy";
2232
- export { default as getElementTransitionDelay } from "shorty/src/get/getElementTransitionDelay";
2233
- export { default as getElementTransitionDelayLegacy } from "shorty/src/get/getElementTransitionDelayLegacy";
2234
- export { default as getNodeScroll } from "shorty/src/get/getNodeScroll";
2235
- export { default as getParentNode } from "shorty/src/get/getParentNode";
2236
- export { default as getRectRelativeToOffsetParent } from "shorty/src/get/getRectRelativeToOffsetParent";
2237
- export { default as getUID } from "shorty/src/get/getUID";
2238
- export { default as getWindow } from "shorty/src/get/getWindow";
2239
- export { default as addClass } from "shorty/src/class/addClass";
2240
- export { default as removeClass } from "shorty/src/class/removeClass";
2241
- export { default as hasClass } from "shorty/src/class/hasClass";
2242
- export { default as on } from "shorty/src/event/on";
2243
- export { default as off } from "shorty/src/event/off";
2244
- export { default as one } from "shorty/src/event/one";
2245
- export { default as Data, getInstance } from "shorty/src/misc/data";
2246
- export { default as Timer } from "shorty/src/misc/timer";
2247
- export { default as createElement } from "shorty/src/misc/createElement";
2248
- export { default as createElementNS } from "shorty/src/misc/createElementNS";
2249
- export { default as dispatchEvent } from "shorty/src/misc/dispatchEvent";
2250
- export { default as distinct } from "shorty/src/misc/distinct";
2251
- export { default as emulateAnimationEnd } from "shorty/src/misc/emulateAnimationEnd";
2252
- export { default as emulateAnimationEndLegacy } from "shorty/src/misc/emulateAnimationEndLegacy";
2253
- export { default as emulateTransitionEnd } from "shorty/src/misc/emulateTransitionEnd";
2254
- export { default as emulateTransitionEndLegacy } from "shorty/src/misc/emulateTransitionEndLegacy";
2255
- export { default as passiveHandler } from "shorty/src/misc/passiveHandler";
2256
- export { default as passiveHandlerLegacy } from "shorty/src/misc/passiveHandlerLegacy";
2257
- export { default as setElementStyle } from "shorty/src/misc/setElementStyle";
2258
- export { default as normalizeValue } from "shorty/src/misc/normalizeValue";
2259
- export { default as normalizeOptions } from "shorty/src/misc/normalizeOptions";
2260
- export { default as reflow } from "shorty/src/misc/reflow";
2261
- export { default as focus } from "shorty/src/misc/focus";
2262
- export { default as noop } from "shorty/src/misc/noop";
2263
- export { default as toLowerCase } from "shorty/src/misc/toLowerCase";
2264
- export { default as toUpperCase } from "shorty/src/misc/toUpperCase";
2265
- export { default as ArrayFrom } from "shorty/src/misc/ArrayFrom";
2266
- export { default as Float32ArrayFrom } from "shorty/src/misc/Float32ArrayFrom";
2267
- export { default as Float64ArrayFrom } from "shorty/src/misc/Float64ArrayFrom";
2268
- export { default as ObjectEntries } from "shorty/src/misc/ObjectEntries";
2269
- export { default as ObjectKeys } from "shorty/src/misc/ObjectKeys";
2270
- export { default as ObjectValues } from "shorty/src/misc/ObjectValues";
2271
- export { default as ObjectAssign } from "shorty/src/misc/ObjectAssign";
2272
- export { default as OriginalEvent } from "shorty/src/misc/OriginalEvent";
2273
- export { default as isArray } from "shorty/src/is/isArray";
2274
- export { default as isDocument } from "shorty/src/is/isDocument";
2275
- export { default as isCustomElement } from "shorty/src/is/isCustomElement";
2276
- export { default as isElement } from "shorty/src/is/isElement";
2277
- export { default as isElementInScrollRange } from "shorty/src/is/isElementInScrollRange";
2278
- export { default as isElementInViewport } from "shorty/src/is/isElementInViewport";
2279
- export { default as isElementsArray } from "shorty/src/is/isElementsArray";
2280
- export { default as isFunction } from "shorty/src/is/isFunction";
2281
- export { default as isHTMLCollection } from "shorty/src/is/isHTMLCollection";
2282
- export { default as isHTMLElement } from "shorty/src/is/isHTMLElement";
2283
- export { default as isHTMLImageElement } from "shorty/src/is/isHTMLImageElement";
2284
- export { default as isMedia } from "shorty/src/is/isMedia";
2285
- export { default as isNode } from "shorty/src/is/isNode";
2286
- export { default as isNodeList } from "shorty/src/is/isNodeList";
2287
- export { default as isRTL } from "shorty/src/is/isRTL";
2288
- export { default as isScaledElement } from "shorty/src/is/isScaledElement";
2289
- export { default as isShadowRoot } from "shorty/src/is/isShadowRoot";
2290
- export { default as isString } from "shorty/src/is/isString";
2291
- export { default as isNumber } from "shorty/src/is/isNumber";
2292
- export { default as isSVGElement } from "shorty/src/is/isSVGElement";
2293
- export { default as isTableElement } from "shorty/src/is/isTableElement";
2294
- export { default as isWindow } from "shorty/src/is/isWindow";
2295
- export { default as closest } from "shorty/src/selectors/closest";
2296
- export { default as getCustomElements } from "shorty/src/selectors/getCustomElements";
2297
- export { default as getElementById } from "shorty/src/selectors/getElementById";
2298
- export { default as querySelector } from "shorty/src/selectors/querySelector";
2299
- export { default as querySelectorAll } from "shorty/src/selectors/querySelectorAll";
2300
- export { default as getElementsByTagName } from "shorty/src/selectors/getElementsByTagName";
2301
- export { default as getElementsByClassName } from "shorty/src/selectors/getElementsByClassName";
2302
- export { default as matches } from "shorty/src/selectors/matches";
2303
- export { default as matchesLegacy } from "shorty/src/selectors/matchesLegacy";
2304
- export { default as Version } from "shorty/src/misc/version";
2305
- }