@designcrowd/library.brand-page 5.17.6-jy-1 → 5.17.7

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 (199) hide show
  1. package/lib/src/{CreatedOnBrandCrowd-de-de-D_Hnsj28.js → CreatedOnBrandCrowd-de-de-BUQFMhZb.js} +1 -1
  2. package/lib/src/{CreatedOnBrandCrowd-en-us-CMyfwczi.js → CreatedOnBrandCrowd-en-us-QS-5r4XI.js} +1 -1
  3. package/lib/src/{CreatedOnBrandCrowd-es-es-BvYhSzAw.js → CreatedOnBrandCrowd-es-es-CP2iH-n0.js} +1 -1
  4. package/lib/src/{CreatedOnBrandCrowd-fr-fr-BSRSPd2Z.js → CreatedOnBrandCrowd-fr-ca-qfD4NmQZ.js} +1 -1
  5. package/lib/src/{CreatedOnBrandCrowd-fr-ca-BSRSPd2Z.js → CreatedOnBrandCrowd-fr-fr-qfD4NmQZ.js} +1 -1
  6. package/lib/src/{CreatedOnBrandCrowd-pt-pt-CcAmuirx.js → CreatedOnBrandCrowd-pt-br-CfmaB7zE.js} +1 -1
  7. package/lib/src/{CreatedOnBrandCrowd-pt-br-CcAmuirx.js → CreatedOnBrandCrowd-pt-pt-CfmaB7zE.js} +1 -1
  8. package/lib/src/{CreatedOnDcom-de-de-CpWwhMNV.js → CreatedOnDcom-de-de-BxSUWfGN.js} +1 -1
  9. package/lib/src/{CreatedOnDcom-en-us-m17A05Ff.js → CreatedOnDcom-en-us-CSeUdR6v.js} +1 -1
  10. package/lib/src/{CreatedOnDcom-es-es-CqwD5d0B.js → CreatedOnDcom-es-es-g7rCfAtP.js} +1 -1
  11. package/lib/src/{CreatedOnDcom-fr-ca-D7DqzKEu.js → CreatedOnDcom-fr-ca-Bh_BTb-O.js} +1 -1
  12. package/lib/src/{CreatedOnDcom-fr-fr-DsXxNbr1.js → CreatedOnDcom-fr-fr-Clgd_Ujm.js} +1 -1
  13. package/lib/src/{CreatedOnDcom-pt-br-G1fjIhbo.js → CreatedOnDcom-pt-br-Dlgk0myX.js} +1 -1
  14. package/lib/src/{CreatedOnDcom-pt-pt-D7yYI2ID.js → CreatedOnDcom-pt-pt-B14APfrn.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 +62 -17
  21. package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.js +11 -4
  22. package/lib/src/brand-page-maker/components/preview/Preview.mixin.d.ts +30 -1
  23. package/lib/src/brand-page-maker/components/quick-link-bar/QuickLinkBar.mixin.d.ts +60 -2
  24. package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.d.ts +60 -2
  25. package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.d.ts +60 -2
  26. package/lib/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.mixin.d.ts +60 -2
  27. package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.d.ts +60 -2
  28. package/lib/src/brand-page-maker/components/upgrade-to-premium-button/UpgradeToPremiumButton.mixin.d.ts +60 -2
  29. package/lib/src/brand-page-maker/composables/ai-chat/useAiChat.js +3 -1
  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/useAiTextEditPrompts.js +22 -4
  33. package/lib/src/brand-page-maker/composables/ai-chat/useAiWebsiteBuilderChat.d.ts +2 -0
  34. package/lib/src/brand-page-maker/composables/ai-chat/useAiWebsiteBuilderChat.js +258 -0
  35. package/lib/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.js +22 -4
  36. package/lib/src/brand-page-maker/composables/useEventTracker.d.ts +1 -14
  37. package/lib/src/brand-page-maker/composables/useEventTracker.js +4 -85
  38. package/lib/src/brand-page-maker/constants/sidebar-constant.d.ts +1 -0
  39. package/lib/src/brand-page-maker/constants/sidebar-constant.js +8 -0
  40. package/lib/src/brand-page-maker/stores/ai-thread/ai-website-builder-thread-store.d.ts +16 -0
  41. package/lib/src/brand-page-maker/stores/ai-thread/ai-website-builder-thread-store.js +14 -0
  42. package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.d.ts +62 -3
  43. package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.js +2 -0
  44. package/lib/src/brand-page-maker/stores/index.d.ts +1 -0
  45. package/lib/src/brand-page-maker/stores/index.js +1 -0
  46. package/lib/src/brand-page-maker/stores/snapshot/snapshot-store.d.ts +2 -0
  47. package/lib/src/brand-page-maker/stores/snapshot/snapshot-store.js +9 -0
  48. package/lib/src/clients/ai-assistant-client.d.ts +8 -0
  49. package/lib/src/clients/ai-assistant-client.js +11 -1
  50. package/lib/src/composables/useSnapshot.js +33 -0
  51. package/lib/src/css/library.brand-page-brandCrowd.min.css +19 -6
  52. package/lib/src/css/library.brand-page-brandPage.min.css +19 -6
  53. package/lib/src/css/library.brand-page-designCom.min.css +19 -6
  54. package/lib/src/css/library.brand-page-preview.min.css +19 -6
  55. package/lib/src/index.d.ts +1 -0
  56. package/lib/src/index.mjs +42 -41
  57. package/lib/src/{lib-_9WqRMcr.js → lib-pOkCQP0J.js} +28795 -26831
  58. package/lib/src/lib.js +1 -0
  59. package/lib/src/metadata-builder/ai-metadata-executor.d.ts +1 -1
  60. package/lib/src/metadata-builder/ai-metadata-executor.js +68 -7
  61. package/lib/src/metadata-builder/builders/add-page-builder.d.ts +14 -0
  62. package/lib/src/metadata-builder/builders/add-page-builder.js +66 -0
  63. package/lib/src/metadata-builder/builders/remove-page-builder.d.ts +13 -0
  64. package/lib/src/metadata-builder/builders/remove-page-builder.js +50 -0
  65. package/lib/src/metadata-builder/builders/section-builders/about-section-builder.d.ts +6 -0
  66. package/lib/src/metadata-builder/builders/section-builders/about-section-builder.js +17 -0
  67. package/lib/src/metadata-builder/builders/section-builders/banner-section-builder.d.ts +6 -0
  68. package/lib/src/metadata-builder/builders/section-builders/banner-section-builder.js +25 -0
  69. package/lib/src/metadata-builder/builders/section-builders/base-section-builder.d.ts +40 -0
  70. package/lib/src/metadata-builder/builders/section-builders/base-section-builder.js +108 -0
  71. package/lib/src/metadata-builder/builders/section-builders/button-section-builder.d.ts +6 -0
  72. package/lib/src/metadata-builder/builders/section-builders/button-section-builder.js +16 -0
  73. package/lib/src/metadata-builder/builders/section-builders/contact-form-builder.d.ts +6 -0
  74. package/lib/src/metadata-builder/builders/section-builders/contact-form-builder.js +27 -0
  75. package/lib/src/metadata-builder/builders/section-builders/delete-section-builder.d.ts +13 -0
  76. package/lib/src/metadata-builder/builders/section-builders/delete-section-builder.js +37 -0
  77. package/lib/src/metadata-builder/builders/section-builders/divider-section-builder.d.ts +6 -0
  78. package/lib/src/metadata-builder/builders/section-builders/divider-section-builder.js +16 -0
  79. package/lib/src/metadata-builder/builders/section-builders/image-gallery-builder.d.ts +6 -0
  80. package/lib/src/metadata-builder/builders/section-builders/image-gallery-builder.js +76 -0
  81. package/lib/src/metadata-builder/builders/section-builders/image-section-builder.d.ts +6 -0
  82. package/lib/src/metadata-builder/builders/section-builders/image-section-builder.js +16 -0
  83. package/lib/src/metadata-builder/builders/section-builders/images-section-builder.d.ts +6 -0
  84. package/lib/src/metadata-builder/builders/section-builders/images-section-builder.js +158 -0
  85. package/lib/src/metadata-builder/builders/section-builders/index.d.ts +17 -0
  86. package/lib/src/metadata-builder/builders/section-builders/index.js +17 -0
  87. package/lib/src/metadata-builder/builders/section-builders/mailing-list-builder.d.ts +6 -0
  88. package/lib/src/metadata-builder/builders/section-builders/mailing-list-builder.js +17 -0
  89. package/lib/src/metadata-builder/builders/section-builders/mailing-list-section-builder.d.ts +6 -0
  90. package/lib/src/metadata-builder/builders/section-builders/mailing-list-section-builder.js +16 -0
  91. package/lib/src/metadata-builder/builders/section-builders/move-section-builder.d.ts +15 -0
  92. package/lib/src/metadata-builder/builders/section-builders/move-section-builder.js +62 -0
  93. package/lib/src/metadata-builder/builders/section-builders/profile-section-builder.d.ts +6 -0
  94. package/lib/src/metadata-builder/builders/section-builders/profile-section-builder.js +16 -0
  95. package/lib/src/metadata-builder/builders/section-builders/shapes-section-builder.d.ts +6 -0
  96. package/lib/src/metadata-builder/builders/section-builders/shapes-section-builder.js +162 -0
  97. package/lib/src/metadata-builder/builders/section-builders/social-links-builder.d.ts +6 -0
  98. package/lib/src/metadata-builder/builders/section-builders/social-links-builder.js +50 -0
  99. package/lib/src/metadata-builder/builders/section-builders/testimonial-section-builder.d.ts +6 -0
  100. package/lib/src/metadata-builder/builders/section-builders/testimonial-section-builder.js +133 -0
  101. package/lib/src/metadata-builder/builders/section-builders/text-section-builder.d.ts +6 -0
  102. package/lib/src/metadata-builder/builders/section-builders/text-section-builder.js +154 -0
  103. package/lib/src/metadata-builder/builders/section-content-factory.d.ts +3 -0
  104. package/lib/src/metadata-builder/builders/section-content-factory.js +13 -0
  105. package/lib/src/metadata-builder/builders/section-field-maps.d.ts +12 -0
  106. package/lib/src/metadata-builder/builders/section-field-maps.js +180 -0
  107. package/lib/src/metadata-builder/builders/section-field-utils.d.ts +11 -0
  108. package/lib/src/metadata-builder/builders/section-field-utils.js +109 -0
  109. package/lib/src/metadata-builder/helpers/rte.helpers.d.ts +6 -0
  110. package/lib/src/metadata-builder/helpers/rte.helpers.js +16 -1
  111. package/lib/src/metadata-builder/metadata-executor.js +71 -1
  112. package/lib/src/metadata-builder/models.d.ts +54 -0
  113. package/lib/src/metadata-builder/models.js +58 -0
  114. package/lib/src/metadata-builder/parsers/ai-toolcall-parser.d.ts +51 -3
  115. package/lib/src/metadata-builder/parsers/ai-toolcall-parser.js +110 -13
  116. package/lib/src/metadata-builder/parsers/section-tool-arguments.d.ts +285 -0
  117. package/lib/src/metadata-builder/parsers/section-tool-arguments.js +7 -0
  118. package/lib/src/shared/content-settings/components/booking-url-field/BookingUrlField.mixin.js +4 -1
  119. package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.d.ts +1 -14
  120. package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.js +17 -3
  121. package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.d.ts +1 -14
  122. package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.d.ts +2 -15
  123. package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.js +11 -4
  124. package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.d.ts +60 -2
  125. package/lib/src/shared/logo-settings/components/EditLogoSettings.mixin.d.ts +1 -14
  126. package/lib/src/shared/logo-settings/components/EditLogoSettings.mixin.js +7 -2
  127. package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +60 -2
  128. package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +61 -16
  129. package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +60 -2
  130. package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +91 -17
  131. package/lib/src/shared/side-bar/components/SideBar.mixin.d.ts +61 -2
  132. package/lib/src/shared/side-bar/components/SideBar.mixin.js +6 -0
  133. package/lib/src/shared/side-bar/components/SideBarTabButton.mixin.d.ts +1 -14
  134. package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +61 -16
  135. package/lib/src/shared/template-settings/components/TemplatesSettings.mixin.d.ts +1 -14
  136. package/lib/src/utils/minify-brand-page-metadata.d.ts +22 -0
  137. package/lib/src/utils/minify-brand-page-metadata.js +344 -0
  138. package/package.json +1 -1
  139. package/src/brand-page/models/brand-page-context.model.ts +12 -3
  140. package/src/brand-page/models/index.ts +1 -0
  141. package/src/brand-page-maker/components/ai-website-builder/AiWebsiteBuilder.vue +80 -0
  142. package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.ts +4 -0
  143. package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.vue +9 -2
  144. package/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.ts +13 -9
  145. package/src/brand-page-maker/components/save-contact/SaveContact.vue +15 -8
  146. package/src/brand-page-maker/composables/ai-chat/useAiChat.ts +4 -1
  147. package/src/brand-page-maker/composables/ai-chat/useAiMetadataBuilder.ts +6 -6
  148. package/src/brand-page-maker/composables/ai-chat/useAiTextEditPrompts.ts +22 -12
  149. package/src/brand-page-maker/composables/ai-chat/useAiWebsiteBuilderChat.ts +363 -0
  150. package/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.ts +22 -4
  151. package/src/brand-page-maker/composables/useEventTracker.ts +4 -109
  152. package/src/brand-page-maker/constants/sidebar-constant.ts +8 -0
  153. package/src/brand-page-maker/stores/ai-thread/ai-website-builder-thread-store.ts +19 -0
  154. package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.ts +3 -1
  155. package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +4 -0
  156. package/src/brand-page-maker/stores/index.ts +1 -0
  157. package/src/brand-page-maker/stores/snapshot/snapshot-store.ts +12 -0
  158. package/src/clients/ai-assistant-client.ts +17 -1
  159. package/src/composables/useSnapshot.ts +47 -0
  160. package/src/lib.ts +4 -0
  161. package/src/metadata-builder/ai-metadata-executor.ts +116 -26
  162. package/src/metadata-builder/builders/add-page-builder.ts +98 -0
  163. package/src/metadata-builder/builders/remove-page-builder.ts +83 -0
  164. package/src/metadata-builder/builders/section-builders/about-section-builder.ts +28 -0
  165. package/src/metadata-builder/builders/section-builders/banner-section-builder.ts +45 -0
  166. package/src/metadata-builder/builders/section-builders/base-section-builder.ts +160 -0
  167. package/src/metadata-builder/builders/section-builders/button-section-builder.ts +24 -0
  168. package/src/metadata-builder/builders/section-builders/contact-form-builder.ts +43 -0
  169. package/src/metadata-builder/builders/section-builders/delete-section-builder.ts +63 -0
  170. package/src/metadata-builder/builders/section-builders/divider-section-builder.ts +27 -0
  171. package/src/metadata-builder/builders/section-builders/image-gallery-builder.ts +111 -0
  172. package/src/metadata-builder/builders/section-builders/image-section-builder.ts +24 -0
  173. package/src/metadata-builder/builders/section-builders/images-section-builder.ts +223 -0
  174. package/src/metadata-builder/builders/section-builders/index.ts +21 -0
  175. package/src/metadata-builder/builders/section-builders/mailing-list-builder.ts +29 -0
  176. package/src/metadata-builder/builders/section-builders/mailing-list-section-builder.ts +27 -0
  177. package/src/metadata-builder/builders/section-builders/move-section-builder.ts +100 -0
  178. package/src/metadata-builder/builders/section-builders/profile-section-builder.ts +27 -0
  179. package/src/metadata-builder/builders/section-builders/shapes-section-builder.ts +231 -0
  180. package/src/metadata-builder/builders/section-builders/social-links-builder.ts +79 -0
  181. package/src/metadata-builder/builders/section-builders/testimonial-section-builder.ts +194 -0
  182. package/src/metadata-builder/builders/section-builders/text-section-builder.ts +234 -0
  183. package/src/metadata-builder/builders/section-content-factory.ts +20 -0
  184. package/src/metadata-builder/builders/section-field-maps.ts +235 -0
  185. package/src/metadata-builder/builders/section-field-utils.ts +157 -0
  186. package/src/metadata-builder/helpers/rte.helpers.ts +23 -1
  187. package/src/metadata-builder/metadata-executor.ts +96 -4
  188. package/src/metadata-builder/models.ts +62 -0
  189. package/src/metadata-builder/parsers/ai-toolcall-parser.ts +141 -17
  190. package/src/metadata-builder/parsers/section-tool-arguments.ts +417 -0
  191. package/src/shared/content-settings/components/booking-url-field/BookingUrlField.mixin.ts +4 -1
  192. package/src/shared/content-settings/components/content-settings/ContentSettings.mixin.ts +17 -10
  193. package/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.ts +13 -7
  194. package/src/shared/content-settings/components/generate-ai-button/GenerateAiButton.vue +11 -2
  195. package/src/shared/content-settings/components/generate-ai-modal/GenerateAiModal.vue +46 -16
  196. package/src/shared/logo-settings/components/EditLogoSettings.mixin.ts +7 -1
  197. package/src/shared/logo-settings/components/LogoTemplateSearch.vue +21 -9
  198. package/src/shared/side-bar/components/SideBar.mixin.ts +10 -0
  199. package/src/utils/minify-brand-page-metadata.ts +407 -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-_9WqRMcr.js";
2
+ import { _ as t } from "./lib-pOkCQP0J.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-_9WqRMcr.js";
2
+ import { _ as t } from "./lib-pOkCQP0J.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-_9WqRMcr.js";
2
+ import { _ as t } from "./lib-pOkCQP0J.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-_9WqRMcr.js";
2
+ import { _ as t } from "./lib-pOkCQP0J.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-_9WqRMcr.js";
2
+ import { _ as t } from "./lib-pOkCQP0J.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-_9WqRMcr.js";
2
+ import { _ as t } from "./lib-pOkCQP0J.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-_9WqRMcr.js";
2
+ import { _ as t } from "./lib-pOkCQP0J.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-_9WqRMcr.js";
2
+ import { _ as e } from "./lib-pOkCQP0J.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-_9WqRMcr.js";
2
+ import { _ as e } from "./lib-pOkCQP0J.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-_9WqRMcr.js";
2
+ import { _ as e } from "./lib-pOkCQP0J.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-_9WqRMcr.js";
2
+ import { _ as e } from "./lib-pOkCQP0J.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-_9WqRMcr.js";
2
+ import { _ as e } from "./lib-pOkCQP0J.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-_9WqRMcr.js";
2
+ import { _ as M } from "./lib-pOkCQP0J.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-_9WqRMcr.js";
2
+ import { _ as M } from "./lib-pOkCQP0J.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;
@@ -1022,6 +1080,7 @@ declare const _default: import("vue").DefineComponent<{}, {
1022
1080
  setUpsellBridgeState: (props: import("@brand-page-maker/composables/useEventTracker").BpUpsellEventProps) => void;
1023
1081
  setDomainUpsellBridgeState: (props: import("@brand-page-maker/composables/useEventTracker").BpUpsellEventProps) => void;
1024
1082
  subscribe: (callbackFn: (event: import("@brand-page-maker/composables/useEventTracker").BpEventTrackerEvent) => void) => void;
1083
+ sendWebsiteEvent: (event: import("@brand-page-maker/composables/useEventTracker").BpEventTrackerEvent) => void;
1025
1084
  sendWebsiteMakerOpenEvent: (location: string) => void;
1026
1085
  sendUpsellOpenEvent: (cta_location?: string | undefined) => void;
1027
1086
  sendDomainUpsellOpenEvent: () => void;
@@ -1046,20 +1105,6 @@ declare const _default: import("vue").DefineComponent<{}, {
1046
1105
  sendGenerateTextContinuationEvent: (cta_location: string, continuation: string | null) => void;
1047
1106
  sendAiSendPromptEvent: (ctaLocation: string) => void;
1048
1107
  sendAiStopGenerationEvent: (ctaLocation: string) => void;
1049
- sendMakerHyperlinkClickEvent: (linkType: string, contentType: string) => void;
1050
- sendMakerHyperlinkAddEvent: (linkType: string, contentType: string) => void;
1051
- sendMakerHyperlinkRemoveEvent: (linkType: string, contentType: string) => void;
1052
- sendAiClickSuggestedPromptEvent: (ctaLocation: string, prompt: string) => void;
1053
- sendAiCopyResponseEvent: (ctaLocation: string) => void;
1054
- sendAiRegenerateTextEvent: (ctaLocation: string) => void;
1055
- sendMakerSelectContentEvent: (contentCategory: string, contentType: string, selectLocation: string) => void;
1056
- sendMakerAddContentEvent: (contentCategory: string, contentType: string, selectLocation: string) => void;
1057
- sendMakerRemoveContentEvent: (contentCategory: string, contentType: string, selectLocation: string) => void;
1058
- sendMakerSwitchLogoEvent: (selectLocation: string) => void;
1059
- sendMakerSwitchLogoModalEvent: (selectLocation: string, continuation?: string | undefined) => void;
1060
- sendMakerCalendlyLinkClickedEvent: () => void;
1061
- sendDigitalBusinessCardsSaveContactToggleEvent: (ctaLocation: string, toggleValue: "enabled" | "disabled") => void;
1062
- sendDigitalBusinessCardsHidePopupEvent: (ctaLocation: string, toggleValue: "enabled" | "disabled") => void;
1063
1108
  };
1064
1109
  externalEditor: import("@tiptap/vue-3").Editor;
1065
1110
  styleSettingsStore: import("pinia").Store<"uiStyleSettings", import("@shared/style-settings/store").StyleSettingsState, {
@@ -1152,7 +1197,7 @@ declare const _default: import("vue").DefineComponent<{}, {
1152
1197
  onPageFooterContainerClick(): void;
1153
1198
  onSaveContactWidgetClick(): void;
1154
1199
  onLogoClick(tabName: string): void;
1155
- sendMakerSelectContentEvent(): void;
1200
+ sendSelectContentEvent(): void;
1156
1201
  }, import("vue").DefineComponent<import("vue").ExtractPropTypes<{
1157
1202
  context: {
1158
1203
  type: import("vue").PropType<import("@brand-page").BrandPageContext>;
@@ -9,7 +9,7 @@ import { useUiSideBarStore } from '@shared/side-bar/store';
9
9
  import { SIDE_BAR_TAB_NAMES } from '@brand-page-maker/constants';
10
10
  import { useUiPageSettingsStore } from '@shared/page-settings/store';
11
11
  import { PAGE_SECTIONS } from '@shared/page-settings/models';
12
- import { SELECT_LOCATIONS, useEventTracker, } from '@brand-page-maker/composables/useEventTracker';
12
+ import { EVENTS, SELECT_LOCATIONS, useEventTracker, } from '@brand-page-maker/composables/useEventTracker';
13
13
  import debounce from 'lodash.debounce';
14
14
  import { transformToRTE, RTE_ALLOWED_SECTION_TYPES, } from '@brand-page-maker/utils';
15
15
  import { useExternalRichTextEditor } from '@brand-page-maker/composables/rich-text-editor/useRichTextEditor';
@@ -64,7 +64,7 @@ export default defineComponent({
64
64
  },
65
65
  created() {
66
66
  if (!this.selectEventDebounceHandler) {
67
- this.selectEventDebounceHandler = debounce(this.sendMakerSelectContentEvent, 500);
67
+ this.selectEventDebounceHandler = debounce(this.sendSelectContentEvent, 500);
68
68
  }
69
69
  },
70
70
  onBeforeUnmount() {
@@ -305,11 +305,18 @@ export default defineComponent({
305
305
  onLogoClick(tabName) {
306
306
  this.sideBarStore.setSelectedTabName({ tabName });
307
307
  },
308
- sendMakerSelectContentEvent() {
308
+ sendSelectContentEvent() {
309
309
  const currentlySelectedItem = this.items.find((item) => item.id === this.contentSettingsStore.selectedItemId);
310
310
  // Send MixPanel select event
311
311
  if (currentlySelectedItem) {
312
- this.eventTracker.sendMakerSelectContentEvent(this.contentSettingsStore.getContentCategory(currentlySelectedItem.type), currentlySelectedItem.type, SELECT_LOCATIONS.SIDEBAR);
312
+ this.eventTracker.sendWebsiteEvent({
313
+ eventName: EVENTS.WEBSITE_MAKER_SELECT_CONTENT,
314
+ eventProps: {
315
+ content_category: this.contentSettingsStore.getContentCategory(currentlySelectedItem.type),
316
+ content_type: currentlySelectedItem.type,
317
+ select_location: SELECT_LOCATIONS.SIDEBAR,
318
+ },
319
+ });
313
320
  }
314
321
  },
315
322
  },
@@ -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;