@keycloakify/angular 0.0.3 → 0.0.5

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 (182) hide show
  1. package/README.md +2 -5
  2. package/account/DefaultPage/DefaultPage.d.ts +2 -30
  3. package/esm2022/account/containers/template/template.component.mjs +6 -6
  4. package/esm2022/account/directives/kc-class/kc-class.directive.mjs +3 -3
  5. package/esm2022/account/pages/account/account.component.mjs +3 -3
  6. package/esm2022/account/pages/applications/applications.component.mjs +3 -3
  7. package/esm2022/account/pages/federatedIdentity/federatedIdentity.component.mjs +3 -3
  8. package/esm2022/account/pages/log/log.component.mjs +3 -3
  9. package/esm2022/account/pages/password/password.component.mjs +3 -3
  10. package/esm2022/account/pages/sessions/sessions.component.mjs +3 -3
  11. package/esm2022/account/pages/totp/totp.component.mjs +3 -3
  12. package/esm2022/account/services/account-resource-injector/account-resource-injector.service.mjs +3 -3
  13. package/esm2022/account/services/i18n/i18n.service.mjs +3 -3
  14. package/esm2022/lib/directives/attributes/attributes.directive.mjs +3 -3
  15. package/esm2022/lib/pipes/input-type/input-type.pipe.mjs +3 -3
  16. package/esm2022/lib/pipes/is-array-with-empty-object/is-array-with-empty-object.pipe.mjs +3 -3
  17. package/esm2022/lib/pipes/kc-sanitize/kc-sanitize.pipe.mjs +3 -3
  18. package/esm2022/lib/pipes/to-array/to-array.pipe.mjs +3 -3
  19. package/esm2022/lib/pipes/to-number/to-number.pipe.mjs +3 -3
  20. package/esm2022/lib/services/resource-injector/resource-injector.service.mjs +6 -5
  21. package/esm2022/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.mjs +7 -53
  22. package/esm2022/login/components/field-errors/field-errors.component.mjs +3 -3
  23. package/esm2022/login/components/group-label/group-label.component.mjs +3 -3
  24. package/esm2022/login/components/input-field-by-type/input-field-by-type.component.mjs +3 -3
  25. package/esm2022/login/components/input-tag/input-tag.component.mjs +3 -3
  26. package/esm2022/login/components/input-tag-selects/input-tag-selects.component.mjs +3 -3
  27. package/esm2022/login/components/logout-other-sessions/logout-other-sessions.component.mjs +3 -3
  28. package/esm2022/login/components/password-wrapper/password-wrapper.component.mjs +3 -3
  29. package/esm2022/login/components/select-tag/select-tag.component.mjs +3 -3
  30. package/esm2022/login/components/textarea-tag/textarea-tag.component.mjs +3 -3
  31. package/esm2022/login/components/user-profile-form-fields/user-profile-form-fields.component.mjs +15 -22
  32. package/esm2022/login/containers/template/template.component.mjs +6 -6
  33. package/esm2022/login/directives/kc-class/kc-class.directive.mjs +3 -3
  34. package/esm2022/login/pages/code/code.component.mjs +3 -3
  35. package/esm2022/login/pages/delete-account-confirm/delete-account-confirm.component.mjs +3 -3
  36. package/esm2022/login/pages/delete-credential/delete-credential.component.mjs +3 -3
  37. package/esm2022/login/pages/error/error.component.mjs +3 -3
  38. package/esm2022/login/pages/frontchannel-logout/frontchannel-logout.component.mjs +3 -3
  39. package/esm2022/login/pages/idp-review-user-profile/idp-review-user-profile.component.mjs +13 -15
  40. package/esm2022/login/pages/info/info.component.mjs +3 -3
  41. package/esm2022/login/pages/login/login.component.mjs +3 -3
  42. package/esm2022/login/pages/login-config-totp/login-config-totp.component.mjs +3 -3
  43. package/esm2022/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.mjs +3 -3
  44. package/esm2022/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.mjs +3 -3
  45. package/esm2022/login/pages/login-idp-link-email/login-idp-link-email.component.mjs +3 -3
  46. package/esm2022/login/pages/login-oauth-grant/login-oauth-grant.component.mjs +3 -3
  47. package/esm2022/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.mjs +3 -3
  48. package/esm2022/login/pages/login-otp/login-otp.component.mjs +3 -3
  49. package/esm2022/login/pages/login-page-expired/login-page-expired.component.mjs +3 -3
  50. package/esm2022/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.mjs +3 -3
  51. package/esm2022/login/pages/login-password/login-password.component.mjs +3 -3
  52. package/esm2022/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.mjs +3 -3
  53. package/esm2022/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.mjs +3 -3
  54. package/esm2022/login/pages/login-reset-otp/login-reset-otp.component.mjs +3 -3
  55. package/esm2022/login/pages/login-reset-password/login-reset-password.component.mjs +3 -3
  56. package/esm2022/login/pages/login-update-password/login-update-password.component.mjs +3 -3
  57. package/esm2022/login/pages/login-update-profile/login-update-profile.component.mjs +13 -15
  58. package/esm2022/login/pages/login-username/login-username.component.mjs +6 -6
  59. package/esm2022/login/pages/login-verify-email/login-verify-email.component.mjs +3 -3
  60. package/esm2022/login/pages/login-x509-info/login-x509-info.component.mjs +3 -3
  61. package/esm2022/login/pages/logout-confirm/logout-confirm.component.mjs +3 -3
  62. package/esm2022/login/pages/register/register.component.mjs +14 -16
  63. package/esm2022/login/pages/saml-post-form/saml-post-form.component.mjs +3 -3
  64. package/esm2022/login/pages/select-authenticator/select-authenticator.component.mjs +3 -3
  65. package/esm2022/login/pages/terms/terms.component.mjs +3 -3
  66. package/esm2022/login/pages/update-email/update-email.component.mjs +13 -15
  67. package/esm2022/login/pages/webauthn-authenticate/webauthn-authenticate.component.mjs +3 -3
  68. package/esm2022/login/pages/webauthn-error/webauthn-error.component.mjs +3 -3
  69. package/esm2022/login/pages/webauthn-register/webauthn-register.component.mjs +3 -3
  70. package/esm2022/login/services/i18n/i18n.service.mjs +3 -3
  71. package/esm2022/login/services/login-resource-injector/login-resource-injector.service.mjs +9 -8
  72. package/esm2022/login/services/user-profile-form/user-profile-form.service.mjs +56 -1004
  73. package/fesm2022/keycloakify-angular-account-containers-template.mjs +6 -6
  74. package/fesm2022/keycloakify-angular-account-directives-kc-class.mjs +3 -3
  75. package/fesm2022/keycloakify-angular-account-pages-account.mjs +3 -3
  76. package/fesm2022/keycloakify-angular-account-pages-applications.mjs +3 -3
  77. package/fesm2022/keycloakify-angular-account-pages-federatedIdentity.mjs +3 -3
  78. package/fesm2022/keycloakify-angular-account-pages-log.mjs +3 -3
  79. package/fesm2022/keycloakify-angular-account-pages-password.mjs +3 -3
  80. package/fesm2022/keycloakify-angular-account-pages-sessions.mjs +3 -3
  81. package/fesm2022/keycloakify-angular-account-pages-totp.mjs +3 -3
  82. package/fesm2022/keycloakify-angular-account-services-account-resource-injector.mjs +3 -3
  83. package/fesm2022/keycloakify-angular-account-services-i18n.mjs +3 -3
  84. package/fesm2022/keycloakify-angular-lib-directives-attributes.mjs +3 -3
  85. package/fesm2022/keycloakify-angular-lib-pipes-input-type.mjs +3 -3
  86. package/fesm2022/keycloakify-angular-lib-pipes-is-array-with-empty-object.mjs +3 -3
  87. package/fesm2022/keycloakify-angular-lib-pipes-kc-sanitize.mjs +3 -3
  88. package/fesm2022/keycloakify-angular-lib-pipes-to-array.mjs +3 -3
  89. package/fesm2022/keycloakify-angular-lib-pipes-to-number.mjs +3 -3
  90. package/fesm2022/keycloakify-angular-lib-services-resource-injector.mjs +5 -4
  91. package/fesm2022/keycloakify-angular-lib-services-resource-injector.mjs.map +1 -1
  92. package/fesm2022/keycloakify-angular-login-components-add-remove-buttons-multi-valued-attribute.mjs +6 -52
  93. package/fesm2022/keycloakify-angular-login-components-add-remove-buttons-multi-valued-attribute.mjs.map +1 -1
  94. package/fesm2022/keycloakify-angular-login-components-field-errors.mjs +3 -3
  95. package/fesm2022/keycloakify-angular-login-components-group-label.mjs +3 -3
  96. package/fesm2022/keycloakify-angular-login-components-input-field-by-type.mjs +3 -3
  97. package/fesm2022/keycloakify-angular-login-components-input-tag-selects.mjs +3 -3
  98. package/fesm2022/keycloakify-angular-login-components-input-tag.mjs +3 -3
  99. package/fesm2022/keycloakify-angular-login-components-logout-other-sessions.mjs +3 -3
  100. package/fesm2022/keycloakify-angular-login-components-password-wrapper.mjs +3 -3
  101. package/fesm2022/keycloakify-angular-login-components-select-tag.mjs +3 -3
  102. package/fesm2022/keycloakify-angular-login-components-textarea-tag.mjs +3 -3
  103. package/fesm2022/keycloakify-angular-login-components-user-profile-form-fields.mjs +14 -21
  104. package/fesm2022/keycloakify-angular-login-components-user-profile-form-fields.mjs.map +1 -1
  105. package/fesm2022/keycloakify-angular-login-containers-template.mjs +6 -6
  106. package/fesm2022/keycloakify-angular-login-directives-kc-class.mjs +3 -3
  107. package/fesm2022/keycloakify-angular-login-pages-code.mjs +3 -3
  108. package/fesm2022/keycloakify-angular-login-pages-delete-account-confirm.mjs +3 -3
  109. package/fesm2022/keycloakify-angular-login-pages-delete-credential.mjs +3 -3
  110. package/fesm2022/keycloakify-angular-login-pages-error.mjs +3 -3
  111. package/fesm2022/keycloakify-angular-login-pages-frontchannel-logout.mjs +3 -3
  112. package/fesm2022/keycloakify-angular-login-pages-idp-review-user-profile.mjs +12 -14
  113. package/fesm2022/keycloakify-angular-login-pages-idp-review-user-profile.mjs.map +1 -1
  114. package/fesm2022/keycloakify-angular-login-pages-info.mjs +3 -3
  115. package/fesm2022/keycloakify-angular-login-pages-login-config-totp.mjs +3 -3
  116. package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm-override.mjs +3 -3
  117. package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm.mjs +3 -3
  118. package/fesm2022/keycloakify-angular-login-pages-login-idp-link-email.mjs +3 -3
  119. package/fesm2022/keycloakify-angular-login-pages-login-oauth-grant.mjs +3 -3
  120. package/fesm2022/keycloakify-angular-login-pages-login-oauth2-device-verify-user-code.mjs +3 -3
  121. package/fesm2022/keycloakify-angular-login-pages-login-otp.mjs +3 -3
  122. package/fesm2022/keycloakify-angular-login-pages-login-page-expired.mjs +3 -3
  123. package/fesm2022/keycloakify-angular-login-pages-login-passkeys-conditional-authenticate.mjs +3 -3
  124. package/fesm2022/keycloakify-angular-login-pages-login-password.mjs +3 -3
  125. package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-config.mjs +3 -3
  126. package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-input.mjs +3 -3
  127. package/fesm2022/keycloakify-angular-login-pages-login-reset-otp.mjs +3 -3
  128. package/fesm2022/keycloakify-angular-login-pages-login-reset-password.mjs +3 -3
  129. package/fesm2022/keycloakify-angular-login-pages-login-update-password.mjs +3 -3
  130. package/fesm2022/keycloakify-angular-login-pages-login-update-profile.mjs +12 -14
  131. package/fesm2022/keycloakify-angular-login-pages-login-update-profile.mjs.map +1 -1
  132. package/fesm2022/keycloakify-angular-login-pages-login-username.mjs +5 -5
  133. package/fesm2022/keycloakify-angular-login-pages-login-username.mjs.map +1 -1
  134. package/fesm2022/keycloakify-angular-login-pages-login-verify-email.mjs +3 -3
  135. package/fesm2022/keycloakify-angular-login-pages-login-x509-info.mjs +3 -3
  136. package/fesm2022/keycloakify-angular-login-pages-login.mjs +3 -3
  137. package/fesm2022/keycloakify-angular-login-pages-logout-confirm.mjs +3 -3
  138. package/fesm2022/keycloakify-angular-login-pages-register.mjs +13 -15
  139. package/fesm2022/keycloakify-angular-login-pages-register.mjs.map +1 -1
  140. package/fesm2022/keycloakify-angular-login-pages-saml-post-form.mjs +3 -3
  141. package/fesm2022/keycloakify-angular-login-pages-select-authenticator.mjs +3 -3
  142. package/fesm2022/keycloakify-angular-login-pages-terms.mjs +3 -3
  143. package/fesm2022/keycloakify-angular-login-pages-update-email.mjs +12 -14
  144. package/fesm2022/keycloakify-angular-login-pages-update-email.mjs.map +1 -1
  145. package/fesm2022/keycloakify-angular-login-pages-webauthn-authenticate.mjs +3 -3
  146. package/fesm2022/keycloakify-angular-login-pages-webauthn-error.mjs +3 -3
  147. package/fesm2022/keycloakify-angular-login-pages-webauthn-register.mjs +3 -3
  148. package/fesm2022/keycloakify-angular-login-services-i18n.mjs +3 -3
  149. package/fesm2022/keycloakify-angular-login-services-login-resource-injector.mjs +8 -7
  150. package/fesm2022/keycloakify-angular-login-services-login-resource-injector.mjs.map +1 -1
  151. package/fesm2022/keycloakify-angular-login-services-user-profile-form.mjs +55 -1003
  152. package/fesm2022/keycloakify-angular-login-services-user-profile-form.mjs.map +1 -1
  153. package/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.d.ts +0 -1
  154. package/login/components/user-profile-form-fields/user-profile-form-fields.component.d.ts +3 -13
  155. package/login/pages/idp-review-user-profile/idp-review-user-profile.component.d.ts +1 -2
  156. package/login/pages/login-update-profile/login-update-profile.component.d.ts +1 -2
  157. package/login/pages/register/register.component.d.ts +1 -2
  158. package/login/pages/update-email/update-email.component.d.ts +1 -2
  159. package/login/services/user-profile-form/user-profile-form.service.d.ts +20 -41
  160. package/package.json +2 -8
  161. package/src/lib/services/resource-injector/resource-injector.service.ts +2 -1
  162. package/src/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.ts +3 -69
  163. package/src/login/components/user-profile-form-fields/user-profile-form-fields.component.html +71 -68
  164. package/src/login/components/user-profile-form-fields/user-profile-form-fields.component.ts +6 -21
  165. package/src/login/pages/idp-review-user-profile/idp-review-user-profile.component.ts +6 -13
  166. package/src/login/pages/login-update-profile/login-update-profile.component.ts +6 -12
  167. package/src/login/pages/login-username/login-username.component.html +0 -1
  168. package/src/login/pages/register/register.component.html +1 -4
  169. package/src/login/pages/register/register.component.ts +5 -10
  170. package/src/login/pages/update-email/update-email.component.ts +6 -12
  171. package/src/login/services/login-resource-injector/login-resource-injector.service.ts +5 -4
  172. package/src/login/services/user-profile-form/user-profile-form.service.ts +103 -1433
  173. package/esm2022/login/services/submit/keycloakify-angular-login-services-submit.mjs +0 -5
  174. package/esm2022/login/services/submit/public-api.mjs +0 -2
  175. package/esm2022/login/services/submit/submit.service.mjs +0 -20
  176. package/fesm2022/keycloakify-angular-login-services-submit.mjs +0 -27
  177. package/fesm2022/keycloakify-angular-login-services-submit.mjs.map +0 -1
  178. package/login/services/submit/index.d.ts +0 -5
  179. package/login/services/submit/public-api.d.ts +0 -1
  180. package/login/services/submit/submit.service.d.ts +0 -9
  181. package/src/login/services/submit/index.ts +0 -1
  182. package/src/login/services/submit/submit.service.ts +0 -12
