@abp/ng.theme.shared 5.0.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/README.md +3 -3
- 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-testing.umd.js.map +1 -1
- 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 +34 -34
- package/esm2015/extensions/lib/adapters/date.adapter.js +41 -41
- package/esm2015/extensions/lib/adapters/time.adapter.js +36 -36
- package/esm2015/extensions/lib/components/abstract-actions/abstract-actions.component.js +25 -25
- package/esm2015/extensions/lib/components/date-time-picker/date-time-picker.component.js +109 -109
- 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 +134 -134
- package/esm2015/extensions/lib/components/grid-actions/grid-actions.component.js +45 -45
- package/esm2015/extensions/lib/components/page-toolbar/page-toolbar.component.js +46 -46
- package/esm2015/extensions/lib/constants/extra-properties.js +2 -2
- package/esm2015/extensions/lib/directives/disabled.directive.js +29 -29
- package/esm2015/extensions/lib/directives/prop-data.directive.js +41 -41
- package/esm2015/extensions/lib/enums/props.enum.js +2 -2
- package/esm2015/extensions/lib/models/actions.js +46 -46
- package/esm2015/extensions/lib/models/entity-actions.js +29 -29
- package/esm2015/extensions/lib/models/entity-props.js +36 -34
- package/esm2015/extensions/lib/models/form-props.js +52 -52
- package/esm2015/extensions/lib/models/internal/object-extensions.js +2 -2
- package/esm2015/extensions/lib/models/object-extensions.js +3 -3
- package/esm2015/extensions/lib/models/props.js +50 -50
- package/esm2015/extensions/lib/models/toolbar-actions.js +41 -41
- package/esm2015/extensions/lib/services/extensions.service.js +24 -24
- package/esm2015/extensions/lib/tokens/extensions.token.js +7 -7
- package/esm2015/extensions/lib/ui-extensions.module.js +92 -92
- package/esm2015/extensions/lib/utils/actions.util.js +9 -9
- package/esm2015/extensions/lib/utils/enum.util.js +42 -42
- package/esm2015/extensions/lib/utils/factory.util.js +4 -4
- package/esm2015/extensions/lib/utils/form-props.util.js +51 -51
- package/esm2015/extensions/lib/utils/localization.util.js +13 -13
- package/esm2015/extensions/lib/utils/props.util.js +14 -14
- package/esm2015/extensions/lib/utils/state.util.js +124 -124
- package/esm2015/extensions/lib/utils/typeahead.util.js +52 -52
- package/esm2015/extensions/lib/utils/validation.util.js +11 -11
- package/esm2015/extensions/public-api.js +28 -28
- package/esm2015/lib/animations/bounce.animations.js +17 -17
- package/esm2015/lib/animations/collapse.animations.js +50 -50
- package/esm2015/lib/animations/fade.animations.js +38 -38
- package/esm2015/lib/animations/index.js +7 -7
- package/esm2015/lib/animations/modal.animations.js +11 -11
- package/esm2015/lib/animations/slide.animations.js +8 -8
- package/esm2015/lib/animations/toast.animations.js +13 -13
- package/esm2015/lib/components/breadcrumb/breadcrumb.component.js +49 -49
- package/esm2015/lib/components/breadcrumb-items/breadcrumb-items.component.js +22 -22
- package/esm2015/lib/components/button/button.component.js +98 -98
- package/esm2015/lib/components/confirmation/confirmation.component.js +40 -40
- package/esm2015/lib/components/http-error-wrapper/http-error-wrapper.component.js +65 -65
- package/esm2015/lib/components/index.js +13 -13
- package/esm2015/lib/components/loader-bar/loader-bar.component.js +126 -126
- package/esm2015/lib/components/loading/loading.component.js +47 -47
- package/esm2015/lib/components/modal/modal-close.directive.js +28 -28
- package/esm2015/lib/components/modal/modal-ref.service.js +26 -26
- package/esm2015/lib/components/modal/modal.component.js +188 -188
- package/esm2015/lib/components/toast/toast.component.js +61 -61
- package/esm2015/lib/components/toast-container/toast-container.component.js +49 -49
- package/esm2015/lib/constants/styles.js +182 -182
- package/esm2015/lib/constants/validation.js +15 -15
- package/esm2015/lib/directives/ellipsis.directive.js +63 -63
- package/esm2015/lib/directives/index.js +5 -5
- package/esm2015/lib/directives/loading.directive.js +90 -90
- package/esm2015/lib/directives/ngx-datatable-default.directive.js +75 -75
- package/esm2015/lib/directives/ngx-datatable-list.directive.js +94 -94
- package/esm2015/lib/enums/index.js +2 -2
- package/esm2015/lib/enums/route-names.js +2 -2
- package/esm2015/lib/handlers/document-dir.handler.js +33 -33
- package/esm2015/lib/handlers/error.handler.js +292 -292
- package/esm2015/lib/handlers/index.js +3 -3
- package/esm2015/lib/models/common.js +2 -2
- package/esm2015/lib/models/confirmation.js +10 -10
- package/esm2015/lib/models/index.js +6 -6
- package/esm2015/lib/models/nav-item.js +7 -7
- package/esm2015/lib/models/statistics.js +2 -2
- package/esm2015/lib/models/toaster.js +2 -2
- package/esm2015/lib/providers/index.js +3 -3
- package/esm2015/lib/providers/ng-bootstrap-config.provider.js +17 -17
- package/esm2015/lib/providers/route.provider.js +18 -18
- package/esm2015/lib/services/confirmation.service.js +68 -68
- package/esm2015/lib/services/index.js +5 -5
- package/esm2015/lib/services/nav-items.service.js +51 -51
- package/esm2015/lib/services/page-alert.service.js +26 -26
- package/esm2015/lib/services/toaster.service.js +103 -103
- package/esm2015/lib/theme-shared.module.js +165 -165
- package/esm2015/lib/tokens/append-content.token.js +11 -11
- package/esm2015/lib/tokens/http-error.token.js +10 -10
- package/esm2015/lib/tokens/index.js +5 -5
- package/esm2015/lib/tokens/ngx-datatable-messages.token.js +8 -8
- package/esm2015/lib/tokens/suppress-unsaved-changes-warning.token.js +3 -3
- package/esm2015/lib/utils/date-parser-formatter.js +59 -59
- package/esm2015/lib/utils/index.js +3 -3
- package/esm2015/lib/utils/validation-utils.js +33 -33
- package/esm2015/public-api.js +16 -16
- package/esm2015/testing/abp-ng.theme.shared-testing.js +4 -4
- package/esm2015/testing/lib/models/config.js +2 -2
- package/esm2015/testing/lib/models/index.js +2 -2
- package/esm2015/testing/lib/theme-shared-testing.module.js +43 -43
- package/esm2015/testing/public-api.js +4 -4
- 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 +1263 -1262
- 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-testing.js.map +1 -1
- package/fesm2015/abp-ng.theme.shared.js +2117 -2117
- 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 +2 -2
- 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
package/lib/models/toaster.d.ts
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { LocalizationParam } from '@abp/ng.core';
|
|
2
|
-
export declare namespace Toaster {
|
|
3
|
-
interface ToastOptions {
|
|
4
|
-
life?: number;
|
|
5
|
-
sticky?: boolean;
|
|
6
|
-
closable?: boolean;
|
|
7
|
-
tapToDismiss?: boolean;
|
|
8
|
-
messageLocalizationParams?: string[];
|
|
9
|
-
titleLocalizationParams?: string[];
|
|
10
|
-
id: any;
|
|
11
|
-
containerKey?: string;
|
|
12
|
-
}
|
|
13
|
-
interface Toast {
|
|
14
|
-
message: LocalizationParam;
|
|
15
|
-
title?: LocalizationParam;
|
|
16
|
-
severity?: string;
|
|
17
|
-
options?: ToastOptions;
|
|
18
|
-
}
|
|
19
|
-
type Severity = 'neutral' | 'success' | 'info' | 'warning' | 'error';
|
|
20
|
-
type ToasterId = string | number;
|
|
21
|
-
interface Service {
|
|
22
|
-
show: (message: LocalizationParam, title: LocalizationParam, severity: Toaster.Severity, options: Partial<Toaster.ToastOptions>) => ToasterId;
|
|
23
|
-
remove: (id: number) => void;
|
|
24
|
-
clear: (containerKey?: string) => void;
|
|
25
|
-
info: (message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>) => ToasterId;
|
|
26
|
-
success: (message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>) => ToasterId;
|
|
27
|
-
warn: (message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>) => ToasterId;
|
|
28
|
-
error: (message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>) => ToasterId;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
1
|
+
import { LocalizationParam } from '@abp/ng.core';
|
|
2
|
+
export declare namespace Toaster {
|
|
3
|
+
interface ToastOptions {
|
|
4
|
+
life?: number;
|
|
5
|
+
sticky?: boolean;
|
|
6
|
+
closable?: boolean;
|
|
7
|
+
tapToDismiss?: boolean;
|
|
8
|
+
messageLocalizationParams?: string[];
|
|
9
|
+
titleLocalizationParams?: string[];
|
|
10
|
+
id: any;
|
|
11
|
+
containerKey?: string;
|
|
12
|
+
}
|
|
13
|
+
interface Toast {
|
|
14
|
+
message: LocalizationParam;
|
|
15
|
+
title?: LocalizationParam;
|
|
16
|
+
severity?: string;
|
|
17
|
+
options?: ToastOptions;
|
|
18
|
+
}
|
|
19
|
+
type Severity = 'neutral' | 'success' | 'info' | 'warning' | 'error';
|
|
20
|
+
type ToasterId = string | number;
|
|
21
|
+
interface Service {
|
|
22
|
+
show: (message: LocalizationParam, title: LocalizationParam, severity: Toaster.Severity, options: Partial<Toaster.ToastOptions>) => ToasterId;
|
|
23
|
+
remove: (id: number) => void;
|
|
24
|
+
clear: (containerKey?: string) => void;
|
|
25
|
+
info: (message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>) => ToasterId;
|
|
26
|
+
success: (message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>) => ToasterId;
|
|
27
|
+
warn: (message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>) => ToasterId;
|
|
28
|
+
error: (message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>) => ToasterId;
|
|
29
|
+
}
|
|
30
|
+
}
|
package/lib/providers/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './ng-bootstrap-config.provider';
|
|
2
|
-
export * from './route.provider';
|
|
1
|
+
export * from './ng-bootstrap-config.provider';
|
|
2
|
+
export * from './route.provider';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { NgbInputDatepickerConfig, NgbTypeaheadConfig } from '@ng-bootstrap/ng-bootstrap';
|
|
2
|
-
export declare const NG_BOOTSTRAP_CONFIG_PROVIDERS: {
|
|
3
|
-
provide: import("@angular/core").InjectionToken<readonly (() => void | import("rxjs").Observable<unknown> | Promise<unknown>)[]>;
|
|
4
|
-
useFactory: typeof configureNgBootstrap;
|
|
5
|
-
deps: (typeof NgbInputDatepickerConfig | typeof NgbTypeaheadConfig)[];
|
|
6
|
-
multi: boolean;
|
|
7
|
-
}[];
|
|
8
|
-
export declare function configureNgBootstrap(datepicker: NgbInputDatepickerConfig, typeahead: NgbTypeaheadConfig): () => void;
|
|
1
|
+
import { NgbInputDatepickerConfig, NgbTypeaheadConfig } from '@ng-bootstrap/ng-bootstrap';
|
|
2
|
+
export declare const NG_BOOTSTRAP_CONFIG_PROVIDERS: {
|
|
3
|
+
provide: import("@angular/core").InjectionToken<readonly (() => void | import("rxjs").Observable<unknown> | Promise<unknown>)[]>;
|
|
4
|
+
useFactory: typeof configureNgBootstrap;
|
|
5
|
+
deps: (typeof NgbInputDatepickerConfig | typeof NgbTypeaheadConfig)[];
|
|
6
|
+
multi: boolean;
|
|
7
|
+
}[];
|
|
8
|
+
export declare function configureNgBootstrap(datepicker: NgbInputDatepickerConfig, typeahead: NgbTypeaheadConfig): () => void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { RoutesService } from '@abp/ng.core';
|
|
2
|
-
export declare const THEME_SHARED_ROUTE_PROVIDERS: {
|
|
3
|
-
provide: import("@angular/core").InjectionToken<readonly (() => void | import("rxjs").Observable<unknown> | Promise<unknown>)[]>;
|
|
4
|
-
useFactory: typeof configureRoutes;
|
|
5
|
-
deps: (typeof RoutesService)[];
|
|
6
|
-
multi: boolean;
|
|
7
|
-
}[];
|
|
8
|
-
export declare function configureRoutes(routesService: RoutesService): () => void;
|
|
1
|
+
import { RoutesService } from '@abp/ng.core';
|
|
2
|
+
export declare const THEME_SHARED_ROUTE_PROVIDERS: {
|
|
3
|
+
provide: import("@angular/core").InjectionToken<readonly (() => void | import("rxjs").Observable<unknown> | Promise<unknown>)[]>;
|
|
4
|
+
useFactory: typeof configureRoutes;
|
|
5
|
+
deps: (typeof RoutesService)[];
|
|
6
|
+
multi: boolean;
|
|
7
|
+
}[];
|
|
8
|
+
export declare function configureRoutes(routesService: RoutesService): () => void;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { ContentProjectionService, LocalizationParam } from '@abp/ng.core';
|
|
2
|
-
import { Observable, ReplaySubject, Subject } from 'rxjs';
|
|
3
|
-
import { Confirmation } from '../models/confirmation';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ConfirmationService {
|
|
6
|
-
private contentProjectionService;
|
|
7
|
-
status$: Subject<Confirmation.Status>;
|
|
8
|
-
confirmation$: ReplaySubject<Confirmation.DialogData>;
|
|
9
|
-
private containerComponentRef;
|
|
10
|
-
clear: (status?: Confirmation.Status) => void;
|
|
11
|
-
constructor(contentProjectionService: ContentProjectionService);
|
|
12
|
-
private setContainer;
|
|
13
|
-
info(message: LocalizationParam, title: LocalizationParam, options?: Partial<Confirmation.Options>): Observable<Confirmation.Status>;
|
|
14
|
-
success(message: LocalizationParam, title: LocalizationParam, options?: Partial<Confirmation.Options>): Observable<Confirmation.Status>;
|
|
15
|
-
warn(message: LocalizationParam, title: LocalizationParam, options?: Partial<Confirmation.Options>): Observable<Confirmation.Status>;
|
|
16
|
-
error(message: LocalizationParam, title: LocalizationParam, options?: Partial<Confirmation.Options>): Observable<Confirmation.Status>;
|
|
17
|
-
show(message: LocalizationParam, title: LocalizationParam, severity?: Confirmation.Severity, options?: Partial<Confirmation.Options>): Observable<Confirmation.Status>;
|
|
18
|
-
private listenToEscape;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationService, never>;
|
|
20
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ConfirmationService>;
|
|
21
|
-
}
|
|
1
|
+
import { ContentProjectionService, LocalizationParam } from '@abp/ng.core';
|
|
2
|
+
import { Observable, ReplaySubject, Subject } from 'rxjs';
|
|
3
|
+
import { Confirmation } from '../models/confirmation';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ConfirmationService {
|
|
6
|
+
private contentProjectionService;
|
|
7
|
+
status$: Subject<Confirmation.Status>;
|
|
8
|
+
confirmation$: ReplaySubject<Confirmation.DialogData>;
|
|
9
|
+
private containerComponentRef;
|
|
10
|
+
clear: (status?: Confirmation.Status) => void;
|
|
11
|
+
constructor(contentProjectionService: ContentProjectionService);
|
|
12
|
+
private setContainer;
|
|
13
|
+
info(message: LocalizationParam, title: LocalizationParam, options?: Partial<Confirmation.Options>): Observable<Confirmation.Status>;
|
|
14
|
+
success(message: LocalizationParam, title: LocalizationParam, options?: Partial<Confirmation.Options>): Observable<Confirmation.Status>;
|
|
15
|
+
warn(message: LocalizationParam, title: LocalizationParam, options?: Partial<Confirmation.Options>): Observable<Confirmation.Status>;
|
|
16
|
+
error(message: LocalizationParam, title: LocalizationParam, options?: Partial<Confirmation.Options>): Observable<Confirmation.Status>;
|
|
17
|
+
show(message: LocalizationParam, title: LocalizationParam, severity?: Confirmation.Severity, options?: Partial<Confirmation.Options>): Observable<Confirmation.Status>;
|
|
18
|
+
private listenToEscape;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationService, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfirmationService>;
|
|
21
|
+
}
|
package/lib/services/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './confirmation.service';
|
|
2
|
-
export * from './nav-items.service';
|
|
3
|
-
export * from './page-alert.service';
|
|
4
|
-
export * from './toaster.service';
|
|
1
|
+
export * from './confirmation.service';
|
|
2
|
+
export * from './nav-items.service';
|
|
3
|
+
export * from './page-alert.service';
|
|
4
|
+
export * from './toaster.service';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { NavItem } from '../models/nav-item';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class NavItemsService {
|
|
5
|
-
private _items$;
|
|
6
|
-
get items(): NavItem[];
|
|
7
|
-
get items$(): Observable<NavItem[]>;
|
|
8
|
-
addItems(newItems: NavItem[]): void;
|
|
9
|
-
removeItem(id: string | number): void;
|
|
10
|
-
patchItem(id: string | number, item: Partial<Omit<NavItem, 'id'>>): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavItemsService, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NavItemsService>;
|
|
13
|
-
}
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { NavItem } from '../models/nav-item';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class NavItemsService {
|
|
5
|
+
private _items$;
|
|
6
|
+
get items(): NavItem[];
|
|
7
|
+
get items$(): Observable<NavItem[]>;
|
|
8
|
+
addItems(newItems: NavItem[]): void;
|
|
9
|
+
removeItem(id: string | number): void;
|
|
10
|
+
patchItem(id: string | number, item: Partial<Omit<NavItem, 'id'>>): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavItemsService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NavItemsService>;
|
|
13
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export interface PageAlert {
|
|
3
|
-
type: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark';
|
|
4
|
-
message: string;
|
|
5
|
-
dismissible?: boolean;
|
|
6
|
-
title?: string;
|
|
7
|
-
messageLocalizationParams?: string[];
|
|
8
|
-
titleLocalizationParams?: string[];
|
|
9
|
-
}
|
|
10
|
-
export declare class PageAlertService {
|
|
11
|
-
private alerts;
|
|
12
|
-
alerts$: import("rxjs").Observable<PageAlert[]>;
|
|
13
|
-
constructor();
|
|
14
|
-
show(alert: PageAlert): void;
|
|
15
|
-
remove(index: number): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PageAlertService, never>;
|
|
17
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<PageAlertService>;
|
|
18
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export interface PageAlert {
|
|
3
|
+
type: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark';
|
|
4
|
+
message: string;
|
|
5
|
+
dismissible?: boolean;
|
|
6
|
+
title?: string;
|
|
7
|
+
messageLocalizationParams?: string[];
|
|
8
|
+
titleLocalizationParams?: string[];
|
|
9
|
+
}
|
|
10
|
+
export declare class PageAlertService {
|
|
11
|
+
private alerts;
|
|
12
|
+
alerts$: import("rxjs").Observable<PageAlert[]>;
|
|
13
|
+
constructor();
|
|
14
|
+
show(alert: PageAlert): void;
|
|
15
|
+
remove(index: number): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageAlertService, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PageAlertService>;
|
|
18
|
+
}
|
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
import { ContentProjectionService, LocalizationParam, Strict } from '@abp/ng.core';
|
|
2
|
-
import { Toaster } from '../models';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ToasterService implements ToasterContract {
|
|
5
|
-
private contentProjectionService;
|
|
6
|
-
private toasts$;
|
|
7
|
-
private lastId;
|
|
8
|
-
private toasts;
|
|
9
|
-
private containerComponentRef;
|
|
10
|
-
constructor(contentProjectionService: ContentProjectionService);
|
|
11
|
-
private setContainer;
|
|
12
|
-
/**
|
|
13
|
-
* Creates an info toast with given parameters.
|
|
14
|
-
* @param message Content of the toast
|
|
15
|
-
* @param title Title of the toast
|
|
16
|
-
* @param options Spesific style or structural options for individual toast
|
|
17
|
-
*/
|
|
18
|
-
info(message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
|
|
19
|
-
/**
|
|
20
|
-
* Creates a success toast with given parameters.
|
|
21
|
-
* @param message Content of the toast
|
|
22
|
-
* @param title Title of the toast
|
|
23
|
-
* @param options Spesific style or structural options for individual toast
|
|
24
|
-
*/
|
|
25
|
-
success(message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
|
|
26
|
-
/**
|
|
27
|
-
* Creates a warning toast with given parameters.
|
|
28
|
-
* @param message Content of the toast
|
|
29
|
-
* @param title Title of the toast
|
|
30
|
-
* @param options Spesific style or structural options for individual toast
|
|
31
|
-
*/
|
|
32
|
-
warn(message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
|
|
33
|
-
/**
|
|
34
|
-
* Creates an error toast with given parameters.
|
|
35
|
-
* @param message Content of the toast
|
|
36
|
-
* @param title Title of the toast
|
|
37
|
-
* @param options Spesific style or structural options for individual toast
|
|
38
|
-
*/
|
|
39
|
-
error(message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
|
|
40
|
-
/**
|
|
41
|
-
* Creates a toast with given parameters.
|
|
42
|
-
* @param message Content of the toast
|
|
43
|
-
* @param title Title of the toast
|
|
44
|
-
* @param severity Sets color of the toast. "success", "warning" etc.
|
|
45
|
-
* @param options Spesific style or structural options for individual toast
|
|
46
|
-
*/
|
|
47
|
-
show(message: LocalizationParam, title?: LocalizationParam | undefined, severity?: Toaster.Severity, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
|
|
48
|
-
/**
|
|
49
|
-
* Removes the toast with given id.
|
|
50
|
-
* @param id ID of the toast to be removed.
|
|
51
|
-
*/
|
|
52
|
-
remove: (id: number) => void;
|
|
53
|
-
/**
|
|
54
|
-
* Removes all open toasts at once.
|
|
55
|
-
*/
|
|
56
|
-
clear(containerKey?: string): void;
|
|
57
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToasterService, never>;
|
|
58
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ToasterService>;
|
|
59
|
-
}
|
|
60
|
-
export declare type ToasterContract = Strict<ToasterService, Toaster.Service>;
|
|
1
|
+
import { ContentProjectionService, LocalizationParam, Strict } from '@abp/ng.core';
|
|
2
|
+
import { Toaster } from '../models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ToasterService implements ToasterContract {
|
|
5
|
+
private contentProjectionService;
|
|
6
|
+
private toasts$;
|
|
7
|
+
private lastId;
|
|
8
|
+
private toasts;
|
|
9
|
+
private containerComponentRef;
|
|
10
|
+
constructor(contentProjectionService: ContentProjectionService);
|
|
11
|
+
private setContainer;
|
|
12
|
+
/**
|
|
13
|
+
* Creates an info toast with given parameters.
|
|
14
|
+
* @param message Content of the toast
|
|
15
|
+
* @param title Title of the toast
|
|
16
|
+
* @param options Spesific style or structural options for individual toast
|
|
17
|
+
*/
|
|
18
|
+
info(message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
|
|
19
|
+
/**
|
|
20
|
+
* Creates a success toast with given parameters.
|
|
21
|
+
* @param message Content of the toast
|
|
22
|
+
* @param title Title of the toast
|
|
23
|
+
* @param options Spesific style or structural options for individual toast
|
|
24
|
+
*/
|
|
25
|
+
success(message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
|
|
26
|
+
/**
|
|
27
|
+
* Creates a warning toast with given parameters.
|
|
28
|
+
* @param message Content of the toast
|
|
29
|
+
* @param title Title of the toast
|
|
30
|
+
* @param options Spesific style or structural options for individual toast
|
|
31
|
+
*/
|
|
32
|
+
warn(message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
|
|
33
|
+
/**
|
|
34
|
+
* Creates an error toast with given parameters.
|
|
35
|
+
* @param message Content of the toast
|
|
36
|
+
* @param title Title of the toast
|
|
37
|
+
* @param options Spesific style or structural options for individual toast
|
|
38
|
+
*/
|
|
39
|
+
error(message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
|
|
40
|
+
/**
|
|
41
|
+
* Creates a toast with given parameters.
|
|
42
|
+
* @param message Content of the toast
|
|
43
|
+
* @param title Title of the toast
|
|
44
|
+
* @param severity Sets color of the toast. "success", "warning" etc.
|
|
45
|
+
* @param options Spesific style or structural options for individual toast
|
|
46
|
+
*/
|
|
47
|
+
show(message: LocalizationParam, title?: LocalizationParam | undefined, severity?: Toaster.Severity, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
|
|
48
|
+
/**
|
|
49
|
+
* Removes the toast with given id.
|
|
50
|
+
* @param id ID of the toast to be removed.
|
|
51
|
+
*/
|
|
52
|
+
remove: (id: number) => void;
|
|
53
|
+
/**
|
|
54
|
+
* Removes all open toasts at once.
|
|
55
|
+
*/
|
|
56
|
+
clear(containerKey?: string): void;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToasterService, never>;
|
|
58
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ToasterService>;
|
|
59
|
+
}
|
|
60
|
+
export declare type ToasterContract = Strict<ToasterService, Toaster.Service>;
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import { RootParams } from './models/common';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "./components/breadcrumb/breadcrumb.component";
|
|
5
|
-
import * as i2 from "./components/breadcrumb-items/breadcrumb-items.component";
|
|
6
|
-
import * as i3 from "./components/button/button.component";
|
|
7
|
-
import * as i4 from "./components/confirmation/confirmation.component";
|
|
8
|
-
import * as i5 from "./components/loader-bar/loader-bar.component";
|
|
9
|
-
import * as i6 from "./components/loading/loading.component";
|
|
10
|
-
import * as i7 from "./components/modal/modal.component";
|
|
11
|
-
import * as i8 from "./components/toast/toast.component";
|
|
12
|
-
import * as i9 from "./components/toast-container/toast-container.component";
|
|
13
|
-
import * as i10 from "./directives/ngx-datatable-default.directive";
|
|
14
|
-
import * as i11 from "./directives/ngx-datatable-list.directive";
|
|
15
|
-
import * as i12 from "./directives/loading.directive";
|
|
16
|
-
import * as i13 from "./components/modal/modal-close.directive";
|
|
17
|
-
import * as i14 from "./components/http-error-wrapper/http-error-wrapper.component";
|
|
18
|
-
import * as i15 from "@abp/ng.core";
|
|
19
|
-
import * as i16 from "@swimlane/ngx-datatable";
|
|
20
|
-
import * as i17 from "@ngx-validate/core";
|
|
21
|
-
import * as i18 from "@ng-bootstrap/ng-bootstrap";
|
|
22
|
-
import * as i19 from "./directives/ellipsis.directive";
|
|
23
|
-
export declare class BaseThemeSharedModule {
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseThemeSharedModule, never>;
|
|
25
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BaseThemeSharedModule, [typeof i1.BreadcrumbComponent, typeof i2.BreadcrumbItemsComponent, typeof i3.ButtonComponent, typeof i4.ConfirmationComponent, typeof i5.LoaderBarComponent, typeof i6.LoadingComponent, typeof i7.ModalComponent, typeof i8.ToastComponent, typeof i9.ToastContainerComponent, typeof i10.NgxDatatableDefaultDirective, typeof i11.NgxDatatableListDirective, typeof i12.LoadingDirective, typeof i13.ModalCloseDirective, typeof i14.HttpErrorWrapperComponent], [typeof i15.CoreModule, typeof i16.NgxDatatableModule, typeof i17.NgxValidateCoreModule, typeof i18.NgbPaginationModule, typeof i19.EllipsisModule], [typeof i16.NgxDatatableModule, typeof i19.EllipsisModule, typeof i1.BreadcrumbComponent, typeof i2.BreadcrumbItemsComponent, typeof i3.ButtonComponent, typeof i4.ConfirmationComponent, typeof i5.LoaderBarComponent, typeof i6.LoadingComponent, typeof i7.ModalComponent, typeof i8.ToastComponent, typeof i9.ToastContainerComponent, typeof i10.NgxDatatableDefaultDirective, typeof i11.NgxDatatableListDirective, typeof i12.LoadingDirective, typeof i13.ModalCloseDirective]>;
|
|
26
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<BaseThemeSharedModule>;
|
|
27
|
-
}
|
|
28
|
-
export declare class ThemeSharedModule {
|
|
29
|
-
static forRoot({ httpErrorConfig, validation }?: RootParams): ModuleWithProviders<ThemeSharedModule>;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeSharedModule, never>;
|
|
31
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ThemeSharedModule, never, [typeof BaseThemeSharedModule], [typeof BaseThemeSharedModule]>;
|
|
32
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ThemeSharedModule>;
|
|
33
|
-
}
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import { RootParams } from './models/common';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "./components/breadcrumb/breadcrumb.component";
|
|
5
|
+
import * as i2 from "./components/breadcrumb-items/breadcrumb-items.component";
|
|
6
|
+
import * as i3 from "./components/button/button.component";
|
|
7
|
+
import * as i4 from "./components/confirmation/confirmation.component";
|
|
8
|
+
import * as i5 from "./components/loader-bar/loader-bar.component";
|
|
9
|
+
import * as i6 from "./components/loading/loading.component";
|
|
10
|
+
import * as i7 from "./components/modal/modal.component";
|
|
11
|
+
import * as i8 from "./components/toast/toast.component";
|
|
12
|
+
import * as i9 from "./components/toast-container/toast-container.component";
|
|
13
|
+
import * as i10 from "./directives/ngx-datatable-default.directive";
|
|
14
|
+
import * as i11 from "./directives/ngx-datatable-list.directive";
|
|
15
|
+
import * as i12 from "./directives/loading.directive";
|
|
16
|
+
import * as i13 from "./components/modal/modal-close.directive";
|
|
17
|
+
import * as i14 from "./components/http-error-wrapper/http-error-wrapper.component";
|
|
18
|
+
import * as i15 from "@abp/ng.core";
|
|
19
|
+
import * as i16 from "@swimlane/ngx-datatable";
|
|
20
|
+
import * as i17 from "@ngx-validate/core";
|
|
21
|
+
import * as i18 from "@ng-bootstrap/ng-bootstrap";
|
|
22
|
+
import * as i19 from "./directives/ellipsis.directive";
|
|
23
|
+
export declare class BaseThemeSharedModule {
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseThemeSharedModule, never>;
|
|
25
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BaseThemeSharedModule, [typeof i1.BreadcrumbComponent, typeof i2.BreadcrumbItemsComponent, typeof i3.ButtonComponent, typeof i4.ConfirmationComponent, typeof i5.LoaderBarComponent, typeof i6.LoadingComponent, typeof i7.ModalComponent, typeof i8.ToastComponent, typeof i9.ToastContainerComponent, typeof i10.NgxDatatableDefaultDirective, typeof i11.NgxDatatableListDirective, typeof i12.LoadingDirective, typeof i13.ModalCloseDirective, typeof i14.HttpErrorWrapperComponent], [typeof i15.CoreModule, typeof i16.NgxDatatableModule, typeof i17.NgxValidateCoreModule, typeof i18.NgbPaginationModule, typeof i19.EllipsisModule], [typeof i16.NgxDatatableModule, typeof i19.EllipsisModule, typeof i1.BreadcrumbComponent, typeof i2.BreadcrumbItemsComponent, typeof i3.ButtonComponent, typeof i4.ConfirmationComponent, typeof i5.LoaderBarComponent, typeof i6.LoadingComponent, typeof i7.ModalComponent, typeof i8.ToastComponent, typeof i9.ToastContainerComponent, typeof i10.NgxDatatableDefaultDirective, typeof i11.NgxDatatableListDirective, typeof i12.LoadingDirective, typeof i13.ModalCloseDirective]>;
|
|
26
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BaseThemeSharedModule>;
|
|
27
|
+
}
|
|
28
|
+
export declare class ThemeSharedModule {
|
|
29
|
+
static forRoot({ httpErrorConfig, validation }?: RootParams): ModuleWithProviders<ThemeSharedModule>;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeSharedModule, never>;
|
|
31
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ThemeSharedModule, never, [typeof BaseThemeSharedModule], [typeof BaseThemeSharedModule]>;
|
|
32
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ThemeSharedModule>;
|
|
33
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
export declare const THEME_SHARED_APPEND_CONTENT: InjectionToken<void>;
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
export declare const THEME_SHARED_APPEND_CONTENT: InjectionToken<void>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { HttpErrorConfig, HttpErrorHandler } from '../models/common';
|
|
3
|
-
export declare function httpErrorConfigFactory(config?: HttpErrorConfig): HttpErrorConfig;
|
|
4
|
-
export declare const HTTP_ERROR_CONFIG: InjectionToken<HttpErrorConfig>;
|
|
5
|
-
export declare const HTTP_ERROR_HANDLER: InjectionToken<HttpErrorHandler>;
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { HttpErrorConfig, HttpErrorHandler } from '../models/common';
|
|
3
|
+
export declare function httpErrorConfigFactory(config?: HttpErrorConfig): HttpErrorConfig;
|
|
4
|
+
export declare const HTTP_ERROR_CONFIG: InjectionToken<HttpErrorConfig>;
|
|
5
|
+
export declare const HTTP_ERROR_HANDLER: InjectionToken<HttpErrorHandler>;
|
package/lib/tokens/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './append-content.token';
|
|
2
|
-
export * from './http-error.token';
|
|
3
|
-
export * from './ngx-datatable-messages.token';
|
|
4
|
-
export * from './suppress-unsaved-changes-warning.token';
|
|
1
|
+
export * from './append-content.token';
|
|
2
|
+
export * from './http-error.token';
|
|
3
|
+
export * from './ngx-datatable-messages.token';
|
|
4
|
+
export * from './suppress-unsaved-changes-warning.token';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
export interface NgxDatatableMessages {
|
|
3
|
-
emptyMessage: string;
|
|
4
|
-
totalMessage: string;
|
|
5
|
-
selectedMessage: string;
|
|
6
|
-
}
|
|
7
|
-
export declare const defaultNgxDatatableMessages: {
|
|
8
|
-
emptyMessage: string;
|
|
9
|
-
totalMessage: string;
|
|
10
|
-
selectedMessage: string;
|
|
11
|
-
};
|
|
12
|
-
export declare const NGX_DATATABLE_MESSAGES: InjectionToken<Partial<NgxDatatableMessages>>;
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
export interface NgxDatatableMessages {
|
|
3
|
+
emptyMessage: string;
|
|
4
|
+
totalMessage: string;
|
|
5
|
+
selectedMessage: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const defaultNgxDatatableMessages: {
|
|
8
|
+
emptyMessage: string;
|
|
9
|
+
totalMessage: string;
|
|
10
|
+
selectedMessage: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const NGX_DATATABLE_MESSAGES: InjectionToken<Partial<NgxDatatableMessages>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
export declare const SUPPRESS_UNSAVED_CHANGES_WARNING: InjectionToken<boolean>;
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
export declare const SUPPRESS_UNSAVED_CHANGES_WARNING: InjectionToken<boolean>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ConfigStateService } from '@abp/ng.core';
|
|
2
|
-
import { NgbDateParserFormatter, NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class DateParserFormatter extends NgbDateParserFormatter {
|
|
5
|
-
private configState;
|
|
6
|
-
private locale;
|
|
7
|
-
constructor(configState: ConfigStateService, locale: string);
|
|
8
|
-
parse(value: string): NgbDateStruct | null;
|
|
9
|
-
format(date: NgbDateStruct): string;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateParserFormatter, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DateParserFormatter>;
|
|
12
|
-
}
|
|
1
|
+
import { ConfigStateService } from '@abp/ng.core';
|
|
2
|
+
import { NgbDateParserFormatter, NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DateParserFormatter extends NgbDateParserFormatter {
|
|
5
|
+
private configState;
|
|
6
|
+
private locale;
|
|
7
|
+
constructor(configState: ConfigStateService, locale: string);
|
|
8
|
+
parse(value: string): NgbDateStruct | null;
|
|
9
|
+
format(date: NgbDateStruct): string;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateParserFormatter, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DateParserFormatter>;
|
|
12
|
+
}
|
package/lib/utils/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './date-parser-formatter';
|
|
2
|
-
export * from './validation-utils';
|
|
1
|
+
export * from './date-parser-formatter';
|
|
2
|
+
export * from './validation-utils';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Injector } from '@angular/core';
|
|
2
|
-
import { ValidatorFn } from '@angular/forms';
|
|
3
|
-
export declare function getPasswordValidators(injector: Injector): ValidatorFn[];
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
|
+
import { ValidatorFn } from '@angular/forms';
|
|
3
|
+
export declare function getPasswordValidators(injector: Injector): ValidatorFn[];
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abp/ng.theme.shared",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.2",
|
|
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": "~5.0.
|
|
10
|
+
"@abp/ng.core": "~5.0.2",
|
|
11
11
|
"@fortawesome/fontawesome-free": "^5.15.4",
|
|
12
12
|
"@ng-bootstrap/ng-bootstrap": "11.0.0-beta.2",
|
|
13
13
|
"@ngx-validate/core": "^0.1.1",
|
package/public-api.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export * from './lib/animations';
|
|
2
|
-
export * from './lib/components';
|
|
3
|
-
export * from './lib/constants/validation';
|
|
4
|
-
export * from './lib/directives';
|
|
5
|
-
export * from './lib/enums';
|
|
6
|
-
export * from './lib/handlers';
|
|
7
|
-
export * from './lib/models';
|
|
8
|
-
export * from './lib/providers';
|
|
9
|
-
export * from './lib/services';
|
|
10
|
-
export * from './lib/theme-shared.module';
|
|
11
|
-
export * from './lib/tokens';
|
|
12
|
-
export * from './lib/utils';
|
|
1
|
+
export * from './lib/animations';
|
|
2
|
+
export * from './lib/components';
|
|
3
|
+
export * from './lib/constants/validation';
|
|
4
|
+
export * from './lib/directives';
|
|
5
|
+
export * from './lib/enums';
|
|
6
|
+
export * from './lib/handlers';
|
|
7
|
+
export * from './lib/models';
|
|
8
|
+
export * from './lib/providers';
|
|
9
|
+
export * from './lib/services';
|
|
10
|
+
export * from './lib/theme-shared.module';
|
|
11
|
+
export * from './lib/tokens';
|
|
12
|
+
export * from './lib/utils';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
/// <amd-module name="@abp/ng.theme.shared/testing" />
|
|
5
|
-
export * from './public-api';
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="@abp/ng.theme.shared/testing" />
|
|
5
|
+
export * from './public-api';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Validation } from '@ngx-validate/core';
|
|
2
|
-
export interface Config {
|
|
3
|
-
validation?: Partial<Validation.Config>;
|
|
4
|
-
}
|
|
1
|
+
import { Validation } from '@ngx-validate/core';
|
|
2
|
+
export interface Config {
|
|
3
|
+
validation?: Partial<Validation.Config>;
|
|
4
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './config';
|
|
1
|
+
export * from './config';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import { Config } from './models/config';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/router/testing";
|
|
5
|
-
import * as i2 from "@abp/ng.theme.shared";
|
|
6
|
-
/**
|
|
7
|
-
* ThemeSharedTestingModule is the module that will be used in tests
|
|
8
|
-
*/
|
|
9
|
-
export declare class ThemeSharedTestingModule {
|
|
10
|
-
static withConfig({ validation }?: Config): ModuleWithProviders<ThemeSharedTestingModule>;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeSharedTestingModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ThemeSharedTestingModule, never, [typeof i1.RouterTestingModule, typeof i2.BaseThemeSharedModule], [typeof i1.RouterTestingModule, typeof i2.BaseThemeSharedModule]>;
|
|
13
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ThemeSharedTestingModule>;
|
|
14
|
-
}
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import { Config } from './models/config';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/router/testing";
|
|
5
|
+
import * as i2 from "@abp/ng.theme.shared";
|
|
6
|
+
/**
|
|
7
|
+
* ThemeSharedTestingModule is the module that will be used in tests
|
|
8
|
+
*/
|
|
9
|
+
export declare class ThemeSharedTestingModule {
|
|
10
|
+
static withConfig({ validation }?: Config): ModuleWithProviders<ThemeSharedTestingModule>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeSharedTestingModule, never>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ThemeSharedTestingModule, never, [typeof i1.RouterTestingModule, typeof i2.BaseThemeSharedModule], [typeof i1.RouterTestingModule, typeof i2.BaseThemeSharedModule]>;
|
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ThemeSharedTestingModule>;
|
|
14
|
+
}
|
package/testing/public-api.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import * as ThemeSharedTesting from './lib/models';
|
|
2
|
-
export * from './lib/theme-shared-testing.module';
|
|
3
|
-
export { ThemeSharedTesting };
|
|
1
|
+
import * as ThemeSharedTesting from './lib/models';
|
|
2
|
+
export * from './lib/theme-shared-testing.module';
|
|
3
|
+
export { ThemeSharedTesting };
|