@idsoftsource/initial-process 1.7.8 → 1.7.9
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,7 +8,7 @@ import * as i2 from '@angular/router';
|
|
|
8
8
|
import { RouterModule } from '@angular/router';
|
|
9
9
|
import { map, of, firstValueFrom, tap as tap$1, Subscription, switchMap, finalize, catchError, EMPTY, Subject, takeUntil } from 'rxjs';
|
|
10
10
|
import * as i1 from '@angular/common/http';
|
|
11
|
-
import { HttpClient, HttpParams, HttpHeaders, HttpErrorResponse } from '@angular/common/http';
|
|
11
|
+
import { HttpClient, HttpParams, HttpHeaders, HttpErrorResponse, HTTP_INTERCEPTORS } from '@angular/common/http';
|
|
12
12
|
import * as i7 from 'ngx-bootstrap/modal';
|
|
13
13
|
import { ModalModule } from 'ngx-bootstrap/modal';
|
|
14
14
|
import * as i9 from '@auth0/auth0-angular';
|
|
@@ -34618,6 +34618,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
34618
34618
|
}]
|
|
34619
34619
|
}] });
|
|
34620
34620
|
|
|
34621
|
+
class InitialHeaderInterceptor {
|
|
34622
|
+
intercept(request, next) {
|
|
34623
|
+
const modifiedRequest = request.clone({
|
|
34624
|
+
setHeaders: {
|
|
34625
|
+
'X-initial': 'true'
|
|
34626
|
+
}
|
|
34627
|
+
});
|
|
34628
|
+
return next.handle(modifiedRequest);
|
|
34629
|
+
}
|
|
34630
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: InitialHeaderInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
34631
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: InitialHeaderInterceptor });
|
|
34632
|
+
}
|
|
34633
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: InitialHeaderInterceptor, decorators: [{
|
|
34634
|
+
type: Injectable
|
|
34635
|
+
}] });
|
|
34636
|
+
|
|
34621
34637
|
const INTERNAL_COMPONENTS = [
|
|
34622
34638
|
StepperComponent,
|
|
34623
34639
|
EducationComponent,
|
|
@@ -34662,7 +34678,13 @@ class InitialProcessModule {
|
|
|
34662
34678
|
CommonPipesModule], exports: [InitialProcessComponent,
|
|
34663
34679
|
TermsConditionsComponent,
|
|
34664
34680
|
PrivacyPolicyComponent] });
|
|
34665
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: InitialProcessModule,
|
|
34681
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: InitialProcessModule, providers: [
|
|
34682
|
+
{
|
|
34683
|
+
provide: HTTP_INTERCEPTORS,
|
|
34684
|
+
useClass: InitialHeaderInterceptor,
|
|
34685
|
+
multi: true
|
|
34686
|
+
}
|
|
34687
|
+
], imports: [CommonModule,
|
|
34666
34688
|
FormsModule,
|
|
34667
34689
|
ReactiveFormsModule,
|
|
34668
34690
|
RouterModule,
|
|
@@ -34719,6 +34741,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
34719
34741
|
InitialProcessComponent,
|
|
34720
34742
|
TermsConditionsComponent,
|
|
34721
34743
|
PrivacyPolicyComponent
|
|
34744
|
+
],
|
|
34745
|
+
providers: [
|
|
34746
|
+
{
|
|
34747
|
+
provide: HTTP_INTERCEPTORS,
|
|
34748
|
+
useClass: InitialHeaderInterceptor,
|
|
34749
|
+
multi: true
|
|
34750
|
+
}
|
|
34722
34751
|
]
|
|
34723
34752
|
}]
|
|
34724
34753
|
}] });
|