@ukpc-lib/react 0.11.6 → 0.12.1-dev.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/components/GlobalMenu/components/MenuItem.d.ts +2 -1
- package/dist/components/GlobalMenu/data.json.d.ts +1979 -1143
- package/dist/components/index.cjs +2 -2
- package/dist/components/index.js +5 -3
- package/dist/index.esm2017-5e128de3.cjs +1101 -0
- package/dist/index.esm2017-e23bb13e.js +41224 -0
- package/dist/share/index.cjs +1 -1
- package/dist/share/index.js +1 -1
- package/package.json +2 -2
- package/web-components-bundle/access-denied/index.js +1 -1
- package/web-components-bundle/favorite-menu/index.js +2 -2
- package/web-components-bundle/global-menu/index.js +2 -2
- package/web-components-bundle/global-topbar/index.js +2 -2
- package/web-components-bundle/has-permission/index.js +2 -2
- package/web-components-bundle/{index-106dff30.js → index-4908ae68.js} +19380 -18789
- package/web-components-bundle/{index-c91ec106.js → index-a07af468.js} +29 -29
- package/dist/index.esm2017-3eee8145.js +0 -40631
- package/dist/index.esm2017-f3d75692.cjs +0 -1101
|
@@ -54,7 +54,7 @@ function H(i, e, t) {
|
|
|
54
54
|
writable: !1
|
|
55
55
|
}), i;
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function Y(i) {
|
|
58
58
|
if (i === void 0)
|
|
59
59
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
60
60
|
return i;
|
|
@@ -82,7 +82,7 @@ function de(i, e) {
|
|
|
82
82
|
return e;
|
|
83
83
|
if (e !== void 0)
|
|
84
84
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
85
|
-
return
|
|
85
|
+
return Y(i);
|
|
86
86
|
}
|
|
87
87
|
function X(i) {
|
|
88
88
|
return X = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
|
|
@@ -223,7 +223,7 @@ var tn = {
|
|
|
223
223
|
return t = t || this.options, t.prefix = t.prefix || this.prefix, new i(this.logger, t);
|
|
224
224
|
}
|
|
225
225
|
}]), i;
|
|
226
|
-
}(), J = new nn(),
|
|
226
|
+
}(), J = new nn(), Z = function() {
|
|
227
227
|
function i() {
|
|
228
228
|
B(this, i), this.observers = {};
|
|
229
229
|
}
|
|
@@ -437,7 +437,7 @@ var pn = function(i) {
|
|
|
437
437
|
ns: ["translation"],
|
|
438
438
|
defaultNS: "translation"
|
|
439
439
|
};
|
|
440
|
-
return B(this, t), r = e.call(this), xe &&
|
|
440
|
+
return B(this, t), r = e.call(this), xe && Z.call(Y(r)), r.data = n || {}, r.options = a, r.options.keySeparator === void 0 && (r.options.keySeparator = "."), r.options.ignoreJSONStructure === void 0 && (r.options.ignoreJSONStructure = !0), r;
|
|
441
441
|
}
|
|
442
442
|
return H(t, [{
|
|
443
443
|
key: "addNamespaces",
|
|
@@ -522,7 +522,7 @@ var pn = function(i) {
|
|
|
522
522
|
return this.data;
|
|
523
523
|
}
|
|
524
524
|
}]), t;
|
|
525
|
-
}(
|
|
525
|
+
}(Z), At = {
|
|
526
526
|
processors: {},
|
|
527
527
|
addPostProcessor: function(e) {
|
|
528
528
|
this.processors[e.name] = e;
|
|
@@ -584,7 +584,7 @@ var Qe = {}, Ye = function(i) {
|
|
|
584
584
|
var e = gn(t);
|
|
585
585
|
function t(n) {
|
|
586
586
|
var r, a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
587
|
-
return B(this, t), r = e.call(this), xe &&
|
|
587
|
+
return B(this, t), r = e.call(this), xe && Z.call(Y(r)), rn(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], n, Y(r)), r.options = a, r.options.keySeparator === void 0 && (r.options.keySeparator = "."), r.logger = J.create("translator"), r;
|
|
588
588
|
}
|
|
589
589
|
return H(t, [{
|
|
590
590
|
key: "changeLanguage",
|
|
@@ -660,7 +660,7 @@ var Qe = {}, Ye = function(i) {
|
|
|
660
660
|
return u ? (v.res = _, v) : _;
|
|
661
661
|
}
|
|
662
662
|
if (d) {
|
|
663
|
-
var
|
|
663
|
+
var Q = k === "[object Array]", A = Q ? [] : {}, Pe = Q ? x : S;
|
|
664
664
|
for (var q in m)
|
|
665
665
|
if (Object.prototype.hasOwnProperty.call(m, q)) {
|
|
666
666
|
var l = "".concat(Pe).concat(d).concat(q);
|
|
@@ -799,7 +799,7 @@ var Qe = {}, Ye = function(i) {
|
|
|
799
799
|
return !1;
|
|
800
800
|
}
|
|
801
801
|
}]), t;
|
|
802
|
-
}(
|
|
802
|
+
}(Z);
|
|
803
803
|
function Ee(i) {
|
|
804
804
|
return i.charAt(0).toUpperCase() + i.slice(1);
|
|
805
805
|
}
|
|
@@ -1474,7 +1474,7 @@ var Ln = function(i) {
|
|
|
1474
1474
|
var e = Pn(t);
|
|
1475
1475
|
function t(n, r, a) {
|
|
1476
1476
|
var o, s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
1477
|
-
return B(this, t), o = e.call(this), xe &&
|
|
1477
|
+
return B(this, t), o = e.call(this), xe && Z.call(Y(o)), o.backend = n, o.store = r, o.services = a, o.languageUtils = a.languageUtils, o.options = s, o.logger = J.create("backendConnector"), o.waitingReads = [], o.maxParallelReads = s.maxParallelReads || 10, o.readingCalls = 0, o.maxRetries = s.maxRetries >= 0 ? s.maxRetries : 5, o.retryTimeout = s.retryTimeout >= 1 ? s.retryTimeout : 350, o.state = {}, o.queue = [], o.backend && o.backend.init && o.backend.init(a, s.backend, s), o;
|
|
1478
1478
|
}
|
|
1479
1479
|
return H(t, [{
|
|
1480
1480
|
key: "queueLoad",
|
|
@@ -1625,7 +1625,7 @@ var Ln = function(i) {
|
|
|
1625
1625
|
}
|
|
1626
1626
|
}
|
|
1627
1627
|
}]), t;
|
|
1628
|
-
}(
|
|
1628
|
+
}(Z);
|
|
1629
1629
|
function ot() {
|
|
1630
1630
|
return {
|
|
1631
1631
|
debug: !1,
|
|
@@ -1748,11 +1748,11 @@ var we = function(i) {
|
|
|
1748
1748
|
var e = Rn(t);
|
|
1749
1749
|
function t() {
|
|
1750
1750
|
var n, r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = arguments.length > 1 ? arguments[1] : void 0;
|
|
1751
|
-
if (B(this, t), n = e.call(this), xe &&
|
|
1751
|
+
if (B(this, t), n = e.call(this), xe && Z.call(Y(n)), n.options = st(r), n.services = {}, n.logger = J, n.modules = {
|
|
1752
1752
|
external: []
|
|
1753
|
-
}, _n(
|
|
1753
|
+
}, _n(Y(n)), a && !n.isInitialized && !r.isClone) {
|
|
1754
1754
|
if (!n.options.initImmediate)
|
|
1755
|
-
return n.init(r, a), de(n,
|
|
1755
|
+
return n.init(r, a), de(n, Y(n));
|
|
1756
1756
|
setTimeout(function() {
|
|
1757
1757
|
n.init(r, a);
|
|
1758
1758
|
}, 0);
|
|
@@ -2027,7 +2027,7 @@ var we = function(i) {
|
|
|
2027
2027
|
};
|
|
2028
2028
|
}
|
|
2029
2029
|
}]), t;
|
|
2030
|
-
}(
|
|
2030
|
+
}(Z);
|
|
2031
2031
|
W(we, "createInstance", function() {
|
|
2032
2032
|
var i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, e = arguments.length > 1 ? arguments[1] : void 0;
|
|
2033
2033
|
return new we(i, e);
|
|
@@ -2551,10 +2551,10 @@ function or(i) {
|
|
|
2551
2551
|
k.current && m(b);
|
|
2552
2552
|
}
|
|
2553
2553
|
return C && o && o.on(C, _), R && o && o.store.on(R, _), function() {
|
|
2554
|
-
k.current = !1, C && o && C.split(" ").forEach(function(
|
|
2555
|
-
return o.off(
|
|
2556
|
-
}), R && o && R.split(" ").forEach(function(
|
|
2557
|
-
return o.store.off(
|
|
2554
|
+
k.current = !1, C && o && C.split(" ").forEach(function(Q) {
|
|
2555
|
+
return o.off(Q, _);
|
|
2556
|
+
}), R && o && R.split(" ").forEach(function(Q) {
|
|
2557
|
+
return o.store.off(Q, _);
|
|
2558
2558
|
});
|
|
2559
2559
|
};
|
|
2560
2560
|
}, [o, S]);
|
|
@@ -2944,7 +2944,7 @@ function vr() {
|
|
|
2944
2944
|
}
|
|
2945
2945
|
}), h;
|
|
2946
2946
|
}
|
|
2947
|
-
function
|
|
2947
|
+
function Q(l) {
|
|
2948
2948
|
var h = new y(), O = l.replace(/\r?\n[\t ]+/g, " ");
|
|
2949
2949
|
return O.split("\r").map(function(j) {
|
|
2950
2950
|
return j.indexOf(`
|
|
@@ -3002,7 +3002,7 @@ function vr() {
|
|
|
3002
3002
|
var F = {
|
|
3003
3003
|
status: P.status,
|
|
3004
3004
|
statusText: P.statusText,
|
|
3005
|
-
headers:
|
|
3005
|
+
headers: Q(P.getAllResponseHeaders() || "")
|
|
3006
3006
|
};
|
|
3007
3007
|
F.url = "responseURL" in P ? P.responseURL : F.headers.get("X-Request-URL");
|
|
3008
3008
|
var z = "response" in P ? P.response : P.responseText;
|
|
@@ -3046,8 +3046,8 @@ function vr() {
|
|
|
3046
3046
|
}(ve, ve.exports)), ve.exports;
|
|
3047
3047
|
}
|
|
3048
3048
|
(function(i, e) {
|
|
3049
|
-
var t;
|
|
3050
|
-
if (typeof
|
|
3049
|
+
var t = typeof fetch == "function" ? fetch : void 0;
|
|
3050
|
+
if (typeof ce < "u" && ce.fetch ? t = ce.fetch : typeof window < "u" && window.fetch && (t = window.fetch), typeof hr < "u" && typeof window > "u") {
|
|
3051
3051
|
var n = t || vr();
|
|
3052
3052
|
n.default && (n = n.default), e.default = n, i.exports = e.default;
|
|
3053
3053
|
}
|
|
@@ -3105,14 +3105,14 @@ function te(i) {
|
|
|
3105
3105
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
3106
3106
|
}, te(i);
|
|
3107
3107
|
}
|
|
3108
|
-
var
|
|
3109
|
-
typeof
|
|
3108
|
+
var ee = typeof fetch == "function" ? fetch : void 0;
|
|
3109
|
+
typeof global < "u" && global.fetch ? ee = global.fetch : typeof window < "u" && window.fetch && (ee = window.fetch);
|
|
3110
3110
|
var le;
|
|
3111
3111
|
qt() && (typeof global < "u" && global.XMLHttpRequest ? le = global.XMLHttpRequest : typeof window < "u" && window.XMLHttpRequest && (le = window.XMLHttpRequest));
|
|
3112
3112
|
var Oe;
|
|
3113
3113
|
typeof ActiveXObject == "function" && (typeof global < "u" && global.ActiveXObject ? Oe = global.ActiveXObject : typeof window < "u" && window.ActiveXObject && (Oe = window.ActiveXObject));
|
|
3114
|
-
!
|
|
3115
|
-
typeof
|
|
3114
|
+
!ee && Ot && !le && !Oe && (ee = zt || Ot);
|
|
3115
|
+
typeof ee != "function" && (ee = void 0);
|
|
3116
3116
|
var Fe = function(e, t) {
|
|
3117
3117
|
if (t && te(t) === "object") {
|
|
3118
3118
|
var n = "";
|
|
@@ -3143,7 +3143,7 @@ var Fe = function(e, t) {
|
|
|
3143
3143
|
return;
|
|
3144
3144
|
}
|
|
3145
3145
|
}
|
|
3146
|
-
typeof fetch == "function" ? fetch(e, t).then(a).catch(n) :
|
|
3146
|
+
typeof fetch == "function" ? fetch(e, t).then(a).catch(n) : ee(e, t).then(a).catch(n);
|
|
3147
3147
|
}, jt = !1, wr = function(e, t, n, r) {
|
|
3148
3148
|
e.queryStringParams && (t = Fe(t, e.queryStringParams));
|
|
3149
3149
|
var a = xt({}, typeof e.customHeaders == "function" ? e.customHeaders() : e.customHeaders);
|
|
@@ -3186,7 +3186,7 @@ var Fe = function(e, t) {
|
|
|
3186
3186
|
}
|
|
3187
3187
|
}, Sr = function(e, t, n, r) {
|
|
3188
3188
|
if (typeof n == "function" && (r = n, n = void 0), r = r || function() {
|
|
3189
|
-
},
|
|
3189
|
+
}, ee && t.indexOf("file:") !== 0)
|
|
3190
3190
|
return wr(e, t, n, r);
|
|
3191
3191
|
if (qt() || typeof ActiveXObject == "function")
|
|
3192
3192
|
return Or(e, t, n, r);
|
|
@@ -3536,7 +3536,7 @@ export {
|
|
|
3536
3536
|
Lr as L,
|
|
3537
3537
|
Er as U,
|
|
3538
3538
|
Ne as _,
|
|
3539
|
-
|
|
3539
|
+
Y as a,
|
|
3540
3540
|
N as i,
|
|
3541
3541
|
Ar as t
|
|
3542
3542
|
};
|