@anglr/common 10.0.0-beta.20220215130133 → 11.0.0-beta.20220222093017
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/changelog.md +19 -0
- package/es2015/material/src/components/titledDialog/titledDialog.component.js +12 -8
- package/es2015/material/src/components/titledDialog/titledDialog.component.js.map +1 -1
- package/es2015/material/src/modules/titledDialog.module.js +7 -4
- package/es2015/material/src/modules/titledDialog.module.js.map +1 -1
- package/es2015/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.js +1 -0
- package/es2015/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.js.map +1 -1
- package/es2020/material/src/components/titledDialog/titledDialog.component.js +12 -8
- package/es2020/material/src/components/titledDialog/titledDialog.component.js.map +1 -1
- package/es2020/material/src/modules/titledDialog.module.js +7 -4
- package/es2020/material/src/modules/titledDialog.module.js.map +1 -1
- package/es2020/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.js +1 -0
- package/es2020/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.js.map +1 -1
- package/material/src/components/titledDialog/titledDialog.component.d.ts.map +1 -1
- package/material/src/modules/titledDialog.module.d.ts +1 -1
- package/material/src/modules/titledDialog.module.d.ts.map +1 -1
- package/package.json +23 -28
- package/readme.md +0 -1
- package/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.d.ts.map +1 -1
- package/version.bak +1 -1
- package/common.d.ts +0 -1398
- package/common.internal.d.ts +0 -1438
- package/date-fns/common-date-fns.d.ts +0 -8
- package/date-fns/common-date-fns.internal.d.ts +0 -8
- package/date-fns/temp/common-date-fns.api.md +0 -12
- package/es2015/hmr/src/index.js +0 -35
- package/es2015/hmr/src/index.js.map +0 -1
- package/es2020/hmr/src/index.js +0 -35
- package/es2020/hmr/src/index.js.map +0 -1
- package/forms/common-forms.d.ts +0 -966
- package/forms/common-forms.internal.d.ts +0 -966
- package/forms/temp/common-forms.api.md +0 -445
- package/hmr/common-hmr.d.ts +0 -6
- package/hmr/common-hmr.internal.d.ts +0 -6
- package/hmr/package.json +0 -9
- package/hmr/src/index.d.ts +0 -6
- package/hmr/src/index.d.ts.map +0 -1
- package/hmr/temp/common-hmr.api.md +0 -12
- package/hotkeys/common-hotkeys.d.ts +0 -53
- package/hotkeys/common-hotkeys.internal.d.ts +0 -53
- package/hotkeys/temp/common-hotkeys.api.md +0 -25
- package/material/common-material.d.ts +0 -264
- package/material/common-material.internal.d.ts +0 -278
- package/material/temp/common-material.api.md +0 -164
- package/moment/common-moment.d.ts +0 -61
- package/moment/common-moment.internal.d.ts +0 -61
- package/moment/temp/common-moment.api.md +0 -47
- package/numeral/common-numeral.d.ts +0 -44
- package/numeral/common-numeral.internal.d.ts +0 -44
- package/numeral/temp/common-numeral.api.md +0 -37
- package/positions/common-positions.d.ts +0 -324
- package/positions/common-positions.internal.d.ts +0 -346
- package/positions/temp/common-positions.api.md +0 -170
- package/router/common-router.d.ts +0 -140
- package/router/common-router.internal.d.ts +0 -140
- package/router/temp/common-router.api.md +0 -74
- package/store/common-store.d.ts +0 -61
- package/store/common-store.internal.d.ts +0 -61
- package/store/temp/common-store.api.md +0 -37
- package/structured-log/common-structured-log.d.ts +0 -418
- package/structured-log/common-structured-log.internal.d.ts +0 -418
- package/structured-log/temp/common-structured-log.api.md +0 -193
|
@@ -1,264 +0,0 @@
|
|
|
1
|
-
import { Clipboard as Clipboard_2 } from '@angular/cdk/clipboard';
|
|
2
|
-
import { ComponentType } from '@angular/cdk/portal';
|
|
3
|
-
import { EventEmitter } from '@angular/core';
|
|
4
|
-
import * as i0 from '@angular/core';
|
|
5
|
-
import * as i2 from '@anglr/common';
|
|
6
|
-
import * as i3 from '@angular/material/dialog';
|
|
7
|
-
import * as i3_2 from '@angular/common';
|
|
8
|
-
import { InjectionToken } from '@angular/core';
|
|
9
|
-
import { Injector } from '@angular/core';
|
|
10
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
11
|
-
import { MatDialogConfig } from '@angular/material/dialog';
|
|
12
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
13
|
-
import { TemplateRef } from '@angular/core';
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Injection token used for setting global default options for confirmation dialog
|
|
17
|
-
*/
|
|
18
|
-
export declare const CONFIRMATION_DIALOG_OPTIONS: InjectionToken<ConfirmationDialogOptions>;
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Confirmation dialog component
|
|
22
|
-
*/
|
|
23
|
-
export declare class ConfirmationDialogComponent {
|
|
24
|
-
dialog: MatDialogRef<ConfirmationDialogOptions, boolean>;
|
|
25
|
-
|
|
26
|
-
constructor(data: ConfirmationDialogOptions, dialog: MatDialogRef<ConfirmationDialogOptions, boolean>, options: ConfirmationDialogOptions);
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationDialogComponent, [null, null, { optional: true; }]>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmationDialogComponent, "confirmation-dialog", never, {}, {}, never, never>;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Css classes for confirmation dialog component
|
|
33
|
-
*/
|
|
34
|
-
export declare interface ConfirmationDialogCssClasses {
|
|
35
|
-
/**
|
|
36
|
-
* Css classes applied to container div containing buttons
|
|
37
|
-
*/
|
|
38
|
-
buttonsContainerDiv?: string;
|
|
39
|
-
/**
|
|
40
|
-
* Css classes applied to close button
|
|
41
|
-
*/
|
|
42
|
-
closeButton?: string;
|
|
43
|
-
/**
|
|
44
|
-
* Css classes applied to close button icon span
|
|
45
|
-
*/
|
|
46
|
-
closeButtonIcon?: string;
|
|
47
|
-
/**
|
|
48
|
-
* Css classes applied to confirm button
|
|
49
|
-
*/
|
|
50
|
-
confirmButton?: string;
|
|
51
|
-
/**
|
|
52
|
-
* Css classes applied to confirm button icon span
|
|
53
|
-
*/
|
|
54
|
-
confirmButtonIcon?: string;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* Directive that enables confirmation dialog on click
|
|
59
|
-
*/
|
|
60
|
-
export declare class ConfirmationDialogDirective {
|
|
61
|
-
private _dialog;
|
|
62
|
-
/**
|
|
63
|
-
* Confirmation text that is displayed in dialog
|
|
64
|
-
*/
|
|
65
|
-
confirmationText: string;
|
|
66
|
-
/**
|
|
67
|
-
* Title for confirmation dialog
|
|
68
|
-
*/
|
|
69
|
-
confirmationTitle: string;
|
|
70
|
-
/**
|
|
71
|
-
* Text for confirm confirmation button
|
|
72
|
-
*/
|
|
73
|
-
confirmationConfirm: string;
|
|
74
|
-
/**
|
|
75
|
-
* Text for cancel confirmation button
|
|
76
|
-
*/
|
|
77
|
-
confirmationCancel: string;
|
|
78
|
-
/**
|
|
79
|
-
* Object with css classes to be applied to confirmation dialog component
|
|
80
|
-
*/
|
|
81
|
-
confirmationCssClasses: ConfirmationDialogCssClasses;
|
|
82
|
-
/**
|
|
83
|
-
* Condidition that determines whether display confirmation dialog or skip it and run confirm directly
|
|
84
|
-
*/
|
|
85
|
-
skipConfirmation: boolean;
|
|
86
|
-
/**
|
|
87
|
-
* Indication whether prevent default and stop propagation of click event, defaults to true
|
|
88
|
-
*/
|
|
89
|
-
preventDefaultsAndPropagation: boolean;
|
|
90
|
-
/**
|
|
91
|
-
* Occurs when user confirms confirmation
|
|
92
|
-
*/
|
|
93
|
-
confirm: EventEmitter<void>;
|
|
94
|
-
constructor(_dialog: TitledDialogService);
|
|
95
|
-
/**
|
|
96
|
-
* Method called when user clicks on element
|
|
97
|
-
*/
|
|
98
|
-
click(event: MouseEvent): Promise<void>;
|
|
99
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationDialogDirective, never>;
|
|
100
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ConfirmationDialogDirective, "[confirmation]", never, { "confirmationText": "confirmation"; "confirmationTitle": "confirmationTitle"; "confirmationConfirm": "confirmationConfirm"; "confirmationCancel": "confirmationCancel"; "confirmationCssClasses": "confirmationCssClasses"; "skipConfirmation": "skipConfirmation"; "preventDefaultsAndPropagation": "preventDefaultsAndPropagation"; }, { "confirm": "confirm"; }, never>;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* Module containing confirmation dialog component and directive
|
|
105
|
-
*/
|
|
106
|
-
export declare class ConfirmationDialogModule {
|
|
107
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationDialogModule, never>;
|
|
108
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfirmationDialogModule, [typeof i1_3.ConfirmationDialogComponent, typeof i2_2.ConfirmationDialogDirective], [typeof i3_2.CommonModule, typeof i2.CommonLocalizeModule, typeof i5.TitledDialogModule], [typeof i2_2.ConfirmationDialogDirective]>;
|
|
109
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ConfirmationDialogModule>;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* Options for confirmation dialog component
|
|
114
|
-
*/
|
|
115
|
-
export declare interface ConfirmationDialogOptions {
|
|
116
|
-
/**
|
|
117
|
-
* Css classes for confirmation dialog component
|
|
118
|
-
*/
|
|
119
|
-
cssClasses?: ConfirmationDialogCssClasses;
|
|
120
|
-
/**
|
|
121
|
-
* Text that is displayed as confirmation text (localization constant)
|
|
122
|
-
*/
|
|
123
|
-
confirmationText?: string;
|
|
124
|
-
/**
|
|
125
|
-
* Text that is displayed as cancel button text (localization constant)
|
|
126
|
-
*/
|
|
127
|
-
dialogCancelText?: string;
|
|
128
|
-
/**
|
|
129
|
-
* Text that is displayed as confirm button text (localization constant)
|
|
130
|
-
*/
|
|
131
|
-
dialogConfirmText?: string;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
/**
|
|
135
|
-
* Directive that allows to copy data to clipboard on click on debug-data
|
|
136
|
-
*/
|
|
137
|
-
export declare class DebugDataCopyClickDirective {
|
|
138
|
-
protected _clipboard: Clipboard_2;
|
|
139
|
-
/**
|
|
140
|
-
* Data to be copied as serialized json
|
|
141
|
-
*/
|
|
142
|
-
data: any;
|
|
143
|
-
|
|
144
|
-
constructor(_clipboard: Clipboard_2);
|
|
145
|
-
|
|
146
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DebugDataCopyClickDirective, never>;
|
|
147
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DebugDataCopyClickDirective, "debug-data[copyClick]", never, { "data": "copyClick"; }, {}, never>;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
/**
|
|
151
|
-
* Module for debug data copy click directive
|
|
152
|
-
*/
|
|
153
|
-
export declare class DebugDataCopyClickModule {
|
|
154
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DebugDataCopyClickModule, never>;
|
|
155
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DebugDataCopyClickModule, [typeof i1_2.DebugDataCopyClickDirective], never, [typeof i1_2.DebugDataCopyClickDirective, typeof i2.DebugDataModule]>;
|
|
156
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<DebugDataCopyClickModule>;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
declare namespace i1 {
|
|
160
|
-
export {
|
|
161
|
-
TitledDialogComponent
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
declare namespace i1_2 {
|
|
166
|
-
export {
|
|
167
|
-
DebugDataCopyClickDirective
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
declare namespace i1_3 {
|
|
172
|
-
export {
|
|
173
|
-
ConfirmationDialogComponent
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
declare namespace i2_2 {
|
|
178
|
-
export {
|
|
179
|
-
ConfirmationDialogDirective
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
declare namespace i5 {
|
|
184
|
-
export {
|
|
185
|
-
TitledDialogModule
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
/**
|
|
190
|
-
* Injection token that can be used to access the data that was passed in to a titled dialog.
|
|
191
|
-
*/
|
|
192
|
-
export declare const TITLED_DIALOG_DATA: InjectionToken<any>;
|
|
193
|
-
|
|
194
|
-
/**
|
|
195
|
-
* Component used as wrapper for material dialog enhanced with title
|
|
196
|
-
*/
|
|
197
|
-
declare class TitledDialogComponent {
|
|
198
|
-
data: ɵTitledDialogOptions;
|
|
199
|
-
dialogRef: MatDialogRef<ɵTitledDialogOptions>;
|
|
200
|
-
/**
|
|
201
|
-
* Injector used for creating component or template
|
|
202
|
-
*/
|
|
203
|
-
injector: Injector;
|
|
204
|
-
get component(): ComponentType<any>;
|
|
205
|
-
constructor(data: ɵTitledDialogOptions, dialogRef: MatDialogRef<ɵTitledDialogOptions>, injector: Injector);
|
|
206
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TitledDialogComponent, never>;
|
|
207
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TitledDialogComponent, "titled-dialog", never, {}, {}, never, never>;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
/**
|
|
211
|
-
* Configuration for opening a titled modal dialog with the MatDialog service.
|
|
212
|
-
*/
|
|
213
|
-
export declare interface TitledDialogConfig<TData> extends MatDialogConfig<TData> {
|
|
214
|
-
/**
|
|
215
|
-
* Title that is displayed in title of dialog
|
|
216
|
-
*/
|
|
217
|
-
title?: string;
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
/**
|
|
221
|
-
* Module for components and service for displaying titled dialog
|
|
222
|
-
*/
|
|
223
|
-
export declare class TitledDialogModule {
|
|
224
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TitledDialogModule, never>;
|
|
225
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TitledDialogModule, [typeof i1.TitledDialogComponent], [typeof i2.CommonLocalizeModule, typeof i3.MatDialogModule], never>;
|
|
226
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TitledDialogModule>;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
/**
|
|
230
|
-
* Titled dialog service used for displaying components in dialog
|
|
231
|
-
*/
|
|
232
|
-
export declare class TitledDialogService {
|
|
233
|
-
private _dialog;
|
|
234
|
-
constructor(_dialog: MatDialog);
|
|
235
|
-
/**
|
|
236
|
-
* Opens a modal dialog containing the given component.
|
|
237
|
-
* @param componentOrTemplateRef - Type of the component to load into the dialog, or a TemplateRef to instantiate as the dialog content.
|
|
238
|
-
* @param config - Extra configuration options.
|
|
239
|
-
* @returns Reference to the newly-opened dialog.
|
|
240
|
-
*/
|
|
241
|
-
open<T, D = any, R = any>(componentOrTemplateRef: ComponentType<T> | TemplateRef<T>, config?: TitledDialogConfig<D>): MatDialogRef<T, R>;
|
|
242
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TitledDialogService, never>;
|
|
243
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TitledDialogService>;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
/**
|
|
247
|
-
* Titled dialog options passed to titled dialog component
|
|
248
|
-
*/
|
|
249
|
-
declare interface ɵTitledDialogOptions {
|
|
250
|
-
/**
|
|
251
|
-
* Title that is displayed in title of dialog
|
|
252
|
-
*/
|
|
253
|
-
title?: string;
|
|
254
|
-
/**
|
|
255
|
-
* Data passed to rendered component
|
|
256
|
-
*/
|
|
257
|
-
data?: any;
|
|
258
|
-
/**
|
|
259
|
-
* Component or template to be rendered
|
|
260
|
-
*/
|
|
261
|
-
componentOrTemplateRef?: ComponentType<any> | TemplateRef<any>;
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
export { }
|
|
@@ -1,278 +0,0 @@
|
|
|
1
|
-
import { Clipboard as Clipboard_2 } from '@angular/cdk/clipboard';
|
|
2
|
-
import { ComponentType } from '@angular/cdk/portal';
|
|
3
|
-
import { EventEmitter } from '@angular/core';
|
|
4
|
-
import * as i0 from '@angular/core';
|
|
5
|
-
import * as i2 from '@anglr/common';
|
|
6
|
-
import * as i3 from '@angular/material/dialog';
|
|
7
|
-
import * as i3_2 from '@angular/common';
|
|
8
|
-
import { InjectionToken } from '@angular/core';
|
|
9
|
-
import { Injector } from '@angular/core';
|
|
10
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
11
|
-
import { MatDialogConfig } from '@angular/material/dialog';
|
|
12
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
13
|
-
import { TemplateRef } from '@angular/core';
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Injection token used for setting global default options for confirmation dialog
|
|
17
|
-
*/
|
|
18
|
-
export declare const CONFIRMATION_DIALOG_OPTIONS: InjectionToken<ConfirmationDialogOptions>;
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Confirmation dialog component
|
|
22
|
-
*/
|
|
23
|
-
export declare class ConfirmationDialogComponent {
|
|
24
|
-
dialog: MatDialogRef<ConfirmationDialogOptions, boolean>;
|
|
25
|
-
/**
|
|
26
|
-
* Options used for confirmation dialog component
|
|
27
|
-
* @internal
|
|
28
|
-
*/
|
|
29
|
-
options: ConfirmationDialogOptions;
|
|
30
|
-
constructor(data: ConfirmationDialogOptions, dialog: MatDialogRef<ConfirmationDialogOptions, boolean>, options: ConfirmationDialogOptions);
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationDialogComponent, [null, null, { optional: true; }]>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmationDialogComponent, "confirmation-dialog", never, {}, {}, never, never>;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* Css classes for confirmation dialog component
|
|
37
|
-
*/
|
|
38
|
-
export declare interface ConfirmationDialogCssClasses {
|
|
39
|
-
/**
|
|
40
|
-
* Css classes applied to container div containing buttons
|
|
41
|
-
*/
|
|
42
|
-
buttonsContainerDiv?: string;
|
|
43
|
-
/**
|
|
44
|
-
* Css classes applied to close button
|
|
45
|
-
*/
|
|
46
|
-
closeButton?: string;
|
|
47
|
-
/**
|
|
48
|
-
* Css classes applied to close button icon span
|
|
49
|
-
*/
|
|
50
|
-
closeButtonIcon?: string;
|
|
51
|
-
/**
|
|
52
|
-
* Css classes applied to confirm button
|
|
53
|
-
*/
|
|
54
|
-
confirmButton?: string;
|
|
55
|
-
/**
|
|
56
|
-
* Css classes applied to confirm button icon span
|
|
57
|
-
*/
|
|
58
|
-
confirmButtonIcon?: string;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* Directive that enables confirmation dialog on click
|
|
63
|
-
*/
|
|
64
|
-
export declare class ConfirmationDialogDirective {
|
|
65
|
-
private _dialog;
|
|
66
|
-
/**
|
|
67
|
-
* Confirmation text that is displayed in dialog
|
|
68
|
-
*/
|
|
69
|
-
confirmationText: string;
|
|
70
|
-
/**
|
|
71
|
-
* Title for confirmation dialog
|
|
72
|
-
*/
|
|
73
|
-
confirmationTitle: string;
|
|
74
|
-
/**
|
|
75
|
-
* Text for confirm confirmation button
|
|
76
|
-
*/
|
|
77
|
-
confirmationConfirm: string;
|
|
78
|
-
/**
|
|
79
|
-
* Text for cancel confirmation button
|
|
80
|
-
*/
|
|
81
|
-
confirmationCancel: string;
|
|
82
|
-
/**
|
|
83
|
-
* Object with css classes to be applied to confirmation dialog component
|
|
84
|
-
*/
|
|
85
|
-
confirmationCssClasses: ConfirmationDialogCssClasses;
|
|
86
|
-
/**
|
|
87
|
-
* Condidition that determines whether display confirmation dialog or skip it and run confirm directly
|
|
88
|
-
*/
|
|
89
|
-
skipConfirmation: boolean;
|
|
90
|
-
/**
|
|
91
|
-
* Indication whether prevent default and stop propagation of click event, defaults to true
|
|
92
|
-
*/
|
|
93
|
-
preventDefaultsAndPropagation: boolean;
|
|
94
|
-
/**
|
|
95
|
-
* Occurs when user confirms confirmation
|
|
96
|
-
*/
|
|
97
|
-
confirm: EventEmitter<void>;
|
|
98
|
-
constructor(_dialog: TitledDialogService);
|
|
99
|
-
/**
|
|
100
|
-
* Method called when user clicks on element
|
|
101
|
-
*/
|
|
102
|
-
click(event: MouseEvent): Promise<void>;
|
|
103
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationDialogDirective, never>;
|
|
104
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ConfirmationDialogDirective, "[confirmation]", never, { "confirmationText": "confirmation"; "confirmationTitle": "confirmationTitle"; "confirmationConfirm": "confirmationConfirm"; "confirmationCancel": "confirmationCancel"; "confirmationCssClasses": "confirmationCssClasses"; "skipConfirmation": "skipConfirmation"; "preventDefaultsAndPropagation": "preventDefaultsAndPropagation"; }, { "confirm": "confirm"; }, never>;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
/**
|
|
108
|
-
* Module containing confirmation dialog component and directive
|
|
109
|
-
*/
|
|
110
|
-
export declare class ConfirmationDialogModule {
|
|
111
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationDialogModule, never>;
|
|
112
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfirmationDialogModule, [typeof i1_3.ConfirmationDialogComponent, typeof i2_2.ConfirmationDialogDirective], [typeof i3_2.CommonModule, typeof i2.CommonLocalizeModule, typeof i5.TitledDialogModule], [typeof i2_2.ConfirmationDialogDirective]>;
|
|
113
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ConfirmationDialogModule>;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* Options for confirmation dialog component
|
|
118
|
-
*/
|
|
119
|
-
export declare interface ConfirmationDialogOptions {
|
|
120
|
-
/**
|
|
121
|
-
* Css classes for confirmation dialog component
|
|
122
|
-
*/
|
|
123
|
-
cssClasses?: ConfirmationDialogCssClasses;
|
|
124
|
-
/**
|
|
125
|
-
* Text that is displayed as confirmation text (localization constant)
|
|
126
|
-
*/
|
|
127
|
-
confirmationText?: string;
|
|
128
|
-
/**
|
|
129
|
-
* Text that is displayed as cancel button text (localization constant)
|
|
130
|
-
*/
|
|
131
|
-
dialogCancelText?: string;
|
|
132
|
-
/**
|
|
133
|
-
* Text that is displayed as confirm button text (localization constant)
|
|
134
|
-
*/
|
|
135
|
-
dialogConfirmText?: string;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* Directive that allows to copy data to clipboard on click on debug-data
|
|
140
|
-
*/
|
|
141
|
-
export declare class DebugDataCopyClickDirective {
|
|
142
|
-
protected _clipboard: Clipboard_2;
|
|
143
|
-
/**
|
|
144
|
-
* Data to be copied as serialized json
|
|
145
|
-
*/
|
|
146
|
-
data: any;
|
|
147
|
-
/**
|
|
148
|
-
* Adds css class clickable to this element
|
|
149
|
-
*
|
|
150
|
-
* @internal
|
|
151
|
-
*/
|
|
152
|
-
clickable: boolean;
|
|
153
|
-
constructor(_clipboard: Clipboard_2);
|
|
154
|
-
/**
|
|
155
|
-
* Copies data to clipboard on click
|
|
156
|
-
*
|
|
157
|
-
* @internal
|
|
158
|
-
*/
|
|
159
|
-
copyData(): void;
|
|
160
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DebugDataCopyClickDirective, never>;
|
|
161
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DebugDataCopyClickDirective, "debug-data[copyClick]", never, { "data": "copyClick"; }, {}, never>;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
/**
|
|
165
|
-
* Module for debug data copy click directive
|
|
166
|
-
*/
|
|
167
|
-
export declare class DebugDataCopyClickModule {
|
|
168
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DebugDataCopyClickModule, never>;
|
|
169
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DebugDataCopyClickModule, [typeof i1_2.DebugDataCopyClickDirective], never, [typeof i1_2.DebugDataCopyClickDirective, typeof i2.DebugDataModule]>;
|
|
170
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<DebugDataCopyClickModule>;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
declare namespace i1 {
|
|
174
|
-
export {
|
|
175
|
-
TitledDialogComponent
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
declare namespace i1_2 {
|
|
180
|
-
export {
|
|
181
|
-
DebugDataCopyClickDirective
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
declare namespace i1_3 {
|
|
186
|
-
export {
|
|
187
|
-
ConfirmationDialogComponent
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
declare namespace i2_2 {
|
|
192
|
-
export {
|
|
193
|
-
ConfirmationDialogDirective
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
declare namespace i5 {
|
|
198
|
-
export {
|
|
199
|
-
TitledDialogModule
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
/**
|
|
204
|
-
* Injection token that can be used to access the data that was passed in to a titled dialog.
|
|
205
|
-
*/
|
|
206
|
-
export declare const TITLED_DIALOG_DATA: InjectionToken<any>;
|
|
207
|
-
|
|
208
|
-
/**
|
|
209
|
-
* Component used as wrapper for material dialog enhanced with title
|
|
210
|
-
*/
|
|
211
|
-
declare class TitledDialogComponent {
|
|
212
|
-
data: ɵTitledDialogOptions;
|
|
213
|
-
dialogRef: MatDialogRef<ɵTitledDialogOptions>;
|
|
214
|
-
/**
|
|
215
|
-
* Injector used for creating component or template
|
|
216
|
-
*/
|
|
217
|
-
injector: Injector;
|
|
218
|
-
get component(): ComponentType<any>;
|
|
219
|
-
constructor(data: ɵTitledDialogOptions, dialogRef: MatDialogRef<ɵTitledDialogOptions>, injector: Injector);
|
|
220
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TitledDialogComponent, never>;
|
|
221
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TitledDialogComponent, "titled-dialog", never, {}, {}, never, never>;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
/**
|
|
225
|
-
* Configuration for opening a titled modal dialog with the MatDialog service.
|
|
226
|
-
*/
|
|
227
|
-
export declare interface TitledDialogConfig<TData> extends MatDialogConfig<TData> {
|
|
228
|
-
/**
|
|
229
|
-
* Title that is displayed in title of dialog
|
|
230
|
-
*/
|
|
231
|
-
title?: string;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
/**
|
|
235
|
-
* Module for components and service for displaying titled dialog
|
|
236
|
-
*/
|
|
237
|
-
export declare class TitledDialogModule {
|
|
238
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TitledDialogModule, never>;
|
|
239
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TitledDialogModule, [typeof i1.TitledDialogComponent], [typeof i2.CommonLocalizeModule, typeof i3.MatDialogModule], never>;
|
|
240
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TitledDialogModule>;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
/**
|
|
244
|
-
* Titled dialog service used for displaying components in dialog
|
|
245
|
-
*/
|
|
246
|
-
export declare class TitledDialogService {
|
|
247
|
-
private _dialog;
|
|
248
|
-
constructor(_dialog: MatDialog);
|
|
249
|
-
/**
|
|
250
|
-
* Opens a modal dialog containing the given component.
|
|
251
|
-
* @param componentOrTemplateRef - Type of the component to load into the dialog, or a TemplateRef to instantiate as the dialog content.
|
|
252
|
-
* @param config - Extra configuration options.
|
|
253
|
-
* @returns Reference to the newly-opened dialog.
|
|
254
|
-
*/
|
|
255
|
-
open<T, D = any, R = any>(componentOrTemplateRef: ComponentType<T> | TemplateRef<T>, config?: TitledDialogConfig<D>): MatDialogRef<T, R>;
|
|
256
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TitledDialogService, never>;
|
|
257
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TitledDialogService>;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
/**
|
|
261
|
-
* Titled dialog options passed to titled dialog component
|
|
262
|
-
*/
|
|
263
|
-
declare interface ɵTitledDialogOptions {
|
|
264
|
-
/**
|
|
265
|
-
* Title that is displayed in title of dialog
|
|
266
|
-
*/
|
|
267
|
-
title?: string;
|
|
268
|
-
/**
|
|
269
|
-
* Data passed to rendered component
|
|
270
|
-
*/
|
|
271
|
-
data?: any;
|
|
272
|
-
/**
|
|
273
|
-
* Component or template to be rendered
|
|
274
|
-
*/
|
|
275
|
-
componentOrTemplateRef?: ComponentType<any> | TemplateRef<any>;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
export { }
|