package/README.md CHANGED
@@ -53,9 +53,7 @@ If you want to make changes to the library make sure to follow these steps to se
53
53
 
54
54
  ### In the library:
55
55
 
56
- 1. Run `ng build` (preferably in watch mode)
57
- 2. `cd dist`
58
- 3. `npm link`
56
+ 1. Run `yarn link-in-starter`
59
57
 
60
58
  ### In the starter:
61
59
 
@@ -72,7 +70,6 @@ If you want to make changes to the library make sure to follow these steps to se
72
70
  }
73
71
  }
74
72
  ```
75
- 2. Run `npm link @keycloakify/keycloakify-angular`
76
- 3. `ng serve`
73
+ 2. `ng serve`
77
74
 
78
75
  You are good to go 🚀
@@ -1,38 +1,10 @@
1
1
  import { Type } from '@angular/core';
2
2
  import type { ClassKey } from 'keycloakify/account';
3
3
  import type { KcContext } from '@keycloakify/angular/account/KcContext';
4
- declare const DefaultPage: (pageId: KcContext['pageId'], doUseDefaultCss?: boolean, classes?: {
5
- kcHtmlClass?: string | undefined;
6
- kcBodyClass?: string | undefined;
7
- kcButtonClass?: string | undefined;
8
- kcButtonPrimaryClass?: string | undefined;
9
- kcButtonLargeClass?: string | undefined;
10
- kcButtonDefaultClass?: string | undefined;
11
- kcContentWrapperClass?: string | undefined;
12
- kcFormClass?: string | undefined;
13
- kcFormGroupClass?: string | undefined;
14
- kcInputWrapperClass?: string | undefined;
15
- kcLabelClass?: string | undefined;
16
- kcInputClass?: string | undefined;
17
- kcInputErrorMessageClass?: string | undefined;
18
- }) => Promise<{
4
+ declare const DefaultPage: (pageId: KcContext["pageId"], doUseDefaultCss?: boolean, classes?: { [key in ClassKey]?: string; }) => Promise<{
19
5
  ComponentBootstrap: Type<unknown>;
20
6
  doMakeUserConfirmPassword: boolean;
21
7
  doUseDefaultCss: boolean;
22
- classes: {
23
- kcHtmlClass?: string | undefined;
24
- kcBodyClass?: string | undefined;
25
- kcButtonClass?: string | undefined;
26
- kcButtonPrimaryClass?: string | undefined;
27
- kcButtonLargeClass?: string | undefined;
28
- kcButtonDefaultClass?: string | undefined;
29
- kcContentWrapperClass?: string | undefined;
30
- kcFormClass?: string | undefined;
31
- kcFormGroupClass?: string | undefined;
32
- kcInputWrapperClass?: string | undefined;
33
- kcLabelClass?: string | undefined;
34
- kcInputClass?: string | undefined;
35
- kcInputErrorMessageClass?: string | undefined;
36
- };
8
+ classes: { [key in ClassKey]?: string; };
37
9
  }>;
38
10
  export { DefaultPage };
@@ -25,10 +25,10 @@ export class DynamicPageInjectorComponent {
25
25
  this.componentCreated.emit(compRef.instance);
26
26
  }, { allowSignalWrites: true });
27
27
  }
28
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: DynamicPageInjectorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
29
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.7", type: DynamicPageInjectorComponent, isStandalone: true, selector: "kc-dynamic-page-injector", inputs: { page: { classPropertyName: "page", publicName: "page", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { componentCreated: "componentCreated" }, ngImport: i0, template: ``, isInline: true }); }
28
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: DynamicPageInjectorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
29
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.8", type: DynamicPageInjectorComponent, isStandalone: true, selector: "kc-dynamic-page-injector", inputs: { page: { classPropertyName: "page", publicName: "page", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { componentCreated: "componentCreated" }, ngImport: i0, template: ``, isInline: true }); }
30
30
  }
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: DynamicPageInjectorComponent, decorators: [{
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: DynamicPageInjectorComponent, decorators: [{
32
32
  type: Component,
33
33
  args: [{
34
34
  selector: 'kc-dynamic-page-injector',
@@ -77,15 +77,15 @@ export class TemplateComponent extends ComponentReference {
77
77
  this.applyKcIndexClasses();
78
78
  this.#cdr.markForCheck();
79
79
  }
80
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: TemplateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
81
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.7", type: TemplateComponent, isStandalone: true, selector: "kc-root", inputs: { page: { classPropertyName: "page", publicName: "page", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
80
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: TemplateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
81
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.8", type: TemplateComponent, isStandalone: true, selector: "kc-root", inputs: { page: { classPropertyName: "page", publicName: "page", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
82
82
  {
83
83
  provide: ComponentReference,
84
84
  useExisting: forwardRef(() => TemplateComponent)
85
85
  }
86
86
  ], usesInheritance: true, ngImport: i0, template: "@let enabledLanguages = i18n.enabledLanguages;\n@let currentLanguage = i18n.currentLanguage;\n@let url = kcContext.url;\n@let features = kcContext.features;\n@let realm = kcContext.realm;\n@let message = kcContext.message;\n@let referrer = kcContext.referrer;\n@let isReadyToRender = isReadyToRender$ | async;\n\n@if (isReadyToRender) {\n <header class=\"navbar navbar-default navbar-pf navbar-main header\">\n <nav\n class=\"navbar\"\n role=\"navigation\"\n >\n <div class=\"navbar-header\">\n <div class=\"container\">\n <h1 class=\"navbar-title\">Keycloak</h1>\n </div>\n </div>\n <div class=\"navbar-collapse navbar-collapse-1\">\n <div class=\"container\">\n <ul class=\"nav navbar-nav navbar-utility\">\n @if (enabledLanguages.length > 1) {\n <li>\n <div\n class=\"kc-dropdown\"\n id=\"kc-locale-dropdown\"\n >\n <a\n href=\"#\"\n id=\"kc-current-locale-link\"\n >\n {{ currentLanguage.label }}\n </a>\n <ul>\n @for (enabledLanguage of enabledLanguages; track enabledLanguage.languageTag) {\n @let label = enabledLanguage.label;\n @let href = enabledLanguage.href;\n\n <li class=\"kc-dropdown-item\">\n <a [href]=\"href\">{{ label }}</a>\n </li>\n }\n </ul>\n </div>\n </li>\n }\n @if (!!referrer?.url) {\n <a\n id=\"referrer\"\n [href]=\"referrer?.url\"\n >\n {{ i18n.msgStr('backTo', referrer?.name) }}\n </a>\n }\n <li>\n <a [href]=\"url.getLogoutUrl()\">{{ i18n.msgStr('doSignOut') }}</a>\n </li>\n </ul>\n </div>\n </div>\n </nav>\n </header>\n\n <div class=\"container\">\n <div class=\"bs-sidebar col-sm-3\">\n <ul>\n <li [ngClass]=\"{ active: active === 'account' }\">\n <a [href]=\"url.accountUrl\">{{ i18n.msgStr('account') }}</a>\n </li>\n @if (features.passwordUpdateSupported) {\n <li [ngClass]=\"{ active: active === 'password' }\">\n <a [href]=\"url.passwordUrl\">{{ i18n.msgStr('password') }}</a>\n </li>\n }\n <li [ngClass]=\"{ active: active === 'totp' }\">\n <a [href]=\"url.totpUrl\">{{ i18n.msgStr('authenticator') }}</a>\n </li>\n @if (features.identityFederation) {\n <li [ngClass]=\"{ active: active === 'social' }\">\n <a [href]=\"url.socialUrl\">{{ i18n.msgStr('federatedIdentity') }}</a>\n </li>\n }\n <li [ngClass]=\"{ active: active === 'sessions' }\">\n <a [href]=\"url.sessionsUrl\">{{ i18n.msgStr('sessions') }}</a>\n </li>\n <li [ngClass]=\"{ active: active === 'applications' }\">\n <a [href]=\"url.applicationsUrl\">{{ i18n.msgStr('applications') }}</a>\n </li>\n @if (features.log) {\n <li [ngClass]=\"{ active: active === 'log' }\">\n <a [href]=\"url.logUrl\">{{ i18n.msgStr('log') }}</a>\n </li>\n }\n @if (realm.userManagedAccessAllowed && features.authorization) {\n <li [ngClass]=\"{ active: active === 'authorization' }\">\n <a [href]=\"url.resourceUrl\">{{ i18n.msgStr('myResources') }}</a>\n </li>\n }\n </ul>\n </div>\n\n <div class=\"col-sm-9 content-area\">\n @if (message) {\n <div [ngClass]=\"['alert', 'alert-' + message.type]\">\n @switch (message.type) {\n @case ('success') {\n <span class=\"pficon pficon-ok\"></span>\n }\n @case ('error') {\n <span class=\"pficon pficon-error-circle-o\"></span>\n }\n }\n <span\n class=\"kc-feedback-text\"\n [innerHTML]=\"message.summary | kcSanitize: 'html'\"\n ></span>\n </div>\n }\n @let pageRef = page();\n @if (!!pageRef) {\n <kc-dynamic-page-injector\n [page]=\"pageRef\"\n (componentCreated)=\"onComponentCreated($event)\"\n />\n }\n </div>\n </div>\n}\n", dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: KcSanitizePipe, name: "kcSanitize" }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: DynamicPageInjectorComponent, selector: "kc-dynamic-page-injector", inputs: ["page"], outputs: ["componentCreated"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
87
87
  }
88
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: TemplateComponent, decorators: [{
88
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: TemplateComponent, decorators: [{
89
89
  type: Component,
90
90
  args: [{ selector: 'kc-root', standalone: true, imports: [AsyncPipe, KcSanitizePipe, NgTemplateOutlet, KcClassDirective, NgClass, DynamicPageInjectorComponent], changeDetection: ChangeDetectionStrategy.OnPush, providers: [
91
91
  {
@@ -122,10 +122,10 @@ export class KcClassDirective {
122
122
  });
123
123
  }
124
124
  }
125
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: KcClassDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
126
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: KcClassDirective, isStandalone: true, selector: "[kcClass]", inputs: { klass: ["class", "klass"], ngClass: "ngClass", kcClass: "kcClass" }, ngImport: i0 }); }
125
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: KcClassDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
126
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.8", type: KcClassDirective, isStandalone: true, selector: "[kcClass]", inputs: { klass: ["class", "klass"], ngClass: "ngClass", kcClass: "kcClass" }, ngImport: i0 }); }
127
127
  }
128
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: KcClassDirective, decorators: [{
128
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: KcClassDirective, decorators: [{
129
129
  type: Directive,
130
130
  args: [{ selector: '[kcClass]', standalone: true }]
131
131
  }], propDecorators: { klass: [{
@@ -19,15 +19,15 @@ export class AccountComponent extends ComponentReference {
19
19
  };
20
20
  this.active = 'account';
21
21
  }
22
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AccountComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
23
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.7", type: AccountComponent, isStandalone: true, selector: "kc-account", providers: [
22
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: AccountComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
23
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.8", type: AccountComponent, isStandalone: true, selector: "kc-account", providers: [
24
24
  {
25
25
  provide: ComponentReference,
26
26
  useExisting: forwardRef(() => AccountComponent)
27
27
  }
28
28
  ], usesInheritance: true, ngImport: i0, template: "@let url = kcContext.url;\n@let realm = kcContext.realm;\n@let messagesPerField = kcContext.messagesPerField;\n@let stateChecker = kcContext.stateChecker;\n@let account = kcContext.account;\n@let referrer = kcContext.referrer;\n\n<div class=\"row\">\n <div class=\"col-md-10\">\n <h2>{{ i18n.msgStr('editAccountHtmlTitle') }}</h2>\n </div>\n <div class=\"col-md-2 subtitle\">\n <span class=\"subtitle\"> <span class=\"required\">*</span> {{ i18n.msgStr('requiredFields') }} </span>\n </div>\n</div>\n<form\n class=\"form-horizontal\"\n method=\"post\"\n [action]=\"url.accountUrl\"\n>\n <input\n type=\"hidden\"\n id=\"stateChecker\"\n name=\"stateChecker\"\n [value]=\"stateChecker\"\n />\n @if (!realm.registrationEmailAsUsername) {\n <div\n class=\"form-group\"\n [ngClass]=\"{ 'has-error': messagesPerField.existsError('username') }\"\n >\n <div class=\"col-sm-2 col-md-2\">\n <label\n for=\"username\"\n class=\"control-label\"\n >\n {{ i18n.msgStr('username') }}\n </label>\n @if (realm.editUsernameAllowed) {\n <span class=\"required\">*</span>\n }\n </div>\n\n <div class=\"col-sm-10 col-md-10\">\n <input\n type=\"text\"\n class=\"form-control\"\n id=\"username\"\n name=\"username\"\n [disabled]=\"!realm.editUsernameAllowed\"\n [defaultValue]=\"account.username ?? ''\"\n />\n </div>\n </div>\n }\n\n <div\n class=\"form-group\"\n [ngClass]=\"{ 'has-error': messagesPerField.existsError('email') }\"\n >\n <div class=\"col-sm-2 col-md-2\">\n <label\n for=\"email\"\n class=\"control-label\"\n >\n {{ i18n.msgStr('email') }}\n </label>\n <span class=\"required\">*</span>\n </div>\n\n <div class=\"col-sm-10 col-md-10\">\n <input\n type=\"text\"\n class=\"form-control\"\n id=\"email\"\n name=\"email\"\n autoFocus\n [defaultValue]=\"account.email ?? ''\"\n />\n </div>\n </div>\n\n <div\n class=\"form-group\"\n [ngClass]=\"{ 'has-error': messagesPerField.existsError('firstName') }\"\n >\n <div class=\"col-sm-2 col-md-2\">\n <label\n for=\"firstName\"\n class=\"control-label\"\n >\n {{ i18n.msgStr('firstName') }}\n </label>\n <span class=\"required\">*</span>\n </div>\n\n <div class=\"col-sm-10 col-md-10\">\n <input\n type=\"text\"\n class=\"form-control\"\n id=\"firstName\"\n name=\"firstName\"\n [defaultValue]=\"account.firstName\"\n />\n </div>\n </div>\n\n <div\n class=\"form-group\"\n [ngClass]=\"{ 'has-error': messagesPerField.existsError('lastName') }\"\n >\n <div class=\"col-sm-2 col-md-2\">\n <label\n for=\"lastName\"\n class=\"control-label\"\n >\n {{ i18n.msgStr('lastName') }}\n </label>\n <span class=\"required\">*</span>\n </div>\n\n <div class=\"col-sm-10 col-md-10\">\n <input\n type=\"text\"\n class=\"form-control\"\n id=\"lastName\"\n name=\"lastName\"\n [defaultValue]=\"account.lastName ?? ''\"\n />\n </div>\n </div>\n\n <div class=\"form-group\">\n <div\n id=\"kc-form-buttons\"\n class=\"col-md-offset-2 col-md-10 submit\"\n >\n <div>\n @if (referrer) {\n <a [href]=\"referrer?.url\">{{ i18n.msgStr('backToApplication') }}</a>\n }\n <button\n type=\"submit\"\n name=\"submitAction\"\n value=\"Save\"\n [kcClass]=\"['kcButtonClass', 'kcButtonPrimaryClass', 'kcButtonLargeClass']\"\n >\n {{ i18n.msgStr('doSave') }}\n </button>\n <button\n type=\"submit\"\n name=\"submitAction\"\n value=\"Cancel\"\n [kcClass]=\"['kcButtonClass', 'kcButtonPrimaryClass', 'kcButtonLargeClass']\"\n >\n {{ i18n.msgStr('doCancel') }}\n </button>\n </div>\n </div>\n </div>\n</form>\n", dependencies: [{ kind: "directive", type: KcClassDirective, selector: "[kcClass]", inputs: ["class", "ngClass", "kcClass"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
29
29
  }
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AccountComponent, decorators: [{
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: AccountComponent, decorators: [{
31
31
  type: Component,
32
32
  args: [{ standalone: true, imports: [KcClassDirective, NgClass], selector: 'kc-account', providers: [
33
33
  {
@@ -17,15 +17,15 @@ export class ApplicationsComponent extends ComponentReference {
17
17
  this.classes = inject(ACCOUNT_CLASSES);
18
18
  this.active = 'applications';
19
19
  }
20
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: ApplicationsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
21
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.7", type: ApplicationsComponent, isStandalone: true, selector: "kc-applications", providers: [
20
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: ApplicationsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
21
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.8", type: ApplicationsComponent, isStandalone: true, selector: "kc-applications", providers: [
22
22
  {
23
23
  provide: ComponentReference,
24
24
  useExisting: forwardRef(() => ApplicationsComponent)
25
25
  }
26
26
  ], usesInheritance: true, ngImport: i0, template: "@let url = kcContext.url;\n@let stateChecker = kcContext.stateChecker;\n@let applications = kcContext.applications?.applications;\n\n<div class=\"row\">\n <div class=\"col-md-10\">\n <h2>{{ i18n.msgStr('applicationsHtmlTitle') }}</h2>\n </div>\n\n <form\n method=\"post\"\n [action]=\"url.applicationsUrl\"\n >\n <input\n type=\"hidden\"\n id=\"stateChecker\"\n name=\"stateChecker\"\n [value]=\"stateChecker\"\n />\n <input\n type=\"hidden\"\n id=\"referrer\"\n name=\"referrer\"\n [value]=\"stateChecker\"\n />\n\n <table class=\"table table-striped table-bordered\">\n <thead>\n <tr>\n <td>{{ i18n.msgStr('application') }}</td>\n <td>{{ i18n.msgStr('availableRoles') }}</td>\n <td>{{ i18n.msgStr('grantedPermissions') }}</td>\n <td>{{ i18n.msgStr('additionalGrants') }}</td>\n <td>{{ i18n.msgStr('action') }}</td>\n </tr>\n </thead>\n\n <tbody>\n @for (application of applications ?? []; track application) {\n <tr>\n <td>\n @if (application.effectiveUrl) {\n <a [href]=\"application.effectiveUrl\">\n @if (application.client.name) {\n {{ i18n.advancedMsgStr(application.client.name) }}\n } @else {\n {{ application.client.clientId }}\n }\n </a>\n } @else {\n @if (application.client.name) {\n {{ i18n.advancedMsgStr(application.client.name) }}\n } @else {\n {{ application.client.clientId }}\n }\n }\n </td>\n\n <td>\n @if (!(application.realmRolesAvailable | isArrayWithEmptyObject)) {\n @for (role of application.realmRolesAvailable; track role; let last = $last) {\n <span>\n @if (role.description) {\n {{ i18n.advancedMsgStr(role.description) }}\n } @else {\n {{ i18n.advancedMsgStr(role.name) }}\n }\n @if (!last) {\n ,&nbsp;\n }\n </span>\n }\n }\n @if (application.resourceRolesAvailable) {\n @for (resource of application.resourceRolesAvailable | keyvalue; track resource.key) {\n <span>\n @if (!(application.realmRolesAvailable | isArrayWithEmptyObject)) {\n ,&nbsp;\n }\n @for (\n clientRole of application.resourceRolesAvailable[resource.key];\n track clientRole;\n let roleLast = $last\n ) {\n <span>\n {{\n i18n.advancedMsgStr(clientRole.roleDescription ? clientRole.roleDescription : clientRole.roleName)\n }}\n {{ i18n.msgStr('inResource') }}\n <strong>\n {{\n clientRole.clientName ? i18n.advancedMsgStr(clientRole.clientName) : clientRole.clientId\n }}</strong\n >\n @if (!roleLast) {\n ,&nbsp;\n }\n </span>\n }\n </span>\n }\n }\n </td>\n\n <td>\n @if (application.client.consentRequired) {\n @for (claim of application.clientScopesGranted; track claim; let last = $last) {\n {{ i18n.advancedMsgStr(claim) }}\n @if (!last) {\n ,&nbsp;\n }\n }\n } @else {\n <strong>{{ i18n.msgStr('fullAccess') }}</strong>\n }\n </td>\n\n <td>\n @for (grant of application.additionalGrants; track grant; let last = $last) {\n {{ i18n.advancedMsgStr(grant) }}\n @if (!last) {\n ,&nbsp;\n }\n }\n </td>\n\n <td>\n @if (\n (application.client.consentRequired && application.clientScopesGranted.length > 0) ||\n application.additionalGrants.length > 0\n ) {\n <button\n type=\"submit\"\n name=\"clientId\"\n [kcClass]=\"['kcButtonPrimaryClass', 'kcButtonClass']\"\n [id]=\"'revoke-' + application.client.clientId\"\n [value]=\"application.client.id\"\n >\n {{ i18n.msgStr('revoke') }}\n </button>\n }\n </td>\n </tr>\n }\n </tbody>\n </table>\n </form>\n</div>\n", dependencies: [{ kind: "directive", type: KcClassDirective, selector: "[kcClass]", inputs: ["class", "ngClass", "kcClass"] }, { kind: "pipe", type: KeyValuePipe, name: "keyvalue" }, { kind: "pipe", type: IsArrayWithEmptyObjectPipe, name: "isArrayWithEmptyObject" }] }); }
27
27
  }
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: ApplicationsComponent, decorators: [{
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: ApplicationsComponent, decorators: [{
29
29
  type: Component,
30
30
  args: [{ standalone: true, imports: [KcClassDirective, NgClass, KeyValuePipe, IsArrayWithEmptyObjectPipe], selector: 'kc-applications', providers: [
31
31
  {
@@ -16,15 +16,15 @@ export class FederatedIdentityComponent extends ComponentReference {
16
16
  this.classes = inject(ACCOUNT_CLASSES);
17
17
  this.active = 'social';
18
18
  }
19
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FederatedIdentityComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
20
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.7", type: FederatedIdentityComponent, isStandalone: true, selector: "kc-federatedIdentity", providers: [
19
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: FederatedIdentityComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
20
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.8", type: FederatedIdentityComponent, isStandalone: true, selector: "kc-federatedIdentity", providers: [
21
21
  {
22
22
  provide: ComponentReference,
23
23
  useExisting: forwardRef(() => FederatedIdentityComponent)
24
24
  }
25
25
  ], usesInheritance: true, ngImport: i0, template: "@let url = kcContext.url;\n@let federatedIdentity = kcContext.federatedIdentity;\n@let stateChecker = kcContext.stateChecker;\n\n<div class=\"main-layout social\">\n <div class=\"row\">\n <div class=\"col-md-10\">\n <h2>{{ i18n.msgStr('federatedIdentitiesHtmlTitle') }}</h2>\n </div>\n </div>\n <div id=\"federated-identities\">\n @for (identity of federatedIdentity.identities; track identity) {\n <div class=\"row margin-bottom\">\n <div class=\"col-sm-2 col-md-2\">\n <label\n class=\"control-label\"\n [for]=\"identity.providerId\"\n >\n {{ identity.displayName }}\n </label>\n </div>\n <div class=\"col-sm-5 col-md-5\">\n <input\n disabled\n class=\"form-control\"\n [value]=\"identity.userName\"\n />\n </div>\n <div class=\"col-sm-5 col-md-5\">\n @if (identity.connected) {\n @if (federatedIdentity.removeLinkPossible) {\n <form\n method=\"post\"\n class=\"form-inline\"\n [action]=\"url.socialUrl\"\n >\n <input\n type=\"hidden\"\n name=\"stateChecker\"\n [value]=\"stateChecker\"\n />\n <input\n type=\"hidden\"\n name=\"action\"\n value=\"remove\"\n />\n <input\n type=\"hidden\"\n name=\"providerId\"\n [value]=\"identity.providerId\"\n />\n <button\n class=\"btn btn-default\"\n [id]=\"'remove-link-' + identity.providerId\"\n >\n {{ i18n.msgStr('doRemove') }}\n </button>\n </form>\n }\n } @else {\n <form\n method=\"post\"\n class=\"form-inline\"\n [action]=\"url.socialUrl\"\n >\n <input\n type=\"hidden\"\n name=\"stateChecker\"\n [value]=\"stateChecker\"\n />\n <input\n type=\"hidden\"\n name=\"action\"\n value=\"add\"\n />\n <input\n type=\"hidden\"\n name=\"providerId\"\n [value]=\"identity.providerId\"\n />\n <button\n class=\"btn btn-default\"\n [id]=\"'add-link-' + identity.providerId\"\n >\n {{ i18n.msgStr('doAdd') }}\n </button>\n </form>\n }\n </div>\n </div>\n }\n </div>\n</div>\n" }); }
26
26
  }
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FederatedIdentityComponent, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: FederatedIdentityComponent, decorators: [{
28
28
  type: Component,
29
29
  args: [{ standalone: true, imports: [KcClassDirective, NgClass], selector: 'kc-federatedIdentity', providers: [
30
30
  {
@@ -16,15 +16,15 @@ export class LogComponent extends ComponentReference {
16
16
  this.classes = inject(ACCOUNT_CLASSES);
17
17
  this.active = 'log';
18
18
  }
19
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: LogComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
20
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.7", type: LogComponent, isStandalone: true, selector: "kc-log", providers: [
19
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: LogComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
20
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.8", type: LogComponent, isStandalone: true, selector: "kc-log", providers: [
21
21
  {
22
22
  provide: ComponentReference,
23
23
  useExisting: forwardRef(() => LogComponent)
24
24
  }
25
25
  ], usesInheritance: true, ngImport: i0, template: "@let log = kcContext.log;\n\n<div [kcClass]=\"'kcContentWrapperClass'\">\n <div class=\"col-md-10\">\n <h2>{{ i18n.msgStr('accountLogHtmlTitle') }}</h2>\n </div>\n\n <table class=\"table table-striped table-bordered\">\n <thead>\n <tr>\n <td>{{ i18n.msgStr('date') }}</td>\n <td>{{ i18n.msgStr('event') }}</td>\n <td>{{ i18n.msgStr('ip') }}</td>\n <td>{{ i18n.msgStr('client') }}</td>\n <td>{{ i18n.msgStr('details') }}</td>\n </tr>\n </thead>\n\n <tbody>\n @for (event of log.events; track event) {\n <tr>\n <td>{{ event.date ? (event.date | date) : '' }}</td>\n <td>{{ event.event }}</td>\n <td>{{ event.ipAddress }}</td>\n <td>{{ event.client || '' }}</td>\n <td>\n @for (detail of event.details; track detail; let last = $last) {\n <span>\n {{ detail.key }} = {{ detail.value }}\n @if (!last) {\n ,&nbsp;\n }\n </span>\n }\n </td>\n </tr>\n }\n </tbody>\n </table>\n</div>\n", dependencies: [{ kind: "directive", type: KcClassDirective, selector: "[kcClass]", inputs: ["class", "ngClass", "kcClass"] }, { kind: "pipe", type: DatePipe, name: "date" }] }); }
26
26
  }
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: LogComponent, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: LogComponent, decorators: [{
28
28
  type: Component,
29
29
  args: [{ standalone: true, imports: [KcClassDirective, NgClass, DatePipe], selector: 'kc-log', providers: [
30
30
  {
@@ -88,15 +88,15 @@ export class PasswordComponent extends ComponentReference {
88
88
  this.hasNewPasswordConfirmBlurred.set(true);
89
89
  this.checkNewPasswordConfirm(this.newPasswordConfirm());
90
90
  }
91
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: PasswordComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
92
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.7", type: PasswordComponent, isStandalone: true, selector: "kc-password", providers: [
91
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: PasswordComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
92
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.8", type: PasswordComponent, isStandalone: true, selector: "kc-password", providers: [
93
93
  {
94
94
  provide: ComponentReference,
95
95
  useExisting: forwardRef(() => PasswordComponent)
96
96
  }
97
97
  ], usesInheritance: true, ngImport: i0, template: "@let url = kcContext.url;\n@let password = kcContext.password;\n@let account = kcContext.account;\n@let stateChecker = kcContext.stateChecker;\n\n<div class=\"row\">\n <div class=\"col-md-10\">\n <h2>{{ i18n.msgStr('changePasswordHtmlTitle') }}</h2>\n </div>\n <div class=\"col-md-2 subtitle\">\n <span class=\"subtitle\">{{ i18n.msgStr('allFieldsRequired') }}</span>\n </div>\n</div>\n\n<form\n class=\"form-horizontal\"\n method=\"post\"\n [action]=\"url.passwordUrl\"\n>\n <input\n type=\"text\"\n id=\"username\"\n name=\"username\"\n autoComplete=\"username\"\n readOnly\n [value]=\"account.username ?? ''\"\n [style.display]=\"'none'\"\n />\n\n @if (password.passwordSet) {\n <div class=\"form-group\">\n <div class=\"col-sm-2 col-md-2\">\n <label\n for=\"password\"\n class=\"control-label\"\n >\n {{ i18n.msgStr('password') }}\n </label>\n </div>\n <div class=\"col-sm-10 col-md-10\">\n <input\n type=\"password\"\n class=\"form-control\"\n id=\"password\"\n name=\"password\"\n autoFocus\n autoComplete=\"current-password\"\n [value]=\"currentPassword()\"\n (change)=\"currentPassword.set($any($event.target).value)\"\n />\n </div>\n </div>\n }\n\n <input\n type=\"hidden\"\n id=\"stateChecker\"\n name=\"stateChecker\"\n [value]=\"stateChecker\"\n />\n\n <div class=\"form-group\">\n <div class=\"col-sm-2 col-md-2\">\n <label\n for=\"password-new\"\n class=\"control-label\"\n >\n {{ i18n.msgStr('passwordNew') }}\n </label>\n </div>\n <div class=\"col-sm-10 col-md-10\">\n <input\n type=\"password\"\n class=\"form-control\"\n id=\"password-new\"\n name=\"password-new\"\n autoComplete=\"new-password\"\n [value]=\"newPassword()\"\n (change)=\"onNewPasswordChange($any($event.target).value)\"\n (blur)=\"onNewPasswordBlur()\"\n />\n </div>\n </div>\n\n <div class=\"form-group\">\n <div class=\"col-sm-2 col-md-2\">\n <label\n for=\"password-confirm\"\n class=\"control-label two-lines\"\n >\n {{ i18n.msgStr('passwordConfirm') }}\n </label>\n </div>\n\n <div class=\"col-sm-10 col-md-10\">\n <input\n type=\"password\"\n class=\"form-control\"\n id=\"password-confirm\"\n name=\"password-confirm\"\n autoComplete=\"new-password\"\n [value]=\"newPasswordConfirm()\"\n (change)=\"onNewPasswordConfirmChange($any($event.target).value)\"\n (blur)=\"onNewPasswordConfirmBlur()\"\n />\n </div>\n </div>\n\n <div class=\"form-group\">\n <div\n id=\"kc-form-buttons\"\n class=\"col-md-offset-2 col-md-10 submit\"\n >\n <div>\n <button\n type=\"submit\"\n name=\"submitAction\"\n value=\"Save\"\n [disabled]=\"newPasswordError() !== '' || newPasswordConfirmError() !== ''\"\n [kcClass]=\"['kcButtonClass', 'kcButtonPrimaryClass', 'kcButtonLargeClass']\"\n >\n {{ i18n.msgStr('doSave') }}\n </button>\n </div>\n </div>\n </div>\n</form>\n", dependencies: [{ kind: "directive", type: KcClassDirective, selector: "[kcClass]", inputs: ["class", "ngClass", "kcClass"] }] }); }
98
98
  }
99
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: PasswordComponent, decorators: [{
99
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: PasswordComponent, decorators: [{
100
100
  type: Component,
101
101
  args: [{ standalone: true, imports: [KcClassDirective, NgClass], selector: 'kc-password', providers: [
102
102
  {
@@ -16,15 +16,15 @@ export class SessionsComponent extends ComponentReference {
16
16
  this.classes = inject(ACCOUNT_CLASSES);
17
17
  this.active = 'sessions';
18
18
  }
19
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: SessionsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
20
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.7", type: SessionsComponent, isStandalone: true, selector: "kc-sessions", providers: [
19
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: SessionsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
20
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.8", type: SessionsComponent, isStandalone: true, selector: "kc-sessions", providers: [
21
21
  {
22
22
  provide: ComponentReference,
23
23
  useExisting: forwardRef(() => SessionsComponent)
24
24
  }
25
25
  ], usesInheritance: true, ngImport: i0, template: "@let url = kcContext.url;\n@let sessions = kcContext.sessions;\n@let stateChecker = kcContext.stateChecker;\n\n<div [kcClass]=\"'kcContentWrapperClass'\">\n <div class=\"col-md-10\">\n <h2>{{ i18n.msgStr('sessionsHtmlTitle') }}</h2>\n </div>\n</div>\n\n<table class=\"table table-striped table-bordered\">\n <thead>\n <tr>\n <th>{{ i18n.msgStr('ip') }}</th>\n <th>{{ i18n.msgStr('started') }}</th>\n <th>{{ i18n.msgStr('lastAccess') }}</th>\n <th>{{ i18n.msgStr('expires') }}</th>\n <th>{{ i18n.msgStr('clients') }}</th>\n </tr>\n </thead>\n\n <tbody role=\"rowgroup\">\n @for (session of sessions.sessions; track session) {\n <tr>\n <td>{{ session.ipAddress }}</td>\n <td>{{ session?.started }}</td>\n <td>{{ session?.lastAccess }}</td>\n <td>{{ session?.expires }}</td>\n <td>\n @for (client of session.clients; track client) {\n <div>\n {{ client }}\n <br />\n </div>\n }\n </td>\n </tr>\n }\n </tbody>\n</table>\n\n<form\n method=\"post\"\n [action]=\"url.sessionsUrl\"\n>\n <input\n type=\"hidden\"\n id=\"stateChecker\"\n name=\"stateChecker\"\n [value]=\"stateChecker\"\n />\n <button\n id=\"logout-all-sessions\"\n type=\"submit\"\n [kcClass]=\"['kcButtonDefaultClass', 'kcButtonClass']\"\n >\n {{ i18n.msgStr('doLogOutAllSessions') }}\n </button>\n</form>\n", dependencies: [{ kind: "directive", type: KcClassDirective, selector: "[kcClass]", inputs: ["class", "ngClass", "kcClass"] }] }); }
26
26
  }
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: SessionsComponent, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: SessionsComponent, decorators: [{
28
28
  type: Component,
29
29
  args: [{ standalone: true, imports: [KcClassDirective, NgClass], selector: 'kc-sessions', providers: [
30
30
  {
@@ -17,15 +17,15 @@ export class TotpComponent extends ComponentReference {
17
17
  this.classes = inject(ACCOUNT_CLASSES);
18
18
  this.active = 'totp';
19
19
  }
20
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: TotpComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
21
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.7", type: TotpComponent, isStandalone: true, selector: "kc-totp", providers: [
20
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: TotpComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
21
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.8", type: TotpComponent, isStandalone: true, selector: "kc-totp", providers: [
22
22
  {
23
23
  provide: ComponentReference,
24
24
  useExisting: forwardRef(() => TotpComponent)
25
25
  }
26
26
  ], usesInheritance: true, ngImport: i0, template: "@let url = kcContext.url;\n@let mode = kcContext.mode;\n@let messagesPerField = kcContext.messagesPerField;\n@let stateChecker = kcContext.stateChecker;\n@let totp = kcContext.totp;\n\n<div class=\"row\">\n <div class=\"col-md-10\">\n <h2>{{ i18n.msgStr('authenticatorTitle') }}</h2>\n </div>\n @if (totp.otpCredentials.length) {\n <div class=\"subtitle col-md-2\">\n <span class=\"required\">*</span>\n {{ i18n.msgStr('requiredFields') }}\n </div>\n }\n</div>\n@if (totp.enabled) {\n <table class=\"table table-bordered table-striped\">\n <thead>\n @if (totp.otpCredentials.length > 1) {\n <tr>\n <th [colSpan]=\"4\">{{ i18n.msgStr('configureAuthenticators') }}</th>\n </tr>\n } @else {\n <tr>\n <th [colSpan]=\"3\">{{ i18n.msgStr('configureAuthenticators') }}</th>\n </tr>\n }\n </thead>\n <tbody>\n @for (credential of totp.otpCredentials; track credential; let index = $index) {\n <tr>\n <td class=\"provider\">{{ i18n.msgStr('mobile') }}</td>\n @if (totp.otpCredentials.length > 1) {\n <td class=\"provider\">{{ credential.id }}</td>\n }\n <td class=\"provider\">{{ credential.userLabel || '' }}</td>\n <td class=\"action\">\n <form\n method=\"post\"\n class=\"form-inline\"\n [action]=\"url.totpUrl\"\n >\n <input\n type=\"hidden\"\n id=\"stateChecker\"\n name=\"stateChecker\"\n [value]=\"stateChecker\"\n />\n <input\n type=\"hidden\"\n id=\"submitAction\"\n name=\"submitAction\"\n value=\"Delete\"\n />\n <input\n type=\"hidden\"\n id=\"credentialId\"\n name=\"credentialId\"\n [value]=\"credential.id\"\n />\n <button\n class=\"btn btn-default\"\n [id]=\"'remove-mobile-' + index\"\n >\n <i class=\"pficon pficon-delete\"></i>\n </button>\n </form>\n </td>\n </tr>\n }\n </tbody>\n </table>\n} @else {\n <div>\n <hr />\n <ol id=\"kc-totp-settings\">\n <li>\n <p>{{ i18n.msgStr('totpStep1') }}</p>\n\n <ul id=\"kc-totp-supported-apps\">\n @for (app of totp.supportedApplications; track app) {\n <li>{{ i18n.advancedMsgStr(app) }}</li>\n }\n </ul>\n </li>\n @if (mode && mode === 'manual') {\n <li>\n <p>{{ i18n.msgStr('totpManualStep2') }}</p>\n <p>\n <span id=\"kc-totp-secret-key\">{{ totp.totpSecretEncoded }}</span>\n </p>\n <p>\n <a\n id=\"mode-barcode\"\n [href]=\"totp.qrUrl\"\n >\n {{ i18n.msgStr('totpScanBarcode') }}\n </a>\n </p>\n </li>\n <li>\n <p>{{ i18n.msgStr('totpManualStep3') }}</p>\n <ul>\n <li id=\"kc-totp-type\">{{ i18n.msgStr('totpType') }}: {{ i18n.msgStr($any('totp.' + totp.policy.type)) }}</li>\n <li id=\"kc-totp-algorithm\">{{ i18n.msgStr('totpAlgorithm') }}: {{ totp.policy.getAlgorithmKey() }}</li>\n <li id=\"kc-totp-digits\">{{ i18n.msgStr('totpDigits') }}: {{ totp.policy.digits }}</li>\n @if (totp.policy.type === 'totp') {\n <li id=\"kc-totp-period\">{{ i18n.msgStr('totpInterval') }}: {{ totp.policy.period }}</li>\n } @else {\n <li id=\"kc-totp-counter\">{{ i18n.msgStr('totpCounter') }}: {{ totp.policy.initialCounter }}</li>\n }\n </ul>\n </li>\n } @else {\n <li>\n <p>{{ i18n.msgStr('totpStep2') }}</p>\n <p>\n <img\n id=\"kc-totp-secret-qr-code\"\n alt=\"Figure: Barcode\"\n [src]=\"'data:image/png;base64, ' + totp.totpSecretQrCode\"\n />\n </p>\n <p>\n <a\n id=\"mode-manual\"\n [href]=\"totp.manualUrl\"\n >\n {{ i18n.msgStr('totpUnableToScan') }}\n </a>\n </p>\n </li>\n }\n <li>\n <p>{{ i18n.msgStr('totpStep3') }}</p>\n <p>{{ i18n.msgStr('totpStep3DeviceName') }}</p>\n </li>\n </ol>\n <hr />\n <form\n id=\"kc-totp-settings-form\"\n method=\"post\"\n [action]=\"url.totpUrl\"\n [kcClass]=\"'kcFormClass'\"\n >\n <input\n type=\"hidden\"\n id=\"stateChecker\"\n name=\"stateChecker\"\n [value]=\"stateChecker\"\n />\n <div [kcClass]=\"'kcFormGroupClass'\">\n <div class=\"col-sm-2 col-md-2\">\n <label\n for=\"totp\"\n class=\"control-label\"\n >\n {{ i18n.msgStr('authenticatorCode') }}\n </label>\n <span class=\"required\">*</span>\n </div>\n <div class=\"col-sm-10 col-md-10\">\n <input\n type=\"text\"\n id=\"totp\"\n name=\"totp\"\n autoComplete=\"off\"\n [kcClass]=\"'kcInputClass'\"\n [attr.aria-invalid]=\"messagesPerField.existsError('totp')\"\n />\n @if (messagesPerField.existsError('totp')) {\n <span\n id=\"input-error-otp-code\"\n aria-live=\"polite\"\n [kcClass]=\"'kcInputErrorMessageClass'\"\n [innerHTML]=\"messagesPerField.get('totp') | kcSanitize: 'html'\"\n ></span>\n }\n </div>\n <input\n type=\"hidden\"\n id=\"totpSecret\"\n name=\"totpSecret\"\n [value]=\"totp.totpSecret\"\n />\n @if (mode) {\n <input\n type=\"hidden\"\n id=\"mode\"\n [value]=\"mode\"\n />\n }\n </div>\n\n <div [kcClass]=\"'kcFormGroupClass'\">\n <div class=\"col-sm-2 col-md-2\">\n <label\n for=\"userLabel\"\n [kcClass]=\"'kcLabelClass'\"\n >\n {{ i18n.msgStr('totpDeviceName') }}\n </label>\n @if (totp.otpCredentials.length >= 1) {\n <span class=\"required\">*</span>\n }\n </div>\n <div class=\"col-sm-10 col-md-10\">\n <input\n type=\"text\"\n id=\"userLabel\"\n name=\"userLabel\"\n autoComplete=\"off\"\n [kcClass]=\"'kcInputClass'\"\n [attr.aria-invalid]=\"messagesPerField.existsError('userLabel')\"\n />\n @if (messagesPerField.existsError('userLabel')) {\n <span\n id=\"input-error-otp-label\"\n aria-live=\"polite\"\n [kcClass]=\"'kcInputErrorMessageClass'\"\n [innerHTML]=\"messagesPerField.get('userLabel') | kcSanitize: 'html'\"\n ></span>\n }\n </div>\n </div>\n\n <div\n id=\"kc-form-buttons\"\n class=\"text-right\"\n [kcClass]=\"'kcFormGroupClass'\"\n >\n <div [kcClass]=\"'kcInputWrapperClass'\">\n <input\n type=\"submit\"\n id=\"saveTOTPBtn\"\n [kcClass]=\"['kcButtonClass', 'kcButtonPrimaryClass', 'kcButtonLargeClass']\"\n [value]=\"i18n.msgStr('doSave')\"\n />\n <button\n type=\"submit\"\n id=\"cancelTOTPBtn\"\n name=\"submitAction\"\n value=\"Cancel\"\n [kcClass]=\"['kcButtonClass', 'kcButtonDefaultClass', 'kcButtonLargeClass']\"\n >\n {{ i18n.msgStr('doCancel') }}\n </button>\n </div>\n </div>\n </form>\n </div>\n}\n", dependencies: [{ kind: "directive", type: KcClassDirective, selector: "[kcClass]", inputs: ["class", "ngClass", "kcClass"] }, { kind: "pipe", type: KcSanitizePipe, name: "kcSanitize" }] }); }
27
27
  }
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: TotpComponent, decorators: [{
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: TotpComponent, decorators: [{
29
29
  type: Component,
30
30
  args: [{ standalone: true, imports: [KcClassDirective, KcSanitizePipe, NgClass], selector: 'kc-totp', providers: [
31
31
  {
@@ -25,10 +25,10 @@ export class AccountResourceInjectorService {
25
25
  insertAdditionalScripts(scripts) {
26
26
  scripts.map(script => this.resourceInjectorService.createScript(script));
27
27
  }
28
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AccountResourceInjectorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
29
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AccountResourceInjectorService, providedIn: 'root' }); }
28
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: AccountResourceInjectorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
29
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: AccountResourceInjectorService, providedIn: 'root' }); }
30
30
  }
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AccountResourceInjectorService, decorators: [{
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: AccountResourceInjectorService, decorators: [{
32
32
  type: Injectable,
33
33
  args: [{
34
34
  providedIn: 'root'
@@ -2,10 +2,10 @@ import { Injectable } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  /** INTERNAL: DO NOT IMPORT THIS */
4
4
  export class I18nService {
5
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: I18nService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
6
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: I18nService, providedIn: 'root' }); }
5
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: I18nService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
6
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: I18nService, providedIn: 'root' }); }
7
7
  }
8
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: I18nService, decorators: [{
8
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: I18nService, decorators: [{
9
9
  type: Injectable,
10
10
  args: [{ providedIn: 'root' }]
11
11
  }] });
@@ -16,10 +16,10 @@ export class AttributesDirective {
16
16
  }
17
17
  });
18
18
  }
19
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AttributesDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
20
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.7", type: AttributesDirective, isStandalone: true, selector: "[kcAttributes]", inputs: { kcAttributes: { classPropertyName: "kcAttributes", publicName: "kcAttributes", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
19
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: AttributesDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
20
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.8", type: AttributesDirective, isStandalone: true, selector: "[kcAttributes]", inputs: { kcAttributes: { classPropertyName: "kcAttributes", publicName: "kcAttributes", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
21
21
  }
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AttributesDirective, decorators: [{
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: AttributesDirective, decorators: [{
23
23
  type: Directive,
24
24
  args: [{ selector: '[kcAttributes]', standalone: true }]
25
25
  }], ctorParameters: () => [] });
@@ -7,10 +7,10 @@ export class InputTypePipe {
7
7
  }
8
8
  return inputType ?? 'text';
9
9
  }
10
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: InputTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
11
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: InputTypePipe, isStandalone: true, name: "inputType" }); }
10
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: InputTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
11
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.8", ngImport: i0, type: InputTypePipe, isStandalone: true, name: "inputType" }); }
12
12
  }
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: InputTypePipe, decorators: [{
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: InputTypePipe, decorators: [{
14
14
  type: Pipe,
15
15
  args: [{
16
16
  name: 'inputType',
@@ -7,10 +7,10 @@ export class IsArrayWithEmptyObjectPipe {
7
7
  typeof variable[0] === 'object' &&
8
8
  Object.keys(variable[0]).length === 0);
9
9
  }
10
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: IsArrayWithEmptyObjectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
11
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: IsArrayWithEmptyObjectPipe, isStandalone: true, name: "isArrayWithEmptyObject" }); }
10
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: IsArrayWithEmptyObjectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
11
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.8", ngImport: i0, type: IsArrayWithEmptyObjectPipe, isStandalone: true, name: "isArrayWithEmptyObject" }); }
12
12
  }
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: IsArrayWithEmptyObjectPipe, decorators: [{
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: IsArrayWithEmptyObjectPipe, decorators: [{
14
14
  type: Pipe,
15
15
  args: [{
16
16
  name: 'isArrayWithEmptyObject',
@@ -19,10 +19,10 @@ export class KcSanitizePipe {
19
19
  throw new Error(`Invalid safe type specified: ${type}`);
20
20
  }
21
21
  }
22
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: KcSanitizePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
23
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: KcSanitizePipe, isStandalone: true, name: "kcSanitize" }); }
22
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: KcSanitizePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
23
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.8", ngImport: i0, type: KcSanitizePipe, isStandalone: true, name: "kcSanitize" }); }
24
24
  }
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: KcSanitizePipe, decorators: [{
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: KcSanitizePipe, decorators: [{
26
26
  type: Pipe,
27
27
  args: [{ name: 'kcSanitize', standalone: true }]
28
28
  }] });
@@ -8,10 +8,10 @@ export class ToArrayPipe {
8
8
  }
9
9
  return emptyWhenString ? [] : [value];
10
10
  }
11
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: ToArrayPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
12
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: ToArrayPipe, isStandalone: true, name: "toArray" }); }
11
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: ToArrayPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
12
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.8", ngImport: i0, type: ToArrayPipe, isStandalone: true, name: "toArray" }); }
13
13
  }
14
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: ToArrayPipe, decorators: [{
14
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: ToArrayPipe, decorators: [{
15
15
  type: Pipe,
16
16
  args: [{
17
17
  name: 'toArray',
@@ -7,10 +7,10 @@ export class ToNumberPipe {
7
7
  throw new Error('number is NaN');
8
8
  return number;
9
9
  }
10
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: ToNumberPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
11
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: ToNumberPipe, isStandalone: true, name: "toNumber" }); }
10
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: ToNumberPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
11
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.8", ngImport: i0, type: ToNumberPipe, isStandalone: true, name: "toNumber" }); }
12
12
  }
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: ToNumberPipe, decorators: [{
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: ToNumberPipe, decorators: [{
14
14
  type: Pipe,
15
15
  args: [{
16
16
  name: 'toNumber',
@@ -24,7 +24,8 @@ export class ResourceInjectorService {
24
24
  link.onerror = () => {
25
25
  observer.error(new Error(`Failed to load stylesheet: ${url}`));
26
26
  };
27
- this.renderer.appendChild(document.head, link);
27
+ const head = document.head;
28
+ head.insertBefore(link, head.firstChild);
28
29
  });
29
30
  }
30
31
  createScript({ type, id, src, textContent }) {
@@ -42,13 +43,13 @@ export class ResourceInjectorService {
42
43
  script.id = id;
43
44
  this.renderer.appendChild(document.head, script);
44
45
  }
45
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: ResourceInjectorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
46
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: ResourceInjectorService, providedIn: 'root' }); }
46
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: ResourceInjectorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
47
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: ResourceInjectorService, providedIn: 'root' }); }
47
48
  }
48
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: ResourceInjectorService, decorators: [{
49
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: ResourceInjectorService, decorators: [{
49
50
  type: Injectable,
50
51
  args: [{
51
52
  providedIn: 'root'
52
53
  }]
53
54
  }] });
54
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb3VyY2UtaW5qZWN0b3Iuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvc2VydmljZXMvcmVzb3VyY2UtaW5qZWN0b3IvcmVzb3VyY2UtaW5qZWN0b3Iuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBYSxnQkFBZ0IsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNoRixPQUFPLEVBQUUsVUFBVSxFQ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7dXJsfSBhbHJlYWR5IGxvYWRlZGApO1xuICAgICAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGNvbnN0IGxpbmsgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCdsaW5rJyk7XG4gICAgICAgICAgICBsaW5rLnJlbCA9ICdzdHlsZXNoZWV0JztcbiAgICAgICAgICAgIGxpbmsuaHJlZiA9IHVybDtcblxuICAgICAgICAgICAgbGluay5vbmxvYWQgPSAoKSA9PiB7XG4gICAgICAgICAgICAgICAgb2JzZXJ2ZXIubmV4dCgpO1xuICAgICAgICAgICAgICAgIG9ic2VydmVyLmNvbXBsZXRlKCk7XG4gICAgICAgICAgICB9O1xuXG4gICAgICAgICAgICBsaW5rLm9uZXJyb3IgPSAoKSA9PiB7XG4gICAgICAgICAgICAgICAgb2JzZXJ2ZXIuZXJyb3IobmV3IEVycm9yKGBGYWlsZWQgdG8gbG9hZCBzdHlsZXNoZWV0OiAke3VybH1gKSk7XG4gICAgICAgICAgICB9O1xuXG4gICAgICAgICAgICB0aGlzLnJlbmRlcmVyLmFwcGVuZENoaWxkKGRvY3VtZW50LmhlYWQsIGxpbmspO1xuICAgICAgICB9KTtcbiAgICB9XG4gICAgY3JlYXRlU2NyaXB0KHsgdHlwZSwgaWQsIHNyYywgdGV4dENvbnRlbnQgfTogU2NyaXB0KTogdm9pZCB7XG4gICAgICAgIC8vIGNoZWNrIGlmIHRoZSBzY3JpcHQgaXMgYWxyZWFkeSBpbmplY3RlZFxuICAgICAgICBpZiAoQXJyYXkuZnJvbShkb2N1bWVudC5zY3JpcHRzKS5zb21lKHMgPT4gcy5pZD8uaW5jbHVkZXMoaWQpKSkge1xuICAgICAgICAgICAgY29uc29sZS5kZWJ1Zyhgc2NyaXB0OiAke3NyY30gYWxyZWFkeSBpbmplY3RlZGApO1xuICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICB9XG4gICAgICAgIGNvbnN0IHNjcmlwdCA9IGR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AgICAgICAgIG9ic2VydmVyLm5leHQoKTtcbiAgICAgICAgICAgICAgICBvYnNlcnZlci5jb21wbGV0ZSgpO1xuICAgICAgICAgICAgfTtcblxuICAgICAgICAgICAgbGluay5vbmVycm9yID0gKCkgPT4ge1xuICAgICAgICAgICAgICAgIG9ic2VydmVyLmVycm9yKG5ldyBFcnJvcihgRmFpbGVkIHRvIGxvYWQgc3R5bGVzaGVldDogJHt1cmx9YCkpO1xuICAgICAgICAgICAgfTtcblxuICAgICAgICAgICAgY29uc3QgaGVhZCA9IGRvY3VtZW50LmhlYWQ7XG4gICAgICAgICAgICBoZWFkLmluc2VydEJlZm9yZShsaW5rLCBoZWFkLmZpcnN0Q2hpbGQpO1xuICAgICAgICB9KTtcbiAgICB9XG4gICAgY3JlYXRlU2NyaXB0KHsgdHlwZSwgaWQsIHNyYywgdGV4dENvbnRlbnQgfTogU2NyaXB0KTogdm9pZCB7XG4gICAgICAgIC8vIGNoZWNrIGlmIHRoZSBzY3JpcHQgaXMgYWxyZWFkeSBpbmplY3RlZFxuICAgICAgICBpZiAoQXJyYXkuZnJvbShkb2N1bWVudC5zY3JpcHRzKS5zb21lKHMgPT4gcy5pZD8uaW5jbHVkZXMoaWQpKSkge1xuICAgICAgICAgICAgY29uc29sZS5kZWJ1Zyhgc2NyaXB0OiAke3NyY30gYWxyZWFkeSBpbmplY3RlZGApO1xuICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICB9XG4gICAgICAgIGNvbnN0IHNjcmlwdCA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoJ3NjcmlwdCcpO1xuICAgICAgICBzY3JpcHQudHlwZSA9IHR5cGU7XG4gICAgICAgIGlmIChzcmMpIHNjcmlwdC5zcmMgPSBzcmM7XG4gICAgICAgIGlmICh0ZXh0Q29udGVudCkgc2NyaXB0LnRleHRDb250ZW50ID0gdGV4dENvbnRlbnQ7XG4gICAgICAgIHNjcmlwdC5pZCA9IGlkO1xuXG4gICAgICAgIHRoaXMuc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