@burdenoff/microfe-product 2026.1014.1 → 2026.1109.2
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 +33 -21
- package/dist/node_modules/zod/v4/classic/iso.js +0 -33
- package/dist/node_modules/zod/v4/classic/iso.js.map +0 -1
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const createPressKitAssetSchema: z.ZodObject<{
|
|
3
|
+
productId: z.ZodString;
|
|
4
|
+
category: z.ZodEnum<{
|
|
5
|
+
LOGO: "LOGO";
|
|
6
|
+
BANNER: "BANNER";
|
|
7
|
+
SCREENSHOT: "SCREENSHOT";
|
|
8
|
+
BROCHURE: "BROCHURE";
|
|
9
|
+
DOCUMENT: "DOCUMENT";
|
|
10
|
+
PRESS_RELEASE: "PRESS_RELEASE";
|
|
11
|
+
BRAND_GUIDE: "BRAND_GUIDE";
|
|
12
|
+
CONTRACT: "CONTRACT";
|
|
13
|
+
}>;
|
|
14
|
+
title: z.ZodString;
|
|
15
|
+
slug: z.ZodString;
|
|
16
|
+
description: z.ZodOptional<z.ZodString>;
|
|
17
|
+
fileUrl: z.ZodString;
|
|
18
|
+
fileName: z.ZodOptional<z.ZodString>;
|
|
19
|
+
fileSize: z.ZodOptional<z.ZodNumber>;
|
|
20
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
21
|
+
thumbnailUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
22
|
+
version: z.ZodOptional<z.ZodString>;
|
|
23
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
25
|
+
PUBLIC: "PUBLIC";
|
|
26
|
+
AUTHENTICATED: "AUTHENTICATED";
|
|
27
|
+
INTERNAL: "INTERNAL";
|
|
28
|
+
}>>;
|
|
29
|
+
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
export declare const updatePressKitAssetSchema: z.ZodObject<{
|
|
32
|
+
category: z.ZodOptional<z.ZodEnum<{
|
|
33
|
+
LOGO: "LOGO";
|
|
34
|
+
BANNER: "BANNER";
|
|
35
|
+
SCREENSHOT: "SCREENSHOT";
|
|
36
|
+
BROCHURE: "BROCHURE";
|
|
37
|
+
DOCUMENT: "DOCUMENT";
|
|
38
|
+
PRESS_RELEASE: "PRESS_RELEASE";
|
|
39
|
+
BRAND_GUIDE: "BRAND_GUIDE";
|
|
40
|
+
CONTRACT: "CONTRACT";
|
|
41
|
+
}>>;
|
|
42
|
+
title: z.ZodOptional<z.ZodString>;
|
|
43
|
+
description: z.ZodOptional<z.ZodString>;
|
|
44
|
+
fileUrl: z.ZodOptional<z.ZodString>;
|
|
45
|
+
fileName: z.ZodOptional<z.ZodString>;
|
|
46
|
+
fileSize: z.ZodOptional<z.ZodNumber>;
|
|
47
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
48
|
+
thumbnailUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
49
|
+
version: z.ZodOptional<z.ZodString>;
|
|
50
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
51
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
52
|
+
PUBLIC: "PUBLIC";
|
|
53
|
+
AUTHENTICATED: "AUTHENTICATED";
|
|
54
|
+
INTERNAL: "INTERNAL";
|
|
55
|
+
}>>;
|
|
56
|
+
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
57
|
+
}, z.core.$strip>;
|
|
58
|
+
export type CreatePressKitAssetFormData = z.infer<typeof createPressKitAssetSchema>;
|
|
59
|
+
export type UpdatePressKitAssetFormData = z.infer<typeof updatePressKitAssetSchema>;
|
|
60
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/product-management/modules/press-kit/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAkBxB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAwBpC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;iBAapC,CAAC;AAEH,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AACpF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
var o =
|
|
1
|
+
import { array as e, enum as t, literal as n, number as r, object as i, string as a } from "../../../../node_modules/zod/v4/classic/schemas.js";
|
|
2
|
+
// src/product-management/modules/press-kit/schemas/index.ts
|
|
3
|
+
var o = t([
|
|
4
4
|
"LOGO",
|
|
5
5
|
"BANNER",
|
|
6
6
|
"SCREENSHOT",
|
|
@@ -21,8 +21,8 @@ var o = e([
|
|
|
21
21
|
mimeType: a().max(120).optional(),
|
|
22
22
|
thumbnailUrl: a().url("Must be a valid URL").or(n("")).optional(),
|
|
23
23
|
version: a().max(40).optional(),
|
|
24
|
-
tags:
|
|
25
|
-
visibility:
|
|
24
|
+
tags: e(a()).optional(),
|
|
25
|
+
visibility: t([
|
|
26
26
|
"PUBLIC",
|
|
27
27
|
"AUTHENTICATED",
|
|
28
28
|
"INTERNAL"
|
|
@@ -38,15 +38,14 @@ var o = e([
|
|
|
38
38
|
mimeType: a().max(120).optional(),
|
|
39
39
|
thumbnailUrl: a().url("Must be a valid URL").or(n("")).optional(),
|
|
40
40
|
version: a().max(40).optional(),
|
|
41
|
-
tags:
|
|
42
|
-
visibility:
|
|
41
|
+
tags: e(a()).optional(),
|
|
42
|
+
visibility: t([
|
|
43
43
|
"PUBLIC",
|
|
44
44
|
"AUTHENTICATED",
|
|
45
45
|
"INTERNAL"
|
|
46
46
|
]).optional(),
|
|
47
47
|
sortOrder: r().int().min(0).optional()
|
|
48
48
|
});
|
|
49
|
-
//#endregion
|
|
50
49
|
export { s as createPressKitAssetSchema, c as updatePressKitAssetSchema };
|
|
51
50
|
|
|
52
51
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../../../src/product-management/modules/press-kit/schemas/index.ts"],"sourcesContent":["import { z } from 'zod';\n\n/**\n * Press Kit Asset Validation Schemas\n * Aligned with backend ProductPressKitAsset schema\n */\n\nconst categoryEnum = z.enum([\n 'LOGO',\n 'BANNER',\n 'SCREENSHOT',\n 'BROCHURE',\n 'DOCUMENT',\n 'PRESS_RELEASE',\n 'BRAND_GUIDE',\n 'CONTRACT',\n]);\n\nexport const createPressKitAssetSchema = z.object({\n productId: z.string().min(1, 'Product is required'),\n category: categoryEnum,\n title: z\n .string()\n .min(2, 'Title must be at least 2 characters')\n .max(200, 'Title must not exceed 200 characters')\n .trim(),\n slug: z\n .string()\n .min(2, 'Slug must be at least 2 characters')\n .max(100, 'Slug must not exceed 100 characters')\n .regex(/^[a-z0-9-]+$/, 'Slug must contain only lowercase letters, numbers, and hyphens')\n .trim(),\n description: z.string().max(1000, 'Description must not exceed 1000 characters').optional(),\n fileUrl: z.string().url('Must be a valid URL'),\n fileName: z.string().max(255).optional(),\n fileSize: z.number().int().min(0).optional(),\n mimeType: z.string().max(120).optional(),\n thumbnailUrl: z.string().url('Must be a valid URL').or(z.literal('')).optional(),\n version: z.string().max(40).optional(),\n tags: z.array(z.string()).optional(),\n visibility: z.enum(['PUBLIC', 'AUTHENTICATED', 'INTERNAL']).optional(),\n sortOrder: z.number().int().min(0).optional(),\n});\n\nexport const updatePressKitAssetSchema = z.object({\n category: categoryEnum.optional(),\n title: z.string().min(2).max(200).trim().optional(),\n description: z.string().max(1000).optional(),\n fileUrl: z.string().url('Must be a valid URL').optional(),\n fileName: z.string().max(255).optional(),\n fileSize: z.number().int().min(0).optional(),\n mimeType: z.string().max(120).optional(),\n thumbnailUrl: z.string().url('Must be a valid URL').or(z.literal('')).optional(),\n version: z.string().max(40).optional(),\n tags: z.array(z.string()).optional(),\n visibility: z.enum(['PUBLIC', 'AUTHENTICATED', 'INTERNAL']).optional(),\n sortOrder: z.number().int().min(0).optional(),\n});\n\nexport type CreatePressKitAssetFormData = z.infer<typeof createPressKitAssetSchema>;\nexport type UpdatePressKitAssetFormData = z.infer<typeof updatePressKitAssetSchema>;\n"],"mappings":";;AAOA,
|
|
1
|
+
{"version":3,"file":"index.js","names":["z.enum","z.object","z.string","z.number","z.literal","z.array","_enum","categoryEnum","createPressKitAssetSchema","object","string","number","literal","array","updatePressKitAssetSchema"],"sources":["../../../../../src/product-management/modules/press-kit/schemas/index.ts"],"sourcesContent":["import { z } from 'zod';\n\n/**\n * Press Kit Asset Validation Schemas\n * Aligned with backend ProductPressKitAsset schema\n */\n\nconst categoryEnum = z.enum([\n 'LOGO',\n 'BANNER',\n 'SCREENSHOT',\n 'BROCHURE',\n 'DOCUMENT',\n 'PRESS_RELEASE',\n 'BRAND_GUIDE',\n 'CONTRACT',\n]);\n\nexport const createPressKitAssetSchema = z.object({\n productId: z.string().min(1, 'Product is required'),\n category: categoryEnum,\n title: z\n .string()\n .min(2, 'Title must be at least 2 characters')\n .max(200, 'Title must not exceed 200 characters')\n .trim(),\n slug: z\n .string()\n .min(2, 'Slug must be at least 2 characters')\n .max(100, 'Slug must not exceed 100 characters')\n .regex(/^[a-z0-9-]+$/, 'Slug must contain only lowercase letters, numbers, and hyphens')\n .trim(),\n description: z.string().max(1000, 'Description must not exceed 1000 characters').optional(),\n fileUrl: z.string().url('Must be a valid URL'),\n fileName: z.string().max(255).optional(),\n fileSize: z.number().int().min(0).optional(),\n mimeType: z.string().max(120).optional(),\n thumbnailUrl: z.string().url('Must be a valid URL').or(z.literal('')).optional(),\n version: z.string().max(40).optional(),\n tags: z.array(z.string()).optional(),\n visibility: z.enum(['PUBLIC', 'AUTHENTICATED', 'INTERNAL']).optional(),\n sortOrder: z.number().int().min(0).optional(),\n});\n\nexport const updatePressKitAssetSchema = z.object({\n category: categoryEnum.optional(),\n title: z.string().min(2).max(200).trim().optional(),\n description: z.string().max(1000).optional(),\n fileUrl: z.string().url('Must be a valid URL').optional(),\n fileName: z.string().max(255).optional(),\n fileSize: z.number().int().min(0).optional(),\n mimeType: z.string().max(120).optional(),\n thumbnailUrl: z.string().url('Must be a valid URL').or(z.literal('')).optional(),\n version: z.string().max(40).optional(),\n tags: z.array(z.string()).optional(),\n visibility: z.enum(['PUBLIC', 'AUTHENTICATED', 'INTERNAL']).optional(),\n sortOrder: z.number().int().min(0).optional(),\n});\n\nexport type CreatePressKitAssetFormData = z.infer<typeof createPressKitAssetSchema>;\nexport type UpdatePressKitAssetFormData = z.infer<typeof updatePressKitAssetSchema>;\n"],"mappings":";;AAOA,IAAMO,IAAeP,EAAO;CAC1B;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF,CAAC,GAEYQ,IAA4BP,EAAS;CAChD,WAAWC,EAAS,CAAC,CAAC,IAAI,GAAG,qBAAqB;CAClD,UAAUK;CACV,OAAOL,EACG,CAAC,CACR,IAAI,GAAG,qCAAqC,CAAC,CAC7C,IAAI,KAAK,sCAAsC,CAAC,CAChD,KAAK;CACR,MAAMA,EACI,CAAC,CACR,IAAI,GAAG,oCAAoC,CAAC,CAC5C,IAAI,KAAK,qCAAqC,CAAC,CAC/C,MAAM,gBAAgB,gEAAgE,CAAC,CACvF,KAAK;CACR,aAAaA,EAAS,CAAC,CAAC,IAAI,KAAM,6CAA6C,CAAC,CAAC,SAAS;CAC1F,SAASA,EAAS,CAAC,CAAC,IAAI,qBAAqB;CAC7C,UAAUA,EAAS,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,SAAS;CACvC,UAAUC,EAAS,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS;CAC3C,UAAUD,EAAS,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,SAAS;CACvC,cAAcA,EAAS,CAAC,CAAC,IAAI,qBAAqB,CAAC,CAAC,GAAGE,EAAU,EAAE,CAAC,CAAC,CAAC,SAAS;CAC/E,SAASF,EAAS,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,SAAS;CACrC,MAAMG,EAAQH,EAAS,CAAC,CAAC,CAAC,SAAS;CACnC,YAAYF,EAAO;EAAC;EAAU;EAAiB;CAAU,CAAC,CAAC,CAAC,SAAS;CACrE,WAAWG,EAAS,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS;AAC9C,CAAC,GAEYW,IAA4Bb,EAAS;CAChD,UAAUM,EAAa,SAAS;CAChC,OAAOL,EAAS,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS;CAClD,aAAaA,EAAS,CAAC,CAAC,IAAI,GAAI,CAAC,CAAC,SAAS;CAC3C,SAASA,EAAS,CAAC,CAAC,IAAI,qBAAqB,CAAC,CAAC,SAAS;CACxD,UAAUA,EAAS,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,SAAS;CACvC,UAAUC,EAAS,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS;CAC3C,UAAUD,EAAS,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,SAAS;CACvC,cAAcA,EAAS,CAAC,CAAC,IAAI,qBAAqB,CAAC,CAAC,GAAGE,EAAU,EAAE,CAAC,CAAC,CAAC,SAAS;CAC/E,SAASF,EAAS,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,SAAS;CACrC,MAAMG,EAAQH,EAAS,CAAC,CAAC,CAAC,SAAS;CACnC,YAAYF,EAAO;EAAC;EAAU;EAAiB;CAAU,CAAC,CAAC,CAAC,SAAS;CACrE,WAAWG,EAAS,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS;AAC9C,CAAC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Press Kit Module Types
|
|
3
|
+
* Aligned with backend ProductPressKitAsset schema
|
|
4
|
+
*/
|
|
5
|
+
export type ContentVisibility = 'PUBLIC' | 'AUTHENTICATED' | 'INTERNAL';
|
|
6
|
+
export type PressKitAssetCategory = 'LOGO' | 'BANNER' | 'SCREENSHOT' | 'BROCHURE' | 'DOCUMENT' | 'PRESS_RELEASE' | 'BRAND_GUIDE' | 'CONTRACT';
|
|
7
|
+
export interface ProductPressKitAsset {
|
|
8
|
+
id: string;
|
|
9
|
+
productId: string;
|
|
10
|
+
category: PressKitAssetCategory;
|
|
11
|
+
title: string;
|
|
12
|
+
slug: string;
|
|
13
|
+
description: string | null;
|
|
14
|
+
fileUrl: string;
|
|
15
|
+
fileName: string | null;
|
|
16
|
+
fileSize: number | null;
|
|
17
|
+
mimeType: string | null;
|
|
18
|
+
thumbnailUrl: string | null;
|
|
19
|
+
version: string | null;
|
|
20
|
+
tags: string[];
|
|
21
|
+
visibility: ContentVisibility;
|
|
22
|
+
sortOrder: number;
|
|
23
|
+
createdAt: string;
|
|
24
|
+
updatedAt: string;
|
|
25
|
+
product?: {
|
|
26
|
+
id: string;
|
|
27
|
+
name: string;
|
|
28
|
+
slug: string;
|
|
29
|
+
} | null;
|
|
30
|
+
}
|
|
31
|
+
export interface PressKitAssetFilterInput {
|
|
32
|
+
search?: string;
|
|
33
|
+
category?: PressKitAssetCategory;
|
|
34
|
+
visibility?: ContentVisibility;
|
|
35
|
+
tag?: string;
|
|
36
|
+
}
|
|
37
|
+
export interface CreatePressKitAssetInput {
|
|
38
|
+
productId: string;
|
|
39
|
+
category: PressKitAssetCategory;
|
|
40
|
+
title: string;
|
|
41
|
+
slug: string;
|
|
42
|
+
description?: string | null;
|
|
43
|
+
fileUrl: string;
|
|
44
|
+
fileName?: string | null;
|
|
45
|
+
fileSize?: number | null;
|
|
46
|
+
mimeType?: string | null;
|
|
47
|
+
thumbnailUrl?: string | null;
|
|
48
|
+
version?: string | null;
|
|
49
|
+
tags?: string[];
|
|
50
|
+
visibility?: ContentVisibility;
|
|
51
|
+
sortOrder?: number;
|
|
52
|
+
}
|
|
53
|
+
export interface UpdatePressKitAssetInput {
|
|
54
|
+
category?: PressKitAssetCategory;
|
|
55
|
+
title?: string;
|
|
56
|
+
description?: string | null;
|
|
57
|
+
fileUrl?: string;
|
|
58
|
+
fileName?: string | null;
|
|
59
|
+
fileSize?: number | null;
|
|
60
|
+
mimeType?: string | null;
|
|
61
|
+
thumbnailUrl?: string | null;
|
|
62
|
+
version?: string | null;
|
|
63
|
+
tags?: string[];
|
|
64
|
+
visibility?: ContentVisibility;
|
|
65
|
+
sortOrder?: number;
|
|
66
|
+
}
|
|
67
|
+
export interface PressKitAssetsConnection {
|
|
68
|
+
items: ProductPressKitAsset[];
|
|
69
|
+
total: number;
|
|
70
|
+
hasMore: boolean;
|
|
71
|
+
}
|
|
72
|
+
export declare const PRESS_KIT_CATEGORIES: PressKitAssetCategory[];
|
|
73
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/product-management/modules/press-kit/types/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,eAAe,GAAG,UAAU,CAAC;AAExE,MAAM,MAAM,qBAAqB,GAC7B,MAAM,GACN,QAAQ,GACR,YAAY,GACZ,UAAU,GACV,UAAU,GACV,eAAe,GACf,aAAa,GACb,UAAU,CAAC;AAEf,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,qBAAqB,CAAC;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,UAAU,EAAE,iBAAiB,CAAC;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;CAC7D;AAED,MAAM,WAAW,wBAAwB;IACvC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,qBAAqB,CAAC;IACjC,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAC/B,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAOD,MAAM,WAAW,wBAAwB;IACvC,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,qBAAqB,CAAC;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,EAAE,qBAAqB,CAAC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,oBAAoB,EAAE,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,oBAAoB,EAAE,qBAAqB,EASvD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/product-management/modules/press-kit/types/index.ts
|
|
2
2
|
var e = [
|
|
3
3
|
"LOGO",
|
|
4
4
|
"BANNER",
|
|
@@ -9,7 +9,6 @@ var e = [
|
|
|
9
9
|
"BRAND_GUIDE",
|
|
10
10
|
"CONTRACT"
|
|
11
11
|
];
|
|
12
|
-
//#endregion
|
|
13
12
|
export { e as PRESS_KIT_CATEGORIES };
|
|
14
13
|
|
|
15
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../../../src/product-management/modules/press-kit/types/index.ts"],"sourcesContent":["/**\n * Press Kit Module Types\n * Aligned with backend ProductPressKitAsset schema\n */\n\nexport type ContentVisibility = 'PUBLIC' | 'AUTHENTICATED' | 'INTERNAL';\n\nexport type PressKitAssetCategory =\n | 'LOGO'\n | 'BANNER'\n | 'SCREENSHOT'\n | 'BROCHURE'\n | 'DOCUMENT'\n | 'PRESS_RELEASE'\n | 'BRAND_GUIDE'\n | 'CONTRACT';\n\nexport interface ProductPressKitAsset {\n id: string;\n productId: string;\n category: PressKitAssetCategory;\n title: string;\n slug: string;\n description: string | null;\n fileUrl: string;\n fileName: string | null;\n fileSize: number | null;\n mimeType: string | null;\n thumbnailUrl: string | null;\n version: string | null;\n tags: string[];\n visibility: ContentVisibility;\n sortOrder: number;\n createdAt: string;\n updatedAt: string;\n product?: { id: string; name: string; slug: string } | null;\n}\n\nexport interface PressKitAssetFilterInput {\n search?: string;\n category?: PressKitAssetCategory;\n visibility?: ContentVisibility;\n tag?: string;\n}\n\n// Nullable string fields accept `null` to match the GraphQL schema\n// (`String` without `!`). On Update, a `null` value explicitly clears\n// the field; on Create, `null` and absence are equivalent. Without\n// `null` in these types, callers cannot send an explicit clear from\n// the form's edit mode — see `PressKitAssetForm.handleSubmit`.\nexport interface CreatePressKitAssetInput {\n productId: string;\n category: PressKitAssetCategory;\n title: string;\n slug: string;\n description?: string | null;\n fileUrl: string;\n fileName?: string | null;\n fileSize?: number | null;\n mimeType?: string | null;\n thumbnailUrl?: string | null;\n version?: string | null;\n tags?: string[];\n visibility?: ContentVisibility;\n sortOrder?: number;\n}\n\nexport interface UpdatePressKitAssetInput {\n category?: PressKitAssetCategory;\n title?: string;\n description?: string | null;\n fileUrl?: string;\n fileName?: string | null;\n fileSize?: number | null;\n mimeType?: string | null;\n thumbnailUrl?: string | null;\n version?: string | null;\n tags?: string[];\n visibility?: ContentVisibility;\n sortOrder?: number;\n}\n\nexport interface PressKitAssetsConnection {\n items: ProductPressKitAsset[];\n total: number;\n hasMore: boolean;\n}\n\nexport const PRESS_KIT_CATEGORIES: PressKitAssetCategory[] = [\n 'LOGO',\n 'BANNER',\n 'SCREENSHOT',\n 'BROCHURE',\n 'DOCUMENT',\n 'PRESS_RELEASE',\n 'BRAND_GUIDE',\n 'CONTRACT',\n];\n"],"mappings":";AAwFA,
|
|
1
|
+
{"version":3,"file":"index.js","names":["PRESS_KIT_CATEGORIES"],"sources":["../../../../../src/product-management/modules/press-kit/types/index.ts"],"sourcesContent":["/**\n * Press Kit Module Types\n * Aligned with backend ProductPressKitAsset schema\n */\n\nexport type ContentVisibility = 'PUBLIC' | 'AUTHENTICATED' | 'INTERNAL';\n\nexport type PressKitAssetCategory =\n | 'LOGO'\n | 'BANNER'\n | 'SCREENSHOT'\n | 'BROCHURE'\n | 'DOCUMENT'\n | 'PRESS_RELEASE'\n | 'BRAND_GUIDE'\n | 'CONTRACT';\n\nexport interface ProductPressKitAsset {\n id: string;\n productId: string;\n category: PressKitAssetCategory;\n title: string;\n slug: string;\n description: string | null;\n fileUrl: string;\n fileName: string | null;\n fileSize: number | null;\n mimeType: string | null;\n thumbnailUrl: string | null;\n version: string | null;\n tags: string[];\n visibility: ContentVisibility;\n sortOrder: number;\n createdAt: string;\n updatedAt: string;\n product?: { id: string; name: string; slug: string } | null;\n}\n\nexport interface PressKitAssetFilterInput {\n search?: string;\n category?: PressKitAssetCategory;\n visibility?: ContentVisibility;\n tag?: string;\n}\n\n// Nullable string fields accept `null` to match the GraphQL schema\n// (`String` without `!`). On Update, a `null` value explicitly clears\n// the field; on Create, `null` and absence are equivalent. Without\n// `null` in these types, callers cannot send an explicit clear from\n// the form's edit mode — see `PressKitAssetForm.handleSubmit`.\nexport interface CreatePressKitAssetInput {\n productId: string;\n category: PressKitAssetCategory;\n title: string;\n slug: string;\n description?: string | null;\n fileUrl: string;\n fileName?: string | null;\n fileSize?: number | null;\n mimeType?: string | null;\n thumbnailUrl?: string | null;\n version?: string | null;\n tags?: string[];\n visibility?: ContentVisibility;\n sortOrder?: number;\n}\n\nexport interface UpdatePressKitAssetInput {\n category?: PressKitAssetCategory;\n title?: string;\n description?: string | null;\n fileUrl?: string;\n fileName?: string | null;\n fileSize?: number | null;\n mimeType?: string | null;\n thumbnailUrl?: string | null;\n version?: string | null;\n tags?: string[];\n visibility?: ContentVisibility;\n sortOrder?: number;\n}\n\nexport interface PressKitAssetsConnection {\n items: ProductPressKitAsset[];\n total: number;\n hasMore: boolean;\n}\n\nexport const PRESS_KIT_CATEGORIES: PressKitAssetCategory[] = [\n 'LOGO',\n 'BANNER',\n 'SCREENSHOT',\n 'BROCHURE',\n 'DOCUMENT',\n 'PRESS_RELEASE',\n 'BRAND_GUIDE',\n 'CONTRACT',\n];\n"],"mappings":";AAwFA,IAAaA,IAAgD;CAC3D;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { PlatformProduct } from '../types';
|
|
2
|
+
interface ProductCardProps {
|
|
3
|
+
product: PlatformProduct;
|
|
4
|
+
onClick?: (product: PlatformProduct) => void;
|
|
5
|
+
onEdit?: (product: PlatformProduct) => void;
|
|
6
|
+
onDelete?: (product: PlatformProduct) => void;
|
|
7
|
+
showActions?: boolean;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* ProductCard
|
|
11
|
+
* Displays a product in a card format for grid views
|
|
12
|
+
*/
|
|
13
|
+
export declare function ProductCard({ product, onClick, onEdit, onDelete, showActions, }: ProductCardProps): import("react").JSX.Element;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=ProductCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProductCard.d.ts","sourceRoot":"","sources":["../../../../../src/product-management/modules/products/components/ProductCard.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAGhD,UAAU,gBAAgB;IACxB,OAAO,EAAE,eAAe,CAAC;IACzB,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,eAAe,KAAK,IAAI,CAAC;IAC7C,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,eAAe,KAAK,IAAI,CAAC;IAC5C,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,eAAe,KAAK,IAAI,CAAC;IAC9C,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,EAC1B,OAAO,EACP,OAAO,EACP,MAAM,EACN,QAAQ,EACR,WAAkB,GACnB,EAAE,gBAAgB,+BA+HlB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CreateProductInput, UpdateProductInput, PlatformProduct } from '../types';
|
|
2
|
+
interface ProductFormProps {
|
|
3
|
+
product?: PlatformProduct | null;
|
|
4
|
+
onSubmit: (data: CreateProductInput | UpdateProductInput) => Promise<void>;
|
|
5
|
+
onCancel: () => void;
|
|
6
|
+
loading?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare function ProductForm({ product, onSubmit, onCancel, loading }: ProductFormProps): import("react").JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=ProductForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProductForm.d.ts","sourceRoot":"","sources":["../../../../../src/product-management/modules/products/components/ProductForm.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AA6BxF,UAAU,gBAAgB;IACxB,OAAO,CAAC,EAAE,eAAe,GAAG,IAAI,CAAC;IACjC,QAAQ,EAAE,CAAC,IAAI,EAAE,kBAAkB,GAAG,kBAAkB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3E,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAsBD,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,gBAAgB,+BAsmCrF"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { ZodError as e } from "../../../../node_modules/zod/v4/classic/errors.js";
|
|
2
|
+
import { useTr as t } from "../../../shared/hooks/useTr.js";
|
|
3
|
+
import { ProductStatus as n } from "../types/index.js";
|
|
4
|
+
import { createProductSchema as r, updateProductSchema as i } from "../schemas/index.js";
|
|
5
|
+
import { TagInput as a } from "../../../shared/components/input/TagInput.js";
|
|
6
|
+
import { MarkdownEditor as o } from "../../../../shared/components/MarkdownEditor.js";
|
|
7
7
|
import { useState as s } from "react";
|
|
8
8
|
import { ChevronDown as c, ChevronRight as l, Loader2 as u, Plus as d, Shield as f, X as p } from "lucide-react";
|
|
9
9
|
import { jsx as m, jsxs as h } from "react/jsx-runtime";
|
|
10
|
-
|
|
10
|
+
// src/product-management/modules/products/components/ProductForm.tsx
|
|
11
11
|
var g = 0, _ = (e) => `${e}-${++g}`;
|
|
12
12
|
function v(e) {
|
|
13
13
|
if (e?.socialLinks && typeof e.socialLinks == "object") {
|
|
@@ -32,11 +32,11 @@ function y(e) {
|
|
|
32
32
|
return [];
|
|
33
33
|
}
|
|
34
34
|
function b({ product: g, onSubmit: b, onCancel: x, loading: S }) {
|
|
35
|
-
let C =
|
|
35
|
+
let C = t(), [w, T] = s({
|
|
36
36
|
name: g?.name || "",
|
|
37
37
|
slug: g?.slug || "",
|
|
38
38
|
description: g?.description || "",
|
|
39
|
-
status: g?.status ||
|
|
39
|
+
status: g?.status || n.ACTIVE,
|
|
40
40
|
logoUrl: g?.logoUrl || "",
|
|
41
41
|
website: g?.website || "",
|
|
42
42
|
appUrl: g?.appUrl || "",
|
|
@@ -107,19 +107,19 @@ function b({ product: g, onSubmit: b, onCancel: x, loading: S }) {
|
|
|
107
107
|
}), t;
|
|
108
108
|
}, G = () => {
|
|
109
109
|
try {
|
|
110
|
-
let e = g ?
|
|
110
|
+
let e = g ? i : r, t = {
|
|
111
111
|
...w,
|
|
112
112
|
socialLinks: B(),
|
|
113
113
|
resourceLinks: W()
|
|
114
114
|
};
|
|
115
115
|
return e.parse(t), N({}), !0;
|
|
116
|
-
} catch (
|
|
117
|
-
if (
|
|
118
|
-
let
|
|
119
|
-
|
|
120
|
-
let n =
|
|
121
|
-
|
|
122
|
-
}), N(
|
|
116
|
+
} catch (t) {
|
|
117
|
+
if (t instanceof e) {
|
|
118
|
+
let e = {};
|
|
119
|
+
t.issues.forEach((t) => {
|
|
120
|
+
let n = t.path.join(".");
|
|
121
|
+
e[n] = t.message;
|
|
122
|
+
}), N(e);
|
|
123
123
|
}
|
|
124
124
|
return !1;
|
|
125
125
|
}
|
|
@@ -256,7 +256,7 @@ function b({ product: g, onSubmit: b, onCancel: x, loading: S }) {
|
|
|
256
256
|
children: M.slug
|
|
257
257
|
})
|
|
258
258
|
] }),
|
|
259
|
-
/* @__PURE__ */ m(
|
|
259
|
+
/* @__PURE__ */ m(o, {
|
|
260
260
|
id: "description",
|
|
261
261
|
label: C("products.description", "Description"),
|
|
262
262
|
value: w.description,
|
|
@@ -284,19 +284,19 @@ function b({ product: g, onSubmit: b, onCancel: x, loading: S }) {
|
|
|
284
284
|
disabled: S,
|
|
285
285
|
children: [
|
|
286
286
|
/* @__PURE__ */ m("option", {
|
|
287
|
-
value:
|
|
287
|
+
value: n.ACTIVE,
|
|
288
288
|
children: C("products.statusActive", "Active")
|
|
289
289
|
}),
|
|
290
290
|
/* @__PURE__ */ m("option", {
|
|
291
|
-
value:
|
|
291
|
+
value: n.DRAFT,
|
|
292
292
|
children: C("products.statusDraft", "Draft")
|
|
293
293
|
}),
|
|
294
294
|
/* @__PURE__ */ m("option", {
|
|
295
|
-
value:
|
|
295
|
+
value: n.WAITLIST,
|
|
296
296
|
children: C("products.statusWaitlist", "Waitlist")
|
|
297
297
|
}),
|
|
298
298
|
/* @__PURE__ */ m("option", {
|
|
299
|
-
value:
|
|
299
|
+
value: n.COMING_SOON,
|
|
300
300
|
children: C("products.statusComingSoon", "Coming Soon")
|
|
301
301
|
})
|
|
302
302
|
]
|
|
@@ -306,7 +306,7 @@ function b({ product: g, onSubmit: b, onCancel: x, loading: S }) {
|
|
|
306
306
|
className: "block text-sm font-medium text-text-primary mb-1",
|
|
307
307
|
children: C("products.tags", "Tags")
|
|
308
308
|
}),
|
|
309
|
-
/* @__PURE__ */ m(
|
|
309
|
+
/* @__PURE__ */ m(a, {
|
|
310
310
|
value: A,
|
|
311
311
|
onChange: j,
|
|
312
312
|
disabled: S
|
|
@@ -981,7 +981,6 @@ function b({ product: g, onSubmit: b, onCancel: x, loading: S }) {
|
|
|
981
981
|
]
|
|
982
982
|
});
|
|
983
983
|
}
|
|
984
|
-
//#endregion
|
|
985
984
|
export { b as ProductForm };
|
|
986
985
|
|
|
987
986
|
//# sourceMappingURL=ProductForm.js.map
|