@designcrowd/library.brand-page 5.12.11-ast-booking → 5.12.11

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 (120) hide show
  1. package/lib/src/{CreatedOnBrandCrowd-de-de-Cas8PeTT.js → CreatedOnBrandCrowd-de-de-B1UmWzii.js} +1 -1
  2. package/lib/src/{CreatedOnBrandCrowd-en-us-B7MbiBHY.js → CreatedOnBrandCrowd-en-us-BRK1hM-D.js} +1 -1
  3. package/lib/src/{CreatedOnBrandCrowd-es-es-Cz5-KuOu.js → CreatedOnBrandCrowd-es-es-CN_2N7lq.js} +1 -1
  4. package/lib/src/{CreatedOnBrandCrowd-fr-fr-Ck-2cfKr.js → CreatedOnBrandCrowd-fr-fr-BLLKZAU4.js} +1 -1
  5. package/lib/src/{CreatedOnBrandCrowd-pt-pt-9Q-cAf-I.js → CreatedOnBrandCrowd-pt-pt-Btsu98RA.js} +1 -1
  6. package/lib/src/{CreatedOnDcom-de-de-DsxBVWnF.js → CreatedOnDcom-de-de-t1layjdN.js} +1 -1
  7. package/lib/src/{CreatedOnDcom-en-us-B8JtMCvZ.js → CreatedOnDcom-en-us-Cgr8OWqD.js} +1 -1
  8. package/lib/src/{CreatedOnDcom-es-es-psBzGFlu.js → CreatedOnDcom-es-es-BU30p1A3.js} +1 -1
  9. package/lib/src/{CreatedOnDcom-fr-fr-CtRvvcJ8.js → CreatedOnDcom-fr-fr-0WKXggE1.js} +1 -1
  10. package/lib/src/{CreatedOnDcom-pt-pt-BHGHfKvP.js → CreatedOnDcom-pt-pt-DugorNKz.js} +1 -1
  11. package/lib/src/brand-page/components/banner-section/BannerSection.mixin.js +9 -5
  12. package/lib/src/brand-page/components/button/Button.mixin.js +2 -4
  13. package/lib/src/brand-page/models/content.model.d.ts +0 -1
  14. package/lib/src/brand-page/models/content.model.js +0 -1
  15. package/lib/src/brand-page/models/index.d.ts +0 -15
  16. package/lib/src/brand-page/utils/content-callback-util.d.ts +1 -2
  17. package/lib/src/brand-page/utils/content-callback-util.js +0 -3
  18. package/lib/src/brand-page/utils/style.util.js +1 -1
  19. package/lib/src/brand-page/utils/view-model.util.d.ts +2 -3
  20. package/lib/src/brand-page/utils/view-model.util.js +1 -24
  21. package/lib/src/brand-page/view-models.d.ts +2 -6
  22. package/lib/src/brand-page-maker/assessors/banner-section-description-visibility.assessor.d.ts +4 -4
  23. package/lib/src/brand-page-maker/assessors/banner-section-field.assessor.d.ts +4 -4
  24. package/lib/src/brand-page-maker/assessors/banner-section-field.assessor.js +2 -2
  25. package/lib/src/brand-page-maker/components/admin-logo-settings/AdminLogoSettings.mixin.d.ts +2 -2
  26. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +18 -18
  27. package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +20 -21
  28. package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.js +1 -3
  29. package/lib/src/brand-page-maker/composables/useEventTracker.d.ts +0 -2
  30. package/lib/src/brand-page-maker/composables/useEventTracker.js +0 -6
  31. package/lib/src/brand-page-maker/constants/config-settings-constant.d.ts +1 -2
  32. package/lib/src/brand-page-maker/constants/config-settings-constant.js +1 -102
  33. package/lib/src/brand-page-maker/models/content-settings-configs.d.ts +0 -1
  34. package/lib/src/brand-page-maker/models/content-settings-configs.js +0 -1
  35. package/lib/src/brand-page-maker/models/content-settings.d.ts +1 -2
  36. package/lib/src/brand-page-maker/models/content-settings.js +0 -28
  37. package/lib/src/brand-page-maker/utils/rich-text-editor.util.js +34 -32
  38. package/lib/src/brand-page-maker/validators/field.validator.js +0 -2
  39. package/lib/src/brand-page-maker/validators/section-button.validator.d.ts +3 -3
  40. package/lib/src/bundled-translations-C4LWPXSH.js +153 -0
  41. package/lib/src/{bundled-translations.de-DE-D7kUXYb_.js → bundled-translations.de-DE-gxort83w.js} +15 -15
  42. package/lib/src/{bundled-translations.es-ES-De7iUZxe.js → bundled-translations.es-ES-BuDFNpDO.js} +6 -6
  43. package/lib/src/{bundled-translations.fr-FR-BwMC0AJk.js → bundled-translations.fr-FR-B1h4iGcU.js} +23 -23
  44. package/lib/src/bundled-translations.pt-PT-DWXOT8W0.js +153 -0
  45. package/lib/src/bundles/bundled-translations.de-DE.json +1 -5
  46. package/lib/src/bundles/bundled-translations.es-ES.json +1 -5
  47. package/lib/src/bundles/bundled-translations.fr-FR.json +1 -5
  48. package/lib/src/bundles/bundled-translations.json +1 -8
  49. package/lib/src/bundles/bundled-translations.pt-PT.json +2 -6
  50. package/lib/src/composables/useTranslate.d.ts +1 -2
  51. package/lib/src/composables/useTranslate.js +1 -2
  52. package/lib/src/css/library.brand-page-brandCrowd.min.css +35 -40
  53. package/lib/src/css/library.brand-page-brandPage.min.css +35 -40
  54. package/lib/src/css/library.brand-page-designCom.min.css +35 -40
  55. package/lib/src/css/library.brand-page-preview.min.css +35 -40
  56. package/lib/src/index.mjs +175 -176
  57. package/lib/src/{lib-D7ssFj4E.js → lib-CjyTfIxl.js} +18889 -19187
  58. package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.d.ts +20 -21
  59. package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.js +1 -3
  60. package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.d.ts +21 -21
  61. package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.d.ts +20 -21
  62. package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.d.ts +18 -18
  63. package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.js +1 -1
  64. package/lib/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.d.ts +18 -18
  65. package/lib/src/shared/content-settings/store/content-settings-store.d.ts +18 -18
  66. package/lib/src/shared/font-family-selector/FontFamilySelector.mixin.js +8 -0
  67. package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +22 -23
  68. package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +20 -20
  69. package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +0 -1
  70. package/lib/src/shared/side-bar/components/SideBarTabButton.mixin.d.ts +0 -1
  71. package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +0 -1
  72. package/lib/src/shared/template-settings/components/TemplatesSettings.mixin.d.ts +0 -1
  73. package/lib/src/utils/validator.util.d.ts +0 -7
  74. package/lib/src/utils/validator.util.js +0 -7
  75. package/package.json +1 -1
  76. package/src/brand-page/components/banner-section/BannerSection.mixin.ts +14 -8
  77. package/src/brand-page/components/button/Button.mixin.ts +2 -8
  78. package/src/brand-page/components/page/PageComponent.vue +0 -2
  79. package/src/brand-page/models/content.model.ts +0 -1
  80. package/src/brand-page/models/index.ts +0 -16
  81. package/src/brand-page/utils/content-callback-util.ts +0 -7
  82. package/src/brand-page/utils/style.util.ts +1 -1
  83. package/src/brand-page/utils/view-model.util.ts +1 -41
  84. package/src/brand-page/view-models.ts +1 -10
  85. package/src/brand-page-maker/assessors/banner-section-description-visibility.assessor.ts +4 -7
  86. package/src/brand-page-maker/assessors/banner-section-field.assessor.ts +6 -9
  87. package/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.ts +1 -3
  88. package/src/brand-page-maker/components/rich-text-editor/RichTextEditor.vue +1 -1
  89. package/src/brand-page-maker/composables/useEventTracker.ts +0 -6
  90. package/src/brand-page-maker/constants/config-settings-constant.ts +0 -108
  91. package/src/brand-page-maker/models/content-settings-configs.ts +0 -1
  92. package/src/brand-page-maker/models/content-settings.ts +0 -32
  93. package/src/brand-page-maker/utils/rich-text-editor.util.ts +42 -49
  94. package/src/brand-page-maker/validators/field.validator.ts +0 -2
  95. package/src/brand-page-maker/validators/section-button.validator.ts +6 -7
  96. package/src/bundles/bundled-translations.de-DE.json +1 -5
  97. package/src/bundles/bundled-translations.es-ES.json +1 -5
  98. package/src/bundles/bundled-translations.fr-FR.json +1 -5
  99. package/src/bundles/bundled-translations.json +1 -8
  100. package/src/bundles/bundled-translations.pt-PT.json +2 -6
  101. package/src/composables/useTranslate.ts +0 -2
  102. package/src/shared/common/i18n/common.pt-PT.json +1 -1
  103. package/src/shared/content-settings/components/content-settings/ContentSettings.mixin.ts +1 -3
  104. package/src/shared/content-settings/components/content-settings/i18n/content-settings.de-DE.json +1 -5
  105. package/src/shared/content-settings/components/content-settings/i18n/content-settings.es-ES.json +1 -5
  106. package/src/shared/content-settings/components/content-settings/i18n/content-settings.fr-FR.json +1 -5
  107. package/src/shared/content-settings/components/content-settings/i18n/content-settings.json +1 -5
  108. package/src/shared/content-settings/components/content-settings/i18n/content-settings.pt-PT.json +1 -5
  109. package/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.ts +1 -1
  110. package/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.vue +0 -2
  111. package/src/shared/font-family-selector/FontFamilySelector.mixin.ts +12 -0
  112. package/src/utils/validator.util.ts +0 -18
  113. package/lib/src/bundled-translations-5b693qBQ.js +0 -155
  114. package/lib/src/bundled-translations.pt-PT-Djz2-0GC.js +0 -153
  115. package/lib/src/shared/content-settings/components/booking-url-field/BookingUrlField.mixin.d.ts +0 -6
  116. package/lib/src/shared/content-settings/components/booking-url-field/BookingUrlField.mixin.js +0 -36
  117. package/src/brand-page/components/booking-section/BookingSection.vue +0 -116
  118. package/src/shared/content-settings/components/booking-url-field/BookingUrlField.mixin.ts +0 -42
  119. package/src/shared/content-settings/components/booking-url-field/BookingUrlField.vue +0 -31
  120. package/src/shared/content-settings/components/booking-url-field/i18n/booking-url-field.json +0 -5
