field-dxi.js 4.7 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 core_1 = require("@angular/core");
  26. var nested_option_1 = require("../../core/nested-option");
  27. var filter_builder_field_dxi_1 = require("./base/filter-builder-field-dxi");
  28. var DxiFieldComponent = (function (_super) {
  29. __extends(DxiFieldComponent, _super);
  30. function DxiFieldComponent(parentOptionHost, optionHost) {
  31. var _this = _super.call(this) || this;
  32. parentOptionHost.setNestedOption(_this);
  33. optionHost.setHost(_this, _this._fullOptionPath.bind(_this));
  34. return _this;
  35. }
  36. Object.defineProperty(DxiFieldComponent.prototype, "_optionPath", {
  37. get: function () {
  38. return 'fields';
  39. },
  40. enumerable: true,
  41. configurable: true
  42. });
  43. DxiFieldComponent.decorators = [
  44. { type: core_1.Component, args: [{
  45. selector: 'dxi-field',
  46. template: '',
  47. styles: [''],
  48. providers: [nested_option_1.NestedOptionHost],
  49. inputs: [
  50. 'calculateFilterExpression',
  51. 'caption',
  52. 'customizeText',
  53. 'dataField',
  54. 'dataType',
  55. 'editorOptions',
  56. 'editorTemplate',
  57. 'falseText',
  58. 'filterOperations',
  59. 'format',
  60. 'lookup',
  61. 'name',
  62. 'trueText',
  63. 'allowCrossGroupCalculation',
  64. 'allowExpandAll',
  65. 'allowFiltering',
  66. 'allowSorting',
  67. 'allowSortingBySummary',
  68. 'area',
  69. 'areaIndex',
  70. 'calculateCustomSummary',
  71. 'calculateSummaryValue',
  72. 'displayFolder',
  73. 'expanded',
  74. 'filterType',
  75. 'filterValues',
  76. 'groupIndex',
  77. 'groupInterval',
  78. 'groupName',
  79. 'headerFilter',
  80. 'isMeasure',
  81. 'precision',
  82. 'runningTotal',
  83. 'selector',
  84. 'showGrandTotals',
  85. 'showTotals',
  86. 'showValues',
  87. 'sortBy',
  88. 'sortBySummaryField',
  89. 'sortBySummaryPath',
  90. 'sortingMethod',
  91. 'sortOrder',
  92. 'summaryDisplayMode',
  93. 'summaryType',
  94. 'visible',
  95. 'width',
  96. 'wordWrapEnabled'
  97. ]
  98. },] },
  99. ];
  100. /** @nocollapse */
  101. DxiFieldComponent.ctorParameters = function () { return [
  102. { type: nested_option_1.NestedOptionHost, decorators: [{ type: core_1.SkipSelf }, { type: core_1.Host },] },
  103. { type: nested_option_1.NestedOptionHost, decorators: [{ type: core_1.Host },] },
  104. ]; };
  105. return DxiFieldComponent;
  106. }(filter_builder_field_dxi_1.DxiFilterBuilderField));
  107. exports.DxiFieldComponent = DxiFieldComponent;
  108. var DxiFieldModule = (function () {
  109. function DxiFieldModule() {
  110. }
  111. DxiFieldModule.decorators = [
  112. { type: core_1.NgModule, args: [{
  113. declarations: [
  114. DxiFieldComponent
  115. ],
  116. exports: [
  117. DxiFieldComponent
  118. ],
  119. },] },
  120. ];
  121. return DxiFieldModule;
  122. }());
  123. exports.DxiFieldModule = DxiFieldModule;
  124. //# sourceMappingURL=field-dxi.js.map