@designcrowd/library.brand-page 5.19.1-id-based-items-2 → 5.19.2

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.
Files changed (116) hide show
  1. package/lib/src/{CreatedOnBrandCrowd-de-de-Ruu5Az32.js → CreatedOnBrandCrowd-de-de-Ekmn0O3s.js} +1 -1
  2. package/lib/src/{CreatedOnBrandCrowd-en-us-DGUJtvld.js → CreatedOnBrandCrowd-en-us-BjeXlKTS.js} +1 -1
  3. package/lib/src/{CreatedOnBrandCrowd-es-es-Dg-1uOfV.js → CreatedOnBrandCrowd-es-es-rpNINAMY.js} +1 -1
  4. package/lib/src/{CreatedOnBrandCrowd-fr-fr-CRKraZl8.js → CreatedOnBrandCrowd-fr-ca-BL4nSaLj.js} +1 -1
  5. package/lib/src/{CreatedOnBrandCrowd-fr-ca-CRKraZl8.js → CreatedOnBrandCrowd-fr-fr-BL4nSaLj.js} +1 -1
  6. package/lib/src/{CreatedOnBrandCrowd-pt-pt-bZ9VlEAu.js → CreatedOnBrandCrowd-pt-br-K0r4FyYq.js} +1 -1
  7. package/lib/src/{CreatedOnBrandCrowd-pt-br-bZ9VlEAu.js → CreatedOnBrandCrowd-pt-pt-K0r4FyYq.js} +1 -1
  8. package/lib/src/{CreatedOnDcom-de-de-CJYfwZx8.js → CreatedOnDcom-de-de-0XYyEKYc.js} +1 -1
  9. package/lib/src/{CreatedOnDcom-en-us-rzA1lVxH.js → CreatedOnDcom-en-us-E8hvwiMd.js} +1 -1
  10. package/lib/src/{CreatedOnDcom-es-es-CNwGPjik.js → CreatedOnDcom-es-es-pRuCd7xX.js} +1 -1
  11. package/lib/src/{CreatedOnDcom-fr-ca-DKw7OGIz.js → CreatedOnDcom-fr-ca-Bu4V3jpn.js} +1 -1
  12. package/lib/src/{CreatedOnDcom-fr-fr-WzOEaAZG.js → CreatedOnDcom-fr-fr-CCcrGNz2.js} +1 -1
  13. package/lib/src/{CreatedOnDcom-pt-br-DkualVhm.js → CreatedOnDcom-pt-br-1GTvaLKd.js} +1 -1
  14. package/lib/src/{CreatedOnDcom-pt-pt-w4Nnsdzq.js → CreatedOnDcom-pt-pt-CTIYW10X.js} +1 -1
  15. package/lib/src/brand-page/components/image-gallery/masonry/MasonryGallery.mixin.d.ts +1 -1
  16. package/lib/src/brand-page/models/index.d.ts +1 -12
  17. package/lib/src/brand-page/models/index.js +3 -0
  18. package/lib/src/brand-page/utils/personalisation.util.js +72 -14
  19. package/lib/src/brand-page-maker/components/action-bar/ActionBar.mixin.d.ts +1 -1
  20. package/lib/src/brand-page-maker/components/admin-background-settings/AdminBackgroundSettings.mixin.d.ts +6 -0
  21. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +12 -1
  22. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.js +2 -0
  23. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.js +1 -0
  24. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMakerTemplateSettings.mixin.d.ts +1 -1
  25. package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +1 -1
  26. package/lib/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.mixin.d.ts +1 -1
  27. package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.d.ts +1 -1
  28. package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.d.ts +1 -1
  29. package/lib/src/brand-page-maker/components/social-share/SocialShare.mixin.d.ts +1 -1
  30. package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.d.ts +2 -3
  31. package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.js +16 -5
  32. package/lib/src/brand-page-maker/composables/ai-chat/useAiWebsiteBuilderChat.js +0 -5
  33. package/lib/src/brand-page-maker/stores/ai-checkpoint/ai-checkpoint-store.d.ts +6 -18
  34. package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.d.ts +1 -0
  35. package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.js +3 -0
  36. package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.d.ts +3 -1
  37. package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.js +5 -1
  38. package/lib/src/brand-page-maker/stores/ui/ui-store.d.ts +6 -0
  39. package/lib/src/brand-page-maker/stores/ui/ui-store.js +8 -0
  40. package/lib/src/clients/design-template-client.d.ts +3 -0
  41. package/lib/src/clients/models.d.ts +2 -0
  42. package/lib/src/css/library.brand-page-brandCrowd.min.css +19 -7
  43. package/lib/src/css/library.brand-page-brandPage.min.css +19 -7
  44. package/lib/src/css/library.brand-page-designCom.min.css +19 -7
  45. package/lib/src/css/library.brand-page-preview.min.css +19 -7
  46. package/lib/src/index.mjs +1 -1
  47. package/lib/src/{lib-Dy7MYyqz.js → lib-BfgUqu0B.js} +25060 -24791
  48. package/lib/src/metadata-builder/builders/footer-builder.js +44 -34
  49. package/lib/src/metadata-builder/builders/section-builders/image-gallery-builder.js +68 -57
  50. package/lib/src/metadata-builder/builders/section-builders/images-section-builder.js +93 -58
  51. package/lib/src/metadata-builder/builders/section-builders/shapes-section-builder.js +99 -66
  52. package/lib/src/metadata-builder/builders/section-builders/social-links-builder.js +17 -57
  53. package/lib/src/metadata-builder/builders/section-builders/testimonial-section-builder.js +85 -51
  54. package/lib/src/metadata-builder/builders/section-builders/text-section-builder.js +74 -49
  55. package/lib/src/metadata-builder/parsers/ai-toolcall-parser.d.ts +4 -13
  56. package/lib/src/metadata-builder/parsers/section-tool-arguments.d.ts +48 -66
  57. package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.d.ts +1 -1
  58. package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.d.ts +1 -1
  59. package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.d.ts +7 -1
  60. package/lib/src/shared/logo-settings/components/EditLogoSettings.mixin.d.ts +9 -0
  61. package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +1 -1
  62. package/lib/src/shared/logo-versions/LogoVersions.mixin.d.ts +6 -0
  63. package/lib/src/shared/models.d.ts +2 -0
  64. package/lib/src/shared/my-designs/MyDesigns.mixin.d.ts +6 -0
  65. package/lib/src/shared/my-uploads/MyMedia.mixin.d.ts +6 -0
  66. package/lib/src/shared/my-uploads/MyUploads.mixin.d.ts +6 -0
  67. package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +7 -3
  68. package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +7 -3
  69. package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +1 -1
  70. package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +7 -1
  71. package/lib/src/shared/template-settings/components/TemplatesSettings.mixin.d.ts +10 -439
  72. package/lib/src/shared/template-settings/components/TemplatesSettings.mixin.js +2 -2
  73. package/lib/src/shared/template-settings/models.d.ts +1 -0
  74. package/lib/src/shared/template-settings/store/template-settings-store.d.ts +4 -0
  75. package/lib/src/shared/template-settings/store/template-settings-store.js +79 -11
  76. package/lib/src/shared/unsplash-library/UnsplashLibrary.mixin.d.ts +6 -0
  77. package/lib/src/utils/minify-brand-page-metadata.d.ts +0 -2
  78. package/lib/src/utils/minify-brand-page-metadata.js +1 -8
  79. package/package.json +1 -1
  80. package/src/brand-page/components/image-gallery/masonry/MasonryGallery.mixin.ts +1 -2
  81. package/src/brand-page/models/index.ts +4 -12
  82. package/src/brand-page/utils/__snapshots__/migration.util.test.ts.snap +3 -0
  83. package/src/brand-page/utils/__snapshots__/migration2.util.test.ts.snap +1 -0
  84. package/src/brand-page/utils/__snapshots__/model.util.test.ts.snap +2 -0
  85. package/src/brand-page/utils/personalisation.util.test.ts +35 -0
  86. package/src/brand-page/utils/personalisation.util.ts +119 -23
  87. package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.ts +4 -0
  88. package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.ts +1 -0
  89. package/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.ts +22 -8
  90. package/src/brand-page-maker/components/template-preview/TemplatePreview.vue +5 -10
  91. package/src/brand-page-maker/components/template-preview/TemplatePreviewAiBadge.vue +12 -0
  92. package/src/brand-page-maker/composables/ai-chat/useAiWebsiteBuilderChat.ts +0 -6
  93. package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.ts +5 -0
  94. package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +10 -0
  95. package/src/brand-page-maker/stores/ui/ui-store.ts +16 -0
  96. package/src/clients/design-template-client.ts +3 -0
  97. package/src/clients/models.ts +2 -0
  98. package/src/metadata-builder/builders/footer-builder.test.ts +0 -298
  99. package/src/metadata-builder/builders/footer-builder.ts +65 -56
  100. package/src/metadata-builder/builders/section-builders/image-gallery-builder.ts +88 -62
  101. package/src/metadata-builder/builders/section-builders/images-section-builder.ts +129 -66
  102. package/src/metadata-builder/builders/section-builders/shapes-section-builder.ts +160 -105
  103. package/src/metadata-builder/builders/section-builders/social-links-builder.ts +20 -65
  104. package/src/metadata-builder/builders/section-builders/testimonial-section-builder.ts +146 -83
  105. package/src/metadata-builder/builders/section-builders/text-section-builder.ts +122 -70
  106. package/src/metadata-builder/parsers/ai-toolcall-parser.ts +4 -13
  107. package/src/metadata-builder/parsers/section-tool-arguments.ts +48 -66
  108. package/src/shared/models.ts +6 -0
  109. package/src/shared/template-settings/components/TemplatesSettings.mixin.ts +2 -2
  110. package/src/shared/template-settings/models.ts +1 -0
  111. package/src/shared/template-settings/store/template-settings-store.ts +105 -18
  112. package/src/utils/minify-brand-page-metadata.ts +2 -14
  113. package/lib/src/metadata-builder/builders/item-id-utils.d.ts +0 -54
  114. package/lib/src/metadata-builder/builders/item-id-utils.js +0 -96
  115. package/src/metadata-builder/builders/item-id-utils.test.ts +0 -184
  116. package/src/metadata-builder/builders/item-id-utils.ts +0 -117
