@designcrowd/library.brand-page 5.18.9-ast-padding-1 → 5.18.9-metadata-timeout-fix

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 (140) hide show
  1. package/lib/src/{CreatedOnBrandCrowd-de-de-CAZavzz5.js → CreatedOnBrandCrowd-de-de-DsoA9hc-.js} +1 -1
  2. package/lib/src/{CreatedOnBrandCrowd-en-us-C3ykuu0O.js → CreatedOnBrandCrowd-en-us-BP6NEQ66.js} +1 -1
  3. package/lib/src/{CreatedOnBrandCrowd-es-es-Dp1kdubS.js → CreatedOnBrandCrowd-es-es-D424uM1Z.js} +1 -1
  4. package/lib/src/{CreatedOnBrandCrowd-fr-fr-XQSZWskY.js → CreatedOnBrandCrowd-fr-ca-CJvuLTkB.js} +1 -1
  5. package/lib/src/{CreatedOnBrandCrowd-fr-ca-XQSZWskY.js → CreatedOnBrandCrowd-fr-fr-CJvuLTkB.js} +1 -1
  6. package/lib/src/{CreatedOnBrandCrowd-pt-pt-D7Gyr7mi.js → CreatedOnBrandCrowd-pt-br-Cc9L314u.js} +1 -1
  7. package/lib/src/{CreatedOnBrandCrowd-pt-br-D7Gyr7mi.js → CreatedOnBrandCrowd-pt-pt-Cc9L314u.js} +1 -1
  8. package/lib/src/{CreatedOnDcom-de-de-62-Y3e7k.js → CreatedOnDcom-de-de-CX-295FH.js} +1 -1
  9. package/lib/src/{CreatedOnDcom-en-us-D00b8Ozh.js → CreatedOnDcom-en-us-UFlORUgZ.js} +1 -1
  10. package/lib/src/{CreatedOnDcom-es-es-DiuuOBp4.js → CreatedOnDcom-es-es-D1tRpcq9.js} +1 -1
  11. package/lib/src/{CreatedOnDcom-fr-ca-D4_3lNx2.js → CreatedOnDcom-fr-ca-Dz_ry9uY.js} +1 -1
  12. package/lib/src/{CreatedOnDcom-fr-fr-DsAo2lNu.js → CreatedOnDcom-fr-fr-8Ydu6b1T.js} +1 -1
  13. package/lib/src/{CreatedOnDcom-pt-br-D7KY-upE.js → CreatedOnDcom-pt-br-COwvw5k4.js} +1 -1
  14. package/lib/src/{CreatedOnDcom-pt-pt-Nxz3ndA_.js → CreatedOnDcom-pt-pt-CB72-eaa.js} +1 -1
  15. package/lib/src/brand-page/components/contact-form/ContactForm.mixin.d.ts +0 -4
  16. package/lib/src/brand-page/components/contact-form/ContactForm.mixin.js +4 -8
  17. package/lib/src/brand-page/components/image-gallery/ImageGallery.mixin.d.ts +0 -4
  18. package/lib/src/brand-page/components/image-gallery/ImageGallery.mixin.js +0 -4
  19. package/lib/src/brand-page/components/mailing-list/MailingList.mixin.d.ts +0 -4
  20. package/lib/src/brand-page/components/mailing-list/MailingList.mixin.js +1 -4
  21. package/lib/src/brand-page/components/payment/request-payment/RequestPayment.mixin.d.ts +0 -4
  22. package/lib/src/brand-page/components/payment/request-payment/RequestPayment.mixin.js +0 -4
  23. package/lib/src/brand-page/components/payment/support-me/SupportMe.mixin.d.ts +0 -4
  24. package/lib/src/brand-page/components/payment/support-me/SupportMe.mixin.js +1 -4
  25. package/lib/src/brand-page/components/testimonial-section/TestimonialSection.mixin.d.ts +0 -4
  26. package/lib/src/brand-page/components/testimonial-section/TestimonialSection.mixin.js +1 -4
  27. package/lib/src/brand-page/components/video/Video.mixin.d.ts +0 -4
  28. package/lib/src/brand-page/components/video/Video.mixin.js +0 -4
  29. package/lib/src/brand-page/constants/font.constants.d.ts +4 -4
  30. package/lib/src/brand-page/constants/font.constants.js +4 -4
  31. package/lib/src/brand-page/constants/misc.constants.d.ts +0 -35
  32. package/lib/src/brand-page/constants/misc.constants.js +0 -51
  33. package/lib/src/brand-page/models/content.model.d.ts +0 -2
  34. package/lib/src/brand-page/utils/index.d.ts +0 -1
  35. package/lib/src/brand-page/utils/index.js +0 -1
  36. package/lib/src/brand-page/utils/migration.util.js +0 -10
  37. package/lib/src/brand-page-maker/components/admin-logo-settings/AdminLogoSettings.mixin.d.ts +0 -2
  38. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +0 -12
  39. package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +0 -14
  40. package/lib/src/brand-page-maker/constants/config-settings-constant.js +0 -39
  41. package/lib/src/brand-page-maker/convertors/about-display-style.convertor.js +1 -9
  42. package/lib/src/brand-page-maker/convertors/banner-align-display-style.convertor.js +1 -7
  43. package/lib/src/brand-page-maker/convertors/contact-layout-style.convertor.js +1 -6
  44. package/lib/src/brand-page-maker/models/content-settings.js +2 -38
  45. package/lib/src/brand-page-maker/stores/ai-checkpoint/ai-checkpoint-store.d.ts +0 -12
  46. package/lib/src/{bundled-translations-BUyt4scr.js → bundled-translations-D1q3rSEz.js} +9 -9
  47. package/lib/src/{bundled-translations.de-DE-DEw_OVai.js → bundled-translations.de-DE-BxqLLwbh.js} +1 -1
  48. package/lib/src/{bundled-translations.es-ES-CFKWmkgY.js → bundled-translations.es-ES-uh249NlJ.js} +17 -17
  49. package/lib/src/{bundled-translations.fr-CA-DCl5LJS4.js → bundled-translations.fr-CA-BEQmv2fX.js} +1 -1
  50. package/lib/src/{bundled-translations.fr-FR-B5BjgllA.js → bundled-translations.fr-FR-BnNuCojH.js} +1 -1
  51. package/lib/src/{bundled-translations.pt-BR-5PWpMPuM.js → bundled-translations.pt-BR-CJUOxVlq.js} +1 -1
  52. package/lib/src/{bundled-translations.pt-PT-B9_wN0HR.js → bundled-translations.pt-PT-Ds9cMEqK.js} +9 -9
  53. package/lib/src/bundles/bundled-translations.de-DE.json +0 -2
  54. package/lib/src/bundles/bundled-translations.es-ES.json +0 -2
  55. package/lib/src/bundles/bundled-translations.fr-CA.json +0 -2
  56. package/lib/src/bundles/bundled-translations.fr-FR.json +0 -2
  57. package/lib/src/bundles/bundled-translations.json +0 -2
  58. package/lib/src/bundles/bundled-translations.pt-BR.json +0 -2
  59. package/lib/src/bundles/bundled-translations.pt-PT.json +0 -2
  60. package/lib/src/clients/asset-library-clients.js +19 -12
  61. package/lib/src/css/library.brand-page-brandCrowd.min.css +155 -141
  62. package/lib/src/css/library.brand-page-brandPage.min.css +155 -141
  63. package/lib/src/css/library.brand-page-designCom.min.css +155 -141
  64. package/lib/src/css/library.brand-page-preview.min.css +155 -141
  65. package/lib/src/index.mjs +1 -1
  66. package/lib/src/{lib-Sms5Rq17.js → lib-tHPi9EKk.js} +20005 -20191
  67. package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.d.ts +0 -14
  68. package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.d.ts +0 -14
  69. package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.d.ts +0 -12
  70. package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.d.ts +0 -12
  71. package/lib/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.d.ts +0 -12
  72. package/lib/src/shared/content-settings/components/slider-field/SliderField.mixin.js +0 -9
  73. package/lib/src/shared/content-settings/store/content-settings-store.d.ts +0 -12
  74. package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +0 -16
  75. package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +0 -14
  76. package/lib/src/utils/minify-brand-page-metadata.js +1 -11
  77. package/package.json +1 -1
  78. package/src/brand-page/components/about-section/AboutSection.vue +4 -10
  79. package/src/brand-page/components/banner-section/BannerSection.vue +4 -11
  80. package/src/brand-page/components/booking-section/BookingSection.vue +3 -11
  81. package/src/brand-page/components/contact-form/ContactForm.mixin.ts +6 -12
  82. package/src/brand-page/components/contact-form/ContactForm.vue +104 -105
  83. package/src/brand-page/components/image-gallery/ImageGallery.mixin.ts +0 -5
  84. package/src/brand-page/components/image-gallery/ImageGallery.vue +1 -1
  85. package/src/brand-page/components/mailing-list/MailingList.mixin.ts +1 -8
  86. package/src/brand-page/components/mailing-list/MailingList.vue +1 -1
  87. package/src/brand-page/components/map/Map.vue +1 -5
  88. package/src/brand-page/components/payment/request-payment/RequestPayment.mixin.ts +0 -5
  89. package/src/brand-page/components/payment/request-payment/RequestPayment.vue +0 -1
  90. package/src/brand-page/components/payment/support-me/SupportMe.mixin.ts +1 -8
  91. package/src/brand-page/components/payment/support-me/SupportMe.vue +0 -1
  92. package/src/brand-page/components/shop/Shop.vue +2 -7
  93. package/src/brand-page/components/social-links/SocialLinks.vue +3 -7
  94. package/src/brand-page/components/testimonial-section/TestimonialSection.mixin.ts +1 -7
  95. package/src/brand-page/components/testimonial-section/TestimonialSection.vue +6 -4
  96. package/src/brand-page/components/text/Text.vue +5 -12
  97. package/src/brand-page/components/text-media-section/TextMediaSection.vue +3 -11
  98. package/src/brand-page/components/video/Video.mixin.ts +0 -5
  99. package/src/brand-page/components/video/Video.vue +1 -1
  100. package/src/brand-page/constants/font.constants.ts +4 -4
  101. package/src/brand-page/constants/misc.constants.ts +0 -58
  102. package/src/brand-page/models/content.model.ts +0 -2
  103. package/src/brand-page/utils/__snapshots__/migration.util.test.ts.snap +3 -9
  104. package/src/brand-page/utils/__snapshots__/migration2.util.test.ts.snap +6 -6
  105. package/src/brand-page/utils/__snapshots__/model.util.test.ts.snap +12 -12
  106. package/src/brand-page/utils/index.ts +0 -1
  107. package/src/brand-page/utils/migration.util.test.ts +0 -252
  108. package/src/brand-page/utils/migration.util.ts +0 -11
  109. package/src/brand-page-maker/constants/config-settings-constant.ts +0 -45
  110. package/src/brand-page-maker/convertors/about-display-style.convertor.ts +0 -10
  111. package/src/brand-page-maker/convertors/banner-align-display-style.convertor.ts +0 -8
  112. package/src/brand-page-maker/convertors/contact-layout-style.convertor.ts +0 -8
  113. package/src/brand-page-maker/models/content-settings.ts +2 -41
  114. package/src/bundles/bundled-translations.de-DE.json +0 -2
  115. package/src/bundles/bundled-translations.es-ES.json +0 -2
  116. package/src/bundles/bundled-translations.fr-CA.json +0 -2
  117. package/src/bundles/bundled-translations.fr-FR.json +0 -2
  118. package/src/bundles/bundled-translations.json +0 -2
  119. package/src/bundles/bundled-translations.pt-BR.json +0 -2
  120. package/src/bundles/bundled-translations.pt-PT.json +0 -2
  121. package/src/clients/asset-library-clients.ts +26 -13
  122. package/src/shared/content-settings/components/content-settings/i18n/content-settings.de-DE.json +0 -2
  123. package/src/shared/content-settings/components/content-settings/i18n/content-settings.es-ES.json +0 -2
  124. package/src/shared/content-settings/components/content-settings/i18n/content-settings.fr-CA.json +0 -2
  125. package/src/shared/content-settings/components/content-settings/i18n/content-settings.fr-FR.json +0 -2
  126. package/src/shared/content-settings/components/content-settings/i18n/content-settings.json +0 -2
  127. package/src/shared/content-settings/components/content-settings/i18n/content-settings.pt-BR.json +0 -2
  128. package/src/shared/content-settings/components/content-settings/i18n/content-settings.pt-PT.json +0 -2
  129. package/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.vue +1 -1
  130. package/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.vue +2 -2
  131. package/src/shared/content-settings/components/slider-field/SliderField.mixin.ts +0 -9
  132. package/src/utils/minify-brand-page-metadata.ts +1 -11
  133. package/lib/src/brand-page/utils/content-padding.util.d.ts +0 -13
  134. package/lib/src/brand-page/utils/content-padding.util.js +0 -10
  135. package/lib/src/brand-page/utils/migration/migration-17.d.ts +0 -2
  136. package/lib/src/brand-page/utils/migration/migration-17.js +0 -54
  137. package/src/brand-page/utils/content-padding.util.test.ts +0 -29
  138. package/src/brand-page/utils/content-padding.util.ts +0 -13
  139. package/src/brand-page/utils/migration/migration-17.ts +0 -72
  140. package/src/brand-page-maker/convertors/contact-layout-style.convertor.test.ts +0 -50
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-Sms5Rq17.js";
2
+ import { _ as t } from "./lib-tHPi9EKk.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-Sms5Rq17.js";
2
+ import { _ as t } from "./lib-tHPi9EKk.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-Sms5Rq17.js";
2
+ import { _ as t } from "./lib-tHPi9EKk.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-Sms5Rq17.js";
2
+ import { _ as t } from "./lib-tHPi9EKk.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-Sms5Rq17.js";
2
+ import { _ as t } from "./lib-tHPi9EKk.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-Sms5Rq17.js";
2
+ import { _ as t } from "./lib-tHPi9EKk.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-Sms5Rq17.js";
2
+ import { _ as t } from "./lib-tHPi9EKk.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-Sms5Rq17.js";
2
+ import { _ as e } from "./lib-tHPi9EKk.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-Sms5Rq17.js";
2
+ import { _ as e } from "./lib-tHPi9EKk.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-Sms5Rq17.js";
2
+ import { _ as e } from "./lib-tHPi9EKk.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-Sms5Rq17.js";
2
+ import { _ as e } from "./lib-tHPi9EKk.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-Sms5Rq17.js";
2
+ import { _ as e } from "./lib-tHPi9EKk.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-Sms5Rq17.js";
2
+ import { _ as M } from "./lib-tHPi9EKk.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-Sms5Rq17.js";
2
+ import { _ as M } from "./lib-tHPi9EKk.js";
3
3
  const Z = {}, e = {
4
4
  width: "232",
5
5
  height: "36",
@@ -45,10 +45,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
45
45
  }, {
46
46
  submitButtonStyle(): BrandPageCssStyle;
47
47
  submitButtonTextStyle(): BrandPageCssStyle;
48
- contentPaddingStyle(): {
49
- paddingTop: string;
50
- paddingBottom: string;
51
- };
52
48
  hasCard(): boolean;
53
49
  hasBgImage(): boolean;
54
50
  hasBgColor(): boolean;
@@ -4,7 +4,7 @@ import { getEmailValidationError, getMessageValidationError, getNameValidationEr
4
4
  import brandPageClient from '../../clients/brand-page.client';
5
5
  import { isEmail } from '../../../utils/validator.util';
6
6
  import { ALIGN_CARD_CENTER, ALIGN_CARD_CENTER_IMAGE, ALIGN_CENTERED, ALIGN_LEFT_FULL_IMAGE, ALIGN_RIGHT_FULL_IMAGE, DISPLAY_STYLE_COLLAPSED, RECAPTCHA_ACTION_CONTACT_FORM, TEXT_ONLY, } from '../../constants';
7
- import { getRenderText, contentPaddingStyle as toContentPaddingStyle, } from '@brand-page/utils';
7
+ import { getRenderText } from '@brand-page/utils';
8
8
  import { hasRTEContent } from '@brand-page-maker/utils';
9
9
  import { useReCaptcha } from '../../composables/recaptcha.composable';
10
10
  export default defineComponent({
@@ -64,9 +64,6 @@ export default defineComponent({
64
64
  };
65
65
  return buttonTextStyle;
66
66
  },
67
- contentPaddingStyle() {
68
- return toContentPaddingStyle(this.viewModel);
69
- },
70
67
  hasCard() {
71
68
  return (this.viewModel.layoutStyle === ALIGN_CARD_CENTER ||
72
69
  this.viewModel.layoutStyle === ALIGN_CARD_CENTER_IMAGE);
@@ -75,10 +72,9 @@ export default defineComponent({
75
72
  return this.viewModel.layoutStyle === ALIGN_CARD_CENTER_IMAGE;
76
73
  },
77
74
  hasBgColor() {
78
- // Every brandSite layout applies the background colour on the section
79
- // root (banner-style) so the padding control reveals it; for the image
80
- // layouts it only shows in the padding bands around the image block.
81
- return Boolean(this.viewModel.layoutStyle);
75
+ return (this.viewModel.layoutStyle === ALIGN_CARD_CENTER ||
76
+ this.viewModel.layoutStyle === TEXT_ONLY ||
77
+ this.viewModel.layoutStyle === ALIGN_CENTERED);
82
78
  },
83
79
  isCenteredLayout() {
84
80
  return (this.viewModel.layoutStyle === ALIGN_CARD_CENTER ||
@@ -23,10 +23,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
23
23
  }>, {}, {
24
24
  imageModalSelectedImageIndex: number | undefined;
25
25
  }, {
26
- contentPaddingStyle(): {
27
- paddingTop: string;
28
- paddingBottom: string;
29
- };
30
26
  getContainerStyle(): BrandPageCssStyle;
31
27
  images(): any[] | undefined;
32
28
  galleryType(): GalleryType;
@@ -1,5 +1,4 @@
1
1
  import { defineComponent } from 'vue';
2
- import { contentPaddingStyle as toContentPaddingStyle } from '@brand-page/utils';
3
2
  import ComponentCommonMixin from '../mixins/component-common.mixin';
4
3
  import ImageModalMixin from '../mixins/image-modal.mixin';
5
4
  import { GALLERY_TYPES } from '@brand-page/models';
@@ -30,9 +29,6 @@ export default defineComponent({
30
29
  };
31
30
  },
32
31
  computed: {
33
- contentPaddingStyle() {
34
- return toContentPaddingStyle(this.viewModel);
35
- },
36
32
  getContainerStyle() {
37
33
  if (this.galleryType === 'carousel') {
38
34
  const maxWidth = this.containerClientWidth
@@ -39,10 +39,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
39
39
  isSubmitting: boolean;
40
40
  show: boolean;
41
41
  }, {
42
- contentPaddingStyle(): {
43
- paddingTop: string;
44
- paddingBottom: string;
45
- };
46
42
  hasNameError(): boolean;
47
43
  hasEmailError(): boolean;
48
44
  hasFormError(): boolean;
@@ -1,6 +1,6 @@
1
1
  import { defineComponent } from 'vue';
2
2
  import brandPageClient from '../../clients/brand-page.client';
3
- import { getEmailValidationError, contentPaddingStyle as toContentPaddingStyle, } from '@brand-page/utils';
3
+ import { getEmailValidationError } from '@brand-page/utils';
4
4
  import { contentSettingsTr, mailingListTr, } from '@src/composables/useTranslate';
5
5
  import { useReCaptcha } from '../../composables/recaptcha.composable';
6
6
  import { RECAPTCHA_ACTION_MAILING_LIST } from '../../constants';
@@ -51,9 +51,6 @@ export default defineComponent({
51
51
  }
52
52
  },
53
53
  computed: {
54
- contentPaddingStyle() {
55
- return toContentPaddingStyle(this.viewModel);
56
- },
57
54
  hasNameError() {
58
55
  return !!this.nameError;
59
56
  },
@@ -21,10 +21,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
21
21
  selectedPaymentOptionIds: string[];
22
22
  imageType: string;
23
23
  }, {
24
- contentPaddingStyle(): {
25
- paddingTop: string;
26
- paddingBottom: string;
27
- };
28
24
  isCustomerRequestDetailsValid(): boolean;
29
25
  paymentRequestDetails(): PaymentRequestDetails;
30
26
  paymentOptions(): PaymentOption[];
@@ -2,7 +2,6 @@ import { defineComponent } from 'vue';
2
2
  import { PAYMENT_OPTION_DISPLAY_TYPES, PAYMENT_OPTION_IMAGE_TYPES, } from '../../../models';
3
3
  import { DEFAULT_CURRENCY_SYMBOL } from '../../../constants';
4
4
  import { addOpacityToHex } from '../../../utils/color.util';
5
- import { contentPaddingStyle as toContentPaddingStyle } from '../../../utils';
6
5
  import { RGBAtoHex } from '@utils/helpers';
7
6
  const MAX_CUSTOM_REQUEST_CHARS = 500;
8
7
  export default defineComponent({
@@ -29,9 +28,6 @@ export default defineComponent({
29
28
  };
30
29
  },
31
30
  computed: {
32
- contentPaddingStyle() {
33
- return toContentPaddingStyle(this.viewModel);
34
- },
35
31
  isCustomerRequestDetailsValid() {
36
32
  return (!this.viewModel.requestPaymentConfig.isCustomerRequestDetailsEnabled ||
37
33
  this.customerRequestDetails === undefined ||
@@ -17,10 +17,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
17
17
  prevCustomAmount: string;
18
18
  customAmount: string;
19
19
  }, {
20
- contentPaddingStyle(): {
21
- paddingTop: string;
22
- paddingBottom: string;
23
- };
24
20
  isCustomAmountFieldVisible(): boolean;
25
21
  isCustomerMessageFieldVisible(): boolean;
26
22
  isCustomerMessageValid(): boolean;
@@ -1,6 +1,6 @@
1
1
  import { defineComponent } from 'vue';
2
2
  import { SUPPORT_ME_CUSTOM_PRODUCT_NAME } from '../../../constants';
3
- import { isPaymentAmountValid, contentPaddingStyle as toContentPaddingStyle, } from '../../../utils';
3
+ import { isPaymentAmountValid } from '../../../utils';
4
4
  import { DEFAULT_CURRENCY_SYMBOL, DEFAULT_CURRENCY_CODE, } from '../../../constants';
5
5
  import { paymentTr } from '@src/composables/useTranslate';
6
6
  const MAX_CUSTOM_MESSAGE_CHARS = 500;
@@ -24,9 +24,6 @@ export default defineComponent({
24
24
  };
25
25
  },
26
26
  computed: {
27
- contentPaddingStyle() {
28
- return toContentPaddingStyle(this.viewModel);
29
- },
30
27
  isCustomAmountFieldVisible() {
31
28
  return this.viewModel.supportMeConfig.paymentOptions.some((o) => o.name === SUPPORT_ME_CUSTOM_PRODUCT_NAME);
32
29
  },
@@ -26,10 +26,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
26
26
  debouncedForceCarouselUpdate: DebounceHandle | undefined;
27
27
  carouselRef: string;
28
28
  }, {
29
- contentPaddingStyle(): {
30
- paddingTop: string;
31
- paddingBottom: string;
32
- };
33
29
  textAlignClass(): {
34
30
  'c_testimonial-big-image-text-item': boolean;
35
31
  'tw-mb-2': boolean;
@@ -1,6 +1,6 @@
1
1
  import { defineComponent } from 'vue';
2
2
  import ComponentCommonMixin from '../mixins/component-common.mixin';
3
- import { getRenderText, contentPaddingStyle as toContentPaddingStyle, } from '@brand-page/utils';
3
+ import { getRenderText } from '@brand-page/utils';
4
4
  import debounce from 'lodash.debounce';
5
5
  import { DEVICE_CSS_TRANSITION_DELAY } from '@brand-page-maker/constants';
6
6
  const DEBOUNCE_WAIT_MS = 100;
@@ -38,9 +38,6 @@ export default defineComponent({
38
38
  }, DEBOUNCE_WAIT_MS);
39
39
  },
40
40
  computed: {
41
- contentPaddingStyle() {
42
- return toContentPaddingStyle(this.viewModel);
43
- },
44
41
  textAlignClass() {
45
42
  return {
46
43
  'c_testimonial-big-image-text-item': this.viewModel.displayStyle === 'big-image',
@@ -11,10 +11,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
11
11
  isCollapsed: boolean;
12
12
  title: string;
13
13
  }, {
14
- contentPaddingStyle(): {
15
- paddingTop: string;
16
- paddingBottom: string;
17
- };
18
14
  arrowStyle(): BrandPageCssStyle;
19
15
  containerStyle(): BrandPageCssStyle;
20
16
  videoUrl(): string;
@@ -1,5 +1,4 @@
1
1
  import { defineComponent } from 'vue';
2
- import { contentPaddingStyle as toContentPaddingStyle } from '@brand-page/utils';
3
2
  import ComponentCommonMixin from '../mixins/component-common.mixin';
4
3
  import { DISPLAY_STYLE_PREVIEW, DISPLAY_STYLE_COLLAPSED, } from '../../constants';
5
4
  export default defineComponent({
@@ -17,9 +16,6 @@ export default defineComponent({
17
16
  title: 'Video',
18
17
  }),
19
18
  computed: {
20
- contentPaddingStyle() {
21
- return toContentPaddingStyle(this.viewModel);
22
- },
23
19
  arrowStyle() {
24
20
  return {
25
21
  color: this.viewModel.buttonStyles.style?.color,
@@ -4,10 +4,10 @@ export declare const DISPLAY_TEXT_BODY = "Paragraphs";
4
4
  export declare const DISPlAY_TEXT_BUTTONS = "Button Texts";
5
5
  export declare const DEFAULT_TEXT_DECORATION: undefined;
6
6
  export declare const DEFAULT_FONT_STYLE: undefined;
7
- export declare const FONT_SIZE_TITLE = "2.25em";
8
- export declare const FONT_SIZE_HEADINGS = "1.5em";
9
- export declare const FONT_SIZE_BODY = "1em";
10
- export declare const FONT_SIZE_PROFILE_NAME = "1.5em";
7
+ export declare const FONT_SIZE_TITLE = "2.25rem";
8
+ export declare const FONT_SIZE_HEADINGS = "1.5rem";
9
+ export declare const FONT_SIZE_BODY = "1rem";
10
+ export declare const FONT_SIZE_PROFILE_NAME = "1.5rem";
11
11
  export declare const FONT_WEIGHT_PROFILE_NAME = "800";
12
12
  export declare const FONT_WEIGHT_NORMAL = "normal";
13
13
  export declare const LINE_HEIGHT_TITLE = "1.3";
@@ -5,10 +5,10 @@ export const DISPLAY_TEXT_BODY = 'Paragraphs';
5
5
  export const DISPlAY_TEXT_BUTTONS = 'Button Texts';
6
6
  export const DEFAULT_TEXT_DECORATION = undefined;
7
7
  export const DEFAULT_FONT_STYLE = undefined;
8
- export const FONT_SIZE_TITLE = '2.25em';
9
- export const FONT_SIZE_HEADINGS = '1.5em';
10
- export const FONT_SIZE_BODY = '1em';
11
- export const FONT_SIZE_PROFILE_NAME = '1.5em';
8
+ export const FONT_SIZE_TITLE = '2.25rem';
9
+ export const FONT_SIZE_HEADINGS = '1.5rem';
10
+ export const FONT_SIZE_BODY = '1rem';
11
+ export const FONT_SIZE_PROFILE_NAME = '1.5rem';
12
12
  export const FONT_WEIGHT_PROFILE_NAME = '800';
13
13
  export const FONT_WEIGHT_NORMAL = 'normal';
14
14
  export const LINE_HEIGHT_TITLE = '1.3';
@@ -29,41 +29,6 @@ export declare const TEXT_ONLY = "text-only";
29
29
  export declare const ALIGN_LEFT_FULL_IMAGE = "left-aligned-full-image";
30
30
  export declare const ALIGN_RIGHT_FULL_IMAGE = "right-aligned-full-image";
31
31
  export declare const ALTERNATE_IMAGE = "alternate-image";
32
- /**
33
- * Padding Control (BP-5699): the top/bottom padding each Contact Form layout
34
- * had hard-coded before the sliders existed. Single source for new-block
35
- * defaults (content-settings) and the migration backfill for existing pages.
36
- * The image layouts (full-image divided and card-over-image) are 0: the bg
37
- * image expands with the section padding (banner-style), so the default starts
38
- * flush at the edges; the spacing inside/over the image stays fixed.
39
- */
40
- export declare const CONTACT_FORM_LAYOUT_DEFAULT_PADDING: Record<string, number>;
41
- /**
42
- * Banner: full-bleed display styles (divided + full-width stacked) render the
43
- * image flush to the section edges, so their top/bottom padding defaults to 0 to
44
- * match prod — the standard 32 would push the image off the edges. Every other
45
- * banner style keeps 32. Used by the banner display-style convertor and the
46
- * migration backfill, mirroring contact-form's per-layout map above.
47
- */
48
- export declare const BANNER_DEFAULT_PADDING = 32;
49
- export declare const BANNER_FULL_BLEED_DISPLAY_STYLES: string[];
50
- export declare const bannerDisplayStyleDefaultPadding: (displayStyle?: string) => number;
51
- /**
52
- * About: a flat 32 for every display style, including the two full-image styles.
53
- * The full-image About renders the image inside the padded container, so the
54
- * standard 32 band is the intended look. Used by the About display-style
55
- * convertor and the migration backfill.
56
- */
57
- export declare const ABOUT_DEFAULT_PADDING = 32;
58
- /**
59
- * Testimonials: a single top/bottom value across both breakpoints, replacing the
60
- * old 32px mobile / 80px desktop split. The same value applies to every display
61
- * style (centered / big-image / columns) — they share one root, so padding does
62
- * not vary by style. Used by the new-block default and the migration backfill.
63
- * Default (BP-5703): 48px — the single value chosen for both breakpoints (replaces
64
- * the old 32px mobile / 80px desktop split).
65
- */
66
- export declare const TESTIMONIAL_DEFAULT_PADDING = 48;
67
32
  export declare const BIG_IMAGE = "big-image";
68
33
  export declare const MEDIA_ONLY = "media-only";
69
34
  export declare const COLUMNS = "columns";
@@ -30,57 +30,6 @@ export const TEXT_ONLY = 'text-only';
30
30
  export const ALIGN_LEFT_FULL_IMAGE = 'left-aligned-full-image';
31
31
  export const ALIGN_RIGHT_FULL_IMAGE = 'right-aligned-full-image';
32
32
  export const ALTERNATE_IMAGE = 'alternate-image';
33
- /**
34
- * Padding Control (BP-5699): the top/bottom padding each Contact Form layout
35
- * had hard-coded before the sliders existed. Single source for new-block
36
- * defaults (content-settings) and the migration backfill for existing pages.
37
- * The image layouts (full-image divided and card-over-image) are 0: the bg
38
- * image expands with the section padding (banner-style), so the default starts
39
- * flush at the edges; the spacing inside/over the image stays fixed.
40
- */
41
- export const CONTACT_FORM_LAYOUT_DEFAULT_PADDING = {
42
- '': 0, // collapsible (default on Brand Page / Brand Contact)
43
- [ALIGN_CENTERED]: 32,
44
- [ALIGN_CARD_CENTER]: 32,
45
- [ALIGN_CARD_CENTER_IMAGE]: 0,
46
- [TEXT_ONLY]: 32,
47
- [ALIGN_LEFT_FULL_IMAGE]: 0,
48
- [ALIGN_RIGHT_FULL_IMAGE]: 0,
49
- };
50
- /**
51
- * Banner: full-bleed display styles (divided + full-width stacked) render the
52
- * image flush to the section edges, so their top/bottom padding defaults to 0 to
53
- * match prod — the standard 32 would push the image off the edges. Every other
54
- * banner style keeps 32. Used by the banner display-style convertor and the
55
- * migration backfill, mirroring contact-form's per-layout map above.
56
- */
57
- export const BANNER_DEFAULT_PADDING = 32;
58
- export const BANNER_FULL_BLEED_DISPLAY_STYLES = [
59
- ALIGN_LEFT_FULL_IMAGE,
60
- ALIGN_RIGHT_FULL_IMAGE,
61
- ALIGN_TOP_FULL_IMAGE,
62
- ALIGN_BOTTOM_FULL_IMAGE,
63
- ALIGN_MIDDLE_FULL_IMAGE,
64
- ];
65
- export const bannerDisplayStyleDefaultPadding = (displayStyle) => displayStyle && BANNER_FULL_BLEED_DISPLAY_STYLES.includes(displayStyle)
66
- ? 0
67
- : BANNER_DEFAULT_PADDING;
68
- /**
69
- * About: a flat 32 for every display style, including the two full-image styles.
70
- * The full-image About renders the image inside the padded container, so the
71
- * standard 32 band is the intended look. Used by the About display-style
72
- * convertor and the migration backfill.
73
- */
74
- export const ABOUT_DEFAULT_PADDING = 32;
75
- /**
76
- * Testimonials: a single top/bottom value across both breakpoints, replacing the
77
- * old 32px mobile / 80px desktop split. The same value applies to every display
78
- * style (centered / big-image / columns) — they share one root, so padding does
79
- * not vary by style. Used by the new-block default and the migration backfill.
80
- * Default (BP-5703): 48px — the single value chosen for both breakpoints (replaces
81
- * the old 32px mobile / 80px desktop split).
82
- */
83
- export const TESTIMONIAL_DEFAULT_PADDING = 48;
84
33
  export const BIG_IMAGE = 'big-image';
85
34
  export const MEDIA_ONLY = 'media-only';
86
35
  export const COLUMNS = 'columns';
@@ -47,8 +47,6 @@ export interface Content {
47
47
  id: string;
48
48
  type: ContentType;
49
49
  personalisationRole?: PersonalisationRole;
50
- topPadding?: number;
51
- bottomPadding?: number;
52
50
  imageUrlOverride?: string;
53
51
  imageUrlsOverride?: string;
54
52
  avatarImageUrlOverride?: string;
@@ -1,5 +1,4 @@
1
1
  export * from './style.util';
2
- export * from './content-padding.util';
3
2
  export * from './view-model.util';
4
3
  export * from './text.util';
5
4
  export * from './model.util';
@@ -1,5 +1,4 @@
1
1
  export * from './style.util';
2
- export * from './content-padding.util';
3
2
  export * from './view-model.util';
4
3
  export * from './text.util';
5
4
  export * from './model.util';
@@ -19,7 +19,6 @@ import { migration13 } from './migration/migration-13';
19
19
  import { migration14 } from './migration/migration-14';
20
20
  import { migration15 } from './migration/migration-15';
21
21
  import { migration16 } from './migration/migration-16';
22
- import { migration17 } from './migration/migration-17';
23
22
  const MIGRATION_TABLE = [
24
23
  {
25
24
  version: 1,
@@ -123,15 +122,6 @@ const MIGRATION_TABLE = [
123
122
  runAlways: true,
124
123
  description: 'Default sub nav background color to color match on for TAB_2 and hamburger navs depending on font color only on first load flow',
125
124
  },
126
- {
127
- version: 17,
128
- migrateFn: migration17,
129
- // runAlways: re-apply on every load (ticket stack) so already-migrated pages
130
- // pick up newly-added block defaults (e.g. Store) without a new migration.
131
- // Idempotent — only backfills when topPadding/bottomPadding aren't already set.
132
- runAlways: true,
133
- description: 'Padding Control backfill (BP-5699 Tier 2 + BP-5700 Store): backfill existing top/bottom spacing as explicit padding for text (12px), images/social links/shapes/booking (32px), store (16px), contact form (per layout), banner and about (per display style)',
134
- },
135
125
  ];
136
126
  export const GetLatestModelVersion = () => Math.max(...MIGRATION_TABLE.map((x) => x.version));
137
127
  export const migrateBrandPageModel = async (brandPageModel, options) => {
@@ -8,8 +8,6 @@ declare const _default: import("vue").DefineComponent<{}, {
8
8
  id: string;
9
9
  type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
10
10
  personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
11
- topPadding?: number | undefined;
12
- bottomPadding?: number | undefined;
13
11
  imageUrlOverride?: string | undefined;
14
12
  imageUrlsOverride?: string | undefined;
15
13
  avatarImageUrlOverride?: string | undefined;
@@ -501,8 +501,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
501
501
  id: string;
502
502
  type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
503
503
  personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
504
- topPadding?: number | undefined;
505
- bottomPadding?: number | undefined;
506
504
  imageUrlOverride?: string | undefined;
507
505
  imageUrlsOverride?: string | undefined;
508
506
  avatarImageUrlOverride?: string | undefined;
@@ -552,8 +550,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
552
550
  id: string;
553
551
  type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
554
552
  personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
555
- topPadding?: number | undefined;
556
- bottomPadding?: number | undefined;
557
553
  imageUrlOverride?: string | undefined;
558
554
  imageUrlsOverride?: string | undefined;
559
555
  avatarImageUrlOverride?: string | undefined;
@@ -603,8 +599,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
603
599
  id: string;
604
600
  type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
605
601
  personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
606
- topPadding?: number | undefined;
607
- bottomPadding?: number | undefined;
608
602
  imageUrlOverride?: string | undefined;
609
603
  imageUrlsOverride?: string | undefined;
610
604
  avatarImageUrlOverride?: string | undefined;
@@ -654,8 +648,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
654
648
  id: string;
655
649
  type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
656
650
  personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
657
- topPadding?: number | undefined;
658
- bottomPadding?: number | undefined;
659
651
  imageUrlOverride?: string | undefined;
660
652
  imageUrlsOverride?: string | undefined;
661
653
  avatarImageUrlOverride?: string | undefined;
@@ -705,8 +697,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
705
697
  id: string;
706
698
  type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
707
699
  personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
708
- topPadding?: number | undefined;
709
- bottomPadding?: number | undefined;
710
700
  imageUrlOverride?: string | undefined;
711
701
  imageUrlsOverride?: string | undefined;
712
702
  avatarImageUrlOverride?: string | undefined;
@@ -756,8 +746,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
756
746
  id: string;
757
747
  type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
758
748
  personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
759
- topPadding?: number | undefined;
760
- bottomPadding?: number | undefined;
761
749
  imageUrlOverride?: string | undefined;
762
750
  imageUrlsOverride?: string | undefined;
763
751
  avatarImageUrlOverride?: string | undefined;