@designcrowd/library.brand-page 6.0.18-single-h1-2 → 6.0.18

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 (58) hide show
  1. package/lib/src/{CreatedOnBrandCrowd-de-de-Dn_Tix_v.js → CreatedOnBrandCrowd-de-de-CIrk6Brm.js} +1 -1
  2. package/lib/src/{CreatedOnBrandCrowd-en-us-DDvy8wxG.js → CreatedOnBrandCrowd-en-us-CvXk0moH.js} +1 -1
  3. package/lib/src/{CreatedOnBrandCrowd-es-es-CR8_Avxs.js → CreatedOnBrandCrowd-es-es-BhtZbjjU.js} +1 -1
  4. package/lib/src/{CreatedOnBrandCrowd-fr-fr-BI6mA90J.js → CreatedOnBrandCrowd-fr-ca-B6TD57O-.js} +1 -1
  5. package/lib/src/{CreatedOnBrandCrowd-fr-ca-BI6mA90J.js → CreatedOnBrandCrowd-fr-fr-B6TD57O-.js} +1 -1
  6. package/lib/src/{CreatedOnBrandCrowd-pt-pt-CPed66Fk.js → CreatedOnBrandCrowd-pt-br-Bto0xOtS.js} +1 -1
  7. package/lib/src/{CreatedOnBrandCrowd-pt-br-CPed66Fk.js → CreatedOnBrandCrowd-pt-pt-Bto0xOtS.js} +1 -1
  8. package/lib/src/{CreatedOnDcom-de-de-CtsoKlLS.js → CreatedOnDcom-de-de-2h2W3y5z.js} +1 -1
  9. package/lib/src/{CreatedOnDcom-en-us-qEpXlGz8.js → CreatedOnDcom-en-us-D6Jgk6yv.js} +1 -1
  10. package/lib/src/{CreatedOnDcom-es-es-DV1gGaMf.js → CreatedOnDcom-es-es-sBCqYQIm.js} +1 -1
  11. package/lib/src/{CreatedOnDcom-fr-ca-CBwvC8Cd.js → CreatedOnDcom-fr-ca-C8hg5hTU.js} +1 -1
  12. package/lib/src/{CreatedOnDcom-fr-fr-CAOK7SID.js → CreatedOnDcom-fr-fr-_DP1Umyh.js} +1 -1
  13. package/lib/src/{CreatedOnDcom-pt-br-Bmn3BUmY.js → CreatedOnDcom-pt-br-BdwYAy5p.js} +1 -1
  14. package/lib/src/{CreatedOnDcom-pt-pt-Ct-USA_A.js → CreatedOnDcom-pt-pt-Bm1NHVaH.js} +1 -1
  15. package/lib/src/brand-page/components/media/Media.mixin.d.ts +1 -10
  16. package/lib/src/brand-page/components/media/Media.mixin.js +0 -13
  17. package/lib/src/brand-page/components/page/Page.mixin.d.ts +0 -5
  18. package/lib/src/brand-page/components/page/Page.mixin.js +1 -8
  19. package/lib/src/brand-page/utils/index.d.ts +0 -1
  20. package/lib/src/brand-page/utils/index.js +0 -1
  21. package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +0 -1
  22. package/lib/src/css/library.brand-page-brandCrowd.min.css +136 -136
  23. package/lib/src/css/library.brand-page-brandPage.min.css +136 -136
  24. package/lib/src/css/library.brand-page-designCom.min.css +136 -136
  25. package/lib/src/css/library.brand-page-preview.min.css +136 -136
  26. package/lib/src/index.mjs +1 -1
  27. package/lib/src/{lib-BVjEXjIJ.js → lib-CPTMajMv.js} +10880 -10918
  28. package/lib/src/metadata-builder/builders/section-rules/banner-section.rules.js +0 -6
  29. package/lib/src/metadata-builder/parsers/section-tool-arguments.d.ts +1 -1
  30. package/package.json +1 -1
  31. package/src/brand-page/components/about-section/AboutSection.vue +1 -1
  32. package/src/brand-page/components/about-section/AboutSection.vue.test.ts +0 -11
  33. package/src/brand-page/components/banner-section/BannerSection.vue +5 -5
  34. package/src/brand-page/components/booking-section/BookingSection.vue +1 -1
  35. package/src/brand-page/components/contact-form/ContactForm.vue +3 -3
  36. package/src/brand-page/components/mailing-list/MailingList.vue +1 -1
  37. package/src/brand-page/components/media/Media.mixin.ts +0 -13
  38. package/src/brand-page/components/media/Media.vue +1 -1
  39. package/src/brand-page/components/page/Page.mixin.ts +1 -8
  40. package/src/brand-page/components/page/Page.vue +0 -8
  41. package/src/brand-page/components/payment/Payment.vue +1 -1
  42. package/src/brand-page/components/profile/Profile.vue +1 -1
  43. package/src/brand-page/components/social-links/SocialLinks.vue +1 -1
  44. package/src/brand-page/components/testimonial-section/TestimonialSection.vue +1 -1
  45. package/src/brand-page/components/text-media-section/TextMediaSection.vue +1 -1
  46. package/src/brand-page/components/text-wrapper/TextWrapper.vue +1 -6
  47. package/src/brand-page/utils/index.ts +0 -1
  48. package/src/metadata-builder/builders/section-rules/banner-section.rules.ts +0 -6
  49. package/src/metadata-builder/parsers/section-tool-arguments.ts +1 -7
  50. package/src/metadata-builder/sanitizers/__tests__/section-args-validator.test.ts +0 -13
  51. package/src/shared/logo-settings/components/EditLogoSettings.vue +0 -1
  52. package/lib/src/brand-page/utils/page-heading.util.d.ts +0 -13
  53. package/lib/src/brand-page/utils/page-heading.util.js +0 -24
  54. package/src/brand-page/components/media/Media.test.ts +0 -65
  55. package/src/brand-page/components/page/Page.vue.test.ts +0 -142
  56. package/src/brand-page/utils/image.util.test.ts +0 -25
  57. package/src/brand-page/utils/page-heading.util.test.ts +0 -116
  58. package/src/brand-page/utils/page-heading.util.ts +0 -33
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-BVjEXjIJ.js";
2
+ import { _ as t } from "./lib-CPTMajMv.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-BVjEXjIJ.js";
2
+ import { _ as t } from "./lib-CPTMajMv.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-BVjEXjIJ.js";
2
+ import { _ as t } from "./lib-CPTMajMv.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-BVjEXjIJ.js";
2
+ import { _ as t } from "./lib-CPTMajMv.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-BVjEXjIJ.js";
2
+ import { _ as t } from "./lib-CPTMajMv.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-BVjEXjIJ.js";
2
+ import { _ as t } from "./lib-CPTMajMv.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-BVjEXjIJ.js";
2
+ import { _ as t } from "./lib-CPTMajMv.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-BVjEXjIJ.js";
2
+ import { _ as e } from "./lib-CPTMajMv.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-BVjEXjIJ.js";
2
+ import { _ as e } from "./lib-CPTMajMv.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-BVjEXjIJ.js";
2
+ import { _ as e } from "./lib-CPTMajMv.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-BVjEXjIJ.js";
2
+ import { _ as e } from "./lib-CPTMajMv.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-BVjEXjIJ.js";
2
+ import { _ as e } from "./lib-CPTMajMv.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-BVjEXjIJ.js";
2
+ import { _ as M } from "./lib-CPTMajMv.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-BVjEXjIJ.js";
2
+ import { _ as M } from "./lib-CPTMajMv.js";
3
3
  const Z = {}, e = {
4
4
  width: "232",
5
5
  height: "36",
@@ -68,16 +68,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
68
68
  }>, {}, {
69
69
  type: string | undefined;
70
70
  isImageBroken: boolean;
71
- }, {
72
- /**
73
- * BP-5866: content images must never emit an empty `alt`. Reuses the
74
- * shared alt fallback (author title → "{business}'s image" → "image") so
75
- * a caller that passes no `alt-text` still renders descriptive text.
76
- * Only consumed by the content `<FallbackImage>`; decorative/background
77
- * images (rendered via `media`) and shapes never reach this path.
78
- */
79
- effectiveAltText(): string;
80
- }, {
71
+ }, {}, {
81
72
  onImageError(): void;
82
73
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
83
74
  mediaType: {
@@ -1,5 +1,4 @@
1
1
  import { defineComponent } from 'vue';
2
- import { getImageAltText } from '@brand-page/utils';
3
2
  export default defineComponent({
4
3
  props: {
5
4
  mediaType: {
@@ -72,18 +71,6 @@ export default defineComponent({
72
71
  isImageBroken: false,
73
72
  };
74
73
  },
75
- computed: {
76
- /**
77
- * BP-5866: content images must never emit an empty `alt`. Reuses the
78
- * shared alt fallback (author title → "{business}'s image" → "image") so
79
- * a caller that passes no `alt-text` still renders descriptive text.
80
- * Only consumed by the content `<FallbackImage>`; decorative/background
81
- * images (rendered via `media`) and shapes never reach this path.
82
- */
83
- effectiveAltText() {
84
- return getImageAltText({ imageTitle: this.altText }, this.context);
85
- },
86
- },
87
74
  methods: {
88
75
  onImageError() {
89
76
  this.isImageBroken = true;
@@ -75,11 +75,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
75
75
  bpShowTopNavigationMobile(): boolean;
76
76
  bpShowTopNavigationDesktop(): boolean;
77
77
  slug(): string;
78
- /**
79
- * Text for the single page-level `<h1>` (BP-5866). Sourced from the
80
- * business/site name + page name so it mirrors the SSR document `<title>`.
81
- */
82
- pageHeadingText(): string;
83
78
  shouldShowSaveContactWidget(): boolean;
84
79
  isPremiumSubscription(): boolean;
85
80
  shouldShowPopupBranding(): boolean;
@@ -1,6 +1,6 @@
1
1
  import { defineComponent } from 'vue';
2
2
  import { DEFAULT_FONT_FAMILY_KEY, FALLBACK_FONT_FAMILIES, FONT_FAMILY_CONFIGS, } from '../../constants';
3
- import { getSlugFromContext, getPageHeadingText } from '@brand-page/utils';
3
+ import { getSlugFromContext } from '@brand-page/utils';
4
4
  import { findNavItemByRelativePath } from '@brand-page/utils/route.util';
5
5
  import { BRAND_PAGE_TYPES } from '@brand-page/models';
6
6
  import { hasProfileContent as checkHasProfileContent } from '@brand-page/utils/vcard.util';
@@ -292,13 +292,6 @@ export default defineComponent({
292
292
  slug() {
293
293
  return getSlugFromContext(this.context);
294
294
  },
295
- /**
296
- * Text for the single page-level `<h1>` (BP-5866). Sourced from the
297
- * business/site name + page name so it mirrors the SSR document `<title>`.
298
- */
299
- pageHeadingText() {
300
- return getPageHeadingText(this.context);
301
- },
302
295
  shouldShowSaveContactWidget() {
303
296
  try {
304
297
  if ((!this.context.isPreview &&
@@ -6,7 +6,6 @@ export * from './model.util';
6
6
  export * from './validation.util';
7
7
  export * from './payment.util';
8
8
  export * from './image.util';
9
- export * from './page-heading.util';
10
9
  export * from './font-loader.util';
11
10
  export * from './aspect-ratio.util';
12
11
  export * from './context.util';
@@ -6,7 +6,6 @@ export * from './model.util';
6
6
  export * from './validation.util';
7
7
  export * from './payment.util';
8
8
  export * from './image.util';
9
- export * from './page-heading.util';
10
9
  export * from './font-loader.util';
11
10
  export * from './aspect-ratio.util';
12
11
  export * from './context.util';
@@ -1347,7 +1347,6 @@ declare const _default: import("vue").DefineComponent<{}, {
1347
1347
  bpShowTopNavigationMobile(): boolean;
1348
1348
  bpShowTopNavigationDesktop(): boolean;
1349
1349
  slug(): string;
1350
- pageHeadingText(): string;
1351
1350
  shouldShowSaveContactWidget(): boolean;
1352
1351
  isPremiumSubscription(): boolean;
1353
1352
  shouldShowPopupBranding(): boolean;