@designcrowd/library.brand-page 5.12.4-ast-booking → 5.12.4
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-BQeJ_n6B.js → CreatedOnBrandCrowd-de-de-BXfAb_Ly.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-Cj3iYC5T.js → CreatedOnBrandCrowd-en-us-BvCOvRuk.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-Cl7JjVJm.js → CreatedOnBrandCrowd-es-es-eAe6KBvm.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-DRomv4BA.js → CreatedOnBrandCrowd-fr-fr-DVSPg9Qi.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-DZFEw5Xl.js → CreatedOnBrandCrowd-pt-pt-W42s3fa-.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-DZhX2bER.js → CreatedOnDcom-de-de-B_S0e0e_.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-Bh9DHJW3.js → CreatedOnDcom-en-us-Bi-x7Vfr.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-CUkCHVmG.js → CreatedOnDcom-es-es-BlLjTmrS.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-CF_tcHWx.js → CreatedOnDcom-fr-fr-D2UQl6bI.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-gyRIp-Wi.js → CreatedOnDcom-pt-pt-D-x98ymB.js} +1 -1
- 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 -16
- 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 +0 -14
- 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/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 -20
- 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 -101
- 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/validators/section-button.validator.d.ts +3 -3
- package/lib/src/{bundled-translations-BZJKPEb9.js → bundled-translations-C4LWPXSH.js} +40 -42
- package/lib/src/bundles/bundled-translations.json +1 -8
- 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 +0 -5
- package/lib/src/css/library.brand-page-brandPage.min.css +0 -5
- package/lib/src/css/library.brand-page-designCom.min.css +0 -5
- package/lib/src/css/library.brand-page-preview.min.css +0 -5
- package/lib/src/index.mjs +175 -176
- package/lib/src/{lib-Dsso3HKV.js → lib-CmlX0vVm.js} +21754 -22076
- package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.d.ts +20 -20
- 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 -20
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.d.ts +18 -18
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.js +1 -1
- package/lib/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.d.ts +18 -18
- package/lib/src/shared/content-settings/components/url-field/UrlField.mixin.d.ts +2 -39
- package/lib/src/shared/content-settings/components/url-field/UrlField.mixin.js +0 -32
- 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 +2 -3
- package/lib/src/shared/font-family-selector/FontFamilySelector.mixin.js +9 -16
- package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +22 -22
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +20 -20
- package/package.json +1 -1
- package/src/brand-page/components/logo/test.json +866 -0
- package/src/brand-page/components/logo/test2.json +765 -0
- package/src/brand-page/components/logo/test3.json +749 -0
- 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 -17
- package/src/brand-page/utils/style.util.ts +1 -1
- package/src/brand-page/utils/view-model.util.ts +0 -27
- 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 +4 -7
- package/src/brand-page-maker/constants/config-settings-constant.ts +0 -107
- package/src/brand-page-maker/models/content-settings.ts +0 -32
- package/src/brand-page-maker/validators/section-button.validator.ts +6 -7
- package/src/bundles/bundled-translations.json +1 -8
- package/src/composables/useTranslate.ts +0 -2
- package/src/shared/content-settings/components/content-settings/i18n/content-settings.json +1 -5
- package/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.ts +1 -1
- package/src/shared/content-settings/components/url-field/UrlField.mixin.ts +0 -38
- package/src/shared/content-settings/components/url-field/UrlField.vue +0 -12
- package/src/shared/font-family-selector/FontFamilySelector.mixin.ts +11 -21
- package/src/brand-page/components/booking-section/BookingSection.vue +0 -240
- package/src/shared/content-settings/components/url-field/i18n/url-field.json +0 -5
package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts
CHANGED
|
@@ -5,11 +5,11 @@ import type { DebounceHandle } from 'lodash.debounce';
|
|
|
5
5
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
6
6
|
items: import("vue").ComputedRef<{
|
|
7
7
|
id: string;
|
|
8
|
-
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section"
|
|
8
|
+
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section";
|
|
9
9
|
settings: {
|
|
10
10
|
content: {
|
|
11
11
|
id: string;
|
|
12
|
-
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section"
|
|
12
|
+
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section";
|
|
13
13
|
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
14
14
|
imageUrlOverride?: string | undefined;
|
|
15
15
|
imageUrlsOverride?: string | undefined;
|
|
@@ -73,7 +73,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
73
73
|
contentErrorCount(): number;
|
|
74
74
|
getContent(state: {
|
|
75
75
|
addContentOptions: {
|
|
76
|
-
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section"
|
|
76
|
+
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section";
|
|
77
77
|
category: string;
|
|
78
78
|
createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => Content;
|
|
79
79
|
displayName: string;
|
|
@@ -84,11 +84,11 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
84
84
|
}[];
|
|
85
85
|
items: {
|
|
86
86
|
id: string;
|
|
87
|
-
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section"
|
|
87
|
+
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section";
|
|
88
88
|
settings: {
|
|
89
89
|
content: {
|
|
90
90
|
id: string;
|
|
91
|
-
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section"
|
|
91
|
+
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section";
|
|
92
92
|
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
93
93
|
imageUrlOverride?: string | undefined;
|
|
94
94
|
imageUrlsOverride?: string | undefined;
|
|
@@ -122,7 +122,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
122
122
|
} & import("pinia").PiniaCustomStateProperties<import("../../../shared/content-settings/store").ContentSettingsState>): (id: string) => Content | undefined;
|
|
123
123
|
getFieldSettings(state: {
|
|
124
124
|
addContentOptions: {
|
|
125
|
-
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section"
|
|
125
|
+
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section";
|
|
126
126
|
category: string;
|
|
127
127
|
createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => Content;
|
|
128
128
|
displayName: string;
|
|
@@ -133,11 +133,11 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
133
133
|
}[];
|
|
134
134
|
items: {
|
|
135
135
|
id: string;
|
|
136
|
-
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section"
|
|
136
|
+
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section";
|
|
137
137
|
settings: {
|
|
138
138
|
content: {
|
|
139
139
|
id: string;
|
|
140
|
-
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section"
|
|
140
|
+
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section";
|
|
141
141
|
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
142
142
|
imageUrlOverride?: string | undefined;
|
|
143
143
|
imageUrlsOverride?: string | undefined;
|
|
@@ -171,7 +171,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
171
171
|
} & import("pinia").PiniaCustomStateProperties<import("../../../shared/content-settings/store").ContentSettingsState>): (id: string, fieldName: string) => import("../../../shared/content-settings/models").ContentItemFieldSettings | undefined;
|
|
172
172
|
getItem(state: {
|
|
173
173
|
addContentOptions: {
|
|
174
|
-
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section"
|
|
174
|
+
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section";
|
|
175
175
|
category: string;
|
|
176
176
|
createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => Content;
|
|
177
177
|
displayName: string;
|
|
@@ -182,11 +182,11 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
182
182
|
}[];
|
|
183
183
|
items: {
|
|
184
184
|
id: string;
|
|
185
|
-
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section"
|
|
185
|
+
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section";
|
|
186
186
|
settings: {
|
|
187
187
|
content: {
|
|
188
188
|
id: string;
|
|
189
|
-
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section"
|
|
189
|
+
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section";
|
|
190
190
|
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
191
191
|
imageUrlOverride?: string | undefined;
|
|
192
192
|
imageUrlsOverride?: string | undefined;
|
|
@@ -220,7 +220,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
220
220
|
} & import("pinia").PiniaCustomStateProperties<import("../../../shared/content-settings/store").ContentSettingsState>): (id: string) => ContentItem<any> | undefined;
|
|
221
221
|
getValue(state: {
|
|
222
222
|
addContentOptions: {
|
|
223
|
-
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section"
|
|
223
|
+
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section";
|
|
224
224
|
category: string;
|
|
225
225
|
createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => Content;
|
|
226
226
|
displayName: string;
|
|
@@ -231,11 +231,11 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
231
231
|
}[];
|
|
232
232
|
items: {
|
|
233
233
|
id: string;
|
|
234
|
-
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section"
|
|
234
|
+
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section";
|
|
235
235
|
settings: {
|
|
236
236
|
content: {
|
|
237
237
|
id: string;
|
|
238
|
-
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section"
|
|
238
|
+
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section";
|
|
239
239
|
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
240
240
|
imageUrlOverride?: string | undefined;
|
|
241
241
|
imageUrlsOverride?: string | undefined;
|
|
@@ -269,7 +269,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
269
269
|
} & import("pinia").PiniaCustomStateProperties<import("../../../shared/content-settings/store").ContentSettingsState>): (id: string, fieldName: string) => string | Content | undefined;
|
|
270
270
|
getItemState(state: {
|
|
271
271
|
addContentOptions: {
|
|
272
|
-
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section"
|
|
272
|
+
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section";
|
|
273
273
|
category: string;
|
|
274
274
|
createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => Content;
|
|
275
275
|
displayName: string;
|
|
@@ -280,11 +280,11 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
280
280
|
}[];
|
|
281
281
|
items: {
|
|
282
282
|
id: string;
|
|
283
|
-
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section"
|
|
283
|
+
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section";
|
|
284
284
|
settings: {
|
|
285
285
|
content: {
|
|
286
286
|
id: string;
|
|
287
|
-
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section"
|
|
287
|
+
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section";
|
|
288
288
|
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
289
289
|
imageUrlOverride?: string | undefined;
|
|
290
290
|
imageUrlsOverride?: string | undefined;
|
|
@@ -318,7 +318,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
318
318
|
} & import("pinia").PiniaCustomStateProperties<import("../../../shared/content-settings/store").ContentSettingsState>): (id: string) => import("../../../shared/content-settings/models").ContentSettingsItemState;
|
|
319
319
|
getItemGroupState(state: {
|
|
320
320
|
addContentOptions: {
|
|
321
|
-
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section"
|
|
321
|
+
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section";
|
|
322
322
|
category: string;
|
|
323
323
|
createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => Content;
|
|
324
324
|
displayName: string;
|
|
@@ -329,11 +329,11 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
329
329
|
}[];
|
|
330
330
|
items: {
|
|
331
331
|
id: string;
|
|
332
|
-
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section"
|
|
332
|
+
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section";
|
|
333
333
|
settings: {
|
|
334
334
|
content: {
|
|
335
335
|
id: string;
|
|
336
|
-
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section"
|
|
336
|
+
type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section";
|
|
337
337
|
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
338
338
|
imageUrlOverride?: string | undefined;
|
|
339
339
|
imageUrlsOverride?: string | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { LogoContent, FacebookContent, GeneralLinkContent, PhoneContent, EmailContent, ImageContent, InstagramContent, LinkedInContent, PinterestContent, ProfileContent, TextContent, TiktokContent, TwitchContent, TwitterContent, VideoContent, WebsiteContent, YoutubeContent, ContentType, MapContent, ImageGalleryContent, MailingListContent, RequestPaymentContent, SupportMeContent, ContactFormContent, BannerSectionContent, SocialLinksContent, ImagesSectionContent, TestimonialSectionContent, AboutSectionContent, DividerSectionContent, ShapesSectionContent, ShopContent
|
|
1
|
+
import type { LogoContent, FacebookContent, GeneralLinkContent, PhoneContent, EmailContent, ImageContent, InstagramContent, LinkedInContent, PinterestContent, ProfileContent, TextContent, TiktokContent, TwitchContent, TwitterContent, VideoContent, WebsiteContent, YoutubeContent, ContentType, MapContent, ImageGalleryContent, MailingListContent, RequestPaymentContent, SupportMeContent, ContactFormContent, BannerSectionContent, SocialLinksContent, ImagesSectionContent, TestimonialSectionContent, AboutSectionContent, DividerSectionContent, ShapesSectionContent, ShopContent } from '../../brand-page';
|
|
2
2
|
import type { ContentSettingsConfig, ContentSettingsField, ContentSettingsMultiField } from '../models';
|
|
3
3
|
export declare const LOGO_SETTINGS_CONFIG: () => ContentSettingsConfig<Omit<LogoContent, 'version' | 'logoVariation' | 'logoImageHeight' | 'logoImageWidth' | 'logoLastUpdate' | 'logoImageBase64Url'>>;
|
|
4
4
|
export declare const GENERAL_LINK_CONTENT_SETTINGS_CONFIG: () => ContentSettingsConfig<GeneralLinkContent>;
|
|
@@ -47,5 +47,4 @@ export declare const SHAPES_SECTION_SETTINGS_CONFIG: () => ContentSettingsConfig
|
|
|
47
47
|
export declare const SHOP_SECTION_SETTINGS_CONFIG: () => ContentSettingsConfig<ShopContent, {
|
|
48
48
|
paymentConfig: any;
|
|
49
49
|
}>;
|
|
50
|
-
export declare const BOOKING_SECTION_SETTINGS_CONFIG: () => ContentSettingsConfig<BookingSectionContent>;
|
|
51
50
|
export declare const CONTENT_SETTINGS_CONFIGS: () => Record<ContentType, ContentSettingsConfig<any>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SOCIAL_LINKS_ICON_DISPLAY_STYLES, BRAND_PAGE_TYPES, DIVIDER_STYLES, MEDIA_TYPES, BUTTON_LINK_TYPE, FONT_SIZE_BODY, LINE_HEIGHT_BODY, MIN_TEXT_SIZE_PX, MAX_TEXT_SIZE_PX, TEXT_COLUMNS, DEFAULT_SHAPE_SIZE, PAYMENT_OPTION_DISPLAY_TYPES, PAYMENT_OPTION_IMAGE_TYPES, } from '../../brand-page';
|
|
2
|
-
import { createInitialButtonContent, createInitialImageContent, createInitialProfileContent, createInitialTextContent, createInitialVideoContent, createInitialLogoContent, createInitialMapContent, createInitialImageGalleryContent, createInitialGeneralLinkContent, createInitialMailingListContent, createInitialRequestPaymentContent, createInitialSupportMeContent, createInitialContactFormContent, CONTENT_SETTINGS_DISPLAY_MODES, createInitialBannerSectionContent, createInitialSocialLinksContent, createInitialImagesSectionContent, createInitialTestimonialSectionContent, createInitialAboutSectionContent, createInitialDividerSectionContent, createInitialShapesSectionContent, VARIANT_DISPLAY_MODES, createInitialShopContent,
|
|
2
|
+
import { createInitialButtonContent, createInitialImageContent, createInitialProfileContent, createInitialTextContent, createInitialVideoContent, createInitialLogoContent, createInitialMapContent, createInitialImageGalleryContent, createInitialGeneralLinkContent, createInitialMailingListContent, createInitialRequestPaymentContent, createInitialSupportMeContent, createInitialContactFormContent, CONTENT_SETTINGS_DISPLAY_MODES, createInitialBannerSectionContent, createInitialSocialLinksContent, createInitialImagesSectionContent, createInitialTestimonialSectionContent, createInitialAboutSectionContent, createInitialDividerSectionContent, createInitialShapesSectionContent, VARIANT_DISPLAY_MODES, createInitialShopContent, } from '../models';
|
|
3
3
|
import { colorConvertor, backgroundColorConvertor, borderColorConvertor, displayStyleConvertor, galleryTypeConvertor, imageAspectRatioConvertor, textAlignmentOptionsConvertor, videoContentStateConvertor, fillColorConvertor, bannerAlignDisplayStyleConvertor, aboutDisplayStyleConvertor, dividerStyleConvertor, shapeSizeOptionsConvertor, buttonLinkStyleConvertor, textSizeValueConvertor, textColumnStyleConvertor, contactLayoutStyleConvertor, paymentLinkDisplayStyleConvertor, shopDisplayConvertor, shopAspectRatioConvertor, } from '../convertors';
|
|
4
4
|
import { ALIGN_CENTERED, DISPLAY_STYLE_COLLAPSED, DISPLAY_STYLE_PREVIEW, } from '../../brand-page';
|
|
5
5
|
import { imageFieldVisibilityAssessor, imageOptionVisibilityAssessor, imageGalleryFieldVisibilityAssessor, cardFillVisibilityAssessor, mediaSectionItemsFieldTypeAssessor, dividerToggleFieldVisibilityAssessor, shapeSectionItemsFieldTypeAssessor, colorReplacementVisibilityTypeAssessor, colorReplacementProfileVisibilityTypeAssessor, colorReplacementIconVisibilityTypeAssessor, imagesSectionCardStyleVisibilityAssessor, contactBackgroundDisplayTypeVisibilityAssessor, contactCardDisplayTypeVisibilityAssessor, imageUrlVisibilityAssessor, displayTypeVisibilityAssessor, logoFieldVisibilityAssessor, shapesSectionCardStyleVisibilityAssessor, shopImageOptionVisibilityAssessor, shopItemColorVisibility, personalisationOverrideVisibility, } from '../assessors';
|
|
@@ -2560,105 +2560,6 @@ export const SHOP_SECTION_SETTINGS_CONFIG = () => ({
|
|
|
2560
2560
|
isLocked: false,
|
|
2561
2561
|
type: 'shop-section',
|
|
2562
2562
|
});
|
|
2563
|
-
export const BOOKING_SECTION_SETTINGS_CONFIG = () => ({
|
|
2564
|
-
type: 'booking-section',
|
|
2565
|
-
category: 'sections',
|
|
2566
|
-
createInitialContent: createInitialBookingSectionContent,
|
|
2567
|
-
displayMode: CONTENT_SETTINGS_DISPLAY_MODES.focused,
|
|
2568
|
-
defaultIconName: 'calendar',
|
|
2569
|
-
displayName: contentSettingsTr(`bookingSectionDisplayName`),
|
|
2570
|
-
fieldGroups: [
|
|
2571
|
-
{
|
|
2572
|
-
id: SETTINGS_STYLE_FIELD_GROUP_IDS.settings,
|
|
2573
|
-
displayName: contentSettingsTr(`settingsDisplayName`),
|
|
2574
|
-
isCollapsed: false,
|
|
2575
|
-
},
|
|
2576
|
-
{
|
|
2577
|
-
id: SETTINGS_STYLE_FIELD_GROUP_IDS.style,
|
|
2578
|
-
displayName: contentSettingsTr(`styleDisplayName`),
|
|
2579
|
-
isCollapsed: true,
|
|
2580
|
-
},
|
|
2581
|
-
],
|
|
2582
|
-
fields: {
|
|
2583
|
-
titleStyle: DEFAULT_TITLE_STYLE_SETTINGS_FILED_WITH_TITLE(),
|
|
2584
|
-
descriptionStyle: DEFAULT_DESCRIPTION_STYLE_FILED(),
|
|
2585
|
-
buttonTextStyle: DEFAULT_BUTTON_TEXT_STYLE_FIELD(),
|
|
2586
|
-
title: {
|
|
2587
|
-
type: 'text',
|
|
2588
|
-
placeholder: contentSettingsTr(`titlePlaceholder`),
|
|
2589
|
-
title: contentSettingsTr(`titleTitle`),
|
|
2590
|
-
groupId: SETTINGS_STYLE_FIELD_GROUP_IDS.settings,
|
|
2591
|
-
maxLength: 200,
|
|
2592
|
-
},
|
|
2593
|
-
titleOverride: {
|
|
2594
|
-
type: 'personalisation-override',
|
|
2595
|
-
groupId: SETTINGS_STYLE_FIELD_GROUP_IDS.settings,
|
|
2596
|
-
visibilityAssessor: (c, b) => personalisationOverrideVisibility(c, b, 'title'),
|
|
2597
|
-
},
|
|
2598
|
-
description: {
|
|
2599
|
-
type: 'textarea',
|
|
2600
|
-
placeholder: contentSettingsTr(`descriptionPlaceholder`),
|
|
2601
|
-
title: contentSettingsTr(`descriptionTitle`),
|
|
2602
|
-
groupId: SETTINGS_STYLE_FIELD_GROUP_IDS.settings,
|
|
2603
|
-
maxLength: 1000,
|
|
2604
|
-
},
|
|
2605
|
-
descriptionOverride: {
|
|
2606
|
-
type: 'personalisation-override',
|
|
2607
|
-
groupId: SETTINGS_STYLE_FIELD_GROUP_IDS.settings,
|
|
2608
|
-
visibilityAssessor: (c, b) => personalisationOverrideVisibility(c, b, 'description'),
|
|
2609
|
-
},
|
|
2610
|
-
buttonText: {
|
|
2611
|
-
type: 'text',
|
|
2612
|
-
placeholder: contentSettingsTr(`getStartedPlaceholder`),
|
|
2613
|
-
title: contentSettingsTr(`buttonTitle`),
|
|
2614
|
-
groupId: SETTINGS_STYLE_FIELD_GROUP_IDS.settings,
|
|
2615
|
-
maxLength: 60,
|
|
2616
|
-
},
|
|
2617
|
-
buttonTextOverride: {
|
|
2618
|
-
type: 'personalisation-override',
|
|
2619
|
-
groupId: SETTINGS_STYLE_FIELD_GROUP_IDS.settings,
|
|
2620
|
-
visibilityAssessor: (c, b) => personalisationOverrideVisibility(c, b, 'buttonText'),
|
|
2621
|
-
},
|
|
2622
|
-
backgroundStyle: {
|
|
2623
|
-
type: 'color',
|
|
2624
|
-
groupId: SETTINGS_STYLE_FIELD_GROUP_IDS.style,
|
|
2625
|
-
defaultValue: {},
|
|
2626
|
-
isInline: true,
|
|
2627
|
-
showToggle: false,
|
|
2628
|
-
title: contentSettingsTr(`backgroundColorTitle`),
|
|
2629
|
-
valueConvertor: backgroundColorConvertor,
|
|
2630
|
-
},
|
|
2631
|
-
buttonLinkType: {
|
|
2632
|
-
type: 'radio',
|
|
2633
|
-
role: 'multi',
|
|
2634
|
-
defaultValue: BUTTON_LINK_TYPE.url,
|
|
2635
|
-
title: contentSettingsTr(`buttonLinkTitle`),
|
|
2636
|
-
groupId: SETTINGS_STYLE_FIELD_GROUP_IDS.settings,
|
|
2637
|
-
optionsConvertor: buttonLinkStyleConvertor,
|
|
2638
|
-
visibilityAssessor: bannerLinkTypeVisibilityAssessor,
|
|
2639
|
-
},
|
|
2640
|
-
pageSlug: {
|
|
2641
|
-
type: 'page-dropdown',
|
|
2642
|
-
placeholder: contentSettingsTr(`selectAPagePlaceholder`),
|
|
2643
|
-
groupId: SETTINGS_STYLE_FIELD_GROUP_IDS.settings,
|
|
2644
|
-
visibilityAssessor: bannerSectionPageVisibilityAssessor,
|
|
2645
|
-
validator: pageValidator,
|
|
2646
|
-
defaultValue: '',
|
|
2647
|
-
},
|
|
2648
|
-
url: {
|
|
2649
|
-
type: 'url',
|
|
2650
|
-
groupId: SETTINGS_STYLE_FIELD_GROUP_IDS.settings,
|
|
2651
|
-
fieldTypeAssessor: bannerSectionFieldTypeAssessor,
|
|
2652
|
-
roleAssessor: bannerSectionRoleTypeAssessor,
|
|
2653
|
-
placeholderAssessor: bannerPlaceholderFieldTypeAssessor,
|
|
2654
|
-
visibilityAssessor: bannerSectionUrlVisibilityAssessor,
|
|
2655
|
-
validator: urlValidator,
|
|
2656
|
-
defaultValue: '',
|
|
2657
|
-
},
|
|
2658
|
-
},
|
|
2659
|
-
isEnabled: true,
|
|
2660
|
-
isLocked: false,
|
|
2661
|
-
});
|
|
2662
2563
|
export const CONTENT_SETTINGS_CONFIGS = () => ({
|
|
2663
2564
|
logo: LOGO_SETTINGS_CONFIG(),
|
|
2664
2565
|
'general-link': GENERAL_LINK_CONTENT_SETTINGS_CONFIG(),
|
|
@@ -2691,5 +2592,4 @@ export const CONTENT_SETTINGS_CONFIGS = () => ({
|
|
|
2691
2592
|
'divider-section': DIVIDER_SECTION_SETTINGS_CONFIG(),
|
|
2692
2593
|
'shapes-section': SHAPES_SECTION_SETTINGS_CONFIG(),
|
|
2693
2594
|
'shop-section': SHOP_SECTION_SETTINGS_CONFIG(),
|
|
2694
|
-
'booking-section': BOOKING_SECTION_SETTINGS_CONFIG(),
|
|
2695
2595
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BrandPageModel } from '../../brand-page';
|
|
2
|
-
import type { ButtonContent, ContentType, ImageContent, ProfileContent, TextContent, VideoContent, LogoContent, LogoTheme, MapContent, ImageGalleryContent, GeneralLinkContent, MailingListContent, RequestPaymentContent, ContactFormContent, BannerSectionContent, SocialLinksContent, ImagesSectionContent, TestimonialSectionContent, AboutSectionContent, DividerSectionContent, ShapesSectionContent, BrandPageType, SupportMeContent, ShopContent
|
|
2
|
+
import type { ButtonContent, ContentType, ImageContent, ProfileContent, TextContent, VideoContent, LogoContent, LogoTheme, MapContent, ImageGalleryContent, GeneralLinkContent, MailingListContent, RequestPaymentContent, ContactFormContent, BannerSectionContent, SocialLinksContent, ImagesSectionContent, TestimonialSectionContent, AboutSectionContent, DividerSectionContent, ShapesSectionContent, BrandPageType, SupportMeContent, ShopContent } from '../../brand-page';
|
|
3
3
|
import type { CreateInitialContentFunction } from './content-settings-configs';
|
|
4
4
|
import type { CreateInitialContentOptions } from '../../shared/content-settings/models';
|
|
5
5
|
export declare const createInitialButtonContent: (type: ContentType, iconUrl: string, options?: CreateInitialContentOptions) => () => ButtonContent;
|
|
@@ -17,7 +17,6 @@ export declare const createInitialShopContent: (options?: CreateInitialContentOp
|
|
|
17
17
|
export declare const createInitialSupportMeContent: (options?: CreateInitialContentOptions) => SupportMeContent;
|
|
18
18
|
export declare const createInitialContactFormContent: CreateInitialContentFunction<ContactFormContent>;
|
|
19
19
|
export declare const createInitialBannerSectionContent: CreateInitialContentFunction<BannerSectionContent>;
|
|
20
|
-
export declare const createInitialBookingSectionContent: CreateInitialContentFunction<BookingSectionContent>;
|
|
21
20
|
export declare const createInitialImagesSectionContent: CreateInitialContentFunction<ImagesSectionContent>;
|
|
22
21
|
export declare const createInitialTestimonialSectionContent: CreateInitialContentFunction<TestimonialSectionContent>;
|
|
23
22
|
export declare const createInitialAboutSectionContent: CreateInitialContentFunction<AboutSectionContent>;
|
|
@@ -418,34 +418,6 @@ export const createInitialBannerSectionContent = (options) => {
|
|
|
418
418
|
overlayOpacity: 50,
|
|
419
419
|
};
|
|
420
420
|
};
|
|
421
|
-
export const createInitialBookingSectionContent = (options) => {
|
|
422
|
-
return {
|
|
423
|
-
id: uuid.v4(),
|
|
424
|
-
title: contentSettingsTr(`defaultBookingTitle`),
|
|
425
|
-
description: contentSettingsTr(`defaultBookingDescription`),
|
|
426
|
-
buttonText: contentSettingsTr(`bookNowLabel`),
|
|
427
|
-
url: '',
|
|
428
|
-
type: 'booking-section',
|
|
429
|
-
descriptionStyle: {
|
|
430
|
-
applyAutoScale: options?.brandPageType === BRAND_PAGE_TYPES.brandSite,
|
|
431
|
-
textStyleType: TEXT_STYLE_TYPES.paragraphs,
|
|
432
|
-
textAlign: 'center',
|
|
433
|
-
},
|
|
434
|
-
titleStyle: {
|
|
435
|
-
applyAutoScale: options?.brandPageType === BRAND_PAGE_TYPES.brandSite,
|
|
436
|
-
textStyleType: TEXT_STYLE_TYPES.titles,
|
|
437
|
-
textAlign: 'center',
|
|
438
|
-
},
|
|
439
|
-
backgroundStyle: {},
|
|
440
|
-
pageSlug: '',
|
|
441
|
-
buttonLinkType: BUTTON_LINK_TYPE.url,
|
|
442
|
-
buttonTextStyle: {
|
|
443
|
-
applyAutoScale: options?.brandPageType === BRAND_PAGE_TYPES.brandSite,
|
|
444
|
-
textStyleType: TEXT_STYLE_TYPES.buttons,
|
|
445
|
-
textAlign: 'center',
|
|
446
|
-
},
|
|
447
|
-
};
|
|
448
|
-
};
|
|
449
421
|
export const createInitialImagesSectionContent = (options) => {
|
|
450
422
|
return {
|
|
451
423
|
id: uuid.v4(),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type BannerSectionContent
|
|
1
|
+
import { type BannerSectionContent } from '../../brand-page/models';
|
|
2
2
|
import type { ContentValidator } from '../models';
|
|
3
3
|
export declare const textValidator: ContentValidator<BannerSectionContent>;
|
|
4
|
-
export declare const urlValidator: ContentValidator<BannerSectionContent
|
|
5
|
-
export declare const pageValidator: ContentValidator<BannerSectionContent
|
|
4
|
+
export declare const urlValidator: ContentValidator<BannerSectionContent>;
|
|
5
|
+
export declare const pageValidator: ContentValidator<BannerSectionContent>;
|