keycloakify 9.4.0-rc.9 → 9.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/README.md +4 -0
  2. package/account/i18n/baseMessages/index.d.ts +358 -0
  3. package/account/i18n/baseMessages/index.js +2 -1
  4. package/account/i18n/baseMessages/index.js.map +1 -1
  5. package/account/pages/PageProps.d.ts +3 -2
  6. package/bin/constants.d.ts +1 -1
  7. package/bin/constants.js +1 -1
  8. package/bin/constants.js.map +1 -1
  9. package/bin/copy-keycloak-resources-to-public.d.ts +13 -1
  10. package/bin/copy-keycloak-resources-to-public.js +134 -68
  11. package/bin/copy-keycloak-resources-to-public.js.map +1 -1
  12. package/bin/download-builtin-keycloak-theme.d.ts +1 -0
  13. package/bin/download-builtin-keycloak-theme.js +2 -3
  14. package/bin/download-builtin-keycloak-theme.js.map +1 -1
  15. package/bin/{tools/downloadAndUnzip.d.ts → downloadAndUnzip.d.ts} +6 -6
  16. package/bin/downloadAndUnzip.js +255 -0
  17. package/bin/downloadAndUnzip.js.map +1 -0
  18. package/bin/eject-keycloak-page.js +6 -3
  19. package/bin/eject-keycloak-page.js.map +1 -1
  20. package/bin/keycloakify/buildOptions/buildOptions.d.ts +1 -0
  21. package/bin/keycloakify/buildOptions/buildOptions.js +54 -39
  22. package/bin/keycloakify/buildOptions/buildOptions.js.map +1 -1
  23. package/bin/keycloakify/buildOptions/getCacheDirPath.d.ts +5 -0
  24. package/bin/keycloakify/buildOptions/getCacheDirPath.js +22 -0
  25. package/bin/keycloakify/buildOptions/getCacheDirPath.js.map +1 -0
  26. package/bin/keycloakify/buildOptions/getNpmWorkspaceRootDirPath.d.ts +5 -0
  27. package/bin/keycloakify/buildOptions/getNpmWorkspaceRootDirPath.js +86 -0
  28. package/bin/keycloakify/buildOptions/getNpmWorkspaceRootDirPath.js.map +1 -0
  29. package/bin/keycloakify/buildOptions/getReactAppRootDirPath.d.ts +5 -0
  30. package/bin/keycloakify/buildOptions/getReactAppRootDirPath.js +26 -0
  31. package/bin/keycloakify/buildOptions/getReactAppRootDirPath.js.map +1 -0
  32. package/bin/keycloakify/buildOptions/resolvedViteConfig.d.ts +3 -4
  33. package/bin/keycloakify/buildOptions/resolvedViteConfig.js +4 -11
  34. package/bin/keycloakify/buildOptions/resolvedViteConfig.js.map +1 -1
  35. package/bin/keycloakify/generateTheme/bringInAccountV1.d.ts +1 -0
  36. package/bin/keycloakify/generateTheme/bringInAccountV1.js.map +1 -1
  37. package/bin/keycloakify/generateTheme/downloadKeycloakStaticResources.d.ts +1 -0
  38. package/bin/keycloakify/generateTheme/downloadKeycloakStaticResources.js.map +1 -1
  39. package/bin/keycloakify/generateTheme/generateTheme.d.ts +1 -0
  40. package/bin/keycloakify/generateTheme/generateTheme.js +7 -3
  41. package/bin/keycloakify/generateTheme/generateTheme.js.map +1 -1
  42. package/bin/keycloakify/keycloakify.js +8 -12
  43. package/bin/keycloakify/keycloakify.js.map +1 -1
  44. package/bin/tools/fetchProxyOptions.d.ts +5 -0
  45. package/bin/tools/fetchProxyOptions.js +172 -0
  46. package/bin/tools/fetchProxyOptions.js.map +1 -0
  47. package/bin/tools/fs.existsAsync.d.ts +1 -0
  48. package/bin/tools/fs.existsAsync.js +86 -0
  49. package/bin/tools/fs.existsAsync.js.map +1 -0
  50. package/bin/tools/getThisCodebaseRootDirPath.d.ts +1 -0
  51. package/bin/tools/{getProjectRoot.js → getThisCodebaseRootDirPath.js} +7 -7
  52. package/bin/tools/getThisCodebaseRootDirPath.js.map +1 -0
  53. package/bin/tools/grant-exec-perms.js +6 -4
  54. package/bin/tools/grant-exec-perms.js.map +1 -1
  55. package/bin/tools/readThisNpmProjectVersion.d.ts +1 -0
  56. package/bin/tools/readThisNpmProjectVersion.js +37 -0
  57. package/bin/tools/readThisNpmProjectVersion.js.map +1 -0
  58. package/lib/isStorybook.js +1 -2
  59. package/lib/isStorybook.js.map +1 -1
  60. package/login/i18n/baseMessages/index.d.ts +458 -0
  61. package/login/i18n/baseMessages/index.js +2 -1
  62. package/login/i18n/baseMessages/index.js.map +1 -1
  63. package/login/pages/PageProps.d.ts +3 -2
  64. package/package.json +41 -19
  65. package/src/account/i18n/baseMessages/index.ts +2 -1
  66. package/src/account/pages/PageProps.ts +3 -2
  67. package/src/bin/constants.ts +1 -1
  68. package/src/bin/copy-keycloak-resources-to-public.ts +75 -9
  69. package/src/bin/download-builtin-keycloak-theme.ts +3 -3
  70. package/src/bin/downloadAndUnzip.ts +203 -0
  71. package/src/bin/eject-keycloak-page.ts +6 -3
  72. package/src/bin/keycloakify/buildOptions/buildOptions.ts +28 -39
  73. package/src/bin/keycloakify/buildOptions/getCacheDirPath.ts +25 -0
  74. package/src/bin/keycloakify/buildOptions/getNpmWorkspaceRootDirPath.ts +49 -0
  75. package/src/bin/keycloakify/buildOptions/getReactAppRootDirPath.ts +23 -0
  76. package/src/bin/keycloakify/buildOptions/resolvedViteConfig.ts +7 -21
  77. package/src/bin/keycloakify/generateTheme/bringInAccountV1.ts +1 -0
  78. package/src/bin/keycloakify/generateTheme/downloadKeycloakStaticResources.ts +1 -0
  79. package/src/bin/keycloakify/generateTheme/generateTheme.ts +9 -2
  80. package/src/bin/keycloakify/keycloakify.ts +8 -14
  81. package/src/bin/tools/fetchProxyOptions.ts +73 -0
  82. package/src/bin/tools/fs.existsAsync.ts +11 -0
  83. package/src/bin/tools/{getProjectRoot.ts → getThisCodebaseRootDirPath.ts} +4 -4
  84. package/src/bin/tools/grant-exec-perms.ts +5 -3
  85. package/src/bin/tools/readThisNpmProjectVersion.ts +12 -0
  86. package/src/lib/isStorybook.ts +1 -3
  87. package/src/login/i18n/baseMessages/index.ts +2 -1
  88. package/src/login/pages/PageProps.ts +3 -2
  89. package/src/vite-plugin/vite-plugin.ts +48 -25
  90. package/vite-plugin/tsconfig.tsbuildinfo +1 -1
  91. package/vite-plugin/vite-plugin.d.ts +1 -2
  92. package/vite-plugin/vite-plugin.js +35 -20
  93. package/vite-plugin/vite-plugin.js.map +1 -1
  94. package/bin/keycloakify/buildOptions/getKeycloakifyBuildDirPath.d.ts +0 -7
  95. package/bin/keycloakify/buildOptions/getKeycloakifyBuildDirPath.js +0 -27
  96. package/bin/keycloakify/buildOptions/getKeycloakifyBuildDirPath.js.map +0 -1
  97. package/bin/tools/downloadAndUnzip.js +0 -445
  98. package/bin/tools/downloadAndUnzip.js.map +0 -1
  99. package/bin/tools/getProjectRoot.d.ts +0 -1
  100. package/bin/tools/getProjectRoot.js.map +0 -1
  101. package/src/bin/keycloakify/buildOptions/getKeycloakifyBuildDirPath.ts +0 -33
  102. package/src/bin/tools/downloadAndUnzip.ts +0 -301
  103. package/src/vite-plugin/config.json +0 -232
