@abp/ng.theme.shared 10.0.1 → 10.1.0-rc.1

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,18 +1,18 @@
1
1
  {
2
2
  "name": "@abp/ng.theme.shared",
3
- "version": "10.0.1",
3
+ "version": "10.1.0-rc.1",
4
4
  "homepage": "https://abp.io",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/abpframework/abp.git"
8
8
  },
9
9
  "dependencies": {
10
- "@abp/ng.core": "~10.0.1",
10
+ "@abp/ng.core": "~10.1.0-rc.1",
11
11
  "@fortawesome/fontawesome-free": "^6.0.0",
12
- "@ng-bootstrap/ng-bootstrap": "~19.0.0",
12
+ "@ng-bootstrap/ng-bootstrap": "~20.0.0",
13
13
  "@ngx-validate/core": "^0.2.0",
14
14
  "@popperjs/core": "~2.11.0",
15
- "@swimlane/ngx-datatable": "^21.0.0",
15
+ "@swimlane/ngx-datatable": "~22.0.0",
16
16
  "bootstrap": "^5.0.0",
17
17
  "tslib": "^2.0.0"
18
18
  },
@@ -34,17 +34,17 @@
34
34
  "webapp"
35
35
  ],
36
36
  "module": "fesm2022/abp-ng.theme.shared.mjs",
37
- "typings": "index.d.ts",
37
+ "typings": "types/abp-ng.theme.shared.d.ts",
38
38
  "exports": {
39
39
  "./package.json": {
40
40
  "default": "./package.json"
41
41
  },
42
42
  ".": {
43
- "types": "./index.d.ts",
43
+ "types": "./types/abp-ng.theme.shared.d.ts",
44
44
  "default": "./fesm2022/abp-ng.theme.shared.mjs"
45
45
  },
46
46
  "./testing": {
47
- "types": "./testing/index.d.ts",
47
+ "types": "./types/abp-ng.theme.shared-testing.d.ts",
48
48
  "default": "./fesm2022/abp-ng.theme.shared-testing.mjs"
49
49
  }
50
50
  },
@@ -9,6 +9,7 @@ import { Router, NavigationError } from '@angular/router';
9
9
  import { HttpErrorResponse } from '@angular/common/http';
10
10
  import * as i16 from '@ngx-validate/core';
11
11
  import { Validation } from '@ngx-validate/core';
12
+ import * as _abp_ng_theme_shared from '@abp/ng.theme.shared';
12
13
  import * as i15 from '@swimlane/ngx-datatable';
13
14
  import { DatatableComponent } from '@swimlane/ngx-datatable';
14
15
  import { ValidatorFn } from '@angular/forms';
@@ -484,7 +485,7 @@ declare class CreateErrorComponentService {
484
485
  protected readonly routerEvents: RouterEvents;
485
486
  protected readonly injector: Injector;
486
487
  protected readonly envInjector: EnvironmentInjector;
487
- protected readonly httpErrorConfig: HttpErrorConfig;
488
+ protected readonly httpErrorConfig: _abp_ng_theme_shared.HttpErrorConfig;
488
489
  componentRef: ComponentRef<HttpErrorWrapperComponent> | null;
489
490
  constructor();
490
491
  protected listenToRouterDataResolved(): void;
@@ -552,7 +553,7 @@ declare class UnknownStatusCodeErrorHandlerService implements CustomHttpErrorHan
552
553
 
553
554
  declare class RouterErrorHandlerService {
554
555
  protected readonly routerEvents: RouterEvents;
555
- protected readonly httpErrorConfig: HttpErrorConfig;
556
+ protected readonly httpErrorConfig: _abp_ng_theme_shared.HttpErrorConfig;
556
557
  protected readonly createErrorComponentService: CreateErrorComponentService;
557
558
  protected filterRouteErrors: (navigationError: NavigationError) => boolean;
558
559
  listen(): void;
@@ -808,26 +809,12 @@ declare class NgxDatatableDefaultDirective implements AfterViewInit, OnDestroy {
808
809
  static ɵdir: i0.ɵɵDirectiveDeclaration<NgxDatatableDefaultDirective, "ngx-datatable[default]", ["ngxDatatableDefault"], { "class": { "alias": "class"; "required": false; }; }, {}, never, never, true, never>;
809
810
  }
810
811
 
811
- interface NgxDatatableMessages {
812
- emptyMessage: string;
813
- errorMessage: string;
814
- totalMessage: string;
815
- selectedMessage: string;
816
- }
817
- declare const defaultNgxDatatableMessages: {
818
- emptyMessage: string;
819
- errorMessage: string;
820
- totalMessage: string;
821
- selectedMessage: string;
822
- };
823
- declare const NGX_DATATABLE_MESSAGES: InjectionToken<Partial<NgxDatatableMessages>>;
824
-
825
812
  declare class NgxDatatableListDirective implements OnChanges, OnInit, DoCheck {
826
- protected readonly table: DatatableComponent<any>;
813
+ protected readonly table: DatatableComponent<i15.Row>;
827
814
  protected readonly cdRef: ChangeDetectorRef;
828
815
  protected readonly destroyRef: DestroyRef;
829
816
  protected readonly localizationService: LocalizationService;
830
- protected readonly ngxDatatableMessages: Partial<NgxDatatableMessages>;
817
+ protected readonly ngxDatatableMessages: Partial<_abp_ng_theme_shared.NgxDatatableMessages>;
831
818
  protected readonly viewContainerRef: ViewContainerRef;
832
819
  protected readonly renderer: Renderer2;
833
820
  list: ListService;
@@ -896,9 +883,9 @@ declare class ErrorHandler {
896
883
  protected readonly httpErrorReporter: HttpErrorReporterService;
897
884
  protected readonly confirmationService: ConfirmationService;
898
885
  protected readonly routerErrorHandlerService: RouterErrorHandlerService;
899
- protected readonly httpErrorConfig: HttpErrorConfig;
886
+ protected readonly httpErrorConfig: _abp_ng_theme_shared.HttpErrorConfig;
900
887
  protected readonly customErrorHandlers: CustomHttpErrorHandlerService[];
901
- protected readonly httpErrorHandler: HttpErrorHandler;
888
+ protected readonly httpErrorHandler: _abp_ng_theme_shared.HttpErrorHandler;
902
889
  constructor();
903
890
  protected listenToRouterError(): void;
904
891
  protected listenToRestError(): void;
@@ -936,6 +923,20 @@ declare const HTTP_ERROR_CONFIG: InjectionToken<HttpErrorConfig>;
936
923
  declare const HTTP_ERROR_HANDLER: InjectionToken<HttpErrorHandler>;
937
924
  declare const CUSTOM_ERROR_HANDLERS: InjectionToken<CustomHttpErrorHandlerService[]>;
938
925
 
926
+ interface NgxDatatableMessages {
927
+ emptyMessage: string;
928
+ errorMessage: string;
929
+ totalMessage: string;
930
+ selectedMessage: string;
931
+ }
932
+ declare const defaultNgxDatatableMessages: {
933
+ emptyMessage: string;
934
+ errorMessage: string;
935
+ totalMessage: string;
936
+ selectedMessage: string;
937
+ };
938
+ declare const NGX_DATATABLE_MESSAGES: InjectionToken<Partial<NgxDatatableMessages>>;
939
+
939
940
  declare const SUPPRESS_UNSAVED_CHANGES_WARNING: InjectionToken<boolean>;
940
941
 
941
942
  declare const LOGO_URL_TOKEN: InjectionToken<string>;