@mohasinac/appkit 2.7.17 → 2.7.19

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.
Files changed (91) hide show
  1. package/dist/_internal/server/features/bundles/actions.d.ts +15 -0
  2. package/dist/_internal/server/features/bundles/actions.js +48 -0
  3. package/dist/_internal/server/features/bundles/index.d.ts +1 -0
  4. package/dist/_internal/server/features/bundles/index.js +1 -0
  5. package/dist/_internal/server/features/checkout/actions.d.ts +4 -0
  6. package/dist/_internal/server/features/checkout/actions.js +23 -12
  7. package/dist/_internal/server/features/payments/data.d.ts +5 -3
  8. package/dist/_internal/server/features/payments/data.js +13 -8
  9. package/dist/_internal/server/features/payments/index.d.ts +1 -1
  10. package/dist/_internal/server/features/payments/index.js +1 -1
  11. package/dist/_internal/server/features/seo/manifest.js +9 -3
  12. package/dist/_internal/shared/features/categories/bundle-config.d.ts +24 -0
  13. package/dist/_internal/shared/features/categories/bundle-config.js +28 -0
  14. package/dist/_internal/shared/features/categories/bundle-copy.d.ts +7 -0
  15. package/dist/_internal/shared/features/categories/bundle-copy.js +9 -0
  16. package/dist/_internal/shared/features/categories/bundle-schemas.d.ts +69 -19
  17. package/dist/_internal/shared/features/categories/bundle-schemas.js +20 -2
  18. package/dist/_internal/shared/features/checkout/config.d.ts +1 -1
  19. package/dist/_internal/shared/features/checkout/config.js +1 -1
  20. package/dist/_internal/shared/features/payments/config.d.ts +2 -1
  21. package/dist/_internal/shared/features/payments/config.js +2 -1
  22. package/dist/_internal/shared/features/products/schema.d.ts +8 -8
  23. package/dist/constants/field-names.d.ts +8 -1
  24. package/dist/constants/field-names.js +9 -2
  25. package/dist/constants/table-keys.d.ts +3 -0
  26. package/dist/constants/table-keys.js +3 -0
  27. package/dist/features/admin/components/AdminSiteSettingsView.js +17 -15
  28. package/dist/features/admin/components/DashboardStats.js +20 -12
  29. package/dist/features/admin/components/analytics/AdminAnalyticsCharts.js +18 -2
  30. package/dist/features/admin/components/analytics/AdminStatCard.d.ts +7 -1
  31. package/dist/features/admin/components/analytics/AdminStatCard.js +13 -2
  32. package/dist/features/admin/schemas/firestore.d.ts +39 -4
  33. package/dist/features/admin/schemas/firestore.js +14 -1
  34. package/dist/features/categories/components/BundleBuyNowCta.d.ts +3 -1
  35. package/dist/features/categories/components/BundleBuyNowCta.js +3 -3
  36. package/dist/features/categories/components/BundleDynamicRuleEditor.d.ts +1 -1
  37. package/dist/features/categories/components/BundleDynamicRuleEditor.js +2 -1
  38. package/dist/features/categories/components/BundlesListView.d.ts +4 -1
  39. package/dist/features/categories/components/BundlesListView.js +2 -2
  40. package/dist/features/categories/components/CategoryBundlesListing.d.ts +4 -1
  41. package/dist/features/categories/components/CategoryBundlesListing.js +9 -8
  42. package/dist/features/categories/schemas/firestore.d.ts +29 -1
  43. package/dist/features/checkout/actions/checkout-actions.d.ts +11 -0
  44. package/dist/features/checkout/actions/checkout-actions.js +26 -0
  45. package/dist/features/filters/FilterFacetSection.d.ts +6 -1
  46. package/dist/features/filters/FilterFacetSection.js +25 -2
  47. package/dist/features/homepage/components/FeaturedBundlesSection.d.ts +4 -1
  48. package/dist/features/homepage/components/FeaturedBundlesSection.js +9 -8
  49. package/dist/features/orders/actions/refund-actions.js +10 -7
  50. package/dist/features/orders/schemas/firestore.d.ts +16 -13
  51. package/dist/features/orders/schemas/firestore.js +6 -5
  52. package/dist/features/pre-orders/components/MarketplacePreorderCard.js +1 -1
  53. package/dist/features/pre-orders/components/PreOrdersIndexListing.js +2 -1
  54. package/dist/features/products/components/AuctionsIndexListing.js +2 -1
  55. package/dist/features/products/components/ProductDetailPageView.js +3 -1
  56. package/dist/features/products/components/ProductDetailView.d.ts +3 -1
  57. package/dist/features/products/components/ProductDetailView.js +2 -2
  58. package/dist/features/products/components/ProductFilters.d.ts +10 -4
  59. package/dist/features/products/components/ProductFilters.js +20 -16
  60. package/dist/features/products/components/ProductGrid.js +2 -2
  61. package/dist/features/products/components/ProductsIndexListing.js +2 -1
  62. package/dist/features/products/constants/action-defs.d.ts +64 -22
  63. package/dist/features/products/constants/action-defs.js +101 -64
  64. package/dist/features/products/constants/product-features.constants.js +5 -1
  65. package/dist/features/products/schemas/index.d.ts +2 -2
  66. package/dist/features/products/schemas/product-features.d.ts +1 -1
  67. package/dist/features/products/schemas/product-features.validators.d.ts +10 -10
  68. package/dist/features/products/schemas/product-features.validators.js +4 -0
  69. package/dist/features/seller/components/SellerCouponEditorView.js +2 -2
  70. package/dist/features/seller/components/analytics/SellerAnalyticsStats.js +10 -4
  71. package/dist/features/stores/components/StoreBundlesPageView.d.ts +4 -1
  72. package/dist/features/stores/components/StoreBundlesPageView.js +2 -2
  73. package/dist/features/stores/components/StoresIndexListing.js +2 -1
  74. package/dist/providers/db-firebase/admin-app-lite.js +8 -2
  75. package/dist/providers/db-firebase/admin.js +8 -2
  76. package/dist/seed/addresses-seed-data.js +24 -7
  77. package/dist/seed/cart-seed-data.d.ts +10 -10
  78. package/dist/seed/cart-seed-data.js +39 -2
  79. package/dist/seed/grouped-listings-seed-data.js +47 -0
  80. package/dist/seed/orders-seed-data.js +150 -0
  81. package/dist/seed/products-standard-seed-data.js +42 -0
  82. package/dist/seed/site-settings-seed-data.js +14 -4
  83. package/dist/seed/users-seed-data.js +1 -1
  84. package/dist/seed/wishlists-seed-data.js +7 -0
  85. package/dist/server-entry.d.ts +2 -1
  86. package/dist/server-entry.js +2 -1
  87. package/dist/server.d.ts +2 -1
  88. package/dist/server.js +3 -1
  89. package/dist/tailwind-utilities.css +1 -1
  90. package/dist/ui/components/SideDrawer.style.css +49 -11
  91. package/package.json +1 -1
