@photoroom/ui 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -0
- package/components/action/AppButton/AppButton.d.ts +9 -0
- package/components/action/AppButton/AppButton.d.ts.map +1 -0
- package/components/action/AppButton/index.d.ts +2 -0
- package/components/action/AppButton/index.d.ts.map +1 -0
- package/components/action/BlogSocialButton/BlogSocialButton.d.ts +8 -0
- package/components/action/BlogSocialButton/BlogSocialButton.d.ts.map +1 -0
- package/components/action/BlogSocialButton/index.d.ts +2 -0
- package/components/action/BlogSocialButton/index.d.ts.map +1 -0
- package/components/action/Button/Button.d.ts +23 -0
- package/components/action/Button/Button.d.ts.map +1 -0
- package/components/action/Button/Button.figma.d.ts +2 -0
- package/components/action/Button/Button.figma.d.ts.map +1 -0
- package/components/action/Button/index.d.ts +2 -0
- package/components/action/Button/index.d.ts.map +1 -0
- package/components/action/Button/utils.d.ts +32 -0
- package/components/action/Button/utils.d.ts.map +1 -0
- package/components/action/ButtonCluster/ButtonCluster.d.ts +3 -0
- package/components/action/ButtonCluster/ButtonCluster.d.ts.map +1 -0
- package/components/action/ButtonCluster/index.d.ts +2 -0
- package/components/action/ButtonCluster/index.d.ts.map +1 -0
- package/components/action/CircularButton/CircularButton.d.ts +12 -0
- package/components/action/CircularButton/CircularButton.d.ts.map +1 -0
- package/components/action/CircularButton/index.d.ts +2 -0
- package/components/action/CircularButton/index.d.ts.map +1 -0
- package/components/action/ClearButton/ClearButton.d.ts +16 -0
- package/components/action/ClearButton/ClearButton.d.ts.map +1 -0
- package/components/action/ClearButton/index.d.ts +2 -0
- package/components/action/ClearButton/index.d.ts.map +1 -0
- package/components/action/FieldClearButton/FieldClearButton.d.ts +3 -0
- package/components/action/FieldClearButton/FieldClearButton.d.ts.map +1 -0
- package/components/action/FieldClearButton/index.d.ts +2 -0
- package/components/action/FieldClearButton/index.d.ts.map +1 -0
- package/components/action/HelpButton/HelpButton.d.ts +2 -0
- package/components/action/HelpButton/HelpButton.d.ts.map +1 -0
- package/components/action/HelpButton/index.d.ts +2 -0
- package/components/action/HelpButton/index.d.ts.map +1 -0
- package/components/action/HeroButton/HeroButton.d.ts +11 -0
- package/components/action/HeroButton/HeroButton.d.ts.map +1 -0
- package/components/action/HeroButton/index.d.ts +2 -0
- package/components/action/HeroButton/index.d.ts.map +1 -0
- package/components/action/InfoButton/InfoButton.d.ts +6 -0
- package/components/action/InfoButton/InfoButton.d.ts.map +1 -0
- package/components/action/InfoButton/index.d.ts +2 -0
- package/components/action/InfoButton/index.d.ts.map +1 -0
- package/components/action/InputButton/InputButton.d.ts +22 -0
- package/components/action/InputButton/InputButton.d.ts.map +1 -0
- package/components/action/InputButton/index.d.ts +2 -0
- package/components/action/InputButton/index.d.ts.map +1 -0
- package/components/action/LimitButton/LimitButton.d.ts +4 -0
- package/components/action/LimitButton/LimitButton.d.ts.map +1 -0
- package/components/action/LimitButton/LimitIndicatorGauge.d.ts +7 -0
- package/components/action/LimitButton/LimitIndicatorGauge.d.ts.map +1 -0
- package/components/action/LimitButton/index.d.ts +3 -0
- package/components/action/LimitButton/index.d.ts.map +1 -0
- package/components/action/LoginButton/LoginButton.d.ts +11 -0
- package/components/action/LoginButton/LoginButton.d.ts.map +1 -0
- package/components/action/LoginButton/index.d.ts +2 -0
- package/components/action/LoginButton/index.d.ts.map +1 -0
- package/components/action/MobileNavigationButton/MobileNavigationButton.d.ts +12 -0
- package/components/action/MobileNavigationButton/MobileNavigationButton.d.ts.map +1 -0
- package/components/action/MobileNavigationButton/index.d.ts +2 -0
- package/components/action/MobileNavigationButton/index.d.ts.map +1 -0
- package/components/action/NavigationButton/NavigationButton.d.ts +3 -0
- package/components/action/NavigationButton/NavigationButton.d.ts.map +1 -0
- package/components/action/NavigationButton/index.d.ts +2 -0
- package/components/action/NavigationButton/index.d.ts.map +1 -0
- package/components/action/NavigationToggleButton/NavigationToggleButton.d.ts +16 -0
- package/components/action/NavigationToggleButton/NavigationToggleButton.d.ts.map +1 -0
- package/components/action/NavigationToggleButton/index.d.ts +2 -0
- package/components/action/NavigationToggleButton/index.d.ts.map +1 -0
- package/components/action/OverlayButton/OverlayButton.d.ts +11 -0
- package/components/action/OverlayButton/OverlayButton.d.ts.map +1 -0
- package/components/action/OverlayButton/index.d.ts +2 -0
- package/components/action/OverlayButton/index.d.ts.map +1 -0
- package/components/action/OverlaySelectButton/OverlaySelectButton.d.ts +6 -0
- package/components/action/OverlaySelectButton/OverlaySelectButton.d.ts.map +1 -0
- package/components/action/OverlaySelectButton/index.d.ts +2 -0
- package/components/action/OverlaySelectButton/index.d.ts.map +1 -0
- package/components/action/PullDownButton/PullDownButton.d.ts +13 -0
- package/components/action/PullDownButton/PullDownButton.d.ts.map +1 -0
- package/components/action/PullDownButton/index.d.ts +2 -0
- package/components/action/PullDownButton/index.d.ts.map +1 -0
- package/components/action/PullDownButton/utils.d.ts +10 -0
- package/components/action/PullDownButton/utils.d.ts.map +1 -0
- package/components/action/QuickActionCard/QuickActionCard.d.ts +11 -0
- package/components/action/QuickActionCard/QuickActionCard.d.ts.map +1 -0
- package/components/action/QuickActionCard/index.d.ts +2 -0
- package/components/action/QuickActionCard/index.d.ts.map +1 -0
- package/components/action/RetryButton/RetryButton.d.ts +3 -0
- package/components/action/RetryButton/RetryButton.d.ts.map +1 -0
- package/components/action/RetryButton/index.d.ts +3 -0
- package/components/action/RetryButton/index.d.ts.map +1 -0
- package/components/action/RoundButton/RoundButton.d.ts +12 -0
- package/components/action/RoundButton/RoundButton.d.ts.map +1 -0
- package/components/action/RoundButton/index.d.ts +2 -0
- package/components/action/RoundButton/index.d.ts.map +1 -0
- package/components/action/RoundedButton/RoundedButton.d.ts +16 -0
- package/components/action/RoundedButton/RoundedButton.d.ts.map +1 -0
- package/components/action/RoundedButton/index.d.ts +2 -0
- package/components/action/RoundedButton/index.d.ts.map +1 -0
- package/components/action/SocialButton/SocialButton.d.ts +9 -0
- package/components/action/SocialButton/SocialButton.d.ts.map +1 -0
- package/components/action/SocialButton/index.d.ts +2 -0
- package/components/action/SocialButton/index.d.ts.map +1 -0
- package/components/action/StandaloneLink/StandaloneLink.d.ts +14 -0
- package/components/action/StandaloneLink/StandaloneLink.d.ts.map +1 -0
- package/components/action/StandaloneLink/index.d.ts +2 -0
- package/components/action/StandaloneLink/index.d.ts.map +1 -0
- package/components/action/StoreButton/StoreButton.d.ts +15 -0
- package/components/action/StoreButton/StoreButton.d.ts.map +1 -0
- package/components/action/StoreButton/index.d.ts +2 -0
- package/components/action/StoreButton/index.d.ts.map +1 -0
- package/components/action/ToggleButton/ToggleButton.d.ts +26 -0
- package/components/action/ToggleButton/ToggleButton.d.ts.map +1 -0
- package/components/action/ToggleButton/index.d.ts +2 -0
- package/components/action/ToggleButton/index.d.ts.map +1 -0
- package/components/action/ToggleStack/ToggleStack.d.ts +7 -0
- package/components/action/ToggleStack/ToggleStack.d.ts.map +1 -0
- package/components/action/ToggleStack/ToggleStackButton.d.ts +15 -0
- package/components/action/ToggleStack/ToggleStackButton.d.ts.map +1 -0
- package/components/action/ToggleStack/ToggleStackContext.d.ts +4 -0
- package/components/action/ToggleStack/ToggleStackContext.d.ts.map +1 -0
- package/components/action/ToggleStack/index.d.ts +2 -0
- package/components/action/ToggleStack/index.d.ts.map +1 -0
- package/components/action/ValidationBannerButton/ValidationBannerButton.d.ts +12 -0
- package/components/action/ValidationBannerButton/ValidationBannerButton.d.ts.map +1 -0
- package/components/action/ValidationBannerButton/index.d.ts +2 -0
- package/components/action/ValidationBannerButton/index.d.ts.map +1 -0
- package/components/collections/CommonMenu/MenuContent.d.ts +4 -0
- package/components/collections/CommonMenu/MenuContent.d.ts.map +1 -0
- package/components/collections/CommonMenu/MenuItemButton.d.ts +18 -0
- package/components/collections/CommonMenu/MenuItemButton.d.ts.map +1 -0
- package/components/collections/CommonMenu/MenuSeparator.d.ts +4 -0
- package/components/collections/CommonMenu/MenuSeparator.d.ts.map +1 -0
- package/components/collections/CommonMenu/SubMenu.d.ts +7 -0
- package/components/collections/CommonMenu/SubMenu.d.ts.map +1 -0
- package/components/collections/ContextMenu/ContextMenu.d.ts +20 -0
- package/components/collections/ContextMenu/ContextMenu.d.ts.map +1 -0
- package/components/collections/ContextMenu/MenuItem/MenuItem.d.ts +5 -0
- package/components/collections/ContextMenu/MenuItem/MenuItem.d.ts.map +1 -0
- package/components/collections/ContextMenu/MenuItem/index.d.ts +2 -0
- package/components/collections/ContextMenu/MenuItem/index.d.ts.map +1 -0
- package/components/collections/ContextMenu/MenuSeparator/MenuSeparator.d.ts +9 -0
- package/components/collections/ContextMenu/MenuSeparator/MenuSeparator.d.ts.map +1 -0
- package/components/collections/ContextMenu/MenuSeparator/index.d.ts +2 -0
- package/components/collections/ContextMenu/MenuSeparator/index.d.ts.map +1 -0
- package/components/collections/ContextMenu/SubMenu.d.ts +10 -0
- package/components/collections/ContextMenu/SubMenu.d.ts.map +1 -0
- package/components/collections/ContextMenu/index.d.ts +2 -0
- package/components/collections/ContextMenu/index.d.ts.map +1 -0
- package/components/collections/DropdownMenu/DropdownMenu.d.ts +25 -0
- package/components/collections/DropdownMenu/DropdownMenu.d.ts.map +1 -0
- package/components/collections/DropdownMenu/MenuCheckboxGroup/MenuCheckboxGroup.d.ts +9 -0
- package/components/collections/DropdownMenu/MenuCheckboxGroup/MenuCheckboxGroup.d.ts.map +1 -0
- package/components/collections/DropdownMenu/MenuCheckboxGroup/MenuCheckboxItem.d.ts +10 -0
- package/components/collections/DropdownMenu/MenuCheckboxGroup/MenuCheckboxItem.d.ts.map +1 -0
- package/components/collections/DropdownMenu/MenuCheckboxGroup/index.d.ts +2 -0
- package/components/collections/DropdownMenu/MenuCheckboxGroup/index.d.ts.map +1 -0
- package/components/collections/DropdownMenu/MenuCustomItem/MenuCustomItem.d.ts +4 -0
- package/components/collections/DropdownMenu/MenuCustomItem/MenuCustomItem.d.ts.map +1 -0
- package/components/collections/DropdownMenu/MenuCustomItem/index.d.ts +2 -0
- package/components/collections/DropdownMenu/MenuCustomItem/index.d.ts.map +1 -0
- package/components/collections/DropdownMenu/MenuItem/MenuItem.d.ts +5 -0
- package/components/collections/DropdownMenu/MenuItem/MenuItem.d.ts.map +1 -0
- package/components/collections/DropdownMenu/MenuItem/index.d.ts +2 -0
- package/components/collections/DropdownMenu/MenuItem/index.d.ts.map +1 -0
- package/components/collections/DropdownMenu/MenuRadioGroup/MenuRadioGroup.d.ts +10 -0
- package/components/collections/DropdownMenu/MenuRadioGroup/MenuRadioGroup.d.ts.map +1 -0
- package/components/collections/DropdownMenu/MenuRadioGroup/MenuRadioItem.d.ts +10 -0
- package/components/collections/DropdownMenu/MenuRadioGroup/MenuRadioItem.d.ts.map +1 -0
- package/components/collections/DropdownMenu/MenuRadioGroup/index.d.ts +2 -0
- package/components/collections/DropdownMenu/MenuRadioGroup/index.d.ts.map +1 -0
- package/components/collections/DropdownMenu/MenuSeparator/MenuSeparator.d.ts +9 -0
- package/components/collections/DropdownMenu/MenuSeparator/MenuSeparator.d.ts.map +1 -0
- package/components/collections/DropdownMenu/MenuSeparator/index.d.ts +2 -0
- package/components/collections/DropdownMenu/MenuSeparator/index.d.ts.map +1 -0
- package/components/collections/DropdownMenu/SubMenu.d.ts +10 -0
- package/components/collections/DropdownMenu/SubMenu.d.ts.map +1 -0
- package/components/collections/DropdownMenu/index.d.ts +2 -0
- package/components/collections/DropdownMenu/index.d.ts.map +1 -0
- package/components/collections/FeedHeader/FeedHeader.d.ts +10 -0
- package/components/collections/FeedHeader/FeedHeader.d.ts.map +1 -0
- package/components/collections/FeedHeader/FeedHeaderTitle.d.ts +8 -0
- package/components/collections/FeedHeader/FeedHeaderTitle.d.ts.map +1 -0
- package/components/collections/FeedHeader/index.d.ts +2 -0
- package/components/collections/FeedHeader/index.d.ts.map +1 -0
- package/components/collections/MultiActionWidget/ActionButton.d.ts +45 -0
- package/components/collections/MultiActionWidget/ActionButton.d.ts.map +1 -0
- package/components/collections/MultiActionWidget/MultiActionWidget.d.ts +37 -0
- package/components/collections/MultiActionWidget/MultiActionWidget.d.ts.map +1 -0
- package/components/collections/MultiActionWidget/index.d.ts +3 -0
- package/components/collections/MultiActionWidget/index.d.ts.map +1 -0
- package/components/collections/Popover/Popover.d.ts +25 -0
- package/components/collections/Popover/Popover.d.ts.map +1 -0
- package/components/collections/Popover/PopoverContent.d.ts +5 -0
- package/components/collections/Popover/PopoverContent.d.ts.map +1 -0
- package/components/collections/Popover/index.d.ts +2 -0
- package/components/collections/Popover/index.d.ts.map +1 -0
- package/components/content/BatchTile/BatchItemMenuContent.d.ts +27 -0
- package/components/content/BatchTile/BatchItemMenuContent.d.ts.map +1 -0
- package/components/content/BatchTile/BatchTile.d.ts +42 -0
- package/components/content/BatchTile/BatchTile.d.ts.map +1 -0
- package/components/content/BatchTile/index.d.ts +5 -0
- package/components/content/BatchTile/index.d.ts.map +1 -0
- package/components/content/BlogActionCard/BlogActionCard.d.ts +8 -0
- package/components/content/BlogActionCard/BlogActionCard.d.ts.map +1 -0
- package/components/content/BlogActionCard/index.d.ts +2 -0
- package/components/content/BlogActionCard/index.d.ts.map +1 -0
- package/components/content/BlogEditorialCard/BlogEditorialCard.d.ts +10 -0
- package/components/content/BlogEditorialCard/BlogEditorialCard.d.ts.map +1 -0
- package/components/content/BlogEditorialCard/index.d.ts +2 -0
- package/components/content/BlogEditorialCard/index.d.ts.map +1 -0
- package/components/content/BrandAssetTile/BrandAssetTile.d.ts +21 -0
- package/components/content/BrandAssetTile/BrandAssetTile.d.ts.map +1 -0
- package/components/content/BrandAssetTile/index.d.ts +2 -0
- package/components/content/BrandAssetTile/index.d.ts.map +1 -0
- package/components/content/ButtonTile/ButtonTile.d.ts +9 -0
- package/components/content/ButtonTile/ButtonTile.d.ts.map +1 -0
- package/components/content/ButtonTile/index.d.ts +2 -0
- package/components/content/ButtonTile/index.d.ts.map +1 -0
- package/components/content/ComparisonSlider/ComparisonSlider.d.ts +9 -0
- package/components/content/ComparisonSlider/ComparisonSlider.d.ts.map +1 -0
- package/components/content/ComparisonSlider/index.d.ts +2 -0
- package/components/content/ComparisonSlider/index.d.ts.map +1 -0
- package/components/content/CustomerStoryCard/CustomerStoryBadge.d.ts +6 -0
- package/components/content/CustomerStoryCard/CustomerStoryBadge.d.ts.map +1 -0
- package/components/content/CustomerStoryCard/CustomerStoryCard.d.ts +15 -0
- package/components/content/CustomerStoryCard/CustomerStoryCard.d.ts.map +1 -0
- package/components/content/CustomerStoryCard/index.d.ts +2 -0
- package/components/content/CustomerStoryCard/index.d.ts.map +1 -0
- package/components/content/DesignPreview/DesignPreview.d.ts +30 -0
- package/components/content/DesignPreview/DesignPreview.d.ts.map +1 -0
- package/components/content/DesignPreview/index.d.ts +2 -0
- package/components/content/DesignPreview/index.d.ts.map +1 -0
- package/components/content/EditorialCard/EditorialCard.d.ts +12 -0
- package/components/content/EditorialCard/EditorialCard.d.ts.map +1 -0
- package/components/content/EditorialCard/index.d.ts +2 -0
- package/components/content/EditorialCard/index.d.ts.map +1 -0
- package/components/content/EditorialCard/styles.d.ts +33 -0
- package/components/content/EditorialCard/styles.d.ts.map +1 -0
- package/components/content/FontTile/FontTile.d.ts +21 -0
- package/components/content/FontTile/FontTile.d.ts.map +1 -0
- package/components/content/FontTile/index.d.ts +2 -0
- package/components/content/FontTile/index.d.ts.map +1 -0
- package/components/content/InfoTable/InfoTable.d.ts +15 -0
- package/components/content/InfoTable/InfoTable.d.ts.map +1 -0
- package/components/content/InfoTable/index.d.ts +2 -0
- package/components/content/InfoTable/index.d.ts.map +1 -0
- package/components/content/LightPromoBanner/LightPromoBanner.d.ts +15 -0
- package/components/content/LightPromoBanner/LightPromoBanner.d.ts.map +1 -0
- package/components/content/LightPromoBanner/index.d.ts +2 -0
- package/components/content/LightPromoBanner/index.d.ts.map +1 -0
- package/components/content/LinkCard/LinkCard.d.ts +10 -0
- package/components/content/LinkCard/LinkCard.d.ts.map +1 -0
- package/components/content/LinkCard/index.d.ts +2 -0
- package/components/content/LinkCard/index.d.ts.map +1 -0
- package/components/content/NewPaletteTile/NewPaletteTile.d.ts +8 -0
- package/components/content/NewPaletteTile/NewPaletteTile.d.ts.map +1 -0
- package/components/content/NewPaletteTile/index.d.ts +2 -0
- package/components/content/NewPaletteTile/index.d.ts.map +1 -0
- package/components/content/OfferCard/OfferCard.d.ts +11 -0
- package/components/content/OfferCard/OfferCard.d.ts.map +1 -0
- package/components/content/OfferCard/index.d.ts +2 -0
- package/components/content/OfferCard/index.d.ts.map +1 -0
- package/components/content/ProductTile/ProductTile.d.ts +13 -0
- package/components/content/ProductTile/ProductTile.d.ts.map +1 -0
- package/components/content/ProductTile/ProductTileThumbnail.d.ts +9 -0
- package/components/content/ProductTile/ProductTileThumbnail.d.ts.map +1 -0
- package/components/content/ProductTile/index.d.ts +2 -0
- package/components/content/ProductTile/index.d.ts.map +1 -0
- package/components/content/PromptTile/PromptTile.d.ts +8 -0
- package/components/content/PromptTile/PromptTile.d.ts.map +1 -0
- package/components/content/PromptTile/index.d.ts +2 -0
- package/components/content/PromptTile/index.d.ts.map +1 -0
- package/components/content/PropList/PropList.d.ts +9 -0
- package/components/content/PropList/PropList.d.ts.map +1 -0
- package/components/content/PropList/PropListItem.d.ts +17 -0
- package/components/content/PropList/PropListItem.d.ts.map +1 -0
- package/components/content/PropList/index.d.ts +2 -0
- package/components/content/PropList/index.d.ts.map +1 -0
- package/components/content/SelectionTile/SelectionTile.d.ts +10 -0
- package/components/content/SelectionTile/SelectionTile.d.ts.map +1 -0
- package/components/content/SelectionTile/index.d.ts +2 -0
- package/components/content/SelectionTile/index.d.ts.map +1 -0
- package/components/content/StarterTile/StarterTile.d.ts +5 -0
- package/components/content/StarterTile/StarterTile.d.ts.map +1 -0
- package/components/content/StarterTile/index.d.ts +2 -0
- package/components/content/StarterTile/index.d.ts.map +1 -0
- package/components/content/StepCard/StepCard.d.ts +7 -0
- package/components/content/StepCard/StepCard.d.ts.map +1 -0
- package/components/content/StepCard/index.d.ts +2 -0
- package/components/content/StepCard/index.d.ts.map +1 -0
- package/components/content/Tile/Tile.d.ts +33 -0
- package/components/content/Tile/Tile.d.ts.map +1 -0
- package/components/content/Tile/TileFont.d.ts +6 -0
- package/components/content/Tile/TileFont.d.ts.map +1 -0
- package/components/content/Tile/TileIcon.d.ts +5 -0
- package/components/content/Tile/TileIcon.d.ts.map +1 -0
- package/components/content/Tile/TileMoreMenu.d.ts +6 -0
- package/components/content/Tile/TileMoreMenu.d.ts.map +1 -0
- package/components/content/Tile/TilePreview.d.ts +12 -0
- package/components/content/Tile/TilePreview.d.ts.map +1 -0
- package/components/content/Tile/TileSelectable.d.ts +9 -0
- package/components/content/Tile/TileSelectable.d.ts.map +1 -0
- package/components/content/Tile/TileSize.d.ts +8 -0
- package/components/content/Tile/TileSize.d.ts.map +1 -0
- package/components/content/Tile/TileSkeleton.d.ts +2 -0
- package/components/content/Tile/TileSkeleton.d.ts.map +1 -0
- package/components/content/Tile/index.d.ts +2 -0
- package/components/content/Tile/index.d.ts.map +1 -0
- package/components/content/VideoPlayer/VideoPlayer.d.ts +13 -0
- package/components/content/VideoPlayer/VideoPlayer.d.ts.map +1 -0
- package/components/content/VideoPlayer/VideoPlayerButton.d.ts +6 -0
- package/components/content/VideoPlayer/VideoPlayerButton.d.ts.map +1 -0
- package/components/content/VideoPlayer/index.d.ts +2 -0
- package/components/content/VideoPlayer/index.d.ts.map +1 -0
- package/components/content/VisualToolTile/VisualToolTile.d.ts +17 -0
- package/components/content/VisualToolTile/VisualToolTile.d.ts.map +1 -0
- package/components/content/VisualToolTile/index.d.ts +2 -0
- package/components/content/VisualToolTile/index.d.ts.map +1 -0
- package/components/dialog/Dialog/Dialog.d.ts +36 -0
- package/components/dialog/Dialog/Dialog.d.ts.map +1 -0
- package/components/dialog/Dialog/DialogBody.d.ts +6 -0
- package/components/dialog/Dialog/DialogBody.d.ts.map +1 -0
- package/components/dialog/Dialog/DialogButtonsRow.d.ts +11 -0
- package/components/dialog/Dialog/DialogButtonsRow.d.ts.map +1 -0
- package/components/dialog/Dialog/DialogCloseButton.d.ts +7 -0
- package/components/dialog/Dialog/DialogCloseButton.d.ts.map +1 -0
- package/components/dialog/Dialog/DialogHeader.d.ts +5 -0
- package/components/dialog/Dialog/DialogHeader.d.ts.map +1 -0
- package/components/dialog/Dialog/DialogHeadline.d.ts +11 -0
- package/components/dialog/Dialog/DialogHeadline.d.ts.map +1 -0
- package/components/dialog/Dialog/index.d.ts +2 -0
- package/components/dialog/Dialog/index.d.ts.map +1 -0
- package/components/dropdown/DropdownListBox/DropdownListBox.d.ts +6 -0
- package/components/dropdown/DropdownListBox/DropdownListBox.d.ts.map +1 -0
- package/components/dropdown/DropdownListBox/DropdownListBoxItem.d.ts +21 -0
- package/components/dropdown/DropdownListBox/DropdownListBoxItem.d.ts.map +1 -0
- package/components/dropdown/DropdownListBox/index.d.ts +3 -0
- package/components/dropdown/DropdownListBox/index.d.ts.map +1 -0
- package/components/dropdown/DropdownSearchField/DropdownSearchField.d.ts +6 -0
- package/components/dropdown/DropdownSearchField/DropdownSearchField.d.ts.map +1 -0
- package/components/dropdown/DropdownSearchField/index.d.ts +2 -0
- package/components/dropdown/DropdownSearchField/index.d.ts.map +1 -0
- package/components/dropdown/SpaceDropdown/SpaceDropdownActionItem.d.ts +7 -0
- package/components/dropdown/SpaceDropdown/SpaceDropdownActionItem.d.ts.map +1 -0
- package/components/dropdown/SpaceDropdown/SpaceDropdownItem.d.ts +10 -0
- package/components/dropdown/SpaceDropdown/SpaceDropdownItem.d.ts.map +1 -0
- package/components/dropdown/SpaceDropdown/SpacePullDownButton.d.ts +8 -0
- package/components/dropdown/SpaceDropdown/SpacePullDownButton.d.ts.map +1 -0
- package/components/editor/ColorPalette/ColorPalette.d.ts +16 -0
- package/components/editor/ColorPalette/ColorPalette.d.ts.map +1 -0
- package/components/editor/ColorPalette/index.d.ts +2 -0
- package/components/editor/ColorPalette/index.d.ts.map +1 -0
- package/components/editor/ColorPicker/ColorPicker.d.ts +13 -0
- package/components/editor/ColorPicker/ColorPicker.d.ts.map +1 -0
- package/components/editor/ColorPicker/ColorPickerInput/HSLColorInput.d.ts +3 -0
- package/components/editor/ColorPicker/ColorPickerInput/HSLColorInput.d.ts.map +1 -0
- package/components/editor/ColorPicker/ColorPickerInput/HexColorInput.d.ts +6 -0
- package/components/editor/ColorPicker/ColorPickerInput/HexColorInput.d.ts.map +1 -0
- package/components/editor/ColorPicker/ColorPickerInput/RGBColorInput.d.ts +3 -0
- package/components/editor/ColorPicker/ColorPickerInput/RGBColorInput.d.ts.map +1 -0
- package/components/editor/ColorPicker/ColorWheel/ColorWheel.d.ts +7 -0
- package/components/editor/ColorPicker/ColorWheel/ColorWheel.d.ts.map +1 -0
- package/components/editor/ColorPicker/ColorWheel/index.d.ts +2 -0
- package/components/editor/ColorPicker/ColorWheel/index.d.ts.map +1 -0
- package/components/editor/ColorPicker/InlineColorPicker/InlineColorPicker.d.ts +12 -0
- package/components/editor/ColorPicker/InlineColorPicker/InlineColorPicker.d.ts.map +1 -0
- package/components/editor/ColorPicker/InlineColorPicker/index.d.ts +2 -0
- package/components/editor/ColorPicker/InlineColorPicker/index.d.ts.map +1 -0
- package/components/editor/ColorPicker/index.d.ts +4 -0
- package/components/editor/ColorPicker/index.d.ts.map +1 -0
- package/components/editor/ColorPicker/types.d.ts +6 -0
- package/components/editor/ColorPicker/types.d.ts.map +1 -0
- package/components/editor/ColorRow/ColorRow.d.ts +15 -0
- package/components/editor/ColorRow/ColorRow.d.ts.map +1 -0
- package/components/editor/ColorRow/index.d.ts +2 -0
- package/components/editor/ColorRow/index.d.ts.map +1 -0
- package/components/editor/ColorSwatch/ColorSwatch.d.ts +9 -0
- package/components/editor/ColorSwatch/ColorSwatch.d.ts.map +1 -0
- package/components/editor/ColorSwatch/index.d.ts +2 -0
- package/components/editor/ColorSwatch/index.d.ts.map +1 -0
- package/components/editor/HoverObjectBox/HoverObjectBox.d.ts +10 -0
- package/components/editor/HoverObjectBox/HoverObjectBox.d.ts.map +1 -0
- package/components/editor/HoverObjectBox/index.d.ts +2 -0
- package/components/editor/HoverObjectBox/index.d.ts.map +1 -0
- package/components/editor/LayerIndicator/LayerIndicator.d.ts +3 -0
- package/components/editor/LayerIndicator/LayerIndicator.d.ts.map +1 -0
- package/components/editor/LayerIndicator/index.d.ts +2 -0
- package/components/editor/LayerIndicator/index.d.ts.map +1 -0
- package/components/editor/ListItem/ListItem.d.ts +7 -0
- package/components/editor/ListItem/ListItem.d.ts.map +1 -0
- package/components/editor/ListItem/index.d.ts +2 -0
- package/components/editor/ListItem/index.d.ts.map +1 -0
- package/components/editor/ObjectItem/ObjectItem.d.ts +16 -0
- package/components/editor/ObjectItem/ObjectItem.d.ts.map +1 -0
- package/components/editor/ObjectItem/index.d.ts +2 -0
- package/components/editor/ObjectItem/index.d.ts.map +1 -0
- package/components/editor/ObjectPreview/ObjectPreview.d.ts +8 -0
- package/components/editor/ObjectPreview/ObjectPreview.d.ts.map +1 -0
- package/components/editor/ObjectPreview/index.d.ts +2 -0
- package/components/editor/ObjectPreview/index.d.ts.map +1 -0
- package/components/editor/Pill/Pill.d.ts +10 -0
- package/components/editor/Pill/Pill.d.ts.map +1 -0
- package/components/editor/Pill/PillButton.d.ts +7 -0
- package/components/editor/Pill/PillButton.d.ts.map +1 -0
- package/components/editor/Pill/PillDivider.d.ts +9 -0
- package/components/editor/Pill/PillDivider.d.ts.map +1 -0
- package/components/editor/Pill/index.d.ts +3 -0
- package/components/editor/Pill/index.d.ts.map +1 -0
- package/components/editor/PresenceObjectBox/PresenceObjectBox.d.ts +11 -0
- package/components/editor/PresenceObjectBox/PresenceObjectBox.d.ts.map +1 -0
- package/components/editor/PresenceObjectBox/PresenceObjectPill.d.ts +14 -0
- package/components/editor/PresenceObjectBox/PresenceObjectPill.d.ts.map +1 -0
- package/components/editor/PresenceObjectBox/index.d.ts +2 -0
- package/components/editor/PresenceObjectBox/index.d.ts.map +1 -0
- package/components/editor/PresenceObjectBox/types.d.ts +7 -0
- package/components/editor/PresenceObjectBox/types.d.ts.map +1 -0
- package/components/editor/SelectionObjectBox/MoveableCustomEditable.d.ts +13 -0
- package/components/editor/SelectionObjectBox/MoveableCustomEditable.d.ts.map +1 -0
- package/components/editor/SelectionObjectBox/MoveableCustomRotation.d.ts +12 -0
- package/components/editor/SelectionObjectBox/MoveableCustomRotation.d.ts.map +1 -0
- package/components/editor/SelectionObjectBox/MoveableSelectionObjectBox.d.ts +11 -0
- package/components/editor/SelectionObjectBox/MoveableSelectionObjectBox.d.ts.map +1 -0
- package/components/editor/SelectionObjectBox/SelectionObjectBox.d.ts +15 -0
- package/components/editor/SelectionObjectBox/SelectionObjectBox.d.ts.map +1 -0
- package/components/editor/SelectionObjectBox/index.d.ts +2 -0
- package/components/editor/SelectionObjectBox/index.d.ts.map +1 -0
- package/components/editor/TextureSwatch/TextureSwatch.d.ts +6 -0
- package/components/editor/TextureSwatch/TextureSwatch.d.ts.map +1 -0
- package/components/editor/TextureSwatch/index.d.ts +2 -0
- package/components/editor/TextureSwatch/index.d.ts.map +1 -0
- package/components/feed/ChoiceFeedTileGroup/ChoiceFeedTile.d.ts +22 -0
- package/components/feed/ChoiceFeedTileGroup/ChoiceFeedTile.d.ts.map +1 -0
- package/components/feed/ChoiceFeedTileGroup/ChoiceFeedTileGroup.d.ts +16 -0
- package/components/feed/ChoiceFeedTileGroup/ChoiceFeedTileGroup.d.ts.map +1 -0
- package/components/feed/ChoiceFeedTileGroup/index.d.ts +3 -0
- package/components/feed/ChoiceFeedTileGroup/index.d.ts.map +1 -0
- package/components/feed/CollectionTile/CollectionTile.d.ts +16 -0
- package/components/feed/CollectionTile/CollectionTile.d.ts.map +1 -0
- package/components/feed/CollectionTile/index.d.ts +2 -0
- package/components/feed/CollectionTile/index.d.ts.map +1 -0
- package/components/feed/FeedSizeTile/FeedSizeTile.d.ts +9 -0
- package/components/feed/FeedSizeTile/FeedSizeTile.d.ts.map +1 -0
- package/components/feed/FeedSizeTile/index.d.ts +2 -0
- package/components/feed/FeedSizeTile/index.d.ts.map +1 -0
- package/components/feed/FeedSizeTile/presets.d.ts +3 -0
- package/components/feed/FeedSizeTile/presets.d.ts.map +1 -0
- package/components/feed/FeedTile/FeedTile.d.ts +22 -0
- package/components/feed/FeedTile/FeedTile.d.ts.map +1 -0
- package/components/feed/FeedTile/LazyImage.d.ts +8 -0
- package/components/feed/FeedTile/LazyImage.d.ts.map +1 -0
- package/components/feed/FeedTile/index.d.ts +3 -0
- package/components/feed/FeedTile/index.d.ts.map +1 -0
- package/components/feed/Prompt/Prompt.d.ts +7 -0
- package/components/feed/Prompt/Prompt.d.ts.map +1 -0
- package/components/feed/Prompt/index.d.ts +2 -0
- package/components/feed/Prompt/index.d.ts.map +1 -0
- package/components/feed/PromptSuggestion/PromptSuggestion.d.ts +2 -0
- package/components/feed/PromptSuggestion/PromptSuggestion.d.ts.map +1 -0
- package/components/feed/PromptSuggestion/index.d.ts +2 -0
- package/components/feed/PromptSuggestion/index.d.ts.map +1 -0
- package/components/feed/Suggestion/Suggestion.d.ts +10 -0
- package/components/feed/Suggestion/Suggestion.d.ts.map +1 -0
- package/components/feed/Suggestion/index.d.ts +2 -0
- package/components/feed/Suggestion/index.d.ts.map +1 -0
- package/components/feed/TextSuggestion/TextSuggestion.d.ts +7 -0
- package/components/feed/TextSuggestion/TextSuggestion.d.ts.map +1 -0
- package/components/feed/TextSuggestion/index.d.ts +2 -0
- package/components/feed/TextSuggestion/index.d.ts.map +1 -0
- package/components/feedback/InfoBar/InfoBar.d.ts +13 -0
- package/components/feedback/InfoBar/InfoBar.d.ts.map +1 -0
- package/components/feedback/InfoBar/index.d.ts +2 -0
- package/components/feedback/InfoBar/index.d.ts.map +1 -0
- package/components/index.d.ts +228 -0
- package/components/index.d.ts.map +1 -0
- package/components/input/CanvasInput/CanvasInput.d.ts +19 -0
- package/components/input/CanvasInput/CanvasInput.d.ts.map +1 -0
- package/components/input/CanvasInput/index.d.ts +2 -0
- package/components/input/CanvasInput/index.d.ts.map +1 -0
- package/components/input/Checkbox/Checkbox.d.ts +3 -0
- package/components/input/Checkbox/Checkbox.d.ts.map +1 -0
- package/components/input/Checkbox/index.d.ts +2 -0
- package/components/input/Checkbox/index.d.ts.map +1 -0
- package/components/input/CheckboxField/CheckboxField.d.ts +10 -0
- package/components/input/CheckboxField/CheckboxField.d.ts.map +1 -0
- package/components/input/CheckboxField/index.d.ts +2 -0
- package/components/input/CheckboxField/index.d.ts.map +1 -0
- package/components/input/Chip/Chip.d.ts +7 -0
- package/components/input/Chip/Chip.d.ts.map +1 -0
- package/components/input/Chip/index.d.ts +2 -0
- package/components/input/Chip/index.d.ts.map +1 -0
- package/components/input/CodeInput/CodeInput.d.ts +23 -0
- package/components/input/CodeInput/CodeInput.d.ts.map +1 -0
- package/components/input/CodeInput/CodeInputField.d.ts +15 -0
- package/components/input/CodeInput/CodeInputField.d.ts.map +1 -0
- package/components/input/CodeInput/index.d.ts +3 -0
- package/components/input/CodeInput/index.d.ts.map +1 -0
- package/components/input/CodeInput/useCodeInput.d.ts +12 -0
- package/components/input/CodeInput/useCodeInput.d.ts.map +1 -0
- package/components/input/DomainField/DomainField.d.ts +10 -0
- package/components/input/DomainField/DomainField.d.ts.map +1 -0
- package/components/input/DomainField/index.d.ts +2 -0
- package/components/input/DomainField/index.d.ts.map +1 -0
- package/components/input/DropZone/DropZone.d.ts +20 -0
- package/components/input/DropZone/DropZone.d.ts.map +1 -0
- package/components/input/DropZone/index.d.ts +2 -0
- package/components/input/DropZone/index.d.ts.map +1 -0
- package/components/input/DropdownSelectionMenu/DropdownSelectionMenu.d.ts +29 -0
- package/components/input/DropdownSelectionMenu/DropdownSelectionMenu.d.ts.map +1 -0
- package/components/input/DropdownSelectionMenu/SelectTrigger.d.ts +19 -0
- package/components/input/DropdownSelectionMenu/SelectTrigger.d.ts.map +1 -0
- package/components/input/DropdownSelectionMenu/index.d.ts +5 -0
- package/components/input/DropdownSelectionMenu/index.d.ts.map +1 -0
- package/components/input/FieldLabel/FieldLabel.d.ts +11 -0
- package/components/input/FieldLabel/FieldLabel.d.ts.map +1 -0
- package/components/input/FieldLabel/index.d.ts +2 -0
- package/components/input/FieldLabel/index.d.ts.map +1 -0
- package/components/input/FolderList/FolderList.d.ts +8 -0
- package/components/input/FolderList/FolderList.d.ts.map +1 -0
- package/components/input/FolderList/FolderListButton.d.ts +5 -0
- package/components/input/FolderList/FolderListButton.d.ts.map +1 -0
- package/components/input/FolderList/FolderListItem.d.ts +4 -0
- package/components/input/FolderList/FolderListItem.d.ts.map +1 -0
- package/components/input/FolderList/index.d.ts +2 -0
- package/components/input/FolderList/index.d.ts.map +1 -0
- package/components/input/FontWeightSelectorItem/FontWeightSelectorItem.d.ts +13 -0
- package/components/input/FontWeightSelectorItem/FontWeightSelectorItem.d.ts.map +1 -0
- package/components/input/FontWeightSelectorItem/index.d.ts +2 -0
- package/components/input/FontWeightSelectorItem/index.d.ts.map +1 -0
- package/components/input/HelperText/HelperText.d.ts +7 -0
- package/components/input/HelperText/HelperText.d.ts.map +1 -0
- package/components/input/HelperText/index.d.ts +2 -0
- package/components/input/HelperText/index.d.ts.map +1 -0
- package/components/input/ImageField/ImageField.d.ts +20 -0
- package/components/input/ImageField/ImageField.d.ts.map +1 -0
- package/components/input/ImageField/index.d.ts +2 -0
- package/components/input/ImageField/index.d.ts.map +1 -0
- package/components/input/ImagePicker/ImagePicker.d.ts +20 -0
- package/components/input/ImagePicker/ImagePicker.d.ts.map +1 -0
- package/components/input/ImagePicker/index.d.ts +3 -0
- package/components/input/ImagePicker/index.d.ts.map +1 -0
- package/components/input/InlineRadioGroup/InlineRadioGroup.d.ts +13 -0
- package/components/input/InlineRadioGroup/InlineRadioGroup.d.ts.map +1 -0
- package/components/input/InlineRadioGroup/InlineRadioGroupItem.d.ts +7 -0
- package/components/input/InlineRadioGroup/InlineRadioGroupItem.d.ts.map +1 -0
- package/components/input/InlineRadioGroup/index.d.ts +2 -0
- package/components/input/InlineRadioGroup/index.d.ts.map +1 -0
- package/components/input/InlineSelector/InlineSelector.d.ts +7 -0
- package/components/input/InlineSelector/InlineSelector.d.ts.map +1 -0
- package/components/input/InlineSelector/index.d.ts +2 -0
- package/components/input/InlineSelector/index.d.ts.map +1 -0
- package/components/input/Label/Label.d.ts +7 -0
- package/components/input/Label/Label.d.ts.map +1 -0
- package/components/input/Label/index.d.ts +2 -0
- package/components/input/Label/index.d.ts.map +1 -0
- package/components/input/NumberField/NumberField.d.ts +48 -0
- package/components/input/NumberField/NumberField.d.ts.map +1 -0
- package/components/input/NumberField/index.d.ts +2 -0
- package/components/input/NumberField/index.d.ts.map +1 -0
- package/components/input/NumberField/utils.d.ts +14 -0
- package/components/input/NumberField/utils.d.ts.map +1 -0
- package/components/input/OptionGroup/OptionGroup.d.ts +12 -0
- package/components/input/OptionGroup/OptionGroup.d.ts.map +1 -0
- package/components/input/OptionGroup/OptionGroupItem/OptionGroupItem.d.ts +23 -0
- package/components/input/OptionGroup/OptionGroupItem/OptionGroupItem.d.ts.map +1 -0
- package/components/input/OptionGroup/OptionGroupItem/index.d.ts +2 -0
- package/components/input/OptionGroup/OptionGroupItem/index.d.ts.map +1 -0
- package/components/input/OptionGroup/index.d.ts +2 -0
- package/components/input/OptionGroup/index.d.ts.map +1 -0
- package/components/input/PanelStandardInput/PanelStandardInput.d.ts +29 -0
- package/components/input/PanelStandardInput/PanelStandardInput.d.ts.map +1 -0
- package/components/input/PanelStandardInput/index.d.ts +2 -0
- package/components/input/PanelStandardInput/index.d.ts.map +1 -0
- package/components/input/PendingOptionGroup/PendingOptionGroup.d.ts +7 -0
- package/components/input/PendingOptionGroup/PendingOptionGroup.d.ts.map +1 -0
- package/components/input/PendingOptionGroup/PendingOptionGroupItem.d.ts +8 -0
- package/components/input/PendingOptionGroup/PendingOptionGroupItem.d.ts.map +1 -0
- package/components/input/PendingOptionGroup/index.d.ts +2 -0
- package/components/input/PendingOptionGroup/index.d.ts.map +1 -0
- package/components/input/PhotoDropZone/PhotoDropZone.d.ts +11 -0
- package/components/input/PhotoDropZone/PhotoDropZone.d.ts.map +1 -0
- package/components/input/PhotoDropZone/index.d.ts +2 -0
- package/components/input/PhotoDropZone/index.d.ts.map +1 -0
- package/components/input/PlaceholderTile/PlaceholderTile.d.ts +25 -0
- package/components/input/PlaceholderTile/PlaceholderTile.d.ts.map +1 -0
- package/components/input/PlaceholderTile/index.d.ts +2 -0
- package/components/input/PlaceholderTile/index.d.ts.map +1 -0
- package/components/input/PresetGroup/PresetGroup.d.ts +7 -0
- package/components/input/PresetGroup/PresetGroup.d.ts.map +1 -0
- package/components/input/PresetGroup/PresetGroupIcon.d.ts +7 -0
- package/components/input/PresetGroup/PresetGroupIcon.d.ts.map +1 -0
- package/components/input/PresetGroup/PresetGroupItem.d.ts +11 -0
- package/components/input/PresetGroup/PresetGroupItem.d.ts.map +1 -0
- package/components/input/PresetGroup/index.d.ts +2 -0
- package/components/input/PresetGroup/index.d.ts.map +1 -0
- package/components/input/PromptInput/PromptInput.d.ts +30 -0
- package/components/input/PromptInput/PromptInput.d.ts.map +1 -0
- package/components/input/PromptInput/index.d.ts +3 -0
- package/components/input/PromptInput/index.d.ts.map +1 -0
- package/components/input/QuickActionPhotoCard/QuickActionPhotoCard.d.ts +9 -0
- package/components/input/QuickActionPhotoCard/QuickActionPhotoCard.d.ts.map +1 -0
- package/components/input/QuickActionPhotoCard/index.d.ts +2 -0
- package/components/input/QuickActionPhotoCard/index.d.ts.map +1 -0
- package/components/input/RadioGroup/RadioGroup.d.ts +11 -0
- package/components/input/RadioGroup/RadioGroup.d.ts.map +1 -0
- package/components/input/RadioGroup/RadioGroupItem/RadioGroupItem.d.ts +7 -0
- package/components/input/RadioGroup/RadioGroupItem/RadioGroupItem.d.ts.map +1 -0
- package/components/input/RadioGroup/RadioGroupItem/index.d.ts +2 -0
- package/components/input/RadioGroup/RadioGroupItem/index.d.ts.map +1 -0
- package/components/input/RadioGroup/index.d.ts +2 -0
- package/components/input/RadioGroup/index.d.ts.map +1 -0
- package/components/input/ReactionBar/ReactionBar.d.ts +7 -0
- package/components/input/ReactionBar/ReactionBar.d.ts.map +1 -0
- package/components/input/ReactionBar/index.d.ts +2 -0
- package/components/input/ReactionBar/index.d.ts.map +1 -0
- package/components/input/ReactionButton/ReactionButton.d.ts +16 -0
- package/components/input/ReactionButton/ReactionButton.d.ts.map +1 -0
- package/components/input/ReactionButton/index.d.ts +2 -0
- package/components/input/ReactionButton/index.d.ts.map +1 -0
- package/components/input/SamplePicker/SamplePicker.d.ts +10 -0
- package/components/input/SamplePicker/SamplePicker.d.ts.map +1 -0
- package/components/input/SamplePicker/SamplePickerItem.d.ts +3 -0
- package/components/input/SamplePicker/SamplePickerItem.d.ts.map +1 -0
- package/components/input/SamplePicker/index.d.ts +2 -0
- package/components/input/SamplePicker/index.d.ts.map +1 -0
- package/components/input/SearchInput/SearchInput.d.ts +9 -0
- package/components/input/SearchInput/SearchInput.d.ts.map +1 -0
- package/components/input/SearchInput/index.d.ts +2 -0
- package/components/input/SearchInput/index.d.ts.map +1 -0
- package/components/input/SearchableSelect/SearchableSelect.d.ts +36 -0
- package/components/input/SearchableSelect/SearchableSelect.d.ts.map +1 -0
- package/components/input/SearchableSelect/SearchableSelectItem.d.ts +13 -0
- package/components/input/SearchableSelect/SearchableSelectItem.d.ts.map +1 -0
- package/components/input/SearchableSelect/SearchableSelectPrimitive.d.ts +15 -0
- package/components/input/SearchableSelect/SearchableSelectPrimitive.d.ts.map +1 -0
- package/components/input/SearchableSelect/SearchableSelectTrigger.d.ts +8 -0
- package/components/input/SearchableSelect/SearchableSelectTrigger.d.ts.map +1 -0
- package/components/input/SearchableSelect/index.d.ts +2 -0
- package/components/input/SearchableSelect/index.d.ts.map +1 -0
- package/components/input/SelectField/SelectField.d.ts +12 -0
- package/components/input/SelectField/SelectField.d.ts.map +1 -0
- package/components/input/SelectField/index.d.ts +2 -0
- package/components/input/SelectField/index.d.ts.map +1 -0
- package/components/input/Slider/Slider.d.ts +8 -0
- package/components/input/Slider/Slider.d.ts.map +1 -0
- package/components/input/Slider/index.d.ts +2 -0
- package/components/input/Slider/index.d.ts.map +1 -0
- package/components/input/SliderField/SliderField.d.ts +11 -0
- package/components/input/SliderField/SliderField.d.ts.map +1 -0
- package/components/input/SliderField/index.d.ts +2 -0
- package/components/input/SliderField/index.d.ts.map +1 -0
- package/components/input/StandardInput/OptionalImagePromptButton.d.ts +7 -0
- package/components/input/StandardInput/OptionalImagePromptButton.d.ts.map +1 -0
- package/components/input/StandardInput/StandardInputImagePrompt.d.ts +22 -0
- package/components/input/StandardInput/StandardInputImagePrompt.d.ts.map +1 -0
- package/components/input/StandardInput/StandardInputTextPrompt.d.ts +10 -0
- package/components/input/StandardInput/StandardInputTextPrompt.d.ts.map +1 -0
- package/components/input/StandardInput/index.d.ts +9 -0
- package/components/input/StandardInput/index.d.ts.map +1 -0
- package/components/input/SwitchField/SwitchField.d.ts +14 -0
- package/components/input/SwitchField/SwitchField.d.ts.map +1 -0
- package/components/input/SwitchField/SwitchFieldIndicator.d.ts +4 -0
- package/components/input/SwitchField/SwitchFieldIndicator.d.ts.map +1 -0
- package/components/input/SwitchField/index.d.ts +2 -0
- package/components/input/SwitchField/index.d.ts.map +1 -0
- package/components/input/SwitchGroup/SwitchGroup.d.ts +10 -0
- package/components/input/SwitchGroup/SwitchGroup.d.ts.map +1 -0
- package/components/input/SwitchGroup/SwitchGroupItem.d.ts +8 -0
- package/components/input/SwitchGroup/SwitchGroupItem.d.ts.map +1 -0
- package/components/input/SwitchGroup/index.d.ts +2 -0
- package/components/input/SwitchGroup/index.d.ts.map +1 -0
- package/components/input/TagField/TagField.d.ts +10 -0
- package/components/input/TagField/TagField.d.ts.map +1 -0
- package/components/input/TagField/index.d.ts +2 -0
- package/components/input/TagField/index.d.ts.map +1 -0
- package/components/input/TextArea/TextArea.d.ts +16 -0
- package/components/input/TextArea/TextArea.d.ts.map +1 -0
- package/components/input/TextArea/TextAreaAutosize.d.ts +4 -0
- package/components/input/TextArea/TextAreaAutosize.d.ts.map +1 -0
- package/components/input/TextArea/index.d.ts +2 -0
- package/components/input/TextArea/index.d.ts.map +1 -0
- package/components/input/TextEditionBox/TextEditionBox.d.ts +4 -0
- package/components/input/TextEditionBox/TextEditionBox.d.ts.map +1 -0
- package/components/input/TextEditionBox/index.d.ts +2 -0
- package/components/input/TextEditionBox/index.d.ts.map +1 -0
- package/components/input/TextField/TextField.d.ts +7 -0
- package/components/input/TextField/TextField.d.ts.map +1 -0
- package/components/input/TextField/index.d.ts +2 -0
- package/components/input/TextField/index.d.ts.map +1 -0
- package/components/input/TextFieldLabel/TextFieldLabel.d.ts +10 -0
- package/components/input/TextFieldLabel/TextFieldLabel.d.ts.map +1 -0
- package/components/input/TextFieldLabel/index.d.ts +2 -0
- package/components/input/TextFieldLabel/index.d.ts.map +1 -0
- package/components/input/TextInput/TextInput.d.ts +37 -0
- package/components/input/TextInput/TextInput.d.ts.map +1 -0
- package/components/input/TextInput/index.d.ts +2 -0
- package/components/input/TextInput/index.d.ts.map +1 -0
- package/components/list/ActionHeader/ActionHeader.d.ts +12 -0
- package/components/list/ActionHeader/ActionHeader.d.ts.map +1 -0
- package/components/list/ActionHeader/index.d.ts +2 -0
- package/components/list/ActionHeader/index.d.ts.map +1 -0
- package/components/list/FontFamilyRow/FontFamilyRow.d.ts +2 -0
- package/components/list/FontFamilyRow/FontFamilyRow.d.ts.map +1 -0
- package/components/list/FontFamilyRow/index.d.ts +2 -0
- package/components/list/FontFamilyRow/index.d.ts.map +1 -0
- package/components/list/PeopleListItem/PeopleListItem.d.ts +8 -0
- package/components/list/PeopleListItem/PeopleListItem.d.ts.map +1 -0
- package/components/list/PeopleListItem/index.d.ts +2 -0
- package/components/list/PeopleListItem/index.d.ts.map +1 -0
- package/components/list/SectionHeader/SectionHeader.d.ts +7 -0
- package/components/list/SectionHeader/SectionHeader.d.ts.map +1 -0
- package/components/list/SectionHeader/SectionHeaderSkeleton.d.ts +11 -0
- package/components/list/SectionHeader/SectionHeaderSkeleton.d.ts.map +1 -0
- package/components/list/SectionHeader/index.d.ts +3 -0
- package/components/list/SectionHeader/index.d.ts.map +1 -0
- package/components/list/SizeListItem/SizeListItem.d.ts +14 -0
- package/components/list/SizeListItem/SizeListItem.d.ts.map +1 -0
- package/components/list/SizeListItem/index.d.ts +2 -0
- package/components/list/SizeListItem/index.d.ts.map +1 -0
- package/components/list/StandardTile/StandardTileSkeleton.d.ts +15 -0
- package/components/list/StandardTile/StandardTileSkeleton.d.ts.map +1 -0
- package/components/list/StandardTile/index.d.ts +2 -0
- package/components/list/StandardTile/index.d.ts.map +1 -0
- package/components/list/VariantListItem/VariantsHeaderItem.d.ts +10 -0
- package/components/list/VariantListItem/VariantsHeaderItem.d.ts.map +1 -0
- package/components/list/VariantListItem/VariantsList.d.ts +7 -0
- package/components/list/VariantListItem/VariantsList.d.ts.map +1 -0
- package/components/list/VariantListItem/VariantsListItem.d.ts +33 -0
- package/components/list/VariantListItem/VariantsListItem.d.ts.map +1 -0
- package/components/list/VariantListItem/VariantsListItemContent.d.ts +7 -0
- package/components/list/VariantListItem/VariantsListItemContent.d.ts.map +1 -0
- package/components/list/VariantListItem/VariantsListItemLeading.d.ts +9 -0
- package/components/list/VariantListItem/VariantsListItemLeading.d.ts.map +1 -0
- package/components/list/VariantListItem/VariantsListItemTrailing.d.ts +6 -0
- package/components/list/VariantListItem/VariantsListItemTrailing.d.ts.map +1 -0
- package/components/list/VariantListItem/VariantsValueItem.d.ts +10 -0
- package/components/list/VariantListItem/VariantsValueItem.d.ts.map +1 -0
- package/components/list/VariantListItem/index.d.ts +3 -0
- package/components/list/VariantListItem/index.d.ts.map +1 -0
- package/components/multiplayer/ActivityRow/ActivityRow.d.ts +19 -0
- package/components/multiplayer/ActivityRow/ActivityRow.d.ts.map +1 -0
- package/components/multiplayer/ActivityRow/index.d.ts +2 -0
- package/components/multiplayer/ActivityRow/index.d.ts.map +1 -0
- package/components/multiplayer/CommentRow/CommentRow.d.ts +15 -0
- package/components/multiplayer/CommentRow/CommentRow.d.ts.map +1 -0
- package/components/multiplayer/CommentRow/index.d.ts +2 -0
- package/components/multiplayer/CommentRow/index.d.ts.map +1 -0
- package/components/multiplayer/EventRow/EventRow.d.ts +11 -0
- package/components/multiplayer/EventRow/EventRow.d.ts.map +1 -0
- package/components/multiplayer/EventRow/index.d.ts +2 -0
- package/components/multiplayer/EventRow/index.d.ts.map +1 -0
- package/components/navigation/Avatar/Avatar.d.ts +18 -0
- package/components/navigation/Avatar/Avatar.d.ts.map +1 -0
- package/components/navigation/Avatar/index.d.ts +2 -0
- package/components/navigation/Avatar/index.d.ts.map +1 -0
- package/components/navigation/AvatarSkeleton/AvatarSkeleton.d.ts +8 -0
- package/components/navigation/AvatarSkeleton/AvatarSkeleton.d.ts.map +1 -0
- package/components/navigation/AvatarSkeleton/index.d.ts +2 -0
- package/components/navigation/AvatarSkeleton/index.d.ts.map +1 -0
- package/components/navigation/AvatarStack/AvatarAdd.d.ts +7 -0
- package/components/navigation/AvatarStack/AvatarAdd.d.ts.map +1 -0
- package/components/navigation/AvatarStack/AvatarCount.d.ts +8 -0
- package/components/navigation/AvatarStack/AvatarCount.d.ts.map +1 -0
- package/components/navigation/AvatarStack/AvatarStack.d.ts +11 -0
- package/components/navigation/AvatarStack/AvatarStack.d.ts.map +1 -0
- package/components/navigation/AvatarStack/index.d.ts +2 -0
- package/components/navigation/AvatarStack/index.d.ts.map +1 -0
- package/components/navigation/Breadcrumbs/Breadcrumbs.d.ts +3 -0
- package/components/navigation/Breadcrumbs/Breadcrumbs.d.ts.map +1 -0
- package/components/navigation/Breadcrumbs/index.d.ts +2 -0
- package/components/navigation/Breadcrumbs/index.d.ts.map +1 -0
- package/components/navigation/SegmentedControl/SegmentedControl.d.ts +16 -0
- package/components/navigation/SegmentedControl/SegmentedControl.d.ts.map +1 -0
- package/components/navigation/SegmentedControl/SegmentedControlItem.d.ts +4 -0
- package/components/navigation/SegmentedControl/SegmentedControlItem.d.ts.map +1 -0
- package/components/navigation/SegmentedControl/SegmentedControlItemIconOnly.d.ts +9 -0
- package/components/navigation/SegmentedControl/SegmentedControlItemIconOnly.d.ts.map +1 -0
- package/components/navigation/SegmentedControl/SegmentedControlItemIconWithLabel.d.ts +8 -0
- package/components/navigation/SegmentedControl/SegmentedControlItemIconWithLabel.d.ts.map +1 -0
- package/components/navigation/SegmentedControl/SegmentedControlItemLabelWithSub.d.ts +7 -0
- package/components/navigation/SegmentedControl/SegmentedControlItemLabelWithSub.d.ts.map +1 -0
- package/components/navigation/SegmentedControl/index.d.ts +2 -0
- package/components/navigation/SegmentedControl/index.d.ts.map +1 -0
- package/components/navigation/SegmentedPicker/SegmentedPicker.d.ts +19 -0
- package/components/navigation/SegmentedPicker/SegmentedPicker.d.ts.map +1 -0
- package/components/navigation/SegmentedPicker/SegmentedPickerItem.d.ts +16 -0
- package/components/navigation/SegmentedPicker/SegmentedPickerItem.d.ts.map +1 -0
- package/components/navigation/SegmentedPicker/index.d.ts +2 -0
- package/components/navigation/SegmentedPicker/index.d.ts.map +1 -0
- package/components/navigation/SideNavigation/SideNavigationHeader/SideNavigationHeader.d.ts +17 -0
- package/components/navigation/SideNavigation/SideNavigationHeader/SideNavigationHeader.d.ts.map +1 -0
- package/components/navigation/SideNavigation/SideNavigationHeader/index.d.ts +2 -0
- package/components/navigation/SideNavigation/SideNavigationHeader/index.d.ts.map +1 -0
- package/components/navigation/SideNavigation/SideNavigationItem/SideNavigationItem.d.ts +12 -0
- package/components/navigation/SideNavigation/SideNavigationItem/SideNavigationItem.d.ts.map +1 -0
- package/components/navigation/SideNavigation/SideNavigationItem/index.d.ts +2 -0
- package/components/navigation/SideNavigation/SideNavigationItem/index.d.ts.map +1 -0
- package/components/navigation/SideNavigation/SideNavigationItemSkeleton/SideNavigationItemSkeleton.d.ts +11 -0
- package/components/navigation/SideNavigation/SideNavigationItemSkeleton/SideNavigationItemSkeleton.d.ts.map +1 -0
- package/components/navigation/SideNavigation/SideNavigationItemSkeleton/index.d.ts +2 -0
- package/components/navigation/SideNavigation/SideNavigationItemSkeleton/index.d.ts.map +1 -0
- package/components/navigation/SideNavigation/index.d.ts +4 -0
- package/components/navigation/SideNavigation/index.d.ts.map +1 -0
- package/components/navigation/Tabs/Tabs.d.ts +9 -0
- package/components/navigation/Tabs/Tabs.d.ts.map +1 -0
- package/components/navigation/Tabs/TabsItem.d.ts +17 -0
- package/components/navigation/Tabs/TabsItem.d.ts.map +1 -0
- package/components/navigation/Tabs/index.d.ts +3 -0
- package/components/navigation/Tabs/index.d.ts.map +1 -0
- package/components/navigation/TagGroup/Tag/Tag.d.ts +13 -0
- package/components/navigation/TagGroup/Tag/Tag.d.ts.map +1 -0
- package/components/navigation/TagGroup/Tag/index.d.ts +2 -0
- package/components/navigation/TagGroup/Tag/index.d.ts.map +1 -0
- package/components/navigation/TagGroup/TagGroup.d.ts +14 -0
- package/components/navigation/TagGroup/TagGroup.d.ts.map +1 -0
- package/components/navigation/TagGroup/index.d.ts +2 -0
- package/components/navigation/TagGroup/index.d.ts.map +1 -0
- package/components/navigation/ToolMenuButton/ToolMenuButton.d.ts +8 -0
- package/components/navigation/ToolMenuButton/ToolMenuButton.d.ts.map +1 -0
- package/components/navigation/ToolMenuButton/index.d.ts +2 -0
- package/components/navigation/ToolMenuButton/index.d.ts.map +1 -0
- package/components/onboarding/ChoiceGroup/ChoiceGroup.d.ts +13 -0
- package/components/onboarding/ChoiceGroup/ChoiceGroup.d.ts.map +1 -0
- package/components/onboarding/ChoiceGroup/ChoiceMultiple/ChoiceMultipleGroup.d.ts +12 -0
- package/components/onboarding/ChoiceGroup/ChoiceMultiple/ChoiceMultipleGroup.d.ts.map +1 -0
- package/components/onboarding/ChoiceGroup/ChoiceMultiple/ChoiceMultipleTile.d.ts +5 -0
- package/components/onboarding/ChoiceGroup/ChoiceMultiple/ChoiceMultipleTile.d.ts.map +1 -0
- package/components/onboarding/ChoiceGroup/ChoiceMultiple/ListChoiceMultipleExpandTile.d.ts +10 -0
- package/components/onboarding/ChoiceGroup/ChoiceMultiple/ListChoiceMultipleExpandTile.d.ts.map +1 -0
- package/components/onboarding/ChoiceGroup/ChoiceMultiple/ListChoiceMultipleTile.d.ts +5 -0
- package/components/onboarding/ChoiceGroup/ChoiceMultiple/ListChoiceMultipleTile.d.ts.map +1 -0
- package/components/onboarding/ChoiceGroup/ChoiceSingle/ChoiceSingleGroup.d.ts +11 -0
- package/components/onboarding/ChoiceGroup/ChoiceSingle/ChoiceSingleGroup.d.ts.map +1 -0
- package/components/onboarding/ChoiceGroup/ChoiceTile.d.ts +12 -0
- package/components/onboarding/ChoiceGroup/ChoiceTile.d.ts.map +1 -0
- package/components/onboarding/ChoiceGroup/ListChoiceTile.d.ts +10 -0
- package/components/onboarding/ChoiceGroup/ListChoiceTile.d.ts.map +1 -0
- package/components/onboarding/ChoiceGroup/index.d.ts +3 -0
- package/components/onboarding/ChoiceGroup/index.d.ts.map +1 -0
- package/components/polymorphic.d.ts +31 -0
- package/components/polymorphic.d.ts.map +1 -0
- package/components/status/ActivityIndicator/ActivityIndicator.d.ts +8 -0
- package/components/status/ActivityIndicator/ActivityIndicator.d.ts.map +1 -0
- package/components/status/ActivityIndicator/index.d.ts +2 -0
- package/components/status/ActivityIndicator/index.d.ts.map +1 -0
- package/components/status/Badge/Badge.d.ts +20 -0
- package/components/status/Badge/Badge.d.ts.map +1 -0
- package/components/status/Badge/ProBadge.d.ts +7 -0
- package/components/status/Badge/ProBadge.d.ts.map +1 -0
- package/components/status/Badge/StudioBadge.d.ts +5 -0
- package/components/status/Badge/StudioBadge.d.ts.map +1 -0
- package/components/status/Badge/index.d.ts +4 -0
- package/components/status/Badge/index.d.ts.map +1 -0
- package/components/status/CardBadge/CardBadge.d.ts +8 -0
- package/components/status/CardBadge/CardBadge.d.ts.map +1 -0
- package/components/status/CardBadge/index.d.ts +2 -0
- package/components/status/CardBadge/index.d.ts.map +1 -0
- package/components/status/EmptySpace/EmptySpace.d.ts +12 -0
- package/components/status/EmptySpace/EmptySpace.d.ts.map +1 -0
- package/components/status/EmptySpace/index.d.ts +2 -0
- package/components/status/EmptySpace/index.d.ts.map +1 -0
- package/components/status/ExportLimitCard/ExportLimitCard.d.ts +11 -0
- package/components/status/ExportLimitCard/ExportLimitCard.d.ts.map +1 -0
- package/components/status/ExportLimitCard/index.d.ts +3 -0
- package/components/status/ExportLimitCard/index.d.ts.map +1 -0
- package/components/status/ExportLimitCard/useExportLimitCard.d.ts +5 -0
- package/components/status/ExportLimitCard/useExportLimitCard.d.ts.map +1 -0
- package/components/status/FullScreenLoader/FullScreenLoader.d.ts +2 -0
- package/components/status/FullScreenLoader/FullScreenLoader.d.ts.map +1 -0
- package/components/status/FullScreenLoader/index.d.ts +2 -0
- package/components/status/FullScreenLoader/index.d.ts.map +1 -0
- package/components/status/Gauge/Gauge.d.ts +6 -0
- package/components/status/Gauge/Gauge.d.ts.map +1 -0
- package/components/status/Gauge/index.d.ts +2 -0
- package/components/status/Gauge/index.d.ts.map +1 -0
- package/components/status/LimitGauge/LimitGauge.d.ts +12 -0
- package/components/status/LimitGauge/LimitGauge.d.ts.map +1 -0
- package/components/status/LimitGauge/index.d.ts +2 -0
- package/components/status/LimitGauge/index.d.ts.map +1 -0
- package/components/status/Notification/Notification.d.ts +14 -0
- package/components/status/Notification/Notification.d.ts.map +1 -0
- package/components/status/Notification/NotificationStack.d.ts +3 -0
- package/components/status/Notification/NotificationStack.d.ts.map +1 -0
- package/components/status/Notification/NotificationsStore.d.ts +27 -0
- package/components/status/Notification/NotificationsStore.d.ts.map +1 -0
- package/components/status/Notification/index.d.ts +4 -0
- package/components/status/Notification/index.d.ts.map +1 -0
- package/components/status/Progress/Progress.d.ts +4 -0
- package/components/status/Progress/Progress.d.ts.map +1 -0
- package/components/status/Progress/index.d.ts +2 -0
- package/components/status/Progress/index.d.ts.map +1 -0
- package/components/status/ProgressStep/ProgressStep.d.ts +23 -0
- package/components/status/ProgressStep/ProgressStep.d.ts.map +1 -0
- package/components/status/ProgressStep/index.d.ts +2 -0
- package/components/status/ProgressStep/index.d.ts.map +1 -0
- package/components/status/SelectionBadge/SelectionBadge.d.ts +15 -0
- package/components/status/SelectionBadge/SelectionBadge.d.ts.map +1 -0
- package/components/status/SelectionBadge/index.d.ts +2 -0
- package/components/status/SelectionBadge/index.d.ts.map +1 -0
- package/components/status/SellScore/SellScore.d.ts +7 -0
- package/components/status/SellScore/SellScore.d.ts.map +1 -0
- package/components/status/SellScore/SellScoreGauge.d.ts +3 -0
- package/components/status/SellScore/SellScoreGauge.d.ts.map +1 -0
- package/components/status/SellScore/SellScoreLabel.d.ts +3 -0
- package/components/status/SellScore/SellScoreLabel.d.ts.map +1 -0
- package/components/status/SellScore/index.d.ts +2 -0
- package/components/status/SellScore/index.d.ts.map +1 -0
- package/components/status/SellScore/types.d.ts +15 -0
- package/components/status/SellScore/types.d.ts.map +1 -0
- package/components/status/SellScore/variants.d.ts +6 -0
- package/components/status/SellScore/variants.d.ts.map +1 -0
- package/components/status/Shortcut/Shortcut.d.ts +6 -0
- package/components/status/Shortcut/Shortcut.d.ts.map +1 -0
- package/components/status/Shortcut/index.d.ts +2 -0
- package/components/status/Shortcut/index.d.ts.map +1 -0
- package/components/status/StatusBadge/StatusBadge.d.ts +8 -0
- package/components/status/StatusBadge/StatusBadge.d.ts.map +1 -0
- package/components/status/StatusBadge/StatusBadgeInternal.d.ts +5 -0
- package/components/status/StatusBadge/StatusBadgeInternal.d.ts.map +1 -0
- package/components/status/StatusBadge/index.d.ts +2 -0
- package/components/status/StatusBadge/index.d.ts.map +1 -0
- package/components/status/ToastProgress/ToastProgress.d.ts +11 -0
- package/components/status/ToastProgress/ToastProgress.d.ts.map +1 -0
- package/components/status/ToastProgress/index.d.ts +2 -0
- package/components/status/ToastProgress/index.d.ts.map +1 -0
- package/components/structure/Bone/Bone.d.ts +9 -0
- package/components/structure/Bone/Bone.d.ts.map +1 -0
- package/components/structure/Bone/index.d.ts +2 -0
- package/components/structure/Bone/index.d.ts.map +1 -0
- package/components/structure/Divider/Divider.d.ts +11 -0
- package/components/structure/Divider/Divider.d.ts.map +1 -0
- package/components/structure/Divider/index.d.ts +2 -0
- package/components/structure/Divider/index.d.ts.map +1 -0
- package/components/structure/PanelHeader/PanelHeader.d.ts +12 -0
- package/components/structure/PanelHeader/PanelHeader.d.ts.map +1 -0
- package/components/structure/PanelHeader/PanelHeaderLeading.d.ts +11 -0
- package/components/structure/PanelHeader/PanelHeaderLeading.d.ts.map +1 -0
- package/components/structure/PanelHeader/PanelHeaderTrailing.d.ts +12 -0
- package/components/structure/PanelHeader/PanelHeaderTrailing.d.ts.map +1 -0
- package/components/structure/PanelHeader/index.d.ts +2 -0
- package/components/structure/PanelHeader/index.d.ts.map +1 -0
- package/components/unsorted/FeaturesList/FeaturesList.d.ts +6 -0
- package/components/unsorted/FeaturesList/FeaturesList.d.ts.map +1 -0
- package/components/unsorted/FeaturesList/index.d.ts +2 -0
- package/components/unsorted/FeaturesList/index.d.ts.map +1 -0
- package/components/unsorted/FileUploader/DropZoneAreaWrapper.d.ts +10 -0
- package/components/unsorted/FileUploader/DropZoneAreaWrapper.d.ts.map +1 -0
- package/components/unsorted/FileUploader/DropZoneFullscreen/DropZoneFullscreen.d.ts +8 -0
- package/components/unsorted/FileUploader/DropZoneFullscreen/DropZoneFullscreen.d.ts.map +1 -0
- package/components/unsorted/FileUploader/DropZoneFullscreen/DropZoneOverlay.d.ts +7 -0
- package/components/unsorted/FileUploader/DropZoneFullscreen/DropZoneOverlay.d.ts.map +1 -0
- package/components/unsorted/FileUploader/DropZoneFullscreen/index.d.ts +2 -0
- package/components/unsorted/FileUploader/DropZoneFullscreen/index.d.ts.map +1 -0
- package/components/unsorted/FileUploader/DropZoneFullscreenWrapper.d.ts +7 -0
- package/components/unsorted/FileUploader/DropZoneFullscreenWrapper.d.ts.map +1 -0
- package/components/unsorted/FileUploader/DropZoneOverlayWrapper.d.ts +14 -0
- package/components/unsorted/FileUploader/DropZoneOverlayWrapper.d.ts.map +1 -0
- package/components/unsorted/FileUploader/HiddenFileInput.d.ts +10 -0
- package/components/unsorted/FileUploader/HiddenFileInput.d.ts.map +1 -0
- package/components/unsorted/FileUploader/index.d.ts +6 -0
- package/components/unsorted/FileUploader/index.d.ts.map +1 -0
- package/components/unsorted/FileUploader/useFileUploader.d.ts +38 -0
- package/components/unsorted/FileUploader/useFileUploader.d.ts.map +1 -0
- package/components/unsorted/FileUploader/utils/files.d.ts +4 -0
- package/components/unsorted/FileUploader/utils/files.d.ts.map +1 -0
- package/components/unsorted/Heading/Heading.d.ts +9 -0
- package/components/unsorted/Heading/Heading.d.ts.map +1 -0
- package/components/unsorted/Heading/index.d.ts +2 -0
- package/components/unsorted/Heading/index.d.ts.map +1 -0
- package/components/unsorted/HighLightedText/HighLightedText.d.ts +11 -0
- package/components/unsorted/HighLightedText/HighLightedText.d.ts.map +1 -0
- package/components/unsorted/HighLightedText/index.d.ts +2 -0
- package/components/unsorted/HighLightedText/index.d.ts.map +1 -0
- package/components/unsorted/InfoBanner/InfoBanner.d.ts +7 -0
- package/components/unsorted/InfoBanner/InfoBanner.d.ts.map +1 -0
- package/components/unsorted/InfoBanner/index.d.ts +2 -0
- package/components/unsorted/InfoBanner/index.d.ts.map +1 -0
- package/components/unsorted/MobileDrawer/MobileDrawer.d.ts +12 -0
- package/components/unsorted/MobileDrawer/MobileDrawer.d.ts.map +1 -0
- package/components/unsorted/MobileDrawer/index.d.ts +2 -0
- package/components/unsorted/MobileDrawer/index.d.ts.map +1 -0
- package/components/unsorted/NumberSelectField/NumberSelectField.d.ts +12 -0
- package/components/unsorted/NumberSelectField/NumberSelectField.d.ts.map +1 -0
- package/components/unsorted/NumberSelectField/NumberSelectFieldButton.d.ts +3 -0
- package/components/unsorted/NumberSelectField/NumberSelectFieldButton.d.ts.map +1 -0
- package/components/unsorted/NumberSelectField/NumberSelectFieldList.d.ts +8 -0
- package/components/unsorted/NumberSelectField/NumberSelectFieldList.d.ts.map +1 -0
- package/components/unsorted/NumberSelectField/index.d.ts +2 -0
- package/components/unsorted/NumberSelectField/index.d.ts.map +1 -0
- package/components/unsorted/Tooltip/Tooltip.d.ts +21 -0
- package/components/unsorted/Tooltip/Tooltip.d.ts.map +1 -0
- package/components/unsorted/Tooltip/TooltipHOC.d.ts +12 -0
- package/components/unsorted/Tooltip/TooltipHOC.d.ts.map +1 -0
- package/components/unsorted/Tooltip/TooltipSection.d.ts +7 -0
- package/components/unsorted/Tooltip/TooltipSection.d.ts.map +1 -0
- package/components/unsorted/Tooltip/TooltipUserRow.d.ts +9 -0
- package/components/unsorted/Tooltip/TooltipUserRow.d.ts.map +1 -0
- package/components/unsorted/Tooltip/index.d.ts +6 -0
- package/components/unsorted/Tooltip/index.d.ts.map +1 -0
- package/components/unsorted/Tooltip/utils.d.ts +5 -0
- package/components/unsorted/Tooltip/utils.d.ts.map +1 -0
- package/components/website/AccentDropZone/AccentDropZone.d.ts +21 -0
- package/components/website/AccentDropZone/AccentDropZone.d.ts.map +1 -0
- package/components/website/AccentDropZone/index.d.ts +2 -0
- package/components/website/AccentDropZone/index.d.ts.map +1 -0
- package/components/website/ApiHeroBlock/ApiHeroBlock.d.ts +11 -0
- package/components/website/ApiHeroBlock/ApiHeroBlock.d.ts.map +1 -0
- package/components/website/ApiHeroBlock/index.d.ts +2 -0
- package/components/website/ApiHeroBlock/index.d.ts.map +1 -0
- package/components/website/ArticleHeroBlock/ArticleAuthor.d.ts +10 -0
- package/components/website/ArticleHeroBlock/ArticleAuthor.d.ts.map +1 -0
- package/components/website/ArticleHeroBlock/ArticleContent.d.ts +3 -0
- package/components/website/ArticleHeroBlock/ArticleContent.d.ts.map +1 -0
- package/components/website/ArticleHeroBlock/ArticleHeroBlock.d.ts +12 -0
- package/components/website/ArticleHeroBlock/ArticleHeroBlock.d.ts.map +1 -0
- package/components/website/ArticleHeroBlock/ArticleTitle.d.ts +7 -0
- package/components/website/ArticleHeroBlock/ArticleTitle.d.ts.map +1 -0
- package/components/website/ArticleHeroBlock/index.d.ts +3 -0
- package/components/website/ArticleHeroBlock/index.d.ts.map +1 -0
- package/components/website/AssetPreview/AssetPreview.d.ts +7 -0
- package/components/website/AssetPreview/AssetPreview.d.ts.map +1 -0
- package/components/website/AssetPreview/index.d.ts +2 -0
- package/components/website/AssetPreview/index.d.ts.map +1 -0
- package/components/website/AwardsBlock/AwardsAppleLogo.d.ts +2 -0
- package/components/website/AwardsBlock/AwardsAppleLogo.d.ts.map +1 -0
- package/components/website/AwardsBlock/AwardsBlock.d.ts +7 -0
- package/components/website/AwardsBlock/AwardsBlock.d.ts.map +1 -0
- package/components/website/AwardsBlock/AwardsGoogleLogo.d.ts +2 -0
- package/components/website/AwardsBlock/AwardsGoogleLogo.d.ts.map +1 -0
- package/components/website/AwardsBlock/AwardsItem.d.ts +5 -0
- package/components/website/AwardsBlock/AwardsItem.d.ts.map +1 -0
- package/components/website/AwardsBlock/AwardsPalm.d.ts +2 -0
- package/components/website/AwardsBlock/AwardsPalm.d.ts.map +1 -0
- package/components/website/AwardsBlock/index.d.ts +2 -0
- package/components/website/AwardsBlock/index.d.ts.map +1 -0
- package/components/website/BlogActionBlock/BlogActionBlock.d.ts +8 -0
- package/components/website/BlogActionBlock/BlogActionBlock.d.ts.map +1 -0
- package/components/website/BlogActionBlock/index.d.ts +2 -0
- package/components/website/BlogActionBlock/index.d.ts.map +1 -0
- package/components/website/BlogQuoteBlock/BlogQuoteBlock.d.ts +7 -0
- package/components/website/BlogQuoteBlock/BlogQuoteBlock.d.ts.map +1 -0
- package/components/website/BlogQuoteBlock/index.d.ts +2 -0
- package/components/website/BlogQuoteBlock/index.d.ts.map +1 -0
- package/components/website/BlogSubtleActionBlock/BlogSubtleActionBlock.d.ts +8 -0
- package/components/website/BlogSubtleActionBlock/BlogSubtleActionBlock.d.ts.map +1 -0
- package/components/website/BlogSubtleActionBlock/index.d.ts +2 -0
- package/components/website/BlogSubtleActionBlock/index.d.ts.map +1 -0
- package/components/website/CardsBlock/CardsBlock.d.ts +6 -0
- package/components/website/CardsBlock/CardsBlock.d.ts.map +1 -0
- package/components/website/CardsBlock/index.d.ts +2 -0
- package/components/website/CardsBlock/index.d.ts.map +1 -0
- package/components/website/CardsHeroBlock/CardsHeroBlock.d.ts +6 -0
- package/components/website/CardsHeroBlock/CardsHeroBlock.d.ts.map +1 -0
- package/components/website/CardsHeroBlock/index.d.ts +2 -0
- package/components/website/CardsHeroBlock/index.d.ts.map +1 -0
- package/components/website/CareersBlock/CareersBlock.d.ts +6 -0
- package/components/website/CareersBlock/CareersBlock.d.ts.map +1 -0
- package/components/website/CareersBlock/CareersBlockItem.d.ts +6 -0
- package/components/website/CareersBlock/CareersBlockItem.d.ts.map +1 -0
- package/components/website/CareersBlock/index.d.ts +3 -0
- package/components/website/CareersBlock/index.d.ts.map +1 -0
- package/components/website/CustomerStoriesBlock/CustomerStoriesBlock.d.ts +7 -0
- package/components/website/CustomerStoriesBlock/CustomerStoriesBlock.d.ts.map +1 -0
- package/components/website/CustomerStoriesBlock/index.d.ts +2 -0
- package/components/website/CustomerStoriesBlock/index.d.ts.map +1 -0
- package/components/website/DataBlock/DataBlock.d.ts +12 -0
- package/components/website/DataBlock/DataBlock.d.ts.map +1 -0
- package/components/website/DataBlock/index.d.ts +2 -0
- package/components/website/DataBlock/index.d.ts.map +1 -0
- package/components/website/EditorialLineupBlock/EditorialLineupBlock.d.ts +10 -0
- package/components/website/EditorialLineupBlock/EditorialLineupBlock.d.ts.map +1 -0
- package/components/website/EditorialLineupBlock/index.d.ts +2 -0
- package/components/website/EditorialLineupBlock/index.d.ts.map +1 -0
- package/components/website/ExtraTextBlock/ExtraTextBlock.d.ts +6 -0
- package/components/website/ExtraTextBlock/ExtraTextBlock.d.ts.map +1 -0
- package/components/website/ExtraTextBlock/index.d.ts +2 -0
- package/components/website/ExtraTextBlock/index.d.ts.map +1 -0
- package/components/website/FaqBlock/FaqBlock.d.ts +6 -0
- package/components/website/FaqBlock/FaqBlock.d.ts.map +1 -0
- package/components/website/FaqBlock/FaqItem.d.ts +6 -0
- package/components/website/FaqBlock/FaqItem.d.ts.map +1 -0
- package/components/website/FaqBlock/index.d.ts +3 -0
- package/components/website/FaqBlock/index.d.ts.map +1 -0
- package/components/website/FeaturesBlock/FeatureBlock.d.ts +12 -0
- package/components/website/FeaturesBlock/FeatureBlock.d.ts.map +1 -0
- package/components/website/FeaturesBlock/FeatureBlockListItem.d.ts +6 -0
- package/components/website/FeaturesBlock/FeatureBlockListItem.d.ts.map +1 -0
- package/components/website/FeaturesBlock/FeatureClassicVisual.d.ts +9 -0
- package/components/website/FeaturesBlock/FeatureClassicVisual.d.ts.map +1 -0
- package/components/website/FeaturesBlock/FeatureSwitcher.d.ts +9 -0
- package/components/website/FeaturesBlock/FeatureSwitcher.d.ts.map +1 -0
- package/components/website/FeaturesBlock/FeatureVideoElement.d.ts +5 -0
- package/components/website/FeaturesBlock/FeatureVideoElement.d.ts.map +1 -0
- package/components/website/FeaturesBlock/FeaturesBlock.d.ts +6 -0
- package/components/website/FeaturesBlock/FeaturesBlock.d.ts.map +1 -0
- package/components/website/FeaturesBlock/index.d.ts +7 -0
- package/components/website/FeaturesBlock/index.d.ts.map +1 -0
- package/components/website/FeaturesListBlock/FeaturesListBlock.d.ts +7 -0
- package/components/website/FeaturesListBlock/FeaturesListBlock.d.ts.map +1 -0
- package/components/website/FeaturesListBlock/FeaturesListBlockItem.d.ts +8 -0
- package/components/website/FeaturesListBlock/FeaturesListBlockItem.d.ts.map +1 -0
- package/components/website/FeaturesListBlock/index.d.ts +3 -0
- package/components/website/FeaturesListBlock/index.d.ts.map +1 -0
- package/components/website/FocusBlock/FocusBlock.d.ts +10 -0
- package/components/website/FocusBlock/FocusBlock.d.ts.map +1 -0
- package/components/website/FocusBlock/index.d.ts +2 -0
- package/components/website/FocusBlock/index.d.ts.map +1 -0
- package/components/website/FooterBlockV2/FooterV2Block.d.ts +34 -0
- package/components/website/FooterBlockV2/FooterV2Block.d.ts.map +1 -0
- package/components/website/FooterBlockV2/FooterV2LinkBlock.d.ts +9 -0
- package/components/website/FooterBlockV2/FooterV2LinkBlock.d.ts.map +1 -0
- package/components/website/FooterBlockV2/FooterV2LinksSectionBlock.d.ts +5 -0
- package/components/website/FooterBlockV2/FooterV2LinksSectionBlock.d.ts.map +1 -0
- package/components/website/FooterBlockV2/index.d.ts +2 -0
- package/components/website/FooterBlockV2/index.d.ts.map +1 -0
- package/components/website/HeaderBanner/HeaderBanner.d.ts +9 -0
- package/components/website/HeaderBanner/HeaderBanner.d.ts.map +1 -0
- package/components/website/HeaderBanner/index.d.ts +2 -0
- package/components/website/HeaderBanner/index.d.ts.map +1 -0
- package/components/website/HeroTitleBlock/HeroTitleBlock.d.ts +9 -0
- package/components/website/HeroTitleBlock/HeroTitleBlock.d.ts.map +1 -0
- package/components/website/HeroTitleBlock/index.d.ts +2 -0
- package/components/website/HeroTitleBlock/index.d.ts.map +1 -0
- package/components/website/InspirationWallBlock/InspirationWallBlock.d.ts +7 -0
- package/components/website/InspirationWallBlock/InspirationWallBlock.d.ts.map +1 -0
- package/components/website/InspirationWallBlock/index.d.ts +2 -0
- package/components/website/InspirationWallBlock/index.d.ts.map +1 -0
- package/components/website/LogosBlock/LogosBlock.d.ts +7 -0
- package/components/website/LogosBlock/LogosBlock.d.ts.map +1 -0
- package/components/website/LogosBlock/index.d.ts +2 -0
- package/components/website/LogosBlock/index.d.ts.map +1 -0
- package/components/website/LogosWallBlock/LogosWallBlock.d.ts +7 -0
- package/components/website/LogosWallBlock/LogosWallBlock.d.ts.map +1 -0
- package/components/website/LogosWallBlock/index.d.ts +2 -0
- package/components/website/LogosWallBlock/index.d.ts.map +1 -0
- package/components/website/OffersBlock/OffersBlock.d.ts +7 -0
- package/components/website/OffersBlock/OffersBlock.d.ts.map +1 -0
- package/components/website/OffersBlock/index.d.ts +2 -0
- package/components/website/OffersBlock/index.d.ts.map +1 -0
- package/components/website/PageTitle/PageTitle.d.ts +11 -0
- package/components/website/PageTitle/PageTitle.d.ts.map +1 -0
- package/components/website/PageTitle/index.d.ts +2 -0
- package/components/website/PageTitle/index.d.ts.map +1 -0
- package/components/website/PlaygroundBlock/PlaygroundBlock.d.ts +9 -0
- package/components/website/PlaygroundBlock/PlaygroundBlock.d.ts.map +1 -0
- package/components/website/PlaygroundBlock/index.d.ts +2 -0
- package/components/website/PlaygroundBlock/index.d.ts.map +1 -0
- package/components/website/PlaygroundHeroBlock/PlaygroundHeroBlock.d.ts +9 -0
- package/components/website/PlaygroundHeroBlock/PlaygroundHeroBlock.d.ts.map +1 -0
- package/components/website/PlaygroundHeroBlock/index.d.ts +2 -0
- package/components/website/PlaygroundHeroBlock/index.d.ts.map +1 -0
- package/components/website/PressBlock/PressBlock.d.ts +13 -0
- package/components/website/PressBlock/PressBlock.d.ts.map +1 -0
- package/components/website/PressBlock/PressBlockItem.d.ts +10 -0
- package/components/website/PressBlock/PressBlockItem.d.ts.map +1 -0
- package/components/website/PressBlock/index.d.ts +2 -0
- package/components/website/PressBlock/index.d.ts.map +1 -0
- package/components/website/PricingHeroBlock/ApiPricing/ApiPricingCardsContainer/ApiPricingCardsContainer.d.ts +13 -0
- package/components/website/PricingHeroBlock/ApiPricing/ApiPricingCardsContainer/ApiPricingCardsContainer.d.ts.map +1 -0
- package/components/website/PricingHeroBlock/ApiPricing/ApiPricingCardsContainer/ApiPricingCardsItem.d.ts +17 -0
- package/components/website/PricingHeroBlock/ApiPricing/ApiPricingCardsContainer/ApiPricingCardsItem.d.ts.map +1 -0
- package/components/website/PricingHeroBlock/ApiPricing/ApiPricingCardsContainer/ApiPricingImageCountPicker.d.ts +8 -0
- package/components/website/PricingHeroBlock/ApiPricing/ApiPricingCardsContainer/ApiPricingImageCountPicker.d.ts.map +1 -0
- package/components/website/PricingHeroBlock/ApiPricing/ApiPricingCardsContainer/ApiPricingMonthlyPricePerImage.d.ts +5 -0
- package/components/website/PricingHeroBlock/ApiPricing/ApiPricingCardsContainer/ApiPricingMonthlyPricePerImage.d.ts.map +1 -0
- package/components/website/PricingHeroBlock/ApiPricing/ApiPricingCardsContainer/ApiPricingPartnerCard.d.ts +7 -0
- package/components/website/PricingHeroBlock/ApiPricing/ApiPricingCardsContainer/ApiPricingPartnerCard.d.ts.map +1 -0
- package/components/website/PricingHeroBlock/ApiPricing/ApiPricingCardsContainer/PricingPullDownButton.d.ts +7 -0
- package/components/website/PricingHeroBlock/ApiPricing/ApiPricingCardsContainer/PricingPullDownButton.d.ts.map +1 -0
- package/components/website/PricingHeroBlock/ApiPricing/ApiPricingCardsContainer/index.d.ts +6 -0
- package/components/website/PricingHeroBlock/ApiPricing/ApiPricingCardsContainer/index.d.ts.map +1 -0
- package/components/website/PricingHeroBlock/ApiPricing/ApiPricingCardsContainer/useApiMonthlyPlanPrice.d.ts +11 -0
- package/components/website/PricingHeroBlock/ApiPricing/ApiPricingCardsContainer/useApiMonthlyPlanPrice.d.ts.map +1 -0
- package/components/website/PricingHeroBlock/ApiPricing/ApiPricingCardsContainer/utils.d.ts +4 -0
- package/components/website/PricingHeroBlock/ApiPricing/ApiPricingCardsContainer/utils.d.ts.map +1 -0
- package/components/website/PricingHeroBlock/ApiPricing/ApiPricingFeaturesLegend.d.ts +6 -0
- package/components/website/PricingHeroBlock/ApiPricing/ApiPricingFeaturesLegend.d.ts.map +1 -0
- package/components/website/PricingHeroBlock/ApiPricing/ApiPricingFeaturesSectionItemBadge.d.ts +6 -0
- package/components/website/PricingHeroBlock/ApiPricing/ApiPricingFeaturesSectionItemBadge.d.ts.map +1 -0
- package/components/website/PricingHeroBlock/ApiPricing/constants.d.ts +4 -0
- package/components/website/PricingHeroBlock/ApiPricing/constants.d.ts.map +1 -0
- package/components/website/PricingHeroBlock/ApiPricing/index.d.ts +5 -0
- package/components/website/PricingHeroBlock/ApiPricing/index.d.ts.map +1 -0
- package/components/website/PricingHeroBlock/ApiPricing/utils.d.ts +2 -0
- package/components/website/PricingHeroBlock/ApiPricing/utils.d.ts.map +1 -0
- package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingCardsContainer.d.ts +21 -0
- package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingCardsContainer.d.ts.map +1 -0
- package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingCardsItemV2.d.ts +30 -0
- package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingCardsItemV2.d.ts.map +1 -0
- package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingPrice.d.ts +14 -0
- package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingPrice.d.ts.map +1 -0
- package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingSubscriptionTypeSelector.d.ts +12 -0
- package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingSubscriptionTypeSelector.d.ts.map +1 -0
- package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/index.d.ts +4 -0
- package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/index.d.ts.map +1 -0
- package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/utils.d.ts +32 -0
- package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/utils.d.ts.map +1 -0
- package/components/website/PricingHeroBlock/AppPricing/AppPricingFeaturesLegend.d.ts +6 -0
- package/components/website/PricingHeroBlock/AppPricing/AppPricingFeaturesLegend.d.ts.map +1 -0
- package/components/website/PricingHeroBlock/AppPricing/AppPricingFeaturesSectionItemBadge.d.ts +7 -0
- package/components/website/PricingHeroBlock/AppPricing/AppPricingFeaturesSectionItemBadge.d.ts.map +1 -0
- package/components/website/PricingHeroBlock/AppPricing/index.d.ts +4 -0
- package/components/website/PricingHeroBlock/AppPricing/index.d.ts.map +1 -0
- package/components/website/PricingHeroBlock/PricingFeatures/PricingFeatures.d.ts +8 -0
- package/components/website/PricingHeroBlock/PricingFeatures/PricingFeatures.d.ts.map +1 -0
- package/components/website/PricingHeroBlock/PricingFeatures/PricingFeaturesCell.d.ts +5 -0
- package/components/website/PricingHeroBlock/PricingFeatures/PricingFeaturesCell.d.ts.map +1 -0
- package/components/website/PricingHeroBlock/PricingFeatures/PricingFeaturesLegend.d.ts +6 -0
- package/components/website/PricingHeroBlock/PricingFeatures/PricingFeaturesLegend.d.ts.map +1 -0
- package/components/website/PricingHeroBlock/PricingFeatures/PricingFeaturesSection.d.ts +6 -0
- package/components/website/PricingHeroBlock/PricingFeatures/PricingFeaturesSection.d.ts.map +1 -0
- package/components/website/PricingHeroBlock/PricingFeatures/PricingFeaturesSectionItem.d.ts +7 -0
- package/components/website/PricingHeroBlock/PricingFeatures/PricingFeaturesSectionItem.d.ts.map +1 -0
- package/components/website/PricingHeroBlock/PricingFeatures/PricingFeaturesSectionItemBadge.d.ts +7 -0
- package/components/website/PricingHeroBlock/PricingFeatures/PricingFeaturesSectionItemBadge.d.ts.map +1 -0
- package/components/website/PricingHeroBlock/PricingFeatures/index.d.ts +6 -0
- package/components/website/PricingHeroBlock/PricingFeatures/index.d.ts.map +1 -0
- package/components/website/PricingHeroBlock/PricingHeroBlock.d.ts +7 -0
- package/components/website/PricingHeroBlock/PricingHeroBlock.d.ts.map +1 -0
- package/components/website/PricingHeroBlock/index.d.ts +6 -0
- package/components/website/PricingHeroBlock/index.d.ts.map +1 -0
- package/components/website/PricingHeroBlock/usePriceCountryCurrencyDisplayName.d.ts +10 -0
- package/components/website/PricingHeroBlock/usePriceCountryCurrencyDisplayName.d.ts.map +1 -0
- package/components/website/PricingPicker/PricingPicker.d.ts +5 -0
- package/components/website/PricingPicker/PricingPicker.d.ts.map +1 -0
- package/components/website/PricingPicker/PricingPickerButton.d.ts +20 -0
- package/components/website/PricingPicker/PricingPickerButton.d.ts.map +1 -0
- package/components/website/PricingPicker/index.d.ts +3 -0
- package/components/website/PricingPicker/index.d.ts.map +1 -0
- package/components/website/PromoBannerBlock/PromoBadge.d.ts +5 -0
- package/components/website/PromoBannerBlock/PromoBadge.d.ts.map +1 -0
- package/components/website/PromoBannerBlock/PromoBannerBlock.d.ts +7 -0
- package/components/website/PromoBannerBlock/PromoBannerBlock.d.ts.map +1 -0
- package/components/website/PromoBannerBlock/index.d.ts +2 -0
- package/components/website/PromoBannerBlock/index.d.ts.map +1 -0
- package/components/website/QuickToolHeroBlock/QuickToolHeroBlock.d.ts +8 -0
- package/components/website/QuickToolHeroBlock/QuickToolHeroBlock.d.ts.map +1 -0
- package/components/website/QuickToolHeroBlock/index.d.ts +2 -0
- package/components/website/QuickToolHeroBlock/index.d.ts.map +1 -0
- package/components/website/QuoteBlock/QuoteBlock.d.ts +8 -0
- package/components/website/QuoteBlock/QuoteBlock.d.ts.map +1 -0
- package/components/website/QuoteBlock/index.d.ts +2 -0
- package/components/website/QuoteBlock/index.d.ts.map +1 -0
- package/components/website/ReviewsBlock/Review.d.ts +9 -0
- package/components/website/ReviewsBlock/Review.d.ts.map +1 -0
- package/components/website/ReviewsBlock/ReviewsBlock.d.ts +12 -0
- package/components/website/ReviewsBlock/ReviewsBlock.d.ts.map +1 -0
- package/components/website/ReviewsBlock/index.d.ts +3 -0
- package/components/website/ReviewsBlock/index.d.ts.map +1 -0
- package/components/website/SectionTitle/SectionTitle.d.ts +7 -0
- package/components/website/SectionTitle/SectionTitle.d.ts.map +1 -0
- package/components/website/SectionTitle/index.d.ts +2 -0
- package/components/website/SectionTitle/index.d.ts.map +1 -0
- package/components/website/SidePageTitle/SidePageTitle.d.ts +10 -0
- package/components/website/SidePageTitle/SidePageTitle.d.ts.map +1 -0
- package/components/website/SidePageTitle/index.d.ts +2 -0
- package/components/website/SidePageTitle/index.d.ts.map +1 -0
- package/components/website/SmallSectionTitle/SmallSectionTitle.d.ts +5 -0
- package/components/website/SmallSectionTitle/SmallSectionTitle.d.ts.map +1 -0
- package/components/website/SmallSectionTitle/index.d.ts +2 -0
- package/components/website/SmallSectionTitle/index.d.ts.map +1 -0
- package/components/website/StepsBlock/StepsBlock.d.ts +6 -0
- package/components/website/StepsBlock/StepsBlock.d.ts.map +1 -0
- package/components/website/StepsBlock/index.d.ts +2 -0
- package/components/website/StepsBlock/index.d.ts.map +1 -0
- package/components/website/TagCloudBlock/TagCloudBlock.d.ts +7 -0
- package/components/website/TagCloudBlock/TagCloudBlock.d.ts.map +1 -0
- package/components/website/TagCloudBlock/index.d.ts +2 -0
- package/components/website/TagCloudBlock/index.d.ts.map +1 -0
- package/components/website/TakeActionBlock/TakeActionBlock.d.ts +11 -0
- package/components/website/TakeActionBlock/TakeActionBlock.d.ts.map +1 -0
- package/components/website/TakeActionBlock/index.d.ts +2 -0
- package/components/website/TakeActionBlock/index.d.ts.map +1 -0
- package/components/website/TakeActionBlockV2/TakeActionBlockV2.d.ts +11 -0
- package/components/website/TakeActionBlockV2/TakeActionBlockV2.d.ts.map +1 -0
- package/components/website/TakeActionBlockV2/index.d.ts +2 -0
- package/components/website/TakeActionBlockV2/index.d.ts.map +1 -0
- package/components/website/TestimonialsBlock/TestimonialsBlock.d.ts +12 -0
- package/components/website/TestimonialsBlock/TestimonialsBlock.d.ts.map +1 -0
- package/components/website/TestimonialsBlock/index.d.ts +2 -0
- package/components/website/TestimonialsBlock/index.d.ts.map +1 -0
- package/components/website/TextContentBlock/TextContentBlock.d.ts +7 -0
- package/components/website/TextContentBlock/TextContentBlock.d.ts.map +1 -0
- package/components/website/TextContentBlock/TextContentCard.d.ts +7 -0
- package/components/website/TextContentBlock/TextContentCard.d.ts.map +1 -0
- package/components/website/TextContentBlock/index.d.ts +3 -0
- package/components/website/TextContentBlock/index.d.ts.map +1 -0
- package/components/website/TextContentBlock/scopedLinkStyle.d.ts +2 -0
- package/components/website/TextContentBlock/scopedLinkStyle.d.ts.map +1 -0
- package/components/website/ToolCard/ToolCard.d.ts +11 -0
- package/components/website/ToolCard/ToolCard.d.ts.map +1 -0
- package/components/website/ToolCard/index.d.ts +2 -0
- package/components/website/ToolCard/index.d.ts.map +1 -0
- package/components/website/ToolCategoryBannerBlock/ToolCategoryBannerBlock.d.ts +9 -0
- package/components/website/ToolCategoryBannerBlock/ToolCategoryBannerBlock.d.ts.map +1 -0
- package/components/website/ToolCategoryBannerBlock/index.d.ts +2 -0
- package/components/website/ToolCategoryBannerBlock/index.d.ts.map +1 -0
- package/components/website/ToolSmallCard/ToolSmallCard.d.ts +9 -0
- package/components/website/ToolSmallCard/ToolSmallCard.d.ts.map +1 -0
- package/components/website/ToolSmallCard/index.d.ts +2 -0
- package/components/website/ToolSmallCard/index.d.ts.map +1 -0
- package/components/website/UseCasesBlock/UseCaseItemContentTransform.d.ts +6 -0
- package/components/website/UseCasesBlock/UseCaseItemContentTransform.d.ts.map +1 -0
- package/components/website/UseCasesBlock/UseCaseItemContentTransformItem.d.ts +6 -0
- package/components/website/UseCasesBlock/UseCaseItemContentTransformItem.d.ts.map +1 -0
- package/components/website/UseCasesBlock/UseCasesBlock.d.ts +11 -0
- package/components/website/UseCasesBlock/UseCasesBlock.d.ts.map +1 -0
- package/components/website/UseCasesBlock/index.d.ts +4 -0
- package/components/website/UseCasesBlock/index.d.ts.map +1 -0
- package/components/website/YoutubeEmbed/YoutubeEmbed.d.ts +6 -0
- package/components/website/YoutubeEmbed/YoutubeEmbed.d.ts.map +1 -0
- package/components/website/YoutubeEmbed/index.d.ts +2 -0
- package/components/website/YoutubeEmbed/index.d.ts.map +1 -0
- package/hooks/index.d.ts +9 -0
- package/hooks/index.d.ts.map +1 -0
- package/hooks/useCarousel.d.ts +14 -0
- package/hooks/useCarousel.d.ts.map +1 -0
- package/hooks/useCheckGroup.d.ts +18 -0
- package/hooks/useCheckGroup.d.ts.map +1 -0
- package/hooks/useControlledState.d.ts +7 -0
- package/hooks/useControlledState.d.ts.map +1 -0
- package/hooks/useFocusKeyNav.d.ts +2 -0
- package/hooks/useFocusKeyNav.d.ts.map +1 -0
- package/hooks/useFuse.d.ts +12 -0
- package/hooks/useFuse.d.ts.map +1 -0
- package/hooks/useLazyLoadVideo.d.ts +2 -0
- package/hooks/useLazyLoadVideo.d.ts.map +1 -0
- package/hooks/usePasteFilesHandler.d.ts +4 -0
- package/hooks/usePasteFilesHandler.d.ts.map +1 -0
- package/hooks/useWindowDragEvents.d.ts +16 -0
- package/hooks/useWindowDragEvents.d.ts.map +1 -0
- package/index.d.ts +4 -0
- package/index.d.ts.map +1 -0
- package/index.lib.d.ts +234 -0
- package/index.lib.d.ts.map +1 -0
- package/index.mjs +611 -0
- package/index10.mjs +95 -0
- package/index100.mjs +69 -0
- package/index101.mjs +31 -0
- package/index102.mjs +78 -0
- package/index103.mjs +22 -0
- package/index104.mjs +98 -0
- package/index105.mjs +115 -0
- package/index106.mjs +26 -0
- package/index107.mjs +19 -0
- package/index108.mjs +39 -0
- package/index109.mjs +18 -0
- package/index11.mjs +24 -0
- package/index110.mjs +74 -0
- package/index111.mjs +192 -0
- package/index112.mjs +62 -0
- package/index113.mjs +29 -0
- package/index114.mjs +20 -0
- package/index115.mjs +61 -0
- package/index116.mjs +38 -0
- package/index117.mjs +138 -0
- package/index118.mjs +12 -0
- package/index119.mjs +99 -0
- package/index12.mjs +30 -0
- package/index120.mjs +50 -0
- package/index121.mjs +17 -0
- package/index122.mjs +60 -0
- package/index123.mjs +38 -0
- package/index124.mjs +35 -0
- package/index125.mjs +145 -0
- package/index126.mjs +11 -0
- package/index127.mjs +95 -0
- package/index128.mjs +26 -0
- package/index129.mjs +41 -0
- package/index13.mjs +74 -0
- package/index130.mjs +60 -0
- package/index131.mjs +98 -0
- package/index132.mjs +27 -0
- package/index133.mjs +74 -0
- package/index134.mjs +60 -0
- package/index135.mjs +36 -0
- package/index136.mjs +76 -0
- package/index137.mjs +31 -0
- package/index138.mjs +29 -0
- package/index139.mjs +19 -0
- package/index14.mjs +26 -0
- package/index140.mjs +94 -0
- package/index141.mjs +136 -0
- package/index142.mjs +27 -0
- package/index143.mjs +31 -0
- package/index144.mjs +42 -0
- package/index145.mjs +61 -0
- package/index146.mjs +7 -0
- package/index147.mjs +25 -0
- package/index148.mjs +126 -0
- package/index149.mjs +55 -0
- package/index15.mjs +24 -0
- package/index150.mjs +38 -0
- package/index151.mjs +160 -0
- package/index152.mjs +19 -0
- package/index153.mjs +56 -0
- package/index154.mjs +30 -0
- package/index155.mjs +35 -0
- package/index156.mjs +46 -0
- package/index157.mjs +69 -0
- package/index158.mjs +80 -0
- package/index159.mjs +22 -0
- package/index16.mjs +87 -0
- package/index160.mjs +106 -0
- package/index161.mjs +15 -0
- package/index162.mjs +51 -0
- package/index163.mjs +35 -0
- package/index164.mjs +31 -0
- package/index165.mjs +23 -0
- package/index166.mjs +75 -0
- package/index167.mjs +12 -0
- package/index168.mjs +26 -0
- package/index169.mjs +21 -0
- package/index17.mjs +27 -0
- package/index170.mjs +22 -0
- package/index171.mjs +26 -0
- package/index172.mjs +9 -0
- package/index173.mjs +7 -0
- package/index174.mjs +24 -0
- package/index175.mjs +94 -0
- package/index176.mjs +90 -0
- package/index177.mjs +21 -0
- package/index178.mjs +67 -0
- package/index179.mjs +30 -0
- package/index18.mjs +106 -0
- package/index180.mjs +65 -0
- package/index181.mjs +36 -0
- package/index182.mjs +39 -0
- package/index183.mjs +19 -0
- package/index184.mjs +17 -0
- package/index185.mjs +86 -0
- package/index186.mjs +32 -0
- package/index187.mjs +29 -0
- package/index188.mjs +26 -0
- package/index189.mjs +10 -0
- package/index19.mjs +35 -0
- package/index190.mjs +32 -0
- package/index191.mjs +29 -0
- package/index192.mjs +12 -0
- package/index193.mjs +24 -0
- package/index194.mjs +152 -0
- package/index195.mjs +16 -0
- package/index196.mjs +27 -0
- package/index197.mjs +19 -0
- package/index198.mjs +34 -0
- package/index199.mjs +256 -0
- package/index20.mjs +55 -0
- package/index200.mjs +93 -0
- package/index201.mjs +24 -0
- package/index202.mjs +10 -0
- package/index203.mjs +31 -0
- package/index204.mjs +14 -0
- package/index205.mjs +102 -0
- package/index206.mjs +33 -0
- package/index207.mjs +37 -0
- package/index208.mjs +88 -0
- package/index209.mjs +46 -0
- package/index21.mjs +93 -0
- package/index210.mjs +19 -0
- package/index211.mjs +32 -0
- package/index212.mjs +40 -0
- package/index213.mjs +31 -0
- package/index214.mjs +28 -0
- package/index215.mjs +33 -0
- package/index216.mjs +17 -0
- package/index217.mjs +19 -0
- package/index218.mjs +13 -0
- package/index219.mjs +54 -0
- package/index22.mjs +27 -0
- package/index220.mjs +92 -0
- package/index221.mjs +19 -0
- package/index222.mjs +17 -0
- package/index223.mjs +50 -0
- package/index224.mjs +9 -0
- package/index225.mjs +61 -0
- package/index226.mjs +27 -0
- package/index227.mjs +32 -0
- package/index228.mjs +23 -0
- package/index229.mjs +12 -0
- package/index23.mjs +9 -0
- package/index230.mjs +15 -0
- package/index231.mjs +19 -0
- package/index232.mjs +44 -0
- package/index233.mjs +56 -0
- package/index234.mjs +61 -0
- package/index235.mjs +36 -0
- package/index236.mjs +47 -0
- package/index237.mjs +51 -0
- package/index238.mjs +21 -0
- package/index239.mjs +9 -0
- package/index24.mjs +109 -0
- package/index240.mjs +57 -0
- package/index241.mjs +50 -0
- package/index242.mjs +51 -0
- package/index243.mjs +24 -0
- package/index244.mjs +11 -0
- package/index245.mjs +45 -0
- package/index246.mjs +110 -0
- package/index247.mjs +11 -0
- package/index248.mjs +26 -0
- package/index249.mjs +25 -0
- package/index25.mjs +32 -0
- package/index250.mjs +10 -0
- package/index251.mjs +10 -0
- package/index252.mjs +7 -0
- package/index253.mjs +74 -0
- package/index254.mjs +232 -0
- package/index255.mjs +90 -0
- package/index256.mjs +10 -0
- package/index257.mjs +18 -0
- package/index258.mjs +22 -0
- package/index259.mjs +10 -0
- package/index26.mjs +35 -0
- package/index260.mjs +9 -0
- package/index261.mjs +30 -0
- package/index262.mjs +31 -0
- package/index263.mjs +20 -0
- package/index264.mjs +6 -0
- package/index265.mjs +46 -0
- package/index266.mjs +31 -0
- package/index267.mjs +55 -0
- package/index268.mjs +36 -0
- package/index269.mjs +40 -0
- package/index27.mjs +50 -0
- package/index270.mjs +40 -0
- package/index271.mjs +37 -0
- package/index272.mjs +38 -0
- package/index273.mjs +6 -0
- package/index274.mjs +17 -0
- package/index275.mjs +10 -0
- package/index276.mjs +39 -0
- package/index277.mjs +97 -0
- package/index278.mjs +100 -0
- package/index279.mjs +15 -0
- package/index28.mjs +50 -0
- package/index280.mjs +21 -0
- package/index281.mjs +42 -0
- package/index282.mjs +47 -0
- package/index283.mjs +29 -0
- package/index284.mjs +44 -0
- package/index285.mjs +54 -0
- package/index286.mjs +21 -0
- package/index287.mjs +28 -0
- package/index288.mjs +55 -0
- package/index289.mjs +58 -0
- package/index29.mjs +30 -0
- package/index290.mjs +19 -0
- package/index291.mjs +18 -0
- package/index292.mjs +17 -0
- package/index293.mjs +20 -0
- package/index294.mjs +16 -0
- package/index295.mjs +32 -0
- package/index296.mjs +18 -0
- package/index297.mjs +7 -0
- package/index298.mjs +136 -0
- package/index299.mjs +55 -0
- package/index3.mjs +32 -0
- package/index30.mjs +83 -0
- package/index300.mjs +1023 -0
- package/index301.mjs +34 -0
- package/index302.mjs +36 -0
- package/index303.mjs +5 -0
- package/index304.mjs +243 -0
- package/index305.mjs +6 -0
- package/index306.mjs +76 -0
- package/index307.mjs +17 -0
- package/index308.mjs +235 -0
- package/index309.mjs +28 -0
- package/index31.mjs +35 -0
- package/index310.mjs +44 -0
- package/index311.mjs +10 -0
- package/index312.mjs +12 -0
- package/index313.mjs +133 -0
- package/index314.mjs +145 -0
- package/index315.mjs +239 -0
- package/index316.mjs +44 -0
- package/index317.mjs +47 -0
- package/index318.mjs +38 -0
- package/index319.mjs +714 -0
- package/index32.mjs +46 -0
- package/index320.mjs +37 -0
- package/index321.mjs +9 -0
- package/index322.mjs +21 -0
- package/index323.mjs +18 -0
- package/index324.mjs +47 -0
- package/index325.mjs +122 -0
- package/index326.mjs +226 -0
- package/index327.mjs +44 -0
- package/index328.mjs +10 -0
- package/index329.mjs +9 -0
- package/index33.mjs +37 -0
- package/index330.mjs +11 -0
- package/index331.mjs +12 -0
- package/index332.mjs +12 -0
- package/index333.mjs +262 -0
- package/index334.mjs +7 -0
- package/index335.mjs +14 -0
- package/index336.mjs +28 -0
- package/index337.mjs +11 -0
- package/index338.mjs +46 -0
- package/index339.mjs +37 -0
- package/index34.mjs +104 -0
- package/index340.mjs +100 -0
- package/index341.mjs +31 -0
- package/index342.mjs +104 -0
- package/index343.mjs +138 -0
- package/index344.mjs +61 -0
- package/index345.mjs +8 -0
- package/index346.mjs +21 -0
- package/index347.mjs +10 -0
- package/index348.mjs +42 -0
- package/index349.mjs +24 -0
- package/index35.mjs +51 -0
- package/index350.mjs +252 -0
- package/index351.mjs +78 -0
- package/index352.mjs +20 -0
- package/index353.mjs +17 -0
- package/index354.mjs +33 -0
- package/index355.mjs +76 -0
- package/index356.mjs +50 -0
- package/index357.mjs +23 -0
- package/index358.mjs +44 -0
- package/index359.mjs +48 -0
- package/index36.mjs +26 -0
- package/index360.mjs +265 -0
- package/index361.mjs +33 -0
- package/index362.mjs +63 -0
- package/index363.mjs +64 -0
- package/index364.mjs +340 -0
- package/index365.mjs +85 -0
- package/index366.mjs +36 -0
- package/index367.mjs +39 -0
- package/index368.mjs +52 -0
- package/index369.mjs +123 -0
- package/index37.mjs +41 -0
- package/index370.mjs +41 -0
- package/index371.mjs +25 -0
- package/index372.mjs +63 -0
- package/index373.mjs +26 -0
- package/index374.mjs +90 -0
- package/index375.mjs +39 -0
- package/index376.mjs +40 -0
- package/index377.mjs +40 -0
- package/index378.mjs +27 -0
- package/index379.mjs +60 -0
- package/index38.mjs +48 -0
- package/index380.mjs +436 -0
- package/index381.mjs +48 -0
- package/index382.mjs +1005 -0
- package/index383.mjs +31 -0
- package/index384.mjs +32 -0
- package/index385.mjs +8 -0
- package/index386.mjs +240 -0
- package/index387.mjs +27 -0
- package/index388.mjs +46 -0
- package/index389.mjs +8 -0
- package/index39.mjs +74 -0
- package/index390.mjs +18 -0
- package/index391.mjs +50 -0
- package/index392.mjs +26 -0
- package/index393.mjs +37 -0
- package/index394.mjs +64 -0
- package/index395.mjs +28 -0
- package/index396.mjs +13 -0
- package/index397.mjs +18 -0
- package/index398.mjs +44 -0
- package/index399.mjs +47 -0
- package/index4.mjs +41 -0
- package/index40.mjs +18 -0
- package/index400.mjs +108 -0
- package/index401.mjs +28 -0
- package/index402.mjs +34 -0
- package/index403.mjs +26 -0
- package/index404.mjs +39 -0
- package/index405.mjs +26 -0
- package/index406.mjs +16 -0
- package/index407.mjs +31 -0
- package/index408.mjs +67 -0
- package/index409.mjs +195 -0
- package/index41.mjs +31 -0
- package/index410.mjs +6 -0
- package/index411.mjs +5 -0
- package/index412.mjs +34 -0
- package/index413.mjs +16 -0
- package/index414.mjs +28 -0
- package/index415.mjs +14 -0
- package/index416.mjs +42 -0
- package/index417.mjs +2003 -0
- package/index418.mjs +10 -0
- package/index419.mjs +75 -0
- package/index42.mjs +48 -0
- package/index420.mjs +134 -0
- package/index421.mjs +10 -0
- package/index422.mjs +30 -0
- package/index423.mjs +71 -0
- package/index424.mjs +128 -0
- package/index425.mjs +18 -0
- package/index426.mjs +138 -0
- package/index427.mjs +14 -0
- package/index428.mjs +222 -0
- package/index429.mjs +17 -0
- package/index43.mjs +98 -0
- package/index430.mjs +72 -0
- package/index431.mjs +37 -0
- package/index432.mjs +57 -0
- package/index433.mjs +55 -0
- package/index434.mjs +53 -0
- package/index435.mjs +12 -0
- package/index436.mjs +653 -0
- package/index437.mjs +14 -0
- package/index438.mjs +49 -0
- package/index439.mjs +184 -0
- package/index44.mjs +31 -0
- package/index440.mjs +11 -0
- package/index441.mjs +28 -0
- package/index442.mjs +9 -0
- package/index443.mjs +7520 -0
- package/index444.mjs +32 -0
- package/index445.mjs +42 -0
- package/index446.mjs +9 -0
- package/index447.mjs +5 -0
- package/index448.mjs +182 -0
- package/index449.mjs +32 -0
- package/index45.mjs +33 -0
- package/index450.mjs +856 -0
- package/index451.mjs +36 -0
- package/index452.mjs +5 -0
- package/index453.mjs +87 -0
- package/index454.mjs +135 -0
- package/index455.mjs +163 -0
- package/index456.mjs +32 -0
- package/index457.mjs +80 -0
- package/index458.mjs +86 -0
- package/index459.mjs +58 -0
- package/index46.mjs +135 -0
- package/index460.mjs +7 -0
- package/index461.mjs +33 -0
- package/index462.mjs +16 -0
- package/index463.mjs +109 -0
- package/index464.mjs +101 -0
- package/index465.mjs +29 -0
- package/index466.mjs +42 -0
- package/index467.mjs +8 -0
- package/index468.mjs +8 -0
- package/index469.mjs +23 -0
- package/index47.mjs +25 -0
- package/index470.mjs +7 -0
- package/index471.mjs +10 -0
- package/index472.mjs +11 -0
- package/index473.mjs +6 -0
- package/index474.mjs +9 -0
- package/index475.mjs +8 -0
- package/index476.mjs +21 -0
- package/index477.mjs +17 -0
- package/index478.mjs +22 -0
- package/index479.mjs +14 -0
- package/index48.mjs +48 -0
- package/index480.mjs +18 -0
- package/index481.mjs +8 -0
- package/index482.mjs +12 -0
- package/index483.mjs +13 -0
- package/index484.mjs +12 -0
- package/index485.mjs +41 -0
- package/index486.mjs +6 -0
- package/index487.mjs +7 -0
- package/index488.mjs +8 -0
- package/index489.mjs +13 -0
- package/index49.mjs +111 -0
- package/index490.mjs +10 -0
- package/index491.mjs +7 -0
- package/index492.mjs +5 -0
- package/index493.mjs +21 -0
- package/index494.mjs +17 -0
- package/index495.mjs +56 -0
- package/index496.mjs +33 -0
- package/index497.mjs +40 -0
- package/index498.mjs +13 -0
- package/index499.mjs +6 -0
- package/index5.mjs +41 -0
- package/index50.mjs +206 -0
- package/index500.mjs +51 -0
- package/index501.mjs +10 -0
- package/index502.mjs +6 -0
- package/index503.mjs +32 -0
- package/index504.mjs +19 -0
- package/index505.mjs +14 -0
- package/index506.mjs +12 -0
- package/index507.mjs +5 -0
- package/index508.mjs +6 -0
- package/index509.mjs +6 -0
- package/index51.mjs +69 -0
- package/index510.mjs +5 -0
- package/index511.mjs +262 -0
- package/index512.mjs +19 -0
- package/index513.mjs +7 -0
- package/index514.mjs +14 -0
- package/index515.mjs +6 -0
- package/index516.mjs +30 -0
- package/index517.mjs +203 -0
- package/index518.mjs +8 -0
- package/index519.mjs +24 -0
- package/index52.mjs +98 -0
- package/index520.mjs +14 -0
- package/index521.mjs +7 -0
- package/index522.mjs +29 -0
- package/index523.mjs +7 -0
- package/index524.mjs +8 -0
- package/index525.mjs +28 -0
- package/index526.mjs +14 -0
- package/index527.mjs +5 -0
- package/index528.mjs +10 -0
- package/index529.mjs +9 -0
- package/index53.mjs +15 -0
- package/index530.mjs +22 -0
- package/index531.mjs +119 -0
- package/index532.mjs +31 -0
- package/index533.mjs +68 -0
- package/index534.mjs +37 -0
- package/index535.mjs +17 -0
- package/index536.mjs +44 -0
- package/index537.mjs +5 -0
- package/index538.mjs +6 -0
- package/index539.mjs +14 -0
- package/index54.mjs +56 -0
- package/index540.mjs +13 -0
- package/index541.mjs +12 -0
- package/index542.mjs +20 -0
- package/index543.mjs +13 -0
- package/index544.mjs +17 -0
- package/index545.mjs +68 -0
- package/index546.mjs +7 -0
- package/index547.mjs +5 -0
- package/index548.mjs +18 -0
- package/index549.mjs +19 -0
- package/index55.mjs +28 -0
- package/index550.mjs +7 -0
- package/index551.mjs +7 -0
- package/index552.mjs +5 -0
- package/index553.mjs +10 -0
- package/index554.mjs +56 -0
- package/index555.mjs +20 -0
- package/index556.mjs +12 -0
- package/index557.mjs +5 -0
- package/index558.mjs +7 -0
- package/index559.mjs +5 -0
- package/index56.mjs +27 -0
- package/index560.mjs +5 -0
- package/index561.mjs +8 -0
- package/index562.mjs +6 -0
- package/index563.mjs +10 -0
- package/index564.mjs +19 -0
- package/index565.mjs +5 -0
- package/index566.mjs +5 -0
- package/index567.mjs +9 -0
- package/index568.mjs +8 -0
- package/index569.mjs +12 -0
- package/index57.mjs +35 -0
- package/index570.mjs +10 -0
- package/index571.mjs +25 -0
- package/index572.mjs +36 -0
- package/index573.mjs +31 -0
- package/index574.mjs +33 -0
- package/index575.mjs +26 -0
- package/index576.mjs +53 -0
- package/index577.mjs +5 -0
- package/index578.mjs +5 -0
- package/index579.mjs +11 -0
- package/index58.mjs +36 -0
- package/index580.mjs +9 -0
- package/index581.mjs +36 -0
- package/index582.mjs +21 -0
- package/index583.mjs +50 -0
- package/index584.mjs +7 -0
- package/index585.mjs +9 -0
- package/index586.mjs +34 -0
- package/index587.mjs +9 -0
- package/index588.mjs +7 -0
- package/index589.mjs +15 -0
- package/index59.mjs +41 -0
- package/index590.mjs +5 -0
- package/index591.mjs +15 -0
- package/index592.mjs +209 -0
- package/index593.mjs +25 -0
- package/index594.mjs +403 -0
- package/index595.mjs +5 -0
- package/index596.mjs +49 -0
- package/index597.mjs +5 -0
- package/index598.mjs +121 -0
- package/index599.mjs +9 -0
- package/index6.mjs +13 -0
- package/index60.mjs +8 -0
- package/index600.mjs +60 -0
- package/index601.mjs +9 -0
- package/index602.mjs +7 -0
- package/index603.mjs +55 -0
- package/index604.mjs +16 -0
- package/index605.mjs +31 -0
- package/index606.mjs +46 -0
- package/index607.mjs +33 -0
- package/index608.mjs +25 -0
- package/index609.mjs +7 -0
- package/index61.mjs +73 -0
- package/index610.mjs +94 -0
- package/index611.mjs +13 -0
- package/index612.mjs +13 -0
- package/index613.mjs +12 -0
- package/index614.mjs +17 -0
- package/index615.mjs +7 -0
- package/index616.mjs +49 -0
- package/index617.mjs +235 -0
- package/index618.mjs +45 -0
- package/index619.mjs +409 -0
- package/index62.mjs +67 -0
- package/index620.mjs +202 -0
- package/index621.mjs +132 -0
- package/index622.mjs +51 -0
- package/index623.mjs +169 -0
- package/index624.mjs +264 -0
- package/index625.mjs +361 -0
- package/index626.mjs +44 -0
- package/index627.mjs +95 -0
- package/index628.mjs +112 -0
- package/index629.mjs +6 -0
- package/index63.mjs +42 -0
- package/index630.mjs +16 -0
- package/index631.mjs +8 -0
- package/index632.mjs +5 -0
- package/index633.mjs +2339 -0
- package/index634.mjs +10 -0
- package/index635.mjs +28 -0
- package/index636.mjs +25 -0
- package/index637.mjs +23 -0
- package/index638.mjs +33 -0
- package/index639.mjs +13 -0
- package/index64.mjs +81 -0
- package/index640.mjs +27 -0
- package/index641.mjs +29 -0
- package/index642.mjs +75 -0
- package/index643.mjs +45 -0
- package/index644.mjs +19 -0
- package/index645.mjs +44 -0
- package/index646.mjs +73 -0
- package/index647.mjs +26 -0
- package/index648.mjs +50 -0
- package/index649.mjs +44 -0
- package/index65.mjs +67 -0
- package/index650.mjs +50 -0
- package/index651.mjs +5 -0
- package/index652.mjs +57 -0
- package/index653.mjs +11 -0
- package/index654.mjs +16 -0
- package/index655.mjs +7 -0
- package/index656.mjs +586 -0
- package/index657.mjs +14 -0
- package/index658.mjs +17 -0
- package/index659.mjs +18 -0
- package/index66.mjs +129 -0
- package/index660.mjs +26 -0
- package/index661.mjs +5 -0
- package/index662.mjs +32 -0
- package/index663.mjs +9 -0
- package/index664.mjs +7 -0
- package/index665.mjs +11 -0
- package/index666.mjs +54 -0
- package/index667.mjs +23 -0
- package/index668.mjs +119 -0
- package/index669.mjs +11 -0
- package/index67.mjs +22 -0
- package/index670.mjs +25 -0
- package/index671.mjs +25 -0
- package/index672.mjs +10 -0
- package/index673.mjs +5 -0
- package/index674.mjs +32 -0
- package/index675.mjs +8 -0
- package/index676.mjs +76 -0
- package/index677.mjs +76 -0
- package/index678.mjs +77 -0
- package/index679.mjs +77 -0
- package/index68.mjs +55 -0
- package/index680.mjs +49 -0
- package/index681.mjs +49 -0
- package/index682.mjs +49 -0
- package/index683.mjs +49 -0
- package/index684.mjs +49 -0
- package/index685.mjs +49 -0
- package/index686.mjs +50 -0
- package/index687.mjs +49 -0
- package/index688.mjs +28 -0
- package/index689.mjs +78 -0
- package/index69.mjs +72 -0
- package/index690.mjs +68 -0
- package/index691.mjs +78 -0
- package/index692.mjs +77 -0
- package/index693.mjs +50 -0
- package/index694.mjs +50 -0
- package/index695.mjs +50 -0
- package/index696.mjs +50 -0
- package/index697.mjs +50 -0
- package/index698.mjs +50 -0
- package/index699.mjs +50 -0
- package/index7.mjs +24 -0
- package/index70.mjs +69 -0
- package/index700.mjs +50 -0
- package/index701.mjs +706 -0
- package/index702.mjs +891 -0
- package/index703.mjs +891 -0
- package/index704.mjs +891 -0
- package/index705.mjs +891 -0
- package/index706.mjs +891 -0
- package/index707.mjs +181 -0
- package/index708.mjs +1056 -0
- package/index709.mjs +5 -0
- package/index71.mjs +45 -0
- package/index710.mjs +56 -0
- package/index711.mjs +68 -0
- package/index712.mjs +5 -0
- package/index713.mjs +11 -0
- package/index714.mjs +330 -0
- package/index715.mjs +53 -0
- package/index716.mjs +5 -0
- package/index717.mjs +25 -0
- package/index718.mjs +34 -0
- package/index719.mjs +88 -0
- package/index72.mjs +55 -0
- package/index720.mjs +6 -0
- package/index721.mjs +31 -0
- package/index722.mjs +28 -0
- package/index723.mjs +23 -0
- package/index724.mjs +12 -0
- package/index725.mjs +16 -0
- package/index726.mjs +9 -0
- package/index727.mjs +27 -0
- package/index728.mjs +5 -0
- package/index729.mjs +12 -0
- package/index73.mjs +90 -0
- package/index730.mjs +10 -0
- package/index731.mjs +5 -0
- package/index732.mjs +22 -0
- package/index733.mjs +30 -0
- package/index734.mjs +9 -0
- package/index735.mjs +14 -0
- package/index736.mjs +31 -0
- package/index737.mjs +29 -0
- package/index738.mjs +256 -0
- package/index739.mjs +85 -0
- package/index74.mjs +70 -0
- package/index740.mjs +5 -0
- package/index741.mjs +16 -0
- package/index742.mjs +22 -0
- package/index743.mjs +17 -0
- package/index744.mjs +108 -0
- package/index745.mjs +25 -0
- package/index746.mjs +23 -0
- package/index747.mjs +8 -0
- package/index748.mjs +23 -0
- package/index749.mjs +33 -0
- package/index75.mjs +61 -0
- package/index750.mjs +11 -0
- package/index751.mjs +56 -0
- package/index752.mjs +26 -0
- package/index753.mjs +23 -0
- package/index754.mjs +59 -0
- package/index755.mjs +14 -0
- package/index756.mjs +7 -0
- package/index757.mjs +21 -0
- package/index758.mjs +7 -0
- package/index759.mjs +7 -0
- package/index76.mjs +33 -0
- package/index760.mjs +5 -0
- package/index761.mjs +13 -0
- package/index762.mjs +8 -0
- package/index763.mjs +15 -0
- package/index764.mjs +8 -0
- package/index765.mjs +8 -0
- package/index766.mjs +6 -0
- package/index767.mjs +27 -0
- package/index768.mjs +116 -0
- package/index769.mjs +19 -0
- package/index77.mjs +18 -0
- package/index770.mjs +528 -0
- package/index771.mjs +131 -0
- package/index772.mjs +137 -0
- package/index773.mjs +73 -0
- package/index774.mjs +5 -0
- package/index775.mjs +5 -0
- package/index776.mjs +59 -0
- package/index777.mjs +34 -0
- package/index778.mjs +28 -0
- package/index779.mjs +28 -0
- package/index78.mjs +44 -0
- package/index780.mjs +18 -0
- package/index781.mjs +56 -0
- package/index782.mjs +5 -0
- package/index783.mjs +79 -0
- package/index784.mjs +96 -0
- package/index785.mjs +55 -0
- package/index786.mjs +11 -0
- package/index787.mjs +8 -0
- package/index788.mjs +55 -0
- package/index789.mjs +5 -0
- package/index79.mjs +119 -0
- package/index790.mjs +27 -0
- package/index791.mjs +5 -0
- package/index792.mjs +66 -0
- package/index793.mjs +11 -0
- package/index794.mjs +11 -0
- package/index795.mjs +33 -0
- package/index796.mjs +9 -0
- package/index797.mjs +12 -0
- package/index798.mjs +19 -0
- package/index799.mjs +10 -0
- package/index8.mjs +31 -0
- package/index80.mjs +36 -0
- package/index800.mjs +5 -0
- package/index801.mjs +26 -0
- package/index802.mjs +68 -0
- package/index803.mjs +8 -0
- package/index804.mjs +11 -0
- package/index805.mjs +68 -0
- package/index806.mjs +72 -0
- package/index807.mjs +12 -0
- package/index808.mjs +17 -0
- package/index809.mjs +69 -0
- package/index81.mjs +22 -0
- package/index810.mjs +9 -0
- package/index811.mjs +27 -0
- package/index812.mjs +31 -0
- package/index813.mjs +5 -0
- package/index814.mjs +5 -0
- package/index815.mjs +5 -0
- package/index816.mjs +63 -0
- package/index817.mjs +5 -0
- package/index818.mjs +5 -0
- package/index819.mjs +5 -0
- package/index82.mjs +16 -0
- package/index820.mjs +18 -0
- package/index821.mjs +48 -0
- package/index822.mjs +100 -0
- package/index823.mjs +7 -0
- package/index824.mjs +26 -0
- package/index825.mjs +10 -0
- package/index826.mjs +62 -0
- package/index827.mjs +98 -0
- package/index828.mjs +95 -0
- package/index829.mjs +88 -0
- package/index83.mjs +55 -0
- package/index830.mjs +8 -0
- package/index831.mjs +5 -0
- package/index832.mjs +73 -0
- package/index833.mjs +5 -0
- package/index834.mjs +26 -0
- package/index835.mjs +16 -0
- package/index836.mjs +31 -0
- package/index837.mjs +8 -0
- package/index84.mjs +31 -0
- package/index85.mjs +53 -0
- package/index86.mjs +100 -0
- package/index87.mjs +13 -0
- package/index88.mjs +44 -0
- package/index89.mjs +65 -0
- package/index9.mjs +27 -0
- package/index90.mjs +151 -0
- package/index91.mjs +33 -0
- package/index92.mjs +52 -0
- package/index93.mjs +28 -0
- package/index94.mjs +59 -0
- package/index95.mjs +23 -0
- package/index96.mjs +53 -0
- package/index97.mjs +34 -0
- package/index98.mjs +93 -0
- package/index99.mjs +41 -0
- package/package.json +91 -0
- package/plugins/backgrounds.js +29 -0
- package/plugins/colors.js +432 -0
- package/plugins/content-to-edge.js +104 -0
- package/plugins/forms.js +21 -0
- package/plugins/icon-offset.js +29 -0
- package/plugins/icon-size.js +39 -0
- package/plugins/icon-to-edge.js +101 -0
- package/plugins/misc.js +92 -0
- package/plugins/size.js +154 -0
- package/plugins/spacing.js +69 -0
- package/plugins/text-to-leading.js +61 -0
- package/plugins/transitions.js +38 -0
- package/plugins/typography.js +378 -0
- package/style.css +1 -0
- package/tailwind.config.js +515 -0
- package/utils.d.ts +9 -0
- package/utils.d.ts.map +1 -0
package/index633.mjs
ADDED
|
@@ -0,0 +1,2339 @@
|
|
|
1
|
+
import { ZodIssueCode as c, ZodError as z } from "./index829.mjs";
|
|
2
|
+
import { errorUtil as o } from "./index830.mjs";
|
|
3
|
+
import { addIssueToContext as u, INVALID as p, ParseStatus as w, OK as k, isAsync as D, isValid as N, DIRTY as V, isAborted as X, isDirty as K } from "./index827.mjs";
|
|
4
|
+
import { util as v, ZodParsedType as h, getParsedType as C } from "./index828.mjs";
|
|
5
|
+
class A {
|
|
6
|
+
constructor(e, t, s, r) {
|
|
7
|
+
this._cachedPath = [], this.parent = e, this.data = t, this._path = s, this._key = r;
|
|
8
|
+
}
|
|
9
|
+
get path() {
|
|
10
|
+
return this._cachedPath.length || (Array.isArray(this._key) ? this._cachedPath.push(...this._path, ...this._key) : this._cachedPath.push(...this._path, this._key)), this._cachedPath;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
const ee = (n, e) => {
|
|
14
|
+
if (N(e))
|
|
15
|
+
return { success: !0, data: e.value };
|
|
16
|
+
if (!n.common.issues.length)
|
|
17
|
+
throw new Error("Validation failed but no issues detected.");
|
|
18
|
+
return {
|
|
19
|
+
success: !1,
|
|
20
|
+
get error() {
|
|
21
|
+
if (this._error)
|
|
22
|
+
return this._error;
|
|
23
|
+
const t = new z(n.common.issues);
|
|
24
|
+
return this._error = t, this._error;
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
function _(n) {
|
|
29
|
+
if (!n)
|
|
30
|
+
return {};
|
|
31
|
+
const { errorMap: e, invalid_type_error: t, required_error: s, description: r } = n;
|
|
32
|
+
if (e && (t || s))
|
|
33
|
+
throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);
|
|
34
|
+
return e ? { errorMap: e, description: r } : { errorMap: (d, i) => {
|
|
35
|
+
const { message: l } = n;
|
|
36
|
+
return d.code === "invalid_enum_value" ? { message: l ?? i.defaultError } : typeof i.data > "u" ? { message: l ?? s ?? i.defaultError } : d.code !== "invalid_type" ? { message: i.defaultError } : { message: l ?? t ?? i.defaultError };
|
|
37
|
+
}, description: r };
|
|
38
|
+
}
|
|
39
|
+
class g {
|
|
40
|
+
get description() {
|
|
41
|
+
return this._def.description;
|
|
42
|
+
}
|
|
43
|
+
_getType(e) {
|
|
44
|
+
return C(e.data);
|
|
45
|
+
}
|
|
46
|
+
_getOrReturnCtx(e, t) {
|
|
47
|
+
return t || {
|
|
48
|
+
common: e.parent.common,
|
|
49
|
+
data: e.data,
|
|
50
|
+
parsedType: C(e.data),
|
|
51
|
+
schemaErrorMap: this._def.errorMap,
|
|
52
|
+
path: e.path,
|
|
53
|
+
parent: e.parent
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
_processInputParams(e) {
|
|
57
|
+
return {
|
|
58
|
+
status: new w(),
|
|
59
|
+
ctx: {
|
|
60
|
+
common: e.parent.common,
|
|
61
|
+
data: e.data,
|
|
62
|
+
parsedType: C(e.data),
|
|
63
|
+
schemaErrorMap: this._def.errorMap,
|
|
64
|
+
path: e.path,
|
|
65
|
+
parent: e.parent
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
_parseSync(e) {
|
|
70
|
+
const t = this._parse(e);
|
|
71
|
+
if (D(t))
|
|
72
|
+
throw new Error("Synchronous parse encountered promise.");
|
|
73
|
+
return t;
|
|
74
|
+
}
|
|
75
|
+
_parseAsync(e) {
|
|
76
|
+
const t = this._parse(e);
|
|
77
|
+
return Promise.resolve(t);
|
|
78
|
+
}
|
|
79
|
+
parse(e, t) {
|
|
80
|
+
const s = this.safeParse(e, t);
|
|
81
|
+
if (s.success)
|
|
82
|
+
return s.data;
|
|
83
|
+
throw s.error;
|
|
84
|
+
}
|
|
85
|
+
safeParse(e, t) {
|
|
86
|
+
const s = {
|
|
87
|
+
common: {
|
|
88
|
+
issues: [],
|
|
89
|
+
async: (t == null ? void 0 : t.async) ?? !1,
|
|
90
|
+
contextualErrorMap: t == null ? void 0 : t.errorMap
|
|
91
|
+
},
|
|
92
|
+
path: (t == null ? void 0 : t.path) || [],
|
|
93
|
+
schemaErrorMap: this._def.errorMap,
|
|
94
|
+
parent: null,
|
|
95
|
+
data: e,
|
|
96
|
+
parsedType: C(e)
|
|
97
|
+
}, r = this._parseSync({ data: e, path: s.path, parent: s });
|
|
98
|
+
return ee(s, r);
|
|
99
|
+
}
|
|
100
|
+
"~validate"(e) {
|
|
101
|
+
var s, r;
|
|
102
|
+
const t = {
|
|
103
|
+
common: {
|
|
104
|
+
issues: [],
|
|
105
|
+
async: !!this["~standard"].async
|
|
106
|
+
},
|
|
107
|
+
path: [],
|
|
108
|
+
schemaErrorMap: this._def.errorMap,
|
|
109
|
+
parent: null,
|
|
110
|
+
data: e,
|
|
111
|
+
parsedType: C(e)
|
|
112
|
+
};
|
|
113
|
+
if (!this["~standard"].async)
|
|
114
|
+
try {
|
|
115
|
+
const a = this._parseSync({ data: e, path: [], parent: t });
|
|
116
|
+
return N(a) ? {
|
|
117
|
+
value: a.value
|
|
118
|
+
} : {
|
|
119
|
+
issues: t.common.issues
|
|
120
|
+
};
|
|
121
|
+
} catch (a) {
|
|
122
|
+
(r = (s = a == null ? void 0 : a.message) == null ? void 0 : s.toLowerCase()) != null && r.includes("encountered") && (this["~standard"].async = !0), t.common = {
|
|
123
|
+
issues: [],
|
|
124
|
+
async: !0
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
return this._parseAsync({ data: e, path: [], parent: t }).then((a) => N(a) ? {
|
|
128
|
+
value: a.value
|
|
129
|
+
} : {
|
|
130
|
+
issues: t.common.issues
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
async parseAsync(e, t) {
|
|
134
|
+
const s = await this.safeParseAsync(e, t);
|
|
135
|
+
if (s.success)
|
|
136
|
+
return s.data;
|
|
137
|
+
throw s.error;
|
|
138
|
+
}
|
|
139
|
+
async safeParseAsync(e, t) {
|
|
140
|
+
const s = {
|
|
141
|
+
common: {
|
|
142
|
+
issues: [],
|
|
143
|
+
contextualErrorMap: t == null ? void 0 : t.errorMap,
|
|
144
|
+
async: !0
|
|
145
|
+
},
|
|
146
|
+
path: (t == null ? void 0 : t.path) || [],
|
|
147
|
+
schemaErrorMap: this._def.errorMap,
|
|
148
|
+
parent: null,
|
|
149
|
+
data: e,
|
|
150
|
+
parsedType: C(e)
|
|
151
|
+
}, r = this._parse({ data: e, path: s.path, parent: s }), a = await (D(r) ? r : Promise.resolve(r));
|
|
152
|
+
return ee(s, a);
|
|
153
|
+
}
|
|
154
|
+
refine(e, t) {
|
|
155
|
+
const s = (r) => typeof t == "string" || typeof t > "u" ? { message: t } : typeof t == "function" ? t(r) : t;
|
|
156
|
+
return this._refinement((r, a) => {
|
|
157
|
+
const d = e(r), i = () => a.addIssue({
|
|
158
|
+
code: c.custom,
|
|
159
|
+
...s(r)
|
|
160
|
+
});
|
|
161
|
+
return typeof Promise < "u" && d instanceof Promise ? d.then((l) => l ? !0 : (i(), !1)) : d ? !0 : (i(), !1);
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
refinement(e, t) {
|
|
165
|
+
return this._refinement((s, r) => e(s) ? !0 : (r.addIssue(typeof t == "function" ? t(s, r) : t), !1));
|
|
166
|
+
}
|
|
167
|
+
_refinement(e) {
|
|
168
|
+
return new j({
|
|
169
|
+
schema: this,
|
|
170
|
+
typeName: f.ZodEffects,
|
|
171
|
+
effect: { type: "refinement", refinement: e }
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
superRefine(e) {
|
|
175
|
+
return this._refinement(e);
|
|
176
|
+
}
|
|
177
|
+
constructor(e) {
|
|
178
|
+
this.spa = this.safeParseAsync, this._def = e, this.parse = this.parse.bind(this), this.safeParse = this.safeParse.bind(this), this.parseAsync = this.parseAsync.bind(this), this.safeParseAsync = this.safeParseAsync.bind(this), this.spa = this.spa.bind(this), this.refine = this.refine.bind(this), this.refinement = this.refinement.bind(this), this.superRefine = this.superRefine.bind(this), this.optional = this.optional.bind(this), this.nullable = this.nullable.bind(this), this.nullish = this.nullish.bind(this), this.array = this.array.bind(this), this.promise = this.promise.bind(this), this.or = this.or.bind(this), this.and = this.and.bind(this), this.transform = this.transform.bind(this), this.brand = this.brand.bind(this), this.default = this.default.bind(this), this.catch = this.catch.bind(this), this.describe = this.describe.bind(this), this.pipe = this.pipe.bind(this), this.readonly = this.readonly.bind(this), this.isNullable = this.isNullable.bind(this), this.isOptional = this.isOptional.bind(this), this["~standard"] = {
|
|
179
|
+
version: 1,
|
|
180
|
+
vendor: "zod",
|
|
181
|
+
validate: (t) => this["~validate"](t)
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
optional() {
|
|
185
|
+
return Z.create(this, this._def);
|
|
186
|
+
}
|
|
187
|
+
nullable() {
|
|
188
|
+
return E.create(this, this._def);
|
|
189
|
+
}
|
|
190
|
+
nullish() {
|
|
191
|
+
return this.nullable().optional();
|
|
192
|
+
}
|
|
193
|
+
array() {
|
|
194
|
+
return b.create(this);
|
|
195
|
+
}
|
|
196
|
+
promise() {
|
|
197
|
+
return W.create(this, this._def);
|
|
198
|
+
}
|
|
199
|
+
or(e) {
|
|
200
|
+
return B.create([this, e], this._def);
|
|
201
|
+
}
|
|
202
|
+
and(e) {
|
|
203
|
+
return F.create(this, e, this._def);
|
|
204
|
+
}
|
|
205
|
+
transform(e) {
|
|
206
|
+
return new j({
|
|
207
|
+
..._(this._def),
|
|
208
|
+
schema: this,
|
|
209
|
+
typeName: f.ZodEffects,
|
|
210
|
+
effect: { type: "transform", transform: e }
|
|
211
|
+
});
|
|
212
|
+
}
|
|
213
|
+
default(e) {
|
|
214
|
+
const t = typeof e == "function" ? e : () => e;
|
|
215
|
+
return new q({
|
|
216
|
+
..._(this._def),
|
|
217
|
+
innerType: this,
|
|
218
|
+
defaultValue: t,
|
|
219
|
+
typeName: f.ZodDefault
|
|
220
|
+
});
|
|
221
|
+
}
|
|
222
|
+
brand() {
|
|
223
|
+
return new Pe({
|
|
224
|
+
typeName: f.ZodBranded,
|
|
225
|
+
type: this,
|
|
226
|
+
..._(this._def)
|
|
227
|
+
});
|
|
228
|
+
}
|
|
229
|
+
catch(e) {
|
|
230
|
+
const t = typeof e == "function" ? e : () => e;
|
|
231
|
+
return new H({
|
|
232
|
+
..._(this._def),
|
|
233
|
+
innerType: this,
|
|
234
|
+
catchValue: t,
|
|
235
|
+
typeName: f.ZodCatch
|
|
236
|
+
});
|
|
237
|
+
}
|
|
238
|
+
describe(e) {
|
|
239
|
+
const t = this.constructor;
|
|
240
|
+
return new t({
|
|
241
|
+
...this._def,
|
|
242
|
+
description: e
|
|
243
|
+
});
|
|
244
|
+
}
|
|
245
|
+
pipe(e) {
|
|
246
|
+
return Q.create(this, e);
|
|
247
|
+
}
|
|
248
|
+
readonly() {
|
|
249
|
+
return G.create(this);
|
|
250
|
+
}
|
|
251
|
+
isOptional() {
|
|
252
|
+
return this.safeParse(void 0).success;
|
|
253
|
+
}
|
|
254
|
+
isNullable() {
|
|
255
|
+
return this.safeParse(null).success;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
const ge = /^c[^\s-]{8,}$/i, ye = /^[0-9a-z]+$/, ve = /^[0-9A-HJKMNP-TV-Z]{26}$/i, xe = /^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i, ke = /^[a-z0-9_-]{21}$/i, we = /^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/, be = /^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/, Ce = /^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i, Te = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
|
|
259
|
+
let J;
|
|
260
|
+
const Ze = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/, Ae = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/, Se = /^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/, Oe = /^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/, Re = /^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/, Ne = /^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/, fe = "((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))", Ie = new RegExp(`^${fe}$`);
|
|
261
|
+
function me(n) {
|
|
262
|
+
let e = "[0-5]\\d";
|
|
263
|
+
n.precision ? e = `${e}\\.\\d{${n.precision}}` : n.precision == null && (e = `${e}(\\.\\d+)?`);
|
|
264
|
+
const t = n.precision ? "+" : "?";
|
|
265
|
+
return `([01]\\d|2[0-3]):[0-5]\\d(:${e})${t}`;
|
|
266
|
+
}
|
|
267
|
+
function je(n) {
|
|
268
|
+
return new RegExp(`^${me(n)}$`);
|
|
269
|
+
}
|
|
270
|
+
function Ee(n) {
|
|
271
|
+
let e = `${fe}T${me(n)}`;
|
|
272
|
+
const t = [];
|
|
273
|
+
return t.push(n.local ? "Z?" : "Z"), n.offset && t.push("([+-]\\d{2}:?\\d{2})"), e = `${e}(${t.join("|")})`, new RegExp(`^${e}$`);
|
|
274
|
+
}
|
|
275
|
+
function Le(n, e) {
|
|
276
|
+
return !!((e === "v4" || !e) && Ze.test(n) || (e === "v6" || !e) && Se.test(n));
|
|
277
|
+
}
|
|
278
|
+
function Ve(n, e) {
|
|
279
|
+
if (!we.test(n))
|
|
280
|
+
return !1;
|
|
281
|
+
try {
|
|
282
|
+
const [t] = n.split(".");
|
|
283
|
+
if (!t)
|
|
284
|
+
return !1;
|
|
285
|
+
const s = t.replace(/-/g, "+").replace(/_/g, "/").padEnd(t.length + (4 - t.length % 4) % 4, "="), r = JSON.parse(atob(s));
|
|
286
|
+
return !(typeof r != "object" || r === null || "typ" in r && (r == null ? void 0 : r.typ) !== "JWT" || !r.alg || e && r.alg !== e);
|
|
287
|
+
} catch {
|
|
288
|
+
return !1;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
function ze(n, e) {
|
|
292
|
+
return !!((e === "v4" || !e) && Ae.test(n) || (e === "v6" || !e) && Oe.test(n));
|
|
293
|
+
}
|
|
294
|
+
class T extends g {
|
|
295
|
+
_parse(e) {
|
|
296
|
+
if (this._def.coerce && (e.data = String(e.data)), this._getType(e) !== h.string) {
|
|
297
|
+
const a = this._getOrReturnCtx(e);
|
|
298
|
+
return u(a, {
|
|
299
|
+
code: c.invalid_type,
|
|
300
|
+
expected: h.string,
|
|
301
|
+
received: a.parsedType
|
|
302
|
+
}), p;
|
|
303
|
+
}
|
|
304
|
+
const s = new w();
|
|
305
|
+
let r;
|
|
306
|
+
for (const a of this._def.checks)
|
|
307
|
+
if (a.kind === "min")
|
|
308
|
+
e.data.length < a.value && (r = this._getOrReturnCtx(e, r), u(r, {
|
|
309
|
+
code: c.too_small,
|
|
310
|
+
minimum: a.value,
|
|
311
|
+
type: "string",
|
|
312
|
+
inclusive: !0,
|
|
313
|
+
exact: !1,
|
|
314
|
+
message: a.message
|
|
315
|
+
}), s.dirty());
|
|
316
|
+
else if (a.kind === "max")
|
|
317
|
+
e.data.length > a.value && (r = this._getOrReturnCtx(e, r), u(r, {
|
|
318
|
+
code: c.too_big,
|
|
319
|
+
maximum: a.value,
|
|
320
|
+
type: "string",
|
|
321
|
+
inclusive: !0,
|
|
322
|
+
exact: !1,
|
|
323
|
+
message: a.message
|
|
324
|
+
}), s.dirty());
|
|
325
|
+
else if (a.kind === "length") {
|
|
326
|
+
const d = e.data.length > a.value, i = e.data.length < a.value;
|
|
327
|
+
(d || i) && (r = this._getOrReturnCtx(e, r), d ? u(r, {
|
|
328
|
+
code: c.too_big,
|
|
329
|
+
maximum: a.value,
|
|
330
|
+
type: "string",
|
|
331
|
+
inclusive: !0,
|
|
332
|
+
exact: !0,
|
|
333
|
+
message: a.message
|
|
334
|
+
}) : i && u(r, {
|
|
335
|
+
code: c.too_small,
|
|
336
|
+
minimum: a.value,
|
|
337
|
+
type: "string",
|
|
338
|
+
inclusive: !0,
|
|
339
|
+
exact: !0,
|
|
340
|
+
message: a.message
|
|
341
|
+
}), s.dirty());
|
|
342
|
+
} else if (a.kind === "email")
|
|
343
|
+
Ce.test(e.data) || (r = this._getOrReturnCtx(e, r), u(r, {
|
|
344
|
+
validation: "email",
|
|
345
|
+
code: c.invalid_string,
|
|
346
|
+
message: a.message
|
|
347
|
+
}), s.dirty());
|
|
348
|
+
else if (a.kind === "emoji")
|
|
349
|
+
J || (J = new RegExp(Te, "u")), J.test(e.data) || (r = this._getOrReturnCtx(e, r), u(r, {
|
|
350
|
+
validation: "emoji",
|
|
351
|
+
code: c.invalid_string,
|
|
352
|
+
message: a.message
|
|
353
|
+
}), s.dirty());
|
|
354
|
+
else if (a.kind === "uuid")
|
|
355
|
+
xe.test(e.data) || (r = this._getOrReturnCtx(e, r), u(r, {
|
|
356
|
+
validation: "uuid",
|
|
357
|
+
code: c.invalid_string,
|
|
358
|
+
message: a.message
|
|
359
|
+
}), s.dirty());
|
|
360
|
+
else if (a.kind === "nanoid")
|
|
361
|
+
ke.test(e.data) || (r = this._getOrReturnCtx(e, r), u(r, {
|
|
362
|
+
validation: "nanoid",
|
|
363
|
+
code: c.invalid_string,
|
|
364
|
+
message: a.message
|
|
365
|
+
}), s.dirty());
|
|
366
|
+
else if (a.kind === "cuid")
|
|
367
|
+
ge.test(e.data) || (r = this._getOrReturnCtx(e, r), u(r, {
|
|
368
|
+
validation: "cuid",
|
|
369
|
+
code: c.invalid_string,
|
|
370
|
+
message: a.message
|
|
371
|
+
}), s.dirty());
|
|
372
|
+
else if (a.kind === "cuid2")
|
|
373
|
+
ye.test(e.data) || (r = this._getOrReturnCtx(e, r), u(r, {
|
|
374
|
+
validation: "cuid2",
|
|
375
|
+
code: c.invalid_string,
|
|
376
|
+
message: a.message
|
|
377
|
+
}), s.dirty());
|
|
378
|
+
else if (a.kind === "ulid")
|
|
379
|
+
ve.test(e.data) || (r = this._getOrReturnCtx(e, r), u(r, {
|
|
380
|
+
validation: "ulid",
|
|
381
|
+
code: c.invalid_string,
|
|
382
|
+
message: a.message
|
|
383
|
+
}), s.dirty());
|
|
384
|
+
else if (a.kind === "url")
|
|
385
|
+
try {
|
|
386
|
+
new URL(e.data);
|
|
387
|
+
} catch {
|
|
388
|
+
r = this._getOrReturnCtx(e, r), u(r, {
|
|
389
|
+
validation: "url",
|
|
390
|
+
code: c.invalid_string,
|
|
391
|
+
message: a.message
|
|
392
|
+
}), s.dirty();
|
|
393
|
+
}
|
|
394
|
+
else a.kind === "regex" ? (a.regex.lastIndex = 0, a.regex.test(e.data) || (r = this._getOrReturnCtx(e, r), u(r, {
|
|
395
|
+
validation: "regex",
|
|
396
|
+
code: c.invalid_string,
|
|
397
|
+
message: a.message
|
|
398
|
+
}), s.dirty())) : a.kind === "trim" ? e.data = e.data.trim() : a.kind === "includes" ? e.data.includes(a.value, a.position) || (r = this._getOrReturnCtx(e, r), u(r, {
|
|
399
|
+
code: c.invalid_string,
|
|
400
|
+
validation: { includes: a.value, position: a.position },
|
|
401
|
+
message: a.message
|
|
402
|
+
}), s.dirty()) : a.kind === "toLowerCase" ? e.data = e.data.toLowerCase() : a.kind === "toUpperCase" ? e.data = e.data.toUpperCase() : a.kind === "startsWith" ? e.data.startsWith(a.value) || (r = this._getOrReturnCtx(e, r), u(r, {
|
|
403
|
+
code: c.invalid_string,
|
|
404
|
+
validation: { startsWith: a.value },
|
|
405
|
+
message: a.message
|
|
406
|
+
}), s.dirty()) : a.kind === "endsWith" ? e.data.endsWith(a.value) || (r = this._getOrReturnCtx(e, r), u(r, {
|
|
407
|
+
code: c.invalid_string,
|
|
408
|
+
validation: { endsWith: a.value },
|
|
409
|
+
message: a.message
|
|
410
|
+
}), s.dirty()) : a.kind === "datetime" ? Ee(a).test(e.data) || (r = this._getOrReturnCtx(e, r), u(r, {
|
|
411
|
+
code: c.invalid_string,
|
|
412
|
+
validation: "datetime",
|
|
413
|
+
message: a.message
|
|
414
|
+
}), s.dirty()) : a.kind === "date" ? Ie.test(e.data) || (r = this._getOrReturnCtx(e, r), u(r, {
|
|
415
|
+
code: c.invalid_string,
|
|
416
|
+
validation: "date",
|
|
417
|
+
message: a.message
|
|
418
|
+
}), s.dirty()) : a.kind === "time" ? je(a).test(e.data) || (r = this._getOrReturnCtx(e, r), u(r, {
|
|
419
|
+
code: c.invalid_string,
|
|
420
|
+
validation: "time",
|
|
421
|
+
message: a.message
|
|
422
|
+
}), s.dirty()) : a.kind === "duration" ? be.test(e.data) || (r = this._getOrReturnCtx(e, r), u(r, {
|
|
423
|
+
validation: "duration",
|
|
424
|
+
code: c.invalid_string,
|
|
425
|
+
message: a.message
|
|
426
|
+
}), s.dirty()) : a.kind === "ip" ? Le(e.data, a.version) || (r = this._getOrReturnCtx(e, r), u(r, {
|
|
427
|
+
validation: "ip",
|
|
428
|
+
code: c.invalid_string,
|
|
429
|
+
message: a.message
|
|
430
|
+
}), s.dirty()) : a.kind === "jwt" ? Ve(e.data, a.alg) || (r = this._getOrReturnCtx(e, r), u(r, {
|
|
431
|
+
validation: "jwt",
|
|
432
|
+
code: c.invalid_string,
|
|
433
|
+
message: a.message
|
|
434
|
+
}), s.dirty()) : a.kind === "cidr" ? ze(e.data, a.version) || (r = this._getOrReturnCtx(e, r), u(r, {
|
|
435
|
+
validation: "cidr",
|
|
436
|
+
code: c.invalid_string,
|
|
437
|
+
message: a.message
|
|
438
|
+
}), s.dirty()) : a.kind === "base64" ? Re.test(e.data) || (r = this._getOrReturnCtx(e, r), u(r, {
|
|
439
|
+
validation: "base64",
|
|
440
|
+
code: c.invalid_string,
|
|
441
|
+
message: a.message
|
|
442
|
+
}), s.dirty()) : a.kind === "base64url" ? Ne.test(e.data) || (r = this._getOrReturnCtx(e, r), u(r, {
|
|
443
|
+
validation: "base64url",
|
|
444
|
+
code: c.invalid_string,
|
|
445
|
+
message: a.message
|
|
446
|
+
}), s.dirty()) : v.assertNever(a);
|
|
447
|
+
return { status: s.value, value: e.data };
|
|
448
|
+
}
|
|
449
|
+
_regex(e, t, s) {
|
|
450
|
+
return this.refinement((r) => e.test(r), {
|
|
451
|
+
validation: t,
|
|
452
|
+
code: c.invalid_string,
|
|
453
|
+
...o.errToObj(s)
|
|
454
|
+
});
|
|
455
|
+
}
|
|
456
|
+
_addCheck(e) {
|
|
457
|
+
return new T({
|
|
458
|
+
...this._def,
|
|
459
|
+
checks: [...this._def.checks, e]
|
|
460
|
+
});
|
|
461
|
+
}
|
|
462
|
+
email(e) {
|
|
463
|
+
return this._addCheck({ kind: "email", ...o.errToObj(e) });
|
|
464
|
+
}
|
|
465
|
+
url(e) {
|
|
466
|
+
return this._addCheck({ kind: "url", ...o.errToObj(e) });
|
|
467
|
+
}
|
|
468
|
+
emoji(e) {
|
|
469
|
+
return this._addCheck({ kind: "emoji", ...o.errToObj(e) });
|
|
470
|
+
}
|
|
471
|
+
uuid(e) {
|
|
472
|
+
return this._addCheck({ kind: "uuid", ...o.errToObj(e) });
|
|
473
|
+
}
|
|
474
|
+
nanoid(e) {
|
|
475
|
+
return this._addCheck({ kind: "nanoid", ...o.errToObj(e) });
|
|
476
|
+
}
|
|
477
|
+
cuid(e) {
|
|
478
|
+
return this._addCheck({ kind: "cuid", ...o.errToObj(e) });
|
|
479
|
+
}
|
|
480
|
+
cuid2(e) {
|
|
481
|
+
return this._addCheck({ kind: "cuid2", ...o.errToObj(e) });
|
|
482
|
+
}
|
|
483
|
+
ulid(e) {
|
|
484
|
+
return this._addCheck({ kind: "ulid", ...o.errToObj(e) });
|
|
485
|
+
}
|
|
486
|
+
base64(e) {
|
|
487
|
+
return this._addCheck({ kind: "base64", ...o.errToObj(e) });
|
|
488
|
+
}
|
|
489
|
+
base64url(e) {
|
|
490
|
+
return this._addCheck({
|
|
491
|
+
kind: "base64url",
|
|
492
|
+
...o.errToObj(e)
|
|
493
|
+
});
|
|
494
|
+
}
|
|
495
|
+
jwt(e) {
|
|
496
|
+
return this._addCheck({ kind: "jwt", ...o.errToObj(e) });
|
|
497
|
+
}
|
|
498
|
+
ip(e) {
|
|
499
|
+
return this._addCheck({ kind: "ip", ...o.errToObj(e) });
|
|
500
|
+
}
|
|
501
|
+
cidr(e) {
|
|
502
|
+
return this._addCheck({ kind: "cidr", ...o.errToObj(e) });
|
|
503
|
+
}
|
|
504
|
+
datetime(e) {
|
|
505
|
+
return typeof e == "string" ? this._addCheck({
|
|
506
|
+
kind: "datetime",
|
|
507
|
+
precision: null,
|
|
508
|
+
offset: !1,
|
|
509
|
+
local: !1,
|
|
510
|
+
message: e
|
|
511
|
+
}) : this._addCheck({
|
|
512
|
+
kind: "datetime",
|
|
513
|
+
precision: typeof (e == null ? void 0 : e.precision) > "u" ? null : e == null ? void 0 : e.precision,
|
|
514
|
+
offset: (e == null ? void 0 : e.offset) ?? !1,
|
|
515
|
+
local: (e == null ? void 0 : e.local) ?? !1,
|
|
516
|
+
...o.errToObj(e == null ? void 0 : e.message)
|
|
517
|
+
});
|
|
518
|
+
}
|
|
519
|
+
date(e) {
|
|
520
|
+
return this._addCheck({ kind: "date", message: e });
|
|
521
|
+
}
|
|
522
|
+
time(e) {
|
|
523
|
+
return typeof e == "string" ? this._addCheck({
|
|
524
|
+
kind: "time",
|
|
525
|
+
precision: null,
|
|
526
|
+
message: e
|
|
527
|
+
}) : this._addCheck({
|
|
528
|
+
kind: "time",
|
|
529
|
+
precision: typeof (e == null ? void 0 : e.precision) > "u" ? null : e == null ? void 0 : e.precision,
|
|
530
|
+
...o.errToObj(e == null ? void 0 : e.message)
|
|
531
|
+
});
|
|
532
|
+
}
|
|
533
|
+
duration(e) {
|
|
534
|
+
return this._addCheck({ kind: "duration", ...o.errToObj(e) });
|
|
535
|
+
}
|
|
536
|
+
regex(e, t) {
|
|
537
|
+
return this._addCheck({
|
|
538
|
+
kind: "regex",
|
|
539
|
+
regex: e,
|
|
540
|
+
...o.errToObj(t)
|
|
541
|
+
});
|
|
542
|
+
}
|
|
543
|
+
includes(e, t) {
|
|
544
|
+
return this._addCheck({
|
|
545
|
+
kind: "includes",
|
|
546
|
+
value: e,
|
|
547
|
+
position: t == null ? void 0 : t.position,
|
|
548
|
+
...o.errToObj(t == null ? void 0 : t.message)
|
|
549
|
+
});
|
|
550
|
+
}
|
|
551
|
+
startsWith(e, t) {
|
|
552
|
+
return this._addCheck({
|
|
553
|
+
kind: "startsWith",
|
|
554
|
+
value: e,
|
|
555
|
+
...o.errToObj(t)
|
|
556
|
+
});
|
|
557
|
+
}
|
|
558
|
+
endsWith(e, t) {
|
|
559
|
+
return this._addCheck({
|
|
560
|
+
kind: "endsWith",
|
|
561
|
+
value: e,
|
|
562
|
+
...o.errToObj(t)
|
|
563
|
+
});
|
|
564
|
+
}
|
|
565
|
+
min(e, t) {
|
|
566
|
+
return this._addCheck({
|
|
567
|
+
kind: "min",
|
|
568
|
+
value: e,
|
|
569
|
+
...o.errToObj(t)
|
|
570
|
+
});
|
|
571
|
+
}
|
|
572
|
+
max(e, t) {
|
|
573
|
+
return this._addCheck({
|
|
574
|
+
kind: "max",
|
|
575
|
+
value: e,
|
|
576
|
+
...o.errToObj(t)
|
|
577
|
+
});
|
|
578
|
+
}
|
|
579
|
+
length(e, t) {
|
|
580
|
+
return this._addCheck({
|
|
581
|
+
kind: "length",
|
|
582
|
+
value: e,
|
|
583
|
+
...o.errToObj(t)
|
|
584
|
+
});
|
|
585
|
+
}
|
|
586
|
+
/**
|
|
587
|
+
* Equivalent to `.min(1)`
|
|
588
|
+
*/
|
|
589
|
+
nonempty(e) {
|
|
590
|
+
return this.min(1, o.errToObj(e));
|
|
591
|
+
}
|
|
592
|
+
trim() {
|
|
593
|
+
return new T({
|
|
594
|
+
...this._def,
|
|
595
|
+
checks: [...this._def.checks, { kind: "trim" }]
|
|
596
|
+
});
|
|
597
|
+
}
|
|
598
|
+
toLowerCase() {
|
|
599
|
+
return new T({
|
|
600
|
+
...this._def,
|
|
601
|
+
checks: [...this._def.checks, { kind: "toLowerCase" }]
|
|
602
|
+
});
|
|
603
|
+
}
|
|
604
|
+
toUpperCase() {
|
|
605
|
+
return new T({
|
|
606
|
+
...this._def,
|
|
607
|
+
checks: [...this._def.checks, { kind: "toUpperCase" }]
|
|
608
|
+
});
|
|
609
|
+
}
|
|
610
|
+
get isDatetime() {
|
|
611
|
+
return !!this._def.checks.find((e) => e.kind === "datetime");
|
|
612
|
+
}
|
|
613
|
+
get isDate() {
|
|
614
|
+
return !!this._def.checks.find((e) => e.kind === "date");
|
|
615
|
+
}
|
|
616
|
+
get isTime() {
|
|
617
|
+
return !!this._def.checks.find((e) => e.kind === "time");
|
|
618
|
+
}
|
|
619
|
+
get isDuration() {
|
|
620
|
+
return !!this._def.checks.find((e) => e.kind === "duration");
|
|
621
|
+
}
|
|
622
|
+
get isEmail() {
|
|
623
|
+
return !!this._def.checks.find((e) => e.kind === "email");
|
|
624
|
+
}
|
|
625
|
+
get isURL() {
|
|
626
|
+
return !!this._def.checks.find((e) => e.kind === "url");
|
|
627
|
+
}
|
|
628
|
+
get isEmoji() {
|
|
629
|
+
return !!this._def.checks.find((e) => e.kind === "emoji");
|
|
630
|
+
}
|
|
631
|
+
get isUUID() {
|
|
632
|
+
return !!this._def.checks.find((e) => e.kind === "uuid");
|
|
633
|
+
}
|
|
634
|
+
get isNANOID() {
|
|
635
|
+
return !!this._def.checks.find((e) => e.kind === "nanoid");
|
|
636
|
+
}
|
|
637
|
+
get isCUID() {
|
|
638
|
+
return !!this._def.checks.find((e) => e.kind === "cuid");
|
|
639
|
+
}
|
|
640
|
+
get isCUID2() {
|
|
641
|
+
return !!this._def.checks.find((e) => e.kind === "cuid2");
|
|
642
|
+
}
|
|
643
|
+
get isULID() {
|
|
644
|
+
return !!this._def.checks.find((e) => e.kind === "ulid");
|
|
645
|
+
}
|
|
646
|
+
get isIP() {
|
|
647
|
+
return !!this._def.checks.find((e) => e.kind === "ip");
|
|
648
|
+
}
|
|
649
|
+
get isCIDR() {
|
|
650
|
+
return !!this._def.checks.find((e) => e.kind === "cidr");
|
|
651
|
+
}
|
|
652
|
+
get isBase64() {
|
|
653
|
+
return !!this._def.checks.find((e) => e.kind === "base64");
|
|
654
|
+
}
|
|
655
|
+
get isBase64url() {
|
|
656
|
+
return !!this._def.checks.find((e) => e.kind === "base64url");
|
|
657
|
+
}
|
|
658
|
+
get minLength() {
|
|
659
|
+
let e = null;
|
|
660
|
+
for (const t of this._def.checks)
|
|
661
|
+
t.kind === "min" && (e === null || t.value > e) && (e = t.value);
|
|
662
|
+
return e;
|
|
663
|
+
}
|
|
664
|
+
get maxLength() {
|
|
665
|
+
let e = null;
|
|
666
|
+
for (const t of this._def.checks)
|
|
667
|
+
t.kind === "max" && (e === null || t.value < e) && (e = t.value);
|
|
668
|
+
return e;
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
T.create = (n) => new T({
|
|
672
|
+
checks: [],
|
|
673
|
+
typeName: f.ZodString,
|
|
674
|
+
coerce: (n == null ? void 0 : n.coerce) ?? !1,
|
|
675
|
+
..._(n)
|
|
676
|
+
});
|
|
677
|
+
function Me(n, e) {
|
|
678
|
+
const t = (n.toString().split(".")[1] || "").length, s = (e.toString().split(".")[1] || "").length, r = t > s ? t : s, a = Number.parseInt(n.toFixed(r).replace(".", "")), d = Number.parseInt(e.toFixed(r).replace(".", ""));
|
|
679
|
+
return a % d / 10 ** r;
|
|
680
|
+
}
|
|
681
|
+
class M extends g {
|
|
682
|
+
constructor() {
|
|
683
|
+
super(...arguments), this.min = this.gte, this.max = this.lte, this.step = this.multipleOf;
|
|
684
|
+
}
|
|
685
|
+
_parse(e) {
|
|
686
|
+
if (this._def.coerce && (e.data = Number(e.data)), this._getType(e) !== h.number) {
|
|
687
|
+
const a = this._getOrReturnCtx(e);
|
|
688
|
+
return u(a, {
|
|
689
|
+
code: c.invalid_type,
|
|
690
|
+
expected: h.number,
|
|
691
|
+
received: a.parsedType
|
|
692
|
+
}), p;
|
|
693
|
+
}
|
|
694
|
+
let s;
|
|
695
|
+
const r = new w();
|
|
696
|
+
for (const a of this._def.checks)
|
|
697
|
+
a.kind === "int" ? v.isInteger(e.data) || (s = this._getOrReturnCtx(e, s), u(s, {
|
|
698
|
+
code: c.invalid_type,
|
|
699
|
+
expected: "integer",
|
|
700
|
+
received: "float",
|
|
701
|
+
message: a.message
|
|
702
|
+
}), r.dirty()) : a.kind === "min" ? (a.inclusive ? e.data < a.value : e.data <= a.value) && (s = this._getOrReturnCtx(e, s), u(s, {
|
|
703
|
+
code: c.too_small,
|
|
704
|
+
minimum: a.value,
|
|
705
|
+
type: "number",
|
|
706
|
+
inclusive: a.inclusive,
|
|
707
|
+
exact: !1,
|
|
708
|
+
message: a.message
|
|
709
|
+
}), r.dirty()) : a.kind === "max" ? (a.inclusive ? e.data > a.value : e.data >= a.value) && (s = this._getOrReturnCtx(e, s), u(s, {
|
|
710
|
+
code: c.too_big,
|
|
711
|
+
maximum: a.value,
|
|
712
|
+
type: "number",
|
|
713
|
+
inclusive: a.inclusive,
|
|
714
|
+
exact: !1,
|
|
715
|
+
message: a.message
|
|
716
|
+
}), r.dirty()) : a.kind === "multipleOf" ? Me(e.data, a.value) !== 0 && (s = this._getOrReturnCtx(e, s), u(s, {
|
|
717
|
+
code: c.not_multiple_of,
|
|
718
|
+
multipleOf: a.value,
|
|
719
|
+
message: a.message
|
|
720
|
+
}), r.dirty()) : a.kind === "finite" ? Number.isFinite(e.data) || (s = this._getOrReturnCtx(e, s), u(s, {
|
|
721
|
+
code: c.not_finite,
|
|
722
|
+
message: a.message
|
|
723
|
+
}), r.dirty()) : v.assertNever(a);
|
|
724
|
+
return { status: r.value, value: e.data };
|
|
725
|
+
}
|
|
726
|
+
gte(e, t) {
|
|
727
|
+
return this.setLimit("min", e, !0, o.toString(t));
|
|
728
|
+
}
|
|
729
|
+
gt(e, t) {
|
|
730
|
+
return this.setLimit("min", e, !1, o.toString(t));
|
|
731
|
+
}
|
|
732
|
+
lte(e, t) {
|
|
733
|
+
return this.setLimit("max", e, !0, o.toString(t));
|
|
734
|
+
}
|
|
735
|
+
lt(e, t) {
|
|
736
|
+
return this.setLimit("max", e, !1, o.toString(t));
|
|
737
|
+
}
|
|
738
|
+
setLimit(e, t, s, r) {
|
|
739
|
+
return new M({
|
|
740
|
+
...this._def,
|
|
741
|
+
checks: [
|
|
742
|
+
...this._def.checks,
|
|
743
|
+
{
|
|
744
|
+
kind: e,
|
|
745
|
+
value: t,
|
|
746
|
+
inclusive: s,
|
|
747
|
+
message: o.toString(r)
|
|
748
|
+
}
|
|
749
|
+
]
|
|
750
|
+
});
|
|
751
|
+
}
|
|
752
|
+
_addCheck(e) {
|
|
753
|
+
return new M({
|
|
754
|
+
...this._def,
|
|
755
|
+
checks: [...this._def.checks, e]
|
|
756
|
+
});
|
|
757
|
+
}
|
|
758
|
+
int(e) {
|
|
759
|
+
return this._addCheck({
|
|
760
|
+
kind: "int",
|
|
761
|
+
message: o.toString(e)
|
|
762
|
+
});
|
|
763
|
+
}
|
|
764
|
+
positive(e) {
|
|
765
|
+
return this._addCheck({
|
|
766
|
+
kind: "min",
|
|
767
|
+
value: 0,
|
|
768
|
+
inclusive: !1,
|
|
769
|
+
message: o.toString(e)
|
|
770
|
+
});
|
|
771
|
+
}
|
|
772
|
+
negative(e) {
|
|
773
|
+
return this._addCheck({
|
|
774
|
+
kind: "max",
|
|
775
|
+
value: 0,
|
|
776
|
+
inclusive: !1,
|
|
777
|
+
message: o.toString(e)
|
|
778
|
+
});
|
|
779
|
+
}
|
|
780
|
+
nonpositive(e) {
|
|
781
|
+
return this._addCheck({
|
|
782
|
+
kind: "max",
|
|
783
|
+
value: 0,
|
|
784
|
+
inclusive: !0,
|
|
785
|
+
message: o.toString(e)
|
|
786
|
+
});
|
|
787
|
+
}
|
|
788
|
+
nonnegative(e) {
|
|
789
|
+
return this._addCheck({
|
|
790
|
+
kind: "min",
|
|
791
|
+
value: 0,
|
|
792
|
+
inclusive: !0,
|
|
793
|
+
message: o.toString(e)
|
|
794
|
+
});
|
|
795
|
+
}
|
|
796
|
+
multipleOf(e, t) {
|
|
797
|
+
return this._addCheck({
|
|
798
|
+
kind: "multipleOf",
|
|
799
|
+
value: e,
|
|
800
|
+
message: o.toString(t)
|
|
801
|
+
});
|
|
802
|
+
}
|
|
803
|
+
finite(e) {
|
|
804
|
+
return this._addCheck({
|
|
805
|
+
kind: "finite",
|
|
806
|
+
message: o.toString(e)
|
|
807
|
+
});
|
|
808
|
+
}
|
|
809
|
+
safe(e) {
|
|
810
|
+
return this._addCheck({
|
|
811
|
+
kind: "min",
|
|
812
|
+
inclusive: !0,
|
|
813
|
+
value: Number.MIN_SAFE_INTEGER,
|
|
814
|
+
message: o.toString(e)
|
|
815
|
+
})._addCheck({
|
|
816
|
+
kind: "max",
|
|
817
|
+
inclusive: !0,
|
|
818
|
+
value: Number.MAX_SAFE_INTEGER,
|
|
819
|
+
message: o.toString(e)
|
|
820
|
+
});
|
|
821
|
+
}
|
|
822
|
+
get minValue() {
|
|
823
|
+
let e = null;
|
|
824
|
+
for (const t of this._def.checks)
|
|
825
|
+
t.kind === "min" && (e === null || t.value > e) && (e = t.value);
|
|
826
|
+
return e;
|
|
827
|
+
}
|
|
828
|
+
get maxValue() {
|
|
829
|
+
let e = null;
|
|
830
|
+
for (const t of this._def.checks)
|
|
831
|
+
t.kind === "max" && (e === null || t.value < e) && (e = t.value);
|
|
832
|
+
return e;
|
|
833
|
+
}
|
|
834
|
+
get isInt() {
|
|
835
|
+
return !!this._def.checks.find((e) => e.kind === "int" || e.kind === "multipleOf" && v.isInteger(e.value));
|
|
836
|
+
}
|
|
837
|
+
get isFinite() {
|
|
838
|
+
let e = null, t = null;
|
|
839
|
+
for (const s of this._def.checks) {
|
|
840
|
+
if (s.kind === "finite" || s.kind === "int" || s.kind === "multipleOf")
|
|
841
|
+
return !0;
|
|
842
|
+
s.kind === "min" ? (t === null || s.value > t) && (t = s.value) : s.kind === "max" && (e === null || s.value < e) && (e = s.value);
|
|
843
|
+
}
|
|
844
|
+
return Number.isFinite(t) && Number.isFinite(e);
|
|
845
|
+
}
|
|
846
|
+
}
|
|
847
|
+
M.create = (n) => new M({
|
|
848
|
+
checks: [],
|
|
849
|
+
typeName: f.ZodNumber,
|
|
850
|
+
coerce: (n == null ? void 0 : n.coerce) || !1,
|
|
851
|
+
..._(n)
|
|
852
|
+
});
|
|
853
|
+
class P extends g {
|
|
854
|
+
constructor() {
|
|
855
|
+
super(...arguments), this.min = this.gte, this.max = this.lte;
|
|
856
|
+
}
|
|
857
|
+
_parse(e) {
|
|
858
|
+
if (this._def.coerce)
|
|
859
|
+
try {
|
|
860
|
+
e.data = BigInt(e.data);
|
|
861
|
+
} catch {
|
|
862
|
+
return this._getInvalidInput(e);
|
|
863
|
+
}
|
|
864
|
+
if (this._getType(e) !== h.bigint)
|
|
865
|
+
return this._getInvalidInput(e);
|
|
866
|
+
let s;
|
|
867
|
+
const r = new w();
|
|
868
|
+
for (const a of this._def.checks)
|
|
869
|
+
a.kind === "min" ? (a.inclusive ? e.data < a.value : e.data <= a.value) && (s = this._getOrReturnCtx(e, s), u(s, {
|
|
870
|
+
code: c.too_small,
|
|
871
|
+
type: "bigint",
|
|
872
|
+
minimum: a.value,
|
|
873
|
+
inclusive: a.inclusive,
|
|
874
|
+
message: a.message
|
|
875
|
+
}), r.dirty()) : a.kind === "max" ? (a.inclusive ? e.data > a.value : e.data >= a.value) && (s = this._getOrReturnCtx(e, s), u(s, {
|
|
876
|
+
code: c.too_big,
|
|
877
|
+
type: "bigint",
|
|
878
|
+
maximum: a.value,
|
|
879
|
+
inclusive: a.inclusive,
|
|
880
|
+
message: a.message
|
|
881
|
+
}), r.dirty()) : a.kind === "multipleOf" ? e.data % a.value !== BigInt(0) && (s = this._getOrReturnCtx(e, s), u(s, {
|
|
882
|
+
code: c.not_multiple_of,
|
|
883
|
+
multipleOf: a.value,
|
|
884
|
+
message: a.message
|
|
885
|
+
}), r.dirty()) : v.assertNever(a);
|
|
886
|
+
return { status: r.value, value: e.data };
|
|
887
|
+
}
|
|
888
|
+
_getInvalidInput(e) {
|
|
889
|
+
const t = this._getOrReturnCtx(e);
|
|
890
|
+
return u(t, {
|
|
891
|
+
code: c.invalid_type,
|
|
892
|
+
expected: h.bigint,
|
|
893
|
+
received: t.parsedType
|
|
894
|
+
}), p;
|
|
895
|
+
}
|
|
896
|
+
gte(e, t) {
|
|
897
|
+
return this.setLimit("min", e, !0, o.toString(t));
|
|
898
|
+
}
|
|
899
|
+
gt(e, t) {
|
|
900
|
+
return this.setLimit("min", e, !1, o.toString(t));
|
|
901
|
+
}
|
|
902
|
+
lte(e, t) {
|
|
903
|
+
return this.setLimit("max", e, !0, o.toString(t));
|
|
904
|
+
}
|
|
905
|
+
lt(e, t) {
|
|
906
|
+
return this.setLimit("max", e, !1, o.toString(t));
|
|
907
|
+
}
|
|
908
|
+
setLimit(e, t, s, r) {
|
|
909
|
+
return new P({
|
|
910
|
+
...this._def,
|
|
911
|
+
checks: [
|
|
912
|
+
...this._def.checks,
|
|
913
|
+
{
|
|
914
|
+
kind: e,
|
|
915
|
+
value: t,
|
|
916
|
+
inclusive: s,
|
|
917
|
+
message: o.toString(r)
|
|
918
|
+
}
|
|
919
|
+
]
|
|
920
|
+
});
|
|
921
|
+
}
|
|
922
|
+
_addCheck(e) {
|
|
923
|
+
return new P({
|
|
924
|
+
...this._def,
|
|
925
|
+
checks: [...this._def.checks, e]
|
|
926
|
+
});
|
|
927
|
+
}
|
|
928
|
+
positive(e) {
|
|
929
|
+
return this._addCheck({
|
|
930
|
+
kind: "min",
|
|
931
|
+
value: BigInt(0),
|
|
932
|
+
inclusive: !1,
|
|
933
|
+
message: o.toString(e)
|
|
934
|
+
});
|
|
935
|
+
}
|
|
936
|
+
negative(e) {
|
|
937
|
+
return this._addCheck({
|
|
938
|
+
kind: "max",
|
|
939
|
+
value: BigInt(0),
|
|
940
|
+
inclusive: !1,
|
|
941
|
+
message: o.toString(e)
|
|
942
|
+
});
|
|
943
|
+
}
|
|
944
|
+
nonpositive(e) {
|
|
945
|
+
return this._addCheck({
|
|
946
|
+
kind: "max",
|
|
947
|
+
value: BigInt(0),
|
|
948
|
+
inclusive: !0,
|
|
949
|
+
message: o.toString(e)
|
|
950
|
+
});
|
|
951
|
+
}
|
|
952
|
+
nonnegative(e) {
|
|
953
|
+
return this._addCheck({
|
|
954
|
+
kind: "min",
|
|
955
|
+
value: BigInt(0),
|
|
956
|
+
inclusive: !0,
|
|
957
|
+
message: o.toString(e)
|
|
958
|
+
});
|
|
959
|
+
}
|
|
960
|
+
multipleOf(e, t) {
|
|
961
|
+
return this._addCheck({
|
|
962
|
+
kind: "multipleOf",
|
|
963
|
+
value: e,
|
|
964
|
+
message: o.toString(t)
|
|
965
|
+
});
|
|
966
|
+
}
|
|
967
|
+
get minValue() {
|
|
968
|
+
let e = null;
|
|
969
|
+
for (const t of this._def.checks)
|
|
970
|
+
t.kind === "min" && (e === null || t.value > e) && (e = t.value);
|
|
971
|
+
return e;
|
|
972
|
+
}
|
|
973
|
+
get maxValue() {
|
|
974
|
+
let e = null;
|
|
975
|
+
for (const t of this._def.checks)
|
|
976
|
+
t.kind === "max" && (e === null || t.value < e) && (e = t.value);
|
|
977
|
+
return e;
|
|
978
|
+
}
|
|
979
|
+
}
|
|
980
|
+
P.create = (n) => new P({
|
|
981
|
+
checks: [],
|
|
982
|
+
typeName: f.ZodBigInt,
|
|
983
|
+
coerce: (n == null ? void 0 : n.coerce) ?? !1,
|
|
984
|
+
..._(n)
|
|
985
|
+
});
|
|
986
|
+
class te extends g {
|
|
987
|
+
_parse(e) {
|
|
988
|
+
if (this._def.coerce && (e.data = !!e.data), this._getType(e) !== h.boolean) {
|
|
989
|
+
const s = this._getOrReturnCtx(e);
|
|
990
|
+
return u(s, {
|
|
991
|
+
code: c.invalid_type,
|
|
992
|
+
expected: h.boolean,
|
|
993
|
+
received: s.parsedType
|
|
994
|
+
}), p;
|
|
995
|
+
}
|
|
996
|
+
return k(e.data);
|
|
997
|
+
}
|
|
998
|
+
}
|
|
999
|
+
te.create = (n) => new te({
|
|
1000
|
+
typeName: f.ZodBoolean,
|
|
1001
|
+
coerce: (n == null ? void 0 : n.coerce) || !1,
|
|
1002
|
+
..._(n)
|
|
1003
|
+
});
|
|
1004
|
+
class U extends g {
|
|
1005
|
+
_parse(e) {
|
|
1006
|
+
if (this._def.coerce && (e.data = new Date(e.data)), this._getType(e) !== h.date) {
|
|
1007
|
+
const a = this._getOrReturnCtx(e);
|
|
1008
|
+
return u(a, {
|
|
1009
|
+
code: c.invalid_type,
|
|
1010
|
+
expected: h.date,
|
|
1011
|
+
received: a.parsedType
|
|
1012
|
+
}), p;
|
|
1013
|
+
}
|
|
1014
|
+
if (Number.isNaN(e.data.getTime())) {
|
|
1015
|
+
const a = this._getOrReturnCtx(e);
|
|
1016
|
+
return u(a, {
|
|
1017
|
+
code: c.invalid_date
|
|
1018
|
+
}), p;
|
|
1019
|
+
}
|
|
1020
|
+
const s = new w();
|
|
1021
|
+
let r;
|
|
1022
|
+
for (const a of this._def.checks)
|
|
1023
|
+
a.kind === "min" ? e.data.getTime() < a.value && (r = this._getOrReturnCtx(e, r), u(r, {
|
|
1024
|
+
code: c.too_small,
|
|
1025
|
+
message: a.message,
|
|
1026
|
+
inclusive: !0,
|
|
1027
|
+
exact: !1,
|
|
1028
|
+
minimum: a.value,
|
|
1029
|
+
type: "date"
|
|
1030
|
+
}), s.dirty()) : a.kind === "max" ? e.data.getTime() > a.value && (r = this._getOrReturnCtx(e, r), u(r, {
|
|
1031
|
+
code: c.too_big,
|
|
1032
|
+
message: a.message,
|
|
1033
|
+
inclusive: !0,
|
|
1034
|
+
exact: !1,
|
|
1035
|
+
maximum: a.value,
|
|
1036
|
+
type: "date"
|
|
1037
|
+
}), s.dirty()) : v.assertNever(a);
|
|
1038
|
+
return {
|
|
1039
|
+
status: s.value,
|
|
1040
|
+
value: new Date(e.data.getTime())
|
|
1041
|
+
};
|
|
1042
|
+
}
|
|
1043
|
+
_addCheck(e) {
|
|
1044
|
+
return new U({
|
|
1045
|
+
...this._def,
|
|
1046
|
+
checks: [...this._def.checks, e]
|
|
1047
|
+
});
|
|
1048
|
+
}
|
|
1049
|
+
min(e, t) {
|
|
1050
|
+
return this._addCheck({
|
|
1051
|
+
kind: "min",
|
|
1052
|
+
value: e.getTime(),
|
|
1053
|
+
message: o.toString(t)
|
|
1054
|
+
});
|
|
1055
|
+
}
|
|
1056
|
+
max(e, t) {
|
|
1057
|
+
return this._addCheck({
|
|
1058
|
+
kind: "max",
|
|
1059
|
+
value: e.getTime(),
|
|
1060
|
+
message: o.toString(t)
|
|
1061
|
+
});
|
|
1062
|
+
}
|
|
1063
|
+
get minDate() {
|
|
1064
|
+
let e = null;
|
|
1065
|
+
for (const t of this._def.checks)
|
|
1066
|
+
t.kind === "min" && (e === null || t.value > e) && (e = t.value);
|
|
1067
|
+
return e != null ? new Date(e) : null;
|
|
1068
|
+
}
|
|
1069
|
+
get maxDate() {
|
|
1070
|
+
let e = null;
|
|
1071
|
+
for (const t of this._def.checks)
|
|
1072
|
+
t.kind === "max" && (e === null || t.value < e) && (e = t.value);
|
|
1073
|
+
return e != null ? new Date(e) : null;
|
|
1074
|
+
}
|
|
1075
|
+
}
|
|
1076
|
+
U.create = (n) => new U({
|
|
1077
|
+
checks: [],
|
|
1078
|
+
coerce: (n == null ? void 0 : n.coerce) || !1,
|
|
1079
|
+
typeName: f.ZodDate,
|
|
1080
|
+
..._(n)
|
|
1081
|
+
});
|
|
1082
|
+
class se extends g {
|
|
1083
|
+
_parse(e) {
|
|
1084
|
+
if (this._getType(e) !== h.symbol) {
|
|
1085
|
+
const s = this._getOrReturnCtx(e);
|
|
1086
|
+
return u(s, {
|
|
1087
|
+
code: c.invalid_type,
|
|
1088
|
+
expected: h.symbol,
|
|
1089
|
+
received: s.parsedType
|
|
1090
|
+
}), p;
|
|
1091
|
+
}
|
|
1092
|
+
return k(e.data);
|
|
1093
|
+
}
|
|
1094
|
+
}
|
|
1095
|
+
se.create = (n) => new se({
|
|
1096
|
+
typeName: f.ZodSymbol,
|
|
1097
|
+
..._(n)
|
|
1098
|
+
});
|
|
1099
|
+
class re extends g {
|
|
1100
|
+
_parse(e) {
|
|
1101
|
+
if (this._getType(e) !== h.undefined) {
|
|
1102
|
+
const s = this._getOrReturnCtx(e);
|
|
1103
|
+
return u(s, {
|
|
1104
|
+
code: c.invalid_type,
|
|
1105
|
+
expected: h.undefined,
|
|
1106
|
+
received: s.parsedType
|
|
1107
|
+
}), p;
|
|
1108
|
+
}
|
|
1109
|
+
return k(e.data);
|
|
1110
|
+
}
|
|
1111
|
+
}
|
|
1112
|
+
re.create = (n) => new re({
|
|
1113
|
+
typeName: f.ZodUndefined,
|
|
1114
|
+
..._(n)
|
|
1115
|
+
});
|
|
1116
|
+
class ae extends g {
|
|
1117
|
+
_parse(e) {
|
|
1118
|
+
if (this._getType(e) !== h.null) {
|
|
1119
|
+
const s = this._getOrReturnCtx(e);
|
|
1120
|
+
return u(s, {
|
|
1121
|
+
code: c.invalid_type,
|
|
1122
|
+
expected: h.null,
|
|
1123
|
+
received: s.parsedType
|
|
1124
|
+
}), p;
|
|
1125
|
+
}
|
|
1126
|
+
return k(e.data);
|
|
1127
|
+
}
|
|
1128
|
+
}
|
|
1129
|
+
ae.create = (n) => new ae({
|
|
1130
|
+
typeName: f.ZodNull,
|
|
1131
|
+
..._(n)
|
|
1132
|
+
});
|
|
1133
|
+
class ne extends g {
|
|
1134
|
+
constructor() {
|
|
1135
|
+
super(...arguments), this._any = !0;
|
|
1136
|
+
}
|
|
1137
|
+
_parse(e) {
|
|
1138
|
+
return k(e.data);
|
|
1139
|
+
}
|
|
1140
|
+
}
|
|
1141
|
+
ne.create = (n) => new ne({
|
|
1142
|
+
typeName: f.ZodAny,
|
|
1143
|
+
..._(n)
|
|
1144
|
+
});
|
|
1145
|
+
class ie extends g {
|
|
1146
|
+
constructor() {
|
|
1147
|
+
super(...arguments), this._unknown = !0;
|
|
1148
|
+
}
|
|
1149
|
+
_parse(e) {
|
|
1150
|
+
return k(e.data);
|
|
1151
|
+
}
|
|
1152
|
+
}
|
|
1153
|
+
ie.create = (n) => new ie({
|
|
1154
|
+
typeName: f.ZodUnknown,
|
|
1155
|
+
..._(n)
|
|
1156
|
+
});
|
|
1157
|
+
class S extends g {
|
|
1158
|
+
_parse(e) {
|
|
1159
|
+
const t = this._getOrReturnCtx(e);
|
|
1160
|
+
return u(t, {
|
|
1161
|
+
code: c.invalid_type,
|
|
1162
|
+
expected: h.never,
|
|
1163
|
+
received: t.parsedType
|
|
1164
|
+
}), p;
|
|
1165
|
+
}
|
|
1166
|
+
}
|
|
1167
|
+
S.create = (n) => new S({
|
|
1168
|
+
typeName: f.ZodNever,
|
|
1169
|
+
..._(n)
|
|
1170
|
+
});
|
|
1171
|
+
class de extends g {
|
|
1172
|
+
_parse(e) {
|
|
1173
|
+
if (this._getType(e) !== h.undefined) {
|
|
1174
|
+
const s = this._getOrReturnCtx(e);
|
|
1175
|
+
return u(s, {
|
|
1176
|
+
code: c.invalid_type,
|
|
1177
|
+
expected: h.void,
|
|
1178
|
+
received: s.parsedType
|
|
1179
|
+
}), p;
|
|
1180
|
+
}
|
|
1181
|
+
return k(e.data);
|
|
1182
|
+
}
|
|
1183
|
+
}
|
|
1184
|
+
de.create = (n) => new de({
|
|
1185
|
+
typeName: f.ZodVoid,
|
|
1186
|
+
..._(n)
|
|
1187
|
+
});
|
|
1188
|
+
class b extends g {
|
|
1189
|
+
_parse(e) {
|
|
1190
|
+
const { ctx: t, status: s } = this._processInputParams(e), r = this._def;
|
|
1191
|
+
if (t.parsedType !== h.array)
|
|
1192
|
+
return u(t, {
|
|
1193
|
+
code: c.invalid_type,
|
|
1194
|
+
expected: h.array,
|
|
1195
|
+
received: t.parsedType
|
|
1196
|
+
}), p;
|
|
1197
|
+
if (r.exactLength !== null) {
|
|
1198
|
+
const d = t.data.length > r.exactLength.value, i = t.data.length < r.exactLength.value;
|
|
1199
|
+
(d || i) && (u(t, {
|
|
1200
|
+
code: d ? c.too_big : c.too_small,
|
|
1201
|
+
minimum: i ? r.exactLength.value : void 0,
|
|
1202
|
+
maximum: d ? r.exactLength.value : void 0,
|
|
1203
|
+
type: "array",
|
|
1204
|
+
inclusive: !0,
|
|
1205
|
+
exact: !0,
|
|
1206
|
+
message: r.exactLength.message
|
|
1207
|
+
}), s.dirty());
|
|
1208
|
+
}
|
|
1209
|
+
if (r.minLength !== null && t.data.length < r.minLength.value && (u(t, {
|
|
1210
|
+
code: c.too_small,
|
|
1211
|
+
minimum: r.minLength.value,
|
|
1212
|
+
type: "array",
|
|
1213
|
+
inclusive: !0,
|
|
1214
|
+
exact: !1,
|
|
1215
|
+
message: r.minLength.message
|
|
1216
|
+
}), s.dirty()), r.maxLength !== null && t.data.length > r.maxLength.value && (u(t, {
|
|
1217
|
+
code: c.too_big,
|
|
1218
|
+
maximum: r.maxLength.value,
|
|
1219
|
+
type: "array",
|
|
1220
|
+
inclusive: !0,
|
|
1221
|
+
exact: !1,
|
|
1222
|
+
message: r.maxLength.message
|
|
1223
|
+
}), s.dirty()), t.common.async)
|
|
1224
|
+
return Promise.all([...t.data].map((d, i) => r.type._parseAsync(new A(t, d, t.path, i)))).then((d) => w.mergeArray(s, d));
|
|
1225
|
+
const a = [...t.data].map((d, i) => r.type._parseSync(new A(t, d, t.path, i)));
|
|
1226
|
+
return w.mergeArray(s, a);
|
|
1227
|
+
}
|
|
1228
|
+
get element() {
|
|
1229
|
+
return this._def.type;
|
|
1230
|
+
}
|
|
1231
|
+
min(e, t) {
|
|
1232
|
+
return new b({
|
|
1233
|
+
...this._def,
|
|
1234
|
+
minLength: { value: e, message: o.toString(t) }
|
|
1235
|
+
});
|
|
1236
|
+
}
|
|
1237
|
+
max(e, t) {
|
|
1238
|
+
return new b({
|
|
1239
|
+
...this._def,
|
|
1240
|
+
maxLength: { value: e, message: o.toString(t) }
|
|
1241
|
+
});
|
|
1242
|
+
}
|
|
1243
|
+
length(e, t) {
|
|
1244
|
+
return new b({
|
|
1245
|
+
...this._def,
|
|
1246
|
+
exactLength: { value: e, message: o.toString(t) }
|
|
1247
|
+
});
|
|
1248
|
+
}
|
|
1249
|
+
nonempty(e) {
|
|
1250
|
+
return this.min(1, e);
|
|
1251
|
+
}
|
|
1252
|
+
}
|
|
1253
|
+
b.create = (n, e) => new b({
|
|
1254
|
+
type: n,
|
|
1255
|
+
minLength: null,
|
|
1256
|
+
maxLength: null,
|
|
1257
|
+
exactLength: null,
|
|
1258
|
+
typeName: f.ZodArray,
|
|
1259
|
+
..._(e)
|
|
1260
|
+
});
|
|
1261
|
+
function R(n) {
|
|
1262
|
+
if (n instanceof x) {
|
|
1263
|
+
const e = {};
|
|
1264
|
+
for (const t in n.shape) {
|
|
1265
|
+
const s = n.shape[t];
|
|
1266
|
+
e[t] = Z.create(R(s));
|
|
1267
|
+
}
|
|
1268
|
+
return new x({
|
|
1269
|
+
...n._def,
|
|
1270
|
+
shape: () => e
|
|
1271
|
+
});
|
|
1272
|
+
} else return n instanceof b ? new b({
|
|
1273
|
+
...n._def,
|
|
1274
|
+
type: R(n.element)
|
|
1275
|
+
}) : n instanceof Z ? Z.create(R(n.unwrap())) : n instanceof E ? E.create(R(n.unwrap())) : n instanceof O ? O.create(n.items.map((e) => R(e))) : n;
|
|
1276
|
+
}
|
|
1277
|
+
class x extends g {
|
|
1278
|
+
constructor() {
|
|
1279
|
+
super(...arguments), this._cached = null, this.nonstrict = this.passthrough, this.augment = this.extend;
|
|
1280
|
+
}
|
|
1281
|
+
_getCached() {
|
|
1282
|
+
if (this._cached !== null)
|
|
1283
|
+
return this._cached;
|
|
1284
|
+
const e = this._def.shape(), t = v.objectKeys(e);
|
|
1285
|
+
return this._cached = { shape: e, keys: t }, this._cached;
|
|
1286
|
+
}
|
|
1287
|
+
_parse(e) {
|
|
1288
|
+
if (this._getType(e) !== h.object) {
|
|
1289
|
+
const m = this._getOrReturnCtx(e);
|
|
1290
|
+
return u(m, {
|
|
1291
|
+
code: c.invalid_type,
|
|
1292
|
+
expected: h.object,
|
|
1293
|
+
received: m.parsedType
|
|
1294
|
+
}), p;
|
|
1295
|
+
}
|
|
1296
|
+
const { status: s, ctx: r } = this._processInputParams(e), { shape: a, keys: d } = this._getCached(), i = [];
|
|
1297
|
+
if (!(this._def.catchall instanceof S && this._def.unknownKeys === "strip"))
|
|
1298
|
+
for (const m in r.data)
|
|
1299
|
+
d.includes(m) || i.push(m);
|
|
1300
|
+
const l = [];
|
|
1301
|
+
for (const m of d) {
|
|
1302
|
+
const y = a[m], L = r.data[m];
|
|
1303
|
+
l.push({
|
|
1304
|
+
key: { status: "valid", value: m },
|
|
1305
|
+
value: y._parse(new A(r, L, r.path, m)),
|
|
1306
|
+
alwaysSet: m in r.data
|
|
1307
|
+
});
|
|
1308
|
+
}
|
|
1309
|
+
if (this._def.catchall instanceof S) {
|
|
1310
|
+
const m = this._def.unknownKeys;
|
|
1311
|
+
if (m === "passthrough")
|
|
1312
|
+
for (const y of i)
|
|
1313
|
+
l.push({
|
|
1314
|
+
key: { status: "valid", value: y },
|
|
1315
|
+
value: { status: "valid", value: r.data[y] }
|
|
1316
|
+
});
|
|
1317
|
+
else if (m === "strict")
|
|
1318
|
+
i.length > 0 && (u(r, {
|
|
1319
|
+
code: c.unrecognized_keys,
|
|
1320
|
+
keys: i
|
|
1321
|
+
}), s.dirty());
|
|
1322
|
+
else if (m !== "strip") throw new Error("Internal ZodObject error: invalid unknownKeys value.");
|
|
1323
|
+
} else {
|
|
1324
|
+
const m = this._def.catchall;
|
|
1325
|
+
for (const y of i) {
|
|
1326
|
+
const L = r.data[y];
|
|
1327
|
+
l.push({
|
|
1328
|
+
key: { status: "valid", value: y },
|
|
1329
|
+
value: m._parse(
|
|
1330
|
+
new A(r, L, r.path, y)
|
|
1331
|
+
//, ctx.child(key), value, getParsedType(value)
|
|
1332
|
+
),
|
|
1333
|
+
alwaysSet: y in r.data
|
|
1334
|
+
});
|
|
1335
|
+
}
|
|
1336
|
+
}
|
|
1337
|
+
return r.common.async ? Promise.resolve().then(async () => {
|
|
1338
|
+
const m = [];
|
|
1339
|
+
for (const y of l) {
|
|
1340
|
+
const L = await y.key, _e = await y.value;
|
|
1341
|
+
m.push({
|
|
1342
|
+
key: L,
|
|
1343
|
+
value: _e,
|
|
1344
|
+
alwaysSet: y.alwaysSet
|
|
1345
|
+
});
|
|
1346
|
+
}
|
|
1347
|
+
return m;
|
|
1348
|
+
}).then((m) => w.mergeObjectSync(s, m)) : w.mergeObjectSync(s, l);
|
|
1349
|
+
}
|
|
1350
|
+
get shape() {
|
|
1351
|
+
return this._def.shape();
|
|
1352
|
+
}
|
|
1353
|
+
strict(e) {
|
|
1354
|
+
return o.errToObj, new x({
|
|
1355
|
+
...this._def,
|
|
1356
|
+
unknownKeys: "strict",
|
|
1357
|
+
...e !== void 0 ? {
|
|
1358
|
+
errorMap: (t, s) => {
|
|
1359
|
+
var a, d;
|
|
1360
|
+
const r = ((d = (a = this._def).errorMap) == null ? void 0 : d.call(a, t, s).message) ?? s.defaultError;
|
|
1361
|
+
return t.code === "unrecognized_keys" ? {
|
|
1362
|
+
message: o.errToObj(e).message ?? r
|
|
1363
|
+
} : {
|
|
1364
|
+
message: r
|
|
1365
|
+
};
|
|
1366
|
+
}
|
|
1367
|
+
} : {}
|
|
1368
|
+
});
|
|
1369
|
+
}
|
|
1370
|
+
strip() {
|
|
1371
|
+
return new x({
|
|
1372
|
+
...this._def,
|
|
1373
|
+
unknownKeys: "strip"
|
|
1374
|
+
});
|
|
1375
|
+
}
|
|
1376
|
+
passthrough() {
|
|
1377
|
+
return new x({
|
|
1378
|
+
...this._def,
|
|
1379
|
+
unknownKeys: "passthrough"
|
|
1380
|
+
});
|
|
1381
|
+
}
|
|
1382
|
+
// const AugmentFactory =
|
|
1383
|
+
// <Def extends ZodObjectDef>(def: Def) =>
|
|
1384
|
+
// <Augmentation extends ZodRawShape>(
|
|
1385
|
+
// augmentation: Augmentation
|
|
1386
|
+
// ): ZodObject<
|
|
1387
|
+
// extendShape<ReturnType<Def["shape"]>, Augmentation>,
|
|
1388
|
+
// Def["unknownKeys"],
|
|
1389
|
+
// Def["catchall"]
|
|
1390
|
+
// > => {
|
|
1391
|
+
// return new ZodObject({
|
|
1392
|
+
// ...def,
|
|
1393
|
+
// shape: () => ({
|
|
1394
|
+
// ...def.shape(),
|
|
1395
|
+
// ...augmentation,
|
|
1396
|
+
// }),
|
|
1397
|
+
// }) as any;
|
|
1398
|
+
// };
|
|
1399
|
+
extend(e) {
|
|
1400
|
+
return new x({
|
|
1401
|
+
...this._def,
|
|
1402
|
+
shape: () => ({
|
|
1403
|
+
...this._def.shape(),
|
|
1404
|
+
...e
|
|
1405
|
+
})
|
|
1406
|
+
});
|
|
1407
|
+
}
|
|
1408
|
+
/**
|
|
1409
|
+
* Prior to zod@1.0.12 there was a bug in the
|
|
1410
|
+
* inferred type of merged objects. Please
|
|
1411
|
+
* upgrade if you are experiencing issues.
|
|
1412
|
+
*/
|
|
1413
|
+
merge(e) {
|
|
1414
|
+
return new x({
|
|
1415
|
+
unknownKeys: e._def.unknownKeys,
|
|
1416
|
+
catchall: e._def.catchall,
|
|
1417
|
+
shape: () => ({
|
|
1418
|
+
...this._def.shape(),
|
|
1419
|
+
...e._def.shape()
|
|
1420
|
+
}),
|
|
1421
|
+
typeName: f.ZodObject
|
|
1422
|
+
});
|
|
1423
|
+
}
|
|
1424
|
+
// merge<
|
|
1425
|
+
// Incoming extends AnyZodObject,
|
|
1426
|
+
// Augmentation extends Incoming["shape"],
|
|
1427
|
+
// NewOutput extends {
|
|
1428
|
+
// [k in keyof Augmentation | keyof Output]: k extends keyof Augmentation
|
|
1429
|
+
// ? Augmentation[k]["_output"]
|
|
1430
|
+
// : k extends keyof Output
|
|
1431
|
+
// ? Output[k]
|
|
1432
|
+
// : never;
|
|
1433
|
+
// },
|
|
1434
|
+
// NewInput extends {
|
|
1435
|
+
// [k in keyof Augmentation | keyof Input]: k extends keyof Augmentation
|
|
1436
|
+
// ? Augmentation[k]["_input"]
|
|
1437
|
+
// : k extends keyof Input
|
|
1438
|
+
// ? Input[k]
|
|
1439
|
+
// : never;
|
|
1440
|
+
// }
|
|
1441
|
+
// >(
|
|
1442
|
+
// merging: Incoming
|
|
1443
|
+
// ): ZodObject<
|
|
1444
|
+
// extendShape<T, ReturnType<Incoming["_def"]["shape"]>>,
|
|
1445
|
+
// Incoming["_def"]["unknownKeys"],
|
|
1446
|
+
// Incoming["_def"]["catchall"],
|
|
1447
|
+
// NewOutput,
|
|
1448
|
+
// NewInput
|
|
1449
|
+
// > {
|
|
1450
|
+
// const merged: any = new ZodObject({
|
|
1451
|
+
// unknownKeys: merging._def.unknownKeys,
|
|
1452
|
+
// catchall: merging._def.catchall,
|
|
1453
|
+
// shape: () =>
|
|
1454
|
+
// objectUtil.mergeShapes(this._def.shape(), merging._def.shape()),
|
|
1455
|
+
// typeName: ZodFirstPartyTypeKind.ZodObject,
|
|
1456
|
+
// }) as any;
|
|
1457
|
+
// return merged;
|
|
1458
|
+
// }
|
|
1459
|
+
setKey(e, t) {
|
|
1460
|
+
return this.augment({ [e]: t });
|
|
1461
|
+
}
|
|
1462
|
+
// merge<Incoming extends AnyZodObject>(
|
|
1463
|
+
// merging: Incoming
|
|
1464
|
+
// ): //ZodObject<T & Incoming["_shape"], UnknownKeys, Catchall> = (merging) => {
|
|
1465
|
+
// ZodObject<
|
|
1466
|
+
// extendShape<T, ReturnType<Incoming["_def"]["shape"]>>,
|
|
1467
|
+
// Incoming["_def"]["unknownKeys"],
|
|
1468
|
+
// Incoming["_def"]["catchall"]
|
|
1469
|
+
// > {
|
|
1470
|
+
// // const mergedShape = objectUtil.mergeShapes(
|
|
1471
|
+
// // this._def.shape(),
|
|
1472
|
+
// // merging._def.shape()
|
|
1473
|
+
// // );
|
|
1474
|
+
// const merged: any = new ZodObject({
|
|
1475
|
+
// unknownKeys: merging._def.unknownKeys,
|
|
1476
|
+
// catchall: merging._def.catchall,
|
|
1477
|
+
// shape: () =>
|
|
1478
|
+
// objectUtil.mergeShapes(this._def.shape(), merging._def.shape()),
|
|
1479
|
+
// typeName: ZodFirstPartyTypeKind.ZodObject,
|
|
1480
|
+
// }) as any;
|
|
1481
|
+
// return merged;
|
|
1482
|
+
// }
|
|
1483
|
+
catchall(e) {
|
|
1484
|
+
return new x({
|
|
1485
|
+
...this._def,
|
|
1486
|
+
catchall: e
|
|
1487
|
+
});
|
|
1488
|
+
}
|
|
1489
|
+
pick(e) {
|
|
1490
|
+
const t = {};
|
|
1491
|
+
for (const s of v.objectKeys(e))
|
|
1492
|
+
e[s] && this.shape[s] && (t[s] = this.shape[s]);
|
|
1493
|
+
return new x({
|
|
1494
|
+
...this._def,
|
|
1495
|
+
shape: () => t
|
|
1496
|
+
});
|
|
1497
|
+
}
|
|
1498
|
+
omit(e) {
|
|
1499
|
+
const t = {};
|
|
1500
|
+
for (const s of v.objectKeys(this.shape))
|
|
1501
|
+
e[s] || (t[s] = this.shape[s]);
|
|
1502
|
+
return new x({
|
|
1503
|
+
...this._def,
|
|
1504
|
+
shape: () => t
|
|
1505
|
+
});
|
|
1506
|
+
}
|
|
1507
|
+
/**
|
|
1508
|
+
* @deprecated
|
|
1509
|
+
*/
|
|
1510
|
+
deepPartial() {
|
|
1511
|
+
return R(this);
|
|
1512
|
+
}
|
|
1513
|
+
partial(e) {
|
|
1514
|
+
const t = {};
|
|
1515
|
+
for (const s of v.objectKeys(this.shape)) {
|
|
1516
|
+
const r = this.shape[s];
|
|
1517
|
+
e && !e[s] ? t[s] = r : t[s] = r.optional();
|
|
1518
|
+
}
|
|
1519
|
+
return new x({
|
|
1520
|
+
...this._def,
|
|
1521
|
+
shape: () => t
|
|
1522
|
+
});
|
|
1523
|
+
}
|
|
1524
|
+
required(e) {
|
|
1525
|
+
const t = {};
|
|
1526
|
+
for (const s of v.objectKeys(this.shape))
|
|
1527
|
+
if (e && !e[s])
|
|
1528
|
+
t[s] = this.shape[s];
|
|
1529
|
+
else {
|
|
1530
|
+
let a = this.shape[s];
|
|
1531
|
+
for (; a instanceof Z; )
|
|
1532
|
+
a = a._def.innerType;
|
|
1533
|
+
t[s] = a;
|
|
1534
|
+
}
|
|
1535
|
+
return new x({
|
|
1536
|
+
...this._def,
|
|
1537
|
+
shape: () => t
|
|
1538
|
+
});
|
|
1539
|
+
}
|
|
1540
|
+
keyof() {
|
|
1541
|
+
return pe(v.objectKeys(this.shape));
|
|
1542
|
+
}
|
|
1543
|
+
}
|
|
1544
|
+
x.create = (n, e) => new x({
|
|
1545
|
+
shape: () => n,
|
|
1546
|
+
unknownKeys: "strip",
|
|
1547
|
+
catchall: S.create(),
|
|
1548
|
+
typeName: f.ZodObject,
|
|
1549
|
+
..._(e)
|
|
1550
|
+
});
|
|
1551
|
+
x.strictCreate = (n, e) => new x({
|
|
1552
|
+
shape: () => n,
|
|
1553
|
+
unknownKeys: "strict",
|
|
1554
|
+
catchall: S.create(),
|
|
1555
|
+
typeName: f.ZodObject,
|
|
1556
|
+
..._(e)
|
|
1557
|
+
});
|
|
1558
|
+
x.lazycreate = (n, e) => new x({
|
|
1559
|
+
shape: n,
|
|
1560
|
+
unknownKeys: "strip",
|
|
1561
|
+
catchall: S.create(),
|
|
1562
|
+
typeName: f.ZodObject,
|
|
1563
|
+
..._(e)
|
|
1564
|
+
});
|
|
1565
|
+
class B extends g {
|
|
1566
|
+
_parse(e) {
|
|
1567
|
+
const { ctx: t } = this._processInputParams(e), s = this._def.options;
|
|
1568
|
+
function r(a) {
|
|
1569
|
+
for (const i of a)
|
|
1570
|
+
if (i.result.status === "valid")
|
|
1571
|
+
return i.result;
|
|
1572
|
+
for (const i of a)
|
|
1573
|
+
if (i.result.status === "dirty")
|
|
1574
|
+
return t.common.issues.push(...i.ctx.common.issues), i.result;
|
|
1575
|
+
const d = a.map((i) => new z(i.ctx.common.issues));
|
|
1576
|
+
return u(t, {
|
|
1577
|
+
code: c.invalid_union,
|
|
1578
|
+
unionErrors: d
|
|
1579
|
+
}), p;
|
|
1580
|
+
}
|
|
1581
|
+
if (t.common.async)
|
|
1582
|
+
return Promise.all(s.map(async (a) => {
|
|
1583
|
+
const d = {
|
|
1584
|
+
...t,
|
|
1585
|
+
common: {
|
|
1586
|
+
...t.common,
|
|
1587
|
+
issues: []
|
|
1588
|
+
},
|
|
1589
|
+
parent: null
|
|
1590
|
+
};
|
|
1591
|
+
return {
|
|
1592
|
+
result: await a._parseAsync({
|
|
1593
|
+
data: t.data,
|
|
1594
|
+
path: t.path,
|
|
1595
|
+
parent: d
|
|
1596
|
+
}),
|
|
1597
|
+
ctx: d
|
|
1598
|
+
};
|
|
1599
|
+
})).then(r);
|
|
1600
|
+
{
|
|
1601
|
+
let a;
|
|
1602
|
+
const d = [];
|
|
1603
|
+
for (const l of s) {
|
|
1604
|
+
const m = {
|
|
1605
|
+
...t,
|
|
1606
|
+
common: {
|
|
1607
|
+
...t.common,
|
|
1608
|
+
issues: []
|
|
1609
|
+
},
|
|
1610
|
+
parent: null
|
|
1611
|
+
}, y = l._parseSync({
|
|
1612
|
+
data: t.data,
|
|
1613
|
+
path: t.path,
|
|
1614
|
+
parent: m
|
|
1615
|
+
});
|
|
1616
|
+
if (y.status === "valid")
|
|
1617
|
+
return y;
|
|
1618
|
+
y.status === "dirty" && !a && (a = { result: y, ctx: m }), m.common.issues.length && d.push(m.common.issues);
|
|
1619
|
+
}
|
|
1620
|
+
if (a)
|
|
1621
|
+
return t.common.issues.push(...a.ctx.common.issues), a.result;
|
|
1622
|
+
const i = d.map((l) => new z(l));
|
|
1623
|
+
return u(t, {
|
|
1624
|
+
code: c.invalid_union,
|
|
1625
|
+
unionErrors: i
|
|
1626
|
+
}), p;
|
|
1627
|
+
}
|
|
1628
|
+
}
|
|
1629
|
+
get options() {
|
|
1630
|
+
return this._def.options;
|
|
1631
|
+
}
|
|
1632
|
+
}
|
|
1633
|
+
B.create = (n, e) => new B({
|
|
1634
|
+
options: n,
|
|
1635
|
+
typeName: f.ZodUnion,
|
|
1636
|
+
..._(e)
|
|
1637
|
+
});
|
|
1638
|
+
function Y(n, e) {
|
|
1639
|
+
const t = C(n), s = C(e);
|
|
1640
|
+
if (n === e)
|
|
1641
|
+
return { valid: !0, data: n };
|
|
1642
|
+
if (t === h.object && s === h.object) {
|
|
1643
|
+
const r = v.objectKeys(e), a = v.objectKeys(n).filter((i) => r.indexOf(i) !== -1), d = { ...n, ...e };
|
|
1644
|
+
for (const i of a) {
|
|
1645
|
+
const l = Y(n[i], e[i]);
|
|
1646
|
+
if (!l.valid)
|
|
1647
|
+
return { valid: !1 };
|
|
1648
|
+
d[i] = l.data;
|
|
1649
|
+
}
|
|
1650
|
+
return { valid: !0, data: d };
|
|
1651
|
+
} else if (t === h.array && s === h.array) {
|
|
1652
|
+
if (n.length !== e.length)
|
|
1653
|
+
return { valid: !1 };
|
|
1654
|
+
const r = [];
|
|
1655
|
+
for (let a = 0; a < n.length; a++) {
|
|
1656
|
+
const d = n[a], i = e[a], l = Y(d, i);
|
|
1657
|
+
if (!l.valid)
|
|
1658
|
+
return { valid: !1 };
|
|
1659
|
+
r.push(l.data);
|
|
1660
|
+
}
|
|
1661
|
+
return { valid: !0, data: r };
|
|
1662
|
+
} else return t === h.date && s === h.date && +n == +e ? { valid: !0, data: n } : { valid: !1 };
|
|
1663
|
+
}
|
|
1664
|
+
class F extends g {
|
|
1665
|
+
_parse(e) {
|
|
1666
|
+
const { status: t, ctx: s } = this._processInputParams(e), r = (a, d) => {
|
|
1667
|
+
if (X(a) || X(d))
|
|
1668
|
+
return p;
|
|
1669
|
+
const i = Y(a.value, d.value);
|
|
1670
|
+
return i.valid ? ((K(a) || K(d)) && t.dirty(), { status: t.value, value: i.data }) : (u(s, {
|
|
1671
|
+
code: c.invalid_intersection_types
|
|
1672
|
+
}), p);
|
|
1673
|
+
};
|
|
1674
|
+
return s.common.async ? Promise.all([
|
|
1675
|
+
this._def.left._parseAsync({
|
|
1676
|
+
data: s.data,
|
|
1677
|
+
path: s.path,
|
|
1678
|
+
parent: s
|
|
1679
|
+
}),
|
|
1680
|
+
this._def.right._parseAsync({
|
|
1681
|
+
data: s.data,
|
|
1682
|
+
path: s.path,
|
|
1683
|
+
parent: s
|
|
1684
|
+
})
|
|
1685
|
+
]).then(([a, d]) => r(a, d)) : r(this._def.left._parseSync({
|
|
1686
|
+
data: s.data,
|
|
1687
|
+
path: s.path,
|
|
1688
|
+
parent: s
|
|
1689
|
+
}), this._def.right._parseSync({
|
|
1690
|
+
data: s.data,
|
|
1691
|
+
path: s.path,
|
|
1692
|
+
parent: s
|
|
1693
|
+
}));
|
|
1694
|
+
}
|
|
1695
|
+
}
|
|
1696
|
+
F.create = (n, e, t) => new F({
|
|
1697
|
+
left: n,
|
|
1698
|
+
right: e,
|
|
1699
|
+
typeName: f.ZodIntersection,
|
|
1700
|
+
..._(t)
|
|
1701
|
+
});
|
|
1702
|
+
class O extends g {
|
|
1703
|
+
_parse(e) {
|
|
1704
|
+
const { status: t, ctx: s } = this._processInputParams(e);
|
|
1705
|
+
if (s.parsedType !== h.array)
|
|
1706
|
+
return u(s, {
|
|
1707
|
+
code: c.invalid_type,
|
|
1708
|
+
expected: h.array,
|
|
1709
|
+
received: s.parsedType
|
|
1710
|
+
}), p;
|
|
1711
|
+
if (s.data.length < this._def.items.length)
|
|
1712
|
+
return u(s, {
|
|
1713
|
+
code: c.too_small,
|
|
1714
|
+
minimum: this._def.items.length,
|
|
1715
|
+
inclusive: !0,
|
|
1716
|
+
exact: !1,
|
|
1717
|
+
type: "array"
|
|
1718
|
+
}), p;
|
|
1719
|
+
!this._def.rest && s.data.length > this._def.items.length && (u(s, {
|
|
1720
|
+
code: c.too_big,
|
|
1721
|
+
maximum: this._def.items.length,
|
|
1722
|
+
inclusive: !0,
|
|
1723
|
+
exact: !1,
|
|
1724
|
+
type: "array"
|
|
1725
|
+
}), t.dirty());
|
|
1726
|
+
const a = [...s.data].map((d, i) => {
|
|
1727
|
+
const l = this._def.items[i] || this._def.rest;
|
|
1728
|
+
return l ? l._parse(new A(s, d, s.path, i)) : null;
|
|
1729
|
+
}).filter((d) => !!d);
|
|
1730
|
+
return s.common.async ? Promise.all(a).then((d) => w.mergeArray(t, d)) : w.mergeArray(t, a);
|
|
1731
|
+
}
|
|
1732
|
+
get items() {
|
|
1733
|
+
return this._def.items;
|
|
1734
|
+
}
|
|
1735
|
+
rest(e) {
|
|
1736
|
+
return new O({
|
|
1737
|
+
...this._def,
|
|
1738
|
+
rest: e
|
|
1739
|
+
});
|
|
1740
|
+
}
|
|
1741
|
+
}
|
|
1742
|
+
O.create = (n, e) => {
|
|
1743
|
+
if (!Array.isArray(n))
|
|
1744
|
+
throw new Error("You must pass an array of schemas to z.tuple([ ... ])");
|
|
1745
|
+
return new O({
|
|
1746
|
+
items: n,
|
|
1747
|
+
typeName: f.ZodTuple,
|
|
1748
|
+
rest: null,
|
|
1749
|
+
..._(e)
|
|
1750
|
+
});
|
|
1751
|
+
};
|
|
1752
|
+
class ce extends g {
|
|
1753
|
+
get keySchema() {
|
|
1754
|
+
return this._def.keyType;
|
|
1755
|
+
}
|
|
1756
|
+
get valueSchema() {
|
|
1757
|
+
return this._def.valueType;
|
|
1758
|
+
}
|
|
1759
|
+
_parse(e) {
|
|
1760
|
+
const { status: t, ctx: s } = this._processInputParams(e);
|
|
1761
|
+
if (s.parsedType !== h.map)
|
|
1762
|
+
return u(s, {
|
|
1763
|
+
code: c.invalid_type,
|
|
1764
|
+
expected: h.map,
|
|
1765
|
+
received: s.parsedType
|
|
1766
|
+
}), p;
|
|
1767
|
+
const r = this._def.keyType, a = this._def.valueType, d = [...s.data.entries()].map(([i, l], m) => ({
|
|
1768
|
+
key: r._parse(new A(s, i, s.path, [m, "key"])),
|
|
1769
|
+
value: a._parse(new A(s, l, s.path, [m, "value"]))
|
|
1770
|
+
}));
|
|
1771
|
+
if (s.common.async) {
|
|
1772
|
+
const i = /* @__PURE__ */ new Map();
|
|
1773
|
+
return Promise.resolve().then(async () => {
|
|
1774
|
+
for (const l of d) {
|
|
1775
|
+
const m = await l.key, y = await l.value;
|
|
1776
|
+
if (m.status === "aborted" || y.status === "aborted")
|
|
1777
|
+
return p;
|
|
1778
|
+
(m.status === "dirty" || y.status === "dirty") && t.dirty(), i.set(m.value, y.value);
|
|
1779
|
+
}
|
|
1780
|
+
return { status: t.value, value: i };
|
|
1781
|
+
});
|
|
1782
|
+
} else {
|
|
1783
|
+
const i = /* @__PURE__ */ new Map();
|
|
1784
|
+
for (const l of d) {
|
|
1785
|
+
const m = l.key, y = l.value;
|
|
1786
|
+
if (m.status === "aborted" || y.status === "aborted")
|
|
1787
|
+
return p;
|
|
1788
|
+
(m.status === "dirty" || y.status === "dirty") && t.dirty(), i.set(m.value, y.value);
|
|
1789
|
+
}
|
|
1790
|
+
return { status: t.value, value: i };
|
|
1791
|
+
}
|
|
1792
|
+
}
|
|
1793
|
+
}
|
|
1794
|
+
ce.create = (n, e, t) => new ce({
|
|
1795
|
+
valueType: e,
|
|
1796
|
+
keyType: n,
|
|
1797
|
+
typeName: f.ZodMap,
|
|
1798
|
+
..._(t)
|
|
1799
|
+
});
|
|
1800
|
+
class $ extends g {
|
|
1801
|
+
_parse(e) {
|
|
1802
|
+
const { status: t, ctx: s } = this._processInputParams(e);
|
|
1803
|
+
if (s.parsedType !== h.set)
|
|
1804
|
+
return u(s, {
|
|
1805
|
+
code: c.invalid_type,
|
|
1806
|
+
expected: h.set,
|
|
1807
|
+
received: s.parsedType
|
|
1808
|
+
}), p;
|
|
1809
|
+
const r = this._def;
|
|
1810
|
+
r.minSize !== null && s.data.size < r.minSize.value && (u(s, {
|
|
1811
|
+
code: c.too_small,
|
|
1812
|
+
minimum: r.minSize.value,
|
|
1813
|
+
type: "set",
|
|
1814
|
+
inclusive: !0,
|
|
1815
|
+
exact: !1,
|
|
1816
|
+
message: r.minSize.message
|
|
1817
|
+
}), t.dirty()), r.maxSize !== null && s.data.size > r.maxSize.value && (u(s, {
|
|
1818
|
+
code: c.too_big,
|
|
1819
|
+
maximum: r.maxSize.value,
|
|
1820
|
+
type: "set",
|
|
1821
|
+
inclusive: !0,
|
|
1822
|
+
exact: !1,
|
|
1823
|
+
message: r.maxSize.message
|
|
1824
|
+
}), t.dirty());
|
|
1825
|
+
const a = this._def.valueType;
|
|
1826
|
+
function d(l) {
|
|
1827
|
+
const m = /* @__PURE__ */ new Set();
|
|
1828
|
+
for (const y of l) {
|
|
1829
|
+
if (y.status === "aborted")
|
|
1830
|
+
return p;
|
|
1831
|
+
y.status === "dirty" && t.dirty(), m.add(y.value);
|
|
1832
|
+
}
|
|
1833
|
+
return { status: t.value, value: m };
|
|
1834
|
+
}
|
|
1835
|
+
const i = [...s.data.values()].map((l, m) => a._parse(new A(s, l, s.path, m)));
|
|
1836
|
+
return s.common.async ? Promise.all(i).then((l) => d(l)) : d(i);
|
|
1837
|
+
}
|
|
1838
|
+
min(e, t) {
|
|
1839
|
+
return new $({
|
|
1840
|
+
...this._def,
|
|
1841
|
+
minSize: { value: e, message: o.toString(t) }
|
|
1842
|
+
});
|
|
1843
|
+
}
|
|
1844
|
+
max(e, t) {
|
|
1845
|
+
return new $({
|
|
1846
|
+
...this._def,
|
|
1847
|
+
maxSize: { value: e, message: o.toString(t) }
|
|
1848
|
+
});
|
|
1849
|
+
}
|
|
1850
|
+
size(e, t) {
|
|
1851
|
+
return this.min(e, t).max(e, t);
|
|
1852
|
+
}
|
|
1853
|
+
nonempty(e) {
|
|
1854
|
+
return this.min(1, e);
|
|
1855
|
+
}
|
|
1856
|
+
}
|
|
1857
|
+
$.create = (n, e) => new $({
|
|
1858
|
+
valueType: n,
|
|
1859
|
+
minSize: null,
|
|
1860
|
+
maxSize: null,
|
|
1861
|
+
typeName: f.ZodSet,
|
|
1862
|
+
..._(e)
|
|
1863
|
+
});
|
|
1864
|
+
class ue extends g {
|
|
1865
|
+
get schema() {
|
|
1866
|
+
return this._def.getter();
|
|
1867
|
+
}
|
|
1868
|
+
_parse(e) {
|
|
1869
|
+
const { ctx: t } = this._processInputParams(e);
|
|
1870
|
+
return this._def.getter()._parse({ data: t.data, path: t.path, parent: t });
|
|
1871
|
+
}
|
|
1872
|
+
}
|
|
1873
|
+
ue.create = (n, e) => new ue({
|
|
1874
|
+
getter: n,
|
|
1875
|
+
typeName: f.ZodLazy,
|
|
1876
|
+
..._(e)
|
|
1877
|
+
});
|
|
1878
|
+
class oe extends g {
|
|
1879
|
+
_parse(e) {
|
|
1880
|
+
if (e.data !== this._def.value) {
|
|
1881
|
+
const t = this._getOrReturnCtx(e);
|
|
1882
|
+
return u(t, {
|
|
1883
|
+
received: t.data,
|
|
1884
|
+
code: c.invalid_literal,
|
|
1885
|
+
expected: this._def.value
|
|
1886
|
+
}), p;
|
|
1887
|
+
}
|
|
1888
|
+
return { status: "valid", value: e.data };
|
|
1889
|
+
}
|
|
1890
|
+
get value() {
|
|
1891
|
+
return this._def.value;
|
|
1892
|
+
}
|
|
1893
|
+
}
|
|
1894
|
+
oe.create = (n, e) => new oe({
|
|
1895
|
+
value: n,
|
|
1896
|
+
typeName: f.ZodLiteral,
|
|
1897
|
+
..._(e)
|
|
1898
|
+
});
|
|
1899
|
+
function pe(n, e) {
|
|
1900
|
+
return new I({
|
|
1901
|
+
values: n,
|
|
1902
|
+
typeName: f.ZodEnum,
|
|
1903
|
+
..._(e)
|
|
1904
|
+
});
|
|
1905
|
+
}
|
|
1906
|
+
class I extends g {
|
|
1907
|
+
_parse(e) {
|
|
1908
|
+
if (typeof e.data != "string") {
|
|
1909
|
+
const t = this._getOrReturnCtx(e), s = this._def.values;
|
|
1910
|
+
return u(t, {
|
|
1911
|
+
expected: v.joinValues(s),
|
|
1912
|
+
received: t.parsedType,
|
|
1913
|
+
code: c.invalid_type
|
|
1914
|
+
}), p;
|
|
1915
|
+
}
|
|
1916
|
+
if (this._cache || (this._cache = new Set(this._def.values)), !this._cache.has(e.data)) {
|
|
1917
|
+
const t = this._getOrReturnCtx(e), s = this._def.values;
|
|
1918
|
+
return u(t, {
|
|
1919
|
+
received: t.data,
|
|
1920
|
+
code: c.invalid_enum_value,
|
|
1921
|
+
options: s
|
|
1922
|
+
}), p;
|
|
1923
|
+
}
|
|
1924
|
+
return k(e.data);
|
|
1925
|
+
}
|
|
1926
|
+
get options() {
|
|
1927
|
+
return this._def.values;
|
|
1928
|
+
}
|
|
1929
|
+
get enum() {
|
|
1930
|
+
const e = {};
|
|
1931
|
+
for (const t of this._def.values)
|
|
1932
|
+
e[t] = t;
|
|
1933
|
+
return e;
|
|
1934
|
+
}
|
|
1935
|
+
get Values() {
|
|
1936
|
+
const e = {};
|
|
1937
|
+
for (const t of this._def.values)
|
|
1938
|
+
e[t] = t;
|
|
1939
|
+
return e;
|
|
1940
|
+
}
|
|
1941
|
+
get Enum() {
|
|
1942
|
+
const e = {};
|
|
1943
|
+
for (const t of this._def.values)
|
|
1944
|
+
e[t] = t;
|
|
1945
|
+
return e;
|
|
1946
|
+
}
|
|
1947
|
+
extract(e, t = this._def) {
|
|
1948
|
+
return I.create(e, {
|
|
1949
|
+
...this._def,
|
|
1950
|
+
...t
|
|
1951
|
+
});
|
|
1952
|
+
}
|
|
1953
|
+
exclude(e, t = this._def) {
|
|
1954
|
+
return I.create(this.options.filter((s) => !e.includes(s)), {
|
|
1955
|
+
...this._def,
|
|
1956
|
+
...t
|
|
1957
|
+
});
|
|
1958
|
+
}
|
|
1959
|
+
}
|
|
1960
|
+
I.create = pe;
|
|
1961
|
+
class le extends g {
|
|
1962
|
+
_parse(e) {
|
|
1963
|
+
const t = v.getValidEnumValues(this._def.values), s = this._getOrReturnCtx(e);
|
|
1964
|
+
if (s.parsedType !== h.string && s.parsedType !== h.number) {
|
|
1965
|
+
const r = v.objectValues(t);
|
|
1966
|
+
return u(s, {
|
|
1967
|
+
expected: v.joinValues(r),
|
|
1968
|
+
received: s.parsedType,
|
|
1969
|
+
code: c.invalid_type
|
|
1970
|
+
}), p;
|
|
1971
|
+
}
|
|
1972
|
+
if (this._cache || (this._cache = new Set(v.getValidEnumValues(this._def.values))), !this._cache.has(e.data)) {
|
|
1973
|
+
const r = v.objectValues(t);
|
|
1974
|
+
return u(s, {
|
|
1975
|
+
received: s.data,
|
|
1976
|
+
code: c.invalid_enum_value,
|
|
1977
|
+
options: r
|
|
1978
|
+
}), p;
|
|
1979
|
+
}
|
|
1980
|
+
return k(e.data);
|
|
1981
|
+
}
|
|
1982
|
+
get enum() {
|
|
1983
|
+
return this._def.values;
|
|
1984
|
+
}
|
|
1985
|
+
}
|
|
1986
|
+
le.create = (n, e) => new le({
|
|
1987
|
+
values: n,
|
|
1988
|
+
typeName: f.ZodNativeEnum,
|
|
1989
|
+
..._(e)
|
|
1990
|
+
});
|
|
1991
|
+
class W extends g {
|
|
1992
|
+
unwrap() {
|
|
1993
|
+
return this._def.type;
|
|
1994
|
+
}
|
|
1995
|
+
_parse(e) {
|
|
1996
|
+
const { ctx: t } = this._processInputParams(e);
|
|
1997
|
+
if (t.parsedType !== h.promise && t.common.async === !1)
|
|
1998
|
+
return u(t, {
|
|
1999
|
+
code: c.invalid_type,
|
|
2000
|
+
expected: h.promise,
|
|
2001
|
+
received: t.parsedType
|
|
2002
|
+
}), p;
|
|
2003
|
+
const s = t.parsedType === h.promise ? t.data : Promise.resolve(t.data);
|
|
2004
|
+
return k(s.then((r) => this._def.type.parseAsync(r, {
|
|
2005
|
+
path: t.path,
|
|
2006
|
+
errorMap: t.common.contextualErrorMap
|
|
2007
|
+
})));
|
|
2008
|
+
}
|
|
2009
|
+
}
|
|
2010
|
+
W.create = (n, e) => new W({
|
|
2011
|
+
type: n,
|
|
2012
|
+
typeName: f.ZodPromise,
|
|
2013
|
+
..._(e)
|
|
2014
|
+
});
|
|
2015
|
+
class j extends g {
|
|
2016
|
+
innerType() {
|
|
2017
|
+
return this._def.schema;
|
|
2018
|
+
}
|
|
2019
|
+
sourceType() {
|
|
2020
|
+
return this._def.schema._def.typeName === f.ZodEffects ? this._def.schema.sourceType() : this._def.schema;
|
|
2021
|
+
}
|
|
2022
|
+
_parse(e) {
|
|
2023
|
+
const { status: t, ctx: s } = this._processInputParams(e), r = this._def.effect || null, a = {
|
|
2024
|
+
addIssue: (d) => {
|
|
2025
|
+
u(s, d), d.fatal ? t.abort() : t.dirty();
|
|
2026
|
+
},
|
|
2027
|
+
get path() {
|
|
2028
|
+
return s.path;
|
|
2029
|
+
}
|
|
2030
|
+
};
|
|
2031
|
+
if (a.addIssue = a.addIssue.bind(a), r.type === "preprocess") {
|
|
2032
|
+
const d = r.transform(s.data, a);
|
|
2033
|
+
if (s.common.async)
|
|
2034
|
+
return Promise.resolve(d).then(async (i) => {
|
|
2035
|
+
if (t.value === "aborted")
|
|
2036
|
+
return p;
|
|
2037
|
+
const l = await this._def.schema._parseAsync({
|
|
2038
|
+
data: i,
|
|
2039
|
+
path: s.path,
|
|
2040
|
+
parent: s
|
|
2041
|
+
});
|
|
2042
|
+
return l.status === "aborted" ? p : l.status === "dirty" ? V(l.value) : t.value === "dirty" ? V(l.value) : l;
|
|
2043
|
+
});
|
|
2044
|
+
{
|
|
2045
|
+
if (t.value === "aborted")
|
|
2046
|
+
return p;
|
|
2047
|
+
const i = this._def.schema._parseSync({
|
|
2048
|
+
data: d,
|
|
2049
|
+
path: s.path,
|
|
2050
|
+
parent: s
|
|
2051
|
+
});
|
|
2052
|
+
return i.status === "aborted" ? p : i.status === "dirty" ? V(i.value) : t.value === "dirty" ? V(i.value) : i;
|
|
2053
|
+
}
|
|
2054
|
+
}
|
|
2055
|
+
if (r.type === "refinement") {
|
|
2056
|
+
const d = (i) => {
|
|
2057
|
+
const l = r.refinement(i, a);
|
|
2058
|
+
if (s.common.async)
|
|
2059
|
+
return Promise.resolve(l);
|
|
2060
|
+
if (l instanceof Promise)
|
|
2061
|
+
throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");
|
|
2062
|
+
return i;
|
|
2063
|
+
};
|
|
2064
|
+
if (s.common.async === !1) {
|
|
2065
|
+
const i = this._def.schema._parseSync({
|
|
2066
|
+
data: s.data,
|
|
2067
|
+
path: s.path,
|
|
2068
|
+
parent: s
|
|
2069
|
+
});
|
|
2070
|
+
return i.status === "aborted" ? p : (i.status === "dirty" && t.dirty(), d(i.value), { status: t.value, value: i.value });
|
|
2071
|
+
} else
|
|
2072
|
+
return this._def.schema._parseAsync({ data: s.data, path: s.path, parent: s }).then((i) => i.status === "aborted" ? p : (i.status === "dirty" && t.dirty(), d(i.value).then(() => ({ status: t.value, value: i.value }))));
|
|
2073
|
+
}
|
|
2074
|
+
if (r.type === "transform")
|
|
2075
|
+
if (s.common.async === !1) {
|
|
2076
|
+
const d = this._def.schema._parseSync({
|
|
2077
|
+
data: s.data,
|
|
2078
|
+
path: s.path,
|
|
2079
|
+
parent: s
|
|
2080
|
+
});
|
|
2081
|
+
if (!N(d))
|
|
2082
|
+
return p;
|
|
2083
|
+
const i = r.transform(d.value, a);
|
|
2084
|
+
if (i instanceof Promise)
|
|
2085
|
+
throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");
|
|
2086
|
+
return { status: t.value, value: i };
|
|
2087
|
+
} else
|
|
2088
|
+
return this._def.schema._parseAsync({ data: s.data, path: s.path, parent: s }).then((d) => N(d) ? Promise.resolve(r.transform(d.value, a)).then((i) => ({
|
|
2089
|
+
status: t.value,
|
|
2090
|
+
value: i
|
|
2091
|
+
})) : p);
|
|
2092
|
+
v.assertNever(r);
|
|
2093
|
+
}
|
|
2094
|
+
}
|
|
2095
|
+
j.create = (n, e, t) => new j({
|
|
2096
|
+
schema: n,
|
|
2097
|
+
typeName: f.ZodEffects,
|
|
2098
|
+
effect: e,
|
|
2099
|
+
..._(t)
|
|
2100
|
+
});
|
|
2101
|
+
j.createWithPreprocess = (n, e, t) => new j({
|
|
2102
|
+
schema: e,
|
|
2103
|
+
effect: { type: "preprocess", transform: n },
|
|
2104
|
+
typeName: f.ZodEffects,
|
|
2105
|
+
..._(t)
|
|
2106
|
+
});
|
|
2107
|
+
class Z extends g {
|
|
2108
|
+
_parse(e) {
|
|
2109
|
+
return this._getType(e) === h.undefined ? k(void 0) : this._def.innerType._parse(e);
|
|
2110
|
+
}
|
|
2111
|
+
unwrap() {
|
|
2112
|
+
return this._def.innerType;
|
|
2113
|
+
}
|
|
2114
|
+
}
|
|
2115
|
+
Z.create = (n, e) => new Z({
|
|
2116
|
+
innerType: n,
|
|
2117
|
+
typeName: f.ZodOptional,
|
|
2118
|
+
..._(e)
|
|
2119
|
+
});
|
|
2120
|
+
class E extends g {
|
|
2121
|
+
_parse(e) {
|
|
2122
|
+
return this._getType(e) === h.null ? k(null) : this._def.innerType._parse(e);
|
|
2123
|
+
}
|
|
2124
|
+
unwrap() {
|
|
2125
|
+
return this._def.innerType;
|
|
2126
|
+
}
|
|
2127
|
+
}
|
|
2128
|
+
E.create = (n, e) => new E({
|
|
2129
|
+
innerType: n,
|
|
2130
|
+
typeName: f.ZodNullable,
|
|
2131
|
+
..._(e)
|
|
2132
|
+
});
|
|
2133
|
+
class q extends g {
|
|
2134
|
+
_parse(e) {
|
|
2135
|
+
const { ctx: t } = this._processInputParams(e);
|
|
2136
|
+
let s = t.data;
|
|
2137
|
+
return t.parsedType === h.undefined && (s = this._def.defaultValue()), this._def.innerType._parse({
|
|
2138
|
+
data: s,
|
|
2139
|
+
path: t.path,
|
|
2140
|
+
parent: t
|
|
2141
|
+
});
|
|
2142
|
+
}
|
|
2143
|
+
removeDefault() {
|
|
2144
|
+
return this._def.innerType;
|
|
2145
|
+
}
|
|
2146
|
+
}
|
|
2147
|
+
q.create = (n, e) => new q({
|
|
2148
|
+
innerType: n,
|
|
2149
|
+
typeName: f.ZodDefault,
|
|
2150
|
+
defaultValue: typeof e.default == "function" ? e.default : () => e.default,
|
|
2151
|
+
..._(e)
|
|
2152
|
+
});
|
|
2153
|
+
class H extends g {
|
|
2154
|
+
_parse(e) {
|
|
2155
|
+
const { ctx: t } = this._processInputParams(e), s = {
|
|
2156
|
+
...t,
|
|
2157
|
+
common: {
|
|
2158
|
+
...t.common,
|
|
2159
|
+
issues: []
|
|
2160
|
+
}
|
|
2161
|
+
}, r = this._def.innerType._parse({
|
|
2162
|
+
data: s.data,
|
|
2163
|
+
path: s.path,
|
|
2164
|
+
parent: {
|
|
2165
|
+
...s
|
|
2166
|
+
}
|
|
2167
|
+
});
|
|
2168
|
+
return D(r) ? r.then((a) => ({
|
|
2169
|
+
status: "valid",
|
|
2170
|
+
value: a.status === "valid" ? a.value : this._def.catchValue({
|
|
2171
|
+
get error() {
|
|
2172
|
+
return new z(s.common.issues);
|
|
2173
|
+
},
|
|
2174
|
+
input: s.data
|
|
2175
|
+
})
|
|
2176
|
+
})) : {
|
|
2177
|
+
status: "valid",
|
|
2178
|
+
value: r.status === "valid" ? r.value : this._def.catchValue({
|
|
2179
|
+
get error() {
|
|
2180
|
+
return new z(s.common.issues);
|
|
2181
|
+
},
|
|
2182
|
+
input: s.data
|
|
2183
|
+
})
|
|
2184
|
+
};
|
|
2185
|
+
}
|
|
2186
|
+
removeCatch() {
|
|
2187
|
+
return this._def.innerType;
|
|
2188
|
+
}
|
|
2189
|
+
}
|
|
2190
|
+
H.create = (n, e) => new H({
|
|
2191
|
+
innerType: n,
|
|
2192
|
+
typeName: f.ZodCatch,
|
|
2193
|
+
catchValue: typeof e.catch == "function" ? e.catch : () => e.catch,
|
|
2194
|
+
..._(e)
|
|
2195
|
+
});
|
|
2196
|
+
class he extends g {
|
|
2197
|
+
_parse(e) {
|
|
2198
|
+
if (this._getType(e) !== h.nan) {
|
|
2199
|
+
const s = this._getOrReturnCtx(e);
|
|
2200
|
+
return u(s, {
|
|
2201
|
+
code: c.invalid_type,
|
|
2202
|
+
expected: h.nan,
|
|
2203
|
+
received: s.parsedType
|
|
2204
|
+
}), p;
|
|
2205
|
+
}
|
|
2206
|
+
return { status: "valid", value: e.data };
|
|
2207
|
+
}
|
|
2208
|
+
}
|
|
2209
|
+
he.create = (n) => new he({
|
|
2210
|
+
typeName: f.ZodNaN,
|
|
2211
|
+
..._(n)
|
|
2212
|
+
});
|
|
2213
|
+
class Pe extends g {
|
|
2214
|
+
_parse(e) {
|
|
2215
|
+
const { ctx: t } = this._processInputParams(e), s = t.data;
|
|
2216
|
+
return this._def.type._parse({
|
|
2217
|
+
data: s,
|
|
2218
|
+
path: t.path,
|
|
2219
|
+
parent: t
|
|
2220
|
+
});
|
|
2221
|
+
}
|
|
2222
|
+
unwrap() {
|
|
2223
|
+
return this._def.type;
|
|
2224
|
+
}
|
|
2225
|
+
}
|
|
2226
|
+
class Q extends g {
|
|
2227
|
+
_parse(e) {
|
|
2228
|
+
const { status: t, ctx: s } = this._processInputParams(e);
|
|
2229
|
+
if (s.common.async)
|
|
2230
|
+
return (async () => {
|
|
2231
|
+
const a = await this._def.in._parseAsync({
|
|
2232
|
+
data: s.data,
|
|
2233
|
+
path: s.path,
|
|
2234
|
+
parent: s
|
|
2235
|
+
});
|
|
2236
|
+
return a.status === "aborted" ? p : a.status === "dirty" ? (t.dirty(), V(a.value)) : this._def.out._parseAsync({
|
|
2237
|
+
data: a.value,
|
|
2238
|
+
path: s.path,
|
|
2239
|
+
parent: s
|
|
2240
|
+
});
|
|
2241
|
+
})();
|
|
2242
|
+
{
|
|
2243
|
+
const r = this._def.in._parseSync({
|
|
2244
|
+
data: s.data,
|
|
2245
|
+
path: s.path,
|
|
2246
|
+
parent: s
|
|
2247
|
+
});
|
|
2248
|
+
return r.status === "aborted" ? p : r.status === "dirty" ? (t.dirty(), {
|
|
2249
|
+
status: "dirty",
|
|
2250
|
+
value: r.value
|
|
2251
|
+
}) : this._def.out._parseSync({
|
|
2252
|
+
data: r.value,
|
|
2253
|
+
path: s.path,
|
|
2254
|
+
parent: s
|
|
2255
|
+
});
|
|
2256
|
+
}
|
|
2257
|
+
}
|
|
2258
|
+
static create(e, t) {
|
|
2259
|
+
return new Q({
|
|
2260
|
+
in: e,
|
|
2261
|
+
out: t,
|
|
2262
|
+
typeName: f.ZodPipeline
|
|
2263
|
+
});
|
|
2264
|
+
}
|
|
2265
|
+
}
|
|
2266
|
+
class G extends g {
|
|
2267
|
+
_parse(e) {
|
|
2268
|
+
const t = this._def.innerType._parse(e), s = (r) => (N(r) && (r.value = Object.freeze(r.value)), r);
|
|
2269
|
+
return D(t) ? t.then((r) => s(r)) : s(t);
|
|
2270
|
+
}
|
|
2271
|
+
unwrap() {
|
|
2272
|
+
return this._def.innerType;
|
|
2273
|
+
}
|
|
2274
|
+
}
|
|
2275
|
+
G.create = (n, e) => new G({
|
|
2276
|
+
innerType: n,
|
|
2277
|
+
typeName: f.ZodReadonly,
|
|
2278
|
+
..._(e)
|
|
2279
|
+
});
|
|
2280
|
+
var f;
|
|
2281
|
+
(function(n) {
|
|
2282
|
+
n.ZodString = "ZodString", n.ZodNumber = "ZodNumber", n.ZodNaN = "ZodNaN", n.ZodBigInt = "ZodBigInt", n.ZodBoolean = "ZodBoolean", n.ZodDate = "ZodDate", n.ZodSymbol = "ZodSymbol", n.ZodUndefined = "ZodUndefined", n.ZodNull = "ZodNull", n.ZodAny = "ZodAny", n.ZodUnknown = "ZodUnknown", n.ZodNever = "ZodNever", n.ZodVoid = "ZodVoid", n.ZodArray = "ZodArray", n.ZodObject = "ZodObject", n.ZodUnion = "ZodUnion", n.ZodDiscriminatedUnion = "ZodDiscriminatedUnion", n.ZodIntersection = "ZodIntersection", n.ZodTuple = "ZodTuple", n.ZodRecord = "ZodRecord", n.ZodMap = "ZodMap", n.ZodSet = "ZodSet", n.ZodFunction = "ZodFunction", n.ZodLazy = "ZodLazy", n.ZodLiteral = "ZodLiteral", n.ZodEnum = "ZodEnum", n.ZodEffects = "ZodEffects", n.ZodNativeEnum = "ZodNativeEnum", n.ZodOptional = "ZodOptional", n.ZodNullable = "ZodNullable", n.ZodDefault = "ZodDefault", n.ZodCatch = "ZodCatch", n.ZodPromise = "ZodPromise", n.ZodBranded = "ZodBranded", n.ZodPipeline = "ZodPipeline", n.ZodReadonly = "ZodReadonly";
|
|
2283
|
+
})(f || (f = {}));
|
|
2284
|
+
const Fe = T.create;
|
|
2285
|
+
S.create;
|
|
2286
|
+
b.create;
|
|
2287
|
+
const We = x.create;
|
|
2288
|
+
B.create;
|
|
2289
|
+
F.create;
|
|
2290
|
+
O.create;
|
|
2291
|
+
I.create;
|
|
2292
|
+
W.create;
|
|
2293
|
+
const Je = Z.create;
|
|
2294
|
+
E.create;
|
|
2295
|
+
export {
|
|
2296
|
+
g as Schema,
|
|
2297
|
+
ne as ZodAny,
|
|
2298
|
+
b as ZodArray,
|
|
2299
|
+
P as ZodBigInt,
|
|
2300
|
+
te as ZodBoolean,
|
|
2301
|
+
Pe as ZodBranded,
|
|
2302
|
+
H as ZodCatch,
|
|
2303
|
+
U as ZodDate,
|
|
2304
|
+
q as ZodDefault,
|
|
2305
|
+
j as ZodEffects,
|
|
2306
|
+
I as ZodEnum,
|
|
2307
|
+
f as ZodFirstPartyTypeKind,
|
|
2308
|
+
F as ZodIntersection,
|
|
2309
|
+
ue as ZodLazy,
|
|
2310
|
+
oe as ZodLiteral,
|
|
2311
|
+
ce as ZodMap,
|
|
2312
|
+
he as ZodNaN,
|
|
2313
|
+
le as ZodNativeEnum,
|
|
2314
|
+
S as ZodNever,
|
|
2315
|
+
ae as ZodNull,
|
|
2316
|
+
E as ZodNullable,
|
|
2317
|
+
M as ZodNumber,
|
|
2318
|
+
x as ZodObject,
|
|
2319
|
+
Z as ZodOptional,
|
|
2320
|
+
Q as ZodPipeline,
|
|
2321
|
+
W as ZodPromise,
|
|
2322
|
+
G as ZodReadonly,
|
|
2323
|
+
g as ZodSchema,
|
|
2324
|
+
$ as ZodSet,
|
|
2325
|
+
T as ZodString,
|
|
2326
|
+
se as ZodSymbol,
|
|
2327
|
+
j as ZodTransformer,
|
|
2328
|
+
O as ZodTuple,
|
|
2329
|
+
g as ZodType,
|
|
2330
|
+
re as ZodUndefined,
|
|
2331
|
+
B as ZodUnion,
|
|
2332
|
+
ie as ZodUnknown,
|
|
2333
|
+
de as ZodVoid,
|
|
2334
|
+
Ee as datetimeRegex,
|
|
2335
|
+
We as object,
|
|
2336
|
+
Je as optional,
|
|
2337
|
+
Fe as string
|
|
2338
|
+
};
|
|
2339
|
+
//# sourceMappingURL=index633.mjs.map
|