@@ -92,15 +92,10 @@ export interface ProfileSectionArguments {
92
92
  background_color?: string | null;
93
93
  }
94
94
  export interface TextSectionItem {
95
- /** Stable id of the existing item to update or move. Omit to ADD a new item. */
96
- item_id?: string;
97
- /**
98
- * Id of an existing item to position this item before (insert for new items,
99
- * move for existing ones). Use "__end__" for the end of the list. Omit to
100
- * leave an existing item in place / append a new item. Mirrors the
101
- * section-level move_before_content_id.
102
- */
103
- move_before_item_id?: string;
95
+ /** 0-based index of existing item to update in-place */
96
+ item_index?: number;
97
+ /** 0-based position to insert a new item at */
98
+ insert_at?: number;
104
99
  text?: RichTextField;
105
100
  text_style?: TextStyleArguments;
106
101
  }
@@ -113,8 +108,10 @@ export interface TextSectionArguments {
113
108
  /** Multiple text items (BrandSite) */
114
109
  items?: TextSectionItem[];
115
110
  _replace_items?: boolean;
116
- /** Stable ids of items to remove. Order-independent (no index shifting). */
117
- _remove_item_ids?: string[];
111
+ /** 0-based indices of items to remove */
112
+ _remove_item_indices?: number[];
113
+ /** New order as array of current 0-based indices */
114
+ _reorder_items?: number[];
118
115
  background_color?: string | null;
119
116
  }
