@designcrowd/library.brand-page 5.13.3-dropdown-icon-1 → 5.13.3-jj1
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-Cq-t5tsG.js → CreatedOnBrandCrowd-de-de-kUiqwNUT.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-C2yfGN48.js → CreatedOnBrandCrowd-en-us-D0BOpbEH.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-C4564VOr.js → CreatedOnBrandCrowd-es-es-DqNqVXCT.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-D6Vbvb8C.js → CreatedOnBrandCrowd-fr-fr-B9Z5UPJK.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-Byc5FZc5.js → CreatedOnBrandCrowd-pt-pt-BQOWCFIo.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-ILX_R8wg.js → CreatedOnDcom-de-de-B5yqIWz9.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-DZqVolgf.js → CreatedOnDcom-en-us-Cb-Tw_gW.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-BVgo7ucl.js → CreatedOnDcom-es-es-C315I5of.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-B_yrk5Nx.js → CreatedOnDcom-fr-fr-C-ax4Ni_.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-T2FbBWH5.js → CreatedOnDcom-pt-pt-1Auk_1ck.js} +1 -1
- package/lib/src/brand-page/utils/migration/migration-01.d.ts +1 -2
- package/lib/src/brand-page/utils/migration/migration-01.js +0 -2
- package/lib/src/brand-page/utils/migration/migration-01_1.d.ts +4 -0
- package/lib/src/brand-page/utils/migration/migration-01_1.js +5 -0
- package/lib/src/brand-page/utils/migration/{migration-051.d.ts → migration-05_1.d.ts} +1 -1
- package/lib/src/brand-page/utils/migration/{migration-051.js → migration-05_1.js} +1 -1
- package/lib/src/brand-page/utils/migration.util.js +16 -3
- 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/constants/index.d.ts +4 -4
- package/lib/src/brand-page-maker/constants/index.js +4 -4
- package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.js +1 -0
- package/lib/src/bundled-translations.fr-CA-BJC-5HrM.js +7 -0
- package/lib/src/bundled-translations.pt-BR-DrpY560B.js +11 -0
- package/lib/src/bundles/bundled-translations.fr-CA.json +180 -0
- package/lib/src/bundles/bundled-translations.pt-BR.json +199 -0
- package/lib/src/clients/media-client.js +2 -2
- package/lib/src/composables/useTranslate.d.ts +2 -1
- package/lib/src/composables/useTranslate.js +5 -1
- package/lib/src/index.mjs +1 -1
- package/lib/src/{lib-DgCSDHPA.js → lib-BhCaCmKK.js} +12539 -12528
- package/lib/src/plugins/bundle-translations-plugin/bundle-translations-plugin.js +9 -1
- 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/style-settings/components/StyleSettings.mixin.d.ts +5 -5
- package/package.json +1 -1
- package/src/brand-page/utils/migration/migration-01.ts +0 -4
- package/src/brand-page/utils/migration/migration-01_1.ts +14 -0
- package/src/brand-page/utils/migration/{migration-051.ts → migration-05_1.ts} +1 -1
- package/src/brand-page/utils/migration.util.ts +19 -3
- package/src/brand-page-maker/constants/index.ts +4 -4
- package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +1 -0
- package/src/bundles/bundled-translations.fr-CA.json +180 -0
- package/src/bundles/bundled-translations.pt-BR.json +199 -0
- package/src/clients/media-client.js +2 -2
- package/src/composables/useTranslate.ts +13 -2
- package/src/plugins/bundle-translations-plugin/bundle-translations-plugin.ts +9 -1
- package/src/shared/content-settings/components/page-dropdown-field/PageDropdownField.vue +1 -7
- package/lib/src/clients/axios-locale-wrapper.d.ts +0 -1
- package/lib/src/clients/axios-locale-wrapper.js +0 -10
- package/src/clients/axios-locale-wrapper.js +0 -17
- package/src/shared/page-settings/components/page-settings/PageElement.FIX_INSTRUCTIONS.txt +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BrandPageModel
|
|
1
|
+
import type { BrandPageModel } from '../../';
|
|
2
2
|
export declare const applyTextContentTextToTextItemsMigration: (brandPageModel: BrandPageModel) => void;
|
|
3
3
|
export declare const migrateProfileContentToHaveTextStyles: (brandPageModel: BrandPageModel) => void;
|
|
4
4
|
export declare const migrateMailingListContentToHaveTextStyles: (brandPageModel: BrandPageModel) => void;
|
|
@@ -18,6 +18,5 @@ export declare const migrateGlobalTextStylesToHaveMissingStyles: (brandPageModel
|
|
|
18
18
|
export declare const migrateConvertLineHeightOnNavigationStyles: (brandPageModel: BrandPageModel) => void;
|
|
19
19
|
export declare const migrateConvertLineHeightOnFooterStyles: (brandPageModel: BrandPageModel) => void;
|
|
20
20
|
export declare const migration01: (brandPageModel: BrandPageModel, options: {
|
|
21
|
-
logoImage?: LogoImageModel;
|
|
22
21
|
isUserDraft: boolean;
|
|
23
22
|
}) => BrandPageModel;
|
|
@@ -3,7 +3,6 @@ import { DEFAULT_LETTER_SPACING, FOOTER_DISPLAY, NavigationDesktop, NavigationMo
|
|
|
3
3
|
import { ALIGN_CARD_CENTER_IMAGE, ALIGN_CARD_LEFT_IMAGE, ALIGN_CENTERED, ALIGN_LEFT_BIG_IMAGE, BIG_IMAGE, BRAND_PAGE_TYPES, DEFAULT_FONT_FAMILY_KEY, DEFAULT_LOGO_HEIGHT, DEFAULT_LOGO_WIDTH, DEFAULT_TEXT_ALIGN, FONT_FAMILY_CONFIGS, HEADER_DISPLAY, NAVIGATION_DISPLAY, LINE_HEIGHT_BODY, LINE_HEIGHT_HEADINGS, LINE_HEIGHT_TITLE, PAYMENT_OPTION_DISPLAY_TYPES, } from '../../';
|
|
4
4
|
import { isAboutContent, isBannerContent, isButtonContent, isContact, isImagesContent, isLogoContent, isMailingListContent, isPayment, isProfileContent, isShapesContent, isSocialLinks, isSupportMeContent, isTestimonialContent, isTextContent, } from '../../utils';
|
|
5
5
|
import { createInitialLogoContent } from '../../../brand-page-maker/models';
|
|
6
|
-
import { migrateLogoImage } from './logo/logo.migration.util';
|
|
7
6
|
export const applyTextContentTextToTextItemsMigration = (brandPageModel) => {
|
|
8
7
|
const textContents = brandPageModel.pages.reduce((acc, cur) => {
|
|
9
8
|
return [...acc, ...cur.contents.filter(isTextContent)];
|
|
@@ -889,6 +888,5 @@ export const migration01 = (brandPageModel, options) => {
|
|
|
889
888
|
migrateGlobalTextStylesToHaveMissingStyles(brandPageModel);
|
|
890
889
|
migrateConvertLineHeightOnNavigationStyles(brandPageModel);
|
|
891
890
|
migrateConvertLineHeightOnFooterStyles(brandPageModel);
|
|
892
|
-
migrateLogoImage(brandPageModel, options.logoImage);
|
|
893
891
|
return brandPageModel;
|
|
894
892
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import {} from '../..';
|
|
2
|
-
export const
|
|
2
|
+
export const migration05_1 = (brandPageModel, options) => {
|
|
3
3
|
if (!options.isUserDraft) {
|
|
4
4
|
brandPageModel.pageFooterDesktop?.socialLinks?.forEach((link) => {
|
|
5
5
|
if (link.imageUrl === 'twitter') {
|
|
@@ -1,34 +1,47 @@
|
|
|
1
1
|
import {} from '../models';
|
|
2
2
|
import { migration01 } from './migration/migration-01';
|
|
3
|
+
import { migration01_1 } from './migration/migration-01_1';
|
|
3
4
|
import { migration02 } from './migration/migration-02';
|
|
4
5
|
import { migration03 } from './migration/migration-03';
|
|
5
6
|
import { migration04 } from './migration/migration-04';
|
|
6
7
|
import { migration05 } from './migration/migration-05';
|
|
7
|
-
import {
|
|
8
|
+
import { migration05_1 } from './migration/migration-05_1';
|
|
8
9
|
const MIGRATION_TABLE = [
|
|
9
10
|
{
|
|
10
11
|
version: 1,
|
|
11
12
|
migrateFn: migration01,
|
|
13
|
+
description: 'Legacy migration',
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
version: 1.1,
|
|
17
|
+
migrateFn: migration01_1,
|
|
18
|
+
description: 'When loading template assign logo to the metadata',
|
|
19
|
+
runAlways: true,
|
|
12
20
|
},
|
|
13
21
|
{
|
|
14
22
|
version: 2,
|
|
15
23
|
migrateFn: migration02,
|
|
24
|
+
description: 'Migrating letterspacing unit from rem to em',
|
|
16
25
|
},
|
|
17
26
|
{
|
|
18
27
|
version: 3,
|
|
19
28
|
migrateFn: migration03,
|
|
29
|
+
description: 'Migrating font size unit from rem to em to support fluid text',
|
|
20
30
|
},
|
|
21
31
|
{
|
|
22
32
|
version: 4,
|
|
23
33
|
migrateFn: migration04,
|
|
34
|
+
description: 'Migrating user uploaded image URLs to remove extensions',
|
|
24
35
|
},
|
|
25
36
|
{
|
|
26
37
|
version: 5,
|
|
27
38
|
migrateFn: migration05,
|
|
39
|
+
description: 'Migrating text item text styles to apply auto scale',
|
|
28
40
|
},
|
|
29
41
|
{
|
|
30
42
|
version: 5.1,
|
|
31
|
-
migrateFn:
|
|
43
|
+
migrateFn: migration05_1,
|
|
44
|
+
description: 'Migrating twitter icon and url to x icon and x.com',
|
|
32
45
|
},
|
|
33
46
|
];
|
|
34
47
|
export const GetLatestModelVersion = () => Math.max(...MIGRATION_TABLE.map((x) => x.version));
|
|
@@ -38,7 +51,7 @@ export const migrateBrandPageModel = (brandPageModel, options) => {
|
|
|
38
51
|
modelVersion = 0;
|
|
39
52
|
}
|
|
40
53
|
MIGRATION_TABLE.forEach((x) => {
|
|
41
|
-
if (modelVersion < x.version) {
|
|
54
|
+
if (x.runAlways || modelVersion < x.version) {
|
|
42
55
|
brandPageModel = x.migrateFn(brandPageModel, options);
|
|
43
56
|
}
|
|
44
57
|
});
|
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" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
5
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "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" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
9
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "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;
|
|
@@ -30,7 +30,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
30
30
|
}>, {
|
|
31
31
|
commonTr: (key: any) => any;
|
|
32
32
|
currentNotificationMessage: import("vue").ComputedRef<false | {
|
|
33
|
-
type: "
|
|
33
|
+
type: "error" | "success" | "warning";
|
|
34
34
|
label: string;
|
|
35
35
|
description: string | false;
|
|
36
36
|
}>;
|
|
@@ -406,7 +406,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
406
406
|
contentErrorCount(): number;
|
|
407
407
|
getContent(state: {
|
|
408
408
|
addContentOptions: {
|
|
409
|
-
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
409
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "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";
|
|
410
410
|
category: string;
|
|
411
411
|
createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => import("../../../brand-page").Content;
|
|
412
412
|
displayName: string;
|
|
@@ -417,11 +417,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
417
417
|
}[];
|
|
418
418
|
items: {
|
|
419
419
|
id: string;
|
|
420
|
-
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
420
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "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";
|
|
421
421
|
settings: {
|
|
422
422
|
content: {
|
|
423
423
|
id: string;
|
|
424
|
-
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
424
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "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";
|
|
425
425
|
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
426
426
|
imageUrlOverride?: string | undefined;
|
|
427
427
|
imageUrlsOverride?: string | undefined;
|
|
@@ -447,7 +447,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
447
447
|
selectedItemIndex?: number | undefined;
|
|
448
448
|
}[];
|
|
449
449
|
selectedItemId: string | null;
|
|
450
|
-
selectedItemEventSource: "
|
|
450
|
+
selectedItemEventSource: "pageSettings" | "preview" | "contentSettings" | null;
|
|
451
451
|
selectedItemFieldName: string | null;
|
|
452
452
|
selectedItemValue: string | null;
|
|
453
453
|
selectedItemIndex: number | null;
|
|
@@ -455,7 +455,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
455
455
|
} & import("pinia").PiniaCustomStateProperties<import("../../../shared/content-settings/store").ContentSettingsState>): (id: string) => import("../../../brand-page").Content | undefined;
|
|
456
456
|
getFieldSettings(state: {
|
|
457
457
|
addContentOptions: {
|
|
458
|
-
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
458
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "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";
|
|
459
459
|
category: string;
|
|
460
460
|
createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => import("../../../brand-page").Content;
|
|
461
461
|
displayName: string;
|
|
@@ -466,11 +466,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
466
466
|
}[];
|
|
467
467
|
items: {
|
|
468
468
|
id: string;
|
|
469
|
-
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
469
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "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";
|
|
470
470
|
settings: {
|
|
471
471
|
content: {
|
|
472
472
|
id: string;
|
|
473
|
-
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
473
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "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";
|
|
474
474
|
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
475
475
|
imageUrlOverride?: string | undefined;
|
|
476
476
|
imageUrlsOverride?: string | undefined;
|
|
@@ -496,7 +496,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
496
496
|
selectedItemIndex?: number | undefined;
|
|
497
497
|
}[];
|
|
498
498
|
selectedItemId: string | null;
|
|
499
|
-
selectedItemEventSource: "
|
|
499
|
+
selectedItemEventSource: "pageSettings" | "preview" | "contentSettings" | null;
|
|
500
500
|
selectedItemFieldName: string | null;
|
|
501
501
|
selectedItemValue: string | null;
|
|
502
502
|
selectedItemIndex: number | null;
|
|
@@ -504,7 +504,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
504
504
|
} & import("pinia").PiniaCustomStateProperties<import("../../../shared/content-settings/store").ContentSettingsState>): (id: string, fieldName: string) => import("../../../shared/content-settings/models").ContentItemFieldSettings | undefined;
|
|
505
505
|
getItem(state: {
|
|
506
506
|
addContentOptions: {
|
|
507
|
-
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
507
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "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";
|
|
508
508
|
category: string;
|
|
509
509
|
createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => import("../../../brand-page").Content;
|
|
510
510
|
displayName: string;
|
|
@@ -515,11 +515,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
515
515
|
}[];
|
|
516
516
|
items: {
|
|
517
517
|
id: string;
|
|
518
|
-
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
518
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "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";
|
|
519
519
|
settings: {
|
|
520
520
|
content: {
|
|
521
521
|
id: string;
|
|
522
|
-
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
522
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "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";
|
|
523
523
|
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
524
524
|
imageUrlOverride?: string | undefined;
|
|
525
525
|
imageUrlsOverride?: string | undefined;
|
|
@@ -545,7 +545,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
545
545
|
selectedItemIndex?: number | undefined;
|
|
546
546
|
}[];
|
|
547
547
|
selectedItemId: string | null;
|
|
548
|
-
selectedItemEventSource: "
|
|
548
|
+
selectedItemEventSource: "pageSettings" | "preview" | "contentSettings" | null;
|
|
549
549
|
selectedItemFieldName: string | null;
|
|
550
550
|
selectedItemValue: string | null;
|
|
551
551
|
selectedItemIndex: number | null;
|
|
@@ -553,7 +553,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
553
553
|
} & import("pinia").PiniaCustomStateProperties<import("../../../shared/content-settings/store").ContentSettingsState>): (id: string) => import("../../../shared/content-settings/models").ContentItem<any> | undefined;
|
|
554
554
|
getValue(state: {
|
|
555
555
|
addContentOptions: {
|
|
556
|
-
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
556
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "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";
|
|
557
557
|
category: string;
|
|
558
558
|
createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => import("../../../brand-page").Content;
|
|
559
559
|
displayName: string;
|
|
@@ -564,11 +564,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
564
564
|
}[];
|
|
565
565
|
items: {
|
|
566
566
|
id: string;
|
|
567
|
-
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
567
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "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";
|
|
568
568
|
settings: {
|
|
569
569
|
content: {
|
|
570
570
|
id: string;
|
|
571
|
-
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
571
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "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";
|
|
572
572
|
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
573
573
|
imageUrlOverride?: string | undefined;
|
|
574
574
|
imageUrlsOverride?: string | undefined;
|
|
@@ -594,7 +594,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
594
594
|
selectedItemIndex?: number | undefined;
|
|
595
595
|
}[];
|
|
596
596
|
selectedItemId: string | null;
|
|
597
|
-
selectedItemEventSource: "
|
|
597
|
+
selectedItemEventSource: "pageSettings" | "preview" | "contentSettings" | null;
|
|
598
598
|
selectedItemFieldName: string | null;
|
|
599
599
|
selectedItemValue: string | null;
|
|
600
600
|
selectedItemIndex: number | null;
|
|
@@ -602,7 +602,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
602
602
|
} & import("pinia").PiniaCustomStateProperties<import("../../../shared/content-settings/store").ContentSettingsState>): (id: string, fieldName: string) => string | import("../../../brand-page").Content | undefined;
|
|
603
603
|
getItemState(state: {
|
|
604
604
|
addContentOptions: {
|
|
605
|
-
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
605
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "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";
|
|
606
606
|
category: string;
|
|
607
607
|
createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => import("../../../brand-page").Content;
|
|
608
608
|
displayName: string;
|
|
@@ -613,11 +613,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
613
613
|
}[];
|
|
614
614
|
items: {
|
|
615
615
|
id: string;
|
|
616
|
-
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
616
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "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";
|
|
617
617
|
settings: {
|
|
618
618
|
content: {
|
|
619
619
|
id: string;
|
|
620
|
-
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
620
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "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";
|
|
621
621
|
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
622
622
|
imageUrlOverride?: string | undefined;
|
|
623
623
|
imageUrlsOverride?: string | undefined;
|
|
@@ -643,7 +643,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
643
643
|
selectedItemIndex?: number | undefined;
|
|
644
644
|
}[];
|
|
645
645
|
selectedItemId: string | null;
|
|
646
|
-
selectedItemEventSource: "
|
|
646
|
+
selectedItemEventSource: "pageSettings" | "preview" | "contentSettings" | null;
|
|
647
647
|
selectedItemFieldName: string | null;
|
|
648
648
|
selectedItemValue: string | null;
|
|
649
649
|
selectedItemIndex: number | null;
|
|
@@ -651,7 +651,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
651
651
|
} & import("pinia").PiniaCustomStateProperties<import("../../../shared/content-settings/store").ContentSettingsState>): (id: string) => import("../../../shared/content-settings/models").ContentSettingsItemState;
|
|
652
652
|
getItemGroupState(state: {
|
|
653
653
|
addContentOptions: {
|
|
654
|
-
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
654
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "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";
|
|
655
655
|
category: string;
|
|
656
656
|
createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => import("../../../brand-page").Content;
|
|
657
657
|
displayName: string;
|
|
@@ -662,11 +662,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
662
662
|
}[];
|
|
663
663
|
items: {
|
|
664
664
|
id: string;
|
|
665
|
-
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
665
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "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";
|
|
666
666
|
settings: {
|
|
667
667
|
content: {
|
|
668
668
|
id: string;
|
|
669
|
-
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
669
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "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";
|
|
670
670
|
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
671
671
|
imageUrlOverride?: string | undefined;
|
|
672
672
|
imageUrlsOverride?: string | undefined;
|
|
@@ -692,7 +692,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
692
692
|
selectedItemIndex?: number | undefined;
|
|
693
693
|
}[];
|
|
694
694
|
selectedItemId: string | null;
|
|
695
|
-
selectedItemEventSource: "
|
|
695
|
+
selectedItemEventSource: "pageSettings" | "preview" | "contentSettings" | null;
|
|
696
696
|
selectedItemFieldName: string | null;
|
|
697
697
|
selectedItemValue: string | null;
|
|
698
698
|
selectedItemIndex: number | null;
|
|
@@ -722,7 +722,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
722
722
|
_setItemSettingsFieldErrorState(payload: import("../../../shared/content-settings/models").SetItemSettingsFieldErrorMessagePayload): void;
|
|
723
723
|
_setSelectedItemId({ id, eventSource, }: {
|
|
724
724
|
id: string | null;
|
|
725
|
-
eventSource: "
|
|
725
|
+
eventSource: "pageSettings" | "preview" | "contentSettings" | null;
|
|
726
726
|
}): void;
|
|
727
727
|
_setSelectedItemFieldName({ name: name }: {
|
|
728
728
|
name: string | null;
|
|
@@ -797,13 +797,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
797
797
|
updateIsDefaultTextColorRequired(): void;
|
|
798
798
|
setSelectedItemId(payload: {
|
|
799
799
|
id: string | null;
|
|
800
|
-
eventSource: "
|
|
800
|
+
eventSource: "pageSettings" | "preview" | "contentSettings";
|
|
801
801
|
}): void;
|
|
802
802
|
setSelectedItemAndFieldName(payload: {
|
|
803
803
|
id: string | null;
|
|
804
804
|
name: string | null;
|
|
805
805
|
index: number | null;
|
|
806
|
-
eventSource: "
|
|
806
|
+
eventSource: "pageSettings" | "preview" | "contentSettings" | null;
|
|
807
807
|
}): void;
|
|
808
808
|
setSelectedItemValue(payload: {
|
|
809
809
|
value: string | null;
|
|
@@ -913,7 +913,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
913
913
|
}): void;
|
|
914
914
|
setPageSettingsSectionValue({ sectionName, propName, index, value, merge, viewport, }: {
|
|
915
915
|
sectionName: "footer" | "header" | "pages";
|
|
916
|
-
propName: "copyrightStyle" | "style" | "iconStyle" | "displayStyle" | "backgroundStyle" | "logoImage" | "logoImageStyle" | "isLogoOptional" | "viewport" | "isLogoVisible" | "logoTemplateImage" | "logoImageHeight" | "logoImageWidth" | "navigationStyles" | "
|
|
916
|
+
propName: "navigation" | "copyrightStyle" | "style" | "iconStyle" | "displayStyle" | "backgroundStyle" | "logoImage" | "logoImageStyle" | "isLogoOptional" | "viewport" | "isLogoVisible" | "logoTemplateImage" | "logoImageHeight" | "logoImageWidth" | "navigationStyles" | "logoImageUrl" | "logoDraftToken" | "logoVariation" | "logoImageBase64Url" | "backgroundColorEnabled" | "copyrightText" | "socialLinks" | "textFontFamily";
|
|
917
917
|
index?: number | undefined;
|
|
918
918
|
value: string | number | boolean | BrandPageCssStyle | import("../../../brand-page").LinksItem[] | Partial<import("../../../brand-page").ImageItem> | null | undefined;
|
|
919
919
|
merge?: boolean | undefined;
|