@indigina/kendo 2.0.34 → 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,27 +1,23 @@
1
1
  {
2
2
  "name": "@indigina/kendo",
3
- "version": "2.0.34",
3
+ "version": "2.0.36",
4
4
  "peerDependencies": {
5
- "@angular/core": "^21.2.4",
6
- "@angular/common": "^21.2.4",
7
- "ngx-toastr": "^20.0.5",
5
+ "@angular/common": ">=22.0.0 < 23.0.0",
6
+ "@angular/core": ">=22.0.0 < 23.0.0",
8
7
  "ngx-clipboard": "^16.0.0",
9
8
  "@ngx-translate/core": "^17.0.0",
10
9
  "@ngx-loading-bar/core": "^7.0.1",
11
10
  "@ngx-loading-bar/http-client": "^7.0.1",
12
11
  "@microsoft/signalr": "^10.0.0",
13
- "@azure/msal-angular": "^5.1.2",
14
- "@azure/msal-browser": "^5.5.0",
15
- "moment": "^2.30.1",
16
- "moment-timezone": "^0.6.0"
12
+ "@azure/msal-angular": "5.1.2",
13
+ "@azure/msal-browser": "5.5.0",
14
+ "moment": "2.30.1",
15
+ "moment-timezone": "0.6.0"
17
16
  },
18
17
  "peerDependenciesMeta": {
19
18
  "@ngx-translate/core": {
20
19
  "optional": true
21
20
  },
22
- "ngx-toastr": {
23
- "optional": true
24
- },
25
21
  "ngx-clipboard": {
26
22
  "optional": true
27
23
  },
@@ -48,27 +44,29 @@
48
44
  }
49
45
  },
50
46
  "dependencies": {
51
- "@progress/kendo-angular-buttons": "^23.2.0",
52
- "@progress/kendo-angular-common": "^23.2.0",
53
- "@progress/kendo-angular-dateinputs": "^23.2.0",
54
- "@progress/kendo-angular-dialog": "^23.2.0",
55
- "@progress/kendo-angular-dropdowns": "^23.2.0",
56
- "@progress/kendo-angular-excel-export": "^23.2.0",
57
- "@progress/kendo-angular-grid": "^23.2.0",
58
- "@progress/kendo-angular-inputs": "^23.2.0",
59
- "@progress/kendo-angular-intl": "^23.2.0",
60
- "@progress/kendo-angular-l10n": "^23.2.0",
61
- "@progress/kendo-angular-label": "^23.2.0",
62
- "@progress/kendo-angular-pager": "^23.2.0",
63
- "@progress/kendo-angular-pdf-export": "^23.2.0",
64
- "@progress/kendo-angular-popup": "^23.2.0",
65
- "@progress/kendo-angular-tooltip": "^23.2.0",
66
- "@progress/kendo-angular-treeview": "^23.2.0",
67
- "@progress/kendo-angular-upload": "^23.2.0",
68
- "@progress/kendo-data-query": "^1.7.4",
69
- "@progress/kendo-drawing": "^1.24.1",
70
- "@progress/kendo-licensing": "^1.10.1",
71
- "@progress/kendo-theme-default": "^13.0.1",
47
+ "@progress/kendo-angular-buttons": "24.2.2",
48
+ "@progress/kendo-angular-common": "24.2.2",
49
+ "@progress/kendo-angular-dateinputs": "24.2.2",
50
+ "@progress/kendo-angular-dialog": "24.2.2",
51
+ "@progress/kendo-angular-dropdowns": "24.2.2",
52
+ "@progress/kendo-angular-excel-export": "24.2.2",
53
+ "@progress/kendo-angular-grid": "24.2.2",
54
+ "@progress/kendo-angular-inputs": "24.2.2",
55
+ "@progress/kendo-angular-intl": "24.2.2",
56
+ "@progress/kendo-angular-l10n": "24.2.2",
57
+ "@progress/kendo-angular-label": "24.2.2",
58
+ "@progress/kendo-angular-notification": "24.2.2",
59
+ "@progress/kendo-angular-pager": "24.2.2",
60
+ "@progress/kendo-angular-pdf-export": "24.2.2",
61
+ "@progress/kendo-angular-popup": "24.2.2",
62
+ "@progress/kendo-angular-tooltip": "24.2.2",
63
+ "@progress/kendo-angular-treeview": "24.2.2",
64
+ "@progress/kendo-angular-upload": "24.2.2",
65
+ "@progress/kendo-data-query": "1.7.4",
66
+ "@progress/kendo-drawing": "1.25.3",
67
+ "@progress/kendo-licensing": "1.11.2",
68
+ "@progress/kendo-svg-icons": "5.4.0",
69
+ "@progress/kendo-theme-default": "14.5.0",
72
70
  "async-mutex": "0.5.0",
73
71
  "bootstrap": "3.4.1",
74
72
  "font-awesome": "4.7.0",
@@ -86,5 +84,6 @@
86
84
  "default": "./fesm2022/indigina-kendo.mjs"
87
85
  }