@@ -5,11 +5,11 @@ import type { DebounceHandle } from 'lodash.debounce';
5
5
  declare const _default: import("vue").DefineComponent<{}, {
6
6
  items: import("vue").ComputedRef<{
7
7
  id: string;
8
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
8
+ type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
9
9
  settings: {
10
10
  content: {
11
11
  id: string;
12
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
12
+ type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
13
13
  personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
14
14
  imageUrlOverride?: string | undefined;
15
15
  imageUrlsOverride?: string | undefined;
@@ -73,7 +73,7 @@ declare const _default: import("vue").DefineComponent<{}, {
73
73
  contentErrorCount(): number;
74
74
  getContent(state: {
75
75
  addContentOptions: {
76
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
76
+ type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
77
77
  category: string;
78
78
  createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => Content;
79
79
  displayName: string;
@@ -84,11 +84,11 @@ declare const _default: import("vue").DefineComponent<{}, {
84
84
  }[];
85
85
  items: {
86
86
  id: string;
87
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
87
+ type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
88
88
  settings: {
89
89
  content: {
90
90
  id: string;
91
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
91
+ type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
92
92
  personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
93
93
  imageUrlOverride?: string | undefined;
94
94
  imageUrlsOverride?: string | undefined;
@@ -122,7 +122,7 @@ declare const _default: import("vue").DefineComponent<{}, {
122
122
  } & import("pinia").PiniaCustomStateProperties<import("../../../shared/content-settings/store").ContentSettingsState>): (id: string) => Content | undefined;
123
123
  getFieldSettings(state: {
124
124
  addContentOptions: {
125
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
125
+ type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
126
126
  category: string;
127
127
  createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => Content;
128
128
  displayName: string;
@@ -133,11 +133,11 @@ declare const _default: import("vue").DefineComponent<{}, {
133
133
  }[];
134
134
  items: {
135
135
  id: string;
136
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
136
+ type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
137
137
  settings: {
138
138
  content: {
139
139
  id: string;
140
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
140
+ type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
141
141
  personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
142
142
  imageUrlOverride?: string | undefined;
143
143
  imageUrlsOverride?: string | undefined;
@@ -171,7 +171,7 @@ declare const _default: import("vue").DefineComponent<{}, {
171
171
  } & import("pinia").PiniaCustomStateProperties<import("../../../shared/content-settings/store").ContentSettingsState>): (id: string, fieldName: string) => import("../../../shared/content-settings/models").ContentItemFieldSettings | undefined;
172
172
  getItem(state: {
173
173
  addContentOptions: {
174
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
174
+ type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
175
175
  category: string;
176
176
  createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => Content;
177
177
  displayName: string;
@@ -182,11 +182,11 @@ declare const _default: import("vue").DefineComponent<{}, {
182
182
  }[];
183
183
  items: {
184
184
  id: string;
185
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
185
+ type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
186
186
  settings: {
187
187
  content: {
188
188
  id: string;
189
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
189
+ type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
190
190
  personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
191
191
  imageUrlOverride?: string | undefined;
192
192
  imageUrlsOverride?: string | undefined;
@@ -220,7 +220,7 @@ declare const _default: import("vue").DefineComponent<{}, {
220
220
  } & import("pinia").PiniaCustomStateProperties<import("../../../shared/content-settings/store").ContentSettingsState>): (id: string) => ContentItem<any> | undefined;
221
221
  getValue(state: {
222
222
  addContentOptions: {
223
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
223
+ type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
224
224
  category: string;
225
225
  createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => Content;
226
226
  displayName: string;
@@ -231,11 +231,11 @@ declare const _default: import("vue").DefineComponent<{}, {
231
231
  }[];
232
232
  items: {
233
233
  id: string;
234
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
234
+ type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
235
235
  settings: {
236
236
  content: {
237
237
  id: string;
238
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
238
+ type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
239
239
  personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
240
240
  imageUrlOverride?: string | undefined;
241
241
  imageUrlsOverride?: string | undefined;
@@ -269,7 +269,7 @@ declare const _default: import("vue").DefineComponent<{}, {
269
269
  } & import("pinia").PiniaCustomStateProperties<import("../../../shared/content-settings/store").ContentSettingsState>): (id: string, fieldName: string) => string | Content | undefined;
270
270
  getItemState(state: {
271
271
  addContentOptions: {
272
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
272
+ type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
273
273
  category: string;
274
274
  createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => Content;
275
275
  displayName: string;
@@ -280,11 +280,11 @@ declare const _default: import("vue").DefineComponent<{}, {
280
280
  }[];
281
281
  items: {
282
282
  id: string;
283
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
283
+ type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
284
284
  settings: {
285
285
  content: {
286
286
  id: string;
287
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
287
+ type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
288
288
  personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
289
289
  imageUrlOverride?: string | undefined;
290
290
  imageUrlsOverride?: string | undefined;
@@ -318,7 +318,7 @@ declare const _default: import("vue").DefineComponent<{}, {
318
318
  } & import("pinia").PiniaCustomStateProperties<import("../../../shared/content-settings/store").ContentSettingsState>): (id: string) => import("../../../shared/content-settings/models").ContentSettingsItemState;
319
319
  getItemGroupState(state: {
320
320
  addContentOptions: {
321
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
321
+ type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
322
322
  category: string;
323
323
  createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => Content;
324
324
  displayName: string;
@@ -329,11 +329,11 @@ declare const _default: import("vue").DefineComponent<{}, {
329
329
  }[];
330
330
  items: {
331
331
  id: string;
332
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
332
+ type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
333
333
  settings: {
334
334
  content: {
335
335
  id: string;
336
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
336
+ type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "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";
337
337
  personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
338
338
  imageUrlOverride?: string | undefined;
339
339
  imageUrlsOverride?: string | undefined;
@@ -988,7 +988,6 @@ declare const _default: import("vue").DefineComponent<{}, {
988
988
  sendTemplateSelectEvent: (templateId: string) => void;
989
989
  sendTemplateCategorySelectEvent: (category: string) => void;
990
990
  sendSidebarCategoryClickedEvent: (tabName: string) => void;
991
- sendAddContentContinuationEvent: (continuation: string) => void;
992
991
  };
993
992
  externalEditor: import("@tiptap/vue-3").Editor;
994
993
  styleSettingsStore: import("pinia").Store<"uiStyleSettings", import("../../../shared/style-settings/store").StyleSettingsState, {
@@ -205,9 +205,7 @@ export default defineComponent({
205
205
  this.isHeaderSelected = false;
206
206
  this.isFooterSelected = false;
207
207
  this.isContentSelected = true;
208
- if ((item.type === 'banner-section' ||
209
- item.type === 'booking-section' ||
210
- item.type === 'text') &&
208
+ if ((item.type === 'banner-section' || item.type === 'text') &&
211
209
  this.canUseRichTextEditor) {
212
210
  let selectedItem = item;
213
211
  if (this.isAdmin) {
@@ -37,7 +37,6 @@ export declare const EVENTS: {
37
37
  WEBSITE_MAKER_HYPERLINK_REMOVE: string;
38
38
  WEBSITE_MAKER_HYPERLINK_CLICK: string;
39
39
  WEBSITE_MAKER_HYPERLINK_EDIT: string;
40
- WEBSITE_MAKER_CALENDLY_LINK_CLICKED: string;
41
40
  };
42
41
  export declare const SELECT_LOCATIONS: {
43
42
  MAKER_PREVIEW: string;
@@ -92,6 +91,5 @@ declare const useEventTracker: () => {
92
91
  sendTemplateSelectEvent: (templateId: string) => void;
93
92
  sendTemplateCategorySelectEvent: (category: string) => void;
94
93
  sendSidebarCategoryClickedEvent: (tabName: string) => void;
95
- sendAddContentContinuationEvent: (continuation: string) => void;
96
94
  };
97
95
  export { useEventTracker };
@@ -20,7 +20,6 @@ export const EVENTS = {
20
20
  WEBSITE_MAKER_HYPERLINK_REMOVE: 'website_maker_hyperlink_remove',
21
21
  WEBSITE_MAKER_HYPERLINK_CLICK: 'website_maker_hyperlink_click',
22
22
  WEBSITE_MAKER_HYPERLINK_EDIT: 'website_maker_hyperlink_edit',
23
- WEBSITE_MAKER_CALENDLY_LINK_CLICKED: 'website_maker_calendly_link_clicked',
24
23
  };
25
24
  export const SELECT_LOCATIONS = {
26
25
  MAKER_PREVIEW: 'maker_preview',
@@ -177,11 +176,6 @@ const useEventTracker = () => {
177
176
  sidebar_category_tab_name: tabName,
178
177
  });
179
178
  },
180
- sendAddContentContinuationEvent: (continuation) => {
181
- _publishEvent(EVENTS.WEBSITE_MAKER_ADD_CONTENT, {
182
- continuation,
183
- });
184
- },
185
179
  };
186
180
  };
187
181
  export { useEventTracker };
@@ -1,4 +1,4 @@
1
- import type { LogoContent, FacebookContent, GeneralLinkContent, PhoneContent, EmailContent, ImageContent, InstagramContent, LinkedInContent, PinterestContent, ProfileContent, TextContent, TiktokContent, TwitchContent, TwitterContent, VideoContent, WebsiteContent, YoutubeContent, ContentType, MapContent, ImageGalleryContent, MailingListContent, RequestPaymentContent, SupportMeContent, ContactFormContent, BannerSectionContent, SocialLinksContent, ImagesSectionContent, TestimonialSectionContent, AboutSectionContent, DividerSectionContent, ShapesSectionContent, ShopContent, BookingSectionContent } from '../../brand-page';
1
+ import type { LogoContent, FacebookContent, GeneralLinkContent, PhoneContent, EmailContent, ImageContent, InstagramContent, LinkedInContent, PinterestContent, ProfileContent, TextContent, TiktokContent, TwitchContent, TwitterContent, VideoContent, WebsiteContent, YoutubeContent, ContentType, MapContent, ImageGalleryContent, MailingListContent, RequestPaymentContent, SupportMeContent, ContactFormContent, BannerSectionContent, SocialLinksContent, ImagesSectionContent, TestimonialSectionContent, AboutSectionContent, DividerSectionContent, ShapesSectionContent, ShopContent } from '../../brand-page';
2
2
  import type { ContentSettingsConfig, ContentSettingsField, ContentSettingsMultiField } from '../models';
3
3
  export declare const LOGO_SETTINGS_CONFIG: () => ContentSettingsConfig<Omit<LogoContent, 'version' | 'logoVariation' | 'logoImageHeight' | 'logoImageWidth' | 'logoLastUpdate' | 'logoImageBase64Url'>>;
4
4
  export declare const GENERAL_LINK_CONTENT_SETTINGS_CONFIG: () => ContentSettingsConfig<GeneralLinkContent>;
@@ -47,5 +47,4 @@ export declare const SHAPES_SECTION_SETTINGS_CONFIG: () => ContentSettingsConfig
47
47
  export declare const SHOP_SECTION_SETTINGS_CONFIG: () => ContentSettingsConfig<ShopContent, {
48
48
  paymentConfig: any;
49
49
  }>;
50
- export declare const BOOKING_SECTION_SETTINGS_CONFIG: () => ContentSettingsConfig<BookingSectionContent>;
51
50
  export declare const CONTENT_SETTINGS_CONFIGS: () => Record<ContentType, ContentSettingsConfig<any>>;
@@ -1,5 +1,5 @@
1
1
  import { SOCIAL_LINKS_ICON_DISPLAY_STYLES, BRAND_PAGE_TYPES, DIVIDER_STYLES, MEDIA_TYPES, BUTTON_LINK_TYPE, FONT_SIZE_BODY, LINE_HEIGHT_BODY, MIN_TEXT_SIZE_PX, MAX_TEXT_SIZE_PX, TEXT_COLUMNS, DEFAULT_SHAPE_SIZE, PAYMENT_OPTION_DISPLAY_TYPES, PAYMENT_OPTION_IMAGE_TYPES, } from '../../brand-page';
2
- import { createInitialButtonContent, createInitialImageContent, createInitialProfileContent, createInitialTextContent, createInitialVideoContent, createInitialLogoContent, createInitialMapContent, createInitialImageGalleryContent, createInitialGeneralLinkContent, createInitialMailingListContent, createInitialRequestPaymentContent, createInitialSupportMeContent, createInitialContactFormContent, CONTENT_SETTINGS_DISPLAY_MODES, createInitialBannerSectionContent, createInitialSocialLinksContent, createInitialImagesSectionContent, createInitialTestimonialSectionContent, createInitialAboutSectionContent, createInitialDividerSectionContent, createInitialShapesSectionContent, VARIANT_DISPLAY_MODES, createInitialShopContent, createInitialBookingSectionContent, } from '../models';
2
+ import { createInitialButtonContent, createInitialImageContent, createInitialProfileContent, createInitialTextContent, createInitialVideoContent, createInitialLogoContent, createInitialMapContent, createInitialImageGalleryContent, createInitialGeneralLinkContent, createInitialMailingListContent, createInitialRequestPaymentContent, createInitialSupportMeContent, createInitialContactFormContent, CONTENT_SETTINGS_DISPLAY_MODES, createInitialBannerSectionContent, createInitialSocialLinksContent, createInitialImagesSectionContent, createInitialTestimonialSectionContent, createInitialAboutSectionContent, createInitialDividerSectionContent, createInitialShapesSectionContent, VARIANT_DISPLAY_MODES, createInitialShopContent, } from '../models';
3
3
  import { colorConvertor, backgroundColorConvertor, borderColorConvertor, displayStyleConvertor, galleryTypeConvertor, imageAspectRatioConvertor, textAlignmentOptionsConvertor, videoContentStateConvertor, fillColorConvertor, bannerAlignDisplayStyleConvertor, aboutDisplayStyleConvertor, dividerStyleConvertor, shapeSizeOptionsConvertor, buttonLinkStyleConvertor, textSizeValueConvertor, textColumnStyleConvertor, contactLayoutStyleConvertor, paymentLinkDisplayStyleConvertor, shopDisplayConvertor, shopAspectRatioConvertor, } from '../convertors';
4
4
  import { ALIGN_CENTERED, DISPLAY_STYLE_COLLAPSED, DISPLAY_STYLE_PREVIEW, } from '../../brand-page';
5
5
  import { imageFieldVisibilityAssessor, imageOptionVisibilityAssessor, imageGalleryFieldVisibilityAssessor, cardFillVisibilityAssessor, mediaSectionItemsFieldTypeAssessor, dividerToggleFieldVisibilityAssessor, shapeSectionItemsFieldTypeAssessor, colorReplacementVisibilityTypeAssessor, colorReplacementProfileVisibilityTypeAssessor, colorReplacementIconVisibilityTypeAssessor, imagesSectionCardStyleVisibilityAssessor, contactBackgroundDisplayTypeVisibilityAssessor, contactCardDisplayTypeVisibilityAssessor, imageUrlVisibilityAssessor, displayTypeVisibilityAssessor, logoFieldVisibilityAssessor, shapesSectionCardStyleVisibilityAssessor, shopImageOptionVisibilityAssessor, shopItemColorVisibility, personalisationOverrideVisibility, } from '../assessors';
@@ -2560,106 +2560,6 @@ export const SHOP_SECTION_SETTINGS_CONFIG = () => ({
2560
2560
  isLocked: false,
2561
2561
  type: 'shop-section',
2562
2562
  });
2563
- export const BOOKING_SECTION_SETTINGS_CONFIG = () => ({
2564
- type: 'booking-section',
2565
- category: 'general',
2566
- createInitialContent: createInitialBookingSectionContent,
2567
- displayMode: CONTENT_SETTINGS_DISPLAY_MODES.focused,
2568
- defaultIconName: 'calendar',
2569
- displayName: contentSettingsTr(`bookingSectionDisplayName`),
2570
- fieldGroups: [
2571
- {
2572
- id: SETTINGS_STYLE_FIELD_GROUP_IDS.settings,
2573
- displayName: contentSettingsTr(`settingsDisplayName`),
2574
- isCollapsed: false,
2575
- },
2576
- {
2577
- id: SETTINGS_STYLE_FIELD_GROUP_IDS.style,
2578
- displayName: contentSettingsTr(`styleDisplayName`),
2579
- isCollapsed: true,
2580
- },
2581
- ],
2582
- fields: {
2583
- titleStyle: DEFAULT_TITLE_STYLE_SETTINGS_FILED_WITH_TITLE(),
2584
- descriptionStyle: DEFAULT_DESCRIPTION_STYLE_FILED(),
2585
- buttonTextStyle: DEFAULT_BUTTON_TEXT_STYLE_FIELD(),
2586
- title: {
2587
- type: 'text',
2588
- placeholder: contentSettingsTr(`titlePlaceholder`),
2589
- title: contentSettingsTr(`titleTitle`),
2590
- groupId: SETTINGS_STYLE_FIELD_GROUP_IDS.settings,
2591
- maxLength: 200,
2592
- },
2593
- titleOverride: {
2594
- type: 'personalisation-override',
2595
- groupId: SETTINGS_STYLE_FIELD_GROUP_IDS.settings,
2596
- visibilityAssessor: (c, b) => personalisationOverrideVisibility(c, b, 'title'),
2597
- },
2598
- description: {
2599
- type: 'textarea',
2600
- placeholder: contentSettingsTr(`descriptionPlaceholder`),
2601
- title: contentSettingsTr(`descriptionTitle`),
2602
- groupId: SETTINGS_STYLE_FIELD_GROUP_IDS.settings,
2603
- maxLength: 1000,
2604
- },
2605
- descriptionOverride: {
2606
- type: 'personalisation-override',
2607
- groupId: SETTINGS_STYLE_FIELD_GROUP_IDS.settings,
2608
- visibilityAssessor: (c, b) => personalisationOverrideVisibility(c, b, 'description'),
2609
- },
2610
- buttonText: {
2611
- type: 'text',
2612
- placeholder: contentSettingsTr(`getStartedPlaceholder`),
2613
- title: contentSettingsTr(`buttonTitle`),
2614
- showToggle: true,
2615
- groupId: SETTINGS_STYLE_FIELD_GROUP_IDS.settings,
2616
- maxLength: 60,
2617
- },
2618
- buttonTextOverride: {
2619
- type: 'personalisation-override',
2620
- groupId: SETTINGS_STYLE_FIELD_GROUP_IDS.settings,
2621
- visibilityAssessor: (c, b) => personalisationOverrideVisibility(c, b, 'buttonText'),
2622
- },
2623
- backgroundStyle: {
2624
- type: 'color',
2625
- groupId: SETTINGS_STYLE_FIELD_GROUP_IDS.style,
2626
- defaultValue: {},
2627
- isInline: true,
2628
- showToggle: false,
2629
- title: contentSettingsTr(`backgroundColorTitle`),
2630
- valueConvertor: backgroundColorConvertor,
2631
- },
2632
- buttonLinkType: {
2633
- type: 'radio',
2634
- role: 'multi',
2635
- defaultValue: BUTTON_LINK_TYPE.url,
2636
- title: contentSettingsTr(`buttonLinkTitle`),
2637
- groupId: SETTINGS_STYLE_FIELD_GROUP_IDS.settings,
2638
- optionsConvertor: buttonLinkStyleConvertor,
2639
- visibilityAssessor: bannerLinkTypeVisibilityAssessor,
2640
- },
2641
- pageSlug: {
2642
- type: 'page-dropdown',
2643
- placeholder: contentSettingsTr(`selectAPagePlaceholder`),
2644
- groupId: SETTINGS_STYLE_FIELD_GROUP_IDS.settings,
2645
- visibilityAssessor: bannerSectionPageVisibilityAssessor,
2646
- validator: pageValidator,
2647
- defaultValue: '',
2648
- },
2649
- url: {
2650
- type: 'booking-url',
2651
- groupId: SETTINGS_STYLE_FIELD_GROUP_IDS.settings,
2652
- fieldTypeAssessor: bannerSectionFieldTypeAssessor,
2653
- roleAssessor: bannerSectionRoleTypeAssessor,
2654
- placeholderAssessor: bannerPlaceholderFieldTypeAssessor,
2655
- visibilityAssessor: bannerSectionUrlVisibilityAssessor,
2656
- validator: urlValidator,
2657
- defaultValue: '',
2658
- },
2659
- },
2660
- isEnabled: true,
2661
- isLocked: false,
2662
- });
2663
2563
  export const CONTENT_SETTINGS_CONFIGS = () => ({
2664
2564
  logo: LOGO_SETTINGS_CONFIG(),
2665
2565
  'general-link': GENERAL_LINK_CONTENT_SETTINGS_CONFIG(),
@@ -2692,5 +2592,4 @@ export const CONTENT_SETTINGS_CONFIGS = () => ({
2692
2592
  'divider-section': DIVIDER_SECTION_SETTINGS_CONFIG(),
2693
2593
  'shapes-section': SHAPES_SECTION_SETTINGS_CONFIG(),
2694
2594
  'shop-section': SHOP_SECTION_SETTINGS_CONFIG(),
2695
- 'booking-section': BOOKING_SECTION_SETTINGS_CONFIG(),
2696
2595
  });
@@ -33,7 +33,6 @@ export declare const ITEM_FIELD_TYPES: {
33
33
  readonly 'text-style': "text-style";
34
34
  readonly title: "title";
35
35
  readonly url: "url";
36
- readonly 'booking-url': "booking-url";
37
36
  readonly 'youtube-video': "youtube-video";
38
37
  readonly radio: "radio";
39
38
  readonly 'request-payment-config': "request-payment-config";
@@ -36,7 +36,6 @@ export const ITEM_FIELD_TYPES = {
36
36
  'text-style': 'text-style',
37
37
  title: 'title',
38
38
  url: 'url',
39
- 'booking-url': 'booking-url',
40
39
  'youtube-video': 'youtube-video',
41
40
  radio: 'radio',
42
41
  'request-payment-config': 'request-payment-config',
@@ -1,5 +1,5 @@
1
1
  import { BrandPageModel } from '../../brand-page';
2
- import type { ButtonContent, ContentType, ImageContent, ProfileContent, TextContent, VideoContent, LogoContent, LogoTheme, MapContent, ImageGalleryContent, GeneralLinkContent, MailingListContent, RequestPaymentContent, ContactFormContent, BannerSectionContent, SocialLinksContent, ImagesSectionContent, TestimonialSectionContent, AboutSectionContent, DividerSectionContent, ShapesSectionContent, BrandPageType, SupportMeContent, ShopContent, BookingSectionContent } from '../../brand-page';
2
+ import type { ButtonContent, ContentType, ImageContent, ProfileContent, TextContent, VideoContent, LogoContent, LogoTheme, MapContent, ImageGalleryContent, GeneralLinkContent, MailingListContent, RequestPaymentContent, ContactFormContent, BannerSectionContent, SocialLinksContent, ImagesSectionContent, TestimonialSectionContent, AboutSectionContent, DividerSectionContent, ShapesSectionContent, BrandPageType, SupportMeContent, ShopContent } from '../../brand-page';
3
3
  import type { CreateInitialContentFunction } from './content-settings-configs';
4
4
  import type { CreateInitialContentOptions } from '../../shared/content-settings/models';
5
5
  export declare const createInitialButtonContent: (type: ContentType, iconUrl: string, options?: CreateInitialContentOptions) => () => ButtonContent;
@@ -17,7 +17,6 @@ export declare const createInitialShopContent: (options?: CreateInitialContentOp
17
17
  export declare const createInitialSupportMeContent: (options?: CreateInitialContentOptions) => SupportMeContent;
18
18
  export declare const createInitialContactFormContent: CreateInitialContentFunction<ContactFormContent>;
19
19
  export declare const createInitialBannerSectionContent: CreateInitialContentFunction<BannerSectionContent>;
20
- export declare const createInitialBookingSectionContent: CreateInitialContentFunction<BookingSectionContent>;
21
20
  export declare const createInitialImagesSectionContent: CreateInitialContentFunction<ImagesSectionContent>;
22
21
  export declare const createInitialTestimonialSectionContent: CreateInitialContentFunction<TestimonialSectionContent>;
23
22
  export declare const createInitialAboutSectionContent: CreateInitialContentFunction<AboutSectionContent>;
@@ -418,34 +418,6 @@ export const createInitialBannerSectionContent = (options) => {
418
418
  overlayOpacity: 50,
419
419
  };
420
420
  };
421
- export const createInitialBookingSectionContent = (options) => {
422
- return {
423
- id: uuid.v4(),
424
- title: contentSettingsTr(`defaultBookingTitle`),
425
- description: contentSettingsTr(`defaultBookingDescription`),
426
- buttonText: contentSettingsTr(`bookNowLabel`),
427
- url: '',
428
- type: 'booking-section',
429
- descriptionStyle: {
430
- applyAutoScale: options?.brandPageType === BRAND_PAGE_TYPES.brandSite,
431
- textStyleType: TEXT_STYLE_TYPES.paragraphs,
432
- textAlign: 'center',
433
- },
434
- titleStyle: {
435
- applyAutoScale: options?.brandPageType === BRAND_PAGE_TYPES.brandSite,
436
- textStyleType: TEXT_STYLE_TYPES.titles,
437
- textAlign: 'center',
438
- },
439
- backgroundStyle: {},
440
- pageSlug: '',
441
- buttonLinkType: BUTTON_LINK_TYPE.url,
442
- buttonTextStyle: {
443
- applyAutoScale: options?.brandPageType === BRAND_PAGE_TYPES.brandSite,
444
- textStyleType: TEXT_STYLE_TYPES.buttons,
445
- textAlign: 'center',
446
- },
447
- };
448
- };
449
421
  export const createInitialImagesSectionContent = (options) => {
450
422
  return {
451
423
  id: uuid.v4(),
@@ -126,10 +126,10 @@ export const transformToRTE = (uiPageSettingStore, externalEditor, uiStyleSettin
126
126
  for (const contentItem of page.contents) {
127
127
  switch (contentItem.type) {
128
128
  case 'banner-section':
129
- case 'booking-section':
130
- const sectionContent = contentItem.settings.content;
131
- const titleTextStyleType = sectionContent.titleStyle.textStyleType;
132
- const descriptionTextStyleType = sectionContent.descriptionStyle.textStyleType;
129
+ const bannerContent = contentItem.settings
130
+ .content;
131
+ const titleTextStyleType = bannerContent.titleStyle.textStyleType;
132
+ const descriptionTextStyleType = bannerContent.descriptionStyle.textStyleType;
133
133
  if (titleTextStyleType &&
134
134
  (titleTextStyleType === type || uiStyleSettingsStore)) {
135
135
  let globalContentStyle = uiStyleSettingsStore
@@ -137,16 +137,17 @@ export const transformToRTE = (uiPageSettingStore, externalEditor, uiStyleSettin
137
137
  : newStyle ?? {};
138
138
  globalContentStyle = {
139
139
  ...globalContentStyle,
140
- textAlign: sectionContent.titleStyle.textAlign,
140
+ textAlign: bannerContent.titleStyle.textAlign,
141
141
  };
142
- sectionContent.title = getUpdatedHTMLFromEditor(externalEditor, sectionContent.title, globalContentStyle);
142
+ bannerContent.title = getUpdatedHTMLFromEditor(externalEditor, bannerContent.title, globalContentStyle);
143
143
  }
144
144
  else if (!titleTextStyleType &&
145
145
  newContent &&
146
- newContent.id === sectionContent.id &&
147
- !hasRTEContent(sectionContent.title)) {
148
- const newContentStyle = newContent.titleStyle;
149
- sectionContent.title = getUpdatedHTMLFromEditor(externalEditor, sectionContent.title, newContentStyle);
146
+ newContent.id === bannerContent.id &&
147
+ !hasRTEContent(bannerContent.title)) {
148
+ const newContentStyle = newContent
149
+ .titleStyle;
150
+ bannerContent.title = getUpdatedHTMLFromEditor(externalEditor, bannerContent.title, newContentStyle);
150
151
  }
151
152
  if (descriptionTextStyleType &&
152
153
  (descriptionTextStyleType === type || uiStyleSettingsStore)) {
@@ -155,16 +156,17 @@ export const transformToRTE = (uiPageSettingStore, externalEditor, uiStyleSettin
155
156
  : newStyle ?? {};
156
157
  globalContentStyle = {
157
158
  ...globalContentStyle,
158
- textAlign: sectionContent.descriptionStyle.textAlign,
159
+ textAlign: bannerContent.descriptionStyle.textAlign,
159
160
  };
160
- sectionContent.description = getUpdatedHTMLFromEditor(externalEditor, sectionContent.description, globalContentStyle);
161
+ bannerContent.description = getUpdatedHTMLFromEditor(externalEditor, bannerContent.description, globalContentStyle);
161
162
  }
162
163
  else if (!descriptionTextStyleType &&
163
164
  newContent &&
164
- newContent.id === sectionContent.id &&
165
- !hasRTEContent(sectionContent.description)) {
166
- const newContentStyle = newContent.descriptionStyle;
167
- sectionContent.description = getUpdatedHTMLFromEditor(externalEditor, sectionContent.description, newContentStyle);
165
+ newContent.id === bannerContent.id &&
166
+ !hasRTEContent(bannerContent.description)) {
167
+ const newContentStyle = newContent
168
+ .descriptionStyle;
169
+ bannerContent.description = getUpdatedHTMLFromEditor(externalEditor, bannerContent.description, newContentStyle);
168
170
  }
169
171
  break;
170
172
  case 'text':
@@ -225,25 +227,25 @@ export const switchAllContentToRTE = (uiPageSettingStore, externalEditor, uiStyl
225
227
  for (const contentItem of page.contents) {
226
228
  switch (contentItem.type) {
227
229
  case 'banner-section':
228
- case 'booking-section':
229
- const sectionContent = contentItem.settings.content;
230
- const titleTextStyleType = sectionContent.titleStyle.textStyleType;
231
- const descriptionTextStyleType = sectionContent.descriptionStyle.textStyleType;
230
+ const bannerContent = contentItem.settings
231
+ .content;
232
+ const titleTextStyleType = bannerContent.titleStyle.textStyleType;
233
+ const descriptionTextStyleType = bannerContent.descriptionStyle.textStyleType;
232
234
  if (titleTextStyleType && uiStyleSettingsStore) {
233
235
  let globalContentStyle = uiStyleSettingsStore.textStyles
234
236
  .textStyleOptions[titleTextStyleType]
235
237
  .style;
236
238
  globalContentStyle = {
237
239
  ...globalContentStyle,
238
- textAlign: sectionContent.titleStyle.textAlign,
240
+ textAlign: bannerContent.titleStyle.textAlign,
239
241
  };
240
- if (!hasRTEContent(sectionContent.title))
241
- sectionContent.title = getUpdatedHTMLFromEditor(externalEditor, sectionContent.title, globalContentStyle);
242
+ if (!hasRTEContent(bannerContent.title))
243
+ bannerContent.title = getUpdatedHTMLFromEditor(externalEditor, bannerContent.title, globalContentStyle);
242
244
  }
243
245
  else if (!titleTextStyleType &&
244
- !hasRTEContent(sectionContent.title)) {
245
- const newContentStyle = sectionContent.titleStyle;
246
- sectionContent.title = getUpdatedHTMLFromEditor(externalEditor, sectionContent.title, newContentStyle);
246
+ !hasRTEContent(bannerContent.title)) {
247
+ const newContentStyle = bannerContent.titleStyle;
248
+ bannerContent.title = getUpdatedHTMLFromEditor(externalEditor, bannerContent.title, newContentStyle);
247
249
  }
248
250
  if (descriptionTextStyleType && uiStyleSettingsStore) {
249
251
  let globalContentStyle = uiStyleSettingsStore.textStyles
@@ -251,15 +253,15 @@ export const switchAllContentToRTE = (uiPageSettingStore, externalEditor, uiStyl
251
253
  .style;
252
254
  globalContentStyle = {
253
255
  ...globalContentStyle,
254
- textAlign: sectionContent.descriptionStyle.textAlign,
256
+ textAlign: bannerContent.descriptionStyle.textAlign,
255
257
  };
256
- if (!hasRTEContent(sectionContent.description))
257
- sectionContent.description = getUpdatedHTMLFromEditor(externalEditor, sectionContent.description, globalContentStyle);
258
+ if (!hasRTEContent(bannerContent.description))
259
+ bannerContent.description = getUpdatedHTMLFromEditor(externalEditor, bannerContent.description, globalContentStyle);
258
260
  }
259
261
  else if (!descriptionTextStyleType &&
260
- !hasRTEContent(sectionContent.description)) {
261
- const newContentStyle = sectionContent.descriptionStyle;
262
- sectionContent.description = getUpdatedHTMLFromEditor(externalEditor, sectionContent.description, newContentStyle);
262
+ !hasRTEContent(bannerContent.description)) {
263
+ const newContentStyle = bannerContent.descriptionStyle;
264
+ bannerContent.description = getUpdatedHTMLFromEditor(externalEditor, bannerContent.description, newContentStyle);
263
265
  }
264
266
  break;
265
267
  case 'text':
@@ -136,7 +136,6 @@ export const validatorDict = {
136
136
  'logo-selection': dummyValidator,
137
137
  'logo-size-slider': dummyValidator,
138
138
  'personalisation-override': dummyValidator,
139
- 'booking-url': dummyValidator,
140
139
  };
141
140
  export const adminValidatorsDict = {
142
141
  address: dummyValidator,
@@ -178,5 +177,4 @@ export const adminValidatorsDict = {
178
177
  'logo-selection': dummyValidator,
179
178
  'logo-size-slider': dummyValidator,
180
179
  'personalisation-override': dummyValidator,
181
- 'booking-url': dummyValidator,
182
180
  };
@@ -1,5 +1,5 @@
1
- import { type BannerSectionContent, type BookingSectionContent } from '../../brand-page/models';
1
+ import { type BannerSectionContent } from '../../brand-page/models';
2
2
  import type { ContentValidator } from '../models';
3
3
  export declare const textValidator: ContentValidator<BannerSectionContent>;
4
- export declare const urlValidator: ContentValidator<BannerSectionContent | BookingSectionContent>;
5
- export declare const pageValidator: ContentValidator<BannerSectionContent | BookingSectionContent>;
4
+ export declare const urlValidator: ContentValidator<BannerSectionContent>;
5
+ export declare const pageValidator: ContentValidator<BannerSectionContent>;