@revolugo/elements-vue3 7.15.0-alpha.2 → 7.15.0-alpha.21
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/elements-vue3.es.js
CHANGED
|
@@ -33,9 +33,9 @@ var Ms = Object.create, Yt = Object.defineProperty, Ts = Object.getOwnPropertyDe
|
|
|
33
33
|
let [r] = document.querySelectorAll("script");
|
|
34
34
|
return r ? r?.parentNode?.insertBefore(t, r) : document.head.append(t), t;
|
|
35
35
|
}, js = (e, t) => {
|
|
36
|
-
let r = e ? process.env.ELEMENTS_NEXT_ENTRY_URL : "https://cdn.jsdelivr.net/npm/@revolugo/elements@7.15.0-alpha.
|
|
36
|
+
let r = e ? process.env.ELEMENTS_NEXT_ENTRY_URL : "https://cdn.jsdelivr.net/npm/@revolugo/elements@7.15.0-alpha.21/dist/revolugo.min.js";
|
|
37
37
|
if (!r) throw Error("Missing elements entry URL environment variable");
|
|
38
|
-
let n = t || "7.15.0-alpha.
|
|
38
|
+
let n = t || "7.15.0-alpha.21", i = n ? r.replace("7.15.0-alpha.21", n) : r, a = [...document.querySelectorAll("script")].find((o) => o.src.includes(i));
|
|
39
39
|
return new Promise((o) => {
|
|
40
40
|
if (a) {
|
|
41
41
|
o(!0);
|
|
@@ -4096,11 +4096,12 @@ var Nd = /* @__PURE__ */ A("ZodObject", (e, t) => {
|
|
|
4096
4096
|
});
|
|
4097
4097
|
});
|
|
4098
4098
|
function Id(e, t) {
|
|
4099
|
-
|
|
4099
|
+
const r = {
|
|
4100
4100
|
type: "object",
|
|
4101
4101
|
shape: e ?? {},
|
|
4102
4102
|
...F(t)
|
|
4103
|
-
}
|
|
4103
|
+
};
|
|
4104
|
+
return new Nd(r);
|
|
4104
4105
|
}
|
|
4105
4106
|
var Cd = /* @__PURE__ */ A("ZodUnion", (e, t) => {
|
|
4106
4107
|
dl.init(e, t), he.init(e, t), e._zod.processJSONSchema = (r, n, i) => Zf(e, r, n, i), e.options = t.options;
|
|
@@ -4148,9 +4149,10 @@ var Ar = /* @__PURE__ */ A("ZodEnum", (e, t) => {
|
|
|
4148
4149
|
};
|
|
4149
4150
|
});
|
|
4150
4151
|
function wo(e, t) {
|
|
4152
|
+
const r = Array.isArray(e) ? Object.fromEntries(e.map((n) => [n, n])) : e;
|
|
4151
4153
|
return new Ar({
|
|
4152
4154
|
type: "enum",
|
|
4153
|
-
entries:
|
|
4155
|
+
entries: r,
|
|
4154
4156
|
...F(t)
|
|
4155
4157
|
});
|
|
4156
4158
|
}
|