@keycloak/keycloak-admin-ui 26.5.0 → 26.5.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 +40 -40
- package/lib/{AddJWTAuthorizationGrant-BxV7hzzZ.js → AddJWTAuthorizationGrant-CmYIQF47.js} +2 -2
- package/lib/{AddJWTAuthorizationGrant-BxV7hzzZ.js.map → AddJWTAuthorizationGrant-CmYIQF47.js.map} +1 -1
- package/lib/{AddKubernetesConnect-Bc_kTuYx.js → AddKubernetesConnect--zBiT7am.js} +2 -2
- package/lib/{AddKubernetesConnect-Bc_kTuYx.js.map → AddKubernetesConnect--zBiT7am.js.map} +1 -1
- package/lib/{AddOAuth2-BEs8BWjo.js → AddOAuth2-BLRNGQKN.js} +2 -2
- package/lib/{AddOAuth2-BEs8BWjo.js.map → AddOAuth2-BLRNGQKN.js.map} +1 -1
- package/lib/{AddSpiffeConnect-RhW-jzlK.js → AddSpiffeConnect-NfHagx80.js} +2 -2
- package/lib/{AddSpiffeConnect-RhW-jzlK.js.map → AddSpiffeConnect-NfHagx80.js.map} +1 -1
- package/lib/{CreateFlow-Bwuqra7c.js → CreateFlow-Bf02T80Q.js} +2 -2
- package/lib/{CreateFlow-Bwuqra7c.js.map → CreateFlow-Bf02T80Q.js.map} +1 -1
- package/lib/{DetailOrganization-6dzeU8qG.js → DetailOrganization-DWvk7gJ9.js} +2 -2
- package/lib/{DetailOrganization-6dzeU8qG.js.map → DetailOrganization-DWvk7gJ9.js.map} +1 -1
- package/lib/{ExecutorForm-ytEjIbpP.js → ExecutorForm-DHTRUoB1.js} +2 -2
- package/lib/{ExecutorForm-ytEjIbpP.js.map → ExecutorForm-DHTRUoB1.js.map} +1 -1
- package/lib/{FlowDetails-tBxTv6wK.js → FlowDetails--N_U426z.js} +2 -2
- package/lib/{FlowDetails-tBxTv6wK.js.map → FlowDetails--N_U426z.js.map} +1 -1
- package/lib/{NewOrganization-BI9VQI6o.js → NewOrganization-7we_ianL.js} +2 -2
- package/lib/{NewOrganization-BI9VQI6o.js.map → NewOrganization-7we_ianL.js.map} +1 -1
- package/lib/{PermissionConfigurationDetails-q-Ms8reY.js → PermissionConfigurationDetails-u9MRYXxC.js} +3 -3
- package/lib/{PermissionConfigurationDetails-q-Ms8reY.js.map → PermissionConfigurationDetails-u9MRYXxC.js.map} +1 -1
- package/lib/{PermissionDetails-BW_lN8ii.js → PermissionDetails-DxeSTYxA.js} +2 -2
- package/lib/{PermissionDetails-BW_lN8ii.js.map → PermissionDetails-DxeSTYxA.js.map} +1 -1
- package/lib/{RealmSection-D40zPuIt.js → RealmSection-DoqGXY7F.js} +2 -2
- package/lib/{RealmSection-D40zPuIt.js.map → RealmSection-DoqGXY7F.js.map} +1 -1
- package/lib/{ResourceDetails-DmjAj-MN.js → ResourceDetails-Bn6Uim5l.js} +3 -3
- package/lib/{ResourceDetails-DmjAj-MN.js.map → ResourceDetails-Bn6Uim5l.js.map} +1 -1
- package/lib/{ScopeDetails-CmZtEhXo.js → ScopeDetails-BCjTo6cS.js} +2 -2
- package/lib/{ScopeDetails-CmZtEhXo.js.map → ScopeDetails-BCjTo6cS.js.map} +1 -1
- package/lib/{ScopePicker-p78XHCTm.js → ScopePicker-Dd6Cs54v.js} +2 -2
- package/lib/{ScopePicker-p78XHCTm.js.map → ScopePicker-Dd6Cs54v.js.map} +1 -1
- package/lib/{WorkflowDetailForm-BN-XL1FE.js → WorkflowDetailForm-alfgEItU.js} +2 -2
- package/lib/{WorkflowDetailForm-BN-XL1FE.js.map → WorkflowDetailForm-alfgEItU.js.map} +1 -1
- package/lib/{WorkflowsSection-BfykdcZr.js → WorkflowsSection-DflIdHaB.js} +2 -2
- package/lib/{WorkflowsSection-BfykdcZr.js.map → WorkflowsSection-DflIdHaB.js.map} +1 -1
- package/lib/groups/GroupRoleMapping.d.ts +2 -1
- package/lib/{index-aTEFJb4J.js → index-Ddam0zn3.js} +709 -685
- package/lib/{index-aTEFJb4J.js.map → index-Ddam0zn3.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-Dd6Cs54v.js": {
|
|
3
|
+
"file": "ScopePicker-Dd6Cs54v.js",
|
|
4
4
|
"name": "ScopePicker",
|
|
5
5
|
"imports": [
|
|
6
|
-
"_index-
|
|
6
|
+
"_index-Ddam0zn3.js"
|
|
7
7
|
]
|
|
8
8
|
},
|
|
9
|
-
"_index-
|
|
10
|
-
"file": "index-
|
|
9
|
+
"_index-Ddam0zn3.js": {
|
|
10
|
+
"file": "index-Ddam0zn3.js",
|
|
11
11
|
"name": "index",
|
|
12
12
|
"dynamicImports": [
|
|
13
13
|
"src/authentication/FlowDetails.tsx",
|
|
@@ -34,85 +34,85 @@
|
|
|
34
34
|
]
|
|
35
35
|
},
|
|
36
36
|
"src/authentication/FlowDetails.tsx": {
|
|
37
|
-
"file": "FlowDetails
|
|
37
|
+
"file": "FlowDetails--N_U426z.js",
|
|
38
38
|
"name": "FlowDetails",
|
|
39
39
|
"src": "src/authentication/FlowDetails.tsx",
|
|
40
40
|
"isDynamicEntry": true,
|
|
41
41
|
"imports": [
|
|
42
|
-
"_index-
|
|
42
|
+
"_index-Ddam0zn3.js"
|
|
43
43
|
]
|
|
44
44
|
},
|
|
45
45
|
"src/authentication/form/CreateFlow.tsx": {
|
|
46
|
-
"file": "CreateFlow-
|
|
46
|
+
"file": "CreateFlow-Bf02T80Q.js",
|
|
47
47
|
"name": "CreateFlow",
|
|
48
48
|
"src": "src/authentication/form/CreateFlow.tsx",
|
|
49
49
|
"isDynamicEntry": true,
|
|
50
50
|
"imports": [
|
|
51
|
-
"_index-
|
|
51
|
+
"_index-Ddam0zn3.js"
|
|
52
52
|
]
|
|
53
53
|
},
|
|
54
54
|
"src/clients/authorization/PermissionDetails.tsx": {
|
|
55
|
-
"file": "PermissionDetails-
|
|
55
|
+
"file": "PermissionDetails-DxeSTYxA.js",
|
|
56
56
|
"name": "PermissionDetails",
|
|
57
57
|
"src": "src/clients/authorization/PermissionDetails.tsx",
|
|
58
58
|
"isDynamicEntry": true,
|
|
59
59
|
"imports": [
|
|
60
|
-
"_index-
|
|
60
|
+
"_index-Ddam0zn3.js"
|
|
61
61
|
]
|
|
62
62
|
},
|
|
63
63
|
"src/clients/authorization/ResourceDetails.tsx": {
|
|
64
|
-
"file": "ResourceDetails-
|
|
64
|
+
"file": "ResourceDetails-Bn6Uim5l.js",
|
|
65
65
|
"name": "ResourceDetails",
|
|
66
66
|
"src": "src/clients/authorization/ResourceDetails.tsx",
|
|
67
67
|
"isDynamicEntry": true,
|
|
68
68
|
"imports": [
|
|
69
|
-
"_index-
|
|
70
|
-
"_ScopePicker-
|
|
69
|
+
"_index-Ddam0zn3.js",
|
|
70
|
+
"_ScopePicker-Dd6Cs54v.js"
|
|
71
71
|
]
|
|
72
72
|
},
|
|
73
73
|
"src/clients/authorization/ScopeDetails.tsx": {
|
|
74
|
-
"file": "ScopeDetails-
|
|
74
|
+
"file": "ScopeDetails-BCjTo6cS.js",
|
|
75
75
|
"name": "ScopeDetails",
|
|
76
76
|
"src": "src/clients/authorization/ScopeDetails.tsx",
|
|
77
77
|
"isDynamicEntry": true,
|
|
78
78
|
"imports": [
|
|
79
|
-
"_index-
|
|
79
|
+
"_index-Ddam0zn3.js"
|
|
80
80
|
]
|
|
81
81
|
},
|
|
82
82
|
"src/identity-providers/add/AddJWTAuthorizationGrant.tsx": {
|
|
83
|
-
"file": "AddJWTAuthorizationGrant-
|
|
83
|
+
"file": "AddJWTAuthorizationGrant-CmYIQF47.js",
|
|
84
84
|
"name": "AddJWTAuthorizationGrant",
|
|
85
85
|
"src": "src/identity-providers/add/AddJWTAuthorizationGrant.tsx",
|
|
86
86
|
"isDynamicEntry": true,
|
|
87
87
|
"imports": [
|
|
88
|
-
"_index-
|
|
88
|
+
"_index-Ddam0zn3.js"
|
|
89
89
|
]
|
|
90
90
|
},
|
|
91
91
|
"src/identity-providers/add/AddKubernetesConnect.tsx": {
|
|
92
|
-
"file": "AddKubernetesConnect
|
|
92
|
+
"file": "AddKubernetesConnect--zBiT7am.js",
|
|
93
93
|
"name": "AddKubernetesConnect",
|
|
94
94
|
"src": "src/identity-providers/add/AddKubernetesConnect.tsx",
|
|
95
95
|
"isDynamicEntry": true,
|
|
96
96
|
"imports": [
|
|
97
|
-
"_index-
|
|
97
|
+
"_index-Ddam0zn3.js"
|
|
98
98
|
]
|
|
99
99
|
},
|
|
100
100
|
"src/identity-providers/add/AddOAuth2.tsx": {
|
|
101
|
-
"file": "AddOAuth2-
|
|
101
|
+
"file": "AddOAuth2-BLRNGQKN.js",
|
|
102
102
|
"name": "AddOAuth2",
|
|
103
103
|
"src": "src/identity-providers/add/AddOAuth2.tsx",
|
|
104
104
|
"isDynamicEntry": true,
|
|
105
105
|
"imports": [
|
|
106
|
-
"_index-
|
|
106
|
+
"_index-Ddam0zn3.js"
|
|
107
107
|
]
|
|
108
108
|
},
|
|
109
109
|
"src/identity-providers/add/AddSpiffeConnect.tsx": {
|
|
110
|
-
"file": "AddSpiffeConnect-
|
|
110
|
+
"file": "AddSpiffeConnect-NfHagx80.js",
|
|
111
111
|
"name": "AddSpiffeConnect",
|
|
112
112
|
"src": "src/identity-providers/add/AddSpiffeConnect.tsx",
|
|
113
113
|
"isDynamicEntry": true,
|
|
114
114
|
"imports": [
|
|
115
|
-
"_index-
|
|
115
|
+
"_index-Ddam0zn3.js"
|
|
116
116
|
]
|
|
117
117
|
},
|
|
118
118
|
"src/index.ts": {
|
|
@@ -121,71 +121,71 @@
|
|
|
121
121
|
"src": "src/index.ts",
|
|
122
122
|
"isEntry": true,
|
|
123
123
|
"imports": [
|
|
124
|
-
"_index-
|
|
124
|
+
"_index-Ddam0zn3.js"
|
|
125
125
|
]
|
|
126
126
|
},
|
|
127
127
|
"src/organizations/DetailOrganization.tsx": {
|
|
128
|
-
"file": "DetailOrganization-
|
|
128
|
+
"file": "DetailOrganization-DWvk7gJ9.js",
|
|
129
129
|
"name": "DetailOrganization",
|
|
130
130
|
"src": "src/organizations/DetailOrganization.tsx",
|
|
131
131
|
"isDynamicEntry": true,
|
|
132
132
|
"imports": [
|
|
133
|
-
"_index-
|
|
133
|
+
"_index-Ddam0zn3.js"
|
|
134
134
|
]
|
|
135
135
|
},
|
|
136
136
|
"src/organizations/NewOrganization.tsx": {
|
|
137
|
-
"file": "NewOrganization-
|
|
137
|
+
"file": "NewOrganization-7we_ianL.js",
|
|
138
138
|
"name": "NewOrganization",
|
|
139
139
|
"src": "src/organizations/NewOrganization.tsx",
|
|
140
140
|
"isDynamicEntry": true,
|
|
141
141
|
"imports": [
|
|
142
|
-
"_index-
|
|
142
|
+
"_index-Ddam0zn3.js"
|
|
143
143
|
]
|
|
144
144
|
},
|
|
145
145
|
"src/permissions-configuration/permission-configuration/PermissionConfigurationDetails.tsx": {
|
|
146
|
-
"file": "PermissionConfigurationDetails-
|
|
146
|
+
"file": "PermissionConfigurationDetails-u9MRYXxC.js",
|
|
147
147
|
"name": "PermissionConfigurationDetails",
|
|
148
148
|
"src": "src/permissions-configuration/permission-configuration/PermissionConfigurationDetails.tsx",
|
|
149
149
|
"isDynamicEntry": true,
|
|
150
150
|
"imports": [
|
|
151
|
-
"_index-
|
|
152
|
-
"_ScopePicker-
|
|
151
|
+
"_index-Ddam0zn3.js",
|
|
152
|
+
"_ScopePicker-Dd6Cs54v.js"
|
|
153
153
|
]
|
|
154
154
|
},
|
|
155
155
|
"src/realm-settings/ExecutorForm.tsx": {
|
|
156
|
-
"file": "ExecutorForm-
|
|
156
|
+
"file": "ExecutorForm-DHTRUoB1.js",
|
|
157
157
|
"name": "ExecutorForm",
|
|
158
158
|
"src": "src/realm-settings/ExecutorForm.tsx",
|
|
159
159
|
"isDynamicEntry": true,
|
|
160
160
|
"imports": [
|
|
161
|
-
"_index-
|
|
161
|
+
"_index-Ddam0zn3.js"
|
|
162
162
|
]
|
|
163
163
|
},
|
|
164
164
|
"src/realm/RealmSection.tsx": {
|
|
165
|
-
"file": "RealmSection-
|
|
165
|
+
"file": "RealmSection-DoqGXY7F.js",
|
|
166
166
|
"name": "RealmSection",
|
|
167
167
|
"src": "src/realm/RealmSection.tsx",
|
|
168
168
|
"isDynamicEntry": true,
|
|
169
169
|
"imports": [
|
|
170
|
-
"_index-
|
|
170
|
+
"_index-Ddam0zn3.js"
|
|
171
171
|
]
|
|
172
172
|
},
|
|
173
173
|
"src/workflows/WorkflowDetailForm.tsx": {
|
|
174
|
-
"file": "WorkflowDetailForm-
|
|
174
|
+
"file": "WorkflowDetailForm-alfgEItU.js",
|
|
175
175
|
"name": "WorkflowDetailForm",
|
|
176
176
|
"src": "src/workflows/WorkflowDetailForm.tsx",
|
|
177
177
|
"isDynamicEntry": true,
|
|
178
178
|
"imports": [
|
|
179
|
-
"_index-
|
|
179
|
+
"_index-Ddam0zn3.js"
|
|
180
180
|
]
|
|
181
181
|
},
|
|
182
182
|
"src/workflows/WorkflowsSection.tsx": {
|
|
183
|
-
"file": "WorkflowsSection-
|
|
183
|
+
"file": "WorkflowsSection-DflIdHaB.js",
|
|
184
184
|
"name": "WorkflowsSection",
|
|
185
185
|
"src": "src/workflows/WorkflowsSection.tsx",
|
|
186
186
|
"isDynamicEntry": true,
|
|
187
187
|
"imports": [
|
|
188
|
-
"_index-
|
|
188
|
+
"_index-Ddam0zn3.js"
|
|
189
189
|
]
|
|
190
190
|
},
|
|
191
191
|
"style.css": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as i, Fragment as g, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { u as p, b as A, _ as b, a as f, V as P, P as S, F as z, c as I, bG as C, A as F, B as s, bz as G, d as w, bA as T } from "./index-
|
|
2
|
+
import { u as p, b as A, _ as b, a as f, V as P, P as S, F as z, c as I, bG as C, A as F, B as s, bz as G, d as w, bA as T } from "./index-Ddam0zn3.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 B() {
|
|
@@ -66,4 +66,4 @@ function B() {
|
|
|
66
66
|
export {
|
|
67
67
|
B as default
|
|
68
68
|
};
|
|
69
|
-
//# sourceMappingURL=AddJWTAuthorizationGrant-
|
|
69
|
+
//# sourceMappingURL=AddJWTAuthorizationGrant-CmYIQF47.js.map
|
package/lib/{AddJWTAuthorizationGrant-BxV7hzzZ.js.map → AddJWTAuthorizationGrant-CmYIQF47.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddJWTAuthorizationGrant-
|
|
1
|
+
{"version":3,"file":"AddJWTAuthorizationGrant-CmYIQF47.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 navigate(\n toIdentityProvider({\n realm,\n providerId: id,\n alias: provider.alias!,\n tab: \"settings\",\n }),\n );\n } catch (error: any) {\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","toIdentityProviders"],"mappings":";;;;AAsBA,SAAwBA,IAAkC;AACxD,QAAM,EAAE,aAAAC,EAAA,IAAgBC,EAAA,GAElB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C,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, _ as g, a as P, V as f, P as A, F as I, c as S, bB as C, A as F, B as o, bz as K, d as V, bA as k } from "./index-
|
|
2
|
+
import { u as h, b as p, _ as g, a as P, V as f, P as A, F as I, c as S, bB as C, A as F, B as o, bz as K, d as V, bA as k } from "./index-Ddam0zn3.js";
|
|
3
3
|
import { useTranslation as w } from "react-i18next";
|
|
4
4
|
import { useNavigate as x, Link as B } from "react-router-dom";
|
|
5
5
|
function _() {
|
|
@@ -62,4 +62,4 @@ function _() {
|
|
|
62
62
|
export {
|
|
63
63
|
_ as default
|
|
64
64
|
};
|
|
65
|
-
//# sourceMappingURL=AddKubernetesConnect
|
|
65
|
+
//# sourceMappingURL=AddKubernetesConnect--zBiT7am.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddKubernetesConnect
|
|
1
|
+
{"version":3,"file":"AddKubernetesConnect--zBiT7am.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: { alias: id, config: { allowCreate: \"true\" } },\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 navigate(\n toIdentityProvider({\n realm,\n providerId: id,\n alias: provider.alias!,\n tab: \"settings\",\n }),\n );\n } catch (error: any) {\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,EAAE,OAAOF,GAAI,QAAQ,EAAE,aAAa,SAAO;AAAA,IAC1D,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,GACjEb;AAAA,QACEc,EAAmB;AAAA,UACjB,OAAAL;AAAA,UACA,YAAYP;AAAA,UACZ,OAAOU,EAAS;AAAA,UAChB,KAAK;AAAA,QAAA,CACN;AAAA,MAAA;AAAA,IAEL,SAASG,GAAY;AACnB,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, _ as g, a as I, V as P, P as A, F as C, c as S, bC as D, bD as F, bE as O, bF as E, A as V, B as o, bz as x, d as j, bA as k } from "./index-
|
|
2
|
+
import { u as y, b as f, _ as g, a as I, V as P, P as A, F as C, c as S, bC as D, bD as F, bE as O, bF as E, A as V, B as o, bz as x, d as j, bA as k } from "./index-Ddam0zn3.js";
|
|
3
3
|
import { useTranslation as w } from "react-i18next";
|
|
4
4
|
import { useNavigate as z, Link as B } from "react-router-dom";
|
|
5
5
|
function L() {
|
|
@@ -69,4 +69,4 @@ function L() {
|
|
|
69
69
|
export {
|
|
70
70
|
L as default
|
|
71
71
|
};
|
|
72
|
-
//# sourceMappingURL=AddOAuth2-
|
|
72
|
+
//# sourceMappingURL=AddOAuth2-BLRNGQKN.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddOAuth2-
|
|
1
|
+
{"version":3,"file":"AddOAuth2-BLRNGQKN.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 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,SAAwBA,IAAmB;AACzC,QAAM,EAAE,aAAAC,EAAA,IAAgBC,EAAA,GAElB,EAAE,GAAAC,EAAA,IAAMC,EAAA,GACRC,IAAWC,EAA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AAA,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 i, Fragment as y, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { u as h, b, _ as g, a as P, V as S, P as A, F as I, c as C, by as F, A as V, B as o, bz as w, d as x, bA as E } from "./index-
|
|
2
|
+
import { u as h, b, _ as g, a as P, V as S, P as A, F as I, c as C, by as F, A as V, B as o, bz as w, d as x, bA as E } from "./index-Ddam0zn3.js";
|
|
3
3
|
import { useTranslation as j } from "react-i18next";
|
|
4
4
|
import { useNavigate as k, Link as z } from "react-router-dom";
|
|
5
5
|
function G() {
|
|
@@ -66,4 +66,4 @@ function G() {
|
|
|
66
66
|
export {
|
|
67
67
|
G as default
|
|
68
68
|
};
|
|
69
|
-
//# sourceMappingURL=AddSpiffeConnect-
|
|
69
|
+
//# sourceMappingURL=AddSpiffeConnect-NfHagx80.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddSpiffeConnect-
|
|
1
|
+
{"version":3,"file":"AddSpiffeConnect-NfHagx80.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 navigate(\n toIdentityProvider({\n realm,\n providerId: id,\n alias: provider.alias!,\n tab: \"settings\",\n }),\n );\n } catch (error: any) {\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,EAAE,aAAa,SAAO;AAAA,IAC1D,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,MAAwC;AAC9D,WAAOA,EAAS;AAChB,QAAI;AACF,YAAMjB,EAAY,kBAAkB,OAAO;AAAA,QACzC,GAAGiB;AAAA,QACH,YAAYX;AAAA,MAAA,CACb,GACDK,EAAST,EAAE,+BAA+B,GAAGgB,EAAa,OAAO,GACjEd;AAAA,QACEe,EAAmB;AAAA,UACjB,OAAAL;AAAA,UACA,YAAYR;AAAA,UACZ,OAAOW,EAAS;AAAA,UAChB,KAAK;AAAA,QAAA,CACN;AAAA,MAAA;AAAA,IAEL,SAASG,GAAY;AACnB,MAAAR,EAAS,+BAA+BQ,CAAK;AAAA,IAC/C;AAAA,EACF;AAEA,SACE,gBAAAC,EAAAC,GAAA,EACE,UAAA;AAAA,IAAA,gBAAAC,EAACC,GAAA,EAAW,UAAUtB,EAAE,mBAAmB,EAAA,CAAG;AAAA,sBAC7CuB,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,4BACfC,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 r, Fragment as w, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { u as h, a as F, _ as b, b as v, V as y, P as g, F as S, c as A, N as C, U as I, A as T, e as H, B as N, t as P, d as i, f as V } from "./index-
|
|
2
|
+
import { u as h, a as F, _ as b, b as v, V as y, P as g, F as S, c as A, N as C, U as I, A as T, e as H, B as N, t as P, d as i, f as V } from "./index-Ddam0zn3.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 c = ["basic-flow", "client-flow"];
|
|
@@ -77,4 +77,4 @@ function E() {
|
|
|
77
77
|
export {
|
|
78
78
|
E as default
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=CreateFlow-
|
|
80
|
+
//# sourceMappingURL=CreateFlow-Bf02T80Q.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateFlow-
|
|
1
|
+
{"version":3,"file":"CreateFlow-Bf02T80Q.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 { FormSubmitButton, SelectControl } from \"@keycloak/keycloak-ui-shared\";\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 { 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 } = 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 navigate(\n toFlow({\n realm,\n id: id!,\n usedBy: \"notInUse\",\n }),\n );\n } catch (error: any) {\n addAlert(\n t(\"flowCreateError\", {\n error: error.response?.data?.errorMessage || error,\n }),\n AlertVariant.danger,\n );\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","t","useTranslation","navigate","useNavigate","realm","useRealm","addAlert","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":";;;;AAoBA,MAAMA,IAAQ,CAAC,cAAc,aAAa;AAE1C,SAAwBC,IAAa;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,WAAWA,EAAE,sBAAsB;AAAA,cACnC,cAAYA,EAAE,gBAAgB;AAAA,cAC9B,YAAY,EAAE,cAAcJ,EAAM,CAAC,EAAA;AAAA,cACnC,SAASA,EAAM,IAAI,CAAC+B,OAAU;AAAA,gBAC5B,KAAKA;AAAA,gBACL,OAAO3B,EAAE,uBAAuB2B,CAAI,EAAE;AAAA,cAAA,EACtC;AAAA,YAAA;AAAA,UAAA;AAAA,4BAEHC,GAAA,EACC,UAAA;AAAA,YAAA,gBAAAd;AAAA,cAACe;AAAAA,cAAA;AAAA,gBACC,WAAAlB;AAAA,gBACA,eAAY;AAAA,gBACZ,cAAY;AAAA,gBACZ,eAAa;AAAA,gBAEZ,YAAE,QAAQ;AAAA,cAAA;AAAA,YAAA;AAAA,YAEb,gBAAAG;AAAA,cAACgB;AAAA,cAAA;AAAA,gBACC,eAAY;AAAA,gBACZ,SAAQ;AAAA,gBACR,WAAW,CAACC,MACV,gBAAAjB,EAACkB,GAAA,EAAM,GAAGD,GAAO,IAAIE,EAAiB,EAAE,OAAA7B,EAAA,CAAO,EAAA,CAAG;AAAA,gBAGnD,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 d, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { aG as y, aH as s, aI as x, aJ as n, aK as R, u as w, _ as B, a as I, ao as _, b as C, y as H, aL as M, aM as V, ap as j, P as h, F as k, aN as D, aO as G, c as N, aP as $, A as J, e as L, B as Q, aQ as U, aR as q, aS as g, aT as W, aU as X } from "./index-
|
|
2
|
+
import { aG as y, aH as s, aI as x, aJ as n, aK as R, u as w, _ as B, a as I, ao as _, b as C, y as H, aL as M, aM as V, ap as j, P as h, F as k, aN as D, aO as G, c as N, aP as $, A as J, e as L, B as Q, aQ as U, aR as q, aS as g, aT as W, aU as X } from "./index-Ddam0zn3.js";
|
|
3
3
|
import { useTranslation as z } from "react-i18next";
|
|
4
4
|
import { useState as E } from "react";
|
|
5
5
|
const Y = () => {
|
|
@@ -191,4 +191,4 @@ function it() {
|
|
|
191
191
|
export {
|
|
192
192
|
it as default
|
|
193
193
|
};
|
|
194
|
-
//# sourceMappingURL=DetailOrganization-
|
|
194
|
+
//# sourceMappingURL=DetailOrganization-DWvk7gJ9.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DetailOrganization-6dzeU8qG.js","sources":["../src/organizations/MembersSection.tsx","../src/organizations/DetailOrganization.tsx"],"sourcesContent":["import { Tab, Tabs, TabTitleText } from \"@patternfly/react-core\";\nimport { useState } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { Invitations } from \"./Invitations\";\nimport { Members } from \"./Members\";\n\nexport const MembersSection = () => {\n const { t } = useTranslation();\n const [activeTab, setActiveTab] = useState(\"members\");\n\n return (\n <Tabs\n activeKey={activeTab}\n onSelect={(_, key) => setActiveTab(key as string)}\n >\n <Tab\n eventKey=\"members\"\n title={<TabTitleText>{t(\"members\")}</TabTitleText>}\n data-testid=\"organization-members-tab\"\n >\n <Members />\n </Tab>\n <Tab\n eventKey=\"invitations\"\n title={<TabTitleText>{t(\"invitations\")}</TabTitleText>}\n data-testid=\"organization-invitations-tab\"\n >\n <Invitations />\n </Tab>\n </Tabs>\n );\n};\n","import {\n FormSubmitButton,\n useAlerts,\n useFetch,\n} from \"@keycloak/keycloak-ui-shared\";\nimport {\n ActionGroup,\n Button,\n PageSection,\n Tab,\n Tabs,\n TabTitleText,\n} from \"@patternfly/react-core\";\nimport { FormProvider, useForm } from \"react-hook-form\";\nimport { useTranslation } from \"react-i18next\";\nimport { useAdminClient } from \"../admin-client\";\nimport { FormAccess } from \"../components/form/FormAccess\";\nimport { AttributesForm } from \"../components/key-value-form/AttributeForm\";\nimport { arrayToKeyValue } from \"../components/key-value-form/key-value-convert\";\nimport {\n RoutableTabs,\n useRoutableTab,\n} from \"../components/routable-tabs/RoutableTabs\";\nimport { useRealm } from \"../context/realm-context/RealmContext\";\nimport { useParams } from \"../utils/useParams\";\nimport { DetailOrganizationHeader } from \"./DetailOraganzationHeader\";\nimport { IdentityProviders } from \"./IdentityProviders\";\nimport { MembersSection } from \"./MembersSection\";\nimport {\n OrganizationForm,\n OrganizationFormType,\n convertToOrg,\n} from \"./OrganizationForm\";\nimport {\n EditOrganizationParams,\n OrganizationTab,\n toEditOrganization,\n} from \"./routes/EditOrganization\";\nimport { useAccess } from \"../context/access/Access\";\nimport { AdminEvents } from \"../events/AdminEvents\";\nimport { useState } from \"react\";\n\nexport default function DetailOrganization() {\n const { adminClient } = useAdminClient();\n const { addAlert, addError } = useAlerts();\n\n const { realm, realmRepresentation } = useRealm();\n const { id } = useParams<EditOrganizationParams>();\n const { t } = useTranslation();\n\n const form = useForm<OrganizationFormType>();\n\n const save = async (org: OrganizationFormType) => {\n try {\n const organization = convertToOrg(org);\n await adminClient.organizations.updateById({ id }, organization);\n addAlert(t(\"organizationSaveSuccess\"));\n } catch (error) {\n addError(\"organizationSaveError\", error);\n }\n };\n\n useFetch(\n () => adminClient.organizations.findOne({ id }),\n (org) => {\n if (!org) {\n throw new Error(t(\"notFound\"));\n }\n form.reset({\n ...org,\n domains: org.domains?.map((d) => d.name),\n attributes: arrayToKeyValue(org.attributes),\n });\n },\n [id],\n );\n\n const useTab = (tab: OrganizationTab) =>\n useRoutableTab(\n toEditOrganization({\n realm,\n id,\n tab,\n }),\n );\n\n const settingsTab = useTab(\"settings\");\n const attributesTab = useTab(\"attributes\");\n const membersTab = useTab(\"members\");\n const identityProvidersTab = useTab(\"identityProviders\");\n const eventsTab = useTab(\"events\");\n\n const { hasAccess } = useAccess();\n const [activeEventsTab, setActiveEventsTab] = useState(\"adminEvents\");\n\n return (\n <PageSection variant=\"light\" className=\"pf-v5-u-p-0\">\n <FormProvider {...form}>\n <DetailOrganizationHeader save={() => save(form.getValues())} />\n <RoutableTabs\n data-testid=\"organization-tabs\"\n aria-label={t(\"organization\")}\n isBox\n mountOnEnter\n >\n <Tab\n id=\"settings\"\n data-testid=\"settingsTab\"\n title={<TabTitleText>{t(\"settings\")}</TabTitleText>}\n {...settingsTab}\n >\n <PageSection>\n <FormAccess\n role=\"anyone\"\n onSubmit={form.handleSubmit(save)}\n isHorizontal\n >\n <OrganizationForm readOnly />\n <ActionGroup>\n <FormSubmitButton\n formState={form.formState}\n data-testid=\"save\"\n >\n {t(\"save\")}\n </FormSubmitButton>\n <Button\n onClick={() => form.reset()}\n data-testid=\"reset\"\n variant=\"link\"\n >\n {t(\"reset\")}\n </Button>\n </ActionGroup>\n </FormAccess>\n </PageSection>\n </Tab>\n <Tab\n id=\"attributes\"\n data-testid=\"attributeTab\"\n title={<TabTitleText>{t(\"attributes\")}</TabTitleText>}\n {...attributesTab}\n >\n <PageSection variant=\"light\">\n <AttributesForm\n form={form}\n save={save}\n reset={() =>\n form.reset({\n ...form.getValues(),\n })\n }\n name=\"attributes\"\n />\n </PageSection>\n </Tab>\n <Tab\n id=\"members\"\n data-testid=\"membersTab\"\n title={<TabTitleText>{t(\"members\")}</TabTitleText>}\n {...membersTab}\n >\n <MembersSection />\n </Tab>\n <Tab\n id=\"identityProviders\"\n data-testid=\"identityProvidersTab\"\n title={<TabTitleText>{t(\"identityProviders\")}</TabTitleText>}\n {...identityProvidersTab}\n >\n <IdentityProviders />\n </Tab>\n {realmRepresentation?.adminEventsEnabled &&\n hasAccess(\"view-events\") && (\n <Tab\n data-testid=\"admin-events-tab\"\n title={<TabTitleText>{t(\"adminEvents\")}</TabTitleText>}\n {...eventsTab}\n >\n <Tabs\n activeKey={activeEventsTab}\n onSelect={(_, key) => setActiveEventsTab(key as string)}\n >\n <Tab\n eventKey=\"adminEvents\"\n title={<TabTitleText>{t(\"adminEvents\")}</TabTitleText>}\n >\n <AdminEvents resourcePath={`organizations/${id}`} />\n </Tab>\n <Tab\n eventKey=\"membershipEvents\"\n title={<TabTitleText>{t(\"membershipEvents\")}</TabTitleText>}\n >\n <AdminEvents resourcePath={`organizations/${id}/members`} />\n </Tab>\n </Tabs>\n </Tab>\n )}\n </RoutableTabs>\n </FormProvider>\n </PageSection>\n );\n}\n"],"names":["MembersSection","t","useTranslation","activeTab","setActiveTab","useState","jsxs","Tabs","_","key","jsx","Tab","TabTitleText","Members","Invitations","DetailOrganization","adminClient","useAdminClient","addAlert","addError","useAlerts","realm","realmRepresentation","useRealm","id","useParams","form","useForm","save","org","organization","convertToOrg","error","useFetch","d","arrayToKeyValue","useTab","tab","useRoutableTab","toEditOrganization","settingsTab","attributesTab","membersTab","identityProvidersTab","eventsTab","hasAccess","useAccess","activeEventsTab","setActiveEventsTab","PageSection","FormProvider","DetailOrganizationHeader","RoutableTabs","FormAccess","OrganizationForm","ActionGroup","FormSubmitButton","Button","AttributesForm","IdentityProviders","AdminEvents"],"mappings":";;;;AAMO,MAAMA,IAAiB,MAAM;AAClC,QAAM,EAAE,GAAAC,EAAA,IAAMC,EAAA,GACR,CAACC,GAAWC,CAAY,IAAIC,EAAS,SAAS;AAEpD,SACE,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,WAAWJ;AAAA,MACX,UAAU,CAACK,GAAGC,MAAQL,EAAaK,CAAa;AAAA,MAEhD,UAAA;AAAA,QAAA,gBAAAC;AAAA,UAACC;AAAA,UAAA;AAAA,YACC,UAAS;AAAA,YACT,OAAO,gBAAAD,EAACE,GAAA,EAAc,UAAAX,EAAE,SAAS,GAAE;AAAA,YACnC,eAAY;AAAA,YAEZ,4BAACY,GAAA,CAAA,CAAQ;AAAA,UAAA;AAAA,QAAA;AAAA,QAEX,gBAAAH;AAAA,UAACC;AAAA,UAAA;AAAA,YACC,UAAS;AAAA,YACT,OAAO,gBAAAD,EAACE,GAAA,EAAc,UAAAX,EAAE,aAAa,GAAE;AAAA,YACvC,eAAY;AAAA,YAEZ,4BAACa,GAAA,C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GAAG2C;AAAA,cAEJ,UAAA,gBAAAtC;AAAA,gBAACC;AAAA,gBAAA;AAAA,kBACC,WAAWwC;AAAA,kBACX,UAAU,CAACvC,GAAGC,MAAQuC,EAAmBvC,CAAa;AAAA,kBAEtD,UAAA;AAAA,oBAAA,gBAAAC;AAAA,sBAACC;AAAA,sBAAA;AAAA,wBACC,UAAS;AAAA,wBACT,OAAO,gBAAAD,EAACE,GAAA,EAAc,UAAAX,EAAE,aAAa,GAAE;AAAA,wBAEvC,UAAA,gBAAAS,EAACkD,GAAA,EAAY,cAAc,iBAAiBpC,CAAE,GAAA,CAAI;AAAA,sBAAA;AAAA,oBAAA;AAAA,oBAEpD,gBAAAd;AAAA,sBAACC;AAAA,sBAAA;AAAA,wBACC,UAAS;AAAA,wBACT,OAAO,gBAAAD,EAACE,GAAA,EAAc,UAAAX,EAAE,kBAAkB,GAAE;AAAA,wBAE5C,UAAA,gBAAAS,EAACkD,GAAA,EAAY,cAAc,iBAAiBpC,CAAE,WAAA,CAAY;AAAA,sBAAA;AAAA,oBAAA;AAAA,kBAC5D;AAAA,gBAAA;AAAA,cAAA;AAAA,YACF;AAAA,UAAA;AAAA,QACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAEN,EAAA,CACF,EAAA,CACF;AAEJ;"}
|
|
1
|
+
{"version":3,"file":"DetailOrganization-DWvk7gJ9.js","sources":["../src/organizations/MembersSection.tsx","../src/organizations/DetailOrganization.tsx"],"sourcesContent":["import { Tab, Tabs, TabTitleText } from \"@patternfly/react-core\";\nimport { useState } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { Invitations } from \"./Invitations\";\nimport { Members } from \"./Members\";\n\nexport const MembersSection = () => {\n const { t } = useTranslation();\n const [activeTab, setActiveTab] = useState(\"members\");\n\n return (\n <Tabs\n activeKey={activeTab}\n onSelect={(_, key) => setActiveTab(key as string)}\n >\n <Tab\n eventKey=\"members\"\n title={<TabTitleText>{t(\"members\")}</TabTitleText>}\n data-testid=\"organization-members-tab\"\n >\n <Members />\n </Tab>\n <Tab\n eventKey=\"invitations\"\n title={<TabTitleText>{t(\"invitations\")}</TabTitleText>}\n data-testid=\"organization-invitations-tab\"\n >\n <Invitations />\n </Tab>\n </Tabs>\n );\n};\n","import {\n FormSubmitButton,\n useAlerts,\n useFetch,\n} from \"@keycloak/keycloak-ui-shared\";\nimport {\n ActionGroup,\n Button,\n PageSection,\n Tab,\n Tabs,\n TabTitleText,\n} from \"@patternfly/react-core\";\nimport { FormProvider, useForm } from \"react-hook-form\";\nimport { useTranslation } from \"react-i18next\";\nimport { useAdminClient } from \"../admin-client\";\nimport { FormAccess } from \"../components/form/FormAccess\";\nimport { AttributesForm } from \"../components/key-value-form/AttributeForm\";\nimport { arrayToKeyValue } from \"../components/key-value-form/key-value-convert\";\nimport {\n RoutableTabs,\n useRoutableTab,\n} from \"../components/routable-tabs/RoutableTabs\";\nimport { useRealm } from \"../context/realm-context/RealmContext\";\nimport { useParams } from \"../utils/useParams\";\nimport { DetailOrganizationHeader } from \"./DetailOraganzationHeader\";\nimport { IdentityProviders } from \"./IdentityProviders\";\nimport { MembersSection } from \"./MembersSection\";\nimport {\n OrganizationForm,\n OrganizationFormType,\n convertToOrg,\n} from \"./OrganizationForm\";\nimport {\n EditOrganizationParams,\n OrganizationTab,\n toEditOrganization,\n} from \"./routes/EditOrganization\";\nimport { useAccess } from \"../context/access/Access\";\nimport { AdminEvents } from \"../events/AdminEvents\";\nimport { useState } from \"react\";\n\nexport default function DetailOrganization() {\n const { adminClient } = useAdminClient();\n const { addAlert, addError } = useAlerts();\n\n const { realm, realmRepresentation } = useRealm();\n const { id } = useParams<EditOrganizationParams>();\n const { t } = useTranslation();\n\n const form = useForm<OrganizationFormType>();\n\n const save = async (org: OrganizationFormType) => {\n try {\n const organization = convertToOrg(org);\n await adminClient.organizations.updateById({ id }, organization);\n addAlert(t(\"organizationSaveSuccess\"));\n } catch (error) {\n addError(\"organizationSaveError\", error);\n }\n };\n\n useFetch(\n () => adminClient.organizations.findOne({ id }),\n (org) => {\n if (!org) {\n throw new Error(t(\"notFound\"));\n }\n form.reset({\n ...org,\n domains: org.domains?.map((d) => d.name),\n attributes: arrayToKeyValue(org.attributes),\n });\n },\n [id],\n );\n\n const useTab = (tab: OrganizationTab) =>\n useRoutableTab(\n toEditOrganization({\n realm,\n id,\n tab,\n }),\n );\n\n const settingsTab = useTab(\"settings\");\n const attributesTab = useTab(\"attributes\");\n const membersTab = useTab(\"members\");\n const identityProvidersTab = useTab(\"identityProviders\");\n const eventsTab = useTab(\"events\");\n\n const { hasAccess } = useAccess();\n const [activeEventsTab, setActiveEventsTab] = useState(\"adminEvents\");\n\n return (\n <PageSection variant=\"light\" className=\"pf-v5-u-p-0\">\n <FormProvider {...form}>\n <DetailOrganizationHeader save={() => save(form.getValues())} />\n <RoutableTabs\n data-testid=\"organization-tabs\"\n aria-label={t(\"organization\")}\n isBox\n mountOnEnter\n >\n <Tab\n id=\"settings\"\n data-testid=\"settingsTab\"\n title={<TabTitleText>{t(\"settings\")}</TabTitleText>}\n {...settingsTab}\n >\n <PageSection>\n <FormAccess\n role=\"anyone\"\n onSubmit={form.handleSubmit(save)}\n isHorizontal\n >\n <OrganizationForm readOnly />\n <ActionGroup>\n <FormSubmitButton\n formState={form.formState}\n data-testid=\"save\"\n >\n {t(\"save\")}\n </FormSubmitButton>\n <Button\n onClick={() => form.reset()}\n data-testid=\"reset\"\n variant=\"link\"\n >\n {t(\"reset\")}\n </Button>\n </ActionGroup>\n </FormAccess>\n </PageSection>\n </Tab>\n <Tab\n id=\"attributes\"\n data-testid=\"attributeTab\"\n title={<TabTitleText>{t(\"attributes\")}</TabTitleText>}\n {...attributesTab}\n >\n <PageSection variant=\"light\">\n <AttributesForm\n form={form}\n save={save}\n reset={() =>\n form.reset({\n ...form.getValues(),\n })\n }\n name=\"attributes\"\n />\n </PageSection>\n </Tab>\n <Tab\n id=\"members\"\n data-testid=\"membersTab\"\n title={<TabTitleText>{t(\"members\")}</TabTitleText>}\n {...membersTab}\n >\n <MembersSection />\n </Tab>\n <Tab\n id=\"identityProviders\"\n data-testid=\"identityProvidersTab\"\n title={<TabTitleText>{t(\"identityProviders\")}</TabTitleText>}\n {...identityProvidersTab}\n >\n <IdentityProviders />\n </Tab>\n {realmRepresentation?.adminEventsEnabled &&\n hasAccess(\"view-events\") && (\n <Tab\n data-testid=\"admin-events-tab\"\n title={<TabTitleText>{t(\"adminEvents\")}</TabTitleText>}\n {...eventsTab}\n >\n <Tabs\n activeKey={activeEventsTab}\n onSelect={(_, key) => setActiveEventsTab(key as string)}\n >\n <Tab\n eventKey=\"adminEvents\"\n title={<TabTitleText>{t(\"adminEvents\")}</TabTitleText>}\n >\n <AdminEvents resourcePath={`organizations/${id}`} />\n </Tab>\n <Tab\n eventKey=\"membershipEvents\"\n title={<TabTitleText>{t(\"membershipEvents\")}</TabTitleText>}\n >\n <AdminEvents resourcePath={`organizations/${id}/members`} />\n </Tab>\n </Tabs>\n </Tab>\n )}\n </RoutableTabs>\n </FormProvider>\n </PageSection>\n );\n}\n"],"names":["MembersSection","t","useTranslation","activeTab","setActiveTab","useState","jsxs","Tabs","_","key","jsx","Tab","TabTitleText","Members","Invitations","DetailOrganization","adminClient","useAdminClient","addAlert","addError","useAlerts","realm","realmRepresentation","useRealm","id","useParams","form","useForm","save","org","organization","convertToOrg","error","useFetch","d","arrayToKeyValue","useTab","tab","useRoutableTab","toEditOrganization","settingsTab","attributesTab","membersTab","identityProvidersTab","eventsTab","hasAccess","useAccess","activeEventsTab","setActiveEventsTab","PageSection","FormProvider","DetailOrganizationHeader","RoutableTabs","FormAccess","OrganizationForm","ActionGroup","FormSubmitButton","Button","AttributesForm","IdentityProviders","AdminEvents"],"mappings":";;;;AAMO,MAAMA,IAAiB,MAAM;AAClC,QAAM,EAAE,GAAAC,EAAA,IAAMC,EAAA,GACR,CAACC,GAAWC,CAAY,IAAIC,EAAS,SAAS;AAEpD,SACE,gBAAAC;AAAA,IAACC;AAAA,IAAA;A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A,EAEN,EAAA,CACF,EAAA,CACF;AAEJ;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as u, Fragment as M, jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { u as R, ao as k, _ as J, b8 as Q, b as U, y as W, V as X, P as Y, c as Z, au as $, al as ee, am as te, an as oe, a4 as re, a7 as V, F as ae, a0 as ce, A as se, B as g, b9 as h, d as ne } from "./index-
|
|
2
|
+
import { u as R, ao as k, _ as J, b8 as Q, b as U, y as W, V as X, P as Y, c as Z, au as $, al as ee, am as te, an as oe, a4 as re, a7 as V, F as ae, a0 as ce, A as se, B as g, b9 as h, d as ne } from "./index-Ddam0zn3.js";
|
|
3
3
|
import { useState as l } from "react";
|
|
4
4
|
import { useTranslation as ie } from "react-i18next";
|
|
5
5
|
import { useNavigate as le, Link as F } from "react-router-dom";
|
|
@@ -196,4 +196,4 @@ function ge() {
|
|
|
196
196
|
export {
|
|
197
197
|
ge as default
|
|
198
198
|
};
|
|
199
|
-
//# sourceMappingURL=ExecutorForm-
|
|
199
|
+
//# sourceMappingURL=ExecutorForm-DHTRUoB1.js.map
|