@thednp/shorty 2.0.4 → 2.0.6
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.
- package/README.md +5 -5
- package/dist/shorty.cjs +18 -1
- package/dist/shorty.cjs.map +1 -1
- package/dist/shorty.d.ts +31 -18
- package/dist/shorty.js +18 -1
- package/dist/shorty.js.map +1 -1
- package/dist/shorty.mjs +451 -386
- package/dist/shorty.mjs.map +1 -1
- package/dts.config.ts +1 -7
- package/package.json +16 -28
- package/src/attr/hasAttribute.ts +2 -1
- package/src/attr/hasAttributeNS.ts +5 -2
- package/src/attr/removeAttribute.ts +2 -1
- package/src/attr/removeAttributeNS.ts +5 -2
- package/src/attr/setAttributeNS.ts +6 -2
- package/src/boolean/isApple.ts +6 -4
- package/src/boolean/isFirefox.ts +2 -2
- package/src/boolean/isMobile.ts +4 -4
- package/src/boolean/support3DTransform.ts +4 -2
- package/src/boolean/supportAnimation.ts +4 -2
- package/src/boolean/supportPassive.ts +6 -6
- package/src/boolean/supportTouch.ts +3 -2
- package/src/boolean/supportTransform.ts +4 -2
- package/src/boolean/supportTransition.ts +4 -2
- package/src/event/off.ts +5 -1
- package/src/event/on.ts +5 -1
- package/src/event/one.ts +5 -5
- package/src/get/getBoundingClientRect.ts +10 -5
- package/src/get/getDocument.ts +4 -4
- package/src/get/getDocumentBody.ts +1 -1
- package/src/get/getDocumentElement.ts +1 -1
- package/src/get/getDocumentHead.ts +4 -2
- package/src/get/getElementAnimationDelay.ts +9 -6
- package/src/get/getElementAnimationDuration.ts +9 -6
- package/src/get/getElementStyle.ts +2 -2
- package/src/get/getElementTransitionDelay.ts +9 -8
- package/src/get/getElementTransitionDuration.ts +9 -8
- package/src/get/getNodeScroll.ts +4 -2
- package/src/get/getParentNode.ts +5 -5
- package/src/get/getRectRelativeToOffsetParent.ts +9 -6
- package/src/get/getUID.ts +1 -1
- package/src/get/getWindow.ts +2 -2
- package/src/index.ts +425 -415
- package/src/interface/event.d.ts +49 -41
- package/src/interface/fn.ts +1 -0
- package/src/interface/originalEvent.d.ts +1 -1
- package/src/is/isArray.ts +2 -1
- package/src/is/isCanvas.ts +2 -2
- package/src/is/isCustomElement.ts +5 -3
- package/src/is/isDocument.ts +3 -2
- package/src/is/isElement.ts +3 -2
- package/src/is/isElementInScrollRange.ts +3 -3
- package/src/is/isElementInViewport.ts +5 -4
- package/src/is/isElementsArray.ts +2 -2
- package/src/is/isFunction.ts +4 -2
- package/src/is/isHTMLCollection.ts +2 -2
- package/src/is/isHTMLElement.ts +1 -1
- package/src/is/isHTMLImageElement.ts +2 -2
- package/src/is/isJSON.ts +2 -2
- package/src/is/isMap.ts +3 -3
- package/src/is/isMedia.ts +9 -3
- package/src/is/isNode.ts +5 -3
- package/src/is/isNodeList.ts +2 -2
- package/src/is/isNumber.ts +2 -1
- package/src/is/isObject.ts +1 -1
- package/src/is/isRTL.ts +2 -2
- package/src/is/isSVGElement.ts +2 -2
- package/src/is/isScaledElement.ts +4 -3
- package/src/is/isShadowRoot.ts +2 -2
- package/src/is/isString.ts +2 -1
- package/src/is/isTableElement.ts +6 -3
- package/src/is/isWeakMap.ts +3 -3
- package/src/is/isWindow.ts +2 -2
- package/src/misc/Float32ArrayFrom.ts +3 -2
- package/src/misc/Float64ArrayFrom.ts +3 -2
- package/src/misc/ObjectAssign.ts +15 -4
- package/src/misc/ObjectEntries.ts +1 -1
- package/src/misc/ObjectHasOwn.ts +3 -2
- package/src/misc/ObjectKeys.ts +2 -1
- package/src/misc/ObjectValues.ts +3 -2
- package/src/misc/createCustomEvent.ts +8 -5
- package/src/misc/createElement.ts +6 -4
- package/src/misc/createElementNS.ts +3 -3
- package/src/misc/data.ts +4 -7
- package/src/misc/dispatchEvent.ts +2 -1
- package/src/misc/distinct.ts +2 -1
- package/src/misc/emulateAnimationEnd.ts +12 -9
- package/src/misc/emulateTransitionEnd.ts +11 -8
- package/src/misc/focus.ts +2 -1
- package/src/misc/focusTrap.ts +67 -0
- package/src/misc/getInstance.ts +1 -1
- package/src/misc/normalizeOptions.ts +16 -13
- package/src/misc/normalizeValue.ts +8 -6
- package/src/misc/setElementStyle.ts +9 -6
- package/src/misc/timer.ts +15 -8
- package/src/selectors/closest.ts +2 -2
- package/src/selectors/getCustomElements.ts +4 -5
- package/src/selectors/getElementById.ts +3 -3
- package/src/selectors/getElementsByClassName.ts +5 -5
- package/src/selectors/getElementsByTagName.ts +7 -5
- package/src/selectors/matches.ts +2 -1
- package/src/selectors/querySelector.ts +9 -6
- package/src/selectors/querySelectorAll.ts +6 -3
- package/src/strings/DOMContentLoadedEvent.ts +1 -1
- package/src/strings/DOMMouseScrollEvent.ts +1 -1
- package/src/strings/abortEvent.ts +1 -1
- package/src/strings/addEventListener.ts +1 -1
- package/src/strings/animationDelay.ts +1 -1
- package/src/strings/animationDuration.ts +1 -1
- package/src/strings/animationEndEvent.ts +1 -1
- package/src/strings/animationName.ts +1 -1
- package/src/strings/ariaChecked.ts +1 -1
- package/src/strings/ariaDescribedBy.ts +1 -1
- package/src/strings/ariaDescription.ts +1 -1
- package/src/strings/ariaExpanded.ts +1 -1
- package/src/strings/ariaHasPopup.ts +1 -1
- package/src/strings/ariaHidden.ts +1 -1
- package/src/strings/ariaLabel.ts +1 -1
- package/src/strings/ariaLabelledBy.ts +1 -1
- package/src/strings/ariaModal.ts +1 -1
- package/src/strings/ariaPressed.ts +1 -1
- package/src/strings/ariaSelected.ts +1 -1
- package/src/strings/ariaValueMax.ts +1 -1
- package/src/strings/ariaValueMin.ts +1 -1
- package/src/strings/ariaValueNow.ts +1 -1
- package/src/strings/ariaValueText.ts +1 -1
- package/src/strings/beforeunloadEvent.ts +1 -1
- package/src/strings/bezierEasings.ts +25 -25
- package/src/strings/blurEvent.ts +1 -1
- package/src/strings/changeEvent.ts +1 -1
- package/src/strings/contextmenuEvent.ts +1 -1
- package/src/strings/dragEvent.ts +1 -1
- package/src/strings/dragendEvent.ts +1 -1
- package/src/strings/dragenterEvent.ts +1 -1
- package/src/strings/dragleaveEvent.ts +1 -1
- package/src/strings/dragoverEvent.ts +1 -1
- package/src/strings/dragstartEvent.ts +1 -1
- package/src/strings/errorEvent.ts +1 -1
- package/src/strings/focusEvent.ts +1 -1
- package/src/strings/focusEvents.ts +1 -1
- package/src/strings/focusableSelector.ts +4 -0
- package/src/strings/focusinEvent.ts +1 -1
- package/src/strings/focusoutEvent.ts +1 -1
- package/src/strings/gesturechangeEvent.ts +1 -1
- package/src/strings/gestureendEvent.ts +1 -1
- package/src/strings/gesturestartEvent.ts +1 -1
- package/src/strings/keyAlt.ts +1 -1
- package/src/strings/keyArrowDown.ts +1 -1
- package/src/strings/keyArrowLeft.ts +1 -1
- package/src/strings/keyArrowRight.ts +1 -1
- package/src/strings/keyArrowUp.ts +1 -1
- package/src/strings/keyBackspace.ts +1 -1
- package/src/strings/keyCapsLock.ts +1 -1
- package/src/strings/keyControl.ts +1 -1
- package/src/strings/keyDelete.ts +1 -1
- package/src/strings/keyEnter.ts +1 -1
- package/src/strings/keyEscape.ts +1 -1
- package/src/strings/keyInsert.ts +1 -1
- package/src/strings/keyMeta.ts +1 -1
- package/src/strings/keyNumpadEnter.ts +1 -1
- package/src/strings/keyPause.ts +1 -1
- package/src/strings/keyScrollLock.ts +1 -1
- package/src/strings/keyShift.ts +1 -1
- package/src/strings/keySpace.ts +1 -1
- package/src/strings/keyTab.ts +1 -1
- package/src/strings/keyboardEventKeys.ts +19 -19
- package/src/strings/keydownEvent.ts +1 -1
- package/src/strings/keypressEvent.ts +1 -1
- package/src/strings/keyupEvent.ts +1 -1
- package/src/strings/loadEvent.ts +1 -1
- package/src/strings/loadstartEvent.ts +1 -1
- package/src/strings/mouseClickEvents.ts +1 -1
- package/src/strings/mouseHoverEvents.ts +3 -4
- package/src/strings/mouseSwipeEvents.ts +4 -4
- package/src/strings/mouseclickEvent.ts +1 -1
- package/src/strings/mousedblclickEvent.ts +1 -1
- package/src/strings/mousedownEvent.ts +1 -1
- package/src/strings/mouseenterEvent.ts +1 -1
- package/src/strings/mousehoverEvent.ts +1 -1
- package/src/strings/mouseinEvent.ts +1 -1
- package/src/strings/mouseleaveEvent.ts +1 -1
- package/src/strings/mousemoveEvent.ts +1 -1
- package/src/strings/mouseoutEvent.ts +1 -1
- package/src/strings/mouseoverEvent.ts +1 -1
- package/src/strings/mouseupEvent.ts +1 -1
- package/src/strings/mousewheelEvent.ts +1 -1
- package/src/strings/moveEvent.ts +1 -1
- package/src/strings/nativeEvents.ts +50 -50
- package/src/strings/offsetHeight.ts +1 -1
- package/src/strings/offsetWidth.ts +1 -1
- package/src/strings/orientationchangeEvent.ts +1 -1
- package/src/strings/pointercancelEvent.ts +1 -1
- package/src/strings/pointerdownEvent.ts +1 -1
- package/src/strings/pointerleaveEvent.ts +1 -1
- package/src/strings/pointermoveEvent.ts +1 -1
- package/src/strings/pointerupEvent.ts +1 -1
- package/src/strings/readystatechangeEvent.ts +1 -1
- package/src/strings/removeEventListener.ts +1 -1
- package/src/strings/resetEvent.ts +1 -1
- package/src/strings/resizeEvent.ts +1 -1
- package/src/strings/scrollEvent.ts +1 -1
- package/src/strings/scrollHeight.ts +1 -1
- package/src/strings/scrollWidth.ts +1 -1
- package/src/strings/selectEvent.ts +1 -1
- package/src/strings/selectendEvent.ts +1 -1
- package/src/strings/selectstartEvent.ts +1 -1
- package/src/strings/submitEvent.ts +1 -1
- package/src/strings/tabindex.ts +1 -1
- package/src/strings/touchEvents.ts +4 -4
- package/src/strings/touchcancelEvent.ts +1 -1
- package/src/strings/touchendEvent.ts +1 -1
- package/src/strings/touchmoveEvent.ts +1 -1
- package/src/strings/touchstartEvent.ts +1 -1
- package/src/strings/transitionDelay.ts +1 -1
- package/src/strings/transitionDuration.ts +1 -1
- package/src/strings/transitionEndEvent.ts +1 -1
- package/src/strings/transitionProperty.ts +1 -1
- package/src/strings/unloadEvent.ts +1 -1
- package/src/strings/userAgentData.ts +2 -2
- package/test/fixtures/getExampleDom.ts +12 -8
- package/test/is.test.ts +15 -11
- package/test/misc.test.ts +65 -17
- package/{vite.config.ts → vite.config.mts} +4 -8
- package/{vitest.config-ui.ts → vitest.config-ui.mts} +5 -0
- package/{vitest.config.ts → vitest.config.mts} +5 -0
package/src/index.ts
CHANGED
|
@@ -1,523 +1,533 @@
|
|
|
1
1
|
// strings
|
|
2
|
-
import ariaChecked from
|
|
3
|
-
import ariaDescription from
|
|
4
|
-
import ariaDescribedBy from
|
|
5
|
-
import ariaExpanded from
|
|
6
|
-
import ariaHasPopup from
|
|
7
|
-
import ariaHidden from
|
|
8
|
-
import ariaLabel from
|
|
9
|
-
import ariaLabelledBy from
|
|
10
|
-
import ariaModal from
|
|
11
|
-
import ariaPressed from
|
|
12
|
-
import ariaSelected from
|
|
13
|
-
import ariaValueMin from
|
|
14
|
-
import ariaValueMax from
|
|
15
|
-
import ariaValueNow from
|
|
16
|
-
import ariaValueText from
|
|
2
|
+
import ariaChecked from "./strings/ariaChecked";
|
|
3
|
+
import ariaDescription from "./strings/ariaDescription";
|
|
4
|
+
import ariaDescribedBy from "./strings/ariaDescribedBy";
|
|
5
|
+
import ariaExpanded from "./strings/ariaExpanded";
|
|
6
|
+
import ariaHasPopup from "./strings/ariaHasPopup";
|
|
7
|
+
import ariaHidden from "./strings/ariaHidden";
|
|
8
|
+
import ariaLabel from "./strings/ariaLabel";
|
|
9
|
+
import ariaLabelledBy from "./strings/ariaLabelledBy";
|
|
10
|
+
import ariaModal from "./strings/ariaModal";
|
|
11
|
+
import ariaPressed from "./strings/ariaPressed";
|
|
12
|
+
import ariaSelected from "./strings/ariaSelected";
|
|
13
|
+
import ariaValueMin from "./strings/ariaValueMin";
|
|
14
|
+
import ariaValueMax from "./strings/ariaValueMax";
|
|
15
|
+
import ariaValueNow from "./strings/ariaValueNow";
|
|
16
|
+
import ariaValueText from "./strings/ariaValueText";
|
|
17
17
|
|
|
18
|
-
import nativeEvents from
|
|
19
|
-
import abortEvent from
|
|
20
|
-
import blurEvent from
|
|
21
|
-
import moveEvent from
|
|
22
|
-
import changeEvent from
|
|
23
|
-
import dragEvent from
|
|
24
|
-
import dragstartEvent from
|
|
25
|
-
import dragenterEvent from
|
|
26
|
-
import dragleaveEvent from
|
|
27
|
-
import dragoverEvent from
|
|
28
|
-
import dragendEvent from
|
|
29
|
-
import errorEvent from
|
|
30
|
-
import resetEvent from
|
|
31
|
-
import resizeEvent from
|
|
32
|
-
import scrollEvent from
|
|
33
|
-
import submitEvent from
|
|
34
|
-
import loadEvent from
|
|
35
|
-
import loadstartEvent from
|
|
36
|
-
import unloadEvent from
|
|
37
|
-
import readystatechangeEvent from
|
|
38
|
-
import beforeunloadEvent from
|
|
39
|
-
import orientationchangeEvent from
|
|
40
|
-
import contextmenuEvent from
|
|
41
|
-
import DOMContentLoadedEvent from
|
|
42
|
-
import DOMMouseScrollEvent from
|
|
18
|
+
import nativeEvents from "./strings/nativeEvents";
|
|
19
|
+
import abortEvent from "./strings/abortEvent";
|
|
20
|
+
import blurEvent from "./strings/blurEvent";
|
|
21
|
+
import moveEvent from "./strings/moveEvent";
|
|
22
|
+
import changeEvent from "./strings/changeEvent";
|
|
23
|
+
import dragEvent from "./strings/dragEvent";
|
|
24
|
+
import dragstartEvent from "./strings/dragstartEvent";
|
|
25
|
+
import dragenterEvent from "./strings/dragenterEvent";
|
|
26
|
+
import dragleaveEvent from "./strings/dragleaveEvent";
|
|
27
|
+
import dragoverEvent from "./strings/dragoverEvent";
|
|
28
|
+
import dragendEvent from "./strings/dragendEvent";
|
|
29
|
+
import errorEvent from "./strings/errorEvent";
|
|
30
|
+
import resetEvent from "./strings/resetEvent";
|
|
31
|
+
import resizeEvent from "./strings/resizeEvent";
|
|
32
|
+
import scrollEvent from "./strings/scrollEvent";
|
|
33
|
+
import submitEvent from "./strings/submitEvent";
|
|
34
|
+
import loadEvent from "./strings/loadEvent";
|
|
35
|
+
import loadstartEvent from "./strings/loadstartEvent";
|
|
36
|
+
import unloadEvent from "./strings/unloadEvent";
|
|
37
|
+
import readystatechangeEvent from "./strings/readystatechangeEvent";
|
|
38
|
+
import beforeunloadEvent from "./strings/beforeunloadEvent";
|
|
39
|
+
import orientationchangeEvent from "./strings/orientationchangeEvent";
|
|
40
|
+
import contextmenuEvent from "./strings/contextmenuEvent";
|
|
41
|
+
import DOMContentLoadedEvent from "./strings/DOMContentLoadedEvent";
|
|
42
|
+
import DOMMouseScrollEvent from "./strings/DOMMouseScrollEvent";
|
|
43
43
|
|
|
44
|
-
import selectEvent from
|
|
45
|
-
import selectendEvent from
|
|
46
|
-
import selectstartEvent from
|
|
44
|
+
import selectEvent from "./strings/selectEvent";
|
|
45
|
+
import selectendEvent from "./strings/selectendEvent";
|
|
46
|
+
import selectstartEvent from "./strings/selectstartEvent";
|
|
47
47
|
|
|
48
|
-
import mouseSwipeEvents from
|
|
49
|
-
import mouseClickEvents from
|
|
50
|
-
import mouseclickEvent from
|
|
51
|
-
import mousedblclickEvent from
|
|
52
|
-
import mousedownEvent from
|
|
53
|
-
import mouseupEvent from
|
|
54
|
-
import mousehoverEvent from
|
|
55
|
-
import mouseHoverEvents from
|
|
56
|
-
import mouseenterEvent from
|
|
57
|
-
import mouseleaveEvent from
|
|
58
|
-
import mouseinEvent from
|
|
59
|
-
import mouseoutEvent from
|
|
60
|
-
import mouseoverEvent from
|
|
61
|
-
import mousemoveEvent from
|
|
62
|
-
import mousewheelEvent from
|
|
48
|
+
import mouseSwipeEvents from "./strings/mouseSwipeEvents";
|
|
49
|
+
import mouseClickEvents from "./strings/mouseClickEvents";
|
|
50
|
+
import mouseclickEvent from "./strings/mouseclickEvent";
|
|
51
|
+
import mousedblclickEvent from "./strings/mousedblclickEvent";
|
|
52
|
+
import mousedownEvent from "./strings/mousedownEvent";
|
|
53
|
+
import mouseupEvent from "./strings/mouseupEvent";
|
|
54
|
+
import mousehoverEvent from "./strings/mousehoverEvent";
|
|
55
|
+
import mouseHoverEvents from "./strings/mouseHoverEvents";
|
|
56
|
+
import mouseenterEvent from "./strings/mouseenterEvent";
|
|
57
|
+
import mouseleaveEvent from "./strings/mouseleaveEvent";
|
|
58
|
+
import mouseinEvent from "./strings/mouseinEvent";
|
|
59
|
+
import mouseoutEvent from "./strings/mouseoutEvent";
|
|
60
|
+
import mouseoverEvent from "./strings/mouseoverEvent";
|
|
61
|
+
import mousemoveEvent from "./strings/mousemoveEvent";
|
|
62
|
+
import mousewheelEvent from "./strings/mousewheelEvent";
|
|
63
63
|
|
|
64
|
-
import touchEvents from
|
|
65
|
-
import touchstartEvent from
|
|
66
|
-
import touchmoveEvent from
|
|
67
|
-
import touchcancelEvent from
|
|
68
|
-
import touchendEvent from
|
|
64
|
+
import touchEvents from "./strings/touchEvents";
|
|
65
|
+
import touchstartEvent from "./strings/touchstartEvent";
|
|
66
|
+
import touchmoveEvent from "./strings/touchmoveEvent";
|
|
67
|
+
import touchcancelEvent from "./strings/touchcancelEvent";
|
|
68
|
+
import touchendEvent from "./strings/touchendEvent";
|
|
69
69
|
|
|
70
|
-
import pointercancelEvent from
|
|
71
|
-
import pointerdownEvent from
|
|
72
|
-
import pointerleaveEvent from
|
|
73
|
-
import pointermoveEvent from
|
|
74
|
-
import pointerupEvent from
|
|
70
|
+
import pointercancelEvent from "./strings/pointercancelEvent";
|
|
71
|
+
import pointerdownEvent from "./strings/pointerdownEvent";
|
|
72
|
+
import pointerleaveEvent from "./strings/pointerleaveEvent";
|
|
73
|
+
import pointermoveEvent from "./strings/pointermoveEvent";
|
|
74
|
+
import pointerupEvent from "./strings/pointerupEvent";
|
|
75
75
|
|
|
76
|
-
import focusEvents from
|
|
77
|
-
import focusEvent from
|
|
78
|
-
import focusinEvent from
|
|
79
|
-
import focusoutEvent from
|
|
76
|
+
import focusEvents from "./strings/focusEvents";
|
|
77
|
+
import focusEvent from "./strings/focusEvent";
|
|
78
|
+
import focusinEvent from "./strings/focusinEvent";
|
|
79
|
+
import focusoutEvent from "./strings/focusoutEvent";
|
|
80
|
+
import focusableSelector from "./strings/focusableSelector";
|
|
80
81
|
|
|
81
|
-
import gesturechangeEvent from
|
|
82
|
-
import gestureendEvent from
|
|
83
|
-
import gesturestartEvent from
|
|
82
|
+
import gesturechangeEvent from "./strings/gesturechangeEvent";
|
|
83
|
+
import gestureendEvent from "./strings/gestureendEvent";
|
|
84
|
+
import gesturestartEvent from "./strings/gesturestartEvent";
|
|
84
85
|
|
|
85
|
-
import keyboardEventKeys from
|
|
86
|
-
import keydownEvent from
|
|
87
|
-
import keyupEvent from
|
|
88
|
-
import keypressEvent from
|
|
89
|
-
import keyAlt from
|
|
90
|
-
import keyArrowDown from
|
|
91
|
-
import keyArrowUp from
|
|
92
|
-
import keyArrowLeft from
|
|
93
|
-
import keyArrowRight from
|
|
94
|
-
import keyBackspace from
|
|
95
|
-
import keyCapsLock from
|
|
96
|
-
import keyControl from
|
|
97
|
-
import keyDelete from
|
|
98
|
-
import keyEnter from
|
|
99
|
-
import keyNumpadEnter from
|
|
100
|
-
import keyEscape from
|
|
101
|
-
import keyInsert from
|
|
102
|
-
import keyMeta from
|
|
103
|
-
import keyPause from
|
|
104
|
-
import keyScrollLock from
|
|
105
|
-
import keyShift from
|
|
106
|
-
import keySpace from
|
|
107
|
-
import keyTab from
|
|
86
|
+
import keyboardEventKeys from "./strings/keyboardEventKeys";
|
|
87
|
+
import keydownEvent from "./strings/keydownEvent";
|
|
88
|
+
import keyupEvent from "./strings/keyupEvent";
|
|
89
|
+
import keypressEvent from "./strings/keypressEvent";
|
|
90
|
+
import keyAlt from "./strings/keyAlt";
|
|
91
|
+
import keyArrowDown from "./strings/keyArrowDown";
|
|
92
|
+
import keyArrowUp from "./strings/keyArrowUp";
|
|
93
|
+
import keyArrowLeft from "./strings/keyArrowLeft";
|
|
94
|
+
import keyArrowRight from "./strings/keyArrowRight";
|
|
95
|
+
import keyBackspace from "./strings/keyBackspace";
|
|
96
|
+
import keyCapsLock from "./strings/keyCapsLock";
|
|
97
|
+
import keyControl from "./strings/keyControl";
|
|
98
|
+
import keyDelete from "./strings/keyDelete";
|
|
99
|
+
import keyEnter from "./strings/keyEnter";
|
|
100
|
+
import keyNumpadEnter from "./strings/keyNumpadEnter";
|
|
101
|
+
import keyEscape from "./strings/keyEscape";
|
|
102
|
+
import keyInsert from "./strings/keyInsert";
|
|
103
|
+
import keyMeta from "./strings/keyMeta";
|
|
104
|
+
import keyPause from "./strings/keyPause";
|
|
105
|
+
import keyScrollLock from "./strings/keyScrollLock";
|
|
106
|
+
import keyShift from "./strings/keyShift";
|
|
107
|
+
import keySpace from "./strings/keySpace";
|
|
108
|
+
import keyTab from "./strings/keyTab";
|
|
108
109
|
|
|
109
|
-
import animationDuration from
|
|
110
|
-
import animationDelay from
|
|
111
|
-
import animationName from
|
|
112
|
-
import animationEndEvent from
|
|
113
|
-
import transitionDuration from
|
|
114
|
-
import transitionDelay from
|
|
115
|
-
import transitionEndEvent from
|
|
116
|
-
import transitionProperty from
|
|
110
|
+
import animationDuration from "./strings/animationDuration";
|
|
111
|
+
import animationDelay from "./strings/animationDelay";
|
|
112
|
+
import animationName from "./strings/animationName";
|
|
113
|
+
import animationEndEvent from "./strings/animationEndEvent";
|
|
114
|
+
import transitionDuration from "./strings/transitionDuration";
|
|
115
|
+
import transitionDelay from "./strings/transitionDelay";
|
|
116
|
+
import transitionEndEvent from "./strings/transitionEndEvent";
|
|
117
|
+
import transitionProperty from "./strings/transitionProperty";
|
|
117
118
|
|
|
118
|
-
import addEventListener from
|
|
119
|
-
import removeEventListener from
|
|
119
|
+
import addEventListener from "./strings/addEventListener";
|
|
120
|
+
import removeEventListener from "./strings/removeEventListener";
|
|
120
121
|
|
|
121
|
-
import bezierEasings from
|
|
122
|
+
import bezierEasings from "./strings/bezierEasings";
|
|
122
123
|
|
|
123
|
-
import offsetHeight from
|
|
124
|
-
import offsetWidth from
|
|
125
|
-
import scrollHeight from
|
|
126
|
-
import scrollWidth from
|
|
127
|
-
import tabindex from
|
|
124
|
+
import offsetHeight from "./strings/offsetHeight";
|
|
125
|
+
import offsetWidth from "./strings/offsetWidth";
|
|
126
|
+
import scrollHeight from "./strings/scrollHeight";
|
|
127
|
+
import scrollWidth from "./strings/scrollWidth";
|
|
128
|
+
import tabindex from "./strings/tabindex";
|
|
128
129
|
|
|
129
|
-
import userAgentData from
|
|
130
|
-
import userAgent from
|
|
130
|
+
import userAgentData from "./strings/userAgentData";
|
|
131
|
+
import userAgent from "./strings/userAgent";
|
|
131
132
|
|
|
132
133
|
// boolean
|
|
133
|
-
import isMobile from
|
|
134
|
-
import isApple from
|
|
135
|
-
import isFirefox from
|
|
136
|
-
import support3DTransform from
|
|
137
|
-
import supportPassive from
|
|
138
|
-
import supportTransform from
|
|
139
|
-
import supportTouch from
|
|
140
|
-
import supportAnimation from
|
|
141
|
-
import supportTransition from
|
|
134
|
+
import isMobile from "./boolean/isMobile";
|
|
135
|
+
import isApple from "./boolean/isApple";
|
|
136
|
+
import isFirefox from "./boolean/isFirefox";
|
|
137
|
+
import support3DTransform from "./boolean/support3DTransform";
|
|
138
|
+
import supportPassive from "./boolean/supportPassive";
|
|
139
|
+
import supportTransform from "./boolean/supportTransform";
|
|
140
|
+
import supportTouch from "./boolean/supportTouch";
|
|
141
|
+
import supportAnimation from "./boolean/supportAnimation";
|
|
142
|
+
import supportTransition from "./boolean/supportTransition";
|
|
142
143
|
|
|
143
144
|
// attributes
|
|
144
|
-
import getAttribute from
|
|
145
|
-
import getAttributeNS from
|
|
146
|
-
import hasAttribute from
|
|
147
|
-
import hasAttributeNS from
|
|
148
|
-
import setAttribute from
|
|
149
|
-
import setAttributeNS from
|
|
150
|
-
import removeAttribute from
|
|
151
|
-
import removeAttributeNS from
|
|
145
|
+
import getAttribute from "./attr/getAttribute";
|
|
146
|
+
import getAttributeNS from "./attr/getAttributeNS";
|
|
147
|
+
import hasAttribute from "./attr/hasAttribute";
|
|
148
|
+
import hasAttributeNS from "./attr/hasAttributeNS";
|
|
149
|
+
import setAttribute from "./attr/setAttribute";
|
|
150
|
+
import setAttributeNS from "./attr/setAttributeNS";
|
|
151
|
+
import removeAttribute from "./attr/removeAttribute";
|
|
152
|
+
import removeAttributeNS from "./attr/removeAttributeNS";
|
|
152
153
|
|
|
153
154
|
// class
|
|
154
|
-
import addClass from
|
|
155
|
-
import removeClass from
|
|
156
|
-
import hasClass from
|
|
155
|
+
import addClass from "./class/addClass";
|
|
156
|
+
import removeClass from "./class/removeClass";
|
|
157
|
+
import hasClass from "./class/hasClass";
|
|
157
158
|
|
|
158
159
|
// event
|
|
159
|
-
import on from
|
|
160
|
-
import off from
|
|
161
|
-
import one from
|
|
160
|
+
import on from "./event/on";
|
|
161
|
+
import off from "./event/off";
|
|
162
|
+
import one from "./event/one";
|
|
162
163
|
|
|
163
164
|
// blocks
|
|
164
|
-
import documentBody from
|
|
165
|
-
import documentElement from
|
|
166
|
-
import documentHead from
|
|
165
|
+
import documentBody from "./blocks/documentBody";
|
|
166
|
+
import documentElement from "./blocks/documentElement";
|
|
167
|
+
import documentHead from "./blocks/documentHead";
|
|
167
168
|
|
|
168
169
|
// misc
|
|
169
|
-
import ArrayFrom from
|
|
170
|
-
import Data from
|
|
171
|
-
import getInstance from
|
|
172
|
-
import createElement from
|
|
173
|
-
import createElementNS from
|
|
174
|
-
import dispatchEvent from
|
|
175
|
-
import distinct from
|
|
176
|
-
import emulateAnimationEnd from
|
|
177
|
-
import emulateTransitionEnd from
|
|
178
|
-
import Float32ArrayFrom from
|
|
179
|
-
import Float64ArrayFrom from
|
|
180
|
-
import focus from
|
|
181
|
-
import noop from
|
|
182
|
-
import normalizeOptions from
|
|
183
|
-
import normalizeValue from
|
|
184
|
-
import ObjectAssign from
|
|
185
|
-
import ObjectEntries from
|
|
186
|
-
import ObjectHasOwn from
|
|
187
|
-
import ObjectKeys from
|
|
188
|
-
import ObjectValues from
|
|
189
|
-
import ObjectFromEntries from
|
|
190
|
-
import createCustomEvent from
|
|
191
|
-
import passiveHandler from
|
|
192
|
-
import reflow from
|
|
193
|
-
import setElementStyle from
|
|
194
|
-
import Timer from
|
|
195
|
-
import toLowerCase from
|
|
196
|
-
import toUpperCase from
|
|
170
|
+
import ArrayFrom from "./misc/ArrayFrom";
|
|
171
|
+
import Data from "./misc/data";
|
|
172
|
+
import getInstance from "./misc/getInstance";
|
|
173
|
+
import createElement from "./misc/createElement";
|
|
174
|
+
import createElementNS from "./misc/createElementNS";
|
|
175
|
+
import dispatchEvent from "./misc/dispatchEvent";
|
|
176
|
+
import distinct from "./misc/distinct";
|
|
177
|
+
import emulateAnimationEnd from "./misc/emulateAnimationEnd";
|
|
178
|
+
import emulateTransitionEnd from "./misc/emulateTransitionEnd";
|
|
179
|
+
import Float32ArrayFrom from "./misc/Float32ArrayFrom";
|
|
180
|
+
import Float64ArrayFrom from "./misc/Float64ArrayFrom";
|
|
181
|
+
import focus from "./misc/focus";
|
|
182
|
+
import noop from "./misc/noop";
|
|
183
|
+
import normalizeOptions from "./misc/normalizeOptions";
|
|
184
|
+
import normalizeValue from "./misc/normalizeValue";
|
|
185
|
+
import ObjectAssign from "./misc/ObjectAssign";
|
|
186
|
+
import ObjectEntries from "./misc/ObjectEntries";
|
|
187
|
+
import ObjectHasOwn from "./misc/ObjectHasOwn";
|
|
188
|
+
import ObjectKeys from "./misc/ObjectKeys";
|
|
189
|
+
import ObjectValues from "./misc/ObjectValues";
|
|
190
|
+
import ObjectFromEntries from "./misc/ObjectFromEntries";
|
|
191
|
+
import createCustomEvent from "./misc/createCustomEvent";
|
|
192
|
+
import passiveHandler from "./misc/passiveHandler";
|
|
193
|
+
import reflow from "./misc/reflow";
|
|
194
|
+
import setElementStyle from "./misc/setElementStyle";
|
|
195
|
+
import Timer from "./misc/timer";
|
|
196
|
+
import toLowerCase from "./misc/toLowerCase";
|
|
197
|
+
import toUpperCase from "./misc/toUpperCase";
|
|
198
|
+
import {
|
|
199
|
+
type FocusableElement,
|
|
200
|
+
hasFocusTrap,
|
|
201
|
+
toggleFocusTrap,
|
|
202
|
+
} from "./misc/focusTrap";
|
|
197
203
|
|
|
198
204
|
// get
|
|
199
|
-
import getBoundingClientRect from
|
|
200
|
-
import getDocument from
|
|
201
|
-
import getDocumentBody from
|
|
202
|
-
import getDocumentElement from
|
|
203
|
-
import getDocumentHead from
|
|
204
|
-
import getElementAnimationDuration from
|
|
205
|
-
import getElementAnimationDelay from
|
|
206
|
-
import getElementStyle from
|
|
207
|
-
import getElementTransitionDuration from
|
|
208
|
-
import getElementTransitionDelay from
|
|
209
|
-
import getNodeScroll from
|
|
210
|
-
import getParentNode from
|
|
211
|
-
import getRectRelativeToOffsetParent from
|
|
212
|
-
import getUID from
|
|
213
|
-
import getWindow from
|
|
205
|
+
import getBoundingClientRect from "./get/getBoundingClientRect";
|
|
206
|
+
import getDocument from "./get/getDocument";
|
|
207
|
+
import getDocumentBody from "./get/getDocumentBody";
|
|
208
|
+
import getDocumentElement from "./get/getDocumentElement";
|
|
209
|
+
import getDocumentHead from "./get/getDocumentHead";
|
|
210
|
+
import getElementAnimationDuration from "./get/getElementAnimationDuration";
|
|
211
|
+
import getElementAnimationDelay from "./get/getElementAnimationDelay";
|
|
212
|
+
import getElementStyle from "./get/getElementStyle";
|
|
213
|
+
import getElementTransitionDuration from "./get/getElementTransitionDuration";
|
|
214
|
+
import getElementTransitionDelay from "./get/getElementTransitionDelay";
|
|
215
|
+
import getNodeScroll from "./get/getNodeScroll";
|
|
216
|
+
import getParentNode from "./get/getParentNode";
|
|
217
|
+
import getRectRelativeToOffsetParent from "./get/getRectRelativeToOffsetParent";
|
|
218
|
+
import getUID from "./get/getUID";
|
|
219
|
+
import getWindow from "./get/getWindow";
|
|
214
220
|
|
|
215
221
|
// is
|
|
216
|
-
import isArray from
|
|
217
|
-
import isCanvas from
|
|
218
|
-
import isDocument from
|
|
219
|
-
import isCustomElement from
|
|
220
|
-
import isElement from
|
|
221
|
-
import isElementInScrollRange from
|
|
222
|
-
import isElementInViewport from
|
|
223
|
-
import isElementsArray from
|
|
224
|
-
import isFunction from
|
|
225
|
-
import isObject from
|
|
226
|
-
import isHTMLCollection from
|
|
227
|
-
import isHTMLElement from
|
|
228
|
-
import isHTMLImageElement from
|
|
229
|
-
import isJSON from
|
|
230
|
-
import isMap from
|
|
231
|
-
import isWeakMap from
|
|
232
|
-
import isMedia from
|
|
233
|
-
import isNode from
|
|
234
|
-
import isNodeList from
|
|
235
|
-
import isNumber from
|
|
236
|
-
import isRTL from
|
|
237
|
-
import isScaledElement from
|
|
238
|
-
import isShadowRoot from
|
|
239
|
-
import isString from
|
|
240
|
-
import isSVGElement from
|
|
241
|
-
import isTableElement from
|
|
242
|
-
import isWindow from
|
|
222
|
+
import isArray from "./is/isArray";
|
|
223
|
+
import isCanvas from "./is/isCanvas";
|
|
224
|
+
import isDocument from "./is/isDocument";
|
|
225
|
+
import isCustomElement from "./is/isCustomElement";
|
|
226
|
+
import isElement from "./is/isElement";
|
|
227
|
+
import isElementInScrollRange from "./is/isElementInScrollRange";
|
|
228
|
+
import isElementInViewport from "./is/isElementInViewport";
|
|
229
|
+
import isElementsArray from "./is/isElementsArray";
|
|
230
|
+
import isFunction from "./is/isFunction";
|
|
231
|
+
import isObject from "./is/isObject";
|
|
232
|
+
import isHTMLCollection from "./is/isHTMLCollection";
|
|
233
|
+
import isHTMLElement from "./is/isHTMLElement";
|
|
234
|
+
import isHTMLImageElement from "./is/isHTMLImageElement";
|
|
235
|
+
import isJSON from "./is/isJSON";
|
|
236
|
+
import isMap from "./is/isMap";
|
|
237
|
+
import isWeakMap from "./is/isWeakMap";
|
|
238
|
+
import isMedia from "./is/isMedia";
|
|
239
|
+
import isNode from "./is/isNode";
|
|
240
|
+
import isNodeList from "./is/isNodeList";
|
|
241
|
+
import isNumber from "./is/isNumber";
|
|
242
|
+
import isRTL from "./is/isRTL";
|
|
243
|
+
import isScaledElement from "./is/isScaledElement";
|
|
244
|
+
import isShadowRoot from "./is/isShadowRoot";
|
|
245
|
+
import isString from "./is/isString";
|
|
246
|
+
import isSVGElement from "./is/isSVGElement";
|
|
247
|
+
import isTableElement from "./is/isTableElement";
|
|
248
|
+
import isWindow from "./is/isWindow";
|
|
243
249
|
|
|
244
250
|
// selectors
|
|
245
|
-
import closest from
|
|
246
|
-
import querySelector from
|
|
247
|
-
import getCustomElements from
|
|
248
|
-
import getElementById from
|
|
249
|
-
import querySelectorAll from
|
|
250
|
-
import getElementsByTagName from
|
|
251
|
-
import getElementsByClassName from
|
|
252
|
-
import matches from
|
|
251
|
+
import closest from "./selectors/closest";
|
|
252
|
+
import querySelector from "./selectors/querySelector";
|
|
253
|
+
import getCustomElements from "./selectors/getCustomElements";
|
|
254
|
+
import getElementById from "./selectors/getElementById";
|
|
255
|
+
import querySelectorAll from "./selectors/querySelectorAll";
|
|
256
|
+
import getElementsByTagName from "./selectors/getElementsByTagName";
|
|
257
|
+
import getElementsByClassName from "./selectors/getElementsByClassName";
|
|
258
|
+
import matches from "./selectors/matches";
|
|
253
259
|
|
|
254
|
-
import { version } from
|
|
260
|
+
import { version } from "../package.json";
|
|
255
261
|
|
|
256
262
|
export {
|
|
263
|
+
abortEvent,
|
|
264
|
+
addClass,
|
|
265
|
+
addEventListener,
|
|
266
|
+
animationDelay,
|
|
267
|
+
animationDuration,
|
|
268
|
+
animationEndEvent,
|
|
269
|
+
animationName,
|
|
257
270
|
ariaChecked,
|
|
258
|
-
ariaDescription,
|
|
259
271
|
ariaDescribedBy,
|
|
272
|
+
ariaDescription,
|
|
260
273
|
ariaExpanded,
|
|
261
|
-
ariaHidden,
|
|
262
274
|
ariaHasPopup,
|
|
275
|
+
ariaHidden,
|
|
263
276
|
ariaLabel,
|
|
264
277
|
ariaLabelledBy,
|
|
265
278
|
ariaModal,
|
|
266
279
|
ariaPressed,
|
|
267
280
|
ariaSelected,
|
|
268
|
-
ariaValueMin,
|
|
269
281
|
ariaValueMax,
|
|
282
|
+
ariaValueMin,
|
|
270
283
|
ariaValueNow,
|
|
271
284
|
ariaValueText,
|
|
272
|
-
|
|
273
|
-
|
|
285
|
+
ArrayFrom,
|
|
286
|
+
beforeunloadEvent,
|
|
287
|
+
bezierEasings,
|
|
274
288
|
blurEvent,
|
|
275
|
-
moveEvent,
|
|
276
289
|
changeEvent,
|
|
277
|
-
|
|
278
|
-
dragstartEvent,
|
|
279
|
-
dragenterEvent,
|
|
280
|
-
dragoverEvent,
|
|
281
|
-
dragleaveEvent,
|
|
282
|
-
dragendEvent,
|
|
283
|
-
errorEvent,
|
|
284
|
-
resetEvent,
|
|
285
|
-
resizeEvent,
|
|
286
|
-
scrollEvent,
|
|
287
|
-
submitEvent,
|
|
288
|
-
loadEvent,
|
|
289
|
-
loadstartEvent,
|
|
290
|
-
unloadEvent,
|
|
291
|
-
readystatechangeEvent,
|
|
292
|
-
beforeunloadEvent,
|
|
293
|
-
orientationchangeEvent,
|
|
290
|
+
closest,
|
|
294
291
|
contextmenuEvent,
|
|
292
|
+
createCustomEvent,
|
|
293
|
+
createElement,
|
|
294
|
+
createElementNS,
|
|
295
|
+
Data,
|
|
296
|
+
dispatchEvent,
|
|
297
|
+
distinct,
|
|
298
|
+
documentBody,
|
|
299
|
+
documentElement,
|
|
300
|
+
documentHead,
|
|
295
301
|
DOMContentLoadedEvent,
|
|
296
302
|
DOMMouseScrollEvent,
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
mouseoutEvent,
|
|
311
|
-
mouseoverEvent,
|
|
312
|
-
mousemoveEvent,
|
|
313
|
-
mousewheelEvent,
|
|
314
|
-
mouseSwipeEvents,
|
|
315
|
-
touchEvents,
|
|
316
|
-
touchstartEvent,
|
|
317
|
-
touchmoveEvent,
|
|
318
|
-
touchcancelEvent,
|
|
319
|
-
touchendEvent,
|
|
320
|
-
pointercancelEvent,
|
|
321
|
-
pointerdownEvent,
|
|
322
|
-
pointerleaveEvent,
|
|
323
|
-
pointermoveEvent,
|
|
324
|
-
pointerupEvent,
|
|
325
|
-
focusEvents,
|
|
303
|
+
dragendEvent,
|
|
304
|
+
dragenterEvent,
|
|
305
|
+
dragEvent,
|
|
306
|
+
dragleaveEvent,
|
|
307
|
+
dragoverEvent,
|
|
308
|
+
dragstartEvent,
|
|
309
|
+
emulateAnimationEnd,
|
|
310
|
+
emulateTransitionEnd,
|
|
311
|
+
errorEvent,
|
|
312
|
+
Float32ArrayFrom,
|
|
313
|
+
Float64ArrayFrom,
|
|
314
|
+
focus,
|
|
315
|
+
focusableSelector,
|
|
326
316
|
focusEvent,
|
|
317
|
+
focusEvents,
|
|
327
318
|
focusinEvent,
|
|
328
319
|
focusoutEvent,
|
|
329
320
|
gesturechangeEvent,
|
|
330
321
|
gestureendEvent,
|
|
331
322
|
gesturestartEvent,
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
323
|
+
getAttribute,
|
|
324
|
+
getAttributeNS,
|
|
325
|
+
getBoundingClientRect,
|
|
326
|
+
getCustomElements,
|
|
327
|
+
getDocument,
|
|
328
|
+
getDocumentBody,
|
|
329
|
+
getDocumentElement,
|
|
330
|
+
getDocumentHead,
|
|
331
|
+
getElementAnimationDelay,
|
|
332
|
+
getElementAnimationDuration,
|
|
333
|
+
getElementById,
|
|
334
|
+
getElementsByClassName,
|
|
335
|
+
getElementsByTagName,
|
|
336
|
+
getElementStyle,
|
|
337
|
+
getElementTransitionDelay,
|
|
338
|
+
getElementTransitionDuration,
|
|
339
|
+
getInstance,
|
|
340
|
+
getNodeScroll,
|
|
341
|
+
getParentNode,
|
|
342
|
+
getRectRelativeToOffsetParent,
|
|
343
|
+
getUID,
|
|
344
|
+
getWindow,
|
|
345
|
+
hasAttribute,
|
|
346
|
+
hasAttributeNS,
|
|
347
|
+
hasClass,
|
|
348
|
+
hasFocusTrap,
|
|
342
349
|
isApple,
|
|
350
|
+
isArray,
|
|
351
|
+
isCanvas,
|
|
352
|
+
isCustomElement,
|
|
353
|
+
isDocument,
|
|
354
|
+
isElement,
|
|
355
|
+
isElementInScrollRange,
|
|
356
|
+
isElementInViewport,
|
|
357
|
+
isElementsArray,
|
|
343
358
|
isFirefox,
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
359
|
+
isFunction,
|
|
360
|
+
isHTMLCollection,
|
|
361
|
+
isHTMLElement,
|
|
362
|
+
isHTMLImageElement,
|
|
363
|
+
isJSON,
|
|
364
|
+
isMap,
|
|
365
|
+
isMedia,
|
|
366
|
+
isMobile,
|
|
367
|
+
isNode,
|
|
368
|
+
isNodeList,
|
|
369
|
+
isNumber,
|
|
370
|
+
isObject,
|
|
371
|
+
isRTL,
|
|
372
|
+
isScaledElement,
|
|
373
|
+
isShadowRoot,
|
|
374
|
+
isString,
|
|
375
|
+
isSVGElement,
|
|
376
|
+
isTableElement,
|
|
377
|
+
isWeakMap,
|
|
378
|
+
isWindow,
|
|
356
379
|
keyAlt,
|
|
357
380
|
keyArrowDown,
|
|
358
381
|
keyArrowLeft,
|
|
359
382
|
keyArrowRight,
|
|
360
383
|
keyArrowUp,
|
|
361
384
|
keyBackspace,
|
|
385
|
+
keyboardEventKeys,
|
|
362
386
|
keyCapsLock,
|
|
363
387
|
keyControl,
|
|
364
388
|
keyDelete,
|
|
389
|
+
keydownEvent,
|
|
365
390
|
keyEnter,
|
|
366
|
-
keyNumpadEnter,
|
|
367
391
|
keyEscape,
|
|
368
392
|
keyInsert,
|
|
369
393
|
keyMeta,
|
|
394
|
+
keyNumpadEnter,
|
|
370
395
|
keyPause,
|
|
396
|
+
keypressEvent,
|
|
371
397
|
keyScrollLock,
|
|
372
398
|
keyShift,
|
|
373
399
|
keySpace,
|
|
374
400
|
keyTab,
|
|
401
|
+
keyupEvent,
|
|
402
|
+
loadEvent,
|
|
403
|
+
loadstartEvent,
|
|
404
|
+
matches,
|
|
405
|
+
mouseclickEvent,
|
|
406
|
+
mouseClickEvents,
|
|
407
|
+
mousedblclickEvent,
|
|
408
|
+
mousedownEvent,
|
|
409
|
+
mouseenterEvent,
|
|
410
|
+
mousehoverEvent,
|
|
411
|
+
mouseHoverEvents,
|
|
412
|
+
mouseinEvent,
|
|
413
|
+
mouseleaveEvent,
|
|
414
|
+
mousemoveEvent,
|
|
415
|
+
mouseoutEvent,
|
|
416
|
+
mouseoverEvent,
|
|
417
|
+
mouseSwipeEvents,
|
|
418
|
+
mouseupEvent,
|
|
419
|
+
mousewheelEvent,
|
|
420
|
+
moveEvent,
|
|
421
|
+
nativeEvents,
|
|
422
|
+
noop,
|
|
423
|
+
normalizeOptions,
|
|
424
|
+
normalizeValue,
|
|
425
|
+
ObjectAssign,
|
|
426
|
+
ObjectEntries,
|
|
427
|
+
ObjectFromEntries,
|
|
428
|
+
ObjectHasOwn,
|
|
429
|
+
ObjectKeys,
|
|
430
|
+
ObjectValues,
|
|
431
|
+
off,
|
|
375
432
|
offsetHeight,
|
|
376
433
|
offsetWidth,
|
|
377
|
-
scrollHeight,
|
|
378
|
-
scrollWidth,
|
|
379
|
-
userAgentData,
|
|
380
|
-
userAgent,
|
|
381
|
-
tabindex,
|
|
382
|
-
addClass,
|
|
383
|
-
removeClass,
|
|
384
|
-
hasClass,
|
|
385
434
|
on,
|
|
386
|
-
off,
|
|
387
435
|
one,
|
|
388
|
-
|
|
389
|
-
documentElement,
|
|
390
|
-
documentHead,
|
|
391
|
-
dispatchEvent,
|
|
392
|
-
distinct,
|
|
393
|
-
Data,
|
|
394
|
-
getInstance,
|
|
395
|
-
createElement,
|
|
396
|
-
createElementNS,
|
|
397
|
-
createCustomEvent,
|
|
398
|
-
toUpperCase,
|
|
399
|
-
toLowerCase,
|
|
400
|
-
Timer,
|
|
401
|
-
emulateAnimationEnd,
|
|
402
|
-
emulateTransitionEnd,
|
|
403
|
-
isElementInScrollRange,
|
|
404
|
-
isElementInViewport,
|
|
436
|
+
orientationchangeEvent,
|
|
405
437
|
passiveHandler,
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
getParentNode,
|
|
412
|
-
getRectRelativeToOffsetParent,
|
|
413
|
-
getWindow,
|
|
414
|
-
isArray,
|
|
415
|
-
isCanvas,
|
|
416
|
-
isString,
|
|
417
|
-
isCustomElement,
|
|
418
|
-
isElement,
|
|
419
|
-
isJSON,
|
|
420
|
-
isMap,
|
|
421
|
-
isWeakMap,
|
|
422
|
-
isNode,
|
|
423
|
-
isNumber,
|
|
424
|
-
isHTMLElement,
|
|
425
|
-
isHTMLImageElement,
|
|
426
|
-
isSVGElement,
|
|
427
|
-
isNodeList,
|
|
428
|
-
isHTMLCollection,
|
|
429
|
-
isScaledElement,
|
|
430
|
-
isTableElement,
|
|
431
|
-
isShadowRoot,
|
|
432
|
-
isDocument,
|
|
433
|
-
isElementsArray,
|
|
434
|
-
isFunction,
|
|
435
|
-
isObject,
|
|
436
|
-
isWindow,
|
|
437
|
-
isMedia,
|
|
438
|
-
isRTL,
|
|
439
|
-
closest,
|
|
438
|
+
pointercancelEvent,
|
|
439
|
+
pointerdownEvent,
|
|
440
|
+
pointerleaveEvent,
|
|
441
|
+
pointermoveEvent,
|
|
442
|
+
pointerupEvent,
|
|
440
443
|
querySelector,
|
|
441
|
-
getCustomElements,
|
|
442
|
-
getElementById,
|
|
443
444
|
querySelectorAll,
|
|
444
|
-
|
|
445
|
-
getElementsByTagName,
|
|
446
|
-
matches,
|
|
447
|
-
normalizeValue,
|
|
448
|
-
normalizeOptions,
|
|
445
|
+
readystatechangeEvent,
|
|
449
446
|
reflow,
|
|
450
|
-
noop,
|
|
451
|
-
focus,
|
|
452
|
-
getUID,
|
|
453
|
-
ArrayFrom,
|
|
454
|
-
Float32ArrayFrom,
|
|
455
|
-
Float64ArrayFrom,
|
|
456
|
-
ObjectHasOwn,
|
|
457
|
-
ObjectAssign,
|
|
458
|
-
ObjectEntries,
|
|
459
|
-
ObjectKeys,
|
|
460
|
-
ObjectValues,
|
|
461
|
-
ObjectFromEntries,
|
|
462
|
-
getBoundingClientRect,
|
|
463
|
-
getDocument,
|
|
464
|
-
getDocumentBody,
|
|
465
|
-
getDocumentElement,
|
|
466
|
-
getDocumentHead,
|
|
467
|
-
getElementStyle,
|
|
468
|
-
setElementStyle,
|
|
469
|
-
hasAttribute,
|
|
470
|
-
hasAttributeNS,
|
|
471
|
-
getAttribute,
|
|
472
|
-
getAttributeNS,
|
|
473
|
-
setAttribute,
|
|
474
|
-
setAttributeNS,
|
|
475
447
|
removeAttribute,
|
|
476
448
|
removeAttributeNS,
|
|
449
|
+
removeClass,
|
|
450
|
+
removeEventListener,
|
|
451
|
+
resetEvent,
|
|
452
|
+
resizeEvent,
|
|
453
|
+
scrollEvent,
|
|
454
|
+
scrollHeight,
|
|
455
|
+
scrollWidth,
|
|
456
|
+
selectendEvent,
|
|
457
|
+
selectEvent,
|
|
458
|
+
selectstartEvent,
|
|
459
|
+
setAttribute,
|
|
460
|
+
setAttributeNS,
|
|
461
|
+
setElementStyle,
|
|
462
|
+
submitEvent,
|
|
463
|
+
support3DTransform,
|
|
464
|
+
supportAnimation,
|
|
465
|
+
supportPassive,
|
|
466
|
+
supportTouch,
|
|
467
|
+
supportTransform,
|
|
468
|
+
supportTransition,
|
|
469
|
+
tabindex,
|
|
470
|
+
Timer,
|
|
471
|
+
toggleFocusTrap,
|
|
472
|
+
toLowerCase,
|
|
473
|
+
touchcancelEvent,
|
|
474
|
+
touchendEvent,
|
|
475
|
+
touchEvents,
|
|
476
|
+
touchmoveEvent,
|
|
477
|
+
touchstartEvent,
|
|
478
|
+
toUpperCase,
|
|
479
|
+
transitionDelay,
|
|
480
|
+
transitionDuration,
|
|
481
|
+
transitionEndEvent,
|
|
482
|
+
transitionProperty,
|
|
483
|
+
unloadEvent,
|
|
484
|
+
userAgent,
|
|
485
|
+
userAgentData,
|
|
477
486
|
version,
|
|
478
487
|
};
|
|
479
488
|
|
|
480
|
-
export * from
|
|
481
|
-
export * from
|
|
489
|
+
export * from "./interface/navigatorUA.d";
|
|
490
|
+
export * from "./interface/offsetRect.d";
|
|
482
491
|
|
|
483
|
-
export type {
|
|
492
|
+
export type { FocusableElement };
|
|
493
|
+
export type { OriginalEvent } from "./interface/originalEvent.d";
|
|
484
494
|
|
|
485
|
-
export type { BoundingClientRect } from
|
|
495
|
+
export type { BoundingClientRect } from "./interface/boundingClientRect.d";
|
|
486
496
|
|
|
487
|
-
export type { CustomElement } from
|
|
497
|
+
export type { CustomElement } from "./interface/customElement.d";
|
|
488
498
|
|
|
489
|
-
export type { CSS4Declaration } from
|
|
499
|
+
export type { CSS4Declaration } from "./interface/css4Declaration.d";
|
|
490
500
|
|
|
491
501
|
export type {
|
|
492
|
-
NativeEvent,
|
|
493
|
-
ClipboardEvent,
|
|
494
|
-
CompositionEvent,
|
|
495
|
-
DragEvent,
|
|
496
|
-
FocusEvent,
|
|
497
|
-
FormEvent,
|
|
498
|
-
ChangeEvent,
|
|
499
|
-
KeyboardEvent,
|
|
500
|
-
MouseEvent,
|
|
501
|
-
TouchEvent,
|
|
502
|
-
PointerEvent,
|
|
503
|
-
UIEvent,
|
|
504
|
-
WheelEvent,
|
|
505
502
|
AnimationEvent,
|
|
506
|
-
|
|
507
|
-
|
|
503
|
+
AnimationEventHandler,
|
|
504
|
+
ChangeEvent,
|
|
505
|
+
ChangeEventHandler,
|
|
506
|
+
ClipboardEvent,
|
|
508
507
|
ClipboardEventHandler,
|
|
508
|
+
CompositionEvent,
|
|
509
509
|
CompositionEventHandler,
|
|
510
|
+
DragEvent,
|
|
510
511
|
DragEventHandler,
|
|
512
|
+
FocusEvent,
|
|
511
513
|
FocusEventHandler,
|
|
514
|
+
FormEvent,
|
|
512
515
|
FormEventHandler,
|
|
513
|
-
|
|
516
|
+
KeyboardEvent,
|
|
514
517
|
KeyboardEventHandler,
|
|
518
|
+
MouseEvent,
|
|
515
519
|
MouseEventHandler,
|
|
516
|
-
|
|
520
|
+
NativeEvent,
|
|
521
|
+
NativeEventHandler,
|
|
522
|
+
PointerEvent,
|
|
517
523
|
PointerEventHandler,
|
|
524
|
+
PossibleEventTarget,
|
|
525
|
+
TouchEvent,
|
|
526
|
+
TouchEventHandler,
|
|
527
|
+
TransitionEvent,
|
|
528
|
+
TransitionEventHandler,
|
|
529
|
+
UIEvent,
|
|
518
530
|
UIEventHandler,
|
|
531
|
+
WheelEvent,
|
|
519
532
|
WheelEventHandler,
|
|
520
|
-
|
|
521
|
-
TransitionEventHandler,
|
|
522
|
-
PossibleEventTarget,
|
|
523
|
-
} from './interface/event.d';
|
|
533
|
+
} from "./interface/event.d";
|