@opencloud-eu/web-client 7.0.0 → 7.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/axios-idnwLrbl.js +1862 -0
- package/dist/{dist-CSYfvE5O.js → dist-DXLl1XQj.js} +1 -1
- package/dist/{generated-DpuGzXYs.js → generated-Dr-mKneP.js} +4 -1
- package/dist/{graph-DDFvgcOx.js → graph-C_btwMni.js} +3 -3
- package/dist/{helpers-BuCcZhiF.js → helpers-B_uB5urn.js} +3 -3
- package/dist/{ocs-BX4C1k3k.js → ocs-VeFt8RO1.js} +253 -239
- package/dist/src/ocs/capabilities.d.ts +0 -1
- package/dist/src/sse/index.d.ts +3 -0
- package/dist/{toString-9BJo4tor.js → toString-DIrlTUQN.js} +1 -1
- package/dist/web-client/graph/generated.js +1 -1
- package/dist/web-client/graph.js +1 -1
- package/dist/web-client/ocs.js +1 -1
- package/dist/web-client/sse.js +2 -2
- package/dist/web-client/webdav.js +2 -2
- package/dist/web-client.js +5 -5
- package/dist/{webdav-BS8H6On8.js → webdav-uHUUUQAP.js} +659 -598
- package/package.json +14 -4
- package/dist/axios-DAxu7d04.js +0 -1689
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/vite-plugin-node-polyfills@0.
|
|
1
|
+
//#region ../../node_modules/.pnpm/vite-plugin-node-polyfills@0.28.0_rollup@4.60.0_vite@8.0.16_@types+node@25.9.1_jiti@2.7.0_sass@1.100.0_yaml@2.9.0_/node_modules/vite-plugin-node-polyfills/shims/global/dist/index.js
|
|
2
2
|
var e = globalThis || self, t = {}, n = {};
|
|
3
3
|
n.byteLength = u, n.toByteArray = f, n.fromByteArray = h;
|
|
4
4
|
for (var r = [], i = [], a = typeof Uint8Array < "u" ? Uint8Array : Array, o = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", s = 0, c = o.length; s < c; ++s) r[s] = o[s], i[o.charCodeAt(s)] = s;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./axios-
|
|
1
|
+
import { t as e } from "./axios-idnwLrbl.js";
|
|
2
2
|
//#region src/graph/generated/base.ts
|
|
3
3
|
var t = "https://localhost:9200/graph".replace(/\/+$/, ""), n = {
|
|
4
4
|
csv: ",",
|
|
@@ -6,11 +6,14 @@ var t = "https://localhost:9200/graph".replace(/\/+$/, ""), n = {
|
|
|
6
6
|
tsv: " ",
|
|
7
7
|
pipes: "|"
|
|
8
8
|
}, r = class {
|
|
9
|
+
basePath;
|
|
10
|
+
axios;
|
|
9
11
|
configuration;
|
|
10
12
|
constructor(n, r = t, i = e) {
|
|
11
13
|
this.basePath = r, this.axios = i, n && (this.configuration = n, this.basePath = n.basePath ?? r);
|
|
12
14
|
}
|
|
13
15
|
}, i = class extends Error {
|
|
16
|
+
field;
|
|
14
17
|
constructor(e, t) {
|
|
15
18
|
super(t), this.field = e, this.name = "RequiredError";
|
|
16
19
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Cn as e, Ht as t, Jt as n, Mt as r, O as i, Ot as a, Qt as o, c as s, dn as c, f as l, g as u, hn as d, i as f, nn as p, nt as m, ot as h, sn as g, t as _, v, w as y, yn as b } from "./generated-
|
|
2
|
-
import { u as x } from "./toString-
|
|
3
|
-
import { m as S, r as C, t as w } from "./helpers-
|
|
1
|
+
import { Cn as e, Ht as t, Jt as n, Mt as r, O as i, Ot as a, Qt as o, c as s, dn as c, f as l, g as u, hn as d, i as f, nn as p, nt as m, ot as h, sn as g, t as _, v, w as y, yn as b } from "./generated-Dr-mKneP.js";
|
|
2
|
+
import { u as x } from "./toString-DIrlTUQN.js";
|
|
3
|
+
import { m as S, r as C, t as w } from "./helpers-B_uB5urn.js";
|
|
4
4
|
//#region src/graph/users/users.ts
|
|
5
5
|
var T = ({ axiosClient: t, config: n }) => {
|
|
6
6
|
let r = c(n, n.basePath, t), i = e(n, n.basePath, t), s = o(n, n.basePath, t), l = a(n, n.basePath, t), u = d(n, n.basePath, t);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e, i as t, n, r } from "./axios-
|
|
2
|
-
import { c as i, i as a, l as o, n as s, o as c, r as l, t as u, u as d } from "./toString-
|
|
1
|
+
import { a as e, i as t, n, r } from "./axios-idnwLrbl.js";
|
|
2
|
+
import { c as i, i as a, l as o, n as s, o as c, r as l, t as u, u as d } from "./toString-DIrlTUQN.js";
|
|
3
3
|
//#region src/helpers/call.ts
|
|
4
4
|
var f = function* (e) {
|
|
5
5
|
return yield e;
|
|
@@ -1164,7 +1164,7 @@ function bn({ driveAliasPrefix: e, id: t, shareName: n, serverUrl: r }) {
|
|
|
1164
1164
|
function Z(e) {
|
|
1165
1165
|
let t, n;
|
|
1166
1166
|
e.special && (t = e.special.find((e) => e.specialFolder.name === "image"), n = e.special.find((e) => e.specialFolder.name === "readme"), t && (t.webDavUrl = decodeURI(t.webDavUrl)), n && (n.webDavUrl = decodeURI(n.webDavUrl)));
|
|
1167
|
-
let r = e.root?.deleted?.state === "trashed", i = d(e.webDavPath || X(e.id), { leadingSlash: !0 }), a = d(e.serverUrl, "
|
|
1167
|
+
let r = e.root?.deleted?.state === "trashed", i = d(e.webDavPath || X(e.id), { leadingSlash: !0 }), a = d(e.serverUrl, "dav", i), o = d(e.webDavTrashPath || hn(e.id), { leadingSlash: !0 }), s = d(e.serverUrl, "dav", o), c = {
|
|
1168
1168
|
id: e.id,
|
|
1169
1169
|
fileId: e.id,
|
|
1170
1170
|
storageId: e.id,
|