package/README.md CHANGED
@@ -130,6 +130,10 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
130
130
 
131
131
  # Changelog highlights
132
132
 
133
+ ## 9.4
134
+
135
+ **Vite Support 🎉**
136
+
133
137
  ## 9.0
134
138
 
135
139
  Bring back support for account themes in Keycloak v23 and up! [See issue](https://github.com/keycloakify/keycloakify/issues/389).
@@ -1,4 +1,362 @@
1
1
  export declare function getMessages(currentLanguageTag: string): Promise<{
2
+ doSave: string;
3
+ doCancel: string;
4
+ doLogOutAllSessions: string;
5
+ doRemove: string;
6
+ doAdd: string;
7
+ doSignOut: string;
8
+ doLogIn: string;
9
+ doLink: string;
10
+ noAccessMessage: string;
11
+ personalInfoSidebarTitle: string;
12
+ accountSecuritySidebarTitle: string;
13
+ signingInSidebarTitle: string;
14
+ deviceActivitySidebarTitle: string;
15
+ linkedAccountsSidebarTitle: string;
16
+ editAccountHtmlTitle: string;
17
+ personalInfoHtmlTitle: string;
18
+ federatedIdentitiesHtmlTitle: string;
19
+ accountLogHtmlTitle: string;
20
+ changePasswordHtmlTitle: string;
21
+ deviceActivityHtmlTitle: string;
22
+ sessionsHtmlTitle: string;
23
+ accountManagementTitle: string;
24
+ authenticatorTitle: string;
25
+ applicationsHtmlTitle: string;
26
+ linkedAccountsHtmlTitle: string;
27
+ accountManagementWelcomeMessage: string;
28
+ personalInfoIntroMessage: string;
29
+ accountSecurityTitle: string;
30
+ accountSecurityIntroMessage: string;
31
+ applicationsIntroMessage: string;
32
+ resourceIntroMessage: string;
33
+ passwordLastUpdateMessage: string;
34
+ updatePasswordTitle: string;
35
+ updatePasswordMessageTitle: string;
36
+ updatePasswordMessage: string;
37
+ personalSubTitle: string;
38
+ personalSubMessage: string;
39
+ authenticatorCode: string;
40
+ email: string;
41
+ firstName: string;
42
+ givenName: string;
43
+ fullName: string;
44
+ lastName: string;
45
+ familyName: string;
46
+ password: string;
47
+ currentPassword: string;
48
+ passwordConfirm: string;
49
+ passwordNew: string;
50
+ username: string;
51
+ address: string;
52
+ street: string;
53
+ locality: string;
54
+ region: string;
55
+ postal_code: string;
56
+ country: string;
57
+ emailVerified: string;
58
+ website: string;
59
+ phoneNumber: string;
60
+ phoneNumberVerified: string;
61
+ gender: string;
62
+ birthday: string;
63
+ zoneinfo: string;
64
+ gssDelegationCredential: string;
65
+ profileScopeConsentText: string;
66
+ emailScopeConsentText: string;
67
+ addressScopeConsentText: string;
68
+ phoneScopeConsentText: string;
69
+ offlineAccessScopeConsentText: string;
70
+ samlRoleListScopeConsentText: string;
71
+ rolesScopeConsentText: string;
72
+ role_admin: string;
73
+ "role_realm-admin": string;
74
+ "role_create-realm": string;
75
+ "role_view-realm": string;
76
+ "role_view-users": string;
77
+ "role_view-applications": string;
78
+ "role_view-groups": string;
79
+ "role_view-clients": string;
80
+ "role_view-events": string;
81
+ "role_view-identity-providers": string;
82
+ "role_view-consent": string;
83
+ "role_manage-realm": string;
84
+ "role_manage-users": string;
85
+ "role_manage-applications": string;
86
+ "role_manage-identity-providers": string;
87
+ "role_manage-clients": string;
88
+ "role_manage-events": string;
89
+ "role_view-profile": string;
90
+ "role_manage-account": string;
91
+ "role_manage-account-links": string;
92
+ "role_manage-consent": string;
93
+ "role_read-token": string;
94
+ "role_offline-access": string;
95
+ role_uma_authorization: string;
96
+ client_account: string;
97
+ "client_account-console": string;
98
+ "client_security-admin-console": string;
99
+ "client_admin-cli": string;
100
+ "client_realm-management": string;
101
+ client_broker: string;
102
+ requiredFields: string;
103
+ allFieldsRequired: string;
104
+ backToApplication: string;
105
+ backTo: string;
106
+ date: string;
107
+ event: string;
108
+ ip: string;
109
+ client: string;
110
+ clients: string;
111
+ details: string;
112
+ started: string;
113
+ lastAccess: string;
114
+ expires: string;
115
+ applications: string;
116
+ account: string;
117
+ federatedIdentity: string;
118
+ authenticator: string;
119
+ "device-activity": string;
120
+ sessions: string;
121
+ log: string;
122
+ application: string;
123
+ availableRoles: string;
124
+ grantedPermissions: string;
125
+ grantedPersonalInfo: string;
126
+ additionalGrants: string;
127
+ action: string;
128
+ inResource: string;
129
+ fullAccess: string;
130
+ offlineToken: string;
131
+ revoke: string;
132
+ configureAuthenticators: string;
133
+ mobile: string;
134
+ totpStep1: string;
135
+ totpStep2: string;
136
+ totpStep3: string;
137
+ totpStep3DeviceName: string;
138
+ totpManualStep2: string;
139
+ totpManualStep3: string;
140
+ totpUnableToScan: string;
141
+ totpScanBarcode: string;
142
+ "totp.totp": string;
143
+ "totp.hotp": string;
144
+ totpType: string;
145
+ totpAlgorithm: string;
146
+ totpDigits: string;
147
+ totpInterval: string;
148
+ totpCounter: string;
149
+ totpDeviceName: string;
150
+ totpAppFreeOTPName: string;
151
+ totpAppGoogleName: string;
152
+ totpAppMicrosoftAuthenticatorName: string;
153
+ irreversibleAction: string;
154
+ deletingImplies: string;
155
+ errasingData: string;
156
+ loggingOutImmediately: string;
157
+ accountUnusable: string;
158
+ missingUsernameMessage: string;
159
+ missingFirstNameMessage: string;
160
+ invalidEmailMessage: string;
161
+ missingLastNameMessage: string;
162
+ missingEmailMessage: string;
163
+ missingPasswordMessage: string;
164
+ notMatchPasswordMessage: string;
165
+ invalidUserMessage: string;
166
+ updateReadOnlyAttributesRejectedMessage: string;
167
+ missingTotpMessage: string;
168
+ missingTotpDeviceNameMessage: string;
169
+ invalidPasswordExistingMessage: string;
170
+ invalidPasswordConfirmMessage: string;
171
+ invalidTotpMessage: string;
172
+ usernameExistsMessage: string;
173
+ emailExistsMessage: string;
174
+ readOnlyUserMessage: string;
175
+ readOnlyUsernameMessage: string;
176
+ readOnlyPasswordMessage: string;
177
+ successTotpMessage: string;
178
+ successTotpRemovedMessage: string;
179
+ successGrantRevokedMessage: string;
180
+ accountUpdatedMessage: string;
181
+ accountPasswordUpdatedMessage: string;
182
+ missingIdentityProviderMessage: string;
183
+ invalidFederatedIdentityActionMessage: string;
184
+ identityProviderNotFoundMessage: string;
185
+ federatedIdentityLinkNotActiveMessage: string;
186
+ federatedIdentityRemovingLastProviderMessage: string;
187
+ identityProviderRedirectErrorMessage: string;
188
+ identityProviderRemovedMessage: string;
189
+ identityProviderAlreadyLinkedMessage: string;
190
+ staleCodeAccountMessage: string;
191
+ consentDenied: string;
192
+ "access-denied-when-idp-auth": string;
193
+ accountDisabledMessage: string;
194
+ accountTemporarilyDisabledMessage: string;
195
+ invalidPasswordMinLengthMessage: string;
196
+ invalidPasswordMaxLengthMessage: string;
197
+ invalidPasswordMinLowerCaseCharsMessage: string;
198
+ invalidPasswordMinDigitsMessage: string;
199
+ invalidPasswordMinUpperCaseCharsMessage: string;
200
+ invalidPasswordMinSpecialCharsMessage: string;
201
+ invalidPasswordNotUsernameMessage: string;
202
+ invalidPasswordNotEmailMessage: string;
203
+ invalidPasswordRegexPatternMessage: string;
204
+ invalidPasswordHistoryMessage: string;
205
+ invalidPasswordBlacklistedMessage: string;
206
+ invalidPasswordGenericMessage: string;
207
+ myResources: string;
208
+ myResourcesSub: string;
209
+ doDeny: string;
210
+ doRevoke: string;
211
+ doApprove: string;
212
+ doRemoveSharing: string;
213
+ doRemoveRequest: string;
214
+ peopleAccessResource: string;
215
+ resourceManagedPolicies: string;
216
+ resourceNoPermissionsGrantingAccess: string;
217
+ anyAction: string;
218
+ description: string;
219
+ name: string;
220
+ scopes: string;
221
+ resource: string;
222
+ user: string;
223
+ peopleSharingThisResource: string;
224
+ shareWithOthers: string;
225
+ needMyApproval: string;
226
+ requestsWaitingApproval: string;
227
+ icon: string;
228
+ requestor: string;
229
+ owner: string;
230
+ resourcesSharedWithMe: string;
231
+ permissionRequestion: string;
232
+ permission: string;
233
+ shares: string;
234
+ notBeingShared: string;
235
+ notHaveAnyResource: string;
236
+ noResourcesSharedWithYou: string;
237
+ havePermissionRequestsWaitingForApproval: string;
238
+ clickHereForDetails: string;
239
+ resourceIsNotBeingShared: string;
240
+ locale_ar: string;
241
+ locale_ca: string;
242
+ locale_cs: string;
243
+ locale_de: string;
244
+ locale_en: string;
245
+ locale_es: string;
246
+ locale_fr: string;
247
+ locale_hu: string;
248
+ locale_fa: string;
249
+ locale_it: string;
250
+ locale_ja: string;
251
+ locale_lt: string;
252
+ locale_nl: string;
253
+ locale_no: string;
254
+ locale_pl: string;
255
+ "locale_pt-BR": string;
256
+ locale_ru: string;
257
+ locale_sk: string;
258
+ locale_sv: string;
259
+ locale_th: string;
260
+ locale_tr: string;
261
+ "locale_zh-CN": string;
262
+ locale_fi: string;
263
+ applicationName: string;
264
+ applicationType: string;
265
+ applicationInUse: string;
266
+ clearAllFilter: string;
267
+ activeFilters: string;
268
+ filterByName: string;
269
+ allApps: string;
270
+ internalApps: string;
271
+ thirdpartyApps: string;
272
+ appResults: string;
273
+ clientNotFoundMessage: string;
274
+ authorizedProvider: string;
275
+ authorizedProviderMessage: string;
276
+ identityProvider: string;
277
+ identityProviderMessage: string;
278
+ socialLogin: string;
279
+ userDefined: string;
280
+ removeAccess: string;
281
+ removeAccessMessage: string;
282
+ authenticatorStatusMessage: string;
283
+ authenticatorFinishSetUpTitle: string;
284
+ authenticatorFinishSetUpMessage: string;
285
+ authenticatorSubTitle: string;
286
+ authenticatorSubMessage: string;
287
+ authenticatorMobileTitle: string;
288
+ authenticatorMobileMessage: string;
289
+ authenticatorMobileFinishSetUpMessage: string;
290
+ authenticatorActionSetup: string;
291
+ authenticatorSMSTitle: string;
292
+ authenticatorSMSMessage: string;
293
+ authenticatorSMSFinishSetUpMessage: string;
294
+ authenticatorDefaultStatus: string;
295
+ authenticatorChangePhone: string;
296
+ authenticatorMobileSetupTitle: string;
297
+ smscodeIntroMessage: string;
298
+ mobileSetupStep1: string;
299
+ mobileSetupStep2: string;
300
+ mobileSetupStep3: string;
301
+ scanBarCode: string;
302
+ enterBarCode: string;
303
+ doCopy: string;
304
+ doFinish: string;
305
+ authenticatorSMSCodeSetupTitle: string;
306
+ chooseYourCountry: string;
307
+ enterYourPhoneNumber: string;
308
+ sendVerficationCode: string;
309
+ enterYourVerficationCode: string;
310
+ authenticatorBackupCodesSetupTitle: string;
311
+ realmName: string;
312
+ doDownload: string;
313
+ doPrint: string;
314
+ generateNewBackupCodes: string;
315
+ backtoAuthenticatorPage: string;
316
+ resources: string;
317
+ sharedwithMe: string;
318
+ share: string;
319
+ sharedwith: string;
320
+ accessPermissions: string;
321
+ permissionRequests: string;
322
+ approve: string;
323
+ approveAll: string;
324
+ people: string;
325
+ perPage: string;
326
+ currentPage: string;
327
+ sharetheResource: string;
328
+ group: string;
329
+ selectPermission: string;
330
+ addPeople: string;
331
+ addTeam: string;
332
+ myPermissions: string;
333
+ waitingforApproval: string;
334
+ anyPermission: string;
335
+ "openshift.scope.user_info": string;
336
+ "openshift.scope.user_check-access": string;
337
+ "openshift.scope.user_full": string;
338
+ "openshift.scope.list-projects": string;
339
+ "error-invalid-value": string;
340
+ "error-invalid-blank": string;
341
+ "error-empty": string;
342
+ "error-invalid-length": string;
343
+ "error-invalid-length-too-short": string;
344
+ "error-invalid-length-too-long": string;
345
+ "error-invalid-email": string;
346
+ "error-invalid-number": string;
347
+ "error-number-out-of-range": string;
348
+ "error-number-out-of-range-too-small": string;
349
+ "error-number-out-of-range-too-big": string;
350
+ "error-pattern-no-match": string;
351
+ "error-invalid-uri": string;
352
+ "error-invalid-uri-scheme": string;
353
+ "error-invalid-uri-fragment": string;
354
+ "error-user-attribute-required": string;
355
+ "error-invalid-date": string;
356
+ "error-user-attribute-read-only": string;
357
+ "error-username-invalid-character": string;
358
+ "error-person-name-invalid-character": string;
359
+ } | {
2
360
  doSave: string;
3
361
  doCancel: string;
4
362
  doLogOutAllSessions: string;
@@ -1,15 +1,16 @@
1
1
  //This code was automatically generated by running scripts/generate-i18n-messages.ts
2
2
  //PLEASE DO NOT EDIT MANUALLY
3
+ import * as en from "./en";
3
4
  export async function getMessages(currentLanguageTag) {
4
5
  const { default: messages } = await (() => {
5
6
  switch (currentLanguageTag) {
7
+ case "en": return en;
6
8
  case "ar": return import("./ar");
7
9
  case "ca": return import("./ca");
8
10
  case "cs": return import("./cs");
9
11
  case "da": return import("./da");
10
12
  case "de": return import("./de");
11
13
  case "el": return import("./el");
12
- case "en": return import("./en");
13
14
  case "es": return import("./es");
14
15
  case "fa": return import("./fa");
15
16
  case "fi": return import("./fi");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/account/i18n/baseMessages/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,6BAA6B;AAE7B,MAAM,CAAC,KAAK,UAAU,WAAW,CAAC,kBAA0B;IACxD,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,MAAM,CAAC,GAAG,EAAE;QACtC,QAAQ,kBAAkB,EAAE;YACxB,KAAK,IAAI,CAAC,CAAC,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC;YACjC,KAAK,IAAI,CAAC,CAAC,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC;YACjC,KAAK,IAAI,CAAC,CAAC,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC;YACjC,KAAK,IAAI,CAAC,CAAC,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC;YACjC,KAAK,IAAI,CAAC,CAAC,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC;YACjC,KAAK,IAAI,CAAC,CAAC,OAAO,MAAM,CAAC,MAAM,C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account/TemplateProps";
4
4
  import type { LazyOrNot } from "../../tools/LazyOrNot";
5
- export type PageProps<KcContext, I18nExtended extends I18n> = {
5
+ import type { KcContext } from "../../account/kcContext";
6
+ export type PageProps<NarowedKcContext = KcContext, I18nExtended extends I18n = I18n> = {
6
7
  Template: LazyOrNot<(props: TemplateProps<any, any>) => JSX.Element | null>;
7
- kcContext: KcContext;
8
+ kcContext: NarowedKcContext;
8
9
  i18n: I18nExtended;
9
10
  doUseDefaultCss: boolean;
10
11
  classes?: Partial<Record<ClassKey, string>>;
@@ -2,7 +2,7 @@ export declare const nameOfTheGlobal = "kcContext";
2
2
  export declare const keycloak_resources = "keycloak-resources";
3
3
  export declare const resources_common = "resources-common";
4
4
  export declare const lastKeycloakVersionWithAccountV1 = "21.1.2";
5
- export declare const resolvedViteConfigJsonBasename = ".keycloakifyViteConfig.json";
5
+ export declare const resolvedViteConfigJsonBasename = "vite.json";
6
6
  export declare const basenameOfTheKeycloakifyResourcesDir = "build";
7
7
  export declare const themeTypes: readonly ["login", "account"];
8
8
  export declare const retrocompatPostfix = "_retrocompat";
package/bin/constants.js CHANGED
@@ -5,7 +5,7 @@ exports.nameOfTheGlobal = "kcContext";
5
5
  exports.keycloak_resources = "keycloak-resources";
6
6
  exports.resources_common = "resources-common";
7
7
  exports.lastKeycloakVersionWithAccountV1 = "21.1.2";
8
- exports.resolvedViteConfigJsonBasename = ".keycloakifyViteConfig.json";
8
+ exports.resolvedViteConfigJsonBasename = "vite.json";
9
9
  exports.basenameOfTheKeycloakifyResourcesDir = "build";
10
10
  exports.themeTypes = ["login", "account"];
11
11
  exports.retrocompatPostfix = "_retrocompat";
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/bin/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,eAAe,GAAG,WAAW,CAAC;AAC9B,QAAA,kBAAkB,GAAG,oBAAoB,CAAC;AAC1C,QAAA,gBAAgB,GAAG,kBAAkB,CAAC;AACtC,QAAA,gCAAgC,GAAG,QAAQ,CAAC;AAC5C,QAAA,8BAA8B,GAAG,6BAA6B,CAAC;AAC/D,QAAA,oCAAoC,GAAG,OAAO,CAAC;AAE/C,QAAA,UAAU,GAAG,CAAC,OAAO,EAAE,SAAS,CAAU,CAAC;AAC3C,QAAA,kBAAkB,GAAG,cAAc,CAAC;AACpC,QAAA,kBAAkB,GAAG,YAAY,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/bin/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,eAAe,GAAG,WAAW,CAAC;AAC9B,QAAA,kBAAkB,GAAG,oBAAoB,CAAC;AAC1C,QAAA,gBAAgB,GAAG,kBAAkB,CAAC;AACtC,QAAA,gCAAgC,GAAG,QAAQ,CAAC;AAC5C,QAAA,8BAA8B,GAAG,WAAW,CAAC;AAC7C,QAAA,oCAAoC,GAAG,OAAO,CAAC;AAE/C,QAAA,UAAU,GAAG,CAAC,OAAO,EAAE,SAAS,CAAU,CAAC;AAC3C,QAAA,kBAAkB,GAAG,cAAc,CAAC;AACpC,QAAA,kBAAkB,GAAG,YAAY,CAAC"}
@@ -1,2 +1,14 @@
1
1
  #!/usr/bin/env node
2
- export {};
2
+ import { type BuildOptionsLike } from "./keycloakify/generateTheme/downloadKeycloakStaticResources";
3
+ export declare function copyKeycloakResourcesToPublic(params: {
4
+ processArgv: string[];
5
+ }): Promise<void>;
6
+ export declare function generateKeycloakifyBuildinfoRaw(params: {
7
+ destDirPath: string;
8
+ keycloakifyVersion: string;
9
+ buildOptions: BuildOptionsLike & {
10
+ loginThemeResourcesFromKeycloakVersion: string;
11
+ };
12
+ }): {
13
+ keycloakifyBuildinfoRaw: string;
14
+ };