88
86
  },
89
- "sideEffects": false
87
+ "sideEffects": false,
88
+ "type": "module"
90
89
  }
@@ -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';
@@ -18,11 +18,8 @@ import * as i2$2 from '@angular/router';
18
18
  import { Router, ActivatedRoute } from '@angular/router';
19
19
  import * as signalR from '@microsoft/signalr';
20
20
  import { LogLevel } from '@microsoft/signalr';
21
- import * as i3$4 from 'ngx-toastr';
22
- import { ToastrService } from 'ngx-toastr';
23
- import * as i4$1 from '@azure/msal-angular';
24
- import { MsalService } from '@azure/msal-angular';
25
- import * as i5$3 from 'ngx-clipboard';
21
+ import { NotificationService } from '@progress/kendo-angular-notification';
22
+ import * as i4$1 from 'ngx-clipboard';
26
23
  import { ClipboardService } from 'ngx-clipboard';
27
24
  import * as i5$1 from '@progress/kendo-angular-treeview';
28
25
  import * as i3$2 from '@progress/kendo-angular-popup';
@@ -38,6 +35,7 @@ import * as i8 from '@progress/kendo-angular-grid';
38
35
  import { RemoveEvent, CellClickEvent, DataStateChangeEvent, RowClassArgs, FilterService } from '@progress/kendo-angular-grid';
39
36
  import * as i7$1 from '@progress/kendo-angular-pager';
40
37
  import * as i2$3 from '@ngx-loading-bar/http-client';
38
+ import * as i3$4 from '@azure/msal-angular';
41
39
 
