@abp/ng.theme.shared 5.0.0-rc.1 → 5.0.2
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/abp-ng.theme.shared.d.ts +5 -5
- package/bundles/abp-ng.theme.shared-extensions.umd.js +1749 -1748
- package/bundles/abp-ng.theme.shared-extensions.umd.js.map +1 -1
- package/bundles/abp-ng.theme.shared-testing.umd.js +41 -41
- package/bundles/abp-ng.theme.shared.umd.js +2316 -2316
- package/bundles/abp-ng.theme.shared.umd.js.map +1 -1
- package/esm2015/abp-ng.theme.shared.js +4 -4
- package/esm2015/extensions/abp-ng.theme.shared-extensions.js +4 -4
- package/esm2015/extensions/lib/adapters/date-time.adapter.js +33 -33
- package/esm2015/extensions/lib/adapters/date.adapter.js +40 -40
- package/esm2015/extensions/lib/adapters/time.adapter.js +35 -35
- package/esm2015/extensions/lib/components/abstract-actions/abstract-actions.component.js +24 -24
- package/esm2015/extensions/lib/components/date-time-picker/date-time-picker.component.js +73 -73
- package/esm2015/extensions/lib/components/extensible-form/extensible-form-prop.component.js +164 -164
- package/esm2015/extensions/lib/components/extensible-form/extensible-form.component.js +70 -70
- package/esm2015/extensions/lib/components/extensible-table/extensible-table.component.js +133 -133
- package/esm2015/extensions/lib/components/grid-actions/grid-actions.component.js +45 -45
- package/esm2015/extensions/lib/components/page-toolbar/page-toolbar.component.js +45 -45
- package/esm2015/extensions/lib/constants/extra-properties.js +1 -1
- package/esm2015/extensions/lib/directives/disabled.directive.js +28 -28
- package/esm2015/extensions/lib/directives/prop-data.directive.js +40 -40
- package/esm2015/extensions/lib/enums/props.enum.js +1 -1
- package/esm2015/extensions/lib/models/actions.js +45 -45
- package/esm2015/extensions/lib/models/entity-actions.js +28 -28
- package/esm2015/extensions/lib/models/entity-props.js +36 -34
- package/esm2015/extensions/lib/models/form-props.js +51 -51
- package/esm2015/extensions/lib/models/internal/object-extensions.js +1 -1
- package/esm2015/extensions/lib/models/object-extensions.js +2 -2
- package/esm2015/extensions/lib/models/props.js +49 -49
- package/esm2015/extensions/lib/models/toolbar-actions.js +40 -40
- package/esm2015/extensions/lib/services/extensions.service.js +23 -23
- package/esm2015/extensions/lib/tokens/extensions.token.js +6 -6
- package/esm2015/extensions/lib/ui-extensions.module.js +91 -91
- package/esm2015/extensions/lib/utils/actions.util.js +8 -8
- package/esm2015/extensions/lib/utils/enum.util.js +41 -41
- package/esm2015/extensions/lib/utils/factory.util.js +3 -3
- package/esm2015/extensions/lib/utils/form-props.util.js +50 -50
- package/esm2015/extensions/lib/utils/localization.util.js +12 -12
- package/esm2015/extensions/lib/utils/props.util.js +13 -13
- package/esm2015/extensions/lib/utils/state.util.js +123 -123
- package/esm2015/extensions/lib/utils/typeahead.util.js +51 -51
- package/esm2015/extensions/lib/utils/validation.util.js +10 -10
- package/esm2015/extensions/public-api.js +27 -27
- package/esm2015/lib/animations/bounce.animations.js +16 -16
- package/esm2015/lib/animations/collapse.animations.js +49 -49
- package/esm2015/lib/animations/fade.animations.js +37 -37
- package/esm2015/lib/animations/index.js +6 -6
- package/esm2015/lib/animations/modal.animations.js +10 -10
- package/esm2015/lib/animations/slide.animations.js +7 -7
- package/esm2015/lib/animations/toast.animations.js +12 -12
- package/esm2015/lib/components/breadcrumb/breadcrumb.component.js +48 -48
- package/esm2015/lib/components/breadcrumb-items/breadcrumb-items.component.js +21 -21
- package/esm2015/lib/components/button/button.component.js +71 -71
- package/esm2015/lib/components/confirmation/confirmation.component.js +39 -39
- package/esm2015/lib/components/http-error-wrapper/http-error-wrapper.component.js +65 -65
- package/esm2015/lib/components/index.js +12 -12
- package/esm2015/lib/components/loader-bar/loader-bar.component.js +101 -101
- package/esm2015/lib/components/loading/loading.component.js +17 -17
- package/esm2015/lib/components/modal/modal-close.directive.js +27 -27
- package/esm2015/lib/components/modal/modal-ref.service.js +25 -25
- package/esm2015/lib/components/modal/modal.component.js +188 -188
- package/esm2015/lib/components/toast/toast.component.js +60 -60
- package/esm2015/lib/components/toast-container/toast-container.component.js +48 -48
- package/esm2015/lib/constants/styles.js +1 -1
- package/esm2015/lib/constants/validation.js +14 -14
- package/esm2015/lib/directives/ellipsis.directive.js +62 -62
- package/esm2015/lib/directives/index.js +4 -4
- package/esm2015/lib/directives/loading.directive.js +89 -89
- package/esm2015/lib/directives/ngx-datatable-default.directive.js +74 -74
- package/esm2015/lib/directives/ngx-datatable-list.directive.js +93 -93
- package/esm2015/lib/enums/index.js +1 -1
- package/esm2015/lib/enums/route-names.js +1 -1
- package/esm2015/lib/handlers/document-dir.handler.js +32 -32
- package/esm2015/lib/handlers/error.handler.js +291 -291
- package/esm2015/lib/handlers/index.js +2 -2
- package/esm2015/lib/models/common.js +1 -1
- package/esm2015/lib/models/confirmation.js +9 -9
- package/esm2015/lib/models/index.js +5 -5
- package/esm2015/lib/models/nav-item.js +6 -6
- package/esm2015/lib/models/statistics.js +1 -1
- package/esm2015/lib/models/toaster.js +1 -1
- package/esm2015/lib/providers/index.js +2 -2
- package/esm2015/lib/providers/ng-bootstrap-config.provider.js +16 -16
- package/esm2015/lib/providers/route.provider.js +17 -17
- package/esm2015/lib/services/confirmation.service.js +67 -67
- package/esm2015/lib/services/index.js +4 -4
- package/esm2015/lib/services/nav-items.service.js +50 -50
- package/esm2015/lib/services/page-alert.service.js +25 -25
- package/esm2015/lib/services/toaster.service.js +102 -102
- package/esm2015/lib/theme-shared.module.js +164 -164
- package/esm2015/lib/tokens/append-content.token.js +10 -10
- package/esm2015/lib/tokens/http-error.token.js +9 -9
- package/esm2015/lib/tokens/index.js +4 -4
- package/esm2015/lib/tokens/ngx-datatable-messages.token.js +7 -7
- package/esm2015/lib/tokens/suppress-unsaved-changes-warning.token.js +2 -2
- package/esm2015/lib/utils/date-parser-formatter.js +58 -58
- package/esm2015/lib/utils/index.js +2 -2
- package/esm2015/lib/utils/validation-utils.js +32 -32
- package/esm2015/public-api.js +15 -15
- package/esm2015/testing/abp-ng.theme.shared-testing.js +4 -4
- package/esm2015/testing/lib/models/config.js +1 -1
- package/esm2015/testing/lib/models/index.js +1 -1
- package/esm2015/testing/lib/theme-shared-testing.module.js +42 -42
- package/esm2015/testing/public-api.js +3 -3
- package/extensions/abp-ng.theme.shared-extensions.d.ts +5 -5
- package/extensions/lib/adapters/date-time.adapter.d.ts +11 -11
- package/extensions/lib/adapters/date.adapter.d.ts +9 -9
- package/extensions/lib/adapters/time.adapter.d.ts +8 -8
- package/extensions/lib/components/abstract-actions/abstract-actions.component.d.ts +14 -14
- package/extensions/lib/components/date-time-picker/date-time-picker.component.d.ts +16 -16
- package/extensions/lib/components/extensible-form/extensible-form-prop.component.d.ts +37 -37
- package/extensions/lib/components/extensible-form/extensible-form.component.d.ts +24 -24
- package/extensions/lib/components/extensible-table/extensible-table.component.d.ts +35 -35
- package/extensions/lib/components/grid-actions/grid-actions.component.d.ts +13 -13
- package/extensions/lib/components/page-toolbar/page-toolbar.component.d.ts +12 -12
- package/extensions/lib/constants/extra-properties.d.ts +1 -1
- package/extensions/lib/directives/disabled.directive.d.ts +11 -11
- package/extensions/lib/directives/prop-data.directive.d.ts +19 -19
- package/extensions/lib/enums/props.enum.d.ts +15 -15
- package/extensions/lib/models/actions.d.ts +35 -35
- package/extensions/lib/models/entity-actions.d.ts +22 -22
- package/extensions/lib/models/entity-props.d.ts +29 -29
- package/extensions/lib/models/form-props.d.ts +42 -42
- package/extensions/lib/models/internal/object-extensions.d.ts +85 -85
- package/extensions/lib/models/object-extensions.d.ts +2 -2
- package/extensions/lib/models/props.d.ts +39 -39
- package/extensions/lib/models/toolbar-actions.d.ts +29 -29
- package/extensions/lib/services/extensions.service.d.ts +14 -14
- package/extensions/lib/tokens/extensions.token.d.ts +14 -14
- package/extensions/lib/ui-extensions.module.d.ts +23 -23
- package/extensions/lib/utils/actions.util.d.ts +7 -7
- package/extensions/lib/utils/enum.util.d.ts +7 -7
- package/extensions/lib/utils/factory.util.d.ts +1 -1
- package/extensions/lib/utils/form-props.util.d.ts +3 -3
- package/extensions/lib/utils/localization.util.d.ts +3 -3
- package/extensions/lib/utils/props.util.d.ts +8 -8
- package/extensions/lib/utils/state.util.d.ts +5 -5
- package/extensions/lib/utils/typeahead.util.d.ts +11 -11
- package/extensions/lib/utils/validation.util.d.ts +3 -3
- package/extensions/public-api.d.ts +27 -27
- package/fesm2015/abp-ng.theme.shared-extensions.js +1227 -1226
- package/fesm2015/abp-ng.theme.shared-extensions.js.map +1 -1
- package/fesm2015/abp-ng.theme.shared-testing.js +37 -37
- package/fesm2015/abp-ng.theme.shared.js +1858 -1858
- package/fesm2015/abp-ng.theme.shared.js.map +1 -1
- package/lib/animations/bounce.animations.d.ts +1 -1
- package/lib/animations/collapse.animations.d.ts +9 -9
- package/lib/animations/fade.animations.d.ts +10 -10
- package/lib/animations/index.d.ts +6 -6
- package/lib/animations/modal.animations.d.ts +2 -2
- package/lib/animations/slide.animations.d.ts +1 -1
- package/lib/animations/toast.animations.d.ts +1 -1
- package/lib/components/breadcrumb/breadcrumb.component.d.ts +16 -16
- package/lib/components/breadcrumb-items/breadcrumb-items.component.d.ts +7 -7
- package/lib/components/button/button.component.d.ts +25 -25
- package/lib/components/confirmation/confirmation.component.d.ts +14 -14
- package/lib/components/http-error-wrapper/http-error-wrapper.component.d.ts +27 -27
- package/lib/components/index.d.ts +12 -12
- package/lib/components/loader-bar/loader-bar.component.d.ts +33 -33
- package/lib/components/loading/loading.component.d.ts +5 -5
- package/lib/components/modal/modal-close.directive.d.ts +9 -9
- package/lib/components/modal/modal-ref.service.d.ts +13 -13
- package/lib/components/modal/modal.component.d.ts +50 -50
- package/lib/components/toast/toast.component.d.ts +14 -14
- package/lib/components/toast-container/toast-container.component.d.ts +18 -18
- package/lib/constants/styles.d.ts +2 -2
- package/lib/constants/validation.d.ts +14 -14
- package/lib/directives/ellipsis.directive.d.ts +21 -21
- package/lib/directives/index.d.ts +4 -4
- package/lib/directives/loading.directive.d.ts +25 -25
- package/lib/directives/ngx-datatable-default.directive.d.ts +30 -30
- package/lib/directives/ngx-datatable-list.directive.d.ts +24 -24
- package/lib/enums/index.d.ts +1 -1
- package/lib/enums/route-names.d.ts +3 -3
- package/lib/handlers/document-dir.handler.d.ts +13 -13
- package/lib/handlers/error.handler.d.ts +82 -82
- package/lib/handlers/index.d.ts +2 -2
- package/lib/models/common.d.ts +19 -19
- package/lib/models/confirmation.d.ts +25 -25
- package/lib/models/index.d.ts +5 -5
- package/lib/models/nav-item.d.ts +11 -11
- package/lib/models/statistics.d.ts +12 -12
- package/lib/models/toaster.d.ts +30 -30
- package/lib/providers/index.d.ts +2 -2
- package/lib/providers/ng-bootstrap-config.provider.d.ts +8 -8
- package/lib/providers/route.provider.d.ts +8 -8
- package/lib/services/confirmation.service.d.ts +21 -21
- package/lib/services/index.d.ts +4 -4
- package/lib/services/nav-items.service.d.ts +13 -13
- package/lib/services/page-alert.service.d.ts +18 -18
- package/lib/services/toaster.service.d.ts +60 -60
- package/lib/theme-shared.module.d.ts +33 -33
- package/lib/tokens/append-content.token.d.ts +2 -2
- package/lib/tokens/http-error.token.d.ts +5 -5
- package/lib/tokens/index.d.ts +4 -4
- package/lib/tokens/ngx-datatable-messages.token.d.ts +12 -12
- package/lib/tokens/suppress-unsaved-changes-warning.token.d.ts +2 -2
- package/lib/utils/date-parser-formatter.d.ts +12 -12
- package/lib/utils/index.d.ts +2 -2
- package/lib/utils/validation-utils.d.ts +3 -3
- package/package.json +4 -4
- package/public-api.d.ts +12 -12
- package/testing/abp-ng.theme.shared-testing.d.ts +5 -5
- package/testing/lib/models/config.d.ts +4 -4
- package/testing/lib/models/index.d.ts +1 -1
- package/testing/lib/theme-shared-testing.module.d.ts +14 -14
- package/testing/public-api.d.ts +3 -3
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export declare const DEFAULT_VALIDATION_BLUEPRINTS: {
|
|
2
|
-
creditCard: string;
|
|
3
|
-
email: string;
|
|
4
|
-
invalid: string;
|
|
5
|
-
max: string;
|
|
6
|
-
maxlength: string;
|
|
7
|
-
min: string;
|
|
8
|
-
minlength: string;
|
|
9
|
-
ngbDate: string;
|
|
10
|
-
passwordMismatch: string;
|
|
11
|
-
range: string;
|
|
12
|
-
required: string;
|
|
13
|
-
url: string;
|
|
14
|
-
};
|
|
1
|
+
export declare const DEFAULT_VALIDATION_BLUEPRINTS: {
|
|
2
|
+
creditCard: string;
|
|
3
|
+
email: string;
|
|
4
|
+
invalid: string;
|
|
5
|
+
max: string;
|
|
6
|
+
maxlength: string;
|
|
7
|
+
min: string;
|
|
8
|
+
minlength: string;
|
|
9
|
+
ngbDate: string;
|
|
10
|
+
passwordMismatch: string;
|
|
11
|
+
range: string;
|
|
12
|
+
required: string;
|
|
13
|
+
url: string;
|
|
14
|
+
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class EllipsisDirective implements AfterViewInit {
|
|
4
|
-
private cdRef;
|
|
5
|
-
private elRef;
|
|
6
|
-
width?: string;
|
|
7
|
-
title?: string;
|
|
8
|
-
enabled: boolean;
|
|
9
|
-
get inlineClass(): string;
|
|
10
|
-
get class(): boolean;
|
|
11
|
-
get maxWidth(): string;
|
|
12
|
-
constructor(cdRef: ChangeDetectorRef, elRef: ElementRef);
|
|
13
|
-
ngAfterViewInit(): void;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EllipsisDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<EllipsisDirective, "[abpEllipsis]", never, { "width": "abpEllipsis"; "title": "title"; "enabled": "abpEllipsisEnabled"; }, {}, never>;
|
|
16
|
-
}
|
|
17
|
-
export declare class EllipsisModule {
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EllipsisModule, never>;
|
|
19
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<EllipsisModule, [typeof EllipsisDirective], never, [typeof EllipsisDirective]>;
|
|
20
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<EllipsisModule>;
|
|
21
|
-
}
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class EllipsisDirective implements AfterViewInit {
|
|
4
|
+
private cdRef;
|
|
5
|
+
private elRef;
|
|
6
|
+
width?: string;
|
|
7
|
+
title?: string;
|
|
8
|
+
enabled: boolean;
|
|
9
|
+
get inlineClass(): string;
|
|
10
|
+
get class(): boolean;
|
|
11
|
+
get maxWidth(): string;
|
|
12
|
+
constructor(cdRef: ChangeDetectorRef, elRef: ElementRef);
|
|
13
|
+
ngAfterViewInit(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EllipsisDirective, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EllipsisDirective, "[abpEllipsis]", never, { "width": "abpEllipsis"; "title": "title"; "enabled": "abpEllipsisEnabled"; }, {}, never>;
|
|
16
|
+
}
|
|
17
|
+
export declare class EllipsisModule {
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EllipsisModule, never>;
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<EllipsisModule, [typeof EllipsisDirective], never, [typeof EllipsisDirective]>;
|
|
20
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<EllipsisModule>;
|
|
21
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './ellipsis.directive';
|
|
2
|
-
export * from './loading.directive';
|
|
3
|
-
export * from './ngx-datatable-default.directive';
|
|
4
|
-
export * from './ngx-datatable-list.directive';
|
|
1
|
+
export * from './ellipsis.directive';
|
|
2
|
+
export * from './loading.directive';
|
|
3
|
+
export * from './ngx-datatable-default.directive';
|
|
4
|
+
export * from './ngx-datatable-list.directive';
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { ComponentFactoryResolver, ComponentRef, ElementRef, Injector, OnDestroy, OnInit, Renderer2, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { Subscription } from 'rxjs';
|
|
3
|
-
import { LoadingComponent } from '../components/loading/loading.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class LoadingDirective implements OnInit, OnDestroy {
|
|
6
|
-
private elRef;
|
|
7
|
-
private vcRef;
|
|
8
|
-
private cdRes;
|
|
9
|
-
private injector;
|
|
10
|
-
private renderer;
|
|
11
|
-
private _loading;
|
|
12
|
-
position: string;
|
|
13
|
-
get loading(): boolean;
|
|
14
|
-
set loading(newValue: boolean);
|
|
15
|
-
targetElement: HTMLElement | undefined;
|
|
16
|
-
delay: number;
|
|
17
|
-
componentRef: ComponentRef<LoadingComponent>;
|
|
18
|
-
rootNode: HTMLDivElement | null;
|
|
19
|
-
timerSubscription: Subscription | null;
|
|
20
|
-
constructor(elRef: ElementRef<HTMLElement>, vcRef: ViewContainerRef, cdRes: ComponentFactoryResolver, injector: Injector, renderer: Renderer2);
|
|
21
|
-
ngOnInit(): void;
|
|
22
|
-
ngOnDestroy(): void;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingDirective, never>;
|
|
24
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LoadingDirective, "[abpLoading]", never, { "loading": "abpLoading"; "targetElement": "abpLoadingTargetElement"; "delay": "abpLoadingDelay"; }, {}, never>;
|
|
25
|
-
}
|
|
1
|
+
import { ComponentFactoryResolver, ComponentRef, ElementRef, Injector, OnDestroy, OnInit, Renderer2, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { Subscription } from 'rxjs';
|
|
3
|
+
import { LoadingComponent } from '../components/loading/loading.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class LoadingDirective implements OnInit, OnDestroy {
|
|
6
|
+
private elRef;
|
|
7
|
+
private vcRef;
|
|
8
|
+
private cdRes;
|
|
9
|
+
private injector;
|
|
10
|
+
private renderer;
|
|
11
|
+
private _loading;
|
|
12
|
+
position: string;
|
|
13
|
+
get loading(): boolean;
|
|
14
|
+
set loading(newValue: boolean);
|
|
15
|
+
targetElement: HTMLElement | undefined;
|
|
16
|
+
delay: number;
|
|
17
|
+
componentRef: ComponentRef<LoadingComponent>;
|
|
18
|
+
rootNode: HTMLDivElement | null;
|
|
19
|
+
timerSubscription: Subscription | null;
|
|
20
|
+
constructor(elRef: ElementRef<HTMLElement>, vcRef: ViewContainerRef, cdRes: ComponentFactoryResolver, injector: Injector, renderer: Renderer2);
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
ngOnDestroy(): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingDirective, never>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LoadingDirective, "[abpLoading]", never, { "loading": "abpLoading"; "targetElement": "abpLoadingTargetElement"; "delay": "abpLoadingDelay"; }, {}, never>;
|
|
25
|
+
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { AfterViewInit, OnDestroy } from '@angular/core';
|
|
2
|
-
import { DatatableComponent } from '@swimlane/ngx-datatable';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class NgxDatatableDefaultDirective implements AfterViewInit, OnDestroy {
|
|
5
|
-
private table;
|
|
6
|
-
private document;
|
|
7
|
-
private subscription;
|
|
8
|
-
private resizeDiff;
|
|
9
|
-
class: string;
|
|
10
|
-
get classes(): string;
|
|
11
|
-
constructor(table: DatatableComponent, document: MockDocument);
|
|
12
|
-
private fixHorizontalGap;
|
|
13
|
-
private fixStyleOnWindowResize;
|
|
14
|
-
ngAfterViewInit(): void;
|
|
15
|
-
ngOnDestroy(): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgxDatatableDefaultDirective, never>;
|
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgxDatatableDefaultDirective, "ngx-datatable[default]", ["ngxDatatableDefault"], { "class": "class"; }, {}, never>;
|
|
18
|
-
}
|
|
19
|
-
interface MockDocument {
|
|
20
|
-
body: MockBody;
|
|
21
|
-
documentElement: MockDocumentElement;
|
|
22
|
-
}
|
|
23
|
-
interface MockBody {
|
|
24
|
-
offsetWidth: number;
|
|
25
|
-
}
|
|
26
|
-
interface MockDocumentElement {
|
|
27
|
-
clientHeight: number;
|
|
28
|
-
scrollHeight: number;
|
|
29
|
-
}
|
|
30
|
-
export {};
|
|
1
|
+
import { AfterViewInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { DatatableComponent } from '@swimlane/ngx-datatable';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class NgxDatatableDefaultDirective implements AfterViewInit, OnDestroy {
|
|
5
|
+
private table;
|
|
6
|
+
private document;
|
|
7
|
+
private subscription;
|
|
8
|
+
private resizeDiff;
|
|
9
|
+
class: string;
|
|
10
|
+
get classes(): string;
|
|
11
|
+
constructor(table: DatatableComponent, document: MockDocument);
|
|
12
|
+
private fixHorizontalGap;
|
|
13
|
+
private fixStyleOnWindowResize;
|
|
14
|
+
ngAfterViewInit(): void;
|
|
15
|
+
ngOnDestroy(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgxDatatableDefaultDirective, never>;
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgxDatatableDefaultDirective, "ngx-datatable[default]", ["ngxDatatableDefault"], { "class": "class"; }, {}, never>;
|
|
18
|
+
}
|
|
19
|
+
interface MockDocument {
|
|
20
|
+
body: MockBody;
|
|
21
|
+
documentElement: MockDocumentElement;
|
|
22
|
+
}
|
|
23
|
+
interface MockBody {
|
|
24
|
+
offsetWidth: number;
|
|
25
|
+
}
|
|
26
|
+
interface MockDocumentElement {
|
|
27
|
+
clientHeight: number;
|
|
28
|
+
scrollHeight: number;
|
|
29
|
+
}
|
|
30
|
+
export {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { ListService, LocalizationService } from '@abp/ng.core';
|
|
2
|
-
import { ChangeDetectorRef, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
3
|
-
import { DatatableComponent } from '@swimlane/ngx-datatable';
|
|
4
|
-
import { NgxDatatableMessages } from '../tokens/ngx-datatable-messages.token';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class NgxDatatableListDirective implements OnChanges, OnDestroy, OnInit {
|
|
7
|
-
private table;
|
|
8
|
-
private cdRef;
|
|
9
|
-
private localizationService;
|
|
10
|
-
private ngxDatatableMessages;
|
|
11
|
-
private subscription;
|
|
12
|
-
private querySubscription;
|
|
13
|
-
list: ListService;
|
|
14
|
-
constructor(table: DatatableComponent, cdRef: ChangeDetectorRef, localizationService: LocalizationService, ngxDatatableMessages: NgxDatatableMessages);
|
|
15
|
-
private setInitialValues;
|
|
16
|
-
private subscribeToPage;
|
|
17
|
-
private subscribeToSort;
|
|
18
|
-
private subscribeToQuery;
|
|
19
|
-
ngOnChanges({ list }: SimpleChanges): void;
|
|
20
|
-
ngOnDestroy(): void;
|
|
21
|
-
ngOnInit(): void;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgxDatatableListDirective, [null, null, null, { optional: true; }]>;
|
|
23
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgxDatatableListDirective, "ngx-datatable[list]", ["ngxDatatableList"], { "list": "list"; }, {}, never>;
|
|
24
|
-
}
|
|
1
|
+
import { ListService, LocalizationService } from '@abp/ng.core';
|
|
2
|
+
import { ChangeDetectorRef, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
3
|
+
import { DatatableComponent } from '@swimlane/ngx-datatable';
|
|
4
|
+
import { NgxDatatableMessages } from '../tokens/ngx-datatable-messages.token';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class NgxDatatableListDirective implements OnChanges, OnDestroy, OnInit {
|
|
7
|
+
private table;
|
|
8
|
+
private cdRef;
|
|
9
|
+
private localizationService;
|
|
10
|
+
private ngxDatatableMessages;
|
|
11
|
+
private subscription;
|
|
12
|
+
private querySubscription;
|
|
13
|
+
list: ListService;
|
|
14
|
+
constructor(table: DatatableComponent, cdRef: ChangeDetectorRef, localizationService: LocalizationService, ngxDatatableMessages: NgxDatatableMessages);
|
|
15
|
+
private setInitialValues;
|
|
16
|
+
private subscribeToPage;
|
|
17
|
+
private subscribeToSort;
|
|
18
|
+
private subscribeToQuery;
|
|
19
|
+
ngOnChanges({ list }: SimpleChanges): void;
|
|
20
|
+
ngOnDestroy(): void;
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgxDatatableListDirective, [null, null, null, { optional: true; }]>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgxDatatableListDirective, "ngx-datatable[list]", ["ngxDatatableList"], { "list": "list"; }, {}, never>;
|
|
24
|
+
}
|
package/lib/enums/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './route-names';
|
|
1
|
+
export * from './route-names';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const enum eThemeSharedRouteNames {
|
|
2
|
-
Administration = "AbpUiNavigation::Menu:Administration"
|
|
3
|
-
}
|
|
1
|
+
export declare const enum eThemeSharedRouteNames {
|
|
2
|
+
Administration = "AbpUiNavigation::Menu:Administration"
|
|
3
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Injector } from '@angular/core';
|
|
2
|
-
import { LocaleDirection } from '../models/common';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class DocumentDirHandlerService {
|
|
5
|
-
protected injector: Injector;
|
|
6
|
-
private dir;
|
|
7
|
-
dir$: import("rxjs").Observable<LocaleDirection>;
|
|
8
|
-
constructor(injector: Injector);
|
|
9
|
-
private listenToLanguageChanges;
|
|
10
|
-
private setBodyDir;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentDirHandlerService, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DocumentDirHandlerService>;
|
|
13
|
-
}
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
|
+
import { LocaleDirection } from '../models/common';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DocumentDirHandlerService {
|
|
5
|
+
protected injector: Injector;
|
|
6
|
+
private dir;
|
|
7
|
+
dir$: import("rxjs").Observable<LocaleDirection>;
|
|
8
|
+
constructor(injector: Injector);
|
|
9
|
+
private listenToLanguageChanges;
|
|
10
|
+
private setBodyDir;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentDirHandlerService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DocumentDirHandlerService>;
|
|
13
|
+
}
|
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
import { HttpErrorReporterService, LocalizationParam, RouterEvents } from '@abp/ng.core';
|
|
2
|
-
import { HttpErrorResponse } from '@angular/common/http';
|
|
3
|
-
import { ComponentFactoryResolver, ComponentRef, Injector, RendererFactory2 } from '@angular/core';
|
|
4
|
-
import { NavigationError } from '@angular/router';
|
|
5
|
-
import { Observable } from 'rxjs';
|
|
6
|
-
import { HttpErrorWrapperComponent } from '../components/http-error-wrapper/http-error-wrapper.component';
|
|
7
|
-
import { ErrorScreenErrorCodes, HttpErrorConfig } from '../models/common';
|
|
8
|
-
import { Confirmation } from '../models/confirmation';
|
|
9
|
-
import { ConfirmationService } from '../services/confirmation.service';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
export declare const DEFAULT_ERROR_MESSAGES: {
|
|
12
|
-
defaultError: {
|
|
13
|
-
title: string;
|
|
14
|
-
details: string;
|
|
15
|
-
};
|
|
16
|
-
defaultError401: {
|
|
17
|
-
title: string;
|
|
18
|
-
details: string;
|
|
19
|
-
};
|
|
20
|
-
defaultError403: {
|
|
21
|
-
title: string;
|
|
22
|
-
details: string;
|
|
23
|
-
};
|
|
24
|
-
defaultError404: {
|
|
25
|
-
title: string;
|
|
26
|
-
details: string;
|
|
27
|
-
};
|
|
28
|
-
defaultError500: {
|
|
29
|
-
title: string;
|
|
30
|
-
details: string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
export declare const DEFAULT_ERROR_LOCALIZATIONS: {
|
|
34
|
-
defaultError: {
|
|
35
|
-
title: string;
|
|
36
|
-
details: string;
|
|
37
|
-
};
|
|
38
|
-
defaultError401: {
|
|
39
|
-
title: string;
|
|
40
|
-
details: string;
|
|
41
|
-
};
|
|
42
|
-
defaultError403: {
|
|
43
|
-
title: string;
|
|
44
|
-
details: string;
|
|
45
|
-
};
|
|
46
|
-
defaultError404: {
|
|
47
|
-
title: string;
|
|
48
|
-
details: string;
|
|
49
|
-
};
|
|
50
|
-
defaultError500: {
|
|
51
|
-
title: string;
|
|
52
|
-
details: string;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
export declare class ErrorHandler {
|
|
56
|
-
protected injector: Injector;
|
|
57
|
-
componentRef: ComponentRef<HttpErrorWrapperComponent> | null;
|
|
58
|
-
protected httpErrorHandler: import("../models/common").HttpErrorHandler;
|
|
59
|
-
protected httpErrorReporter: HttpErrorReporterService;
|
|
60
|
-
protected routerEvents: RouterEvents;
|
|
61
|
-
protected confirmationService: ConfirmationService;
|
|
62
|
-
protected cfRes: ComponentFactoryResolver;
|
|
63
|
-
protected rendererFactory: RendererFactory2;
|
|
64
|
-
protected httpErrorConfig: HttpErrorConfig;
|
|
65
|
-
constructor(injector: Injector);
|
|
66
|
-
protected listenToRouterError(): void;
|
|
67
|
-
protected listenToRouterDataResolved(): void;
|
|
68
|
-
protected listenToRestError(): void;
|
|
69
|
-
private executeErrorHandler;
|
|
70
|
-
private handleError;
|
|
71
|
-
protected show401Page(): void;
|
|
72
|
-
protected show404Page(): void;
|
|
73
|
-
protected showErrorWithRequestBody(body: any): Observable<Confirmation.Status>;
|
|
74
|
-
protected showError(message: LocalizationParam, title: LocalizationParam): Observable<Confirmation.Status>;
|
|
75
|
-
private navigateToLogin;
|
|
76
|
-
createErrorComponent(instance: Partial<HttpErrorWrapperComponent>): void;
|
|
77
|
-
canCreateCustomError(status: ErrorScreenErrorCodes): boolean;
|
|
78
|
-
protected filterRestErrors: ({ status }: HttpErrorResponse) => boolean;
|
|
79
|
-
protected filterRouteErrors: (navigationError: NavigationError) => boolean;
|
|
80
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorHandler, never>;
|
|
81
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ErrorHandler>;
|
|
82
|
-
}
|
|
1
|
+
import { HttpErrorReporterService, LocalizationParam, RouterEvents } from '@abp/ng.core';
|
|
2
|
+
import { HttpErrorResponse } from '@angular/common/http';
|
|
3
|
+
import { ComponentFactoryResolver, ComponentRef, Injector, RendererFactory2 } from '@angular/core';
|
|
4
|
+
import { NavigationError } from '@angular/router';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
|
+
import { HttpErrorWrapperComponent } from '../components/http-error-wrapper/http-error-wrapper.component';
|
|
7
|
+
import { ErrorScreenErrorCodes, HttpErrorConfig } from '../models/common';
|
|
8
|
+
import { Confirmation } from '../models/confirmation';
|
|
9
|
+
import { ConfirmationService } from '../services/confirmation.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare const DEFAULT_ERROR_MESSAGES: {
|
|
12
|
+
defaultError: {
|
|
13
|
+
title: string;
|
|
14
|
+
details: string;
|
|
15
|
+
};
|
|
16
|
+
defaultError401: {
|
|
17
|
+
title: string;
|
|
18
|
+
details: string;
|
|
19
|
+
};
|
|
20
|
+
defaultError403: {
|
|
21
|
+
title: string;
|
|
22
|
+
details: string;
|
|
23
|
+
};
|
|
24
|
+
defaultError404: {
|
|
25
|
+
title: string;
|
|
26
|
+
details: string;
|
|
27
|
+
};
|
|
28
|
+
defaultError500: {
|
|
29
|
+
title: string;
|
|
30
|
+
details: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export declare const DEFAULT_ERROR_LOCALIZATIONS: {
|
|
34
|
+
defaultError: {
|
|
35
|
+
title: string;
|
|
36
|
+
details: string;
|
|
37
|
+
};
|
|
38
|
+
defaultError401: {
|
|
39
|
+
title: string;
|
|
40
|
+
details: string;
|
|
41
|
+
};
|
|
42
|
+
defaultError403: {
|
|
43
|
+
title: string;
|
|
44
|
+
details: string;
|
|
45
|
+
};
|
|
46
|
+
defaultError404: {
|
|
47
|
+
title: string;
|
|
48
|
+
details: string;
|
|
49
|
+
};
|
|
50
|
+
defaultError500: {
|
|
51
|
+
title: string;
|
|
52
|
+
details: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
export declare class ErrorHandler {
|
|
56
|
+
protected injector: Injector;
|
|
57
|
+
componentRef: ComponentRef<HttpErrorWrapperComponent> | null;
|
|
58
|
+
protected httpErrorHandler: import("../models/common").HttpErrorHandler;
|
|
59
|
+
protected httpErrorReporter: HttpErrorReporterService;
|
|
60
|
+
protected routerEvents: RouterEvents;
|
|
61
|
+
protected confirmationService: ConfirmationService;
|
|
62
|
+
protected cfRes: ComponentFactoryResolver;
|
|
63
|
+
protected rendererFactory: RendererFactory2;
|
|
64
|
+
protected httpErrorConfig: HttpErrorConfig;
|
|
65
|
+
constructor(injector: Injector);
|
|
66
|
+
protected listenToRouterError(): void;
|
|
67
|
+
protected listenToRouterDataResolved(): void;
|
|
68
|
+
protected listenToRestError(): void;
|
|
69
|
+
private executeErrorHandler;
|
|
70
|
+
private handleError;
|
|
71
|
+
protected show401Page(): void;
|
|
72
|
+
protected show404Page(): void;
|
|
73
|
+
protected showErrorWithRequestBody(body: any): Observable<Confirmation.Status>;
|
|
74
|
+
protected showError(message: LocalizationParam, title: LocalizationParam): Observable<Confirmation.Status>;
|
|
75
|
+
private navigateToLogin;
|
|
76
|
+
createErrorComponent(instance: Partial<HttpErrorWrapperComponent>): void;
|
|
77
|
+
canCreateCustomError(status: ErrorScreenErrorCodes): boolean;
|
|
78
|
+
protected filterRestErrors: ({ status }: HttpErrorResponse) => boolean;
|
|
79
|
+
protected filterRouteErrors: (navigationError: NavigationError) => boolean;
|
|
80
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorHandler, never>;
|
|
81
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ErrorHandler>;
|
|
82
|
+
}
|
package/lib/handlers/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './document-dir.handler';
|
|
2
|
-
export * from './error.handler';
|
|
1
|
+
export * from './document-dir.handler';
|
|
2
|
+
export * from './error.handler';
|
package/lib/models/common.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { HttpErrorResponse } from '@angular/common/http';
|
|
2
|
-
import { Injector, Type } from '@angular/core';
|
|
3
|
-
import { Validation } from '@ngx-validate/core';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
export interface RootParams {
|
|
6
|
-
httpErrorConfig: HttpErrorConfig;
|
|
7
|
-
validation?: Partial<Validation.Config>;
|
|
8
|
-
}
|
|
9
|
-
export declare type ErrorScreenErrorCodes = 401 | 403 | 404 | 500;
|
|
10
|
-
export interface HttpErrorConfig {
|
|
11
|
-
skipHandledErrorCodes?: ErrorScreenErrorCodes[] | number[];
|
|
12
|
-
errorScreen?: {
|
|
13
|
-
component: Type<any>;
|
|
14
|
-
forWhichErrors?: ErrorScreenErrorCodes[];
|
|
15
|
-
hideCloseIcon?: boolean;
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
export declare type HttpErrorHandler = (injector: Injector, httpError: HttpErrorResponse) => Observable<any>;
|
|
19
|
-
export declare type LocaleDirection = 'ltr' | 'rtl';
|
|
1
|
+
import { HttpErrorResponse } from '@angular/common/http';
|
|
2
|
+
import { Injector, Type } from '@angular/core';
|
|
3
|
+
import { Validation } from '@ngx-validate/core';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
export interface RootParams {
|
|
6
|
+
httpErrorConfig: HttpErrorConfig;
|
|
7
|
+
validation?: Partial<Validation.Config>;
|
|
8
|
+
}
|
|
9
|
+
export declare type ErrorScreenErrorCodes = 401 | 403 | 404 | 500;
|
|
10
|
+
export interface HttpErrorConfig {
|
|
11
|
+
skipHandledErrorCodes?: ErrorScreenErrorCodes[] | number[];
|
|
12
|
+
errorScreen?: {
|
|
13
|
+
component: Type<any>;
|
|
14
|
+
forWhichErrors?: ErrorScreenErrorCodes[];
|
|
15
|
+
hideCloseIcon?: boolean;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export declare type HttpErrorHandler = (injector: Injector, httpError: HttpErrorResponse) => Observable<any>;
|
|
19
|
+
export declare type LocaleDirection = 'ltr' | 'rtl';
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { LocalizationParam } from '@abp/ng.core';
|
|
2
|
-
export declare namespace Confirmation {
|
|
3
|
-
interface Options {
|
|
4
|
-
id?: any;
|
|
5
|
-
dismissible?: boolean;
|
|
6
|
-
messageLocalizationParams?: string[];
|
|
7
|
-
titleLocalizationParams?: string[];
|
|
8
|
-
hideCancelBtn?: boolean;
|
|
9
|
-
hideYesBtn?: boolean;
|
|
10
|
-
cancelText?: LocalizationParam;
|
|
11
|
-
yesText?: LocalizationParam;
|
|
12
|
-
}
|
|
13
|
-
interface DialogData {
|
|
14
|
-
message: LocalizationParam;
|
|
15
|
-
title?: LocalizationParam;
|
|
16
|
-
severity?: Severity;
|
|
17
|
-
options?: Partial<Options>;
|
|
18
|
-
}
|
|
19
|
-
type Severity = 'neutral' | 'success' | 'info' | 'warning' | 'error';
|
|
20
|
-
enum Status {
|
|
21
|
-
confirm = "confirm",
|
|
22
|
-
reject = "reject",
|
|
23
|
-
dismiss = "dismiss"
|
|
24
|
-
}
|
|
25
|
-
}
|
|
1
|
+
import { LocalizationParam } from '@abp/ng.core';
|
|
2
|
+
export declare namespace Confirmation {
|
|
3
|
+
interface Options {
|
|
4
|
+
id?: any;
|
|
5
|
+
dismissible?: boolean;
|
|
6
|
+
messageLocalizationParams?: string[];
|
|
7
|
+
titleLocalizationParams?: string[];
|
|
8
|
+
hideCancelBtn?: boolean;
|
|
9
|
+
hideYesBtn?: boolean;
|
|
10
|
+
cancelText?: LocalizationParam;
|
|
11
|
+
yesText?: LocalizationParam;
|
|
12
|
+
}
|
|
13
|
+
interface DialogData {
|
|
14
|
+
message: LocalizationParam;
|
|
15
|
+
title?: LocalizationParam;
|
|
16
|
+
severity?: Severity;
|
|
17
|
+
options?: Partial<Options>;
|
|
18
|
+
}
|
|
19
|
+
type Severity = 'neutral' | 'success' | 'info' | 'warning' | 'error';
|
|
20
|
+
enum Status {
|
|
21
|
+
confirm = "confirm",
|
|
22
|
+
reject = "reject",
|
|
23
|
+
dismiss = "dismiss"
|
|
24
|
+
}
|
|
25
|
+
}
|
package/lib/models/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './common';
|
|
2
|
-
export * from './confirmation';
|
|
3
|
-
export * from './statistics';
|
|
4
|
-
export * from './toaster';
|
|
5
|
-
export * from './nav-item';
|
|
1
|
+
export * from './common';
|
|
2
|
+
export * from './confirmation';
|
|
3
|
+
export * from './statistics';
|
|
4
|
+
export * from './toaster';
|
|
5
|
+
export * from './nav-item';
|
package/lib/models/nav-item.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Type } from '@angular/core';
|
|
2
|
-
export declare class NavItem {
|
|
3
|
-
id?: string | number;
|
|
4
|
-
component?: Type<any>;
|
|
5
|
-
html?: string;
|
|
6
|
-
action?: () => void;
|
|
7
|
-
order?: number;
|
|
8
|
-
requiredPolicy?: string;
|
|
9
|
-
visible?: () => boolean;
|
|
10
|
-
constructor(props: Partial<NavItem>);
|
|
11
|
-
}
|
|
1
|
+
import { Type } from '@angular/core';
|
|
2
|
+
export declare class NavItem {
|
|
3
|
+
id?: string | number;
|
|
4
|
+
component?: Type<any>;
|
|
5
|
+
html?: string;
|
|
6
|
+
action?: () => void;
|
|
7
|
+
order?: number;
|
|
8
|
+
requiredPolicy?: string;
|
|
9
|
+
visible?: () => boolean;
|
|
10
|
+
constructor(props: Partial<NavItem>);
|
|
11
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export declare namespace Statistics {
|
|
2
|
-
interface Response {
|
|
3
|
-
data: Data;
|
|
4
|
-
}
|
|
5
|
-
interface Data {
|
|
6
|
-
[key: string]: number;
|
|
7
|
-
}
|
|
8
|
-
interface Filter {
|
|
9
|
-
startDate: string | Date;
|
|
10
|
-
endDate: string | Date;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
1
|
+
export declare namespace Statistics {
|
|
2
|
+
interface Response {
|
|
3
|
+
data: Data;
|
|
4
|
+
}
|
|
5
|
+
interface Data {
|
|
6
|
+
[key: string]: number;
|
|
7
|
+
}
|
|
8
|
+
interface Filter {
|
|
9
|
+
startDate: string | Date;
|
|
10
|
+
endDate: string | Date;
|
|
11
|
+
}
|
|
12
|
+
}
|