@designcrowd/library.brand-page 5.17.9 → 5.17.10-ai-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 (175) hide show
  1. package/lib/src/{CreatedOnBrandCrowd-de-de-DqkJ8NdF.js → CreatedOnBrandCrowd-de-de-n7aqpZW7.js} +1 -1
  2. package/lib/src/{CreatedOnBrandCrowd-en-us-BVJ9aNHs.js → CreatedOnBrandCrowd-en-us-kd-N-xdT.js} +1 -1
  3. package/lib/src/{CreatedOnBrandCrowd-es-es-CGpesoM7.js → CreatedOnBrandCrowd-es-es-v-0iJZpk.js} +1 -1
  4. package/lib/src/{CreatedOnBrandCrowd-fr-fr-CGKY5aNE.js → CreatedOnBrandCrowd-fr-ca-BOeG_7Aq.js} +1 -1
  5. package/lib/src/{CreatedOnBrandCrowd-fr-ca-CGKY5aNE.js → CreatedOnBrandCrowd-fr-fr-BOeG_7Aq.js} +1 -1
  6. package/lib/src/{CreatedOnBrandCrowd-pt-pt-wmkIIswx.js → CreatedOnBrandCrowd-pt-br-CuR5N4gO.js} +1 -1
  7. package/lib/src/{CreatedOnBrandCrowd-pt-br-wmkIIswx.js → CreatedOnBrandCrowd-pt-pt-CuR5N4gO.js} +1 -1
  8. package/lib/src/{CreatedOnDcom-de-de-D4Ly1D68.js → CreatedOnDcom-de-de-DUA6JoEz.js} +1 -1
  9. package/lib/src/{CreatedOnDcom-en-us-DJ7d72X1.js → CreatedOnDcom-en-us-DtsUZ2fV.js} +1 -1
  10. package/lib/src/{CreatedOnDcom-es-es-CDe60iaD.js → CreatedOnDcom-es-es-bc-jRNZa.js} +1 -1
  11. package/lib/src/{CreatedOnDcom-fr-ca-Dd4U99kX.js → CreatedOnDcom-fr-ca-BxfRogYw.js} +1 -1
  12. package/lib/src/{CreatedOnDcom-fr-fr-CWpkZ1P8.js → CreatedOnDcom-fr-fr-VavF1-FE.js} +1 -1
  13. package/lib/src/{CreatedOnDcom-pt-br-BklFxK7F.js → CreatedOnDcom-pt-br-CY2a64cp.js} +1 -1
  14. package/lib/src/{CreatedOnDcom-pt-pt-CxCTBNj9.js → CreatedOnDcom-pt-pt-Bmxch0Ss.js} +1 -1
  15. package/lib/src/brand-page/models/brand-page-context.model.d.ts +2 -1
  16. package/lib/src/brand-page/models/brand-page-context.model.js +5 -0
  17. package/lib/src/brand-page/models/index.d.ts +1 -0
  18. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +62 -2
  19. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.js +1 -0
  20. package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +60 -2
  21. package/lib/src/brand-page-maker/components/preview/Preview.mixin.d.ts +30 -1
  22. package/lib/src/brand-page-maker/components/quick-link-bar/QuickLinkBar.mixin.d.ts +60 -2
  23. package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.d.ts +60 -2
  24. package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.d.ts +60 -2
  25. package/lib/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.mixin.d.ts +60 -2
  26. package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.d.ts +60 -2
  27. package/lib/src/brand-page-maker/components/upgrade-to-premium-button/UpgradeToPremiumButton.mixin.d.ts +60 -2
  28. package/lib/src/brand-page-maker/composables/ai-chat/useAiChat.d.ts +1 -0
  29. package/lib/src/brand-page-maker/composables/ai-chat/useAiChat.js +16 -7
  30. package/lib/src/brand-page-maker/composables/ai-chat/useAiMetadataBuilder.d.ts +1 -1
  31. package/lib/src/brand-page-maker/composables/ai-chat/useAiMetadataBuilder.js +6 -6
  32. package/lib/src/brand-page-maker/composables/ai-chat/useAiWebsiteBuilderChat.d.ts +2 -0
  33. package/lib/src/brand-page-maker/composables/ai-chat/useAiWebsiteBuilderChat.js +275 -0
  34. package/lib/src/brand-page-maker/constants/sidebar-constant.d.ts +1 -0
  35. package/lib/src/brand-page-maker/constants/sidebar-constant.js +8 -0
  36. package/lib/src/brand-page-maker/stores/ai-thread/ai-thread-store.d.ts +12 -0
  37. package/lib/src/brand-page-maker/stores/ai-thread/ai-website-builder-thread-store.d.ts +22 -0
  38. package/lib/src/brand-page-maker/stores/ai-thread/ai-website-builder-thread-store.js +18 -0
  39. package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.d.ts +62 -3
  40. package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.js +2 -0
  41. package/lib/src/brand-page-maker/stores/index.d.ts +1 -0
  42. package/lib/src/brand-page-maker/stores/index.js +1 -0
  43. package/lib/src/brand-page-maker/stores/snapshot/snapshot-store.d.ts +2 -0
  44. package/lib/src/brand-page-maker/stores/snapshot/snapshot-store.js +9 -0
  45. package/lib/src/clients/ai-assistant-client.d.ts +9 -0
  46. package/lib/src/clients/ai-assistant-client.js +11 -1
  47. package/lib/src/composables/useSnapshot.js +33 -0
  48. package/lib/src/css/library.brand-page-brandCrowd.min.css +28 -12
  49. package/lib/src/css/library.brand-page-brandPage.min.css +28 -12
  50. package/lib/src/css/library.brand-page-designCom.min.css +28 -12
  51. package/lib/src/css/library.brand-page-preview.min.css +28 -12
  52. package/lib/src/index.d.ts +1 -0
  53. package/lib/src/index.mjs +42 -41
  54. package/lib/src/{lib-C-aMx0Eo.js → lib-CcTsBlst.js} +27108 -25042
  55. package/lib/src/lib.js +1 -0
  56. package/lib/src/metadata-builder/ai-metadata-executor.d.ts +1 -1
  57. package/lib/src/metadata-builder/ai-metadata-executor.js +69 -7
  58. package/lib/src/metadata-builder/builders/add-page-builder.d.ts +14 -0
  59. package/lib/src/metadata-builder/builders/add-page-builder.js +66 -0
  60. package/lib/src/metadata-builder/builders/remove-page-builder.d.ts +13 -0
  61. package/lib/src/metadata-builder/builders/remove-page-builder.js +50 -0
  62. package/lib/src/metadata-builder/builders/section-builders/about-section-builder.d.ts +6 -0
  63. package/lib/src/metadata-builder/builders/section-builders/about-section-builder.js +24 -0
  64. package/lib/src/metadata-builder/builders/section-builders/banner-section-builder.d.ts +6 -0
  65. package/lib/src/metadata-builder/builders/section-builders/banner-section-builder.js +32 -0
  66. package/lib/src/metadata-builder/builders/section-builders/base-section-builder.d.ts +43 -0
  67. package/lib/src/metadata-builder/builders/section-builders/base-section-builder.js +143 -0
  68. package/lib/src/metadata-builder/builders/section-builders/button-section-builder.d.ts +6 -0
  69. package/lib/src/metadata-builder/builders/section-builders/button-section-builder.js +16 -0
  70. package/lib/src/metadata-builder/builders/section-builders/contact-form-builder.d.ts +6 -0
  71. package/lib/src/metadata-builder/builders/section-builders/contact-form-builder.js +33 -0
  72. package/lib/src/metadata-builder/builders/section-builders/delete-section-builder.d.ts +13 -0
  73. package/lib/src/metadata-builder/builders/section-builders/delete-section-builder.js +37 -0
  74. package/lib/src/metadata-builder/builders/section-builders/divider-section-builder.d.ts +6 -0
  75. package/lib/src/metadata-builder/builders/section-builders/divider-section-builder.js +23 -0
  76. package/lib/src/metadata-builder/builders/section-builders/image-gallery-builder.d.ts +6 -0
  77. package/lib/src/metadata-builder/builders/section-builders/image-gallery-builder.js +76 -0
  78. package/lib/src/metadata-builder/builders/section-builders/images-section-builder.d.ts +6 -0
  79. package/lib/src/metadata-builder/builders/section-builders/images-section-builder.js +163 -0
  80. package/lib/src/metadata-builder/builders/section-builders/index.d.ts +16 -0
  81. package/lib/src/metadata-builder/builders/section-builders/index.js +16 -0
  82. package/lib/src/metadata-builder/builders/section-builders/mailing-list-builder.d.ts +6 -0
  83. package/lib/src/metadata-builder/builders/section-builders/mailing-list-builder.js +17 -0
  84. package/lib/src/metadata-builder/builders/section-builders/mailing-list-section-builder.d.ts +6 -0
  85. package/lib/src/metadata-builder/builders/section-builders/mailing-list-section-builder.js +16 -0
  86. package/lib/src/metadata-builder/builders/section-builders/move-section-builder.d.ts +15 -0
  87. package/lib/src/metadata-builder/builders/section-builders/move-section-builder.js +62 -0
  88. package/lib/src/metadata-builder/builders/section-builders/profile-section-builder.d.ts +6 -0
  89. package/lib/src/metadata-builder/builders/section-builders/profile-section-builder.js +23 -0
  90. package/lib/src/metadata-builder/builders/section-builders/shapes-section-builder.d.ts +6 -0
  91. package/lib/src/metadata-builder/builders/section-builders/shapes-section-builder.js +162 -0
  92. package/lib/src/metadata-builder/builders/section-builders/social-links-builder.d.ts +6 -0
  93. package/lib/src/metadata-builder/builders/section-builders/social-links-builder.js +50 -0
  94. package/lib/src/metadata-builder/builders/section-builders/testimonial-section-builder.d.ts +6 -0
  95. package/lib/src/metadata-builder/builders/section-builders/testimonial-section-builder.js +133 -0
  96. package/lib/src/metadata-builder/builders/section-builders/text-section-builder.d.ts +6 -0
  97. package/lib/src/metadata-builder/builders/section-builders/text-section-builder.js +160 -0
  98. package/lib/src/metadata-builder/builders/section-content-factory.d.ts +3 -0
  99. package/lib/src/metadata-builder/builders/section-content-factory.js +13 -0
  100. package/lib/src/metadata-builder/builders/section-field-maps.d.ts +12 -0
  101. package/lib/src/metadata-builder/builders/section-field-maps.js +181 -0
  102. package/lib/src/metadata-builder/builders/section-field-utils.d.ts +11 -0
  103. package/lib/src/metadata-builder/builders/section-field-utils.js +109 -0
  104. package/lib/src/metadata-builder/helpers/rte.helpers.d.ts +6 -0
  105. package/lib/src/metadata-builder/helpers/rte.helpers.js +16 -1
  106. package/lib/src/metadata-builder/logger.d.ts +3 -3
  107. package/lib/src/metadata-builder/logger.js +14 -4
  108. package/lib/src/metadata-builder/metadata-executor.js +69 -1
  109. package/lib/src/metadata-builder/models.d.ts +52 -0
  110. package/lib/src/metadata-builder/models.js +56 -0
  111. package/lib/src/metadata-builder/parsers/ai-toolcall-parser.d.ts +51 -3
  112. package/lib/src/metadata-builder/parsers/ai-toolcall-parser.js +110 -13
  113. package/lib/src/metadata-builder/parsers/section-tool-arguments.d.ts +295 -0
  114. package/lib/src/metadata-builder/parsers/section-tool-arguments.js +7 -0
  115. package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.d.ts +60 -2
  116. package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +60 -2
  117. package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +60 -2
  118. package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +60 -2
  119. package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +90 -3
  120. package/lib/src/shared/side-bar/components/SideBar.mixin.d.ts +61 -2
  121. package/lib/src/shared/side-bar/components/SideBar.mixin.js +6 -0
  122. package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +60 -2
  123. package/lib/src/utils/minify-brand-page-metadata.d.ts +23 -0
  124. package/lib/src/utils/minify-brand-page-metadata.js +346 -0
  125. package/package.json +1 -1
  126. package/src/brand-page/models/brand-page-context.model.ts +12 -3
  127. package/src/brand-page/models/index.ts +1 -0
  128. package/src/brand-page-maker/components/ai-text-edit/TextBubble.vue +58 -31
  129. package/src/brand-page-maker/components/ai-website-builder/AiWebsiteBuilder.vue +79 -0
  130. package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.ts +4 -0
  131. package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.vue +14 -2
  132. package/src/brand-page-maker/composables/ai-chat/useAiChat.ts +22 -10
  133. package/src/brand-page-maker/composables/ai-chat/useAiMetadataBuilder.ts +6 -6
  134. package/src/brand-page-maker/composables/ai-chat/useAiWebsiteBuilderChat.ts +382 -0
  135. package/src/brand-page-maker/constants/sidebar-constant.ts +8 -0
  136. package/src/brand-page-maker/stores/ai-thread/ai-website-builder-thread-store.ts +23 -0
  137. package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.ts +3 -1
  138. package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +4 -0
  139. package/src/brand-page-maker/stores/index.ts +1 -0
  140. package/src/brand-page-maker/stores/snapshot/snapshot-store.ts +12 -0
  141. package/src/clients/ai-assistant-client.ts +18 -1
  142. package/src/composables/useSnapshot.ts +47 -0
  143. package/src/lib.ts +4 -0
  144. package/src/metadata-builder/ai-metadata-executor.ts +118 -26
  145. package/src/metadata-builder/builders/add-page-builder.ts +98 -0
  146. package/src/metadata-builder/builders/remove-page-builder.ts +83 -0
  147. package/src/metadata-builder/builders/section-builders/about-section-builder.ts +38 -0
  148. package/src/metadata-builder/builders/section-builders/banner-section-builder.ts +54 -0
  149. package/src/metadata-builder/builders/section-builders/base-section-builder.ts +212 -0
  150. package/src/metadata-builder/builders/section-builders/button-section-builder.ts +24 -0
  151. package/src/metadata-builder/builders/section-builders/contact-form-builder.ts +50 -0
  152. package/src/metadata-builder/builders/section-builders/delete-section-builder.ts +63 -0
  153. package/src/metadata-builder/builders/section-builders/divider-section-builder.ts +37 -0
  154. package/src/metadata-builder/builders/section-builders/image-gallery-builder.ts +111 -0
  155. package/src/metadata-builder/builders/section-builders/images-section-builder.ts +229 -0
  156. package/src/metadata-builder/builders/section-builders/index.ts +20 -0
  157. package/src/metadata-builder/builders/section-builders/mailing-list-builder.ts +29 -0
  158. package/src/metadata-builder/builders/section-builders/mailing-list-section-builder.ts +27 -0
  159. package/src/metadata-builder/builders/section-builders/move-section-builder.ts +100 -0
  160. package/src/metadata-builder/builders/section-builders/profile-section-builder.ts +37 -0
  161. package/src/metadata-builder/builders/section-builders/shapes-section-builder.ts +231 -0
  162. package/src/metadata-builder/builders/section-builders/social-links-builder.ts +79 -0
  163. package/src/metadata-builder/builders/section-builders/testimonial-section-builder.ts +194 -0
  164. package/src/metadata-builder/builders/section-builders/text-section-builder.ts +241 -0
  165. package/src/metadata-builder/builders/section-content-factory.ts +20 -0
  166. package/src/metadata-builder/builders/section-field-maps.ts +236 -0
  167. package/src/metadata-builder/builders/section-field-utils.ts +157 -0
  168. package/src/metadata-builder/helpers/rte.helpers.ts +23 -1
  169. package/src/metadata-builder/logger.ts +20 -8
  170. package/src/metadata-builder/metadata-executor.ts +93 -4
  171. package/src/metadata-builder/models.ts +60 -0
  172. package/src/metadata-builder/parsers/ai-toolcall-parser.ts +141 -17
  173. package/src/metadata-builder/parsers/section-tool-arguments.ts +427 -0
  174. package/src/shared/side-bar/components/SideBar.mixin.ts +10 -0
  175. package/src/utils/minify-brand-page-metadata.ts +411 -0
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-C-aMx0Eo.js";
2
+ import { _ as t } from "./lib-CcTsBlst.js";
3
3
  const i = {}, h = {
4
4
  width: "275",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-C-aMx0Eo.js";
2
+ import { _ as t } from "./lib-CcTsBlst.js";
3
3
  const i = {}, h = {
4
4
  width: "251",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-C-aMx0Eo.js";
2
+ import { _ as t } from "./lib-CcTsBlst.js";
3
3
  const i = {}, h = {
4
4
  width: "250",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-C-aMx0Eo.js";
2
+ import { _ as t } from "./lib-CcTsBlst.js";
3
3
  const i = {}, h = {
4
4
  width: "237",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-C-aMx0Eo.js";
2
+ import { _ as t } from "./lib-CcTsBlst.js";
3
3
  const i = {}, h = {
4
4
  width: "237",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-C-aMx0Eo.js";
2
+ import { _ as t } from "./lib-CcTsBlst.js";
3
3
  const i = {}, h = {
4
4
  width: "263",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-C-aMx0Eo.js";
2
+ import { _ as t } from "./lib-CcTsBlst.js";
3
3
  const i = {}, h = {
4
4
  width: "263",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-C-aMx0Eo.js";
2
+ import { _ as e } from "./lib-CcTsBlst.js";
3
3
  const M = {}, Z = {
4
4
  width: "242",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-C-aMx0Eo.js";
2
+ import { _ as e } from "./lib-CcTsBlst.js";
3
3
  const i = {}, M = {
4
4
  width: "231",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-C-aMx0Eo.js";
2
+ import { _ as e } from "./lib-CcTsBlst.js";
3
3
  const M = {}, Z = {
4
4
  width: "230",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-C-aMx0Eo.js";
2
+ import { _ as e } from "./lib-CcTsBlst.js";
3
3
  const i = {}, l = {
4
4
  width: "216",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-C-aMx0Eo.js";
2
+ import { _ as e } from "./lib-CcTsBlst.js";
3
3
  const i = {}, l = {
4
4
  width: "216",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as M } from "./lib-C-aMx0Eo.js";
2
+ import { _ as M } from "./lib-CcTsBlst.js";
3
3
  const Z = {}, e = {
4
4
  width: "232",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as M } from "./lib-C-aMx0Eo.js";
2
+ import { _ as M } from "./lib-CcTsBlst.js";
3
3
  const Z = {}, e = {
4
4
  width: "232",
5
5
  height: "36",
@@ -38,6 +38,7 @@ export interface AbTest {
38
38
  bp_3926_freemium_watermark?: AbTestResult;
39
39
  bp_4572_ai_text_generation_post_purchase?: AbTestResult;
40
40
  bp_4964_ai_text_generation_improvement?: AbTestResult;
41
+ bp_5245_ai_website_assistant?: AbTestResult;
41
42
  }
42
43
  export declare const MEDIA_SIZES: {
43
44
  readonly size1x: "size1x";
@@ -83,4 +84,4 @@ export interface BrandPageContext {
83
84
  disableLogoRenderOnServerside?: boolean;
84
85
  }
85
86
  export declare const getValueType: (key: string, abtestValue?: string) => AbTestResult;
86
- export declare const getAbTestResults: (abtestKeyValues: Record<string, string>) => AbTest;
87
+ export declare const getAbTestResults: (abtestKeyValues: AbTest) => AbTest;
@@ -26,6 +26,7 @@ const AB_TEST_KEYS = {
26
26
  BP_3926_FREEMIUM_WATERMARK: 'bc-bp-3926-freemium-cta-in-website-editor',
27
27
  BP_4572_AI_TEXT_GENERATION_POST_PURCHASE: 'bc-bp-4572-ai-text-generation-post-purchase',
28
28
  BP_4964_AI_TEXT_GENERATION_IMPROVEMENT: 'bc-bp-4964-ai-text-improvement-post-purchase-on-website',
29
+ BP_5245_AI_WEBSITE_ASSISTANT: 'bc-bp-5245-ai-website-assistant',
29
30
  };
30
31
  export const MEDIA_SIZES = {
31
32
  size1x: 'size1x',
@@ -55,5 +56,9 @@ export const getAbTestResults = (abtestKeyValues) => {
55
56
  if (abtestKeyValues[AB_TEST_KEYS.BP_4964_AI_TEXT_GENERATION_IMPROVEMENT]) {
56
57
  abTests.bp_4964_ai_text_generation_improvement = getValueType(AB_TEST_KEYS.BP_4964_AI_TEXT_GENERATION_IMPROVEMENT, abtestKeyValues[AB_TEST_KEYS.BP_4964_AI_TEXT_GENERATION_IMPROVEMENT]);
57
58
  }
59
+ // AB Test for BP-5245 - AI Website Assistant
60
+ if (abtestKeyValues[AB_TEST_KEYS.BP_5245_AI_WEBSITE_ASSISTANT]) {
61
+ abTests.bp_5245_ai_website_assistant = getValueType(AB_TEST_KEYS.BP_5245_AI_WEBSITE_ASSISTANT, abtestKeyValues[AB_TEST_KEYS.BP_5245_AI_WEBSITE_ASSISTANT]);
62
+ }
58
63
  return abTests;
59
64
  };
@@ -297,6 +297,7 @@ export interface TextMediaItem extends ImageItem {
297
297
  }
298
298
  export interface TextShapeItem extends TextMediaItem {
299
299
  colorReplacements: ColorReplacement[];
300
+ keepColor?: boolean;
300
301
  aspectRatio?: number | null;
301
302
  }
302
303
  export interface ShapeItem extends ImageItem {
@@ -276,7 +276,36 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
276
276
  eventButtonLocation?: string | undefined;
277
277
  websiteUpsellModalViewModel?: any;
278
278
  showPublishOptionModal?: boolean | undefined;
279
- abTests: Record<string, string>;
279
+ abTests: {
280
+ bp_3926_freemium_watermark?: {
281
+ key: string;
282
+ value: string;
283
+ isControl: boolean;
284
+ isVariation: boolean;
285
+ isExcluded: boolean;
286
+ } | undefined;
287
+ bp_4572_ai_text_generation_post_purchase?: {
288
+ key: string;
289
+ value: string;
290
+ isControl: boolean;
291
+ isVariation: boolean;
292
+ isExcluded: boolean;
293
+ } | undefined;
294
+ bp_4964_ai_text_generation_improvement?: {
295
+ key: string;
296
+ value: string;
297
+ isControl: boolean;
298
+ isVariation: boolean;
299
+ isExcluded: boolean;
300
+ } | undefined;
301
+ bp_5245_ai_website_assistant?: {
302
+ key: string;
303
+ value: string;
304
+ isControl: boolean;
305
+ isVariation: boolean;
306
+ isExcluded: boolean;
307
+ } | undefined;
308
+ };
280
309
  isSubsequentPublish: boolean;
281
310
  isContextualUpgradeModalVisible: boolean;
282
311
  contextualUpgradeType: string | number | symbol | undefined;
@@ -338,7 +367,36 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
338
367
  eventButtonLocation?: string | undefined;
339
368
  websiteUpsellModalViewModel?: any;
340
369
  showPublishOptionModal?: boolean | undefined;
341
- abTests: Record<string, string>;
370
+ abTests: {
371
+ bp_3926_freemium_watermark?: {
372
+ key: string;
373
+ value: string;
374
+ isControl: boolean;
375
+ isVariation: boolean;
376
+ isExcluded: boolean;
377
+ } | undefined;
378
+ bp_4572_ai_text_generation_post_purchase?: {
379
+ key: string;
380
+ value: string;
381
+ isControl: boolean;
382
+ isVariation: boolean;
383
+ isExcluded: boolean;
384
+ } | undefined;
385
+ bp_4964_ai_text_generation_improvement?: {
386
+ key: string;
387
+ value: string;
388
+ isControl: boolean;
389
+ isVariation: boolean;
390
+ isExcluded: boolean;
391
+ } | undefined;
392
+ bp_5245_ai_website_assistant?: {
393
+ key: string;
394
+ value: string;
395
+ isControl: boolean;
396
+ isVariation: boolean;
397
+ isExcluded: boolean;
398
+ } | undefined;
399
+ };
342
400
  isSubsequentPublish: boolean;
343
401
  isContextualUpgradeModalVisible: boolean;
344
402
  contextualUpgradeType: string | number | symbol | undefined;
@@ -1183,6 +1241,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1183
1241
  setBase64Snapshot(base64: string | null): void;
1184
1242
  setIsCapturing(isCapturing: boolean): void;
1185
1243
  clearSnapshot(): void;
1244
+ registerCaptureCallback(callback: () => Promise<void>): void;
1245
+ refreshSnapshotAsync(): Promise<void>;
1186
1246
  }>;
1187
1247
  captureSnapshot: (element: HTMLElement | null) => Promise<string | null>;
1188
1248
  videoStore: import("pinia").Store<"video", import("@brand-page-maker/stores").videoStoreState, {
@@ -200,6 +200,7 @@ export default defineComponent({
200
200
  document.body.classList.remove('sb-main-padded');
201
201
  }
202
202
  fontLoaderUtil.loadAllFonts();
203
+ this.snapshotStore.registerCaptureCallback(() => this.handleCaptureSnapshot());
203
204
  this.setUiScreenSizeModeBasedOnDeviceWidth();
204
205
  if (this.isBrandPageOrIsBrandContact) {
205
206
  this.brandPageMakerStore.setViewport({ viewport: VIEWPORTS.mobile });
@@ -706,7 +706,36 @@ declare const _default: import("vue").DefineComponent<{}, {
706
706
  eventButtonLocation?: string | undefined;
707
707
  websiteUpsellModalViewModel?: any;
708
708
  showPublishOptionModal?: boolean | undefined;
709
- abTests: Record<string, string>;
709
+ abTests: {
710
+ bp_3926_freemium_watermark?: {
711
+ key: string;
712
+ value: string;
713
+ isControl: boolean;
714
+ isVariation: boolean;
715
+ isExcluded: boolean;
716
+ } | undefined;
717
+ bp_4572_ai_text_generation_post_purchase?: {
718
+ key: string;
719
+ value: string;
720
+ isControl: boolean;
721
+ isVariation: boolean;
722
+ isExcluded: boolean;
723
+ } | undefined;
724
+ bp_4964_ai_text_generation_improvement?: {
725
+ key: string;
726
+ value: string;
727
+ isControl: boolean;
728
+ isVariation: boolean;
729
+ isExcluded: boolean;
730
+ } | undefined;
731
+ bp_5245_ai_website_assistant?: {
732
+ key: string;
733
+ value: string;
734
+ isControl: boolean;
735
+ isVariation: boolean;
736
+ isExcluded: boolean;
737
+ } | undefined;
738
+ };
710
739
  isSubsequentPublish: boolean;
711
740
  isContextualUpgradeModalVisible: boolean;
712
741
  contextualUpgradeType: string | number | symbol | undefined;
@@ -768,7 +797,36 @@ declare const _default: import("vue").DefineComponent<{}, {
768
797
  eventButtonLocation?: string | undefined;
769
798
  websiteUpsellModalViewModel?: any;
770
799
  showPublishOptionModal?: boolean | undefined;
771
- abTests: Record<string, string>;
800
+ abTests: {
801
+ bp_3926_freemium_watermark?: {
802
+ key: string;
803
+ value: string;
804
+ isControl: boolean;
805
+ isVariation: boolean;
806
+ isExcluded: boolean;
807
+ } | undefined;
808
+ bp_4572_ai_text_generation_post_purchase?: {
809
+ key: string;
810
+ value: string;
811
+ isControl: boolean;
812
+ isVariation: boolean;
813
+ isExcluded: boolean;
814
+ } | undefined;
815
+ bp_4964_ai_text_generation_improvement?: {
816
+ key: string;
817
+ value: string;
818
+ isControl: boolean;
819
+ isVariation: boolean;
820
+ isExcluded: boolean;
821
+ } | undefined;
822
+ bp_5245_ai_website_assistant?: {
823
+ key: string;
824
+ value: string;
825
+ isControl: boolean;
826
+ isVariation: boolean;
827
+ isExcluded: boolean;
828
+ } | undefined;
829
+ };
772
830
  isSubsequentPublish: boolean;
773
831
  isContextualUpgradeModalVisible: boolean;
774
832
  contextualUpgradeType: string | number | symbol | undefined;
@@ -33,7 +33,36 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
33
33
  isInitialising: import("vue").ComputedRef<boolean>;
34
34
  shouldPlayVideos: import("vue").ComputedRef<boolean>;
35
35
  viewport: import("@brand-page").ViewportsType;
36
- abTests: Record<string, string>;
36
+ abTests: {
37
+ bp_3926_freemium_watermark?: {
38
+ key: string;
39
+ value: string;
40
+ isControl: boolean;
41
+ isVariation: boolean;
42
+ isExcluded: boolean;
43
+ } | undefined;
44
+ bp_4572_ai_text_generation_post_purchase?: {
45
+ key: string;
46
+ value: string;
47
+ isControl: boolean;
48
+ isVariation: boolean;
49
+ isExcluded: boolean;
50
+ } | undefined;
51
+ bp_4964_ai_text_generation_improvement?: {
52
+ key: string;
53
+ value: string;
54
+ isControl: boolean;
55
+ isVariation: boolean;
56
+ isExcluded: boolean;
57
+ } | undefined;
58
+ bp_5245_ai_website_assistant?: {
59
+ key: string;
60
+ value: string;
61
+ isControl: boolean;
62
+ isVariation: boolean;
63
+ isExcluded: boolean;
64
+ } | undefined;
65
+ };
37
66
  }, {
38
67
  containerClientHeight: number | undefined;
39
68
  containerClientWidth: number | undefined;
@@ -67,7 +67,36 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
67
67
  eventButtonLocation?: string | undefined;
68
68
  websiteUpsellModalViewModel?: any;
69
69
  showPublishOptionModal?: boolean | undefined;
70
- abTests: Record<string, string>;
70
+ abTests: {
71
+ bp_3926_freemium_watermark?: {
72
+ key: string;
73
+ value: string;
74
+ isControl: boolean;
75
+ isVariation: boolean;
76
+ isExcluded: boolean;
77
+ } | undefined;
78
+ bp_4572_ai_text_generation_post_purchase?: {
79
+ key: string;
80
+ value: string;
81
+ isControl: boolean;
82
+ isVariation: boolean;
83
+ isExcluded: boolean;
84
+ } | undefined;
85
+ bp_4964_ai_text_generation_improvement?: {
86
+ key: string;
87
+ value: string;
88
+ isControl: boolean;
89
+ isVariation: boolean;
90
+ isExcluded: boolean;
91
+ } | undefined;
92
+ bp_5245_ai_website_assistant?: {
93
+ key: string;
94
+ value: string;
95
+ isControl: boolean;
96
+ isVariation: boolean;
97
+ isExcluded: boolean;
98
+ } | undefined;
99
+ };
71
100
  isSubsequentPublish: boolean;
72
101
  isContextualUpgradeModalVisible: boolean;
73
102
  contextualUpgradeType: string | number | symbol | undefined;
@@ -129,7 +158,36 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
129
158
  eventButtonLocation?: string | undefined;
130
159
  websiteUpsellModalViewModel?: any;
131
160
  showPublishOptionModal?: boolean | undefined;
132
- abTests: Record<string, string>;
161
+ abTests: {
162
+ bp_3926_freemium_watermark?: {
163
+ key: string;
164
+ value: string;
165
+ isControl: boolean;
166
+ isVariation: boolean;
167
+ isExcluded: boolean;
168
+ } | undefined;
169
+ bp_4572_ai_text_generation_post_purchase?: {
170
+ key: string;
171
+ value: string;
172
+ isControl: boolean;
173
+ isVariation: boolean;
174
+ isExcluded: boolean;
175
+ } | undefined;
176
+ bp_4964_ai_text_generation_improvement?: {
177
+ key: string;
178
+ value: string;
179
+ isControl: boolean;
180
+ isVariation: boolean;
181
+ isExcluded: boolean;
182
+ } | undefined;
183
+ bp_5245_ai_website_assistant?: {
184
+ key: string;
185
+ value: string;
186
+ isControl: boolean;
187
+ isVariation: boolean;
188
+ isExcluded: boolean;
189
+ } | undefined;
190
+ };
133
191
  isSubsequentPublish: boolean;
134
192
  isContextualUpgradeModalVisible: boolean;
135
193
  contextualUpgradeType: string | number | symbol | undefined;
@@ -83,7 +83,36 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
83
83
  eventButtonLocation?: string | undefined;
84
84
  websiteUpsellModalViewModel?: any;
85
85
  showPublishOptionModal?: boolean | undefined;
86
- abTests: Record<string, string>;
86
+ abTests: {
87
+ bp_3926_freemium_watermark?: {
88
+ key: string;
89
+ value: string;
90
+ isControl: boolean;
91
+ isVariation: boolean;
92
+ isExcluded: boolean;
93
+ } | undefined;
94
+ bp_4572_ai_text_generation_post_purchase?: {
95
+ key: string;
96
+ value: string;
97
+ isControl: boolean;
98
+ isVariation: boolean;
99
+ isExcluded: boolean;
100
+ } | undefined;
101
+ bp_4964_ai_text_generation_improvement?: {
102
+ key: string;
103
+ value: string;
104
+ isControl: boolean;
105
+ isVariation: boolean;
106
+ isExcluded: boolean;
107
+ } | undefined;
108
+ bp_5245_ai_website_assistant?: {
109
+ key: string;
110
+ value: string;
111
+ isControl: boolean;
112
+ isVariation: boolean;
113
+ isExcluded: boolean;
114
+ } | undefined;
115
+ };
87
116
  isSubsequentPublish: boolean;
88
117
  isContextualUpgradeModalVisible: boolean;
89
118
  contextualUpgradeType: string | number | symbol | undefined;
@@ -145,7 +174,36 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
145
174
  eventButtonLocation?: string | undefined;
146
175
  websiteUpsellModalViewModel?: any;
147
176
  showPublishOptionModal?: boolean | undefined;
148
- abTests: Record<string, string>;
177
+ abTests: {
178
+ bp_3926_freemium_watermark?: {
179
+ key: string;
180
+ value: string;
181
+ isControl: boolean;
182
+ isVariation: boolean;
183
+ isExcluded: boolean;
184
+ } | undefined;
185
+ bp_4572_ai_text_generation_post_purchase?: {
186
+ key: string;
187
+ value: string;
188
+ isControl: boolean;
189
+ isVariation: boolean;
190
+ isExcluded: boolean;
191
+ } | undefined;
192
+ bp_4964_ai_text_generation_improvement?: {
193
+ key: string;
194
+ value: string;
195
+ isControl: boolean;
196
+ isVariation: boolean;
197
+ isExcluded: boolean;
198
+ } | undefined;
199
+ bp_5245_ai_website_assistant?: {
200
+ key: string;
201
+ value: string;
202
+ isControl: boolean;
203
+ isVariation: boolean;
204
+ isExcluded: boolean;
205
+ } | undefined;
206
+ };
149
207
  isSubsequentPublish: boolean;
150
208
  isContextualUpgradeModalVisible: boolean;
151
209
  contextualUpgradeType: string | number | symbol | undefined;
@@ -88,7 +88,36 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
88
88
  eventButtonLocation?: string | undefined;
89
89
  websiteUpsellModalViewModel?: any;
90
90
  showPublishOptionModal?: boolean | undefined;
91
- abTests: Record<string, string>;
91
+ abTests: {
92
+ bp_3926_freemium_watermark?: {
93
+ key: string;
94
+ value: string;
95
+ isControl: boolean;
96
+ isVariation: boolean;
97
+ isExcluded: boolean;
98
+ } | undefined;
99
+ bp_4572_ai_text_generation_post_purchase?: {
100
+ key: string;
101
+ value: string;
102
+ isControl: boolean;
103
+ isVariation: boolean;
104
+ isExcluded: boolean;
105
+ } | undefined;
106
+ bp_4964_ai_text_generation_improvement?: {
107
+ key: string;
108
+ value: string;
109
+ isControl: boolean;
110
+ isVariation: boolean;
111
+ isExcluded: boolean;
112
+ } | undefined;
113
+ bp_5245_ai_website_assistant?: {
114
+ key: string;
115
+ value: string;
116
+ isControl: boolean;
117
+ isVariation: boolean;
118
+ isExcluded: boolean;
119
+ } | undefined;
120
+ };
92
121
  isSubsequentPublish: boolean;
93
122
  isContextualUpgradeModalVisible: boolean;
94
123
  contextualUpgradeType: string | number | symbol | undefined;
@@ -150,7 +179,36 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
150
179
  eventButtonLocation?: string | undefined;
151
180
  websiteUpsellModalViewModel?: any;
152
181
  showPublishOptionModal?: boolean | undefined;
153
- abTests: Record<string, string>;
182
+ abTests: {
183
+ bp_3926_freemium_watermark?: {
184
+ key: string;
185
+ value: string;
186
+ isControl: boolean;
187
+ isVariation: boolean;
188
+ isExcluded: boolean;
189
+ } | undefined;
190
+ bp_4572_ai_text_generation_post_purchase?: {
191
+ key: string;
192
+ value: string;
193
+ isControl: boolean;
194
+ isVariation: boolean;
195
+ isExcluded: boolean;
196
+ } | undefined;
197
+ bp_4964_ai_text_generation_improvement?: {
198
+ key: string;
199
+ value: string;
200
+ isControl: boolean;
201
+ isVariation: boolean;
202
+ isExcluded: boolean;
203
+ } | undefined;
204
+ bp_5245_ai_website_assistant?: {
205
+ key: string;
206
+ value: string;
207
+ isControl: boolean;
208
+ isVariation: boolean;
209
+ isExcluded: boolean;
210
+ } | undefined;
211
+ };
154
212
  isSubsequentPublish: boolean;
155
213
  isContextualUpgradeModalVisible: boolean;
156
214
  contextualUpgradeType: string | number | symbol | undefined;