@designcrowd/library.brand-page 5.15.24-previewopt1 → 5.15.24

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 (26) hide show
  1. package/lib/src/{CreatedOnBrandCrowd-de-de-2PXT7EZb.js → CreatedOnBrandCrowd-de-de-D7rRFKgr.js} +1 -1
  2. package/lib/src/{CreatedOnBrandCrowd-en-us-Z9MzAszV.js → CreatedOnBrandCrowd-en-us-CaTNBPEK.js} +1 -1
  3. package/lib/src/{CreatedOnBrandCrowd-es-es-BAERR5rw.js → CreatedOnBrandCrowd-es-es-zdp6A-zF.js} +1 -1
  4. package/lib/src/{CreatedOnBrandCrowd-fr-fr-C313cT4I.js → CreatedOnBrandCrowd-fr-ca-TS3XLzo6.js} +1 -1
  5. package/lib/src/{CreatedOnBrandCrowd-fr-ca-C313cT4I.js → CreatedOnBrandCrowd-fr-fr-TS3XLzo6.js} +1 -1
  6. package/lib/src/{CreatedOnBrandCrowd-pt-pt-VKZ01xyG.js → CreatedOnBrandCrowd-pt-br-DkyF49-j.js} +1 -1
  7. package/lib/src/{CreatedOnBrandCrowd-pt-br-VKZ01xyG.js → CreatedOnBrandCrowd-pt-pt-DkyF49-j.js} +1 -1
  8. package/lib/src/{CreatedOnDcom-de-de-XJAgRakG.js → CreatedOnDcom-de-de-BckUcm9C.js} +1 -1
  9. package/lib/src/{CreatedOnDcom-en-us-CPdCtjAv.js → CreatedOnDcom-en-us-CqgIo3AG.js} +1 -1
  10. package/lib/src/{CreatedOnDcom-es-es-BVILuscA.js → CreatedOnDcom-es-es-DOEOu0Gx.js} +1 -1
  11. package/lib/src/{CreatedOnDcom-fr-ca-D2Nsjr95.js → CreatedOnDcom-fr-ca-DjbwfTN3.js} +1 -1
  12. package/lib/src/{CreatedOnDcom-fr-fr-DGWFJ1Xu.js → CreatedOnDcom-fr-fr-By17z-yX.js} +1 -1
  13. package/lib/src/{CreatedOnDcom-pt-br-2YNMtdtU.js → CreatedOnDcom-pt-br-D9AAR_em.js} +1 -1
  14. package/lib/src/{CreatedOnDcom-pt-pt-BctPSCBE.js → CreatedOnDcom-pt-pt-Bz8SLuU2.js} +1 -1
  15. package/lib/src/brand-page-maker/components/preview/Preview.mixin.js +1 -1
  16. package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.js +1 -1
  17. package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.js +3 -3
  18. package/lib/src/brand-page-maker/stores/video/video-store.d.ts +1 -8
  19. package/lib/src/brand-page-maker/stores/video/video-store.js +1 -7
  20. package/lib/src/index.mjs +1 -1
  21. package/lib/src/{lib-2hNyTLkb.js → lib-CgMLUv91.js} +4291 -4295
  22. package/package.json +1 -1
  23. package/src/brand-page-maker/components/preview/Preview.mixin.ts +1 -1
  24. package/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.ts +1 -1
  25. package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +3 -3
  26. package/src/brand-page-maker/stores/video/video-store.ts +1 -7
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-2hNyTLkb.js";
2
+ import { _ as t } from "./lib-CgMLUv91.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-2hNyTLkb.js";
2
+ import { _ as t } from "./lib-CgMLUv91.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-2hNyTLkb.js";
2
+ import { _ as t } from "./lib-CgMLUv91.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-2hNyTLkb.js";
2
+ import { _ as t } from "./lib-CgMLUv91.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-2hNyTLkb.js";
2
+ import { _ as t } from "./lib-CgMLUv91.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-2hNyTLkb.js";
2
+ import { _ as t } from "./lib-CgMLUv91.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-2hNyTLkb.js";
2
+ import { _ as t } from "./lib-CgMLUv91.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-2hNyTLkb.js";
2
+ import { _ as e } from "./lib-CgMLUv91.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-2hNyTLkb.js";
2
+ import { _ as e } from "./lib-CgMLUv91.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-2hNyTLkb.js";
2
+ import { _ as e } from "./lib-CgMLUv91.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-2hNyTLkb.js";
2
+ import { _ as e } from "./lib-CgMLUv91.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-2hNyTLkb.js";
2
+ import { _ as e } from "./lib-CgMLUv91.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-2hNyTLkb.js";
2
+ import { _ as M } from "./lib-CgMLUv91.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-2hNyTLkb.js";
2
+ import { _ as M } from "./lib-CgMLUv91.js";
3
3
  const Z = {}, e = {
4
4
  width: "232",
5
5
  height: "36",
@@ -77,7 +77,7 @@ export default defineComponent({
77
77
  isServerRender: false,
78
78
  options: {
79
79
  mediaSizes: MEDIA_SIZES.size1x,
80
- renderVideoAsImage: false,
80
+ renderVideoAsImage: true,
81
81
  },
82
82
  stripePublishableKey: undefined,
83
83
  runtimeEnvironment: this.runtimeEnvironment,
@@ -216,7 +216,7 @@ export default defineComponent({
216
216
  model = applyLogoThemeToBrandPageModel(this.logoTheme, model).model;
217
217
  this.viewModel = await getBrandPageViewModelFromBrandPageModel(model, undefined, false, {
218
218
  useOldLogoRenderSize: false,
219
- getVideoUrls: videoStore.getPreviewS3VideoUrlsForToken,
219
+ getVideoUrls: videoStore.getS3VideoUrlsForToken,
220
220
  });
221
221
  if (forceUpdate) {
222
222
  this.$forceUpdate();
@@ -891,7 +891,7 @@ export const useBrandPageMakerStore = defineStore('brandPageMaker', {
891
891
  return getBrandPageViewModelFromBrandPageModel(themedBrandPage, this.brandPageToken, undefined, {
892
892
  useOldLogoRenderSize: false,
893
893
  getVideoUrls: videoStore.getVideoUrlsForToken,
894
- getS3VideoUrls: videoStore.getOptimisedS3VideoUrlsForToken,
894
+ getS3VideoUrls: videoStore.getS3VideoUrlsForToken,
895
895
  setVideoUrlsWithToken: videoStore.setVideoUrlsWithToken,
896
896
  });
897
897
  }
@@ -904,14 +904,14 @@ export const useBrandPageMakerStore = defineStore('brandPageMaker', {
904
904
  return getBrandPageViewModelFromBrandPageModel(model, this.brandPageToken, showBrandCrowdLogo, {
905
905
  useOldLogoRenderSize: false,
906
906
  getVideoUrls: videoStore.getVideoUrlsForToken,
907
- getS3VideoUrls: videoStore.getOptimisedS3VideoUrlsForToken,
907
+ getS3VideoUrls: videoStore.getS3VideoUrlsForToken,
908
908
  setVideoUrlsWithToken: videoStore.setVideoUrlsWithToken,
909
909
  });
910
910
  }
911
911
  return getBrandPageViewModelFromBrandPageModel(this.brandPageData, this.brandPageToken, showBrandCrowdLogo, {
912
912
  useOldLogoRenderSize: false,
913
913
  getVideoUrls: videoStore.getVideoUrlsForToken,
914
- getS3VideoUrls: videoStore.getOptimisedS3VideoUrlsForToken,
914
+ getS3VideoUrls: videoStore.getS3VideoUrlsForToken,
915
915
  setVideoUrlsWithToken: videoStore.setVideoUrlsWithToken,
916
916
  });
917
917
  },
@@ -13,14 +13,7 @@ export declare const useVideoStore: import("pinia").StoreDefinition<"video", vid
13
13
  videoUrls: VideoUrls;
14
14
  gettyImagesKeyPrefix: string;
15
15
  } & import("pinia").PiniaCustomStateProperties<videoStoreState>) => (token: string) => VideoUrlData;
16
- getPreviewS3VideoUrlsForToken: (state: {
17
- videoUrls: VideoUrls;
18
- gettyImagesKeyPrefix: string;
19
- } & import("pinia").PiniaCustomStateProperties<videoStoreState>) => (token: string) => {
20
- videoUrl: string;
21
- previewImageUrl: string;
22
- };
23
- getOptimisedS3VideoUrlsForToken: (state: {
16
+ getS3VideoUrlsForToken: (state: {
24
17
  videoUrls: VideoUrls;
25
18
  gettyImagesKeyPrefix: string;
26
19
  } & import("pinia").PiniaCustomStateProperties<videoStoreState>) => (token: string) => {
@@ -17,17 +17,11 @@ export const useVideoStore = defineStore('video', {
17
17
  getVideoUrlsForToken: (state) => (token) => {
18
18
  return state.videoUrls[token];
19
19
  },
20
- getPreviewS3VideoUrlsForToken: (state) => (token) => {
20
+ getS3VideoUrlsForToken: (state) => (token) => {
21
21
  return {
22
22
  videoUrl: `${CDN_GETTY_S3_URL_PREFIX}/public/${state.gettyImagesKeyPrefix}/${token}/${token}_preview`,
23
23
  previewImageUrl: `${CDN_GETTY_S3_URL_PREFIX}/public/${state.gettyImagesKeyPrefix}/${token}/${token}_preview_thumb`,
24
24
  };
25
25
  },
26
- getOptimisedS3VideoUrlsForToken: (state) => (token) => {
27
- return {
28
- videoUrl: `${CDN_GETTY_S3_URL_PREFIX}/public/${state.gettyImagesKeyPrefix}/${token}/${token}_optimised`,
29
- previewImageUrl: `${CDN_GETTY_S3_URL_PREFIX}/public/${state.gettyImagesKeyPrefix}/${token}/${token}_optimised_thumb`,
30
- };
31
- },
32
26
  },
33
27
  });
package/lib/src/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { bD as E, ar as T, aU as I, a5 as s, aj as N, ai as S, af as A, bt as e, bK as O, cb as G, ca as C, c9 as D, c3 as P, b2 as t, b1 as R, bP as L, bQ as M, bX as o, bM as b, bO as r, bN as F, bR as n, bS as B, c2 as i, c0 as l, aq as g, c1 as Y, a8 as U, aZ as c, a$ as d, a_ as u, e as H, f as y, B as p, $ as K, d as V, a0 as k, j as X, an as m, Z as v, bs as h, bL as W, ay as x, aW as f, aS as z, b_ as Z, bZ as w, C as Q, b5 as j, D as q, b as J, a as $, bV as aa, b4 as _a, aX as Ea, aT as Ta, c7 as Ia, c8 as sa, bY as Na, bH as Sa, ad as Aa, b$ as ea, c4 as Oa, ba as Ga, aK as Ca, bg as Da, F as Pa, a7 as ta, a6 as Ra, h as La, a1 as Ma, b7 as oa, aV as ba, aR as ra, a3 as Fa, ak as na, l as Ba, K as ia, H as la, a9 as ga, bE as Ya, bb as Ua, bc as ca, bC as da, bi as ua, bk as Ha, b6 as ya, L as pa, aJ as Ka, bp as Va, aP as ka, bo as Xa, as as ma, ab as va, bW as ha, c5 as Wa, c6 as xa, aY as fa, N as za, aB as Za, aA as wa, aC as Qa, aw as ja, ax as qa, az as Ja, be as $a, bl as a_, b8 as __, o as E_, al as T_, am as I_, ag as s_, ah as N_, ae as S_, a4 as A_, m as e_, bq as O_, ap as G_, bI as C_, bJ as D_, bU as P_, ac as t_, bG as R_, br as L_, n as M_, S as o_, P as b_, aI as r_, bF as F_, bf as n_, bx as B_, bw as i_, bz as l_, bu as g_, bA as Y_, bB as U_, bv as c_, by as d_, aD as u_, aE as H_, bn as y_, bm as p_, aG as K_, aH as V_, aM as k_, b0 as X_, aL as m_, aN as v_, U as h_, aa as W_, aQ as x_, k as f_, bd as z_, ao as Z_, b9 as w_, bh as Q_, bj as j_, b3 as q_, Q as J_, a2 as $_, g as aE, bT as _E, r as EE, u as TE, M as IE, Y as sE, aF as NE, aO as SE, au as AE, p as eE, W as OE, t as GE, w as CE, at as DE, i as PE, av as tE, c as RE, q as LE, v as ME, V as oE, O as bE, s as rE, X as FE, A as nE, x as BE, y as iE, T as lE, E as gE, R as YE, G as UE, J as cE, z as dE, I as uE } from "./lib-2hNyTLkb.js";
1
+ import { bD as E, ar as T, aU as I, a5 as s, aj as N, ai as S, af as A, bt as e, bK as O, cb as G, ca as C, c9 as D, c3 as P, b2 as t, b1 as R, bP as L, bQ as M, bX as o, bM as b, bO as r, bN as F, bR as n, bS as B, c2 as i, c0 as l, aq as g, c1 as Y, a8 as U, aZ as c, a$ as d, a_ as u, e as H, f as y, B as p, $ as K, d as V, a0 as k, j as X, an as m, Z as v, bs as h, bL as W, ay as x, aW as f, aS as z, b_ as Z, bZ as w, C as Q, b5 as j, D as q, b as J, a as $, bV as aa, b4 as _a, aX as Ea, aT as Ta, c7 as Ia, c8 as sa, bY as Na, bH as Sa, ad as Aa, b$ as ea, c4 as Oa, ba as Ga, aK as Ca, bg as Da, F as Pa, a7 as ta, a6 as Ra, h as La, a1 as Ma, b7 as oa, aV as ba, aR as ra, a3 as Fa, ak as na, l as Ba, K as ia, H as la, a9 as ga, bE as Ya, bb as Ua, bc as ca, bC as da, bi as ua, bk as Ha, b6 as ya, L as pa, aJ as Ka, bp as Va, aP as ka, bo as Xa, as as ma, ab as va, bW as ha, c5 as Wa, c6 as xa, aY as fa, N as za, aB as Za, aA as wa, aC as Qa, aw as ja, ax as qa, az as Ja, be as $a, bl as a_, b8 as __, o as E_, al as T_, am as I_, ag as s_, ah as N_, ae as S_, a4 as A_, m as e_, bq as O_, ap as G_, bI as C_, bJ as D_, bU as P_, ac as t_, bG as R_, br as L_, n as M_, S as o_, P as b_, aI as r_, bF as F_, bf as n_, bx as B_, bw as i_, bz as l_, bu as g_, bA as Y_, bB as U_, bv as c_, by as d_, aD as u_, aE as H_, bn as y_, bm as p_, aG as K_, aH as V_, aM as k_, b0 as X_, aL as m_, aN as v_, U as h_, aa as W_, aQ as x_, k as f_, bd as z_, ao as Z_, b9 as w_, bh as Q_, bj as j_, b3 as q_, Q as J_, a2 as $_, g as aE, bT as _E, r as EE, u as TE, M as IE, Y as sE, aF as NE, aO as SE, au as AE, p as eE, W as OE, t as GE, w as CE, at as DE, i as PE, av as tE, c as RE, q as LE, v as ME, V as oE, O as bE, s as rE, X as FE, A as nE, x as BE, y as iE, T as lE, E as gE, R as YE, G as UE, J as cE, z as dE, I as uE } from "./lib-CgMLUv91.js";
2
2
  import { createPinia as yE, setActivePinia as pE } from "pinia";
3
3
  export {
4
4
  E as ABOUT_SECTION_SETTINGS_CONFIG,