@indigina/kendo 2.0.35 → 2.0.36

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indigina/kendo",
3
- "version": "2.0.35",
3
+ "version": "2.0.36",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=22.0.0 < 23.0.0",
6
6
  "@angular/core": ">=22.0.0 < 23.0.0",
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { OnInit, OnChanges, ElementRef, EventEmitter, OnDestroy, QueryList, Renderer2, ModuleWithProviders, TemplateRef, ViewContainerRef, SimpleChanges, InputSignal, OutputEmitterRef, AfterViewInit } from '@angular/core';
2
+ import { OnInit, OnChanges, ElementRef, EventEmitter, Injector, OnDestroy, QueryList, Renderer2, ModuleWithProviders, TemplateRef, ViewContainerRef, SimpleChanges, InputSignal, OutputEmitterRef, AfterViewInit } from '@angular/core';
3
3
  import * as i2 from '@angular/forms';
4
4
  import { FormGroupDirective, ValidatorFn, AbstractControl, UntypedFormGroup, AbstractControlOptions, AsyncValidatorFn } from '@angular/forms';
5
5
  import * as i3 from '@progress/kendo-angular-buttons';
@@ -19,8 +19,6 @@ import { Router, ActivatedRoute } from '@angular/router';
19
19
  import * as signalR from '@microsoft/signalr';
20
20
  import { LogLevel } from '@microsoft/signalr';
21
21
  import { NotificationService } from '@progress/kendo-angular-notification';
22
- import * as i3$4 from '@azure/msal-angular';
23
- import { MsalService } from '@azure/msal-angular';
24
22
  import * as i4$1 from 'ngx-clipboard';
25
23
  import { ClipboardService } from 'ngx-clipboard';
26
24
  import * as i5$1 from '@progress/kendo-angular-treeview';
@@ -37,6 +35,7 @@ import * as i8 from '@progress/kendo-angular-grid';
37
35
  import { RemoveEvent, CellClickEvent, DataStateChangeEvent, RowClassArgs, FilterService } from '@progress/kendo-angular-grid';
38
36
  import * as i7$1 from '@progress/kendo-angular-pager';
39
37
  import * as i2$3 from '@ngx-loading-bar/http-client';
38
+ import * as i3$4 from '@azure/msal-angular';
40
39
 
