@indigina/kendo 2.0.14 → 2.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/indigina-kendo.mjs +13 -12
- package/fesm2022/indigina-kendo.mjs.map +1 -1
- package/index.d.ts +5 -5
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i1$3 from '@angular/common';
|
|
2
2
|
import { CommonModule } from '@angular/common';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { Input, Directive, Component, NgModule, EventEmitter, Output, ChangeDetectionStrategy, HostListener, Injectable, ViewChildren, ViewChild, InjectionToken, Inject,
|
|
4
|
+
import { Input, Directive, Component, NgModule, EventEmitter, Output, ChangeDetectionStrategy, HostListener, Injectable, ViewChildren, ViewChild, inject, InjectionToken, Inject, provideAppInitializer } from '@angular/core';
|
|
5
5
|
import * as i1 from '@angular/forms';
|
|
6
6
|
import { UntypedFormControl, Validators, FormGroupDirective, ControlContainer, ReactiveFormsModule, FormsModule, UntypedFormGroup } from '@angular/forms';
|
|
7
7
|
import * as i2 from '@ngx-translate/core';
|
|
@@ -21,14 +21,14 @@ import { toODataString, distinct, filterBy } from '@progress/kendo-data-query';
|
|
|
21
21
|
import * as i1$1 from 'ngx-toastr';
|
|
22
22
|
import { ToastrModule } from 'ngx-toastr';
|
|
23
23
|
import * as i1$2 from '@angular/router';
|
|
24
|
-
import { NavigationEnd, RouterModule } from '@angular/router';
|
|
24
|
+
import { NavigationEnd, RouterModule, Router } from '@angular/router';
|
|
25
25
|
import XmlBeautify from 'xml-beautify';
|
|
26
26
|
import * as i1$4 from 'ngx-clipboard';
|
|
27
27
|
import { ClipboardModule } from 'ngx-clipboard';
|
|
28
28
|
import { TreeViewModule } from '@progress/kendo-angular-treeview';
|
|
29
|
-
import { InteractionRequiredAuthError, BrowserCacheLocation, PublicClientApplication } from '@azure/msal-browser';
|
|
29
|
+
import { InteractionRequiredAuthError, EventType, BrowserCacheLocation, PublicClientApplication } from '@azure/msal-browser';
|
|
30
30
|
import * as i1$5 from '@azure/msal-angular';
|
|
31
|
-
import { MsalService, MsalModule } from '@azure/msal-angular';
|
|
31
|
+
import { MsalBroadcastService, MsalService, MsalModule } from '@azure/msal-angular';
|
|
32
32
|
import * as signalR from '@microsoft/signalr';
|
|
33
33
|
import * as i3$2 from '@progress/kendo-angular-popup';
|
|
34
34
|
import { PopupModule } from '@progress/kendo-angular-popup';
|
|
@@ -2055,10 +2055,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
2055
2055
|
|
|
2056
2056
|
const resetPasswordCanceledErrorCode = 'AADB2C90091';
|
|
2057
2057
|
class AzureLoginCallbackComponent {
|
|
2058
|
-
constructor(
|
|
2059
|
-
this.
|
|
2060
|
-
this.
|
|
2061
|
-
this.
|
|
2058
|
+
constructor() {
|
|
2059
|
+
this.msalBroadcastService = inject(MsalBroadcastService);
|
|
2060
|
+
this.router = inject(Router);
|
|
2061
|
+
this.settingsService = inject(SettingsService);
|
|
2062
|
+
this.authService = inject(MsalService);
|
|
2062
2063
|
}
|
|
2063
2064
|
ngOnInit() {
|
|
2064
2065
|
this.authService.handleRedirectObservable().subscribe((result) => {
|
|
@@ -2072,21 +2073,21 @@ class AzureLoginCallbackComponent {
|
|
|
2072
2073
|
this.router.navigate(['home']);
|
|
2073
2074
|
}
|
|
2074
2075
|
});
|
|
2076
|
+
this.msalBroadcastService.msalSubject$.pipe(filter(({ eventType }) => eventType === EventType.ACQUIRE_TOKEN_FAILURE || eventType === EventType.LOGIN_FAILURE)).subscribe(() => this.authService.logoutRedirect());
|
|
2075
2077
|
}
|
|
2076
2078
|
logout() {
|
|
2077
2079
|
this.authService.logout();
|
|
2078
2080
|
}
|
|
2079
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AzureLoginCallbackComponent, deps: [
|
|
2080
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", type: AzureLoginCallbackComponent, isStandalone:
|
|
2081
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AzureLoginCallbackComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2082
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", type: AzureLoginCallbackComponent, isStandalone: true, selector: "lib-azure-login", ngImport: i0, template: '', isInline: true }); }
|
|
2081
2083
|
}
|
|
2082
2084
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AzureLoginCallbackComponent, decorators: [{
|
|
2083
2085
|
type: Component,
|
|
2084
2086
|
args: [{
|
|
2085
2087
|
selector: 'lib-azure-login',
|
|
2086
2088
|
template: '',
|
|
2087
|
-
standalone: false
|
|
2088
2089
|
}]
|
|
2089
|
-
}]
|
|
2090
|
+
}] });
|
|
2090
2091
|
|
|
2091
2092
|
const isIE = window.navigator.userAgent.includes('MSIE ') ||
|
|
2092
2093
|
window.navigator.userAgent.includes('Trident/');
|