popup.js 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691
  1. "use strict";
  2. var __extends = (this && this.__extends) || (function () {
  3. var extendStatics = Object.setPrototypeOf ||
  4. ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
  5. function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
  6. return function (d, b) {
  7. extendStatics(d, b);
  8. function __() { this.constructor = d; }
  9. d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  10. };
  11. })();
  12. /*!
  13. * devextreme-angular
  14. * Version: 19.1.16
  15. * Build date: Tue Oct 18 2022
  16. *
  17. * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
  18. *
  19. * This software may be modified and distributed under the terms
  20. * of the MIT license. See the LICENSE file in the root of the project for details.
  21. *
  22. * https://github.com/DevExpress/devextreme-angular
  23. */
  24. Object.defineProperty(exports, "__esModule", { value: true });
  25. var platform_browser_1 = require("@angular/platform-browser");
  26. var platform_browser_2 = require("@angular/platform-browser");
  27. var core_1 = require("@angular/core");
  28. var popup_1 = require("devextreme/ui/popup");
  29. var component_1 = require("../core/component");
  30. var template_host_1 = require("../core/template-host");
  31. var integration_1 = require("../core/integration");
  32. var template_1 = require("../core/template");
  33. var nested_option_1 = require("../core/nested-option");
  34. var watcher_helper_1 = require("../core/watcher-helper");
  35. var iterable_differ_helper_1 = require("../core/iterable-differ-helper");
  36. var animation_1 = require("./nested/animation");
  37. var hide_1 = require("./nested/hide");
  38. var show_1 = require("./nested/show");
  39. var position_1 = require("./nested/position");
  40. var at_1 = require("./nested/at");
  41. var boundary_offset_1 = require("./nested/boundary-offset");
  42. var collision_1 = require("./nested/collision");
  43. var my_1 = require("./nested/my");
  44. var offset_1 = require("./nested/offset");
  45. var toolbar_item_dxi_1 = require("./nested/toolbar-item-dxi");
  46. var toolbar_item_dxi_2 = require("./nested/toolbar-item-dxi");
  47. /**
  48. * The Popup widget is a pop-up window overlaying the current view.
  49. */
  50. var DxPopupComponent = (function (_super) {
  51. __extends(DxPopupComponent, _super);
  52. function DxPopupComponent(elementRef, ngZone, templateHost, _watcherHelper, _idh, optionHost, transferState, platformId) {
  53. var _this = _super.call(this, elementRef, ngZone, templateHost, _watcherHelper, transferState, platformId) || this;
  54. _this._watcherHelper = _watcherHelper;
  55. _this._idh = _idh;
  56. _this._createEventEmitters([
  57. { subscribe: 'contentReady', emit: 'onContentReady' },
  58. { subscribe: 'disposing', emit: 'onDisposing' },
  59. { subscribe: 'hidden', emit: 'onHidden' },
  60. { subscribe: 'hiding', emit: 'onHiding' },
  61. { subscribe: 'initialized', emit: 'onInitialized' },
  62. { subscribe: 'optionChanged', emit: 'onOptionChanged' },
  63. { subscribe: 'resize', emit: 'onResize' },
  64. { subscribe: 'resizeEnd', emit: 'onResizeEnd' },
  65. { subscribe: 'resizeStart', emit: 'onResizeStart' },
  66. { subscribe: 'showing', emit: 'onShowing' },
  67. { subscribe: 'shown', emit: 'onShown' },
  68. { subscribe: 'titleRendered', emit: 'onTitleRendered' },
  69. { emit: 'accessKeyChange' },
  70. { emit: 'animationChange' },
  71. { emit: 'closeOnOutsideClickChange' },
  72. { emit: 'containerChange' },
  73. { emit: 'contentTemplateChange' },
  74. { emit: 'deferRenderingChange' },
  75. { emit: 'disabledChange' },
  76. { emit: 'dragEnabledChange' },
  77. { emit: 'elementAttrChange' },
  78. { emit: 'focusStateEnabledChange' },
  79. { emit: 'fullScreenChange' },
  80. { emit: 'heightChange' },
  81. { emit: 'hintChange' },
  82. { emit: 'hoverStateEnabledChange' },
  83. { emit: 'maxHeightChange' },
  84. { emit: 'maxWidthChange' },
  85. { emit: 'minHeightChange' },
  86. { emit: 'minWidthChange' },
  87. { emit: 'positionChange' },
  88. { emit: 'resizeEnabledChange' },
  89. { emit: 'rtlEnabledChange' },
  90. { emit: 'shadingChange' },
  91. { emit: 'shadingColorChange' },
  92. { emit: 'showCloseButtonChange' },
  93. { emit: 'showTitleChange' },
  94. { emit: 'tabIndexChange' },
  95. { emit: 'titleChange' },
  96. { emit: 'titleTemplateChange' },
  97. { emit: 'toolbarItemsChange' },
  98. { emit: 'visibleChange' },
  99. { emit: 'widthChange' }
  100. ]);
  101. _this._idh.setHost(_this);
  102. optionHost.setHost(_this);
  103. return _this;
  104. }
  105. Object.defineProperty(DxPopupComponent.prototype, "accessKey", {
  106. get: /**
  107. * Specifies the shortcut key that sets focus on the widget.
  108. */
  109. function () {
  110. return this._getOption('accessKey');
  111. },
  112. set: function (value) {
  113. this._setOption('accessKey', value);
  114. },
  115. enumerable: true,
  116. configurable: true
  117. });
  118. Object.defineProperty(DxPopupComponent.prototype, "animation", {
  119. get: /**
  120. * Configures widget visibility animations. This object contains two fields: show and hide.
  121. */
  122. function () {
  123. return this._getOption('animation');
  124. },
  125. set: function (value) {
  126. this._setOption('animation', value);
  127. },
  128. enumerable: true,
  129. configurable: true
  130. });
  131. Object.defineProperty(DxPopupComponent.prototype, "closeOnOutsideClick", {
  132. get: /**
  133. * Specifies whether to close the widget if a user clicks outside it.
  134. */
  135. function () {
  136. return this._getOption('closeOnOutsideClick');
  137. },
  138. set: function (value) {
  139. this._setOption('closeOnOutsideClick', value);
  140. },
  141. enumerable: true,
  142. configurable: true
  143. });
  144. Object.defineProperty(DxPopupComponent.prototype, "container", {
  145. get: /**
  146. * Specifies the container in which to place the widget.
  147. */
  148. function () {
  149. return this._getOption('container');
  150. },
  151. set: function (value) {
  152. this._setOption('container', value);
  153. },
  154. enumerable: true,
  155. configurable: true
  156. });
  157. Object.defineProperty(DxPopupComponent.prototype, "contentTemplate", {
  158. get: /**
  159. * Specifies a custom template for the widget content.
  160. */
  161. function () {
  162. return this._getOption('contentTemplate');
  163. },
  164. set: function (value) {
  165. this._setOption('contentTemplate', value);
  166. },
  167. enumerable: true,
  168. configurable: true
  169. });
  170. Object.defineProperty(DxPopupComponent.prototype, "deferRendering", {
  171. get: /**
  172. * Specifies whether to render the widget's content when it is displayed. If false, the content is rendered immediately.
  173. */
  174. function () {
  175. return this._getOption('deferRendering');
  176. },
  177. set: function (value) {
  178. this._setOption('deferRendering', value);
  179. },
  180. enumerable: true,
  181. configurable: true
  182. });
  183. Object.defineProperty(DxPopupComponent.prototype, "disabled", {
  184. get: /**
  185. * Specifies whether the widget responds to user interaction.
  186. */
  187. function () {
  188. return this._getOption('disabled');
  189. },
  190. set: function (value) {
  191. this._setOption('disabled', value);
  192. },
  193. enumerable: true,
  194. configurable: true
  195. });
  196. Object.defineProperty(DxPopupComponent.prototype, "dragEnabled", {
  197. get: /**
  198. * Specifies whether or not to allow a user to drag the popup window.
  199. */
  200. function () {
  201. return this._getOption('dragEnabled');
  202. },
  203. set: function (value) {
  204. this._setOption('dragEnabled', value);
  205. },
  206. enumerable: true,
  207. configurable: true
  208. });
  209. Object.defineProperty(DxPopupComponent.prototype, "elementAttr", {
  210. get: /**
  211. * Specifies the attributes to be attached to the widget's root element.
  212. */
  213. function () {
  214. return this._getOption('elementAttr');
  215. },
  216. set: function (value) {
  217. this._setOption('elementAttr', value);
  218. },
  219. enumerable: true,
  220. configurable: true
  221. });
  222. Object.defineProperty(DxPopupComponent.prototype, "focusStateEnabled", {
  223. get: /**
  224. * Specifies whether the widget can be focused using keyboard navigation.
  225. */
  226. function () {
  227. return this._getOption('focusStateEnabled');
  228. },
  229. set: function (value) {
  230. this._setOption('focusStateEnabled', value);
  231. },
  232. enumerable: true,
  233. configurable: true
  234. });
  235. Object.defineProperty(DxPopupComponent.prototype, "fullScreen", {
  236. get: /**
  237. * A Boolean value specifying whether or not to display the widget in full-screen mode.
  238. */
  239. function () {
  240. return this._getOption('fullScreen');
  241. },
  242. set: function (value) {
  243. this._setOption('fullScreen', value);
  244. },
  245. enumerable: true,
  246. configurable: true
  247. });
  248. Object.defineProperty(DxPopupComponent.prototype, "height", {
  249. get: /**
  250. * Specifies the widget's height in pixels.
  251. */
  252. function () {
  253. return this._getOption('height');
  254. },
  255. set: function (value) {
  256. this._setOption('height', value);
  257. },
  258. enumerable: true,
  259. configurable: true
  260. });
  261. Object.defineProperty(DxPopupComponent.prototype, "hint", {
  262. get: /**
  263. * Specifies text for a hint that appears when a user pauses on the widget.
  264. */
  265. function () {
  266. return this._getOption('hint');
  267. },
  268. set: function (value) {
  269. this._setOption('hint', value);
  270. },
  271. enumerable: true,
  272. configurable: true
  273. });
  274. Object.defineProperty(DxPopupComponent.prototype, "hoverStateEnabled", {
  275. get: /**
  276. * Specifies whether the widget changes its state when a user pauses on it.
  277. */
  278. function () {
  279. return this._getOption('hoverStateEnabled');
  280. },
  281. set: function (value) {
  282. this._setOption('hoverStateEnabled', value);
  283. },
  284. enumerable: true,
  285. configurable: true
  286. });
  287. Object.defineProperty(DxPopupComponent.prototype, "maxHeight", {
  288. get: /**
  289. * Specifies the maximum height the widget can reach while resizing.
  290. */
  291. function () {
  292. return this._getOption('maxHeight');
  293. },
  294. set: function (value) {
  295. this._setOption('maxHeight', value);
  296. },
  297. enumerable: true,
  298. configurable: true
  299. });
  300. Object.defineProperty(DxPopupComponent.prototype, "maxWidth", {
  301. get: /**
  302. * Specifies the maximum width the widget can reach while resizing.
  303. */
  304. function () {
  305. return this._getOption('maxWidth');
  306. },
  307. set: function (value) {
  308. this._setOption('maxWidth', value);
  309. },
  310. enumerable: true,
  311. configurable: true
  312. });
  313. Object.defineProperty(DxPopupComponent.prototype, "minHeight", {
  314. get: /**
  315. * Specifies the minimum height the widget can reach while resizing.
  316. */
  317. function () {
  318. return this._getOption('minHeight');
  319. },
  320. set: function (value) {
  321. this._setOption('minHeight', value);
  322. },
  323. enumerable: true,
  324. configurable: true
  325. });
  326. Object.defineProperty(DxPopupComponent.prototype, "minWidth", {
  327. get: /**
  328. * Specifies the minimum width the widget can reach while resizing.
  329. */
  330. function () {
  331. return this._getOption('minWidth');
  332. },
  333. set: function (value) {
  334. this._setOption('minWidth', value);
  335. },
  336. enumerable: true,
  337. configurable: true
  338. });
  339. Object.defineProperty(DxPopupComponent.prototype, "position", {
  340. get: /**
  341. * Positions the widget.
  342. */
  343. function () {
  344. return this._getOption('position');
  345. },
  346. set: function (value) {
  347. this._setOption('position', value);
  348. },
  349. enumerable: true,
  350. configurable: true
  351. });
  352. Object.defineProperty(DxPopupComponent.prototype, "resizeEnabled", {
  353. get: /**
  354. * Specifies whether or not an end user can resize the widget.
  355. */
  356. function () {
  357. return this._getOption('resizeEnabled');
  358. },
  359. set: function (value) {
  360. this._setOption('resizeEnabled', value);
  361. },
  362. enumerable: true,
  363. configurable: true
  364. });
  365. Object.defineProperty(DxPopupComponent.prototype, "rtlEnabled", {
  366. get: /**
  367. * Switches the widget to a right-to-left representation.
  368. */
  369. function () {
  370. return this._getOption('rtlEnabled');
  371. },
  372. set: function (value) {
  373. this._setOption('rtlEnabled', value);
  374. },
  375. enumerable: true,
  376. configurable: true
  377. });
  378. Object.defineProperty(DxPopupComponent.prototype, "shading", {
  379. get: /**
  380. * Specifies whether to shade the background when the widget is active.
  381. */
  382. function () {
  383. return this._getOption('shading');
  384. },
  385. set: function (value) {
  386. this._setOption('shading', value);
  387. },
  388. enumerable: true,
  389. configurable: true
  390. });
  391. Object.defineProperty(DxPopupComponent.prototype, "shadingColor", {
  392. get: /**
  393. * Specifies the shading color.
  394. */
  395. function () {
  396. return this._getOption('shadingColor');
  397. },
  398. set: function (value) {
  399. this._setOption('shadingColor', value);
  400. },
  401. enumerable: true,
  402. configurable: true
  403. });
  404. Object.defineProperty(DxPopupComponent.prototype, "showCloseButton", {
  405. get: /**
  406. * Specifies whether or not the widget displays the Close button.
  407. */
  408. function () {
  409. return this._getOption('showCloseButton');
  410. },
  411. set: function (value) {
  412. this._setOption('showCloseButton', value);
  413. },
  414. enumerable: true,
  415. configurable: true
  416. });
  417. Object.defineProperty(DxPopupComponent.prototype, "showTitle", {
  418. get: /**
  419. * A Boolean value specifying whether or not to display the title in the popup window.
  420. */
  421. function () {
  422. return this._getOption('showTitle');
  423. },
  424. set: function (value) {
  425. this._setOption('showTitle', value);
  426. },
  427. enumerable: true,
  428. configurable: true
  429. });
  430. Object.defineProperty(DxPopupComponent.prototype, "tabIndex", {
  431. get: /**
  432. * Specifies the number of the element when the Tab key is used for navigating.
  433. */
  434. function () {
  435. return this._getOption('tabIndex');
  436. },
  437. set: function (value) {
  438. this._setOption('tabIndex', value);
  439. },
  440. enumerable: true,
  441. configurable: true
  442. });
  443. Object.defineProperty(DxPopupComponent.prototype, "title", {
  444. get: /**
  445. * The title in the overlay window.
  446. */
  447. function () {
  448. return this._getOption('title');
  449. },
  450. set: function (value) {
  451. this._setOption('title', value);
  452. },
  453. enumerable: true,
  454. configurable: true
  455. });
  456. Object.defineProperty(DxPopupComponent.prototype, "titleTemplate", {
  457. get: /**
  458. * Specifies a custom template for the widget title. Does not apply if the title is defined.
  459. */
  460. function () {
  461. return this._getOption('titleTemplate');
  462. },
  463. set: function (value) {
  464. this._setOption('titleTemplate', value);
  465. },
  466. enumerable: true,
  467. configurable: true
  468. });
  469. Object.defineProperty(DxPopupComponent.prototype, "toolbarItems", {
  470. get: /**
  471. * Configures toolbar items.
  472. */
  473. function () {
  474. return this._getOption('toolbarItems');
  475. },
  476. set: function (value) {
  477. this._setOption('toolbarItems', value);
  478. },
  479. enumerable: true,
  480. configurable: true
  481. });
  482. Object.defineProperty(DxPopupComponent.prototype, "visible", {
  483. get: /**
  484. * A Boolean value specifying whether or not the widget is visible.
  485. */
  486. function () {
  487. return this._getOption('visible');
  488. },
  489. set: function (value) {
  490. this._setOption('visible', value);
  491. },
  492. enumerable: true,
  493. configurable: true
  494. });
  495. Object.defineProperty(DxPopupComponent.prototype, "width", {
  496. get: /**
  497. * Specifies the widget's width in pixels.
  498. */
  499. function () {
  500. return this._getOption('width');
  501. },
  502. set: function (value) {
  503. this._setOption('width', value);
  504. },
  505. enumerable: true,
  506. configurable: true
  507. });
  508. Object.defineProperty(DxPopupComponent.prototype, "toolbarItemsChildren", {
  509. get: function () {
  510. return this._getOption('toolbarItems');
  511. },
  512. set: function (value) {
  513. this.setChildren('toolbarItems', value);
  514. },
  515. enumerable: true,
  516. configurable: true
  517. });
  518. DxPopupComponent.prototype._createInstance = function (element, options) {
  519. return new popup_1.default(element, options);
  520. };
  521. DxPopupComponent.prototype.ngOnDestroy = function () {
  522. this._destroyWidget();
  523. };
  524. DxPopupComponent.prototype.ngOnChanges = function (changes) {
  525. _super.prototype.ngOnChanges.call(this, changes);
  526. this.setupChanges('toolbarItems', changes);
  527. };
  528. DxPopupComponent.prototype.setupChanges = function (prop, changes) {
  529. if (!(prop in this._optionsToUpdate)) {
  530. this._idh.setup(prop, changes);
  531. }
  532. };
  533. DxPopupComponent.prototype.ngDoCheck = function () {
  534. this._idh.doCheck('toolbarItems');
  535. this._watcherHelper.checkWatchers();
  536. _super.prototype.ngDoCheck.call(this);
  537. _super.prototype.clearChangedOptions.call(this);
  538. };
  539. DxPopupComponent.prototype._setOption = function (name, value) {
  540. var isSetup = this._idh.setupSingle(name, value);
  541. var isChanged = this._idh.getChanges(name, value) !== null;
  542. if (isSetup || isChanged) {
  543. _super.prototype._setOption.call(this, name, value);
  544. }
  545. };
  546. DxPopupComponent.decorators = [
  547. { type: core_1.Component, args: [{
  548. selector: 'dx-popup',
  549. template: '<ng-content></ng-content>',
  550. providers: [
  551. template_host_1.DxTemplateHost,
  552. watcher_helper_1.WatcherHelper,
  553. nested_option_1.NestedOptionHost,
  554. iterable_differ_helper_1.IterableDifferHelper
  555. ]
  556. },] },
  557. ];
  558. /** @nocollapse */
  559. DxPopupComponent.ctorParameters = function () { return [
  560. { type: core_1.ElementRef, },
  561. { type: core_1.NgZone, },
  562. { type: template_host_1.DxTemplateHost, },
  563. { type: watcher_helper_1.WatcherHelper, },
  564. { type: iterable_differ_helper_1.IterableDifferHelper, },
  565. { type: nested_option_1.NestedOptionHost, },
  566. { type: platform_browser_2.TransferState, },
  567. { type: undefined, decorators: [{ type: core_1.Inject, args: [core_1.PLATFORM_ID,] },] },
  568. ]; };
  569. DxPopupComponent.propDecorators = {
  570. "accessKey": [{ type: core_1.Input },],
  571. "animation": [{ type: core_1.Input },],
  572. "closeOnOutsideClick": [{ type: core_1.Input },],
  573. "container": [{ type: core_1.Input },],
  574. "contentTemplate": [{ type: core_1.Input },],
  575. "deferRendering": [{ type: core_1.Input },],
  576. "disabled": [{ type: core_1.Input },],
  577. "dragEnabled": [{ type: core_1.Input },],
  578. "elementAttr": [{ type: core_1.Input },],
  579. "focusStateEnabled": [{ type: core_1.Input },],
  580. "fullScreen": [{ type: core_1.Input },],
  581. "height": [{ type: core_1.Input },],
  582. "hint": [{ type: core_1.Input },],
  583. "hoverStateEnabled": [{ type: core_1.Input },],
  584. "maxHeight": [{ type: core_1.Input },],
  585. "maxWidth": [{ type: core_1.Input },],
  586. "minHeight": [{ type: core_1.Input },],
  587. "minWidth": [{ type: core_1.Input },],
  588. "position": [{ type: core_1.Input },],
  589. "resizeEnabled": [{ type: core_1.Input },],
  590. "rtlEnabled": [{ type: core_1.Input },],
  591. "shading": [{ type: core_1.Input },],
  592. "shadingColor": [{ type: core_1.Input },],
  593. "showCloseButton": [{ type: core_1.Input },],
  594. "showTitle": [{ type: core_1.Input },],
  595. "tabIndex": [{ type: core_1.Input },],
  596. "title": [{ type: core_1.Input },],
  597. "titleTemplate": [{ type: core_1.Input },],
  598. "toolbarItems": [{ type: core_1.Input },],
  599. "visible": [{ type: core_1.Input },],
  600. "width": [{ type: core_1.Input },],
  601. "onContentReady": [{ type: core_1.Output },],
  602. "onDisposing": [{ type: core_1.Output },],
  603. "onHidden": [{ type: core_1.Output },],
  604. "onHiding": [{ type: core_1.Output },],
  605. "onInitialized": [{ type: core_1.Output },],
  606. "onOptionChanged": [{ type: core_1.Output },],
  607. "onResize": [{ type: core_1.Output },],
  608. "onResizeEnd": [{ type: core_1.Output },],
  609. "onResizeStart": [{ type: core_1.Output },],
  610. "onShowing": [{ type: core_1.Output },],
  611. "onShown": [{ type: core_1.Output },],
  612. "onTitleRendered": [{ type: core_1.Output },],
  613. "accessKeyChange": [{ type: core_1.Output },],
  614. "animationChange": [{ type: core_1.Output },],
  615. "closeOnOutsideClickChange": [{ type: core_1.Output },],
  616. "containerChange": [{ type: core_1.Output },],
  617. "contentTemplateChange": [{ type: core_1.Output },],
  618. "deferRenderingChange": [{ type: core_1.Output },],
  619. "disabledChange": [{ type: core_1.Output },],
  620. "dragEnabledChange": [{ type: core_1.Output },],
  621. "elementAttrChange": [{ type: core_1.Output },],
  622. "focusStateEnabledChange": [{ type: core_1.Output },],
  623. "fullScreenChange": [{ type: core_1.Output },],
  624. "heightChange": [{ type: core_1.Output },],
  625. "hintChange": [{ type: core_1.Output },],
  626. "hoverStateEnabledChange": [{ type: core_1.Output },],
  627. "maxHeightChange": [{ type: core_1.Output },],
  628. "maxWidthChange": [{ type: core_1.Output },],
  629. "minHeightChange": [{ type: core_1.Output },],
  630. "minWidthChange": [{ type: core_1.Output },],
  631. "positionChange": [{ type: core_1.Output },],
  632. "resizeEnabledChange": [{ type: core_1.Output },],
  633. "rtlEnabledChange": [{ type: core_1.Output },],
  634. "shadingChange": [{ type: core_1.Output },],
  635. "shadingColorChange": [{ type: core_1.Output },],
  636. "showCloseButtonChange": [{ type: core_1.Output },],
  637. "showTitleChange": [{ type: core_1.Output },],
  638. "tabIndexChange": [{ type: core_1.Output },],
  639. "titleChange": [{ type: core_1.Output },],
  640. "titleTemplateChange": [{ type: core_1.Output },],
  641. "toolbarItemsChange": [{ type: core_1.Output },],
  642. "visibleChange": [{ type: core_1.Output },],
  643. "widthChange": [{ type: core_1.Output },],
  644. "toolbarItemsChildren": [{ type: core_1.ContentChildren, args: [toolbar_item_dxi_2.DxiToolbarItemComponent,] },],
  645. };
  646. return DxPopupComponent;
  647. }(component_1.DxComponent));
  648. exports.DxPopupComponent = DxPopupComponent;
  649. var DxPopupModule = (function () {
  650. function DxPopupModule() {
  651. }
  652. DxPopupModule.decorators = [
  653. { type: core_1.NgModule, args: [{
  654. imports: [
  655. animation_1.DxoAnimationModule,
  656. hide_1.DxoHideModule,
  657. show_1.DxoShowModule,
  658. position_1.DxoPositionModule,
  659. at_1.DxoAtModule,
  660. boundary_offset_1.DxoBoundaryOffsetModule,
  661. collision_1.DxoCollisionModule,
  662. my_1.DxoMyModule,
  663. offset_1.DxoOffsetModule,
  664. toolbar_item_dxi_1.DxiToolbarItemModule,
  665. integration_1.DxIntegrationModule,
  666. template_1.DxTemplateModule,
  667. platform_browser_1.BrowserTransferStateModule
  668. ],
  669. declarations: [
  670. DxPopupComponent
  671. ],
  672. exports: [
  673. DxPopupComponent,
  674. animation_1.DxoAnimationModule,
  675. hide_1.DxoHideModule,
  676. show_1.DxoShowModule,
  677. position_1.DxoPositionModule,
  678. at_1.DxoAtModule,
  679. boundary_offset_1.DxoBoundaryOffsetModule,
  680. collision_1.DxoCollisionModule,
  681. my_1.DxoMyModule,
  682. offset_1.DxoOffsetModule,
  683. toolbar_item_dxi_1.DxiToolbarItemModule,
  684. template_1.DxTemplateModule
  685. ]
  686. },] },
  687. ];
  688. return DxPopupModule;
  689. }());
  690. exports.DxPopupModule = DxPopupModule;
  691. //# sourceMappingURL=popup.js.map