@ukpc-lib/react 0.13.11-sandbox.saas-8953.patch-1 → 0.13.11-sandbox.saas-8953.patch-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/components/index.cjs +1 -1
- package/dist/components/index.js +2 -2
- package/dist/{index.esm2017-CBKf7ngs.js → index.esm2017-C-4SqDxS.js} +4872 -4866
- package/dist/{index.esm2017-DrcCiFsl.cjs → index.esm2017-DoRVthPw.cjs} +71 -71
- package/dist/share/index.cjs +1 -1
- package/dist/share/index.js +1 -1
- package/package.json +1 -1
- package/web-components-bundle/access-denied/index.js +3 -3
- package/web-components-bundle/base-breadcrumbs/index.js +2 -2
- package/web-components-bundle/favorite-menu/index.js +4 -4
- package/web-components-bundle/global-menu/index.js +4 -4
- package/web-components-bundle/global-topbar/index.js +6 -6
- package/web-components-bundle/has-permission/index.js +3 -3
- package/web-components-bundle/{index-D7Mu-Kuz.js → index-BU5SX9Tl.js} +1075 -1074
- package/web-components-bundle/{index-Djqxh3qG.js → index-BgsZrtoB.js} +38 -38
- package/web-components-bundle/{index-Ljkt01-3.js → index-DSLDsUYV.js} +2 -2
- package/web-components-bundle/{index-3FjaOy7C.js → index-gdo5Ukmq.js} +6950 -6944
- package/web-components-bundle/page-not-found/index.js +3 -3
- package/web-components-bundle/{react-to-web-component-CXwKHjZr.js → react-to-web-component-w5r1Fs9q.js} +2 -2
- package/web-components-bundle/{react-toastify.esm-CrTD7cpE.js → react-toastify.esm-H_Xdunfj.js} +21 -21
- package/web-components-bundle/toast-config/index.js +2 -2
- package/web-components-bundle/toast-config-notification/index.js +2 -2
- package/web-components-bundle/{useTranslation-Xt9Mgi4Q.js → useTranslation-Cpy1-s9v.js} +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as Ue, c as ue, g as _t, s as Et, j as L } from "./react-to-web-component-
|
|
2
|
-
import { _ as Y, a as Ct, b as Nt, c as At, d as T, e as G, f as I, s as Dt, g as Tt, I as It, u as Ft } from "./useTranslation-
|
|
1
|
+
import { r as Ue, c as ue, g as _t, s as Et, j as L } from "./react-to-web-component-w5r1Fs9q.js";
|
|
2
|
+
import { _ as Y, a as Ct, b as Nt, c as At, d as T, e as G, f as I, s as Dt, g as Tt, I as It, u as Ft } from "./useTranslation-Cpy1-s9v.js";
|
|
3
3
|
import { a as Ut, _ as X } from "./setPrototypeOf-CP0c5ut2.js";
|
|
4
4
|
function Bt(a, r) {
|
|
5
5
|
for (var n = 0; n < r.length; n++) {
|
|
@@ -1971,32 +1971,15 @@ _.setDefaultNamespace;
|
|
|
1971
1971
|
_.hasLoadedNamespace;
|
|
1972
1972
|
_.loadNamespaces;
|
|
1973
1973
|
_.loadLanguages;
|
|
1974
|
-
var yn =
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
Dt(r.options.react), Tt(r);
|
|
1978
|
-
}
|
|
1979
|
-
};
|
|
1980
|
-
function bn(a) {
|
|
1981
|
-
var r = a.i18n, n = a.defaultNS, t = a.children, e = Ue.useMemo(function() {
|
|
1982
|
-
return {
|
|
1983
|
-
i18n: r,
|
|
1984
|
-
defaultNS: n
|
|
1985
|
-
};
|
|
1986
|
-
}, [r, n]);
|
|
1987
|
-
return Ue.createElement(It.Provider, {
|
|
1988
|
-
value: e
|
|
1989
|
-
}, t);
|
|
1990
|
-
}
|
|
1991
|
-
var mt = [], wn = mt.forEach, On = mt.slice;
|
|
1992
|
-
function Sn(a) {
|
|
1993
|
-
return wn.call(On.call(arguments, 1), function(r) {
|
|
1974
|
+
var mt = [], yn = mt.forEach, bn = mt.slice;
|
|
1975
|
+
function wn(a) {
|
|
1976
|
+
return yn.call(bn.call(arguments, 1), function(r) {
|
|
1994
1977
|
if (r)
|
|
1995
1978
|
for (var n in r)
|
|
1996
1979
|
a[n] === void 0 && (a[n] = r[n]);
|
|
1997
1980
|
}), a;
|
|
1998
1981
|
}
|
|
1999
|
-
var rt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,
|
|
1982
|
+
var rt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, On = function(r, n, t) {
|
|
2000
1983
|
var e = t || {};
|
|
2001
1984
|
e.path = e.path || "/";
|
|
2002
1985
|
var i = encodeURIComponent(n), o = "".concat(r, "=").concat(i);
|
|
@@ -2047,7 +2030,7 @@ var rt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, xn = function(r, n, t) {
|
|
|
2047
2030
|
path: "/",
|
|
2048
2031
|
sameSite: "strict"
|
|
2049
2032
|
};
|
|
2050
|
-
t && (i.expires = /* @__PURE__ */ new Date(), i.expires.setTime(i.expires.getTime() + t * 60 * 1e3)), e && (i.domain = e), document.cookie =
|
|
2033
|
+
t && (i.expires = /* @__PURE__ */ new Date(), i.expires.setTime(i.expires.getTime() + t * 60 * 1e3)), e && (i.domain = e), document.cookie = On(r, encodeURIComponent(n), i);
|
|
2051
2034
|
},
|
|
2052
2035
|
read: function(r) {
|
|
2053
2036
|
for (var n = "".concat(r, "="), t = document.cookie.split(";"), e = 0; e < t.length; e++) {
|
|
@@ -2061,7 +2044,7 @@ var rt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, xn = function(r, n, t) {
|
|
|
2061
2044
|
remove: function(r) {
|
|
2062
2045
|
this.create(r, "", -1);
|
|
2063
2046
|
}
|
|
2064
|
-
},
|
|
2047
|
+
}, Sn = {
|
|
2065
2048
|
name: "cookie",
|
|
2066
2049
|
lookup: function(r) {
|
|
2067
2050
|
var n;
|
|
@@ -2074,7 +2057,7 @@ var rt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, xn = function(r, n, t) {
|
|
|
2074
2057
|
cacheUserLanguage: function(r, n) {
|
|
2075
2058
|
n.lookupCookie && typeof document < "u" && it.create(n.lookupCookie, r, n.cookieMinutes, n.cookieDomain, n.cookieOptions);
|
|
2076
2059
|
}
|
|
2077
|
-
},
|
|
2060
|
+
}, xn = {
|
|
2078
2061
|
name: "querystring",
|
|
2079
2062
|
lookup: function(r) {
|
|
2080
2063
|
var n;
|
|
@@ -2102,7 +2085,7 @@ var rt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, xn = function(r, n, t) {
|
|
|
2102
2085
|
oe = !1;
|
|
2103
2086
|
}
|
|
2104
2087
|
return oe;
|
|
2105
|
-
},
|
|
2088
|
+
}, Pn = {
|
|
2106
2089
|
name: "localStorage",
|
|
2107
2090
|
lookup: function(r) {
|
|
2108
2091
|
var n;
|
|
@@ -2126,7 +2109,7 @@ var rt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, xn = function(r, n, t) {
|
|
|
2126
2109
|
se = !1;
|
|
2127
2110
|
}
|
|
2128
2111
|
return se;
|
|
2129
|
-
},
|
|
2112
|
+
}, kn = {
|
|
2130
2113
|
name: "sessionStorage",
|
|
2131
2114
|
lookup: function(r) {
|
|
2132
2115
|
var n;
|
|
@@ -2139,7 +2122,7 @@ var rt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, xn = function(r, n, t) {
|
|
|
2139
2122
|
cacheUserLanguage: function(r, n) {
|
|
2140
2123
|
n.lookupSessionStorage && ot() && window.sessionStorage.setItem(n.lookupSessionStorage, r);
|
|
2141
2124
|
}
|
|
2142
|
-
},
|
|
2125
|
+
}, jn = {
|
|
2143
2126
|
name: "navigator",
|
|
2144
2127
|
lookup: function(r) {
|
|
2145
2128
|
var n = [];
|
|
@@ -2151,13 +2134,13 @@ var rt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, xn = function(r, n, t) {
|
|
|
2151
2134
|
}
|
|
2152
2135
|
return n.length > 0 ? n : void 0;
|
|
2153
2136
|
}
|
|
2154
|
-
},
|
|
2137
|
+
}, Ln = {
|
|
2155
2138
|
name: "htmlTag",
|
|
2156
2139
|
lookup: function(r) {
|
|
2157
2140
|
var n, t = r.htmlTag || (typeof document < "u" ? document.documentElement : null);
|
|
2158
2141
|
return t && typeof t.getAttribute == "function" && (n = t.getAttribute("lang")), n;
|
|
2159
2142
|
}
|
|
2160
|
-
},
|
|
2143
|
+
}, Rn = {
|
|
2161
2144
|
name: "path",
|
|
2162
2145
|
lookup: function(r) {
|
|
2163
2146
|
var n;
|
|
@@ -2173,7 +2156,7 @@ var rt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, xn = function(r, n, t) {
|
|
|
2173
2156
|
}
|
|
2174
2157
|
return n;
|
|
2175
2158
|
}
|
|
2176
|
-
},
|
|
2159
|
+
}, _n = {
|
|
2177
2160
|
name: "subdomain",
|
|
2178
2161
|
lookup: function(r) {
|
|
2179
2162
|
var n = typeof r.lookupFromSubdomainIndex == "number" ? r.lookupFromSubdomainIndex + 1 : 1, t = typeof window < "u" && window.location && window.location.hostname && window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);
|
|
@@ -2187,7 +2170,7 @@ try {
|
|
|
2187
2170
|
}
|
|
2188
2171
|
var bt = ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"];
|
|
2189
2172
|
yt || bt.splice(1, 1);
|
|
2190
|
-
function
|
|
2173
|
+
function En() {
|
|
2191
2174
|
return {
|
|
2192
2175
|
order: bt,
|
|
2193
2176
|
lookupQuerystring: "lng",
|
|
@@ -2215,9 +2198,9 @@ var wt = /* @__PURE__ */ function() {
|
|
|
2215
2198
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, e = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
2216
2199
|
this.services = n || {
|
|
2217
2200
|
languageUtils: {}
|
|
2218
|
-
}, this.options =
|
|
2201
|
+
}, this.options = wn(t, this.options || {}, En()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = function(i) {
|
|
2219
2202
|
return i.replace("-", "_");
|
|
2220
|
-
}), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = e, this.addDetector(
|
|
2203
|
+
}), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = e, this.addDetector(Sn), this.addDetector(xn), this.addDetector(Pn), this.addDetector(kn), this.addDetector(jn), this.addDetector(Ln), this.addDetector(Rn), this.addDetector(_n);
|
|
2221
2204
|
}
|
|
2222
2205
|
}, {
|
|
2223
2206
|
key: "addDetector",
|
|
@@ -2250,6 +2233,23 @@ var wt = /* @__PURE__ */ function() {
|
|
|
2250
2233
|
}]);
|
|
2251
2234
|
}();
|
|
2252
2235
|
wt.type = "languageDetector";
|
|
2236
|
+
var Cn = {
|
|
2237
|
+
type: "3rdParty",
|
|
2238
|
+
init: function(r) {
|
|
2239
|
+
Dt(r.options.react), Tt(r);
|
|
2240
|
+
}
|
|
2241
|
+
};
|
|
2242
|
+
function Nn(a) {
|
|
2243
|
+
var r = a.i18n, n = a.defaultNS, t = a.children, e = Ue.useMemo(function() {
|
|
2244
|
+
return {
|
|
2245
|
+
i18n: r,
|
|
2246
|
+
defaultNS: n
|
|
2247
|
+
};
|
|
2248
|
+
}, [r, n]);
|
|
2249
|
+
return Ue.createElement(It.Provider, {
|
|
2250
|
+
value: e
|
|
2251
|
+
}, t);
|
|
2252
|
+
}
|
|
2253
2253
|
var Ot = [], An = Ot.forEach, Dn = Ot.slice;
|
|
2254
2254
|
function Tn(a) {
|
|
2255
2255
|
return An.call(Dn.call(arguments, 1), function(r) {
|
|
@@ -3064,7 +3064,7 @@ const er = {
|
|
|
3064
3064
|
en: "English",
|
|
3065
3065
|
de: "German"
|
|
3066
3066
|
};
|
|
3067
|
-
_.use(St).use(
|
|
3067
|
+
_.use(St).use(Cn).use(wt).init({
|
|
3068
3068
|
// defaultNS: "translation",
|
|
3069
3069
|
// resources,
|
|
3070
3070
|
initImmediate: !0,
|
|
@@ -3191,14 +3191,14 @@ const ve = {
|
|
|
3191
3191
|
}
|
|
3192
3192
|
);
|
|
3193
3193
|
function rr() {
|
|
3194
|
-
return /* @__PURE__ */ L.jsx(
|
|
3194
|
+
return /* @__PURE__ */ L.jsx(Nn, { i18n: _, children: /* @__PURE__ */ L.jsx(tr, {}) });
|
|
3195
3195
|
}
|
|
3196
3196
|
{
|
|
3197
3197
|
const a = Et(rr);
|
|
3198
3198
|
customElements.define("access-denied", a);
|
|
3199
3199
|
}
|
|
3200
3200
|
export {
|
|
3201
|
-
|
|
3201
|
+
Nn as I,
|
|
3202
3202
|
Zn as L,
|
|
3203
3203
|
tr as U,
|
|
3204
3204
|
_ as i,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as e, s as a } from "./react-to-web-component-
|
|
2
|
-
import { u as l } from "./useTranslation-
|
|
1
|
+
import { j as e, s as a } from "./react-to-web-component-w5r1Fs9q.js";
|
|
2
|
+
import { u as l } from "./useTranslation-Cpy1-s9v.js";
|
|
3
3
|
const s = "*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}";
|
|
4
4
|
function d({ children: t, styles: o = [], ...i }) {
|
|
5
5
|
return /* @__PURE__ */ e.jsxs("div", { ...i, children: [
|