pivot-grid-data-source.js 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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 DxoPivotGridDataSource = (function (_super) {
  27. __extends(DxoPivotGridDataSource, _super);
  28. function DxoPivotGridDataSource() {
  29. return _super !== null && _super.apply(this, arguments) || this;
  30. }
  31. Object.defineProperty(DxoPivotGridDataSource.prototype, "fields", {
  32. get: function () {
  33. return this._getOption('fields');
  34. },
  35. set: function (value) {
  36. this._setOption('fields', value);
  37. },
  38. enumerable: true,
  39. configurable: true
  40. });
  41. Object.defineProperty(DxoPivotGridDataSource.prototype, "filter", {
  42. get: function () {
  43. return this._getOption('filter');
  44. },
  45. set: function (value) {
  46. this._setOption('filter', value);
  47. },
  48. enumerable: true,
  49. configurable: true
  50. });
  51. Object.defineProperty(DxoPivotGridDataSource.prototype, "onChanged", {
  52. get: function () {
  53. return this._getOption('onChanged');
  54. },
  55. set: function (value) {
  56. this._setOption('onChanged', value);
  57. },
  58. enumerable: true,
  59. configurable: true
  60. });
  61. Object.defineProperty(DxoPivotGridDataSource.prototype, "onFieldsPrepared", {
  62. get: function () {
  63. return this._getOption('onFieldsPrepared');
  64. },
  65. set: function (value) {
  66. this._setOption('onFieldsPrepared', value);
  67. },
  68. enumerable: true,
  69. configurable: true
  70. });
  71. Object.defineProperty(DxoPivotGridDataSource.prototype, "onLoadError", {
  72. get: function () {
  73. return this._getOption('onLoadError');
  74. },
  75. set: function (value) {
  76. this._setOption('onLoadError', value);
  77. },
  78. enumerable: true,
  79. configurable: true
  80. });
  81. Object.defineProperty(DxoPivotGridDataSource.prototype, "onLoadingChanged", {
  82. get: function () {
  83. return this._getOption('onLoadingChanged');
  84. },
  85. set: function (value) {
  86. this._setOption('onLoadingChanged', value);
  87. },
  88. enumerable: true,
  89. configurable: true
  90. });
  91. Object.defineProperty(DxoPivotGridDataSource.prototype, "remoteOperations", {
  92. get: function () {
  93. return this._getOption('remoteOperations');
  94. },
  95. set: function (value) {
  96. this._setOption('remoteOperations', value);
  97. },
  98. enumerable: true,
  99. configurable: true
  100. });
  101. Object.defineProperty(DxoPivotGridDataSource.prototype, "retrieveFields", {
  102. get: function () {
  103. return this._getOption('retrieveFields');
  104. },
  105. set: function (value) {
  106. this._setOption('retrieveFields', value);
  107. },
  108. enumerable: true,
  109. configurable: true
  110. });
  111. Object.defineProperty(DxoPivotGridDataSource.prototype, "store", {
  112. get: function () {
  113. return this._getOption('store');
  114. },
  115. set: function (value) {
  116. this._setOption('store', value);
  117. },
  118. enumerable: true,
  119. configurable: true
  120. });
  121. return DxoPivotGridDataSource;
  122. }(nested_option_1.NestedOption));
  123. exports.DxoPivotGridDataSource = DxoPivotGridDataSource;
  124. //# sourceMappingURL=pivot-grid-data-source.js.map