@mohasinac/appkit 2.7.50 → 2.7.53
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/_internal/server/jobs/core/__tests__/couponExpiry.test.d.ts +1 -0
- package/dist/_internal/server/jobs/core/__tests__/couponExpiry.test.js +65 -0
- package/dist/_internal/server/jobs/core/__tests__/listingProcessor.test.d.ts +1 -0
- package/dist/_internal/server/jobs/core/__tests__/listingProcessor.test.js +163 -0
- package/dist/_internal/server/jobs/core/__tests__/mediaTmpCleanup.test.d.ts +1 -0
- package/dist/_internal/server/jobs/core/__tests__/mediaTmpCleanup.test.js +115 -0
- package/dist/_internal/server/jobs/core/__tests__/pendingOrderTimeout.test.d.ts +1 -0
- package/dist/_internal/server/jobs/core/__tests__/pendingOrderTimeout.test.js +96 -0
- package/dist/client.d.ts +29 -6
- package/dist/client.js +16 -4
- package/dist/constants/api-endpoints.d.ts +42 -0
- package/dist/constants/api-endpoints.js +14 -0
- package/dist/features/_guide-cls.d.ts +13 -0
- package/dist/features/_guide-cls.js +14 -0
- package/dist/features/about/components/HelpPageView.js +29 -26
- package/dist/features/account/components/BuyerAccountGuideView.d.ts +1 -0
- package/dist/features/account/components/BuyerAccountGuideView.js +39 -0
- package/dist/features/account/components/BuyerAuctionsGuideView.d.ts +1 -0
- package/dist/features/account/components/BuyerAuctionsGuideView.js +38 -0
- package/dist/features/account/components/BuyerOrdersGuideView.d.ts +1 -0
- package/dist/features/account/components/BuyerOrdersGuideView.js +48 -0
- package/dist/features/account/components/BuyerShoppingGuideView.d.ts +1 -0
- package/dist/features/account/components/BuyerShoppingGuideView.js +38 -0
- package/dist/features/admin/components/AdminAnalyticsGuideView.d.ts +1 -0
- package/dist/features/admin/components/AdminAnalyticsGuideView.js +24 -0
- package/dist/features/admin/components/AdminBlogEditorView.js +100 -77
- package/dist/features/admin/components/AdminBundleEditorView.js +20 -14
- package/dist/features/admin/components/AdminBundlesView.d.ts +1 -3
- package/dist/features/admin/components/AdminBundlesView.js +173 -52
- package/dist/features/admin/components/AdminCatalogGuideView.d.ts +1 -0
- package/dist/features/admin/components/AdminCatalogGuideView.js +28 -0
- package/dist/features/admin/components/AdminContentGuideView.d.ts +1 -0
- package/dist/features/admin/components/AdminContentGuideView.js +36 -0
- package/dist/features/admin/components/AdminCouponEditorView.js +1 -1
- package/dist/features/admin/components/AdminGuideHubView.d.ts +5 -0
- package/dist/features/admin/components/AdminGuideHubView.js +79 -0
- package/dist/features/admin/components/AdminOrdersGuideView.d.ts +1 -0
- package/dist/features/admin/components/AdminOrdersGuideView.js +44 -0
- package/dist/features/admin/components/AdminProductsView.js +8 -3
- package/dist/features/admin/components/AdminSiteConfigGuideView.d.ts +1 -0
- package/dist/features/admin/components/AdminSiteConfigGuideView.js +21 -0
- package/dist/features/admin/components/AdminStoresGuideView.d.ts +1 -0
- package/dist/features/admin/components/AdminStoresGuideView.js +32 -0
- package/dist/features/admin/components/AdminTeamGuideView.d.ts +1 -0
- package/dist/features/admin/components/AdminTeamGuideView.js +33 -0
- package/dist/features/admin/components/AdminTrustGuideView.d.ts +1 -0
- package/dist/features/admin/components/AdminTrustGuideView.js +40 -0
- package/dist/features/admin/components/AdminUsersGuideView.d.ts +1 -0
- package/dist/features/admin/components/AdminUsersGuideView.js +38 -0
- package/dist/features/categories/components/CategoryBundlesListing.js +3 -33
- package/dist/features/categories/components/index.d.ts +0 -2
- package/dist/features/categories/components/index.js +0 -1
- package/dist/features/events/components/AdminEventEditorView.js +223 -269
- package/dist/features/grouped/repository/grouped-listings.repository.d.ts +9 -0
- package/dist/features/grouped/repository/grouped-listings.repository.js +12 -0
- package/dist/features/media/upload/MediaUploadField.js +1 -1
- package/dist/features/pre-orders/components/PreOrdersIndexListing.js +3 -1
- package/dist/features/products/components/AuctionsIndexListing.js +3 -1
- package/dist/features/products/components/MarketplaceBundleCard.d.ts +21 -0
- package/dist/features/products/components/MarketplaceBundleCard.js +56 -0
- package/dist/features/products/components/ProductsIndexListing.js +3 -1
- package/dist/features/products/components/index.d.ts +2 -4
- package/dist/features/products/components/index.js +1 -2
- package/dist/features/promotions/schemas/firestore.js +1 -1
- package/dist/features/reviews/components/index.d.ts +0 -2
- package/dist/features/reviews/components/index.js +0 -1
- package/dist/features/seller/components/BrandInlineSelect.js +23 -3
- package/dist/features/seller/components/CategoryInlineSelect.js +20 -3
- package/dist/features/seller/components/SellerAnalyticsAlertsView.d.ts +6 -0
- package/dist/features/seller/components/SellerAnalyticsAlertsView.js +124 -0
- package/dist/features/seller/components/SellerAnalyticsView.d.ts +2 -0
- package/dist/features/seller/components/SellerAnalyticsView.js +17 -9
- package/dist/features/seller/components/SellerBundlesView.d.ts +5 -0
- package/dist/features/seller/components/SellerBundlesView.js +104 -0
- package/dist/features/seller/components/SellerClassifiedView.d.ts +5 -0
- package/dist/features/seller/components/SellerClassifiedView.js +113 -0
- package/dist/features/seller/components/SellerDashboardView.js +19 -7
- package/dist/features/seller/components/SellerDigitalCodesView.d.ts +5 -0
- package/dist/features/seller/components/SellerDigitalCodesView.js +115 -0
- package/dist/features/seller/components/SellerGoogleReviewsView.d.ts +14 -0
- package/dist/features/seller/components/SellerGoogleReviewsView.js +95 -0
- package/dist/features/seller/components/SellerGroupedListingsView.d.ts +6 -0
- package/dist/features/seller/components/SellerGroupedListingsView.js +112 -0
- package/dist/features/seller/components/SellerLiveView.d.ts +5 -0
- package/dist/features/seller/components/SellerLiveView.js +113 -0
- package/dist/features/seller/components/SellerOrdersView.js +18 -2
- package/dist/features/seller/components/SellerPayoutMethodsView.d.ts +7 -0
- package/dist/features/seller/components/SellerPayoutMethodsView.js +120 -0
- package/dist/features/seller/components/SellerPayoutSettingsView.js +50 -12
- package/dist/features/seller/components/SellerProductShell.d.ts +1 -1
- package/dist/features/seller/components/SellerProductShell.js +9 -7
- package/dist/features/seller/components/SellerProductsFilterDrawer.js +3 -1
- package/dist/features/seller/components/SellerProductsView.js +48 -54
- package/dist/features/seller/components/SellerShippingConfigsView.d.ts +7 -0
- package/dist/features/seller/components/SellerShippingConfigsView.js +149 -0
- package/dist/features/seller/components/SellerShippingView.js +37 -10
- package/dist/features/seller/components/SellerStoreCategoriesView.d.ts +9 -0
- package/dist/features/seller/components/SellerStoreCategoriesView.js +122 -0
- package/dist/features/seller/components/SellerStorefrontView.d.ts +0 -7
- package/dist/features/seller/components/SellerStorefrontView.js +26 -29
- package/dist/features/seller/components/SellerTemplatesView.d.ts +10 -0
- package/dist/features/seller/components/SellerTemplatesView.js +265 -0
- package/dist/features/seller/components/index.d.ts +26 -0
- package/dist/features/seller/components/index.js +13 -0
- package/dist/features/stores/api/[storeSlug]/reviews/route.js +49 -7
- package/dist/features/stores/components/StoreCapabilitiesGuideView.d.ts +3 -0
- package/dist/features/stores/components/StoreCapabilitiesGuideView.js +101 -0
- package/dist/features/stores/components/StoreFinanceGuideView.d.ts +3 -0
- package/dist/features/stores/components/StoreFinanceGuideView.js +79 -0
- package/dist/features/stores/components/StoreGuideHubView.d.ts +5 -0
- package/dist/features/stores/components/StoreGuideHubView.js +89 -0
- package/dist/features/stores/components/StoreListingsGuideView.d.ts +3 -0
- package/dist/features/stores/components/StoreListingsGuideView.js +151 -0
- package/dist/features/stores/components/StoreOrdersGuideView.d.ts +3 -0
- package/dist/features/stores/components/StoreOrdersGuideView.js +122 -0
- package/dist/features/stores/components/StoreReviewsListing.js +100 -23
- package/dist/features/stores/components/StoreSettingsGuideView.d.ts +3 -0
- package/dist/features/stores/components/StoreSettingsGuideView.js +56 -0
- package/dist/features/stores/components/index.d.ts +12 -1
- package/dist/features/stores/components/index.js +6 -1
- package/dist/features/stores/hooks/useStores.d.ts +5 -0
- package/dist/features/stores/hooks/useStores.js +10 -0
- package/dist/features/stores/manifest.js +1 -1
- package/dist/features/whatsapp-bot/components/SellerWhatsAppSettingsView.js +13 -2
- package/dist/index.d.ts +54 -9
- package/dist/index.js +58 -15
- package/dist/next/routing/route-map.d.ts +55 -0
- package/dist/next/routing/route-map.js +25 -0
- package/dist/providers/db-firebase/__tests__/filter-aliases.test.d.ts +1 -0
- package/dist/providers/db-firebase/__tests__/filter-aliases.test.js +93 -0
- package/dist/providers/db-firebase/sieve.d.ts +49 -0
- package/dist/providers/db-firebase/sieve.js +61 -8
- package/dist/repositories/index.d.ts +1 -0
- package/dist/repositories/index.js +2 -0
- package/dist/tailwind-utilities.css +1 -1
- package/dist/ui/components/ListingToolbar.d.ts +8 -1
- package/dist/ui/components/ListingToolbar.js +4 -2
- package/dist/ui/components/__tests__/BulkActionBar.test.d.ts +1 -0
- package/dist/ui/components/__tests__/BulkActionBar.test.js +96 -0
- package/dist/ui/components/__tests__/ListingToolbar.test.d.ts +1 -0
- package/dist/ui/components/__tests__/ListingToolbar.test.js +125 -0
- package/dist/ui/index.d.ts +1 -1
- package/package.json +8 -2
|
@@ -266,6 +266,20 @@ export declare const SELLER_ENDPOINTS: {
|
|
|
266
266
|
readonly FEATURE_BY_ID: (id: string) => string;
|
|
267
267
|
readonly PRODUCTS_BULK_LOCATION: "/api/store/products/bulk-location";
|
|
268
268
|
readonly ORDERS_BULK_LOCATION: "/api/store/orders/bulk-location";
|
|
269
|
+
readonly GROUPED_LISTINGS: "/api/store/grouped-listings";
|
|
270
|
+
readonly GROUPED_LISTING_BY_ID: (id: string) => string;
|
|
271
|
+
readonly ANALYTICS_ALERTS: "/api/store/analytics/alerts";
|
|
272
|
+
readonly ANALYTICS_ALERT_BY_ID: (id: string) => string;
|
|
273
|
+
readonly STORE_CATEGORIES: "/api/store/categories";
|
|
274
|
+
readonly STORE_CATEGORY_BY_ID: (id: string) => string;
|
|
275
|
+
readonly TEMPLATES: "/api/store/templates";
|
|
276
|
+
readonly TEMPLATE_BY_ID: (id: string) => string;
|
|
277
|
+
readonly PAYOUT_METHODS: "/api/store/payout-methods";
|
|
278
|
+
readonly PAYOUT_METHOD_BY_ID: (id: string) => string;
|
|
279
|
+
readonly SHIPPING_CONFIGS: "/api/store/shipping-configs";
|
|
280
|
+
readonly SHIPPING_CONFIG_BY_ID: (id: string) => string;
|
|
281
|
+
readonly GOOGLE_REVIEWS: "/api/store/google-reviews";
|
|
282
|
+
readonly GOOGLE_REVIEWS_SYNC: "/api/store/google-reviews/sync";
|
|
269
283
|
};
|
|
270
284
|
export declare const BLOG_ENDPOINTS: {
|
|
271
285
|
readonly LIST: "/api/blog";
|
|
@@ -574,6 +588,20 @@ export declare const API_ENDPOINTS: {
|
|
|
574
588
|
readonly FEATURE_BY_ID: (id: string) => string;
|
|
575
589
|
readonly PRODUCTS_BULK_LOCATION: "/api/store/products/bulk-location";
|
|
576
590
|
readonly ORDERS_BULK_LOCATION: "/api/store/orders/bulk-location";
|
|
591
|
+
readonly GROUPED_LISTINGS: "/api/store/grouped-listings";
|
|
592
|
+
readonly GROUPED_LISTING_BY_ID: (id: string) => string;
|
|
593
|
+
readonly ANALYTICS_ALERTS: "/api/store/analytics/alerts";
|
|
594
|
+
readonly ANALYTICS_ALERT_BY_ID: (id: string) => string;
|
|
595
|
+
readonly STORE_CATEGORIES: "/api/store/categories";
|
|
596
|
+
readonly STORE_CATEGORY_BY_ID: (id: string) => string;
|
|
597
|
+
readonly TEMPLATES: "/api/store/templates";
|
|
598
|
+
readonly TEMPLATE_BY_ID: (id: string) => string;
|
|
599
|
+
readonly PAYOUT_METHODS: "/api/store/payout-methods";
|
|
600
|
+
readonly PAYOUT_METHOD_BY_ID: (id: string) => string;
|
|
601
|
+
readonly SHIPPING_CONFIGS: "/api/store/shipping-configs";
|
|
602
|
+
readonly SHIPPING_CONFIG_BY_ID: (id: string) => string;
|
|
603
|
+
readonly GOOGLE_REVIEWS: "/api/store/google-reviews";
|
|
604
|
+
readonly GOOGLE_REVIEWS_SYNC: "/api/store/google-reviews/sync";
|
|
577
605
|
};
|
|
578
606
|
readonly BLOG: {
|
|
579
607
|
readonly LIST: "/api/blog";
|
|
@@ -881,6 +909,20 @@ export declare const API_ROUTES: {
|
|
|
881
909
|
readonly FEATURE_BY_ID: (id: string) => string;
|
|
882
910
|
readonly PRODUCTS_BULK_LOCATION: "/api/store/products/bulk-location";
|
|
883
911
|
readonly ORDERS_BULK_LOCATION: "/api/store/orders/bulk-location";
|
|
912
|
+
readonly GROUPED_LISTINGS: "/api/store/grouped-listings";
|
|
913
|
+
readonly GROUPED_LISTING_BY_ID: (id: string) => string;
|
|
914
|
+
readonly ANALYTICS_ALERTS: "/api/store/analytics/alerts";
|
|
915
|
+
readonly ANALYTICS_ALERT_BY_ID: (id: string) => string;
|
|
916
|
+
readonly STORE_CATEGORIES: "/api/store/categories";
|
|
917
|
+
readonly STORE_CATEGORY_BY_ID: (id: string) => string;
|
|
918
|
+
readonly TEMPLATES: "/api/store/templates";
|
|
919
|
+
readonly TEMPLATE_BY_ID: (id: string) => string;
|
|
920
|
+
readonly PAYOUT_METHODS: "/api/store/payout-methods";
|
|
921
|
+
readonly PAYOUT_METHOD_BY_ID: (id: string) => string;
|
|
922
|
+
readonly SHIPPING_CONFIGS: "/api/store/shipping-configs";
|
|
923
|
+
readonly SHIPPING_CONFIG_BY_ID: (id: string) => string;
|
|
924
|
+
readonly GOOGLE_REVIEWS: "/api/store/google-reviews";
|
|
925
|
+
readonly GOOGLE_REVIEWS_SYNC: "/api/store/google-reviews/sync";
|
|
884
926
|
};
|
|
885
927
|
readonly BLOG: {
|
|
886
928
|
readonly LIST: "/api/blog";
|
|
@@ -355,6 +355,20 @@ export const SELLER_ENDPOINTS = {
|
|
|
355
355
|
FEATURE_BY_ID: (id) => `/api/store/features/${id}`,
|
|
356
356
|
PRODUCTS_BULK_LOCATION: "/api/store/products/bulk-location",
|
|
357
357
|
ORDERS_BULK_LOCATION: "/api/store/orders/bulk-location",
|
|
358
|
+
GROUPED_LISTINGS: "/api/store/grouped-listings",
|
|
359
|
+
GROUPED_LISTING_BY_ID: (id) => `/api/store/grouped-listings/${id}`,
|
|
360
|
+
ANALYTICS_ALERTS: "/api/store/analytics/alerts",
|
|
361
|
+
ANALYTICS_ALERT_BY_ID: (id) => `/api/store/analytics/alerts/${id}`,
|
|
362
|
+
STORE_CATEGORIES: "/api/store/categories",
|
|
363
|
+
STORE_CATEGORY_BY_ID: (id) => `/api/store/categories/${id}`,
|
|
364
|
+
TEMPLATES: "/api/store/templates",
|
|
365
|
+
TEMPLATE_BY_ID: (id) => `/api/store/templates/${id}`,
|
|
366
|
+
PAYOUT_METHODS: "/api/store/payout-methods",
|
|
367
|
+
PAYOUT_METHOD_BY_ID: (id) => `/api/store/payout-methods/${id}`,
|
|
368
|
+
SHIPPING_CONFIGS: "/api/store/shipping-configs",
|
|
369
|
+
SHIPPING_CONFIG_BY_ID: (id) => `/api/store/shipping-configs/${id}`,
|
|
370
|
+
GOOGLE_REVIEWS: "/api/store/google-reviews",
|
|
371
|
+
GOOGLE_REVIEWS_SYNC: "/api/store/google-reviews/sync",
|
|
358
372
|
};
|
|
359
373
|
// ---------------------------------------------------------------------------
|
|
360
374
|
// Blog
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const GC: {
|
|
2
|
+
sectionWrap: string;
|
|
3
|
+
sectionHeader: string;
|
|
4
|
+
sectionBody: string;
|
|
5
|
+
iconPrimary: string;
|
|
6
|
+
sectionTitle: string;
|
|
7
|
+
listMuted: string;
|
|
8
|
+
listDiscMuted: string;
|
|
9
|
+
textMuted: string;
|
|
10
|
+
textStrong: string;
|
|
11
|
+
code: string;
|
|
12
|
+
pageHeaderGradient: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Shared className constants for guide view components.
|
|
2
|
+
export const GC = {
|
|
3
|
+
sectionWrap: "rounded-2xl border border-[var(--appkit-color-border)] bg-[var(--appkit-color-surface)] overflow-hidden",
|
|
4
|
+
sectionHeader: "flex items-center gap-3 px-6 py-4 border-b border-[var(--appkit-color-border)] bg-[var(--appkit-color-surface-2,var(--appkit-color-border))]/20",
|
|
5
|
+
sectionBody: "px-6 py-5",
|
|
6
|
+
iconPrimary: "w-5 h-5 text-[var(--appkit-color-primary)]",
|
|
7
|
+
sectionTitle: "text-base font-semibold text-[var(--appkit-color-text)]",
|
|
8
|
+
listMuted: "space-y-2 text-sm text-[var(--appkit-color-text-muted)]",
|
|
9
|
+
listDiscMuted: "list-disc list-inside space-y-1 text-sm text-[var(--appkit-color-text-muted)]",
|
|
10
|
+
textMuted: "text-sm text-[var(--appkit-color-text-muted)]",
|
|
11
|
+
textStrong: "text-[var(--appkit-color-text)]",
|
|
12
|
+
code: "text-xs bg-[var(--appkit-color-border)] px-1 py-0.5 rounded",
|
|
13
|
+
pageHeaderGradient: "linear-gradient(135deg,var(--appkit-color-primary-700,#4f46e5) 0%,var(--appkit-color-cobalt,#2563eb) 100%)",
|
|
14
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { ROUTES } from "../../../constants";
|
|
3
3
|
import { THEME_CONSTANTS } from "../../../tokens";
|
|
4
|
-
import { Heading, Text, Section, Stack } from "../../../ui";
|
|
4
|
+
import { Heading, Text, Section, Stack, Alert } from "../../../ui";
|
|
5
5
|
import { TextLink } from "../../../ui";
|
|
6
|
-
import { BookOpen, MessageCircle, ShoppingBag,
|
|
6
|
+
import { BookOpen, MessageCircle, ShoppingBag, Gavel, PackageCheck, UserCheck, Store, ChevronRight, } from "lucide-react";
|
|
7
7
|
const DEFAULT_HERO_CLASS = "bg-gradient-to-br from-violet-700 to-indigo-700 dark:from-violet-800 dark:to-indigo-800";
|
|
8
8
|
export async function HelpPageView({ heroBannerClass = DEFAULT_HERO_CLASS, } = {}) {
|
|
9
9
|
const { themed, flex, page } = THEME_CONSTANTS;
|
|
@@ -12,58 +12,61 @@ export async function HelpPageView({ heroBannerClass = DEFAULT_HERO_CLASS, } = {
|
|
|
12
12
|
const TOPICS = [
|
|
13
13
|
{
|
|
14
14
|
icon: ShoppingBag,
|
|
15
|
-
title: t("
|
|
16
|
-
desc: t("
|
|
17
|
-
href: String(ROUTES.PUBLIC.
|
|
15
|
+
title: t("topicShopping"),
|
|
16
|
+
desc: t("topicShoppingDesc"),
|
|
17
|
+
href: String(ROUTES.PUBLIC.HELP_SHOPPING),
|
|
18
18
|
color: "bg-primary/5 border-primary/20 dark:bg-primary/10 dark:border-primary/30",
|
|
19
19
|
iconColor: "text-primary",
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
|
-
icon:
|
|
23
|
-
title: t("
|
|
24
|
-
desc: t("
|
|
25
|
-
href: String(ROUTES.PUBLIC.
|
|
22
|
+
icon: Gavel,
|
|
23
|
+
title: t("topicAuctions"),
|
|
24
|
+
desc: t("topicAuctionsDesc"),
|
|
25
|
+
href: String(ROUTES.PUBLIC.HELP_AUCTIONS),
|
|
26
26
|
color: "bg-sky-50 border-sky-200 dark:bg-sky-900/20 dark:border-sky-700",
|
|
27
27
|
iconColor: "text-sky-600 dark:text-sky-400",
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
|
-
icon:
|
|
31
|
-
title: t("
|
|
32
|
-
desc: t("
|
|
33
|
-
href: String(ROUTES.PUBLIC.
|
|
30
|
+
icon: PackageCheck,
|
|
31
|
+
title: t("topicOrders"),
|
|
32
|
+
desc: t("topicOrdersDesc"),
|
|
33
|
+
href: String(ROUTES.PUBLIC.HELP_ORDERS),
|
|
34
34
|
color: "bg-emerald-50 border-emerald-200 dark:bg-emerald-900/20 dark:border-emerald-700",
|
|
35
35
|
iconColor: "text-emerald-600 dark:text-emerald-400",
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
|
-
icon:
|
|
39
|
-
title: t("
|
|
40
|
-
desc: t("
|
|
41
|
-
href: String(ROUTES.PUBLIC.
|
|
42
|
-
color: "bg-
|
|
43
|
-
iconColor: "text-
|
|
38
|
+
icon: UserCheck,
|
|
39
|
+
title: t("topicAccount"),
|
|
40
|
+
desc: t("topicAccountDesc"),
|
|
41
|
+
href: String(ROUTES.PUBLIC.HELP_ACCOUNT),
|
|
42
|
+
color: "bg-violet-50 border-violet-200 dark:bg-violet-900/20 dark:border-violet-700",
|
|
43
|
+
iconColor: "text-violet-600 dark:text-violet-400",
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
icon: BookOpen,
|
|
47
47
|
title: t("topicFAQs"),
|
|
48
48
|
desc: t("topicFAQsDesc"),
|
|
49
49
|
href: String(ROUTES.PUBLIC.FAQS),
|
|
50
|
-
color: "bg-
|
|
51
|
-
iconColor: "text-
|
|
50
|
+
color: "bg-amber-50 border-amber-200 dark:bg-amber-900/20 dark:border-amber-700",
|
|
51
|
+
iconColor: "text-amber-600 dark:text-amber-400",
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
|
-
icon:
|
|
55
|
-
title: t("
|
|
56
|
-
desc: t("
|
|
57
|
-
href: String(ROUTES.PUBLIC.
|
|
54
|
+
icon: Store,
|
|
55
|
+
title: t("topicSelling"),
|
|
56
|
+
desc: t("topicSellingDesc"),
|
|
57
|
+
href: String(ROUTES.PUBLIC.SELLER_GUIDE),
|
|
58
58
|
color: "bg-rose-50 border-rose-200 dark:bg-rose-900/20 dark:border-rose-700",
|
|
59
59
|
iconColor: "text-rose-600 dark:text-rose-400",
|
|
60
60
|
},
|
|
61
61
|
];
|
|
62
|
-
return (_jsxs("div", { className: "-mx-4 md:-mx-6 lg:-mx-8 -mt-6 sm:-mt-8 lg:-mt-10", "data-section": "helppageview-div-107", children: [_jsx(Section, { className: `${heroBannerClass} text-white py-14 md:py-16 lg:py-20`, children: _jsxs("div", { className: `${page.container.md} text-center`, "data-section": "helppageview-div-108", children: [_jsx(Heading, { level: 1, variant: "none", className: "mb-4 text-white", children: t("title") }), _jsx(Text, { variant: "none", className: "text-white/80 max-w-2xl mx-auto", children: t("subtitle") })] }) }), _jsxs("div", { className: `${page.container.md} py-10 md:py-12 lg:py-16 space-y-14`, "data-section": "helppageview-div-109", children: [renderTopicsGrid(t, flex, TOPICS), renderTrackOrderSection(t, themed), renderContactCtaSection(t, themed)] })] }));
|
|
62
|
+
return (_jsxs("div", { className: "-mx-4 md:-mx-6 lg:-mx-8 -mt-6 sm:-mt-8 lg:-mt-10", "data-section": "helppageview-div-107", children: [_jsx(Section, { className: `${heroBannerClass} text-white py-14 md:py-16 lg:py-20`, children: _jsxs("div", { className: `${page.container.md} text-center`, "data-section": "helppageview-div-108", children: [_jsx(Heading, { level: 1, variant: "none", className: "mb-4 text-white", children: t("title") }), _jsx(Text, { variant: "none", className: "text-white/80 max-w-2xl mx-auto", children: t("subtitle") })] }) }), _jsxs("div", { className: `${page.container.md} py-10 md:py-12 lg:py-16 space-y-14`, "data-section": "helppageview-div-109", children: [renderTopicsGrid(t, flex, TOPICS), renderScamAwarenessAlert(t), renderTrackOrderSection(t, themed), renderContactCtaSection(t, themed)] })] }));
|
|
63
63
|
}
|
|
64
64
|
function renderTopicsGrid(t, flex, topics) {
|
|
65
65
|
return (_jsxs(Section, { children: [_jsx(Heading, { level: 2, className: "mb-6 text-center", children: t("browseTopics") }), _jsx("div", { className: "grid gap-4 sm:grid-cols-2 lg:grid-cols-3", "data-section": "helppageview-div-110", children: topics.map(({ icon: Icon, title, desc, href, color, iconColor }) => (_jsxs(TextLink, { href: href, className: `group rounded-xl border p-5 transition-shadow hover:shadow-md ${color} no-underline`, children: [_jsx("div", { className: `w-10 h-10 rounded-lg bg-white/60 dark:bg-white/10 ${flex.center} mb-3`, "data-section": "helppageview-div-111", children: _jsx(Icon, { className: `w-5 h-5 ${iconColor}` }) }), _jsxs("div", { className: `${flex.row} justify-between items-start`, "data-section": "helppageview-div-112", children: [_jsxs("div", { "data-section": "helppageview-div-113", children: [_jsx(Text, { className: "font-semibold mb-1", children: title }), _jsx(Text, { variant: "secondary", className: "text-sm leading-relaxed", children: desc })] }), _jsx(ChevronRight, { className: "w-4 h-4 mt-1 flex-shrink-0 opacity-40 group-hover:opacity-80 transition-opacity" })] })] }, href))) })] }));
|
|
66
66
|
}
|
|
67
|
+
function renderScamAwarenessAlert(t) {
|
|
68
|
+
return (_jsxs(Alert, { variant: "warning", title: t("scamAwarenessTitle"), children: [t("scamAwarenessText"), " ", _jsx(TextLink, { href: String(ROUTES.PUBLIC.SCAMS), className: "font-semibold underline", children: t("scamAwarenessCta") })] }));
|
|
69
|
+
}
|
|
67
70
|
function renderTrackOrderSection(t, themed) {
|
|
68
71
|
return (_jsxs(Section, { className: `rounded-2xl p-6 border ${themed.border} ${themed.bgSecondary} flex flex-col sm:flex-row items-center gap-4`, children: [_jsxs("div", { className: "flex-1", "data-section": "helppageview-div-114", children: [_jsx(Heading, { level: 3, className: "mb-1 text-base", children: t("trackOrderTitle") }), _jsx(Text, { variant: "secondary", className: "text-sm", children: t("trackOrderText") })] }), _jsx(TextLink, { href: String(ROUTES.PUBLIC.TRACK_ORDER), className: "flex-shrink-0", children: t("trackOrderCta") })] }));
|
|
69
72
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function BuyerAccountGuideView(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { UserCheck, Bell, Heart, Star, Lock, AlertTriangle, Flag } from "lucide-react";
|
|
3
|
+
import { Div, Heading, Text, Section, Alert } from "../../../ui";
|
|
4
|
+
import { ROUTES } from "../../../constants";
|
|
5
|
+
import { GC } from "../../_guide-cls";
|
|
6
|
+
const SECTIONS = [
|
|
7
|
+
{
|
|
8
|
+
Icon: UserCheck, title: "Your Profile",
|
|
9
|
+
content: (_jsxs(Div, { className: "space-y-3", children: [_jsxs(Text, { className: GC.textMuted, children: ["Update your profile at ", _jsx("strong", { children: "My Account \u2192 My Profile" }), ". Your ", _jsx("strong", { children: "display name" }), " is shown to sellers on order summaries."] }), _jsxs(Div, { className: "grid sm:grid-cols-2 gap-4 text-sm", children: [_jsxs(Div, { children: [_jsx(Text, { className: "font-semibold text-[var(--appkit-color-text)] mb-1", children: "Visible to others:" }), _jsxs("ul", { className: GC.listDiscMuted, children: [_jsx("li", { children: "Display name" }), _jsx("li", { children: "Avatar / profile photo" }), _jsx("li", { children: "Bio" }), _jsx("li", { children: "Member since date" })] })] }), _jsxs(Div, { children: [_jsx(Text, { className: "font-semibold text-[var(--appkit-color-text)] mb-1", children: "Only you can see:" }), _jsxs("ul", { className: GC.listDiscMuted, children: [_jsx("li", { children: "Email address" }), _jsx("li", { children: "Phone number" }), _jsx("li", { children: "Saved addresses" }), _jsx("li", { children: "Order history" })] })] })] })] })),
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
Icon: Bell, title: "Notifications",
|
|
13
|
+
content: (_jsxs(Div, { className: "space-y-3", children: [_jsx(Text, { className: GC.textMuted, children: "You'll receive in-app notifications for:" }), _jsxs("ul", { className: GC.listDiscMuted, children: [_jsx("li", { children: "Order status changes (Processing, Shipped, Delivered)" }), _jsx("li", { children: "Outbid alerts on auctions you're participating in" }), _jsx("li", { children: "Auction win notification" }), _jsx("li", { children: "Review request after a delivered order" }), _jsx("li", { children: "Support ticket replies" })] }), _jsxs(Text, { className: GC.textMuted, children: ["Manage notification preferences at ", _jsx("strong", { children: "My Account \u2192 Settings \u2192 Notifications" }), "."] })] })),
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
Icon: Heart, iconCls: "w-5 h-5 text-rose-500", title: "Wishlist",
|
|
17
|
+
content: (_jsxs(Div, { className: "space-y-3", children: [_jsxs(Text, { className: GC.textMuted, children: ["Save any listing to your wishlist by clicking the heart icon on a product card. View your wishlist at ", _jsx("strong", { children: "My Account \u2192 Wishlist" }), "."] }), _jsxs(Alert, { variant: "info", children: ["Your wishlist holds up to ", _jsx("strong", { children: "20 items" }), ". Remove items you no longer want to make room for new ones. Wishlists are private \u2014 other users cannot see your saved items."] })] })),
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
Icon: Star, iconCls: "w-5 h-5 text-amber-400", title: "Leaving a Review",
|
|
21
|
+
content: (_jsxs(Div, { className: "space-y-3", children: [_jsxs(Text, { className: GC.textMuted, children: ["You can leave a review after your order is marked ", _jsx("strong", { children: "DELIVERED" }), ". Reviews are verified \u2014 only buyers who completed an order can review that product."] }), _jsxs("ul", { className: GC.listMuted, children: [_jsxs("li", { children: [_jsx("strong", { className: GC.textStrong, children: "Rating" }), " \u2014 1\u20135 stars. Be fair and specific."] }), _jsxs("li", { children: [_jsx("strong", { className: GC.textStrong, children: "Title & body" }), " \u2014 describe item condition vs listing, packaging quality, and seller communication."] }), _jsxs("li", { children: [_jsx("strong", { className: GC.textStrong, children: "Photos" }), " \u2014 optional but helpful for other buyers."] }), _jsxs("li", { children: [_jsx("strong", { className: GC.textStrong, children: "Seller response" }), " \u2014 the seller may respond publicly. You cannot edit a review after a seller has responded."] })] }), _jsx(Text, { className: GC.textMuted, children: "Review guidelines: no personal information, no hate speech or slurs, factual only." })] })),
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
Icon: Lock, title: "Account Security",
|
|
25
|
+
content: (_jsxs("ul", { className: GC.listMuted, children: [_jsxs("li", { children: [_jsx("strong", { className: GC.textStrong, children: "Change password" }), " \u2014 use \"Forgot password\" on the login page. A reset link is sent to your registered email."] }), _jsxs("li", { children: [_jsx("strong", { className: GC.textStrong, children: "Active sessions" }), " \u2014 view all devices signed in at ", _jsx("strong", { children: "My Account \u2192 Sessions" }), ". Sign out unfamiliar devices immediately."] }), _jsxs("li", { children: [_jsx("strong", { className: GC.textStrong, children: "Sign out everywhere" }), " \u2014 use \"Sign out everywhere\" on the Sessions page to invalidate all active sessions at once."] })] })),
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
Icon: AlertTriangle, iconCls: "w-5 h-5 text-amber-500", title: "Scam Awareness",
|
|
29
|
+
content: (_jsxs(_Fragment, { children: [_jsx(Alert, { variant: "warning", title: "Top scam types in the collectibles market:", children: _jsxs("ul", { className: "space-y-1 text-sm mt-1", children: [_jsxs("li", { children: [_jsx("strong", { children: "1. Fake payment screenshots" }), " \u2014 always verify refunds in your bank app."] }), _jsxs("li", { children: [_jsx("strong", { children: "2. Empty box shipping" }), " \u2014 item photos look real but the box arrives empty. Check seller rating."] }), _jsxs("li", { children: [_jsx("strong", { children: "3. Fake graded cards" }), " \u2014 counterfeit PSA/BGS slabs. Verify cert numbers on the grading company's website."] }), _jsxs("li", { children: [_jsx("strong", { children: "4. Urgency pressure" }), " \u2014 \"someone else is about to buy\". Legitimate sellers don't pressure you."] }), _jsxs("li", { children: [_jsx("strong", { children: "5. Sympathy plays" }), " \u2014 emotional manipulation is a red flag."] })] }) }), _jsxs(Text, { className: `${GC.textMuted} mt-4`, children: ["Read the full ", _jsx("a", { href: String(ROUTES.PUBLIC.SCAMS), className: "text-[var(--appkit-color-primary)] underline hover:no-underline font-medium", children: "Scam Registry \u2192" }), " for all 27 documented scam types."] })] })),
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
Icon: Flag, iconCls: "w-5 h-5 text-rose-500", title: "Reporting Issues",
|
|
33
|
+
content: (_jsxs(Div, { className: "grid sm:grid-cols-2 gap-6 text-sm", children: [_jsxs(Div, { children: [_jsx(Text, { className: "font-semibold text-[var(--appkit-color-text)] mb-2", children: "Report a seller (scam, fake item, harassment)" }), _jsx(Text, { className: `${GC.textMuted} mb-2`, children: "Use the Scam Registry report form. Our Trust & Safety team reviews within 48 hours." }), _jsx("a", { href: String(ROUTES.PUBLIC.SCAMS), className: "text-[var(--appkit-color-primary)] text-sm font-medium underline hover:no-underline", children: "Go to Scam Registry \u2192" })] }), _jsxs(Div, { children: [_jsx(Text, { className: "font-semibold text-[var(--appkit-color-text)] mb-2", children: "Open a support ticket (order dispute, billing, account)" }), _jsx(Text, { className: `${GC.textMuted} mb-2`, children: "Go to My Account \u2192 Support Tickets. Choose the right category for a faster response." }), _jsx("a", { href: String(ROUTES.USER.SUPPORT), className: "text-[var(--appkit-color-primary)] text-sm font-medium underline hover:no-underline", children: "Open Support Ticket \u2192" })] })] })),
|
|
34
|
+
},
|
|
35
|
+
];
|
|
36
|
+
// ─── Component ────────────────────────────────────────────────────────────────
|
|
37
|
+
export function BuyerAccountGuideView() {
|
|
38
|
+
return (_jsxs(Div, { className: "space-y-8 pb-10 max-w-3xl mx-auto", children: [_jsxs(Section, { children: [_jsxs(Div, { className: "flex items-center gap-3 mb-2", children: [_jsx(Div, { className: "flex-shrink-0 w-10 h-10 rounded-xl flex items-center justify-center", style: { background: GC.pageHeaderGradient }, children: _jsx(UserCheck, { className: "w-5 h-5 text-white" }) }), _jsx(Text, { className: "text-sm font-semibold text-[var(--appkit-color-text-muted)] uppercase tracking-widest", children: "Buyer Guide" })] }), _jsx(Heading, { level: 1, className: "text-2xl md:text-3xl font-bold text-[var(--appkit-color-text)] mb-2", children: "Account & Safety" }), _jsx(Text, { className: "text-[var(--appkit-color-text-muted)]", children: "Manage your LetItRip profile, stay safe from scams, and know how to report problems." })] }), SECTIONS.map(({ Icon, iconCls, title, content }) => (_jsxs(Section, { className: GC.sectionWrap, children: [_jsxs(Div, { className: GC.sectionHeader, children: [_jsx(Icon, { className: iconCls ?? GC.iconPrimary }), _jsx(Heading, { level: 2, className: GC.sectionTitle, children: title })] }), _jsx(Div, { className: GC.sectionBody, children: content })] }, title)))] }));
|
|
39
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function BuyerAuctionsGuideView(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { Gavel, TrendingUp, Trophy, AlertTriangle, Package, XCircle, ShieldCheck } from "lucide-react";
|
|
3
|
+
import { Div, Heading, Text, Section, Alert } from "../../../ui";
|
|
4
|
+
import { GC } from "../../_guide-cls";
|
|
5
|
+
const SECTIONS = [
|
|
6
|
+
{
|
|
7
|
+
Icon: Gavel, title: "How Auctions Work",
|
|
8
|
+
content: (_jsxs("ul", { className: GC.listMuted, children: [_jsxs("li", { children: [_jsx("strong", { className: GC.textStrong, children: "Reserve price" }), " \u2014 the minimum amount the seller will accept. If bidding ends below the reserve, no sale occurs. You'll see \"Reserve not met\" on the listing."] }), _jsxs("li", { children: [_jsx("strong", { className: GC.textStrong, children: "Bid increment" }), " \u2014 each new bid must exceed the current highest bid by at least the set increment. The increment is shown on the listing."] }), _jsxs("li", { children: [_jsx("strong", { className: GC.textStrong, children: "Auction end time" }), " \u2014 displayed in your local timezone. Countdown timer shows hours and minutes remaining."] }), _jsxs("li", { children: [_jsx("strong", { className: GC.textStrong, children: "Auto-extend" }), " \u2014 if a bid is placed within the last 5 minutes of an auction, the end time extends by 5 minutes. This prevents last-second sniping and gives all bidders a fair chance."] })] })),
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
Icon: TrendingUp, title: "Placing a Bid",
|
|
12
|
+
content: (_jsxs(_Fragment, { children: [_jsxs(Text, { className: `${GC.textMuted} mb-3`, children: ["Enter your bid amount \u2014 it must be at least the current high bid plus the increment \u2014 and click ", _jsx("strong", { children: "Place Bid" }), ". You'll be asked to confirm."] }), _jsxs("ul", { className: GC.listMuted, children: [_jsxs("li", { children: [_jsx("strong", { className: GC.textStrong, children: "Outbid notification" }), " \u2014 you'll receive an in-app notification and email if someone outbids you."] }), _jsxs("li", { children: [_jsx("strong", { className: GC.textStrong, children: "Max bid (proxy bidding)" }), " \u2014 enter the maximum you're willing to pay. LetItRip will automatically bid on your behalf up to that amount, in the minimum increments needed to keep you in the lead. Your max bid is never revealed to other bidders."] })] }), _jsxs(Text, { className: `${GC.textMuted} mt-3`, children: [_jsx("strong", { children: "Example:" }), " Current bid is \u20B9500, increment is \u20B950. You set a max bid of \u20B9800. Your bid is placed at \u20B9550. If someone bids \u20B9600, the system auto-bids \u20B9650 for you \u2014 up to \u20B9800."] })] })),
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
Icon: Trophy, title: "Winning an Auction",
|
|
16
|
+
content: (_jsxs(_Fragment, { children: [_jsx(Text, { className: `${GC.textMuted} mb-3`, children: "When an auction ends and you're the highest bidder (above the reserve), you've won." }), _jsxs("ul", { className: GC.listMuted, children: [_jsxs("li", { children: [_jsx("strong", { className: GC.textStrong, children: "Payment window" }), " \u2014 you have ", _jsx("strong", { children: "48 hours" }), " from the auction end time to complete payment."] }), _jsxs("li", { children: [_jsx("strong", { className: GC.textStrong, children: "No payment" }), " \u2014 the order auto-cancels after 48 hours, you may receive a bid restriction, and the item may be offered to the next highest bidder."] }), _jsxs("li", { children: [_jsx("strong", { className: GC.textStrong, children: "Winner badge" }), " \u2014 your winning order gets an \"Auction Winner\" badge in My Orders."] })] })] })),
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
Icon: AlertTriangle, iconCls: "w-5 h-5 text-amber-500", title: "Bid Retraction Policy",
|
|
20
|
+
content: (_jsxs(Alert, { variant: "warning", children: ["Bids on LetItRip are ", _jsx("strong", { children: "binding" }), ". Only place a bid if you intend to pay. Retraction requires contacting support with a valid reason. Repeated retractions may result in a temporary restriction on placing new bids."] })),
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
Icon: Package, title: "Pre-orders",
|
|
24
|
+
content: (_jsxs(_Fragment, { children: [_jsx(Text, { className: `${GC.textMuted} mb-3`, children: "A pre-order is an item not yet in stock. The seller takes deposits or full payment upfront and orders from their supplier in bulk once demand is confirmed." }), _jsxs("ul", { className: GC.listMuted, children: [_jsxs("li", { children: [_jsx("strong", { className: GC.textStrong, children: "Deposit vs full price" }), " \u2014 check the listing. Some sellers take a partial deposit; others require full payment."] }), _jsxs("li", { children: [_jsx("strong", { className: GC.textStrong, children: "Expected delivery date" }), " \u2014 shown on the listing. This is the seller's estimate based on supplier timelines \u2014 not a guaranteed date."] }), _jsxs("li", { children: [_jsx("strong", { className: GC.textStrong, children: "\"Confirmed supplier\" status" }), " \u2014 some listings show this badge, meaning the seller has placed the order with their supplier and stock is secured."] })] })] })),
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
Icon: XCircle, iconCls: "w-5 h-5 text-rose-500", title: "Pre-order Cancellations",
|
|
28
|
+
content: (_jsxs(_Fragment, { children: [_jsxs(Text, { className: `${GC.textMuted} mb-3`, children: ["To cancel a pre-order before the item is shipped, open a support ticket with category ", _jsx("strong", { children: "Billing & Payment" }), " or ", _jsx("strong", { children: "Order Issue" }), " and reference your order ID."] }), _jsx(Text, { className: GC.textMuted, children: "After cancellation is accepted, refunds follow the standard timeline: 3\u20137 business days to your original payment method." })] })),
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
Icon: ShieldCheck, iconCls: "w-5 h-5 text-emerald-500", title: "Bidding Safety Tips",
|
|
32
|
+
content: (_jsx(Alert, { variant: "info", children: _jsxs("ul", { className: "space-y-1 text-sm", children: [_jsx("li", { children: "\u2713 Check the seller's rating and number of completed orders before bidding." }), _jsx("li", { children: "\u2713 Read every product photo carefully \u2014 look for condition issues, especially on graded card slabs." }), _jsx("li", { children: "\u2713 If authenticity is unclear, contact support before placing a bid \u2014 not after." }), _jsx("li", { children: "\u2713 Set a max bid and stick to it. Bid heat is real \u2014 don't let excitement push you past your budget." })] }) })),
|
|
33
|
+
},
|
|
34
|
+
];
|
|
35
|
+
// ─── Component ────────────────────────────────────────────────────────────────
|
|
36
|
+
export function BuyerAuctionsGuideView() {
|
|
37
|
+
return (_jsxs(Div, { className: "space-y-8 pb-10 max-w-3xl mx-auto", children: [_jsxs(Section, { children: [_jsxs(Div, { className: "flex items-center gap-3 mb-2", children: [_jsx(Div, { className: "flex-shrink-0 w-10 h-10 rounded-xl flex items-center justify-center", style: { background: GC.pageHeaderGradient }, children: _jsx(Gavel, { className: "w-5 h-5 text-white" }) }), _jsx(Text, { className: "text-sm font-semibold text-[var(--appkit-color-text-muted)] uppercase tracking-widest", children: "Buyer Guide" })] }), _jsx(Heading, { level: 1, className: "text-2xl md:text-3xl font-bold text-[var(--appkit-color-text)] mb-2", children: "Auctions & Pre-orders" }), _jsx(Text, { className: "text-[var(--appkit-color-text-muted)]", children: "How bidding works, how to win, and everything you need to know about pre-orders on LetItRip." })] }), SECTIONS.map(({ Icon, iconCls, title, content }) => (_jsxs(Section, { className: GC.sectionWrap, children: [_jsxs(Div, { className: GC.sectionHeader, children: [_jsx(Icon, { className: iconCls ?? GC.iconPrimary }), _jsx(Heading, { level: 2, className: GC.sectionTitle, children: title })] }), _jsx(Div, { className: GC.sectionBody, children: content })] }, title)))] }));
|
|
38
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function BuyerOrdersGuideView(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { PackageCheck, Truck, Camera, RotateCcw, Clock, Headphones, Scale } from "lucide-react";
|
|
3
|
+
import { Div, Heading, Text, Section, Alert } from "../../../ui";
|
|
4
|
+
import { GC } from "../../_guide-cls";
|
|
5
|
+
// ─── Section data ─────────────────────────────────────────────────────────────
|
|
6
|
+
const ORDER_STATUSES = [
|
|
7
|
+
{ status: "PENDING", desc: "Payment received. Seller has been notified. You can cancel at this stage." },
|
|
8
|
+
{ status: "PROCESSING", desc: "Seller is packing your item. Cancellation window has closed." },
|
|
9
|
+
{ status: "SHIPPED", desc: "Item dispatched. Tracking number available in your order detail." },
|
|
10
|
+
{ status: "DELIVERED", desc: "Carrier confirmed delivery. Return window (7 days) starts from this date." },
|
|
11
|
+
{ status: "RETURN_REQUESTED", desc: "You have opened a return request. Awaiting seller response." },
|
|
12
|
+
{ status: "REFUNDED", desc: "Return accepted and refund issued." },
|
|
13
|
+
{ status: "CANCELLED", desc: "Order was cancelled before shipping (by you, the seller, or automatically)." },
|
|
14
|
+
];
|
|
15
|
+
const SECTIONS = [
|
|
16
|
+
{
|
|
17
|
+
Icon: PackageCheck, title: "Order Lifecycle",
|
|
18
|
+
content: (_jsxs(Div, { className: "space-y-4 text-sm", children: [_jsx(Text, { className: GC.textMuted, children: "Every order on LetItRip moves through these statuses:" }), _jsx(Div, { className: "space-y-2", children: ORDER_STATUSES.map(({ status, desc }) => (_jsxs(Div, { className: "flex gap-3", children: [_jsx(Text, { className: "flex-shrink-0 font-mono font-semibold text-[var(--appkit-color-primary)] w-36 text-xs", children: status }), _jsx(Text, { className: GC.textMuted, children: desc })] }, status))) })] })),
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
Icon: Truck, title: "Tracking Your Order",
|
|
22
|
+
content: (_jsxs(Div, { className: "space-y-3", children: [_jsxs(Text, { className: GC.textMuted, children: ["Once your order is SHIPPED, go to ", _jsx("strong", { children: "My Orders \u2192 [Order] \u2192 Tracking" }), " tab. Your tracking number and carrier name are shown there."] }), _jsx(Text, { className: GC.textMuted, children: "Paste the tracking number into the carrier's website for real-time updates. Common carriers: Shiprocket, Delhivery, BlueDart, India Post, Ekart." }), _jsx(Text, { className: GC.textMuted, children: "Typical delivery times: 2\u20135 days metro cities, 5\u201310 days remote areas, 7\u201314 days for pre-orders subject to supplier shipping." })] })),
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
Icon: Camera, iconCls: "w-5 h-5 text-amber-500", title: "Wrong or Damaged Item",
|
|
26
|
+
content: (_jsxs(_Fragment, { children: [_jsx(Alert, { variant: "warning", title: "Do NOT refuse delivery.", children: "Accept the parcel, then photograph it immediately \u2014 both the packaging and the contents before and after unwrapping. This evidence is required for any return or damage claim." }), _jsxs(Text, { className: `${GC.textMuted} mt-4`, children: ["After photographing, open a ", _jsx("strong", { children: "return request within 2 days of delivery" }), " and attach your photos."] })] })),
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
Icon: RotateCcw, title: "Return Policy",
|
|
30
|
+
content: (_jsxs(Div, { className: "space-y-3", children: [_jsxs(Text, { className: GC.textMuted, children: ["Platform-wide return window: ", _jsx("strong", { children: "7 days from DELIVERED date" }), ". Some stores offer 30-day windows \u2014 shown on the product page."] }), _jsx(Text, { className: "text-sm font-semibold text-[var(--appkit-color-text)]", children: "Non-returnable items:" }), _jsxs("ul", { className: GC.listDiscMuted, children: [_jsx("li", { children: "Opened card packs (Pok\u00E9mon, Yu-Gi-Oh!, etc.)" }), _jsx("li", { children: "Cracked or opened graded card slabs without documented photographic evidence of a defect" }), _jsx("li", { children: "Items explicitly marked \"Final Sale\" on the listing" })] })] })),
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
Icon: Clock, title: "Refund Timeline",
|
|
34
|
+
content: (_jsxs(Div, { className: "space-y-3", children: [_jsx(Text, { className: GC.textMuted, children: "After the seller accepts your return and confirms receipt of the item:" }), _jsxs("ul", { className: GC.listMuted, children: [_jsxs("li", { children: [_jsx("strong", { className: GC.textStrong, children: "Credit/debit card" }), " \u2014 3\u20137 business days back to your card via Razorpay."] }), _jsxs("li", { children: [_jsx("strong", { className: GC.textStrong, children: "UPI" }), " \u2014 typically 1\u20132 business days."] }), _jsxs("li", { children: [_jsx("strong", { className: GC.textStrong, children: "Net banking" }), " \u2014 3\u20135 business days."] })] }), _jsx(Text, { className: GC.textMuted, children: "Refunds go back to the original payment method. LetItRip does not issue platform credits in lieu of a refund unless both parties agree." })] })),
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
Icon: Headphones, title: "Opening a Support Ticket",
|
|
38
|
+
content: (_jsxs(Div, { className: "space-y-3", children: [_jsx(Text, { className: "text-sm font-semibold text-[var(--appkit-color-text)]", children: "When to use a support ticket:" }), _jsxs("ul", { className: GC.listDiscMuted, children: [_jsx("li", { children: "Seller is unresponsive to your return request for more than 3 days" }), _jsx("li", { children: "Tracking has not updated in 7+ days" }), _jsx("li", { children: "Item is significantly not as described" })] }), _jsx(Text, { className: "text-sm font-semibold text-[var(--appkit-color-text)]", children: "What to include:" }), _jsxs("ul", { className: GC.listDiscMuted, children: [_jsxs("li", { children: ["Your order ID (e.g. ", _jsx("code", { className: GC.code, children: "order-2-20260508-a1b2c3" }), ")"] }), _jsx("li", { children: "Photos of the item and packaging" }), _jsx("li", { children: "A clear timeline of events" })] }), _jsx(Text, { className: GC.textMuted, children: "Response SLA: 24\u201348 hours. You can have up to 2 active general tickets and 1 additional ticket per active order." })] })),
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
Icon: Scale, title: "Dispute Escalation",
|
|
42
|
+
content: (_jsxs(Div, { className: "space-y-3", children: [_jsxs(Text, { className: GC.textMuted, children: ["If the seller does not respond to your return request within ", _jsx("strong", { children: "3 days" }), ", LetItRip's support team steps in to mediate."] }), _jsxs(Text, { className: GC.textMuted, children: ["If mediation cannot resolve the dispute, LetItRip issues a ", _jsx("strong", { children: "full platform-funded refund" }), " to the buyer. The seller's payout for that order is withheld."] }), _jsx(Alert, { variant: "info", children: "All dispute decisions are final. False dispute claims may result in account restrictions. Always provide accurate, photographic evidence when raising a dispute." })] })),
|
|
43
|
+
},
|
|
44
|
+
];
|
|
45
|
+
// ─── Component ────────────────────────────────────────────────────────────────
|
|
46
|
+
export function BuyerOrdersGuideView() {
|
|
47
|
+
return (_jsxs(Div, { className: "space-y-8 pb-10 max-w-3xl mx-auto", children: [_jsxs(Section, { children: [_jsxs(Div, { className: "flex items-center gap-3 mb-2", children: [_jsx(Div, { className: "flex-shrink-0 w-10 h-10 rounded-xl flex items-center justify-center", style: { background: GC.pageHeaderGradient }, children: _jsx(PackageCheck, { className: "w-5 h-5 text-white" }) }), _jsx(Text, { className: "text-sm font-semibold text-[var(--appkit-color-text-muted)] uppercase tracking-widest", children: "Buyer Guide" })] }), _jsx(Heading, { level: 1, className: "text-2xl md:text-3xl font-bold text-[var(--appkit-color-text)] mb-2", children: "Orders, Returns & Support" }), _jsx(Text, { className: "text-[var(--appkit-color-text-muted)]", children: "From placing an order to getting a refund \u2014 everything you need to know about managing your orders on LetItRip." })] }), SECTIONS.map(({ Icon, iconCls, title, content }) => (_jsxs(Section, { className: GC.sectionWrap, children: [_jsxs(Div, { className: GC.sectionHeader, children: [_jsx(Icon, { className: iconCls ?? GC.iconPrimary }), _jsx(Heading, { level: 2, className: GC.sectionTitle, children: title })] }), _jsx(Div, { className: GC.sectionBody, children: content })] }, title)))] }));
|
|
48
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function BuyerShoppingGuideView(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { ShoppingBag, ShoppingCart, CreditCard, Tag, CheckCircle, UserX } from "lucide-react";
|
|
3
|
+
import { Div, Heading, Text, Section, Alert } from "../../../ui";
|
|
4
|
+
import { GC } from "../../_guide-cls";
|
|
5
|
+
const SECTIONS = [
|
|
6
|
+
{
|
|
7
|
+
Icon: ShoppingBag, title: "Browsing & Search",
|
|
8
|
+
content: (_jsxs(_Fragment, { children: [_jsx(Text, { className: `${GC.textMuted} mb-3`, children: "Use the search bar at the top of any page to find items by keyword \u2014 e.g. \"Charizard Base Set\", \"Hot Wheels Redline\", or \"Beyblade Burst\". Combine keywords for best results." }), _jsx(Text, { className: "text-sm font-semibold text-[var(--appkit-color-text)] mb-2", children: "Available filters:" }), _jsxs("ul", { className: GC.listDiscMuted, children: [_jsxs("li", { children: [_jsx("strong", { children: "Category" }), " \u2014 Trading Cards, Action Figures, Diecast, Spinning Tops, Model Kits, Vintage & Rare"] }), _jsxs("li", { children: [_jsx("strong", { children: "Brand" }), " \u2014 Pok\u00E9mon Company, Bandai, Hot Wheels, Hasbro, Funko, and more"] }), _jsxs("li", { children: [_jsx("strong", { children: "Price range" }), " \u2014 set a minimum and maximum in rupees"] }), _jsxs("li", { children: [_jsx("strong", { children: "Condition" }), " \u2014 grades 1\u201310 (10 = Gem Mint, 1 = Poor)"] }), _jsxs("li", { children: [_jsx("strong", { children: "Listing type" }), " \u2014 Standard / Auction / Pre-order"] })] }), _jsx(Text, { className: `${GC.textMuted} mt-3`, children: "Sort options: Relevance, Price (Low to High), Price (High to Low), Newest First. On mobile, tap the Filter icon to open the filter drawer." })] })),
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
Icon: ShoppingBag, title: "Reading a Product Page",
|
|
12
|
+
content: (_jsxs("ul", { className: GC.listMuted, children: [_jsxs("li", { children: [_jsx("strong", { className: GC.textStrong, children: "Images" }), " \u2014 tap or click to zoom; swipe left/right to browse all photos."] }), _jsxs("li", { children: [_jsx("strong", { className: GC.textStrong, children: "Condition grade" }), " \u2014 rated 1\u201310: 10 = PSA 10 Gem Mint (flawless), 9 = Mint, 8 = Near Mint\u2013Mint, 7 = Near Mint, 5 = Heavily Played, 3 = Damaged, 1 = Poor."] }), _jsxs("li", { children: [_jsx("strong", { className: GC.textStrong, children: "Seller card" }), " \u2014 shows store name, rating, and total orders delivered. Click the store name to browse all their listings."] }), _jsxs("li", { children: [_jsx("strong", { className: GC.textStrong, children: "Reviews tab" }), " \u2014 verified buyer reviews with star ratings, photos, and seller responses."] }), _jsxs("li", { children: [_jsx("strong", { className: GC.textStrong, children: "Questions?" }), " \u2014 if listing details are unclear, open a support ticket and reference the product URL."] })] })),
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
Icon: ShoppingCart, title: "Cart",
|
|
16
|
+
content: (_jsxs("ul", { className: GC.listMuted, children: [_jsxs("li", { children: [_jsx("strong", { className: GC.textStrong, children: "Adding items" }), " \u2014 click \"Add to Cart\" on any standard product or pre-order. Auctions have a \"Place Bid\" flow instead."] }), _jsxs("li", { children: [_jsx("strong", { className: GC.textStrong, children: "Guest cart" }), " \u2014 saved in your browser (localStorage); cleared after 30 days of inactivity."] }), _jsxs("li", { children: [_jsx("strong", { className: GC.textStrong, children: "Logged-in cart" }), " \u2014 synced to your account via Firestore; persists across all your devices."] }), _jsxs("li", { children: [_jsx("strong", { className: GC.textStrong, children: "Item limit" }), " \u2014 up to 20 items per cart. Remove items before adding more."] }), _jsxs("li", { children: [_jsx("strong", { className: GC.textStrong, children: "Updating" }), " \u2014 use the quantity selector or click the trash icon to remove. Changes sync instantly."] })] })),
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
Icon: CreditCard, title: "Checkout",
|
|
20
|
+
content: (_jsxs("ul", { className: GC.listMuted, children: [_jsxs("li", { children: [_jsx("strong", { className: GC.textStrong, children: "Shipping address" }), " \u2014 enter or select a saved address. All fields required: full name, phone, address line, city, state, pin code."] }), _jsxs("li", { children: [_jsx("strong", { className: GC.textStrong, children: "Payment methods" }), " \u2014 UPI, credit/debit card (Visa, Mastercard, Rupay), net banking \u2014 all processed via Razorpay."] }), _jsxs("li", { children: [_jsx("strong", { className: GC.textStrong, children: "Secure checkout" }), " \u2014 LetItRip never stores your card details. All payment data is handled by Razorpay's PCI-DSS compliant gateway."] })] })),
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
Icon: Tag, title: "Coupons",
|
|
24
|
+
content: (_jsxs(_Fragment, { children: [_jsx(Text, { className: `${GC.textMuted} mb-3`, children: "Enter your coupon code at step 2 of checkout (Order Summary). The discount is applied immediately and shown in the total." }), _jsx(Text, { className: "text-sm font-semibold text-[var(--appkit-color-text)] mb-2", children: "Why a coupon might not apply:" }), _jsxs("ul", { className: GC.listDiscMuted, children: [_jsx("li", { children: "Your order total is below the coupon's minimum purchase amount" }), _jsx("li", { children: "The coupon has expired or hasn't started yet" }), _jsx("li", { children: "Your cart contains items from categories excluded by the coupon" }), _jsx("li", { children: "The coupon is \"first order only\" but you've placed orders before" }), _jsx("li", { children: "You've already used this coupon the maximum allowed times" })] })] })),
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
Icon: CheckCircle, title: "Order Confirmation",
|
|
28
|
+
content: (_jsxs(_Fragment, { children: [_jsx(Text, { className: GC.textMuted, children: "After a successful payment you'll see an on-screen confirmation with your order ID. You'll also receive:" }), _jsxs("ul", { className: `${GC.listDiscMuted} mt-3`, children: [_jsx("li", { children: "An email confirmation to your registered address" }), _jsx("li", { children: "A WhatsApp message if you've added and verified your phone number" })] }), _jsxs(Text, { className: `${GC.textMuted} mt-3`, children: ["View all your orders at any time under ", _jsx("strong", { children: "My Account \u2192 My Orders" }), "."] })] })),
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
Icon: UserX, title: "Guest Limitations",
|
|
32
|
+
content: (_jsxs(Alert, { variant: "info", title: "Browsing as a guest?", children: ["You can browse listings and add items to your cart as a guest. However, to ", _jsx("strong", { children: "complete checkout" }), ", save your wishlist, or contact support you must be signed in. Creating an account takes under 30 seconds \u2014 just an email and a password."] })),
|
|
33
|
+
},
|
|
34
|
+
];
|
|
35
|
+
// ─── Component ────────────────────────────────────────────────────────────────
|
|
36
|
+
export function BuyerShoppingGuideView() {
|
|
37
|
+
return (_jsxs(Div, { className: "space-y-8 pb-10 max-w-3xl mx-auto", children: [_jsxs(Section, { children: [_jsxs(Div, { className: "flex items-center gap-3 mb-2", children: [_jsx(Div, { className: "flex-shrink-0 w-10 h-10 rounded-xl flex items-center justify-center", style: { background: GC.pageHeaderGradient }, children: _jsx(ShoppingBag, { className: "w-5 h-5 text-white" }) }), _jsx(Text, { className: "text-sm font-semibold text-[var(--appkit-color-text-muted)] uppercase tracking-widest", children: "Buyer Guide" })] }), _jsx(Heading, { level: 1, className: "text-2xl md:text-3xl font-bold text-[var(--appkit-color-text)] mb-2", children: "Shopping & Checkout" }), _jsx(Text, { className: "text-[var(--appkit-color-text-muted)]", children: "Everything you need to know about finding, evaluating, and buying collectibles on LetItRip." })] }), SECTIONS.map(({ Icon, title, content }) => (_jsxs(Section, { className: GC.sectionWrap, children: [_jsxs(Div, { className: GC.sectionHeader, children: [_jsx(Icon, { className: GC.iconPrimary }), _jsx(Heading, { level: 2, className: GC.sectionTitle, children: title })] }), _jsx(Div, { className: GC.sectionBody, children: content })] }, title)))] }));
|
|
38
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function AdminAnalyticsGuideView(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { BarChart2 } from "lucide-react";
|
|
3
|
+
import { Div, Heading, Text, Section, Alert } from "../../../ui";
|
|
4
|
+
import { GC } from "../../_guide-cls";
|
|
5
|
+
export function AdminAnalyticsGuideView() {
|
|
6
|
+
return (_jsxs(Div, { className: "space-y-8 pb-10 max-w-3xl mx-auto", children: [_jsxs(Section, { children: [_jsxs(Div, { className: "flex items-center gap-3 mb-2", children: [_jsx(Div, { className: "flex-shrink-0 w-10 h-10 rounded-xl flex items-center justify-center", style: { background: "linear-gradient(135deg,var(--appkit-color-primary-700,#4f46e5) 0%,var(--appkit-color-cobalt,#2563eb) 100%)" }, children: _jsx(BarChart2, { className: "w-5 h-5 text-white" }) }), _jsx(Text, { className: "text-sm font-semibold text-[var(--appkit-color-text-muted)] uppercase tracking-widest", children: "Admin Guide" })] }), _jsx(Heading, { level: 1, className: "text-2xl md:text-3xl font-bold text-[var(--appkit-color-text)] mb-2", children: "Analytics" }), _jsx(Text, { className: "text-[var(--appkit-color-text-muted)]", children: "Revenue, order funnel, product performance, and store metrics on LetItRip." })] }), [
|
|
7
|
+
{
|
|
8
|
+
title: "Revenue Dashboard",
|
|
9
|
+
content: (_jsxs("ul", { className: GC.listMuted, children: [_jsxs("li", { children: [_jsx("strong", { className: "text-[var(--appkit-color-text)]", children: "GMV (Gross Merchandise Value)" }), ": Total order subtotals across all stores. Does not deduct platform commission or refunds."] }), _jsxs("li", { children: [_jsx("strong", { className: "text-[var(--appkit-color-text)]", children: "Net Revenue" }), ": GMV \u00D7 platformFee \u2014 refunded orders excluded."] }), _jsxs("li", { children: [_jsx("strong", { className: "text-[var(--appkit-color-text)]", children: "Period filter" }), ": Last 7 / 30 / 90 days, or custom date range. All monetary values shown in INR."] }), _jsxs("li", { children: [_jsx("strong", { className: "text-[var(--appkit-color-text)]", children: "Payout total" }), ": Total disbursed to sellers in the same period. Revenue - Payout = Platform earnings."] })] })),
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
title: "Order Funnel",
|
|
13
|
+
content: (_jsxs("ul", { className: GC.listMuted, children: [_jsx("li", { children: "The funnel shows drop-off at each stage: Add to Cart \u2192 Checkout started \u2192 Payment initiated \u2192 Payment completed \u2192 Delivered." }), _jsx("li", { children: "High drop-off at \"Payment initiated \u2192 completed\" often indicates a payment gateway issue or UX friction. Check Razorpay dashboard if you see a spike." }), _jsx("li", { children: "High cancellation rate at PENDING \u2192 CANCELLED indicates buyers are placing test orders or listing quality issues (item description doesn't match photos)." })] })),
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
title: "Product Performance",
|
|
17
|
+
content: (_jsxs("ul", { className: GC.listMuted, children: [_jsxs("li", { children: [_jsx("strong", { className: "text-[var(--appkit-color-text)]", children: "Top products by orders" }), ": Which products drive the most completed transactions."] }), _jsxs("li", { children: [_jsx("strong", { className: "text-[var(--appkit-color-text)]", children: "Top products by views" }), ": High views but low orders may indicate pricing, photos, or description issues."] }), _jsxs("li", { children: [_jsx("strong", { className: "text-[var(--appkit-color-text)]", children: "Return rate" }), ": Products with >10% return rate need review \u2014 usually a condition description or photo quality issue."] })] })),
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
title: "Store-Level Metrics",
|
|
21
|
+
content: (_jsxs(_Fragment, { children: [_jsx(Text, { className: "text-sm text-[var(--appkit-color-text-muted)] mb-3", children: "Filter analytics by store to see individual seller performance. Available metrics:" }), _jsxs("ul", { className: "list-disc list-inside space-y-1 text-sm text-[var(--appkit-color-text-muted)]", children: [_jsx("li", { children: "Total orders and completion rate" }), _jsx("li", { children: "Average order value" }), _jsx("li", { children: "Return and refund rate" }), _jsx("li", { children: "Average seller rating" }), _jsx("li", { children: "Payout history" })] }), _jsx(Alert, { variant: "info", className: "mt-4", children: "Store analytics are visible to the store owner in their seller dashboard. Admin sees the full platform view. Do not share a specific store's metrics with other stores." })] })),
|
|
22
|
+
},
|
|
23
|
+
].map(({ title, content }) => (_jsxs(Section, { className: "rounded-2xl border border-[var(--appkit-color-border)] bg-[var(--appkit-color-surface)] overflow-hidden", children: [_jsxs(Div, { className: "flex items-center gap-3 px-6 py-4 border-b border-[var(--appkit-color-border)] bg-[var(--appkit-color-surface-2,var(--appkit-color-border))]/20", children: [_jsx(BarChart2, { className: "w-5 h-5 text-[var(--appkit-color-primary)]" }), _jsx(Heading, { level: 2, className: "text-base font-semibold text-[var(--appkit-color-text)]", children: title })] }), _jsx(Div, { className: "px-6 py-5", children: content })] }, title)))] }));
|
|
24
|
+
}
|