@designcrowd/library.brand-page 5.15.15 → 5.15.16

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.
Files changed (51) hide show
  1. package/lib/src/{CreatedOnBrandCrowd-de-de-BNvtpPPA.js → CreatedOnBrandCrowd-de-de-DwjHHx8U.js} +1 -1
  2. package/lib/src/{CreatedOnBrandCrowd-en-us-vHU7i_Mj.js → CreatedOnBrandCrowd-en-us-wnQWDaLj.js} +1 -1
  3. package/lib/src/{CreatedOnBrandCrowd-es-es-C7pit2TS.js → CreatedOnBrandCrowd-es-es-BPLwmFYf.js} +1 -1
  4. package/lib/src/{CreatedOnBrandCrowd-fr-fr-e6WnPYat.js → CreatedOnBrandCrowd-fr-ca-ZLo9mFvK.js} +1 -1
  5. package/lib/src/{CreatedOnBrandCrowd-fr-ca-e6WnPYat.js → CreatedOnBrandCrowd-fr-fr-ZLo9mFvK.js} +1 -1
  6. package/lib/src/{CreatedOnBrandCrowd-pt-pt-B5aMx0wm.js → CreatedOnBrandCrowd-pt-br-PeE8kWqc.js} +1 -1
  7. package/lib/src/{CreatedOnBrandCrowd-pt-br-B5aMx0wm.js → CreatedOnBrandCrowd-pt-pt-PeE8kWqc.js} +1 -1
  8. package/lib/src/{CreatedOnDcom-de-de-DmuOIsHU.js → CreatedOnDcom-de-de-DckpvOP7.js} +1 -1
  9. package/lib/src/{CreatedOnDcom-en-us-DjslKboi.js → CreatedOnDcom-en-us-CFzquTUz.js} +1 -1
  10. package/lib/src/{CreatedOnDcom-es-es-4cMslgx6.js → CreatedOnDcom-es-es-BpbcQQtf.js} +1 -1
  11. package/lib/src/{CreatedOnDcom-fr-ca-BnbwaXKX.js → CreatedOnDcom-fr-ca-bV4zOxfZ.js} +1 -1
  12. package/lib/src/{CreatedOnDcom-fr-fr-CXnxo5vk.js → CreatedOnDcom-fr-fr-dGkZsGAG.js} +1 -1
  13. package/lib/src/{CreatedOnDcom-pt-br-I08Rppvc.js → CreatedOnDcom-pt-br-C2hFs0vl.js} +1 -1
  14. package/lib/src/{CreatedOnDcom-pt-pt-dGF21lwx.js → CreatedOnDcom-pt-pt-VWtI0WwK.js} +1 -1
  15. package/lib/src/brand-page-maker/components/action-bar/ActionBar.mixin.d.ts +1 -0
  16. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +5 -1
  17. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.js +36 -3
  18. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMakerTemplateSettings.mixin.d.ts +1 -0
  19. package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +1 -0
  20. package/lib/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.mixin.d.ts +1 -0
  21. package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.d.ts +1 -0
  22. package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.d.ts +1 -0
  23. package/lib/src/brand-page-maker/components/social-share/SocialShare.mixin.d.ts +1 -0
  24. package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.d.ts +1 -0
  25. package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.d.ts +2 -0
  26. package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.js +4 -0
  27. package/lib/src/clients/asset-library-clients.d.ts +2 -0
  28. package/lib/src/clients/asset-library-clients.js +15 -0
  29. package/lib/src/css/library.brand-page-brandCrowd.min.css +6 -6
  30. package/lib/src/css/library.brand-page-brandPage.min.css +6 -6
  31. package/lib/src/css/library.brand-page-designCom.min.css +6 -6
  32. package/lib/src/css/library.brand-page-preview.min.css +6 -6
  33. package/lib/src/index.mjs +1 -1
  34. package/lib/src/{lib-CbIkCgrh.js → lib-DaxXE-vZ.js} +9055 -9008
  35. package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.d.ts +1 -0
  36. package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.d.ts +1 -0
  37. package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.d.ts +1 -0
  38. package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +1 -0
  39. package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +1 -0
  40. package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +1 -0
  41. package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +1 -0
  42. package/lib/src/shared/side-bar/components/SideBar.mixin.d.ts +1 -0
  43. package/lib/src/shared/side-bar/components/SideBar.mixin.js +6 -1
  44. package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +1 -0
  45. package/package.json +1 -1
  46. package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.ts +40 -4
  47. package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.vue +9 -1
  48. package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +5 -0
  49. package/src/clients/asset-library-clients.ts +20 -0
  50. package/src/shared/side-bar/components/SideBar.mixin.ts +7 -0
  51. package/src/shared/side-bar/components/SideBar.vue +9 -1
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-CbIkCgrh.js";
2
+ import { _ as t } from "./lib-DaxXE-vZ.js";
3
3
  const i = {}, h = {
4
4
  width: "275",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-CbIkCgrh.js";
2
+ import { _ as t } from "./lib-DaxXE-vZ.js";
3
3
  const i = {}, h = {
4
4
  width: "251",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-CbIkCgrh.js";
2
+ import { _ as t } from "./lib-DaxXE-vZ.js";
3
3
  const i = {}, h = {
4
4
  width: "250",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-CbIkCgrh.js";
2
+ import { _ as t } from "./lib-DaxXE-vZ.js";
3
3
  const i = {}, h = {
4
4
  width: "237",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-CbIkCgrh.js";
2
+ import { _ as t } from "./lib-DaxXE-vZ.js";
3
3
  const i = {}, h = {
4
4
  width: "237",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-CbIkCgrh.js";
2
+ import { _ as t } from "./lib-DaxXE-vZ.js";
3
3
  const i = {}, h = {
4
4
  width: "263",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-CbIkCgrh.js";
2
+ import { _ as t } from "./lib-DaxXE-vZ.js";
3
3
  const i = {}, h = {
4
4
  width: "263",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as H, openBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-CbIkCgrh.js";
2
+ import { _ as e } from "./lib-DaxXE-vZ.js";
3
3
  const M = {}, Z = {
4
4
  width: "242",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as H, openBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-CbIkCgrh.js";
2
+ import { _ as e } from "./lib-DaxXE-vZ.js";
3
3
  const i = {}, M = {
4
4
  width: "231",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as H, openBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-CbIkCgrh.js";
2
+ import { _ as e } from "./lib-DaxXE-vZ.js";
3
3
  const M = {}, Z = {
4
4
  width: "230",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as H, openBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-CbIkCgrh.js";
2
+ import { _ as e } from "./lib-DaxXE-vZ.js";
3
3
  const i = {}, l = {
4
4
  width: "216",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as H, openBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-CbIkCgrh.js";
2
+ import { _ as e } from "./lib-DaxXE-vZ.js";
3
3
  const i = {}, l = {
4
4
  width: "216",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as H, openBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as M } from "./lib-CbIkCgrh.js";
2
+ import { _ as M } from "./lib-DaxXE-vZ.js";
3
3
  const Z = {}, e = {
4
4
  width: "232",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as H, openBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as M } from "./lib-CbIkCgrh.js";
2
+ import { _ as M } from "./lib-DaxXE-vZ.js";
3
3
  const Z = {}, e = {
4
4
  width: "232",
5
5
  height: "36",
@@ -82,6 +82,7 @@ declare const _default: import("vue").DefineComponent<{}, {
82
82
  setIsInitialising(payload: {
83
83
  isInitialising: boolean;
84
84
  }): void;
85
+ setIsBrandPageLoaded(isLoaded: boolean): void;
85
86
  setIsModifiedAfterTemplateApplied({ isModified, }?: import("../../stores").SetIsModifiedPayload): void;
86
87
  setSelectedTemplateId(payload: {
87
88
  templateId: string | false;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="types/lodash-shims" />
2
2
  import type { PropType } from 'vue';
3
3
  import type { DebounceHandle } from 'lodash.debounce';
4
- import { type BrandPageType, type ViewportsType, type UserPersonalisationContent } from '../../../brand-page';
4
+ import { type BrandPageData, type BrandPageType, type ViewportsType, type UserPersonalisationContent } from '../../../brand-page';
5
5
  import type { InitialCategories, TemplateCategory } from '../../../shared/template-settings/models';
6
6
  import type { UserFeatures } from '../../stores';
7
7
  import { type LogoDesignAttributesModel } from '../../../shared/models';
@@ -10,6 +10,7 @@ import type { UpdateItemValuePayload } from '../../../shared/content-settings/mo
10
10
  export interface BrandPageMakerViewModel {
11
11
  adminPreviewLogoTemplateModels?: AdminPreviewLogoTemplateModel[];
12
12
  brandPageData?: string;
13
+ brandPageMetadataS3Url?: string;
13
14
  emailAddress: string;
14
15
  features: UserFeatures;
15
16
  logoVariationImageUrls: string[];
@@ -124,6 +125,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
124
125
  setIsInitialising(payload: {
125
126
  isInitialising: boolean;
126
127
  }): void;
128
+ setIsBrandPageLoaded(isLoaded: boolean): void;
127
129
  setIsModifiedAfterTemplateApplied({ isModified, }?: import("../../stores").SetIsModifiedPayload): void;
128
130
  setSelectedTemplateId(payload: {
129
131
  templateId: string | false;
@@ -1136,11 +1138,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1136
1138
  router: import("vue-router").Router;
1137
1139
  }, {
1138
1140
  mounted: boolean;
1141
+ isBrandPageLoaded: boolean;
1139
1142
  debounceOnResize: DebounceHandle | undefined;
1140
1143
  showSaveSuccessMessage: boolean;
1141
1144
  }, {
1142
1145
  previewContainer(): any;
1143
1146
  }, {
1147
+ getBrandPageFromFallback(viewModel: any): BrandPageData;
1144
1148
  onResizeWithDebounce(): void;
1145
1149
  onResize(): void;
1146
1150
  setUiScreenSizeModeBasedOnDeviceWidth(): void;
@@ -16,6 +16,7 @@ import { useUiTemplateSettingsStore } from '../../../shared/template-settings/st
16
16
  import { useUiPageSettingsStore } from '../../../shared/page-settings/store';
17
17
  import { useRouter } from 'vue-router';
18
18
  import { FabricRenderClient } from '../../../clients/fabric-render-client';
19
+ import AssetLibraryClient from '../../../clients/asset-library-clients';
19
20
  import { useShopConfigStore } from '../../../shared/ecommerce-settings/store/shop-settings-store';
20
21
  import { useProductConfigStore } from '../../../brand-page-maker/stores/product-config/product-config-store';
21
22
  import { UPGRADE_CTA_LOCATIONS } from '../../composables/useEventTracker';
@@ -83,6 +84,7 @@ export default defineComponent({
83
84
  data() {
84
85
  return {
85
86
  mounted: false,
87
+ isBrandPageLoaded: false,
86
88
  debounceOnResize: undefined,
87
89
  showSaveSuccessMessage: false,
88
90
  };
@@ -97,9 +99,22 @@ export default defineComponent({
97
99
  typeof this.viewModel?.logoDraftDesignAttributes.logoTheme !== 'object') {
98
100
  console.error('logo theme is missing');
99
101
  }
100
- const brandPage = typeof this.viewModel?.brandPageData === 'string'
101
- ? JSON.parse(this.viewModel.brandPageData)
102
- : createInitialBrandPage(this.viewModel.brandPageType);
102
+ let brandPage;
103
+ if (this.viewModel?.brandPageMetadataS3Url) {
104
+ const assetClient = new AssetLibraryClient({
105
+ baseUrl: '',
106
+ });
107
+ const metadata = await assetClient.getBrandPageMetadataAsync(this.viewModel.brandPageMetadataS3Url);
108
+ if (metadata) {
109
+ brandPage = metadata;
110
+ }
111
+ else {
112
+ brandPage = this.getBrandPageFromFallback(this.viewModel);
113
+ }
114
+ }
115
+ else {
116
+ brandPage = this.getBrandPageFromFallback(this.viewModel);
117
+ }
103
118
  const shopConfigData = this.viewModel?.shopConfigData?.trim()
104
119
  ? JSON.parse(this.viewModel.shopConfigData)
105
120
  : null;
@@ -147,6 +162,16 @@ export default defineComponent({
147
162
  navigateToPageBySlug(this.brandPageViewModel.pages[0].slug);
148
163
  }
149
164
  this.brandPageMakerStore.selectInitialCategories(this.viewModel.initialCategories);
165
+ // Mark brand page as fully loaded
166
+ this.isBrandPageLoaded = true;
167
+ this.brandPageMakerStore.setIsBrandPageLoaded(true);
168
+ // set initial screen size mode
169
+ if (this.isBrandPageOrIsBrandContact) {
170
+ this.brandPageMakerStore.setViewport({ viewport: VIEWPORTS.mobile });
171
+ }
172
+ else {
173
+ this.setViewportBasedOnDeviceWidth(true);
174
+ }
150
175
  this.$emit(EVENTS.Initialised);
151
176
  },
152
177
  mounted() {
@@ -173,6 +198,14 @@ export default defineComponent({
173
198
  }, 800);
174
199
  },
175
200
  methods: {
201
+ getBrandPageFromFallback(viewModel) {
202
+ if (typeof viewModel?.brandPageData === 'string') {
203
+ return JSON.parse(viewModel.brandPageData);
204
+ }
205
+ else {
206
+ return createInitialBrandPage(viewModel.brandPageType);
207
+ }
208
+ },
176
209
  onResizeWithDebounce() {
177
210
  if (this.debounceOnResize) {
178
211
  this.debounceOnResize();
@@ -72,6 +72,7 @@ declare const _default: import("vue").DefineComponent<{}, {
72
72
  setIsInitialising(payload: {
73
73
  isInitialising: boolean;
74
74
  }): void;
75
+ setIsBrandPageLoaded(isLoaded: boolean): void;
75
76
  setIsModifiedAfterTemplateApplied({ isModified, }?: import("../../stores").SetIsModifiedPayload): void;
76
77
  setSelectedTemplateId(payload: {
77
78
  templateId: string | false;
@@ -577,6 +577,7 @@ declare const _default: import("vue").DefineComponent<{}, {
577
577
  setIsInitialising(payload: {
578
578
  isInitialising: boolean;
579
579
  }): void;
580
+ setIsBrandPageLoaded(isLoaded: boolean): void;
580
581
  setIsModifiedAfterTemplateApplied({ isModified, }?: import("../../stores").SetIsModifiedPayload): void;
581
582
  setSelectedTemplateId(payload: {
582
583
  templateId: string | false;
@@ -79,6 +79,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
79
79
  setIsInitialising(payload: {
80
80
  isInitialising: boolean;
81
81
  }): void;
82
+ setIsBrandPageLoaded(isLoaded: boolean): void;
82
83
  setIsModifiedAfterTemplateApplied({ isModified, }?: import("../../stores").SetIsModifiedPayload): void;
83
84
  setSelectedTemplateId(payload: {
84
85
  templateId: string | false;
@@ -316,6 +316,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
316
316
  setIsInitialising(payload: {
317
317
  isInitialising: boolean;
318
318
  }): void;
319
+ setIsBrandPageLoaded(isLoaded: boolean): void;
319
320
  setIsModifiedAfterTemplateApplied({ isModified, }?: import("../../stores").SetIsModifiedPayload): void;
320
321
  setSelectedTemplateId(payload: {
321
322
  templateId: string | false;
@@ -315,6 +315,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
315
315
  setIsInitialising(payload: {
316
316
  isInitialising: boolean;
317
317
  }): void;
318
+ setIsBrandPageLoaded(isLoaded: boolean): void;
318
319
  setIsModifiedAfterTemplateApplied({ isModified, }?: import("../../stores").SetIsModifiedPayload): void;
319
320
  setSelectedTemplateId(payload: {
320
321
  templateId: string | false;
@@ -89,6 +89,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
89
89
  setIsInitialising(payload: {
90
90
  isInitialising: boolean;
91
91
  }): void;
92
+ setIsBrandPageLoaded(isLoaded: boolean): void;
92
93
  setIsModifiedAfterTemplateApplied({ isModified, }?: import("../../stores").SetIsModifiedPayload): void;
93
94
  setSelectedTemplateId(payload: {
94
95
  templateId: string | false;
@@ -131,6 +131,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
131
131
  setIsInitialising(payload: {
132
132
  isInitialising: boolean;
133
133
  }): void;
134
+ setIsBrandPageLoaded(isLoaded: boolean): void;
134
135
  setIsModifiedAfterTemplateApplied({ isModified, }?: import("../../stores").SetIsModifiedPayload): void;
135
136
  setSelectedTemplateId(payload: {
136
137
  templateId: string | false;
@@ -37,6 +37,7 @@ export interface BrandPageMakerState {
37
37
  isPageNavigating: boolean;
38
38
  isChangeTemplateConfirmModalVisible: boolean;
39
39
  isInitialising: boolean;
40
+ isBrandPageLoaded: boolean;
40
41
  isModifiedAfterTemplateApplied: boolean;
41
42
  notificationMessageQueue: NotificationMessage[];
42
43
  selectedTemplateId: string | false;
@@ -152,6 +153,7 @@ export declare const useBrandPageMakerStore: import("pinia").StoreDefinition<"br
152
153
  setIsInitialising(payload: {
153
154
  isInitialising: boolean;
154
155
  }): void;
156
+ setIsBrandPageLoaded(isLoaded: boolean): void;
155
157
  setIsModifiedAfterTemplateApplied({ isModified, }?: SetIsModifiedPayload): void;
156
158
  setSelectedTemplateId(payload: {
157
159
  templateId: string | false;
@@ -46,6 +46,7 @@ export const useBrandPageMakerStore = defineStore('brandPageMaker', {
46
46
  isApplyingTemplate: false,
47
47
  isChangeTemplateConfirmModalVisible: false,
48
48
  isInitialising: false,
49
+ isBrandPageLoaded: false,
49
50
  isPageNavigating: false,
50
51
  isModifiedAfterTemplateApplied: false,
51
52
  notificationMessageQueue: [],
@@ -141,6 +142,9 @@ export const useBrandPageMakerStore = defineStore('brandPageMaker', {
141
142
  setIsInitialising(payload) {
142
143
  this.isInitialising = payload.isInitialising;
143
144
  },
145
+ setIsBrandPageLoaded(isLoaded) {
146
+ this.isBrandPageLoaded = isLoaded;
147
+ },
144
148
  setIsModifiedAfterTemplateApplied({ isModified, } = {}) {
145
149
  const sideBarStore = useUiSideBarStore();
146
150
  if (this.isApplyingTemplate ||
@@ -1,5 +1,6 @@
1
1
  import type { LocaleTypes } from '../composables/useTranslate';
2
2
  import type { ShapeCategoryModel, ShapeSearchResponseModel } from '../models/shapeModels';
3
+ import type { BrandPageData } from '../brand-page';
3
4
  export default class AssetLibraryClient {
4
5
  baseUrl: string;
5
6
  fontApiVersion: number | null;
@@ -12,4 +13,5 @@ export default class AssetLibraryClient {
12
13
  getFonts(): Promise<any>;
13
14
  getShapeCategoriesAsync(locale: LocaleTypes): Promise<ShapeCategoryModel[]>;
14
15
  getShapesBySearchTermOrCategoryAsync(searchTerm: string | null, category: string | null, page: number, pageSize: number, locale: LocaleTypes, makerMode?: string, includeDisabled?: boolean, pageName?: string, pageSection?: string, templateType?: string, searchId?: string): Promise<ShapeSearchResponseModel>;
16
+ getBrandPageMetadataAsync(s3Url: string): Promise<BrandPageData | null>;
15
17
  }
@@ -59,4 +59,19 @@ export default class AssetLibraryClient {
59
59
  return response.data;
60
60
  });
61
61
  }
62
+ async getBrandPageMetadataAsync(s3Url) {
63
+ try {
64
+ const response = await axios.get(s3Url, {
65
+ timeout: 30000,
66
+ headers: {
67
+ Accept: 'application/json',
68
+ },
69
+ });
70
+ return response.data;
71
+ }
72
+ catch (error) {
73
+ console.error('Error fetching brand page metadata:', error);
74
+ return null;
75
+ }
76
+ }
62
77
  }
@@ -8656,7 +8656,7 @@ input[type='number'][data-v-28a532b4] {
8656
8656
  margin-bottom: 1.5rem
8657
8657
  }
8658
8658
 
8659
- .c-brand-page-maker[data-v-bb330212] {
8659
+ .c-brand-page-maker[data-v-7ffa5653] {
8660
8660
  --navigation-height-desktop: 64px;
8661
8661
  --navigation-height-mobile: 96px;
8662
8662
  --maker-height: 100vh;
@@ -8666,10 +8666,10 @@ input[type='number'][data-v-28a532b4] {
8666
8666
  height: calc(var(--maker-height) - var(--mobile-sidebar-bottom-height));
8667
8667
  padding-top: var(--navigation-height-mobile);
8668
8668
  }
8669
- .c-brand-page-maker__inner[data-v-bb330212] {
8669
+ .c-brand-page-maker__inner[data-v-7ffa5653] {
8670
8670
  height: 100%;
8671
8671
  }
8672
- .c-save-bar[data-v-bb330212] {
8672
+ .c-save-bar[data-v-7ffa5653] {
8673
8673
  position: absolute;
8674
8674
  top: 0px;
8675
8675
  left: 0px;
@@ -8691,7 +8691,7 @@ input[type='number'][data-v-28a532b4] {
8691
8691
  -webkit-transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
8692
8692
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
8693
8693
  }
8694
- .c-save-bar--visible[data-v-bb330212] {
8694
+ .c-save-bar--visible[data-v-7ffa5653] {
8695
8695
  visibility: visible !important;
8696
8696
  --tw-translate-y: 0px !important;
8697
8697
  -webkit-transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;
@@ -8701,11 +8701,11 @@ input[type='number'][data-v-28a532b4] {
8701
8701
  transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
8702
8702
  }
8703
8703
  @media (min-width: 1024px) {
8704
- .c-brand-page-maker[data-v-bb330212] {
8704
+ .c-brand-page-maker[data-v-7ffa5653] {
8705
8705
  height: calc(var(--maker-height) - var(--navigation-height-desktop));
8706
8706
  padding-top: 0px;
8707
8707
  }
8708
- .c-brand-page-maker__inner[data-v-bb330212] {
8708
+ .c-brand-page-maker__inner[data-v-7ffa5653] {
8709
8709
  height: 100%;
8710
8710
  }
8711
8711
  }
@@ -8984,7 +8984,7 @@ input[type='number'][data-v-28a532b4] {
8984
8984
  margin-bottom: 1.5rem
8985
8985
  }
8986
8986
 
8987
- .c-brand-page-maker[data-v-bb330212] {
8987
+ .c-brand-page-maker[data-v-7ffa5653] {
8988
8988
  --navigation-height-desktop: 64px;
8989
8989
  --navigation-height-mobile: 96px;
8990
8990
  --maker-height: 100vh;
@@ -8994,10 +8994,10 @@ input[type='number'][data-v-28a532b4] {
8994
8994
  height: calc(var(--maker-height) - var(--mobile-sidebar-bottom-height));
8995
8995
  padding-top: var(--navigation-height-mobile);
8996
8996
  }
8997
- .c-brand-page-maker__inner[data-v-bb330212] {
8997
+ .c-brand-page-maker__inner[data-v-7ffa5653] {
8998
8998
  height: 100%;
8999
8999
  }
9000
- .c-save-bar[data-v-bb330212] {
9000
+ .c-save-bar[data-v-7ffa5653] {
9001
9001
  position: absolute;
9002
9002
  top: 0px;
9003
9003
  left: 0px;
@@ -9019,7 +9019,7 @@ input[type='number'][data-v-28a532b4] {
9019
9019
  -webkit-transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
9020
9020
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
9021
9021
  }
9022
- .c-save-bar--visible[data-v-bb330212] {
9022
+ .c-save-bar--visible[data-v-7ffa5653] {
9023
9023
  visibility: visible !important;
9024
9024
  --tw-translate-y: 0px !important;
9025
9025
  -webkit-transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;
@@ -9029,11 +9029,11 @@ input[type='number'][data-v-28a532b4] {
9029
9029
  transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
9030
9030
  }
9031
9031
  @media (min-width: 1024px) {
9032
- .c-brand-page-maker[data-v-bb330212] {
9032
+ .c-brand-page-maker[data-v-7ffa5653] {
9033
9033
  height: calc(var(--maker-height) - var(--navigation-height-desktop));
9034
9034
  padding-top: 0px;
9035
9035
  }
9036
- .c-brand-page-maker__inner[data-v-bb330212] {
9036
+ .c-brand-page-maker__inner[data-v-7ffa5653] {
9037
9037
  height: 100%;
9038
9038
  }
9039
9039
  }
@@ -8674,7 +8674,7 @@ input[type='number'][data-v-28a532b4] {
8674
8674
  margin-bottom: 1.5rem
8675
8675
  }
8676
8676
 
8677
- .c-brand-page-maker[data-v-bb330212] {
8677
+ .c-brand-page-maker[data-v-7ffa5653] {
8678
8678
  --navigation-height-desktop: 64px;
8679
8679
  --navigation-height-mobile: 96px;
8680
8680
  --maker-height: 100vh;
@@ -8684,10 +8684,10 @@ input[type='number'][data-v-28a532b4] {
8684
8684
  height: calc(var(--maker-height) - var(--mobile-sidebar-bottom-height));
8685
8685
  padding-top: var(--navigation-height-mobile);
8686
8686
  }
8687
- .c-brand-page-maker__inner[data-v-bb330212] {
8687
+ .c-brand-page-maker__inner[data-v-7ffa5653] {
8688
8688
  height: 100%;
8689
8689
  }
8690
- .c-save-bar[data-v-bb330212] {
8690
+ .c-save-bar[data-v-7ffa5653] {
8691
8691
  position: absolute;
8692
8692
  top: 0px;
8693
8693
  left: 0px;
@@ -8709,7 +8709,7 @@ input[type='number'][data-v-28a532b4] {
8709
8709
  -webkit-transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
8710
8710
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
8711
8711
  }
8712
- .c-save-bar--visible[data-v-bb330212] {
8712
+ .c-save-bar--visible[data-v-7ffa5653] {
8713
8713
  visibility: visible !important;
8714
8714
  --tw-translate-y: 0px !important;
8715
8715
  -webkit-transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;
@@ -8719,11 +8719,11 @@ input[type='number'][data-v-28a532b4] {
8719
8719
  transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
8720
8720
  }
8721
8721
  @media (min-width: 1024px) {
8722
- .c-brand-page-maker[data-v-bb330212] {
8722
+ .c-brand-page-maker[data-v-7ffa5653] {
8723
8723
  height: calc(var(--maker-height) - var(--navigation-height-desktop));
8724
8724
  padding-top: 0px;
8725
8725
  }
8726
- .c-brand-page-maker__inner[data-v-bb330212] {
8726
+ .c-brand-page-maker__inner[data-v-7ffa5653] {
8727
8727
  height: 100%;
8728
8728
  }
8729
8729
  }
@@ -8416,7 +8416,7 @@ input[type='number'][data-v-28a532b4] {
8416
8416
  margin-bottom: 1.5rem
8417
8417
  }
8418
8418
 
8419
- .bp .c-brand-page-maker[data-v-bb330212] {
8419
+ .bp .c-brand-page-maker[data-v-7ffa5653] {
8420
8420
  --navigation-height-desktop: 64px;
8421
8421
  --navigation-height-mobile: 96px;
8422
8422
  --maker-height: 100vh;
@@ -8426,10 +8426,10 @@ input[type='number'][data-v-28a532b4] {
8426
8426
  height: calc(var(--maker-height) - var(--mobile-sidebar-bottom-height));
8427
8427
  padding-top: var(--navigation-height-mobile);
8428
8428
  }
8429
- .bp .c-brand-page-maker__inner[data-v-bb330212] {
8429
+ .bp .c-brand-page-maker__inner[data-v-7ffa5653] {
8430
8430
  height: 100%;
8431
8431
  }
8432
- .bp .c-save-bar[data-v-bb330212] {
8432
+ .bp .c-save-bar[data-v-7ffa5653] {
8433
8433
  position: absolute;
8434
8434
  top: 0px;
8435
8435
  left: 0px;
@@ -8451,7 +8451,7 @@ input[type='number'][data-v-28a532b4] {
8451
8451
  -webkit-transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
8452
8452
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
8453
8453
  }
8454
- .bp .c-save-bar--visible[data-v-bb330212] {
8454
+ .bp .c-save-bar--visible[data-v-7ffa5653] {
8455
8455
  visibility: visible !important;
8456
8456
  --tw-translate-y: 0px !important;
8457
8457
  -webkit-transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;
@@ -8461,11 +8461,11 @@ input[type='number'][data-v-28a532b4] {
8461
8461
  transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
8462
8462
  }
8463
8463
  @media (min-width: 1024px) {
8464
- .bp .c-brand-page-maker[data-v-bb330212] {
8464
+ .bp .c-brand-page-maker[data-v-7ffa5653] {
8465
8465
  height: calc(var(--maker-height) - var(--navigation-height-desktop));
8466
8466
  padding-top: 0px;
8467
8467
  }
8468
- .bp .c-brand-page-maker__inner[data-v-bb330212] {
8468
+ .bp .c-brand-page-maker__inner[data-v-7ffa5653] {
8469
8469
  height: 100%;
8470
8470
  }
8471
8471
  }
package/lib/src/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { bA as E, ao as T, aR as I, a4 as N, ah as S, ae as s, bq as A, bH as O, c8 as e, c7 as G, c6 as C, c0 as D, a$ as P, a_ as R, bM as t, bN as L, bU as M, bJ as o, bL as b, bK as r, bO as F, bP as n, b$ as B, bZ as l, an as g, b_ as i, a7 as Y, aW as U, aY as c, aX as d, e as u, f as H, B as p, Z as y, d as K, $ as k, j as V, ak as X, Y as m, bp as v, bI as h, av as W, aT as x, aP as f, bX as z, bW as Z, C as w, b2 as Q, D as j, b as q, a as J, bS as $, b1 as aa, aU as _a, aQ as Ea, c4 as Ta, c5 as Ia, bV as Na, bE as Sa, ac as sa, bY as Aa, c1 as Oa, b7 as ea, aH as Ga, bd as Ca, F as Da, a6 as Pa, a5 as Ra, h as ta, a0 as La, b4 as Ma, aS as oa, aO as ba, a2 as ra, l as Fa, J as na, H as Ba, a8 as la, bB as ga, b8 as ia, b9 as Ya, bz as Ua, bf as ca, bh as da, b3 as ua, L as Ha, aG as pa, bm as ya, aM as Ka, bl as ka, ap as Va, aa as Xa, bT as ma, c2 as va, c3 as ha, aV as Wa, N as xa, ay as fa, ax as za, az as Za, at as wa, au as Qa, aw as ja, bb as qa, bi as Ja, b5 as $a, o as a_, ai as __, aj as E_, af as T_, ag as I_, ad as N_, a3 as S_, m as s_, bn as A_, am as O_, bF as e_, bG as G_, bR as C_, ab as D_, bD as P_, bo as R_, n as t_, S as L_, P as M_, aF as o_, bC as b_, bc as r_, bu as F_, bt as n_, bw as B_, br as l_, bx as g_, by as i_, bs as Y_, bv as U_, aA as c_, aB as d_, bk as u_, bj as H_, aD as p_, aE as y_, aJ as K_, aZ as k_, aI as V_, aK as X_, U as m_, a9 as v_, aN as h_, k as W_, ba as x_, al as f_, b6 as z_, be as Z_, bg as w_, b0 as Q_, O as j_, a1 as q_, g as J_, bQ as $_, r as aE, u as _E, K as EE, X as TE, aC as IE, aL as NE, ar as SE, p as sE, V as AE, t as OE, w as eE, aq as GE, i as CE, as as DE, c as PE, q as RE, v as tE, T as LE, M as ME, s as oE, W as bE, A as rE, x as FE, y as nE, R as BE, E as lE, Q as gE, G as iE, I as YE, z as UE } from "./lib-CbIkCgrh.js";
1
+ import { bA as E, ao as T, aR as I, a4 as N, ah as S, ae as s, bq as A, bH as O, c8 as e, c7 as G, c6 as C, c0 as D, a$ as P, a_ as R, bM as t, bN as L, bU as M, bJ as o, bL as b, bK as r, bO as F, bP as n, b$ as B, bZ as l, an as g, b_ as i, a7 as Y, aW as U, aY as c, aX as d, e as u, f as H, B as p, Z as y, d as K, $ as k, j as V, ak as X, Y as m, bp as v, bI as h, av as W, aT as x, aP as f, bX as z, bW as Z, C as w, b2 as Q, D as j, b as q, a as J, bS as $, b1 as aa, aU as _a, aQ as Ea, c4 as Ta, c5 as Ia, bV as Na, bE as Sa, ac as sa, bY as Aa, c1 as Oa, b7 as ea, aH as Ga, bd as Ca, F as Da, a6 as Pa, a5 as Ra, h as ta, a0 as La, b4 as Ma, aS as oa, aO as ba, a2 as ra, l as Fa, J as na, H as Ba, a8 as la, bB as ga, b8 as ia, b9 as Ya, bz as Ua, bf as ca, bh as da, b3 as ua, L as Ha, aG as pa, bm as ya, aM as Ka, bl as ka, ap as Va, aa as Xa, bT as ma, c2 as va, c3 as ha, aV as Wa, N as xa, ay as fa, ax as za, az as Za, at as wa, au as Qa, aw as ja, bb as qa, bi as Ja, b5 as $a, o as a_, ai as __, aj as E_, af as T_, ag as I_, ad as N_, a3 as S_, m as s_, bn as A_, am as O_, bF as e_, bG as G_, bR as C_, ab as D_, bD as P_, bo as R_, n as t_, S as L_, P as M_, aF as o_, bC as b_, bc as r_, bu as F_, bt as n_, bw as B_, br as l_, bx as g_, by as i_, bs as Y_, bv as U_, aA as c_, aB as d_, bk as u_, bj as H_, aD as p_, aE as y_, aJ as K_, aZ as k_, aI as V_, aK as X_, U as m_, a9 as v_, aN as h_, k as W_, ba as x_, al as f_, b6 as z_, be as Z_, bg as w_, b0 as Q_, O as j_, a1 as q_, g as J_, bQ as $_, r as aE, u as _E, K as EE, X as TE, aC as IE, aL as NE, ar as SE, p as sE, V as AE, t as OE, w as eE, aq as GE, i as CE, as as DE, c as PE, q as RE, v as tE, T as LE, M as ME, s as oE, W as bE, A as rE, x as FE, y as nE, R as BE, E as lE, Q as gE, G as iE, I as YE, z as UE } from "./lib-DaxXE-vZ.js";
2
2
  import { createPinia as dE, setActivePinia as uE } from "pinia";
3
3
  export {
4
4
  E as ABOUT_SECTION_SETTINGS_CONFIG,