@keycloak/keycloak-admin-ui 26.0.8 → 26.1.1

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.
Files changed (83) hide show
  1. package/lib/.vite/manifest.json +30 -21
  2. package/lib/App.d.ts +2 -0
  3. package/lib/Banners.d.ts +5 -0
  4. package/lib/{CreateFlow-D3hVgFZr.js → CreateFlow-BP640UYh.js} +9 -9
  5. package/lib/{CreateFlow-D3hVgFZr.js.map → CreateFlow-BP640UYh.js.map} +1 -1
  6. package/lib/DetailOrganization-DmvcJpiT.js +164 -0
  7. package/lib/DetailOrganization-DmvcJpiT.js.map +1 -0
  8. package/lib/{ExecutorForm-Dp7Iqxos.js → ExecutorForm-Ckr_3kCd.js} +27 -27
  9. package/lib/{ExecutorForm-Dp7Iqxos.js.map → ExecutorForm-Ckr_3kCd.js.map} +1 -1
  10. package/lib/FlowDetails-CxTTxsRh.js +10786 -0
  11. package/lib/FlowDetails-CxTTxsRh.js.map +1 -0
  12. package/lib/NewOrganization-B8QaQm9K.js +36 -0
  13. package/lib/{NewOrganization-CQAjr9Dn.js.map → NewOrganization-B8QaQm9K.js.map} +1 -1
  14. package/lib/PageHeaderClearCachesModal.d.ts +4 -0
  15. package/lib/{PermissionDetails-xk5HiPzx.js → PermissionDetails-DpwcCYaB.js} +93 -93
  16. package/lib/{PermissionDetails-xk5HiPzx.js.map → PermissionDetails-DpwcCYaB.js.map} +1 -1
  17. package/lib/{ResourceDetails-CbJWQn4F.js → ResourceDetails-o5cgUkTJ.js} +30 -30
  18. package/lib/{ResourceDetails-CbJWQn4F.js.map → ResourceDetails-o5cgUkTJ.js.map} +1 -1
  19. package/lib/{ScopeDetails-BtYWOGtn.js → ScopeDetails-DgvIDlC8.js} +32 -32
  20. package/lib/{ScopeDetails-BtYWOGtn.js.map → ScopeDetails-DgvIDlC8.js.map} +1 -1
  21. package/lib/admin-client.d.ts +1 -1
  22. package/lib/browser-ponyfill-C_ISF2Ak.js +342 -0
  23. package/lib/browser-ponyfill-C_ISF2Ak.js.map +1 -0
  24. package/lib/client-scopes/routes/ClientScope.d.ts +1 -1
  25. package/lib/client-scopes/routes/Mapper.d.ts +1 -0
  26. package/lib/clients/routes/Client.d.ts +1 -1
  27. package/lib/clients/routes/Mapper.d.ts +1 -0
  28. package/lib/components/dynamic/IntComponent.d.ts +2 -0
  29. package/lib/components/dynamic/NumberComponent.d.ts +2 -0
  30. package/lib/components/dynamic/components.d.ts +5 -1
  31. package/lib/components/json-file-upload/FileUploadForm.d.ts +2 -3
  32. package/lib/components/role-mapping/RoleMapping.d.ts +1 -1
  33. package/lib/context/RecentRealms.d.ts +1 -1
  34. package/lib/context/access/Access.d.ts +1 -1
  35. package/lib/context/realm-context/RealmContext.d.ts +1 -1
  36. package/lib/context/server-info/ServerInfoProvider.d.ts +1 -1
  37. package/lib/context/whoami/WhoAmI.d.ts +1 -1
  38. package/lib/events/AdminEvents.d.ts +5 -1
  39. package/lib/groups/MembershipsModal.d.ts +7 -0
  40. package/lib/identity-providers/routes/IdentityProvider.d.ts +1 -1
  41. package/lib/index-BJcywEEJ.js +102019 -0
  42. package/lib/index-BJcywEEJ.js.map +1 -0
  43. package/lib/index.d.ts +7 -3
  44. package/lib/keycloak-admin-ui.css +1 -0
  45. package/lib/keycloak-admin-ui.js +259 -255
  46. package/lib/organizations/routes/EditOrganization.d.ts +1 -1
  47. package/lib/permissions/PermissionsSection.d.ts +1 -0
  48. package/lib/permissions/routes/Permissions.d.ts +7 -0
  49. package/lib/permissions/routes/PermissionsTabs.d.ts +9 -0
  50. package/lib/permissions/routes.d.ts +3 -0
  51. package/lib/realm-roles/routes/RealmRole.d.ts +1 -1
  52. package/lib/realm-settings/TokensTab.d.ts +1 -2
  53. package/lib/realm-settings/routes/ThemesTab.d.ts +9 -0
  54. package/lib/realm-settings/themes/ImageUpload.d.ts +6 -0
  55. package/lib/realm-settings/themes/LogoContext.d.ts +9 -0
  56. package/lib/realm-settings/themes/PatternflyVars.d.ts +10 -0
  57. package/lib/realm-settings/themes/PreviewWindow.d.ts +5 -0
  58. package/lib/realm-settings/themes/ThemeColors.d.ts +9 -0
  59. package/lib/realm-settings/{ThemesTab.d.ts → themes/ThemeSettings.d.ts} +2 -2
  60. package/lib/realm-settings/themes/ThemesTab.d.ts +11 -0
  61. package/lib/realm-settings/user-profile/UserProfileContext.d.ts +1 -1
  62. package/lib/realm-settings/user-profile/attribute/AddTranslationsDialog.d.ts +3 -15
  63. package/lib/realm-settings/user-profile/attribute/AttributeGeneralSettings.d.ts +1 -14
  64. package/lib/realm-settings/user-profile/attribute/TranslatableField.d.ts +22 -0
  65. package/lib/theme/login.css +94 -0
  66. package/lib/user/routes/User.d.ts +1 -1
  67. package/lib/utils/useCurrentUser.d.ts +5 -5
  68. package/lib/utils/useIsAdminPermissionsClient.d.ts +1 -0
  69. package/lib/utils/useIsFeatureEnabled.d.ts +3 -1
  70. package/package.json +45 -32
  71. package/LICENSE.txt +0 -202
  72. package/lib/DetailOrganization-DUNwCft_.js +0 -130
  73. package/lib/DetailOrganization-DUNwCft_.js.map +0 -1
  74. package/lib/FlowDetails-SHMxH_Rb.js +0 -10593
  75. package/lib/FlowDetails-SHMxH_Rb.js.map +0 -1
  76. package/lib/NewOrganization-CQAjr9Dn.js +0 -36
  77. package/lib/components/json-file-upload/patternfly/FileUpload.d.ts +0 -73
  78. package/lib/components/json-file-upload/patternfly/FileUploadField.d.ts +0 -67
  79. package/lib/components/json-file-upload/patternfly/fileUtils.d.ts +0 -12
  80. package/lib/index-6gx7hHms.js +0 -66020
  81. package/lib/index-6gx7hHms.js.map +0 -1
  82. package/lib/style.css +0 -1
  83. /package/lib/{clients/scopes → components/copy-to-clipboard-button}/CopyToClipboardButton.d.ts +0 -0
