/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** Configuration for opening a modal dialog. */ export class DialogConfig { constructor() { /** The ARIA role of the dialog element. */ this.role = 'dialog'; /** Optional CSS class or classes applied to the overlay panel. */ this.panelClass = ''; /** Whether the dialog has a backdrop. */ this.hasBackdrop = true; /** Optional CSS class or classes applied to the overlay backdrop. */ this.backdropClass = ''; /** Whether the dialog closes with the escape key or pointer events outside the panel element. */ this.disableClose = false; /** Width of the dialog. */ this.width = ''; /** Height of the dialog. */ this.height = ''; /** Data being injected into the child component. */ this.data = null; /** ID of the element that describes the dialog. */ this.ariaDescribedBy = null; /** ID of the element that labels the dialog. */ this.ariaLabelledBy = null; /** Dialog label applied via `aria-label` */ this.ariaLabel = null; /** Whether this is a modal dialog. Used to set the `aria-modal` attribute. */ this.ariaModal = true; /** * Where the dialog should focus on open. * @breaking-change 14.0.0 Remove boolean option from autoFocus. Use string or * AutoFocusTarget instead. */ this.autoFocus = 'first-tabbable'; /** * Whether the dialog should restore focus to the previously-focused element upon closing. * Has the following behavior based on the type that is passed in: * - `boolean` - when true, will return focus to the element that was focused before the dialog * was opened, otherwise won't restore focus at all. * - `string` - focus will be restored to the first element that matches the CSS selector. * - `HTMLElement` - focus will be restored to the specific element. */ this.restoreFocus = true; /** * Whether the dialog should close when the user navigates backwards or forwards through browser * history. This does not apply to navigation via anchor element unless using URL-hash based * routing (`HashLocationStrategy` in the Angular router). */ this.closeOnNavigation = true; /** * Whether the dialog should close when the dialog service is destroyed. This is useful if * another service is wrapping the dialog and is managing the destruction instead. */ this.closeOnDestroy = true; /** * Whether the dialog should close when the underlying overlay is detached. This is useful if * another service is wrapping the dialog and is managing the destruction instead. E.g. an * external detachment can happen as a result of a scroll strategy triggering it or when the * browser location changes. */ this.closeOnOverlayDetachments = true; } } //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlhbG9nLWNvbmZ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