42
40
  declare abstract class FieldComponent<T> implements OnInit, OnChanges {
43
41
  parent: FormGroupDirective;
@@ -246,12 +244,12 @@ declare class SettingsService {
246
244
  }
247
245
 
248
246
  declare class AppToastrService {
249
- private toastr;
247
+ private notificationService;
250
248
  private appSettings;
251
- constructor(toastr: ToastrService, appSettings: AppSettings);
249
+ constructor(notificationService: NotificationService, appSettings: AppSettings);
252
250
  private timeout;
253
- showError(message: string, title?: string): void;
254
- showSuccess(message: string, title?: string): void;
251
+ showError(message: string, title?: string, closable?: boolean): void;
252
+ showSuccess(message: string, title?: string, closable?: boolean): void;
255
253
  static ɵfac: i0.ɵɵFactoryDeclaration<AppToastrService, never>;
256
254
  static ɵprov: i0.ɵɵInjectableDeclaration<AppToastrService>;
257
255
  }
@@ -278,23 +276,20 @@ declare class HttpService {
278
276
  declare abstract class AuthProvider {
279
277
  abstract initialize(): Promise<Observable<boolean>>;
280
278
  abstract login(): any;
279
+ reauthenticate(): Observable<void>;
281
280
  abstract logout(): any;
282
281
  abstract isUserLoggedIn(): boolean;
283
282
  abstract getAccessToken(): Observable<string>;
284
283
  }
285
284
 
286
- declare abstract class IndiginaConfiguration {
287
- langs?: TranslateLoader;
288
- appSettings?: AppSettings;
289
- static ɵfac: i0.ɵɵFactoryDeclaration<IndiginaConfiguration, never>;
290
- static ɵprov: i0.ɵɵInjectableDeclaration<IndiginaConfiguration>;
291
- }
292
-
293
285
  declare class AuthProviderResolver {
294
286
  private AuthProvider$;
295
- constructor(msalService: MsalService, settingsService: SettingsService, indiginaConfiguration: IndiginaConfiguration);
287
+ private readonly provider;
288
+ private initializationStarted;
289
+ constructor(injector: Injector, customProvider: AuthProvider | null);
296
290
  getProvider: () => Observable<AuthProvider>;
297
- static ɵfac: i0.ɵɵFactoryDeclaration<AuthProviderResolver, never>;
291
+ private ensureInitialized;
292
+ static ɵfac: i0.ɵɵFactoryDeclaration<AuthProviderResolver, [null, { optional: true; }]>;
298
293
  static ɵprov: i0.ɵɵInjectableDeclaration<AuthProviderResolver>;
299
294
  }
300
295
 
@@ -408,6 +403,13 @@ interface NamedModel extends IdentifiedModel {
408
403
 
409
404
  declare const HttpMethods: NamedModel[];
410
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
+
411
413
  interface Language {
412
414
  name: string;
413
415
  code: string;
@@ -663,8 +665,8 @@ declare class AccountMenuModule {
663
665
  declare class AzureLoginCallbackComponent {
664
666
  private readonly msalBroadcastService;
665
667
  private readonly router;
666
- private readonly settingsService;
667
668
  private readonly authService;
669
+ private readonly resolver;
668
670
  ngOnInit(): void;
669
671
  logout(): void;
670
672
  static ɵfac: i0.ɵɵFactoryDeclaration<AzureLoginCallbackComponent, never>;
@@ -673,6 +675,9 @@ declare class AzureLoginCallbackComponent {
673
675
 
674
676
  declare const MSALInstanceFactory: (config: IndiginaConfiguration) => IPublicClientApplication;
675
677
 
678
+ type AzureB2CRedirectConfig = IndiginaConfiguration | AppSettings | AzureB2CSettings | string | null | undefined;
679
+ declare const handleAzureB2CRedirectBridge: (config?: AzureB2CRedirectConfig) => Promise<boolean>;
680
+
676
681
  declare enum PermissionTypes {
677
682
  Create = "Create",
678
683
  Delete = "Delete",
@@ -1002,7 +1007,7 @@ declare class EntityEditFormComponent implements OnInit, OnDestroy, OnChanges {
1002
1007
  private route;
1003
1008
  formGroup: BehaviorSubject<FormGroupWithErrors>;
1004
1009
  title: string;
1005
- entityId?: string;
1010
+ entityId?: string | null;
1006
1011
  adapter: IFormAdapter<IdentifiedModel>;
1007
1012
  routeService: Subscription;
1008
1013
  createButtonText: string;
@@ -1036,6 +1041,15 @@ declare abstract class EntityEditComponent<T extends IdentifiedModel> implements
1036
1041
  onSaved(value: T): void;
1037
1042
  }
1038
1043
 
1044
+ declare class CreateNewComponent {
1045
+ private route;
1046
+ defaultLabelKey: string;
1047
+ permissionTypes: PermissionTypes[];
1048
+ constructor(route: ActivatedRoute);
1049
+ static ɵfac: i0.ɵɵFactoryDeclaration<CreateNewComponent, never>;
1050
+ static ɵcmp: i0.ɵɵComponentDeclaration<CreateNewComponent, "create-new", never, {}, {}, never, never, false, never>;
1051
+ }
1052
+
1039
1053
  declare class FieldDropdownComponent extends FieldComponent<string> {
1040
1054
  parent: FormGroupDirective;
1041
1055
  eref: ElementRef;
@@ -1233,15 +1247,6 @@ declare class ExcelExportButtonModule {
1233
1247
  static ɵinj: i0.ɵɵInjectorDeclaration<ExcelExportButtonModule>;
1234
1248
  }
1235
1249
 
1236
- declare class CreateNewComponent {
1237
- private route;
1238
- defaultLabelKey: string;
1239
- permissionTypes: PermissionTypes[];
1240
- constructor(route: ActivatedRoute);
1241
- static ɵfac: i0.ɵɵFactoryDeclaration<CreateNewComponent, never>;
1242
- static ɵcmp: i0.ɵɵComponentDeclaration<CreateNewComponent, "create-new", never, {}, {}, never, never, false, never>;
1243
- }
1244
-
1245
1250
  declare class CreateNewModule {
1246
1251
  static ɵfac: i0.ɵɵFactoryDeclaration<CreateNewModule, never>;
1247
1252
  static ɵmod: i0.ɵɵNgModuleDeclaration<CreateNewModule, [typeof CreateNewComponent], [typeof i2$2.RouterModule, typeof RequirePermissionModule, typeof i4.TranslateModule], [typeof CreateNewComponent]>;
@@ -1392,11 +1397,11 @@ declare class SideMenuModule {
1392
1397
  declare class AppCoreModule {
1393
1398
  static forRoot(configuration: IndiginaConfiguration): ModuleWithProviders<AppCoreModule>;
1394
1399
  static ɵfac: i0.ɵɵFactoryDeclaration<AppCoreModule, never>;
1395
- static ɵmod: i0.ɵɵNgModuleDeclaration<AppCoreModule, never, [typeof i4.TranslateModule, typeof i2$3.LoadingBarHttpClientModule, typeof i3$4.ToastrModule, typeof i4$1.MsalModule], [typeof i4.TranslateModule, typeof i5$3.ClipboardModule, typeof i2$3.LoadingBarHttpClientModule, typeof i3$4.ToastrModule]>;
1400
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AppCoreModule, never, [typeof i4.TranslateModule, typeof i2$3.LoadingBarHttpClientModule, typeof i3$4.MsalModule], [typeof i4.TranslateModule, typeof i4$1.ClipboardModule, typeof i2$3.LoadingBarHttpClientModule]>;
1396
1401
  static ɵinj: i0.ɵɵInjectorDeclaration<AppCoreModule>;
1397
1402
  }
1398
1403
 
1399
1404
  declare const SKIP_AUTH_TOKEN: HttpContextToken<boolean>;
1400
1405
 
1401
- export { AccountMenuComponent, AccountMenuModule, AccountService, ActivityFilterComponent, ActivityFilterModule, ActivityFilterService, AppCoreModule, AppSettings, AppToastrService, AuthProvider, AuthProviderResolver, AzureLoginCallbackComponent, BaseAccountService, ConfirmDialogComponent, ConfirmDialogModule, ContentTypesFormat, 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 };
1402
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 };