@opencloud-eu/web-client 6.0.0 → 6.2.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.
- package/dist/axios-B1HWJqDx.js +1682 -0
- package/dist/dist-SL1_CMpG.js +809 -0
- package/dist/generated-DPf3CPe4.js +3317 -0
- package/dist/graph-Cld6mTON.js +372 -0
- package/dist/helpers-DoHY9e_0.js +1463 -0
- package/dist/ocs-B7FkclLT.js +2919 -0
- package/dist/src/graph/activities/activities.d.ts +2 -2
- package/dist/src/graph/activities/types.d.ts +2 -2
- package/dist/src/graph/applications/applications.d.ts +2 -2
- package/dist/src/graph/applications/types.d.ts +2 -2
- package/dist/src/graph/driveItems/driveItems.d.ts +2 -2
- package/dist/src/graph/driveItems/types.d.ts +3 -1
- package/dist/src/graph/drives/drives.d.ts +2 -2
- package/dist/src/graph/drives/types.d.ts +4 -3
- package/dist/src/graph/generated/api.d.ts +394 -1720
- package/dist/src/graph/generated/base.d.ts +11 -24
- package/dist/src/graph/generated/common.d.ts +15 -35
- package/dist/src/graph/generated/configuration.d.ts +24 -17
- package/dist/src/graph/generated/index.d.ts +2 -2
- package/dist/src/graph/groups/groups.d.ts +2 -2
- package/dist/src/graph/groups/types.d.ts +2 -2
- package/dist/src/graph/index.d.ts +2 -2
- package/dist/src/graph/permissions/permissions.d.ts +2 -2
- package/dist/src/graph/permissions/types.d.ts +2 -2
- package/dist/src/graph/photos/photo.d.ts +2 -2
- package/dist/src/graph/photos/types.d.ts +1 -1
- package/dist/src/graph/tags/tags.d.ts +2 -2
- package/dist/src/graph/tags/types.d.ts +2 -2
- package/dist/src/graph/types.d.ts +2 -2
- package/dist/src/graph/users/types.d.ts +2 -2
- package/dist/src/graph/users/users.d.ts +2 -2
- package/dist/src/helpers/space/functions.d.ts +1 -1
- package/dist/src/webdav/clearTrashBin.d.ts +1 -1
- package/dist/src/webdav/copyFiles.d.ts +1 -1
- package/dist/src/webdav/deleteFile.d.ts +1 -1
- package/dist/src/webdav/listFileVersions.d.ts +1 -1
- package/dist/src/webdav/moveFiles.d.ts +1 -1
- package/dist/src/webdav/putFileContents.d.ts +1 -1
- package/dist/src/webdav/restoreFile.d.ts +1 -1
- package/dist/src/webdav/restoreFileVersion.d.ts +1 -1
- package/dist/src/webdav/setFavorite.d.ts +1 -1
- package/dist/src/webdav/types.d.ts +0 -2
- package/dist/toString-DAQZ_8iK.js +287 -0
- package/dist/web-client/graph/generated.js +2 -5757
- package/dist/web-client/graph.js +2 -5
- package/dist/web-client/ocs.js +2 -5
- package/dist/web-client/sse.js +195 -201
- package/dist/web-client/webdav.js +3 -10
- package/dist/web-client.js +6 -82
- package/dist/webdav-BMNOaQXh.js +4425 -0
- package/package.json +9 -15
- package/dist/functions-BBKWOL6l.js +0 -1189
- package/dist/functions-VxhUeT1u.cjs +0 -1
- package/dist/index-BYnmk_Nt.cjs +0 -13
- package/dist/index-Bf956okn.js +0 -3874
- package/dist/index-Bjx4f50a.js +0 -1999
- package/dist/index-C32gBO3b.cjs +0 -6
- package/dist/index-D0bnLDAA.cjs +0 -1
- package/dist/index-Di51ZQKD.cjs +0 -4
- package/dist/index-Dn8UfKx7.js +0 -1520
- package/dist/index-Sp7XASDj.js +0 -688
- package/dist/index-_S-l3FmE.cjs +0 -1
- package/dist/index-cttW6Cve.js +0 -1018
- package/dist/src/webdav/listFavoriteFiles.d.ts +0 -12
- package/dist/toString-CKeGA2IK.js +0 -255
- package/dist/toString-DsGM1XcL.cjs +0 -1
- package/dist/vite.config.d.ts +0 -2
- package/dist/web-client/graph/generated.cjs +0 -1
- package/dist/web-client/graph.cjs +0 -1
- package/dist/web-client/ocs.cjs +0 -1
- package/dist/web-client/sse.cjs +0 -2
- package/dist/web-client/webdav.cjs +0 -1
- package/dist/web-client.cjs +0 -1
package/dist/web-client/graph.js
CHANGED
package/dist/web-client/ocs.js
CHANGED
package/dist/web-client/sse.js
CHANGED
|
@@ -1,208 +1,202 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
e(r.value);
|
|
1
|
+
//#region ../../node_modules/.pnpm/@microsoft+fetch-event-source@2.0.1/node_modules/@microsoft/fetch-event-source/lib/esm/parse.js
|
|
2
|
+
async function e(e, t) {
|
|
3
|
+
let n = e.getReader(), r;
|
|
4
|
+
for (; !(r = await n.read()).done;) t(r.value);
|
|
6
5
|
}
|
|
7
|
-
function
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
t(e.subarray(s, c), r), s = n, r = -1;
|
|
30
|
-
}
|
|
31
|
-
s === i ? e = void 0 : s !== 0 && (e = e.subarray(s), n -= s);
|
|
32
|
-
};
|
|
6
|
+
function t(e) {
|
|
7
|
+
let t, n, i, a = !1;
|
|
8
|
+
return function(o) {
|
|
9
|
+
t === void 0 ? (t = o, n = 0, i = -1) : t = r(t, o);
|
|
10
|
+
let s = t.length, c = 0;
|
|
11
|
+
for (; n < s;) {
|
|
12
|
+
a &&= (t[n] === 10 && (c = ++n), !1);
|
|
13
|
+
let r = -1;
|
|
14
|
+
for (; n < s && r === -1; ++n) switch (t[n]) {
|
|
15
|
+
case 58:
|
|
16
|
+
i === -1 && (i = n - c);
|
|
17
|
+
break;
|
|
18
|
+
case 13: a = !0;
|
|
19
|
+
case 10:
|
|
20
|
+
r = n;
|
|
21
|
+
break;
|
|
22
|
+
}
|
|
23
|
+
if (r === -1) break;
|
|
24
|
+
e(t.subarray(c, r), i), c = n, i = -1;
|
|
25
|
+
}
|
|
26
|
+
c === s ? t = void 0 : c !== 0 && (t = t.subarray(c), n -= c);
|
|
27
|
+
};
|
|
33
28
|
}
|
|
34
|
-
function
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
};
|
|
29
|
+
function n(e, t, n) {
|
|
30
|
+
let r = i(), a = new TextDecoder();
|
|
31
|
+
return function(o, s) {
|
|
32
|
+
if (o.length === 0) n?.(r), r = i();
|
|
33
|
+
else if (s > 0) {
|
|
34
|
+
let n = a.decode(o.subarray(0, s)), i = s + (o[s + 1] === 32 ? 2 : 1), c = a.decode(o.subarray(i));
|
|
35
|
+
switch (n) {
|
|
36
|
+
case "data":
|
|
37
|
+
r.data = r.data ? r.data + "\n" + c : c;
|
|
38
|
+
break;
|
|
39
|
+
case "event":
|
|
40
|
+
r.event = c;
|
|
41
|
+
break;
|
|
42
|
+
case "id":
|
|
43
|
+
e(r.id = c);
|
|
44
|
+
break;
|
|
45
|
+
case "retry":
|
|
46
|
+
let n = parseInt(c, 10);
|
|
47
|
+
isNaN(n) || t(r.retry = n);
|
|
48
|
+
break;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
};
|
|
60
52
|
}
|
|
61
|
-
function
|
|
62
|
-
|
|
63
|
-
|
|
53
|
+
function r(e, t) {
|
|
54
|
+
let n = new Uint8Array(e.length + t.length);
|
|
55
|
+
return n.set(e), n.set(t, e.length), n;
|
|
64
56
|
}
|
|
65
|
-
function
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
57
|
+
function i() {
|
|
58
|
+
return {
|
|
59
|
+
data: "",
|
|
60
|
+
event: "",
|
|
61
|
+
id: "",
|
|
62
|
+
retry: void 0
|
|
63
|
+
};
|
|
72
64
|
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
};
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
65
|
+
//#endregion
|
|
66
|
+
//#region ../../node_modules/.pnpm/@microsoft+fetch-event-source@2.0.1/node_modules/@microsoft/fetch-event-source/lib/esm/fetch.js
|
|
67
|
+
var a = function(e, t) {
|
|
68
|
+
var n = {};
|
|
69
|
+
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
70
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++) t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
71
|
+
return n;
|
|
72
|
+
}, o = "text/event-stream", s = 1e3, c = "last-event-id";
|
|
73
|
+
function l(r, i) {
|
|
74
|
+
var { signal: l, headers: d, onopen: f, onmessage: p, onclose: m, onerror: h, openWhenHidden: g, fetch: _ } = i, v = a(i, [
|
|
75
|
+
"signal",
|
|
76
|
+
"headers",
|
|
77
|
+
"onopen",
|
|
78
|
+
"onmessage",
|
|
79
|
+
"onclose",
|
|
80
|
+
"onerror",
|
|
81
|
+
"openWhenHidden",
|
|
82
|
+
"fetch"
|
|
83
|
+
]);
|
|
84
|
+
return new Promise((i, a) => {
|
|
85
|
+
let y = Object.assign({}, d);
|
|
86
|
+
y.accept ||= o;
|
|
87
|
+
let b;
|
|
88
|
+
function x() {
|
|
89
|
+
b.abort(), document.hidden || D();
|
|
90
|
+
}
|
|
91
|
+
g || document.addEventListener("visibilitychange", x);
|
|
92
|
+
let S = s, C = 0;
|
|
93
|
+
function w() {
|
|
94
|
+
document.removeEventListener("visibilitychange", x), window.clearTimeout(C), b.abort();
|
|
95
|
+
}
|
|
96
|
+
l?.addEventListener("abort", () => {
|
|
97
|
+
w(), i();
|
|
98
|
+
});
|
|
99
|
+
let T = _ ?? window.fetch, E = f ?? u;
|
|
100
|
+
async function D() {
|
|
101
|
+
b = new AbortController();
|
|
102
|
+
try {
|
|
103
|
+
let a = await T(r, Object.assign(Object.assign({}, v), {
|
|
104
|
+
headers: y,
|
|
105
|
+
signal: b.signal
|
|
106
|
+
}));
|
|
107
|
+
await E(a), await e(a.body, t(n((e) => {
|
|
108
|
+
e ? y[c] = e : delete y[c];
|
|
109
|
+
}, (e) => {
|
|
110
|
+
S = e;
|
|
111
|
+
}, p))), m?.(), w(), i();
|
|
112
|
+
} catch (e) {
|
|
113
|
+
if (!b.signal.aborted) try {
|
|
114
|
+
let t = h?.(e) ?? S;
|
|
115
|
+
window.clearTimeout(C), C = window.setTimeout(D, t);
|
|
116
|
+
} catch (e) {
|
|
117
|
+
w(), a(e);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
D();
|
|
122
|
+
});
|
|
122
123
|
}
|
|
123
|
-
function
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
throw new Error(`Expected content-type to be ${y}, Actual: ${e}`);
|
|
124
|
+
function u(e) {
|
|
125
|
+
let t = e.headers.get("content-type");
|
|
126
|
+
if (!t?.startsWith("text/event-stream")) throw Error(`Expected content-type to be ${o}, Actual: ${t}`);
|
|
127
127
|
}
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
export {
|
|
204
|
-
x as MESSAGE_TYPE,
|
|
205
|
-
M as RetriableError,
|
|
206
|
-
B as SSEAdapter,
|
|
207
|
-
V as sse
|
|
208
|
-
};
|
|
128
|
+
//#endregion
|
|
129
|
+
//#region src/sse/index.ts
|
|
130
|
+
var d = /* @__PURE__ */ function(e) {
|
|
131
|
+
return e.NOTIFICATION = "userlog-notification", e.POSTPROCESSING_FINISHED = "postprocessing-finished", e.FILE_LOCKED = "file-locked", e.FILE_UNLOCKED = "file-unlocked", e.FILE_TOUCHED = "file-touched", e.ITEM_RENAMED = "item-renamed", e.ITEM_TRASHED = "item-trashed", e.ITEM_RESTORED = "item-restored", e.ITEM_MOVED = "item-moved", e.FOLDER_CREATED = "folder-created", e.SPACE_MEMBER_ADDED = "space-member-added", e.SPACE_MEMBER_REMOVED = "space-member-removed", e.SPACE_SHARE_UPDATED = "space-share-updated", e.SHARE_CREATED = "share-created", e.SHARE_REMOVED = "share-removed", e.SHARE_UPDATED = "share-updated", e.LINK_CREATED = "link-created", e.LINK_REMOVED = "link-removed", e.LINK_UPDATED = "link-updated", e.BACKCHANNEL_LOGOUT = "backchannel-logout", e;
|
|
132
|
+
}({}), f = class extends Error {
|
|
133
|
+
name = "RetriableError";
|
|
134
|
+
}, p = 15e3, m = class {
|
|
135
|
+
url;
|
|
136
|
+
fetchOptions;
|
|
137
|
+
abortController;
|
|
138
|
+
eventListenerMap;
|
|
139
|
+
readyState;
|
|
140
|
+
withCredentials;
|
|
141
|
+
CONNECTING;
|
|
142
|
+
OPEN;
|
|
143
|
+
CLOSED;
|
|
144
|
+
onerror;
|
|
145
|
+
onmessage;
|
|
146
|
+
onopen;
|
|
147
|
+
constructor(e, t) {
|
|
148
|
+
this.url = e, this.fetchOptions = t, this.abortController = new AbortController(), this.eventListenerMap = {}, this.readyState = this.CONNECTING, this.connect();
|
|
149
|
+
}
|
|
150
|
+
connect() {
|
|
151
|
+
return l(this.url, {
|
|
152
|
+
openWhenHidden: !0,
|
|
153
|
+
signal: this.abortController.signal,
|
|
154
|
+
fetch: this.fetchProvider.bind(this),
|
|
155
|
+
onopen: async () => {
|
|
156
|
+
let e = new Event("open");
|
|
157
|
+
this.onopen?.bind(this)(e), this.readyState = this.OPEN;
|
|
158
|
+
},
|
|
159
|
+
onmessage: (e) => {
|
|
160
|
+
let t = new MessageEvent("message", { data: e.data });
|
|
161
|
+
this.onmessage?.bind(this)(t);
|
|
162
|
+
let n = e.event;
|
|
163
|
+
this.eventListenerMap[n]?.forEach((e) => e(t));
|
|
164
|
+
},
|
|
165
|
+
onclose: () => {
|
|
166
|
+
throw this.readyState = this.CLOSED, new f();
|
|
167
|
+
},
|
|
168
|
+
onerror: (e) => {
|
|
169
|
+
console.error(e);
|
|
170
|
+
let t = new CustomEvent("error", { detail: e });
|
|
171
|
+
return this.onerror?.bind(this)(t), 3e4 + Math.floor(Math.random() * p);
|
|
172
|
+
}
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
fetchProvider(...e) {
|
|
176
|
+
let [t, n] = e, r = {
|
|
177
|
+
...n,
|
|
178
|
+
...this.fetchOptions
|
|
179
|
+
};
|
|
180
|
+
return window.fetch(t, r);
|
|
181
|
+
}
|
|
182
|
+
close() {
|
|
183
|
+
this.abortController.abort("closed");
|
|
184
|
+
}
|
|
185
|
+
addEventListener(e, t) {
|
|
186
|
+
this.eventListenerMap[e] = this.eventListenerMap[e] || [], this.eventListenerMap[e].push(t);
|
|
187
|
+
}
|
|
188
|
+
removeEventListener(e, t) {
|
|
189
|
+
this.eventListenerMap[e] = this.eventListenerMap[e]?.filter((e) => e !== t);
|
|
190
|
+
}
|
|
191
|
+
dispatchEvent() {
|
|
192
|
+
throw Error("Method not implemented.");
|
|
193
|
+
}
|
|
194
|
+
updateAccessToken(e) {
|
|
195
|
+
this.fetchOptions.headers.Authorization = `Bearer ${e}`;
|
|
196
|
+
}
|
|
197
|
+
updateLanguage(e) {
|
|
198
|
+
this.fetchOptions.headers["Accept-Language"] = e, this.close(), this.connect();
|
|
199
|
+
}
|
|
200
|
+
}, h = null, g = (e, t) => (h ||= new m(new URL("ocs/v2.php/apps/notifications/api/v1/notifications/sse", e).href, t), h);
|
|
201
|
+
//#endregion
|
|
202
|
+
export { d as MESSAGE_TYPE, f as RetriableError, m as SSEAdapter, g as sse };
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
import "../
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
export {
|
|
5
|
-
t as DavMethod,
|
|
6
|
-
p as DavPermission,
|
|
7
|
-
v as DavProperties,
|
|
8
|
-
i as DavProperty,
|
|
9
|
-
e as webdav
|
|
10
|
-
};
|
|
1
|
+
import { t as e } from "../webdav-BMNOaQXh.js";
|
|
2
|
+
import { G as t, K as n, W as r, q as i } from "../helpers-DoHY9e_0.js";
|
|
3
|
+
export { r as DavMethod, t as DavPermission, n as DavProperties, i as DavProperty, e as webdav };
|
package/dist/web-client.js
CHANGED
|
@@ -1,82 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { D as O,
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
const c = function* (e) {
|
|
8
|
-
return yield e;
|
|
9
|
-
}, i = ({
|
|
10
|
-
message: e,
|
|
11
|
-
statusCode: a,
|
|
12
|
-
xReqId: s
|
|
13
|
-
}) => {
|
|
14
|
-
const r = new Response(void 0, {
|
|
15
|
-
headers: { "x-request-id": s },
|
|
16
|
-
status: a
|
|
17
|
-
});
|
|
18
|
-
return new o(e, r, a);
|
|
19
|
-
};
|
|
20
|
-
class u {
|
|
21
|
-
static Read = 1;
|
|
22
|
-
static Update = 2;
|
|
23
|
-
static Create = 4;
|
|
24
|
-
static Delete = 8;
|
|
25
|
-
static Share = 16;
|
|
26
|
-
}
|
|
27
|
-
export {
|
|
28
|
-
O as DavHttpError,
|
|
29
|
-
k as GraphSharePermission,
|
|
30
|
-
o as HttpError,
|
|
31
|
-
y as OCM_PROVIDER_ID,
|
|
32
|
-
C as SHARE_JAIL_ID,
|
|
33
|
-
u as SharePermissionBit,
|
|
34
|
-
F as ShareType,
|
|
35
|
-
M as ShareTypes,
|
|
36
|
-
n as buildCollaboratorShare,
|
|
37
|
-
T as buildDeletedResource,
|
|
38
|
-
h as buildIncomingShareResource,
|
|
39
|
-
p as buildLinkShare,
|
|
40
|
-
d as buildOutgoingShareResource,
|
|
41
|
-
_ as buildPublicSpaceResource,
|
|
42
|
-
j as buildResource,
|
|
43
|
-
A as buildShareSpaceResource,
|
|
44
|
-
L as buildSpace,
|
|
45
|
-
N as buildSpaceImageResource,
|
|
46
|
-
q as buildWebDavOcmPath,
|
|
47
|
-
B as buildWebDavPublicPath,
|
|
48
|
-
G as buildWebDavSpacesPath,
|
|
49
|
-
J as buildWebDavSpacesTrashPath,
|
|
50
|
-
c as call,
|
|
51
|
-
i as createHttpError,
|
|
52
|
-
w as encodePath,
|
|
53
|
-
z as extractDomSelector,
|
|
54
|
-
U as extractExtensionFromFile,
|
|
55
|
-
V as extractNameWithoutExtension,
|
|
56
|
-
K as extractNodeId,
|
|
57
|
-
Q as extractParentFolderName,
|
|
58
|
-
X as extractStorageId,
|
|
59
|
-
Y as getRelativeSpecialFolderSpacePath,
|
|
60
|
-
R as getShareResourcePermissions,
|
|
61
|
-
b as getShareResourceRoles,
|
|
62
|
-
Z as getSpaceManagers,
|
|
63
|
-
m as graph,
|
|
64
|
-
g as isCollaboratorShare,
|
|
65
|
-
P as isIncomingShareResource,
|
|
66
|
-
x as isLinkShare,
|
|
67
|
-
$ as isManager,
|
|
68
|
-
ee as isMountPointSpaceResource,
|
|
69
|
-
D as isOutgoingShareResource,
|
|
70
|
-
ae as isPersonalSpaceResource,
|
|
71
|
-
se as isProjectSpaceResource,
|
|
72
|
-
re as isPublicSpaceResource,
|
|
73
|
-
oe as isSearchResource,
|
|
74
|
-
f as isShareResource,
|
|
75
|
-
te as isShareRoot,
|
|
76
|
-
ce as isShareSpaceResource,
|
|
77
|
-
ie as isSpaceResource,
|
|
78
|
-
ue as isTrashResource,
|
|
79
|
-
I as ocs,
|
|
80
|
-
le as urlJoin,
|
|
81
|
-
H as webdav
|
|
82
|
-
};
|
|
1
|
+
import { t as e } from "./graph-Cld6mTON.js";
|
|
2
|
+
import { n as t, t as n } from "./webdav-BMNOaQXh.js";
|
|
3
|
+
import { u as r } from "./toString-DAQZ_8iK.js";
|
|
4
|
+
import { $ as i, A as a, B as o, C as s, D as c, E as l, F as u, H as d, I as f, J as p, L as m, M as h, N as g, O as _, P as v, Q as y, R as b, S as x, T as S, U as C, V as w, X as T, Y as E, Z as D, _ as O, a as k, b as A, c as j, d as M, f as N, g as P, h as F, i as I, j as L, k as R, l as z, m as B, n as V, o as H, p as U, r as W, s as G, t as K, u as q, v as J, w as Y, x as X, y as Z, z as Q } from "./helpers-DoHY9e_0.js";
|
|
5
|
+
import { t as $ } from "./ocs-B7FkclLT.js";
|
|
6
|
+
export { D as DavHttpError, L as GraphSharePermission, y as HttpError, X as OCM_PROVIDER_ID, x as SHARE_JAIL_ID, h as SharePermissionBit, R as ShareType, a as ShareTypes, K as buildCollaboratorShare, g as buildDeletedResource, V as buildIncomingShareResource, W as buildLinkShare, I as buildOutgoingShareResource, N as buildPublicSpaceResource, v as buildResource, U as buildShareSpaceResource, B as buildSpace, F as buildSpaceImageResource, p as buildWebDavOcmPath, E as buildWebDavPublicPath, P as buildWebDavSpacesPath, O as buildWebDavSpacesTrashPath, i as call, T as createHttpError, t as encodePath, u as extractDomSelector, f as extractExtensionFromFile, m as extractNameWithoutExtension, b as extractNodeId, Q as extractParentFolderName, o as extractStorageId, J as getRelativeSpecialFolderSpacePath, k as getShareResourcePermissions, H as getShareResourceRoles, Z as getSpaceManagers, e as graph, G as isCollaboratorShare, j as isIncomingShareResource, z as isLinkShare, A as isManager, s as isMountPointSpaceResource, q as isOutgoingShareResource, Y as isPersonalSpaceResource, S as isProjectSpaceResource, l as isPublicSpaceResource, w as isSearchResource, M as isShareResource, d as isShareRoot, c as isShareSpaceResource, _ as isSpaceResource, C as isTrashResource, $ as ocs, r as urlJoin, n as webdav };
|