@opencloud-eu/web-client 7.1.2 → 7.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-Dwm7CNmg.js +1964 -0
- package/dist/{dist-DXLl1XQj.js → dist-B2vdwwII.js} +2 -2
- package/dist/{generated-Dr-mKneP.js → generated-CDEuOcXT.js} +260 -230
- package/dist/{graph-C_btwMni.js → graph-D6GY6HvL.js} +72 -72
- package/dist/{helpers-B_uB5urn.js → helpers-BMMUdKkY.js} +296 -311
- package/dist/{ocs-VeFt8RO1.js → ocs-BwWCZeaA.js} +1155 -302
- package/dist/ox-S6JjEpPN.js +3046 -0
- package/dist/src/graph/generated/api.d.ts +70 -4
- package/dist/src/helpers/resource/types.d.ts +4 -0
- package/dist/src/helpers/share/type.d.ts +1 -0
- package/dist/src/helpers/space/functions.d.ts +3 -2
- package/dist/src/helpers/space/types.d.ts +0 -3
- package/dist/src/index.d.ts +2 -1
- package/dist/src/ox/index.d.ts +27 -0
- package/dist/src/ox/types.d.ts +29 -0
- package/dist/src/sse/index.d.ts +1 -0
- package/dist/{toString-DIrlTUQN.js → toString-BCd-H1lr.js} +92 -112
- package/dist/urlJoin-_pUL1TUx.js +24 -0
- package/dist/web-client/graph/generated.js +2 -2
- package/dist/web-client/graph.js +1 -1
- package/dist/web-client/ocs.js +1 -1
- package/dist/web-client/ox.js +2 -0
- package/dist/web-client/sse.js +1 -1
- package/dist/web-client/webdav.js +3 -3
- package/dist/web-client.js +21 -6
- package/dist/{webdav-uHUUUQAP.js → webdav-Di0erpeX.js} +89 -76
- package/package.json +7 -3
- package/dist/axios-idnwLrbl.js +0 -1862
|
@@ -1,104 +1,84 @@
|
|
|
1
|
-
import { n as e } from "./dist-
|
|
2
|
-
//#region
|
|
3
|
-
var t =
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
prefix: n,
|
|
7
|
-
pathname: {
|
|
8
|
-
parts: r.split("/").filter((e) => e !== ""),
|
|
9
|
-
hasLeading: /^\/+/.test(r),
|
|
10
|
-
hasTrailing: /\/+$/.test(r)
|
|
11
|
-
}
|
|
12
|
-
};
|
|
13
|
-
}, i = (e, t) => {
|
|
14
|
-
let { prefix: n, pathname: r } = e, { parts: i, hasLeading: a, hasTrailing: o } = r, { leadingSlash: s, trailingSlash: c } = t, l = s === !0 || s === "keep" && a, u = c === !0 || c === "keep" && o, d = n;
|
|
15
|
-
return i.length > 0 && ((d || l) && (d += "/"), d += i.join("/")), u && (d += "/"), !d && l && (d += "/"), d;
|
|
16
|
-
}, a = (...e) => {
|
|
17
|
-
let t = e[e.length - 1], a;
|
|
18
|
-
return t && typeof t == "object" && (a = t, e = e.slice(0, -1)), a = {
|
|
19
|
-
leadingSlash: !0,
|
|
20
|
-
trailingSlash: !1,
|
|
21
|
-
...a
|
|
22
|
-
}, e = n(e), i(r(e), a);
|
|
23
|
-
}, o = typeof e == "object" && e && e.Object === Object && e, s = typeof self == "object" && self && self.Object === Object && self, c = o || s || Function("return this")(), l = c.Symbol, u = Object.prototype, d = u.hasOwnProperty, ee = u.toString, f = l ? l.toStringTag : void 0;
|
|
24
|
-
function te(e) {
|
|
25
|
-
var t = d.call(e, f), n = e[f];
|
|
1
|
+
import { n as e } from "./dist-B2vdwwII.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js
|
|
3
|
+
var t = typeof e == "object" && e && e.Object === Object && e, n = typeof self == "object" && self && self.Object === Object && self, r = t || n || Function("return this")(), i = r.Symbol, a = Object.prototype, ee = a.hasOwnProperty, te = a.toString, o = i ? i.toStringTag : void 0;
|
|
4
|
+
function ne(e) {
|
|
5
|
+
var t = ee.call(e, o), n = e[o];
|
|
26
6
|
try {
|
|
27
|
-
e[
|
|
7
|
+
e[o] = void 0;
|
|
28
8
|
var r = !0;
|
|
29
9
|
} catch {}
|
|
30
|
-
var i =
|
|
31
|
-
return r && (t ? e[
|
|
10
|
+
var i = te.call(e);
|
|
11
|
+
return r && (t ? e[o] = n : delete e[o]), i;
|
|
32
12
|
}
|
|
33
13
|
//#endregion
|
|
34
14
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js
|
|
35
|
-
var
|
|
36
|
-
function
|
|
37
|
-
return
|
|
15
|
+
var s = Object.prototype.toString;
|
|
16
|
+
function c(e) {
|
|
17
|
+
return s.call(e);
|
|
38
18
|
}
|
|
39
19
|
//#endregion
|
|
40
20
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js
|
|
41
|
-
var
|
|
42
|
-
function
|
|
43
|
-
return e == null ? e === void 0 ?
|
|
21
|
+
var l = "[object Null]", re = "[object Undefined]", u = i ? i.toStringTag : void 0;
|
|
22
|
+
function d(e) {
|
|
23
|
+
return e == null ? e === void 0 ? re : l : u && u in Object(e) ? ne(e) : c(e);
|
|
44
24
|
}
|
|
45
25
|
//#endregion
|
|
46
26
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js
|
|
47
|
-
function
|
|
27
|
+
function f(e) {
|
|
48
28
|
return typeof e == "object" && !!e;
|
|
49
29
|
}
|
|
50
30
|
//#endregion
|
|
51
31
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js
|
|
52
|
-
var
|
|
53
|
-
function
|
|
54
|
-
return typeof e == "symbol" ||
|
|
32
|
+
var p = "[object Symbol]";
|
|
33
|
+
function m(e) {
|
|
34
|
+
return typeof e == "symbol" || f(e) && d(e) == p;
|
|
55
35
|
}
|
|
56
36
|
//#endregion
|
|
57
37
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js
|
|
58
|
-
function
|
|
38
|
+
function h(e, t) {
|
|
59
39
|
for (var n = -1, r = e == null ? 0 : e.length, i = Array(r); ++n < r;) i[n] = t(e[n], n, e);
|
|
60
40
|
return i;
|
|
61
41
|
}
|
|
62
42
|
//#endregion
|
|
63
43
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.js
|
|
64
|
-
var
|
|
65
|
-
function
|
|
44
|
+
var g = Array.isArray, _ = Infinity, v = i ? i.prototype : void 0, y = v ? v.toString : void 0;
|
|
45
|
+
function b(e) {
|
|
66
46
|
if (typeof e == "string") return e;
|
|
67
|
-
if (
|
|
68
|
-
if (
|
|
47
|
+
if (g(e)) return h(e, b) + "";
|
|
48
|
+
if (m(e)) return y ? y.call(e) : "";
|
|
69
49
|
var t = e + "";
|
|
70
|
-
return t == "0" && 1 / e == -
|
|
50
|
+
return t == "0" && 1 / e == -_ ? "-0" : t;
|
|
71
51
|
}
|
|
72
52
|
//#endregion
|
|
73
53
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.js
|
|
74
|
-
function
|
|
54
|
+
function x(e) {
|
|
75
55
|
var t = typeof e;
|
|
76
56
|
return e != null && (t == "object" || t == "function");
|
|
77
57
|
}
|
|
78
58
|
//#endregion
|
|
79
59
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js
|
|
80
|
-
var
|
|
81
|
-
function
|
|
82
|
-
if (!
|
|
83
|
-
var t =
|
|
84
|
-
return t ==
|
|
60
|
+
var ie = "[object AsyncFunction]", ae = "[object Function]", S = "[object GeneratorFunction]", C = "[object Proxy]";
|
|
61
|
+
function w(e) {
|
|
62
|
+
if (!x(e)) return !1;
|
|
63
|
+
var t = d(e);
|
|
64
|
+
return t == ae || t == S || t == ie || t == C;
|
|
85
65
|
}
|
|
86
66
|
//#endregion
|
|
87
67
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js
|
|
88
|
-
var
|
|
89
|
-
var e = /[^.]+$/.exec(
|
|
68
|
+
var T = r["__core-js_shared__"], E = function() {
|
|
69
|
+
var e = /[^.]+$/.exec(T && T.keys && T.keys.IE_PROTO || "");
|
|
90
70
|
return e ? "Symbol(src)_1." + e : "";
|
|
91
71
|
}();
|
|
92
|
-
function
|
|
93
|
-
return !!
|
|
72
|
+
function D(e) {
|
|
73
|
+
return !!E && E in e;
|
|
94
74
|
}
|
|
95
75
|
//#endregion
|
|
96
76
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js
|
|
97
|
-
var
|
|
98
|
-
function
|
|
77
|
+
var O = Function.prototype.toString;
|
|
78
|
+
function k(e) {
|
|
99
79
|
if (e != null) {
|
|
100
80
|
try {
|
|
101
|
-
return
|
|
81
|
+
return O.call(e);
|
|
102
82
|
} catch {}
|
|
103
83
|
try {
|
|
104
84
|
return e + "";
|
|
@@ -108,135 +88,135 @@ function F(e) {
|
|
|
108
88
|
}
|
|
109
89
|
//#endregion
|
|
110
90
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js
|
|
111
|
-
var
|
|
112
|
-
function
|
|
113
|
-
return !
|
|
91
|
+
var A = /[\\^$.*+?()[\]{}|]/g, j = /^\[object .+?Constructor\]$/, M = Function.prototype, N = Object.prototype, P = M.toString, F = N.hasOwnProperty, I = RegExp("^" + P.call(F).replace(A, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
|
|
92
|
+
function L(e) {
|
|
93
|
+
return !x(e) || D(e) ? !1 : (w(e) ? I : j).test(k(e));
|
|
114
94
|
}
|
|
115
95
|
//#endregion
|
|
116
96
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js
|
|
117
|
-
function
|
|
97
|
+
function R(e, t) {
|
|
118
98
|
return e?.[t];
|
|
119
99
|
}
|
|
120
100
|
//#endregion
|
|
121
101
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js
|
|
122
|
-
function
|
|
123
|
-
var n =
|
|
124
|
-
return
|
|
102
|
+
function z(e, t) {
|
|
103
|
+
var n = R(e, t);
|
|
104
|
+
return L(n) ? n : void 0;
|
|
125
105
|
}
|
|
126
106
|
//#endregion
|
|
127
107
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/eq.js
|
|
128
|
-
function
|
|
108
|
+
function B(e, t) {
|
|
129
109
|
return e === t || e !== e && t !== t;
|
|
130
110
|
}
|
|
131
111
|
//#endregion
|
|
132
112
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js
|
|
133
|
-
var
|
|
113
|
+
var V = z(Object, "create");
|
|
134
114
|
//#endregion
|
|
135
115
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js
|
|
136
|
-
function
|
|
137
|
-
this.__data__ =
|
|
116
|
+
function H() {
|
|
117
|
+
this.__data__ = V ? V(null) : {}, this.size = 0;
|
|
138
118
|
}
|
|
139
119
|
//#endregion
|
|
140
120
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js
|
|
141
|
-
function
|
|
121
|
+
function U(e) {
|
|
142
122
|
var t = this.has(e) && delete this.__data__[e];
|
|
143
123
|
return this.size -= +!!t, t;
|
|
144
124
|
}
|
|
145
125
|
//#endregion
|
|
146
126
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js
|
|
147
|
-
var
|
|
148
|
-
function
|
|
127
|
+
var W = "__lodash_hash_undefined__", G = Object.prototype.hasOwnProperty;
|
|
128
|
+
function oe(e) {
|
|
149
129
|
var t = this.__data__;
|
|
150
|
-
if (
|
|
130
|
+
if (V) {
|
|
151
131
|
var n = t[e];
|
|
152
|
-
return n ===
|
|
132
|
+
return n === W ? void 0 : n;
|
|
153
133
|
}
|
|
154
|
-
return
|
|
134
|
+
return G.call(t, e) ? t[e] : void 0;
|
|
155
135
|
}
|
|
156
136
|
//#endregion
|
|
157
137
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js
|
|
158
|
-
var
|
|
159
|
-
function
|
|
138
|
+
var K = Object.prototype.hasOwnProperty;
|
|
139
|
+
function q(e) {
|
|
160
140
|
var t = this.__data__;
|
|
161
|
-
return
|
|
141
|
+
return V ? t[e] !== void 0 : K.call(t, e);
|
|
162
142
|
}
|
|
163
143
|
//#endregion
|
|
164
144
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js
|
|
165
|
-
var
|
|
166
|
-
function
|
|
145
|
+
var se = "__lodash_hash_undefined__";
|
|
146
|
+
function ce(e, t) {
|
|
167
147
|
var n = this.__data__;
|
|
168
|
-
return this.size += +!this.has(e), n[e] =
|
|
148
|
+
return this.size += +!this.has(e), n[e] = V && t === void 0 ? se : t, this;
|
|
169
149
|
}
|
|
170
150
|
//#endregion
|
|
171
151
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js
|
|
172
|
-
function
|
|
152
|
+
function J(e) {
|
|
173
153
|
var t = -1, n = e == null ? 0 : e.length;
|
|
174
154
|
for (this.clear(); ++t < n;) {
|
|
175
155
|
var r = e[t];
|
|
176
156
|
this.set(r[0], r[1]);
|
|
177
157
|
}
|
|
178
158
|
}
|
|
179
|
-
|
|
159
|
+
J.prototype.clear = H, J.prototype.delete = U, J.prototype.get = oe, J.prototype.has = q, J.prototype.set = ce;
|
|
180
160
|
//#endregion
|
|
181
161
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js
|
|
182
|
-
function
|
|
162
|
+
function le() {
|
|
183
163
|
this.__data__ = [], this.size = 0;
|
|
184
164
|
}
|
|
185
165
|
//#endregion
|
|
186
166
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js
|
|
187
|
-
function
|
|
188
|
-
for (var n = e.length; n--;) if (
|
|
167
|
+
function Y(e, t) {
|
|
168
|
+
for (var n = e.length; n--;) if (B(e[n][0], t)) return n;
|
|
189
169
|
return -1;
|
|
190
170
|
}
|
|
191
171
|
//#endregion
|
|
192
172
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js
|
|
193
|
-
var
|
|
194
|
-
function
|
|
195
|
-
var t = this.__data__, n =
|
|
196
|
-
return n < 0 ? !1 : (n == t.length - 1 ? t.pop() :
|
|
173
|
+
var ue = Array.prototype.splice;
|
|
174
|
+
function de(e) {
|
|
175
|
+
var t = this.__data__, n = Y(t, e);
|
|
176
|
+
return n < 0 ? !1 : (n == t.length - 1 ? t.pop() : ue.call(t, n, 1), --this.size, !0);
|
|
197
177
|
}
|
|
198
178
|
//#endregion
|
|
199
179
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js
|
|
200
|
-
function
|
|
201
|
-
var t = this.__data__, n =
|
|
180
|
+
function fe(e) {
|
|
181
|
+
var t = this.__data__, n = Y(t, e);
|
|
202
182
|
return n < 0 ? void 0 : t[n][1];
|
|
203
183
|
}
|
|
204
184
|
//#endregion
|
|
205
185
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js
|
|
206
|
-
function
|
|
207
|
-
return
|
|
186
|
+
function pe(e) {
|
|
187
|
+
return Y(this.__data__, e) > -1;
|
|
208
188
|
}
|
|
209
189
|
//#endregion
|
|
210
190
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js
|
|
211
|
-
function
|
|
212
|
-
var n = this.__data__, r =
|
|
191
|
+
function me(e, t) {
|
|
192
|
+
var n = this.__data__, r = Y(n, e);
|
|
213
193
|
return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
|
|
214
194
|
}
|
|
215
195
|
//#endregion
|
|
216
196
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js
|
|
217
|
-
function
|
|
197
|
+
function X(e) {
|
|
218
198
|
var t = -1, n = e == null ? 0 : e.length;
|
|
219
199
|
for (this.clear(); ++t < n;) {
|
|
220
200
|
var r = e[t];
|
|
221
201
|
this.set(r[0], r[1]);
|
|
222
202
|
}
|
|
223
203
|
}
|
|
224
|
-
|
|
204
|
+
X.prototype.clear = le, X.prototype.delete = de, X.prototype.get = fe, X.prototype.has = pe, X.prototype.set = me;
|
|
225
205
|
//#endregion
|
|
226
206
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Map.js
|
|
227
|
-
var
|
|
207
|
+
var he = z(r, "Map");
|
|
228
208
|
//#endregion
|
|
229
209
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js
|
|
230
|
-
function
|
|
210
|
+
function Z() {
|
|
231
211
|
this.size = 0, this.__data__ = {
|
|
232
|
-
hash: new
|
|
233
|
-
map: new (
|
|
234
|
-
string: new
|
|
212
|
+
hash: new J(),
|
|
213
|
+
map: new (he || X)(),
|
|
214
|
+
string: new J()
|
|
235
215
|
};
|
|
236
216
|
}
|
|
237
217
|
//#endregion
|
|
238
218
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js
|
|
239
|
-
function
|
|
219
|
+
function ge(e) {
|
|
240
220
|
var t = typeof e;
|
|
241
221
|
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
242
222
|
}
|
|
@@ -244,27 +224,27 @@ function xe(e) {
|
|
|
244
224
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js
|
|
245
225
|
function Q(e, t) {
|
|
246
226
|
var n = e.__data__;
|
|
247
|
-
return
|
|
227
|
+
return ge(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
|
|
248
228
|
}
|
|
249
229
|
//#endregion
|
|
250
230
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js
|
|
251
|
-
function
|
|
231
|
+
function _e(e) {
|
|
252
232
|
var t = Q(this, e).delete(e);
|
|
253
233
|
return this.size -= +!!t, t;
|
|
254
234
|
}
|
|
255
235
|
//#endregion
|
|
256
236
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js
|
|
257
|
-
function
|
|
237
|
+
function ve(e) {
|
|
258
238
|
return Q(this, e).get(e);
|
|
259
239
|
}
|
|
260
240
|
//#endregion
|
|
261
241
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js
|
|
262
|
-
function
|
|
242
|
+
function ye(e) {
|
|
263
243
|
return Q(this, e).has(e);
|
|
264
244
|
}
|
|
265
245
|
//#endregion
|
|
266
246
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js
|
|
267
|
-
function
|
|
247
|
+
function be(e, t) {
|
|
268
248
|
var n = Q(this, e), r = n.size;
|
|
269
249
|
return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
|
|
270
250
|
}
|
|
@@ -277,11 +257,11 @@ function $(e) {
|
|
|
277
257
|
this.set(r[0], r[1]);
|
|
278
258
|
}
|
|
279
259
|
}
|
|
280
|
-
$.prototype.clear =
|
|
260
|
+
$.prototype.clear = Z, $.prototype.delete = _e, $.prototype.get = ve, $.prototype.has = ye, $.prototype.set = be;
|
|
281
261
|
//#endregion
|
|
282
262
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toString.js
|
|
283
|
-
function
|
|
284
|
-
return e == null ? "" :
|
|
263
|
+
function xe(e) {
|
|
264
|
+
return e == null ? "" : b(e);
|
|
285
265
|
}
|
|
286
266
|
//#endregion
|
|
287
|
-
export {
|
|
267
|
+
export { g as a, f as c, w as i, r as l, $ as n, h as o, z as r, m as s, xe as t };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
//#region src/utils/urlJoin.ts
|
|
2
|
+
var e = /^(\w+:\/\/[^/?]+)?(.*?)$/, t = (e) => e.filter((e) => typeof e == "string" || typeof e == "number").map((e) => `${e}`).filter((e) => e), n = (t) => {
|
|
3
|
+
let [, n = "", r = ""] = t.join("/").match(e) || [];
|
|
4
|
+
return {
|
|
5
|
+
prefix: n,
|
|
6
|
+
pathname: {
|
|
7
|
+
parts: r.split("/").filter((e) => e !== ""),
|
|
8
|
+
hasLeading: /^\/+/.test(r),
|
|
9
|
+
hasTrailing: /\/+$/.test(r)
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
}, r = (e, t) => {
|
|
13
|
+
let { prefix: n, pathname: r } = e, { parts: i, hasLeading: a, hasTrailing: o } = r, { leadingSlash: s, trailingSlash: c } = t, l = s === !0 || s === "keep" && a, u = c === !0 || c === "keep" && o, d = n;
|
|
14
|
+
return i.length > 0 && ((d || l) && (d += "/"), d += i.join("/")), u && (d += "/"), !d && l && (d += "/"), d;
|
|
15
|
+
}, i = (...e) => {
|
|
16
|
+
let i = e[e.length - 1], a;
|
|
17
|
+
return i && typeof i == "object" && (a = i, e = e.slice(0, -1)), a = {
|
|
18
|
+
leadingSlash: !0,
|
|
19
|
+
trailingSlash: !1,
|
|
20
|
+
...a
|
|
21
|
+
}, e = t(e), r(n(e), a);
|
|
22
|
+
};
|
|
23
|
+
//#endregion
|
|
24
|
+
export { i as t };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as e, $t as t, A as n, At as r, B as i, Bt as a, C as o, Cn as s, Ct as c, D as l, Dt as u, E as d, Et as f, F as p, Ft as m, G as h, Gt as g, H as _, Ht as v, I as y, It as b, J as x, Jt as S, K as C, Kt as w, L as T, Lt as E, M as D, Mt as O, N as k, Nt as A, O as j, Ot as M, P as N, Pt as P, Q as F, Qt as I, R as L, Rt as R, S as z, Sn as B, St as V, T as H,
|
|
2
|
-
export {
|
|
1
|
+
import { $ as e, $t as t, A as n, At as r, B as i, Bt as a, C as o, Cn as s, Ct as c, D as l, Dt as u, E as d, Et as f, F as p, Ft as m, G as h, Gt as g, H as _, Ht as v, I as y, It as b, J as x, Jt as S, K as C, Kt as w, L as T, Lt as E, M as D, Mt as O, N as k, Nt as A, O as j, Ot as M, P as N, Pt as P, Q as F, Qt as I, R as L, Rt as R, S as z, Sn as B, St as V, T as H, Tn as U, Tt as W, U as G, Ut as K, V as q, Vt as J, W as Y, Wt as X, X as Z, Xt as Q, Y as $, Yt as ee, Z as te, Zt as ne, _ as re, _n as ie, _t as ae, a as oe, an as se, at as ce, b as le, bn as ue, bt as de, c as fe, cn as pe, ct as me, d as he, dn as ge, dt as _e, en as ve, et as ye, f as be, fn as xe, ft as Se, g as Ce, gn as we, gt as Te, h as Ee, hn as De, ht as Oe, i as ke, in as Ae, it as je, j as Me, jt as Ne, k as Pe, kt as Fe, l as Ie, ln as Le, lt as Re, m as ze, mn as Be, mt as Ve, n as He, nn as Ue, nt as We, o as Ge, on as Ke, ot as qe, p as Je, pn as Ye, pt as Xe, q as Ze, qt as Qe, r as $e, rn as et, rt as tt, s as nt, sn as rt, st as it, t as at, tn as ot, tt as st, u as ct, un as lt, ut, v as dt, vn as ft, vt as pt, w as mt, wn as ht, wt as gt, x as _t, xn as vt, xt as yt, y as bt, yn as xt, yt as St, z as Ct, zt as wt } from "../../generated-CDEuOcXT.js";
|
|
2
|
+
export { He as ActivitiesApi, $e as ActivitiesApiAxiosParamCreator, ke as ActivitiesApiFactory, oe as ActivitiesApiFp, Ge as ApplicationsApi, nt as ApplicationsApiAxiosParamCreator, fe as ApplicationsApiFactory, Ie as ApplicationsApiFp, at as Configuration, ct as DriveItemApi, he as DriveItemApiAxiosParamCreator, be as DriveItemApiFactory, Je as DriveItemApiFp, ze as DrivesApi, Ee as DrivesApiAxiosParamCreator, Ce as DrivesApiFactory, re as DrivesApiFp, dt as DrivesGetDrivesApi, bt as DrivesGetDrivesApiAxiosParamCreator, le as DrivesGetDrivesApiFactory, _t as DrivesGetDrivesApiFp, z as DrivesPermissionsApi, o as DrivesPermissionsApiAxiosParamCreator, mt as DrivesPermissionsApiFactory, H as DrivesPermissionsApiFp, d as DrivesRootApi, l as DrivesRootApiAxiosParamCreator, j as DrivesRootApiFactory, Pe as DrivesRootApiFp, n as EducationClassApi, Me as EducationClassApiAxiosParamCreator, D as EducationClassApiFactory, k as EducationClassApiFp, N as EducationClassClassificationEnum, p as EducationClassTeachersApi, y as EducationClassTeachersApiAxiosParamCreator, T as EducationClassTeachersApiFactory, L as EducationClassTeachersApiFp, Ct as EducationSchoolApi, i as EducationSchoolApiAxiosParamCreator, q as EducationSchoolApiFactory, _ as EducationSchoolApiFp, G as EducationUserApi, Y as EducationUserApiAxiosParamCreator, h as EducationUserApiFactory, C as EducationUserApiFp, Ze as GetDriveItemSelectEnum, x as GetDriveSelectEnum, $ as GetEducationUserExpandEnum, Z as GetGroupExpandEnum, te as GetGroupSelectEnum, F as GetOwnUserExpandEnum, e as GetUserExpandEnum, ye as GetUserSelectEnum, st as GroupApi, We as GroupApiAxiosParamCreator, tt as GroupApiFactory, je as GroupApiFp, ce as GroupsApi, qe as GroupsApiAxiosParamCreator, it as GroupsApiFactory, me as GroupsApiFp, Re as InvitationsApi, ut as InvitationsApiAxiosParamCreator, _e as InvitationsApiFactory, Se as InvitationsApiFp, Xe as ListAllDrivesBetaSelectEnum, Ve as ListEducationUsersExpandEnum, Oe as ListEducationUsersOrderbyEnum, Te as ListGroupsExpandEnum, ae as ListGroupsOrderbyEnum, pt as ListGroupsSelectEnum, St as ListMyDrivesBetaSelectEnum, de as ListPermissionsSelectEnum, yt as ListPermissionsSpaceRootSelectEnum, V as ListSharedByMeExpandEnum, c as ListSharedWithMeExpandEnum, gt as ListUsersExpandEnum, W as ListUsersOrderbyEnum, f as ListUsersSelectEnum, u as MeChangepasswordApi, M as MeChangepasswordApiAxiosParamCreator, Fe as MeChangepasswordApiFactory, r as MeChangepasswordApiFp, Ne as MeDriveApi, O as MeDriveApiAxiosParamCreator, A as MeDriveApiFactory, P as MeDriveApiFp, m as MeDriveRootApi, b as MeDriveRootApiAxiosParamCreator, E as MeDriveRootApiFactory, R as MeDriveRootApiFp, wt as MeDriveRootChildrenApi, a as MeDriveRootChildrenApiAxiosParamCreator, J as MeDriveRootChildrenApiFactory, v as MeDriveRootChildrenApiFp, K as MeDrivesApi, X as MeDrivesApiAxiosParamCreator, g as MeDrivesApiFactory, w as MeDrivesApiFp, Qe as MePhotoApi, S as MePhotoApiAxiosParamCreator, ee as MePhotoApiFactory, Q as MePhotoApiFp, ne as MeUserApi, I as MeUserApiAxiosParamCreator, t as MeUserApiFactory, ve as MeUserApiFp, ot as RoleManagementApi, Ue as RoleManagementApiAxiosParamCreator, et as RoleManagementApiFactory, Ae as RoleManagementApiFp, se as SharingLinkType, Ke as TagsApi, rt as TagsApiAxiosParamCreator, pe as TagsApiFactory, Le as TagsApiFp, lt as UserApi, ge as UserApiAxiosParamCreator, xe as UserApiFactory, Ye as UserApiFp, Be as UserAppRoleAssignmentApi, De as UserAppRoleAssignmentApiAxiosParamCreator, we as UserAppRoleAssignmentApiFactory, ie as UserAppRoleAssignmentApiFp, ft as UserPhotoApi, xt as UserPhotoApiAxiosParamCreator, ue as UserPhotoApiFactory, vt as UserPhotoApiFp, B as UsersApi, s as UsersApiAxiosParamCreator, ht as UsersApiFactory, U as UsersApiFp };
|
package/dist/web-client/graph.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../graph-
|
|
1
|
+
import { t as e } from "../graph-D6GY6HvL.js";
|
|
2
2
|
export { e as graph };
|
package/dist/web-client/ocs.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { o as e, t } from "../ocs-
|
|
1
|
+
import { o as e, t } from "../ocs-BwWCZeaA.js";
|
|
2
2
|
export { e as GetCapabilitiesFactory, t as ocs };
|
package/dist/web-client/sse.js
CHANGED
|
@@ -128,7 +128,7 @@ function u(e) {
|
|
|
128
128
|
//#endregion
|
|
129
129
|
//#region src/sse/index.ts
|
|
130
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_CREATED = "space-created", e.SPACE_DISABLED = "space-disabled", e.SPACE_DELETED = "space-deleted", 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;
|
|
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_CREATED = "space-created", e.SPACE_DISABLED = "space-disabled", e.SPACE_ENABLED = "space-enabled", e.SPACE_DELETED = "space-deleted", 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
132
|
}({}), f = class extends Error {
|
|
133
133
|
name = "RetriableError";
|
|
134
134
|
}, p = 15e3, m = class {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as e } from "../webdav-
|
|
2
|
-
import { G as t, K as n,
|
|
3
|
-
export { r as DavMethod,
|
|
1
|
+
import { t as e } from "../webdav-Di0erpeX.js";
|
|
2
|
+
import { G as t, K as n, U as r, W as i } from "../helpers-BMMUdKkY.js";
|
|
3
|
+
export { r as DavMethod, i as DavPermission, t as DavProperties, n as DavProperty, e as webdav };
|
package/dist/web-client.js
CHANGED
|
@@ -1,6 +1,21 @@
|
|
|
1
|
-
import { t as e } from "./graph-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { t as
|
|
6
|
-
|
|
1
|
+
import { t as e } from "./graph-D6GY6HvL.js";
|
|
2
|
+
import { i as t, n, r, t as i } from "./webdav-Di0erpeX.js";
|
|
3
|
+
import { t as a } from "./urlJoin-_pUL1TUx.js";
|
|
4
|
+
import { A as o, B as s, C as c, D as l, E as u, F as d, H as f, I as p, J as m, L as h, M as g, N as _, O as v, P as y, R as b, S as x, T as S, V as C, _ as w, a as T, b as E, c as D, d as O, f as k, g as A, h as j, i as M, j as N, k as P, l as F, m as I, n as L, o as R, p as z, q as B, r as V, s as H, t as U, u as W, v as G, w as K, x as q, y as J, z as Y } from "./helpers-BMMUdKkY.js";
|
|
5
|
+
import { t as X } from "./ocs-BwWCZeaA.js";
|
|
6
|
+
import { t as Z } from "./ox-S6JjEpPN.js";
|
|
7
|
+
//#region src/helpers/call.ts
|
|
8
|
+
var Q = function* (e) {
|
|
9
|
+
return yield e;
|
|
10
|
+
}, $ = ({ message: e, statusCode: t, xReqId: n }) => new r(e, new Response(void 0, {
|
|
11
|
+
headers: { "x-request-id": n },
|
|
12
|
+
status: t
|
|
13
|
+
}), t), ee = class {
|
|
14
|
+
static Read = 1;
|
|
15
|
+
static Update = 2;
|
|
16
|
+
static Create = 4;
|
|
17
|
+
static Delete = 8;
|
|
18
|
+
static Share = 16;
|
|
19
|
+
};
|
|
20
|
+
//#endregion
|
|
21
|
+
export { n as DavHttpError, N as GraphSharePermission, r as HttpError, q as OCM_PROVIDER_ID, x as SHARE_JAIL_ID, ee as SharePermissionBit, P as ShareType, o as ShareTypes, U as buildCollaboratorShare, g as buildDeletedResource, L as buildIncomingShareResource, V as buildLinkShare, M as buildOutgoingShareResource, k as buildPublicSpaceResource, _ as buildResource, z as buildShareSpaceResource, I as buildSpace, j as buildSpaceImageResource, B as buildWebDavOcmPath, m as buildWebDavPublicPath, A as buildWebDavSpacesPath, w as buildWebDavSpacesTrashPath, Q as call, $ as createHttpError, t as encodePath, y as extractDomSelector, d as extractExtensionFromFile, p as extractNameWithoutExtension, h as extractNodeId, b as extractParentFolderName, Y as extractStorageId, G as getRelativeSpecialFolderSpacePath, T as getShareResourcePermissions, R as getShareResourceRoles, J as getSpaceManagers, e as graph, H as isCollaboratorShare, D as isIncomingShareResource, F as isLinkShare, E as isManager, c as isMountPointSpaceResource, W as isOutgoingShareResource, K as isPersonalSpaceResource, S as isProjectSpaceResource, u as isPublicSpaceResource, s as isSearchResource, O as isShareResource, C as isShareRoot, l as isShareSpaceResource, v as isSpaceResource, f as isTrashResource, X as ocs, Z as ox, a as urlJoin, i as webdav };
|