@mohasinac/appkit 3.3.6 → 3.4.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.
Files changed (141) hide show
  1. package/dist/_internal/client/features/classified/ClassifiedDetailView.js +2 -1
  2. package/dist/_internal/client/features/digital-code/DigitalCodeDetailView.js +2 -1
  3. package/dist/_internal/client/features/live/LiveItemDetailView.js +2 -1
  4. package/dist/_internal/client/features/lottery/LotteryAdminEditView.js +1 -1
  5. package/dist/_internal/client/features/lottery/LotteryDetailView.js +2 -1
  6. package/dist/_internal/client/features/lottery/LotteryListView.js +2 -1
  7. package/dist/_internal/client/features/lottery/PrizeDrawLotteryDetailView.js +2 -1
  8. package/dist/_internal/server/features/checkout/actions.js +0 -1
  9. package/dist/_internal/server/features/lottery/actions.js +0 -2
  10. package/dist/_internal/server/features/reviews/actions.js +1 -1
  11. package/dist/features/about/components/FAQPageView.js +0 -2
  12. package/dist/features/about/components/FeesView.js +13 -1
  13. package/dist/features/about/components/HowCheckoutWorksView.js +17 -3
  14. package/dist/features/about/components/HowEmiWorksView.d.ts +3 -0
  15. package/dist/features/about/components/HowEmiWorksView.js +117 -0
  16. package/dist/features/about/components/PublicProfileView.js +1 -4
  17. package/dist/features/about/index.d.ts +2 -0
  18. package/dist/features/about/index.js +1 -0
  19. package/dist/features/account/components/BecomeSellerView.d.ts +1 -1
  20. package/dist/features/account/components/BecomeSellerView.js +1 -1
  21. package/dist/features/account/components/NotificationBell.js +1 -2
  22. package/dist/features/account/components/UserSupportView.js +0 -1
  23. package/dist/features/admin/components/AdminAdsView.js +3 -3
  24. package/dist/features/admin/components/AdminBlogEditorView.js +2 -2
  25. package/dist/features/admin/components/AdminBundleEditorView.js +0 -4
  26. package/dist/features/admin/components/AdminCarouselEditorView.js +3 -3
  27. package/dist/features/admin/components/AdminCarouselView.js +3 -2
  28. package/dist/features/admin/components/AdminGuideHubView.js +2 -2
  29. package/dist/features/admin/components/AdminMediaView.js +2 -4
  30. package/dist/features/admin/components/AdminUserEditorView.d.ts +1 -1
  31. package/dist/features/admin/components/AdminUserEditorView.js +1 -1
  32. package/dist/features/admin/components/QuickActionsPanel.js +2 -2
  33. package/dist/features/auctions/components/AuctionDetailPageView.js +1 -1
  34. package/dist/features/blog/components/BlogFeaturedCard.js +2 -1
  35. package/dist/features/blog/components/BlogIndexListing.js +1 -1
  36. package/dist/features/blog/components/BlogListView.js +2 -1
  37. package/dist/features/blog/components/BlogPostForm.js +1 -1
  38. package/dist/features/blog/components/BlogPostView.js +2 -1
  39. package/dist/features/cart/components/CartDrawer.js +2 -1
  40. package/dist/features/categories/components/BrandDetailPageView.js +2 -1
  41. package/dist/features/categories/components/BundleCollage.js +2 -3
  42. package/dist/features/categories/components/CategoriesIndexListing.js +1 -5
  43. package/dist/features/categories/components/CategoryDetailPageView.js +2 -2
  44. package/dist/features/categories/components/CategoryGrid.js +2 -1
  45. package/dist/features/categories/components/CategoryProductsView.d.ts +1 -1
  46. package/dist/features/categories/components/CategoryProductsView.js +1 -1
  47. package/dist/features/categories/components/ConcernCard.js +2 -1
  48. package/dist/features/collections/components/CollectionCard.js +2 -1
  49. package/dist/features/consultation/components/ConsultationForm.js +0 -1
  50. package/dist/features/contact/components/ContactInfoSidebar.js +2 -2
  51. package/dist/features/copilot/components/AdminCopilotView.js +0 -9
  52. package/dist/features/events/components/EventFormDrawer.d.ts +1 -1
  53. package/dist/features/events/components/EventFormDrawer.js +1 -1
  54. package/dist/features/events/components/EventPollWidget.js +2 -2
  55. package/dist/features/events/components/EventsIndexListing.js +1 -1
  56. package/dist/features/faq/actions/faq-actions.d.ts +2 -10
  57. package/dist/features/faq/actions/faq-actions.js +0 -4
  58. package/dist/features/homepage/components/AdSlot.js +2 -1
  59. package/dist/features/homepage/components/CustomCardsSection.js +2 -3
  60. package/dist/features/homepage/components/FeaturedBundlesSection.js +2 -3
  61. package/dist/features/homepage/components/GoogleReviewsSection.js +4 -3
  62. package/dist/features/homepage/components/HeroBanner.js +0 -1
  63. package/dist/features/homepage/components/SectionCarousel.d.ts +1 -1
  64. package/dist/features/homepage/components/SectionCarousel.js +1 -2
  65. package/dist/features/homepage/components/SocialFeedSection.js +2 -5
  66. package/dist/features/homepage/components/SocialPostCard.js +4 -3
  67. package/dist/features/media/MediaImage.d.ts +10 -1
  68. package/dist/features/media/MediaImage.js +6 -2
  69. package/dist/features/media/MediaPickerModal.js +2 -3
  70. package/dist/features/media/upload/MediaUploadList.js +2 -2
  71. package/dist/features/orders/components/OrdersList.js +2 -1
  72. package/dist/features/pre-orders/components/PreOrderDetailPageView.js +1 -0
  73. package/dist/features/products/api/route.js +1 -2
  74. package/dist/features/products/components/CompareOverlay.js +2 -3
  75. package/dist/features/products/components/CustomSectionTabContent.js +2 -2
  76. package/dist/features/products/components/FeatureBadge.js +0 -6
  77. package/dist/features/products/components/GroupSettingsPanel.js +2 -3
  78. package/dist/features/products/components/MarketplaceBundleCard.js +2 -1
  79. package/dist/features/products/components/MarketplacePrizeDrawCard.js +2 -3
  80. package/dist/features/products/components/PrizeDrawCollage.js +2 -3
  81. package/dist/features/products/components/PrizeDrawEntryActions.d.ts +1 -1
  82. package/dist/features/products/components/PrizeDrawEntryActions.js +3 -3
  83. package/dist/features/products/components/PrizeRevealModal.js +3 -4
  84. package/dist/features/products/components/ProductDetailActions.d.ts +1 -1
  85. package/dist/features/products/components/ProductDetailActions.js +1 -1
  86. package/dist/features/products/components/ProductDetailPageView.d.ts +3 -1
  87. package/dist/features/products/components/ProductDetailPageView.js +3 -2
  88. package/dist/features/products/components/ProductFeatureBadges.d.ts +7 -1
  89. package/dist/features/products/components/ProductFeatureBadges.js +16 -3
  90. package/dist/features/products/components/ProductGradingTab.js +2 -2
  91. package/dist/features/products/components/ProductsIndexPageView.js +2 -2
  92. package/dist/features/products/components/SublistingCarouselSection.js +3 -4
  93. package/dist/features/promotions/components/CouponsIndexListing.d.ts +1 -1
  94. package/dist/features/promotions/components/CouponsIndexListing.js +1 -1
  95. package/dist/features/reviews/components/ReviewDetailShell.js +4 -3
  96. package/dist/features/reviews/components/ReviewModal.js +2 -1
  97. package/dist/features/reviews/components/ReviewsIndexListing.js +1 -1
  98. package/dist/features/reviews/components/ReviewsList.js +2 -1
  99. package/dist/features/scams/components/ScamAwarenessModal.js +2 -2
  100. package/dist/features/search/components/SearchView.d.ts +1 -1
  101. package/dist/features/search/components/SearchView.js +1 -1
  102. package/dist/features/seller/components/SellerAddressesView.js +1 -5
  103. package/dist/features/seller/components/SellerPreOrdersView.js +3 -2
  104. package/dist/features/seller/components/SellerPrizeDrawsView.js +3 -2
  105. package/dist/features/seller/components/SellerProductsView.js +2 -1
  106. package/dist/features/seller/components/SellerSidebar.js +5 -4
  107. package/dist/features/shell/StepForm.js +1 -1
  108. package/dist/features/stores/components/InteractiveStoreCard.js +2 -3
  109. package/dist/features/stores/components/StoreAboutView.js +2 -2
  110. package/dist/features/stores/components/StoreCapabilitiesGuideView.js +2 -2
  111. package/dist/features/stores/components/StoreFinanceGuideView.js +2 -2
  112. package/dist/features/stores/components/StoreGuideHubView.js +2 -2
  113. package/dist/features/stores/components/StoreHeader.js +2 -1
  114. package/dist/features/stores/components/StoreListingsGuideView.js +2 -2
  115. package/dist/features/stores/components/StoreNavTabs.js +2 -2
  116. package/dist/features/stores/components/StoreOrdersGuideView.js +2 -2
  117. package/dist/features/stores/components/StoreSettingsGuideView.js +3 -3
  118. package/dist/features/wishlist/components/WishlistPage.js +2 -1
  119. package/dist/features/wishlist/components/WishlistView.js +0 -7
  120. package/dist/index.d.ts +2 -0
  121. package/dist/index.js +3 -0
  122. package/dist/next/routing/route-map.d.ts +2 -0
  123. package/dist/next/routing/route-map.js +1 -0
  124. package/dist/seed/factories/product.factory.js +0 -32
  125. package/dist/seed/faq-seed-data.js +23 -4
  126. package/dist/styles.css +4 -1
  127. package/dist/tailwind-utilities.css +1 -1
  128. package/dist/tokens/index.js +6 -458
  129. package/dist/ui/DataTable.js +0 -21
  130. package/dist/ui/components/Anchor.d.ts +3 -1
  131. package/dist/ui/components/Anchor.js +1 -0
  132. package/dist/ui/components/Avatar.style.css +3 -0
  133. package/dist/ui/components/Breadcrumb.js +2 -1
  134. package/dist/ui/components/FormActionBar.js +2 -1
  135. package/dist/ui/components/ListingLayout.d.ts +1 -1
  136. package/dist/ui/components/ListingLayout.js +1 -1
  137. package/dist/ui/components/Motion.js +1 -1
  138. package/dist/ui/components/QuickCreateModal.js +2 -1
  139. package/dist/ui/components/SlottedListingView.d.ts +1 -1
  140. package/dist/ui/components/SlottedListingView.js +1 -2
  141. package/package.json +1 -1
