@edsis/angular 22.0.12 → 22.0.14

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.
@@ -8,18 +8,18 @@ import { ApiConfiguration, provideApiConfiguration } from '@edsis/sdk/shared';
8
8
  import { UserProfileService } from '@edsis/sdk/user';
9
9
  import { firstValueFrom, throwError, from, startWith, finalize } from 'rxjs';
10
10
  import { switchMap, catchError } from 'rxjs/operators';
11
- import { UiLayoutComponent, UiLayoutFluidComponent } from '@edsis/theme/layout';
11
+ import { LayoutComponent, LayoutFluidComponent } from '@edsis/theme/layout';
12
12
  import { toSignal, takeUntilDestroyed } from '@angular/core/rxjs-interop';
13
13
  import * as i1 from '@angular/forms';
14
14
  import { FormBuilder, Validators, ReactiveFormsModule } from '@angular/forms';
15
- import { AspectRatioComponent } from '@edsis/ui/aspect-ratio';
16
- import { ButtonComponent } from '@edsis/ui/button';
17
- import { CardActionComponent, CardComponent, CardContentComponent, CardDescriptionComponent, CardHeaderComponent, CardTitleComponent, CardFooterComponent } from '@edsis/ui/card';
18
- import { InputGroupAddonComponent, InputGroupButtonComponent, InputGroupComponent, InputGroupInputComponent } from '@edsis/ui/input-group';
19
- import { LabelComponent } from '@edsis/ui/label';
20
- import { SeparatorComponent } from '@edsis/ui/separator';
21
- import { AlertComponent, AlertDescriptionComponent } from '@edsis/ui/alert';
22
- import { SpinnerComponent } from '@edsis/ui/spinner';
15
+ import { AspectRatioComponent } from '@edsis/component/aspect-ratio';
16
+ import { ButtonComponent } from '@edsis/component/button';
17
+ import { CardActionComponent, CardComponent, CardContentComponent, CardDescriptionComponent, CardHeaderComponent, CardTitleComponent, CardFooterComponent } from '@edsis/component/card';
18
+ import { InputGroupAddonComponent, InputGroupButtonComponent, InputGroupComponent, InputGroupInputComponent } from '@edsis/component/input-group';
19
+ import { LabelComponent } from '@edsis/component/label';
20
+ import { SeparatorComponent } from '@edsis/component/separator';
21
+ import { AlertComponent, AlertDescriptionComponent } from '@edsis/component/alert';
22
+ import { SpinnerComponent } from '@edsis/component/spinner';
23
23
 
24
24
  const DEFAULT_LOGIN_PATH = '/login';
25
25
  const DEFAULT_LOGOUT_PATH = '/logout';
@@ -54,6 +54,67 @@ function normalizePath(value, fallback) {
54
54
  return (normalizedValue.startsWith('/') ? normalizedValue : `/${normalizedValue}`);
55
55
  }
56
56
 
57
+ const DEFAULT_EDSIS_AUTH_MESSAGES = {
58
+ brand: {
59
+ mark: 'ETOS',
60
+ },
61
+ login: {
62
+ title: 'Etos Account Center',
63
+ intro: 'Masukkan email yang terdaftar. Kami akan mengirimkan tautan verifikasi untuk masuk ke aplikasi.',
64
+ badge: 'LOGIN',
65
+ emailPlaceholder: 'your@email.com',
66
+ submit: 'Kirim',
67
+ submitting: 'Mengirim...',
68
+ emailRequired: 'Email wajib diisi.',
69
+ emailInvalid: 'Gunakan format email yang valid dengan panjang maksimal 255 karakter.',
70
+ magicLinkSent: 'Magic link berhasil dikirim.',
71
+ magicLinkFailed: 'Gagal mengirim magic link.',
72
+ oauthComingSoon: 'Segera hadir',
73
+ oauthGoogleAria: 'Login dengan Google segera hadir',
74
+ oauthMicrosoftAria: 'Login dengan Microsoft segera hadir',
75
+ oauthAppleAria: 'Login dengan Apple segera hadir',
76
+ },
77
+ logout: {
78
+ title: 'Mengakhiri sesi Edsis.',
79
+ intro: 'Halaman ini membersihkan sesi lokal lalu memanggil endpoint logout untuk merevoke refresh-token cookie pada backend.',
80
+ badge: 'LOGOUT',
81
+ pending: 'Mengakhiri sesi...',
82
+ pendingAria: 'Mengakhiri sesi',
83
+ success: 'Sesi berhasil diakhiri.',
84
+ failed: 'Sesi lokal sudah dihapus, tetapi request logout gagal.',
85
+ failedNote: 'Backend tidak mengonfirmasi logout, tetapi sesi lokal sudah dihapus.',
86
+ backToLogin: 'Kembali ke login',
87
+ openDashboard: 'Buka dashboard',
88
+ },
89
+ verify: {
90
+ title: 'Memverifikasi magic link.',
91
+ intro: 'Token akan dikonsumsi satu kali, sesi refresh cookie dibentuk di backend, lalu access token disimpan secara lokal untuk aplikasi.',
92
+ badge: 'VERIFY',
93
+ pending: 'Memverifikasi magic link...',
94
+ pendingAria: 'Memverifikasi magic link',
95
+ tokenMissing: 'Token magic link tidak ditemukan pada URL yang dibuka.',
96
+ invalidOrExpired: 'Magic link tidak valid atau sudah kedaluwarsa.',
97
+ successRedirect: 'Verifikasi berhasil. Mengarahkan ke dashboard...',
98
+ missingAccessToken: 'Verifikasi berhasil, tetapi access token tidak ditemukan di respons backend.',
99
+ requestNewLink: 'Minta link baru',
100
+ openDashboard: 'Buka dashboard',
101
+ },
102
+ };
103
+ const EDSIS_AUTH_MESSAGES = new InjectionToken('EDSIS_AUTH_MESSAGES', {
104
+ factory: () => DEFAULT_EDSIS_AUTH_MESSAGES,
105
+ });
106
+ function mergeEdsisAuthMessages(override) {
107
+ if (!override) {
108
+ return DEFAULT_EDSIS_AUTH_MESSAGES;
109
+ }
110
+ return {
111
+ brand: { ...DEFAULT_EDSIS_AUTH_MESSAGES.brand, ...override.brand },
112
+ login: { ...DEFAULT_EDSIS_AUTH_MESSAGES.login, ...override.login },
113
+ logout: { ...DEFAULT_EDSIS_AUTH_MESSAGES.logout, ...override.logout },
114
+ verify: { ...DEFAULT_EDSIS_AUTH_MESSAGES.verify, ...override.verify },
115
+ };
116
+ }
117
+
57
118
  const AUTH_SESSION_STORAGE_KEYS = ['access_token', 'user_id', 'role', 'name'];
58
119
  const AUTH_SESSION_METADATA_STORAGE_KEYS = ['access_token_trusted'];
59
120
  const AUTH_SESSION_PERSISTENT_HINT_KEY = 'edsis_auth_refresh_hint';
@@ -606,6 +667,10 @@ function provideEdsisAuth(config) {
606
667
  provide: EDSIS_AUTH_CONFIG,
607
668
  useValue: resolvedConfig,
608
669
  },
670
+ {
671
+ provide: EDSIS_AUTH_MESSAGES,
672
+ useValue: mergeEdsisAuthMessages(config.messages),
673
+ },
609
674
  ]);
610
675
  }
611
676
 
@@ -632,8 +697,8 @@ const guestOnlyGuard = async () => {
632
697
  };
633
698
 
634
699
  class AuthShellPage {
635
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: AuthShellPage, deps: [], target: i0.ɵɵFactoryTarget.Component });
636
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.0", type: AuthShellPage, isStandalone: true, selector: "edsis-auth-shell-page", host: { classAttribute: "contents" }, ngImport: i0, template: `
700
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: AuthShellPage, deps: [], target: i0.ɵɵFactoryTarget.Component });
701
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.1", type: AuthShellPage, isStandalone: true, selector: "edsis-auth-shell-page", host: { classAttribute: "contents" }, ngImport: i0, template: `
637
702
  <layout surface="grid" appearance="border-rail" width="fluid">
638
703
  <layout-fluid>
639
704
  <div class="w-full max-w-xl">
