umaki 0.7.5 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +216 -0
- package/dist/index.cjs.js +52 -48
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +52 -48
- package/dist/libs/callback/index.d.ts +5 -0
- package/dist/libs/callback/tap-async.cjs.js +8 -0
- package/dist/libs/callback/tap-async.d.ts +47 -0
- package/dist/libs/callback/tap-async.es.js +8 -0
- package/dist/libs/callback/tap.cjs.js +7 -0
- package/dist/libs/callback/tap.d.ts +35 -0
- package/dist/libs/callback/tap.es.js +7 -0
- package/dist/libs/config/{getConfig.cjs.js → get-config.cjs.js} +1 -1
- package/dist/libs/config/{getConfig.es.js → get-config.es.js} +1 -1
- package/dist/libs/config/index.d.ts +3 -3
- package/dist/libs/config/{setConfig.cjs.js → set-config.cjs.js} +1 -1
- package/dist/libs/config/{setConfig.es.js → set-config.es.js} +1 -1
- package/dist/libs/control/{bgScrollStop.cjs.js → bg-scroll-stop.cjs.js} +1 -1
- package/dist/libs/control/{bgScrollStop.es.js → bg-scroll-stop.es.js} +1 -1
- package/dist/libs/control/index.d.ts +3 -3
- package/dist/libs/control/{videoPlayControl.cjs.js → video-play-control.cjs.js} +1 -1
- package/dist/libs/control/{videoPlayControl.es.js → video-play-control.es.js} +1 -1
- package/dist/libs/convert/index.d.ts +2 -2
- package/dist/libs/get/{getAspectRatio.cjs.js → get-aspect-ratio.cjs.js} +1 -1
- package/dist/libs/get/{getAspectRatio.es.js → get-aspect-ratio.es.js} +1 -1
- package/dist/libs/get/{getGcd.cjs.js → get-gcd.cjs.js} +1 -1
- package/dist/libs/get/{getGcd.es.js → get-gcd.es.js} +1 -1
- package/dist/libs/get/{getStylePropertyValueToNumber.cjs.js → get-style-property-value-to-number.cjs.js} +1 -1
- package/dist/libs/get/{getStylePropertyValueToNumber.es.js → get-style-property-value-to-number.es.js} +1 -1
- package/dist/libs/get/{getUaData.cjs.js → get-ua-data.cjs.js} +1 -1
- package/dist/libs/get/{getUaData.es.js → get-ua-data.es.js} +1 -1
- package/dist/libs/get/index.d.ts +16 -16
- package/dist/libs/is/{checkDeviceSize.cjs.js → check-device-size.cjs.js} +1 -1
- package/dist/libs/is/{checkDeviceSize.es.js → check-device-size.es.js} +1 -1
- package/dist/libs/is/index.d.ts +9 -9
- package/dist/libs/is/{isIpad.cjs.js → is-ipad.cjs.js} +2 -2
- package/dist/libs/is/{isIpad.es.js → is-ipad.es.js} +2 -2
- package/dist/libs/is/{isSafari.cjs.js → is-safari.cjs.js} +1 -1
- package/dist/libs/is/{isSafari.es.js → is-safari.es.js} +1 -1
- package/dist/libs/remove/index.d.ts +4 -4
- package/dist/libs/security/index.d.ts +1 -1
- package/dist/libs/set/index.d.ts +6 -6
- package/dist/libs/to/index.d.ts +2 -2
- package/dist/libs/transform/index.d.ts +1 -1
- package/dist/libs/transform/wrap-text-with-spans.test.d.ts +1 -0
- package/dist/libs/wait/index.d.ts +1 -1
- package/dist/libs/wait/wait-for-all-media-loaded.test.d.ts +1 -0
- package/package.json +1 -1
- /package/dist/libs/{control/scrollToHash.test.d.ts → callback/tap-async.test.d.ts} +0 -0
- /package/dist/libs/{control/videoPlayControl.test.d.ts → callback/tap.test.d.ts} +0 -0
- /package/dist/libs/config/{defaultConfig.cjs.js → default-config.cjs.js} +0 -0
- /package/dist/libs/config/{defaultConfig.d.ts → default-config.d.ts} +0 -0
- /package/dist/libs/config/{defaultConfig.es.js → default-config.es.js} +0 -0
- /package/dist/libs/config/{getConfig.d.ts → get-config.d.ts} +0 -0
- /package/dist/libs/config/{setConfig.d.ts → set-config.d.ts} +0 -0
- /package/dist/libs/control/{bgScrollStop.d.ts → bg-scroll-stop.d.ts} +0 -0
- /package/dist/libs/control/{scrollToHash.cjs.js → scroll-to-hash.cjs.js} +0 -0
- /package/dist/libs/control/{scrollToHash.d.ts → scroll-to-hash.d.ts} +0 -0
- /package/dist/libs/control/{scrollToHash.es.js → scroll-to-hash.es.js} +0 -0
- /package/dist/libs/{convert/changeDateStringToSpecificFormat.test.d.ts → control/scroll-to-hash.test.d.ts} +0 -0
- /package/dist/libs/control/{videoPlayControl.d.ts → video-play-control.d.ts} +0 -0
- /package/dist/libs/{convert/jsonStringToJsonObject.test.d.ts → control/video-play-control.test.d.ts} +0 -0
- /package/dist/libs/convert/{changeDateStringToSpecificFormat.cjs.js → change-date-string-to-specific-format.cjs.js} +0 -0
- /package/dist/libs/convert/{changeDateStringToSpecificFormat.d.ts → change-date-string-to-specific-format.d.ts} +0 -0
- /package/dist/libs/convert/{changeDateStringToSpecificFormat.es.js → change-date-string-to-specific-format.es.js} +0 -0
- /package/dist/libs/{get/getAspectRatio.test.d.ts → convert/change-date-string-to-specific-format.test.d.ts} +0 -0
- /package/dist/libs/convert/{jsonStringToJsonObject.cjs.js → json-string-to-json-object.cjs.js} +0 -0
- /package/dist/libs/convert/{jsonStringToJsonObject.d.ts → json-string-to-json-object.d.ts} +0 -0
- /package/dist/libs/convert/{jsonStringToJsonObject.es.js → json-string-to-json-object.es.js} +0 -0
- /package/dist/libs/{get/getClassNames.test.d.ts → convert/json-string-to-json-object.test.d.ts} +0 -0
- /package/dist/libs/get/{getAspectRatio.d.ts → get-aspect-ratio.d.ts} +0 -0
- /package/dist/libs/get/{getDocumentHeight.test.d.ts → get-aspect-ratio.test.d.ts} +0 -0
- /package/dist/libs/get/{getClassNames.cjs.js → get-class-names.cjs.js} +0 -0
- /package/dist/libs/get/{getClassNames.d.ts → get-class-names.d.ts} +0 -0
- /package/dist/libs/get/{getClassNames.es.js → get-class-names.es.js} +0 -0
- /package/dist/libs/get/{getGcd.test.d.ts → get-class-names.test.d.ts} +0 -0
- /package/dist/libs/get/{getDocumentHeight.cjs.js → get-document-height.cjs.js} +0 -0
- /package/dist/libs/get/{getDocumentHeight.d.ts → get-document-height.d.ts} +0 -0
- /package/dist/libs/get/{getDocumentHeight.es.js → get-document-height.es.js} +0 -0
- /package/dist/libs/get/{getGravatarUrl.test.d.ts → get-document-height.test.d.ts} +0 -0
- /package/dist/libs/get/{getEventPaths.cjs.js → get-event-paths.cjs.js} +0 -0
- /package/dist/libs/get/{getEventPaths.d.ts → get-event-paths.d.ts} +0 -0
- /package/dist/libs/get/{getEventPaths.es.js → get-event-paths.es.js} +0 -0
- /package/dist/libs/get/{getGcd.d.ts → get-gcd.d.ts} +0 -0
- /package/dist/libs/get/{getOrientation.test.d.ts → get-gcd.test.d.ts} +0 -0
- /package/dist/libs/get/{getGravatarUrl.cjs.js → get-gravatar-url.cjs.js} +0 -0
- /package/dist/libs/get/{getGravatarUrl.d.ts → get-gravatar-url.d.ts} +0 -0
- /package/dist/libs/get/{getGravatarUrl.es.js → get-gravatar-url.es.js} +0 -0
- /package/dist/libs/get/{getParentList.test.d.ts → get-gravatar-url.test.d.ts} +0 -0
- /package/dist/libs/get/{getImageSize.d.ts → get-image-size.d.ts} +0 -0
- /package/dist/libs/get/{getOrientation.cjs.js → get-orientation.cjs.js} +0 -0
- /package/dist/libs/get/{getOrientation.d.ts → get-orientation.d.ts} +0 -0
- /package/dist/libs/get/{getOrientation.es.js → get-orientation.es.js} +0 -0
- /package/dist/libs/get/{getPath.test.d.ts → get-orientation.test.d.ts} +0 -0
- /package/dist/libs/get/{getParentList.cjs.js → get-parent-list.cjs.js} +0 -0
- /package/dist/libs/get/{getParentList.d.ts → get-parent-list.d.ts} +0 -0
- /package/dist/libs/get/{getParentList.es.js → get-parent-list.es.js} +0 -0
- /package/dist/libs/get/{getPathFromLocalPublic.test.d.ts → get-parent-list.test.d.ts} +0 -0
- /package/dist/libs/get/{getPathFromLocalPublic.d.ts → get-path-from-local-public.d.ts} +0 -0
- /package/dist/libs/get/{getQueryParams.test.d.ts → get-path-from-local-public.test.d.ts} +0 -0
- /package/dist/libs/get/{getPath.d.ts → get-path.d.ts} +0 -0
- /package/dist/libs/get/{getRem.test.d.ts → get-path.test.d.ts} +0 -0
- /package/dist/libs/get/{getQueryParams.cjs.js → get-query-params.cjs.js} +0 -0
- /package/dist/libs/get/{getQueryParams.d.ts → get-query-params.d.ts} +0 -0
- /package/dist/libs/get/{getQueryParams.es.js → get-query-params.es.js} +0 -0
- /package/dist/libs/get/{getScrollbarWidth.test.d.ts → get-query-params.test.d.ts} +0 -0
- /package/dist/libs/get/{getRem.cjs.js → get-rem.cjs.js} +0 -0
- /package/dist/libs/get/{getRem.d.ts → get-rem.d.ts} +0 -0
- /package/dist/libs/get/{getRem.es.js → get-rem.es.js} +0 -0
- /package/dist/libs/get/{getSessionStorage.test.d.ts → get-rem.test.d.ts} +0 -0
- /package/dist/libs/get/{getScrollbarWidth.cjs.js → get-scrollbar-width.cjs.js} +0 -0
- /package/dist/libs/get/{getScrollbarWidth.d.ts → get-scrollbar-width.d.ts} +0 -0
- /package/dist/libs/get/{getScrollbarWidth.es.js → get-scrollbar-width.es.js} +0 -0
- /package/dist/libs/get/{getStringLength.test.d.ts → get-scrollbar-width.test.d.ts} +0 -0
- /package/dist/libs/get/{getSessionStorage.cjs.js → get-session-storage.cjs.js} +0 -0
- /package/dist/libs/get/{getSessionStorage.d.ts → get-session-storage.d.ts} +0 -0
- /package/dist/libs/get/{getSessionStorage.es.js → get-session-storage.es.js} +0 -0
- /package/dist/libs/get/{getStylePropertyValue.test.d.ts → get-session-storage.test.d.ts} +0 -0
- /package/dist/libs/get/{getStringLength.cjs.js → get-string-length.cjs.js} +0 -0
- /package/dist/libs/get/{getStringLength.d.ts → get-string-length.d.ts} +0 -0
- /package/dist/libs/get/{getStringLength.es.js → get-string-length.es.js} +0 -0
- /package/dist/libs/get/{getStylePropertyValueToNumber.test.d.ts → get-string-length.test.d.ts} +0 -0
- /package/dist/libs/get/{getStylePropertyValueToNumber.d.ts → get-style-property-value-to-number.d.ts} +0 -0
- /package/dist/libs/get/{getUaData.test.d.ts → get-style-property-value-to-number.test.d.ts} +0 -0
- /package/dist/libs/get/{getStylePropertyValue.cjs.js → get-style-property-value.cjs.js} +0 -0
- /package/dist/libs/get/{getStylePropertyValue.d.ts → get-style-property-value.d.ts} +0 -0
- /package/dist/libs/get/{getStylePropertyValue.es.js → get-style-property-value.es.js} +0 -0
- /package/dist/libs/{is/checkDeviceSize.test.d.ts → get/get-style-property-value.test.d.ts} +0 -0
- /package/dist/libs/get/{getUaData.d.ts → get-ua-data.d.ts} +0 -0
- /package/dist/libs/{is/isAfterDateTime.test.d.ts → get/get-ua-data.test.d.ts} +0 -0
- /package/dist/libs/is/{checkDeviceSize.d.ts → check-device-size.d.ts} +0 -0
- /package/dist/libs/is/{isBetweenDateTime.test.d.ts → check-device-size.test.d.ts} +0 -0
- /package/dist/libs/is/{isAfterDateTime.cjs.js → is-after-date-time.cjs.js} +0 -0
- /package/dist/libs/is/{isAfterDateTime.d.ts → is-after-date-time.d.ts} +0 -0
- /package/dist/libs/is/{isAfterDateTime.es.js → is-after-date-time.es.js} +0 -0
- /package/dist/libs/is/{isExistAllElements.test.d.ts → is-after-date-time.test.d.ts} +0 -0
- /package/dist/libs/is/{isBetweenDateTime.cjs.js → is-between-date-time.cjs.js} +0 -0
- /package/dist/libs/is/{isBetweenDateTime.d.ts → is-between-date-time.d.ts} +0 -0
- /package/dist/libs/is/{isBetweenDateTime.es.js → is-between-date-time.es.js} +0 -0
- /package/dist/libs/is/{isIpad.test.d.ts → is-between-date-time.test.d.ts} +0 -0
- /package/dist/libs/is/{isExistAllElements.cjs.js → is-exist-all-elements.cjs.js} +0 -0
- /package/dist/libs/is/{isExistAllElements.d.ts → is-exist-all-elements.d.ts} +0 -0
- /package/dist/libs/is/{isExistAllElements.es.js → is-exist-all-elements.es.js} +0 -0
- /package/dist/libs/is/{isKeyExists.test.d.ts → is-exist-all-elements.test.d.ts} +0 -0
- /package/dist/libs/is/{isIpad.d.ts → is-ipad.d.ts} +0 -0
- /package/dist/libs/is/{isProduction.test.d.ts → is-ipad.test.d.ts} +0 -0
- /package/dist/libs/is/{isKeyExists.cjs.js → is-key-exists.cjs.js} +0 -0
- /package/dist/libs/is/{isKeyExists.d.ts → is-key-exists.d.ts} +0 -0
- /package/dist/libs/is/{isKeyExists.es.js → is-key-exists.es.js} +0 -0
- /package/dist/libs/is/{isSafari.test.d.ts → is-key-exists.test.d.ts} +0 -0
- /package/dist/libs/is/{isProduction.d.ts → is-production.d.ts} +0 -0
- /package/dist/libs/is/{isScrollable.test.d.ts → is-production.test.d.ts} +0 -0
- /package/dist/libs/is/{isSafari.d.ts → is-safari.d.ts} +0 -0
- /package/dist/libs/is/{isTouchSupport.test.d.ts → is-safari.test.d.ts} +0 -0
- /package/dist/libs/is/{isScrollable.cjs.js → is-scrollable.cjs.js} +0 -0
- /package/dist/libs/is/{isScrollable.d.ts → is-scrollable.d.ts} +0 -0
- /package/dist/libs/is/{isScrollable.es.js → is-scrollable.es.js} +0 -0
- /package/dist/libs/{remove/removeAllHtmlTags.test.d.ts → is/is-scrollable.test.d.ts} +0 -0
- /package/dist/libs/is/{isTouchSupport.cjs.js → is-touch-support.cjs.js} +0 -0
- /package/dist/libs/is/{isTouchSupport.d.ts → is-touch-support.d.ts} +0 -0
- /package/dist/libs/is/{isTouchSupport.es.js → is-touch-support.es.js} +0 -0
- /package/dist/libs/{remove/removeAttribute.test.d.ts → is/is-touch-support.test.d.ts} +0 -0
- /package/dist/libs/remove/{removeAllHtmlTags.cjs.js → remove-all-html-tags.cjs.js} +0 -0
- /package/dist/libs/remove/{removeAllHtmlTags.d.ts → remove-all-html-tags.d.ts} +0 -0
- /package/dist/libs/remove/{removeAllHtmlTags.es.js → remove-all-html-tags.es.js} +0 -0
- /package/dist/libs/remove/{removeSessionStorage.test.d.ts → remove-all-html-tags.test.d.ts} +0 -0
- /package/dist/libs/remove/{removeAttribute.cjs.js → remove-attribute.cjs.js} +0 -0
- /package/dist/libs/remove/{removeAttribute.d.ts → remove-attribute.d.ts} +0 -0
- /package/dist/libs/remove/{removeAttribute.es.js → remove-attribute.es.js} +0 -0
- /package/dist/libs/remove/{removeStylePropertyValue.test.d.ts → remove-attribute.test.d.ts} +0 -0
- /package/dist/libs/remove/{removeSessionStorage.cjs.js → remove-session-storage.cjs.js} +0 -0
- /package/dist/libs/remove/{removeSessionStorage.d.ts → remove-session-storage.d.ts} +0 -0
- /package/dist/libs/remove/{removeSessionStorage.es.js → remove-session-storage.es.js} +0 -0
- /package/dist/libs/{security/htmlSanitize.test.d.ts → remove/remove-session-storage.test.d.ts} +0 -0
- /package/dist/libs/remove/{removeStylePropertyValue.cjs.js → remove-style-property-value.cjs.js} +0 -0
- /package/dist/libs/remove/{removeStylePropertyValue.d.ts → remove-style-property-value.d.ts} +0 -0
- /package/dist/libs/remove/{removeStylePropertyValue.es.js → remove-style-property-value.es.js} +0 -0
- /package/dist/libs/{set/set100vh.test.d.ts → remove/remove-style-property-value.test.d.ts} +0 -0
- /package/dist/libs/security/{htmlSanitize.cjs.js → html-sanitize.cjs.js} +0 -0
- /package/dist/libs/security/{htmlSanitize.d.ts → html-sanitize.d.ts} +0 -0
- /package/dist/libs/security/{htmlSanitize.es.js → html-sanitize.es.js} +0 -0
- /package/dist/libs/{set/set100vw.test.d.ts → security/html-sanitize.test.d.ts} +0 -0
- /package/dist/libs/set/{set100vh.cjs.js → set-100vh.cjs.js} +0 -0
- /package/dist/libs/set/{set100vh.d.ts → set-100vh.d.ts} +0 -0
- /package/dist/libs/set/{set100vh.es.js → set-100vh.es.js} +0 -0
- /package/dist/libs/set/{setAttribute.test.d.ts → set-100vh.test.d.ts} +0 -0
- /package/dist/libs/set/{set100vw.cjs.js → set-100vw.cjs.js} +0 -0
- /package/dist/libs/set/{set100vw.d.ts → set-100vw.d.ts} +0 -0
- /package/dist/libs/set/{set100vw.es.js → set-100vw.es.js} +0 -0
- /package/dist/libs/set/{setScrollPositionToCenter.test.d.ts → set-100vw.test.d.ts} +0 -0
- /package/dist/libs/set/{setAttribute.cjs.js → set-attribute.cjs.js} +0 -0
- /package/dist/libs/set/{setAttribute.d.ts → set-attribute.d.ts} +0 -0
- /package/dist/libs/set/{setAttribute.es.js → set-attribute.es.js} +0 -0
- /package/dist/libs/set/{setSessionStorage.test.d.ts → set-attribute.test.d.ts} +0 -0
- /package/dist/libs/set/{setScrollPositionToCenter.cjs.js → set-scroll-position-to-center.cjs.js} +0 -0
- /package/dist/libs/set/{setScrollPositionToCenter.d.ts → set-scroll-position-to-center.d.ts} +0 -0
- /package/dist/libs/set/{setScrollPositionToCenter.es.js → set-scroll-position-to-center.es.js} +0 -0
- /package/dist/libs/set/{setStylePropertyValue.test.d.ts → set-scroll-position-to-center.test.d.ts} +0 -0
- /package/dist/libs/set/{setSessionStorage.cjs.js → set-session-storage.cjs.js} +0 -0
- /package/dist/libs/set/{setSessionStorage.d.ts → set-session-storage.d.ts} +0 -0
- /package/dist/libs/set/{setSessionStorage.es.js → set-session-storage.es.js} +0 -0
- /package/dist/libs/{to/toBoolean.test.d.ts → set/set-session-storage.test.d.ts} +0 -0
- /package/dist/libs/set/{setStylePropertyValue.cjs.js → set-style-property-value.cjs.js} +0 -0
- /package/dist/libs/set/{setStylePropertyValue.d.ts → set-style-property-value.d.ts} +0 -0
- /package/dist/libs/set/{setStylePropertyValue.es.js → set-style-property-value.es.js} +0 -0
- /package/dist/libs/{to/toPositiveNumber.test.d.ts → set/set-style-property-value.test.d.ts} +0 -0
- /package/dist/libs/to/{toBoolean.cjs.js → to-boolean.cjs.js} +0 -0
- /package/dist/libs/to/{toBoolean.d.ts → to-boolean.d.ts} +0 -0
- /package/dist/libs/to/{toBoolean.es.js → to-boolean.es.js} +0 -0
- /package/dist/libs/{transform/wrapTextWithSpans.test.d.ts → to/to-boolean.test.d.ts} +0 -0
- /package/dist/libs/to/{toPositiveNumber.cjs.js → to-positive-number.cjs.js} +0 -0
- /package/dist/libs/to/{toPositiveNumber.d.ts → to-positive-number.d.ts} +0 -0
- /package/dist/libs/to/{toPositiveNumber.es.js → to-positive-number.es.js} +0 -0
- /package/dist/libs/{wait/waitForAllMediaLoaded.test.d.ts → to/to-positive-number.test.d.ts} +0 -0
- /package/dist/libs/transform/{wrapTextWithSpans.cjs.js → wrap-text-with-spans.cjs.js} +0 -0
- /package/dist/libs/transform/{wrapTextWithSpans.d.ts → wrap-text-with-spans.d.ts} +0 -0
- /package/dist/libs/transform/{wrapTextWithSpans.es.js → wrap-text-with-spans.es.js} +0 -0
- /package/dist/libs/wait/{waitForAllMediaLoaded.cjs.js → wait-for-all-media-loaded.cjs.js} +0 -0
- /package/dist/libs/wait/{waitForAllMediaLoaded.d.ts → wait-for-all-media-loaded.d.ts} +0 -0
- /package/dist/libs/wait/{waitForAllMediaLoaded.es.js → wait-for-all-media-loaded.es.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const getScrollbarWidth = require("../get/
|
|
3
|
+
const getScrollbarWidth = require("../get/get-scrollbar-width.cjs.js");
|
|
4
4
|
const bgScrollStop = (isStop = true) => {
|
|
5
5
|
document.body.style.paddingRight = isStop ? `${getScrollbarWidth.getScrollbarWidth()}px` : "";
|
|
6
6
|
if (isStop) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getScrollbarWidth } from "../get/
|
|
1
|
+
import { getScrollbarWidth } from "../get/get-scrollbar-width.es.js";
|
|
2
2
|
const bgScrollStop = (isStop = true) => {
|
|
3
3
|
document.body.style.paddingRight = isStop ? `${getScrollbarWidth()}px` : "";
|
|
4
4
|
if (isStop) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Control functions
|
|
3
3
|
*/
|
|
4
|
-
export { bgScrollStop } from './
|
|
4
|
+
export { bgScrollStop } from './bg-scroll-stop';
|
|
5
5
|
export { pd } from './pd';
|
|
6
|
-
export { scrollToHash } from './
|
|
7
|
-
export { videoPlayControl } from './
|
|
6
|
+
export { scrollToHash } from './scroll-to-hash';
|
|
7
|
+
export { videoPlayControl } from './video-play-control';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const toBoolean = require("../to/
|
|
3
|
+
const toBoolean = require("../to/to-boolean.cjs.js");
|
|
4
4
|
const videoPlayControl = async (videoElement, state, currentTime) => {
|
|
5
5
|
if (state && videoElement.paused) {
|
|
6
6
|
const isPlaying = toBoolean.toBoolean(videoElement.dataset.playing);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { toBoolean } from "../to/
|
|
1
|
+
import { toBoolean } from "../to/to-boolean.es.js";
|
|
2
2
|
const videoPlayControl = async (videoElement, state, currentTime) => {
|
|
3
3
|
if (state && videoElement.paused) {
|
|
4
4
|
const isPlaying = toBoolean(videoElement.dataset.playing);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Convert functions
|
|
3
3
|
*/
|
|
4
|
-
export { changeDateStringToSpecificFormat } from './
|
|
5
|
-
export { jsonStringToJsonObject } from './
|
|
4
|
+
export { changeDateStringToSpecificFormat } from './change-date-string-to-specific-format';
|
|
5
|
+
export { jsonStringToJsonObject } from './json-string-to-json-object';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const getGcd = require("./
|
|
3
|
+
const getGcd = require("./get-gcd.cjs.js");
|
|
4
4
|
const getAspectRatio = (w, h) => {
|
|
5
5
|
const gcd = getGcd.getGcd(w, h);
|
|
6
6
|
return { w: w / gcd, h: h / gcd };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const toPositiveNumber = require("../to/
|
|
3
|
+
const toPositiveNumber = require("../to/to-positive-number.cjs.js");
|
|
4
4
|
const getGcd = (a, b) => {
|
|
5
5
|
const positiveA = toPositiveNumber.toPositiveNumber(Math.abs(a));
|
|
6
6
|
const positiveB = toPositiveNumber.toPositiveNumber(Math.abs(b));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const getStylePropertyValue = require("./
|
|
3
|
+
const getStylePropertyValue = require("./get-style-property-value.cjs.js");
|
|
4
4
|
const getStylePropertyValueToNumber = (key) => Number.parseInt(getStylePropertyValue.getStylePropertyValue(key), 10) || 0;
|
|
5
5
|
exports.getStylePropertyValueToNumber = getStylePropertyValueToNumber;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getStylePropertyValue } from "./
|
|
1
|
+
import { getStylePropertyValue } from "./get-style-property-value.es.js";
|
|
2
2
|
const getStylePropertyValueToNumber = (key) => Number.parseInt(getStylePropertyValue(key), 10) || 0;
|
|
3
3
|
export {
|
|
4
4
|
getStylePropertyValueToNumber
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const isTouchSupport = require("../is/
|
|
3
|
+
const isTouchSupport = require("../is/is-touch-support.cjs.js");
|
|
4
4
|
const UAParser = require("ua-parser-js");
|
|
5
5
|
const getUaData = () => {
|
|
6
6
|
const parser = new UAParser();
|
package/dist/libs/get/index.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Get functions
|
|
3
3
|
*/
|
|
4
|
-
export { getAspectRatio } from './
|
|
5
|
-
export { getClassNames } from './
|
|
6
|
-
export { getDocumentHeight } from './
|
|
7
|
-
export { getEventPaths } from './
|
|
8
|
-
export { getGcd } from './
|
|
9
|
-
export { getGravatarUrl } from './
|
|
10
|
-
export { getOrientation } from './
|
|
11
|
-
export { getParentList } from './
|
|
12
|
-
export { getQueryParams } from './
|
|
13
|
-
export { getRem } from './
|
|
14
|
-
export { getScrollbarWidth } from './
|
|
15
|
-
export { getSessionStorage } from './
|
|
16
|
-
export { getStringLength } from './
|
|
17
|
-
export { getStylePropertyValue } from './
|
|
18
|
-
export { getStylePropertyValueToNumber } from './
|
|
19
|
-
export { getUaData } from './
|
|
4
|
+
export { getAspectRatio } from './get-aspect-ratio';
|
|
5
|
+
export { getClassNames } from './get-class-names';
|
|
6
|
+
export { getDocumentHeight } from './get-document-height';
|
|
7
|
+
export { getEventPaths } from './get-event-paths';
|
|
8
|
+
export { getGcd } from './get-gcd';
|
|
9
|
+
export { getGravatarUrl } from './get-gravatar-url';
|
|
10
|
+
export { getOrientation } from './get-orientation';
|
|
11
|
+
export { getParentList } from './get-parent-list';
|
|
12
|
+
export { getQueryParams } from './get-query-params';
|
|
13
|
+
export { getRem } from './get-rem';
|
|
14
|
+
export { getScrollbarWidth } from './get-scrollbar-width';
|
|
15
|
+
export { getSessionStorage } from './get-session-storage';
|
|
16
|
+
export { getStringLength } from './get-string-length';
|
|
17
|
+
export { getStylePropertyValue } from './get-style-property-value';
|
|
18
|
+
export { getStylePropertyValueToNumber } from './get-style-property-value-to-number';
|
|
19
|
+
export { getUaData } from './get-ua-data';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const getConfig = require("../config/
|
|
3
|
+
const getConfig = require("../config/get-config.cjs.js");
|
|
4
4
|
const checkDeviceSize = () => {
|
|
5
5
|
const breakpoint = getConfig.getConfigValue("BREAKPOINT");
|
|
6
6
|
if (typeof window !== "undefined") {
|
package/dist/libs/is/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Is functions
|
|
3
3
|
*/
|
|
4
|
-
export { checkDeviceSize } from './
|
|
5
|
-
export { isAfterDateTime } from './
|
|
6
|
-
export { isBetweenDateTime } from './
|
|
7
|
-
export { isExistAllElements } from './
|
|
8
|
-
export { isIpad } from './
|
|
9
|
-
export { isKeyExists } from './
|
|
10
|
-
export { isSafari } from './
|
|
11
|
-
export { isScrollable } from './
|
|
12
|
-
export { isTouchSupport } from './
|
|
4
|
+
export { checkDeviceSize } from './check-device-size';
|
|
5
|
+
export { isAfterDateTime } from './is-after-date-time';
|
|
6
|
+
export { isBetweenDateTime } from './is-between-date-time';
|
|
7
|
+
export { isExistAllElements } from './is-exist-all-elements';
|
|
8
|
+
export { isIpad } from './is-ipad';
|
|
9
|
+
export { isKeyExists } from './is-key-exists';
|
|
10
|
+
export { isSafari } from './is-safari';
|
|
11
|
+
export { isScrollable } from './is-scrollable';
|
|
12
|
+
export { isTouchSupport } from './is-touch-support';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const getOrientation = require("../get/
|
|
4
|
-
const getUaData = require("../get/
|
|
3
|
+
const getOrientation = require("../get/get-orientation.cjs.js");
|
|
4
|
+
const getUaData = require("../get/get-ua-data.cjs.js");
|
|
5
5
|
const isIpad = (orientation = "portrait") => {
|
|
6
6
|
const clientData = getUaData.getUaData();
|
|
7
7
|
if (!clientData.touchSupport) return false;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getOrientation } from "../get/
|
|
2
|
-
import { getUaData } from "../get/
|
|
1
|
+
import { getOrientation } from "../get/get-orientation.es.js";
|
|
2
|
+
import { getUaData } from "../get/get-ua-data.es.js";
|
|
3
3
|
const isIpad = (orientation = "portrait") => {
|
|
4
4
|
const clientData = getUaData();
|
|
5
5
|
if (!clientData.touchSupport) return false;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const getUaData = require("../get/
|
|
3
|
+
const getUaData = require("../get/get-ua-data.cjs.js");
|
|
4
4
|
const isSafari = (includeMobileSafari = true) => {
|
|
5
5
|
const clientData = getUaData.getUaData();
|
|
6
6
|
if (includeMobileSafari) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Remove functions
|
|
3
3
|
*/
|
|
4
|
-
export { removeAllHtmlTags } from './
|
|
5
|
-
export { removeAttribute } from './
|
|
6
|
-
export { removeSessionStorage } from './
|
|
7
|
-
export { removeStylePropertyValue } from './
|
|
4
|
+
export { removeAllHtmlTags } from './remove-all-html-tags';
|
|
5
|
+
export { removeAttribute } from './remove-attribute';
|
|
6
|
+
export { removeSessionStorage } from './remove-session-storage';
|
|
7
|
+
export { removeStylePropertyValue } from './remove-style-property-value';
|
package/dist/libs/set/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Set functions
|
|
3
3
|
*/
|
|
4
|
-
export { set100vh } from './
|
|
5
|
-
export { set100vw } from './
|
|
6
|
-
export { setAttribute } from './
|
|
7
|
-
export { setScrollPositionToCenter } from './
|
|
8
|
-
export { setSessionStorage } from './
|
|
9
|
-
export { setStylePropertyValue } from './
|
|
4
|
+
export { set100vh } from './set-100vh';
|
|
5
|
+
export { set100vw } from './set-100vw';
|
|
6
|
+
export { setAttribute } from './set-attribute';
|
|
7
|
+
export { setScrollPositionToCenter } from './set-scroll-position-to-center';
|
|
8
|
+
export { setSessionStorage } from './set-session-storage';
|
|
9
|
+
export { setStylePropertyValue } from './set-style-property-value';
|
package/dist/libs/to/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/libs/{convert/jsonStringToJsonObject.test.d.ts → control/video-play-control.test.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/libs/convert/{jsonStringToJsonObject.cjs.js → json-string-to-json-object.cjs.js}
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/libs/convert/{jsonStringToJsonObject.es.js → json-string-to-json-object.es.js}
RENAMED
|
File without changes
|
/package/dist/libs/{get/getClassNames.test.d.ts → convert/json-string-to-json-object.test.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/libs/get/{getStylePropertyValueToNumber.test.d.ts → get-string-length.test.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|