@@ -72,6 +72,7 @@ export declare const DEFAULT_ROUTE_MAP: {
72
72
  readonly HOW_PRE_ORDERS_WORK: "/how-pre-orders-work";
73
73
  readonly HOW_OFFERS_WORK: "/how-offers-work";
74
74
  readonly HOW_CHECKOUT_WORKS: "/how-checkout-works";
75
+ readonly HOW_EMI_WORKS: "/how-emi-works";
75
76
  readonly HOW_ORDERS_WORK: "/how-orders-work";
76
77
  readonly HOW_REVIEWS_WORK: "/how-reviews-work";
77
78
  readonly HOW_PAYOUTS_WORK: "/how-payouts-work";
@@ -421,6 +422,7 @@ export declare const ROUTES: {
421
422
  readonly HOW_PRE_ORDERS_WORK: "/how-pre-orders-work";
422
423
  readonly HOW_OFFERS_WORK: "/how-offers-work";
423
424
  readonly HOW_CHECKOUT_WORKS: "/how-checkout-works";
425
+ readonly HOW_EMI_WORKS: "/how-emi-works";
424
426
  readonly HOW_ORDERS_WORK: "/how-orders-work";
425
427
  readonly HOW_REVIEWS_WORK: "/how-reviews-work";
426
428
  readonly HOW_PAYOUTS_WORK: "/how-payouts-work";
@@ -60,6 +60,7 @@ export const DEFAULT_ROUTE_MAP = {
60
60
  HOW_PRE_ORDERS_WORK: "/how-pre-orders-work",
61
61
  HOW_OFFERS_WORK: "/how-offers-work",
62
62
  HOW_CHECKOUT_WORKS: "/how-checkout-works",
63
+ HOW_EMI_WORKS: "/how-emi-works",
63
64
  HOW_ORDERS_WORK: "/how-orders-work",
64
65
  HOW_REVIEWS_WORK: "/how-reviews-work",
65
66
  HOW_PAYOUTS_WORK: "/how-payouts-work",
@@ -3,38 +3,6 @@ import { seedExtMedia } from "../_helpers/media";
3
3
  import { getSeedLocale, getDefaultCurrency, pick, irand, } from "../seed-market-config";
4
4
  let _seq = 1;
5
5
  // --- Realistic data pools (from seed locale config) ---------------------------
6
- const PRODUCT_NAMES = [
7
- "Handloom Cotton Saree",
8
- "Silver Oxidised Jhumkas",
9
- "Brass Pooja Diya Set",
10
- "Khadi Kurta & Pyjama Set",
11
- "Terracotta Flower Vase",
12
- "Sandalwood Incense Sticks",
13
- "Batik Print Salwar Suit",
14
- "Copper Water Bottle",
15
- "Warli Art Wall Frame",
16
- "Clay Tea Kadai Set",
17
- "Jute Laptop Bag",
18
- "Madhubani Painting Print",
19
- "Organic Tulsi Green Tea",
20
- "Kantha Embroidered Cushion",
21
- "Brass Dancing Ganesha Figurine",
22
- "Block Print Bedsheet Set",
23
- "Bamboo Cutlery Kit",
24
- "Dhokra Metal Elephant",
25
- "Rajasthani Mojari Jutti",
26
- "Coconut Shell Bowl Set",
27
- ];
28
- const CATEGORIES = [
29
- "clothing",
30
- "jewellery",
31
- "home-decor",
32
- "food-beverages",
33
- "art-crafts",
34
- "wellness",
35
- "accessories",
36
- "kitchenware",
37
- ];
38
6
  const TAGS_POOL = [
39
7
  ["handmade", "artisan"],
40
8
  ["featured", "new-arrival"],
@@ -484,22 +484,41 @@ export const faqSeedData = [
484
484
  {
485
485
  id: "faq-payment-methods",
486
486
  question: "What payment methods are accepted?",
487
- answer: html(`<p>LetItRip accepts UPI (GPay, PhonePe, Paytm), credit/debit cards, net banking, and wallets via Razorpay. All payments are processed through secure escrow the seller only receives funds after you confirm delivery.</p>`),
487
+ answer: html(`<p>LetItRip's default payment method is <strong>Manual UPI / Bank Transfer</strong> — you pay directly and submit your payment reference, which the seller or LetItRip confirms before shipping. Where enabled, you can also pay instantly via <strong>Razorpay</strong> (cards, UPI, net banking), choose <strong>Cash on Delivery</strong> (a small deposit online plus cash on arrival), or spread the cost with <strong>EMI</strong> on eligible orders. Sellers only receive payout funds after you confirm delivery (or after the dispute window closes).</p>`),
488
488
  category: "orders_payment",
489
489
  showOnHomepage: false,
490
490
  showInFooter: true,
491
491
  isPinned: false,
492
492
  order: 25,
493
493
  priority: 8,
494
- tags: ["payment", "upi", "razorpay", "escrow"],
495
- relatedFAQs: ["faq-what-is-escrow"],
494
+ tags: ["payment", "upi", "razorpay", "cod", "emi"],
495
+ relatedFAQs: ["faq-what-is-escrow", "faq-emi-installments"],
496
496
  stats: makeStats(5100, 255),
497
- seo: { slug: "faq-payment-methods", metaTitle: "Payment Methods on LetItRip", metaDescription: "UPI, cards, net banking — all payment options on LetItRip." },
497
+ seo: { slug: "faq-payment-methods", metaTitle: "Payment Methods on LetItRip", metaDescription: "Manual UPI, Razorpay, Cash on Delivery, and EMI — all payment options on LetItRip." },
498
498
  isActive: true,
499
499
  createdBy: "user-admin-letitrip",
500
500
  createdAt: daysAgo(110),
501
501
  updatedAt: daysAgo(6),
502
502
  },
503
+ {
504
+ id: "faq-emi-installments",
505
+ question: "Can I pay in installments (EMI)?",
506
+ answer: html(`<p>Yes — on eligible orders. If the seller has EMI enabled and your order with them meets the minimum order value, "Pay in EMI" appears as a payment option at checkout. Choose a tenure of 2–6 months, pay a small token amount upfront, and the remaining balance plus a small monthly surcharge is billed automatically in equal installments each month. Your order ships as soon as the token payment is confirmed — you don't wait for the full amount to be paid.</p>`),
507
+ category: "orders_payment",
508
+ showOnHomepage: false,
509
+ showInFooter: false,
510
+ isPinned: false,
511
+ order: 56,
512
+ priority: 6,
513
+ tags: ["emi", "installments", "payment"],
514
+ relatedFAQs: ["faq-payment-methods"],
515
+ stats: makeStats(1400, 70),
516
+ seo: { slug: "faq-emi-installments", metaTitle: "Pay in EMI on LetItRip", metaDescription: "How EMI installment payments work for eligible orders on LetItRip." },
517
+ isActive: true,
518
+ createdBy: "user-admin-letitrip",
519
+ createdAt: daysAgo(20),
520
+ updatedAt: daysAgo(2),
521
+ },
503
522
  {
504
523
  id: "faq-coupons-and-discounts",
505
524
  question: "How do I use coupons and discount codes?",