@burdenoff/microfe-ggnomad 2026.705.7 → 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/dev/main.d.ts +2 -0
- package/dist/dev/main.d.ts.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/ggnomad/GGNomadRoot.d.ts +5 -0
- package/dist/ggnomad/GGNomadRoot.d.ts.map +1 -0
- package/dist/ggnomad/GGNomadRoutes.d.ts +2 -0
- package/dist/ggnomad/GGNomadRoutes.d.ts.map +1 -0
- package/dist/ggnomad/components/BookingPanel.d.ts +16 -0
- package/dist/ggnomad/components/BookingPanel.d.ts.map +1 -0
- package/dist/ggnomad/components/DetailHero.d.ts +13 -0
- package/dist/ggnomad/components/DetailHero.d.ts.map +1 -0
- package/dist/ggnomad/components/DetailRow.d.ts +8 -0
- package/dist/ggnomad/components/DetailRow.d.ts.map +1 -0
- package/dist/ggnomad/components/EntityCard.d.ts +27 -0
- package/dist/ggnomad/components/EntityCard.d.ts.map +1 -0
- package/dist/ggnomad/components/ListingEditDialog.d.ts +20 -0
- package/dist/ggnomad/components/ListingEditDialog.d.ts.map +1 -0
- package/dist/ggnomad/components/LoadMoreButton.d.ts +13 -0
- package/dist/ggnomad/components/LoadMoreButton.d.ts.map +1 -0
- package/dist/ggnomad/components/ReviewsSection.d.ts +12 -0
- package/dist/ggnomad/components/ReviewsSection.d.ts.map +1 -0
- package/dist/ggnomad/components/SectionCard.d.ts +12 -0
- package/dist/ggnomad/components/SectionCard.d.ts.map +1 -0
- package/dist/ggnomad/components/StatCard.d.ts +17 -0
- package/dist/ggnomad/components/StatCard.d.ts.map +1 -0
- package/dist/ggnomad/components/StatusBadge.d.ts +12 -0
- package/dist/ggnomad/components/StatusBadge.d.ts.map +1 -0
- package/dist/ggnomad/components/index.d.ts +11 -0
- package/dist/ggnomad/components/index.d.ts.map +1 -0
- package/dist/ggnomad/graphql.d.ts +47 -0
- package/dist/ggnomad/graphql.d.ts.map +1 -0
- package/dist/ggnomad/index.d.ts +4 -0
- package/dist/ggnomad/index.d.ts.map +1 -0
- package/dist/ggnomad/pages/ActivityDetailsPage.d.ts +2 -0
- package/dist/ggnomad/pages/ActivityDetailsPage.d.ts.map +1 -0
- package/dist/ggnomad/pages/AnalyticsPage.d.ts +2 -0
- package/dist/ggnomad/pages/AnalyticsPage.d.ts.map +1 -0
- package/dist/ggnomad/pages/BookingsPage.d.ts +2 -0
- package/dist/ggnomad/pages/BookingsPage.d.ts.map +1 -0
- package/dist/ggnomad/pages/DashboardPage.d.ts +2 -0
- package/dist/ggnomad/pages/DashboardPage.d.ts.map +1 -0
- package/dist/ggnomad/pages/EntertainmentPage.d.ts +2 -0
- package/dist/ggnomad/pages/EntertainmentPage.d.ts.map +1 -0
- package/dist/ggnomad/pages/EventDetailsPage.d.ts +2 -0
- package/dist/ggnomad/pages/EventDetailsPage.d.ts.map +1 -0
- package/dist/ggnomad/pages/FavoritesPage.d.ts +2 -0
- package/dist/ggnomad/pages/FavoritesPage.d.ts.map +1 -0
- package/dist/ggnomad/pages/HospitalityPage.d.ts +2 -0
- package/dist/ggnomad/pages/HospitalityPage.d.ts.map +1 -0
- package/dist/ggnomad/pages/PageShell.d.ts +23 -0
- package/dist/ggnomad/pages/PageShell.d.ts.map +1 -0
- package/dist/ggnomad/pages/PropertyDetailsPage.d.ts +2 -0
- package/dist/ggnomad/pages/PropertyDetailsPage.d.ts.map +1 -0
- package/dist/ggnomad/pages/ProviderPage.d.ts +2 -0
- package/dist/ggnomad/pages/ProviderPage.d.ts.map +1 -0
- package/dist/ggnomad/pages/SearchPage.d.ts +2 -0
- package/dist/ggnomad/pages/SearchPage.d.ts.map +1 -0
- package/dist/ggnomad/pages/TourDetailsPage.d.ts +2 -0
- package/dist/ggnomad/pages/TourDetailsPage.d.ts.map +1 -0
- package/dist/ggnomad/pages/TourismPage.d.ts +2 -0
- package/dist/ggnomad/pages/TourismPage.d.ts.map +1 -0
- package/dist/ggnomad/pages/TravelPage.d.ts +2 -0
- package/dist/ggnomad/pages/TravelPage.d.ts.map +1 -0
- package/dist/ggnomad/pages/TripPlanDetailPage.d.ts +2 -0
- package/dist/ggnomad/pages/TripPlanDetailPage.d.ts.map +1 -0
- package/dist/ggnomad/pages/TripsPage.d.ts +2 -0
- package/dist/ggnomad/pages/TripsPage.d.ts.map +1 -0
- package/dist/ggnomad/providers/GGNomadProvider.d.ts +6 -0
- package/dist/ggnomad/providers/GGNomadProvider.d.ts.map +1 -0
- package/dist/ggnomad/types/index.d.ts +58 -0
- package/dist/ggnomad/types/index.d.ts.map +1 -0
- package/dist/ggnomad/utils/cn.d.ts +4 -0
- package/dist/ggnomad/utils/cn.d.ts.map +1 -0
- package/dist/ggnomad/utils/navigation.d.ts +2 -0
- package/dist/ggnomad/utils/navigation.d.ts.map +1 -0
- package/dist/ggnomad/utils/notify.d.ts +22 -0
- package/dist/ggnomad/utils/notify.d.ts.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -1
- package/dist/services/createSandboxAssistantTransport.d.ts +44 -0
- package/dist/services/createSandboxAssistantTransport.d.ts.map +1 -0
- package/dist/services/createSandboxAssistantTransport.js +338 -0
- package/dist/services/createSandboxAssistantTransport.js.map +1 -0
- package/dist/utils/pageContext.d.ts +28 -0
- package/dist/utils/pageContext.d.ts.map +1 -0
- package/dist/utils/pageContext.js +50 -0
- package/dist/utils/pageContext.js.map +1 -0
- package/package.json +5 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GGNomadRoot.d.ts","sourceRoot":"","sources":["../../src/ggnomad/GGNomadRoot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAoBhC,OAAO,KAAK,EAAE,gBAAgB,EAAW,MAAM,SAAS,CAAC;AAGzD,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CA0H5C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GGNomadRoutes.d.ts","sourceRoot":"","sources":["../../src/ggnomad/GGNomadRoutes.tsx"],"names":[],"mappings":"AA0DA,wBAAgB,aAAa,gCAwB5B"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type BookingType = 'PROPERTY' | 'TOUR' | 'EVENT' | 'ACTIVITY';
|
|
2
|
+
type BookingPanelProps = {
|
|
3
|
+
bookingType: BookingType;
|
|
4
|
+
itemId: string;
|
|
5
|
+
itemName: string;
|
|
6
|
+
unitPrice: number;
|
|
7
|
+
currency: string;
|
|
8
|
+
/** For PROPERTY bookings, the number of nights to calculate price */
|
|
9
|
+
nights?: number;
|
|
10
|
+
/** For EVENT bookings, the event date (ISO string) */
|
|
11
|
+
eventDate?: string;
|
|
12
|
+
};
|
|
13
|
+
/** Frosted glass booking panel with type-specific inputs and real createGgnomadBooking mutation. */
|
|
14
|
+
export declare function BookingPanel({ bookingType, itemId, itemName, unitPrice, currency, nights, eventDate, }: BookingPanelProps): import("react").JSX.Element;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=BookingPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BookingPanel.d.ts","sourceRoot":"","sources":["../../../src/ggnomad/components/BookingPanel.tsx"],"names":[],"mappings":"AAcA,KAAK,WAAW,GAAG,UAAU,GAAG,MAAM,GAAG,OAAO,GAAG,UAAU,CAAC;AAE9D,KAAK,iBAAiB,GAAG;IACvB,WAAW,EAAE,WAAW,CAAC;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,qEAAqE;IACrE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,sDAAsD;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,oGAAoG;AACpG,wBAAgB,YAAY,CAAC,EAC3B,WAAW,EACX,MAAM,EACN,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,MAAM,EACN,SAAS,GACV,EAAE,iBAAiB,+BAySnB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
interface DetailHeroProps {
|
|
2
|
+
/** Primary cover image URL; a branded gradient is shown when absent. */
|
|
3
|
+
image?: string | null;
|
|
4
|
+
alt?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Full-width hero cover for a listing detail page — a 21:9 photo with a bottom
|
|
9
|
+
* gradient scrim, or a branded gradient fallback when the listing has no media.
|
|
10
|
+
*/
|
|
11
|
+
export declare function DetailHero({ image, alt, className }: DetailHeroProps): import("react").JSX.Element;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=DetailHero.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DetailHero.d.ts","sourceRoot":"","sources":["../../../src/ggnomad/components/DetailHero.tsx"],"names":[],"mappings":"AAEA,UAAU,eAAe;IACvB,wEAAwE;IACxE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,EAAE,eAAe,+BAyBpE"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
/** A single label/value pair inside a details list (low-contrast, tabular). */
|
|
4
|
+
export declare function DetailRow({ label, value }: {
|
|
5
|
+
label: string;
|
|
6
|
+
value: ReactNode;
|
|
7
|
+
}): import("react").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=DetailRow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DetailRow.d.ts","sourceRoot":"","sources":["../../../src/ggnomad/components/DetailRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,+EAA+E;AAC/E,wBAAgB,SAAS,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,SAAS,CAAA;CAAE,+BAO9E"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
type EntityCardProps = {
|
|
4
|
+
title: ReactNode;
|
|
5
|
+
/** Optional secondary line (category / type / duration). */
|
|
6
|
+
meta?: ReactNode;
|
|
7
|
+
/** Right-aligned price or primary figure. */
|
|
8
|
+
price?: ReactNode;
|
|
9
|
+
badge?: ReactNode;
|
|
10
|
+
footer?: ReactNode;
|
|
11
|
+
/** Optional cover photo URL. Falls back to a branded gradient tile. */
|
|
12
|
+
image?: string | null;
|
|
13
|
+
/** Accessible description for the cover photo. */
|
|
14
|
+
imageAlt?: string;
|
|
15
|
+
/** When provided, the whole card becomes a router Link. */
|
|
16
|
+
to?: string;
|
|
17
|
+
className?: string;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* An inventory tile for a property / tour / event / activity / provider. When an
|
|
21
|
+
* `image` is supplied it renders a 16:10 cover photo (with a branded gradient
|
|
22
|
+
* fallback otherwise) above the title / meta / price. Hover lifts the shadow and
|
|
23
|
+
* gently zooms the photo. When `to` is set the whole surface is one accessible link.
|
|
24
|
+
*/
|
|
25
|
+
export declare function EntityCard({ title, meta, price, badge, footer, image, imageAlt, to, className, }: EntityCardProps): import("react").JSX.Element;
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=EntityCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EntityCard.d.ts","sourceRoot":"","sources":["../../../src/ggnomad/components/EntityCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,KAAK,eAAe,GAAG;IACrB,KAAK,EAAE,SAAS,CAAC;IACjB,4DAA4D;IAC5D,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,6CAA6C;IAC7C,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,uEAAuE;IACvE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,kDAAkD;IAClD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,2DAA2D;IAC3D,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,IAAI,EACJ,KAAK,EACL,KAAK,EACL,MAAM,EACN,KAAK,EACL,QAAQ,EACR,EAAE,EACF,SAAS,GACV,EAAE,eAAe,+BA4DjB"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
type TargetType = 'PROPERTY' | 'TOUR' | 'EVENT' | 'ACTIVITY';
|
|
2
|
+
interface ListingEditDialogProps {
|
|
3
|
+
open: boolean;
|
|
4
|
+
onOpenChange: (open: boolean) => void;
|
|
5
|
+
targetType: TargetType;
|
|
6
|
+
id: string;
|
|
7
|
+
initial: {
|
|
8
|
+
name?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
price?: number;
|
|
11
|
+
pricePerNight?: number;
|
|
12
|
+
status?: string;
|
|
13
|
+
images?: string[];
|
|
14
|
+
};
|
|
15
|
+
onSaved?: () => void;
|
|
16
|
+
}
|
|
17
|
+
/** Edit dialog for listing details (property, tour, event, activity). */
|
|
18
|
+
export declare function ListingEditDialog({ open, onOpenChange, targetType, id, initial, onSaved, }: ListingEditDialogProps): import("react").JSX.Element;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=ListingEditDialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListingEditDialog.d.ts","sourceRoot":"","sources":["../../../src/ggnomad/components/ListingEditDialog.tsx"],"names":[],"mappings":"AAwBA,KAAK,UAAU,GAAG,UAAU,GAAG,MAAM,GAAG,OAAO,GAAG,UAAU,CAAC;AAE7D,UAAU,sBAAsB;IAC9B,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,UAAU,EAAE,UAAU,CAAC;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE;QACP,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;KACnB,CAAC;IACF,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,yEAAyE;AACzE,wBAAgB,iBAAiB,CAAC,EAChC,IAAI,EACJ,YAAY,EACZ,UAAU,EACV,EAAE,EACF,OAAO,EACP,OAAO,GACR,EAAE,sBAAsB,+BA4RxB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
interface LoadMoreButtonProps {
|
|
2
|
+
/** Whether more items may exist (typically items.length >= current limit). */
|
|
3
|
+
visible: boolean;
|
|
4
|
+
/** Increase the page limit to fetch the next batch. */
|
|
5
|
+
onLoadMore: () => void;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Offset "Load more" control shown under a list grid when the current page is
|
|
9
|
+
* full and more results may exist. Tokenized + responsive; no fixed widths.
|
|
10
|
+
*/
|
|
11
|
+
export declare function LoadMoreButton({ visible, onLoadMore }: LoadMoreButtonProps): import("react").JSX.Element | null;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=LoadMoreButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoadMoreButton.d.ts","sourceRoot":"","sources":["../../../src/ggnomad/components/LoadMoreButton.tsx"],"names":[],"mappings":"AAEA,UAAU,mBAAmB;IAC3B,8EAA8E;IAC9E,OAAO,EAAE,OAAO,CAAC;IACjB,uDAAuD;IACvD,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,EAAE,mBAAmB,sCAc1E"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type GgnomadBookingType = 'PROPERTY' | 'TOUR' | 'EVENT' | 'ACTIVITY';
|
|
2
|
+
type ReviewsSectionProps = {
|
|
3
|
+
targetType: GgnomadBookingType;
|
|
4
|
+
targetId: string;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* ReviewsSection component.
|
|
8
|
+
* Displays review summary, list, and composition UI for a bookable item.
|
|
9
|
+
*/
|
|
10
|
+
export declare function ReviewsSection({ targetType, targetId }: ReviewsSectionProps): import("react").JSX.Element;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=ReviewsSection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReviewsSection.d.ts","sourceRoot":"","sources":["../../../src/ggnomad/components/ReviewsSection.tsx"],"names":[],"mappings":"AAeA,KAAK,kBAAkB,GAAG,UAAU,GAAG,MAAM,GAAG,OAAO,GAAG,UAAU,CAAC;AAErE,KAAK,mBAAmB,GAAG;IACzB,UAAU,EAAE,kBAAkB,CAAC;IAC/B,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAyUF;;;GAGG;AACH,wBAAgB,cAAc,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,EAAE,mBAAmB,+BAuH3E"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PropsWithChildren, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
type SectionCardProps = PropsWithChildren<{
|
|
4
|
+
title?: ReactNode;
|
|
5
|
+
action?: ReactNode;
|
|
6
|
+
className?: string;
|
|
7
|
+
treatment?: 'plain' | 'glass' | 'metric' | 'insight';
|
|
8
|
+
}>;
|
|
9
|
+
/** A titled glass surface used for grouped content blocks. */
|
|
10
|
+
export declare function SectionCard({ title, action, className, treatment, children, }: SectionCardProps): import("react").JSX.Element;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=SectionCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SectionCard.d.ts","sourceRoot":"","sources":["../../../src/ggnomad/components/SectionCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAI1D,KAAK,gBAAgB,GAAG,iBAAiB,CAAC;IACxC,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,CAAC;CACtD,CAAC,CAAC;AAEH,8DAA8D;AAC9D,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,MAAM,EACN,SAAS,EACT,SAAmB,EACnB,QAAQ,GACT,EAAE,gBAAgB,+BAgBlB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
type StatCardProps = {
|
|
4
|
+
label: string;
|
|
5
|
+
value: ReactNode;
|
|
6
|
+
icon?: ReactNode;
|
|
7
|
+
/** The single most important metric on a page reads as the glass hero tile. */
|
|
8
|
+
hero?: boolean;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* KPI / metric tile. Neutral metric tiles use the GlassCard "metric" treatment;
|
|
12
|
+
* the page's hero metric uses the "glass" treatment with a soft accent glow and
|
|
13
|
+
* a gradient numeral. Numbers are tabular for calm vertical alignment.
|
|
14
|
+
*/
|
|
15
|
+
export declare function StatCard({ label, value, icon, hero }: StatCardProps): import("react").JSX.Element;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=StatCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatCard.d.ts","sourceRoot":"","sources":["../../../src/ggnomad/components/StatCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,KAAK,aAAa,GAAG;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,+EAA+E;IAC/E,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,IAAY,EAAE,EAAE,aAAa,+BAgB3E"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type Tone = 'success' | 'warning' | 'danger' | 'info' | 'neutral';
|
|
2
|
+
/** Maps a free-form status string to a semantic tone. */
|
|
3
|
+
export declare function toneForStatus(status: string): Tone;
|
|
4
|
+
type StatusBadgeProps = {
|
|
5
|
+
status: string;
|
|
6
|
+
/** Pulses the dot for live/active states (opacity only, reduced-motion-safe). */
|
|
7
|
+
live?: boolean;
|
|
8
|
+
className?: string;
|
|
9
|
+
};
|
|
10
|
+
export declare function StatusBadge({ status, live, className }: StatusBadgeProps): import("react").JSX.Element;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=StatusBadge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatusBadge.d.ts","sourceRoot":"","sources":["../../../src/ggnomad/components/StatusBadge.tsx"],"names":[],"mappings":"AAEA,KAAK,IAAI,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,CAAC;AA8BlE,yDAAyD;AACzD,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAYlD;AAED,KAAK,gBAAgB,GAAG;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,iFAAiF;IACjF,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,wBAAgB,WAAW,CAAC,EAAE,MAAM,EAAE,IAAY,EAAE,SAAS,EAAE,EAAE,gBAAgB,+BAsBhF"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { StatCard } from './StatCard';
|
|
2
|
+
export { StatusBadge, toneForStatus } from './StatusBadge';
|
|
3
|
+
export { SectionCard } from './SectionCard';
|
|
4
|
+
export { EntityCard } from './EntityCard';
|
|
5
|
+
export { DetailRow } from './DetailRow';
|
|
6
|
+
export { LoadMoreButton } from './LoadMoreButton';
|
|
7
|
+
export { DetailHero } from './DetailHero';
|
|
8
|
+
export { BookingPanel } from './BookingPanel';
|
|
9
|
+
export { ReviewsSection } from './ReviewsSection';
|
|
10
|
+
export { ListingEditDialog } from './ListingEditDialog';
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ggnomad/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export declare const GGNOMAD_OVERVIEW_QUERY: import('graphql').DocumentNode;
|
|
2
|
+
/**
|
|
3
|
+
* One bookable item of each type (properties are priced per night, the rest
|
|
4
|
+
* carry a flat price). Used to seed the Bookings "create demo booking" action
|
|
5
|
+
* with a REAL listing id so the mutation passes the backend's
|
|
6
|
+
* assertTargetInWorkspace check instead of failing on a synthetic id.
|
|
7
|
+
*/
|
|
8
|
+
export declare const GGNOMAD_BOOKABLE_SAMPLE_QUERY: import('graphql').DocumentNode;
|
|
9
|
+
/**
|
|
10
|
+
* id + name for every favouritable listing type, used to (a) resolve the real
|
|
11
|
+
* entity name for a saved favorite (which the backend only exposes as
|
|
12
|
+
* targetType + targetId) and (b) seed the "toggle demo favorite" action with a
|
|
13
|
+
* real target id.
|
|
14
|
+
*/
|
|
15
|
+
export declare const GGNOMAD_FAVORITE_TARGETS_QUERY: import('graphql').DocumentNode;
|
|
16
|
+
export declare const GGNOMAD_PROVIDERS_QUERY: import('graphql').DocumentNode;
|
|
17
|
+
export declare const GGNOMAD_PROPERTIES_QUERY: import('graphql').DocumentNode;
|
|
18
|
+
export declare const GGNOMAD_PROPERTY_QUERY: import('graphql').DocumentNode;
|
|
19
|
+
export declare const GGNOMAD_PROPERTY_FOR_BOOKING_QUERY: import('graphql').DocumentNode;
|
|
20
|
+
export declare const GGNOMAD_TOURS_QUERY: import('graphql').DocumentNode;
|
|
21
|
+
export declare const GGNOMAD_TOUR_QUERY: import('graphql').DocumentNode;
|
|
22
|
+
export declare const GGNOMAD_EVENTS_QUERY: import('graphql').DocumentNode;
|
|
23
|
+
export declare const GGNOMAD_EVENT_QUERY: import('graphql').DocumentNode;
|
|
24
|
+
export declare const GGNOMAD_ACTIVITIES_QUERY: import('graphql').DocumentNode;
|
|
25
|
+
export declare const GGNOMAD_ACTIVITY_QUERY: import('graphql').DocumentNode;
|
|
26
|
+
export declare const GGNOMAD_TRIPS_QUERY: import('graphql').DocumentNode;
|
|
27
|
+
export declare const GGNOMAD_BOOKINGS_QUERY: import('graphql').DocumentNode;
|
|
28
|
+
export declare const GGNOMAD_FAVORITES_QUERY: import('graphql').DocumentNode;
|
|
29
|
+
export declare const CREATE_GGNOMAD_BOOKING_MUTATION: import('graphql').DocumentNode;
|
|
30
|
+
export declare const TOGGLE_GGNOMAD_FAVORITE_MUTATION: import('graphql').DocumentNode;
|
|
31
|
+
export declare const CANCEL_GGNOMAD_BOOKING_MUTATION: import('graphql').DocumentNode;
|
|
32
|
+
export declare const GGNOMAD_TRIP_PLANS_QUERY: import('graphql').DocumentNode;
|
|
33
|
+
export declare const GGNOMAD_TRIP_PLAN_QUERY: import('graphql').DocumentNode;
|
|
34
|
+
export declare const CREATE_GGNOMAD_TRIP_PLAN_MUTATION: import('graphql').DocumentNode;
|
|
35
|
+
export declare const UPDATE_GGNOMAD_TRIP_PLAN_MUTATION: import('graphql').DocumentNode;
|
|
36
|
+
export declare const DELETE_GGNOMAD_TRIP_PLAN_MUTATION: import('graphql').DocumentNode;
|
|
37
|
+
export declare const ADD_GGNOMAD_TRIP_PLAN_ITEM_MUTATION: import('graphql').DocumentNode;
|
|
38
|
+
export declare const REMOVE_GGNOMAD_TRIP_PLAN_ITEM_MUTATION: import('graphql').DocumentNode;
|
|
39
|
+
export declare const GGNOMAD_REVIEW_SUMMARY_QUERY: import('graphql').DocumentNode;
|
|
40
|
+
export declare const GGNOMAD_REVIEWS_QUERY: import('graphql').DocumentNode;
|
|
41
|
+
export declare const CREATE_GGNOMAD_REVIEW_MUTATION: import('graphql').DocumentNode;
|
|
42
|
+
export declare const RESPOND_GGNOMAD_REVIEW_MUTATION: import('graphql').DocumentNode;
|
|
43
|
+
export declare const UPDATE_GGNOMAD_PROPERTY_MUTATION: import('graphql').DocumentNode;
|
|
44
|
+
export declare const UPDATE_GGNOMAD_TOUR_MUTATION: import('graphql').DocumentNode;
|
|
45
|
+
export declare const UPDATE_GGNOMAD_EVENT_MUTATION: import('graphql').DocumentNode;
|
|
46
|
+
export declare const UPDATE_GGNOMAD_ACTIVITY_MUTATION: import('graphql').DocumentNode;
|
|
47
|
+
//# sourceMappingURL=graphql.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graphql.d.ts","sourceRoot":"","sources":["../../src/ggnomad/graphql.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,sBAAsB,gCAgBlC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,6BAA6B,gCA2BzC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,8BAA8B,gCAmB1C,CAAC;AAEF,eAAO,MAAM,uBAAuB,gCAenC,CAAC;AAEF,eAAO,MAAM,wBAAwB,gCAkBpC,CAAC;AAEF,eAAO,MAAM,sBAAsB,gCA4BlC,CAAC;AAGF,eAAO,MAAM,kCAAkC,gCAS9C,CAAC;AAEF,eAAO,MAAM,mBAAmB,gCAkB/B,CAAC;AAEF,eAAO,MAAM,kBAAkB,gCAwB9B,CAAC;AAEF,eAAO,MAAM,oBAAoB,gCAiBhC,CAAC;AAEF,eAAO,MAAM,mBAAmB,gCAuB/B,CAAC;AAEF,eAAO,MAAM,wBAAwB,gCAoBpC,CAAC;AAEF,eAAO,MAAM,sBAAsB,gCA0BlC,CAAC;AAEF,eAAO,MAAM,mBAAmB,gCAoB/B,CAAC;AAEF,eAAO,MAAM,sBAAsB,gCAwBlC,CAAC;AAEF,eAAO,MAAM,uBAAuB,gCAInC,CAAC;AAEF,eAAO,MAAM,+BAA+B,gCAe3C,CAAC;AAEF,eAAO,MAAM,gCAAgC,gCAI5C,CAAC;AAEF,eAAO,MAAM,+BAA+B,gCAO3C,CAAC;AAGF,eAAO,MAAM,wBAAwB,gCAepC,CAAC;AAEF,eAAO,MAAM,uBAAuB,gCA2BnC,CAAC;AAGF,eAAO,MAAM,iCAAiC,gCAe7C,CAAC;AAEF,eAAO,MAAM,iCAAiC,gCAe7C,CAAC;AAEF,eAAO,MAAM,iCAAiC,gCAI7C,CAAC;AAEF,eAAO,MAAM,mCAAmC,gCAc/C,CAAC;AAEF,eAAO,MAAM,sCAAsC,gCAIlD,CAAC;AAGF,eAAO,MAAM,4BAA4B,gCAQxC,CAAC;AAEF,eAAO,MAAM,qBAAqB,gCAwBjC,CAAC;AAGF,eAAO,MAAM,8BAA8B,gCAS1C,CAAC;AAEF,eAAO,MAAM,+BAA+B,gCAQ3C,CAAC;AAGF,eAAO,MAAM,gCAAgC,gCAW5C,CAAC;AAEF,eAAO,MAAM,4BAA4B,gCAWxC,CAAC;AAEF,eAAO,MAAM,6BAA6B,gCAWzC,CAAC;AAEF,eAAO,MAAM,gCAAgC,gCAW5C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ggnomad/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActivityDetailsPage.d.ts","sourceRoot":"","sources":["../../../src/ggnomad/pages/ActivityDetailsPage.tsx"],"names":[],"mappings":"AAqBA,wBAAgB,mBAAmB,gCAsJlC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnalyticsPage.d.ts","sourceRoot":"","sources":["../../../src/ggnomad/pages/AnalyticsPage.tsx"],"names":[],"mappings":"AAyBA,wBAAgB,aAAa,gCAgL5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BookingsPage.d.ts","sourceRoot":"","sources":["../../../src/ggnomad/pages/BookingsPage.tsx"],"names":[],"mappings":"AAsCA,wBAAgB,YAAY,gCAkY3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DashboardPage.d.ts","sourceRoot":"","sources":["../../../src/ggnomad/pages/DashboardPage.tsx"],"names":[],"mappings":"AAqCA,wBAAgB,aAAa,gCAmR5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EntertainmentPage.d.ts","sourceRoot":"","sources":["../../../src/ggnomad/pages/EntertainmentPage.tsx"],"names":[],"mappings":"AAWA,wBAAgB,iBAAiB,gCAuEhC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EventDetailsPage.d.ts","sourceRoot":"","sources":["../../../src/ggnomad/pages/EventDetailsPage.tsx"],"names":[],"mappings":"AAqBA,wBAAgB,gBAAgB,gCAyJ/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FavoritesPage.d.ts","sourceRoot":"","sources":["../../../src/ggnomad/pages/FavoritesPage.tsx"],"names":[],"mappings":"AAyBA,wBAAgB,aAAa,gCAoL5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HospitalityPage.d.ts","sourceRoot":"","sources":["../../../src/ggnomad/pages/HospitalityPage.tsx"],"names":[],"mappings":"AAWA,wBAAgB,eAAe,gCAkF9B"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { PropsWithChildren, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
type PageShellProps = PropsWithChildren<{
|
|
4
|
+
title: string;
|
|
5
|
+
subtitle: string;
|
|
6
|
+
/** Highlighted key noun rendered as a GradientText accent inside the H1. */
|
|
7
|
+
titleAccent?: string;
|
|
8
|
+
/** Single primary action / overflow menu cluster rendered at the header end. */
|
|
9
|
+
actions?: ReactNode;
|
|
10
|
+
/**
|
|
11
|
+
* When true, the header becomes the MFE hero zone with a subtle aurora
|
|
12
|
+
* backdrop. Use on exactly one page per MFE (the Dashboard).
|
|
13
|
+
*/
|
|
14
|
+
hero?: boolean;
|
|
15
|
+
}>;
|
|
16
|
+
/**
|
|
17
|
+
* Boff UI 2.0 page scaffold. The header is a seamless glass band; an optional
|
|
18
|
+
* aurora backdrop turns it into the MFE hero. Content keeps its existing
|
|
19
|
+
* vertical rhythm. The accent noun in the H1 is rendered via GradientText.
|
|
20
|
+
*/
|
|
21
|
+
export declare function PageShell({ title, subtitle, titleAccent, actions, hero, children, }: PageShellProps): import("react").JSX.Element;
|
|
22
|
+
export {};
|
|
23
|
+
//# sourceMappingURL=PageShell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PageShell.d.ts","sourceRoot":"","sources":["../../../src/ggnomad/pages/PageShell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAG1D,KAAK,cAAc,GAAG,iBAAiB,CAAC;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,4EAA4E;IAC5E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gFAAgF;IAChF,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC,CAAC;AAEH;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,EACxB,KAAK,EACL,QAAQ,EACR,WAAW,EACX,OAAO,EACP,IAAY,EACZ,QAAQ,GACT,EAAE,cAAc,+BAsChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PropertyDetailsPage.d.ts","sourceRoot":"","sources":["../../../src/ggnomad/pages/PropertyDetailsPage.tsx"],"names":[],"mappings":"AAqBA,wBAAgB,mBAAmB,gCAoJlC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProviderPage.d.ts","sourceRoot":"","sources":["../../../src/ggnomad/pages/ProviderPage.tsx"],"names":[],"mappings":"AAWA,wBAAgB,YAAY,gCA+F3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchPage.d.ts","sourceRoot":"","sources":["../../../src/ggnomad/pages/SearchPage.tsx"],"names":[],"mappings":"AAeA,wBAAgB,UAAU,gCA0GzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TourDetailsPage.d.ts","sourceRoot":"","sources":["../../../src/ggnomad/pages/TourDetailsPage.tsx"],"names":[],"mappings":"AAqBA,wBAAgB,eAAe,gCAiJ9B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TourismPage.d.ts","sourceRoot":"","sources":["../../../src/ggnomad/pages/TourismPage.tsx"],"names":[],"mappings":"AAoBA,wBAAgB,WAAW,gCAiH1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TravelPage.d.ts","sourceRoot":"","sources":["../../../src/ggnomad/pages/TravelPage.tsx"],"names":[],"mappings":"AAUA,wBAAgB,UAAU,gCAgEzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TripPlanDetailPage.d.ts","sourceRoot":"","sources":["../../../src/ggnomad/pages/TripPlanDetailPage.tsx"],"names":[],"mappings":"AA6DA,wBAAgB,kBAAkB,gCAo2BjC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TripsPage.d.ts","sourceRoot":"","sources":["../../../src/ggnomad/pages/TripsPage.tsx"],"names":[],"mappings":"AAuCA,wBAAgB,SAAS,gCA8RxB"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FC, PropsWithChildren } from 'react';
|
|
2
|
+
import { GGNomadRootProps } from '../types';
|
|
3
|
+
|
|
4
|
+
export declare const useGGNomad: () => GGNomadRootProps;
|
|
5
|
+
export declare const GGNomadProvider: FC<PropsWithChildren<GGNomadRootProps>>;
|
|
6
|
+
//# sourceMappingURL=GGNomadProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GGNomadProvider.d.ts","sourceRoot":"","sources":["../../../src/ggnomad/providers/GGNomadProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAQnD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAMjD,eAAO,MAAM,UAAU,QAAO,gBAM7B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAsEnE,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface NavItem {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
path: string;
|
|
7
|
+
icon?: React.ReactNode;
|
|
8
|
+
order?: number;
|
|
9
|
+
group?: string;
|
|
10
|
+
children?: NavItem[];
|
|
11
|
+
}
|
|
12
|
+
export interface FooterItem {
|
|
13
|
+
id: string;
|
|
14
|
+
label: string;
|
|
15
|
+
type: 'status' | 'action';
|
|
16
|
+
order?: number;
|
|
17
|
+
section: 'left' | 'center' | 'right';
|
|
18
|
+
}
|
|
19
|
+
export interface GGNomadRootProps {
|
|
20
|
+
basePath?: string;
|
|
21
|
+
workspaceId?: string;
|
|
22
|
+
tenantId?: string;
|
|
23
|
+
apiGatewayUrl?: string;
|
|
24
|
+
authToken?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Workspace-scoped JWT token. The gateway requires both authToken
|
|
27
|
+
* (Authorization) and workspaceToken (X-Workspace-Authorization)
|
|
28
|
+
* for workspace-scoped operations.
|
|
29
|
+
*/
|
|
30
|
+
workspaceToken?: string;
|
|
31
|
+
navigate?: (path: string) => void;
|
|
32
|
+
currentUser?: {
|
|
33
|
+
id: string;
|
|
34
|
+
email: string;
|
|
35
|
+
firstName?: string;
|
|
36
|
+
lastName?: string;
|
|
37
|
+
avatar?: string;
|
|
38
|
+
username?: string;
|
|
39
|
+
name?: string;
|
|
40
|
+
role?: string;
|
|
41
|
+
} | null;
|
|
42
|
+
registerNavItems?: (items: NavItem | NavItem[]) => () => void;
|
|
43
|
+
registerFooterItems?: (items: FooterItem | FooterItem[]) => () => void;
|
|
44
|
+
onAuthError?: () => void;
|
|
45
|
+
}
|
|
46
|
+
export interface OverviewMetric {
|
|
47
|
+
label: string;
|
|
48
|
+
value: string;
|
|
49
|
+
trend: string;
|
|
50
|
+
}
|
|
51
|
+
export interface WorkItem {
|
|
52
|
+
id: string;
|
|
53
|
+
title: string;
|
|
54
|
+
status: 'active' | 'planned' | 'at_risk' | 'completed';
|
|
55
|
+
owner: string;
|
|
56
|
+
updatedAt: string;
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ggnomad/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;CACtB;AAED,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;CACtC;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,WAAW,CAAC,EAAE;QACZ,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,GAAG,IAAI,CAAC;IACT,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,EAAE,KAAK,MAAM,IAAI,CAAC;IAC9D,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,GAAG,UAAU,EAAE,KAAK,MAAM,IAAI,CAAC;IACvE,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,WAAW,CAAC;IACvD,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cn.d.ts","sourceRoot":"","sources":["../../../src/ggnomad/utils/cn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAQ,MAAM,MAAM,CAAC;AAG7C,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../../src/ggnomad/utils/navigation.ts"],"names":[],"mappings":"AAAA,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,MAAM,CAIvE"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { toast } from 'sonner';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Module-wide toast API. sonner is a global singleton; the matching <Toaster>
|
|
5
|
+
* is owned by the HOST — the production app shell mounts a single one via
|
|
6
|
+
* AppShellProvider, and the standalone dev harness mounts its own (see
|
|
7
|
+
* GGNomadRoot's `renderToaster`). Every page/component must emit feedback
|
|
8
|
+
* through these helpers instead of hand-rolling fixed-position toast markup.
|
|
9
|
+
*
|
|
10
|
+
* Durations follow the notification spec: success/info auto-dismiss, errors
|
|
11
|
+
* stay until the user dismisses them (sonner renders a close button and
|
|
12
|
+
* announces via aria-live).
|
|
13
|
+
*/
|
|
14
|
+
export declare const notify: {
|
|
15
|
+
success(message: string, description?: string): void;
|
|
16
|
+
info(message: string, description?: string): void;
|
|
17
|
+
warning(message: string, description?: string): void;
|
|
18
|
+
error(message: string, description?: string): void;
|
|
19
|
+
dismiss(id?: string | number): void;
|
|
20
|
+
};
|
|
21
|
+
export { toast };
|
|
22
|
+
//# sourceMappingURL=notify.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notify.d.ts","sourceRoot":"","sources":["../../../src/ggnomad/utils/notify.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAE/B;;;;;;;;;;GAUG;AACH,eAAO,MAAM,MAAM;qBACA,MAAM,gBAAgB,MAAM,GAAG,IAAI;kBAGtC,MAAM,gBAAgB,MAAM,GAAG,IAAI;qBAGhC,MAAM,gBAAgB,MAAM,GAAG,IAAI;mBAGrC,MAAM,gBAAgB,MAAM,GAAG,IAAI;iBAGrC,MAAM,GAAG,MAAM,GAAG,IAAI;CAGpC,CAAC;AAEF,OAAO,EAAE,KAAK,EAAE,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,OAAO,EAAE,4BAA4B,EAAE,MAAM,4CAA4C,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { useGGNomad as e } from "./ggnomad/providers/GGNomadProvider.js";
|
|
2
2
|
import { GGNomadRoot as t } from "./ggnomad/GGNomadRoot.js";
|
|
3
3
|
import "./ggnomad/index.js";
|
|
4
|
-
|
|
4
|
+
import { useSandboxAssistantTransport as n } from "./services/createSandboxAssistantTransport.js";
|
|
5
|
+
export { t as GGNomadRoot, e as useGGNomad, n as useSandboxAssistantTransport };
|