@keycloak/keycloak-admin-ui 26.8.0 → 26.8.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 +44 -44
- package/lib/{AddDefaultTrust-0TzkSSVz.js → AddDefaultTrust-CmFBoVLh.js} +2 -2
- package/lib/{AddDefaultTrust-0TzkSSVz.js.map → AddDefaultTrust-CmFBoVLh.js.map} +1 -1
- package/lib/{AddJWTAuthorizationGrant-BBVNGscZ.js → AddJWTAuthorizationGrant-10wBuQUL.js} +2 -2
- package/lib/{AddJWTAuthorizationGrant-BBVNGscZ.js.map → AddJWTAuthorizationGrant-10wBuQUL.js.map} +1 -1
- package/lib/{AddKubernetesConnect-D_HJWqhs.js → AddKubernetesConnect-CcEeza2C.js} +2 -2
- package/lib/{AddKubernetesConnect-D_HJWqhs.js.map → AddKubernetesConnect-CcEeza2C.js.map} +1 -1
- package/lib/{AddOAuth2-BiNgjhyO.js → AddOAuth2-BBzSU5dK.js} +2 -2
- package/lib/{AddOAuth2-BiNgjhyO.js.map → AddOAuth2-BBzSU5dK.js.map} +1 -1
- package/lib/{AddOid4Vp-gKawBcrP.js → AddOid4Vp-bpNno26D.js} +2 -2
- package/lib/{AddOid4Vp-gKawBcrP.js.map → AddOid4Vp-bpNno26D.js.map} +1 -1
- package/lib/{AddSpiffeConnect-BmHbvLbU.js → AddSpiffeConnect-DDjtR--d.js} +2 -2
- package/lib/{AddSpiffeConnect-BmHbvLbU.js.map → AddSpiffeConnect-DDjtR--d.js.map} +1 -1
- package/lib/{CreateFlow-9Jjjw5b9.js → CreateFlow-BE5SrsQ8.js} +2 -2
- package/lib/{CreateFlow-9Jjjw5b9.js.map → CreateFlow-BE5SrsQ8.js.map} +1 -1
- package/lib/{DetailOrganization-DZcO3bbq.js → DetailOrganization-Bu32j7ib.js} +2 -2
- package/lib/{DetailOrganization-DZcO3bbq.js.map → DetailOrganization-Bu32j7ib.js.map} +1 -1
- package/lib/{ExecutorForm-BrHBEQVA.js → ExecutorForm-Dh_cpjdf.js} +2 -2
- package/lib/{ExecutorForm-BrHBEQVA.js.map → ExecutorForm-Dh_cpjdf.js.map} +1 -1
- package/lib/{FlowDetails-FqkRF9Fk.js → FlowDetails-CFTkvTDA.js} +2 -2
- package/lib/{FlowDetails-FqkRF9Fk.js.map → FlowDetails-CFTkvTDA.js.map} +1 -1
- package/lib/{NewOrganization-mwmhTgBv.js → NewOrganization-D_Mml2TC.js} +2 -2
- package/lib/{NewOrganization-mwmhTgBv.js.map → NewOrganization-D_Mml2TC.js.map} +1 -1
- package/lib/{PermissionConfigurationDetails-BWUvLMh4.js → PermissionConfigurationDetails-n1d3Hq-O.js} +3 -3
- package/lib/{PermissionConfigurationDetails-BWUvLMh4.js.map → PermissionConfigurationDetails-n1d3Hq-O.js.map} +1 -1
- package/lib/{PermissionDetails-BkVFczt9.js → PermissionDetails-DL0juJDV.js} +2 -2
- package/lib/{PermissionDetails-BkVFczt9.js.map → PermissionDetails-DL0juJDV.js.map} +1 -1
- package/lib/{RealmSection-DJ8T80Z6.js → RealmSection-CQax8V1F.js} +2 -2
- package/lib/{RealmSection-DJ8T80Z6.js.map → RealmSection-CQax8V1F.js.map} +1 -1
- package/lib/{ResourceDetails-Cyb5CmVt.js → ResourceDetails-D_029Hz8.js} +3 -3
- package/lib/{ResourceDetails-Cyb5CmVt.js.map → ResourceDetails-D_029Hz8.js.map} +1 -1
- package/lib/{ScopeDetails-BV7h3hMw.js → ScopeDetails-BUCey3vn.js} +2 -2
- package/lib/{ScopeDetails-BV7h3hMw.js.map → ScopeDetails-BUCey3vn.js.map} +1 -1
- package/lib/{ScopePicker-USX1qW3k.js → ScopePicker-lTpi2ES9.js} +2 -2
- package/lib/{ScopePicker-USX1qW3k.js.map → ScopePicker-lTpi2ES9.js.map} +1 -1
- package/lib/{WorkflowDetailForm-BDIXzgoJ.js → WorkflowDetailForm-BeobAJDg.js} +2 -2
- package/lib/{WorkflowDetailForm-BDIXzgoJ.js.map → WorkflowDetailForm-BeobAJDg.js.map} +1 -1
- package/lib/{WorkflowsSection-Htg3cqfo.js → WorkflowsSection-ZFKvDu9e.js} +2 -2
- package/lib/{WorkflowsSection-Htg3cqfo.js.map → WorkflowsSection-ZFKvDu9e.js.map} +1 -1
- package/lib/{index-DsIT2BLV.js → index-DAVLcnp3.js} +8743 -8711
- package/lib/{index-DsIT2BLV.js.map → index-DAVLcnp3.js.map} +1 -1
- package/lib/keycloak-admin-ui.js +1 -1
- package/package.json +3 -3
package/lib/.vite/manifest.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_ScopePicker-
|
|
3
|
-
"file": "ScopePicker-
|
|
2
|
+
"_ScopePicker-lTpi2ES9.js": {
|
|
3
|
+
"file": "ScopePicker-lTpi2ES9.js",
|
|
4
4
|
"name": "ScopePicker",
|
|
5
5
|
"imports": [
|
|
6
|
-
"_index-
|
|
6
|
+
"_index-DAVLcnp3.js"
|
|
7
7
|
]
|
|
8
8
|
},
|
|
9
|
-
"_index-
|
|
10
|
-
"file": "index-
|
|
9
|
+
"_index-DAVLcnp3.js": {
|
|
10
|
+
"file": "index-DAVLcnp3.js",
|
|
11
11
|
"name": "index",
|
|
12
12
|
"dynamicImports": [
|
|
13
13
|
"src/authentication/FlowDetails.tsx",
|
|
@@ -36,103 +36,103 @@
|
|
|
36
36
|
]
|
|
37
37
|
},
|
|
38
38
|
"src/authentication/FlowDetails.tsx": {
|
|
39
|
-
"file": "FlowDetails-
|
|
39
|
+
"file": "FlowDetails-CFTkvTDA.js",
|
|
40
40
|
"name": "FlowDetails",
|
|
41
41
|
"src": "src/authentication/FlowDetails.tsx",
|
|
42
42
|
"isDynamicEntry": true,
|
|
43
43
|
"imports": [
|
|
44
|
-
"_index-
|
|
44
|
+
"_index-DAVLcnp3.js"
|
|
45
45
|
]
|
|
46
46
|
},
|
|
47
47
|
"src/authentication/form/CreateFlow.tsx": {
|
|
48
|
-
"file": "CreateFlow-
|
|
48
|
+
"file": "CreateFlow-BE5SrsQ8.js",
|
|
49
49
|
"name": "CreateFlow",
|
|
50
50
|
"src": "src/authentication/form/CreateFlow.tsx",
|
|
51
51
|
"isDynamicEntry": true,
|
|
52
52
|
"imports": [
|
|
53
|
-
"_index-
|
|
53
|
+
"_index-DAVLcnp3.js"
|
|
54
54
|
]
|
|
55
55
|
},
|
|
56
56
|
"src/clients/authorization/PermissionDetails.tsx": {
|
|
57
|
-
"file": "PermissionDetails-
|
|
57
|
+
"file": "PermissionDetails-DL0juJDV.js",
|
|
58
58
|
"name": "PermissionDetails",
|
|
59
59
|
"src": "src/clients/authorization/PermissionDetails.tsx",
|
|
60
60
|
"isDynamicEntry": true,
|
|
61
61
|
"imports": [
|
|
62
|
-
"_index-
|
|
62
|
+
"_index-DAVLcnp3.js"
|
|
63
63
|
]
|
|
64
64
|
},
|
|
65
65
|
"src/clients/authorization/ResourceDetails.tsx": {
|
|
66
|
-
"file": "ResourceDetails-
|
|
66
|
+
"file": "ResourceDetails-D_029Hz8.js",
|
|
67
67
|
"name": "ResourceDetails",
|
|
68
68
|
"src": "src/clients/authorization/ResourceDetails.tsx",
|
|
69
69
|
"isDynamicEntry": true,
|
|
70
70
|
"imports": [
|
|
71
|
-
"_index-
|
|
72
|
-
"_ScopePicker-
|
|
71
|
+
"_index-DAVLcnp3.js",
|
|
72
|
+
"_ScopePicker-lTpi2ES9.js"
|
|
73
73
|
]
|
|
74
74
|
},
|
|
75
75
|
"src/clients/authorization/ScopeDetails.tsx": {
|
|
76
|
-
"file": "ScopeDetails-
|
|
76
|
+
"file": "ScopeDetails-BUCey3vn.js",
|
|
77
77
|
"name": "ScopeDetails",
|
|
78
78
|
"src": "src/clients/authorization/ScopeDetails.tsx",
|
|
79
79
|
"isDynamicEntry": true,
|
|
80
80
|
"imports": [
|
|
81
|
-
"_index-
|
|
81
|
+
"_index-DAVLcnp3.js"
|
|
82
82
|
]
|
|
83
83
|
},
|
|
84
84
|
"src/identity-providers/add/AddDefaultTrust.tsx": {
|
|
85
|
-
"file": "AddDefaultTrust-
|
|
85
|
+
"file": "AddDefaultTrust-CmFBoVLh.js",
|
|
86
86
|
"name": "AddDefaultTrust",
|
|
87
87
|
"src": "src/identity-providers/add/AddDefaultTrust.tsx",
|
|
88
88
|
"isDynamicEntry": true,
|
|
89
89
|
"imports": [
|
|
90
|
-
"_index-
|
|
90
|
+
"_index-DAVLcnp3.js"
|
|
91
91
|
]
|
|
92
92
|
},
|
|
93
93
|
"src/identity-providers/add/AddJWTAuthorizationGrant.tsx": {
|
|
94
|
-
"file": "AddJWTAuthorizationGrant-
|
|
94
|
+
"file": "AddJWTAuthorizationGrant-10wBuQUL.js",
|
|
95
95
|
"name": "AddJWTAuthorizationGrant",
|
|
96
96
|
"src": "src/identity-providers/add/AddJWTAuthorizationGrant.tsx",
|
|
97
97
|
"isDynamicEntry": true,
|
|
98
98
|
"imports": [
|
|
99
|
-
"_index-
|
|
99
|
+
"_index-DAVLcnp3.js"
|
|
100
100
|
]
|
|
101
101
|
},
|
|
102
102
|
"src/identity-providers/add/AddKubernetesConnect.tsx": {
|
|
103
|
-
"file": "AddKubernetesConnect-
|
|
103
|
+
"file": "AddKubernetesConnect-CcEeza2C.js",
|
|
104
104
|
"name": "AddKubernetesConnect",
|
|
105
105
|
"src": "src/identity-providers/add/AddKubernetesConnect.tsx",
|
|
106
106
|
"isDynamicEntry": true,
|
|
107
107
|
"imports": [
|
|
108
|
-
"_index-
|
|
108
|
+
"_index-DAVLcnp3.js"
|
|
109
109
|
]
|
|
110
110
|
},
|
|
111
111
|
"src/identity-providers/add/AddOAuth2.tsx": {
|
|
112
|
-
"file": "AddOAuth2-
|
|
112
|
+
"file": "AddOAuth2-BBzSU5dK.js",
|
|
113
113
|
"name": "AddOAuth2",
|
|
114
114
|
"src": "src/identity-providers/add/AddOAuth2.tsx",
|
|
115
115
|
"isDynamicEntry": true,
|
|
116
116
|
"imports": [
|
|
117
|
-
"_index-
|
|
117
|
+
"_index-DAVLcnp3.js"
|
|
118
118
|
]
|
|
119
119
|
},
|
|
120
120
|
"src/identity-providers/add/AddOid4Vp.tsx": {
|
|
121
|
-
"file": "AddOid4Vp-
|
|
121
|
+
"file": "AddOid4Vp-bpNno26D.js",
|
|
122
122
|
"name": "AddOid4Vp",
|
|
123
123
|
"src": "src/identity-providers/add/AddOid4Vp.tsx",
|
|
124
124
|
"isDynamicEntry": true,
|
|
125
125
|
"imports": [
|
|
126
|
-
"_index-
|
|
126
|
+
"_index-DAVLcnp3.js"
|
|
127
127
|
]
|
|
128
128
|
},
|
|
129
129
|
"src/identity-providers/add/AddSpiffeConnect.tsx": {
|
|
130
|
-
"file": "AddSpiffeConnect-
|
|
130
|
+
"file": "AddSpiffeConnect-DDjtR--d.js",
|
|
131
131
|
"name": "AddSpiffeConnect",
|
|
132
132
|
"src": "src/identity-providers/add/AddSpiffeConnect.tsx",
|
|
133
133
|
"isDynamicEntry": true,
|
|
134
134
|
"imports": [
|
|
135
|
-
"_index-
|
|
135
|
+
"_index-DAVLcnp3.js"
|
|
136
136
|
]
|
|
137
137
|
},
|
|
138
138
|
"src/index.ts": {
|
|
@@ -141,71 +141,71 @@
|
|
|
141
141
|
"src": "src/index.ts",
|
|
142
142
|
"isEntry": true,
|
|
143
143
|
"imports": [
|
|
144
|
-
"_index-
|
|
144
|
+
"_index-DAVLcnp3.js"
|
|
145
145
|
]
|
|
146
146
|
},
|
|
147
147
|
"src/organizations/DetailOrganization.tsx": {
|
|
148
|
-
"file": "DetailOrganization-
|
|
148
|
+
"file": "DetailOrganization-Bu32j7ib.js",
|
|
149
149
|
"name": "DetailOrganization",
|
|
150
150
|
"src": "src/organizations/DetailOrganization.tsx",
|
|
151
151
|
"isDynamicEntry": true,
|
|
152
152
|
"imports": [
|
|
153
|
-
"_index-
|
|
153
|
+
"_index-DAVLcnp3.js"
|
|
154
154
|
]
|
|
155
155
|
},
|
|
156
156
|
"src/organizations/NewOrganization.tsx": {
|
|
157
|
-
"file": "NewOrganization-
|
|
157
|
+
"file": "NewOrganization-D_Mml2TC.js",
|
|
158
158
|
"name": "NewOrganization",
|
|
159
159
|
"src": "src/organizations/NewOrganization.tsx",
|
|
160
160
|
"isDynamicEntry": true,
|
|
161
161
|
"imports": [
|
|
162
|
-
"_index-
|
|
162
|
+
"_index-DAVLcnp3.js"
|
|
163
163
|
]
|
|
164
164
|
},
|
|
165
165
|
"src/permissions-configuration/permission-configuration/PermissionConfigurationDetails.tsx": {
|
|
166
|
-
"file": "PermissionConfigurationDetails-
|
|
166
|
+
"file": "PermissionConfigurationDetails-n1d3Hq-O.js",
|
|
167
167
|
"name": "PermissionConfigurationDetails",
|
|
168
168
|
"src": "src/permissions-configuration/permission-configuration/PermissionConfigurationDetails.tsx",
|
|
169
169
|
"isDynamicEntry": true,
|
|
170
170
|
"imports": [
|
|
171
|
-
"_index-
|
|
172
|
-
"_ScopePicker-
|
|
171
|
+
"_index-DAVLcnp3.js",
|
|
172
|
+
"_ScopePicker-lTpi2ES9.js"
|
|
173
173
|
]
|
|
174
174
|
},
|
|
175
175
|
"src/realm-settings/ExecutorForm.tsx": {
|
|
176
|
-
"file": "ExecutorForm-
|
|
176
|
+
"file": "ExecutorForm-Dh_cpjdf.js",
|
|
177
177
|
"name": "ExecutorForm",
|
|
178
178
|
"src": "src/realm-settings/ExecutorForm.tsx",
|
|
179
179
|
"isDynamicEntry": true,
|
|
180
180
|
"imports": [
|
|
181
|
-
"_index-
|
|
181
|
+
"_index-DAVLcnp3.js"
|
|
182
182
|
]
|
|
183
183
|
},
|
|
184
184
|
"src/realm/RealmSection.tsx": {
|
|
185
|
-
"file": "RealmSection-
|
|
185
|
+
"file": "RealmSection-CQax8V1F.js",
|
|
186
186
|
"name": "RealmSection",
|
|
187
187
|
"src": "src/realm/RealmSection.tsx",
|
|
188
188
|
"isDynamicEntry": true,
|
|
189
189
|
"imports": [
|
|
190
|
-
"_index-
|
|
190
|
+
"_index-DAVLcnp3.js"
|
|
191
191
|
]
|
|
192
192
|
},
|
|
193
193
|
"src/workflows/WorkflowDetailForm.tsx": {
|
|
194
|
-
"file": "WorkflowDetailForm-
|
|
194
|
+
"file": "WorkflowDetailForm-BeobAJDg.js",
|
|
195
195
|
"name": "WorkflowDetailForm",
|
|
196
196
|
"src": "src/workflows/WorkflowDetailForm.tsx",
|
|
197
197
|
"isDynamicEntry": true,
|
|
198
198
|
"imports": [
|
|
199
|
-
"_index-
|
|
199
|
+
"_index-DAVLcnp3.js"
|
|
200
200
|
]
|
|
201
201
|
},
|
|
202
202
|
"src/workflows/WorkflowsSection.tsx": {
|
|
203
|
-
"file": "WorkflowsSection-
|
|
203
|
+
"file": "WorkflowsSection-ZFKvDu9e.js",
|
|
204
204
|
"name": "WorkflowsSection",
|
|
205
205
|
"src": "src/workflows/WorkflowsSection.tsx",
|
|
206
206
|
"isDynamicEntry": true,
|
|
207
207
|
"imports": [
|
|
208
|
-
"_index-
|
|
208
|
+
"_index-DAVLcnp3.js"
|
|
209
209
|
]
|
|
210
210
|
},
|
|
211
211
|
"style.css": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as i, Fragment as p, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { u as h, b, K as P, a as g, V as I, P as A, F as S, c as F, bI as D, A as T, B as o, bF as V, e as x, bG as C } from "./index-
|
|
2
|
+
import { u as h, b, K as P, a as g, V as I, P as A, F as S, c as F, bI as D, A as T, B as o, bF as V, e as x, bG as C } from "./index-DAVLcnp3.js";
|
|
3
3
|
import { useTranslation as K } from "react-i18next";
|
|
4
4
|
import { useNavigate as j, Link as k } from "react-router-dom";
|
|
5
5
|
function H() {
|
|
@@ -70,4 +70,4 @@ function H() {
|
|
|
70
70
|
export {
|
|
71
71
|
H as default
|
|
72
72
|
};
|
|
73
|
-
//# sourceMappingURL=AddDefaultTrust-
|
|
73
|
+
//# sourceMappingURL=AddDefaultTrust-CmFBoVLh.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddDefaultTrust-
|
|
1
|
+
{"version":3,"file":"AddDefaultTrust-CmFBoVLh.js","sources":["../src/identity-providers/add/AddDefaultTrust.tsx"],"sourcesContent":["import type IdentityProviderRepresentation from \"@keycloak/keycloak-admin-client/lib/defs/identityProviderRepresentation\";\nimport {\n ActionGroup,\n AlertVariant,\n Button,\n PageSection,\n} from \"@patternfly/react-core\";\nimport { FormProvider, useForm } from \"react-hook-form\";\nimport { useTranslation } from \"react-i18next\";\nimport { Link, useNavigate } from \"react-router-dom\";\nimport { useAdminClient } from \"../../admin-client\";\nimport { useAlerts } from \"@keycloak/keycloak-ui-shared\";\nimport { FormAccess } from \"../../components/form/FormAccess\";\nimport { ViewHeader } from \"../../components/view-header/ViewHeader\";\nimport { useRealm } from \"../../context/realm-context/RealmContext\";\nimport { toIdentityProvider } from \"../routes/IdentityProvider\";\nimport { toIdentityProviders } from \"../routes/IdentityProviders\";\nimport DefaultTrustSettings from \"./DefaultTrustSettings\";\n\nexport default function AddDefaultTrust() {\n const { adminClient } = useAdminClient();\n const { t } = useTranslation();\n const navigate = useNavigate();\n const id = \"default-trust\";\n\n const form = useForm<IdentityProviderRepresentation>({\n defaultValues: { alias: id },\n mode: \"onChange\",\n });\n const {\n handleSubmit,\n formState: { isDirty },\n } = form;\n\n const { addAlert, addError } = useAlerts();\n const { realm } = useRealm();\n\n const onSubmit = async (provider: IdentityProviderRepresentation) => {\n try {\n await adminClient.identityProviders.create({\n ...provider,\n providerId: id,\n });\n addAlert(t(\"createIdentityProviderSuccess\"), AlertVariant.success);\n void navigate(\n toIdentityProvider({\n realm,\n providerId: id,\n alias: provider.alias!,\n tab: \"settings\",\n }),\n );\n } catch (error) {\n addError(\"createIdentityProviderError\", error);\n }\n };\n\n return (\n <>\n <ViewHeader\n titleKey={t(\"addIdentityProvider\", { provider: \"Default Trust\" })}\n />\n <PageSection variant=\"light\">\n <FormProvider {...form}>\n <FormAccess\n role=\"manage-identity-providers\"\n isHorizontal\n onSubmit={handleSubmit(onSubmit)}\n >\n <DefaultTrustSettings />\n\n <ActionGroup>\n <Button\n isDisabled={!isDirty}\n variant=\"primary\"\n type=\"submit\"\n data-testid=\"createProvider\"\n >\n {t(\"add\")}\n </Button>\n <Button\n variant=\"link\"\n data-testid=\"cancel\"\n component={(props) => (\n <Link {...props} to={toIdentityProviders({ realm })} />\n )}\n >\n {t(\"cancel\")}\n </Button>\n </ActionGroup>\n </FormAccess>\n </FormProvider>\n </PageSection>\n </>\n );\n}\n"],"names":["AddDefaultTrust","adminClient","useAdminClient","t","useTranslation","navigate","useNavigate","id","form","useForm","handleSubmit","isDirty","addAlert","addError","useAlerts","realm","useRealm","onSubmit","provider","AlertVariant","toIdentityProvider","error","jsxs","Fragment","jsx","ViewHeader","PageSection","FormProvider","FormAccess","DefaultTrustSettings","ActionGroup","Button","props","Link","toIdentityProviders"],"mappings":";;;;AAmBA,SAAwBA,IAAkB;AACxC,QAAM,EAAE,aAAAC,EAAA,IAAgBC,EAAA,GAClB,EAAE,GAAAC,EAAA,IAAMC,EAAA,GACRC,IAAWC,EAAA,GACXC,IAAK,iBAELC,IAAOC,EAAwC;AAAA,IACnD,eAAe,EAAE,OAAOF,EAAA;AAAA,IACxB,MAAM;AAAA,EAAA,CACP,GACK;AAAA,IACJ,cAAAG;AAAA,IACA,WAAW,EAAE,SAAAC,EAAA;AAAA,EAAQ,IACnBH,GAEE,EAAE,UAAAI,GAAU,UAAAC,EAAA,IAAaC,EAAA,GACzB,EAAE,OAAAC,EAAA,IAAUC,EAAA,GAEZC,IAAW,OAAOC,MAA6C;AACnE,QAAI;AACF,YAAMjB,EAAY,kBAAkB,OAAO;AAAA,QACzC,GAAGiB;AAAA,QACH,YAAYX;AAAA,MAAA,CACb,GACDK,EAAST,EAAE,+BAA+B,GAAGgB,EAAa,OAAO,GAC5Dd;AAAA,QACHe,EAAmB;AAAA,UACjB,OAAAL;AAAA,UACA,YAAYR;AAAA,UACZ,OAAOW,EAAS;AAAA,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F, c as I, bO as z, A as C, B as s, bF as G, e as w, bG as T } from "./index-
|
|
2
|
+
import { u as p, b, K as f, a as A, V as P, P as S, F, c as I, bO as z, A as C, B as s, bF as G, e as w, bG as T } from "./index-DAVLcnp3.js";
|
|
3
3
|
import { useTranslation as V } from "react-i18next";
|
|
4
4
|
import { useNavigate as j, Link as x } from "react-router-dom";
|
|
5
5
|
function k() {
|
|
@@ -66,4 +66,4 @@ function k() {
|
|
|
66
66
|
export {
|
|
67
67
|
k as default
|
|
68
68
|
};
|
|
69
|
-
//# sourceMappingURL=AddJWTAuthorizationGrant-
|
|
69
|
+
//# sourceMappingURL=AddJWTAuthorizationGrant-10wBuQUL.js.map
|
package/lib/{AddJWTAuthorizationGrant-BBVNGscZ.js.map → AddJWTAuthorizationGrant-10wBuQUL.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddJWTAuthorizationGrant-
|
|
1
|
+
{"version":3,"file":"AddJWTAuthorizationGrant-10wBuQUL.js","sources":["../src/identity-providers/add/AddJWTAuthorizationGrant.tsx"],"sourcesContent":["import type IdentityProviderRepresentation from \"@keycloak/keycloak-admin-client/lib/defs/identityProviderRepresentation\";\nimport {\n ActionGroup,\n AlertVariant,\n Button,\n PageSection,\n} from \"@patternfly/react-core\";\nimport { FormProvider, useForm } from \"react-hook-form\";\nimport { useTranslation } from \"react-i18next\";\nimport { Link, useNavigate } from \"react-router-dom\";\nimport { useAdminClient } from \"../../admin-client\";\nimport { useAlerts } from \"@keycloak/keycloak-ui-shared\";\nimport { FormAccess } from \"../../components/form/FormAccess\";\nimport { ViewHeader } from \"../../components/view-header/ViewHeader\";\nimport { useRealm } from \"../../context/realm-context/RealmContext\";\nimport { toIdentityProvider } from \"../routes/IdentityProvider\";\nimport { toIdentityProviders } from \"../routes/IdentityProviders\";\nimport JWTAuthorizationGrantSettings from \"./JWTAuthorizationGrantSettings\";\ntype DiscoveryIdentityProvider = IdentityProviderRepresentation & {\n discoveryEndpoint?: string;\n};\n\nexport default function AddJWTAuthorizationGrantConnect() {\n const { adminClient } = useAdminClient();\n\n const { t } = useTranslation();\n const navigate = useNavigate();\n const id = \"jwt-authorization-grant\";\n\n const form = useForm<DiscoveryIdentityProvider>({\n defaultValues: { alias: id, config: { allowCreate: \"true\" } },\n mode: \"onChange\",\n });\n const {\n handleSubmit,\n formState: { isDirty },\n } = form;\n\n const { addAlert, addError } = useAlerts();\n const { realm } = useRealm();\n\n const onSubmit = async (provider: DiscoveryIdentityProvider) => {\n delete provider.discoveryEndpoint;\n try {\n await adminClient.identityProviders.create({\n ...provider,\n providerId: id,\n });\n addAlert(t(\"createIdentityProviderSuccess\"), AlertVariant.success);\n void navigate(\n toIdentityProvider({\n realm,\n providerId: id,\n alias: provider.alias!,\n tab: \"settings\",\n }),\n );\n } catch (error) {\n addError(\"createIdentityProviderError\", error);\n }\n };\n\n return (\n <>\n <ViewHeader titleKey={t(\"addJWTAuthorizationGrantProvider\")} />\n <PageSection variant=\"light\">\n <FormProvider {...form}>\n <FormAccess\n role=\"manage-identity-providers\"\n isHorizontal\n onSubmit={handleSubmit(onSubmit)}\n >\n <JWTAuthorizationGrantSettings />\n\n <ActionGroup>\n <Button\n isDisabled={!isDirty}\n variant=\"primary\"\n type=\"submit\"\n data-testid=\"createProvider\"\n >\n {t(\"add\")}\n </Button>\n <Button\n variant=\"link\"\n data-testid=\"cancel\"\n component={(props) => (\n <Link {...props} to={toIdentityProviders({ realm })} />\n )}\n >\n {t(\"cancel\")}\n </Button>\n </ActionGroup>\n </FormAccess>\n </FormProvider>\n </PageSection>\n </>\n );\n}\n"],"names":["AddJWTAuthorizationGrantConnect","adminClient","useAdminClient","t","useTranslation","navigate","useNavigate","id","form","useForm","handleSubmit","isDirty","addAlert","addError","useAlerts","realm","useRealm","onSubmit","provider","AlertVariant","toIdentityProvider","error","jsxs","Fragment","jsx","ViewHeader","PageSection","FormProvider","FormAccess","JWTAuthorizationGrantSettings","ActionGroup","Button","props","Link","toIdent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AA8B;AAAA,4BAE9BC,GAAA,EACC,UAAA;AAAA,YAAA,gBAAAN;AAAA,cAACO;AAAA,cAAA;AAAA,gBACC,YAAY,CAACpB;AAAA,gBACb,SAAQ;AAAA,gBACR,MAAK;AAAA,gBACL,eAAY;AAAA,gBAEX,YAAE,KAAK;AAAA,cAAA;AAAA,YAAA;AAAA,YAEV,gBAAAa;AAAA,cAACO;AAAA,cAAA;AAAA,gBACC,SAAQ;AAAA,gBACR,eAAY;AAAA,gBACZ,WAAW,CAACC,MACV,gBAAAR,EAACS,GAAA,EAAM,GAAGD,GAAO,IAAIE,EAAoB,EAAE,OAAAnB,EAAA,CAAO,EAAA,CAAG;AAAA,gBAGtD,YAAE,QAAQ;AAAA,cAAA;AAAA,YAAA;AAAA,UACb,EAAA,CACF;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA,GAEJ,EAAA,CACF;AAAA,EAAA,GACF;AAEJ;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as i, Fragment as y, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { u as h, b as p, K as g, a as P, V as f, P as A, F, c as I, bH as K, A as S, B as o, bF as C, e as V, bG as k } from "./index-
|
|
2
|
+
import { u as h, b as p, K as g, a as P, V as f, P as A, F, c as I, bH as K, A as S, B as o, bF as C, e as V, bG as k } from "./index-DAVLcnp3.js";
|
|
3
3
|
import { useTranslation as w } from "react-i18next";
|
|
4
4
|
import { useNavigate as x, Link as E } from "react-router-dom";
|
|
5
5
|
function z() {
|
|
@@ -65,4 +65,4 @@ function z() {
|
|
|
65
65
|
export {
|
|
66
66
|
z as default
|
|
67
67
|
};
|
|
68
|
-
//# sourceMappingURL=AddKubernetesConnect-
|
|
68
|
+
//# sourceMappingURL=AddKubernetesConnect-CcEeza2C.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddKubernetesConnect-
|
|
1
|
+
{"version":3,"file":"AddKubernetesConnect-CcEeza2C.js","sources":["../src/identity-providers/add/AddKubernetesConnect.tsx"],"sourcesContent":["import type IdentityProviderRepresentation from \"@keycloak/keycloak-admin-client/lib/defs/identityProviderRepresentation\";\nimport {\n ActionGroup,\n AlertVariant,\n Button,\n PageSection,\n} from \"@patternfly/react-core\";\nimport { FormProvider, useForm } from \"react-hook-form\";\nimport { useTranslation } from \"react-i18next\";\nimport { Link, useNavigate } from \"react-router-dom\";\nimport { useAdminClient } from \"../../admin-client\";\nimport { useAlerts } from \"@keycloak/keycloak-ui-shared\";\nimport { FormAccess } from \"../../components/form/FormAccess\";\nimport { ViewHeader } from \"../../components/view-header/ViewHeader\";\nimport { useRealm } from \"../../context/realm-context/RealmContext\";\nimport { toIdentityProvider } from \"../routes/IdentityProvider\";\nimport { toIdentityProviders } from \"../routes/IdentityProviders\";\nimport { KubernetesSettings } from \"./KubernetesSettings\";\n\ntype DiscoveryIdentityProvider = IdentityProviderRepresentation & {\n discoveryEndpoint?: string;\n};\n\nexport default function AddKubernetesConnect() {\n const { adminClient } = useAdminClient();\n\n const { t } = useTranslation();\n const navigate = useNavigate();\n const id = \"kubernetes\";\n\n const form = useForm<DiscoveryIdentityProvider>({\n defaultValues: {\n alias: id,\n config: { allowCreate: \"true\" },\n },\n mode: \"onChange\",\n });\n const { handleSubmit } = form;\n\n const { addAlert, addError } = useAlerts();\n const { realm } = useRealm();\n\n const onSubmit = async (provider: DiscoveryIdentityProvider) => {\n delete provider.discoveryEndpoint;\n try {\n await adminClient.identityProviders.create({\n ...provider,\n providerId: id,\n });\n addAlert(t(\"createIdentityProviderSuccess\"), AlertVariant.success);\n void navigate(\n toIdentityProvider({\n realm,\n providerId: id,\n alias: provider.alias!,\n tab: \"settings\",\n }),\n );\n } catch (error) {\n addError(\"createIdentityProviderError\", error);\n }\n };\n\n return (\n <>\n <ViewHeader titleKey={t(\"addKubernetesProvider\")} />\n <PageSection variant=\"light\">\n <FormProvider {...form}>\n <FormAccess\n role=\"manage-identity-providers\"\n isHorizontal\n onSubmit={handleSubmit(onSubmit)}\n >\n <KubernetesSettings />\n <ActionGroup>\n <Button\n variant=\"primary\"\n type=\"submit\"\n data-testid=\"createProvider\"\n >\n {t(\"add\")}\n </Button>\n <Button\n variant=\"link\"\n data-testid=\"cancel\"\n component={(props) => (\n <Link {...props} to={toIdentityProviders({ realm })} />\n )}\n >\n {t(\"cancel\")}\n </Button>\n </ActionGroup>\n </FormAccess>\n </FormProvider>\n </PageSection>\n </>\n );\n}\n"],"names":["AddKubernetesConnect","adminClient","useAdminClient","t","useTranslation","navigate","useNavigate","id","form","useForm","handleSubmit","addAlert","addError","useAlerts","realm","useRealm","onSubmit","provider","AlertVariant","toIdentityProvider","error","jsxs","Fragment","jsx","ViewHeader","PageSection","FormProvider","FormAccess","KubernetesSettings","ActionGroup","Button","props","Link","toIdentityProviders"],"mappings":";;;;AAuBA,SAAwBA,IAAuB;AAC7C,QAAM,EAAE,aAAAC,EAAA,IAAgBC,EAAA,GAElB,EAAE,GAAAC,EAAA,IAAMC,EAAA,GACRC,IAAWC,EAAA,GACXC,IAAK,cAELC,IAAOC,EAAmC;AAAA,IAC9C,eAAe;AAAA,MACb,OAAOF;AAAA,MACP,QAAQ,EAAE,aAAa,OAAA;AAAA,IAAO;AAAA,IAEhC,MAAM;AAAA,EAAA,CACP,GACK,EAAE,cAAAG,MAAiBF,GAEnB,EAAE,UAAAG,GAAU,UAAAC,EAAA,IAAaC,EAAA,GACzB,EAAE,OAAAC,EAAA,IAAUC,EAAA,GAEZC,IAAW,OAAOC,MAAwC;AAC9D,WAAOA,EAAS;AAChB,QAAI;AACF,YAAMhB,EAAY,kBAAkB,OAAO;AAAA,QACzC,GAAGgB;AAAA,QACH,YAAYV;AAAA,MAAA,CACb,GACDI,EAASR,EAAE,+BAA+B,GAAGe,EAAa,OAAO,GAC5Db;AAAA,QACHc,EAAmB;AAAA,UACjB,OAAAL;AAAA,UACA,YAAYP;AAAA,UACZ,OAAOU,EAAS;AAAA,UAChB,KAAK;AAAA,QAAA,CACN;AAAA,MAAA;AAAA,IAEL,SAASG,GAAO;AACd,MAAAR,EAAS,+BAA+BQ,CAAK;AAAA,IAC/C;AAAA,EACF;AAEA,SACE,gBAAAC,EAAAC,GAAA,EACE,UAAA;AAAA,IAAA,gBAAAC,EAACC,GAAA,EAAW,UAAUrB,EAAE,uBAAuB,EAAA,CAAG;AAAA,sBACjDsB,GAAA,EAAY,SAAQ,SACnB,UAAA,gBAAAF,EAACG,GAAA,EAAc,GAAGlB,GAChB,UAAA,gBAAAa;AAAA,MAACM;AAAA,MAAA;AAAA,QACC,MAAK;AAAA,QACL,cAAY;AAAA,QACZ,UAAUjB,EAAaM,CAAQ;AAAA,QAE/B,UAAA;AAAA,UAAA,gBAAAO,EAACK,GAAA,EAAmB;AAAA,4BACnBC,GAAA,EACC,UAAA;AAAA,YAAA,gBAAAN;AAAA,cAACO;AAAA,cAAA;AAAA,gBACC,SAAQ;AAAA,gBACR,MAAK;AAAA,gBACL,eAAY;AAAA,gBAEX,YAAE,KAAK;AAAA,cAAA;AAAA,YAAA;AAAA,YAEV,gBAAAP;AAAA,cAACO;AAAA,cAAA;AAAA,gBACC,SAAQ;AAAA,gBACR,eAAY;AAAA,gBACZ,WAAW,CAACC,MACV,gBAAAR,EAACS,GAAA,EAAM,GAAGD,GAAO,IAAIE,EAAoB,EAAE,OAAAnB,EAAA,CAAO,EAAA,CAAG;AAAA,gBAGtD,YAAE,QAAQ;AAAA,cAAA;AAAA,YAAA;AAAA,UACb,EAAA,CACF;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA,GAEJ,EAAA,CACF;AAAA,EAAA,GACF;AAEJ;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as r, Fragment as p, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { u as y, b as f, K as g, a as I, V as P, P as A, F as C, c as S, bK as F, bL as O, bM as D, bN as K, A as V, B as o, bF as x, e as E, bG as G } from "./index-
|
|
2
|
+
import { u as y, b as f, K as g, a as I, V as P, P as A, F as C, c as S, bK as F, bL as O, bM as D, bN as K, A as V, B as o, bF as x, e as E, bG as G } from "./index-DAVLcnp3.js";
|
|
3
3
|
import { useTranslation as j } from "react-i18next";
|
|
4
4
|
import { useNavigate as k, Link as w } from "react-router-dom";
|
|
5
5
|
function z() {
|
|
@@ -69,4 +69,4 @@ function z() {
|
|
|
69
69
|
export {
|
|
70
70
|
z as default
|
|
71
71
|
};
|
|
72
|
-
//# sourceMappingURL=AddOAuth2-
|
|
72
|
+
//# sourceMappingURL=AddOAuth2-BBzSU5dK.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddOAuth2-
|
|
1
|
+
{"version":3,"file":"AddOAuth2-BBzSU5dK.js","sources":["../src/identity-providers/add/AddOAuth2.tsx"],"sourcesContent":["import type IdentityProviderRepresentation from \"@keycloak/keycloak-admin-client/lib/defs/identityProviderRepresentation\";\nimport {\n ActionGroup,\n AlertVariant,\n Button,\n PageSection,\n} from \"@patternfly/react-core\";\nimport { FormProvider, useForm } from \"react-hook-form\";\nimport { useTranslation } from \"react-i18next\";\nimport { Link, useNavigate } from \"react-router-dom\";\nimport { useAdminClient } from \"../../admin-client\";\nimport { useAlerts } from \"@keycloak/keycloak-ui-shared\";\nimport { FormAccess } from \"../../components/form/FormAccess\";\nimport { ViewHeader } from \"../../components/view-header/ViewHeader\";\nimport { useRealm } from \"../../context/realm-context/RealmContext\";\nimport { toIdentityProvider } from \"../routes/IdentityProvider\";\nimport { toIdentityProviders } from \"../routes/IdentityProviders\";\nimport { OIDCAuthentication } from \"./OIDCAuthentication\";\nimport { OIDCGeneralSettings } from \"./OIDCGeneralSettings\";\nimport { OpenIdConnectSettings } from \"./OpenIdConnectSettings\";\nimport { UserProfileClaimsSettings } from \"./OAuth2UserProfileClaimsSettings\";\n\ntype DiscoveryIdentity = IdentityProviderRepresentation & {\n discoveryEndpoint?: string;\n};\n\nexport default function AddOpenIdConnect() {\n const { adminClient } = useAdminClient();\n\n const { t } = useTranslation();\n const navigate = useNavigate();\n const id = `oauth2`;\n\n const form = useForm<IdentityProviderRepresentation>({\n defaultValues: { alias: id },\n mode: \"onChange\",\n });\n const {\n handleSubmit,\n formState: { isDirty },\n } = form;\n\n const { addAlert, addError } = useAlerts();\n const { realm } = useRealm();\n\n const onSubmit = async (provider: DiscoveryIdentity) => {\n delete provider.discoveryEndpoint;\n try {\n await adminClient.identityProviders.create({\n ...provider,\n providerId: id,\n });\n addAlert(t(\"createIdentityProviderSuccess\"), AlertVariant.success);\n void navigate(\n toIdentityProvider({\n realm,\n providerId: id,\n alias: provider.alias!,\n tab: \"settings\",\n }),\n );\n } catch (error) {\n addError(\"createIdentityProviderError\", error);\n }\n };\n\n return (\n <>\n <ViewHeader titleKey={t(\"addOAuth2Provider\")} />\n <PageSection variant=\"light\">\n <FormProvider {...form}>\n <FormAccess\n role=\"manage-identity-providers\"\n isHorizontal\n onSubmit={handleSubmit(onSubmit)}\n >\n <OIDCGeneralSettings />\n <OpenIdConnectSettings isOIDC={false} />\n <OIDCAuthentication />\n <UserProfileClaimsSettings />\n <ActionGroup>\n <Button\n isDisabled={!isDirty}\n variant=\"primary\"\n type=\"submit\"\n data-testid=\"createProvider\"\n >\n {t(\"add\")}\n </Button>\n <Button\n variant=\"link\"\n data-testid=\"cancel\"\n component={(props) => (\n <Link {...props} to={toIdentityProviders({ realm })} />\n )}\n >\n {t(\"cancel\")}\n </Button>\n </ActionGroup>\n </FormAccess>\n </FormProvider>\n </PageSection>\n </>\n );\n}\n"],"names":["AddOpenIdConnect","adminClient","useAdminClient","t","useTranslation","navigate","useNavigate","id","form","useForm","handleSubmit","isDirty","addAlert","addError","useAlerts","realm","useRealm","onSubmit","provider","AlertVariant","toIdentityProvider","error","jsxs","Fragment","jsx","ViewHeader","PageSection","FormProvider","FormAccess","OIDCGeneralSettings","OpenIdConnectSettings","OIDCAuthentication","UserProfileClaimsSettings","ActionGroup","Button","props","Link","toIdentityProviders"],"mappings":";;;;AA0BA,S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A,CAAO;AAAA,4BACrCC,GAAA,EAAmB;AAAA,4BACnBC,GAAA,EAA0B;AAAA,4BAC1BC,GAAA,EACC,UAAA;AAAA,YAAA,gBAAAT;AAAA,cAACU;AAAA,cAAA;AAAA,gBACC,YAAY,CAACvB;AAAA,gBACb,SAAQ;AAAA,gBACR,MAAK;AAAA,gBACL,eAAY;AAAA,gBAEX,YAAE,KAAK;AAAA,cAAA;AAAA,YAAA;AAAA,YAEV,gBAAAa;AAAA,cAACU;AAAA,cAAA;AAAA,gBACC,SAAQ;AAAA,gBACR,eAAY;AAAA,gBACZ,WAAW,CAACC,MACV,gBAAAX,EAACY,GAAA,EAAM,GAAGD,GAAO,IAAIE,EAAoB,EAAE,OAAAtB,EAAA,CAAO,EAAA,CAAG;AAAA,gBAGtD,YAAE,QAAQ;AAAA,cAAA;AAAA,YAAA;AAAA,UACb,EAAA,CACF;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA,GAEJ,EAAA,CACF;AAAA,EAAA,GACF;AAEJ;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as a, Fragment as h, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { u as P, b, K as f, a as g, V as I, P as A, F as S, c as V, bJ as F, A as x, B as o, bF as C, e as D, bG as K } from "./index-
|
|
2
|
+
import { u as P, b, K as f, a as g, V as I, P as A, F as S, c as V, bJ as F, A as x, B as o, bF as C, e as D, bG as K } from "./index-DAVLcnp3.js";
|
|
3
3
|
import { useTranslation as O } from "react-i18next";
|
|
4
4
|
import { useNavigate as j, Link as k } from "react-router-dom";
|
|
5
5
|
function H() {
|
|
@@ -70,4 +70,4 @@ function H() {
|
|
|
70
70
|
export {
|
|
71
71
|
H as default
|
|
72
72
|
};
|
|
73
|
-
//# sourceMappingURL=AddOid4Vp-
|
|
73
|
+
//# sourceMappingURL=AddOid4Vp-bpNno26D.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddOid4Vp-
|
|
1
|
+
{"version":3,"file":"AddOid4Vp-bpNno26D.js","sources":["../src/identity-providers/add/AddOid4Vp.tsx"],"sourcesContent":["import type IdentityProviderRepresentation from \"@keycloak/keycloak-admin-client/lib/defs/identityProviderRepresentation\";\nimport {\n ActionGroup,\n AlertVariant,\n Button,\n PageSection,\n} from \"@patternfly/react-core\";\nimport { FormProvider, useForm } from \"react-hook-form\";\nimport { useTranslation } from \"react-i18next\";\nimport { Link, useNavigate } from \"react-router-dom\";\nimport { useAdminClient } from \"../../admin-client\";\nimport { useAlerts } from \"@keycloak/keycloak-ui-shared\";\nimport { FormAccess } from \"../../components/form/FormAccess\";\nimport { ViewHeader } from \"../../components/view-header/ViewHeader\";\nimport { useRealm } from \"../../context/realm-context/RealmContext\";\nimport { toIdentityProvider } from \"../routes/IdentityProvider\";\nimport { toIdentityProviders } from \"../routes/IdentityProviders\";\nimport Oid4VpSettings from \"./Oid4VpSettings\";\n\nexport default function AddOid4Vp() {\n const { adminClient } = useAdminClient();\n const { t } = useTranslation();\n const navigate = useNavigate();\n const id = \"oid4vp\";\n\n const form = useForm<IdentityProviderRepresentation>({\n defaultValues: { alias: id },\n mode: \"onChange\",\n });\n const {\n handleSubmit,\n formState: { isDirty },\n } = form;\n\n const { addAlert, addError } = useAlerts();\n const { realm } = useRealm();\n\n const onSubmit = async (provider: IdentityProviderRepresentation) => {\n try {\n await adminClient.identityProviders.create({\n ...provider,\n providerId: id,\n });\n addAlert(t(\"createIdentityProviderSuccess\"), AlertVariant.success);\n void navigate(\n toIdentityProvider({\n realm,\n providerId: id,\n alias: provider.alias!,\n tab: \"settings\",\n }),\n );\n } catch (error) {\n addError(\"createIdentityProviderError\", error);\n }\n };\n\n return (\n <>\n <ViewHeader\n titleKey={t(\"addIdentityProvider\", { provider: \"OpenID4VP\" })}\n />\n <PageSection variant=\"light\">\n <FormProvider {...form}>\n <FormAccess\n role=\"manage-identity-providers\"\n isHorizontal\n onSubmit={handleSubmit(onSubmit)}\n >\n <Oid4VpSettings />\n\n <ActionGroup>\n <Button\n isDisabled={!isDirty}\n variant=\"primary\"\n type=\"submit\"\n data-testid=\"createProvider\"\n >\n {t(\"add\")}\n </Button>\n <Button\n variant=\"link\"\n data-testid=\"cancel\"\n component={(props) => (\n <Link {...props} to={toIdentityProviders({ realm })} />\n )}\n >\n {t(\"cancel\")}\n </Button>\n </ActionGroup>\n </FormAccess>\n </FormProvider>\n </PageSection>\n </>\n );\n}\n"],"names":["AddOid4Vp","adminClient","useAdminClient","t","useTranslation","navigate","useNavigate","id","form","useForm","handleSubmit","isDirty","addAlert","addError","useAlerts","realm","useRealm","onSubmit","provider","AlertVariant","toIdentityProvider","error","jsxs","Fragment","jsx","ViewHeader","PageSection","FormProvider","FormAccess","Oid4VpSettings","ActionGroup","Button","props","Link","toIdentityProviders"],"mappings":";;;;AAmBA,SAAwBA,IAAY;AAClC,QAAM,EAAE,aAAAC,EAAA,IAAgBC,EAAA,GAClB,EAAE,GAAAC,EAAA,IAAMC,EAAA,GACRC,IAAWC,EAAA,GACXC,IAAK,UAELC,IAAOC,EAAwC;AAAA,IACnD,eAAe,EAAE,OAAOF,EAAA;AAAA,IACxB,MAAM;AAAA,EAAA,CACP,GACK;AAAA,IACJ,cAAAG;AAAA,IACA,WAAW,EAAE,SAAAC,EAAA;AAAA,EAAQ,IACnBH,GAEE,EAAE,UAAAI,GAAU,UAAAC,EAAA,IAAaC,EAAA,GACzB,EAAE,OAAAC,EAAA,IAAUC,EAAA,GAEZC,IAAW,OAAOC,MAA6C;AACnE,QAAI;AACF,YAAMjB,EAAY,kBAAkB,OAAO;AAAA,QACzC,GAAGiB;AAAA,QACH,YAAYX;AAAA,MAAA,CACb,GACDK,EAAST,EAAE,+BAA+B,GAAGgB,EAAa,OAAO,GAC5Dd;AAAA,QACHe,EAAmB;AAAA,UACjB,OAAAL;AAAA,UACA,YAAYR;AAAA,UACZ,OAAOW,EAAS;AAAA,UAChB,KAAK;AAAA,QAAA,CACN;AAAA,MAAA;AAAA,IAEL,SAASG,GAAO;AACd,MAAAR,EAAS,+BAA+BQ,CAAK;AAAA,IAC/C;AAAA,EACF;AAEA,SACE,gBAAAC,EAAAC,GAAA,EACE,UAAA;AAAA,IAAA,gBAAAC;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,UAAUtB,EAAE,uBAAuB,EAAE,UAAU,aAAa;AAAA,MAAA;AAAA,IAAA;AAAA,sBAE7DuB,GAAA,EAAY,SAAQ,SACnB,UAAA,gBAAAF,EAACG,GAAA,EAAc,GAAGnB,GAChB,UAAA,gBAAAc;AAAA,MAACM;AAAA,MAAA;AAAA,QACC,MAAK;AAAA,QACL,cAAY;AAAA,QACZ,UAAUlB,EAAaO,CAAQ;AAAA,QAE/B,UAAA;AAAA,UAAA,gBAAAO,EAACK,GAAA,EAAe;AAAA,4BAEfC,GAAA,EACC,UAAA;AAAA,YAAA,gBAAAN;AAAA,cAACO;AAAA,cAAA;AAAA,gBACC,YAAY,CAACpB;AAAA,gBACb,SAAQ;AAAA,gBACR,MAAK;AAAA,gBACL,eAAY;AAAA,gBAEX,YAAE,KAAK;AAAA,cAAA;AAAA,YAAA;AAAA,YAEV,gBAAAa;AAAA,cAACO;AAAA,cAAA;AAAA,gBACC,SAAQ;AAAA,gBACR,eAAY;AAAA,gBACZ,WAAW,CAACC,MACV,gBAAAR,EAACS,GAAA,EAAM,GAAGD,GAAO,IAAIE,EAAoB,EAAE,OAAAnB,EAAA,CAAO,EAAA,CAAG;AAAA,gBAGtD,YAAE,QAAQ;AAAA,cAAA;AAAA,YAAA;AAAA,UACb,EAAA,CACF;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA,GAEJ,EAAA,CACF;AAAA,EAAA,GACF;AAEJ;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as i, Fragment as y, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { u as h, b, K as g, a as P, V as S, P as A, F, c as I, bE as C, A as E, B as o, bF as V, e as w, bG as x } from "./index-
|
|
2
|
+
import { u as h, b, K as g, a as P, V as S, P as A, F, c as I, bE as C, A as E, B as o, bF as V, e as w, bG as x } from "./index-DAVLcnp3.js";
|
|
3
3
|
import { useTranslation as K } from "react-i18next";
|
|
4
4
|
import { useNavigate as j, Link as k } from "react-router-dom";
|
|
5
5
|
function z() {
|
|
@@ -66,4 +66,4 @@ function z() {
|
|
|
66
66
|
export {
|
|
67
67
|
z as default
|
|
68
68
|
};
|
|
69
|
-
//# sourceMappingURL=AddSpiffeConnect-
|
|
69
|
+
//# sourceMappingURL=AddSpiffeConnect-DDjtR--d.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddSpiffeConnect-
|
|
1
|
+
{"version":3,"file":"AddSpiffeConnect-DDjtR--d.js","sources":["../src/identity-providers/add/AddSpiffeConnect.tsx"],"sourcesContent":["import type IdentityProviderRepresentation from \"@keycloak/keycloak-admin-client/lib/defs/identityProviderRepresentation\";\nimport {\n ActionGroup,\n AlertVariant,\n Button,\n PageSection,\n} from \"@patternfly/react-core\";\nimport { FormProvider, useForm } from \"react-hook-form\";\nimport { useTranslation } from \"react-i18next\";\nimport { Link, useNavigate } from \"react-router-dom\";\nimport { useAdminClient } from \"../../admin-client\";\nimport { useAlerts } from \"@keycloak/keycloak-ui-shared\";\nimport { FormAccess } from \"../../components/form/FormAccess\";\nimport { ViewHeader } from \"../../components/view-header/ViewHeader\";\nimport { useRealm } from \"../../context/realm-context/RealmContext\";\nimport { toIdentityProvider } from \"../routes/IdentityProvider\";\nimport { toIdentityProviders } from \"../routes/IdentityProviders\";\nimport { SpiffeSettings } from \"./SpiffeSettings\";\n\ntype DiscoveryIdentityProvider = IdentityProviderRepresentation & {\n discoveryEndpoint?: string;\n};\n\nexport default function AddSamlConnect() {\n const { adminClient } = useAdminClient();\n\n const { t } = useTranslation();\n const navigate = useNavigate();\n const id = \"spiffe\";\n\n const form = useForm<DiscoveryIdentityProvider>({\n defaultValues: { alias: id, config: { allowCreate: \"true\" } },\n mode: \"onChange\",\n });\n const {\n handleSubmit,\n formState: { isDirty },\n } = form;\n\n const { addAlert, addError } = useAlerts();\n const { realm } = useRealm();\n\n const onSubmit = async (provider: DiscoveryIdentityProvider) => {\n delete provider.discoveryEndpoint;\n try {\n await adminClient.identityProviders.create({\n ...provider,\n providerId: id,\n });\n addAlert(t(\"createIdentityProviderSuccess\"), AlertVariant.success);\n void navigate(\n toIdentityProvider({\n realm,\n providerId: id,\n alias: provider.alias!,\n tab: \"settings\",\n }),\n );\n } catch (error) {\n addError(\"createIdentityProviderError\", error);\n }\n };\n\n return (\n <>\n <ViewHeader titleKey={t(\"addSpiffeProvider\")} />\n <PageSection variant=\"light\">\n <FormProvider {...form}>\n <FormAccess\n role=\"manage-identity-providers\"\n isHorizontal\n onSubmit={handleSubmit(onSubmit)}\n >\n <SpiffeSettings />\n <ActionGroup>\n <Button\n isDisabled={!isDirty}\n variant=\"primary\"\n type=\"submit\"\n data-testid=\"createProvider\"\n >\n {t(\"add\")}\n </Button>\n <Button\n variant=\"link\"\n data-testid=\"cancel\"\n component={(props) => (\n <Link {...props} to={toIdentityProviders({ realm })} />\n )}\n >\n {t(\"cancel\")}\n </Button>\n </ActionGroup>\n </FormAccess>\n </FormProvider>\n </PageSection>\n </>\n );\n}\n"],"names":["AddSamlConnect","adminClient","useAdminClient","t","useTranslation","navigate","useNavigate","id","form","useForm","handleSubmit","isDirty","addAlert","addError","useAlerts","realm","useRealm","onSubmit","provider","AlertVariant","toIdentityProvider","error","jsxs","Fragment","jsx","ViewHeader","PageSection","FormProvider","FormAccess","SpiffeSettings","ActionGroup","Button","props","Link","toIdentityProviders"],"mappings":";;;;AAuBA,SAAwBA,IAAiB;AACvC,QAAM,EAAE,aAAAC,EAAA,IAAgBC,EAAA,GAElB,EAAE,GAAAC,EAAA,IAAMC,EAAA,GACRC,IAAWC,EAAA,GACXC,IAAK,UAELC,IAAOC,EAAmC;AAAA,IAC9C,eAAe,EAAE,OAAOF,GAAI,QAAQ,EAA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a;AAAA,cAACO;AAAA,cAAA;AAAA,gBACC,SAAQ;AAAA,gBACR,eAAY;AAAA,gBACZ,WAAW,CAACC,MACV,gBAAAR,EAACS,GAAA,EAAM,GAAGD,GAAO,IAAIE,EAAoB,EAAE,OAAAnB,EAAA,CAAO,EAAA,CAAG;AAAA,gBAGtD,YAAE,QAAQ;AAAA,cAAA;AAAA,YAAA;AAAA,UACb,EAAA,CACF;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA,GAEJ,EAAA,CACF;AAAA,EAAA,GACF;AAEJ;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as n, Fragment as w, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { u as h, a as v, K as F, b, V as y, P as S, F as g, c as A, N as C, G as I, A as T, d as H, B as K, t as N, e as P, f as V } from "./index-
|
|
2
|
+
import { u as h, a as v, K as F, b, V as y, P as S, F as g, c as A, N as C, G as I, A as T, d as H, B as K, t as N, e as P, f as V } from "./index-DAVLcnp3.js";
|
|
3
3
|
import { useTranslation as k } from "react-i18next";
|
|
4
4
|
import { useNavigate as x, Link as B } from "react-router-dom";
|
|
5
5
|
const i = ["basic-flow", "client-flow"];
|
|
@@ -72,4 +72,4 @@ function D() {
|
|
|
72
72
|
export {
|
|
73
73
|
D as default
|
|
74
74
|
};
|
|
75
|
-
//# sourceMappingURL=CreateFlow-
|
|
75
|
+
//# sourceMappingURL=CreateFlow-BE5SrsQ8.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateFlow-
|
|
1
|
+
{"version":3,"file":"CreateFlow-BE5SrsQ8.js","sources":["../src/authentication/form/CreateFlow.tsx"],"sourcesContent":["import type AuthenticationFlowRepresentation from \"@keycloak/keycloak-admin-client/lib/defs/authenticationFlowRepresentation\";\nimport {\n ActionGroup,\n AlertVariant,\n Button,\n PageSection,\n} from \"@patternfly/react-core\";\nimport { FormProvider, useForm } from \"react-hook-form\";\nimport { useTranslation } from \"react-i18next\";\nimport { Link, useNavigate } from \"react-router-dom\";\nimport {\n FormSubmitButton,\n SelectControl,\n useAlerts,\n} from \"@keycloak/keycloak-ui-shared\";\nimport { useAdminClient } from \"../../admin-client\";\nimport { FormAccess } from \"../../components/form/FormAccess\";\nimport { ViewHeader } from \"../../components/view-header/ViewHeader\";\nimport { useRealm } from \"../../context/realm-context/RealmContext\";\nimport { toAuthentication } from \"../routes/Authentication\";\nimport { toFlow } from \"../routes/Flow\";\nimport { NameDescription } from \"./NameDescription\";\n\nconst TYPES = [\"basic-flow\", \"client-flow\"] as const;\n\nexport default function CreateFlow() {\n const { adminClient } = useAdminClient();\n\n const { t } = useTranslation();\n const navigate = useNavigate();\n const { realm } = useRealm();\n const { addAlert, addError } = useAlerts();\n const form = useForm<AuthenticationFlowRepresentation>();\n const { handleSubmit, formState } = form;\n\n const onSubmit = async (formValues: AuthenticationFlowRepresentation) => {\n const flow = { ...formValues, builtIn: false, topLevel: true };\n\n try {\n const { id } =\n await adminClient.authenticationManagement.createFlow(flow);\n addAlert(t(\"flowCreatedSuccess\"), AlertVariant.success);\n void navigate(\n toFlow({\n realm,\n id: id!,\n usedBy: \"notInUse\",\n }),\n );\n } catch (error) {\n addError(\"flowCreateError\", error);\n }\n };\n\n return (\n <>\n <ViewHeader titleKey=\"createFlow\" subKey=\"authenticationCreateFlowHelp\" />\n <PageSection variant=\"light\">\n <FormProvider {...form}>\n <FormAccess\n isHorizontal\n role=\"manage-authorization\"\n onSubmit={handleSubmit(onSubmit)}\n >\n <NameDescription />\n <SelectControl\n name=\"providerId\"\n label={t(\"flowType\")}\n labelIcon={t(\"topLevelFlowTypeHelp\")}\n aria-label={t(\"selectFlowType\")}\n controller={{ defaultValue: TYPES[0] }}\n options={TYPES.map((type) => ({\n key: type,\n value: t(`top-level-flow-type.${type}`),\n }))}\n />\n <ActionGroup>\n <FormSubmitButton\n formState={formState}\n data-testid=\"create\"\n allowInvalid\n allowNonDirty\n >\n {t(\"create\")}\n </FormSubmitButton>\n <Button\n data-testid=\"cancel\"\n variant=\"link\"\n component={(props) => (\n <Link {...props} to={toAuthentication({ realm })}></Link>\n )}\n >\n {t(\"cancel\")}\n </Button>\n </ActionGroup>\n </FormAccess>\n </FormProvider>\n </PageSection>\n </>\n );\n}\n"],"names":["TYPES","CreateFlow","adminClient","useAdminClient","useTranslation","navigate","useNavigate","realm","useRealm","addAlert","addError","useAlerts","form","useForm","handleSubmit","formState","jsxs","Fragment","jsx","ViewHeader","PageSection","FormProvider","FormAccess","formValues","flow","id","AlertVariant","toFlow","error","NameDescription","SelectControl","type","ActionGroup","FormSubmitButton","Button","props","Link","toAuthentication"],"mappings":";;;;AAuBA,MAAMA,IAAQ,CAAC,cAAc,aAAa;AAE1C,SAAwBC,IAAa;AACnC,QAAM,EAAE,aAAAC,EAAA,IAAgBC,EAAA,GAElB,EAAE,EAAA,IAAMC,EAAA,GACRC,IAAWC,EAAA,GACX,EAAE,OAAAC,EAAA,IAAUC,EAAA,GACZ,EAAE,UAAAC,GAAU,UAAAC,EAAA,IAAaC,EAAA,GACzBC,IAAOC,EAAA,GACP,EAAE,cAAAC,GAAc,WAAAC,EAAA,IAAcH;AAqBpC,SACE,gBAAAI,EAAAC,GAAA,EACE,UAAA;AAAA,IAAA,gBAAAC,EAACC,GAAA,EAAW,UAAS,cAAa,QAAO,gCAA+B;AAAA,sBACvEC,GAAA,EAAY,SAAQ,SACnB,UAAA,gBAAAF,EAACG,GAAA,EAAc,GAAGT,GAChB,UAAA,gBAAAI;AAAA,MAACM;AAAA,MAAA;AAAA,QACC,cAAY;AAAA,QACZ,MAAK;AAAA,QACL,UAAUR,EA3BH,OAAOS,MAAiD;AACvE,gBAAMC,IAAO,EAAE,GAAGD,GAAY,SAAS,IAAO,UAAU,GAAA;AAExD,cAAI;AACF,kBAAM,EAAE,IAAAE,EAAA,IACN,MAAMvB,EAAY,yBAAyB,WAAWsB,CAAI;AAC5D,YAAAf,EAAS,EAAE,oBAAoB,GAAGiB,EAAa,OAAO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
|
import { jsxs as g, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { u as O, K as k, aa as H, l as F, P as I, aI as j, I as L, B as R, aJ as C, aK as q, af as N, n as V, b as B, M as U, j as _, F as M, k as $, aw as J, q as Q, G as W, aE as X, d as x, aL as G, aM as u, aN as Y, aO as v, aP as Z, a as ee, ar as ae, aQ as te, as as ie, aR as ne, aS as re, c as se, aT as oe, A as de, aU as le, aV as ce, aW as me, aX as w, aY as ue, aZ as ve, a_ as be } from "./index-
|
|
2
|
+
import { u as O, K as k, aa as H, l as F, P as I, aI as j, I as L, B as R, aJ as C, aK as q, af as N, n as V, b as B, M as U, j as _, F as M, k as $, aw as J, q as Q, G as W, aE as X, d as x, aL as G, aM as u, aN as Y, aO as v, aP as Z, a as ee, ar as ae, aQ as te, as as ie, aR as ne, aS as re, c as se, aT as oe, A as de, aU as le, aV as ce, aW as me, aX as w, aY as ue, aZ as ve, a_ as be } from "./index-DAVLcnp3.js";
|
|
3
3
|
import { useTranslation as K } from "react-i18next";
|
|
4
4
|
import { useState as T } from "react";
|
|
5
5
|
import { useParams as he } from "react-router-dom";
|
|
@@ -417,4 +417,4 @@ function Se() {
|
|
|
417
417
|
export {
|
|
418
418
|
Se as default
|
|
419
419
|
};
|
|
420
|
-
//# sourceMappingURL=DetailOrganization-
|
|
420
|
+
//# sourceMappingURL=DetailOrganization-Bu32j7ib.js.map
|