@e1011/es-kit 1.2.1 → 1.2.4
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 +179 -34
- package/dist/hooks/_virtual/_rollupPluginBabelHelpers.js +1 -1
- package/dist/hooks/esm/_virtual/_rollupPluginBabelHelpers.js +1 -1
- package/dist/hooks/esm/index.css +447 -427
- package/dist/hooks/esm/node_modules/gsap/CSSPlugin.js +5 -6
- package/dist/hooks/esm/node_modules/gsap/CSSPlugin.js.map +1 -1
- package/dist/hooks/esm/node_modules/gsap/gsap-core.js +4 -5
- package/dist/hooks/esm/node_modules/gsap/gsap-core.js.map +1 -1
- package/dist/hooks/esm/node_modules/gsap/index.js +1 -1
- package/dist/hooks/esm/node_modules/gsap/index.js.map +1 -1
- package/dist/hooks/esm/node_modules/lodash-es/_getRawTag.js.map +1 -1
- package/dist/hooks/esm/node_modules/lodash-es/debounce.js.map +1 -1
- package/dist/hooks/esm/node_modules/lodash-es/toNumber.js.map +1 -1
- package/dist/hooks/esm/src/core/constants/ui.constants.js.map +1 -1
- package/dist/hooks/esm/src/core/hooks/useAnimation.js +1 -1
- package/dist/hooks/esm/src/core/hooks/useAnimation.js.map +1 -1
- package/dist/hooks/esm/src/core/hooks/useApi.js +1 -1
- package/dist/hooks/esm/src/core/hooks/useApi.js.map +1 -1
- package/dist/hooks/esm/src/core/hooks/useClassNames.js +1 -1
- package/dist/hooks/esm/src/core/hooks/useClassNames.js.map +1 -1
- package/dist/hooks/esm/src/core/hooks/useIntersectionObserver.js +1 -1
- package/dist/hooks/esm/src/core/hooks/useIntersectionObserver.js.map +1 -1
- package/dist/hooks/esm/src/core/hooks/useOutsideClick.js.map +1 -1
- package/dist/hooks/esm/src/core/hooks/useParseProps.js.map +1 -1
- package/dist/hooks/esm/src/core/hooks/useResize.js +1 -1
- package/dist/hooks/esm/src/core/hooks/useResize.js.map +1 -1
- package/dist/hooks/esm/src/core/hooks/useThemePreference.js.map +1 -1
- package/dist/hooks/esm/src/core/hooks/useToggle.js +1 -1
- package/dist/hooks/esm/src/core/hooks/useToggle.js.map +1 -1
- package/dist/hooks/esm/src/core/hooks/useToggle2.js +1 -1
- package/dist/hooks/esm/src/core/hooks/useToggle2.js.map +1 -1
- package/dist/hooks/esm/src/core/ui/utils/clickOutside.js +1 -1
- package/dist/hooks/esm/src/core/ui/utils/clickOutside.js.map +1 -1
- package/dist/hooks/esm/src/core/utils/helpers/ui.js +1 -1
- package/dist/hooks/esm/src/core/utils/helpers/ui.js.map +1 -1
- package/dist/hooks/index.css +447 -427
- package/dist/hooks/node_modules/gsap/CSSPlugin.js +5 -6
- package/dist/hooks/node_modules/gsap/CSSPlugin.js.map +1 -1
- package/dist/hooks/node_modules/gsap/gsap-core.js +4 -5
- package/dist/hooks/node_modules/gsap/gsap-core.js.map +1 -1
- package/dist/hooks/node_modules/gsap/index.js +1 -1
- package/dist/hooks/node_modules/gsap/index.js.map +1 -1
- package/dist/hooks/node_modules/lodash-es/_baseGetTag.js.map +1 -1
- package/dist/hooks/node_modules/lodash-es/_getRawTag.js.map +1 -1
- package/dist/hooks/node_modules/lodash-es/_root.js.map +1 -1
- package/dist/hooks/node_modules/lodash-es/debounce.js.map +1 -1
- package/dist/hooks/node_modules/lodash-es/isSymbol.js.map +1 -1
- package/dist/hooks/node_modules/lodash-es/now.js.map +1 -1
- package/dist/hooks/node_modules/lodash-es/toNumber.js.map +1 -1
- package/dist/hooks/src/core/constants/ui.constants.js.map +1 -1
- package/dist/hooks/src/core/hooks/useAnimation.js +1 -1
- package/dist/hooks/src/core/hooks/useAnimation.js.map +1 -1
- package/dist/hooks/src/core/hooks/useApi.js +1 -1
- package/dist/hooks/src/core/hooks/useApi.js.map +1 -1
- package/dist/hooks/src/core/hooks/useClassNames.js +1 -1
- package/dist/hooks/src/core/hooks/useClassNames.js.map +1 -1
- package/dist/hooks/src/core/hooks/useIntersectionObserver.js +1 -1
- package/dist/hooks/src/core/hooks/useIntersectionObserver.js.map +1 -1
- package/dist/hooks/src/core/hooks/useOutsideClick.js.map +1 -1
- package/dist/hooks/src/core/hooks/useResize.js +1 -1
- package/dist/hooks/src/core/hooks/useResize.js.map +1 -1
- package/dist/hooks/src/core/hooks/useThemePreference.js.map +1 -1
- package/dist/hooks/src/core/hooks/useToggle.js +1 -1
- package/dist/hooks/src/core/hooks/useToggle.js.map +1 -1
- package/dist/hooks/src/core/hooks/useToggle2.js +1 -1
- package/dist/hooks/src/core/hooks/useToggle2.js.map +1 -1
- package/dist/hooks/src/core/ui/utils/clickOutside.js +1 -1
- package/dist/hooks/src/core/ui/utils/clickOutside.js.map +1 -1
- package/dist/hooks/src/core/utils/helpers/ui.js +1 -1
- package/dist/hooks/src/core/utils/helpers/ui.js.map +1 -1
- package/dist/lib/cjs/_virtual/_rollupPluginBabelHelpers.js +1 -1
- package/dist/lib/cjs/index.css +51 -31
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/createPopper.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/dom-utils/contains.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/dom-utils/getWindow.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/modifiers/applyStyles.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/modifiers/arrow.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/modifiers/computeStyles.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/modifiers/eventListeners.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/modifiers/flip.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/modifiers/hide.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/modifiers/offset.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/popper.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/utils/computeOffsets.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/utils/debounce.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/utils/detectOverflow.js +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/utils/detectOverflow.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/utils/expandToHashMap.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/utils/mergeByName.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/utils/orderModifiers.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/utils/rectToClientRect.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/utils/userAgent.js.map +1 -1
- package/dist/lib/cjs/node_modules/@popperjs/core/lib/utils/within.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/a-callable.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/add-to-unscopables.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/an-object.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/array-includes.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/classof-raw.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/copy-constructor-properties.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/create-non-enumerable-property.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/define-built-in.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/define-global-property.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/descriptors.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/document-create-element.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/environment-user-agent.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/environment-v8-version.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/export.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/fails.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/function-bind-native.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/function-call.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/function-name.js +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/function-name.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/function-uncurry-this.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/get-built-in.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/get-method.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/has-own-property.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/html.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/ie8-dom-define.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/indexed-object.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/inspect-source.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/internal-state.js +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/internal-state.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/is-forced.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/is-object.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/is-symbol.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/length-of-array-like.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/make-built-in.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/object-create.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/object-define-properties.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/object-define-property.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/object-get-own-property-descriptor.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/object-get-own-property-names.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/object-get-own-property-symbols.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/object-is-prototype-of.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/object-keys-internal.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/object-keys.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/object-property-is-enumerable.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/ordinary-to-primitive.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/own-keys.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/require-object-coercible.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/shared-key.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/shared-store.js +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/shared-store.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/shared.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/symbol-constructor-detection.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/to-absolute-index.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/to-indexed-object.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/to-integer-or-infinity.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/to-length.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/to-object.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/to-primitive.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/to-property-key.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/try-to-string.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/uid.js +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/uid.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/use-symbol-as-uid.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/v8-prototype-define-bug.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/weak-map-basic-detection.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/well-known-symbol.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/modules/es.array.includes.js +2 -0
- package/dist/lib/cjs/node_modules/core-js/modules/es.array.includes.js.map +1 -0
- package/dist/lib/cjs/node_modules/dayjs/plugin/customParseFormat.js.map +1 -1
- package/dist/lib/cjs/node_modules/dayjs/plugin/relativeTime.js.map +1 -1
- package/dist/lib/cjs/node_modules/dayjs/plugin/updateLocale.js +1 -1
- package/dist/lib/cjs/node_modules/dayjs/plugin/updateLocale.js.map +1 -1
- package/dist/lib/cjs/node_modules/gsap/CSSPlugin.js +5 -6
- package/dist/lib/cjs/node_modules/gsap/CSSPlugin.js.map +1 -1
- package/dist/lib/cjs/node_modules/gsap/gsap-core.js +4 -5
- package/dist/lib/cjs/node_modules/gsap/gsap-core.js.map +1 -1
- package/dist/lib/cjs/node_modules/gsap/index.js +1 -1
- package/dist/lib/cjs/node_modules/gsap/index.js.map +1 -1
- package/dist/lib/cjs/node_modules/lodash-es/_baseGetTag.js.map +1 -1
- package/dist/lib/cjs/node_modules/lodash-es/_getRawTag.js.map +1 -1
- package/dist/lib/cjs/node_modules/lodash-es/_root.js.map +1 -1
- package/dist/lib/cjs/node_modules/lodash-es/debounce.js.map +1 -1
- package/dist/lib/cjs/node_modules/lodash-es/isSymbol.js.map +1 -1
- package/dist/lib/cjs/node_modules/lodash-es/now.js.map +1 -1
- package/dist/lib/cjs/node_modules/lodash-es/toNumber.js.map +1 -1
- package/dist/lib/cjs/node_modules/uuid/dist/esm-browser/native.js.map +1 -1
- package/dist/lib/cjs/node_modules/uuid/dist/esm-browser/v4.js +1 -1
- package/dist/lib/cjs/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
- package/dist/lib/cjs/src/core/constants/ui.constants.js.map +1 -1
- package/dist/lib/cjs/src/core/hooks/useAnimation.js +1 -1
- package/dist/lib/cjs/src/core/hooks/useAnimation.js.map +1 -1
- package/dist/lib/cjs/src/core/hooks/useApi.js +1 -1
- package/dist/lib/cjs/src/core/hooks/useApi.js.map +1 -1
- package/dist/lib/cjs/src/core/hooks/useClassNames.js +1 -1
- package/dist/lib/cjs/src/core/hooks/useClassNames.js.map +1 -1
- package/dist/lib/cjs/src/core/hooks/useIntersectionObserver.js +1 -1
- package/dist/lib/cjs/src/core/hooks/useIntersectionObserver.js.map +1 -1
- package/dist/lib/cjs/src/core/hooks/useOutsideClick.js.map +1 -1
- package/dist/lib/cjs/src/core/hooks/useResize.js +1 -1
- package/dist/lib/cjs/src/core/hooks/useResize.js.map +1 -1
- package/dist/lib/cjs/src/core/hooks/useThemePreference.js.map +1 -1
- package/dist/lib/cjs/src/core/hooks/useToggle.js +1 -1
- package/dist/lib/cjs/src/core/hooks/useToggle.js.map +1 -1
- package/dist/lib/cjs/src/core/hooks/useToggle2.js +1 -1
- package/dist/lib/cjs/src/core/hooks/useToggle2.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/atoms/button/Button.js +1 -1
- package/dist/lib/cjs/src/core/ui/components/atoms/button/Button.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/atoms/icons.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/atoms/tag/Tag.js +1 -1
- package/dist/lib/cjs/src/core/ui/components/atoms/tag/Tag.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/atoms/tag/tag.types.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/atoms/text/Headline.js +1 -1
- package/dist/lib/cjs/src/core/ui/components/atoms/text/Headline.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/atoms/text/Link.js +1 -1
- package/dist/lib/cjs/src/core/ui/components/atoms/text/Link.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/atoms/text/Paragraph.js +1 -1
- package/dist/lib/cjs/src/core/ui/components/atoms/text/Paragraph.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/atoms/text/Text.js +1 -1
- package/dist/lib/cjs/src/core/ui/components/atoms/text/Text.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/atoms/text/anchor-link/AnchorLink.js +1 -1
- package/dist/lib/cjs/src/core/ui/components/atoms/text/anchor-link/AnchorLink.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/atoms/text/anchor-link/anchorLink.module.scss.js +1 -1
- package/dist/lib/cjs/src/core/ui/components/atoms/text/typography.module.scss.js +1 -1
- package/dist/lib/cjs/src/core/ui/components/atoms/textAndContent/TextAndContent.js +1 -1
- package/dist/lib/cjs/src/core/ui/components/atoms/textAndContent/TextAndContent.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/atoms/toggle/Toggle.js +1 -1
- package/dist/lib/cjs/src/core/ui/components/atoms/toggle/Toggle.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/atoms/toggle/toggle.module.scss.js +1 -1
- package/dist/lib/cjs/src/core/ui/components/container/CollapsibleContainer.js +1 -1
- package/dist/lib/cjs/src/core/ui/components/container/CollapsibleContainer.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/container/ResizableContainer.js +1 -1
- package/dist/lib/cjs/src/core/ui/components/container/ResizableContainer.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/container/layoutBox/LayoutBox.js +1 -1
- package/dist/lib/cjs/src/core/ui/components/container/layoutBox/LayoutBox.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/container/layoutBox/layoutBox.types.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/container/lazyComponent/LazyComponent.js +1 -1
- package/dist/lib/cjs/src/core/ui/components/container/lazyComponent/LazyComponent.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/dividers/DividerLine.js +1 -1
- package/dist/lib/cjs/src/core/ui/components/dividers/DividerLine.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/error/ErrorBoundary.js +1 -1
- package/dist/lib/cjs/src/core/ui/components/error/ErrorBoundary.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/field/Field.js +1 -1
- package/dist/lib/cjs/src/core/ui/components/field/Field.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/field/field.module.scss.js +1 -1
- package/dist/lib/cjs/src/core/ui/components/icon/Icon.js +1 -1
- package/dist/lib/cjs/src/core/ui/components/icon/Icon.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/icon/IconBase.js +1 -1
- package/dist/lib/cjs/src/core/ui/components/icon/IconBase.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/icon/IconWC.js +1 -1
- package/dist/lib/cjs/src/core/ui/components/icon/IconWC.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/icon/unifyIconUrl.js +1 -1
- package/dist/lib/cjs/src/core/ui/components/icon/unifyIconUrl.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/molecules/layouts/FlowLayout.js +1 -1
- package/dist/lib/cjs/src/core/ui/components/molecules/layouts/FlowLayout.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/molecules/popover/PopoverLite.js +1 -1
- package/dist/lib/cjs/src/core/ui/components/molecules/popover/PopoverLite.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/molecules/popover/Tooltip.js +1 -1
- package/dist/lib/cjs/src/core/ui/components/molecules/popover/Tooltip.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/molecules/popover/popover.types.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/molecules/popover/tooltip.module.scss.js +1 -1
- package/dist/lib/cjs/src/core/ui/components/molecules/popup/Popup.js +1 -1
- package/dist/lib/cjs/src/core/ui/components/molecules/popup/Popup.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/molecules/popup/popup.module.scss.js +1 -1
- package/dist/lib/cjs/src/core/ui/components/molecules/popup/popup.types.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/utils/clickOutside.js +1 -1
- package/dist/lib/cjs/src/core/ui/utils/clickOutside.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/utils/style.js +1 -1
- package/dist/lib/cjs/src/core/ui/utils/style.js.map +1 -1
- package/dist/lib/cjs/src/core/utils/appState/peregrineMQ/index.js.map +1 -1
- package/dist/lib/cjs/src/core/utils/appState/peregrineMQ/peregrineMQ.js +1 -1
- package/dist/lib/cjs/src/core/utils/appState/peregrineMQ/peregrineMQ.js.map +1 -1
- package/dist/lib/cjs/src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.js +1 -1
- package/dist/lib/cjs/src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.js.map +1 -1
- package/dist/lib/cjs/src/core/utils/appState/stateMachine/tiny-state-machine.base.js +1 -1
- package/dist/lib/cjs/src/core/utils/appState/stateMachine/tiny-state-machine.base.js.map +1 -1
- package/dist/lib/cjs/src/core/utils/appState/store/store.vanillajs.js +1 -1
- package/dist/lib/cjs/src/core/utils/appState/store/store.vanillajs.js.map +1 -1
- package/dist/lib/cjs/src/core/utils/appState/store/store.vanillajs.templates.js +1 -1
- package/dist/lib/cjs/src/core/utils/appState/store/store.vanillajs.templates.js.map +1 -1
- package/dist/lib/cjs/src/core/utils/appState/store/useStore.react.js.map +1 -1
- package/dist/lib/cjs/src/core/utils/array.js.map +1 -1
- package/dist/lib/cjs/src/core/utils/date.js +1 -1
- package/dist/lib/cjs/src/core/utils/date.js.map +1 -1
- package/dist/lib/cjs/src/core/utils/helpers/birthnumber.validator.js +1 -1
- package/dist/lib/cjs/src/core/utils/helpers/birthnumber.validator.js.map +1 -1
- package/dist/lib/cjs/src/core/utils/helpers/birthnumberCZSKvalidator.js +1 -1
- package/dist/lib/cjs/src/core/utils/helpers/birthnumberCZSKvalidator.js.map +1 -1
- package/dist/lib/cjs/src/core/utils/helpers/date.js.map +1 -1
- package/dist/lib/cjs/src/core/utils/helpers/deviceInfo.js +1 -1
- package/dist/lib/cjs/src/core/utils/helpers/deviceInfo.js.map +1 -1
- package/dist/lib/cjs/src/core/utils/helpers/emailMatcher.js +1 -1
- package/dist/lib/cjs/src/core/utils/helpers/emailMatcher.js.map +1 -1
- package/dist/lib/cjs/src/core/utils/helpers/file.js +1 -1
- package/dist/lib/cjs/src/core/utils/helpers/file.js.map +1 -1
- package/dist/lib/cjs/src/core/utils/helpers/fileValidator.js +1 -1
- package/dist/lib/cjs/src/core/utils/helpers/fileValidator.js.map +1 -1
- package/dist/lib/cjs/src/core/utils/helpers/objectOperations.js +1 -1
- package/dist/lib/cjs/src/core/utils/helpers/objectOperations.js.map +1 -1
- package/dist/lib/cjs/src/core/utils/helpers/other.js +1 -1
- package/dist/lib/cjs/src/core/utils/helpers/other.js.map +1 -1
- package/dist/lib/cjs/src/core/utils/helpers/text.js +1 -1
- package/dist/lib/cjs/src/core/utils/helpers/text.js.map +1 -1
- package/dist/lib/cjs/src/core/utils/helpers/textValueOperations.js +1 -1
- package/dist/lib/cjs/src/core/utils/helpers/textValueOperations.js.map +1 -1
- package/dist/lib/cjs/src/core/utils/helpers/ui.js +1 -1
- package/dist/lib/cjs/src/core/utils/helpers/ui.js.map +1 -1
- package/dist/lib/cjs/src/core/utils/helpers/valueOperations.js +1 -1
- package/dist/lib/cjs/src/core/utils/helpers/valueOperations.js.map +1 -1
- package/dist/lib/cjs/src/core/utils/keyExtractor.js +1 -1
- package/dist/lib/cjs/src/core/utils/keyExtractor.js.map +1 -1
- package/dist/lib/cjs/src/core/utils/webComponents/webComponent.utils.js.map +1 -1
- package/dist/lib/cjs/src/index.js +1 -1
- package/dist/lib/esm/_virtual/_rollupPluginBabelHelpers.js +1 -1
- package/dist/lib/esm/index.css +51 -31
- package/dist/lib/esm/node_modules/@popperjs/core/lib/createPopper.js.map +1 -1
- package/dist/lib/esm/node_modules/@popperjs/core/lib/dom-utils/contains.js.map +1 -1
- package/dist/lib/esm/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js +1 -1
- package/dist/lib/esm/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js.map +1 -1
- package/dist/lib/esm/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js.map +1 -1
- package/dist/lib/esm/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js.map +1 -1
- package/dist/lib/esm/node_modules/@popperjs/core/lib/dom-utils/getWindow.js.map +1 -1
- package/dist/lib/esm/node_modules/@popperjs/core/lib/modifiers/applyStyles.js.map +1 -1
- package/dist/lib/esm/node_modules/@popperjs/core/lib/modifiers/arrow.js.map +1 -1
- package/dist/lib/esm/node_modules/@popperjs/core/lib/modifiers/computeStyles.js.map +1 -1
- package/dist/lib/esm/node_modules/@popperjs/core/lib/modifiers/eventListeners.js.map +1 -1
- package/dist/lib/esm/node_modules/@popperjs/core/lib/modifiers/flip.js.map +1 -1
- package/dist/lib/esm/node_modules/@popperjs/core/lib/modifiers/hide.js.map +1 -1
- package/dist/lib/esm/node_modules/@popperjs/core/lib/modifiers/offset.js.map +1 -1
- package/dist/lib/esm/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js +1 -1
- package/dist/lib/esm/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js.map +1 -1
- package/dist/lib/esm/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js.map +1 -1
- package/dist/lib/esm/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js.map +1 -1
- package/dist/lib/esm/node_modules/@popperjs/core/lib/utils/computeOffsets.js.map +1 -1
- package/dist/lib/esm/node_modules/@popperjs/core/lib/utils/debounce.js.map +1 -1
- package/dist/lib/esm/node_modules/@popperjs/core/lib/utils/detectOverflow.js +1 -1
- package/dist/lib/esm/node_modules/@popperjs/core/lib/utils/detectOverflow.js.map +1 -1
- package/dist/lib/esm/node_modules/@popperjs/core/lib/utils/expandToHashMap.js.map +1 -1
- package/dist/lib/esm/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js.map +1 -1
- package/dist/lib/esm/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js.map +1 -1
- package/dist/lib/esm/node_modules/@popperjs/core/lib/utils/mergeByName.js.map +1 -1
- package/dist/lib/esm/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js.map +1 -1
- package/dist/lib/esm/node_modules/@popperjs/core/lib/utils/orderModifiers.js.map +1 -1
- package/dist/lib/esm/node_modules/@popperjs/core/lib/utils/rectToClientRect.js.map +1 -1
- package/dist/lib/esm/node_modules/@popperjs/core/lib/utils/userAgent.js.map +1 -1
- package/dist/lib/esm/node_modules/core-js/internals/array-includes.js.map +1 -1
- package/dist/lib/esm/node_modules/core-js/internals/classof-raw.js.map +1 -1
- package/dist/lib/esm/node_modules/core-js/internals/define-built-in.js.map +1 -1
- package/dist/lib/esm/node_modules/core-js/internals/define-global-property.js.map +1 -1
- package/dist/lib/esm/node_modules/core-js/internals/descriptors.js.map +1 -1
- package/dist/lib/esm/node_modules/core-js/internals/document-create-element.js.map +1 -1
- package/dist/lib/esm/node_modules/core-js/internals/fails.js.map +1 -1
- package/dist/lib/esm/node_modules/core-js/internals/function-bind-native.js.map +1 -1
- package/dist/lib/esm/node_modules/core-js/internals/function-call.js.map +1 -1
- package/dist/lib/esm/node_modules/core-js/internals/function-name.js +1 -1
- package/dist/lib/esm/node_modules/core-js/internals/function-name.js.map +1 -1
- package/dist/lib/esm/node_modules/core-js/internals/function-uncurry-this.js.map +1 -1
- package/dist/lib/esm/node_modules/core-js/internals/has-own-property.js.map +1 -1
- package/dist/lib/esm/node_modules/core-js/internals/inspect-source.js.map +1 -1
- package/dist/lib/esm/node_modules/core-js/internals/internal-state.js +1 -1
- package/dist/lib/esm/node_modules/core-js/internals/internal-state.js.map +1 -1
- package/dist/lib/esm/node_modules/core-js/internals/is-forced.js.map +1 -1
- package/dist/lib/esm/node_modules/core-js/internals/make-built-in.js.map +1 -1
- package/dist/lib/esm/node_modules/core-js/internals/object-create.js.map +1 -1
- package/dist/lib/esm/node_modules/core-js/internals/object-define-property.js.map +1 -1
- package/dist/lib/esm/node_modules/core-js/internals/object-get-own-property-descriptor.js.map +1 -1
- package/dist/lib/esm/node_modules/core-js/internals/object-get-own-property-names.js.map +1 -1
- package/dist/lib/esm/node_modules/core-js/internals/object-get-own-property-symbols.js.map +1 -1
- package/dist/lib/esm/node_modules/core-js/internals/object-property-is-enumerable.js.map +1 -1
- package/dist/lib/esm/node_modules/core-js/internals/shared-store.js +1 -1
- package/dist/lib/esm/node_modules/core-js/internals/shared-store.js.map +1 -1
- package/dist/lib/esm/node_modules/core-js/internals/try-to-string.js.map +1 -1
- package/dist/lib/esm/node_modules/core-js/internals/uid.js +1 -1
- package/dist/lib/esm/node_modules/core-js/internals/uid.js.map +1 -1
- package/dist/lib/esm/node_modules/core-js/modules/es.array.includes.js +2 -0
- package/dist/lib/esm/node_modules/core-js/modules/es.array.includes.js.map +1 -0
- package/dist/lib/esm/node_modules/dayjs/plugin/customParseFormat.js.map +1 -1
- package/dist/lib/esm/node_modules/dayjs/plugin/relativeTime.js +1 -1
- package/dist/lib/esm/node_modules/dayjs/plugin/relativeTime.js.map +1 -1
- package/dist/lib/esm/node_modules/dayjs/plugin/updateLocale.js +1 -1
- package/dist/lib/esm/node_modules/dayjs/plugin/updateLocale.js.map +1 -1
- package/dist/lib/esm/node_modules/gsap/CSSPlugin.js +5 -6
- package/dist/lib/esm/node_modules/gsap/CSSPlugin.js.map +1 -1
- package/dist/lib/esm/node_modules/gsap/gsap-core.js +4 -5
- package/dist/lib/esm/node_modules/gsap/gsap-core.js.map +1 -1
- package/dist/lib/esm/node_modules/gsap/index.js +1 -1
- package/dist/lib/esm/node_modules/gsap/index.js.map +1 -1
- package/dist/lib/esm/node_modules/lodash-es/_getRawTag.js.map +1 -1
- package/dist/lib/esm/node_modules/lodash-es/debounce.js.map +1 -1
- package/dist/lib/esm/node_modules/lodash-es/toNumber.js.map +1 -1
- package/dist/lib/esm/node_modules/uuid/dist/esm-browser/native.js.map +1 -1
- package/dist/lib/esm/node_modules/uuid/dist/esm-browser/v4.js +1 -1
- package/dist/lib/esm/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
- package/dist/lib/esm/src/core/constants/ui.constants.js.map +1 -1
- package/dist/lib/esm/src/core/hooks/useAnimation.js +1 -1
- package/dist/lib/esm/src/core/hooks/useAnimation.js.map +1 -1
- package/dist/lib/esm/src/core/hooks/useApi.js +1 -1
- package/dist/lib/esm/src/core/hooks/useApi.js.map +1 -1
- package/dist/lib/esm/src/core/hooks/useClassNames.js +1 -1
- package/dist/lib/esm/src/core/hooks/useClassNames.js.map +1 -1
- package/dist/lib/esm/src/core/hooks/useIntersectionObserver.js +1 -1
- package/dist/lib/esm/src/core/hooks/useIntersectionObserver.js.map +1 -1
- package/dist/lib/esm/src/core/hooks/useOutsideClick.js.map +1 -1
- package/dist/lib/esm/src/core/hooks/useParseProps.js.map +1 -1
- package/dist/lib/esm/src/core/hooks/useResize.js +1 -1
- package/dist/lib/esm/src/core/hooks/useResize.js.map +1 -1
- package/dist/lib/esm/src/core/hooks/useThemePreference.js.map +1 -1
- package/dist/lib/esm/src/core/hooks/useToggle.js +1 -1
- package/dist/lib/esm/src/core/hooks/useToggle.js.map +1 -1
- package/dist/lib/esm/src/core/hooks/useToggle2.js +1 -1
- package/dist/lib/esm/src/core/hooks/useToggle2.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/atoms/button/Button.js +1 -1
- package/dist/lib/esm/src/core/ui/components/atoms/button/Button.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/atoms/icons.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/atoms/tag/Tag.js +1 -1
- package/dist/lib/esm/src/core/ui/components/atoms/tag/Tag.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/atoms/tag/tag.types.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/atoms/text/Headline.js +1 -1
- package/dist/lib/esm/src/core/ui/components/atoms/text/Headline.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/atoms/text/Link.js +1 -1
- package/dist/lib/esm/src/core/ui/components/atoms/text/Link.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/atoms/text/Paragraph.js +1 -1
- package/dist/lib/esm/src/core/ui/components/atoms/text/Paragraph.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/atoms/text/Text.js +1 -1
- package/dist/lib/esm/src/core/ui/components/atoms/text/Text.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/atoms/text/anchor-link/AnchorLink.js +1 -1
- package/dist/lib/esm/src/core/ui/components/atoms/text/anchor-link/AnchorLink.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/atoms/text/anchor-link/anchorLink.module.scss.js +1 -1
- package/dist/lib/esm/src/core/ui/components/atoms/text/typography.module.scss.js +1 -1
- package/dist/lib/esm/src/core/ui/components/atoms/textAndContent/TextAndContent.js +1 -1
- package/dist/lib/esm/src/core/ui/components/atoms/textAndContent/TextAndContent.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/atoms/toggle/Toggle.js +1 -1
- package/dist/lib/esm/src/core/ui/components/atoms/toggle/Toggle.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/atoms/toggle/toggle.module.scss.js +1 -1
- package/dist/lib/esm/src/core/ui/components/container/CollapsibleContainer.js +1 -1
- package/dist/lib/esm/src/core/ui/components/container/CollapsibleContainer.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/container/ResizableContainer.js +1 -1
- package/dist/lib/esm/src/core/ui/components/container/ResizableContainer.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/container/layoutBox/LayoutBox.js +1 -1
- package/dist/lib/esm/src/core/ui/components/container/layoutBox/LayoutBox.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/container/layoutBox/layoutBox.types.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/container/lazyComponent/LazyComponent.js +1 -1
- package/dist/lib/esm/src/core/ui/components/container/lazyComponent/LazyComponent.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/dividers/DividerLine.js +1 -1
- package/dist/lib/esm/src/core/ui/components/dividers/DividerLine.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/error/ErrorBoundary.js +1 -1
- package/dist/lib/esm/src/core/ui/components/error/ErrorBoundary.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/field/Field.js +1 -1
- package/dist/lib/esm/src/core/ui/components/field/Field.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/field/field.module.scss.js +1 -1
- package/dist/lib/esm/src/core/ui/components/icon/Icon.js +1 -1
- package/dist/lib/esm/src/core/ui/components/icon/Icon.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/icon/IconBase.js +1 -1
- package/dist/lib/esm/src/core/ui/components/icon/IconBase.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/icon/IconWC.js +1 -1
- package/dist/lib/esm/src/core/ui/components/icon/IconWC.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/icon/unifyIconUrl.js +1 -1
- package/dist/lib/esm/src/core/ui/components/icon/unifyIconUrl.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/molecules/layouts/FlowLayout.js +1 -1
- package/dist/lib/esm/src/core/ui/components/molecules/layouts/FlowLayout.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/molecules/popover/PopoverLite.js +1 -1
- package/dist/lib/esm/src/core/ui/components/molecules/popover/PopoverLite.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/molecules/popover/Tooltip.js +1 -1
- package/dist/lib/esm/src/core/ui/components/molecules/popover/Tooltip.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/molecules/popover/popover.types.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/molecules/popover/tooltip.module.scss.js +1 -1
- package/dist/lib/esm/src/core/ui/components/molecules/popup/Popup.js +1 -1
- package/dist/lib/esm/src/core/ui/components/molecules/popup/Popup.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/molecules/popup/popup.module.scss.js +1 -1
- package/dist/lib/esm/src/core/ui/components/molecules/popup/popup.types.js.map +1 -1
- package/dist/lib/esm/src/core/ui/utils/clickOutside.js +1 -1
- package/dist/lib/esm/src/core/ui/utils/clickOutside.js.map +1 -1
- package/dist/lib/esm/src/core/ui/utils/style.js +1 -1
- package/dist/lib/esm/src/core/ui/utils/style.js.map +1 -1
- package/dist/lib/esm/src/core/utils/appState/peregrineMQ/peregrineMQ.js +1 -1
- package/dist/lib/esm/src/core/utils/appState/peregrineMQ/peregrineMQ.js.map +1 -1
- package/dist/lib/esm/src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.js +1 -1
- package/dist/lib/esm/src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.js.map +1 -1
- package/dist/lib/esm/src/core/utils/appState/stateMachine/tiny-state-machine.base.js +1 -1
- package/dist/lib/esm/src/core/utils/appState/stateMachine/tiny-state-machine.base.js.map +1 -1
- package/dist/lib/esm/src/core/utils/appState/store/store.vanillajs.js +1 -1
- package/dist/lib/esm/src/core/utils/appState/store/store.vanillajs.js.map +1 -1
- package/dist/lib/esm/src/core/utils/appState/store/store.vanillajs.templates.js +1 -1
- package/dist/lib/esm/src/core/utils/appState/store/store.vanillajs.templates.js.map +1 -1
- package/dist/lib/esm/src/core/utils/appState/store/useStore.react.js.map +1 -1
- package/dist/lib/esm/src/core/utils/array.js.map +1 -1
- package/dist/lib/esm/src/core/utils/date.js +1 -1
- package/dist/lib/esm/src/core/utils/date.js.map +1 -1
- package/dist/lib/esm/src/core/utils/helpers/birthnumber.validator.js +1 -1
- package/dist/lib/esm/src/core/utils/helpers/birthnumber.validator.js.map +1 -1
- package/dist/lib/esm/src/core/utils/helpers/birthnumberCZSKvalidator.js +1 -1
- package/dist/lib/esm/src/core/utils/helpers/birthnumberCZSKvalidator.js.map +1 -1
- package/dist/lib/esm/src/core/utils/helpers/date.js.map +1 -1
- package/dist/lib/esm/src/core/utils/helpers/deviceInfo.js +1 -1
- package/dist/lib/esm/src/core/utils/helpers/deviceInfo.js.map +1 -1
- package/dist/lib/esm/src/core/utils/helpers/emailMatcher.js +1 -1
- package/dist/lib/esm/src/core/utils/helpers/emailMatcher.js.map +1 -1
- package/dist/lib/esm/src/core/utils/helpers/file.js +1 -1
- package/dist/lib/esm/src/core/utils/helpers/file.js.map +1 -1
- package/dist/lib/esm/src/core/utils/helpers/fileValidator.js +1 -1
- package/dist/lib/esm/src/core/utils/helpers/fileValidator.js.map +1 -1
- package/dist/lib/esm/src/core/utils/helpers/objectOperations.js +1 -1
- package/dist/lib/esm/src/core/utils/helpers/objectOperations.js.map +1 -1
- package/dist/lib/esm/src/core/utils/helpers/other.js +1 -1
- package/dist/lib/esm/src/core/utils/helpers/other.js.map +1 -1
- package/dist/lib/esm/src/core/utils/helpers/text.js +1 -1
- package/dist/lib/esm/src/core/utils/helpers/text.js.map +1 -1
- package/dist/lib/esm/src/core/utils/helpers/textValueOperations.js +1 -1
- package/dist/lib/esm/src/core/utils/helpers/textValueOperations.js.map +1 -1
- package/dist/lib/esm/src/core/utils/helpers/ui.js +1 -1
- package/dist/lib/esm/src/core/utils/helpers/ui.js.map +1 -1
- package/dist/lib/esm/src/core/utils/helpers/valueOperations.js +1 -1
- package/dist/lib/esm/src/core/utils/helpers/valueOperations.js.map +1 -1
- package/dist/lib/esm/src/core/utils/keyExtractor.js +1 -1
- package/dist/lib/esm/src/core/utils/keyExtractor.js.map +1 -1
- package/dist/lib/esm/src/core/utils/webComponents/webComponent.utils.js.map +1 -1
- package/dist/lib/esm/src/index.js +1 -1
- package/dist/lib/tsconfig.tsbuildinfo +1 -1
- package/dist/types/src/core/hooks/hooks.stories.d.ts +1 -1
- package/dist/types/src/core/hooks/hooks.stories.d.ts.map +1 -1
- package/dist/types/src/core/hooks/useAnimation.d.ts.map +1 -1
- package/dist/types/src/core/hooks/useApi.d.ts.map +1 -1
- package/dist/types/src/core/hooks/useClassNames.d.ts.map +1 -1
- package/dist/types/src/core/hooks/useIntersectionObserver.d.ts.map +1 -1
- package/dist/types/src/core/hooks/useParseProps.d.ts.map +1 -1
- package/dist/types/src/core/hooks/useResize.d.ts.map +1 -1
- package/dist/types/src/core/hooks/useSetTimeout.d.ts.map +1 -1
- package/dist/types/src/core/hooks/useThemePreference.d.ts.map +1 -1
- package/dist/types/src/core/hooks/useToggle.d.ts.map +1 -1
- package/dist/types/src/core/hooks/useToggle2.d.ts.map +1 -1
- package/dist/types/src/core/ui/components/atoms/animatedSnippet/animatedSnippet.stories.d.ts +1 -1
- package/dist/types/src/core/ui/components/atoms/animatedSnippet/animatedSnippet.stories.d.ts.map +1 -1
- package/dist/types/src/core/ui/components/atoms/button/button.stories.d.ts +1 -1
- package/dist/types/src/core/ui/components/atoms/button/button.stories.d.ts.map +1 -1
- package/dist/types/src/core/ui/components/atoms/tag/tag.stories.d.ts +1 -1
- package/dist/types/src/core/ui/components/atoms/tag/tag.stories.d.ts.map +1 -1
- package/dist/types/src/core/ui/components/atoms/text/anchor-link/anchorLink.stories.d.ts +1 -1
- package/dist/types/src/core/ui/components/atoms/text/anchor-link/anchorLink.stories.d.ts.map +1 -1
- package/dist/types/src/core/ui/components/atoms/textAndContent/textAndContent.stories.d.ts +2 -2
- package/dist/types/src/core/ui/components/atoms/textAndContent/textAndContent.stories.d.ts.map +1 -1
- package/dist/types/src/core/ui/components/atoms/toggle/toggle.stories.d.ts +1 -1
- package/dist/types/src/core/ui/components/atoms/toggle/toggle.stories.d.ts.map +1 -1
- package/dist/types/src/core/ui/components/container/lazyComponent/LazyComponent.d.ts.map +1 -1
- package/dist/types/src/core/ui/components/error/errorBoundary.stories.d.ts +3 -3
- package/dist/types/src/core/ui/components/error/errorBoundary.stories.d.ts.map +1 -1
- package/dist/types/src/core/ui/components/field/Field.d.ts.map +1 -1
- package/dist/types/src/core/ui/components/icon/unifyIconUrl.d.ts.map +1 -1
- package/dist/types/src/core/ui/components/molecules/popup/popup.stories.d.ts +2 -2
- package/dist/types/src/core/ui/components/molecules/popup/popup.stories.d.ts.map +1 -1
- package/dist/types/src/core/ui/utils/clickOutside.d.ts.map +1 -1
- package/dist/types/src/core/ui/utils/style.d.ts.map +1 -1
- package/dist/types/src/core/utils/appState/peregrineMQ/peregrineMQ.d.ts.map +1 -1
- package/dist/types/src/core/utils/appState/peregrineMQ/peregrineMQ.stories.d.ts +1 -1
- package/dist/types/src/core/utils/appState/peregrineMQ/peregrineMQ.stories.d.ts.map +1 -1
- package/dist/types/src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.d.ts.map +1 -1
- package/dist/types/src/core/utils/appState/stateMachine/tiny-state-machine.base.d.ts.map +1 -1
- package/dist/types/src/core/utils/appState/store/simpleComponent/SimpleComponent.d.ts.map +1 -1
- package/dist/types/src/core/utils/appState/store/simpleComponent/SimpleComponent2.d.ts.map +1 -1
- package/dist/types/src/core/utils/appState/store/store.stories.d.ts +1 -1
- package/dist/types/src/core/utils/appState/store/store.stories.d.ts.map +1 -1
- package/dist/types/src/core/utils/appState/store/store.vanillajs.d.ts.map +1 -1
- package/dist/types/src/core/utils/appState/store/store.vanillajs.templates.d.ts.map +1 -1
- package/dist/types/src/core/utils/date.d.ts.map +1 -1
- package/dist/types/src/core/utils/decorators/convert.d.ts.map +1 -1
- package/dist/types/src/core/utils/helpers/birthnumber.validator.d.ts.map +1 -1
- package/dist/types/src/core/utils/helpers/birthnumberCZSKvalidator.d.ts.map +1 -1
- package/dist/types/src/core/utils/helpers/cancelableDelayedFunction.d.ts.map +1 -1
- package/dist/types/src/core/utils/helpers/date.d.ts.map +1 -1
- package/dist/types/src/core/utils/helpers/emailMatcher.d.ts.map +1 -1
- package/dist/types/src/core/utils/helpers/file.d.ts.map +1 -1
- package/dist/types/src/core/utils/helpers/fileValidator.d.ts.map +1 -1
- package/dist/types/src/core/utils/helpers/objectOperations.d.ts.map +1 -1
- package/dist/types/src/core/utils/helpers/other.d.ts.map +1 -1
- package/dist/types/src/core/utils/helpers/text.d.ts.map +1 -1
- package/dist/types/src/core/utils/helpers/textValueOperations.d.ts.map +1 -1
- package/dist/types/src/core/utils/helpers/ui.d.ts.map +1 -1
- package/dist/types/src/core/utils/helpers/valueOperations.d.ts.map +1 -1
- package/dist/types/src/core/utils/logger.spec.d.ts.map +1 -1
- package/dist/types/src/core/utils/test/testRenderer.d.ts.map +1 -1
- package/dist/types/src/core/utils/webComponents/webComponent.utils.d.ts.map +1 -1
- package/dist/ui/_virtual/_rollupPluginBabelHelpers.js +1 -1
- package/dist/ui/esm/_virtual/_rollupPluginBabelHelpers.js +1 -1
- package/dist/ui/esm/index.css +51 -31
- package/dist/ui/esm/node_modules/@popperjs/core/lib/createPopper.js.map +1 -1
- package/dist/ui/esm/node_modules/@popperjs/core/lib/dom-utils/contains.js.map +1 -1
- package/dist/ui/esm/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js +1 -1
- package/dist/ui/esm/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js.map +1 -1
- package/dist/ui/esm/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js.map +1 -1
- package/dist/ui/esm/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js.map +1 -1
- package/dist/ui/esm/node_modules/@popperjs/core/lib/dom-utils/getWindow.js.map +1 -1
- package/dist/ui/esm/node_modules/@popperjs/core/lib/modifiers/applyStyles.js.map +1 -1
- package/dist/ui/esm/node_modules/@popperjs/core/lib/modifiers/arrow.js.map +1 -1
- package/dist/ui/esm/node_modules/@popperjs/core/lib/modifiers/computeStyles.js.map +1 -1
- package/dist/ui/esm/node_modules/@popperjs/core/lib/modifiers/eventListeners.js.map +1 -1
- package/dist/ui/esm/node_modules/@popperjs/core/lib/modifiers/flip.js.map +1 -1
- package/dist/ui/esm/node_modules/@popperjs/core/lib/modifiers/hide.js.map +1 -1
- package/dist/ui/esm/node_modules/@popperjs/core/lib/modifiers/offset.js.map +1 -1
- package/dist/ui/esm/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js +1 -1
- package/dist/ui/esm/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js.map +1 -1
- package/dist/ui/esm/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js.map +1 -1
- package/dist/ui/esm/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js.map +1 -1
- package/dist/ui/esm/node_modules/@popperjs/core/lib/utils/computeOffsets.js.map +1 -1
- package/dist/ui/esm/node_modules/@popperjs/core/lib/utils/debounce.js.map +1 -1
- package/dist/ui/esm/node_modules/@popperjs/core/lib/utils/detectOverflow.js +1 -1
- package/dist/ui/esm/node_modules/@popperjs/core/lib/utils/detectOverflow.js.map +1 -1
- package/dist/ui/esm/node_modules/@popperjs/core/lib/utils/expandToHashMap.js.map +1 -1
- package/dist/ui/esm/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js.map +1 -1
- package/dist/ui/esm/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js.map +1 -1
- package/dist/ui/esm/node_modules/@popperjs/core/lib/utils/mergeByName.js.map +1 -1
- package/dist/ui/esm/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js.map +1 -1
- package/dist/ui/esm/node_modules/@popperjs/core/lib/utils/orderModifiers.js.map +1 -1
- package/dist/ui/esm/node_modules/@popperjs/core/lib/utils/rectToClientRect.js.map +1 -1
- package/dist/ui/esm/node_modules/@popperjs/core/lib/utils/userAgent.js.map +1 -1
- package/dist/ui/esm/node_modules/core-js/internals/array-includes.js.map +1 -1
- package/dist/ui/esm/node_modules/core-js/internals/classof-raw.js.map +1 -1
- package/dist/ui/esm/node_modules/core-js/internals/define-built-in.js.map +1 -1
- package/dist/ui/esm/node_modules/core-js/internals/define-global-property.js.map +1 -1
- package/dist/ui/esm/node_modules/core-js/internals/descriptors.js.map +1 -1
- package/dist/ui/esm/node_modules/core-js/internals/document-create-element.js.map +1 -1
- package/dist/ui/esm/node_modules/core-js/internals/fails.js.map +1 -1
- package/dist/ui/esm/node_modules/core-js/internals/function-bind-native.js.map +1 -1
- package/dist/ui/esm/node_modules/core-js/internals/function-call.js.map +1 -1
- package/dist/ui/esm/node_modules/core-js/internals/function-name.js +1 -1
- package/dist/ui/esm/node_modules/core-js/internals/function-name.js.map +1 -1
- package/dist/ui/esm/node_modules/core-js/internals/function-uncurry-this.js.map +1 -1
- package/dist/ui/esm/node_modules/core-js/internals/has-own-property.js.map +1 -1
- package/dist/ui/esm/node_modules/core-js/internals/inspect-source.js.map +1 -1
- package/dist/ui/esm/node_modules/core-js/internals/internal-state.js +1 -1
- package/dist/ui/esm/node_modules/core-js/internals/internal-state.js.map +1 -1
- package/dist/ui/esm/node_modules/core-js/internals/is-forced.js.map +1 -1
- package/dist/ui/esm/node_modules/core-js/internals/make-built-in.js.map +1 -1
- package/dist/ui/esm/node_modules/core-js/internals/object-create.js.map +1 -1
- package/dist/ui/esm/node_modules/core-js/internals/object-define-property.js.map +1 -1
- package/dist/ui/esm/node_modules/core-js/internals/object-get-own-property-descriptor.js.map +1 -1
- package/dist/ui/esm/node_modules/core-js/internals/object-get-own-property-names.js.map +1 -1
- package/dist/ui/esm/node_modules/core-js/internals/object-get-own-property-symbols.js.map +1 -1
- package/dist/ui/esm/node_modules/core-js/internals/object-property-is-enumerable.js.map +1 -1
- package/dist/ui/esm/node_modules/core-js/internals/shared-store.js +1 -1
- package/dist/ui/esm/node_modules/core-js/internals/shared-store.js.map +1 -1
- package/dist/ui/esm/node_modules/core-js/internals/try-to-string.js.map +1 -1
- package/dist/ui/esm/node_modules/core-js/internals/uid.js +1 -1
- package/dist/ui/esm/node_modules/core-js/internals/uid.js.map +1 -1
- package/dist/ui/esm/node_modules/core-js/modules/es.array.includes.js +2 -0
- package/dist/ui/esm/node_modules/core-js/modules/es.array.includes.js.map +1 -0
- package/dist/ui/esm/node_modules/lodash-es/_getRawTag.js.map +1 -1
- package/dist/ui/esm/node_modules/lodash-es/debounce.js.map +1 -1
- package/dist/ui/esm/node_modules/lodash-es/toNumber.js.map +1 -1
- package/dist/ui/esm/src/core/constants/ui.constants.js.map +1 -1
- package/dist/ui/esm/src/core/hooks/useClassNames.js +1 -1
- package/dist/ui/esm/src/core/hooks/useClassNames.js.map +1 -1
- package/dist/ui/esm/src/core/hooks/useOutsideClick.js.map +1 -1
- package/dist/ui/esm/src/core/hooks/useParseProps.js.map +1 -1
- package/dist/ui/esm/src/core/hooks/useResize.js +1 -1
- package/dist/ui/esm/src/core/hooks/useResize.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/atoms/button/Button.js +1 -1
- package/dist/ui/esm/src/core/ui/components/atoms/button/Button.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/atoms/icons.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/atoms/tag/Tag.js +1 -1
- package/dist/ui/esm/src/core/ui/components/atoms/tag/Tag.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/atoms/tag/tag.types.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/atoms/text/Headline.js +1 -1
- package/dist/ui/esm/src/core/ui/components/atoms/text/Headline.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/atoms/text/Link.js +1 -1
- package/dist/ui/esm/src/core/ui/components/atoms/text/Link.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/atoms/text/Paragraph.js +1 -1
- package/dist/ui/esm/src/core/ui/components/atoms/text/Paragraph.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/atoms/text/Text.js +1 -1
- package/dist/ui/esm/src/core/ui/components/atoms/text/Text.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/atoms/text/anchor-link/AnchorLink.js +1 -1
- package/dist/ui/esm/src/core/ui/components/atoms/text/anchor-link/AnchorLink.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/atoms/text/anchor-link/anchorLink.module.scss.js +1 -1
- package/dist/ui/esm/src/core/ui/components/atoms/text/typography.module.scss.js +1 -1
- package/dist/ui/esm/src/core/ui/components/atoms/textAndContent/TextAndContent.js +1 -1
- package/dist/ui/esm/src/core/ui/components/atoms/textAndContent/TextAndContent.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/atoms/toggle/Toggle.js +1 -1
- package/dist/ui/esm/src/core/ui/components/atoms/toggle/Toggle.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/atoms/toggle/toggle.module.scss.js +1 -1
- package/dist/ui/esm/src/core/ui/components/container/CollapsibleContainer.js +1 -1
- package/dist/ui/esm/src/core/ui/components/container/CollapsibleContainer.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/container/ResizableContainer.js +1 -1
- package/dist/ui/esm/src/core/ui/components/container/ResizableContainer.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/container/layoutBox/LayoutBox.js +1 -1
- package/dist/ui/esm/src/core/ui/components/container/layoutBox/LayoutBox.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/container/layoutBox/layoutBox.types.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/container/lazyComponent/LazyComponent.js +1 -1
- package/dist/ui/esm/src/core/ui/components/container/lazyComponent/LazyComponent.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/dividers/DividerLine.js +1 -1
- package/dist/ui/esm/src/core/ui/components/dividers/DividerLine.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/error/ErrorBoundary.js +1 -1
- package/dist/ui/esm/src/core/ui/components/error/ErrorBoundary.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/field/Field.js +1 -1
- package/dist/ui/esm/src/core/ui/components/field/Field.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/field/field.module.scss.js +1 -1
- package/dist/ui/esm/src/core/ui/components/icon/Icon.js +1 -1
- package/dist/ui/esm/src/core/ui/components/icon/Icon.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/icon/IconBase.js +1 -1
- package/dist/ui/esm/src/core/ui/components/icon/IconBase.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/icon/IconWC.js +1 -1
- package/dist/ui/esm/src/core/ui/components/icon/IconWC.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/icon/unifyIconUrl.js +1 -1
- package/dist/ui/esm/src/core/ui/components/icon/unifyIconUrl.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/molecules/layouts/FlowLayout.js +1 -1
- package/dist/ui/esm/src/core/ui/components/molecules/layouts/FlowLayout.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/molecules/popover/PopoverLite.js +1 -1
- package/dist/ui/esm/src/core/ui/components/molecules/popover/PopoverLite.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/molecules/popover/Tooltip.js +1 -1
- package/dist/ui/esm/src/core/ui/components/molecules/popover/Tooltip.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/molecules/popover/popover.types.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/molecules/popover/tooltip.module.scss.js +1 -1
- package/dist/ui/esm/src/core/ui/components/molecules/popup/Popup.js +1 -1
- package/dist/ui/esm/src/core/ui/components/molecules/popup/Popup.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/molecules/popup/popup.module.scss.js +1 -1
- package/dist/ui/esm/src/core/ui/components/molecules/popup/popup.types.js.map +1 -1
- package/dist/ui/esm/src/core/ui/index.js +1 -1
- package/dist/ui/esm/src/core/ui/utils/clickOutside.js +1 -1
- package/dist/ui/esm/src/core/ui/utils/clickOutside.js.map +1 -1
- package/dist/ui/esm/src/core/ui/utils/style.js +1 -1
- package/dist/ui/esm/src/core/ui/utils/style.js.map +1 -1
- package/dist/ui/esm/src/core/utils/helpers/text.js +1 -1
- package/dist/ui/esm/src/core/utils/helpers/text.js.map +1 -1
- package/dist/ui/esm/src/core/utils/helpers/ui.js +1 -1
- package/dist/ui/esm/src/core/utils/helpers/ui.js.map +1 -1
- package/dist/ui/esm/src/core/utils/webComponents/webComponent.utils.js.map +1 -1
- package/dist/ui/index.css +51 -31
- package/dist/ui/node_modules/@popperjs/core/lib/createPopper.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/dom-utils/contains.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/dom-utils/getWindow.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/modifiers/applyStyles.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/modifiers/arrow.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/modifiers/computeStyles.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/modifiers/eventListeners.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/modifiers/flip.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/modifiers/hide.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/modifiers/offset.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/popper.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/utils/computeOffsets.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/utils/debounce.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/utils/detectOverflow.js +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/utils/detectOverflow.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/utils/expandToHashMap.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/utils/mergeByName.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/utils/orderModifiers.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/utils/rectToClientRect.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/utils/userAgent.js.map +1 -1
- package/dist/ui/node_modules/@popperjs/core/lib/utils/within.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/a-callable.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/add-to-unscopables.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/an-object.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/array-includes.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/classof-raw.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/copy-constructor-properties.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/create-non-enumerable-property.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/define-built-in.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/define-global-property.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/descriptors.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/document-create-element.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/environment-user-agent.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/environment-v8-version.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/export.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/fails.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/function-bind-native.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/function-call.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/function-name.js +1 -1
- package/dist/ui/node_modules/core-js/internals/function-name.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/function-uncurry-this.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/get-built-in.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/get-method.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/has-own-property.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/html.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/ie8-dom-define.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/indexed-object.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/inspect-source.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/internal-state.js +1 -1
- package/dist/ui/node_modules/core-js/internals/internal-state.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/is-forced.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/is-object.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/is-symbol.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/length-of-array-like.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/make-built-in.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/object-create.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/object-define-properties.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/object-define-property.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/object-get-own-property-descriptor.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/object-get-own-property-names.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/object-get-own-property-symbols.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/object-is-prototype-of.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/object-keys-internal.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/object-keys.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/object-property-is-enumerable.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/ordinary-to-primitive.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/own-keys.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/require-object-coercible.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/shared-key.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/shared-store.js +1 -1
- package/dist/ui/node_modules/core-js/internals/shared-store.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/shared.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/symbol-constructor-detection.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/to-absolute-index.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/to-indexed-object.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/to-integer-or-infinity.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/to-length.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/to-object.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/to-primitive.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/to-property-key.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/try-to-string.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/uid.js +1 -1
- package/dist/ui/node_modules/core-js/internals/uid.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/use-symbol-as-uid.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/v8-prototype-define-bug.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/weak-map-basic-detection.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/well-known-symbol.js.map +1 -1
- package/dist/ui/node_modules/core-js/modules/es.array.includes.js +2 -0
- package/dist/ui/node_modules/core-js/modules/es.array.includes.js.map +1 -0
- package/dist/ui/node_modules/lodash-es/_baseGetTag.js.map +1 -1
- package/dist/ui/node_modules/lodash-es/_getRawTag.js.map +1 -1
- package/dist/ui/node_modules/lodash-es/_root.js.map +1 -1
- package/dist/ui/node_modules/lodash-es/debounce.js.map +1 -1
- package/dist/ui/node_modules/lodash-es/isSymbol.js.map +1 -1
- package/dist/ui/node_modules/lodash-es/now.js.map +1 -1
- package/dist/ui/node_modules/lodash-es/toNumber.js.map +1 -1
- package/dist/ui/src/core/constants/ui.constants.js.map +1 -1
- package/dist/ui/src/core/hooks/useClassNames.js +1 -1
- package/dist/ui/src/core/hooks/useClassNames.js.map +1 -1
- package/dist/ui/src/core/hooks/useOutsideClick.js.map +1 -1
- package/dist/ui/src/core/hooks/useResize.js +1 -1
- package/dist/ui/src/core/hooks/useResize.js.map +1 -1
- package/dist/ui/src/core/ui/components/atoms/button/Button.js +1 -1
- package/dist/ui/src/core/ui/components/atoms/button/Button.js.map +1 -1
- package/dist/ui/src/core/ui/components/atoms/icons.js.map +1 -1
- package/dist/ui/src/core/ui/components/atoms/tag/Tag.js +1 -1
- package/dist/ui/src/core/ui/components/atoms/tag/Tag.js.map +1 -1
- package/dist/ui/src/core/ui/components/atoms/tag/tag.types.js.map +1 -1
- package/dist/ui/src/core/ui/components/atoms/text/Headline.js +1 -1
- package/dist/ui/src/core/ui/components/atoms/text/Headline.js.map +1 -1
- package/dist/ui/src/core/ui/components/atoms/text/Link.js +1 -1
- package/dist/ui/src/core/ui/components/atoms/text/Link.js.map +1 -1
- package/dist/ui/src/core/ui/components/atoms/text/Paragraph.js +1 -1
- package/dist/ui/src/core/ui/components/atoms/text/Paragraph.js.map +1 -1
- package/dist/ui/src/core/ui/components/atoms/text/Text.js +1 -1
- package/dist/ui/src/core/ui/components/atoms/text/Text.js.map +1 -1
- package/dist/ui/src/core/ui/components/atoms/text/anchor-link/AnchorLink.js +1 -1
- package/dist/ui/src/core/ui/components/atoms/text/anchor-link/AnchorLink.js.map +1 -1
- package/dist/ui/src/core/ui/components/atoms/text/anchor-link/anchorLink.module.scss.js +1 -1
- package/dist/ui/src/core/ui/components/atoms/text/typography.module.scss.js +1 -1
- package/dist/ui/src/core/ui/components/atoms/textAndContent/TextAndContent.js +1 -1
- package/dist/ui/src/core/ui/components/atoms/textAndContent/TextAndContent.js.map +1 -1
- package/dist/ui/src/core/ui/components/atoms/toggle/Toggle.js +1 -1
- package/dist/ui/src/core/ui/components/atoms/toggle/Toggle.js.map +1 -1
- package/dist/ui/src/core/ui/components/atoms/toggle/toggle.module.scss.js +1 -1
- package/dist/ui/src/core/ui/components/container/CollapsibleContainer.js +1 -1
- package/dist/ui/src/core/ui/components/container/CollapsibleContainer.js.map +1 -1
- package/dist/ui/src/core/ui/components/container/ResizableContainer.js +1 -1
- package/dist/ui/src/core/ui/components/container/ResizableContainer.js.map +1 -1
- package/dist/ui/src/core/ui/components/container/layoutBox/LayoutBox.js +1 -1
- package/dist/ui/src/core/ui/components/container/layoutBox/LayoutBox.js.map +1 -1
- package/dist/ui/src/core/ui/components/container/layoutBox/layoutBox.types.js.map +1 -1
- package/dist/ui/src/core/ui/components/container/lazyComponent/LazyComponent.js +1 -1
- package/dist/ui/src/core/ui/components/container/lazyComponent/LazyComponent.js.map +1 -1
- package/dist/ui/src/core/ui/components/dividers/DividerLine.js +1 -1
- package/dist/ui/src/core/ui/components/dividers/DividerLine.js.map +1 -1
- package/dist/ui/src/core/ui/components/error/ErrorBoundary.js +1 -1
- package/dist/ui/src/core/ui/components/error/ErrorBoundary.js.map +1 -1
- package/dist/ui/src/core/ui/components/field/Field.js +1 -1
- package/dist/ui/src/core/ui/components/field/Field.js.map +1 -1
- package/dist/ui/src/core/ui/components/field/field.module.scss.js +1 -1
- package/dist/ui/src/core/ui/components/icon/Icon.js +1 -1
- package/dist/ui/src/core/ui/components/icon/Icon.js.map +1 -1
- package/dist/ui/src/core/ui/components/icon/IconBase.js +1 -1
- package/dist/ui/src/core/ui/components/icon/IconBase.js.map +1 -1
- package/dist/ui/src/core/ui/components/icon/IconWC.js +1 -1
- package/dist/ui/src/core/ui/components/icon/IconWC.js.map +1 -1
- package/dist/ui/src/core/ui/components/icon/unifyIconUrl.js +1 -1
- package/dist/ui/src/core/ui/components/icon/unifyIconUrl.js.map +1 -1
- package/dist/ui/src/core/ui/components/molecules/layouts/FlowLayout.js +1 -1
- package/dist/ui/src/core/ui/components/molecules/layouts/FlowLayout.js.map +1 -1
- package/dist/ui/src/core/ui/components/molecules/popover/PopoverLite.js +1 -1
- package/dist/ui/src/core/ui/components/molecules/popover/PopoverLite.js.map +1 -1
- package/dist/ui/src/core/ui/components/molecules/popover/Tooltip.js +1 -1
- package/dist/ui/src/core/ui/components/molecules/popover/Tooltip.js.map +1 -1
- package/dist/ui/src/core/ui/components/molecules/popover/popover.types.js.map +1 -1
- package/dist/ui/src/core/ui/components/molecules/popover/tooltip.module.scss.js +1 -1
- package/dist/ui/src/core/ui/components/molecules/popup/Popup.js +1 -1
- package/dist/ui/src/core/ui/components/molecules/popup/Popup.js.map +1 -1
- package/dist/ui/src/core/ui/components/molecules/popup/popup.module.scss.js +1 -1
- package/dist/ui/src/core/ui/components/molecules/popup/popup.types.js.map +1 -1
- package/dist/ui/src/core/ui/index.js +1 -1
- package/dist/ui/src/core/ui/utils/clickOutside.js +1 -1
- package/dist/ui/src/core/ui/utils/clickOutside.js.map +1 -1
- package/dist/ui/src/core/ui/utils/style.js +1 -1
- package/dist/ui/src/core/ui/utils/style.js.map +1 -1
- package/dist/ui/src/core/utils/helpers/text.js +1 -1
- package/dist/ui/src/core/utils/helpers/text.js.map +1 -1
- package/dist/ui/src/core/utils/helpers/ui.js +1 -1
- package/dist/ui/src/core/utils/helpers/ui.js.map +1 -1
- package/dist/ui/src/core/utils/webComponents/webComponent.utils.js.map +1 -1
- package/dist/utils/_virtual/_rollupPluginBabelHelpers.js +1 -1
- package/dist/utils/esm/_virtual/_rollupPluginBabelHelpers.js +1 -1
- package/dist/utils/esm/index.css +447 -427
- package/dist/utils/esm/node_modules/core-js/internals/array-includes.js.map +1 -1
- package/dist/utils/esm/node_modules/core-js/internals/classof-raw.js.map +1 -1
- package/dist/utils/esm/node_modules/core-js/internals/define-built-in.js.map +1 -1
- package/dist/utils/esm/node_modules/core-js/internals/define-global-property.js.map +1 -1
- package/dist/utils/esm/node_modules/core-js/internals/descriptors.js.map +1 -1
- package/dist/utils/esm/node_modules/core-js/internals/document-create-element.js.map +1 -1
- package/dist/utils/esm/node_modules/core-js/internals/fails.js.map +1 -1
- package/dist/utils/esm/node_modules/core-js/internals/function-bind-native.js.map +1 -1
- package/dist/utils/esm/node_modules/core-js/internals/function-call.js.map +1 -1
- package/dist/utils/esm/node_modules/core-js/internals/function-name.js +1 -1
- package/dist/utils/esm/node_modules/core-js/internals/function-name.js.map +1 -1
- package/dist/utils/esm/node_modules/core-js/internals/function-uncurry-this.js.map +1 -1
- package/dist/utils/esm/node_modules/core-js/internals/has-own-property.js.map +1 -1
- package/dist/utils/esm/node_modules/core-js/internals/inspect-source.js.map +1 -1
- package/dist/utils/esm/node_modules/core-js/internals/internal-state.js +1 -1
- package/dist/utils/esm/node_modules/core-js/internals/internal-state.js.map +1 -1
- package/dist/utils/esm/node_modules/core-js/internals/is-forced.js.map +1 -1
- package/dist/utils/esm/node_modules/core-js/internals/make-built-in.js.map +1 -1
- package/dist/utils/esm/node_modules/core-js/internals/object-create.js.map +1 -1
- package/dist/utils/esm/node_modules/core-js/internals/object-define-property.js.map +1 -1
- package/dist/utils/esm/node_modules/core-js/internals/object-get-own-property-descriptor.js.map +1 -1
- package/dist/utils/esm/node_modules/core-js/internals/object-get-own-property-names.js.map +1 -1
- package/dist/utils/esm/node_modules/core-js/internals/object-get-own-property-symbols.js.map +1 -1
- package/dist/utils/esm/node_modules/core-js/internals/object-property-is-enumerable.js.map +1 -1
- package/dist/utils/esm/node_modules/core-js/internals/shared-store.js +1 -1
- package/dist/utils/esm/node_modules/core-js/internals/shared-store.js.map +1 -1
- package/dist/utils/esm/node_modules/core-js/internals/try-to-string.js.map +1 -1
- package/dist/utils/esm/node_modules/core-js/internals/uid.js +1 -1
- package/dist/utils/esm/node_modules/core-js/internals/uid.js.map +1 -1
- package/dist/utils/esm/node_modules/core-js/modules/es.array.includes.js +2 -0
- package/dist/utils/esm/node_modules/core-js/modules/es.array.includes.js.map +1 -0
- package/dist/utils/esm/node_modules/dayjs/plugin/customParseFormat.js.map +1 -1
- package/dist/utils/esm/node_modules/dayjs/plugin/relativeTime.js +1 -1
- package/dist/utils/esm/node_modules/dayjs/plugin/relativeTime.js.map +1 -1
- package/dist/utils/esm/node_modules/dayjs/plugin/updateLocale.js +1 -1
- package/dist/utils/esm/node_modules/dayjs/plugin/updateLocale.js.map +1 -1
- package/dist/utils/esm/node_modules/uuid/dist/esm-browser/native.js.map +1 -1
- package/dist/utils/esm/node_modules/uuid/dist/esm-browser/v4.js +1 -1
- package/dist/utils/esm/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
- package/dist/utils/esm/src/core/utils/appState/peregrineMQ/peregrineMQ.js +1 -1
- package/dist/utils/esm/src/core/utils/appState/peregrineMQ/peregrineMQ.js.map +1 -1
- package/dist/utils/esm/src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.js +1 -1
- package/dist/utils/esm/src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.js.map +1 -1
- package/dist/utils/esm/src/core/utils/appState/stateMachine/tiny-state-machine.base.js +1 -1
- package/dist/utils/esm/src/core/utils/appState/stateMachine/tiny-state-machine.base.js.map +1 -1
- package/dist/utils/esm/src/core/utils/appState/store/store.vanillajs.js +1 -1
- package/dist/utils/esm/src/core/utils/appState/store/store.vanillajs.js.map +1 -1
- package/dist/utils/esm/src/core/utils/appState/store/store.vanillajs.templates.js +1 -1
- package/dist/utils/esm/src/core/utils/appState/store/store.vanillajs.templates.js.map +1 -1
- package/dist/utils/esm/src/core/utils/appState/store/useStore.react.js.map +1 -1
- package/dist/utils/esm/src/core/utils/array.js.map +1 -1
- package/dist/utils/esm/src/core/utils/date.js +1 -1
- package/dist/utils/esm/src/core/utils/date.js.map +1 -1
- package/dist/utils/esm/src/core/utils/helpers/birthnumber.validator.js +1 -1
- package/dist/utils/esm/src/core/utils/helpers/birthnumber.validator.js.map +1 -1
- package/dist/utils/esm/src/core/utils/helpers/birthnumberCZSKvalidator.js +1 -1
- package/dist/utils/esm/src/core/utils/helpers/birthnumberCZSKvalidator.js.map +1 -1
- package/dist/utils/esm/src/core/utils/helpers/date.js.map +1 -1
- package/dist/utils/esm/src/core/utils/helpers/deviceInfo.js +1 -1
- package/dist/utils/esm/src/core/utils/helpers/deviceInfo.js.map +1 -1
- package/dist/utils/esm/src/core/utils/helpers/emailMatcher.js +1 -1
- package/dist/utils/esm/src/core/utils/helpers/emailMatcher.js.map +1 -1
- package/dist/utils/esm/src/core/utils/helpers/file.js +1 -1
- package/dist/utils/esm/src/core/utils/helpers/file.js.map +1 -1
- package/dist/utils/esm/src/core/utils/helpers/fileValidator.js +1 -1
- package/dist/utils/esm/src/core/utils/helpers/fileValidator.js.map +1 -1
- package/dist/utils/esm/src/core/utils/helpers/objectOperations.js +1 -1
- package/dist/utils/esm/src/core/utils/helpers/objectOperations.js.map +1 -1
- package/dist/utils/esm/src/core/utils/helpers/other.js +1 -1
- package/dist/utils/esm/src/core/utils/helpers/other.js.map +1 -1
- package/dist/utils/esm/src/core/utils/helpers/text.js +1 -1
- package/dist/utils/esm/src/core/utils/helpers/text.js.map +1 -1
- package/dist/utils/esm/src/core/utils/helpers/textValueOperations.js +1 -1
- package/dist/utils/esm/src/core/utils/helpers/textValueOperations.js.map +1 -1
- package/dist/utils/esm/src/core/utils/helpers/ui.js +1 -1
- package/dist/utils/esm/src/core/utils/helpers/ui.js.map +1 -1
- package/dist/utils/esm/src/core/utils/helpers/valueOperations.js +1 -1
- package/dist/utils/esm/src/core/utils/helpers/valueOperations.js.map +1 -1
- package/dist/utils/esm/src/core/utils/index.js +1 -1
- package/dist/utils/esm/src/core/utils/keyExtractor.js +1 -1
- package/dist/utils/esm/src/core/utils/keyExtractor.js.map +1 -1
- package/dist/utils/esm/src/core/utils/webComponents/webComponent.utils.js.map +1 -1
- package/dist/utils/index.css +447 -427
- package/dist/utils/node_modules/core-js/internals/a-callable.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/add-to-unscopables.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/an-object.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/array-includes.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/classof-raw.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/copy-constructor-properties.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/create-non-enumerable-property.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/define-built-in.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/define-global-property.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/descriptors.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/document-create-element.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/environment-user-agent.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/environment-v8-version.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/export.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/fails.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/function-bind-native.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/function-call.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/function-name.js +1 -1
- package/dist/utils/node_modules/core-js/internals/function-name.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/function-uncurry-this.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/get-built-in.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/get-method.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/has-own-property.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/html.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/ie8-dom-define.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/indexed-object.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/inspect-source.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/internal-state.js +1 -1
- package/dist/utils/node_modules/core-js/internals/internal-state.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/is-forced.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/is-object.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/is-symbol.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/length-of-array-like.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/make-built-in.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/object-create.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/object-define-properties.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/object-define-property.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/object-get-own-property-descriptor.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/object-get-own-property-names.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/object-get-own-property-symbols.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/object-is-prototype-of.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/object-keys-internal.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/object-keys.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/object-property-is-enumerable.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/ordinary-to-primitive.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/own-keys.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/require-object-coercible.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/shared-key.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/shared-store.js +1 -1
- package/dist/utils/node_modules/core-js/internals/shared-store.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/shared.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/symbol-constructor-detection.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/to-absolute-index.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/to-indexed-object.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/to-integer-or-infinity.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/to-length.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/to-object.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/to-primitive.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/to-property-key.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/try-to-string.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/uid.js +1 -1
- package/dist/utils/node_modules/core-js/internals/uid.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/use-symbol-as-uid.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/v8-prototype-define-bug.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/weak-map-basic-detection.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/well-known-symbol.js.map +1 -1
- package/dist/utils/node_modules/core-js/modules/es.array.includes.js +2 -0
- package/dist/utils/node_modules/core-js/modules/es.array.includes.js.map +1 -0
- package/dist/utils/node_modules/dayjs/plugin/customParseFormat.js.map +1 -1
- package/dist/utils/node_modules/dayjs/plugin/relativeTime.js.map +1 -1
- package/dist/utils/node_modules/dayjs/plugin/updateLocale.js +1 -1
- package/dist/utils/node_modules/dayjs/plugin/updateLocale.js.map +1 -1
- package/dist/utils/node_modules/uuid/dist/esm-browser/native.js.map +1 -1
- package/dist/utils/node_modules/uuid/dist/esm-browser/v4.js +1 -1
- package/dist/utils/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
- package/dist/utils/src/core/utils/appState/peregrineMQ/index.js.map +1 -1
- package/dist/utils/src/core/utils/appState/peregrineMQ/peregrineMQ.js +1 -1
- package/dist/utils/src/core/utils/appState/peregrineMQ/peregrineMQ.js.map +1 -1
- package/dist/utils/src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.js +1 -1
- package/dist/utils/src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.js.map +1 -1
- package/dist/utils/src/core/utils/appState/stateMachine/tiny-state-machine.base.js +1 -1
- package/dist/utils/src/core/utils/appState/stateMachine/tiny-state-machine.base.js.map +1 -1
- package/dist/utils/src/core/utils/appState/store/store.vanillajs.js +1 -1
- package/dist/utils/src/core/utils/appState/store/store.vanillajs.js.map +1 -1
- package/dist/utils/src/core/utils/appState/store/store.vanillajs.templates.js +1 -1
- package/dist/utils/src/core/utils/appState/store/store.vanillajs.templates.js.map +1 -1
- package/dist/utils/src/core/utils/appState/store/useStore.react.js.map +1 -1
- package/dist/utils/src/core/utils/array.js.map +1 -1
- package/dist/utils/src/core/utils/date.js +1 -1
- package/dist/utils/src/core/utils/date.js.map +1 -1
- package/dist/utils/src/core/utils/helpers/birthnumber.validator.js +1 -1
- package/dist/utils/src/core/utils/helpers/birthnumber.validator.js.map +1 -1
- package/dist/utils/src/core/utils/helpers/birthnumberCZSKvalidator.js +1 -1
- package/dist/utils/src/core/utils/helpers/birthnumberCZSKvalidator.js.map +1 -1
- package/dist/utils/src/core/utils/helpers/date.js.map +1 -1
- package/dist/utils/src/core/utils/helpers/deviceInfo.js +1 -1
- package/dist/utils/src/core/utils/helpers/deviceInfo.js.map +1 -1
- package/dist/utils/src/core/utils/helpers/emailMatcher.js +1 -1
- package/dist/utils/src/core/utils/helpers/emailMatcher.js.map +1 -1
- package/dist/utils/src/core/utils/helpers/file.js +1 -1
- package/dist/utils/src/core/utils/helpers/file.js.map +1 -1
- package/dist/utils/src/core/utils/helpers/fileValidator.js +1 -1
- package/dist/utils/src/core/utils/helpers/fileValidator.js.map +1 -1
- package/dist/utils/src/core/utils/helpers/objectOperations.js +1 -1
- package/dist/utils/src/core/utils/helpers/objectOperations.js.map +1 -1
- package/dist/utils/src/core/utils/helpers/other.js +1 -1
- package/dist/utils/src/core/utils/helpers/other.js.map +1 -1
- package/dist/utils/src/core/utils/helpers/text.js +1 -1
- package/dist/utils/src/core/utils/helpers/text.js.map +1 -1
- package/dist/utils/src/core/utils/helpers/textValueOperations.js +1 -1
- package/dist/utils/src/core/utils/helpers/textValueOperations.js.map +1 -1
- package/dist/utils/src/core/utils/helpers/ui.js +1 -1
- package/dist/utils/src/core/utils/helpers/ui.js.map +1 -1
- package/dist/utils/src/core/utils/helpers/valueOperations.js +1 -1
- package/dist/utils/src/core/utils/helpers/valueOperations.js.map +1 -1
- package/dist/utils/src/core/utils/index.js +1 -1
- package/dist/utils/src/core/utils/keyExtractor.js +1 -1
- package/dist/utils/src/core/utils/keyExtractor.js.map +1 -1
- package/dist/utils/src/core/utils/webComponents/webComponent.utils.js.map +1 -1
- package/package.json +9 -1
- package/dist/hooks/_virtual/_commonjsHelpers.js +0 -2
- package/dist/hooks/_virtual/_commonjsHelpers.js.map +0 -1
- package/dist/hooks/_virtual/make-built-in.js +0 -2
- package/dist/hooks/_virtual/make-built-in.js.map +0 -1
- package/dist/hooks/_virtual/object-define-properties.js +0 -2
- package/dist/hooks/_virtual/object-define-properties.js.map +0 -1
- package/dist/hooks/_virtual/object-define-property.js +0 -2
- package/dist/hooks/_virtual/object-define-property.js.map +0 -1
- package/dist/hooks/_virtual/object-get-own-property-descriptor.js +0 -2
- package/dist/hooks/_virtual/object-get-own-property-descriptor.js.map +0 -1
- package/dist/hooks/_virtual/object-get-own-property-names.js +0 -2
- package/dist/hooks/_virtual/object-get-own-property-names.js.map +0 -1
- package/dist/hooks/_virtual/object-get-own-property-symbols.js +0 -2
- package/dist/hooks/_virtual/object-get-own-property-symbols.js.map +0 -1
- package/dist/hooks/_virtual/object-property-is-enumerable.js +0 -2
- package/dist/hooks/_virtual/object-property-is-enumerable.js.map +0 -1
- package/dist/hooks/_virtual/shared-store.js +0 -2
- package/dist/hooks/_virtual/shared-store.js.map +0 -1
- package/dist/hooks/esm/_virtual/_commonjsHelpers.js +0 -2
- package/dist/hooks/esm/_virtual/_commonjsHelpers.js.map +0 -1
- package/dist/hooks/esm/_virtual/make-built-in.js +0 -2
- package/dist/hooks/esm/_virtual/make-built-in.js.map +0 -1
- package/dist/hooks/esm/_virtual/object-define-properties.js +0 -2
- package/dist/hooks/esm/_virtual/object-define-properties.js.map +0 -1
- package/dist/hooks/esm/_virtual/object-define-property.js +0 -2
- package/dist/hooks/esm/_virtual/object-define-property.js.map +0 -1
- package/dist/hooks/esm/_virtual/object-get-own-property-descriptor.js +0 -2
- package/dist/hooks/esm/_virtual/object-get-own-property-descriptor.js.map +0 -1
- package/dist/hooks/esm/_virtual/object-get-own-property-names.js +0 -2
- package/dist/hooks/esm/_virtual/object-get-own-property-names.js.map +0 -1
- package/dist/hooks/esm/_virtual/object-get-own-property-symbols.js +0 -2
- package/dist/hooks/esm/_virtual/object-get-own-property-symbols.js.map +0 -1
- package/dist/hooks/esm/_virtual/object-property-is-enumerable.js +0 -2
- package/dist/hooks/esm/_virtual/object-property-is-enumerable.js.map +0 -1
- package/dist/hooks/esm/_virtual/shared-store.js +0 -2
- package/dist/hooks/esm/_virtual/shared-store.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/a-callable.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/a-callable.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/a-possible-prototype.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/a-possible-prototype.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/add-to-unscopables.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/add-to-unscopables.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/an-object.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/an-object.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/array-includes.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/array-includes.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/classof-raw.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/classof-raw.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/copy-constructor-properties.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/copy-constructor-properties.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/correct-prototype-getter.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/correct-prototype-getter.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/create-iter-result-object.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/create-iter-result-object.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/create-non-enumerable-property.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/create-non-enumerable-property.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/create-property-descriptor.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/create-property-descriptor.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/define-built-in.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/define-built-in.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/define-global-property.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/define-global-property.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/descriptors.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/descriptors.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/document-create-element.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/document-create-element.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/dom-iterables.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/dom-iterables.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/dom-token-list-prototype.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/dom-token-list-prototype.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/enum-bug-keys.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/enum-bug-keys.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/environment-user-agent.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/environment-user-agent.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/environment-v8-version.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/environment-v8-version.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/export.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/export.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/fails.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/fails.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/function-bind-native.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/function-bind-native.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/function-call.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/function-call.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/function-name.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/function-name.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/function-uncurry-this-accessor.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/function-uncurry-this-accessor.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/function-uncurry-this.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/function-uncurry-this.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/get-built-in.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/get-built-in.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/get-method.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/get-method.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/global-this.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/global-this.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/has-own-property.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/has-own-property.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/hidden-keys.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/hidden-keys.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/html.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/html.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/ie8-dom-define.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/ie8-dom-define.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/indexed-object.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/indexed-object.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/inspect-source.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/inspect-source.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/internal-state.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/internal-state.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/is-callable.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/is-callable.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/is-forced.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/is-forced.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/is-null-or-undefined.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/is-null-or-undefined.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/is-object.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/is-object.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/is-possible-prototype.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/is-possible-prototype.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/is-symbol.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/is-symbol.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/iterator-create-constructor.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/iterator-create-constructor.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/iterator-define.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/iterator-define.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/iterators-core.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/iterators-core.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/iterators.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/iterators.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/length-of-array-like.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/length-of-array-like.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/make-built-in.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/make-built-in.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/math-trunc.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/math-trunc.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/object-create.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/object-create.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/object-define-properties.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/object-define-properties.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/object-define-property.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/object-define-property.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/object-get-own-property-descriptor.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/object-get-own-property-descriptor.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/object-get-own-property-names.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/object-get-own-property-names.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/object-get-own-property-symbols.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/object-get-own-property-symbols.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/object-get-prototype-of.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/object-get-prototype-of.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/object-is-prototype-of.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/object-is-prototype-of.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/object-keys-internal.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/object-keys-internal.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/object-keys.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/object-keys.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/object-property-is-enumerable.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/object-property-is-enumerable.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/object-set-prototype-of.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/object-set-prototype-of.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/ordinary-to-primitive.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/ordinary-to-primitive.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/own-keys.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/own-keys.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/require-object-coercible.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/require-object-coercible.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/set-to-string-tag.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/set-to-string-tag.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/shared-key.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/shared-key.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/shared-store.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/shared-store.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/shared.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/shared.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/symbol-constructor-detection.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/symbol-constructor-detection.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/to-absolute-index.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/to-absolute-index.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/to-indexed-object.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/to-indexed-object.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/to-integer-or-infinity.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/to-integer-or-infinity.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/to-length.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/to-length.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/to-object.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/to-object.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/to-primitive.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/to-primitive.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/to-property-key.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/to-property-key.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/try-to-string.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/try-to-string.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/uid.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/uid.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/use-symbol-as-uid.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/use-symbol-as-uid.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/v8-prototype-define-bug.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/v8-prototype-define-bug.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/weak-map-basic-detection.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/weak-map-basic-detection.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/internals/well-known-symbol.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/internals/well-known-symbol.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/modules/es.array.iterator.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/modules/es.array.iterator.js.map +0 -1
- package/dist/hooks/esm/node_modules/core-js/modules/web.dom-collections.iterator.js +0 -2
- package/dist/hooks/esm/node_modules/core-js/modules/web.dom-collections.iterator.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/a-callable.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/a-callable.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/a-possible-prototype.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/a-possible-prototype.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/add-to-unscopables.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/add-to-unscopables.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/an-object.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/an-object.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/array-includes.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/array-includes.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/classof-raw.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/classof-raw.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/copy-constructor-properties.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/copy-constructor-properties.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/correct-prototype-getter.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/correct-prototype-getter.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/create-iter-result-object.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/create-iter-result-object.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/create-non-enumerable-property.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/create-non-enumerable-property.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/create-property-descriptor.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/create-property-descriptor.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/define-built-in.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/define-built-in.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/define-global-property.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/define-global-property.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/descriptors.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/descriptors.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/document-create-element.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/document-create-element.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/dom-iterables.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/dom-iterables.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/dom-token-list-prototype.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/dom-token-list-prototype.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/enum-bug-keys.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/enum-bug-keys.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/environment-user-agent.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/environment-user-agent.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/environment-v8-version.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/environment-v8-version.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/export.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/export.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/fails.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/fails.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/function-bind-native.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/function-bind-native.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/function-call.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/function-call.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/function-name.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/function-name.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/function-uncurry-this-accessor.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/function-uncurry-this-accessor.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/function-uncurry-this.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/function-uncurry-this.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/get-built-in.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/get-built-in.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/get-method.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/get-method.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/global-this.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/global-this.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/has-own-property.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/has-own-property.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/hidden-keys.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/hidden-keys.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/html.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/html.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/ie8-dom-define.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/ie8-dom-define.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/indexed-object.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/indexed-object.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/inspect-source.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/inspect-source.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/internal-state.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/internal-state.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/is-callable.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/is-callable.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/is-forced.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/is-forced.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/is-null-or-undefined.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/is-null-or-undefined.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/is-object.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/is-object.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/is-possible-prototype.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/is-possible-prototype.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/is-symbol.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/is-symbol.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/iterator-create-constructor.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/iterator-create-constructor.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/iterator-define.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/iterator-define.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/iterators-core.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/iterators-core.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/iterators.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/iterators.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/length-of-array-like.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/length-of-array-like.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/make-built-in.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/make-built-in.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/math-trunc.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/math-trunc.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/object-create.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/object-create.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/object-define-properties.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/object-define-properties.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/object-define-property.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/object-define-property.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/object-get-own-property-descriptor.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/object-get-own-property-descriptor.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/object-get-own-property-names.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/object-get-own-property-names.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/object-get-own-property-symbols.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/object-get-own-property-symbols.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/object-get-prototype-of.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/object-get-prototype-of.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/object-is-prototype-of.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/object-is-prototype-of.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/object-keys-internal.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/object-keys-internal.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/object-keys.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/object-keys.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/object-property-is-enumerable.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/object-property-is-enumerable.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/object-set-prototype-of.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/object-set-prototype-of.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/ordinary-to-primitive.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/ordinary-to-primitive.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/own-keys.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/own-keys.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/require-object-coercible.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/require-object-coercible.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/set-to-string-tag.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/set-to-string-tag.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/shared-key.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/shared-key.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/shared-store.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/shared-store.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/shared.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/shared.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/symbol-constructor-detection.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/symbol-constructor-detection.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/to-absolute-index.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/to-absolute-index.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/to-indexed-object.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/to-indexed-object.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/to-integer-or-infinity.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/to-integer-or-infinity.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/to-length.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/to-length.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/to-object.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/to-object.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/to-primitive.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/to-primitive.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/to-property-key.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/to-property-key.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/try-to-string.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/try-to-string.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/uid.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/uid.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/use-symbol-as-uid.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/use-symbol-as-uid.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/v8-prototype-define-bug.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/v8-prototype-define-bug.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/weak-map-basic-detection.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/weak-map-basic-detection.js.map +0 -1
- package/dist/hooks/node_modules/core-js/internals/well-known-symbol.js +0 -2
- package/dist/hooks/node_modules/core-js/internals/well-known-symbol.js.map +0 -1
- package/dist/hooks/node_modules/core-js/modules/es.array.iterator.js +0 -2
- package/dist/hooks/node_modules/core-js/modules/es.array.iterator.js.map +0 -1
- package/dist/hooks/node_modules/core-js/modules/web.dom-collections.iterator.js +0 -2
- package/dist/hooks/node_modules/core-js/modules/web.dom-collections.iterator.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/internals/a-possible-prototype.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/internals/a-possible-prototype.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/internals/advance-string-index.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/internals/advance-string-index.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/internals/classof.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/internals/classof.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/internals/correct-prototype-getter.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/internals/correct-prototype-getter.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/internals/create-iter-result-object.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/internals/create-iter-result-object.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/internals/define-built-in-accessor.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/internals/define-built-in-accessor.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/internals/dom-iterables.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/internals/dom-iterables.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/internals/dom-token-list-prototype.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/internals/dom-token-list-prototype.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/internals/function-apply.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/internals/function-apply.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/internals/function-uncurry-this-accessor.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/internals/function-uncurry-this-accessor.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/internals/get-substitution.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/internals/get-substitution.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/internals/inherit-if-required.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/internals/inherit-if-required.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/internals/is-possible-prototype.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/internals/is-possible-prototype.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/internals/is-regexp.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/internals/is-regexp.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/internals/iterator-create-constructor.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/internals/iterator-create-constructor.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/internals/iterator-define.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/internals/iterator-define.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/internals/iterators-core.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/internals/iterators-core.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/internals/iterators.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/internals/iterators.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/internals/object-get-prototype-of.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/internals/object-get-prototype-of.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/internals/object-set-prototype-of.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/internals/object-set-prototype-of.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/internals/proxy-accessor.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/internals/proxy-accessor.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/internals/regexp-exec-abstract.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/internals/regexp-exec-abstract.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/internals/regexp-exec.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/internals/regexp-exec.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/internals/regexp-flags.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/internals/regexp-flags.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/internals/regexp-get-flags.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/internals/regexp-get-flags.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/internals/regexp-sticky-helpers.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/internals/regexp-sticky-helpers.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/internals/regexp-unsupported-dot-all.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/internals/regexp-unsupported-dot-all.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/internals/regexp-unsupported-ncg.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/internals/regexp-unsupported-ncg.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/internals/set-species.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/internals/set-species.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/internals/set-to-string-tag.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/internals/set-to-string-tag.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/internals/string-multibyte.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/internals/string-multibyte.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/internals/string-trim-forced.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/internals/string-trim-forced.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/internals/string-trim.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/internals/string-trim.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/internals/to-string-tag-support.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/internals/to-string-tag-support.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/internals/to-string.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/internals/to-string.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/internals/whitespaces.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/internals/whitespaces.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/modules/es.array.iterator.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/modules/es.array.iterator.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/modules/es.regexp.constructor.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/modules/es.regexp.constructor.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/modules/es.regexp.exec.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/modules/es.regexp.exec.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/modules/es.string.replace-all.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/modules/es.string.replace-all.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/modules/es.string.replace.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/modules/es.string.replace.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/modules/es.string.trim.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/modules/es.string.trim.js.map +0 -1
- package/dist/lib/cjs/node_modules/core-js/modules/web.dom-collections.iterator.js +0 -2
- package/dist/lib/cjs/node_modules/core-js/modules/web.dom-collections.iterator.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/internals/a-possible-prototype.js +0 -2
- package/dist/lib/esm/node_modules/core-js/internals/a-possible-prototype.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/internals/advance-string-index.js +0 -2
- package/dist/lib/esm/node_modules/core-js/internals/advance-string-index.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/internals/classof.js +0 -2
- package/dist/lib/esm/node_modules/core-js/internals/classof.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/internals/correct-prototype-getter.js +0 -2
- package/dist/lib/esm/node_modules/core-js/internals/correct-prototype-getter.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/internals/create-iter-result-object.js +0 -2
- package/dist/lib/esm/node_modules/core-js/internals/create-iter-result-object.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/internals/define-built-in-accessor.js +0 -2
- package/dist/lib/esm/node_modules/core-js/internals/define-built-in-accessor.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/internals/dom-iterables.js +0 -2
- package/dist/lib/esm/node_modules/core-js/internals/dom-iterables.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/internals/dom-token-list-prototype.js +0 -2
- package/dist/lib/esm/node_modules/core-js/internals/dom-token-list-prototype.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js +0 -2
- package/dist/lib/esm/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/internals/function-apply.js +0 -2
- package/dist/lib/esm/node_modules/core-js/internals/function-apply.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/internals/function-uncurry-this-accessor.js +0 -2
- package/dist/lib/esm/node_modules/core-js/internals/function-uncurry-this-accessor.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/internals/get-substitution.js +0 -2
- package/dist/lib/esm/node_modules/core-js/internals/get-substitution.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/internals/inherit-if-required.js +0 -2
- package/dist/lib/esm/node_modules/core-js/internals/inherit-if-required.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/internals/is-possible-prototype.js +0 -2
- package/dist/lib/esm/node_modules/core-js/internals/is-possible-prototype.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/internals/is-regexp.js +0 -2
- package/dist/lib/esm/node_modules/core-js/internals/is-regexp.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/internals/iterator-create-constructor.js +0 -2
- package/dist/lib/esm/node_modules/core-js/internals/iterator-create-constructor.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/internals/iterator-define.js +0 -2
- package/dist/lib/esm/node_modules/core-js/internals/iterator-define.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/internals/iterators-core.js +0 -2
- package/dist/lib/esm/node_modules/core-js/internals/iterators-core.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/internals/iterators.js +0 -2
- package/dist/lib/esm/node_modules/core-js/internals/iterators.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/internals/object-get-prototype-of.js +0 -2
- package/dist/lib/esm/node_modules/core-js/internals/object-get-prototype-of.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/internals/object-set-prototype-of.js +0 -2
- package/dist/lib/esm/node_modules/core-js/internals/object-set-prototype-of.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/internals/proxy-accessor.js +0 -2
- package/dist/lib/esm/node_modules/core-js/internals/proxy-accessor.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/internals/regexp-exec-abstract.js +0 -2
- package/dist/lib/esm/node_modules/core-js/internals/regexp-exec-abstract.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/internals/regexp-exec.js +0 -2
- package/dist/lib/esm/node_modules/core-js/internals/regexp-exec.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/internals/regexp-flags.js +0 -2
- package/dist/lib/esm/node_modules/core-js/internals/regexp-flags.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/internals/regexp-get-flags.js +0 -2
- package/dist/lib/esm/node_modules/core-js/internals/regexp-get-flags.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/internals/regexp-sticky-helpers.js +0 -2
- package/dist/lib/esm/node_modules/core-js/internals/regexp-sticky-helpers.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/internals/regexp-unsupported-dot-all.js +0 -2
- package/dist/lib/esm/node_modules/core-js/internals/regexp-unsupported-dot-all.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/internals/regexp-unsupported-ncg.js +0 -2
- package/dist/lib/esm/node_modules/core-js/internals/regexp-unsupported-ncg.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/internals/set-species.js +0 -2
- package/dist/lib/esm/node_modules/core-js/internals/set-species.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/internals/set-to-string-tag.js +0 -2
- package/dist/lib/esm/node_modules/core-js/internals/set-to-string-tag.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/internals/string-multibyte.js +0 -2
- package/dist/lib/esm/node_modules/core-js/internals/string-multibyte.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/internals/string-trim-forced.js +0 -2
- package/dist/lib/esm/node_modules/core-js/internals/string-trim-forced.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/internals/string-trim.js +0 -2
- package/dist/lib/esm/node_modules/core-js/internals/string-trim.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/internals/to-string-tag-support.js +0 -2
- package/dist/lib/esm/node_modules/core-js/internals/to-string-tag-support.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/internals/to-string.js +0 -2
- package/dist/lib/esm/node_modules/core-js/internals/to-string.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/internals/whitespaces.js +0 -2
- package/dist/lib/esm/node_modules/core-js/internals/whitespaces.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/modules/es.array.iterator.js +0 -2
- package/dist/lib/esm/node_modules/core-js/modules/es.array.iterator.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/modules/es.regexp.constructor.js +0 -2
- package/dist/lib/esm/node_modules/core-js/modules/es.regexp.constructor.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/modules/es.regexp.exec.js +0 -2
- package/dist/lib/esm/node_modules/core-js/modules/es.regexp.exec.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/modules/es.string.replace-all.js +0 -2
- package/dist/lib/esm/node_modules/core-js/modules/es.string.replace-all.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/modules/es.string.replace.js +0 -2
- package/dist/lib/esm/node_modules/core-js/modules/es.string.replace.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/modules/es.string.trim.js +0 -2
- package/dist/lib/esm/node_modules/core-js/modules/es.string.trim.js.map +0 -1
- package/dist/lib/esm/node_modules/core-js/modules/web.dom-collections.iterator.js +0 -2
- package/dist/lib/esm/node_modules/core-js/modules/web.dom-collections.iterator.js.map +0 -1
- package/dist/ui/esm/node_modules/core-js/internals/a-possible-prototype.js +0 -2
- package/dist/ui/esm/node_modules/core-js/internals/a-possible-prototype.js.map +0 -1
- package/dist/ui/esm/node_modules/core-js/internals/advance-string-index.js +0 -2
- package/dist/ui/esm/node_modules/core-js/internals/advance-string-index.js.map +0 -1
- package/dist/ui/esm/node_modules/core-js/internals/classof.js +0 -2
- package/dist/ui/esm/node_modules/core-js/internals/classof.js.map +0 -1
- package/dist/ui/esm/node_modules/core-js/internals/correct-prototype-getter.js +0 -2
- package/dist/ui/esm/node_modules/core-js/internals/correct-prototype-getter.js.map +0 -1
- package/dist/ui/esm/node_modules/core-js/internals/create-iter-result-object.js +0 -2
- package/dist/ui/esm/node_modules/core-js/internals/create-iter-result-object.js.map +0 -1
- package/dist/ui/esm/node_modules/core-js/internals/dom-iterables.js +0 -2
- package/dist/ui/esm/node_modules/core-js/internals/dom-iterables.js.map +0 -1
- package/dist/ui/esm/node_modules/core-js/internals/dom-token-list-prototype.js +0 -2
- package/dist/ui/esm/node_modules/core-js/internals/dom-token-list-prototype.js.map +0 -1
- package/dist/ui/esm/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js +0 -2
- package/dist/ui/esm/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js.map +0 -1
- package/dist/ui/esm/node_modules/core-js/internals/function-apply.js +0 -2
- package/dist/ui/esm/node_modules/core-js/internals/function-apply.js.map +0 -1
- package/dist/ui/esm/node_modules/core-js/internals/function-uncurry-this-accessor.js +0 -2
- package/dist/ui/esm/node_modules/core-js/internals/function-uncurry-this-accessor.js.map +0 -1
- package/dist/ui/esm/node_modules/core-js/internals/get-substitution.js +0 -2
- package/dist/ui/esm/node_modules/core-js/internals/get-substitution.js.map +0 -1
- package/dist/ui/esm/node_modules/core-js/internals/is-possible-prototype.js +0 -2
- package/dist/ui/esm/node_modules/core-js/internals/is-possible-prototype.js.map +0 -1
- package/dist/ui/esm/node_modules/core-js/internals/is-regexp.js +0 -2
- package/dist/ui/esm/node_modules/core-js/internals/is-regexp.js.map +0 -1
- package/dist/ui/esm/node_modules/core-js/internals/iterator-create-constructor.js +0 -2
- package/dist/ui/esm/node_modules/core-js/internals/iterator-create-constructor.js.map +0 -1
- package/dist/ui/esm/node_modules/core-js/internals/iterator-define.js +0 -2
- package/dist/ui/esm/node_modules/core-js/internals/iterator-define.js.map +0 -1
- package/dist/ui/esm/node_modules/core-js/internals/iterators-core.js +0 -2
- package/dist/ui/esm/node_modules/core-js/internals/iterators-core.js.map +0 -1
- package/dist/ui/esm/node_modules/core-js/internals/iterators.js +0 -2
- package/dist/ui/esm/node_modules/core-js/internals/iterators.js.map +0 -1
- package/dist/ui/esm/node_modules/core-js/internals/object-get-prototype-of.js +0 -2
- package/dist/ui/esm/node_modules/core-js/internals/object-get-prototype-of.js.map +0 -1
- package/dist/ui/esm/node_modules/core-js/internals/object-set-prototype-of.js +0 -2
- package/dist/ui/esm/node_modules/core-js/internals/object-set-prototype-of.js.map +0 -1
- package/dist/ui/esm/node_modules/core-js/internals/regexp-exec-abstract.js +0 -2
- package/dist/ui/esm/node_modules/core-js/internals/regexp-exec-abstract.js.map +0 -1
- package/dist/ui/esm/node_modules/core-js/internals/regexp-exec.js +0 -2
- package/dist/ui/esm/node_modules/core-js/internals/regexp-exec.js.map +0 -1
- package/dist/ui/esm/node_modules/core-js/internals/regexp-flags.js +0 -2
- package/dist/ui/esm/node_modules/core-js/internals/regexp-flags.js.map +0 -1
- package/dist/ui/esm/node_modules/core-js/internals/regexp-get-flags.js +0 -2
- package/dist/ui/esm/node_modules/core-js/internals/regexp-get-flags.js.map +0 -1
- package/dist/ui/esm/node_modules/core-js/internals/regexp-sticky-helpers.js +0 -2
- package/dist/ui/esm/node_modules/core-js/internals/regexp-sticky-helpers.js.map +0 -1
- package/dist/ui/esm/node_modules/core-js/internals/regexp-unsupported-dot-all.js +0 -2
- package/dist/ui/esm/node_modules/core-js/internals/regexp-unsupported-dot-all.js.map +0 -1
- package/dist/ui/esm/node_modules/core-js/internals/regexp-unsupported-ncg.js +0 -2
- package/dist/ui/esm/node_modules/core-js/internals/regexp-unsupported-ncg.js.map +0 -1
- package/dist/ui/esm/node_modules/core-js/internals/set-to-string-tag.js +0 -2
- package/dist/ui/esm/node_modules/core-js/internals/set-to-string-tag.js.map +0 -1
- package/dist/ui/esm/node_modules/core-js/internals/string-multibyte.js +0 -2
- package/dist/ui/esm/node_modules/core-js/internals/string-multibyte.js.map +0 -1
- package/dist/ui/esm/node_modules/core-js/internals/to-string-tag-support.js +0 -2
- package/dist/ui/esm/node_modules/core-js/internals/to-string-tag-support.js.map +0 -1
- package/dist/ui/esm/node_modules/core-js/internals/to-string.js +0 -2
- package/dist/ui/esm/node_modules/core-js/internals/to-string.js.map +0 -1
- package/dist/ui/esm/node_modules/core-js/modules/es.array.iterator.js +0 -2
- package/dist/ui/esm/node_modules/core-js/modules/es.array.iterator.js.map +0 -1
- package/dist/ui/esm/node_modules/core-js/modules/es.regexp.exec.js +0 -2
- package/dist/ui/esm/node_modules/core-js/modules/es.regexp.exec.js.map +0 -1
- package/dist/ui/esm/node_modules/core-js/modules/es.string.replace-all.js +0 -2
- package/dist/ui/esm/node_modules/core-js/modules/es.string.replace-all.js.map +0 -1
- package/dist/ui/esm/node_modules/core-js/modules/es.string.replace.js +0 -2
- package/dist/ui/esm/node_modules/core-js/modules/es.string.replace.js.map +0 -1
- package/dist/ui/esm/node_modules/core-js/modules/web.dom-collections.iterator.js +0 -2
- package/dist/ui/esm/node_modules/core-js/modules/web.dom-collections.iterator.js.map +0 -1
- package/dist/ui/node_modules/core-js/internals/a-possible-prototype.js +0 -2
- package/dist/ui/node_modules/core-js/internals/a-possible-prototype.js.map +0 -1
- package/dist/ui/node_modules/core-js/internals/advance-string-index.js +0 -2
- package/dist/ui/node_modules/core-js/internals/advance-string-index.js.map +0 -1
- package/dist/ui/node_modules/core-js/internals/classof.js +0 -2
- package/dist/ui/node_modules/core-js/internals/classof.js.map +0 -1
- package/dist/ui/node_modules/core-js/internals/correct-prototype-getter.js +0 -2
- package/dist/ui/node_modules/core-js/internals/correct-prototype-getter.js.map +0 -1
- package/dist/ui/node_modules/core-js/internals/create-iter-result-object.js +0 -2
- package/dist/ui/node_modules/core-js/internals/create-iter-result-object.js.map +0 -1
- package/dist/ui/node_modules/core-js/internals/dom-iterables.js +0 -2
- package/dist/ui/node_modules/core-js/internals/dom-iterables.js.map +0 -1
- package/dist/ui/node_modules/core-js/internals/dom-token-list-prototype.js +0 -2
- package/dist/ui/node_modules/core-js/internals/dom-token-list-prototype.js.map +0 -1
- package/dist/ui/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js +0 -2
- package/dist/ui/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js.map +0 -1
- package/dist/ui/node_modules/core-js/internals/function-apply.js +0 -2
- package/dist/ui/node_modules/core-js/internals/function-apply.js.map +0 -1
- package/dist/ui/node_modules/core-js/internals/function-uncurry-this-accessor.js +0 -2
- package/dist/ui/node_modules/core-js/internals/function-uncurry-this-accessor.js.map +0 -1
- package/dist/ui/node_modules/core-js/internals/get-substitution.js +0 -2
- package/dist/ui/node_modules/core-js/internals/get-substitution.js.map +0 -1
- package/dist/ui/node_modules/core-js/internals/is-possible-prototype.js +0 -2
- package/dist/ui/node_modules/core-js/internals/is-possible-prototype.js.map +0 -1
- package/dist/ui/node_modules/core-js/internals/is-regexp.js +0 -2
- package/dist/ui/node_modules/core-js/internals/is-regexp.js.map +0 -1
- package/dist/ui/node_modules/core-js/internals/iterator-create-constructor.js +0 -2
- package/dist/ui/node_modules/core-js/internals/iterator-create-constructor.js.map +0 -1
- package/dist/ui/node_modules/core-js/internals/iterator-define.js +0 -2
- package/dist/ui/node_modules/core-js/internals/iterator-define.js.map +0 -1
- package/dist/ui/node_modules/core-js/internals/iterators-core.js +0 -2
- package/dist/ui/node_modules/core-js/internals/iterators-core.js.map +0 -1
- package/dist/ui/node_modules/core-js/internals/iterators.js +0 -2
- package/dist/ui/node_modules/core-js/internals/iterators.js.map +0 -1
- package/dist/ui/node_modules/core-js/internals/object-get-prototype-of.js +0 -2
- package/dist/ui/node_modules/core-js/internals/object-get-prototype-of.js.map +0 -1
- package/dist/ui/node_modules/core-js/internals/object-set-prototype-of.js +0 -2
- package/dist/ui/node_modules/core-js/internals/object-set-prototype-of.js.map +0 -1
- package/dist/ui/node_modules/core-js/internals/regexp-exec-abstract.js +0 -2
- package/dist/ui/node_modules/core-js/internals/regexp-exec-abstract.js.map +0 -1
- package/dist/ui/node_modules/core-js/internals/regexp-exec.js +0 -2
- package/dist/ui/node_modules/core-js/internals/regexp-exec.js.map +0 -1
- package/dist/ui/node_modules/core-js/internals/regexp-flags.js +0 -2
- package/dist/ui/node_modules/core-js/internals/regexp-flags.js.map +0 -1
- package/dist/ui/node_modules/core-js/internals/regexp-get-flags.js +0 -2
- package/dist/ui/node_modules/core-js/internals/regexp-get-flags.js.map +0 -1
- package/dist/ui/node_modules/core-js/internals/regexp-sticky-helpers.js +0 -2
- package/dist/ui/node_modules/core-js/internals/regexp-sticky-helpers.js.map +0 -1
- package/dist/ui/node_modules/core-js/internals/regexp-unsupported-dot-all.js +0 -2
- package/dist/ui/node_modules/core-js/internals/regexp-unsupported-dot-all.js.map +0 -1
- package/dist/ui/node_modules/core-js/internals/regexp-unsupported-ncg.js +0 -2
- package/dist/ui/node_modules/core-js/internals/regexp-unsupported-ncg.js.map +0 -1
- package/dist/ui/node_modules/core-js/internals/set-to-string-tag.js +0 -2
- package/dist/ui/node_modules/core-js/internals/set-to-string-tag.js.map +0 -1
- package/dist/ui/node_modules/core-js/internals/string-multibyte.js +0 -2
- package/dist/ui/node_modules/core-js/internals/string-multibyte.js.map +0 -1
- package/dist/ui/node_modules/core-js/internals/to-string-tag-support.js +0 -2
- package/dist/ui/node_modules/core-js/internals/to-string-tag-support.js.map +0 -1
- package/dist/ui/node_modules/core-js/internals/to-string.js +0 -2
- package/dist/ui/node_modules/core-js/internals/to-string.js.map +0 -1
- package/dist/ui/node_modules/core-js/modules/es.array.iterator.js +0 -2
- package/dist/ui/node_modules/core-js/modules/es.array.iterator.js.map +0 -1
- package/dist/ui/node_modules/core-js/modules/es.regexp.exec.js +0 -2
- package/dist/ui/node_modules/core-js/modules/es.regexp.exec.js.map +0 -1
- package/dist/ui/node_modules/core-js/modules/es.string.replace-all.js +0 -2
- package/dist/ui/node_modules/core-js/modules/es.string.replace-all.js.map +0 -1
- package/dist/ui/node_modules/core-js/modules/es.string.replace.js +0 -2
- package/dist/ui/node_modules/core-js/modules/es.string.replace.js.map +0 -1
- package/dist/ui/node_modules/core-js/modules/web.dom-collections.iterator.js +0 -2
- package/dist/ui/node_modules/core-js/modules/web.dom-collections.iterator.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/internals/a-possible-prototype.js +0 -2
- package/dist/utils/esm/node_modules/core-js/internals/a-possible-prototype.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/internals/advance-string-index.js +0 -2
- package/dist/utils/esm/node_modules/core-js/internals/advance-string-index.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/internals/classof.js +0 -2
- package/dist/utils/esm/node_modules/core-js/internals/classof.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/internals/correct-prototype-getter.js +0 -2
- package/dist/utils/esm/node_modules/core-js/internals/correct-prototype-getter.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/internals/create-iter-result-object.js +0 -2
- package/dist/utils/esm/node_modules/core-js/internals/create-iter-result-object.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/internals/define-built-in-accessor.js +0 -2
- package/dist/utils/esm/node_modules/core-js/internals/define-built-in-accessor.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/internals/dom-iterables.js +0 -2
- package/dist/utils/esm/node_modules/core-js/internals/dom-iterables.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/internals/dom-token-list-prototype.js +0 -2
- package/dist/utils/esm/node_modules/core-js/internals/dom-token-list-prototype.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js +0 -2
- package/dist/utils/esm/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/internals/function-apply.js +0 -2
- package/dist/utils/esm/node_modules/core-js/internals/function-apply.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/internals/function-uncurry-this-accessor.js +0 -2
- package/dist/utils/esm/node_modules/core-js/internals/function-uncurry-this-accessor.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/internals/get-substitution.js +0 -2
- package/dist/utils/esm/node_modules/core-js/internals/get-substitution.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/internals/inherit-if-required.js +0 -2
- package/dist/utils/esm/node_modules/core-js/internals/inherit-if-required.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/internals/is-possible-prototype.js +0 -2
- package/dist/utils/esm/node_modules/core-js/internals/is-possible-prototype.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/internals/is-regexp.js +0 -2
- package/dist/utils/esm/node_modules/core-js/internals/is-regexp.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/internals/iterator-create-constructor.js +0 -2
- package/dist/utils/esm/node_modules/core-js/internals/iterator-create-constructor.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/internals/iterator-define.js +0 -2
- package/dist/utils/esm/node_modules/core-js/internals/iterator-define.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/internals/iterators-core.js +0 -2
- package/dist/utils/esm/node_modules/core-js/internals/iterators-core.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/internals/iterators.js +0 -2
- package/dist/utils/esm/node_modules/core-js/internals/iterators.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/internals/object-get-prototype-of.js +0 -2
- package/dist/utils/esm/node_modules/core-js/internals/object-get-prototype-of.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/internals/object-set-prototype-of.js +0 -2
- package/dist/utils/esm/node_modules/core-js/internals/object-set-prototype-of.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/internals/proxy-accessor.js +0 -2
- package/dist/utils/esm/node_modules/core-js/internals/proxy-accessor.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/internals/regexp-exec-abstract.js +0 -2
- package/dist/utils/esm/node_modules/core-js/internals/regexp-exec-abstract.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/internals/regexp-exec.js +0 -2
- package/dist/utils/esm/node_modules/core-js/internals/regexp-exec.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/internals/regexp-flags.js +0 -2
- package/dist/utils/esm/node_modules/core-js/internals/regexp-flags.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/internals/regexp-get-flags.js +0 -2
- package/dist/utils/esm/node_modules/core-js/internals/regexp-get-flags.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/internals/regexp-sticky-helpers.js +0 -2
- package/dist/utils/esm/node_modules/core-js/internals/regexp-sticky-helpers.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/internals/regexp-unsupported-dot-all.js +0 -2
- package/dist/utils/esm/node_modules/core-js/internals/regexp-unsupported-dot-all.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/internals/regexp-unsupported-ncg.js +0 -2
- package/dist/utils/esm/node_modules/core-js/internals/regexp-unsupported-ncg.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/internals/set-species.js +0 -2
- package/dist/utils/esm/node_modules/core-js/internals/set-species.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/internals/set-to-string-tag.js +0 -2
- package/dist/utils/esm/node_modules/core-js/internals/set-to-string-tag.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/internals/string-multibyte.js +0 -2
- package/dist/utils/esm/node_modules/core-js/internals/string-multibyte.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/internals/string-trim-forced.js +0 -2
- package/dist/utils/esm/node_modules/core-js/internals/string-trim-forced.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/internals/string-trim.js +0 -2
- package/dist/utils/esm/node_modules/core-js/internals/string-trim.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/internals/to-string-tag-support.js +0 -2
- package/dist/utils/esm/node_modules/core-js/internals/to-string-tag-support.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/internals/to-string.js +0 -2
- package/dist/utils/esm/node_modules/core-js/internals/to-string.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/internals/whitespaces.js +0 -2
- package/dist/utils/esm/node_modules/core-js/internals/whitespaces.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/modules/es.array.iterator.js +0 -2
- package/dist/utils/esm/node_modules/core-js/modules/es.array.iterator.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/modules/es.regexp.constructor.js +0 -2
- package/dist/utils/esm/node_modules/core-js/modules/es.regexp.constructor.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/modules/es.regexp.exec.js +0 -2
- package/dist/utils/esm/node_modules/core-js/modules/es.regexp.exec.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/modules/es.string.replace-all.js +0 -2
- package/dist/utils/esm/node_modules/core-js/modules/es.string.replace-all.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/modules/es.string.replace.js +0 -2
- package/dist/utils/esm/node_modules/core-js/modules/es.string.replace.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/modules/es.string.trim.js +0 -2
- package/dist/utils/esm/node_modules/core-js/modules/es.string.trim.js.map +0 -1
- package/dist/utils/esm/node_modules/core-js/modules/web.dom-collections.iterator.js +0 -2
- package/dist/utils/esm/node_modules/core-js/modules/web.dom-collections.iterator.js.map +0 -1
- package/dist/utils/node_modules/core-js/internals/a-possible-prototype.js +0 -2
- package/dist/utils/node_modules/core-js/internals/a-possible-prototype.js.map +0 -1
- package/dist/utils/node_modules/core-js/internals/advance-string-index.js +0 -2
- package/dist/utils/node_modules/core-js/internals/advance-string-index.js.map +0 -1
- package/dist/utils/node_modules/core-js/internals/classof.js +0 -2
- package/dist/utils/node_modules/core-js/internals/classof.js.map +0 -1
- package/dist/utils/node_modules/core-js/internals/correct-prototype-getter.js +0 -2
- package/dist/utils/node_modules/core-js/internals/correct-prototype-getter.js.map +0 -1
- package/dist/utils/node_modules/core-js/internals/create-iter-result-object.js +0 -2
- package/dist/utils/node_modules/core-js/internals/create-iter-result-object.js.map +0 -1
- package/dist/utils/node_modules/core-js/internals/define-built-in-accessor.js +0 -2
- package/dist/utils/node_modules/core-js/internals/define-built-in-accessor.js.map +0 -1
- package/dist/utils/node_modules/core-js/internals/dom-iterables.js +0 -2
- package/dist/utils/node_modules/core-js/internals/dom-iterables.js.map +0 -1
- package/dist/utils/node_modules/core-js/internals/dom-token-list-prototype.js +0 -2
- package/dist/utils/node_modules/core-js/internals/dom-token-list-prototype.js.map +0 -1
- package/dist/utils/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js +0 -2
- package/dist/utils/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js.map +0 -1
- package/dist/utils/node_modules/core-js/internals/function-apply.js +0 -2
- package/dist/utils/node_modules/core-js/internals/function-apply.js.map +0 -1
- package/dist/utils/node_modules/core-js/internals/function-uncurry-this-accessor.js +0 -2
- package/dist/utils/node_modules/core-js/internals/function-uncurry-this-accessor.js.map +0 -1
- package/dist/utils/node_modules/core-js/internals/get-substitution.js +0 -2
- package/dist/utils/node_modules/core-js/internals/get-substitution.js.map +0 -1
- package/dist/utils/node_modules/core-js/internals/inherit-if-required.js +0 -2
- package/dist/utils/node_modules/core-js/internals/inherit-if-required.js.map +0 -1
- package/dist/utils/node_modules/core-js/internals/is-possible-prototype.js +0 -2
- package/dist/utils/node_modules/core-js/internals/is-possible-prototype.js.map +0 -1
- package/dist/utils/node_modules/core-js/internals/is-regexp.js +0 -2
- package/dist/utils/node_modules/core-js/internals/is-regexp.js.map +0 -1
- package/dist/utils/node_modules/core-js/internals/iterator-create-constructor.js +0 -2
- package/dist/utils/node_modules/core-js/internals/iterator-create-constructor.js.map +0 -1
- package/dist/utils/node_modules/core-js/internals/iterator-define.js +0 -2
- package/dist/utils/node_modules/core-js/internals/iterator-define.js.map +0 -1
- package/dist/utils/node_modules/core-js/internals/iterators-core.js +0 -2
- package/dist/utils/node_modules/core-js/internals/iterators-core.js.map +0 -1
- package/dist/utils/node_modules/core-js/internals/iterators.js +0 -2
- package/dist/utils/node_modules/core-js/internals/iterators.js.map +0 -1
- package/dist/utils/node_modules/core-js/internals/object-get-prototype-of.js +0 -2
- package/dist/utils/node_modules/core-js/internals/object-get-prototype-of.js.map +0 -1
- package/dist/utils/node_modules/core-js/internals/object-set-prototype-of.js +0 -2
- package/dist/utils/node_modules/core-js/internals/object-set-prototype-of.js.map +0 -1
- package/dist/utils/node_modules/core-js/internals/proxy-accessor.js +0 -2
- package/dist/utils/node_modules/core-js/internals/proxy-accessor.js.map +0 -1
- package/dist/utils/node_modules/core-js/internals/regexp-exec-abstract.js +0 -2
- package/dist/utils/node_modules/core-js/internals/regexp-exec-abstract.js.map +0 -1
- package/dist/utils/node_modules/core-js/internals/regexp-exec.js +0 -2
- package/dist/utils/node_modules/core-js/internals/regexp-exec.js.map +0 -1
- package/dist/utils/node_modules/core-js/internals/regexp-flags.js +0 -2
- package/dist/utils/node_modules/core-js/internals/regexp-flags.js.map +0 -1
- package/dist/utils/node_modules/core-js/internals/regexp-get-flags.js +0 -2
- package/dist/utils/node_modules/core-js/internals/regexp-get-flags.js.map +0 -1
- package/dist/utils/node_modules/core-js/internals/regexp-sticky-helpers.js +0 -2
- package/dist/utils/node_modules/core-js/internals/regexp-sticky-helpers.js.map +0 -1
- package/dist/utils/node_modules/core-js/internals/regexp-unsupported-dot-all.js +0 -2
- package/dist/utils/node_modules/core-js/internals/regexp-unsupported-dot-all.js.map +0 -1
- package/dist/utils/node_modules/core-js/internals/regexp-unsupported-ncg.js +0 -2
- package/dist/utils/node_modules/core-js/internals/regexp-unsupported-ncg.js.map +0 -1
- package/dist/utils/node_modules/core-js/internals/set-species.js +0 -2
- package/dist/utils/node_modules/core-js/internals/set-species.js.map +0 -1
- package/dist/utils/node_modules/core-js/internals/set-to-string-tag.js +0 -2
- package/dist/utils/node_modules/core-js/internals/set-to-string-tag.js.map +0 -1
- package/dist/utils/node_modules/core-js/internals/string-multibyte.js +0 -2
- package/dist/utils/node_modules/core-js/internals/string-multibyte.js.map +0 -1
- package/dist/utils/node_modules/core-js/internals/string-trim-forced.js +0 -2
- package/dist/utils/node_modules/core-js/internals/string-trim-forced.js.map +0 -1
- package/dist/utils/node_modules/core-js/internals/string-trim.js +0 -2
- package/dist/utils/node_modules/core-js/internals/string-trim.js.map +0 -1
- package/dist/utils/node_modules/core-js/internals/to-string-tag-support.js +0 -2
- package/dist/utils/node_modules/core-js/internals/to-string-tag-support.js.map +0 -1
- package/dist/utils/node_modules/core-js/internals/to-string.js +0 -2
- package/dist/utils/node_modules/core-js/internals/to-string.js.map +0 -1
- package/dist/utils/node_modules/core-js/internals/whitespaces.js +0 -2
- package/dist/utils/node_modules/core-js/internals/whitespaces.js.map +0 -1
- package/dist/utils/node_modules/core-js/modules/es.array.iterator.js +0 -2
- package/dist/utils/node_modules/core-js/modules/es.array.iterator.js.map +0 -1
- package/dist/utils/node_modules/core-js/modules/es.regexp.constructor.js +0 -2
- package/dist/utils/node_modules/core-js/modules/es.regexp.constructor.js.map +0 -1
- package/dist/utils/node_modules/core-js/modules/es.regexp.exec.js +0 -2
- package/dist/utils/node_modules/core-js/modules/es.regexp.exec.js.map +0 -1
- package/dist/utils/node_modules/core-js/modules/es.string.replace-all.js +0 -2
- package/dist/utils/node_modules/core-js/modules/es.string.replace-all.js.map +0 -1
- package/dist/utils/node_modules/core-js/modules/es.string.replace.js +0 -2
- package/dist/utils/node_modules/core-js/modules/es.string.replace.js.map +0 -1
- package/dist/utils/node_modules/core-js/modules/es.string.trim.js +0 -2
- package/dist/utils/node_modules/core-js/modules/es.string.trim.js.map +0 -1
- package/dist/utils/node_modules/core-js/modules/web.dom-collections.iterator.js +0 -2
- package/dist/utils/node_modules/core-js/modules/web.dom-collections.iterator.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.js","sources":["../../../../../../../../../src/core/ui/components/molecules/popover/Tooltip.tsx"],"sourcesContent":["import { memo, FC, useMemo, PropsWithChildren } from 'react'\n// import { DividerHorizontal, LayoutBox, IconBase } from '@e1011/es-kit'\n\n\n\nimport { HeadlineTertiary as H3, ParagraphSmall } from '../../atoms/text'\nimport { DividerHorizontal } from '../../dividers'\nimport { LayoutBox } from '../../container'\nimport { IconBase } from '../../icon'\nimport { infoIconJSX } from '../../atoms/icons'\nimport { classNames } from '../../../../utils'\n\nimport { Popover } from './PopoverLite'\nimport { PopoverPlacement, PopoverProps } from './popover.types'\nimport classes from './tooltip.module.scss'\n\n\n/**\n\nModifiers for the Popover component used in Tooltip.\n*/\nconst popoverModifiers = [\n {\n name: 'offset',\n options: {\n offset: [0, 10],\n placement: PopoverPlacement.Top,\n },\n },\n]\n\n/**\n\nProps for the TooltipContent component.\n@typedef {Object} TooltipContentProps\n@property {ForwardedRef} forwardedRef - Forwarded ref of the TooltipContent component.\n@property {string} title - Title of the tooltip.\n@property {string} text - Text content of the tooltip.\n@property {Function} hide - Function to hide the tooltip.\n@property {boolean} showClose - Determines whether to show a close button in the tooltip.\n@extends PropsWithChildren\n*/\ntype TooltipContentProps = PropsWithChildren<any> & {\n forwardedRef: ForwardedRef\n closeIconUrl?: string\n className?: string\n title?: string\n text?: string\n hide: () => void\n showClose?: boolean\n}\n\n/**\n\n Tooltip content component used by the Tooltip component.\n @param {TooltipContentProps} props - Props for the TooltipContent component.\n @returns {JSX.Element} - Returns the JSX element for the TooltipContent component.\n */\nconst TooltipContent = ({\n forwardedRef, title, text, hide, showClose, closeIconUrl, className = '',\n}: TooltipContentProps): JSX.Element => (\n <div\n ref={forwardedRef}\n className={classNames(classes['popover-tooltip'], className)}\n >\n <div id='arrow' data-popper-arrow className={classes.arrow}>\n <div className={classes['arrow-inner']} />\n </div>\n <LayoutBox\n padding='1rem'\n direction='column'\n width='256px'\n height='unset'\n flexGrow='1'\n >\n {title && (\n <LayoutBox justify='space-between' align='start' width='100%' padding='0'>\n <H3>{title}</H3>\n {showClose && (\n <div\n onClick={hide}\n onKeyDown={hide}\n role='button'\n tabIndex={-1}\n className={classes['close-button']}\n >\n {closeIconUrl && <IconBase iconUrl={closeIconUrl} />}\n {!closeIconUrl && (\n <IconBase>\n {infoIconJSX}\n </IconBase>\n )}\n </div>\n )}\n </LayoutBox>\n )}\n {title && <DividerHorizontal margin='8px 0' />}\n {text && <ParagraphSmall element='p'>{text}</ParagraphSmall>}\n </LayoutBox>\n </div>\n)\n\n\n\n/**\n\nProps for the Tooltip component, extends PopoverProps.\n@typedef {Object} TooltipProps\n@property {Record<string, unknown>} [tooltipProps] - Additional props to be passed to the underlying Popover component.\n@extends PopoverProps\n*/\nexport type TooltipProps = PopoverProps & TooltipContentProps & {\n tooltipProps?: Record<string, unknown>\n infoIconUrl?: string\n}\n\n\n/**\n * A tooltip component that displays a short message when the user hovers or clicks on a target element.\n *\n * @param tooltipProps - Optional properties to be passed down to the `Popover` component.\n * @param components - Optional components that can be customized by the consumer.\n * @param children - The target element that the tooltip will be anchored to.\n * @param infoTip - If no `children` prop is passed in, an information icon will be used as the target element.\n * @param clickable - If `true`, the tooltip will be triggered by a click instead of a hover.\n * @param hoverable - If `true`, the tooltip will be triggered by a hover. Defaults to `true`.\n * @param placement - The placement of the tooltip relative to the target element.\n * @param modifiers - Optional modifiers to be passed down to the `Popover` component.\n */\nexport const Tooltip: FC<TooltipProps> = memo<TooltipProps>(({\n tooltipProps, components: { ContentComponent } = { ContentComponent: TooltipContent },\n infoIconUrl,\n children, infoTip, clickable = false, hoverable = true, placement = 'top', modifiers, ...props\n}: TooltipProps) => {\n const popoverComponents = useMemo(() => (ContentComponent ? {\n ContentComponent,\n } : undefined), [ContentComponent])\n\n let TargetNode: typeof children\n\n if (children) {\n TargetNode = children\n }\n if (!children && infoTip) {\n TargetNode = (\n infoIconUrl\n ? <IconBase iconUrl={infoIconUrl} size='1rem' color='#00336640' style={{ lineHeight: '1px' }} />\n : (\n <IconBase size='1rem' color='#00336640' style={{ lineHeight: '1px' }}>\n {infoIconJSX}\n </IconBase>\n )\n )\n }\n\n const mergedModifiers = useMemo(() => ([...popoverModifiers, ...(modifiers || [])]), [modifiers])\n\n return (\n <Popover\n {...props}\n {...tooltipProps}\n hoverable={hoverable}\n clickable={clickable}\n placement={placement}\n modifiers={mergedModifiers}\n components={popoverComponents}\n showClose={clickable}\n >\n {TargetNode && TargetNode}\n </Popover>\n )\n})\n\n/**\n * The display name of the Tooltip component.\n *\n * @type {string}\n */\nTooltip.displayName = 'Tooltip'\n\n"],"names":["popoverModifiers","name","options","offset","placement","PopoverPlacement","Top","TooltipContent","_ref","forwardedRef","title","text","hide","showClose","closeIconUrl","className","React","createElement","ref","classNames","classes","id","arrow","
|
|
1
|
+
{"version":3,"file":"Tooltip.js","sources":["../../../../../../../../../src/core/ui/components/molecules/popover/Tooltip.tsx"],"sourcesContent":["import { memo, FC, useMemo, PropsWithChildren } from 'react'\n// import { DividerHorizontal, LayoutBox, IconBase } from '@e1011/es-kit'\n\n\n\nimport { HeadlineTertiary as H3, ParagraphSmall } from '../../atoms/text'\nimport { DividerHorizontal } from '../../dividers'\nimport { LayoutBox } from '../../container'\nimport { IconBase } from '../../icon'\nimport { infoIconJSX } from '../../atoms/icons'\nimport { classNames } from '../../../../utils'\n\nimport { Popover } from './PopoverLite'\nimport { PopoverPlacement, PopoverProps } from './popover.types'\nimport classes from './tooltip.module.scss'\n\n\n/**\n\nModifiers for the Popover component used in Tooltip.\n*/\nconst popoverModifiers = [\n {\n name: 'offset',\n options: {\n offset: [0, 10],\n placement: PopoverPlacement.Top,\n },\n },\n]\n\n/**\n\nProps for the TooltipContent component.\n@typedef {Object} TooltipContentProps\n@property {ForwardedRef} forwardedRef - Forwarded ref of the TooltipContent component.\n@property {string} title - Title of the tooltip.\n@property {string} text - Text content of the tooltip.\n@property {Function} hide - Function to hide the tooltip.\n@property {boolean} showClose - Determines whether to show a close button in the tooltip.\n@extends PropsWithChildren\n*/\ntype TooltipContentProps = PropsWithChildren<any> & {\n forwardedRef: ForwardedRef\n closeIconUrl?: string\n className?: string\n title?: string\n text?: string\n hide: () => void\n showClose?: boolean\n}\n\n/**\n\n Tooltip content component used by the Tooltip component.\n @param {TooltipContentProps} props - Props for the TooltipContent component.\n @returns {JSX.Element} - Returns the JSX element for the TooltipContent component.\n */\nconst TooltipContent = ({\n forwardedRef, title, text, hide, showClose, closeIconUrl, className = '',\n}: TooltipContentProps): JSX.Element => (\n <div\n ref={forwardedRef}\n className={classNames(classes['popover-tooltip'], className)}\n >\n <div id='arrow' data-popper-arrow className={classes.arrow}>\n <div className={classes['arrow-inner']} />\n </div>\n <LayoutBox\n padding='1rem'\n direction='column'\n width='256px'\n height='unset'\n flexGrow='1'\n >\n {title && (\n <LayoutBox justify='space-between' align='start' width='100%' padding='0'>\n <H3>{title}</H3>\n {showClose && (\n <div\n onClick={hide}\n onKeyDown={hide}\n role='button'\n tabIndex={-1}\n className={classes['close-button']}\n >\n {closeIconUrl && <IconBase iconUrl={closeIconUrl} />}\n {!closeIconUrl && (\n <IconBase>\n {infoIconJSX}\n </IconBase>\n )}\n </div>\n )}\n </LayoutBox>\n )}\n {title && <DividerHorizontal margin='8px 0' />}\n {text && <ParagraphSmall element='p'>{text}</ParagraphSmall>}\n </LayoutBox>\n </div>\n)\n\n\n\n/**\n\nProps for the Tooltip component, extends PopoverProps.\n@typedef {Object} TooltipProps\n@property {Record<string, unknown>} [tooltipProps] - Additional props to be passed to the underlying Popover component.\n@extends PopoverProps\n*/\nexport type TooltipProps = PopoverProps & TooltipContentProps & {\n tooltipProps?: Record<string, unknown>\n infoIconUrl?: string\n}\n\n\n/**\n * A tooltip component that displays a short message when the user hovers or clicks on a target element.\n *\n * @param tooltipProps - Optional properties to be passed down to the `Popover` component.\n * @param components - Optional components that can be customized by the consumer.\n * @param children - The target element that the tooltip will be anchored to.\n * @param infoTip - If no `children` prop is passed in, an information icon will be used as the target element.\n * @param clickable - If `true`, the tooltip will be triggered by a click instead of a hover.\n * @param hoverable - If `true`, the tooltip will be triggered by a hover. Defaults to `true`.\n * @param placement - The placement of the tooltip relative to the target element.\n * @param modifiers - Optional modifiers to be passed down to the `Popover` component.\n */\nexport const Tooltip: FC<TooltipProps> = memo<TooltipProps>(({\n tooltipProps, components: { ContentComponent } = { ContentComponent: TooltipContent },\n infoIconUrl,\n children, infoTip, clickable = false, hoverable = true, placement = 'top', modifiers, ...props\n}: TooltipProps) => {\n const popoverComponents = useMemo(() => (ContentComponent ? {\n ContentComponent,\n } : undefined), [ContentComponent])\n\n let TargetNode: typeof children\n\n if (children) {\n TargetNode = children\n }\n if (!children && infoTip) {\n TargetNode = (\n infoIconUrl\n ? <IconBase iconUrl={infoIconUrl} size='1rem' color='#00336640' style={{ lineHeight: '1px' }} />\n : (\n <IconBase size='1rem' color='#00336640' style={{ lineHeight: '1px' }}>\n {infoIconJSX}\n </IconBase>\n )\n )\n }\n\n const mergedModifiers = useMemo(() => ([...popoverModifiers, ...(modifiers || [])]), [modifiers])\n\n return (\n <Popover\n {...props}\n {...tooltipProps}\n hoverable={hoverable}\n clickable={clickable}\n placement={placement}\n modifiers={mergedModifiers}\n components={popoverComponents}\n showClose={clickable}\n >\n {TargetNode && TargetNode}\n </Popover>\n )\n})\n\n/**\n * The display name of the Tooltip component.\n *\n * @type {string}\n */\nTooltip.displayName = 'Tooltip'\n\n"],"names":["popoverModifiers","name","options","offset","placement","PopoverPlacement","Top","TooltipContent","_ref","forwardedRef","title","text","hide","showClose","closeIconUrl","className","React","createElement","ref","classNames","classes","id","arrow","LayoutBox","padding","direction","width","height","flexGrow","justify","align","H3","onClick","onKeyDown","role","tabIndex","IconBase","iconUrl","infoIconJSX","DividerHorizontal","margin","ParagraphSmall","element","Tooltip","memo","_ref2","tooltipProps","components","ContentComponent","infoIconUrl","children","infoTip","clickable","hoverable","modifiers","props","popoverComponents","useMemo","undefined","TargetNode","size","color","style","lineHeight","mergedModifiers","Popover","_extends","displayName"],"mappings":"ofAqBA,MAAMA,EAAmB,CACvB,CACEC,KAAM,SACNC,QAAS,CACPC,OAAQ,CAAC,EAAG,IACZC,UAAWC,EAAAA,iBAAiBC,OAgC5BC,EAAiBC,IAAA,IAACC,aACtBA,EAAYC,MAAEA,EAAKC,KAAEA,EAAIC,KAAEA,EAAIC,UAAEA,EAASC,aAAEA,EAAYC,UAAEA,EAAY,IAClDP,EAAA,OACpBQ,MAAAC,cAAA,MAAA,CACEC,IAAKT,EACLM,UAAWI,EAAAA,WAAWC,UAAQ,mBAAoBL,IAElDC,MAAAC,cAAA,MAAA,CAAKI,GAAG,QAAQ,qBAAA,EAAkBN,UAAWK,EAAAA,QAAQE,OACnDN,MAAAC,cAAA,MAAA,CAAKF,UAAWK,EAAAA,QAAQ,kBAE1BJ,MAAAC,cAACM,YAAS,CACRC,QAAQ,OACRC,UAAU,SACVC,MAAM,QACNC,OAAO,QACPC,SAAS,KAERlB,GACCM,MAAAC,cAACM,YAAS,CAACM,QAAQ,gBAAgBC,MAAM,QAAQJ,MAAM,OAAOF,QAAQ,KACpER,MAAAC,cAACc,EAAAA,iBAAE,KAAErB,GACJG,GACCG,MAAAC,cAAA,MAAA,CACEe,QAASpB,EACTqB,UAAWrB,EACXsB,KAAK,SACLC,UAAU,EACVpB,UAAWK,EAAAA,QAAQ,iBAElBN,GAAgBE,MAAAC,cAACmB,WAAQ,CAACC,QAASvB,KAClCA,GACAE,MAAAC,cAACmB,EAAAA,SAAQ,KACNE,EAAAA,eAOZ5B,GAASM,MAAAC,cAACsB,EAAAA,kBAAiB,CAACC,OAAO,UACnC7B,GAAQK,MAAAC,cAACwB,EAAAA,eAAc,CAACC,QAAQ,KAAK/B,IAEpC,EA8BKgC,EAA4BC,EAAAA,MAAmBC,IAIxC,IAJyCC,aAC3DA,EAAcC,YAAYC,iBAAEA,GAAqB,CAAEA,iBAAkBzC,GAAgB0C,YACrFA,EAAWC,SACXA,EAAQC,QAAEA,EAAOC,UAAEA,GAAY,EAAKC,UAAEA,GAAY,EAAIjD,UAAEA,EAAY,MAAKkD,UAAEA,KAAcC,GAC5EV,EACb,MAAMW,EAAoBC,WAAQ,IAAOT,EAAmB,CAC1DA,yBACEU,GAAY,CAACV,IAEjB,IAAIW,EAEAT,IACFS,EAAaT,IAEVA,GAAYC,IACfQ,EACEV,EACIjC,MAAAC,cAACmB,EAAAA,SAAQ,CAACC,QAASY,EAAaW,KAAK,OAAOC,MAAM,YAAYC,MAAO,CAAEC,WAAY,SAEnF/C,MAAAC,cAACmB,WAAQ,CAACwB,KAAK,OAAOC,MAAM,YAAYC,MAAO,CAAEC,WAAY,QAC1DzB,gBAMX,MAAM0B,EAAkBP,EAAAA,SAAQ,IAAO,IAAIzD,KAAsBsD,GAAa,KAAO,CAACA,IAEtF,OACEtC,MAAAC,cAACgD,EAAAA,QAAOC,EAAAA,QAAA,CAAA,EACFX,EACAT,EAAY,CAChBO,UAAWA,EACXD,UAAWA,EACXhD,UAAWA,EACXkD,UAAWU,EACXjB,WAAYS,EACZ3C,UAAWuC,IAEVO,GAAcA,EACP,IASdhB,EAAQwB,YAAc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover.types.js","sources":["../../../../../../../../../src/core/ui/components/molecules/popover/popover.types.ts"],"sourcesContent":["import { Options, Placement } from '@popperjs/core'\nimport { ReactNode, ReactElement, ComponentType, RefObject } from 'react'\n\n\nexport type PopoverProps = Record<string, unknown> & {\n children?: ReactNode | ReactElement<unknown> | ReactNode[] | ReactElement<any>[] | ((props: unknown) => ReactNode)\n components?: {\n ContentComponent?: ComponentType<unknown>\n }\n targetRef?: RefObject<HTMLDivElement> | null\n placement?: Placement\n modifiers?: Options['modifiers']\n data?: unknown\n hoverable?: boolean\n clickable?: boolean\n onOpen?: () => void\n onHide?: () => void\n isOpen?: boolean\n hideOnContentClick?: boolean\n hideOnClickOutside?: boolean\n hideTimeout?: number\n isPopup?: boolean\n isModal?: boolean\n modalOverlayClassName?: string\n modalContainer?: HTMLElement | null\n hideOnEscape?: boolean\n}\n\nexport enum PopoverPlacement {\n Right = 'right',\n RightStart = 'right-start',\n RightEnd = 'right-end',\n Left = 'left',\n LeftStart = 'left-start',\n LeftEnd = 'left-end',\n Top = 'top',\n TopStart = 'top-start',\n TopEnd = 'top-end',\n Bottom = 'bottom',\n BottomStart = 'bottom-start',\n BottomEnd = 'bottom-end',\n Auto = 'auto',\n AutoStart = 'auto-start',\n AutoEnd = 'auto-end',\n}\n"],"names":["PopoverPlacement"],"mappings":"
|
|
1
|
+
{"version":3,"file":"popover.types.js","sources":["../../../../../../../../../src/core/ui/components/molecules/popover/popover.types.ts"],"sourcesContent":["import { Options, Placement } from '@popperjs/core'\nimport { ReactNode, ReactElement, ComponentType, RefObject } from 'react'\n\n\nexport type PopoverProps = Record<string, unknown> & {\n children?: ReactNode | ReactElement<unknown> | ReactNode[] | ReactElement<any>[] | ((props: unknown) => ReactNode)\n components?: {\n ContentComponent?: ComponentType<unknown>\n }\n targetRef?: RefObject<HTMLDivElement> | null\n placement?: Placement\n modifiers?: Options['modifiers']\n data?: unknown\n hoverable?: boolean\n clickable?: boolean\n onOpen?: () => void\n onHide?: () => void\n isOpen?: boolean\n hideOnContentClick?: boolean\n hideOnClickOutside?: boolean\n hideTimeout?: number\n isPopup?: boolean\n isModal?: boolean\n modalOverlayClassName?: string\n modalContainer?: HTMLElement | null\n hideOnEscape?: boolean\n}\n\nexport enum PopoverPlacement {\n Right = 'right',\n RightStart = 'right-start',\n RightEnd = 'right-end',\n Left = 'left',\n LeftStart = 'left-start',\n LeftEnd = 'left-end',\n Top = 'top',\n TopStart = 'top-start',\n TopEnd = 'top-end',\n Bottom = 'bottom',\n BottomStart = 'bottom-start',\n BottomEnd = 'bottom-end',\n Auto = 'auto',\n AutoStart = 'auto-start',\n AutoEnd = 'auto-end',\n}\n"],"names":["PopoverPlacement"],"mappings":"aA4BA,IAAYA,WAAAA,GAAgB,OAAhBA,EAAgB,MAAA,QAAhBA,EAAgB,WAAA,cAAhBA,EAAgB,SAAA,YAAhBA,EAAgB,KAAA,OAAhBA,EAAgB,UAAA,aAAhBA,EAAgB,QAAA,WAAhBA,EAAgB,IAAA,MAAhBA,EAAgB,SAAA,YAAhBA,EAAgB,OAAA,UAAhBA,EAAgB,OAAA,SAAhBA,EAAgB,YAAA,eAAhBA,EAAgB,UAAA,aAAhBA,EAAgB,KAAA,OAAhBA,EAAgB,UAAA,aAAhBA,EAAgB,QAAA,WAAhBA,CAAgB,EAAA,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default={"
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default={"popover-tooltip":"tooltip-module_popover-tooltip__sAhKa",arrow:"tooltip-module_arrow__pqqOi","arrow-inner":"tooltip-module_arrow-inner__IqzxY","close-button":"tooltip-module_close-button__o8OBN"};
|
|
2
2
|
//# sourceMappingURL=tooltip.module.scss.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("../../../../../../_virtual/_rollupPluginBabelHelpers.js"),t=require("react"),a=require("../popover/PopoverLite.js"),n=require("../../atoms/icons.js"),o=require("./popup.module.scss.js"),i=require("./popup.overlay.module.scss.js"),r=require("./popup.types.js"),l=require("../../
|
|
1
|
+
"use strict";var e=require("../../../../../../_virtual/_rollupPluginBabelHelpers.js"),t=require("react"),a=require("../popover/PopoverLite.js"),n=require("../../atoms/icons.js"),o=require("./popup.module.scss.js"),i=require("./popup.overlay.module.scss.js"),r=require("./popup.types.js"),l=require("../../container/layoutBox/LayoutBox.js"),p=require("../../atoms/text/Headline.js"),s=require("../../icon/IconBase.js"),c=require("../../dividers/DividerLine.js");const u={popup:{inner:{[r.PopupAnimateVariant.SLIDE_DOWN]:{"--slideYFrom":"-48px"},[r.PopupAnimateVariant.SLIDE_UP]:{"--slideYFrom":"48px"},[r.PopupAnimateVariant.SLIDE_RIGHT]:{"--slideXFrom":"-64px"},[r.PopupAnimateVariant.SLIDE_LEFT]:{"--slideXFrom":"64px"}}}},d=t.memo((n=>{let{title:o="Popup's title",children:l,components:p={},isModal:s=!0,hideOnClickOutside:c=!1,hideOnContentClick:u=!1,animateVariant:d=r.PopupAnimateVariant.SLIDE_UP,hasHeader:h=!0,hasCloseIcon:E=!0,width:y,height:R,style:v,...x}=n;const P=p?.ContentComponent,C=t.useMemo((()=>({...y?{"--popup-width":y}:{},...R?{"--popup-height":R}:{},...v})),[R,v,y]);return React.createElement(a.Popover,e.extends({clickable:!0,isPopup:!0,isModal:s,hideOnContentClick:u,hideOnClickOutside:c,modalOverlayClassName:i.default["popup-modal-overlay"]},x),React.createElement("p",null),React.createElement(m,{title:o,hasHeader:h,hasCloseIcon:E,animateVariant:d,popupStyle:C},!P&&l&&l,!l&&P&&React.createElement(P,null)))}));d.displayName="Popup";const m=t.memo((e=>{let{title:a,forwardedRef:i,hide:r,children:d,animateVariant:m,popupStyle:h,hasHeader:E=!0,hasCloseIcon:y=!0,closeIconURL:R,...v}=e;const x=d&&Array.isArray(d)?d.filter((e=>!!e)).map(((e,a)=>t.cloneElement(e,{key:a,...e.props,hide:r,...v}))):React.createElement("div",null,"Pseudo Content");return React.createElement("div",{className:`${o.default["popup-container"]}`,ref:i,style:h},React.createElement(l.LayoutBox,{className:`${o.default["popup-container-inner"]}`,style:m?u.popup.inner[m]:{}},E&&React.createElement(React.Fragment,null,React.createElement(l.LayoutBox,{justify:"space-between",align:"start",width:"100%",padding:"20px 20px 16px 20px"},React.createElement(p.HeadlineTertiary,null,a),y&&React.createElement("div",{onClick:r,onKeyDown:r,role:"button",tabIndex:-1,className:o.default["close-button"]},R&&React.createElement(s.IconBase,{iconUrl:R}),!R&&React.createElement(s.IconBase,null,n.closeIconJSX))),React.createElement(c.DividerLine,{length:"100%"})),React.createElement("div",{className:o.default["popup-container-inner-div"]},x&&x)))}));m.displayName="PopupContent",exports.Popup=d;
|
|
2
2
|
//# sourceMappingURL=Popup.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Popup.js","sources":["../../../../../../../../../src/core/ui/components/molecules/popup/Popup.tsx"],"sourcesContent":["import {\n cloneElement, memo, PropsWithChildren, FC, ReactNode, CSSProperties, useMemo, ReactElement,\n} from 'react'\n\nimport { Popover as PopoverLite } from '../popover/PopoverLite'\nimport { HeadlineTertiary as H3 } from '../../atoms/text'\nimport { IconBase } from '../../icon'\nimport { DividerLine } from '../../dividers'\nimport { LayoutBox } from '../../container'\nimport { closeIconJSX } from '../../atoms/icons'\n\nimport classes from './popup.module.scss'\nimport classesOverlay from './popup.overlay.module.scss'\nimport { PopupAnimateVariant, PopupProps } from './popup.types'\n\n\n/**\n * Styles for the Popup component.\n *\n * @typedef {Object} PopupStyles\n * @property {Object} inner - The inner styles for the popup.\n * @property {CSSProperties} content - The styles for the popup content.\n */\n\nconst styles: {\n popup: {\n inner: Record<string, Record<string, string>>\n }\n\n} = {\n popup: {\n inner: {\n [PopupAnimateVariant.SLIDE_DOWN]: { '--slideYFrom': '-48px' },\n [PopupAnimateVariant.SLIDE_UP]: { '--slideYFrom': '48px' },\n [PopupAnimateVariant.SLIDE_RIGHT]: { '--slideXFrom': '-64px' },\n [PopupAnimateVariant.SLIDE_LEFT]: { '--slideXFrom': '64px' },\n },\n },\n}\n\n/**\n * Popup component.\n *\n * @type {React.FC<PopupProps>}\n * @returns {React.ReactElement} The Popup.\n */\nexport const Popup: FC<PopupProps> = memo<PopupProps>(({\n title = 'Popup\\'s title',\n children,\n components = {},\n isModal = true,\n hideOnClickOutside = false,\n hideOnContentClick = false,\n animateVariant = PopupAnimateVariant.SLIDE_UP,\n hasHeader = true,\n hasCloseIcon = true,\n width,\n height,\n style,\n ...props\n}: PopupProps) => {\n /**\n * The ContentComponent to render.\n *\n * @type {ComponentType}\n */\n const ContentComponent = components?.ContentComponent\n\n /**\n * The popup styles.\n *\n * @type {CSSProperties}\n */\n const styles = useMemo(() => ({\n ...(width ? { '--popup-width': width } : {}),\n ...(height ? { '--popup-height': height } : {}),\n ...style,\n }), [height, style, width])\n\n return (\n <PopoverLite\n clickable\n isPopup\n isModal={isModal}\n hideOnContentClick={hideOnContentClick}\n hideOnClickOutside={hideOnClickOutside}\n modalOverlayClassName={classesOverlay['popup-modal-overlay']}\n {...props}\n >\n <p>{/* Placeholder element to avoid error with no children */}</p>\n <PopupContent\n title={title}\n hasHeader={hasHeader}\n hasCloseIcon={hasCloseIcon}\n animateVariant={animateVariant}\n popupStyle={styles}\n >\n {/* Render children if ContentComponent is not provided */}\n {(!ContentComponent && children) && children}\n {/* Render ContentComponent if children are not provided */}\n {(!children && ContentComponent) && <ContentComponent />}\n </PopupContent>\n </PopoverLite>\n )\n})\n\n/**\n * The display name of the Popup component.\n *\n * @type {string}\n */\nPopup.displayName = 'Popup'\n\ntype PopupContentProps = PropsWithChildren<unknown> & {\n title?: string\n forwardedRef?: ForwardedRef['forwardedRef']\n animateVariant?: PopupProps['animateVariant']\n popupStyle?: CSSProperties\n hasHeader?: boolean\n hasCloseIcon?: boolean\n closeIconURL?: string\n hide?: () => void\n}\n\n/**\n * The PopupContent component.\n *\n * @param {PopupContentProps} props The props for the PopupContent component.\n * @returns {React.ReactElement} The PopupContent.\n */\nconst PopupContent = memo(({\n title,\n forwardedRef,\n hide,\n children,\n animateVariant,\n popupStyle,\n hasHeader = true,\n hasCloseIcon = true,\n closeIconURL,\n ...props\n}: PopupContentProps) => {\n /**\n * The ContentRemapped element.\n *\n * @type {React.ReactElement[] | React.ReactElement}\n */\n const ContentRemapped = children && Array.isArray(children)\n ? children.filter((child: ReactNode | ReactElement) => !!child)\n .map((child: ReactElement, index: number) => cloneElement(\n // eslint-disable-next-line react/no-array-index-key\n child, { key: index, ...child.props, hide, ...props },\n ))\n : <div>Pseudo Content</div>\n\n return (\n <div className={`${classes['popup-container']}`} ref={forwardedRef} style={popupStyle}>\n <LayoutBox\n className={`${classes['popup-container-inner']}`}\n style={animateVariant ? styles.popup.inner[animateVariant] as CSSProperties : {}}\n >\n {hasHeader && (\n <>\n <LayoutBox justify='space-between' align='start' width='100%' padding='20px 20px 16px 20px'>\n <H3>{title}</H3>\n {hasCloseIcon && (\n <div\n onClick={hide}\n onKeyDown={hide}\n role='button'\n tabIndex={-1}\n className={classes['close-button']}\n >\n {closeIconURL && <IconBase iconUrl={closeIconURL} />}\n {!closeIconURL && (\n <IconBase>\n {closeIconJSX}\n </IconBase>\n )}\n </div>\n )}\n </LayoutBox>\n <DividerLine length='100%' />\n </>\n )}\n <div className={classes['popup-container-inner-div']}>\n {ContentRemapped && ContentRemapped}\n </div>\n </LayoutBox>\n </div>\n )\n})\n\n/**\n * The display name of the PopupContent component.\n *\n * @type {string}\n */\nPopupContent.displayName = 'PopupContent'\n"],"names":["styles","popup","inner","PopupAnimateVariant","SLIDE_DOWN","SLIDE_UP","SLIDE_RIGHT","SLIDE_LEFT","Popup","memo","_ref","title","children","components","isModal","hideOnClickOutside","hideOnContentClick","animateVariant","hasHeader","hasCloseIcon","width","height","style","props","
|
|
1
|
+
{"version":3,"file":"Popup.js","sources":["../../../../../../../../../src/core/ui/components/molecules/popup/Popup.tsx"],"sourcesContent":["import {\n cloneElement, memo, PropsWithChildren, FC, ReactNode, CSSProperties, useMemo, ReactElement,\n} from 'react'\n\nimport { Popover as PopoverLite } from '../popover/PopoverLite'\nimport { HeadlineTertiary as H3 } from '../../atoms/text'\nimport { IconBase } from '../../icon'\nimport { DividerLine } from '../../dividers'\nimport { LayoutBox } from '../../container'\nimport { closeIconJSX } from '../../atoms/icons'\n\nimport classes from './popup.module.scss'\nimport classesOverlay from './popup.overlay.module.scss'\nimport { PopupAnimateVariant, PopupProps } from './popup.types'\n\n\n/**\n * Styles for the Popup component.\n *\n * @typedef {Object} PopupStyles\n * @property {Object} inner - The inner styles for the popup.\n * @property {CSSProperties} content - The styles for the popup content.\n */\n\nconst styles: {\n popup: {\n inner: Record<string, Record<string, string>>\n }\n\n} = {\n popup: {\n inner: {\n [PopupAnimateVariant.SLIDE_DOWN]: { '--slideYFrom': '-48px' },\n [PopupAnimateVariant.SLIDE_UP]: { '--slideYFrom': '48px' },\n [PopupAnimateVariant.SLIDE_RIGHT]: { '--slideXFrom': '-64px' },\n [PopupAnimateVariant.SLIDE_LEFT]: { '--slideXFrom': '64px' },\n },\n },\n}\n\n/**\n * Popup component.\n *\n * @type {React.FC<PopupProps>}\n * @returns {React.ReactElement} The Popup.\n */\nexport const Popup: FC<PopupProps> = memo<PopupProps>(({\n title = 'Popup\\'s title',\n children,\n components = {},\n isModal = true,\n hideOnClickOutside = false,\n hideOnContentClick = false,\n animateVariant = PopupAnimateVariant.SLIDE_UP,\n hasHeader = true,\n hasCloseIcon = true,\n width,\n height,\n style,\n ...props\n}: PopupProps) => {\n /**\n * The ContentComponent to render.\n *\n * @type {ComponentType}\n */\n const ContentComponent = components?.ContentComponent\n\n /**\n * The popup styles.\n *\n * @type {CSSProperties}\n */\n const styles = useMemo(() => ({\n ...(width ? { '--popup-width': width } : {}),\n ...(height ? { '--popup-height': height } : {}),\n ...style,\n }), [height, style, width])\n\n return (\n <PopoverLite\n clickable\n isPopup\n isModal={isModal}\n hideOnContentClick={hideOnContentClick}\n hideOnClickOutside={hideOnClickOutside}\n modalOverlayClassName={classesOverlay['popup-modal-overlay']}\n {...props}\n >\n <p>{/* Placeholder element to avoid error with no children */}</p>\n <PopupContent\n title={title}\n hasHeader={hasHeader}\n hasCloseIcon={hasCloseIcon}\n animateVariant={animateVariant}\n popupStyle={styles}\n >\n {/* Render children if ContentComponent is not provided */}\n {(!ContentComponent && children) && children}\n {/* Render ContentComponent if children are not provided */}\n {(!children && ContentComponent) && <ContentComponent />}\n </PopupContent>\n </PopoverLite>\n )\n})\n\n/**\n * The display name of the Popup component.\n *\n * @type {string}\n */\nPopup.displayName = 'Popup'\n\ntype PopupContentProps = PropsWithChildren<unknown> & {\n title?: string\n forwardedRef?: ForwardedRef['forwardedRef']\n animateVariant?: PopupProps['animateVariant']\n popupStyle?: CSSProperties\n hasHeader?: boolean\n hasCloseIcon?: boolean\n closeIconURL?: string\n hide?: () => void\n}\n\n/**\n * The PopupContent component.\n *\n * @param {PopupContentProps} props The props for the PopupContent component.\n * @returns {React.ReactElement} The PopupContent.\n */\nconst PopupContent = memo(({\n title,\n forwardedRef,\n hide,\n children,\n animateVariant,\n popupStyle,\n hasHeader = true,\n hasCloseIcon = true,\n closeIconURL,\n ...props\n}: PopupContentProps) => {\n /**\n * The ContentRemapped element.\n *\n * @type {React.ReactElement[] | React.ReactElement}\n */\n const ContentRemapped = children && Array.isArray(children)\n ? children.filter((child: ReactNode | ReactElement) => !!child)\n .map((child: ReactElement, index: number) => cloneElement(\n // eslint-disable-next-line react/no-array-index-key\n child, { key: index, ...child.props, hide, ...props },\n ))\n : <div>Pseudo Content</div>\n\n return (\n <div className={`${classes['popup-container']}`} ref={forwardedRef} style={popupStyle}>\n <LayoutBox\n className={`${classes['popup-container-inner']}`}\n style={animateVariant ? styles.popup.inner[animateVariant] as CSSProperties : {}}\n >\n {hasHeader && (\n <>\n <LayoutBox justify='space-between' align='start' width='100%' padding='20px 20px 16px 20px'>\n <H3>{title}</H3>\n {hasCloseIcon && (\n <div\n onClick={hide}\n onKeyDown={hide}\n role='button'\n tabIndex={-1}\n className={classes['close-button']}\n >\n {closeIconURL && <IconBase iconUrl={closeIconURL} />}\n {!closeIconURL && (\n <IconBase>\n {closeIconJSX}\n </IconBase>\n )}\n </div>\n )}\n </LayoutBox>\n <DividerLine length='100%' />\n </>\n )}\n <div className={classes['popup-container-inner-div']}>\n {ContentRemapped && ContentRemapped}\n </div>\n </LayoutBox>\n </div>\n )\n})\n\n/**\n * The display name of the PopupContent component.\n *\n * @type {string}\n */\nPopupContent.displayName = 'PopupContent'\n"],"names":["styles","popup","inner","PopupAnimateVariant","SLIDE_DOWN","SLIDE_UP","SLIDE_RIGHT","SLIDE_LEFT","Popup","memo","_ref","title","children","components","isModal","hideOnClickOutside","hideOnContentClick","animateVariant","hasHeader","hasCloseIcon","width","height","style","props","ContentComponent","useMemo","React","createElement","PopoverLite","_extends","clickable","isPopup","modalOverlayClassName","classesOverlay","PopupContent","popupStyle","displayName","_ref2","forwardedRef","hide","closeIconURL","ContentRemapped","Array","isArray","filter","child","map","index","cloneElement","key","className","classes","ref","LayoutBox","Fragment","justify","align","padding","H3","onClick","onKeyDown","role","tabIndex","IconBase","iconUrl","closeIconJSX","DividerLine","length"],"mappings":"6cAwBA,MAAMA,EAKF,CACFC,MAAO,CACLC,MAAO,CACL,CAACC,EAAAA,oBAAoBC,YAAa,CAAE,eAAgB,SACpD,CAACD,EAAAA,oBAAoBE,UAAW,CAAE,eAAgB,QAClD,CAACF,EAAAA,oBAAoBG,aAAc,CAAE,eAAgB,SACrD,CAACH,EAAAA,oBAAoBI,YAAa,CAAE,eAAgB,WAW7CC,EAAwBC,EAAAA,MAAiBC,IAcpC,IAdqCC,MACrDA,EAAQ,gBAAgBC,SACxBA,EAAQC,WACRA,EAAa,CAAA,EAAEC,QACfA,GAAU,EAAIC,mBACdA,GAAqB,EAAKC,mBAC1BA,GAAqB,EAAKC,eAC1BA,EAAiBd,EAAAA,oBAAoBE,SAAQa,UAC7CA,GAAY,EAAIC,aAChBA,GAAe,EAAIC,MACnBA,EAAKC,OACLA,EAAMC,MACNA,KACGC,GACQb,EAMX,MAAMc,EAAmBX,GAAYW,iBAO/BxB,EAASyB,EAAAA,SAAQ,KAAA,IACjBL,EAAQ,CAAE,gBAAiBA,GAAU,MACrCC,EAAS,CAAE,iBAAkBA,GAAW,MACzCC,KACD,CAACD,EAAQC,EAAOF,IAEpB,OACEM,MAAAC,cAACC,EAAAA,QAAWC,UAAA,CACVC,WAAS,EACTC,SAAO,EACPjB,QAASA,EACTE,mBAAoBA,EACpBD,mBAAoBA,EACpBiB,sBAAuBC,EAAAA,QAAe,wBAClCV,GAEJG,MAAAC,cAAA,IAAA,MACAD,MAAAC,cAACO,EAAY,CACXvB,MAAOA,EACPO,UAAWA,EACXC,aAAcA,EACdF,eAAgBA,EAChBkB,WAAYnC,IAGTwB,GAAoBZ,GAAaA,GAEjCA,GAAYY,GAAqBE,MAAAC,cAACH,EAAgB,OAE3C,IASlBhB,EAAM4B,YAAc,QAmBpB,MAAMF,EAAezB,EAAAA,MAAK4B,IAWD,IAXE1B,MACzBA,EAAK2B,aACLA,EAAYC,KACZA,EAAI3B,SACJA,EAAQK,eACRA,EAAckB,WACdA,EAAUjB,UACVA,GAAY,EAAIC,aAChBA,GAAe,EAAIqB,aACnBA,KACGjB,GACec,EAMlB,MAAMI,EAAkB7B,GAAY8B,MAAMC,QAAQ/B,GAC9CA,EAASgC,QAAQC,KAAsCA,IACtDC,KAAI,CAACD,EAAqBE,IAAkBC,EAAAA,aAE3CH,EAAO,CAAEI,IAAKF,KAAUF,EAAMtB,MAAOgB,UAAShB,MAEhDG,MAAAC,cAAA,MAAA,KAAK,kBAET,OACED,MAAAC,cAAA,MAAA,CAAKuB,UAAW,GAAGC,UAAQ,qBAAsBC,IAAKd,EAAchB,MAAOa,GACzET,MAAAC,cAAC0B,YAAS,CACRH,UAAW,GAAGC,UAAQ,2BACtB7B,MAAOL,EAAiBjB,EAAOC,MAAMC,MAAMe,GAAmC,CAAA,GAE7EC,GACCQ,MAAAC,cAAAD,MAAA4B,SAAA,KACE5B,MAAAC,cAAC0B,YAAS,CAACE,QAAQ,gBAAgBC,MAAM,QAAQpC,MAAM,OAAOqC,QAAQ,uBACpE/B,MAAAC,cAAC+B,EAAAA,iBAAE,KAAE/C,GACJQ,GACCO,MAAAC,cAAA,MAAA,CACEgC,QAASpB,EACTqB,UAAWrB,EACXsB,KAAK,SACLC,UAAU,EACVZ,UAAWC,EAAAA,QAAQ,iBAElBX,GAAgBd,MAAAC,cAACoC,WAAQ,CAACC,QAASxB,KAClCA,GACAd,MAAAC,cAACoC,EAAAA,cACEE,EAAAA,gBAMXvC,MAAAC,cAACuC,EAAAA,YAAW,CAACC,OAAO,UAGxBzC,MAAAC,cAAA,MAAA,CAAKuB,UAAWC,EAAAA,QAAQ,8BACrBV,GAAmBA,IAGpB,IASVP,EAAaE,YAAc"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default={"
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default={"popup-container":"popup-module_popup-container__PJ0oQ","popup-container-inner":"popup-module_popup-container-inner__n83Cz","close-button":"popup-module_close-button__-8sZx","popup-container-inner-div":"popup-module_popup-container-inner-div__sDNBm"};
|
|
2
2
|
//# sourceMappingURL=popup.module.scss.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popup.types.js","sources":["../../../../../../../../../src/core/ui/components/molecules/popup/popup.types.ts"],"sourcesContent":["import { CSSProperties, ComponentType, PropsWithChildren } from 'react'\n\nimport { PopoverProps } from '../popover/popover.types'\n\n\n/**\n * Enumeration of animation variants for the Popup component.\n *\n * @readonly\n * @enum {string}\n */\nexport enum PopupAnimateVariant {\n SLIDE_DOWN = 'slideDown',\n SLIDE_UP = 'slideUp',\n SLIDE_RIGHT = 'slideRight',\n SLIDE_LEFT = 'slideLeft',\n}\n\n/**\n * Props for the Popup component.\n *\n * @typedef {PropsWithChildren & PopoverProps & {\n* title?: string\n* className?: string\n* components?: {\n* ContentComponent?: ComponentType | undefined\n* }\n* animateVariant?: PopupAnimateVariant\n* width?: string\n* height?: string\n* style?: CSSProperties\n* }} PopupProps\n* @property {string} [title=\"Popup's title\"] - The title of the popup.\n* @property {string} [className] - The CSS class name for the popup.\n* @property {Object} [components] - The components to be used for rendering the popup content.\n* @property {ComponentType | undefined} [components.ContentComponent]\n* - The component to be used for rendering the popup content.\n* @property {PopupAnimateVariant} [animateVariant=PopupAnimateVariant.SLIDE_UP]\n* - The animation variant to be used for the popup.\n* @property {string} [width] - The width of the popup.\n* @property {string} [height] - The height of the popup.\n* @property {CSSProperties} [style] - The inline style for the popup.\n*/\nexport type PopupProps = PropsWithChildren & PopoverProps & {\n title?: string\n className?: string\n components?: {\n ContentComponent?: ComponentType | undefined\n }\n animateVariant?: PopupAnimateVariant\n hasHeader?: boolean\n hasCloseIcon?: boolean\n width?: string\n height?: string\n style?: CSSProperties\n}\n"],"names":["PopupAnimateVariant"],"mappings":"
|
|
1
|
+
{"version":3,"file":"popup.types.js","sources":["../../../../../../../../../src/core/ui/components/molecules/popup/popup.types.ts"],"sourcesContent":["import { CSSProperties, ComponentType, PropsWithChildren } from 'react'\n\nimport { PopoverProps } from '../popover/popover.types'\n\n\n/**\n * Enumeration of animation variants for the Popup component.\n *\n * @readonly\n * @enum {string}\n */\nexport enum PopupAnimateVariant {\n SLIDE_DOWN = 'slideDown',\n SLIDE_UP = 'slideUp',\n SLIDE_RIGHT = 'slideRight',\n SLIDE_LEFT = 'slideLeft',\n}\n\n/**\n * Props for the Popup component.\n *\n * @typedef {PropsWithChildren & PopoverProps & {\n* title?: string\n* className?: string\n* components?: {\n* ContentComponent?: ComponentType | undefined\n* }\n* animateVariant?: PopupAnimateVariant\n* width?: string\n* height?: string\n* style?: CSSProperties\n* }} PopupProps\n* @property {string} [title=\"Popup's title\"] - The title of the popup.\n* @property {string} [className] - The CSS class name for the popup.\n* @property {Object} [components] - The components to be used for rendering the popup content.\n* @property {ComponentType | undefined} [components.ContentComponent]\n* - The component to be used for rendering the popup content.\n* @property {PopupAnimateVariant} [animateVariant=PopupAnimateVariant.SLIDE_UP]\n* - The animation variant to be used for the popup.\n* @property {string} [width] - The width of the popup.\n* @property {string} [height] - The height of the popup.\n* @property {CSSProperties} [style] - The inline style for the popup.\n*/\nexport type PopupProps = PropsWithChildren & PopoverProps & {\n title?: string\n className?: string\n components?: {\n ContentComponent?: ComponentType | undefined\n }\n animateVariant?: PopupAnimateVariant\n hasHeader?: boolean\n hasCloseIcon?: boolean\n width?: string\n height?: string\n style?: CSSProperties\n}\n"],"names":["PopupAnimateVariant"],"mappings":"aAWA,IAAYA,WAAAA,GAAmB,OAAnBA,EAAmB,WAAA,YAAnBA,EAAmB,SAAA,UAAnBA,EAAmB,YAAA,aAAnBA,EAAmB,WAAA,YAAnBA,CAAmB,EAAA,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";exports.handleClickOutside=(t,
|
|
1
|
+
"use strict";exports.handleClickOutside=(t,e)=>n=>{const s=n.target,c="function"==typeof t?t():t;c&&!c.contains(s)&&e?.(s)};
|
|
2
2
|
//# sourceMappingURL=clickOutside.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clickOutside.js","sources":["../../../../../../../src/core/ui/utils/clickOutside.ts"],"sourcesContent":["type Element = HTMLElement | null | (() => HTMLElement)\ntype CallbackFunction = (target: HTMLElement | null) => void\n\nexport const handleClickOutside = (\n element: Element,\n callback?: CallbackFunction,\n) => (event: MouseEvent): void => {\n const target = event.target as HTMLElement | null\n const resolvedElement:HTMLElement | null = typeof element === 'function' ? element() : element\n\n if (resolvedElement && !resolvedElement.contains(target)) {\n callback?.(target)\n }\n}\n"],"names":["handleClickOutside","element","callback","event","target","resolvedElement","contains"],"mappings":"wCAGkCA,CAChCC,EACAC,IACIC,IACJ,MAAMC,EAASD,EAAMC,OACfC,EAAwD,mBAAZJ,EAAyBA,IAAYA,EAEnFI,IAAoBA,EAAgBC,SAASF,
|
|
1
|
+
{"version":3,"file":"clickOutside.js","sources":["../../../../../../../src/core/ui/utils/clickOutside.ts"],"sourcesContent":["type Element = HTMLElement | null | (() => HTMLElement)\ntype CallbackFunction = (target: HTMLElement | null) => void\n\nexport const handleClickOutside = (\n element: Element,\n callback?: CallbackFunction,\n) => (event: MouseEvent): void => {\n const target = event.target as HTMLElement | null\n const resolvedElement:HTMLElement | null = typeof element === 'function' ? element() : element\n\n if (resolvedElement && !resolvedElement.contains(target)) {\n callback?.(target)\n }\n}\n"],"names":["handleClickOutside","element","callback","event","target","resolvedElement","contains"],"mappings":"wCAGkCA,CAChCC,EACAC,IACIC,IACJ,MAAMC,EAASD,EAAMC,OACfC,EAAwD,mBAAZJ,EAAyBA,IAAYA,EAEnFI,IAAoBA,EAAgBC,SAASF,IAC/CF,IAAWE,EACb"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";exports.defaultFontSize=16;const t=t=>t/exports.defaultFontSize,e=t=>(t=t.toString(16)).padStart(2,"0"),r=function(t,r){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.5;0===t.indexOf("#")&&(t=t.substr(1)),0===r.indexOf("#")&&(r=r.substr(1));const n=Math.ceil(parseInt(r.substring(0,2),16)*s+parseInt(t.substring(0,2),16)*(1-s)),o=Math.ceil(parseInt(r.substring(2,4),16)*s+parseInt(t.substring(2,4),16)*(1-s)),u=Math.ceil(parseInt(r.substring(4,6),16)*s+parseInt(t.substring(4,6),16)*(1-s));return`#${e(n)+e(o)+e(u)}`};exports.calculateColors=function(t,e){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10;const n=s/(s+1)/s,o=[];let u=n;for(;s--;)o.push(u),u+=n;return o.map((s=>r(t,e,s)))},exports.calculatePercColor=r,exports.convertHex=function(t,r){let s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const n=t.replace("#",""),o=n.substring(0,2),u=n.substring(2,4),a=n.substring(4,6),i=parseInt(o,16),p=parseInt(u,16),l=parseInt(a,16);return(s?`rgba(${i},${p},${l},${r<=1?r:r/100})`:`#${o}${u}${a}${e(Math.round(255*(r<=1?r:r/100)))}`).toLowerCase()},exports.convertRGB=(t,r,s,n)=>`#${e(t)}${e(r)}${e(s)}${e(Math.round(255*(n<=1?n:n/100)))}`,exports.pxToRem=t,exports.resolveStyleValue=function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"rem";return"string"==typeof e?e:"px"===r?`${t(e)}rem`:`${e}${r}`},exports.setDefaultFontSize=t=>{exports.defaultFontSize=t},exports.toHex=e;
|
|
2
2
|
//# sourceMappingURL=style.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style.js","sources":["../../../../../../../src/core/ui/utils/style.ts"],"sourcesContent":["// eslint-disable-next-line import/no-mutable-exports\nexport let defaultFontSize = 16\nexport const setDefaultFontSize = (fontSize: number): void => {\n defaultFontSize = fontSize\n}\n\nexport const pxToRem = (px: number): number => px / defaultFontSize\n\nexport const resolveStyleValue = (\n value: string | number,\n units = 'rem',\n): string => {\n if (typeof value === 'string') {\n return value as string\n }\n\n if (units === 'px') {\n return `${pxToRem(value)}rem`\n }\n\n return `${value}${units}`\n}\n\n/* eslint-disable no-param-reassign */\nexport const toHex = (x: number | string): string => {\n x = x.toString(16)\n return x.padStart(2, '0')\n}\n\nexport const convertHex = (hex: string, opacity: number, rgba = false): string => {\n const hexValue = hex.replace('#', '')\n const rValue = hexValue.substring(0, 2)\n const gValue = hexValue.substring(2, 4)\n const bValue = hexValue.substring(4, 6)\n const r = parseInt(rValue, 16)\n const g = parseInt(gValue, 16)\n const b = parseInt(bValue, 16)\n\n const a = opacity <= 1 ? opacity : (opacity / 100)\n\n return (rgba\n ? `rgba(${r},${g},${b},${a})`\n : `#${rValue}${gValue}${bValue}${toHex(Math.round((opacity <= 1 ? opacity : (opacity / 100)) * 255))}`)\n .toLowerCase()\n}\n\nexport const convertRGB = (\n r: number, g: number, b: number, opacity: number,\n): string => `#${toHex(r)}${toHex(g)}${toHex(b)}${toHex(Math.round((opacity <= 1 ? opacity : (opacity / 100)) * 255))}`\n\nexport const calculatePercColor = (startColor: string, endColor: string, ratio = 0.5): string => {\n if (startColor.indexOf('#') === 0) {\n startColor = startColor.substr(1)\n }\n if (endColor.indexOf('#') === 0) {\n endColor = endColor.substr(1)\n }\n\n const r = Math.ceil(parseInt(endColor.substring(0, 2), 16) * ratio\n + parseInt(startColor.substring(0, 2), 16) * (1 - ratio))\n const g = Math.ceil(parseInt(endColor.substring(2, 4), 16) * ratio\n + parseInt(startColor.substring(2, 4), 16) * (1 - ratio))\n const b = Math.ceil(parseInt(endColor.substring(4, 6), 16) * ratio\n + parseInt(startColor.substring(4, 6), 16) * (1 - ratio))\n\n return `#${toHex(r) + toHex(g) + toHex(b)}`\n}\n\nexport const calculateColors = (startColor: string, endColor: string, num = 10): string[] => {\n const ratioIterator = (num / (num + 1)) / num\n const ratios = []\n let ratio = ratioIterator\n\n // eslint-disable-next-line no-plusplus\n while (num--) {\n ratios.push(ratio)\n ratio += ratioIterator\n }\n\n return ratios.map((rat) => calculatePercColor(startColor, endColor, rat))\n}\n"],"names":["defaultFontSize","
|
|
1
|
+
{"version":3,"file":"style.js","sources":["../../../../../../../src/core/ui/utils/style.ts"],"sourcesContent":["// eslint-disable-next-line import/no-mutable-exports\nexport let defaultFontSize = 16\nexport const setDefaultFontSize = (fontSize: number): void => {\n defaultFontSize = fontSize\n}\n\nexport const pxToRem = (px: number): number => px / defaultFontSize\n\nexport const resolveStyleValue = (\n value: string | number,\n units = 'rem',\n): string => {\n if (typeof value === 'string') {\n return value as string\n }\n\n if (units === 'px') {\n return `${pxToRem(value)}rem`\n }\n\n return `${value}${units}`\n}\n\n/* eslint-disable no-param-reassign */\nexport const toHex = (x: number | string): string => {\n x = x.toString(16)\n return x.padStart(2, '0')\n}\n\nexport const convertHex = (hex: string, opacity: number, rgba = false): string => {\n const hexValue = hex.replace('#', '')\n const rValue = hexValue.substring(0, 2)\n const gValue = hexValue.substring(2, 4)\n const bValue = hexValue.substring(4, 6)\n const r = parseInt(rValue, 16)\n const g = parseInt(gValue, 16)\n const b = parseInt(bValue, 16)\n\n const a = opacity <= 1 ? opacity : (opacity / 100)\n\n return (rgba\n ? `rgba(${r},${g},${b},${a})`\n : `#${rValue}${gValue}${bValue}${toHex(Math.round((opacity <= 1 ? opacity : (opacity / 100)) * 255))}`)\n .toLowerCase()\n}\n\nexport const convertRGB = (\n r: number, g: number, b: number, opacity: number,\n): string => `#${toHex(r)}${toHex(g)}${toHex(b)}${toHex(Math.round((opacity <= 1 ? opacity : (opacity / 100)) * 255))}`\n\nexport const calculatePercColor = (startColor: string, endColor: string, ratio = 0.5): string => {\n if (startColor.indexOf('#') === 0) {\n startColor = startColor.substr(1)\n }\n if (endColor.indexOf('#') === 0) {\n endColor = endColor.substr(1)\n }\n\n const r = Math.ceil(parseInt(endColor.substring(0, 2), 16) * ratio\n + parseInt(startColor.substring(0, 2), 16) * (1 - ratio))\n const g = Math.ceil(parseInt(endColor.substring(2, 4), 16) * ratio\n + parseInt(startColor.substring(2, 4), 16) * (1 - ratio))\n const b = Math.ceil(parseInt(endColor.substring(4, 6), 16) * ratio\n + parseInt(startColor.substring(4, 6), 16) * (1 - ratio))\n\n return `#${toHex(r) + toHex(g) + toHex(b)}`\n}\n\nexport const calculateColors = (startColor: string, endColor: string, num = 10): string[] => {\n const ratioIterator = (num / (num + 1)) / num\n const ratios = []\n let ratio = ratioIterator\n\n // eslint-disable-next-line no-plusplus\n while (num--) {\n ratios.push(ratio)\n ratio += ratioIterator\n }\n\n return ratios.map((rat) => calculatePercColor(startColor, endColor, rat))\n}\n"],"names":["defaultFontSize","pxToRem","px","toHex","x","toString","padStart","calculatePercColor","startColor","endColor","ratio","arguments","length","undefined","indexOf","substr","r","Math","ceil","parseInt","substring","g","b","num","ratioIterator","ratios","push","map","rat","hex","opacity","rgba","hexValue","replace","rValue","gValue","bValue","round","toLowerCase","convertRGB","value","units","fontSize"],"mappings":"aACWA,QAAAA,gBAAkB,GACtB,MAIMC,EAAWC,GAAuBA,EAAKF,QAAAA,gBAkBvCG,EAASC,IACpBA,EAAIA,EAAEC,SAAS,KACNC,SAAS,EAAG,KAwBVC,EAAqB,SAACC,EAAoBC,GAA0C,IAAxBC,EAAKC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,GAC/C,IAA5BH,EAAWM,QAAQ,OACrBN,EAAaA,EAAWO,OAAO,IAEH,IAA1BN,EAASK,QAAQ,OACnBL,EAAWA,EAASM,OAAO,IAG7B,MAAMC,EAAIC,KAAKC,KAAKC,SAASV,EAASW,UAAU,EAAG,GAAI,IAAMV,EACzDS,SAASX,EAAWY,UAAU,EAAG,GAAI,KAAO,EAAIV,IAC9CW,EAAIJ,KAAKC,KAAKC,SAASV,EAASW,UAAU,EAAG,GAAI,IAAMV,EACzDS,SAASX,EAAWY,UAAU,EAAG,GAAI,KAAO,EAAIV,IAC9CY,EAAIL,KAAKC,KAAKC,SAASV,EAASW,UAAU,EAAG,GAAI,IAAMV,EACzDS,SAASX,EAAWY,UAAU,EAAG,GAAI,KAAO,EAAIV,IAEpD,MAAO,IAAIP,EAAMa,GAAKb,EAAMkB,GAAKlB,EAAMmB,IACzC,0BAE+B,SAACd,EAAoBC,GAAyC,IAAvBc,EAAGZ,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,GAC1E,MAAMa,EAAiBD,GAAOA,EAAM,GAAMA,EACpCE,EAAS,GACf,IAAIf,EAAQc,EAGZ,KAAOD,KACLE,EAAOC,KAAKhB,GACZA,GAASc,EAGX,OAAOC,EAAOE,KAAKC,GAAQrB,EAAmBC,EAAYC,EAAUmB,IACtE,kDAnD0B,SAACC,EAAaC,GAA0C,IAAzBC,EAAIpB,UAAAC,OAAA,QAAAC,IAAAF,UAAA,IAAAA,UAAA,GAC3D,MAAMqB,EAAWH,EAAII,QAAQ,IAAK,IAC5BC,EAASF,EAASZ,UAAU,EAAG,GAC/Be,EAASH,EAASZ,UAAU,EAAG,GAC/BgB,EAASJ,EAASZ,UAAU,EAAG,GAC/BJ,EAAIG,SAASe,EAAQ,IACrBb,EAAIF,SAASgB,EAAQ,IACrBb,EAAIH,SAASiB,EAAQ,IAI3B,OAAQL,EACJ,QAAQf,KAAKK,KAAKC,KAHZQ,GAAW,EAAIA,EAAWA,EAAU,OAI1C,IAAII,IAASC,IAASC,IAASjC,EAAMc,KAAKoB,MAAmD,KAA5CP,GAAW,EAAIA,EAAWA,EAAU,UACtFQ,aACL,qBAE0BC,CACxBvB,EAAWK,EAAWC,EAAWQ,IACtB,IAAI3B,EAAMa,KAAKb,EAAMkB,KAAKlB,EAAMmB,KAAKnB,EAAMc,KAAKoB,MAAmD,KAA5CP,GAAW,EAAIA,EAAWA,EAAU,qDAxCvE,SAC/BU,GAEW,IADXC,EAAK9B,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,MAER,MAAqB,iBAAV6B,EACFA,EAGK,OAAVC,EACK,GAAGxC,EAAQuC,QAGb,GAAGA,IAAQC,GACpB,6BAnBmCC,IACjC1C,QAAAA,gBAAkB0C,CAAQ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../../../src/core/utils/appState/peregrineMQ/index.ts"],"sourcesContent":["import { PeregrineMQ } from './peregrineMQ'\n\nexport { PeregrineMQ, PeregrineMQClearError } from './peregrineMQ'\n\nexport const peregrineMQInstance = new PeregrineMQ()\n\nexport * from './peregrineMQ.types'\nexport * from './usePeregrineMQ.react'\n"],"names":["peregrineMQInstance","PeregrineMQ"],"mappings":"qDAIaA,EAAsB,IAAIC,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../../../src/core/utils/appState/peregrineMQ/index.ts"],"sourcesContent":["import { PeregrineMQ } from './peregrineMQ'\n\nexport { PeregrineMQ, PeregrineMQClearError } from './peregrineMQ'\n\nexport const peregrineMQInstance = new PeregrineMQ()\n\nexport * from './peregrineMQ.types'\nexport * from './usePeregrineMQ.react'\n"],"names":["peregrineMQInstance","PeregrineMQ"],"mappings":"qDAIaA,EAAsB,IAAIC,EAAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";require("../../../../../node_modules/core-js/modules/es.array.includes.js");var e=require("./peregrineMQ.types.js"),t=require("../../../../../node_modules/uuid/dist/esm-browser/v4.js");class s extends Error{constructor(){super("Clearing PeregrineMQ is not allowed. Please read the documentation for more information."),this.name="PeregrineMQClearError"}}exports.PeregrineMQ=class{constructor(n,r){this.id=void 0,this.config={allowAutoPrune:!1,pruneInterval:1e4,allowClear:!1},this.channels=new Map,this.listeners=new Map,this.addListener=(e,t)=>{const s=this.listeners.get(e),n=this.channels.get(t);n&&(s?s.push(n):this.listeners.set(e,[n]))},this.removeListener=e=>{const t=this.listeners.get(e);let s=!0;for(const n of t||[])if(s=!n.has(e),!s)break;s&&this.listeners.delete(e)},this.publishToChannel=(t,s,n)=>{const r=this.channels.get(t);if(!r)return e.NON_EXISTENT_CHANNEL;const i=r[Symbol.iterator]();let l=i.next().value;const h=[];for(;l;)h.push(l(t,n)),l=i.next().value;return 1===h?.length?h[0]:h},this.configure=e=>{this.config=e;const{allowAutoPrune:t,pruneInterval:s}=e;let n;t&&(n=setInterval((()=>{this.prune()}),s));const r=this;return{...t?{clearPruneInterval:()=>{clearInterval(n)},restartPruneInterval:()=>{clearInterval(n),n=setInterval((()=>{r.prune()}),s)}}:{}}},this.getChannels=()=>[...this.channels.keys()],this.prune=()=>{const e=this.channels[Symbol.iterator]();let t=e.next().value;const s=[];for(;t;)0===t[1]?.size&&(s.push(t[0]),this.channels.delete(t[0])),t=e.next().value;return s},this.removeChannel=e=>{const t=this.channels.get(e);if(t&&t.size>0){const e=[...t||[]];t.clear();let s=e.length;for(;s--;)this.removeListener(e[s])}return this.channels.delete(e)},this.publish=(e,t)=>{if(e.includes(".")){const s=e.split(".");let{length:n}=s,r=0;const i=[];for(;n--;){const e=this.publishToChannel(s.slice(0,r+1).join("."),n!==s.length-1,t);r+=1,i.push(e)}return i}return this.publishToChannel(e,!1,t)},this.subscribe=(e,t)=>{const s=this.channels.get(e);return s?s.add(t):this.channels.set(e,new Set([t])),this.addListener(t,e),()=>this.unsubscribe(t,{channel:e,prune:!0})},this.unsubscribe=(e,t)=>{const{channel:s,prune:n}=t||{};let r=!1;if(s){const t=this.channels.get(s);return r=!!t&&t.delete(e),n&&0===t?.size&&this.channels.delete(s),this.removeListener(e),r}const i=this.listeners.get(e)||[];for(const t of i)r=t.delete(e),n&&0===t.size&&this.prune();return this.listeners.delete(e),r},this.isSubscribed=(e,t)=>{if(t){const s=this.channels.get(t);return!!s&&s.has(e)}return this.listeners.has(e)},this.clear=()=>{if(!this.config.allowClear)throw new s;this.channels.clear(),this.listeners.clear()},this.getId=()=>this.id,this.id=n||t.default(),this.configure(r||{})}get length(){return[...this.channels.values()].reduce(((e,t)=>e+t.size),0)}},exports.PeregrineMQClearError=s;
|
|
2
2
|
//# sourceMappingURL=peregrineMQ.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"peregrineMQ.js","sources":["../../../../../../../../src/core/utils/appState/peregrineMQ/peregrineMQ.ts"],"sourcesContent":["import { v4 as uuidv4 } from 'uuid'\n\nimport {\n Callback, Config, PeregrineMQApi, PublishToChannelReturnType,\n PublishReturnType, SubscribersSet,\n UnsubscribeOptions, NON_EXISTENT_CHANNEL_TYPE,\n NON_EXISTENT_CHANNEL,\n CallbackPayload,\n} from './peregrineMQ.types'\n\n\nexport class PeregrineMQClearError extends Error {\n constructor() {\n super('Clearing PeregrineMQ is not allowed. Please read the documentation for more information.')\n this.name = 'PeregrineMQClearError'\n }\n}\n\n/**\n * Represents a message queue with publish/subscribe functionality.\n */\nexport class PeregrineMQ implements PeregrineMQApi {\n private id: string\n\n private config: Config = {\n allowAutoPrune: false,\n pruneInterval: 10000,\n allowClear: false,\n }\n\n /**\n * The map of channels and their subscribers sets.\n */\n private channels: Map<string, SubscribersSet> = new Map()\n\n /**\n * The map of listeners and their subscribed channels.\n */\n private listeners: Map<Callback, SubscribersSet[]> = new Map()\n\n /**\n * Adds a callback as a listener to a channel.\n * @param callback The callback function to add as a listener.\n * @param channel The channel to add the listener to.\n */\n private addListener = (callback: Callback, channel: string): void => {\n const listener = this.listeners.get(callback)\n const subscribersSet = this.channels.get(channel)\n\n if (subscribersSet) {\n if (listener) {\n listener.push(subscribersSet)\n } else {\n this.listeners.set(callback, [subscribersSet])\n }\n }\n }\n\n /**\n * Removes the callback from the listeners collection if it is not subscribed to any channels.\n * @description Removes the callback only when it is not present in any other subscriberSet\n * (Ref to Map<string, SubscribersSet>).\n * @param callback The callback to remove from listeners.\n */\n private removeListener = (callback: Callback): void => {\n const channelSubscriberSets = this.listeners.get(callback)\n let isEmpty = true\n\n // eslint-disable-next-line no-restricted-syntax\n for (const channelSubscriberSet of channelSubscriberSets || []) {\n isEmpty = !channelSubscriberSet.has(callback)\n if (!isEmpty) {\n break\n }\n }\n\n if (isEmpty) {\n this.listeners.delete(callback)\n }\n }\n\n /**\n * Publishes data to a channel.\n * @param channel The channel to publish the data to.\n * @param isParent Indicates if the channel is a parent channel.\n * @param data The data to publish.\n * @returns A boolean indicating if the publication was successful.\n */\n private publishToChannel = (\n channel: string, isParent: boolean, data?: unknown,\n ): PublishToChannelReturnType => {\n const subscribersSet = this.channels.get(channel)\n\n if (!subscribersSet) {\n return NON_EXISTENT_CHANNEL as NON_EXISTENT_CHANNEL_TYPE\n }\n\n const iterator = subscribersSet[Symbol.iterator]()\n let subscriberFunc = iterator.next().value\n\n const results = []\n\n // eslint-disable-next-line no-plusplus\n while (subscriberFunc) {\n // eslint-disable-next-line no-await-in-loop\n results.push(subscriberFunc(channel, data as CallbackPayload))\n subscriberFunc = iterator.next().value\n }\n return results?.length === 1 ? results[0] : results\n }\n\n /**\n * Creates a new instance of PeregrineMQ.\n * @param id Specific instance of PeregrineMQ identifier\n * @param config The configuration options for PeregrineMQ.\n */\n constructor(id?: string, config?: Config) {\n this.id = id || uuidv4()\n this.configure(config || {})\n }\n\n /**\n * Gets the total number of subscribers across all channels.\n */\n get length(): number {\n return [...this.channels.values()].reduce((acc, subscribersList) => acc + subscribersList.size, 0)\n }\n\n /**\n * Configures PeregrineMQ with the specified options.\n * @param config The configuration options for PeregrineMQ.\n * @returns An object containing the prune interval handler (if auto prune is enabled).\n */\n configure = (config: Config): {\n clearPruneInterval?: () => void\n restartPruneInterval?: () => void\n } => {\n this.config = config\n const { allowAutoPrune, pruneInterval } = config\n\n let pruneIntervalHandler: ReturnType<typeof setInterval>\n\n if (allowAutoPrune) {\n pruneIntervalHandler = setInterval(() => {\n this.prune()\n }, pruneInterval)\n }\n\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n const instance: PeregrineMQ = this\n\n return {\n ...(allowAutoPrune\n ? {\n clearPruneInterval: (): void => {\n clearInterval(pruneIntervalHandler)\n },\n restartPruneInterval: (): void => {\n clearInterval(pruneIntervalHandler)\n pruneIntervalHandler = setInterval(() => {\n instance.prune()\n }, pruneInterval)\n },\n }\n : {}),\n }\n }\n\n /**\n * Gets an array of all channels.\n * @returns An array of channel names.\n */\n getChannels = (): string[] => [...this.channels.keys()]\n\n /**\n * Prunes the channels with no subscribers.\n * @returns An array of pruned channel names.\n */\n prune = (): string[] => {\n const iterator = this.channels[Symbol.iterator]()\n let subscribersSet = iterator.next().value\n const prunedChannels: string[] = []\n\n // eslint-disable-next-line no-plusplus\n while (subscribersSet) {\n if (subscribersSet[1]?.size === 0) {\n prunedChannels.push(subscribersSet[0])\n this.channels.delete(subscribersSet[0])\n }\n subscribersSet = iterator.next().value\n }\n\n return prunedChannels\n }\n\n /**\n * Removes a channel and its subscribers.\n * @param channel The channel to remove.\n * @returns A boolean indicating if the channel was successfully removed.\n */\n removeChannel = (channel: string): boolean => {\n const subscribersSet = this.channels.get(channel)\n\n if (subscribersSet && subscribersSet.size > 0) {\n const channelListeners = [...subscribersSet || []]\n\n subscribersSet.clear()\n\n let index = channelListeners.length\n\n // eslint-disable-next-line no-plusplus\n while (index--) {\n this.removeListener(channelListeners[index])\n }\n }\n\n return this.channels.delete(channel)\n }\n\n /**\n * Publishes data to a channel.\n * @param channel The channel to publish the data to.\n * @param data The data to publish.\n * @returns A boolean indicating if the publication was successful.\n */\n publish = <T>(channel: string, data?: T): PublishReturnType => {\n if (channel.includes('.')) {\n const nestedChannels = channel.split('.')\n\n let { length } = nestedChannels\n let it = 0\n const results = []\n\n // eslint-disable-next-line no-plusplus\n while (length--) {\n // eslint-disable-next-line no-await-in-loop\n const result = this.publishToChannel(\n nestedChannels.slice(0, it + 1).join('.'),\n length !== nestedChannels.length - 1,\n data,\n )\n\n it += 1\n results.push(result)\n }\n return results\n }\n\n return this.publishToChannel(channel, false, data)\n }\n\n /**\n * Subscribes a callback to a channel.\n * @param channel The channel to subscribe to.\n * @param callback The callback function to subscribe.\n * @returns A function to unsubscribe the callback.\n */\n subscribe = (channel: string, callback: Callback): () => boolean => {\n const subscribersList = this.channels.get(channel)\n\n if (subscribersList) {\n subscribersList.add(callback)\n } else {\n this.channels.set(channel, new Set([callback]))\n }\n\n this.addListener(callback, channel)\n\n return () => this.unsubscribe(callback, { channel, prune: true })\n }\n\n /**\n * Unsubscribes a callback from a channel or all channels.\n * @param callback The callback function to unsubscribe.\n * @param options Optional unsubscribe options.\n * @returns A boolean indicating if the callback was successfully unsubscribed.\n */\n unsubscribe = (callback: Callback, options?: UnsubscribeOptions): boolean => {\n const { channel, prune } = options || {}\n\n let unsubscribed = false\n\n if (channel) {\n const subscriberSet = this.channels.get(channel)\n\n unsubscribed = subscriberSet ? subscriberSet.delete(callback) : false\n if (prune && subscriberSet?.size === 0) {\n this.channels.delete(channel)\n }\n\n this.removeListener(callback)\n\n return unsubscribed\n }\n\n const subscriberSetArray = this.listeners.get(callback) || []\n\n // remove callback form listeners and all channels\n // TODO remove only if has\n // eslint-disable-next-line no-restricted-syntax\n for (const subscriberSet of subscriberSetArray) {\n unsubscribed = subscriberSet.delete(callback) as boolean\n\n if (prune && subscriberSet.size === 0) {\n this.prune()\n }\n }\n\n this.listeners.delete(callback)\n\n return unsubscribed\n }\n\n /**\n * Checks if a callback is subscribed to a specific channel or any channel.\n * @param callback The callback function to check.\n * @param channel Optional channel name to check subscription for.\n * @returns A boolean indicating if the callback is subscribed.\n */\n isSubscribed = (callback: Callback, channel?: string): boolean => {\n if (channel) {\n const subscribersList = this.channels.get(channel)\n\n return subscribersList ? subscribersList.has(callback) : false\n }\n\n return this.listeners.has(callback)\n }\n\n /**\n * Clears all channels and listeners.\n * @throws {Error} If clearing PeregrineMQ is not allowed.\n */\n clear = (): void => {\n if (this.config.allowClear) {\n this.channels.clear()\n this.listeners.clear()\n } else {\n throw new PeregrineMQClearError()\n }\n }\n\n /**\n * Returns the specific instance of PeregrineMQ.\n * @returns A string identifier of the specific instance of PeregrineMQ.\n */\n getId = (): string => this.id\n}\n"],"names":["PeregrineMQClearError","Error","constructor","super","this","name","id","config","allowAutoPrune","pruneInterval","allowClear","channels","Map","listeners","addListener","callback","channel","listener","get","subscribersSet","push","set","removeListener","channelSubscriberSets","isEmpty","channelSubscriberSet","has","delete","publishToChannel","isParent","data","NON_EXISTENT_CHANNEL","iterator","Symbol","subscriberFunc","next","value","results","length","configure","pruneIntervalHandler","setInterval","prune","instance","_objectSpread","objectSpread2","clearPruneInterval","clearInterval","restartPruneInterval","getChannels","keys","prunedChannels","_subscribersSet$","size","removeChannel","channelListeners","clear","index","publish","includes","nestedChannels","split","it","result","slice","join","subscribe","subscribersList","add","Set","unsubscribe","options","unsubscribed","subscriberSet","subscriberSetArray","isSubscribed","getId","uuidv4","values","reduce","acc"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"peregrineMQ.js","sources":["../../../../../../../../src/core/utils/appState/peregrineMQ/peregrineMQ.ts"],"sourcesContent":["import { v4 as uuidv4 } from 'uuid'\n\nimport {\n Callback, Config, PeregrineMQApi, PublishToChannelReturnType,\n PublishReturnType, SubscribersSet,\n UnsubscribeOptions, NON_EXISTENT_CHANNEL_TYPE,\n NON_EXISTENT_CHANNEL,\n CallbackPayload,\n} from './peregrineMQ.types'\n\n\nexport class PeregrineMQClearError extends Error {\n constructor() {\n super('Clearing PeregrineMQ is not allowed. Please read the documentation for more information.')\n this.name = 'PeregrineMQClearError'\n }\n}\n\n/**\n * Represents a message queue with publish/subscribe functionality.\n */\nexport class PeregrineMQ implements PeregrineMQApi {\n private id: string\n\n private config: Config = {\n allowAutoPrune: false,\n pruneInterval: 10000,\n allowClear: false,\n }\n\n /**\n * The map of channels and their subscribers sets.\n */\n private channels: Map<string, SubscribersSet> = new Map()\n\n /**\n * The map of listeners and their subscribed channels.\n */\n private listeners: Map<Callback, SubscribersSet[]> = new Map()\n\n /**\n * Adds a callback as a listener to a channel.\n * @param callback The callback function to add as a listener.\n * @param channel The channel to add the listener to.\n */\n private addListener = (callback: Callback, channel: string): void => {\n const listener = this.listeners.get(callback)\n const subscribersSet = this.channels.get(channel)\n\n if (subscribersSet) {\n if (listener) {\n listener.push(subscribersSet)\n } else {\n this.listeners.set(callback, [subscribersSet])\n }\n }\n }\n\n /**\n * Removes the callback from the listeners collection if it is not subscribed to any channels.\n * @description Removes the callback only when it is not present in any other subscriberSet\n * (Ref to Map<string, SubscribersSet>).\n * @param callback The callback to remove from listeners.\n */\n private removeListener = (callback: Callback): void => {\n const channelSubscriberSets = this.listeners.get(callback)\n let isEmpty = true\n\n // eslint-disable-next-line no-restricted-syntax\n for (const channelSubscriberSet of channelSubscriberSets || []) {\n isEmpty = !channelSubscriberSet.has(callback)\n if (!isEmpty) {\n break\n }\n }\n\n if (isEmpty) {\n this.listeners.delete(callback)\n }\n }\n\n /**\n * Publishes data to a channel.\n * @param channel The channel to publish the data to.\n * @param isParent Indicates if the channel is a parent channel.\n * @param data The data to publish.\n * @returns A boolean indicating if the publication was successful.\n */\n private publishToChannel = (\n channel: string, isParent: boolean, data?: unknown,\n ): PublishToChannelReturnType => {\n const subscribersSet = this.channels.get(channel)\n\n if (!subscribersSet) {\n return NON_EXISTENT_CHANNEL as NON_EXISTENT_CHANNEL_TYPE\n }\n\n const iterator = subscribersSet[Symbol.iterator]()\n let subscriberFunc = iterator.next().value\n\n const results = []\n\n // eslint-disable-next-line no-plusplus\n while (subscriberFunc) {\n // eslint-disable-next-line no-await-in-loop\n results.push(subscriberFunc(channel, data as CallbackPayload))\n subscriberFunc = iterator.next().value\n }\n return results?.length === 1 ? results[0] : results\n }\n\n /**\n * Creates a new instance of PeregrineMQ.\n * @param id Specific instance of PeregrineMQ identifier\n * @param config The configuration options for PeregrineMQ.\n */\n constructor(id?: string, config?: Config) {\n this.id = id || uuidv4()\n this.configure(config || {})\n }\n\n /**\n * Gets the total number of subscribers across all channels.\n */\n get length(): number {\n return [...this.channels.values()].reduce((acc, subscribersList) => acc + subscribersList.size, 0)\n }\n\n /**\n * Configures PeregrineMQ with the specified options.\n * @param config The configuration options for PeregrineMQ.\n * @returns An object containing the prune interval handler (if auto prune is enabled).\n */\n configure = (config: Config): {\n clearPruneInterval?: () => void\n restartPruneInterval?: () => void\n } => {\n this.config = config\n const { allowAutoPrune, pruneInterval } = config\n\n let pruneIntervalHandler: ReturnType<typeof setInterval>\n\n if (allowAutoPrune) {\n pruneIntervalHandler = setInterval(() => {\n this.prune()\n }, pruneInterval)\n }\n\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n const instance: PeregrineMQ = this\n\n return {\n ...(allowAutoPrune\n ? {\n clearPruneInterval: (): void => {\n clearInterval(pruneIntervalHandler)\n },\n restartPruneInterval: (): void => {\n clearInterval(pruneIntervalHandler)\n pruneIntervalHandler = setInterval(() => {\n instance.prune()\n }, pruneInterval)\n },\n }\n : {}),\n }\n }\n\n /**\n * Gets an array of all channels.\n * @returns An array of channel names.\n */\n getChannels = (): string[] => [...this.channels.keys()]\n\n /**\n * Prunes the channels with no subscribers.\n * @returns An array of pruned channel names.\n */\n prune = (): string[] => {\n const iterator = this.channels[Symbol.iterator]()\n let subscribersSet = iterator.next().value\n const prunedChannels: string[] = []\n\n // eslint-disable-next-line no-plusplus\n while (subscribersSet) {\n if (subscribersSet[1]?.size === 0) {\n prunedChannels.push(subscribersSet[0])\n this.channels.delete(subscribersSet[0])\n }\n subscribersSet = iterator.next().value\n }\n\n return prunedChannels\n }\n\n /**\n * Removes a channel and its subscribers.\n * @param channel The channel to remove.\n * @returns A boolean indicating if the channel was successfully removed.\n */\n removeChannel = (channel: string): boolean => {\n const subscribersSet = this.channels.get(channel)\n\n if (subscribersSet && subscribersSet.size > 0) {\n const channelListeners = [...subscribersSet || []]\n\n subscribersSet.clear()\n\n let index = channelListeners.length\n\n // eslint-disable-next-line no-plusplus\n while (index--) {\n this.removeListener(channelListeners[index])\n }\n }\n\n return this.channels.delete(channel)\n }\n\n /**\n * Publishes data to a channel.\n * @param channel The channel to publish the data to.\n * @param data The data to publish.\n * @returns A boolean indicating if the publication was successful.\n */\n publish = <T>(channel: string, data?: T): PublishReturnType => {\n if (channel.includes('.')) {\n const nestedChannels = channel.split('.')\n\n let { length } = nestedChannels\n let it = 0\n const results = []\n\n // eslint-disable-next-line no-plusplus\n while (length--) {\n // eslint-disable-next-line no-await-in-loop\n const result = this.publishToChannel(\n nestedChannels.slice(0, it + 1).join('.'),\n length !== nestedChannels.length - 1,\n data,\n )\n\n it += 1\n results.push(result)\n }\n return results\n }\n\n return this.publishToChannel(channel, false, data)\n }\n\n /**\n * Subscribes a callback to a channel.\n * @param channel The channel to subscribe to.\n * @param callback The callback function to subscribe.\n * @returns A function to unsubscribe the callback.\n */\n subscribe = (channel: string, callback: Callback): () => boolean => {\n const subscribersList = this.channels.get(channel)\n\n if (subscribersList) {\n subscribersList.add(callback)\n } else {\n this.channels.set(channel, new Set([callback]))\n }\n\n this.addListener(callback, channel)\n\n return () => this.unsubscribe(callback, { channel, prune: true })\n }\n\n /**\n * Unsubscribes a callback from a channel or all channels.\n * @param callback The callback function to unsubscribe.\n * @param options Optional unsubscribe options.\n * @returns A boolean indicating if the callback was successfully unsubscribed.\n */\n unsubscribe = (callback: Callback, options?: UnsubscribeOptions): boolean => {\n const { channel, prune } = options || {}\n\n let unsubscribed = false\n\n if (channel) {\n const subscriberSet = this.channels.get(channel)\n\n unsubscribed = subscriberSet ? subscriberSet.delete(callback) : false\n if (prune && subscriberSet?.size === 0) {\n this.channels.delete(channel)\n }\n\n this.removeListener(callback)\n\n return unsubscribed\n }\n\n const subscriberSetArray = this.listeners.get(callback) || []\n\n // remove callback form listeners and all channels\n // TODO remove only if has\n // eslint-disable-next-line no-restricted-syntax\n for (const subscriberSet of subscriberSetArray) {\n unsubscribed = subscriberSet.delete(callback) as boolean\n\n if (prune && subscriberSet.size === 0) {\n this.prune()\n }\n }\n\n this.listeners.delete(callback)\n\n return unsubscribed\n }\n\n /**\n * Checks if a callback is subscribed to a specific channel or any channel.\n * @param callback The callback function to check.\n * @param channel Optional channel name to check subscription for.\n * @returns A boolean indicating if the callback is subscribed.\n */\n isSubscribed = (callback: Callback, channel?: string): boolean => {\n if (channel) {\n const subscribersList = this.channels.get(channel)\n\n return subscribersList ? subscribersList.has(callback) : false\n }\n\n return this.listeners.has(callback)\n }\n\n /**\n * Clears all channels and listeners.\n * @throws {Error} If clearing PeregrineMQ is not allowed.\n */\n clear = (): void => {\n if (this.config.allowClear) {\n this.channels.clear()\n this.listeners.clear()\n } else {\n throw new PeregrineMQClearError()\n }\n }\n\n /**\n * Returns the specific instance of PeregrineMQ.\n * @returns A string identifier of the specific instance of PeregrineMQ.\n */\n getId = (): string => this.id\n}\n"],"names":["PeregrineMQClearError","Error","constructor","super","this","name","id","config","allowAutoPrune","pruneInterval","allowClear","channels","Map","listeners","addListener","callback","channel","listener","get","subscribersSet","push","set","removeListener","channelSubscriberSets","isEmpty","channelSubscriberSet","has","delete","publishToChannel","isParent","data","NON_EXISTENT_CHANNEL","iterator","Symbol","subscriberFunc","next","value","results","length","configure","pruneIntervalHandler","setInterval","prune","instance","clearPruneInterval","clearInterval","restartPruneInterval","getChannels","keys","prunedChannels","size","removeChannel","channelListeners","clear","index","publish","includes","nestedChannels","split","it","result","slice","join","subscribe","subscribersList","add","Set","unsubscribe","options","unsubscribed","subscriberSet","subscriberSetArray","isSubscribed","getId","uuidv4","values","reduce","acc"],"mappings":"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"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("react");exports.usePeregrineMQ=(r,u,s)=>{const
|
|
1
|
+
"use strict";var e=require("react");exports.usePeregrineMQ=(r,u,s)=>{const t=e.useCallback(s,[s]),c=e.useRef();return e.useEffect((()=>(c.current=r.subscribe(u,t),()=>{c?.current?.()})),[t,u,r]),[c.current,r.publish]};
|
|
2
2
|
//# sourceMappingURL=usePeregrineMQ.react.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePeregrineMQ.react.js","sources":["../../../../../../../../src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.ts"],"sourcesContent":["import { useCallback, useEffect, useRef } from 'react'\n\nimport { PeregrineMQ } from './peregrineMQ'\nimport { Callback, PublishReturnType } from './peregrineMQ.types'\n\nexport type usePeregrineMQReturnType = [\n (() => boolean) | undefined,\n <T>(channel: string, data?: T) => PublishReturnType\n]\n\nexport const usePeregrineMQ = (\n peregrineInstance: PeregrineMQ, channel: string, callback: Callback,\n): usePeregrineMQReturnType => {\n const memCallback = useCallback(callback, [callback])\n\n const unsubscribeRef = useRef<ReturnType<typeof peregrineInstance.subscribe>>()\n\n useEffect(() => {\n unsubscribeRef.current = peregrineInstance.subscribe(channel, memCallback)\n\n return (): void => {\n unsubscribeRef?.current?.()\n }\n }, [memCallback, channel, peregrineInstance])\n\n return [unsubscribeRef.current, peregrineInstance.publish]\n}\n"],"names":["usePeregrineMQ","peregrineInstance","channel","callback","memCallback","useCallback","unsubscribeRef","useRef","useEffect","current","subscribe","
|
|
1
|
+
{"version":3,"file":"usePeregrineMQ.react.js","sources":["../../../../../../../../src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.ts"],"sourcesContent":["import { useCallback, useEffect, useRef } from 'react'\n\nimport { PeregrineMQ } from './peregrineMQ'\nimport { Callback, PublishReturnType } from './peregrineMQ.types'\n\nexport type usePeregrineMQReturnType = [\n (() => boolean) | undefined,\n <T>(channel: string, data?: T) => PublishReturnType\n]\n\nexport const usePeregrineMQ = (\n peregrineInstance: PeregrineMQ, channel: string, callback: Callback,\n): usePeregrineMQReturnType => {\n const memCallback = useCallback(callback, [callback])\n\n const unsubscribeRef = useRef<ReturnType<typeof peregrineInstance.subscribe>>()\n\n useEffect(() => {\n unsubscribeRef.current = peregrineInstance.subscribe(channel, memCallback)\n\n return (): void => {\n unsubscribeRef?.current?.()\n }\n }, [memCallback, channel, peregrineInstance])\n\n return [unsubscribeRef.current, peregrineInstance.publish]\n}\n"],"names":["usePeregrineMQ","peregrineInstance","channel","callback","memCallback","useCallback","unsubscribeRef","useRef","useEffect","current","subscribe","publish"],"mappings":"2DAU8BA,CAC5BC,EAAgCC,EAAiBC,KAEjD,MAAMC,EAAcC,EAAAA,YAAYF,EAAU,CAACA,IAErCG,EAAiBC,EAAAA,SAUvB,OARAC,EAAAA,WAAU,KACRF,EAAeG,QAAUR,EAAkBS,UAAUR,EAASE,GAEvD,KACLE,GAAgBG,WAAW,IAE5B,CAACL,EAAaF,EAASD,IAEnB,CAACK,EAAeG,QAASR,EAAkBU,QAAQ"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("../../../../../_virtual/_rollupPluginBabelHelpers.js");
|
|
1
|
+
"use strict";var e=require("../../../../../_virtual/_rollupPluginBabelHelpers.js");let s=function(e){return e.CHANGE="change",e.TRANSITIONED_TO="transitionedTo",e.TRANSITIONED_FROM="transitionedFrom",e.ADDED_TO_QUEUE="addedToQueue",e.REMOVED_FROM_QUEUE="removedFromQueue",e}({});class t extends Event{constructor(e,s){super(e,s)}}var i=e.classPrivateFieldLooseKey("name"),a=e.classPrivateFieldLooseKey("listeners");class o{constructor(s){Object.defineProperty(this,i,{writable:!0,value:void 0}),Object.defineProperty(this,a,{writable:!0,value:void 0}),this.subscribe=s=>(e.classPrivateFieldLooseBase(this,a)[a].add(s),()=>e.classPrivateFieldLooseBase(this,a)[a].delete(s)),this.unsubscribe=s=>e.classPrivateFieldLooseBase(this,a)[a].delete(s),this.publish=s=>{if(e.classPrivateFieldLooseBase(this,a)[a]?.size)for(const t of e.classPrivateFieldLooseBase(this,a)[a])t(s)},this.toString=()=>`TinyStateMachineSate: ${e.classPrivateFieldLooseBase(this,i)[i]}`,e.classPrivateFieldLooseBase(this,i)[i]=s,e.classPrivateFieldLooseBase(this,a)[a]=new Set}get name(){return e.classPrivateFieldLooseBase(this,i)[i]}get[Symbol.toStringTag](){return`TinyStateMachineSate: ${e.classPrivateFieldLooseBase(this,i)[i]}`}}var r=e.classPrivateFieldLooseKey("states"),l=e.classPrivateFieldLooseKey("listeners"),n=e.classPrivateFieldLooseKey("currentState"),c=e.classPrivateFieldLooseKey("getStateByName"),d=e.classPrivateFieldLooseKey("getStateByState");const h=function*(){let e,s=h.IS_RUNNING;for(;;)if(e=yield s,e===h.DO_END){s=h.IS_FINITE,yield s;break}return yield*[1,2,3],yield 123,10};h.DO_END="__DO__END__",h.IS_FINITE="__IS__FINITE__",h.IS_RUNNING="__IS__RUNNING__",exports.TinyStateMachine=class{constructor(i){Object.defineProperty(this,r,{writable:!0,value:void 0}),Object.defineProperty(this,l,{writable:!0,value:void 0}),Object.defineProperty(this,n,{writable:!0,value:void 0}),this.addState=s=>{e.classPrivateFieldLooseBase(this,r)[r].add(s)},this.removeState=s=>{e.classPrivateFieldLooseBase(this,r)[r].delete(s)},this.subscribe=s=>(e.classPrivateFieldLooseBase(this,l)[l].add(s),()=>e.classPrivateFieldLooseBase(this,l)[l].delete(s)),this.unsubscribe=s=>{e.classPrivateFieldLooseBase(this,l)[l].delete(s)},this.publish=(s,t)=>{if(e.classPrivateFieldLooseBase(this,l)[l]?.size)for(const i of e.classPrivateFieldLooseBase(this,l)[l])i(s,t)},Object.defineProperty(this,c,{writable:!0,value:s=>Array.from(e.classPrivateFieldLooseBase(this,r)[r]).find((e=>e.name===s))}),Object.defineProperty(this,d,{writable:!0,value:s=>e.classPrivateFieldLooseBase(this,r)[r].has(s)?s:void 0}),this.gotoState=i=>{const a="string"==typeof i?e.classPrivateFieldLooseBase(this,c)[c](i):e.classPrivateFieldLooseBase(this,d)[d](i);if(!a)throw Error(`TinyStateMachin::gotoState state not found: ${i}`);const o=e.classPrivateFieldLooseBase(this,n)[n];return e.classPrivateFieldLooseBase(this,n)[n]=a,this.publish(new t(s.TRANSITIONED_FROM),o),this.publish(new t(s.TRANSITIONED_TO),a),o?.publish(new t(s.TRANSITIONED_FROM)),e.classPrivateFieldLooseBase(this,n)[n].publish(new t(s.TRANSITIONED_TO)),!0},this.next=()=>{let s;const t=Array.from(e.classPrivateFieldLooseBase(this,r)[r]);if(!e.classPrivateFieldLooseBase(this,n)[n])return[s]=t,this.gotoState(s)?s:null;const i=t.findIndex((s=>s===e.classPrivateFieldLooseBase(this,n)[n]));return i<e.classPrivateFieldLooseBase(this,r)[r].size-2?(s=t[i+1],this.gotoState(s)?s:null):null},e.classPrivateFieldLooseBase(this,r)[r]=i,e.classPrivateFieldLooseBase(this,l)[l]=new Set}get states(){return e.classPrivateFieldLooseBase(this,r)[r]}get currentState(){return e.classPrivateFieldLooseBase(this,n)[n]}},exports.TinyStateMachineEvent=t,exports.TinyStateMachineEventType=s,exports.TinyStateMachineState=o,exports.createStates=e=>new Set(e.map((e=>new o(e)))),exports.stateIterator=h;
|
|
2
2
|
//# sourceMappingURL=tiny-state-machine.base.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tiny-state-machine.base.js","sources":["../../../../../../../../src/core/utils/appState/stateMachine/tiny-state-machine.base.ts"],"sourcesContent":["export enum TinyStateMachineEventType {\n CHANGE = 'change',\n TRANSITIONED_TO = 'transitionedTo',\n TRANSITIONED_FROM = 'transitionedFrom',\n ADDED_TO_QUEUE = 'addedToQueue',\n REMOVED_FROM_QUEUE = 'removedFromQueue'\n}\n\nexport type TinyStateMachineListenerCallBack = (\n stateEvent: TinyStateMachineEvent,\n state?: ITinyStateMachineState\n) => void;\n\nexport class TinyStateMachineEvent extends Event {\n constructor(type: TinyStateMachineEventType, eventInitDict?: any) {\n super(type, eventInitDict)\n }\n}\n\ninterface IPubSub {\n subscribe: (listener: TinyStateMachineListenerCallBack) => () => void\n unsubscribe: (listener: TinyStateMachineListenerCallBack) => void\n publish: (...args: any[]) => void\n}\n\nexport interface ITinyStateMachineState extends IPubSub {\n name: string\n}\n\nexport class TinyStateMachineState implements ITinyStateMachineState {\n #name: string\n\n #listeners: Set<TinyStateMachineListenerCallBack>\n\n constructor(name: string) {\n this.#name = name\n this.#listeners = new Set<TinyStateMachineListenerCallBack>()\n }\n\n get name(): string {\n return this.#name\n }\n\n subscribe = (listener: TinyStateMachineListenerCallBack): () => void => {\n this.#listeners.add(listener)\n return () => this.#listeners.delete(listener)\n }\n\n unsubscribe = (listener: TinyStateMachineListenerCallBack): boolean => this.#listeners.delete(listener)\n\n publish = (event: TinyStateMachineEvent): void => {\n if (!this.#listeners?.size) {\n return\n }\n // eslint-disable-next-line no-restricted-syntax\n for (const listener of this.#listeners) {\n listener(event)\n }\n }\n\n toString = (): string => `TinyStateMachineSate: ${this.#name}`\n\n get [Symbol.toStringTag](): string {\n return `TinyStateMachineSate: ${this.#name}`\n }\n}\n\nexport interface ITinyStateMachine extends IPubSub {\n states: Set<TinyStateMachineState>\n addState: (state: TinyStateMachineState) => void\n removeState: (state: TinyStateMachineState) => void\n currentState: undefined | TinyStateMachineState\n gotoState: (state: TinyStateMachineState) => void | boolean\n\n}\n\nexport const createStates = (stateNames: string[]): Set<TinyStateMachineState> => new Set(\n stateNames.map((name: string) => new TinyStateMachineState(name)),\n)\n\nexport class TinyStateMachine implements ITinyStateMachine {\n #states: Set<TinyStateMachineState>\n\n #listeners: Set<TinyStateMachineListenerCallBack>\n\n #currentState: undefined | TinyStateMachineState\n\n constructor(states: Set<TinyStateMachineState>) {\n this.#states = states\n this.#listeners = new Set<TinyStateMachineListenerCallBack>()\n }\n\n addState = (state: TinyStateMachineState): void => {\n this.#states.add(state)\n }\n\n removeState = (state: TinyStateMachineState): void => {\n this.#states.delete(state)\n }\n\n get states (): Set<TinyStateMachineState> {\n return this.#states\n }\n\n get currentState (): undefined | TinyStateMachineState {\n return this.#currentState\n }\n\n subscribe = (listener: TinyStateMachineListenerCallBack): () => void => {\n this.#listeners.add(listener)\n return () => this.#listeners.delete(listener)\n }\n\n unsubscribe = (listener: TinyStateMachineListenerCallBack): void => {\n this.#listeners.delete(listener)\n }\n\n publish = (event: TinyStateMachineEvent, state?: TinyStateMachineState): void => {\n if (!this.#listeners?.size) {\n return\n }\n // eslint-disable-next-line no-restricted-syntax\n for (const listener of this.#listeners) {\n listener(event, state)\n }\n }\n\n #getStateByName = (stateName: string): undefined | TinyStateMachineState => Array\n .from(this.#states).find((state: TinyStateMachineState) => state.name === stateName)\n\n #getStateByState\n = (state: TinyStateMachineState): undefined | TinyStateMachineState => (this.#states.has(state) ? state : undefined)\n\n gotoState = (state: TinyStateMachineState | string): void | boolean => {\n const foundState = typeof state === 'string'\n ? this.#getStateByName(state as string)\n : this.#getStateByState(state as TinyStateMachineState)\n\n if (!foundState) {\n throw Error(`TinyStateMachin::gotoState state not found: ${state}`)\n }\n\n const prevState: undefined | TinyStateMachineState = this.#currentState\n\n this.#currentState = foundState\n this.publish(new TinyStateMachineEvent(TinyStateMachineEventType.TRANSITIONED_FROM), prevState)\n this.publish(new TinyStateMachineEvent(TinyStateMachineEventType.TRANSITIONED_TO), foundState)\n\n prevState?.publish(new TinyStateMachineEvent(TinyStateMachineEventType.TRANSITIONED_FROM))\n this.#currentState.publish(new TinyStateMachineEvent(TinyStateMachineEventType.TRANSITIONED_TO))\n return true\n }\n\n next = (): TinyStateMachineState | null => {\n let nextState: TinyStateMachineState\n const arrayOfStates: TinyStateMachineState[] = Array.from(this.#states)\n\n if (!this.#currentState) {\n [nextState] = arrayOfStates\n\n return this.gotoState(nextState) ? nextState : null\n }\n\n const currentStateIndex = arrayOfStates\n .findIndex((state: TinyStateMachineState) => state === this.#currentState)\n\n if (currentStateIndex < this.#states.size - 2) {\n nextState = arrayOfStates[currentStateIndex + 1]\n return this.gotoState(nextState) ? nextState : null\n }\n\n return null\n }\n}\n\n\n\n// eslint-disable-next-line @typescript-eslint/explicit-function-return-type\nexport const stateIterator = function* () {\n let operation: string\n let state: string = stateIterator.IS_RUNNING\n\n while (true) {\n // console.log('inside while loop')\n\n // // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // // @ts-ignore\n\n\n // // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // // @ts-ignore\n operation = yield state\n\n // // console.log('operation', operation)\n // // console.log('state', state)\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n if (operation === stateIterator.DO_END) {\n state = stateIterator.IS_FINITE\n yield state\n break\n }\n }\n yield* [1, 2, 3]\n yield 123\n\n return 10\n}\n\nstateIterator.DO_END = '__DO__END__'\nstateIterator.IS_FINITE = '__IS__FINITE__'\nstateIterator.IS_RUNNING = '__IS__RUNNING__'\n"],"names":["TinyStateMachineEventType","TinyStateMachineEvent","Event","constructor","type","eventInitDict","super","_name","_classPrivateFieldLooseKey","classPrivateFieldLooseKey","_listeners","TinyStateMachineState","name","Object","defineProperty","this","writable","value","subscribe","listener","_classPrivateFieldLooseBase","classPrivateFieldLooseBase","add","delete","unsubscribe","publish","event","_classPrivateFieldLoo","size","toString","concat","Set","Symbol","toStringTag","_states","_listeners2","_currentState","_getStateByName","_getStateByState","stateIterator","operation","state","IS_RUNNING","DO_END","IS_FINITE","states","addState","removeState","_classPrivateFieldLoo2","stateName","Array","from","find","has","undefined","gotoState","foundState","Error","prevState","TRANSITIONED_FROM","TRANSITIONED_TO","next","nextState","arrayOfStates","currentStateIndex","findIndex","currentState","stateNames","map"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"tiny-state-machine.base.js","sources":["../../../../../../../../src/core/utils/appState/stateMachine/tiny-state-machine.base.ts"],"sourcesContent":["export enum TinyStateMachineEventType {\n CHANGE = 'change',\n TRANSITIONED_TO = 'transitionedTo',\n TRANSITIONED_FROM = 'transitionedFrom',\n ADDED_TO_QUEUE = 'addedToQueue',\n REMOVED_FROM_QUEUE = 'removedFromQueue'\n}\n\nexport type TinyStateMachineListenerCallBack = (\n stateEvent: TinyStateMachineEvent,\n state?: ITinyStateMachineState\n) => void;\n\nexport class TinyStateMachineEvent extends Event {\n constructor(type: TinyStateMachineEventType, eventInitDict?: any) {\n super(type, eventInitDict)\n }\n}\n\ninterface IPubSub {\n subscribe: (listener: TinyStateMachineListenerCallBack) => () => void\n unsubscribe: (listener: TinyStateMachineListenerCallBack) => void\n publish: (...args: any[]) => void\n}\n\nexport interface ITinyStateMachineState extends IPubSub {\n name: string\n}\n\nexport class TinyStateMachineState implements ITinyStateMachineState {\n #name: string\n\n #listeners: Set<TinyStateMachineListenerCallBack>\n\n constructor(name: string) {\n this.#name = name\n this.#listeners = new Set<TinyStateMachineListenerCallBack>()\n }\n\n get name(): string {\n return this.#name\n }\n\n subscribe = (listener: TinyStateMachineListenerCallBack): () => void => {\n this.#listeners.add(listener)\n return () => this.#listeners.delete(listener)\n }\n\n unsubscribe = (listener: TinyStateMachineListenerCallBack): boolean => this.#listeners.delete(listener)\n\n publish = (event: TinyStateMachineEvent): void => {\n if (!this.#listeners?.size) {\n return\n }\n // eslint-disable-next-line no-restricted-syntax\n for (const listener of this.#listeners) {\n listener(event)\n }\n }\n\n toString = (): string => `TinyStateMachineSate: ${this.#name}`\n\n get [Symbol.toStringTag](): string {\n return `TinyStateMachineSate: ${this.#name}`\n }\n}\n\nexport interface ITinyStateMachine extends IPubSub {\n states: Set<TinyStateMachineState>\n addState: (state: TinyStateMachineState) => void\n removeState: (state: TinyStateMachineState) => void\n currentState: undefined | TinyStateMachineState\n gotoState: (state: TinyStateMachineState) => void | boolean\n\n}\n\nexport const createStates = (stateNames: string[]): Set<TinyStateMachineState> => new Set(\n stateNames.map((name: string) => new TinyStateMachineState(name)),\n)\n\nexport class TinyStateMachine implements ITinyStateMachine {\n #states: Set<TinyStateMachineState>\n\n #listeners: Set<TinyStateMachineListenerCallBack>\n\n #currentState: undefined | TinyStateMachineState\n\n constructor(states: Set<TinyStateMachineState>) {\n this.#states = states\n this.#listeners = new Set<TinyStateMachineListenerCallBack>()\n }\n\n addState = (state: TinyStateMachineState): void => {\n this.#states.add(state)\n }\n\n removeState = (state: TinyStateMachineState): void => {\n this.#states.delete(state)\n }\n\n get states (): Set<TinyStateMachineState> {\n return this.#states\n }\n\n get currentState (): undefined | TinyStateMachineState {\n return this.#currentState\n }\n\n subscribe = (listener: TinyStateMachineListenerCallBack): () => void => {\n this.#listeners.add(listener)\n return () => this.#listeners.delete(listener)\n }\n\n unsubscribe = (listener: TinyStateMachineListenerCallBack): void => {\n this.#listeners.delete(listener)\n }\n\n publish = (event: TinyStateMachineEvent, state?: TinyStateMachineState): void => {\n if (!this.#listeners?.size) {\n return\n }\n // eslint-disable-next-line no-restricted-syntax\n for (const listener of this.#listeners) {\n listener(event, state)\n }\n }\n\n #getStateByName = (stateName: string): undefined | TinyStateMachineState => Array\n .from(this.#states).find((state: TinyStateMachineState) => state.name === stateName)\n\n #getStateByState\n = (state: TinyStateMachineState): undefined | TinyStateMachineState => (this.#states.has(state) ? state : undefined)\n\n gotoState = (state: TinyStateMachineState | string): void | boolean => {\n const foundState = typeof state === 'string'\n ? this.#getStateByName(state as string)\n : this.#getStateByState(state as TinyStateMachineState)\n\n if (!foundState) {\n throw Error(`TinyStateMachin::gotoState state not found: ${state}`)\n }\n\n const prevState: undefined | TinyStateMachineState = this.#currentState\n\n this.#currentState = foundState\n this.publish(new TinyStateMachineEvent(TinyStateMachineEventType.TRANSITIONED_FROM), prevState)\n this.publish(new TinyStateMachineEvent(TinyStateMachineEventType.TRANSITIONED_TO), foundState)\n\n prevState?.publish(new TinyStateMachineEvent(TinyStateMachineEventType.TRANSITIONED_FROM))\n this.#currentState.publish(new TinyStateMachineEvent(TinyStateMachineEventType.TRANSITIONED_TO))\n return true\n }\n\n next = (): TinyStateMachineState | null => {\n let nextState: TinyStateMachineState\n const arrayOfStates: TinyStateMachineState[] = Array.from(this.#states)\n\n if (!this.#currentState) {\n [nextState] = arrayOfStates\n\n return this.gotoState(nextState) ? nextState : null\n }\n\n const currentStateIndex = arrayOfStates\n .findIndex((state: TinyStateMachineState) => state === this.#currentState)\n\n if (currentStateIndex < this.#states.size - 2) {\n nextState = arrayOfStates[currentStateIndex + 1]\n return this.gotoState(nextState) ? nextState : null\n }\n\n return null\n }\n}\n\n\n\n// eslint-disable-next-line @typescript-eslint/explicit-function-return-type\nexport const stateIterator = function* () {\n let operation: string\n let state: string = stateIterator.IS_RUNNING\n\n while (true) {\n // console.log('inside while loop')\n\n // // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // // @ts-ignore\n\n\n // // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // // @ts-ignore\n operation = yield state\n\n // // console.log('operation', operation)\n // // console.log('state', state)\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n if (operation === stateIterator.DO_END) {\n state = stateIterator.IS_FINITE\n yield state\n break\n }\n }\n yield* [1, 2, 3]\n yield 123\n\n return 10\n}\n\nstateIterator.DO_END = '__DO__END__'\nstateIterator.IS_FINITE = '__IS__FINITE__'\nstateIterator.IS_RUNNING = '__IS__RUNNING__'\n"],"names":["TinyStateMachineEventType","TinyStateMachineEvent","Event","constructor","type","eventInitDict","super","_name","_classPrivateFieldLooseKey","_listeners","TinyStateMachineState","name","Object","defineProperty","this","writable","value","subscribe","listener","_classPrivateFieldLooseBase","add","delete","unsubscribe","publish","event","size","toString","Set","Symbol","toStringTag","_states","_listeners2","_currentState","_getStateByName","_getStateByState","stateIterator","operation","state","IS_RUNNING","DO_END","IS_FINITE","states","addState","removeState","stateName","Array","from","find","has","undefined","gotoState","foundState","Error","prevState","TRANSITIONED_FROM","TRANSITIONED_TO","next","nextState","arrayOfStates","currentStateIndex","findIndex","currentState","stateNames","map"],"mappings":"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"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("../../../../../_virtual/_rollupPluginBabelHelpers.js")
|
|
1
|
+
"use strict";var e=require("../../../../../_virtual/_rollupPluginBabelHelpers.js"),r=require("../../helpers/other.js");let t=!0;exports.canSetStateMerge=e=>{t=!!e},exports.createStore=(n,o,s)=>{let l=n;const c=new Set,u=()=>l,i=function(){var r=e.asyncToGenerator((function*(e){l=t?{...u(),...e}:e;for(const e of c){const r=e?.selector,t=r?r(l):l;void 0!==e.previousValue&&e.previousValue===t||(e.previousValue=t,yield e(t))}return l}));return function(e){return r.apply(this,arguments)}}(),a={getState:u,setState:i,subscribe:(e,r)=>{if(r&&e.selector&&e.selector!==r)throw new Error("Error, mismatch selector, listener.selector !== selector.");return r&&!e.selector&&(e.selector=r),e.selector&&(e.previousValue=e.selector(u())),c.add(e),()=>c.delete(e)},unsubscribe:e=>{c.delete(e)}},p=o?Object.entries(o)?.reduce(((t,n)=>{let[o,l]=n;return t[o]=e.asyncToGenerator((function*(){const e=r.isFunctionAsync(l);e&&i({...u(),[`${o}Error`]:null,[`${o}Pending`]:!0});try{for(var t=arguments.length,n=new Array(t),c=0;c<t;c++)n[c]=arguments[c];const r=yield l(u,i,...n);return s&&i(s(u(),o,...n)),e&&i({...u(),[`${o}Pending`]:!1}),r}catch(r){throw e&&i({...u(),[`${o}Pending`]:!1,[`${o}Error`]:r}),r}})),t}),{}):null,d={...a,...p?{actions:{...p}}:{}};return d},exports.getSetStateMerge=()=>t;
|
|
2
2
|
//# sourceMappingURL=store.vanillajs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.vanillajs.js","sources":["../../../../../../../../src/core/utils/appState/store/store.vanillajs.ts"],"sourcesContent":["\n// TinyStore, inspired by https://github.com/jherr/syncexternalstore/blob/main/csr/src/store.js\n\nimport { isFunctionAsync } from '../../helpers'\n\n\nlet SET_STATE_MERGE: boolean = true\n\n\nexport const canSetStateMerge = (value: boolean): void => {\n SET_STATE_MERGE = !!value\n}\n\nexport const getSetStateMerge = (): boolean => SET_STATE_MERGE\n\n/**\n * Represents the callback function for a store listener.\n */\nexport type ListenerCallBack<T> = (state: Partial<T>) => void\n\n/**\n * Represents a selector function that transforms the store state.\n */\n// export type Selector<T> = (state: Partial<T>) => Partial<T>;\nexport type SelectedValueType<T> = Partial<T> | Partial<keyof T>\n| string | number | boolean | undefined | string[] | number[] | boolean[] | undefined[];\nexport type Selector<T> = (state: Partial<T>) => SelectedValueType<T>;\n\n\n/**\n * Represents a listener for the store.\n */\nexport type Listener<T> = {\n selector?: Selector<T>\n previousValue?: SelectedValueType<T>\n} & ListenerCallBack<T>\n\n/**\n * Represents a store.\n */\nexport type Store<T> = {\n /**\n * Get the current state of the store.\n * @returns The current state of the store.\n */\n getState: () => Partial<T>\n /**\n * Set the state of the store.\n * @param state - The new state to set.\n * @returns A promise that resolves to the new state.\n */\n setState: (state: Partial<T>) => Promise<Partial<T>>\n /**\n * Subscribe a listener to the store.\n * @param listener - The listener function to be subscribed.\n * @param selector - Optional selector function to transform the store state.\n * @returns A function to unsubscribe the listener.\n */\n subscribe: (listener: Listener<T>, selector?: Selector<T>) => () => void\n /**\n * Unubscribe a listener from the store.\n * @param listener - The listener function to be unsubscribed.\n */\n unsubscribe: (listener: Listener<T>) => void\n}\n// & { actions?: { [actionName: string]: ActionHandlerCaller } }\n\n// TODO infer actionNames from createStore arguments\n/**\n * Represents a store with additional actions.\n */\nexport type StoreWithActions<T> = Store<T> & { actions: { [actionName: string]: ActionHandlerCaller<T> } }\n\n\n\n\n/**\n * Represents an action handler function.\n */\nexport type ActionHandler<T> = (\n getState: Store<T>['getState'], // Function to get the current state of the store\n setState: Store<T>['setState'], // Function to set the state of the store\n ...rest: unknown[]\n) => void | Partial<T> | Promise<void | Partial<T>>\n\n/**\n * Represents an reducer function.\n */\nexport type Reducer<T> = (\n state: Partial<T>,\n action: string,\n ...rest: unknown[]\n) => Partial<T>\n\n\n/**\n * Represents a function that calls an action handler.\n */\nexport type ActionHandlerCaller<T> = (...args: unknown[]) => void | Partial<T> | Promise<void | Partial<T>>\n\n\ntype Actions<T> = { [key: string]: ActionHandler<T>}\n/**\n * Creates a new store.\n * @param initialState - The initial state of the store.\n * @param actions - Optional actions for the store.\n * @returns The created store.\n */\nexport const createStore = <T>(\n initialState: Partial<T>,\n actions?: Actions<T>,\n reducer?: Reducer<T>,\n): Store<T> | StoreWithActions<T> => {\n let currentState: Partial<T> = initialState\n const listeners = new Set<Listener<T>>()\n\n /**\n * Gets the current state of the store.\n * @returns The current state of the store.\n */\n const getState = (): Partial<T> => currentState\n\n // TODO debounce, batch? what is the meaningful time between setState ofr UI to be rendered and registerd by User?\n /**\n * Sets the state of the store.\n * @param newState - The new state to set.\n * @returns A promise that resolves to the new state.\n */\n const setState = async (newState: Partial<T>): Promise<Partial<T>> => {\n currentState = SET_STATE_MERGE ? { ...getState(), ...newState } : newState\n\n // eslint-disable-next-line no-restricted-syntax\n for (const listener of listeners) {\n // has Listener selector?\n const selector: Selector<T> | undefined = listener?.selector\n\n // TODO compare selected value to the previous values of that listener/selector pair\n // if listener.previousValue === selector(currentState) no call\n // else listener.previousValue = selector(currentState) and call\n // l1 cache, weak references?\n const newValue: SelectedValueType<T> = selector ? selector(currentState) : currentState\n\n // TODO plugin equality\n if (listener.previousValue === undefined || listener.previousValue !== newValue) {\n listener.previousValue = newValue\n // eslint-disable-next-line no-await-in-loop\n await listener(newValue as Partial<T>)\n }\n }\n return currentState\n }\n\n /**\n * Represents the basic API of the store.\n */\n const storeBaseicApi: Store<T> = {\n /**\n * Get the current state of the store.\n * @returns The current state of the store.\n */\n getState,\n /**\n * Set the state of the store.\n * @param state - The new state to set.\n * @returns A promise that resolves to the new state.\n */\n setState,\n /**\n * Subscribe a listener to the store.\n * @param listener - The listener function to be subscribed.\n * @returns A function to unsubscribe the listener.\n */\n subscribe: (listener: Listener<T>, selector?: Selector<T>) => {\n if (selector && listener.selector && listener.selector !== selector) {\n throw new Error('Error, mismatch selector, listener.selector !== selector.')\n }\n if (selector && !listener.selector) {\n // eslint-disable-next-line no-param-reassign\n listener.selector = selector\n }\n\n if (listener.selector) {\n // setting the previousValue for the next cache/equality check\n // eslint-disable-next-line no-param-reassign\n listener.previousValue = listener.selector(getState())\n }\n\n listeners.add(listener)\n return () => listeners.delete(listener)\n },\n /**\n * Unsubscribe a listener from the store.\n * @param listener - The listener function to be unsubscribed.\n */\n unsubscribe: (listener: Listener<T>) => {\n listeners.delete(listener)\n },\n }\n\n /**\n * Resolves the actions and creates action handlers.\n */\n const resolvedActions: Actions<T> | null | undefined\n = actions ? Object.entries(actions)?.reduce(\n (\n aggregator: Record<string, ActionHandlerCaller<T>>,\n [actionName, actionHandler]: [string, ActionHandler<T>],\n ) => {\n // eslint-disable-next-line no-param-reassign\n aggregator[actionName] = async(...rest: unknown[]): Promise<void | Partial<T>> => {\n // TODO try to not call subscriber too many times becuase of Error and Pending values\n const isAsync = isFunctionAsync(actionHandler as () => unknown)\n\n if (isAsync) {\n setState({\n ...getState(),\n [`${actionName}Error`]: null,\n [`${actionName}Pending`]: true,\n })\n }\n\n try {\n const resultOfAction = await actionHandler(getState, setState, ...rest)\n\n // TODO try to mutate state only once with the results, that means pass custom setState to action,\n // so that it would matk pending and error already inside action\n if (reducer) {\n setState(reducer(getState(), actionName, ...rest))\n }\n\n if (isAsync) {\n setState({ ...getState(), [`${actionName}Pending`]: false })\n }\n\n return resultOfAction\n } catch (error) {\n if (isAsync) {\n setState({\n ...getState(),\n [`${actionName}Pending`]: false,\n [`${actionName}Error`]: error,\n })\n }\n throw error\n }\n }\n\n return aggregator\n },\n {},\n ) : null\n\n /**\n * Represents the store combined with actions.\n */\n const storeCombinedWithActions = {\n ...storeBaseicApi,\n ...(resolvedActions ? { actions: { ...resolvedActions } } : {}),\n }\n\n return resolvedActions\n ? storeCombinedWithActions as StoreWithActions<T>\n // ? storeCombinedWithActions as StoreWithActions<T> & ActionsStateReturnType<A>\n : storeCombinedWithActions as Store<T>\n}\n"],"names":["SET_STATE_MERGE","value","createStore","initialState","actions","reducer","_Object$entries","currentState","listeners","Set","getState","setState","_ref","_asyncToGenerator","newState","_objectSpread","objectSpread2","listener","selector","newValue","undefined","previousValue","_x","apply","this","arguments","storeBaseicApi","subscribe","Error","add","delete","unsubscribe","resolvedActions","Object","entries","reduce","aggregator","_ref2","actionName","actionHandler","isAsync","isFunctionAsync","concat","_len","length","rest","Array","_key","resultOfAction","error","storeCombinedWithActions","getSetStateMerge"],"mappings":"kNAMA,IAAIA,GAA2B,2BAGEC,IAC/BD,IAAoBC,CAAK,sBAkGAC,CACzBC,EACAC,EACAC,KACmC,IAAAC,EACnC,IAAIC,EAA2BJ,EAC/B,MAAMK,EAAY,IAAIC,IAMhBC,EAAWA,IAAkBH,EAQ7BI,EAAQ,WAAA,IAAAC,EAAAC,oBAAG,UAAOC,GACtBP,EAAeP,EAAee,EAAAA,cAAAA,EAAAC,cAAQN,CAAAA,EAAAA,KAAeI,GAAaA,EAGlE,IAAK,MAAMG,KAAYT,EAAW,CAEhC,MAAMU,EAAoCD,aAAAA,EAAAA,EAAUC,SAM9CC,EAAiCD,EAAWA,EAASX,GAAgBA,OAG5Ca,IAA3BH,EAASI,eAA+BJ,EAASI,gBAAkBF,IACrEF,EAASI,cAAgBF,QAEnBF,EAASE,GAEnB,CACA,OAAOZ,KACR,OAtBKI,SAAQW,GAAA,OAAAV,EAAAW,MAAAC,KAAAC,UAAA,EAAA,GA2BRC,EAA2B,CAK/BhB,WAMAC,WAMAgB,UAAWA,CAACV,EAAuBC,KACjC,GAAIA,GAAYD,EAASC,UAAYD,EAASC,WAAaA,EACzD,MAAM,IAAIU,MAAM,6DAclB,OAZIV,IAAaD,EAASC,WAExBD,EAASC,SAAWA,GAGlBD,EAASC,WAGXD,EAASI,cAAgBJ,EAASC,SAASR,MAG7CF,EAAUqB,IAAIZ,GACP,IAAMT,EAAUsB,OAAOb,EAAS,EAMzCc,YAAcd,IACZT,EAAUsB,OAAOb,EAAS,GAOxBe,EACF5B,EAAiCE,QAA1BA,EAAG2B,OAAOC,QAAQ9B,UAAfE,IAAuBA,OAAvBA,EAAAA,EAAyB6B,QACnC,CACEC,EAAkDC,KAE/C,IADFC,EAAYC,GAA0CF,EAyCvD,OAtCAD,EAAWE,GAAWzB,EAAAA,kBAAG,YAEvB,MAAM2B,EAAUC,EAAeA,gBAACF,GAE5BC,GACF7B,EAAQI,EAAAC,cAAAD,EAAAC,cACHN,CAAAA,EAAAA,KAAU,GAAA,CACb,CAAA,GAAAgC,OAAIJ,EAAU,UAAU,KACxB,CAAAI,GAAAA,OAAIJ,EAAsB,aAAA,KAI9B,IAAI,IAAA,IAAAK,EAAAlB,UAAAmB,OAZ4BC,EAAIC,IAAAA,MAAAH,GAAAI,EAAA,EAAAA,EAAAJ,EAAAI,IAAJF,EAAIE,GAAAtB,UAAAsB,GAalC,MAAMC,QAAuBT,EAAc7B,EAAUC,KAAakC,GAYlE,OARIxC,GACFM,EAASN,EAAQK,IAAY4B,KAAeO,IAG1CL,GACF7B,EAAQI,EAAAC,cAAAD,EAAAC,cAAMN,CAAAA,EAAAA,KAAU,GAAA,CAAE,CAAAgC,GAAAA,OAAIJ,EAAsB,aAAA,KAG/CU,CACR,CAAC,MAAOC,GAQP,MAPIT,GACF7B,EAAQI,EAAAC,cAAAD,EAAAC,cACHN,CAAAA,EAAAA,KAAU,GAAA,CACb,CAAA,GAAAgC,OAAIJ,EAAU,aAAY,EAC1B,CAAAI,GAAAA,OAAIJ,EAAoBW,UAAAA,KAGtBA,CACR,KAGKb,CAAU,GAEnB,CAAA,GACE,KAKAc,EAAwBnC,EAAAA,cAAAA,EAAAA,cACzBW,CAAAA,EAAAA,GACCM,EAAkB,CAAE5B,QAAOW,EAAAA,cAAA,CAAA,EAAOiB,IAAsB,IAG9D,OACIkB,CAEoC,2BA1PVC,IAAenD"}
|
|
1
|
+
{"version":3,"file":"store.vanillajs.js","sources":["../../../../../../../../src/core/utils/appState/store/store.vanillajs.ts"],"sourcesContent":["\n// TinyStore, inspired by https://github.com/jherr/syncexternalstore/blob/main/csr/src/store.js\n\nimport { isFunctionAsync } from '../../helpers'\n\n\nlet SET_STATE_MERGE: boolean = true\n\n\nexport const canSetStateMerge = (value: boolean): void => {\n SET_STATE_MERGE = !!value\n}\n\nexport const getSetStateMerge = (): boolean => SET_STATE_MERGE\n\n/**\n * Represents the callback function for a store listener.\n */\nexport type ListenerCallBack<T> = (state: Partial<T>) => void\n\n/**\n * Represents a selector function that transforms the store state.\n */\n// export type Selector<T> = (state: Partial<T>) => Partial<T>;\nexport type SelectedValueType<T> = Partial<T> | Partial<keyof T>\n| string | number | boolean | undefined | string[] | number[] | boolean[] | undefined[];\nexport type Selector<T> = (state: Partial<T>) => SelectedValueType<T>;\n\n\n/**\n * Represents a listener for the store.\n */\nexport type Listener<T> = {\n selector?: Selector<T>\n previousValue?: SelectedValueType<T>\n} & ListenerCallBack<T>\n\n/**\n * Represents a store.\n */\nexport type Store<T> = {\n /**\n * Get the current state of the store.\n * @returns The current state of the store.\n */\n getState: () => Partial<T>\n /**\n * Set the state of the store.\n * @param state - The new state to set.\n * @returns A promise that resolves to the new state.\n */\n setState: (state: Partial<T>) => Promise<Partial<T>>\n /**\n * Subscribe a listener to the store.\n * @param listener - The listener function to be subscribed.\n * @param selector - Optional selector function to transform the store state.\n * @returns A function to unsubscribe the listener.\n */\n subscribe: (listener: Listener<T>, selector?: Selector<T>) => () => void\n /**\n * Unubscribe a listener from the store.\n * @param listener - The listener function to be unsubscribed.\n */\n unsubscribe: (listener: Listener<T>) => void\n}\n// & { actions?: { [actionName: string]: ActionHandlerCaller } }\n\n// TODO infer actionNames from createStore arguments\n/**\n * Represents a store with additional actions.\n */\nexport type StoreWithActions<T> = Store<T> & { actions: { [actionName: string]: ActionHandlerCaller<T> } }\n\n\n\n\n/**\n * Represents an action handler function.\n */\nexport type ActionHandler<T> = (\n getState: Store<T>['getState'], // Function to get the current state of the store\n setState: Store<T>['setState'], // Function to set the state of the store\n ...rest: unknown[]\n) => void | Partial<T> | Promise<void | Partial<T>>\n\n/**\n * Represents an reducer function.\n */\nexport type Reducer<T> = (\n state: Partial<T>,\n action: string,\n ...rest: unknown[]\n) => Partial<T>\n\n\n/**\n * Represents a function that calls an action handler.\n */\nexport type ActionHandlerCaller<T> = (...args: unknown[]) => void | Partial<T> | Promise<void | Partial<T>>\n\n\ntype Actions<T> = { [key: string]: ActionHandler<T>}\n/**\n * Creates a new store.\n * @param initialState - The initial state of the store.\n * @param actions - Optional actions for the store.\n * @returns The created store.\n */\nexport const createStore = <T>(\n initialState: Partial<T>,\n actions?: Actions<T>,\n reducer?: Reducer<T>,\n): Store<T> | StoreWithActions<T> => {\n let currentState: Partial<T> = initialState\n const listeners = new Set<Listener<T>>()\n\n /**\n * Gets the current state of the store.\n * @returns The current state of the store.\n */\n const getState = (): Partial<T> => currentState\n\n // TODO debounce, batch? what is the meaningful time between setState ofr UI to be rendered and registerd by User?\n /**\n * Sets the state of the store.\n * @param newState - The new state to set.\n * @returns A promise that resolves to the new state.\n */\n const setState = async (newState: Partial<T>): Promise<Partial<T>> => {\n currentState = SET_STATE_MERGE ? { ...getState(), ...newState } : newState\n\n // eslint-disable-next-line no-restricted-syntax\n for (const listener of listeners) {\n // has Listener selector?\n const selector: Selector<T> | undefined = listener?.selector\n\n // TODO compare selected value to the previous values of that listener/selector pair\n // if listener.previousValue === selector(currentState) no call\n // else listener.previousValue = selector(currentState) and call\n // l1 cache, weak references?\n const newValue: SelectedValueType<T> = selector ? selector(currentState) : currentState\n\n // TODO plugin equality\n if (listener.previousValue === undefined || listener.previousValue !== newValue) {\n listener.previousValue = newValue\n // eslint-disable-next-line no-await-in-loop\n await listener(newValue as Partial<T>)\n }\n }\n return currentState\n }\n\n /**\n * Represents the basic API of the store.\n */\n const storeBaseicApi: Store<T> = {\n /**\n * Get the current state of the store.\n * @returns The current state of the store.\n */\n getState,\n /**\n * Set the state of the store.\n * @param state - The new state to set.\n * @returns A promise that resolves to the new state.\n */\n setState,\n /**\n * Subscribe a listener to the store.\n * @param listener - The listener function to be subscribed.\n * @returns A function to unsubscribe the listener.\n */\n subscribe: (listener: Listener<T>, selector?: Selector<T>) => {\n if (selector && listener.selector && listener.selector !== selector) {\n throw new Error('Error, mismatch selector, listener.selector !== selector.')\n }\n if (selector && !listener.selector) {\n // eslint-disable-next-line no-param-reassign\n listener.selector = selector\n }\n\n if (listener.selector) {\n // setting the previousValue for the next cache/equality check\n // eslint-disable-next-line no-param-reassign\n listener.previousValue = listener.selector(getState())\n }\n\n listeners.add(listener)\n return () => listeners.delete(listener)\n },\n /**\n * Unsubscribe a listener from the store.\n * @param listener - The listener function to be unsubscribed.\n */\n unsubscribe: (listener: Listener<T>) => {\n listeners.delete(listener)\n },\n }\n\n /**\n * Resolves the actions and creates action handlers.\n */\n const resolvedActions: Actions<T> | null | undefined\n = actions ? Object.entries(actions)?.reduce(\n (\n aggregator: Record<string, ActionHandlerCaller<T>>,\n [actionName, actionHandler]: [string, ActionHandler<T>],\n ) => {\n // eslint-disable-next-line no-param-reassign\n aggregator[actionName] = async(...rest: unknown[]): Promise<void | Partial<T>> => {\n // TODO try to not call subscriber too many times becuase of Error and Pending values\n const isAsync = isFunctionAsync(actionHandler as () => unknown)\n\n if (isAsync) {\n setState({\n ...getState(),\n [`${actionName}Error`]: null,\n [`${actionName}Pending`]: true,\n })\n }\n\n try {\n const resultOfAction = await actionHandler(getState, setState, ...rest)\n\n // TODO try to mutate state only once with the results, that means pass custom setState to action,\n // so that it would matk pending and error already inside action\n if (reducer) {\n setState(reducer(getState(), actionName, ...rest))\n }\n\n if (isAsync) {\n setState({ ...getState(), [`${actionName}Pending`]: false })\n }\n\n return resultOfAction\n } catch (error) {\n if (isAsync) {\n setState({\n ...getState(),\n [`${actionName}Pending`]: false,\n [`${actionName}Error`]: error,\n })\n }\n throw error\n }\n }\n\n return aggregator\n },\n {},\n ) : null\n\n /**\n * Represents the store combined with actions.\n */\n const storeCombinedWithActions = {\n ...storeBaseicApi,\n ...(resolvedActions ? { actions: { ...resolvedActions } } : {}),\n }\n\n return resolvedActions\n ? storeCombinedWithActions as StoreWithActions<T>\n // ? storeCombinedWithActions as StoreWithActions<T> & ActionsStateReturnType<A>\n : storeCombinedWithActions as Store<T>\n}\n"],"names":["SET_STATE_MERGE","value","createStore","initialState","actions","reducer","currentState","listeners","Set","getState","setState","_ref","_asyncToGenerator","newState","listener","selector","newValue","undefined","previousValue","_x","apply","this","arguments","storeBaseicApi","subscribe","Error","add","delete","unsubscribe","resolvedActions","Object","entries","reduce","aggregator","_ref2","actionName","actionHandler","isAsync","isFunctionAsync","_len","length","rest","Array","_key","resultOfAction","error","storeCombinedWithActions","getSetStateMerge"],"mappings":"uHAMA,IAAIA,GAA2B,2BAGEC,IAC/BD,IAAoBC,CAAK,sBAkGAC,CACzBC,EACAC,EACAC,KAEA,IAAIC,EAA2BH,EAC/B,MAAMI,EAAY,IAAIC,IAMhBC,EAAWA,IAAkBH,EAQ7BI,EAAQ,WAAA,IAAAC,EAAAC,oBAAG,UAAOC,GACtBP,EAAeN,EAAkB,IAAKS,OAAeI,GAAaA,EAGlE,IAAK,MAAMC,KAAYP,EAAW,CAEhC,MAAMQ,EAAoCD,GAAUC,SAM9CC,EAAiCD,EAAWA,EAAST,GAAgBA,OAG5CW,IAA3BH,EAASI,eAA+BJ,EAASI,gBAAkBF,IACrEF,EAASI,cAAgBF,QAEnBF,EAASE,GAEnB,CACA,OAAOV,CACT,IAAC,OAAA,SAtBaa,GAAA,OAAAR,EAAAS,MAAAC,KAAAC,UAAA,CAAA,CAAA,GA2BRC,EAA2B,CAK/Bd,WAMAC,WAMAc,UAAWA,CAACV,EAAuBC,KACjC,GAAIA,GAAYD,EAASC,UAAYD,EAASC,WAAaA,EACzD,MAAM,IAAIU,MAAM,6DAclB,OAZIV,IAAaD,EAASC,WAExBD,EAASC,SAAWA,GAGlBD,EAASC,WAGXD,EAASI,cAAgBJ,EAASC,SAASN,MAG7CF,EAAUmB,IAAIZ,GACP,IAAMP,EAAUoB,OAAOb,EAAS,EAMzCc,YAAcd,IACZP,EAAUoB,OAAOb,EAAS,GAOxBe,EACFzB,EAAU0B,OAAOC,QAAQ3B,IAAU4B,QACnC,CACEC,EAAkDC,KAE/C,IADFC,EAAYC,GAA0CF,EAyCvD,OAtCAD,EAAWE,GAAWvB,EAAAA,kBAAG,YAEvB,MAAMyB,EAAUC,EAAAA,gBAAgBF,GAE5BC,GACF3B,EAAS,IACJD,IACH,CAAC,GAAG0B,UAAoB,KACxB,CAAC,GAAGA,aAAsB,IAI9B,IAAI,IAAA,IAAAI,EAAAjB,UAAAkB,OAZ4BC,EAAI,IAAAC,MAAAH,GAAAI,EAAA,EAAAA,EAAAJ,EAAAI,IAAJF,EAAIE,GAAArB,UAAAqB,GAalC,MAAMC,QAAuBR,EAAc3B,EAAUC,KAAa+B,GAYlE,OARIpC,GACFK,EAASL,EAAQI,IAAY0B,KAAeM,IAG1CJ,GACF3B,EAAS,IAAKD,IAAY,CAAC,GAAG0B,aAAsB,IAG/CS,CACT,CAAE,MAAOC,GAQP,MAPIR,GACF3B,EAAS,IACJD,IACH,CAAC,GAAG0B,aAAsB,EAC1B,CAAC,GAAGA,UAAoBU,IAGtBA,CACR,CACF,IAEOZ,CAAU,GAEnB,CAAA,GACE,KAKAa,EAA2B,IAC5BvB,KACCM,EAAkB,CAAEzB,QAAS,IAAKyB,IAAsB,CAAA,GAG9D,OACIiB,CAEoC,2BA1PVC,IAAe/C"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var r=require("../../../../../_virtual/_rollupPluginBabelHelpers.js"),t=require("./store.vanillajs.js");exports.createDataStore=(a,e,n,o)=>{const i={...n,load:(s=r.asyncToGenerator((function*(r,t,a){const e=r();t({...e,isLoading:!0});try{const r=yield a;e.data=r?.data||r}catch(r){e.error=r}return t({...e,isLoading:!1})})),function(r,t,a){return s.apply(this,arguments)})};var s;return t.createStore({...e,dataId:a,isLoading:!1},i,o)};
|
|
2
2
|
//# sourceMappingURL=store.vanillajs.templates.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.vanillajs.templates.js","sources":["../../../../../../../../src/core/utils/appState/store/store.vanillajs.templates.ts"],"sourcesContent":["import { ActionHandler, Reducer, Store, StoreWithActions, createStore } from './store.vanillajs'\n\n\ntype DefaultES = { [key: string]: any }\n\n\nexport type DataState<T, ES = DefaultES> = {\n dataId: string\n isLoading: boolean\n error?: unknown\n data?: T\n} & ES\n\n\ntype Load<T, ES = DefaultES> = (\n getState: Store<DataState<T, ES>>['getState'],\n setState: Store<DataState<T, ES>>['setState'],\n dataPromise: unknown | Promise<unknown>,\n) => Promise<Partial<DataState<T, ES>>>\n\n\ntype LoadHandler<T, ES = DefaultES> = (\n dataPromise: unknown | Promise<unknown>,\n) => Promise<Partial<DataState<T, ES>>>\n\n/**\n * Creates a data store with actions.\n * @param dataId - The ID of the data.\n * @param actions - Optional actions for the data store.\n * @returns The created data store with actions.\n */\nexport const createDataStore\n= <T, ES = DefaultES>(\n dataId: string,\n initialState?: Partial<ES>,\n actions?: Record<string, ActionHandler<DataState<T, ES>>>,\n reducer?: Reducer<DataState<T, ES>>,\n): StoreWithActions<DataState<T, ES>>\n& { actions: { load: LoadHandler<T, ES> } } => {\n const loadActions: { load: Load<T, ES> } = {\n ...actions,\n /**\n * Loads data into the data store.\n * @param getState - Function to get the current state of the data store.\n * @param setState - Function to set the state of the data store.\n * @param dataPromise - The data promise to be loaded.\n * @returns A promise that resolves to the updated state of the data store.\n */\n load: async (\n getState: Store<DataState<T, ES>>['getState'],\n setState: Store<DataState<T, ES>>['setState'],\n dataPromise: unknown | Promise<unknown>,\n ) => {\n const dataState: Partial<DataState<T, ES>> = getState()\n\n setState({ ...dataState, isLoading: true })\n\n try {\n const response: unknown = await dataPromise\n\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n dataState.data = response?.data || response\n } catch (error: unknown) {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n dataState.error = error\n }\n return setState({ ...dataState, isLoading: false })\n },\n }\n\n return (createStore<DataState<T, ES>>({\n ...initialState,\n dataId,\n isLoading: false,\n } as Partial<DataState<T, ES>>, loadActions, reducer)) as StoreWithActions<DataState<T, ES>>\n & { actions: { load: LoadHandler<T, ES> } }\n}\n"],"names":["createDataStore","dataId","initialState","actions","reducer","loadActions","
|
|
1
|
+
{"version":3,"file":"store.vanillajs.templates.js","sources":["../../../../../../../../src/core/utils/appState/store/store.vanillajs.templates.ts"],"sourcesContent":["import { ActionHandler, Reducer, Store, StoreWithActions, createStore } from './store.vanillajs'\n\n\ntype DefaultES = { [key: string]: any }\n\n\nexport type DataState<T, ES = DefaultES> = {\n dataId: string\n isLoading: boolean\n error?: unknown\n data?: T\n} & ES\n\n\ntype Load<T, ES = DefaultES> = (\n getState: Store<DataState<T, ES>>['getState'],\n setState: Store<DataState<T, ES>>['setState'],\n dataPromise: unknown | Promise<unknown>,\n) => Promise<Partial<DataState<T, ES>>>\n\n\ntype LoadHandler<T, ES = DefaultES> = (\n dataPromise: unknown | Promise<unknown>,\n) => Promise<Partial<DataState<T, ES>>>\n\n/**\n * Creates a data store with actions.\n * @param dataId - The ID of the data.\n * @param actions - Optional actions for the data store.\n * @returns The created data store with actions.\n */\nexport const createDataStore\n= <T, ES = DefaultES>(\n dataId: string,\n initialState?: Partial<ES>,\n actions?: Record<string, ActionHandler<DataState<T, ES>>>,\n reducer?: Reducer<DataState<T, ES>>,\n): StoreWithActions<DataState<T, ES>>\n& { actions: { load: LoadHandler<T, ES> } } => {\n const loadActions: { load: Load<T, ES> } = {\n ...actions,\n /**\n * Loads data into the data store.\n * @param getState - Function to get the current state of the data store.\n * @param setState - Function to set the state of the data store.\n * @param dataPromise - The data promise to be loaded.\n * @returns A promise that resolves to the updated state of the data store.\n */\n load: async (\n getState: Store<DataState<T, ES>>['getState'],\n setState: Store<DataState<T, ES>>['setState'],\n dataPromise: unknown | Promise<unknown>,\n ) => {\n const dataState: Partial<DataState<T, ES>> = getState()\n\n setState({ ...dataState, isLoading: true })\n\n try {\n const response: unknown = await dataPromise\n\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n dataState.data = response?.data || response\n } catch (error: unknown) {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n dataState.error = error\n }\n return setState({ ...dataState, isLoading: false })\n },\n }\n\n return (createStore<DataState<T, ES>>({\n ...initialState,\n dataId,\n isLoading: false,\n } as Partial<DataState<T, ES>>, loadActions, reducer)) as StoreWithActions<DataState<T, ES>>\n & { actions: { load: LoadHandler<T, ES> } }\n}\n"],"names":["createDataStore","dataId","initialState","actions","reducer","loadActions","load","_ref","_asyncToGenerator","getState","setState","dataPromise","dataState","isLoading","response","data","error","_x","_x2","_x3","apply","this","arguments","createStore"],"mappings":"6IAgCEA,CACAC,EACAC,EACAC,EACAC,KAGA,MAAMC,EAAqC,IACtCF,EAQHG,MAAIC,EAAAC,EAAAA,kBAAE,UACJC,EACAC,EACAC,GAEA,MAAMC,EAAuCH,IAE7CC,EAAS,IAAKE,EAAWC,WAAW,IAEpC,IACE,MAAMC,QAA0BH,EAIhCC,EAAUG,KAAOD,GAAUC,MAAQD,CACrC,CAAE,MAAOE,GAGPJ,EAAUI,MAAQA,CACpB,CACA,OAAON,EAAS,IAAKE,EAAWC,WAAW,GAC7C,IAAC,SArBGI,EAAAC,EAAAC,GAAA,OAAAZ,EAAAa,MAAAC,KAAAC,UAAA,IAAA,IAAAf,EAwBN,OAAQgB,cAA8B,IACjCrB,EACHD,SACAY,WAAW,GACmBR,EAAaD,EAAQ"}
|