@opencloud-eu/web-client 7.2.0 → 7.4.0

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.
@@ -59,7 +59,6 @@ function l(e) {
59
59
  let t = e();
60
60
  return Object.defineProperty(this, "value", { value: t }), t;
61
61
  }
62
- throw Error("cached value already set");
63
62
  } };
64
63
  }
65
64
  function u(e) {
@@ -125,7 +124,7 @@ function v(e) {
125
124
  let t = e.constructor;
126
125
  if (t === void 0 || typeof t != "function") return !0;
127
126
  let n = t.prototype;
128
- return !(_(n) === !1 || Object.prototype.hasOwnProperty.call(n, "isPrototypeOf") === !1);
127
+ return _(n) !== !1 && Object.prototype.hasOwnProperty.call(n, "isPrototypeOf") !== !1;
129
128
  }
130
129
  function ie(e) {
131
130
  return v(e) ? { ...e } : Array.isArray(e) ? [...e] : e instanceof Map ? new Map(e) : e instanceof Set ? new Set(e) : e;
@@ -889,7 +888,7 @@ var it = (e) => {
889
888
  input: n.value,
890
889
  inst: e,
891
890
  continue: !t.abort
892
- })), t.normalize ? n.value = i.href : n.value = r;
891
+ })), n.value = t.normalize ? i.href : r;
893
892
  return;
894
893
  } catch {
895
894
  n.issues.push({
@@ -2177,14 +2176,14 @@ function Ir(e, t) {
2177
2176
  if (n.ref = null, o) {
2178
2177
  r(o);
2179
2178
  let n = e.seen.get(o), s = n.schema;
2180
- if (s.$ref && (e.target === "draft-07" || e.target === "draft-04" || e.target === "openapi-3.0") ? (i.allOf = i.allOf ?? [], i.allOf.push(s)) : Object.assign(i, s), Object.assign(i, a), t._zod.parent === o) for (let e in i) e === "$ref" || e === "allOf" || e in a || delete i[e];
2181
- if (s.$ref && n.def) for (let e in i) e === "$ref" || e === "allOf" || e in n.def && JSON.stringify(i[e]) === JSON.stringify(n.def[e]) && delete i[e];
2179
+ if (s.$ref && (e.target === "draft-07" || e.target === "draft-04" || e.target === "openapi-3.0") ? (i.allOf = i.allOf ?? [], i.allOf.push(s)) : Object.assign(i, s), Object.assign(i, a), t._zod.parent === o) for (let e in i) e !== "$ref" && e !== "allOf" && (e in a || delete i[e]);
2180
+ if (s.$ref && n.def) for (let e in i) e !== "$ref" && e !== "allOf" && e in n.def && JSON.stringify(i[e]) === JSON.stringify(n.def[e]) && delete i[e];
2182
2181
  }
2183
2182
  let s = t._zod.parent;
2184
2183
  if (s && s !== o) {
2185
2184
  r(s);
2186
2185
  let t = e.seen.get(s);
2187
- if (t?.schema.$ref && (i.$ref = t.schema.$ref, t.def)) for (let e in i) e === "$ref" || e === "allOf" || e in t.def && JSON.stringify(i[e]) === JSON.stringify(t.def[e]) && delete i[e];
2186
+ if (t?.schema.$ref && (i.$ref = t.schema.$ref, t.def)) for (let e in i) e !== "$ref" && e !== "allOf" && e in t.def && JSON.stringify(i[e]) === JSON.stringify(t.def[e]) && delete i[e];
2188
2187
  }
2189
2188
  e.override({
2190
2189
  zodSchema: t,
@@ -2285,7 +2284,7 @@ var Lr = (e, t = {}) => (n) => {
2285
2284
  }
2286
2285
  }, Br = (e, t, n, r) => {
2287
2286
  let i = n, { minimum: a, maximum: o, format: s, multipleOf: c, exclusiveMaximum: l, exclusiveMinimum: u } = e._zod.bag;
2288
- typeof s == "string" && s.includes("int") ? i.type = "integer" : i.type = "number";
2287
+ i.type = typeof s == "string" && s.includes("int") ? "integer" : "number";
2289
2288
  let d = typeof u == "number" && u >= (a ?? -Infinity), f = typeof l == "number" && l <= (o ?? Infinity), p = t.target === "draft-04" || t.target === "openapi-3.0";
2290
2289
  d ? p ? (i.minimum = u, i.exclusiveMinimum = !0) : i.exclusiveMinimum = u : typeof a == "number" && (i.minimum = a), f ? p ? (i.maximum = l, i.exclusiveMaximum = !0) : i.exclusiveMaximum = l : typeof o == "number" && (i.maximum = o), typeof c == "number" && (i.multipleOf = c);
2291
2290
  }, Vr = (e, t, n, r) => {