@e1011/es-kit 1.1.76 → 1.1.78
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/dist/hooks/esm/index.css +121 -121
- 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 +1 -1
- package/dist/hooks/esm/src/core/hooks/useOutsideClick.js.map +1 -1
- package/dist/hooks/esm/src/core/hooks/useParseProps.js +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/useSetTimeout.js +1 -1
- package/dist/hooks/esm/src/core/hooks/useSetTimeout.js.map +1 -1
- package/dist/hooks/esm/src/core/hooks/useThemePreference.js +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/index.css +121 -121
- 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 +1 -1
- package/dist/hooks/src/core/hooks/useOutsideClick.js.map +1 -1
- package/dist/hooks/src/core/hooks/useParseProps.js +1 -1
- package/dist/hooks/src/core/hooks/useParseProps.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/useSetTimeout.js +1 -1
- package/dist/hooks/src/core/hooks/useSetTimeout.js.map +1 -1
- package/dist/hooks/src/core/hooks/useThemePreference.js +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/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 +1 -1
- package/dist/lib/cjs/src/core/hooks/useOutsideClick.js.map +1 -1
- package/dist/lib/cjs/src/core/hooks/useParseProps.js +1 -1
- package/dist/lib/cjs/src/core/hooks/useParseProps.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/useSetTimeout.js +1 -1
- package/dist/lib/cjs/src/core/hooks/useSetTimeout.js.map +1 -1
- package/dist/lib/cjs/src/core/hooks/useThemePreference.js +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 +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/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/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/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/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/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/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/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/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/store/useStore.react.js +1 -1
- package/dist/lib/cjs/src/core/utils/appState/store/useStore.react.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/date.js +1 -1
- package/dist/lib/cjs/src/core/utils/helpers/date.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/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 +1 -1
- package/dist/lib/esm/src/core/hooks/useOutsideClick.js.map +1 -1
- package/dist/lib/esm/src/core/hooks/useParseProps.js +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/useSetTimeout.js +1 -1
- package/dist/lib/esm/src/core/hooks/useSetTimeout.js.map +1 -1
- package/dist/lib/esm/src/core/hooks/useThemePreference.js +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 +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/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/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/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/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/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/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/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/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/store/useStore.react.js +1 -1
- package/dist/lib/esm/src/core/utils/appState/store/useStore.react.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/date.js +1 -1
- package/dist/lib/esm/src/core/utils/helpers/date.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/ui/_virtual/_commonjsHelpers.js +1 -1
- package/dist/ui/esm/_virtual/_commonjsHelpers.js +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 +1 -1
- package/dist/ui/esm/src/core/hooks/useOutsideClick.js.map +1 -1
- package/dist/ui/esm/src/core/hooks/useParseProps.js +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 +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/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/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/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/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/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/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/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/utils/helpers/text.js +1 -1
- package/dist/ui/esm/src/core/utils/helpers/text.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 +1 -1
- package/dist/ui/src/core/hooks/useOutsideClick.js.map +1 -1
- package/dist/ui/src/core/hooks/useParseProps.js +1 -1
- package/dist/ui/src/core/hooks/useParseProps.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 +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/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/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/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/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/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/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/popup/Popup.js +1 -1
- package/dist/ui/src/core/ui/components/molecules/popup/Popup.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/utils/esm/index.css +121 -121
- 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/store/useStore.react.js +1 -1
- package/dist/utils/esm/src/core/utils/appState/store/useStore.react.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/date.js +1 -1
- package/dist/utils/esm/src/core/utils/helpers/date.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/index.css +121 -121
- 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/store/useStore.react.js +1 -1
- package/dist/utils/src/core/utils/appState/store/useStore.react.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/date.js +1 -1
- package/dist/utils/src/core/utils/helpers/date.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/package.json +1 -1
- package/dist/hooks/_virtual/index.js +0 -2
- package/dist/hooks/_virtual/index.js.map +0 -1
- package/dist/hooks/_virtual/react.development.js +0 -2
- package/dist/hooks/_virtual/react.development.js.map +0 -1
- package/dist/hooks/_virtual/react.production.min.js +0 -2
- package/dist/hooks/_virtual/react.production.min.js.map +0 -1
- package/dist/hooks/esm/_virtual/index.js +0 -2
- package/dist/hooks/esm/_virtual/index.js.map +0 -1
- package/dist/hooks/esm/_virtual/react.development.js +0 -2
- package/dist/hooks/esm/_virtual/react.development.js.map +0 -1
- package/dist/hooks/esm/_virtual/react.production.min.js +0 -2
- package/dist/hooks/esm/_virtual/react.production.min.js.map +0 -1
- package/dist/hooks/esm/node_modules/react/cjs/react.development.js +0 -11
- package/dist/hooks/esm/node_modules/react/cjs/react.development.js.map +0 -1
- package/dist/hooks/esm/node_modules/react/cjs/react.production.min.js +0 -11
- package/dist/hooks/esm/node_modules/react/cjs/react.production.min.js.map +0 -1
- package/dist/hooks/esm/node_modules/react/index.js +0 -2
- package/dist/hooks/esm/node_modules/react/index.js.map +0 -1
- package/dist/hooks/node_modules/react/cjs/react.development.js +0 -11
- package/dist/hooks/node_modules/react/cjs/react.development.js.map +0 -1
- package/dist/hooks/node_modules/react/cjs/react.production.min.js +0 -11
- package/dist/hooks/node_modules/react/cjs/react.production.min.js.map +0 -1
- package/dist/hooks/node_modules/react/index.js +0 -2
- package/dist/hooks/node_modules/react/index.js.map +0 -1
- package/dist/lib/cjs/_virtual/Parser.js +0 -2
- package/dist/lib/cjs/_virtual/Parser.js.map +0 -1
- package/dist/lib/cjs/_virtual/Tokenizer.js +0 -2
- package/dist/lib/cjs/_virtual/Tokenizer.js.map +0 -1
- package/dist/lib/cjs/_virtual/array-set.js +0 -2
- package/dist/lib/cjs/_virtual/array-set.js.map +0 -1
- package/dist/lib/cjs/_virtual/base64-vlq.js +0 -2
- package/dist/lib/cjs/_virtual/base64-vlq.js.map +0 -1
- package/dist/lib/cjs/_virtual/base64.js +0 -2
- package/dist/lib/cjs/_virtual/base64.js.map +0 -1
- package/dist/lib/cjs/_virtual/binary-search.js +0 -2
- package/dist/lib/cjs/_virtual/binary-search.js.map +0 -1
- package/dist/lib/cjs/_virtual/dayjs.min.js +0 -2
- package/dist/lib/cjs/_virtual/dayjs.min.js.map +0 -1
- package/dist/lib/cjs/_virtual/decode-data-html.js +0 -2
- package/dist/lib/cjs/_virtual/decode-data-html.js.map +0 -1
- package/dist/lib/cjs/_virtual/decode-data-xml.js +0 -2
- package/dist/lib/cjs/_virtual/decode-data-xml.js.map +0 -1
- package/dist/lib/cjs/_virtual/decode.js +0 -2
- package/dist/lib/cjs/_virtual/decode.js.map +0 -1
- package/dist/lib/cjs/_virtual/decode_codepoint.js +0 -2
- package/dist/lib/cjs/_virtual/decode_codepoint.js.map +0 -1
- package/dist/lib/cjs/_virtual/encode-html.js +0 -2
- package/dist/lib/cjs/_virtual/encode-html.js.map +0 -1
- package/dist/lib/cjs/_virtual/encode.js +0 -2
- package/dist/lib/cjs/_virtual/encode.js.map +0 -1
- package/dist/lib/cjs/_virtual/escape.js +0 -2
- package/dist/lib/cjs/_virtual/escape.js.map +0 -1
- package/dist/lib/cjs/_virtual/feeds.js +0 -2
- package/dist/lib/cjs/_virtual/feeds.js.map +0 -1
- package/dist/lib/cjs/_virtual/foreignNames.js +0 -2
- package/dist/lib/cjs/_virtual/foreignNames.js.map +0 -1
- package/dist/lib/cjs/_virtual/helpers.js +0 -2
- package/dist/lib/cjs/_virtual/helpers.js.map +0 -1
- package/dist/lib/cjs/_virtual/index.js +0 -2
- package/dist/lib/cjs/_virtual/index.js.map +0 -1
- package/dist/lib/cjs/_virtual/index2.js +0 -2
- package/dist/lib/cjs/_virtual/index2.js.map +0 -1
- package/dist/lib/cjs/_virtual/index3.js +0 -2
- package/dist/lib/cjs/_virtual/index3.js.map +0 -1
- package/dist/lib/cjs/_virtual/index4.js +0 -2
- package/dist/lib/cjs/_virtual/index4.js.map +0 -1
- package/dist/lib/cjs/_virtual/index5.js +0 -2
- package/dist/lib/cjs/_virtual/index5.js.map +0 -1
- package/dist/lib/cjs/_virtual/index6.js +0 -2
- package/dist/lib/cjs/_virtual/index6.js.map +0 -1
- package/dist/lib/cjs/_virtual/index7.js +0 -2
- package/dist/lib/cjs/_virtual/index7.js.map +0 -1
- package/dist/lib/cjs/_virtual/index8.js +0 -2
- package/dist/lib/cjs/_virtual/index8.js.map +0 -1
- package/dist/lib/cjs/_virtual/is-plain-object.js +0 -2
- package/dist/lib/cjs/_virtual/is-plain-object.js.map +0 -1
- package/dist/lib/cjs/_virtual/legacy.js +0 -2
- package/dist/lib/cjs/_virtual/legacy.js.map +0 -1
- package/dist/lib/cjs/_virtual/manipulation.js +0 -2
- package/dist/lib/cjs/_virtual/manipulation.js.map +0 -1
- package/dist/lib/cjs/_virtual/mapping-list.js +0 -2
- package/dist/lib/cjs/_virtual/mapping-list.js.map +0 -1
- package/dist/lib/cjs/_virtual/node.js +0 -2
- package/dist/lib/cjs/_virtual/node.js.map +0 -1
- package/dist/lib/cjs/_virtual/node2.js +0 -2
- package/dist/lib/cjs/_virtual/node2.js.map +0 -1
- package/dist/lib/cjs/_virtual/parse-srcset.js +0 -2
- package/dist/lib/cjs/_virtual/parse-srcset.js.map +0 -1
- package/dist/lib/cjs/_virtual/picocolors.js +0 -2
- package/dist/lib/cjs/_virtual/picocolors.js.map +0 -1
- package/dist/lib/cjs/_virtual/querying.js +0 -2
- package/dist/lib/cjs/_virtual/querying.js.map +0 -1
- package/dist/lib/cjs/_virtual/quick-sort.js +0 -2
- package/dist/lib/cjs/_virtual/quick-sort.js.map +0 -1
- package/dist/lib/cjs/_virtual/react.development.js +0 -2
- package/dist/lib/cjs/_virtual/react.development.js.map +0 -1
- package/dist/lib/cjs/_virtual/react.production.min.js +0 -2
- package/dist/lib/cjs/_virtual/react.production.min.js.map +0 -1
- package/dist/lib/cjs/_virtual/source-map-consumer.js +0 -2
- package/dist/lib/cjs/_virtual/source-map-consumer.js.map +0 -1
- package/dist/lib/cjs/_virtual/source-map-generator.js +0 -2
- package/dist/lib/cjs/_virtual/source-map-generator.js.map +0 -1
- package/dist/lib/cjs/_virtual/source-map.js +0 -2
- package/dist/lib/cjs/_virtual/source-map.js.map +0 -1
- package/dist/lib/cjs/_virtual/source-node.js +0 -2
- package/dist/lib/cjs/_virtual/source-node.js.map +0 -1
- package/dist/lib/cjs/_virtual/stringify.js +0 -2
- package/dist/lib/cjs/_virtual/stringify.js.map +0 -1
- package/dist/lib/cjs/_virtual/symbols.js +0 -2
- package/dist/lib/cjs/_virtual/symbols.js.map +0 -1
- package/dist/lib/cjs/_virtual/traversal.js +0 -2
- package/dist/lib/cjs/_virtual/traversal.js.map +0 -1
- package/dist/lib/cjs/_virtual/util.js +0 -2
- package/dist/lib/cjs/_virtual/util.js.map +0 -1
- package/dist/lib/cjs/node_modules/dayjs/dayjs.min.js +0 -2
- package/dist/lib/cjs/node_modules/dayjs/dayjs.min.js.map +0 -1
- package/dist/lib/cjs/node_modules/deepmerge/dist/cjs.js +0 -2
- package/dist/lib/cjs/node_modules/deepmerge/dist/cjs.js.map +0 -1
- package/dist/lib/cjs/node_modules/dom-serializer/lib/foreignNames.js +0 -2
- package/dist/lib/cjs/node_modules/dom-serializer/lib/foreignNames.js.map +0 -1
- package/dist/lib/cjs/node_modules/dom-serializer/lib/index.js +0 -2
- package/dist/lib/cjs/node_modules/dom-serializer/lib/index.js.map +0 -1
- package/dist/lib/cjs/node_modules/domelementtype/lib/index.js +0 -2
- package/dist/lib/cjs/node_modules/domelementtype/lib/index.js.map +0 -1
- package/dist/lib/cjs/node_modules/domutils/lib/feeds.js +0 -2
- package/dist/lib/cjs/node_modules/domutils/lib/feeds.js.map +0 -1
- package/dist/lib/cjs/node_modules/domutils/lib/helpers.js +0 -2
- package/dist/lib/cjs/node_modules/domutils/lib/helpers.js.map +0 -1
- package/dist/lib/cjs/node_modules/domutils/lib/index.js +0 -2
- package/dist/lib/cjs/node_modules/domutils/lib/index.js.map +0 -1
- package/dist/lib/cjs/node_modules/domutils/lib/legacy.js +0 -2
- package/dist/lib/cjs/node_modules/domutils/lib/legacy.js.map +0 -1
- package/dist/lib/cjs/node_modules/domutils/lib/manipulation.js +0 -2
- package/dist/lib/cjs/node_modules/domutils/lib/manipulation.js.map +0 -1
- package/dist/lib/cjs/node_modules/domutils/lib/querying.js +0 -2
- package/dist/lib/cjs/node_modules/domutils/lib/querying.js.map +0 -1
- package/dist/lib/cjs/node_modules/domutils/lib/stringify.js +0 -2
- package/dist/lib/cjs/node_modules/domutils/lib/stringify.js.map +0 -1
- package/dist/lib/cjs/node_modules/domutils/lib/traversal.js +0 -2
- package/dist/lib/cjs/node_modules/domutils/lib/traversal.js.map +0 -1
- package/dist/lib/cjs/node_modules/domutils/node_modules/domhandler/lib/index.js +0 -2
- package/dist/lib/cjs/node_modules/domutils/node_modules/domhandler/lib/index.js.map +0 -1
- package/dist/lib/cjs/node_modules/domutils/node_modules/domhandler/lib/node.js +0 -2
- package/dist/lib/cjs/node_modules/domutils/node_modules/domhandler/lib/node.js.map +0 -1
- package/dist/lib/cjs/node_modules/entities/lib/decode.js +0 -2
- package/dist/lib/cjs/node_modules/entities/lib/decode.js.map +0 -1
- package/dist/lib/cjs/node_modules/entities/lib/decode_codepoint.js +0 -2
- package/dist/lib/cjs/node_modules/entities/lib/decode_codepoint.js.map +0 -1
- package/dist/lib/cjs/node_modules/entities/lib/encode.js +0 -2
- package/dist/lib/cjs/node_modules/entities/lib/encode.js.map +0 -1
- package/dist/lib/cjs/node_modules/entities/lib/escape.js +0 -2
- package/dist/lib/cjs/node_modules/entities/lib/escape.js.map +0 -1
- package/dist/lib/cjs/node_modules/entities/lib/generated/decode-data-html.js +0 -2
- package/dist/lib/cjs/node_modules/entities/lib/generated/decode-data-html.js.map +0 -1
- package/dist/lib/cjs/node_modules/entities/lib/generated/decode-data-xml.js +0 -2
- package/dist/lib/cjs/node_modules/entities/lib/generated/decode-data-xml.js.map +0 -1
- package/dist/lib/cjs/node_modules/entities/lib/generated/encode-html.js +0 -2
- package/dist/lib/cjs/node_modules/entities/lib/generated/encode-html.js.map +0 -1
- package/dist/lib/cjs/node_modules/entities/lib/index.js +0 -2
- package/dist/lib/cjs/node_modules/entities/lib/index.js.map +0 -1
- package/dist/lib/cjs/node_modules/htmlparser2/lib/Parser.js +0 -2
- package/dist/lib/cjs/node_modules/htmlparser2/lib/Parser.js.map +0 -1
- package/dist/lib/cjs/node_modules/htmlparser2/lib/Tokenizer.js +0 -2
- package/dist/lib/cjs/node_modules/htmlparser2/lib/Tokenizer.js.map +0 -1
- package/dist/lib/cjs/node_modules/htmlparser2/lib/index.js +0 -2
- package/dist/lib/cjs/node_modules/htmlparser2/lib/index.js.map +0 -1
- package/dist/lib/cjs/node_modules/htmlparser2/node_modules/domhandler/lib/index.js +0 -2
- package/dist/lib/cjs/node_modules/htmlparser2/node_modules/domhandler/lib/index.js.map +0 -1
- package/dist/lib/cjs/node_modules/htmlparser2/node_modules/domhandler/lib/node.js +0 -2
- package/dist/lib/cjs/node_modules/htmlparser2/node_modules/domhandler/lib/node.js.map +0 -1
- package/dist/lib/cjs/node_modules/is-plain-object/dist/is-plain-object.js +0 -9
- package/dist/lib/cjs/node_modules/is-plain-object/dist/is-plain-object.js.map +0 -1
- package/dist/lib/cjs/node_modules/nanoid/non-secure/index.js +0 -2
- package/dist/lib/cjs/node_modules/nanoid/non-secure/index.js.map +0 -1
- package/dist/lib/cjs/node_modules/parse-srcset/src/parse-srcset.js +0 -2
- package/dist/lib/cjs/node_modules/parse-srcset/src/parse-srcset.js.map +0 -1
- package/dist/lib/cjs/node_modules/picocolors/picocolors.js +0 -2
- package/dist/lib/cjs/node_modules/picocolors/picocolors.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/bind.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/bind.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/curryN.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/curryN.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/equals.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/equals.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/filter.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/filter.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/identity.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/identity.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/internal/_arity.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/internal/_arity.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/internal/_arrayFromIterator.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/internal/_arrayFromIterator.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/internal/_complement.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/internal/_complement.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/internal/_curry1.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/internal/_curry1.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/internal/_curry2.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/internal/_curry2.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/internal/_curryN.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/internal/_curryN.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/internal/_dispatchable.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/internal/_dispatchable.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/internal/_equals.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/internal/_equals.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/internal/_filter.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/internal/_filter.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/internal/_functionName.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/internal/_functionName.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/internal/_has.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/internal/_has.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/internal/_identity.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/internal/_identity.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/internal/_includes.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/internal/_includes.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/internal/_includesWith.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/internal/_includesWith.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/internal/_indexOf.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/internal/_indexOf.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/internal/_isArguments.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/internal/_isArguments.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/internal/_isArray.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/internal/_isArray.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/internal/_isArrayLike.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/internal/_isArrayLike.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/internal/_isFunction.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/internal/_isFunction.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/internal/_isObject.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/internal/_isObject.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/internal/_isPlaceholder.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/internal/_isPlaceholder.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/internal/_isString.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/internal/_isString.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/internal/_isTransformer.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/internal/_isTransformer.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/internal/_map.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/internal/_map.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/internal/_objectIs.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/internal/_objectIs.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/internal/_quote.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/internal/_quote.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/internal/_reduce.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/internal/_reduce.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/internal/_toISOString.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/internal/_toISOString.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/internal/_toString.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/internal/_toString.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/internal/_xfBase.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/internal/_xfBase.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/internal/_xfilter.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/internal/_xfilter.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/internal/_xwrap.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/internal/_xwrap.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/invoker.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/invoker.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/is.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/is.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/keys.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/keys.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/memoizeWith.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/memoizeWith.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/reject.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/reject.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/toLower.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/toLower.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/toString.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/toString.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/toUpper.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/toUpper.js.map +0 -1
- package/dist/lib/cjs/node_modules/ramda/es/type.js +0 -2
- package/dist/lib/cjs/node_modules/ramda/es/type.js.map +0 -1
- package/dist/lib/cjs/node_modules/react/cjs/react.development.js +0 -11
- package/dist/lib/cjs/node_modules/react/cjs/react.development.js.map +0 -1
- package/dist/lib/cjs/node_modules/react/cjs/react.production.min.js +0 -11
- package/dist/lib/cjs/node_modules/react/cjs/react.production.min.js.map +0 -1
- package/dist/lib/cjs/node_modules/react/index.js +0 -2
- package/dist/lib/cjs/node_modules/react/index.js.map +0 -1
- package/dist/lib/cjs/node_modules/sanitize-html/index.js +0 -2
- package/dist/lib/cjs/node_modules/sanitize-html/index.js.map +0 -1
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/escape-string-regexp/index.js +0 -2
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/escape-string-regexp/index.js.map +0 -1
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/at-rule.js +0 -2
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/at-rule.js.map +0 -1
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/comment.js +0 -2
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/comment.js.map +0 -1
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/container.js +0 -2
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/container.js.map +0 -1
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/css-syntax-error.js +0 -2
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/css-syntax-error.js.map +0 -1
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/declaration.js +0 -2
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/declaration.js.map +0 -1
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/document.js +0 -2
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/document.js.map +0 -1
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/fromJSON.js +0 -2
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/fromJSON.js.map +0 -1
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/input.js +0 -2
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/input.js.map +0 -1
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/lazy-result.js +0 -2
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/lazy-result.js.map +0 -1
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/list.js +0 -2
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/list.js.map +0 -1
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/map-generator.js +0 -2
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/map-generator.js.map +0 -1
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/no-work-result.js +0 -2
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/no-work-result.js.map +0 -1
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/node.js +0 -2
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/node.js.map +0 -1
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/parse.js +0 -2
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/parse.js.map +0 -1
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/parser.js +0 -2
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/parser.js.map +0 -1
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/postcss.js +0 -2
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/postcss.js.map +0 -1
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/previous-map.js +0 -2
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/previous-map.js.map +0 -1
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/processor.js +0 -2
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/processor.js.map +0 -1
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/result.js +0 -2
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/result.js.map +0 -1
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/root.js +0 -2
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/root.js.map +0 -1
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/rule.js +0 -2
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/rule.js.map +0 -1
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/stringifier.js +0 -2
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/stringifier.js.map +0 -1
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/stringify.js +0 -2
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/stringify.js.map +0 -1
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/symbols.js +0 -2
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/symbols.js.map +0 -1
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/terminal-highlight.js +0 -2
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/terminal-highlight.js.map +0 -1
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/tokenize.js +0 -2
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/tokenize.js.map +0 -1
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/warn-once.js +0 -2
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/warn-once.js.map +0 -1
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/warning.js +0 -2
- package/dist/lib/cjs/node_modules/sanitize-html/node_modules/postcss/lib/warning.js.map +0 -1
- package/dist/lib/cjs/node_modules/source-map-js/lib/array-set.js +0 -2
- package/dist/lib/cjs/node_modules/source-map-js/lib/array-set.js.map +0 -1
- package/dist/lib/cjs/node_modules/source-map-js/lib/base64-vlq.js +0 -2
- package/dist/lib/cjs/node_modules/source-map-js/lib/base64-vlq.js.map +0 -1
- package/dist/lib/cjs/node_modules/source-map-js/lib/base64.js +0 -2
- package/dist/lib/cjs/node_modules/source-map-js/lib/base64.js.map +0 -1
- package/dist/lib/cjs/node_modules/source-map-js/lib/binary-search.js +0 -2
- package/dist/lib/cjs/node_modules/source-map-js/lib/binary-search.js.map +0 -1
- package/dist/lib/cjs/node_modules/source-map-js/lib/mapping-list.js +0 -2
- package/dist/lib/cjs/node_modules/source-map-js/lib/mapping-list.js.map +0 -1
- package/dist/lib/cjs/node_modules/source-map-js/lib/quick-sort.js +0 -2
- package/dist/lib/cjs/node_modules/source-map-js/lib/quick-sort.js.map +0 -1
- package/dist/lib/cjs/node_modules/source-map-js/lib/source-map-consumer.js +0 -2
- package/dist/lib/cjs/node_modules/source-map-js/lib/source-map-consumer.js.map +0 -1
- package/dist/lib/cjs/node_modules/source-map-js/lib/source-map-generator.js +0 -2
- package/dist/lib/cjs/node_modules/source-map-js/lib/source-map-generator.js.map +0 -1
- package/dist/lib/cjs/node_modules/source-map-js/lib/source-node.js +0 -2
- package/dist/lib/cjs/node_modules/source-map-js/lib/source-node.js.map +0 -1
- package/dist/lib/cjs/node_modules/source-map-js/lib/util.js +0 -2
- package/dist/lib/cjs/node_modules/source-map-js/lib/util.js.map +0 -1
- package/dist/lib/cjs/node_modules/source-map-js/source-map.js +0 -2
- package/dist/lib/cjs/node_modules/source-map-js/source-map.js.map +0 -1
- package/dist/lib/esm/_virtual/Parser.js +0 -2
- package/dist/lib/esm/_virtual/Parser.js.map +0 -1
- package/dist/lib/esm/_virtual/Tokenizer.js +0 -2
- package/dist/lib/esm/_virtual/Tokenizer.js.map +0 -1
- package/dist/lib/esm/_virtual/array-set.js +0 -2
- package/dist/lib/esm/_virtual/array-set.js.map +0 -1
- package/dist/lib/esm/_virtual/base64-vlq.js +0 -2
- package/dist/lib/esm/_virtual/base64-vlq.js.map +0 -1
- package/dist/lib/esm/_virtual/base64.js +0 -2
- package/dist/lib/esm/_virtual/base64.js.map +0 -1
- package/dist/lib/esm/_virtual/binary-search.js +0 -2
- package/dist/lib/esm/_virtual/binary-search.js.map +0 -1
- package/dist/lib/esm/_virtual/dayjs.min.js +0 -2
- package/dist/lib/esm/_virtual/dayjs.min.js.map +0 -1
- package/dist/lib/esm/_virtual/decode-data-html.js +0 -2
- package/dist/lib/esm/_virtual/decode-data-html.js.map +0 -1
- package/dist/lib/esm/_virtual/decode-data-xml.js +0 -2
- package/dist/lib/esm/_virtual/decode-data-xml.js.map +0 -1
- package/dist/lib/esm/_virtual/decode.js +0 -2
- package/dist/lib/esm/_virtual/decode.js.map +0 -1
- package/dist/lib/esm/_virtual/decode_codepoint.js +0 -2
- package/dist/lib/esm/_virtual/decode_codepoint.js.map +0 -1
- package/dist/lib/esm/_virtual/encode-html.js +0 -2
- package/dist/lib/esm/_virtual/encode-html.js.map +0 -1
- package/dist/lib/esm/_virtual/encode.js +0 -2
- package/dist/lib/esm/_virtual/encode.js.map +0 -1
- package/dist/lib/esm/_virtual/escape.js +0 -2
- package/dist/lib/esm/_virtual/escape.js.map +0 -1
- package/dist/lib/esm/_virtual/feeds.js +0 -2
- package/dist/lib/esm/_virtual/feeds.js.map +0 -1
- package/dist/lib/esm/_virtual/foreignNames.js +0 -2
- package/dist/lib/esm/_virtual/foreignNames.js.map +0 -1
- package/dist/lib/esm/_virtual/helpers.js +0 -2
- package/dist/lib/esm/_virtual/helpers.js.map +0 -1
- package/dist/lib/esm/_virtual/index.js +0 -2
- package/dist/lib/esm/_virtual/index.js.map +0 -1
- package/dist/lib/esm/_virtual/index2.js +0 -2
- package/dist/lib/esm/_virtual/index2.js.map +0 -1
- package/dist/lib/esm/_virtual/index3.js +0 -2
- package/dist/lib/esm/_virtual/index3.js.map +0 -1
- package/dist/lib/esm/_virtual/index4.js +0 -2
- package/dist/lib/esm/_virtual/index4.js.map +0 -1
- package/dist/lib/esm/_virtual/index5.js +0 -2
- package/dist/lib/esm/_virtual/index5.js.map +0 -1
- package/dist/lib/esm/_virtual/index6.js +0 -2
- package/dist/lib/esm/_virtual/index6.js.map +0 -1
- package/dist/lib/esm/_virtual/index7.js +0 -2
- package/dist/lib/esm/_virtual/index7.js.map +0 -1
- package/dist/lib/esm/_virtual/index8.js +0 -2
- package/dist/lib/esm/_virtual/index8.js.map +0 -1
- package/dist/lib/esm/_virtual/is-plain-object.js +0 -2
- package/dist/lib/esm/_virtual/is-plain-object.js.map +0 -1
- package/dist/lib/esm/_virtual/legacy.js +0 -2
- package/dist/lib/esm/_virtual/legacy.js.map +0 -1
- package/dist/lib/esm/_virtual/manipulation.js +0 -2
- package/dist/lib/esm/_virtual/manipulation.js.map +0 -1
- package/dist/lib/esm/_virtual/mapping-list.js +0 -2
- package/dist/lib/esm/_virtual/mapping-list.js.map +0 -1
- package/dist/lib/esm/_virtual/node.js +0 -2
- package/dist/lib/esm/_virtual/node.js.map +0 -1
- package/dist/lib/esm/_virtual/node2.js +0 -2
- package/dist/lib/esm/_virtual/node2.js.map +0 -1
- package/dist/lib/esm/_virtual/parse-srcset.js +0 -2
- package/dist/lib/esm/_virtual/parse-srcset.js.map +0 -1
- package/dist/lib/esm/_virtual/picocolors.js +0 -2
- package/dist/lib/esm/_virtual/picocolors.js.map +0 -1
- package/dist/lib/esm/_virtual/querying.js +0 -2
- package/dist/lib/esm/_virtual/querying.js.map +0 -1
- package/dist/lib/esm/_virtual/quick-sort.js +0 -2
- package/dist/lib/esm/_virtual/quick-sort.js.map +0 -1
- package/dist/lib/esm/_virtual/react.development.js +0 -2
- package/dist/lib/esm/_virtual/react.development.js.map +0 -1
- package/dist/lib/esm/_virtual/react.production.min.js +0 -2
- package/dist/lib/esm/_virtual/react.production.min.js.map +0 -1
- package/dist/lib/esm/_virtual/source-map-consumer.js +0 -2
- package/dist/lib/esm/_virtual/source-map-consumer.js.map +0 -1
- package/dist/lib/esm/_virtual/source-map-generator.js +0 -2
- package/dist/lib/esm/_virtual/source-map-generator.js.map +0 -1
- package/dist/lib/esm/_virtual/source-map.js +0 -2
- package/dist/lib/esm/_virtual/source-map.js.map +0 -1
- package/dist/lib/esm/_virtual/source-node.js +0 -2
- package/dist/lib/esm/_virtual/source-node.js.map +0 -1
- package/dist/lib/esm/_virtual/stringify.js +0 -2
- package/dist/lib/esm/_virtual/stringify.js.map +0 -1
- package/dist/lib/esm/_virtual/symbols.js +0 -2
- package/dist/lib/esm/_virtual/symbols.js.map +0 -1
- package/dist/lib/esm/_virtual/traversal.js +0 -2
- package/dist/lib/esm/_virtual/traversal.js.map +0 -1
- package/dist/lib/esm/_virtual/util.js +0 -2
- package/dist/lib/esm/_virtual/util.js.map +0 -1
- package/dist/lib/esm/node_modules/dayjs/dayjs.min.js +0 -2
- package/dist/lib/esm/node_modules/dayjs/dayjs.min.js.map +0 -1
- package/dist/lib/esm/node_modules/deepmerge/dist/cjs.js +0 -2
- package/dist/lib/esm/node_modules/deepmerge/dist/cjs.js.map +0 -1
- package/dist/lib/esm/node_modules/dom-serializer/lib/foreignNames.js +0 -2
- package/dist/lib/esm/node_modules/dom-serializer/lib/foreignNames.js.map +0 -1
- package/dist/lib/esm/node_modules/dom-serializer/lib/index.js +0 -2
- package/dist/lib/esm/node_modules/dom-serializer/lib/index.js.map +0 -1
- package/dist/lib/esm/node_modules/domelementtype/lib/index.js +0 -2
- package/dist/lib/esm/node_modules/domelementtype/lib/index.js.map +0 -1
- package/dist/lib/esm/node_modules/domutils/lib/feeds.js +0 -2
- package/dist/lib/esm/node_modules/domutils/lib/feeds.js.map +0 -1
- package/dist/lib/esm/node_modules/domutils/lib/helpers.js +0 -2
- package/dist/lib/esm/node_modules/domutils/lib/helpers.js.map +0 -1
- package/dist/lib/esm/node_modules/domutils/lib/index.js +0 -2
- package/dist/lib/esm/node_modules/domutils/lib/index.js.map +0 -1
- package/dist/lib/esm/node_modules/domutils/lib/legacy.js +0 -2
- package/dist/lib/esm/node_modules/domutils/lib/legacy.js.map +0 -1
- package/dist/lib/esm/node_modules/domutils/lib/manipulation.js +0 -2
- package/dist/lib/esm/node_modules/domutils/lib/manipulation.js.map +0 -1
- package/dist/lib/esm/node_modules/domutils/lib/querying.js +0 -2
- package/dist/lib/esm/node_modules/domutils/lib/querying.js.map +0 -1
- package/dist/lib/esm/node_modules/domutils/lib/stringify.js +0 -2
- package/dist/lib/esm/node_modules/domutils/lib/stringify.js.map +0 -1
- package/dist/lib/esm/node_modules/domutils/lib/traversal.js +0 -2
- package/dist/lib/esm/node_modules/domutils/lib/traversal.js.map +0 -1
- package/dist/lib/esm/node_modules/domutils/node_modules/domhandler/lib/index.js +0 -2
- package/dist/lib/esm/node_modules/domutils/node_modules/domhandler/lib/index.js.map +0 -1
- package/dist/lib/esm/node_modules/domutils/node_modules/domhandler/lib/node.js +0 -2
- package/dist/lib/esm/node_modules/domutils/node_modules/domhandler/lib/node.js.map +0 -1
- package/dist/lib/esm/node_modules/entities/lib/decode.js +0 -2
- package/dist/lib/esm/node_modules/entities/lib/decode.js.map +0 -1
- package/dist/lib/esm/node_modules/entities/lib/decode_codepoint.js +0 -2
- package/dist/lib/esm/node_modules/entities/lib/decode_codepoint.js.map +0 -1
- package/dist/lib/esm/node_modules/entities/lib/encode.js +0 -2
- package/dist/lib/esm/node_modules/entities/lib/encode.js.map +0 -1
- package/dist/lib/esm/node_modules/entities/lib/escape.js +0 -2
- package/dist/lib/esm/node_modules/entities/lib/escape.js.map +0 -1
- package/dist/lib/esm/node_modules/entities/lib/generated/decode-data-html.js +0 -2
- package/dist/lib/esm/node_modules/entities/lib/generated/decode-data-html.js.map +0 -1
- package/dist/lib/esm/node_modules/entities/lib/generated/decode-data-xml.js +0 -2
- package/dist/lib/esm/node_modules/entities/lib/generated/decode-data-xml.js.map +0 -1
- package/dist/lib/esm/node_modules/entities/lib/generated/encode-html.js +0 -2
- package/dist/lib/esm/node_modules/entities/lib/generated/encode-html.js.map +0 -1
- package/dist/lib/esm/node_modules/entities/lib/index.js +0 -2
- package/dist/lib/esm/node_modules/entities/lib/index.js.map +0 -1
- package/dist/lib/esm/node_modules/htmlparser2/lib/Parser.js +0 -2
- package/dist/lib/esm/node_modules/htmlparser2/lib/Parser.js.map +0 -1
- package/dist/lib/esm/node_modules/htmlparser2/lib/Tokenizer.js +0 -2
- package/dist/lib/esm/node_modules/htmlparser2/lib/Tokenizer.js.map +0 -1
- package/dist/lib/esm/node_modules/htmlparser2/lib/index.js +0 -2
- package/dist/lib/esm/node_modules/htmlparser2/lib/index.js.map +0 -1
- package/dist/lib/esm/node_modules/htmlparser2/node_modules/domhandler/lib/index.js +0 -2
- package/dist/lib/esm/node_modules/htmlparser2/node_modules/domhandler/lib/index.js.map +0 -1
- package/dist/lib/esm/node_modules/htmlparser2/node_modules/domhandler/lib/node.js +0 -2
- package/dist/lib/esm/node_modules/htmlparser2/node_modules/domhandler/lib/node.js.map +0 -1
- package/dist/lib/esm/node_modules/is-plain-object/dist/is-plain-object.js +0 -9
- package/dist/lib/esm/node_modules/is-plain-object/dist/is-plain-object.js.map +0 -1
- package/dist/lib/esm/node_modules/nanoid/non-secure/index.js +0 -2
- package/dist/lib/esm/node_modules/nanoid/non-secure/index.js.map +0 -1
- package/dist/lib/esm/node_modules/parse-srcset/src/parse-srcset.js +0 -2
- package/dist/lib/esm/node_modules/parse-srcset/src/parse-srcset.js.map +0 -1
- package/dist/lib/esm/node_modules/picocolors/picocolors.js +0 -2
- package/dist/lib/esm/node_modules/picocolors/picocolors.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/bind.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/bind.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/curryN.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/curryN.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/equals.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/equals.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/filter.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/filter.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/identity.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/identity.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/internal/_arity.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/internal/_arity.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/internal/_arrayFromIterator.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/internal/_arrayFromIterator.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/internal/_complement.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/internal/_complement.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/internal/_curry1.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/internal/_curry1.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/internal/_curry2.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/internal/_curry2.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/internal/_curryN.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/internal/_curryN.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/internal/_dispatchable.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/internal/_dispatchable.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/internal/_equals.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/internal/_equals.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/internal/_filter.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/internal/_filter.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/internal/_functionName.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/internal/_functionName.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/internal/_has.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/internal/_has.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/internal/_identity.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/internal/_identity.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/internal/_includes.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/internal/_includes.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/internal/_includesWith.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/internal/_includesWith.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/internal/_indexOf.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/internal/_indexOf.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/internal/_isArguments.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/internal/_isArguments.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/internal/_isArray.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/internal/_isArray.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/internal/_isArrayLike.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/internal/_isArrayLike.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/internal/_isFunction.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/internal/_isFunction.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/internal/_isObject.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/internal/_isObject.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/internal/_isPlaceholder.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/internal/_isPlaceholder.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/internal/_isString.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/internal/_isString.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/internal/_isTransformer.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/internal/_isTransformer.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/internal/_map.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/internal/_map.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/internal/_objectIs.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/internal/_objectIs.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/internal/_quote.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/internal/_quote.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/internal/_reduce.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/internal/_reduce.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/internal/_toISOString.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/internal/_toISOString.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/internal/_toString.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/internal/_toString.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/internal/_xfBase.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/internal/_xfBase.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/internal/_xfilter.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/internal/_xfilter.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/internal/_xwrap.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/internal/_xwrap.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/invoker.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/invoker.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/is.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/is.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/keys.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/keys.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/memoizeWith.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/memoizeWith.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/reject.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/reject.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/toLower.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/toLower.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/toString.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/toString.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/toUpper.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/toUpper.js.map +0 -1
- package/dist/lib/esm/node_modules/ramda/es/type.js +0 -2
- package/dist/lib/esm/node_modules/ramda/es/type.js.map +0 -1
- package/dist/lib/esm/node_modules/react/cjs/react.development.js +0 -11
- package/dist/lib/esm/node_modules/react/cjs/react.development.js.map +0 -1
- package/dist/lib/esm/node_modules/react/cjs/react.production.min.js +0 -11
- package/dist/lib/esm/node_modules/react/cjs/react.production.min.js.map +0 -1
- package/dist/lib/esm/node_modules/react/index.js +0 -2
- package/dist/lib/esm/node_modules/react/index.js.map +0 -1
- package/dist/lib/esm/node_modules/sanitize-html/index.js +0 -2
- package/dist/lib/esm/node_modules/sanitize-html/index.js.map +0 -1
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/escape-string-regexp/index.js +0 -2
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/escape-string-regexp/index.js.map +0 -1
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/at-rule.js +0 -2
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/at-rule.js.map +0 -1
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/comment.js +0 -2
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/comment.js.map +0 -1
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/container.js +0 -2
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/container.js.map +0 -1
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/css-syntax-error.js +0 -2
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/css-syntax-error.js.map +0 -1
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/declaration.js +0 -2
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/declaration.js.map +0 -1
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/document.js +0 -2
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/document.js.map +0 -1
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/fromJSON.js +0 -2
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/fromJSON.js.map +0 -1
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/input.js +0 -2
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/input.js.map +0 -1
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/lazy-result.js +0 -2
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/lazy-result.js.map +0 -1
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/list.js +0 -2
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/list.js.map +0 -1
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/map-generator.js +0 -2
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/map-generator.js.map +0 -1
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/no-work-result.js +0 -2
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/no-work-result.js.map +0 -1
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/node.js +0 -2
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/node.js.map +0 -1
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/parse.js +0 -2
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/parse.js.map +0 -1
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/parser.js +0 -2
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/parser.js.map +0 -1
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/postcss.js +0 -2
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/postcss.js.map +0 -1
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/previous-map.js +0 -2
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/previous-map.js.map +0 -1
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/processor.js +0 -2
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/processor.js.map +0 -1
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/result.js +0 -2
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/result.js.map +0 -1
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/root.js +0 -2
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/root.js.map +0 -1
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/rule.js +0 -2
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/rule.js.map +0 -1
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/stringifier.js +0 -2
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/stringifier.js.map +0 -1
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/stringify.js +0 -2
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/stringify.js.map +0 -1
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/symbols.js +0 -2
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/symbols.js.map +0 -1
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/terminal-highlight.js +0 -2
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/terminal-highlight.js.map +0 -1
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/tokenize.js +0 -2
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/tokenize.js.map +0 -1
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/warn-once.js +0 -2
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/warn-once.js.map +0 -1
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/warning.js +0 -2
- package/dist/lib/esm/node_modules/sanitize-html/node_modules/postcss/lib/warning.js.map +0 -1
- package/dist/lib/esm/node_modules/source-map-js/lib/array-set.js +0 -2
- package/dist/lib/esm/node_modules/source-map-js/lib/array-set.js.map +0 -1
- package/dist/lib/esm/node_modules/source-map-js/lib/base64-vlq.js +0 -2
- package/dist/lib/esm/node_modules/source-map-js/lib/base64-vlq.js.map +0 -1
- package/dist/lib/esm/node_modules/source-map-js/lib/base64.js +0 -2
- package/dist/lib/esm/node_modules/source-map-js/lib/base64.js.map +0 -1
- package/dist/lib/esm/node_modules/source-map-js/lib/binary-search.js +0 -2
- package/dist/lib/esm/node_modules/source-map-js/lib/binary-search.js.map +0 -1
- package/dist/lib/esm/node_modules/source-map-js/lib/mapping-list.js +0 -2
- package/dist/lib/esm/node_modules/source-map-js/lib/mapping-list.js.map +0 -1
- package/dist/lib/esm/node_modules/source-map-js/lib/quick-sort.js +0 -2
- package/dist/lib/esm/node_modules/source-map-js/lib/quick-sort.js.map +0 -1
- package/dist/lib/esm/node_modules/source-map-js/lib/source-map-consumer.js +0 -2
- package/dist/lib/esm/node_modules/source-map-js/lib/source-map-consumer.js.map +0 -1
- package/dist/lib/esm/node_modules/source-map-js/lib/source-map-generator.js +0 -2
- package/dist/lib/esm/node_modules/source-map-js/lib/source-map-generator.js.map +0 -1
- package/dist/lib/esm/node_modules/source-map-js/lib/source-node.js +0 -2
- package/dist/lib/esm/node_modules/source-map-js/lib/source-node.js.map +0 -1
- package/dist/lib/esm/node_modules/source-map-js/lib/util.js +0 -2
- package/dist/lib/esm/node_modules/source-map-js/lib/util.js.map +0 -1
- package/dist/lib/esm/node_modules/source-map-js/source-map.js +0 -2
- package/dist/lib/esm/node_modules/source-map-js/source-map.js.map +0 -1
- package/dist/ui/_virtual/index.js +0 -2
- package/dist/ui/_virtual/index.js.map +0 -1
- package/dist/ui/_virtual/react.development.js +0 -2
- package/dist/ui/_virtual/react.development.js.map +0 -1
- package/dist/ui/_virtual/react.production.min.js +0 -2
- package/dist/ui/_virtual/react.production.min.js.map +0 -1
- package/dist/ui/esm/_virtual/index.js +0 -2
- package/dist/ui/esm/_virtual/index.js.map +0 -1
- package/dist/ui/esm/_virtual/react.development.js +0 -2
- package/dist/ui/esm/_virtual/react.development.js.map +0 -1
- package/dist/ui/esm/_virtual/react.production.min.js +0 -2
- package/dist/ui/esm/_virtual/react.production.min.js.map +0 -1
- package/dist/ui/esm/node_modules/ramda/es/internal/_curry1.js +0 -2
- package/dist/ui/esm/node_modules/ramda/es/internal/_curry1.js.map +0 -1
- package/dist/ui/esm/node_modules/ramda/es/internal/_curry2.js +0 -2
- package/dist/ui/esm/node_modules/ramda/es/internal/_curry2.js.map +0 -1
- package/dist/ui/esm/node_modules/ramda/es/internal/_isPlaceholder.js +0 -2
- package/dist/ui/esm/node_modules/ramda/es/internal/_isPlaceholder.js.map +0 -1
- package/dist/ui/esm/node_modules/ramda/es/is.js +0 -2
- package/dist/ui/esm/node_modules/ramda/es/is.js.map +0 -1
- package/dist/ui/esm/node_modules/react/cjs/react.development.js +0 -11
- package/dist/ui/esm/node_modules/react/cjs/react.development.js.map +0 -1
- package/dist/ui/esm/node_modules/react/cjs/react.production.min.js +0 -11
- package/dist/ui/esm/node_modules/react/cjs/react.production.min.js.map +0 -1
- package/dist/ui/esm/node_modules/react/index.js +0 -2
- package/dist/ui/esm/node_modules/react/index.js.map +0 -1
- package/dist/ui/node_modules/ramda/es/internal/_curry1.js +0 -2
- package/dist/ui/node_modules/ramda/es/internal/_curry1.js.map +0 -1
- package/dist/ui/node_modules/ramda/es/internal/_curry2.js +0 -2
- package/dist/ui/node_modules/ramda/es/internal/_curry2.js.map +0 -1
- package/dist/ui/node_modules/ramda/es/internal/_isPlaceholder.js +0 -2
- package/dist/ui/node_modules/ramda/es/internal/_isPlaceholder.js.map +0 -1
- package/dist/ui/node_modules/ramda/es/is.js +0 -2
- package/dist/ui/node_modules/ramda/es/is.js.map +0 -1
- package/dist/ui/node_modules/react/cjs/react.development.js +0 -11
- package/dist/ui/node_modules/react/cjs/react.development.js.map +0 -1
- package/dist/ui/node_modules/react/cjs/react.production.min.js +0 -11
- package/dist/ui/node_modules/react/cjs/react.production.min.js.map +0 -1
- package/dist/ui/node_modules/react/index.js +0 -2
- package/dist/ui/node_modules/react/index.js.map +0 -1
- package/dist/utils/_virtual/Parser.js +0 -2
- package/dist/utils/_virtual/Parser.js.map +0 -1
- package/dist/utils/_virtual/Tokenizer.js +0 -2
- package/dist/utils/_virtual/Tokenizer.js.map +0 -1
- package/dist/utils/_virtual/array-set.js +0 -2
- package/dist/utils/_virtual/array-set.js.map +0 -1
- package/dist/utils/_virtual/base64-vlq.js +0 -2
- package/dist/utils/_virtual/base64-vlq.js.map +0 -1
- package/dist/utils/_virtual/base64.js +0 -2
- package/dist/utils/_virtual/base64.js.map +0 -1
- package/dist/utils/_virtual/binary-search.js +0 -2
- package/dist/utils/_virtual/binary-search.js.map +0 -1
- package/dist/utils/_virtual/dayjs.min.js +0 -2
- package/dist/utils/_virtual/dayjs.min.js.map +0 -1
- package/dist/utils/_virtual/decode-data-html.js +0 -2
- package/dist/utils/_virtual/decode-data-html.js.map +0 -1
- package/dist/utils/_virtual/decode-data-xml.js +0 -2
- package/dist/utils/_virtual/decode-data-xml.js.map +0 -1
- package/dist/utils/_virtual/decode.js +0 -2
- package/dist/utils/_virtual/decode.js.map +0 -1
- package/dist/utils/_virtual/decode_codepoint.js +0 -2
- package/dist/utils/_virtual/decode_codepoint.js.map +0 -1
- package/dist/utils/_virtual/encode-html.js +0 -2
- package/dist/utils/_virtual/encode-html.js.map +0 -1
- package/dist/utils/_virtual/encode.js +0 -2
- package/dist/utils/_virtual/encode.js.map +0 -1
- package/dist/utils/_virtual/escape.js +0 -2
- package/dist/utils/_virtual/escape.js.map +0 -1
- package/dist/utils/_virtual/feeds.js +0 -2
- package/dist/utils/_virtual/feeds.js.map +0 -1
- package/dist/utils/_virtual/foreignNames.js +0 -2
- package/dist/utils/_virtual/foreignNames.js.map +0 -1
- package/dist/utils/_virtual/helpers.js +0 -2
- package/dist/utils/_virtual/helpers.js.map +0 -1
- package/dist/utils/_virtual/index.js +0 -2
- package/dist/utils/_virtual/index.js.map +0 -1
- package/dist/utils/_virtual/index2.js +0 -2
- package/dist/utils/_virtual/index2.js.map +0 -1
- package/dist/utils/_virtual/index3.js +0 -2
- package/dist/utils/_virtual/index3.js.map +0 -1
- package/dist/utils/_virtual/index4.js +0 -2
- package/dist/utils/_virtual/index4.js.map +0 -1
- package/dist/utils/_virtual/index5.js +0 -2
- package/dist/utils/_virtual/index5.js.map +0 -1
- package/dist/utils/_virtual/index6.js +0 -2
- package/dist/utils/_virtual/index6.js.map +0 -1
- package/dist/utils/_virtual/index7.js +0 -2
- package/dist/utils/_virtual/index7.js.map +0 -1
- package/dist/utils/_virtual/index8.js +0 -2
- package/dist/utils/_virtual/index8.js.map +0 -1
- package/dist/utils/_virtual/is-plain-object.js +0 -2
- package/dist/utils/_virtual/is-plain-object.js.map +0 -1
- package/dist/utils/_virtual/legacy.js +0 -2
- package/dist/utils/_virtual/legacy.js.map +0 -1
- package/dist/utils/_virtual/manipulation.js +0 -2
- package/dist/utils/_virtual/manipulation.js.map +0 -1
- package/dist/utils/_virtual/mapping-list.js +0 -2
- package/dist/utils/_virtual/mapping-list.js.map +0 -1
- package/dist/utils/_virtual/node.js +0 -2
- package/dist/utils/_virtual/node.js.map +0 -1
- package/dist/utils/_virtual/node2.js +0 -2
- package/dist/utils/_virtual/node2.js.map +0 -1
- package/dist/utils/_virtual/parse-srcset.js +0 -2
- package/dist/utils/_virtual/parse-srcset.js.map +0 -1
- package/dist/utils/_virtual/picocolors.js +0 -2
- package/dist/utils/_virtual/picocolors.js.map +0 -1
- package/dist/utils/_virtual/querying.js +0 -2
- package/dist/utils/_virtual/querying.js.map +0 -1
- package/dist/utils/_virtual/quick-sort.js +0 -2
- package/dist/utils/_virtual/quick-sort.js.map +0 -1
- package/dist/utils/_virtual/react.development.js +0 -2
- package/dist/utils/_virtual/react.development.js.map +0 -1
- package/dist/utils/_virtual/react.production.min.js +0 -2
- package/dist/utils/_virtual/react.production.min.js.map +0 -1
- package/dist/utils/_virtual/source-map-consumer.js +0 -2
- package/dist/utils/_virtual/source-map-consumer.js.map +0 -1
- package/dist/utils/_virtual/source-map-generator.js +0 -2
- package/dist/utils/_virtual/source-map-generator.js.map +0 -1
- package/dist/utils/_virtual/source-map.js +0 -2
- package/dist/utils/_virtual/source-map.js.map +0 -1
- package/dist/utils/_virtual/source-node.js +0 -2
- package/dist/utils/_virtual/source-node.js.map +0 -1
- package/dist/utils/_virtual/stringify.js +0 -2
- package/dist/utils/_virtual/stringify.js.map +0 -1
- package/dist/utils/_virtual/symbols.js +0 -2
- package/dist/utils/_virtual/symbols.js.map +0 -1
- package/dist/utils/_virtual/traversal.js +0 -2
- package/dist/utils/_virtual/traversal.js.map +0 -1
- package/dist/utils/_virtual/util.js +0 -2
- package/dist/utils/_virtual/util.js.map +0 -1
- package/dist/utils/esm/_virtual/Parser.js +0 -2
- package/dist/utils/esm/_virtual/Parser.js.map +0 -1
- package/dist/utils/esm/_virtual/Tokenizer.js +0 -2
- package/dist/utils/esm/_virtual/Tokenizer.js.map +0 -1
- package/dist/utils/esm/_virtual/array-set.js +0 -2
- package/dist/utils/esm/_virtual/array-set.js.map +0 -1
- package/dist/utils/esm/_virtual/base64-vlq.js +0 -2
- package/dist/utils/esm/_virtual/base64-vlq.js.map +0 -1
- package/dist/utils/esm/_virtual/base64.js +0 -2
- package/dist/utils/esm/_virtual/base64.js.map +0 -1
- package/dist/utils/esm/_virtual/binary-search.js +0 -2
- package/dist/utils/esm/_virtual/binary-search.js.map +0 -1
- package/dist/utils/esm/_virtual/dayjs.min.js +0 -2
- package/dist/utils/esm/_virtual/dayjs.min.js.map +0 -1
- package/dist/utils/esm/_virtual/decode-data-html.js +0 -2
- package/dist/utils/esm/_virtual/decode-data-html.js.map +0 -1
- package/dist/utils/esm/_virtual/decode-data-xml.js +0 -2
- package/dist/utils/esm/_virtual/decode-data-xml.js.map +0 -1
- package/dist/utils/esm/_virtual/decode.js +0 -2
- package/dist/utils/esm/_virtual/decode.js.map +0 -1
- package/dist/utils/esm/_virtual/decode_codepoint.js +0 -2
- package/dist/utils/esm/_virtual/decode_codepoint.js.map +0 -1
- package/dist/utils/esm/_virtual/encode-html.js +0 -2
- package/dist/utils/esm/_virtual/encode-html.js.map +0 -1
- package/dist/utils/esm/_virtual/encode.js +0 -2
- package/dist/utils/esm/_virtual/encode.js.map +0 -1
- package/dist/utils/esm/_virtual/escape.js +0 -2
- package/dist/utils/esm/_virtual/escape.js.map +0 -1
- package/dist/utils/esm/_virtual/feeds.js +0 -2
- package/dist/utils/esm/_virtual/feeds.js.map +0 -1
- package/dist/utils/esm/_virtual/foreignNames.js +0 -2
- package/dist/utils/esm/_virtual/foreignNames.js.map +0 -1
- package/dist/utils/esm/_virtual/helpers.js +0 -2
- package/dist/utils/esm/_virtual/helpers.js.map +0 -1
- package/dist/utils/esm/_virtual/index.js +0 -2
- package/dist/utils/esm/_virtual/index.js.map +0 -1
- package/dist/utils/esm/_virtual/index2.js +0 -2
- package/dist/utils/esm/_virtual/index2.js.map +0 -1
- package/dist/utils/esm/_virtual/index3.js +0 -2
- package/dist/utils/esm/_virtual/index3.js.map +0 -1
- package/dist/utils/esm/_virtual/index4.js +0 -2
- package/dist/utils/esm/_virtual/index4.js.map +0 -1
- package/dist/utils/esm/_virtual/index5.js +0 -2
- package/dist/utils/esm/_virtual/index5.js.map +0 -1
- package/dist/utils/esm/_virtual/index6.js +0 -2
- package/dist/utils/esm/_virtual/index6.js.map +0 -1
- package/dist/utils/esm/_virtual/index7.js +0 -2
- package/dist/utils/esm/_virtual/index7.js.map +0 -1
- package/dist/utils/esm/_virtual/index8.js +0 -2
- package/dist/utils/esm/_virtual/index8.js.map +0 -1
- package/dist/utils/esm/_virtual/is-plain-object.js +0 -2
- package/dist/utils/esm/_virtual/is-plain-object.js.map +0 -1
- package/dist/utils/esm/_virtual/legacy.js +0 -2
- package/dist/utils/esm/_virtual/legacy.js.map +0 -1
- package/dist/utils/esm/_virtual/manipulation.js +0 -2
- package/dist/utils/esm/_virtual/manipulation.js.map +0 -1
- package/dist/utils/esm/_virtual/mapping-list.js +0 -2
- package/dist/utils/esm/_virtual/mapping-list.js.map +0 -1
- package/dist/utils/esm/_virtual/node.js +0 -2
- package/dist/utils/esm/_virtual/node.js.map +0 -1
- package/dist/utils/esm/_virtual/node2.js +0 -2
- package/dist/utils/esm/_virtual/node2.js.map +0 -1
- package/dist/utils/esm/_virtual/parse-srcset.js +0 -2
- package/dist/utils/esm/_virtual/parse-srcset.js.map +0 -1
- package/dist/utils/esm/_virtual/picocolors.js +0 -2
- package/dist/utils/esm/_virtual/picocolors.js.map +0 -1
- package/dist/utils/esm/_virtual/querying.js +0 -2
- package/dist/utils/esm/_virtual/querying.js.map +0 -1
- package/dist/utils/esm/_virtual/quick-sort.js +0 -2
- package/dist/utils/esm/_virtual/quick-sort.js.map +0 -1
- package/dist/utils/esm/_virtual/react.development.js +0 -2
- package/dist/utils/esm/_virtual/react.development.js.map +0 -1
- package/dist/utils/esm/_virtual/react.production.min.js +0 -2
- package/dist/utils/esm/_virtual/react.production.min.js.map +0 -1
- package/dist/utils/esm/_virtual/source-map-consumer.js +0 -2
- package/dist/utils/esm/_virtual/source-map-consumer.js.map +0 -1
- package/dist/utils/esm/_virtual/source-map-generator.js +0 -2
- package/dist/utils/esm/_virtual/source-map-generator.js.map +0 -1
- package/dist/utils/esm/_virtual/source-map.js +0 -2
- package/dist/utils/esm/_virtual/source-map.js.map +0 -1
- package/dist/utils/esm/_virtual/source-node.js +0 -2
- package/dist/utils/esm/_virtual/source-node.js.map +0 -1
- package/dist/utils/esm/_virtual/stringify.js +0 -2
- package/dist/utils/esm/_virtual/stringify.js.map +0 -1
- package/dist/utils/esm/_virtual/symbols.js +0 -2
- package/dist/utils/esm/_virtual/symbols.js.map +0 -1
- package/dist/utils/esm/_virtual/traversal.js +0 -2
- package/dist/utils/esm/_virtual/traversal.js.map +0 -1
- package/dist/utils/esm/_virtual/util.js +0 -2
- package/dist/utils/esm/_virtual/util.js.map +0 -1
- package/dist/utils/esm/node_modules/dayjs/dayjs.min.js +0 -2
- package/dist/utils/esm/node_modules/dayjs/dayjs.min.js.map +0 -1
- package/dist/utils/esm/node_modules/deepmerge/dist/cjs.js +0 -2
- package/dist/utils/esm/node_modules/deepmerge/dist/cjs.js.map +0 -1
- package/dist/utils/esm/node_modules/dom-serializer/lib/foreignNames.js +0 -2
- package/dist/utils/esm/node_modules/dom-serializer/lib/foreignNames.js.map +0 -1
- package/dist/utils/esm/node_modules/dom-serializer/lib/index.js +0 -2
- package/dist/utils/esm/node_modules/dom-serializer/lib/index.js.map +0 -1
- package/dist/utils/esm/node_modules/domelementtype/lib/index.js +0 -2
- package/dist/utils/esm/node_modules/domelementtype/lib/index.js.map +0 -1
- package/dist/utils/esm/node_modules/domutils/lib/feeds.js +0 -2
- package/dist/utils/esm/node_modules/domutils/lib/feeds.js.map +0 -1
- package/dist/utils/esm/node_modules/domutils/lib/helpers.js +0 -2
- package/dist/utils/esm/node_modules/domutils/lib/helpers.js.map +0 -1
- package/dist/utils/esm/node_modules/domutils/lib/index.js +0 -2
- package/dist/utils/esm/node_modules/domutils/lib/index.js.map +0 -1
- package/dist/utils/esm/node_modules/domutils/lib/legacy.js +0 -2
- package/dist/utils/esm/node_modules/domutils/lib/legacy.js.map +0 -1
- package/dist/utils/esm/node_modules/domutils/lib/manipulation.js +0 -2
- package/dist/utils/esm/node_modules/domutils/lib/manipulation.js.map +0 -1
- package/dist/utils/esm/node_modules/domutils/lib/querying.js +0 -2
- package/dist/utils/esm/node_modules/domutils/lib/querying.js.map +0 -1
- package/dist/utils/esm/node_modules/domutils/lib/stringify.js +0 -2
- package/dist/utils/esm/node_modules/domutils/lib/stringify.js.map +0 -1
- package/dist/utils/esm/node_modules/domutils/lib/traversal.js +0 -2
- package/dist/utils/esm/node_modules/domutils/lib/traversal.js.map +0 -1
- package/dist/utils/esm/node_modules/domutils/node_modules/domhandler/lib/index.js +0 -2
- package/dist/utils/esm/node_modules/domutils/node_modules/domhandler/lib/index.js.map +0 -1
- package/dist/utils/esm/node_modules/domutils/node_modules/domhandler/lib/node.js +0 -2
- package/dist/utils/esm/node_modules/domutils/node_modules/domhandler/lib/node.js.map +0 -1
- package/dist/utils/esm/node_modules/entities/lib/decode.js +0 -2
- package/dist/utils/esm/node_modules/entities/lib/decode.js.map +0 -1
- package/dist/utils/esm/node_modules/entities/lib/decode_codepoint.js +0 -2
- package/dist/utils/esm/node_modules/entities/lib/decode_codepoint.js.map +0 -1
- package/dist/utils/esm/node_modules/entities/lib/encode.js +0 -2
- package/dist/utils/esm/node_modules/entities/lib/encode.js.map +0 -1
- package/dist/utils/esm/node_modules/entities/lib/escape.js +0 -2
- package/dist/utils/esm/node_modules/entities/lib/escape.js.map +0 -1
- package/dist/utils/esm/node_modules/entities/lib/generated/decode-data-html.js +0 -2
- package/dist/utils/esm/node_modules/entities/lib/generated/decode-data-html.js.map +0 -1
- package/dist/utils/esm/node_modules/entities/lib/generated/decode-data-xml.js +0 -2
- package/dist/utils/esm/node_modules/entities/lib/generated/decode-data-xml.js.map +0 -1
- package/dist/utils/esm/node_modules/entities/lib/generated/encode-html.js +0 -2
- package/dist/utils/esm/node_modules/entities/lib/generated/encode-html.js.map +0 -1
- package/dist/utils/esm/node_modules/entities/lib/index.js +0 -2
- package/dist/utils/esm/node_modules/entities/lib/index.js.map +0 -1
- package/dist/utils/esm/node_modules/htmlparser2/lib/Parser.js +0 -2
- package/dist/utils/esm/node_modules/htmlparser2/lib/Parser.js.map +0 -1
- package/dist/utils/esm/node_modules/htmlparser2/lib/Tokenizer.js +0 -2
- package/dist/utils/esm/node_modules/htmlparser2/lib/Tokenizer.js.map +0 -1
- package/dist/utils/esm/node_modules/htmlparser2/lib/index.js +0 -2
- package/dist/utils/esm/node_modules/htmlparser2/lib/index.js.map +0 -1
- package/dist/utils/esm/node_modules/htmlparser2/node_modules/domhandler/lib/index.js +0 -2
- package/dist/utils/esm/node_modules/htmlparser2/node_modules/domhandler/lib/index.js.map +0 -1
- package/dist/utils/esm/node_modules/htmlparser2/node_modules/domhandler/lib/node.js +0 -2
- package/dist/utils/esm/node_modules/htmlparser2/node_modules/domhandler/lib/node.js.map +0 -1
- package/dist/utils/esm/node_modules/is-plain-object/dist/is-plain-object.js +0 -9
- package/dist/utils/esm/node_modules/is-plain-object/dist/is-plain-object.js.map +0 -1
- package/dist/utils/esm/node_modules/nanoid/non-secure/index.js +0 -2
- package/dist/utils/esm/node_modules/nanoid/non-secure/index.js.map +0 -1
- package/dist/utils/esm/node_modules/parse-srcset/src/parse-srcset.js +0 -2
- package/dist/utils/esm/node_modules/parse-srcset/src/parse-srcset.js.map +0 -1
- package/dist/utils/esm/node_modules/picocolors/picocolors.js +0 -2
- package/dist/utils/esm/node_modules/picocolors/picocolors.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/bind.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/bind.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/curryN.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/curryN.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/equals.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/equals.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/filter.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/filter.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/identity.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/identity.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/internal/_arity.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/internal/_arity.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/internal/_arrayFromIterator.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/internal/_arrayFromIterator.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/internal/_complement.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/internal/_complement.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/internal/_curry1.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/internal/_curry1.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/internal/_curry2.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/internal/_curry2.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/internal/_curryN.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/internal/_curryN.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/internal/_dispatchable.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/internal/_dispatchable.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/internal/_equals.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/internal/_equals.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/internal/_filter.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/internal/_filter.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/internal/_functionName.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/internal/_functionName.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/internal/_has.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/internal/_has.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/internal/_identity.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/internal/_identity.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/internal/_includes.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/internal/_includes.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/internal/_includesWith.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/internal/_includesWith.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/internal/_indexOf.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/internal/_indexOf.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/internal/_isArguments.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/internal/_isArguments.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/internal/_isArray.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/internal/_isArray.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/internal/_isArrayLike.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/internal/_isArrayLike.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/internal/_isFunction.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/internal/_isFunction.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/internal/_isObject.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/internal/_isObject.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/internal/_isPlaceholder.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/internal/_isPlaceholder.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/internal/_isString.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/internal/_isString.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/internal/_isTransformer.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/internal/_isTransformer.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/internal/_map.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/internal/_map.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/internal/_objectIs.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/internal/_objectIs.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/internal/_quote.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/internal/_quote.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/internal/_reduce.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/internal/_reduce.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/internal/_toISOString.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/internal/_toISOString.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/internal/_toString.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/internal/_toString.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/internal/_xfBase.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/internal/_xfBase.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/internal/_xfilter.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/internal/_xfilter.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/internal/_xwrap.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/internal/_xwrap.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/invoker.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/invoker.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/keys.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/keys.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/memoizeWith.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/memoizeWith.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/reject.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/reject.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/toLower.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/toLower.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/toString.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/toString.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/toUpper.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/toUpper.js.map +0 -1
- package/dist/utils/esm/node_modules/ramda/es/type.js +0 -2
- package/dist/utils/esm/node_modules/ramda/es/type.js.map +0 -1
- package/dist/utils/esm/node_modules/react/cjs/react.development.js +0 -11
- package/dist/utils/esm/node_modules/react/cjs/react.development.js.map +0 -1
- package/dist/utils/esm/node_modules/react/cjs/react.production.min.js +0 -11
- package/dist/utils/esm/node_modules/react/cjs/react.production.min.js.map +0 -1
- package/dist/utils/esm/node_modules/react/index.js +0 -2
- package/dist/utils/esm/node_modules/react/index.js.map +0 -1
- package/dist/utils/esm/node_modules/sanitize-html/index.js +0 -2
- package/dist/utils/esm/node_modules/sanitize-html/index.js.map +0 -1
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/escape-string-regexp/index.js +0 -2
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/escape-string-regexp/index.js.map +0 -1
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/at-rule.js +0 -2
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/at-rule.js.map +0 -1
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/comment.js +0 -2
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/comment.js.map +0 -1
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/container.js +0 -2
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/container.js.map +0 -1
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/css-syntax-error.js +0 -2
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/css-syntax-error.js.map +0 -1
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/declaration.js +0 -2
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/declaration.js.map +0 -1
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/document.js +0 -2
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/document.js.map +0 -1
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/fromJSON.js +0 -2
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/fromJSON.js.map +0 -1
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/input.js +0 -2
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/input.js.map +0 -1
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/lazy-result.js +0 -2
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/lazy-result.js.map +0 -1
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/list.js +0 -2
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/list.js.map +0 -1
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/map-generator.js +0 -2
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/map-generator.js.map +0 -1
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/no-work-result.js +0 -2
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/no-work-result.js.map +0 -1
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/node.js +0 -2
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/node.js.map +0 -1
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/parse.js +0 -2
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/parse.js.map +0 -1
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/parser.js +0 -2
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/parser.js.map +0 -1
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/postcss.js +0 -2
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/postcss.js.map +0 -1
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/previous-map.js +0 -2
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/previous-map.js.map +0 -1
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/processor.js +0 -2
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/processor.js.map +0 -1
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/result.js +0 -2
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/result.js.map +0 -1
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/root.js +0 -2
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/root.js.map +0 -1
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/rule.js +0 -2
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/rule.js.map +0 -1
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/stringifier.js +0 -2
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/stringifier.js.map +0 -1
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/stringify.js +0 -2
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/stringify.js.map +0 -1
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/symbols.js +0 -2
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/symbols.js.map +0 -1
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/terminal-highlight.js +0 -2
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/terminal-highlight.js.map +0 -1
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/tokenize.js +0 -2
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/tokenize.js.map +0 -1
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/warn-once.js +0 -2
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/warn-once.js.map +0 -1
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/warning.js +0 -2
- package/dist/utils/esm/node_modules/sanitize-html/node_modules/postcss/lib/warning.js.map +0 -1
- package/dist/utils/esm/node_modules/source-map-js/lib/array-set.js +0 -2
- package/dist/utils/esm/node_modules/source-map-js/lib/array-set.js.map +0 -1
- package/dist/utils/esm/node_modules/source-map-js/lib/base64-vlq.js +0 -2
- package/dist/utils/esm/node_modules/source-map-js/lib/base64-vlq.js.map +0 -1
- package/dist/utils/esm/node_modules/source-map-js/lib/base64.js +0 -2
- package/dist/utils/esm/node_modules/source-map-js/lib/base64.js.map +0 -1
- package/dist/utils/esm/node_modules/source-map-js/lib/binary-search.js +0 -2
- package/dist/utils/esm/node_modules/source-map-js/lib/binary-search.js.map +0 -1
- package/dist/utils/esm/node_modules/source-map-js/lib/mapping-list.js +0 -2
- package/dist/utils/esm/node_modules/source-map-js/lib/mapping-list.js.map +0 -1
- package/dist/utils/esm/node_modules/source-map-js/lib/quick-sort.js +0 -2
- package/dist/utils/esm/node_modules/source-map-js/lib/quick-sort.js.map +0 -1
- package/dist/utils/esm/node_modules/source-map-js/lib/source-map-consumer.js +0 -2
- package/dist/utils/esm/node_modules/source-map-js/lib/source-map-consumer.js.map +0 -1
- package/dist/utils/esm/node_modules/source-map-js/lib/source-map-generator.js +0 -2
- package/dist/utils/esm/node_modules/source-map-js/lib/source-map-generator.js.map +0 -1
- package/dist/utils/esm/node_modules/source-map-js/lib/source-node.js +0 -2
- package/dist/utils/esm/node_modules/source-map-js/lib/source-node.js.map +0 -1
- package/dist/utils/esm/node_modules/source-map-js/lib/util.js +0 -2
- package/dist/utils/esm/node_modules/source-map-js/lib/util.js.map +0 -1
- package/dist/utils/esm/node_modules/source-map-js/source-map.js +0 -2
- package/dist/utils/esm/node_modules/source-map-js/source-map.js.map +0 -1
- package/dist/utils/node_modules/dayjs/dayjs.min.js +0 -2
- package/dist/utils/node_modules/dayjs/dayjs.min.js.map +0 -1
- package/dist/utils/node_modules/deepmerge/dist/cjs.js +0 -2
- package/dist/utils/node_modules/deepmerge/dist/cjs.js.map +0 -1
- package/dist/utils/node_modules/dom-serializer/lib/foreignNames.js +0 -2
- package/dist/utils/node_modules/dom-serializer/lib/foreignNames.js.map +0 -1
- package/dist/utils/node_modules/dom-serializer/lib/index.js +0 -2
- package/dist/utils/node_modules/dom-serializer/lib/index.js.map +0 -1
- package/dist/utils/node_modules/domelementtype/lib/index.js +0 -2
- package/dist/utils/node_modules/domelementtype/lib/index.js.map +0 -1
- package/dist/utils/node_modules/domutils/lib/feeds.js +0 -2
- package/dist/utils/node_modules/domutils/lib/feeds.js.map +0 -1
- package/dist/utils/node_modules/domutils/lib/helpers.js +0 -2
- package/dist/utils/node_modules/domutils/lib/helpers.js.map +0 -1
- package/dist/utils/node_modules/domutils/lib/index.js +0 -2
- package/dist/utils/node_modules/domutils/lib/index.js.map +0 -1
- package/dist/utils/node_modules/domutils/lib/legacy.js +0 -2
- package/dist/utils/node_modules/domutils/lib/legacy.js.map +0 -1
- package/dist/utils/node_modules/domutils/lib/manipulation.js +0 -2
- package/dist/utils/node_modules/domutils/lib/manipulation.js.map +0 -1
- package/dist/utils/node_modules/domutils/lib/querying.js +0 -2
- package/dist/utils/node_modules/domutils/lib/querying.js.map +0 -1
- package/dist/utils/node_modules/domutils/lib/stringify.js +0 -2
- package/dist/utils/node_modules/domutils/lib/stringify.js.map +0 -1
- package/dist/utils/node_modules/domutils/lib/traversal.js +0 -2
- package/dist/utils/node_modules/domutils/lib/traversal.js.map +0 -1
- package/dist/utils/node_modules/domutils/node_modules/domhandler/lib/index.js +0 -2
- package/dist/utils/node_modules/domutils/node_modules/domhandler/lib/index.js.map +0 -1
- package/dist/utils/node_modules/domutils/node_modules/domhandler/lib/node.js +0 -2
- package/dist/utils/node_modules/domutils/node_modules/domhandler/lib/node.js.map +0 -1
- package/dist/utils/node_modules/entities/lib/decode.js +0 -2
- package/dist/utils/node_modules/entities/lib/decode.js.map +0 -1
- package/dist/utils/node_modules/entities/lib/decode_codepoint.js +0 -2
- package/dist/utils/node_modules/entities/lib/decode_codepoint.js.map +0 -1
- package/dist/utils/node_modules/entities/lib/encode.js +0 -2
- package/dist/utils/node_modules/entities/lib/encode.js.map +0 -1
- package/dist/utils/node_modules/entities/lib/escape.js +0 -2
- package/dist/utils/node_modules/entities/lib/escape.js.map +0 -1
- package/dist/utils/node_modules/entities/lib/generated/decode-data-html.js +0 -2
- package/dist/utils/node_modules/entities/lib/generated/decode-data-html.js.map +0 -1
- package/dist/utils/node_modules/entities/lib/generated/decode-data-xml.js +0 -2
- package/dist/utils/node_modules/entities/lib/generated/decode-data-xml.js.map +0 -1
- package/dist/utils/node_modules/entities/lib/generated/encode-html.js +0 -2
- package/dist/utils/node_modules/entities/lib/generated/encode-html.js.map +0 -1
- package/dist/utils/node_modules/entities/lib/index.js +0 -2
- package/dist/utils/node_modules/entities/lib/index.js.map +0 -1
- package/dist/utils/node_modules/htmlparser2/lib/Parser.js +0 -2
- package/dist/utils/node_modules/htmlparser2/lib/Parser.js.map +0 -1
- package/dist/utils/node_modules/htmlparser2/lib/Tokenizer.js +0 -2
- package/dist/utils/node_modules/htmlparser2/lib/Tokenizer.js.map +0 -1
- package/dist/utils/node_modules/htmlparser2/lib/index.js +0 -2
- package/dist/utils/node_modules/htmlparser2/lib/index.js.map +0 -1
- package/dist/utils/node_modules/htmlparser2/node_modules/domhandler/lib/index.js +0 -2
- package/dist/utils/node_modules/htmlparser2/node_modules/domhandler/lib/index.js.map +0 -1
- package/dist/utils/node_modules/htmlparser2/node_modules/domhandler/lib/node.js +0 -2
- package/dist/utils/node_modules/htmlparser2/node_modules/domhandler/lib/node.js.map +0 -1
- package/dist/utils/node_modules/is-plain-object/dist/is-plain-object.js +0 -9
- package/dist/utils/node_modules/is-plain-object/dist/is-plain-object.js.map +0 -1
- package/dist/utils/node_modules/nanoid/non-secure/index.js +0 -2
- package/dist/utils/node_modules/nanoid/non-secure/index.js.map +0 -1
- package/dist/utils/node_modules/parse-srcset/src/parse-srcset.js +0 -2
- package/dist/utils/node_modules/parse-srcset/src/parse-srcset.js.map +0 -1
- package/dist/utils/node_modules/picocolors/picocolors.js +0 -2
- package/dist/utils/node_modules/picocolors/picocolors.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/bind.js +0 -2
- package/dist/utils/node_modules/ramda/es/bind.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/curryN.js +0 -2
- package/dist/utils/node_modules/ramda/es/curryN.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/equals.js +0 -2
- package/dist/utils/node_modules/ramda/es/equals.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/filter.js +0 -2
- package/dist/utils/node_modules/ramda/es/filter.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/identity.js +0 -2
- package/dist/utils/node_modules/ramda/es/identity.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/internal/_arity.js +0 -2
- package/dist/utils/node_modules/ramda/es/internal/_arity.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/internal/_arrayFromIterator.js +0 -2
- package/dist/utils/node_modules/ramda/es/internal/_arrayFromIterator.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/internal/_complement.js +0 -2
- package/dist/utils/node_modules/ramda/es/internal/_complement.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/internal/_curry1.js +0 -2
- package/dist/utils/node_modules/ramda/es/internal/_curry1.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/internal/_curry2.js +0 -2
- package/dist/utils/node_modules/ramda/es/internal/_curry2.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/internal/_curryN.js +0 -2
- package/dist/utils/node_modules/ramda/es/internal/_curryN.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/internal/_dispatchable.js +0 -2
- package/dist/utils/node_modules/ramda/es/internal/_dispatchable.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/internal/_equals.js +0 -2
- package/dist/utils/node_modules/ramda/es/internal/_equals.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/internal/_filter.js +0 -2
- package/dist/utils/node_modules/ramda/es/internal/_filter.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/internal/_functionName.js +0 -2
- package/dist/utils/node_modules/ramda/es/internal/_functionName.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/internal/_has.js +0 -2
- package/dist/utils/node_modules/ramda/es/internal/_has.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/internal/_identity.js +0 -2
- package/dist/utils/node_modules/ramda/es/internal/_identity.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/internal/_includes.js +0 -2
- package/dist/utils/node_modules/ramda/es/internal/_includes.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/internal/_includesWith.js +0 -2
- package/dist/utils/node_modules/ramda/es/internal/_includesWith.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/internal/_indexOf.js +0 -2
- package/dist/utils/node_modules/ramda/es/internal/_indexOf.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/internal/_isArguments.js +0 -2
- package/dist/utils/node_modules/ramda/es/internal/_isArguments.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/internal/_isArray.js +0 -2
- package/dist/utils/node_modules/ramda/es/internal/_isArray.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/internal/_isArrayLike.js +0 -2
- package/dist/utils/node_modules/ramda/es/internal/_isArrayLike.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/internal/_isFunction.js +0 -2
- package/dist/utils/node_modules/ramda/es/internal/_isFunction.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/internal/_isObject.js +0 -2
- package/dist/utils/node_modules/ramda/es/internal/_isObject.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/internal/_isPlaceholder.js +0 -2
- package/dist/utils/node_modules/ramda/es/internal/_isPlaceholder.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/internal/_isString.js +0 -2
- package/dist/utils/node_modules/ramda/es/internal/_isString.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/internal/_isTransformer.js +0 -2
- package/dist/utils/node_modules/ramda/es/internal/_isTransformer.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/internal/_map.js +0 -2
- package/dist/utils/node_modules/ramda/es/internal/_map.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/internal/_objectIs.js +0 -2
- package/dist/utils/node_modules/ramda/es/internal/_objectIs.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/internal/_quote.js +0 -2
- package/dist/utils/node_modules/ramda/es/internal/_quote.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/internal/_reduce.js +0 -2
- package/dist/utils/node_modules/ramda/es/internal/_reduce.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/internal/_toISOString.js +0 -2
- package/dist/utils/node_modules/ramda/es/internal/_toISOString.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/internal/_toString.js +0 -2
- package/dist/utils/node_modules/ramda/es/internal/_toString.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/internal/_xfBase.js +0 -2
- package/dist/utils/node_modules/ramda/es/internal/_xfBase.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/internal/_xfilter.js +0 -2
- package/dist/utils/node_modules/ramda/es/internal/_xfilter.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/internal/_xwrap.js +0 -2
- package/dist/utils/node_modules/ramda/es/internal/_xwrap.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/invoker.js +0 -2
- package/dist/utils/node_modules/ramda/es/invoker.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/keys.js +0 -2
- package/dist/utils/node_modules/ramda/es/keys.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/memoizeWith.js +0 -2
- package/dist/utils/node_modules/ramda/es/memoizeWith.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/reject.js +0 -2
- package/dist/utils/node_modules/ramda/es/reject.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/toLower.js +0 -2
- package/dist/utils/node_modules/ramda/es/toLower.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/toString.js +0 -2
- package/dist/utils/node_modules/ramda/es/toString.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/toUpper.js +0 -2
- package/dist/utils/node_modules/ramda/es/toUpper.js.map +0 -1
- package/dist/utils/node_modules/ramda/es/type.js +0 -2
- package/dist/utils/node_modules/ramda/es/type.js.map +0 -1
- package/dist/utils/node_modules/react/cjs/react.development.js +0 -11
- package/dist/utils/node_modules/react/cjs/react.development.js.map +0 -1
- package/dist/utils/node_modules/react/cjs/react.production.min.js +0 -11
- package/dist/utils/node_modules/react/cjs/react.production.min.js.map +0 -1
- package/dist/utils/node_modules/react/index.js +0 -2
- package/dist/utils/node_modules/react/index.js.map +0 -1
- package/dist/utils/node_modules/sanitize-html/index.js +0 -2
- package/dist/utils/node_modules/sanitize-html/index.js.map +0 -1
- package/dist/utils/node_modules/sanitize-html/node_modules/escape-string-regexp/index.js +0 -2
- package/dist/utils/node_modules/sanitize-html/node_modules/escape-string-regexp/index.js.map +0 -1
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/at-rule.js +0 -2
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/at-rule.js.map +0 -1
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/comment.js +0 -2
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/comment.js.map +0 -1
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/container.js +0 -2
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/container.js.map +0 -1
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/css-syntax-error.js +0 -2
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/css-syntax-error.js.map +0 -1
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/declaration.js +0 -2
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/declaration.js.map +0 -1
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/document.js +0 -2
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/document.js.map +0 -1
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/fromJSON.js +0 -2
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/fromJSON.js.map +0 -1
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/input.js +0 -2
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/input.js.map +0 -1
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/lazy-result.js +0 -2
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/lazy-result.js.map +0 -1
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/list.js +0 -2
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/list.js.map +0 -1
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/map-generator.js +0 -2
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/map-generator.js.map +0 -1
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/no-work-result.js +0 -2
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/no-work-result.js.map +0 -1
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/node.js +0 -2
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/node.js.map +0 -1
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/parse.js +0 -2
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/parse.js.map +0 -1
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/parser.js +0 -2
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/parser.js.map +0 -1
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/postcss.js +0 -2
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/postcss.js.map +0 -1
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/previous-map.js +0 -2
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/previous-map.js.map +0 -1
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/processor.js +0 -2
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/processor.js.map +0 -1
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/result.js +0 -2
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/result.js.map +0 -1
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/root.js +0 -2
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/root.js.map +0 -1
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/rule.js +0 -2
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/rule.js.map +0 -1
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/stringifier.js +0 -2
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/stringifier.js.map +0 -1
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/stringify.js +0 -2
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/stringify.js.map +0 -1
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/symbols.js +0 -2
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/symbols.js.map +0 -1
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/terminal-highlight.js +0 -2
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/terminal-highlight.js.map +0 -1
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/tokenize.js +0 -2
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/tokenize.js.map +0 -1
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/warn-once.js +0 -2
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/warn-once.js.map +0 -1
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/warning.js +0 -2
- package/dist/utils/node_modules/sanitize-html/node_modules/postcss/lib/warning.js.map +0 -1
- package/dist/utils/node_modules/source-map-js/lib/array-set.js +0 -2
- package/dist/utils/node_modules/source-map-js/lib/array-set.js.map +0 -1
- package/dist/utils/node_modules/source-map-js/lib/base64-vlq.js +0 -2
- package/dist/utils/node_modules/source-map-js/lib/base64-vlq.js.map +0 -1
- package/dist/utils/node_modules/source-map-js/lib/base64.js +0 -2
- package/dist/utils/node_modules/source-map-js/lib/base64.js.map +0 -1
- package/dist/utils/node_modules/source-map-js/lib/binary-search.js +0 -2
- package/dist/utils/node_modules/source-map-js/lib/binary-search.js.map +0 -1
- package/dist/utils/node_modules/source-map-js/lib/mapping-list.js +0 -2
- package/dist/utils/node_modules/source-map-js/lib/mapping-list.js.map +0 -1
- package/dist/utils/node_modules/source-map-js/lib/quick-sort.js +0 -2
- package/dist/utils/node_modules/source-map-js/lib/quick-sort.js.map +0 -1
- package/dist/utils/node_modules/source-map-js/lib/source-map-consumer.js +0 -2
- package/dist/utils/node_modules/source-map-js/lib/source-map-consumer.js.map +0 -1
- package/dist/utils/node_modules/source-map-js/lib/source-map-generator.js +0 -2
- package/dist/utils/node_modules/source-map-js/lib/source-map-generator.js.map +0 -1
- package/dist/utils/node_modules/source-map-js/lib/source-node.js +0 -2
- package/dist/utils/node_modules/source-map-js/lib/source-node.js.map +0 -1
- package/dist/utils/node_modules/source-map-js/lib/util.js +0 -2
- package/dist/utils/node_modules/source-map-js/lib/util.js.map +0 -1
- package/dist/utils/node_modules/source-map-js/source-map.js +0 -2
- package/dist/utils/node_modules/source-map-js/source-map.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useToggle2.js","sources":["../../../../../src/core/hooks/useToggle2.ts"],"sourcesContent":["import { useState, useCallback } from 'react'\n\n/**\n * Type definition for the return value of the `useToggle` hook.\n * @typedef {Array} useToggleReturnType\n * @property {boolean} 0 - The current toggled state.\n * @property {(value?: any | boolean) => void} 1 - Function to toggle the state.\n * @property {(value?: any | boolean) => void} 2 - Function to forcefully set the state to true.\n * @property {(value?: any | boolean) => void} 3 - Function to forcefully set the state to false.\n */\nexport type useToggleReturnType2 = [\n boolean,\n (value?: any | boolean) => void,\n (value?: any | boolean) => void,\n (value?: any | boolean) => void\n]\n\n/**\n * Custom hook to manage a boolean state with toggle functionality.\n * @param {boolean} defaultValue - The initial value of the toggled state.\n * @returns {useToggleReturnType2} An array containing the current state, a toggle function,\n * and functions to set the state to true or false.\n */\nexport const useToggle2 = (defaultValue: boolean): useToggleReturnType2 => {\n const [toggled, setToggled] = useState(defaultValue)\n\n /**\n * Function to toggle the state.\n * @param {any | boolean} [value] - Optional value to set the state. If not provided, the state will be toggled.\n */\n const handleToggle: (value?: any | boolean) => void = useCallback((value?: any | boolean) => {\n setToggled((prevToggled) => (typeof (value) === 'boolean' ? value : !prevToggled))\n }, [])\n\n /**\n * Function to set the state to true.\n * @param {boolean} [forceValue] - Optional value to forcefully set the state.\n * If not provided, the state will be set to true.\n */\n const handleToggleTrue = useCallback(\n (forceValue?: boolean) => handleToggle(forceValue === undefined ? true : forceValue), [handleToggle],\n )\n\n /**\n * Function to set the state to false.\n * @param {boolean} [forceValue] - Optional value to forcefully set the state.\n * If not provided, the state will be set to false.\n */\n const handleToggleFalse = useCallback(\n (forceValue?: boolean) => handleToggle(forceValue === undefined ? false : forceValue), [handleToggle],\n )\n\n return [toggled, handleToggle, handleToggleTrue, handleToggleFalse]\n}\n"],"names":["defaultValue","toggled","setToggled","useState","handleToggle","useCallback","
|
|
1
|
+
{"version":3,"file":"useToggle2.js","sources":["../../../../../src/core/hooks/useToggle2.ts"],"sourcesContent":["import { useState, useCallback } from 'react'\n\n/**\n * Type definition for the return value of the `useToggle` hook.\n * @typedef {Array} useToggleReturnType\n * @property {boolean} 0 - The current toggled state.\n * @property {(value?: any | boolean) => void} 1 - Function to toggle the state.\n * @property {(value?: any | boolean) => void} 2 - Function to forcefully set the state to true.\n * @property {(value?: any | boolean) => void} 3 - Function to forcefully set the state to false.\n */\nexport type useToggleReturnType2 = [\n boolean,\n (value?: any | boolean) => void,\n (value?: any | boolean) => void,\n (value?: any | boolean) => void\n]\n\n/**\n * Custom hook to manage a boolean state with toggle functionality.\n * @param {boolean} defaultValue - The initial value of the toggled state.\n * @returns {useToggleReturnType2} An array containing the current state, a toggle function,\n * and functions to set the state to true or false.\n */\nexport const useToggle2 = (defaultValue: boolean): useToggleReturnType2 => {\n const [toggled, setToggled] = useState(defaultValue)\n\n /**\n * Function to toggle the state.\n * @param {any | boolean} [value] - Optional value to set the state. If not provided, the state will be toggled.\n */\n const handleToggle: (value?: any | boolean) => void = useCallback((value?: any | boolean) => {\n setToggled((prevToggled) => (typeof (value) === 'boolean' ? value : !prevToggled))\n }, [])\n\n /**\n * Function to set the state to true.\n * @param {boolean} [forceValue] - Optional value to forcefully set the state.\n * If not provided, the state will be set to true.\n */\n const handleToggleTrue = useCallback(\n (forceValue?: boolean) => handleToggle(forceValue === undefined ? true : forceValue), [handleToggle],\n )\n\n /**\n * Function to set the state to false.\n * @param {boolean} [forceValue] - Optional value to forcefully set the state.\n * If not provided, the state will be set to false.\n */\n const handleToggleFalse = useCallback(\n (forceValue?: boolean) => handleToggle(forceValue === undefined ? false : forceValue), [handleToggle],\n )\n\n return [toggled, handleToggle, handleToggleTrue, handleToggleFalse]\n}\n"],"names":["defaultValue","toggled","setToggled","useState","handleToggle","useCallback","value","prevToggled","handleToggleTrue","forceValue","undefined","handleToggleFalse"],"mappings":"wIAuB2BA,IACzB,MAAOC,EAASC,GAAcC,EAAAA,SAASH,GAMjCI,EAAgDC,EAAWA,aAAEC,IACjEJ,GAAYK,GAAoC,kBAAXD,EAAuBA,GAASC,GAAa,GACjF,IAOGC,EAAmBH,EAAAA,aACtBI,GAAyBL,OAA4BM,IAAfD,GAAkCA,IAAa,CAACL,IAQnFO,EAAoBN,EAAAA,aACvBI,GAAyBL,OAA4BM,IAAfD,GAAmCA,IAAa,CAACL,IAG1F,MAAO,CAACH,EAASG,EAAcI,EAAkBG,EAAkB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("../../../_virtual/_rollupPluginBabelHelpers.js");require("../../../node_modules/core-js/modules/web.dom-collections.iterator.js");var r=require("../../../node_modules/gsap/index.js"),t=require("
|
|
1
|
+
"use strict";var e=require("../../../_virtual/_rollupPluginBabelHelpers.js");require("../../../node_modules/core-js/modules/web.dom-collections.iterator.js");var r=require("../../../node_modules/gsap/index.js"),t=require("react");exports.useAnimation=o=>{let{start:a=0,end:u,duration:s=2,ease:n="expo.inOut",rounded:l,roundingFn:d}=o;const[i,c]=t.useState(u),p=t.useRef(a);return t.useEffect((()=>{p.current=i}),[i]),t.useLayoutEffect((()=>{const t={val:p.current},o=r.gsap.context((()=>{r.gsap.to(t,s,e.objectSpread2(e.objectSpread2({val:u,ease:n,duration:s},l?{roundProps:"val"}:{}),{},{onUpdate(){c(d?d(t.val):t.val)},onComplete(){c(d?d(t.val):t.val)}}))}));return()=>o.revert()}),[s,n,u,l,d,a]),i};
|
|
2
2
|
//# sourceMappingURL=useAnimation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAnimation.js","sources":["../../../../../../src/core/hooks/useAnimation.ts"],"sourcesContent":["import gsap from 'gsap'\nimport { useEffect, useLayoutEffect, useRef, useState } from 'react'\n\n/**\n * Type definition for the parameters used in the `useAnimation` hook.\n * @typedef {Object} UseAnimationType\n * @property {number} start - The starting value of the animation.\n * @property {number} end - The ending value of the animation.\n * @property {number} duration - The duration of the animation in seconds.\n * @property {string} [ease='expo.inOut'] - The easing function for the animation.\n * @property {boolean} [rounded] - Flag to determine if the value should be rounded during the animation.\n */\nexport type UseAnimationType = {\n start?: number\n end: number\n duration?: number\n ease?: string\n rounded?: boolean\n roundingFn?: (value: number | string) => number | string\n}\n\n/**\n * Custom hook to create an animation using GSAP.\n * @param {UseAnimationType} params - The parameters for the animation.\n * @returns {number} The current value of the animation.\n */\nexport const useAnimation = ({\n start = 0,\n end,\n duration = 2,\n ease = 'expo.inOut',\n rounded,\n roundingFn,\n}: UseAnimationType): number | string => {\n const [val, setVal] = useState<number | string>(end)\n\n const startValueRef = useRef<number | string>(start)\n\n useEffect(() => {\n startValueRef.current = val\n }, [val])\n\n useLayoutEffect(() => {\n const valObj = { val: startValueRef.current }\n\n const gsapCtx = gsap.context(() => {\n gsap.to(valObj, duration, {\n val: end,\n ease,\n duration,\n ...(rounded ? { roundProps: 'val' } : {}),\n onUpdate () {\n setVal(roundingFn ? roundingFn(valObj.val) : valObj.val)\n },\n onComplete () {\n setVal(roundingFn ? roundingFn(valObj.val) : valObj.val)\n },\n })\n })\n\n return (): void => gsapCtx.revert()\n }, [duration, ease, end, rounded, roundingFn, start])\n\n return val\n}\n"],"names":["_ref","start","end","duration","ease","rounded","roundingFn","val","setVal","useState","startValueRef","useRef","
|
|
1
|
+
{"version":3,"file":"useAnimation.js","sources":["../../../../../../src/core/hooks/useAnimation.ts"],"sourcesContent":["import gsap from 'gsap'\nimport { useEffect, useLayoutEffect, useRef, useState } from 'react'\n\n/**\n * Type definition for the parameters used in the `useAnimation` hook.\n * @typedef {Object} UseAnimationType\n * @property {number} start - The starting value of the animation.\n * @property {number} end - The ending value of the animation.\n * @property {number} duration - The duration of the animation in seconds.\n * @property {string} [ease='expo.inOut'] - The easing function for the animation.\n * @property {boolean} [rounded] - Flag to determine if the value should be rounded during the animation.\n */\nexport type UseAnimationType = {\n start?: number\n end: number\n duration?: number\n ease?: string\n rounded?: boolean\n roundingFn?: (value: number | string) => number | string\n}\n\n/**\n * Custom hook to create an animation using GSAP.\n * @param {UseAnimationType} params - The parameters for the animation.\n * @returns {number} The current value of the animation.\n */\nexport const useAnimation = ({\n start = 0,\n end,\n duration = 2,\n ease = 'expo.inOut',\n rounded,\n roundingFn,\n}: UseAnimationType): number | string => {\n const [val, setVal] = useState<number | string>(end)\n\n const startValueRef = useRef<number | string>(start)\n\n useEffect(() => {\n startValueRef.current = val\n }, [val])\n\n useLayoutEffect(() => {\n const valObj = { val: startValueRef.current }\n\n const gsapCtx = gsap.context(() => {\n gsap.to(valObj, duration, {\n val: end,\n ease,\n duration,\n ...(rounded ? { roundProps: 'val' } : {}),\n onUpdate () {\n setVal(roundingFn ? roundingFn(valObj.val) : valObj.val)\n },\n onComplete () {\n setVal(roundingFn ? roundingFn(valObj.val) : valObj.val)\n },\n })\n })\n\n return (): void => gsapCtx.revert()\n }, [duration, ease, end, rounded, roundingFn, start])\n\n return val\n}\n"],"names":["_ref","start","end","duration","ease","rounded","roundingFn","val","setVal","useState","startValueRef","useRef","useEffect","current","useLayoutEffect","valObj","gsapCtx","gsap","context","to","_objectSpread","roundProps","onUpdate","onComplete","revert"],"mappings":"2PA0B4BA,IAOa,IAPZC,MAC3BA,EAAQ,EAACC,IACTA,EAAGC,SACHA,EAAW,EAACC,KACZA,EAAO,aAAYC,QACnBA,EAAOC,WACPA,GACiBN,EACjB,MAAOO,EAAKC,GAAUC,EAAAA,SAA0BP,GAE1CQ,EAAgBC,EAAMA,OAAkBV,GA2B9C,OAzBAW,EAAAA,WAAU,KACRF,EAAcG,QAAUN,CAAG,GAC1B,CAACA,IAEJO,EAAAA,iBAAgB,KACd,MAAMC,EAAS,CAAER,IAAKG,EAAcG,SAE9BG,EAAUC,OAAKC,SAAQ,KAC3BD,EAAAA,KAAKE,GAAGJ,EAAQZ,EAAQiB,EAAAA,cAAAA,EAAAA,cAAA,CACtBb,IAAKL,EACLE,OACAD,YACIE,EAAU,CAAEgB,WAAY,OAAU,CAAA,GAAE,GAAA,CACxCC,QAAAA,GACEd,EAAOF,EAAaA,EAAWS,EAAOR,KAAOQ,EAAOR,IACrD,EACDgB,UAAAA,GACEf,EAAOF,EAAaA,EAAWS,EAAOR,KAAOQ,EAAOR,IACtD,IACA,IAGJ,MAAO,IAAYS,EAAQQ,QAAQ,GAClC,CAACrB,EAAUC,EAAMF,EAAKG,EAASC,EAAYL,IAEvCM,CAAG"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var r=require("../../../_virtual/_rollupPluginBabelHelpers.js");require("../../../node_modules/core-js/modules/web.dom-collections.iterator.js");var e=require("
|
|
1
|
+
"use strict";var r=require("../../../_virtual/_rollupPluginBabelHelpers.js");require("../../../node_modules/core-js/modules/web.dom-collections.iterator.js");var e=require("react");const a={},o={loading:!1,error:null,data:null};exports.useApi=(t,l,c,d,n)=>{const[s,i]=e.useState(o);a[t]||(a[t]={id:t,caller:l,decorator:c,successHandler:d,errorHandler:n});const{caller:u,decorator:p,successHandler:b,errorHandler:j}=a[t];return[e.useCallback(r.asyncToGenerator((function*(){try{i((e=>r.objectSpread2(r.objectSpread2({},e),{},{loading:!0})));const e=yield u(...arguments),a=p?p(e):e;return b&&b({data:a,originalData:e.data}),i((o=>r.objectSpread2(r.objectSpread2({},o),{},{loading:!1,error:null,data:a,originalData:e.data}))),a}catch(e){throw j&&j(e),i((a=>r.objectSpread2(r.objectSpread2({},a),{},{loading:!1,error:e}))),e}})),[u,p,b,j]),s]};
|
|
2
2
|
//# sourceMappingURL=useApi.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useApi.js","sources":["../../../../../../src/core/hooks/useApi.ts"],"sourcesContent":["import { useState, useCallback } from 'react'\n\nexport type Data = any | any[] | null\n\nexport type DataFetching = { data?: Data; error?: string | null; loading: boolean; originalData?: Data }\n\ntype Caller = (...args: any[]) => Promise<any>\n\ntype Decorator = (RequestOrResponse: Record<string, any> | any) => Record<string, any>\n\ntype UseApiItem = {\n id: string\n caller: Caller\n decorator?: Decorator\n successHandler?: (data: any) => void\n errorHandler?: (data: any) => void\n}\n\nconst map: Record<string, UseApiItem> = {}\n\nconst defaultDataFetching = { loading: false, error: null, data: null }\n\nexport const useApi = (\n id: string,\n callerInitial: Caller,\n decoratorIntitial?: Decorator,\n successHandler?: (data: any) => void,\n errorHandler?: (data: any) => void,\n// eslint-disable-next-line function-paren-newline\n): [(...args: any[]) => Promise<any>, DataFetching] => {\n const [dataFetching, setDataFetching] = useState<DataFetching>(defaultDataFetching)\n\n // TODO should work the same with useMemo...\n if (!map[id]) {\n map[id] = { id, caller: callerInitial, decorator: decoratorIntitial, successHandler, errorHandler }\n }\n\n const { caller, decorator, successHandler: onSuccess, errorHandler: onError } = map[id]\n\n const doCall: () => Promise<any> = useCallback(async(...args: any[]) => {\n try {\n setDataFetching((prevState: DataFetching) => ({ ...prevState, loading: true }))\n const data: Data = await caller(...args)\n const returnData = decorator ? decorator(data) : data\n\n onSuccess && onSuccess({ data: returnData, originalData: data.data })\n\n setDataFetching((prevState: DataFetching) => {\n const newState = { ...prevState, loading: false, error: null, data: returnData, originalData: data.data }\n\n return newState\n })\n\n return returnData\n } catch (error: any) {\n onError && onError(error)\n setDataFetching((prevState: DataFetching) => ({ ...prevState, loading: false, error }))\n throw error\n }\n }, [caller, decorator, onSuccess, onError])\n\n return [doCall, dataFetching]\n}\n"],"names":["map","defaultDataFetching","loading","error","data","useApi","id","callerInitial","decoratorIntitial","successHandler","errorHandler","dataFetching","setDataFetching","useState","caller","decorator","onSuccess","onError","useCallback","_asyncToGenerator","prevState","_objectSpread","arguments","returnData","originalData"],"mappings":"
|
|
1
|
+
{"version":3,"file":"useApi.js","sources":["../../../../../../src/core/hooks/useApi.ts"],"sourcesContent":["import { useState, useCallback } from 'react'\n\nexport type Data = any | any[] | null\n\nexport type DataFetching = { data?: Data; error?: string | null; loading: boolean; originalData?: Data }\n\ntype Caller = (...args: any[]) => Promise<any>\n\ntype Decorator = (RequestOrResponse: Record<string, any> | any) => Record<string, any>\n\ntype UseApiItem = {\n id: string\n caller: Caller\n decorator?: Decorator\n successHandler?: (data: any) => void\n errorHandler?: (data: any) => void\n}\n\nconst map: Record<string, UseApiItem> = {}\n\nconst defaultDataFetching = { loading: false, error: null, data: null }\n\nexport const useApi = (\n id: string,\n callerInitial: Caller,\n decoratorIntitial?: Decorator,\n successHandler?: (data: any) => void,\n errorHandler?: (data: any) => void,\n// eslint-disable-next-line function-paren-newline\n): [(...args: any[]) => Promise<any>, DataFetching] => {\n const [dataFetching, setDataFetching] = useState<DataFetching>(defaultDataFetching)\n\n // TODO should work the same with useMemo...\n if (!map[id]) {\n map[id] = { id, caller: callerInitial, decorator: decoratorIntitial, successHandler, errorHandler }\n }\n\n const { caller, decorator, successHandler: onSuccess, errorHandler: onError } = map[id]\n\n const doCall: () => Promise<any> = useCallback(async(...args: any[]) => {\n try {\n setDataFetching((prevState: DataFetching) => ({ ...prevState, loading: true }))\n const data: Data = await caller(...args)\n const returnData = decorator ? decorator(data) : data\n\n onSuccess && onSuccess({ data: returnData, originalData: data.data })\n\n setDataFetching((prevState: DataFetching) => {\n const newState = { ...prevState, loading: false, error: null, data: returnData, originalData: data.data }\n\n return newState\n })\n\n return returnData\n } catch (error: any) {\n onError && onError(error)\n setDataFetching((prevState: DataFetching) => ({ ...prevState, loading: false, error }))\n throw error\n }\n }, [caller, decorator, onSuccess, onError])\n\n return [doCall, dataFetching]\n}\n"],"names":["map","defaultDataFetching","loading","error","data","useApi","id","callerInitial","decoratorIntitial","successHandler","errorHandler","dataFetching","setDataFetching","useState","caller","decorator","onSuccess","onError","useCallback","_asyncToGenerator","prevState","_objectSpread","arguments","returnData","originalData"],"mappings":"qLAkBA,MAAMA,EAAkC,CAAE,EAEpCC,EAAsB,CAAEC,SAAS,EAAOC,MAAO,KAAMC,KAAM,qBAE3CC,CACpBC,EACAC,EACAC,EACAC,EACAC,KAGA,MAAOC,EAAcC,GAAmBC,EAAAA,SAAuBZ,GAG1DD,EAAIM,KACPN,EAAIM,GAAM,CAAEA,KAAIQ,OAAQP,EAAeQ,UAAWP,EAAmBC,iBAAgBC,iBAGvF,MAAMI,OAAEA,EAAMC,UAAEA,EAAWN,eAAgBO,EAAWN,aAAcO,GAAYjB,EAAIM,GAwBpF,MAAO,CAtB4BY,cAAWC,EAAAA,kBAAC,YAC7C,IACEP,GAAiBQ,GAAuBC,gBAAAA,EAAAA,iBAAWD,GAAS,GAAA,CAAElB,SAAS,MACvE,MAAME,QAAmBU,KAAOQ,WAC1BC,EAAaR,EAAYA,EAAUX,GAAQA,EAUjD,OARAY,GAAaA,EAAU,CAAEZ,KAAMmB,EAAYC,aAAcpB,EAAKA,OAE9DQ,GAAiBQ,GACDC,EAAAA,cAAAA,EAAAA,iBAAQD,GAAS,GAAA,CAAElB,SAAS,EAAOC,MAAO,KAAMC,KAAMmB,EAAYC,aAAcpB,EAAKA,SAK9FmB,CACR,CAAC,MAAOpB,GAGP,MAFAc,GAAWA,EAAQd,GACnBS,GAAiBQ,GAAuBC,gBAAAA,EAAAA,iBAAWD,GAAS,GAAA,CAAElB,SAAS,EAAOC,YACxEA,CACR,CACD,IAAE,CAACW,EAAQC,EAAWC,EAAWC,IAElBN,EAAa"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";require("../../../node_modules/core-js/modules/web.dom-collections.iterator.js");var e=require("
|
|
1
|
+
"use strict";require("../../../node_modules/core-js/modules/web.dom-collections.iterator.js");var e=require("react"),s=require("../utils/helpers/ui.js");exports.useClassNames=(r,o)=>e.useMemo((()=>s.classNames(...r)),[r,o]);
|
|
2
2
|
//# sourceMappingURL=useClassNames.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useClassNames.js","sources":["../../../../../../src/core/hooks/useClassNames.ts"],"sourcesContent":["import { useMemo } from 'react'\n\nimport { classNames, TClassName } from '../utils/helpers/ui'\n\n\n/**\n * Custom hook to memoize class names.\n * @param {TClassName[]} classes - Array of class names or conditions to be applied.\n * @param {unknown[]} deps - Dependencies array for the `useMemo` hook.\n * @returns {ReturnType<typeof classNames>} The computed class names as a string.\n */\nexport const useClassNames = (\n classes: TClassName[],\n deps: unknown[],\n// eslint-disable-next-line react-hooks/exhaustive-deps\n): ReturnType<typeof classNames> => useMemo(() => classNames(...classes), [classes, deps])\n"],"names":["useClassNames","classes","deps","useMemo","
|
|
1
|
+
{"version":3,"file":"useClassNames.js","sources":["../../../../../../src/core/hooks/useClassNames.ts"],"sourcesContent":["import { useMemo } from 'react'\n\nimport { classNames, TClassName } from '../utils/helpers/ui'\n\n\n/**\n * Custom hook to memoize class names.\n * @param {TClassName[]} classes - Array of class names or conditions to be applied.\n * @param {unknown[]} deps - Dependencies array for the `useMemo` hook.\n * @returns {ReturnType<typeof classNames>} The computed class names as a string.\n */\nexport const useClassNames = (\n classes: TClassName[],\n deps: unknown[],\n// eslint-disable-next-line react-hooks/exhaustive-deps\n): ReturnType<typeof classNames> => useMemo(() => classNames(...classes), [classes, deps])\n"],"names":["useClassNames","classes","deps","useMemo","classNames"],"mappings":"+KAW6BA,CAC3BC,EACAC,IAEkCC,EAAOA,SAAC,IAAMC,EAAAA,cAAcH,IAAU,CAACA,EAASC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("../../../_virtual/_rollupPluginBabelHelpers.js"),r=require("
|
|
1
|
+
"use strict";var e=require("../../../_virtual/_rollupPluginBabelHelpers.js"),r=require("react");const n={root:null,rootMargin:"0px",threshold:.5};exports.useIntersectionObserver=t=>{let{callback:c,notIntersectingCallback:l,options:s={},granular:u}=t;const o=r.useRef(null),i=r.useRef(),a=r.useCallback((e=>{!function(e,r,n){arguments.length>3&&void 0!==arguments[3]&&arguments[3]?e.forEach((e=>{e.isIntersecting?r():null==n||n()})):e[0].isIntersecting?r():null==n||n()}(e,c,l,u)}),[c,u,l]);return r.useEffect((()=>{var r;null===(r=i.current)||void 0===r||r.disconnect();const t=o.current;return i.current=new IntersectionObserver(a,e.objectSpread2(e.objectSpread2({},n),s)),t&&i.current.observe(t),()=>{var e;null===(e=i.current)||void 0===e||e.disconnect()}}),[a,s]),o};
|
|
2
2
|
//# sourceMappingURL=useIntersectionObserver.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useIntersectionObserver.js","sources":["../../../../../../src/core/hooks/useIntersectionObserver.ts"],"sourcesContent":["import { MutableRefObject, useCallback, useEffect, useRef } from 'react'\n\nconst defaultOptions = {\n root: null,\n rootMargin: '0px',\n threshold: 0.5,\n}\n\n/**\n * Type definition for the parameters used in the `useIntersectionObserver` hook.\n * @typedef {Object} UseIntersectionObserverType\n * @property {() => void} callback - Function to be called when the element intersects.\n * @property {() => void} [notIntersectingCallback] - Optional function to be called\n * when the element is not intersecting.\n * @property {Partial<{ root: HTMLElement | null; rootMargin: string; threshold: number }>} [options] -\n * Optional IntersectionObserver options.\n * @property {boolean} [granular] - Flag to determine if each entry should be checked individually.\n */\nexport type UseIntersectionObserverType = {\n callback: () => void\n notIntersectingCallback?: () => void\n options?: Partial<{\n root: HTMLElement | null\n rootMargin: string\n threshold: number\n }>\n granular?: boolean\n}\n\n/**\n * Default handler for intersection changes.\n * @param {IntersectionObserverEntry[]} entries - Array of intersection observer entries.\n * @param {() => void} callback - Function to be called when the element intersects.\n * @param {() => void} [notIntersectingCallback] - Optional function to be called when the element is not intersecting.\n * @param {boolean} [granular=false] - Flag to determine if each entry should be checked individually.\n */\nconst defaultIntersectionHandler = (\n entries: IntersectionObserverEntry[],\n callback: UseIntersectionObserverType['callback'],\n notIntersectingCallback: UseIntersectionObserverType['notIntersectingCallback'],\n granular = false,\n): void => {\n if (granular) {\n entries.forEach((entry) => {\n if (entry.isIntersecting) {\n callback()\n } else {\n notIntersectingCallback?.()\n }\n })\n } else {\n // eslint-disable-next-line no-lonely-if\n if (entries[0].isIntersecting) {\n callback()\n } else {\n notIntersectingCallback?.()\n }\n }\n}\n\n/**\n * Custom hook to observe the intersection of an element.\n * @param {UseIntersectionObserverType} params - The parameters for the intersection observer.\n * @returns {MutableRefObject<T | null>} Ref object for the observed element.\n */\nexport const useIntersectionObserver = <T extends Element = Element>({\n callback, notIntersectingCallback, options = {}, granular,\n}: UseIntersectionObserverType): MutableRefObject<T | null> => {\n const elementRef = useRef<T | null>(null)\n\n const observerRef = useRef<IntersectionObserver>()\n\n // entries: IntersectionObserverEntry[], observer: IntersectionObserver)\n const intersectionHandler = useCallback((entries: IntersectionObserverEntry[]) => {\n defaultIntersectionHandler(entries, callback, notIntersectingCallback, granular)\n }, [callback, granular, notIntersectingCallback])\n\n useEffect(() => {\n observerRef.current?.disconnect()\n\n const observeElement = elementRef.current\n\n observerRef.current = new IntersectionObserver(intersectionHandler, { ...defaultOptions, ...options })\n\n if (observeElement) {\n observerRef.current.observe(observeElement)\n }\n\n return (): void => {\n observerRef.current?.disconnect()\n }\n }, [intersectionHandler, options])\n\n return elementRef\n}\n"],"names":["defaultOptions","root","rootMargin","threshold","_ref","callback","notIntersectingCallback","options","granular","elementRef","useRef","
|
|
1
|
+
{"version":3,"file":"useIntersectionObserver.js","sources":["../../../../../../src/core/hooks/useIntersectionObserver.ts"],"sourcesContent":["import { MutableRefObject, useCallback, useEffect, useRef } from 'react'\n\nconst defaultOptions = {\n root: null,\n rootMargin: '0px',\n threshold: 0.5,\n}\n\n/**\n * Type definition for the parameters used in the `useIntersectionObserver` hook.\n * @typedef {Object} UseIntersectionObserverType\n * @property {() => void} callback - Function to be called when the element intersects.\n * @property {() => void} [notIntersectingCallback] - Optional function to be called\n * when the element is not intersecting.\n * @property {Partial<{ root: HTMLElement | null; rootMargin: string; threshold: number }>} [options] -\n * Optional IntersectionObserver options.\n * @property {boolean} [granular] - Flag to determine if each entry should be checked individually.\n */\nexport type UseIntersectionObserverType = {\n callback: () => void\n notIntersectingCallback?: () => void\n options?: Partial<{\n root: HTMLElement | null\n rootMargin: string\n threshold: number\n }>\n granular?: boolean\n}\n\n/**\n * Default handler for intersection changes.\n * @param {IntersectionObserverEntry[]} entries - Array of intersection observer entries.\n * @param {() => void} callback - Function to be called when the element intersects.\n * @param {() => void} [notIntersectingCallback] - Optional function to be called when the element is not intersecting.\n * @param {boolean} [granular=false] - Flag to determine if each entry should be checked individually.\n */\nconst defaultIntersectionHandler = (\n entries: IntersectionObserverEntry[],\n callback: UseIntersectionObserverType['callback'],\n notIntersectingCallback: UseIntersectionObserverType['notIntersectingCallback'],\n granular = false,\n): void => {\n if (granular) {\n entries.forEach((entry) => {\n if (entry.isIntersecting) {\n callback()\n } else {\n notIntersectingCallback?.()\n }\n })\n } else {\n // eslint-disable-next-line no-lonely-if\n if (entries[0].isIntersecting) {\n callback()\n } else {\n notIntersectingCallback?.()\n }\n }\n}\n\n/**\n * Custom hook to observe the intersection of an element.\n * @param {UseIntersectionObserverType} params - The parameters for the intersection observer.\n * @returns {MutableRefObject<T | null>} Ref object for the observed element.\n */\nexport const useIntersectionObserver = <T extends Element = Element>({\n callback, notIntersectingCallback, options = {}, granular,\n}: UseIntersectionObserverType): MutableRefObject<T | null> => {\n const elementRef = useRef<T | null>(null)\n\n const observerRef = useRef<IntersectionObserver>()\n\n // entries: IntersectionObserverEntry[], observer: IntersectionObserver)\n const intersectionHandler = useCallback((entries: IntersectionObserverEntry[]) => {\n defaultIntersectionHandler(entries, callback, notIntersectingCallback, granular)\n }, [callback, granular, notIntersectingCallback])\n\n useEffect(() => {\n observerRef.current?.disconnect()\n\n const observeElement = elementRef.current\n\n observerRef.current = new IntersectionObserver(intersectionHandler, { ...defaultOptions, ...options })\n\n if (observeElement) {\n observerRef.current.observe(observeElement)\n }\n\n return (): void => {\n observerRef.current?.disconnect()\n }\n }, [intersectionHandler, options])\n\n return elementRef\n}\n"],"names":["defaultOptions","root","rootMargin","threshold","_ref","callback","notIntersectingCallback","options","granular","elementRef","useRef","observerRef","intersectionHandler","useCallback","entries","arguments","length","undefined","forEach","entry","isIntersecting","defaultIntersectionHandler","useEffect","_observerRef$current","current","disconnect","observeElement","IntersectionObserver","_objectSpread","objectSpread2","observe","_observerRef$current2"],"mappings":"gGAEA,MAAMA,EAAiB,CACrBC,KAAM,KACNC,WAAY,MACZC,UAAW,oCA4D0BC,IAEwB,IAFMC,SACnEA,EAAQC,wBAAEA,EAAuBC,QAAEA,EAAU,CAAE,EAAAC,SAAEA,GACrBJ,EAC5B,MAAMK,EAAaC,EAAMA,OAAW,MAE9BC,EAAcD,EAAAA,SAGdE,EAAsBC,EAAWA,aAAEC,KArCR,SACjCA,EACAT,EACAC,GACQS,UAAAC,OAAA,QAAAC,IAAAF,UAAA,IAAAA,UAAA,GAGND,EAAQI,SAASC,IACXA,EAAMC,eACRf,IAEAC,SAAAA,GACF,IAIEQ,EAAQ,GAAGM,eACbf,IAEAC,SAAAA,GAGN,CAgBIe,CAA2BP,EAAST,EAAUC,EAAyBE,EAAS,GAC/E,CAACH,EAAUG,EAAUF,IAkBxB,OAhBAgB,EAAAA,WAAU,KAAM,IAAAC,EACK,QAAnBA,EAAAZ,EAAYa,eAAO,IAAAD,GAAnBA,EAAqBE,aAErB,MAAMC,EAAiBjB,EAAWe,QAQlC,OANAb,EAAYa,QAAU,IAAIG,qBAAqBf,EAAmBgB,EAAAA,cAAAA,EAAAC,cAAO7B,GAAAA,GAAmBO,IAExFmB,GACFf,EAAYa,QAAQM,QAAQJ,GAGvB,KAAY,IAAAK,EACE,QAAnBA,EAAApB,EAAYa,eAAO,IAAAO,GAAnBA,EAAqBN,YAAY,CAClC,GACA,CAACb,EAAqBL,IAElBE,CAAU"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("
|
|
1
|
+
"use strict";var e=require("react"),t=require("../constants/ui.constants.js"),n=require("../ui/utils/clickOutside.js");exports.outsideClickHandler=function(e,i){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n.handleClickOutside(e,i);return document.addEventListener(t.EventName.Click,s),()=>document.removeEventListener(t.EventName.Click,s)},exports.useOutsideClick=function(i,s){let c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n.handleClickOutside(i,s);const u=e.useCallback((()=>document.removeEventListener(t.EventName.Click,c)),[c]);return e.useEffect((()=>(u(),document.addEventListener(t.EventName.Click,c),u)),[i,c,u]),u};
|
|
2
2
|
//# sourceMappingURL=useOutsideClick.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useOutsideClick.js","sources":["../../../../../../src/core/hooks/useOutsideClick.ts"],"sourcesContent":["import { useEffect, useCallback } from 'react'\n\nimport { EventName } from '../constants/ui.constants'\nimport { handleClickOutside as defaultHandleClickOutside } from '../ui/utils/clickOutside'\n\ntype Element = HTMLElement | null | (() => HTMLElement)\ntype CallbackFunction = (target: HTMLElement | null) => void\n\n/**\n * Custom hook to handle clicks outside a specified element.\n * @param {Element} element - The element to detect outside clicks for.\n * @param {CallbackFunction} [callback] - Optional callback function to execute when an outside click is detected.\n * @param {Function} [handleClickOutside=defaultHandleClickOutside] - Optional custom function to handle outside clicks.\n * @returns {() => void} Function to unsubscribe the event listener.\n */\nexport function useOutsideClick(\n element: Element,\n callback?: CallbackFunction,\n handleClickOutside = defaultHandleClickOutside(element, callback),\n): () => void {\n const unsubscriber = useCallback(\n () => document.removeEventListener(EventName.Click, handleClickOutside), [handleClickOutside],\n )\n\n useEffect(() => {\n unsubscriber()\n document.addEventListener(EventName.Click, handleClickOutside)\n\n return unsubscriber\n }, [element, handleClickOutside, unsubscriber])\n\n return unsubscriber\n}\n\n/**\n * Function to handle clicks outside a specified element.\n * @param {Element} element - The element to detect outside clicks for.\n * @param {CallbackFunction} [callback] - Optional callback function to execute when an outside click is detected.\n * @param {Function} [handleClickOutside=defaultHandleClickOutside] - Optional custom function to handle outside clicks.\n * @returns {() => void} Function to unsubscribe the event listener.\n */\nexport function outsideClickHandler(\n element: Element,\n callback?: CallbackFunction,\n handleClickOutside = defaultHandleClickOutside(element, callback),\n): () => void {\n const unsubscriber = (): void => document.removeEventListener(EventName.Click, handleClickOutside)\n\n document.addEventListener(EventName.Click, handleClickOutside)\n\n return unsubscriber\n}\n"],"names":["element","callback","handleClickOutside","arguments","length","undefined","defaultHandleClickOutside","document","addEventListener","EventName","Click","unsubscriber","removeEventListener","useCallback","useEffect"],"mappings":"
|
|
1
|
+
{"version":3,"file":"useOutsideClick.js","sources":["../../../../../../src/core/hooks/useOutsideClick.ts"],"sourcesContent":["import { useEffect, useCallback } from 'react'\n\nimport { EventName } from '../constants/ui.constants'\nimport { handleClickOutside as defaultHandleClickOutside } from '../ui/utils/clickOutside'\n\ntype Element = HTMLElement | null | (() => HTMLElement)\ntype CallbackFunction = (target: HTMLElement | null) => void\n\n/**\n * Custom hook to handle clicks outside a specified element.\n * @param {Element} element - The element to detect outside clicks for.\n * @param {CallbackFunction} [callback] - Optional callback function to execute when an outside click is detected.\n * @param {Function} [handleClickOutside=defaultHandleClickOutside] - Optional custom function to handle outside clicks.\n * @returns {() => void} Function to unsubscribe the event listener.\n */\nexport function useOutsideClick(\n element: Element,\n callback?: CallbackFunction,\n handleClickOutside = defaultHandleClickOutside(element, callback),\n): () => void {\n const unsubscriber = useCallback(\n () => document.removeEventListener(EventName.Click, handleClickOutside), [handleClickOutside],\n )\n\n useEffect(() => {\n unsubscriber()\n document.addEventListener(EventName.Click, handleClickOutside)\n\n return unsubscriber\n }, [element, handleClickOutside, unsubscriber])\n\n return unsubscriber\n}\n\n/**\n * Function to handle clicks outside a specified element.\n * @param {Element} element - The element to detect outside clicks for.\n * @param {CallbackFunction} [callback] - Optional callback function to execute when an outside click is detected.\n * @param {Function} [handleClickOutside=defaultHandleClickOutside] - Optional custom function to handle outside clicks.\n * @returns {() => void} Function to unsubscribe the event listener.\n */\nexport function outsideClickHandler(\n element: Element,\n callback?: CallbackFunction,\n handleClickOutside = defaultHandleClickOutside(element, callback),\n): () => void {\n const unsubscriber = (): void => document.removeEventListener(EventName.Click, handleClickOutside)\n\n document.addEventListener(EventName.Click, handleClickOutside)\n\n return unsubscriber\n}\n"],"names":["element","callback","handleClickOutside","arguments","length","undefined","defaultHandleClickOutside","document","addEventListener","EventName","Click","unsubscriber","removeEventListener","useCallback","useEffect"],"mappings":"mJAyCO,SACLA,EACAC,GAEY,IADZC,EAAkBC,UAAAC,eAAAC,IAAAF,UAAA,GAAAA,UAAGG,GAAAA,EAAAA,mBAA0BN,EAASC,GAMxD,OAFAM,SAASC,iBAAiBC,YAAUC,MAAOR,GAFtBS,IAAYJ,SAASK,oBAAoBH,EAASA,UAACC,MAAOR,EAKjF,0BApCO,SACLF,EACAC,GAEY,IADZC,EAAkBC,UAAAC,eAAAC,IAAAF,UAAA,GAAAA,UAAGG,GAAAA,EAAAA,mBAA0BN,EAASC,GAExD,MAAMU,EAAeE,EAAAA,aACnB,IAAMN,SAASK,oBAAoBH,YAAUC,MAAOR,IAAqB,CAACA,IAU5E,OAPAY,EAAAA,WAAU,KACRH,IACAJ,SAASC,iBAAiBC,YAAUC,MAAOR,GAEpCS,IACN,CAACX,EAASE,EAAoBS,IAE1BA,CACT"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("
|
|
1
|
+
"use strict";var e=require("react"),r=require("../utils/helpers/ui.js");exports.useParseProps=s=>e.useMemo((()=>r.parseProps(s)),[s]);
|
|
2
2
|
//# sourceMappingURL=useParseProps.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useParseProps.js","sources":["../../../../../../src/core/hooks/useParseProps.ts"],"sourcesContent":["import { useMemo } from 'react'\n\nimport { parseProps } from '../utils/helpers/ui'\n\n/**\n * Custom hook to parse properties using the `parseProps` utility function.\n * @param {Record<string, unknown>} props - The properties to be parsed.\n * @returns {ReturnType<typeof parseProps>} The parsed properties categorized by the `parseProps` function.\n */\nexport const useParseProps = (props: Record<string, unknown>): ReturnType<typeof parseProps> => {\n const propsCategories = useMemo(() => parseProps(props), [props])\n\n return propsCategories\n}\n"],"names":["props","useMemo","parseProps"],"mappings":"
|
|
1
|
+
{"version":3,"file":"useParseProps.js","sources":["../../../../../../src/core/hooks/useParseProps.ts"],"sourcesContent":["import { useMemo } from 'react'\n\nimport { parseProps } from '../utils/helpers/ui'\n\n/**\n * Custom hook to parse properties using the `parseProps` utility function.\n * @param {Record<string, unknown>} props - The properties to be parsed.\n * @returns {ReturnType<typeof parseProps>} The parsed properties categorized by the `parseProps` function.\n */\nexport const useParseProps = (props: Record<string, unknown>): ReturnType<typeof parseProps> => {\n const propsCategories = useMemo(() => parseProps(props), [props])\n\n return propsCategories\n}\n"],"names":["props","useMemo","parseProps"],"mappings":"8FAS8BA,GACJC,EAAAA,SAAQ,IAAMC,EAAAA,WAAWF,IAAQ,CAACA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";require("../../../node_modules/core-js/modules/web.dom-collections.iterator.js");var e=require("
|
|
1
|
+
"use strict";require("../../../node_modules/core-js/modules/web.dom-collections.iterator.js");var e=require("react"),t=require("../../../node_modules/lodash-es/debounce.js");exports.useResize=function(){let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,n=arguments.length>1?arguments[1]:void 0;const[r,u]=e.useState({width:void 0,height:void 0}),l=e.useRef({width:0,height:0}),o=e.useRef(),d=e.useRef(),c=e.useMemo((()=>t.default((e=>{var t,i,r,d;const c=e[0].contentRect.width,h=e[0].contentRect.height;(null===(t=l.current)||void 0===t?void 0:t.width)===c&&(null===(i=l.current)||void 0===i?void 0:i.height)===h||(l.current={width:c,height:h},(n||u)({width:null==o||null===(r=o.current)||void 0===r?void 0:r.clientWidth,height:null==o||null===(d=o.current)||void 0===d?void 0:d.clientHeight}))}),i)),[n,i]);return e.useLayoutEffect((()=>{let e,t;var i,r;null!=o&&o.current&&(t=null==o?void 0:o.current,e=new ResizeObserver(c),e.observe(t),(n||u)({width:null==o||null===(i=o.current)||void 0===i?void 0:i.clientWidth,height:null==o||null===(r=o.current)||void 0===r?void 0:r.clientHeight}));const l=()=>{var i,n;null===(i=e)||void 0===i||null===(n=i.unobserve)||void 0===n||n.call(i,t)};return d.current=l,l}),[c,o,n]),[o,r,d.current]};
|
|
2
2
|
//# sourceMappingURL=useResize.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useResize.js","sources":["../../../../../../src/core/hooks/useResize.ts"],"sourcesContent":["import { MutableRefObject, useLayoutEffect, useMemo, useState, useRef } from 'react'\nimport debounce from 'lodash-es/debounce'\n\n/**\n * Type definition for the size of the wrapper element.\n * @typedef {Object} WrapperSize\n * @property {undefined | number} width - The width of the wrapper element.\n * @property {undefined | number} height - The height of the wrapper element.\n */\nexport type WrapperSize = { width: undefined | number; height: undefined | number }\n\n/**\n * Type definition for the unobserver function.\n * @typedef {() => (null | void)} Unobserver\n */\ntype Unobserver = () => (null | void)\n\n/**\n * Type definition for the resize callback function.\n * @typedef {(wrapperSize: WrapperSize) => void} UseResizeCallBack\n */\nexport type UseResizeCallBack = (wrapperSize: WrapperSize) => void\n\n/**\n * Custom hook to observe the resize event of an HTML element\n * and execute a callback or update the state with the new size.\n * @param {number} [debounceDelay=250] - The delay in milliseconds for debouncing the resize event.\n * @param {UseResizeCallBack} [callBack] - Optional callback function to execute when the element is resized.\n * @returns {[MutableRefObject<HTMLElement | null | undefined>, WrapperSize, Unobserver | undefined]}\n * An array containing the ref object for the container element,\n * the current size of the container, and an unobserver function.\n */\n// eslint-disable-next-line default-param-last\nexport const useResize = (debounceDelay = 250, callBack?: UseResizeCallBack): [\n MutableRefObject<HTMLElement | null | undefined>, WrapperSize, Unobserver | undefined] => {\n const [containerSize, setContainerSize] = useState<WrapperSize>({ width: undefined, height: undefined })\n\n const lastResizeWidthRef = useRef<WrapperSize>({ width: 0, height: 0 })\n const containerRef: MutableRefObject<HTMLElement | undefined | null> = useRef<HTMLElement | undefined | null>()\n const unobserverRef = useRef<Unobserver>()\n\n const debouncedResizeWrapper = useMemo(() => debounce((entries) => {\n const newResizeWidth = entries[0].contentRect.width\n const newResizeHeight = entries[0].contentRect.height\n\n if (lastResizeWidthRef.current?.width === newResizeWidth\n && lastResizeWidthRef.current?.height === newResizeHeight) {\n return\n }\n lastResizeWidthRef.current = { width: newResizeWidth, height: newResizeHeight }\n\n // eslint-disable-next-line semi-style\n ;(callBack || setContainerSize)({\n width: containerRef?.current?.clientWidth,\n height: containerRef?.current?.clientHeight,\n })\n }, debounceDelay), [callBack, debounceDelay])\n\n useLayoutEffect(() => {\n let resizeObserver: ResizeObserver\n let containerElement: HTMLElement\n\n if (containerRef?.current) {\n containerElement = containerRef?.current\n resizeObserver = new ResizeObserver(debouncedResizeWrapper)\n resizeObserver.observe(containerElement as Element)\n\n // eslint-disable-next-line semi-style\n ;(callBack || setContainerSize)({\n width: containerRef?.current?.clientWidth,\n height: containerRef?.current?.clientHeight,\n })\n }\n\n const unobserver = (): void => {\n resizeObserver?.unobserve?.(containerElement as Element)\n }\n\n // setUnobserver(unobserver)\n unobserverRef.current = unobserver\n\n return unobserver\n }, [debouncedResizeWrapper, containerRef, callBack])\n\n return [containerRef, containerSize, unobserverRef.current]\n}\n"],"names":["debounceDelay","arguments","length","undefined","callBack","containerSize","setContainerSize","useState","width","height","lastResizeWidthRef","useRef","containerRef","unobserverRef","debouncedResizeWrapper","useMemo","debounce","entries","_lastResizeWidthRef$c","_lastResizeWidthRef$c2","_containerRef$current","_containerRef$current2","newResizeWidth","contentRect","newResizeHeight","current","clientWidth","clientHeight","useLayoutEffect","resizeObserver","containerElement","_containerRef$current3","_containerRef$current4","ResizeObserver","observe","unobserver","_resizeObserver","_resizeObserver$unobs","unobserve","call"],"mappings":"
|
|
1
|
+
{"version":3,"file":"useResize.js","sources":["../../../../../../src/core/hooks/useResize.ts"],"sourcesContent":["import { MutableRefObject, useLayoutEffect, useMemo, useState, useRef } from 'react'\nimport debounce from 'lodash-es/debounce'\n\n/**\n * Type definition for the size of the wrapper element.\n * @typedef {Object} WrapperSize\n * @property {undefined | number} width - The width of the wrapper element.\n * @property {undefined | number} height - The height of the wrapper element.\n */\nexport type WrapperSize = { width: undefined | number; height: undefined | number }\n\n/**\n * Type definition for the unobserver function.\n * @typedef {() => (null | void)} Unobserver\n */\ntype Unobserver = () => (null | void)\n\n/**\n * Type definition for the resize callback function.\n * @typedef {(wrapperSize: WrapperSize) => void} UseResizeCallBack\n */\nexport type UseResizeCallBack = (wrapperSize: WrapperSize) => void\n\n/**\n * Custom hook to observe the resize event of an HTML element\n * and execute a callback or update the state with the new size.\n * @param {number} [debounceDelay=250] - The delay in milliseconds for debouncing the resize event.\n * @param {UseResizeCallBack} [callBack] - Optional callback function to execute when the element is resized.\n * @returns {[MutableRefObject<HTMLElement | null | undefined>, WrapperSize, Unobserver | undefined]}\n * An array containing the ref object for the container element,\n * the current size of the container, and an unobserver function.\n */\n// eslint-disable-next-line default-param-last\nexport const useResize = (debounceDelay = 250, callBack?: UseResizeCallBack): [\n MutableRefObject<HTMLElement | null | undefined>, WrapperSize, Unobserver | undefined] => {\n const [containerSize, setContainerSize] = useState<WrapperSize>({ width: undefined, height: undefined })\n\n const lastResizeWidthRef = useRef<WrapperSize>({ width: 0, height: 0 })\n const containerRef: MutableRefObject<HTMLElement | undefined | null> = useRef<HTMLElement | undefined | null>()\n const unobserverRef = useRef<Unobserver>()\n\n const debouncedResizeWrapper = useMemo(() => debounce((entries) => {\n const newResizeWidth = entries[0].contentRect.width\n const newResizeHeight = entries[0].contentRect.height\n\n if (lastResizeWidthRef.current?.width === newResizeWidth\n && lastResizeWidthRef.current?.height === newResizeHeight) {\n return\n }\n lastResizeWidthRef.current = { width: newResizeWidth, height: newResizeHeight }\n\n // eslint-disable-next-line semi-style\n ;(callBack || setContainerSize)({\n width: containerRef?.current?.clientWidth,\n height: containerRef?.current?.clientHeight,\n })\n }, debounceDelay), [callBack, debounceDelay])\n\n useLayoutEffect(() => {\n let resizeObserver: ResizeObserver\n let containerElement: HTMLElement\n\n if (containerRef?.current) {\n containerElement = containerRef?.current\n resizeObserver = new ResizeObserver(debouncedResizeWrapper)\n resizeObserver.observe(containerElement as Element)\n\n // eslint-disable-next-line semi-style\n ;(callBack || setContainerSize)({\n width: containerRef?.current?.clientWidth,\n height: containerRef?.current?.clientHeight,\n })\n }\n\n const unobserver = (): void => {\n resizeObserver?.unobserve?.(containerElement as Element)\n }\n\n // setUnobserver(unobserver)\n unobserverRef.current = unobserver\n\n return unobserver\n }, [debouncedResizeWrapper, containerRef, callBack])\n\n return [containerRef, containerSize, unobserverRef.current]\n}\n"],"names":["debounceDelay","arguments","length","undefined","callBack","containerSize","setContainerSize","useState","width","height","lastResizeWidthRef","useRef","containerRef","unobserverRef","debouncedResizeWrapper","useMemo","debounce","entries","_lastResizeWidthRef$c","_lastResizeWidthRef$c2","_containerRef$current","_containerRef$current2","newResizeWidth","contentRect","newResizeHeight","current","clientWidth","clientHeight","useLayoutEffect","resizeObserver","containerElement","_containerRef$current3","_containerRef$current4","ResizeObserver","observe","unobserver","_resizeObserver","_resizeObserver$unobs","unobserve","call"],"mappings":"gMAiCyB,WACmE,IADlEA,EAAaC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,IAAKG,EAA4BH,UAAAC,OAAAD,EAAAA,kBAAAE,EAEzE,MAAOE,EAAeC,GAAoBC,WAAsB,CAAEC,WAAOL,EAAWM,YAAQN,IAEtFO,EAAqBC,EAAAA,OAAoB,CAAEH,MAAO,EAAGC,OAAQ,IAC7DG,EAAiED,EAAAA,SACjEE,EAAgBF,EAAAA,SAEhBG,EAAyBC,EAAAA,SAAQ,IAAMC,EAAAA,SAAUC,IAAY,IAAAC,EAAAC,EAAAC,EAAAC,EACjE,MAAMC,EAAiBL,EAAQ,GAAGM,YAAYf,MACxCgB,EAAkBP,EAAQ,GAAGM,YAAYd,QAEjBS,QAA1BA,EAAAR,EAAmBe,eAAnBP,IAA0BA,OAA1BA,EAAAA,EAA4BV,SAAUc,IACX,QAA1BH,EAAAT,EAAmBe,eAAO,IAAAN,OAAA,EAA1BA,EAA4BV,UAAWe,IAG5Cd,EAAmBe,QAAU,CAAEjB,MAAOc,EAAgBb,OAAQe,IAG5DpB,GAAYE,GAAkB,CAC9BE,MAAOI,SAAqBQ,QAATA,EAAZR,EAAca,eAAdL,IAAqBA,OAArBA,EAAAA,EAAuBM,YAC9BjB,OAAQG,SAAqB,QAATS,EAAZT,EAAca,eAAO,IAAAJ,OAAA,EAArBA,EAAuBM,eAC/B,GACD3B,IAAgB,CAACI,EAAUJ,IA4B9B,OA1BA4B,EAAAA,iBAAgB,KACd,IAAIC,EACAC,EAEuB,IAAAC,EAAAC,EAAvBpB,SAAAA,EAAca,UAChBK,EAAmBlB,aAAAA,EAAAA,EAAca,QACjCI,EAAiB,IAAII,eAAenB,GACpCe,EAAeK,QAAQJ,IAGrB1B,GAAYE,GAAkB,CAC9BE,MAAOI,SAAqBmB,QAATA,EAAZnB,EAAca,eAAdM,IAAqBA,OAArBA,EAAAA,EAAuBL,YAC9BjB,OAAQG,SAAqB,QAAToB,EAAZpB,EAAca,eAAO,IAAAO,OAAA,EAArBA,EAAuBL,gBAInC,MAAMQ,EAAaA,KAAY,IAAAC,EAAAC,EACf,QAAdD,EAAAP,SAAcQ,IAAAD,GAAWC,QAAXA,EAAdD,EAAgBE,qBAASD,GAAzBA,EAAAE,KAAAH,EAA4BN,EAA4B,EAM1D,OAFAjB,EAAcY,QAAUU,EAEjBA,CAAU,GAChB,CAACrB,EAAwBF,EAAcR,IAEnC,CAACQ,EAAcP,EAAeQ,EAAcY,QACrD"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("
|
|
1
|
+
"use strict";var e=require("react");exports.useTimeoutFn=function(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const u=e.useRef({ready:null,timeout:null,callback:t}),c=e.useCallback((()=>u.current.ready),[]),l=e.useCallback((()=>{u.current.ready=null,u.current.timeout&&clearTimeout(u.current.timeout)}),[]),a=e.useCallback((()=>{u.current.ready=!1,u.current.timeout&&clearTimeout(u.current.timeout),u.current.timeout=setTimeout((()=>{u.current.ready=!0,u.current.callback()}),r)}),[r]);return e.useEffect((()=>{u.current.callback=t}),[t]),e.useEffect((()=>(a(),l)),[l,r,a]),[c,l,a]};
|
|
2
2
|
//# sourceMappingURL=useSetTimeout.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSetTimeout.js","sources":["../../../../../../src/core/hooks/useSetTimeout.ts"],"sourcesContent":["import { useCallback, useEffect, useRef } from 'react'\n\nexport type UseTimeoutFnReturn = [() => boolean | null, () => void, () => void];\n\ntype CallBackType = (...args: unknown[]) => unknown\n\ntype LocalStateType = {\n ready: boolean | null\n timeout: ReturnType<typeof setTimeout> | null\n callback: CallBackType\n}\n\nexport const useTimeoutFn = (fn: CallBackType, ms: number = 0): UseTimeoutFnReturn => {\n const store = useRef<LocalStateType>({\n ready: null,\n timeout: null,\n callback: fn,\n })\n\n const isReady = useCallback(() => store.current.ready, [])\n\n const clear = useCallback(() => {\n store.current.ready = null\n store.current.timeout && clearTimeout(store.current.timeout)\n }, [])\n\n const set = useCallback(() => {\n store.current.ready = false\n store.current.timeout && clearTimeout(store.current.timeout)\n\n store.current.timeout = setTimeout(() => {\n store.current.ready = true\n store.current.callback()\n }, ms)\n }, [ms])\n\n // update ref when function changes\n useEffect(() => {\n store.current.callback = fn\n }, [fn])\n\n // set on mount, clear on unmount\n useEffect(() => {\n set()\n\n return clear\n }, [clear, ms, set])\n\n return [isReady, clear, set]\n}\n"],"names":["fn","ms","arguments","length","undefined","store","useRef","ready","timeout","callback","isReady","useCallback","current","clear","clearTimeout","set","setTimeout","useEffect"],"mappings":"
|
|
1
|
+
{"version":3,"file":"useSetTimeout.js","sources":["../../../../../../src/core/hooks/useSetTimeout.ts"],"sourcesContent":["import { useCallback, useEffect, useRef } from 'react'\n\nexport type UseTimeoutFnReturn = [() => boolean | null, () => void, () => void];\n\ntype CallBackType = (...args: unknown[]) => unknown\n\ntype LocalStateType = {\n ready: boolean | null\n timeout: ReturnType<typeof setTimeout> | null\n callback: CallBackType\n}\n\nexport const useTimeoutFn = (fn: CallBackType, ms: number = 0): UseTimeoutFnReturn => {\n const store = useRef<LocalStateType>({\n ready: null,\n timeout: null,\n callback: fn,\n })\n\n const isReady = useCallback(() => store.current.ready, [])\n\n const clear = useCallback(() => {\n store.current.ready = null\n store.current.timeout && clearTimeout(store.current.timeout)\n }, [])\n\n const set = useCallback(() => {\n store.current.ready = false\n store.current.timeout && clearTimeout(store.current.timeout)\n\n store.current.timeout = setTimeout(() => {\n store.current.ready = true\n store.current.callback()\n }, ms)\n }, [ms])\n\n // update ref when function changes\n useEffect(() => {\n store.current.callback = fn\n }, [fn])\n\n // set on mount, clear on unmount\n useEffect(() => {\n set()\n\n return clear\n }, [clear, ms, set])\n\n return [isReady, clear, set]\n}\n"],"names":["fn","ms","arguments","length","undefined","store","useRef","ready","timeout","callback","isReady","useCallback","current","clear","clearTimeout","set","setTimeout","useEffect"],"mappings":"yDAY4B,SAACA,GAAyD,IAAvCC,EAAUC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,EAC1D,MAAMG,EAAQC,EAAAA,OAAuB,CACnCC,MAAO,KACPC,QAAS,KACTC,SAAUT,IAGNU,EAAUC,EAAAA,aAAY,IAAMN,EAAMO,QAAQL,OAAO,IAEjDM,EAAQF,EAAAA,aAAY,KACxBN,EAAMO,QAAQL,MAAQ,KACtBF,EAAMO,QAAQJ,SAAWM,aAAaT,EAAMO,QAAQJ,QAAQ,GAC3D,IAEGO,EAAMJ,EAAAA,aAAY,KACtBN,EAAMO,QAAQL,OAAQ,EACtBF,EAAMO,QAAQJ,SAAWM,aAAaT,EAAMO,QAAQJ,SAEpDH,EAAMO,QAAQJ,QAAUQ,YAAW,KACjCX,EAAMO,QAAQL,OAAQ,EACtBF,EAAMO,QAAQH,UAAU,GACvBR,EAAG,GACL,CAACA,IAcJ,OAXAgB,EAAAA,WAAU,KACRZ,EAAMO,QAAQH,SAAWT,CAAE,GAC1B,CAACA,IAGJiB,EAAAA,WAAU,KACRF,IAEOF,IACN,CAACA,EAAOZ,EAAIc,IAER,CAACL,EAASG,EAAOE,EAC1B"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("
|
|
1
|
+
"use strict";var e=require("react");const o="change",t=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:()=>document.body,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e;const s=o=>{const s=e();null==c||c(o,s),null==t||t(o)},r=e=>{s(e.matches)},d=e=>{s(!e.matches)},l=window.matchMedia("(prefers-color-scheme: dark)");try{window.matchMedia("(prefers-color-scheme: dark)").removeEventListener(o,r),window.matchMedia("(prefers-color-scheme: light)").removeEventListener(o,d)}catch(e){}return s(null==l?void 0:l.matches),window.matchMedia("(prefers-color-scheme: dark)").addEventListener(o,r),window.matchMedia("(prefers-color-scheme: light)").addEventListener(o,d),()=>{window.matchMedia("(prefers-color-scheme: dark)").removeEventListener(o,r),window.matchMedia("(prefers-color-scheme: light)").removeEventListener(o,d)}};let s={dark:"theme-dark",light:"theme-light"};const c=function(e,o){let t=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const c=e?s.light:s.dark,r=e?s.dark:s.light;o&&(o.classList.remove(c),o.classList.remove(r),o.classList.add(r)),"undefined"!=typeof document&&(document.querySelectorAll(".".concat(c)).forEach((e=>{e.classList.add(".".concat(r)),e.classList.remove(".".concat(c))})),t&&(document.querySelectorAll(".shadow-div").forEach((e=>{var o,t;null===(o=e.shadowRoot)||void 0===o||null===(o=o.querySelector(".".concat(c)))||void 0===o||o.classList.add(r),null===(t=e.shadowRoot)||void 0===t||null===(t=t.querySelector(".".concat(c)))||void 0===t||t.classList.remove(c)})),document.querySelectorAll("esmf-wrapper").forEach((e=>{var o,t,s;null===(o=e.shadowRoot)||void 0===o||null===(o=o.querySelector(".".concat(c)))||void 0===o||o.classList.add(r),null===(t=e.shadowRoot)||void 0===t||null===(t=t.querySelector(".".concat(c)))||void 0===t||t.classList.remove(c);const d=null===(s=e.shadowRoot)||void 0===s?void 0:s.childNodes[0];d&&(d.classList.add(r),d.classList.remove(c))}))))};exports.getBaseThemes=()=>s,exports.observeThemePreference=t,exports.setThemeClassNames=e=>{s=e},exports.switchColorTheme=c,exports.updateColorTheme=(e,o)=>{let t=e||!1;"undefined"!=typeof document&&void 0===e&&(t=document.body.classList.contains(s.dark)),c(t,o||document.body)},exports.useThemePreference=function(){let o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:()=>document.body,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e;e.useEffect((()=>t(o,s)),[o,s])};
|
|
2
2
|
//# sourceMappingURL=useThemePreference.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useThemePreference.js","sources":["../../../../../../src/core/hooks/useThemePreference.ts"],"sourcesContent":["import { useEffect } from 'react'\n\n\nconst windowMatchMediaChangeEventType = 'change'\n\n/**\n * Observes the user's theme preference and applies the appropriate theme.\n * @param {() => HTMLElement} [getHtmlElement] - Function to get the HTML element to which the theme will be applied.\n * @param {(isDark: boolean) => void} [switchCallback] - Callback function to execute when the theme changes.\n * @returns {() => void} Function to stop observing the theme preference.\n */\nexport const observeThemePreference = (\n getHtmlElement: () => HTMLElement = (): HTMLElement => document.body,\n switchCallback: (isDark: boolean) => void = (isDark: boolean): boolean => isDark,\n): () => void => {\n const switchColorThemeHandler = (isDark: boolean): void => {\n const htmlElement = getHtmlElement()\n\n switchColorTheme?.(isDark, htmlElement)\n switchCallback?.(isDark)\n }\n\n const changeDarkColorThemeHandler = (event: MediaQueryListEvent): void => {\n switchColorThemeHandler(event.matches)\n }\n\n const changeLightColorThemeHandler = (event: MediaQueryListEvent): void => {\n switchColorThemeHandler(!event.matches)\n }\n\n const isDark = window.matchMedia('(prefers-color-scheme: dark)')\n\n try {\n window.matchMedia('(prefers-color-scheme: dark)').removeEventListener(\n windowMatchMediaChangeEventType, changeDarkColorThemeHandler,\n )\n window.matchMedia('(prefers-color-scheme: light)').removeEventListener(\n windowMatchMediaChangeEventType, changeLightColorThemeHandler,\n )\n } catch (error) {\n console.error(`Error::observeThemePreference::removeEventListener: ${error}`)\n }\n\n switchColorThemeHandler(isDark?.matches)\n window.matchMedia('(prefers-color-scheme: dark)').addEventListener(\n windowMatchMediaChangeEventType, changeDarkColorThemeHandler,\n )\n window.matchMedia('(prefers-color-scheme: light)').addEventListener(\n windowMatchMediaChangeEventType, changeLightColorThemeHandler,\n )\n\n return () => {\n window.matchMedia('(prefers-color-scheme: dark)').removeEventListener(\n windowMatchMediaChangeEventType, changeDarkColorThemeHandler,\n )\n window.matchMedia('(prefers-color-scheme: light)').removeEventListener(\n windowMatchMediaChangeEventType, changeLightColorThemeHandler,\n )\n }\n}\n\n/**\n * Custom hook to use theme preference in a React component.\n * @param {() => HTMLElement} [getHtmlElement] - Function to get the HTML element to which the theme will be applied.\n * @param {(isDark: boolean) => void} [switchCallback] - Callback function to execute when the theme changes.\n */\nexport const useThemePreference = (\n getHtmlElement: () => HTMLElement = (): HTMLElement => document.body,\n switchCallback: (isDark: boolean) => void = (isDark: boolean): boolean => isDark,\n): void => {\n useEffect(() => observeThemePreference(getHtmlElement, switchCallback), [getHtmlElement, switchCallback])\n}\n\n/**\n * Type definition for theme map.\n * @typedef {Object} ThemeMap\n * @property {string} dark - CSS class for the dark theme.\n * @property {string} light - CSS class for the light theme.\n */\ntype ThemeMap = {\n dark: string\n light: string\n}\n\nlet baseThemes: ThemeMap = {\n dark: 'theme-dark',\n light: 'theme-light',\n}\n\n/**\n * Gets the base themes.\n * @returns {ThemeMap} The current base themes.\n */\nexport const getBaseThemes = (): ThemeMap => baseThemes\n\n/**\n * Sets the base theme class names.\n * @param {ThemeMap} themes - Object containing the CSS classes for dark and light themes.\n */\nexport const setThemeClassNames = (themes: ThemeMap): void => {\n baseThemes = themes\n}\n\n/**\n * Switches the color theme of the document.\n * @param {boolean} isDark - Flag to determine if the dark theme should be applied.\n * @param {HTMLElement} [htmlElement] - The HTML element to which the theme will be applied.\n * @param {boolean} [findShadows=true] - Flag to determine if shadow DOM elements should also be themed.\n */\nexport const switchColorTheme = (isDark: boolean, htmlElement?: HTMLElement, findShadows = true): void => {\n const oldClass = isDark ? baseThemes.light : baseThemes.dark\n const newClass = isDark ? baseThemes.dark : baseThemes.light\n\n if (htmlElement) {\n htmlElement.classList.remove(oldClass)\n htmlElement.classList.remove(newClass)\n htmlElement.classList.add(newClass)\n }\n\n if (typeof document !== 'undefined') {\n document.querySelectorAll(`.${oldClass}`).forEach((element) => {\n element.classList.add(`.${newClass}`)\n element.classList.remove(`.${oldClass}`)\n })\n\n if (findShadows) {\n document.querySelectorAll('.shadow-div').forEach((element) => {\n element.shadowRoot?.querySelector(`.${oldClass}`)?.classList.add(newClass)\n element.shadowRoot?.querySelector(`.${oldClass}`)?.classList.remove(oldClass)\n })\n\n document.querySelectorAll('esmf-wrapper').forEach((element) => {\n element.shadowRoot?.querySelector(`.${oldClass}`)?.classList.add(newClass)\n element.shadowRoot?.querySelector(`.${oldClass}`)?.classList.remove(oldClass)\n\n const firstChild: HTMLElement = element.shadowRoot?.childNodes[0] as HTMLElement\n\n if (firstChild) {\n firstChild.classList.add(newClass)\n firstChild.classList.remove(oldClass)\n }\n })\n }\n }\n}\n\n/**\n * Updates the color theme of the document.\n * @param {boolean} [isDark] - Optional flag to determine if the dark theme should be applied.\n * @param {HTMLElement} [htmlElement] - The HTML element to which the theme will be applied.\n */\nexport const updateColorTheme = (isDark?: boolean, htmlElement?: HTMLElement): void => {\n let resolvedIsDark: boolean = isDark || false\n\n if (typeof document !== 'undefined' && isDark === undefined) {\n resolvedIsDark = document.body.classList.contains(baseThemes.dark)\n }\n switchColorTheme(resolvedIsDark, htmlElement || document.body)\n}\n"],"names":["windowMatchMediaChangeEventType","observeThemePreference","getHtmlElement","arguments","length","undefined","document","body","switchCallback","isDark","switchColorThemeHandler","htmlElement","switchColorTheme","changeDarkColorThemeHandler","event","matches","changeLightColorThemeHandler","window","matchMedia","removeEventListener","error","addEventListener","baseThemes","dark","light","getBaseThemes","findShadows","oldClass","newClass","classList","remove","add","querySelectorAll","concat","forEach","element","_element$shadowRoot","_element$shadowRoot2","shadowRoot","querySelector","_element$shadowRoot3","_element$shadowRoot4","_element$shadowRoot5","firstChild","childNodes","themes","updateColorTheme","resolvedIsDark","contains","useEffect"
|
|
1
|
+
{"version":3,"file":"useThemePreference.js","sources":["../../../../../../src/core/hooks/useThemePreference.ts"],"sourcesContent":["import { useEffect } from 'react'\n\n\nconst windowMatchMediaChangeEventType = 'change'\n\n/**\n * Observes the user's theme preference and applies the appropriate theme.\n * @param {() => HTMLElement} [getHtmlElement] - Function to get the HTML element to which the theme will be applied.\n * @param {(isDark: boolean) => void} [switchCallback] - Callback function to execute when the theme changes.\n * @returns {() => void} Function to stop observing the theme preference.\n */\nexport const observeThemePreference = (\n getHtmlElement: () => HTMLElement = (): HTMLElement => document.body,\n switchCallback: (isDark: boolean) => void = (isDark: boolean): boolean => isDark,\n): () => void => {\n const switchColorThemeHandler = (isDark: boolean): void => {\n const htmlElement = getHtmlElement()\n\n switchColorTheme?.(isDark, htmlElement)\n switchCallback?.(isDark)\n }\n\n const changeDarkColorThemeHandler = (event: MediaQueryListEvent): void => {\n switchColorThemeHandler(event.matches)\n }\n\n const changeLightColorThemeHandler = (event: MediaQueryListEvent): void => {\n switchColorThemeHandler(!event.matches)\n }\n\n const isDark = window.matchMedia('(prefers-color-scheme: dark)')\n\n try {\n window.matchMedia('(prefers-color-scheme: dark)').removeEventListener(\n windowMatchMediaChangeEventType, changeDarkColorThemeHandler,\n )\n window.matchMedia('(prefers-color-scheme: light)').removeEventListener(\n windowMatchMediaChangeEventType, changeLightColorThemeHandler,\n )\n } catch (error) {\n console.error(`Error::observeThemePreference::removeEventListener: ${error}`)\n }\n\n switchColorThemeHandler(isDark?.matches)\n window.matchMedia('(prefers-color-scheme: dark)').addEventListener(\n windowMatchMediaChangeEventType, changeDarkColorThemeHandler,\n )\n window.matchMedia('(prefers-color-scheme: light)').addEventListener(\n windowMatchMediaChangeEventType, changeLightColorThemeHandler,\n )\n\n return () => {\n window.matchMedia('(prefers-color-scheme: dark)').removeEventListener(\n windowMatchMediaChangeEventType, changeDarkColorThemeHandler,\n )\n window.matchMedia('(prefers-color-scheme: light)').removeEventListener(\n windowMatchMediaChangeEventType, changeLightColorThemeHandler,\n )\n }\n}\n\n/**\n * Custom hook to use theme preference in a React component.\n * @param {() => HTMLElement} [getHtmlElement] - Function to get the HTML element to which the theme will be applied.\n * @param {(isDark: boolean) => void} [switchCallback] - Callback function to execute when the theme changes.\n */\nexport const useThemePreference = (\n getHtmlElement: () => HTMLElement = (): HTMLElement => document.body,\n switchCallback: (isDark: boolean) => void = (isDark: boolean): boolean => isDark,\n): void => {\n useEffect(() => observeThemePreference(getHtmlElement, switchCallback), [getHtmlElement, switchCallback])\n}\n\n/**\n * Type definition for theme map.\n * @typedef {Object} ThemeMap\n * @property {string} dark - CSS class for the dark theme.\n * @property {string} light - CSS class for the light theme.\n */\ntype ThemeMap = {\n dark: string\n light: string\n}\n\nlet baseThemes: ThemeMap = {\n dark: 'theme-dark',\n light: 'theme-light',\n}\n\n/**\n * Gets the base themes.\n * @returns {ThemeMap} The current base themes.\n */\nexport const getBaseThemes = (): ThemeMap => baseThemes\n\n/**\n * Sets the base theme class names.\n * @param {ThemeMap} themes - Object containing the CSS classes for dark and light themes.\n */\nexport const setThemeClassNames = (themes: ThemeMap): void => {\n baseThemes = themes\n}\n\n/**\n * Switches the color theme of the document.\n * @param {boolean} isDark - Flag to determine if the dark theme should be applied.\n * @param {HTMLElement} [htmlElement] - The HTML element to which the theme will be applied.\n * @param {boolean} [findShadows=true] - Flag to determine if shadow DOM elements should also be themed.\n */\nexport const switchColorTheme = (isDark: boolean, htmlElement?: HTMLElement, findShadows = true): void => {\n const oldClass = isDark ? baseThemes.light : baseThemes.dark\n const newClass = isDark ? baseThemes.dark : baseThemes.light\n\n if (htmlElement) {\n htmlElement.classList.remove(oldClass)\n htmlElement.classList.remove(newClass)\n htmlElement.classList.add(newClass)\n }\n\n if (typeof document !== 'undefined') {\n document.querySelectorAll(`.${oldClass}`).forEach((element) => {\n element.classList.add(`.${newClass}`)\n element.classList.remove(`.${oldClass}`)\n })\n\n if (findShadows) {\n document.querySelectorAll('.shadow-div').forEach((element) => {\n element.shadowRoot?.querySelector(`.${oldClass}`)?.classList.add(newClass)\n element.shadowRoot?.querySelector(`.${oldClass}`)?.classList.remove(oldClass)\n })\n\n document.querySelectorAll('esmf-wrapper').forEach((element) => {\n element.shadowRoot?.querySelector(`.${oldClass}`)?.classList.add(newClass)\n element.shadowRoot?.querySelector(`.${oldClass}`)?.classList.remove(oldClass)\n\n const firstChild: HTMLElement = element.shadowRoot?.childNodes[0] as HTMLElement\n\n if (firstChild) {\n firstChild.classList.add(newClass)\n firstChild.classList.remove(oldClass)\n }\n })\n }\n }\n}\n\n/**\n * Updates the color theme of the document.\n * @param {boolean} [isDark] - Optional flag to determine if the dark theme should be applied.\n * @param {HTMLElement} [htmlElement] - The HTML element to which the theme will be applied.\n */\nexport const updateColorTheme = (isDark?: boolean, htmlElement?: HTMLElement): void => {\n let resolvedIsDark: boolean = isDark || false\n\n if (typeof document !== 'undefined' && isDark === undefined) {\n resolvedIsDark = document.body.classList.contains(baseThemes.dark)\n }\n switchColorTheme(resolvedIsDark, htmlElement || document.body)\n}\n"],"names":["windowMatchMediaChangeEventType","observeThemePreference","getHtmlElement","arguments","length","undefined","document","body","switchCallback","isDark","switchColorThemeHandler","htmlElement","switchColorTheme","changeDarkColorThemeHandler","event","matches","changeLightColorThemeHandler","window","matchMedia","removeEventListener","error","addEventListener","baseThemes","dark","light","getBaseThemes","findShadows","oldClass","newClass","classList","remove","add","querySelectorAll","concat","forEach","element","_element$shadowRoot","_element$shadowRoot2","shadowRoot","querySelector","_element$shadowRoot3","_element$shadowRoot4","_element$shadowRoot5","firstChild","childNodes","themes","updateColorTheme","resolvedIsDark","contains","useEffect"],"mappings":"oCAGA,MAAMA,EAAkC,SAQ3BC,EAAyB,WAGrB,IAFfC,EAAiCC,UAAAC,OAAAD,QAAAE,IAAAF,UAAAE,GAAAF,UAAA,GAAG,IAAmBG,SAASC,KAChEC,EAAyCL,UAAAC,OAAAD,QAAAE,IAAAF,UAAAE,GAAAF,UAAIM,GAAAA,GAA6BA,EAE1E,MAAMC,EAA2BD,IAC/B,MAAME,EAAcT,IAEpBU,SAAAA,EAAmBH,EAAQE,GAC3BH,SAAAA,EAAiBC,EAAO,EAGpBI,EAA+BC,IACnCJ,EAAwBI,EAAMC,QAAQ,EAGlCC,EAAgCF,IACpCJ,GAAyBI,EAAMC,QAAQ,EAGnCN,EAASQ,OAAOC,WAAW,gCAEjC,IACED,OAAOC,WAAW,gCAAgCC,oBAChDnB,EAAiCa,GAEnCI,OAAOC,WAAW,iCAAiCC,oBACjDnB,EAAiCgB,EAEpC,CAAC,MAAOI,GAAO,CAYhB,OARAV,EAAwBD,eAAAA,EAAQM,SAChCE,OAAOC,WAAW,gCAAgCG,iBAChDrB,EAAiCa,GAEnCI,OAAOC,WAAW,iCAAiCG,iBACjDrB,EAAiCgB,GAG5B,KACLC,OAAOC,WAAW,gCAAgCC,oBAChDnB,EAAiCa,GAEnCI,OAAOC,WAAW,iCAAiCC,oBACjDnB,EAAiCgB,EAClC,CAEL,EAyBA,IAAIM,EAAuB,CACzBC,KAAM,aACNC,MAAO,eAOIC,MAgBAb,EAAmB,SAACH,EAAiBE,GAAwD,IAA7Be,IAAWvB,UAAAC,OAAA,QAAAC,IAAAF,UAAA,KAAAA,UAAA,GACtF,MAAMwB,EAAWlB,EAASa,EAAWE,MAAQF,EAAWC,KAClDK,EAAWnB,EAASa,EAAWC,KAAOD,EAAWE,MAEnDb,IACFA,EAAYkB,UAAUC,OAAOH,GAC7BhB,EAAYkB,UAAUC,OAAOF,GAC7BjB,EAAYkB,UAAUE,IAAIH,IAGJ,oBAAbtB,WACTA,SAAS0B,iBAAgBC,IAAAA,OAAKN,IAAYO,SAASC,IACjDA,EAAQN,UAAUE,QAAGE,OAAKL,IAC1BO,EAAQN,UAAUC,WAAMG,OAAKN,GAAW,IAGtCD,IACFpB,SAAS0B,iBAAiB,eAAeE,SAASC,IAAY,IAAAC,EAAAC,EAC1C,QAAlBD,EAAAD,EAAQG,kBAAU,IAAAF,GAA+B,QAA/BA,EAAlBA,EAAoBG,cAAa,IAAAN,OAAKN,WAAW,IAAAS,GAAjDA,EAAmDP,UAAUE,IAAIH,GAC/C,QAAlBS,EAAAF,EAAQG,kBAAU,IAAAD,GAA+B,QAA/BA,EAAlBA,EAAoBE,cAAa,IAAAN,OAAKN,WAAW,IAAAU,GAAjDA,EAAmDR,UAAUC,OAAOH,EAAS,IAG/ErB,SAAS0B,iBAAiB,gBAAgBE,SAASC,IAAY,IAAAK,EAAAC,EAAAC,EAC3C,QAAlBF,EAAAL,EAAQG,kBAAU,IAAAE,GAA+B,QAA/BA,EAAlBA,EAAoBD,cAAa,IAAAN,OAAKN,WAAW,IAAAa,GAAjDA,EAAmDX,UAAUE,IAAIH,GAC/C,QAAlBa,EAAAN,EAAQG,kBAAU,IAAAG,GAA+B,QAA/BA,EAAlBA,EAAoBF,cAAa,IAAAN,OAAKN,WAAW,IAAAc,GAAjDA,EAAmDZ,UAAUC,OAAOH,GAEpE,MAAMgB,EAA4CD,QAArBA,EAAGP,EAAQG,sBAAUI,SAAlBA,EAAoBE,WAAW,GAE3DD,IACFA,EAAWd,UAAUE,IAAIH,GACzBe,EAAWd,UAAUC,OAAOH,GAC9B,KAIR,wBAnD6BF,IAAgBH,8DAMVuB,IACjCvB,EAAauB,CAAM,sDAmDWC,CAACrC,EAAkBE,KACjD,IAAIoC,EAA0BtC,IAAU,EAEhB,oBAAbH,eAAuCD,IAAXI,IACrCsC,EAAiBzC,SAASC,KAAKsB,UAAUmB,SAAS1B,EAAWC,OAE/DX,EAAiBmC,EAAgBpC,GAAeL,SAASC,KAAK,6BA3F9B,WAGvB,IAFTL,EAAiCC,UAAAC,OAAAD,QAAAE,IAAAF,UAAAE,GAAAF,UAAA,GAAG,IAAmBG,SAASC,KAChEC,EAAyCL,UAAAC,OAAAD,QAAAE,IAAAF,UAAAE,GAAAF,UAAIM,GAAAA,GAA6BA,EAE1EwC,EAASA,WAAC,IAAMhD,EAAuBC,EAAgBM,IAAiB,CAACN,EAAgBM,GAC3F"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";require("../../../node_modules/core-js/modules/web.dom-collections.iterator.js");var e=require("
|
|
1
|
+
"use strict";require("../../../node_modules/core-js/modules/web.dom-collections.iterator.js");var e=require("react");exports.useToggle=function(o){let l=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const[t,s]=e.useState(o),a=e.useCallback((e=>{s(l?o=>"boolean"==typeof e?e:!o:null!=e?e:!t)}),[l,t,s]),r=e.useCallback((e=>a(void 0===e||"boolean"!=typeof e||e)),[a]),u=e.useCallback((e=>a(void 0!==e&&"boolean"==typeof e&&!0===e)),[a]);return[t,a,r,u]};
|
|
2
2
|
//# sourceMappingURL=useToggle.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useToggle.js","sources":["../../../../../../src/core/hooks/useToggle.ts"],"sourcesContent":["import { useState, useCallback } from 'react'\n\n/**\n * Type definition for the return value of the `useToggle` hook.\n * @typedef {Array} useToggleReturnType\n * @property {boolean} 0 - The current toggled state.\n * @property {(value?: any | boolean) => void} 1 - Function to toggle the state.\n * @property {(value?: any | boolean) => void} 2 - Function to forcefully set the state to true.\n * @property {(value?: any | boolean) => void} 3 - Function to forcefully set the state to false.\n */\nexport type useToggleReturnType = [\n boolean,\n (value?: any | boolean) => void,\n (value?: any | boolean) => void,\n (value?: any | boolean) => void\n]\n\n/**\n * Custom hook to manage a boolean state with toggle functionality.\n * @param {boolean} defaultValue - The initial value of the toggled state.\n * @param {boolean} [async=true] - Flag to determine if the toggle should be asynchronous.\n * @returns {useToggleReturnType} An array containing the current state, a toggle function,\n * and functions to set the state to true or false.\n */\nexport const useToggle = (defaultValue: boolean, async = true): useToggleReturnType => {\n const [toggled, setToggled] = useState(defaultValue)\n\n /**\n * Function to toggle the state.\n * @param {any | boolean} [value] - Optional value to set the state. If not provided, the state will be toggled.\n */\n const handleToggle: (value?: any | boolean) => void = useCallback((value?: any | boolean) => {\n if (async) {\n setToggled((prevToggled) => (typeof (value) === 'boolean' ? value : !prevToggled))\n } else {\n setToggled((value !== undefined && value !== null ? value : !toggled))\n }\n }, [async, toggled, setToggled])\n\n /**\n * Function to set the state to true.\n * @param {boolean} [forceValue] - Optional value to forcefully set the state.\n * If not provided, the state will be set to true.\n */\n const handleToggleTrue = useCallback(\n (forceValue?: boolean) => handleToggle(forceValue === undefined\n || typeof forceValue !== 'boolean' ? true : forceValue), [handleToggle],\n )\n\n /**\n * Function to set the state to false.\n * @param {boolean} [forceValue] - Optional value to forcefully set the state.\n * If not provided, the state will be set to false.\n */\n const handleToggleFalse = useCallback(\n (forceValue?: boolean) => handleToggle(forceValue === undefined\n || typeof forceValue !== 'boolean' ? false : forceValue === true), [handleToggle],\n )\n\n return [toggled, handleToggle, handleToggleTrue, handleToggleFalse]\n}\n"],"names":["defaultValue","async","arguments","length","undefined","toggled","setToggled","useState","handleToggle","useCallback","
|
|
1
|
+
{"version":3,"file":"useToggle.js","sources":["../../../../../../src/core/hooks/useToggle.ts"],"sourcesContent":["import { useState, useCallback } from 'react'\n\n/**\n * Type definition for the return value of the `useToggle` hook.\n * @typedef {Array} useToggleReturnType\n * @property {boolean} 0 - The current toggled state.\n * @property {(value?: any | boolean) => void} 1 - Function to toggle the state.\n * @property {(value?: any | boolean) => void} 2 - Function to forcefully set the state to true.\n * @property {(value?: any | boolean) => void} 3 - Function to forcefully set the state to false.\n */\nexport type useToggleReturnType = [\n boolean,\n (value?: any | boolean) => void,\n (value?: any | boolean) => void,\n (value?: any | boolean) => void\n]\n\n/**\n * Custom hook to manage a boolean state with toggle functionality.\n * @param {boolean} defaultValue - The initial value of the toggled state.\n * @param {boolean} [async=true] - Flag to determine if the toggle should be asynchronous.\n * @returns {useToggleReturnType} An array containing the current state, a toggle function,\n * and functions to set the state to true or false.\n */\nexport const useToggle = (defaultValue: boolean, async = true): useToggleReturnType => {\n const [toggled, setToggled] = useState(defaultValue)\n\n /**\n * Function to toggle the state.\n * @param {any | boolean} [value] - Optional value to set the state. If not provided, the state will be toggled.\n */\n const handleToggle: (value?: any | boolean) => void = useCallback((value?: any | boolean) => {\n if (async) {\n setToggled((prevToggled) => (typeof (value) === 'boolean' ? value : !prevToggled))\n } else {\n setToggled((value !== undefined && value !== null ? value : !toggled))\n }\n }, [async, toggled, setToggled])\n\n /**\n * Function to set the state to true.\n * @param {boolean} [forceValue] - Optional value to forcefully set the state.\n * If not provided, the state will be set to true.\n */\n const handleToggleTrue = useCallback(\n (forceValue?: boolean) => handleToggle(forceValue === undefined\n || typeof forceValue !== 'boolean' ? true : forceValue), [handleToggle],\n )\n\n /**\n * Function to set the state to false.\n * @param {boolean} [forceValue] - Optional value to forcefully set the state.\n * If not provided, the state will be set to false.\n */\n const handleToggleFalse = useCallback(\n (forceValue?: boolean) => handleToggle(forceValue === undefined\n || typeof forceValue !== 'boolean' ? false : forceValue === true), [handleToggle],\n )\n\n return [toggled, handleToggle, handleToggleTrue, handleToggleFalse]\n}\n"],"names":["defaultValue","async","arguments","length","undefined","toggled","setToggled","useState","handleToggle","useCallback","value","prevToggled","handleToggleTrue","forceValue","handleToggleFalse"],"mappings":"uIAwByB,SAACA,GAA6D,IAAtCC,IAAKC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,KAAAA,UAAA,GACpD,MAAOG,EAASC,GAAcC,EAAAA,SAASP,GAMjCQ,EAAgDC,EAAWA,aAAEC,IAE/DJ,EADEL,EACUU,GAAoC,kBAAXD,EAAuBA,GAASC,EAEzDD,QAAwCA,GAASL,EAC/D,GACC,CAACJ,EAAOI,EAASC,IAOdM,EAAmBH,EAAWA,aACjCI,GAAyBL,OAA4BJ,IAAfS,GACZ,kBAAfA,GAAkCA,IAAa,CAACL,IAQxDM,EAAoBL,EAAAA,aACvBI,GAAyBL,OAA4BJ,IAAfS,GACZ,kBAAfA,IAAkD,IAAfA,IAAsB,CAACL,IAGxE,MAAO,CAACH,EAASG,EAAcI,EAAkBE,EACnD"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";require("../../../node_modules/core-js/modules/web.dom-collections.iterator.js");var e=require("
|
|
1
|
+
"use strict";require("../../../node_modules/core-js/modules/web.dom-collections.iterator.js");var e=require("react");exports.useToggle2=o=>{const[s,r]=e.useState(o),l=e.useCallback((e=>{r((o=>"boolean"==typeof e?e:!o))}),[]),t=e.useCallback((e=>l(void 0===e||e)),[l]),a=e.useCallback((e=>l(void 0!==e&&e)),[l]);return[s,l,t,a]};
|
|
2
2
|
//# sourceMappingURL=useToggle2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useToggle2.js","sources":["../../../../../../src/core/hooks/useToggle2.ts"],"sourcesContent":["import { useState, useCallback } from 'react'\n\n/**\n * Type definition for the return value of the `useToggle` hook.\n * @typedef {Array} useToggleReturnType\n * @property {boolean} 0 - The current toggled state.\n * @property {(value?: any | boolean) => void} 1 - Function to toggle the state.\n * @property {(value?: any | boolean) => void} 2 - Function to forcefully set the state to true.\n * @property {(value?: any | boolean) => void} 3 - Function to forcefully set the state to false.\n */\nexport type useToggleReturnType2 = [\n boolean,\n (value?: any | boolean) => void,\n (value?: any | boolean) => void,\n (value?: any | boolean) => void\n]\n\n/**\n * Custom hook to manage a boolean state with toggle functionality.\n * @param {boolean} defaultValue - The initial value of the toggled state.\n * @returns {useToggleReturnType2} An array containing the current state, a toggle function,\n * and functions to set the state to true or false.\n */\nexport const useToggle2 = (defaultValue: boolean): useToggleReturnType2 => {\n const [toggled, setToggled] = useState(defaultValue)\n\n /**\n * Function to toggle the state.\n * @param {any | boolean} [value] - Optional value to set the state. If not provided, the state will be toggled.\n */\n const handleToggle: (value?: any | boolean) => void = useCallback((value?: any | boolean) => {\n setToggled((prevToggled) => (typeof (value) === 'boolean' ? value : !prevToggled))\n }, [])\n\n /**\n * Function to set the state to true.\n * @param {boolean} [forceValue] - Optional value to forcefully set the state.\n * If not provided, the state will be set to true.\n */\n const handleToggleTrue = useCallback(\n (forceValue?: boolean) => handleToggle(forceValue === undefined ? true : forceValue), [handleToggle],\n )\n\n /**\n * Function to set the state to false.\n * @param {boolean} [forceValue] - Optional value to forcefully set the state.\n * If not provided, the state will be set to false.\n */\n const handleToggleFalse = useCallback(\n (forceValue?: boolean) => handleToggle(forceValue === undefined ? false : forceValue), [handleToggle],\n )\n\n return [toggled, handleToggle, handleToggleTrue, handleToggleFalse]\n}\n"],"names":["defaultValue","toggled","setToggled","useState","handleToggle","useCallback","
|
|
1
|
+
{"version":3,"file":"useToggle2.js","sources":["../../../../../../src/core/hooks/useToggle2.ts"],"sourcesContent":["import { useState, useCallback } from 'react'\n\n/**\n * Type definition for the return value of the `useToggle` hook.\n * @typedef {Array} useToggleReturnType\n * @property {boolean} 0 - The current toggled state.\n * @property {(value?: any | boolean) => void} 1 - Function to toggle the state.\n * @property {(value?: any | boolean) => void} 2 - Function to forcefully set the state to true.\n * @property {(value?: any | boolean) => void} 3 - Function to forcefully set the state to false.\n */\nexport type useToggleReturnType2 = [\n boolean,\n (value?: any | boolean) => void,\n (value?: any | boolean) => void,\n (value?: any | boolean) => void\n]\n\n/**\n * Custom hook to manage a boolean state with toggle functionality.\n * @param {boolean} defaultValue - The initial value of the toggled state.\n * @returns {useToggleReturnType2} An array containing the current state, a toggle function,\n * and functions to set the state to true or false.\n */\nexport const useToggle2 = (defaultValue: boolean): useToggleReturnType2 => {\n const [toggled, setToggled] = useState(defaultValue)\n\n /**\n * Function to toggle the state.\n * @param {any | boolean} [value] - Optional value to set the state. If not provided, the state will be toggled.\n */\n const handleToggle: (value?: any | boolean) => void = useCallback((value?: any | boolean) => {\n setToggled((prevToggled) => (typeof (value) === 'boolean' ? value : !prevToggled))\n }, [])\n\n /**\n * Function to set the state to true.\n * @param {boolean} [forceValue] - Optional value to forcefully set the state.\n * If not provided, the state will be set to true.\n */\n const handleToggleTrue = useCallback(\n (forceValue?: boolean) => handleToggle(forceValue === undefined ? true : forceValue), [handleToggle],\n )\n\n /**\n * Function to set the state to false.\n * @param {boolean} [forceValue] - Optional value to forcefully set the state.\n * If not provided, the state will be set to false.\n */\n const handleToggleFalse = useCallback(\n (forceValue?: boolean) => handleToggle(forceValue === undefined ? false : forceValue), [handleToggle],\n )\n\n return [toggled, handleToggle, handleToggleTrue, handleToggleFalse]\n}\n"],"names":["defaultValue","toggled","setToggled","useState","handleToggle","useCallback","value","prevToggled","handleToggleTrue","forceValue","undefined","handleToggleFalse"],"mappings":"wIAuB2BA,IACzB,MAAOC,EAASC,GAAcC,EAAAA,SAASH,GAMjCI,EAAgDC,EAAWA,aAAEC,IACjEJ,GAAYK,GAAoC,kBAAXD,EAAuBA,GAASC,GAAa,GACjF,IAOGC,EAAmBH,EAAAA,aACtBI,GAAyBL,OAA4BM,IAAfD,GAAkCA,IAAa,CAACL,IAQnFO,EAAoBN,EAAAA,aACvBI,GAAyBL,OAA4BM,IAAfD,GAAmCA,IAAa,CAACL,IAG1F,MAAO,CAACH,EAASG,EAAcI,EAAkBG,EAAkB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("../../../../../../_virtual/_rollupPluginBabelHelpers.js");require("../../../../../../node_modules/core-js/modules/web.dom-collections.iterator.js");var t=require("
|
|
1
|
+
"use strict";var e=require("../../../../../../_virtual/_rollupPluginBabelHelpers.js");require("../../../../../../node_modules/core-js/modules/web.dom-collections.iterator.js");var t=require("react"),a=require("./button.module.scss.js"),n=require("../text/Link.js"),r=require("../../../../utils/helpers/ui.js"),o=require("../../../../utils/helpers/text.js"),i=require("../../icon/IconBase.js");const l=["variant","href","target","children"],s=["label","children","variant","tiny","truncate","fluid","preventDefualt","stopPropagation","onClick","type","transparent","hasShadow","hasIcon","disabled","animated","className","id","href","target"],c={ENTER:{key:"Enter",keyCode:13}},d=t.memo((a=>{let{variant:o,href:i,target:s,children:c}=a,d=e.objectWithoutProperties(a,l);return"link"===o?t.createElement(n.Link,e.objectSpread2(e.objectSpread2({width:"100%",href:i,target:s},d),{},{onClick:r.noop}),c):t.createElement("span",{},c)}));d.displayName="InnerElement";const u=t.memo((n=>{let{label:i,children:l,variant:u,tiny:p,truncate:m,fluid:h,preventDefualt:f,stopPropagation:b,onClick:v,type:g="button",transparent:y,hasShadow:E,hasIcon:I,disabled:k,animated:j=!1,className:C="",id:N,href:P,target:q}=n,x=e.objectWithoutProperties(n,s);const w="".concat(i||(null==l?void 0:l.toString())),B=t.useCallback((e=>{f&&e.preventDefault(),b&&(e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()),null==v||v(e)}),[v,f,b]),S=t.useCallback((e=>{e.key===c.ENTER.key&&(f&&e.preventDefault(),b&&(e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()),null==v||v(e))}),[v,f,b]);return React.createElement("button",e.extends({type:g,tabIndex:-1,onClick:B,onKeyDown:S,className:r.classNames(a.default.button,p&&a.default.tiny,u&&a.default[u],m&&a.default.truncate,h&&a.default.fluid,j&&a.default.animated,y&&a.default.transparent,E&&a.default.hasShadow,I&&a.default.hasIcon,k&&a.default.disabled,C),id:"".concat(N||w&&o.composeId(w)),"data-testid":"".concat(x.dataTestId||x["data-testid"]||N||w&&o.composeId(w))},x),React.createElement(d,{variant:u,href:P,target:q},i&&i,l||l))}));u.displayName="Button";const p=["iconUrl","minWidth","minHeight","width","height","size","fontSize","color"],m=t.memo((t=>{const a={},n={};return Object.entries(t).forEach((e=>{let[t,r]=e;p.includes(t)?n[t]=r:a[t]=r})),n.children=t.children,React.createElement(u,e.extends({},a,{hasIcon:!0}),t.iconContent&&t.iconContent,!t.iconContent&&React.createElement(i.IconBase,n))}));m.displayName="IconButton",exports.Button=u,exports.IconButton=m,exports.keys=c;
|
|
2
2
|
//# sourceMappingURL=Button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.js","sources":["../../../../../../../../../src/core/ui/components/atoms/button/Button.tsx"],"sourcesContent":["import { memo, useCallback, MouseEvent, KeyboardEvent, createElement, FC, HTMLAttributes } from 'react'\n\nimport { classNames, composeId, noop } from '../../../../utils'\nimport { Alerts } from '../../../../constants'\nimport { Link } from '../text'\nimport { IconBase, IconBaseProps } from '../../icon'\n\nimport type { ButtonProps, IconButtonProps } from './button.types'\nimport classes from './button.module.scss'\n\n\nexport const keys = {\n ENTER: {\n key: 'Enter',\n keyCode: 13,\n },\n}\n\ntype InnerElementsProps = Partial<ButtonProps> & Partial<HTMLAttributes<HTMLAnchorElement>>\n\nconst InnerElement: FC<InnerElementsProps> = memo(({\n variant, href, target, children, ...props\n}: Omit<InnerElementsProps, 'onClick'>) => {\n if (variant === 'link') {\n return createElement(Link, { width: '100%', href, target, ...props, onClick: noop }, children)\n }\n return createElement('span', {}, children)\n})\n\nInnerElement.displayName = 'InnerElement'\n\n/**\n * Button component for displaying buttons with optional features.\n * @component\n *\n * Generated component from Template\n * @param {object} props - The component props.\n * @param {string} props.label - The value to be displayed in the button.\n * @param {ReactNode} [props.children] - Additional content to be displayed inside the button.\n * @param {string} [props.variant] - The variant of the button (e.g., 'primary', 'secondary').\n * @param {boolean} [props.tiny] - Whether the button should be tiny.\n * @param {boolean} [props.truncate] - Whether the content inside the button should be truncated.\n * @param {boolean} [props.fluid] - Whether the button should have a fluid width.\n * @param {boolean} [props.animated=true] - Whether the button should have animation (default is true).\n * @param {string} [props.className] - Additional classes to be applied to the button.\n * @param {...object} props.props - Additional props to be spread to the underlying div element.\n *\n * @returns {JSX.Element} The rendered Button component.\n */\nexport const Button = memo(({\n label, children,\n variant, tiny, truncate, fluid,\n preventDefualt, stopPropagation,\n onClick,\n type = 'button',\n transparent,\n hasShadow,\n hasIcon,\n disabled,\n animated = false, className = '', id,\n href,\n target,\n ...props\n}: ButtonProps) => {\n const textFromChildren: string | undefined = `${label || children?.toString()}`\n\n const clickHandler = useCallback((event: MouseEvent) => {\n if (preventDefualt) {\n event.preventDefault()\n }\n if (stopPropagation) {\n event.stopPropagation()\n event.nativeEvent.stopImmediatePropagation()\n }\n onClick?.(event)\n }, [onClick, preventDefualt, stopPropagation])\n\n const keyDownHandler = useCallback((event: KeyboardEvent) => {\n if (event.key === keys.ENTER.key) {\n if (preventDefualt) {\n event.preventDefault()\n }\n if (stopPropagation) {\n event.stopPropagation()\n event.nativeEvent.stopImmediatePropagation()\n }\n onClick?.(event)\n }\n }, [onClick, preventDefualt, stopPropagation])\n\n return (\n <button\n // eslint-disable-next-line react/button-has-type\n type={type}\n tabIndex={-1}\n onClick={clickHandler}\n onKeyDown={keyDownHandler}\n className={classNames(\n classes.button,\n tiny && classes.tiny,\n variant && classes[variant as Alerts],\n truncate && classes.truncate,\n fluid && classes.fluid,\n animated && classes.animated,\n transparent && classes.transparent,\n hasShadow && classes.hasShadow,\n hasIcon && classes.hasIcon,\n disabled && classes.disabled,\n className,\n )}\n id={`${id || (textFromChildren && composeId(textFromChildren))}`}\n data-testid={`${(props as Record<string, string>).dataTestId || (props as Record<string, string>)['data-testid'] || id || (textFromChildren && composeId(textFromChildren))}`}\n {...props}\n >\n <InnerElement variant={variant} href={href} target={target}>\n {label && label}\n {children || children}\n </InnerElement>\n </button>\n )\n})\n\nexport type ButtonType = typeof Button\n\n// Set display name for the component.\nButton.displayName = 'Button'\n\nconst iconBaseProps = [\n 'iconUrl',\n 'minWidth',\n 'minHeight',\n 'width',\n 'height',\n 'size',\n 'fontSize',\n 'color',\n]\n\nexport const IconButton: FC<IconButtonProps> = memo<IconButtonProps>((props: IconButtonProps) => {\n const buttonProps: Record<string, unknown> = {}\n const iconProps: Record<string, unknown> = {}\n\n Object.entries(props).forEach(([name, value]: [string, unknown]) => {\n if (iconBaseProps.includes(name)) {\n // eslint-disable-next-line no-param-reassign\n iconProps[name] = value\n } else {\n buttonProps[name] = value\n }\n })\n\n iconProps.children = props.children\n\n return (\n <Button {...(buttonProps as ButtonProps)} hasIcon>\n {props.iconContent && props.iconContent}\n {!props.iconContent && (<IconBase {...(iconProps as IconBaseProps)} />)}\n </Button>\n )\n})\n\nIconButton.displayName = 'IconButton'\n"],"names":["keys","ENTER","key","keyCode","InnerElement","memo","
|
|
1
|
+
{"version":3,"file":"Button.js","sources":["../../../../../../../../../src/core/ui/components/atoms/button/Button.tsx"],"sourcesContent":["import { memo, useCallback, MouseEvent, KeyboardEvent, createElement, FC, HTMLAttributes } from 'react'\n\nimport { classNames, composeId, noop } from '../../../../utils'\nimport { Alerts } from '../../../../constants'\nimport { Link } from '../text'\nimport { IconBase, IconBaseProps } from '../../icon'\n\nimport type { ButtonProps, IconButtonProps } from './button.types'\nimport classes from './button.module.scss'\n\n\nexport const keys = {\n ENTER: {\n key: 'Enter',\n keyCode: 13,\n },\n}\n\ntype InnerElementsProps = Partial<ButtonProps> & Partial<HTMLAttributes<HTMLAnchorElement>>\n\nconst InnerElement: FC<InnerElementsProps> = memo(({\n variant, href, target, children, ...props\n}: Omit<InnerElementsProps, 'onClick'>) => {\n if (variant === 'link') {\n return createElement(Link, { width: '100%', href, target, ...props, onClick: noop }, children)\n }\n return createElement('span', {}, children)\n})\n\nInnerElement.displayName = 'InnerElement'\n\n/**\n * Button component for displaying buttons with optional features.\n * @component\n *\n * Generated component from Template\n * @param {object} props - The component props.\n * @param {string} props.label - The value to be displayed in the button.\n * @param {ReactNode} [props.children] - Additional content to be displayed inside the button.\n * @param {string} [props.variant] - The variant of the button (e.g., 'primary', 'secondary').\n * @param {boolean} [props.tiny] - Whether the button should be tiny.\n * @param {boolean} [props.truncate] - Whether the content inside the button should be truncated.\n * @param {boolean} [props.fluid] - Whether the button should have a fluid width.\n * @param {boolean} [props.animated=true] - Whether the button should have animation (default is true).\n * @param {string} [props.className] - Additional classes to be applied to the button.\n * @param {...object} props.props - Additional props to be spread to the underlying div element.\n *\n * @returns {JSX.Element} The rendered Button component.\n */\nexport const Button = memo(({\n label, children,\n variant, tiny, truncate, fluid,\n preventDefualt, stopPropagation,\n onClick,\n type = 'button',\n transparent,\n hasShadow,\n hasIcon,\n disabled,\n animated = false, className = '', id,\n href,\n target,\n ...props\n}: ButtonProps) => {\n const textFromChildren: string | undefined = `${label || children?.toString()}`\n\n const clickHandler = useCallback((event: MouseEvent) => {\n if (preventDefualt) {\n event.preventDefault()\n }\n if (stopPropagation) {\n event.stopPropagation()\n event.nativeEvent.stopImmediatePropagation()\n }\n onClick?.(event)\n }, [onClick, preventDefualt, stopPropagation])\n\n const keyDownHandler = useCallback((event: KeyboardEvent) => {\n if (event.key === keys.ENTER.key) {\n if (preventDefualt) {\n event.preventDefault()\n }\n if (stopPropagation) {\n event.stopPropagation()\n event.nativeEvent.stopImmediatePropagation()\n }\n onClick?.(event)\n }\n }, [onClick, preventDefualt, stopPropagation])\n\n return (\n <button\n // eslint-disable-next-line react/button-has-type\n type={type}\n tabIndex={-1}\n onClick={clickHandler}\n onKeyDown={keyDownHandler}\n className={classNames(\n classes.button,\n tiny && classes.tiny,\n variant && classes[variant as Alerts],\n truncate && classes.truncate,\n fluid && classes.fluid,\n animated && classes.animated,\n transparent && classes.transparent,\n hasShadow && classes.hasShadow,\n hasIcon && classes.hasIcon,\n disabled && classes.disabled,\n className,\n )}\n id={`${id || (textFromChildren && composeId(textFromChildren))}`}\n data-testid={`${(props as Record<string, string>).dataTestId || (props as Record<string, string>)['data-testid'] || id || (textFromChildren && composeId(textFromChildren))}`}\n {...props}\n >\n <InnerElement variant={variant} href={href} target={target}>\n {label && label}\n {children || children}\n </InnerElement>\n </button>\n )\n})\n\nexport type ButtonType = typeof Button\n\n// Set display name for the component.\nButton.displayName = 'Button'\n\nconst iconBaseProps = [\n 'iconUrl',\n 'minWidth',\n 'minHeight',\n 'width',\n 'height',\n 'size',\n 'fontSize',\n 'color',\n]\n\nexport const IconButton: FC<IconButtonProps> = memo<IconButtonProps>((props: IconButtonProps) => {\n const buttonProps: Record<string, unknown> = {}\n const iconProps: Record<string, unknown> = {}\n\n Object.entries(props).forEach(([name, value]: [string, unknown]) => {\n if (iconBaseProps.includes(name)) {\n // eslint-disable-next-line no-param-reassign\n iconProps[name] = value\n } else {\n buttonProps[name] = value\n }\n })\n\n iconProps.children = props.children\n\n return (\n <Button {...(buttonProps as ButtonProps)} hasIcon>\n {props.iconContent && props.iconContent}\n {!props.iconContent && (<IconBase {...(iconProps as IconBaseProps)} />)}\n </Button>\n )\n})\n\nIconButton.displayName = 'IconButton'\n"],"names":["keys","ENTER","key","keyCode","InnerElement","memo","_ref","variant","href","target","children","props","_objectWithoutProperties","_excluded","createElement","Link","_objectSpread","objectSpread2","width","onClick","noop","displayName","Button","_ref2","label","tiny","truncate","fluid","preventDefualt","stopPropagation","type","transparent","hasShadow","hasIcon","disabled","animated","className","id","_excluded2","textFromChildren","concat","toString","clickHandler","useCallback","event","preventDefault","nativeEvent","stopImmediatePropagation","keyDownHandler","React","_extends","tabIndex","onKeyDown","classNames","classes","default","button","composeId","dataTestId","iconBaseProps","IconButton","buttonProps","iconProps","Object","entries","forEach","_ref3","name","value","includes","iconContent","IconBase"],"mappings":"koBAWaA,EAAO,CAClBC,MAAO,CACLC,IAAK,QACLC,QAAS,KAMPC,EAAuCC,EAAIA,MAACC,IAEP,IAFQC,QACjDA,EAAOC,KAAEA,EAAIC,OAAEA,EAAMC,SAAEA,GACaJ,EADAK,EAAKC,EAAAA,wBAAAN,EAAAO,GAEzC,MAAgB,SAAZN,EACKO,gBAAcC,EAAAA,KAAIC,EAAAC,cAAAD,gBAAA,CAAIE,MAAO,OAAQV,OAAMC,UAAWE,GAAK,GAAA,CAAEQ,QAASC,EAAAA,OAAQV,GAEhFI,gBAAc,OAAQ,CAAE,EAAEJ,EAAS,IAG5CN,EAAaiB,YAAc,qBAoBdC,EAASjB,EAAIA,MAACkB,IAcR,IAdSC,MAC1BA,EAAKd,SAAEA,EAAQH,QACfA,EAAOkB,KAAEA,EAAIC,SAAEA,EAAQC,MAAEA,EAAKC,eAC9BA,EAAcC,gBAAEA,EAAeV,QAC/BA,EAAOW,KACPA,EAAO,SAAQC,YACfA,EAAWC,UACXA,EAASC,QACTA,EAAOC,SACPA,EAAQC,SACRA,GAAW,EAAKC,UAAEA,EAAY,GAAEC,GAAEA,EAAE7B,KACpCA,EAAIC,OACJA,GAEYc,EADTZ,EAAKC,EAAAA,wBAAAW,EAAAe,GAER,MAAMC,EAAoC,GAAAC,OAAMhB,IAASd,eAAAA,EAAU+B,aAE7DC,EAAeC,EAAWA,aAAEC,IAC5BhB,GACFgB,EAAMC,iBAEJhB,IACFe,EAAMf,kBACNe,EAAME,YAAYC,4BAEpB5B,SAAAA,EAAUyB,EAAM,GACf,CAACzB,EAASS,EAAgBC,IAEvBmB,EAAiBL,EAAWA,aAAEC,IAC9BA,EAAM1C,MAAQF,EAAKC,MAAMC,MACvB0B,GACFgB,EAAMC,iBAEJhB,IACFe,EAAMf,kBACNe,EAAME,YAAYC,4BAEpB5B,SAAAA,EAAUyB,GACZ,GACC,CAACzB,EAASS,EAAgBC,IAE7B,OACEoB,MAAAnC,cAAA,SAAAoC,UAAA,CAEEpB,KAAMA,EACNqB,UAAW,EACXhC,QAASuB,EACTU,UAAWJ,EACXZ,UAAWiB,EAAUA,WACnBC,EAAOC,QAACC,OACR/B,GAAQ6B,EAAOC,QAAC9B,KAChBlB,GAAW+C,EAAAA,QAAQ/C,GACnBmB,GAAY4B,EAAOC,QAAC7B,SACpBC,GAAS2B,UAAQ3B,MACjBQ,GAAYmB,EAAAA,QAAQnB,SACpBJ,GAAeuB,EAAAA,QAAQvB,YACvBC,GAAasB,EAAOC,QAACvB,UACrBC,GAAWqB,EAAOC,QAACtB,QACnBC,GAAYoB,EAAOC,QAACrB,SACpBE,GAEFC,GAAE,GAAAG,OAAKH,GAAOE,GAAoBkB,EAAAA,UAAUlB,IAC5C,cAAA,GAAAC,OAAiB7B,EAAiC+C,YAAe/C,EAAiC,gBAAkB0B,GAAOE,GAAoBkB,EAAAA,UAAUlB,KACrJ5B,GAEJsC,MAAAnC,cAACV,EAAY,CAACG,QAASA,EAASC,KAAMA,EAAMC,OAAQA,GACjDe,GAASA,EACTd,GAAYA,GAER,IAObY,EAAOD,YAAc,SAErB,MAAMsC,EAAgB,CACpB,UACA,WACA,YACA,QACA,SACA,OACA,WACA,SAGWC,EAAkCvD,EAAIA,MAAmBM,IACpE,MAAMkD,EAAuC,CAAE,EACzCC,EAAqC,CAAE,EAa7C,OAXAC,OAAOC,QAAQrD,GAAOsD,SAAQC,IAAsC,IAApCC,EAAMC,GAAyBF,EACzDP,EAAcU,SAASF,GAEzBL,EAAUK,GAAQC,EAElBP,EAAYM,GAAQC,CACtB,IAGFN,EAAUpD,SAAWC,EAAMD,SAGzBuC,MAAAnC,cAACQ,EAAM4B,EAAAA,WAAMW,EAAW,CAAkB5B,SAAO,IAC9CtB,EAAM2D,aAAe3D,EAAM2D,aAC1B3D,EAAM2D,aAAgBrB,MAAAnC,cAACyD,EAAQA,SAAMT,GAChC,IAIbF,EAAWvC,YAAc"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e
|
|
1
|
+
"use strict";function e(e){return e&&e.__esModule?e:{default:e}}var t=e(require("react"));const c=t.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},t.default.createElement("path",{d:"M336.1 175c-9.375-9.375-24.56-9.375-33.94 0L256 222.1L208.1 175c-9.375-9.375-24.56-9.375-33.94 0s-9.375 24.56 0 33.94l47.03 47.03L175 303c-9.375 9.375-9.375 24.56 0 33.94c9.373 9.373 24.56 9.381 33.94 0L256 289.9l47.03 47.03c9.373 9.373 24.56 9.381 33.94 0c9.375-9.375 9.375-24.56 0-33.94l-47.03-47.03l47.03-47.03C346.3 199.6 346.3 184.4 336.1 175zM256 0C114.6 0 0 114.6 0 256s114.6 256 256 256S512 397.4 512 256S397.4 0 256 0zM256 464c-114.7 0-208-93.31-208-208S141.3 48 256 48s208 93.31 208 208S370.7 464 256 464z"})),s=t.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},t.default.createElement("path",{d:"M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 128c17.67 0 32 14.33 32 32c0 17.67-14.33 32-32 32S224 177.7 224 160C224 142.3 238.3 128 256 128zM296 384h-80C202.8 384 192 373.3 192 360s10.75-24 24-24h16v-64H224c-13.25 0-24-10.75-24-24S210.8 224 224 224h32c13.25 0 24 10.75 24 24v88h16c13.25 0 24 10.75 24 24S309.3 384 296 384z"}));exports.closeIconJSX=c,exports.infoIconJSX=s;
|
|
2
2
|
//# sourceMappingURL=icons.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.js","sources":["../../../../../../../../src/core/ui/components/atoms/icons.tsx"],"sourcesContent":["// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport React from 'react'\n\nexport const closeIconJSX = (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M336.1 175c-9.375-9.375-24.56-9.375-33.94 0L256 222.1L208.1 175c-9.375-9.375-24.56-9.375-33.94 0s-9.375 24.56 0 33.94l47.03 47.03L175 303c-9.375 9.375-9.375 24.56 0 33.94c9.373 9.373 24.56 9.381 33.94 0L256 289.9l47.03 47.03c9.373 9.373 24.56 9.381 33.94 0c9.375-9.375 9.375-24.56 0-33.94l-47.03-47.03l47.03-47.03C346.3 199.6 346.3 184.4 336.1 175zM256 0C114.6 0 0 114.6 0 256s114.6 256 256 256S512 397.4 512 256S397.4 0 256 0zM256 464c-114.7 0-208-93.31-208-208S141.3 48 256 48s208 93.31 208 208S370.7 464 256 464z' /></svg>\n)\nexport const infoIconJSX = (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 128c17.67 0 32 14.33 32 32c0 17.67-14.33 32-32 32S224 177.7 224 160C224 142.3 238.3 128 256 128zM296 384h-80C202.8 384 192 373.3 192 360s10.75-24 24-24h16v-64H224c-13.25 0-24-10.75-24-24S210.8 224 224 224h32c13.25 0 24 10.75 24 24v88h16c13.25 0 24 10.75 24 24S309.3 384 296 384z' /></svg>\n\n)\n\n\nexport const appStoreIcon = (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M255.9 120.9l9.1-15.7c5.6-9.8 18.1-13.1 27.9-7.5 9.8 5.6 13.1 18.1 7.5 27.9l-87.5 151.5h63.3c20.5 0 32 24.1 23.1 40.8H113.8c-11.3 0-20.4-9.1-20.4-20.4 0-11.3 9.1-20.4 20.4-20.4h52l66.6-115.4-20.8-36.1c-5.6-9.8-2.3-22.2 7.5-27.9 9.8-5.6 22.2-2.3 27.9 7.5l8.9 15.7zm-78.7 218l-19.6 34c-5.6 9.8-18.1 13.1-27.9 7.5-9.8-5.6-13.1-18.1-7.5-27.9l14.6-25.2c16.4-5.1 29.8-1.2 40.4 11.6zm168.9-61.7h53.1c11.3 0 20.4 9.1 20.4 20.4 0 11.3-9.1 20.4-20.4 20.4h-29.5l19.9 34.5c5.6 9.8 2.3 22.2-7.5 27.9-9.8 5.6-22.2 2.3-27.9-7.5-33.5-58.1-58.7-101.6-75.4-130.6-17.1-29.5-4.9-59.1 7.2-69.1 13.4 23 33.4 57.7 60.1 104zM256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm216 248c0 118.7-96.1 216-216 216-118.7 0-216-96.1-216-216 0-118.7 96.1-216 216-216 118.7 0 216 96.1 216 216z' /></svg>\n)\n\n\nexport const batteryEmptyIcon = (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'><path d='M544 192V160c0-35.35-28.65-64-64-64H64C28.65 96 0 124.7 0 160v192c0 35.35 28.65 64 64 64h416c35.35 0 64-28.65 64-64v-32c17.67 0 32-14.33 32-32V224C576 206.3 561.7 192 544 192zM480 352H64V160h416V352z' /></svg>\n)\n\n\nexport const elementorIcon = (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path d='M425.6 32H22.4C10 32 0 42 0 54.4v403.2C0 470 10 480 22.4 480h403.2c12.4 0 22.4-10 22.4-22.4V54.4C448 42 438 32 425.6 32M164.3 355.5h-39.8v-199h39.8v199zm159.3 0H204.1v-39.8h119.5v39.8zm0-79.6H204.1v-39.8h119.5v39.8zm0-79.7H204.1v-39.8h119.5v39.8z' /></svg>\n)\n\nexport const squareCheckIcon = (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path d='M384 32H64C28.65 32 0 60.65 0 96v320c0 35.35 28.65 64 64 64h320c35.35 0 64-28.65 64-64V96C448 60.65 419.3 32 384 32zM400 416c0 8.836-7.164 16-16 16H64c-8.836 0-16-7.164-16-16V96c0-8.838 7.164-16 16-16h320c8.836 0 16 7.162 16 16V416zM303 175L192 286.1L144.1 239c-9.375-9.375-24.56-9.375-33.94 0s-9.375 24.56 0 33.94l64 64C179.7 341.7 185.8 344 192 344s12.28-2.344 16.97-7.031l128-128c9.375-9.375 9.375-24.56 0-33.94S312.4 165.7 303 175z' /></svg>\n)\n\nexport const pencilIcon = (\n <svg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'>\n <path d='M8.91878 3.38356L6.59333 1.08219L7.35936 0.315069C7.56911 0.105023 7.82682 0 8.13251 0C8.43782 0 8.69536 0.105023 8.9051 0.315069L9.67113 1.08219C9.88088 1.29224 9.99031 1.54575 9.99943 1.84274C10.0086 2.13936 9.90824 2.39269 9.69849 2.60274L8.91878 3.38356ZM8.12539 4.19178L2.32545 10H0V7.67123L5.79994 1.86301L8.12539 4.19178Z' fill='#E2E369' />\n </svg>\n\n)\n"],"names":["closeIconJSX","React","createElement","xmlns","viewBox","default","d","infoIconJSX"],"mappings":"
|
|
1
|
+
{"version":3,"file":"icons.js","sources":["../../../../../../../../src/core/ui/components/atoms/icons.tsx"],"sourcesContent":["// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport React from 'react'\n\nexport const closeIconJSX = (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M336.1 175c-9.375-9.375-24.56-9.375-33.94 0L256 222.1L208.1 175c-9.375-9.375-24.56-9.375-33.94 0s-9.375 24.56 0 33.94l47.03 47.03L175 303c-9.375 9.375-9.375 24.56 0 33.94c9.373 9.373 24.56 9.381 33.94 0L256 289.9l47.03 47.03c9.373 9.373 24.56 9.381 33.94 0c9.375-9.375 9.375-24.56 0-33.94l-47.03-47.03l47.03-47.03C346.3 199.6 346.3 184.4 336.1 175zM256 0C114.6 0 0 114.6 0 256s114.6 256 256 256S512 397.4 512 256S397.4 0 256 0zM256 464c-114.7 0-208-93.31-208-208S141.3 48 256 48s208 93.31 208 208S370.7 464 256 464z' /></svg>\n)\nexport const infoIconJSX = (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 128c17.67 0 32 14.33 32 32c0 17.67-14.33 32-32 32S224 177.7 224 160C224 142.3 238.3 128 256 128zM296 384h-80C202.8 384 192 373.3 192 360s10.75-24 24-24h16v-64H224c-13.25 0-24-10.75-24-24S210.8 224 224 224h32c13.25 0 24 10.75 24 24v88h16c13.25 0 24 10.75 24 24S309.3 384 296 384z' /></svg>\n\n)\n\n\nexport const appStoreIcon = (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M255.9 120.9l9.1-15.7c5.6-9.8 18.1-13.1 27.9-7.5 9.8 5.6 13.1 18.1 7.5 27.9l-87.5 151.5h63.3c20.5 0 32 24.1 23.1 40.8H113.8c-11.3 0-20.4-9.1-20.4-20.4 0-11.3 9.1-20.4 20.4-20.4h52l66.6-115.4-20.8-36.1c-5.6-9.8-2.3-22.2 7.5-27.9 9.8-5.6 22.2-2.3 27.9 7.5l8.9 15.7zm-78.7 218l-19.6 34c-5.6 9.8-18.1 13.1-27.9 7.5-9.8-5.6-13.1-18.1-7.5-27.9l14.6-25.2c16.4-5.1 29.8-1.2 40.4 11.6zm168.9-61.7h53.1c11.3 0 20.4 9.1 20.4 20.4 0 11.3-9.1 20.4-20.4 20.4h-29.5l19.9 34.5c5.6 9.8 2.3 22.2-7.5 27.9-9.8 5.6-22.2 2.3-27.9-7.5-33.5-58.1-58.7-101.6-75.4-130.6-17.1-29.5-4.9-59.1 7.2-69.1 13.4 23 33.4 57.7 60.1 104zM256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm216 248c0 118.7-96.1 216-216 216-118.7 0-216-96.1-216-216 0-118.7 96.1-216 216-216 118.7 0 216 96.1 216 216z' /></svg>\n)\n\n\nexport const batteryEmptyIcon = (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'><path d='M544 192V160c0-35.35-28.65-64-64-64H64C28.65 96 0 124.7 0 160v192c0 35.35 28.65 64 64 64h416c35.35 0 64-28.65 64-64v-32c17.67 0 32-14.33 32-32V224C576 206.3 561.7 192 544 192zM480 352H64V160h416V352z' /></svg>\n)\n\n\nexport const elementorIcon = (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path d='M425.6 32H22.4C10 32 0 42 0 54.4v403.2C0 470 10 480 22.4 480h403.2c12.4 0 22.4-10 22.4-22.4V54.4C448 42 438 32 425.6 32M164.3 355.5h-39.8v-199h39.8v199zm159.3 0H204.1v-39.8h119.5v39.8zm0-79.6H204.1v-39.8h119.5v39.8zm0-79.7H204.1v-39.8h119.5v39.8z' /></svg>\n)\n\nexport const squareCheckIcon = (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path d='M384 32H64C28.65 32 0 60.65 0 96v320c0 35.35 28.65 64 64 64h320c35.35 0 64-28.65 64-64V96C448 60.65 419.3 32 384 32zM400 416c0 8.836-7.164 16-16 16H64c-8.836 0-16-7.164-16-16V96c0-8.838 7.164-16 16-16h320c8.836 0 16 7.162 16 16V416zM303 175L192 286.1L144.1 239c-9.375-9.375-24.56-9.375-33.94 0s-9.375 24.56 0 33.94l64 64C179.7 341.7 185.8 344 192 344s12.28-2.344 16.97-7.031l128-128c9.375-9.375 9.375-24.56 0-33.94S312.4 165.7 303 175z' /></svg>\n)\n\nexport const pencilIcon = (\n <svg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'>\n <path d='M8.91878 3.38356L6.59333 1.08219L7.35936 0.315069C7.56911 0.105023 7.82682 0 8.13251 0C8.43782 0 8.69536 0.105023 8.9051 0.315069L9.67113 1.08219C9.88088 1.29224 9.99031 1.54575 9.99943 1.84274C10.0086 2.13936 9.90824 2.39269 9.69849 2.60274L8.91878 3.38356ZM8.12539 4.19178L2.32545 10H0V7.67123L5.79994 1.86301L8.12539 4.19178Z' fill='#E2E369' />\n </svg>\n\n)\n"],"names":["closeIconJSX","React","createElement","xmlns","viewBox","default","d","infoIconJSX"],"mappings":"0FAIaA,MAAAA,EACXC,EAAAA,QAAAC,cAAA,MAAA,CAAKC,MAAM,6BAA6BC,QAAQ,eAAcH,EAAAI,QAAAH,cAAA,OAAA,CAAMI,EAAE,ygBAE3DC,EACXN,EAAAA,QAAAC,cAAA,MAAA,CAAKC,MAAM,6BAA6BC,QAAQ,eAAcH,EAAAI,QAAAH,cAAA,OAAA,CAAMI,EAAE"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("../../../../../../_virtual/_rollupPluginBabelHelpers.js");require("../../../../../../node_modules/core-js/modules/web.dom-collections.iterator.js");var t=require("
|
|
1
|
+
"use strict";var e=require("../../../../../../_virtual/_rollupPluginBabelHelpers.js");require("../../../../../../node_modules/core-js/modules/web.dom-collections.iterator.js");var t=require("react"),l=require("../textAndContent/TextAndContent.js"),a=require("../../container/layoutBox/LayoutBox.js"),n=require("./tag.module.scss.js"),o=require("./tag.types.js"),r=require("../text/Text.js"),s=require("../../../../hooks/useClassNames.js"),i=require("../../../../hooks/useResize.js"),c=require("../../molecules/popover/Tooltip.js"),u=require("../../../../hooks/useParseProps.js"),d=require("../../../../utils/helpers/text.js");const m=["variant","text","hashtag","components","onClick","children","inTable","className"],h={position:"absolute",top:0,background:"transparent",zIndex:0,userSelect:"none"},p=t.memo((p=>{let{variant:x=o.TagVariant.default,text:g,hashtag:v,components:R,onClick:f,children:j,inTable:q,className:T=""}=p,b=e.objectWithoutProperties(p,m);const E=(null==R?void 0:R.TextComponent)||r.Text,k=s.useClassNames([n.default.tag,x&&n.default[x],f&&n.default.clickable,q&&n.default["in-table"],T],[n.default]),{dataProps:C,restProps:N}=u.useParseProps(b),[P,w]=t.useState(!1),y=t.useRef(null),L=t.useRef(null),[I]=i.useResize(50,(e=>{let{width:t,height:l}=e;const a=I.current;a&&w(a.offsetWidth<a.scrollWidth),y.current={width:t,height:l}})),S=t.useMemo((()=>!!(j||g||null!=N&&N.iconLeftUrl||null!=N&&N.iconLeft||null!=N&&N.iconRightUrl||null!=N&&N.iconRight)),[j,g,null==N?void 0:N.iconLeftUrl,null==N?void 0:N.iconLeft,null==N?void 0:N.iconRightUrl,null==N?void 0:N.iconRight]),z=t.useMemo((()=>{var t,l;return P?e.objectSpread2(e.objectSpread2({},h),{},{width:"".concat(null==y||null===(t=y.current)||void 0===t?void 0:t.width,"px"),height:"".concat(null==y||null===(l=y.current)||void 0===l?void 0:l.height,"px")}):null}),[P,null==y?void 0:y.current]);return React.createElement(React.Fragment,null,React.createElement(a.LayoutBox,e.extends({id:"".concat(void 0!==b.id&&b.id||g&&d.composeId(g)),className:k},C,N,{"data-testid":"".concat(C.dataTestId||C["data-testid"]||b.id||g&&d.composeId(g)),onClick:f}),v&&React.createElement(E,null,"#"),S&&React.createElement(l.TextAndIcons,e.extends({className:n.default.text,iconSize:"0.8em"},N,{width:"auto"}),React.createElement("div",{ref:I,className:"text-truncate"},P&&React.createElement(React.Fragment,null,React.createElement("div",{ref:L,style:z}),React.createElement("span",null,j||g)),!P&&(j||g)))),P&&React.createElement(c.Tooltip,{text:g,targetRef:L}))}));p.displayName="Tag",exports.Tag=p;
|
|
2
2
|
//# sourceMappingURL=Tag.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.js","sources":["../../../../../../../../../src/core/ui/components/atoms/tag/Tag.tsx"],"sourcesContent":["import { memo, FC, useMemo, useRef, CSSProperties, useState, RefObject } from 'react'\n\nimport { TextAndIcons } from '../textAndContent/TextAndContent'\nimport { LayoutBox } from '../../container/layoutBox/LayoutBox'\nimport { useClassNames, useParseProps, useResize, WrapperSize } from '../../../../hooks'\nimport { composeId } from '../../../../utils'\nimport { Tooltip } from '../../molecules'\nimport { Text as BodyText } from '../text'\n\nimport classes from './tag.module.scss'\nimport { TagProps, TagVariant } from './tag.types'\n\n\nconst styles = {\n textWrapper: { position: 'relative' },\n textTransformedWrapperTipPlaceholder: {\n position: 'absolute',\n top: 0,\n background: 'transparent',\n zIndex: 0,\n userSelect: 'none',\n },\n}\n\n/**\n * Tag component.\n * *\n * @type {React.FC<TagProps>}\n * @returns {React.ReactElement} The Tag.\n */\nexport const Tag: FC<TagProps> = memo<TagProps>(({\n variant = TagVariant.default,\n text,\n hashtag,\n components,\n onClick,\n children,\n inTable,\n className = '',\n ...props\n}: TagProps) => {\n const TextComponent = components?.TextComponent || BodyText\n\n const classesResolved = useClassNames([\n classes.tag,\n variant && classes[variant],\n onClick && classes.clickable,\n inTable && classes['in-table'],\n className,\n ], [classes])\n\n const { dataProps, restProps } = useParseProps(props)\n const [isTruncated, setIsTruncated] = useState(false)\n\n const wrapperSizeRef = useRef<WrapperSize | null>(null)\n const tooltipTargetRef = useRef<HTMLDivElement | null>(null)\n\n const [textRef] = useResize(50, ({ width, height }: WrapperSize) => {\n const element = textRef.current\n\n if (element) {\n setIsTruncated(element.offsetWidth < element.scrollWidth)\n }\n wrapperSizeRef.current = { width, height }\n })\n\n const hasContent = useMemo(() => !!(children\n || text\n || restProps?.iconLeftUrl\n || restProps?.iconLeft\n || restProps?.iconRightUrl\n || restProps?.iconRight\n ), [children, text, restProps?.iconLeftUrl, restProps?.iconLeft, restProps?.iconRightUrl, restProps?.iconRight])\n\n const stylesTipPlaceholder = useMemo(() => (isTruncated ? ({\n ...styles.textTransformedWrapperTipPlaceholder,\n width: `${wrapperSizeRef?.current?.width}px`,\n height: `${wrapperSizeRef?.current?.height}px`,\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }) : null), [isTruncated, wrapperSizeRef?.current])\n\n return (\n <>\n <LayoutBox\n id={`${(typeof props.id !== 'undefined' && props.id) || (text && composeId(text))}`}\n className={classesResolved}\n {...dataProps}\n {...restProps}\n data-testid={`${dataProps.dataTestId || dataProps['data-testid'] || props.id || (text && composeId(text))}`}\n onClick={onClick}\n >\n {hashtag && <TextComponent>#</TextComponent>}\n {hasContent\n && (\n <TextAndIcons\n className={classes.text}\n iconSize='0.8em'\n {...restProps}\n width='auto'\n >\n <div ref={textRef as RefObject<HTMLDivElement>} className='text-truncate'>\n {isTruncated && (\n <>\n <div ref={tooltipTargetRef} style={stylesTipPlaceholder as CSSProperties} />\n <span>{children || text}</span>\n </>\n )}\n {!isTruncated && (children || text)}\n </div>\n </TextAndIcons>\n )}\n </LayoutBox>\n {isTruncated && <Tooltip text={text} targetRef={tooltipTargetRef} />}\n </>\n )\n})\n\nTag.displayName = 'Tag'\n"],"names":["styles","position","top","background","zIndex","userSelect","Tag","memo","
|
|
1
|
+
{"version":3,"file":"Tag.js","sources":["../../../../../../../../../src/core/ui/components/atoms/tag/Tag.tsx"],"sourcesContent":["import { memo, FC, useMemo, useRef, CSSProperties, useState, RefObject } from 'react'\n\nimport { TextAndIcons } from '../textAndContent/TextAndContent'\nimport { LayoutBox } from '../../container/layoutBox/LayoutBox'\nimport { useClassNames, useParseProps, useResize, WrapperSize } from '../../../../hooks'\nimport { composeId } from '../../../../utils'\nimport { Tooltip } from '../../molecules'\nimport { Text as BodyText } from '../text'\n\nimport classes from './tag.module.scss'\nimport { TagProps, TagVariant } from './tag.types'\n\n\nconst styles = {\n textWrapper: { position: 'relative' },\n textTransformedWrapperTipPlaceholder: {\n position: 'absolute',\n top: 0,\n background: 'transparent',\n zIndex: 0,\n userSelect: 'none',\n },\n}\n\n/**\n * Tag component.\n * *\n * @type {React.FC<TagProps>}\n * @returns {React.ReactElement} The Tag.\n */\nexport const Tag: FC<TagProps> = memo<TagProps>(({\n variant = TagVariant.default,\n text,\n hashtag,\n components,\n onClick,\n children,\n inTable,\n className = '',\n ...props\n}: TagProps) => {\n const TextComponent = components?.TextComponent || BodyText\n\n const classesResolved = useClassNames([\n classes.tag,\n variant && classes[variant],\n onClick && classes.clickable,\n inTable && classes['in-table'],\n className,\n ], [classes])\n\n const { dataProps, restProps } = useParseProps(props)\n const [isTruncated, setIsTruncated] = useState(false)\n\n const wrapperSizeRef = useRef<WrapperSize | null>(null)\n const tooltipTargetRef = useRef<HTMLDivElement | null>(null)\n\n const [textRef] = useResize(50, ({ width, height }: WrapperSize) => {\n const element = textRef.current\n\n if (element) {\n setIsTruncated(element.offsetWidth < element.scrollWidth)\n }\n wrapperSizeRef.current = { width, height }\n })\n\n const hasContent = useMemo(() => !!(children\n || text\n || restProps?.iconLeftUrl\n || restProps?.iconLeft\n || restProps?.iconRightUrl\n || restProps?.iconRight\n ), [children, text, restProps?.iconLeftUrl, restProps?.iconLeft, restProps?.iconRightUrl, restProps?.iconRight])\n\n const stylesTipPlaceholder = useMemo(() => (isTruncated ? ({\n ...styles.textTransformedWrapperTipPlaceholder,\n width: `${wrapperSizeRef?.current?.width}px`,\n height: `${wrapperSizeRef?.current?.height}px`,\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }) : null), [isTruncated, wrapperSizeRef?.current])\n\n return (\n <>\n <LayoutBox\n id={`${(typeof props.id !== 'undefined' && props.id) || (text && composeId(text))}`}\n className={classesResolved}\n {...dataProps}\n {...restProps}\n data-testid={`${dataProps.dataTestId || dataProps['data-testid'] || props.id || (text && composeId(text))}`}\n onClick={onClick}\n >\n {hashtag && <TextComponent>#</TextComponent>}\n {hasContent\n && (\n <TextAndIcons\n className={classes.text}\n iconSize='0.8em'\n {...restProps}\n width='auto'\n >\n <div ref={textRef as RefObject<HTMLDivElement>} className='text-truncate'>\n {isTruncated && (\n <>\n <div ref={tooltipTargetRef} style={stylesTipPlaceholder as CSSProperties} />\n <span>{children || text}</span>\n </>\n )}\n {!isTruncated && (children || text)}\n </div>\n </TextAndIcons>\n )}\n </LayoutBox>\n {isTruncated && <Tooltip text={text} targetRef={tooltipTargetRef} />}\n </>\n )\n})\n\nTag.displayName = 'Tag'\n"],"names":["styles","position","top","background","zIndex","userSelect","Tag","memo","_ref","variant","TagVariant","default","text","hashtag","components","onClick","children","inTable","className","props","_objectWithoutProperties","_excluded","TextComponent","BodyText","Text","classesResolved","useClassNames","classes","tag","clickable","dataProps","restProps","useParseProps","isTruncated","setIsTruncated","useState","wrapperSizeRef","useRef","tooltipTargetRef","textRef","useResize","_ref2","width","height","element","current","offsetWidth","scrollWidth","hasContent","useMemo","iconLeftUrl","iconLeft","iconRightUrl","iconRight","stylesTipPlaceholder","_wrapperSizeRef$curre","_wrapperSizeRef$curre2","_objectSpread","objectSpread2","concat","React","createElement","Fragment","LayoutBox","_extends","id","composeId","dataTestId","TextAndIcons","iconSize","ref","style","Tooltip","targetRef","displayName"],"mappings":"+sBAaMA,EAEkC,CACpCC,SAAU,WACVC,IAAK,EACLC,WAAY,cACZC,OAAQ,EACRC,WAAY,QAUHC,EAAoBC,EAAIA,MAAWC,IAUhC,IAViCC,QAC/CA,EAAUC,EAAUA,WAACC,aACrBC,EAAIC,QACJA,EAAOC,WACPA,EAAUC,QACVA,EAAOC,SACPA,EAAQC,QACRA,EAAOC,UACPA,EAAY,IAEHV,EADNW,EAAKC,EAAAA,wBAAAZ,EAAAa,GAER,MAAMC,GAAgBR,aAAU,EAAVA,EAAYQ,gBAAiBC,EAAQC,KAErDC,EAAkBC,EAAaA,cAAC,CACpCC,EAAOhB,QAACiB,IACRnB,GAAWkB,EAAAA,QAAQlB,GACnBM,GAAWY,EAAAA,QAAQE,UACnBZ,GAAWU,UAAQ,YACnBT,GACC,CAACS,EAAAA,WAEEG,UAAEA,EAASC,UAAEA,GAAcC,EAAAA,cAAcb,IACxCc,EAAaC,GAAkBC,EAAAA,UAAS,GAEzCC,EAAiBC,EAAMA,OAAqB,MAC5CC,EAAmBD,EAAMA,OAAwB,OAEhDE,GAAWC,YAAU,IAAIC,IAAoC,IAAnCC,MAAEA,EAAKC,OAAEA,GAAqBF,EAC7D,MAAMG,EAAUL,EAAQM,QAEpBD,GACFV,EAAeU,EAAQE,YAAcF,EAAQG,aAE/CX,EAAeS,QAAU,CAAEH,QAAOC,SAAQ,IAGtCK,EAAaC,EAAAA,SAAQ,OAASjC,GAC/BJ,GACAmB,SAAAA,EAAWmB,aACXnB,SAAAA,EAAWoB,UACXpB,SAAAA,EAAWqB,cACXrB,SAAAA,EAAWsB,YACb,CAACrC,EAAUJ,EAAMmB,eAAAA,EAAWmB,YAAanB,aAAS,EAATA,EAAWoB,SAAUpB,aAAS,EAATA,EAAWqB,aAAcrB,aAAS,EAATA,EAAWsB,YAE/FC,EAAuBL,EAAAA,SAAQ,KAAA,IAAAM,EAAAC,EAAA,OAAOvB,EAAWwB,EAAAA,cAAAA,EAAAC,cAClD1D,CAAAA,EAAAA,GAA2C,GAAA,CAC9C0C,SAAKiB,OAAKvB,SAAuBmB,QAATA,EAAdnB,EAAgBS,mBAAOU,SAAvBA,EAAyBb,MAAS,MAC5CC,UAAMgB,OAAKvB,SAAuB,QAAToB,EAAdpB,EAAgBS,eAAhBW,IAAuBA,OAAvBA,EAAAA,EAAyBb,OAAM,QAEvC,IAAI,GAAG,CAACV,EAAaG,aAAc,EAAdA,EAAgBS,UAE1C,OACEe,MAAAC,cAAAD,MAAAE,SACEF,KAAAA,MAAAC,cAACE,EAASA,UAAAC,UAAA,CACRC,GAAE,GAAAN,YAA0B,IAAbxC,EAAM8C,IAAsB9C,EAAM8C,IAAQrD,GAAQsD,EAASA,UAACtD,IAC3EM,UAAWO,GACPK,EACAC,EAAS,CACb,cAAA4B,GAAAA,OAAgB7B,EAAUqC,YAAcrC,EAAU,gBAAkBX,EAAM8C,IAAOrD,GAAQsD,EAASA,UAACtD,IACnGG,QAASA,IAERF,GAAW+C,MAAAC,cAACvC,EAAc,KAAA,KAC1B0B,GAEGY,MAAAC,cAACO,EAAAA,aAAYJ,EAAAA,QAAA,CACX9C,UAAWS,EAAOhB,QAACC,KACnByD,SAAS,SACLtC,EAAS,CACbW,MAAM,SAENkB,MAAAC,cAAA,MAAA,CAAKS,IAAK/B,EAAsCrB,UAAU,iBACvDe,GACC2B,MAAAC,cAAAD,MAAAE,SAAA,KACEF,MAAAC,cAAA,MAAA,CAAKS,IAAKhC,EAAkBiC,MAAOjB,IACnCM,MAAAC,cAAA,OAAA,KAAO7C,GAAYJ,KAGrBqB,IAAgBjB,GAAYJ,MAKvCqB,GAAe2B,MAAAC,cAACW,UAAO,CAAC5D,KAAMA,EAAM6D,UAAWnC,IAC/C,IAIPhC,EAAIoE,YAAc"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("../../../../../../_virtual/_rollupPluginBabelHelpers.js"),t=require("
|
|
1
|
+
"use strict";var e=require("../../../../../../_virtual/_rollupPluginBabelHelpers.js"),t=require("react"),a=require("./Text.js"),r=require("./typography.module.scss.js");const l=["children","text","className"],c=["children","text","className"],s=["children","text","className"],n=t.memo((t=>{let{children:c,text:s,className:n=""}=t,i=e.objectWithoutProperties(t,l);return React.createElement(a.Text,e.extends({},i,{className:"".concat(r.default.headline," ").concat(n),element:"h1"}),c&&c,!c&&s&&s)}));n.displayName="Headline";const i=t.memo((t=>{let{children:l,text:s,className:n=""}=t,i=e.objectWithoutProperties(t,c);return React.createElement(a.Text,e.extends({},i,{className:"".concat(r.default.headlineSecondary," ").concat(n),element:"h2"}),l&&l,!l&&s&&s)}));i.displayName="HeadlineSecondary";const o=t.memo((t=>{let{children:l,text:c,className:n=""}=t,i=e.objectWithoutProperties(t,s);return React.createElement(a.Text,e.extends({},i,{className:"".concat(r.default.headlineTertiary," ").concat(n),element:"h3"}),l&&l,!l&&c&&c)}));o.displayName="HeadlineTertiary",exports.Headline=n,exports.HeadlineSecondary=i,exports.HeadlineTertiary=o;
|
|
2
2
|
//# sourceMappingURL=Headline.js.map
|