@enigmatry/entry-components 1.2.62 → 1.2.64
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/dialog/README.md +133 -35
- package/dialog/dialogs/alert/entry-alert-dialog-data.interface.d.ts +11 -4
- package/dialog/dialogs/confirm/entry-confirm-dialog-data.interface.d.ts +2 -2
- package/dialog/dialogs/entry-dialog.component.d.ts +13 -13
- package/dialog/entry-dialog-buttons-alignment.type.d.ts +2 -0
- package/dialog/entry-dialog-config.model.d.ts +8 -7
- package/dialog/entry-dialog.service.d.ts +17 -14
- package/dialog/public-api.d.ts +3 -0
- package/esm2020/dialog/dialogs/alert/entry-alert-dialog-data.interface.mjs +1 -1
- package/esm2020/dialog/dialogs/alert/entry-alert-dialog.component.mjs +3 -3
- package/esm2020/dialog/dialogs/confirm/entry-confirm-dialog-data.interface.mjs +1 -1
- package/esm2020/dialog/dialogs/confirm/entry-confirm-dialog.component.mjs +3 -3
- package/esm2020/dialog/dialogs/entry-dialog.component.mjs +20 -20
- package/esm2020/dialog/entry-dialog-buttons-alignment.type.mjs +2 -0
- package/esm2020/dialog/entry-dialog-config.model.mjs +3 -3
- package/esm2020/dialog/entry-dialog.service.mjs +24 -15
- package/esm2020/dialog/public-api.mjs +1 -1
- package/fesm2015/enigmatry-entry-components-dialog.mjs +48 -39
- package/fesm2015/enigmatry-entry-components-dialog.mjs.map +1 -1
- package/fesm2020/enigmatry-entry-components-dialog.mjs +48 -39
- package/fesm2020/enigmatry-entry-components-dialog.mjs.map +1 -1
- package/package.json +1 -1
package/dialog/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Entry Dialog
|
|
2
2
|
|
|
3
|
-
Enables working with built-in (alert and confirm) and custom dialogs. Supports dialog configuration on
|
|
3
|
+
Enables working with built-in (alert and confirm) and custom dialogs. Supports dialog configuration on application level.
|
|
4
4
|
|
|
5
5
|
## Imports
|
|
6
6
|
|
|
@@ -17,17 +17,35 @@ import { MatDialogModule } from '@angular/material/dialog';
|
|
|
17
17
|
constructor (entryDialogService: EntryDialogService) {
|
|
18
18
|
entryDialogService.openAlert({
|
|
19
19
|
title: 'ALERT!', message: 'I want to tell you that I love you :)'
|
|
20
|
-
})
|
|
20
|
+
});
|
|
21
21
|
}
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
+
## Components
|
|
25
|
+
|
|
26
|
+
### **EntryDialogComponent**
|
|
27
|
+
|
|
28
|
+
Base entry dialog component. Must be extended when building custom dialogs.
|
|
29
|
+
|
|
30
|
+
Inputs:
|
|
31
|
+
|
|
32
|
+
|Name|Type|Description|
|
|
33
|
+
|:------|:------|:------|
|
|
34
|
+
|`title`|`string`|Dialog header title|
|
|
35
|
+
|`buttonsAlignment`|`EntryDialogButtonsAlignment`|Dialog buttons horizontal alignment|
|
|
36
|
+
|`confirmButtonText`|`string`|Confirm button label|
|
|
37
|
+
|`cancelButtonText`|`string`|Cancel button label|
|
|
38
|
+
|`hideButtons`|`boolean`|Show or hide dialog buttons|
|
|
39
|
+
|`hideCancel`|`boolean`|Show or hide dialog cancel button|
|
|
40
|
+
|`hideClose`|`boolean`|Show or hide dialog close button|
|
|
41
|
+
|`disableConfirm`|`boolean`|Enable or disable dialog confirm button|
|
|
42
|
+
|`buttonsTemplate`|`TemplateRef<any>` \| `null` \| `undefined`|Provide custom buttons template|
|
|
43
|
+
|
|
24
44
|
## Configuration
|
|
25
45
|
|
|
26
46
|
`ENTRY_DIALOG_CONFIG`: `InjectionToken<EntryDialogConfig>` - Optional configuration used to override defaults.
|
|
27
47
|
|
|
28
48
|
```ts
|
|
29
|
-
// ...
|
|
30
|
-
|
|
31
49
|
@NgModule({
|
|
32
50
|
imports: [
|
|
33
51
|
EntryDialogModule,
|
|
@@ -40,7 +58,7 @@ constructor (entryDialogService: EntryDialogService) {
|
|
|
40
58
|
confirmButtonText: 'Yes',
|
|
41
59
|
cancelButtonText: 'No',
|
|
42
60
|
buttonsAlignment: 'align-center',
|
|
43
|
-
hideClose:
|
|
61
|
+
hideClose: false,
|
|
44
62
|
disableClose: true
|
|
45
63
|
})
|
|
46
64
|
}
|
|
@@ -49,46 +67,126 @@ constructor (entryDialogService: EntryDialogService) {
|
|
|
49
67
|
export class AppModule { }
|
|
50
68
|
```
|
|
51
69
|
|
|
70
|
+
## Classes
|
|
71
|
+
|
|
72
|
+
### **EntryDialogConfig**
|
|
73
|
+
|
|
74
|
+
Used to provide default configurations on module level.
|
|
75
|
+
|
|
76
|
+
Fields:
|
|
77
|
+
|
|
78
|
+
|Name|Type|Default value|Description|
|
|
79
|
+
|:------|:------|:------|:------|
|
|
80
|
+
|`confirmButtonText`|`string`|'Ok'|Confirm button label|
|
|
81
|
+
|`cancelButtonText`|`string`|'Cancel'|Cancel button label|
|
|
82
|
+
|`buttonsAlignment`|`EntryDialogButtonsAlignment`|'align-right'|Dialog buttons horizontal alignment|
|
|
83
|
+
|`hideClose`|`boolean`|true|Determines if close button is visible|
|
|
84
|
+
|`disableClose`|`boolean`|false|Disable closing dialog when pressing escape or clicking on backdrop|
|
|
85
|
+
|
|
52
86
|
## EntryDialogService Methods
|
|
53
87
|
|
|
54
|
-
|
|
88
|
+
▸ **closeAll**(): `void`
|
|
89
|
+
|
|
90
|
+
Closes all opened dialogs.
|
|
91
|
+
|
|
92
|
+
#### Returns
|
|
93
|
+
|
|
94
|
+
`void`
|
|
95
|
+
|
|
96
|
+
___
|
|
97
|
+
|
|
98
|
+
### open
|
|
99
|
+
|
|
100
|
+
▸ **open**(`component`, `data?`, `disableClose?`, `cssClass?`): `Observable`<`any`\>
|
|
101
|
+
|
|
102
|
+
Opens dialog with custom component.
|
|
103
|
+
|
|
104
|
+
#### Parameters
|
|
105
|
+
|
|
106
|
+
| Name | Type | Default value | Description |
|
|
107
|
+
| :------ | :------ | :------ | :------ |
|
|
108
|
+
| `component` | `Type<EntryDialogComponent>` | | Dialog custom component implementation |
|
|
109
|
+
| `data` | `unknown` | `undefined` | Optional parameter used to supply component with input parameters |
|
|
110
|
+
| `disableClose` | `undefined` \| `boolean` | `undefined` | Optional parameter that disable closing dialog when pressing escape or clicking on backdrop |
|
|
111
|
+
| `cssClass` | `string` | `''` | Optional parameter used to set custom class to Material overlay pane |
|
|
112
|
+
|
|
113
|
+
#### Returns
|
|
114
|
+
|
|
115
|
+
`Observable<any>`
|
|
116
|
+
|
|
117
|
+
Any result custom implementation provides
|
|
118
|
+
|
|
119
|
+
___
|
|
120
|
+
|
|
121
|
+
### openAlert
|
|
122
|
+
|
|
123
|
+
▸ **openAlert**(`data`): `Observable`<`undefined` \| ``true``\>
|
|
124
|
+
|
|
125
|
+
Opens alert dialog.
|
|
126
|
+
|
|
127
|
+
#### Parameters
|
|
128
|
+
|
|
129
|
+
| Name | Type | Description |
|
|
130
|
+
| :------ | :------ | :------ |
|
|
131
|
+
| `data` | `Partial<IEntryAlertDialogData>` | Contains title, message and other optional parameters |
|
|
132
|
+
|
|
133
|
+
#### Returns
|
|
134
|
+
|
|
135
|
+
`Observable<undefined | true>`
|
|
136
|
+
|
|
137
|
+
`true` if confirmed, `undefined` if closed by clicking on backdrop or pressing escape
|
|
138
|
+
|
|
139
|
+
___
|
|
140
|
+
|
|
141
|
+
### openConfirm
|
|
142
|
+
|
|
143
|
+
▸ **openConfirm**(`data`): `Observable`<`undefined` \| `boolean`\>
|
|
144
|
+
|
|
145
|
+
Opens confirm dialog.
|
|
146
|
+
|
|
147
|
+
#### Parameters
|
|
148
|
+
|
|
149
|
+
| Name | Type | Description |
|
|
150
|
+
| :------ | :------ | :------ |
|
|
151
|
+
| `data` | `Partial<IEntryConfirmDialogData>` | Contains title, message and other optional parameters |
|
|
152
|
+
|
|
153
|
+
#### Returns
|
|
154
|
+
|
|
155
|
+
`Observable<undefined | boolean>`
|
|
55
156
|
|
|
56
|
-
|
|
157
|
+
`true` if confirmed, `false` if canceled or closed, `undefined` if closed by clicking on backdrop or pressing escape
|
|
57
158
|
|
|
58
|
-
|
|
159
|
+
## Interfaces
|
|
59
160
|
|
|
60
|
-
|
|
161
|
+
### **IEntryAlertDialogData**
|
|
61
162
|
|
|
62
|
-
|
|
163
|
+
Alert dialog data.
|
|
63
164
|
|
|
64
|
-
|
|
165
|
+
Fields:
|
|
65
166
|
|
|
66
|
-
|
|
167
|
+
|Name|Type|Description|
|
|
168
|
+
|:------|:------|:------|
|
|
169
|
+
|`title`|`string`|Dialog header title|
|
|
170
|
+
|`message`|`string`|Dialog content message|
|
|
171
|
+
|`buttonsAlignment`|`EntryDialogButtonsAlignment` \| `undefined`|Optional dialog buttons horizontal alignment|
|
|
172
|
+
|`confirmText`|`string` \| `undefined`|Optional dialog confirm text label|
|
|
173
|
+
|`hideClose`|`boolean` \| `undefined`|Optionally show or hide dialog close button|
|
|
174
|
+
|`disableClose`|`boolean` \| `undefined`|Optionally disable closing dialog when pressing escape or clicking on backdrop|
|
|
67
175
|
|
|
68
|
-
|
|
176
|
+
___
|
|
69
177
|
|
|
70
|
-
|
|
71
|
-
| - | - |
|
|
72
|
-
| title: `string` | Dialog header title |
|
|
73
|
-
| message: `string` | Dialog content message |
|
|
74
|
-
| confirmText?: `string` | Optional confirm button text |
|
|
178
|
+
### **IEntryConfirmDialogData**
|
|
75
179
|
|
|
76
|
-
|
|
77
|
-
| - | - |
|
|
78
|
-
| title: `string` | Dialog header title |
|
|
79
|
-
| message: `string` | Dialog content message |
|
|
80
|
-
| confirmText?: `string` | Optional confirm button text |
|
|
81
|
-
| cancelText?: `string` | Optional cancel button text |
|
|
180
|
+
Confirm dialog data. Extends `IEntryAlertDialogData`.
|
|
82
181
|
|
|
83
|
-
|
|
84
|
-
| - | - |
|
|
85
|
-
| confirmButtonText: `string` | Confirm button text (default 'Ok') |
|
|
86
|
-
| cancelButtonText: `string` | Cancel button text (default 'Cancel') |
|
|
87
|
-
| buttonsAlignment: `string` | Buttons alignment values: `'align-right'`, `'align-center'` or `''` (default `'align-right'`) |
|
|
182
|
+
Fields:
|
|
88
183
|
|
|
89
|
-
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
184
|
+
|Name|Type|Description|
|
|
185
|
+
|:------|:------|:------|
|
|
186
|
+
|`title`|`string`|Dialog header title|
|
|
187
|
+
|`message`|`string`|Dialog content message|
|
|
188
|
+
|`buttonsAlignment`|`EntryDialogButtonsAlignment` \| `undefined`|Optional dialog buttons horizontal alignment|
|
|
189
|
+
|`confirmText`|`string` \| `undefined`|Optional dialog confirm text label|
|
|
190
|
+
|`cancelText`|`string` \| `undefined`|Optional dialog cancel text label|
|
|
191
|
+
|`hideClose`|`boolean` \| `undefined`|Optionally show or hide dialog close button|
|
|
192
|
+
|`disableClose`|`boolean` \| `undefined`|Optionally disable closing dialog when pressing escape or clicking on backdrop|
|
|
@@ -1,11 +1,18 @@
|
|
|
1
|
+
import { EntryDialogButtonsAlignment } from '../../entry-dialog-buttons-alignment.type';
|
|
1
2
|
/**
|
|
2
|
-
* Alert dialog data
|
|
3
|
+
* Alert dialog data.
|
|
3
4
|
*/
|
|
4
5
|
export interface IEntryAlertDialogData {
|
|
5
|
-
/**
|
|
6
|
+
/** Dialog header title */
|
|
6
7
|
title: string;
|
|
7
|
-
/**
|
|
8
|
+
/** Dialog content message */
|
|
8
9
|
message: string;
|
|
9
|
-
/**
|
|
10
|
+
/** Optional dialog buttons horizontal alignment */
|
|
11
|
+
buttonsAlignment: EntryDialogButtonsAlignment | undefined;
|
|
12
|
+
/** Optional dialog confirm text label */
|
|
10
13
|
confirmText?: string | undefined;
|
|
14
|
+
/** Optionally show or hide dialog close button */
|
|
15
|
+
hideClose: boolean | undefined;
|
|
16
|
+
/** Optionally disable closing dialog when pressing escape or clicking on backdrop */
|
|
17
|
+
disableClose?: boolean | undefined;
|
|
11
18
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { IEntryAlertDialogData } from '../alert/entry-alert-dialog-data.interface';
|
|
2
2
|
/**
|
|
3
|
-
* Confirm dialog data
|
|
3
|
+
* Confirm dialog data. Extends IEntryAlertDialogData.
|
|
4
4
|
*/
|
|
5
5
|
export interface IEntryConfirmDialogData extends IEntryAlertDialogData {
|
|
6
|
-
/**
|
|
6
|
+
/** Optional dialog cancel text label */
|
|
7
7
|
cancelText?: string | undefined;
|
|
8
8
|
}
|
|
@@ -2,6 +2,7 @@ import { TemplateRef } from '@angular/core';
|
|
|
2
2
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { EntryDialogConfig } from '../entry-dialog-config.model';
|
|
5
|
+
import { EntryDialogButtonsAlignment } from '../entry-dialog-buttons-alignment.type';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
/**
|
|
7
8
|
* Base Entry dialog component. Must be extended when building custom dialogs.
|
|
@@ -9,30 +10,29 @@ import * as i0 from "@angular/core";
|
|
|
9
10
|
export declare class EntryDialogComponent {
|
|
10
11
|
protected readonly mdDialogRef: MatDialogRef<EntryDialogComponent>;
|
|
11
12
|
protected readonly config: EntryDialogConfig;
|
|
12
|
-
/**
|
|
13
|
+
/** Dialog header title */
|
|
13
14
|
title: string;
|
|
14
|
-
/**
|
|
15
|
-
buttonsAlignment:
|
|
16
|
-
/**
|
|
15
|
+
/** Dialog buttons horizontal alignment */
|
|
16
|
+
buttonsAlignment: EntryDialogButtonsAlignment;
|
|
17
|
+
/** Confirm button label */
|
|
17
18
|
confirmButtonText: string;
|
|
18
|
-
/**
|
|
19
|
+
/** Cancel button label */
|
|
19
20
|
cancelButtonText: string;
|
|
20
|
-
/**
|
|
21
|
+
/** Show or hide dialog buttons */
|
|
21
22
|
hideButtons: boolean;
|
|
22
|
-
/**
|
|
23
|
+
/** Show or hide dialog cancel button */
|
|
23
24
|
hideCancel: boolean;
|
|
24
|
-
/**
|
|
25
|
+
/** Show or hide dialog close button */
|
|
25
26
|
hideClose: boolean;
|
|
26
|
-
/**
|
|
27
|
+
/** Enable or disable dialog confirm button */
|
|
27
28
|
disableConfirm: boolean;
|
|
28
|
-
/**
|
|
29
|
+
/** Provide custom buttons template */
|
|
29
30
|
buttonsTemplate: TemplateRef<any> | null | undefined;
|
|
30
31
|
constructor(mdDialogRef: MatDialogRef<EntryDialogComponent>, config: EntryDialogConfig);
|
|
31
32
|
confirm: () => Observable<unknown>;
|
|
32
33
|
cancel: () => void;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
readonly close: (value?: unknown) => void;
|
|
34
|
+
onSubmit: () => import("rxjs").Subscription;
|
|
35
|
+
close: (value?: unknown) => void;
|
|
36
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<EntryDialogComponent, never>;
|
|
37
37
|
static ɵcmp: i0.ɵɵComponentDeclaration<EntryDialogComponent, "entry-dialog", never, { "title": "title"; "buttonsAlignment": "buttonsAlignment"; "confirmButtonText": "confirmButtonText"; "cancelButtonText": "cancelButtonText"; "hideButtons": "hideButtons"; "hideCancel": "hideCancel"; "hideClose": "hideClose"; "disableConfirm": "disableConfirm"; "buttonsTemplate": "buttonsTemplate"; "confirm": "confirm"; "cancel": "cancel"; }, {}, never, ["*"]>;
|
|
38
38
|
}
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { EntryDialogButtonsAlignment } from './entry-dialog-buttons-alignment.type';
|
|
2
3
|
/**
|
|
3
|
-
* Used to provide default configurations on module level
|
|
4
|
+
* Used to provide default configurations on module level.
|
|
4
5
|
*/
|
|
5
6
|
export declare class EntryDialogConfig {
|
|
6
|
-
/**
|
|
7
|
+
/** Confirm button label (default 'Ok') */
|
|
7
8
|
confirmButtonText: string;
|
|
8
|
-
/**
|
|
9
|
+
/** Cancel button label (default 'Cancel') */
|
|
9
10
|
cancelButtonText: string;
|
|
10
|
-
/**
|
|
11
|
-
buttonsAlignment:
|
|
12
|
-
/**
|
|
11
|
+
/** Dialog buttons horizontal alignment (default 'align-right') */
|
|
12
|
+
buttonsAlignment: EntryDialogButtonsAlignment;
|
|
13
|
+
/** Determines if close button is visible (default is true) */
|
|
13
14
|
hideClose: boolean;
|
|
14
|
-
/**
|
|
15
|
+
/** Disable closing dialog when pressing escape or clicking on backdrop (default false) */
|
|
15
16
|
disableClose: boolean;
|
|
16
17
|
constructor(config?: Partial<EntryDialogConfig>);
|
|
17
18
|
}
|
|
@@ -6,38 +6,41 @@ import { Observable } from 'rxjs';
|
|
|
6
6
|
import { IEntryConfirmDialogData } from './dialogs/confirm/entry-confirm-dialog-data.interface';
|
|
7
7
|
import { EntryDialogConfig } from './entry-dialog-config.model';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
+
/**
|
|
10
|
+
* Used to open built-in and custom entry dialogs.
|
|
11
|
+
*/
|
|
9
12
|
export declare class EntryDialogService {
|
|
10
13
|
protected readonly config: EntryDialogConfig;
|
|
11
14
|
private readonly matDialog;
|
|
12
15
|
constructor(config: EntryDialogConfig, matDialog: MatDialog);
|
|
13
16
|
/**
|
|
14
|
-
* Opens alert dialog
|
|
17
|
+
* Opens alert dialog.
|
|
15
18
|
*
|
|
16
|
-
* @param data - Contains title, message and optional confirm button text
|
|
17
|
-
* @
|
|
18
|
-
* @returns Observable of any
|
|
19
|
+
* @param data - Contains title, message and optional confirm button text
|
|
20
|
+
* @returns `true` if confirmed, `undefined` if closed by clicking on backdrop or pressing escape
|
|
19
21
|
*/
|
|
20
|
-
openAlert: (data: IEntryAlertDialogData
|
|
22
|
+
openAlert: (data: Partial<IEntryAlertDialogData>) => Observable<true | undefined>;
|
|
21
23
|
/**
|
|
22
|
-
* Opens confirm dialog
|
|
24
|
+
* Opens confirm dialog.
|
|
23
25
|
*
|
|
24
|
-
* @param data - Contains title, message and optional confirm/cancel buttons text
|
|
25
|
-
* @
|
|
26
|
-
* @returns Observable of bool or undefined, `true` if confirmed, `false` if canceled or closed
|
|
27
|
-
* , `undefined` if closed by clicking on backdrop or pressing escape
|
|
26
|
+
* @param data - Contains title, message and optional confirm/cancel buttons text
|
|
27
|
+
* @returns `true` if confirmed, `false` if canceled or closed, `undefined` if closed by clicking on backdrop or pressing escape
|
|
28
28
|
*/
|
|
29
|
-
openConfirm: (data: IEntryConfirmDialogData
|
|
29
|
+
openConfirm: (data: Partial<IEntryConfirmDialogData>) => Observable<boolean | undefined>;
|
|
30
30
|
/**
|
|
31
|
-
* Opens dialog with custom component
|
|
31
|
+
* Opens dialog with custom component.
|
|
32
32
|
*
|
|
33
33
|
* @param component - Dialog custom component implementation
|
|
34
34
|
* @param data - Optional parameter used to supply component with input parameters
|
|
35
35
|
* @param disableClose - Optional parameter that disable closing dialog when pressing escape or clicking on backdrop
|
|
36
36
|
* @param cssClass - Optional parameter used to set custom class to Material overlay pane
|
|
37
|
-
* @returns
|
|
37
|
+
* @returns Any result custom implementation provides
|
|
38
38
|
*/
|
|
39
39
|
open: (component: Type<EntryDialogComponent>, data?: unknown, disableClose?: boolean | undefined, cssClass?: string) => Observable<any>;
|
|
40
|
-
|
|
40
|
+
/**
|
|
41
|
+
* Closes all opened dialogs.
|
|
42
|
+
*/
|
|
43
|
+
closeAll: () => void;
|
|
41
44
|
private setPanelClassFor;
|
|
42
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<EntryDialogService, never>;
|
|
43
46
|
static ɵprov: i0.ɵɵInjectableDeclaration<EntryDialogService>;
|
package/dialog/public-api.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export { EntryAlertDialogComponent } from './dialogs/alert/entry-alert-dialog.component';
|
|
2
|
+
export { IEntryAlertDialogData } from './dialogs/alert/entry-alert-dialog-data.interface';
|
|
2
3
|
export { EntryConfirmDialogComponent } from './dialogs/confirm/entry-confirm-dialog.component';
|
|
4
|
+
export { IEntryConfirmDialogData } from './dialogs/confirm/entry-confirm-dialog-data.interface';
|
|
3
5
|
export { EntryDialogComponent } from './dialogs/entry-dialog.component';
|
|
6
|
+
export { EntryDialogButtonsAlignment } from './entry-dialog-buttons-alignment.type';
|
|
4
7
|
export { EntryDialogService } from './entry-dialog.service';
|
|
5
8
|
export { EntryDialogModule } from './entry-dialog.module';
|
|
6
9
|
export { ENTRY_DIALOG_CONFIG, EntryDialogConfig } from './entry-dialog-config.model';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW50cnktYWxlcnQtZGlhbG9nLWRhdGEuaW50ZXJmYWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZW50cnktY29tcG9uZW50cy9kaWFsb2cvZGlhbG9ncy9hbGVydC9lbnRyeS1hbGVydC1kaWFsb2ctZGF0YS5pbnRlcmZhY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEVudHJ5RGlhbG9nQnV0dG9uc0FsaWdubWVudCB9IGZyb20gJy4uLy4uL2VudHJ5LWRpYWxvZy1idXR0b25zLWFsaWdubWVudC50eXBlJztcblxuLyoqXG4gKiBBbGVydCBkaWFsb2cgZGF0YS5cbiAqL1xuZXhwb3J0IGludGVyZmFjZSBJRW50cnlBbGVydERpYWxvZ0RhdGEge1xuICAgIC8qKiBEaWFsb2cgaGVhZGVyIHRpdGxlICovXG4gICAgdGl0bGU6IHN0cmluZztcbiAgICAvKiogRGlhbG9nIGNvbnRlbnQgbWVzc2FnZSAqL1xuICAgIG1lc3NhZ2U6IHN0cmluZztcbiAgICAvKiogT3B0aW9uYWwgZGlhbG9nIGJ1dHRvbnMgaG9yaXpvbnRhbCBhbGlnbm1lbnQgKi9cbiAgICBidXR0b25zQWxpZ25tZW50OiBFbnRyeURpYWxvZ0J1dHRvbnNBbGlnbm1lbnQgfCB1bmRlZmluZWQ7XG4gICAgLyoqIE9wdGlvbmFsIGRpYWxvZyBjb25maXJtIHRleHQgbGFiZWwgKi9cbiAgICBjb25maXJtVGV4dD86IHN0cmluZyB8IHVuZGVmaW5lZDtcbiAgICAvKiogT3B0aW9uYWxseSBzaG93IG9yIGhpZGUgZGlhbG9nIGNsb3NlIGJ1dHRvbiAqL1xuICAgIGhpZGVDbG9zZTogYm9vbGVhbiB8IHVuZGVmaW5lZDtcbiAgICAvKiogT3B0aW9uYWxseSBkaXNhYmxlIGNsb3NpbmcgZGlhbG9nIHdoZW4gcHJlc3NpbmcgZXNjYXBlIG9yIGNsaWNraW5nIG9uIGJhY2tkcm9wICovXG4gICAgZGlzYWJsZUNsb3NlPzogYm9vbGVhbiB8IHVuZGVmaW5lZDtcbn1cbiJdfQ==
|
|
@@ -15,10 +15,10 @@ export class EntryAlertDialogComponent extends EntryDialogComponent {
|
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
EntryAlertDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EntryAlertDialogComponent, deps: [{ token: i1.MatDialogRef }, { token: ENTRY_DIALOG_CONFIG }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
18
|
-
EntryAlertDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: EntryAlertDialogComponent, selector: "entry-alert-dialog", usesInheritance: true, ngImport: i0, template: "<entry-dialog\n [title]=\"data.title\"\n [confirmButtonText]=\"data.confirmText ?? config.confirmButtonText\"\n [buttonsAlignment]=\"
|
|
18
|
+
EntryAlertDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: EntryAlertDialogComponent, selector: "entry-alert-dialog", usesInheritance: true, ngImport: i0, template: "<entry-dialog\n [title]=\"data.title\"\n [confirmButtonText]=\"data.confirmText ?? config.confirmButtonText\"\n [buttonsAlignment]=\"data.buttonsAlignment ?? config.buttonsAlignment\"\n [hideClose]=\"data.hideClose ?? config.hideClose\"\n [hideCancel]=\"true\">\n <p>{{data.message}}</p>\n</entry-dialog>", styles: [""], components: [{ type: i2.EntryDialogComponent, selector: "entry-dialog", inputs: ["title", "buttonsAlignment", "confirmButtonText", "cancelButtonText", "hideButtons", "hideCancel", "hideClose", "disableConfirm", "buttonsTemplate", "confirm", "cancel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
19
19
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EntryAlertDialogComponent, decorators: [{
|
|
20
20
|
type: Component,
|
|
21
|
-
args: [{ selector: 'entry-alert-dialog', changeDetection: ChangeDetectionStrategy.OnPush, template: "<entry-dialog\n [title]=\"data.title\"\n [confirmButtonText]=\"data.confirmText ?? config.confirmButtonText\"\n [buttonsAlignment]=\"
|
|
21
|
+
args: [{ selector: 'entry-alert-dialog', changeDetection: ChangeDetectionStrategy.OnPush, template: "<entry-dialog\n [title]=\"data.title\"\n [confirmButtonText]=\"data.confirmText ?? config.confirmButtonText\"\n [buttonsAlignment]=\"data.buttonsAlignment ?? config.buttonsAlignment\"\n [hideClose]=\"data.hideClose ?? config.hideClose\"\n [hideCancel]=\"true\">\n <p>{{data.message}}</p>\n</entry-dialog>", styles: [""] }]
|
|
22
22
|
}], ctorParameters: function () { return [{ type: i1.MatDialogRef }, { type: i3.EntryDialogConfig, decorators: [{
|
|
23
23
|
type: Inject,
|
|
24
24
|
args: [ENTRY_DIALOG_CONFIG]
|
|
@@ -26,4 +26,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
26
26
|
type: Inject,
|
|
27
27
|
args: [MAT_DIALOG_DATA]
|
|
28
28
|
}] }]; } });
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW50cnktYWxlcnQtZGlhbG9nLm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ubHkgbWREaWFsb2dSZWY6IE1hdERpYWxvZ1JlZjxFbnRyeURpYWxvZ0NvbXBvbmVudD4sXG4gICAgQEluamVjdChFTlRSWV9ESUFMT0dfQ09ORklHKSBwdWJsaWMgcmVhZG9ubHkgY29uZmlnOiBFbnRyeURpYWxvZ0NvbmZpZyxcbiAgICBASW5qZWN0KE1BVF9ESUFMT0dfREFUQSkgcHVibGljIGRhdGE6IElFbnRyeUFsZXJ0RGlhbG9nRGF0YSkge1xuICAgIHN1cGVyKG1kRGlhbG9nUmVmLCBjb25maWcpO1xuICB9XG59XG4iLCI8ZW50cnktZGlhbG9nXG4gICAgW3RpdGxlXT1cImRhdGEudGl0bGVcIlxuICAgIFtjb25maXJtQnV0dG9uVGV4dF09XCJkYXRhLmNvbmZpcm1UZXh0ID8/IGNvbmZpZy5jb25maXJtQnV0dG9uVGV4dFwiXG4gICAgW2J1dHRvbnNBbGlnbm1lbnRdPVwiZGF0YS5idXR0b25zQWxpZ25tZW50ID8/IGNvbmZpZy5idXR0b25zQWxpZ25tZW50XCJcbiAgICBbaGlkZUNsb3NlXT1cImRhdGEuaGlkZUNsb3NlID8/IGNvbmZpZy5oaWRlQ2xvc2VcIlxuICAgIFtoaWRlQ2FuY2VsXT1cInRydWVcIj5cbiAgICA8cD57e2RhdGEubWVzc2FnZX19PC9wPlxuPC9lbnRyeS1kaWFsb2c+Il19
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW50cnktY29uZmlybS1kaWFsb2ctZGF0YS5pbnRlcmZhY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9lbnRyeS1jb21wb25lbnRzL2RpYWxvZy9kaWFsb2dzL2NvbmZpcm0vZW50cnktY29uZmlybS1kaWFsb2ctZGF0YS5pbnRlcmZhY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElFbnRyeUFsZXJ0RGlhbG9nRGF0YSB9IGZyb20gJy4uL2FsZXJ0L2VudHJ5LWFsZXJ0LWRpYWxvZy1kYXRhLmludGVyZmFjZSc7XG5cbi8qKlxuICogQ29uZmlybSBkaWFsb2cgZGF0YS4gRXh0ZW5kcyBJRW50cnlBbGVydERpYWxvZ0RhdGEuXG4gKi9cbmV4cG9ydCBpbnRlcmZhY2UgSUVudHJ5Q29uZmlybURpYWxvZ0RhdGEgZXh0ZW5kcyBJRW50cnlBbGVydERpYWxvZ0RhdGEge1xuICAgIC8qKiBPcHRpb25hbCBkaWFsb2cgY2FuY2VsIHRleHQgbGFiZWwgKi9cbiAgICBjYW5jZWxUZXh0Pzogc3RyaW5nIHwgdW5kZWZpbmVkO1xufVxuIl19
|
|
@@ -15,10 +15,10 @@ export class EntryConfirmDialogComponent extends EntryDialogComponent {
|
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
EntryConfirmDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EntryConfirmDialogComponent, deps: [{ token: i1.MatDialogRef }, { token: ENTRY_DIALOG_CONFIG }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
18
|
-
EntryConfirmDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: EntryConfirmDialogComponent, selector: "entry-confirm-dialog", usesInheritance: true, ngImport: i0, template: "<entry-dialog\n [title]=\"data.title\"\n [confirmButtonText]=\"data.confirmText ?? config.confirmButtonText\"\n [cancelButtonText]=\"data.cancelText ?? config.cancelButtonText\"\n [buttonsAlignment]=\"
|
|
18
|
+
EntryConfirmDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: EntryConfirmDialogComponent, selector: "entry-confirm-dialog", usesInheritance: true, ngImport: i0, template: "<entry-dialog\n [title]=\"data.title\"\n [confirmButtonText]=\"data.confirmText ?? config.confirmButtonText\"\n [cancelButtonText]=\"data.cancelText ?? config.cancelButtonText\"\n [buttonsAlignment]=\"data.buttonsAlignment ?? config.buttonsAlignment\"\n [hideClose]=\"data.hideClose ?? config.hideClose\">\n <p>{{data.message}}</p>\n</entry-dialog>", styles: [""], components: [{ type: i2.EntryDialogComponent, selector: "entry-dialog", inputs: ["title", "buttonsAlignment", "confirmButtonText", "cancelButtonText", "hideButtons", "hideCancel", "hideClose", "disableConfirm", "buttonsTemplate", "confirm", "cancel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
19
19
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EntryConfirmDialogComponent, decorators: [{
|
|
20
20
|
type: Component,
|
|
21
|
-
args: [{ selector: 'entry-confirm-dialog', changeDetection: ChangeDetectionStrategy.OnPush, template: "<entry-dialog\n [title]=\"data.title\"\n [confirmButtonText]=\"data.confirmText ?? config.confirmButtonText\"\n [cancelButtonText]=\"data.cancelText ?? config.cancelButtonText\"\n [buttonsAlignment]=\"
|
|
21
|
+
args: [{ selector: 'entry-confirm-dialog', changeDetection: ChangeDetectionStrategy.OnPush, template: "<entry-dialog\n [title]=\"data.title\"\n [confirmButtonText]=\"data.confirmText ?? config.confirmButtonText\"\n [cancelButtonText]=\"data.cancelText ?? config.cancelButtonText\"\n [buttonsAlignment]=\"data.buttonsAlignment ?? config.buttonsAlignment\"\n [hideClose]=\"data.hideClose ?? config.hideClose\">\n <p>{{data.message}}</p>\n</entry-dialog>", styles: [""] }]
|
|
22
22
|
}], ctorParameters: function () { return [{ type: i1.MatDialogRef }, { type: i3.EntryDialogConfig, decorators: [{
|
|
23
23
|
type: Inject,
|
|
24
24
|
args: [ENTRY_DIALOG_CONFIG]
|
|
@@ -26,4 +26,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
26
26
|
type: Inject,
|
|
27
27
|
args: [MAT_DIALOG_DATA]
|
|
28
28
|
}] }]; } });
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW50cnktY29uZmlybS1kaWFsb2cuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZW50cnktY29tcG9uZW50cy9kaWFsb2cvZGlhbG9ncy9jb25maXJtL2VudHJ5LWNvbmZpcm0tZGlhbG9nLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2VudHJ5LWNvbXBvbmVudHMvZGlhbG9nL2RpYWxvZ3MvY29uZmlybS9lbnRyeS1jb25maXJtLWRpYWxvZy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzRSxPQUFPLEVBQUUsZUFBZSxFQUFnQixNQUFNLDBCQUEwQixDQUFDO0FBQ3pFLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBRWpFLE9BQU8sRUFBRSxtQkFBbUIsRUFBcUIsTUFBTSxpQ0FBaUMsQ0FBQzs7Ozs7QUFRekYsTUFBTSxPQUFPLDJCQUE0QixTQUFRLG9CQUFvQjtJQUNuRSxZQUNxQixXQUErQyxFQUNyQixNQUF5QixFQUNwQyxJQUE2QjtRQUMvRCxLQUFLLENBQUMsV0FBVyxFQUFFLE1BQU0sQ0FBQyxDQUFDO1FBSFIs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Q==
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component,
|
|
1
|
+
import { Component, Inject, Input } from '@angular/core';
|
|
2
2
|
import { of } from 'rxjs';
|
|
3
3
|
import { ENTRY_DIALOG_CONFIG } from '../entry-dialog-config.model';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -12,34 +12,37 @@ export class EntryDialogComponent {
|
|
|
12
12
|
constructor(mdDialogRef, config) {
|
|
13
13
|
this.mdDialogRef = mdDialogRef;
|
|
14
14
|
this.config = config;
|
|
15
|
-
/**
|
|
15
|
+
/** Dialog buttons horizontal alignment */
|
|
16
16
|
this.buttonsAlignment = this.config.buttonsAlignment;
|
|
17
|
-
/**
|
|
17
|
+
/** Confirm button label */
|
|
18
18
|
this.confirmButtonText = this.config.confirmButtonText;
|
|
19
|
-
/**
|
|
19
|
+
/** Cancel button label */
|
|
20
20
|
this.cancelButtonText = this.config.cancelButtonText;
|
|
21
|
-
/**
|
|
21
|
+
/** Show or hide dialog close button */
|
|
22
22
|
this.hideClose = this.config.hideClose;
|
|
23
23
|
this.confirm = () => of(true);
|
|
24
24
|
this.cancel = () => this.close(false);
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
25
|
+
// @HostListener('keydown.esc')
|
|
26
|
+
// onEsc = () => {
|
|
27
|
+
// if (!this.disableClose) {
|
|
28
|
+
// this.cancel();
|
|
29
|
+
// }
|
|
30
|
+
// };
|
|
31
|
+
this.onSubmit = () => this.confirm().subscribe({
|
|
32
|
+
next: closeDialog => {
|
|
33
|
+
if (closeDialog) {
|
|
34
|
+
this.close(closeDialog);
|
|
32
35
|
}
|
|
33
|
-
}
|
|
34
|
-
};
|
|
36
|
+
}
|
|
37
|
+
});
|
|
35
38
|
this.close = (value = true) => this.mdDialogRef.close(value);
|
|
36
39
|
}
|
|
37
40
|
}
|
|
38
41
|
EntryDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EntryDialogComponent, deps: [{ token: i1.MatDialogRef }, { token: ENTRY_DIALOG_CONFIG }], target: i0.ɵɵFactoryTarget.Component });
|
|
39
|
-
EntryDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: EntryDialogComponent, selector: "entry-dialog", inputs: { title: "title", buttonsAlignment: "buttonsAlignment", confirmButtonText: "confirmButtonText", cancelButtonText: "cancelButtonText", hideButtons: "hideButtons", hideCancel: "hideCancel", hideClose: "hideClose", disableConfirm: "disableConfirm", buttonsTemplate: "buttonsTemplate", confirm: "confirm", cancel: "cancel" },
|
|
42
|
+
EntryDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: EntryDialogComponent, selector: "entry-dialog", inputs: { title: "title", buttonsAlignment: "buttonsAlignment", confirmButtonText: "confirmButtonText", cancelButtonText: "cancelButtonText", hideButtons: "hideButtons", hideCancel: "hideCancel", hideClose: "hideClose", disableConfirm: "disableConfirm", buttonsTemplate: "buttonsTemplate", confirm: "confirm", cancel: "cancel" }, ngImport: i0, template: "<div class=\"dialog-form\">\n <div class=\"dialog-header\">\n <h1 class=\"dialog-title\">{{title}}</h1>\n\n <button *ngIf=\"!hideClose\" type=\"button\" class=\"dialog-close-button\" (click)=\"cancel()\">\n <span class=\"icon-close dialog-close-icon\"></span>\n </button>\n </div>\n\n <mat-dialog-content class=\"dialog-content\" [ngClass]=\"{'with-actions': !hideButtons}\">\n <ng-content></ng-content>\n </mat-dialog-content>\n\n <ng-template [ngIf]=\"buttonsTemplate\" [ngIfElse]=\"defaultButtonsTemplate\">\n <ng-template [ngTemplateOutlet]=\"buttonsTemplate\"></ng-template>\n </ng-template>\n\n <ng-template #defaultButtonsTemplate>\n <div *ngIf=\"!hideButtons\" class=\"dialog-footer {{ buttonsAlignment }}\">\n <button\n cdkFocusInitial\n type=\"button\"\n class=\"button button-accent dialog-footer-button\"\n (click)=\"onSubmit()\">{{confirmButtonText}}</button>\n <button\n *ngIf=\"!hideCancel\"\n type=\"button\"\n class=\"button button-primary dialog-footer-button\"\n (click)=\"cancel()\">{{cancelButtonText}}</button>\n </div>\n </ng-template>\n</div>", styles: [".align-center{margin:auto}\n"], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
40
43
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EntryDialogComponent, decorators: [{
|
|
41
44
|
type: Component,
|
|
42
|
-
args: [{ selector: 'entry-dialog', template: "<div class=\"dialog-form\">\n <div class=\"dialog-header\">\n <h1 class=\"dialog-title\">{{title}}</h1>\n\n <button *ngIf=\"!hideClose\" type=\"button\" class=\"dialog-close-button\" (click)=\"cancel()\">\n <span class=\"icon-close dialog-close-icon\"></span>\n </button>\n </div>\n\n <mat-dialog-content class=\"dialog-content\" [ngClass]=\"{'with-actions': !hideButtons}\">\n <ng-content></ng-content>\n </mat-dialog-content>\n\n <ng-template [ngIf]=\"buttonsTemplate\" [ngIfElse]=\"defaultButtonsTemplate\">\n <ng-template [ngTemplateOutlet]=\"buttonsTemplate\"></ng-template>\n </ng-template>\n\n <ng-template #defaultButtonsTemplate>\n <div *ngIf=\"!hideButtons\" class=\"dialog-footer {{ buttonsAlignment }}\">\n <button\n type=\"button\"\n class=\"button button-accent dialog-footer-button\"\n
|
|
45
|
+
args: [{ selector: 'entry-dialog', template: "<div class=\"dialog-form\">\n <div class=\"dialog-header\">\n <h1 class=\"dialog-title\">{{title}}</h1>\n\n <button *ngIf=\"!hideClose\" type=\"button\" class=\"dialog-close-button\" (click)=\"cancel()\">\n <span class=\"icon-close dialog-close-icon\"></span>\n </button>\n </div>\n\n <mat-dialog-content class=\"dialog-content\" [ngClass]=\"{'with-actions': !hideButtons}\">\n <ng-content></ng-content>\n </mat-dialog-content>\n\n <ng-template [ngIf]=\"buttonsTemplate\" [ngIfElse]=\"defaultButtonsTemplate\">\n <ng-template [ngTemplateOutlet]=\"buttonsTemplate\"></ng-template>\n </ng-template>\n\n <ng-template #defaultButtonsTemplate>\n <div *ngIf=\"!hideButtons\" class=\"dialog-footer {{ buttonsAlignment }}\">\n <button\n cdkFocusInitial\n type=\"button\"\n class=\"button button-accent dialog-footer-button\"\n (click)=\"onSubmit()\">{{confirmButtonText}}</button>\n <button\n *ngIf=\"!hideCancel\"\n type=\"button\"\n class=\"button button-primary dialog-footer-button\"\n (click)=\"cancel()\">{{cancelButtonText}}</button>\n </div>\n </ng-template>\n</div>", styles: [".align-center{margin:auto}\n"] }]
|
|
43
46
|
}], ctorParameters: function () { return [{ type: i1.MatDialogRef }, { type: i3.EntryDialogConfig, decorators: [{
|
|
44
47
|
type: Inject,
|
|
45
48
|
args: [ENTRY_DIALOG_CONFIG]
|
|
@@ -65,8 +68,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
65
68
|
type: Input
|
|
66
69
|
}], cancel: [{
|
|
67
70
|
type: Input
|
|
68
|
-
}], onEsc: [{
|
|
69
|
-
type: HostListener,
|
|
70
|
-
args: ['keydown.esc']
|
|
71
71
|
}] } });
|
|
72
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
72
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW50cnktZGlhbG9nLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2VudHJ5LWNvbXBvbmVudHMvZGlh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AgPGJ1dHRvblxuICAgICAgICAgICAgICAgICpuZ0lmPVwiIWhpZGVDYW5jZWxcIlxuICAgICAgICAgICAgICAgIHR5cGU9XCJidXR0b25cIlxuICAgICAgICAgICAgICAgIGNsYXNzPVwiYnV0dG9uIGJ1dHRvbi1wcmltYXJ5IGRpYWxvZy1mb290ZXItYnV0dG9uXCJcbiAgICAgICAgICAgICAgICAoY2xpY2spPVwiY2FuY2VsKClcIj57e2NhbmNlbEJ1dHRvblRleHR9fTwvYnV0dG9uPlxuICAgICAgICA8L2Rpdj5cbiAgICA8L25nLXRlbXBsYXRlPlxuPC9kaXY+Il19
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW50cnktZGlhbG9nLWJ1dHRvbnMtYWxpZ25tZW50LnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9lbnRyeS1jb21wb25lbnRzL2RpYWxvZy9lbnRyeS1kaWFsb2ctYnV0dG9ucy1hbGlnbm1lbnQudHlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiLyoqIERlZmluZXMgaG9yaXpvbnRhbCBhbGlnbm1lbnQgb2YgZGlhbG9nIGJ1dHRvbnMuICovXG5leHBvcnQgdHlwZSBFbnRyeURpYWxvZ0J1dHRvbnNBbGlnbm1lbnQgPSAnYWxpZ24tcmlnaHQnIHwgJ2FsaWduLWNlbnRlcicgfCAnJztcbiJdfQ==
|