@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,223 @@
|
|
|
1
|
+
import { useCoolAndLovely as e } from "../context/CoolAndLovelyContext.js";
|
|
2
|
+
import "../context/index.js";
|
|
3
|
+
import { useMemo as t } from "react";
|
|
4
|
+
import { useMutation as n, useQuery as r, useQueryClient as i } from "@tanstack/react-query";
|
|
5
|
+
import { graphqlFetch as a } from "@burdenoff/fe-libs/shared/graphql";
|
|
6
|
+
//#region src/coolandlovely/hooks/useCoolAndLovelyApi.ts
|
|
7
|
+
var o = async (e, t, n) => {
|
|
8
|
+
let r = await a({
|
|
9
|
+
gateway: "workspace",
|
|
10
|
+
baseUrl: n,
|
|
11
|
+
query: e,
|
|
12
|
+
variables: t,
|
|
13
|
+
workspaceToken: !0
|
|
14
|
+
});
|
|
15
|
+
if (r.errors?.length) throw Error(r.errors[0]?.message ?? "GraphQL request failed");
|
|
16
|
+
if (!r.data) throw Error("GraphQL response did not include data");
|
|
17
|
+
return r.data;
|
|
18
|
+
}, s = (t) => {
|
|
19
|
+
let { apiGatewayUrl: n } = e();
|
|
20
|
+
return r({
|
|
21
|
+
queryKey: [
|
|
22
|
+
"coolandlovely",
|
|
23
|
+
"providers",
|
|
24
|
+
t
|
|
25
|
+
],
|
|
26
|
+
queryFn: async () => (await o("query Providers($filter: CoolAndLovelyProviderFilterInput) {\n listServiceProviders(filter: $filter, limit: 200) {\n id name slug category status rating totalRatings averageOrderValue serviceTypes location businessHours createdAt\n }\n }", { filter: t ? { query: t } : void 0 }, n)).listServiceProviders.map((e) => ({
|
|
27
|
+
...e,
|
|
28
|
+
image: "https://images.unsplash.com/photo-1567620905732-2d1ec7ab7445?w=400",
|
|
29
|
+
images: ["https://images.unsplash.com/photo-1567620905732-2d1ec7ab7445?w=400"],
|
|
30
|
+
isOpen: e.status === "ACTIVE" || e.status === "VERIFIED",
|
|
31
|
+
isVerified: e.status === "VERIFIED",
|
|
32
|
+
distance: .5,
|
|
33
|
+
estimatedTime: 20,
|
|
34
|
+
createdAt: e.createdAt
|
|
35
|
+
}))
|
|
36
|
+
});
|
|
37
|
+
}, c = (t) => {
|
|
38
|
+
let { apiGatewayUrl: n } = e();
|
|
39
|
+
return r({
|
|
40
|
+
queryKey: [
|
|
41
|
+
"coolandlovely",
|
|
42
|
+
"offerings",
|
|
43
|
+
t
|
|
44
|
+
],
|
|
45
|
+
queryFn: async () => (await o("query Offerings($providerId: String) {\n listOfferings(providerId: $providerId, limit: 300) {\n id providerId kind name slug category description price originalPrice stock durationMinutes serviceType tags isAvailable metadata media\n }\n }", { providerId: t }, n)).listOfferings,
|
|
46
|
+
enabled: !!t
|
|
47
|
+
});
|
|
48
|
+
}, l = (t = {}) => {
|
|
49
|
+
let { apiGatewayUrl: n } = e();
|
|
50
|
+
return r({
|
|
51
|
+
queryKey: [
|
|
52
|
+
"coolandlovely",
|
|
53
|
+
"orders",
|
|
54
|
+
t.providerId,
|
|
55
|
+
t.customerId
|
|
56
|
+
],
|
|
57
|
+
queryFn: async () => (await o("query Orders($providerId: String, $customerId: String) {\n listOrders(providerId: $providerId, customerId: $customerId, limit: 200) {\n id orderNumber providerId customerId status paymentStatus fulfillmentType subtotal tax deliveryFee discount total notes timeline paymentMethod deliveryAddress createdAt\n provider { name }\n items { id offeringId name quantity unitPrice totalPrice customizations }\n }\n }", t, n)).listOrders.map((e) => ({
|
|
58
|
+
id: e.id,
|
|
59
|
+
cartId: e.providerId,
|
|
60
|
+
cartName: e.provider?.name || "Unknown Cart",
|
|
61
|
+
cartImage: "https://images.unsplash.com/photo-1567620905732-2d1ec7ab7445?w=100",
|
|
62
|
+
items: e.items.map((e) => ({
|
|
63
|
+
id: e.id,
|
|
64
|
+
name: e.name,
|
|
65
|
+
quantity: e.quantity,
|
|
66
|
+
price: e.unitPrice,
|
|
67
|
+
customizations: e.customizations
|
|
68
|
+
})),
|
|
69
|
+
total: e.total,
|
|
70
|
+
subtotal: e.subtotal,
|
|
71
|
+
taxes: e.tax,
|
|
72
|
+
deliveryFee: e.deliveryFee,
|
|
73
|
+
discount: e.discount,
|
|
74
|
+
status: e.status.toLowerCase(),
|
|
75
|
+
orderDate: e.createdAt,
|
|
76
|
+
deliveryAddress: e.deliveryAddress,
|
|
77
|
+
paymentMethod: e.paymentMethod || "Cash",
|
|
78
|
+
paymentStatus: e.paymentStatus.toLowerCase(),
|
|
79
|
+
timeline: e.timeline || []
|
|
80
|
+
}))
|
|
81
|
+
});
|
|
82
|
+
}, u = () => {
|
|
83
|
+
let { apiGatewayUrl: t } = e();
|
|
84
|
+
return r({
|
|
85
|
+
queryKey: ["coolandlovely", "dashboard-stats"],
|
|
86
|
+
queryFn: async () => (await o("query DashboardStats { coolandlovelyDashboardStats { totalOrders totalRevenue activeProviders activeCustomers avgRating pendingOrders } }", {}, t)).coolandlovelyDashboardStats
|
|
87
|
+
});
|
|
88
|
+
}, d = () => {
|
|
89
|
+
let { apiGatewayUrl: t } = e();
|
|
90
|
+
return r({
|
|
91
|
+
queryKey: ["coolandlovely", "investment-opportunities"],
|
|
92
|
+
queryFn: async () => (await o("query Opportunities {\n listInvestmentOpportunities(limit: 200) {\n id providerId title description targetAmount raisedAmount minimumInvestment expectedReturnsPct lockInMonths riskLevel status expiresAt terms businessMetrics createdAt\n provider { name }\n }\n }", {}, t)).listInvestmentOpportunities.map((e) => ({
|
|
93
|
+
id: e.id,
|
|
94
|
+
cartId: e.providerId,
|
|
95
|
+
cartName: e.provider?.name || "Unknown Cart",
|
|
96
|
+
businessOwner: "Owner",
|
|
97
|
+
targetAmount: e.targetAmount,
|
|
98
|
+
raisedAmount: e.raisedAmount,
|
|
99
|
+
minimumInvestment: e.minimumInvestment,
|
|
100
|
+
expectedReturns: e.expectedReturnsPct,
|
|
101
|
+
investmentPeriod: e.lockInMonths,
|
|
102
|
+
riskLevel: e.riskLevel.toLowerCase(),
|
|
103
|
+
description: e.description,
|
|
104
|
+
businessPlan: "",
|
|
105
|
+
financialProjections: [],
|
|
106
|
+
documents: [],
|
|
107
|
+
investors: [],
|
|
108
|
+
status: e.status.toLowerCase(),
|
|
109
|
+
createdAt: e.createdAt,
|
|
110
|
+
expiresAt: e.expiresAt
|
|
111
|
+
}))
|
|
112
|
+
});
|
|
113
|
+
}, f = (t) => {
|
|
114
|
+
let { apiGatewayUrl: n } = e();
|
|
115
|
+
return r({
|
|
116
|
+
queryKey: [
|
|
117
|
+
"coolandlovely",
|
|
118
|
+
"investments",
|
|
119
|
+
t
|
|
120
|
+
],
|
|
121
|
+
queryFn: async () => (await o("query Investments($investorId: String!) {\n listInvestments(investorId: $investorId) {\n id opportunityId amount currentValue expectedReturnsPct status investedAt maturedAt realizedReturns\n opportunity { provider { name } }\n }\n }", { investorId: t }, n)).listInvestments.map((e) => ({
|
|
122
|
+
id: e.id,
|
|
123
|
+
opportunityId: e.opportunityId,
|
|
124
|
+
cartName: e.opportunity?.provider?.name || "Unknown Cart",
|
|
125
|
+
investedAmount: e.amount,
|
|
126
|
+
currentValue: e.currentValue,
|
|
127
|
+
returns: e.realizedReturns,
|
|
128
|
+
returnsPercentage: e.expectedReturnsPct,
|
|
129
|
+
investmentDate: e.investedAt,
|
|
130
|
+
status: e.status.toLowerCase()
|
|
131
|
+
})),
|
|
132
|
+
enabled: !!t
|
|
133
|
+
});
|
|
134
|
+
}, p = (t) => {
|
|
135
|
+
let { apiGatewayUrl: n } = e();
|
|
136
|
+
return r({
|
|
137
|
+
queryKey: [
|
|
138
|
+
"coolandlovely",
|
|
139
|
+
"worker-tasks",
|
|
140
|
+
t
|
|
141
|
+
],
|
|
142
|
+
queryFn: async () => (await o("query WorkerTasks($workerId: String!) {\n listWorkerTasks(workerId: $workerId, limit: 100) {\n id orderId providerId type description priority status assignedAt dueAt completedAt customerName customerPhone earnings distance notes\n provider { name }\n order { deliveryAddress }\n }\n }", { workerId: t }, n)).listWorkerTasks.map((e) => ({
|
|
143
|
+
id: e.id,
|
|
144
|
+
orderId: e.orderId,
|
|
145
|
+
cartId: e.providerId,
|
|
146
|
+
cartName: e.provider?.name || "Unknown Cart",
|
|
147
|
+
type: e.type.toLowerCase(),
|
|
148
|
+
description: e.description,
|
|
149
|
+
priority: e.priority.toLowerCase(),
|
|
150
|
+
status: e.status.toLowerCase(),
|
|
151
|
+
assignedAt: e.assignedAt,
|
|
152
|
+
dueAt: e.dueAt,
|
|
153
|
+
completedAt: e.completedAt,
|
|
154
|
+
customerName: e.customerName,
|
|
155
|
+
customerPhone: e.customerPhone,
|
|
156
|
+
deliveryAddress: e.order?.deliveryAddress,
|
|
157
|
+
earnings: e.earnings,
|
|
158
|
+
distance: e.distance,
|
|
159
|
+
notes: e.notes
|
|
160
|
+
})),
|
|
161
|
+
enabled: !!t
|
|
162
|
+
});
|
|
163
|
+
}, m = (t) => {
|
|
164
|
+
let { apiGatewayUrl: n } = e();
|
|
165
|
+
return r({
|
|
166
|
+
queryKey: [
|
|
167
|
+
"coolandlovely",
|
|
168
|
+
"worker-stats",
|
|
169
|
+
t
|
|
170
|
+
],
|
|
171
|
+
queryFn: async () => (await o("query WorkerStats($workerId: String!) {\n coolandlovelyWorkerStats(workerId: $workerId) {\n totalDeliveries totalEarnings averageRating completionRate todayTasks todayEarnings\n }\n }", { workerId: t }, n)).coolandlovelyWorkerStats,
|
|
172
|
+
enabled: !!t
|
|
173
|
+
});
|
|
174
|
+
}, h = () => {
|
|
175
|
+
let t = i(), { apiGatewayUrl: r } = e();
|
|
176
|
+
return n({
|
|
177
|
+
mutationFn: async (e) => (await o("mutation PlaceOrder($input: CoolAndLovelyPlaceOrderInput!) {\n placeOrder(input: $input) {\n id orderNumber status total createdAt\n }\n }", { input: e }, r)).placeOrder,
|
|
178
|
+
onSuccess: () => {
|
|
179
|
+
t.invalidateQueries({ queryKey: ["coolandlovely", "orders"] }), t.invalidateQueries({ queryKey: ["coolandlovely", "dashboard-stats"] });
|
|
180
|
+
}
|
|
181
|
+
});
|
|
182
|
+
}, g = () => {
|
|
183
|
+
let t = i(), { apiGatewayUrl: r } = e();
|
|
184
|
+
return n({
|
|
185
|
+
mutationFn: async ({ taskId: e, status: t }) => (await o("mutation UpdateTaskStatus($taskId: String!, $status: CoolAndLovelyWorkerTaskStatus!) {\n coolandlovelyUpdateWorkerTaskStatus(taskId: $taskId, status: $status) {\n id status\n }\n }", {
|
|
186
|
+
taskId: e,
|
|
187
|
+
status: t
|
|
188
|
+
}, r)).coolandlovelyUpdateWorkerTaskStatus,
|
|
189
|
+
onSuccess: () => {
|
|
190
|
+
t.invalidateQueries({ queryKey: ["coolandlovely", "worker-tasks"] }), t.invalidateQueries({ queryKey: ["coolandlovely", "worker-stats"] });
|
|
191
|
+
}
|
|
192
|
+
});
|
|
193
|
+
}, _ = () => {
|
|
194
|
+
let t = i(), { apiGatewayUrl: r } = e();
|
|
195
|
+
return n({
|
|
196
|
+
mutationFn: async ({ workerId: e, action: t }) => (await o("mutation ClockInOut($workerId: String!, $action: CoolAndLovelyClockAction!) {\n coolandlovelyWorkerClockInOut(workerId: $workerId, action: $action) {\n success message\n }\n }", {
|
|
197
|
+
workerId: e,
|
|
198
|
+
action: t
|
|
199
|
+
}, r)).coolandlovelyWorkerClockInOut,
|
|
200
|
+
onSuccess: () => {
|
|
201
|
+
t.invalidateQueries({ queryKey: ["coolandlovely", "worker-schedules"] });
|
|
202
|
+
}
|
|
203
|
+
});
|
|
204
|
+
}, v = () => {
|
|
205
|
+
let { currentUser: n } = e(), r = s(), i = l({ customerId: n?.id }), a = u(), o = d(), c = f(n?.id || "");
|
|
206
|
+
return t(() => ({
|
|
207
|
+
providers: r,
|
|
208
|
+
orders: i,
|
|
209
|
+
dashboardStats: a,
|
|
210
|
+
investmentOpportunities: o,
|
|
211
|
+
investments: c
|
|
212
|
+
}), [
|
|
213
|
+
r,
|
|
214
|
+
i,
|
|
215
|
+
a,
|
|
216
|
+
o,
|
|
217
|
+
c
|
|
218
|
+
]);
|
|
219
|
+
};
|
|
220
|
+
//#endregion
|
|
221
|
+
export { v as useCoolAndLovelyApi, u as useDashboardStats, d as useInvestmentOpportunities, f as useInvestments, c as useOfferings, l as useOrders, h as usePlaceOrder, s as useProviders, g as useUpdateWorkerTaskStatus, _ as useWorkerClockInOut, m as useWorkerStats, p as useWorkerTasks };
|
|
222
|
+
|
|
223
|
+
//# sourceMappingURL=useCoolAndLovelyApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCoolAndLovelyApi.js","names":[],"sources":["../../../src/coolandlovely/hooks/useCoolAndLovelyApi.ts"],"sourcesContent":["import { useMemo } from 'react';\nimport { useMutation, useQuery, useQueryClient } from '@tanstack/react-query';\n\nimport { graphqlFetch } from '@burdenoff/fe-libs/shared/graphql';\n\nimport { useCoolAndLovely } from '../context';\nimport type {\n MockCart,\n MockOrder,\n InvestmentOpportunity,\n Investment,\n DashboardStats,\n AdminAnalytics,\n WorkerTask,\n} from '../types';\n\nconst coolandlovelyQuery = async <TData>(\n query: string,\n variables: Record<string, unknown>,\n baseUrl?: string\n): Promise<TData> => {\n const response = await graphqlFetch<TData>({\n gateway: 'workspace',\n baseUrl,\n query,\n variables,\n workspaceToken: true,\n });\n\n if (response.errors?.length) {\n throw new Error(response.errors[0]?.message ?? 'GraphQL request failed');\n }\n\n if (!response.data) {\n throw new Error('GraphQL response did not include data');\n }\n\n return response.data;\n};\n\n// ============================================================================\n// Service Providers (Carts)\n// ============================================================================\n\nexport const useProviders = (query?: string) => {\n const { apiGatewayUrl } = useCoolAndLovely();\n return useQuery({\n queryKey: ['coolandlovely', 'providers', query],\n queryFn: async () => {\n const result = await coolandlovelyQuery<{ listServiceProviders: any[] }>(\n `query Providers($filter: CoolAndLovelyProviderFilterInput) {\n listServiceProviders(filter: $filter, limit: 200) {\n id name slug category status rating totalRatings averageOrderValue serviceTypes location businessHours createdAt\n }\n }`,\n {\n filter: query\n ? {\n query,\n }\n : undefined,\n },\n apiGatewayUrl\n );\n\n return result.listServiceProviders.map((p) => ({\n ...p,\n image: `https://images.unsplash.com/photo-1567620905732-2d1ec7ab7445?w=400`, // Placeholder\n images: [`https://images.unsplash.com/photo-1567620905732-2d1ec7ab7445?w=400`],\n isOpen: p.status === 'ACTIVE' || p.status === 'VERIFIED',\n isVerified: p.status === 'VERIFIED',\n distance: 0.5, // Mock\n estimatedTime: 20, // Mock\n createdAt: p.createdAt,\n })) as MockCart[];\n },\n });\n};\n\nexport const useOfferings = (providerId?: string) => {\n const { apiGatewayUrl } = useCoolAndLovely();\n return useQuery({\n queryKey: ['coolandlovely', 'offerings', providerId],\n queryFn: async () => {\n const result = await coolandlovelyQuery<{ listOfferings: any[] }>(\n `query Offerings($providerId: String) {\n listOfferings(providerId: $providerId, limit: 300) {\n id providerId kind name slug category description price originalPrice stock durationMinutes serviceType tags isAvailable metadata media\n }\n }`,\n { providerId },\n apiGatewayUrl\n );\n return result.listOfferings;\n },\n enabled: Boolean(providerId),\n });\n};\n\n// ============================================================================\n// Orders\n// ============================================================================\n\nexport const useOrders = (input: { providerId?: string; customerId?: string } = {}) => {\n const { apiGatewayUrl } = useCoolAndLovely();\n return useQuery({\n queryKey: ['coolandlovely', 'orders', input.providerId, input.customerId],\n queryFn: async () => {\n const result = await coolandlovelyQuery<{ listOrders: any[] }>(\n `query Orders($providerId: String, $customerId: String) {\n listOrders(providerId: $providerId, customerId: $customerId, limit: 200) {\n id orderNumber providerId customerId status paymentStatus fulfillmentType subtotal tax deliveryFee discount total notes timeline paymentMethod deliveryAddress createdAt\n provider { name }\n items { id offeringId name quantity unitPrice totalPrice customizations }\n }\n }`,\n input,\n apiGatewayUrl\n );\n\n return result.listOrders.map((o) => ({\n id: o.id,\n cartId: o.providerId,\n cartName: o.provider?.name || 'Unknown Cart',\n cartImage: `https://images.unsplash.com/photo-1567620905732-2d1ec7ab7445?w=100`, // Placeholder\n items: o.items.map((i: any) => ({\n id: i.id,\n name: i.name,\n quantity: i.quantity,\n price: i.unitPrice,\n customizations: i.customizations,\n })),\n total: o.total,\n subtotal: o.subtotal,\n taxes: o.tax,\n deliveryFee: o.deliveryFee,\n discount: o.discount,\n status: o.status.toLowerCase(),\n orderDate: o.createdAt,\n deliveryAddress: o.deliveryAddress,\n paymentMethod: o.paymentMethod || 'Cash',\n paymentStatus: o.paymentStatus.toLowerCase(),\n timeline: o.timeline || [],\n })) as MockOrder[];\n },\n });\n};\n\n// ============================================================================\n// Analytics & Stats\n// ============================================================================\n\nexport const useDashboardStats = () => {\n const { apiGatewayUrl } = useCoolAndLovely();\n return useQuery({\n queryKey: ['coolandlovely', 'dashboard-stats'],\n queryFn: async () => {\n const result = await coolandlovelyQuery<{\n coolandlovelyDashboardStats: DashboardStats;\n }>(\n `query DashboardStats { coolandlovelyDashboardStats { totalOrders totalRevenue activeProviders activeCustomers avgRating pendingOrders } }`,\n {},\n apiGatewayUrl\n );\n return result.coolandlovelyDashboardStats;\n },\n });\n};\n\nexport const useAdminAnalytics = () => {\n const { apiGatewayUrl } = useCoolAndLovely();\n return useQuery({\n queryKey: ['coolandlovely', 'admin-analytics'],\n queryFn: async () => {\n const result = await coolandlovelyQuery<{ coolandlovelyAdminAnalytics: AdminAnalytics }>(\n `query AdminAnalytics { coolandlovelyAdminAnalytics { revenueByCategory orderTrends topProviders customerGrowth categoryDistribution } }`,\n {},\n apiGatewayUrl\n );\n return result.coolandlovelyAdminAnalytics;\n },\n });\n};\n\n// ============================================================================\n// Investments\n// ============================================================================\n\nexport const useInvestmentOpportunities = () => {\n const { apiGatewayUrl } = useCoolAndLovely();\n return useQuery({\n queryKey: ['coolandlovely', 'investment-opportunities'],\n queryFn: async () => {\n const result = await coolandlovelyQuery<{ listInvestmentOpportunities: any[] }>(\n `query Opportunities {\n listInvestmentOpportunities(limit: 200) {\n id providerId title description targetAmount raisedAmount minimumInvestment expectedReturnsPct lockInMonths riskLevel status expiresAt terms businessMetrics createdAt\n provider { name }\n }\n }`,\n {},\n apiGatewayUrl\n );\n\n return result.listInvestmentOpportunities.map((o) => ({\n id: o.id,\n cartId: o.providerId,\n cartName: o.provider?.name || 'Unknown Cart',\n businessOwner: 'Owner', // Mock\n targetAmount: o.targetAmount,\n raisedAmount: o.raisedAmount,\n minimumInvestment: o.minimumInvestment,\n expectedReturns: o.expectedReturnsPct,\n investmentPeriod: o.lockInMonths,\n riskLevel: o.riskLevel.toLowerCase(),\n description: o.description,\n businessPlan: '',\n financialProjections: [],\n documents: [],\n investors: [],\n status: o.status.toLowerCase(),\n createdAt: o.createdAt,\n expiresAt: o.expiresAt,\n })) as InvestmentOpportunity[];\n },\n });\n};\n\nexport const useInvestments = (investorId: string) => {\n const { apiGatewayUrl } = useCoolAndLovely();\n return useQuery({\n queryKey: ['coolandlovely', 'investments', investorId],\n queryFn: async () => {\n const result = await coolandlovelyQuery<{ listInvestments: any[] }>(\n `query Investments($investorId: String!) {\n listInvestments(investorId: $investorId) {\n id opportunityId amount currentValue expectedReturnsPct status investedAt maturedAt realizedReturns\n opportunity { provider { name } }\n }\n }`,\n { investorId },\n apiGatewayUrl\n );\n\n return result.listInvestments.map((i) => ({\n id: i.id,\n opportunityId: i.opportunityId,\n cartName: i.opportunity?.provider?.name || 'Unknown Cart',\n investedAmount: i.amount,\n currentValue: i.currentValue,\n returns: i.realizedReturns,\n returnsPercentage: i.expectedReturnsPct,\n investmentDate: i.investedAt,\n status: i.status.toLowerCase(),\n })) as Investment[];\n },\n enabled: Boolean(investorId),\n });\n};\n\n// ============================================================================\n// Workers & Tasks\n// ============================================================================\n\nexport const useWorkerTasks = (workerId: string) => {\n const { apiGatewayUrl } = useCoolAndLovely();\n return useQuery({\n queryKey: ['coolandlovely', 'worker-tasks', workerId],\n queryFn: async () => {\n const result = await coolandlovelyQuery<{ listWorkerTasks: any[] }>(\n `query WorkerTasks($workerId: String!) {\n listWorkerTasks(workerId: $workerId, limit: 100) {\n id orderId providerId type description priority status assignedAt dueAt completedAt customerName customerPhone earnings distance notes\n provider { name }\n order { deliveryAddress }\n }\n }`,\n { workerId },\n apiGatewayUrl\n );\n\n return result.listWorkerTasks.map((t) => ({\n id: t.id,\n orderId: t.orderId,\n cartId: t.providerId,\n cartName: t.provider?.name || 'Unknown Cart',\n type: t.type.toLowerCase(),\n description: t.description,\n priority: t.priority.toLowerCase(),\n status: t.status.toLowerCase(),\n assignedAt: t.assignedAt,\n dueAt: t.dueAt,\n completedAt: t.completedAt,\n customerName: t.customerName,\n customerPhone: t.customerPhone,\n deliveryAddress: t.order?.deliveryAddress,\n earnings: t.earnings,\n distance: t.distance,\n notes: t.notes,\n })) as WorkerTask[];\n },\n enabled: Boolean(workerId),\n });\n};\n\nexport const useWorkerStats = (workerId: string) => {\n const { apiGatewayUrl } = useCoolAndLovely();\n return useQuery({\n queryKey: ['coolandlovely', 'worker-stats', workerId],\n queryFn: async () => {\n const result = await coolandlovelyQuery<{ coolandlovelyWorkerStats: any }>(\n `query WorkerStats($workerId: String!) {\n coolandlovelyWorkerStats(workerId: $workerId) {\n totalDeliveries totalEarnings averageRating completionRate todayTasks todayEarnings\n }\n }`,\n { workerId },\n apiGatewayUrl\n );\n return result.coolandlovelyWorkerStats;\n },\n enabled: Boolean(workerId),\n });\n};\n\nexport const useWorkerSchedules = (workerId: string) => {\n const { apiGatewayUrl } = useCoolAndLovely();\n return useQuery({\n queryKey: ['coolandlovely', 'worker-schedules', workerId],\n queryFn: async () => {\n const result = await coolandlovelyQuery<{ listWorkerSchedules: any[] }>(\n `query WorkerSchedules($workerId: String!) {\n listWorkerSchedules(workerId: $workerId) {\n id date startTime endTime providerId status tasksCompleted totalEarnings\n provider { name }\n }\n }`,\n { workerId },\n apiGatewayUrl\n );\n\n return result.listWorkerSchedules.map((s) => ({\n id: s.id,\n date: s.date,\n startTime: s.startTime,\n endTime: s.endTime,\n cartId: s.providerId,\n cartName: s.provider?.name || 'Unknown Cart',\n status: s.status.toLowerCase(),\n tasksCompleted: s.tasksCompleted,\n totalEarnings: s.totalEarnings,\n }));\n },\n enabled: Boolean(workerId),\n });\n};\n\n// ============================================================================\n// Reviews\n// ============================================================================\n\nexport const useReviews = (providerId: string) => {\n const { apiGatewayUrl } = useCoolAndLovely();\n return useQuery({\n queryKey: ['coolandlovely', 'reviews', providerId],\n queryFn: async () => {\n const result = await coolandlovelyQuery<{ listReviews: any[] }>(\n `query Reviews($providerId: String!) {\n listReviews(providerId: $providerId) {\n id providerId customerId rating review response createdAt updatedAt\n }\n }`,\n { providerId },\n apiGatewayUrl\n );\n return result.listReviews;\n },\n enabled: Boolean(providerId),\n });\n};\n\n// ============================================================================\n// Mutations\n// ============================================================================\n\nexport const usePlaceOrder = () => {\n const queryClient = useQueryClient();\n const { apiGatewayUrl } = useCoolAndLovely();\n\n return useMutation({\n mutationFn: async (input: Record<string, unknown>) => {\n const result = await coolandlovelyQuery<{ placeOrder: any }>(\n `mutation PlaceOrder($input: CoolAndLovelyPlaceOrderInput!) {\n placeOrder(input: $input) {\n id orderNumber status total createdAt\n }\n }`,\n { input },\n apiGatewayUrl\n );\n return result.placeOrder;\n },\n onSuccess: () => {\n void queryClient.invalidateQueries({ queryKey: ['coolandlovely', 'orders'] });\n void queryClient.invalidateQueries({ queryKey: ['coolandlovely', 'dashboard-stats'] });\n },\n });\n};\n\nexport const useCreateProvider = () => {\n const queryClient = useQueryClient();\n const { apiGatewayUrl } = useCoolAndLovely();\n\n return useMutation({\n mutationFn: async (input: Record<string, unknown>) => {\n const result = await coolandlovelyQuery<{ coolandlovelyCreateServiceProvider: any }>(\n `mutation CreateProvider($input: CoolAndLovelyCreateServiceProviderInput!) {\n coolandlovelyCreateServiceProvider(input: $input) {\n id name slug status category location rating\n }\n }`,\n { input },\n apiGatewayUrl\n );\n return result.coolandlovelyCreateServiceProvider;\n },\n onSuccess: () => {\n void queryClient.invalidateQueries({ queryKey: ['coolandlovely', 'providers'] });\n void queryClient.invalidateQueries({ queryKey: ['coolandlovely', 'dashboard-stats'] });\n },\n });\n};\n\nexport const useUpdateWorkerTaskStatus = () => {\n const queryClient = useQueryClient();\n const { apiGatewayUrl } = useCoolAndLovely();\n\n return useMutation({\n mutationFn: async ({ taskId, status }: { taskId: string; status: string }) => {\n const result = await coolandlovelyQuery<{ coolandlovelyUpdateWorkerTaskStatus: any }>(\n `mutation UpdateTaskStatus($taskId: String!, $status: CoolAndLovelyWorkerTaskStatus!) {\n coolandlovelyUpdateWorkerTaskStatus(taskId: $taskId, status: $status) {\n id status\n }\n }`,\n { taskId, status },\n apiGatewayUrl\n );\n return result.coolandlovelyUpdateWorkerTaskStatus;\n },\n onSuccess: () => {\n void queryClient.invalidateQueries({ queryKey: ['coolandlovely', 'worker-tasks'] });\n void queryClient.invalidateQueries({ queryKey: ['coolandlovely', 'worker-stats'] });\n },\n });\n};\n\nexport const useWorkerClockInOut = () => {\n const queryClient = useQueryClient();\n const { apiGatewayUrl } = useCoolAndLovely();\n\n return useMutation({\n mutationFn: async ({\n workerId,\n action,\n }: {\n workerId: string;\n action: 'CLOCK_IN' | 'CLOCK_OUT';\n }) => {\n const result = await coolandlovelyQuery<{ coolandlovelyWorkerClockInOut: any }>(\n `mutation ClockInOut($workerId: String!, $action: CoolAndLovelyClockAction!) {\n coolandlovelyWorkerClockInOut(workerId: $workerId, action: $action) {\n success message\n }\n }`,\n { workerId, action },\n apiGatewayUrl\n );\n return result.coolandlovelyWorkerClockInOut;\n },\n onSuccess: () => {\n void queryClient.invalidateQueries({ queryKey: ['coolandlovely', 'worker-schedules'] });\n },\n });\n};\n\n// ============================================================================\n// Main Hook\n// ============================================================================\n\nexport const useCoolAndLovelyApi = () => {\n const { currentUser } = useCoolAndLovely();\n const providers = useProviders();\n const orders = useOrders({ customerId: currentUser?.id });\n const dashboardStats = useDashboardStats();\n const investmentOpportunities = useInvestmentOpportunities();\n const investments = useInvestments(currentUser?.id || '');\n\n return useMemo(\n () => ({\n providers,\n orders,\n dashboardStats,\n investmentOpportunities,\n investments,\n }),\n [providers, orders, dashboardStats, investmentOpportunities, investments]\n );\n};\n"],"mappings":";;;;;;AAgBA,IAAM,IAAq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from './CoolAndLovelyRoot';
|
|
6
|
+
export type { CoolAndLovelyRootProps, NavItem, FooterItem, MockCart, MockOrder, InvestmentOpportunity, UserRole, OrderStatus, PaymentStatus, CartCategory, ViewMode, DashboardStats, } from './types';
|
|
7
|
+
export { CoolAndLovelyProvider, useCoolAndLovely } from './context';
|
|
8
|
+
export { useCoolAndLovelyStore } from './store';
|
|
9
|
+
export { cn } from './utils/cn';
|
|
10
|
+
export { formatCurrency, formatDate, formatRelativeTime, formatNumber } from './utils/formatters';
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/coolandlovely/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAGxD,YAAY,EACV,sBAAsB,EACtB,OAAO,EACP,UAAU,EACV,QAAQ,EACR,SAAS,EACT,qBAAqB,EACrB,QAAQ,EACR,WAAW,EACX,aAAa,EACb,YAAY,EACZ,QAAQ,EACR,cAAc,GACf,MAAM,SAAS,CAAC;AAGjB,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAGpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAGhD,OAAO,EAAE,EAAE,EAAE,MAAM,YAAY,CAAC;AAChC,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { MockCart, MockOrder, MockProduct, InvestmentOpportunity, Investment, DashboardStats, AdminAnalytics, WorkerTask, WorkerSchedule, WorkerStats, OrderStatus } from '../types';
|
|
2
|
+
|
|
3
|
+
export declare const mockCarts: MockCart[];
|
|
4
|
+
export declare const mockProducts: MockProduct[];
|
|
5
|
+
export declare const mockOrders: MockOrder[];
|
|
6
|
+
export declare const mockInvestmentOpportunities: InvestmentOpportunity[];
|
|
7
|
+
export declare const mockActiveInvestments: Investment[];
|
|
8
|
+
export declare const mockDashboardStats: DashboardStats;
|
|
9
|
+
export declare const mockAdminAnalytics: AdminAnalytics;
|
|
10
|
+
export declare const mockWorkerTasks: WorkerTask[];
|
|
11
|
+
export declare const mockWorkerSchedules: WorkerSchedule[];
|
|
12
|
+
export declare const mockWorkerStats: WorkerStats;
|
|
13
|
+
/** Find a cart by its ID */
|
|
14
|
+
export declare const getCartById: (cartId: string) => MockCart | undefined;
|
|
15
|
+
/** Find an order by its ID */
|
|
16
|
+
export declare const getOrderById: (orderId: string) => MockOrder | undefined;
|
|
17
|
+
/** Filter orders by status */
|
|
18
|
+
export declare const getOrdersByStatus: (status: OrderStatus) => MockOrder[];
|
|
19
|
+
/** Get recent orders, sorted by date descending */
|
|
20
|
+
export declare const getRecentOrders: (limit?: number) => MockOrder[];
|
|
21
|
+
/** Filter carts by category */
|
|
22
|
+
export declare const getCartsByCategory: (category: string) => MockCart[];
|
|
23
|
+
/** Filter products by category */
|
|
24
|
+
export declare const getProductsByCategory: (category: string) => MockProduct[];
|
|
25
|
+
/** Find an investment opportunity by cart ID */
|
|
26
|
+
export declare const getInvestmentOpportunityByCartId: (cartId: string) => InvestmentOpportunity | undefined;
|
|
27
|
+
/** Search carts by name, category, or menu item names */
|
|
28
|
+
export declare const searchCarts: (query: string) => MockCart[];
|
|
29
|
+
/** Search products by name, description, or category */
|
|
30
|
+
export declare const searchProducts: (query: string) => MockProduct[];
|
|
31
|
+
/** Get all unique cart categories */
|
|
32
|
+
export declare const getCategories: () => string[];
|
|
33
|
+
/** Get all unique menu item sub-categories */
|
|
34
|
+
export declare const getSubCategories: () => string[];
|
|
35
|
+
/** Get carts that are currently open */
|
|
36
|
+
export declare const getOpenCarts: () => MockCart[];
|
|
37
|
+
/** Get verified carts only */
|
|
38
|
+
export declare const getVerifiedCarts: () => MockCart[];
|
|
39
|
+
/** Get carts sorted by rating (descending) */
|
|
40
|
+
export declare const getTopRatedCarts: (limit?: number) => MockCart[];
|
|
41
|
+
/** Get carts sorted by distance (ascending) */
|
|
42
|
+
export declare const getNearbyCarts: (limit?: number) => MockCart[];
|
|
43
|
+
/** Aggregated mock data service */
|
|
44
|
+
export declare const mockDataService: {
|
|
45
|
+
searchCarts: (query: string) => MockCart[];
|
|
46
|
+
searchProducts: (query: string) => MockProduct[];
|
|
47
|
+
getCartsByCategory: (category: string) => MockCart[];
|
|
48
|
+
getProductsByCategory: (category: string) => MockProduct[];
|
|
49
|
+
getInvestmentOpportunityByCartId: (cartId: string) => InvestmentOpportunity | undefined;
|
|
50
|
+
getCategories: () => string[];
|
|
51
|
+
getSubCategories: () => string[];
|
|
52
|
+
getOpenCarts: () => MockCart[];
|
|
53
|
+
getVerifiedCarts: () => MockCart[];
|
|
54
|
+
getTopRatedCarts: (limit?: number) => MockCart[];
|
|
55
|
+
getNearbyCarts: (limit?: number) => MockCart[];
|
|
56
|
+
getCartById: (cartId: string) => MockCart | undefined;
|
|
57
|
+
getOrderById: (orderId: string) => MockOrder | undefined;
|
|
58
|
+
getOrdersByStatus: (status: OrderStatus) => MockOrder[];
|
|
59
|
+
getRecentOrders: (limit?: number) => MockOrder[];
|
|
60
|
+
};
|
|
61
|
+
//# sourceMappingURL=data.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../src/coolandlovely/mocks/data.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EACV,QAAQ,EACR,SAAS,EACT,WAAW,EACX,qBAAqB,EACrB,UAAU,EACV,cAAc,EACd,cAAc,EACd,UAAU,EACV,cAAc,EACd,WAAW,EACX,WAAW,EACZ,MAAM,UAAU,CAAC;AAMlB,eAAO,MAAM,SAAS,EAAE,QAAQ,EA2hC/B,CAAC;AAMF,eAAO,MAAM,YAAY,EAAE,WAAW,EAerC,CAAC;AAMF,eAAO,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