@designcrowd/library.brand-page 5.16.3-background-6 → 5.16.3-background-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 (22) hide show
  1. package/lib/src/{CreatedOnBrandCrowd-de-de-DrTtOlmk.js → CreatedOnBrandCrowd-de-de-YFZqI0x7.js} +1 -1
  2. package/lib/src/{CreatedOnBrandCrowd-en-us-CRWtLJoP.js → CreatedOnBrandCrowd-en-us-oCydCj0r.js} +1 -1
  3. package/lib/src/{CreatedOnBrandCrowd-es-es-JdeszQ7L.js → CreatedOnBrandCrowd-es-es-8LWCIMUL.js} +1 -1
  4. package/lib/src/{CreatedOnBrandCrowd-fr-fr-DOol1XF5.js → CreatedOnBrandCrowd-fr-ca-HZ_V70no.js} +1 -1
  5. package/lib/src/{CreatedOnBrandCrowd-fr-ca-DOol1XF5.js → CreatedOnBrandCrowd-fr-fr-HZ_V70no.js} +1 -1
  6. package/lib/src/{CreatedOnBrandCrowd-pt-pt-8upe9Pit.js → CreatedOnBrandCrowd-pt-br-7jPL-cgd.js} +1 -1
  7. package/lib/src/{CreatedOnBrandCrowd-pt-br-8upe9Pit.js → CreatedOnBrandCrowd-pt-pt-7jPL-cgd.js} +1 -1
  8. package/lib/src/{CreatedOnDcom-de-de-E9yKn5zf.js → CreatedOnDcom-de-de-D-SliPlT.js} +1 -1
  9. package/lib/src/{CreatedOnDcom-en-us-BZBX5GmV.js → CreatedOnDcom-en-us-DWB_vdQE.js} +1 -1
  10. package/lib/src/{CreatedOnDcom-es-es-DF-Sn1om.js → CreatedOnDcom-es-es-DMuIffFr.js} +1 -1
  11. package/lib/src/{CreatedOnDcom-fr-ca-BUixwjs-.js → CreatedOnDcom-fr-ca-DM8vq9tc.js} +1 -1
  12. package/lib/src/{CreatedOnDcom-fr-fr-B586EsEc.js → CreatedOnDcom-fr-fr-8yITfFk9.js} +1 -1
  13. package/lib/src/{CreatedOnDcom-pt-br-CI34OV-C.js → CreatedOnDcom-pt-br-BlTWg3Np.js} +1 -1
  14. package/lib/src/{CreatedOnDcom-pt-pt-1in8JVCB.js → CreatedOnDcom-pt-pt-L8gg-C55.js} +1 -1
  15. package/lib/src/index.mjs +1 -1
  16. package/lib/src/{lib-Bv5IRsFX.js → lib-BdYJIcz_.js} +5 -5
  17. package/lib/src/shared/background-settings/store/background-settings-store.js +0 -1
  18. package/package.json +1 -1
  19. package/src/brand-page/models/index.ts +0 -1
  20. package/src/shared/background-settings/components/BackgroundSettings.vue +0 -2
  21. package/src/shared/background-settings/components/ReplaceImageSettingsForBackgroundSettings.vue +5 -2
  22. package/src/shared/background-settings/store/background-settings-store.ts +0 -2
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-Bv5IRsFX.js";
2
+ import { _ as t } from "./lib-BdYJIcz_.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-Bv5IRsFX.js";
2
+ import { _ as t } from "./lib-BdYJIcz_.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-Bv5IRsFX.js";
2
+ import { _ as t } from "./lib-BdYJIcz_.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-Bv5IRsFX.js";
2
+ import { _ as t } from "./lib-BdYJIcz_.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-Bv5IRsFX.js";
2
+ import { _ as t } from "./lib-BdYJIcz_.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-Bv5IRsFX.js";
2
+ import { _ as t } from "./lib-BdYJIcz_.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-Bv5IRsFX.js";
2
+ import { _ as t } from "./lib-BdYJIcz_.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-Bv5IRsFX.js";
2
+ import { _ as e } from "./lib-BdYJIcz_.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-Bv5IRsFX.js";
2
+ import { _ as e } from "./lib-BdYJIcz_.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-Bv5IRsFX.js";
2
+ import { _ as e } from "./lib-BdYJIcz_.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-Bv5IRsFX.js";
2
+ import { _ as e } from "./lib-BdYJIcz_.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-Bv5IRsFX.js";
2
+ import { _ as e } from "./lib-BdYJIcz_.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-Bv5IRsFX.js";
2
+ import { _ as M } from "./lib-BdYJIcz_.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-Bv5IRsFX.js";
2
+ import { _ as M } from "./lib-BdYJIcz_.js";
3
3
  const Z = {}, e = {
4
4
  width: "232",
5
5
  height: "36",
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-Bv5IRsFX.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-BdYJIcz_.js";
2
2
  import { createPinia as yE, setActivePinia as pE } from "pinia";
3
3
  export {
4
4
  E as ABOUT_SECTION_SETTINGS_CONFIG,
@@ -57841,10 +57841,10 @@ const tn = /* @__PURE__ */ j6(Gk1), Wk1 = (e, t, n) => {
57841
57841
  bt(() => n.context.isDesignCom, async () => {
57842
57842
  const S = x8().toLowerCase(), k = n.context.isDesignCom ? "Dcom" : "BrandCrowd";
57843
57843
  try {
57844
- const { default: _ } = await R_(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-DrTtOlmk.js"), "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-CRWtLJoP.js"), "./watermark/CreatedOnBrandCrowd-es-es.vue": () => import("./CreatedOnBrandCrowd-es-es-JdeszQ7L.js"), "./watermark/CreatedOnBrandCrowd-fr-ca.vue": () => import("./CreatedOnBrandCrowd-fr-ca-DOol1XF5.js"), "./watermark/CreatedOnBrandCrowd-fr-fr.vue": () => import("./CreatedOnBrandCrowd-fr-fr-DOol1XF5.js"), "./watermark/CreatedOnBrandCrowd-pt-br.vue": () => import("./CreatedOnBrandCrowd-pt-br-8upe9Pit.js"), "./watermark/CreatedOnBrandCrowd-pt-pt.vue": () => import("./CreatedOnBrandCrowd-pt-pt-8upe9Pit.js"), "./watermark/CreatedOnDcom-de-de.vue": () => import("./CreatedOnDcom-de-de-E9yKn5zf.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-BZBX5GmV.js"), "./watermark/CreatedOnDcom-es-es.vue": () => import("./CreatedOnDcom-es-es-DF-Sn1om.js"), "./watermark/CreatedOnDcom-fr-ca.vue": () => import("./CreatedOnDcom-fr-ca-BUixwjs-.js"), "./watermark/CreatedOnDcom-fr-fr.vue": () => import("./CreatedOnDcom-fr-fr-B586EsEc.js"), "./watermark/CreatedOnDcom-pt-br.vue": () => import("./CreatedOnDcom-pt-br-CI34OV-C.js"), "./watermark/CreatedOnDcom-pt-pt.vue": () => import("./CreatedOnDcom-pt-pt-1in8JVCB.js") }), `./watermark/CreatedOn${k}-${S}.vue`, 3);
57844
+ const { default: _ } = await R_(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-YFZqI0x7.js"), "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-oCydCj0r.js"), "./watermark/CreatedOnBrandCrowd-es-es.vue": () => import("./CreatedOnBrandCrowd-es-es-8LWCIMUL.js"), "./watermark/CreatedOnBrandCrowd-fr-ca.vue": () => import("./CreatedOnBrandCrowd-fr-ca-HZ_V70no.js"), "./watermark/CreatedOnBrandCrowd-fr-fr.vue": () => import("./CreatedOnBrandCrowd-fr-fr-HZ_V70no.js"), "./watermark/CreatedOnBrandCrowd-pt-br.vue": () => import("./CreatedOnBrandCrowd-pt-br-7jPL-cgd.js"), "./watermark/CreatedOnBrandCrowd-pt-pt.vue": () => import("./CreatedOnBrandCrowd-pt-pt-7jPL-cgd.js"), "./watermark/CreatedOnDcom-de-de.vue": () => import("./CreatedOnDcom-de-de-D-SliPlT.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-DWB_vdQE.js"), "./watermark/CreatedOnDcom-es-es.vue": () => import("./CreatedOnDcom-es-es-DMuIffFr.js"), "./watermark/CreatedOnDcom-fr-ca.vue": () => import("./CreatedOnDcom-fr-ca-DM8vq9tc.js"), "./watermark/CreatedOnDcom-fr-fr.vue": () => import("./CreatedOnDcom-fr-fr-8yITfFk9.js"), "./watermark/CreatedOnDcom-pt-br.vue": () => import("./CreatedOnDcom-pt-br-BlTWg3Np.js"), "./watermark/CreatedOnDcom-pt-pt.vue": () => import("./CreatedOnDcom-pt-pt-L8gg-C55.js") }), `./watermark/CreatedOn${k}-${S}.vue`, 3);
57845
57845
  i.value = _;
57846
57846
  } catch {
57847
- const { default: L } = await R_(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-CRWtLJoP.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-BZBX5GmV.js") }), `./watermark/CreatedOn${k}-en-us.vue`, 3);
57847
+ const { default: L } = await R_(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-oCydCj0r.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-DWB_vdQE.js") }), `./watermark/CreatedOn${k}-en-us.vue`, 3);
57848
57848
  i.value = L;
57849
57849
  }
57850
57850
  }, {
@@ -68505,7 +68505,7 @@ const wt = w2("uiContentSettings", {
68505
68505
  this.backgroundMode = e.backgroundMode;
68506
68506
  },
68507
68507
  setBackgroundMedia(e) {
68508
- if (console.log("Here in the background settings store", e), e.type === "getty-video") {
68508
+ if (e.type === "getty-video") {
68509
68509
  const t = e;
68510
68510
  D9().setVideoUrlsWithToken(
68511
68511
  t.token,
@@ -81702,9 +81702,9 @@ const AW1 = {
81702
81702
  });
81703
81703
  }, R = (K) => {
81704
81704
  var m1;
81705
- console.log("Here deleting"), K.value === "" && n.setBackgroundImageUrl({
81705
+ K.value === "" && n.setBackgroundImageUrl({
81706
81706
  backgroundImageUrl: ""
81707
- }), (m1 = a.value) != null && m1.media && (console.log("Removing background video"), n.removeBackgroundVideo());
81707
+ }), (m1 = a.value) != null && m1.media && n.removeBackgroundVideo();
81708
81708
  }, U = (K) => {
81709
81709
  I.selectedShapeTab = K;
81710
81710
  }, X = (K) => {
@@ -142,7 +142,6 @@ export const useUiBackgroundSettingsStore = defineStore('uiBackgroundSettings',
142
142
  this.backgroundMode = payload.backgroundMode;
143
143
  },
144
144
  setBackgroundMedia(payload) {
145
- console.log('Here in the background settings store', payload);
146
145
  if (payload.type === 'getty-video') {
147
146
  const gettyMedia = payload;
148
147
  const videoStore = useVideoStore();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@designcrowd/library.brand-page",
3
3
  "description": "A collection of Maker/Designer applications",
4
- "version": "5.16.3-background-6",
4
+ "version": "5.16.3-background-7",
5
5
  "author": "Design.com Eng",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -29,7 +29,6 @@ import { EMPTY_LOGO_IMAGE_MODEL, LogoStyles } from './logo.model';
29
29
  import type { LogoImageModel, LogoTemplateImageModel } from './logo.model';
30
30
  import cloneDeep from 'lodash.clonedeep';
31
31
  import type { BrandPagePaymentConfig } from './payment.model';
32
- import type { MediaViewModel } from '../view-models';
33
32
 
34
33
  export * from './brand-page-context.model';
35
34
  export * from './payment.model';
@@ -245,7 +245,6 @@ const onBackgroundMediaDeleted = (payload: {
245
245
  name: string;
246
246
  value: string;
247
247
  }) => {
248
- console.log('Here deleting');
249
248
  if (payload.value === '') {
250
249
  backgroundSettingsStore.setBackgroundImageUrl({
251
250
  backgroundImageUrl: '',
@@ -253,7 +252,6 @@ const onBackgroundMediaDeleted = (payload: {
253
252
  }
254
253
 
255
254
  if (backgroundStyles.value?.media) {
256
- console.log('Removing background video');
257
255
  backgroundSettingsStore.removeBackgroundVideo();
258
256
  }
259
257
  };
@@ -29,7 +29,10 @@ import type {
29
29
  ReplaceImageSettingsBase,
30
30
  ReplaceImageSettingsTabId,
31
31
  } from '../../content-settings/models';
32
- import type { UserMediaItemWithDimensions } from '../../my-uploads/models';
32
+ import type {
33
+ MediaBaseSelectedPayload,
34
+ UserMediaItemWithDimensions,
35
+ } from '../../my-uploads/models';
33
36
  import { MEDIA_TYPES } from '../../../brand-page/models/brand-page-context.model';
34
37
 
35
38
  interface Props {
@@ -119,7 +122,7 @@ const onDesignSelected = (image: UserMediaItemWithDimensions) => {
119
122
  });
120
123
  };
121
124
 
122
- const onVideoSelected = (videoPayload: any) => {
125
+ const onVideoSelected = (videoPayload: MediaBaseSelectedPayload) => {
123
126
  backgroundSettingsStore.setBackgroundMedia(videoPayload);
124
127
 
125
128
  backgroundSettingsStore.setBackgroundMode({
@@ -252,8 +252,6 @@ export const useUiBackgroundSettingsStore = defineStore(
252
252
  },
253
253
 
254
254
  setBackgroundMedia(payload: MediaBaseSelectedPayload) {
255
- console.log('Here in the background settings store', payload);
256
-
257
255
  if (payload.type === 'getty-video') {
258
256
  const gettyMedia = payload as GettyVideoMediaSelectedPayload;
259
257
  const videoStore = useVideoStore();