41
40
  declare abstract class FieldComponent<T> implements OnInit, OnChanges {
42
41
  parent: FormGroupDirective;
@@ -277,23 +276,20 @@ declare class HttpService {
277
276
  declare abstract class AuthProvider {
278
277
  abstract initialize(): Promise<Observable<boolean>>;
279
278
  abstract login(): any;
279
+ reauthenticate(): Observable<void>;
280
280
  abstract logout(): any;
281
281
  abstract isUserLoggedIn(): boolean;
282
282
  abstract getAccessToken(): Observable<string>;
283
283
  }
284
284
 
285
- declare abstract class IndiginaConfiguration {
286
- langs?: TranslateLoader;
287
- appSettings?: AppSettings;
288
- static ɵfac: i0.ɵɵFactoryDeclaration<IndiginaConfiguration, never>;
289
- static ɵprov: i0.ɵɵInjectableDeclaration<IndiginaConfiguration>;
290
- }
291
-
292
285
  declare class AuthProviderResolver {
293
286
  private AuthProvider$;
294
- constructor(msalService: MsalService, settingsService: SettingsService, indiginaConfiguration: IndiginaConfiguration);
287
+ private readonly provider;
288
+ private initializationStarted;
289
+ constructor(injector: Injector, customProvider: AuthProvider | null);
295
290
  getProvider: () => Observable<AuthProvider>;
296
- static ɵfac: i0.ɵɵFactoryDeclaration<AuthProviderResolver, never>;
291
+ private ensureInitialized;
292
+ static ɵfac: i0.ɵɵFactoryDeclaration<AuthProviderResolver, [null, { optional: true; }]>;
297
293
  static ɵprov: i0.ɵɵInjectableDeclaration<AuthProviderResolver>;
298
294
  }
299
295
 
@@ -407,6 +403,13 @@ interface NamedModel extends IdentifiedModel {
407
403
 
408
404
  declare const HttpMethods: NamedModel[];
409
405
 
406
+ declare abstract class IndiginaConfiguration {
407
+ langs?: TranslateLoader;
408
+ appSettings?: AppSettings;
409
+ static ɵfac: i0.ɵɵFactoryDeclaration<IndiginaConfiguration, never>;
410
+ static ɵprov: i0.ɵɵInjectableDeclaration<IndiginaConfiguration>;
411
+ }
412
+
410
413
  interface Language {
411
414
  name: string;
412
415
  code: string;
@@ -662,8 +665,8 @@ declare class AccountMenuModule {
662
665
  declare class AzureLoginCallbackComponent {
663
666
  private readonly msalBroadcastService;
664
667
  private readonly router;
665
- private readonly settingsService;
666
668
  private readonly authService;
669
+ private readonly resolver;
667
670
  ngOnInit(): void;
668
671
  logout(): void;
669
672
  static ɵfac: i0.ɵɵFactoryDeclaration<AzureLoginCallbackComponent, never>;
@@ -672,6 +675,9 @@ declare class AzureLoginCallbackComponent {
672
675
 
673
676
  declare const MSALInstanceFactory: (config: IndiginaConfiguration) => IPublicClientApplication;
674
677
 
678
+ type AzureB2CRedirectConfig = IndiginaConfiguration | AppSettings | AzureB2CSettings | string | null | undefined;
679
+ declare const handleAzureB2CRedirectBridge: (config?: AzureB2CRedirectConfig) => Promise<boolean>;
680
+
675
681
  declare enum PermissionTypes {
676
682
  Create = "Create",
677
683
  Delete = "Delete",
@@ -1001,7 +1007,7 @@ declare class EntityEditFormComponent implements OnInit, OnDestroy, OnChanges {
1001
1007
  private route;
1002
1008
  formGroup: BehaviorSubject<FormGroupWithErrors>;
1003
1009
  title: string;
1004
- entityId?: string;
1010
+ entityId?: string | null;
1005
1011
  adapter: IFormAdapter<IdentifiedModel>;
1006
1012
  routeService: Subscription;
1007
1013
  createButtonText: string;
@@ -1397,5 +1403,5 @@ declare class AppCoreModule {
1397
1403
 
1398
1404
  declare const SKIP_AUTH_TOKEN: HttpContextToken<boolean>;
1399
1405
 
1400
- export { AccountMenuComponent, AccountMenuModule, AccountService, ActivityFilterComponent, ActivityFilterModule, ActivityFilterService, AppCoreModule, AppSettings, AppToastrService, AuthProvider, AuthProviderResolver, AzureLoginCallbackComponent, BaseAccountService, ConfirmDialogComponent, ConfirmDialogModule, ContentTypesFormat, CreateNewComponent, CurrentTimeZoneModule, CurrentTimezoneComponent, CustomHttpErrorResponse, DebounceDirective, DebounceModule, EntityEditButtonsBarComponent, EntityEditButtonsBarModule, EntityEditComponent, EntityEditFormComponent, EntityEditFormModule, EntityListComponent, EntityListModule, EntityService, EventNames, ExcelExportButtonComponent, ExcelExportButtonModule, FieldCheckBoxInputComponent, FieldCheckBoxInputModule, FieldComponent, FieldDropdownComponent, FieldDropdownModule, FieldDropdownlistComponent, FieldDropdownlistModule, FieldFileSelectComponent, FieldFileSelectModule, FieldFileUploadComponent, FieldFileUploadModule, FieldInputComponent, FieldInputModule, FieldMultiSelectComponent, FieldMultiselectModule, FieldNumericTextBoxInputComponent, FieldNumericTextBoxInputModule, FieldTextAreaComponent, FieldTextAreaModule, FieldTypes, FilterTargets, FooterBarComponent, FooterBarModule, ForbiddenComponent, FormGroupWithErrors, GeneralErrorsComponent, GeneralErrorsModule, HttpCodes, HttpMethods, HttpService, IndiginaConfiguration, IndiginaTreeViewModule, LanguageSelectorComponent, LanguageSelectorModule, LiveUpdatesControlComponent, LiveUpdatesControlModule, LocaleSettingsService, MSALInstanceFactory, MemberTypes, MenuItemGroupComponent, ModalWindowComponent, ModalWindowModule, MulticheckFilterComponent, MulticheckFilterModule, NumberInputComponent, ObjectDropdownComponent, ObjectDropdownModule, Operators, PermissionTypes, PermissionsService, PrettifierFactory, ReEntrySubscription, RequirePermissionDirective, RequirePermissionModule, SKIP_AUTH_TOKEN, SettingsService, SideMenuComponent, SideMenuModule, SignalRService, TopBarModule, TopMenuComponent, TreeViewComponent, TreeViewNodeComponent, UserListAdminComponent, buildActivityEndpoints, buildEntityEndpoints, endpoints, getValueFromFilterByField, urlDeserialize, urlSerialize };
1406
+ export { AccountMenuComponent, AccountMenuModule, AccountService, ActivityFilterComponent, ActivityFilterModule, ActivityFilterService, AppCoreModule, AppSettings, AppToastrService, AuthProvider, AuthProviderResolver, AzureLoginCallbackComponent, BaseAccountService, ConfirmDialogComponent, ConfirmDialogModule, ContentTypesFormat, CreateNewComponent, CurrentTimeZoneModule, CurrentTimezoneComponent, CustomHttpErrorResponse, DebounceDirective, DebounceModule, EntityEditButtonsBarComponent, EntityEditButtonsBarModule, EntityEditComponent, EntityEditFormComponent, EntityEditFormModule, EntityListComponent, EntityListModule, EntityService, EventNames, ExcelExportButtonComponent, ExcelExportButtonModule, FieldCheckBoxInputComponent, FieldCheckBoxInputModule, FieldComponent, FieldDropdownComponent, FieldDropdownModule, FieldDropdownlistComponent, FieldDropdownlistModule, FieldFileSelectComponent, FieldFileSelectModule, FieldFileUploadComponent, FieldFileUploadModule, FieldInputComponent, FieldInputModule, FieldMultiSelectComponent, FieldMultiselectModule, FieldNumericTextBoxInputComponent, FieldNumericTextBoxInputModule, FieldTextAreaComponent, FieldTextAreaModule, FieldTypes, FilterTargets, FooterBarComponent, FooterBarModule, ForbiddenComponent, FormGroupWithErrors, GeneralErrorsComponent, GeneralErrorsModule, HttpCodes, HttpMethods, HttpService, IndiginaConfiguration, IndiginaTreeViewModule, LanguageSelectorComponent, LanguageSelectorModule, LiveUpdatesControlComponent, LiveUpdatesControlModule, LocaleSettingsService, MSALInstanceFactory, MemberTypes, MenuItemGroupComponent, ModalWindowComponent, ModalWindowModule, MulticheckFilterComponent, MulticheckFilterModule, NumberInputComponent, ObjectDropdownComponent, ObjectDropdownModule, Operators, PermissionTypes, PermissionsService, PrettifierFactory, ReEntrySubscription, RequirePermissionDirective, RequirePermissionModule, SKIP_AUTH_TOKEN, SettingsService, SideMenuComponent, SideMenuModule, SignalRService, TopBarModule, TopMenuComponent, TreeViewComponent, TreeViewNodeComponent, UserListAdminComponent, buildActivityEndpoints, buildEntityEndpoints, endpoints, getValueFromFilterByField, handleAzureB2CRedirectBridge, urlDeserialize, urlSerialize };
1401
1407
  export type { AccountMenuItem, ActivityFilter, AzureB2CSettings, Command, CustomFilter, CustomFilterElement, Field, IActivityEndpoints, IEntityEndpoints, IEntityService, IFormAdapter, IGetPageService, IPrettifier, ISubscriptionControl, IdentifiedModel, Language, Member, MemberBase, MenuItem, NamedModel, Page, Permissions, Removable, SimpleObject, SystemInfo, TreeViewCustomButton, UrlParams, User };