@designcrowd/library.brand-page 5.12.16-content-state-1 → 5.12.17

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 (55) hide show
  1. package/lib/src/{CreatedOnBrandCrowd-de-de-BoL4Dx0-.js → CreatedOnBrandCrowd-de-de-SuRBYEOK.js} +1 -1
  2. package/lib/src/{CreatedOnBrandCrowd-en-us-DjV7HGJ_.js → CreatedOnBrandCrowd-en-us-nRsOUZ3P.js} +1 -1
  3. package/lib/src/{CreatedOnBrandCrowd-es-es-D6ryonM5.js → CreatedOnBrandCrowd-es-es-ClBEtWuB.js} +1 -1
  4. package/lib/src/{CreatedOnBrandCrowd-fr-fr-Cdaa3YOJ.js → CreatedOnBrandCrowd-fr-fr-K4MC8Ylw.js} +1 -1
  5. package/lib/src/{CreatedOnBrandCrowd-pt-pt-cwahhB0y.js → CreatedOnBrandCrowd-pt-pt-CVu8GWB4.js} +1 -1
  6. package/lib/src/{CreatedOnDcom-de-de-D9Nz1pAf.js → CreatedOnDcom-de-de-CKGT_xy8.js} +1 -1
  7. package/lib/src/{CreatedOnDcom-en-us-BVf4Eyhm.js → CreatedOnDcom-en-us-DwqjHxyq.js} +1 -1
  8. package/lib/src/{CreatedOnDcom-es-es-B43J_Kvm.js → CreatedOnDcom-es-es-BMx0XD9Y.js} +1 -1
  9. package/lib/src/{CreatedOnDcom-fr-fr-qbrxsIdn.js → CreatedOnDcom-fr-fr-WgW2vbbI.js} +1 -1
  10. package/lib/src/{CreatedOnDcom-pt-pt-gRaaUntX.js → CreatedOnDcom-pt-pt-BZJmhI7K.js} +1 -1
  11. package/lib/src/brand-page/components/icon/Icon.mixin.d.ts +1 -0
  12. package/lib/src/brand-page/components/icon/Icon.mixin.js +2 -0
  13. package/lib/src/brand-page/utils/migration/migration-051.d.ts +4 -0
  14. package/lib/src/brand-page/utils/migration/migration-051.js +18 -0
  15. package/lib/src/brand-page/utils/migration.util.js +5 -0
  16. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +5 -0
  17. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.js +1 -0
  18. package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +2 -0
  19. package/lib/src/brand-page-maker/components/quick-link-bar/QuickLinkBar.mixin.d.ts +2 -0
  20. package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.d.ts +2 -0
  21. package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.d.ts +2 -0
  22. package/lib/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.mixin.d.ts +2 -0
  23. package/lib/src/brand-page-maker/components/upgrade-to-premium-button/UpgradeToPremiumButton.mixin.d.ts +2 -0
  24. package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.d.ts +3 -0
  25. package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.js +5 -0
  26. package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.js +0 -3
  27. package/lib/src/css/library.brand-page-brandCrowd.min.css +3 -3
  28. package/lib/src/css/library.brand-page-brandPage.min.css +3 -3
  29. package/lib/src/css/library.brand-page-designCom.min.css +3 -3
  30. package/lib/src/css/library.brand-page-preview.min.css +3 -3
  31. package/lib/src/index.mjs +1 -1
  32. package/lib/src/{lib-pkYD5N6D.js → lib-CiOvr9QV.js} +4782 -4751
  33. package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.d.ts +2 -0
  34. package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +2 -0
  35. package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +2 -0
  36. package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +2 -0
  37. package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +2 -0
  38. package/lib/src/shared/side-bar/components/SideBar.mixin.d.ts +2 -0
  39. package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +2 -0
  40. package/lib/src/shared/template-settings/components/TemplatesSettings.mixin.d.ts +4 -0
  41. package/lib/src/shared/template-settings/components/TemplatesSettings.mixin.js +12 -3
  42. package/lib/src/shared/template-settings/store/template-settings-store.d.ts +4 -0
  43. package/lib/src/shared/template-settings/store/template-settings-store.js +4 -0
  44. package/package.json +1 -1
  45. package/src/brand-page/components/icon/Icon.mixin.ts +2 -0
  46. package/src/brand-page/components/icon/Icon.vue +1 -0
  47. package/src/brand-page/components/icon/icons/Twitter.vue +5 -0
  48. package/src/brand-page/utils/__snapshots__/migration.util.test.ts.snap +3 -3
  49. package/src/brand-page/utils/migration/migration-051.ts +24 -0
  50. package/src/brand-page/utils/migration.util.ts +5 -0
  51. package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.ts +1 -0
  52. package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.ts +7 -0
  53. package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +0 -4
  54. package/src/shared/template-settings/components/TemplatesSettings.mixin.ts +13 -3
  55. package/src/shared/template-settings/store/template-settings-store.ts +5 -0
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-pkYD5N6D.js";
2
+ import { _ as t } from "./lib-CiOvr9QV.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-pkYD5N6D.js";
2
+ import { _ as t } from "./lib-CiOvr9QV.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-pkYD5N6D.js";
2
+ import { _ as t } from "./lib-CiOvr9QV.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-pkYD5N6D.js";
2
+ import { _ as t } from "./lib-CiOvr9QV.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-pkYD5N6D.js";
2
+ import { _ as t } from "./lib-CiOvr9QV.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-pkYD5N6D.js";
2
+ import { _ as e } from "./lib-CiOvr9QV.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-pkYD5N6D.js";
2
+ import { _ as e } from "./lib-CiOvr9QV.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-pkYD5N6D.js";
2
+ import { _ as e } from "./lib-CiOvr9QV.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-pkYD5N6D.js";
2
+ import { _ as e } from "./lib-CiOvr9QV.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-pkYD5N6D.js";
2
+ import { _ as M } from "./lib-CiOvr9QV.js";
3
3
  const Z = {}, e = {
4
4
  width: "232",
5
5
  height: "36",
@@ -113,6 +113,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
113
113
  IconTikTok: import("vue").DefineComponent<{}, {}, any>;
114
114
  IconTumblr: import("vue").DefineComponent<{}, {}, any>;
115
115
  IconTwitch: import("vue").DefineComponent<{}, {}, any>;
116
+ IconTwitter: import("vue").DefineComponent<{}, {}, any>;
116
117
  IconX: import("vue").DefineComponent<{}, {}, any>;
117
118
  IconUser: import("vue").DefineComponent<{}, {}, any>;
118
119
  IconUtensils: import("vue").DefineComponent<{}, {}, any>;
@@ -62,6 +62,7 @@ import IconThumbsUp from './icons/ThumbsUp.vue';
62
62
  import IconTikTok from './icons/TikTok.vue';
63
63
  import IconTumblr from './icons/Tumblr.vue';
64
64
  import IconTwitch from './icons/Twitch.vue';
65
+ import IconTwitter from './icons/Twitter.vue';
65
66
  import IconX from './icons/X.vue';
66
67
  import IconUser from './icons/User.vue';
67
68
  import IconUtensils from './icons/Utensils.vue';
@@ -128,6 +129,7 @@ export default defineComponent({
128
129
  IconTikTok,
129
130
  IconTumblr,
130
131
  IconTwitch,
132
+ IconTwitter,
131
133
  IconX,
132
134
  IconUser,
133
135
  IconUtensils,
@@ -0,0 +1,4 @@
1
+ import { type BrandPageModel } from '../..';
2
+ export declare const migration051: (brandPageModel: BrandPageModel, options: {
3
+ isUserDraft: boolean;
4
+ }) => BrandPageModel;
@@ -0,0 +1,18 @@
1
+ import {} from '../..';
2
+ export const migration051 = (brandPageModel, options) => {
3
+ if (!options.isUserDraft) {
4
+ brandPageModel.pageFooterDesktop?.socialLinks?.forEach((link) => {
5
+ if (link.imageUrl === 'twitter') {
6
+ link.imageUrl = 'x';
7
+ link.url = 'https://www.x.com';
8
+ }
9
+ });
10
+ brandPageModel.pageFooterMobile?.socialLinks?.forEach((link) => {
11
+ if (link.imageUrl === 'twitter') {
12
+ link.imageUrl = 'x';
13
+ link.url = 'https://www.x.com';
14
+ }
15
+ });
16
+ }
17
+ return brandPageModel;
18
+ };
@@ -4,6 +4,7 @@ import { migration02 } from './migration/migration-02';
4
4
  import { migration03 } from './migration/migration-03';
5
5
  import { migration04 } from './migration/migration-04';
6
6
  import { migration05 } from './migration/migration-05';
7
+ import { migration051 } from './migration/migration-051';
7
8
  const MIGRATION_TABLE = [
8
9
  {
9
10
  version: 1,
@@ -25,6 +26,10 @@ const MIGRATION_TABLE = [
25
26
  version: 5,
26
27
  migrateFn: migration05,
27
28
  },
29
+ {
30
+ version: 5.1,
31
+ migrateFn: migration051,
32
+ },
28
33
  ];
29
34
  export const GetLatestModelVersion = () => Math.max(...MIGRATION_TABLE.map((x) => x.version));
30
35
  export const migrateBrandPageModel = (brandPageModel, options) => {
@@ -248,6 +248,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
248
248
  eventButtonLocation?: string | undefined;
249
249
  showPublishOptionModal?: boolean | undefined;
250
250
  abTests: Record<string, string>;
251
+ logoBrandIndustry: string | undefined;
251
252
  } & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
252
253
  isUserDraft: (state: {
253
254
  availableTaxes: any[];
@@ -307,6 +308,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
307
308
  eventButtonLocation?: string | undefined;
308
309
  showPublishOptionModal?: boolean | undefined;
309
310
  abTests: Record<string, string>;
311
+ logoBrandIndustry: string | undefined;
310
312
  } & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
311
313
  }, {
312
314
  clearTriggerSaveEventApiOnPublishModalClose(): void;
@@ -999,6 +1001,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
999
1001
  selectInitialTemplateCategory(payload: {
1000
1002
  selectedCategory: string;
1001
1003
  }): void;
1004
+ setInitialSearchTerm(payload: {
1005
+ initialSearchTerm: string;
1006
+ }): void;
1002
1007
  clearTemplates(): void;
1003
1008
  getTemplateByTemplateId(id: string): import("../../../shared/template-settings/models").TemplateSettingsTemplate | undefined;
1004
1009
  }>;
@@ -175,6 +175,7 @@ const InitialiseMakerStores = (options) => {
175
175
  triggerSaveSuccessMessage: false,
176
176
  triggerSaveEventApiOnPublishModalClose: false,
177
177
  abTests: {},
178
+ logoBrandIndustry: '',
178
179
  });
179
180
  userStore.setIsAdmin({ isAdmin: options.isAdmin || false });
180
181
  userStore.setHasBrandPagePremiumSubscription(false);
@@ -686,6 +686,7 @@ declare const _default: import("vue").DefineComponent<{}, {
686
686
  eventButtonLocation?: string | undefined;
687
687
  showPublishOptionModal?: boolean | undefined;
688
688
  abTests: Record<string, string>;
689
+ logoBrandIndustry: string | undefined;
689
690
  } & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
690
691
  isUserDraft: (state: {
691
692
  availableTaxes: any[];
@@ -745,6 +746,7 @@ declare const _default: import("vue").DefineComponent<{}, {
745
746
  eventButtonLocation?: string | undefined;
746
747
  showPublishOptionModal?: boolean | undefined;
747
748
  abTests: Record<string, string>;
749
+ logoBrandIndustry: string | undefined;
748
750
  } & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
749
751
  }, {
750
752
  clearTriggerSaveEventApiOnPublishModalClose(): void;
@@ -69,6 +69,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
69
69
  eventButtonLocation?: string | undefined;
70
70
  showPublishOptionModal?: boolean | undefined;
71
71
  abTests: Record<string, string>;
72
+ logoBrandIndustry: string | undefined;
72
73
  } & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
73
74
  isUserDraft: (state: {
74
75
  availableTaxes: any[];
@@ -128,6 +129,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
128
129
  eventButtonLocation?: string | undefined;
129
130
  showPublishOptionModal?: boolean | undefined;
130
131
  abTests: Record<string, string>;
132
+ logoBrandIndustry: string | undefined;
131
133
  } & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
132
134
  }, {
133
135
  clearTriggerSaveEventApiOnPublishModalClose(): void;
@@ -85,6 +85,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
85
85
  eventButtonLocation?: string | undefined;
86
86
  showPublishOptionModal?: boolean | undefined;
87
87
  abTests: Record<string, string>;
88
+ logoBrandIndustry: string | undefined;
88
89
  } & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
89
90
  isUserDraft: (state: {
90
91
  availableTaxes: any[];
@@ -144,6 +145,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
144
145
  eventButtonLocation?: string | undefined;
145
146
  showPublishOptionModal?: boolean | undefined;
146
147
  abTests: Record<string, string>;
148
+ logoBrandIndustry: string | undefined;
147
149
  } & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
148
150
  }, {
149
151
  clearTriggerSaveEventApiOnPublishModalClose(): void;
@@ -88,6 +88,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
88
88
  eventButtonLocation?: string | undefined;
89
89
  showPublishOptionModal?: boolean | undefined;
90
90
  abTests: Record<string, string>;
91
+ logoBrandIndustry: string | undefined;
91
92
  } & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
92
93
  isUserDraft: (state: {
93
94
  availableTaxes: any[];
@@ -147,6 +148,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
147
148
  eventButtonLocation?: string | undefined;
148
149
  showPublishOptionModal?: boolean | undefined;
149
150
  abTests: Record<string, string>;
151
+ logoBrandIndustry: string | undefined;
150
152
  } & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
151
153
  }, {
152
154
  clearTriggerSaveEventApiOnPublishModalClose(): void;
@@ -66,6 +66,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
66
66
  eventButtonLocation?: string | undefined;
67
67
  showPublishOptionModal?: boolean | undefined;
68
68
  abTests: Record<string, string>;
69
+ logoBrandIndustry: string | undefined;
69
70
  } & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
70
71
  isUserDraft: (state: {
71
72
  availableTaxes: any[];
@@ -125,6 +126,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
125
126
  eventButtonLocation?: string | undefined;
126
127
  showPublishOptionModal?: boolean | undefined;
127
128
  abTests: Record<string, string>;
129
+ logoBrandIndustry: string | undefined;
128
130
  } & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
129
131
  }, {
130
132
  clearTriggerSaveEventApiOnPublishModalClose(): void;
@@ -66,6 +66,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
66
66
  eventButtonLocation?: string | undefined;
67
67
  showPublishOptionModal?: boolean | undefined;
68
68
  abTests: Record<string, string>;
69
+ logoBrandIndustry: string | undefined;
69
70
  } & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
70
71
  isUserDraft: (state: {
71
72
  availableTaxes: any[];
@@ -125,6 +126,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
125
126
  eventButtonLocation?: string | undefined;
126
127
  showPublishOptionModal?: boolean | undefined;
127
128
  abTests: Record<string, string>;
129
+ logoBrandIndustry: string | undefined;
128
130
  } & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
129
131
  }, {
130
132
  clearTriggerSaveEventApiOnPublishModalClose(): void;
@@ -46,6 +46,7 @@ export interface BrandPageContainerState {
46
46
  eventButtonLocation?: string;
47
47
  showPublishOptionModal?: boolean;
48
48
  abTests: Record<string, string>;
49
+ logoBrandIndustry: string | undefined;
49
50
  }
50
51
  export type InitialisePayload = Omit<BrandPageContainerState, 'customDomain' | 'customDomainConfig'> & {
51
52
  logoDraftToken?: string;
@@ -119,6 +120,7 @@ export declare const useBrandPageContainerStore: import("pinia").StoreDefinition
119
120
  eventButtonLocation?: string | undefined;
120
121
  showPublishOptionModal?: boolean | undefined;
121
122
  abTests: Record<string, string>;
123
+ logoBrandIndustry: string | undefined;
122
124
  } & import("pinia").PiniaCustomStateProperties<BrandPageContainerState>) => boolean;
123
125
  isUserDraft: (state: {
124
126
  availableTaxes: any[];
@@ -178,6 +180,7 @@ export declare const useBrandPageContainerStore: import("pinia").StoreDefinition
178
180
  eventButtonLocation?: string | undefined;
179
181
  showPublishOptionModal?: boolean | undefined;
180
182
  abTests: Record<string, string>;
183
+ logoBrandIndustry: string | undefined;
181
184
  } & import("pinia").PiniaCustomStateProperties<BrandPageContainerState>) => boolean;
182
185
  }, {
183
186
  clearTriggerSaveEventApiOnPublishModalClose(): void;
@@ -63,6 +63,7 @@ export const useBrandPageContainerStore = defineStore('brandPageContainer', {
63
63
  eventButtonLocation: undefined,
64
64
  showPublishOptionModal: false,
65
65
  abTests: {},
66
+ logoBrandIndustry: undefined,
66
67
  };
67
68
  },
68
69
  actions: {
@@ -87,6 +88,7 @@ export const useBrandPageContainerStore = defineStore('brandPageContainer', {
87
88
  }
88
89
  }
89
90
  const brandPageMakerStore = useBrandPageMakerStore();
91
+ const templateSettingsStore = useUiTemplateSettingsStore();
90
92
  this.brandPageBaseUrl = payload.brandPageBaseUrl;
91
93
  this.baseFabricRenderUrl = localisedRouteStore.baseFabricRenderDomain;
92
94
  this.brandPageDescription = payload.brandPageDescription;
@@ -121,6 +123,9 @@ export const useBrandPageContainerStore = defineStore('brandPageContainer', {
121
123
  this.showPublishOptionModal = payload.showPublishOptionModal;
122
124
  this.abTests = getAbTestResults(payload.abTests || {});
123
125
  const logoStore = useLogoStore();
126
+ templateSettingsStore.setInitialSearchTerm({
127
+ initialSearchTerm: payload.logoBrandIndustry ?? '',
128
+ });
124
129
  logoStore.initialise({
125
130
  logoTemplateAsset: payload.logoTemplateAsset,
126
131
  logoDraftAssets: payload.logoDraftAssets || [],
@@ -163,7 +163,6 @@ export const useBrandPageMakerStore = defineStore('brandPageMaker', {
163
163
  const backgroundSettingsStore = useUiBackgroundSettingsStore();
164
164
  const userStore = useBrandPageMakerUserStore();
165
165
  const containerStore = useBrandPageContainerStore();
166
- const uiContentSettings = useUiContentSettingsStore();
167
166
  if (!this.selectedTemplateId) {
168
167
  return;
169
168
  }
@@ -285,8 +284,6 @@ export const useBrandPageMakerStore = defineStore('brandPageMaker', {
285
284
  isModified: false,
286
285
  });
287
286
  this.setIsApplyingTemplate({ isApplying: false });
288
- // Reset mode so we don't pull previous template state in
289
- uiContentSettings.resetMode();
290
287
  navigateToPageBySlug(brandPageModel.pages[0].slug);
291
288
  },
292
289
  async enqueueErrorMessage() {
@@ -5114,15 +5114,15 @@ input[data-v-4cd691db]::-webkit-inner-spin-button {
5114
5114
  fill: currentColor;
5115
5115
  }
5116
5116
 
5117
- .c-icon--sm[data-v-d576b25e] {
5117
+ .c-icon--sm[data-v-e10524c3] {
5118
5118
  width: 1rem;
5119
5119
  height: 1rem;
5120
5120
  }
5121
- .c-icon--md[data-v-d576b25e] {
5121
+ .c-icon--md[data-v-e10524c3] {
5122
5122
  width: 1.5rem;
5123
5123
  height: 1.5rem;
5124
5124
  }
5125
- .c-icon--lg[data-v-d576b25e] {
5125
+ .c-icon--lg[data-v-e10524c3] {
5126
5126
  width: 2rem;
5127
5127
  height: 2rem;
5128
5128
  }
@@ -5442,15 +5442,15 @@ input[data-v-4cd691db]::-webkit-inner-spin-button {
5442
5442
  fill: currentColor;
5443
5443
  }
5444
5444
 
5445
- .c-icon--sm[data-v-d576b25e] {
5445
+ .c-icon--sm[data-v-e10524c3] {
5446
5446
  width: 1rem;
5447
5447
  height: 1rem;
5448
5448
  }
5449
- .c-icon--md[data-v-d576b25e] {
5449
+ .c-icon--md[data-v-e10524c3] {
5450
5450
  width: 1.5rem;
5451
5451
  height: 1.5rem;
5452
5452
  }
5453
- .c-icon--lg[data-v-d576b25e] {
5453
+ .c-icon--lg[data-v-e10524c3] {
5454
5454
  width: 2rem;
5455
5455
  height: 2rem;
5456
5456
  }
@@ -5132,15 +5132,15 @@ input[data-v-4cd691db]::-webkit-inner-spin-button {
5132
5132
  fill: currentColor;
5133
5133
  }
5134
5134
 
5135
- .c-icon--sm[data-v-d576b25e] {
5135
+ .c-icon--sm[data-v-e10524c3] {
5136
5136
  width: 1rem;
5137
5137
  height: 1rem;
5138
5138
  }
5139
- .c-icon--md[data-v-d576b25e] {
5139
+ .c-icon--md[data-v-e10524c3] {
5140
5140
  width: 1.5rem;
5141
5141
  height: 1.5rem;
5142
5142
  }
5143
- .c-icon--lg[data-v-d576b25e] {
5143
+ .c-icon--lg[data-v-e10524c3] {
5144
5144
  width: 2rem;
5145
5145
  height: 2rem;
5146
5146
  }
@@ -4874,15 +4874,15 @@ input[data-v-4cd691db]::-webkit-inner-spin-button {
4874
4874
  fill: currentColor;
4875
4875
  }
4876
4876
 
4877
- .bp .c-icon--sm[data-v-d576b25e] {
4877
+ .bp .c-icon--sm[data-v-e10524c3] {
4878
4878
  width: 1rem;
4879
4879
  height: 1rem;
4880
4880
  }
4881
- .bp .c-icon--md[data-v-d576b25e] {
4881
+ .bp .c-icon--md[data-v-e10524c3] {
4882
4882
  width: 1.5rem;
4883
4883
  height: 1.5rem;
4884
4884
  }
4885
- .bp .c-icon--lg[data-v-d576b25e] {
4885
+ .bp .c-icon--lg[data-v-e10524c3] {
4886
4886
  width: 2rem;
4887
4887
  height: 2rem;
4888
4888
  }
package/lib/src/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { by as E, an as T, aP as I, a3 as N, ag as S, ad as s, bo as A, bF as O, c6 as e, c5 as G, c4 as C, b_ as D, aZ as P, aY as R, bK as t, bL as L, bS as M, bH as o, bJ as b, bI as r, bM as F, bN as n, bZ as B, bX as g, am as l, bY as i, a6 as Y, aU as U, aW as c, aV as d, e as H, f as u, B as y, Y as K, d as p, Z as k, j as V, aj as X, X as m, bn as v, bG as h, at as W, aR as x, aN as f, bV as Z, bU as w, C as z, b0 as Q, D as j, b as q, a as J, bQ as $, a$ as aa, aS as _a, aO as Ea, c2 as Ta, c3 as Ia, bT as Na, bC as Sa, ab as sa, bW as Aa, b$ as Oa, b5 as ea, aF as Ga, bb as Ca, F as Da, a5 as Pa, a4 as Ra, h as ta, $ as La, b2 as Ma, aQ as oa, aM as ba, a1 as ra, G as Fa, I as na, H as Ba, a7 as ga, bz as la, b6 as ia, b7 as Ya, bx as Ua, bd as ca, bf as da, b1 as Ha, L as ua, aE as ya, bk as Ka, aK as pa, bj as ka, ao as Va, a9 as Xa, bR as ma, c0 as va, c1 as ha, aT as Wa, N as xa, aw as fa, av as Za, ax as wa, ar as za, as as Qa, au as ja, b9 as qa, bg as Ja, b3 as $a, n as a_, ah as __, ai as E_, ae as T_, af as I_, ac as N_, a2 as S_, l as s_, bl as A_, al as O_, bD as e_, bE as G_, bP as C_, aa as D_, bB as P_, bm as R_, m as t_, S as L_, P as M_, aD as o_, bA as b_, ba as r_, bs as F_, br as n_, bu as B_, bp as g_, bv as l_, bw as i_, bq as Y_, bt as U_, ay as c_, az as d_, bi as H_, bh as u_, aB as y_, aC as K_, aH as p_, aX as k_, aG as V_, aI as X_, U as m_, a8 as v_, aL as h_, k as W_, b8 as x_, ak as f_, b4 as Z_, bc as w_, be as z_, a_ as Q_, M as j_, a0 as q_, g as J_, bO as $_, q as aE, J as _E, W as EE, aA as TE, aJ as IE, ap as NE, o as SE, T as sE, r as AE, u as OE, i as eE, aq as GE, c as CE, p as DE, t as PE, R as RE, K as tE, s as LE, V as ME, y as oE, v as bE, w as rE, Q as FE, z as nE, O as BE, A as gE, E as lE, x as iE } from "./lib-pkYD5N6D.js";
1
+ import { by as E, an as T, aP as I, a3 as N, ag as S, ad as s, bo as A, bF as O, c6 as e, c5 as G, c4 as C, b_ as D, aZ as P, aY as R, bK as t, bL as L, bS as M, bH as o, bJ as b, bI as r, bM as F, bN as n, bZ as B, bX as g, am as l, bY as i, a6 as Y, aU as U, aW as c, aV as d, e as H, f as u, B as y, Y as K, d as p, Z as k, j as V, aj as X, X as m, bn as v, bG as h, at as W, aR as x, aN as f, bV as Z, bU as w, C as z, b0 as Q, D as j, b as q, a as J, bQ as $, a$ as aa, aS as _a, aO as Ea, c2 as Ta, c3 as Ia, bT as Na, bC as Sa, ab as sa, bW as Aa, b$ as Oa, b5 as ea, aF as Ga, bb as Ca, F as Da, a5 as Pa, a4 as Ra, h as ta, $ as La, b2 as Ma, aQ as oa, aM as ba, a1 as ra, G as Fa, I as na, H as Ba, a7 as ga, bz as la, b6 as ia, b7 as Ya, bx as Ua, bd as ca, bf as da, b1 as Ha, L as ua, aE as ya, bk as Ka, aK as pa, bj as ka, ao as Va, a9 as Xa, bR as ma, c0 as va, c1 as ha, aT as Wa, N as xa, aw as fa, av as Za, ax as wa, ar as za, as as Qa, au as ja, b9 as qa, bg as Ja, b3 as $a, n as a_, ah as __, ai as E_, ae as T_, af as I_, ac as N_, a2 as S_, l as s_, bl as A_, al as O_, bD as e_, bE as G_, bP as C_, aa as D_, bB as P_, bm as R_, m as t_, S as L_, P as M_, aD as o_, bA as b_, ba as r_, bs as F_, br as n_, bu as B_, bp as g_, bv as l_, bw as i_, bq as Y_, bt as U_, ay as c_, az as d_, bi as H_, bh as u_, aB as y_, aC as K_, aH as p_, aX as k_, aG as V_, aI as X_, U as m_, a8 as v_, aL as h_, k as W_, b8 as x_, ak as f_, b4 as Z_, bc as w_, be as z_, a_ as Q_, M as j_, a0 as q_, g as J_, bO as $_, q as aE, J as _E, W as EE, aA as TE, aJ as IE, ap as NE, o as SE, T as sE, r as AE, u as OE, i as eE, aq as GE, c as CE, p as DE, t as PE, R as RE, K as tE, s as LE, V as ME, y as oE, v as bE, w as rE, Q as FE, z as nE, O as BE, A as gE, E as lE, x as iE } from "./lib-CiOvr9QV.js";
2
2
  import { createPinia as UE, setActivePinia as cE } from "pinia";
3
3
  export {
4
4
  E as ABOUT_SECTION_SETTINGS_CONFIG,