@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.
- package/lib/src/{CreatedOnBrandCrowd-de-de-Cas8PeTT.js → CreatedOnBrandCrowd-de-de-B1UmWzii.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-B7MbiBHY.js → CreatedOnBrandCrowd-en-us-BRK1hM-D.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-Cz5-KuOu.js → CreatedOnBrandCrowd-es-es-CN_2N7lq.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-Ck-2cfKr.js → CreatedOnBrandCrowd-fr-fr-BLLKZAU4.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-9Q-cAf-I.js → CreatedOnBrandCrowd-pt-pt-Btsu98RA.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-DsxBVWnF.js → CreatedOnDcom-de-de-t1layjdN.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-B8JtMCvZ.js → CreatedOnDcom-en-us-Cgr8OWqD.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-psBzGFlu.js → CreatedOnDcom-es-es-BU30p1A3.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-CtRvvcJ8.js → CreatedOnDcom-fr-fr-0WKXggE1.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-BHGHfKvP.js → CreatedOnDcom-pt-pt-DugorNKz.js} +1 -1
- package/lib/src/brand-page/components/banner-section/BannerSection.mixin.js +9 -5
- package/lib/src/brand-page/components/button/Button.mixin.js +2 -4
- package/lib/src/brand-page/models/content.model.d.ts +0 -1
- package/lib/src/brand-page/models/content.model.js +0 -1
- package/lib/src/brand-page/models/index.d.ts +0 -15
- package/lib/src/brand-page/utils/content-callback-util.d.ts +1 -2
- package/lib/src/brand-page/utils/content-callback-util.js +0 -3
- package/lib/src/brand-page/utils/style.util.js +1 -1
- package/lib/src/brand-page/utils/view-model.util.d.ts +2 -3
- package/lib/src/brand-page/utils/view-model.util.js +1 -24
- package/lib/src/brand-page/view-models.d.ts +2 -6
- 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 +20 -21
- package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.js +1 -3
- package/lib/src/brand-page-maker/composables/useEventTracker.d.ts +0 -2
- package/lib/src/brand-page-maker/composables/useEventTracker.js +0 -6
- package/lib/src/brand-page-maker/constants/config-settings-constant.d.ts +1 -2
- package/lib/src/brand-page-maker/constants/config-settings-constant.js +1 -102
- package/lib/src/brand-page-maker/models/content-settings-configs.d.ts +0 -1
- package/lib/src/brand-page-maker/models/content-settings-configs.js +0 -1
- package/lib/src/brand-page-maker/models/content-settings.d.ts +1 -2
- package/lib/src/brand-page-maker/models/content-settings.js +0 -28
- package/lib/src/brand-page-maker/utils/rich-text-editor.util.js +34 -32
- package/lib/src/brand-page-maker/validators/field.validator.js +0 -2
- package/lib/src/brand-page-maker/validators/section-button.validator.d.ts +3 -3
- package/lib/src/bundled-translations-C4LWPXSH.js +153 -0
- package/lib/src/{bundled-translations.de-DE-D7kUXYb_.js → bundled-translations.de-DE-gxort83w.js} +15 -15
- package/lib/src/{bundled-translations.es-ES-De7iUZxe.js → bundled-translations.es-ES-BuDFNpDO.js} +6 -6
- package/lib/src/{bundled-translations.fr-FR-BwMC0AJk.js → bundled-translations.fr-FR-B1h4iGcU.js} +23 -23
- package/lib/src/bundled-translations.pt-PT-DWXOT8W0.js +153 -0
- package/lib/src/bundles/bundled-translations.de-DE.json +1 -5
- package/lib/src/bundles/bundled-translations.es-ES.json +1 -5
- package/lib/src/bundles/bundled-translations.fr-FR.json +1 -5
- package/lib/src/bundles/bundled-translations.json +1 -8
- package/lib/src/bundles/bundled-translations.pt-PT.json +2 -6
- package/lib/src/composables/useTranslate.d.ts +1 -2
- package/lib/src/composables/useTranslate.js +1 -2
- package/lib/src/css/library.brand-page-brandCrowd.min.css +35 -40
- package/lib/src/css/library.brand-page-brandPage.min.css +35 -40
- package/lib/src/css/library.brand-page-designCom.min.css +35 -40
- package/lib/src/css/library.brand-page-preview.min.css +35 -40
- package/lib/src/index.mjs +175 -176
- package/lib/src/{lib-D7ssFj4E.js → lib-CjyTfIxl.js} +18889 -19187
- package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.d.ts +20 -21
- package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.js +1 -3
- 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 +20 -21
- 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 +8 -0
- package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +22 -23
- 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 +0 -1
- package/lib/src/shared/side-bar/components/SideBarTabButton.mixin.d.ts +0 -1
- package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +0 -1
- package/lib/src/shared/template-settings/components/TemplatesSettings.mixin.d.ts +0 -1
- package/lib/src/utils/validator.util.d.ts +0 -7
- package/lib/src/utils/validator.util.js +0 -7
- package/package.json +1 -1
- package/src/brand-page/components/banner-section/BannerSection.mixin.ts +14 -8
- package/src/brand-page/components/button/Button.mixin.ts +2 -8
- package/src/brand-page/components/page/PageComponent.vue +0 -2
- package/src/brand-page/models/content.model.ts +0 -1
- package/src/brand-page/models/index.ts +0 -16
- package/src/brand-page/utils/content-callback-util.ts +0 -7
- package/src/brand-page/utils/style.util.ts +1 -1
- package/src/brand-page/utils/view-model.util.ts +1 -41
- package/src/brand-page/view-models.ts +1 -10
- package/src/brand-page-maker/assessors/banner-section-description-visibility.assessor.ts +4 -7
- package/src/brand-page-maker/assessors/banner-section-field.assessor.ts +6 -9
- package/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.ts +1 -3
- package/src/brand-page-maker/components/rich-text-editor/RichTextEditor.vue +1 -1
- package/src/brand-page-maker/composables/useEventTracker.ts +0 -6
- package/src/brand-page-maker/constants/config-settings-constant.ts +0 -108
- package/src/brand-page-maker/models/content-settings-configs.ts +0 -1
- package/src/brand-page-maker/models/content-settings.ts +0 -32
- package/src/brand-page-maker/utils/rich-text-editor.util.ts +42 -49
- package/src/brand-page-maker/validators/field.validator.ts +0 -2
- package/src/brand-page-maker/validators/section-button.validator.ts +6 -7
- package/src/bundles/bundled-translations.de-DE.json +1 -5
- package/src/bundles/bundled-translations.es-ES.json +1 -5
- package/src/bundles/bundled-translations.fr-FR.json +1 -5
- package/src/bundles/bundled-translations.json +1 -8
- package/src/bundles/bundled-translations.pt-PT.json +2 -6
- package/src/composables/useTranslate.ts +0 -2
- package/src/shared/common/i18n/common.pt-PT.json +1 -1
- package/src/shared/content-settings/components/content-settings/ContentSettings.mixin.ts +1 -3
- package/src/shared/content-settings/components/content-settings/i18n/content-settings.de-DE.json +1 -5
- package/src/shared/content-settings/components/content-settings/i18n/content-settings.es-ES.json +1 -5
- package/src/shared/content-settings/components/content-settings/i18n/content-settings.fr-FR.json +1 -5
- package/src/shared/content-settings/components/content-settings/i18n/content-settings.json +1 -5
- package/src/shared/content-settings/components/content-settings/i18n/content-settings.pt-PT.json +1 -5
- 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 +0 -2
- package/src/shared/font-family-selector/FontFamilySelector.mixin.ts +12 -0
- package/src/utils/validator.util.ts +0 -18
- package/lib/src/bundled-translations-5b693qBQ.js +0 -155
- package/lib/src/bundled-translations.pt-PT-Djz2-0GC.js +0 -153
- package/lib/src/shared/content-settings/components/booking-url-field/BookingUrlField.mixin.d.ts +0 -6
- package/lib/src/shared/content-settings/components/booking-url-field/BookingUrlField.mixin.js +0 -36
- package/src/brand-page/components/booking-section/BookingSection.vue +0 -116
- package/src/shared/content-settings/components/booking-url-field/BookingUrlField.mixin.ts +0 -42
- package/src/shared/content-settings/components/booking-url-field/BookingUrlField.vue +0 -31
- package/src/shared/content-settings/components/booking-url-field/i18n/booking-url-field.json +0 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent } from 'vue';
|
|
2
2
|
import ComponentCommonMixin from '../mixins/component-common.mixin';
|
|
3
|
-
import { isURL
|
|
3
|
+
import { isURL } from '../../../utils/validator.util';
|
|
4
4
|
import { ALIGN_CENTERED, ALIGN_LEFT_ALIGNED, ALIGN_RIGHT_ALIGNED, BIG_IMAGE, ALIGN_LEFT_BIG_IMAGE, ALIGN_RIGHT_FULL_IMAGE, ALIGN_LEFT_FULL_IMAGE, ALIGN_CARD_CENTER_IMAGE, ALIGN_CARD_LEFT_IMAGE, } from '../../constants';
|
|
5
5
|
import { getRenderText, escapeContentText } from '../../utils';
|
|
6
6
|
import { hasRTEContent } from '../../../brand-page-maker/utils';
|
|
@@ -123,10 +123,14 @@ export default defineComponent({
|
|
|
123
123
|
return buttonViewModel;
|
|
124
124
|
},
|
|
125
125
|
shouldShowButton() {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
126
|
+
const hasButtonText = this.viewModel.buttonText && this.viewModel.buttonText.length > 0;
|
|
127
|
+
const hasValidButtonTitle = this.viewModel.buttonViewModel?.title?.length > 0 ||
|
|
128
|
+
(this.viewModel.buttonViewModel?.url &&
|
|
129
|
+
isURL(this.viewModel.buttonViewModel.url));
|
|
130
|
+
if (hasButtonText && hasValidButtonTitle) {
|
|
131
|
+
return true;
|
|
132
|
+
}
|
|
133
|
+
return false;
|
|
130
134
|
},
|
|
131
135
|
isHorizontalAligned() {
|
|
132
136
|
return (this.viewModel.displayStyle === ALIGN_LEFT_ALIGNED ||
|
|
@@ -109,8 +109,7 @@ export default defineComponent({
|
|
|
109
109
|
return this.url;
|
|
110
110
|
},
|
|
111
111
|
isValidUrl() {
|
|
112
|
-
if (this.viewModel.role === 'banner-section'
|
|
113
|
-
this.viewModel.role === 'booking-section') {
|
|
112
|
+
if (this.viewModel.role === 'banner-section') {
|
|
114
113
|
switch (this.viewModel.buttonLinkType) {
|
|
115
114
|
case 'mailTo':
|
|
116
115
|
return isEmail(this.viewModel.url);
|
|
@@ -130,8 +129,7 @@ export default defineComponent({
|
|
|
130
129
|
}
|
|
131
130
|
},
|
|
132
131
|
url() {
|
|
133
|
-
if (this.viewModel.role === 'banner-section'
|
|
134
|
-
this.viewModel.role === 'booking-section') {
|
|
132
|
+
if (this.viewModel.role === 'banner-section') {
|
|
135
133
|
switch (this.viewModel.buttonLinkType) {
|
|
136
134
|
case 'mailTo':
|
|
137
135
|
return `mailto:${this.viewModel.url}`;
|
|
@@ -30,7 +30,6 @@ export declare const CONTENT_TYPES: {
|
|
|
30
30
|
readonly 'social-links': "social-links";
|
|
31
31
|
readonly 'shapes-section': "shapes-section";
|
|
32
32
|
readonly 'shop-section': "shop-section";
|
|
33
|
-
readonly 'booking-section': "booking-section";
|
|
34
33
|
};
|
|
35
34
|
export type ContentType = keyof typeof CONTENT_TYPES;
|
|
36
35
|
export declare const PERSONALISATION_ROLES: {
|
|
@@ -409,21 +409,6 @@ export interface DividerSectionContent extends Content {
|
|
|
409
409
|
dividerColor: BrandPageCssStyle;
|
|
410
410
|
backgroundStyle?: BrandPageCssStyle;
|
|
411
411
|
}
|
|
412
|
-
export interface BookingSectionContent extends Content {
|
|
413
|
-
type: 'booking-section';
|
|
414
|
-
title: string;
|
|
415
|
-
description: string;
|
|
416
|
-
buttonText: string;
|
|
417
|
-
url: string;
|
|
418
|
-
email?: string;
|
|
419
|
-
tel?: string;
|
|
420
|
-
titleStyle: TextStyleDeclaration;
|
|
421
|
-
descriptionStyle: TextStyleDeclaration;
|
|
422
|
-
backgroundStyle: BrandPageCssStyle;
|
|
423
|
-
pageSlug: string;
|
|
424
|
-
buttonLinkType: ButtonLinkType;
|
|
425
|
-
buttonTextStyle: TextStyleDeclaration;
|
|
426
|
-
}
|
|
427
412
|
export declare class PageModel {
|
|
428
413
|
title: string;
|
|
429
414
|
slug: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ProfileContent, TextContent, ContactFormContent, ImageContent, BannerSectionContent, SocialLinksContent, ImageGalleryContent, TestimonialSectionContent, AboutSectionContent, ImagesSectionContent, MailingListContent, SupportMeContent, RequestPaymentContent, ShapesSectionContent, ShopContent, ButtonContent, PageModel
|
|
1
|
+
import type { ProfileContent, TextContent, ContactFormContent, ImageContent, BannerSectionContent, SocialLinksContent, ImageGalleryContent, TestimonialSectionContent, AboutSectionContent, ImagesSectionContent, MailingListContent, SupportMeContent, RequestPaymentContent, ShapesSectionContent, ShopContent, ButtonContent, PageModel } from '../models';
|
|
2
2
|
export type ContentCallback = {
|
|
3
3
|
profileContentCallback: (content: ProfileContent) => void;
|
|
4
4
|
textContentCallback: (content: TextContent) => void;
|
|
@@ -16,6 +16,5 @@ export type ContentCallback = {
|
|
|
16
16
|
shapesSectionContentCallback: (content: ShapesSectionContent) => void;
|
|
17
17
|
shopSectionContentCallback: (content: ShopContent) => void;
|
|
18
18
|
buttonContentCallback: (content: ButtonContent) => void;
|
|
19
|
-
bookingSectionContentCallback: (content: BookingSectionContent) => void;
|
|
20
19
|
};
|
|
21
20
|
export declare const forEachPageCallContentCallback: (page: PageModel, callbacks: ContentCallback) => void;
|
|
@@ -46,9 +46,6 @@ export const forEachPageCallContentCallback = (page, callbacks) => {
|
|
|
46
46
|
case 'shop-section':
|
|
47
47
|
callbacks.shopSectionContentCallback(content);
|
|
48
48
|
break;
|
|
49
|
-
case 'booking-section':
|
|
50
|
-
callbacks.bookingSectionContentCallback(content);
|
|
51
|
-
break;
|
|
52
49
|
case 'general-link':
|
|
53
50
|
case 'website':
|
|
54
51
|
case 'email':
|
|
@@ -199,7 +199,7 @@ const CONTENT_STYLE_PROP_NAME_SUFFIX = [
|
|
|
199
199
|
'Color',
|
|
200
200
|
'Replacements',
|
|
201
201
|
];
|
|
202
|
-
const RTE_ALLOWED_SECTION_TYPES = ['text', 'banner-section'
|
|
202
|
+
const RTE_ALLOWED_SECTION_TYPES = ['text', 'banner-section'];
|
|
203
203
|
const RTE_ALLOWED_FIELDS = ['title', 'description', 'text', 'textItems'];
|
|
204
204
|
export const applyLogoThemeToContents = (logoTheme, pages) => {
|
|
205
205
|
let isModified = false;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ImageContent, ProfileContent, TextContent, PageStyles, Content, BrandPageModel, ImageGalleryContent, GalleryStyles, BannerSectionContent, ImagesSectionContent, BrandPageType, PageHeaderDesktop, PageFooterDesktop, PageFooterMobile, PageHeaderMobile, LogoImageModel, LogoTemplateImageModel
|
|
2
|
-
import type { ImageViewModel, LogoViewModel, ProfileViewModel, TextViewModel, ContentViewModel, BrandPageViewModel, ImageGalleryViewModel, PageViewModel, BannerSectionViewModel, PageHeaderViewModel, PageFooterViewModel, TextImageSectionViewModel
|
|
1
|
+
import type { ImageContent, ProfileContent, TextContent, PageStyles, Content, BrandPageModel, ImageGalleryContent, GalleryStyles, BannerSectionContent, ImagesSectionContent, BrandPageType, PageHeaderDesktop, PageFooterDesktop, PageFooterMobile, PageHeaderMobile, LogoImageModel, LogoTemplateImageModel } from '../models';
|
|
2
|
+
import type { ImageViewModel, LogoViewModel, ProfileViewModel, TextViewModel, ContentViewModel, BrandPageViewModel, ImageGalleryViewModel, PageViewModel, BannerSectionViewModel, PageHeaderViewModel, PageFooterViewModel, TextImageSectionViewModel } from '../view-models';
|
|
3
3
|
export declare const applyViewModelTextStyles: <T extends ContentViewModel>(content: T, styles: PageStyles) => T;
|
|
4
4
|
export declare const mapToImageViewModel: (content: ImageContent) => ImageViewModel;
|
|
5
5
|
export declare const mapToImageGalleryViewModel: (content: ImageGalleryContent, globalStyles: GalleryStyles) => ImageGalleryViewModel;
|
|
@@ -7,7 +7,6 @@ export declare const mapToProfileViewModel: (content: ProfileContent, styles: Pa
|
|
|
7
7
|
export declare const mapToTextViewModel: (content: TextContent, styles: PageStyles, brandPageType: BrandPageType) => TextViewModel;
|
|
8
8
|
export declare const mapToBannerSectionViewModel: (content: BannerSectionContent, styles: PageStyles) => BannerSectionViewModel;
|
|
9
9
|
export declare const mapToImagesSectionViewModel: (content: ImagesSectionContent, styles: PageStyles, brandPageType: BrandPageType) => TextImageSectionViewModel;
|
|
10
|
-
export declare const mapToBookingSectionViewModel: (content: BookingSectionContent, styles: PageStyles) => BookingSectionViewModel;
|
|
11
10
|
export declare const mapToPageHeaderViewModel: (pageHeader: PageHeaderDesktop | PageHeaderMobile, pageStyles: PageStyles, pages: PageViewModel[]) => PageHeaderViewModel;
|
|
12
11
|
export declare const mapToPageFooterViewModel: (pageFooter: PageFooterDesktop | PageFooterMobile, pageStyles: PageStyles) => PageFooterViewModel;
|
|
13
12
|
export declare const mapToViewModel: (styles: PageStyles, brandPageType: BrandPageType) => (content: Content) => ContentViewModel | undefined;
|
|
@@ -234,7 +234,7 @@ const mapToButtonViewModel = (content, styles, options) => {
|
|
|
234
234
|
}
|
|
235
235
|
},
|
|
236
236
|
buttonLinkType: BUTTON_LINK_TYPE.url,
|
|
237
|
-
pageSlug:
|
|
237
|
+
pageSlug: '',
|
|
238
238
|
}, styles);
|
|
239
239
|
};
|
|
240
240
|
export const mapToProfileViewModel = (content, styles) => {
|
|
@@ -507,27 +507,6 @@ const mapToSocialLinksViewModel = (content, styles, brandPageType) => {
|
|
|
507
507
|
isFullWidth: brandPageType === BRAND_PAGE_TYPES.brandSite,
|
|
508
508
|
}, styles);
|
|
509
509
|
};
|
|
510
|
-
export const mapToBookingSectionViewModel = (content, styles) => {
|
|
511
|
-
return applyViewModelTextStyles({
|
|
512
|
-
...content,
|
|
513
|
-
role: content.type,
|
|
514
|
-
type: 'booking-section',
|
|
515
|
-
buttonViewModel: mapToButtonViewModel({
|
|
516
|
-
...content,
|
|
517
|
-
clickActionField: 'url',
|
|
518
|
-
iconUrl: '',
|
|
519
|
-
modalImageUrl: '',
|
|
520
|
-
url: content.url,
|
|
521
|
-
title: content.buttonText || '',
|
|
522
|
-
page: content.pageSlug || '',
|
|
523
|
-
colorReplacements: [],
|
|
524
|
-
titleStyle: content.buttonTextStyle,
|
|
525
|
-
}, styles, {
|
|
526
|
-
titleStyle: content.buttonTextStyle,
|
|
527
|
-
}),
|
|
528
|
-
isFullWidth: true,
|
|
529
|
-
}, styles);
|
|
530
|
-
};
|
|
531
510
|
export const mapToPageHeaderViewModel = (pageHeader, pageStyles, pages) => {
|
|
532
511
|
const viewport = pageHeader.viewport;
|
|
533
512
|
const logoContent = {
|
|
@@ -640,8 +619,6 @@ export const mapToViewModel = (styles, brandPageType) => (content) => {
|
|
|
640
619
|
return mapToContactFormViewModel(content, styles, brandPageType);
|
|
641
620
|
case 'banner-section':
|
|
642
621
|
return mapToBannerSectionViewModel(content, styles);
|
|
643
|
-
case 'booking-section':
|
|
644
|
-
return mapToBookingSectionViewModel(content, styles);
|
|
645
622
|
case 'about-section':
|
|
646
623
|
return mapToAboutSectionViewModel(content, styles);
|
|
647
624
|
case 'images-section':
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { PageStyles, ButtonWithModalContent, ProfileContent, TextContent, VideoContent, ImageContent, ContentType, ButtonStyles, LogoStyles, MapContent, ImageGalleryContent, GalleryStyles, MailingListContent, RequestPaymentContent, ShopContent, SupportMeContent, ContactFormContent, BannerSectionContent, BrandPageType, SocialLinksContent, TestimonialSectionContent, AboutSectionContent, DividerSectionContent, ShapesSectionContent, ButtonLinkType, PageHeaderMobile, PageHeaderDesktop, PageFooterMobile, PageFooterDesktop, TextMediaItem, TextStyleDeclaration, AspectRatio, LogoImageModel, LogoTemplateImageModel, CookieOptions
|
|
1
|
+
import type { PageStyles, ButtonWithModalContent, ProfileContent, TextContent, VideoContent, ImageContent, ContentType, ButtonStyles, LogoStyles, MapContent, ImageGalleryContent, GalleryStyles, MailingListContent, RequestPaymentContent, ShopContent, SupportMeContent, ContactFormContent, BannerSectionContent, BrandPageType, SocialLinksContent, TestimonialSectionContent, AboutSectionContent, DividerSectionContent, ShapesSectionContent, ButtonLinkType, PageHeaderMobile, PageHeaderDesktop, PageFooterMobile, PageFooterDesktop, TextMediaItem, TextStyleDeclaration, AspectRatio, LogoImageModel, LogoTemplateImageModel, CookieOptions } from './models';
|
|
2
2
|
import type { ImagesSectionContentDisplayStyle } from './constants';
|
|
3
|
-
export type ViewModelType = 'button' | 'image' | 'image-gallery' | 'logo' | 'map' | 'mailing-list' | 'profile' | 'support-me' | 'request-payment' | 'text' | 'video' | 'contact-form' | 'banner-section' | 'images-section' | 'about-section' | 'divider-section' | 'testimonial-section' | 'social-links' | 'shapes-section' | 'shop-section'
|
|
3
|
+
export type ViewModelType = 'button' | 'image' | 'image-gallery' | 'logo' | 'map' | 'mailing-list' | 'profile' | 'support-me' | 'request-payment' | 'text' | 'video' | 'contact-form' | 'banner-section' | 'images-section' | 'about-section' | 'divider-section' | 'testimonial-section' | 'social-links' | 'shapes-section' | 'shop-section';
|
|
4
4
|
export interface ContentViewModel {
|
|
5
5
|
id: string;
|
|
6
6
|
type: ViewModelType;
|
|
@@ -96,10 +96,6 @@ export interface SocialLinksViewModel extends ContentViewModel, Omit<SocialLinks
|
|
|
96
96
|
export interface DividerSectionViewModel extends ContentViewModel, Omit<DividerSectionContent, 'type'> {
|
|
97
97
|
isFullWidth: boolean;
|
|
98
98
|
}
|
|
99
|
-
export interface BookingSectionViewModel extends ContentViewModel, Omit<BookingSectionContent, 'type'> {
|
|
100
|
-
buttonViewModel: ButtonViewModel;
|
|
101
|
-
isFullWidth: boolean;
|
|
102
|
-
}
|
|
103
99
|
export interface PageHeaderViewModel extends Omit<PageHeaderDesktop | PageHeaderMobile, 'logoImage' | 'logoImageStyle' | 'isLogoOptional' | 'viewport' | 'isLogoVisible' | 'logoTemplateImage' | 'logoImageHeight' | 'logoImageWidth'> {
|
|
104
100
|
logo: LogoViewModel;
|
|
105
101
|
pages: PageViewModel[];
|
package/lib/src/brand-page-maker/assessors/banner-section-description-visibility.assessor.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { BannerSectionContent
|
|
1
|
+
import type { BannerSectionContent } from '../../brand-page';
|
|
2
2
|
import type { VisibilityAssessor } from '../models';
|
|
3
|
-
export declare const bannerSectionUrlVisibilityAssessor: VisibilityAssessor<BannerSectionContent |
|
|
4
|
-
export declare const bannerSectionPageVisibilityAssessor: VisibilityAssessor<BannerSectionContent |
|
|
5
|
-
export declare const bannerLinkTypeVisibilityAssessor: VisibilityAssessor<BannerSectionContent |
|
|
3
|
+
export declare const bannerSectionUrlVisibilityAssessor: VisibilityAssessor<BannerSectionContent | undefined>;
|
|
4
|
+
export declare const bannerSectionPageVisibilityAssessor: VisibilityAssessor<BannerSectionContent | undefined>;
|
|
5
|
+
export declare const bannerLinkTypeVisibilityAssessor: VisibilityAssessor<BannerSectionContent | undefined>;
|
|
6
6
|
export declare const bannerDisplayTypeVisibilityAssessor: VisibilityAssessor<BannerSectionContent | undefined>;
|
|
7
7
|
export declare const bannerOverlayOptionsVisibilityAssessor: VisibilityAssessor<BannerSectionContent>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BannerSectionContent
|
|
1
|
+
import type { BannerSectionContent } from '../../brand-page';
|
|
2
2
|
import type { FieldTypeAssessor, PlaceholderTypeAssessor } from '../models';
|
|
3
|
-
export declare const bannerSectionFieldTypeAssessor: FieldTypeAssessor<BannerSectionContent |
|
|
4
|
-
export declare const bannerSectionRoleTypeAssessor: FieldTypeAssessor<BannerSectionContent |
|
|
5
|
-
export declare const bannerPlaceholderFieldTypeAssessor: PlaceholderTypeAssessor<BannerSectionContent |
|
|
3
|
+
export declare const bannerSectionFieldTypeAssessor: FieldTypeAssessor<BannerSectionContent | undefined>;
|
|
4
|
+
export declare const bannerSectionRoleTypeAssessor: FieldTypeAssessor<BannerSectionContent | undefined>;
|
|
5
|
+
export declare const bannerPlaceholderFieldTypeAssessor: PlaceholderTypeAssessor<BannerSectionContent | undefined>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export const bannerSectionFieldTypeAssessor = (content) => {
|
|
2
2
|
switch (content?.buttonLinkType) {
|
|
3
3
|
case 'url':
|
|
4
|
-
return
|
|
4
|
+
return 'url';
|
|
5
5
|
case 'mailTo':
|
|
6
6
|
return 'email';
|
|
7
7
|
case 'tel':
|
|
8
8
|
return 'tel';
|
|
9
9
|
default:
|
|
10
|
-
return '
|
|
10
|
+
return 'url';
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
export const bannerSectionRoleTypeAssessor = (content) => {
|
package/lib/src/brand-page-maker/components/admin-logo-settings/AdminLogoSettings.mixin.d.ts
CHANGED
|
@@ -2,11 +2,11 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
2
2
|
templates: import("vue").ComputedRef<import("../../stores/admin-logo-settings").AdminPreviewLogoTemplateTemplate[]>;
|
|
3
3
|
items: import("vue").ComputedRef<{
|
|
4
4
|
id: string;
|
|
5
|
-
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"
|
|
5
|
+
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";
|
|
6
6
|
settings: {
|
|
7
7
|
content: {
|
|
8
8
|
id: string;
|
|
9
|
-
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
|
+
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";
|
|
10
10
|
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
11
11
|
imageUrlOverride?: string | undefined;
|
|
12
12
|
imageUrlsOverride?: string | undefined;
|
|
@@ -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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
672
672
|
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
673
673
|
imageUrlOverride?: string | undefined;
|
|
674
674
|
imageUrlsOverride?: string | undefined;
|