@designcrowd/library.brand-page 6.2.11-builder-v2-1 → 6.2.12

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 (579) hide show
  1. package/lib/src/{CreatedOnBrandCrowd-de-de-Dg2pOwbr.js → CreatedOnBrandCrowd-de-de-BtVKllNQ.js} +1 -1
  2. package/lib/src/{CreatedOnBrandCrowd-en-us-BILs_hsB.js → CreatedOnBrandCrowd-en-us-CX5V0v8u.js} +1 -1
  3. package/lib/src/{CreatedOnBrandCrowd-es-es-VpxQ0N5F.js → CreatedOnBrandCrowd-es-es-CbA02PCL.js} +1 -1
  4. package/lib/src/{CreatedOnBrandCrowd-fr-fr-CFHWRHzi.js → CreatedOnBrandCrowd-fr-ca-BQAKruBF.js} +1 -1
  5. package/lib/src/{CreatedOnBrandCrowd-fr-ca-CFHWRHzi.js → CreatedOnBrandCrowd-fr-fr-BQAKruBF.js} +1 -1
  6. package/lib/src/{CreatedOnBrandCrowd-pt-pt-CZfs45s9.js → CreatedOnBrandCrowd-pt-br-Yk_yzB3s.js} +1 -1
  7. package/lib/src/{CreatedOnBrandCrowd-pt-br-CZfs45s9.js → CreatedOnBrandCrowd-pt-pt-Yk_yzB3s.js} +1 -1
  8. package/lib/src/{CreatedOnDcom-de-de-DYMQ6sIF.js → CreatedOnDcom-de-de-DJZQbPSD.js} +1 -1
  9. package/lib/src/{CreatedOnDcom-en-us-Dj5sdPid.js → CreatedOnDcom-en-us-BJvNAa4l.js} +1 -1
  10. package/lib/src/{CreatedOnDcom-es-es-Cx9yNTro.js → CreatedOnDcom-es-es-CUwB1FRY.js} +1 -1
  11. package/lib/src/{CreatedOnDcom-fr-ca-Bzr0SjGq.js → CreatedOnDcom-fr-ca-CK54U4oh.js} +1 -1
  12. package/lib/src/{CreatedOnDcom-fr-fr-BgqKY35F.js → CreatedOnDcom-fr-fr-DuUNBGrM.js} +1 -1
  13. package/lib/src/{CreatedOnDcom-pt-br-CXK6qfvL.js → CreatedOnDcom-pt-br-BfODpFNV.js} +1 -1
  14. package/lib/src/{CreatedOnDcom-pt-pt-B8SggNTQ.js → CreatedOnDcom-pt-pt-Cf6u2GCg.js} +1 -1
  15. package/lib/src/brand-page/__fixtures__/production-text-style-resolver.fixture.d.ts +16 -0
  16. package/lib/src/brand-page/__fixtures__/production-text-style-resolver.fixture.js +35 -0
  17. package/lib/src/brand-page/components/contact-form/ContactForm.mixin.d.ts +3 -0
  18. package/lib/src/brand-page/components/contact-form/ContactForm.mixin.js +19 -13
  19. package/lib/src/brand-page/components/mailing-list/MailingList.mixin.d.ts +3 -1
  20. package/lib/src/brand-page/components/mailing-list/MailingList.mixin.js +17 -2
  21. package/lib/src/brand-page/components/navigation/button-carousel/ButtonCarouselNavigation.mixin.d.ts +11 -3
  22. package/lib/src/brand-page/components/navigation/button-carousel/ButtonCarouselNavigation.mixin.js +35 -1
  23. package/lib/src/brand-page/components/navigation/navigation-side-menu/NavigationSideMenu.mixin.d.ts +8 -2
  24. package/lib/src/brand-page/components/navigation/navigation-side-menu/NavigationSideMenu.mixin.js +27 -3
  25. package/lib/src/brand-page/components/page/Page.mixin.d.ts +5 -2
  26. package/lib/src/brand-page/components/page/Page.mixin.js +33 -27
  27. package/lib/src/brand-page/components/page-footer/PageFooter.mixin.d.ts +7 -2
  28. package/lib/src/brand-page/components/page-footer/PageFooter.mixin.js +21 -1
  29. package/lib/src/brand-page/components/payment/Payment.mixin.d.ts +5 -2
  30. package/lib/src/brand-page/components/payment/Payment.mixin.js +22 -2
  31. package/lib/src/brand-page/components/payment/support-me/SupportMe.mixin.d.ts +6 -2
  32. package/lib/src/brand-page/components/payment/support-me/SupportMe.mixin.js +32 -1
  33. package/lib/src/brand-page/components/social-links/SocialLinks.stories.js +0 -3
  34. package/lib/src/brand-page/components/testimonial-section/__fixtures__/data.js +0 -3
  35. package/lib/src/brand-page/components/text/Text.stories.js +0 -17
  36. package/lib/src/brand-page/constants/font.constants.d.ts +62 -0
  37. package/lib/src/brand-page/constants/font.constants.js +35 -0
  38. package/lib/src/brand-page/models/brand-page-context.model.d.ts +2 -0
  39. package/lib/src/brand-page/models/brand-page-context.model.js +7 -0
  40. package/lib/src/brand-page/models/index.d.ts +23 -24
  41. package/lib/src/brand-page/models/index.js +20 -7
  42. package/lib/src/brand-page/models/navigation-styles.model.d.ts +1 -1
  43. package/lib/src/brand-page/models/navigation-styles.model.js +17 -8
  44. package/lib/src/brand-page/models/payment.model.d.ts +11 -6
  45. package/lib/src/brand-page/models/styles.model.d.ts +53 -7
  46. package/lib/src/brand-page/models/styles.model.js +115 -27
  47. package/lib/src/brand-page/utils/color-palette.util.d.ts +43 -23
  48. package/lib/src/brand-page/utils/color-palette.util.js +65 -27
  49. package/lib/src/brand-page/utils/color.util.d.ts +13 -9
  50. package/lib/src/brand-page/utils/color.util.js +56 -15
  51. package/lib/src/brand-page/utils/container-text-color.util.d.ts +46 -13
  52. package/lib/src/brand-page/utils/container-text-color.util.js +321 -41
  53. package/lib/src/brand-page/utils/index.d.ts +1 -0
  54. package/lib/src/brand-page/utils/index.js +1 -0
  55. package/lib/src/brand-page/utils/migration/migration-20.js +6 -2
  56. package/lib/src/brand-page/utils/migration/migration-21.js +34 -6
  57. package/lib/src/brand-page/utils/migration/migration-22.d.ts +99 -0
  58. package/lib/src/brand-page/utils/migration/migration-22.js +909 -0
  59. package/lib/src/brand-page/utils/migration.util.js +17 -0
  60. package/lib/src/brand-page/utils/model.util.d.ts +4 -0
  61. package/lib/src/brand-page/utils/model.util.js +4 -0
  62. package/lib/src/brand-page/utils/personalisation.util.js +9 -1
  63. package/lib/src/brand-page/utils/rte-role-lift.util.d.ts +72 -0
  64. package/lib/src/brand-page/utils/rte-role-lift.util.js +275 -0
  65. package/lib/src/brand-page/utils/style.util.d.ts +5 -1
  66. package/lib/src/brand-page/utils/style.util.js +34 -11
  67. package/lib/src/brand-page/utils/text-role-css.util.d.ts +19 -0
  68. package/lib/src/brand-page/utils/text-role-css.util.js +186 -0
  69. package/lib/src/brand-page/utils/text-role-reconnect.util.d.ts +90 -0
  70. package/lib/src/brand-page/utils/text-role-reconnect.util.js +434 -0
  71. package/lib/src/brand-page/utils/text-style.util.d.ts +53 -23
  72. package/lib/src/brand-page/utils/text-style.util.js +122 -22
  73. package/lib/src/brand-page/utils/view-model.util.d.ts +9 -1
  74. package/lib/src/brand-page/utils/view-model.util.js +124 -111
  75. package/lib/src/brand-page/view-models.d.ts +1 -0
  76. package/lib/src/brand-page-maker/components/action-bar/ActionBar.mixin.d.ts +4 -1
  77. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +34 -2
  78. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.js +4 -4
  79. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMakerTemplateSettings.mixin.d.ts +4 -1
  80. package/lib/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-examples.js +0 -10
  81. package/lib/src/brand-page-maker/components/brand-page-maker/__fixtures__/content-settings-items.fixture.js +0 -1
  82. package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +44 -138
  83. package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.js +0 -28
  84. package/lib/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.mixin.d.ts +4 -1
  85. package/lib/src/brand-page-maker/components/navigation/Navigation.mixin.d.ts +1 -1
  86. package/lib/src/brand-page-maker/components/preview/Preview.mixin.d.ts +7 -0
  87. package/lib/src/brand-page-maker/components/quick-link-bar/QuickLinkBar.mixin.d.ts +21 -0
  88. package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.d.ts +25 -1
  89. package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.d.ts +25 -1
  90. package/lib/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.mixin.d.ts +21 -0
  91. package/lib/src/brand-page-maker/components/social-share/SocialShare.mixin.d.ts +4 -1
  92. package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.d.ts +25 -1
  93. package/lib/src/brand-page-maker/components/upgrade-to-premium-button/UpgradeToPremiumButton.mixin.d.ts +21 -0
  94. package/lib/src/brand-page-maker/composables/ai-chat/ai-builder-experiment.d.ts +10 -0
  95. package/lib/src/brand-page-maker/composables/ai-chat/ai-builder-experiment.js +11 -0
  96. package/lib/src/brand-page-maker/composables/ai-chat/useAiMetadataBuilder.d.ts +1 -0
  97. package/lib/src/brand-page-maker/composables/ai-chat/useAiMetadataBuilder.js +1 -0
  98. package/lib/src/brand-page-maker/composables/ai-chat/useAiWebsiteBuilderChat.js +14 -0
  99. package/lib/src/brand-page-maker/composables/rich-text-editor/extensions/RoleTypographyFill.d.ts +16 -0
  100. package/lib/src/brand-page-maker/composables/rich-text-editor/extensions/RoleTypographyFill.js +61 -0
  101. package/lib/src/brand-page-maker/composables/rich-text-editor/extensions/RteClipboard.d.ts +11 -0
  102. package/lib/src/brand-page-maker/composables/rich-text-editor/extensions/RteClipboard.js +236 -0
  103. package/lib/src/brand-page-maker/composables/rich-text-editor/font.d.ts +2 -1
  104. package/lib/src/brand-page-maker/composables/rich-text-editor/font.js +25 -6
  105. package/lib/src/brand-page-maker/composables/rich-text-editor/formatting.d.ts +17 -4
  106. package/lib/src/brand-page-maker/composables/rich-text-editor/formatting.js +204 -17
  107. package/lib/src/brand-page-maker/composables/rich-text-editor/hyperlink.d.ts +1 -1
  108. package/lib/src/brand-page-maker/composables/rich-text-editor/hyperlink.js +29 -31
  109. package/lib/src/brand-page-maker/composables/rich-text-editor/keepMarksOnEmpty.d.ts +20 -0
  110. package/lib/src/brand-page-maker/composables/rich-text-editor/keepMarksOnEmpty.js +60 -0
  111. package/lib/src/brand-page-maker/composables/rich-text-editor/spacing.d.ts +2 -1
  112. package/lib/src/brand-page-maker/composables/rich-text-editor/spacing.js +22 -6
  113. package/lib/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.d.ts +10 -4
  114. package/lib/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.js +319 -275
  115. package/lib/src/brand-page-maker/constants/config-settings-constant.js +1 -5
  116. package/lib/src/brand-page-maker/convertors/text-css-style-options.convertor.js +6 -2
  117. package/lib/src/brand-page-maker/convertors/text-size-value.convertor.d.ts +1 -1
  118. package/lib/src/brand-page-maker/convertors/text-size-value.convertor.js +3 -1
  119. package/lib/src/brand-page-maker/default-getters/payment-text-and-border-color.default-getter.js +7 -14
  120. package/lib/src/brand-page-maker/default-getters/text-color.default-getter.js +6 -13
  121. package/lib/src/brand-page-maker/models/content-settings.d.ts +8 -0
  122. package/lib/src/brand-page-maker/models/content-settings.js +112 -81
  123. package/lib/src/brand-page-maker/stores/admin-logo-settings/admin-logo-settings-store-utils.d.ts +2 -2
  124. package/lib/src/brand-page-maker/stores/admin-logo-settings/admin-logo-settings-store-utils.js +5 -2
  125. package/lib/src/brand-page-maker/stores/admin-logo-settings/admin-logo-settings-store.js +4 -3
  126. package/lib/src/brand-page-maker/stores/ai-checkpoint/ai-checkpoint-store.d.ts +1257 -117
  127. package/lib/src/brand-page-maker/stores/ai-thread/ai-website-builder-thread-store.d.ts +9 -2
  128. package/lib/src/brand-page-maker/stores/ai-thread/ai-website-builder-thread-store.js +20 -0
  129. package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.d.ts +21 -0
  130. package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.d.ts +6 -1
  131. package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.js +17 -9
  132. package/lib/src/brand-page-maker/stores/history/history-store.d.ts +59 -5
  133. package/lib/src/brand-page-maker/stores/history/history-store.js +22 -2
  134. package/lib/src/brand-page-maker/utils/apply-color-strategy.js +26 -8
  135. package/lib/src/brand-page-maker/utils/index.d.ts +2 -1
  136. package/lib/src/brand-page-maker/utils/index.js +2 -1
  137. package/lib/src/brand-page-maker/utils/rich-text-editor.util.d.ts +117 -15
  138. package/lib/src/brand-page-maker/utils/rich-text-editor.util.js +435 -281
  139. package/lib/src/brand-page-maker/utils/rte-authoring.util.d.ts +4 -0
  140. package/lib/src/brand-page-maker/utils/rte-authoring.util.js +101 -0
  141. package/lib/src/brand-page-maker/utils/rte-clipboard.util.d.ts +126 -0
  142. package/lib/src/brand-page-maker/utils/rte-clipboard.util.js +307 -0
  143. package/lib/src/brand-page-maker/utils/rte-sanitize.util.js +13 -3
  144. package/lib/src/{bundled-translations-zfiA5Tsw.js → bundled-translations-yGrvPE5i.js} +17 -17
  145. package/lib/src/{bundled-translations.de-DE-ChsdSyAP.js → bundled-translations.de-DE-L4Znf8Hs.js} +17 -17
  146. package/lib/src/{bundled-translations.es-ES-DflsWQK0.js → bundled-translations.es-ES-D6iticrK.js} +15 -15
  147. package/lib/src/{bundled-translations.fr-CA-fpDRuZ52.js → bundled-translations.fr-CA-BgAVE-9k.js} +25 -25
  148. package/lib/src/{bundled-translations.fr-FR-Bub73Zt-.js → bundled-translations.fr-FR-B8GbyqxQ.js} +17 -17
  149. package/lib/src/{bundled-translations.pt-BR-BlnWE9TB.js → bundled-translations.pt-BR-DjPU3Db7.js} +25 -25
  150. package/lib/src/{bundled-translations.pt-PT-DmzXlnaS.js → bundled-translations.pt-PT-BaepaDpr.js} +23 -23
  151. package/lib/src/bundles/bundled-translations.de-DE.json +21 -2
  152. package/lib/src/bundles/bundled-translations.es-ES.json +21 -2
  153. package/lib/src/bundles/bundled-translations.fr-CA.json +21 -2
  154. package/lib/src/bundles/bundled-translations.fr-FR.json +21 -2
  155. package/lib/src/bundles/bundled-translations.json +21 -2
  156. package/lib/src/bundles/bundled-translations.pt-BR.json +21 -2
  157. package/lib/src/bundles/bundled-translations.pt-PT.json +21 -2
  158. package/lib/src/clients/ai-assistant-client.d.ts +7 -1
  159. package/lib/src/clients/ai-assistant-client.js +7 -15
  160. package/lib/src/composables/useTranslate.d.ts +1 -1
  161. package/lib/src/composables/useTranslate.js +1 -1
  162. package/lib/src/css/library.brand-page-brandCrowd.min.css +284 -188
  163. package/lib/src/css/library.brand-page-brandPage.min.css +284 -188
  164. package/lib/src/css/library.brand-page-designCom.min.css +284 -188
  165. package/lib/src/css/library.brand-page-preview.min.css +284 -188
  166. package/lib/src/index.d.ts +2 -1
  167. package/lib/src/index.mjs +195 -191
  168. package/lib/src/{lib-7gtW85nE.js → lib-kGRlD3_P.js} +39082 -36131
  169. package/lib/src/lib.js +2 -1
  170. package/lib/src/metadata-builder/builders/footer-builder.js +4 -5
  171. package/lib/src/metadata-builder/builders/global-role-propagation.d.ts +58 -0
  172. package/lib/src/metadata-builder/builders/global-role-propagation.js +246 -0
  173. package/lib/src/metadata-builder/builders/global-styles-builder.d.ts +1 -0
  174. package/lib/src/metadata-builder/builders/global-styles-builder.js +116 -45
  175. package/lib/src/metadata-builder/builders/header-builder.js +13 -4
  176. package/lib/src/metadata-builder/builders/section-builders/about-section-builder.js +3 -3
  177. package/lib/src/metadata-builder/builders/section-builders/banner-section-builder.js +3 -3
  178. package/lib/src/metadata-builder/builders/section-builders/booking-section-builder.js +3 -3
  179. package/lib/src/metadata-builder/builders/section-builders/contact-form-builder.js +4 -4
  180. package/lib/src/metadata-builder/builders/section-builders/images-section-builder.js +3 -3
  181. package/lib/src/metadata-builder/builders/section-builders/mailing-list-builder.js +2 -2
  182. package/lib/src/metadata-builder/builders/section-builders/mailing-list-section-builder.js +2 -2
  183. package/lib/src/metadata-builder/builders/section-builders/profile-section-builder.js +4 -4
  184. package/lib/src/metadata-builder/builders/section-builders/shapes-section-builder.js +3 -3
  185. package/lib/src/metadata-builder/builders/section-builders/social-links-builder.js +8 -2
  186. package/lib/src/metadata-builder/builders/section-builders/testimonial-section-builder.js +2 -2
  187. package/lib/src/metadata-builder/builders/section-builders/text-section-builder.js +60 -29
  188. package/lib/src/metadata-builder/builders/section-field-maps.js +1 -0
  189. package/lib/src/metadata-builder/builders/section-field-utils.d.ts +48 -19
  190. package/lib/src/metadata-builder/builders/section-field-utils.js +128 -52
  191. package/lib/src/metadata-builder/builders/section-rules/global-styles.rules.d.ts +4 -2
  192. package/lib/src/metadata-builder/builders/section-rules/global-styles.rules.js +28 -12
  193. package/lib/src/metadata-builder/builders/section-rules/social-links.rules.js +5 -1
  194. package/lib/src/metadata-builder/helpers/rte.helpers.d.ts +1 -1
  195. package/lib/src/metadata-builder/helpers/rte.helpers.js +97 -40
  196. package/lib/src/metadata-builder/metadata-executor.js +23 -1
  197. package/lib/src/metadata-builder/models.d.ts +2 -0
  198. package/lib/src/metadata-builder/parsers/ai-toolcall-parser.d.ts +18 -19
  199. package/lib/src/metadata-builder/parsers/section-tool-arguments.d.ts +18 -1
  200. package/lib/src/metadata-builder/sanitizers/rte-schema-check.js +1 -1
  201. package/lib/src/metadata-builder/sanitizers/sanitizer-rules.d.ts +0 -1
  202. package/lib/src/metadata-builder/sanitizers/sanitizer-rules.js +5 -8
  203. package/lib/src/metadata-builder/sanitizers/section-args-validator.d.ts +7 -16
  204. package/lib/src/metadata-builder/sanitizers/section-args-validator.js +95 -22
  205. package/lib/src/shared/color-palette/section-color-matches.js +9 -25
  206. package/lib/src/shared/color-strategies/color-strategies.d.ts +15 -0
  207. package/lib/src/shared/color-strategies/color-strategies.js +31 -0
  208. package/lib/src/shared/color-strategies/rte-color.d.ts +8 -0
  209. package/lib/src/shared/color-strategies/rte-color.js +16 -0
  210. package/lib/src/shared/color-strategies/rte-field-pairs.d.ts +23 -0
  211. package/lib/src/shared/color-strategies/rte-field-pairs.js +28 -0
  212. package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.d.ts +9 -135
  213. package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.js +1 -27
  214. package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.d.ts +12 -2
  215. package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.d.ts +7 -0
  216. package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.d.ts +75 -6
  217. package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.js +18 -7
  218. package/lib/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.d.ts +6 -1
  219. package/lib/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.js +0 -7
  220. package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.d.ts +22 -0
  221. package/lib/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.js +8 -4
  222. package/lib/src/shared/content-settings/components/text-style-field/TextStyleField.mixin.d.ts +1255 -26
  223. package/lib/src/shared/content-settings/components/text-style-field/TextStyleField.mixin.js +203 -59
  224. package/lib/src/shared/content-settings/store/content-settings-store.d.ts +6 -0
  225. package/lib/src/shared/content-settings/store/content-settings-store.js +105 -8
  226. package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +26 -1
  227. package/lib/src/shared/navigation-style-settings/store/index.d.ts +7 -3
  228. package/lib/src/shared/navigation-style-settings/store/index.js +40 -15
  229. package/lib/src/shared/page-settings/components/new-page-modal/NewPageModal.mixin.d.ts +1 -0
  230. package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +38 -5
  231. package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +91 -13
  232. package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.js +10 -2
  233. package/lib/src/shared/page-settings/store/page-settings-store.d.ts +2 -1
  234. package/lib/src/shared/page-settings/store/page-settings-store.js +17 -0
  235. package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +32 -1
  236. package/lib/src/shared/rte-extensions/AutoLink.d.ts +17 -0
  237. package/lib/src/{brand-page-maker/composables/rich-text-editor/extensions → shared/rte-extensions}/AutoLink.js +67 -51
  238. package/lib/src/{brand-page-maker/composables/rich-text-editor/extensions → shared/rte-extensions}/MaxLength.js +4 -1
  239. package/lib/src/shared/rte-extensions/TextEffects.d.ts +28 -0
  240. package/lib/src/shared/rte-extensions/TextEffects.js +96 -0
  241. package/lib/src/shared/rte-extensions/ViewDomParser.d.ts +2 -0
  242. package/lib/src/shared/rte-extensions/ViewDomParser.js +21 -0
  243. package/lib/src/shared/rte-extensions.util.d.ts +25 -0
  244. package/lib/src/{brand-page-maker/composables/rich-text-editor/getRteExtensions.js → shared/rte-extensions.util.js} +62 -7
  245. package/lib/src/shared/rte-link.util.d.ts +1 -0
  246. package/lib/src/shared/rte-link.util.js +1 -0
  247. package/lib/src/shared/rte-render.util.d.ts +112 -0
  248. package/lib/src/shared/rte-render.util.js +255 -0
  249. package/lib/src/shared/rte-shape.util.d.ts +6 -0
  250. package/lib/src/shared/rte-shape.util.js +18 -0
  251. package/lib/src/shared/side-bar/components/SideBar.mixin.d.ts +23 -1
  252. package/lib/src/shared/side-bar/components/SideBarTabButton.mixin.d.ts +1 -0
  253. package/lib/src/shared/side-bar/store/side-bar-store.d.ts +2 -0
  254. package/lib/src/shared/side-bar/store/side-bar-store.js +9 -0
  255. package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +176 -15
  256. package/lib/src/shared/style-settings/components/StyleSettings.mixin.js +7 -1
  257. package/lib/src/shared/style-settings/store/style-settings-store.d.ts +1 -9
  258. package/lib/src/shared/style-settings/store/style-settings-store.js +3 -33
  259. package/lib/src/shared/style-settings/text-style-size-order.d.ts +2 -0
  260. package/lib/src/shared/style-settings/text-style-size-order.js +13 -0
  261. package/lib/src/shared/text-role-typography.util.d.ts +64 -0
  262. package/lib/src/shared/text-role-typography.util.js +183 -0
  263. package/lib/src/utils/minify-brand-page-metadata.d.ts +16 -1
  264. package/lib/src/utils/minify-brand-page-metadata.js +31 -9
  265. package/package.json +1 -1
  266. package/src/brand-page/__fixtures__/migration-22-v21/edited-brandsite-sections.v21.json +982 -0
  267. package/src/brand-page/__fixtures__/migration-22-v21/new-brandcontact-every-section.v21.json +1231 -0
  268. package/src/brand-page/__fixtures__/migration-22-v21/new-brandpage-every-section.v21.json +1231 -0
  269. package/src/brand-page/__fixtures__/migration-22-v21/new-brandsite-every-section.v21.json +1243 -0
  270. package/src/brand-page/__fixtures__/migration-22-v21/real-brandcontact.v21.json +755 -0
  271. package/src/brand-page/__fixtures__/migration-22-v21/real-brandpage-general-link.v21.json +527 -0
  272. package/src/brand-page/__fixtures__/migration-22-v21/real-brandpage-links.v21.json +755 -0
  273. package/src/brand-page/__fixtures__/migration-22-v21/real-brandpage-social-links.v21.json +514 -0
  274. package/src/brand-page/__fixtures__/migration-22-v21/real-brandsite-about.v21.json +459 -0
  275. package/src/brand-page/__fixtures__/migration-22-v21/real-brandsite-footer.v21.json +469 -0
  276. package/src/brand-page/__fixtures__/migration-22-v21/real-brandsite-header-banner.v21.json +481 -0
  277. package/src/brand-page/__fixtures__/migration-22-v21/real-brandsite-sections.v21.json +800 -0
  278. package/src/brand-page/__fixtures__/production-text-style-resolver.fixture.ts +52 -0
  279. package/src/brand-page/components/about-section/AboutSection.vue.test.ts +0 -10
  280. package/src/brand-page/components/contact-form/ContactForm.mixin.test.ts +127 -0
  281. package/src/brand-page/components/contact-form/ContactForm.mixin.ts +31 -14
  282. package/src/brand-page/components/contact-form/ContactForm.vue +26 -12
  283. package/src/brand-page/components/contact-form/ContactForm.vue.test.ts +60 -0
  284. package/src/brand-page/components/mailing-list/MailingList.mixin.test.ts +92 -0
  285. package/src/brand-page/components/mailing-list/MailingList.mixin.ts +28 -3
  286. package/src/brand-page/components/mailing-list/MailingList.vue +9 -4
  287. package/src/brand-page/components/mailing-list/MailingList.vue.test.ts +63 -0
  288. package/src/brand-page/components/navigation/button-carousel/ButtonCarouselNavigation.mixin.ts +51 -1
  289. package/src/brand-page/components/navigation/button-carousel/ButtonCarouselNavigation.test.ts +114 -0
  290. package/src/brand-page/components/navigation/button-carousel/ButtonCarouselNavigation.vue +8 -2
  291. package/src/brand-page/components/navigation/navigation-carousel/NavigationCarousel.test.ts +182 -0
  292. package/src/brand-page/components/navigation/navigation-carousel/NavigationCarousel.vue +58 -12
  293. package/src/brand-page/components/navigation/navigation-side-menu/NavigationSideMenu.mixin.ts +40 -3
  294. package/src/brand-page/components/navigation/navigation-side-menu/NavigationSideMenu.vue +15 -7
  295. package/src/brand-page/components/navigation/navigation-side-menu/NavigationSideMenu.vue.test.ts +133 -3
  296. package/src/brand-page/components/page/Page.mixin.ts +41 -34
  297. package/src/brand-page/components/page/Page.vue +17 -6
  298. package/src/brand-page/components/page/Page.vue.test.ts +91 -1
  299. package/src/brand-page/components/page-footer/PageFooter.mixin.ts +32 -2
  300. package/src/brand-page/components/page-footer/PageFooter.test.ts +79 -0
  301. package/src/brand-page/components/page-footer/PageFooter.vue +12 -4
  302. package/src/brand-page/components/payment/Payment.mixin.ts +34 -2
  303. package/src/brand-page/components/payment/Payment.test.ts +188 -0
  304. package/src/brand-page/components/payment/Payment.vue +12 -5
  305. package/src/brand-page/components/payment/RequestPaymentStripe.vue +1 -0
  306. package/src/brand-page/components/payment/support-me/SupportMe.mixin.ts +49 -2
  307. package/src/brand-page/components/payment/support-me/SupportMe.test.ts +100 -0
  308. package/src/brand-page/components/payment/support-me/SupportMe.vue +7 -1
  309. package/src/brand-page/components/payment/support-me/SupportMe.vue.test.ts +66 -0
  310. package/src/brand-page/components/save-contact/SaveContactWidget.test.ts +100 -0
  311. package/src/brand-page/components/save-contact/SaveContactWidget.vue +6 -3
  312. package/src/brand-page/components/shop/PaymentModal.vue +2 -6
  313. package/src/brand-page/components/shop/PaymentShippingAddress.vue +6 -0
  314. package/src/brand-page/components/shop/Shop.vue +15 -2
  315. package/src/brand-page/components/shop/Shop.vue.test.ts +74 -2
  316. package/src/brand-page/components/social-links/SocialLinks.stories.ts +0 -3
  317. package/src/brand-page/components/social-links/SocialLinks.vue.test.ts +0 -3
  318. package/src/brand-page/components/testimonial-section/__fixtures__/data.ts +0 -3
  319. package/src/brand-page/components/text/Text.stories.ts +0 -17
  320. package/src/brand-page/components/text-wrapper/TextWrapper.parity.test.ts +136 -0
  321. package/src/brand-page/components/text-wrapper/TextWrapper.test.ts +358 -0
  322. package/src/brand-page/components/text-wrapper/TextWrapper.vue +82 -22
  323. package/src/brand-page/constants/font.constants.ts +37 -0
  324. package/src/brand-page/models/brand-page-context.model.ts +13 -0
  325. package/src/brand-page/models/footer-icon-color.test.ts +22 -0
  326. package/src/brand-page/models/index.ts +50 -28
  327. package/src/brand-page/models/navigation-styles.model.test.ts +77 -1
  328. package/src/brand-page/models/navigation-styles.model.ts +26 -9
  329. package/src/brand-page/models/payment.model.ts +15 -6
  330. package/src/brand-page/models/styles.model.test.ts +104 -0
  331. package/src/brand-page/models/styles.model.ts +181 -47
  332. package/src/brand-page/utils/__snapshots__/migration.util.test.ts.snap +619 -115
  333. package/src/brand-page/utils/__snapshots__/migration2.util.test.ts.snap +150 -9
  334. package/src/brand-page/utils/__snapshots__/model.util.test.ts.snap +300 -18
  335. package/src/brand-page/utils/color-palette.util.test.ts +126 -1
  336. package/src/brand-page/utils/color-palette.util.ts +92 -26
  337. package/src/brand-page/utils/color.util.test.ts +62 -29
  338. package/src/brand-page/utils/color.util.ts +77 -14
  339. package/src/brand-page/utils/container-text-color.util.test.ts +672 -26
  340. package/src/brand-page/utils/container-text-color.util.ts +472 -46
  341. package/src/brand-page/utils/index.ts +1 -0
  342. package/src/brand-page/utils/migration/__snapshots__/migration-22-output/edited-brandsite-sections.v22.json +1191 -0
  343. package/src/brand-page/utils/migration/__snapshots__/migration-22-output/new-brandcontact-every-section.v22.json +2026 -0
  344. package/src/brand-page/utils/migration/__snapshots__/migration-22-output/new-brandpage-every-section.v22.json +2017 -0
  345. package/src/brand-page/utils/migration/__snapshots__/migration-22-output/new-brandsite-every-section.v22.json +2031 -0
  346. package/src/brand-page/utils/migration/__snapshots__/migration-22-output/real-brandcontact.v22.json +1145 -0
  347. package/src/brand-page/utils/migration/__snapshots__/migration-22-output/real-brandpage-general-link.v22.json +645 -0
  348. package/src/brand-page/utils/migration/__snapshots__/migration-22-output/real-brandpage-links.v22.json +1136 -0
  349. package/src/brand-page/utils/migration/__snapshots__/migration-22-output/real-brandpage-social-links.v22.json +662 -0
  350. package/src/brand-page/utils/migration/__snapshots__/migration-22-output/real-brandsite-about.v22.json +638 -0
  351. package/src/brand-page/utils/migration/__snapshots__/migration-22-output/real-brandsite-footer.v22.json +610 -0
  352. package/src/brand-page/utils/migration/__snapshots__/migration-22-output/real-brandsite-header-banner.v22.json +660 -0
  353. package/src/brand-page/utils/migration/__snapshots__/migration-22-output/real-brandsite-sections.v22.json +1132 -0
  354. package/src/brand-page/utils/migration/migration-01.ts +293 -237
  355. package/src/brand-page/utils/migration/migration-02.ts +8 -1
  356. package/src/brand-page/utils/migration/migration-20.ts +6 -3
  357. package/src/brand-page/utils/migration/migration-20_5.test.ts +5 -2
  358. package/src/brand-page/utils/migration/migration-21.test.ts +34 -0
  359. package/src/brand-page/utils/migration/migration-21.ts +46 -10
  360. package/src/brand-page/utils/migration/migration-22.fixed-input.test.ts +43 -0
  361. package/src/brand-page/utils/migration/migration-22.test.ts +4103 -0
  362. package/src/brand-page/utils/migration/migration-22.text-font-family.test.ts +72 -0
  363. package/src/brand-page/utils/migration/migration-22.ts +1336 -0
  364. package/src/brand-page/utils/migration.util.test.ts +146 -32
  365. package/src/brand-page/utils/migration.util.ts +18 -0
  366. package/src/brand-page/utils/model.util.ts +4 -0
  367. package/src/brand-page/utils/personalisation.util.test.ts +148 -3
  368. package/src/brand-page/utils/personalisation.util.ts +9 -1
  369. package/src/brand-page/utils/rte-role-lift.util.ts +409 -0
  370. package/src/brand-page/utils/style.util.test.ts +35 -2
  371. package/src/brand-page/utils/style.util.ts +45 -11
  372. package/src/brand-page/utils/text-role-css.util.test.ts +525 -0
  373. package/src/brand-page/utils/text-role-css.util.ts +321 -0
  374. package/src/brand-page/utils/text-role-reconnect.util.test.ts +604 -0
  375. package/src/brand-page/utils/text-role-reconnect.util.ts +727 -0
  376. package/src/brand-page/utils/text-style.util.test.ts +305 -0
  377. package/src/brand-page/utils/text-style.util.ts +198 -24
  378. package/src/brand-page/utils/view-model.page-data.test.ts +232 -0
  379. package/src/brand-page/utils/view-model.util.test.ts +954 -133
  380. package/src/brand-page/utils/view-model.util.ts +187 -139
  381. package/src/brand-page/view-models.ts +4 -0
  382. package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.blank-site.test.ts +57 -0
  383. package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.ts +9 -5
  384. package/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-examples.ts +0 -10
  385. package/src/brand-page-maker/components/brand-page-maker/__fixtures__/content-settings-items.fixture.ts +0 -1
  386. package/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.ts +0 -44
  387. package/src/brand-page-maker/components/rich-text-editor/RichTextEditor.vue +253 -200
  388. package/src/brand-page-maker/composables/ai-chat/ai-builder-experiment.test.ts +82 -0
  389. package/src/brand-page-maker/composables/ai-chat/ai-builder-experiment.ts +19 -0
  390. package/src/brand-page-maker/composables/ai-chat/useAiMetadataBuilder.ts +2 -0
  391. package/src/brand-page-maker/composables/ai-chat/useAiWebsiteBuilderChat.ts +19 -0
  392. package/src/brand-page-maker/composables/rich-text-editor/block-typography.test.ts +519 -0
  393. package/src/brand-page-maker/composables/rich-text-editor/extensions/FontFamily.test.ts +1 -1
  394. package/src/brand-page-maker/composables/rich-text-editor/extensions/MaxLength.test.ts +26 -1
  395. package/src/brand-page-maker/composables/rich-text-editor/extensions/RoleTypographyFill.test.ts +110 -0
  396. package/src/brand-page-maker/composables/rich-text-editor/extensions/RoleTypographyFill.ts +99 -0
  397. package/src/brand-page-maker/composables/rich-text-editor/extensions/RteClipboard.ts +397 -0
  398. package/src/brand-page-maker/composables/rich-text-editor/extensions/ViewDomParser.test.ts +139 -0
  399. package/src/brand-page-maker/composables/rich-text-editor/font.ts +36 -5
  400. package/src/brand-page-maker/composables/rich-text-editor/formatting.test.ts +375 -1
  401. package/src/brand-page-maker/composables/rich-text-editor/formatting.ts +301 -17
  402. package/src/brand-page-maker/composables/rich-text-editor/hyperlink.test.ts +82 -1
  403. package/src/brand-page-maker/composables/rich-text-editor/hyperlink.ts +28 -34
  404. package/src/brand-page-maker/composables/rich-text-editor/keepMarksOnEmpty.test.ts +80 -0
  405. package/src/brand-page-maker/composables/rich-text-editor/keepMarksOnEmpty.ts +75 -0
  406. package/src/brand-page-maker/composables/rich-text-editor/spacing.ts +31 -6
  407. package/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.test.ts +2485 -0
  408. package/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.ts +435 -337
  409. package/src/brand-page-maker/constants/config-settings-constant.ts +0 -6
  410. package/src/brand-page-maker/convertors/text-css-style-options.convertor.test.ts +43 -0
  411. package/src/brand-page-maker/convertors/text-css-style-options.convertor.ts +6 -2
  412. package/src/brand-page-maker/convertors/text-size-value.convertor.test.ts +24 -0
  413. package/src/brand-page-maker/convertors/text-size-value.convertor.ts +17 -13
  414. package/src/brand-page-maker/default-getters/payment-text-and-border-color.default-getter.ts +7 -22
  415. package/src/brand-page-maker/default-getters/text-color.default-getter.ts +5 -21
  416. package/src/brand-page-maker/models/content-settings.test.ts +708 -0
  417. package/src/brand-page-maker/models/content-settings.ts +133 -82
  418. package/src/brand-page-maker/stores/admin-logo-settings/admin-logo-settings-store-utils.test.ts +63 -1
  419. package/src/brand-page-maker/stores/admin-logo-settings/admin-logo-settings-store-utils.ts +16 -3
  420. package/src/brand-page-maker/stores/admin-logo-settings/admin-logo-settings-store.test.ts +34 -0
  421. package/src/brand-page-maker/stores/admin-logo-settings/admin-logo-settings-store.ts +4 -2
  422. package/src/brand-page-maker/stores/ai-thread/ai-website-builder-thread-store.ts +30 -0
  423. package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.test.ts +185 -1
  424. package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +22 -34
  425. package/src/brand-page-maker/stores/history/history-store.ts +35 -2
  426. package/src/brand-page-maker/utils/__snapshots__/apply-color-strategy.golden.test.ts.snap +528 -0
  427. package/src/brand-page-maker/utils/__snapshots__/rte-render-parity.test.ts.snap +12 -0
  428. package/src/brand-page-maker/utils/apply-color-strategy.golden.test.ts +2 -0
  429. package/src/brand-page-maker/utils/apply-color-strategy.test.ts +181 -3
  430. package/src/brand-page-maker/utils/apply-color-strategy.ts +36 -4
  431. package/src/brand-page-maker/utils/index.ts +2 -1
  432. package/src/brand-page-maker/utils/rich-text-editor.util.test.ts +447 -410
  433. package/src/brand-page-maker/utils/rich-text-editor.util.ts +610 -506
  434. package/src/brand-page-maker/utils/rte-authoring.util.test.ts +244 -0
  435. package/src/brand-page-maker/utils/rte-authoring.util.ts +175 -0
  436. package/src/brand-page-maker/utils/rte-clipboard.util.test.ts +558 -0
  437. package/src/brand-page-maker/utils/rte-clipboard.util.ts +473 -0
  438. package/src/brand-page-maker/utils/rte-features.test.ts +99 -3
  439. package/src/brand-page-maker/utils/rte-render-parity.test.ts +1 -1
  440. package/src/brand-page-maker/utils/rte-render.util.test.ts +230 -0
  441. package/src/brand-page-maker/utils/rte-sanitize-json.test.ts +1 -1
  442. package/src/brand-page-maker/utils/rte-sanitize.util.ts +14 -3
  443. package/src/brand-page-maker/utils/rte-schema-version.test.ts +102 -0
  444. package/src/bundles/bundled-translations.de-DE.json +21 -2
  445. package/src/bundles/bundled-translations.es-ES.json +21 -2
  446. package/src/bundles/bundled-translations.fr-CA.json +21 -2
  447. package/src/bundles/bundled-translations.fr-FR.json +21 -2
  448. package/src/bundles/bundled-translations.json +21 -2
  449. package/src/bundles/bundled-translations.pt-BR.json +21 -2
  450. package/src/bundles/bundled-translations.pt-PT.json +21 -2
  451. package/src/clients/ai-assistant-client.ts +13 -18
  452. package/src/composables/useTranslate.ts +2 -1
  453. package/src/lib.ts +2 -2
  454. package/src/metadata-builder/builders/footer-builder.test.ts +70 -45
  455. package/src/metadata-builder/builders/footer-builder.ts +4 -8
  456. package/src/metadata-builder/builders/global-role-propagation.test.ts +907 -0
  457. package/src/metadata-builder/builders/global-role-propagation.ts +430 -0
  458. package/src/metadata-builder/builders/global-styles-builder.test.ts +1020 -0
  459. package/src/metadata-builder/builders/global-styles-builder.ts +194 -48
  460. package/src/metadata-builder/builders/header-builder.test.ts +112 -40
  461. package/src/metadata-builder/builders/header-builder.ts +18 -8
  462. package/src/metadata-builder/builders/section-builders/about-section-builder.ts +5 -3
  463. package/src/metadata-builder/builders/section-builders/banner-section-builder.ts +5 -3
  464. package/src/metadata-builder/builders/section-builders/booking-section-builder.ts +5 -3
  465. package/src/metadata-builder/builders/section-builders/contact-form-builder.ts +7 -4
  466. package/src/metadata-builder/builders/section-builders/images-section-builder.ts +5 -3
  467. package/src/metadata-builder/builders/section-builders/mailing-list-builder.ts +3 -2
  468. package/src/metadata-builder/builders/section-builders/mailing-list-section-builder.ts +3 -2
  469. package/src/metadata-builder/builders/section-builders/profile-section-builder.ts +7 -7
  470. package/src/metadata-builder/builders/section-builders/shapes-section-builder.ts +5 -3
  471. package/src/metadata-builder/builders/section-builders/social-links-builder.test.ts +2 -2
  472. package/src/metadata-builder/builders/section-builders/social-links-builder.ts +21 -10
  473. package/src/metadata-builder/builders/section-builders/support-me-builder.test.ts +10 -0
  474. package/src/metadata-builder/builders/section-builders/testimonial-section-builder.ts +3 -2
  475. package/src/metadata-builder/builders/section-builders/text-section-builder.ts +111 -61
  476. package/src/metadata-builder/builders/section-field-maps.ts +1 -0
  477. package/src/metadata-builder/builders/section-field-utils.test.ts +545 -2
  478. package/src/metadata-builder/builders/section-field-utils.ts +202 -69
  479. package/src/metadata-builder/builders/section-rules/global-styles.rules.ts +38 -13
  480. package/src/metadata-builder/builders/section-rules/social-links.rules.ts +5 -0
  481. package/src/metadata-builder/helpers/rte.helpers.test.ts +101 -0
  482. package/src/metadata-builder/helpers/rte.helpers.ts +129 -43
  483. package/src/metadata-builder/metadata-executor.test.ts +167 -0
  484. package/src/metadata-builder/metadata-executor.ts +34 -1
  485. package/src/metadata-builder/models.ts +2 -0
  486. package/src/metadata-builder/parsers/ai-toolcall-parser.ts +23 -7
  487. package/src/metadata-builder/parsers/section-tool-arguments.ts +21 -1
  488. package/src/metadata-builder/sanitizers/__tests__/section-args-validator.test.ts +215 -0
  489. package/src/metadata-builder/sanitizers/rte-schema-check.ts +1 -1
  490. package/src/metadata-builder/sanitizers/sanitizer-rules.ts +4 -8
  491. package/src/metadata-builder/sanitizers/section-args-validator.ts +136 -53
  492. package/src/shared/color-palette/section-color-matches.test.ts +15 -11
  493. package/src/shared/color-palette/section-color-matches.ts +9 -28
  494. package/src/shared/color-strategies/color-strategies.ts +35 -0
  495. package/src/shared/color-strategies/rte-color.test.ts +1 -1
  496. package/src/shared/color-strategies/rte-color.ts +19 -0
  497. package/src/shared/color-strategies/rte-field-pairs.test.ts +26 -5
  498. package/src/shared/color-strategies/rte-field-pairs.ts +33 -0
  499. package/src/shared/content-settings/components/color-matches-panel/ColorMatchesPanel.test.ts +43 -66
  500. package/src/shared/content-settings/components/color-matches-panel/ColorMatchesPanel.vue +7 -1
  501. package/src/shared/content-settings/components/content-settings/ContentSettings.mixin.ts +1 -48
  502. package/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.ts +33 -7
  503. package/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.test.ts +128 -1
  504. package/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.ts +0 -6
  505. package/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.test.ts +56 -3
  506. package/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.ts +11 -4
  507. package/src/shared/content-settings/components/text-style-field/TextStyleField.mixin.test.ts +335 -25
  508. package/src/shared/content-settings/components/text-style-field/TextStyleField.mixin.ts +248 -70
  509. package/src/shared/content-settings/components/text-style-field/TextStyleField.vue +113 -25
  510. package/src/shared/content-settings/components/text-style-field/i18n/text-style-field.de-DE.json +17 -10
  511. package/src/shared/content-settings/components/text-style-field/i18n/text-style-field.es-ES.json +17 -10
  512. package/src/shared/content-settings/components/text-style-field/i18n/text-style-field.fr-CA.json +17 -10
  513. package/src/shared/content-settings/components/text-style-field/i18n/text-style-field.fr-FR.json +17 -10
  514. package/src/shared/content-settings/components/text-style-field/i18n/text-style-field.json +8 -1
  515. package/src/shared/content-settings/components/text-style-field/i18n/text-style-field.pt-BR.json +17 -10
  516. package/src/shared/content-settings/components/text-style-field/i18n/text-style-field.pt-PT.json +17 -10
  517. package/src/shared/content-settings/components/text-style-role-dropdown/TextStyleRoleDropdown.test.ts +141 -0
  518. package/src/shared/content-settings/components/text-style-role-dropdown/TextStyleRoleDropdown.vue +136 -0
  519. package/src/shared/content-settings/store/content-settings-store.test.ts +491 -6
  520. package/src/shared/content-settings/store/content-settings-store.ts +159 -17
  521. package/src/shared/navigation-style-settings/store/index.test.ts +295 -0
  522. package/src/shared/navigation-style-settings/store/index.ts +65 -15
  523. package/src/shared/page-settings/components/page-settings-section-styles/HeaderButtonSettings.test.ts +44 -4
  524. package/src/shared/page-settings/components/page-settings-section-styles/HeaderButtonSettings.vue +13 -4
  525. package/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.navigation.test.ts +89 -0
  526. package/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.text-style.test.ts +91 -0
  527. package/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.ts +14 -2
  528. package/src/shared/page-settings/store/page-settings-store.text-style.test.ts +84 -0
  529. package/src/shared/page-settings/store/page-settings-store.ts +30 -1
  530. package/src/shared/rte-extensions/AutoLink.test.ts +98 -0
  531. package/src/{brand-page-maker/composables/rich-text-editor/extensions → shared/rte-extensions}/AutoLink.ts +87 -58
  532. package/src/{brand-page-maker/composables/rich-text-editor/extensions → shared/rte-extensions}/MaxLength.ts +4 -1
  533. package/src/shared/rte-extensions/TextEffects.ts +151 -0
  534. package/src/shared/rte-extensions/ViewDomParser.ts +27 -0
  535. package/src/{brand-page-maker/composables/rich-text-editor/getRteExtensions.ts → shared/rte-extensions.util.ts} +66 -9
  536. package/src/shared/rte-link.util.ts +2 -0
  537. package/src/shared/rte-render.util.ts +385 -0
  538. package/src/shared/rte-shape.util.ts +29 -0
  539. package/src/shared/side-bar/store/side-bar-store.test.ts +27 -1
  540. package/src/shared/side-bar/store/side-bar-store.ts +11 -0
  541. package/src/shared/style-settings/components/StyleSettings.mixin.ts +7 -3
  542. package/src/shared/style-settings/components/StyleSettings.test.ts +116 -0
  543. package/src/shared/style-settings/components/StyleSettings.vue +74 -25
  544. package/src/shared/style-settings/components/i18n/style-settings.de-DE.json +32 -20
  545. package/src/shared/style-settings/components/i18n/style-settings.es-ES.json +32 -20
  546. package/src/shared/style-settings/components/i18n/style-settings.fr-CA.json +32 -20
  547. package/src/shared/style-settings/components/i18n/style-settings.fr-FR.json +32 -20
  548. package/src/shared/style-settings/components/i18n/style-settings.json +13 -3
  549. package/src/shared/style-settings/components/i18n/style-settings.pt-BR.json +32 -20
  550. package/src/shared/style-settings/components/i18n/style-settings.pt-PT.json +32 -20
  551. package/src/shared/style-settings/components/text-style-options-settings-with-state/TextStyleOptionsSettingsWithState.vue +14 -34
  552. package/src/shared/style-settings/store/style-settings-store.ts +3 -49
  553. package/src/shared/style-settings/text-style-size-order.test.ts +76 -0
  554. package/src/shared/style-settings/text-style-size-order.ts +28 -0
  555. package/src/shared/text-role-typography.util.ts +277 -0
  556. package/src/utils/minify-brand-page-metadata.test.ts +102 -7
  557. package/src/utils/minify-brand-page-metadata.ts +62 -8
  558. package/lib/src/brand-page-maker/composables/rich-text-editor/extensions/AutoLink.d.ts +0 -2
  559. package/lib/src/brand-page-maker/composables/rich-text-editor/getRteExtensions.d.ts +0 -28
  560. package/lib/src/brand-page-maker/utils/rte-render.util.d.ts +0 -63
  561. package/lib/src/brand-page-maker/utils/rte-render.util.js +0 -106
  562. package/lib/src/brand-page-maker/utils/rte-shape.d.ts +0 -18
  563. package/lib/src/brand-page-maker/utils/rte-shape.js +0 -21
  564. package/lib/src/metadata-builder/builders/global-font-propagation.d.ts +0 -41
  565. package/lib/src/metadata-builder/builders/global-font-propagation.js +0 -146
  566. package/src/brand-page/models/brand-page-context.model.test.ts +0 -38
  567. package/src/brand-page-maker/utils/rte-render.util.ts +0 -179
  568. package/src/brand-page-maker/utils/rte-shape.ts +0 -29
  569. package/src/clients/ai-assistant-client.test.ts +0 -135
  570. package/src/metadata-builder/builders/global-font-propagation.test.ts +0 -401
  571. package/src/metadata-builder/builders/global-font-propagation.ts +0 -238
  572. package/src/shared/style-settings/components/StyleSettingsSection.vue +0 -8
  573. /package/lib/src/{brand-page-maker/composables/rich-text-editor/extensions → shared/rte-extensions}/FontFamily.d.ts +0 -0
  574. /package/lib/src/{brand-page-maker/composables/rich-text-editor/extensions → shared/rte-extensions}/FontFamily.js +0 -0
  575. /package/lib/src/{brand-page-maker/composables/rich-text-editor/extensions → shared/rte-extensions}/LetterSpacing.d.ts +0 -0
  576. /package/lib/src/{brand-page-maker/composables/rich-text-editor/extensions → shared/rte-extensions}/LetterSpacing.js +0 -0
  577. /package/lib/src/{brand-page-maker/composables/rich-text-editor/extensions → shared/rte-extensions}/MaxLength.d.ts +0 -0
  578. /package/src/{brand-page-maker/composables/rich-text-editor/extensions → shared/rte-extensions}/FontFamily.ts +0 -0
  579. /package/src/{brand-page-maker/composables/rich-text-editor/extensions → shared/rte-extensions}/LetterSpacing.ts +0 -0
