@designcrowd/library.brand-page 6.2.7-ast-seo-1 → 6.2.7

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 (46) hide show
  1. package/lib/src/{CreatedOnBrandCrowd-de-de-BZlravZL.js → CreatedOnBrandCrowd-de-de-vzF6Ikn9.js} +1 -1
  2. package/lib/src/{CreatedOnBrandCrowd-en-us-oXLQZGZg.js → CreatedOnBrandCrowd-en-us-cXu20Wxb.js} +1 -1
  3. package/lib/src/{CreatedOnBrandCrowd-es-es-B18SDh61.js → CreatedOnBrandCrowd-es-es-PSfMEmIN.js} +1 -1
  4. package/lib/src/{CreatedOnBrandCrowd-fr-fr-vu8_3Fyf.js → CreatedOnBrandCrowd-fr-ca-CKSJaTW0.js} +1 -1
  5. package/lib/src/{CreatedOnBrandCrowd-fr-ca-vu8_3Fyf.js → CreatedOnBrandCrowd-fr-fr-CKSJaTW0.js} +1 -1
  6. package/lib/src/{CreatedOnBrandCrowd-pt-pt-6pQR0Wzi.js → CreatedOnBrandCrowd-pt-br-28G2T3DJ.js} +1 -1
  7. package/lib/src/{CreatedOnBrandCrowd-pt-br-6pQR0Wzi.js → CreatedOnBrandCrowd-pt-pt-28G2T3DJ.js} +1 -1
  8. package/lib/src/{CreatedOnDcom-de-de-D2pq41Qf.js → CreatedOnDcom-de-de-CG2vQgBe.js} +1 -1
  9. package/lib/src/{CreatedOnDcom-en-us-BS0AqljV.js → CreatedOnDcom-en-us-DzPaDxZd.js} +1 -1
  10. package/lib/src/{CreatedOnDcom-es-es-D9I9xTcw.js → CreatedOnDcom-es-es-BmN7lNDe.js} +1 -1
  11. package/lib/src/{CreatedOnDcom-fr-ca-TKF-f5L7.js → CreatedOnDcom-fr-ca-BarL0nmZ.js} +1 -1
  12. package/lib/src/{CreatedOnDcom-fr-fr-DA0HdSOB.js → CreatedOnDcom-fr-fr-e5Bk-c84.js} +1 -1
  13. package/lib/src/{CreatedOnDcom-pt-br-B4vuHG3j.js → CreatedOnDcom-pt-br-89-1jjm5.js} +1 -1
  14. package/lib/src/{CreatedOnDcom-pt-pt-BXOtmPVH.js → CreatedOnDcom-pt-pt-B9v9kExe.js} +1 -1
  15. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +5 -6
  16. package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +5 -6
  17. package/lib/src/brand-page-maker/components/quick-link-bar/QuickLinkBar.mixin.d.ts +5 -6
  18. package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.d.ts +5 -7
  19. package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.js +0 -5
  20. package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.d.ts +5 -6
  21. package/lib/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.mixin.d.ts +5 -6
  22. package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.d.ts +5 -6
  23. package/lib/src/brand-page-maker/components/upgrade-to-premium-button/UpgradeToPremiumButton.mixin.d.ts +5 -6
  24. package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.d.ts +6 -7
  25. package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.js +5 -52
  26. package/lib/src/css/library.brand-page-brandCrowd.min.css +1 -1
  27. package/lib/src/css/library.brand-page-brandPage.min.css +1 -1
  28. package/lib/src/css/library.brand-page-designCom.min.css +1 -1
  29. package/lib/src/css/library.brand-page-preview.min.css +1 -1
  30. package/lib/src/index.mjs +1 -1
  31. package/lib/src/{lib-BE95QG9_.js → lib-BTgw6Jw7.js} +233 -265
  32. package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.d.ts +5 -6
  33. package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +5 -6
  34. package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +5 -6
  35. package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +5 -6
  36. package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +5 -6
  37. package/lib/src/shared/side-bar/components/SideBar.mixin.d.ts +5 -6
  38. package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +5 -6
  39. package/package.json +1 -1
  40. package/src/brand-page-maker/components/brandpage-settings/BrandPageSettings.vue +3 -3
  41. package/src/brand-page-maker/components/sensitive-content/SensitiveContent.vue +3 -23
  42. package/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.ts +0 -5
  43. package/src/brand-page-maker/components/seo-settings/SeoPageSettings.vue +0 -2
  44. package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.save.test.ts +1 -332
  45. package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.ts +5 -83
  46. package/src/brand-page-maker/components/brandpage-settings/BrandPageSettings.test.ts +0 -285
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-BE95QG9_.js";
2
+ import { _ as t } from "./lib-BTgw6Jw7.js";
3
3
  const i = {}, h = {
4
4
  width: "275",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-BE95QG9_.js";
2
+ import { _ as t } from "./lib-BTgw6Jw7.js";
3
3
  const i = {}, h = {
4
4
  width: "251",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-BE95QG9_.js";
2
+ import { _ as t } from "./lib-BTgw6Jw7.js";
3
3
  const i = {}, h = {
4
4
  width: "250",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-BE95QG9_.js";
2
+ import { _ as t } from "./lib-BTgw6Jw7.js";
3
3
  const i = {}, h = {
4
4
  width: "237",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-BE95QG9_.js";
2
+ import { _ as t } from "./lib-BTgw6Jw7.js";
3
3
  const i = {}, h = {
4
4
  width: "237",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-BE95QG9_.js";
2
+ import { _ as t } from "./lib-BTgw6Jw7.js";
3
3
  const i = {}, h = {
4
4
  width: "263",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-BE95QG9_.js";
2
+ import { _ as t } from "./lib-BTgw6Jw7.js";
3
3
  const i = {}, h = {
4
4
  width: "263",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-BE95QG9_.js";
2
+ import { _ as e } from "./lib-BTgw6Jw7.js";
3
3
  const M = {}, Z = {
4
4
  width: "242",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-BE95QG9_.js";
2
+ import { _ as e } from "./lib-BTgw6Jw7.js";
3
3
  const i = {}, M = {
4
4
  width: "231",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-BE95QG9_.js";
2
+ import { _ as e } from "./lib-BTgw6Jw7.js";
3
3
  const M = {}, Z = {
4
4
  width: "230",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-BE95QG9_.js";
2
+ import { _ as e } from "./lib-BTgw6Jw7.js";
3
3
  const i = {}, l = {
4
4
  width: "216",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-BE95QG9_.js";
2
+ import { _ as e } from "./lib-BTgw6Jw7.js";
3
3
  const i = {}, l = {
4
4
  width: "216",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as M } from "./lib-BE95QG9_.js";
2
+ import { _ as M } from "./lib-BTgw6Jw7.js";
3
3
  const Z = {}, e = {
4
4
  width: "232",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as M } from "./lib-BE95QG9_.js";
2
+ import { _ as M } from "./lib-BTgw6Jw7.js";
3
3
  const Z = {}, e = {
4
4
  width: "232",
5
5
  height: "36",
@@ -552,14 +552,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
552
552
  startBrandPageSlugEditMode(): void;
553
553
  triggerLockedContentClickedEvent(contentType: string): Promise<void>;
554
554
  unpublishBrandPage(): Promise<void>;
555
- updateBrandPageSettings(payload: {
556
- description: string;
557
- title: string;
555
+ updateBrandPageSettings({ description, title }: {
556
+ description: any;
557
+ title: any;
558
558
  }): Promise<void>;
559
- updateSensitiveContent(payload: {
560
- sensitiveContent: import("@brand-page").SensitiveContent;
559
+ updateSensitiveContent({ sensitiveContent }: {
560
+ sensitiveContent: any;
561
561
  }): Promise<void>;
562
- saveSiteBeforeFirstSettingsWrite(): Promise<boolean>;
563
562
  createBrandPageCustomDomain({ domainName }: {
564
563
  domainName: any;
565
564
  }): Promise<false | undefined>;
@@ -966,14 +966,13 @@ declare const _default: import("vue").DefineComponent<{}, {
966
966
  startBrandPageSlugEditMode(): void;
967
967
  triggerLockedContentClickedEvent(contentType: string): Promise<void>;
968
968
  unpublishBrandPage(): Promise<void>;
969
- updateBrandPageSettings(payload: {
970
- description: string;
971
- title: string;
969
+ updateBrandPageSettings({ description, title }: {
970
+ description: any;
971
+ title: any;
972
972
  }): Promise<void>;
973
- updateSensitiveContent(payload: {
974
- sensitiveContent: import("@brand-page").SensitiveContent;
973
+ updateSensitiveContent({ sensitiveContent }: {
974
+ sensitiveContent: any;
975
975
  }): Promise<void>;
976
- saveSiteBeforeFirstSettingsWrite(): Promise<boolean>;
977
976
  createBrandPageCustomDomain({ domainName }: {
978
977
  domainName: any;
979
978
  }): Promise<false | undefined>;
@@ -338,14 +338,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
338
338
  startBrandPageSlugEditMode(): void;
339
339
  triggerLockedContentClickedEvent(contentType: string): Promise<void>;
340
340
  unpublishBrandPage(): Promise<void>;
341
- updateBrandPageSettings(payload: {
342
- description: string;
343
- title: string;
341
+ updateBrandPageSettings({ description, title }: {
342
+ description: any;
343
+ title: any;
344
344
  }): Promise<void>;
345
- updateSensitiveContent(payload: {
346
- sensitiveContent: import("../../../brand-page").SensitiveContent;
345
+ updateSensitiveContent({ sensitiveContent }: {
346
+ sensitiveContent: any;
347
347
  }): Promise<void>;
348
- saveSiteBeforeFirstSettingsWrite(): Promise<boolean>;
349
348
  createBrandPageCustomDomain({ domainName }: {
350
349
  domainName: any;
351
350
  }): Promise<false | undefined>;
@@ -354,14 +354,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
354
354
  startBrandPageSlugEditMode(): void;
355
355
  triggerLockedContentClickedEvent(contentType: string): Promise<void>;
356
356
  unpublishBrandPage(): Promise<void>;
357
- updateBrandPageSettings(payload: {
358
- description: string;
359
- title: string;
357
+ updateBrandPageSettings({ description, title }: {
358
+ description: any;
359
+ title: any;
360
360
  }): Promise<void>;
361
- updateSensitiveContent(payload: {
362
- sensitiveContent: import("../../../brand-page").SensitiveContent;
361
+ updateSensitiveContent({ sensitiveContent }: {
362
+ sensitiveContent: any;
363
363
  }): Promise<void>;
364
- saveSiteBeforeFirstSettingsWrite(): Promise<boolean>;
365
364
  createBrandPageCustomDomain({ domainName }: {
366
365
  domainName: any;
367
366
  }): Promise<false | undefined>;
@@ -543,7 +542,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
543
542
  descriptionError(): any;
544
543
  metaKeywordsError(): any;
545
544
  isPublishing(): any;
546
- isSaving(): boolean;
547
545
  isUpdateButtonEnabled(): any;
548
546
  isDirty(): boolean;
549
547
  }, {
@@ -89,16 +89,11 @@ export default defineComponent({
89
89
  isPublishing() {
90
90
  return this.brandPageContainerStore.isPublishing;
91
91
  },
92
- // Scoped to isMaker: the Manage page's save must never gate on the maker's own in-flight state.
93
- isSaving() {
94
- return this.isMaker && this.brandPageContainerStore.isSaving;
95
- },
96
92
  isUpdateButtonEnabled() {
97
93
  return ((this.myPageDescription?.length ?? 0) <=
98
94
  BRANDPAGE_DESCRIPTION_CHARACTER_LIMIT &&
99
95
  (this.myPageTitle?.length ?? 0) <= BRANDPAGE_TITLE_CHARACTER_LIMIT &&
100
96
  !this.brandPageContainerStore.isPublishing &&
101
- !this.isSaving &&
102
97
  this.isDirty &&
103
98
  this.isInternalDescriptionValid &&
104
99
  this.isInternalTitleValid);
@@ -359,14 +359,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
359
359
  startBrandPageSlugEditMode(): void;
360
360
  triggerLockedContentClickedEvent(contentType: string): Promise<void>;
361
361
  unpublishBrandPage(): Promise<void>;
362
- updateBrandPageSettings(payload: {
363
- description: string;
364
- title: string;
362
+ updateBrandPageSettings({ description, title }: {
363
+ description: any;
364
+ title: any;
365
365
  }): Promise<void>;
366
- updateSensitiveContent(payload: {
367
- sensitiveContent: import("../../../brand-page").SensitiveContent;
366
+ updateSensitiveContent({ sensitiveContent }: {
367
+ sensitiveContent: any;
368
368
  }): Promise<void>;
369
- saveSiteBeforeFirstSettingsWrite(): Promise<boolean>;
370
369
  createBrandPageCustomDomain({ domainName }: {
371
370
  domainName: any;
372
371
  }): Promise<false | undefined>;
@@ -340,14 +340,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
340
340
  startBrandPageSlugEditMode(): void;
341
341
  triggerLockedContentClickedEvent(contentType: string): Promise<void>;
342
342
  unpublishBrandPage(): Promise<void>;
343
- updateBrandPageSettings(payload: {
344
- description: string;
345
- title: string;
343
+ updateBrandPageSettings({ description, title }: {
344
+ description: any;
345
+ title: any;
346
346
  }): Promise<void>;
347
- updateSensitiveContent(payload: {
348
- sensitiveContent: import("../../../brand-page").SensitiveContent;
347
+ updateSensitiveContent({ sensitiveContent }: {
348
+ sensitiveContent: any;
349
349
  }): Promise<void>;
350
- saveSiteBeforeFirstSettingsWrite(): Promise<boolean>;
351
350
  createBrandPageCustomDomain({ domainName }: {
352
351
  domainName: any;
353
352
  }): Promise<false | undefined>;
@@ -408,14 +408,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
408
408
  startBrandPageSlugEditMode(): void;
409
409
  triggerLockedContentClickedEvent(contentType: string): Promise<void>;
410
410
  unpublishBrandPage(): Promise<void>;
411
- updateBrandPageSettings(payload: {
412
- description: string;
413
- title: string;
411
+ updateBrandPageSettings({ description, title }: {
412
+ description: any;
413
+ title: any;
414
414
  }): Promise<void>;
415
- updateSensitiveContent(payload: {
416
- sensitiveContent: import("@brand-page").SensitiveContent;
415
+ updateSensitiveContent({ sensitiveContent }: {
416
+ sensitiveContent: any;
417
417
  }): Promise<void>;
418
- saveSiteBeforeFirstSettingsWrite(): Promise<boolean>;
419
418
  createBrandPageCustomDomain({ domainName }: {
420
419
  domainName: any;
421
420
  }): Promise<false | undefined>;
@@ -335,14 +335,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
335
335
  startBrandPageSlugEditMode(): void;
336
336
  triggerLockedContentClickedEvent(contentType: string): Promise<void>;
337
337
  unpublishBrandPage(): Promise<void>;
338
- updateBrandPageSettings(payload: {
339
- description: string;
340
- title: string;
338
+ updateBrandPageSettings({ description, title }: {
339
+ description: any;
340
+ title: any;
341
341
  }): Promise<void>;
342
- updateSensitiveContent(payload: {
343
- sensitiveContent: import("../../../brand-page").SensitiveContent;
342
+ updateSensitiveContent({ sensitiveContent }: {
343
+ sensitiveContent: any;
344
344
  }): Promise<void>;
345
- saveSiteBeforeFirstSettingsWrite(): Promise<boolean>;
346
345
  createBrandPageCustomDomain({ domainName }: {
347
346
  domainName: any;
348
347
  }): Promise<false | undefined>;
@@ -1,7 +1,7 @@
1
1
  import { type getWebsiteContextualUpgradeResponse } from '../../../clients/brand-page-client';
2
2
  import { type LogoDraftAsset, type LogoTemplateAsset } from '@brand-page-maker/stores';
3
3
  import type { CustomDomainConfigModel, CustomDomainModel } from '@brand-page-maker/models';
4
- import { type AbTest, type SensitiveContent } from '@brand-page';
4
+ import { type AbTest } from '@brand-page';
5
5
  import type { WebsiteSlugCheckResponse } from '@brand-page-maker/models/api.model';
6
6
  import { WEBSITE_UPGRADE_CONTEXT_TYPES } from '@designcrowd/fe-shared-lib';
7
7
  import { type OnSearchTermChangedCallback } from '@shared/template-settings/store';
@@ -418,14 +418,13 @@ export declare const useBrandPageContainerStore: import("pinia").StoreDefinition
418
418
  startBrandPageSlugEditMode(): void;
419
419
  triggerLockedContentClickedEvent(contentType: string): Promise<void>;
420
420
  unpublishBrandPage(): Promise<void>;
421
- updateBrandPageSettings(payload: {
422
- description: string;
423
- title: string;
421
+ updateBrandPageSettings({ description, title }: {
422
+ description: any;
423
+ title: any;
424
424
  }): Promise<void>;
425
- updateSensitiveContent(payload: {
426
- sensitiveContent: SensitiveContent;
425
+ updateSensitiveContent({ sensitiveContent }: {
426
+ sensitiveContent: any;
427
427
  }): Promise<void>;
428
- saveSiteBeforeFirstSettingsWrite(): Promise<boolean>;
429
428
  createBrandPageCustomDomain({ domainName }: {
430
429
  domainName: any;
431
430
  }): Promise<false | undefined>;
@@ -863,17 +863,13 @@ export const useBrandPageContainerStore = defineStore('brandPageContainer', {
863
863
  console.error(err);
864
864
  }
865
865
  },
866
- async updateBrandPageSettings(payload) {
867
- if (!this.designDraftToken &&
868
- !(await this.saveSiteBeforeFirstSettingsWrite())) {
869
- return;
870
- }
866
+ async updateBrandPageSettings({ description, title }) {
871
867
  const brandPageMakerStore = useBrandPageMakerStore();
872
868
  try {
873
869
  this.setIsPublishing({ isPublishing: true });
874
870
  const result = await brandPageClient.updateBrandPageMetaAsync(brandPageMakerStore.brandPageType, this.designDraftToken, {
875
- pageDescription: payload.description,
876
- pageTitle: payload.title,
871
+ pageDescription: description,
872
+ pageTitle: title,
877
873
  metaKeywords: [],
878
874
  });
879
875
  if (!result) {
@@ -897,16 +893,12 @@ export const useBrandPageContainerStore = defineStore('brandPageContainer', {
897
893
  await brandPageMakerStore.showNextNotificationMessage();
898
894
  }
899
895
  },
900
- async updateSensitiveContent(payload) {
901
- if (!this.designDraftToken &&
902
- !(await this.saveSiteBeforeFirstSettingsWrite())) {
903
- return;
904
- }
896
+ async updateSensitiveContent({ sensitiveContent }) {
905
897
  const brandPageMakerStore = useBrandPageMakerStore();
906
898
  try {
907
899
  this.setIsPublishing({ isPublishing: true });
908
900
  const result = await brandPageClient.updateSensitiveContentAsync(brandPageMakerStore.brandPageType, this.designDraftToken, {
909
- sensitiveContentType: payload.sensitiveContent,
901
+ sensitiveContentType: sensitiveContent,
910
902
  });
911
903
  if (!result) {
912
904
  await brandPageMakerStore.enqueueErrorMessage();
@@ -929,45 +921,6 @@ export const useBrandPageContainerStore = defineStore('brandPageContainer', {
929
921
  await brandPageMakerStore.showNextNotificationMessage();
930
922
  }
931
923
  },
932
- // Pre-purchase drafts are saved by the host, never the maker — save-publish.md.
933
- async saveSiteBeforeFirstSettingsWrite() {
934
- if (this.isAdminMaker) {
935
- return false;
936
- }
937
- const brandPageMakerStore = useBrandPageMakerStore();
938
- if (this.isPrePurchase) {
939
- window.dispatchEvent(new Event('SAVE_PROGRESS_CLICKED'));
940
- // The host's saveDesign sets isSaving synchronously on the dispatch; if it
941
- // didn't, no listener is wired and the click would otherwise go silent.
942
- if (!this.isSaving) {
943
- await brandPageMakerStore.enqueueErrorMessage();
944
- await brandPageMakerStore.showNextNotificationMessage();
945
- }
946
- return false;
947
- }
948
- if (this.isSaving || this.isPublishing) {
949
- await brandPageMakerStore.enqueueErrorMessage();
950
- await brandPageMakerStore.showNextNotificationMessage();
951
- return false;
952
- }
953
- this.setIsPublishing({ isPublishing: true });
954
- // saveBrandPage enqueues its own error on a throw but not on an empty response.
955
- const messagesBeforeSave = [
956
- ...brandPageMakerStore.notificationMessageQueue,
957
- ];
958
- const result = await this.saveBrandPage({ saveOnly: true });
959
- if (!result || !result.saved) {
960
- const hasErrorQueued = brandPageMakerStore.notificationMessageQueue.some((message) => message.type === 'error' && !messagesBeforeSave.includes(message));
961
- if (!hasErrorQueued) {
962
- await brandPageMakerStore.enqueueErrorMessage();
963
- }
964
- this.setIsPublishing({ isPublishing: false });
965
- await brandPageMakerStore.showNextNotificationMessage();
966
- return false;
967
- }
968
- this.setTriggerSaveSuccessMessage({ triggerSaveSuccessMessage: false });
969
- return true;
970
- },
971
924
  async createBrandPageCustomDomain({ domainName }) {
972
925
  const brandPageMakerStore = useBrandPageMakerStore();
973
926
  const customDomainResponse = await brandPageClient.createBrandPageCustomDomainAsync(brandPageMakerStore.brandPageType, this.designDraftToken, domainName, false);
@@ -10250,7 +10250,7 @@ input.dynamic-width-input[data-v-97be2e87]:focus {
10250
10250
  position: absolute
10251
10251
  }
10252
10252
 
10253
- .section[data-v-522de2cd] {
10253
+ .section[data-v-f775b41a] {
10254
10254
  margin-bottom: 1.5rem
10255
10255
  }
10256
10256
 
@@ -10871,7 +10871,7 @@ input.dynamic-width-input[data-v-97be2e87]:focus {
10871
10871
  position: absolute
10872
10872
  }
10873
10873
 
10874
- .section[data-v-522de2cd] {
10874
+ .section[data-v-f775b41a] {
10875
10875
  margin-bottom: 1.5rem
10876
10876
  }
10877
10877
 
@@ -10280,7 +10280,7 @@ input.dynamic-width-input[data-v-97be2e87]:focus {
10280
10280
  position: absolute
10281
10281
  }
10282
10282
 
10283
- .section[data-v-522de2cd] {
10283
+ .section[data-v-f775b41a] {
10284
10284
  margin-bottom: 1.5rem
10285
10285
  }
10286
10286
 
@@ -10250,7 +10250,7 @@ input.dynamic-width-input[data-v-97be2e87]:focus {
10250
10250
  position: absolute
10251
10251
  }
10252
10252
 
10253
- .bp .section[data-v-522de2cd] {
10253
+ .bp .section[data-v-f775b41a] {
10254
10254
  margin-bottom: 1.5rem
10255
10255
  }
10256
10256
 
package/lib/src/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { A as s, a as I, b as S, c as N, d as e, e as A, f as O, g as t, B as C, h as D, i as G, j as P, k as R, l as o, m as L, n as M, o as r, p as n, q as i, r as l, s as c, t as b, u as F, v as g, w as B, x as Y, y as d, z as U, C as u, D as p, E as H, F as y, G as m, H as K, I as k, J as V, K as v, L as X, M as h, N as f, O as x, P as W, Q as z, R as w, S as J, T as Z, U as j, V as q, W as Q, X as $, Y as aa, Z as Ea, $ as _a, a0 as Ta, a1 as sa, a2 as Ia, a3 as Sa, a4 as Na, a5 as ea, a6 as Aa, a7 as Oa, a8 as ta, a9 as Ca, aa as Da, ab as Ga, ac as Pa, ad as Ra, ae as oa, af as La, ag as Ma, ah as ra, ai as na, aj as ia, ak as la, al as ca, am as ba, an as Fa, ao as ga, ap as Ba, aq as Ya, ar as da, as as Ua, at as ua, au as pa, av as Ha, aw as ya, ax as ma, ay as Ka, az as ka, aA as Va, aB as va, aC as Xa, aD as ha, aE as fa, aF as xa, aG as Wa, aH as za, aI as wa, aJ as Ja, aK as Za, aL as ja, aM as qa, aN as Qa, aO as $a, aP as aE, aQ as EE, aR as _E, aS as TE, aT as sE, aU as IE, aV as SE, aW as NE, aX as eE, aY as AE, aZ as OE, a_ as tE, a$ as CE, b0 as DE, b1 as GE, b2 as PE, b3 as RE, b4 as oE, b5 as LE, b6 as ME, b7 as rE, b8 as nE, b9 as iE, ba as lE, bb as cE, bc as bE, bd as FE, be as gE, bf as BE, bg as YE, bh as dE, bi as UE, bj as uE, bk as pE, bl as HE, bm as yE, bn as mE, bo as KE, bp as kE, bq as VE, br as vE, bs as XE, bt as hE, bu as fE, bv as xE, bw as WE, bx as zE, by as wE, bz as JE, bA as ZE, bB as jE, bC as qE, bD as QE, bE as $E, bF as a_, bG as E_, bH as __, bI as T_, bJ as s_, bK as I_, bL as S_, bM as N_, bN as e_, bO as A_, bP as O_, bQ as t_, bR as C_, bS as D_, bT as G_, bU as P_, bV as R_, bW as o_, bX as L_, bY as M_, bZ as r_, b_ as n_, b$ as i_, c0 as l_, c1 as c_, c2 as b_, c3 as F_, c4 as g_, c5 as B_, c6 as Y_, c7 as d_, c8 as U_, c9 as u_, ca as p_, cb as H_, cc as y_, cd as m_, ce as K_, cf as k_, cg as V_, ch as v_, ci as X_, cj as h_, ck as f_, cl as x_, cm as W_, cn as z_, co as w_, cp as J_, cq as Z_, cr as j_, cs as q_, ct as Q_, cu as $_, cv as aT, cw as ET, cx as _T, cy as TT, cz as sT, cA as IT, cB as ST, cC as NT, cD as eT, cE as AT, cF as OT } from "./lib-BE95QG9_.js";
1
+ import { A as s, a as I, b as S, c as N, d as e, e as A, f as O, g as t, B as C, h as D, i as G, j as P, k as R, l as o, m as L, n as M, o as r, p as n, q as i, r as l, s as c, t as b, u as F, v as g, w as B, x as Y, y as d, z as U, C as u, D as p, E as H, F as y, G as m, H as K, I as k, J as V, K as v, L as X, M as h, N as f, O as x, P as W, Q as z, R as w, S as J, T as Z, U as j, V as q, W as Q, X as $, Y as aa, Z as Ea, $ as _a, a0 as Ta, a1 as sa, a2 as Ia, a3 as Sa, a4 as Na, a5 as ea, a6 as Aa, a7 as Oa, a8 as ta, a9 as Ca, aa as Da, ab as Ga, ac as Pa, ad as Ra, ae as oa, af as La, ag as Ma, ah as ra, ai as na, aj as ia, ak as la, al as ca, am as ba, an as Fa, ao as ga, ap as Ba, aq as Ya, ar as da, as as Ua, at as ua, au as pa, av as Ha, aw as ya, ax as ma, ay as Ka, az as ka, aA as Va, aB as va, aC as Xa, aD as ha, aE as fa, aF as xa, aG as Wa, aH as za, aI as wa, aJ as Ja, aK as Za, aL as ja, aM as qa, aN as Qa, aO as $a, aP as aE, aQ as EE, aR as _E, aS as TE, aT as sE, aU as IE, aV as SE, aW as NE, aX as eE, aY as AE, aZ as OE, a_ as tE, a$ as CE, b0 as DE, b1 as GE, b2 as PE, b3 as RE, b4 as oE, b5 as LE, b6 as ME, b7 as rE, b8 as nE, b9 as iE, ba as lE, bb as cE, bc as bE, bd as FE, be as gE, bf as BE, bg as YE, bh as dE, bi as UE, bj as uE, bk as pE, bl as HE, bm as yE, bn as mE, bo as KE, bp as kE, bq as VE, br as vE, bs as XE, bt as hE, bu as fE, bv as xE, bw as WE, bx as zE, by as wE, bz as JE, bA as ZE, bB as jE, bC as qE, bD as QE, bE as $E, bF as a_, bG as E_, bH as __, bI as T_, bJ as s_, bK as I_, bL as S_, bM as N_, bN as e_, bO as A_, bP as O_, bQ as t_, bR as C_, bS as D_, bT as G_, bU as P_, bV as R_, bW as o_, bX as L_, bY as M_, bZ as r_, b_ as n_, b$ as i_, c0 as l_, c1 as c_, c2 as b_, c3 as F_, c4 as g_, c5 as B_, c6 as Y_, c7 as d_, c8 as U_, c9 as u_, ca as p_, cb as H_, cc as y_, cd as m_, ce as K_, cf as k_, cg as V_, ch as v_, ci as X_, cj as h_, ck as f_, cl as x_, cm as W_, cn as z_, co as w_, cp as J_, cq as Z_, cr as j_, cs as q_, ct as Q_, cu as $_, cv as aT, cw as ET, cx as _T, cy as TT, cz as sT, cA as IT, cB as ST, cC as NT, cD as eT, cE as AT, cF as OT } from "./lib-BTgw6Jw7.js";
2
2
  import { U as CT, u as DT } from "./useEventTracker-DwPTmzpa.js";
3
3
  import "vue";
4
4
  import "vue-cropperjs";