@@ -641,13 +706,13 @@ class AuthShellPage {
641
706
  </div>
642
707
  </layout-fluid>
643
708
  </layout>
644
- `, isInline: true, dependencies: [{ kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "component", type: UiLayoutComponent, selector: "layout", inputs: ["surface", "appearance", "layout-style", "width", "class"] }, { kind: "component", type: UiLayoutFluidComponent, selector: "layout-fluid", inputs: ["class"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
709
+ `, isInline: true, dependencies: [{ kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "component", type: LayoutComponent, selector: "layout", inputs: ["surface", "appearance", "layout-style", "width", "class"] }, { kind: "component", type: LayoutFluidComponent, selector: "layout-fluid", inputs: ["class"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
645
710
  }
646
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: AuthShellPage, decorators: [{
711
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: AuthShellPage, decorators: [{
647
712
  type: Component,
648
713
  args: [{
649
714
  selector: 'edsis-auth-shell-page',
650
- imports: [RouterOutlet, UiLayoutComponent, UiLayoutFluidComponent],
715
+ imports: [RouterOutlet, LayoutComponent, LayoutFluidComponent],
651
716
  host: {
652
717
  class: 'contents',
653
718
  },
@@ -730,6 +795,7 @@ class AuthLoginPage {
730
795
  formBuilder = inject(FormBuilder);
731
796
  authMagicLinkService = inject(AuthMagicLinkService);
732
797
  authConfig = inject(EDSIS_AUTH_CONFIG);
798
+ messages = inject(EDSIS_AUTH_MESSAGES);
733
799
  form = this.formBuilder.nonNullable.group({
734
800
  email: ['', [Validators.required, Validators.email, Validators.maxLength(255)]],
735
801
  });
@@ -750,12 +816,16 @@ class AuthLoginPage {
750
816
  }, /* @ts-ignore */
751
817
  ...(ngDevMode ? [{ debugName: "hasInlineError" }] : /* istanbul ignore next */ []));
752
818
  inlineErrorMessage = computed(() => {
819
+ // Depend on the control events directly: `hasInlineError` stays `true`
820
+ // while the error kind changes (e.g. format → required), and a memoized
821
+ // boolean alone would leave a stale message on screen.
822
+ this.emailControlState();
753
823
  if (!this.hasInlineError()) {
754
824
  return null;
755
825
  }
756
826
  return this.emailControl.hasError('required')
757
- ? 'Email wajib diisi.'
758
- : 'Gunakan format email yang valid dengan panjang maksimal 255 karakter.';
827
+ ? this.messages.login.emailRequired
828
+ : this.messages.login.emailInvalid;
759
829
  }, /* @ts-ignore */
760
830
  ...(ngDevMode ? [{ debugName: "inlineErrorMessage" }] : /* istanbul ignore next */ []));
761
831
  feedbackMessage = computed(() => this.inlineErrorMessage() ?? this.responseMessage() ?? this.errorMessage(), /* @ts-ignore */
@@ -812,47 +882,45 @@ class AuthLoginPage {
812
882
  .pipe(takeUntilDestroyed(this.destroyRef), finalize(() => this.isSubmitting.set(false)))
813
883
  .subscribe({
814
884
  next: (response) => {
815
- this.responseMessage.set(getResponseMessage(response, 'Magic link berhasil dikirim.'));
885
+ this.responseMessage.set(getResponseMessage(response, this.messages.login.magicLinkSent));
816
886
  },
817
887
  error: (error) => {
818
- this.errorMessage.set(getErrorMessage(error, 'Gagal mengirim magic link.'));
888
+ this.errorMessage.set(getErrorMessage(error, this.messages.login.magicLinkFailed));
819
889
  },
820
890
  });
821
891
  }
822
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: AuthLoginPage, deps: [], target: i0.ɵɵFactoryTarget.Component });
823
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.0", type: AuthLoginPage, isStandalone: true, selector: "edsis-auth-login-page", host: { classAttribute: "block" }, ngImport: i0, template: `
824
- <ui-card class="w-full overflow-hidden rounded-none border-border/80 bg-card/95 shadow-2xl backdrop-blur-sm">
825
- <ui-card-header
892
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: AuthLoginPage, deps: [], target: i0.ɵɵFactoryTarget.Component });
893
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.1", type: AuthLoginPage, isStandalone: true, selector: "edsis-auth-login-page", host: { classAttribute: "block" }, ngImport: i0, template: `
894
+ <Card class="w-full overflow-hidden rounded-none border-border/80 bg-card/95 shadow-2xl backdrop-blur-sm">
895
+ <CardHeader
826
896
  class="grid grid-cols-[auto_minmax(0,1fr)_auto] items-start gap-x-4 gap-y-3 border-b border-border/60 bg-muted/15 pb-4 sm:pb-5">
827
897
  <div class="w-16 shrink-0 sm:w-20">
828
- <ui-aspect-ratio [ratio]="3 / 2" class="overflow-hidden rounded-none bg-primary">
898
+ <AspectRatio [ratio]="3 / 2" class="overflow-hidden rounded-none bg-primary">
829
899
  <div
830
900
  class="flex h-full w-full items-center justify-center px-1 text-[1.25rem] leading-none tracking-[-0.08em] text-primary-foreground sm:text-[1.55rem]"
831
901
  style="font-family: 'Arial Black', Arial, sans-serif;">
832
- ETOS
902
+ {{ messages.brand.mark }}
833
903
  </div>
834
- </ui-aspect-ratio>
904
+ </AspectRatio>
835
905
  </div>
836
906
  <div class="min-w-0 space-y-0.5 pt-0.5 sm:pt-1">
837
- <ui-card-title class="text-xl leading-tight sm:text-2xl">Etos Account Center</ui-card-title>
838
- <p ui-card-description class="max-w-xl leading-6">
839
- Masukkan email yang terdaftar. Kami akan mengirimkan tautan verifikasi untuk masuk ke aplikasi.
907
+ <CardTitle class="text-xl leading-tight sm:text-2xl">{{ messages.login.title }}</CardTitle>
908
+ <p CardDescription class="max-w-xl leading-6">
909
+ {{ messages.login.intro }}
840
910
  </p>
841
911
  </div>
842
- <ui-card-action
912
+ <CardAction
843
913
  class="col-start-3 row-span-1 mt-0! pt-0.5 text-xs font-medium uppercase tracking-[0.24em] text-muted-foreground sm:pt-1 sm:text-sm">
844
- LOGIN
845
- </ui-card-action>
846
- </ui-card-header>
914
+ {{ messages.login.badge }}
915
+ </CardAction>
916
+ </CardHeader>
847
917
 
848
- <ui-card-content class="pt-4 sm:pt-5">
918
+ <CardContent class="pt-4 sm:pt-5">
849
919
  <form class="space-y-6" [formGroup]="form" (ngSubmit)="submit()">
850
920
  <div class="space-y-3">
851
- <label ui-label for="email" class="sr-only">Alamat email</label>
852
- <ui-input-group [class]="emailFieldClasses()">
853
- <ui-input-group-addon
854
- aria-hidden="true"
855
- class="min-h-12 px-4 bg-transparent text-primary [&_svg]:size-6!">
921
+ <label Label for="email" class="sr-only">Alamat email</label>
922
+ <InputGroup [class]="emailFieldClasses()">
923
+ <InputGroupAddon aria-hidden="true" class="min-h-12 px-4 bg-transparent text-primary [&_svg]:size-6!">
856
924
  <svg
857
925
  viewBox="0 0 24 24"
858
926
  class="fill-none stroke-current"
@@ -863,10 +931,10 @@ class AuthLoginPage {
863
931
  <path d="M5 6h14a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1Z" />
864
932
  <path d="m5 8 7 5 7-5" />
865
933
  </svg>
866
- </ui-input-group-addon>
934
+ </InputGroupAddon>
867
935
 
868
936
  <input
869
- ui-input-group-input
937
+ InputGroupInput
870
938
  class="h-12! px-4! text-base!"
871
939
  id="email"
872
940
  type="email"
@@ -875,18 +943,18 @@ class AuthLoginPage {
875
943
  [attr.aria-describedby]="feedbackMessage() ? emailFeedbackId : null"
876
944
  [attr.aria-invalid]="fieldTone() === 'error' ? 'true' : null"
877
945
  formControlName="email"
878
- placeholder="your@email.com" />
946
+ [placeholder]="messages.login.emailPlaceholder" />
879
947
 
880
948
  <button
881
- ui-input-group-button
949
+ InputGroupButton
882
950
  type="submit"
883
951
  variant="default"
884
952
  size="sm"
885
953
  [disabled]="form.invalid || isSubmitting()"
886
954
  class="order-30 h-12! min-w-24 rounded-none px-5 text-sm font-medium">
887
- {{ isSubmitting() ? 'Mengirim...' : 'Kirim' }}
955
+ {{ isSubmitting() ? messages.login.submitting : messages.login.submit }}
888
956
  </button>
889
- </ui-input-group>
957
+ </InputGroup>
890
958
 
891
959
  @if (feedbackMessage(); as feedback) {
892
960
  <p
@@ -902,22 +970,22 @@ class AuthLoginPage {
902
970
  </div>
903
971
 
904
972
  <div class="grid grid-cols-[minmax(0,1fr)_auto_minmax(0,1fr)] items-center gap-3 pt-2">
905
- <ui-separator class="w-full" />
973
+ <Separator class="w-full" />
906
974
  <span class="min-w-14 text-center text-sm font-medium uppercase tracking-[0.18em] text-muted-foreground">
907
975
  Atau
908
976
  </span>
909
- <ui-separator class="w-full" />
977
+ <Separator class="w-full" />
910
978
  </div>
911
979
 
912
980
  <div class="grid gap-3 pt-2 sm:grid-cols-3">
913
981
  <button
914
- ui-button
982
+ Button
915
983
  type="button"
916
984
  variant="outline"
917
985
  size="lg"
918
986
  disabled
919
- aria-label="Login dengan Google segera hadir"
920
- title="Segera hadir"
987
+ [attr.aria-label]="messages.login.oauthGoogleAria"
988
+ [attr.title]="messages.login.oauthComingSoon"
921
989
  class="h-12 gap-3 text-[0.74rem] font-medium uppercase tracking-[0.16em]">
922
990
  <span class="inline-flex size-6 shrink-0 items-center justify-center" aria-hidden="true">
923
991
  <svg viewBox="0 0 24 24" class="size-5" xmlns="http://www.w3.org/2000/svg">
@@ -938,13 +1006,13 @@ class AuthLoginPage {
938
1006
  Google
939
1007
  </button>
940
1008
  <button
941
- ui-button
1009
+ Button
942
1010
  type="button"
943
1011
  variant="outline"
944
1012
  size="lg"
945
1013
  disabled
946
- aria-label="Login dengan Microsoft segera hadir"
947
- title="Segera hadir"
1014
+ [attr.aria-label]="messages.login.oauthMicrosoftAria"
1015
+ [attr.title]="messages.login.oauthComingSoon"
948
1016
  class="h-12 gap-3 text-[0.74rem] font-medium uppercase tracking-[0.16em]">
949
1017
  <span class="inline-flex size-6 shrink-0 items-center justify-center" aria-hidden="true">
950
1018
  <svg viewBox="0 0 24 24" class="size-5" xmlns="http://www.w3.org/2000/svg">
@@ -957,13 +1025,13 @@ class AuthLoginPage {
957
1025
  Microsoft
958
1026
  </button>
959
1027
  <button
960
- ui-button
1028
+ Button
961
1029
  type="button"
962
1030
  variant="outline"
963
1031
  size="lg"
964
1032
  disabled
965
- aria-label="Login dengan Apple segera hadir"
966
- title="Segera hadir"
1033
+ [attr.aria-label]="messages.login.oauthAppleAria"
1034
+ [attr.title]="messages.login.oauthComingSoon"
967
1035
  class="h-12 gap-3 text-[0.74rem] font-medium uppercase tracking-[0.16em]">
968
1036
  <span class="inline-flex size-6 shrink-0 items-center justify-center" aria-hidden="true">
969
1037
  <svg viewBox="0 0 24 24" class="size-5 fill-current" xmlns="http://www.w3.org/2000/svg">
@@ -975,11 +1043,11 @@ class AuthLoginPage {
975
1043
  </button>
976
1044
  </div>
977
1045
  </form>
978
- </ui-card-content>
979
- </ui-card>
980
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: AspectRatioComponent, selector: "ui-aspect-ratio", inputs: ["ratio", "class"] }, { kind: "component", type: ButtonComponent, selector: "button[ui-button], a[ui-button]", inputs: ["variant", "size", "class"] }, { kind: "component", type: CardActionComponent, selector: "ui-card-action", inputs: ["class"] }, { kind: "component", type: CardComponent, selector: "ui-card", inputs: ["size", "class"] }, { kind: "component", type: CardContentComponent, selector: "ui-card-content", inputs: ["class"] }, { kind: "component", type: CardDescriptionComponent, selector: "ui-card-description, p[ui-card-description]", inputs: ["class"] }, { kind: "component", type: CardHeaderComponent, selector: "ui-card-header", inputs: ["class"] }, { kind: "component", type: CardTitleComponent, selector: "ui-card-title, h3[ui-card-title]", inputs: ["class"] }, { kind: "component", type: InputGroupAddonComponent, selector: "ui-input-group-addon", inputs: ["align", "class"] }, { kind: "component", type: InputGroupButtonComponent, selector: "button[ui-input-group-button], a[ui-input-group-button]", inputs: ["variant", "size", "class"] }, { kind: "component", type: InputGroupComponent, selector: "ui-input-group", inputs: ["class"] }, { kind: "component", type: InputGroupInputComponent, selector: "input[ui-input-group-input]", inputs: ["class"] }, { kind: "component", type: LabelComponent, selector: "ui-label, label[ui-label]", inputs: ["for", "class"] }, { kind: "component", type: SeparatorComponent, selector: "ui-separator", inputs: ["orientation", "decorative", "class"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1046
+ </CardContent>
1047
+ </Card>
1048
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: AspectRatioComponent, selector: "AspectRatio", inputs: ["ratio", "class"] }, { kind: "component", type: ButtonComponent, selector: "button[Button], a[Button]", inputs: ["variant", "size", "class"] }, { kind: "component", type: CardActionComponent, selector: "CardAction", inputs: ["class"] }, { kind: "component", type: CardComponent, selector: "Card", inputs: ["size", "class"] }, { kind: "component", type: CardContentComponent, selector: "CardContent", inputs: ["class"] }, { kind: "component", type: CardDescriptionComponent, selector: "CardDescription, p[CardDescription]", inputs: ["class"] }, { kind: "component", type: CardHeaderComponent, selector: "CardHeader", inputs: ["class"] }, { kind: "component", type: CardTitleComponent, selector: "CardTitle, h3[CardTitle]", inputs: ["class"] }, { kind: "component", type: InputGroupAddonComponent, selector: "InputGroupAddon", inputs: ["align", "class"] }, { kind: "component", type: InputGroupButtonComponent, selector: "button[InputGroupButton], a[InputGroupButton]", inputs: ["variant", "size", "class"] }, { kind: "component", type: InputGroupComponent, selector: "InputGroup", inputs: ["class"] }, { kind: "component", type: InputGroupInputComponent, selector: "input[InputGroupInput]", inputs: ["class"] }, { kind: "component", type: LabelComponent, selector: "Label, label[Label]", inputs: ["for", "class"] }, { kind: "component", type: SeparatorComponent, selector: "Separator", inputs: ["orientation", "decorative", "class"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
981
1049
  }
982
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: AuthLoginPage, decorators: [{
1050
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: AuthLoginPage, decorators: [{
983
1051
  type: Component,
984
1052
  args: [{
985
1053
  selector: 'edsis-auth-login-page',
@@ -1004,38 +1072,36 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImpor
1004
1072
  class: 'block',
1005
1073
  },
1006
1074
  template: `
1007
- <ui-card class="w-full overflow-hidden rounded-none border-border/80 bg-card/95 shadow-2xl backdrop-blur-sm">
1008
- <ui-card-header
1075
+ <Card class="w-full overflow-hidden rounded-none border-border/80 bg-card/95 shadow-2xl backdrop-blur-sm">
1076
+ <CardHeader
1009
1077
  class="grid grid-cols-[auto_minmax(0,1fr)_auto] items-start gap-x-4 gap-y-3 border-b border-border/60 bg-muted/15 pb-4 sm:pb-5">
1010
1078
  <div class="w-16 shrink-0 sm:w-20">
1011
- <ui-aspect-ratio [ratio]="3 / 2" class="overflow-hidden rounded-none bg-primary">
1079
+ <AspectRatio [ratio]="3 / 2" class="overflow-hidden rounded-none bg-primary">
1012
1080
  <div
1013
1081
  class="flex h-full w-full items-center justify-center px-1 text-[1.25rem] leading-none tracking-[-0.08em] text-primary-foreground sm:text-[1.55rem]"
1014
1082
  style="font-family: 'Arial Black', Arial, sans-serif;">
1015
- ETOS
1083
+ {{ messages.brand.mark }}
1016
1084
  </div>
1017
- </ui-aspect-ratio>
1085
+ </AspectRatio>
1018
1086
  </div>
1019
1087
  <div class="min-w-0 space-y-0.5 pt-0.5 sm:pt-1">
1020
- <ui-card-title class="text-xl leading-tight sm:text-2xl">Etos Account Center</ui-card-title>
1021
- <p ui-card-description class="max-w-xl leading-6">
1022
- Masukkan email yang terdaftar. Kami akan mengirimkan tautan verifikasi untuk masuk ke aplikasi.
1088
+ <CardTitle class="text-xl leading-tight sm:text-2xl">{{ messages.login.title }}</CardTitle>
1089
+ <p CardDescription class="max-w-xl leading-6">
1090
+ {{ messages.login.intro }}
1023
1091
  </p>
1024
1092
  </div>
1025
- <ui-card-action
1093
+ <CardAction
1026
1094
  class="col-start-3 row-span-1 mt-0! pt-0.5 text-xs font-medium uppercase tracking-[0.24em] text-muted-foreground sm:pt-1 sm:text-sm">
1027
- LOGIN
1028
- </ui-card-action>
1029
- </ui-card-header>
1095
+ {{ messages.login.badge }}
1096
+ </CardAction>
1097
+ </CardHeader>
1030
1098
 
1031
- <ui-card-content class="pt-4 sm:pt-5">
1099
+ <CardContent class="pt-4 sm:pt-5">
1032
1100
  <form class="space-y-6" [formGroup]="form" (ngSubmit)="submit()">
1033
1101
  <div class="space-y-3">
1034
- <label ui-label for="email" class="sr-only">Alamat email</label>
1035
- <ui-input-group [class]="emailFieldClasses()">
1036
- <ui-input-group-addon
1037
- aria-hidden="true"
1038
- class="min-h-12 px-4 bg-transparent text-primary [&_svg]:size-6!">
1102
+ <label Label for="email" class="sr-only">Alamat email</label>
1103
+ <InputGroup [class]="emailFieldClasses()">
1104
+ <InputGroupAddon aria-hidden="true" class="min-h-12 px-4 bg-transparent text-primary [&_svg]:size-6!">
1039
1105
  <svg
1040
1106
  viewBox="0 0 24 24"
1041
1107
  class="fill-none stroke-current"
@@ -1046,10 +1112,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImpor
1046
1112
  <path d="M5 6h14a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1Z" />
1047
1113
  <path d="m5 8 7 5 7-5" />
1048
1114
  </svg>
1049
- </ui-input-group-addon>
1115
+ </InputGroupAddon>
1050
1116
 
1051
1117
  <input
1052
- ui-input-group-input
1118
+ InputGroupInput
1053
1119
  class="h-12! px-4! text-base!"
1054
1120
  id="email"
1055
1121
  type="email"
@@ -1058,18 +1124,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImpor
1058
1124
  [attr.aria-describedby]="feedbackMessage() ? emailFeedbackId : null"
1059
1125
  [attr.aria-invalid]="fieldTone() === 'error' ? 'true' : null"
1060
1126
  formControlName="email"
1061
- placeholder="your@email.com" />
1127
+ [placeholder]="messages.login.emailPlaceholder" />
1062
1128
 
1063
1129
  <button
1064
- ui-input-group-button
1130
+ InputGroupButton
1065
1131
  type="submit"
1066
1132
  variant="default"
1067
1133
  size="sm"
1068
1134
  [disabled]="form.invalid || isSubmitting()"
1069
1135
  class="order-30 h-12! min-w-24 rounded-none px-5 text-sm font-medium">
1070
- {{ isSubmitting() ? 'Mengirim...' : 'Kirim' }}
1136
+ {{ isSubmitting() ? messages.login.submitting : messages.login.submit }}
1071
1137
  </button>
1072
- </ui-input-group>
1138
+ </InputGroup>
1073
1139
 
1074
1140
  @if (feedbackMessage(); as feedback) {
1075
1141
  <p
@@ -1085,22 +1151,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImpor
1085
1151
  </div>
1086
1152
 
1087
1153
  <div class="grid grid-cols-[minmax(0,1fr)_auto_minmax(0,1fr)] items-center gap-3 pt-2">
1088
- <ui-separator class="w-full" />
1154
+ <Separator class="w-full" />
1089
1155
  <span class="min-w-14 text-center text-sm font-medium uppercase tracking-[0.18em] text-muted-foreground">
1090
1156
  Atau
1091
1157
  </span>
1092
- <ui-separator class="w-full" />
1158
+ <Separator class="w-full" />
1093
1159
  </div>
1094
1160
 
1095
1161
  <div class="grid gap-3 pt-2 sm:grid-cols-3">
1096
1162
  <button
1097
- ui-button
1163
+ Button
1098
1164
  type="button"
1099
1165
  variant="outline"
1100
1166
  size="lg"
1101
1167
  disabled
1102
- aria-label="Login dengan Google segera hadir"
1103
- title="Segera hadir"
1168
+ [attr.aria-label]="messages.login.oauthGoogleAria"
1169
+ [attr.title]="messages.login.oauthComingSoon"
1104
1170
  class="h-12 gap-3 text-[0.74rem] font-medium uppercase tracking-[0.16em]">
1105
1171
  <span class="inline-flex size-6 shrink-0 items-center justify-center" aria-hidden="true">
1106
1172
  <svg viewBox="0 0 24 24" class="size-5" xmlns="http://www.w3.org/2000/svg">
@@ -1121,13 +1187,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImpor
1121
1187
  Google
1122
1188
  </button>
1123
1189
  <button
1124
- ui-button
1190
+ Button
1125
1191
  type="button"
1126
1192
  variant="outline"
1127
1193
  size="lg"
1128
1194
  disabled
1129
- aria-label="Login dengan Microsoft segera hadir"
1130
- title="Segera hadir"
1195
+ [attr.aria-label]="messages.login.oauthMicrosoftAria"
1196
+ [attr.title]="messages.login.oauthComingSoon"
1131
1197
  class="h-12 gap-3 text-[0.74rem] font-medium uppercase tracking-[0.16em]">
1132
1198
  <span class="inline-flex size-6 shrink-0 items-center justify-center" aria-hidden="true">
1133
1199
  <svg viewBox="0 0 24 24" class="size-5" xmlns="http://www.w3.org/2000/svg">
@@ -1140,13 +1206,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImpor
1140
1206
  Microsoft
1141
1207
  </button>
1142
1208
  <button
1143
- ui-button
1209
+ Button
1144
1210
  type="button"
1145
1211
  variant="outline"
1146
1212
  size="lg"
1147
1213
  disabled
1148
- aria-label="Login dengan Apple segera hadir"
1149
- title="Segera hadir"
1214
+ [attr.aria-label]="messages.login.oauthAppleAria"
1215
+ [attr.title]="messages.login.oauthComingSoon"
1150
1216
  class="h-12 gap-3 text-[0.74rem] font-medium uppercase tracking-[0.16em]">
1151
1217
  <span class="inline-flex size-6 shrink-0 items-center justify-center" aria-hidden="true">
1152
1218
  <svg viewBox="0 0 24 24" class="size-5 fill-current" xmlns="http://www.w3.org/2000/svg">
@@ -1158,8 +1224,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImpor
1158
1224
  </button>
1159
1225
  </div>
1160
1226
  </form>
1161
- </ui-card-content>
1162
- </ui-card>
1227
+ </CardContent>
1228
+ </Card>
1163
1229
  `,
1164
1230
  changeDetection: ChangeDetectionStrategy.OnPush,
1165
1231
  }]
@@ -1171,11 +1237,12 @@ class AuthLogoutPage {
1171
1237
  router = inject(Router);
1172
1238
  authSessionService = inject(AuthSessionService);
1173
1239
  authConfig = inject(EDSIS_AUTH_CONFIG);
1240
+ messages = inject(EDSIS_AUTH_MESSAGES);
1174
1241
  guestHomePath = this.authConfig.guestHomePath;
1175
1242
  authenticatedHomePath = this.authConfig.authenticatedHomePath;
1176
1243
  state = signal('pending', /* @ts-ignore */
1177
1244
  ...(ngDevMode ? [{ debugName: "state" }] : /* istanbul ignore next */ []));
1178
- message = signal('Mengakhiri sesi...', /* @ts-ignore */
1245
+ message = signal(this.messages.logout.pending, /* @ts-ignore */
1179
1246
  ...(ngDevMode ? [{ debugName: "message" }] : /* istanbul ignore next */ []));
1180
1247
  ngOnInit() {
1181
1248
  clearStoredSession(this.documentRef);
@@ -1189,70 +1256,69 @@ class AuthLogoutPage {
1189
1256
  .subscribe({
1190
1257
  next: (response) => {
1191
1258
  this.state.set('success');
1192
- this.message.set(getResponseMessage(response, 'Sesi berhasil diakhiri.'));
1259
+ this.message.set(getResponseMessage(response, this.messages.logout.success));
1193
1260
  void this.router.navigateByUrl(this.guestHomePath, { replaceUrl: true });
1194
1261
  },
1195
1262
  error: (error) => {
1196
1263
  this.state.set('error');
1197
- this.message.set(getErrorMessage(error, 'Sesi lokal sudah dihapus, tetapi request logout gagal.'));
1264
+ this.message.set(getErrorMessage(error, this.messages.logout.failed));
1198
1265
  },
1199
1266
  });
1200
1267
  }
1201
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: AuthLogoutPage, deps: [], target: i0.ɵɵFactoryTarget.Component });
1202
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.0", type: AuthLogoutPage, isStandalone: true, selector: "edsis-auth-logout-page", host: { classAttribute: "block" }, ngImport: i0, template: `
1203
- <ui-card class="w-full overflow-hidden rounded-none border-border/80 bg-card/95 shadow-2xl backdrop-blur-sm">
1204
- <ui-card-header
1268
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: AuthLogoutPage, deps: [], target: i0.ɵɵFactoryTarget.Component });
1269
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.1", type: AuthLogoutPage, isStandalone: true, selector: "edsis-auth-logout-page", host: { classAttribute: "block" }, ngImport: i0, template: `
1270
+ <Card class="w-full overflow-hidden rounded-none border-border/80 bg-card/95 shadow-2xl backdrop-blur-sm">
1271
+ <CardHeader
1205
1272
  class="grid grid-cols-[auto_minmax(0,1fr)_auto] items-start gap-x-4 gap-y-3 border-b border-border/60 bg-muted/15 pb-4 sm:pb-5">
1206
1273
  <div class="w-16 shrink-0 sm:w-20">
1207
- <ui-aspect-ratio [ratio]="3 / 2" class="overflow-hidden rounded-none bg-primary">
1274
+ <AspectRatio [ratio]="3 / 2" class="overflow-hidden rounded-none bg-primary">
1208
1275
  <div
1209
1276
  class="flex h-full w-full items-center justify-center px-1 text-[1.25rem] leading-none tracking-[-0.08em] text-primary-foreground sm:text-[1.55rem]"
1210
1277
  style="font-family: 'Arial Black', Arial, sans-serif;">
1211
- ETOS
1278
+ {{ messages.brand.mark }}
1212
1279
  </div>
1213
- </ui-aspect-ratio>
1280
+ </AspectRatio>
1214
1281
  </div>
1215
1282
  <div class="min-w-0 space-y-0.5 pt-0.5 sm:pt-1">
1216
- <ui-card-title class="text-xl leading-tight sm:text-2xl">Mengakhiri sesi Edsis.</ui-card-title>
1217
- <p ui-card-description class="max-w-xl leading-6">
1218
- Halaman ini membersihkan sesi lokal lalu memanggil endpoint logout untuk merevoke refresh-token cookie pada
1219
- backend.
1283
+ <CardTitle class="text-xl leading-tight sm:text-2xl">{{ messages.logout.title }}</CardTitle>
1284
+ <p CardDescription class="max-w-xl leading-6">
1285
+ {{ messages.logout.intro }}
1220
1286
  </p>
1221
1287
  </div>
1222
- <ui-card-action
1288
+ <CardAction
1223
1289
  class="col-start-3 row-span-1 mt-0! pt-0.5 text-xs font-medium uppercase tracking-[0.24em] text-muted-foreground sm:pt-1 sm:text-sm">
1224
- LOGOUT
1225
- </ui-card-action>
1226
- </ui-card-header>
1290
+ {{ messages.logout.badge }}
1291
+ </CardAction>
1292
+ </CardHeader>
1227
1293
 
1228
- <ui-card-content class="space-y-4 pt-6 sm:pt-7">
1229
- <ui-alert [variant]="state() === 'error' ? 'destructive' : 'default'" class="bg-background/70 shadow-sm">
1294
+ <CardContent class="space-y-4 pt-6 sm:pt-7">
1295
+ <Alert [variant]="state() === 'error' ? 'destructive' : 'default'" class="bg-background/70 shadow-sm">
1230
1296
  @if (state() === 'pending') {
1231
- <ui-spinner class="mt-0.5 size-4" aria-label="Mengakhiri sesi" />
1297
+ <Spinner class="mt-0.5 size-4" [attr.aria-label]="messages.logout.pendingAria" />
1232
1298
  }
1233
1299
 
1234
- <ui-alert-description>
1300
+ <AlertDescription>
1235
1301
  {{ message() }}
1236
- </ui-alert-description>
1237
- </ui-alert>
1302
+ </AlertDescription>
1303
+ </Alert>
1238
1304
 
1239
1305
  @if (state() === 'error') {
1240
- <ui-alert variant="destructive" class="shadow-sm">
1241
- <ui-alert-description>
1242
- Backend tidak mengonfirmasi logout, tetapi sesi lokal sudah dihapus.
1243
- </ui-alert-description>
1244
- </ui-alert>
1306
+ <Alert variant="destructive" class="shadow-sm">
1307
+ <AlertDescription>
1308
+ {{ messages.logout.failedNote }}
1309
+ </AlertDescription>
1310
+ </Alert>
1245
1311
  }
1246
- </ui-card-content>
1312
+ </CardContent>
1247
1313
 
1248
- <ui-card-footer class="flex flex-wrap gap-3 border-t border-border/60 bg-muted/10 pt-4 sm:pt-5">
1249
- <a ui-button [routerLink]="guestHomePath" variant="default"> Kembali ke login </a>
1250
- <a ui-button [routerLink]="authenticatedHomePath" variant="outline"> Buka dashboard </a>
1251
- </ui-card-footer>
1252
- </ui-card>
1253
- `, isInline: true, dependencies: [{ kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "browserUrl", "routerLink"] }, { kind: "component", type: AlertComponent, selector: "ui-alert", inputs: ["variant", "class"] }, { kind: "component", type: AlertDescriptionComponent, selector: "ui-alert-description", inputs: ["class"] }, { kind: "component", type: AspectRatioComponent, selector: "ui-aspect-ratio", inputs: ["ratio", "class"] }, { kind: "component", type: ButtonComponent, selector: "button[ui-button], a[ui-button]", inputs: ["variant", "size", "class"] }, { kind: "component", type: CardActionComponent, selector: "ui-card-action", inputs: ["class"] }, { kind: "component", type: CardComponent, selector: "ui-card", inputs: ["size", "class"] }, { kind: "component", type: CardContentComponent, selector: "ui-card-content", inputs: ["class"] }, { kind: "component", type: CardDescriptionComponent, selector: "ui-card-description, p[ui-card-description]", inputs: ["class"] }, { kind: "component", type: CardFooterComponent, selector: "ui-card-footer", inputs: ["class"] }, { kind: "component", type: CardHeaderComponent, selector: "ui-card-header", inputs: ["class"] }, { kind: "component", type: CardTitleComponent, selector: "ui-card-title, h3[ui-card-title]", inputs: ["class"] }, { kind: "component", type: SpinnerComponent, selector: "ui-spinner", inputs: ["class", "decorative", "aria-label", "aria-labelledby"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1314
+ <CardFooter class="flex flex-wrap gap-3 border-t border-border/60 bg-muted/10 pt-4 sm:pt-5">
1315
+ <a Button [routerLink]="guestHomePath" variant="default"> {{ messages.logout.backToLogin }} </a>
1316
+ <a Button [routerLink]="authenticatedHomePath" variant="outline"> {{ messages.logout.openDashboard }} </a>
1317
+ </CardFooter>
1318
+ </Card>
1319
+ `, isInline: true, dependencies: [{ kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "browserUrl", "routerLink"] }, { kind: "component", type: AlertComponent, selector: "Alert", inputs: ["variant", "class"] }, { kind: "component", type: AlertDescriptionComponent, selector: "AlertDescription", inputs: ["class"] }, { kind: "component", type: AspectRatioComponent, selector: "AspectRatio", inputs: ["ratio", "class"] }, { kind: "component", type: ButtonComponent, selector: "button[Button], a[Button]", inputs: ["variant", "size", "class"] }, { kind: "component", type: CardActionComponent, selector: "CardAction", inputs: ["class"] }, { kind: "component", type: CardComponent, selector: "Card", inputs: ["size", "class"] }, { kind: "component", type: CardContentComponent, selector: "CardContent", inputs: ["class"] }, { kind: "component", type: CardDescriptionComponent, selector: "CardDescription, p[CardDescription]", inputs: ["class"] }, { kind: "component", type: CardFooterComponent, selector: "CardFooter", inputs: ["class"] }, { kind: "component", type: CardHeaderComponent, selector: "CardHeader", inputs: ["class"] }, { kind: "component", type: CardTitleComponent, selector: "CardTitle, h3[CardTitle]", inputs: ["class"] }, { kind: "component", type: SpinnerComponent, selector: "Spinner", inputs: ["class", "decorative", "aria-label", "aria-labelledby"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1254
1320
  }
1255
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: AuthLogoutPage, decorators: [{
1321
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: AuthLogoutPage, decorators: [{
1256
1322
  type: Component,
1257
1323
  args: [{
1258
1324
  selector: 'edsis-auth-logout-page',
@@ -1275,56 +1341,55 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImpor
1275
1341
  class: 'block',
1276
1342
  },
1277
1343
  template: `
1278
- <ui-card class="w-full overflow-hidden rounded-none border-border/80 bg-card/95 shadow-2xl backdrop-blur-sm">
1279
- <ui-card-header
1344
+ <Card class="w-full overflow-hidden rounded-none border-border/80 bg-card/95 shadow-2xl backdrop-blur-sm">
1345
+ <CardHeader
1280
1346
  class="grid grid-cols-[auto_minmax(0,1fr)_auto] items-start gap-x-4 gap-y-3 border-b border-border/60 bg-muted/15 pb-4 sm:pb-5">
1281
1347
  <div class="w-16 shrink-0 sm:w-20">
1282
- <ui-aspect-ratio [ratio]="3 / 2" class="overflow-hidden rounded-none bg-primary">
1348
+ <AspectRatio [ratio]="3 / 2" class="overflow-hidden rounded-none bg-primary">
1283
1349
  <div
1284
1350
  class="flex h-full w-full items-center justify-center px-1 text-[1.25rem] leading-none tracking-[-0.08em] text-primary-foreground sm:text-[1.55rem]"
1285
1351
  style="font-family: 'Arial Black', Arial, sans-serif;">
1286
- ETOS
1352
+ {{ messages.brand.mark }}
1287
1353
  </div>
1288
- </ui-aspect-ratio>
1354
+ </AspectRatio>
1289
1355
  </div>
1290
1356
  <div class="min-w-0 space-y-0.5 pt-0.5 sm:pt-1">
1291
- <ui-card-title class="text-xl leading-tight sm:text-2xl">Mengakhiri sesi Edsis.</ui-card-title>
1292
- <p ui-card-description class="max-w-xl leading-6">
1293
- Halaman ini membersihkan sesi lokal lalu memanggil endpoint logout untuk merevoke refresh-token cookie pada
1294
- backend.
1357
+ <CardTitle class="text-xl leading-tight sm:text-2xl">{{ messages.logout.title }}</CardTitle>
1358
+ <p CardDescription class="max-w-xl leading-6">
1359
+ {{ messages.logout.intro }}
1295
1360
  </p>
1296
1361
  </div>
1297
- <ui-card-action
1362
+ <CardAction
1298
1363
  class="col-start-3 row-span-1 mt-0! pt-0.5 text-xs font-medium uppercase tracking-[0.24em] text-muted-foreground sm:pt-1 sm:text-sm">
1299
- LOGOUT
1300
- </ui-card-action>
1301
- </ui-card-header>
1364
+ {{ messages.logout.badge }}
1365
+ </CardAction>
1366
+ </CardHeader>
1302
1367
 
1303
- <ui-card-content class="space-y-4 pt-6 sm:pt-7">
1304
- <ui-alert [variant]="state() === 'error' ? 'destructive' : 'default'" class="bg-background/70 shadow-sm">
1368
+ <CardContent class="space-y-4 pt-6 sm:pt-7">
1369
+ <Alert [variant]="state() === 'error' ? 'destructive' : 'default'" class="bg-background/70 shadow-sm">
1305
1370
  @if (state() === 'pending') {
1306
- <ui-spinner class="mt-0.5 size-4" aria-label="Mengakhiri sesi" />
1371
+ <Spinner class="mt-0.5 size-4" [attr.aria-label]="messages.logout.pendingAria" />
1307
1372
  }
1308
1373
 
1309
- <ui-alert-description>
1374
+ <AlertDescription>
1310
1375
  {{ message() }}
1311
- </ui-alert-description>
1312
- </ui-alert>
1376
+ </AlertDescription>
1377
+ </Alert>
1313
1378
 
1314
1379
  @if (state() === 'error') {
1315
- <ui-alert variant="destructive" class="shadow-sm">
1316
- <ui-alert-description>
1317
- Backend tidak mengonfirmasi logout, tetapi sesi lokal sudah dihapus.
1318
- </ui-alert-description>
1319
- </ui-alert>
1380
+ <Alert variant="destructive" class="shadow-sm">
1381
+ <AlertDescription>
1382
+ {{ messages.logout.failedNote }}
1383
+ </AlertDescription>
1384
+ </Alert>
1320
1385
  }
1321
- </ui-card-content>
1386
+ </CardContent>
1322
1387
 
1323
- <ui-card-footer class="flex flex-wrap gap-3 border-t border-border/60 bg-muted/10 pt-4 sm:pt-5">
1324
- <a ui-button [routerLink]="guestHomePath" variant="default"> Kembali ke login </a>
1325
- <a ui-button [routerLink]="authenticatedHomePath" variant="outline"> Buka dashboard </a>
1326
- </ui-card-footer>
1327
- </ui-card>
1388
+ <CardFooter class="flex flex-wrap gap-3 border-t border-border/60 bg-muted/10 pt-4 sm:pt-5">
1389
+ <a Button [routerLink]="guestHomePath" variant="default"> {{ messages.logout.backToLogin }} </a>
1390
+ <a Button [routerLink]="authenticatedHomePath" variant="outline"> {{ messages.logout.openDashboard }} </a>
1391
+ </CardFooter>
1392
+ </Card>
1328
1393
  `,
1329
1394
  changeDetection: ChangeDetectionStrategy.OnPush,
1330
1395
  }]
@@ -1338,6 +1403,7 @@ class AuthVerifyPage {
1338
1403
  location = inject(Location);
1339
1404
  authMagicLinkService = inject(AuthMagicLinkService);
1340
1405
  authConfig = inject(EDSIS_AUTH_CONFIG);
1406
+ messages = inject(EDSIS_AUTH_MESSAGES);
1341
1407
  queryParamMap = toSignal(this.route.queryParamMap, {
1342
1408
  initialValue: this.route.snapshot.queryParamMap,
1343
1409
  });
@@ -1350,7 +1416,7 @@ class AuthVerifyPage {
1350
1416
  authenticatedHomePath = this.authConfig.authenticatedHomePath;
1351
1417
  state = signal('pending', /* @ts-ignore */
1352
1418
  ...(ngDevMode ? [{ debugName: "state" }] : /* istanbul ignore next */ []));
1353
- message = signal('Memverifikasi magic link...', /* @ts-ignore */
1419
+ message = signal(this.messages.verify.pending, /* @ts-ignore */
1354
1420
  ...(ngDevMode ? [{ debugName: "message" }] : /* istanbul ignore next */ []));
1355
1421
  token = input(undefined, /* @ts-ignore */
1356
1422
  ...(ngDevMode ? [{ debugName: "token" }] : /* istanbul ignore next */ []));
@@ -1365,7 +1431,7 @@ class AuthVerifyPage {
1365
1431
  this.handledToken = null;
1366
1432
  this.clearTokenFromAddressBar();
1367
1433
  this.state.set('error');
1368
- this.message.set('Token magic link tidak ditemukan pada URL yang dibuka.');
1434
+ this.message.set(this.messages.verify.tokenMissing);
1369
1435
  return;
1370
1436
  }
1371
1437
  if (token === this.handledToken) {
@@ -1374,7 +1440,7 @@ class AuthVerifyPage {
1374
1440
  this.handledToken = token;
1375
1441
  this.clearTokenFromAddressBar();
1376
1442
  this.state.set('pending');
1377
- this.message.set('Memverifikasi magic link...');
1443
+ this.message.set(this.messages.verify.pending);
1378
1444
  this.verify(token);
1379
1445
  });
1380
1446
  }
@@ -1395,74 +1461,73 @@ class AuthVerifyPage {
1395
1461
  const session = persistSession(this.documentRef, response.data);
1396
1462
  if (!session) {
1397
1463
  this.state.set('error');
1398
- this.message.set('Verifikasi berhasil, tetapi access token tidak ditemukan di respons backend.');
1464
+ this.message.set(this.messages.verify.missingAccessToken);
1399
1465
  return;
1400
1466
  }
1401
1467
  this.state.set('success');
1402
- this.message.set(getResponseMessage(response, 'Verifikasi berhasil. Mengarahkan ke dashboard...'));
1468
+ this.message.set(getResponseMessage(response, this.messages.verify.successRedirect));
1403
1469
  void this.router.navigateByUrl(this.authenticatedHomePath, { replaceUrl: true });
1404
1470
  },
1405
1471
  error: (error) => {
1406
1472
  this.state.set('error');
1407
- this.message.set(getErrorMessage(error, 'Magic link tidak valid atau sudah kedaluwarsa.'));
1473
+ this.message.set(getErrorMessage(error, this.messages.verify.invalidOrExpired));
1408
1474
  },
1409
1475
  });
1410
1476
  }
1411
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: AuthVerifyPage, deps: [], target: i0.ɵɵFactoryTarget.Component });
1412
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.0", type: AuthVerifyPage, isStandalone: true, selector: "edsis-auth-verify-page", inputs: { token: { classPropertyName: "token", publicName: "token", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "block" }, ngImport: i0, template: `
1413
- <ui-card class="w-full overflow-hidden rounded-none border-border/80 bg-card/95 shadow-2xl backdrop-blur-sm">
1414
- <ui-card-header
1477
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: AuthVerifyPage, deps: [], target: i0.ɵɵFactoryTarget.Component });
1478
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.1", type: AuthVerifyPage, isStandalone: true, selector: "edsis-auth-verify-page", inputs: { token: { classPropertyName: "token", publicName: "token", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "block" }, ngImport: i0, template: `
1479
+ <Card class="w-full overflow-hidden rounded-none border-border/80 bg-card/95 shadow-2xl backdrop-blur-sm">
1480
+ <CardHeader
1415
1481
  class="grid grid-cols-[auto_minmax(0,1fr)_auto] items-start gap-x-4 gap-y-3 border-b border-border/60 bg-muted/15 pb-4 sm:pb-5">
1416
1482
  <div class="w-16 shrink-0 sm:w-20">
1417
- <ui-aspect-ratio [ratio]="3 / 2" class="overflow-hidden rounded-none bg-primary">
1483
+ <AspectRatio [ratio]="3 / 2" class="overflow-hidden rounded-none bg-primary">
1418
1484
  <div
1419
1485
  class="flex h-full w-full items-center justify-center px-1 text-[1.25rem] leading-none tracking-[-0.08em] text-primary-foreground sm:text-[1.55rem]"
1420
1486
  style="font-family: 'Arial Black', Arial, sans-serif;">
1421
- ETOS
1487
+ {{ messages.brand.mark }}
1422
1488
  </div>
1423
- </ui-aspect-ratio>
1489
+ </AspectRatio>
1424
1490
  </div>
1425
1491
  <div class="min-w-0 space-y-0.5 pt-0.5 sm:pt-1">
1426
- <ui-card-title class="text-xl leading-tight sm:text-2xl">Memverifikasi magic link.</ui-card-title>
1427
- <p ui-card-description class="max-w-xl leading-6">
1428
- Token akan dikonsumsi satu kali, sesi refresh cookie dibentuk di backend, lalu access token disimpan secara
1429
- lokal untuk aplikasi.
1492
+ <CardTitle class="text-xl leading-tight sm:text-2xl">{{ messages.verify.title }}</CardTitle>
1493
+ <p CardDescription class="max-w-xl leading-6">
1494
+ {{ messages.verify.intro }}
1430
1495
  </p>
1431
1496
  </div>
1432
- <ui-card-action
1497
+ <CardAction
1433
1498
  class="col-start-3 row-span-1 mt-0! pt-0.5 text-xs font-medium uppercase tracking-[0.24em] text-muted-foreground sm:pt-1 sm:text-sm">
1434
- VERIFY
1435
- </ui-card-action>
1436
- </ui-card-header>
1499
+ {{ messages.verify.badge }}
1500
+ </CardAction>
1501
+ </CardHeader>
1437
1502
 
1438
- <ui-card-content class="space-y-4 pt-6 sm:pt-7">
1439
- <ui-alert [variant]="state() === 'error' ? 'destructive' : 'default'" class="bg-background/70 shadow-sm">
1503
+ <CardContent class="space-y-4 pt-6 sm:pt-7">
1504
+ <Alert [variant]="state() === 'error' ? 'destructive' : 'default'" class="bg-background/70 shadow-sm">
1440
1505
  @if (state() === 'pending') {
1441
- <ui-spinner class="mt-0.5 size-4" aria-label="Memverifikasi magic link" />
1506
+ <Spinner class="mt-0.5 size-4" [attr.aria-label]="messages.verify.pendingAria" />
1442
1507
  }
1443
1508
 
1444
- <ui-alert-description>
1509
+ <AlertDescription>
1445
1510
  {{ message() }}
1446
- </ui-alert-description>
1447
- </ui-alert>
1511
+ </AlertDescription>
1512
+ </Alert>
1448
1513
 
1449
1514
  @if (state() === 'error') {
1450
- <ui-alert variant="destructive" class="shadow-sm">
1451
- <ui-alert-description>
1515
+ <Alert variant="destructive" class="shadow-sm">
1516
+ <AlertDescription>
1452
1517
  Pastikan Anda membuka link terbaru dari email dan token belum pernah dipakai sebelumnya.
1453
- </ui-alert-description>
1454
- </ui-alert>
1518
+ </AlertDescription>
1519
+ </Alert>
1455
1520
  }
1456
- </ui-card-content>
1521
+ </CardContent>
1457
1522
 
1458
- <ui-card-footer class="flex flex-wrap gap-3 border-t border-border/60 bg-muted/10 pt-4 sm:pt-5">
1459
- <a ui-button [routerLink]="guestHomePath" variant="outline"> Minta link baru </a>
1460
- <a ui-button [routerLink]="authenticatedHomePath" variant="default"> Buka dashboard </a>
1461
- </ui-card-footer>
1462
- </ui-card>
1463
- `, isInline: true, dependencies: [{ kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "browserUrl", "routerLink"] }, { kind: "component", type: AlertComponent, selector: "ui-alert", inputs: ["variant", "class"] }, { kind: "component", type: AlertDescriptionComponent, selector: "ui-alert-description", inputs: ["class"] }, { kind: "component", type: AspectRatioComponent, selector: "ui-aspect-ratio", inputs: ["ratio", "class"] }, { kind: "component", type: ButtonComponent, selector: "button[ui-button], a[ui-button]", inputs: ["variant", "size", "class"] }, { kind: "component", type: CardActionComponent, selector: "ui-card-action", inputs: ["class"] }, { kind: "component", type: CardComponent, selector: "ui-card", inputs: ["size", "class"] }, { kind: "component", type: CardContentComponent, selector: "ui-card-content", inputs: ["class"] }, { kind: "component", type: CardDescriptionComponent, selector: "ui-card-description, p[ui-card-description]", inputs: ["class"] }, { kind: "component", type: CardFooterComponent, selector: "ui-card-footer", inputs: ["class"] }, { kind: "component", type: CardHeaderComponent, selector: "ui-card-header", inputs: ["class"] }, { kind: "component", type: CardTitleComponent, selector: "ui-card-title, h3[ui-card-title]", inputs: ["class"] }, { kind: "component", type: SpinnerComponent, selector: "ui-spinner", inputs: ["class", "decorative", "aria-label", "aria-labelledby"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1523
+ <CardFooter class="flex flex-wrap gap-3 border-t border-border/60 bg-muted/10 pt-4 sm:pt-5">
1524
+ <a Button [routerLink]="guestHomePath" variant="outline"> {{ messages.verify.requestNewLink }} </a>
1525
+ <a Button [routerLink]="authenticatedHomePath" variant="default"> {{ messages.verify.openDashboard }} </a>
1526
+ </CardFooter>
1527
+ </Card>
1528
+ `, isInline: true, dependencies: [{ kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "browserUrl", "routerLink"] }, { kind: "component", type: AlertComponent, selector: "Alert", inputs: ["variant", "class"] }, { kind: "component", type: AlertDescriptionComponent, selector: "AlertDescription", inputs: ["class"] }, { kind: "component", type: AspectRatioComponent, selector: "AspectRatio", inputs: ["ratio", "class"] }, { kind: "component", type: ButtonComponent, selector: "button[Button], a[Button]", inputs: ["variant", "size", "class"] }, { kind: "component", type: CardActionComponent, selector: "CardAction", inputs: ["class"] }, { kind: "component", type: CardComponent, selector: "Card", inputs: ["size", "class"] }, { kind: "component", type: CardContentComponent, selector: "CardContent", inputs: ["class"] }, { kind: "component", type: CardDescriptionComponent, selector: "CardDescription, p[CardDescription]", inputs: ["class"] }, { kind: "component", type: CardFooterComponent, selector: "CardFooter", inputs: ["class"] }, { kind: "component", type: CardHeaderComponent, selector: "CardHeader", inputs: ["class"] }, { kind: "component", type: CardTitleComponent, selector: "CardTitle, h3[CardTitle]", inputs: ["class"] }, { kind: "component", type: SpinnerComponent, selector: "Spinner", inputs: ["class", "decorative", "aria-label", "aria-labelledby"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1464
1529
  }
1465
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: AuthVerifyPage, decorators: [{
1530
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: AuthVerifyPage, decorators: [{
1466
1531
  type: Component,
1467
1532
  args: [{
1468
1533
  selector: 'edsis-auth-verify-page',
@@ -1485,56 +1550,55 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImpor
1485
1550
  class: 'block',
1486
1551
  },
1487
1552
  template: `
1488
- <ui-card class="w-full overflow-hidden rounded-none border-border/80 bg-card/95 shadow-2xl backdrop-blur-sm">
1489
- <ui-card-header
1553
+ <Card class="w-full overflow-hidden rounded-none border-border/80 bg-card/95 shadow-2xl backdrop-blur-sm">
1554
+ <CardHeader
1490
1555
  class="grid grid-cols-[auto_minmax(0,1fr)_auto] items-start gap-x-4 gap-y-3 border-b border-border/60 bg-muted/15 pb-4 sm:pb-5">
1491
1556
  <div class="w-16 shrink-0 sm:w-20">
1492
- <ui-aspect-ratio [ratio]="3 / 2" class="overflow-hidden rounded-none bg-primary">
1557
+ <AspectRatio [ratio]="3 / 2" class="overflow-hidden rounded-none bg-primary">
1493
1558
  <div
1494
1559
  class="flex h-full w-full items-center justify-center px-1 text-[1.25rem] leading-none tracking-[-0.08em] text-primary-foreground sm:text-[1.55rem]"
1495
1560
  style="font-family: 'Arial Black', Arial, sans-serif;">
1496
- ETOS
1561
+ {{ messages.brand.mark }}
1497
1562
  </div>
1498
- </ui-aspect-ratio>
1563
+ </AspectRatio>
1499
1564
  </div>
1500
1565
  <div class="min-w-0 space-y-0.5 pt-0.5 sm:pt-1">
1501
- <ui-card-title class="text-xl leading-tight sm:text-2xl">Memverifikasi magic link.</ui-card-title>
1502
- <p ui-card-description class="max-w-xl leading-6">
1503
- Token akan dikonsumsi satu kali, sesi refresh cookie dibentuk di backend, lalu access token disimpan secara
1504
- lokal untuk aplikasi.
1566
+ <CardTitle class="text-xl leading-tight sm:text-2xl">{{ messages.verify.title }}</CardTitle>
1567
+ <p CardDescription class="max-w-xl leading-6">
1568
+ {{ messages.verify.intro }}
1505
1569
  </p>
1506
1570
  </div>
1507
- <ui-card-action
1571
+ <CardAction
1508
1572
  class="col-start-3 row-span-1 mt-0! pt-0.5 text-xs font-medium uppercase tracking-[0.24em] text-muted-foreground sm:pt-1 sm:text-sm">
1509
- VERIFY
1510
- </ui-card-action>
1511
- </ui-card-header>
1573
+ {{ messages.verify.badge }}
1574
+ </CardAction>
1575
+ </CardHeader>
1512
1576
 
1513
- <ui-card-content class="space-y-4 pt-6 sm:pt-7">
1514
- <ui-alert [variant]="state() === 'error' ? 'destructive' : 'default'" class="bg-background/70 shadow-sm">
1577
+ <CardContent class="space-y-4 pt-6 sm:pt-7">
1578
+ <Alert [variant]="state() === 'error' ? 'destructive' : 'default'" class="bg-background/70 shadow-sm">
1515
1579
  @if (state() === 'pending') {
1516
- <ui-spinner class="mt-0.5 size-4" aria-label="Memverifikasi magic link" />
1580
+ <Spinner class="mt-0.5 size-4" [attr.aria-label]="messages.verify.pendingAria" />
1517
1581
  }
1518
1582
 
1519
- <ui-alert-description>
1583
+ <AlertDescription>
1520
1584
  {{ message() }}
1521
- </ui-alert-description>
1522
- </ui-alert>
1585
+ </AlertDescription>
1586
+ </Alert>
1523
1587
 
1524
1588
  @if (state() === 'error') {
1525
- <ui-alert variant="destructive" class="shadow-sm">
1526
- <ui-alert-description>
1589
+ <Alert variant="destructive" class="shadow-sm">
1590
+ <AlertDescription>
1527
1591
  Pastikan Anda membuka link terbaru dari email dan token belum pernah dipakai sebelumnya.
1528
- </ui-alert-description>
1529
- </ui-alert>
1592
+ </AlertDescription>
1593
+ </Alert>
1530
1594
  }
1531
- </ui-card-content>
1595
+ </CardContent>
1532
1596
 
1533
- <ui-card-footer class="flex flex-wrap gap-3 border-t border-border/60 bg-muted/10 pt-4 sm:pt-5">
1534
- <a ui-button [routerLink]="guestHomePath" variant="outline"> Minta link baru </a>
1535
- <a ui-button [routerLink]="authenticatedHomePath" variant="default"> Buka dashboard </a>
1536
- </ui-card-footer>
1537
- </ui-card>
1597
+ <CardFooter class="flex flex-wrap gap-3 border-t border-border/60 bg-muted/10 pt-4 sm:pt-5">
1598
+ <a Button [routerLink]="guestHomePath" variant="outline"> {{ messages.verify.requestNewLink }} </a>
1599
+ <a Button [routerLink]="authenticatedHomePath" variant="default"> {{ messages.verify.openDashboard }} </a>
1600
+ </CardFooter>
1601
+ </Card>
1538
1602
  `,
1539
1603
  changeDetection: ChangeDetectionStrategy.OnPush,
1540
1604
  }]
@@ -1570,5 +1634,5 @@ const authRoutes = [
1570
1634
  * Generated bundle index. Do not edit.
1571
1635
  */
1572
1636
 
1573
- export { AUTH_SESSION_CHANGE_EVENT, AuthLoginPage, AuthLogoutPage, AuthShellPage, AuthVerifyPage, EDSIS_AUTH_CONFIG, EDSIS_SKIP_AUTH, EDSIS_SKIP_SESSION_REFRESH, authRoutes, authenticatedGuard, clearStoredSession, edsisAuthInterceptor, guestOnlyGuard, hasStoredSession, homeRedirectGuard, injectSessionClear, injectSessionRefresh, injectSessionState, persistSession, provideEdsisAuth, readStoredAccessToken, readStoredSession, resolveEdsisAuthConfig, shouldClearSessionAfterRefreshFailure, startAuthSessionMonitor, validateStoredSession, ɵresetAuthSessionModuleState };
1637
+ export { AUTH_SESSION_CHANGE_EVENT, AuthLoginPage, AuthLogoutPage, AuthShellPage, AuthVerifyPage, DEFAULT_EDSIS_AUTH_MESSAGES, EDSIS_AUTH_CONFIG, EDSIS_AUTH_MESSAGES, EDSIS_SKIP_AUTH, EDSIS_SKIP_SESSION_REFRESH, authRoutes, authenticatedGuard, clearStoredSession, edsisAuthInterceptor, guestOnlyGuard, hasStoredSession, homeRedirectGuard, injectSessionClear, injectSessionRefresh, injectSessionState, mergeEdsisAuthMessages, persistSession, provideEdsisAuth, readStoredAccessToken, readStoredSession, resolveEdsisAuthConfig, shouldClearSessionAfterRefreshFailure, startAuthSessionMonitor, validateStoredSession, ɵresetAuthSessionModuleState };
1574
1638
  //# sourceMappingURL=edsis-angular-module-auth.mjs.map