@aglyn/plugins-ai 1.12.0 → 1.14.0
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/package.json +17 -17
- package/src/lib/components/ai-media-create.component.js +1 -1
- package/src/lib/components/ai-media-create.component.js.map +1 -1
- package/src/lib/components/ai-upsell-dialog.component.js +1 -1
- package/src/lib/components/ai-upsell-dialog.component.js.map +1 -1
- package/src/lib/jobs/ai-job-import-step.js +11 -1
- package/src/lib/jobs/ai-job-import-step.js.map +1 -1
- package/src/lib/jobs/ai-site-import-compile.js +23 -3
- package/src/lib/jobs/ai-site-import-compile.js.map +1 -1
- package/src/lib/jobs/ai-site-import-look.d.ts +19 -4
- package/src/lib/jobs/ai-site-import-look.js +142 -45
- package/src/lib/jobs/ai-site-import-look.js.map +1 -1
- package/src/lib/jobs/ai-theme-brand-inputs.d.ts +12 -0
- package/src/lib/jobs/ai-theme-brand-inputs.js +1 -1
- package/src/lib/jobs/ai-theme-brand-inputs.js.map +1 -1
- package/src/lib/layout-language/ai-layout-compiler.js +90 -8
- package/src/lib/layout-language/ai-layout-compiler.js.map +1 -1
- package/src/lib/layout-language/ai-layout-language.d.ts +8 -2
- package/src/lib/layout-language/ai-layout-language.js +4 -2
- package/src/lib/layout-language/ai-layout-language.js.map +1 -1
- package/src/lib/model/ai-site-import-fidelity.d.ts +9 -0
- package/src/lib/model/ai-site-import-fidelity.js +64 -6
- package/src/lib/model/ai-site-import-fidelity.js.map +1 -1
- package/src/lib/model/ai-site-import.d.ts +36 -1
- package/src/lib/model/ai-site-import.js.map +1 -1
- package/src/lib/model/ai-upsell-copy.js +1 -1
- package/src/lib/model/ai-upsell-copy.js.map +1 -1
- package/src/lib/runtime/site-inventory.js +2 -3
- package/src/lib/runtime/site-inventory.js.map +1 -1
- package/src/lib/server/assist-view-context.js +3 -3
- package/src/lib/server/assist-view-context.js.map +1 -1
- package/src/lib/site-import/fixtures/site-import-fidelity-replay.d.ts +12 -1
- package/src/lib/site-import/fixtures/site-import-fidelity-replay.js +19 -9
- package/src/lib/site-import/fixtures/site-import-fidelity-replay.js.map +1 -1
- package/src/lib/site-import/fixtures/site-layout-recordings.d.ts +32 -0
- package/src/lib/site-import/fixtures/site-layout-recordings.js +55 -0
- package/src/lib/site-import/fixtures/site-layout-recordings.js.map +1 -1
- package/src/lib/site-import/site-import-concealed.d.ts +30 -0
- package/src/lib/site-import/site-import-concealed.js +231 -0
- package/src/lib/site-import/site-import-concealed.js.map +1 -0
- package/src/lib/site-import/site-import-crawl.d.ts +5 -1
- package/src/lib/site-import/site-import-crawl.js +35 -18
- package/src/lib/site-import/site-import-crawl.js.map +1 -1
- package/src/lib/site-import/site-import-css.d.ts +81 -0
- package/src/lib/site-import/site-import-css.js +456 -27
- package/src/lib/site-import/site-import-css.js.map +1 -1
- package/src/lib/site-import/site-import-data-forms.d.ts +32 -0
- package/src/lib/site-import/site-import-data-forms.js +531 -0
- package/src/lib/site-import/site-import-data-forms.js.map +1 -0
- package/src/lib/site-import/site-import-html.d.ts +36 -1
- package/src/lib/site-import/site-import-html.js +264 -54
- package/src/lib/site-import/site-import-html.js.map +1 -1
- package/src/lib/site-import/site-import-layout.d.ts +1 -1
- package/src/lib/site-import/site-import-layout.js +490 -44
- package/src/lib/site-import/site-import-layout.js.map +1 -1
- package/src/lib/site-import/site-import-nav.js +17 -3
- package/src/lib/site-import/site-import-nav.js.map +1 -1
- package/src/lib/site-import/site-import-page.js +2 -0
- package/src/lib/site-import/site-import-page.js.map +1 -1
- package/src/lib/testing/stand-in-dataset-index.js +6 -2
- package/src/lib/testing/stand-in-dataset-index.js.map +1 -1
|
@@ -325,6 +325,8 @@ export interface SiteImportLayoutGroup {
|
|
|
325
325
|
* a plan's name, words and button, or a label and its value (AGL-4083).
|
|
326
326
|
*/
|
|
327
327
|
inline?: true;
|
|
328
|
+
/** Its items are photos, not marks (AGL-4152): a gallery, drawn as its pictures in its columns. Only on a `logos` group. */
|
|
329
|
+
gallery?: true;
|
|
328
330
|
items: SiteImportLayoutItem[];
|
|
329
331
|
}
|
|
330
332
|
/** A table: rows of cells, each cell its lines (objects, not nested arrays, for Firestore). */
|
|
@@ -439,6 +441,12 @@ export interface SiteImportLookFacts {
|
|
|
439
441
|
buttonRadius: number | null;
|
|
440
442
|
/** The color its text links are drawn in. */
|
|
441
443
|
link: string | null;
|
|
444
|
+
/**
|
|
445
|
+
* The brand colors its root's custom properties declare (AGL-4152), the most
|
|
446
|
+
* read first: what it says its brand is, whether or not this page draws it.
|
|
447
|
+
* Absent with none, and on a read made before.
|
|
448
|
+
*/
|
|
449
|
+
palette?: string[];
|
|
442
450
|
/** Its header bar's background. */
|
|
443
451
|
header: string | null;
|
|
444
452
|
/**
|
|
@@ -651,6 +659,11 @@ export declare function aiSiteImportVideoNote(videos: readonly SiteImportVideo[]
|
|
|
651
659
|
export declare function siteImportLayoutWithoutDrawings(layout: SiteImportLayout): SiteImportLayout;
|
|
652
660
|
/** What a wave's read found on one page, for its model answer. Never on the wire. */
|
|
653
661
|
export interface AiSiteImportPageRead {
|
|
662
|
+
/** What the page holds that a visitor cannot see (AGL-4152): the addresses of its pictures, and its words. A build is held to not drawing them. */
|
|
663
|
+
concealed?: {
|
|
664
|
+
pictures: string[];
|
|
665
|
+
words: string[];
|
|
666
|
+
};
|
|
654
667
|
at: string;
|
|
655
668
|
title: string;
|
|
656
669
|
/** The page's text in order, cut to `AI_SITE_IMPORT_PAGE_TEXT_MAX_CHARS`; fenced only when a prompt reads it. */
|
|
@@ -885,6 +898,15 @@ export interface AiSiteImportHome {
|
|
|
885
898
|
footer?: SiteImportFooter | null;
|
|
886
899
|
/** What the source's look is made of (AGL-4108): its colors, its button fill and corners, its fonts. */
|
|
887
900
|
look?: SiteImportLookFacts | null;
|
|
901
|
+
/**
|
|
902
|
+
* The first picture its home page's main content shows that is not its logo
|
|
903
|
+
* (AGL-4152): what a look with no color of its own, and a logo with none,
|
|
904
|
+
* takes its brand from. Absent on a read made before, or with none.
|
|
905
|
+
*/
|
|
906
|
+
hero?: {
|
|
907
|
+
url: string;
|
|
908
|
+
alt: string;
|
|
909
|
+
} | null;
|
|
888
910
|
}
|
|
889
911
|
/**
|
|
890
912
|
* Whether the site's header and footer are built from the source's own menu
|
|
@@ -892,11 +914,24 @@ export interface AiSiteImportHome {
|
|
|
892
914
|
* costs nothing and is quoted at nothing.
|
|
893
915
|
*/
|
|
894
916
|
export declare function aiSiteImportFrameIsRead(state: Pick<AiSiteImportState, 'home'> | null | undefined): boolean;
|
|
917
|
+
/** Where an imported look's brand came from (AGL-4152). */
|
|
918
|
+
export type AiSiteImportLookFrom = 'source' | 'logo' | 'photo' | 'seed';
|
|
895
919
|
/** What the look pass did (AGL-4084): no model is asked. */
|
|
896
920
|
export interface AiSiteImportLook {
|
|
897
921
|
at: string;
|
|
898
|
-
/**
|
|
922
|
+
/**
|
|
923
|
+
* The theme: drawn for the site (`applied`), or the owner's kept (`kept`).
|
|
924
|
+
* `unread` is a pass from before AGL-4152, which left a source with no color
|
|
925
|
+
* to read in the stock theme; a pass no longer does.
|
|
926
|
+
*/
|
|
899
927
|
theme: 'applied' | 'kept' | 'unread';
|
|
928
|
+
/**
|
|
929
|
+
* Where the applied theme's brand came from (AGL-4152): what the source draws
|
|
930
|
+
* or declares (`source`), its logo's colors (`logo`), its hero or share
|
|
931
|
+
* picture's (`photo`), or, with none of those, the seed's draw for the kind of
|
|
932
|
+
* site (`seed`). Absent on a pass from before.
|
|
933
|
+
*/
|
|
934
|
+
from?: AiSiteImportLookFrom;
|
|
900
935
|
/** The source's colors it was drawn from, the strongest first. */
|
|
901
936
|
colors: string[];
|
|
902
937
|
/** The source's logo, as the library holds it, for the header's brand. */
|