@lystech/core 3.0.102 → 3.0.103
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.
|
@@ -43549,7 +43549,7 @@ const dh = {
|
|
|
43549
43549
|
padding: 2,
|
|
43550
43550
|
lineHeight: 0,
|
|
43551
43551
|
flexShrink: 0
|
|
43552
|
-
}, hU = "@lystech/core", mU = "lystechcorenpmpackage:last-version", vU = "3.0.
|
|
43552
|
+
}, hU = "@lystech/core", mU = "lystechcorenpmpackage:last-version", vU = "3.0.103";
|
|
43553
43553
|
function gU(e = {}) {
|
|
43554
43554
|
const {
|
|
43555
43555
|
packageName: t = hU,
|
|
@@ -43736,7 +43736,10 @@ function bU({
|
|
|
43736
43736
|
Qe(() => {
|
|
43737
43737
|
localStorage.setItem("Organization", a), r && (a || console.warn("OrganizationProvider: organisationState est vide, pas de mise à jour dans le localStorage"));
|
|
43738
43738
|
}, [a]), Qe(() => {
|
|
43739
|
-
v((s == null ? void 0 : s.image) ?? ""), s
|
|
43739
|
+
if (v((s == null ? void 0 : s.image) ?? ""), !s)
|
|
43740
|
+
return;
|
|
43741
|
+
const S = s == null ? void 0 : s.primaryColor;
|
|
43742
|
+
typeof S == "string" && S.trim() && document.body.style.setProperty("--dynamic-primary", S.trim()), b({
|
|
43740
43743
|
clientId: (s == null ? void 0 : s.paypalClientId) ?? "",
|
|
43741
43744
|
appSecret: (s == null ? void 0 : s.paypalAppSecret) ?? "",
|
|
43742
43745
|
clientIdSandbox: (s == null ? void 0 : s.paypalClientIdSandbox) ?? "",
|