120
117
  export interface ImageSectionArguments {
@@ -122,15 +119,10 @@ export interface ImageSectionArguments {
122
119
  image_title?: string;
123
120
  }
124
121
  export interface ImageGalleryItem {
125
- /** Stable id of the existing item to update or move. Omit to ADD a new item. */
126
- item_id?: string;
127
- /**
128
- * Id of an existing item to position this item before (insert for new items,
129
- * move for existing ones). Use "__end__" for the end of the list. Omit to
130
- * leave an existing item in place / append a new item. Mirrors the
131
- * section-level move_before_content_id.
132
- */
133
- move_before_item_id?: string;
122
+ /** 0-based index of existing item to update in-place */
123
+ item_index?: number;
124
+ /** 0-based position to insert a new item at */
125
+ insert_at?: number;
134
126
  image_url?: string;
135
127
  caption?: string;
136
128
  }
@@ -139,8 +131,10 @@ export interface ImageGallerySectionArguments {
139
131
  gallery_type?: 'grid' | 'carousel' | 'masonry';
140
132
  is_full_width?: boolean;
141
133
  _replace_items?: boolean;
142
- /** Stable ids of items to remove. Order-independent (no index shifting). */
143
- _remove_item_ids?: string[];
134
+ /** 0-based indices of items to remove */
135
+ _remove_item_indices?: number[];
136
+ /** New order as array of current 0-based indices */
137
+ _reorder_items?: number[];
144
138
  }
145
139
  export interface GeneralLinkSectionArguments {
146
140
  title?: string;
@@ -195,15 +189,10 @@ export interface TiktokSectionArguments {
195
189
  url?: string;
196
190
  }
197
191
  export interface SocialLink {
198
- /** Stable id of the existing item to update or move. Omit to ADD a new item. */
199
- item_id?: string;
200
- /**
201
- * Id of an existing item to position this item before (insert for new items,
202
- * move for existing ones). Use "__end__" for the end of the list. Omit to
203
- * leave an existing item in place / append a new item. Mirrors the
204
- * section-level move_before_content_id.
205
- */
206
- move_before_item_id?: string;
192
+ /** 0-based index of existing item to update in-place */
193
+ item_index?: number;
194
+ /** 0-based position to insert a new item at */
195
+ insert_at?: number;
207
196
  platform?: 'facebook' | 'x' | 'instagram' | 'youtube' | 'linkedin' | 'pinterest' | 'twitch' | 'tiktok';
208
197
  url?: string;
209
198
  }
@@ -215,8 +204,10 @@ export interface SocialLinksSectionArguments {
215
204
  /** Style for the icon container background (used when icon_style is 'square' or 'circle'). */
216
205
  icon_background_style?: TextStyleArguments;
217
206
  _replace_items?: boolean;
218
- /** Stable ids of items to remove. Order-independent (no index shifting). */
219
- _remove_item_ids?: string[];
207
+ /** 0-based indices of items to remove */
208
+ _remove_item_indices?: number[];
209
+ /** New order as array of current 0-based indices */
210
+ _reorder_items?: number[];
220
211
  }
221
212
  export interface MailingListSectionArguments {
222
213
  title?: RichTextField;
@@ -277,15 +268,10 @@ export interface AboutSectionArguments {
277
268
  background_color?: string | null;
278
269
  }
279
270
  export interface ImagesSectionItem {
280
- /** Stable id of the existing item to update or move. Omit to ADD a new item. */
281
- item_id?: string;
282
- /**
283
- * Id of an existing item to position this item before (insert for new items,
284
- * move for existing ones). Use "__end__" for the end of the list. Omit to
285
- * leave an existing item in place / append a new item. Mirrors the
286
- * section-level move_before_content_id.
287
- */
288
- move_before_item_id?: string;
271
+ /** 0-based index of existing item to update in-place */
272
+ item_index?: number;
273
+ /** 0-based position to insert a new item at */
274
+ insert_at?: number;
289
275
  image_url?: string;
290
276
  heading?: string;
291
277
  text?: string;
@@ -297,8 +283,10 @@ export interface ImagesSectionArguments {
297
283
  items?: ImagesSectionItem[];
298
284
  display_style?: 'left-aligned' | 'right-aligned' | 'centered' | 'media-only' | 'center-card-aligned-image' | 'alternate-image';
299
285
  _replace_items?: boolean;
300
- /** Stable ids of items to remove. Order-independent (no index shifting). */
301
- _remove_item_ids?: string[];
286
+ /** 0-based indices of items to remove */
287
+ _remove_item_indices?: number[];
288
+ /** New order as array of current 0-based indices */
289
+ _reorder_items?: number[];
302
290
  title_style?: TextStyleArguments;
303
291
  description_style?: TextStyleArguments;
304
292
  heading_style?: TextStyleArguments;
@@ -310,15 +298,10 @@ export interface ImagesSectionArguments {
310
298
  card_style?: CardStyleArguments;
311
299
  }
312
300
  export interface TestimonialItem {
313
- /** Stable id of the existing item to update or move. Omit to ADD a new item. */
314
- item_id?: string;
315
- /**
316
- * Id of an existing item to position this item before (insert for new items,
317
- * move for existing ones). Use "__end__" for the end of the list. Omit to
318
- * leave an existing item in place / append a new item. Mirrors the
319
- * section-level move_before_content_id.
320
- */
321
- move_before_item_id?: string;
301
+ /** 0-based index of existing item to update in-place */
302
+ item_index?: number;
303
+ /** 0-based position to insert a new item at */
304
+ insert_at?: number;
322
305
  testimonial?: string;
323
306
  name?: string;
324
307
  position?: string;
@@ -331,8 +314,10 @@ export interface TestimonialSectionArguments {
331
314
  items?: TestimonialItem[];
332
315
  display_style?: 'centered' | 'big-image' | 'columns';
333
316
  _replace_items?: boolean;
334
- /** Stable ids of items to remove. Order-independent (no index shifting). */
335
- _remove_item_ids?: string[];
317
+ /** 0-based indices of items to remove */
318
+ _remove_item_indices?: number[];
319
+ /** New order as array of current 0-based indices */
320
+ _reorder_items?: number[];
336
321
  title_style?: TextStyleArguments;
337
322
  testimonial_style?: TextStyleArguments;
338
323
  name_style?: TextStyleArguments;
@@ -341,15 +326,10 @@ export interface TestimonialSectionArguments {
341
326
  card_style?: CardStyleArguments;
342
327
  }
343
328
  export interface ShapesSectionItem {
344
- /** Stable id of the existing item to update or move. Omit to ADD a new item. */
345
- item_id?: string;
346
- /**
347
- * Id of an existing item to position this item before (insert for new items,
348
- * move for existing ones). Use "__end__" for the end of the list. Omit to
349
- * leave an existing item in place / append a new item. Mirrors the
350
- * section-level move_before_content_id.
351
- */
352
- move_before_item_id?: string;
329
+ /** 0-based index of existing item to update in-place */
330
+ item_index?: number;
331
+ /** 0-based position to insert a new item at */
332
+ insert_at?: number;
353
333
  icon_image_url?: string;
354
334
  shape_url?: string;
355
335
  color_theme?: string;
@@ -362,8 +342,10 @@ export interface ShapesSectionArguments {
362
342
  items?: ShapesSectionItem[];
363
343
  display_style?: 'left-aligned' | 'right-aligned' | 'centered' | 'media-only' | 'center-card-aligned-image' | 'alternate-image';
364
344
  _replace_items?: boolean;
365
- /** Stable ids of items to remove. Order-independent (no index shifting). */
366
- _remove_item_ids?: string[];
345
+ /** 0-based indices of items to remove */
346
+ _remove_item_indices?: number[];
347
+ /** New order as array of current 0-based indices */
348
+ _reorder_items?: number[];
367
349
  title_style?: TextStyleArguments;
368
350
  description_style?: TextStyleArguments;
369
351
  heading_style?: TextStyleArguments;
@@ -156,7 +156,7 @@ declare const _default: import("vue").DefineComponent<{}, {
156
156
  brandPageType: "default" | "brandSite" | "brandContact";
157
157
  }): void;
158
158
  initialiseStoresByBrandPageModelAsync(brandPageModel: import("@brand-page").BrandPageModel): Promise<void>;
159
- initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, businessName, industry, layout, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
159
+ initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, userPromptContentKey, showAiTemplatesTab, businessName, industry, layout, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
160
160
  initialisePages({ pages, sections, }: {
161
161
  pages: import("@brand-page").PageModel[];
162
162
  sections: import("../../../page-settings/store").PageSettingsStateSections;
@@ -684,7 +684,7 @@ declare const _default: import("vue").DefineComponent<{}, {
684
684
  brandPageType: "default" | "brandSite" | "brandContact";
685
685
  }): void;
686
686
  initialiseStoresByBrandPageModelAsync(brandPageModel: import("@brand-page").BrandPageModel): Promise<void>;
687
- initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, businessName, industry, layout, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
687
+ initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, userPromptContentKey, showAiTemplatesTab, businessName, industry, layout, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
688
688
  initialisePages({ pages, sections, }: {
689
689
  pages: import("@brand-page").PageModel[];
690
690
  sections: import("../../../page-settings/store").PageSettingsStateSections;
@@ -629,7 +629,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
629
629
  brandPageType: "default" | "brandSite" | "brandContact";
630
630
  }): void;
631
631
  initialiseStoresByBrandPageModelAsync(brandPageModel: import("@brand-page").BrandPageModel): Promise<void>;
632
- initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, businessName, industry, layout, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
632
+ initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, userPromptContentKey, showAiTemplatesTab, businessName, industry, layout, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
633
633
  initialisePages({ pages, sections, }: {
634
634
  pages: import("@brand-page").PageModel[];
635
635
  sections: import("../../../page-settings/store").PageSettingsStateSections;
@@ -690,6 +690,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
690
690
  setUserPersonalisationData({ personalisationData, }: {
691
691
  personalisationData: import("@brand-page").UserPersonalisationContent[];
692
692
  }): void;
693
+ setUserPromptContentKey({ userPromptContentKey, }: {
694
+ userPromptContentKey: string | undefined;
695
+ }): void;
696
+ setShowAiTemplatesTab({ showAiTemplatesTab, }: {
697
+ showAiTemplatesTab: boolean;
698
+ }): void;
693
699
  onBackgroundChanged(): void;
694
700
  onContentChanged(): void;
695
701
  onStyleChanged(): void;
@@ -171,6 +171,12 @@ declare const _default: import("vue").DefineComponent<{}, {
171
171
  setUserPersonalisationData({ personalisationData, }: {
172
172
  personalisationData: import("../../../brand-page").UserPersonalisationContent[];
173
173
  }): void;
174
+ setUserPromptContentKey({ userPromptContentKey, }: {
175
+ userPromptContentKey: string | undefined;
176
+ }): void;
177
+ setShowAiTemplatesTab({ showAiTemplatesTab, }: {
178
+ showAiTemplatesTab: boolean;
179
+ }): void;
174
180
  onBackgroundChanged(): void;
175
181
  onContentChanged(): void;
176
182
  onStyleChanged(): void;
@@ -243,6 +249,9 @@ declare const _default: import("vue").DefineComponent<{}, {
243
249
  initialSearchTerm: string;
244
250
  onSearchTermChanged?: import("../../template-settings/store").OnSearchTermChangedCallback | undefined;
245
251
  }): void;
252
+ setAiTemplateKeywords(payload: {
253
+ aiTemplateKeywords: string;
254
+ }): void;
246
255
  notifySearchTermChanged(searchTerm: string | undefined): void;
247
256
  clearTemplates(): void;
248
257
  getTemplateByTemplateId(id: string): import("../../template-settings/models").TemplateSettingsTemplate | undefined;
@@ -144,7 +144,7 @@ declare const _default: import("vue").DefineComponent<{}, {
144
144
  brandPageType: "default" | "brandSite" | "brandContact";
145
145
  }): void;
146
146
  initialiseStoresByBrandPageModelAsync(brandPageModel: import("../../../brand-page").BrandPageModel): Promise<void>;
147
- initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, businessName, industry, layout, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
147
+ initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, userPromptContentKey, showAiTemplatesTab, businessName, industry, layout, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
148
148
  initialisePages({ pages, sections, }: {
149
149
  pages: import("../../../brand-page").PageModel[];
150
150
  sections: import("@shared/page-settings/store").PageSettingsStateSections;
@@ -27,6 +27,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
27
27
  setUserPersonalisationData({ personalisationData, }: {
28
28
  personalisationData: import("../../brand-page").UserPersonalisationContent[];
29
29
  }): void;
30
+ setUserPromptContentKey({ userPromptContentKey, }: {
31
+ userPromptContentKey: string | undefined;
32
+ }): void;
33
+ setShowAiTemplatesTab({ showAiTemplatesTab, }: {
34
+ showAiTemplatesTab: boolean;
35
+ }): void;
30
36
  onBackgroundChanged(): void;
31
37
  onContentChanged(): void;
32
38
  onStyleChanged(): void;
@@ -16,6 +16,8 @@ export interface UIRootState {
16
16
  thirdPartySettings: UIRootStateThirdPartySettings;
17
17
  personalisationData: UserPersonalisationContent[] | undefined;
18
18
  isPersonalisationEnabled: boolean;
19
+ userPromptContentKey: string | undefined;
20
+ showAiTemplatesTab: boolean;
19
21
  }
20
22
  export interface Endpoints {
21
23
  createUserMediaEndpoint: string;
@@ -22,6 +22,12 @@ declare const _default: import("vue").DefineComponent<{}, {
22
22
  setUserPersonalisationData({ personalisationData, }: {
23
23
  personalisationData: import("../../brand-page").UserPersonalisationContent[];
24
24
  }): void;
25
+ setUserPromptContentKey({ userPromptContentKey, }: {
26
+ userPromptContentKey: string | undefined;
27
+ }): void;
28
+ setShowAiTemplatesTab({ showAiTemplatesTab, }: {
29
+ showAiTemplatesTab: boolean;
30
+ }): void;
25
31
  onBackgroundChanged(): void;
26
32
  onContentChanged(): void;
27
33
  onStyleChanged(): void;
@@ -39,6 +39,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
39
39
  setUserPersonalisationData({ personalisationData, }: {
40
40
  personalisationData: import("../../brand-page").UserPersonalisationContent[];
41
41
  }): void;
42
+ setUserPromptContentKey({ userPromptContentKey, }: {
43
+ userPromptContentKey: string | undefined;
44
+ }): void;
45
+ setShowAiTemplatesTab({ showAiTemplatesTab, }: {
46
+ showAiTemplatesTab: boolean;
47
+ }): void;
42
48
  onBackgroundChanged(): void;
43
49
  onContentChanged(): void;
44
50
  onStyleChanged(): void;
@@ -62,6 +62,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
62
62
  setUserPersonalisationData({ personalisationData, }: {
63
63
  personalisationData: import("../../brand-page").UserPersonalisationContent[];
64
64
  }): void;
65
+ setUserPromptContentKey({ userPromptContentKey, }: {
66
+ userPromptContentKey: string | undefined;
67
+ }): void;
68
+ setShowAiTemplatesTab({ showAiTemplatesTab, }: {
69
+ showAiTemplatesTab: boolean;
70
+ }): void;
65
71
  onBackgroundChanged(): void;
66
72
  onContentChanged(): void;
67
73
  onStyleChanged(): void;
@@ -2866,7 +2866,6 @@ declare const _default: import("vue").DefineComponent<{}, {
2866
2866
  logoImageBase64Url?: string | undefined;
2867
2867
  socialLinks: {
2868
2868
  url: string;
2869
- id?: string | undefined;
2870
2869
  imageUrl: string;
2871
2870
  size?: string | undefined;
2872
2871
  imageTitle: string;
@@ -3091,7 +3090,6 @@ declare const _default: import("vue").DefineComponent<{}, {
3091
3090
  logoImageBase64Url?: string | undefined;
3092
3091
  socialLinks: {
3093
3092
  url: string;
3094
- id?: string | undefined;
3095
3093
  imageUrl: string;
3096
3094
  size?: string | undefined;
3097
3095
  imageTitle: string;
@@ -3862,7 +3860,7 @@ declare const _default: import("vue").DefineComponent<{}, {
3862
3860
  brandPageType: "default" | "brandSite" | "brandContact";
3863
3861
  }): void;
3864
3862
  initialiseStoresByBrandPageModelAsync(brandPageModel: import("@brand-page").BrandPageModel): Promise<void>;
3865
- initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, businessName, industry, layout, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
3863
+ initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, userPromptContentKey, showAiTemplatesTab, businessName, industry, layout, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
3866
3864
  initialisePages({ pages, sections, }: {
3867
3865
  pages: import("@brand-page").PageModel[];
3868
3866
  sections: import("../../store").PageSettingsStateSections;
@@ -3913,6 +3911,12 @@ declare const _default: import("vue").DefineComponent<{}, {
3913
3911
  setUserPersonalisationData({ personalisationData, }: {
3914
3912
  personalisationData: import("@brand-page").UserPersonalisationContent[];
3915
3913
  }): void;
3914
+ setUserPromptContentKey({ userPromptContentKey, }: {
3915
+ userPromptContentKey: string | undefined;
3916
+ }): void;
3917
+ setShowAiTemplatesTab({ showAiTemplatesTab, }: {
3918
+ showAiTemplatesTab: boolean;
3919
+ }): void;
3916
3920
  onBackgroundChanged(): void;
3917
3921
  onContentChanged(): void;
3918
3922
  onStyleChanged(): void;
@@ -2824,7 +2824,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2824
2824
  logoImageBase64Url?: string | undefined;
2825
2825
  socialLinks: {
2826
2826
  url: string;
2827
- id?: string | undefined;
2828
2827
  imageUrl: string;
2829
2828
  size?: string | undefined;
2830
2829
  imageTitle: string;
@@ -3049,7 +3048,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
3049
3048
  logoImageBase64Url?: string | undefined;
3050
3049
  socialLinks: {
3051
3050
  url: string;
3052
- id?: string | undefined;
3053
3051
  imageUrl: string;
3054
3052
  size?: string | undefined;
3055
3053
  imageTitle: string;
@@ -3899,6 +3897,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
3899
3897
  setUserPersonalisationData({ personalisationData, }: {
3900
3898
  personalisationData: import("@brand-page").UserPersonalisationContent[];
3901
3899
  }): void;
3900
+ setUserPromptContentKey({ userPromptContentKey, }: {
3901
+ userPromptContentKey: string | undefined;
3902
+ }): void;
3903
+ setShowAiTemplatesTab({ showAiTemplatesTab, }: {
3904
+ showAiTemplatesTab: boolean;
3905
+ }): void;
3902
3906
  onBackgroundChanged(): void;
3903
3907
  onContentChanged(): void;
3904
3908
  onStyleChanged(): void;
@@ -4430,7 +4434,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
4430
4434
  brandPageType: "default" | "brandSite" | "brandContact";
4431
4435
  }): void;
4432
4436
  initialiseStoresByBrandPageModelAsync(brandPageModel: import("@brand-page").BrandPageModel): Promise<void>;
4433
- initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, businessName, industry, layout, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
4437
+ initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, userPromptContentKey, showAiTemplatesTab, businessName, industry, layout, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
4434
4438
  initialisePages({ pages, sections, }: {
4435
4439
  pages: import("@brand-page").PageModel[];
4436
4440
  sections: import("../../store").PageSettingsStateSections;
@@ -193,7 +193,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
193
193
  brandPageType: "default" | "brandSite" | "brandContact";
194
194
  }): void;
195
195
  initialiseStoresByBrandPageModelAsync(brandPageModel: import("@brand-page/models").BrandPageModel): Promise<void>;
196
- initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, businessName, industry, layout, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
196
+ initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, userPromptContentKey, showAiTemplatesTab, businessName, industry, layout, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
197
197
  initialisePages({ pages, sections, }: {
198
198
  pages: import("@brand-page/models").PageModel[];
199
199
  sections: import("../page-settings/store").PageSettingsStateSections;
@@ -381,6 +381,12 @@ declare const _default: import("vue").DefineComponent<{}, {
381
381
  setUserPersonalisationData({ personalisationData, }: {
382
382
  personalisationData: import("@brand-page").UserPersonalisationContent[];
383
383
  }): void;
384
+ setUserPromptContentKey({ userPromptContentKey, }: {
385
+ userPromptContentKey: string | undefined;
386
+ }): void;
387
+ setShowAiTemplatesTab({ showAiTemplatesTab, }: {
388
+ showAiTemplatesTab: boolean;
389
+ }): void;
384
390
  onBackgroundChanged(): void;
385
391
  onContentChanged(): void;
386
392
  onStyleChanged(): void;
@@ -585,7 +591,7 @@ declare const _default: import("vue").DefineComponent<{}, {
585
591
  brandPageType: "default" | "brandSite" | "brandContact";
586
592
  }): void;
587
593
  initialiseStoresByBrandPageModelAsync(brandPageModel: import("@brand-page").BrandPageModel): Promise<void>;
588
- initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, businessName, industry, layout, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
594
+ initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, userPromptContentKey, showAiTemplatesTab, businessName, industry, layout, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
589
595
  initialisePages({ pages, sections, }: {
590
596
  pages: import("@brand-page").PageModel[];
591
597
  sections: import("../../page-settings/store").PageSettingsStateSections;