@@ -0,0 +1,342 @@
1
+ import { bJ as R, x as z } from "./index-BJcywEEJ.js";
2
+ function $(w, d) {
3
+ for (var b = 0; b < d.length; b++) {
4
+ const y = d[b];
5
+ if (typeof y != "string" && !Array.isArray(y)) {
6
+ for (const h in y)
7
+ if (h !== "default" && !(h in w)) {
8
+ const p = Object.getOwnPropertyDescriptor(y, h);
9
+ p && Object.defineProperty(w, h, p.get ? p : {
10
+ enumerable: !0,
11
+ get: () => y[h]
12
+ });
13
+ }
14
+ }
15
+ }
16
+ return Object.freeze(Object.defineProperty(w, Symbol.toStringTag, { value: "Module" }));
17
+ }
18
+ var A = { exports: {} }, U;
19
+ function X() {
20
+ return U || (U = 1, function(w, d) {
21
+ var b = typeof globalThis < "u" && globalThis || typeof self < "u" && self || typeof R < "u" && R, y = function() {
22
+ function p() {
23
+ this.fetch = !1, this.DOMException = b.DOMException;
24
+ }
25
+ return p.prototype = b, new p();
26
+ }();
27
+ (function(p) {
28
+ (function(u) {
29
+ var a = typeof p < "u" && p || typeof self < "u" && self || typeof a < "u" && a, f = {
30
+ searchParams: "URLSearchParams" in a,
31
+ iterable: "Symbol" in a && "iterator" in Symbol,
32
+ blob: "FileReader" in a && "Blob" in a && function() {
33
+ try {
34
+ return new Blob(), !0;
35
+ } catch {
36
+ return !1;
37
+ }
38
+ }(),
39
+ formData: "FormData" in a,
40
+ arrayBuffer: "ArrayBuffer" in a
41
+ };
42
+ function S(e) {
43
+ return e && DataView.prototype.isPrototypeOf(e);
44
+ }
45
+ if (f.arrayBuffer)
46
+ var F = [
47
+ "[object Int8Array]",
48
+ "[object Uint8Array]",
49
+ "[object Uint8ClampedArray]",
50
+ "[object Int16Array]",
51
+ "[object Uint16Array]",
52
+ "[object Int32Array]",
53
+ "[object Uint32Array]",
54
+ "[object Float32Array]",
55
+ "[object Float64Array]"
56
+ ], I = ArrayBuffer.isView || function(e) {
57
+ return e && F.indexOf(Object.prototype.toString.call(e)) > -1;
58
+ };
59
+ function v(e) {
60
+ if (typeof e != "string" && (e = String(e)), /[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e) || e === "")
61
+ throw new TypeError('Invalid character in header field name: "' + e + '"');
62
+ return e.toLowerCase();
63
+ }
64
+ function E(e) {
65
+ return typeof e != "string" && (e = String(e)), e;
66
+ }
67
+ function T(e) {
68
+ var t = {
69
+ next: function() {
70
+ var r = e.shift();
71
+ return { done: r === void 0, value: r };
72
+ }
73
+ };
74
+ return f.iterable && (t[Symbol.iterator] = function() {
75
+ return t;
76
+ }), t;
77
+ }
78
+ function s(e) {
79
+ this.map = {}, e instanceof s ? e.forEach(function(t, r) {
80
+ this.append(r, t);
81
+ }, this) : Array.isArray(e) ? e.forEach(function(t) {
82
+ this.append(t[0], t[1]);
83
+ }, this) : e && Object.getOwnPropertyNames(e).forEach(function(t) {
84
+ this.append(t, e[t]);
85
+ }, this);
86
+ }
87
+ s.prototype.append = function(e, t) {
88
+ e = v(e), t = E(t);
89
+ var r = this.map[e];
90
+ this.map[e] = r ? r + ", " + t : t;
91
+ }, s.prototype.delete = function(e) {
92
+ delete this.map[v(e)];
93
+ }, s.prototype.get = function(e) {
94
+ return e = v(e), this.has(e) ? this.map[e] : null;
95
+ }, s.prototype.has = function(e) {
96
+ return this.map.hasOwnProperty(v(e));
97
+ }, s.prototype.set = function(e, t) {
98
+ this.map[v(e)] = E(t);
99
+ }, s.prototype.forEach = function(e, t) {
100
+ for (var r in this.map)
101
+ this.map.hasOwnProperty(r) && e.call(t, this.map[r], r, this);
102
+ }, s.prototype.keys = function() {
103
+ var e = [];
104
+ return this.forEach(function(t, r) {
105
+ e.push(r);
106
+ }), T(e);
107
+ }, s.prototype.values = function() {
108
+ var e = [];
109
+ return this.forEach(function(t) {
110
+ e.push(t);
111
+ }), T(e);
112
+ }, s.prototype.entries = function() {
113
+ var e = [];
114
+ return this.forEach(function(t, r) {
115
+ e.push([r, t]);
116
+ }), T(e);
117
+ }, f.iterable && (s.prototype[Symbol.iterator] = s.prototype.entries);
118
+ function B(e) {
119
+ if (e.bodyUsed)
120
+ return Promise.reject(new TypeError("Already read"));
121
+ e.bodyUsed = !0;
122
+ }
123
+ function P(e) {
124
+ return new Promise(function(t, r) {
125
+ e.onload = function() {
126
+ t(e.result);
127
+ }, e.onerror = function() {
128
+ r(e.error);
129
+ };
130
+ });
131
+ }
132
+ function M(e) {
133
+ var t = new FileReader(), r = P(t);
134
+ return t.readAsArrayBuffer(e), r;
135
+ }
136
+ function q(e) {
137
+ var t = new FileReader(), r = P(t);
138
+ return t.readAsText(e), r;
139
+ }
140
+ function H(e) {
141
+ for (var t = new Uint8Array(e), r = new Array(t.length), n = 0; n < t.length; n++)
142
+ r[n] = String.fromCharCode(t[n]);
143
+ return r.join("");
144
+ }
145
+ function D(e) {
146
+ if (e.slice)
147
+ return e.slice(0);
148
+ var t = new Uint8Array(e.byteLength);
149
+ return t.set(new Uint8Array(e)), t.buffer;
150
+ }
151
+ function x() {
152
+ return this.bodyUsed = !1, this._initBody = function(e) {
153
+ this.bodyUsed = this.bodyUsed, this._bodyInit = e, e ? typeof e == "string" ? this._bodyText = e : f.blob && Blob.prototype.isPrototypeOf(e) ? this._bodyBlob = e : f.formData && FormData.prototype.isPrototypeOf(e) ? this._bodyFormData = e : f.searchParams && URLSearchParams.prototype.isPrototypeOf(e) ? this._bodyText = e.toString() : f.arrayBuffer && f.blob && S(e) ? (this._bodyArrayBuffer = D(e.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : f.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(e) || I(e)) ? this._bodyArrayBuffer = D(e) : this._bodyText = e = Object.prototype.toString.call(e) : this._bodyText = "", this.headers.get("content-type") || (typeof e == "string" ? this.headers.set("content-type", "text/plain;charset=UTF-8") : this._bodyBlob && this._bodyBlob.type ? this.headers.set("content-type", this._bodyBlob.type) : f.searchParams && URLSearchParams.prototype.isPrototypeOf(e) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8"));
154
+ }, f.blob && (this.blob = function() {
155
+ var e = B(this);
156
+ if (e)
157
+ return e;
158
+ if (this._bodyBlob)
159
+ return Promise.resolve(this._bodyBlob);
160
+ if (this._bodyArrayBuffer)
161
+ return Promise.resolve(new Blob([this._bodyArrayBuffer]));
162
+ if (this._bodyFormData)
163
+ throw new Error("could not read FormData body as blob");
164
+ return Promise.resolve(new Blob([this._bodyText]));
165
+ }, this.arrayBuffer = function() {
166
+ if (this._bodyArrayBuffer) {
167
+ var e = B(this);
168
+ return e || (ArrayBuffer.isView(this._bodyArrayBuffer) ? Promise.resolve(
169
+ this._bodyArrayBuffer.buffer.slice(
170
+ this._bodyArrayBuffer.byteOffset,
171
+ this._bodyArrayBuffer.byteOffset + this._bodyArrayBuffer.byteLength
172
+ )
173
+ ) : Promise.resolve(this._bodyArrayBuffer));
174
+ } else
175
+ return this.blob().then(M);
176
+ }), this.text = function() {
177
+ var e = B(this);
178
+ if (e)
179
+ return e;
180
+ if (this._bodyBlob)
181
+ return q(this._bodyBlob);
182
+ if (this._bodyArrayBuffer)
183
+ return Promise.resolve(H(this._bodyArrayBuffer));
184
+ if (this._bodyFormData)
185
+ throw new Error("could not read FormData body as text");
186
+ return Promise.resolve(this._bodyText);
187
+ }, f.formData && (this.formData = function() {
188
+ return this.text().then(k);
189
+ }), this.json = function() {
190
+ return this.text().then(JSON.parse);
191
+ }, this;
192
+ }
193
+ var L = ["DELETE", "GET", "HEAD", "OPTIONS", "POST", "PUT"];
194
+ function C(e) {
195
+ var t = e.toUpperCase();
196
+ return L.indexOf(t) > -1 ? t : e;
197
+ }
198
+ function m(e, t) {
199
+ if (!(this instanceof m))
200
+ throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
201
+ t = t || {};
202
+ var r = t.body;
203
+ if (e instanceof m) {
204
+ if (e.bodyUsed)
205
+ throw new TypeError("Already read");
206
+ this.url = e.url, this.credentials = e.credentials, t.headers || (this.headers = new s(e.headers)), this.method = e.method, this.mode = e.mode, this.signal = e.signal, !r && e._bodyInit != null && (r = e._bodyInit, e.bodyUsed = !0);
207
+ } else
208
+ this.url = String(e);
209
+ if (this.credentials = t.credentials || this.credentials || "same-origin", (t.headers || !this.headers) && (this.headers = new s(t.headers)), this.method = C(t.method || this.method || "GET"), this.mode = t.mode || this.mode || null, this.signal = t.signal || this.signal, this.referrer = null, (this.method === "GET" || this.method === "HEAD") && r)
210
+ throw new TypeError("Body not allowed for GET or HEAD requests");
211
+ if (this._initBody(r), (this.method === "GET" || this.method === "HEAD") && (t.cache === "no-store" || t.cache === "no-cache")) {
212
+ var n = /([?&])_=[^&]*/;
213
+ if (n.test(this.url))
214
+ this.url = this.url.replace(n, "$1_=" + (/* @__PURE__ */ new Date()).getTime());
215
+ else {
216
+ var i = /\?/;
217
+ this.url += (i.test(this.url) ? "&" : "?") + "_=" + (/* @__PURE__ */ new Date()).getTime();
218
+ }
219
+ }
220
+ }
221
+ m.prototype.clone = function() {
222
+ return new m(this, { body: this._bodyInit });
223
+ };
224
+ function k(e) {
225
+ var t = new FormData();
226
+ return e.trim().split("&").forEach(function(r) {
227
+ if (r) {
228
+ var n = r.split("="), i = n.shift().replace(/\+/g, " "), o = n.join("=").replace(/\+/g, " ");
229
+ t.append(decodeURIComponent(i), decodeURIComponent(o));
230
+ }
231
+ }), t;
232
+ }
233
+ function N(e) {
234
+ var t = new s(), r = e.replace(/\r?\n[\t ]+/g, " ");
235
+ return r.split("\r").map(function(n) {
236
+ return n.indexOf(`
237
+ `) === 0 ? n.substr(1, n.length) : n;
238
+ }).forEach(function(n) {
239
+ var i = n.split(":"), o = i.shift().trim();
240
+ if (o) {
241
+ var _ = i.join(":").trim();
242
+ t.append(o, _);
243
+ }
244
+ }), t;
245
+ }
246
+ x.call(m.prototype);
247
+ function c(e, t) {
248
+ if (!(this instanceof c))
249
+ throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
250
+ t || (t = {}), this.type = "default", this.status = t.status === void 0 ? 200 : t.status, this.ok = this.status >= 200 && this.status < 300, this.statusText = t.statusText === void 0 ? "" : "" + t.statusText, this.headers = new s(t.headers), this.url = t.url || "", this._initBody(e);
251
+ }
252
+ x.call(c.prototype), c.prototype.clone = function() {
253
+ return new c(this._bodyInit, {
254
+ status: this.status,
255
+ statusText: this.statusText,
256
+ headers: new s(this.headers),
257
+ url: this.url
258
+ });
259
+ }, c.error = function() {
260
+ var e = new c(null, { status: 0, statusText: "" });
261
+ return e.type = "error", e;
262
+ };
263
+ var G = [301, 302, 303, 307, 308];
264
+ c.redirect = function(e, t) {
265
+ if (G.indexOf(t) === -1)
266
+ throw new RangeError("Invalid status code");
267
+ return new c(null, { status: t, headers: { location: e } });
268
+ }, u.DOMException = a.DOMException;
269
+ try {
270
+ new u.DOMException();
271
+ } catch {
272
+ u.DOMException = function(t, r) {
273
+ this.message = t, this.name = r;
274
+ var n = Error(t);
275
+ this.stack = n.stack;
276
+ }, u.DOMException.prototype = Object.create(Error.prototype), u.DOMException.prototype.constructor = u.DOMException;
277
+ }
278
+ function O(e, t) {
279
+ return new Promise(function(r, n) {
280
+ var i = new m(e, t);
281
+ if (i.signal && i.signal.aborted)
282
+ return n(new u.DOMException("Aborted", "AbortError"));
283
+ var o = new XMLHttpRequest();
284
+ function _() {
285
+ o.abort();
286
+ }
287
+ o.onload = function() {
288
+ var l = {
289
+ status: o.status,
290
+ statusText: o.statusText,
291
+ headers: N(o.getAllResponseHeaders() || "")
292
+ };
293
+ l.url = "responseURL" in o ? o.responseURL : l.headers.get("X-Request-URL");
294
+ var g = "response" in o ? o.response : o.responseText;
295
+ setTimeout(function() {
296
+ r(new c(g, l));
297
+ }, 0);
298
+ }, o.onerror = function() {
299
+ setTimeout(function() {
300
+ n(new TypeError("Network request failed"));
301
+ }, 0);
302
+ }, o.ontimeout = function() {
303
+ setTimeout(function() {
304
+ n(new TypeError("Network request failed"));
305
+ }, 0);
306
+ }, o.onabort = function() {
307
+ setTimeout(function() {
308
+ n(new u.DOMException("Aborted", "AbortError"));
309
+ }, 0);
310
+ };
311
+ function V(l) {
312
+ try {
313
+ return l === "" && a.location.href ? a.location.href : l;
314
+ } catch {
315
+ return l;
316
+ }
317
+ }
318
+ o.open(i.method, V(i.url), !0), i.credentials === "include" ? o.withCredentials = !0 : i.credentials === "omit" && (o.withCredentials = !1), "responseType" in o && (f.blob ? o.responseType = "blob" : f.arrayBuffer && i.headers.get("Content-Type") && i.headers.get("Content-Type").indexOf("application/octet-stream") !== -1 && (o.responseType = "arraybuffer")), t && typeof t.headers == "object" && !(t.headers instanceof s) ? Object.getOwnPropertyNames(t.headers).forEach(function(l) {
319
+ o.setRequestHeader(l, E(t.headers[l]));
320
+ }) : i.headers.forEach(function(l, g) {
321
+ o.setRequestHeader(g, l);
322
+ }), i.signal && (i.signal.addEventListener("abort", _), o.onreadystatechange = function() {
323
+ o.readyState === 4 && i.signal.removeEventListener("abort", _);
324
+ }), o.send(typeof i._bodyInit > "u" ? null : i._bodyInit);
325
+ });
326
+ }
327
+ return O.polyfill = !0, a.fetch || (a.fetch = O, a.Headers = s, a.Request = m, a.Response = c), u.Headers = s, u.Request = m, u.Response = c, u.fetch = O, u;
328
+ })({});
329
+ })(y), y.fetch.ponyfill = !0, delete y.fetch.polyfill;
330
+ var h = b.fetch ? b : y;
331
+ d = h.fetch, d.default = h.fetch, d.fetch = h.fetch, d.Headers = h.Headers, d.Request = h.Request, d.Response = h.Response, w.exports = d;
332
+ }(A, A.exports)), A.exports;
333
+ }
334
+ var j = X();
335
+ const J = /* @__PURE__ */ z(j), Q = /* @__PURE__ */ $({
336
+ __proto__: null,
337
+ default: J
338
+ }, [j]);
339
+ export {
340
+ Q as b
341
+ };
342
+ //# sourceMappingURL=browser-ponyfill-C_ISF2Ak.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"browser-ponyfill-C_ISF2Ak.js","sources":["../../../node_modules/.pnpm/cross-fetch@4.0.0/node_modules/cross-fetch/dist/browser-ponyfill.js"],"sourcesContent":["// Save global object in a variable\nvar __global__ =\n(typeof globalThis !== 'undefined' && globalThis) ||\n(typeof self !== 'undefined' && self) ||\n(typeof global !== 'undefined' && global);\n// Create an object that extends from __global__ without the fetch function\nvar __globalThis__ = (function () {\nfunction F() {\nthis.fetch = false;\nthis.DOMException = __global__.DOMException\n}\nF.prototype = __global__; // Needed for feature detection on whatwg-fetch's code\nreturn new F();\n})();\n// Wraps whatwg-fetch with a function scope to hijack the global object\n// \"globalThis\" that's going to be patched\n(function(globalThis) {\n\nvar irrelevant = (function (exports) {\n\n var global =\n (typeof globalThis !== 'undefined' && globalThis) ||\n (typeof self !== 'undefined' && self) ||\n (typeof global !== 'undefined' && global);\n\n var support = {\n searchParams: 'URLSearchParams' in global,\n iterable: 'Symbol' in global && 'iterator' in Symbol,\n blob:\n 'FileReader' in global &&\n 'Blob' in global &&\n (function() {\n try {\n new Blob();\n return true\n } catch (e) {\n return false\n }\n })(),\n formData: 'FormData' in global,\n arrayBuffer: 'ArrayBuffer' in global\n };\n\n function isDataView(obj) {\n return obj && DataView.prototype.isPrototypeOf(obj)\n }\n\n if (support.arrayBuffer) {\n var viewClasses = [\n '[object Int8Array]',\n '[object Uint8Array]',\n '[object Uint8ClampedArray]',\n '[object Int16Array]',\n '[object Uint16Array]',\n '[object Int32Array]',\n '[object Uint32Array]',\n '[object Float32Array]',\n '[object Float64Array]'\n ];\n\n var isArrayBufferView =\n ArrayBuffer.isView ||\n function(obj) {\n return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1\n };\n }\n\n function normalizeName(name) {\n if (typeof name !== 'string') {\n name = String(name);\n }\n if (/[^a-z0-9\\-#$%&'*+.^_`|~!]/i.test(name) || name === '') {\n throw new TypeError('Invalid character in header field name: \"' + name + '\"')\n }\n return name.toLowerCase()\n }\n\n function normalizeValue(value) {\n if (typeof value !== 'string') {\n value = String(value);\n }\n return value\n }\n\n // Build a destructive iterator for the value list\n function iteratorFor(items) {\n var iterator = {\n next: function() {\n var value = items.shift();\n return {done: value === undefined, value: value}\n }\n };\n\n if (support.iterable) {\n iterator[Symbol.iterator] = function() {\n return iterator\n };\n }\n\n return iterator\n }\n\n function Headers(headers) {\n this.map = {};\n\n if (headers instanceof Headers) {\n headers.forEach(function(value, name) {\n this.append(name, value);\n }, this);\n } else if (Array.isArray(headers)) {\n headers.forEach(function(header) {\n this.append(header[0], header[1]);\n }, this);\n } else if (headers) {\n Object.getOwnPropertyNames(headers).forEach(function(name) {\n this.append(name, headers[name]);\n }, this);\n }\n }\n\n Headers.prototype.append = function(name, value) {\n name = normalizeName(name);\n value = normalizeValue(value);\n var oldValue = this.map[name];\n this.map[name] = oldValue ? oldValue + ', ' + value : value;\n };\n\n Headers.prototype['delete'] = function(name) {\n delete this.map[normalizeName(name)];\n };\n\n Headers.prototype.get = function(name) {\n name = normalizeName(name);\n return this.has(name) ? this.map[name] : null\n };\n\n Headers.prototype.has = function(name) {\n return this.map.hasOwnProperty(normalizeName(name))\n };\n\n Headers.prototype.set = function(name, value) {\n this.map[normalizeName(name)] = normalizeValue(value);\n };\n\n Headers.prototype.forEach = function(callback, thisArg) {\n for (var name in this.map) {\n if (this.map.hasOwnProperty(name)) {\n callback.call(thisArg, this.map[name], name, this);\n }\n }\n };\n\n Headers.prototype.keys = function() {\n var items = [];\n this.forEach(function(value, name) {\n items.push(name);\n });\n return iteratorFor(items)\n };\n\n Headers.prototype.values = function() {\n var items = [];\n this.forEach(function(value) {\n items.push(value);\n });\n return iteratorFor(items)\n };\n\n Headers.prototype.entries = function() {\n var items = [];\n this.forEach(function(value, name) {\n items.push([name, value]);\n });\n return iteratorFor(items)\n };\n\n if (support.iterable) {\n Headers.prototype[Symbol.iterator] = Headers.prototype.entries;\n }\n\n function consumed(body) {\n if (body.bodyUsed) {\n return Promise.reject(new TypeError('Already read'))\n }\n body.bodyUsed = true;\n }\n\n function fileReaderReady(reader) {\n return new Promise(function(resolve, reject) {\n reader.onload = function() {\n resolve(reader.result);\n };\n reader.onerror = function() {\n reject(reader.error);\n };\n })\n }\n\n function readBlobAsArrayBuffer(blob) {\n var reader = new FileReader();\n var promise = fileReaderReady(reader);\n reader.readAsArrayBuffer(blob);\n return promise\n }\n\n function readBlobAsText(blob) {\n var reader = new FileReader();\n var promise = fileReaderReady(reader);\n reader.readAsText(blob);\n return promise\n }\n\n function readArrayBufferAsText(buf) {\n var view = new Uint8Array(buf);\n var chars = new Array(view.length);\n\n for (var i = 0; i < view.length; i++) {\n chars[i] = String.fromCharCode(view[i]);\n }\n return chars.join('')\n }\n\n function bufferClone(buf) {\n if (buf.slice) {\n return buf.slice(0)\n } else {\n var view = new Uint8Array(buf.byteLength);\n view.set(new Uint8Array(buf));\n return view.buffer\n }\n }\n\n function Body() {\n this.bodyUsed = false;\n\n this._initBody = function(body) {\n /*\n fetch-mock wraps the Response object in an ES6 Proxy to\n provide useful test harness features such as flush. However, on\n ES5 browsers without fetch or Proxy support pollyfills must be used;\n the proxy-pollyfill is unable to proxy an attribute unless it exists\n on the object before the Proxy is created. This change ensures\n Response.bodyUsed exists on the instance, while maintaining the\n semantic of setting Request.bodyUsed in the constructor before\n _initBody is called.\n */\n this.bodyUsed = this.bodyUsed;\n this._bodyInit = body;\n if (!body) {\n this._bodyText = '';\n } else if (typeof body === 'string') {\n this._bodyText = body;\n } else if (support.blob && Blob.prototype.isPrototypeOf(body)) {\n this._bodyBlob = body;\n } else if (support.formData && FormData.prototype.isPrototypeOf(body)) {\n this._bodyFormData = body;\n } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n this._bodyText = body.toString();\n } else if (support.arrayBuffer && support.blob && isDataView(body)) {\n this._bodyArrayBuffer = bufferClone(body.buffer);\n // IE 10-11 can't handle a DataView body.\n this._bodyInit = new Blob([this._bodyArrayBuffer]);\n } else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) {\n this._bodyArrayBuffer = bufferClone(body);\n } else {\n this._bodyText = body = Object.prototype.toString.call(body);\n }\n\n if (!this.headers.get('content-type')) {\n if (typeof body === 'string') {\n this.headers.set('content-type', 'text/plain;charset=UTF-8');\n } else if (this._bodyBlob && this._bodyBlob.type) {\n this.headers.set('content-type', this._bodyBlob.type);\n } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n this.headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8');\n }\n }\n };\n\n if (support.blob) {\n this.blob = function() {\n var rejected = consumed(this);\n if (rejected) {\n return rejected\n }\n\n if (this._bodyBlob) {\n return Promise.resolve(this._bodyBlob)\n } else if (this._bodyArrayBuffer) {\n return Promise.resolve(new Blob([this._bodyArrayBuffer]))\n } else if (this._bodyFormData) {\n throw new Error('could not read FormData body as blob')\n } else {\n return Promise.resolve(new Blob([this._bodyText]))\n }\n };\n\n this.arrayBuffer = function() {\n if (this._bodyArrayBuffer) {\n var isConsumed = consumed(this);\n if (isConsumed) {\n return isConsumed\n }\n if (ArrayBuffer.isView(this._bodyArrayBuffer)) {\n return Promise.resolve(\n this._bodyArrayBuffer.buffer.slice(\n this._bodyArrayBuffer.byteOffset,\n this._bodyArrayBuffer.byteOffset + this._bodyArrayBuffer.byteLength\n )\n )\n } else {\n return Promise.resolve(this._bodyArrayBuffer)\n }\n } else {\n return this.blob().then(readBlobAsArrayBuffer)\n }\n };\n }\n\n this.text = function() {\n var rejected = consumed(this);\n if (rejected) {\n return rejected\n }\n\n if (this._bodyBlob) {\n return readBlobAsText(this._bodyBlob)\n } else if (this._bodyArrayBuffer) {\n return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer))\n } else if (this._bodyFormData) {\n throw new Error('could not read FormData body as text')\n } else {\n return Promise.resolve(this._bodyText)\n }\n };\n\n if (support.formData) {\n this.formData = function() {\n return this.text().then(decode)\n };\n }\n\n this.json = function() {\n return this.text().then(JSON.parse)\n };\n\n return this\n }\n\n // HTTP methods whose capitalization should be normalized\n var methods = ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT'];\n\n function normalizeMethod(method) {\n var upcased = method.toUpperCase();\n return methods.indexOf(upcased) > -1 ? upcased : method\n }\n\n function Request(input, options) {\n if (!(this instanceof Request)) {\n throw new TypeError('Please use the \"new\" operator, this DOM object constructor cannot be called as a function.')\n }\n\n options = options || {};\n var body = options.body;\n\n if (input instanceof Request) {\n if (input.bodyUsed) {\n throw new TypeError('Already read')\n }\n this.url = input.url;\n this.credentials = input.credentials;\n if (!options.headers) {\n this.headers = new Headers(input.headers);\n }\n this.method = input.method;\n this.mode = input.mode;\n this.signal = input.signal;\n if (!body && input._bodyInit != null) {\n body = input._bodyInit;\n input.bodyUsed = true;\n }\n } else {\n this.url = String(input);\n }\n\n this.credentials = options.credentials || this.credentials || 'same-origin';\n if (options.headers || !this.headers) {\n this.headers = new Headers(options.headers);\n }\n this.method = normalizeMethod(options.method || this.method || 'GET');\n this.mode = options.mode || this.mode || null;\n this.signal = options.signal || this.signal;\n this.referrer = null;\n\n if ((this.method === 'GET' || this.method === 'HEAD') && body) {\n throw new TypeError('Body not allowed for GET or HEAD requests')\n }\n this._initBody(body);\n\n if (this.method === 'GET' || this.method === 'HEAD') {\n if (options.cache === 'no-store' || options.cache === 'no-cache') {\n // Search for a '_' parameter in the query string\n var reParamSearch = /([?&])_=[^&]*/;\n if (reParamSearch.test(this.url)) {\n // If it already exists then set the value with the current time\n this.url = this.url.replace(reParamSearch, '$1_=' + new Date().getTime());\n } else {\n // Otherwise add a new '_' parameter to the end with the current time\n var reQueryString = /\\?/;\n this.url += (reQueryString.test(this.url) ? '&' : '?') + '_=' + new Date().getTime();\n }\n }\n }\n }\n\n Request.prototype.clone = function() {\n return new Request(this, {body: this._bodyInit})\n };\n\n function decode(body) {\n var form = new FormData();\n body\n .trim()\n .split('&')\n .forEach(function(bytes) {\n if (bytes) {\n var split = bytes.split('=');\n var name = split.shift().replace(/\\+/g, ' ');\n var value = split.join('=').replace(/\\+/g, ' ');\n form.append(decodeURIComponent(name), decodeURIComponent(value));\n }\n });\n return form\n }\n\n function parseHeaders(rawHeaders) {\n var headers = new Headers();\n // Replace instances of \\r\\n and \\n followed by at least one space or horizontal tab with a space\n // https://tools.ietf.org/html/rfc7230#section-3.2\n var preProcessedHeaders = rawHeaders.replace(/\\r?\\n[\\t ]+/g, ' ');\n // Avoiding split via regex to work around a common IE11 bug with the core-js 3.6.0 regex polyfill\n // https://github.com/github/fetch/issues/748\n // https://github.com/zloirock/core-js/issues/751\n preProcessedHeaders\n .split('\\r')\n .map(function(header) {\n return header.indexOf('\\n') === 0 ? header.substr(1, header.length) : header\n })\n .forEach(function(line) {\n var parts = line.split(':');\n var key = parts.shift().trim();\n if (key) {\n var value = parts.join(':').trim();\n headers.append(key, value);\n }\n });\n return headers\n }\n\n Body.call(Request.prototype);\n\n function Response(bodyInit, options) {\n if (!(this instanceof Response)) {\n throw new TypeError('Please use the \"new\" operator, this DOM object constructor cannot be called as a function.')\n }\n if (!options) {\n options = {};\n }\n\n this.type = 'default';\n this.status = options.status === undefined ? 200 : options.status;\n this.ok = this.status >= 200 && this.status < 300;\n this.statusText = options.statusText === undefined ? '' : '' + options.statusText;\n this.headers = new Headers(options.headers);\n this.url = options.url || '';\n this._initBody(bodyInit);\n }\n\n Body.call(Response.prototype);\n\n Response.prototype.clone = function() {\n return new Response(this._bodyInit, {\n status: this.status,\n statusText: this.statusText,\n headers: new Headers(this.headers),\n url: this.url\n })\n };\n\n Response.error = function() {\n var response = new Response(null, {status: 0, statusText: ''});\n response.type = 'error';\n return response\n };\n\n var redirectStatuses = [301, 302, 303, 307, 308];\n\n Response.redirect = function(url, status) {\n if (redirectStatuses.indexOf(status) === -1) {\n throw new RangeError('Invalid status code')\n }\n\n return new Response(null, {status: status, headers: {location: url}})\n };\n\n exports.DOMException = global.DOMException;\n try {\n new exports.DOMException();\n } catch (err) {\n exports.DOMException = function(message, name) {\n this.message = message;\n this.name = name;\n var error = Error(message);\n this.stack = error.stack;\n };\n exports.DOMException.prototype = Object.create(Error.prototype);\n exports.DOMException.prototype.constructor = exports.DOMException;\n }\n\n function fetch(input, init) {\n return new Promise(function(resolve, reject) {\n var request = new Request(input, init);\n\n if (request.signal && request.signal.aborted) {\n return reject(new exports.DOMException('Aborted', 'AbortError'))\n }\n\n var xhr = new XMLHttpRequest();\n\n function abortXhr() {\n xhr.abort();\n }\n\n xhr.onload = function() {\n var options = {\n status: xhr.status,\n statusText: xhr.statusText,\n headers: parseHeaders(xhr.getAllResponseHeaders() || '')\n };\n options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL');\n var body = 'response' in xhr ? xhr.response : xhr.responseText;\n setTimeout(function() {\n resolve(new Response(body, options));\n }, 0);\n };\n\n xhr.onerror = function() {\n setTimeout(function() {\n reject(new TypeError('Network request failed'));\n }, 0);\n };\n\n xhr.ontimeout = function() {\n setTimeout(function() {\n reject(new TypeError('Network request failed'));\n }, 0);\n };\n\n xhr.onabort = function() {\n setTimeout(function() {\n reject(new exports.DOMException('Aborted', 'AbortError'));\n }, 0);\n };\n\n function fixUrl(url) {\n try {\n return url === '' && global.location.href ? global.location.href : url\n } catch (e) {\n return url\n }\n }\n\n xhr.open(request.method, fixUrl(request.url), true);\n\n if (request.credentials === 'include') {\n xhr.withCredentials = true;\n } else if (request.credentials === 'omit') {\n xhr.withCredentials = false;\n }\n\n if ('responseType' in xhr) {\n if (support.blob) {\n xhr.responseType = 'blob';\n } else if (\n support.arrayBuffer &&\n request.headers.get('Content-Type') &&\n request.headers.get('Content-Type').indexOf('application/octet-stream') !== -1\n ) {\n xhr.responseType = 'arraybuffer';\n }\n }\n\n if (init && typeof init.headers === 'object' && !(init.headers instanceof Headers)) {\n Object.getOwnPropertyNames(init.headers).forEach(function(name) {\n xhr.setRequestHeader(name, normalizeValue(init.headers[name]));\n });\n } else {\n request.headers.forEach(function(value, name) {\n xhr.setRequestHeader(name, value);\n });\n }\n\n if (request.signal) {\n request.signal.addEventListener('abort', abortXhr);\n\n xhr.onreadystatechange = function() {\n // DONE (success or failure)\n if (xhr.readyState === 4) {\n request.signal.removeEventListener('abort', abortXhr);\n }\n };\n }\n\n xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit);\n })\n }\n\n fetch.polyfill = true;\n\n if (!global.fetch) {\n global.fetch = fetch;\n global.Headers = Headers;\n global.Request = Request;\n global.Response = Response;\n }\n\n exports.Headers = Headers;\n exports.Request = Request;\n exports.Response = Response;\n exports.fetch = fetch;\n\n return exports;\n\n})({});\n})(__globalThis__);\n// This is a ponyfill, so...\n__globalThis__.fetch.ponyfill = true;\ndelete __globalThis__.fetch.polyfill;\n// Choose between native implementation (__global__) or custom implementation (__globalThis__)\nvar ctx = __global__.fetch ? __global__ : __globalThis__;\nexports = ctx.fetch // To enable: import fetch from 'cross-fetch'\nexports.default = ctx.fetch // For TypeScript consumers without esModuleInterop.\nexports.fetch = ctx.fetch // To enable: import {fetch} from 'cross-fetch'\nexports.Headers = ctx.Headers\nexports.Request = ctx.Request\nexports.Response = ctx.Response\nmodule.exports = exports\n"],"names":["__global__","global","__globalThis__","F","globalThis","exports","support","isDataView","obj","viewClasses","isArrayBufferView","normalizeName","name","normalizeValue","value","iteratorFor","items","iterator","Headers","headers","header","oldValue","callback","thisArg","consumed","body","fileReaderReady","reader","resolve","reject","readBlobAsArrayBuffer","blob","promise","readBlobAsText","readArrayBufferAsText","buf","view","chars","i","bufferClone","Body","rejected","isConsumed","decode","methods","normalizeMethod","method","upcased","Request","input","options","reParamSearch","reQueryString","form","bytes","split","parseHeaders","rawHeaders","preProcessedHeaders","line","parts","key","Response","bodyInit","response","redirectStatuses","url","status","message","error","fetch","init","request","xhr","abortXhr","fixUrl","ctx","module"],"mappings":";;;;;;;;;;;;;;;;;;;;AACA,QAAIA,IACH,OAAO,aAAe,OAAe,cACrC,OAAO,OAAS,OAAe,QAC/B,OAAOC,IAAW,OAAeA,GAE9BC,IAAkB,WAAY;AAClC,eAASC,IAAI;AACb,aAAK,QAAQ,IACb,KAAK,eAAeH,EAAW;AAAA,MAC/B;AACA,aAAAG,EAAE,YAAYH,GACP,IAAIG,EAAG;AAAA,IACd,EAAI;AAGJ,KAAC,SAASC,GAAY;AAEL,OAAC,SAAUC,GAAS;AAEnC,YAAIJ,IACD,OAAOG,IAAe,OAAeA,KACrC,OAAO,OAAS,OAA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AAA,WAAmBuE,EAAI,UACvBC,EAAiB,UAAAxE;AAAA;;;;;;;","x_google_ignoreList":[0]}
@@ -1,6 +1,6 @@
1
1
  import { Path } from 'react-router-dom';
2
2
  import { AppRouteObject } from '../../routes';
3
- export type ClientScopeTab = "settings" | "mappers" | "scope";
3
+ export type ClientScopeTab = "settings" | "mappers" | "scope" | "events";
4
4
  export type ClientScopeParams = {
5
5
  realm: string;
6
6
  id: string;
@@ -4,6 +4,7 @@ export type MapperParams = {
4
4
  realm: string;
5
5
  id: string;
6
6
  mapperId: string;
7
+ viewMode: "edit" | "new";
7
8
  };
8
9
  export declare const MapperRoute: AppRouteObject;
9
10
  export declare const toMapper: (params: MapperParams) => Partial<Path>;
@@ -1,6 +1,6 @@
1
1
  import { Path } from 'react-router-dom';
2
2
  import { AppRouteObject } from '../../routes';
3
- export type ClientTab = "settings" | "keys" | "credentials" | "roles" | "clientScopes" | "advanced" | "mappers" | "authorization" | "serviceAccount" | "permissions" | "sessions" | "user-events";
3
+ export type ClientTab = "settings" | "keys" | "credentials" | "roles" | "clientScopes" | "advanced" | "mappers" | "authorization" | "serviceAccount" | "permissions" | "sessions" | "events";
4
4
  export type ClientParams = {
5
5
  realm: string;
6
6
  clientId: string;
@@ -4,6 +4,7 @@ export type MapperParams = {
4
4
  realm: string;
5
5
  id: string;
6
6
  mapperId: string;
7
+ viewMode: "edit" | "new";
7
8
  };
8
9
  export declare const MapperRoute: AppRouteObject;
9
10
  export declare const toMapper: (params: MapperParams) => Partial<Path>;
@@ -0,0 +1,2 @@
1
+ import { NumberComponentProps } from './components';
2
+ export declare const IntComponent: ({ name, label, helpText, ...props }: NumberComponentProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { NumberComponentProps } from './components';
2
+ export declare const NumberComponent: ({ name, label, helpText, ...props }: NumberComponentProps) => import("react/jsx-runtime").JSX.Element;
@@ -5,7 +5,11 @@ export type ComponentProps = Omit<ConfigPropertyRepresentation, "type"> & {
5
5
  isNew?: boolean;
6
6
  stringify?: boolean;
7
7
  };
8
- type ComponentType = "String" | "Text" | "boolean" | "List" | "Role" | "Script" | "Map" | "Group" | "MultivaluedList" | "ClientList" | "UserProfileAttributeList" | "MultivaluedString" | "File" | "Password" | "Url";
8
+ export type NumberComponentProps = ComponentProps & {
9
+ min?: number;
10
+ max?: number;
11
+ };
12
+ type ComponentType = "String" | "Text" | "Integer" | "Number" | "boolean" | "List" | "Role" | "Script" | "Map" | "Group" | "MultivaluedList" | "ClientList" | "UserProfileAttributeList" | "MultivaluedString" | "File" | "Password" | "Url";
9
13
  export declare const COMPONENTS: {
10
14
  [index in ComponentType]: FunctionComponent<ComponentProps>;
11
15
  };
@@ -1,6 +1,5 @@
1
- import { Language } from '@patternfly/react-code-editor';
1
+ import { FileUploadProps } from '@patternfly/react-core';
2
2
  import { ChangeEvent, DragEvent as ReactDragEvent, MouseEvent as ReactMouseEvent } from 'react';
3
- import { FileUploadProps } from './patternfly/FileUpload';
4
3
  export type FileUploadEvent = ReactDragEvent<HTMLElement> | ChangeEvent<HTMLTextAreaElement> | ReactMouseEvent<HTMLButtonElement, MouseEvent>;
5
4
  export type FileUploadFormProps = Omit<FileUploadProps, "onChange"> & {
6
5
  id: string;
@@ -8,6 +7,6 @@ export type FileUploadFormProps = Omit<FileUploadProps, "onChange"> & {
8
7
  onChange: (value: string) => void;
9
8
  helpText?: string;
10
9
  unWrap?: boolean;
11
- language?: Language;
10
+ language?: string;
12
11
  };
13
12
  export declare const FileUploadForm: ({ id, onChange, helpText, unWrap, language, extension, ...rest }: FileUploadFormProps) => import("react/jsx-runtime").JSX.Element;
@@ -40,7 +40,7 @@ export declare const mapRoles: (assignedRoles: Row[], effectiveRoles: Row[], hid
40
40
  parent: RoleRepresentation;
41
41
  };
42
42
  client?: ClientRepresentation;
43
- id?: string;
43
+ id: string;
44
44
  }[];
45
45
  export declare const ServiceRole: ({ role, client }: Row) => import("react/jsx-runtime").JSX.Element;
46
46
  export type ResourcesKey = keyof KeycloakAdminClient;
@@ -1,4 +1,4 @@
1
1
  import { PropsWithChildren } from 'react';
2
- export declare const RecentRealmsContext: import('js/libs/ui-shared/dist/utils/createNamedContext').NamedContext<string[] | undefined>;
2
+ export declare const RecentRealmsContext: import('libs/ui-shared/dist/utils/createNamedContext').NamedContext<string[] | undefined>;
3
3
  export declare const RecentRealmsProvider: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
4
4
  export declare const useRecentRealms: () => string[];
@@ -4,7 +4,7 @@ type AccessContextProps = {
4
4
  hasAccess: (...types: AccessType[]) => boolean;
5
5
  hasSomeAccess: (...types: AccessType[]) => boolean;
6
6
  };
7
- export declare const AccessContext: import('js/libs/ui-shared/dist/utils/createNamedContext').NamedContext<AccessContextProps | undefined>;
7
+ export declare const AccessContext: import('libs/ui-shared/dist/utils/createNamedContext').NamedContext<AccessContextProps | undefined>;
8
8
  export declare const useAccess: () => AccessContextProps;
9
9
  export declare const AccessContextProvider: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
10
10
  export {};
@@ -5,7 +5,7 @@ type RealmContextType = {
5
5
  realmRepresentation?: RealmRepresentation;
6
6
  refresh: () => void;
7
7
  };
8
- export declare const RealmContext: import('js/libs/ui-shared/dist/utils/createNamedContext').NamedContext<RealmContextType | undefined>;
8
+ export declare const RealmContext: import('libs/ui-shared/dist/utils/createNamedContext').NamedContext<RealmContextType | undefined>;
9
9
  export declare const RealmContextProvider: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
10
10
  export declare const useRealm: () => RealmContextType;
11
11
  export {};
@@ -1,6 +1,6 @@
1
1
  import { ServerInfoRepresentation } from '@keycloak/keycloak-admin-client/lib/defs/serverInfoRepesentation';
2
2
  import { PropsWithChildren } from 'react';
3
- export declare const ServerInfoContext: import('js/libs/ui-shared/dist/utils/createNamedContext').NamedContext<ServerInfoRepresentation | undefined>;
3
+ export declare const ServerInfoContext: import('libs/ui-shared/dist/utils/createNamedContext').NamedContext<ServerInfoRepresentation | undefined>;
4
4
  export declare const useServerInfo: () => ServerInfoRepresentation;
5
5
  export declare const useLoginProviders: () => string[];
6
6
  export declare const ServerInfoProvider: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
@@ -18,7 +18,7 @@ type WhoAmIProps = {
18
18
  refresh: () => void;
19
19
  whoAmI: WhoAmI;
20
20
  };
21
- export declare const WhoAmIContext: import('js/libs/ui-shared/dist/utils/createNamedContext').NamedContext<WhoAmIProps | undefined>;
21
+ export declare const WhoAmIContext: import('libs/ui-shared/dist/utils/createNamedContext').NamedContext<WhoAmIProps | undefined>;
22
22
  export declare const useWhoAmI: () => WhoAmIProps;
23
23
  export declare const WhoAmIContextProvider: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
24
24
  export {};
@@ -1 +1,5 @@
1
- export declare const AdminEvents: () => import("react/jsx-runtime").JSX.Element;
1
+ type AdminEventsProps = {
2
+ resourcePath?: string;
3
+ };
4
+ export declare const AdminEvents: ({ resourcePath }: AdminEventsProps) => import("react/jsx-runtime").JSX.Element;
5
+ export {};
@@ -0,0 +1,7 @@
1
+ import { default as UserRepresentation } from '@keycloak/keycloak-admin-client/lib/defs/userRepresentation';
2
+ type CredentialDataDialogProps = {
3
+ user: UserRepresentation;
4
+ onClose: () => void;
5
+ };
6
+ export declare const MembershipsModal: ({ user, onClose, }: CredentialDataDialogProps) => import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -1,6 +1,6 @@
1
1
  import { Path } from 'react-router-dom';
2
2
  import { AppRouteObject } from '../../routes';
3
- export type IdentityProviderTab = "settings" | "mappers" | "permissions";
3
+ export type IdentityProviderTab = "settings" | "mappers" | "permissions" | "events";
4
4
  export type IdentityProviderParams = {
5
5
  realm: string;
6
6
  providerId: string;