@thednp/shorty 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (234) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +340 -0
  3. package/dist/shorty.esm.js +2540 -0
  4. package/dist/shorty.esm.min.js +2 -0
  5. package/dist/shorty.js +2563 -0
  6. package/dist/shorty.min.js +2 -0
  7. package/package.json +59 -0
  8. package/src/attr/getAttribute.js +9 -0
  9. package/src/attr/getAttributeNS.js +10 -0
  10. package/src/attr/hasAttribute.js +9 -0
  11. package/src/attr/hasAttributeNS.js +10 -0
  12. package/src/attr/removeAttribute.js +9 -0
  13. package/src/attr/removeAttributeNS.js +10 -0
  14. package/src/attr/setAttribute.js +10 -0
  15. package/src/attr/setAttributeNS.js +11 -0
  16. package/src/blocks/documentBody.js +5 -0
  17. package/src/blocks/documentElement.js +5 -0
  18. package/src/blocks/documentHead.js +5 -0
  19. package/src/boolean/isApple.js +13 -0
  20. package/src/boolean/isFirefox.js +9 -0
  21. package/src/boolean/isMobile.js +20 -0
  22. package/src/boolean/support3DTransform.js +8 -0
  23. package/src/boolean/supportAnimation.js +8 -0
  24. package/src/boolean/supportPassive.js +28 -0
  25. package/src/boolean/supportTouch.js +6 -0
  26. package/src/boolean/supportTransform.js +8 -0
  27. package/src/boolean/supportTransition.js +8 -0
  28. package/src/class/addClass.js +10 -0
  29. package/src/class/hasClass.js +10 -0
  30. package/src/class/removeClass.js +10 -0
  31. package/src/event/off.js +13 -0
  32. package/src/event/on.js +13 -0
  33. package/src/event/one.js +26 -0
  34. package/src/get/getBoundingClientRect.js +33 -0
  35. package/src/get/getDocument.js +11 -0
  36. package/src/get/getDocumentBody.js +10 -0
  37. package/src/get/getDocumentElement.js +11 -0
  38. package/src/get/getDocumentHead.js +10 -0
  39. package/src/get/getElementAnimationDelay.js +21 -0
  40. package/src/get/getElementAnimationDelayLegacy.js +21 -0
  41. package/src/get/getElementAnimationDuration.js +20 -0
  42. package/src/get/getElementAnimationDurationLegacy.js +21 -0
  43. package/src/get/getElementStyle.js +18 -0
  44. package/src/get/getElementTransitionDelay.js +21 -0
  45. package/src/get/getElementTransitionDelayLegacy.js +21 -0
  46. package/src/get/getElementTransitionDuration.js +20 -0
  47. package/src/get/getElementTransitionDurationLegacy.js +21 -0
  48. package/src/get/getNodeScroll.js +16 -0
  49. package/src/get/getParentNode.js +24 -0
  50. package/src/get/getRectRelativeToOffsetParent.js +30 -0
  51. package/src/get/getUID.js +34 -0
  52. package/src/get/getWindow.js +20 -0
  53. package/src/index.js +475 -0
  54. package/src/is/isArray.js +9 -0
  55. package/src/is/isCustomElement.js +8 -0
  56. package/src/is/isDocument.js +9 -0
  57. package/src/is/isElement.js +9 -0
  58. package/src/is/isElementInScrollRange.js +18 -0
  59. package/src/is/isElementInViewport.js +22 -0
  60. package/src/is/isElementsArray.js +10 -0
  61. package/src/is/isFunction.js +9 -0
  62. package/src/is/isHTMLCollection.js +8 -0
  63. package/src/is/isHTMLElement.js +8 -0
  64. package/src/is/isHTMLImageElement.js +8 -0
  65. package/src/is/isMedia.js +12 -0
  66. package/src/is/isNode.js +8 -0
  67. package/src/is/isNodeList.js +8 -0
  68. package/src/is/isRTL.js +9 -0
  69. package/src/is/isSVGElement.js +8 -0
  70. package/src/is/isScaledElement.js +15 -0
  71. package/src/is/isShadowRoot.js +12 -0
  72. package/src/is/isString.js +8 -0
  73. package/src/is/isTableElement.js +7 -0
  74. package/src/is/isWindow.js +9 -0
  75. package/src/misc/ArrayFrom.js +8 -0
  76. package/src/misc/Float32ArrayFrom.js +7 -0
  77. package/src/misc/Float64ArrayFrom.js +7 -0
  78. package/src/misc/ObjectAssign.js +7 -0
  79. package/src/misc/ObjectKeys.js +7 -0
  80. package/src/misc/ObjectValues.js +7 -0
  81. package/src/misc/OriginalEvent.js +18 -0
  82. package/src/misc/createElement.js +25 -0
  83. package/src/misc/createElementNS.js +26 -0
  84. package/src/misc/data.js +78 -0
  85. package/src/misc/dispatchEvent.js +8 -0
  86. package/src/misc/distinct.js +10 -0
  87. package/src/misc/emulateAnimationEnd.js +37 -0
  88. package/src/misc/emulateAnimationEndLegacy.js +38 -0
  89. package/src/misc/emulateTransitionEnd.js +37 -0
  90. package/src/misc/emulateTransitionEndLegacy.js +38 -0
  91. package/src/misc/focus.js +8 -0
  92. package/src/misc/noop.js +3 -0
  93. package/src/misc/normalizeOptions.js +49 -0
  94. package/src/misc/normalizeValue.js +32 -0
  95. package/src/misc/passiveHandler.js +7 -0
  96. package/src/misc/passiveHandlerLegacy.js +9 -0
  97. package/src/misc/reflow.js +9 -0
  98. package/src/misc/setElementStyle.js +10 -0
  99. package/src/misc/timer.js +78 -0
  100. package/src/misc/toLowerCase.js +8 -0
  101. package/src/misc/toUpperCase.js +8 -0
  102. package/src/misc/tryWrapper.js +11 -0
  103. package/src/misc/version.js +9 -0
  104. package/src/selectors/closest.js +16 -0
  105. package/src/selectors/documentAll.js +8 -0
  106. package/src/selectors/elementNodes.js +5 -0
  107. package/src/selectors/getCustomElements.js +18 -0
  108. package/src/selectors/getElementById.js +11 -0
  109. package/src/selectors/getElementsByClassName.js +15 -0
  110. package/src/selectors/getElementsByTagName.js +15 -0
  111. package/src/selectors/matches.js +10 -0
  112. package/src/selectors/matchesLegacy.js +23 -0
  113. package/src/selectors/parentNodes.js +5 -0
  114. package/src/selectors/querySelector.js +15 -0
  115. package/src/selectors/querySelectorAll.js +14 -0
  116. package/src/strings/DOMContentLoadedEvent.js +6 -0
  117. package/src/strings/DOMMouseScrollEvent.js +6 -0
  118. package/src/strings/abortEvent.js +6 -0
  119. package/src/strings/addEventListener.js +6 -0
  120. package/src/strings/animationDelay.js +6 -0
  121. package/src/strings/animationDelayLegacy.js +8 -0
  122. package/src/strings/animationDuration.js +6 -0
  123. package/src/strings/animationDurationLegacy.js +8 -0
  124. package/src/strings/animationEndEvent.js +6 -0
  125. package/src/strings/animationEndEventLegacy.js +8 -0
  126. package/src/strings/animationName.js +6 -0
  127. package/src/strings/animationNameLegacy.js +8 -0
  128. package/src/strings/ariaChecked.js +6 -0
  129. package/src/strings/ariaDescribedBy.js +6 -0
  130. package/src/strings/ariaDescription.js +6 -0
  131. package/src/strings/ariaExpanded.js +6 -0
  132. package/src/strings/ariaHasPopup.js +6 -0
  133. package/src/strings/ariaHidden.js +6 -0
  134. package/src/strings/ariaLabel.js +6 -0
  135. package/src/strings/ariaLabelledBy.js +6 -0
  136. package/src/strings/ariaModal.js +6 -0
  137. package/src/strings/ariaPressed.js +6 -0
  138. package/src/strings/ariaSelected.js +6 -0
  139. package/src/strings/ariaValueMax.js +6 -0
  140. package/src/strings/ariaValueMin.js +6 -0
  141. package/src/strings/ariaValueNow.js +6 -0
  142. package/src/strings/ariaValueText.js +6 -0
  143. package/src/strings/beforeunloadEvent.js +6 -0
  144. package/src/strings/bezierEasings.js +33 -0
  145. package/src/strings/blurEvent.js +6 -0
  146. package/src/strings/changeEvent.js +6 -0
  147. package/src/strings/contextmenuEvent.js +6 -0
  148. package/src/strings/errorEvent.js +6 -0
  149. package/src/strings/focusEvent.js +6 -0
  150. package/src/strings/focusEvents.js +6 -0
  151. package/src/strings/focusinEvent.js +6 -0
  152. package/src/strings/focusoutEvent.js +6 -0
  153. package/src/strings/gesturechangeEvent.js +6 -0
  154. package/src/strings/gestureendEvent.js +6 -0
  155. package/src/strings/gesturestartEvent.js +6 -0
  156. package/src/strings/keyAlt.js +7 -0
  157. package/src/strings/keyArrowDown.js +7 -0
  158. package/src/strings/keyArrowLeft.js +7 -0
  159. package/src/strings/keyArrowRight.js +7 -0
  160. package/src/strings/keyArrowUp.js +7 -0
  161. package/src/strings/keyBackspace.js +7 -0
  162. package/src/strings/keyCapsLock.js +7 -0
  163. package/src/strings/keyControl.js +7 -0
  164. package/src/strings/keyDelete.js +7 -0
  165. package/src/strings/keyEnter.js +7 -0
  166. package/src/strings/keyEscape.js +7 -0
  167. package/src/strings/keyInsert.js +7 -0
  168. package/src/strings/keyMeta.js +7 -0
  169. package/src/strings/keyPause.js +7 -0
  170. package/src/strings/keyScrollLock.js +7 -0
  171. package/src/strings/keyShift.js +7 -0
  172. package/src/strings/keySpace.js +7 -0
  173. package/src/strings/keyTab.js +7 -0
  174. package/src/strings/keyboardEventKeys.js +27 -0
  175. package/src/strings/keydownEvent.js +6 -0
  176. package/src/strings/keypressEvent.js +6 -0
  177. package/src/strings/keyupEvent.js +6 -0
  178. package/src/strings/loadEvent.js +6 -0
  179. package/src/strings/loadstartEvent.js +6 -0
  180. package/src/strings/mouseClickEvents.js +6 -0
  181. package/src/strings/mouseHoverEvents.js +6 -0
  182. package/src/strings/mouseSwipeEvents.js +8 -0
  183. package/src/strings/mouseclickEvent.js +6 -0
  184. package/src/strings/mousedblclickEvent.js +6 -0
  185. package/src/strings/mousedownEvent.js +6 -0
  186. package/src/strings/mouseenterEvent.js +6 -0
  187. package/src/strings/mousehoverEvent.js +6 -0
  188. package/src/strings/mouseinEvent.js +6 -0
  189. package/src/strings/mouseleaveEvent.js +6 -0
  190. package/src/strings/mousemoveEvent.js +6 -0
  191. package/src/strings/mouseoutEvent.js +6 -0
  192. package/src/strings/mouseoverEvent.js +6 -0
  193. package/src/strings/mouseupEvent.js +6 -0
  194. package/src/strings/mousewheelEvent.js +6 -0
  195. package/src/strings/moveEvent.js +6 -0
  196. package/src/strings/nativeEvents.js +108 -0
  197. package/src/strings/offsetHeight.js +6 -0
  198. package/src/strings/offsetWidth.js +6 -0
  199. package/src/strings/orientationchangeEvent.js +6 -0
  200. package/src/strings/pointercancelEvent.js +6 -0
  201. package/src/strings/pointerdownEvent.js +6 -0
  202. package/src/strings/pointerleaveEvent.js +6 -0
  203. package/src/strings/pointermoveEvent.js +6 -0
  204. package/src/strings/pointerupEvent.js +6 -0
  205. package/src/strings/readystatechangeEvent.js +6 -0
  206. package/src/strings/removeEventListener.js +6 -0
  207. package/src/strings/resetEvent.js +6 -0
  208. package/src/strings/resizeEvent.js +6 -0
  209. package/src/strings/scrollEvent.js +6 -0
  210. package/src/strings/scrollHeight.js +6 -0
  211. package/src/strings/scrollWidth.js +6 -0
  212. package/src/strings/selectEvent.js +6 -0
  213. package/src/strings/selectendEvent.js +6 -0
  214. package/src/strings/selectstartEvent.js +6 -0
  215. package/src/strings/submitEvent.js +6 -0
  216. package/src/strings/touchEvents.js +8 -0
  217. package/src/strings/touchcancelEvent.js +6 -0
  218. package/src/strings/touchendEvent.js +6 -0
  219. package/src/strings/touchmoveEvent.js +6 -0
  220. package/src/strings/touchstartEvent.js +6 -0
  221. package/src/strings/transitionDelay.js +6 -0
  222. package/src/strings/transitionDelayLegacy.js +8 -0
  223. package/src/strings/transitionDuration.js +6 -0
  224. package/src/strings/transitionDurationLegacy.js +8 -0
  225. package/src/strings/transitionEndEvent.js +6 -0
  226. package/src/strings/transitionEndEventLegacy.js +8 -0
  227. package/src/strings/transitionProperty.js +7 -0
  228. package/src/strings/transitionPropertyLegacy.js +12 -0
  229. package/src/strings/unloadEvent.js +6 -0
  230. package/src/strings/userAgent.js +7 -0
  231. package/src/strings/userAgentData.js +8 -0
  232. package/types/index.d.ts +252 -0
  233. package/types/module/shorty.ts +249 -0
  234. package/types/shorty.d.ts +2317 -0
