pivot-grid.js 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681
  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 pivot_grid_1 = require("devextreme/ui/pivot_grid");
  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 data_source_1 = require("./nested/data-source");
  37. var field_dxi_1 = require("./nested/field-dxi");
  38. var format_1 = require("./nested/format");
  39. var header_filter_1 = require("./nested/header-filter");
  40. var store_1 = require("./nested/store");
  41. var export_1 = require("./nested/export");
  42. var field_chooser_1 = require("./nested/field-chooser");
  43. var texts_1 = require("./nested/texts");
  44. var field_panel_1 = require("./nested/field-panel");
  45. var load_panel_1 = require("./nested/load-panel");
  46. var scrolling_1 = require("./nested/scrolling");
  47. var state_storing_1 = require("./nested/state-storing");
  48. /**
  49. * The PivotGrid is a widget that allows you to display and analyze multi-dimensional data from a local storage or an OLAP cube.
  50. */
  51. var DxPivotGridComponent = (function (_super) {
  52. __extends(DxPivotGridComponent, _super);
  53. function DxPivotGridComponent(elementRef, ngZone, templateHost, _watcherHelper, _idh, optionHost, transferState, platformId) {
  54. var _this = _super.call(this, elementRef, ngZone, templateHost, _watcherHelper, transferState, platformId) || this;
  55. _this._watcherHelper = _watcherHelper;
  56. _this._idh = _idh;
  57. _this._createEventEmitters([
  58. { subscribe: 'cellClick', emit: 'onCellClick' },
  59. { subscribe: 'cellPrepared', emit: 'onCellPrepared' },
  60. { subscribe: 'contentReady', emit: 'onContentReady' },
  61. { subscribe: 'contextMenuPreparing', emit: 'onContextMenuPreparing' },
  62. { subscribe: 'disposing', emit: 'onDisposing' },
  63. { subscribe: 'exported', emit: 'onExported' },
  64. { subscribe: 'exporting', emit: 'onExporting' },
  65. { subscribe: 'fileSaving', emit: 'onFileSaving' },
  66. { subscribe: 'initialized', emit: 'onInitialized' },
  67. { subscribe: 'optionChanged', emit: 'onOptionChanged' },
  68. { emit: 'allowExpandAllChange' },
  69. { emit: 'allowFilteringChange' },
  70. { emit: 'allowSortingChange' },
  71. { emit: 'allowSortingBySummaryChange' },
  72. { emit: 'dataFieldAreaChange' },
  73. { emit: 'dataSourceChange' },
  74. { emit: 'disabledChange' },
  75. { emit: 'elementAttrChange' },
  76. { emit: 'exportChange' },
  77. { emit: 'fieldChooserChange' },
  78. { emit: 'fieldPanelChange' },
  79. { emit: 'headerFilterChange' },
  80. { emit: 'heightChange' },
  81. { emit: 'hideEmptySummaryCellsChange' },
  82. { emit: 'hintChange' },
  83. { emit: 'loadPanelChange' },
  84. { emit: 'rowHeaderLayoutChange' },
  85. { emit: 'rtlEnabledChange' },
  86. { emit: 'scrollingChange' },
  87. { emit: 'showBordersChange' },
  88. { emit: 'showColumnGrandTotalsChange' },
  89. { emit: 'showColumnTotalsChange' },
  90. { emit: 'showRowGrandTotalsChange' },
  91. { emit: 'showRowTotalsChange' },
  92. { emit: 'showTotalsPriorChange' },
  93. { emit: 'stateStoringChange' },
  94. { emit: 'tabIndexChange' },
  95. { emit: 'textsChange' },
  96. { emit: 'visibleChange' },
  97. { emit: 'widthChange' },
  98. { emit: 'wordWrapEnabledChange' }
  99. ]);
  100. _this._idh.setHost(_this);
  101. optionHost.setHost(_this);
  102. return _this;
  103. }
  104. Object.defineProperty(DxPivotGridComponent.prototype, "allowExpandAll", {
  105. get: /**
  106. * Allows an end-user to expand/collapse all header items within a header level.
  107. */
  108. function () {
  109. return this._getOption('allowExpandAll');
  110. },
  111. set: function (value) {
  112. this._setOption('allowExpandAll', value);
  113. },
  114. enumerable: true,
  115. configurable: true
  116. });
  117. Object.defineProperty(DxPivotGridComponent.prototype, "allowFiltering", {
  118. get: /**
  119. * Allows a user to filter fields by selecting or deselecting values in the popup menu.
  120. */
  121. function () {
  122. return this._getOption('allowFiltering');
  123. },
  124. set: function (value) {
  125. this._setOption('allowFiltering', value);
  126. },
  127. enumerable: true,
  128. configurable: true
  129. });
  130. Object.defineProperty(DxPivotGridComponent.prototype, "allowSorting", {
  131. get: /**
  132. * Allows an end-user to change sorting options.
  133. */
  134. function () {
  135. return this._getOption('allowSorting');
  136. },
  137. set: function (value) {
  138. this._setOption('allowSorting', value);
  139. },
  140. enumerable: true,
  141. configurable: true
  142. });
  143. Object.defineProperty(DxPivotGridComponent.prototype, "allowSortingBySummary", {
  144. get: /**
  145. * Allows an end-user to sort columns by summary values.
  146. */
  147. function () {
  148. return this._getOption('allowSortingBySummary');
  149. },
  150. set: function (value) {
  151. this._setOption('allowSortingBySummary', value);
  152. },
  153. enumerable: true,
  154. configurable: true
  155. });
  156. Object.defineProperty(DxPivotGridComponent.prototype, "dataFieldArea", {
  157. get: /**
  158. * Specifies the area to which data field headers must belong.
  159. */
  160. function () {
  161. return this._getOption('dataFieldArea');
  162. },
  163. set: function (value) {
  164. this._setOption('dataFieldArea', value);
  165. },
  166. enumerable: true,
  167. configurable: true
  168. });
  169. Object.defineProperty(DxPivotGridComponent.prototype, "dataSource", {
  170. get: /**
  171. * Binds the widget to data.
  172. */
  173. function () {
  174. return this._getOption('dataSource');
  175. },
  176. set: function (value) {
  177. this._setOption('dataSource', value);
  178. },
  179. enumerable: true,
  180. configurable: true
  181. });
  182. Object.defineProperty(DxPivotGridComponent.prototype, "disabled", {
  183. get: /**
  184. * Specifies whether the widget responds to user interaction.
  185. */
  186. function () {
  187. return this._getOption('disabled');
  188. },
  189. set: function (value) {
  190. this._setOption('disabled', value);
  191. },
  192. enumerable: true,
  193. configurable: true
  194. });
  195. Object.defineProperty(DxPivotGridComponent.prototype, "elementAttr", {
  196. get: /**
  197. * Specifies the attributes to be attached to the widget's root element.
  198. */
  199. function () {
  200. return this._getOption('elementAttr');
  201. },
  202. set: function (value) {
  203. this._setOption('elementAttr', value);
  204. },
  205. enumerable: true,
  206. configurable: true
  207. });
  208. Object.defineProperty(DxPivotGridComponent.prototype, "export", {
  209. get: /**
  210. * Configures client-side exporting.
  211. */
  212. function () {
  213. return this._getOption('export');
  214. },
  215. set: function (value) {
  216. this._setOption('export', value);
  217. },
  218. enumerable: true,
  219. configurable: true
  220. });
  221. Object.defineProperty(DxPivotGridComponent.prototype, "fieldChooser", {
  222. get: /**
  223. * The Field Chooser configuration options.
  224. */
  225. function () {
  226. return this._getOption('fieldChooser');
  227. },
  228. set: function (value) {
  229. this._setOption('fieldChooser', value);
  230. },
  231. enumerable: true,
  232. configurable: true
  233. });
  234. Object.defineProperty(DxPivotGridComponent.prototype, "fieldPanel", {
  235. get: /**
  236. * Configures the field panel.
  237. */
  238. function () {
  239. return this._getOption('fieldPanel');
  240. },
  241. set: function (value) {
  242. this._setOption('fieldPanel', value);
  243. },
  244. enumerable: true,
  245. configurable: true
  246. });
  247. Object.defineProperty(DxPivotGridComponent.prototype, "headerFilter", {
  248. get: /**
  249. * Configures the header filter feature.
  250. */
  251. function () {
  252. return this._getOption('headerFilter');
  253. },
  254. set: function (value) {
  255. this._setOption('headerFilter', value);
  256. },
  257. enumerable: true,
  258. configurable: true
  259. });
  260. Object.defineProperty(DxPivotGridComponent.prototype, "height", {
  261. get: /**
  262. * Specifies the widget's height.
  263. */
  264. function () {
  265. return this._getOption('height');
  266. },
  267. set: function (value) {
  268. this._setOption('height', value);
  269. },
  270. enumerable: true,
  271. configurable: true
  272. });
  273. Object.defineProperty(DxPivotGridComponent.prototype, "hideEmptySummaryCells", {
  274. get: /**
  275. * Specifies whether or not to hide rows and columns with no data.
  276. */
  277. function () {
  278. return this._getOption('hideEmptySummaryCells');
  279. },
  280. set: function (value) {
  281. this._setOption('hideEmptySummaryCells', value);
  282. },
  283. enumerable: true,
  284. configurable: true
  285. });
  286. Object.defineProperty(DxPivotGridComponent.prototype, "hint", {
  287. get: /**
  288. * Specifies text for a hint that appears when a user pauses on the widget.
  289. */
  290. function () {
  291. return this._getOption('hint');
  292. },
  293. set: function (value) {
  294. this._setOption('hint', value);
  295. },
  296. enumerable: true,
  297. configurable: true
  298. });
  299. Object.defineProperty(DxPivotGridComponent.prototype, "loadPanel", {
  300. get: /**
  301. * Specifies options configuring the load panel.
  302. */
  303. function () {
  304. return this._getOption('loadPanel');
  305. },
  306. set: function (value) {
  307. this._setOption('loadPanel', value);
  308. },
  309. enumerable: true,
  310. configurable: true
  311. });
  312. Object.defineProperty(DxPivotGridComponent.prototype, "rowHeaderLayout", {
  313. get: /**
  314. * Specifies the layout of items in the row header.
  315. */
  316. function () {
  317. return this._getOption('rowHeaderLayout');
  318. },
  319. set: function (value) {
  320. this._setOption('rowHeaderLayout', value);
  321. },
  322. enumerable: true,
  323. configurable: true
  324. });
  325. Object.defineProperty(DxPivotGridComponent.prototype, "rtlEnabled", {
  326. get: /**
  327. * Switches the widget to a right-to-left representation.
  328. */
  329. function () {
  330. return this._getOption('rtlEnabled');
  331. },
  332. set: function (value) {
  333. this._setOption('rtlEnabled', value);
  334. },
  335. enumerable: true,
  336. configurable: true
  337. });
  338. Object.defineProperty(DxPivotGridComponent.prototype, "scrolling", {
  339. get: /**
  340. * A configuration object specifying scrolling options.
  341. */
  342. function () {
  343. return this._getOption('scrolling');
  344. },
  345. set: function (value) {
  346. this._setOption('scrolling', value);
  347. },
  348. enumerable: true,
  349. configurable: true
  350. });
  351. Object.defineProperty(DxPivotGridComponent.prototype, "showBorders", {
  352. get: /**
  353. * Specifies whether the outer borders of the grid are visible or not.
  354. */
  355. function () {
  356. return this._getOption('showBorders');
  357. },
  358. set: function (value) {
  359. this._setOption('showBorders', value);
  360. },
  361. enumerable: true,
  362. configurable: true
  363. });
  364. Object.defineProperty(DxPivotGridComponent.prototype, "showColumnGrandTotals", {
  365. get: /**
  366. * Specifies whether to display the Grand Total column.
  367. */
  368. function () {
  369. return this._getOption('showColumnGrandTotals');
  370. },
  371. set: function (value) {
  372. this._setOption('showColumnGrandTotals', value);
  373. },
  374. enumerable: true,
  375. configurable: true
  376. });
  377. Object.defineProperty(DxPivotGridComponent.prototype, "showColumnTotals", {
  378. get: /**
  379. * Specifies whether to display the Total columns.
  380. */
  381. function () {
  382. return this._getOption('showColumnTotals');
  383. },
  384. set: function (value) {
  385. this._setOption('showColumnTotals', value);
  386. },
  387. enumerable: true,
  388. configurable: true
  389. });
  390. Object.defineProperty(DxPivotGridComponent.prototype, "showRowGrandTotals", {
  391. get: /**
  392. * Specifies whether to display the Grand Total row.
  393. */
  394. function () {
  395. return this._getOption('showRowGrandTotals');
  396. },
  397. set: function (value) {
  398. this._setOption('showRowGrandTotals', value);
  399. },
  400. enumerable: true,
  401. configurable: true
  402. });
  403. Object.defineProperty(DxPivotGridComponent.prototype, "showRowTotals", {
  404. get: /**
  405. * Specifies whether to display the Total rows. Applies only if rowHeaderLayout is "standard".
  406. */
  407. function () {
  408. return this._getOption('showRowTotals');
  409. },
  410. set: function (value) {
  411. this._setOption('showRowTotals', value);
  412. },
  413. enumerable: true,
  414. configurable: true
  415. });
  416. Object.defineProperty(DxPivotGridComponent.prototype, "showTotalsPrior", {
  417. get: /**
  418. * Specifies where to show the total rows or columns. Applies only if rowHeaderLayout is "standard".
  419. */
  420. function () {
  421. return this._getOption('showTotalsPrior');
  422. },
  423. set: function (value) {
  424. this._setOption('showTotalsPrior', value);
  425. },
  426. enumerable: true,
  427. configurable: true
  428. });
  429. Object.defineProperty(DxPivotGridComponent.prototype, "stateStoring", {
  430. get: /**
  431. * A configuration object specifying options related to state storing.
  432. */
  433. function () {
  434. return this._getOption('stateStoring');
  435. },
  436. set: function (value) {
  437. this._setOption('stateStoring', value);
  438. },
  439. enumerable: true,
  440. configurable: true
  441. });
  442. Object.defineProperty(DxPivotGridComponent.prototype, "tabIndex", {
  443. get: /**
  444. * Specifies the number of the element when the Tab key is used for navigating.
  445. */
  446. function () {
  447. return this._getOption('tabIndex');
  448. },
  449. set: function (value) {
  450. this._setOption('tabIndex', value);
  451. },
  452. enumerable: true,
  453. configurable: true
  454. });
  455. Object.defineProperty(DxPivotGridComponent.prototype, "texts", {
  456. get: /**
  457. * Strings that can be changed or localized in the PivotGrid widget.
  458. */
  459. function () {
  460. return this._getOption('texts');
  461. },
  462. set: function (value) {
  463. this._setOption('texts', value);
  464. },
  465. enumerable: true,
  466. configurable: true
  467. });
  468. Object.defineProperty(DxPivotGridComponent.prototype, "visible", {
  469. get: /**
  470. * Specifies whether the widget is visible.
  471. */
  472. function () {
  473. return this._getOption('visible');
  474. },
  475. set: function (value) {
  476. this._setOption('visible', value);
  477. },
  478. enumerable: true,
  479. configurable: true
  480. });
  481. Object.defineProperty(DxPivotGridComponent.prototype, "width", {
  482. get: /**
  483. * Specifies the widget's width.
  484. */
  485. function () {
  486. return this._getOption('width');
  487. },
  488. set: function (value) {
  489. this._setOption('width', value);
  490. },
  491. enumerable: true,
  492. configurable: true
  493. });
  494. Object.defineProperty(DxPivotGridComponent.prototype, "wordWrapEnabled", {
  495. get: /**
  496. * Specifies whether long text in header items should be wrapped.
  497. */
  498. function () {
  499. return this._getOption('wordWrapEnabled');
  500. },
  501. set: function (value) {
  502. this._setOption('wordWrapEnabled', value);
  503. },
  504. enumerable: true,
  505. configurable: true
  506. });
  507. DxPivotGridComponent.prototype._createInstance = function (element, options) {
  508. return new pivot_grid_1.default(element, options);
  509. };
  510. DxPivotGridComponent.prototype.ngOnDestroy = function () {
  511. this._destroyWidget();
  512. };
  513. DxPivotGridComponent.prototype.ngOnChanges = function (changes) {
  514. _super.prototype.ngOnChanges.call(this, changes);
  515. this.setupChanges('dataSource', changes);
  516. };
  517. DxPivotGridComponent.prototype.setupChanges = function (prop, changes) {
  518. if (!(prop in this._optionsToUpdate)) {
  519. this._idh.setup(prop, changes);
  520. }
  521. };
  522. DxPivotGridComponent.prototype.ngDoCheck = function () {
  523. this._idh.doCheck('dataSource');
  524. this._watcherHelper.checkWatchers();
  525. _super.prototype.ngDoCheck.call(this);
  526. _super.prototype.clearChangedOptions.call(this);
  527. };
  528. DxPivotGridComponent.prototype._setOption = function (name, value) {
  529. var isSetup = this._idh.setupSingle(name, value);
  530. var isChanged = this._idh.getChanges(name, value) !== null;
  531. if (isSetup || isChanged) {
  532. _super.prototype._setOption.call(this, name, value);
  533. }
  534. };
  535. DxPivotGridComponent.decorators = [
  536. { type: core_1.Component, args: [{
  537. selector: 'dx-pivot-grid',
  538. template: '',
  539. providers: [
  540. template_host_1.DxTemplateHost,
  541. watcher_helper_1.WatcherHelper,
  542. nested_option_1.NestedOptionHost,
  543. iterable_differ_helper_1.IterableDifferHelper
  544. ]
  545. },] },
  546. ];
  547. /** @nocollapse */
  548. DxPivotGridComponent.ctorParameters = function () { return [
  549. { type: core_1.ElementRef, },
  550. { type: core_1.NgZone, },
  551. { type: template_host_1.DxTemplateHost, },
  552. { type: watcher_helper_1.WatcherHelper, },
  553. { type: iterable_differ_helper_1.IterableDifferHelper, },
  554. { type: nested_option_1.NestedOptionHost, },
  555. { type: platform_browser_2.TransferState, },
  556. { type: undefined, decorators: [{ type: core_1.Inject, args: [core_1.PLATFORM_ID,] },] },
  557. ]; };
  558. DxPivotGridComponent.propDecorators = {
  559. "allowExpandAll": [{ type: core_1.Input },],
  560. "allowFiltering": [{ type: core_1.Input },],
  561. "allowSorting": [{ type: core_1.Input },],
  562. "allowSortingBySummary": [{ type: core_1.Input },],
  563. "dataFieldArea": [{ type: core_1.Input },],
  564. "dataSource": [{ type: core_1.Input },],
  565. "disabled": [{ type: core_1.Input },],
  566. "elementAttr": [{ type: core_1.Input },],
  567. "export": [{ type: core_1.Input },],
  568. "fieldChooser": [{ type: core_1.Input },],
  569. "fieldPanel": [{ type: core_1.Input },],
  570. "headerFilter": [{ type: core_1.Input },],
  571. "height": [{ type: core_1.Input },],
  572. "hideEmptySummaryCells": [{ type: core_1.Input },],
  573. "hint": [{ type: core_1.Input },],
  574. "loadPanel": [{ type: core_1.Input },],
  575. "rowHeaderLayout": [{ type: core_1.Input },],
  576. "rtlEnabled": [{ type: core_1.Input },],
  577. "scrolling": [{ type: core_1.Input },],
  578. "showBorders": [{ type: core_1.Input },],
  579. "showColumnGrandTotals": [{ type: core_1.Input },],
  580. "showColumnTotals": [{ type: core_1.Input },],
  581. "showRowGrandTotals": [{ type: core_1.Input },],
  582. "showRowTotals": [{ type: core_1.Input },],
  583. "showTotalsPrior": [{ type: core_1.Input },],
  584. "stateStoring": [{ type: core_1.Input },],
  585. "tabIndex": [{ type: core_1.Input },],
  586. "texts": [{ type: core_1.Input },],
  587. "visible": [{ type: core_1.Input },],
  588. "width": [{ type: core_1.Input },],
  589. "wordWrapEnabled": [{ type: core_1.Input },],
  590. "onCellClick": [{ type: core_1.Output },],
  591. "onCellPrepared": [{ type: core_1.Output },],
  592. "onContentReady": [{ type: core_1.Output },],
  593. "onContextMenuPreparing": [{ type: core_1.Output },],
  594. "onDisposing": [{ type: core_1.Output },],
  595. "onExported": [{ type: core_1.Output },],
  596. "onExporting": [{ type: core_1.Output },],
  597. "onFileSaving": [{ type: core_1.Output },],
  598. "onInitialized": [{ type: core_1.Output },],
  599. "onOptionChanged": [{ type: core_1.Output },],
  600. "allowExpandAllChange": [{ type: core_1.Output },],
  601. "allowFilteringChange": [{ type: core_1.Output },],
  602. "allowSortingChange": [{ type: core_1.Output },],
  603. "allowSortingBySummaryChange": [{ type: core_1.Output },],
  604. "dataFieldAreaChange": [{ type: core_1.Output },],
  605. "dataSourceChange": [{ type: core_1.Output },],
  606. "disabledChange": [{ type: core_1.Output },],
  607. "elementAttrChange": [{ type: core_1.Output },],
  608. "exportChange": [{ type: core_1.Output },],
  609. "fieldChooserChange": [{ type: core_1.Output },],
  610. "fieldPanelChange": [{ type: core_1.Output },],
  611. "headerFilterChange": [{ type: core_1.Output },],
  612. "heightChange": [{ type: core_1.Output },],
  613. "hideEmptySummaryCellsChange": [{ type: core_1.Output },],
  614. "hintChange": [{ type: core_1.Output },],
  615. "loadPanelChange": [{ type: core_1.Output },],
  616. "rowHeaderLayoutChange": [{ type: core_1.Output },],
  617. "rtlEnabledChange": [{ type: core_1.Output },],
  618. "scrollingChange": [{ type: core_1.Output },],
  619. "showBordersChange": [{ type: core_1.Output },],
  620. "showColumnGrandTotalsChange": [{ type: core_1.Output },],
  621. "showColumnTotalsChange": [{ type: core_1.Output },],
  622. "showRowGrandTotalsChange": [{ type: core_1.Output },],
  623. "showRowTotalsChange": [{ type: core_1.Output },],
  624. "showTotalsPriorChange": [{ type: core_1.Output },],
  625. "stateStoringChange": [{ type: core_1.Output },],
  626. "tabIndexChange": [{ type: core_1.Output },],
  627. "textsChange": [{ type: core_1.Output },],
  628. "visibleChange": [{ type: core_1.Output },],
  629. "widthChange": [{ type: core_1.Output },],
  630. "wordWrapEnabledChange": [{ type: core_1.Output },],
  631. };
  632. return DxPivotGridComponent;
  633. }(component_1.DxComponent));
  634. exports.DxPivotGridComponent = DxPivotGridComponent;
  635. var DxPivotGridModule = (function () {
  636. function DxPivotGridModule() {
  637. }
  638. DxPivotGridModule.decorators = [
  639. { type: core_1.NgModule, args: [{
  640. imports: [
  641. data_source_1.DxoDataSourceModule,
  642. field_dxi_1.DxiFieldModule,
  643. format_1.DxoFormatModule,
  644. header_filter_1.DxoHeaderFilterModule,
  645. store_1.DxoStoreModule,
  646. export_1.DxoExportModule,
  647. field_chooser_1.DxoFieldChooserModule,
  648. texts_1.DxoTextsModule,
  649. field_panel_1.DxoFieldPanelModule,
  650. load_panel_1.DxoLoadPanelModule,
  651. scrolling_1.DxoScrollingModule,
  652. state_storing_1.DxoStateStoringModule,
  653. integration_1.DxIntegrationModule,
  654. template_1.DxTemplateModule,
  655. platform_browser_1.BrowserTransferStateModule
  656. ],
  657. declarations: [
  658. DxPivotGridComponent
  659. ],
  660. exports: [
  661. DxPivotGridComponent,
  662. data_source_1.DxoDataSourceModule,
  663. field_dxi_1.DxiFieldModule,
  664. format_1.DxoFormatModule,
  665. header_filter_1.DxoHeaderFilterModule,
  666. store_1.DxoStoreModule,
  667. export_1.DxoExportModule,
  668. field_chooser_1.DxoFieldChooserModule,
  669. texts_1.DxoTextsModule,
  670. field_panel_1.DxoFieldPanelModule,
  671. load_panel_1.DxoLoadPanelModule,
  672. scrolling_1.DxoScrollingModule,
  673. state_storing_1.DxoStateStoringModule,
  674. template_1.DxTemplateModule
  675. ]
  676. },] },
  677. ];
  678. return DxPivotGridModule;
  679. }());
  680. exports.DxPivotGridModule = DxPivotGridModule;
  681. //# sourceMappingURL=pivot-grid.js.map