@designcrowd/library.brand-page 5.17.12 → 5.17.13
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.
- package/lib/src/{CreatedOnBrandCrowd-de-de-DAZQd0VZ.js → CreatedOnBrandCrowd-de-de-Bca5lK0D.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-BR0OOGNO.js → CreatedOnBrandCrowd-en-us-DsSv9Yb3.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-c6mlc2X0.js → CreatedOnBrandCrowd-es-es-bmyh0Hhu.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-DwTsM9Yk.js → CreatedOnBrandCrowd-fr-ca-CEY5Vwyl.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-DwTsM9Yk.js → CreatedOnBrandCrowd-fr-fr-CEY5Vwyl.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-DcW3m01U.js → CreatedOnBrandCrowd-pt-br-B0qQyIQj.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-br-DcW3m01U.js → CreatedOnBrandCrowd-pt-pt-B0qQyIQj.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-BumffSPa.js → CreatedOnDcom-de-de-Bge8ajmJ.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-B4M3Yaa-.js → CreatedOnDcom-en-us-DEPPhuhr.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-DX-HNL26.js → CreatedOnDcom-es-es-DPj_Ew87.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-ca-dvR2J63W.js → CreatedOnDcom-fr-ca-Cpq5wFjs.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-B31g0AHG.js → CreatedOnDcom-fr-fr-CBQ2WuX-.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-br-5-VYtxlo.js → CreatedOnDcom-pt-br-erHhjco0.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-7ivIPqLw.js → CreatedOnDcom-pt-pt-mQnDH1e3.js} +1 -1
- package/lib/src/index.mjs +1 -1
- package/lib/src/{lib-Cyh-xUQe.js → lib-DLa849MC.js} +4 -4
- package/lib/src/shared/template-settings/components/TemplatesSettings.mixin.js +8 -0
- package/package.json +1 -1
- package/src/shared/template-settings/components/TemplatesSettings.mixin.ts +7 -0
package/lib/src/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as E, a as T, b as s, c as I, d as S, e as N, f as e, B as A, g as O, h as C, i as G, j as D, k as P, l as t, m as R, n as L, o as M, p as o, q as r, r as b, s as n, t as F, u as i, v as l, w as g, x as B, y as c, z as Y, C as U, D as d, E as u, F as H, G as p, H as y, I as K, J as k, K as m, L as V, M as X, N as h, O as v, P as W, Q as f, R as x, S as z, T as w, U as Z, V as j, W as Q, X as q, Y as J, Z as $, $ as aa, a0 as _a, a1 as Ea, a2 as Ta, a3 as sa, a4 as Ia, a5 as Sa, a6 as Na, a7 as ea, a8 as Aa, a9 as Oa, aa as Ca, ab as Ga, ac as Da, ad as Pa, ae as ta, af as Ra, ag as La, ah as Ma, ai as oa, aj as ra, ak as ba, al as na, am as Fa, an as ia, ao as la, ap as ga, aq as Ba, ar as ca, as as Ya, at as Ua, au as da, av as ua, aw as Ha, ax as pa, ay as ya, az as Ka, aA as ka, aB as ma, aC as Va, aD as Xa, aE as ha, aF as va, aG as Wa, aH as fa, aI as xa, aJ as za, aK as wa, aL as Za, aM as ja, aN as Qa, aO as qa, aP as Ja, aQ as $a, aR as a_, aS as __, aT as E_, aU as T_, aV as s_, aW as I_, aX as S_, aY as N_, aZ as e_, a_ as A_, a$ as O_, b0 as C_, b1 as G_, b2 as D_, b3 as P_, b4 as t_, b5 as R_, b6 as L_, b7 as M_, b8 as o_, b9 as r_, ba as b_, bb as n_, bc as F_, bd as i_, be as l_, bf as g_, bg as B_, bh as c_, bi as Y_, bj as U_, bk as d_, bl as u_, bm as H_, bn as p_, bo as y_, bp as K_, bq as k_, br as m_, bs as V_, bt as X_, bu as h_, bv as v_, bw as W_, bx as f_, by as x_, bz as z_, bA as w_, bB as Z_, bC as j_, bD as Q_, bE as q_, bF as J_, bG as $_, bH as aE, bI as _E, bJ as EE, bK as TE, bL as sE, bM as IE, bN as SE, bO as NE, bP as eE, bQ as AE, bR as OE, bS as CE, bT as GE, bU as DE, bV as PE, bW as tE, bX as RE, bY as LE, bZ as ME, b_ as oE, b$ as rE, c0 as bE, c1 as nE, c2 as FE, c3 as iE, c4 as lE, c5 as gE, c6 as BE, c7 as cE, c8 as YE, c9 as UE, ca as dE, cb as uE, cc as HE, cd as pE, ce as yE, cf as KE, cg as kE, ch as mE, ci as VE, cj as XE, ck as hE, cl as vE, cm as WE, cn as fE, co as xE } from "./lib-
|
|
1
|
+
import { A as E, a as T, b as s, c as I, d as S, e as N, f as e, B as A, g as O, h as C, i as G, j as D, k as P, l as t, m as R, n as L, o as M, p as o, q as r, r as b, s as n, t as F, u as i, v as l, w as g, x as B, y as c, z as Y, C as U, D as d, E as u, F as H, G as p, H as y, I as K, J as k, K as m, L as V, M as X, N as h, O as v, P as W, Q as f, R as x, S as z, T as w, U as Z, V as j, W as Q, X as q, Y as J, Z as $, $ as aa, a0 as _a, a1 as Ea, a2 as Ta, a3 as sa, a4 as Ia, a5 as Sa, a6 as Na, a7 as ea, a8 as Aa, a9 as Oa, aa as Ca, ab as Ga, ac as Da, ad as Pa, ae as ta, af as Ra, ag as La, ah as Ma, ai as oa, aj as ra, ak as ba, al as na, am as Fa, an as ia, ao as la, ap as ga, aq as Ba, ar as ca, as as Ya, at as Ua, au as da, av as ua, aw as Ha, ax as pa, ay as ya, az as Ka, aA as ka, aB as ma, aC as Va, aD as Xa, aE as ha, aF as va, aG as Wa, aH as fa, aI as xa, aJ as za, aK as wa, aL as Za, aM as ja, aN as Qa, aO as qa, aP as Ja, aQ as $a, aR as a_, aS as __, aT as E_, aU as T_, aV as s_, aW as I_, aX as S_, aY as N_, aZ as e_, a_ as A_, a$ as O_, b0 as C_, b1 as G_, b2 as D_, b3 as P_, b4 as t_, b5 as R_, b6 as L_, b7 as M_, b8 as o_, b9 as r_, ba as b_, bb as n_, bc as F_, bd as i_, be as l_, bf as g_, bg as B_, bh as c_, bi as Y_, bj as U_, bk as d_, bl as u_, bm as H_, bn as p_, bo as y_, bp as K_, bq as k_, br as m_, bs as V_, bt as X_, bu as h_, bv as v_, bw as W_, bx as f_, by as x_, bz as z_, bA as w_, bB as Z_, bC as j_, bD as Q_, bE as q_, bF as J_, bG as $_, bH as aE, bI as _E, bJ as EE, bK as TE, bL as sE, bM as IE, bN as SE, bO as NE, bP as eE, bQ as AE, bR as OE, bS as CE, bT as GE, bU as DE, bV as PE, bW as tE, bX as RE, bY as LE, bZ as ME, b_ as oE, b$ as rE, c0 as bE, c1 as nE, c2 as FE, c3 as iE, c4 as lE, c5 as gE, c6 as BE, c7 as cE, c8 as YE, c9 as UE, ca as dE, cb as uE, cc as HE, cd as pE, ce as yE, cf as KE, cg as kE, ch as mE, ci as VE, cj as XE, ck as hE, cl as vE, cm as WE, cn as fE, co as xE } from "./lib-DLa849MC.js";
|
|
2
2
|
import { createPinia as wE, setActivePinia as ZE } from "pinia";
|
|
3
3
|
export {
|
|
4
4
|
E as ABOUT_SECTION_SETTINGS_CONFIG,
|
|
@@ -61704,10 +61704,10 @@ const qn = /* @__PURE__ */ U6($B1), DB1 = (e, t, n) => {
|
|
|
61704
61704
|
We(() => n.context.isDesignCom, async () => {
|
|
61705
61705
|
const S = B6().toLowerCase(), M = n.context.isDesignCom ? "Dcom" : "BrandCrowd";
|
|
61706
61706
|
try {
|
|
61707
|
-
const { default: V } = await CT(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-
|
|
61707
|
+
const { default: V } = await CT(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-Bca5lK0D.js"), "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-DsSv9Yb3.js"), "./watermark/CreatedOnBrandCrowd-es-es.vue": () => import("./CreatedOnBrandCrowd-es-es-bmyh0Hhu.js"), "./watermark/CreatedOnBrandCrowd-fr-ca.vue": () => import("./CreatedOnBrandCrowd-fr-ca-CEY5Vwyl.js"), "./watermark/CreatedOnBrandCrowd-fr-fr.vue": () => import("./CreatedOnBrandCrowd-fr-fr-CEY5Vwyl.js"), "./watermark/CreatedOnBrandCrowd-pt-br.vue": () => import("./CreatedOnBrandCrowd-pt-br-B0qQyIQj.js"), "./watermark/CreatedOnBrandCrowd-pt-pt.vue": () => import("./CreatedOnBrandCrowd-pt-pt-B0qQyIQj.js"), "./watermark/CreatedOnDcom-de-de.vue": () => import("./CreatedOnDcom-de-de-Bge8ajmJ.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-DEPPhuhr.js"), "./watermark/CreatedOnDcom-es-es.vue": () => import("./CreatedOnDcom-es-es-DPj_Ew87.js"), "./watermark/CreatedOnDcom-fr-ca.vue": () => import("./CreatedOnDcom-fr-ca-Cpq5wFjs.js"), "./watermark/CreatedOnDcom-fr-fr.vue": () => import("./CreatedOnDcom-fr-fr-CBQ2WuX-.js"), "./watermark/CreatedOnDcom-pt-br.vue": () => import("./CreatedOnDcom-pt-br-erHhjco0.js"), "./watermark/CreatedOnDcom-pt-pt.vue": () => import("./CreatedOnDcom-pt-pt-mQnDH1e3.js") }), `./watermark/CreatedOn${M}-${S}.vue`, 3);
|
|
61708
61708
|
i.value = V;
|
|
61709
61709
|
} catch {
|
|
61710
|
-
const { default: L } = await CT(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-
|
|
61710
|
+
const { default: L } = await CT(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-DsSv9Yb3.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-DEPPhuhr.js") }), `./watermark/CreatedOn${M}-en-us.vue`, 3);
|
|
61711
61711
|
i.value = L;
|
|
61712
61712
|
}
|
|
61713
61713
|
}, {
|
|
@@ -103057,9 +103057,9 @@ const rye = 100, cL = e1({
|
|
|
103057
103057
|
}
|
|
103058
103058
|
},
|
|
103059
103059
|
async mounted() {
|
|
103060
|
-
await this.checkAndRefreshS3TokenIfExpired(), this.pageCount
|
|
103060
|
+
await this.checkAndRefreshS3TokenIfExpired(), this.pageCount ? this.initialSearchTerm && !this.searchTerm && (this.searchTextValue = this.initialSearchTerm, this.setSearchText()) : this.initialSearchTerm ? (this.searchTextValue = this.initialSearchTerm, this.setSearchText()) : await this.templateSettingsStore.loadPageNo({
|
|
103061
103061
|
pageNo: kI
|
|
103062
|
-
})
|
|
103062
|
+
});
|
|
103063
103063
|
},
|
|
103064
103064
|
created() {
|
|
103065
103065
|
this.debounceOnSearch = aye(this.setSearchText, 500);
|
|
@@ -125,6 +125,14 @@ export default defineComponent({
|
|
|
125
125
|
});
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
|
+
else if (this.initialSearchTerm && !this.searchTerm) {
|
|
129
|
+
// On mobile, the sidebar defaults to Preview tab so this component mounts
|
|
130
|
+
// only when the user navigates to the Templates tab. By then,
|
|
131
|
+
// BrandPageMaker's setTimeout has already loaded templates without the
|
|
132
|
+
// search term (pageCount > 0). Apply the initial search now.
|
|
133
|
+
this.searchTextValue = this.initialSearchTerm;
|
|
134
|
+
this.setSearchText();
|
|
135
|
+
}
|
|
128
136
|
},
|
|
129
137
|
created() {
|
|
130
138
|
this.debounceOnSearch = debounce(this.setSearchText, 500);
|
package/package.json
CHANGED
|
@@ -177,6 +177,13 @@ export default defineComponent({
|
|
|
177
177
|
pageNo: TEMPLATE_FIRST_PAGE_NO,
|
|
178
178
|
});
|
|
179
179
|
}
|
|
180
|
+
} else if (this.initialSearchTerm && !this.searchTerm) {
|
|
181
|
+
// On mobile, the sidebar defaults to Preview tab so this component mounts
|
|
182
|
+
// only when the user navigates to the Templates tab. By then,
|
|
183
|
+
// BrandPageMaker's setTimeout has already loaded templates without the
|
|
184
|
+
// search term (pageCount > 0). Apply the initial search now.
|
|
185
|
+
this.searchTextValue = this.initialSearchTerm;
|
|
186
|
+
this.setSearchText();
|
|
180
187
|
}
|
|
181
188
|
},
|
|
182
189
|
created() {
|