@abp/ng.theme.shared 9.3.0-rc.2 → 9.3.0-rc.3
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/fesm2022/abp-ng.theme.shared-testing.mjs +4 -4
- package/fesm2022/abp-ng.theme.shared-testing.mjs.map +1 -1
- package/fesm2022/abp-ng.theme.shared.mjs +162 -160
- package/fesm2022/abp-ng.theme.shared.mjs.map +1 -1
- package/index.d.ts +1071 -3
- package/package.json +5 -5
- package/testing/index.d.ts +24 -3
- package/lib/adapters/date-time.adapter.d.ts +0 -11
- package/lib/adapters/date.adapter.d.ts +0 -9
- package/lib/adapters/index.d.ts +0 -3
- package/lib/adapters/time.adapter.d.ts +0 -8
- package/lib/animations/bounce.animations.d.ts +0 -1
- package/lib/animations/collapse.animations.d.ts +0 -9
- package/lib/animations/fade.animations.d.ts +0 -10
- package/lib/animations/index.d.ts +0 -6
- package/lib/animations/modal.animations.d.ts +0 -2
- package/lib/animations/slide.animations.d.ts +0 -1
- package/lib/animations/toast.animations.d.ts +0 -1
- package/lib/components/breadcrumb/breadcrumb.component.d.ts +0 -16
- package/lib/components/breadcrumb-items/breadcrumb-items.component.d.ts +0 -7
- package/lib/components/button/button.component.d.ts +0 -26
- package/lib/components/card/card-body.component.d.ts +0 -8
- package/lib/components/card/card-footer.component.d.ts +0 -8
- package/lib/components/card/card-header.component.d.ts +0 -8
- package/lib/components/card/card-header.directive.d.ts +0 -6
- package/lib/components/card/card-img-top.directive.d.ts +0 -6
- package/lib/components/card/card-subtitle.directive.d.ts +0 -6
- package/lib/components/card/card-title.directive.d.ts +0 -6
- package/lib/components/card/card.component.d.ts +0 -7
- package/lib/components/card/card.module.d.ts +0 -21
- package/lib/components/card/index.d.ts +0 -9
- package/lib/components/checkbox/checkbox.component.d.ts +0 -17
- package/lib/components/confirmation/confirmation.component.d.ts +0 -19
- package/lib/components/form-input/form-input.component.d.ts +0 -18
- package/lib/components/http-error-wrapper/http-error-wrapper.component.d.ts +0 -31
- package/lib/components/index.d.ts +0 -18
- package/lib/components/internet-connection-status/internet-connection-status.component.d.ts +0 -8
- package/lib/components/loader-bar/loader-bar.component.d.ts +0 -33
- package/lib/components/loading/loading.component.d.ts +0 -5
- package/lib/components/modal/modal-close.directive.d.ts +0 -9
- package/lib/components/modal/modal-ref.service.d.ts +0 -13
- package/lib/components/modal/modal.component.d.ts +0 -40
- package/lib/components/password/password.component.d.ts +0 -14
- package/lib/components/spinner/spinner.component.d.ts +0 -5
- package/lib/components/toast/toast.component.d.ts +0 -14
- package/lib/components/toast-container/toast-container.component.d.ts +0 -22
- package/lib/constants/default-errors.d.ts +0 -63
- package/lib/constants/index.d.ts +0 -4
- package/lib/constants/scripts.d.ts +0 -2
- package/lib/constants/styles.d.ts +0 -2
- package/lib/constants/validation.d.ts +0 -20
- package/lib/directives/disabled.directive.d.ts +0 -11
- package/lib/directives/ellipsis.directive.d.ts +0 -16
- package/lib/directives/index.d.ts +0 -6
- package/lib/directives/loading.directive.d.ts +0 -25
- package/lib/directives/ngx-datatable-default.directive.d.ts +0 -30
- package/lib/directives/ngx-datatable-list.directive.d.ts +0 -29
- package/lib/directives/visible.directive.d.ts +0 -18
- package/lib/enums/form.d.ts +0 -4
- package/lib/enums/index.d.ts +0 -2
- package/lib/enums/route-names.d.ts +0 -3
- package/lib/handlers/document-dir.handler.d.ts +0 -13
- package/lib/handlers/error.handler.d.ts +0 -28
- package/lib/handlers/index.d.ts +0 -2
- package/lib/models/common.d.ts +0 -26
- package/lib/models/confirmation.d.ts +0 -27
- package/lib/models/index.d.ts +0 -7
- package/lib/models/nav-item.d.ts +0 -22
- package/lib/models/statistics.d.ts +0 -12
- package/lib/models/toaster.d.ts +0 -31
- package/lib/models/user-menu.d.ts +0 -8
- package/lib/models/validation.d.ts +0 -1
- package/lib/providers/error-handlers.provider.d.ts +0 -2
- package/lib/providers/index.d.ts +0 -5
- package/lib/providers/ng-bootstrap-config.provider.d.ts +0 -2
- package/lib/providers/route.provider.d.ts +0 -2
- package/lib/providers/tenant-not-found.provider.d.ts +0 -2
- package/lib/providers/theme-shared-config.provider.d.ts +0 -22
- package/lib/services/abp-format-error-handler.service.d.ts +0 -13
- package/lib/services/abstract-menu.service.d.ts +0 -16
- package/lib/services/authentication-error-handler.service.d.ts +0 -12
- package/lib/services/confirmation.service.d.ts +0 -21
- package/lib/services/create-error-component.service.d.ts +0 -22
- package/lib/services/index.d.ts +0 -12
- package/lib/services/nav-items.service.d.ts +0 -8
- package/lib/services/page-alert.service.d.ts +0 -17
- package/lib/services/router-error-handler.service.d.ts +0 -14
- package/lib/services/status-code-error-handler.service.d.ts +0 -21
- package/lib/services/tenant-resolve-error-handler.service.d.ts +0 -13
- package/lib/services/toaster.service.d.ts +0 -60
- package/lib/services/unknown-status-code-error-handler.service.d.ts +0 -16
- package/lib/services/user-menu.service.d.ts +0 -8
- package/lib/theme-shared.module.d.ts +0 -42
- package/lib/tokens/append-content.token.d.ts +0 -2
- package/lib/tokens/confirmation-icons.token.d.ts +0 -11
- package/lib/tokens/http-error.token.d.ts +0 -8
- package/lib/tokens/index.d.ts +0 -5
- package/lib/tokens/ngx-datatable-messages.token.d.ts +0 -14
- package/lib/tokens/suppress-unsaved-changes-warning.token.d.ts +0 -2
- package/lib/utils/date-parser-formatter.d.ts +0 -12
- package/lib/utils/error.utils.d.ts +0 -8
- package/lib/utils/index.d.ts +0 -3
- package/lib/utils/validation-utils.d.ts +0 -5
- package/public-api.d.ts +0 -13
- package/testing/lib/models/config.d.ts +0 -4
- package/testing/lib/models/index.d.ts +0 -1
- package/testing/lib/theme-shared-testing.module.d.ts +0 -14
- package/testing/public-api.d.ts +0 -3
package/index.d.ts
CHANGED
|
@@ -1,5 +1,1073 @@
|
|
|
1
|
+
import { NgbDateStruct, NgbTimeStruct, NgbDateAdapter, NgbTimeAdapter, NgbModal, NgbModalOptions, NgbModalRef, NgbDateParserFormatter } from '@ng-bootstrap/ng-bootstrap';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { OnInit, ChangeDetectorRef, EventEmitter, ElementRef, Renderer2, InjectionToken, Type, Injector, AfterViewInit, OnDestroy, DestroyRef, ApplicationRef, EnvironmentInjector, RendererFactory2, ComponentRef, TemplateRef, ViewContainerRef, ComponentFactoryResolver, OnChanges, DoCheck, SimpleChanges, Provider, ModuleWithProviders } from '@angular/core';
|
|
4
|
+
import * as _angular_animations from '@angular/animations';
|
|
5
|
+
import { ABP, RoutesService, SubscriptionService, RouterEvents, LocalizationParam, HttpWaitService, RouterWaitService, ContentProjectionService, SortableItem, Strict, SessionStateService, AuthService, ConfigStateService, AbstractNgModelComponent, InternetConnectionService, LocalizationService, ListService, HttpErrorReporterService } from '@abp/ng.core';
|
|
6
|
+
import { Router, NavigationError } from '@angular/router';
|
|
7
|
+
import * as rxjs from 'rxjs';
|
|
8
|
+
import { ReplaySubject, Observable, Subject, Subscription, BehaviorSubject } from 'rxjs';
|
|
9
|
+
import { HttpErrorResponse } from '@angular/common/http';
|
|
10
|
+
import * as i16 from '@ngx-validate/core';
|
|
11
|
+
import { Validation } from '@ngx-validate/core';
|
|
12
|
+
import * as i15 from '@swimlane/ngx-datatable';
|
|
13
|
+
import { DatatableComponent } from '@swimlane/ngx-datatable';
|
|
14
|
+
import { NgControl, ValidatorFn } from '@angular/forms';
|
|
15
|
+
|
|
16
|
+
declare class DateTimeAdapter {
|
|
17
|
+
value: Partial<NgbDateTimeStruct>;
|
|
18
|
+
fromModel(value: string | Date): Partial<NgbDateTimeStruct> | null;
|
|
19
|
+
toModel(value: Partial<NgbDateTimeStruct> | null): string;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimeAdapter, never>;
|
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DateTimeAdapter>;
|
|
22
|
+
}
|
|
23
|
+
type NgbDateTimeStruct = NgbDateStruct & NgbTimeStruct;
|
|
24
|
+
|
|
25
|
+
declare class DateAdapter extends NgbDateAdapter<string | Date> {
|
|
26
|
+
fromModel(value: string | Date): NgbDateStruct | null;
|
|
27
|
+
toModel(value: NgbDateStruct | null): string;
|
|
28
|
+
protected dateOf(value: string): Date;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateAdapter, never>;
|
|
30
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DateAdapter>;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
declare class TimeAdapter extends NgbTimeAdapter<string | Date> {
|
|
34
|
+
fromModel(value: string | Date): NgbTimeStruct | null;
|
|
35
|
+
toModel(value: NgbTimeStruct | null): string;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TimeAdapter, never>;
|
|
37
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TimeAdapter>;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
declare const bounceIn: _angular_animations.AnimationReferenceMetadata;
|
|
41
|
+
|
|
42
|
+
declare const collapseY: _angular_animations.AnimationReferenceMetadata;
|
|
43
|
+
declare const collapseYWithMargin: _angular_animations.AnimationReferenceMetadata;
|
|
44
|
+
declare const collapseX: _angular_animations.AnimationReferenceMetadata;
|
|
45
|
+
declare const expandY: _angular_animations.AnimationReferenceMetadata;
|
|
46
|
+
declare const expandYWithMargin: _angular_animations.AnimationReferenceMetadata;
|
|
47
|
+
declare const expandX: _angular_animations.AnimationReferenceMetadata;
|
|
48
|
+
declare const collapse: _angular_animations.AnimationTriggerMetadata;
|
|
49
|
+
declare const collapseWithMargin: _angular_animations.AnimationTriggerMetadata;
|
|
50
|
+
declare const collapseLinearWithMargin: _angular_animations.AnimationTriggerMetadata;
|
|
51
|
+
|
|
52
|
+
declare const fadeIn: _angular_animations.AnimationReferenceMetadata;
|
|
53
|
+
declare const fadeOut: _angular_animations.AnimationReferenceMetadata;
|
|
54
|
+
declare const fadeInDown: _angular_animations.AnimationReferenceMetadata;
|
|
55
|
+
declare const fadeInUp: _angular_animations.AnimationReferenceMetadata;
|
|
56
|
+
declare const fadeInLeft: _angular_animations.AnimationReferenceMetadata;
|
|
57
|
+
declare const fadeInRight: _angular_animations.AnimationReferenceMetadata;
|
|
58
|
+
declare const fadeOutDown: _angular_animations.AnimationReferenceMetadata;
|
|
59
|
+
declare const fadeOutUp: _angular_animations.AnimationReferenceMetadata;
|
|
60
|
+
declare const fadeOutLeft: _angular_animations.AnimationReferenceMetadata;
|
|
61
|
+
declare const fadeOutRight: _angular_animations.AnimationReferenceMetadata;
|
|
62
|
+
|
|
63
|
+
declare const fadeAnimation: _angular_animations.AnimationTriggerMetadata;
|
|
64
|
+
declare const dialogAnimation: _angular_animations.AnimationTriggerMetadata;
|
|
65
|
+
|
|
66
|
+
declare const slideFromBottom: _angular_animations.AnimationTriggerMetadata;
|
|
67
|
+
|
|
68
|
+
declare const toastInOut: _angular_animations.AnimationTriggerMetadata;
|
|
69
|
+
|
|
70
|
+
declare class BreadcrumbItemsComponent {
|
|
71
|
+
items: Partial<ABP.Route>[];
|
|
72
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbItemsComponent, never>;
|
|
73
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbItemsComponent, "abp-breadcrumb-items", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, never, true, never>;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
declare class BreadcrumbComponent implements OnInit {
|
|
77
|
+
readonly cdRef: ChangeDetectorRef;
|
|
78
|
+
private router;
|
|
79
|
+
private routes;
|
|
80
|
+
private subscription;
|
|
81
|
+
private routerEvents;
|
|
82
|
+
segments: Partial<ABP.Route>[];
|
|
83
|
+
constructor(cdRef: ChangeDetectorRef, router: Router, routes: RoutesService, subscription: SubscriptionService, routerEvents: RouterEvents);
|
|
84
|
+
ngOnInit(): void;
|
|
85
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbComponent, never>;
|
|
86
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbComponent, "abp-breadcrumb", never, {}, {}, never, never, true, never>;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
declare class ButtonComponent implements OnInit {
|
|
90
|
+
private renderer;
|
|
91
|
+
buttonId: string;
|
|
92
|
+
buttonClass: string;
|
|
93
|
+
buttonType: string;
|
|
94
|
+
formName?: string;
|
|
95
|
+
iconClass?: string;
|
|
96
|
+
loading: boolean;
|
|
97
|
+
disabled: boolean | undefined;
|
|
98
|
+
attributes?: ABP.Dictionary<string>;
|
|
99
|
+
readonly click: EventEmitter<MouseEvent>;
|
|
100
|
+
readonly focus: EventEmitter<FocusEvent>;
|
|
101
|
+
readonly blur: EventEmitter<FocusEvent>;
|
|
102
|
+
readonly abpClick: EventEmitter<MouseEvent>;
|
|
103
|
+
readonly abpFocus: EventEmitter<FocusEvent>;
|
|
104
|
+
readonly abpBlur: EventEmitter<FocusEvent>;
|
|
105
|
+
buttonRef: ElementRef<HTMLButtonElement>;
|
|
106
|
+
get icon(): string;
|
|
107
|
+
constructor(renderer: Renderer2);
|
|
108
|
+
ngOnInit(): void;
|
|
109
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
110
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "abp-button", never, { "buttonId": { "alias": "buttonId"; "required": false; }; "buttonClass": { "alias": "buttonClass"; "required": false; }; "buttonType": { "alias": "buttonType"; "required": false; }; "formName": { "alias": "formName"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "attributes": { "alias": "attributes"; "required": false; }; }, { "click": "click"; "focus": "focus"; "blur": "blur"; "abpClick": "abpClick"; "abpFocus": "abpFocus"; "abpBlur": "abpBlur"; }, never, ["*"], true, never>;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
declare namespace Confirmation {
|
|
114
|
+
interface Options {
|
|
115
|
+
id?: any;
|
|
116
|
+
dismissible?: boolean;
|
|
117
|
+
messageLocalizationParams?: string[];
|
|
118
|
+
titleLocalizationParams?: string[];
|
|
119
|
+
hideCancelBtn?: boolean;
|
|
120
|
+
hideYesBtn?: boolean;
|
|
121
|
+
cancelText?: LocalizationParam;
|
|
122
|
+
yesText?: LocalizationParam;
|
|
123
|
+
icon?: string;
|
|
124
|
+
iconTemplate?: string;
|
|
125
|
+
}
|
|
126
|
+
interface DialogData {
|
|
127
|
+
message: LocalizationParam;
|
|
128
|
+
title?: LocalizationParam;
|
|
129
|
+
severity?: Severity;
|
|
130
|
+
options?: Partial<Options>;
|
|
131
|
+
}
|
|
132
|
+
type Severity = 'neutral' | 'success' | 'info' | 'warning' | 'error';
|
|
133
|
+
enum Status {
|
|
134
|
+
confirm = "confirm",
|
|
135
|
+
reject = "reject",
|
|
136
|
+
dismiss = "dismiss"
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
interface ConfirmationIcons {
|
|
141
|
+
info: string;
|
|
142
|
+
success: string;
|
|
143
|
+
warning: string;
|
|
144
|
+
error: string;
|
|
145
|
+
default: string;
|
|
146
|
+
neutral: string;
|
|
147
|
+
}
|
|
148
|
+
declare const CONFIRMATION_ICONS: InjectionToken<Partial<ConfirmationIcons>>;
|
|
149
|
+
declare const DEFAULT_CONFIRMATION_ICONS: ConfirmationIcons;
|
|
150
|
+
|
|
151
|
+
declare class ConfirmationComponent {
|
|
152
|
+
private icons;
|
|
153
|
+
constructor(icons: ConfirmationIcons);
|
|
154
|
+
confirm: Confirmation.Status;
|
|
155
|
+
reject: Confirmation.Status;
|
|
156
|
+
dismiss: Confirmation.Status;
|
|
157
|
+
confirmation$: ReplaySubject<Confirmation.DialogData | null>;
|
|
158
|
+
clear: (status: Confirmation.Status) => void;
|
|
159
|
+
close(status: Confirmation.Status): void;
|
|
160
|
+
getIconClass({ severity, options }: Confirmation.DialogData): string;
|
|
161
|
+
isCustomIconExists({ options }: Confirmation.DialogData): boolean;
|
|
162
|
+
isIconTemplateExits({ options }: Confirmation.DialogData): boolean;
|
|
163
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationComponent, never>;
|
|
164
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmationComponent, "abp-confirmation", never, {}, {}, never, never, true, never>;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
interface RootParams {
|
|
168
|
+
httpErrorConfig?: HttpErrorConfig;
|
|
169
|
+
validation?: Partial<Validation.Config>;
|
|
170
|
+
confirmationIcons?: Partial<ConfirmationIcons>;
|
|
171
|
+
}
|
|
172
|
+
type ErrorScreenErrorCodes = 0 | 401 | 403 | 404 | 500;
|
|
173
|
+
interface HttpErrorConfig {
|
|
174
|
+
skipHandledErrorCodes?: ErrorScreenErrorCodes[] | number[];
|
|
175
|
+
errorScreen?: {
|
|
176
|
+
component: Type<any>;
|
|
177
|
+
forWhichErrors?: ErrorScreenErrorCodes[];
|
|
178
|
+
hideCloseIcon?: boolean;
|
|
179
|
+
};
|
|
180
|
+
}
|
|
181
|
+
type HttpErrorHandler<T = any> = (injector: Injector, httpError: HttpErrorResponse) => Observable<T>;
|
|
182
|
+
type LocaleDirection = 'ltr' | 'rtl';
|
|
183
|
+
interface CustomHttpErrorHandlerService {
|
|
184
|
+
readonly priority: number;
|
|
185
|
+
canHandle(error: unknown): boolean;
|
|
186
|
+
execute(): void;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
interface Badge {
|
|
190
|
+
count?: number | Observable<number>;
|
|
191
|
+
color?: string;
|
|
192
|
+
icon?: string;
|
|
193
|
+
}
|
|
194
|
+
declare class NavItem {
|
|
195
|
+
id?: string | number;
|
|
196
|
+
name?: string;
|
|
197
|
+
description?: string;
|
|
198
|
+
badge?: Badge;
|
|
199
|
+
component?: Type<any>;
|
|
200
|
+
html?: string;
|
|
201
|
+
action?: () => void;
|
|
202
|
+
order?: number;
|
|
203
|
+
requiredPolicy?: string;
|
|
204
|
+
visible?: NavBarPropPredicate<NavItem>;
|
|
205
|
+
icon?: string;
|
|
206
|
+
constructor(props: Partial<NavItem>);
|
|
207
|
+
}
|
|
208
|
+
type NavBarPropPredicate<T> = (prop?: T, injector?: Injector) => boolean | Promise<boolean> | Observable<boolean>;
|
|
209
|
+
|
|
210
|
+
declare namespace Statistics {
|
|
211
|
+
interface Response {
|
|
212
|
+
data: Data;
|
|
213
|
+
}
|
|
214
|
+
interface Data {
|
|
215
|
+
[key: string]: number;
|
|
216
|
+
}
|
|
217
|
+
interface Filter {
|
|
218
|
+
startDate: string | Date;
|
|
219
|
+
endDate: string | Date;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
declare namespace Toaster {
|
|
224
|
+
interface ToastOptions {
|
|
225
|
+
life?: number;
|
|
226
|
+
sticky?: boolean;
|
|
227
|
+
closable?: boolean;
|
|
228
|
+
tapToDismiss?: boolean;
|
|
229
|
+
messageLocalizationParams?: string[];
|
|
230
|
+
titleLocalizationParams?: string[];
|
|
231
|
+
id: any;
|
|
232
|
+
containerKey?: string;
|
|
233
|
+
iconClass?: string;
|
|
234
|
+
}
|
|
235
|
+
interface Toast {
|
|
236
|
+
message: LocalizationParam;
|
|
237
|
+
title?: LocalizationParam;
|
|
238
|
+
severity?: string;
|
|
239
|
+
options?: ToastOptions;
|
|
240
|
+
}
|
|
241
|
+
type Severity = 'neutral' | 'success' | 'info' | 'warning' | 'error';
|
|
242
|
+
type ToasterId = string | number;
|
|
243
|
+
interface Service {
|
|
244
|
+
show: (message: LocalizationParam, title: LocalizationParam, severity: Toaster.Severity, options: Partial<Toaster.ToastOptions>) => ToasterId;
|
|
245
|
+
remove: (id: number) => void;
|
|
246
|
+
clear: (containerKey?: string) => void;
|
|
247
|
+
info: (message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>) => ToasterId;
|
|
248
|
+
success: (message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>) => ToasterId;
|
|
249
|
+
warn: (message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>) => ToasterId;
|
|
250
|
+
error: (message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>) => ToasterId;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
declare class UserMenu extends NavItem {
|
|
255
|
+
textTemplate?: UserMenuTextTemplate;
|
|
256
|
+
}
|
|
257
|
+
interface UserMenuTextTemplate {
|
|
258
|
+
text: string;
|
|
259
|
+
icon?: string;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
type PasswordRule = 'small' | 'capital' | 'number' | 'special';
|
|
263
|
+
|
|
264
|
+
declare class HttpErrorWrapperComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
265
|
+
protected readonly destroyRef: DestroyRef;
|
|
266
|
+
protected readonly document: Document;
|
|
267
|
+
protected readonly window: Window & typeof globalThis;
|
|
268
|
+
protected readonly router: Router;
|
|
269
|
+
appRef: ApplicationRef;
|
|
270
|
+
environmentInjector: EnvironmentInjector;
|
|
271
|
+
status: ErrorScreenErrorCodes;
|
|
272
|
+
title: LocalizationParam;
|
|
273
|
+
details: LocalizationParam;
|
|
274
|
+
customComponent: Type<any> | undefined;
|
|
275
|
+
destroy$: Subject<void>;
|
|
276
|
+
hideCloseIcon: boolean;
|
|
277
|
+
backgroundColor: string;
|
|
278
|
+
isHomeShow: boolean;
|
|
279
|
+
containerRef?: ElementRef<HTMLDivElement>;
|
|
280
|
+
get statusText(): string;
|
|
281
|
+
ngOnInit(): void;
|
|
282
|
+
ngAfterViewInit(): void;
|
|
283
|
+
goHome(): void;
|
|
284
|
+
destroy(): void;
|
|
285
|
+
ngOnDestroy(): void;
|
|
286
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HttpErrorWrapperComponent, never>;
|
|
287
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HttpErrorWrapperComponent, "abp-http-error-wrapper", never, {}, {}, never, never, true, never>;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
declare class LoaderBarComponent implements OnDestroy, OnInit {
|
|
291
|
+
private router;
|
|
292
|
+
private cdRef;
|
|
293
|
+
private subscription;
|
|
294
|
+
private httpWaitService;
|
|
295
|
+
private routerWaitService;
|
|
296
|
+
protected _isLoading: boolean;
|
|
297
|
+
set isLoading(value: boolean);
|
|
298
|
+
get isLoading(): boolean;
|
|
299
|
+
containerClass: string;
|
|
300
|
+
color: string;
|
|
301
|
+
progressLevel: number;
|
|
302
|
+
interval: Subscription;
|
|
303
|
+
timer: Subscription;
|
|
304
|
+
intervalPeriod: number;
|
|
305
|
+
stopDelay: number;
|
|
306
|
+
private readonly clearProgress;
|
|
307
|
+
private readonly reportProgress;
|
|
308
|
+
get boxShadow(): string;
|
|
309
|
+
constructor(router: Router, cdRef: ChangeDetectorRef, subscription: SubscriptionService, httpWaitService: HttpWaitService, routerWaitService: RouterWaitService);
|
|
310
|
+
ngOnInit(): void;
|
|
311
|
+
subscribeLoading(): void;
|
|
312
|
+
ngOnDestroy(): void;
|
|
313
|
+
startLoading(): void;
|
|
314
|
+
stopLoading(): void;
|
|
315
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderBarComponent, never>;
|
|
316
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoaderBarComponent, "abp-loader-bar", never, { "isLoading": { "alias": "isLoading"; "required": false; }; "containerClass": { "alias": "containerClass"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
declare class LoadingComponent {
|
|
320
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingComponent, never>;
|
|
321
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoadingComponent, "abp-loading", never, {}, {}, never, never, true, never>;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
declare class ConfirmationService {
|
|
325
|
+
private contentProjectionService;
|
|
326
|
+
status$: Subject<Confirmation.Status>;
|
|
327
|
+
confirmation$: ReplaySubject<Confirmation.DialogData>;
|
|
328
|
+
private containerComponentRef;
|
|
329
|
+
clear: (status?: Confirmation.Status) => void;
|
|
330
|
+
constructor(contentProjectionService: ContentProjectionService);
|
|
331
|
+
private setContainer;
|
|
332
|
+
info(message: LocalizationParam, title: LocalizationParam, options?: Partial<Confirmation.Options>): Observable<Confirmation.Status>;
|
|
333
|
+
success(message: LocalizationParam, title: LocalizationParam, options?: Partial<Confirmation.Options>): Observable<Confirmation.Status>;
|
|
334
|
+
warn(message: LocalizationParam, title: LocalizationParam, options?: Partial<Confirmation.Options>): Observable<Confirmation.Status>;
|
|
335
|
+
error(message: LocalizationParam, title: LocalizationParam, options?: Partial<Confirmation.Options>): Observable<Confirmation.Status>;
|
|
336
|
+
show(message: LocalizationParam, title: LocalizationParam, severity?: Confirmation.Severity, options?: Partial<Confirmation.Options>): Observable<Confirmation.Status>;
|
|
337
|
+
private listenToEscape;
|
|
338
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationService, never>;
|
|
339
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfirmationService>;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
declare abstract class AbstractMenuService<T extends NavItem> {
|
|
343
|
+
protected abstract baseClass: Type<any>;
|
|
344
|
+
protected readonly sortFn: (a: SortableItem, b: SortableItem) => number;
|
|
345
|
+
protected _items$: BehaviorSubject<T[]>;
|
|
346
|
+
get items(): T[];
|
|
347
|
+
get items$(): Observable<T[]>;
|
|
348
|
+
constructor();
|
|
349
|
+
addItems(newItems: T[]): void;
|
|
350
|
+
removeItem(id: string | number): void;
|
|
351
|
+
patchItem(id: string | number, item: Partial<Omit<T, 'id'>>): void;
|
|
352
|
+
sortItems: (a: T, b: T) => number;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
declare class NavItemsService extends AbstractMenuService<NavItem> {
|
|
356
|
+
protected baseClass: typeof NavItem;
|
|
357
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavItemsService, never>;
|
|
358
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NavItemsService>;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
interface PageAlert {
|
|
362
|
+
type: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark';
|
|
363
|
+
message: string;
|
|
364
|
+
dismissible?: boolean;
|
|
365
|
+
title?: string;
|
|
366
|
+
messageLocalizationParams?: string[];
|
|
367
|
+
titleLocalizationParams?: string[];
|
|
368
|
+
}
|
|
369
|
+
declare class PageAlertService {
|
|
370
|
+
private alerts;
|
|
371
|
+
alerts$: rxjs.Observable<PageAlert[]>;
|
|
372
|
+
show(alert: PageAlert): void;
|
|
373
|
+
remove(index: number): void;
|
|
374
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageAlertService, never>;
|
|
375
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PageAlertService>;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
declare class ToasterService implements ToasterContract {
|
|
379
|
+
private toasts$;
|
|
380
|
+
private lastId;
|
|
381
|
+
private toasts;
|
|
382
|
+
private containerComponentRef;
|
|
383
|
+
private contentProjectionService;
|
|
384
|
+
private setContainer;
|
|
385
|
+
constructor();
|
|
386
|
+
/**
|
|
387
|
+
* Creates an info toast with given parameters.
|
|
388
|
+
* @param message Content of the toast
|
|
389
|
+
* @param title Title of the toast
|
|
390
|
+
* @param options Spesific style or structural options for individual toast
|
|
391
|
+
*/
|
|
392
|
+
info(message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
|
|
393
|
+
/**
|
|
394
|
+
* Creates a success toast with given parameters.
|
|
395
|
+
* @param message Content of the toast
|
|
396
|
+
* @param title Title of the toast
|
|
397
|
+
* @param options Spesific style or structural options for individual toast
|
|
398
|
+
*/
|
|
399
|
+
success(message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
|
|
400
|
+
/**
|
|
401
|
+
* Creates a warning toast with given parameters.
|
|
402
|
+
* @param message Content of the toast
|
|
403
|
+
* @param title Title of the toast
|
|
404
|
+
* @param options Spesific style or structural options for individual toast
|
|
405
|
+
*/
|
|
406
|
+
warn(message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
|
|
407
|
+
/**
|
|
408
|
+
* Creates an error toast with given parameters.
|
|
409
|
+
* @param message Content of the toast
|
|
410
|
+
* @param title Title of the toast
|
|
411
|
+
* @param options Spesific style or structural options for individual toast
|
|
412
|
+
*/
|
|
413
|
+
error(message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
|
|
414
|
+
/**
|
|
415
|
+
* Creates a toast with given parameters.
|
|
416
|
+
* @param message Content of the toast
|
|
417
|
+
* @param title Title of the toast
|
|
418
|
+
* @param severity Sets color of the toast. "success", "warning" etc.
|
|
419
|
+
* @param options Spesific style or structural options for individual toast
|
|
420
|
+
*/
|
|
421
|
+
show(message: LocalizationParam, title?: LocalizationParam | undefined, severity?: Toaster.Severity, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
|
|
422
|
+
/**
|
|
423
|
+
* Removes the toast with given id.
|
|
424
|
+
* @param id ID of the toast to be removed.
|
|
425
|
+
*/
|
|
426
|
+
remove: (id: number) => void;
|
|
427
|
+
/**
|
|
428
|
+
* Removes all open toasts at once.
|
|
429
|
+
*/
|
|
430
|
+
clear(containerKey?: string): void;
|
|
431
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToasterService, never>;
|
|
432
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ToasterService>;
|
|
433
|
+
}
|
|
434
|
+
type ToasterContract = Strict<ToasterService, Toaster.Service>;
|
|
435
|
+
|
|
436
|
+
declare class UserMenuService extends AbstractMenuService<UserMenu> {
|
|
437
|
+
protected baseClass: typeof UserMenu;
|
|
438
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserMenuService, never>;
|
|
439
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UserMenuService>;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
declare class CreateErrorComponentService {
|
|
443
|
+
protected readonly document: Document;
|
|
444
|
+
protected readonly rendererFactory: RendererFactory2;
|
|
445
|
+
protected readonly routerEvents: RouterEvents;
|
|
446
|
+
protected readonly injector: Injector;
|
|
447
|
+
protected readonly envInjector: EnvironmentInjector;
|
|
448
|
+
protected readonly httpErrorConfig: HttpErrorConfig;
|
|
449
|
+
componentRef: ComponentRef<HttpErrorWrapperComponent> | null;
|
|
450
|
+
constructor();
|
|
451
|
+
protected listenToRouterDataResolved(): void;
|
|
452
|
+
protected getErrorHostElement(): HTMLElement;
|
|
453
|
+
protected isCloseIconHidden(): boolean;
|
|
454
|
+
canCreateCustomError(status: ErrorScreenErrorCodes): boolean;
|
|
455
|
+
execute(instance: Partial<HttpErrorWrapperComponent>): void;
|
|
456
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CreateErrorComponentService, never>;
|
|
457
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CreateErrorComponentService>;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
declare class AbpFormatErrorHandlerService implements CustomHttpErrorHandlerService {
|
|
461
|
+
readonly priority: 9;
|
|
462
|
+
private confirmationService;
|
|
463
|
+
private authService;
|
|
464
|
+
private error;
|
|
465
|
+
private navigateToLogin;
|
|
466
|
+
canHandle(error: unknown): boolean;
|
|
467
|
+
execute(): void;
|
|
468
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbpFormatErrorHandlerService, never>;
|
|
469
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AbpFormatErrorHandlerService>;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
declare class TenantResolveErrorHandlerService implements CustomHttpErrorHandlerService {
|
|
473
|
+
protected readonly sessionService: SessionStateService;
|
|
474
|
+
readonly priority: 9;
|
|
475
|
+
private authService;
|
|
476
|
+
private isTenantResolveError;
|
|
477
|
+
canHandle(error: unknown): boolean;
|
|
478
|
+
execute(): void;
|
|
479
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TenantResolveErrorHandlerService, never>;
|
|
480
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TenantResolveErrorHandlerService>;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
declare class StatusCodeErrorHandlerService implements CustomHttpErrorHandlerService {
|
|
484
|
+
protected readonly confirmationService: ConfirmationService;
|
|
485
|
+
protected readonly createErrorComponentService: CreateErrorComponentService;
|
|
486
|
+
protected readonly authService: AuthService;
|
|
487
|
+
protected readonly handledStatusCodes: readonly [401, 403, 404, 500];
|
|
488
|
+
protected status: (typeof this.handledStatusCodes)[number];
|
|
489
|
+
readonly priority: 0;
|
|
490
|
+
protected navigateToLogin(): void;
|
|
491
|
+
protected showConfirmation(message: LocalizationParam, title: LocalizationParam): Observable<Confirmation.Status>;
|
|
492
|
+
protected showPage(): void;
|
|
493
|
+
canHandle(error: any): boolean;
|
|
494
|
+
execute(): void;
|
|
495
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StatusCodeErrorHandlerService, never>;
|
|
496
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<StatusCodeErrorHandlerService>;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
declare class UnknownStatusCodeErrorHandlerService implements CustomHttpErrorHandlerService {
|
|
500
|
+
readonly priority: 0;
|
|
501
|
+
private statusText;
|
|
502
|
+
private message;
|
|
503
|
+
private createErrorComponentService;
|
|
504
|
+
canHandle(error: {
|
|
505
|
+
status: number;
|
|
506
|
+
statusText: string;
|
|
507
|
+
message: string;
|
|
508
|
+
} | undefined): boolean;
|
|
509
|
+
execute(): void;
|
|
510
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UnknownStatusCodeErrorHandlerService, never>;
|
|
511
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UnknownStatusCodeErrorHandlerService>;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
declare class RouterErrorHandlerService {
|
|
515
|
+
protected readonly routerEvents: RouterEvents;
|
|
516
|
+
protected readonly httpErrorConfig: HttpErrorConfig;
|
|
517
|
+
protected readonly createErrorComponentService: CreateErrorComponentService;
|
|
518
|
+
protected filterRouteErrors: (navigationError: NavigationError) => boolean;
|
|
519
|
+
listen(): void;
|
|
520
|
+
show404Page(): void;
|
|
521
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RouterErrorHandlerService, never>;
|
|
522
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RouterErrorHandlerService>;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
declare class AbpAuthenticationErrorHandler implements CustomHttpErrorHandlerService {
|
|
526
|
+
readonly priority: 99;
|
|
527
|
+
protected readonly authService: AuthService;
|
|
528
|
+
protected readonly configStateService: ConfigStateService;
|
|
529
|
+
canHandle(error: unknown): boolean;
|
|
530
|
+
execute(): void;
|
|
531
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbpAuthenticationErrorHandler, never>;
|
|
532
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AbpAuthenticationErrorHandler>;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
type ModalDismissMode = 'hard' | 'soft';
|
|
536
|
+
interface DismissableModal {
|
|
537
|
+
dismiss(mode: ModalDismissMode): void;
|
|
538
|
+
}
|
|
539
|
+
declare class ModalRefService {
|
|
540
|
+
modalRefs: DismissableModal[];
|
|
541
|
+
register(modal: DismissableModal): void;
|
|
542
|
+
unregister(modal: DismissableModal): void;
|
|
543
|
+
dismissAll(mode: ModalDismissMode): void;
|
|
544
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalRefService, never>;
|
|
545
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ModalRefService>;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
type ModalSize = 'sm' | 'md' | 'lg' | 'xl';
|
|
549
|
+
declare class ModalComponent implements OnInit, OnDestroy, DismissableModal {
|
|
550
|
+
protected readonly confirmationService: ConfirmationService;
|
|
551
|
+
protected readonly modal: NgbModal;
|
|
552
|
+
protected readonly modalRefService: ModalRefService;
|
|
553
|
+
protected readonly suppressUnsavedChangesWarningToken: boolean;
|
|
554
|
+
protected readonly destroyRef: DestroyRef;
|
|
555
|
+
visible: i0.ModelSignal<boolean>;
|
|
556
|
+
busy: i0.InputSignalWithTransform<boolean, boolean>;
|
|
557
|
+
options: i0.InputSignal<NgbModalOptions>;
|
|
558
|
+
suppressUnsavedChangesWarning: i0.InputSignal<boolean>;
|
|
559
|
+
modalContent: i0.Signal<TemplateRef<any>>;
|
|
560
|
+
abpHeader: i0.Signal<TemplateRef<any>>;
|
|
561
|
+
abpBody: i0.Signal<TemplateRef<any>>;
|
|
562
|
+
abpFooter: i0.Signal<TemplateRef<any>>;
|
|
563
|
+
abpSubmit: i0.Signal<ButtonComponent>;
|
|
564
|
+
readonly init: i0.OutputEmitterRef<void>;
|
|
565
|
+
readonly appear: i0.OutputEmitterRef<void>;
|
|
566
|
+
readonly disappear: i0.OutputEmitterRef<void>;
|
|
567
|
+
modalRef: NgbModalRef;
|
|
568
|
+
isConfirmationOpen: boolean;
|
|
569
|
+
modalIdentifier: string;
|
|
570
|
+
get modalWindowRef(): Element;
|
|
571
|
+
get isFormDirty(): boolean;
|
|
572
|
+
constructor();
|
|
573
|
+
ngOnInit(): void;
|
|
574
|
+
dismiss(mode: ModalDismissMode): void;
|
|
575
|
+
protected toggle(value: boolean): void;
|
|
576
|
+
ngOnDestroy(): void;
|
|
577
|
+
close(): void;
|
|
578
|
+
listen(): void;
|
|
579
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, never>;
|
|
580
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "abp-modal", never, { "visible": { "alias": "visible"; "required": false; "isSignal": true; }; "busy": { "alias": "busy"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "suppressUnsavedChangesWarning": { "alias": "suppressUnsavedChangesWarning"; "required": false; "isSignal": true; }; }, { "visible": "visibleChange"; "init": "init"; "appear": "appear"; "disappear": "disappear"; }, ["abpHeader", "abpBody", "abpFooter", "abpSubmit"], ["*"], true, never>;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
declare class ModalCloseDirective {
|
|
584
|
+
private modal;
|
|
585
|
+
constructor(modal: ModalComponent);
|
|
586
|
+
onClick(): void;
|
|
587
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalCloseDirective, [{ optional: true; }]>;
|
|
588
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ModalCloseDirective, "[abpClose]", never, {}, {}, never, never, true, never>;
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
declare class ToastContainerComponent implements OnInit {
|
|
592
|
+
toasts$: ReplaySubject<Toaster.Toast[]>;
|
|
593
|
+
remove: (toastId: number) => void;
|
|
594
|
+
toasts: Toaster.Toast[];
|
|
595
|
+
top?: string;
|
|
596
|
+
right: string;
|
|
597
|
+
defaultRight: string;
|
|
598
|
+
defaultMobileRight: string;
|
|
599
|
+
bottom: string;
|
|
600
|
+
left?: string;
|
|
601
|
+
toastKey?: string;
|
|
602
|
+
ngOnInit(): void;
|
|
603
|
+
onWindowResize(): void;
|
|
604
|
+
setDefaultRight(): void;
|
|
605
|
+
trackByFunc(index: number, toast: Toaster.Toast): any;
|
|
606
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToastContainerComponent, never>;
|
|
607
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToastContainerComponent, "abp-toast-container", never, { "top": { "alias": "top"; "required": false; }; "right": { "alias": "right"; "required": false; }; "bottom": { "alias": "bottom"; "required": false; }; "left": { "alias": "left"; "required": false; }; "toastKey": { "alias": "toastKey"; "required": false; }; }, {}, never, never, true, never>;
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
declare class ToastComponent implements OnInit {
|
|
611
|
+
toast: Toaster.Toast;
|
|
612
|
+
remove: EventEmitter<number>;
|
|
613
|
+
get severityClass(): string;
|
|
614
|
+
get iconClass(): string;
|
|
615
|
+
ngOnInit(): void;
|
|
616
|
+
close(): void;
|
|
617
|
+
tap(): void;
|
|
618
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToastComponent, never>;
|
|
619
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToastComponent, "abp-toast", never, { "toast": { "alias": "toast"; "required": false; }; }, { "remove": "remove"; }, never, never, true, never>;
|
|
620
|
+
}
|
|
621
|
+
|
|
1
622
|
/**
|
|
2
|
-
*
|
|
623
|
+
* @deprecated use ShowPasswordDirective directive
|
|
624
|
+
* https://abp.io/docs/latest/framework/ui/angular/show-password-directive
|
|
3
625
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
626
|
+
declare class PasswordComponent extends AbstractNgModelComponent {
|
|
627
|
+
inputId: string;
|
|
628
|
+
formControlName: string;
|
|
629
|
+
fieldTextType?: boolean;
|
|
630
|
+
toggleFieldTextType(): void;
|
|
631
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PasswordComponent, never>;
|
|
632
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PasswordComponent, "abp-password", never, { "inputId": { "alias": "inputId"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; }, {}, never, never, true, never>;
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
declare class CardBodyComponent {
|
|
636
|
+
componentClass: string;
|
|
637
|
+
cardBodyClass: string;
|
|
638
|
+
cardBodyStyle: string;
|
|
639
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CardBodyComponent, never>;
|
|
640
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardBodyComponent, "abp-card-body", never, { "cardBodyClass": { "alias": "cardBodyClass"; "required": false; }; "cardBodyStyle": { "alias": "cardBodyStyle"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
declare class CardComponent {
|
|
644
|
+
cardClass: string;
|
|
645
|
+
cardStyle: string;
|
|
646
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, never>;
|
|
647
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "abp-card", never, { "cardClass": { "alias": "cardClass"; "required": false; }; "cardStyle": { "alias": "cardStyle"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
declare class CardHeaderComponent {
|
|
651
|
+
componentClass: string;
|
|
652
|
+
cardHeaderClass: string;
|
|
653
|
+
cardHeaderStyle: string;
|
|
654
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CardHeaderComponent, never>;
|
|
655
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardHeaderComponent, "abp-card-header", never, { "cardHeaderClass": { "alias": "cardHeaderClass"; "required": false; }; "cardHeaderStyle": { "alias": "cardHeaderStyle"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
declare class CardFooterComponent {
|
|
659
|
+
componentClass: string;
|
|
660
|
+
cardFooterStyle: string;
|
|
661
|
+
cardFooterClass: string;
|
|
662
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CardFooterComponent, never>;
|
|
663
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardFooterComponent, "abp-card-footer", never, { "cardFooterStyle": { "alias": "cardFooterStyle"; "required": false; }; "cardFooterClass": { "alias": "cardFooterClass"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
declare class CardTitleDirective {
|
|
667
|
+
directiveClass: string;
|
|
668
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CardTitleDirective, never>;
|
|
669
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CardTitleDirective, "abp-card-title, [abp-card-title], [abpCardTitle]", never, {}, {}, never, never, true, never>;
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
declare class CardSubtitleDirective {
|
|
673
|
+
directiveClass: string;
|
|
674
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CardSubtitleDirective, never>;
|
|
675
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CardSubtitleDirective, "abp-card-subtitle, [abp-card-subtitle], [abpCardSubtitle]", never, {}, {}, never, never, true, never>;
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
declare class CardImgTopDirective {
|
|
679
|
+
directiveClass: string;
|
|
680
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CardImgTopDirective, never>;
|
|
681
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CardImgTopDirective, "abp-card-img-top, [abp-card-img-top], [abpCardImgTop]", never, {}, {}, never, never, true, never>;
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
declare class CardHeaderDirective {
|
|
685
|
+
directiveClass: string;
|
|
686
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CardHeaderDirective, never>;
|
|
687
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CardHeaderDirective, "abp-card-header, [abp-card-header], [abpCardHeader]", never, {}, {}, never, never, true, never>;
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
declare const CARD_DIRECTIVES: (typeof CardTitleDirective)[];
|
|
691
|
+
declare const CARD_COMPONENTS: (typeof CardBodyComponent | typeof CardComponent | typeof CardHeaderComponent | typeof CardFooterComponent)[];
|
|
692
|
+
declare class CardModule {
|
|
693
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CardModule, never>;
|
|
694
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CardModule, never, [typeof CardComponent, typeof CardBodyComponent, typeof CardHeaderComponent, typeof CardFooterComponent, typeof CardTitleDirective, typeof CardSubtitleDirective, typeof CardImgTopDirective, typeof CardHeaderDirective], [typeof CardComponent, typeof CardBodyComponent, typeof CardHeaderComponent, typeof CardFooterComponent, typeof CardTitleDirective, typeof CardSubtitleDirective, typeof CardImgTopDirective, typeof CardHeaderDirective]>;
|
|
695
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CardModule>;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
declare class FormCheckboxComponent extends AbstractNgModelComponent {
|
|
699
|
+
label?: string;
|
|
700
|
+
labelClass: string;
|
|
701
|
+
checkboxId: string;
|
|
702
|
+
checkboxStyle: {
|
|
703
|
+
[klass: string]: any;
|
|
704
|
+
} | null | undefined;
|
|
705
|
+
checkboxClass: string;
|
|
706
|
+
checkboxReadonly: boolean;
|
|
707
|
+
checkboxBlur: EventEmitter<void>;
|
|
708
|
+
checkboxFocus: EventEmitter<void>;
|
|
709
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormCheckboxComponent, never>;
|
|
710
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormCheckboxComponent, "abp-checkbox", never, { "label": { "alias": "label"; "required": false; }; "labelClass": { "alias": "labelClass"; "required": false; }; "checkboxId": { "alias": "checkboxId"; "required": false; }; "checkboxStyle": { "alias": "checkboxStyle"; "required": false; }; "checkboxClass": { "alias": "checkboxClass"; "required": false; }; "checkboxReadonly": { "alias": "checkboxReadonly"; "required": false; }; }, { "checkboxBlur": "checkboxBlur"; "checkboxFocus": "checkboxFocus"; }, never, never, true, never>;
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
declare class FormInputComponent extends AbstractNgModelComponent {
|
|
714
|
+
inputId: string;
|
|
715
|
+
inputReadonly: boolean;
|
|
716
|
+
label: string;
|
|
717
|
+
labelClass: string;
|
|
718
|
+
inputPlaceholder: string;
|
|
719
|
+
inputStyle: {
|
|
720
|
+
[klass: string]: any;
|
|
721
|
+
} | null | undefined;
|
|
722
|
+
inputClass: string;
|
|
723
|
+
formBlur: EventEmitter<void>;
|
|
724
|
+
formFocus: EventEmitter<void>;
|
|
725
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormInputComponent, never>;
|
|
726
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormInputComponent, "abp-form-input", never, { "inputId": { "alias": "inputId"; "required": false; }; "inputReadonly": { "alias": "inputReadonly"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelClass": { "alias": "labelClass"; "required": false; }; "inputPlaceholder": { "alias": "inputPlaceholder"; "required": false; }; "inputStyle": { "alias": "inputStyle"; "required": false; }; "inputClass": { "alias": "inputClass"; "required": false; }; }, { "formBlur": "formBlur"; "formFocus": "formFocus"; }, never, never, true, never>;
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
declare class InternetConnectionStatusComponent {
|
|
730
|
+
internetConnectionService: InternetConnectionService;
|
|
731
|
+
isOnline: i0.Signal<boolean>;
|
|
732
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InternetConnectionStatusComponent, never>;
|
|
733
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InternetConnectionStatusComponent, "abp-internet-status", never, {}, {}, never, never, true, never>;
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
declare class SpinnerComponent {
|
|
737
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpinnerComponent, never>;
|
|
738
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpinnerComponent, "abp-spinner", never, {}, {}, never, never, true, never>;
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
declare class EllipsisDirective implements AfterViewInit {
|
|
742
|
+
private cdRef;
|
|
743
|
+
private elRef;
|
|
744
|
+
width?: string;
|
|
745
|
+
title?: string;
|
|
746
|
+
enabled: boolean;
|
|
747
|
+
get inlineClass(): string;
|
|
748
|
+
get class(): boolean;
|
|
749
|
+
get maxWidth(): string;
|
|
750
|
+
constructor(cdRef: ChangeDetectorRef, elRef: ElementRef);
|
|
751
|
+
ngAfterViewInit(): void;
|
|
752
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EllipsisDirective, never>;
|
|
753
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EllipsisDirective, "[abpEllipsis]", never, { "width": { "alias": "abpEllipsis"; "required": false; }; "title": { "alias": "title"; "required": false; }; "enabled": { "alias": "abpEllipsisEnabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
declare class LoadingDirective implements OnInit, OnDestroy {
|
|
757
|
+
private elRef;
|
|
758
|
+
private vcRef;
|
|
759
|
+
private cdRes;
|
|
760
|
+
private injector;
|
|
761
|
+
private renderer;
|
|
762
|
+
private _loading;
|
|
763
|
+
position: string;
|
|
764
|
+
get loading(): boolean;
|
|
765
|
+
set loading(newValue: boolean);
|
|
766
|
+
targetElement: HTMLElement | undefined;
|
|
767
|
+
delay: number;
|
|
768
|
+
componentRef: ComponentRef<LoadingComponent>;
|
|
769
|
+
rootNode: HTMLDivElement | null;
|
|
770
|
+
timerSubscription: Subscription | null;
|
|
771
|
+
constructor(elRef: ElementRef<HTMLElement>, vcRef: ViewContainerRef, cdRes: ComponentFactoryResolver, injector: Injector, renderer: Renderer2);
|
|
772
|
+
ngOnInit(): void;
|
|
773
|
+
ngOnDestroy(): void;
|
|
774
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingDirective, never>;
|
|
775
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LoadingDirective, "[abpLoading]", never, { "loading": { "alias": "abpLoading"; "required": false; }; "targetElement": { "alias": "abpLoadingTargetElement"; "required": false; }; "delay": { "alias": "abpLoadingDelay"; "required": false; }; }, {}, never, never, true, never>;
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
declare class NgxDatatableDefaultDirective implements AfterViewInit, OnDestroy {
|
|
779
|
+
private table;
|
|
780
|
+
private document;
|
|
781
|
+
private subscription;
|
|
782
|
+
private resizeDiff;
|
|
783
|
+
class: string;
|
|
784
|
+
get classes(): string;
|
|
785
|
+
constructor(table: DatatableComponent, document: MockDocument);
|
|
786
|
+
private fixHorizontalGap;
|
|
787
|
+
private fixStyleOnWindowResize;
|
|
788
|
+
ngAfterViewInit(): void;
|
|
789
|
+
ngOnDestroy(): void;
|
|
790
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgxDatatableDefaultDirective, never>;
|
|
791
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgxDatatableDefaultDirective, "ngx-datatable[default]", ["ngxDatatableDefault"], { "class": { "alias": "class"; "required": false; }; }, {}, never, never, true, never>;
|
|
792
|
+
}
|
|
793
|
+
interface MockDocument {
|
|
794
|
+
body: MockBody;
|
|
795
|
+
documentElement: MockDocumentElement;
|
|
796
|
+
}
|
|
797
|
+
interface MockBody {
|
|
798
|
+
offsetWidth: number;
|
|
799
|
+
}
|
|
800
|
+
interface MockDocumentElement {
|
|
801
|
+
clientHeight: number;
|
|
802
|
+
scrollHeight: number;
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
interface NgxDatatableMessages {
|
|
806
|
+
emptyMessage: string;
|
|
807
|
+
errorMessage: string;
|
|
808
|
+
totalMessage: string;
|
|
809
|
+
selectedMessage: string;
|
|
810
|
+
}
|
|
811
|
+
declare const defaultNgxDatatableMessages: {
|
|
812
|
+
emptyMessage: string;
|
|
813
|
+
errorMessage: string;
|
|
814
|
+
totalMessage: string;
|
|
815
|
+
selectedMessage: string;
|
|
816
|
+
};
|
|
817
|
+
declare const NGX_DATATABLE_MESSAGES: InjectionToken<Partial<NgxDatatableMessages>>;
|
|
818
|
+
|
|
819
|
+
declare class NgxDatatableListDirective implements OnChanges, OnInit, DoCheck {
|
|
820
|
+
protected readonly table: DatatableComponent<any>;
|
|
821
|
+
protected readonly cdRef: ChangeDetectorRef;
|
|
822
|
+
protected readonly destroyRef: DestroyRef;
|
|
823
|
+
protected readonly localizationService: LocalizationService;
|
|
824
|
+
protected readonly ngxDatatableMessages: Partial<NgxDatatableMessages>;
|
|
825
|
+
protected readonly viewContainerRef: ViewContainerRef;
|
|
826
|
+
protected readonly renderer: Renderer2;
|
|
827
|
+
list: ListService;
|
|
828
|
+
constructor();
|
|
829
|
+
ngDoCheck(): void;
|
|
830
|
+
ngOnInit(): void;
|
|
831
|
+
ngOnChanges({ list }: SimpleChanges): void;
|
|
832
|
+
protected subscribeToRequestStatus(): void;
|
|
833
|
+
protected updateLoadingIndicator(): void;
|
|
834
|
+
protected replaceLoadingIndicator(parent: Element, placeholder: Element): void;
|
|
835
|
+
protected setInitialValues(): void;
|
|
836
|
+
protected subscribeToSort(): void;
|
|
837
|
+
protected subscribeToPage(): void;
|
|
838
|
+
protected subscribeToQuery(): void;
|
|
839
|
+
protected setTablePage(pageNum: number): void;
|
|
840
|
+
protected refreshPageIfDataExist(): void;
|
|
841
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgxDatatableListDirective, never>;
|
|
842
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgxDatatableListDirective, "ngx-datatable[list]", ["ngxDatatableList"], { "list": { "alias": "list"; "required": false; }; }, {}, never, never, true, never>;
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
declare class AbpVisibleDirective implements OnDestroy, OnInit {
|
|
846
|
+
private viewContainerRef;
|
|
847
|
+
private templateRef;
|
|
848
|
+
conditionSubscription: Subscription | undefined;
|
|
849
|
+
isVisible: boolean | undefined;
|
|
850
|
+
set abpVisible(value: boolean | Promise<boolean> | Observable<boolean> | undefined | null);
|
|
851
|
+
private condition$;
|
|
852
|
+
constructor(viewContainerRef: ViewContainerRef, templateRef: TemplateRef<unknown>);
|
|
853
|
+
ngOnInit(): void;
|
|
854
|
+
ngOnDestroy(): void;
|
|
855
|
+
private subscribeToCondition;
|
|
856
|
+
private updateVisibility;
|
|
857
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbpVisibleDirective, never>;
|
|
858
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AbpVisibleDirective, "[abpVisible]", never, { "abpVisible": { "alias": "abpVisible"; "required": false; }; }, {}, never, never, true, never>;
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
declare class DisabledDirective implements OnChanges {
|
|
862
|
+
private ngControl;
|
|
863
|
+
abpDisabled: boolean;
|
|
864
|
+
constructor(ngControl: NgControl);
|
|
865
|
+
ngOnChanges({ abpDisabled }: SimpleChanges): void;
|
|
866
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DisabledDirective, [{ host: true; }]>;
|
|
867
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DisabledDirective, "[abpDisabled]", never, { "abpDisabled": { "alias": "abpDisabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
declare enum eFormComponets {
|
|
871
|
+
FormInputComponent = "FormInputComponent",
|
|
872
|
+
FormCheckboxComponent = "FormCheckboxComponent"
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
declare const enum eThemeSharedRouteNames {
|
|
876
|
+
Administration = "AbpUiNavigation::Menu:Administration"
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
declare class DocumentDirHandlerService {
|
|
880
|
+
protected injector: Injector;
|
|
881
|
+
private dir;
|
|
882
|
+
dir$: rxjs.Observable<LocaleDirection>;
|
|
883
|
+
constructor(injector: Injector);
|
|
884
|
+
private listenToLanguageChanges;
|
|
885
|
+
private setBodyDir;
|
|
886
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentDirHandlerService, never>;
|
|
887
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DocumentDirHandlerService>;
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
declare class ErrorHandler {
|
|
891
|
+
protected injector: Injector;
|
|
892
|
+
protected readonly httpErrorReporter: HttpErrorReporterService;
|
|
893
|
+
protected readonly confirmationService: ConfirmationService;
|
|
894
|
+
protected readonly routerErrorHandlerService: RouterErrorHandlerService;
|
|
895
|
+
protected readonly httpErrorConfig: HttpErrorConfig;
|
|
896
|
+
protected readonly customErrorHandlers: CustomHttpErrorHandlerService[];
|
|
897
|
+
protected readonly httpErrorHandler: HttpErrorHandler;
|
|
898
|
+
constructor(injector: Injector);
|
|
899
|
+
protected listenToRouterError(): void;
|
|
900
|
+
protected listenToRestError(): void;
|
|
901
|
+
protected executeErrorHandler: (error: HttpErrorResponse) => Observable<any>;
|
|
902
|
+
protected sortHttpErrorHandlers(a: CustomHttpErrorHandlerService, b: CustomHttpErrorHandlerService): number;
|
|
903
|
+
protected handleError(err: unknown): void;
|
|
904
|
+
protected showError(): Observable<Confirmation.Status>;
|
|
905
|
+
protected filterRestErrors: ({ status }: HttpErrorResponse) => boolean;
|
|
906
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorHandler, never>;
|
|
907
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ErrorHandler>;
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
declare const NG_BOOTSTRAP_CONFIG_PROVIDERS: i0.EnvironmentProviders[];
|
|
911
|
+
declare function configureNgBootstrap(): void;
|
|
912
|
+
|
|
913
|
+
declare const THEME_SHARED_ROUTE_PROVIDERS: i0.EnvironmentProviders[];
|
|
914
|
+
declare function configureRoutes(): void;
|
|
915
|
+
|
|
916
|
+
declare const tenantNotFoundProvider: Provider;
|
|
917
|
+
|
|
918
|
+
declare const DEFAULT_HANDLERS_PROVIDERS: Provider[];
|
|
919
|
+
|
|
920
|
+
declare const THEME_SHARED_APPEND_CONTENT: InjectionToken<void>;
|
|
921
|
+
|
|
922
|
+
declare const HTTP_ERROR_CONFIG: InjectionToken<HttpErrorConfig>;
|
|
923
|
+
/**
|
|
924
|
+
@deprecated use **`CUSTOM_ERROR_HANDLERS`** injection token instead of this, see more info https://abp.io/docs/latest/framework/ui/angular/http-requests
|
|
925
|
+
*/
|
|
926
|
+
declare const HTTP_ERROR_HANDLER: InjectionToken<HttpErrorHandler>;
|
|
927
|
+
declare const CUSTOM_ERROR_HANDLERS: InjectionToken<CustomHttpErrorHandlerService[]>;
|
|
928
|
+
|
|
929
|
+
declare const SUPPRESS_UNSAVED_CHANGES_WARNING: InjectionToken<boolean>;
|
|
930
|
+
|
|
931
|
+
declare enum ThemeSharedFeatureKind {
|
|
932
|
+
HttpErrorConfig = 0,
|
|
933
|
+
ValidationBluePrint = 1,
|
|
934
|
+
ValidationErrorsFn = 2,
|
|
935
|
+
ValidateOnSubmit = 3,
|
|
936
|
+
Validation = 4,
|
|
937
|
+
ConfirmationIcons = 5
|
|
938
|
+
}
|
|
939
|
+
interface ThemeSharedFeature<KindT extends ThemeSharedFeatureKind> {
|
|
940
|
+
ɵkind: KindT;
|
|
941
|
+
ɵproviders: Provider[];
|
|
942
|
+
}
|
|
943
|
+
declare function withHttpErrorConfig(httpErrorConfig: HttpErrorConfig): ThemeSharedFeature<ThemeSharedFeatureKind.HttpErrorConfig>;
|
|
944
|
+
declare function withValidationBluePrint(bluePrints: Validation.Blueprints): ThemeSharedFeature<ThemeSharedFeatureKind.ValidationBluePrint>;
|
|
945
|
+
declare function withValidationMapErrorsFn(mapErrorsFn: Validation.MapErrorsFn): ThemeSharedFeature<ThemeSharedFeatureKind.ValidationErrorsFn>;
|
|
946
|
+
declare function withValidateOnSubmit(validateOnSubmit: boolean): ThemeSharedFeature<ThemeSharedFeatureKind.ValidateOnSubmit>;
|
|
947
|
+
declare function withConfirmationIcon(confirmationIcons: Partial<ConfirmationIcons>): ThemeSharedFeature<ThemeSharedFeatureKind.HttpErrorConfig>;
|
|
948
|
+
declare function provideAbpThemeShared(...features: ThemeSharedFeature<ThemeSharedFeatureKind>[]): i0.EnvironmentProviders;
|
|
949
|
+
|
|
950
|
+
declare const THEME_SHARED_EXPORTS: (typeof BreadcrumbComponent | typeof ButtonComponent | typeof ConfirmationComponent | typeof LoaderBarComponent | typeof LoadingComponent | typeof ModalCloseDirective | typeof LoadingDirective | typeof NgxDatatableDefaultDirective | typeof AbpVisibleDirective | typeof DisabledDirective)[];
|
|
951
|
+
declare class BaseThemeSharedModule {
|
|
952
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseThemeSharedModule, never>;
|
|
953
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BaseThemeSharedModule, never, [typeof BreadcrumbComponent, typeof BreadcrumbItemsComponent, typeof ButtonComponent, typeof ConfirmationComponent, typeof LoaderBarComponent, typeof LoadingComponent, typeof ModalComponent, typeof ToastComponent, typeof ToastContainerComponent, typeof LoadingDirective, typeof ModalCloseDirective, typeof FormInputComponent, typeof FormCheckboxComponent, typeof HttpErrorWrapperComponent, typeof i15.NgxDatatableModule, typeof i16.NgxValidateCoreModule, typeof CardModule, typeof DisabledDirective, typeof AbpVisibleDirective, typeof NgxDatatableListDirective, typeof NgxDatatableDefaultDirective, typeof PasswordComponent], [typeof BreadcrumbComponent, typeof BreadcrumbItemsComponent, typeof ButtonComponent, typeof ConfirmationComponent, typeof LoaderBarComponent, typeof LoadingComponent, typeof ModalComponent, typeof ToastComponent, typeof ToastContainerComponent, typeof LoadingDirective, typeof ModalCloseDirective, typeof FormInputComponent, typeof FormCheckboxComponent, typeof HttpErrorWrapperComponent, typeof i15.NgxDatatableModule, typeof i16.NgxValidateCoreModule, typeof CardModule, typeof DisabledDirective, typeof AbpVisibleDirective, typeof NgxDatatableListDirective, typeof NgxDatatableDefaultDirective, typeof PasswordComponent]>;
|
|
954
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BaseThemeSharedModule>;
|
|
955
|
+
}
|
|
956
|
+
declare class ThemeSharedModule {
|
|
957
|
+
/**
|
|
958
|
+
* @deprecated forRoot method is deprecated, use `provideAbpThemeShared` *function* for config settings.
|
|
959
|
+
*/
|
|
960
|
+
static forRoot({ httpErrorConfig, validation, confirmationIcons }?: RootParams): ModuleWithProviders<ThemeSharedModule>;
|
|
961
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeSharedModule, never>;
|
|
962
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ThemeSharedModule, never, [typeof BaseThemeSharedModule], [typeof BaseThemeSharedModule]>;
|
|
963
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ThemeSharedModule>;
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
declare class DateParserFormatter extends NgbDateParserFormatter {
|
|
967
|
+
private configState;
|
|
968
|
+
private locale;
|
|
969
|
+
constructor(configState: ConfigStateService, locale: string);
|
|
970
|
+
parse(value: string): NgbDateStruct | null;
|
|
971
|
+
format(date: NgbDateStruct): string;
|
|
972
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateParserFormatter, never>;
|
|
973
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DateParserFormatter>;
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
declare function getPasswordValidators(injector: Injector): ValidatorFn[];
|
|
977
|
+
declare function validatePassword(shouldContain: PasswordRule): ValidatorFn;
|
|
978
|
+
|
|
979
|
+
declare function getErrorFromRequestBody(body: {
|
|
980
|
+
details?: string;
|
|
981
|
+
message?: string;
|
|
982
|
+
} | undefined): {
|
|
983
|
+
message: LocalizationParam;
|
|
984
|
+
title: LocalizationParam;
|
|
985
|
+
};
|
|
986
|
+
|
|
987
|
+
declare const DEFAULT_VALIDATION_BLUEPRINTS: {
|
|
988
|
+
creditCard: string;
|
|
989
|
+
email: string;
|
|
990
|
+
invalid: string;
|
|
991
|
+
max: string;
|
|
992
|
+
maxlength: string;
|
|
993
|
+
min: string;
|
|
994
|
+
minlength: string;
|
|
995
|
+
ngbDate: string;
|
|
996
|
+
passwordMismatch: string;
|
|
997
|
+
range: string;
|
|
998
|
+
required: string;
|
|
999
|
+
url: string;
|
|
1000
|
+
passwordRequiresLower: string;
|
|
1001
|
+
passwordRequiresUpper: string;
|
|
1002
|
+
passwordRequiresDigit: string;
|
|
1003
|
+
passwordRequiresNonAlphanumeric: string;
|
|
1004
|
+
usernamePattern: string;
|
|
1005
|
+
customMessage: string;
|
|
1006
|
+
};
|
|
1007
|
+
|
|
1008
|
+
declare const DEFAULT_ERROR_MESSAGES: {
|
|
1009
|
+
defaultError: {
|
|
1010
|
+
title: string;
|
|
1011
|
+
details: string;
|
|
1012
|
+
};
|
|
1013
|
+
defaultError401: {
|
|
1014
|
+
title: string;
|
|
1015
|
+
details: string;
|
|
1016
|
+
};
|
|
1017
|
+
defaultError403: {
|
|
1018
|
+
title: string;
|
|
1019
|
+
details: string;
|
|
1020
|
+
};
|
|
1021
|
+
defaultError404: {
|
|
1022
|
+
title: string;
|
|
1023
|
+
details: string;
|
|
1024
|
+
};
|
|
1025
|
+
defaultError500: {
|
|
1026
|
+
title: string;
|
|
1027
|
+
details: string;
|
|
1028
|
+
};
|
|
1029
|
+
};
|
|
1030
|
+
declare const DEFAULT_ERROR_LOCALIZATIONS: {
|
|
1031
|
+
defaultError: {
|
|
1032
|
+
title: string;
|
|
1033
|
+
details: string;
|
|
1034
|
+
};
|
|
1035
|
+
defaultError401: {
|
|
1036
|
+
title: string;
|
|
1037
|
+
details: string;
|
|
1038
|
+
};
|
|
1039
|
+
defaultError403: {
|
|
1040
|
+
title: string;
|
|
1041
|
+
details: string;
|
|
1042
|
+
};
|
|
1043
|
+
defaultError404: {
|
|
1044
|
+
title: string;
|
|
1045
|
+
details: string;
|
|
1046
|
+
};
|
|
1047
|
+
defaultError500: {
|
|
1048
|
+
title: string;
|
|
1049
|
+
details: string;
|
|
1050
|
+
};
|
|
1051
|
+
};
|
|
1052
|
+
declare const CUSTOM_HTTP_ERROR_HANDLER_PRIORITY: Readonly<{
|
|
1053
|
+
veryLow: -99;
|
|
1054
|
+
low: -9;
|
|
1055
|
+
normal: 0;
|
|
1056
|
+
high: 9;
|
|
1057
|
+
veryHigh: 99;
|
|
1058
|
+
}>;
|
|
1059
|
+
declare const HTTP_ERROR_STATUS: {
|
|
1060
|
+
'401': string;
|
|
1061
|
+
'403': string;
|
|
1062
|
+
'404': string;
|
|
1063
|
+
'500': string;
|
|
1064
|
+
};
|
|
1065
|
+
declare const HTTP_ERROR_DETAIL: {
|
|
1066
|
+
'401': string;
|
|
1067
|
+
'403': string;
|
|
1068
|
+
'404': string;
|
|
1069
|
+
'500': string;
|
|
1070
|
+
};
|
|
1071
|
+
|
|
1072
|
+
export { AbpAuthenticationErrorHandler, AbpFormatErrorHandlerService, AbpVisibleDirective, BaseThemeSharedModule, BreadcrumbComponent, BreadcrumbItemsComponent, ButtonComponent, CARD_COMPONENTS, CARD_DIRECTIVES, CONFIRMATION_ICONS, CUSTOM_ERROR_HANDLERS, CUSTOM_HTTP_ERROR_HANDLER_PRIORITY, CardBodyComponent, CardComponent, CardFooterComponent, CardHeaderComponent, CardHeaderDirective, CardImgTopDirective, CardModule, CardSubtitleDirective, CardTitleDirective, Confirmation, ConfirmationComponent, ConfirmationService, CreateErrorComponentService, DEFAULT_CONFIRMATION_ICONS, DEFAULT_ERROR_LOCALIZATIONS, DEFAULT_ERROR_MESSAGES, DEFAULT_HANDLERS_PROVIDERS, DEFAULT_VALIDATION_BLUEPRINTS, DateAdapter, DateParserFormatter, DateTimeAdapter, DisabledDirective, DocumentDirHandlerService, EllipsisDirective, ErrorHandler, FormCheckboxComponent, FormInputComponent, HTTP_ERROR_CONFIG, HTTP_ERROR_DETAIL, HTTP_ERROR_HANDLER, HTTP_ERROR_STATUS, HttpErrorWrapperComponent, InternetConnectionStatusComponent, LoaderBarComponent, LoadingComponent, LoadingDirective, ModalCloseDirective, ModalComponent, ModalRefService, NGX_DATATABLE_MESSAGES, NG_BOOTSTRAP_CONFIG_PROVIDERS, NavItem, NavItemsService, NgxDatatableDefaultDirective, NgxDatatableListDirective, PageAlertService, PasswordComponent, RouterErrorHandlerService, SUPPRESS_UNSAVED_CHANGES_WARNING, SpinnerComponent, Statistics, StatusCodeErrorHandlerService, THEME_SHARED_APPEND_CONTENT, THEME_SHARED_EXPORTS, THEME_SHARED_ROUTE_PROVIDERS, TenantResolveErrorHandlerService, ThemeSharedFeatureKind, ThemeSharedModule, TimeAdapter, ToastComponent, ToastContainerComponent, Toaster, ToasterService, UnknownStatusCodeErrorHandlerService, UserMenu, UserMenuService, bounceIn, collapse, collapseLinearWithMargin, collapseWithMargin, collapseX, collapseY, collapseYWithMargin, configureNgBootstrap, configureRoutes, defaultNgxDatatableMessages, dialogAnimation, eFormComponets, eThemeSharedRouteNames, expandX, expandY, expandYWithMargin, fadeAnimation, fadeIn, fadeInDown, fadeInLeft, fadeInRight, fadeInUp, fadeOut, fadeOutDown, fadeOutLeft, fadeOutRight, fadeOutUp, getErrorFromRequestBody, getPasswordValidators, provideAbpThemeShared, slideFromBottom, tenantNotFoundProvider, toastInOut, validatePassword, withConfirmationIcon, withHttpErrorConfig, withValidateOnSubmit, withValidationBluePrint, withValidationMapErrorsFn };
|
|
1073
|
+
export type { Badge, ConfirmationIcons, CustomHttpErrorHandlerService, DismissableModal, ErrorScreenErrorCodes, HttpErrorConfig, HttpErrorHandler, LocaleDirection, ModalDismissMode, ModalSize, NavBarPropPredicate, NgxDatatableMessages, PageAlert, PasswordRule, RootParams, ThemeSharedFeature, ToasterContract, UserMenuTextTemplate };
|