@@ -0,0 +1,1243 @@
1
+ {
2
+ "v": 21,
3
+ "styles": {
4
+ "backgroundStyles": {
5
+ "style": {
6
+ "background": "var(--palette-1)"
7
+ },
8
+ "backgroundShapeStyle": {
9
+ "background": ""
10
+ },
11
+ "backgroundImageUrl": "",
12
+ "backgroundShapes": [],
13
+ "mediaOverlayStyle": {
14
+ "backgroundColor": "var(--palette-custom-41h913)",
15
+ "opacity": "0"
16
+ }
17
+ },
18
+ "buttonStyles": {
19
+ "style": {
20
+ "color": "var(--palette-1)",
21
+ "borderColor": "var(--palette-1)",
22
+ "backgroundColor": "var(--palette-0)"
23
+ },
24
+ "iconStyle": {
25
+ "fill": "var(--palette-1)"
26
+ },
27
+ "selectedButtonStyleId": "BUTTON_STYLE_1"
28
+ },
29
+ "logoStyles": {
30
+ "imageStyle": {
31
+ "height": "9rem",
32
+ "width": "9rem"
33
+ }
34
+ },
35
+ "textStyles": {
36
+ "textFontFamily": "lato",
37
+ "textStyleOptions": {
38
+ "titles": {
39
+ "type": "titles",
40
+ "title": "Titles",
41
+ "style": {
42
+ "fontFamily": "Lato",
43
+ "fontSize": "2.25em",
44
+ "lineHeight": "1.3",
45
+ "letterSpacing": "0",
46
+ "color": "var(--palette-0)"
47
+ },
48
+ "isModified": false
49
+ },
50
+ "headings": {
51
+ "type": "headings",
52
+ "title": "Headings",
53
+ "style": {
54
+ "fontFamily": "Lato",
55
+ "fontSize": "1.5em",
56
+ "lineHeight": "1.4",
57
+ "letterSpacing": "0",
58
+ "color": "var(--palette-0)"
59
+ },
60
+ "isModified": false
61
+ },
62
+ "paragraphs": {
63
+ "type": "paragraphs",
64
+ "title": "Paragraphs",
65
+ "style": {
66
+ "fontFamily": "Lato",
67
+ "fontSize": "1em",
68
+ "lineHeight": "1.5",
69
+ "letterSpacing": "0",
70
+ "color": "var(--palette-0)"
71
+ },
72
+ "isModified": false
73
+ },
74
+ "buttons": {
75
+ "type": "buttons",
76
+ "title": "Buttons",
77
+ "style": {
78
+ "fontFamily": "Lato",
79
+ "fontSize": "1em",
80
+ "lineHeight": "1.5",
81
+ "letterSpacing": "0",
82
+ "color": "var(--palette-1)"
83
+ },
84
+ "isModified": false
85
+ }
86
+ }
87
+ },
88
+ "galleryStyles": {
89
+ "galleryType": "grid"
90
+ },
91
+ "colors": [
92
+ {
93
+ "id": "palette-0",
94
+ "value": "",
95
+ "type": "palette"
96
+ },
97
+ {
98
+ "id": "palette-1",
99
+ "value": "",
100
+ "type": "palette"
101
+ },
102
+ {
103
+ "id": "palette-2",
104
+ "value": "",
105
+ "type": "palette"
106
+ },
107
+ {
108
+ "id": "palette-3",
109
+ "value": "",
110
+ "type": "palette"
111
+ },
112
+ {
113
+ "id": "palette-custom-41h913",
114
+ "value": "#000000",
115
+ "type": "custom"
116
+ },
117
+ {
118
+ "id": "palette-custom-h4ppr5",
119
+ "value": "#ffffff",
120
+ "type": "custom"
121
+ }
122
+ ]
123
+ },
124
+ "pageHeaderMobile": {
125
+ "displayStyle": "mobile-tab-vertical-stack-centered-logo-centered-menu",
126
+ "navigation": {
127
+ "displayType": "nav-tab-tabs",
128
+ "renderAfterLogo": false,
129
+ "defaultButtonStyle": {
130
+ "borderBottomWidth": "0px",
131
+ "borderLeftWidth": "0px",
132
+ "borderRightWidth": "0px",
133
+ "borderTopWidth": "0px",
134
+ "color": "var(--palette-0)",
135
+ "fontSize": "1em",
136
+ "fontFamily": "Lato",
137
+ "fontWeight": "normal",
138
+ "textAlign": "center",
139
+ "lineHeight": "1.3"
140
+ },
141
+ "selectedButtonStyle": {
142
+ "borderStyle": "solid",
143
+ "borderRadius": "0px",
144
+ "borderBottomWidth": "4px",
145
+ "borderLeftWidth": "0px",
146
+ "borderRightWidth": "0px",
147
+ "borderTopWidth": "0px",
148
+ "color": "var(--palette-0)",
149
+ "borderColor": "var(--palette-0)"
150
+ },
151
+ "iconStyle": {},
152
+ "subNavBackgroundColor": "var(--palette-1)",
153
+ "isLogoVisible": true,
154
+ "hamburgerMenuStyle": {
155
+ "defaultButtonStyle": {
156
+ "textAlign": "left",
157
+ "fontFamily": "Lato",
158
+ "backgroundColor": "var(--palette-1)",
159
+ "color": "var(--palette-0)"
160
+ },
161
+ "selectedButtonStyle": {
162
+ "backgroundColor": "var(--palette-0)",
163
+ "color": "var(--palette-1)"
164
+ },
165
+ "iconStyle": {
166
+ "border": "solid",
167
+ "borderWidth": "0px",
168
+ "borderRadius": "8px",
169
+ "color": "var(--palette-1)",
170
+ "backgroundColor": "var(--palette-0)"
171
+ }
172
+ },
173
+ "viewport": "mobile"
174
+ },
175
+ "isLogoOptional": false,
176
+ "isLogoVisible": true,
177
+ "logoImageHeight": "9rem",
178
+ "logoImageWidth": "9rem",
179
+ "logoImageStyle": {},
180
+ "logoVariation": 0,
181
+ "logoImage": {
182
+ "logoDraftToken": "",
183
+ "logoVariation": 0
184
+ },
185
+ "logoImageBase64Url": "",
186
+ "backgroundStyle": {
187
+ "backgroundOpacity": 100
188
+ },
189
+ "style": {},
190
+ "viewport": "mobile"
191
+ },
192
+ "pageHeaderDesktop": {
193
+ "displayStyle": "desktop-tab-vertical-stack-centered-logo-centered-menu",
194
+ "navigation": {
195
+ "displayType": "nav-tab-tabs",
196
+ "renderAfterLogo": false,
197
+ "defaultButtonStyle": {
198
+ "borderBottomWidth": "0px",
199
+ "borderLeftWidth": "0px",
200
+ "borderRightWidth": "0px",
201
+ "borderTopWidth": "0px",
202
+ "color": "var(--palette-0)",
203
+ "fontSize": "1em",
204
+ "fontFamily": "Lato",
205
+ "fontWeight": "normal",
206
+ "textAlign": "center",
207
+ "lineHeight": "1.3"
208
+ },
209
+ "selectedButtonStyle": {
210
+ "borderStyle": "solid",
211
+ "borderRadius": "0px",
212
+ "borderBottomWidth": "4px",
213
+ "borderLeftWidth": "0px",
214
+ "borderRightWidth": "0px",
215
+ "borderTopWidth": "0px",
216
+ "color": "var(--palette-0)",
217
+ "borderColor": "var(--palette-0)"
218
+ },
219
+ "iconStyle": {},
220
+ "subNavBackgroundColor": "var(--palette-1)",
221
+ "isLogoVisible": true,
222
+ "hamburgerMenuStyle": {
223
+ "defaultButtonStyle": {
224
+ "textAlign": "left",
225
+ "fontFamily": "Lato",
226
+ "backgroundColor": "var(--palette-1)",
227
+ "color": "var(--palette-0)"
228
+ },
229
+ "selectedButtonStyle": {
230
+ "backgroundColor": "var(--palette-0)",
231
+ "color": "var(--palette-1)"
232
+ },
233
+ "iconStyle": {
234
+ "border": "solid",
235
+ "borderWidth": "0px",
236
+ "borderRadius": "8px",
237
+ "color": "var(--palette-1)",
238
+ "backgroundColor": "var(--palette-0)"
239
+ }
240
+ },
241
+ "viewport": "desktop"
242
+ },
243
+ "isLogoOptional": false,
244
+ "isLogoVisible": true,
245
+ "logoImageHeight": "9rem",
246
+ "logoImageWidth": "9rem",
247
+ "logoImageStyle": {},
248
+ "logoVariation": 0,
249
+ "logoImage": {
250
+ "logoDraftToken": "",
251
+ "logoVariation": 0
252
+ },
253
+ "logoImageBase64Url": "",
254
+ "backgroundStyle": {
255
+ "backgroundOpacity": 100
256
+ },
257
+ "style": {},
258
+ "viewport": "desktop"
259
+ },
260
+ "pageFooterMobile": {
261
+ "displayStyle": "centered-menu",
262
+ "copyrightText": "© 2026 by [Company Name]. All Rights Reserved.",
263
+ "copyrightStyle": {
264
+ "textStyleType": "paragraphs",
265
+ "textAlign": "center",
266
+ "lineHeight": "1.3"
267
+ },
268
+ "backgroundStyle": {},
269
+ "iconStyle": {
270
+ "fill": "#000000"
271
+ },
272
+ "isLogoOptional": true,
273
+ "isLogoVisible": true,
274
+ "logoImageStyle": {},
275
+ "logoVariation": 0,
276
+ "logoImage": {
277
+ "logoDraftToken": "",
278
+ "logoVariation": 0
279
+ },
280
+ "logoImageBase64Url": "",
281
+ "socialLinks": [
282
+ {
283
+ "id": "00000000-0000-4000-8000-000000000001",
284
+ "width": 0,
285
+ "height": 0,
286
+ "imageUrl": "facebook",
287
+ "imageTitle": "",
288
+ "url": "https://www.facebook.com",
289
+ "mediaType": "image",
290
+ "imageLink": ""
291
+ },
292
+ {
293
+ "id": "00000000-0000-4000-8000-000000000002",
294
+ "width": 0,
295
+ "height": 0,
296
+ "imageUrl": "instagram",
297
+ "imageTitle": "",
298
+ "url": "https://www.instagram.com",
299
+ "mediaType": "image",
300
+ "imageLink": ""
301
+ },
302
+ {
303
+ "id": "00000000-0000-4000-8000-000000000003",
304
+ "width": 0,
305
+ "height": 0,
306
+ "imageUrl": "x",
307
+ "imageTitle": "",
308
+ "url": "https://www.x.com",
309
+ "mediaType": "image",
310
+ "imageLink": ""
311
+ }
312
+ ],
313
+ "viewport": "mobile",
314
+ "logoImageHeight": "9rem",
315
+ "logoImageWidth": "9rem"
316
+ },
317
+ "pageFooterDesktop": {
318
+ "displayStyle": "centered-menu",
319
+ "copyrightText": "© 2026 by [Company Name]. All Rights Reserved.",
320
+ "copyrightStyle": {
321
+ "textStyleType": "paragraphs",
322
+ "textAlign": "center",
323
+ "lineHeight": "1.3"
324
+ },
325
+ "backgroundStyle": {},
326
+ "iconStyle": {
327
+ "fill": "#000000"
328
+ },
329
+ "isLogoOptional": true,
330
+ "isLogoVisible": true,
331
+ "logoImageStyle": {},
332
+ "logoVariation": 0,
333
+ "logoImage": {
334
+ "logoDraftToken": "",
335
+ "logoVariation": 0
336
+ },
337
+ "logoImageBase64Url": "",
338
+ "socialLinks": [
339
+ {
340
+ "id": "00000000-0000-4000-8000-000000000004",
341
+ "width": 0,
342
+ "height": 0,
343
+ "imageUrl": "facebook",
344
+ "imageTitle": "",
345
+ "url": "https://www.facebook.com",
346
+ "mediaType": "image",
347
+ "imageLink": ""
348
+ },
349
+ {
350
+ "id": "00000000-0000-4000-8000-000000000005",
351
+ "width": 0,
352
+ "height": 0,
353
+ "imageUrl": "instagram",
354
+ "imageTitle": "",
355
+ "url": "https://www.instagram.com",
356
+ "mediaType": "image",
357
+ "imageLink": ""
358
+ },
359
+ {
360
+ "id": "00000000-0000-4000-8000-000000000006",
361
+ "width": 0,
362
+ "height": 0,
363
+ "imageUrl": "x",
364
+ "imageTitle": "",
365
+ "url": "https://www.x.com",
366
+ "mediaType": "image",
367
+ "imageLink": ""
368
+ }
369
+ ],
370
+ "viewport": "desktop",
371
+ "logoImageHeight": "9rem",
372
+ "logoImageWidth": "9rem"
373
+ },
374
+ "pages": [
375
+ {
376
+ "title": "Home",
377
+ "slug": "home",
378
+ "contents": [
379
+ {
380
+ "id": "00000000-0000-4000-8000-000000000007",
381
+ "backgroundStyle": {},
382
+ "imageStyle": {
383
+ "height": "9rem",
384
+ "width": "9rem"
385
+ },
386
+ "logoImage": {
387
+ "logoDraftToken": "",
388
+ "logoVariation": 0
389
+ },
390
+ "type": "logo",
391
+ "isLogoVisible": true,
392
+ "logoDraftToken": "",
393
+ "logoVariation": 0
394
+ },
395
+ {
396
+ "id": "00000000-0000-4000-8000-000000000008",
397
+ "description": "Description",
398
+ "avatarImageUrl": "",
399
+ "name": "Name",
400
+ "title": "Title",
401
+ "type": "profile",
402
+ "backgroundColor": {},
403
+ "colorReplacements": [],
404
+ "mediaType": "image",
405
+ "titleStyle": {
406
+ "applyAutoScale": true,
407
+ "textStyleType": "paragraphs",
408
+ "textAlign": "center",
409
+ "fontFamily": "Lato",
410
+ "lineHeight": "1.5",
411
+ "fontSize": "1em"
412
+ },
413
+ "descriptionStyle": {
414
+ "applyAutoScale": true,
415
+ "textStyleType": "paragraphs",
416
+ "textAlign": "center",
417
+ "fontFamily": "Lato",
418
+ "lineHeight": "1.5",
419
+ "fontSize": "1em"
420
+ },
421
+ "nameStyle": {
422
+ "applyAutoScale": true,
423
+ "textStyleType": "headings",
424
+ "textAlign": "center",
425
+ "fontFamily": "Lato",
426
+ "lineHeight": "1.4",
427
+ "fontSize": "1.5em"
428
+ }
429
+ },
430
+ {
431
+ "id": "00000000-0000-4000-8000-000000000009",
432
+ "type": "website",
433
+ "iconUrl": "website",
434
+ "title": "Website",
435
+ "titleStyle": {
436
+ "applyAutoScale": true,
437
+ "textStyleType": "buttons",
438
+ "textAlign": "center",
439
+ "fontFamily": "Lato",
440
+ "lineHeight": "1.5"
441
+ },
442
+ "url": "",
443
+ "colorReplacements": [],
444
+ "mediaType": "image",
445
+ "fieldRole": "button",
446
+ "page": ""
447
+ },
448
+ {
449
+ "id": "00000000-0000-4000-8000-000000000010",
450
+ "type": "email",
451
+ "iconUrl": "email",
452
+ "title": "Email",
453
+ "titleStyle": {
454
+ "applyAutoScale": true,
455
+ "textStyleType": "buttons",
456
+ "textAlign": "center",
457
+ "fontFamily": "Lato",
458
+ "lineHeight": "1.5"
459
+ },
460
+ "url": "",
461
+ "colorReplacements": [],
462
+ "mediaType": "image",
463
+ "fieldRole": "button",
464
+ "page": ""
465
+ },
466
+ {
467
+ "id": "00000000-0000-4000-8000-000000000011",
468
+ "type": "phone",
469
+ "iconUrl": "phone",
470
+ "title": "Phone",
471
+ "titleStyle": {
472
+ "applyAutoScale": true,
473
+ "textStyleType": "buttons",
474
+ "textAlign": "center",
475
+ "fontFamily": "Lato",
476
+ "lineHeight": "1.5"
477
+ },
478
+ "url": "",
479
+ "colorReplacements": [],
480
+ "mediaType": "image",
481
+ "fieldRole": "button",
482
+ "page": ""
483
+ },
484
+ {
485
+ "id": "00000000-0000-4000-8000-000000000012",
486
+ "type": "general-link",
487
+ "iconUrl": "link",
488
+ "title": "General Link",
489
+ "url": "",
490
+ "clickActionField": "url",
491
+ "modalImageUrl": "",
492
+ "colorReplacements": [],
493
+ "page": "",
494
+ "titleStyle": {
495
+ "applyAutoScale": true,
496
+ "textStyleType": "buttons",
497
+ "textAlign": "center",
498
+ "fontFamily": "Lato",
499
+ "lineHeight": "1.5"
500
+ },
501
+ "fieldRole": "button"
502
+ },
503
+ {
504
+ "iconUrl": "",
505
+ "id": "00000000-0000-4000-8000-000000000013",
506
+ "text": "",
507
+ "textItems": [
508
+ {
509
+ "id": "00000000-0000-4000-8000-000000000014",
510
+ "text": "This is a sample text",
511
+ "textStyle": {
512
+ "applyAutoScale": true,
513
+ "fontSize": "1em",
514
+ "textAlign": "left",
515
+ "textStyleType": "paragraphs",
516
+ "fontFamily": "Lato",
517
+ "lineHeight": "1.5"
518
+ }
519
+ }
520
+ ],
521
+ "type": "text",
522
+ "topPadding": 12,
523
+ "bottomPadding": 12,
524
+ "textSize": {
525
+ "fontSize": "1em",
526
+ "lineHeight": "1.5"
527
+ },
528
+ "textStyle": {
529
+ "applyAutoScale": true,
530
+ "textStyleType": "paragraphs",
531
+ "textAlign": "center"
532
+ },
533
+ "columnStyle": "1",
534
+ "textAlignment": {},
535
+ "textColor": {},
536
+ "backgroundColor": {}
537
+ },
538
+ {
539
+ "id": "00000000-0000-4000-8000-000000000015",
540
+ "imageUrl": "",
541
+ "type": "image",
542
+ "aspectRatio": false,
543
+ "isFullWidth": false,
544
+ "imageTitle": ""
545
+ },
546
+ {
547
+ "id": "00000000-0000-4000-8000-000000000016",
548
+ "images": [],
549
+ "type": "image-gallery",
550
+ "isFullWidth": false,
551
+ "galleryStyles": {
552
+ "galleryType": "grid"
553
+ },
554
+ "topPadding": 0,
555
+ "bottomPadding": 0
556
+ },
557
+ {
558
+ "id": "00000000-0000-4000-8000-000000000017",
559
+ "type": "video",
560
+ "autoplay": false,
561
+ "displayStyle": "preview",
562
+ "mute": false,
563
+ "videoUrl": "",
564
+ "topPadding": 0,
565
+ "bottomPadding": 0
566
+ },
567
+ {
568
+ "id": "00000000-0000-4000-8000-000000000018",
569
+ "type": "map",
570
+ "address": {
571
+ "formattedAddress": "",
572
+ "placeId": ""
573
+ },
574
+ "topPadding": 0,
575
+ "bottomPadding": 0
576
+ },
577
+ {
578
+ "id": "00000000-0000-4000-8000-000000000019",
579
+ "type": "mailing-list",
580
+ "topPadding": 0,
581
+ "bottomPadding": 0,
582
+ "title": "Join mailing list",
583
+ "buttonText": "Subscribe",
584
+ "acceptedFields": "emailOnly",
585
+ "titleStyle": {
586
+ "applyAutoScale": true,
587
+ "textStyleType": "headings",
588
+ "textAlign": "center",
589
+ "fontFamily": "Lato",
590
+ "lineHeight": "1.4"
591
+ },
592
+ "buttonTextStyle": {
593
+ "applyAutoScale": true,
594
+ "textStyleType": "buttons",
595
+ "textAlign": "center",
596
+ "fontFamily": "Lato",
597
+ "lineHeight": "1.5"
598
+ },
599
+ "backgroundStyle": {
600
+ "backgroundColor": "var(--palette-2)"
601
+ }
602
+ },
603
+ {
604
+ "id": "00000000-0000-4000-8000-000000000020",
605
+ "description": "",
606
+ "displayStyle": "preview",
607
+ "requestPaymentConfig": {
608
+ "paymentOptions": [],
609
+ "isCustomerRequestDetailsEnabled": false,
610
+ "canSelectMultipleProducts": true,
611
+ "paymentOptionDisplayType": "text",
612
+ "paymentOptionImageType": "auto"
613
+ },
614
+ "successMessage": "",
615
+ "title": "Buy Now",
616
+ "type": "request-payment",
617
+ "topPadding": 0,
618
+ "bottomPadding": 0,
619
+ "fillColor": {},
620
+ "defaultBorderColor": {},
621
+ "selectedBorderColor": {},
622
+ "titleStyle": {
623
+ "applyAutoScale": true,
624
+ "textStyleType": "paragraphs",
625
+ "textAlign": "center"
626
+ },
627
+ "descriptionStyle": {
628
+ "applyAutoScale": true,
629
+ "textStyleType": "paragraphs",
630
+ "textAlign": "center"
631
+ },
632
+ "itemTextStyle": {
633
+ "applyAutoScale": true,
634
+ "textStyleType": "paragraphs",
635
+ "textAlign": "left",
636
+ "fontFamily": "Lato",
637
+ "lineHeight": "1.5",
638
+ "color": "var(--palette-1)"
639
+ },
640
+ "buttonTextStyle": {
641
+ "applyAutoScale": true,
642
+ "textStyleType": "buttons",
643
+ "textAlign": "center"
644
+ },
645
+ "backgroundStyle": {
646
+ "backgroundColor": "var(--palette-2)"
647
+ }
648
+ },
649
+ {
650
+ "id": "00000000-0000-4000-8000-000000000021",
651
+ "description": "",
652
+ "topPadding": 16,
653
+ "bottomPadding": 16,
654
+ "products": [],
655
+ "displayStyle": "thumbnail",
656
+ "aspectRatio": "auto",
657
+ "title": "Shop",
658
+ "type": "shop-section",
659
+ "fillColor": {},
660
+ "successMessage": "",
661
+ "defaultBorderColor": {},
662
+ "titleStyle": {
663
+ "applyAutoScale": true,
664
+ "textStyleType": "titles",
665
+ "textAlign": "center"
666
+ },
667
+ "descriptionStyle": {
668
+ "applyAutoScale": true,
669
+ "textStyleType": "paragraphs",
670
+ "textAlign": "center"
671
+ },
672
+ "itemTextStyle": {
673
+ "applyAutoScale": true,
674
+ "textStyleType": "paragraphs",
675
+ "textAlign": "left"
676
+ },
677
+ "buttonTextStyle": {
678
+ "applyAutoScale": true,
679
+ "textStyleType": "buttons",
680
+ "textAlign": "center"
681
+ },
682
+ "backgroundStyle": {},
683
+ "shopPaymentConfig": {
684
+ "paymentOptions": [],
685
+ "isCustomerRequestDetailsEnabled": false,
686
+ "isShippingEnabled": false,
687
+ "paymentOptionDisplayType": "text",
688
+ "paymentOptionImageType": "auto"
689
+ }
690
+ },
691
+ {
692
+ "id": "00000000-0000-4000-8000-000000000022",
693
+ "supportMeConfig": {
694
+ "paymentOptions": [
695
+ {
696
+ "amount": "0",
697
+ "id": "00000000-0000-4000-8000-000000000023",
698
+ "name": "Support Me Custom Amount"
699
+ }
700
+ ],
701
+ "isCustomerMessageEnabled": true
702
+ },
703
+ "displayStyle": "preview",
704
+ "title": "Support me",
705
+ "successMessage": {
706
+ "type": "doc",
707
+ "content": [
708
+ {
709
+ "type": "paragraph",
710
+ "attrs": {
711
+ "textAlign": "center"
712
+ },
713
+ "content": [
714
+ {
715
+ "type": "text",
716
+ "text": "Thank you for your support!",
717
+ "marks": [
718
+ {
719
+ "type": "textStyle",
720
+ "attrs": {
721
+ "color": "var(--palette-1)",
722
+ "fontFamily": "Lato",
723
+ "lineHeight": "1.5"
724
+ }
725
+ }
726
+ ]
727
+ }
728
+ ]
729
+ }
730
+ ]
731
+ },
732
+ "description": "Make a donation",
733
+ "type": "support-me",
734
+ "topPadding": 0,
735
+ "bottomPadding": 0,
736
+ "titleStyle": {
737
+ "applyAutoScale": true,
738
+ "textStyleType": "headings",
739
+ "textAlign": "center",
740
+ "fontFamily": "Lato",
741
+ "lineHeight": "1.4"
742
+ },
743
+ "headingStyle": {
744
+ "applyAutoScale": true,
745
+ "textStyleType": "paragraphs",
746
+ "textAlign": "center",
747
+ "fontFamily": "Lato",
748
+ "lineHeight": "1.5",
749
+ "color": "var(--palette-1)"
750
+ },
751
+ "descriptionStyle": {
752
+ "applyAutoScale": true,
753
+ "textStyleType": "paragraphs",
754
+ "textAlign": "center",
755
+ "fontFamily": "Lato",
756
+ "lineHeight": "1.5"
757
+ },
758
+ "itemTextStyle": {
759
+ "applyAutoScale": true,
760
+ "textStyleType": "paragraphs",
761
+ "textAlign": "center",
762
+ "fontFamily": "Lato",
763
+ "lineHeight": "1.5",
764
+ "color": "var(--palette-1)"
765
+ },
766
+ "buttonTextStyle": {
767
+ "applyAutoScale": true,
768
+ "textStyleType": "buttons",
769
+ "textAlign": "center",
770
+ "fontFamily": "Lato",
771
+ "lineHeight": "1.5"
772
+ },
773
+ "backgroundStyle": {
774
+ "backgroundColor": "var(--palette-2)"
775
+ }
776
+ },
777
+ {
778
+ "id": "00000000-0000-4000-8000-000000000024",
779
+ "title": "Contact Us",
780
+ "description": "",
781
+ "buttonText": "Send",
782
+ "displayStyle": "preview",
783
+ "layoutStyle": "center-card-aligned",
784
+ "topPadding": 32,
785
+ "bottomPadding": 32,
786
+ "imageUrl": "",
787
+ "fields": [
788
+ {
789
+ "id": "firstName",
790
+ "name": "First name",
791
+ "enabled": true,
792
+ "required": true,
793
+ "type": "text"
794
+ },
795
+ {
796
+ "id": "lastName",
797
+ "name": "Last name",
798
+ "enabled": true,
799
+ "required": true,
800
+ "type": "text"
801
+ },
802
+ {
803
+ "id": "emailAddress",
804
+ "name": "Email address",
805
+ "enabled": true,
806
+ "required": true,
807
+ "type": "email"
808
+ },
809
+ {
810
+ "id": "phoneNumber",
811
+ "name": "Phone number",
812
+ "enabled": true,
813
+ "required": true,
814
+ "type": "phone"
815
+ },
816
+ {
817
+ "id": "message",
818
+ "name": "Message",
819
+ "enabled": true,
820
+ "required": true,
821
+ "type": "text-area"
822
+ },
823
+ {
824
+ "id": "customField1",
825
+ "name": "Custom Field",
826
+ "enabled": false,
827
+ "required": false,
828
+ "type": "text"
829
+ },
830
+ {
831
+ "id": "customField2",
832
+ "name": "Custom Field",
833
+ "enabled": false,
834
+ "required": false,
835
+ "type": "text"
836
+ },
837
+ {
838
+ "id": "customField3",
839
+ "name": "Custom Field",
840
+ "enabled": false,
841
+ "required": false,
842
+ "type": "text"
843
+ },
844
+ {
845
+ "id": "customField1",
846
+ "name": "Custom Field",
847
+ "enabled": false,
848
+ "required": false,
849
+ "type": "text"
850
+ },
851
+ {
852
+ "id": "customField2",
853
+ "name": "Custom Field",
854
+ "enabled": false,
855
+ "required": false,
856
+ "type": "text"
857
+ },
858
+ {
859
+ "id": "customField3",
860
+ "name": "Custom Field",
861
+ "enabled": false,
862
+ "required": false,
863
+ "type": "text"
864
+ }
865
+ ],
866
+ "successMessage": "Thank you! We'll get in touch with you as soon as possible.",
867
+ "responseEmail": "owner@example.com",
868
+ "type": "contact-form",
869
+ "cardStyle": {
870
+ "backgroundColor": "var(--palette-custom-h4ppr5)"
871
+ },
872
+ "backgroundStyle": {},
873
+ "titleStyle": {
874
+ "applyAutoScale": true,
875
+ "textStyleType": "titles",
876
+ "textAlign": "center",
877
+ "fontFamily": "Lato",
878
+ "lineHeight": "1.3"
879
+ },
880
+ "descriptionStyle": {
881
+ "applyAutoScale": true,
882
+ "textStyleType": "paragraphs",
883
+ "textAlign": "center",
884
+ "fontFamily": "Lato",
885
+ "lineHeight": "1.5"
886
+ },
887
+ "successMessageStyle": {
888
+ "textStyleType": "paragraphs"
889
+ },
890
+ "buttonTextStyle": {
891
+ "applyAutoScale": true,
892
+ "textStyleType": "buttons",
893
+ "textAlign": "center",
894
+ "fontFamily": "Lato",
895
+ "lineHeight": "1.5"
896
+ }
897
+ },
898
+ {
899
+ "id": "00000000-0000-4000-8000-000000000025",
900
+ "topPadding": 32,
901
+ "bottomPadding": 32,
902
+ "imageUrl": "",
903
+ "title": "This is a banner",
904
+ "description": "",
905
+ "buttonText": "Get Started",
906
+ "url": "",
907
+ "colorReplacements": [],
908
+ "type": "banner-section",
909
+ "displayStyle": "centered",
910
+ "descriptionStyle": {
911
+ "applyAutoScale": true,
912
+ "textStyleType": "paragraphs",
913
+ "textAlign": "center",
914
+ "fontFamily": "Lato",
915
+ "lineHeight": "1.5"
916
+ },
917
+ "titleStyle": {
918
+ "applyAutoScale": true,
919
+ "textStyleType": "titles",
920
+ "textAlign": "center",
921
+ "fontFamily": "Lato",
922
+ "lineHeight": "1.3"
923
+ },
924
+ "cardStyle": {
925
+ "backgroundColor": "var(--palette-custom-h4ppr5)"
926
+ },
927
+ "backgroundStyle": {},
928
+ "buttonPageId": "",
929
+ "buttonLinkType": "url",
930
+ "buttonTextStyle": {
931
+ "applyAutoScale": true,
932
+ "textStyleType": "buttons",
933
+ "textAlign": "center",
934
+ "fontFamily": "Lato",
935
+ "lineHeight": "1.5"
936
+ },
937
+ "overlayColor": {
938
+ "backgroundColor": "var(--palette-custom-41h913)"
939
+ },
940
+ "overlayOpacity": 50
941
+ },
942
+ {
943
+ "id": "00000000-0000-4000-8000-000000000026",
944
+ "title": "Book an appointment",
945
+ "description": "Schedule your appointment today",
946
+ "buttonText": "Book Now",
947
+ "url": "",
948
+ "type": "booking-section",
949
+ "topPadding": 32,
950
+ "bottomPadding": 32,
951
+ "descriptionStyle": {
952
+ "applyAutoScale": true,
953
+ "textStyleType": "paragraphs",
954
+ "textAlign": "center"
955
+ },
956
+ "titleStyle": {
957
+ "applyAutoScale": true,
958
+ "textStyleType": "titles",
959
+ "textAlign": "center"
960
+ },
961
+ "backgroundStyle": {},
962
+ "buttonPageId": "",
963
+ "buttonLinkType": "url",
964
+ "buttonTextStyle": {
965
+ "applyAutoScale": true,
966
+ "textStyleType": "buttons",
967
+ "textAlign": "center"
968
+ }
969
+ },
970
+ {
971
+ "id": "00000000-0000-4000-8000-000000000027",
972
+ "title": "Images",
973
+ "description": "",
974
+ "type": "images-section",
975
+ "topPadding": 32,
976
+ "bottomPadding": 32,
977
+ "displayStyle": "centered",
978
+ "aspectRatio": "Default",
979
+ "areImagesFullWidth": false,
980
+ "enablePopup": true,
981
+ "items": [
982
+ {
983
+ "height": -1,
984
+ "id": "00000000-0000-4000-8000-000000000028",
985
+ "imageUrl": "",
986
+ "imageTitle": "",
987
+ "paragraph": "",
988
+ "title": "",
989
+ "width": -1,
990
+ "imageLink": false,
991
+ "itemsId": -1,
992
+ "buttonText": false,
993
+ "buttonLinkType": "url",
994
+ "url": "",
995
+ "email": "",
996
+ "tel": "",
997
+ "buttonPageId": ""
998
+ }
999
+ ],
1000
+ "backgroundStyle": {},
1001
+ "cardStyle": {},
1002
+ "titleStyle": {
1003
+ "applyAutoScale": true,
1004
+ "textStyleType": "titles",
1005
+ "textAlign": "center",
1006
+ "fontFamily": "Lato",
1007
+ "lineHeight": "1.3"
1008
+ },
1009
+ "descriptionStyle": {
1010
+ "applyAutoScale": true,
1011
+ "textStyleType": "paragraphs",
1012
+ "textAlign": "center"
1013
+ },
1014
+ "headingStyle": {
1015
+ "applyAutoScale": true,
1016
+ "textStyleType": "headings",
1017
+ "textAlign": "center",
1018
+ "fontFamily": "Lato",
1019
+ "lineHeight": "1.4"
1020
+ },
1021
+ "paragraphStyle": {
1022
+ "applyAutoScale": true,
1023
+ "textStyleType": "paragraphs",
1024
+ "textAlign": "center",
1025
+ "fontFamily": "Lato",
1026
+ "lineHeight": "1.5"
1027
+ },
1028
+ "buttonTextStyle": {
1029
+ "applyAutoScale": true,
1030
+ "textStyleType": "buttons",
1031
+ "textAlign": "center"
1032
+ }
1033
+ },
1034
+ {
1035
+ "id": "00000000-0000-4000-8000-000000000029",
1036
+ "title": "Testimonials",
1037
+ "type": "testimonial-section",
1038
+ "displayStyle": "centered",
1039
+ "topPadding": 48,
1040
+ "bottomPadding": 48,
1041
+ "items": [],
1042
+ "titleStyle": {
1043
+ "applyAutoScale": true,
1044
+ "textStyleType": "titles",
1045
+ "textAlign": "center",
1046
+ "fontFamily": "Lato",
1047
+ "lineHeight": "1.3"
1048
+ },
1049
+ "testimonialStyle": {
1050
+ "applyAutoScale": true,
1051
+ "textStyleType": "headings",
1052
+ "textAlign": "center",
1053
+ "fontFamily": "Lato",
1054
+ "lineHeight": "1.4"
1055
+ },
1056
+ "nameStyle": {
1057
+ "applyAutoScale": true,
1058
+ "textStyleType": "paragraphs",
1059
+ "textAlign": "center",
1060
+ "fontFamily": "Lato",
1061
+ "lineHeight": "1.5"
1062
+ },
1063
+ "positionStyle": {
1064
+ "applyAutoScale": true,
1065
+ "textStyleType": "paragraphs",
1066
+ "textAlign": "center",
1067
+ "fontFamily": "Lato",
1068
+ "lineHeight": "1.5"
1069
+ },
1070
+ "backgroundStyle": {},
1071
+ "cardStyle": {}
1072
+ },
1073
+ {
1074
+ "id": "00000000-0000-4000-8000-000000000030",
1075
+ "imageUrl": "",
1076
+ "title": "This is the About Section",
1077
+ "type": "about-section",
1078
+ "displayStyle": "centered",
1079
+ "paragraph": "",
1080
+ "colorReplacements": [],
1081
+ "titleStyle": {
1082
+ "applyAutoScale": true,
1083
+ "textStyleType": "titles",
1084
+ "textAlign": "center",
1085
+ "fontFamily": "Lato",
1086
+ "lineHeight": "1.3"
1087
+ },
1088
+ "paragraphStyle": {
1089
+ "applyAutoScale": true,
1090
+ "textStyleType": "paragraphs",
1091
+ "textAlign": "center",
1092
+ "fontFamily": "Lato",
1093
+ "lineHeight": "1.5"
1094
+ },
1095
+ "backgroundStyle": {},
1096
+ "topPadding": 32,
1097
+ "bottomPadding": 32
1098
+ },
1099
+ {
1100
+ "id": "00000000-0000-4000-8000-000000000031",
1101
+ "type": "divider-section",
1102
+ "dividerColor": {
1103
+ "backgroundColor": "var(--palette-custom-41h913)"
1104
+ },
1105
+ "dividerStyle": "thin",
1106
+ "paddingStyle": 24,
1107
+ "backgroundStyle": {}
1108
+ },
1109
+ {
1110
+ "id": "00000000-0000-4000-8000-000000000032",
1111
+ "type": "social-links",
1112
+ "topPadding": 32,
1113
+ "bottomPadding": 32,
1114
+ "title": "Follow us on",
1115
+ "links": [
1116
+ {
1117
+ "id": "00000000-0000-4000-8000-000000000033",
1118
+ "imageUrl": "facebook",
1119
+ "url": "https://www.facebook.com",
1120
+ "imageTitle": "",
1121
+ "width": 0,
1122
+ "height": 0,
1123
+ "colorReplacements": [],
1124
+ "mediaType": "image",
1125
+ "imageLink": ""
1126
+ },
1127
+ {
1128
+ "id": "00000000-0000-4000-8000-000000000034",
1129
+ "imageUrl": "instagram",
1130
+ "url": "https://www.instagram.com",
1131
+ "imageTitle": "",
1132
+ "width": 0,
1133
+ "height": 0,
1134
+ "colorReplacements": [],
1135
+ "mediaType": "image",
1136
+ "imageLink": ""
1137
+ },
1138
+ {
1139
+ "id": "00000000-0000-4000-8000-000000000035",
1140
+ "imageUrl": "x",
1141
+ "url": "https://www.x.com",
1142
+ "imageTitle": "",
1143
+ "width": 0,
1144
+ "height": 0,
1145
+ "colorReplacements": [],
1146
+ "mediaType": "image",
1147
+ "imageLink": ""
1148
+ }
1149
+ ],
1150
+ "iconDisplayStyle": "none",
1151
+ "iconFillStyles": {
1152
+ "fill": "var(--palette-0)"
1153
+ },
1154
+ "iconBackgroundStyles": {},
1155
+ "backgroundStyles": {},
1156
+ "titleStyle": {
1157
+ "applyAutoScale": true,
1158
+ "textStyleType": "titles",
1159
+ "textAlign": "center",
1160
+ "fontFamily": "Lato",
1161
+ "lineHeight": "1.3"
1162
+ }
1163
+ },
1164
+ {
1165
+ "id": "00000000-0000-4000-8000-000000000036",
1166
+ "title": "Shapes",
1167
+ "description": "",
1168
+ "type": "shapes-section",
1169
+ "topPadding": 32,
1170
+ "bottomPadding": 32,
1171
+ "displayStyle": "centered",
1172
+ "items": [
1173
+ {
1174
+ "colorReplacements": [],
1175
+ "height": -1,
1176
+ "id": "00000000-0000-4000-8000-000000000037",
1177
+ "imageUrl": "",
1178
+ "imageTitle": "",
1179
+ "paragraph": "",
1180
+ "title": "",
1181
+ "width": -1,
1182
+ "mediaType": "shape",
1183
+ "imageLink": "",
1184
+ "itemsId": -1
1185
+ }
1186
+ ],
1187
+ "backgroundStyle": {},
1188
+ "cardStyle": {},
1189
+ "size": "4rem",
1190
+ "titleStyle": {
1191
+ "applyAutoScale": true,
1192
+ "textStyleType": "titles",
1193
+ "textAlign": "center",
1194
+ "fontFamily": "Lato",
1195
+ "lineHeight": "1.3"
1196
+ },
1197
+ "descriptionStyle": {
1198
+ "applyAutoScale": true,
1199
+ "textStyleType": "paragraphs",
1200
+ "textAlign": "center"
1201
+ },
1202
+ "headingStyle": {
1203
+ "applyAutoScale": true,
1204
+ "textStyleType": "headings",
1205
+ "textAlign": "center",
1206
+ "fontFamily": "Lato",
1207
+ "lineHeight": "1.4"
1208
+ },
1209
+ "paragraphStyle": {
1210
+ "applyAutoScale": true,
1211
+ "textStyleType": "paragraphs",
1212
+ "textAlign": "center",
1213
+ "fontFamily": "Lato",
1214
+ "lineHeight": "1.5"
1215
+ }
1216
+ }
1217
+ ],
1218
+ "id": "4aad6ba1-d693-5e83-b790-a441c01e353c"
1219
+ }
1220
+ ],
1221
+ "nav": {
1222
+ "orders": [
1223
+ {
1224
+ "routeId": "40b2da0a-05b5-5704-a224-61183d6e0370",
1225
+ "subRoutes": []
1226
+ }
1227
+ ],
1228
+ "routes": [
1229
+ {
1230
+ "id": "40b2da0a-05b5-5704-a224-61183d6e0370",
1231
+ "pageId": "4aad6ba1-d693-5e83-b790-a441c01e353c",
1232
+ "pageSlug": "home",
1233
+ "isHidden": false,
1234
+ "displayName": "Home"
1235
+ }
1236
+ ]
1237
+ },
1238
+ "brandPageType": "brandSite",
1239
+ "cookieOptions": {
1240
+ "isCookieEnabled": false,
1241
+ "isCookiePreviewEnabled": false
1242
+ }
1243
+ }