popup-options.js 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464
  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 nested_option_1 = require("../../../core/nested-option");
  26. var DxoPopupOptions = (function (_super) {
  27. __extends(DxoPopupOptions, _super);
  28. function DxoPopupOptions() {
  29. return _super !== null && _super.apply(this, arguments) || this;
  30. }
  31. Object.defineProperty(DxoPopupOptions.prototype, "accessKey", {
  32. get: function () {
  33. return this._getOption('accessKey');
  34. },
  35. set: function (value) {
  36. this._setOption('accessKey', value);
  37. },
  38. enumerable: true,
  39. configurable: true
  40. });
  41. Object.defineProperty(DxoPopupOptions.prototype, "animation", {
  42. get: function () {
  43. return this._getOption('animation');
  44. },
  45. set: function (value) {
  46. this._setOption('animation', value);
  47. },
  48. enumerable: true,
  49. configurable: true
  50. });
  51. Object.defineProperty(DxoPopupOptions.prototype, "closeOnOutsideClick", {
  52. get: function () {
  53. return this._getOption('closeOnOutsideClick');
  54. },
  55. set: function (value) {
  56. this._setOption('closeOnOutsideClick', value);
  57. },
  58. enumerable: true,
  59. configurable: true
  60. });
  61. Object.defineProperty(DxoPopupOptions.prototype, "container", {
  62. get: function () {
  63. return this._getOption('container');
  64. },
  65. set: function (value) {
  66. this._setOption('container', value);
  67. },
  68. enumerable: true,
  69. configurable: true
  70. });
  71. Object.defineProperty(DxoPopupOptions.prototype, "contentTemplate", {
  72. get: function () {
  73. return this._getOption('contentTemplate');
  74. },
  75. set: function (value) {
  76. this._setOption('contentTemplate', value);
  77. },
  78. enumerable: true,
  79. configurable: true
  80. });
  81. Object.defineProperty(DxoPopupOptions.prototype, "deferRendering", {
  82. get: function () {
  83. return this._getOption('deferRendering');
  84. },
  85. set: function (value) {
  86. this._setOption('deferRendering', value);
  87. },
  88. enumerable: true,
  89. configurable: true
  90. });
  91. Object.defineProperty(DxoPopupOptions.prototype, "disabled", {
  92. get: function () {
  93. return this._getOption('disabled');
  94. },
  95. set: function (value) {
  96. this._setOption('disabled', value);
  97. },
  98. enumerable: true,
  99. configurable: true
  100. });
  101. Object.defineProperty(DxoPopupOptions.prototype, "dragEnabled", {
  102. get: function () {
  103. return this._getOption('dragEnabled');
  104. },
  105. set: function (value) {
  106. this._setOption('dragEnabled', value);
  107. },
  108. enumerable: true,
  109. configurable: true
  110. });
  111. Object.defineProperty(DxoPopupOptions.prototype, "elementAttr", {
  112. get: function () {
  113. return this._getOption('elementAttr');
  114. },
  115. set: function (value) {
  116. this._setOption('elementAttr', value);
  117. },
  118. enumerable: true,
  119. configurable: true
  120. });
  121. Object.defineProperty(DxoPopupOptions.prototype, "focusStateEnabled", {
  122. get: function () {
  123. return this._getOption('focusStateEnabled');
  124. },
  125. set: function (value) {
  126. this._setOption('focusStateEnabled', value);
  127. },
  128. enumerable: true,
  129. configurable: true
  130. });
  131. Object.defineProperty(DxoPopupOptions.prototype, "fullScreen", {
  132. get: function () {
  133. return this._getOption('fullScreen');
  134. },
  135. set: function (value) {
  136. this._setOption('fullScreen', value);
  137. },
  138. enumerable: true,
  139. configurable: true
  140. });
  141. Object.defineProperty(DxoPopupOptions.prototype, "height", {
  142. get: function () {
  143. return this._getOption('height');
  144. },
  145. set: function (value) {
  146. this._setOption('height', value);
  147. },
  148. enumerable: true,
  149. configurable: true
  150. });
  151. Object.defineProperty(DxoPopupOptions.prototype, "hint", {
  152. get: function () {
  153. return this._getOption('hint');
  154. },
  155. set: function (value) {
  156. this._setOption('hint', value);
  157. },
  158. enumerable: true,
  159. configurable: true
  160. });
  161. Object.defineProperty(DxoPopupOptions.prototype, "hoverStateEnabled", {
  162. get: function () {
  163. return this._getOption('hoverStateEnabled');
  164. },
  165. set: function (value) {
  166. this._setOption('hoverStateEnabled', value);
  167. },
  168. enumerable: true,
  169. configurable: true
  170. });
  171. Object.defineProperty(DxoPopupOptions.prototype, "maxHeight", {
  172. get: function () {
  173. return this._getOption('maxHeight');
  174. },
  175. set: function (value) {
  176. this._setOption('maxHeight', value);
  177. },
  178. enumerable: true,
  179. configurable: true
  180. });
  181. Object.defineProperty(DxoPopupOptions.prototype, "maxWidth", {
  182. get: function () {
  183. return this._getOption('maxWidth');
  184. },
  185. set: function (value) {
  186. this._setOption('maxWidth', value);
  187. },
  188. enumerable: true,
  189. configurable: true
  190. });
  191. Object.defineProperty(DxoPopupOptions.prototype, "minHeight", {
  192. get: function () {
  193. return this._getOption('minHeight');
  194. },
  195. set: function (value) {
  196. this._setOption('minHeight', value);
  197. },
  198. enumerable: true,
  199. configurable: true
  200. });
  201. Object.defineProperty(DxoPopupOptions.prototype, "minWidth", {
  202. get: function () {
  203. return this._getOption('minWidth');
  204. },
  205. set: function (value) {
  206. this._setOption('minWidth', value);
  207. },
  208. enumerable: true,
  209. configurable: true
  210. });
  211. Object.defineProperty(DxoPopupOptions.prototype, "onContentReady", {
  212. get: function () {
  213. return this._getOption('onContentReady');
  214. },
  215. set: function (value) {
  216. this._setOption('onContentReady', value);
  217. },
  218. enumerable: true,
  219. configurable: true
  220. });
  221. Object.defineProperty(DxoPopupOptions.prototype, "onDisposing", {
  222. get: function () {
  223. return this._getOption('onDisposing');
  224. },
  225. set: function (value) {
  226. this._setOption('onDisposing', value);
  227. },
  228. enumerable: true,
  229. configurable: true
  230. });
  231. Object.defineProperty(DxoPopupOptions.prototype, "onHidden", {
  232. get: function () {
  233. return this._getOption('onHidden');
  234. },
  235. set: function (value) {
  236. this._setOption('onHidden', value);
  237. },
  238. enumerable: true,
  239. configurable: true
  240. });
  241. Object.defineProperty(DxoPopupOptions.prototype, "onHiding", {
  242. get: function () {
  243. return this._getOption('onHiding');
  244. },
  245. set: function (value) {
  246. this._setOption('onHiding', value);
  247. },
  248. enumerable: true,
  249. configurable: true
  250. });
  251. Object.defineProperty(DxoPopupOptions.prototype, "onInitialized", {
  252. get: function () {
  253. return this._getOption('onInitialized');
  254. },
  255. set: function (value) {
  256. this._setOption('onInitialized', value);
  257. },
  258. enumerable: true,
  259. configurable: true
  260. });
  261. Object.defineProperty(DxoPopupOptions.prototype, "onOptionChanged", {
  262. get: function () {
  263. return this._getOption('onOptionChanged');
  264. },
  265. set: function (value) {
  266. this._setOption('onOptionChanged', value);
  267. },
  268. enumerable: true,
  269. configurable: true
  270. });
  271. Object.defineProperty(DxoPopupOptions.prototype, "onResize", {
  272. get: function () {
  273. return this._getOption('onResize');
  274. },
  275. set: function (value) {
  276. this._setOption('onResize', value);
  277. },
  278. enumerable: true,
  279. configurable: true
  280. });
  281. Object.defineProperty(DxoPopupOptions.prototype, "onResizeEnd", {
  282. get: function () {
  283. return this._getOption('onResizeEnd');
  284. },
  285. set: function (value) {
  286. this._setOption('onResizeEnd', value);
  287. },
  288. enumerable: true,
  289. configurable: true
  290. });
  291. Object.defineProperty(DxoPopupOptions.prototype, "onResizeStart", {
  292. get: function () {
  293. return this._getOption('onResizeStart');
  294. },
  295. set: function (value) {
  296. this._setOption('onResizeStart', value);
  297. },
  298. enumerable: true,
  299. configurable: true
  300. });
  301. Object.defineProperty(DxoPopupOptions.prototype, "onShowing", {
  302. get: function () {
  303. return this._getOption('onShowing');
  304. },
  305. set: function (value) {
  306. this._setOption('onShowing', value);
  307. },
  308. enumerable: true,
  309. configurable: true
  310. });
  311. Object.defineProperty(DxoPopupOptions.prototype, "onShown", {
  312. get: function () {
  313. return this._getOption('onShown');
  314. },
  315. set: function (value) {
  316. this._setOption('onShown', value);
  317. },
  318. enumerable: true,
  319. configurable: true
  320. });
  321. Object.defineProperty(DxoPopupOptions.prototype, "onTitleRendered", {
  322. get: function () {
  323. return this._getOption('onTitleRendered');
  324. },
  325. set: function (value) {
  326. this._setOption('onTitleRendered', value);
  327. },
  328. enumerable: true,
  329. configurable: true
  330. });
  331. Object.defineProperty(DxoPopupOptions.prototype, "position", {
  332. get: function () {
  333. return this._getOption('position');
  334. },
  335. set: function (value) {
  336. this._setOption('position', value);
  337. },
  338. enumerable: true,
  339. configurable: true
  340. });
  341. Object.defineProperty(DxoPopupOptions.prototype, "resizeEnabled", {
  342. get: function () {
  343. return this._getOption('resizeEnabled');
  344. },
  345. set: function (value) {
  346. this._setOption('resizeEnabled', value);
  347. },
  348. enumerable: true,
  349. configurable: true
  350. });
  351. Object.defineProperty(DxoPopupOptions.prototype, "rtlEnabled", {
  352. get: function () {
  353. return this._getOption('rtlEnabled');
  354. },
  355. set: function (value) {
  356. this._setOption('rtlEnabled', value);
  357. },
  358. enumerable: true,
  359. configurable: true
  360. });
  361. Object.defineProperty(DxoPopupOptions.prototype, "shading", {
  362. get: function () {
  363. return this._getOption('shading');
  364. },
  365. set: function (value) {
  366. this._setOption('shading', value);
  367. },
  368. enumerable: true,
  369. configurable: true
  370. });
  371. Object.defineProperty(DxoPopupOptions.prototype, "shadingColor", {
  372. get: function () {
  373. return this._getOption('shadingColor');
  374. },
  375. set: function (value) {
  376. this._setOption('shadingColor', value);
  377. },
  378. enumerable: true,
  379. configurable: true
  380. });
  381. Object.defineProperty(DxoPopupOptions.prototype, "showCloseButton", {
  382. get: function () {
  383. return this._getOption('showCloseButton');
  384. },
  385. set: function (value) {
  386. this._setOption('showCloseButton', value);
  387. },
  388. enumerable: true,
  389. configurable: true
  390. });
  391. Object.defineProperty(DxoPopupOptions.prototype, "showTitle", {
  392. get: function () {
  393. return this._getOption('showTitle');
  394. },
  395. set: function (value) {
  396. this._setOption('showTitle', value);
  397. },
  398. enumerable: true,
  399. configurable: true
  400. });
  401. Object.defineProperty(DxoPopupOptions.prototype, "tabIndex", {
  402. get: function () {
  403. return this._getOption('tabIndex');
  404. },
  405. set: function (value) {
  406. this._setOption('tabIndex', value);
  407. },
  408. enumerable: true,
  409. configurable: true
  410. });
  411. Object.defineProperty(DxoPopupOptions.prototype, "title", {
  412. get: function () {
  413. return this._getOption('title');
  414. },
  415. set: function (value) {
  416. this._setOption('title', value);
  417. },
  418. enumerable: true,
  419. configurable: true
  420. });
  421. Object.defineProperty(DxoPopupOptions.prototype, "titleTemplate", {
  422. get: function () {
  423. return this._getOption('titleTemplate');
  424. },
  425. set: function (value) {
  426. this._setOption('titleTemplate', value);
  427. },
  428. enumerable: true,
  429. configurable: true
  430. });
  431. Object.defineProperty(DxoPopupOptions.prototype, "toolbarItems", {
  432. get: function () {
  433. return this._getOption('toolbarItems');
  434. },
  435. set: function (value) {
  436. this._setOption('toolbarItems', value);
  437. },
  438. enumerable: true,
  439. configurable: true
  440. });
  441. Object.defineProperty(DxoPopupOptions.prototype, "visible", {
  442. get: function () {
  443. return this._getOption('visible');
  444. },
  445. set: function (value) {
  446. this._setOption('visible', value);
  447. },
  448. enumerable: true,
  449. configurable: true
  450. });
  451. Object.defineProperty(DxoPopupOptions.prototype, "width", {
  452. get: function () {
  453. return this._getOption('width');
  454. },
  455. set: function (value) {
  456. this._setOption('width', value);
  457. },
  458. enumerable: true,
  459. configurable: true
  460. });
  461. return DxoPopupOptions;
  462. }(nested_option_1.NestedOption));
  463. exports.DxoPopupOptions = DxoPopupOptions;
  464. //# sourceMappingURL=popup-options.js.map