@burdenoff/microfe-product 2026.1013.2 → 2026.1109.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/dist/generated/global-operations.d.ts +2418 -0
- package/dist/generated/global-operations.d.ts.map +1 -0
- package/dist/generated/global-operations.js +109 -110
- package/dist/generated/global-operations.js.map +1 -1
- package/dist/generated/global-types.d.ts +22700 -0
- package/dist/generated/global-types.d.ts.map +1 -0
- package/dist/generated/global-types.js +1 -2
- package/dist/generated/global-types.js.map +1 -1
- package/dist/generated/wspace-operations.d.ts +5 -0
- package/dist/generated/wspace-operations.d.ts.map +1 -0
- package/dist/generated/wspace-types.d.ts +49087 -0
- package/dist/generated/wspace-types.d.ts.map +1 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/node_modules/clsx/dist/clsx.js +8 -7
- package/dist/node_modules/clsx/dist/clsx.js.map +1 -1
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +134 -151
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -1
- package/dist/node_modules/zod/v4/classic/errors.js +41 -20
- package/dist/node_modules/zod/v4/classic/errors.js.map +1 -1
- package/dist/node_modules/zod/v4/classic/parse.js +4 -5
- package/dist/node_modules/zod/v4/classic/parse.js.map +1 -1
- package/dist/node_modules/zod/v4/classic/schemas.js +519 -393
- package/dist/node_modules/zod/v4/classic/schemas.js.map +1 -1
- package/dist/node_modules/zod/v4/core/api.js +199 -197
- package/dist/node_modules/zod/v4/core/api.js.map +1 -1
- package/dist/node_modules/zod/v4/core/checks.js +83 -123
- package/dist/node_modules/zod/v4/core/checks.js.map +1 -1
- package/dist/node_modules/zod/v4/core/core.js +70 -35
- package/dist/node_modules/zod/v4/core/core.js.map +1 -1
- package/dist/node_modules/zod/v4/core/doc.js +11 -7
- package/dist/node_modules/zod/v4/core/doc.js.map +1 -1
- package/dist/node_modules/zod/v4/core/errors.js +64 -20
- package/dist/node_modules/zod/v4/core/errors.js.map +1 -1
- package/dist/node_modules/zod/v4/core/json-schema-processors.js +258 -139
- package/dist/node_modules/zod/v4/core/json-schema-processors.js.map +1 -1
- package/dist/node_modules/zod/v4/core/memoizer.js +188 -0
- package/dist/node_modules/zod/v4/core/memoizer.js.map +1 -0
- package/dist/node_modules/zod/v4/core/parse.js +136 -68
- package/dist/node_modules/zod/v4/core/parse.js.map +1 -1
- package/dist/node_modules/zod/v4/core/regexes.js +26 -19
- package/dist/node_modules/zod/v4/core/regexes.js.map +1 -1
- package/dist/node_modules/zod/v4/core/registries.js +2 -3
- package/dist/node_modules/zod/v4/core/registries.js.map +1 -1
- package/dist/node_modules/zod/v4/core/schemas.js +594 -457
- package/dist/node_modules/zod/v4/core/schemas.js.map +1 -1
- package/dist/node_modules/zod/v4/core/to-json-schema.js +204 -100
- package/dist/node_modules/zod/v4/core/to-json-schema.js.map +1 -1
- package/dist/node_modules/zod/v4/core/util.js +296 -142
- package/dist/node_modules/zod/v4/core/util.js.map +1 -1
- package/dist/node_modules/zod/v4/core/versions.js +3 -4
- package/dist/node_modules/zod/v4/core/versions.js.map +1 -1
- package/dist/node_modules/zod/v4/locales/en.js +96 -0
- package/dist/node_modules/zod/v4/locales/en.js.map +1 -0
- package/dist/product/ProductUserRoot.d.ts +4 -0
- package/dist/product/ProductUserRoot.d.ts.map +1 -0
- package/dist/product/ProductUserRoot.js +10 -7
- package/dist/product/ProductUserRoot.js.map +1 -1
- package/dist/product/ProductUserRoutes.d.ts +6 -0
- package/dist/product/ProductUserRoutes.d.ts.map +1 -0
- package/dist/product/ProductUserRoutes.js +1 -2
- package/dist/product/ProductUserRoutes.js.map +1 -1
- package/dist/product/hooks/usePublicContentPage.d.ts +9 -0
- package/dist/product/hooks/usePublicContentPage.d.ts.map +1 -0
- package/dist/product/hooks/usePublicContentPage.js +1 -2
- package/dist/product/hooks/usePublicContentPage.js.map +1 -1
- package/dist/product/hooks/usePublicProduct.d.ts +9 -0
- package/dist/product/hooks/usePublicProduct.d.ts.map +1 -0
- package/dist/product/hooks/usePublicProduct.js +1 -2
- package/dist/product/hooks/usePublicProduct.js.map +1 -1
- package/dist/product/hooks/usePublicProducts.d.ts +21 -0
- package/dist/product/hooks/usePublicProducts.d.ts.map +1 -0
- package/dist/product/hooks/usePublicProducts.js +1 -2
- package/dist/product/hooks/usePublicProducts.js.map +1 -1
- package/dist/product/pages/ContentPageViewPage.d.ts +2 -0
- package/dist/product/pages/ContentPageViewPage.d.ts.map +1 -0
- package/dist/product/pages/ContentPageViewPage.js +5 -6
- package/dist/product/pages/ContentPageViewPage.js.map +1 -1
- package/dist/product/pages/ProductCatalogPage.d.ts +2 -0
- package/dist/product/pages/ProductCatalogPage.d.ts.map +1 -0
- package/dist/product/pages/ProductCatalogPage.js +3 -4
- package/dist/product/pages/ProductCatalogPage.js.map +1 -1
- package/dist/product/pages/ProductViewPage.d.ts +2 -0
- package/dist/product/pages/ProductViewPage.d.ts.map +1 -0
- package/dist/product/pages/ProductViewPage.js +10 -11
- package/dist/product/pages/ProductViewPage.js.map +1 -1
- package/dist/product/pages/UserProductsLandingPage.d.ts +9 -0
- package/dist/product/pages/UserProductsLandingPage.d.ts.map +1 -0
- package/dist/product/pages/UserProductsLandingPage.js +1 -2
- package/dist/product/pages/UserProductsLandingPage.js.map +1 -1
- package/dist/product/providers/ProductUserProvider.d.ts +10 -0
- package/dist/product/providers/ProductUserProvider.d.ts.map +1 -0
- package/dist/product/providers/ProductUserProvider.js +1 -2
- package/dist/product/providers/ProductUserProvider.js.map +1 -1
- package/dist/product/types/index.d.ts +34 -0
- package/dist/product/types/index.d.ts.map +1 -0
- package/dist/product-management/ProductManagementRoot.d.ts +4 -0
- package/dist/product-management/ProductManagementRoot.d.ts.map +1 -0
- package/dist/product-management/ProductManagementRoot.js +9 -6
- package/dist/product-management/ProductManagementRoot.js.map +1 -1
- package/dist/product-management/ProductManagementRoutes.d.ts +6 -0
- package/dist/product-management/ProductManagementRoutes.d.ts.map +1 -0
- package/dist/product-management/ProductManagementRoutes.js +1 -2
- package/dist/product-management/ProductManagementRoutes.js.map +1 -1
- package/dist/product-management/index.d.ts +5 -0
- package/dist/product-management/index.d.ts.map +1 -0
- package/dist/product-management/modules/content-pages/components/ContentPageForm.d.ts +10 -0
- package/dist/product-management/modules/content-pages/components/ContentPageForm.d.ts.map +1 -0
- package/dist/product-management/modules/content-pages/components/ContentPageForm.js +59 -60
- package/dist/product-management/modules/content-pages/components/ContentPageForm.js.map +1 -1
- package/dist/product-management/modules/content-pages/components/ContentPageStatusBadge.d.ts +11 -0
- package/dist/product-management/modules/content-pages/components/ContentPageStatusBadge.d.ts.map +1 -0
- package/dist/product-management/modules/content-pages/components/ContentPageStatusBadge.js +1 -2
- package/dist/product-management/modules/content-pages/components/ContentPageStatusBadge.js.map +1 -1
- package/dist/product-management/modules/content-pages/hooks/useContentPages.d.ts +76 -0
- package/dist/product-management/modules/content-pages/hooks/useContentPages.d.ts.map +1 -0
- package/dist/product-management/modules/content-pages/hooks/useContentPages.js +1 -2
- package/dist/product-management/modules/content-pages/hooks/useContentPages.js.map +1 -1
- package/dist/product-management/modules/content-pages/index.d.ts +15 -0
- package/dist/product-management/modules/content-pages/index.d.ts.map +1 -0
- package/dist/product-management/modules/content-pages/pages/ContentPageCreatePage.d.ts +2 -0
- package/dist/product-management/modules/content-pages/pages/ContentPageCreatePage.d.ts.map +1 -0
- package/dist/product-management/modules/content-pages/pages/ContentPageCreatePage.js +3 -3
- package/dist/product-management/modules/content-pages/pages/ContentPageCreatePage.js.map +1 -1
- package/dist/product-management/modules/content-pages/pages/ContentPageDetailPage.d.ts +6 -0
- package/dist/product-management/modules/content-pages/pages/ContentPageDetailPage.d.ts.map +1 -0
- package/dist/product-management/modules/content-pages/pages/ContentPageDetailPage.js +19 -20
- package/dist/product-management/modules/content-pages/pages/ContentPageDetailPage.js.map +1 -1
- package/dist/product-management/modules/content-pages/pages/ContentPageEditPage.d.ts +2 -0
- package/dist/product-management/modules/content-pages/pages/ContentPageEditPage.d.ts.map +1 -0
- package/dist/product-management/modules/content-pages/pages/ContentPageEditPage.js +11 -11
- package/dist/product-management/modules/content-pages/pages/ContentPageEditPage.js.map +1 -1
- package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.d.ts +2 -0
- package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.d.ts.map +1 -0
- package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.js +37 -35
- package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.js.map +1 -1
- package/dist/product-management/modules/content-pages/schemas/index.d.ts +57 -0
- package/dist/product-management/modules/content-pages/schemas/index.d.ts.map +1 -0
- package/dist/product-management/modules/content-pages/schemas/index.js +8 -9
- package/dist/product-management/modules/content-pages/schemas/index.js.map +1 -1
- package/dist/product-management/modules/content-pages/types/index.d.ts +91 -0
- package/dist/product-management/modules/content-pages/types/index.d.ts.map +1 -0
- package/dist/product-management/modules/feature-flags/components/FeatureFlagForm.d.ts +17 -0
- package/dist/product-management/modules/feature-flags/components/FeatureFlagForm.d.ts.map +1 -0
- package/dist/product-management/modules/feature-flags/components/FeatureFlagForm.js +10 -11
- package/dist/product-management/modules/feature-flags/components/FeatureFlagForm.js.map +1 -1
- package/dist/product-management/modules/feature-flags/components/FeatureFlagStatusBadge.d.ts +8 -0
- package/dist/product-management/modules/feature-flags/components/FeatureFlagStatusBadge.d.ts.map +1 -0
- package/dist/product-management/modules/feature-flags/components/FeatureFlagStatusBadge.js +1 -2
- package/dist/product-management/modules/feature-flags/components/FeatureFlagStatusBadge.js.map +1 -1
- package/dist/product-management/modules/feature-flags/components/FeatureFlagTypeBadge.d.ts +8 -0
- package/dist/product-management/modules/feature-flags/components/FeatureFlagTypeBadge.d.ts.map +1 -0
- package/dist/product-management/modules/feature-flags/components/FeatureFlagTypeBadge.js +1 -2
- package/dist/product-management/modules/feature-flags/components/FeatureFlagTypeBadge.js.map +1 -1
- package/dist/product-management/modules/feature-flags/hooks/useFeatureFlags.d.ts +59 -0
- package/dist/product-management/modules/feature-flags/hooks/useFeatureFlags.d.ts.map +1 -0
- package/dist/product-management/modules/feature-flags/hooks/useFeatureFlags.js +1 -2
- package/dist/product-management/modules/feature-flags/hooks/useFeatureFlags.js.map +1 -1
- package/dist/product-management/modules/feature-flags/index.d.ts +13 -0
- package/dist/product-management/modules/feature-flags/index.d.ts.map +1 -0
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagCreatePage.d.ts +3 -0
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagCreatePage.d.ts.map +1 -0
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagCreatePage.js +8 -8
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagCreatePage.js.map +1 -1
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagDetailPage.d.ts +3 -0
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagDetailPage.d.ts.map +1 -0
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagDetailPage.js +18 -19
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagDetailPage.js.map +1 -1
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagEditPage.d.ts +3 -0
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagEditPage.d.ts.map +1 -0
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagEditPage.js +8 -8
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagEditPage.js.map +1 -1
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagsListPage.d.ts +3 -0
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagsListPage.d.ts.map +1 -0
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagsListPage.js +27 -30
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagsListPage.js.map +1 -1
- package/dist/product-management/modules/feature-flags/schemas/index.d.ts +35 -0
- package/dist/product-management/modules/feature-flags/schemas/index.d.ts.map +1 -0
- package/dist/product-management/modules/feature-flags/schemas/index.js +5 -6
- package/dist/product-management/modules/feature-flags/schemas/index.js.map +1 -1
- package/dist/product-management/modules/feature-flags/types/index.d.ts +101 -0
- package/dist/product-management/modules/feature-flags/types/index.d.ts.map +1 -0
- package/dist/product-management/modules/press-kit/components/PressKitAssetForm.d.ts +10 -0
- package/dist/product-management/modules/press-kit/components/PressKitAssetForm.d.ts.map +1 -0
- package/dist/product-management/modules/press-kit/components/PressKitAssetForm.js +23 -24
- package/dist/product-management/modules/press-kit/components/PressKitAssetForm.js.map +1 -1
- package/dist/product-management/modules/press-kit/hooks/usePressKitAssets.d.ts +73 -0
- package/dist/product-management/modules/press-kit/hooks/usePressKitAssets.d.ts.map +1 -0
- package/dist/product-management/modules/press-kit/hooks/usePressKitAssets.js +1 -2
- package/dist/product-management/modules/press-kit/hooks/usePressKitAssets.js.map +1 -1
- package/dist/product-management/modules/press-kit/index.d.ts +14 -0
- package/dist/product-management/modules/press-kit/index.d.ts.map +1 -0
- package/dist/product-management/modules/press-kit/pages/PressKitCreatePage.d.ts +2 -0
- package/dist/product-management/modules/press-kit/pages/PressKitCreatePage.d.ts.map +1 -0
- package/dist/product-management/modules/press-kit/pages/PressKitCreatePage.js +3 -3
- package/dist/product-management/modules/press-kit/pages/PressKitCreatePage.js.map +1 -1
- package/dist/product-management/modules/press-kit/pages/PressKitDetailPage.d.ts +2 -0
- package/dist/product-management/modules/press-kit/pages/PressKitDetailPage.d.ts.map +1 -0
- package/dist/product-management/modules/press-kit/pages/PressKitDetailPage.js +15 -16
- package/dist/product-management/modules/press-kit/pages/PressKitDetailPage.js.map +1 -1
- package/dist/product-management/modules/press-kit/pages/PressKitEditPage.d.ts +2 -0
- package/dist/product-management/modules/press-kit/pages/PressKitEditPage.d.ts.map +1 -0
- package/dist/product-management/modules/press-kit/pages/PressKitEditPage.js +11 -11
- package/dist/product-management/modules/press-kit/pages/PressKitEditPage.js.map +1 -1
- package/dist/product-management/modules/press-kit/pages/PressKitListPage.d.ts +2 -0
- package/dist/product-management/modules/press-kit/pages/PressKitListPage.d.ts.map +1 -0
- package/dist/product-management/modules/press-kit/pages/PressKitListPage.js +34 -32
- package/dist/product-management/modules/press-kit/pages/PressKitListPage.js.map +1 -1
- package/dist/product-management/modules/press-kit/schemas/index.d.ts +60 -0
- package/dist/product-management/modules/press-kit/schemas/index.d.ts.map +1 -0
- package/dist/product-management/modules/press-kit/schemas/index.js +7 -8
- package/dist/product-management/modules/press-kit/schemas/index.js.map +1 -1
- package/dist/product-management/modules/press-kit/types/index.d.ts +73 -0
- package/dist/product-management/modules/press-kit/types/index.d.ts.map +1 -0
- package/dist/product-management/modules/press-kit/types/index.js +1 -2
- package/dist/product-management/modules/press-kit/types/index.js.map +1 -1
- package/dist/product-management/modules/products/components/ProductCard.d.ts +15 -0
- package/dist/product-management/modules/products/components/ProductCard.d.ts.map +1 -0
- package/dist/product-management/modules/products/components/ProductForm.d.ts +10 -0
- package/dist/product-management/modules/products/components/ProductForm.d.ts.map +1 -0
- package/dist/product-management/modules/products/components/ProductForm.js +23 -24
- package/dist/product-management/modules/products/components/ProductForm.js.map +1 -1
- package/dist/product-management/modules/products/components/ProductPlans.d.ts +8 -0
- package/dist/product-management/modules/products/components/ProductPlans.d.ts.map +1 -0
- package/dist/product-management/modules/products/components/ProductPlans.js +26 -24
- package/dist/product-management/modules/products/components/ProductPlans.js.map +1 -1
- package/dist/product-management/modules/products/components/ProductStats.d.ts +23 -0
- package/dist/product-management/modules/products/components/ProductStats.d.ts.map +1 -0
- package/dist/product-management/modules/products/components/ProductStatusBadge.d.ts +12 -0
- package/dist/product-management/modules/products/components/ProductStatusBadge.d.ts.map +1 -0
- package/dist/product-management/modules/products/components/ProductStatusBadge.js +1 -2
- package/dist/product-management/modules/products/components/ProductStatusBadge.js.map +1 -1
- package/dist/product-management/modules/products/hooks/useProducts.d.ts +103 -0
- package/dist/product-management/modules/products/hooks/useProducts.d.ts.map +1 -0
- package/dist/product-management/modules/products/hooks/useProducts.js +1 -2
- package/dist/product-management/modules/products/hooks/useProducts.js.map +1 -1
- package/dist/product-management/modules/products/index.d.ts +16 -0
- package/dist/product-management/modules/products/index.d.ts.map +1 -0
- package/dist/product-management/modules/products/pages/ProductCreatePage.d.ts +2 -0
- package/dist/product-management/modules/products/pages/ProductCreatePage.d.ts.map +1 -0
- package/dist/product-management/modules/products/pages/ProductCreatePage.js +3 -3
- package/dist/product-management/modules/products/pages/ProductCreatePage.js.map +1 -1
- package/dist/product-management/modules/products/pages/ProductDetailPage.d.ts +6 -0
- package/dist/product-management/modules/products/pages/ProductDetailPage.d.ts.map +1 -0
- package/dist/product-management/modules/products/pages/ProductDetailPage.js +21 -22
- package/dist/product-management/modules/products/pages/ProductDetailPage.js.map +1 -1
- package/dist/product-management/modules/products/pages/ProductEditPage.d.ts +2 -0
- package/dist/product-management/modules/products/pages/ProductEditPage.d.ts.map +1 -0
- package/dist/product-management/modules/products/pages/ProductEditPage.js +11 -12
- package/dist/product-management/modules/products/pages/ProductEditPage.js.map +1 -1
- package/dist/product-management/modules/products/pages/ProductsListPage.d.ts +2 -0
- package/dist/product-management/modules/products/pages/ProductsListPage.d.ts.map +1 -0
- package/dist/product-management/modules/products/pages/ProductsListPage.js +19 -20
- package/dist/product-management/modules/products/pages/ProductsListPage.js.map +1 -1
- package/dist/product-management/modules/products/schemas/index.d.ts +61 -0
- package/dist/product-management/modules/products/schemas/index.d.ts.map +1 -0
- package/dist/product-management/modules/products/schemas/index.js +16 -17
- package/dist/product-management/modules/products/schemas/index.js.map +1 -1
- package/dist/product-management/modules/products/types/index.d.ts +115 -0
- package/dist/product-management/modules/products/types/index.d.ts.map +1 -0
- package/dist/product-management/modules/products/types/index.js +1 -2
- package/dist/product-management/modules/products/types/index.js.map +1 -1
- package/dist/product-management/modules/shortcuts/components/ShortcutCategoryBadge.d.ts +6 -0
- package/dist/product-management/modules/shortcuts/components/ShortcutCategoryBadge.d.ts.map +1 -0
- package/dist/product-management/modules/shortcuts/components/ShortcutCategoryBadge.js +1 -2
- package/dist/product-management/modules/shortcuts/components/ShortcutCategoryBadge.js.map +1 -1
- package/dist/product-management/modules/shortcuts/components/ShortcutForm.d.ts +10 -0
- package/dist/product-management/modules/shortcuts/components/ShortcutForm.d.ts.map +1 -0
- package/dist/product-management/modules/shortcuts/components/ShortcutForm.js +19 -20
- package/dist/product-management/modules/shortcuts/components/ShortcutForm.js.map +1 -1
- package/dist/product-management/modules/shortcuts/components/ShortcutKeyBadge.d.ts +11 -0
- package/dist/product-management/modules/shortcuts/components/ShortcutKeyBadge.d.ts.map +1 -0
- package/dist/product-management/modules/shortcuts/components/ShortcutKeyBadge.js +1 -2
- package/dist/product-management/modules/shortcuts/components/ShortcutKeyBadge.js.map +1 -1
- package/dist/product-management/modules/shortcuts/hooks/useShortcuts.d.ts +85 -0
- package/dist/product-management/modules/shortcuts/hooks/useShortcuts.d.ts.map +1 -0
- package/dist/product-management/modules/shortcuts/hooks/useShortcuts.js +1 -2
- package/dist/product-management/modules/shortcuts/hooks/useShortcuts.js.map +1 -1
- package/dist/product-management/modules/shortcuts/index.d.ts +17 -0
- package/dist/product-management/modules/shortcuts/index.d.ts.map +1 -0
- package/dist/product-management/modules/shortcuts/pages/ShortcutCreatePage.d.ts +2 -0
- package/dist/product-management/modules/shortcuts/pages/ShortcutCreatePage.d.ts.map +1 -0
- package/dist/product-management/modules/shortcuts/pages/ShortcutCreatePage.js +3 -3
- package/dist/product-management/modules/shortcuts/pages/ShortcutCreatePage.js.map +1 -1
- package/dist/product-management/modules/shortcuts/pages/ShortcutDetailPage.d.ts +2 -0
- package/dist/product-management/modules/shortcuts/pages/ShortcutDetailPage.d.ts.map +1 -0
- package/dist/product-management/modules/shortcuts/pages/ShortcutDetailPage.js +25 -26
- package/dist/product-management/modules/shortcuts/pages/ShortcutDetailPage.js.map +1 -1
- package/dist/product-management/modules/shortcuts/pages/ShortcutEditPage.d.ts +2 -0
- package/dist/product-management/modules/shortcuts/pages/ShortcutEditPage.d.ts.map +1 -0
- package/dist/product-management/modules/shortcuts/pages/ShortcutEditPage.js +10 -11
- package/dist/product-management/modules/shortcuts/pages/ShortcutEditPage.js.map +1 -1
- package/dist/product-management/modules/shortcuts/pages/ShortcutsListPage.d.ts +2 -0
- package/dist/product-management/modules/shortcuts/pages/ShortcutsListPage.d.ts.map +1 -0
- package/dist/product-management/modules/shortcuts/pages/ShortcutsListPage.js +36 -37
- package/dist/product-management/modules/shortcuts/pages/ShortcutsListPage.js.map +1 -1
- package/dist/product-management/modules/shortcuts/schemas/index.d.ts +35 -0
- package/dist/product-management/modules/shortcuts/schemas/index.d.ts.map +1 -0
- package/dist/product-management/modules/shortcuts/schemas/index.js +1 -2
- package/dist/product-management/modules/shortcuts/schemas/index.js.map +1 -1
- package/dist/product-management/modules/shortcuts/types/index.d.ts +28 -0
- package/dist/product-management/modules/shortcuts/types/index.d.ts.map +1 -0
- package/dist/product-management/modules/shortcuts/types/index.js +1 -2
- package/dist/product-management/modules/shortcuts/types/index.js.map +1 -1
- package/dist/product-management/providers/ProductConsoleProvider.d.ts +18 -0
- package/dist/product-management/providers/ProductConsoleProvider.d.ts.map +1 -0
- package/dist/product-management/providers/ProductConsoleProvider.js +1 -2
- package/dist/product-management/providers/ProductConsoleProvider.js.map +1 -1
- package/dist/product-management/shared/components/AuditHistoryTab.d.ts +7 -0
- package/dist/product-management/shared/components/AuditHistoryTab.d.ts.map +1 -0
- package/dist/product-management/shared/components/AuditHistoryTab.js +4 -5
- package/dist/product-management/shared/components/AuditHistoryTab.js.map +1 -1
- package/dist/product-management/shared/components/TagList.d.ts +7 -0
- package/dist/product-management/shared/components/TagList.d.ts.map +1 -0
- package/dist/product-management/shared/components/TagList.js +1 -2
- package/dist/product-management/shared/components/TagList.js.map +1 -1
- package/dist/product-management/shared/components/feedback/EmptyState.d.ts +20 -0
- package/dist/product-management/shared/components/feedback/EmptyState.d.ts.map +1 -0
- package/dist/product-management/shared/components/feedback/ErrorState.d.ts +33 -0
- package/dist/product-management/shared/components/feedback/ErrorState.d.ts.map +1 -0
- package/dist/product-management/shared/components/feedback/ErrorState.js +4 -5
- package/dist/product-management/shared/components/feedback/ErrorState.js.map +1 -1
- package/dist/product-management/shared/components/feedback/LoadingState.d.ts +13 -0
- package/dist/product-management/shared/components/feedback/LoadingState.d.ts.map +1 -0
- package/dist/product-management/shared/components/feedback/LoadingState.js +1 -2
- package/dist/product-management/shared/components/feedback/LoadingState.js.map +1 -1
- package/dist/product-management/shared/components/input/ProductCombobox.d.ts +29 -0
- package/dist/product-management/shared/components/input/ProductCombobox.d.ts.map +1 -0
- package/dist/product-management/shared/components/input/ProductCombobox.js +12 -13
- package/dist/product-management/shared/components/input/ProductCombobox.js.map +1 -1
- package/dist/product-management/shared/components/input/SearchInput.d.ts +17 -0
- package/dist/product-management/shared/components/input/SearchInput.d.ts.map +1 -0
- package/dist/product-management/shared/components/input/SearchInput.js +1 -2
- package/dist/product-management/shared/components/input/SearchInput.js.map +1 -1
- package/dist/product-management/shared/components/input/TagInput.d.ts +10 -0
- package/dist/product-management/shared/components/input/TagInput.d.ts.map +1 -0
- package/dist/product-management/shared/components/input/TagInput.js +2 -3
- package/dist/product-management/shared/components/input/TagInput.js.map +1 -1
- package/dist/product-management/shared/hooks/useConfirmDialog.d.ts +22 -0
- package/dist/product-management/shared/hooks/useConfirmDialog.d.ts.map +1 -0
- package/dist/product-management/shared/hooks/useConfirmDialog.js +1 -2
- package/dist/product-management/shared/hooks/useConfirmDialog.js.map +1 -1
- package/dist/product-management/shared/hooks/useDebounced.d.ts +6 -0
- package/dist/product-management/shared/hooks/useDebounced.d.ts.map +1 -0
- package/dist/product-management/shared/hooks/useDebounced.js +1 -2
- package/dist/product-management/shared/hooks/useDebounced.js.map +1 -1
- package/dist/product-management/shared/hooks/useTr.d.ts +17 -0
- package/dist/product-management/shared/hooks/useTr.d.ts.map +1 -0
- package/dist/product-management/shared/hooks/useTr.js +1 -2
- package/dist/product-management/shared/hooks/useTr.js.map +1 -1
- package/dist/product-management/shared/index.d.ts +13 -0
- package/dist/product-management/shared/index.d.ts.map +1 -0
- package/dist/product-management/shared/types/graphql.d.ts +119 -0
- package/dist/product-management/shared/types/graphql.d.ts.map +1 -0
- package/dist/product-management/shared/utils/cn.d.ts +7 -0
- package/dist/product-management/shared/utils/cn.d.ts.map +1 -0
- package/dist/product-management/shared/utils/cn.js +2 -3
- package/dist/product-management/shared/utils/cn.js.map +1 -1
- package/dist/product-management/shared/utils/exportUtils.d.ts +4 -0
- package/dist/product-management/shared/utils/exportUtils.d.ts.map +1 -0
- package/dist/product-management/shared/utils/exportUtils.js +1 -2
- package/dist/product-management/shared/utils/exportUtils.js.map +1 -1
- package/dist/product-management/shared/utils/permission-error.d.ts +13 -0
- package/dist/product-management/shared/utils/permission-error.d.ts.map +1 -0
- package/dist/product-management/shared/utils/permission-error.js +3 -4
- package/dist/product-management/shared/utils/permission-error.js.map +1 -1
- package/dist/product-management/types/index.d.ts +40 -0
- package/dist/product-management/types/index.d.ts.map +1 -0
- package/dist/shared/components/MarkdownEditor.d.ts +16 -0
- package/dist/shared/components/MarkdownEditor.d.ts.map +1 -0
- package/dist/shared/components/MarkdownEditor.js +3 -4
- package/dist/shared/components/MarkdownEditor.js.map +1 -1
- package/dist/shared/components/index.d.ts +11 -0
- package/dist/shared/components/index.d.ts.map +1 -0
- package/dist/shared/components/index.js +5 -4
- package/dist/shared/hooks/useTr.d.ts +2 -0
- package/dist/shared/hooks/useTr.d.ts.map +1 -0
- package/dist/shared/hooks/useTr.js +1 -1
- package/dist/shared/index.d.ts +3 -0
- package/dist/shared/index.d.ts.map +1 -0
- package/dist/shared/utils/formatDate.d.ts +5 -0
- package/dist/shared/utils/formatDate.d.ts.map +1 -0
- package/dist/shared/utils/formatDate.js +1 -2
- package/dist/shared/utils/formatDate.js.map +1 -1
- package/dist/shared/utils/index.d.ts +4 -0
- package/dist/shared/utils/index.d.ts.map +1 -0
- package/dist/shared/utils/isSafeUrl.d.ts +6 -0
- package/dist/shared/utils/isSafeUrl.d.ts.map +1 -0
- package/dist/shared/utils/isSafeUrl.js +1 -2
- package/dist/shared/utils/isSafeUrl.js.map +1 -1
- package/dist/shared/utils/renderMarkdown.d.ts +10 -0
- package/dist/shared/utils/renderMarkdown.d.ts.map +1 -0
- package/dist/translations/en.d.ts +651 -0
- package/dist/translations/en.d.ts.map +1 -0
- package/dist/translations/en.js +1 -2
- package/dist/translations/en.js.map +1 -1
- package/dist/translations/index.d.ts +2 -0
- package/dist/translations/index.d.ts.map +1 -0
- package/dist/utils/nativeBridge.d.ts +3 -0
- package/dist/utils/nativeBridge.d.ts.map +1 -0
- package/dist/utils/nativeBridge.js +1 -2
- package/package.json +35 -23
- package/dist/node_modules/zod/v4/classic/iso.js +0 -33
- package/dist/node_modules/zod/v4/classic/iso.js.map +0 -1
|
@@ -1,69 +1,101 @@
|
|
|
1
1
|
import { globalConfig as e } from "./core.js";
|
|
2
|
-
|
|
2
|
+
// node_modules/zod/v4/core/util.js
|
|
3
3
|
function t(e) {
|
|
4
4
|
let t = Object.values(e).filter((e) => typeof e == "number");
|
|
5
5
|
return Object.entries(e).filter(([e, n]) => t.indexOf(+e) === -1).map(([e, t]) => t);
|
|
6
6
|
}
|
|
7
|
-
function n(e, t) {
|
|
7
|
+
function n(e, t = "|") {
|
|
8
|
+
return e.map((e) => w(e)).join(t);
|
|
9
|
+
}
|
|
10
|
+
function r(e, t) {
|
|
8
11
|
return typeof t == "bigint" ? t.toString() : t;
|
|
9
12
|
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
13
|
+
var i = class {
|
|
14
|
+
constructor(e) {
|
|
15
|
+
this._getter = e, this._value = void 0;
|
|
16
|
+
}
|
|
17
|
+
get value() {
|
|
18
|
+
let e = this._getter;
|
|
19
|
+
return e !== void 0 && (this._value = e(), this._getter = void 0), this._value;
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
function a(e) {
|
|
23
|
+
return new i(e);
|
|
18
24
|
}
|
|
19
|
-
function
|
|
25
|
+
function o(e) {
|
|
20
26
|
return e == null;
|
|
21
27
|
}
|
|
22
|
-
function
|
|
28
|
+
function s(e) {
|
|
23
29
|
let t = +!!e.startsWith("^"), n = e.endsWith("$") ? e.length - 1 : e.length;
|
|
24
30
|
return e.slice(t, n);
|
|
25
31
|
}
|
|
26
|
-
function
|
|
27
|
-
let n = e / t, r = Math.round(n), i = 2 ** -52 * Math.max(Math.abs(n), 1);
|
|
32
|
+
function c(e, t) {
|
|
33
|
+
let n = e / t, r = Math.round(n), i = 4 * 2 ** -52 * Math.max(Math.abs(n), 1);
|
|
28
34
|
return Math.abs(n - r) < i ? 0 : n - r;
|
|
29
35
|
}
|
|
30
|
-
|
|
31
|
-
function c(e, t, n) {
|
|
32
|
-
let r;
|
|
36
|
+
function l(e, t, n) {
|
|
33
37
|
Object.defineProperty(e, t, {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
set(n) {
|
|
38
|
-
Object.defineProperty(e, t, { value: n });
|
|
39
|
-
},
|
|
38
|
+
value: n,
|
|
39
|
+
writable: !0,
|
|
40
|
+
enumerable: !0,
|
|
40
41
|
configurable: !0
|
|
41
42
|
});
|
|
42
43
|
}
|
|
43
|
-
function
|
|
44
|
+
function u(e) {
|
|
45
|
+
let t = Object.getOwnPropertyDescriptor(e, "shape");
|
|
46
|
+
return t?.get ? t.get.raw : t?.value;
|
|
47
|
+
}
|
|
48
|
+
function d(e) {
|
|
49
|
+
return u(e._zod.def) ?? e._zod.def.shape;
|
|
50
|
+
}
|
|
51
|
+
function f(e, t, n) {
|
|
44
52
|
Object.defineProperty(e, t, {
|
|
45
|
-
|
|
46
|
-
|
|
53
|
+
get() {
|
|
54
|
+
let e = n();
|
|
55
|
+
return l(this, t, e), e;
|
|
56
|
+
},
|
|
47
57
|
enumerable: !0,
|
|
48
58
|
configurable: !0
|
|
49
59
|
});
|
|
50
60
|
}
|
|
51
|
-
function
|
|
61
|
+
function p(e, t, n) {
|
|
62
|
+
t in e ? l(e, t, n) : e[t] = n;
|
|
63
|
+
}
|
|
64
|
+
function m(e, t, n, r) {
|
|
65
|
+
let i = d(t);
|
|
66
|
+
for (let a of n) {
|
|
67
|
+
let n = Object.getOwnPropertyDescriptor(i, a);
|
|
68
|
+
n.enumerable && (n.get ? f(e, a, () => {
|
|
69
|
+
let e = t._zod.def.shape[a];
|
|
70
|
+
return r ? r(e, a) : e;
|
|
71
|
+
}) : p(e, a, r ? r(n.value, a) : n.value));
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
function h(e, t) {
|
|
75
|
+
for (let n of Reflect.ownKeys(t)) {
|
|
76
|
+
let r = Object.getOwnPropertyDescriptor(t, n);
|
|
77
|
+
r.enumerable && (r.get ? f(e, n, () => t[n]) : p(e, n, r.value));
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
function g(...e) {
|
|
52
81
|
let t = {};
|
|
53
|
-
for (let n of e)
|
|
82
|
+
for (let n of e) {
|
|
83
|
+
let e = Object.getOwnPropertyDescriptors(n);
|
|
84
|
+
Object.assign(t, e);
|
|
85
|
+
}
|
|
54
86
|
return Object.defineProperties({}, t);
|
|
55
87
|
}
|
|
56
|
-
function
|
|
88
|
+
function ee(e) {
|
|
57
89
|
return JSON.stringify(e);
|
|
58
90
|
}
|
|
59
|
-
function
|
|
91
|
+
function _(e) {
|
|
60
92
|
return e.toLowerCase().trim().replace(/[^\w\s-]/g, "").replace(/[\s_-]+/g, "-").replace(/^-+|-+$/g, "");
|
|
61
93
|
}
|
|
62
|
-
var
|
|
63
|
-
function
|
|
94
|
+
var v = "captureStackTrace" in Error ? Error.captureStackTrace : (...e) => {};
|
|
95
|
+
function y(e) {
|
|
64
96
|
return typeof e == "object" && !!e && !Array.isArray(e);
|
|
65
97
|
}
|
|
66
|
-
var
|
|
98
|
+
var b = /* @__PURE__*/ a(() => {
|
|
67
99
|
if (e.jitless || typeof navigator < "u" && navigator?.userAgent?.includes("Cloudflare")) return !1;
|
|
68
100
|
try {
|
|
69
101
|
return Function(""), !0;
|
|
@@ -71,29 +103,29 @@ var h = /* @__PURE__ */ r(() => {
|
|
|
71
103
|
return !1;
|
|
72
104
|
}
|
|
73
105
|
});
|
|
74
|
-
function
|
|
75
|
-
if (
|
|
106
|
+
function x(e) {
|
|
107
|
+
if (y(e) === !1) return !1;
|
|
76
108
|
let t = e.constructor;
|
|
77
109
|
if (t === void 0 || typeof t != "function") return !0;
|
|
78
110
|
let n = t.prototype;
|
|
79
|
-
return
|
|
111
|
+
return y(n) !== !1 && Object.prototype.hasOwnProperty.call(n, "isPrototypeOf") !== !1;
|
|
80
112
|
}
|
|
81
|
-
function
|
|
82
|
-
return
|
|
113
|
+
function te(e) {
|
|
114
|
+
return x(e) ? { ...e } : Array.isArray(e) ? [...e] : e instanceof Map ? new Map(e) : e instanceof Set ? new Set(e) : e;
|
|
83
115
|
}
|
|
84
|
-
var
|
|
116
|
+
var ne = /* @__PURE__*/ new Set([
|
|
85
117
|
"string",
|
|
86
118
|
"number",
|
|
87
119
|
"symbol"
|
|
88
120
|
]);
|
|
89
|
-
function
|
|
121
|
+
function re(e) {
|
|
90
122
|
return e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
91
123
|
}
|
|
92
|
-
function
|
|
124
|
+
function S(e, t, n) {
|
|
93
125
|
let r = new e._zod.constr(t ?? e._zod.def);
|
|
94
126
|
return (!t || n?.parent) && (r._zod.parent = e), r;
|
|
95
127
|
}
|
|
96
|
-
function
|
|
128
|
+
function C(e) {
|
|
97
129
|
let t = e;
|
|
98
130
|
if (!t) return {};
|
|
99
131
|
if (typeof t == "string") return { error: () => t };
|
|
@@ -106,153 +138,162 @@ function x(e) {
|
|
|
106
138
|
error: () => t.error
|
|
107
139
|
} : t;
|
|
108
140
|
}
|
|
109
|
-
function
|
|
110
|
-
return
|
|
141
|
+
function w(e) {
|
|
142
|
+
return typeof e == "bigint" ? e.toString() + "n" : typeof e == "string" ? `"${e}"` : `${e}`;
|
|
143
|
+
}
|
|
144
|
+
function T(e) {
|
|
145
|
+
return Object.keys(e).filter((t) => e[t]._zod.optin !== void 0 && e[t]._zod.optout === "optional");
|
|
111
146
|
}
|
|
112
|
-
var
|
|
147
|
+
var E = {
|
|
113
148
|
safeint: [-(2 ** 53 - 1), 2 ** 53 - 1],
|
|
114
149
|
int32: [-2147483648, 2147483647],
|
|
115
150
|
uint32: [0, 4294967295],
|
|
116
151
|
float32: [-34028234663852886e22, 34028234663852886e22],
|
|
117
152
|
float64: [-Number.MAX_VALUE, Number.MAX_VALUE]
|
|
153
|
+
}, D = {
|
|
154
|
+
int64: [/* @__PURE__*/ BigInt("-9223372036854775808"), /* @__PURE__*/ BigInt("9223372036854775807")],
|
|
155
|
+
uint64: [/* @__PURE__*/ BigInt(0), /* @__PURE__*/ BigInt("18446744073709551615")]
|
|
118
156
|
};
|
|
119
|
-
function
|
|
157
|
+
function O(e, t) {
|
|
120
158
|
let n = e._zod.def, r = n.checks;
|
|
121
159
|
if (r && r.length > 0) throw Error(".pick() cannot be used on object schemas containing refinements");
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
for (let r in t) {
|
|
126
|
-
if (!(r in n.shape)) throw Error(`Unrecognized key: "${r}"`);
|
|
127
|
-
t[r] && (e[r] = n.shape[r]);
|
|
128
|
-
}
|
|
129
|
-
return l(this, "shape", e), e;
|
|
130
|
-
},
|
|
160
|
+
let i = {};
|
|
161
|
+
return m(i, e, k(e, t)), S(e, g(n, {
|
|
162
|
+
shape: i,
|
|
131
163
|
checks: []
|
|
132
164
|
}));
|
|
133
165
|
}
|
|
134
|
-
function
|
|
166
|
+
function k(e, t) {
|
|
167
|
+
let n = d(e), r = [];
|
|
168
|
+
for (let e of Reflect.ownKeys(t)) {
|
|
169
|
+
if (!Object.getOwnPropertyDescriptor(n, e)?.enumerable) throw Error(`Unrecognized key: "${String(e)}"`);
|
|
170
|
+
t[e] && r.push(e);
|
|
171
|
+
}
|
|
172
|
+
return r;
|
|
173
|
+
}
|
|
174
|
+
function A(e, t) {
|
|
135
175
|
let n = e._zod.def, r = n.checks;
|
|
136
176
|
if (r && r.length > 0) throw Error(".omit() cannot be used on object schemas containing refinements");
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
for (let e in t) {
|
|
141
|
-
if (!(e in n.shape)) throw Error(`Unrecognized key: "${e}"`);
|
|
142
|
-
t[e] && delete r[e];
|
|
143
|
-
}
|
|
144
|
-
return l(this, "shape", r), r;
|
|
145
|
-
},
|
|
177
|
+
let i = new Set(k(e, t)), a = {};
|
|
178
|
+
return m(a, e, Reflect.ownKeys(d(e)).filter((e) => !i.has(e))), S(e, g(n, {
|
|
179
|
+
shape: a,
|
|
146
180
|
checks: []
|
|
147
181
|
}));
|
|
148
182
|
}
|
|
149
|
-
function
|
|
150
|
-
if (!
|
|
183
|
+
function j(e, t) {
|
|
184
|
+
if (!x(t)) throw Error("Invalid input to extend: expected a plain object");
|
|
151
185
|
let n = e._zod.def.checks;
|
|
152
186
|
if (n && n.length > 0) {
|
|
153
|
-
let n = e
|
|
154
|
-
for (let e
|
|
187
|
+
let n = d(e);
|
|
188
|
+
for (let e of Reflect.ownKeys(t)) if (Object.getOwnPropertyDescriptor(n, e) !== void 0) throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.");
|
|
155
189
|
}
|
|
156
|
-
return
|
|
157
|
-
let n = {
|
|
158
|
-
...e._zod.def.shape,
|
|
159
|
-
...t
|
|
160
|
-
};
|
|
161
|
-
return l(this, "shape", n), n;
|
|
162
|
-
} }));
|
|
163
|
-
}
|
|
164
|
-
function D(e, t) {
|
|
165
|
-
if (!g(t)) throw Error("Invalid input to safeExtend: expected a plain object");
|
|
166
|
-
return b(e, u(e._zod.def, { get shape() {
|
|
167
|
-
let n = {
|
|
168
|
-
...e._zod.def.shape,
|
|
169
|
-
...t
|
|
170
|
-
};
|
|
171
|
-
return l(this, "shape", n), n;
|
|
172
|
-
} }));
|
|
190
|
+
return S(e, g(e._zod.def, { shape: M(e, t) }));
|
|
173
191
|
}
|
|
174
|
-
function
|
|
192
|
+
function M(e, t) {
|
|
193
|
+
let n = {};
|
|
194
|
+
return m(n, e, Reflect.ownKeys(d(e))), h(n, t), n;
|
|
195
|
+
}
|
|
196
|
+
function N(e, t) {
|
|
197
|
+
if (!x(t)) throw Error("Invalid input to safeExtend: expected a plain object");
|
|
198
|
+
return S(e, g(e._zod.def, { shape: M(e, t) }));
|
|
199
|
+
}
|
|
200
|
+
function P(e, t) {
|
|
201
|
+
if (!t?._zod?.def) throw Error("Invalid input to merge: expected an object schema. To merge a plain shape, use `.extend()`.");
|
|
175
202
|
if (e._zod.def.checks?.length) throw Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
...e._zod.def.shape,
|
|
180
|
-
...t._zod.def.shape
|
|
181
|
-
};
|
|
182
|
-
return l(this, "shape", n), n;
|
|
183
|
-
},
|
|
203
|
+
let n = {};
|
|
204
|
+
return m(n, e, Reflect.ownKeys(d(e))), m(n, t, Reflect.ownKeys(d(t))), S(e, g(e._zod.def, {
|
|
205
|
+
shape: n,
|
|
184
206
|
get catchall() {
|
|
185
207
|
return t._zod.def.catchall;
|
|
186
208
|
},
|
|
187
209
|
checks: t._zod.def.checks ?? []
|
|
188
210
|
}));
|
|
189
211
|
}
|
|
190
|
-
function
|
|
191
|
-
let
|
|
192
|
-
if (
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
type: "optional",
|
|
200
|
-
innerType: r[t]
|
|
201
|
-
}) : r[t]);
|
|
202
|
-
}
|
|
203
|
-
else for (let t in r) i[t] = e ? new e({
|
|
204
|
-
type: "optional",
|
|
205
|
-
innerType: r[t]
|
|
206
|
-
}) : r[t];
|
|
207
|
-
return l(this, "shape", i), i;
|
|
208
|
-
},
|
|
212
|
+
function F(e, t, n, r = "partial") {
|
|
213
|
+
let i = t._zod.def.checks;
|
|
214
|
+
if (i && i.length > 0) throw Error(`.${r}() cannot be used on object schemas containing refinements`);
|
|
215
|
+
let a = n ? new Set(k(t, n)) : void 0, o = {};
|
|
216
|
+
return m(o, t, Reflect.ownKeys(d(t)), e && ((t, n) => a && !a.has(n) ? t : new e({
|
|
217
|
+
type: "optional",
|
|
218
|
+
innerType: t
|
|
219
|
+
}))), S(t, g(t._zod.def, {
|
|
220
|
+
shape: o,
|
|
209
221
|
checks: []
|
|
210
222
|
}));
|
|
211
223
|
}
|
|
212
|
-
function
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
type: "nonoptional",
|
|
219
|
-
innerType: r[t]
|
|
220
|
-
}));
|
|
221
|
-
}
|
|
222
|
-
else for (let t in r) i[t] = new e({
|
|
223
|
-
type: "nonoptional",
|
|
224
|
-
innerType: r[t]
|
|
225
|
-
});
|
|
226
|
-
return l(this, "shape", i), i;
|
|
227
|
-
} }));
|
|
224
|
+
function I(e, t, n) {
|
|
225
|
+
let r = n ? new Set(k(t, n)) : void 0, i = {};
|
|
226
|
+
return m(i, t, Reflect.ownKeys(d(t)), (t, n) => r && !r.has(n) ? t : new e({
|
|
227
|
+
type: "nonoptional",
|
|
228
|
+
innerType: t
|
|
229
|
+
})), S(t, g(t._zod.def, { shape: i }));
|
|
228
230
|
}
|
|
229
|
-
function
|
|
231
|
+
function L(e, t = 0) {
|
|
230
232
|
if (e.aborted === !0) return !0;
|
|
231
233
|
for (let n = t; n < e.issues.length; n++) if (e.issues[n]?.continue !== !0) return !0;
|
|
232
234
|
return !1;
|
|
233
235
|
}
|
|
234
|
-
function
|
|
236
|
+
function R(e, t = 0) {
|
|
235
237
|
if (e.aborted === !0) return !0;
|
|
236
238
|
for (let n = t; n < e.issues.length; n++) if (e.issues[n]?.continue === !1) return !0;
|
|
237
239
|
return !1;
|
|
238
240
|
}
|
|
239
|
-
function
|
|
241
|
+
function ie(e, t) {
|
|
240
242
|
return t.map((t) => {
|
|
241
243
|
var n;
|
|
242
244
|
return (n = t).path ?? (n.path = []), t.path.unshift(e), t;
|
|
243
245
|
});
|
|
244
246
|
}
|
|
245
|
-
function
|
|
247
|
+
function z(e) {
|
|
246
248
|
return typeof e == "string" ? e : e?.message;
|
|
247
249
|
}
|
|
248
|
-
function
|
|
249
|
-
let
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
250
|
+
function B(e) {
|
|
251
|
+
let t = [];
|
|
252
|
+
for (let n of e ?? []) {
|
|
253
|
+
let e = n._zod.def;
|
|
254
|
+
if (!/_(length|size)$|_equals$/.test(e.check)) break;
|
|
255
|
+
let r = e.maximum ?? e.length ?? e.size;
|
|
256
|
+
r >= 0 && t.push([r, n]);
|
|
257
|
+
}
|
|
258
|
+
return t;
|
|
259
|
+
}
|
|
260
|
+
function V(e, t, n) {
|
|
261
|
+
var r;
|
|
262
|
+
for (let i = t; i < e.length; i++) (r = e[i]).schema ?? (r.schema = n);
|
|
263
|
+
}
|
|
264
|
+
function H(e, t, n) {
|
|
265
|
+
var r;
|
|
266
|
+
let i = e.inst?._zod?.traits;
|
|
267
|
+
i?.has("$ZodType") && (i.has("$ZodCheck") ? (r = e).schema ?? (r.schema = e.inst) : e.schema = e.inst);
|
|
268
|
+
let a = e.schema === e.inst ? void 0 : e.schema?._zod.def?.error, o = e.message ? e.message : z(e.inst?._zod.def?.error?.(e)) ?? z(a?.(e)) ?? z(t?.error?.(e)) ?? z(n.customError?.(e)) ?? z(n.localeError?.(e)) ?? "Invalid input", s = {};
|
|
269
|
+
for (let t of Object.keys(e)) t !== "inst" && t !== "schema" && t !== "continue" && t !== "input" && t !== "__proto__" && (s[t] = e[t]);
|
|
270
|
+
return s.path ??= [], s.message = o, t?.reportInput && (s.input = e.input), s;
|
|
271
|
+
}
|
|
272
|
+
var U = /[\uD800-\uDBFF]/;
|
|
273
|
+
function W(e) {
|
|
274
|
+
let t = e.length;
|
|
275
|
+
if (!U.test(e)) return t;
|
|
276
|
+
let n = t;
|
|
277
|
+
for (let r = 0; r < t - 1; r++) (e.charCodeAt(r) & 64512) == 55296 && (e.charCodeAt(r + 1) & 64512) == 56320 && (n--, r++);
|
|
278
|
+
return n;
|
|
279
|
+
}
|
|
280
|
+
function G(e) {
|
|
253
281
|
return Array.isArray(e) ? "array" : typeof e == "string" ? "string" : "unknown";
|
|
254
282
|
}
|
|
255
|
-
function
|
|
283
|
+
function K(e) {
|
|
284
|
+
let t = typeof e;
|
|
285
|
+
switch (t) {
|
|
286
|
+
case "number": return Number.isNaN(e) ? "nan" : "number";
|
|
287
|
+
case "object": {
|
|
288
|
+
if (e === null) return "null";
|
|
289
|
+
if (Array.isArray(e)) return "array";
|
|
290
|
+
let t = e;
|
|
291
|
+
if (t && Object.getPrototypeOf(t) !== Object.prototype && "constructor" in t && t.constructor) return t.constructor.name;
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
return t;
|
|
295
|
+
}
|
|
296
|
+
function q(...e) {
|
|
256
297
|
let [t, n, r] = e;
|
|
257
298
|
return typeof t == "string" ? {
|
|
258
299
|
message: t,
|
|
@@ -261,7 +302,120 @@ function L(...e) {
|
|
|
261
302
|
inst: r
|
|
262
303
|
} : { ...t };
|
|
263
304
|
}
|
|
264
|
-
|
|
265
|
-
|
|
305
|
+
function J(e, t) {
|
|
306
|
+
for (let n in t) {
|
|
307
|
+
let r = Object.getOwnPropertyDescriptor(t, n);
|
|
308
|
+
r.get ? Object.defineProperty(e, n, {
|
|
309
|
+
...r,
|
|
310
|
+
enumerable: !1
|
|
311
|
+
}) : se(e, n, r.value);
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
function Y(e, t, n, r = !0) {
|
|
315
|
+
return Object.defineProperty(e, t, {
|
|
316
|
+
configurable: !0,
|
|
317
|
+
writable: !0,
|
|
318
|
+
enumerable: r,
|
|
319
|
+
value: n
|
|
320
|
+
}), n;
|
|
321
|
+
}
|
|
322
|
+
function ae(e, t, n) {
|
|
323
|
+
return Y(e, t, n, !1);
|
|
324
|
+
}
|
|
325
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
326
|
+
function oe(e, t) {
|
|
327
|
+
for (let n in e) {
|
|
328
|
+
let r = e[n];
|
|
329
|
+
Object.defineProperty(t, n, {
|
|
330
|
+
configurable: !0,
|
|
331
|
+
enumerable: !0,
|
|
332
|
+
get() {
|
|
333
|
+
return Y(this, n, r(this));
|
|
334
|
+
},
|
|
335
|
+
set(e) {
|
|
336
|
+
Y(this, n, e);
|
|
337
|
+
}
|
|
338
|
+
});
|
|
339
|
+
}
|
|
340
|
+
return t;
|
|
341
|
+
}
|
|
342
|
+
function se(e, t, n) {
|
|
343
|
+
Object.defineProperty(e, t, {
|
|
344
|
+
configurable: !0,
|
|
345
|
+
get() {
|
|
346
|
+
return this == null ? n : Y(this, t, n.bind(this));
|
|
347
|
+
},
|
|
348
|
+
set(e) {
|
|
349
|
+
Y(this, t, e);
|
|
350
|
+
}
|
|
351
|
+
});
|
|
352
|
+
}
|
|
353
|
+
function ce(e, t) {
|
|
354
|
+
let n = Object.getPrototypeOf(e);
|
|
355
|
+
return t in n ? void 0 : n;
|
|
356
|
+
}
|
|
357
|
+
var X, Z = !1, le = {
|
|
358
|
+
configurable: !0,
|
|
359
|
+
get() {
|
|
360
|
+
Z = !0;
|
|
361
|
+
}
|
|
362
|
+
};
|
|
363
|
+
function ue(e, t, n) {
|
|
364
|
+
let r = Object.getPrototypeOf(e._zod);
|
|
365
|
+
t in r && X !== e._zod ? X = void 0 : (X = e._zod, Object.defineProperty(r, t, {
|
|
366
|
+
configurable: !0,
|
|
367
|
+
get() {
|
|
368
|
+
Object.defineProperty(this, t, le);
|
|
369
|
+
let e = Z;
|
|
370
|
+
Z = !1;
|
|
371
|
+
try {
|
|
372
|
+
let r = n(this);
|
|
373
|
+
return Z ? delete this[t] : Object.defineProperty(this, t, {
|
|
374
|
+
configurable: !0,
|
|
375
|
+
writable: !0,
|
|
376
|
+
value: r
|
|
377
|
+
}), Z ||= e, r;
|
|
378
|
+
} catch (n) {
|
|
379
|
+
throw delete this[t], Z ||= e, n;
|
|
380
|
+
}
|
|
381
|
+
},
|
|
382
|
+
set(e) {
|
|
383
|
+
Object.defineProperty(this, t, {
|
|
384
|
+
configurable: !0,
|
|
385
|
+
writable: !0,
|
|
386
|
+
value: e
|
|
387
|
+
});
|
|
388
|
+
}
|
|
389
|
+
}));
|
|
390
|
+
}
|
|
391
|
+
function Q(e, t, n, r) {
|
|
392
|
+
let i = ce(e, t);
|
|
393
|
+
i && Object.defineProperty(i, t, {
|
|
394
|
+
configurable: !0,
|
|
395
|
+
get() {
|
|
396
|
+
let e = {
|
|
397
|
+
configurable: !0,
|
|
398
|
+
writable: !0,
|
|
399
|
+
enumerable: r,
|
|
400
|
+
value: void 0
|
|
401
|
+
};
|
|
402
|
+
return Object.defineProperty(this, t, e), e.value = n(this), Object.defineProperty(this, t, e), e.value;
|
|
403
|
+
},
|
|
404
|
+
set(e) {
|
|
405
|
+
Object.defineProperty(this, t, {
|
|
406
|
+
configurable: !0,
|
|
407
|
+
writable: !0,
|
|
408
|
+
enumerable: r,
|
|
409
|
+
value: e
|
|
410
|
+
});
|
|
411
|
+
}
|
|
412
|
+
});
|
|
413
|
+
}
|
|
414
|
+
var $ = "~constantCatch";
|
|
415
|
+
function de(e) {
|
|
416
|
+
let t = () => e;
|
|
417
|
+
return t[$] = !0, t;
|
|
418
|
+
}
|
|
419
|
+
export { D as BIGINT_FORMAT_RANGES, $ as CONSTANT_CATCH, E as NUMBER_FORMAT_RANGES, L as aborted, b as allowsEval, l as assignProp, V as attachSchema, a as cached, v as captureStackTrace, s as cleanRegex, S as clone, W as codePointLength, de as constantCatch, ue as defineLazyInternal, oe as derived, ee as esc, re as escapeRegex, R as explicitlyAborted, j as extend, H as finalizeIssue, c as floatSafeRemainder, t as getEnumValues, G as getLengthableOrigin, ae as hide, Q as installLazyProp, y as isObject, x as isPlainObject, q as issue, n as joinValues, r as jsonStringifyReplacer, J as members, P as merge, g as mergeDefs, C as normalizeParams, o as nullish, A as omit, T as optionalKeys, Y as own, K as parsedType, F as partial, O as pick, ie as prefixIssues, ne as propertyKeyTypes, u as rawShape, I as required, N as safeExtend, te as shallowClone, B as sizeCaps, _ as slugify, w as stringifyPrimitive, z as unwrapMessage };
|
|
266
420
|
|
|
267
421
|
//# sourceMappingURL=util.js.map
|