Results Gallery
Generated from public Vue/TypeScript exports by
pnpm docs:generate. Edit source comments and stories to update this reference. Types describe the declared API; browser/device constraints are covered in the guides. This catalog reflects source commitfc6bfb108634735f1657e533206c3f8702ad357d; match your installed package and typed manifest before using an export. Source review does not establish registry-release availability.
ResultsGalleryPage
import { ResultsGalleryPage } from '@gxp-dev/app-ui'
Flow defaults: action None, result key selectedResult (when data/result is produced).
Props
| Name | Type | Required / default | Description |
|---|---|---|---|
backLabel | string | undefined | "Back" | — |
logoImage | string | undefined | "" | — |
exitLabel | string | undefined | "Exit" | — |
title | string | undefined | "The results are in." | — |
subtitle | string | undefined | "Please select one of the options generated:" | — |
highlightColor | string | undefined | "#FFFFFF" | — |
context | { [key: string]: unknown; aiResults?: GalleryResult[] | undefined; } | undefined | {} | — |
disclaimer | string | undefined | "AI models may produce unrealistic results." | — |
postLabel | string | undefined | "Post to Wall" | — |
regenerateLabel | string | undefined | "Regenerate" | — |
idleTimeout | number | undefined | 30 | — |
selectFirst | boolean | undefined | false | — |
drawingBorder | string | undefined | null | — |
results | GalleryResult[] | undefined | [] | — |
Events
| Name | Type | Required / default | Description |
|---|---|---|---|
back | [] | — | — |
next | [post: GalleryResult] | — | — |
error | [error: Error] | — | — |
exit | [] | — | — |
regenerate | [] | — | — |
reset | [] | — | — |
Examples
These are authored Storybook excerpts, not complete standalone modules. Relative imports refer to the story file; in an app import public components from @gxp-dev/app-ui. Default meta arguments are applied before each story.
Default
import type { Meta, StoryObj } from '@storybook/vue3-vite'
import ResultsGalleryPageComponent from './ResultsGalleryPage.vue'
{
render: () => ({
components: { ResultsGalleryPage: ResultsGalleryPageComponent },
template: '<div class="h-screen w-screen"><ResultsGalleryPage /></div>',
}),
}