@burdenoff/microfe-kadaikodi 2026.704.5 → 2026.710.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/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 +7 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -1
- package/dist/kadaikodi/KadaikodiRoot.d.ts +5 -0
- package/dist/kadaikodi/KadaikodiRoot.d.ts.map +1 -0
- package/dist/kadaikodi/KadaikodiRoutes.d.ts +4 -0
- package/dist/kadaikodi/KadaikodiRoutes.d.ts.map +1 -0
- package/dist/kadaikodi/components/CartCard.d.ts +18 -0
- package/dist/kadaikodi/components/CartCard.d.ts.map +1 -0
- package/dist/kadaikodi/components/EmptyState.d.ts +17 -0
- package/dist/kadaikodi/components/EmptyState.d.ts.map +1 -0
- package/dist/kadaikodi/components/InvestmentCard.d.ts +18 -0
- package/dist/kadaikodi/components/InvestmentCard.d.ts.map +1 -0
- package/dist/kadaikodi/components/MetricsCard.d.ts +16 -0
- package/dist/kadaikodi/components/MetricsCard.d.ts.map +1 -0
- package/dist/kadaikodi/components/OrderCard.d.ts +18 -0
- package/dist/kadaikodi/components/OrderCard.d.ts.map +1 -0
- package/dist/kadaikodi/components/PageLayout.d.ts +12 -0
- package/dist/kadaikodi/components/PageLayout.d.ts.map +1 -0
- package/dist/kadaikodi/components/RatingDisplay.d.ts +12 -0
- package/dist/kadaikodi/components/RatingDisplay.d.ts.map +1 -0
- package/dist/kadaikodi/components/StatusBadge.d.ts +9 -0
- package/dist/kadaikodi/components/StatusBadge.d.ts.map +1 -0
- package/dist/kadaikodi/components/index.d.ts +13 -0
- package/dist/kadaikodi/components/index.d.ts.map +1 -0
- package/dist/kadaikodi/components/viz/AllocationBar.d.ts +21 -0
- package/dist/kadaikodi/components/viz/AllocationBar.d.ts.map +1 -0
- package/dist/kadaikodi/components/viz/AreaChart.d.ts +18 -0
- package/dist/kadaikodi/components/viz/AreaChart.d.ts.map +1 -0
- package/dist/kadaikodi/components/viz/AvatarStack.d.ts +13 -0
- package/dist/kadaikodi/components/viz/AvatarStack.d.ts.map +1 -0
- package/dist/kadaikodi/components/viz/BarChart.d.ts +17 -0
- package/dist/kadaikodi/components/viz/BarChart.d.ts.map +1 -0
- package/dist/kadaikodi/components/viz/CertificateCard.d.ts +14 -0
- package/dist/kadaikodi/components/viz/CertificateCard.d.ts.map +1 -0
- package/dist/kadaikodi/components/viz/DonutChart.d.ts +20 -0
- package/dist/kadaikodi/components/viz/DonutChart.d.ts.map +1 -0
- package/dist/kadaikodi/components/viz/HBarFunnel.d.ts +17 -0
- package/dist/kadaikodi/components/viz/HBarFunnel.d.ts.map +1 -0
- package/dist/kadaikodi/components/viz/Heatmap.d.ts +26 -0
- package/dist/kadaikodi/components/viz/Heatmap.d.ts.map +1 -0
- package/dist/kadaikodi/components/viz/KanbanBoard.d.ts +17 -0
- package/dist/kadaikodi/components/viz/KanbanBoard.d.ts.map +1 -0
- package/dist/kadaikodi/components/viz/LineChart.d.ts +20 -0
- package/dist/kadaikodi/components/viz/LineChart.d.ts.map +1 -0
- package/dist/kadaikodi/components/viz/OrgTree.d.ts +14 -0
- package/dist/kadaikodi/components/viz/OrgTree.d.ts.map +1 -0
- package/dist/kadaikodi/components/viz/PathSteps.d.ts +17 -0
- package/dist/kadaikodi/components/viz/PathSteps.d.ts.map +1 -0
- package/dist/kadaikodi/components/viz/ProgressRing.d.ts +20 -0
- package/dist/kadaikodi/components/viz/ProgressRing.d.ts.map +1 -0
- package/dist/kadaikodi/components/viz/RatingStars.d.ts +14 -0
- package/dist/kadaikodi/components/viz/RatingStars.d.ts.map +1 -0
- package/dist/kadaikodi/components/viz/SegmentedTabs.d.ts +26 -0
- package/dist/kadaikodi/components/viz/SegmentedTabs.d.ts.map +1 -0
- package/dist/kadaikodi/components/viz/SkillBar.d.ts +17 -0
- package/dist/kadaikodi/components/viz/SkillBar.d.ts.map +1 -0
- package/dist/kadaikodi/components/viz/Sparkline.d.ts +16 -0
- package/dist/kadaikodi/components/viz/Sparkline.d.ts.map +1 -0
- package/dist/kadaikodi/components/viz/StatCard.d.ts +22 -0
- package/dist/kadaikodi/components/viz/StatCard.d.ts.map +1 -0
- package/dist/kadaikodi/components/viz/StepProgress.d.ts +17 -0
- package/dist/kadaikodi/components/viz/StepProgress.d.ts.map +1 -0
- package/dist/kadaikodi/components/viz/Timeline.d.ts +21 -0
- package/dist/kadaikodi/components/viz/Timeline.d.ts.map +1 -0
- package/dist/kadaikodi/components/viz/index.d.ts +35 -0
- package/dist/kadaikodi/components/viz/index.d.ts.map +1 -0
- package/dist/kadaikodi/components/viz/lib/Avatar.d.ts +15 -0
- package/dist/kadaikodi/components/viz/lib/Avatar.d.ts.map +1 -0
- package/dist/kadaikodi/components/viz/lib/CartesianFrame.d.ts +44 -0
- package/dist/kadaikodi/components/viz/lib/CartesianFrame.d.ts.map +1 -0
- package/dist/kadaikodi/components/viz/lib/ResponsiveSvg.d.ts +27 -0
- package/dist/kadaikodi/components/viz/lib/ResponsiveSvg.d.ts.map +1 -0
- package/dist/kadaikodi/components/viz/lib/format.d.ts +10 -0
- package/dist/kadaikodi/components/viz/lib/format.d.ts.map +1 -0
- package/dist/kadaikodi/components/viz/lib/geometry.d.ts +41 -0
- package/dist/kadaikodi/components/viz/lib/geometry.d.ts.map +1 -0
- package/dist/kadaikodi/components/viz/lib/hooks.d.ts +18 -0
- package/dist/kadaikodi/components/viz/lib/hooks.d.ts.map +1 -0
- package/dist/kadaikodi/components/viz/lib/palette.d.ts +31 -0
- package/dist/kadaikodi/components/viz/lib/palette.d.ts.map +1 -0
- package/dist/kadaikodi/components/viz/lib/types.d.ts +27 -0
- package/dist/kadaikodi/components/viz/lib/types.d.ts.map +1 -0
- package/dist/kadaikodi/context/KadaikodiContext.d.ts +16 -0
- package/dist/kadaikodi/context/KadaikodiContext.d.ts.map +1 -0
- package/dist/kadaikodi/context/index.d.ts +6 -0
- package/dist/kadaikodi/context/index.d.ts.map +1 -0
- package/dist/kadaikodi/hooks/index.d.ts +2 -0
- package/dist/kadaikodi/hooks/index.d.ts.map +1 -0
- package/dist/kadaikodi/hooks/useKadaikodiApi.d.ts +169 -0
- package/dist/kadaikodi/hooks/useKadaikodiApi.d.ts.map +1 -0
- package/dist/kadaikodi/index.d.ts +11 -0
- package/dist/kadaikodi/index.d.ts.map +1 -0
- package/dist/kadaikodi/pages/HomePage.d.ts +14 -0
- package/dist/kadaikodi/pages/HomePage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/admin/AdminAnalyticsPage.d.ts +13 -0
- package/dist/kadaikodi/pages/admin/AdminAnalyticsPage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/admin/AdminDashboard.d.ts +13 -0
- package/dist/kadaikodi/pages/admin/AdminDashboard.d.ts.map +1 -0
- package/dist/kadaikodi/pages/admin/AdminFinancialPage.d.ts +12 -0
- package/dist/kadaikodi/pages/admin/AdminFinancialPage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/admin/AdminOrdersPage.d.ts +11 -0
- package/dist/kadaikodi/pages/admin/AdminOrdersPage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/admin/AdminProfilePage.d.ts +11 -0
- package/dist/kadaikodi/pages/admin/AdminProfilePage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/admin/AdminSettingsPage.d.ts +10 -0
- package/dist/kadaikodi/pages/admin/AdminSettingsPage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/admin/CartManagementPage.d.ts +13 -0
- package/dist/kadaikodi/pages/admin/CartManagementPage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/admin/UserManagementPage.d.ts +10 -0
- package/dist/kadaikodi/pages/admin/UserManagementPage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/cart-owner/AnalyticsDashboard.d.ts +13 -0
- package/dist/kadaikodi/pages/cart-owner/AnalyticsDashboard.d.ts.map +1 -0
- package/dist/kadaikodi/pages/cart-owner/BusinessSettingsPage.d.ts +11 -0
- package/dist/kadaikodi/pages/cart-owner/BusinessSettingsPage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/cart-owner/CartOwnerDashboard.d.ts +12 -0
- package/dist/kadaikodi/pages/cart-owner/CartOwnerDashboard.d.ts.map +1 -0
- package/dist/kadaikodi/pages/cart-owner/CartOwnerProfilePage.d.ts +12 -0
- package/dist/kadaikodi/pages/cart-owner/CartOwnerProfilePage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/cart-owner/CartServiceConfigPage.d.ts +11 -0
- package/dist/kadaikodi/pages/cart-owner/CartServiceConfigPage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/cart-owner/InventoryManagementPage.d.ts +11 -0
- package/dist/kadaikodi/pages/cart-owner/InventoryManagementPage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/cart-owner/InvestmentListingPage.d.ts +2 -0
- package/dist/kadaikodi/pages/cart-owner/InvestmentListingPage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/cart-owner/MerchantOnboardingPage.d.ts +2 -0
- package/dist/kadaikodi/pages/cart-owner/MerchantOnboardingPage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/cart-owner/OrderManagementPage.d.ts +10 -0
- package/dist/kadaikodi/pages/cart-owner/OrderManagementPage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/cart-owner/StaffManagementPage.d.ts +12 -0
- package/dist/kadaikodi/pages/cart-owner/StaffManagementPage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/common/HelpSupportPage.d.ts +11 -0
- package/dist/kadaikodi/pages/common/HelpSupportPage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/common/NotificationCenterPage.d.ts +10 -0
- package/dist/kadaikodi/pages/common/NotificationCenterPage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/common/SettingsPage.d.ts +19 -0
- package/dist/kadaikodi/pages/common/SettingsPage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/customer/BookingDetailsPage.d.ts +12 -0
- package/dist/kadaikodi/pages/customer/BookingDetailsPage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/customer/CartDetailPage.d.ts +13 -0
- package/dist/kadaikodi/pages/customer/CartDetailPage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/customer/CartDiscoveryPage.d.ts +11 -0
- package/dist/kadaikodi/pages/customer/CartDiscoveryPage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/customer/CheckoutPage.d.ts +9 -0
- package/dist/kadaikodi/pages/customer/CheckoutPage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/customer/CustomerDashboard.d.ts +10 -0
- package/dist/kadaikodi/pages/customer/CustomerDashboard.d.ts.map +1 -0
- package/dist/kadaikodi/pages/customer/CustomerProfilePage.d.ts +10 -0
- package/dist/kadaikodi/pages/customer/CustomerProfilePage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/customer/DirectServiceBookingPage.d.ts +12 -0
- package/dist/kadaikodi/pages/customer/DirectServiceBookingPage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/customer/FavoritesPage.d.ts +11 -0
- package/dist/kadaikodi/pages/customer/FavoritesPage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/customer/OrderHistoryPage.d.ts +9 -0
- package/dist/kadaikodi/pages/customer/OrderHistoryPage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/customer/OrderTrackingPage.d.ts +9 -0
- package/dist/kadaikodi/pages/customer/OrderTrackingPage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/customer/PaymentMethodsPage.d.ts +11 -0
- package/dist/kadaikodi/pages/customer/PaymentMethodsPage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/customer/ReviewsPage.d.ts +12 -0
- package/dist/kadaikodi/pages/customer/ReviewsPage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/customer/SavedAddressesPage.d.ts +10 -0
- package/dist/kadaikodi/pages/customer/SavedAddressesPage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/customer/shared.d.ts +41 -0
- package/dist/kadaikodi/pages/customer/shared.d.ts.map +1 -0
- package/dist/kadaikodi/pages/investor/InvestmentDetailsPage.d.ts +13 -0
- package/dist/kadaikodi/pages/investor/InvestmentDetailsPage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/investor/InvestmentOpportunitiesPage.d.ts +10 -0
- package/dist/kadaikodi/pages/investor/InvestmentOpportunitiesPage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/investor/InvestorAnalyticsPage.d.ts +11 -0
- package/dist/kadaikodi/pages/investor/InvestorAnalyticsPage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/investor/InvestorDashboard.d.ts +10 -0
- package/dist/kadaikodi/pages/investor/InvestorDashboard.d.ts.map +1 -0
- package/dist/kadaikodi/pages/investor/InvestorInvestmentsPage.d.ts +10 -0
- package/dist/kadaikodi/pages/investor/InvestorInvestmentsPage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/investor/InvestorPortfolioPage.d.ts +11 -0
- package/dist/kadaikodi/pages/investor/InvestorPortfolioPage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/investor/InvestorProfilePage.d.ts +20 -0
- package/dist/kadaikodi/pages/investor/InvestorProfilePage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/worker/TaskDetailsPage.d.ts +18 -0
- package/dist/kadaikodi/pages/worker/TaskDetailsPage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/worker/WorkerDashboard.d.ts +14 -0
- package/dist/kadaikodi/pages/worker/WorkerDashboard.d.ts.map +1 -0
- package/dist/kadaikodi/pages/worker/WorkerOrdersPage.d.ts +18 -0
- package/dist/kadaikodi/pages/worker/WorkerOrdersPage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/worker/WorkerProfilePage.d.ts +18 -0
- package/dist/kadaikodi/pages/worker/WorkerProfilePage.d.ts.map +1 -0
- package/dist/kadaikodi/pages/worker/WorkerSchedulePage.d.ts +16 -0
- package/dist/kadaikodi/pages/worker/WorkerSchedulePage.d.ts.map +1 -0
- package/dist/kadaikodi/store/index.d.ts +6 -0
- package/dist/kadaikodi/store/index.d.ts.map +1 -0
- package/dist/kadaikodi/store/kadaikodiStore.d.ts +60 -0
- package/dist/kadaikodi/store/kadaikodiStore.d.ts.map +1 -0
- package/dist/kadaikodi/types/index.d.ts +464 -0
- package/dist/kadaikodi/types/index.d.ts.map +1 -0
- package/dist/kadaikodi/utils/cn.d.ts +4 -0
- package/dist/kadaikodi/utils/cn.d.ts.map +1 -0
- package/dist/kadaikodi/utils/formatters.d.ts +78 -0
- package/dist/kadaikodi/utils/formatters.d.ts.map +1 -0
- package/dist/kadaikodi/utils/index.d.ts +8 -0
- package/dist/kadaikodi/utils/index.d.ts.map +1 -0
- package/dist/kadaikodi/utils/navigation.d.ts +20 -0
- package/dist/kadaikodi/utils/navigation.d.ts.map +1 -0
- package/dist/services/createSandboxAssistantTransport.d.ts +43 -0
- package/dist/services/createSandboxAssistantTransport.d.ts.map +1 -0
- package/dist/services/createSandboxAssistantTransport.js +15 -0
- package/dist/services/createSandboxAssistantTransport.js.map +1 -0
- package/package.json +5 -1
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
interface ImageWithFallbackProps {
|
|
4
|
+
src?: string | null;
|
|
5
|
+
alt: string;
|
|
6
|
+
/** Seed text for the placeholder initial (usually the name). */
|
|
7
|
+
seed?: string;
|
|
8
|
+
className?: string;
|
|
9
|
+
/** Icon shown in the placeholder (defaults to a storefront). */
|
|
10
|
+
icon?: ReactNode;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Renders `src` when present and loadable; otherwise a tokenized accent-gradient
|
|
14
|
+
* placeholder with the seed's initial. Fills its positioned parent.
|
|
15
|
+
*/
|
|
16
|
+
export declare function ImageWithFallback({ src, alt, seed, className, icon }: ImageWithFallbackProps): import("react").JSX.Element;
|
|
17
|
+
/** Convenience wrapper for provider/cart imagery. */
|
|
18
|
+
export declare function ProviderImage(props: Omit<ImageWithFallbackProps, 'icon'>): import("react").JSX.Element;
|
|
19
|
+
/** Toggle a provider id in the favorites store and notify subscribers. */
|
|
20
|
+
export declare function toggleFavorite(id: string): void;
|
|
21
|
+
/** Reactive access to the customer's saved-provider ids. */
|
|
22
|
+
export declare function useFavorites(): {
|
|
23
|
+
ids: string[];
|
|
24
|
+
has: (id: string) => boolean;
|
|
25
|
+
toggle: (id: string) => void;
|
|
26
|
+
};
|
|
27
|
+
interface StylizedRouteMapProps {
|
|
28
|
+
/** 0–1 progress of the courier along the illustrative route. */
|
|
29
|
+
progress?: number;
|
|
30
|
+
originLabel?: string;
|
|
31
|
+
destinationLabel?: string;
|
|
32
|
+
className?: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* A tokenized, animated-dashed SVG "route" between the cart and the delivery
|
|
36
|
+
* address. It is explicitly labelled as illustrative — Kadaikodi has no live-GPS
|
|
37
|
+
* feed, so this never pretends to show a real courier position.
|
|
38
|
+
*/
|
|
39
|
+
export declare function StylizedRouteMap({ progress, originLabel, destinationLabel, className, }: StylizedRouteMapProps): import("react").JSX.Element;
|
|
40
|
+
export {};
|
|
41
|
+
//# sourceMappingURL=shared.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../src/kadaikodi/pages/customer/shared.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAKL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAQf,UAAU,sBAAsB;IAC9B,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,gEAAgE;IAChE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gEAAgE;IAChE,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,sBAAsB,+BAgC5F;AAED,qDAAqD;AACrD,wBAAgB,aAAa,CAAC,KAAK,EAAE,IAAI,CAAC,sBAAsB,EAAE,MAAM,CAAC,+BAExE;AAuBD,0EAA0E;AAC1E,wBAAgB,cAAc,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAM/C;AAcD,4DAA4D;AAC5D,wBAAgB,YAAY,IAAI;IAC9B,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,GAAG,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC;IAC7B,MAAM,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9B,CAKA;AAMD,UAAU,qBAAqB;IAC7B,gEAAgE;IAChE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,QAAc,EACd,WAAoB,EACpB,gBAAwB,EACxB,SAAS,GACV,EAAE,qBAAqB,+BAoEvB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Investment Details Page
|
|
3
|
+
* @module kadaikodi/pages/investor
|
|
4
|
+
*
|
|
5
|
+
* Serves both /investor/opportunity/:id and /investor/investments/:id. Resolves
|
|
6
|
+
* the opportunity (and the investor's holding, if any) from the live backend by
|
|
7
|
+
* route id. Business metrics are read from the real service-provider record
|
|
8
|
+
* (useProvider by cartId) — never fabricated. The invest panel is wired to the
|
|
9
|
+
* live useInvest mutation; the projected-returns curve is a transparent forecast
|
|
10
|
+
* computed from the stated expected return, not invented performance data.
|
|
11
|
+
*/
|
|
12
|
+
export declare function InvestmentDetailsPage(): import("react").JSX.Element;
|
|
13
|
+
//# sourceMappingURL=InvestmentDetailsPage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InvestmentDetailsPage.d.ts","sourceRoot":"","sources":["../../../../src/kadaikodi/pages/investor/InvestmentDetailsPage.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAsEH,wBAAgB,qBAAqB,gCA+dpC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Investment Opportunities Page
|
|
3
|
+
* @module kadaikodi/pages/investor
|
|
4
|
+
*
|
|
5
|
+
* Platform stats, 6 filters (search/category/risk/amount/location/sort),
|
|
6
|
+
* invest modal with amount calculator, opportunity cards with images/funding
|
|
7
|
+
* progress/business metrics/documents.
|
|
8
|
+
*/
|
|
9
|
+
export declare function InvestmentOpportunitiesPage(): import("react").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=InvestmentOpportunitiesPage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InvestmentOpportunitiesPage.d.ts","sourceRoot":"","sources":["../../../../src/kadaikodi/pages/investor/InvestmentOpportunitiesPage.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAqKH,wBAAgB,2BAA2B,gCAqnB1C"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Investor Analytics Page
|
|
3
|
+
* @module kadaikodi/pages/investor
|
|
4
|
+
*
|
|
5
|
+
* Portfolio performance analytics rendered with the viz kit — a value-trend
|
|
6
|
+
* area chart, an allocation donut, a value-by-cart bar chart, and a ranked
|
|
7
|
+
* performance list. Every figure is derived from the investor's real holdings
|
|
8
|
+
* (useInvestments) — no fabricated analytics, trends or recommendations.
|
|
9
|
+
*/
|
|
10
|
+
export declare function InvestorAnalyticsPage(): import("react").JSX.Element;
|
|
11
|
+
//# sourceMappingURL=InvestorAnalyticsPage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InvestorAnalyticsPage.d.ts","sourceRoot":"","sources":["../../../../src/kadaikodi/pages/investor/InvestorAnalyticsPage.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAmCH,wBAAgB,qBAAqB,gCAsSpC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Investor Dashboard Page
|
|
3
|
+
* @module kadaikodi/pages/investor
|
|
4
|
+
*
|
|
5
|
+
* Portfolio overview with real metrics derived from the investor's holdings,
|
|
6
|
+
* tab navigation (my investments / new opportunities), and quick actions.
|
|
7
|
+
* All data comes from the live backend — no fabricated insights or activity.
|
|
8
|
+
*/
|
|
9
|
+
export declare function InvestorDashboard(): import("react").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=InvestorDashboard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InvestorDashboard.d.ts","sourceRoot":"","sources":["../../../../src/kadaikodi/pages/investor/InvestorDashboard.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AA8CH,wBAAgB,iBAAiB,gCAmWhC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Investor Investments Page
|
|
3
|
+
* @module kadaikodi/pages/investor
|
|
4
|
+
*
|
|
5
|
+
* Summary cards, status filter tabs with counts, responsive mobile/desktop
|
|
6
|
+
* layouts, P&L display and status icons. All rows come from the live backend
|
|
7
|
+
* (useInvestments) — no fabricated holdings.
|
|
8
|
+
*/
|
|
9
|
+
export declare function InvestorInvestmentsPage(): import("react").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=InvestorInvestmentsPage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InvestorInvestmentsPage.d.ts","sourceRoot":"","sources":["../../../../src/kadaikodi/pages/investor/InvestorInvestmentsPage.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AA6EH,wBAAgB,uBAAuB,gCA+UtC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Investor Portfolio Page
|
|
3
|
+
* @module kadaikodi/pages/investor
|
|
4
|
+
*
|
|
5
|
+
* A portfolio dashboard: headline KPI cards, a portfolio-value trend chart, an
|
|
6
|
+
* allocation donut, the full holdings table, and a recent-activity feed. Every
|
|
7
|
+
* figure — including the value trend and the activity feed — is derived from the
|
|
8
|
+
* investor's real holdings (useInvestments). No fabricated series or ledger.
|
|
9
|
+
*/
|
|
10
|
+
export declare function InvestorPortfolioPage(): import("react").JSX.Element;
|
|
11
|
+
//# sourceMappingURL=InvestorPortfolioPage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InvestorPortfolioPage.d.ts","sourceRoot":"","sources":["../../../../src/kadaikodi/pages/investor/InvestorPortfolioPage.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAuCH,wBAAgB,qBAAqB,gCAoUpC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Investor Profile Page
|
|
3
|
+
* @module kadaikodi/pages/investor
|
|
4
|
+
*
|
|
5
|
+
* 6-tab profile (personal / investment / portfolio / documents / security /
|
|
6
|
+
* notifications).
|
|
7
|
+
*
|
|
8
|
+
* Wiring rules (no fake success anywhere):
|
|
9
|
+
* - IDENTITY (name, email, phone, photo) and AUTH (password, 2FA, sessions) are
|
|
10
|
+
* platform-owned (Burdenoff account). They are shown DISPLAY-ONLY from
|
|
11
|
+
* `currentUser` and the user is routed to Account Security to change them.
|
|
12
|
+
* - APP-OWNED PROFILE + PREFERENCE fields (company / address / investor type /
|
|
13
|
+
* sectors / risk) have no server of their own, so they are edited and
|
|
14
|
+
* genuinely persisted client-side (localStorage, per user) — a real save that
|
|
15
|
+
* survives reload, not a mutation no-op.
|
|
16
|
+
* - KYC/documents and notification delivery have no backend yet, so they are
|
|
17
|
+
* rendered honestly disabled ("coming soon") rather than faking success.
|
|
18
|
+
*/
|
|
19
|
+
export declare function InvestorProfilePage(): import("react").JSX.Element;
|
|
20
|
+
//# sourceMappingURL=InvestorProfilePage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InvestorProfilePage.d.ts","sourceRoot":"","sources":["../../../../src/kadaikodi/pages/investor/InvestorProfilePage.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAwJH,wBAAgB,mBAAmB,gCAm7BlC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Task Details Page
|
|
3
|
+
*
|
|
4
|
+
* A delivery-job detail screen, elevated to the kk-worker-02-task-details
|
|
5
|
+
* concept: a stylised (honest, not-to-scale) pickup → drop route panel, a
|
|
6
|
+
* StepProgress tracker for the delivery flow, separate Pickup and Drop cards
|
|
7
|
+
* with Call / Navigate actions, an earnings summary, a delivery-note field and
|
|
8
|
+
* a single primary CTA that advances the task (Mark Picked Up → Mark Delivered).
|
|
9
|
+
*
|
|
10
|
+
* All data is real (useWorkerTasks). Status transitions use
|
|
11
|
+
* useUpdateWorkerTaskStatus; the delivery note uses useUpdateWorkerTask. Nothing
|
|
12
|
+
* is fabricated — fields the worker-task backend does not carry (per-item order
|
|
13
|
+
* breakdown, payment badge) are simply omitted.
|
|
14
|
+
*
|
|
15
|
+
* @module kadaikodi/pages/worker
|
|
16
|
+
*/
|
|
17
|
+
export declare function TaskDetailsPage(): import("react").JSX.Element;
|
|
18
|
+
//# sourceMappingURL=TaskDetailsPage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TaskDetailsPage.d.ts","sourceRoot":"","sources":["../../../../src/kadaikodi/pages/worker/TaskDetailsPage.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AA0OH,wBAAgB,eAAe,gCA0Y9B"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Worker Dashboard Page
|
|
3
|
+
*
|
|
4
|
+
* The signed-in worker's shift command centre, elevated to the delivery-driver
|
|
5
|
+
* concept in kk-worker-01-dashboard: a greeting header with a live Clocked-In /
|
|
6
|
+
* Clock-In pill, a row of KPI StatCards (earnings / deliveries / rating /
|
|
7
|
+
* completion) and delivery-style assigned-task cards with a pickup → drop route
|
|
8
|
+
* and a distance + earnings chip. All data is real (useWorkerStats /
|
|
9
|
+
* useWorkerTasks); clock + task actions are wired to the real mutations.
|
|
10
|
+
*
|
|
11
|
+
* @module kadaikodi/pages/worker
|
|
12
|
+
*/
|
|
13
|
+
export declare const WorkerDashboard: () => import("react").JSX.Element;
|
|
14
|
+
//# sourceMappingURL=WorkerDashboard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkerDashboard.d.ts","sourceRoot":"","sources":["../../../../src/kadaikodi/pages/worker/WorkerDashboard.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AA+EH,eAAO,MAAM,eAAe,mCAuc3B,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Worker Orders Page
|
|
3
|
+
*
|
|
4
|
+
* Lists the tasks assigned to the signed-in worker, sourced entirely from the
|
|
5
|
+
* live backend (useWorkerTasks / useWorkerStats). No fabricated tasks, customers,
|
|
6
|
+
* locations or numbers — empty/loading states are honest.
|
|
7
|
+
*
|
|
8
|
+
* - Loading state
|
|
9
|
+
* - Stat cards (Today's Tasks, Completed, Pending, Today's Earnings, Rating) from real stats
|
|
10
|
+
* - Current Task section for the in-progress task
|
|
11
|
+
* - Filters bar (Status, Type, Priority, Sort By) applied client-side to real tasks
|
|
12
|
+
* - Start / Complete actions wired to the updateWorkerTaskStatus mutation
|
|
13
|
+
* - Call Customer and Navigate buttons per task
|
|
14
|
+
*
|
|
15
|
+
* @module kadaikodi/pages/worker
|
|
16
|
+
*/
|
|
17
|
+
export declare const WorkerOrdersPage: () => import("react").JSX.Element;
|
|
18
|
+
//# sourceMappingURL=WorkerOrdersPage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkerOrdersPage.d.ts","sourceRoot":"","sources":["../../../../src/kadaikodi/pages/worker/WorkerOrdersPage.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AA+GH,eAAO,MAAM,gBAAgB,mCA8c5B,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Worker Profile Page
|
|
3
|
+
*
|
|
4
|
+
* Full-featured profile page with:
|
|
5
|
+
* - 6 sidebar tabs: Personal Info, Work Details, Address, Documents, Achievements, Notifications
|
|
6
|
+
* - Edit/Save/Cancel mode toggle with all form fields becoming editable
|
|
7
|
+
* - Profile image upload with camera icon overlay
|
|
8
|
+
* - Personal Info: first/last name, email, phone, DOB + Emergency Contact
|
|
9
|
+
* - Work Details: Employee ID, Designation, Department, Work Location, Joining Date, Employment Type + 3 stat cards
|
|
10
|
+
* - Address tab: Current address + Permanent address with "same as current" checkbox
|
|
11
|
+
* - Documents tab: PAN, Aadhar (masked, readonly), Bank Name, Account Number, IFSC Code + security notice
|
|
12
|
+
* - Achievements tab: badges + Performance Metrics with progress bars
|
|
13
|
+
* - Notifications tab: 5 toggle switches for notification preferences
|
|
14
|
+
*
|
|
15
|
+
* @module kadaikodi/pages/worker
|
|
16
|
+
*/
|
|
17
|
+
export declare const WorkerProfilePage: () => import("react").JSX.Element;
|
|
18
|
+
//# sourceMappingURL=WorkerProfilePage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkerProfilePage.d.ts","sourceRoot":"","sources":["../../../../src/kadaikodi/pages/worker/WorkerProfilePage.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAyFH,eAAO,MAAM,iBAAiB,mCA8yB7B,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Worker Schedule Page
|
|
3
|
+
*
|
|
4
|
+
* The signed-in worker's shifts, hours and pay, elevated to the
|
|
5
|
+
* kk-worker-03-schedule concept: a week navigator with clean shift cards
|
|
6
|
+
* (date · time · cart · status · tasks · pay) and a weekly Availability editor
|
|
7
|
+
* built from day toggles + a from/to window, persisted to the worker record
|
|
8
|
+
* (useUpdateProviderWorker → metadata.availability).
|
|
9
|
+
*
|
|
10
|
+
* All data is real (useWorkerSchedules / useProviderWorkers). No fabricated
|
|
11
|
+
* shifts, locations or numbers.
|
|
12
|
+
*
|
|
13
|
+
* @module kadaikodi/pages/worker
|
|
14
|
+
*/
|
|
15
|
+
export declare const WorkerSchedulePage: () => import("react").JSX.Element;
|
|
16
|
+
//# sourceMappingURL=WorkerSchedulePage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkerSchedulePage.d.ts","sourceRoot":"","sources":["../../../../src/kadaikodi/pages/worker/WorkerSchedulePage.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAqIH,eAAO,MAAM,kBAAkB,mCAgX9B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/kadaikodi/store/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { ViewMode } from '../types';
|
|
2
|
+
|
|
3
|
+
interface KadaikodiState {
|
|
4
|
+
viewMode: ViewMode;
|
|
5
|
+
activeSection: string;
|
|
6
|
+
sidebarCollapsed: boolean;
|
|
7
|
+
searchQuery: string;
|
|
8
|
+
categoryFilter: string;
|
|
9
|
+
selectedCartId: string | null;
|
|
10
|
+
selectedOrderId: string | null;
|
|
11
|
+
setViewMode: (mode: ViewMode) => void;
|
|
12
|
+
setActiveSection: (section: string) => void;
|
|
13
|
+
setSearchQuery: (query: string) => void;
|
|
14
|
+
setCategoryFilter: (category: string) => void;
|
|
15
|
+
setSelectedCartId: (cartId: string | null) => void;
|
|
16
|
+
setSelectedOrderId: (orderId: string | null) => void;
|
|
17
|
+
toggleSidebar: () => void;
|
|
18
|
+
reset: () => void;
|
|
19
|
+
}
|
|
20
|
+
export declare const useKadaikodiStore: import('zustand').UseBoundStore<Omit<Omit<import('zustand').StoreApi<KadaikodiState>, "setState" | "devtools"> & {
|
|
21
|
+
setState(partial: KadaikodiState | Partial<KadaikodiState> | ((state: KadaikodiState) => KadaikodiState | Partial<KadaikodiState>), replace?: false | undefined, action?: (string | {
|
|
22
|
+
[x: string]: unknown;
|
|
23
|
+
[x: number]: unknown;
|
|
24
|
+
[x: symbol]: unknown;
|
|
25
|
+
type: string;
|
|
26
|
+
}) | undefined): void;
|
|
27
|
+
setState(state: KadaikodiState | ((state: KadaikodiState) => KadaikodiState), replace: true, action?: (string | {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
[x: number]: unknown;
|
|
30
|
+
[x: symbol]: unknown;
|
|
31
|
+
type: string;
|
|
32
|
+
}) | undefined): void;
|
|
33
|
+
devtools: {
|
|
34
|
+
cleanup: () => void;
|
|
35
|
+
};
|
|
36
|
+
}, "setState" | "persist"> & {
|
|
37
|
+
setState(partial: KadaikodiState | Partial<KadaikodiState> | ((state: KadaikodiState) => KadaikodiState | Partial<KadaikodiState>), replace?: false | undefined, action?: (string | {
|
|
38
|
+
[x: string]: unknown;
|
|
39
|
+
[x: number]: unknown;
|
|
40
|
+
[x: symbol]: unknown;
|
|
41
|
+
type: string;
|
|
42
|
+
}) | undefined): unknown;
|
|
43
|
+
setState(state: KadaikodiState | ((state: KadaikodiState) => KadaikodiState), replace: true, action?: (string | {
|
|
44
|
+
[x: string]: unknown;
|
|
45
|
+
[x: number]: unknown;
|
|
46
|
+
[x: symbol]: unknown;
|
|
47
|
+
type: string;
|
|
48
|
+
}) | undefined): unknown;
|
|
49
|
+
persist: {
|
|
50
|
+
setOptions: (options: Partial<import('zustand/middleware').PersistOptions<KadaikodiState, unknown, unknown>>) => void;
|
|
51
|
+
clearStorage: () => void;
|
|
52
|
+
rehydrate: () => Promise<void> | void;
|
|
53
|
+
hasHydrated: () => boolean;
|
|
54
|
+
onHydrate: (fn: (state: KadaikodiState) => void) => () => void;
|
|
55
|
+
onFinishHydration: (fn: (state: KadaikodiState) => void) => () => void;
|
|
56
|
+
getOptions: () => Partial<import('zustand/middleware').PersistOptions<KadaikodiState, unknown, unknown>>;
|
|
57
|
+
};
|
|
58
|
+
}>;
|
|
59
|
+
export {};
|
|
60
|
+
//# sourceMappingURL=kadaikodiStore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kadaikodiStore.d.ts","sourceRoot":"","sources":["../../../src/kadaikodi/store/kadaikodiStore.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAMzC,UAAU,cAAc;IAEtB,QAAQ,EAAE,QAAQ,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,OAAO,CAAC;IAG1B,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IAGvB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAG/B,WAAW,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;IACtC,gBAAgB,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,iBAAiB,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,iBAAiB,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACnD,kBAAkB,EAAE,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACrD,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAsBD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkC7B,CAAC"}
|