(value: Direction)
| 38 | import {DEFAULT_DIALOG_CONFIG, DIALOG_DATA, DIALOG_SCROLL_STRATEGY} from './dialog-injectors'; |
| 39 | |
| 40 | function getDirectionality(value: Direction): Directionality { |
| 41 | const valueSignal = signal(value); |
| 42 | const change = new EventEmitter<Direction>(); |
| 43 | return { |
| 44 | valueSignal, |
| 45 | get value() { |
| 46 | return valueSignal(); |
| 47 | }, |
| 48 | change, |
| 49 | ngOnDestroy() { |
| 50 | change.complete(); |
| 51 | }, |
| 52 | }; |
| 53 | } |
| 54 | |
| 55 | @Service() |
| 56 | export class Dialog implements OnDestroy { |
no test coverage detected