@@ -0,0 +1,2317 @@
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
+ * @param {HTMLElement | Element | Document | Window} element event.target
1082
+ * @param {string} eventName event.type
1083
+ * @param {EventListener} listener callback
1084
+ * @param {(EventListenerOptions | boolean)=} options other event options
1085
+ * @returns {void}
1086
+ */
1087
+ export default function on(element: HTMLElement | Element | Document | Window, eventName: string, listener: EventListener, options?: (EventListenerOptions | boolean) | undefined): void;
1088
+ }
1089
+ declare module "shorty/src/event/off" {
1090
+ /**
1091
+ * Remove eventListener from an `Element` | `HTMLElement` | `Document` | `Window` target.
1092
+ *
1093
+ * @param {HTMLElement | Element | Document | Window} element event.target
1094
+ * @param {string} eventName event.type
1095
+ * @param {EventListener} listener callback
1096
+ * @param {(EventListenerOptions | boolean)=} options other event options
1097
+ * @returns {void}
1098
+ */
1099
+ export default function off(element: HTMLElement | Element | Document | Window, eventName: string, listener: EventListener, options?: (EventListenerOptions | boolean) | undefined): void;
1100
+ }
1101
+ declare module "shorty/src/event/one" {
1102
+ /**
1103
+ * Add an `eventListener` to an `Element` | `HTMLElement` | `Document` | `Window`
1104
+ * target and remove it once callback is called.
1105
+ *
1106
+ * @param {HTMLElement | Element | Document | Window} element event.target
1107
+ * @param {string} eventName event.type
1108
+ * @param {EventListener} listener callback
1109
+ * @param {(EventListenerOptions | boolean)=} options other event options
1110
+ * @returns {void}
1111
+ */
1112
+ export default function one(element: HTMLElement | Element | Document | Window, eventName: string, listener: EventListener, options?: (EventListenerOptions | boolean) | undefined): void;
1113
+ }
1114
+ declare module "shorty/src/boolean/supportPassive" {
1115
+ export default supportPassive;
1116
+ /**
1117
+ * A global `boolean` for passive events support,
1118
+ * in general event options are not suited for scroll prevention.
1119
+ *
1120
+ * @see https://github.com/WICG/EventListenerOptions/blob/gh-pages/explainer.md#feature-detection
1121
+ * @type {boolean}
1122
+ */
1123
+ const supportPassive: boolean;
1124
+ }
1125
+ declare module "shorty/src/boolean/supportTouch" {
1126
+ export default supportTouch;
1127
+ /**
1128
+ * A global `boolean` for touch events support.
1129
+ * @type {boolean}
1130
+ */
1131
+ const supportTouch: boolean;
1132
+ }
1133
+ declare module "shorty/src/boolean/supportTransform" {
1134
+ export default supportTransform;
1135
+ /**
1136
+ * A global `boolean` for CSS3 transform support.
1137
+ * @type {boolean}
1138
+ */
1139
+ const supportTransform: boolean;
1140
+ }
1141
+ declare module "shorty/src/boolean/supportTransition" {
1142
+ export default supportTransition;
1143
+ /**
1144
+ * A global `boolean` for CSS3 transition support.
1145
+ * @type {boolean}
1146
+ */
1147
+ const supportTransition: boolean;
1148
+ }
1149
+ declare module "shorty/src/attr/hasAttribute" {
1150
+ export default hasAttribute;
1151
+ /**
1152
+ * Shortcut for `HTMLElement.hasAttribute()` method.
1153
+ * @param {HTMLElement | Element} element target element
1154
+ * @param {string} attribute attribute name
1155
+ * @returns {boolean} the query result
1156
+ */
1157
+ function hasAttribute(element: HTMLElement | Element, attribute: string): boolean;
1158
+ }
1159
+ declare module "shorty/src/attr/hasAttributeNS" {
1160
+ export default hasAttributeNS;
1161
+ /**
1162
+ * Shortcut for `HTMLElement.hasAttributeNS()` method.
1163
+ * @param {string} ns attribute namespace
1164
+ * @param {HTMLElement | Element} element target element
1165
+ * @param {string} att attribute name
1166
+ * @returns {boolean} the query result
1167
+ */
1168
+ function hasAttributeNS(ns: string, element: HTMLElement | Element, att: string): boolean;
1169
+ }
1170
+ declare module "shorty/src/attr/getAttribute" {
1171
+ export default getAttribute;
1172
+ /**
1173
+ * Shortcut for `HTMLElement.getAttribute()` method.
1174
+ * @param {HTMLElement | Element} element target element
1175
+ * @param {string} attribute attribute name
1176
+ * @returns {string?} attribute value
1177
+ */
1178
+ function getAttribute(element: HTMLElement | Element, attribute: string): string | null;
1179
+ }
1180
+ declare module "shorty/src/attr/getAttributeNS" {
1181
+ export default getAttributeNS;
1182
+ /**
1183
+ * Shortcut for `HTMLElement.getAttributeNS()` method.
1184
+ * @param {string} ns attribute namespace
1185
+ * @param {HTMLElement | Element} element target element
1186
+ * @param {string} attribute attribute name
1187
+ * @returns {string?} attribute value
1188
+ */
1189
+ function getAttributeNS(ns: string, element: HTMLElement | Element, attribute: string): string | null;
1190
+ }
1191
+ declare module "shorty/src/attr/setAttribute" {
1192
+ export default setAttribute;
1193
+ /**
1194
+ * Shortcut for `HTMLElement.setAttribute()` method.
1195
+ * @param {HTMLElement | Element} element target element
1196
+ * @param {string} attribute attribute name
1197
+ * @param {string} value attribute value
1198
+ * @returns {void}
1199
+ */
1200
+ function setAttribute(element: HTMLElement | Element, attribute: string, value: string): void;
1201
+ }
1202
+ declare module "shorty/src/attr/setAttributeNS" {
1203
+ export default setAttributeNS;
1204
+ /**
1205
+ * Shortcut for `SVGElement.setAttributeNS()` method.
1206
+ * @param {string} ns attribute namespace
1207
+ * @param {HTMLElement | Element} element target element
1208
+ * @param {string} att attribute name
1209
+ * @param {string} value attribute value
1210
+ * @returns {void}
1211
+ */
1212
+ function setAttributeNS(ns: string, element: HTMLElement | Element, att: string, value: string): void;
1213
+ }
1214
+ declare module "shorty/src/attr/removeAttribute" {
1215
+ export default removeAttribute;
1216
+ /**
1217
+ * Shortcut for `HTMLElement.removeAttribute()` method.
1218
+ * @param {HTMLElement | Element} element target element
1219
+ * @param {string} attribute attribute name
1220
+ * @returns {void}
1221
+ */
1222
+ function removeAttribute(element: HTMLElement | Element, attribute: string): void;
1223
+ }
1224
+ declare module "shorty/src/attr/removeAttributeNS" {
1225
+ export default removeAttributeNS;
1226
+ /**
1227
+ * Shortcut for `HTMLElement.removeAttributeNS()` method.
1228
+ * @param {string} ns attribute namespace
1229
+ * @param {HTMLElement | Element} element target element
1230
+ * @param {string} att attribute name
1231
+ * @returns {void}
1232
+ */
1233
+ function removeAttributeNS(ns: string, element: HTMLElement | Element, att: string): void;
1234
+ }
1235
+ declare module "shorty/src/get/getBoundingClientRect" {
1236
+ /**
1237
+ * Returns the bounding client rect of a target `HTMLElement`.
1238
+ *
1239
+ * @see https://github.com/floating-ui/floating-ui
1240
+ *
1241
+ * @param {HTMLElement | Element} element event.target
1242
+ * @param {boolean=} includeScale when *true*, the target scale is also computed
1243
+ * @returns {SHORTY.BoundingClientRect} the bounding client rect object
1244
+ */
1245
+ export default function getBoundingClientRect(element: HTMLElement | Element, includeScale?: boolean | undefined): SHORTY.BoundingClientRect;
1246
+ }
1247
+ declare module "shorty/src/get/getDocument" {
1248
+ /**
1249
+ * Returns the `document` or the `#document` element.
1250
+ * @see https://github.com/floating-ui/floating-ui
1251
+ * @param {(Node | HTMLElement | Element | globalThis)=} node
1252
+ * @returns {Document}
1253
+ */
1254
+ export default function getDocument(node?: (Node | HTMLElement | Element | typeof globalThis) | undefined): Document;
1255
+ }
1256
+ declare module "shorty/src/get/getDocumentBody" {
1257
+ /**
1258
+ * Returns the `document.body` or the `<body>` element.
1259
+ *
1260
+ * @param {(Node | HTMLElement | Element | globalThis)=} node
1261
+ * @returns {HTMLElement | HTMLBodyElement}
1262
+ */
1263
+ export default function getDocumentBody(node?: (Node | HTMLElement | Element | typeof globalThis) | undefined): HTMLElement | HTMLBodyElement;
1264
+ }
1265
+ declare module "shorty/src/get/getDocumentElement" {
1266
+ /**
1267
+ * Returns the `document.documentElement` or the `<html>` element.
1268
+ *
1269
+ * @param {(Node | HTMLElement | Element | globalThis)=} node
1270
+ * @returns {HTMLElement | HTMLHtmlElement}
1271
+ */
1272
+ export default function getDocumentElement(node?: (Node | HTMLElement | Element | typeof globalThis) | undefined): HTMLElement | HTMLHtmlElement;
1273
+ }
1274
+ declare module "shorty/src/get/getDocumentHead" {
1275
+ /**
1276
+ * Returns the `document.head` or the `<head>` element.
1277
+ *
1278
+ * @param {(Node | HTMLElement | Element | globalThis)=} node
1279
+ * @returns {HTMLElement | HTMLHeadElement}
1280
+ */
1281
+ export default function getDocumentHead(node?: (Node | HTMLElement | Element | typeof globalThis) | undefined): HTMLElement | HTMLHeadElement;
1282
+ }
1283
+ declare module "shorty/src/get/getElementStyle" {
1284
+ /**
1285
+ * Shortcut for `window.getComputedStyle(element).propertyName`
1286
+ * static method.
1287
+ *
1288
+ * * If `element` parameter is not an `HTMLElement`, `getComputedStyle`
1289
+ * throws a `ReferenceError`.
1290
+ *
1291
+ * @param {HTMLElement | Element} element target
1292
+ * @param {string} property the css property
1293
+ * @return {string} the css property value
1294
+ */
1295
+ export default function getElementStyle(element: HTMLElement | Element, property: string): string;
1296
+ }
1297
+ declare module "shorty/src/get/getElementAnimationDuration" {
1298
+ /**
1299
+ * Utility to get the computed `animationDuration`
1300
+ * from `HTMLElement` in miliseconds.
1301
+ *
1302
+ * @param {HTMLElement | Element} element target
1303
+ * @return {number} the value in miliseconds
1304
+ */
1305
+ export default function getElementAnimationDuration(element: HTMLElement | Element): number;
1306
+ }
1307
+ declare module "shorty/src/get/getElementAnimationDurationLegacy" {
1308
+ /**
1309
+ * Utility to get the computed `animationDuration`
1310
+ * from `HTMLElement` in miliseconds.
1311
+ *
1312
+ * @param {HTMLElement | Element} element target
1313
+ * @return {number} the value in miliseconds
1314
+ */
1315
+ export default function getElementAnimationDuration(element: HTMLElement | Element): number;
1316
+ }
1317
+ declare module "shorty/src/get/getElementAnimationDelay" {
1318
+ /**
1319
+ * Utility to get the computed `animationDelay`
1320
+ * from Element in miliseconds.
1321
+ *
1322
+ * @param {HTMLElement | Element} element target
1323
+ * @return {number} the value in miliseconds
1324
+ */
1325
+ export default function getElementAnimationDelay(element: HTMLElement | Element): number;
1326
+ }
1327
+ declare module "shorty/src/get/getElementAnimationDelayLegacy" {
1328
+ /**
1329
+ * Utility to get the computed `animationDelay`
1330
+ * from Element in miliseconds.
1331
+ *
1332
+ * @param {HTMLElement | Element} element target
1333
+ * @return {number} the value in miliseconds
1334
+ */
1335
+ export default function getElementAnimationDelay(element: HTMLElement | Element): number;
1336
+ }
1337
+ declare module "shorty/src/get/getElementTransitionDuration" {
1338
+ /**
1339
+ * Utility to get the computed `transitionDuration`
1340
+ * from Element in miliseconds.
1341
+ *
1342
+ * @param {HTMLElement | Element} element target
1343
+ * @return {number} the value in miliseconds
1344
+ */
1345
+ export default function getElementTransitionDuration(element: HTMLElement | Element): number;
1346
+ }
1347
+ declare module "shorty/src/get/getElementTransitionDurationLegacy" {
1348
+ /**
1349
+ * Utility to get the computed `transitionDuration`
1350
+ * from Element in miliseconds.
1351
+ *
1352
+ * @param {HTMLElement | Element} element target
1353
+ * @return {number} the value in miliseconds
1354
+ */
1355
+ export default function getElementTransitionDuration(element: HTMLElement | Element): number;
1356
+ }
1357
+ declare module "shorty/src/get/getElementTransitionDelay" {
1358
+ /**
1359
+ * Utility to get the computed `transitionDelay`
1360
+ * from Element in miliseconds.
1361
+ *
1362
+ * @param {HTMLElement | Element} element target
1363
+ * @return {number} the value in miliseconds
1364
+ */
1365
+ export default function getElementTransitionDelay(element: HTMLElement | Element): number;
1366
+ }
1367
+ declare module "shorty/src/get/getElementTransitionDelayLegacy" {
1368
+ /**
1369
+ * Utility to get the computed `transitionDelay`
1370
+ * from Element in miliseconds.
1371
+ *
1372
+ * @param {HTMLElement | Element} element target
1373
+ * @return {number} the value in miliseconds
1374
+ */
1375
+ export default function getElementTransitionDelay(element: HTMLElement | Element): number;
1376
+ }
1377
+ declare module "shorty/src/get/getNodeScroll" {
1378
+ /**
1379
+ * Returns an `{x,y}` object with the target
1380
+ * `HTMLElement` / `Node` scroll position.
1381
+ *
1382
+ * @see https://github.com/floating-ui/floating-ui
1383
+ *
1384
+ * @param {HTMLElement | Element | Window} element target node / element
1385
+ * @returns {{x: number, y: number}} the scroll tuple
1386
+ */
1387
+ export default function getNodeScroll(element: HTMLElement | Element | Window): {
1388
+ x: number;
1389
+ y: number;
1390
+ };
1391
+ }
1392
+ declare module "shorty/src/get/getWindow" {
1393
+ /**
1394
+ * Returns the `Window` object of a target node.
1395
+ * @see https://github.com/floating-ui/floating-ui
1396
+ *
1397
+ * @param {(Node | HTMLElement | Element | Window)=} node target node
1398
+ * @returns {globalThis}
1399
+ */
1400
+ export default function getWindow(node?: (Node | HTMLElement | Element | Window) | undefined): typeof globalThis;
1401
+ }
1402
+ declare module "shorty/src/is/isShadowRoot" {
1403
+ export default isShadowRoot;
1404
+ /**
1405
+ * Check if target is a `ShadowRoot`.
1406
+ *
1407
+ * @param {any} element target
1408
+ * @returns {boolean} the query result
1409
+ */
1410
+ function isShadowRoot(element: any): boolean;
1411
+ }
1412
+ declare module "shorty/src/get/getParentNode" {
1413
+ /**
1414
+ * Returns the `parentNode` also going through `ShadowRoot`.
1415
+ * @see https://github.com/floating-ui/floating-ui
1416
+ *
1417
+ * @param {Node | HTMLElement | Element} node the target node
1418
+ * @returns {Node | HTMLElement | Element} the apropriate parent node
1419
+ */
1420
+ export default function getParentNode(node: Node | HTMLElement | Element): Node | HTMLElement | Element;
1421
+ }
1422
+ declare module "shorty/src/is/isScaledElement" {
1423
+ /**
1424
+ * Checks if a target `HTMLElement` is affected by scale.
1425
+ * @see https://github.com/floating-ui/floating-ui
1426
+ *
1427
+ * @param {HTMLElement} element target
1428
+ * @returns {boolean} the query result
1429
+ */
1430
+ export default function isScaledElement(element: HTMLElement): boolean;
1431
+ }
1432
+ declare module "shorty/src/get/getRectRelativeToOffsetParent" {
1433
+ /**
1434
+ * Returns the rect relative to an offset parent.
1435
+ * @see https://github.com/floating-ui/floating-ui
1436
+ *
1437
+ * @param {HTMLElement | Element} element target
1438
+ * @param {HTMLElement | Element | Window} offsetParent the container / offset parent
1439
+ * @param {{x: number, y: number}} scroll
1440
+ * @returns {SHORTY.OffsetRect}
1441
+ */
1442
+ export default function getRectRelativeToOffsetParent(element: HTMLElement | Element, offsetParent: HTMLElement | Element | Window, scroll: {
1443
+ x: number;
1444
+ y: number;
1445
+ }): SHORTY.OffsetRect;
1446
+ }
1447
+ declare module "shorty/src/get/getUID" {
1448
+ /**
1449
+ * Returns a unique identifier for popover, tooltip, scrollspy.
1450
+ *
1451
+ * @param {HTMLElement | Element} element target element
1452
+ * @param {string=} key predefined key
1453
+ * @returns {number} an existing or new unique ID
1454
+ */
1455
+ export default function getUID(element: HTMLElement | Element, key?: string | undefined): number;
1456
+ }
1457
+ declare module "shorty/src/class/addClass" {
1458
+ /**
1459
+ * Add class to `HTMLElement.classList`.
1460
+ *
1461
+ * @param {HTMLElement | Element} element target
1462
+ * @param {string} classNAME to add
1463
+ * @returns {void}
1464
+ */
1465
+ export default function addClass(element: HTMLElement | Element, classNAME: string): void;
1466
+ }
1467
+ declare module "shorty/src/class/removeClass" {
1468
+ /**
1469
+ * Remove class from `HTMLElement.classList`.
1470
+ *
1471
+ * @param {HTMLElement | Element} element target
1472
+ * @param {string} classNAME to remove
1473
+ * @returns {void}
1474
+ */
1475
+ export default function removeClass(element: HTMLElement | Element, classNAME: string): void;
1476
+ }
1477
+ declare module "shorty/src/class/hasClass" {
1478
+ /**
1479
+ * Check class in `HTMLElement.classList`.
1480
+ *
1481
+ * @param {HTMLElement | Element} element target
1482
+ * @param {string} classNAME to check
1483
+ * @returns {boolean}
1484
+ */
1485
+ export default function hasClass(element: HTMLElement | Element, classNAME: string): boolean;
1486
+ }
1487
+ declare module "shorty/src/selectors/parentNodes" {
1488
+ export default parentNodes;
1489
+ /**
1490
+ * A global array of possible `ParentNode`.
1491
+ */
1492
+ const parentNodes: ({
1493
+ new (): Document;
1494
+ prototype: Document;
1495
+ } | {
1496
+ new (): Element;
1497
+ prototype: Element;
1498
+ })[];
1499
+ }
1500
+ declare module "shorty/src/selectors/elementNodes" {
1501
+ export default elementNodes;
1502
+ /**
1503
+ * A global array with `Element` | `HTMLElement`.
1504
+ */
1505
+ const elementNodes: {
1506
+ new (): Element;
1507
+ prototype: Element;
1508
+ }[];
1509
+ }
1510
+ declare module "shorty/src/selectors/querySelector" {
1511
+ /**
1512
+ * Utility to check if target is typeof `HTMLElement`, `Element`, `Node`
1513
+ * or find one that matches a selector.
1514
+ *
1515
+ * @param {HTMLElement | Element | string} selector the input selector or target element
1516
+ * @param {(HTMLElement | Element | Document)=} parent optional node to look into
1517
+ * @return {(HTMLElement | Element)?} the `HTMLElement` or `querySelector` result
1518
+ */
1519
+ export default function querySelector(selector: HTMLElement | Element | string, parent?: (HTMLElement | Element | Document) | undefined): (HTMLElement | Element) | null;
1520
+ }
1521
+ declare module "shorty/src/misc/data" {
1522
+ /**
1523
+ * An alias for `Data.get()`.
1524
+ * @type {SHORTY.getInstance<any,any>}
1525
+ */
1526
+ export const getInstance: SHORTY.getInstance<any, any>;
1527
+ export default Data;
1528
+ namespace Data {
1529
+ function set(target: string | Element | HTMLElement, component: string, instance: Record<string, any>): void;
1530
+ function getAllFor(component: string): Map<Element | HTMLElement, Record<string, any>> | null;
1531
+ function get(target: string | Element | HTMLElement, component: string): Record<string, any> | null;
1532
+ function remove(target: string | Element | HTMLElement, component: string): void;
1533
+ }
1534
+ }
1535
+ declare module "shorty/src/misc/timer" {
1536
+ export default Timer;
1537
+ namespace Timer {
1538
+ function set(target: string | Element | HTMLElement, callback: any, delay: number, key?: string | undefined): void;
1539
+ function get(target: string | Element | HTMLElement, key?: string | undefined): number | null;
1540
+ function clear(target: string | Element | HTMLElement, key?: string | undefined): void;
1541
+ }
1542
+ }
1543
+ declare module "shorty/src/misc/ObjectAssign" {
1544
+ export default ObjectAssign;
1545
+ /**
1546
+ * Shortcut for `Object.assign()` static method.
1547
+ * @param {Record<string, any>} obj a target object
1548
+ * @param {Record<string, any>} source a source object
1549
+ */
1550
+ function ObjectAssign(obj: Record<string, any>, source: Record<string, any>): Record<string, any>;
1551
+ }
1552
+ declare module "shorty/src/misc/createElement" {
1553
+ /**
1554
+ * This is a shortie for `document.createElement` method
1555
+ * which allows you to create a new `HTMLElement` for a given `tagName`
1556
+ * or based on an object with specific non-readonly attributes:
1557
+ * `id`, `className`, `textContent`, `style`, etc.
1558
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement
1559
+ *
1560
+ * @param {Record<string, string> | string} param `tagName` or object
1561
+ * @return {HTMLElement | Element} a new `HTMLElement` or `Element`
1562
+ */
1563
+ export default function createElement(param: Record<string, string> | string): HTMLElement | Element;
1564
+ }
1565
+ declare module "shorty/src/misc/createElementNS" {
1566
+ /**
1567
+ * This is a shortie for `document.createElementNS` method
1568
+ * which allows you to create a new `HTMLElement` for a given `tagName`
1569
+ * or based on an object with specific non-readonly attributes:
1570
+ * `id`, `className`, `textContent`, `style`, etc.
1571
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/Document/createElementNS
1572
+ *
1573
+ * @param {string} namespace `namespaceURI` to associate with the new `HTMLElement`
1574
+ * @param {Record<string, string> | string} param `tagName` or object
1575
+ * @return {HTMLElement | Element} a new `HTMLElement` or `Element`
1576
+ */
1577
+ export default function createElementNS(namespace: string, param: Record<string, string> | string): HTMLElement | Element;
1578
+ }
1579
+ declare module "shorty/src/misc/dispatchEvent" {
1580
+ export default dispatchEvent;
1581
+ /**
1582
+ * Shortcut for the `Element.dispatchEvent(Event)` method.
1583
+ *
1584
+ * @param {HTMLElement | Element} element is the target
1585
+ * @param {Event} event is the `Event` object
1586
+ */
1587
+ function dispatchEvent(element: HTMLElement | Element, event: Event): boolean;
1588
+ }
1589
+ declare module "shorty/src/misc/distinct" {
1590
+ export default distinct;
1591
+ /**
1592
+ * JavaScript `Array` distinct.
1593
+ * @see https://codeburst.io/javascript-array-distinct-5edc93501dc4
1594
+ * @param {any} value
1595
+ * @param {number} index
1596
+ * @param {any} self
1597
+ * @returns {boolean}
1598
+ */
1599
+ function distinct(value: any, index: number, self: any): boolean;
1600
+ }
1601
+ declare module "shorty/src/misc/emulateAnimationEnd" {
1602
+ /**
1603
+ * Utility to make sure callbacks are consistently
1604
+ * called when animation ends.
1605
+ *
1606
+ * @param {HTMLElement | Element} element target
1607
+ * @param {EventListener} handler `animationend` callback
1608
+ */
1609
+ export default function emulateAnimationEnd(element: HTMLElement | Element, handler: EventListener): void;
1610
+ }
1611
+ declare module "shorty/src/misc/emulateAnimationEndLegacy" {
1612
+ /**
1613
+ * Utility to make sure callbacks are consistently
1614
+ * called when animation ends.
1615
+ *
1616
+ * @param {HTMLElement | Element} element target
1617
+ * @param {EventListener} handler `animationend` callback
1618
+ */
1619
+ export default function emulateAnimationEnd(element: HTMLElement | Element, handler: EventListener): void;
1620
+ }
1621
+ declare module "shorty/src/misc/emulateTransitionEnd" {
1622
+ /**
1623
+ * Utility to make sure callbacks are consistently
1624
+ * called when transition ends.
1625
+ *
1626
+ * @param {HTMLElement | Element} element target
1627
+ * @param {EventListener} handler `transitionend` callback
1628
+ */
1629
+ export default function emulateTransitionEnd(element: HTMLElement | Element, handler: EventListener): void;
1630
+ }
1631
+ declare module "shorty/src/misc/emulateTransitionEndLegacy" {
1632
+ /**
1633
+ * Utility to make sure callbacks are consistently
1634
+ * called when transition ends.
1635
+ *
1636
+ * @param {HTMLElement | Element} element target
1637
+ * @param {EventListener} handler `transitionend` callback
1638
+ */
1639
+ export default function emulateTransitionEnd(element: HTMLElement | Element, handler: EventListener): void;
1640
+ }
1641
+ declare module "shorty/src/misc/passiveHandler" {
1642
+ export default passiveHandler;
1643
+ /**
1644
+ * A global namespace for most scroll event listeners.
1645
+ * @type {Partial<AddEventListenerOptions>}
1646
+ */
1647
+ const passiveHandler: Partial<AddEventListenerOptions>;
1648
+ }
1649
+ declare module "shorty/src/misc/passiveHandlerLegacy" {
1650
+ export default passiveHandler;
1651
+ /**
1652
+ * A global namespace for most scroll event listeners in legacy browsers.
1653
+ * @type {Partial<AddEventListenerOptions> | boolean}
1654
+ */
1655
+ const passiveHandler: Partial<AddEventListenerOptions> | boolean;
1656
+ }
1657
+ declare module "shorty/src/misc/setElementStyle" {
1658
+ export default setElementStyle;
1659
+ /**
1660
+ * Shortcut for multiple uses of `HTMLElement.style.propertyName` method.
1661
+ * @param {HTMLElement | Element} element target element
1662
+ * @param {Partial<CSSStyleDeclaration>} styles attribute value
1663
+ */
1664
+ function setElementStyle(element: HTMLElement | Element, styles: Partial<CSSStyleDeclaration>): void;
1665
+ }
1666
+ declare module "shorty/src/misc/normalizeValue" {
1667
+ /**
1668
+ * The raw value or a given component option.
1669
+ *
1670
+ * @typedef {string | HTMLElement | Function | number | boolean | null} niceValue
1671
+ */
1672
+ /**
1673
+ * Utility to normalize component options
1674
+ *
1675
+ * @param {any} value the input value
1676
+ * @return {niceValue} the normalized value
1677
+ */
1678
+ export default function normalizeValue(value: any): niceValue;
1679
+ /**
1680
+ * The raw value or a given component option.
1681
+ */
1682
+ export type niceValue = string | HTMLElement | Function | number | boolean | null;
1683
+ }
1684
+ declare module "shorty/src/misc/ObjectKeys" {
1685
+ export default ObjectKeys;
1686
+ /**
1687
+ * Shortcut for `Object.keys()` static method.
1688
+ * @param {Record<string, any>} obj a target object
1689
+ * @returns {string[]}
1690
+ */
1691
+ function ObjectKeys(obj: Record<string, any>): string[];
1692
+ }
1693
+ declare module "shorty/src/misc/toLowerCase" {
1694
+ export default toLowerCase;
1695
+ /**
1696
+ * Shortcut for `String.toLowerCase()`.
1697
+ *
1698
+ * @param {string} source input string
1699
+ * @returns {string} lowercase output string
1700
+ */
1701
+ function toLowerCase(source: string): string;
1702
+ }
1703
+ declare module "shorty/src/misc/normalizeOptions" {
1704
+ /**
1705
+ * Utility to normalize component options.
1706
+ *
1707
+ * @param {HTMLElement | Element} element target
1708
+ * @param {Record<string, any>} defaultOps component default options
1709
+ * @param {Record<string, any>} inputOps component instance options
1710
+ * @param {string=} ns component namespace
1711
+ * @return {Record<string, any>} normalized component options object
1712
+ */
1713
+ export default function normalizeOptions(element: HTMLElement | Element, defaultOps: Record<string, any>, inputOps: Record<string, any>, ns?: string | undefined): Record<string, any>;
1714
+ }
1715
+ declare module "shorty/src/misc/tryWrapper" {
1716
+ /**
1717
+ * Utility to wrap a callback in a try() catch(e)
1718
+ *
1719
+ * @param {Function} fn callback
1720
+ * @param {string} origin callback context description
1721
+ */
1722
+ export default function tryWrapper(fn: Function, origin: string): void;
1723
+ }
1724
+ declare module "shorty/src/misc/reflow" {
1725
+ export default reflow;
1726
+ /**
1727
+ * Utility to force re-paint of an `HTMLElement` target.
1728
+ *
1729
+ * @param {HTMLElement | Element} element is the target
1730
+ * @return {number} the `Element.offsetHeight` value
1731
+ */
1732
+ function reflow(element: HTMLElement | Element): number;
1733
+ }
1734
+ declare module "shorty/src/misc/focus" {
1735
+ export default focus;
1736
+ /**
1737
+ * Utility to focus an `HTMLElement` target.
1738
+ *
1739
+ * @param {HTMLElement | Element} element is the target
1740
+ */
1741
+ function focus(element: HTMLElement | Element): any;
1742
+ }
1743
+ declare module "shorty/src/misc/noop" {
1744
+ export default noop;
1745
+ /** A generic function with empty body. */
1746
+ function noop(): void;
1747
+ }
1748
+ declare module "shorty/src/misc/toUpperCase" {
1749
+ export default toUpperCase;
1750
+ /**
1751
+ * Shortcut for `String.toUpperCase()`.
1752
+ *
1753
+ * @param {string} source input string
1754
+ * @returns {string} uppercase output string
1755
+ */
1756
+ function toUpperCase(source: string): string;
1757
+ }
1758
+ declare module "shorty/src/misc/ArrayFrom" {
1759
+ export default ArrayFrom;
1760
+ /**
1761
+ * Shortcut for `Array.from()` static method.
1762
+ *
1763
+ * @param {any[] | HTMLCollection | NodeList | Map<any, any>} arr array-like iterable object
1764
+ * @returns {Array<any>}
1765
+ */
1766
+ function ArrayFrom(arr: any[] | HTMLCollection | NodeList | Map<any, any>): Array<any>;
1767
+ }
1768
+ declare module "shorty/src/misc/Float32ArrayFrom" {
1769
+ export default Float32ArrayFrom;
1770
+ /**
1771
+ * Shortcut for `Float32Array.from()` static method.
1772
+ * @param {any[] | HTMLCollection | NodeList} arr array-like iterable object
1773
+ * @returns {Float32Array}
1774
+ */
1775
+ function Float32ArrayFrom(arr: any[] | HTMLCollection | NodeList): Float32Array;
1776
+ }
1777
+ declare module "shorty/src/misc/Float64ArrayFrom" {
1778
+ export default Float64ArrayFrom;
1779
+ /**
1780
+ * Shortcut for `Float64Array.from()` static method.
1781
+ * @param {any[] | HTMLCollection | NodeList} arr array-like iterable object
1782
+ * @returns {Float64Array}
1783
+ */
1784
+ function Float64ArrayFrom(arr: any[] | HTMLCollection | NodeList): Float64Array;
1785
+ }
1786
+ declare module "shorty/src/misc/ObjectValues" {
1787
+ export default ObjectValues;
1788
+ /**
1789
+ * Shortcut for `Object.values()` static method.
1790
+ * @param {Record<string, any>} obj a target object
1791
+ * @returns {any[]}
1792
+ */
1793
+ function ObjectValues(obj: Record<string, any>): any[];
1794
+ }
1795
+ declare module "shorty/src/misc/OriginalEvent" {
1796
+ /**
1797
+ * Returns a namespaced `CustomEvent` specific to each component.
1798
+ * @param {string} EventType Event.type
1799
+ * @param {Record<string, any>=} config Event.options | Event.properties
1800
+ * @returns {SHORTY.OriginalEvent} a new namespaced event
1801
+ */
1802
+ export default function OriginalEvent(EventType: string, config?: Record<string, any> | undefined): SHORTY.OriginalEvent;
1803
+ }
1804
+ declare module "shorty/src/is/isArray" {
1805
+ export default isArray;
1806
+ /**
1807
+ * Shortcut for `Array.isArray()` static method.
1808
+ *
1809
+ * @param {any} arr array-like iterable object
1810
+ * @returns {boolean} the query result
1811
+ */
1812
+ function isArray(arr: any): boolean;
1813
+ }
1814
+ declare module "shorty/src/is/isDocument" {
1815
+ export default isDocument;
1816
+ /**
1817
+ * Checks if an object is a `Document`.
1818
+ *
1819
+ * @param {any} element the target object
1820
+ * @returns {boolean} the query result
1821
+ */
1822
+ function isDocument(element: any): boolean;
1823
+ }
1824
+ declare module "shorty/src/is/isCustomElement" {
1825
+ export default isCustomElement;
1826
+ /**
1827
+ * Checks if an object is a `CustomElement`.
1828
+ *
1829
+ * @param {any} element the target object
1830
+ * @returns {boolean} the query result
1831
+ */
1832
+ function isCustomElement(element: any): boolean;
1833
+ }
1834
+ declare module "shorty/src/is/isElement" {
1835
+ export default isElement;
1836
+ /**
1837
+ * Checks if an object is an `Element`.
1838
+ *
1839
+ * @param {any} element the target object
1840
+ * @returns {boolean} the query result
1841
+ */
1842
+ function isElement(element: any): boolean;
1843
+ }
1844
+ declare module "shorty/src/is/isElementInScrollRange" {
1845
+ export default isElementInScrollRange;
1846
+ /**
1847
+ * Utility to determine if an `HTMLElement`
1848
+ * is partially visible in viewport.
1849
+ *
1850
+ * @param {HTMLElement | Element} element target
1851
+ * @return {boolean} the query result
1852
+ */
1853
+ function isElementInScrollRange(element: HTMLElement | Element): boolean;
1854
+ }
1855
+ declare module "shorty/src/is/isElementInViewport" {
1856
+ export default isElementInViewport;
1857
+ /**
1858
+ * Utility to determine if an `HTMLElement`
1859
+ * is fully visible in the viewport.
1860
+ *
1861
+ * @param {HTMLElement | Element} element target
1862
+ * @return {boolean} the query result
1863
+ */
1864
+ function isElementInViewport(element: HTMLElement | Element): boolean;
1865
+ }
1866
+ declare module "shorty/src/is/isElementsArray" {
1867
+ export default isElementsArray;
1868
+ /**
1869
+ * Checks if an object is an `Array` in which all items are `Element`.
1870
+ *
1871
+ * @param {any} object the target object
1872
+ * @returns {boolean} the query result
1873
+ */
1874
+ function isElementsArray(object: any): boolean;
1875
+ }
1876
+ declare module "shorty/src/is/isFunction" {
1877
+ export default isFunction;
1878
+ /**
1879
+ * Checks if an object is a `Function`.
1880
+ *
1881
+ * @param {any} element the target object
1882
+ * @returns {boolean} the query result
1883
+ */
1884
+ function isFunction(element: any): boolean;
1885
+ }
1886
+ declare module "shorty/src/is/isHTMLCollection" {
1887
+ export default isHTMLCollection;
1888
+ /**
1889
+ * Checks if an object is an `HTMLCollection`.
1890
+ *
1891
+ * @param {any} object the target object
1892
+ * @returns {boolean} the query result
1893
+ */
1894
+ function isHTMLCollection(object: any): boolean;
1895
+ }
1896
+ declare module "shorty/src/is/isHTMLElement" {
1897
+ export default isHTMLElement;
1898
+ /**
1899
+ * Checks if an element is an `HTMLElement`.
1900
+ *
1901
+ * @param {any} element the target object
1902
+ * @returns {boolean} the query result
1903
+ */
1904
+ function isHTMLElement(element: any): boolean;
1905
+ }
1906
+ declare module "shorty/src/is/isHTMLImageElement" {
1907
+ export default isHTMLImageElement;
1908
+ /**
1909
+ * Check if a target element is an `<img>`.
1910
+ * @param {any} element the target element
1911
+ * @returns {boolean} the query result
1912
+ */
1913
+ function isHTMLImageElement(element: any): boolean;
1914
+ }
1915
+ declare module "shorty/src/is/isMedia" {
1916
+ export default isMedia;
1917
+ /**
1918
+ * Checks if an element is an `<svg>` (or any type of SVG element),
1919
+ * `<img>` or `<video>`.
1920
+ *
1921
+ * *Tooltip* / *Popover* works different with media elements.
1922
+ * @param {any} element the target element
1923
+ * @returns {boolean} the query result
1924
+ */
1925
+ function isMedia(element: any): boolean;
1926
+ }
1927
+ declare module "shorty/src/is/isNode" {
1928
+ export default isNode;
1929
+ /**
1930
+ * Checks if an object is a `Node`.
1931
+ *
1932
+ * @param {any} node the target object
1933
+ * @returns {boolean} the query result
1934
+ */
1935
+ function isNode(node: any): boolean;
1936
+ }
1937
+ declare module "shorty/src/is/isNodeList" {
1938
+ export default isNodeList;
1939
+ /**
1940
+ * Checks if an object is a `NodeList`.
1941
+ *
1942
+ * @param {any} object the target object
1943
+ * @returns {boolean} the query result
1944
+ */
1945
+ function isNodeList(object: any): boolean;
1946
+ }
1947
+ declare module "shorty/src/is/isRTL" {
1948
+ export default isRTL;
1949
+ /**
1950
+ * Checks if a page is Right To Left.
1951
+ * @param {(HTMLElement | Element)=} node the target
1952
+ * @returns {boolean} the query result
1953
+ */
1954
+ function isRTL(node?: (HTMLElement | Element) | undefined): boolean;
1955
+ }
1956
+ declare module "shorty/src/is/isString" {
1957
+ export default isString;
1958
+ /**
1959
+ * Shortcut for `typeof SOMETHING === string` static method.
1960
+ *
1961
+ * @param {any} str array-like iterable object
1962
+ * @returns {boolean} the query result
1963
+ */
1964
+ function isString(str: any): boolean;
1965
+ }
1966
+ declare module "shorty/src/is/isSVGElement" {
1967
+ export default isSVGElement;
1968
+ /**
1969
+ * Check if an element is an `<svg>` or any other SVG element.
1970
+ * @param {any} element the target element
1971
+ * @returns {boolean} the query result
1972
+ */
1973
+ function isSVGElement(element: any): boolean;
1974
+ }
1975
+ declare module "shorty/src/is/isTableElement" {
1976
+ export default isTableElement;
1977
+ /**
1978
+ * Check if a target element is a `<table>`, `<td>` or `<th>`.
1979
+ * @param {any} element the target element
1980
+ * @returns {boolean} the query result
1981
+ */
1982
+ function isTableElement(element: any): boolean;
1983
+ }
1984
+ declare module "shorty/src/is/isWindow" {
1985
+ /**
1986
+ * Check if a target node is `window`.
1987
+ *
1988
+ * @param {any} node the target node
1989
+ * @returns {boolean} the query result
1990
+ */
1991
+ export default function isWindow(node: any): boolean;
1992
+ }
1993
+ declare module "shorty/src/selectors/closest" {
1994
+ /**
1995
+ * Shortcut for `HTMLElement.closest` method which also works
1996
+ * with children of `ShadowRoot`. The order of the parameters
1997
+ * is intentional since they're both required.
1998
+ *
1999
+ * @see https://stackoverflow.com/q/54520554/803358
2000
+ *
2001
+ * @param {HTMLElement | Element} element Element to look into
2002
+ * @param {string} selector the selector name
2003
+ * @return {(HTMLElement | Element)?} the query result
2004
+ */
2005
+ export default function closest(element: HTMLElement | Element, selector: string): (HTMLElement | Element) | null;
2006
+ }
2007
+ declare module "shorty/src/selectors/getElementsByTagName" {
2008
+ /**
2009
+ * Shortcut for `HTMLElement.getElementsByTagName` method. Some `Node` elements
2010
+ * like `ShadowRoot` do not support `getElementsByTagName`.
2011
+ *
2012
+ * @param {string} selector the tag name
2013
+ * @param {(HTMLElement | Element | Document)=} parent optional Element to look into
2014
+ * @return {HTMLCollectionOf<HTMLElement | Element>} the 'HTMLCollection'
2015
+ */
2016
+ export default function getElementsByTagName(selector: string, parent?: (HTMLElement | Element | Document) | undefined): HTMLCollectionOf<HTMLElement | Element>;
2017
+ }
2018
+ declare module "shorty/src/selectors/documentAll" {
2019
+ export default documentAll;
2020
+ /**
2021
+ * An `HTMLCollection` with all document elements,
2022
+ * which is the equivalent of `document.all`.
2023
+ */
2024
+ const documentAll: HTMLCollectionOf<Element | HTMLElement>;
2025
+ }
2026
+ declare module "shorty/src/selectors/getCustomElements" {
2027
+ /**
2028
+ * Returns an `Array` of `Node` elements that are registered as
2029
+ * `CustomElement`.
2030
+ * @see https://stackoverflow.com/questions/27334365/how-to-get-list-of-registered-custom-elements
2031
+ *
2032
+ * @param {(HTMLElement | Element | Node | Document)=} parent parent to look into
2033
+ * @returns {Array<(HTMLElement | Element)>} the query result
2034
+ */
2035
+ export default function getCustomElements(parent?: (HTMLElement | Element | Node | Document) | undefined): Array<(HTMLElement | Element)>;
2036
+ }
2037
+ declare module "shorty/src/selectors/getElementById" {
2038
+ /**
2039
+ * Returns an `Element` that matches the id in the document.
2040
+ *
2041
+ * @param {string} id
2042
+ * @returns {(HTMLElement | Element)?}
2043
+ */
2044
+ export default function getElementById(id: string): (HTMLElement | Element) | null;
2045
+ }
2046
+ declare module "shorty/src/selectors/querySelectorAll" {
2047
+ /**
2048
+ * A shortcut for `(document|Element).querySelectorAll`.
2049
+ *
2050
+ * @param {string} selector the input selector
2051
+ * @param {(HTMLElement | Element | Document | Node)=} parent optional node to look into
2052
+ * @return {NodeListOf<HTMLElement | Element>} the query result
2053
+ */
2054
+ export default function querySelectorAll(selector: string, parent?: (HTMLElement | Element | Document | Node) | undefined): NodeListOf<HTMLElement | Element>;
2055
+ }
2056
+ declare module "shorty/src/selectors/getElementsByClassName" {
2057
+ /**
2058
+ * Shortcut for `HTMLElement.getElementsByClassName` method. Some `Node` elements
2059
+ * like `ShadowRoot` do not support `getElementsByClassName`.
2060
+ *
2061
+ * @param {string} selector the class name
2062
+ * @param {(HTMLElement | Element | Document)=} parent optional Element to look into
2063
+ * @return {HTMLCollectionOf<HTMLElement | Element>} the 'HTMLCollection'
2064
+ */
2065
+ export default function getElementsByClassName(selector: string, parent?: (HTMLElement | Element | Document) | undefined): HTMLCollectionOf<HTMLElement | Element>;
2066
+ }
2067
+ declare module "shorty/src/selectors/matches" {
2068
+ /**
2069
+ * Check if element matches a CSS selector.
2070
+ *
2071
+ * @param {HTMLElement | Element} target
2072
+ * @param {string} selector
2073
+ * @returns {boolean}
2074
+ */
2075
+ export default function matches(target: HTMLElement | Element, selector: string): boolean;
2076
+ }
2077
+ declare module "shorty/src/selectors/matchesLegacy" {
2078
+ /**
2079
+ * Check if element matches a CSS selector,
2080
+ * supporting a range of legacy browsers.
2081
+ *
2082
+ * @param {HTMLElement | Element} target
2083
+ * @param {string} selector
2084
+ * @returns {boolean}
2085
+ */
2086
+ export default function matches(target: HTMLElement | Element, selector: string): boolean;
2087
+ }
2088
+ declare module "shorty/src/misc/version" {
2089
+ export default Version;
2090
+ /**
2091
+ * A global namespace for library version.
2092
+ * @type {string}
2093
+ */
2094
+ const Version: string;
2095
+ }
2096
+ declare module "shorty/types/module/SHORTY" {
2097
+ export { default as ariaChecked } from "shorty/src/strings/ariaChecked";
2098
+ export { default as ariaDescription } from "shorty/src/strings/ariaDescription";
2099
+ export { default as ariaDescribedBy } from "shorty/src/strings/ariaDescribedBy";
2100
+ export { default as ariaExpanded } from "shorty/src/strings/ariaExpanded";
2101
+ export { default as ariaHasPopup } from "shorty/src/strings/ariaHasPopup";
2102
+ export { default as ariaHidden } from "shorty/src/strings/ariaHidden";
2103
+ export { default as ariaLabel } from "shorty/src/strings/ariaLabel";
2104
+ export { default as ariaLabelledBy } from "shorty/src/strings/ariaLabelledBy";
2105
+ export { default as ariaModal } from "shorty/src/strings/ariaModal";
2106
+ export { default as ariaPressed } from "shorty/src/strings/ariaPressed";
2107
+ export { default as ariaSelected } from "shorty/src/strings/ariaSelected";
2108
+ export { default as ariaValueMin } from "shorty/src/strings/ariaValueMin";
2109
+ export { default as ariaValueMax } from "shorty/src/strings/ariaValueMax";
2110
+ export { default as ariaValueNow } from "shorty/src/strings/ariaValueNow";
2111
+ export { default as ariaValueText } from "shorty/src/strings/ariaValueText";
2112
+ export { default as nativeEvents } from "shorty/src/strings/nativeEvents";
2113
+ export { default as abortEvent } from "shorty/src/strings/abortEvent";
2114
+ export { default as beforeunloadEvent } from "shorty/src/strings/beforeunloadEvent";
2115
+ export { default as blurEvent } from "shorty/src/strings/blurEvent";
2116
+ export { default as changeEvent } from "shorty/src/strings/changeEvent";
2117
+ export { default as contextmenuEvent } from "shorty/src/strings/contextmenuEvent";
2118
+ export { default as DOMContentLoadedEvent } from "shorty/src/strings/DOMContentLoadedEvent";
2119
+ export { default as DOMMouseScrollEvent } from "shorty/src/strings/DOMMouseScrollEvent";
2120
+ export { default as errorEvent } from "shorty/src/strings/errorEvent";
2121
+ export { default as focusEvents } from "shorty/src/strings/focusEvents";
2122
+ export { default as focusEvent } from "shorty/src/strings/focusEvent";
2123
+ export { default as focusinEvent } from "shorty/src/strings/focusinEvent";
2124
+ export { default as focusoutEvent } from "shorty/src/strings/focusoutEvent";
2125
+ export { default as gesturechangeEvent } from "shorty/src/strings/gesturechangeEvent";
2126
+ export { default as gestureendEvent } from "shorty/src/strings/gestureendEvent";
2127
+ export { default as gesturestartEvent } from "shorty/src/strings/gesturestartEvent";
2128
+ export { default as keydownEvent } from "shorty/src/strings/keydownEvent";
2129
+ export { default as keyupEvent } from "shorty/src/strings/keyupEvent";
2130
+ export { default as keypressEvent } from "shorty/src/strings/keypressEvent";
2131
+ export { default as loadEvent } from "shorty/src/strings/loadEvent";
2132
+ export { default as loadstartEvent } from "shorty/src/strings/loadstartEvent";
2133
+ export { default as mouseClickEvents } from "shorty/src/strings/mouseClickEvents";
2134
+ export { default as mouseclickEvent } from "shorty/src/strings/mouseclickEvent";
2135
+ export { default as mousedblclickEvent } from "shorty/src/strings/mousedblclickEvent";
2136
+ export { default as mousedownEvent } from "shorty/src/strings/mousedownEvent";
2137
+ export { default as mouseupEvent } from "shorty/src/strings/mouseupEvent";
2138
+ export { default as mousehoverEvent } from "shorty/src/strings/mousehoverEvent";
2139
+ export { default as mouseHoverEvents } from "shorty/src/strings/mouseHoverEvents";
2140
+ export { default as mouseenterEvent } from "shorty/src/strings/mouseenterEvent";
2141
+ export { default as mouseleaveEvent } from "shorty/src/strings/mouseleaveEvent";
2142
+ export { default as mouseinEvent } from "shorty/src/strings/mouseinEvent";
2143
+ export { default as mouseoutEvent } from "shorty/src/strings/mouseoutEvent";
2144
+ export { default as mouseoverEvent } from "shorty/src/strings/mouseoverEvent";
2145
+ export { default as mousemoveEvent } from "shorty/src/strings/mousemoveEvent";
2146
+ export { default as mouseSwipeEvents } from "shorty/src/strings/mouseSwipeEvents";
2147
+ export { default as mousewheelEvent } from "shorty/src/strings/mousewheelEvent";
2148
+ export { default as moveEvent } from "shorty/src/strings/moveEvent";
2149
+ export { default as orientationchangeEvent } from "shorty/src/strings/orientationchangeEvent";
2150
+ export { default as pointercancelEvent } from "shorty/src/strings/pointercancelEvent";
2151
+ export { default as pointerdownEvent } from "shorty/src/strings/pointerdownEvent";
2152
+ export { default as pointerleaveEvent } from "shorty/src/strings/pointerleaveEvent";
2153
+ export { default as pointermoveEvent } from "shorty/src/strings/pointermoveEvent";
2154
+ export { default as pointerupEvent } from "shorty/src/strings/pointerupEvent";
2155
+ export { default as readystatechangeEvent } from "shorty/src/strings/readystatechangeEvent";
2156
+ export { default as resetEvent } from "shorty/src/strings/resetEvent";
2157
+ export { default as resizeEvent } from "shorty/src/strings/resizeEvent";
2158
+ export { default as selectEvent } from "shorty/src/strings/selectEvent";
2159
+ export { default as selectendEvent } from "shorty/src/strings/selectendEvent";
2160
+ export { default as selectstartEvent } from "shorty/src/strings/selectstartEvent";
2161
+ export { default as scrollEvent } from "shorty/src/strings/scrollEvent";
2162
+ export { default as submitEvent } from "shorty/src/strings/submitEvent";
2163
+ export { default as touchEvents } from "shorty/src/strings/touchEvents";
2164
+ export { default as touchstartEvent } from "shorty/src/strings/touchstartEvent";
2165
+ export { default as touchmoveEvent } from "shorty/src/strings/touchmoveEvent";
2166
+ export { default as touchcancelEvent } from "shorty/src/strings/touchcancelEvent";
2167
+ export { default as touchendEvent } from "shorty/src/strings/touchendEvent";
2168
+ export { default as unloadEvent } from "shorty/src/strings/unloadEvent";
2169
+ export { default as keyboardEventKeys } from "shorty/src/strings/keyboardEventKeys";
2170
+ export { default as keyAlt } from "shorty/src/strings/keyAlt";
2171
+ export { default as keyArrowDown } from "shorty/src/strings/keyArrowDown";
2172
+ export { default as keyArrowUp } from "shorty/src/strings/keyArrowUp";
2173
+ export { default as keyArrowLeft } from "shorty/src/strings/keyArrowLeft";
2174
+ export { default as keyArrowRight } from "shorty/src/strings/keyArrowRight";
2175
+ export { default as keyBackspace } from "shorty/src/strings/keyBackspace";
2176
+ export { default as keyCapsLock } from "shorty/src/strings/keyCapsLock";
2177
+ export { default as keyControl } from "shorty/src/strings/keyControl";
2178
+ export { default as keyDelete } from "shorty/src/strings/keyDelete";
2179
+ export { default as keyEnter } from "shorty/src/strings/keyEnter";
2180
+ export { default as keyEscape } from "shorty/src/strings/keyEscape";
2181
+ export { default as keyInsert } from "shorty/src/strings/keyInsert";
2182
+ export { default as keyMeta } from "shorty/src/strings/keyMeta";
2183
+ export { default as keyPause } from "shorty/src/strings/keyPause";
2184
+ export { default as keyScrollLock } from "shorty/src/strings/keyScrollLock";
2185
+ export { default as keyShift } from "shorty/src/strings/keyShift";
2186
+ export { default as keySpace } from "shorty/src/strings/keySpace";
2187
+ export { default as keyTab } from "shorty/src/strings/keyTab";
2188
+ export { default as animationDuration } from "shorty/src/strings/animationDuration";
2189
+ export { default as animationDurationLegacy } from "shorty/src/strings/animationDurationLegacy";
2190
+ export { default as animationDelay } from "shorty/src/strings/animationDelay";
2191
+ export { default as animationDelayLegacy } from "shorty/src/strings/animationDelayLegacy";
2192
+ export { default as animationName } from "shorty/src/strings/animationName";
2193
+ export { default as animationNameLegacy } from "shorty/src/strings/animationNameLegacy";
2194
+ export { default as animationEndEvent } from "shorty/src/strings/animationEndEvent";
2195
+ export { default as animationEndEventLegacy } from "shorty/src/strings/animationEndEventLegacy";
2196
+ export { default as transitionDuration } from "shorty/src/strings/transitionDuration";
2197
+ export { default as transitionDurationLegacy } from "shorty/src/strings/transitionDurationLegacy";
2198
+ export { default as transitionDelay } from "shorty/src/strings/transitionDelay";
2199
+ export { default as transitionDelayLegacy } from "shorty/src/strings/transitionDelayLegacy";
2200
+ export { default as transitionEndEvent } from "shorty/src/strings/transitionEndEvent";
2201
+ export { default as transitionEndEventLegacy } from "shorty/src/strings/transitionEndEventLegacy";
2202
+ export { default as transitionProperty } from "shorty/src/strings/transitionProperty";
2203
+ export { default as transitionPropertyLegacy } from "shorty/src/strings/transitionPropertyLegacy";
2204
+ export { default as addEventListener } from "shorty/src/strings/addEventListener";
2205
+ export { default as removeEventListener } from "shorty/src/strings/removeEventListener";
2206
+ export { default as bezierEasings } from "shorty/src/strings/bezierEasings";
2207
+ export { default as offsetHeight } from "shorty/src/strings/offsetHeight";
2208
+ export { default as offsetWidth } from "shorty/src/strings/offsetWidth";
2209
+ export { default as scrollHeight } from "shorty/src/strings/scrollHeight";
2210
+ export { default as scrollWidth } from "shorty/src/strings/scrollWidth";
2211
+ export { default as userAgentData } from "shorty/src/strings/userAgentData";
2212
+ export { default as userAgent } from "shorty/src/strings/userAgent";
2213
+ export { default as isApple } from "shorty/src/boolean/isApple";
2214
+ export { default as isFirefox } from "shorty/src/boolean/isFirefox";
2215
+ export { default as isMobile } from "shorty/src/boolean/isMobile";
2216
+ export { default as support3DTransform } from "shorty/src/boolean/support3DTransform";
2217
+ export { default as supportAnimation } from "shorty/src/boolean/supportAnimation";
2218
+ export { default as supportPassive } from "shorty/src/boolean/supportPassive";
2219
+ export { default as supportTouch } from "shorty/src/boolean/supportTouch";
2220
+ export { default as supportTransform } from "shorty/src/boolean/supportTransform";
2221
+ export { default as supportTransition } from "shorty/src/boolean/supportTransition";
2222
+ export { default as hasAttribute } from "shorty/src/attr/hasAttribute";
2223
+ export { default as hasAttributeNS } from "shorty/src/attr/hasAttributeNS";
2224
+ export { default as getAttribute } from "shorty/src/attr/getAttribute";
2225
+ export { default as getAttributeNS } from "shorty/src/attr/getAttributeNS";
2226
+ export { default as setAttribute } from "shorty/src/attr/setAttribute";
2227
+ export { default as setAttributeNS } from "shorty/src/attr/setAttributeNS";
2228
+ export { default as removeAttribute } from "shorty/src/attr/removeAttribute";
2229
+ export { default as removeAttributeNS } from "shorty/src/attr/removeAttributeNS";
2230
+ export { default as getBoundingClientRect } from "shorty/src/get/getBoundingClientRect";
2231
+ export { default as getDocument } from "shorty/src/get/getDocument";
2232
+ export { default as getDocumentBody } from "shorty/src/get/getDocumentBody";
2233
+ export { default as getDocumentElement } from "shorty/src/get/getDocumentElement";
2234
+ export { default as getDocumentHead } from "shorty/src/get/getDocumentHead";
2235
+ export { default as getElementAnimationDuration } from "shorty/src/get/getElementAnimationDuration";
2236
+ export { default as getElementAnimationDurationLegacy } from "shorty/src/get/getElementAnimationDurationLegacy";
2237
+ export { default as getElementAnimationDelay } from "shorty/src/get/getElementAnimationDelay";
2238
+ export { default as getElementAnimationDelayLegacy } from "shorty/src/get/getElementAnimationDelayLegacy";
2239
+ export { default as getElementStyle } from "shorty/src/get/getElementStyle";
2240
+ export { default as getElementTransitionDuration } from "shorty/src/get/getElementTransitionDuration";
2241
+ export { default as getElementTransitionDurationLegacy } from "shorty/src/get/getElementTransitionDurationLegacy";
2242
+ export { default as getElementTransitionDelay } from "shorty/src/get/getElementTransitionDelay";
2243
+ export { default as getElementTransitionDelayLegacy } from "shorty/src/get/getElementTransitionDelayLegacy";
2244
+ export { default as getNodeScroll } from "shorty/src/get/getNodeScroll";
2245
+ export { default as getParentNode } from "shorty/src/get/getParentNode";
2246
+ export { default as getRectRelativeToOffsetParent } from "shorty/src/get/getRectRelativeToOffsetParent";
2247
+ export { default as getUID } from "shorty/src/get/getUID";
2248
+ export { default as getWindow } from "shorty/src/get/getWindow";
2249
+ export { default as addClass } from "shorty/src/class/addClass";
2250
+ export { default as removeClass } from "shorty/src/class/removeClass";
2251
+ export { default as hasClass } from "shorty/src/class/hasClass";
2252
+ export { default as on } from "shorty/src/event/on";
2253
+ export { default as off } from "shorty/src/event/off";
2254
+ export { default as one } from "shorty/src/event/one";
2255
+ export { default as Data, getInstance } from "shorty/src/misc/data";
2256
+ export { default as Timer } from "shorty/src/misc/timer";
2257
+ export { default as createElement } from "shorty/src/misc/createElement";
2258
+ export { default as createElementNS } from "shorty/src/misc/createElementNS";
2259
+ export { default as dispatchEvent } from "shorty/src/misc/dispatchEvent";
2260
+ export { default as distinct } from "shorty/src/misc/distinct";
2261
+ export { default as emulateAnimationEnd } from "shorty/src/misc/emulateAnimationEnd";
2262
+ export { default as emulateAnimationEndLegacy } from "shorty/src/misc/emulateAnimationEndLegacy";
2263
+ export { default as emulateTransitionEnd } from "shorty/src/misc/emulateTransitionEnd";
2264
+ export { default as emulateTransitionEndLegacy } from "shorty/src/misc/emulateTransitionEndLegacy";
2265
+ export { default as passiveHandler } from "shorty/src/misc/passiveHandler";
2266
+ export { default as passiveHandlerLegacy } from "shorty/src/misc/passiveHandlerLegacy";
2267
+ export { default as setElementStyle } from "shorty/src/misc/setElementStyle";
2268
+ export { default as normalizeValue } from "shorty/src/misc/normalizeValue";
2269
+ export { default as normalizeOptions } from "shorty/src/misc/normalizeOptions";
2270
+ export { default as tryWrapper } from "shorty/src/misc/tryWrapper";
2271
+ export { default as reflow } from "shorty/src/misc/reflow";
2272
+ export { default as focus } from "shorty/src/misc/focus";
2273
+ export { default as noop } from "shorty/src/misc/noop";
2274
+ export { default as toLowerCase } from "shorty/src/misc/toLowerCase";
2275
+ export { default as toUpperCase } from "shorty/src/misc/toUpperCase";
2276
+ export { default as ArrayFrom } from "shorty/src/misc/ArrayFrom";
2277
+ export { default as Float32ArrayFrom } from "shorty/src/misc/Float32ArrayFrom";
2278
+ export { default as Float64ArrayFrom } from "shorty/src/misc/Float64ArrayFrom";
2279
+ export { default as ObjectKeys } from "shorty/src/misc/ObjectKeys";
2280
+ export { default as ObjectValues } from "shorty/src/misc/ObjectValues";
2281
+ export { default as ObjectAssign } from "shorty/src/misc/ObjectAssign";
2282
+ export { default as OriginalEvent } from "shorty/src/misc/OriginalEvent";
2283
+ export { default as isArray } from "shorty/src/is/isArray";
2284
+ export { default as isDocument } from "shorty/src/is/isDocument";
2285
+ export { default as isCustomElement } from "shorty/src/is/isCustomElement";
2286
+ export { default as isElement } from "shorty/src/is/isElement";
2287
+ export { default as isElementInScrollRange } from "shorty/src/is/isElementInScrollRange";
2288
+ export { default as isElementInViewport } from "shorty/src/is/isElementInViewport";
2289
+ export { default as isElementsArray } from "shorty/src/is/isElementsArray";
2290
+ export { default as isFunction } from "shorty/src/is/isFunction";
2291
+ export { default as isHTMLCollection } from "shorty/src/is/isHTMLCollection";
2292
+ export { default as isHTMLElement } from "shorty/src/is/isHTMLElement";
2293
+ export { default as isHTMLImageElement } from "shorty/src/is/isHTMLImageElement";
2294
+ export { default as isMedia } from "shorty/src/is/isMedia";
2295
+ export { default as isNode } from "shorty/src/is/isNode";
2296
+ export { default as isNodeList } from "shorty/src/is/isNodeList";
2297
+ export { default as isRTL } from "shorty/src/is/isRTL";
2298
+ export { default as isScaledElement } from "shorty/src/is/isScaledElement";
2299
+ export { default as isShadowRoot } from "shorty/src/is/isShadowRoot";
2300
+ export { default as isString } from "shorty/src/is/isString";
2301
+ export { default as isSVGElement } from "shorty/src/is/isSVGElement";
2302
+ export { default as isTableElement } from "shorty/src/is/isTableElement";
2303
+ export { default as isWindow } from "shorty/src/is/isWindow";
2304
+ export { default as elementNodes } from "shorty/src/selectors/elementNodes";
2305
+ export { default as parentNodes } from "shorty/src/selectors/parentNodes";
2306
+ export { default as closest } from "shorty/src/selectors/closest";
2307
+ export { default as documentAll } from "shorty/src/selectors/documentAll";
2308
+ export { default as getCustomElements } from "shorty/src/selectors/getCustomElements";
2309
+ export { default as getElementById } from "shorty/src/selectors/getElementById";
2310
+ export { default as querySelector } from "shorty/src/selectors/querySelector";
2311
+ export { default as querySelectorAll } from "shorty/src/selectors/querySelectorAll";
2312
+ export { default as getElementsByTagName } from "shorty/src/selectors/getElementsByTagName";
2313
+ export { default as getElementsByClassName } from "shorty/src/selectors/getElementsByClassName";
2314
+ export { default as matches } from "shorty/src/selectors/matches";
2315
+ export { default as matchesLegacy } from "shorty/src/selectors/matchesLegacy";
2316
+ export { default as Version } from "shorty/src/misc/version";
2317
+ }