@thednp/shorty 1.0.1 → 2.0.0-alpha1
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 +195 -199
- package/dist/index.cjs.js +1564 -0
- package/dist/index.cjs.js.map +7 -0
- package/dist/index.cjs.min.js +3 -0
- package/dist/index.cjs.min.js.map +7 -0
- package/dist/index.js +1542 -0
- package/dist/index.js.map +7 -0
- package/dist/index.min.js +3 -0
- package/dist/index.min.js.map +7 -0
- package/package.json +32 -24
- package/src/attr/getAttribute.js +3 -9
- package/src/attr/getAttribute.js.map +1 -0
- package/src/attr/getAttribute.ts +10 -0
- package/src/attr/getAttributeNS.js +3 -10
- package/src/attr/getAttributeNS.js.map +1 -0
- package/src/attr/getAttributeNS.ts +11 -0
- package/src/attr/hasAttribute.js +3 -9
- package/src/attr/hasAttribute.js.map +1 -0
- package/src/attr/hasAttribute.ts +9 -0
- package/src/attr/hasAttributeNS.js +3 -10
- package/src/attr/hasAttributeNS.js.map +1 -0
- package/src/attr/hasAttributeNS.ts +11 -0
- package/src/attr/removeAttribute.js +3 -9
- package/src/attr/removeAttribute.js.map +1 -0
- package/src/attr/removeAttribute.ts +8 -0
- package/src/attr/removeAttributeNS.js +3 -10
- package/src/attr/removeAttributeNS.js.map +1 -0
- package/src/attr/removeAttributeNS.ts +10 -0
- package/src/attr/setAttribute.js +3 -10
- package/src/attr/setAttribute.js.map +1 -0
- package/src/attr/setAttribute.ts +10 -0
- package/src/attr/setAttributeNS.js +3 -11
- package/src/attr/setAttributeNS.js.map +1 -0
- package/src/attr/setAttributeNS.ts +11 -0
- package/src/blocks/documentBody.js +3 -5
- package/src/blocks/documentBody.js.map +1 -0
- package/src/blocks/documentBody.ts +5 -0
- package/src/blocks/documentElement.js +3 -5
- package/src/blocks/documentElement.js.map +1 -0
- package/src/blocks/documentElement.ts +5 -0
- package/src/blocks/documentHead.js +3 -5
- package/src/blocks/documentHead.js.map +1 -0
- package/src/blocks/documentHead.ts +5 -0
- package/src/boolean/isApple.js +8 -13
- package/src/boolean/isApple.js.map +1 -0
- package/src/boolean/isApple.ts +14 -0
- package/src/boolean/isFirefox.js +4 -9
- package/src/boolean/isFirefox.js.map +1 -0
- package/src/boolean/isFirefox.ts +9 -0
- package/src/boolean/isMobile.js +13 -20
- package/src/boolean/isMobile.js.map +1 -0
- package/src/boolean/isMobile.ts +19 -0
- package/src/boolean/support3DTransform.js +4 -8
- package/src/boolean/support3DTransform.js.map +1 -0
- package/src/boolean/support3DTransform.ts +10 -0
- package/src/boolean/supportAnimation.js +4 -8
- package/src/boolean/supportAnimation.js.map +1 -0
- package/src/boolean/supportAnimation.ts +8 -0
- package/src/boolean/supportPassive.js +19 -28
- package/src/boolean/supportPassive.js.map +1 -0
- package/src/boolean/supportPassive.ts +28 -0
- package/src/boolean/supportTouch.js +3 -6
- package/src/boolean/supportTouch.js.map +1 -0
- package/src/boolean/supportTouch.ts +7 -0
- package/src/boolean/supportTransform.js +4 -8
- package/src/boolean/supportTransform.js.map +1 -0
- package/src/boolean/supportTransform.ts +8 -0
- package/src/boolean/supportTransition.js +4 -8
- package/src/boolean/supportTransition.js.map +1 -0
- package/src/boolean/supportTransition.ts +8 -0
- package/src/class/addClass.js +5 -10
- package/src/class/addClass.js.map +1 -0
- package/src/class/addClass.ts +11 -0
- package/src/class/hasClass.js +5 -10
- package/src/class/hasClass.js.map +1 -0
- package/src/class/hasClass.ts +11 -0
- package/src/class/removeClass.js +5 -10
- package/src/class/removeClass.js.map +1 -0
- package/src/class/removeClass.ts +11 -0
- package/src/event/off.js +5 -13
- package/src/event/off.js.map +1 -0
- package/src/event/off.ts +12 -0
- package/src/event/on.js +5 -13
- package/src/event/on.js.map +1 -0
- package/src/event/on.ts +12 -0
- package/src/event/one.js +13 -26
- package/src/event/one.js.map +1 -0
- package/src/event/one.ts +25 -0
- package/src/get/getBoundingClientRect.js +23 -33
- package/src/get/getBoundingClientRect.js.map +1 -0
- package/src/get/getBoundingClientRect.ts +38 -0
- package/src/get/getDocument.js +14 -11
- package/src/get/getDocument.js.map +1 -0
- package/src/get/getDocument.ts +23 -0
- package/src/get/getDocumentBody.js +6 -10
- package/src/get/getDocumentBody.js.map +1 -0
- package/src/get/getDocumentBody.ts +13 -0
- package/src/get/getDocumentElement.js +6 -11
- package/src/get/getDocumentElement.js.map +1 -0
- package/src/get/getDocumentElement.ts +13 -0
- package/src/get/getDocumentHead.js +6 -10
- package/src/get/getDocumentHead.js.map +1 -0
- package/src/get/getDocumentHead.ts +12 -0
- package/src/get/getElementAnimationDelay.js +12 -21
- package/src/get/getElementAnimationDelay.js.map +1 -0
- package/src/get/getElementAnimationDelay.ts +23 -0
- package/src/get/getElementAnimationDuration.js +12 -20
- package/src/get/getElementAnimationDuration.js.map +1 -0
- package/src/get/getElementAnimationDuration.ts +22 -0
- package/src/get/getElementStyle.js +8 -18
- package/src/get/getElementStyle.js.map +1 -0
- package/src/get/getElementStyle.ts +22 -0
- package/src/get/getElementTransitionDelay.js +12 -21
- package/src/get/getElementTransitionDelay.js.map +1 -0
- package/src/get/getElementTransitionDelay.ts +22 -0
- package/src/get/getElementTransitionDuration.js +12 -20
- package/src/get/getElementTransitionDuration.js.map +1 -0
- package/src/get/getElementTransitionDuration.ts +22 -0
- package/src/get/getNodeScroll.js +9 -16
- package/src/get/getNodeScroll.js.map +1 -0
- package/src/get/getNodeScroll.ts +20 -0
- package/src/get/getParentNode.js +13 -24
- package/src/get/getParentNode.js.map +1 -0
- package/src/get/getParentNode.ts +25 -0
- package/src/get/getRectRelativeToOffsetParent.js +21 -30
- package/src/get/getRectRelativeToOffsetParent.js.map +1 -0
- package/src/get/getRectRelativeToOffsetParent.ts +39 -0
- package/src/get/getUID.js +31 -34
- package/src/get/getUID.js.map +1 -0
- package/src/get/getUID.ts +36 -0
- package/src/get/getWindow.js +13 -20
- package/src/get/getWindow.js.map +1 -0
- package/src/get/getWindow.ts +22 -0
- package/src/index.js +411 -471
- package/src/index.js.map +1 -0
- package/src/index.ts +442 -0
- package/src/interface/boundingClientRect.js +2 -0
- package/src/interface/boundingClientRect.js.map +1 -0
- package/src/interface/boundingClientRect.ts +10 -0
- package/src/interface/navigatorUA.js +2 -0
- package/src/interface/navigatorUA.js.map +1 -0
- package/src/interface/navigatorUA.ts +15 -0
- package/src/interface/offsetRect.js +2 -0
- package/src/interface/offsetRect.js.map +1 -0
- package/src/interface/offsetRect.ts +6 -0
- package/src/interface/originalEvent.js +2 -0
- package/src/interface/originalEvent.js.map +1 -0
- package/src/interface/originalEvent.ts +3 -0
- package/src/is/isArray.js +3 -9
- package/src/is/isArray.js.map +1 -0
- package/src/is/isArray.ts +9 -0
- package/src/is/isCustomElement.js +3 -8
- package/src/is/isCustomElement.js.map +1 -0
- package/src/is/isCustomElement.ts +10 -0
- package/src/is/isDocument.js +3 -9
- package/src/is/isDocument.js.map +1 -0
- package/src/is/isDocument.ts +10 -0
- package/src/is/isElement.js +3 -9
- package/src/is/isElement.js.map +1 -0
- package/src/is/isElement.ts +22 -0
- package/src/is/isElementInScrollRange.js +12 -18
- package/src/is/isElementInScrollRange.js.map +1 -0
- package/src/is/isElementInScrollRange.ts +20 -0
- package/src/is/isElementInViewport.js +12 -22
- package/src/is/isElementInViewport.js.map +1 -0
- package/src/is/isElementInViewport.ts +20 -0
- package/src/is/isElementsArray.js +5 -10
- package/src/is/isElementsArray.js.map +1 -0
- package/src/is/isElementsArray.ts +13 -0
- package/src/is/isFunction.js +3 -9
- package/src/is/isFunction.js.map +1 -0
- package/src/is/isFunction.ts +10 -0
- package/src/is/isHTMLCollection.js +3 -8
- package/src/is/isHTMLCollection.js.map +1 -0
- package/src/is/isHTMLCollection.ts +10 -0
- package/src/is/isHTMLElement.js +3 -8
- package/src/is/isHTMLElement.js.map +1 -0
- package/src/is/isHTMLElement.ts +10 -0
- package/src/is/isHTMLImageElement.js +3 -8
- package/src/is/isHTMLImageElement.js.map +1 -0
- package/src/is/isHTMLImageElement.ts +9 -0
- package/src/is/isMedia.js +6 -12
- package/src/is/isMedia.js.map +1 -0
- package/src/is/isMedia.ts +16 -0
- package/src/is/isNode.js +3 -8
- package/src/is/isNode.js.map +1 -0
- package/src/is/isNode.ts +11 -0
- package/src/is/isNodeList.js +3 -8
- package/src/is/isNodeList.js.map +1 -0
- package/src/is/isNodeList.ts +11 -0
- package/src/is/isNumber.js +3 -0
- package/src/is/isNumber.js.map +1 -0
- package/src/is/isNumber.ts +9 -0
- package/src/is/isObject.js +3 -0
- package/src/is/isObject.js.map +1 -0
- package/src/is/isObject.ts +9 -0
- package/src/is/isRTL.js +4 -9
- package/src/is/isRTL.js.map +1 -0
- package/src/is/isRTL.ts +10 -0
- package/src/is/isSVGElement.js +3 -8
- package/src/is/isSVGElement.js.map +1 -0
- package/src/is/isSVGElement.ts +11 -0
- package/src/is/isScaledElement.js +10 -15
- package/src/is/isScaledElement.js.map +1 -0
- package/src/is/isScaledElement.ts +16 -0
- package/src/is/isShadowRoot.js +3 -12
- package/src/is/isShadowRoot.js.map +1 -0
- package/src/is/isShadowRoot.ts +10 -0
- package/src/is/isString.js +3 -8
- package/src/is/isString.js.map +1 -0
- package/src/is/isString.ts +9 -0
- package/src/is/isTableElement.js +3 -7
- package/src/is/isTableElement.js.map +1 -0
- package/src/is/isTableElement.ts +12 -0
- package/src/is/isWindow.js +3 -9
- package/src/is/isWindow.js.map +1 -0
- package/src/is/isWindow.ts +10 -0
- package/src/misc/ArrayFrom.js +3 -8
- package/src/misc/ArrayFrom.js.map +1 -0
- package/src/misc/ArrayFrom.ts +9 -0
- package/src/misc/Float32ArrayFrom.js +3 -7
- package/src/misc/Float32ArrayFrom.js.map +1 -0
- package/src/misc/Float32ArrayFrom.ts +9 -0
- package/src/misc/Float64ArrayFrom.js +3 -7
- package/src/misc/Float64ArrayFrom.js.map +1 -0
- package/src/misc/Float64ArrayFrom.ts +9 -0
- package/src/misc/ObjectAssign.js +3 -7
- package/src/misc/ObjectAssign.js.map +1 -0
- package/src/misc/ObjectAssign.ts +8 -0
- package/src/misc/ObjectEntries.js +3 -0
- package/src/misc/ObjectEntries.js.map +1 -0
- package/src/misc/ObjectEntries.ts +8 -0
- package/src/misc/ObjectKeys.js +3 -7
- package/src/misc/ObjectKeys.js.map +1 -0
- package/src/misc/ObjectKeys.ts +8 -0
- package/src/misc/ObjectValues.js +3 -7
- package/src/misc/ObjectValues.js.map +1 -0
- package/src/misc/ObjectValues.ts +8 -0
- package/src/misc/OriginalEvent.js +14 -18
- package/src/misc/OriginalEvent.js.map +1 -0
- package/src/misc/OriginalEvent.ts +24 -0
- package/src/misc/createElement.js +22 -25
- package/src/misc/createElement.js.map +1 -0
- package/src/misc/createElement.ts +36 -0
- package/src/misc/createElementNS.js +22 -26
- package/src/misc/createElementNS.js.map +1 -0
- package/src/misc/createElementNS.ts +41 -0
- package/src/misc/data.js +36 -78
- package/src/misc/data.js.map +1 -0
- package/src/misc/data.ts +79 -0
- package/src/misc/dispatchEvent.js +3 -8
- package/src/misc/dispatchEvent.js.map +1 -0
- package/src/misc/dispatchEvent.ts +9 -0
- package/src/misc/distinct.js +3 -10
- package/src/misc/distinct.js.map +1 -0
- package/src/misc/distinct.ts +17 -0
- package/src/misc/emulateAnimationEnd.js +29 -37
- package/src/misc/emulateAnimationEnd.js.map +1 -0
- package/src/misc/{emulateAnimationEndLegacy.js → emulateAnimationEnd.ts} +15 -12
- package/src/misc/emulateTransitionEnd.js +29 -37
- package/src/misc/emulateTransitionEnd.js.map +1 -0
- package/src/misc/{emulateTransitionEndLegacy.js → emulateTransitionEnd.ts} +15 -12
- package/src/misc/focus.js +3 -8
- package/src/misc/focus.js.map +1 -0
- package/src/misc/focus.ts +8 -0
- package/src/misc/noop.js +3 -3
- package/src/misc/noop.js.map +1 -0
- package/src/misc/noop.ts +4 -0
- package/src/misc/normalizeOptions.js +31 -49
- package/src/misc/normalizeOptions.js.map +1 -0
- package/src/misc/normalizeOptions.ts +51 -0
- package/src/misc/normalizeValue.js +17 -32
- package/src/misc/normalizeValue.js.map +1 -0
- package/src/misc/normalizeValue.ts +40 -0
- package/src/misc/passiveHandler.js +3 -7
- package/src/misc/passiveHandler.js.map +1 -0
- package/src/misc/passiveHandler.ts +6 -0
- package/src/misc/reflow.js +3 -9
- package/src/misc/reflow.js.map +1 -0
- package/src/misc/reflow.ts +9 -0
- package/src/misc/setElementStyle.js +16 -10
- package/src/misc/setElementStyle.js.map +1 -0
- package/src/misc/setElementStyle.ts +20 -0
- package/src/misc/timer.js +47 -78
- package/src/misc/timer.js.map +1 -0
- package/src/misc/timer.ts +74 -0
- package/src/misc/toLowerCase.js +3 -8
- package/src/misc/toLowerCase.js.map +1 -0
- package/src/misc/toLowerCase.ts +9 -0
- package/src/misc/toUpperCase.js +3 -8
- package/src/misc/toUpperCase.js.map +1 -0
- package/src/misc/toUpperCase.ts +9 -0
- package/src/selectors/closest.js +8 -16
- package/src/selectors/closest.js.map +1 -0
- package/src/selectors/closest.ts +20 -0
- package/src/selectors/getCustomElements.js +8 -17
- package/src/selectors/getCustomElements.js.map +1 -0
- package/src/selectors/getCustomElements.ts +18 -0
- package/src/selectors/getElementById.js +6 -11
- package/src/selectors/getElementById.js.map +1 -0
- package/src/selectors/getElementById.ts +16 -0
- package/src/selectors/getElementsByClassName.js +8 -14
- package/src/selectors/getElementsByClassName.js.map +1 -0
- package/src/selectors/getElementsByClassName.ts +22 -0
- package/src/selectors/getElementsByTagName.js +8 -14
- package/src/selectors/getElementsByTagName.js.map +1 -0
- package/src/selectors/getElementsByTagName.ts +20 -0
- package/src/selectors/matches.js +3 -10
- package/src/selectors/matches.js.map +1 -0
- package/src/selectors/matches.ts +10 -0
- package/src/selectors/querySelector.js +11 -17
- package/src/selectors/querySelector.js.map +1 -0
- package/src/selectors/querySelector.ts +21 -0
- package/src/selectors/querySelectorAll.js +8 -13
- package/src/selectors/querySelectorAll.js.map +1 -0
- package/src/selectors/querySelectorAll.ts +16 -0
- package/src/strings/DOMContentLoadedEvent.js +3 -6
- package/src/strings/DOMContentLoadedEvent.js.map +1 -0
- package/src/strings/DOMContentLoadedEvent.ts +5 -0
- package/src/strings/DOMMouseScrollEvent.js +3 -6
- package/src/strings/DOMMouseScrollEvent.js.map +1 -0
- package/src/strings/DOMMouseScrollEvent.ts +5 -0
- package/src/strings/abortEvent.js +3 -6
- package/src/strings/abortEvent.js.map +1 -0
- package/src/strings/abortEvent.ts +5 -0
- package/src/strings/addEventListener.js +3 -6
- package/src/strings/addEventListener.js.map +1 -0
- package/src/strings/addEventListener.ts +5 -0
- package/src/strings/animationDelay.js +3 -6
- package/src/strings/animationDelay.js.map +1 -0
- package/src/strings/animationDelay.ts +5 -0
- package/src/strings/animationDuration.js +3 -6
- package/src/strings/animationDuration.js.map +1 -0
- package/src/strings/animationDuration.ts +5 -0
- package/src/strings/animationEndEvent.js +3 -6
- package/src/strings/animationEndEvent.js.map +1 -0
- package/src/strings/animationEndEvent.ts +5 -0
- package/src/strings/animationName.js +3 -6
- package/src/strings/animationName.js.map +1 -0
- package/src/strings/animationName.ts +5 -0
- package/src/strings/ariaChecked.js +3 -6
- package/src/strings/ariaChecked.js.map +1 -0
- package/src/strings/ariaChecked.ts +5 -0
- package/src/strings/ariaDescribedBy.js +3 -6
- package/src/strings/ariaDescribedBy.js.map +1 -0
- package/src/strings/ariaDescribedBy.ts +5 -0
- package/src/strings/ariaDescription.js +3 -6
- package/src/strings/ariaDescription.js.map +1 -0
- package/src/strings/ariaDescription.ts +5 -0
- package/src/strings/ariaExpanded.js +3 -6
- package/src/strings/ariaExpanded.js.map +1 -0
- package/src/strings/ariaExpanded.ts +5 -0
- package/src/strings/ariaHasPopup.js +3 -6
- package/src/strings/ariaHasPopup.js.map +1 -0
- package/src/strings/ariaHasPopup.ts +5 -0
- package/src/strings/ariaHidden.js +3 -6
- package/src/strings/ariaHidden.js.map +1 -0
- package/src/strings/ariaHidden.ts +5 -0
- package/src/strings/ariaLabel.js +3 -6
- package/src/strings/ariaLabel.js.map +1 -0
- package/src/strings/ariaLabel.ts +5 -0
- package/src/strings/ariaLabelledBy.js +3 -6
- package/src/strings/ariaLabelledBy.js.map +1 -0
- package/src/strings/ariaLabelledBy.ts +5 -0
- package/src/strings/ariaModal.js +3 -6
- package/src/strings/ariaModal.js.map +1 -0
- package/src/strings/ariaModal.ts +5 -0
- package/src/strings/ariaPressed.js +3 -6
- package/src/strings/ariaPressed.js.map +1 -0
- package/src/strings/ariaPressed.ts +5 -0
- package/src/strings/ariaSelected.js +3 -6
- package/src/strings/ariaSelected.js.map +1 -0
- package/src/strings/ariaSelected.ts +5 -0
- package/src/strings/ariaValueMax.js +3 -6
- package/src/strings/ariaValueMax.js.map +1 -0
- package/src/strings/ariaValueMax.ts +5 -0
- package/src/strings/ariaValueMin.js +3 -6
- package/src/strings/ariaValueMin.js.map +1 -0
- package/src/strings/ariaValueMin.ts +5 -0
- package/src/strings/ariaValueNow.js +3 -6
- package/src/strings/ariaValueNow.js.map +1 -0
- package/src/strings/ariaValueNow.ts +5 -0
- package/src/strings/ariaValueText.js +3 -6
- package/src/strings/ariaValueText.js.map +1 -0
- package/src/strings/ariaValueText.ts +5 -0
- package/src/strings/beforeunloadEvent.js +3 -6
- package/src/strings/beforeunloadEvent.js.map +1 -0
- package/src/strings/beforeunloadEvent.ts +5 -0
- package/src/strings/bezierEasings.js +29 -33
- package/src/strings/bezierEasings.js.map +1 -0
- package/src/strings/bezierEasings.ts +32 -0
- package/src/strings/blurEvent.js +3 -6
- package/src/strings/blurEvent.js.map +1 -0
- package/src/strings/blurEvent.ts +5 -0
- package/src/strings/changeEvent.js +3 -6
- package/src/strings/changeEvent.js.map +1 -0
- package/src/strings/changeEvent.ts +5 -0
- package/src/strings/contextmenuEvent.js +3 -6
- package/src/strings/contextmenuEvent.js.map +1 -0
- package/src/strings/contextmenuEvent.ts +5 -0
- package/src/strings/errorEvent.js +3 -6
- package/src/strings/errorEvent.js.map +1 -0
- package/src/strings/errorEvent.ts +5 -0
- package/src/strings/focusEvent.js +3 -6
- package/src/strings/focusEvent.js.map +1 -0
- package/src/strings/focusEvent.ts +5 -0
- package/src/strings/focusEvents.js +3 -6
- package/src/strings/focusEvents.js.map +1 -0
- package/src/strings/focusEvents.ts +5 -0
- package/src/strings/focusinEvent.js +3 -6
- package/src/strings/focusinEvent.js.map +1 -0
- package/src/strings/focusinEvent.ts +5 -0
- package/src/strings/focusoutEvent.js +3 -6
- package/src/strings/focusoutEvent.js.map +1 -0
- package/src/strings/focusoutEvent.ts +5 -0
- package/src/strings/gesturechangeEvent.js +3 -6
- package/src/strings/gesturechangeEvent.js.map +1 -0
- package/src/strings/gesturechangeEvent.ts +5 -0
- package/src/strings/gestureendEvent.js +3 -6
- package/src/strings/gestureendEvent.js.map +1 -0
- package/src/strings/gestureendEvent.ts +5 -0
- package/src/strings/gesturestartEvent.js +3 -6
- package/src/strings/gesturestartEvent.js.map +1 -0
- package/src/strings/gesturestartEvent.ts +5 -0
- package/src/strings/keyAlt.js +3 -7
- package/src/strings/keyAlt.js.map +1 -0
- package/src/strings/keyAlt.ts +7 -0
- package/src/strings/keyArrowDown.js +3 -7
- package/src/strings/keyArrowDown.js.map +1 -0
- package/src/strings/keyArrowDown.ts +7 -0
- package/src/strings/keyArrowLeft.js +3 -7
- package/src/strings/keyArrowLeft.js.map +1 -0
- package/src/strings/keyArrowLeft.ts +7 -0
- package/src/strings/keyArrowRight.js +3 -7
- package/src/strings/keyArrowRight.js.map +1 -0
- package/src/strings/keyArrowRight.ts +7 -0
- package/src/strings/keyArrowUp.js +3 -7
- package/src/strings/keyArrowUp.js.map +1 -0
- package/src/strings/keyArrowUp.ts +7 -0
- package/src/strings/keyBackspace.js +3 -7
- package/src/strings/keyBackspace.js.map +1 -0
- package/src/strings/keyBackspace.ts +7 -0
- package/src/strings/keyCapsLock.js +3 -7
- package/src/strings/keyCapsLock.js.map +1 -0
- package/src/strings/keyCapsLock.ts +7 -0
- package/src/strings/keyControl.js +3 -7
- package/src/strings/keyControl.js.map +1 -0
- package/src/strings/keyControl.ts +7 -0
- package/src/strings/keyDelete.js +3 -7
- package/src/strings/keyDelete.js.map +1 -0
- package/src/strings/keyDelete.ts +7 -0
- package/src/strings/keyEnter.js +3 -7
- package/src/strings/keyEnter.js.map +1 -0
- package/src/strings/keyEnter.ts +7 -0
- package/src/strings/keyEscape.js +3 -7
- package/src/strings/keyEscape.js.map +1 -0
- package/src/strings/keyEscape.ts +7 -0
- package/src/strings/keyInsert.js +3 -7
- package/src/strings/keyInsert.js.map +1 -0
- package/src/strings/keyInsert.ts +7 -0
- package/src/strings/keyMeta.js +3 -7
- package/src/strings/keyMeta.js.map +1 -0
- package/src/strings/keyMeta.ts +7 -0
- package/src/strings/keyPause.js +3 -7
- package/src/strings/keyPause.js.map +1 -0
- package/src/strings/keyPause.ts +7 -0
- package/src/strings/keyScrollLock.js +3 -7
- package/src/strings/keyScrollLock.js.map +1 -0
- package/src/strings/keyScrollLock.ts +7 -0
- package/src/strings/keyShift.js +3 -7
- package/src/strings/keyShift.js.map +1 -0
- package/src/strings/keyShift.ts +7 -0
- package/src/strings/keySpace.js +3 -7
- package/src/strings/keySpace.js.map +1 -0
- package/src/strings/keySpace.ts +7 -0
- package/src/strings/keyTab.js +3 -7
- package/src/strings/keyTab.js.map +1 -0
- package/src/strings/keyTab.ts +7 -0
- package/src/strings/keyboardEventKeys.js +23 -27
- package/src/strings/keyboardEventKeys.js.map +1 -0
- package/src/strings/keyboardEventKeys.ts +26 -0
- package/src/strings/keydownEvent.js +3 -6
- package/src/strings/keydownEvent.js.map +1 -0
- package/src/strings/keydownEvent.ts +5 -0
- package/src/strings/keypressEvent.js +3 -6
- package/src/strings/keypressEvent.js.map +1 -0
- package/src/strings/keypressEvent.ts +5 -0
- package/src/strings/keyupEvent.js +3 -6
- package/src/strings/keyupEvent.js.map +1 -0
- package/src/strings/keyupEvent.ts +5 -0
- package/src/strings/loadEvent.js +3 -6
- package/src/strings/loadEvent.js.map +1 -0
- package/src/strings/loadEvent.ts +5 -0
- package/src/strings/loadstartEvent.js +3 -6
- package/src/strings/loadstartEvent.js.map +1 -0
- package/src/strings/loadstartEvent.ts +5 -0
- package/src/strings/mouseClickEvents.js +3 -6
- package/src/strings/mouseClickEvents.js.map +1 -0
- package/src/strings/mouseClickEvents.ts +5 -0
- package/src/strings/mouseHoverEvents.js +5 -6
- package/src/strings/mouseHoverEvents.js.map +1 -0
- package/src/strings/mouseHoverEvents.ts +8 -0
- package/src/strings/mouseSwipeEvents.js +8 -8
- package/src/strings/mouseSwipeEvents.js.map +1 -0
- package/src/strings/mouseSwipeEvents.ts +10 -0
- package/src/strings/mouseclickEvent.js +3 -6
- package/src/strings/mouseclickEvent.js.map +1 -0
- package/src/strings/mouseclickEvent.ts +5 -0
- package/src/strings/mousedblclickEvent.js +3 -6
- package/src/strings/mousedblclickEvent.js.map +1 -0
- package/src/strings/mousedblclickEvent.ts +5 -0
- package/src/strings/mousedownEvent.js +3 -6
- package/src/strings/mousedownEvent.js.map +1 -0
- package/src/strings/mousedownEvent.ts +5 -0
- package/src/strings/mouseenterEvent.js +3 -6
- package/src/strings/mouseenterEvent.js.map +1 -0
- package/src/strings/mouseenterEvent.ts +5 -0
- package/src/strings/mousehoverEvent.js +3 -6
- package/src/strings/mousehoverEvent.js.map +1 -0
- package/src/strings/mousehoverEvent.ts +5 -0
- package/src/strings/mouseinEvent.js +3 -6
- package/src/strings/mouseinEvent.js.map +1 -0
- package/src/strings/mouseinEvent.ts +5 -0
- package/src/strings/mouseleaveEvent.js +3 -6
- package/src/strings/mouseleaveEvent.js.map +1 -0
- package/src/strings/mouseleaveEvent.ts +5 -0
- package/src/strings/mousemoveEvent.js +3 -6
- package/src/strings/mousemoveEvent.js.map +1 -0
- package/src/strings/mousemoveEvent.ts +5 -0
- package/src/strings/mouseoutEvent.js +3 -6
- package/src/strings/mouseoutEvent.js.map +1 -0
- package/src/strings/mouseoutEvent.ts +5 -0
- package/src/strings/mouseoverEvent.js +3 -6
- package/src/strings/mouseoverEvent.js.map +1 -0
- package/src/strings/mouseoverEvent.ts +5 -0
- package/src/strings/mouseupEvent.js +3 -6
- package/src/strings/mouseupEvent.js.map +1 -0
- package/src/strings/mouseupEvent.ts +5 -0
- package/src/strings/mousewheelEvent.js +3 -6
- package/src/strings/mousewheelEvent.js.map +1 -0
- package/src/strings/mousewheelEvent.ts +5 -0
- package/src/strings/moveEvent.js +3 -6
- package/src/strings/moveEvent.js.map +1 -0
- package/src/strings/moveEvent.ts +5 -0
- package/src/strings/nativeEvents.js +104 -108
- package/src/strings/nativeEvents.js.map +1 -0
- package/src/strings/nativeEvents.ts +108 -0
- package/src/strings/offsetHeight.js +3 -6
- package/src/strings/offsetHeight.js.map +1 -0
- package/src/strings/offsetHeight.ts +5 -0
- package/src/strings/offsetWidth.js +3 -6
- package/src/strings/offsetWidth.js.map +1 -0
- package/src/strings/offsetWidth.ts +5 -0
- package/src/strings/orientationchangeEvent.js +3 -6
- package/src/strings/orientationchangeEvent.js.map +1 -0
- package/src/strings/orientationchangeEvent.ts +5 -0
- package/src/strings/pointercancelEvent.js +3 -6
- package/src/strings/pointercancelEvent.js.map +1 -0
- package/src/strings/pointercancelEvent.ts +5 -0
- package/src/strings/pointerdownEvent.js +3 -6
- package/src/strings/pointerdownEvent.js.map +1 -0
- package/src/strings/pointerdownEvent.ts +5 -0
- package/src/strings/pointerleaveEvent.js +3 -6
- package/src/strings/pointerleaveEvent.js.map +1 -0
- package/src/strings/pointerleaveEvent.ts +5 -0
- package/src/strings/pointermoveEvent.js +3 -6
- package/src/strings/pointermoveEvent.js.map +1 -0
- package/src/strings/pointermoveEvent.ts +5 -0
- package/src/strings/pointerupEvent.js +3 -6
- package/src/strings/pointerupEvent.js.map +1 -0
- package/src/strings/pointerupEvent.ts +5 -0
- package/src/strings/readystatechangeEvent.js +3 -6
- package/src/strings/readystatechangeEvent.js.map +1 -0
- package/src/strings/readystatechangeEvent.ts +5 -0
- package/src/strings/removeEventListener.js +3 -6
- package/src/strings/removeEventListener.js.map +1 -0
- package/src/strings/removeEventListener.ts +5 -0
- package/src/strings/resetEvent.js +3 -6
- package/src/strings/resetEvent.js.map +1 -0
- package/src/strings/resetEvent.ts +5 -0
- package/src/strings/resizeEvent.js +3 -6
- package/src/strings/resizeEvent.js.map +1 -0
- package/src/strings/resizeEvent.ts +5 -0
- package/src/strings/scrollEvent.js +3 -6
- package/src/strings/scrollEvent.js.map +1 -0
- package/src/strings/scrollEvent.ts +5 -0
- package/src/strings/scrollHeight.js +3 -6
- package/src/strings/scrollHeight.js.map +1 -0
- package/src/strings/scrollHeight.ts +5 -0
- package/src/strings/scrollWidth.js +3 -6
- package/src/strings/scrollWidth.js.map +1 -0
- package/src/strings/scrollWidth.ts +5 -0
- package/src/strings/selectEvent.js +3 -6
- package/src/strings/selectEvent.js.map +1 -0
- package/src/strings/selectEvent.ts +5 -0
- package/src/strings/selectendEvent.js +3 -6
- package/src/strings/selectendEvent.js.map +1 -0
- package/src/strings/selectendEvent.ts +5 -0
- package/src/strings/selectstartEvent.js +3 -6
- package/src/strings/selectstartEvent.js.map +1 -0
- package/src/strings/selectstartEvent.ts +5 -0
- package/src/strings/submitEvent.js +3 -6
- package/src/strings/submitEvent.js.map +1 -0
- package/src/strings/submitEvent.ts +5 -0
- package/src/strings/tabindex.js +3 -0
- package/src/strings/tabindex.js.map +1 -0
- package/src/strings/tabindex.ts +5 -0
- package/src/strings/touchEvents.js +8 -8
- package/src/strings/touchEvents.js.map +1 -0
- package/src/strings/touchEvents.ts +10 -0
- package/src/strings/touchcancelEvent.js +3 -6
- package/src/strings/touchcancelEvent.js.map +1 -0
- package/src/strings/touchcancelEvent.ts +5 -0
- package/src/strings/touchendEvent.js +3 -6
- package/src/strings/touchendEvent.js.map +1 -0
- package/src/strings/touchendEvent.ts +5 -0
- package/src/strings/touchmoveEvent.js +3 -6
- package/src/strings/touchmoveEvent.js.map +1 -0
- package/src/strings/touchmoveEvent.ts +5 -0
- package/src/strings/touchstartEvent.js +3 -6
- package/src/strings/touchstartEvent.js.map +1 -0
- package/src/strings/touchstartEvent.ts +5 -0
- package/src/strings/transitionDelay.js +3 -6
- package/src/strings/transitionDelay.js.map +1 -0
- package/src/strings/transitionDelay.ts +5 -0
- package/src/strings/transitionDuration.js +3 -6
- package/src/strings/transitionDuration.js.map +1 -0
- package/src/strings/transitionDuration.ts +5 -0
- package/src/strings/transitionEndEvent.js +3 -6
- package/src/strings/transitionEndEvent.js.map +1 -0
- package/src/strings/transitionEndEvent.ts +5 -0
- package/src/strings/transitionProperty.js +3 -7
- package/src/strings/transitionProperty.js.map +1 -0
- package/src/strings/transitionProperty.ts +5 -0
- package/src/strings/unloadEvent.js +3 -6
- package/src/strings/unloadEvent.js.map +1 -0
- package/src/strings/unloadEvent.ts +5 -0
- package/src/strings/userAgent.js +4 -7
- package/src/strings/userAgent.js.map +1 -0
- package/src/strings/userAgent.ts +7 -0
- package/src/strings/userAgentData.js +4 -8
- package/src/strings/userAgentData.js.map +1 -0
- package/src/strings/userAgentData.ts +9 -0
- package/types/attr/getAttribute.d.ts +3 -0
- package/types/attr/getAttribute.d.ts.map +1 -0
- package/types/attr/getAttributeNS.d.ts +3 -0
- package/types/attr/getAttributeNS.d.ts.map +1 -0
- package/types/attr/hasAttribute.d.ts +3 -0
- package/types/attr/hasAttribute.d.ts.map +1 -0
- package/types/attr/hasAttributeNS.d.ts +3 -0
- package/types/attr/hasAttributeNS.d.ts.map +1 -0
- package/types/attr/removeAttribute.d.ts +3 -0
- package/types/attr/removeAttribute.d.ts.map +1 -0
- package/types/attr/removeAttributeNS.d.ts +3 -0
- package/types/attr/removeAttributeNS.d.ts.map +1 -0
- package/types/attr/setAttribute.d.ts +3 -0
- package/types/attr/setAttribute.d.ts.map +1 -0
- package/types/attr/setAttributeNS.d.ts +3 -0
- package/types/attr/setAttributeNS.d.ts.map +1 -0
- package/types/blocks/documentBody.d.ts +3 -0
- package/types/blocks/documentBody.d.ts.map +1 -0
- package/types/blocks/documentElement.d.ts +3 -0
- package/types/blocks/documentElement.d.ts.map +1 -0
- package/types/blocks/documentHead.d.ts +3 -0
- package/types/blocks/documentHead.d.ts.map +1 -0
- package/types/boolean/isApple.d.ts +3 -0
- package/types/boolean/isApple.d.ts.map +1 -0
- package/types/boolean/isFirefox.d.ts +3 -0
- package/types/boolean/isFirefox.d.ts.map +1 -0
- package/types/boolean/isMobile.d.ts +3 -0
- package/types/boolean/isMobile.d.ts.map +1 -0
- package/types/boolean/support3DTransform.d.ts +3 -0
- package/types/boolean/support3DTransform.d.ts.map +1 -0
- package/types/boolean/supportAnimation.d.ts +3 -0
- package/types/boolean/supportAnimation.d.ts.map +1 -0
- package/types/boolean/supportPassive.d.ts +3 -0
- package/types/boolean/supportPassive.d.ts.map +1 -0
- package/types/boolean/supportTouch.d.ts +3 -0
- package/types/boolean/supportTouch.d.ts.map +1 -0
- package/types/boolean/supportTransform.d.ts +3 -0
- package/types/boolean/supportTransform.d.ts.map +1 -0
- package/types/boolean/supportTransition.d.ts +3 -0
- package/types/boolean/supportTransition.d.ts.map +1 -0
- package/types/class/addClass.d.ts +3 -0
- package/types/class/addClass.d.ts.map +1 -0
- package/types/class/hasClass.d.ts +3 -0
- package/types/class/hasClass.d.ts.map +1 -0
- package/types/class/removeClass.d.ts +3 -0
- package/types/class/removeClass.d.ts.map +1 -0
- package/types/event/off.d.ts +2 -0
- package/types/event/off.d.ts.map +1 -0
- package/types/event/on.d.ts +2 -0
- package/types/event/on.d.ts.map +1 -0
- package/types/event/one.d.ts +3 -0
- package/types/event/one.d.ts.map +1 -0
- package/types/get/getBoundingClientRect.d.ts +4 -0
- package/types/get/getBoundingClientRect.d.ts.map +1 -0
- package/types/get/getDocument.d.ts +3 -0
- package/types/get/getDocument.d.ts.map +1 -0
- package/types/get/getDocumentBody.d.ts +3 -0
- package/types/get/getDocumentBody.d.ts.map +1 -0
- package/types/get/getDocumentElement.d.ts +3 -0
- package/types/get/getDocumentElement.d.ts.map +1 -0
- package/types/get/getDocumentHead.d.ts +3 -0
- package/types/get/getDocumentHead.d.ts.map +1 -0
- package/types/get/getElementAnimationDelay.d.ts +3 -0
- package/types/get/getElementAnimationDelay.d.ts.map +1 -0
- package/types/get/getElementAnimationDuration.d.ts +3 -0
- package/types/get/getElementAnimationDuration.d.ts.map +1 -0
- package/types/get/getElementStyle.d.ts +3 -0
- package/types/get/getElementStyle.d.ts.map +1 -0
- package/types/get/getElementTransitionDelay.d.ts +3 -0
- package/types/get/getElementTransitionDelay.d.ts.map +1 -0
- package/types/get/getElementTransitionDuration.d.ts +3 -0
- package/types/get/getElementTransitionDuration.d.ts.map +1 -0
- package/types/get/getNodeScroll.d.ts +6 -0
- package/types/get/getNodeScroll.d.ts.map +1 -0
- package/types/get/getParentNode.d.ts +3 -0
- package/types/get/getParentNode.d.ts.map +1 -0
- package/types/get/getRectRelativeToOffsetParent.d.ts +7 -0
- package/types/get/getRectRelativeToOffsetParent.d.ts.map +1 -0
- package/types/get/getUID.d.ts +3 -0
- package/types/get/getUID.d.ts.map +1 -0
- package/types/get/getWindow.d.ts +3 -0
- package/types/get/getWindow.d.ts.map +1 -0
- package/types/index.d.ts +341 -250
- package/types/index.d.ts.map +1 -0
- package/types/interface/boundingClientRect.d.ts +11 -0
- package/types/interface/boundingClientRect.d.ts.map +1 -0
- package/types/interface/navigatorUA.d.ts +13 -0
- package/types/interface/navigatorUA.d.ts.map +1 -0
- package/types/interface/offsetRect.d.ts +7 -0
- package/types/interface/offsetRect.d.ts.map +1 -0
- package/types/interface/originalEvent.d.ts +4 -0
- package/types/interface/originalEvent.d.ts.map +1 -0
- package/types/is/isArray.d.ts +3 -0
- package/types/is/isArray.d.ts.map +1 -0
- package/types/is/isCustomElement.d.ts +5 -0
- package/types/is/isCustomElement.d.ts.map +1 -0
- package/types/is/isDocument.d.ts +3 -0
- package/types/is/isDocument.d.ts.map +1 -0
- package/types/is/isElement.d.ts +3 -0
- package/types/is/isElement.d.ts.map +1 -0
- package/types/is/isElementInScrollRange.d.ts +3 -0
- package/types/is/isElementInScrollRange.d.ts.map +1 -0
- package/types/is/isElementInViewport.d.ts +3 -0
- package/types/is/isElementInViewport.d.ts.map +1 -0
- package/types/is/isElementsArray.d.ts +3 -0
- package/types/is/isElementsArray.d.ts.map +1 -0
- package/types/is/isFunction.d.ts +3 -0
- package/types/is/isFunction.d.ts.map +1 -0
- package/types/is/isHTMLCollection.d.ts +3 -0
- package/types/is/isHTMLCollection.d.ts.map +1 -0
- package/types/is/isHTMLElement.d.ts +3 -0
- package/types/is/isHTMLElement.d.ts.map +1 -0
- package/types/is/isHTMLImageElement.d.ts +3 -0
- package/types/is/isHTMLImageElement.d.ts.map +1 -0
- package/types/is/isMedia.d.ts +3 -0
- package/types/is/isMedia.d.ts.map +1 -0
- package/types/is/isNode.d.ts +3 -0
- package/types/is/isNode.d.ts.map +1 -0
- package/types/is/isNodeList.d.ts +3 -0
- package/types/is/isNodeList.d.ts.map +1 -0
- package/types/is/isNumber.d.ts +3 -0
- package/types/is/isNumber.d.ts.map +1 -0
- package/types/is/isObject.d.ts +3 -0
- package/types/is/isObject.d.ts.map +1 -0
- package/types/is/isRTL.d.ts +3 -0
- package/types/is/isRTL.d.ts.map +1 -0
- package/types/is/isSVGElement.d.ts +3 -0
- package/types/is/isSVGElement.d.ts.map +1 -0
- package/types/is/isScaledElement.d.ts +2 -0
- package/types/is/isScaledElement.d.ts.map +1 -0
- package/types/is/isShadowRoot.d.ts +3 -0
- package/types/is/isShadowRoot.d.ts.map +1 -0
- package/types/is/isString.d.ts +3 -0
- package/types/is/isString.d.ts.map +1 -0
- package/types/is/isTableElement.d.ts +3 -0
- package/types/is/isTableElement.d.ts.map +1 -0
- package/types/is/isWindow.d.ts +3 -0
- package/types/is/isWindow.d.ts.map +1 -0
- package/types/misc/ArrayFrom.d.ts +3 -0
- package/types/misc/ArrayFrom.d.ts.map +1 -0
- package/types/misc/Float32ArrayFrom.d.ts +3 -0
- package/types/misc/Float32ArrayFrom.d.ts.map +1 -0
- package/types/misc/Float64ArrayFrom.d.ts +3 -0
- package/types/misc/Float64ArrayFrom.d.ts.map +1 -0
- package/types/misc/ObjectAssign.d.ts +3 -0
- package/types/misc/ObjectAssign.d.ts.map +1 -0
- package/types/misc/ObjectEntries.d.ts +3 -0
- package/types/misc/ObjectEntries.d.ts.map +1 -0
- package/types/misc/ObjectKeys.d.ts +3 -0
- package/types/misc/ObjectKeys.d.ts.map +1 -0
- package/types/misc/ObjectValues.d.ts +3 -0
- package/types/misc/ObjectValues.d.ts.map +1 -0
- package/types/misc/OriginalEvent.d.ts +4 -0
- package/types/misc/OriginalEvent.d.ts.map +1 -0
- package/types/misc/createElement.d.ts +3 -0
- package/types/misc/createElement.d.ts.map +1 -0
- package/types/misc/createElementNS.d.ts +3 -0
- package/types/misc/createElementNS.d.ts.map +1 -0
- package/types/misc/data.d.ts +9 -0
- package/types/misc/data.d.ts.map +1 -0
- package/types/misc/dispatchEvent.d.ts +3 -0
- package/types/misc/dispatchEvent.d.ts.map +1 -0
- package/types/misc/distinct.d.ts +3 -0
- package/types/misc/distinct.d.ts.map +1 -0
- package/types/misc/emulateAnimationEnd.d.ts +3 -0
- package/types/misc/emulateAnimationEnd.d.ts.map +1 -0
- package/types/misc/emulateTransitionEnd.d.ts +3 -0
- package/types/misc/emulateTransitionEnd.d.ts.map +1 -0
- package/types/misc/focus.d.ts +3 -0
- package/types/misc/focus.d.ts.map +1 -0
- package/types/misc/noop.d.ts +3 -0
- package/types/misc/noop.d.ts.map +1 -0
- package/types/misc/normalizeOptions.d.ts +3 -0
- package/types/misc/normalizeOptions.d.ts.map +1 -0
- package/types/misc/normalizeValue.d.ts +3 -0
- package/types/misc/normalizeValue.d.ts.map +1 -0
- package/types/misc/passiveHandler.d.ts +3 -0
- package/types/misc/passiveHandler.d.ts.map +1 -0
- package/types/misc/reflow.d.ts +3 -0
- package/types/misc/reflow.d.ts.map +1 -0
- package/types/misc/setElementStyle.d.ts +3 -0
- package/types/misc/setElementStyle.d.ts.map +1 -0
- package/types/misc/timer.d.ts +7 -0
- package/types/misc/timer.d.ts.map +1 -0
- package/types/misc/toLowerCase.d.ts +3 -0
- package/types/misc/toLowerCase.d.ts.map +1 -0
- package/types/misc/toUpperCase.d.ts +3 -0
- package/types/misc/toUpperCase.d.ts.map +1 -0
- package/types/selectors/closest.d.ts +3 -0
- package/types/selectors/closest.d.ts.map +1 -0
- package/types/selectors/getCustomElements.d.ts +3 -0
- package/types/selectors/getCustomElements.d.ts.map +1 -0
- package/types/selectors/getElementById.d.ts +3 -0
- package/types/selectors/getElementById.d.ts.map +1 -0
- package/types/selectors/getElementsByClassName.d.ts +3 -0
- package/types/selectors/getElementsByClassName.d.ts.map +1 -0
- package/types/selectors/getElementsByTagName.d.ts +3 -0
- package/types/selectors/getElementsByTagName.d.ts.map +1 -0
- package/types/selectors/matches.d.ts +3 -0
- package/types/selectors/matches.d.ts.map +1 -0
- package/types/selectors/querySelector.d.ts +3 -0
- package/types/selectors/querySelector.d.ts.map +1 -0
- package/types/selectors/querySelectorAll.d.ts +3 -0
- package/types/selectors/querySelectorAll.d.ts.map +1 -0
- package/types/strings/DOMContentLoadedEvent.d.ts +3 -0
- package/types/strings/DOMContentLoadedEvent.d.ts.map +1 -0
- package/types/strings/DOMMouseScrollEvent.d.ts +3 -0
- package/types/strings/DOMMouseScrollEvent.d.ts.map +1 -0
- package/types/strings/abortEvent.d.ts +3 -0
- package/types/strings/abortEvent.d.ts.map +1 -0
- package/types/strings/addEventListener.d.ts +3 -0
- package/types/strings/addEventListener.d.ts.map +1 -0
- package/types/strings/animationDelay.d.ts +3 -0
- package/types/strings/animationDelay.d.ts.map +1 -0
- package/types/strings/animationDuration.d.ts +3 -0
- package/types/strings/animationDuration.d.ts.map +1 -0
- package/types/strings/animationEndEvent.d.ts +3 -0
- package/types/strings/animationEndEvent.d.ts.map +1 -0
- package/types/strings/animationName.d.ts +3 -0
- package/types/strings/animationName.d.ts.map +1 -0
- package/types/strings/ariaChecked.d.ts +3 -0
- package/types/strings/ariaChecked.d.ts.map +1 -0
- package/types/strings/ariaDescribedBy.d.ts +3 -0
- package/types/strings/ariaDescribedBy.d.ts.map +1 -0
- package/types/strings/ariaDescription.d.ts +3 -0
- package/types/strings/ariaDescription.d.ts.map +1 -0
- package/types/strings/ariaExpanded.d.ts +3 -0
- package/types/strings/ariaExpanded.d.ts.map +1 -0
- package/types/strings/ariaHasPopup.d.ts +3 -0
- package/types/strings/ariaHasPopup.d.ts.map +1 -0
- package/types/strings/ariaHidden.d.ts +3 -0
- package/types/strings/ariaHidden.d.ts.map +1 -0
- package/types/strings/ariaLabel.d.ts +3 -0
- package/types/strings/ariaLabel.d.ts.map +1 -0
- package/types/strings/ariaLabelledBy.d.ts +3 -0
- package/types/strings/ariaLabelledBy.d.ts.map +1 -0
- package/types/strings/ariaModal.d.ts +3 -0
- package/types/strings/ariaModal.d.ts.map +1 -0
- package/types/strings/ariaPressed.d.ts +3 -0
- package/types/strings/ariaPressed.d.ts.map +1 -0
- package/types/strings/ariaSelected.d.ts +3 -0
- package/types/strings/ariaSelected.d.ts.map +1 -0
- package/types/strings/ariaValueMax.d.ts +3 -0
- package/types/strings/ariaValueMax.d.ts.map +1 -0
- package/types/strings/ariaValueMin.d.ts +3 -0
- package/types/strings/ariaValueMin.d.ts.map +1 -0
- package/types/strings/ariaValueNow.d.ts +3 -0
- package/types/strings/ariaValueNow.d.ts.map +1 -0
- package/types/strings/ariaValueText.d.ts +3 -0
- package/types/strings/ariaValueText.d.ts.map +1 -0
- package/types/strings/beforeunloadEvent.d.ts +3 -0
- package/types/strings/beforeunloadEvent.d.ts.map +1 -0
- package/types/strings/bezierEasings.d.ts +29 -0
- package/types/strings/bezierEasings.d.ts.map +1 -0
- package/types/strings/blurEvent.d.ts +3 -0
- package/types/strings/blurEvent.d.ts.map +1 -0
- package/types/strings/changeEvent.d.ts +3 -0
- package/types/strings/changeEvent.d.ts.map +1 -0
- package/types/strings/contextmenuEvent.d.ts +3 -0
- package/types/strings/contextmenuEvent.d.ts.map +1 -0
- package/types/strings/errorEvent.d.ts +3 -0
- package/types/strings/errorEvent.d.ts.map +1 -0
- package/types/strings/focusEvent.d.ts +3 -0
- package/types/strings/focusEvent.d.ts.map +1 -0
- package/types/strings/focusEvents.d.ts +6 -0
- package/types/strings/focusEvents.d.ts.map +1 -0
- package/types/strings/focusinEvent.d.ts +3 -0
- package/types/strings/focusinEvent.d.ts.map +1 -0
- package/types/strings/focusoutEvent.d.ts +3 -0
- package/types/strings/focusoutEvent.d.ts.map +1 -0
- package/types/strings/gesturechangeEvent.d.ts +3 -0
- package/types/strings/gesturechangeEvent.d.ts.map +1 -0
- package/types/strings/gestureendEvent.d.ts +3 -0
- package/types/strings/gestureendEvent.d.ts.map +1 -0
- package/types/strings/gesturestartEvent.d.ts +3 -0
- package/types/strings/gesturestartEvent.d.ts.map +1 -0
- package/types/strings/keyAlt.d.ts +3 -0
- package/types/strings/keyAlt.d.ts.map +1 -0
- package/types/strings/keyArrowDown.d.ts +3 -0
- package/types/strings/keyArrowDown.d.ts.map +1 -0
- package/types/strings/keyArrowLeft.d.ts +3 -0
- package/types/strings/keyArrowLeft.d.ts.map +1 -0
- package/types/strings/keyArrowRight.d.ts +3 -0
- package/types/strings/keyArrowRight.d.ts.map +1 -0
- package/types/strings/keyArrowUp.d.ts +3 -0
- package/types/strings/keyArrowUp.d.ts.map +1 -0
- package/types/strings/keyBackspace.d.ts +3 -0
- package/types/strings/keyBackspace.d.ts.map +1 -0
- package/types/strings/keyCapsLock.d.ts +3 -0
- package/types/strings/keyCapsLock.d.ts.map +1 -0
- package/types/strings/keyControl.d.ts +3 -0
- package/types/strings/keyControl.d.ts.map +1 -0
- package/types/strings/keyDelete.d.ts +3 -0
- package/types/strings/keyDelete.d.ts.map +1 -0
- package/types/strings/keyEnter.d.ts +3 -0
- package/types/strings/keyEnter.d.ts.map +1 -0
- package/types/strings/keyEscape.d.ts +3 -0
- package/types/strings/keyEscape.d.ts.map +1 -0
- package/types/strings/keyInsert.d.ts +3 -0
- package/types/strings/keyInsert.d.ts.map +1 -0
- package/types/strings/keyMeta.d.ts +3 -0
- package/types/strings/keyMeta.d.ts.map +1 -0
- package/types/strings/keyPause.d.ts +3 -0
- package/types/strings/keyPause.d.ts.map +1 -0
- package/types/strings/keyScrollLock.d.ts +3 -0
- package/types/strings/keyScrollLock.d.ts.map +1 -0
- package/types/strings/keyShift.d.ts +3 -0
- package/types/strings/keyShift.d.ts.map +1 -0
- package/types/strings/keySpace.d.ts +3 -0
- package/types/strings/keySpace.d.ts.map +1 -0
- package/types/strings/keyTab.d.ts +3 -0
- package/types/strings/keyTab.d.ts.map +1 -0
- package/types/strings/keyboardEventKeys.d.ts +23 -0
- package/types/strings/keyboardEventKeys.d.ts.map +1 -0
- package/types/strings/keydownEvent.d.ts +3 -0
- package/types/strings/keydownEvent.d.ts.map +1 -0
- package/types/strings/keypressEvent.d.ts +3 -0
- package/types/strings/keypressEvent.d.ts.map +1 -0
- package/types/strings/keyupEvent.d.ts +3 -0
- package/types/strings/keyupEvent.d.ts.map +1 -0
- package/types/strings/loadEvent.d.ts +3 -0
- package/types/strings/loadEvent.d.ts.map +1 -0
- package/types/strings/loadstartEvent.d.ts +3 -0
- package/types/strings/loadstartEvent.d.ts.map +1 -0
- package/types/strings/mouseClickEvents.d.ts +6 -0
- package/types/strings/mouseClickEvents.d.ts.map +1 -0
- package/types/strings/mouseHoverEvents.d.ts +3 -0
- package/types/strings/mouseHoverEvents.d.ts.map +1 -0
- package/types/strings/mouseSwipeEvents.d.ts +8 -0
- package/types/strings/mouseSwipeEvents.d.ts.map +1 -0
- package/types/strings/mouseclickEvent.d.ts +3 -0
- package/types/strings/mouseclickEvent.d.ts.map +1 -0
- package/types/strings/mousedblclickEvent.d.ts +3 -0
- package/types/strings/mousedblclickEvent.d.ts.map +1 -0
- package/types/strings/mousedownEvent.d.ts +3 -0
- package/types/strings/mousedownEvent.d.ts.map +1 -0
- package/types/strings/mouseenterEvent.d.ts +3 -0
- package/types/strings/mouseenterEvent.d.ts.map +1 -0
- package/types/strings/mousehoverEvent.d.ts +3 -0
- package/types/strings/mousehoverEvent.d.ts.map +1 -0
- package/types/strings/mouseinEvent.d.ts +3 -0
- package/types/strings/mouseinEvent.d.ts.map +1 -0
- package/types/strings/mouseleaveEvent.d.ts +3 -0
- package/types/strings/mouseleaveEvent.d.ts.map +1 -0
- package/types/strings/mousemoveEvent.d.ts +3 -0
- package/types/strings/mousemoveEvent.d.ts.map +1 -0
- package/types/strings/mouseoutEvent.d.ts +3 -0
- package/types/strings/mouseoutEvent.d.ts.map +1 -0
- package/types/strings/mouseoverEvent.d.ts +3 -0
- package/types/strings/mouseoverEvent.d.ts.map +1 -0
- package/types/strings/mouseupEvent.d.ts +3 -0
- package/types/strings/mouseupEvent.d.ts.map +1 -0
- package/types/strings/mousewheelEvent.d.ts +3 -0
- package/types/strings/mousewheelEvent.d.ts.map +1 -0
- package/types/strings/moveEvent.d.ts +3 -0
- package/types/strings/moveEvent.d.ts.map +1 -0
- package/types/strings/nativeEvents.d.ts +54 -0
- package/types/strings/nativeEvents.d.ts.map +1 -0
- package/types/strings/offsetHeight.d.ts +3 -0
- package/types/strings/offsetHeight.d.ts.map +1 -0
- package/types/strings/offsetWidth.d.ts +3 -0
- package/types/strings/offsetWidth.d.ts.map +1 -0
- package/types/strings/orientationchangeEvent.d.ts +3 -0
- package/types/strings/orientationchangeEvent.d.ts.map +1 -0
- package/types/strings/pointercancelEvent.d.ts +3 -0
- package/types/strings/pointercancelEvent.d.ts.map +1 -0
- package/types/strings/pointerdownEvent.d.ts +3 -0
- package/types/strings/pointerdownEvent.d.ts.map +1 -0
- package/types/strings/pointerleaveEvent.d.ts +3 -0
- package/types/strings/pointerleaveEvent.d.ts.map +1 -0
- package/types/strings/pointermoveEvent.d.ts +3 -0
- package/types/strings/pointermoveEvent.d.ts.map +1 -0
- package/types/strings/pointerupEvent.d.ts +3 -0
- package/types/strings/pointerupEvent.d.ts.map +1 -0
- package/types/strings/readystatechangeEvent.d.ts +3 -0
- package/types/strings/readystatechangeEvent.d.ts.map +1 -0
- package/types/strings/removeEventListener.d.ts +3 -0
- package/types/strings/removeEventListener.d.ts.map +1 -0
- package/types/strings/resetEvent.d.ts +3 -0
- package/types/strings/resetEvent.d.ts.map +1 -0
- package/types/strings/resizeEvent.d.ts +3 -0
- package/types/strings/resizeEvent.d.ts.map +1 -0
- package/types/strings/scrollEvent.d.ts +3 -0
- package/types/strings/scrollEvent.d.ts.map +1 -0
- package/types/strings/scrollHeight.d.ts +3 -0
- package/types/strings/scrollHeight.d.ts.map +1 -0
- package/types/strings/scrollWidth.d.ts +3 -0
- package/types/strings/scrollWidth.d.ts.map +1 -0
- package/types/strings/selectEvent.d.ts +3 -0
- package/types/strings/selectEvent.d.ts.map +1 -0
- package/types/strings/selectendEvent.d.ts +3 -0
- package/types/strings/selectendEvent.d.ts.map +1 -0
- package/types/strings/selectstartEvent.d.ts +3 -0
- package/types/strings/selectstartEvent.d.ts.map +1 -0
- package/types/strings/submitEvent.d.ts +3 -0
- package/types/strings/submitEvent.d.ts.map +1 -0
- package/types/strings/tabindex.d.ts +3 -0
- package/types/strings/tabindex.d.ts.map +1 -0
- package/types/strings/touchEvents.d.ts +8 -0
- package/types/strings/touchEvents.d.ts.map +1 -0
- package/types/strings/touchcancelEvent.d.ts +3 -0
- package/types/strings/touchcancelEvent.d.ts.map +1 -0
- package/types/strings/touchendEvent.d.ts +3 -0
- package/types/strings/touchendEvent.d.ts.map +1 -0
- package/types/strings/touchmoveEvent.d.ts +3 -0
- package/types/strings/touchmoveEvent.d.ts.map +1 -0
- package/types/strings/touchstartEvent.d.ts +3 -0
- package/types/strings/touchstartEvent.d.ts.map +1 -0
- package/types/strings/transitionDelay.d.ts +3 -0
- package/types/strings/transitionDelay.d.ts.map +1 -0
- package/types/strings/transitionDuration.d.ts +3 -0
- package/types/strings/transitionDuration.d.ts.map +1 -0
- package/types/strings/transitionEndEvent.d.ts +3 -0
- package/types/strings/transitionEndEvent.d.ts.map +1 -0
- package/types/strings/transitionProperty.d.ts +3 -0
- package/types/strings/transitionProperty.d.ts.map +1 -0
- package/types/strings/unloadEvent.d.ts +3 -0
- package/types/strings/unloadEvent.d.ts.map +1 -0
- package/types/strings/userAgent.d.ts +3 -0
- package/types/strings/userAgent.d.ts.map +1 -0
- package/types/strings/userAgentData.d.ts +4 -0
- package/types/strings/userAgentData.d.ts.map +1 -0
- package/dist/shorty.esm.js +0 -2527
- package/dist/shorty.esm.min.js +0 -2
- package/dist/shorty.js +0 -2550
- package/dist/shorty.min.js +0 -2
- package/src/get/getElementAnimationDelayLegacy.js +0 -21
- package/src/get/getElementAnimationDurationLegacy.js +0 -21
- package/src/get/getElementTransitionDelayLegacy.js +0 -21
- package/src/get/getElementTransitionDurationLegacy.js +0 -21
- package/src/misc/passiveHandlerLegacy.js +0 -9
- package/src/misc/tryWrapper.js +0 -11
- package/src/misc/version.js +0 -9
- package/src/selectors/documentAll.js +0 -8
- package/src/selectors/matchesLegacy.js +0 -23
- package/src/strings/animationDelayLegacy.js +0 -8
- package/src/strings/animationDurationLegacy.js +0 -8
- package/src/strings/animationEndEventLegacy.js +0 -8
- package/src/strings/animationNameLegacy.js +0 -8
- package/src/strings/transitionDelayLegacy.js +0 -8
- package/src/strings/transitionDurationLegacy.js +0 -8
- package/src/strings/transitionEndEventLegacy.js +0 -8
- package/src/strings/transitionPropertyLegacy.js +0 -12
- package/types/module/shorty.ts +0 -247
- package/types/shorty.d.ts +0 -2292
package/dist/shorty.min.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// Shorty v1.0.1 | dnp_theme © 2022 | MIT-License
|
|
2
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).SHORTY=t()}(this,(function(){"use strict";var e={DOMContentLoaded:"DOMContentLoaded",DOMMouseScroll:"DOMMouseScroll",abort:"abort",beforeunload:"beforeunload",blur:"blur",change:"change",click:"click",contextmenu:"contextmenu",dblclick:"dblclick",error:"error",focus:"focus",focusin:"focusin",focusout:"focusout",gesturechange:"gesturechange",gestureend:"gestureend",gesturestart:"gesturestart",hover:"hover",keydown:"keydown",keypress:"keypress",keyup:"keyup",load:"load",mousedown:"mousedown",mousemove:"mousemove",mousein:"mousein",mouseout:"mouseout",mouseenter:"mouseenter",mouseleave:"mouseleave",mouseover:"mouseover",mouseup:"mouseup",mousewheel:"mousewheel",move:"move",orientationchange:"orientationchange",pointercancel:"pointercancel",pointerdown:"pointerdown",pointerleave:"pointerleave",pointermove:"pointermove",pointerup:"pointerup",readystatechange:"readystatechange",reset:"reset",resize:"resize",scroll:"scroll",select:"select",selectend:"selectend",selectstart:"selectstart",submit:"submit",touchcancel:"touchcancel",touchend:"touchend",touchmove:"touchmove",touchstart:"touchstart",unload:"unload"},t="onmouseleave"in document?["mouseenter","mouseleave"]:["mouseover","mouseout"],n=document.head,i="webkitAnimation"in n.style?"webkitAnimationDuration":"animationDuration",o="webkitAnimation"in n.style?"webkitAnimationDelay":"animationDelay",r="webkitAnimation"in n.style?"webkitAnimationName":"animationName",a="webkitAnimation"in n.style?"webkitAnimationEnd":"animationend",u="webkitTransition"in n.style?"webkitTransitionDuration":"transitionDuration",s="webkitTransition"in n.style?"webkitTransitionDelay":"transitionDelay",c="webkitTransition"in n.style?"webkitTransitionEnd":"transitionend",l="webkitTransition"in n.style?"webkitTransitionProperty":"transitionProperty",m=navigator.userAgentData,f=navigator.userAgent,d=/iPhone|iPad|iPod|Android/i,v=m?m.brands.some((function(e){return d.test(e.brand)})):d.test(f),g=/(iPhone|iPod|iPad)/,p=m?m.brands.some((function(e){return g.test(e.brand)})):g.test(f),b=!!f&&f.includes("Firefox"),y="webkitPerspective"in n.style||"perspective"in n.style;function E(e,t,n,i){var o=i||!1;e.addEventListener(t,n,o)}function h(e,t,n,i){var o=i||!1;e.removeEventListener(t,n,o)}function w(e,t,n,i){var o=function(r){r.target===e&&(n.apply(e,[r]),h(e,t,o,i))};E(e,t,o,i)}var A=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){return e=!0}});w(document,"DOMContentLoaded",(function(){}),t)}catch(e){throw Error("Passive events are not supported")}return e}(),k="webkitTransform"in n.style||"transform"in n.style,L="ontouchstart"in window||"msMaxTouchPoints"in navigator,D="webkitAnimation"in n.style||"animation"in n.style,N="webkitTransition"in n.style||"transition"in n.style,T=function(e,t){return e.getAttribute(t)};function S(e){return e instanceof HTMLElement?e.ownerDocument:e instanceof Window?e.document:window.document}function M(e,t){return"string"==typeof e?("object"!=typeof t?S():t).querySelector(e):e}var O=new Map,C={set:function(e,t,n){var i=M(e);i&&(O.has(t)||O.set(t,new Map),O.get(t).set(i,n))},getAllFor:function(e){return O.get(e)||null},get:function(e,t){var n=M(e),i=C.getAllFor(t);return n&&i&&i.get(n)||null},remove:function(e,t){var n=M(e),i=O.get(t);i&&n&&(i.delete(n),0===i.size&&O.delete(t))}},z=function(e,t){return Object.assign(e,t)};function H(e,t){var n=getComputedStyle(e);return t in n?n[t]:""}function x(e){var t=H(e,"animationName"),n=H(e,"animationDelay"),i=n.includes("ms")?1:1e3,o=t&&"none"!==t?parseFloat(n)*i:0;return Number.isNaN(o)?0:o}function I(e){var t=H(e,"animationName"),n=H(e,"animationDuration"),i=n.includes("ms")?1:1e3,o=t&&"none"!==t?parseFloat(n)*i:0;return Number.isNaN(o)?0:o}function P(e){var t=H(e,r),n=H(e,o),i=n.includes("ms")?1:1e3,a=D&&t&&"none"!==t?parseFloat(n)*i:0;return Number.isNaN(a)?0:a}function B(e){var t=H(e,r),n=H(e,i),o=n.includes("ms")?1:1e3,a=D&&t&&"none"!==t?parseFloat(n)*o:0;return Number.isNaN(a)?0:a}function F(e){var t=H(e,"transitionProperty"),n=H(e,"transitionDelay"),i=n.includes("ms")?1:1e3,o=t&&"none"!==t?parseFloat(n)*i:0;return Number.isNaN(o)?0:o}function j(e){var t=H(e,"transitionProperty"),n=H(e,"transitionDuration"),i=n.includes("ms")?1:1e3,o=t&&"none"!==t?parseFloat(n)*i:0;return Number.isNaN(o)?0:o}function R(e){var t=H(e,l),n=H(e,s),i=n.includes("ms")?1:1e3,o=N&&t&&"none"!==t?parseFloat(n)*i:0;return Number.isNaN(o)?0:o}function V(e){var t=H(e,l),n=H(e,u),i=n.includes("ms")?1:1e3,o=N&&t&&"none"!==t?parseFloat(n)*i:0;return Number.isNaN(o)?0:o}function W(e){return"true"===e||"false"!==e&&(Number.isNaN(+e)?""===e||"null"===e?null:e:+e)}var Q=function(e){return Object.keys(e)},U=function(e){return e.toLowerCase()};var q=!!A&&{passive:!0},G=new Map,K={set:function(e,t,n,i){var o=M(e);o&&(i&&i.length?(G.has(o)||G.set(o,new Map),G.get(o).set(i,setTimeout(t,n))):G.set(o,setTimeout(t,n)))},get:function(e,t){var n=M(e);if(!n)return null;var i=G.get(n);return t&&t.length&&i&&i.get?i.get(t)||null:i||null},clear:function(e,t){var n=M(e);if(n)if(t&&t.length){var i=G.get(n);i&&i.get&&(clearTimeout(i.get(t)),i.delete(t),0===i.size&&G.delete(n))}else clearTimeout(G.get(n)),G.delete(n)}};function X(e,t){var n=e.getBoundingClientRect(),i=n.width,o=n.height,r=n.top,a=n.right,u=n.bottom,s=n.left,c=1,l=1;if(t&&e instanceof HTMLElement){var m=e.offsetWidth,f=e.offsetHeight;c=m>0&&Math.round(i)/m||1,l=f>0&&Math.round(o)/f||1}return{width:i/c,height:o/l,top:r/l,right:a/c,bottom:u/l,left:s/c,x:s/c,y:r/l}}function Y(e){return S(e).documentElement}function Z(e){if(null==e)return window;if(!(e instanceof Window)){var t=e.ownerDocument;return t&&t.defaultView||window}return e}var J=function(e){return e instanceof Z(e).ShadowRoot||e instanceof ShadowRoot};function $(e){var t=X(e),n=t.width,i=t.height,o=e.offsetWidth,r=e.offsetHeight;return Math.round(n)!==o||Math.round(i)!==r}var _=0,ee=0,te=new Map;var ne=function(e){return e&&!!e.shadowRoot};function ie(e,t){return("object"!=typeof t?S():t).getElementsByTagName(e)}var oe=ie("*");var re=Element.prototype,ae=re.matches||re.matchesSelector||re.webkitMatchesSelector||re.mozMatchesSelector||re.msMatchesSelector||re.oMatchesSelector||function(){return!1};return{ariaChecked:"aria-checked",ariaDescription:"aria-description",ariaDescribedBy:"aria-describedby",ariaExpanded:"aria-expanded",ariaHidden:"aria-hidden",ariaHasPopup:"aria-haspopup",ariaLabel:"aria-label",ariaLabelledBy:"aria-labelledby",ariaModal:"aria-modal",ariaPressed:"aria-pressed",ariaSelected:"aria-selected",ariaValueMin:"aria-valuemin",ariaValueMax:"aria-valuemax",ariaValueNow:"aria-valuenow",ariaValueText:"aria-valuetext",nativeEvents:e,abortEvent:"abort",blurEvent:"blur",moveEvent:"move",changeEvent:"change",errorEvent:"error",resetEvent:"reset",resizeEvent:"resize",scrollEvent:"scroll",submitEvent:"submit",loadEvent:"load",loadstartEvent:"loadstart",unloadEvent:"unload",readystatechangeEvent:"readystatechange",beforeunloadEvent:"beforeunload",orientationchangeEvent:"orientationchange",contextmenuEvent:"contextmenu",DOMContentLoadedEvent:"DOMContentLoaded",DOMMouseScrollEvent:"DOMMouseScroll",selectEvent:"select",selectendEvent:"selectend",selectstartEvent:"selectstart",mouseClickEvents:{down:"mousedown",up:"mouseup"},mouseclickEvent:"click",mousedblclickEvent:"dblclick",mousedownEvent:"mousedown",mouseupEvent:"mouseup",mousehoverEvent:"hover",mouseHoverEvents:t,mouseenterEvent:"mouseenter",mouseleaveEvent:"mouseleave",mouseinEvent:"mousein",mouseoutEvent:"mouseout",mouseoverEvent:"mouseover",mousemoveEvent:"mousemove",mousewheelEvent:"mousewheel",mouseSwipeEvents:{start:"mousedown",end:"mouseup",move:"mousemove",cancel:"mouseleave"},touchEvents:{start:"touchstart",end:"touchend",move:"touchmove",cancel:"touchcancel"},touchstartEvent:"touchstart",touchmoveEvent:"touchmove",touchcancelEvent:"touchcancel",touchendEvent:"touchend",pointercancelEvent:"pointercancel",pointerdownEvent:"pointerdown",pointerleaveEvent:"pointerleave",pointermoveEvent:"pointermove",pointerupEvent:"pointerup",focusEvents:{in:"focusin",out:"focusout"},focusEvent:"focus",focusinEvent:"focusin",focusoutEvent:"focusout",gesturechangeEvent:"gesturechange",gestureendEvent:"gestureend",gesturestartEvent:"gesturestart",bezierEasings:{linear:"linear",easingSinusoidalIn:"cubic-bezier(0.47,0,0.745,0.715)",easingSinusoidalOut:"cubic-bezier(0.39,0.575,0.565,1)",easingSinusoidalInOut:"cubic-bezier(0.445,0.05,0.55,0.95)",easingQuadraticIn:"cubic-bezier(0.550,0.085,0.680,0.530)",easingQuadraticOut:"cubic-bezier(0.250,0.460,0.450,0.940)",easingQuadraticInOut:"cubic-bezier(0.455,0.030,0.515,0.955)",easingCubicIn:"cubic-bezier(0.55,0.055,0.675,0.19)",easingCubicOut:"cubic-bezier(0.215,0.61,0.355,1)",easingCubicInOut:"cubic-bezier(0.645,0.045,0.355,1)",easingQuarticIn:"cubic-bezier(0.895,0.03,0.685,0.22)",easingQuarticOut:"cubic-bezier(0.165,0.84,0.44,1)",easingQuarticInOut:"cubic-bezier(0.77,0,0.175,1)",easingQuinticIn:"cubic-bezier(0.755,0.05,0.855,0.06)",easingQuinticOut:"cubic-bezier(0.23,1,0.32,1)",easingQuinticInOut:"cubic-bezier(0.86,0,0.07,1)",easingExponentialIn:"cubic-bezier(0.95,0.05,0.795,0.035)",easingExponentialOut:"cubic-bezier(0.19,1,0.22,1)",easingExponentialInOut:"cubic-bezier(1,0,0,1)",easingCircularIn:"cubic-bezier(0.6,0.04,0.98,0.335)",easingCircularOut:"cubic-bezier(0.075,0.82,0.165,1)",easingCircularInOut:"cubic-bezier(0.785,0.135,0.15,0.86)",easingBackIn:"cubic-bezier(0.6,-0.28,0.735,0.045)",easingBackOut:"cubic-bezier(0.175,0.885,0.32,1.275)",easingBackInOut:"cubic-bezier(0.68,-0.55,0.265,1.55)"},animationDuration:"animationDuration",animationDurationLegacy:i,animationDelay:"animationDelay",animationDelayLegacy:o,animationName:"animationName",animationNameLegacy:r,animationEndEvent:"animationend",animationEndEventLegacy:a,transitionDuration:"transitionDuration",transitionDurationLegacy:u,transitionDelay:"transitionDelay",transitionDelayLegacy:s,transitionEndEvent:"transitionend",transitionEndEventLegacy:c,transitionProperty:"transitionProperty",transitionPropertyLegacy:l,isMobile:v,isApple:p,isFirefox:b,support3DTransform:y,supportPassive:A,supportTransform:k,supportTouch:L,supportAnimation:D,supportTransition:N,addEventListener:"addEventListener",removeEventListener:"removeEventListener",keyboardEventKeys:{Backspace:"Backspace",Tab:"Tab",Enter:"Enter",Shift:"Shift",Control:"Control",Alt:"Alt",Pause:"Pause",CapsLock:"CapsLock",Escape:"Escape",Scape:"Space",ArrowLeft:"ArrowLeft",ArrowUp:"ArrowUp",ArrowRight:"ArrowRight",ArrowDown:"ArrowDown",Insert:"Insert",Delete:"Delete",Meta:"Meta",ContextMenu:"ContextMenu",ScrollLock:"ScrollLock"},keydownEvent:"keydown",keypressEvent:"keypress",keyupEvent:"keyup",keyAlt:"Alt",keyArrowDown:"ArrowDown",keyArrowLeft:"ArrowLeft",keyArrowRight:"ArrowRight",keyArrowUp:"ArrowUp",keyBackspace:"Backspace",keyCapsLock:"CapsLock",keyControl:"Control",keyDelete:"Delete",keyEnter:"Enter",keyEscape:"Escape",keyInsert:"Insert",keyMeta:"Meta",keyPause:"Pause",keyScrollLock:"ScrollLock",keyShift:"Shift",keySpace:"Space",keyTab:"Tab",offsetHeight:"offsetHeight",offsetWidth:"offsetWidth",scrollHeight:"scrollHeight",scrollWidth:"scrollWidth",userAgentData:m,userAgent:f,addClass:function(e,t){e.classList.add(t)},removeClass:function(e,t){e.classList.remove(t)},hasClass:function(e,t){return e.classList.contains(t)},on:E,off:h,one:w,dispatchEvent:function(e,t){return e.dispatchEvent(t)},distinct:function(e,t,n){return n.indexOf(e)===t},Data:C,getInstance:function(e,t){return C.get(e,t)},createElement:function e(t){if("string"==typeof t)return S().createElement(t);var n=t.tagName,i=Object.assign({},t),o=e(n);return delete i.tagName,z(o,i),o},createElementNS:function e(t,n){if("string"==typeof n)return S().createElementNS(t,n);var i=n.tagName,o=Object.assign({},n),r=e(t,i);return delete o.tagName,z(r,o),r},toUpperCase:function(e){return e.toUpperCase()},toLowerCase:U,Timer:K,emulateAnimationEnd:function(e,t){var n=0,i=new Event("animationend"),o=I(e),r=x(e);if(o){var a=function(i){i.target===e&&(t.apply(e,[i]),e.removeEventListener("animationend",a),n=1)};e.addEventListener("animationend",a),setTimeout((function(){n||e.dispatchEvent(i)}),o+r+17)}else t.apply(e,[i])},emulateAnimationEndLegacy:function(e,t){var n=0,i=new Event(a),o=B(e),r=P(e);if(D&&o){var u=function(i){i.target===e&&(t.apply(e,[i]),e.removeEventListener(a,u),n=1)};e.addEventListener(a,u),setTimeout((function(){n||e.dispatchEvent(i)}),o+r+17)}else t.apply(e,[i])},emulateTransitionEnd:function(e,t){var n=0,i=new Event("transitionend"),o=j(e),r=F(e);if(o){var a=function(i){i.target===e&&(t.apply(e,[i]),e.removeEventListener("transitionend",a),n=1)};e.addEventListener("transitionend",a),setTimeout((function(){n||e.dispatchEvent(i)}),o+r+17)}else t.apply(e,[i])},emulateTransitionEndLegacy:function(e,t){var n=0,i=new Event(c),o=V(e),r=R(e);if(N&&o){var a=function(i){i.target===e&&(t.apply(e,[i]),e.removeEventListener(c,a),n=1)};e.addEventListener(c,a),setTimeout((function(){n||e.dispatchEvent(i)}),o+r+17)}else t.apply(e,[i])},isElementInScrollRange:function(e){var t=X(e),n=t.top,i=t.bottom;return n<=Y(e).clientHeight&&i>=0},isElementInViewport:function(e){var t=X(e,!0),n=t.top,i=t.left,o=t.bottom,r=t.right,a=Y(e),u=a.clientWidth,s=a.clientHeight;return n>=0&&i>=0&&o<=s&&r<=u},passiveHandler:{passive:!0},passiveHandlerLegacy:q,getElementAnimationDuration:I,getElementAnimationDurationLegacy:B,getElementAnimationDelay:x,getElementAnimationDelayLegacy:P,getElementTransitionDuration:j,getElementTransitionDurationLegacy:V,getElementTransitionDelay:F,getElementTransitionDelayLegacy:R,getNodeScroll:function(e){var t="scrollX"in e;return{x:t?e.scrollX:e.scrollLeft,y:t?e.scrollY:e.scrollTop}},getParentNode:function(e){return"HTML"===e.nodeName?e:e.assignedSlot||e.parentNode||(J(e)?e.host:null)||Y(e)},getRectRelativeToOffsetParent:function(e,t,n){var i=t instanceof HTMLElement,o=X(e,i&&$(t)),r={x:0,y:0};if(i){var a=X(t,!0);r.x=a.x+t.clientLeft,r.y=a.y+t.clientTop}return{x:o.left+n.x-r.x,y:o.top+n.y-r.y,width:o.width,height:o.height}},getWindow:Z,isArray:function(e){return Array.isArray(e)},isString:function(e){return"string"==typeof e},isCustomElement:ne,isElement:function(e){return e instanceof Element},isNode:function(e){return e instanceof Node},isHTMLElement:function(e){return e instanceof HTMLElement},isHTMLImageElement:function(e){return e instanceof HTMLImageElement},isSVGElement:function(e){return e instanceof SVGElement},isNodeList:function(e){return e instanceof NodeList},isHTMLCollection:function(e){return e instanceof HTMLCollection},isScaledElement:$,isTableElement:function(e){return["TABLE","TD","TH"].includes(e.tagName)},isShadowRoot:J,isDocument:function(e){return e instanceof Document},isElementsArray:function(e){return Array.isArray(e)&&e.every((function(e){return[HTMLElement,Element].some((function(t){return e instanceof t}))}))},isWindow:function(e){return e instanceof Window},isMedia:function(e){return e&&[SVGElement,HTMLImageElement,HTMLVideoElement].some((function(t){return e instanceof t}))},isRTL:function(e){return"rtl"===Y(e).dir},closest:function e(t,n){return t?t.closest(n)||e(t.getRootNode().host,n):null},documentAll:oe,querySelector:M,getCustomElements:function(e){var t=e&&"object"==typeof e?ie("*",e):oe;return[].concat(t).filter(ne)},getElementById:function(e){return S().getElementById(e)},querySelectorAll:function(e,t){return("object"!=typeof t?S():t).querySelectorAll(e)},getElementsByClassName:function(e,t){return("object"!=typeof t?S():t).getElementsByClassName(e)},getElementsByTagName:ie,matches:function(e,t){return e.matches(t)},matchesLegacy:function(e,t){return ae.call(e,t)},normalizeValue:W,normalizeOptions:function(e,t,n,i){var o=Object.assign({},e.dataset),r={},a={};return Q(o).forEach((function(e){var t=i&&e.includes(i)?e.replace(i,"").replace(/[A-Z]/,(function(e){return U(e)})):e;a[t]=W(o[e])})),Q(n).forEach((function(e){n[e]=W(n[e])})),Q(t).forEach((function(i){r[i]=i in n?n[i]:i in a?a[i]:"title"===i?T(e,"title"):t[i]})),r},tryWrapper:function(e,t){try{e()}catch(e){throw TypeError(t+" "+e)}},reflow:function(e){return e.offsetHeight},noop:function(){},focus:function(e){return e.focus()},getUID:function e(t,n){var i=n?_:ee;if(n){var o=e(t),r=te.get(o)||new Map;te.has(o)||te.set(o,r),r.has(n)?i=r.get(n):(r.set(n,i),_+=1)}else{var a=t.id||t;te.has(a)?i=te.get(a):(te.set(a,i),ee+=1)}return i},ArrayFrom:function(e){return Array.from(e)},Float32ArrayFrom:function(e){return Float32Array.from(Array.from(e))},Float64ArrayFrom:function(e){return Float64Array.from(Array.from(e))},ObjectAssign:z,ObjectKeys:Q,ObjectValues:function(e){return Object.values(e)},OriginalEvent:function(e,t){var n=new CustomEvent(e,{cancelable:!0,bubbles:!0});return t instanceof Object&&z(n,t),n},getBoundingClientRect:X,getDocument:S,getDocumentBody:function(e){return S(e).body},getDocumentElement:Y,getDocumentHead:function(e){return S(e).head},getElementStyle:H,setElementStyle:function(e,t){z(e.style,t)},hasAttribute:function(e,t){return e.hasAttribute(t)},hasAttributeNS:function(e,t,n){return t.hasAttributeNS(e,n)},getAttribute:T,getAttributeNS:function(e,t,n){return t.getAttributeNS(e,n)},setAttribute:function(e,t,n){return e.setAttribute(t,n)},setAttributeNS:function(e,t,n,i){return t.setAttributeNS(e,n,i)},removeAttribute:function(e,t){return e.removeAttribute(t)},removeAttributeNS:function(e,t,n){return t.removeAttributeNS(e,n)},Version:"1.0.1"}}));
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import supportAnimation from '../boolean/supportAnimation';
|
|
2
|
-
import animationDelay from '../strings/animationDelayLegacy';
|
|
3
|
-
import animationName from '../strings/animationNameLegacy';
|
|
4
|
-
import getElementStyle from './getElementStyle';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Utility to get the computed `animationDelay`
|
|
8
|
-
* from Element in miliseconds.
|
|
9
|
-
*
|
|
10
|
-
* @param {HTMLElement | Element} element target
|
|
11
|
-
* @return {number} the value in miliseconds
|
|
12
|
-
*/
|
|
13
|
-
export default function getElementAnimationDelay(element) {
|
|
14
|
-
const propertyValue = getElementStyle(element, animationName);
|
|
15
|
-
const durationValue = getElementStyle(element, animationDelay);
|
|
16
|
-
const durationScale = durationValue.includes('ms') ? 1 : 1000;
|
|
17
|
-
const duration = supportAnimation && propertyValue && propertyValue !== 'none'
|
|
18
|
-
? parseFloat(durationValue) * durationScale : 0;
|
|
19
|
-
|
|
20
|
-
return !Number.isNaN(duration) ? duration : 0;
|
|
21
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import supportAnimation from '../boolean/supportAnimation';
|
|
2
|
-
import animationDuration from '../strings/animationDurationLegacy';
|
|
3
|
-
import animationName from '../strings/animationNameLegacy';
|
|
4
|
-
import getElementStyle from './getElementStyle';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Utility to get the computed `animationDuration`
|
|
8
|
-
* from `HTMLElement` in miliseconds.
|
|
9
|
-
*
|
|
10
|
-
* @param {HTMLElement | Element} element target
|
|
11
|
-
* @return {number} the value in miliseconds
|
|
12
|
-
*/
|
|
13
|
-
export default function getElementAnimationDuration(element) {
|
|
14
|
-
const propertyValue = getElementStyle(element, animationName);
|
|
15
|
-
const durationValue = getElementStyle(element, animationDuration);
|
|
16
|
-
const durationScale = durationValue.includes('ms') ? 1 : 1000;
|
|
17
|
-
const duration = supportAnimation && propertyValue && propertyValue !== 'none'
|
|
18
|
-
? parseFloat(durationValue) * durationScale : 0;
|
|
19
|
-
|
|
20
|
-
return !Number.isNaN(duration) ? duration : 0;
|
|
21
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import supportTransition from '../boolean/supportTransition';
|
|
2
|
-
import transitionDelay from '../strings/transitionDelayLegacy';
|
|
3
|
-
import transitionProperty from '../strings/transitionPropertyLegacy';
|
|
4
|
-
import getElementStyle from './getElementStyle';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Utility to get the computed `transitionDelay`
|
|
8
|
-
* from Element in miliseconds.
|
|
9
|
-
*
|
|
10
|
-
* @param {HTMLElement | Element} element target
|
|
11
|
-
* @return {number} the value in miliseconds
|
|
12
|
-
*/
|
|
13
|
-
export default function getElementTransitionDelay(element) {
|
|
14
|
-
const propertyValue = getElementStyle(element, transitionProperty);
|
|
15
|
-
const delayValue = getElementStyle(element, transitionDelay);
|
|
16
|
-
const delayScale = delayValue.includes('ms') ? 1 : 1000;
|
|
17
|
-
const duration = supportTransition && propertyValue && propertyValue !== 'none'
|
|
18
|
-
? parseFloat(delayValue) * delayScale : 0;
|
|
19
|
-
|
|
20
|
-
return !Number.isNaN(duration) ? duration : 0;
|
|
21
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import supportTransition from '../boolean/supportTransition';
|
|
2
|
-
import transitionDuration from '../strings/transitionDurationLegacy';
|
|
3
|
-
import transitionProperty from '../strings/transitionPropertyLegacy';
|
|
4
|
-
import getElementStyle from './getElementStyle';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Utility to get the computed `transitionDuration`
|
|
8
|
-
* from Element in miliseconds.
|
|
9
|
-
*
|
|
10
|
-
* @param {HTMLElement | Element} element target
|
|
11
|
-
* @return {number} the value in miliseconds
|
|
12
|
-
*/
|
|
13
|
-
export default function getElementTransitionDuration(element) {
|
|
14
|
-
const propertyValue = getElementStyle(element, transitionProperty);
|
|
15
|
-
const durationValue = getElementStyle(element, transitionDuration);
|
|
16
|
-
const durationScale = durationValue.includes('ms') ? 1 : 1000;
|
|
17
|
-
const duration = supportTransition && propertyValue && propertyValue !== 'none'
|
|
18
|
-
? parseFloat(durationValue) * durationScale : 0;
|
|
19
|
-
|
|
20
|
-
return !Number.isNaN(duration) ? duration : 0;
|
|
21
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import supportPassive from '../boolean/supportPassive';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* A global namespace for most scroll event listeners in legacy browsers.
|
|
5
|
-
* @type {Partial<AddEventListenerOptions> | boolean}
|
|
6
|
-
*/
|
|
7
|
-
const passiveHandler = supportPassive ? { passive: true } : false;
|
|
8
|
-
|
|
9
|
-
export default passiveHandler;
|
package/src/misc/tryWrapper.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Utility to wrap a callback in a try() catch(e)
|
|
3
|
-
*
|
|
4
|
-
* @param {Function} fn callback
|
|
5
|
-
* @param {string} origin callback context description
|
|
6
|
-
*/
|
|
7
|
-
export default function tryWrapper(fn, origin) {
|
|
8
|
-
try { fn(); } catch (e) {
|
|
9
|
-
throw TypeError(`${origin} ${e}`);
|
|
10
|
-
}
|
|
11
|
-
}
|
package/src/misc/version.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
const ElementProto = Element.prototype;
|
|
3
|
-
const matchesFn = ElementProto.matches
|
|
4
|
-
|| ElementProto.matchesSelector
|
|
5
|
-
|| ElementProto.webkitMatchesSelector
|
|
6
|
-
|| ElementProto.mozMatchesSelector
|
|
7
|
-
|| ElementProto.msMatchesSelector
|
|
8
|
-
|| ElementProto.oMatchesSelector
|
|
9
|
-
|| function matchesNotSupported() {
|
|
10
|
-
return false;
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Check if element matches a CSS selector,
|
|
15
|
-
* supporting a range of legacy browsers.
|
|
16
|
-
*
|
|
17
|
-
* @param {HTMLElement | Element} target
|
|
18
|
-
* @param {string} selector
|
|
19
|
-
* @returns {boolean}
|
|
20
|
-
*/
|
|
21
|
-
export default function matches(target, selector) {
|
|
22
|
-
return matchesFn.call(target, selector);
|
|
23
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import documentHead from '../blocks/documentHead';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* A global namespace for 'animationDelay' string.
|
|
5
|
-
* @type {string}
|
|
6
|
-
*/
|
|
7
|
-
const animationDelay = 'webkitAnimation' in documentHead.style ? 'webkitAnimationDelay' : 'animationDelay';
|
|
8
|
-
export default animationDelay;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import documentHead from '../blocks/documentHead';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* A global namespace for 'animationDuration' string.
|
|
5
|
-
* @type {string}
|
|
6
|
-
*/
|
|
7
|
-
const animationDuration = 'webkitAnimation' in documentHead.style ? 'webkitAnimationDuration' : 'animationDuration';
|
|
8
|
-
export default animationDuration;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import documentHead from '../blocks/documentHead';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* A global namespace for 'animationend' string.
|
|
5
|
-
* @type {string}
|
|
6
|
-
*/
|
|
7
|
-
const animationEndEvent = 'webkitAnimation' in documentHead.style ? 'webkitAnimationEnd' : 'animationend';
|
|
8
|
-
export default animationEndEvent;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import documentHead from '../blocks/documentHead';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* A global namespace for 'animationName' string.
|
|
5
|
-
* @type {string}
|
|
6
|
-
*/
|
|
7
|
-
const animationName = 'webkitAnimation' in documentHead.style ? 'webkitAnimationName' : 'animationName';
|
|
8
|
-
export default animationName;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import documentHead from '../blocks/documentHead';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* A global namespace for 'transitionDelay' string.
|
|
5
|
-
* @type {string}
|
|
6
|
-
*/
|
|
7
|
-
const transitionDelay = 'webkitTransition' in documentHead.style ? 'webkitTransitionDelay' : 'transitionDelay';
|
|
8
|
-
export default transitionDelay;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import documentHead from '../blocks/documentHead';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* A global namespace for 'transitionDuration' string.
|
|
5
|
-
* @type {string}
|
|
6
|
-
*/
|
|
7
|
-
const transitionDuration = 'webkitTransition' in documentHead.style ? 'webkitTransitionDuration' : 'transitionDuration';
|
|
8
|
-
export default transitionDuration;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import documentHead from '../blocks/documentHead';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* A global namespace for 'transitionend' string.
|
|
5
|
-
* @type {string}
|
|
6
|
-
*/
|
|
7
|
-
const transitionEndEvent = 'webkitTransition' in documentHead.style ? 'webkitTransitionEnd' : 'transitionend';
|
|
8
|
-
export default transitionEndEvent;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import documentHead from '../blocks/documentHead';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* A global namespace for:
|
|
5
|
-
* * `transitionProperty` string for modern brosers,
|
|
6
|
-
* * `webkitTransition` for legacy Chrome / Safari browsers
|
|
7
|
-
*
|
|
8
|
-
* @type {string}
|
|
9
|
-
*/
|
|
10
|
-
const transitionProperty = 'webkitTransition' in documentHead.style ? 'webkitTransitionProperty' : 'transitionProperty';
|
|
11
|
-
|
|
12
|
-
export default transitionProperty;
|
package/types/module/shorty.ts
DELETED
|
@@ -1,247 +0,0 @@
|
|
|
1
|
-
// strings
|
|
2
|
-
export { default as ariaChecked } from '../../src/strings/ariaChecked';
|
|
3
|
-
export { default as ariaDescription } from '../../src/strings/ariaDescription';
|
|
4
|
-
export { default as ariaDescribedBy } from '../../src/strings/ariaDescribedBy';
|
|
5
|
-
export { default as ariaExpanded } from '../../src/strings/ariaExpanded';
|
|
6
|
-
export { default as ariaHasPopup } from '../../src/strings/ariaHasPopup';
|
|
7
|
-
export { default as ariaHidden } from '../../src/strings/ariaHidden';
|
|
8
|
-
export { default as ariaLabel } from '../../src/strings/ariaLabel';
|
|
9
|
-
export { default as ariaLabelledBy } from '../../src/strings/ariaLabelledBy';
|
|
10
|
-
export { default as ariaModal } from '../../src/strings/ariaModal';
|
|
11
|
-
export { default as ariaPressed } from '../../src/strings/ariaPressed';
|
|
12
|
-
export { default as ariaSelected } from '../../src/strings/ariaSelected';
|
|
13
|
-
export { default as ariaValueMin } from '../../src/strings/ariaValueMin';
|
|
14
|
-
export { default as ariaValueMax } from '../../src/strings/ariaValueMax';
|
|
15
|
-
export { default as ariaValueNow } from '../../src/strings/ariaValueNow';
|
|
16
|
-
export { default as ariaValueText } from '../../src/strings/ariaValueText';
|
|
17
|
-
|
|
18
|
-
export { default as nativeEvents } from '../../src/strings/nativeEvents';
|
|
19
|
-
export { default as abortEvent } from '../../src/strings/abortEvent';
|
|
20
|
-
export { default as beforeunloadEvent } from '../../src/strings/beforeunloadEvent';
|
|
21
|
-
export { default as blurEvent } from '../../src/strings/blurEvent';
|
|
22
|
-
export { default as changeEvent } from '../../src/strings/changeEvent';
|
|
23
|
-
export { default as contextmenuEvent } from '../../src/strings/contextmenuEvent';
|
|
24
|
-
export { default as DOMContentLoadedEvent } from '../../src/strings/DOMContentLoadedEvent';
|
|
25
|
-
export { default as DOMMouseScrollEvent } from '../../src/strings/DOMMouseScrollEvent';
|
|
26
|
-
export { default as errorEvent } from '../../src/strings/errorEvent';
|
|
27
|
-
export { default as focusEvents } from '../../src/strings/focusEvents';
|
|
28
|
-
export { default as focusEvent } from '../../src/strings/focusEvent';
|
|
29
|
-
export { default as focusinEvent } from '../../src/strings/focusinEvent';
|
|
30
|
-
export { default as focusoutEvent } from '../../src/strings/focusoutEvent';
|
|
31
|
-
export { default as gesturechangeEvent } from '../../src/strings/gesturechangeEvent';
|
|
32
|
-
export { default as gestureendEvent } from '../../src/strings/gestureendEvent';
|
|
33
|
-
export { default as gesturestartEvent } from '../../src/strings/gesturestartEvent';
|
|
34
|
-
export { default as keydownEvent } from '../../src/strings/keydownEvent';
|
|
35
|
-
export { default as keyupEvent } from '../../src/strings/keyupEvent';
|
|
36
|
-
export { default as keypressEvent } from '../../src/strings/keypressEvent';
|
|
37
|
-
export { default as loadEvent } from '../../src/strings/loadEvent';
|
|
38
|
-
export { default as loadstartEvent } from '../../src/strings/loadstartEvent';
|
|
39
|
-
export { default as mouseClickEvents } from '../../src/strings/mouseClickEvents';
|
|
40
|
-
export { default as mouseclickEvent } from '../../src/strings/mouseclickEvent';
|
|
41
|
-
export { default as mousedblclickEvent } from '../../src/strings/mousedblclickEvent';
|
|
42
|
-
export { default as mousedownEvent } from '../../src/strings/mousedownEvent';
|
|
43
|
-
export { default as mouseupEvent } from '../../src/strings/mouseupEvent';
|
|
44
|
-
export { default as mousehoverEvent } from '../../src/strings/mousehoverEvent';
|
|
45
|
-
export { default as mouseHoverEvents } from '../../src/strings/mouseHoverEvents';
|
|
46
|
-
export { default as mouseenterEvent } from '../../src/strings/mouseenterEvent';
|
|
47
|
-
export { default as mouseleaveEvent } from '../../src/strings/mouseleaveEvent';
|
|
48
|
-
export { default as mouseinEvent } from '../../src/strings/mouseinEvent';
|
|
49
|
-
export { default as mouseoutEvent } from '../../src/strings/mouseoutEvent';
|
|
50
|
-
export { default as mouseoverEvent } from '../../src/strings/mouseoverEvent';
|
|
51
|
-
export { default as mousemoveEvent } from '../../src/strings/mousemoveEvent';
|
|
52
|
-
export { default as mouseSwipeEvents } from '../../src/strings/mouseSwipeEvents';
|
|
53
|
-
export { default as mousewheelEvent } from '../../src/strings/mousewheelEvent';
|
|
54
|
-
export { default as moveEvent } from '../../src/strings/moveEvent';
|
|
55
|
-
export { default as orientationchangeEvent } from '../../src/strings/orientationchangeEvent';
|
|
56
|
-
export { default as pointercancelEvent } from '../../src/strings/pointercancelEvent';
|
|
57
|
-
export { default as pointerdownEvent } from '../../src/strings/pointerdownEvent';
|
|
58
|
-
export { default as pointerleaveEvent } from '../../src/strings/pointerleaveEvent';
|
|
59
|
-
export { default as pointermoveEvent } from '../../src/strings/pointermoveEvent';
|
|
60
|
-
export { default as pointerupEvent } from '../../src/strings/pointerupEvent';
|
|
61
|
-
export { default as readystatechangeEvent } from '../../src/strings/readystatechangeEvent';
|
|
62
|
-
export { default as resetEvent } from '../../src/strings/resetEvent';
|
|
63
|
-
export { default as resizeEvent } from '../../src/strings/resizeEvent';
|
|
64
|
-
export { default as selectEvent } from '../../src/strings/selectEvent';
|
|
65
|
-
export { default as selectendEvent } from '../../src/strings/selectendEvent';
|
|
66
|
-
export { default as selectstartEvent } from '../../src/strings/selectstartEvent';
|
|
67
|
-
export { default as scrollEvent } from '../../src/strings/scrollEvent';
|
|
68
|
-
export { default as submitEvent } from '../../src/strings/submitEvent';
|
|
69
|
-
export { default as touchEvents } from '../../src/strings/touchEvents';
|
|
70
|
-
export { default as touchstartEvent } from '../../src/strings/touchstartEvent';
|
|
71
|
-
export { default as touchmoveEvent } from '../../src/strings/touchmoveEvent';
|
|
72
|
-
export { default as touchcancelEvent } from '../../src/strings/touchcancelEvent';
|
|
73
|
-
export { default as touchendEvent } from '../../src/strings/touchendEvent';
|
|
74
|
-
export { default as unloadEvent } from '../../src/strings/unloadEvent';
|
|
75
|
-
|
|
76
|
-
export { default as keyboardEventKeys } from '../../src/strings/keyboardEventKeys';
|
|
77
|
-
export { default as keyAlt } from '../../src/strings/keyAlt';
|
|
78
|
-
export { default as keyArrowDown } from '../../src/strings/keyArrowDown';
|
|
79
|
-
export { default as keyArrowUp } from '../../src/strings/keyArrowUp';
|
|
80
|
-
export { default as keyArrowLeft } from '../../src/strings/keyArrowLeft';
|
|
81
|
-
export { default as keyArrowRight } from '../../src/strings/keyArrowRight';
|
|
82
|
-
export { default as keyBackspace } from '../../src/strings/keyBackspace';
|
|
83
|
-
export { default as keyCapsLock } from '../../src/strings/keyCapsLock';
|
|
84
|
-
export { default as keyControl } from '../../src/strings/keyControl';
|
|
85
|
-
export { default as keyDelete } from '../../src/strings/keyDelete';
|
|
86
|
-
export { default as keyEnter } from '../../src/strings/keyEnter';
|
|
87
|
-
export { default as keyEscape } from '../../src/strings/keyEscape';
|
|
88
|
-
export { default as keyInsert } from '../../src/strings/keyInsert';
|
|
89
|
-
export { default as keyMeta } from '../../src/strings/keyMeta';
|
|
90
|
-
export { default as keyPause } from '../../src/strings/keyPause';
|
|
91
|
-
export { default as keyScrollLock } from '../../src/strings/keyScrollLock';
|
|
92
|
-
export { default as keyShift } from '../../src/strings/keyShift';
|
|
93
|
-
export { default as keySpace } from '../../src/strings/keySpace';
|
|
94
|
-
export { default as keyTab } from '../../src/strings/keyTab';
|
|
95
|
-
|
|
96
|
-
export { default as animationDuration } from '../../src/strings/animationDuration';
|
|
97
|
-
export { default as animationDurationLegacy } from '../../src/strings/animationDurationLegacy';
|
|
98
|
-
export { default as animationDelay } from '../../src/strings/animationDelay';
|
|
99
|
-
export { default as animationDelayLegacy } from '../../src/strings/animationDelayLegacy';
|
|
100
|
-
export { default as animationName } from '../../src/strings/animationName';
|
|
101
|
-
export { default as animationNameLegacy } from '../../src/strings/animationNameLegacy';
|
|
102
|
-
export { default as animationEndEvent } from '../../src/strings/animationEndEvent';
|
|
103
|
-
export { default as animationEndEventLegacy } from '../../src/strings/animationEndEventLegacy';
|
|
104
|
-
export { default as transitionDuration } from '../../src/strings/transitionDuration';
|
|
105
|
-
export { default as transitionDurationLegacy } from '../../src/strings/transitionDurationLegacy';
|
|
106
|
-
export { default as transitionDelay } from '../../src/strings/transitionDelay';
|
|
107
|
-
export { default as transitionDelayLegacy } from '../../src/strings/transitionDelayLegacy';
|
|
108
|
-
export { default as transitionEndEvent } from '../../src/strings/transitionEndEvent';
|
|
109
|
-
export { default as transitionEndEventLegacy } from '../../src/strings/transitionEndEventLegacy';
|
|
110
|
-
export { default as transitionProperty } from '../../src/strings/transitionProperty';
|
|
111
|
-
export { default as transitionPropertyLegacy } from '../../src/strings/transitionPropertyLegacy';
|
|
112
|
-
|
|
113
|
-
export { default as addEventListener } from '../../src/strings/addEventListener';
|
|
114
|
-
export { default as removeEventListener } from '../../src/strings/removeEventListener';
|
|
115
|
-
|
|
116
|
-
export { default as bezierEasings } from '../../src/strings/bezierEasings';
|
|
117
|
-
|
|
118
|
-
export { default as offsetHeight } from '../../src/strings/offsetHeight';
|
|
119
|
-
export { default as offsetWidth } from '../../src/strings/offsetWidth';
|
|
120
|
-
export { default as scrollHeight } from '../../src/strings/scrollHeight';
|
|
121
|
-
export { default as scrollWidth } from '../../src/strings/scrollWidth';
|
|
122
|
-
|
|
123
|
-
export { default as userAgentData } from '../../src/strings/userAgentData';
|
|
124
|
-
export { default as userAgent } from '../../src/strings/userAgent';
|
|
125
|
-
|
|
126
|
-
// boolean
|
|
127
|
-
export { default as isApple } from '../../src/boolean/isApple';
|
|
128
|
-
export { default as isFirefox } from '../../src/boolean/isFirefox';
|
|
129
|
-
export { default as isMobile } from '../../src/boolean/isMobile';
|
|
130
|
-
export { default as support3DTransform } from '../../src/boolean/support3DTransform';
|
|
131
|
-
export { default as supportAnimation } from '../../src/boolean/supportAnimation';
|
|
132
|
-
export { default as supportPassive } from '../../src/boolean/supportPassive';
|
|
133
|
-
export { default as supportTouch } from '../../src/boolean/supportTouch';
|
|
134
|
-
export { default as supportTransform } from '../../src/boolean/supportTransform';
|
|
135
|
-
export { default as supportTransition } from '../../src/boolean/supportTransition';
|
|
136
|
-
|
|
137
|
-
// attributes
|
|
138
|
-
export { default as hasAttribute } from '../../src/attr/hasAttribute';
|
|
139
|
-
export { default as hasAttributeNS } from '../../src/attr/hasAttributeNS';
|
|
140
|
-
export { default as getAttribute } from '../../src/attr/getAttribute';
|
|
141
|
-
export { default as getAttributeNS } from '../../src/attr/getAttributeNS';
|
|
142
|
-
export { default as setAttribute } from '../../src/attr/setAttribute';
|
|
143
|
-
export { default as setAttributeNS } from '../../src/attr/setAttributeNS';
|
|
144
|
-
export { default as removeAttribute } from '../../src/attr/removeAttribute';
|
|
145
|
-
export { default as removeAttributeNS } from '../../src/attr/removeAttributeNS';
|
|
146
|
-
|
|
147
|
-
// get
|
|
148
|
-
export { default as getBoundingClientRect } from '../../src/get/getBoundingClientRect';
|
|
149
|
-
export { default as getDocument } from '../../src/get/getDocument';
|
|
150
|
-
export { default as getDocumentBody } from '../../src/get/getDocumentBody';
|
|
151
|
-
export { default as getDocumentElement } from '../../src/get/getDocumentElement';
|
|
152
|
-
export { default as getDocumentHead } from '../../src/get/getDocumentHead';
|
|
153
|
-
export { default as getElementAnimationDuration } from '../../src/get/getElementAnimationDuration';
|
|
154
|
-
export { default as getElementAnimationDurationLegacy } from '../../src/get/getElementAnimationDurationLegacy';
|
|
155
|
-
export { default as getElementAnimationDelay } from '../../src/get/getElementAnimationDelay';
|
|
156
|
-
export { default as getElementAnimationDelayLegacy } from '../../src/get/getElementAnimationDelayLegacy';
|
|
157
|
-
export { default as getElementStyle } from '../../src/get/getElementStyle';
|
|
158
|
-
export { default as getElementTransitionDuration } from '../../src/get/getElementTransitionDuration';
|
|
159
|
-
export { default as getElementTransitionDurationLegacy } from '../../src/get/getElementTransitionDurationLegacy';
|
|
160
|
-
export { default as getElementTransitionDelay } from '../../src/get/getElementTransitionDelay';
|
|
161
|
-
export { default as getElementTransitionDelayLegacy } from '../../src/get/getElementTransitionDelayLegacy';
|
|
162
|
-
export { default as getNodeScroll } from '../../src/get/getNodeScroll';
|
|
163
|
-
export { default as getParentNode } from '../../src/get/getParentNode';
|
|
164
|
-
export { default as getRectRelativeToOffsetParent } from '../../src/get/getRectRelativeToOffsetParent';
|
|
165
|
-
export { default as getUID } from '../../src/get/getUID';
|
|
166
|
-
export { default as getWindow } from '../../src/get/getWindow';
|
|
167
|
-
|
|
168
|
-
// class
|
|
169
|
-
export { default as addClass } from '../../src/class/addClass';
|
|
170
|
-
export { default as removeClass } from '../../src/class/removeClass';
|
|
171
|
-
export { default as hasClass } from '../../src/class/hasClass';
|
|
172
|
-
|
|
173
|
-
// event
|
|
174
|
-
export { default as on } from '../../src/event/on';
|
|
175
|
-
export { default as off } from '../../src/event/off';
|
|
176
|
-
export { default as one } from '../../src/event/one';
|
|
177
|
-
|
|
178
|
-
// misc
|
|
179
|
-
export { default as Data, getInstance } from '../../src/misc/data';
|
|
180
|
-
export { default as Timer } from '../../src/misc/timer';
|
|
181
|
-
export { default as createElement } from '../../src/misc/createElement';
|
|
182
|
-
export { default as createElementNS } from '../../src/misc/createElementNS';
|
|
183
|
-
export { default as dispatchEvent } from '../../src/misc/dispatchEvent';
|
|
184
|
-
export { default as distinct } from '../../src/misc/distinct';
|
|
185
|
-
|
|
186
|
-
export { default as emulateAnimationEnd } from '../../src/misc/emulateAnimationEnd';
|
|
187
|
-
export { default as emulateAnimationEndLegacy } from '../../src/misc/emulateAnimationEndLegacy';
|
|
188
|
-
export { default as emulateTransitionEnd } from '../../src/misc/emulateTransitionEnd';
|
|
189
|
-
export { default as emulateTransitionEndLegacy } from '../../src/misc/emulateTransitionEndLegacy';
|
|
190
|
-
export { default as passiveHandler } from '../../src/misc/passiveHandler';
|
|
191
|
-
export { default as passiveHandlerLegacy } from '../../src/misc/passiveHandlerLegacy';
|
|
192
|
-
|
|
193
|
-
export { default as setElementStyle } from '../../src/misc/setElementStyle';
|
|
194
|
-
export { default as normalizeValue } from '../../src/misc/normalizeValue';
|
|
195
|
-
export { default as normalizeOptions } from '../../src/misc/normalizeOptions';
|
|
196
|
-
export { default as tryWrapper } from '../../src/misc/tryWrapper';
|
|
197
|
-
export { default as reflow } from '../../src/misc/reflow';
|
|
198
|
-
export { default as focus } from '../../src/misc/focus';
|
|
199
|
-
export { default as noop } from '../../src/misc/noop';
|
|
200
|
-
|
|
201
|
-
export { default as toLowerCase } from '../../src/misc/toLowerCase';
|
|
202
|
-
export { default as toUpperCase } from '../../src/misc/toUpperCase';
|
|
203
|
-
|
|
204
|
-
export { default as ArrayFrom } from '../../src/misc/ArrayFrom';
|
|
205
|
-
export { default as Float32ArrayFrom } from '../../src/misc/Float32ArrayFrom';
|
|
206
|
-
export { default as Float64ArrayFrom } from '../../src/misc/Float64ArrayFrom';
|
|
207
|
-
export { default as ObjectKeys } from '../../src/misc/ObjectKeys';
|
|
208
|
-
export { default as ObjectValues } from '../../src/misc/ObjectValues';
|
|
209
|
-
export { default as ObjectAssign } from '../../src/misc/ObjectAssign';
|
|
210
|
-
export { default as OriginalEvent } from '../../src/misc/OriginalEvent';
|
|
211
|
-
|
|
212
|
-
// is
|
|
213
|
-
export { default as isArray } from '../../src/is/isArray';
|
|
214
|
-
export { default as isDocument } from '../../src/is/isDocument';
|
|
215
|
-
export { default as isCustomElement } from '../../src/is/isCustomElement';
|
|
216
|
-
export { default as isElement } from '../../src/is/isElement';
|
|
217
|
-
export { default as isElementInScrollRange } from '../../src/is/isElementInScrollRange';
|
|
218
|
-
export { default as isElementInViewport } from '../../src/is/isElementInViewport';
|
|
219
|
-
export { default as isElementsArray } from '../../src/is/isElementsArray';
|
|
220
|
-
export { default as isFunction } from '../../src/is/isFunction';
|
|
221
|
-
export { default as isHTMLCollection } from '../../src/is/isHTMLCollection';
|
|
222
|
-
export { default as isHTMLElement } from '../../src/is/isHTMLElement';
|
|
223
|
-
export { default as isHTMLImageElement } from '../../src/is/isHTMLImageElement';
|
|
224
|
-
export { default as isMedia } from '../../src/is/isMedia';
|
|
225
|
-
export { default as isNode } from '../../src/is/isNode';
|
|
226
|
-
export { default as isNodeList } from '../../src/is/isNodeList';
|
|
227
|
-
export { default as isRTL } from '../../src/is/isRTL';
|
|
228
|
-
export { default as isScaledElement } from '../../src/is/isScaledElement';
|
|
229
|
-
export { default as isShadowRoot } from '../../src/is/isShadowRoot';
|
|
230
|
-
export { default as isString } from '../../src/is/isString';
|
|
231
|
-
export { default as isSVGElement } from '../../src/is/isSVGElement';
|
|
232
|
-
export { default as isTableElement } from '../../src/is/isTableElement';
|
|
233
|
-
export { default as isWindow } from '../../src/is/isWindow';
|
|
234
|
-
|
|
235
|
-
// selectors
|
|
236
|
-
export { default as closest } from '../../src/selectors/closest';
|
|
237
|
-
export { default as documentAll } from '../../src/selectors/documentAll';
|
|
238
|
-
export { default as getCustomElements } from '../../src/selectors/getCustomElements';
|
|
239
|
-
export { default as getElementById } from '../../src/selectors/getElementById';
|
|
240
|
-
export { default as querySelector } from '../../src/selectors/querySelector';
|
|
241
|
-
export { default as querySelectorAll } from '../../src/selectors/querySelectorAll';
|
|
242
|
-
export { default as getElementsByTagName } from '../../src/selectors/getElementsByTagName';
|
|
243
|
-
export { default as getElementsByClassName } from '../../src/selectors/getElementsByClassName';
|
|
244
|
-
export { default as matches } from '../../src/selectors/matches';
|
|
245
|
-
export { default as matchesLegacy } from '../../src/selectors/matchesLegacy';
|
|
246
|
-
|
|
247
|
-
export { default as Version } from '../../src/misc/version';
|