@opencloud-eu/web-client 5.0.0 → 6.0.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/{functions-fAVnHNMc.js → functions-BBKWOL6l.js} +57 -54
- package/dist/functions-VxhUeT1u.cjs +1 -0
- package/dist/index-BYnmk_Nt.cjs +13 -0
- package/dist/index-Bf956okn.js +3874 -0
- package/dist/index-Bjx4f50a.js +1999 -0
- package/dist/index-C32gBO3b.cjs +6 -0
- package/dist/index-D0bnLDAA.cjs +1 -0
- package/dist/index-Di51ZQKD.cjs +4 -0
- package/dist/index-Dn8UfKx7.js +1520 -0
- package/dist/{index-Dis7HZol.js → index-Sp7XASDj.js} +21 -21
- package/dist/{index-DxKfohmw.cjs → index-_S-l3FmE.cjs} +1 -1
- package/dist/index-cttW6Cve.js +1018 -0
- package/dist/src/ocs/urlSign.d.ts +1 -0
- package/dist/{toString-BMC5nz5v.js → toString-CKeGA2IK.js} +57 -63
- package/dist/toString-DsGM1XcL.cjs +1 -0
- package/dist/web-client/graph/generated.cjs +1 -1
- package/dist/web-client/graph/generated.js +1 -1
- package/dist/web-client/graph.cjs +1 -1
- package/dist/web-client/graph.js +1 -1
- package/dist/web-client/ocs.cjs +1 -20
- package/dist/web-client/ocs.js +3 -6043
- package/dist/web-client/webdav.cjs +1 -1
- package/dist/web-client/webdav.js +3 -3
- package/dist/web-client.cjs +1 -1
- package/dist/web-client.js +6 -6
- package/package.json +2 -3
- package/dist/functions-BqiR_ap_.cjs +0 -1
- package/dist/index--afUD72W.cjs +0 -16
- package/dist/index-8RyXehLU.js +0 -1134
- package/dist/index-BtxJsB8k.cjs +0 -6
- package/dist/index-DD48hLOx.js +0 -1798
- package/dist/index-ZkBDpWBP.js +0 -4648
- package/dist/index-sTep8AuK.cjs +0 -1
- package/dist/toString-CEqk2kJI.cjs +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as
|
|
2
|
-
const
|
|
3
|
-
const e = t.join("/"), [, r = "", n = ""] = e.match(
|
|
1
|
+
import { g as f } from "./index-cttW6Cve.js";
|
|
2
|
+
const D = /^(\w+:\/\/[^/?]+)?(.*?)$/, F = (t) => t.filter((e) => typeof e == "string" || typeof e == "number").map((e) => `${e}`).filter((e) => e), H = (t) => {
|
|
3
|
+
const e = t.join("/"), [, r = "", n = ""] = e.match(D) || [];
|
|
4
4
|
return {
|
|
5
5
|
prefix: r,
|
|
6
6
|
pathname: {
|
|
@@ -9,10 +9,10 @@ const F = /^(\w+:\/\/[^/?]+)?(.*?)$/, A = (t) => t.filter((e) => typeof e == "st
|
|
|
9
9
|
hasTrailing: /\/+$/.test(n)
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
|
-
},
|
|
13
|
-
const { prefix: r, pathname: n } = t, { parts: a, hasLeading: y, hasTrailing: z } = n, { leadingSlash: b, trailingSlash: v } = e, j = b === !0 || b === "keep" && y,
|
|
12
|
+
}, I = (t, e) => {
|
|
13
|
+
const { prefix: r, pathname: n } = t, { parts: a, hasLeading: y, hasTrailing: z } = n, { leadingSlash: b, trailingSlash: v } = e, j = b === !0 || b === "keep" && y, A = v === !0 || v === "keep" && z;
|
|
14
14
|
let o = r;
|
|
15
|
-
return a.length > 0 && ((o || j) && (o += "/"), o += a.join("/")),
|
|
15
|
+
return a.length > 0 && ((o || j) && (o += "/"), o += a.join("/")), A && (o += "/"), !o && j && (o += "/"), o;
|
|
16
16
|
}, Ut = (...t) => {
|
|
17
17
|
const e = t[t.length - 1];
|
|
18
18
|
let r;
|
|
@@ -20,17 +20,13 @@ const F = /^(\w+:\/\/[^/?]+)?(.*?)$/, A = (t) => t.filter((e) => typeof e == "st
|
|
|
20
20
|
leadingSlash: !0,
|
|
21
21
|
trailingSlash: !1,
|
|
22
22
|
...r
|
|
23
|
-
}, t =
|
|
24
|
-
const n =
|
|
25
|
-
return
|
|
23
|
+
}, t = F(t);
|
|
24
|
+
const n = H(t);
|
|
25
|
+
return I(n, r);
|
|
26
26
|
};
|
|
27
|
-
var
|
|
28
|
-
function Kt(t) {
|
|
29
|
-
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
30
|
-
}
|
|
31
|
-
var I = typeof h == "object" && h && h.Object === Object && h, M = typeof self == "object" && self && self.Object === Object && self, _ = I || M || Function("return this")(), s = _.Symbol, w = Object.prototype, N = w.hasOwnProperty, G = w.toString, l = s ? s.toStringTag : void 0;
|
|
27
|
+
var E = typeof f == "object" && f && f.Object === Object && f, N = typeof self == "object" && self && self.Object === Object && self, _ = E || N || Function("return this")(), s = _.Symbol, P = Object.prototype, M = P.hasOwnProperty, G = P.toString, l = s ? s.toStringTag : void 0;
|
|
32
28
|
function L(t) {
|
|
33
|
-
var e =
|
|
29
|
+
var e = M.call(t, l), r = t[l];
|
|
34
30
|
try {
|
|
35
31
|
t[l] = void 0;
|
|
36
32
|
var n = !0;
|
|
@@ -44,7 +40,7 @@ function J(t) {
|
|
|
44
40
|
return U.call(t);
|
|
45
41
|
}
|
|
46
42
|
var K = "[object Null]", q = "[object Undefined]", S = s ? s.toStringTag : void 0;
|
|
47
|
-
function
|
|
43
|
+
function $(t) {
|
|
48
44
|
return t == null ? t === void 0 ? q : K : S && S in Object(t) ? L(t) : J(t);
|
|
49
45
|
}
|
|
50
46
|
function V(t) {
|
|
@@ -52,7 +48,7 @@ function V(t) {
|
|
|
52
48
|
}
|
|
53
49
|
var B = "[object Symbol]";
|
|
54
50
|
function Q(t) {
|
|
55
|
-
return typeof t == "symbol" || V(t) &&
|
|
51
|
+
return typeof t == "symbol" || V(t) && $(t) == B;
|
|
56
52
|
}
|
|
57
53
|
function W(t, e) {
|
|
58
54
|
for (var r = -1, n = t == null ? 0 : t.length, a = Array(n); ++r < n; )
|
|
@@ -60,11 +56,11 @@ function W(t, e) {
|
|
|
60
56
|
return a;
|
|
61
57
|
}
|
|
62
58
|
var X = Array.isArray, m = s ? s.prototype : void 0, O = m ? m.toString : void 0;
|
|
63
|
-
function
|
|
59
|
+
function w(t) {
|
|
64
60
|
if (typeof t == "string")
|
|
65
61
|
return t;
|
|
66
62
|
if (X(t))
|
|
67
|
-
return W(t,
|
|
63
|
+
return W(t, w) + "";
|
|
68
64
|
if (Q(t))
|
|
69
65
|
return O ? O.call(t) : "";
|
|
70
66
|
var e = t + "";
|
|
@@ -78,7 +74,7 @@ var Y = "[object AsyncFunction]", Z = "[object Function]", k = "[object Generato
|
|
|
78
74
|
function et(t) {
|
|
79
75
|
if (!C(t))
|
|
80
76
|
return !1;
|
|
81
|
-
var e =
|
|
77
|
+
var e = $(t);
|
|
82
78
|
return e == Z || e == k || e == Y || e == tt;
|
|
83
79
|
}
|
|
84
80
|
var g = _["__core-js_shared__"], T = (function() {
|
|
@@ -102,13 +98,13 @@ function ot(t) {
|
|
|
102
98
|
}
|
|
103
99
|
return "";
|
|
104
100
|
}
|
|
105
|
-
var it = /[\\^$.*+?()[\]{}|]/g, st = /^\[object .+?Constructor\]$/, ct = Function.prototype, lt = Object.prototype,
|
|
106
|
-
"^" +
|
|
101
|
+
var it = /[\\^$.*+?()[\]{}|]/g, st = /^\[object .+?Constructor\]$/, ct = Function.prototype, lt = Object.prototype, ht = ct.toString, ut = lt.hasOwnProperty, ft = RegExp(
|
|
102
|
+
"^" + ht.call(ut).replace(it, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
107
103
|
);
|
|
108
104
|
function pt(t) {
|
|
109
105
|
if (!C(t) || rt(t))
|
|
110
106
|
return !1;
|
|
111
|
-
var e = et(t) ?
|
|
107
|
+
var e = et(t) ? ft : st;
|
|
112
108
|
return e.test(ot(t));
|
|
113
109
|
}
|
|
114
110
|
function dt(t, e) {
|
|
@@ -121,9 +117,9 @@ function x(t, e) {
|
|
|
121
117
|
function gt(t, e) {
|
|
122
118
|
return t === e || t !== t && e !== e;
|
|
123
119
|
}
|
|
124
|
-
var
|
|
120
|
+
var h = x(Object, "create");
|
|
125
121
|
function _t() {
|
|
126
|
-
this.__data__ =
|
|
122
|
+
this.__data__ = h ? h(null) : {}, this.size = 0;
|
|
127
123
|
}
|
|
128
124
|
function yt(t) {
|
|
129
125
|
var e = this.has(t) && delete this.__data__[t];
|
|
@@ -132,7 +128,7 @@ function yt(t) {
|
|
|
132
128
|
var bt = "__lodash_hash_undefined__", vt = Object.prototype, jt = vt.hasOwnProperty;
|
|
133
129
|
function St(t) {
|
|
134
130
|
var e = this.__data__;
|
|
135
|
-
if (
|
|
131
|
+
if (h) {
|
|
136
132
|
var r = e[t];
|
|
137
133
|
return r === bt ? void 0 : r;
|
|
138
134
|
}
|
|
@@ -141,12 +137,12 @@ function St(t) {
|
|
|
141
137
|
var mt = Object.prototype, Ot = mt.hasOwnProperty;
|
|
142
138
|
function Tt(t) {
|
|
143
139
|
var e = this.__data__;
|
|
144
|
-
return
|
|
140
|
+
return h ? e[t] !== void 0 : Ot.call(e, t);
|
|
145
141
|
}
|
|
146
|
-
var
|
|
147
|
-
function
|
|
142
|
+
var Pt = "__lodash_hash_undefined__";
|
|
143
|
+
function $t(t, e) {
|
|
148
144
|
var r = this.__data__;
|
|
149
|
-
return this.size += this.has(t) ? 0 : 1, r[t] =
|
|
145
|
+
return this.size += this.has(t) ? 0 : 1, r[t] = h && e === void 0 ? Pt : e, this;
|
|
150
146
|
}
|
|
151
147
|
function i(t) {
|
|
152
148
|
var e = -1, r = t == null ? 0 : t.length;
|
|
@@ -159,8 +155,8 @@ i.prototype.clear = _t;
|
|
|
159
155
|
i.prototype.delete = yt;
|
|
160
156
|
i.prototype.get = St;
|
|
161
157
|
i.prototype.has = Tt;
|
|
162
|
-
i.prototype.set =
|
|
163
|
-
function
|
|
158
|
+
i.prototype.set = $t;
|
|
159
|
+
function wt() {
|
|
164
160
|
this.__data__ = [], this.size = 0;
|
|
165
161
|
}
|
|
166
162
|
function p(t, e) {
|
|
@@ -177,14 +173,14 @@ function zt(t) {
|
|
|
177
173
|
var n = e.length - 1;
|
|
178
174
|
return r == n ? e.pop() : xt.call(e, r, 1), --this.size, !0;
|
|
179
175
|
}
|
|
180
|
-
function
|
|
176
|
+
function At(t) {
|
|
181
177
|
var e = this.__data__, r = p(e, t);
|
|
182
178
|
return r < 0 ? void 0 : e[r][1];
|
|
183
179
|
}
|
|
184
|
-
function
|
|
180
|
+
function Dt(t) {
|
|
185
181
|
return p(this.__data__, t) > -1;
|
|
186
182
|
}
|
|
187
|
-
function
|
|
183
|
+
function Ft(t, e) {
|
|
188
184
|
var r = this.__data__, n = p(r, t);
|
|
189
185
|
return n < 0 ? (++this.size, r.push([t, e])) : r[n][1] = e, this;
|
|
190
186
|
}
|
|
@@ -195,32 +191,32 @@ function c(t) {
|
|
|
195
191
|
this.set(n[0], n[1]);
|
|
196
192
|
}
|
|
197
193
|
}
|
|
198
|
-
c.prototype.clear =
|
|
194
|
+
c.prototype.clear = wt;
|
|
199
195
|
c.prototype.delete = zt;
|
|
200
|
-
c.prototype.get =
|
|
201
|
-
c.prototype.has =
|
|
202
|
-
c.prototype.set =
|
|
203
|
-
var
|
|
204
|
-
function
|
|
196
|
+
c.prototype.get = At;
|
|
197
|
+
c.prototype.has = Dt;
|
|
198
|
+
c.prototype.set = Ft;
|
|
199
|
+
var Ht = x(_, "Map");
|
|
200
|
+
function It() {
|
|
205
201
|
this.size = 0, this.__data__ = {
|
|
206
202
|
hash: new i(),
|
|
207
|
-
map: new (
|
|
203
|
+
map: new (Ht || c)(),
|
|
208
204
|
string: new i()
|
|
209
205
|
};
|
|
210
206
|
}
|
|
211
|
-
function
|
|
207
|
+
function Et(t) {
|
|
212
208
|
var e = typeof t;
|
|
213
209
|
return e == "string" || e == "number" || e == "symbol" || e == "boolean" ? t !== "__proto__" : t === null;
|
|
214
210
|
}
|
|
215
211
|
function d(t, e) {
|
|
216
212
|
var r = t.__data__;
|
|
217
|
-
return
|
|
213
|
+
return Et(e) ? r[typeof e == "string" ? "string" : "hash"] : r.map;
|
|
218
214
|
}
|
|
219
|
-
function
|
|
215
|
+
function Nt(t) {
|
|
220
216
|
var e = d(this, t).delete(t);
|
|
221
217
|
return this.size -= e ? 1 : 0, e;
|
|
222
218
|
}
|
|
223
|
-
function
|
|
219
|
+
function Mt(t) {
|
|
224
220
|
return d(this, t).get(t);
|
|
225
221
|
}
|
|
226
222
|
function Gt(t) {
|
|
@@ -230,32 +226,30 @@ function Lt(t, e) {
|
|
|
230
226
|
var r = d(this, t), n = r.size;
|
|
231
227
|
return r.set(t, e), this.size += r.size == n ? 0 : 1, this;
|
|
232
228
|
}
|
|
233
|
-
function
|
|
229
|
+
function u(t) {
|
|
234
230
|
var e = -1, r = t == null ? 0 : t.length;
|
|
235
231
|
for (this.clear(); ++e < r; ) {
|
|
236
232
|
var n = t[e];
|
|
237
233
|
this.set(n[0], n[1]);
|
|
238
234
|
}
|
|
239
235
|
}
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
function
|
|
246
|
-
return t == null ? "" :
|
|
236
|
+
u.prototype.clear = It;
|
|
237
|
+
u.prototype.delete = Nt;
|
|
238
|
+
u.prototype.get = Mt;
|
|
239
|
+
u.prototype.has = Gt;
|
|
240
|
+
u.prototype.set = Lt;
|
|
241
|
+
function Jt(t) {
|
|
242
|
+
return t == null ? "" : w(t);
|
|
247
243
|
}
|
|
248
244
|
export {
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
Q as e,
|
|
255
|
-
Jt as f,
|
|
245
|
+
u as M,
|
|
246
|
+
Q as a,
|
|
247
|
+
et as b,
|
|
248
|
+
V as c,
|
|
249
|
+
W as d,
|
|
256
250
|
x as g,
|
|
257
|
-
|
|
251
|
+
X as i,
|
|
258
252
|
_ as r,
|
|
259
|
-
|
|
253
|
+
Jt as t,
|
|
260
254
|
Ut as u
|
|
261
255
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const f=require("./index-D0bnLDAA.cjs"),E=/^(\w+:\/\/[^/?]+)?(.*?)$/,M=t=>t.filter(e=>typeof e=="string"||typeof e=="number").map(e=>`${e}`).filter(e=>e),G=t=>{const e=t.join("/"),[,r="",n=""]=e.match(E)||[];return{prefix:r,pathname:{parts:n.split("/").filter(a=>a!==""),hasLeading:/^\/+/.test(n),hasTrailing:/\/+$/.test(n)}}},L=(t,e)=>{const{prefix:r,pathname:n}=t,{parts:a,hasLeading:b,hasTrailing:I}=n,{leadingSlash:v,trailingSlash:j}=e,S=v===!0||v==="keep"&&b,N=j===!0||j==="keep"&&I;let o=r;return a.length>0&&((o||S)&&(o+="/"),o+=a.join("/")),N&&(o+="/"),!o&&S&&(o+="/"),o},R=(...t)=>{const e=t[t.length-1];let r;e&&typeof e=="object"&&(r=e,t=t.slice(0,-1)),r={leadingSlash:!0,trailingSlash:!1,...r},t=M(t);const n=G(t);return L(n,r)};var U=typeof f.global=="object"&&f.global&&f.global.Object===Object&&f.global,J=typeof self=="object"&&self&&self.Object===Object&&self,p=U||J||Function("return this")(),s=p.Symbol,$=Object.prototype,q=$.hasOwnProperty,K=$.toString,u=s?s.toStringTag:void 0;function V(t){var e=q.call(t,u),r=t[u];try{t[u]=void 0;var n=!0}catch{}var a=K.call(t);return n&&(e?t[u]=r:delete t[u]),a}var B=Object.prototype,Q=B.toString;function W(t){return Q.call(t)}var X="[object Null]",Y="[object Undefined]",m=s?s.toStringTag:void 0;function w(t){return t==null?t===void 0?Y:X:m&&m in Object(t)?V(t):W(t)}function C(t){return t!=null&&typeof t=="object"}var Z="[object Symbol]";function x(t){return typeof t=="symbol"||C(t)&&w(t)==Z}function z(t,e){for(var r=-1,n=t==null?0:t.length,a=Array(n);++r<n;)a[r]=e(t[r],r,t);return a}var A=Array.isArray,O=s?s.prototype:void 0,T=O?O.toString:void 0;function F(t){if(typeof t=="string")return t;if(A(t))return z(t,F)+"";if(x(t))return T?T.call(t):"";var e=t+"";return e=="0"&&1/t==-1/0?"-0":e}function D(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var k="[object AsyncFunction]",tt="[object Function]",et="[object GeneratorFunction]",rt="[object Proxy]";function H(t){if(!D(t))return!1;var e=w(t);return e==tt||e==et||e==k||e==rt}var _=p["__core-js_shared__"],P=(function(){var t=/[^.]+$/.exec(_&&_.keys&&_.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""})();function nt(t){return!!P&&P in t}var at=Function.prototype,ot=at.toString;function it(t){if(t!=null){try{return ot.call(t)}catch{}try{return t+""}catch{}}return""}var st=/[\\^$.*+?()[\]{}|]/g,ct=/^\[object .+?Constructor\]$/,lt=Function.prototype,ut=Object.prototype,ht=lt.toString,ft=ut.hasOwnProperty,pt=RegExp("^"+ht.call(ft).replace(st,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function dt(t){if(!D(t)||nt(t))return!1;var e=H(t)?pt:ct;return e.test(it(t))}function gt(t,e){return t?.[e]}function y(t,e){var r=gt(t,e);return dt(r)?r:void 0}function _t(t,e){return t===e||t!==t&&e!==e}var h=y(Object,"create");function yt(){this.__data__=h?h(null):{},this.size=0}function bt(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var vt="__lodash_hash_undefined__",jt=Object.prototype,St=jt.hasOwnProperty;function mt(t){var e=this.__data__;if(h){var r=e[t];return r===vt?void 0:r}return St.call(e,t)?e[t]:void 0}var Ot=Object.prototype,Tt=Ot.hasOwnProperty;function Pt(t){var e=this.__data__;return h?e[t]!==void 0:Tt.call(e,t)}var $t="__lodash_hash_undefined__";function wt(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=h&&e===void 0?$t:e,this}function i(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}i.prototype.clear=yt;i.prototype.delete=bt;i.prototype.get=mt;i.prototype.has=Pt;i.prototype.set=wt;function Ct(){this.__data__=[],this.size=0}function d(t,e){for(var r=t.length;r--;)if(_t(t[r][0],e))return r;return-1}var xt=Array.prototype,zt=xt.splice;function At(t){var e=this.__data__,r=d(e,t);if(r<0)return!1;var n=e.length-1;return r==n?e.pop():zt.call(e,r,1),--this.size,!0}function Ft(t){var e=this.__data__,r=d(e,t);return r<0?void 0:e[r][1]}function Dt(t){return d(this.__data__,t)>-1}function Ht(t,e){var r=this.__data__,n=d(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}function c(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=Ct;c.prototype.delete=At;c.prototype.get=Ft;c.prototype.has=Dt;c.prototype.set=Ht;var It=y(p,"Map");function Nt(){this.size=0,this.__data__={hash:new i,map:new(It||c),string:new i}}function Et(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function g(t,e){var r=t.__data__;return Et(e)?r[typeof e=="string"?"string":"hash"]:r.map}function Mt(t){var e=g(this,t).delete(t);return this.size-=e?1:0,e}function Gt(t){return g(this,t).get(t)}function Lt(t){return g(this,t).has(t)}function Rt(t,e){var r=g(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this}function l(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}l.prototype.clear=Nt;l.prototype.delete=Mt;l.prototype.get=Gt;l.prototype.has=Lt;l.prototype.set=Rt;function Ut(t){return t==null?"":F(t)}exports.MapCache=l;exports.arrayMap=z;exports.getNative=y;exports.isArray=A;exports.isFunction=H;exports.isObjectLike=C;exports.isSymbol=x;exports.root=p;exports.toString=Ut;exports.urlJoin=R;
|