ov25-setup 0.1.1 → 0.1.2
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/dist/index.js +2 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -24291,11 +24291,7 @@ function H2({ formState: n, currentSettings: e, setLayout: t, updateSettings: r,
|
|
|
24291
24291
|
] }) })
|
|
24292
24292
|
] });
|
|
24293
24293
|
}
|
|
24294
|
-
const U2 = "OV25_CONFIG"
|
|
24295
|
-
function j2() {
|
|
24296
|
-
return typeof window < "u" && window.location.hostname === "localhost" ? `http://localhost:${window.location.port}/configurator-preview` : "https://configurator.ov25.ai";
|
|
24297
|
-
}
|
|
24298
|
-
const qu = {
|
|
24294
|
+
const U2 = "OV25_CONFIG", j2 = "https://configurator.ov25.ai", qu = {
|
|
24299
24295
|
desktop: { width: "100%", label: "Desktop" },
|
|
24300
24296
|
mobile: { width: "375px", label: "Mobile" }
|
|
24301
24297
|
};
|
|
@@ -24305,7 +24301,7 @@ function X2(n, e) {
|
|
|
24305
24301
|
function G2({ serializableConfig: n, previewBaseUrl: e }) {
|
|
24306
24302
|
const t = Xe(null), r = Xe(n), [i, o] = ke("desktop"), [s, l] = ke(0);
|
|
24307
24303
|
r.current = n;
|
|
24308
|
-
const a = e || j2
|
|
24304
|
+
const a = e || j2, c = me(() => {
|
|
24309
24305
|
X2(t.current, r.current);
|
|
24310
24306
|
}, []);
|
|
24311
24307
|
return st(() => {
|