@codingfactory/mediables-vue 2.6.1 → 2.6.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.
@@ -17945,7 +17945,7 @@ const q_ = {
17945
17945
  throw new Error("PIXI preview not available for export. Ensure the preview is mounted.");
17946
17946
  if (!Rt)
17947
17947
  throw new Error("PIXI preview not ready for frame capture after retries. The video may still be loading.");
17948
- const { exportWithPixiFrames: Na, isWebCodecsSupported: ko } = await import("./PixiFrameExporter-DFchWLl5.js");
17948
+ const { exportWithPixiFrames: Na, isWebCodecsSupported: ko } = await import("./PixiFrameExporter-DJsxS-v6.js");
17949
17949
  if (!ko())
17950
17950
  throw new Error("WebCodecs is not supported in this browser. Export requires Chrome 94+ or equivalent.");
17951
17951
  Ei = new AbortController();
@@ -24968,14 +24968,13 @@ function K8(a) {
24968
24968
  } : null;
24969
24969
  }
24970
24970
  function Ou(a) {
24971
- const t = ua(a) ? a : {}, e = Array.isArray(t.data) ? t.data.filter(kc) : [], i = ua(t.meta) ? t.meta : {}, n = K8(i.pagination), s = (n == null ? void 0 : n.next_cursor) ?? hn(i.next_cursor) ?? hn(i.cursor), o = (n == null ? void 0 : n.has_more) ?? i.has_more === !0, r = Array.isArray(t.hydrated) ? t.hydrated.map(q8).filter((u) => u !== null) : [];
24972
- return {
24971
+ const t = ua(a) ? a : {}, e = Array.isArray(t.data) ? t.data.filter(kc) : [], i = ua(t.meta) ? t.meta : {}, n = K8(i.pagination), s = (n == null ? void 0 : n.next_cursor) ?? hn(i.next_cursor) ?? hn(i.cursor), o = (n == null ? void 0 : n.has_more) ?? i.has_more === !0, r = Array.isArray(t.hydrated) ? t.hydrated.map(q8).filter((d) => d !== null) : [], u = {
24972
+ cursor: s,
24973
+ has_more: o
24974
+ };
24975
+ return n !== null && (u.pagination = n), {
24973
24976
  data: e,
24974
- meta: {
24975
- cursor: s,
24976
- has_more: o,
24977
- pagination: n ?? void 0
24978
- },
24977
+ meta: u,
24979
24978
  hydrated: r
24980
24979
  };
24981
24980
  }
@@ -28016,18 +28015,18 @@ function aM(a) {
28016
28015
  const y = await a.httpClient.post(e(f)), w = {
28017
28016
  status: (y == null ? void 0 : y.status) ?? "failed",
28018
28017
  data: (y == null ? void 0 : y.data) ?? null,
28019
- duplicate_uuid: (y == null ? void 0 : y.duplicate_uuid) ?? null,
28020
- message: y == null ? void 0 : y.message
28018
+ duplicate_uuid: (y == null ? void 0 : y.duplicate_uuid) ?? null
28021
28019
  };
28022
- return w.status === "restored" && (n.value = n.value.filter((x) => x.uuid !== f), s.value = Math.max(0, s.value - 1)), w;
28020
+ return typeof (y == null ? void 0 : y.message) == "string" && (w.message = y.message), w.status === "restored" && (n.value = n.value.filter((x) => x.uuid !== f), s.value = Math.max(0, s.value - 1)), w;
28023
28021
  } catch (y) {
28024
28022
  const w = nM(y);
28025
- if (w && typeof w.status == "string")
28026
- return {
28023
+ if (w && typeof w.status == "string") {
28024
+ const x = {
28027
28025
  status: w.status,
28028
- duplicate_uuid: typeof w.duplicate_uuid == "string" ? w.duplicate_uuid : null,
28029
- message: typeof w.message == "string" ? w.message : void 0
28026
+ duplicate_uuid: typeof w.duplicate_uuid == "string" ? w.duplicate_uuid : null
28030
28027
  };
28028
+ return typeof w.message == "string" && (x.message = w.message), x;
28029
+ }
28031
28030
  throw d.value = y instanceof Error ? y : new Error(String(y)), d.value;
28032
28031
  } finally {
28033
28032
  u.value = !1;
@@ -28399,4 +28398,4 @@ export {
28399
28398
  TF as y,
28400
28399
  A6 as z
28401
28400
  };
28402
- //# sourceMappingURL=index-DNgtg1bF.js.map
28401
+ //# sourceMappingURL=index-CtHJav8G.js.map