@designcrowd/library.brand-page 5.13.3-flacky-nav-11 → 5.13.3
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-eNtdRw4s.js → CreatedOnBrandCrowd-de-de-BdP_Q6Wf.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-DJ_m_OMf.js → CreatedOnBrandCrowd-en-us-B6sTuDi8.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-C9ysxRqp.js → CreatedOnBrandCrowd-es-es-BAo0f7Wc.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-O9ByUHe-.js → CreatedOnBrandCrowd-fr-fr-CnanZl9E.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-CwVdEQgL.js → CreatedOnBrandCrowd-pt-pt-BTSrr6DL.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-De_3Z59z.js → CreatedOnDcom-de-de-DlzlrdN-.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-DWq44ETL.js → CreatedOnDcom-en-us-BkTP2CrF.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-DOcPFBku.js → CreatedOnDcom-es-es-DVwYRbR4.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-Ky_ocHqJ.js → CreatedOnDcom-fr-fr-C38A8USS.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-BWoXmC0g.js → CreatedOnDcom-pt-pt-BpK-ICyc.js} +1 -1
- package/lib/src/brand-page/constants/logo.constants.d.ts +0 -1
- package/lib/src/brand-page/constants/logo.constants.js +0 -2
- package/lib/src/brand-page/utils/migration/migration-01.d.ts +1 -1
- package/lib/src/brand-page/utils/migration/migration-01.js +1 -1
- package/lib/src/brand-page/utils/migration/migration-02.d.ts +1 -1
- package/lib/src/brand-page/utils/migration/migration-02.js +1 -1
- package/lib/src/brand-page/utils/migration/migration-03.d.ts +1 -1
- package/lib/src/brand-page/utils/migration/migration-03.js +1 -1
- package/lib/src/brand-page/utils/migration/migration-04.d.ts +1 -1
- package/lib/src/brand-page/utils/migration/migration-04.js +1 -1
- package/lib/src/brand-page/utils/migration/migration-05.d.ts +2 -5
- package/lib/src/brand-page/utils/migration/migration-05.js +1 -1
- package/lib/src/brand-page/utils/migration.util.d.ts +1 -5
- package/lib/src/brand-page/utils/migration.util.js +5 -17
- package/lib/src/brand-page/utils/view-model.util.d.ts +3 -3
- package/lib/src/brand-page/utils/view-model.util.js +11 -12
- package/lib/src/brand-page/view-models.d.ts +0 -1
- 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 +29 -29
- package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +34 -34
- package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.js +1 -2
- package/lib/src/clients/axios-locale-wrapper.d.ts +1 -0
- package/lib/src/clients/axios-locale-wrapper.js +10 -0
- package/lib/src/composables/useTranslate.d.ts +1 -2
- package/lib/src/composables/useTranslate.js +1 -5
- package/lib/src/css/library.brand-page-brandCrowd.min.css +6 -3
- package/lib/src/css/library.brand-page-brandPage.min.css +6 -3
- package/lib/src/css/library.brand-page-designCom.min.css +6 -3
- package/lib/src/css/library.brand-page-preview.min.css +6 -3
- package/lib/src/index.mjs +1 -1
- package/lib/src/{lib-CLm1jZau.js → lib-S2irltjV.js} +11257 -11356
- package/lib/src/plugins/bundle-translations-plugin/bundle-translations-plugin.js +1 -9
- package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.d.ts +33 -33
- package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.d.ts +32 -32
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.d.ts +29 -29
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.d.ts +28 -28
- package/lib/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.d.ts +27 -27
- package/lib/src/shared/content-settings/components/page-dropdown-field/PageDropdownField.mixin.d.ts +1 -1
- package/lib/src/shared/content-settings/components/text-style-field/TextStyleField.mixin.d.ts +6 -6
- package/lib/src/shared/content-settings/store/content-settings-store.d.ts +18 -18
- package/lib/src/shared/font-family-selector/FontFamilySelector.mixin.d.ts +1 -1
- package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +1 -1
- package/lib/src/shared/page-settings/components/new-page-modal/NewPageModal.mixin.d.ts +1 -1
- package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +34 -34
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +35 -35
- package/lib/src/shared/page-settings/store/page-settings-store.js +1 -1
- package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +5 -5
- package/lib/src/shared/template-settings/store/template-settings-store.js +1 -2
- package/package.json +1 -1
- package/src/brand-page/components/logo/Logo.vue +3 -14
- package/src/brand-page/components/logo/LogoRender.vue +13 -31
- package/src/brand-page/constants/logo.constants.ts +0 -3
- package/src/brand-page/utils/__snapshots__/migration.util.test.ts.snap +1112 -1121
- package/src/brand-page/utils/migration/logo/migration.util.logo.test.ts +3 -3
- package/src/brand-page/utils/migration/migration-01.ts +2 -2
- package/src/brand-page/utils/migration/migration-02.ts +2 -2
- package/src/brand-page/utils/migration/migration-03.ts +2 -2
- package/src/brand-page/utils/migration/migration-04.ts +2 -2
- package/src/brand-page/utils/migration/migration-05.ts +2 -12
- package/src/brand-page/utils/migration.util.test.ts +157 -274
- package/src/brand-page/utils/migration.util.ts +7 -22
- package/src/brand-page/utils/migration2.util.test.ts +2 -4
- package/src/brand-page/utils/view-model.util.ts +6 -20
- package/src/brand-page/view-models.ts +0 -1
- package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +1 -2
- package/src/clients/axios-locale-wrapper.js +17 -0
- package/src/composables/useTranslate.ts +2 -13
- package/src/plugins/bundle-translations-plugin/bundle-translations-plugin.ts +1 -9
- package/src/shared/page-settings/store/page-settings-store.ts +0 -1
- package/src/shared/template-settings/store/template-settings-store.ts +1 -2
- package/lib/src/brand-page/utils/migration/migration-06.d.ts +0 -4
- package/lib/src/brand-page/utils/migration/migration-06.js +0 -75
- package/lib/src/bundled-translations.fr-CA-BJC-5HrM.js +0 -7
- package/lib/src/bundled-translations.pt-BR-DrpY560B.js +0 -11
- package/lib/src/bundles/bundled-translations.fr-CA.json +0 -180
- package/lib/src/bundles/bundled-translations.pt-BR.json +0 -199
- package/src/brand-page/utils/migration/migration-06.test.ts +0 -338
- package/src/brand-page/utils/migration/migration-06.ts +0 -125
- package/src/bundles/bundled-translations.fr-CA.json +0 -180
- package/src/bundles/bundled-translations.pt-BR.json +0 -199
|
@@ -20,4 +20,4 @@ export declare const migrateConvertLineHeightOnFooterStyles: (brandPageModel: Br
|
|
|
20
20
|
export declare const migration01: (brandPageModel: BrandPageModel, options: {
|
|
21
21
|
logoImage?: LogoImageModel;
|
|
22
22
|
isUserDraft: boolean;
|
|
23
|
-
}) =>
|
|
23
|
+
}) => BrandPageModel;
|
|
@@ -857,7 +857,7 @@ export const migrateConvertLineHeightOnFooterStyles = (brandPageModel) => {
|
|
|
857
857
|
};
|
|
858
858
|
}
|
|
859
859
|
};
|
|
860
|
-
export const migration01 =
|
|
860
|
+
export const migration01 = (brandPageModel, options) => {
|
|
861
861
|
if (!brandPageModel.brandPageType) {
|
|
862
862
|
brandPageModel.brandPageType = BRAND_PAGE_TYPES.default;
|
|
863
863
|
}
|
|
@@ -31,7 +31,7 @@ const handleConversion = (style) => {
|
|
|
31
31
|
}
|
|
32
32
|
style.letterSpacing = convertLetterSpacingRemToEm(style.fontSize, style.letterSpacing);
|
|
33
33
|
};
|
|
34
|
-
export const migration02 =
|
|
34
|
+
export const migration02 = (brandPageModel, options) => {
|
|
35
35
|
handleConversion(brandPageModel.pageHeaderDesktop?.navigation?.defaultButtonStyle);
|
|
36
36
|
handleConversion(brandPageModel.pageHeaderMobile?.navigation?.defaultButtonStyle);
|
|
37
37
|
handleConversion(brandPageModel.pageFooterDesktop?.copyrightStyle);
|
|
@@ -28,7 +28,7 @@ const migrateApplyAutoScaleProperty = (brandPageType, textStyle) => {
|
|
|
28
28
|
textStyle.applyAutoScale =
|
|
29
29
|
brandPageType && brandPageType === BRAND_PAGE_TYPES.brandSite;
|
|
30
30
|
};
|
|
31
|
-
export const migration03 =
|
|
31
|
+
export const migration03 = (brandPageModel, options) => {
|
|
32
32
|
handleRecursiveFontSizeMigration(brandPageModel.pageHeaderDesktop);
|
|
33
33
|
handleRecursiveFontSizeMigration(brandPageModel.pageHeaderMobile);
|
|
34
34
|
handleRecursiveFontSizeMigration(brandPageModel.pageFooterDesktop);
|
|
@@ -86,7 +86,7 @@ const updateUserUploadedImageUrls = (content) => {
|
|
|
86
86
|
});
|
|
87
87
|
}
|
|
88
88
|
};
|
|
89
|
-
export const migration04 =
|
|
89
|
+
export const migration04 = (brandPageModel, options) => {
|
|
90
90
|
if (brandPageModel.faviconUrl &&
|
|
91
91
|
isUserUploadedImage(brandPageModel.faviconUrl)) {
|
|
92
92
|
brandPageModel.faviconUrl = removeUserImageExtension(brandPageModel.faviconUrl);
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
import { type BrandPageModel
|
|
2
|
-
export declare const migration05: (brandPageModel: BrandPageModel
|
|
3
|
-
logoImage?: LogoImageModel;
|
|
4
|
-
isUserDraft: boolean;
|
|
5
|
-
}) => Promise<BrandPageModel>;
|
|
1
|
+
import { type BrandPageModel } from '../..';
|
|
2
|
+
export declare const migration05: (brandPageModel: BrandPageModel) => BrandPageModel;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {} from '../..';
|
|
2
2
|
import { isTextContent } from '../model.util';
|
|
3
|
-
export const migration05 =
|
|
3
|
+
export const migration05 = (brandPageModel) => {
|
|
4
4
|
brandPageModel.pages.forEach((page) => {
|
|
5
5
|
page.contents.forEach((content) => {
|
|
6
6
|
if (isTextContent(content)) {
|
|
@@ -3,8 +3,4 @@ export declare const GetLatestModelVersion: () => number;
|
|
|
3
3
|
export declare const migrateBrandPageModel: (brandPageModel: BrandPageModel, options: {
|
|
4
4
|
logoImage?: LogoImageModel;
|
|
5
5
|
isUserDraft: boolean;
|
|
6
|
-
|
|
7
|
-
}) => Promise<{
|
|
8
|
-
brandPageModel: BrandPageModel;
|
|
9
|
-
useOldLogoRenderSize: boolean;
|
|
10
|
-
}>;
|
|
6
|
+
}) => BrandPageModel;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { LOGO_MIGRATION_VERSION } from '../constants';
|
|
2
1
|
import {} from '../models';
|
|
3
2
|
import { migration01 } from './migration/migration-01';
|
|
4
3
|
import { migration02 } from './migration/migration-02';
|
|
@@ -6,7 +5,6 @@ import { migration03 } from './migration/migration-03';
|
|
|
6
5
|
import { migration04 } from './migration/migration-04';
|
|
7
6
|
import { migration05 } from './migration/migration-05';
|
|
8
7
|
import { migration051 } from './migration/migration-051';
|
|
9
|
-
import { migration06 } from './migration/migration-06';
|
|
10
8
|
const MIGRATION_TABLE = [
|
|
11
9
|
{
|
|
12
10
|
version: 1,
|
|
@@ -32,29 +30,19 @@ const MIGRATION_TABLE = [
|
|
|
32
30
|
version: 5.1,
|
|
33
31
|
migrateFn: migration051,
|
|
34
32
|
},
|
|
35
|
-
{
|
|
36
|
-
version: 6,
|
|
37
|
-
migrateFn: migration06,
|
|
38
|
-
},
|
|
39
33
|
];
|
|
40
34
|
export const GetLatestModelVersion = () => Math.max(...MIGRATION_TABLE.map((x) => x.version));
|
|
41
|
-
export const migrateBrandPageModel =
|
|
35
|
+
export const migrateBrandPageModel = (brandPageModel, options) => {
|
|
42
36
|
let modelVersion = brandPageModel.v;
|
|
43
|
-
let useOldLogoRenderSize = false;
|
|
44
37
|
if (!modelVersion) {
|
|
45
38
|
modelVersion = 0;
|
|
46
39
|
}
|
|
47
|
-
|
|
40
|
+
MIGRATION_TABLE.forEach((x) => {
|
|
48
41
|
if (modelVersion < x.version) {
|
|
49
|
-
|
|
50
|
-
useOldLogoRenderSize = true;
|
|
51
|
-
}
|
|
52
|
-
else {
|
|
53
|
-
brandPageModel = await x.migrateFn(brandPageModel, options);
|
|
54
|
-
}
|
|
42
|
+
brandPageModel = x.migrateFn(brandPageModel, options);
|
|
55
43
|
}
|
|
56
|
-
}
|
|
44
|
+
});
|
|
57
45
|
// Set the model to latest version
|
|
58
46
|
brandPageModel.v = GetLatestModelVersion();
|
|
59
|
-
return
|
|
47
|
+
return brandPageModel;
|
|
60
48
|
};
|
|
@@ -8,10 +8,10 @@ export declare const mapToTextViewModel: (content: TextContent, styles: PageStyl
|
|
|
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
10
|
export declare const mapToBookingSectionViewModel: (content: BookingSectionContent, styles: PageStyles) => BookingSectionViewModel;
|
|
11
|
-
export declare const mapToPageHeaderViewModel: (pageHeader: PageHeaderDesktop | PageHeaderMobile, pageStyles: PageStyles, pages: PageViewModel[]
|
|
12
|
-
export declare const mapToPageFooterViewModel: (pageFooter: PageFooterDesktop | PageFooterMobile, pageStyles: PageStyles
|
|
11
|
+
export declare const mapToPageHeaderViewModel: (pageHeader: PageHeaderDesktop | PageHeaderMobile, pageStyles: PageStyles, pages: PageViewModel[]) => PageHeaderViewModel;
|
|
12
|
+
export declare const mapToPageFooterViewModel: (pageFooter: PageFooterDesktop | PageFooterMobile, pageStyles: PageStyles) => PageFooterViewModel;
|
|
13
13
|
export declare const mapToViewModel: (styles: PageStyles, brandPageType: BrandPageType) => (content: Content) => ContentViewModel | undefined;
|
|
14
|
-
export declare const getBrandPageViewModelFromBrandPageModel: (model: BrandPageModel, brandPageToken: string | undefined, showBrandCrowdLogo?: boolean
|
|
14
|
+
export declare const getBrandPageViewModelFromBrandPageModel: (model: BrandPageModel, brandPageToken: string | undefined, showBrandCrowdLogo?: boolean) => BrandPageViewModel;
|
|
15
15
|
export declare const isLogoViewModel: (viewModel: ContentViewModel) => viewModel is LogoViewModel;
|
|
16
16
|
/** for service.brand-page website preview by logo draft token */
|
|
17
17
|
export declare const applyLogoImageToBrandPageViewModel: (viewModel: BrandPageViewModel, logoImage: LogoImageModel) => BrandPageViewModel;
|
|
@@ -115,7 +115,7 @@ export const mapToImageGalleryViewModel = (content, globalStyles) => {
|
|
|
115
115
|
styles: galleryStyles?.galleryType ? galleryStyles : globalStyles,
|
|
116
116
|
};
|
|
117
117
|
};
|
|
118
|
-
const mapToLogoViewModel = (content, globalStyles,
|
|
118
|
+
const mapToLogoViewModel = (content, globalStyles, options) => {
|
|
119
119
|
let background;
|
|
120
120
|
if (content.backgroundStyle?.background &&
|
|
121
121
|
isHexTransparent(content.backgroundStyle.background)) {
|
|
@@ -158,7 +158,6 @@ const mapToLogoViewModel = (content, globalStyles, useOldLogoRenderSize, options
|
|
|
158
158
|
},
|
|
159
159
|
},
|
|
160
160
|
isVisible: content.isLogoVisible,
|
|
161
|
-
useOldLogoRenderSize,
|
|
162
161
|
});
|
|
163
162
|
};
|
|
164
163
|
const mapToVideoViewModel = (content, styles) => {
|
|
@@ -526,7 +525,7 @@ export const mapToBookingSectionViewModel = (content, styles) => {
|
|
|
526
525
|
isFullWidth: true,
|
|
527
526
|
}, styles);
|
|
528
527
|
};
|
|
529
|
-
export const mapToPageHeaderViewModel = (pageHeader, pageStyles, pages
|
|
528
|
+
export const mapToPageHeaderViewModel = (pageHeader, pageStyles, pages) => {
|
|
530
529
|
const viewport = pageHeader.viewport;
|
|
531
530
|
const logoContent = {
|
|
532
531
|
id: 'page-header-logo',
|
|
@@ -555,7 +554,7 @@ export const mapToPageHeaderViewModel = (pageHeader, pageStyles, pages, useOldLo
|
|
|
555
554
|
}), {});
|
|
556
555
|
return {
|
|
557
556
|
displayStyle: pageHeader.displayStyle,
|
|
558
|
-
logo: mapToLogoViewModel(logoContent, logoStyles
|
|
557
|
+
logo: mapToLogoViewModel(logoContent, logoStyles),
|
|
559
558
|
pages: pages.filter((p) => !p.isHidden),
|
|
560
559
|
navigation: viewport === VIEWPORTS.mobile
|
|
561
560
|
? new NavigationMobile({
|
|
@@ -575,7 +574,7 @@ export const mapToPageHeaderViewModel = (pageHeader, pageStyles, pages, useOldLo
|
|
|
575
574
|
backgroundColorEnabled: pageHeader.backgroundColorEnabled,
|
|
576
575
|
};
|
|
577
576
|
};
|
|
578
|
-
export const mapToPageFooterViewModel = (pageFooter, pageStyles
|
|
577
|
+
export const mapToPageFooterViewModel = (pageFooter, pageStyles) => {
|
|
579
578
|
const { logoImageBase64Url, logoImage, logoTemplateImage, logoImageHeight, logoImageWidth, isLogoVisible, } = pageFooter;
|
|
580
579
|
const logoContent = {
|
|
581
580
|
id: 'page-header-logo',
|
|
@@ -599,7 +598,7 @@ export const mapToPageFooterViewModel = (pageFooter, pageStyles, useOldLogoRende
|
|
|
599
598
|
copyrightStyle,
|
|
600
599
|
displayStyle: pageFooter.displayStyle,
|
|
601
600
|
iconStyle: Object.assign({ fill: pageStyles.textStyles?.style.color }, pageFooter.iconStyle),
|
|
602
|
-
logo: mapToLogoViewModel(logoContent, logoStyles
|
|
601
|
+
logo: mapToLogoViewModel(logoContent, logoStyles),
|
|
603
602
|
socialLinks: pageFooter.socialLinks,
|
|
604
603
|
textFontFamily: pageFooter.textFontFamily,
|
|
605
604
|
};
|
|
@@ -614,7 +613,7 @@ export const mapToViewModel = (styles, brandPageType) => (content) => {
|
|
|
614
613
|
if (brandPageType === BRAND_PAGE_TYPES.brandSite) {
|
|
615
614
|
return undefined;
|
|
616
615
|
}
|
|
617
|
-
return mapToLogoViewModel(content, styles.logoStyles,
|
|
616
|
+
return mapToLogoViewModel(content, styles.logoStyles, {
|
|
618
617
|
height: DEFAULT_LOGO_HEIGHT,
|
|
619
618
|
width: DEFAULT_LOGO_WIDTH,
|
|
620
619
|
});
|
|
@@ -671,7 +670,7 @@ export const mapToViewModel = (styles, brandPageType) => (content) => {
|
|
|
671
670
|
assertUnreachable();
|
|
672
671
|
}
|
|
673
672
|
};
|
|
674
|
-
export const getBrandPageViewModelFromBrandPageModel = (model, brandPageToken, showBrandCrowdLogo = true
|
|
673
|
+
export const getBrandPageViewModelFromBrandPageModel = (model, brandPageToken, showBrandCrowdLogo = true) => {
|
|
675
674
|
const pages = model.pages.map((p) => {
|
|
676
675
|
const contents = p.contents
|
|
677
676
|
.map(mapToViewModel(model.styles, model.brandPageType || BRAND_PAGE_TYPES.default))
|
|
@@ -688,10 +687,10 @@ export const getBrandPageViewModelFromBrandPageModel = (model, brandPageToken, s
|
|
|
688
687
|
pages,
|
|
689
688
|
showBrandCrowdLogo,
|
|
690
689
|
styles: model.styles,
|
|
691
|
-
headerViewModelDesktop: mapToPageHeaderViewModel(model.pageHeaderDesktop, model.styles, pages
|
|
692
|
-
headerViewModelMobile: mapToPageHeaderViewModel(model.pageHeaderMobile, model.styles, pages
|
|
693
|
-
footerViewModelDesktop: mapToPageFooterViewModel(model.pageFooterDesktop, model.styles
|
|
694
|
-
footerViewModelMobile: mapToPageFooterViewModel(model.pageFooterMobile, model.styles
|
|
690
|
+
headerViewModelDesktop: mapToPageHeaderViewModel(model.pageHeaderDesktop, model.styles, pages),
|
|
691
|
+
headerViewModelMobile: mapToPageHeaderViewModel(model.pageHeaderMobile, model.styles, pages),
|
|
692
|
+
footerViewModelDesktop: mapToPageFooterViewModel(model.pageFooterDesktop, model.styles),
|
|
693
|
+
footerViewModelMobile: mapToPageFooterViewModel(model.pageFooterMobile, model.styles),
|
|
695
694
|
brandPageType: model.brandPageType || BRAND_PAGE_TYPES.default,
|
|
696
695
|
faviconUrl: model.faviconUrl,
|
|
697
696
|
ogImageUrl: model.ogImageUrl,
|
|
@@ -32,7 +32,6 @@ export interface LogoViewModel extends ContentViewModel {
|
|
|
32
32
|
logoImageWidth: string | undefined;
|
|
33
33
|
/** @deprecated */
|
|
34
34
|
imageStyle?: LogoStyles['imageStyle'];
|
|
35
|
-
useOldLogoRenderSize?: boolean;
|
|
36
35
|
}
|
|
37
36
|
export interface ProfileViewModel extends ContentViewModel, Omit<ProfileContent, 'type'> {
|
|
38
37
|
containerStyle?: BrandPageCssStyle;
|
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" | "
|
|
5
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
6
6
|
settings: {
|
|
7
7
|
content: {
|
|
8
8
|
id: string;
|
|
9
|
-
type: "website" | "image" | "
|
|
9
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
10
10
|
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
11
11
|
imageUrlOverride?: string | undefined;
|
|
12
12
|
imageUrlsOverride?: string | undefined;
|