devextreme-angular
Version:
Angular UI and visualization components based on DevExtreme widgets
1 lines • 63.1 kB
Source Map (JSON)
{"version":3,"file":"devextreme-angular-ui-popup.mjs","sources":["../../../dist/ui/popup/component.ts","../../../dist/ui/popup/service/service.component.ts","../../../dist/ui/popup/service/service.ts","../../../dist/ui/popup/index.ts","../../../dist/ui/popup/devextreme-angular-ui-popup.ts"],"sourcesContent":["/*!\n * devextreme-angular\n * Version: 24.2.6\n * Build date: Mon Mar 17 2025\n *\n * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED\n *\n * This software may be modified and distributed under the terms\n * of the MIT license. See the LICENSE file in the root of the project for details.\n *\n * https://github.com/DevExpress/devextreme-angular\n */\n\n/* tslint:disable:max-line-length */\r\n\r\n\r\nimport {\r\n TransferState,\r\n Component,\r\n NgModule,\r\n ElementRef,\r\n NgZone,\r\n PLATFORM_ID,\r\n Inject,\r\n\r\n Input,\r\n Output,\r\n OnDestroy,\r\n EventEmitter,\r\n OnChanges,\r\n DoCheck,\r\n SimpleChanges,\r\n ContentChildren,\r\n QueryList\r\n} from '@angular/core';\r\n\r\n\r\nimport { AnimationConfig, PositionConfig } from 'devextreme/common/core/animation';\r\nimport { event } from 'devextreme/events/events.types';\r\nimport { EventInfo } from 'devextreme/common/core/events';\r\nimport { PositionAlignment } from 'devextreme/common';\r\nimport { dxPopupToolbarItem } from 'devextreme/ui/popup';\r\n\r\nimport DxPopup from 'devextreme/ui/popup';\r\n\r\n\r\nimport {\r\n DxComponent,\r\n DxTemplateHost,\r\n DxIntegrationModule,\r\n DxTemplateModule,\r\n NestedOptionHost,\r\n IterableDifferHelper,\r\n WatcherHelper\r\n} from 'devextreme-angular/core';\r\n\r\nimport { DxoAnimationModule } from 'devextreme-angular/ui/nested';\r\nimport { DxoHideModule } from 'devextreme-angular/ui/nested';\r\nimport { DxoFromModule } from 'devextreme-angular/ui/nested';\r\nimport { DxoPositionModule } from 'devextreme-angular/ui/nested';\r\nimport { DxoAtModule } from 'devextreme-angular/ui/nested';\r\nimport { DxoBoundaryOffsetModule } from 'devextreme-angular/ui/nested';\r\nimport { DxoCollisionModule } from 'devextreme-angular/ui/nested';\r\nimport { DxoMyModule } from 'devextreme-angular/ui/nested';\r\nimport { DxoOffsetModule } from 'devextreme-angular/ui/nested';\r\nimport { DxoToModule } from 'devextreme-angular/ui/nested';\r\nimport { DxoShowModule } from 'devextreme-angular/ui/nested';\r\n\r\nimport { DxoPopupAnimationModule } from 'devextreme-angular/ui/popup/nested';\r\nimport { DxoPopupAtModule } from 'devextreme-angular/ui/popup/nested';\r\nimport { DxoPopupBoundaryOffsetModule } from 'devextreme-angular/ui/popup/nested';\r\nimport { DxoPopupCollisionModule } from 'devextreme-angular/ui/popup/nested';\r\nimport { DxoPopupFromModule } from 'devextreme-angular/ui/popup/nested';\r\nimport { DxoPopupHideModule } from 'devextreme-angular/ui/popup/nested';\r\nimport { DxoPopupMyModule } from 'devextreme-angular/ui/popup/nested';\r\nimport { DxoPopupOffsetModule } from 'devextreme-angular/ui/popup/nested';\r\nimport { DxoPopupPositionModule } from 'devextreme-angular/ui/popup/nested';\r\nimport { DxoPopupShowModule } from 'devextreme-angular/ui/popup/nested';\r\nimport { DxoPopupToModule } from 'devextreme-angular/ui/popup/nested';\r\nimport { DxiPopupToolbarItemModule } from 'devextreme-angular/ui/popup/nested';\r\n\r\n\r\nimport { DxiPopupToolbarItemComponent } from 'devextreme-angular/ui/popup/nested';\r\n\r\n\r\n/**\r\n * The Popup UI component is a pop-up window overlaying the current view.\r\n\r\n */\r\n@Component({\r\n selector: 'dx-popup',\r\n template: '<ng-content></ng-content>',\r\n host: { ngSkipHydration: 'true' },\r\n providers: [\r\n DxTemplateHost,\r\n WatcherHelper,\r\n NestedOptionHost,\r\n IterableDifferHelper\r\n ]\r\n})\r\nexport class DxPopupComponent extends DxComponent implements OnDestroy, OnChanges, DoCheck {\r\n instance: DxPopup = null;\r\n\r\n /**\r\n * Specifies the shortcut key that sets focus on the UI component.\r\n \r\n */\r\n @Input()\r\n get accessKey(): string | undefined {\r\n return this._getOption('accessKey');\r\n }\r\n set accessKey(value: string | undefined) {\r\n this._setOption('accessKey', value);\r\n }\r\n\r\n\r\n /**\r\n * Configures UI component visibility animations. This object contains two fields: show and hide.\r\n \r\n */\r\n @Input()\r\n get animation(): { hide?: AnimationConfig, show?: AnimationConfig } {\r\n return this._getOption('animation');\r\n }\r\n set animation(value: { hide?: AnimationConfig, show?: AnimationConfig }) {\r\n this._setOption('animation', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies whether to close the UI component if a user clicks outside it.\r\n \r\n * @deprecated Use the hideOnOutsideClick option instead.\r\n \r\n */\r\n @Input()\r\n get closeOnOutsideClick(): boolean | ((event: event) => boolean) {\r\n return this._getOption('closeOnOutsideClick');\r\n }\r\n set closeOnOutsideClick(value: boolean | ((event: event) => boolean)) {\r\n this._setOption('closeOnOutsideClick', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies the container in which to render the UI component.\r\n \r\n */\r\n @Input()\r\n get container(): any | string | undefined {\r\n return this._getOption('container');\r\n }\r\n set container(value: any | string | undefined) {\r\n this._setOption('container', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies a custom template for the UI component content.\r\n \r\n */\r\n @Input()\r\n get contentTemplate(): any {\r\n return this._getOption('contentTemplate');\r\n }\r\n set contentTemplate(value: any) {\r\n this._setOption('contentTemplate', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies whether to render the UI component's content when it is displayed. If false, the content is rendered immediately.\r\n \r\n */\r\n @Input()\r\n get deferRendering(): boolean {\r\n return this._getOption('deferRendering');\r\n }\r\n set deferRendering(value: boolean) {\r\n this._setOption('deferRendering', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies whether the UI component responds to user interaction.\r\n \r\n */\r\n @Input()\r\n get disabled(): boolean {\r\n return this._getOption('disabled');\r\n }\r\n set disabled(value: boolean) {\r\n this._setOption('disabled', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies an element with boundaries within which users can drag and resize the Popup. Ignored if the dragOutsideBoundary property is set to true.\r\n \r\n */\r\n @Input()\r\n get dragAndResizeArea(): any | string | undefined {\r\n return this._getOption('dragAndResizeArea');\r\n }\r\n set dragAndResizeArea(value: any | string | undefined) {\r\n this._setOption('dragAndResizeArea', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies whether or not to allow a user to drag the popup window.\r\n \r\n */\r\n @Input()\r\n get dragEnabled(): boolean {\r\n return this._getOption('dragEnabled');\r\n }\r\n set dragEnabled(value: boolean) {\r\n this._setOption('dragEnabled', value);\r\n }\r\n\r\n\r\n /**\r\n * Allows users to drag the Popup within the browser window or beyond the window's borders.\r\n \r\n */\r\n @Input()\r\n get dragOutsideBoundary(): boolean {\r\n return this._getOption('dragOutsideBoundary');\r\n }\r\n set dragOutsideBoundary(value: boolean) {\r\n this._setOption('dragOutsideBoundary', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies whether to enable page scrolling when the UI component is visible.\r\n \r\n */\r\n @Input()\r\n get enableBodyScroll(): boolean {\r\n return this._getOption('enableBodyScroll');\r\n }\r\n set enableBodyScroll(value: boolean) {\r\n this._setOption('enableBodyScroll', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies whether the UI component can be focused using keyboard navigation.\r\n \r\n */\r\n @Input()\r\n get focusStateEnabled(): boolean {\r\n return this._getOption('focusStateEnabled');\r\n }\r\n set focusStateEnabled(value: boolean) {\r\n this._setOption('focusStateEnabled', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies whether to display the Popup in full-screen mode.\r\n \r\n */\r\n @Input()\r\n get fullScreen(): boolean {\r\n return this._getOption('fullScreen');\r\n }\r\n set fullScreen(value: boolean) {\r\n this._setOption('fullScreen', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies the UI component's height.\r\n \r\n */\r\n @Input()\r\n get height(): (() => number | string) | number | string {\r\n return this._getOption('height');\r\n }\r\n set height(value: (() => number | string) | number | string) {\r\n this._setOption('height', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies whether to hide the UI component if a user clicks outside it.\r\n \r\n */\r\n @Input()\r\n get hideOnOutsideClick(): boolean | ((event: event) => boolean) {\r\n return this._getOption('hideOnOutsideClick');\r\n }\r\n set hideOnOutsideClick(value: boolean | ((event: event) => boolean)) {\r\n this._setOption('hideOnOutsideClick', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies whether to hide the widget when users scroll one of its parent elements.\r\n \r\n */\r\n @Input()\r\n get hideOnParentScroll(): boolean {\r\n return this._getOption('hideOnParentScroll');\r\n }\r\n set hideOnParentScroll(value: boolean) {\r\n this._setOption('hideOnParentScroll', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies text for a hint that appears when a user pauses on the UI component.\r\n \r\n */\r\n @Input()\r\n get hint(): string | undefined {\r\n return this._getOption('hint');\r\n }\r\n set hint(value: string | undefined) {\r\n this._setOption('hint', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies whether the UI component changes its state when a user pauses on it.\r\n \r\n */\r\n @Input()\r\n get hoverStateEnabled(): boolean {\r\n return this._getOption('hoverStateEnabled');\r\n }\r\n set hoverStateEnabled(value: boolean) {\r\n this._setOption('hoverStateEnabled', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies the maximum height the UI component can reach while resizing.\r\n \r\n */\r\n @Input()\r\n get maxHeight(): (() => number | string) | number | string {\r\n return this._getOption('maxHeight');\r\n }\r\n set maxHeight(value: (() => number | string) | number | string) {\r\n this._setOption('maxHeight', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies the maximum width the UI component can reach while resizing.\r\n \r\n */\r\n @Input()\r\n get maxWidth(): (() => number | string) | number | string {\r\n return this._getOption('maxWidth');\r\n }\r\n set maxWidth(value: (() => number | string) | number | string) {\r\n this._setOption('maxWidth', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies the minimum height the UI component can reach while resizing.\r\n \r\n */\r\n @Input()\r\n get minHeight(): (() => number | string) | number | string {\r\n return this._getOption('minHeight');\r\n }\r\n set minHeight(value: (() => number | string) | number | string) {\r\n this._setOption('minHeight', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies the minimum width the UI component can reach while resizing.\r\n \r\n */\r\n @Input()\r\n get minWidth(): (() => number | string) | number | string {\r\n return this._getOption('minWidth');\r\n }\r\n set minWidth(value: (() => number | string) | number | string) {\r\n this._setOption('minWidth', value);\r\n }\r\n\r\n\r\n /**\r\n * Positions the UI component.\r\n \r\n */\r\n @Input()\r\n get position(): Function | PositionAlignment | PositionConfig {\r\n return this._getOption('position');\r\n }\r\n set position(value: Function | PositionAlignment | PositionConfig) {\r\n this._setOption('position', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies whether or not an end user can resize the UI component.\r\n \r\n */\r\n @Input()\r\n get resizeEnabled(): boolean {\r\n return this._getOption('resizeEnabled');\r\n }\r\n set resizeEnabled(value: boolean) {\r\n this._setOption('resizeEnabled', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies whether to display the widget at the initial position when users reopen it.\r\n \r\n */\r\n @Input()\r\n get restorePosition(): boolean {\r\n return this._getOption('restorePosition');\r\n }\r\n set restorePosition(value: boolean) {\r\n this._setOption('restorePosition', value);\r\n }\r\n\r\n\r\n /**\r\n * Switches the UI component to a right-to-left representation.\r\n \r\n */\r\n @Input()\r\n get rtlEnabled(): boolean {\r\n return this._getOption('rtlEnabled');\r\n }\r\n set rtlEnabled(value: boolean) {\r\n this._setOption('rtlEnabled', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies whether to shade the background when the UI component is active.\r\n \r\n */\r\n @Input()\r\n get shading(): boolean {\r\n return this._getOption('shading');\r\n }\r\n set shading(value: boolean) {\r\n this._setOption('shading', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies the shading color. Applies only if shading is enabled.\r\n \r\n */\r\n @Input()\r\n get shadingColor(): string {\r\n return this._getOption('shadingColor');\r\n }\r\n set shadingColor(value: string) {\r\n this._setOption('shadingColor', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies whether or not the UI component displays the Close button.\r\n \r\n */\r\n @Input()\r\n get showCloseButton(): boolean {\r\n return this._getOption('showCloseButton');\r\n }\r\n set showCloseButton(value: boolean) {\r\n this._setOption('showCloseButton', value);\r\n }\r\n\r\n\r\n /**\r\n * A Boolean value specifying whether or not to display the title in the popup window.\r\n \r\n */\r\n @Input()\r\n get showTitle(): boolean {\r\n return this._getOption('showTitle');\r\n }\r\n set showTitle(value: boolean) {\r\n this._setOption('showTitle', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies the number of the element when the Tab key is used for navigating.\r\n \r\n */\r\n @Input()\r\n get tabIndex(): number {\r\n return this._getOption('tabIndex');\r\n }\r\n set tabIndex(value: number) {\r\n this._setOption('tabIndex', value);\r\n }\r\n\r\n\r\n /**\r\n * The title in the overlay window.\r\n \r\n */\r\n @Input()\r\n get title(): string {\r\n return this._getOption('title');\r\n }\r\n set title(value: string) {\r\n this._setOption('title', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies a custom template for the UI component title. Does not apply if the title is defined.\r\n \r\n */\r\n @Input()\r\n get titleTemplate(): any {\r\n return this._getOption('titleTemplate');\r\n }\r\n set titleTemplate(value: any) {\r\n this._setOption('titleTemplate', value);\r\n }\r\n\r\n\r\n /**\r\n * Configures toolbar items.\r\n \r\n */\r\n @Input()\r\n get toolbarItems(): Array<dxPopupToolbarItem> {\r\n return this._getOption('toolbarItems');\r\n }\r\n set toolbarItems(value: Array<dxPopupToolbarItem>) {\r\n this._setOption('toolbarItems', value);\r\n }\r\n\r\n\r\n /**\r\n * A Boolean value specifying whether or not the UI component is visible.\r\n \r\n */\r\n @Input()\r\n get visible(): boolean {\r\n return this._getOption('visible');\r\n }\r\n set visible(value: boolean) {\r\n this._setOption('visible', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies the UI component's width.\r\n \r\n */\r\n @Input()\r\n get width(): (() => number | string) | number | string {\r\n return this._getOption('width');\r\n }\r\n set width(value: (() => number | string) | number | string) {\r\n this._setOption('width', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies the global attributes for the UI component's wrapper element.\r\n \r\n */\r\n @Input()\r\n get wrapperAttr(): any {\r\n return this._getOption('wrapperAttr');\r\n }\r\n set wrapperAttr(value: any) {\r\n this._setOption('wrapperAttr', value);\r\n }\r\n\r\n /**\r\n \r\n * A function that is executed when the UI component is rendered and each time the component is repainted.\r\n \r\n \r\n */\r\n @Output() onContentReady: EventEmitter<EventInfo<any>>;\r\n\r\n /**\r\n \r\n * A function that is executed before the UI component is disposed of.\r\n \r\n \r\n */\r\n @Output() onDisposing: EventEmitter<EventInfo<any>>;\r\n\r\n /**\r\n \r\n * A function that is executed after the UI component is hidden.\r\n \r\n \r\n */\r\n @Output() onHidden: EventEmitter<EventInfo<any>>;\r\n\r\n /**\r\n \r\n * A function that is executed before the UI component is hidden.\r\n \r\n \r\n */\r\n @Output() onHiding: EventEmitter<Object>;\r\n\r\n /**\r\n \r\n * A function used in JavaScript frameworks to save the UI component instance.\r\n \r\n \r\n */\r\n @Output() onInitialized: EventEmitter<Object>;\r\n\r\n /**\r\n \r\n * A function that is executed after a UI component property is changed.\r\n \r\n \r\n */\r\n @Output() onOptionChanged: EventEmitter<Object>;\r\n\r\n /**\r\n \r\n * A function that is executed each time the UI component is resized by one pixel.\r\n \r\n \r\n */\r\n @Output() onResize: EventEmitter<Object>;\r\n\r\n /**\r\n \r\n * A function that is executed when resizing ends.\r\n \r\n \r\n */\r\n @Output() onResizeEnd: EventEmitter<Object>;\r\n\r\n /**\r\n \r\n * A function that is executed when resizing starts.\r\n \r\n \r\n */\r\n @Output() onResizeStart: EventEmitter<Object>;\r\n\r\n /**\r\n \r\n * A function that is executed before the UI component is displayed.\r\n \r\n \r\n */\r\n @Output() onShowing: EventEmitter<Object>;\r\n\r\n /**\r\n \r\n * A function that is executed after the UI component is displayed.\r\n \r\n \r\n */\r\n @Output() onShown: EventEmitter<EventInfo<any>>;\r\n\r\n /**\r\n \r\n * A function that is executed when the UI component's title is rendered.\r\n \r\n \r\n */\r\n @Output() onTitleRendered: EventEmitter<Object>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() accessKeyChange: EventEmitter<string | undefined>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() animationChange: EventEmitter<{ hide?: AnimationConfig, show?: AnimationConfig }>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() closeOnOutsideClickChange: EventEmitter<boolean | ((event: event) => boolean)>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() containerChange: EventEmitter<any | string | undefined>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() contentTemplateChange: EventEmitter<any>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() deferRenderingChange: EventEmitter<boolean>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() disabledChange: EventEmitter<boolean>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() dragAndResizeAreaChange: EventEmitter<any | string | undefined>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() dragEnabledChange: EventEmitter<boolean>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() dragOutsideBoundaryChange: EventEmitter<boolean>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() enableBodyScrollChange: EventEmitter<boolean>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() focusStateEnabledChange: EventEmitter<boolean>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() fullScreenChange: EventEmitter<boolean>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() heightChange: EventEmitter<(() => number | string) | number | string>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() hideOnOutsideClickChange: EventEmitter<boolean | ((event: event) => boolean)>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() hideOnParentScrollChange: EventEmitter<boolean>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() hintChange: EventEmitter<string | undefined>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() hoverStateEnabledChange: EventEmitter<boolean>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() maxHeightChange: EventEmitter<(() => number | string) | number | string>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() maxWidthChange: EventEmitter<(() => number | string) | number | string>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() minHeightChange: EventEmitter<(() => number | string) | number | string>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() minWidthChange: EventEmitter<(() => number | string) | number | string>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() positionChange: EventEmitter<Function | PositionAlignment | PositionConfig>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() resizeEnabledChange: EventEmitter<boolean>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() restorePositionChange: EventEmitter<boolean>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() rtlEnabledChange: EventEmitter<boolean>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() shadingChange: EventEmitter<boolean>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() shadingColorChange: EventEmitter<string>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() showCloseButtonChange: EventEmitter<boolean>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() showTitleChange: EventEmitter<boolean>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() tabIndexChange: EventEmitter<number>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() titleChange: EventEmitter<string>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() titleTemplateChange: EventEmitter<any>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() toolbarItemsChange: EventEmitter<Array<dxPopupToolbarItem>>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() visibleChange: EventEmitter<boolean>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() widthChange: EventEmitter<(() => number | string) | number | string>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() wrapperAttrChange: EventEmitter<any>;\r\n\r\n\r\n\r\n\r\n @ContentChildren(DxiPopupToolbarItemComponent)\r\n get toolbarItemsChildren(): QueryList<DxiPopupToolbarItemComponent> {\r\n return this._getOption('toolbarItems');\r\n }\r\n set toolbarItemsChildren(value) {\r\n this._setChildren('toolbarItems', value, 'DxiPopupToolbarItemComponent');\r\n }\r\n\r\n\r\n\r\n\r\n\r\n constructor(elementRef: ElementRef, ngZone: NgZone, templateHost: DxTemplateHost,\r\n private _watcherHelper: WatcherHelper,\r\n private _idh: IterableDifferHelper,\r\n optionHost: NestedOptionHost,\r\n transferState: TransferState,\r\n @Inject(PLATFORM_ID) platformId: any) {\r\n\r\n super(elementRef, ngZone, templateHost, _watcherHelper, transferState, platformId);\r\n\r\n this._createEventEmitters([\r\n { subscribe: 'contentReady', emit: 'onContentReady' },\r\n { subscribe: 'disposing', emit: 'onDisposing' },\r\n { subscribe: 'hidden', emit: 'onHidden' },\r\n { subscribe: 'hiding', emit: 'onHiding' },\r\n { subscribe: 'initialized', emit: 'onInitialized' },\r\n { subscribe: 'optionChanged', emit: 'onOptionChanged' },\r\n { subscribe: 'resize', emit: 'onResize' },\r\n { subscribe: 'resizeEnd', emit: 'onResizeEnd' },\r\n { subscribe: 'resizeStart', emit: 'onResizeStart' },\r\n { subscribe: 'showing', emit: 'onShowing' },\r\n { subscribe: 'shown', emit: 'onShown' },\r\n { subscribe: 'titleRendered', emit: 'onTitleRendered' },\r\n { emit: 'accessKeyChange' },\r\n { emit: 'animationChange' },\r\n { emit: 'closeOnOutsideClickChange' },\r\n { emit: 'containerChange' },\r\n { emit: 'contentTemplateChange' },\r\n { emit: 'deferRenderingChange' },\r\n { emit: 'disabledChange' },\r\n { emit: 'dragAndResizeAreaChange' },\r\n { emit: 'dragEnabledChange' },\r\n { emit: 'dragOutsideBoundaryChange' },\r\n { emit: 'enableBodyScrollChange' },\r\n { emit: 'focusStateEnabledChange' },\r\n { emit: 'fullScreenChange' },\r\n { emit: 'heightChange' },\r\n { emit: 'hideOnOutsideClickChange' },\r\n { emit: 'hideOnParentScrollChange' },\r\n { emit: 'hintChange' },\r\n { emit: 'hoverStateEnabledChange' },\r\n { emit: 'maxHeightChange' },\r\n { emit: 'maxWidthChange' },\r\n { emit: 'minHeightChange' },\r\n { emit: 'minWidthChange' },\r\n { emit: 'positionChange' },\r\n { emit: 'resizeEnabledChange' },\r\n { emit: 'restorePositionChange' },\r\n { emit: 'rtlEnabledChange' },\r\n { emit: 'shadingChange' },\r\n { emit: 'shadingColorChange' },\r\n { emit: 'showCloseButtonChange' },\r\n { emit: 'showTitleChange' },\r\n { emit: 'tabIndexChange' },\r\n { emit: 'titleChange' },\r\n { emit: 'titleTemplateChange' },\r\n { emit: 'toolbarItemsChange' },\r\n { emit: 'visibleChange' },\r\n { emit: 'widthChange' },\r\n { emit: 'wrapperAttrChange' }\r\n ]);\r\n\r\n this._idh.setHost(this);\r\n optionHost.setHost(this);\r\n }\r\n\r\n protected _createInstance(element, options) {\r\n\r\n return new DxPopup(element, options);\r\n }\r\n\r\n\r\n ngOnDestroy() {\r\n this._destroyWidget();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n super.ngOnChanges(changes);\r\n this.setupChanges('toolbarItems', changes);\r\n }\r\n\r\n setupChanges(prop: string, changes: SimpleChanges) {\r\n if (!(prop in this._optionsToUpdate)) {\r\n this._idh.setup(prop, changes);\r\n }\r\n }\r\n\r\n ngDoCheck() {\r\n this._idh.doCheck('toolbarItems');\r\n this._watcherHelper.checkWatchers();\r\n super.ngDoCheck();\r\n super.clearChangedOptions();\r\n }\r\n\r\n _setOption(name: string, value: any) {\r\n let isSetup = this._idh.setupSingle(name, value);\r\n let isChanged = this._idh.getChanges(name, value) !== null;\r\n\r\n if (isSetup || isChanged) {\r\n super._setOption(name, value);\r\n }\r\n }\r\n}\r\n\r\n@NgModule({\r\n imports: [\r\n DxoAnimationModule,\r\n DxoHideModule,\r\n DxoFromModule,\r\n DxoPositionModule,\r\n DxoAtModule,\r\n DxoBoundaryOffsetModule,\r\n DxoCollisionModule,\r\n DxoMyModule,\r\n DxoOffsetModule,\r\n DxoToModule,\r\n DxoShowModule,\r\n DxoPopupAnimationModule,\r\n DxoPopupAtModule,\r\n DxoPopupBoundaryOffsetModule,\r\n DxoPopupCollisionModule,\r\n DxoPopupFromModule,\r\n DxoPopupHideModule,\r\n DxoPopupMyModule,\r\n DxoPopupOffsetModule,\r\n DxoPopupPositionModule,\r\n DxoPopupShowModule,\r\n DxoPopupToModule,\r\n DxiPopupToolbarItemModule,\r\n DxIntegrationModule,\r\n DxTemplateModule\r\n ],\r\n declarations: [\r\n DxPopupComponent\r\n ],\r\n exports: [\r\n DxPopupComponent,\r\n DxoAnimationModule,\r\n DxoHideModule,\r\n DxoFromModule,\r\n DxoPositionModule,\r\n DxoAtModule,\r\n DxoBoundaryOffsetModule,\r\n DxoCollisionModule,\r\n DxoMyModule,\r\n DxoOffsetModule,\r\n DxoToModule,\r\n DxoShowModule,\r\n DxoPopupAnimationModule,\r\n DxoPopupAtModule,\r\n DxoPopupBoundaryOffsetModule,\r\n DxoPopupCollisionModule,\r\n DxoPopupFromModule,\r\n DxoPopupHideModule,\r\n DxoPopupMyModule,\r\n DxoPopupOffsetModule,\r\n DxoPopupPositionModule,\r\n DxoPopupShowModule,\r\n DxoPopupToModule,\r\n DxiPopupToolbarItemModule,\r\n DxTemplateModule\r\n ]\r\n})\r\nexport class DxPopupModule { }\r\n\r\nimport type * as DxPopupTypes from \"devextreme/ui/popup_types\";\r\nexport { DxPopupTypes };\r\n\r\n\r\n","/*!\n * devextreme-angular\n * Version: 24.2.6\n * Build date: Mon Mar 17 2025\n *\n * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED\n *\n * This software may be modified and distributed under the terms\n * of the MIT license. See the LICENSE file in the root of the project for details.\n *\n * https://github.com/DevExpress/devextreme-angular\n */\n\nimport {\r\n OnInit,\r\n Component,\r\n ComponentRef,\r\n ElementRef,\r\n Inject,\r\n NgZone,\r\n PLATFORM_ID,\r\n TransferState,\r\n Type,\r\n ViewChild,\r\n ViewContainerRef,\r\n} from '@angular/core';\r\nimport {\r\n DxTemplateHost,\r\n IterableDifferHelper,\r\n NestedOptionHost,\r\n WatcherHelper,\r\n} from 'devextreme-angular/core';\r\nimport { DxPopupComponent, DxPopupTypes } from '../component';\r\n\r\n@Component({\r\n standalone: true,\r\n providers: [\r\n DxTemplateHost,\r\n WatcherHelper,\r\n NestedOptionHost,\r\n IterableDifferHelper,\r\n ],\r\n template: `<ng-container #dxPopupContentContainer></ng-container>`,\r\n})\r\nexport class PopupServiceComponent<T> extends DxPopupComponent implements OnInit {\r\n @ViewChild('dxPopupContentContainer', { read: ViewContainerRef, static: true }) contentContainer!: ViewContainerRef;\r\n\r\n contentRef: ComponentRef<T>;\r\n\r\n constructor(\r\n @Inject('popupServiceContentComponent') private contentComponent: Type<T>,\r\n @Inject('popupServiceOptions') private popupOptions: DxPopupTypes.Properties,\r\n elementRef: ElementRef,\r\n ngZone: NgZone,\r\n templateHost: DxTemplateHost,\r\n _watcherHelper: WatcherHelper,\r\n _idh: IterableDifferHelper,\r\n optionHost: NestedOptionHost,\r\n transferState: TransferState,\r\n @Inject(PLATFORM_ID) platformId: any,\r\n ) {\r\n super(elementRef, ngZone, templateHost, _watcherHelper, _idh, optionHost, transferState, platformId);\r\n }\r\n\r\n ngOnInit() {\r\n super.ngOnInit();\r\n\r\n if (this.popupOptions) {\r\n this.instance.option(this.popupOptions);\r\n }\r\n\r\n this.contentRef = this.contentContainer.createComponent(this.contentComponent);\r\n }\r\n}\r\n","/*!\n * devextreme-angular\n * Version: 24.2.6\n * Build date: Mon Mar 17 2025\n *\n * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED\n *\n * This software may be modified and distributed under the terms\n * of the MIT license. See the LICENSE file in the root of the project for details.\n *\n * https://github.com/DevExpress/devextreme-angular\n */\n\nimport {\r\n Injectable,\r\n ApplicationRef,\r\n ComponentFactoryResolver,\r\n Injector,\r\n EmbeddedViewRef,\r\n ComponentRef,\r\n Type,\r\n RendererFactory2,\r\n} from '@angular/core';\r\nimport { DxPopupComponent, DxPopupTypes } from '../component';\r\nimport { PopupServiceComponent } from './service.component';\r\n\r\nexport type DxPopupServiceComponent<T = any> = DxPopupComponent & { contentRef: ComponentRef<T> }\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class DxPopupService {\r\n constructor(\r\n private readonly injector: Injector,\r\n private readonly applicationRef: ApplicationRef,\r\n private readonly componentFactoryResolver: ComponentFactoryResolver,\r\n private readonly rendererFactory: RendererFactory2,\r\n ) {}\r\n\r\n open<T>(contentComponent: Type<T>, popupOptions?: DxPopupTypes.Properties): DxPopupServiceComponent<T> {\r\n const componentFactory = this.componentFactoryResolver.resolveComponentFactory(PopupServiceComponent<T>);\r\n const serviceInjector = Injector.create({\r\n providers: [\r\n { provide: 'popupServiceContentComponent', useValue: contentComponent },\r\n { provide: 'popupServiceOptions', useValue: popupOptions },\r\n ],\r\n parent: this.injector\r\n });\r\n const componentRef = componentFactory.create(serviceInjector);\r\n const cmpInstance = componentRef.instance;\r\n\r\n cmpInstance.onHidden.subscribe(() => {\r\n this.applicationRef.detachView(componentRef.hostView);\r\n\r\n componentRef.destroy();\r\n });\r\n\r\n componentRef.changeDetectorRef.detectChanges();\r\n\r\n this.applicationRef.attachView(componentRef.hostView);\r\n\r\n const domElem = (componentRef.hostView as EmbeddedViewRef<any>).rootNodes[0] as HTMLElement;\r\n const renderer = this.rendererFactory.createRenderer(null, null);\r\n\r\n renderer.appendChild(document.body, domElem);\r\n\r\n cmpInstance.visible = true;\r\n\r\n return componentRef.instance;\r\n }\r\n}\r\n","/*!\n * devextreme-angular\n * Version: 24.2.6\n * Build date: Mon Mar 17 2025\n *\n * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED\n *\n * This software may be modified and distributed under the terms\n * of the MIT license. See the LICENSE file in the root of the project for details.\n *\n * https://github.com/DevExpress/devextreme-angular\n */\n\nexport * from './component';\r\nexport { DxPopupService, DxPopupServiceComponent } from './service/service';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAAA;;;;;;;;;;;AAWG;AAEH;AAwEA;;;AAGG;AAYG,MAAO,gBAAiB,SAAQ,WAAW,CAAA;AAw1B7B,IAAA,cAAA,CAAA;AACA,IAAA,IAAA,CAAA;IAx1BhB,QAAQ,GAAY,IAAI,CAAC;AAEzB;;;AAGG;AACH,IAAA,IACI,SAAS,GAAA;AACT,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC;KACvC;IACD,IAAI,SAAS,CAAC,KAAyB,EAAA;AACnC,QAAA,IAAI,CAAC,UAAU,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;KACvC;AAGD;;;AAGG;AACH,IAAA,IACI,SAAS,GAAA;AACT,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC;KACvC;IACD,IAAI,SAAS,CAAC,KAAyD,EAAA;AACnE,QAAA,IAAI,CAAC,UAAU,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;KACvC;AAGD;;;;;AAKG;AACH,IAAA,IACI,mBAAmB,GAAA;AACnB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,qBAAqB,CAAC,CAAC;KACjD;IACD,IAAI,mBAAmB,CAAC,KAA4C,EAAA;AAChE,QAAA,IAAI,CAAC,UAAU,CAAC,qBAAqB,EAAE,KAAK,CAAC,CAAC;KACjD;AAGD;;;AAGG;AACH,IAAA,IACI,SAAS,GAAA;AACT,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,W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