@jamesodwyer/gds-figma-vite 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/settings.local.json +21 -0
- package/.husky/pre-commit +1 -0
- package/.mcp.json +8 -0
- package/.nvmrc +1 -0
- package/.stylelintrc.json +320 -0
- package/.vscode/settings.json +3 -0
- package/CLAUDE.md +79 -0
- package/README.md +17 -0
- package/babel.config.js +15 -0
- package/dist/colors/constants.d.ts +4 -0
- package/dist/colors/gradients.d.ts +10 -0
- package/dist/colors/index.d.ts +4 -0
- package/dist/colors/modifiers.d.ts +8 -0
- package/dist/colors/parsers.d.ts +15 -0
- package/dist/components/Accordion/Accordion.d.ts +44 -0
- package/dist/components/Accordion/AccordionContext.d.ts +14 -0
- package/dist/components/Accordion/AccordionItemContext.d.ts +12 -0
- package/dist/components/Accordion/types.d.ts +1 -0
- package/dist/components/AlertBox/index.d.ts +14 -0
- package/dist/components/AlertBoxLegacy/index.d.ts +17 -0
- package/dist/components/AlertBoxLegacy/index.styles.d.ts +38 -0
- package/dist/components/Badge/index.d.ts +9 -0
- package/dist/components/BrandLogo/BrandLogo.d.ts +12 -0
- package/dist/components/BrandLogo/index.d.ts +1 -0
- package/dist/components/Button/index.d.ts +20 -0
- package/dist/components/Button/index.styles.d.ts +16 -0
- package/dist/components/Card/index.d.ts +5 -0
- package/dist/components/Card/index.styles.d.ts +3 -0
- package/dist/components/Checkbox/index.d.ts +27 -0
- package/dist/components/CircleButton/index.d.ts +14 -0
- package/dist/components/Countdown/Countdown.d.ts +37 -0
- package/dist/components/CountdownTimer/index.d.ts +30 -0
- package/dist/components/CountdownTimer/index.styles.d.ts +17 -0
- package/dist/components/CountryPicker/data.d.ts +7 -0
- package/dist/components/CountryPicker/index.d.ts +70 -0
- package/dist/components/CountryPicker/index.styles.d.ts +37 -0
- package/dist/components/CountryPicker/states.data.d.ts +6 -0
- package/dist/components/DateOfBirth/index.d.ts +35 -0
- package/dist/components/DateOfBirth/index.styles.d.ts +8 -0
- package/dist/components/DisplayHeading/DisplayHeading.d.ts +32 -0
- package/dist/components/DoubleRangeInput/InputValue.d.ts +21 -0
- package/dist/components/DoubleRangeInput/Range.d.ts +1 -0
- package/dist/components/DoubleRangeInput/index.d.ts +88 -0
- package/dist/components/ErrorMessage/index.d.ts +10 -0
- package/dist/components/Footer/index.d.ts +7 -0
- package/dist/components/Footer/index.styles.d.ts +1 -0
- package/dist/components/Header/Logo.d.ts +3 -0
- package/dist/components/Header/index.d.ts +7 -0
- package/dist/components/Header/index.styles.d.ts +2 -0
- package/dist/components/InputField/index.d.ts +52 -0
- package/dist/components/InputField/index.styles.d.ts +48 -0
- package/dist/components/Link/index.d.ts +10 -0
- package/dist/components/LoadingSpinner/index.d.ts +10 -0
- package/dist/components/Modal/Modal.d.ts +63 -0
- package/dist/components/Modal/ModalContext.d.ts +17 -0
- package/dist/components/Modal/types.d.ts +2 -0
- package/dist/components/NewComponentTemplate/NewComponentTemplate.d.ts +14 -0
- package/dist/components/PaginationButton/index.d.ts +13 -0
- package/dist/components/PasswordInput/index.d.ts +15 -0
- package/dist/components/PhoneNumber/PhoneNumber.d.ts +28 -0
- package/dist/components/PhoneNumber/index.d.ts +1 -0
- package/dist/components/PillButton/index.d.ts +15 -0
- package/dist/components/RadioButton/index.d.ts +13 -0
- package/dist/components/SeatInfo/index.d.ts +25 -0
- package/dist/components/SeatInfo/index.styles.d.ts +15 -0
- package/dist/components/SeatInfov2/SeatInfov2.d.ts +41 -0
- package/dist/components/SeatInfov2/index.d.ts +1 -0
- package/dist/components/SectionHeading/index.d.ts +7 -0
- package/dist/components/SelectInput/index.d.ts +18 -0
- package/dist/components/ShareCard/index.d.ts +16 -0
- package/dist/components/SidePanel/SidePanel.d.ts +101 -0
- package/dist/components/SidePanel/SidePanelContext.d.ts +6 -0
- package/dist/components/SimpleSeatInfo/SimpleSeatInfo.d.ts +5 -0
- package/dist/components/SimpleSeatInfo/index.d.ts +1 -0
- package/dist/components/Skeleton/Skeleton.d.ts +8 -0
- package/dist/components/SquareButton/index.d.ts +16 -0
- package/dist/components/Stepper/index.d.ts +21 -0
- package/dist/components/SuccessMessage/index.d.ts +8 -0
- package/dist/components/TextArea/index.d.ts +16 -0
- package/dist/components/TextAreaLimited/index.d.ts +17 -0
- package/dist/components/TextInput/index.d.ts +19 -0
- package/dist/components/TextStyle/index.d.ts +15 -0
- package/dist/components/TicketCardv2/TicketCardv2.d.ts +43 -0
- package/dist/components/TicketCardv2/index.d.ts +1 -0
- package/dist/components/TicketDescription/TicketDescription.d.ts +54 -0
- package/dist/components/TicketDescription/index.d.ts +1 -0
- package/dist/components/TicketInfo/index.d.ts +48 -0
- package/dist/components/TicketInfo/index.styles.d.ts +11 -0
- package/dist/components/TicketQuantity/index.d.ts +9 -0
- package/dist/components/TicketQuantity/index.styles.d.ts +4 -0
- package/dist/components/TicketTopSection/TicketInfoHeader.d.ts +39 -0
- package/dist/components/TicketTopSection/TicketTopSection.d.ts +51 -0
- package/dist/components/TicketTopSection/TicketTopSectionGeneric.d.ts +40 -0
- package/dist/components/TicketTopSection/index.d.ts +2 -0
- package/dist/components/TitleHeading/index.d.ts +9 -0
- package/dist/components/Toast/index.d.ts +34 -0
- package/dist/components/Toggle/index.d.ts +33 -0
- package/dist/components/ToggleSwitch/index.d.ts +15 -0
- package/dist/components/Tooltip/ArrowTip.d.ts +8 -0
- package/dist/components/Tooltip/index.d.ts +45 -0
- package/dist/components/Tooltip/types.d.ts +2 -0
- package/dist/components/Tooltip/useDelayedTooltipToggle.d.ts +5 -0
- package/dist/components/shared/Spinner.d.ts +17 -0
- package/dist/components/utils/IconButton.d.ts +9 -0
- package/dist/components/utils/Stack.d.ts +5 -0
- package/dist/components/utils/UnstyledList.d.ts +7 -0
- package/dist/components/utils/VisuallyHidden.d.ts +2 -0
- package/dist/dimensions/elevation.d.ts +7 -0
- package/dist/dimensions/index.d.ts +6 -0
- package/dist/dimensions/media.d.ts +10 -0
- package/dist/dimensions/sizes.d.ts +15 -0
- package/dist/dimensions/spacing.d.ts +96 -0
- package/dist/dimensions/typography.d.ts +113 -0
- package/dist/dimensions/utils.d.ts +5 -0
- package/dist/dimensions/utils.test.d.ts +1 -0
- package/dist/docs/DarkCanvas.d.ts +12 -0
- package/dist/docs/InputExample.d.ts +5 -0
- package/dist/flag-icons/allCodesToFlags.d.ts +2 -0
- package/dist/flag-icons/dist/AdFlag.d.ts +7 -0
- package/dist/flag-icons/dist/AeFlag.d.ts +7 -0
- package/dist/flag-icons/dist/AgFlag.d.ts +7 -0
- package/dist/flag-icons/dist/AiFlag.d.ts +7 -0
- package/dist/flag-icons/dist/AlFlag.d.ts +7 -0
- package/dist/flag-icons/dist/AmFlag.d.ts +7 -0
- package/dist/flag-icons/dist/AoFlag.d.ts +7 -0
- package/dist/flag-icons/dist/ArFlag.d.ts +7 -0
- package/dist/flag-icons/dist/AsFlag.d.ts +7 -0
- package/dist/flag-icons/dist/AtFlag.d.ts +7 -0
- package/dist/flag-icons/dist/AuFlag.d.ts +7 -0
- package/dist/flag-icons/dist/AwFlag.d.ts +7 -0
- package/dist/flag-icons/dist/AzFlag.d.ts +7 -0
- package/dist/flag-icons/dist/BaFlag.d.ts +7 -0
- package/dist/flag-icons/dist/BbFlag.d.ts +7 -0
- package/dist/flag-icons/dist/BdFlag.d.ts +7 -0
- package/dist/flag-icons/dist/BeFlag.d.ts +7 -0
- package/dist/flag-icons/dist/BfFlag.d.ts +7 -0
- package/dist/flag-icons/dist/BgFlag.d.ts +7 -0
- package/dist/flag-icons/dist/BhFlag.d.ts +7 -0
- package/dist/flag-icons/dist/BiFlag.d.ts +7 -0
- package/dist/flag-icons/dist/BmFlag.d.ts +7 -0
- package/dist/flag-icons/dist/BoFlag.d.ts +7 -0
- package/dist/flag-icons/dist/BrFlag.d.ts +7 -0
- package/dist/flag-icons/dist/BsFlag.d.ts +7 -0
- package/dist/flag-icons/dist/BtFlag.d.ts +7 -0
- package/dist/flag-icons/dist/BwFlag.d.ts +7 -0
- package/dist/flag-icons/dist/ByFlag.d.ts +7 -0
- package/dist/flag-icons/dist/BzFlag.d.ts +7 -0
- package/dist/flag-icons/dist/CaFlag.d.ts +7 -0
- package/dist/flag-icons/dist/CgFlag.d.ts +7 -0
- package/dist/flag-icons/dist/ChFlag.d.ts +7 -0
- package/dist/flag-icons/dist/CiFlag.d.ts +7 -0
- package/dist/flag-icons/dist/CkFlag.d.ts +7 -0
- package/dist/flag-icons/dist/ClFlag.d.ts +7 -0
- package/dist/flag-icons/dist/CmFlag.d.ts +7 -0
- package/dist/flag-icons/dist/CnFlag.d.ts +7 -0
- package/dist/flag-icons/dist/CoFlag.d.ts +7 -0
- package/dist/flag-icons/dist/CrFlag.d.ts +7 -0
- package/dist/flag-icons/dist/CuFlag.d.ts +7 -0
- package/dist/flag-icons/dist/CvFlag.d.ts +7 -0
- package/dist/flag-icons/dist/CyFlag.d.ts +7 -0
- package/dist/flag-icons/dist/CzFlag.d.ts +7 -0
- package/dist/flag-icons/dist/DeFlag.d.ts +7 -0
- package/dist/flag-icons/dist/DkFlag.d.ts +7 -0
- package/dist/flag-icons/dist/DmFlag.d.ts +7 -0
- package/dist/flag-icons/dist/DoFlag.d.ts +7 -0
- package/dist/flag-icons/dist/DzFlag.d.ts +7 -0
- package/dist/flag-icons/dist/EcFlag.d.ts +7 -0
- package/dist/flag-icons/dist/EeFlag.d.ts +7 -0
- package/dist/flag-icons/dist/EgFlag.d.ts +7 -0
- package/dist/flag-icons/dist/ErFlag.d.ts +7 -0
- package/dist/flag-icons/dist/EsFlag.d.ts +7 -0
- package/dist/flag-icons/dist/EtFlag.d.ts +7 -0
- package/dist/flag-icons/dist/FiFlag.d.ts +7 -0
- package/dist/flag-icons/dist/FjFlag.d.ts +7 -0
- package/dist/flag-icons/dist/FkFlag.d.ts +7 -0
- package/dist/flag-icons/dist/FmFlag.d.ts +7 -0
- package/dist/flag-icons/dist/FoFlag.d.ts +7 -0
- package/dist/flag-icons/dist/FrFlag.d.ts +7 -0
- package/dist/flag-icons/dist/GaFlag.d.ts +7 -0
- package/dist/flag-icons/dist/GdFlag.d.ts +7 -0
- package/dist/flag-icons/dist/GeFlag.d.ts +7 -0
- package/dist/flag-icons/dist/GfFlag.d.ts +7 -0
- package/dist/flag-icons/dist/GgFlag.d.ts +7 -0
- package/dist/flag-icons/dist/GhFlag.d.ts +7 -0
- package/dist/flag-icons/dist/GiFlag.d.ts +7 -0
- package/dist/flag-icons/dist/GlFlag.d.ts +7 -0
- package/dist/flag-icons/dist/GmFlag.d.ts +7 -0
- package/dist/flag-icons/dist/GnFlag.d.ts +7 -0
- package/dist/flag-icons/dist/GpFlag.d.ts +7 -0
- package/dist/flag-icons/dist/GqFlag.d.ts +7 -0
- package/dist/flag-icons/dist/GrFlag.d.ts +7 -0
- package/dist/flag-icons/dist/GtFlag.d.ts +7 -0
- package/dist/flag-icons/dist/GuFlag.d.ts +7 -0
- package/dist/flag-icons/dist/GwFlag.d.ts +7 -0
- package/dist/flag-icons/dist/GyFlag.d.ts +7 -0
- package/dist/flag-icons/dist/HkFlag.d.ts +7 -0
- package/dist/flag-icons/dist/HnFlag.d.ts +7 -0
- package/dist/flag-icons/dist/HrFlag.d.ts +7 -0
- package/dist/flag-icons/dist/HtFlag.d.ts +7 -0
- package/dist/flag-icons/dist/HuFlag.d.ts +7 -0
- package/dist/flag-icons/dist/IcFlag.d.ts +7 -0
- package/dist/flag-icons/dist/IdFlag.d.ts +7 -0
- package/dist/flag-icons/dist/IeFlag.d.ts +7 -0
- package/dist/flag-icons/dist/IlFlag.d.ts +7 -0
- package/dist/flag-icons/dist/InFlag.d.ts +7 -0
- package/dist/flag-icons/dist/IqFlag.d.ts +7 -0
- package/dist/flag-icons/dist/IrFlag.d.ts +7 -0
- package/dist/flag-icons/dist/IsFlag.d.ts +7 -0
- package/dist/flag-icons/dist/ItFlag.d.ts +7 -0
- package/dist/flag-icons/dist/JeFlag.d.ts +7 -0
- package/dist/flag-icons/dist/JmFlag.d.ts +7 -0
- package/dist/flag-icons/dist/JoFlag.d.ts +7 -0
- package/dist/flag-icons/dist/JpFlag.d.ts +7 -0
- package/dist/flag-icons/dist/KeFlag.d.ts +7 -0
- package/dist/flag-icons/dist/KgFlag.d.ts +7 -0
- package/dist/flag-icons/dist/KhFlag.d.ts +7 -0
- package/dist/flag-icons/dist/KmFlag.d.ts +7 -0
- package/dist/flag-icons/dist/KnFlag.d.ts +7 -0
- package/dist/flag-icons/dist/KrFlag.d.ts +7 -0
- package/dist/flag-icons/dist/KwFlag.d.ts +7 -0
- package/dist/flag-icons/dist/KyFlag.d.ts +7 -0
- package/dist/flag-icons/dist/KzFlag.d.ts +7 -0
- package/dist/flag-icons/dist/LaFlag.d.ts +7 -0
- package/dist/flag-icons/dist/LbFlag.d.ts +7 -0
- package/dist/flag-icons/dist/LcFlag.d.ts +7 -0
- package/dist/flag-icons/dist/LiFlag.d.ts +7 -0
- package/dist/flag-icons/dist/LkFlag.d.ts +7 -0
- package/dist/flag-icons/dist/LrFlag.d.ts +7 -0
- package/dist/flag-icons/dist/LsFlag.d.ts +7 -0
- package/dist/flag-icons/dist/LtFlag.d.ts +7 -0
- package/dist/flag-icons/dist/LuFlag.d.ts +7 -0
- package/dist/flag-icons/dist/LvFlag.d.ts +7 -0
- package/dist/flag-icons/dist/MaFlag.d.ts +7 -0
- package/dist/flag-icons/dist/McFlag.d.ts +7 -0
- package/dist/flag-icons/dist/MdFlag.d.ts +7 -0
- package/dist/flag-icons/dist/MgFlag.d.ts +7 -0
- package/dist/flag-icons/dist/MkFlag.d.ts +7 -0
- package/dist/flag-icons/dist/MlFlag.d.ts +7 -0
- package/dist/flag-icons/dist/MoFlag.d.ts +7 -0
- package/dist/flag-icons/dist/MqFlag.d.ts +7 -0
- package/dist/flag-icons/dist/MrFlag.d.ts +7 -0
- package/dist/flag-icons/dist/MsFlag.d.ts +7 -0
- package/dist/flag-icons/dist/MtFlag.d.ts +7 -0
- package/dist/flag-icons/dist/MuFlag.d.ts +7 -0
- package/dist/flag-icons/dist/MvFlag.d.ts +7 -0
- package/dist/flag-icons/dist/MwFlag.d.ts +7 -0
- package/dist/flag-icons/dist/MxFlag.d.ts +7 -0
- package/dist/flag-icons/dist/MyFlag.d.ts +7 -0
- package/dist/flag-icons/dist/MzFlag.d.ts +7 -0
- package/dist/flag-icons/dist/NaFlag.d.ts +7 -0
- package/dist/flag-icons/dist/NcFlag.d.ts +7 -0
- package/dist/flag-icons/dist/NeFlag.d.ts +7 -0
- package/dist/flag-icons/dist/NgFlag.d.ts +7 -0
- package/dist/flag-icons/dist/NiFlag.d.ts +7 -0
- package/dist/flag-icons/dist/NlFlag.d.ts +7 -0
- package/dist/flag-icons/dist/NoFlag.d.ts +7 -0
- package/dist/flag-icons/dist/NpFlag.d.ts +7 -0
- package/dist/flag-icons/dist/NzFlag.d.ts +7 -0
- package/dist/flag-icons/dist/OmFlag.d.ts +7 -0
- package/dist/flag-icons/dist/PaFlag.d.ts +7 -0
- package/dist/flag-icons/dist/PeFlag.d.ts +7 -0
- package/dist/flag-icons/dist/PfFlag.d.ts +7 -0
- package/dist/flag-icons/dist/PgFlag.d.ts +7 -0
- package/dist/flag-icons/dist/PhFlag.d.ts +7 -0
- package/dist/flag-icons/dist/PkFlag.d.ts +7 -0
- package/dist/flag-icons/dist/PlFlag.d.ts +7 -0
- package/dist/flag-icons/dist/PnFlag.d.ts +7 -0
- package/dist/flag-icons/dist/PrFlag.d.ts +7 -0
- package/dist/flag-icons/dist/PsFlag.d.ts +7 -0
- package/dist/flag-icons/dist/PtFlag.d.ts +7 -0
- package/dist/flag-icons/dist/PyFlag.d.ts +7 -0
- package/dist/flag-icons/dist/QaFlag.d.ts +7 -0
- package/dist/flag-icons/dist/ReFlag.d.ts +7 -0
- package/dist/flag-icons/dist/RoFlag.d.ts +7 -0
- package/dist/flag-icons/dist/RsFlag.d.ts +7 -0
- package/dist/flag-icons/dist/RuFlag.d.ts +7 -0
- package/dist/flag-icons/dist/RwFlag.d.ts +7 -0
- package/dist/flag-icons/dist/SaFlag.d.ts +7 -0
- package/dist/flag-icons/dist/ScFlag.d.ts +7 -0
- package/dist/flag-icons/dist/SdFlag.d.ts +7 -0
- package/dist/flag-icons/dist/SeFlag.d.ts +7 -0
- package/dist/flag-icons/dist/SgFlag.d.ts +7 -0
- package/dist/flag-icons/dist/ShFlag.d.ts +7 -0
- package/dist/flag-icons/dist/SiFlag.d.ts +7 -0
- package/dist/flag-icons/dist/SkFlag.d.ts +7 -0
- package/dist/flag-icons/dist/SlFlag.d.ts +7 -0
- package/dist/flag-icons/dist/SmFlag.d.ts +7 -0
- package/dist/flag-icons/dist/SnFlag.d.ts +7 -0
- package/dist/flag-icons/dist/SoFlag.d.ts +7 -0
- package/dist/flag-icons/dist/SvFlag.d.ts +7 -0
- package/dist/flag-icons/dist/SyFlag.d.ts +7 -0
- package/dist/flag-icons/dist/SzFlag.d.ts +7 -0
- package/dist/flag-icons/dist/TcFlag.d.ts +7 -0
- package/dist/flag-icons/dist/TdFlag.d.ts +7 -0
- package/dist/flag-icons/dist/ThFlag.d.ts +7 -0
- package/dist/flag-icons/dist/TjFlag.d.ts +7 -0
- package/dist/flag-icons/dist/TnFlag.d.ts +7 -0
- package/dist/flag-icons/dist/ToFlag.d.ts +7 -0
- package/dist/flag-icons/dist/TrFlag.d.ts +7 -0
- package/dist/flag-icons/dist/TtFlag.d.ts +7 -0
- package/dist/flag-icons/dist/TwFlag.d.ts +7 -0
- package/dist/flag-icons/dist/TzFlag.d.ts +7 -0
- package/dist/flag-icons/dist/UaFlag.d.ts +7 -0
- package/dist/flag-icons/dist/UgFlag.d.ts +7 -0
- package/dist/flag-icons/dist/UkFlag.d.ts +7 -0
- package/dist/flag-icons/dist/UsFlag.d.ts +7 -0
- package/dist/flag-icons/dist/UyFlag.d.ts +7 -0
- package/dist/flag-icons/dist/UzFlag.d.ts +7 -0
- package/dist/flag-icons/dist/VaFlag.d.ts +7 -0
- package/dist/flag-icons/dist/VcFlag.d.ts +7 -0
- package/dist/flag-icons/dist/VeFlag.d.ts +7 -0
- package/dist/flag-icons/dist/VgFlag.d.ts +7 -0
- package/dist/flag-icons/dist/VnFlag.d.ts +7 -0
- package/dist/flag-icons/dist/WsFlag.d.ts +7 -0
- package/dist/flag-icons/dist/YeFlag.d.ts +7 -0
- package/dist/flag-icons/dist/ZaFlag.d.ts +7 -0
- package/dist/flag-icons/dist/ZmFlag.d.ts +7 -0
- package/dist/flag-icons/dist/ZwFlag.d.ts +7 -0
- package/dist/flag-icons/dist/index.d.ts +200 -0
- package/dist/flag-icons/index.d.ts +1 -0
- package/dist/flag-icons/svgr-config.d.ts +15 -0
- package/dist/flag-icons/template.d.ts +4 -0
- package/dist/getGlobalStyles.d.ts +2 -0
- package/dist/hooks/useCountdown.d.ts +21 -0
- package/dist/hooks/useCountdown.spec.d.ts +1 -0
- package/dist/hooks/useMediaQuery.d.ts +1 -0
- package/dist/hooks/usePortalElement.d.ts +5 -0
- package/dist/icons/BaseSvg.d.ts +4 -0
- package/dist/icons/FilterableIcons.d.ts +6 -0
- package/dist/icons/dist/AddIcon.d.ts +10 -0
- package/dist/icons/dist/ArrowGappedIcon.d.ts +10 -0
- package/dist/icons/dist/ArrowIcon.d.ts +10 -0
- package/dist/icons/dist/ArrowResetIcon.d.ts +10 -0
- package/dist/icons/dist/ArrowRotateIcon.d.ts +10 -0
- package/dist/icons/dist/ArrowTopRightFilledIcon.d.ts +10 -0
- package/dist/icons/dist/ArrowTopRightIcon.d.ts +10 -0
- package/dist/icons/dist/ArrowsExchangeIcon.d.ts +10 -0
- package/dist/icons/dist/ArrowsExpandIcon.d.ts +10 -0
- package/dist/icons/dist/ArrowsFullscreenIcon.d.ts +10 -0
- package/dist/icons/dist/ArrowsRefreshCircledFilledIcon.d.ts +10 -0
- package/dist/icons/dist/ArrowsRefreshIcon.d.ts +10 -0
- package/dist/icons/dist/ArrowsShrinkIcon.d.ts +10 -0
- package/dist/icons/dist/ArtsIcon.d.ts +10 -0
- package/dist/icons/dist/BankAccountIcon.d.ts +10 -0
- package/dist/icons/dist/BarcodeIcon.d.ts +10 -0
- package/dist/icons/dist/BasketIcon.d.ts +10 -0
- package/dist/icons/dist/BedIcon.d.ts +10 -0
- package/dist/icons/dist/BellFilledIcon.d.ts +10 -0
- package/dist/icons/dist/BellIcon.d.ts +10 -0
- package/dist/icons/dist/BlindAndLowVisionAccessibleCircledFilledIcon.d.ts +10 -0
- package/dist/icons/dist/BlockedIcon.d.ts +10 -0
- package/dist/icons/dist/BoxOfficeIcon.d.ts +10 -0
- package/dist/icons/dist/CalendarIcon.d.ts +10 -0
- package/dist/icons/dist/CameraIcon.d.ts +10 -0
- package/dist/icons/dist/CarIcon.d.ts +10 -0
- package/dist/icons/dist/CaretIcon.d.ts +10 -0
- package/dist/icons/dist/CategoriesIcon.d.ts +10 -0
- package/dist/icons/dist/ChatBubbleFilledIcon.d.ts +10 -0
- package/dist/icons/dist/CheckmarkCircledFilledIcon.d.ts +10 -0
- package/dist/icons/dist/CheckmarkCircledIcon.d.ts +10 -0
- package/dist/icons/dist/CheckmarkCutCornerIcon.d.ts +10 -0
- package/dist/icons/dist/CheckmarkIcon.d.ts +10 -0
- package/dist/icons/dist/ChevronCircleIcon.d.ts +10 -0
- package/dist/icons/dist/ChevronIcon.d.ts +10 -0
- package/dist/icons/dist/CircleFilledIcon.d.ts +10 -0
- package/dist/icons/dist/ClockFilledIcon.d.ts +10 -0
- package/dist/icons/dist/ClockIcon.d.ts +10 -0
- package/dist/icons/dist/CogIcon.d.ts +10 -0
- package/dist/icons/dist/CompanionSeatCircledFilledIcon.d.ts +10 -0
- package/dist/icons/dist/CompassArrowIcon.d.ts +10 -0
- package/dist/icons/dist/CopyIcon.d.ts +10 -0
- package/dist/icons/dist/CreditCardAndTicketIcon.d.ts +10 -0
- package/dist/icons/dist/CreditCardIcon.d.ts +10 -0
- package/dist/icons/dist/CreditCardWithClockIcon.d.ts +10 -0
- package/dist/icons/dist/CrossIcon.d.ts +10 -0
- package/dist/icons/dist/DeafAndHardOfHearingAccessibleCircledFilledIcon.d.ts +10 -0
- package/dist/icons/dist/DeleteIcon.d.ts +10 -0
- package/dist/icons/dist/DownloadIcon.d.ts +10 -0
- package/dist/icons/dist/EnvelopeClosedIcon.d.ts +10 -0
- package/dist/icons/dist/EnvelopeIcon.d.ts +10 -0
- package/dist/icons/dist/EveningIcon.d.ts +10 -0
- package/dist/icons/dist/ExclamationMarkCircledFilledIcon.d.ts +10 -0
- package/dist/icons/dist/ExclamationMarkDiamondFilledIcon.d.ts +10 -0
- package/dist/icons/dist/ExclamationMarkDiamondIcon.d.ts +10 -0
- package/dist/icons/dist/ExclamationMarkTriangleFilledIcon.d.ts +10 -0
- package/dist/icons/dist/ExclamationMarkTriangleIcon.d.ts +10 -0
- package/dist/icons/dist/ExitIcon.d.ts +10 -0
- package/dist/icons/dist/ExternalLinkIcon.d.ts +10 -0
- package/dist/icons/dist/EyeHide.d.ts +10 -0
- package/dist/icons/dist/EyeShow.d.ts +10 -0
- package/dist/icons/dist/FaceIdIcon.d.ts +10 -0
- package/dist/icons/dist/FacebookIcon.d.ts +10 -0
- package/dist/icons/dist/FamilyIcon.d.ts +10 -0
- package/dist/icons/dist/FiltersIcon.d.ts +10 -0
- package/dist/icons/dist/GiftCardIcon.d.ts +10 -0
- package/dist/icons/dist/GridIcon.d.ts +10 -0
- package/dist/icons/dist/HamburgerIcon.d.ts +10 -0
- package/dist/icons/dist/HeartFilledIcon.d.ts +10 -0
- package/dist/icons/dist/HeartIcon.d.ts +10 -0
- package/dist/icons/dist/HouseIcon.d.ts +10 -0
- package/dist/icons/dist/IdCardIcon.d.ts +10 -0
- package/dist/icons/dist/InfoICircledFilledIcon.d.ts +10 -0
- package/dist/icons/dist/InfoICircledIcon.d.ts +10 -0
- package/dist/icons/dist/InfoIIcon.d.ts +10 -0
- package/dist/icons/dist/InstagramIcon.d.ts +10 -0
- package/dist/icons/dist/KebabMenuIcon.d.ts +10 -0
- package/dist/icons/dist/ListIcon.d.ts +10 -0
- package/dist/icons/dist/MagnifyingGlassIcon.d.ts +10 -0
- package/dist/icons/dist/MapPinIcon.d.ts +10 -0
- package/dist/icons/dist/MegaphoneIcon.d.ts +10 -0
- package/dist/icons/dist/MinusIcon.d.ts +10 -0
- package/dist/icons/dist/MobilityAccessibleCircledFilledIcon.d.ts +10 -0
- package/dist/icons/dist/MoneyIcon.d.ts +10 -0
- package/dist/icons/dist/MusicalNoteIcon.d.ts +10 -0
- package/dist/icons/dist/NetworkIcon.d.ts +10 -0
- package/dist/icons/dist/NoTaxIcon.d.ts +10 -0
- package/dist/icons/dist/ObstructedViewIcon.d.ts +10 -0
- package/dist/icons/dist/OriginalTicketCircleFilledIcon.d.ts +10 -0
- package/dist/icons/dist/OriginalTicketIcon.d.ts +10 -0
- package/dist/icons/dist/PadlockIcon.d.ts +10 -0
- package/dist/icons/dist/PadlockUnlockedIcon.d.ts +10 -0
- package/dist/icons/dist/PasswordlessIcon.d.ts +10 -0
- package/dist/icons/dist/PencilEditIcon.d.ts +10 -0
- package/dist/icons/dist/PhoneIcon.d.ts +10 -0
- package/dist/icons/dist/PlayCircledIcon.d.ts +10 -0
- package/dist/icons/dist/PlusIcon.d.ts +10 -0
- package/dist/icons/dist/PostalTicketIcon.d.ts +10 -0
- package/dist/icons/dist/PrinterAndPhoneIcon.d.ts +10 -0
- package/dist/icons/dist/PrinterIcon.d.ts +10 -0
- package/dist/icons/dist/QrCodeIcon.d.ts +10 -0
- package/dist/icons/dist/QuestionMarkCircledIcon.d.ts +10 -0
- package/dist/icons/dist/QuestionMarkCutCornerFilledIcon.d.ts +10 -0
- package/dist/icons/dist/QuestionMarkCutCornerIcon.d.ts +10 -0
- package/dist/icons/dist/ReceiptIcon.d.ts +10 -0
- package/dist/icons/dist/RemoveIcon.d.ts +10 -0
- package/dist/icons/dist/SeatMapIcon.d.ts +10 -0
- package/dist/icons/dist/SeatMapStrikethroughIcon.d.ts +10 -0
- package/dist/icons/dist/SevenConnectedDotsIcon.d.ts +10 -0
- package/dist/icons/dist/ShareIcon.d.ts +10 -0
- package/dist/icons/dist/ShieldTickFilledIcon.d.ts +10 -0
- package/dist/icons/dist/ShieldTickIcon.d.ts +10 -0
- package/dist/icons/dist/ShoppingBagIcon.d.ts +10 -0
- package/dist/icons/dist/SpeechBubbleIcon.d.ts +10 -0
- package/dist/icons/dist/SpeechBubblesIcon.d.ts +10 -0
- package/dist/icons/dist/SportsIcon.d.ts +10 -0
- package/dist/icons/dist/StandingIcon.d.ts +10 -0
- package/dist/icons/dist/StarCircledFilledIcon.d.ts +10 -0
- package/dist/icons/dist/StarFilledIcon.d.ts +10 -0
- package/dist/icons/dist/StarIcon.d.ts +10 -0
- package/dist/icons/dist/SunIcon.d.ts +10 -0
- package/dist/icons/dist/SunriseIcon.d.ts +10 -0
- package/dist/icons/dist/TagIcon.d.ts +10 -0
- package/dist/icons/dist/TentIcon.d.ts +10 -0
- package/dist/icons/dist/ThreeConnectedDotsIcon.d.ts +10 -0
- package/dist/icons/dist/TicketArrowsIcon.d.ts +10 -0
- package/dist/icons/dist/TicketCheckmarkIcon.d.ts +10 -0
- package/dist/icons/dist/TicketClockIcon.d.ts +10 -0
- package/dist/icons/dist/TicketErrorIcon.d.ts +10 -0
- package/dist/icons/dist/TicketIcon.d.ts +10 -0
- package/dist/icons/dist/TicketInEnvelopeIcon.d.ts +10 -0
- package/dist/icons/dist/TicketInfoIcon.d.ts +10 -0
- package/dist/icons/dist/TicketMobileIcon.d.ts +10 -0
- package/dist/icons/dist/TicketPackageIcon.d.ts +10 -0
- package/dist/icons/dist/TicketPlusIcon.d.ts +10 -0
- package/dist/icons/dist/TicketResaleIcon.d.ts +10 -0
- package/dist/icons/dist/TicketmasterTIcon.d.ts +10 -0
- package/dist/icons/dist/TicketsIcon.d.ts +10 -0
- package/dist/icons/dist/TrashcanIcon.d.ts +10 -0
- package/dist/icons/dist/UserIcon.d.ts +10 -0
- package/dist/icons/dist/UserWithKeyIcon.d.ts +10 -0
- package/dist/icons/dist/VenueIcon.d.ts +10 -0
- package/dist/icons/dist/VenueMapIcon.d.ts +10 -0
- package/dist/icons/dist/VideoCameraIcon.d.ts +10 -0
- package/dist/icons/dist/WaitingListIcon.d.ts +10 -0
- package/dist/icons/dist/WalletIcon.d.ts +10 -0
- package/dist/icons/dist/WhatsappIcon.d.ts +10 -0
- package/dist/icons/dist/WheelchairAccessibleCircledFilledIcon.d.ts +10 -0
- package/dist/icons/dist/WheelchairAccessibleIcon.d.ts +10 -0
- package/dist/icons/dist/WheelchairCircledFilledIcon.d.ts +10 -0
- package/dist/icons/dist/WheelchairIcon.d.ts +10 -0
- package/dist/icons/dist/XIcon.d.ts +10 -0
- package/dist/icons/dist/index.d.ts +152 -0
- package/dist/icons/index.d.ts +1 -0
- package/dist/icons-with-colours/dist/AddToAppleWalletIcon.d.ts +7 -0
- package/dist/icons-with-colours/dist/AddToGoogleWalletIcon.d.ts +7 -0
- package/dist/icons-with-colours/dist/AfterPayIcon.d.ts +7 -0
- package/dist/icons-with-colours/dist/AmexIcon.d.ts +7 -0
- package/dist/icons-with-colours/dist/ApplePayIcon.d.ts +7 -0
- package/dist/icons-with-colours/dist/BancontactIcon.d.ts +7 -0
- package/dist/icons-with-colours/dist/DinersClubIcon.d.ts +7 -0
- package/dist/icons-with-colours/dist/DiscoverIcon.d.ts +7 -0
- package/dist/icons-with-colours/dist/EpsIcon.d.ts +7 -0
- package/dist/icons-with-colours/dist/GenericPayIcon.d.ts +7 -0
- package/dist/icons-with-colours/dist/GiftCardPaymentIcon.d.ts +7 -0
- package/dist/icons-with-colours/dist/GiroPayIcon.d.ts +7 -0
- package/dist/icons-with-colours/dist/GooglePayIcon.d.ts +7 -0
- package/dist/icons-with-colours/dist/IdealIcon.d.ts +7 -0
- package/dist/icons-with-colours/dist/JcbIcon.d.ts +7 -0
- package/dist/icons-with-colours/dist/KlarnaIcon.d.ts +7 -0
- package/dist/icons-with-colours/dist/KlarnaKIcon.d.ts +7 -0
- package/dist/icons-with-colours/dist/MaestroIcon.d.ts +7 -0
- package/dist/icons-with-colours/dist/MastercardIcon.d.ts +7 -0
- package/dist/icons-with-colours/dist/McClickToPayIcon.d.ts +7 -0
- package/dist/icons-with-colours/dist/MobilepayIcon.d.ts +7 -0
- package/dist/icons-with-colours/dist/P24Icon.d.ts +7 -0
- package/dist/icons-with-colours/dist/PayconiqIcon.d.ts +7 -0
- package/dist/icons-with-colours/dist/PaypalIcon.d.ts +7 -0
- package/dist/icons-with-colours/dist/PaypalPIcon.d.ts +7 -0
- package/dist/icons-with-colours/dist/PaytrailIcon.d.ts +7 -0
- package/dist/icons-with-colours/dist/SofortIcon.d.ts +7 -0
- package/dist/icons-with-colours/dist/SuccessFilledIcon.d.ts +7 -0
- package/dist/icons-with-colours/dist/SwishIcon.d.ts +7 -0
- package/dist/icons-with-colours/dist/TwintIcon.d.ts +7 -0
- package/dist/icons-with-colours/dist/VenmoIcon.d.ts +7 -0
- package/dist/icons-with-colours/dist/VippsIcon.d.ts +7 -0
- package/dist/icons-with-colours/dist/VisaIcon.d.ts +7 -0
- package/dist/icons-with-colours/dist/WarningFilledIcon.d.ts +7 -0
- package/dist/icons-with-colours/dist/index.d.ts +34 -0
- package/dist/icons-with-colours/index.d.ts +1 -0
- package/dist/index.cjs +1087 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +136 -0
- package/dist/index.js +1087 -0
- package/dist/index.js.map +1 -0
- package/dist/index10.cjs +181 -0
- package/dist/index10.cjs.map +1 -0
- package/dist/index10.js +181 -0
- package/dist/index10.js.map +1 -0
- package/dist/index100.cjs +41 -0
- package/dist/index100.cjs.map +1 -0
- package/dist/index100.js +41 -0
- package/dist/index100.js.map +1 -0
- package/dist/index101.cjs +41 -0
- package/dist/index101.cjs.map +1 -0
- package/dist/index101.js +41 -0
- package/dist/index101.js.map +1 -0
- package/dist/index102.cjs +31 -0
- package/dist/index102.cjs.map +1 -0
- package/dist/index102.js +31 -0
- package/dist/index102.js.map +1 -0
- package/dist/index103.cjs +31 -0
- package/dist/index103.cjs.map +1 -0
- package/dist/index103.js +31 -0
- package/dist/index103.js.map +1 -0
- package/dist/index104.cjs +19 -0
- package/dist/index104.cjs.map +1 -0
- package/dist/index104.js +19 -0
- package/dist/index104.js.map +1 -0
- package/dist/index105.cjs +19 -0
- package/dist/index105.cjs.map +1 -0
- package/dist/index105.js +19 -0
- package/dist/index105.js.map +1 -0
- package/dist/index106.cjs +33 -0
- package/dist/index106.cjs.map +1 -0
- package/dist/index106.js +33 -0
- package/dist/index106.js.map +1 -0
- package/dist/index107.cjs +32 -0
- package/dist/index107.cjs.map +1 -0
- package/dist/index107.js +32 -0
- package/dist/index107.js.map +1 -0
- package/dist/index108.cjs +24 -0
- package/dist/index108.cjs.map +1 -0
- package/dist/index108.js +24 -0
- package/dist/index108.js.map +1 -0
- package/dist/index109.cjs +24 -0
- package/dist/index109.cjs.map +1 -0
- package/dist/index109.js +24 -0
- package/dist/index109.js.map +1 -0
- package/dist/index11.cjs +118 -0
- package/dist/index11.cjs.map +1 -0
- package/dist/index11.js +118 -0
- package/dist/index11.js.map +1 -0
- package/dist/index110.cjs +27 -0
- package/dist/index110.cjs.map +1 -0
- package/dist/index110.js +27 -0
- package/dist/index110.js.map +1 -0
- package/dist/index111.cjs +27 -0
- package/dist/index111.cjs.map +1 -0
- package/dist/index111.js +27 -0
- package/dist/index111.js.map +1 -0
- package/dist/index112.cjs +23 -0
- package/dist/index112.cjs.map +1 -0
- package/dist/index112.js +23 -0
- package/dist/index112.js.map +1 -0
- package/dist/index113.cjs +23 -0
- package/dist/index113.cjs.map +1 -0
- package/dist/index113.js +23 -0
- package/dist/index113.js.map +1 -0
- package/dist/index114.cjs +44 -0
- package/dist/index114.cjs.map +1 -0
- package/dist/index114.js +44 -0
- package/dist/index114.js.map +1 -0
- package/dist/index115.cjs +44 -0
- package/dist/index115.cjs.map +1 -0
- package/dist/index115.js +44 -0
- package/dist/index115.js.map +1 -0
- package/dist/index116.cjs +24 -0
- package/dist/index116.cjs.map +1 -0
- package/dist/index116.js +24 -0
- package/dist/index116.js.map +1 -0
- package/dist/index117.cjs +24 -0
- package/dist/index117.cjs.map +1 -0
- package/dist/index117.js +24 -0
- package/dist/index117.js.map +1 -0
- package/dist/index118.cjs +26 -0
- package/dist/index118.cjs.map +1 -0
- package/dist/index118.js +26 -0
- package/dist/index118.js.map +1 -0
- package/dist/index119.cjs +8 -0
- package/dist/index119.cjs.map +1 -0
- package/dist/index119.js +8 -0
- package/dist/index119.js.map +1 -0
- package/dist/index12.cjs +174 -0
- package/dist/index12.cjs.map +1 -0
- package/dist/index12.js +174 -0
- package/dist/index12.js.map +1 -0
- package/dist/index120.cjs +16 -0
- package/dist/index120.cjs.map +1 -0
- package/dist/index120.js +16 -0
- package/dist/index120.js.map +1 -0
- package/dist/index121.cjs +29 -0
- package/dist/index121.cjs.map +1 -0
- package/dist/index121.js +29 -0
- package/dist/index121.js.map +1 -0
- package/dist/index122.cjs +19 -0
- package/dist/index122.cjs.map +1 -0
- package/dist/index122.js +19 -0
- package/dist/index122.js.map +1 -0
- package/dist/index123.cjs +14 -0
- package/dist/index123.cjs.map +1 -0
- package/dist/index123.js +14 -0
- package/dist/index123.js.map +1 -0
- package/dist/index124.cjs +18 -0
- package/dist/index124.cjs.map +1 -0
- package/dist/index124.js +18 -0
- package/dist/index124.js.map +1 -0
- package/dist/index125.cjs +208 -0
- package/dist/index125.cjs.map +1 -0
- package/dist/index125.js +208 -0
- package/dist/index125.js.map +1 -0
- package/dist/index126.cjs +99 -0
- package/dist/index126.cjs.map +1 -0
- package/dist/index126.js +99 -0
- package/dist/index126.js.map +1 -0
- package/dist/index127.cjs +45 -0
- package/dist/index127.cjs.map +1 -0
- package/dist/index127.js +45 -0
- package/dist/index127.js.map +1 -0
- package/dist/index128.cjs +89 -0
- package/dist/index128.cjs.map +1 -0
- package/dist/index128.js +89 -0
- package/dist/index128.js.map +1 -0
- package/dist/index129.cjs +82 -0
- package/dist/index129.cjs.map +1 -0
- package/dist/index129.js +82 -0
- package/dist/index129.js.map +1 -0
- package/dist/index13.cjs +210 -0
- package/dist/index13.cjs.map +1 -0
- package/dist/index13.js +193 -0
- package/dist/index13.js.map +1 -0
- package/dist/index130.cjs +60 -0
- package/dist/index130.cjs.map +1 -0
- package/dist/index130.js +60 -0
- package/dist/index130.js.map +1 -0
- package/dist/index131.cjs +44 -0
- package/dist/index131.cjs.map +1 -0
- package/dist/index131.js +44 -0
- package/dist/index131.js.map +1 -0
- package/dist/index132.cjs +261 -0
- package/dist/index132.cjs.map +1 -0
- package/dist/index132.js +261 -0
- package/dist/index132.js.map +1 -0
- package/dist/index133.cjs +246 -0
- package/dist/index133.cjs.map +1 -0
- package/dist/index133.js +246 -0
- package/dist/index133.js.map +1 -0
- package/dist/index134.cjs +18 -0
- package/dist/index134.cjs.map +1 -0
- package/dist/index134.js +18 -0
- package/dist/index134.js.map +1 -0
- package/dist/index135.cjs +18 -0
- package/dist/index135.cjs.map +1 -0
- package/dist/index135.js +18 -0
- package/dist/index135.js.map +1 -0
- package/dist/index136.cjs +18 -0
- package/dist/index136.cjs.map +1 -0
- package/dist/index136.js +18 -0
- package/dist/index136.js.map +1 -0
- package/dist/index137.cjs +18 -0
- package/dist/index137.cjs.map +1 -0
- package/dist/index137.js +18 -0
- package/dist/index137.js.map +1 -0
- package/dist/index138.cjs +18 -0
- package/dist/index138.cjs.map +1 -0
- package/dist/index138.js +18 -0
- package/dist/index138.js.map +1 -0
- package/dist/index139.cjs +18 -0
- package/dist/index139.cjs.map +1 -0
- package/dist/index139.js +18 -0
- package/dist/index139.js.map +1 -0
- package/dist/index14.cjs +39 -0
- package/dist/index14.cjs.map +1 -0
- package/dist/index14.js +39 -0
- package/dist/index14.js.map +1 -0
- package/dist/index140.cjs +18 -0
- package/dist/index140.cjs.map +1 -0
- package/dist/index140.js +18 -0
- package/dist/index140.js.map +1 -0
- package/dist/index141.cjs +18 -0
- package/dist/index141.cjs.map +1 -0
- package/dist/index141.js +18 -0
- package/dist/index141.js.map +1 -0
- package/dist/index142.cjs +18 -0
- package/dist/index142.cjs.map +1 -0
- package/dist/index142.js +18 -0
- package/dist/index142.js.map +1 -0
- package/dist/index143.cjs +18 -0
- package/dist/index143.cjs.map +1 -0
- package/dist/index143.js +18 -0
- package/dist/index143.js.map +1 -0
- package/dist/index144.cjs +18 -0
- package/dist/index144.cjs.map +1 -0
- package/dist/index144.js +18 -0
- package/dist/index144.js.map +1 -0
- package/dist/index145.cjs +18 -0
- package/dist/index145.cjs.map +1 -0
- package/dist/index145.js +18 -0
- package/dist/index145.js.map +1 -0
- package/dist/index146.cjs +18 -0
- package/dist/index146.cjs.map +1 -0
- package/dist/index146.js +18 -0
- package/dist/index146.js.map +1 -0
- package/dist/index147.cjs +18 -0
- package/dist/index147.cjs.map +1 -0
- package/dist/index147.js +18 -0
- package/dist/index147.js.map +1 -0
- package/dist/index148.cjs +18 -0
- package/dist/index148.cjs.map +1 -0
- package/dist/index148.js +18 -0
- package/dist/index148.js.map +1 -0
- package/dist/index149.cjs +18 -0
- package/dist/index149.cjs.map +1 -0
- package/dist/index149.js +18 -0
- package/dist/index149.js.map +1 -0
- package/dist/index15.cjs +148 -0
- package/dist/index15.cjs.map +1 -0
- package/dist/index15.js +148 -0
- package/dist/index15.js.map +1 -0
- package/dist/index150.cjs +18 -0
- package/dist/index150.cjs.map +1 -0
- package/dist/index150.js +18 -0
- package/dist/index150.js.map +1 -0
- package/dist/index151.cjs +18 -0
- package/dist/index151.cjs.map +1 -0
- package/dist/index151.js +18 -0
- package/dist/index151.js.map +1 -0
- package/dist/index152.cjs +18 -0
- package/dist/index152.cjs.map +1 -0
- package/dist/index152.js +18 -0
- package/dist/index152.js.map +1 -0
- package/dist/index153.cjs +18 -0
- package/dist/index153.cjs.map +1 -0
- package/dist/index153.js +18 -0
- package/dist/index153.js.map +1 -0
- package/dist/index154.cjs +18 -0
- package/dist/index154.cjs.map +1 -0
- package/dist/index154.js +18 -0
- package/dist/index154.js.map +1 -0
- package/dist/index155.cjs +18 -0
- package/dist/index155.cjs.map +1 -0
- package/dist/index155.js +18 -0
- package/dist/index155.js.map +1 -0
- package/dist/index156.cjs +18 -0
- package/dist/index156.cjs.map +1 -0
- package/dist/index156.js +18 -0
- package/dist/index156.js.map +1 -0
- package/dist/index157.cjs +18 -0
- package/dist/index157.cjs.map +1 -0
- package/dist/index157.js +18 -0
- package/dist/index157.js.map +1 -0
- package/dist/index158.cjs +18 -0
- package/dist/index158.cjs.map +1 -0
- package/dist/index158.js +18 -0
- package/dist/index158.js.map +1 -0
- package/dist/index159.cjs +18 -0
- package/dist/index159.cjs.map +1 -0
- package/dist/index159.js +18 -0
- package/dist/index159.js.map +1 -0
- package/dist/index16.cjs +33 -0
- package/dist/index16.cjs.map +1 -0
- package/dist/index16.js +33 -0
- package/dist/index16.js.map +1 -0
- package/dist/index160.cjs +18 -0
- package/dist/index160.cjs.map +1 -0
- package/dist/index160.js +18 -0
- package/dist/index160.js.map +1 -0
- package/dist/index161.cjs +18 -0
- package/dist/index161.cjs.map +1 -0
- package/dist/index161.js +18 -0
- package/dist/index161.js.map +1 -0
- package/dist/index162.cjs +18 -0
- package/dist/index162.cjs.map +1 -0
- package/dist/index162.js +18 -0
- package/dist/index162.js.map +1 -0
- package/dist/index163.cjs +18 -0
- package/dist/index163.cjs.map +1 -0
- package/dist/index163.js +18 -0
- package/dist/index163.js.map +1 -0
- package/dist/index164.cjs +18 -0
- package/dist/index164.cjs.map +1 -0
- package/dist/index164.js +18 -0
- package/dist/index164.js.map +1 -0
- package/dist/index165.cjs +18 -0
- package/dist/index165.cjs.map +1 -0
- package/dist/index165.js +18 -0
- package/dist/index165.js.map +1 -0
- package/dist/index166.cjs +18 -0
- package/dist/index166.cjs.map +1 -0
- package/dist/index166.js +18 -0
- package/dist/index166.js.map +1 -0
- package/dist/index167.cjs +18 -0
- package/dist/index167.cjs.map +1 -0
- package/dist/index167.js +18 -0
- package/dist/index167.js.map +1 -0
- package/dist/index168.cjs +18 -0
- package/dist/index168.cjs.map +1 -0
- package/dist/index168.js +18 -0
- package/dist/index168.js.map +1 -0
- package/dist/index169.cjs +18 -0
- package/dist/index169.cjs.map +1 -0
- package/dist/index169.js +18 -0
- package/dist/index169.js.map +1 -0
- package/dist/index17.cjs +11 -0
- package/dist/index17.cjs.map +1 -0
- package/dist/index17.js +11 -0
- package/dist/index17.js.map +1 -0
- package/dist/index170.cjs +18 -0
- package/dist/index170.cjs.map +1 -0
- package/dist/index170.js +18 -0
- package/dist/index170.js.map +1 -0
- package/dist/index171.cjs +18 -0
- package/dist/index171.cjs.map +1 -0
- package/dist/index171.js +18 -0
- package/dist/index171.js.map +1 -0
- package/dist/index172.cjs +18 -0
- package/dist/index172.cjs.map +1 -0
- package/dist/index172.js +18 -0
- package/dist/index172.js.map +1 -0
- package/dist/index173.cjs +18 -0
- package/dist/index173.cjs.map +1 -0
- package/dist/index173.js +18 -0
- package/dist/index173.js.map +1 -0
- package/dist/index174.cjs +18 -0
- package/dist/index174.cjs.map +1 -0
- package/dist/index174.js +18 -0
- package/dist/index174.js.map +1 -0
- package/dist/index175.cjs +18 -0
- package/dist/index175.cjs.map +1 -0
- package/dist/index175.js +18 -0
- package/dist/index175.js.map +1 -0
- package/dist/index176.cjs +18 -0
- package/dist/index176.cjs.map +1 -0
- package/dist/index176.js +18 -0
- package/dist/index176.js.map +1 -0
- package/dist/index177.cjs +18 -0
- package/dist/index177.cjs.map +1 -0
- package/dist/index177.js +18 -0
- package/dist/index177.js.map +1 -0
- package/dist/index178.cjs +18 -0
- package/dist/index178.cjs.map +1 -0
- package/dist/index178.js +18 -0
- package/dist/index178.js.map +1 -0
- package/dist/index179.cjs +18 -0
- package/dist/index179.cjs.map +1 -0
- package/dist/index179.js +18 -0
- package/dist/index179.js.map +1 -0
- package/dist/index18.cjs +14 -0
- package/dist/index18.cjs.map +1 -0
- package/dist/index18.js +14 -0
- package/dist/index18.js.map +1 -0
- package/dist/index180.cjs +18 -0
- package/dist/index180.cjs.map +1 -0
- package/dist/index180.js +18 -0
- package/dist/index180.js.map +1 -0
- package/dist/index181.cjs +18 -0
- package/dist/index181.cjs.map +1 -0
- package/dist/index181.js +18 -0
- package/dist/index181.js.map +1 -0
- package/dist/index182.cjs +18 -0
- package/dist/index182.cjs.map +1 -0
- package/dist/index182.js +18 -0
- package/dist/index182.js.map +1 -0
- package/dist/index183.cjs +18 -0
- package/dist/index183.cjs.map +1 -0
- package/dist/index183.js +18 -0
- package/dist/index183.js.map +1 -0
- package/dist/index184.cjs +18 -0
- package/dist/index184.cjs.map +1 -0
- package/dist/index184.js +18 -0
- package/dist/index184.js.map +1 -0
- package/dist/index185.cjs +18 -0
- package/dist/index185.cjs.map +1 -0
- package/dist/index185.js +18 -0
- package/dist/index185.js.map +1 -0
- package/dist/index186.cjs +18 -0
- package/dist/index186.cjs.map +1 -0
- package/dist/index186.js +18 -0
- package/dist/index186.js.map +1 -0
- package/dist/index187.cjs +18 -0
- package/dist/index187.cjs.map +1 -0
- package/dist/index187.js +18 -0
- package/dist/index187.js.map +1 -0
- package/dist/index188.cjs +18 -0
- package/dist/index188.cjs.map +1 -0
- package/dist/index188.js +18 -0
- package/dist/index188.js.map +1 -0
- package/dist/index189.cjs +18 -0
- package/dist/index189.cjs.map +1 -0
- package/dist/index189.js +18 -0
- package/dist/index189.js.map +1 -0
- package/dist/index19.cjs +28 -0
- package/dist/index19.cjs.map +1 -0
- package/dist/index19.js +28 -0
- package/dist/index19.js.map +1 -0
- package/dist/index190.cjs +18 -0
- package/dist/index190.cjs.map +1 -0
- package/dist/index190.js +18 -0
- package/dist/index190.js.map +1 -0
- package/dist/index191.cjs +18 -0
- package/dist/index191.cjs.map +1 -0
- package/dist/index191.js +18 -0
- package/dist/index191.js.map +1 -0
- package/dist/index192.cjs +18 -0
- package/dist/index192.cjs.map +1 -0
- package/dist/index192.js +18 -0
- package/dist/index192.js.map +1 -0
- package/dist/index193.cjs +18 -0
- package/dist/index193.cjs.map +1 -0
- package/dist/index193.js +18 -0
- package/dist/index193.js.map +1 -0
- package/dist/index194.cjs +18 -0
- package/dist/index194.cjs.map +1 -0
- package/dist/index194.js +18 -0
- package/dist/index194.js.map +1 -0
- package/dist/index195.cjs +18 -0
- package/dist/index195.cjs.map +1 -0
- package/dist/index195.js +18 -0
- package/dist/index195.js.map +1 -0
- package/dist/index196.cjs +18 -0
- package/dist/index196.cjs.map +1 -0
- package/dist/index196.js +18 -0
- package/dist/index196.js.map +1 -0
- package/dist/index197.cjs +18 -0
- package/dist/index197.cjs.map +1 -0
- package/dist/index197.js +18 -0
- package/dist/index197.js.map +1 -0
- package/dist/index198.cjs +18 -0
- package/dist/index198.cjs.map +1 -0
- package/dist/index198.js +18 -0
- package/dist/index198.js.map +1 -0
- package/dist/index199.cjs +18 -0
- package/dist/index199.cjs.map +1 -0
- package/dist/index199.js +18 -0
- package/dist/index199.js.map +1 -0
- package/dist/index2.cjs +144 -0
- package/dist/index2.cjs.map +1 -0
- package/dist/index2.js +144 -0
- package/dist/index2.js.map +1 -0
- package/dist/index20.cjs +130 -0
- package/dist/index20.cjs.map +1 -0
- package/dist/index20.js +113 -0
- package/dist/index20.js.map +1 -0
- package/dist/index200.cjs +18 -0
- package/dist/index200.cjs.map +1 -0
- package/dist/index200.js +18 -0
- package/dist/index200.js.map +1 -0
- package/dist/index201.cjs +18 -0
- package/dist/index201.cjs.map +1 -0
- package/dist/index201.js +18 -0
- package/dist/index201.js.map +1 -0
- package/dist/index202.cjs +18 -0
- package/dist/index202.cjs.map +1 -0
- package/dist/index202.js +18 -0
- package/dist/index202.js.map +1 -0
- package/dist/index203.cjs +18 -0
- package/dist/index203.cjs.map +1 -0
- package/dist/index203.js +18 -0
- package/dist/index203.js.map +1 -0
- package/dist/index204.cjs +18 -0
- package/dist/index204.cjs.map +1 -0
- package/dist/index204.js +18 -0
- package/dist/index204.js.map +1 -0
- package/dist/index205.cjs +18 -0
- package/dist/index205.cjs.map +1 -0
- package/dist/index205.js +18 -0
- package/dist/index205.js.map +1 -0
- package/dist/index206.cjs +18 -0
- package/dist/index206.cjs.map +1 -0
- package/dist/index206.js +18 -0
- package/dist/index206.js.map +1 -0
- package/dist/index207.cjs +18 -0
- package/dist/index207.cjs.map +1 -0
- package/dist/index207.js +18 -0
- package/dist/index207.js.map +1 -0
- package/dist/index208.cjs +18 -0
- package/dist/index208.cjs.map +1 -0
- package/dist/index208.js +18 -0
- package/dist/index208.js.map +1 -0
- package/dist/index209.cjs +18 -0
- package/dist/index209.cjs.map +1 -0
- package/dist/index209.js +18 -0
- package/dist/index209.js.map +1 -0
- package/dist/index21.cjs +20 -0
- package/dist/index21.cjs.map +1 -0
- package/dist/index21.js +20 -0
- package/dist/index21.js.map +1 -0
- package/dist/index210.cjs +18 -0
- package/dist/index210.cjs.map +1 -0
- package/dist/index210.js +18 -0
- package/dist/index210.js.map +1 -0
- package/dist/index211.cjs +18 -0
- package/dist/index211.cjs.map +1 -0
- package/dist/index211.js +18 -0
- package/dist/index211.js.map +1 -0
- package/dist/index212.cjs +18 -0
- package/dist/index212.cjs.map +1 -0
- package/dist/index212.js +18 -0
- package/dist/index212.js.map +1 -0
- package/dist/index213.cjs +18 -0
- package/dist/index213.cjs.map +1 -0
- package/dist/index213.js +18 -0
- package/dist/index213.js.map +1 -0
- package/dist/index214.cjs +18 -0
- package/dist/index214.cjs.map +1 -0
- package/dist/index214.js +18 -0
- package/dist/index214.js.map +1 -0
- package/dist/index215.cjs +18 -0
- package/dist/index215.cjs.map +1 -0
- package/dist/index215.js +18 -0
- package/dist/index215.js.map +1 -0
- package/dist/index216.cjs +18 -0
- package/dist/index216.cjs.map +1 -0
- package/dist/index216.js +18 -0
- package/dist/index216.js.map +1 -0
- package/dist/index217.cjs +18 -0
- package/dist/index217.cjs.map +1 -0
- package/dist/index217.js +18 -0
- package/dist/index217.js.map +1 -0
- package/dist/index218.cjs +18 -0
- package/dist/index218.cjs.map +1 -0
- package/dist/index218.js +18 -0
- package/dist/index218.js.map +1 -0
- package/dist/index219.cjs +18 -0
- package/dist/index219.cjs.map +1 -0
- package/dist/index219.js +18 -0
- package/dist/index219.js.map +1 -0
- package/dist/index22.cjs +30 -0
- package/dist/index22.cjs.map +1 -0
- package/dist/index22.js +30 -0
- package/dist/index22.js.map +1 -0
- package/dist/index220.cjs +18 -0
- package/dist/index220.cjs.map +1 -0
- package/dist/index220.js +18 -0
- package/dist/index220.js.map +1 -0
- package/dist/index221.cjs +18 -0
- package/dist/index221.cjs.map +1 -0
- package/dist/index221.js +18 -0
- package/dist/index221.js.map +1 -0
- package/dist/index222.cjs +18 -0
- package/dist/index222.cjs.map +1 -0
- package/dist/index222.js +18 -0
- package/dist/index222.js.map +1 -0
- package/dist/index223.cjs +18 -0
- package/dist/index223.cjs.map +1 -0
- package/dist/index223.js +18 -0
- package/dist/index223.js.map +1 -0
- package/dist/index224.cjs +18 -0
- package/dist/index224.cjs.map +1 -0
- package/dist/index224.js +18 -0
- package/dist/index224.js.map +1 -0
- package/dist/index225.cjs +18 -0
- package/dist/index225.cjs.map +1 -0
- package/dist/index225.js +18 -0
- package/dist/index225.js.map +1 -0
- package/dist/index226.cjs +18 -0
- package/dist/index226.cjs.map +1 -0
- package/dist/index226.js +18 -0
- package/dist/index226.js.map +1 -0
- package/dist/index227.cjs +18 -0
- package/dist/index227.cjs.map +1 -0
- package/dist/index227.js +18 -0
- package/dist/index227.js.map +1 -0
- package/dist/index228.cjs +18 -0
- package/dist/index228.cjs.map +1 -0
- package/dist/index228.js +18 -0
- package/dist/index228.js.map +1 -0
- package/dist/index229.cjs +18 -0
- package/dist/index229.cjs.map +1 -0
- package/dist/index229.js +18 -0
- package/dist/index229.js.map +1 -0
- package/dist/index23.cjs +223 -0
- package/dist/index23.cjs.map +1 -0
- package/dist/index23.js +223 -0
- package/dist/index23.js.map +1 -0
- package/dist/index230.cjs +18 -0
- package/dist/index230.cjs.map +1 -0
- package/dist/index230.js +18 -0
- package/dist/index230.js.map +1 -0
- package/dist/index231.cjs +18 -0
- package/dist/index231.cjs.map +1 -0
- package/dist/index231.js +18 -0
- package/dist/index231.js.map +1 -0
- package/dist/index232.cjs +18 -0
- package/dist/index232.cjs.map +1 -0
- package/dist/index232.js +18 -0
- package/dist/index232.js.map +1 -0
- package/dist/index233.cjs +18 -0
- package/dist/index233.cjs.map +1 -0
- package/dist/index233.js +18 -0
- package/dist/index233.js.map +1 -0
- package/dist/index234.cjs +18 -0
- package/dist/index234.cjs.map +1 -0
- package/dist/index234.js +18 -0
- package/dist/index234.js.map +1 -0
- package/dist/index235.cjs +18 -0
- package/dist/index235.cjs.map +1 -0
- package/dist/index235.js +18 -0
- package/dist/index235.js.map +1 -0
- package/dist/index236.cjs +18 -0
- package/dist/index236.cjs.map +1 -0
- package/dist/index236.js +18 -0
- package/dist/index236.js.map +1 -0
- package/dist/index237.cjs +18 -0
- package/dist/index237.cjs.map +1 -0
- package/dist/index237.js +18 -0
- package/dist/index237.js.map +1 -0
- package/dist/index238.cjs +18 -0
- package/dist/index238.cjs.map +1 -0
- package/dist/index238.js +18 -0
- package/dist/index238.js.map +1 -0
- package/dist/index239.cjs +18 -0
- package/dist/index239.cjs.map +1 -0
- package/dist/index239.js +18 -0
- package/dist/index239.js.map +1 -0
- package/dist/index24.cjs +56 -0
- package/dist/index24.cjs.map +1 -0
- package/dist/index24.js +56 -0
- package/dist/index24.js.map +1 -0
- package/dist/index240.cjs +18 -0
- package/dist/index240.cjs.map +1 -0
- package/dist/index240.js +18 -0
- package/dist/index240.js.map +1 -0
- package/dist/index241.cjs +18 -0
- package/dist/index241.cjs.map +1 -0
- package/dist/index241.js +18 -0
- package/dist/index241.js.map +1 -0
- package/dist/index242.cjs +18 -0
- package/dist/index242.cjs.map +1 -0
- package/dist/index242.js +18 -0
- package/dist/index242.js.map +1 -0
- package/dist/index243.cjs +18 -0
- package/dist/index243.cjs.map +1 -0
- package/dist/index243.js +18 -0
- package/dist/index243.js.map +1 -0
- package/dist/index244.cjs +18 -0
- package/dist/index244.cjs.map +1 -0
- package/dist/index244.js +18 -0
- package/dist/index244.js.map +1 -0
- package/dist/index245.cjs +18 -0
- package/dist/index245.cjs.map +1 -0
- package/dist/index245.js +18 -0
- package/dist/index245.js.map +1 -0
- package/dist/index246.cjs +18 -0
- package/dist/index246.cjs.map +1 -0
- package/dist/index246.js +18 -0
- package/dist/index246.js.map +1 -0
- package/dist/index247.cjs +18 -0
- package/dist/index247.cjs.map +1 -0
- package/dist/index247.js +18 -0
- package/dist/index247.js.map +1 -0
- package/dist/index248.cjs +18 -0
- package/dist/index248.cjs.map +1 -0
- package/dist/index248.js +18 -0
- package/dist/index248.js.map +1 -0
- package/dist/index249.cjs +18 -0
- package/dist/index249.cjs.map +1 -0
- package/dist/index249.js +18 -0
- package/dist/index249.js.map +1 -0
- package/dist/index25.cjs +64 -0
- package/dist/index25.cjs.map +1 -0
- package/dist/index25.js +47 -0
- package/dist/index25.js.map +1 -0
- package/dist/index250.cjs +18 -0
- package/dist/index250.cjs.map +1 -0
- package/dist/index250.js +18 -0
- package/dist/index250.js.map +1 -0
- package/dist/index251.cjs +18 -0
- package/dist/index251.cjs.map +1 -0
- package/dist/index251.js +18 -0
- package/dist/index251.js.map +1 -0
- package/dist/index252.cjs +18 -0
- package/dist/index252.cjs.map +1 -0
- package/dist/index252.js +18 -0
- package/dist/index252.js.map +1 -0
- package/dist/index253.cjs +18 -0
- package/dist/index253.cjs.map +1 -0
- package/dist/index253.js +18 -0
- package/dist/index253.js.map +1 -0
- package/dist/index254.cjs +18 -0
- package/dist/index254.cjs.map +1 -0
- package/dist/index254.js +18 -0
- package/dist/index254.js.map +1 -0
- package/dist/index255.cjs +18 -0
- package/dist/index255.cjs.map +1 -0
- package/dist/index255.js +18 -0
- package/dist/index255.js.map +1 -0
- package/dist/index256.cjs +18 -0
- package/dist/index256.cjs.map +1 -0
- package/dist/index256.js +18 -0
- package/dist/index256.js.map +1 -0
- package/dist/index257.cjs +18 -0
- package/dist/index257.cjs.map +1 -0
- package/dist/index257.js +18 -0
- package/dist/index257.js.map +1 -0
- package/dist/index258.cjs +18 -0
- package/dist/index258.cjs.map +1 -0
- package/dist/index258.js +18 -0
- package/dist/index258.js.map +1 -0
- package/dist/index259.cjs +18 -0
- package/dist/index259.cjs.map +1 -0
- package/dist/index259.js +18 -0
- package/dist/index259.js.map +1 -0
- package/dist/index26.cjs +95 -0
- package/dist/index26.cjs.map +1 -0
- package/dist/index26.js +95 -0
- package/dist/index26.js.map +1 -0
- package/dist/index260.cjs +18 -0
- package/dist/index260.cjs.map +1 -0
- package/dist/index260.js +18 -0
- package/dist/index260.js.map +1 -0
- package/dist/index261.cjs +18 -0
- package/dist/index261.cjs.map +1 -0
- package/dist/index261.js +18 -0
- package/dist/index261.js.map +1 -0
- package/dist/index262.cjs +18 -0
- package/dist/index262.cjs.map +1 -0
- package/dist/index262.js +18 -0
- package/dist/index262.js.map +1 -0
- package/dist/index263.cjs +18 -0
- package/dist/index263.cjs.map +1 -0
- package/dist/index263.js +18 -0
- package/dist/index263.js.map +1 -0
- package/dist/index264.cjs +18 -0
- package/dist/index264.cjs.map +1 -0
- package/dist/index264.js +18 -0
- package/dist/index264.js.map +1 -0
- package/dist/index265.cjs +18 -0
- package/dist/index265.cjs.map +1 -0
- package/dist/index265.js +18 -0
- package/dist/index265.js.map +1 -0
- package/dist/index266.cjs +18 -0
- package/dist/index266.cjs.map +1 -0
- package/dist/index266.js +18 -0
- package/dist/index266.js.map +1 -0
- package/dist/index267.cjs +18 -0
- package/dist/index267.cjs.map +1 -0
- package/dist/index267.js +18 -0
- package/dist/index267.js.map +1 -0
- package/dist/index268.cjs +18 -0
- package/dist/index268.cjs.map +1 -0
- package/dist/index268.js +18 -0
- package/dist/index268.js.map +1 -0
- package/dist/index269.cjs +18 -0
- package/dist/index269.cjs.map +1 -0
- package/dist/index269.js +18 -0
- package/dist/index269.js.map +1 -0
- package/dist/index27.cjs +47 -0
- package/dist/index27.cjs.map +1 -0
- package/dist/index27.js +47 -0
- package/dist/index27.js.map +1 -0
- package/dist/index270.cjs +18 -0
- package/dist/index270.cjs.map +1 -0
- package/dist/index270.js +18 -0
- package/dist/index270.js.map +1 -0
- package/dist/index271.cjs +18 -0
- package/dist/index271.cjs.map +1 -0
- package/dist/index271.js +18 -0
- package/dist/index271.js.map +1 -0
- package/dist/index272.cjs +18 -0
- package/dist/index272.cjs.map +1 -0
- package/dist/index272.js +18 -0
- package/dist/index272.js.map +1 -0
- package/dist/index273.cjs +18 -0
- package/dist/index273.cjs.map +1 -0
- package/dist/index273.js +18 -0
- package/dist/index273.js.map +1 -0
- package/dist/index274.cjs +18 -0
- package/dist/index274.cjs.map +1 -0
- package/dist/index274.js +18 -0
- package/dist/index274.js.map +1 -0
- package/dist/index275.cjs +18 -0
- package/dist/index275.cjs.map +1 -0
- package/dist/index275.js +18 -0
- package/dist/index275.js.map +1 -0
- package/dist/index276.cjs +18 -0
- package/dist/index276.cjs.map +1 -0
- package/dist/index276.js +18 -0
- package/dist/index276.js.map +1 -0
- package/dist/index277.cjs +18 -0
- package/dist/index277.cjs.map +1 -0
- package/dist/index277.js +18 -0
- package/dist/index277.js.map +1 -0
- package/dist/index278.cjs +18 -0
- package/dist/index278.cjs.map +1 -0
- package/dist/index278.js +18 -0
- package/dist/index278.js.map +1 -0
- package/dist/index279.cjs +18 -0
- package/dist/index279.cjs.map +1 -0
- package/dist/index279.js +18 -0
- package/dist/index279.js.map +1 -0
- package/dist/index28.cjs +90 -0
- package/dist/index28.cjs.map +1 -0
- package/dist/index28.js +90 -0
- package/dist/index28.js.map +1 -0
- package/dist/index280.cjs +18 -0
- package/dist/index280.cjs.map +1 -0
- package/dist/index280.js +18 -0
- package/dist/index280.js.map +1 -0
- package/dist/index281.cjs +18 -0
- package/dist/index281.cjs.map +1 -0
- package/dist/index281.js +18 -0
- package/dist/index281.js.map +1 -0
- package/dist/index282.cjs +18 -0
- package/dist/index282.cjs.map +1 -0
- package/dist/index282.js +18 -0
- package/dist/index282.js.map +1 -0
- package/dist/index283.cjs +18 -0
- package/dist/index283.cjs.map +1 -0
- package/dist/index283.js +18 -0
- package/dist/index283.js.map +1 -0
- package/dist/index284.cjs +18 -0
- package/dist/index284.cjs.map +1 -0
- package/dist/index284.js +18 -0
- package/dist/index284.js.map +1 -0
- package/dist/index285.cjs +18 -0
- package/dist/index285.cjs.map +1 -0
- package/dist/index285.js +18 -0
- package/dist/index285.js.map +1 -0
- package/dist/index286.cjs +87 -0
- package/dist/index286.cjs.map +1 -0
- package/dist/index286.js +87 -0
- package/dist/index286.js.map +1 -0
- package/dist/index287.cjs +35 -0
- package/dist/index287.cjs.map +1 -0
- package/dist/index287.js +35 -0
- package/dist/index287.js.map +1 -0
- package/dist/index288.cjs +17 -0
- package/dist/index288.cjs.map +1 -0
- package/dist/index288.js +17 -0
- package/dist/index288.js.map +1 -0
- package/dist/index289.cjs +17 -0
- package/dist/index289.cjs.map +1 -0
- package/dist/index289.js +17 -0
- package/dist/index289.js.map +1 -0
- package/dist/index29.cjs +17 -0
- package/dist/index29.cjs.map +1 -0
- package/dist/index29.js +17 -0
- package/dist/index29.js.map +1 -0
- package/dist/index290.cjs +17 -0
- package/dist/index290.cjs.map +1 -0
- package/dist/index290.js +17 -0
- package/dist/index290.js.map +1 -0
- package/dist/index291.cjs +30 -0
- package/dist/index291.cjs.map +1 -0
- package/dist/index291.js +30 -0
- package/dist/index291.js.map +1 -0
- package/dist/index292.cjs +33 -0
- package/dist/index292.cjs.map +1 -0
- package/dist/index292.js +33 -0
- package/dist/index292.js.map +1 -0
- package/dist/index293.cjs +19 -0
- package/dist/index293.cjs.map +1 -0
- package/dist/index293.js +19 -0
- package/dist/index293.js.map +1 -0
- package/dist/index294.cjs +20 -0
- package/dist/index294.cjs.map +1 -0
- package/dist/index294.js +20 -0
- package/dist/index294.js.map +1 -0
- package/dist/index295.cjs +17 -0
- package/dist/index295.cjs.map +1 -0
- package/dist/index295.js +17 -0
- package/dist/index295.js.map +1 -0
- package/dist/index296.cjs +17 -0
- package/dist/index296.cjs.map +1 -0
- package/dist/index296.js +17 -0
- package/dist/index296.js.map +1 -0
- package/dist/index297.cjs +26 -0
- package/dist/index297.cjs.map +1 -0
- package/dist/index297.js +26 -0
- package/dist/index297.js.map +1 -0
- package/dist/index298.cjs +22 -0
- package/dist/index298.cjs.map +1 -0
- package/dist/index298.js +22 -0
- package/dist/index298.js.map +1 -0
- package/dist/index299.cjs +23 -0
- package/dist/index299.cjs.map +1 -0
- package/dist/index299.js +23 -0
- package/dist/index299.js.map +1 -0
- package/dist/index3.cjs +69 -0
- package/dist/index3.cjs.map +1 -0
- package/dist/index3.js +69 -0
- package/dist/index3.js.map +1 -0
- package/dist/index30.cjs +66 -0
- package/dist/index30.cjs.map +1 -0
- package/dist/index30.js +49 -0
- package/dist/index30.js.map +1 -0
- package/dist/index300.cjs +57 -0
- package/dist/index300.cjs.map +1 -0
- package/dist/index300.js +57 -0
- package/dist/index300.js.map +1 -0
- package/dist/index301.cjs +18 -0
- package/dist/index301.cjs.map +1 -0
- package/dist/index301.js +18 -0
- package/dist/index301.js.map +1 -0
- package/dist/index302.cjs +14 -0
- package/dist/index302.cjs.map +1 -0
- package/dist/index302.js +14 -0
- package/dist/index302.js.map +1 -0
- package/dist/index303.cjs +19 -0
- package/dist/index303.cjs.map +1 -0
- package/dist/index303.js +19 -0
- package/dist/index303.js.map +1 -0
- package/dist/index304.cjs +19 -0
- package/dist/index304.cjs.map +1 -0
- package/dist/index304.js +19 -0
- package/dist/index304.js.map +1 -0
- package/dist/index305.cjs +20 -0
- package/dist/index305.cjs.map +1 -0
- package/dist/index305.js +20 -0
- package/dist/index305.js.map +1 -0
- package/dist/index306.cjs +58 -0
- package/dist/index306.cjs.map +1 -0
- package/dist/index306.js +58 -0
- package/dist/index306.js.map +1 -0
- package/dist/index307.cjs +20 -0
- package/dist/index307.cjs.map +1 -0
- package/dist/index307.js +20 -0
- package/dist/index307.js.map +1 -0
- package/dist/index308.cjs +21 -0
- package/dist/index308.cjs.map +1 -0
- package/dist/index308.js +21 -0
- package/dist/index308.js.map +1 -0
- package/dist/index309.cjs +19 -0
- package/dist/index309.cjs.map +1 -0
- package/dist/index309.js +19 -0
- package/dist/index309.js.map +1 -0
- package/dist/index31.cjs +101 -0
- package/dist/index31.cjs.map +1 -0
- package/dist/index31.js +84 -0
- package/dist/index31.js.map +1 -0
- package/dist/index310.cjs +21 -0
- package/dist/index310.cjs.map +1 -0
- package/dist/index310.js +21 -0
- package/dist/index310.js.map +1 -0
- package/dist/index311.cjs +23 -0
- package/dist/index311.cjs.map +1 -0
- package/dist/index311.js +23 -0
- package/dist/index311.js.map +1 -0
- package/dist/index312.cjs +18 -0
- package/dist/index312.cjs.map +1 -0
- package/dist/index312.js +18 -0
- package/dist/index312.js.map +1 -0
- package/dist/index313.cjs +18 -0
- package/dist/index313.cjs.map +1 -0
- package/dist/index313.js +18 -0
- package/dist/index313.js.map +1 -0
- package/dist/index314.cjs +48 -0
- package/dist/index314.cjs.map +1 -0
- package/dist/index314.js +48 -0
- package/dist/index314.js.map +1 -0
- package/dist/index315.cjs +42 -0
- package/dist/index315.cjs.map +1 -0
- package/dist/index315.js +42 -0
- package/dist/index315.js.map +1 -0
- package/dist/index316.cjs +17 -0
- package/dist/index316.cjs.map +1 -0
- package/dist/index316.js +17 -0
- package/dist/index316.js.map +1 -0
- package/dist/index317.cjs +21 -0
- package/dist/index317.cjs.map +1 -0
- package/dist/index317.js +21 -0
- package/dist/index317.js.map +1 -0
- package/dist/index318.cjs +17 -0
- package/dist/index318.cjs.map +1 -0
- package/dist/index318.js +17 -0
- package/dist/index318.js.map +1 -0
- package/dist/index319.cjs +17 -0
- package/dist/index319.cjs.map +1 -0
- package/dist/index319.js +17 -0
- package/dist/index319.js.map +1 -0
- package/dist/index32.cjs +199 -0
- package/dist/index32.cjs.map +1 -0
- package/dist/index32.js +199 -0
- package/dist/index32.js.map +1 -0
- package/dist/index320.cjs +14 -0
- package/dist/index320.cjs.map +1 -0
- package/dist/index320.js +14 -0
- package/dist/index320.js.map +1 -0
- package/dist/index321.cjs +14 -0
- package/dist/index321.cjs.map +1 -0
- package/dist/index321.js +14 -0
- package/dist/index321.js.map +1 -0
- package/dist/index322.cjs +15 -0
- package/dist/index322.cjs.map +1 -0
- package/dist/index322.js +15 -0
- package/dist/index322.js.map +1 -0
- package/dist/index323.cjs +18 -0
- package/dist/index323.cjs.map +1 -0
- package/dist/index323.js +18 -0
- package/dist/index323.js.map +1 -0
- package/dist/index324.cjs +12 -0
- package/dist/index324.cjs.map +1 -0
- package/dist/index324.js +12 -0
- package/dist/index324.js.map +1 -0
- package/dist/index325.cjs +13 -0
- package/dist/index325.cjs.map +1 -0
- package/dist/index325.js +13 -0
- package/dist/index325.js.map +1 -0
- package/dist/index326.cjs +15 -0
- package/dist/index326.cjs.map +1 -0
- package/dist/index326.js +15 -0
- package/dist/index326.js.map +1 -0
- package/dist/index327.cjs +13 -0
- package/dist/index327.cjs.map +1 -0
- package/dist/index327.js +13 -0
- package/dist/index327.js.map +1 -0
- package/dist/index328.cjs +15 -0
- package/dist/index328.cjs.map +1 -0
- package/dist/index328.js +15 -0
- package/dist/index328.js.map +1 -0
- package/dist/index329.cjs +12 -0
- package/dist/index329.cjs.map +1 -0
- package/dist/index329.js +12 -0
- package/dist/index329.js.map +1 -0
- package/dist/index33.cjs +20 -0
- package/dist/index33.cjs.map +1 -0
- package/dist/index33.js +20 -0
- package/dist/index33.js.map +1 -0
- package/dist/index330.cjs +16 -0
- package/dist/index330.cjs.map +1 -0
- package/dist/index330.js +16 -0
- package/dist/index330.js.map +1 -0
- package/dist/index331.cjs +14 -0
- package/dist/index331.cjs.map +1 -0
- package/dist/index331.js +14 -0
- package/dist/index331.js.map +1 -0
- package/dist/index332.cjs +15 -0
- package/dist/index332.cjs.map +1 -0
- package/dist/index332.js +15 -0
- package/dist/index332.js.map +1 -0
- package/dist/index333.cjs +13 -0
- package/dist/index333.cjs.map +1 -0
- package/dist/index333.js +13 -0
- package/dist/index333.js.map +1 -0
- package/dist/index334.cjs +13 -0
- package/dist/index334.cjs.map +1 -0
- package/dist/index334.js +13 -0
- package/dist/index334.js.map +1 -0
- package/dist/index335.cjs +12 -0
- package/dist/index335.cjs.map +1 -0
- package/dist/index335.js +12 -0
- package/dist/index335.js.map +1 -0
- package/dist/index336.cjs +13 -0
- package/dist/index336.cjs.map +1 -0
- package/dist/index336.js +13 -0
- package/dist/index336.js.map +1 -0
- package/dist/index337.cjs +13 -0
- package/dist/index337.cjs.map +1 -0
- package/dist/index337.js +13 -0
- package/dist/index337.js.map +1 -0
- package/dist/index338.cjs +13 -0
- package/dist/index338.cjs.map +1 -0
- package/dist/index338.js +13 -0
- package/dist/index338.js.map +1 -0
- package/dist/index339.cjs +12 -0
- package/dist/index339.cjs.map +1 -0
- package/dist/index339.js +12 -0
- package/dist/index339.js.map +1 -0
- package/dist/index34.cjs +111 -0
- package/dist/index34.cjs.map +1 -0
- package/dist/index34.js +111 -0
- package/dist/index34.js.map +1 -0
- package/dist/index340.cjs +17 -0
- package/dist/index340.cjs.map +1 -0
- package/dist/index340.js +17 -0
- package/dist/index340.js.map +1 -0
- package/dist/index341.cjs +19 -0
- package/dist/index341.cjs.map +1 -0
- package/dist/index341.js +19 -0
- package/dist/index341.js.map +1 -0
- package/dist/index342.cjs +13 -0
- package/dist/index342.cjs.map +1 -0
- package/dist/index342.js +13 -0
- package/dist/index342.js.map +1 -0
- package/dist/index343.cjs +14 -0
- package/dist/index343.cjs.map +1 -0
- package/dist/index343.js +14 -0
- package/dist/index343.js.map +1 -0
- package/dist/index344.cjs +13 -0
- package/dist/index344.cjs.map +1 -0
- package/dist/index344.js +13 -0
- package/dist/index344.js.map +1 -0
- package/dist/index345.cjs +13 -0
- package/dist/index345.cjs.map +1 -0
- package/dist/index345.js +13 -0
- package/dist/index345.js.map +1 -0
- package/dist/index346.cjs +13 -0
- package/dist/index346.cjs.map +1 -0
- package/dist/index346.js +13 -0
- package/dist/index346.js.map +1 -0
- package/dist/index347.cjs +15 -0
- package/dist/index347.cjs.map +1 -0
- package/dist/index347.js +15 -0
- package/dist/index347.js.map +1 -0
- package/dist/index348.cjs +17 -0
- package/dist/index348.cjs.map +1 -0
- package/dist/index348.js +17 -0
- package/dist/index348.js.map +1 -0
- package/dist/index349.cjs +12 -0
- package/dist/index349.cjs.map +1 -0
- package/dist/index349.js +12 -0
- package/dist/index349.js.map +1 -0
- package/dist/index35.cjs +12 -0
- package/dist/index35.cjs.map +1 -0
- package/dist/index35.js +12 -0
- package/dist/index35.js.map +1 -0
- package/dist/index350.cjs +13 -0
- package/dist/index350.cjs.map +1 -0
- package/dist/index350.js +13 -0
- package/dist/index350.js.map +1 -0
- package/dist/index351.cjs +12 -0
- package/dist/index351.cjs.map +1 -0
- package/dist/index351.js +12 -0
- package/dist/index351.js.map +1 -0
- package/dist/index352.cjs +13 -0
- package/dist/index352.cjs.map +1 -0
- package/dist/index352.js +13 -0
- package/dist/index352.js.map +1 -0
- package/dist/index353.cjs +16 -0
- package/dist/index353.cjs.map +1 -0
- package/dist/index353.js +16 -0
- package/dist/index353.js.map +1 -0
- package/dist/index354.cjs +14 -0
- package/dist/index354.cjs.map +1 -0
- package/dist/index354.js +14 -0
- package/dist/index354.js.map +1 -0
- package/dist/index355.cjs +14 -0
- package/dist/index355.cjs.map +1 -0
- package/dist/index355.js +14 -0
- package/dist/index355.js.map +1 -0
- package/dist/index356.cjs +12 -0
- package/dist/index356.cjs.map +1 -0
- package/dist/index356.js +12 -0
- package/dist/index356.js.map +1 -0
- package/dist/index357.cjs +13 -0
- package/dist/index357.cjs.map +1 -0
- package/dist/index357.js +13 -0
- package/dist/index357.js.map +1 -0
- package/dist/index358.cjs +13 -0
- package/dist/index358.cjs.map +1 -0
- package/dist/index358.js +13 -0
- package/dist/index358.js.map +1 -0
- package/dist/index359.cjs +14 -0
- package/dist/index359.cjs.map +1 -0
- package/dist/index359.js +14 -0
- package/dist/index359.js.map +1 -0
- package/dist/index36.cjs +166 -0
- package/dist/index36.cjs.map +1 -0
- package/dist/index36.js +166 -0
- package/dist/index36.js.map +1 -0
- package/dist/index360.cjs +14 -0
- package/dist/index360.cjs.map +1 -0
- package/dist/index360.js +14 -0
- package/dist/index360.js.map +1 -0
- package/dist/index361.cjs +13 -0
- package/dist/index361.cjs.map +1 -0
- package/dist/index361.js +13 -0
- package/dist/index361.js.map +1 -0
- package/dist/index362.cjs +13 -0
- package/dist/index362.cjs.map +1 -0
- package/dist/index362.js +13 -0
- package/dist/index362.js.map +1 -0
- package/dist/index363.cjs +13 -0
- package/dist/index363.cjs.map +1 -0
- package/dist/index363.js +13 -0
- package/dist/index363.js.map +1 -0
- package/dist/index364.cjs +12 -0
- package/dist/index364.cjs.map +1 -0
- package/dist/index364.js +12 -0
- package/dist/index364.js.map +1 -0
- package/dist/index365.cjs +16 -0
- package/dist/index365.cjs.map +1 -0
- package/dist/index365.js +16 -0
- package/dist/index365.js.map +1 -0
- package/dist/index366.cjs +19 -0
- package/dist/index366.cjs.map +1 -0
- package/dist/index366.js +19 -0
- package/dist/index366.js.map +1 -0
- package/dist/index367.cjs +14 -0
- package/dist/index367.cjs.map +1 -0
- package/dist/index367.js +14 -0
- package/dist/index367.js.map +1 -0
- package/dist/index368.cjs +16 -0
- package/dist/index368.cjs.map +1 -0
- package/dist/index368.js +16 -0
- package/dist/index368.js.map +1 -0
- package/dist/index369.cjs +13 -0
- package/dist/index369.cjs.map +1 -0
- package/dist/index369.js +13 -0
- package/dist/index369.js.map +1 -0
- package/dist/index37.cjs +29 -0
- package/dist/index37.cjs.map +1 -0
- package/dist/index37.js +29 -0
- package/dist/index37.js.map +1 -0
- package/dist/index370.cjs +14 -0
- package/dist/index370.cjs.map +1 -0
- package/dist/index370.js +14 -0
- package/dist/index370.js.map +1 -0
- package/dist/index371.cjs +14 -0
- package/dist/index371.cjs.map +1 -0
- package/dist/index371.js +14 -0
- package/dist/index371.js.map +1 -0
- package/dist/index372.cjs +21 -0
- package/dist/index372.cjs.map +1 -0
- package/dist/index372.js +21 -0
- package/dist/index372.js.map +1 -0
- package/dist/index373.cjs +15 -0
- package/dist/index373.cjs.map +1 -0
- package/dist/index373.js +15 -0
- package/dist/index373.js.map +1 -0
- package/dist/index374.cjs +12 -0
- package/dist/index374.cjs.map +1 -0
- package/dist/index374.js +12 -0
- package/dist/index374.js.map +1 -0
- package/dist/index375.cjs +17 -0
- package/dist/index375.cjs.map +1 -0
- package/dist/index375.js +17 -0
- package/dist/index375.js.map +1 -0
- package/dist/index376.cjs +18 -0
- package/dist/index376.cjs.map +1 -0
- package/dist/index376.js +18 -0
- package/dist/index376.js.map +1 -0
- package/dist/index377.cjs +12 -0
- package/dist/index377.cjs.map +1 -0
- package/dist/index377.js +12 -0
- package/dist/index377.js.map +1 -0
- package/dist/index378.cjs +13 -0
- package/dist/index378.cjs.map +1 -0
- package/dist/index378.js +13 -0
- package/dist/index378.js.map +1 -0
- package/dist/index379.cjs +13 -0
- package/dist/index379.cjs.map +1 -0
- package/dist/index379.js +13 -0
- package/dist/index379.js.map +1 -0
- package/dist/index38.cjs +45 -0
- package/dist/index38.cjs.map +1 -0
- package/dist/index38.js +28 -0
- package/dist/index38.js.map +1 -0
- package/dist/index380.cjs +13 -0
- package/dist/index380.cjs.map +1 -0
- package/dist/index380.js +13 -0
- package/dist/index380.js.map +1 -0
- package/dist/index381.cjs +17 -0
- package/dist/index381.cjs.map +1 -0
- package/dist/index381.js +17 -0
- package/dist/index381.js.map +1 -0
- package/dist/index382.cjs +13 -0
- package/dist/index382.cjs.map +1 -0
- package/dist/index382.js +13 -0
- package/dist/index382.js.map +1 -0
- package/dist/index383.cjs +13 -0
- package/dist/index383.cjs.map +1 -0
- package/dist/index383.js +13 -0
- package/dist/index383.js.map +1 -0
- package/dist/index384.cjs +13 -0
- package/dist/index384.cjs.map +1 -0
- package/dist/index384.js +13 -0
- package/dist/index384.js.map +1 -0
- package/dist/index385.cjs +14 -0
- package/dist/index385.cjs.map +1 -0
- package/dist/index385.js +14 -0
- package/dist/index385.js.map +1 -0
- package/dist/index386.cjs +15 -0
- package/dist/index386.cjs.map +1 -0
- package/dist/index386.js +15 -0
- package/dist/index386.js.map +1 -0
- package/dist/index387.cjs +14 -0
- package/dist/index387.cjs.map +1 -0
- package/dist/index387.js +14 -0
- package/dist/index387.js.map +1 -0
- package/dist/index388.cjs +14 -0
- package/dist/index388.cjs.map +1 -0
- package/dist/index388.js +14 -0
- package/dist/index388.js.map +1 -0
- package/dist/index389.cjs +13 -0
- package/dist/index389.cjs.map +1 -0
- package/dist/index389.js +13 -0
- package/dist/index389.js.map +1 -0
- package/dist/index39.cjs +56 -0
- package/dist/index39.cjs.map +1 -0
- package/dist/index39.js +39 -0
- package/dist/index39.js.map +1 -0
- package/dist/index390.cjs +15 -0
- package/dist/index390.cjs.map +1 -0
- package/dist/index390.js +15 -0
- package/dist/index390.js.map +1 -0
- package/dist/index391.cjs +17 -0
- package/dist/index391.cjs.map +1 -0
- package/dist/index391.js +17 -0
- package/dist/index391.js.map +1 -0
- package/dist/index392.cjs +14 -0
- package/dist/index392.cjs.map +1 -0
- package/dist/index392.js +14 -0
- package/dist/index392.js.map +1 -0
- package/dist/index393.cjs +14 -0
- package/dist/index393.cjs.map +1 -0
- package/dist/index393.js +14 -0
- package/dist/index393.js.map +1 -0
- package/dist/index394.cjs +18 -0
- package/dist/index394.cjs.map +1 -0
- package/dist/index394.js +18 -0
- package/dist/index394.js.map +1 -0
- package/dist/index395.cjs +14 -0
- package/dist/index395.cjs.map +1 -0
- package/dist/index395.js +14 -0
- package/dist/index395.js.map +1 -0
- package/dist/index396.cjs +15 -0
- package/dist/index396.cjs.map +1 -0
- package/dist/index396.js +15 -0
- package/dist/index396.js.map +1 -0
- package/dist/index397.cjs +12 -0
- package/dist/index397.cjs.map +1 -0
- package/dist/index397.js +12 -0
- package/dist/index397.js.map +1 -0
- package/dist/index398.cjs +12 -0
- package/dist/index398.cjs.map +1 -0
- package/dist/index398.js +12 -0
- package/dist/index398.js.map +1 -0
- package/dist/index399.cjs +18 -0
- package/dist/index399.cjs.map +1 -0
- package/dist/index399.js +18 -0
- package/dist/index399.js.map +1 -0
- package/dist/index4.cjs +43 -0
- package/dist/index4.cjs.map +1 -0
- package/dist/index4.js +43 -0
- package/dist/index4.js.map +1 -0
- package/dist/index40.cjs +54 -0
- package/dist/index40.cjs.map +1 -0
- package/dist/index40.js +54 -0
- package/dist/index40.js.map +1 -0
- package/dist/index400.cjs +19 -0
- package/dist/index400.cjs.map +1 -0
- package/dist/index400.js +19 -0
- package/dist/index400.js.map +1 -0
- package/dist/index401.cjs +13 -0
- package/dist/index401.cjs.map +1 -0
- package/dist/index401.js +13 -0
- package/dist/index401.js.map +1 -0
- package/dist/index402.cjs +13 -0
- package/dist/index402.cjs.map +1 -0
- package/dist/index402.js +13 -0
- package/dist/index402.js.map +1 -0
- package/dist/index403.cjs +12 -0
- package/dist/index403.cjs.map +1 -0
- package/dist/index403.js +12 -0
- package/dist/index403.js.map +1 -0
- package/dist/index404.cjs +13 -0
- package/dist/index404.cjs.map +1 -0
- package/dist/index404.js +13 -0
- package/dist/index404.js.map +1 -0
- package/dist/index405.cjs +13 -0
- package/dist/index405.cjs.map +1 -0
- package/dist/index405.js +13 -0
- package/dist/index405.js.map +1 -0
- package/dist/index406.cjs +14 -0
- package/dist/index406.cjs.map +1 -0
- package/dist/index406.js +14 -0
- package/dist/index406.js.map +1 -0
- package/dist/index407.cjs +14 -0
- package/dist/index407.cjs.map +1 -0
- package/dist/index407.js +14 -0
- package/dist/index407.js.map +1 -0
- package/dist/index408.cjs +15 -0
- package/dist/index408.cjs.map +1 -0
- package/dist/index408.js +15 -0
- package/dist/index408.js.map +1 -0
- package/dist/index409.cjs +13 -0
- package/dist/index409.cjs.map +1 -0
- package/dist/index409.js +13 -0
- package/dist/index409.js.map +1 -0
- package/dist/index41.cjs +69 -0
- package/dist/index41.cjs.map +1 -0
- package/dist/index41.js +69 -0
- package/dist/index41.js.map +1 -0
- package/dist/index410.cjs +13 -0
- package/dist/index410.cjs.map +1 -0
- package/dist/index410.js +13 -0
- package/dist/index410.js.map +1 -0
- package/dist/index411.cjs +14 -0
- package/dist/index411.cjs.map +1 -0
- package/dist/index411.js +14 -0
- package/dist/index411.js.map +1 -0
- package/dist/index412.cjs +15 -0
- package/dist/index412.cjs.map +1 -0
- package/dist/index412.js +15 -0
- package/dist/index412.js.map +1 -0
- package/dist/index413.cjs +15 -0
- package/dist/index413.cjs.map +1 -0
- package/dist/index413.js +15 -0
- package/dist/index413.js.map +1 -0
- package/dist/index414.cjs +12 -0
- package/dist/index414.cjs.map +1 -0
- package/dist/index414.js +12 -0
- package/dist/index414.js.map +1 -0
- package/dist/index415.cjs +18 -0
- package/dist/index415.cjs.map +1 -0
- package/dist/index415.js +18 -0
- package/dist/index415.js.map +1 -0
- package/dist/index416.cjs +14 -0
- package/dist/index416.cjs.map +1 -0
- package/dist/index416.js +14 -0
- package/dist/index416.js.map +1 -0
- package/dist/index417.cjs +13 -0
- package/dist/index417.cjs.map +1 -0
- package/dist/index417.js +13 -0
- package/dist/index417.js.map +1 -0
- package/dist/index418.cjs +18 -0
- package/dist/index418.cjs.map +1 -0
- package/dist/index418.js +18 -0
- package/dist/index418.js.map +1 -0
- package/dist/index419.cjs +15 -0
- package/dist/index419.cjs.map +1 -0
- package/dist/index419.js +15 -0
- package/dist/index419.js.map +1 -0
- package/dist/index42.cjs +64 -0
- package/dist/index42.cjs.map +1 -0
- package/dist/index42.js +64 -0
- package/dist/index42.js.map +1 -0
- package/dist/index420.cjs +14 -0
- package/dist/index420.cjs.map +1 -0
- package/dist/index420.js +14 -0
- package/dist/index420.js.map +1 -0
- package/dist/index421.cjs +14 -0
- package/dist/index421.cjs.map +1 -0
- package/dist/index421.js +14 -0
- package/dist/index421.js.map +1 -0
- package/dist/index422.cjs +19 -0
- package/dist/index422.cjs.map +1 -0
- package/dist/index422.js +19 -0
- package/dist/index422.js.map +1 -0
- package/dist/index423.cjs +13 -0
- package/dist/index423.cjs.map +1 -0
- package/dist/index423.js +13 -0
- package/dist/index423.js.map +1 -0
- package/dist/index424.cjs +13 -0
- package/dist/index424.cjs.map +1 -0
- package/dist/index424.js +13 -0
- package/dist/index424.js.map +1 -0
- package/dist/index425.cjs +13 -0
- package/dist/index425.cjs.map +1 -0
- package/dist/index425.js +13 -0
- package/dist/index425.js.map +1 -0
- package/dist/index426.cjs +14 -0
- package/dist/index426.cjs.map +1 -0
- package/dist/index426.js +14 -0
- package/dist/index426.js.map +1 -0
- package/dist/index427.cjs +13 -0
- package/dist/index427.cjs.map +1 -0
- package/dist/index427.js +13 -0
- package/dist/index427.js.map +1 -0
- package/dist/index428.cjs +14 -0
- package/dist/index428.cjs.map +1 -0
- package/dist/index428.js +14 -0
- package/dist/index428.js.map +1 -0
- package/dist/index429.cjs +14 -0
- package/dist/index429.cjs.map +1 -0
- package/dist/index429.js +14 -0
- package/dist/index429.js.map +1 -0
- package/dist/index43.cjs +19 -0
- package/dist/index43.cjs.map +1 -0
- package/dist/index43.js +19 -0
- package/dist/index43.js.map +1 -0
- package/dist/index430.cjs +14 -0
- package/dist/index430.cjs.map +1 -0
- package/dist/index430.js +14 -0
- package/dist/index430.js.map +1 -0
- package/dist/index431.cjs +13 -0
- package/dist/index431.cjs.map +1 -0
- package/dist/index431.js +13 -0
- package/dist/index431.js.map +1 -0
- package/dist/index432.cjs +16 -0
- package/dist/index432.cjs.map +1 -0
- package/dist/index432.js +16 -0
- package/dist/index432.js.map +1 -0
- package/dist/index433.cjs +12 -0
- package/dist/index433.cjs.map +1 -0
- package/dist/index433.js +12 -0
- package/dist/index433.js.map +1 -0
- package/dist/index434.cjs +13 -0
- package/dist/index434.cjs.map +1 -0
- package/dist/index434.js +13 -0
- package/dist/index434.js.map +1 -0
- package/dist/index435.cjs +12 -0
- package/dist/index435.cjs.map +1 -0
- package/dist/index435.js +12 -0
- package/dist/index435.js.map +1 -0
- package/dist/index436.cjs +16 -0
- package/dist/index436.cjs.map +1 -0
- package/dist/index436.js +16 -0
- package/dist/index436.js.map +1 -0
- package/dist/index437.cjs +13 -0
- package/dist/index437.cjs.map +1 -0
- package/dist/index437.js +13 -0
- package/dist/index437.js.map +1 -0
- package/dist/index438.cjs +12 -0
- package/dist/index438.cjs.map +1 -0
- package/dist/index438.js +12 -0
- package/dist/index438.js.map +1 -0
- package/dist/index439.cjs +13 -0
- package/dist/index439.cjs.map +1 -0
- package/dist/index439.js +13 -0
- package/dist/index439.js.map +1 -0
- package/dist/index44.cjs +25 -0
- package/dist/index44.cjs.map +1 -0
- package/dist/index44.js +25 -0
- package/dist/index44.js.map +1 -0
- package/dist/index440.cjs +13 -0
- package/dist/index440.cjs.map +1 -0
- package/dist/index440.js +13 -0
- package/dist/index440.js.map +1 -0
- package/dist/index441.cjs +13 -0
- package/dist/index441.cjs.map +1 -0
- package/dist/index441.js +13 -0
- package/dist/index441.js.map +1 -0
- package/dist/index442.cjs +13 -0
- package/dist/index442.cjs.map +1 -0
- package/dist/index442.js +13 -0
- package/dist/index442.js.map +1 -0
- package/dist/index443.cjs +18 -0
- package/dist/index443.cjs.map +1 -0
- package/dist/index443.js +18 -0
- package/dist/index443.js.map +1 -0
- package/dist/index444.cjs +13 -0
- package/dist/index444.cjs.map +1 -0
- package/dist/index444.js +13 -0
- package/dist/index444.js.map +1 -0
- package/dist/index445.cjs +14 -0
- package/dist/index445.cjs.map +1 -0
- package/dist/index445.js +14 -0
- package/dist/index445.js.map +1 -0
- package/dist/index446.cjs +13 -0
- package/dist/index446.cjs.map +1 -0
- package/dist/index446.js +13 -0
- package/dist/index446.js.map +1 -0
- package/dist/index447.cjs +14 -0
- package/dist/index447.cjs.map +1 -0
- package/dist/index447.js +14 -0
- package/dist/index447.js.map +1 -0
- package/dist/index448.cjs +20 -0
- package/dist/index448.cjs.map +1 -0
- package/dist/index448.js +20 -0
- package/dist/index448.js.map +1 -0
- package/dist/index449.cjs +15 -0
- package/dist/index449.cjs.map +1 -0
- package/dist/index449.js +15 -0
- package/dist/index449.js.map +1 -0
- package/dist/index45.cjs +68 -0
- package/dist/index45.cjs.map +1 -0
- package/dist/index45.js +68 -0
- package/dist/index45.js.map +1 -0
- package/dist/index450.cjs +18 -0
- package/dist/index450.cjs.map +1 -0
- package/dist/index450.js +18 -0
- package/dist/index450.js.map +1 -0
- package/dist/index451.cjs +15 -0
- package/dist/index451.cjs.map +1 -0
- package/dist/index451.js +15 -0
- package/dist/index451.js.map +1 -0
- package/dist/index452.cjs +15 -0
- package/dist/index452.cjs.map +1 -0
- package/dist/index452.js +15 -0
- package/dist/index452.js.map +1 -0
- package/dist/index453.cjs +13 -0
- package/dist/index453.cjs.map +1 -0
- package/dist/index453.js +13 -0
- package/dist/index453.js.map +1 -0
- package/dist/index454.cjs +12 -0
- package/dist/index454.cjs.map +1 -0
- package/dist/index454.js +12 -0
- package/dist/index454.js.map +1 -0
- package/dist/index455.cjs +16 -0
- package/dist/index455.cjs.map +1 -0
- package/dist/index455.js +16 -0
- package/dist/index455.js.map +1 -0
- package/dist/index456.cjs +13 -0
- package/dist/index456.cjs.map +1 -0
- package/dist/index456.js +13 -0
- package/dist/index456.js.map +1 -0
- package/dist/index457.cjs +13 -0
- package/dist/index457.cjs.map +1 -0
- package/dist/index457.js +13 -0
- package/dist/index457.js.map +1 -0
- package/dist/index458.cjs +14 -0
- package/dist/index458.cjs.map +1 -0
- package/dist/index458.js +14 -0
- package/dist/index458.js.map +1 -0
- package/dist/index459.cjs +22 -0
- package/dist/index459.cjs.map +1 -0
- package/dist/index459.js +22 -0
- package/dist/index459.js.map +1 -0
- package/dist/index46.cjs +52 -0
- package/dist/index46.cjs.map +1 -0
- package/dist/index46.js +35 -0
- package/dist/index46.js.map +1 -0
- package/dist/index460.cjs +15 -0
- package/dist/index460.cjs.map +1 -0
- package/dist/index460.js +15 -0
- package/dist/index460.js.map +1 -0
- package/dist/index461.cjs +15 -0
- package/dist/index461.cjs.map +1 -0
- package/dist/index461.js +15 -0
- package/dist/index461.js.map +1 -0
- package/dist/index462.cjs +12 -0
- package/dist/index462.cjs.map +1 -0
- package/dist/index462.js +12 -0
- package/dist/index462.js.map +1 -0
- package/dist/index463.cjs +15 -0
- package/dist/index463.cjs.map +1 -0
- package/dist/index463.js +15 -0
- package/dist/index463.js.map +1 -0
- package/dist/index464.cjs +14 -0
- package/dist/index464.cjs.map +1 -0
- package/dist/index464.js +14 -0
- package/dist/index464.js.map +1 -0
- package/dist/index465.cjs +14 -0
- package/dist/index465.cjs.map +1 -0
- package/dist/index465.js +14 -0
- package/dist/index465.js.map +1 -0
- package/dist/index466.cjs +13 -0
- package/dist/index466.cjs.map +1 -0
- package/dist/index466.js +13 -0
- package/dist/index466.js.map +1 -0
- package/dist/index467.cjs +12 -0
- package/dist/index467.cjs.map +1 -0
- package/dist/index467.js +12 -0
- package/dist/index467.js.map +1 -0
- package/dist/index468.cjs +19 -0
- package/dist/index468.cjs.map +1 -0
- package/dist/index468.js +19 -0
- package/dist/index468.js.map +1 -0
- package/dist/index469.cjs +14 -0
- package/dist/index469.cjs.map +1 -0
- package/dist/index469.js +14 -0
- package/dist/index469.js.map +1 -0
- package/dist/index47.cjs +101 -0
- package/dist/index47.cjs.map +1 -0
- package/dist/index47.js +84 -0
- package/dist/index47.js.map +1 -0
- package/dist/index470.cjs +14 -0
- package/dist/index470.cjs.map +1 -0
- package/dist/index470.js +14 -0
- package/dist/index470.js.map +1 -0
- package/dist/index471.cjs +16 -0
- package/dist/index471.cjs.map +1 -0
- package/dist/index471.js +16 -0
- package/dist/index471.js.map +1 -0
- package/dist/index472.cjs +15 -0
- package/dist/index472.cjs.map +1 -0
- package/dist/index472.js +15 -0
- package/dist/index472.js.map +1 -0
- package/dist/index473.cjs +12 -0
- package/dist/index473.cjs.map +1 -0
- package/dist/index473.js +12 -0
- package/dist/index473.js.map +1 -0
- package/dist/index474.cjs +13 -0
- package/dist/index474.cjs.map +1 -0
- package/dist/index474.js +13 -0
- package/dist/index474.js.map +1 -0
- package/dist/index475.cjs +13 -0
- package/dist/index475.cjs.map +1 -0
- package/dist/index475.js +13 -0
- package/dist/index475.js.map +1 -0
- package/dist/index476.cjs +16 -0
- package/dist/index476.cjs.map +1 -0
- package/dist/index476.js +16 -0
- package/dist/index476.js.map +1 -0
- package/dist/index477.cjs +13 -0
- package/dist/index477.cjs.map +1 -0
- package/dist/index477.js +13 -0
- package/dist/index477.js.map +1 -0
- package/dist/index478.cjs +15 -0
- package/dist/index478.cjs.map +1 -0
- package/dist/index478.js +15 -0
- package/dist/index478.js.map +1 -0
- package/dist/index479.cjs +14 -0
- package/dist/index479.cjs.map +1 -0
- package/dist/index479.js +14 -0
- package/dist/index479.js.map +1 -0
- package/dist/index48.cjs +160 -0
- package/dist/index48.cjs.map +1 -0
- package/dist/index48.js +160 -0
- package/dist/index48.js.map +1 -0
- package/dist/index480.cjs +15 -0
- package/dist/index480.cjs.map +1 -0
- package/dist/index480.js +15 -0
- package/dist/index480.js.map +1 -0
- package/dist/index481.cjs +14 -0
- package/dist/index481.cjs.map +1 -0
- package/dist/index481.js +14 -0
- package/dist/index481.js.map +1 -0
- package/dist/index482.cjs +12 -0
- package/dist/index482.cjs.map +1 -0
- package/dist/index482.js +12 -0
- package/dist/index482.js.map +1 -0
- package/dist/index483.cjs +14 -0
- package/dist/index483.cjs.map +1 -0
- package/dist/index483.js +14 -0
- package/dist/index483.js.map +1 -0
- package/dist/index484.cjs +19 -0
- package/dist/index484.cjs.map +1 -0
- package/dist/index484.js +19 -0
- package/dist/index484.js.map +1 -0
- package/dist/index485.cjs +15 -0
- package/dist/index485.cjs.map +1 -0
- package/dist/index485.js +15 -0
- package/dist/index485.js.map +1 -0
- package/dist/index486.cjs +17 -0
- package/dist/index486.cjs.map +1 -0
- package/dist/index486.js +17 -0
- package/dist/index486.js.map +1 -0
- package/dist/index487.cjs +13 -0
- package/dist/index487.cjs.map +1 -0
- package/dist/index487.js +13 -0
- package/dist/index487.js.map +1 -0
- package/dist/index488.cjs +17 -0
- package/dist/index488.cjs.map +1 -0
- package/dist/index488.js +17 -0
- package/dist/index488.js.map +1 -0
- package/dist/index489.cjs +13 -0
- package/dist/index489.cjs.map +1 -0
- package/dist/index489.js +13 -0
- package/dist/index489.js.map +1 -0
- package/dist/index49.cjs +21 -0
- package/dist/index49.cjs.map +1 -0
- package/dist/index49.js +21 -0
- package/dist/index49.js.map +1 -0
- package/dist/index490.cjs +12 -0
- package/dist/index490.cjs.map +1 -0
- package/dist/index490.js +12 -0
- package/dist/index490.js.map +1 -0
- package/dist/index491.cjs +15 -0
- package/dist/index491.cjs.map +1 -0
- package/dist/index491.js +15 -0
- package/dist/index491.js.map +1 -0
- package/dist/index492.cjs +14 -0
- package/dist/index492.cjs.map +1 -0
- package/dist/index492.js +14 -0
- package/dist/index492.js.map +1 -0
- package/dist/index493.cjs +19 -0
- package/dist/index493.cjs.map +1 -0
- package/dist/index493.js +19 -0
- package/dist/index493.js.map +1 -0
- package/dist/index494.cjs +20 -0
- package/dist/index494.cjs.map +1 -0
- package/dist/index494.js +20 -0
- package/dist/index494.js.map +1 -0
- package/dist/index495.cjs +13 -0
- package/dist/index495.cjs.map +1 -0
- package/dist/index495.js +13 -0
- package/dist/index495.js.map +1 -0
- package/dist/index496.cjs +13 -0
- package/dist/index496.cjs.map +1 -0
- package/dist/index496.js +13 -0
- package/dist/index496.js.map +1 -0
- package/dist/index497.cjs +14 -0
- package/dist/index497.cjs.map +1 -0
- package/dist/index497.js +14 -0
- package/dist/index497.js.map +1 -0
- package/dist/index498.cjs +12 -0
- package/dist/index498.cjs.map +1 -0
- package/dist/index498.js +12 -0
- package/dist/index498.js.map +1 -0
- package/dist/index499.cjs +13 -0
- package/dist/index499.cjs.map +1 -0
- package/dist/index499.js +13 -0
- package/dist/index499.js.map +1 -0
- package/dist/index5.cjs +43 -0
- package/dist/index5.cjs.map +1 -0
- package/dist/index5.js +43 -0
- package/dist/index5.js.map +1 -0
- package/dist/index50.cjs +11 -0
- package/dist/index50.cjs.map +1 -0
- package/dist/index50.js +11 -0
- package/dist/index50.js.map +1 -0
- package/dist/index500.cjs +12 -0
- package/dist/index500.cjs.map +1 -0
- package/dist/index500.js +12 -0
- package/dist/index500.js.map +1 -0
- package/dist/index501.cjs +14 -0
- package/dist/index501.cjs.map +1 -0
- package/dist/index501.js +14 -0
- package/dist/index501.js.map +1 -0
- package/dist/index502.cjs +13 -0
- package/dist/index502.cjs.map +1 -0
- package/dist/index502.js +13 -0
- package/dist/index502.js.map +1 -0
- package/dist/index503.cjs +14 -0
- package/dist/index503.cjs.map +1 -0
- package/dist/index503.js +14 -0
- package/dist/index503.js.map +1 -0
- package/dist/index504.cjs +12 -0
- package/dist/index504.cjs.map +1 -0
- package/dist/index504.js +12 -0
- package/dist/index504.js.map +1 -0
- package/dist/index505.cjs +18 -0
- package/dist/index505.cjs.map +1 -0
- package/dist/index505.js +18 -0
- package/dist/index505.js.map +1 -0
- package/dist/index506.cjs +15 -0
- package/dist/index506.cjs.map +1 -0
- package/dist/index506.js +15 -0
- package/dist/index506.js.map +1 -0
- package/dist/index507.cjs +14 -0
- package/dist/index507.cjs.map +1 -0
- package/dist/index507.js +14 -0
- package/dist/index507.js.map +1 -0
- package/dist/index508.cjs +18 -0
- package/dist/index508.cjs.map +1 -0
- package/dist/index508.js +18 -0
- package/dist/index508.js.map +1 -0
- package/dist/index509.cjs +15 -0
- package/dist/index509.cjs.map +1 -0
- package/dist/index509.js +15 -0
- package/dist/index509.js.map +1 -0
- package/dist/index51.cjs +408 -0
- package/dist/index51.cjs.map +1 -0
- package/dist/index51.js +408 -0
- package/dist/index51.js.map +1 -0
- package/dist/index510.cjs +14 -0
- package/dist/index510.cjs.map +1 -0
- package/dist/index510.js +14 -0
- package/dist/index510.js.map +1 -0
- package/dist/index511.cjs +14 -0
- package/dist/index511.cjs.map +1 -0
- package/dist/index511.js +14 -0
- package/dist/index511.js.map +1 -0
- package/dist/index512.cjs +14 -0
- package/dist/index512.cjs.map +1 -0
- package/dist/index512.js +14 -0
- package/dist/index512.js.map +1 -0
- package/dist/index513.cjs +20 -0
- package/dist/index513.cjs.map +1 -0
- package/dist/index513.js +20 -0
- package/dist/index513.js.map +1 -0
- package/dist/index514.cjs +12 -0
- package/dist/index514.cjs.map +1 -0
- package/dist/index514.js +12 -0
- package/dist/index514.js.map +1 -0
- package/dist/index515.cjs +13 -0
- package/dist/index515.cjs.map +1 -0
- package/dist/index515.js +13 -0
- package/dist/index515.js.map +1 -0
- package/dist/index516.cjs +13 -0
- package/dist/index516.cjs.map +1 -0
- package/dist/index516.js +13 -0
- package/dist/index516.js.map +1 -0
- package/dist/index517.cjs +16 -0
- package/dist/index517.cjs.map +1 -0
- package/dist/index517.js +16 -0
- package/dist/index517.js.map +1 -0
- package/dist/index518.cjs +15 -0
- package/dist/index518.cjs.map +1 -0
- package/dist/index518.js +15 -0
- package/dist/index518.js.map +1 -0
- package/dist/index519.cjs +18 -0
- package/dist/index519.cjs.map +1 -0
- package/dist/index519.js +18 -0
- package/dist/index519.js.map +1 -0
- package/dist/index52.cjs +27 -0
- package/dist/index52.cjs.map +1 -0
- package/dist/index52.js +27 -0
- package/dist/index52.js.map +1 -0
- package/dist/index520.cjs +148 -0
- package/dist/index520.cjs.map +1 -0
- package/dist/index520.js +148 -0
- package/dist/index520.js.map +1 -0
- package/dist/index521.cjs +21 -0
- package/dist/index521.cjs.map +1 -0
- package/dist/index521.js +21 -0
- package/dist/index521.js.map +1 -0
- package/dist/index522.cjs +73 -0
- package/dist/index522.cjs.map +1 -0
- package/dist/index522.js +73 -0
- package/dist/index522.js.map +1 -0
- package/dist/index523.cjs +23 -0
- package/dist/index523.cjs.map +1 -0
- package/dist/index523.js +23 -0
- package/dist/index523.js.map +1 -0
- package/dist/index524.cjs +17 -0
- package/dist/index524.cjs.map +1 -0
- package/dist/index524.js +17 -0
- package/dist/index524.js.map +1 -0
- package/dist/index525.cjs +16 -0
- package/dist/index525.cjs.map +1 -0
- package/dist/index525.js +16 -0
- package/dist/index525.js.map +1 -0
- package/dist/index526.cjs +8 -0
- package/dist/index526.cjs.map +1 -0
- package/dist/index526.js +8 -0
- package/dist/index526.js.map +1 -0
- package/dist/index527.cjs +39 -0
- package/dist/index527.cjs.map +1 -0
- package/dist/index527.js +39 -0
- package/dist/index527.js.map +1 -0
- package/dist/index528.cjs +20 -0
- package/dist/index528.cjs.map +1 -0
- package/dist/index528.js +20 -0
- package/dist/index528.js.map +1 -0
- package/dist/index529.cjs +28 -0
- package/dist/index529.cjs.map +1 -0
- package/dist/index529.js +28 -0
- package/dist/index529.js.map +1 -0
- package/dist/index53.cjs +27 -0
- package/dist/index53.cjs.map +1 -0
- package/dist/index53.js +27 -0
- package/dist/index53.js.map +1 -0
- package/dist/index530.cjs +42 -0
- package/dist/index530.cjs.map +1 -0
- package/dist/index530.js +42 -0
- package/dist/index530.js.map +1 -0
- package/dist/index531.cjs +29 -0
- package/dist/index531.cjs.map +1 -0
- package/dist/index531.js +29 -0
- package/dist/index531.js.map +1 -0
- package/dist/index532.cjs +75 -0
- package/dist/index532.cjs.map +1 -0
- package/dist/index532.js +75 -0
- package/dist/index532.js.map +1 -0
- package/dist/index533.cjs +113 -0
- package/dist/index533.cjs.map +1 -0
- package/dist/index533.js +113 -0
- package/dist/index533.js.map +1 -0
- package/dist/index534.cjs +32 -0
- package/dist/index534.cjs.map +1 -0
- package/dist/index534.js +32 -0
- package/dist/index534.js.map +1 -0
- package/dist/index535.cjs +15 -0
- package/dist/index535.cjs.map +1 -0
- package/dist/index535.js +15 -0
- package/dist/index535.js.map +1 -0
- package/dist/index536.cjs +22 -0
- package/dist/index536.cjs.map +1 -0
- package/dist/index536.js +22 -0
- package/dist/index536.js.map +1 -0
- package/dist/index537.cjs +76 -0
- package/dist/index537.cjs.map +1 -0
- package/dist/index537.js +76 -0
- package/dist/index537.js.map +1 -0
- package/dist/index538.cjs +68 -0
- package/dist/index538.cjs.map +1 -0
- package/dist/index538.js +68 -0
- package/dist/index538.js.map +1 -0
- package/dist/index539.cjs +57 -0
- package/dist/index539.cjs.map +1 -0
- package/dist/index539.js +57 -0
- package/dist/index539.js.map +1 -0
- package/dist/index54.cjs +14 -0
- package/dist/index54.cjs.map +1 -0
- package/dist/index54.js +14 -0
- package/dist/index54.js.map +1 -0
- package/dist/index540.cjs +29 -0
- package/dist/index540.cjs.map +1 -0
- package/dist/index540.js +29 -0
- package/dist/index540.js.map +1 -0
- package/dist/index541.cjs +88 -0
- package/dist/index541.cjs.map +1 -0
- package/dist/index541.js +88 -0
- package/dist/index541.js.map +1 -0
- package/dist/index542.cjs +27 -0
- package/dist/index542.cjs.map +1 -0
- package/dist/index542.js +27 -0
- package/dist/index542.js.map +1 -0
- package/dist/index543.cjs +10 -0
- package/dist/index543.cjs.map +1 -0
- package/dist/index543.js +10 -0
- package/dist/index543.js.map +1 -0
- package/dist/index544.cjs +16 -0
- package/dist/index544.cjs.map +1 -0
- package/dist/index544.js +16 -0
- package/dist/index544.js.map +1 -0
- package/dist/index545.cjs +15 -0
- package/dist/index545.cjs.map +1 -0
- package/dist/index545.js +15 -0
- package/dist/index545.js.map +1 -0
- package/dist/index546.cjs +122 -0
- package/dist/index546.cjs.map +1 -0
- package/dist/index546.js +122 -0
- package/dist/index546.js.map +1 -0
- package/dist/index547.cjs +14 -0
- package/dist/index547.cjs.map +1 -0
- package/dist/index547.js +14 -0
- package/dist/index547.js.map +1 -0
- package/dist/index548.cjs +82 -0
- package/dist/index548.cjs.map +1 -0
- package/dist/index548.js +82 -0
- package/dist/index548.js.map +1 -0
- package/dist/index549.cjs +22 -0
- package/dist/index549.cjs.map +1 -0
- package/dist/index549.js +22 -0
- package/dist/index549.js.map +1 -0
- package/dist/index55.cjs +14 -0
- package/dist/index55.cjs.map +1 -0
- package/dist/index55.js +14 -0
- package/dist/index55.js.map +1 -0
- package/dist/index550.cjs +14 -0
- package/dist/index550.cjs.map +1 -0
- package/dist/index550.js +14 -0
- package/dist/index550.js.map +1 -0
- package/dist/index551.cjs +61 -0
- package/dist/index551.cjs.map +1 -0
- package/dist/index551.js +61 -0
- package/dist/index551.js.map +1 -0
- package/dist/index552.cjs +15 -0
- package/dist/index552.cjs.map +1 -0
- package/dist/index552.js +15 -0
- package/dist/index552.js.map +1 -0
- package/dist/index553.cjs +34 -0
- package/dist/index553.cjs.map +1 -0
- package/dist/index553.js +34 -0
- package/dist/index553.js.map +1 -0
- package/dist/index554.cjs +48 -0
- package/dist/index554.cjs.map +1 -0
- package/dist/index554.js +48 -0
- package/dist/index554.js.map +1 -0
- package/dist/index555.cjs +27 -0
- package/dist/index555.cjs.map +1 -0
- package/dist/index555.js +27 -0
- package/dist/index555.js.map +1 -0
- package/dist/index556.cjs +10 -0
- package/dist/index556.cjs.map +1 -0
- package/dist/index556.js +10 -0
- package/dist/index556.js.map +1 -0
- package/dist/index557.cjs +86 -0
- package/dist/index557.cjs.map +1 -0
- package/dist/index557.js +86 -0
- package/dist/index557.js.map +1 -0
- package/dist/index56.cjs +24 -0
- package/dist/index56.cjs.map +1 -0
- package/dist/index56.js +24 -0
- package/dist/index56.js.map +1 -0
- package/dist/index57.cjs +24 -0
- package/dist/index57.cjs.map +1 -0
- package/dist/index57.js +24 -0
- package/dist/index57.js.map +1 -0
- package/dist/index58.cjs +23 -0
- package/dist/index58.cjs.map +1 -0
- package/dist/index58.js +23 -0
- package/dist/index58.js.map +1 -0
- package/dist/index59.cjs +23 -0
- package/dist/index59.cjs.map +1 -0
- package/dist/index59.js +23 -0
- package/dist/index59.js.map +1 -0
- package/dist/index6.cjs +63 -0
- package/dist/index6.cjs.map +1 -0
- package/dist/index6.js +63 -0
- package/dist/index6.js.map +1 -0
- package/dist/index60.cjs +30 -0
- package/dist/index60.cjs.map +1 -0
- package/dist/index60.js +30 -0
- package/dist/index60.js.map +1 -0
- package/dist/index61.cjs +30 -0
- package/dist/index61.cjs.map +1 -0
- package/dist/index61.js +30 -0
- package/dist/index61.js.map +1 -0
- package/dist/index62.cjs +45 -0
- package/dist/index62.cjs.map +1 -0
- package/dist/index62.js +45 -0
- package/dist/index62.js.map +1 -0
- package/dist/index63.cjs +45 -0
- package/dist/index63.cjs.map +1 -0
- package/dist/index63.js +45 -0
- package/dist/index63.js.map +1 -0
- package/dist/index64.cjs +25 -0
- package/dist/index64.cjs.map +1 -0
- package/dist/index64.js +25 -0
- package/dist/index64.js.map +1 -0
- package/dist/index65.cjs +25 -0
- package/dist/index65.cjs.map +1 -0
- package/dist/index65.js +25 -0
- package/dist/index65.js.map +1 -0
- package/dist/index66.cjs +45 -0
- package/dist/index66.cjs.map +1 -0
- package/dist/index66.js +45 -0
- package/dist/index66.js.map +1 -0
- package/dist/index67.cjs +45 -0
- package/dist/index67.cjs.map +1 -0
- package/dist/index67.js +45 -0
- package/dist/index67.js.map +1 -0
- package/dist/index68.cjs +29 -0
- package/dist/index68.cjs.map +1 -0
- package/dist/index68.js +29 -0
- package/dist/index68.js.map +1 -0
- package/dist/index69.cjs +29 -0
- package/dist/index69.cjs.map +1 -0
- package/dist/index69.js +29 -0
- package/dist/index69.js.map +1 -0
- package/dist/index7.cjs +10 -0
- package/dist/index7.cjs.map +1 -0
- package/dist/index7.js +10 -0
- package/dist/index7.js.map +1 -0
- package/dist/index70.cjs +22 -0
- package/dist/index70.cjs.map +1 -0
- package/dist/index70.js +22 -0
- package/dist/index70.js.map +1 -0
- package/dist/index71.cjs +22 -0
- package/dist/index71.cjs.map +1 -0
- package/dist/index71.js +22 -0
- package/dist/index71.js.map +1 -0
- package/dist/index72.cjs +25 -0
- package/dist/index72.cjs.map +1 -0
- package/dist/index72.js +25 -0
- package/dist/index72.js.map +1 -0
- package/dist/index73.cjs +25 -0
- package/dist/index73.cjs.map +1 -0
- package/dist/index73.js +25 -0
- package/dist/index73.js.map +1 -0
- package/dist/index74.cjs +30 -0
- package/dist/index74.cjs.map +1 -0
- package/dist/index74.js +30 -0
- package/dist/index74.js.map +1 -0
- package/dist/index75.cjs +31 -0
- package/dist/index75.cjs.map +1 -0
- package/dist/index75.js +31 -0
- package/dist/index75.js.map +1 -0
- package/dist/index76.cjs +25 -0
- package/dist/index76.cjs.map +1 -0
- package/dist/index76.js +25 -0
- package/dist/index76.js.map +1 -0
- package/dist/index77.cjs +25 -0
- package/dist/index77.cjs.map +1 -0
- package/dist/index77.js +25 -0
- package/dist/index77.js.map +1 -0
- package/dist/index78.cjs +31 -0
- package/dist/index78.cjs.map +1 -0
- package/dist/index78.js +31 -0
- package/dist/index78.js.map +1 -0
- package/dist/index79.cjs +31 -0
- package/dist/index79.cjs.map +1 -0
- package/dist/index79.js +31 -0
- package/dist/index79.js.map +1 -0
- package/dist/index8.cjs +45 -0
- package/dist/index8.cjs.map +1 -0
- package/dist/index8.js +45 -0
- package/dist/index8.js.map +1 -0
- package/dist/index80.cjs +54 -0
- package/dist/index80.cjs.map +1 -0
- package/dist/index80.js +54 -0
- package/dist/index80.js.map +1 -0
- package/dist/index81.cjs +53 -0
- package/dist/index81.cjs.map +1 -0
- package/dist/index81.js +53 -0
- package/dist/index81.js.map +1 -0
- package/dist/index82.cjs +29 -0
- package/dist/index82.cjs.map +1 -0
- package/dist/index82.js +29 -0
- package/dist/index82.js.map +1 -0
- package/dist/index83.cjs +29 -0
- package/dist/index83.cjs.map +1 -0
- package/dist/index83.js +29 -0
- package/dist/index83.js.map +1 -0
- package/dist/index84.cjs +30 -0
- package/dist/index84.cjs.map +1 -0
- package/dist/index84.js +30 -0
- package/dist/index84.js.map +1 -0
- package/dist/index85.cjs +30 -0
- package/dist/index85.cjs.map +1 -0
- package/dist/index85.js +30 -0
- package/dist/index85.js.map +1 -0
- package/dist/index86.cjs +25 -0
- package/dist/index86.cjs.map +1 -0
- package/dist/index86.js +25 -0
- package/dist/index86.js.map +1 -0
- package/dist/index87.cjs +25 -0
- package/dist/index87.cjs.map +1 -0
- package/dist/index87.js +25 -0
- package/dist/index87.js.map +1 -0
- package/dist/index88.cjs +28 -0
- package/dist/index88.cjs.map +1 -0
- package/dist/index88.js +28 -0
- package/dist/index88.js.map +1 -0
- package/dist/index89.cjs +27 -0
- package/dist/index89.cjs.map +1 -0
- package/dist/index89.js +27 -0
- package/dist/index89.js.map +1 -0
- package/dist/index9.cjs +66 -0
- package/dist/index9.cjs.map +1 -0
- package/dist/index9.js +66 -0
- package/dist/index9.js.map +1 -0
- package/dist/index90.cjs +26 -0
- package/dist/index90.cjs.map +1 -0
- package/dist/index90.js +26 -0
- package/dist/index90.js.map +1 -0
- package/dist/index91.cjs +28 -0
- package/dist/index91.cjs.map +1 -0
- package/dist/index91.js +28 -0
- package/dist/index91.js.map +1 -0
- package/dist/index92.cjs +28 -0
- package/dist/index92.cjs.map +1 -0
- package/dist/index92.js +28 -0
- package/dist/index92.js.map +1 -0
- package/dist/index93.cjs +30 -0
- package/dist/index93.cjs.map +1 -0
- package/dist/index93.js +30 -0
- package/dist/index93.js.map +1 -0
- package/dist/index94.cjs +33 -0
- package/dist/index94.cjs.map +1 -0
- package/dist/index94.js +33 -0
- package/dist/index94.js.map +1 -0
- package/dist/index95.cjs +33 -0
- package/dist/index95.cjs.map +1 -0
- package/dist/index95.js +33 -0
- package/dist/index95.js.map +1 -0
- package/dist/index96.cjs +33 -0
- package/dist/index96.cjs.map +1 -0
- package/dist/index96.js +33 -0
- package/dist/index96.js.map +1 -0
- package/dist/index97.cjs +33 -0
- package/dist/index97.cjs.map +1 -0
- package/dist/index97.js +33 -0
- package/dist/index97.js.map +1 -0
- package/dist/index98.cjs +23 -0
- package/dist/index98.cjs.map +1 -0
- package/dist/index98.js +23 -0
- package/dist/index98.js.map +1 -0
- package/dist/index99.cjs +23 -0
- package/dist/index99.cjs.map +1 -0
- package/dist/index99.js +23 -0
- package/dist/index99.js.map +1 -0
- package/dist/stickers/dist/AccessibilitySticker.d.ts +7 -0
- package/dist/stickers/dist/AccessibilityStickerOnDark.d.ts +7 -0
- package/dist/stickers/dist/AipSticker.d.ts +7 -0
- package/dist/stickers/dist/AipStickerOnDark.d.ts +7 -0
- package/dist/stickers/dist/AppSticker.d.ts +7 -0
- package/dist/stickers/dist/AppStickerOnDark.d.ts +7 -0
- package/dist/stickers/dist/ArtsSticker.d.ts +7 -0
- package/dist/stickers/dist/ArtsStickerOnDark.d.ts +7 -0
- package/dist/stickers/dist/CalendarSticker.d.ts +7 -0
- package/dist/stickers/dist/CalendarStickerOnDark.d.ts +7 -0
- package/dist/stickers/dist/CarouselSticker.d.ts +7 -0
- package/dist/stickers/dist/CarouselStickerOnDark.d.ts +7 -0
- package/dist/stickers/dist/ClockSticker.d.ts +7 -0
- package/dist/stickers/dist/ClockStickerOnDark.d.ts +7 -0
- package/dist/stickers/dist/FestivalSticker.d.ts +7 -0
- package/dist/stickers/dist/FestivalStickerOnDark.d.ts +7 -0
- package/dist/stickers/dist/FourPartTicketSticker.d.ts +7 -0
- package/dist/stickers/dist/FourPartTicketStickerOnDark.d.ts +7 -0
- package/dist/stickers/dist/HelpSticker.d.ts +7 -0
- package/dist/stickers/dist/HelpStickerOnDark.d.ts +7 -0
- package/dist/stickers/dist/IdentitySticker.d.ts +7 -0
- package/dist/stickers/dist/IdentityStickerOnDark.d.ts +7 -0
- package/dist/stickers/dist/MapSticker.d.ts +7 -0
- package/dist/stickers/dist/MapStickerOnDark.d.ts +7 -0
- package/dist/stickers/dist/MessageSticker.d.ts +7 -0
- package/dist/stickers/dist/MessageStickerOnDark.d.ts +7 -0
- package/dist/stickers/dist/MobileTicketSticker.d.ts +7 -0
- package/dist/stickers/dist/MobileTicketStickerOnDark.d.ts +7 -0
- package/dist/stickers/dist/MusicSticker.d.ts +7 -0
- package/dist/stickers/dist/MusicStickerOnDark.d.ts +7 -0
- package/dist/stickers/dist/NewsSticker.d.ts +7 -0
- package/dist/stickers/dist/NewsStickerOnDark.d.ts +7 -0
- package/dist/stickers/dist/PadlockKeySticker.d.ts +7 -0
- package/dist/stickers/dist/PadlockKeyStickerOnDark.d.ts +7 -0
- package/dist/stickers/dist/PaymentCardSticker.d.ts +7 -0
- package/dist/stickers/dist/PaymentCardStickerOnDark.d.ts +7 -0
- package/dist/stickers/dist/PostalTicketSticker.d.ts +7 -0
- package/dist/stickers/dist/PostalTicketStickerOnDark.d.ts +7 -0
- package/dist/stickers/dist/PrinterSticker.d.ts +7 -0
- package/dist/stickers/dist/PrinterStickerOnDark.d.ts +7 -0
- package/dist/stickers/dist/ResaleTicketSticker.d.ts +7 -0
- package/dist/stickers/dist/ResaleTicketStickerOnDark.d.ts +7 -0
- package/dist/stickers/dist/SandtimerSticker.d.ts +7 -0
- package/dist/stickers/dist/SandtimerStickerOnDark.d.ts +7 -0
- package/dist/stickers/dist/SeatsSticker.d.ts +7 -0
- package/dist/stickers/dist/SeatsStickerOnDark.d.ts +7 -0
- package/dist/stickers/dist/ShieldTickSticker.d.ts +7 -0
- package/dist/stickers/dist/ShieldTickStickerOnDark.d.ts +7 -0
- package/dist/stickers/dist/SportsSticker.d.ts +7 -0
- package/dist/stickers/dist/SportsStickerOnDark.d.ts +7 -0
- package/dist/stickers/dist/StopwatchSticker.d.ts +7 -0
- package/dist/stickers/dist/StopwatchStickerOnDark.d.ts +7 -0
- package/dist/stickers/dist/TicketCollectionSticker.d.ts +7 -0
- package/dist/stickers/dist/TicketCollectionStickerOnDark.d.ts +7 -0
- package/dist/stickers/dist/TicketSticker.d.ts +7 -0
- package/dist/stickers/dist/TicketStickerOnDark.d.ts +7 -0
- package/dist/stickers/dist/TicketTransferSticker.d.ts +7 -0
- package/dist/stickers/dist/TicketTransferStickerOnDark.d.ts +7 -0
- package/dist/stickers/dist/TicketsSticker.d.ts +7 -0
- package/dist/stickers/dist/TicketsStickerOnDark.d.ts +7 -0
- package/dist/stickers/dist/UsersSticker.d.ts +7 -0
- package/dist/stickers/dist/UsersStickerOnDark.d.ts +7 -0
- package/dist/stickers/dist/VenueSticker.d.ts +7 -0
- package/dist/stickers/dist/VenueStickerOnDark.d.ts +7 -0
- package/dist/stickers/dist/WalletTicketSticker.d.ts +7 -0
- package/dist/stickers/dist/WalletTicketStickerOnDark.d.ts +7 -0
- package/dist/stickers/dist/index.d.ts +66 -0
- package/dist/stickers/svgr-config.d.ts +19 -0
- package/dist/stickers/template.d.ts +4 -0
- package/dist/svg/with-colours/svgr-config.d.ts +15 -0
- package/dist/svg/with-colours/template.d.ts +4 -0
- package/dist/svg/with-themes/template.d.ts +6 -0
- package/dist/themes/LN.d.ts +3 -0
- package/dist/themes/TM.d.ts +3 -0
- package/dist/themes/index.d.ts +2 -0
- package/dist/themes/types.d.ts +188 -0
- package/dist/utils/focus.d.ts +1 -0
- package/dist/utils/getButtonType.d.ts +1 -0
- package/dist/utils/getLogicalBoundingRect.d.ts +8 -0
- package/dist/utils/htmlToImage.d.ts +10 -0
- package/dist/utils/mergeRefs.d.ts +2 -0
- package/dist/utils/snippets.d.ts +6 -0
- package/dist/utils/titleAccents.d.ts +12 -0
- package/docs/__stories__/accessibility.mdx +183 -0
- package/docs/__stories__/cobranding.mdx +165 -0
- package/docs/__stories__/component-lifecycle.mdx +53 -0
- package/docs/__stories__/disabled-state.mdx +347 -0
- package/docs/__stories__/form-validation.mdx +146 -0
- package/docs/__stories__/form-validation.stories.tsx +240 -0
- package/docs/__stories__/introduction.mdx +89 -0
- package/docs/__stories__/local-development.mdx +39 -0
- package/docs/__stories__/patterns.mdx +22 -0
- package/docs/__stories__/releasing.mdx +155 -0
- package/docs/__stories__/right-to-left-language-support.mdx +54 -0
- package/eslint.config.mjs +141 -0
- package/guidelines/Guidelines.md +76 -0
- package/guidelines/components/Button.md +152 -0
- package/guidelines/design-tokens/colors.md +155 -0
- package/guidelines/design-tokens/elevation.md +93 -0
- package/guidelines/design-tokens/spacing.md +149 -0
- package/guidelines/design-tokens/typography.md +134 -0
- package/guidelines/overview-components.md +109 -0
- package/guidelines/overview-icons.md +152 -0
- package/lint-staged.config.js +11 -0
- package/package.json +145 -0
- package/renovate.json +7 -0
- package/scripts/add-new-component.js +96 -0
- package/scripts/merges-since-last-tag.sh +2 -0
- package/scripts/slack-announcement.js +47 -0
- package/svgo.config.js +28 -0
- package/tsconfig.json +28 -0
- package/vite.config.ts +65 -0
package/dist/index12.cjs
ADDED
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
4
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
5
|
+
const React = require("react");
|
|
6
|
+
const matchSorter = require("match-sorter");
|
|
7
|
+
const react = require("@ariakit/react");
|
|
8
|
+
const index_styles = require("./index539.cjs");
|
|
9
|
+
const index = require("./index20.cjs");
|
|
10
|
+
const allCodesToFlags = require("./index51.cjs");
|
|
11
|
+
const usePortalElement = require("./index122.cjs");
|
|
12
|
+
const CrossIcon = require("./index179.cjs");
|
|
13
|
+
const EMPTY_STATE = {
|
|
14
|
+
id: "",
|
|
15
|
+
name: ""
|
|
16
|
+
};
|
|
17
|
+
const CountryPicker = ({
|
|
18
|
+
countries,
|
|
19
|
+
label,
|
|
20
|
+
id = "country-picker",
|
|
21
|
+
name = "country",
|
|
22
|
+
selectedItem,
|
|
23
|
+
inputRef,
|
|
24
|
+
labelClear,
|
|
25
|
+
required = false,
|
|
26
|
+
screenReaderErrorPrefix,
|
|
27
|
+
errorMessage,
|
|
28
|
+
onSelect,
|
|
29
|
+
onClear,
|
|
30
|
+
className,
|
|
31
|
+
visibleField = "name",
|
|
32
|
+
disabled = false,
|
|
33
|
+
autocomplete = true,
|
|
34
|
+
canClearSelection = true,
|
|
35
|
+
showFlag = false,
|
|
36
|
+
popOverTranslateX,
|
|
37
|
+
isOpen = false,
|
|
38
|
+
onOpenChange,
|
|
39
|
+
...rest
|
|
40
|
+
}) => {
|
|
41
|
+
const isUpdatingRef = React.useRef(false);
|
|
42
|
+
const comboBoxRef = React.useRef(null);
|
|
43
|
+
const inputFieldRef = React.useRef(null);
|
|
44
|
+
const portalElement = usePortalElement.usePortalElement();
|
|
45
|
+
const [searchValue, setSearchValue] = React.useState({
|
|
46
|
+
...EMPTY_STATE,
|
|
47
|
+
...selectedItem
|
|
48
|
+
});
|
|
49
|
+
const previousValidCountryRef = React.useRef(EMPTY_STATE);
|
|
50
|
+
React.useEffect(() => {
|
|
51
|
+
if (searchValue && countries.some((c) => c.id === searchValue.id)) {
|
|
52
|
+
previousValidCountryRef.current = searchValue;
|
|
53
|
+
}
|
|
54
|
+
}, [searchValue, countries]);
|
|
55
|
+
const isPickerClearable = !!searchValue.name && canClearSelection;
|
|
56
|
+
const handleInputChange = React.useCallback((value) => {
|
|
57
|
+
if (!autocomplete) {
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
60
|
+
const code = Array.isArray(value) ? value[0] ?? "" : value;
|
|
61
|
+
const selectedCountry = countries.find((country) => country.id === code);
|
|
62
|
+
if (!selectedCountry) {
|
|
63
|
+
setSearchValue((prev) => ({
|
|
64
|
+
...prev,
|
|
65
|
+
id: "",
|
|
66
|
+
name: code,
|
|
67
|
+
[visibleField]: code
|
|
68
|
+
}));
|
|
69
|
+
} else {
|
|
70
|
+
setSearchValue(selectedCountry);
|
|
71
|
+
}
|
|
72
|
+
}, [autocomplete, countries, visibleField]);
|
|
73
|
+
const onSelectValue = (value) => {
|
|
74
|
+
isUpdatingRef.current = true;
|
|
75
|
+
setTimeout(() => {
|
|
76
|
+
const code = Array.isArray(value) ? value[0] ?? "" : value;
|
|
77
|
+
const selectedCountry = countries.find((country) => country.id === code);
|
|
78
|
+
if (!selectedCountry) {
|
|
79
|
+
return;
|
|
80
|
+
}
|
|
81
|
+
setSearchValue(selectedCountry);
|
|
82
|
+
isUpdatingRef.current = false;
|
|
83
|
+
if (onSelect) {
|
|
84
|
+
onSelect(selectedCountry);
|
|
85
|
+
}
|
|
86
|
+
}, 0);
|
|
87
|
+
};
|
|
88
|
+
const comboboxStore = react.useComboboxStore({
|
|
89
|
+
setOpen: onOpenChange,
|
|
90
|
+
defaultSelectedValue: "",
|
|
91
|
+
setSelectedValue: onSelectValue,
|
|
92
|
+
setValue: handleInputChange
|
|
93
|
+
});
|
|
94
|
+
React.useEffect(() => {
|
|
95
|
+
if (isOpen) {
|
|
96
|
+
comboboxStore.show();
|
|
97
|
+
} else {
|
|
98
|
+
comboboxStore.hide();
|
|
99
|
+
}
|
|
100
|
+
}, [isOpen, comboboxStore]);
|
|
101
|
+
const handleOnClearSelection = React.useCallback(() => {
|
|
102
|
+
var _a;
|
|
103
|
+
React.startTransition(() => {
|
|
104
|
+
setSearchValue(EMPTY_STATE);
|
|
105
|
+
comboboxStore.setValue("");
|
|
106
|
+
});
|
|
107
|
+
(_a = comboBoxRef.current) == null ? void 0 : _a.focus();
|
|
108
|
+
}, [comboboxStore]);
|
|
109
|
+
const matches = React.useMemo(() => {
|
|
110
|
+
if (!autocomplete) {
|
|
111
|
+
return countries;
|
|
112
|
+
}
|
|
113
|
+
return matchSorter.matchSorter(countries, searchValue.name, {
|
|
114
|
+
keys: [visibleField],
|
|
115
|
+
threshold: matchSorter.rankings.ACRONYM
|
|
116
|
+
});
|
|
117
|
+
}, [visibleField, searchValue.name]);
|
|
118
|
+
const rowWidth = React.useMemo(() => {
|
|
119
|
+
if (visibleField === "name") {
|
|
120
|
+
return "100%";
|
|
121
|
+
}
|
|
122
|
+
return showFlag ? "14ch" : "12ch";
|
|
123
|
+
}, [visibleField, showFlag]);
|
|
124
|
+
const handleBlur = () => {
|
|
125
|
+
setTimeout(() => {
|
|
126
|
+
if (isUpdatingRef.current) {
|
|
127
|
+
return;
|
|
128
|
+
}
|
|
129
|
+
if (!countries.some((c) => c.id === searchValue.id)) {
|
|
130
|
+
if (searchValue.name) {
|
|
131
|
+
setSearchValue(previousValidCountryRef.current);
|
|
132
|
+
} else {
|
|
133
|
+
if (onSelect && !(searchValue == null ? void 0 : searchValue.id)) {
|
|
134
|
+
setSearchValue(EMPTY_STATE);
|
|
135
|
+
onSelect(null);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}, 0);
|
|
140
|
+
};
|
|
141
|
+
const handleFocus = () => {
|
|
142
|
+
setTimeout(() => {
|
|
143
|
+
if (comboBoxRef.current) {
|
|
144
|
+
const value = comboBoxRef.current.value;
|
|
145
|
+
comboBoxRef.current.setSelectionRange(value.length, value.length);
|
|
146
|
+
}
|
|
147
|
+
}, 0);
|
|
148
|
+
};
|
|
149
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(index.default, { id, className, ref: inputFieldRef, children: [
|
|
150
|
+
/* @__PURE__ */ jsxRuntime.jsx(index.default.Label, { disabled, children: label }),
|
|
151
|
+
/* @__PURE__ */ jsxRuntime.jsxs(index_styles.Row, { width: rowWidth, marginTop: "lounge", children: [
|
|
152
|
+
showFlag && !!searchValue.id && /* @__PURE__ */ jsxRuntime.jsx(index_styles.FlagWrapper, { children: allCodesToFlags.allCodesToFlags[searchValue.id] }),
|
|
153
|
+
/* @__PURE__ */ jsxRuntime.jsxs(react.ComboboxProvider, { store: comboboxStore, children: [
|
|
154
|
+
/* @__PURE__ */ jsxRuntime.jsx(react.Combobox, { onBlur: handleBlur, disabled, render: (props) => /* @__PURE__ */ jsxRuntime.jsx(index_styles.CountryNameInput, { ...props, ...rest, onFocus: handleFocus, disabled, isErrored: !!errorMessage, name, autocomplete, showFlags: showFlag, selected: !!searchValue.id, required, value: `${searchValue[visibleField] || ""}`, ref: comboBoxRef }) }),
|
|
155
|
+
!disabled && /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: isPickerClearable ? /* @__PURE__ */ jsxRuntime.jsxs(index_styles.StyledIconButton, { onClick: handleOnClearSelection, tabIndex: 0, children: [
|
|
156
|
+
/* @__PURE__ */ jsxRuntime.jsx(react.VisuallyHidden, { children: labelClear }),
|
|
157
|
+
/* @__PURE__ */ jsxRuntime.jsx(CrossIcon.default, { size: "0.8em" })
|
|
158
|
+
] }) : /* @__PURE__ */ jsxRuntime.jsx(index_styles.ChevronIconWrapper, { children: /* @__PURE__ */ jsxRuntime.jsx(index_styles.StyledChevronIcon, {}) }) }),
|
|
159
|
+
matches.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(index_styles.Popover, { gutter: 2, portal: true, fixed: true, portalElement, sameWidth: true, getAnchorRect: () => {
|
|
160
|
+
if (!inputFieldRef.current) {
|
|
161
|
+
return null;
|
|
162
|
+
}
|
|
163
|
+
return inputFieldRef.current.getBoundingClientRect();
|
|
164
|
+
}, $translateX: popOverTranslateX || "0", children: /* @__PURE__ */ jsxRuntime.jsx(index_styles.PopupCountriesList, { children: matches.map((value) => /* @__PURE__ */ jsxRuntime.jsxs(index_styles.StyledSelectItem, { value: `${value.id}`, children: [
|
|
165
|
+
showFlag && allCodesToFlags.allCodesToFlags[`${value["countryCode"] || ""}`],
|
|
166
|
+
visibleField === "dialCode" ? `${value.dialCode || ""} ${value.name}` : `${value.name}`
|
|
167
|
+
] }, `${value.id}`)) }) })
|
|
168
|
+
] })
|
|
169
|
+
] }),
|
|
170
|
+
/* @__PURE__ */ jsxRuntime.jsx(index.default.Validation, { screenReaderErrorPrefix, children: errorMessage })
|
|
171
|
+
] });
|
|
172
|
+
};
|
|
173
|
+
exports.default = CountryPicker;
|
|
174
|
+
//# sourceMappingURL=index12.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index12.cjs","sources":["../src/components/CountryPicker/index.tsx"],"sourcesContent":["\"use client\";\n\nimport React, {\n startTransition,\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from \"react\";\nimport { matchSorter, rankings } from \"match-sorter\";\n\nimport {\n Combobox,\n ComboboxProvider,\n useComboboxStore,\n VisuallyHidden,\n} from \"@ariakit/react\";\n\nimport {\n ChevronIconWrapper,\n CountryNameInput,\n FlagWrapper,\n Popover,\n PopupCountriesList,\n Row,\n StyledChevronIcon,\n StyledIconButton,\n StyledSelectItem,\n} from \"./index.styles\";\n\nimport InputField from \"../InputField\";\nimport { CrossIcon } from \"../../icons\";\nimport { allCodesToFlags } from \"../../flag-icons/allCodesToFlags\";\nimport { usePortalElement } from \"../../hooks/usePortalElement\";\n\nexport type Country = {\n id: string | number;\n name: string;\n [key: string]: unknown;\n};\n\nexport type CountryPickerProps<T extends Country> = {\n countries: Array<T>;\n showFlag?: boolean;\n\n selectedItem?: T | null;\n\n /** The visual form element label */\n label: React.ReactNode;\n /**\n * @default 'country-picker'\n */\n id?: string;\n /**\n * @default 'country'\n */\n name?: string;\n inputRef?: React.Ref<HTMLInputElement>;\n /** The visually hidden a11y label in the button when Downshift is clearable and has a selected item */\n labelClear: React.ReactNode;\n /**\n * @default false\n */\n required?: boolean;\n /** Visually hidden prefix announced to screen readers before the error message (e.g., \"Error: \"). */\n screenReaderErrorPrefix: string;\n /**\n * If set, the form field border colour will switch to red and the defined message will be displayed below the field\n */\n errorMessage?: React.ReactNode;\n onClear?: () => void;\n className?: string;\n /**\n * @default false\n */\n disabled?: boolean;\n /**\n * Toggles the `readOnly` attribute on the input field, which prevents typing in the field, but still allows to select options from the dropdown.\n * @default true\n */\n autocomplete?: boolean;\n /**\n * The property of the country object in the countries array that will be used as the Downshift and selected item visual display\n * The width of the Downshift is also altered by the value defined here (dialCode = 12ch, name = 100%)\n * @default 'name'\n * */\n visibleField?: \"name\" | \"dialCode\";\n\n /** id of element(s) that describe the country picker input */\n \"aria-describedby\"?: string;\n\n /**\n * Toggles the `clear` functionality, when set to false, the open/close buttons will be maintained on selection, no clear functionality and button will be suppressed\n * @default true\n * */\n canClearSelection?: boolean;\n onSelect?: (value: T | null) => void;\n\n popOverTranslateX?: string;\n isOpen?: boolean;\n /**\n * When set to false, the popover will be closed when the component is mounted\n * If set to true, the popover will be open\n * When set to false, the popover will be closed (useful for controlled components)\n * @default false\n */\n onOpenChange?: (open: boolean) => void;\n /**\n * Callback function that is called when the state of popover is changed from open to closed or vice versa\n */\n};\n\nconst EMPTY_STATE: Country = {\n id: \"\",\n name: \"\",\n};\n\nconst CountryPicker = <T extends Country>({\n countries,\n label,\n id = \"country-picker\",\n name = \"country\",\n selectedItem,\n inputRef,\n labelClear,\n required = false,\n screenReaderErrorPrefix,\n errorMessage,\n onSelect,\n onClear,\n className,\n visibleField = \"name\",\n disabled = false,\n autocomplete = true,\n canClearSelection = true,\n showFlag = false,\n popOverTranslateX,\n isOpen = false,\n onOpenChange,\n ...rest\n}: CountryPickerProps<T>) => {\n const isUpdatingRef = useRef(false);\n const comboBoxRef = useRef<HTMLInputElement>(null);\n const inputFieldRef = useRef<HTMLDivElement>(null);\n\n const portalElement = usePortalElement();\n\n const [searchValue, setSearchValue] = useState<Country>({\n ...EMPTY_STATE,\n ...selectedItem,\n });\n\n const previousValidCountryRef = useRef<Country>(EMPTY_STATE);\n\n useEffect(() => {\n if (searchValue && countries.some((c) => c.id === searchValue.id)) {\n // If the searchValue is a valid country, update the previous valid country reference\n previousValidCountryRef.current = searchValue;\n }\n }, [searchValue, countries]);\n\n const isPickerClearable = !!searchValue.name && canClearSelection;\n\n const handleInputChange = useCallback(\n (value: string | string[]) => {\n if (!autocomplete) {\n return;\n }\n\n const code = Array.isArray(value) ? (value[0] ?? \"\") : value;\n\n const selectedCountry = countries.find(\n (country) => country.id === code,\n ) as T;\n\n // country not found yet\n if (!selectedCountry) {\n setSearchValue((prev) => ({\n ...prev,\n id: \"\",\n name: code,\n [visibleField]: code,\n }));\n } else {\n setSearchValue(selectedCountry);\n }\n },\n [autocomplete, countries, visibleField],\n );\n\n const onSelectValue = (value: string | string[]) => {\n // helper to prevent onBlur validation before onSelect is processed (iOS issue)\n isUpdatingRef.current = true;\n setTimeout(() => {\n const code = Array.isArray(value) ? (value[0] ?? \"\") : value;\n const selectedCountry = countries.find(\n (country) => country.id === code,\n ) as T;\n\n if (!selectedCountry) {\n return;\n }\n\n setSearchValue(selectedCountry);\n isUpdatingRef.current = false;\n\n if (onSelect) {\n onSelect(selectedCountry);\n }\n }, 0);\n };\n\n const comboboxStore = useComboboxStore({\n setOpen: onOpenChange,\n defaultSelectedValue: \"\",\n setSelectedValue: onSelectValue,\n setValue: handleInputChange,\n });\n\n // TODO: this shouldn't be the way to do it\n useEffect(() => {\n if (isOpen) {\n comboboxStore.show();\n } else {\n comboboxStore.hide();\n }\n }, [isOpen, comboboxStore]);\n\n const handleOnClearSelection = useCallback(() => {\n startTransition(() => {\n setSearchValue(EMPTY_STATE);\n comboboxStore.setValue(\"\");\n });\n\n comboBoxRef.current?.focus();\n }, [comboboxStore]);\n\n const matches = useMemo(() => {\n if (!autocomplete) {\n return countries;\n }\n\n return matchSorter(countries, searchValue.name, {\n keys: [visibleField],\n threshold: rankings.ACRONYM,\n });\n\n // missing countries in deps to not make cache huge\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [visibleField, searchValue.name]);\n\n const rowWidth = useMemo(() => {\n if (visibleField === \"name\") {\n return \"100%\";\n }\n\n return showFlag ? \"14ch\" : \"12ch\";\n }, [visibleField, showFlag]);\n\n const handleBlur = () => {\n //the setTimeout is needed to ensure that the Blur() event is fired after the onChange(), which only occurs on iOS devices\n setTimeout(() => {\n if (isUpdatingRef.current) {\n return;\n }\n // this reset is needed to prevent the input from being cleared when the user types a value that doesn't match any country\n // if the user types a value that doesn't match any country, we want to keep the previous valid country\n if (!countries.some((c) => c.id === searchValue.id)) {\n if (searchValue.name) {\n // If the searchValue is not empty, revert to the previous valid country\n setSearchValue(previousValidCountryRef.current);\n } else {\n // If the searchValue is empty, reset to EMPTY_STATE\n if (onSelect && !searchValue?.id) {\n setSearchValue(EMPTY_STATE);\n // Call onSelect with null if no valid country is selected\n // This is to ensure that the parent component can handle the case where no country is selected\n onSelect(null);\n }\n }\n }\n }, 0);\n };\n\n const handleFocus = () => {\n // set the cursor to the end of the input field when it is focused\n // the setTimeout is used to ensure that the input field is focused before setting the selection range\n setTimeout(() => {\n if (comboBoxRef.current) {\n const value = comboBoxRef.current.value;\n comboBoxRef.current.setSelectionRange(value.length, value.length);\n }\n }, 0);\n };\n\n return (\n <InputField id={id} className={className} ref={inputFieldRef}>\n <InputField.Label disabled={disabled}>{label}</InputField.Label>\n\n <Row width={rowWidth} marginTop=\"lounge\">\n {showFlag && !!searchValue.id && (\n <FlagWrapper>{allCodesToFlags[searchValue.id]}</FlagWrapper>\n )}\n <ComboboxProvider store={comboboxStore}>\n <Combobox\n onBlur={handleBlur}\n disabled={disabled}\n render={(props) => (\n <CountryNameInput\n {...props}\n {...rest}\n onFocus={handleFocus}\n disabled={disabled}\n isErrored={!!errorMessage}\n name={name}\n autocomplete={autocomplete}\n showFlags={showFlag}\n selected={!!searchValue.id}\n required={required}\n value={`${searchValue[visibleField] || \"\"}`}\n ref={comboBoxRef}\n />\n )}\n />\n\n {!disabled && (\n <>\n {isPickerClearable ? (\n <StyledIconButton onClick={handleOnClearSelection} tabIndex={0}>\n <VisuallyHidden>{labelClear}</VisuallyHidden>\n <CrossIcon size=\"0.8em\" />\n </StyledIconButton>\n ) : (\n <ChevronIconWrapper>\n <StyledChevronIcon />\n </ChevronIconWrapper>\n )}\n </>\n )}\n\n {matches.length > 0 && (\n <Popover\n gutter={2}\n portal\n fixed\n portalElement={portalElement}\n sameWidth\n getAnchorRect={() => {\n if (!inputFieldRef.current) {\n return null;\n }\n return inputFieldRef.current.getBoundingClientRect();\n }}\n $translateX={popOverTranslateX || \"0\"}\n >\n <PopupCountriesList>\n {matches.map((value) => (\n <StyledSelectItem key={`${value.id}`} value={`${value.id}`}>\n {showFlag &&\n allCodesToFlags[`${value[\"countryCode\"] || \"\"}`]}\n {visibleField === \"dialCode\"\n ? `${value.dialCode || \"\"} ${value.name}`\n : `${value.name}`}\n </StyledSelectItem>\n ))}\n </PopupCountriesList>\n </Popover>\n )}\n </ComboboxProvider>\n </Row>\n\n <InputField.Validation screenReaderErrorPrefix={screenReaderErrorPrefix}>\n {errorMessage}\n </InputField.Validation>\n </InputField>\n );\n};\n\nexport default CountryPicker;\n"],"names":["countries","label","selectedItem","inputRef","labelClear","screenReaderErrorPrefix","errorMessage","onSelect","onClear","className","popOverTranslateX","onOpenChange","EMPTY_STATE","useEffect","previousValidCountryRef","searchValue","setSearchValue","prev","code","isUpdatingRef","setTimeout","onSelectValue","handleInputChange","comboboxStore","show","hide","startTransition","comboBoxRef","focus","ACRONYM","showFlag","getBoundingClientRect"],"mappings":";;;;;;;;;;;;AAiHA;AAA6B;AACvB;AAEN;AAEA;AAA0C;AACxCA;AACAC;AACK;AACE;AACPC;AACAC;AACAC;AACW;AACXC;AACAC;AACAC;AACAC;AACAC;AACe;AACJ;AACI;AACK;AACT;AACXC;AACS;AACTC;AAEqB;AACrB;AACA;AACA;AAEA;AAEA;AAAwD;AACnDC;AACAV;AAGL;AAEAW;AACE;AAEEC;AAAkCC;AACpC;AAGF;AAEA;AAEI;AACE;AAAA;AAGF;AAEA;AAKA;AACEC;AAA0B;AACrBC;AACC;AACEC;AACUA;AAChB;AAEFF;AAA8B;AAChC;AAKJ;AAEEG;AACAC;AACE;AACA;AAIA;AACE;AAAA;AAGFJ;AACAG;AAEA;AACEZ;AAAwB;AAC1B;AACE;AAGN;AAAuC;AAC5BI;AACa;AACJU;AACRC;AAIZT;AACE;AACEU;AAAcC;AAEdD;AAAcE;AAChB;AAGF;;AACEC;AACEV;AACAO;AAAyB;AAG3BI;AAAqBC;AAGvB;AACE;AACE;AAAO5B;AAGT;AAAgD;AAC3B;AACC6B;AACrB;AAMH;AACE;AACE;AAAO;AAGT;AAA2B;AAG7B;AAEET;AACE;AACE;AAAA;AAIF;AACE;AAEEJ;AAA8C;AAG9C;AACEA;AAGAT;AAAa;AACf;AACF;AACF;AACE;AAGN;AAGEa;AACE;AACE;AACAO;AAAgE;AAClE;AACE;AAGN;AAEI;AAA6C;AAG1CG;AAC+C;AAG9C;AAkBI;AAOI;AAA4B;AACL;AAO7B;AAWI;AACE;AAAO;AAET;AAA6BC;AAOxBD;AACgD;AAGhC;AAIzB;AAEJ;AACF;AAIA;AAGN;;"}
|
package/dist/index12.js
ADDED
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
3
|
+
import { useRef, useState, useEffect, useCallback, startTransition, useMemo } from "react";
|
|
4
|
+
import { matchSorter, rankings } from "match-sorter";
|
|
5
|
+
import { useComboboxStore, ComboboxProvider, Combobox, VisuallyHidden } from "@ariakit/react";
|
|
6
|
+
import { Row, FlagWrapper, CountryNameInput, StyledIconButton, ChevronIconWrapper, StyledChevronIcon, Popover, PopupCountriesList, StyledSelectItem } from "./index539.js";
|
|
7
|
+
import InputField from "./index20.js";
|
|
8
|
+
import { allCodesToFlags } from "./index51.js";
|
|
9
|
+
import { usePortalElement } from "./index122.js";
|
|
10
|
+
import CrossIcon from "./index179.js";
|
|
11
|
+
const EMPTY_STATE = {
|
|
12
|
+
id: "",
|
|
13
|
+
name: ""
|
|
14
|
+
};
|
|
15
|
+
const CountryPicker = ({
|
|
16
|
+
countries,
|
|
17
|
+
label,
|
|
18
|
+
id = "country-picker",
|
|
19
|
+
name = "country",
|
|
20
|
+
selectedItem,
|
|
21
|
+
inputRef,
|
|
22
|
+
labelClear,
|
|
23
|
+
required = false,
|
|
24
|
+
screenReaderErrorPrefix,
|
|
25
|
+
errorMessage,
|
|
26
|
+
onSelect,
|
|
27
|
+
onClear,
|
|
28
|
+
className,
|
|
29
|
+
visibleField = "name",
|
|
30
|
+
disabled = false,
|
|
31
|
+
autocomplete = true,
|
|
32
|
+
canClearSelection = true,
|
|
33
|
+
showFlag = false,
|
|
34
|
+
popOverTranslateX,
|
|
35
|
+
isOpen = false,
|
|
36
|
+
onOpenChange,
|
|
37
|
+
...rest
|
|
38
|
+
}) => {
|
|
39
|
+
const isUpdatingRef = useRef(false);
|
|
40
|
+
const comboBoxRef = useRef(null);
|
|
41
|
+
const inputFieldRef = useRef(null);
|
|
42
|
+
const portalElement = usePortalElement();
|
|
43
|
+
const [searchValue, setSearchValue] = useState({
|
|
44
|
+
...EMPTY_STATE,
|
|
45
|
+
...selectedItem
|
|
46
|
+
});
|
|
47
|
+
const previousValidCountryRef = useRef(EMPTY_STATE);
|
|
48
|
+
useEffect(() => {
|
|
49
|
+
if (searchValue && countries.some((c) => c.id === searchValue.id)) {
|
|
50
|
+
previousValidCountryRef.current = searchValue;
|
|
51
|
+
}
|
|
52
|
+
}, [searchValue, countries]);
|
|
53
|
+
const isPickerClearable = !!searchValue.name && canClearSelection;
|
|
54
|
+
const handleInputChange = useCallback((value) => {
|
|
55
|
+
if (!autocomplete) {
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
const code = Array.isArray(value) ? value[0] ?? "" : value;
|
|
59
|
+
const selectedCountry = countries.find((country) => country.id === code);
|
|
60
|
+
if (!selectedCountry) {
|
|
61
|
+
setSearchValue((prev) => ({
|
|
62
|
+
...prev,
|
|
63
|
+
id: "",
|
|
64
|
+
name: code,
|
|
65
|
+
[visibleField]: code
|
|
66
|
+
}));
|
|
67
|
+
} else {
|
|
68
|
+
setSearchValue(selectedCountry);
|
|
69
|
+
}
|
|
70
|
+
}, [autocomplete, countries, visibleField]);
|
|
71
|
+
const onSelectValue = (value) => {
|
|
72
|
+
isUpdatingRef.current = true;
|
|
73
|
+
setTimeout(() => {
|
|
74
|
+
const code = Array.isArray(value) ? value[0] ?? "" : value;
|
|
75
|
+
const selectedCountry = countries.find((country) => country.id === code);
|
|
76
|
+
if (!selectedCountry) {
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
setSearchValue(selectedCountry);
|
|
80
|
+
isUpdatingRef.current = false;
|
|
81
|
+
if (onSelect) {
|
|
82
|
+
onSelect(selectedCountry);
|
|
83
|
+
}
|
|
84
|
+
}, 0);
|
|
85
|
+
};
|
|
86
|
+
const comboboxStore = useComboboxStore({
|
|
87
|
+
setOpen: onOpenChange,
|
|
88
|
+
defaultSelectedValue: "",
|
|
89
|
+
setSelectedValue: onSelectValue,
|
|
90
|
+
setValue: handleInputChange
|
|
91
|
+
});
|
|
92
|
+
useEffect(() => {
|
|
93
|
+
if (isOpen) {
|
|
94
|
+
comboboxStore.show();
|
|
95
|
+
} else {
|
|
96
|
+
comboboxStore.hide();
|
|
97
|
+
}
|
|
98
|
+
}, [isOpen, comboboxStore]);
|
|
99
|
+
const handleOnClearSelection = useCallback(() => {
|
|
100
|
+
var _a;
|
|
101
|
+
startTransition(() => {
|
|
102
|
+
setSearchValue(EMPTY_STATE);
|
|
103
|
+
comboboxStore.setValue("");
|
|
104
|
+
});
|
|
105
|
+
(_a = comboBoxRef.current) == null ? void 0 : _a.focus();
|
|
106
|
+
}, [comboboxStore]);
|
|
107
|
+
const matches = useMemo(() => {
|
|
108
|
+
if (!autocomplete) {
|
|
109
|
+
return countries;
|
|
110
|
+
}
|
|
111
|
+
return matchSorter(countries, searchValue.name, {
|
|
112
|
+
keys: [visibleField],
|
|
113
|
+
threshold: rankings.ACRONYM
|
|
114
|
+
});
|
|
115
|
+
}, [visibleField, searchValue.name]);
|
|
116
|
+
const rowWidth = useMemo(() => {
|
|
117
|
+
if (visibleField === "name") {
|
|
118
|
+
return "100%";
|
|
119
|
+
}
|
|
120
|
+
return showFlag ? "14ch" : "12ch";
|
|
121
|
+
}, [visibleField, showFlag]);
|
|
122
|
+
const handleBlur = () => {
|
|
123
|
+
setTimeout(() => {
|
|
124
|
+
if (isUpdatingRef.current) {
|
|
125
|
+
return;
|
|
126
|
+
}
|
|
127
|
+
if (!countries.some((c) => c.id === searchValue.id)) {
|
|
128
|
+
if (searchValue.name) {
|
|
129
|
+
setSearchValue(previousValidCountryRef.current);
|
|
130
|
+
} else {
|
|
131
|
+
if (onSelect && !(searchValue == null ? void 0 : searchValue.id)) {
|
|
132
|
+
setSearchValue(EMPTY_STATE);
|
|
133
|
+
onSelect(null);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}, 0);
|
|
138
|
+
};
|
|
139
|
+
const handleFocus = () => {
|
|
140
|
+
setTimeout(() => {
|
|
141
|
+
if (comboBoxRef.current) {
|
|
142
|
+
const value = comboBoxRef.current.value;
|
|
143
|
+
comboBoxRef.current.setSelectionRange(value.length, value.length);
|
|
144
|
+
}
|
|
145
|
+
}, 0);
|
|
146
|
+
};
|
|
147
|
+
return /* @__PURE__ */ jsxs(InputField, { id, className, ref: inputFieldRef, children: [
|
|
148
|
+
/* @__PURE__ */ jsx(InputField.Label, { disabled, children: label }),
|
|
149
|
+
/* @__PURE__ */ jsxs(Row, { width: rowWidth, marginTop: "lounge", children: [
|
|
150
|
+
showFlag && !!searchValue.id && /* @__PURE__ */ jsx(FlagWrapper, { children: allCodesToFlags[searchValue.id] }),
|
|
151
|
+
/* @__PURE__ */ jsxs(ComboboxProvider, { store: comboboxStore, children: [
|
|
152
|
+
/* @__PURE__ */ jsx(Combobox, { onBlur: handleBlur, disabled, render: (props) => /* @__PURE__ */ jsx(CountryNameInput, { ...props, ...rest, onFocus: handleFocus, disabled, isErrored: !!errorMessage, name, autocomplete, showFlags: showFlag, selected: !!searchValue.id, required, value: `${searchValue[visibleField] || ""}`, ref: comboBoxRef }) }),
|
|
153
|
+
!disabled && /* @__PURE__ */ jsx(Fragment, { children: isPickerClearable ? /* @__PURE__ */ jsxs(StyledIconButton, { onClick: handleOnClearSelection, tabIndex: 0, children: [
|
|
154
|
+
/* @__PURE__ */ jsx(VisuallyHidden, { children: labelClear }),
|
|
155
|
+
/* @__PURE__ */ jsx(CrossIcon, { size: "0.8em" })
|
|
156
|
+
] }) : /* @__PURE__ */ jsx(ChevronIconWrapper, { children: /* @__PURE__ */ jsx(StyledChevronIcon, {}) }) }),
|
|
157
|
+
matches.length > 0 && /* @__PURE__ */ jsx(Popover, { gutter: 2, portal: true, fixed: true, portalElement, sameWidth: true, getAnchorRect: () => {
|
|
158
|
+
if (!inputFieldRef.current) {
|
|
159
|
+
return null;
|
|
160
|
+
}
|
|
161
|
+
return inputFieldRef.current.getBoundingClientRect();
|
|
162
|
+
}, $translateX: popOverTranslateX || "0", children: /* @__PURE__ */ jsx(PopupCountriesList, { children: matches.map((value) => /* @__PURE__ */ jsxs(StyledSelectItem, { value: `${value.id}`, children: [
|
|
163
|
+
showFlag && allCodesToFlags[`${value["countryCode"] || ""}`],
|
|
164
|
+
visibleField === "dialCode" ? `${value.dialCode || ""} ${value.name}` : `${value.name}`
|
|
165
|
+
] }, `${value.id}`)) }) })
|
|
166
|
+
] })
|
|
167
|
+
] }),
|
|
168
|
+
/* @__PURE__ */ jsx(InputField.Validation, { screenReaderErrorPrefix, children: errorMessage })
|
|
169
|
+
] });
|
|
170
|
+
};
|
|
171
|
+
export {
|
|
172
|
+
CountryPicker as default
|
|
173
|
+
};
|
|
174
|
+
//# sourceMappingURL=index12.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index12.js","sources":["../src/components/CountryPicker/index.tsx"],"sourcesContent":["\"use client\";\n\nimport React, {\n startTransition,\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from \"react\";\nimport { matchSorter, rankings } from \"match-sorter\";\n\nimport {\n Combobox,\n ComboboxProvider,\n useComboboxStore,\n VisuallyHidden,\n} from \"@ariakit/react\";\n\nimport {\n ChevronIconWrapper,\n CountryNameInput,\n FlagWrapper,\n Popover,\n PopupCountriesList,\n Row,\n StyledChevronIcon,\n StyledIconButton,\n StyledSelectItem,\n} from \"./index.styles\";\n\nimport InputField from \"../InputField\";\nimport { CrossIcon } from \"../../icons\";\nimport { allCodesToFlags } from \"../../flag-icons/allCodesToFlags\";\nimport { usePortalElement } from \"../../hooks/usePortalElement\";\n\nexport type Country = {\n id: string | number;\n name: string;\n [key: string]: unknown;\n};\n\nexport type CountryPickerProps<T extends Country> = {\n countries: Array<T>;\n showFlag?: boolean;\n\n selectedItem?: T | null;\n\n /** The visual form element label */\n label: React.ReactNode;\n /**\n * @default 'country-picker'\n */\n id?: string;\n /**\n * @default 'country'\n */\n name?: string;\n inputRef?: React.Ref<HTMLInputElement>;\n /** The visually hidden a11y label in the button when Downshift is clearable and has a selected item */\n labelClear: React.ReactNode;\n /**\n * @default false\n */\n required?: boolean;\n /** Visually hidden prefix announced to screen readers before the error message (e.g., \"Error: \"). */\n screenReaderErrorPrefix: string;\n /**\n * If set, the form field border colour will switch to red and the defined message will be displayed below the field\n */\n errorMessage?: React.ReactNode;\n onClear?: () => void;\n className?: string;\n /**\n * @default false\n */\n disabled?: boolean;\n /**\n * Toggles the `readOnly` attribute on the input field, which prevents typing in the field, but still allows to select options from the dropdown.\n * @default true\n */\n autocomplete?: boolean;\n /**\n * The property of the country object in the countries array that will be used as the Downshift and selected item visual display\n * The width of the Downshift is also altered by the value defined here (dialCode = 12ch, name = 100%)\n * @default 'name'\n * */\n visibleField?: \"name\" | \"dialCode\";\n\n /** id of element(s) that describe the country picker input */\n \"aria-describedby\"?: string;\n\n /**\n * Toggles the `clear` functionality, when set to false, the open/close buttons will be maintained on selection, no clear functionality and button will be suppressed\n * @default true\n * */\n canClearSelection?: boolean;\n onSelect?: (value: T | null) => void;\n\n popOverTranslateX?: string;\n isOpen?: boolean;\n /**\n * When set to false, the popover will be closed when the component is mounted\n * If set to true, the popover will be open\n * When set to false, the popover will be closed (useful for controlled components)\n * @default false\n */\n onOpenChange?: (open: boolean) => void;\n /**\n * Callback function that is called when the state of popover is changed from open to closed or vice versa\n */\n};\n\nconst EMPTY_STATE: Country = {\n id: \"\",\n name: \"\",\n};\n\nconst CountryPicker = <T extends Country>({\n countries,\n label,\n id = \"country-picker\",\n name = \"country\",\n selectedItem,\n inputRef,\n labelClear,\n required = false,\n screenReaderErrorPrefix,\n errorMessage,\n onSelect,\n onClear,\n className,\n visibleField = \"name\",\n disabled = false,\n autocomplete = true,\n canClearSelection = true,\n showFlag = false,\n popOverTranslateX,\n isOpen = false,\n onOpenChange,\n ...rest\n}: CountryPickerProps<T>) => {\n const isUpdatingRef = useRef(false);\n const comboBoxRef = useRef<HTMLInputElement>(null);\n const inputFieldRef = useRef<HTMLDivElement>(null);\n\n const portalElement = usePortalElement();\n\n const [searchValue, setSearchValue] = useState<Country>({\n ...EMPTY_STATE,\n ...selectedItem,\n });\n\n const previousValidCountryRef = useRef<Country>(EMPTY_STATE);\n\n useEffect(() => {\n if (searchValue && countries.some((c) => c.id === searchValue.id)) {\n // If the searchValue is a valid country, update the previous valid country reference\n previousValidCountryRef.current = searchValue;\n }\n }, [searchValue, countries]);\n\n const isPickerClearable = !!searchValue.name && canClearSelection;\n\n const handleInputChange = useCallback(\n (value: string | string[]) => {\n if (!autocomplete) {\n return;\n }\n\n const code = Array.isArray(value) ? (value[0] ?? \"\") : value;\n\n const selectedCountry = countries.find(\n (country) => country.id === code,\n ) as T;\n\n // country not found yet\n if (!selectedCountry) {\n setSearchValue((prev) => ({\n ...prev,\n id: \"\",\n name: code,\n [visibleField]: code,\n }));\n } else {\n setSearchValue(selectedCountry);\n }\n },\n [autocomplete, countries, visibleField],\n );\n\n const onSelectValue = (value: string | string[]) => {\n // helper to prevent onBlur validation before onSelect is processed (iOS issue)\n isUpdatingRef.current = true;\n setTimeout(() => {\n const code = Array.isArray(value) ? (value[0] ?? \"\") : value;\n const selectedCountry = countries.find(\n (country) => country.id === code,\n ) as T;\n\n if (!selectedCountry) {\n return;\n }\n\n setSearchValue(selectedCountry);\n isUpdatingRef.current = false;\n\n if (onSelect) {\n onSelect(selectedCountry);\n }\n }, 0);\n };\n\n const comboboxStore = useComboboxStore({\n setOpen: onOpenChange,\n defaultSelectedValue: \"\",\n setSelectedValue: onSelectValue,\n setValue: handleInputChange,\n });\n\n // TODO: this shouldn't be the way to do it\n useEffect(() => {\n if (isOpen) {\n comboboxStore.show();\n } else {\n comboboxStore.hide();\n }\n }, [isOpen, comboboxStore]);\n\n const handleOnClearSelection = useCallback(() => {\n startTransition(() => {\n setSearchValue(EMPTY_STATE);\n comboboxStore.setValue(\"\");\n });\n\n comboBoxRef.current?.focus();\n }, [comboboxStore]);\n\n const matches = useMemo(() => {\n if (!autocomplete) {\n return countries;\n }\n\n return matchSorter(countries, searchValue.name, {\n keys: [visibleField],\n threshold: rankings.ACRONYM,\n });\n\n // missing countries in deps to not make cache huge\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [visibleField, searchValue.name]);\n\n const rowWidth = useMemo(() => {\n if (visibleField === \"name\") {\n return \"100%\";\n }\n\n return showFlag ? \"14ch\" : \"12ch\";\n }, [visibleField, showFlag]);\n\n const handleBlur = () => {\n //the setTimeout is needed to ensure that the Blur() event is fired after the onChange(), which only occurs on iOS devices\n setTimeout(() => {\n if (isUpdatingRef.current) {\n return;\n }\n // this reset is needed to prevent the input from being cleared when the user types a value that doesn't match any country\n // if the user types a value that doesn't match any country, we want to keep the previous valid country\n if (!countries.some((c) => c.id === searchValue.id)) {\n if (searchValue.name) {\n // If the searchValue is not empty, revert to the previous valid country\n setSearchValue(previousValidCountryRef.current);\n } else {\n // If the searchValue is empty, reset to EMPTY_STATE\n if (onSelect && !searchValue?.id) {\n setSearchValue(EMPTY_STATE);\n // Call onSelect with null if no valid country is selected\n // This is to ensure that the parent component can handle the case where no country is selected\n onSelect(null);\n }\n }\n }\n }, 0);\n };\n\n const handleFocus = () => {\n // set the cursor to the end of the input field when it is focused\n // the setTimeout is used to ensure that the input field is focused before setting the selection range\n setTimeout(() => {\n if (comboBoxRef.current) {\n const value = comboBoxRef.current.value;\n comboBoxRef.current.setSelectionRange(value.length, value.length);\n }\n }, 0);\n };\n\n return (\n <InputField id={id} className={className} ref={inputFieldRef}>\n <InputField.Label disabled={disabled}>{label}</InputField.Label>\n\n <Row width={rowWidth} marginTop=\"lounge\">\n {showFlag && !!searchValue.id && (\n <FlagWrapper>{allCodesToFlags[searchValue.id]}</FlagWrapper>\n )}\n <ComboboxProvider store={comboboxStore}>\n <Combobox\n onBlur={handleBlur}\n disabled={disabled}\n render={(props) => (\n <CountryNameInput\n {...props}\n {...rest}\n onFocus={handleFocus}\n disabled={disabled}\n isErrored={!!errorMessage}\n name={name}\n autocomplete={autocomplete}\n showFlags={showFlag}\n selected={!!searchValue.id}\n required={required}\n value={`${searchValue[visibleField] || \"\"}`}\n ref={comboBoxRef}\n />\n )}\n />\n\n {!disabled && (\n <>\n {isPickerClearable ? (\n <StyledIconButton onClick={handleOnClearSelection} tabIndex={0}>\n <VisuallyHidden>{labelClear}</VisuallyHidden>\n <CrossIcon size=\"0.8em\" />\n </StyledIconButton>\n ) : (\n <ChevronIconWrapper>\n <StyledChevronIcon />\n </ChevronIconWrapper>\n )}\n </>\n )}\n\n {matches.length > 0 && (\n <Popover\n gutter={2}\n portal\n fixed\n portalElement={portalElement}\n sameWidth\n getAnchorRect={() => {\n if (!inputFieldRef.current) {\n return null;\n }\n return inputFieldRef.current.getBoundingClientRect();\n }}\n $translateX={popOverTranslateX || \"0\"}\n >\n <PopupCountriesList>\n {matches.map((value) => (\n <StyledSelectItem key={`${value.id}`} value={`${value.id}`}>\n {showFlag &&\n allCodesToFlags[`${value[\"countryCode\"] || \"\"}`]}\n {visibleField === \"dialCode\"\n ? `${value.dialCode || \"\"} ${value.name}`\n : `${value.name}`}\n </StyledSelectItem>\n ))}\n </PopupCountriesList>\n </Popover>\n )}\n </ComboboxProvider>\n </Row>\n\n <InputField.Validation screenReaderErrorPrefix={screenReaderErrorPrefix}>\n {errorMessage}\n </InputField.Validation>\n </InputField>\n );\n};\n\nexport default CountryPicker;\n"],"names":["countries","label","selectedItem","inputRef","labelClear","screenReaderErrorPrefix","errorMessage","onSelect","onClear","className","popOverTranslateX","onOpenChange","EMPTY_STATE","useEffect","previousValidCountryRef","searchValue","setSearchValue","prev","code","isUpdatingRef","setTimeout","onSelectValue","handleInputChange","comboboxStore","show","hide","startTransition","comboBoxRef","focus","ACRONYM","showFlag","getBoundingClientRect"],"mappings":";;;;;;;;;;AAiHA;AAA6B;AACvB;AAEN;AAEA;AAA0C;AACxCA;AACAC;AACK;AACE;AACPC;AACAC;AACAC;AACW;AACXC;AACAC;AACAC;AACAC;AACAC;AACe;AACJ;AACI;AACK;AACT;AACXC;AACS;AACTC;AAEqB;AACrB;AACA;AACA;AAEA;AAEA;AAAwD;AACnDC;AACAV;AAGL;AAEAW;AACE;AAEEC;AAAkCC;AACpC;AAGF;AAEA;AAEI;AACE;AAAA;AAGF;AAEA;AAKA;AACEC;AAA0B;AACrBC;AACC;AACEC;AACUA;AAChB;AAEFF;AAA8B;AAChC;AAKJ;AAEEG;AACAC;AACE;AACA;AAIA;AACE;AAAA;AAGFJ;AACAG;AAEA;AACEZ;AAAwB;AAC1B;AACE;AAGN;AAAuC;AAC5BI;AACa;AACJU;AACRC;AAIZT;AACE;AACEU;AAAcC;AAEdD;AAAcE;AAChB;AAGF;;AACEC;AACEV;AACAO;AAAyB;AAG3BI;AAAqBC;AAGvB;AACE;AACE;AAAO5B;AAGT;AAAgD;AAC3B;AACC6B;AACrB;AAMH;AACE;AACE;AAAO;AAGT;AAA2B;AAG7B;AAEET;AACE;AACE;AAAA;AAIF;AACE;AAEEJ;AAA8C;AAG9C;AACEA;AAGAT;AAAa;AACf;AACF;AACF;AACE;AAGN;AAGEa;AACE;AACE;AACAO;AAAgE;AAClE;AACE;AAGN;AAEI;AAA6C;AAG1CG;AAC+C;AAG9C;AAkBI;AAOI;AAA4B;AACL;AAO7B;AAWI;AACE;AAAO;AAET;AAA6BC;AAOxBD;AACgD;AAGhC;AAIzB;AAEJ;AACF;AAIA;AAGN;;;;"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const styled = require("styled-components");
|
|
4
|
+
const unstyledlist = styled.css(["margin:0;padding:0;list-style:none;"]);
|
|
5
|
+
const buttonreset = styled.css(["margin:initial;padding:initial;border:0;color:inherit;font-weight:inherit;font-size:inherit;font-family:inherit;line-height:inherit;letter-spacing:inherit;text-align:inherit;text-transform:inherit;background-color:transparent;"]);
|
|
6
|
+
const inputReset = styled.css(["margin:0;padding:0;border:0;color:inherit;font-size:inherit;font-family:inherit;background-color:transparent;"]);
|
|
7
|
+
const truncatetext = styled.css(["overflow:hidden;white-space:nowrap;text-overflow:ellipsis;"]);
|
|
8
|
+
const visuallyhidden = styled.css(["position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;white-space:nowrap;clip-path:inset(50%);"]);
|
|
9
|
+
const undovisuallyhidden = styled.css(["position:static;width:auto;height:auto;margin:0;overflow:visible;white-space:inherit;clip-path:none;"]);
|
|
10
|
+
exports.buttonreset = buttonreset;
|
|
11
|
+
exports.inputReset = inputReset;
|
|
12
|
+
exports.truncatetext = truncatetext;
|
|
13
|
+
exports.undovisuallyhidden = undovisuallyhidden;
|
|
14
|
+
exports.unstyledlist = unstyledlist;
|
|
15
|
+
exports.visuallyhidden = visuallyhidden;
|
|
16
|
+
//# sourceMappingURL=index120.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index120.cjs","sources":["../src/utils/snippets.ts"],"sourcesContent":["import { css } from \"styled-components\";\n\nexport const unstyledlist = css`\n margin: 0;\n padding: 0;\n list-style: none;\n`;\n\nexport const buttonreset = css`\n margin: initial;\n padding: initial;\n border: 0;\n color: inherit;\n font-weight: inherit;\n font-size: inherit;\n font-family: inherit;\n line-height: inherit;\n letter-spacing: inherit;\n text-align: inherit;\n text-transform: inherit;\n background-color: transparent;\n`;\n\nexport const inputReset = css`\n margin: 0;\n padding: 0;\n border: 0;\n color: inherit;\n font-size: inherit;\n font-family: inherit;\n background-color: transparent;\n`;\n\nexport const truncatetext = css`\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n`;\n\nexport const visuallyhidden = css`\n position: absolute;\n width: 1px;\n height: 1px;\n margin: -1px;\n padding: 0;\n border: 0;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n`;\n\nexport const undovisuallyhidden = css`\n position: static;\n width: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n white-space: inherit;\n clip-path: none;\n`;\n"],"names":["unstyledlist","css","buttonreset","inputReset","truncatetext","visuallyhidden","undovisuallyhidden"],"mappings":";;;AAEO,MAAMA,eAAeC,OAAAA,IAAG,CAAA,qCAAA,CAAA;AAMxB,MAAMC,cAAcD,OAAAA,IAAG,CAAA,oOAAA,CAAA;AAevB,MAAME,aAAaF,OAAAA,IAAG,CAAA,+GAAA,CAAA;AAUtB,MAAMG,eAAeH,OAAAA,IAAG,CAAA,4DAAA,CAAA;AAMxB,MAAMI,iBAAiBJ,OAAAA,IAAG,CAAA,gIAAA,CAAA;AAY1B,MAAMK,qBAAqBL,OAAAA,IAAG,CAAA,sGAAA,CAAA;;;;;;;"}
|
package/dist/index120.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { css } from "styled-components";
|
|
2
|
+
const unstyledlist = css(["margin:0;padding:0;list-style:none;"]);
|
|
3
|
+
const buttonreset = css(["margin:initial;padding:initial;border:0;color:inherit;font-weight:inherit;font-size:inherit;font-family:inherit;line-height:inherit;letter-spacing:inherit;text-align:inherit;text-transform:inherit;background-color:transparent;"]);
|
|
4
|
+
const inputReset = css(["margin:0;padding:0;border:0;color:inherit;font-size:inherit;font-family:inherit;background-color:transparent;"]);
|
|
5
|
+
const truncatetext = css(["overflow:hidden;white-space:nowrap;text-overflow:ellipsis;"]);
|
|
6
|
+
const visuallyhidden = css(["position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;white-space:nowrap;clip-path:inset(50%);"]);
|
|
7
|
+
const undovisuallyhidden = css(["position:static;width:auto;height:auto;margin:0;overflow:visible;white-space:inherit;clip-path:none;"]);
|
|
8
|
+
export {
|
|
9
|
+
buttonreset,
|
|
10
|
+
inputReset,
|
|
11
|
+
truncatetext,
|
|
12
|
+
undovisuallyhidden,
|
|
13
|
+
unstyledlist,
|
|
14
|
+
visuallyhidden
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=index120.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index120.js","sources":["../src/utils/snippets.ts"],"sourcesContent":["import { css } from \"styled-components\";\n\nexport const unstyledlist = css`\n margin: 0;\n padding: 0;\n list-style: none;\n`;\n\nexport const buttonreset = css`\n margin: initial;\n padding: initial;\n border: 0;\n color: inherit;\n font-weight: inherit;\n font-size: inherit;\n font-family: inherit;\n line-height: inherit;\n letter-spacing: inherit;\n text-align: inherit;\n text-transform: inherit;\n background-color: transparent;\n`;\n\nexport const inputReset = css`\n margin: 0;\n padding: 0;\n border: 0;\n color: inherit;\n font-size: inherit;\n font-family: inherit;\n background-color: transparent;\n`;\n\nexport const truncatetext = css`\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n`;\n\nexport const visuallyhidden = css`\n position: absolute;\n width: 1px;\n height: 1px;\n margin: -1px;\n padding: 0;\n border: 0;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n`;\n\nexport const undovisuallyhidden = css`\n position: static;\n width: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n white-space: inherit;\n clip-path: none;\n`;\n"],"names":["unstyledlist","css","buttonreset","inputReset","truncatetext","visuallyhidden","undovisuallyhidden"],"mappings":";AAEO,MAAMA,eAAeC,IAAG,CAAA,qCAAA,CAAA;AAMxB,MAAMC,cAAcD,IAAG,CAAA,oOAAA,CAAA;AAevB,MAAME,aAAaF,IAAG,CAAA,+GAAA,CAAA;AAUtB,MAAMG,eAAeH,IAAG,CAAA,4DAAA,CAAA;AAMxB,MAAMI,iBAAiBJ,IAAG,CAAA,gIAAA,CAAA;AAY1B,MAAMK,qBAAqBL,IAAG,CAAA,sGAAA,CAAA;"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const styled = require("styled-components");
|
|
4
|
+
const spacing = require("./index522.cjs");
|
|
5
|
+
const accentBase = styled.css(['display:block;background-color:currentColor;content:"";']);
|
|
6
|
+
const mauna = styled.css(["&:before{", ";width:", ";height:", ";margin-bottom:", ";}"], accentBase, spacing.spacing.stadium, spacing.spacing.club, spacing.spacing.auditorium);
|
|
7
|
+
const maunaDesktop = styled.css(["&:before{", ";width:60px;height:", ";margin-bottom:", ";}"], accentBase, spacing.spacing.club, spacing.spacing.auditorium);
|
|
8
|
+
const everest = styled.css(["&:before{", ";width:44px;height:6px;margin-bottom:", ";}"], accentBase, spacing.spacing.hall);
|
|
9
|
+
const everestDesktop = styled.css(["&:before{", ";width:60px;height:", ";margin-bottom:", ";}"], accentBase, spacing.spacing.club, spacing.spacing.auditorium);
|
|
10
|
+
const kilimanjaro = styled.css(["&:before{", ";width:", ";height:", ";margin-bottom:", ";}"], accentBase, spacing.spacing.arena, spacing.spacing.lounge, spacing.spacing.club);
|
|
11
|
+
const kilimanjaroDesktop = styled.css(["&:before{", ";width:40px;height:6px;margin-bottom:", ";}"], accentBase, spacing.spacing.hall);
|
|
12
|
+
const vinson = styled.css(["&:before{", ";width:", ";height:", ";margin-bottom:", ";}"], accentBase, spacing.spacing.arena, spacing.spacing.lounge, spacing.spacing.club);
|
|
13
|
+
const blanc = styled.css(["&:before{", ";width:", ";height:", ";margin-bottom:", ";}"], accentBase, spacing.spacing.amphitheatre, spacing.spacing.lounge, spacing.spacing.club);
|
|
14
|
+
const blancDesktop = styled.css(["&:before{", ";width:", ";height:", ";margin-bottom:", ";}"], accentBase, spacing.spacing.arena, spacing.spacing.lounge, spacing.spacing.club);
|
|
15
|
+
const titleAccents = {
|
|
16
|
+
mauna,
|
|
17
|
+
maunaDesktop,
|
|
18
|
+
everest,
|
|
19
|
+
everestDesktop,
|
|
20
|
+
kilimanjaro,
|
|
21
|
+
kilimanjaroDesktop,
|
|
22
|
+
// Vinson is identical on mobile and desktop, but we export them seperately in case this changes at some point
|
|
23
|
+
vinson,
|
|
24
|
+
vinsonDesktop: vinson,
|
|
25
|
+
blanc,
|
|
26
|
+
blancDesktop
|
|
27
|
+
};
|
|
28
|
+
exports.titleAccents = titleAccents;
|
|
29
|
+
//# sourceMappingURL=index121.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index121.cjs","sources":["../src/utils/titleAccents.ts"],"sourcesContent":["import { css } from \"styled-components\";\nimport { spacing } from \"../dimensions\";\n\nconst accentBase = css`\n display: block;\n background-color: currentColor;\n content: \"\";\n`;\n\nconst mauna = css`\n &:before {\n ${accentBase};\n width: ${spacing.stadium};\n height: ${spacing.club};\n margin-bottom: ${spacing.auditorium};\n }\n`;\n\nconst maunaDesktop = css`\n &:before {\n ${accentBase};\n width: 60px;\n height: ${spacing.club};\n margin-bottom: ${spacing.auditorium};\n }\n`;\n\nconst everest = css`\n &:before {\n ${accentBase};\n width: 44px;\n height: 6px;\n margin-bottom: ${spacing.hall};\n }\n`;\n\nconst everestDesktop = css`\n &:before {\n ${accentBase};\n width: 60px;\n height: ${spacing.club};\n margin-bottom: ${spacing.auditorium};\n }\n`;\n\nconst kilimanjaro = css`\n &:before {\n ${accentBase};\n width: ${spacing.arena};\n height: ${spacing.lounge};\n margin-bottom: ${spacing.club};\n }\n`;\n\nconst kilimanjaroDesktop = css`\n &:before {\n ${accentBase};\n width: 40px;\n height: 6px;\n margin-bottom: ${spacing.hall};\n }\n`;\n\nconst vinson = css`\n &:before {\n ${accentBase};\n width: ${spacing.arena};\n height: ${spacing.lounge};\n margin-bottom: ${spacing.club};\n }\n`;\n\nconst blanc = css`\n &:before {\n ${accentBase};\n width: ${spacing.amphitheatre};\n height: ${spacing.lounge};\n margin-bottom: ${spacing.club};\n }\n`;\n\nconst blancDesktop = css`\n &:before {\n ${accentBase};\n width: ${spacing.arena};\n height: ${spacing.lounge};\n margin-bottom: ${spacing.club};\n }\n`;\n\nexport const titleAccents = {\n mauna,\n maunaDesktop,\n everest,\n everestDesktop,\n kilimanjaro,\n kilimanjaroDesktop,\n // Vinson is identical on mobile and desktop, but we export them seperately in case this changes at some point\n vinson,\n vinsonDesktop: vinson,\n blanc,\n blancDesktop,\n};\n"],"names":["accentBase","css","mauna","spacing","stadium","club","auditorium","maunaDesktop","everest","hall","everestDesktop","kilimanjaro","arena","lounge","kilimanjaroDesktop","vinson","blanc","amphitheatre","blancDesktop","titleAccents","vinsonDesktop"],"mappings":";;;;AAGA,MAAMA,aAAaC,OAAAA,IAAG,CAAA,yDAAA,CAAA;AAMtB,MAAMC,QAAQD,OAAAA,IAAG,CAAA,aAAA,WAAA,YAAA,mBAAA,IAAA,GAEXD,YACOG,QAAAA,QAAQC,SACPD,QAAAA,QAAQE,MACDF,QAAAA,QAAQG,UAAU;AAIvC,MAAMC,eAAeN,OAAAA,IAAG,CAAA,aAAA,uBAAA,mBAAA,IAAA,GAElBD,YAEQG,QAAAA,QAAQE,MACDF,QAAAA,QAAQG,UAAU;AAIvC,MAAME,UAAUP,OAAAA,IAAG,CAAA,aAAA,yCAAA,IAAA,GAEbD,YAGeG,QAAAA,QAAQM,IAAI;AAIjC,MAAMC,iBAAiBT,OAAAA,IAAG,CAAA,aAAA,uBAAA,mBAAA,IAAA,GAEpBD,YAEQG,QAAAA,QAAQE,MACDF,QAAAA,QAAQG,UAAU;AAIvC,MAAMK,cAAcV,OAAAA,IAAG,CAAA,aAAA,WAAA,YAAA,mBAAA,IAAA,GAEjBD,YACOG,QAAAA,QAAQS,OACPT,QAAAA,QAAQU,QACDV,QAAAA,QAAQE,IAAI;AAIjC,MAAMS,qBAAqBb,OAAAA,IAAG,CAAA,aAAA,yCAAA,IAAA,GAExBD,YAGeG,QAAAA,QAAQM,IAAI;AAIjC,MAAMM,SAASd,OAAAA,IAAG,CAAA,aAAA,WAAA,YAAA,mBAAA,IAAA,GAEZD,YACOG,QAAAA,QAAQS,OACPT,QAAAA,QAAQU,QACDV,QAAAA,QAAQE,IAAI;AAIjC,MAAMW,QAAQf,OAAAA,IAAG,CAAA,aAAA,WAAA,YAAA,mBAAA,IAAA,GAEXD,YACOG,QAAAA,QAAQc,cACPd,QAAAA,QAAQU,QACDV,QAAAA,QAAQE,IAAI;AAIjC,MAAMa,eAAejB,OAAAA,IAAG,CAAA,aAAA,WAAA,YAAA,mBAAA,IAAA,GAElBD,YACOG,QAAAA,QAAQS,OACPT,QAAAA,QAAQU,QACDV,QAAAA,QAAQE,IAAI;AAI1B,MAAMc,eAAe;AAAA,EAC1BjB;AAAAA,EACAK;AAAAA,EACAC;AAAAA,EACAE;AAAAA,EACAC;AAAAA,EACAG;AAAAA;AAAAA,EAEAC;AAAAA,EACAK,eAAeL;AAAAA,EACfC;AAAAA,EACAE;AACF;;"}
|
package/dist/index121.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { css } from "styled-components";
|
|
2
|
+
import { spacing } from "./index522.js";
|
|
3
|
+
const accentBase = css(['display:block;background-color:currentColor;content:"";']);
|
|
4
|
+
const mauna = css(["&:before{", ";width:", ";height:", ";margin-bottom:", ";}"], accentBase, spacing.stadium, spacing.club, spacing.auditorium);
|
|
5
|
+
const maunaDesktop = css(["&:before{", ";width:60px;height:", ";margin-bottom:", ";}"], accentBase, spacing.club, spacing.auditorium);
|
|
6
|
+
const everest = css(["&:before{", ";width:44px;height:6px;margin-bottom:", ";}"], accentBase, spacing.hall);
|
|
7
|
+
const everestDesktop = css(["&:before{", ";width:60px;height:", ";margin-bottom:", ";}"], accentBase, spacing.club, spacing.auditorium);
|
|
8
|
+
const kilimanjaro = css(["&:before{", ";width:", ";height:", ";margin-bottom:", ";}"], accentBase, spacing.arena, spacing.lounge, spacing.club);
|
|
9
|
+
const kilimanjaroDesktop = css(["&:before{", ";width:40px;height:6px;margin-bottom:", ";}"], accentBase, spacing.hall);
|
|
10
|
+
const vinson = css(["&:before{", ";width:", ";height:", ";margin-bottom:", ";}"], accentBase, spacing.arena, spacing.lounge, spacing.club);
|
|
11
|
+
const blanc = css(["&:before{", ";width:", ";height:", ";margin-bottom:", ";}"], accentBase, spacing.amphitheatre, spacing.lounge, spacing.club);
|
|
12
|
+
const blancDesktop = css(["&:before{", ";width:", ";height:", ";margin-bottom:", ";}"], accentBase, spacing.arena, spacing.lounge, spacing.club);
|
|
13
|
+
const titleAccents = {
|
|
14
|
+
mauna,
|
|
15
|
+
maunaDesktop,
|
|
16
|
+
everest,
|
|
17
|
+
everestDesktop,
|
|
18
|
+
kilimanjaro,
|
|
19
|
+
kilimanjaroDesktop,
|
|
20
|
+
// Vinson is identical on mobile and desktop, but we export them seperately in case this changes at some point
|
|
21
|
+
vinson,
|
|
22
|
+
vinsonDesktop: vinson,
|
|
23
|
+
blanc,
|
|
24
|
+
blancDesktop
|
|
25
|
+
};
|
|
26
|
+
export {
|
|
27
|
+
titleAccents
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=index121.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index121.js","sources":["../src/utils/titleAccents.ts"],"sourcesContent":["import { css } from \"styled-components\";\nimport { spacing } from \"../dimensions\";\n\nconst accentBase = css`\n display: block;\n background-color: currentColor;\n content: \"\";\n`;\n\nconst mauna = css`\n &:before {\n ${accentBase};\n width: ${spacing.stadium};\n height: ${spacing.club};\n margin-bottom: ${spacing.auditorium};\n }\n`;\n\nconst maunaDesktop = css`\n &:before {\n ${accentBase};\n width: 60px;\n height: ${spacing.club};\n margin-bottom: ${spacing.auditorium};\n }\n`;\n\nconst everest = css`\n &:before {\n ${accentBase};\n width: 44px;\n height: 6px;\n margin-bottom: ${spacing.hall};\n }\n`;\n\nconst everestDesktop = css`\n &:before {\n ${accentBase};\n width: 60px;\n height: ${spacing.club};\n margin-bottom: ${spacing.auditorium};\n }\n`;\n\nconst kilimanjaro = css`\n &:before {\n ${accentBase};\n width: ${spacing.arena};\n height: ${spacing.lounge};\n margin-bottom: ${spacing.club};\n }\n`;\n\nconst kilimanjaroDesktop = css`\n &:before {\n ${accentBase};\n width: 40px;\n height: 6px;\n margin-bottom: ${spacing.hall};\n }\n`;\n\nconst vinson = css`\n &:before {\n ${accentBase};\n width: ${spacing.arena};\n height: ${spacing.lounge};\n margin-bottom: ${spacing.club};\n }\n`;\n\nconst blanc = css`\n &:before {\n ${accentBase};\n width: ${spacing.amphitheatre};\n height: ${spacing.lounge};\n margin-bottom: ${spacing.club};\n }\n`;\n\nconst blancDesktop = css`\n &:before {\n ${accentBase};\n width: ${spacing.arena};\n height: ${spacing.lounge};\n margin-bottom: ${spacing.club};\n }\n`;\n\nexport const titleAccents = {\n mauna,\n maunaDesktop,\n everest,\n everestDesktop,\n kilimanjaro,\n kilimanjaroDesktop,\n // Vinson is identical on mobile and desktop, but we export them seperately in case this changes at some point\n vinson,\n vinsonDesktop: vinson,\n blanc,\n blancDesktop,\n};\n"],"names":["accentBase","css","mauna","spacing","stadium","club","auditorium","maunaDesktop","everest","hall","everestDesktop","kilimanjaro","arena","lounge","kilimanjaroDesktop","vinson","blanc","amphitheatre","blancDesktop","titleAccents","vinsonDesktop"],"mappings":";;AAGA,MAAMA,aAAaC,IAAG,CAAA,yDAAA,CAAA;AAMtB,MAAMC,QAAQD,IAAG,CAAA,aAAA,WAAA,YAAA,mBAAA,IAAA,GAEXD,YACOG,QAAQC,SACPD,QAAQE,MACDF,QAAQG,UAAU;AAIvC,MAAMC,eAAeN,IAAG,CAAA,aAAA,uBAAA,mBAAA,IAAA,GAElBD,YAEQG,QAAQE,MACDF,QAAQG,UAAU;AAIvC,MAAME,UAAUP,IAAG,CAAA,aAAA,yCAAA,IAAA,GAEbD,YAGeG,QAAQM,IAAI;AAIjC,MAAMC,iBAAiBT,IAAG,CAAA,aAAA,uBAAA,mBAAA,IAAA,GAEpBD,YAEQG,QAAQE,MACDF,QAAQG,UAAU;AAIvC,MAAMK,cAAcV,IAAG,CAAA,aAAA,WAAA,YAAA,mBAAA,IAAA,GAEjBD,YACOG,QAAQS,OACPT,QAAQU,QACDV,QAAQE,IAAI;AAIjC,MAAMS,qBAAqBb,IAAG,CAAA,aAAA,yCAAA,IAAA,GAExBD,YAGeG,QAAQM,IAAI;AAIjC,MAAMM,SAASd,IAAG,CAAA,aAAA,WAAA,YAAA,mBAAA,IAAA,GAEZD,YACOG,QAAQS,OACPT,QAAQU,QACDV,QAAQE,IAAI;AAIjC,MAAMW,QAAQf,IAAG,CAAA,aAAA,WAAA,YAAA,mBAAA,IAAA,GAEXD,YACOG,QAAQc,cACPd,QAAQU,QACDV,QAAQE,IAAI;AAIjC,MAAMa,eAAejB,IAAG,CAAA,aAAA,WAAA,YAAA,mBAAA,IAAA,GAElBD,YACOG,QAAQS,OACPT,QAAQU,QACDV,QAAQE,IAAI;AAI1B,MAAMc,eAAe;AAAA,EAC1BjB;AAAAA,EACAK;AAAAA,EACAC;AAAAA,EACAE;AAAAA,EACAC;AAAAA,EACAG;AAAAA;AAAAA,EAEAC;AAAAA,EACAK,eAAeL;AAAAA,EACfC;AAAAA,EACAE;AACF;"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const React = require("react");
|
|
4
|
+
const GdsPortalRootId = "gds-portal-root";
|
|
5
|
+
const usePortalElement = () => {
|
|
6
|
+
return React.useCallback(() => {
|
|
7
|
+
let wrapper = document.querySelector(`#${GdsPortalRootId}`);
|
|
8
|
+
if (!wrapper) {
|
|
9
|
+
wrapper = document.createElement("div");
|
|
10
|
+
wrapper.id = GdsPortalRootId;
|
|
11
|
+
const portalRoot = document.body;
|
|
12
|
+
portalRoot.appendChild(wrapper);
|
|
13
|
+
}
|
|
14
|
+
return wrapper;
|
|
15
|
+
}, []);
|
|
16
|
+
};
|
|
17
|
+
exports.GdsPortalRootId = GdsPortalRootId;
|
|
18
|
+
exports.usePortalElement = usePortalElement;
|
|
19
|
+
//# sourceMappingURL=index122.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index122.cjs","sources":["../src/hooks/usePortalElement.ts"],"sourcesContent":["import { useCallback } from \"react\";\n\n/**\n * The Root node id where the GDS popups appended to\n */\nexport const GdsPortalRootId = \"gds-portal-root\";\n\nexport const usePortalElement = () => {\n return useCallback(() => {\n let wrapper = document.querySelector<HTMLDivElement>(`#${GdsPortalRootId}`);\n if (!wrapper) {\n wrapper = document.createElement(\"div\");\n wrapper.id = GdsPortalRootId;\n const portalRoot = document.body;\n portalRoot.appendChild(wrapper);\n }\n return wrapper;\n }, []);\n};\n"],"names":["GdsPortalRootId","usePortalElement","useCallback","wrapper","document","querySelector","createElement","id","portalRoot","body","appendChild"],"mappings":";;;AAKO,MAAMA,kBAAkB;AAExB,MAAMC,mBAAmBA,MAAM;AACpC,SAAOC,MAAAA,YAAY,MAAM;AACvB,QAAIC,UAAUC,SAASC,cAA8B,IAAIL,eAAe,EAAE;AAC1E,QAAI,CAACG,SAAS;AACZA,gBAAUC,SAASE,cAAc,KAAK;AACtCH,cAAQI,KAAKP;AACb,YAAMQ,aAAaJ,SAASK;AAC5BD,iBAAWE,YAAYP,OAAO;AAAA,IAChC;AACA,WAAOA;AAAAA,EACT,GAAG,CAAA,CAAE;AACP;;;"}
|
package/dist/index122.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { useCallback } from "react";
|
|
2
|
+
const GdsPortalRootId = "gds-portal-root";
|
|
3
|
+
const usePortalElement = () => {
|
|
4
|
+
return useCallback(() => {
|
|
5
|
+
let wrapper = document.querySelector(`#${GdsPortalRootId}`);
|
|
6
|
+
if (!wrapper) {
|
|
7
|
+
wrapper = document.createElement("div");
|
|
8
|
+
wrapper.id = GdsPortalRootId;
|
|
9
|
+
const portalRoot = document.body;
|
|
10
|
+
portalRoot.appendChild(wrapper);
|
|
11
|
+
}
|
|
12
|
+
return wrapper;
|
|
13
|
+
}, []);
|
|
14
|
+
};
|
|
15
|
+
export {
|
|
16
|
+
GdsPortalRootId,
|
|
17
|
+
usePortalElement
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=index122.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index122.js","sources":["../src/hooks/usePortalElement.ts"],"sourcesContent":["import { useCallback } from \"react\";\n\n/**\n * The Root node id where the GDS popups appended to\n */\nexport const GdsPortalRootId = \"gds-portal-root\";\n\nexport const usePortalElement = () => {\n return useCallback(() => {\n let wrapper = document.querySelector<HTMLDivElement>(`#${GdsPortalRootId}`);\n if (!wrapper) {\n wrapper = document.createElement(\"div\");\n wrapper.id = GdsPortalRootId;\n const portalRoot = document.body;\n portalRoot.appendChild(wrapper);\n }\n return wrapper;\n }, []);\n};\n"],"names":["GdsPortalRootId","usePortalElement","useCallback","wrapper","document","querySelector","createElement","id","portalRoot","body","appendChild"],"mappings":";AAKO,MAAMA,kBAAkB;AAExB,MAAMC,mBAAmBA,MAAM;AACpC,SAAOC,YAAY,MAAM;AACvB,QAAIC,UAAUC,SAASC,cAA8B,IAAIL,eAAe,EAAE;AAC1E,QAAI,CAACG,SAAS;AACZA,gBAAUC,SAASE,cAAc,KAAK;AACtCH,cAAQI,KAAKP;AACb,YAAMQ,aAAaJ,SAASK;AAC5BD,iBAAWE,YAAYP,OAAO;AAAA,IAChC;AACA,WAAOA;AAAAA,EACT,GAAG,CAAA,CAAE;AACP;"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const htmlToImage = require("html-to-image");
|
|
4
|
+
async function refToPng(ref, options) {
|
|
5
|
+
if (!ref.current) {
|
|
6
|
+
throw new Error("ref.current is null, element not mounted");
|
|
7
|
+
}
|
|
8
|
+
return htmlToImage.toPng(ref.current, {
|
|
9
|
+
pixelRatio: 2,
|
|
10
|
+
...options ?? {}
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
exports.refToPng = refToPng;
|
|
14
|
+
//# sourceMappingURL=index123.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index123.cjs","sources":["../src/utils/htmlToImage.ts"],"sourcesContent":["import type { RefObject } from \"react\";\nimport { toPng } from \"html-to-image\";\n\n/**\n * Generates a `.png` image from a DOM node.\n *\n * **Note: Does not support all CSS rules so test thoroughly.**\n *\n * **Note: Only tested with the `ShareCard` component. Usage with other components might work but is not tested and thus might have breaking changes in minor/patch versions.**\n */\nexport async function refToPng(\n ref: RefObject<HTMLElement>,\n options?: Parameters<typeof toPng>[1],\n): Promise<string> {\n if (!ref.current) {\n throw new Error(\"ref.current is null, element not mounted\");\n }\n\n return toPng(ref.current, { pixelRatio: 2, ...(options ?? {}) });\n}\n"],"names":["refToPng","ref","options","current","Error","toPng","pixelRatio"],"mappings":";;;AAUA,eAAsBA,SACpBC,KACAC,SACiB;AACjB,MAAI,CAACD,IAAIE,SAAS;AAChB,UAAM,IAAIC,MAAM,0CAA0C;AAAA,EAC5D;AAEA,SAAOC,YAAAA,MAAMJ,IAAIE,SAAS;AAAA,IAAEG,YAAY;AAAA,IAAG,GAAIJ,WAAW,CAAA;AAAA,EAAC,CAAI;AACjE;;"}
|
package/dist/index123.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { toPng } from "html-to-image";
|
|
2
|
+
async function refToPng(ref, options) {
|
|
3
|
+
if (!ref.current) {
|
|
4
|
+
throw new Error("ref.current is null, element not mounted");
|
|
5
|
+
}
|
|
6
|
+
return toPng(ref.current, {
|
|
7
|
+
pixelRatio: 2,
|
|
8
|
+
...options ?? {}
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
refToPng
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=index123.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index123.js","sources":["../src/utils/htmlToImage.ts"],"sourcesContent":["import type { RefObject } from \"react\";\nimport { toPng } from \"html-to-image\";\n\n/**\n * Generates a `.png` image from a DOM node.\n *\n * **Note: Does not support all CSS rules so test thoroughly.**\n *\n * **Note: Only tested with the `ShareCard` component. Usage with other components might work but is not tested and thus might have breaking changes in minor/patch versions.**\n */\nexport async function refToPng(\n ref: RefObject<HTMLElement>,\n options?: Parameters<typeof toPng>[1],\n): Promise<string> {\n if (!ref.current) {\n throw new Error(\"ref.current is null, element not mounted\");\n }\n\n return toPng(ref.current, { pixelRatio: 2, ...(options ?? {}) });\n}\n"],"names":["refToPng","ref","options","current","Error","toPng","pixelRatio"],"mappings":";AAUA,eAAsBA,SACpBC,KACAC,SACiB;AACjB,MAAI,CAACD,IAAIE,SAAS;AAChB,UAAM,IAAIC,MAAM,0CAA0C;AAAA,EAC5D;AAEA,SAAOC,MAAMJ,IAAIE,SAAS;AAAA,IAAEG,YAAY;AAAA,IAAG,GAAIJ,WAAW,CAAA;AAAA,EAAC,CAAI;AACjE;"}
|