@burdenoff/microfe-coolandlovely 2026.614.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/dist/coolandlovely/CoolAndLovelyRoot.d.ts +5 -0
- package/dist/coolandlovely/CoolAndLovelyRoot.d.ts.map +1 -0
- package/dist/coolandlovely/CoolAndLovelyRoot.js +177 -0
- package/dist/coolandlovely/CoolAndLovelyRoot.js.map +1 -0
- package/dist/coolandlovely/CoolAndLovelyRoutes.d.ts +4 -0
- package/dist/coolandlovely/CoolAndLovelyRoutes.d.ts.map +1 -0
- package/dist/coolandlovely/CoolAndLovelyRoutes.js +215 -0
- package/dist/coolandlovely/CoolAndLovelyRoutes.js.map +1 -0
- package/dist/coolandlovely/components/CartCard.d.ts +18 -0
- package/dist/coolandlovely/components/CartCard.d.ts.map +1 -0
- package/dist/coolandlovely/components/EmptyState.d.ts +12 -0
- package/dist/coolandlovely/components/EmptyState.d.ts.map +1 -0
- package/dist/coolandlovely/components/EmptyState.js +28 -0
- package/dist/coolandlovely/components/EmptyState.js.map +1 -0
- package/dist/coolandlovely/components/InvestmentCard.d.ts +18 -0
- package/dist/coolandlovely/components/InvestmentCard.d.ts.map +1 -0
- package/dist/coolandlovely/components/InvestmentCard.js +96 -0
- package/dist/coolandlovely/components/InvestmentCard.js.map +1 -0
- package/dist/coolandlovely/components/MetricsCard.d.ts +14 -0
- package/dist/coolandlovely/components/MetricsCard.d.ts.map +1 -0
- package/dist/coolandlovely/components/MetricsCard.js +46 -0
- package/dist/coolandlovely/components/MetricsCard.js.map +1 -0
- package/dist/coolandlovely/components/OrderCard.d.ts +18 -0
- package/dist/coolandlovely/components/OrderCard.d.ts.map +1 -0
- package/dist/coolandlovely/components/PageLayout.d.ts +12 -0
- package/dist/coolandlovely/components/PageLayout.d.ts.map +1 -0
- package/dist/coolandlovely/components/PageLayout.js +26 -0
- package/dist/coolandlovely/components/PageLayout.js.map +1 -0
- package/dist/coolandlovely/components/RatingDisplay.d.ts +12 -0
- package/dist/coolandlovely/components/RatingDisplay.d.ts.map +1 -0
- package/dist/coolandlovely/components/RatingDisplay.js +35 -0
- package/dist/coolandlovely/components/RatingDisplay.js.map +1 -0
- package/dist/coolandlovely/components/StatusBadge.d.ts +9 -0
- package/dist/coolandlovely/components/StatusBadge.d.ts.map +1 -0
- package/dist/coolandlovely/components/StatusBadge.js +45 -0
- package/dist/coolandlovely/components/StatusBadge.js.map +1 -0
- package/dist/coolandlovely/components/index.d.ts +13 -0
- package/dist/coolandlovely/components/index.d.ts.map +1 -0
- package/dist/coolandlovely/context/CoolAndLovelyContext.d.ts +16 -0
- package/dist/coolandlovely/context/CoolAndLovelyContext.d.ts.map +1 -0
- package/dist/coolandlovely/context/CoolAndLovelyContext.js +93 -0
- package/dist/coolandlovely/context/CoolAndLovelyContext.js.map +1 -0
- package/dist/coolandlovely/context/index.d.ts +6 -0
- package/dist/coolandlovely/context/index.d.ts.map +1 -0
- package/dist/coolandlovely/context/index.js +1 -0
- package/dist/coolandlovely/hooks/index.d.ts +2 -0
- package/dist/coolandlovely/hooks/index.d.ts.map +1 -0
- package/dist/coolandlovely/hooks/useCoolAndLovelyApi.d.ts +44 -0
- package/dist/coolandlovely/hooks/useCoolAndLovelyApi.d.ts.map +1 -0
- package/dist/coolandlovely/hooks/useCoolAndLovelyApi.js +223 -0
- package/dist/coolandlovely/hooks/useCoolAndLovelyApi.js.map +1 -0
- package/dist/coolandlovely/index.d.ts +11 -0
- package/dist/coolandlovely/index.d.ts.map +1 -0
- package/dist/coolandlovely/index.js +7 -0
- package/dist/coolandlovely/mocks/data.d.ts +61 -0
- package/dist/coolandlovely/mocks/data.d.ts.map +1 -0
- package/dist/coolandlovely/mocks/data.js +1517 -0
- package/dist/coolandlovely/mocks/data.js.map +1 -0
- package/dist/coolandlovely/mocks/index.d.ts +7 -0
- package/dist/coolandlovely/mocks/index.d.ts.map +1 -0
- package/dist/coolandlovely/mocks/users.d.ts +18 -0
- package/dist/coolandlovely/mocks/users.d.ts.map +1 -0
- package/dist/coolandlovely/mocks/users.js +34 -0
- package/dist/coolandlovely/mocks/users.js.map +1 -0
- package/dist/coolandlovely/pages/HomePage.d.ts +10 -0
- package/dist/coolandlovely/pages/HomePage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/HomePage.js +921 -0
- package/dist/coolandlovely/pages/HomePage.js.map +1 -0
- package/dist/coolandlovely/pages/admin/AdminAnalyticsPage.d.ts +11 -0
- package/dist/coolandlovely/pages/admin/AdminAnalyticsPage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/admin/AdminAnalyticsPage.js +645 -0
- package/dist/coolandlovely/pages/admin/AdminAnalyticsPage.js.map +1 -0
- package/dist/coolandlovely/pages/admin/AdminDashboard.d.ts +10 -0
- package/dist/coolandlovely/pages/admin/AdminDashboard.d.ts.map +1 -0
- package/dist/coolandlovely/pages/admin/AdminDashboard.js +639 -0
- package/dist/coolandlovely/pages/admin/AdminDashboard.js.map +1 -0
- package/dist/coolandlovely/pages/admin/AdminFinancialPage.d.ts +11 -0
- package/dist/coolandlovely/pages/admin/AdminFinancialPage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/admin/AdminFinancialPage.js +421 -0
- package/dist/coolandlovely/pages/admin/AdminFinancialPage.js.map +1 -0
- package/dist/coolandlovely/pages/admin/AdminOrdersPage.d.ts +10 -0
- package/dist/coolandlovely/pages/admin/AdminOrdersPage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/admin/AdminOrdersPage.js +660 -0
- package/dist/coolandlovely/pages/admin/AdminOrdersPage.js.map +1 -0
- package/dist/coolandlovely/pages/admin/AdminProfilePage.d.ts +10 -0
- package/dist/coolandlovely/pages/admin/AdminProfilePage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/admin/AdminProfilePage.js +259 -0
- package/dist/coolandlovely/pages/admin/AdminProfilePage.js.map +1 -0
- package/dist/coolandlovely/pages/admin/AdminSettingsPage.d.ts +10 -0
- package/dist/coolandlovely/pages/admin/AdminSettingsPage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/admin/AdminSettingsPage.js +649 -0
- package/dist/coolandlovely/pages/admin/AdminSettingsPage.js.map +1 -0
- package/dist/coolandlovely/pages/admin/CartManagementPage.d.ts +10 -0
- package/dist/coolandlovely/pages/admin/CartManagementPage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/admin/CartManagementPage.js +869 -0
- package/dist/coolandlovely/pages/admin/CartManagementPage.js.map +1 -0
- package/dist/coolandlovely/pages/admin/UserManagementPage.d.ts +10 -0
- package/dist/coolandlovely/pages/admin/UserManagementPage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/admin/UserManagementPage.js +893 -0
- package/dist/coolandlovely/pages/admin/UserManagementPage.js.map +1 -0
- package/dist/coolandlovely/pages/cart-owner/AnalyticsDashboard.d.ts +12 -0
- package/dist/coolandlovely/pages/cart-owner/AnalyticsDashboard.d.ts.map +1 -0
- package/dist/coolandlovely/pages/cart-owner/AnalyticsDashboard.js +834 -0
- package/dist/coolandlovely/pages/cart-owner/AnalyticsDashboard.js.map +1 -0
- package/dist/coolandlovely/pages/cart-owner/BusinessSettingsPage.d.ts +11 -0
- package/dist/coolandlovely/pages/cart-owner/BusinessSettingsPage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/cart-owner/BusinessSettingsPage.js +700 -0
- package/dist/coolandlovely/pages/cart-owner/BusinessSettingsPage.js.map +1 -0
- package/dist/coolandlovely/pages/cart-owner/CartOwnerDashboard.d.ts +11 -0
- package/dist/coolandlovely/pages/cart-owner/CartOwnerDashboard.d.ts.map +1 -0
- package/dist/coolandlovely/pages/cart-owner/CartOwnerDashboard.js +760 -0
- package/dist/coolandlovely/pages/cart-owner/CartOwnerDashboard.js.map +1 -0
- package/dist/coolandlovely/pages/cart-owner/CartOwnerProfilePage.d.ts +12 -0
- package/dist/coolandlovely/pages/cart-owner/CartOwnerProfilePage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/cart-owner/CartOwnerProfilePage.js +886 -0
- package/dist/coolandlovely/pages/cart-owner/CartOwnerProfilePage.js.map +1 -0
- package/dist/coolandlovely/pages/cart-owner/CartServiceConfigPage.d.ts +11 -0
- package/dist/coolandlovely/pages/cart-owner/CartServiceConfigPage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/cart-owner/CartServiceConfigPage.js +631 -0
- package/dist/coolandlovely/pages/cart-owner/CartServiceConfigPage.js.map +1 -0
- package/dist/coolandlovely/pages/cart-owner/InventoryManagementPage.d.ts +11 -0
- package/dist/coolandlovely/pages/cart-owner/InventoryManagementPage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/cart-owner/InventoryManagementPage.js +913 -0
- package/dist/coolandlovely/pages/cart-owner/InventoryManagementPage.js.map +1 -0
- package/dist/coolandlovely/pages/cart-owner/OrderManagementPage.d.ts +10 -0
- package/dist/coolandlovely/pages/cart-owner/OrderManagementPage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/cart-owner/OrderManagementPage.js +881 -0
- package/dist/coolandlovely/pages/cart-owner/OrderManagementPage.js.map +1 -0
- package/dist/coolandlovely/pages/cart-owner/StaffManagementPage.d.ts +11 -0
- package/dist/coolandlovely/pages/cart-owner/StaffManagementPage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/cart-owner/StaffManagementPage.js +833 -0
- package/dist/coolandlovely/pages/cart-owner/StaffManagementPage.js.map +1 -0
- package/dist/coolandlovely/pages/common/HelpSupportPage.d.ts +11 -0
- package/dist/coolandlovely/pages/common/HelpSupportPage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/common/HelpSupportPage.js +1325 -0
- package/dist/coolandlovely/pages/common/HelpSupportPage.js.map +1 -0
- package/dist/coolandlovely/pages/common/NotificationCenterPage.d.ts +11 -0
- package/dist/coolandlovely/pages/common/NotificationCenterPage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/common/NotificationCenterPage.js +665 -0
- package/dist/coolandlovely/pages/common/NotificationCenterPage.js.map +1 -0
- package/dist/coolandlovely/pages/common/SettingsPage.d.ts +9 -0
- package/dist/coolandlovely/pages/common/SettingsPage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/common/SettingsPage.js +964 -0
- package/dist/coolandlovely/pages/common/SettingsPage.js.map +1 -0
- package/dist/coolandlovely/pages/customer/BookingDetailsPage.d.ts +12 -0
- package/dist/coolandlovely/pages/customer/BookingDetailsPage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/customer/BookingDetailsPage.js +593 -0
- package/dist/coolandlovely/pages/customer/BookingDetailsPage.js.map +1 -0
- package/dist/coolandlovely/pages/customer/CartDetailPage.d.ts +13 -0
- package/dist/coolandlovely/pages/customer/CartDetailPage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/customer/CartDetailPage.js +620 -0
- package/dist/coolandlovely/pages/customer/CartDetailPage.js.map +1 -0
- package/dist/coolandlovely/pages/customer/CartDiscoveryPage.d.ts +11 -0
- package/dist/coolandlovely/pages/customer/CartDiscoveryPage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/customer/CartDiscoveryPage.js +547 -0
- package/dist/coolandlovely/pages/customer/CartDiscoveryPage.js.map +1 -0
- package/dist/coolandlovely/pages/customer/CheckoutPage.d.ts +9 -0
- package/dist/coolandlovely/pages/customer/CheckoutPage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/customer/CheckoutPage.js +532 -0
- package/dist/coolandlovely/pages/customer/CheckoutPage.js.map +1 -0
- package/dist/coolandlovely/pages/customer/CustomerDashboard.d.ts +10 -0
- package/dist/coolandlovely/pages/customer/CustomerDashboard.d.ts.map +1 -0
- package/dist/coolandlovely/pages/customer/CustomerDashboard.js +496 -0
- package/dist/coolandlovely/pages/customer/CustomerDashboard.js.map +1 -0
- package/dist/coolandlovely/pages/customer/CustomerProfilePage.d.ts +10 -0
- package/dist/coolandlovely/pages/customer/CustomerProfilePage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/customer/CustomerProfilePage.js +621 -0
- package/dist/coolandlovely/pages/customer/CustomerProfilePage.js.map +1 -0
- package/dist/coolandlovely/pages/customer/DirectServiceBookingPage.d.ts +12 -0
- package/dist/coolandlovely/pages/customer/DirectServiceBookingPage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/customer/DirectServiceBookingPage.js +623 -0
- package/dist/coolandlovely/pages/customer/DirectServiceBookingPage.js.map +1 -0
- package/dist/coolandlovely/pages/customer/FavoritesPage.d.ts +11 -0
- package/dist/coolandlovely/pages/customer/FavoritesPage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/customer/FavoritesPage.js +477 -0
- package/dist/coolandlovely/pages/customer/FavoritesPage.js.map +1 -0
- package/dist/coolandlovely/pages/customer/OrderHistoryPage.d.ts +9 -0
- package/dist/coolandlovely/pages/customer/OrderHistoryPage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/customer/OrderHistoryPage.js +438 -0
- package/dist/coolandlovely/pages/customer/OrderHistoryPage.js.map +1 -0
- package/dist/coolandlovely/pages/customer/OrderTrackingPage.d.ts +9 -0
- package/dist/coolandlovely/pages/customer/OrderTrackingPage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/customer/OrderTrackingPage.js +388 -0
- package/dist/coolandlovely/pages/customer/OrderTrackingPage.js.map +1 -0
- package/dist/coolandlovely/pages/customer/PaymentMethodsPage.d.ts +11 -0
- package/dist/coolandlovely/pages/customer/PaymentMethodsPage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/customer/PaymentMethodsPage.js +488 -0
- package/dist/coolandlovely/pages/customer/PaymentMethodsPage.js.map +1 -0
- package/dist/coolandlovely/pages/customer/ReviewsPage.d.ts +11 -0
- package/dist/coolandlovely/pages/customer/ReviewsPage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/customer/ReviewsPage.js +606 -0
- package/dist/coolandlovely/pages/customer/ReviewsPage.js.map +1 -0
- package/dist/coolandlovely/pages/customer/SavedAddressesPage.d.ts +10 -0
- package/dist/coolandlovely/pages/customer/SavedAddressesPage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/customer/SavedAddressesPage.js +443 -0
- package/dist/coolandlovely/pages/customer/SavedAddressesPage.js.map +1 -0
- package/dist/coolandlovely/pages/investor/InvestmentDetailsPage.d.ts +10 -0
- package/dist/coolandlovely/pages/investor/InvestmentDetailsPage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/investor/InvestmentDetailsPage.js +849 -0
- package/dist/coolandlovely/pages/investor/InvestmentDetailsPage.js.map +1 -0
- package/dist/coolandlovely/pages/investor/InvestmentOpportunitiesPage.d.ts +10 -0
- package/dist/coolandlovely/pages/investor/InvestmentOpportunitiesPage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/investor/InvestmentOpportunitiesPage.js +939 -0
- package/dist/coolandlovely/pages/investor/InvestmentOpportunitiesPage.js.map +1 -0
- package/dist/coolandlovely/pages/investor/InvestorAnalyticsPage.d.ts +11 -0
- package/dist/coolandlovely/pages/investor/InvestorAnalyticsPage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/investor/InvestorAnalyticsPage.js +681 -0
- package/dist/coolandlovely/pages/investor/InvestorAnalyticsPage.js.map +1 -0
- package/dist/coolandlovely/pages/investor/InvestorDashboard.d.ts +9 -0
- package/dist/coolandlovely/pages/investor/InvestorDashboard.d.ts.map +1 -0
- package/dist/coolandlovely/pages/investor/InvestorDashboard.js +419 -0
- package/dist/coolandlovely/pages/investor/InvestorDashboard.js.map +1 -0
- package/dist/coolandlovely/pages/investor/InvestorInvestmentsPage.d.ts +10 -0
- package/dist/coolandlovely/pages/investor/InvestorInvestmentsPage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/investor/InvestorInvestmentsPage.js +399 -0
- package/dist/coolandlovely/pages/investor/InvestorInvestmentsPage.js.map +1 -0
- package/dist/coolandlovely/pages/investor/InvestorPortfolioPage.d.ts +10 -0
- package/dist/coolandlovely/pages/investor/InvestorPortfolioPage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/investor/InvestorPortfolioPage.js +569 -0
- package/dist/coolandlovely/pages/investor/InvestorPortfolioPage.js.map +1 -0
- package/dist/coolandlovely/pages/investor/InvestorProfilePage.d.ts +12 -0
- package/dist/coolandlovely/pages/investor/InvestorProfilePage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/investor/InvestorProfilePage.js +1065 -0
- package/dist/coolandlovely/pages/investor/InvestorProfilePage.js.map +1 -0
- package/dist/coolandlovely/pages/worker/TaskDetailsPage.d.ts +22 -0
- package/dist/coolandlovely/pages/worker/TaskDetailsPage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/worker/TaskDetailsPage.js +496 -0
- package/dist/coolandlovely/pages/worker/TaskDetailsPage.js.map +1 -0
- package/dist/coolandlovely/pages/worker/WorkerDashboard.d.ts +18 -0
- package/dist/coolandlovely/pages/worker/WorkerDashboard.d.ts.map +1 -0
- package/dist/coolandlovely/pages/worker/WorkerDashboard.js +634 -0
- package/dist/coolandlovely/pages/worker/WorkerDashboard.js.map +1 -0
- package/dist/coolandlovely/pages/worker/WorkerOrdersPage.d.ts +18 -0
- package/dist/coolandlovely/pages/worker/WorkerOrdersPage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/worker/WorkerOrdersPage.js +675 -0
- package/dist/coolandlovely/pages/worker/WorkerOrdersPage.js.map +1 -0
- package/dist/coolandlovely/pages/worker/WorkerProfilePage.d.ts +18 -0
- package/dist/coolandlovely/pages/worker/WorkerProfilePage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/worker/WorkerProfilePage.js +687 -0
- package/dist/coolandlovely/pages/worker/WorkerProfilePage.js.map +1 -0
- package/dist/coolandlovely/pages/worker/WorkerSchedulePage.d.ts +17 -0
- package/dist/coolandlovely/pages/worker/WorkerSchedulePage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/worker/WorkerSchedulePage.js +578 -0
- package/dist/coolandlovely/pages/worker/WorkerSchedulePage.js.map +1 -0
- package/dist/coolandlovely/store/coolandlovelyStore.d.ts +60 -0
- package/dist/coolandlovely/store/coolandlovelyStore.d.ts.map +1 -0
- package/dist/coolandlovely/store/coolandlovelyStore.js +38 -0
- package/dist/coolandlovely/store/coolandlovelyStore.js.map +1 -0
- package/dist/coolandlovely/store/index.d.ts +6 -0
- package/dist/coolandlovely/store/index.d.ts.map +1 -0
- package/dist/coolandlovely/store/index.js +1 -0
- package/dist/coolandlovely/types/index.d.ts +458 -0
- package/dist/coolandlovely/types/index.d.ts.map +1 -0
- package/dist/coolandlovely/utils/cn.d.ts +4 -0
- package/dist/coolandlovely/utils/cn.d.ts.map +1 -0
- package/dist/coolandlovely/utils/cn.js +10 -0
- package/dist/coolandlovely/utils/cn.js.map +1 -0
- package/dist/coolandlovely/utils/formatters.d.ts +78 -0
- package/dist/coolandlovely/utils/formatters.d.ts.map +1 -0
- package/dist/coolandlovely/utils/formatters.js +51 -0
- package/dist/coolandlovely/utils/formatters.js.map +1 -0
- package/dist/coolandlovely/utils/index.d.ts +8 -0
- package/dist/coolandlovely/utils/index.d.ts.map +1 -0
- package/dist/coolandlovely/utils/navigation.d.ts +20 -0
- package/dist/coolandlovely/utils/navigation.d.ts.map +1 -0
- package/dist/coolandlovely/utils/navigation.js +9 -0
- package/dist/coolandlovely/utils/navigation.js.map +1 -0
- package/dist/generated/global-operations.d.ts +2 -0
- package/dist/generated/global-operations.d.ts.map +1 -0
- package/dist/generated/global-types.d.ts +23527 -0
- package/dist/generated/global-types.d.ts.map +1 -0
- package/dist/generated/wspace-operations.d.ts +2 -0
- package/dist/generated/wspace-operations.d.ts.map +1 -0
- package/dist/generated/wspace-types.d.ts +57851 -0
- package/dist/generated/wspace-types.d.ts.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +7 -0
- package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js +18 -0
- package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js.map +1 -0
- package/dist/node_modules/.bun/tailwind-merge@3.5.0/node_modules/tailwind-merge/dist/bundle-mjs.js +1674 -0
- package/dist/node_modules/.bun/tailwind-merge@3.5.0/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -0
- package/package.json +106 -0
|
@@ -0,0 +1,1325 @@
|
|
|
1
|
+
import { useCoolAndLovely as e } from "../../context/CoolAndLovelyContext.js";
|
|
2
|
+
import { cn as t } from "../../utils/cn.js";
|
|
3
|
+
import { PageLayout as n } from "../../components/PageLayout.js";
|
|
4
|
+
import { formatDate as r } from "../../utils/formatters.js";
|
|
5
|
+
import { useMemo as i, useState as a } from "react";
|
|
6
|
+
import { AlertCircle as ee, AlertTriangle as o, BookOpen as s, CheckCircle2 as c, ChevronDown as l, ChevronUp as te, Circle as u, CircleDot as d, Clock as f, CreditCard as p, ExternalLink as ne, FileText as re, HelpCircle as ie, Info as m, Lightbulb as ae, Mail as h, MessageCircle as g, MessageSquare as _, Phone as v, PhoneCall as y, Search as b, Send as oe, Shield as x, ShoppingBag as S, Tag as se, ThumbsUp as C, Ticket as w, TrendingUp as T, Truck as E, User as D, Wrench as O, X as k, XCircle as A } from "lucide-react";
|
|
7
|
+
import { Fragment as j, jsx as M, jsxs as N } from "react/jsx-runtime";
|
|
8
|
+
//#region src/coolandlovely/pages/common/HelpSupportPage.tsx
|
|
9
|
+
var P = [
|
|
10
|
+
"Account & Profile",
|
|
11
|
+
"Orders & Payments",
|
|
12
|
+
"Cart Owners",
|
|
13
|
+
"Delivery & Workers",
|
|
14
|
+
"Investors",
|
|
15
|
+
"Technical Issues",
|
|
16
|
+
"Billing & Refunds",
|
|
17
|
+
"Privacy & Security"
|
|
18
|
+
], F = [
|
|
19
|
+
{
|
|
20
|
+
label: "Getting Started",
|
|
21
|
+
icon: s,
|
|
22
|
+
description: "New to CoolAndLovely? Start here",
|
|
23
|
+
color: "bg-blue-500/10 text-blue-600 dark:text-blue-400"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
label: "Orders & Delivery",
|
|
27
|
+
icon: S,
|
|
28
|
+
description: "Placing, tracking, and cancelling orders",
|
|
29
|
+
color: "bg-green-500/10 text-green-600 dark:text-green-400"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
label: "Payments & Billing",
|
|
33
|
+
icon: p,
|
|
34
|
+
description: "Payment methods, refunds, and invoices",
|
|
35
|
+
color: "bg-purple-500/10 text-purple-600 dark:text-purple-400"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
label: "Account & Profile",
|
|
39
|
+
icon: D,
|
|
40
|
+
description: "Manage your account and settings",
|
|
41
|
+
color: "bg-orange-500/10 text-orange-600 dark:text-orange-400"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
label: "Cart Owners",
|
|
45
|
+
icon: O,
|
|
46
|
+
description: "Running your cart business",
|
|
47
|
+
color: "bg-teal-500/10 text-teal-600 dark:text-teal-400"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
label: "Workers & Delivery",
|
|
51
|
+
icon: E,
|
|
52
|
+
description: "Delivery partner information",
|
|
53
|
+
color: "bg-indigo-500/10 text-indigo-600 dark:text-indigo-400"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
label: "Investments",
|
|
57
|
+
icon: T,
|
|
58
|
+
description: "Investment opportunities and returns",
|
|
59
|
+
color: "bg-emerald-500/10 text-emerald-600 dark:text-emerald-400"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
label: "Security & Privacy",
|
|
63
|
+
icon: x,
|
|
64
|
+
description: "Data protection and safety",
|
|
65
|
+
color: "bg-red-500/10 text-red-600 dark:text-red-400"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
label: "Technical Issues",
|
|
69
|
+
icon: o,
|
|
70
|
+
description: "App issues and troubleshooting",
|
|
71
|
+
color: "bg-amber-500/10 text-amber-600 dark:text-amber-400"
|
|
72
|
+
}
|
|
73
|
+
], I = [
|
|
74
|
+
{
|
|
75
|
+
type: "email",
|
|
76
|
+
label: "Email Support",
|
|
77
|
+
value: "support@coolandlovely.com",
|
|
78
|
+
available: !0,
|
|
79
|
+
responseTime: "Within 24 hours",
|
|
80
|
+
icon: h
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
type: "phone",
|
|
84
|
+
label: "Phone Support",
|
|
85
|
+
value: "+91 80-4012-3456",
|
|
86
|
+
available: !0,
|
|
87
|
+
responseTime: "9 AM - 9 PM IST",
|
|
88
|
+
icon: y
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
type: "chat",
|
|
92
|
+
label: "Live Chat",
|
|
93
|
+
value: "Start a conversation",
|
|
94
|
+
available: !0,
|
|
95
|
+
responseTime: "Instant response",
|
|
96
|
+
icon: g
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
type: "whatsapp",
|
|
100
|
+
label: "WhatsApp",
|
|
101
|
+
value: "+91 98765-43210",
|
|
102
|
+
available: !0,
|
|
103
|
+
responseTime: "2-4 hours",
|
|
104
|
+
icon: _
|
|
105
|
+
}
|
|
106
|
+
], ce = [
|
|
107
|
+
{
|
|
108
|
+
id: "faq-001",
|
|
109
|
+
category: "Account & Profile",
|
|
110
|
+
question: "How do I create an account on CoolAndLovely?",
|
|
111
|
+
answer: "You can create an account by clicking the \"Sign Up\" button on the homepage. You'll need to provide your name, email address, phone number, and choose your role (Customer, Cart Owner, Worker, or Investor). After verification via OTP, your account will be activated immediately.",
|
|
112
|
+
helpful: 142,
|
|
113
|
+
tags: [
|
|
114
|
+
"account",
|
|
115
|
+
"signup",
|
|
116
|
+
"registration"
|
|
117
|
+
]
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
id: "faq-002",
|
|
121
|
+
category: "Account & Profile",
|
|
122
|
+
question: "How can I change my password?",
|
|
123
|
+
answer: "Go to Settings > Security > Change Password. You'll need to enter your current password and then your new password twice to confirm. Make sure your new password is at least 8 characters long and includes a mix of letters, numbers, and symbols for better security.",
|
|
124
|
+
helpful: 89,
|
|
125
|
+
tags: [
|
|
126
|
+
"password",
|
|
127
|
+
"security",
|
|
128
|
+
"account"
|
|
129
|
+
]
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
id: "faq-003",
|
|
133
|
+
category: "Account & Profile",
|
|
134
|
+
question: "Can I switch my account role?",
|
|
135
|
+
answer: "Yes, you can request a role change from Settings > Profile > Account Role. Switching from Customer to Cart Owner or Worker requires additional verification. The process typically takes 2-3 business days. You can hold multiple roles simultaneously.",
|
|
136
|
+
helpful: 56,
|
|
137
|
+
tags: [
|
|
138
|
+
"role",
|
|
139
|
+
"account",
|
|
140
|
+
"switch"
|
|
141
|
+
]
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
id: "faq-004",
|
|
145
|
+
category: "Orders & Payments",
|
|
146
|
+
question: "What payment methods are accepted?",
|
|
147
|
+
answer: "We accept various payment methods including UPI (Google Pay, PhonePe, Paytm), credit/debit cards (Visa, Mastercard, RuPay), net banking from all major banks, and digital wallets. Some cart owners also accept cash on delivery for orders under a certain amount.",
|
|
148
|
+
helpful: 203,
|
|
149
|
+
tags: [
|
|
150
|
+
"payment",
|
|
151
|
+
"upi",
|
|
152
|
+
"cards",
|
|
153
|
+
"wallet"
|
|
154
|
+
]
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
id: "faq-005",
|
|
158
|
+
category: "Orders & Payments",
|
|
159
|
+
question: "How can I track my order in real-time?",
|
|
160
|
+
answer: "After placing an order, you'll receive a tracking link via SMS and email. You can also track your order in real-time through the app under \"My Orders\" section. The live map shows your delivery partner's location. You'll get push notifications at each stage: confirmed, preparing, picked up, and delivered.",
|
|
161
|
+
helpful: 156,
|
|
162
|
+
tags: [
|
|
163
|
+
"tracking",
|
|
164
|
+
"orders",
|
|
165
|
+
"delivery",
|
|
166
|
+
"real-time"
|
|
167
|
+
]
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
id: "faq-006",
|
|
171
|
+
category: "Orders & Payments",
|
|
172
|
+
question: "How do I cancel or modify an order?",
|
|
173
|
+
answer: "You can cancel your order from the Order Details page if it hasn't been picked up yet. Go to My Orders > Select Order > Cancel Order. For modifications, contact the cart owner directly through the chat feature. Cancellation before preparation gets a full refund; after preparation, a partial refund may apply.",
|
|
174
|
+
helpful: 178,
|
|
175
|
+
tags: [
|
|
176
|
+
"cancel",
|
|
177
|
+
"modify",
|
|
178
|
+
"refund",
|
|
179
|
+
"orders"
|
|
180
|
+
]
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
id: "faq-007",
|
|
184
|
+
category: "Cart Owners",
|
|
185
|
+
question: "How do I register my cart on CoolAndLovely?",
|
|
186
|
+
answer: "To register your cart, sign up as a Cart Owner and complete the verification process. You'll need to provide business details, license documents (FSSAI for food carts, GST if applicable), photos of your cart, and your preferred operating location. Our team will review and approve your application within 2-3 business days.",
|
|
187
|
+
helpful: 67,
|
|
188
|
+
tags: [
|
|
189
|
+
"cart",
|
|
190
|
+
"registration",
|
|
191
|
+
"business",
|
|
192
|
+
"verification"
|
|
193
|
+
]
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
id: "faq-008",
|
|
197
|
+
category: "Cart Owners",
|
|
198
|
+
question: "What commission does CoolAndLovely charge?",
|
|
199
|
+
answer: "CoolAndLovely charges a commission of 15-20% on each order, depending on your cart category and monthly order volume. Higher volume cart owners get reduced rates. This includes payment processing, marketing support, customer acquisition, and platform maintenance. You can view the detailed commission structure in your dashboard under \"Finances\".",
|
|
200
|
+
helpful: 94,
|
|
201
|
+
tags: [
|
|
202
|
+
"commission",
|
|
203
|
+
"fees",
|
|
204
|
+
"business",
|
|
205
|
+
"pricing"
|
|
206
|
+
]
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
id: "faq-009",
|
|
210
|
+
category: "Cart Owners",
|
|
211
|
+
question: "How do I manage my menu and pricing?",
|
|
212
|
+
answer: "Go to your Cart Dashboard > Menu Management to add, edit, or remove items. You can set prices, mark items as available/unavailable, add photos and descriptions, create categories, and set up combo offers. Changes are reflected instantly on the platform.",
|
|
213
|
+
helpful: 72,
|
|
214
|
+
tags: [
|
|
215
|
+
"menu",
|
|
216
|
+
"pricing",
|
|
217
|
+
"cart",
|
|
218
|
+
"management"
|
|
219
|
+
]
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
id: "faq-010",
|
|
223
|
+
category: "Delivery & Workers",
|
|
224
|
+
question: "How do I become a delivery worker?",
|
|
225
|
+
answer: "Apply through the \"Join as Worker\" section on the app. You'll need a valid driving license, vehicle registration (bike/scooter), Aadhaar card, PAN card, and a smartphone with GPS. After document verification and background check (3-5 days), you'll receive online training and can start accepting delivery requests.",
|
|
226
|
+
helpful: 78,
|
|
227
|
+
tags: [
|
|
228
|
+
"worker",
|
|
229
|
+
"delivery",
|
|
230
|
+
"application",
|
|
231
|
+
"requirements"
|
|
232
|
+
]
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
id: "faq-011",
|
|
236
|
+
category: "Delivery & Workers",
|
|
237
|
+
question: "How is delivery worker pay calculated?",
|
|
238
|
+
answer: "Delivery pay includes a base fee per delivery (varies by distance), surge pricing during peak hours, and tips from customers. You also earn bonuses for completing a certain number of deliveries per day/week. Payments are settled daily to your registered bank account.",
|
|
239
|
+
helpful: 115,
|
|
240
|
+
tags: [
|
|
241
|
+
"pay",
|
|
242
|
+
"earnings",
|
|
243
|
+
"delivery",
|
|
244
|
+
"worker"
|
|
245
|
+
]
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
id: "faq-012",
|
|
249
|
+
category: "Investors",
|
|
250
|
+
question: "What are the minimum investment requirements?",
|
|
251
|
+
answer: "The minimum investment amount varies by cart and investment type, typically starting from ₹50,000. You can invest in individual carts or diversified portfolios. Expected annual returns range from 12-18%, depending on the cart's performance. All investments are subject to market risk.",
|
|
252
|
+
helpful: 112,
|
|
253
|
+
tags: [
|
|
254
|
+
"investment",
|
|
255
|
+
"minimum",
|
|
256
|
+
"returns",
|
|
257
|
+
"portfolio"
|
|
258
|
+
]
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
id: "faq-013",
|
|
262
|
+
category: "Investors",
|
|
263
|
+
question: "How are returns distributed?",
|
|
264
|
+
answer: "Returns are distributed monthly based on the cart's revenue performance. You can view detailed performance reports, revenue breakdowns, and ROI analytics in your Investor Dashboard. Funds can be withdrawn to your bank account with a 3-day processing time.",
|
|
265
|
+
helpful: 98,
|
|
266
|
+
tags: [
|
|
267
|
+
"returns",
|
|
268
|
+
"distribution",
|
|
269
|
+
"revenue",
|
|
270
|
+
"investor"
|
|
271
|
+
]
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
id: "faq-014",
|
|
275
|
+
category: "Technical Issues",
|
|
276
|
+
question: "The app is not working properly. What should I do?",
|
|
277
|
+
answer: "Try these steps: 1) Close and restart the app, 2) Check your internet connection (try switching between WiFi and mobile data), 3) Update to the latest app version from the app store, 4) Clear app cache from your phone settings, 5) Restart your device. If the issue persists, create a support ticket with details about the problem, your device model, and app version.",
|
|
278
|
+
helpful: 134,
|
|
279
|
+
tags: [
|
|
280
|
+
"technical",
|
|
281
|
+
"app",
|
|
282
|
+
"troubleshooting",
|
|
283
|
+
"bug"
|
|
284
|
+
]
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
id: "faq-015",
|
|
288
|
+
category: "Technical Issues",
|
|
289
|
+
question: "Why am I not receiving notifications?",
|
|
290
|
+
answer: "Ensure notifications are enabled in both your phone settings and the app settings. Go to Phone Settings > Apps > CoolAndLovely > Notifications and enable all categories. Also check the app: Settings > Preferences > Notification Settings. If using battery optimization, add CoolAndLovely to the exception list.",
|
|
291
|
+
helpful: 87,
|
|
292
|
+
tags: [
|
|
293
|
+
"notifications",
|
|
294
|
+
"technical",
|
|
295
|
+
"settings"
|
|
296
|
+
]
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
id: "faq-016",
|
|
300
|
+
category: "Billing & Refunds",
|
|
301
|
+
question: "How do I request a refund?",
|
|
302
|
+
answer: "Refunds can be requested within 24 hours of order placement if the order hasn't been prepared. Go to \"My Orders\" > Select the order > \"Request Refund\". You'll need to select a reason. Refunds for quality issues can be raised within 2 hours of delivery. Refunds are processed within 3-5 business days to your original payment method.",
|
|
303
|
+
helpful: 167,
|
|
304
|
+
tags: [
|
|
305
|
+
"refund",
|
|
306
|
+
"cancellation",
|
|
307
|
+
"billing",
|
|
308
|
+
"money"
|
|
309
|
+
]
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
id: "faq-017",
|
|
313
|
+
category: "Billing & Refunds",
|
|
314
|
+
question: "Where can I find my payment receipts?",
|
|
315
|
+
answer: "All payment receipts are available under My Orders > Select Order > View Receipt. You can also find consolidated billing statements under Settings > Billing > Invoice History. Receipts can be downloaded as PDF or emailed to your registered address.",
|
|
316
|
+
helpful: 65,
|
|
317
|
+
tags: [
|
|
318
|
+
"receipt",
|
|
319
|
+
"invoice",
|
|
320
|
+
"billing",
|
|
321
|
+
"download"
|
|
322
|
+
]
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
id: "faq-018",
|
|
326
|
+
category: "Privacy & Security",
|
|
327
|
+
question: "How is my personal data protected?",
|
|
328
|
+
answer: "We follow industry-standard encryption (AES-256) for all personal data at rest and TLS 1.3 for data in transit. We are compliant with India's DPDP Act. You can control your data sharing preferences in Settings > Privacy. We never sell your personal information to third parties.",
|
|
329
|
+
helpful: 109,
|
|
330
|
+
tags: [
|
|
331
|
+
"privacy",
|
|
332
|
+
"data",
|
|
333
|
+
"encryption",
|
|
334
|
+
"security"
|
|
335
|
+
]
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
id: "faq-019",
|
|
339
|
+
category: "Privacy & Security",
|
|
340
|
+
question: "How do I enable two-factor authentication?",
|
|
341
|
+
answer: "Go to Settings > Security > Two-Factor Authentication and toggle it on. You can choose between SMS OTP or an authenticator app (Google Authenticator, Authy). We strongly recommend enabling 2FA for enhanced account security, especially for Cart Owners and Investors.",
|
|
342
|
+
helpful: 76,
|
|
343
|
+
tags: [
|
|
344
|
+
"2fa",
|
|
345
|
+
"authentication",
|
|
346
|
+
"security",
|
|
347
|
+
"account"
|
|
348
|
+
]
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
id: "faq-020",
|
|
352
|
+
category: "Privacy & Security",
|
|
353
|
+
question: "How can I delete my account?",
|
|
354
|
+
answer: "You can request account deletion from Settings > Privacy > Delete Account. Please note: this action is irreversible. All your data, order history, and wallet balance will be permanently removed after a 30-day cooling period. Pending orders or investments must be settled before deletion.",
|
|
355
|
+
helpful: 43,
|
|
356
|
+
tags: [
|
|
357
|
+
"delete",
|
|
358
|
+
"account",
|
|
359
|
+
"privacy",
|
|
360
|
+
"data"
|
|
361
|
+
]
|
|
362
|
+
}
|
|
363
|
+
], le = [
|
|
364
|
+
{
|
|
365
|
+
id: "ticket-001",
|
|
366
|
+
subject: "Payment failed but amount deducted",
|
|
367
|
+
category: "Billing & Refunds",
|
|
368
|
+
priority: "high",
|
|
369
|
+
status: "in-progress",
|
|
370
|
+
description: "I placed an order for ₹285 but the payment failed. However, the amount was deducted from my SBI account. Transaction ID: TXN123456789.",
|
|
371
|
+
createdAt: "2024-06-23T14:30:00Z",
|
|
372
|
+
updatedAt: "2024-06-24T09:15:00Z",
|
|
373
|
+
responses: [
|
|
374
|
+
{
|
|
375
|
+
id: "resp-001",
|
|
376
|
+
message: "Thank you for contacting us. We're investigating the payment issue. Could you please confirm the exact amount and your account details?",
|
|
377
|
+
sender: "support",
|
|
378
|
+
timestamp: "2024-06-23T16:45:00Z"
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
id: "resp-002",
|
|
382
|
+
message: "Transaction ID: TXN123456789. Amount: ₹285. Deducted from my SBI savings account ending in 4521.",
|
|
383
|
+
sender: "user",
|
|
384
|
+
timestamp: "2024-06-23T17:20:00Z"
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
id: "resp-003",
|
|
388
|
+
message: "We've verified the transaction. The refund of ₹285 has been initiated and will reflect in your account within 3-5 business days. Reference: REF-2024-06-24-001.",
|
|
389
|
+
sender: "support",
|
|
390
|
+
timestamp: "2024-06-24T09:15:00Z"
|
|
391
|
+
}
|
|
392
|
+
]
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
id: "ticket-002",
|
|
396
|
+
subject: "Unable to update cart location",
|
|
397
|
+
category: "Technical Issues",
|
|
398
|
+
priority: "medium",
|
|
399
|
+
status: "resolved",
|
|
400
|
+
description: "I'm unable to update my cart location in the app. The save button is not responding when I tap it. Tried clearing cache and reinstalling.",
|
|
401
|
+
createdAt: "2024-06-22T11:20:00Z",
|
|
402
|
+
updatedAt: "2024-06-22T18:30:00Z",
|
|
403
|
+
responses: [{
|
|
404
|
+
id: "resp-004",
|
|
405
|
+
message: "This was a known bug affecting Cart Owners on Android devices. It has been fixed in the latest app update (v2.1.3). Please update your app from the Play Store and try again.",
|
|
406
|
+
sender: "support",
|
|
407
|
+
timestamp: "2024-06-22T18:30:00Z"
|
|
408
|
+
}]
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
id: "ticket-003",
|
|
412
|
+
subject: "Wrong items delivered in order #ORD-4521",
|
|
413
|
+
category: "Orders & Payments",
|
|
414
|
+
priority: "high",
|
|
415
|
+
status: "open",
|
|
416
|
+
description: "Received completely different items from what I ordered. Order #ORD-4521 was for 2 Masala Dosas and 1 Filter Coffee, but received Idli and Sambar instead.",
|
|
417
|
+
createdAt: "2024-06-25T08:45:00Z",
|
|
418
|
+
updatedAt: "2024-06-25T08:45:00Z",
|
|
419
|
+
responses: []
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
id: "ticket-004",
|
|
423
|
+
subject: "Investment returns not credited for May",
|
|
424
|
+
category: "Investors",
|
|
425
|
+
priority: "medium",
|
|
426
|
+
status: "closed",
|
|
427
|
+
description: "My investment returns for the month of May 2024 have not been credited to my wallet. Portfolio: Diversified South Indian Carts.",
|
|
428
|
+
createdAt: "2024-06-10T09:00:00Z",
|
|
429
|
+
updatedAt: "2024-06-12T14:20:00Z",
|
|
430
|
+
responses: [{
|
|
431
|
+
id: "resp-005",
|
|
432
|
+
message: "We apologize for the delay. May returns have been processed and credited to your wallet. The delay was due to a system migration. You should see ₹4,250 credited.",
|
|
433
|
+
sender: "support",
|
|
434
|
+
timestamp: "2024-06-12T14:20:00Z"
|
|
435
|
+
}]
|
|
436
|
+
}
|
|
437
|
+
], L = [
|
|
438
|
+
{
|
|
439
|
+
id: "art-1",
|
|
440
|
+
title: "Getting Started with CoolAndLovely",
|
|
441
|
+
category: "Getting Started",
|
|
442
|
+
views: 12450
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
id: "art-2",
|
|
446
|
+
title: "How to Place Your First Order",
|
|
447
|
+
category: "Orders",
|
|
448
|
+
views: 9823
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
id: "art-3",
|
|
452
|
+
title: "Understanding Investment Returns",
|
|
453
|
+
category: "Investors",
|
|
454
|
+
views: 7654
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
id: "art-4",
|
|
458
|
+
title: "Setting Up Your Cart Business",
|
|
459
|
+
category: "Cart Owners",
|
|
460
|
+
views: 6543
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
id: "art-5",
|
|
464
|
+
title: "Payment Troubleshooting Guide",
|
|
465
|
+
category: "Payments",
|
|
466
|
+
views: 5890
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
id: "art-6",
|
|
470
|
+
title: "Delivery Partner Onboarding Guide",
|
|
471
|
+
category: "Workers",
|
|
472
|
+
views: 4321
|
|
473
|
+
}
|
|
474
|
+
];
|
|
475
|
+
function ue(e) {
|
|
476
|
+
switch (e) {
|
|
477
|
+
case "open": return u;
|
|
478
|
+
case "in-progress": return d;
|
|
479
|
+
case "resolved": return c;
|
|
480
|
+
case "closed": return A;
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
function R(e) {
|
|
484
|
+
switch (e) {
|
|
485
|
+
case "open": return "bg-blue-500/10 text-blue-600 dark:text-blue-400";
|
|
486
|
+
case "in-progress": return "bg-amber-500/10 text-amber-600 dark:text-amber-400";
|
|
487
|
+
case "resolved": return "bg-green-500/10 text-green-600 dark:text-green-400";
|
|
488
|
+
case "closed": return "bg-muted text-muted-foreground";
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
function z(e) {
|
|
492
|
+
switch (e) {
|
|
493
|
+
case "urgent": return "bg-red-500/10 text-red-600 dark:text-red-400";
|
|
494
|
+
case "high": return "bg-orange-500/10 text-orange-600 dark:text-orange-400";
|
|
495
|
+
case "medium": return "bg-blue-500/10 text-blue-600 dark:text-blue-400";
|
|
496
|
+
case "low": return "bg-muted text-muted-foreground";
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
function B(e) {
|
|
500
|
+
return e.replace("-", " ").replace(/\b\w/g, (e) => e.toUpperCase());
|
|
501
|
+
}
|
|
502
|
+
function V() {
|
|
503
|
+
let { currentUser: s } = e(), [u, d] = a("faq"), [p, g] = a(""), [y, x] = a(""), [S, T] = a(null), [E, D] = a(ce), [O, A] = a(le), [V, H] = a(!1), [U, W] = a(!1), [G, K] = a(""), [q, J] = a(""), [Y, X] = a({
|
|
504
|
+
subject: "",
|
|
505
|
+
category: "",
|
|
506
|
+
priority: "medium",
|
|
507
|
+
description: ""
|
|
508
|
+
}), Z = i(() => E.filter((e) => {
|
|
509
|
+
let t = !p || e.question.toLowerCase().includes(p.toLowerCase()) || e.answer.toLowerCase().includes(p.toLowerCase()) || e.tags.some((e) => e.toLowerCase().includes(p.toLowerCase())), n = !y || e.category === y;
|
|
510
|
+
return t && n;
|
|
511
|
+
}), [
|
|
512
|
+
E,
|
|
513
|
+
p,
|
|
514
|
+
y
|
|
515
|
+
]), Q = i(() => ({
|
|
516
|
+
open: O.filter((e) => e.status === "open").length,
|
|
517
|
+
inProgress: O.filter((e) => e.status === "in-progress").length,
|
|
518
|
+
resolved: O.filter((e) => e.status === "resolved").length,
|
|
519
|
+
closed: O.filter((e) => e.status === "closed").length,
|
|
520
|
+
total: O.length
|
|
521
|
+
}), [O]), de = (e) => {
|
|
522
|
+
T((t) => t === e ? null : e);
|
|
523
|
+
}, fe = (e) => {
|
|
524
|
+
D((t) => t.map((t) => t.id === e ? {
|
|
525
|
+
...t,
|
|
526
|
+
helpful: t.helpful + 1
|
|
527
|
+
} : t));
|
|
528
|
+
}, $ = (e) => {
|
|
529
|
+
switch (e.type) {
|
|
530
|
+
case "email":
|
|
531
|
+
window.location.href = `mailto:${e.value}`;
|
|
532
|
+
break;
|
|
533
|
+
case "phone":
|
|
534
|
+
window.location.href = `tel:${e.value.replace(/[^0-9+]/g, "")}`;
|
|
535
|
+
break;
|
|
536
|
+
case "whatsapp":
|
|
537
|
+
window.open(`https://wa.me/${e.value.replace(/[^0-9]/g, "")}`, "_blank");
|
|
538
|
+
break;
|
|
539
|
+
case "chat":
|
|
540
|
+
alert("Live chat will be available soon!");
|
|
541
|
+
break;
|
|
542
|
+
}
|
|
543
|
+
}, pe = () => {
|
|
544
|
+
if (J(""), K(""), !Y.subject.trim()) {
|
|
545
|
+
J("Please enter a subject for your ticket.");
|
|
546
|
+
return;
|
|
547
|
+
}
|
|
548
|
+
if (!Y.description.trim()) {
|
|
549
|
+
J("Please describe your issue in the description field.");
|
|
550
|
+
return;
|
|
551
|
+
}
|
|
552
|
+
if (!Y.category) {
|
|
553
|
+
J("Please select a category.");
|
|
554
|
+
return;
|
|
555
|
+
}
|
|
556
|
+
W(!0), setTimeout(() => {
|
|
557
|
+
let e = {
|
|
558
|
+
id: `ticket-${Date.now()}`,
|
|
559
|
+
subject: Y.subject,
|
|
560
|
+
category: Y.category,
|
|
561
|
+
priority: Y.priority,
|
|
562
|
+
status: "open",
|
|
563
|
+
description: Y.description,
|
|
564
|
+
createdAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
565
|
+
updatedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
566
|
+
responses: []
|
|
567
|
+
};
|
|
568
|
+
A((t) => [e, ...t]), X({
|
|
569
|
+
subject: "",
|
|
570
|
+
category: "",
|
|
571
|
+
priority: "medium",
|
|
572
|
+
description: ""
|
|
573
|
+
}), W(!1), H(!1), K("Support ticket created successfully! Our team will respond within 24 hours."), d("tickets"), setTimeout(() => K(""), 5e3);
|
|
574
|
+
}, 1e3);
|
|
575
|
+
}, me = [
|
|
576
|
+
{
|
|
577
|
+
id: "faq",
|
|
578
|
+
label: "FAQ",
|
|
579
|
+
icon: ie
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
id: "contact",
|
|
583
|
+
label: "Contact Us",
|
|
584
|
+
icon: v
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
id: "tickets",
|
|
588
|
+
label: "My Tickets",
|
|
589
|
+
icon: w
|
|
590
|
+
}
|
|
591
|
+
];
|
|
592
|
+
return /* @__PURE__ */ N(n, {
|
|
593
|
+
title: "Help & Support",
|
|
594
|
+
description: "Find answers, contact support, or track your requests",
|
|
595
|
+
children: [
|
|
596
|
+
G && /* @__PURE__ */ N("div", {
|
|
597
|
+
className: "mb-4 flex items-center gap-2 rounded-lg border border-green-500/30 bg-green-500/10 px-4 py-3 text-sm text-green-700 dark:text-green-300",
|
|
598
|
+
children: [
|
|
599
|
+
/* @__PURE__ */ M(c, { className: "h-4 w-4 shrink-0" }),
|
|
600
|
+
G,
|
|
601
|
+
/* @__PURE__ */ M("button", {
|
|
602
|
+
type: "button",
|
|
603
|
+
onClick: () => K(""),
|
|
604
|
+
className: "ml-auto",
|
|
605
|
+
children: /* @__PURE__ */ M(k, { className: "h-4 w-4" })
|
|
606
|
+
})
|
|
607
|
+
]
|
|
608
|
+
}),
|
|
609
|
+
/* @__PURE__ */ M("section", {
|
|
610
|
+
className: "mb-6",
|
|
611
|
+
children: /* @__PURE__ */ N("div", {
|
|
612
|
+
className: "relative",
|
|
613
|
+
children: [
|
|
614
|
+
/* @__PURE__ */ M(b, { className: "absolute left-3 top-1/2 h-5 w-5 -translate-y-1/2 text-muted-foreground" }),
|
|
615
|
+
/* @__PURE__ */ M("input", {
|
|
616
|
+
type: "text",
|
|
617
|
+
value: p,
|
|
618
|
+
onChange: (e) => {
|
|
619
|
+
g(e.target.value), u !== "faq" && d("faq");
|
|
620
|
+
},
|
|
621
|
+
placeholder: "Search help articles, FAQs, and more...",
|
|
622
|
+
className: "w-full rounded-lg border border-border bg-card py-3 pl-10 pr-10 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring"
|
|
623
|
+
}),
|
|
624
|
+
p && /* @__PURE__ */ M("button", {
|
|
625
|
+
type: "button",
|
|
626
|
+
onClick: () => g(""),
|
|
627
|
+
className: "absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground hover:text-foreground",
|
|
628
|
+
children: /* @__PURE__ */ M(k, { className: "h-4 w-4" })
|
|
629
|
+
})
|
|
630
|
+
]
|
|
631
|
+
})
|
|
632
|
+
}),
|
|
633
|
+
/* @__PURE__ */ N("section", {
|
|
634
|
+
className: "mb-6",
|
|
635
|
+
children: [/* @__PURE__ */ M("h2", {
|
|
636
|
+
className: "text-lg font-semibold text-foreground mb-3",
|
|
637
|
+
children: "Browse Help Topics"
|
|
638
|
+
}), /* @__PURE__ */ M("div", {
|
|
639
|
+
className: "grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3",
|
|
640
|
+
children: F.map((e) => {
|
|
641
|
+
let n = e.icon;
|
|
642
|
+
return /* @__PURE__ */ N("button", {
|
|
643
|
+
type: "button",
|
|
644
|
+
onClick: () => {
|
|
645
|
+
x(e.label === y ? "" : e.label), d("faq");
|
|
646
|
+
},
|
|
647
|
+
className: t("flex items-start gap-3 rounded-lg border bg-card p-4 text-left transition-all hover:shadow-sm", y === e.label ? "border-primary ring-1 ring-primary" : "border-border"),
|
|
648
|
+
children: [/* @__PURE__ */ M("div", {
|
|
649
|
+
className: t("flex h-10 w-10 shrink-0 items-center justify-center rounded-lg", e.color),
|
|
650
|
+
children: /* @__PURE__ */ M(n, { className: "h-5 w-5" })
|
|
651
|
+
}), /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("p", {
|
|
652
|
+
className: "text-sm font-semibold text-foreground",
|
|
653
|
+
children: e.label
|
|
654
|
+
}), /* @__PURE__ */ M("p", {
|
|
655
|
+
className: "text-xs text-muted-foreground",
|
|
656
|
+
children: e.description
|
|
657
|
+
})] })]
|
|
658
|
+
}, e.label);
|
|
659
|
+
})
|
|
660
|
+
})]
|
|
661
|
+
}),
|
|
662
|
+
/* @__PURE__ */ M("section", {
|
|
663
|
+
className: "mb-6",
|
|
664
|
+
children: /* @__PURE__ */ M("div", {
|
|
665
|
+
className: "flex space-x-1 bg-muted p-1 rounded-lg w-full sm:w-fit",
|
|
666
|
+
children: me.map((e) => {
|
|
667
|
+
let n = e.icon;
|
|
668
|
+
return /* @__PURE__ */ N("button", {
|
|
669
|
+
type: "button",
|
|
670
|
+
onClick: () => d(e.id),
|
|
671
|
+
className: t("flex flex-1 sm:flex-none items-center justify-center gap-2 rounded-md px-4 py-2 text-sm font-medium transition-colors", u === e.id ? "bg-card text-foreground shadow-sm" : "text-muted-foreground hover:text-foreground"),
|
|
672
|
+
children: [
|
|
673
|
+
/* @__PURE__ */ M(n, { className: "h-4 w-4" }),
|
|
674
|
+
/* @__PURE__ */ M("span", { children: e.label }),
|
|
675
|
+
e.id === "tickets" && Q.open > 0 && /* @__PURE__ */ M("span", {
|
|
676
|
+
className: "flex h-5 min-w-[20px] items-center justify-center rounded-full bg-primary px-1.5 text-xs font-medium text-primary-foreground",
|
|
677
|
+
children: Q.open
|
|
678
|
+
})
|
|
679
|
+
]
|
|
680
|
+
}, e.id);
|
|
681
|
+
})
|
|
682
|
+
})
|
|
683
|
+
}),
|
|
684
|
+
u === "faq" && /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ N("div", {
|
|
685
|
+
className: "mb-4 flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",
|
|
686
|
+
children: [/* @__PURE__ */ N("p", {
|
|
687
|
+
className: "text-sm text-muted-foreground",
|
|
688
|
+
children: [
|
|
689
|
+
Z.length,
|
|
690
|
+
" question",
|
|
691
|
+
Z.length === 1 ? "" : "s",
|
|
692
|
+
" found",
|
|
693
|
+
y && /* @__PURE__ */ N("span", { children: [
|
|
694
|
+
" ",
|
|
695
|
+
"in ",
|
|
696
|
+
/* @__PURE__ */ M("span", {
|
|
697
|
+
className: "font-medium text-foreground",
|
|
698
|
+
children: y
|
|
699
|
+
}),
|
|
700
|
+
/* @__PURE__ */ M("button", {
|
|
701
|
+
type: "button",
|
|
702
|
+
onClick: () => x(""),
|
|
703
|
+
className: "ml-1 text-primary hover:underline",
|
|
704
|
+
children: "(clear)"
|
|
705
|
+
})
|
|
706
|
+
] })
|
|
707
|
+
]
|
|
708
|
+
}), /* @__PURE__ */ N("select", {
|
|
709
|
+
value: y,
|
|
710
|
+
onChange: (e) => x(e.target.value),
|
|
711
|
+
className: "rounded-lg border border-border bg-card px-3 py-2 text-sm text-foreground focus:outline-none focus:ring-2 focus:ring-ring",
|
|
712
|
+
children: [/* @__PURE__ */ M("option", {
|
|
713
|
+
value: "",
|
|
714
|
+
children: "All Categories"
|
|
715
|
+
}), P.map((e) => /* @__PURE__ */ M("option", {
|
|
716
|
+
value: e,
|
|
717
|
+
children: e
|
|
718
|
+
}, e))]
|
|
719
|
+
})]
|
|
720
|
+
}), Z.length > 0 ? /* @__PURE__ */ M("div", {
|
|
721
|
+
className: "space-y-3",
|
|
722
|
+
children: Z.map((e) => {
|
|
723
|
+
let n = S === e.id;
|
|
724
|
+
return /* @__PURE__ */ N("div", {
|
|
725
|
+
className: "rounded-lg border border-border bg-card overflow-hidden",
|
|
726
|
+
children: [/* @__PURE__ */ N("button", {
|
|
727
|
+
type: "button",
|
|
728
|
+
onClick: () => de(e.id),
|
|
729
|
+
className: "flex w-full items-start justify-between gap-3 px-4 py-4 text-left hover:bg-accent/50 transition-colors",
|
|
730
|
+
children: [/* @__PURE__ */ N("div", {
|
|
731
|
+
className: "flex-1 min-w-0",
|
|
732
|
+
children: [/* @__PURE__ */ N("div", {
|
|
733
|
+
className: "flex flex-wrap items-center gap-2 mb-1",
|
|
734
|
+
children: [/* @__PURE__ */ M("span", {
|
|
735
|
+
className: "inline-flex items-center rounded-full bg-muted px-2 py-0.5 text-xs font-medium text-muted-foreground",
|
|
736
|
+
children: e.category
|
|
737
|
+
}), /* @__PURE__ */ N("span", {
|
|
738
|
+
className: "inline-flex items-center gap-1 text-xs text-muted-foreground",
|
|
739
|
+
children: [/* @__PURE__ */ M(C, { className: "h-3 w-3" }), e.helpful]
|
|
740
|
+
})]
|
|
741
|
+
}), /* @__PURE__ */ M("span", {
|
|
742
|
+
className: t("text-sm", n ? "font-semibold text-foreground" : "font-medium text-foreground"),
|
|
743
|
+
children: e.question
|
|
744
|
+
})]
|
|
745
|
+
}), M(n ? te : l, { className: "h-4 w-4 text-muted-foreground shrink-0 mt-1" })]
|
|
746
|
+
}), n && /* @__PURE__ */ N("div", {
|
|
747
|
+
className: "border-t border-border px-4 pb-4 pt-3",
|
|
748
|
+
children: [/* @__PURE__ */ M("p", {
|
|
749
|
+
className: "text-sm text-muted-foreground leading-relaxed mb-3",
|
|
750
|
+
children: e.answer
|
|
751
|
+
}), /* @__PURE__ */ N("div", {
|
|
752
|
+
className: "flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",
|
|
753
|
+
children: [/* @__PURE__ */ M("div", {
|
|
754
|
+
className: "flex flex-wrap gap-1.5",
|
|
755
|
+
children: e.tags.map((e) => /* @__PURE__ */ N("span", {
|
|
756
|
+
className: "inline-flex items-center gap-1 rounded-full bg-muted px-2 py-0.5 text-xs text-muted-foreground",
|
|
757
|
+
children: [/* @__PURE__ */ M(se, { className: "h-2.5 w-2.5" }), e]
|
|
758
|
+
}, e))
|
|
759
|
+
}), /* @__PURE__ */ N("button", {
|
|
760
|
+
type: "button",
|
|
761
|
+
onClick: (t) => {
|
|
762
|
+
t.stopPropagation(), fe(e.id);
|
|
763
|
+
},
|
|
764
|
+
className: "flex items-center gap-1.5 rounded-lg border border-border px-3 py-1.5 text-xs font-medium text-muted-foreground hover:bg-accent hover:text-foreground transition-colors",
|
|
765
|
+
children: [
|
|
766
|
+
/* @__PURE__ */ M(C, { className: "h-3.5 w-3.5" }),
|
|
767
|
+
"Helpful (",
|
|
768
|
+
e.helpful,
|
|
769
|
+
")"
|
|
770
|
+
]
|
|
771
|
+
})]
|
|
772
|
+
})]
|
|
773
|
+
})]
|
|
774
|
+
}, e.id);
|
|
775
|
+
})
|
|
776
|
+
}) : /* @__PURE__ */ N("div", {
|
|
777
|
+
className: "flex flex-col items-center justify-center rounded-lg border border-border bg-card py-12",
|
|
778
|
+
children: [
|
|
779
|
+
/* @__PURE__ */ M(b, { className: "h-12 w-12 text-muted-foreground/50 mb-3" }),
|
|
780
|
+
/* @__PURE__ */ M("h3", {
|
|
781
|
+
className: "text-base font-semibold text-foreground mb-1",
|
|
782
|
+
children: "No FAQs found"
|
|
783
|
+
}),
|
|
784
|
+
/* @__PURE__ */ M("p", {
|
|
785
|
+
className: "text-sm text-muted-foreground mb-3",
|
|
786
|
+
children: "Try adjusting your search or browse different categories"
|
|
787
|
+
}),
|
|
788
|
+
/* @__PURE__ */ M("button", {
|
|
789
|
+
type: "button",
|
|
790
|
+
onClick: () => {
|
|
791
|
+
g(""), x("");
|
|
792
|
+
},
|
|
793
|
+
className: "text-sm font-medium text-primary hover:underline",
|
|
794
|
+
children: "Clear all filters"
|
|
795
|
+
})
|
|
796
|
+
]
|
|
797
|
+
})] }),
|
|
798
|
+
u === "contact" && /* @__PURE__ */ N("div", {
|
|
799
|
+
className: "space-y-6",
|
|
800
|
+
children: [
|
|
801
|
+
/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("h2", {
|
|
802
|
+
className: "text-base font-semibold text-foreground mb-3",
|
|
803
|
+
children: "Get in Touch"
|
|
804
|
+
}), /* @__PURE__ */ M("div", {
|
|
805
|
+
className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
|
|
806
|
+
children: I.map((e) => {
|
|
807
|
+
let n = e.icon;
|
|
808
|
+
return /* @__PURE__ */ M("div", {
|
|
809
|
+
className: "rounded-lg border border-border bg-card p-5",
|
|
810
|
+
children: /* @__PURE__ */ N("div", {
|
|
811
|
+
className: "flex items-start gap-4",
|
|
812
|
+
children: [/* @__PURE__ */ M("div", {
|
|
813
|
+
className: "flex h-12 w-12 shrink-0 items-center justify-center rounded-lg bg-muted",
|
|
814
|
+
children: /* @__PURE__ */ M(n, { className: "h-6 w-6 text-muted-foreground" })
|
|
815
|
+
}), /* @__PURE__ */ N("div", {
|
|
816
|
+
className: "flex-1 min-w-0",
|
|
817
|
+
children: [
|
|
818
|
+
/* @__PURE__ */ M("h3", {
|
|
819
|
+
className: "text-sm font-semibold text-foreground",
|
|
820
|
+
children: e.label
|
|
821
|
+
}),
|
|
822
|
+
/* @__PURE__ */ M("p", {
|
|
823
|
+
className: "text-sm text-foreground mt-0.5 break-words",
|
|
824
|
+
children: e.value
|
|
825
|
+
}),
|
|
826
|
+
/* @__PURE__ */ N("div", {
|
|
827
|
+
className: "flex items-center gap-1 mt-1 text-xs text-muted-foreground",
|
|
828
|
+
children: [/* @__PURE__ */ M(f, { className: "h-3 w-3" }), e.responseTime]
|
|
829
|
+
}),
|
|
830
|
+
/* @__PURE__ */ N("button", {
|
|
831
|
+
type: "button",
|
|
832
|
+
onClick: () => $(e),
|
|
833
|
+
disabled: !e.available,
|
|
834
|
+
className: t("mt-3 flex items-center gap-1.5 rounded-lg px-4 py-2 text-sm font-medium transition-colors", e.available ? "bg-primary text-primary-foreground hover:bg-primary/90" : "bg-muted text-muted-foreground cursor-not-allowed"),
|
|
835
|
+
children: [e.type === "chat" ? "Start Chat" : e.type === "email" ? "Send Email" : "Contact", /* @__PURE__ */ M(ne, { className: "h-3.5 w-3.5" })]
|
|
836
|
+
})
|
|
837
|
+
]
|
|
838
|
+
})]
|
|
839
|
+
})
|
|
840
|
+
}, e.type);
|
|
841
|
+
})
|
|
842
|
+
})] }),
|
|
843
|
+
/* @__PURE__ */ N("div", {
|
|
844
|
+
className: "rounded-lg border border-border bg-card",
|
|
845
|
+
children: [/* @__PURE__ */ N("div", {
|
|
846
|
+
className: "flex items-center justify-between border-b border-border px-5 py-4",
|
|
847
|
+
children: [/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("h2", {
|
|
848
|
+
className: "text-base font-semibold text-foreground",
|
|
849
|
+
children: "Submit a Support Ticket"
|
|
850
|
+
}), /* @__PURE__ */ M("p", {
|
|
851
|
+
className: "text-xs text-muted-foreground mt-0.5",
|
|
852
|
+
children: "Can't find your answer? Create a ticket and our team will help."
|
|
853
|
+
})] }), /* @__PURE__ */ N("button", {
|
|
854
|
+
type: "button",
|
|
855
|
+
onClick: () => H(!V),
|
|
856
|
+
className: "flex items-center gap-1.5 rounded-lg bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90 transition-colors",
|
|
857
|
+
children: [/* @__PURE__ */ M(w, { className: "h-4 w-4" }), V ? "Close" : "New Ticket"]
|
|
858
|
+
})]
|
|
859
|
+
}), V && /* @__PURE__ */ N("div", {
|
|
860
|
+
className: "p-5 space-y-4",
|
|
861
|
+
children: [
|
|
862
|
+
q && /* @__PURE__ */ N("div", {
|
|
863
|
+
className: "flex items-center gap-2 rounded-lg border border-red-500/30 bg-red-500/10 px-3 py-2 text-sm text-red-700 dark:text-red-300",
|
|
864
|
+
children: [/* @__PURE__ */ M(ee, { className: "h-4 w-4 shrink-0" }), q]
|
|
865
|
+
}),
|
|
866
|
+
/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ N("label", {
|
|
867
|
+
className: "block text-sm font-medium text-foreground mb-1.5",
|
|
868
|
+
children: ["Subject ", /* @__PURE__ */ M("span", {
|
|
869
|
+
className: "text-red-500",
|
|
870
|
+
children: "*"
|
|
871
|
+
})]
|
|
872
|
+
}), /* @__PURE__ */ M("input", {
|
|
873
|
+
type: "text",
|
|
874
|
+
value: Y.subject,
|
|
875
|
+
onChange: (e) => X((t) => ({
|
|
876
|
+
...t,
|
|
877
|
+
subject: e.target.value
|
|
878
|
+
})),
|
|
879
|
+
placeholder: "Brief description of your issue",
|
|
880
|
+
className: "w-full rounded-lg border border-border bg-card px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring"
|
|
881
|
+
})] }),
|
|
882
|
+
/* @__PURE__ */ N("div", {
|
|
883
|
+
className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
|
|
884
|
+
children: [/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ N("label", {
|
|
885
|
+
className: "block text-sm font-medium text-foreground mb-1.5",
|
|
886
|
+
children: ["Category ", /* @__PURE__ */ M("span", {
|
|
887
|
+
className: "text-red-500",
|
|
888
|
+
children: "*"
|
|
889
|
+
})]
|
|
890
|
+
}), /* @__PURE__ */ N("select", {
|
|
891
|
+
value: Y.category,
|
|
892
|
+
onChange: (e) => X((t) => ({
|
|
893
|
+
...t,
|
|
894
|
+
category: e.target.value
|
|
895
|
+
})),
|
|
896
|
+
className: "w-full rounded-lg border border-border bg-card px-3 py-2 text-sm text-foreground focus:outline-none focus:ring-2 focus:ring-ring",
|
|
897
|
+
children: [/* @__PURE__ */ M("option", {
|
|
898
|
+
value: "",
|
|
899
|
+
children: "Select category"
|
|
900
|
+
}), P.map((e) => /* @__PURE__ */ M("option", {
|
|
901
|
+
value: e,
|
|
902
|
+
children: e
|
|
903
|
+
}, e))]
|
|
904
|
+
})] }), /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("label", {
|
|
905
|
+
className: "block text-sm font-medium text-foreground mb-1.5",
|
|
906
|
+
children: "Priority"
|
|
907
|
+
}), /* @__PURE__ */ N("select", {
|
|
908
|
+
value: Y.priority,
|
|
909
|
+
onChange: (e) => X((t) => ({
|
|
910
|
+
...t,
|
|
911
|
+
priority: e.target.value
|
|
912
|
+
})),
|
|
913
|
+
className: "w-full rounded-lg border border-border bg-card px-3 py-2 text-sm text-foreground focus:outline-none focus:ring-2 focus:ring-ring",
|
|
914
|
+
children: [
|
|
915
|
+
/* @__PURE__ */ M("option", {
|
|
916
|
+
value: "low",
|
|
917
|
+
children: "Low"
|
|
918
|
+
}),
|
|
919
|
+
/* @__PURE__ */ M("option", {
|
|
920
|
+
value: "medium",
|
|
921
|
+
children: "Medium"
|
|
922
|
+
}),
|
|
923
|
+
/* @__PURE__ */ M("option", {
|
|
924
|
+
value: "high",
|
|
925
|
+
children: "High"
|
|
926
|
+
}),
|
|
927
|
+
/* @__PURE__ */ M("option", {
|
|
928
|
+
value: "urgent",
|
|
929
|
+
children: "Urgent"
|
|
930
|
+
})
|
|
931
|
+
]
|
|
932
|
+
})] })]
|
|
933
|
+
}),
|
|
934
|
+
/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ N("label", {
|
|
935
|
+
className: "block text-sm font-medium text-foreground mb-1.5",
|
|
936
|
+
children: ["Description ", /* @__PURE__ */ M("span", {
|
|
937
|
+
className: "text-red-500",
|
|
938
|
+
children: "*"
|
|
939
|
+
})]
|
|
940
|
+
}), /* @__PURE__ */ M("textarea", {
|
|
941
|
+
rows: 5,
|
|
942
|
+
value: Y.description,
|
|
943
|
+
onChange: (e) => X((t) => ({
|
|
944
|
+
...t,
|
|
945
|
+
description: e.target.value
|
|
946
|
+
})),
|
|
947
|
+
placeholder: "Please describe your issue in detail...",
|
|
948
|
+
className: "w-full rounded-lg border border-border bg-card px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring resize-none"
|
|
949
|
+
})] }),
|
|
950
|
+
/* @__PURE__ */ N("div", {
|
|
951
|
+
className: "rounded-lg bg-blue-500/5 border border-blue-500/20 p-4",
|
|
952
|
+
children: [/* @__PURE__ */ N("div", {
|
|
953
|
+
className: "flex items-center gap-2 mb-2",
|
|
954
|
+
children: [/* @__PURE__ */ M(ae, { className: "h-4 w-4 text-blue-600 dark:text-blue-400" }), /* @__PURE__ */ M("h4", {
|
|
955
|
+
className: "text-sm font-medium text-blue-700 dark:text-blue-300",
|
|
956
|
+
children: "Tips for faster resolution"
|
|
957
|
+
})]
|
|
958
|
+
}), /* @__PURE__ */ N("ul", {
|
|
959
|
+
className: "text-xs text-blue-600 dark:text-blue-400 space-y-1 ml-6 list-disc",
|
|
960
|
+
children: [
|
|
961
|
+
/* @__PURE__ */ M("li", { children: "Be specific about the issue and include steps to reproduce it" }),
|
|
962
|
+
/* @__PURE__ */ M("li", { children: "Include relevant order IDs, transaction IDs, or error messages" }),
|
|
963
|
+
/* @__PURE__ */ M("li", { children: "Mention your device type and app version for technical issues" }),
|
|
964
|
+
/* @__PURE__ */ M("li", { children: "Attach screenshots if they help illustrate the problem" })
|
|
965
|
+
]
|
|
966
|
+
})]
|
|
967
|
+
}),
|
|
968
|
+
/* @__PURE__ */ N("div", {
|
|
969
|
+
className: "flex items-center gap-3 pt-1",
|
|
970
|
+
children: [/* @__PURE__ */ M("button", {
|
|
971
|
+
type: "button",
|
|
972
|
+
onClick: pe,
|
|
973
|
+
disabled: U,
|
|
974
|
+
className: t("flex items-center gap-2 rounded-lg px-5 py-2.5 text-sm font-medium text-primary-foreground transition-colors", U ? "bg-primary/70 cursor-not-allowed" : "bg-primary hover:bg-primary/90"),
|
|
975
|
+
children: U ? /* @__PURE__ */ N(j, { children: [/* @__PURE__ */ M("span", { className: "h-4 w-4 animate-spin rounded-full border-2 border-primary-foreground/30 border-t-primary-foreground" }), "Submitting..."] }) : /* @__PURE__ */ N(j, { children: [/* @__PURE__ */ M(oe, { className: "h-4 w-4" }), "Submit Ticket"] })
|
|
976
|
+
}), /* @__PURE__ */ M("button", {
|
|
977
|
+
type: "button",
|
|
978
|
+
onClick: () => {
|
|
979
|
+
H(!1), J("");
|
|
980
|
+
},
|
|
981
|
+
className: "rounded-lg border border-border px-4 py-2.5 text-sm font-medium text-foreground hover:bg-accent transition-colors",
|
|
982
|
+
children: "Cancel"
|
|
983
|
+
})]
|
|
984
|
+
})
|
|
985
|
+
]
|
|
986
|
+
})]
|
|
987
|
+
}),
|
|
988
|
+
/* @__PURE__ */ N("div", {
|
|
989
|
+
className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
|
|
990
|
+
children: [/* @__PURE__ */ N("div", {
|
|
991
|
+
className: "rounded-lg border border-border bg-card p-5",
|
|
992
|
+
children: [/* @__PURE__ */ N("div", {
|
|
993
|
+
className: "flex items-center gap-2 mb-3",
|
|
994
|
+
children: [/* @__PURE__ */ M(f, { className: "h-5 w-5 text-muted-foreground" }), /* @__PURE__ */ M("h3", {
|
|
995
|
+
className: "text-sm font-semibold text-foreground",
|
|
996
|
+
children: "Support Hours"
|
|
997
|
+
})]
|
|
998
|
+
}), /* @__PURE__ */ N("div", {
|
|
999
|
+
className: "space-y-2 text-sm",
|
|
1000
|
+
children: [
|
|
1001
|
+
/* @__PURE__ */ N("div", {
|
|
1002
|
+
className: "flex justify-between",
|
|
1003
|
+
children: [/* @__PURE__ */ M("span", {
|
|
1004
|
+
className: "text-muted-foreground",
|
|
1005
|
+
children: "Monday - Friday"
|
|
1006
|
+
}), /* @__PURE__ */ M("span", {
|
|
1007
|
+
className: "font-medium text-foreground",
|
|
1008
|
+
children: "9:00 AM - 9:00 PM IST"
|
|
1009
|
+
})]
|
|
1010
|
+
}),
|
|
1011
|
+
/* @__PURE__ */ N("div", {
|
|
1012
|
+
className: "flex justify-between",
|
|
1013
|
+
children: [/* @__PURE__ */ M("span", {
|
|
1014
|
+
className: "text-muted-foreground",
|
|
1015
|
+
children: "Saturday"
|
|
1016
|
+
}), /* @__PURE__ */ M("span", {
|
|
1017
|
+
className: "font-medium text-foreground",
|
|
1018
|
+
children: "10:00 AM - 6:00 PM IST"
|
|
1019
|
+
})]
|
|
1020
|
+
}),
|
|
1021
|
+
/* @__PURE__ */ N("div", {
|
|
1022
|
+
className: "flex justify-between",
|
|
1023
|
+
children: [/* @__PURE__ */ M("span", {
|
|
1024
|
+
className: "text-muted-foreground",
|
|
1025
|
+
children: "Sunday"
|
|
1026
|
+
}), /* @__PURE__ */ M("span", {
|
|
1027
|
+
className: "font-medium text-foreground",
|
|
1028
|
+
children: "Closed"
|
|
1029
|
+
})]
|
|
1030
|
+
}),
|
|
1031
|
+
/* @__PURE__ */ N("div", {
|
|
1032
|
+
className: "flex justify-between pt-2 border-t border-border",
|
|
1033
|
+
children: [/* @__PURE__ */ M("span", {
|
|
1034
|
+
className: "text-muted-foreground",
|
|
1035
|
+
children: "Email Support"
|
|
1036
|
+
}), /* @__PURE__ */ M("span", {
|
|
1037
|
+
className: "font-medium text-foreground",
|
|
1038
|
+
children: "24/7"
|
|
1039
|
+
})]
|
|
1040
|
+
})
|
|
1041
|
+
]
|
|
1042
|
+
})]
|
|
1043
|
+
}), /* @__PURE__ */ N("div", {
|
|
1044
|
+
className: "rounded-lg border border-red-500/20 bg-red-500/5 p-5",
|
|
1045
|
+
children: [
|
|
1046
|
+
/* @__PURE__ */ N("div", {
|
|
1047
|
+
className: "flex items-center gap-2 mb-3",
|
|
1048
|
+
children: [/* @__PURE__ */ M(o, { className: "h-5 w-5 text-red-600 dark:text-red-400" }), /* @__PURE__ */ M("h3", {
|
|
1049
|
+
className: "text-sm font-semibold text-red-700 dark:text-red-300",
|
|
1050
|
+
children: "Emergency Contact"
|
|
1051
|
+
})]
|
|
1052
|
+
}),
|
|
1053
|
+
/* @__PURE__ */ M("p", {
|
|
1054
|
+
className: "text-sm text-red-600 dark:text-red-400 mb-3",
|
|
1055
|
+
children: "For urgent issues like safety concerns, fraud, or account compromise:"
|
|
1056
|
+
}),
|
|
1057
|
+
/* @__PURE__ */ N("div", {
|
|
1058
|
+
className: "space-y-2",
|
|
1059
|
+
children: [/* @__PURE__ */ N("div", {
|
|
1060
|
+
className: "flex items-center gap-2 text-sm",
|
|
1061
|
+
children: [
|
|
1062
|
+
/* @__PURE__ */ M(v, { className: "h-4 w-4 text-red-600 dark:text-red-400" }),
|
|
1063
|
+
/* @__PURE__ */ M("span", {
|
|
1064
|
+
className: "font-medium text-red-700 dark:text-red-300",
|
|
1065
|
+
children: "+91 80-4012-9999"
|
|
1066
|
+
}),
|
|
1067
|
+
/* @__PURE__ */ M("span", {
|
|
1068
|
+
className: "text-xs text-red-500",
|
|
1069
|
+
children: "(24/7)"
|
|
1070
|
+
})
|
|
1071
|
+
]
|
|
1072
|
+
}), /* @__PURE__ */ N("div", {
|
|
1073
|
+
className: "flex items-center gap-2 text-sm",
|
|
1074
|
+
children: [/* @__PURE__ */ M(h, { className: "h-4 w-4 text-red-600 dark:text-red-400" }), /* @__PURE__ */ M("span", {
|
|
1075
|
+
className: "font-medium text-red-700 dark:text-red-300",
|
|
1076
|
+
children: "emergency@coolandlovely.com"
|
|
1077
|
+
})]
|
|
1078
|
+
})]
|
|
1079
|
+
})
|
|
1080
|
+
]
|
|
1081
|
+
})]
|
|
1082
|
+
}),
|
|
1083
|
+
/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("h2", {
|
|
1084
|
+
className: "text-base font-semibold text-foreground mb-3",
|
|
1085
|
+
children: "Popular Articles"
|
|
1086
|
+
}), /* @__PURE__ */ M("div", {
|
|
1087
|
+
className: "grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3",
|
|
1088
|
+
children: L.map((e) => /* @__PURE__ */ N("button", {
|
|
1089
|
+
type: "button",
|
|
1090
|
+
className: "flex items-start gap-3 rounded-lg border border-border bg-card p-4 text-left hover:bg-accent/50 transition-colors",
|
|
1091
|
+
children: [/* @__PURE__ */ M(re, { className: "h-5 w-5 text-muted-foreground shrink-0 mt-0.5" }), /* @__PURE__ */ N("div", {
|
|
1092
|
+
className: "min-w-0",
|
|
1093
|
+
children: [/* @__PURE__ */ M("p", {
|
|
1094
|
+
className: "text-sm font-medium text-foreground truncate",
|
|
1095
|
+
children: e.title
|
|
1096
|
+
}), /* @__PURE__ */ N("div", {
|
|
1097
|
+
className: "flex items-center gap-2 mt-1",
|
|
1098
|
+
children: [/* @__PURE__ */ M("span", {
|
|
1099
|
+
className: "text-xs text-muted-foreground",
|
|
1100
|
+
children: e.category
|
|
1101
|
+
}), /* @__PURE__ */ N("span", {
|
|
1102
|
+
className: "text-xs text-muted-foreground",
|
|
1103
|
+
children: [e.views.toLocaleString("en-IN"), " views"]
|
|
1104
|
+
})]
|
|
1105
|
+
})]
|
|
1106
|
+
})]
|
|
1107
|
+
}, e.id))
|
|
1108
|
+
})] })
|
|
1109
|
+
]
|
|
1110
|
+
}),
|
|
1111
|
+
u === "tickets" && /* @__PURE__ */ N("div", {
|
|
1112
|
+
className: "space-y-4",
|
|
1113
|
+
children: [
|
|
1114
|
+
/* @__PURE__ */ N("div", {
|
|
1115
|
+
className: "grid grid-cols-2 gap-3 sm:grid-cols-4",
|
|
1116
|
+
children: [
|
|
1117
|
+
/* @__PURE__ */ N("div", {
|
|
1118
|
+
className: "rounded-lg border border-border bg-card p-3 text-center",
|
|
1119
|
+
children: [/* @__PURE__ */ M("p", {
|
|
1120
|
+
className: "text-2xl font-bold text-foreground",
|
|
1121
|
+
children: Q.total
|
|
1122
|
+
}), /* @__PURE__ */ M("p", {
|
|
1123
|
+
className: "text-xs text-muted-foreground",
|
|
1124
|
+
children: "Total"
|
|
1125
|
+
})]
|
|
1126
|
+
}),
|
|
1127
|
+
/* @__PURE__ */ N("div", {
|
|
1128
|
+
className: "rounded-lg border border-border bg-card p-3 text-center",
|
|
1129
|
+
children: [/* @__PURE__ */ M("p", {
|
|
1130
|
+
className: "text-2xl font-bold text-blue-600 dark:text-blue-400",
|
|
1131
|
+
children: Q.open
|
|
1132
|
+
}), /* @__PURE__ */ M("p", {
|
|
1133
|
+
className: "text-xs text-muted-foreground",
|
|
1134
|
+
children: "Open"
|
|
1135
|
+
})]
|
|
1136
|
+
}),
|
|
1137
|
+
/* @__PURE__ */ N("div", {
|
|
1138
|
+
className: "rounded-lg border border-border bg-card p-3 text-center",
|
|
1139
|
+
children: [/* @__PURE__ */ M("p", {
|
|
1140
|
+
className: "text-2xl font-bold text-amber-600 dark:text-amber-400",
|
|
1141
|
+
children: Q.inProgress
|
|
1142
|
+
}), /* @__PURE__ */ M("p", {
|
|
1143
|
+
className: "text-xs text-muted-foreground",
|
|
1144
|
+
children: "In Progress"
|
|
1145
|
+
})]
|
|
1146
|
+
}),
|
|
1147
|
+
/* @__PURE__ */ N("div", {
|
|
1148
|
+
className: "rounded-lg border border-border bg-card p-3 text-center",
|
|
1149
|
+
children: [/* @__PURE__ */ M("p", {
|
|
1150
|
+
className: "text-2xl font-bold text-green-600 dark:text-green-400",
|
|
1151
|
+
children: Q.resolved
|
|
1152
|
+
}), /* @__PURE__ */ M("p", {
|
|
1153
|
+
className: "text-xs text-muted-foreground",
|
|
1154
|
+
children: "Resolved"
|
|
1155
|
+
})]
|
|
1156
|
+
})
|
|
1157
|
+
]
|
|
1158
|
+
}),
|
|
1159
|
+
/* @__PURE__ */ N("div", {
|
|
1160
|
+
className: "flex items-center justify-between",
|
|
1161
|
+
children: [/* @__PURE__ */ N("p", {
|
|
1162
|
+
className: "text-sm text-muted-foreground",
|
|
1163
|
+
children: [
|
|
1164
|
+
O.length,
|
|
1165
|
+
" ticket",
|
|
1166
|
+
O.length === 1 ? "" : "s"
|
|
1167
|
+
]
|
|
1168
|
+
}), /* @__PURE__ */ N("button", {
|
|
1169
|
+
type: "button",
|
|
1170
|
+
onClick: () => {
|
|
1171
|
+
H(!0), d("contact");
|
|
1172
|
+
},
|
|
1173
|
+
className: "flex items-center gap-1.5 rounded-lg bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90 transition-colors",
|
|
1174
|
+
children: [/* @__PURE__ */ M(w, { className: "h-4 w-4" }), "New Ticket"]
|
|
1175
|
+
})]
|
|
1176
|
+
}),
|
|
1177
|
+
O.length === 0 ? /* @__PURE__ */ N("div", {
|
|
1178
|
+
className: "flex flex-col items-center justify-center rounded-lg border border-border bg-card py-12",
|
|
1179
|
+
children: [
|
|
1180
|
+
/* @__PURE__ */ M(w, { className: "h-12 w-12 text-muted-foreground/50 mb-3" }),
|
|
1181
|
+
/* @__PURE__ */ M("h3", {
|
|
1182
|
+
className: "text-base font-semibold text-foreground mb-1",
|
|
1183
|
+
children: "No support tickets"
|
|
1184
|
+
}),
|
|
1185
|
+
/* @__PURE__ */ M("p", {
|
|
1186
|
+
className: "text-sm text-muted-foreground mb-3",
|
|
1187
|
+
children: "You haven't created any support tickets yet"
|
|
1188
|
+
}),
|
|
1189
|
+
/* @__PURE__ */ M("button", {
|
|
1190
|
+
type: "button",
|
|
1191
|
+
onClick: () => {
|
|
1192
|
+
H(!0), d("contact");
|
|
1193
|
+
},
|
|
1194
|
+
className: "flex items-center gap-1.5 rounded-lg bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90 transition-colors",
|
|
1195
|
+
children: "Create Your First Ticket"
|
|
1196
|
+
})
|
|
1197
|
+
]
|
|
1198
|
+
}) : /* @__PURE__ */ M("div", {
|
|
1199
|
+
className: "space-y-4",
|
|
1200
|
+
children: O.map((e) => {
|
|
1201
|
+
let n = ue(e.status), i = e.responses.length > 0 ? e.responses[e.responses.length - 1] : null;
|
|
1202
|
+
return /* @__PURE__ */ N("div", {
|
|
1203
|
+
className: "rounded-lg border border-border bg-card overflow-hidden",
|
|
1204
|
+
children: [/* @__PURE__ */ N("div", {
|
|
1205
|
+
className: "p-4 sm:p-5",
|
|
1206
|
+
children: [
|
|
1207
|
+
/* @__PURE__ */ N("div", {
|
|
1208
|
+
className: "flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between",
|
|
1209
|
+
children: [/* @__PURE__ */ N("div", {
|
|
1210
|
+
className: "flex-1 min-w-0",
|
|
1211
|
+
children: [/* @__PURE__ */ N("div", {
|
|
1212
|
+
className: "flex items-center gap-2 mb-1",
|
|
1213
|
+
children: [/* @__PURE__ */ M(n, { className: t("h-4 w-4", R(e.status).split(" ").slice(1).join(" ")) }), /* @__PURE__ */ M("h3", {
|
|
1214
|
+
className: "text-sm font-semibold text-foreground truncate",
|
|
1215
|
+
children: e.subject
|
|
1216
|
+
})]
|
|
1217
|
+
}), /* @__PURE__ */ N("p", {
|
|
1218
|
+
className: "text-xs text-muted-foreground",
|
|
1219
|
+
children: [
|
|
1220
|
+
e.category,
|
|
1221
|
+
" · ",
|
|
1222
|
+
e.id
|
|
1223
|
+
]
|
|
1224
|
+
})]
|
|
1225
|
+
}), /* @__PURE__ */ N("div", {
|
|
1226
|
+
className: "flex flex-wrap gap-2",
|
|
1227
|
+
children: [/* @__PURE__ */ M("span", {
|
|
1228
|
+
className: t("inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-medium", z(e.priority)),
|
|
1229
|
+
children: e.priority.toUpperCase()
|
|
1230
|
+
}), /* @__PURE__ */ M("span", {
|
|
1231
|
+
className: t("inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-medium", R(e.status)),
|
|
1232
|
+
children: B(e.status)
|
|
1233
|
+
})]
|
|
1234
|
+
})]
|
|
1235
|
+
}),
|
|
1236
|
+
/* @__PURE__ */ M("p", {
|
|
1237
|
+
className: "text-sm text-muted-foreground mt-2 leading-relaxed",
|
|
1238
|
+
children: e.description
|
|
1239
|
+
}),
|
|
1240
|
+
i && /* @__PURE__ */ N("div", {
|
|
1241
|
+
className: "mt-3 rounded-lg bg-muted/50 border border-border p-3",
|
|
1242
|
+
children: [/* @__PURE__ */ N("div", {
|
|
1243
|
+
className: "flex items-center gap-1.5 mb-1",
|
|
1244
|
+
children: [
|
|
1245
|
+
/* @__PURE__ */ M(_, { className: "h-3.5 w-3.5 text-muted-foreground" }),
|
|
1246
|
+
/* @__PURE__ */ M("span", {
|
|
1247
|
+
className: "text-xs font-medium text-foreground",
|
|
1248
|
+
children: i.sender === "support" ? "Support Team" : "You"
|
|
1249
|
+
}),
|
|
1250
|
+
/* @__PURE__ */ N("span", {
|
|
1251
|
+
className: "text-xs text-muted-foreground",
|
|
1252
|
+
children: ["· ", r(i.timestamp)]
|
|
1253
|
+
})
|
|
1254
|
+
]
|
|
1255
|
+
}), /* @__PURE__ */ M("p", {
|
|
1256
|
+
className: "text-sm text-muted-foreground",
|
|
1257
|
+
children: i.message
|
|
1258
|
+
})]
|
|
1259
|
+
}),
|
|
1260
|
+
e.responses.length === 0 && e.status === "open" && /* @__PURE__ */ N("div", {
|
|
1261
|
+
className: "mt-3 flex items-center gap-2 text-xs text-muted-foreground",
|
|
1262
|
+
children: [/* @__PURE__ */ M(m, { className: "h-3.5 w-3.5" }), "Awaiting response from support team"]
|
|
1263
|
+
})
|
|
1264
|
+
]
|
|
1265
|
+
}), /* @__PURE__ */ N("div", {
|
|
1266
|
+
className: "flex flex-col gap-1 border-t border-border bg-muted/30 px-4 py-2.5 sm:flex-row sm:items-center sm:justify-between text-xs text-muted-foreground",
|
|
1267
|
+
children: [
|
|
1268
|
+
/* @__PURE__ */ N("span", { children: ["Created: ", r(e.createdAt)] }),
|
|
1269
|
+
/* @__PURE__ */ N("span", { children: ["Updated: ", r(e.updatedAt)] }),
|
|
1270
|
+
/* @__PURE__ */ N("span", { children: [
|
|
1271
|
+
e.responses.length,
|
|
1272
|
+
" response",
|
|
1273
|
+
e.responses.length === 1 ? "" : "s"
|
|
1274
|
+
] })
|
|
1275
|
+
]
|
|
1276
|
+
})]
|
|
1277
|
+
}, e.id);
|
|
1278
|
+
})
|
|
1279
|
+
})
|
|
1280
|
+
]
|
|
1281
|
+
}),
|
|
1282
|
+
/* @__PURE__ */ M("section", {
|
|
1283
|
+
className: "mt-8 rounded-lg border border-border bg-muted/30 p-5",
|
|
1284
|
+
children: /* @__PURE__ */ N("div", {
|
|
1285
|
+
className: "flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between",
|
|
1286
|
+
children: [/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("h3", {
|
|
1287
|
+
className: "text-sm font-semibold text-foreground mb-1",
|
|
1288
|
+
children: "Still need help?"
|
|
1289
|
+
}), /* @__PURE__ */ M("p", {
|
|
1290
|
+
className: "text-xs text-muted-foreground",
|
|
1291
|
+
children: "Our support team is available Monday to Saturday. Average response time is under 4 hours."
|
|
1292
|
+
})] }), /* @__PURE__ */ N("div", {
|
|
1293
|
+
className: "flex flex-wrap gap-2",
|
|
1294
|
+
children: [
|
|
1295
|
+
/* @__PURE__ */ N("button", {
|
|
1296
|
+
type: "button",
|
|
1297
|
+
onClick: () => $(I[0]),
|
|
1298
|
+
className: "flex items-center gap-1.5 rounded-lg border border-border bg-card px-3 py-2 text-xs font-medium text-foreground hover:bg-accent transition-colors",
|
|
1299
|
+
children: [/* @__PURE__ */ M(h, { className: "h-3.5 w-3.5" }), "Email Us"]
|
|
1300
|
+
}),
|
|
1301
|
+
/* @__PURE__ */ N("button", {
|
|
1302
|
+
type: "button",
|
|
1303
|
+
onClick: () => $(I[1]),
|
|
1304
|
+
className: "flex items-center gap-1.5 rounded-lg border border-border bg-card px-3 py-2 text-xs font-medium text-foreground hover:bg-accent transition-colors",
|
|
1305
|
+
children: [/* @__PURE__ */ M(v, { className: "h-3.5 w-3.5" }), "Call Us"]
|
|
1306
|
+
}),
|
|
1307
|
+
/* @__PURE__ */ N("button", {
|
|
1308
|
+
type: "button",
|
|
1309
|
+
onClick: () => {
|
|
1310
|
+
H(!0), d("contact");
|
|
1311
|
+
},
|
|
1312
|
+
className: "flex items-center gap-1.5 rounded-lg bg-primary px-3 py-2 text-xs font-medium text-primary-foreground hover:bg-primary/90 transition-colors",
|
|
1313
|
+
children: [/* @__PURE__ */ M(w, { className: "h-3.5 w-3.5" }), "Submit Ticket"]
|
|
1314
|
+
})
|
|
1315
|
+
]
|
|
1316
|
+
})]
|
|
1317
|
+
})
|
|
1318
|
+
})
|
|
1319
|
+
]
|
|
1320
|
+
});
|
|
1321
|
+
}
|
|
1322
|
+
//#endregion
|
|
1323
|
+
export { V as HelpSupportPage };
|
|
1324
|
+
|
|
1325
|
+
//# sourceMappingURL=HelpSupportPage.js.map
|