package/dist/server.d.ts CHANGED
@@ -254,6 +254,7 @@ export { updateCategory } from "./features/categories/server";
254
254
  export { grantCheckoutConsentViaSms } from "./features/checkout/server";
255
255
  export { sendCheckoutConsentOtp } from "./features/checkout/server";
256
256
  export { verifyCheckoutConsentOtp } from "./features/checkout/server";
257
+ export { grantAdminCheckoutBypass } from "./features/checkout/server";
257
258
  export { sendContactEmail } from "./features/contact/server";
258
259
  export { sendEmail } from "./features/contact/server";
259
260
  export { sendOrderConfirmationEmail } from "./features/contact/server";
@@ -450,7 +451,7 @@ export type { GoogleReview, GoogleReviewsResult } from "./features/homepage/lib/
450
451
  export { GoogleReviewsSection } from "./features/homepage/components/GoogleReviewsSection";
451
452
  export type { GoogleReviewsSectionProps } from "./features/homepage/components/GoogleReviewsSection";
452
453
  export { getProductForDetail, listSitemapProducts, type SitemapProduct } from "./_internal/server/features/products/index";
453
- export { getBundleForDetail, listBundleMembers, listFeaturedBundles, buildBundleMetadata, renderBundleOg, renderBundleOgImage, type BundleDataOptions, type BundleMetadataOptions, type BundleOgData, } from "./_internal/server/features/bundles/index";
454
+ export { getBundleForDetail, listBundleMembers, listFeaturedBundles, buildBundleMetadata, renderBundleOg, renderBundleOgImage, addBundleToCartAction, type BundleDataOptions, type BundleMetadataOptions, type BundleOgData, } from "./_internal/server/features/bundles/index";
454
455
  export { getAuctionForDetail, getProductFeaturesForAuction } from "./_internal/server/features/auctions/index";
455
456
  export { getPreOrderForDetail, getProductFeaturesForPreOrder } from "./_internal/server/features/pre-orders/index";
456
457
  export { getStoreForDetail, listStoreProductsInitial, listStoreAuctionsInitial, listStorePreOrdersInitial, listSitemapStores } from "./_internal/server/features/stores/index";
package/dist/server.js CHANGED
@@ -766,6 +766,8 @@ export { sendCheckoutConsentOtp } from "./features/checkout/server";
766
766
  // [SERVER-ONLY]-Server-only — uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
767
767
  // verifyCheckoutConsentOtp - Shared export for verify checkout consent otp.
768
768
  export { verifyCheckoutConsentOtp } from "./features/checkout/server";
769
+ // grantAdminCheckoutBypass - Admin bypass that skips OTP + payment for admin-placed orders.
770
+ export { grantAdminCheckoutBypass } from "./features/checkout/server";
769
771
  // [SERVER-ONLY]-Server-only — uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
770
772
  // sendContactEmail - Shared export for send contact email.
771
773
  export { sendContactEmail } from "./features/contact/server";
@@ -1323,7 +1325,7 @@ export { GoogleReviewsSection } from "./features/homepage/components/GoogleRevie
1323
1325
  // Data layers — each wrapped in React.cache for request-scoped dedup
1324
1326
  export { getProductForDetail, listSitemapProducts } from "./_internal/server/features/products/index";
1325
1327
  // S-SBUNI-3/4 2026-05-13 — bundle data/metadata/og layer.
1326
- export { getBundleForDetail, listBundleMembers, listFeaturedBundles, buildBundleMetadata, renderBundleOg, renderBundleOgImage, } from "./_internal/server/features/bundles/index";
1328
+ export { getBundleForDetail, listBundleMembers, listFeaturedBundles, buildBundleMetadata, renderBundleOg, renderBundleOgImage, addBundleToCartAction, } from "./_internal/server/features/bundles/index";
1327
1329
  export { getAuctionForDetail, getProductFeaturesForAuction } from "./_internal/server/features/auctions/index";
1328
1330
  export { getPreOrderForDetail, getProductFeaturesForPreOrder } from "./_internal/server/features/pre-orders/index";
1329
1331
  export { getStoreForDetail, listStoreProductsInitial, listStoreAuctionsInitial, listStorePreOrdersInitial, listSitemapStores } from "./_internal/server/features/stores/index";