@keycloak/keycloak-admin-ui 26.0.0 → 26.0.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.
- package/lib/.vite/manifest.json +19 -19
- package/lib/{CreateFlow-Cs5xTx-G.js → CreateFlow-BQCSKFOC.js} +2 -2
- package/lib/{CreateFlow-Cs5xTx-G.js.map → CreateFlow-BQCSKFOC.js.map} +1 -1
- package/lib/{DetailOrganization-qj8m2QUy.js → DetailOrganization-DyGTFEpp.js} +2 -2
- package/lib/{DetailOrganization-qj8m2QUy.js.map → DetailOrganization-DyGTFEpp.js.map} +1 -1
- package/lib/{ExecutorForm-DwNxoZuZ.js → ExecutorForm-dE37btk9.js} +2 -2
- package/lib/{ExecutorForm-DwNxoZuZ.js.map → ExecutorForm-dE37btk9.js.map} +1 -1
- package/lib/{FlowDetails-BMYNGuYV.js → FlowDetails-C2dDqPeT.js} +2 -2
- package/lib/{FlowDetails-BMYNGuYV.js.map → FlowDetails-C2dDqPeT.js.map} +1 -1
- package/lib/{NewOrganization-FsgFNfEd.js → NewOrganization-DHtF_HFw.js} +2 -2
- package/lib/{NewOrganization-FsgFNfEd.js.map → NewOrganization-DHtF_HFw.js.map} +1 -1
- package/lib/{PermissionDetails-9Ej9jFpb.js → PermissionDetails-DaShra5J.js} +2 -2
- package/lib/{PermissionDetails-9Ej9jFpb.js.map → PermissionDetails-DaShra5J.js.map} +1 -1
- package/lib/{ResourceDetails-apuGPq7h.js → ResourceDetails-DvYaB4OJ.js} +2 -2
- package/lib/{ResourceDetails-apuGPq7h.js.map → ResourceDetails-DvYaB4OJ.js.map} +1 -1
- package/lib/{ScopeDetails-CxuBwUaZ.js → ScopeDetails-jptDKENB.js} +2 -2
- package/lib/{ScopeDetails-CxuBwUaZ.js.map → ScopeDetails-jptDKENB.js.map} +1 -1
- package/lib/{index-DXWy23Yd.js → index-CLNtR4RP.js} +50 -53
- package/lib/{index-DXWy23Yd.js.map → index-CLNtR4RP.js.map} +1 -1
- package/lib/keycloak-admin-ui.js +1 -1
- package/package.json +4 -4
@@ -15227,42 +15227,39 @@ function cw(e) {
|
|
15227
15227
|
Continuing to run your application insecurely will lead to unexpected behavior and breakage.
|
15228
15228
|
|
15229
15229
|
For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts`
|
15230
|
-
), t.init = function(D) {
|
15230
|
+
), t.init = function(D = {}) {
|
15231
15231
|
if (t.didInitialize)
|
15232
15232
|
throw new Error("A 'Keycloak' instance can only be initialized once.");
|
15233
15233
|
t.didInitialize = !0, t.authenticated = !1, i = V();
|
15234
15234
|
var F = ["default", "cordova", "cordova-native"];
|
15235
|
-
if (
|
15236
|
-
if (
|
15237
|
-
|
15238
|
-
|
15239
|
-
|
15240
|
-
|
15241
|
-
|
15242
|
-
|
15243
|
-
|
15244
|
-
|
15245
|
-
|
15246
|
-
|
15247
|
-
|
15248
|
-
|
15249
|
-
|
15250
|
-
|
15251
|
-
|
15252
|
-
|
15253
|
-
throw "Invalid value for flow";
|
15254
|
-
}
|
15255
|
-
t.flow = D.flow;
|
15235
|
+
if (F.indexOf(D.adapter) > -1 ? n = $(D.adapter) : typeof D.adapter == "object" ? n = D.adapter : window.Cordova || window.cordova ? n = $("cordova") : n = $(), typeof D.useNonce < "u" && (o = D.useNonce), typeof D.checkLoginIframe < "u" && (s.enable = D.checkLoginIframe), D.checkLoginIframeInterval && (s.interval = D.checkLoginIframeInterval), D.onLoad === "login-required" && (t.loginRequired = !0), D.responseMode)
|
15236
|
+
if (D.responseMode === "query" || D.responseMode === "fragment")
|
15237
|
+
t.responseMode = D.responseMode;
|
15238
|
+
else
|
15239
|
+
throw "Invalid value for responseMode";
|
15240
|
+
if (D.flow) {
|
15241
|
+
switch (D.flow) {
|
15242
|
+
case "standard":
|
15243
|
+
t.responseType = "code";
|
15244
|
+
break;
|
15245
|
+
case "implicit":
|
15246
|
+
t.responseType = "id_token token";
|
15247
|
+
break;
|
15248
|
+
case "hybrid":
|
15249
|
+
t.responseType = "code id_token token";
|
15250
|
+
break;
|
15251
|
+
default:
|
15252
|
+
throw "Invalid value for flow";
|
15256
15253
|
}
|
15257
|
-
|
15258
|
-
if (D.pkceMethod !== "S256" && D.pkceMethod !== !1)
|
15259
|
-
throw new TypeError(`Invalid value for pkceMethod', expected 'S256' or false but got ${D.pkceMethod}.`);
|
15260
|
-
t.pkceMethod = D.pkceMethod;
|
15261
|
-
} else
|
15262
|
-
t.pkceMethod = "S256";
|
15263
|
-
typeof D.enableLogging == "boolean" ? t.enableLogging = D.enableLogging : t.enableLogging = !1, D.logoutMethod === "POST" ? t.logoutMethod = "POST" : t.logoutMethod = "GET", typeof D.scope == "string" && (t.scope = D.scope), typeof D.acrValues == "string" && (t.acrValues = D.acrValues), typeof D.messageReceiveTimeout == "number" && D.messageReceiveTimeout > 0 ? t.messageReceiveTimeout = D.messageReceiveTimeout : t.messageReceiveTimeout = 1e4;
|
15254
|
+
t.flow = D.flow;
|
15264
15255
|
}
|
15265
|
-
|
15256
|
+
if (D.timeSkew != null && (t.timeSkew = D.timeSkew), D.redirectUri && (t.redirectUri = D.redirectUri), D.silentCheckSsoRedirectUri && (t.silentCheckSsoRedirectUri = D.silentCheckSsoRedirectUri), typeof D.silentCheckSsoFallback == "boolean" ? t.silentCheckSsoFallback = D.silentCheckSsoFallback : t.silentCheckSsoFallback = !0, typeof D.pkceMethod < "u") {
|
15257
|
+
if (D.pkceMethod !== "S256" && D.pkceMethod !== !1)
|
15258
|
+
throw new TypeError(`Invalid value for pkceMethod', expected 'S256' or false but got ${D.pkceMethod}.`);
|
15259
|
+
t.pkceMethod = D.pkceMethod;
|
15260
|
+
} else
|
15261
|
+
t.pkceMethod = "S256";
|
15262
|
+
typeof D.enableLogging == "boolean" ? t.enableLogging = D.enableLogging : t.enableLogging = !1, D.logoutMethod === "POST" ? t.logoutMethod = "POST" : t.logoutMethod = "GET", typeof D.scope == "string" && (t.scope = D.scope), typeof D.acrValues == "string" && (t.acrValues = D.acrValues), typeof D.messageReceiveTimeout == "number" && D.messageReceiveTimeout > 0 ? t.messageReceiveTimeout = D.messageReceiveTimeout : t.messageReceiveTimeout = 1e4, t.responseMode || (t.responseMode = "fragment"), t.responseType || (t.responseType = "code", t.flow = "standard");
|
15266
15263
|
var U = T(), G = T();
|
15267
15264
|
G.promise.then(function() {
|
15268
15265
|
t.onReady && t.onReady(t.authenticated), U.setSuccess(t.authenticated);
|
@@ -15272,7 +15269,7 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
|
|
15272
15269
|
var B = y();
|
15273
15270
|
function H() {
|
15274
15271
|
var Z = function(ue) {
|
15275
|
-
ue || (oe.prompt = "none"), D
|
15272
|
+
ue || (oe.prompt = "none"), D.locale && (oe.locale = D.locale), t.login(oe).then(function() {
|
15276
15273
|
G.setSuccess();
|
15277
15274
|
}).catch(function(ee) {
|
15278
15275
|
G.setError(ee);
|
@@ -15313,7 +15310,7 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
|
|
15313
15310
|
}).catch(function(te) {
|
15314
15311
|
G.setError(te);
|
15315
15312
|
});
|
15316
|
-
D
|
15313
|
+
D.token && D.refreshToken ? (S(D.token, D.refreshToken, D.idToken), s.enable ? E().then(function() {
|
15317
15314
|
I().then(function(te) {
|
15318
15315
|
te ? (t.onAuthSuccess && t.onAuthSuccess(), G.setSuccess(), _()) : G.setSuccess();
|
15319
15316
|
}).catch(function(te) {
|
@@ -15323,7 +15320,7 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
|
|
15323
15320
|
t.onAuthSuccess && t.onAuthSuccess(), G.setSuccess();
|
15324
15321
|
}).catch(function(te) {
|
15325
15322
|
t.onAuthError && t.onAuthError(), D.onLoad ? H() : G.setError(te);
|
15326
|
-
})) : D.onLoad ? H() : G.setSuccess()
|
15323
|
+
})) : D.onLoad ? H() : G.setSuccess();
|
15327
15324
|
}
|
15328
15325
|
return B.then(function() {
|
15329
15326
|
N().then(W).catch(function(Z) {
|
@@ -15775,8 +15772,8 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
|
|
15775
15772
|
}
|
15776
15773
|
throw new Error("Logout failed, request returned an error code.");
|
15777
15774
|
},
|
15778
|
-
register: function(W) {
|
15779
|
-
return window.location.assign(t.createRegisterUrl(W)), T().promise;
|
15775
|
+
register: async function(W) {
|
15776
|
+
return window.location.assign(await t.createRegisterUrl(W)), T().promise;
|
15780
15777
|
},
|
15781
15778
|
accountManagement: function() {
|
15782
15779
|
var W = t.createAccountUrl();
|
@@ -15841,8 +15838,8 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
|
|
15841
15838
|
ue ? Z.setError() : (t.clearToken(), Z.setSuccess());
|
15842
15839
|
}), Z.promise;
|
15843
15840
|
},
|
15844
|
-
register: function(W) {
|
15845
|
-
var Z = T(), te = t.createRegisterUrl(), oe = B(W), ue = F(te, "_blank", oe);
|
15841
|
+
register: async function(W) {
|
15842
|
+
var Z = T(), te = await t.createRegisterUrl(), oe = B(W), ue = F(te, "_blank", oe);
|
15846
15843
|
return ue.addEventListener("loadstart", function(ee) {
|
15847
15844
|
if (ee.url.indexOf(H()) == 0) {
|
15848
15845
|
ue.close();
|
@@ -15882,8 +15879,8 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
|
|
15882
15879
|
universalLinks.unsubscribe("keycloak"), window.cordova.plugins.browsertab.close(), t.clearToken(), Z.setSuccess();
|
15883
15880
|
}), window.cordova.plugins.browsertab.openUrl(te), Z.promise;
|
15884
15881
|
},
|
15885
|
-
register: function(W) {
|
15886
|
-
var Z = T(), te = t.createRegisterUrl(W);
|
15882
|
+
register: async function(W) {
|
15883
|
+
var Z = T(), te = await t.createRegisterUrl(W);
|
15887
15884
|
return universalLinks.subscribe("keycloak", function(oe) {
|
15888
15885
|
universalLinks.unsubscribe("keycloak"), window.cordova.plugins.browsertab.close();
|
15889
15886
|
var ue = w(oe.url);
|
@@ -22037,7 +22034,7 @@ function _e(e, t, n) {
|
|
22037
22034
|
const { showBoundary: r } = cO();
|
22038
22035
|
ze(() => {
|
22039
22036
|
const i = new AbortController(), { signal: s } = i;
|
22040
|
-
return e().then((o) => {
|
22037
|
+
return r(), e().then((o) => {
|
22041
22038
|
s.aborted || t(o);
|
22042
22039
|
}).catch((o) => {
|
22043
22040
|
console.error(o), s.aborted || r(o);
|
@@ -28116,7 +28113,7 @@ const Un = ({
|
|
28116
28113
|
}
|
28117
28114
|
)
|
28118
28115
|
] });
|
28119
|
-
}, qH = je(() => import("./FlowDetails-
|
28116
|
+
}, qH = je(() => import("./FlowDetails-C2dDqPeT.js")), Dg = {
|
28120
28117
|
path: "/:realm/authentication/:id/:usedBy",
|
28121
28118
|
element: /* @__PURE__ */ a(qH, {}),
|
28122
28119
|
breadcrumb: (e) => e("flowDetails"),
|
@@ -29774,7 +29771,7 @@ const UC = ({ onSelect: e, selectedPolicies: t }) => {
|
|
29774
29771
|
return {
|
29775
29772
|
pathname: We(t, e)
|
29776
29773
|
};
|
29777
|
-
}, bz = je(() => import("./CreateFlow-
|
29774
|
+
}, bz = je(() => import("./CreateFlow-BQCSKFOC.js")), QO = {
|
29778
29775
|
path: "/:realm/authentication/flows/create",
|
29779
29776
|
element: /* @__PURE__ */ a(bz, {}),
|
29780
29777
|
breadcrumb: (e) => e("createFlow"),
|
@@ -34340,7 +34337,7 @@ const oq = ({
|
|
34340
34337
|
] })
|
34341
34338
|
] });
|
34342
34339
|
}, mq = je(
|
34343
|
-
() => import("./PermissionDetails-
|
34340
|
+
() => import("./PermissionDetails-DaShra5J.js")
|
34344
34341
|
), Gg = {
|
34345
34342
|
path: "/:realm/clients/:id/authorization/permission/new/:permissionType",
|
34346
34343
|
element: /* @__PURE__ */ a(mq, {}),
|
@@ -34356,7 +34353,7 @@ const oq = ({
|
|
34356
34353
|
return {
|
34357
34354
|
pathname: We(t, e)
|
34358
34355
|
};
|
34359
|
-
}, fq = je(() => import("./ResourceDetails-
|
34356
|
+
}, fq = je(() => import("./ResourceDetails-DvYaB4OJ.js")), Ok = {
|
34360
34357
|
path: "/:realm/clients/:id/authorization/resource/new",
|
34361
34358
|
element: /* @__PURE__ */ a(fq, {}),
|
34362
34359
|
breadcrumb: (e) => e("createResource"),
|
@@ -34365,7 +34362,7 @@ const oq = ({
|
|
34365
34362
|
}
|
34366
34363
|
}, YC = (e) => ({
|
34367
34364
|
pathname: We(Ok.path, e)
|
34368
|
-
}), hq = je(() => import("./ResourceDetails-
|
34365
|
+
}), hq = je(() => import("./ResourceDetails-DvYaB4OJ.js")), Wg = {
|
34369
34366
|
path: "/:realm/clients/:id/authorization/resource",
|
34370
34367
|
element: /* @__PURE__ */ a(hq, {}),
|
34371
34368
|
breadcrumb: (e) => e("resourceDetails"),
|
@@ -34385,7 +34382,7 @@ const oq = ({
|
|
34385
34382
|
pathname: We(t, e)
|
34386
34383
|
};
|
34387
34384
|
}, gq = je(
|
34388
|
-
() => import("./PermissionDetails-
|
34385
|
+
() => import("./PermissionDetails-DaShra5J.js")
|
34389
34386
|
), Tk = {
|
34390
34387
|
path: "/:realm/clients/:id/authorization/permission/:permissionType/:permissionId",
|
34391
34388
|
element: /* @__PURE__ */ a(gq, {}),
|
@@ -34399,7 +34396,7 @@ const oq = ({
|
|
34399
34396
|
}
|
34400
34397
|
}, Bs = (e) => ({
|
34401
34398
|
pathname: We(Tk.path, e)
|
34402
|
-
}), bq = je(() => import("./ScopeDetails-
|
34399
|
+
}), bq = je(() => import("./ScopeDetails-jptDKENB.js")), Yg = {
|
34403
34400
|
path: "/:realm/clients/:id/authorization/scope",
|
34404
34401
|
element: /* @__PURE__ */ a(bq, {}),
|
34405
34402
|
breadcrumb: (e) => e("authorizationScopeDetails"),
|
@@ -34799,7 +34796,7 @@ const yq = ({ id: e, clientId: t, uris: n }) => {
|
|
34799
34796
|
}
|
34800
34797
|
)
|
34801
34798
|
] });
|
34802
|
-
}, Sq = je(() => import("./ScopeDetails-
|
34799
|
+
}, Sq = je(() => import("./ScopeDetails-jptDKENB.js")), Pk = {
|
34803
34800
|
path: "/:realm/clients/:id/authorization/scope/new",
|
34804
34801
|
element: /* @__PURE__ */ a(Sq, {}),
|
34805
34802
|
breadcrumb: (e) => e("createAuthorizationScope"),
|
@@ -42992,7 +42989,7 @@ const JW = ({ children: e }) => {
|
|
42992
42989
|
cX,
|
42993
42990
|
fT,
|
42994
42991
|
cT
|
42995
|
-
], yX = je(() => import("./NewOrganization-
|
42992
|
+
], yX = je(() => import("./NewOrganization-DHtF_HFw.js")), hT = {
|
42996
42993
|
path: "/:realm/organizations/new",
|
42997
42994
|
element: /* @__PURE__ */ a(yX, {}),
|
42998
42995
|
breadcrumb: (e) => e("createOrganization"),
|
@@ -43001,7 +42998,7 @@ const JW = ({ children: e }) => {
|
|
43001
42998
|
}
|
43002
42999
|
}, yx = (e) => ({
|
43003
43000
|
pathname: We(hT.path, e)
|
43004
|
-
}), CX = je(() => import("./DetailOrganization-
|
43001
|
+
}), CX = je(() => import("./DetailOrganization-DyGTFEpp.js")), gT = {
|
43005
43002
|
path: "/:realm/organizations/:id/:tab",
|
43006
43003
|
element: /* @__PURE__ */ a(CX, {}),
|
43007
43004
|
breadcrumb: (e) => e("organizationDetails"),
|
@@ -43095,7 +43092,7 @@ const JW = ({ children: e }) => {
|
|
43095
43092
|
}
|
43096
43093
|
}, Du = (e) => ({
|
43097
43094
|
pathname: We(wT.path, e)
|
43098
|
-
}), DX = je(() => import("./ExecutorForm-
|
43095
|
+
}), DX = je(() => import("./ExecutorForm-dE37btk9.js")), OT = {
|
43099
43096
|
path: "/:realm/realm-settings/client-policies/:profileName/add-executor",
|
43100
43097
|
element: /* @__PURE__ */ a(DX, {}),
|
43101
43098
|
breadcrumb: (e) => e("addExecutor"),
|
@@ -43104,7 +43101,7 @@ const JW = ({ children: e }) => {
|
|
43104
43101
|
}
|
43105
43102
|
}, MX = (e) => ({
|
43106
43103
|
pathname: We(OT.path, e)
|
43107
|
-
}), FX = je(() => import("./ExecutorForm-
|
43104
|
+
}), FX = je(() => import("./ExecutorForm-dE37btk9.js")), kT = {
|
43108
43105
|
path: "/:realm/realm-settings/client-policies/:profileName/edit-profile/:executorName",
|
43109
43106
|
element: /* @__PURE__ */ a(FX, {}),
|
43110
43107
|
breadcrumb: (e) => e("executorDetails"),
|
@@ -65732,4 +65729,4 @@ export {
|
|
65732
65729
|
$1 as y,
|
65733
65730
|
Dj as z
|
65734
65731
|
};
|
65735
|
-
//# sourceMappingURL=index-
|
65732
|
+
//# sourceMappingURL=index-CLNtR4RP.js.map
|