@designcrowd/library.brand-page 5.12.10 → 5.12.11-ast-booking
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.
- package/lib/src/{CreatedOnBrandCrowd-de-de-D3t60Z73.js → CreatedOnBrandCrowd-de-de-Cas8PeTT.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-Cewj15yq.js → CreatedOnBrandCrowd-en-us-B7MbiBHY.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-Bw58VPNx.js → CreatedOnBrandCrowd-es-es-Cz5-KuOu.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-CxSCS2cD.js → CreatedOnBrandCrowd-fr-fr-Ck-2cfKr.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-DA6ISEa6.js → CreatedOnBrandCrowd-pt-pt-9Q-cAf-I.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-BCc5tNd0.js → CreatedOnDcom-de-de-DsxBVWnF.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-B81q6Uaf.js → CreatedOnDcom-en-us-B8JtMCvZ.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-9BUXweOj.js → CreatedOnDcom-es-es-psBzGFlu.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-Du01yNDg.js → CreatedOnDcom-fr-fr-CtRvvcJ8.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-CdiSwYCz.js → CreatedOnDcom-pt-pt-BHGHfKvP.js} +1 -1
- package/lib/src/brand-page/components/background-shape/BackgroundShape.mixin.d.ts +3 -1
- package/lib/src/brand-page/components/background-shape/BackgroundShape.mixin.js +49 -8
- package/lib/src/brand-page/components/banner-section/BannerSection.mixin.js +5 -9
- package/lib/src/brand-page/components/button/Button.mixin.js +4 -2
- package/lib/src/brand-page/components/media/Shape.mixin.d.ts +3 -2
- package/lib/src/brand-page/components/media/Shape.mixin.js +44 -11
- package/lib/src/brand-page/models/content.model.d.ts +1 -0
- package/lib/src/brand-page/models/content.model.js +1 -0
- package/lib/src/brand-page/models/index.d.ts +15 -0
- package/lib/src/brand-page/utils/content-callback-util.d.ts +2 -1
- package/lib/src/brand-page/utils/content-callback-util.js +3 -0
- package/lib/src/brand-page/utils/style.util.js +1 -1
- package/lib/src/brand-page/utils/svg.util.d.ts +1 -0
- package/lib/src/brand-page/utils/svg.util.js +3 -0
- package/lib/src/brand-page/utils/view-model.util.d.ts +3 -2
- package/lib/src/brand-page/utils/view-model.util.js +24 -1
- package/lib/src/brand-page/view-models.d.ts +6 -2
- package/lib/src/brand-page-maker/assessors/banner-section-description-visibility.assessor.d.ts +4 -4
- package/lib/src/brand-page-maker/assessors/banner-section-field.assessor.d.ts +4 -4
- package/lib/src/brand-page-maker/assessors/banner-section-field.assessor.js +2 -2
- package/lib/src/brand-page-maker/components/admin-logo-settings/AdminLogoSettings.mixin.d.ts +2 -2
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +18 -18
- package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +21 -20
- package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.js +3 -1
- package/lib/src/brand-page-maker/composables/useEventTracker.d.ts +2 -0
- package/lib/src/brand-page-maker/composables/useEventTracker.js +6 -0
- package/lib/src/brand-page-maker/constants/config-settings-constant.d.ts +2 -1
- package/lib/src/brand-page-maker/constants/config-settings-constant.js +102 -1
- package/lib/src/brand-page-maker/models/content-settings-configs.d.ts +1 -0
- package/lib/src/brand-page-maker/models/content-settings-configs.js +1 -0
- package/lib/src/brand-page-maker/models/content-settings.d.ts +2 -1
- package/lib/src/brand-page-maker/models/content-settings.js +28 -0
- package/lib/src/brand-page-maker/utils/rich-text-editor.util.js +32 -34
- package/lib/src/brand-page-maker/validators/field.validator.js +2 -0
- package/lib/src/brand-page-maker/validators/section-button.validator.d.ts +3 -3
- package/lib/src/bundled-translations-5b693qBQ.js +155 -0
- package/lib/src/{bundled-translations.de-DE-gxort83w.js → bundled-translations.de-DE-D7kUXYb_.js} +15 -15
- package/lib/src/{bundled-translations.es-ES-BuDFNpDO.js → bundled-translations.es-ES-De7iUZxe.js} +6 -6
- package/lib/src/{bundled-translations.fr-FR-B1h4iGcU.js → bundled-translations.fr-FR-BwMC0AJk.js} +23 -23
- package/lib/src/bundled-translations.pt-PT-Djz2-0GC.js +153 -0
- package/lib/src/bundles/bundled-translations.de-DE.json +5 -1
- package/lib/src/bundles/bundled-translations.es-ES.json +5 -1
- package/lib/src/bundles/bundled-translations.fr-FR.json +5 -1
- package/lib/src/bundles/bundled-translations.json +8 -1
- package/lib/src/bundles/bundled-translations.pt-PT.json +6 -2
- package/lib/src/composables/useTranslate.d.ts +2 -1
- package/lib/src/composables/useTranslate.js +2 -1
- package/lib/src/css/library.brand-page-brandCrowd.min.css +45 -40
- package/lib/src/css/library.brand-page-brandPage.min.css +45 -40
- package/lib/src/css/library.brand-page-designCom.min.css +45 -40
- package/lib/src/css/library.brand-page-preview.min.css +45 -40
- package/lib/src/index.mjs +176 -175
- package/lib/src/{lib-B-mA_0dk.js → lib-D7ssFj4E.js} +19931 -19617
- package/lib/src/shared/content-settings/components/booking-url-field/BookingUrlField.mixin.d.ts +6 -0
- package/lib/src/shared/content-settings/components/booking-url-field/BookingUrlField.mixin.js +36 -0
- package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.d.ts +21 -20
- package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.js +3 -1
- package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.d.ts +21 -21
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.d.ts +21 -20
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.d.ts +18 -18
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.js +1 -1
- package/lib/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.d.ts +18 -18
- package/lib/src/shared/content-settings/store/content-settings-store.d.ts +18 -18
- package/lib/src/shared/font-family-selector/FontFamilySelector.mixin.js +0 -8
- package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +23 -22
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +20 -20
- package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +1 -0
- package/lib/src/shared/side-bar/components/SideBarTabButton.mixin.d.ts +1 -0
- package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +1 -0
- package/lib/src/shared/template-settings/components/TemplatesSettings.mixin.d.ts +1 -0
- package/lib/src/utils/validator.util.d.ts +7 -0
- package/lib/src/utils/validator.util.js +7 -0
- package/package.json +1 -1
- package/src/brand-page/components/background-shape/BackgroundShape.mixin.ts +64 -12
- package/src/brand-page/components/background-shape/BackgroundShape.vue +2 -12
- package/src/brand-page/components/banner-section/BannerSection.mixin.ts +8 -14
- package/src/brand-page/components/booking-section/BookingSection.vue +116 -0
- package/src/brand-page/components/button/Button.mixin.ts +8 -2
- package/src/brand-page/components/media/Shape.mixin.ts +56 -17
- package/src/brand-page/components/media/Shape.vue +0 -7
- package/src/brand-page/components/page/PageComponent.vue +2 -0
- package/src/brand-page/models/content.model.ts +1 -0
- package/src/brand-page/models/index.ts +16 -0
- package/src/brand-page/utils/content-callback-util.ts +7 -0
- package/src/brand-page/utils/style.util.ts +1 -1
- package/src/brand-page/utils/svg.util.ts +4 -0
- package/src/brand-page/utils/view-model.util.ts +41 -1
- package/src/brand-page/view-models.ts +10 -1
- package/src/brand-page-maker/assessors/banner-section-description-visibility.assessor.ts +7 -4
- package/src/brand-page-maker/assessors/banner-section-field.assessor.ts +9 -6
- package/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.ts +3 -1
- package/src/brand-page-maker/components/rich-text-editor/RichTextEditor.vue +1 -1
- package/src/brand-page-maker/composables/useEventTracker.ts +6 -0
- package/src/brand-page-maker/constants/config-settings-constant.ts +108 -0
- package/src/brand-page-maker/models/content-settings-configs.ts +1 -0
- package/src/brand-page-maker/models/content-settings.ts +32 -0
- package/src/brand-page-maker/utils/rich-text-editor.util.ts +49 -42
- package/src/brand-page-maker/validators/field.validator.ts +2 -0
- package/src/brand-page-maker/validators/section-button.validator.ts +7 -6
- package/src/bundles/bundled-translations.de-DE.json +5 -1
- package/src/bundles/bundled-translations.es-ES.json +5 -1
- package/src/bundles/bundled-translations.fr-FR.json +5 -1
- package/src/bundles/bundled-translations.json +8 -1
- package/src/bundles/bundled-translations.pt-PT.json +6 -2
- package/src/composables/useTranslate.ts +2 -0
- package/src/shared/common/i18n/common.pt-PT.json +1 -1
- package/src/shared/content-settings/components/booking-url-field/BookingUrlField.mixin.ts +42 -0
- package/src/shared/content-settings/components/booking-url-field/BookingUrlField.vue +31 -0
- package/src/shared/content-settings/components/booking-url-field/i18n/booking-url-field.json +5 -0
- package/src/shared/content-settings/components/content-settings/ContentSettings.mixin.ts +3 -1
- package/src/shared/content-settings/components/content-settings/i18n/content-settings.de-DE.json +5 -1
- package/src/shared/content-settings/components/content-settings/i18n/content-settings.es-ES.json +5 -1
- package/src/shared/content-settings/components/content-settings/i18n/content-settings.fr-FR.json +5 -1
- package/src/shared/content-settings/components/content-settings/i18n/content-settings.json +5 -1
- package/src/shared/content-settings/components/content-settings/i18n/content-settings.pt-PT.json +5 -1
- package/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.ts +1 -1
- package/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.vue +2 -0
- package/src/shared/font-family-selector/FontFamilySelector.mixin.ts +0 -12
- package/src/utils/validator.util.ts +18 -0
- package/lib/src/bundled-translations-C4LWPXSH.js +0 -153
- package/lib/src/bundled-translations.pt-PT-DWXOT8W0.js +0 -153
|
@@ -408,7 +408,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
408
408
|
contentErrorCount(): number;
|
|
409
409
|
getContent(state: {
|
|
410
410
|
addContentOptions: {
|
|
411
|
-
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";
|
|
411
|
+
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";
|
|
412
412
|
category: string;
|
|
413
413
|
createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => import("../../../brand-page").Content;
|
|
414
414
|
displayName: string;
|
|
@@ -419,11 +419,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
419
419
|
}[];
|
|
420
420
|
items: {
|
|
421
421
|
id: string;
|
|
422
|
-
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";
|
|
422
|
+
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";
|
|
423
423
|
settings: {
|
|
424
424
|
content: {
|
|
425
425
|
id: string;
|
|
426
|
-
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";
|
|
426
|
+
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";
|
|
427
427
|
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
428
428
|
imageUrlOverride?: string | undefined;
|
|
429
429
|
imageUrlsOverride?: string | undefined;
|
|
@@ -457,7 +457,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
457
457
|
} & import("pinia").PiniaCustomStateProperties<import("../../../shared/content-settings/store").ContentSettingsState>): (id: string) => import("../../../brand-page").Content | undefined;
|
|
458
458
|
getFieldSettings(state: {
|
|
459
459
|
addContentOptions: {
|
|
460
|
-
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";
|
|
460
|
+
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";
|
|
461
461
|
category: string;
|
|
462
462
|
createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => import("../../../brand-page").Content;
|
|
463
463
|
displayName: string;
|
|
@@ -468,11 +468,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
468
468
|
}[];
|
|
469
469
|
items: {
|
|
470
470
|
id: string;
|
|
471
|
-
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";
|
|
471
|
+
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";
|
|
472
472
|
settings: {
|
|
473
473
|
content: {
|
|
474
474
|
id: string;
|
|
475
|
-
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";
|
|
475
|
+
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";
|
|
476
476
|
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
477
477
|
imageUrlOverride?: string | undefined;
|
|
478
478
|
imageUrlsOverride?: string | undefined;
|
|
@@ -506,7 +506,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
506
506
|
} & import("pinia").PiniaCustomStateProperties<import("../../../shared/content-settings/store").ContentSettingsState>): (id: string, fieldName: string) => import("../../../shared/content-settings/models").ContentItemFieldSettings | undefined;
|
|
507
507
|
getItem(state: {
|
|
508
508
|
addContentOptions: {
|
|
509
|
-
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";
|
|
509
|
+
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";
|
|
510
510
|
category: string;
|
|
511
511
|
createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => import("../../../brand-page").Content;
|
|
512
512
|
displayName: string;
|
|
@@ -517,11 +517,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
517
517
|
}[];
|
|
518
518
|
items: {
|
|
519
519
|
id: string;
|
|
520
|
-
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";
|
|
520
|
+
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";
|
|
521
521
|
settings: {
|
|
522
522
|
content: {
|
|
523
523
|
id: string;
|
|
524
|
-
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";
|
|
524
|
+
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";
|
|
525
525
|
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
526
526
|
imageUrlOverride?: string | undefined;
|
|
527
527
|
imageUrlsOverride?: string | undefined;
|
|
@@ -555,7 +555,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
555
555
|
} & import("pinia").PiniaCustomStateProperties<import("../../../shared/content-settings/store").ContentSettingsState>): (id: string) => import("../../../shared/content-settings/models").ContentItem<any> | undefined;
|
|
556
556
|
getValue(state: {
|
|
557
557
|
addContentOptions: {
|
|
558
|
-
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";
|
|
558
|
+
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";
|
|
559
559
|
category: string;
|
|
560
560
|
createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => import("../../../brand-page").Content;
|
|
561
561
|
displayName: string;
|
|
@@ -566,11 +566,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
566
566
|
}[];
|
|
567
567
|
items: {
|
|
568
568
|
id: string;
|
|
569
|
-
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";
|
|
569
|
+
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";
|
|
570
570
|
settings: {
|
|
571
571
|
content: {
|
|
572
572
|
id: string;
|
|
573
|
-
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";
|
|
573
|
+
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";
|
|
574
574
|
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
575
575
|
imageUrlOverride?: string | undefined;
|
|
576
576
|
imageUrlsOverride?: string | undefined;
|
|
@@ -604,7 +604,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
604
604
|
} & import("pinia").PiniaCustomStateProperties<import("../../../shared/content-settings/store").ContentSettingsState>): (id: string, fieldName: string) => string | import("../../../brand-page").Content | undefined;
|
|
605
605
|
getItemState(state: {
|
|
606
606
|
addContentOptions: {
|
|
607
|
-
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";
|
|
607
|
+
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";
|
|
608
608
|
category: string;
|
|
609
609
|
createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => import("../../../brand-page").Content;
|
|
610
610
|
displayName: string;
|
|
@@ -615,11 +615,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
615
615
|
}[];
|
|
616
616
|
items: {
|
|
617
617
|
id: string;
|
|
618
|
-
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";
|
|
618
|
+
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";
|
|
619
619
|
settings: {
|
|
620
620
|
content: {
|
|
621
621
|
id: string;
|
|
622
|
-
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";
|
|
622
|
+
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";
|
|
623
623
|
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
624
624
|
imageUrlOverride?: string | undefined;
|
|
625
625
|
imageUrlsOverride?: string | undefined;
|
|
@@ -653,7 +653,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
653
653
|
} & import("pinia").PiniaCustomStateProperties<import("../../../shared/content-settings/store").ContentSettingsState>): (id: string) => import("../../../shared/content-settings/models").ContentSettingsItemState;
|
|
654
654
|
getItemGroupState(state: {
|
|
655
655
|
addContentOptions: {
|
|
656
|
-
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";
|
|
656
|
+
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";
|
|
657
657
|
category: string;
|
|
658
658
|
createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => import("../../../brand-page").Content;
|
|
659
659
|
displayName: string;
|
|
@@ -664,11 +664,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
664
664
|
}[];
|
|
665
665
|
items: {
|
|
666
666
|
id: string;
|
|
667
|
-
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";
|
|
667
|
+
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";
|
|
668
668
|
settings: {
|
|
669
669
|
content: {
|
|
670
670
|
id: string;
|
|
671
|
-
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";
|
|
671
|
+
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";
|
|
672
672
|
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
673
673
|
imageUrlOverride?: string | undefined;
|
|
674
674
|
imageUrlsOverride?: string | undefined;
|
package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts
CHANGED
|
@@ -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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
337
337
|
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
338
338
|
imageUrlOverride?: string | undefined;
|
|
339
339
|
imageUrlsOverride?: string | undefined;
|
|
@@ -988,6 +988,7 @@ 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;
|
|
991
992
|
};
|
|
992
993
|
externalEditor: import("@tiptap/vue-3").Editor;
|
|
993
994
|
styleSettingsStore: import("pinia").Store<"uiStyleSettings", import("../../../shared/style-settings/store").StyleSettingsState, {
|
package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.js
CHANGED
|
@@ -205,7 +205,9 @@ export default defineComponent({
|
|
|
205
205
|
this.isHeaderSelected = false;
|
|
206
206
|
this.isFooterSelected = false;
|
|
207
207
|
this.isContentSelected = true;
|
|
208
|
-
if ((item.type === 'banner-section' ||
|
|
208
|
+
if ((item.type === 'banner-section' ||
|
|
209
|
+
item.type === 'booking-section' ||
|
|
210
|
+
item.type === 'text') &&
|
|
209
211
|
this.canUseRichTextEditor) {
|
|
210
212
|
let selectedItem = item;
|
|
211
213
|
if (this.isAdmin) {
|
|
@@ -37,6 +37,7 @@ 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;
|
|
40
41
|
};
|
|
41
42
|
export declare const SELECT_LOCATIONS: {
|
|
42
43
|
MAKER_PREVIEW: string;
|
|
@@ -91,5 +92,6 @@ declare const useEventTracker: () => {
|
|
|
91
92
|
sendTemplateSelectEvent: (templateId: string) => void;
|
|
92
93
|
sendTemplateCategorySelectEvent: (category: string) => void;
|
|
93
94
|
sendSidebarCategoryClickedEvent: (tabName: string) => void;
|
|
95
|
+
sendAddContentContinuationEvent: (continuation: string) => void;
|
|
94
96
|
};
|
|
95
97
|
export { useEventTracker };
|
|
@@ -20,6 +20,7 @@ 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',
|
|
23
24
|
};
|
|
24
25
|
export const SELECT_LOCATIONS = {
|
|
25
26
|
MAKER_PREVIEW: 'maker_preview',
|
|
@@ -176,6 +177,11 @@ const useEventTracker = () => {
|
|
|
176
177
|
sidebar_category_tab_name: tabName,
|
|
177
178
|
});
|
|
178
179
|
},
|
|
180
|
+
sendAddContentContinuationEvent: (continuation) => {
|
|
181
|
+
_publishEvent(EVENTS.WEBSITE_MAKER_ADD_CONTENT, {
|
|
182
|
+
continuation,
|
|
183
|
+
});
|
|
184
|
+
},
|
|
179
185
|
};
|
|
180
186
|
};
|
|
181
187
|
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 } 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, BookingSectionContent } 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,4 +47,5 @@ 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>;
|
|
50
51
|
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, } 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, createInitialBookingSectionContent, } 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,6 +2560,106 @@ 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
|
+
});
|
|
2563
2663
|
export const CONTENT_SETTINGS_CONFIGS = () => ({
|
|
2564
2664
|
logo: LOGO_SETTINGS_CONFIG(),
|
|
2565
2665
|
'general-link': GENERAL_LINK_CONTENT_SETTINGS_CONFIG(),
|
|
@@ -2592,4 +2692,5 @@ export const CONTENT_SETTINGS_CONFIGS = () => ({
|
|
|
2592
2692
|
'divider-section': DIVIDER_SECTION_SETTINGS_CONFIG(),
|
|
2593
2693
|
'shapes-section': SHAPES_SECTION_SETTINGS_CONFIG(),
|
|
2594
2694
|
'shop-section': SHOP_SECTION_SETTINGS_CONFIG(),
|
|
2695
|
+
'booking-section': BOOKING_SECTION_SETTINGS_CONFIG(),
|
|
2595
2696
|
});
|
|
@@ -33,6 +33,7 @@ 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";
|
|
36
37
|
readonly 'youtube-video': "youtube-video";
|
|
37
38
|
readonly radio: "radio";
|
|
38
39
|
readonly 'request-payment-config': "request-payment-config";
|