search-panel.js 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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 nested_option_2 = require("../../core/nested-option");
  28. var DxoSearchPanelComponent = (function (_super) {
  29. __extends(DxoSearchPanelComponent, _super);
  30. function DxoSearchPanelComponent(parentOptionHost, optionHost) {
  31. var _this = _super.call(this) || this;
  32. _this._createEventEmitters([
  33. { emit: 'textChange' }
  34. ]);
  35. parentOptionHost.setNestedOption(_this);
  36. optionHost.setHost(_this, _this._fullOptionPath.bind(_this));
  37. return _this;
  38. }
  39. Object.defineProperty(DxoSearchPanelComponent.prototype, "highlightCaseSensitive", {
  40. get: function () {
  41. return this._getOption('highlightCaseSensitive');
  42. },
  43. set: function (value) {
  44. this._setOption('highlightCaseSensitive', value);
  45. },
  46. enumerable: true,
  47. configurable: true
  48. });
  49. Object.defineProperty(DxoSearchPanelComponent.prototype, "highlightSearchText", {
  50. get: function () {
  51. return this._getOption('highlightSearchText');
  52. },
  53. set: function (value) {
  54. this._setOption('highlightSearchText', value);
  55. },
  56. enumerable: true,
  57. configurable: true
  58. });
  59. Object.defineProperty(DxoSearchPanelComponent.prototype, "placeholder", {
  60. get: function () {
  61. return this._getOption('placeholder');
  62. },
  63. set: function (value) {
  64. this._setOption('placeholder', value);
  65. },
  66. enumerable: true,
  67. configurable: true
  68. });
  69. Object.defineProperty(DxoSearchPanelComponent.prototype, "searchVisibleColumnsOnly", {
  70. get: function () {
  71. return this._getOption('searchVisibleColumnsOnly');
  72. },
  73. set: function (value) {
  74. this._setOption('searchVisibleColumnsOnly', value);
  75. },
  76. enumerable: true,
  77. configurable: true
  78. });
  79. Object.defineProperty(DxoSearchPanelComponent.prototype, "text", {
  80. get: function () {
  81. return this._getOption('text');
  82. },
  83. set: function (value) {
  84. this._setOption('text', value);
  85. },
  86. enumerable: true,
  87. configurable: true
  88. });
  89. Object.defineProperty(DxoSearchPanelComponent.prototype, "visible", {
  90. get: function () {
  91. return this._getOption('visible');
  92. },
  93. set: function (value) {
  94. this._setOption('visible', value);
  95. },
  96. enumerable: true,
  97. configurable: true
  98. });
  99. Object.defineProperty(DxoSearchPanelComponent.prototype, "width", {
  100. get: function () {
  101. return this._getOption('width');
  102. },
  103. set: function (value) {
  104. this._setOption('width', value);
  105. },
  106. enumerable: true,
  107. configurable: true
  108. });
  109. Object.defineProperty(DxoSearchPanelComponent.prototype, "_optionPath", {
  110. get: function () {
  111. return 'searchPanel';
  112. },
  113. enumerable: true,
  114. configurable: true
  115. });
  116. DxoSearchPanelComponent.decorators = [
  117. { type: core_1.Component, args: [{
  118. selector: 'dxo-search-panel',
  119. template: '',
  120. styles: [''],
  121. providers: [nested_option_1.NestedOptionHost]
  122. },] },
  123. ];
  124. /** @nocollapse */
  125. DxoSearchPanelComponent.ctorParameters = function () { return [
  126. { type: nested_option_1.NestedOptionHost, decorators: [{ type: core_1.SkipSelf }, { type: core_1.Host },] },
  127. { type: nested_option_1.NestedOptionHost, decorators: [{ type: core_1.Host },] },
  128. ]; };
  129. DxoSearchPanelComponent.propDecorators = {
  130. "highlightCaseSensitive": [{ type: core_1.Input },],
  131. "highlightSearchText": [{ type: core_1.Input },],
  132. "placeholder": [{ type: core_1.Input },],
  133. "searchVisibleColumnsOnly": [{ type: core_1.Input },],
  134. "text": [{ type: core_1.Input },],
  135. "visible": [{ type: core_1.Input },],
  136. "width": [{ type: core_1.Input },],
  137. "textChange": [{ type: core_1.Output },],
  138. };
  139. return DxoSearchPanelComponent;
  140. }(nested_option_2.NestedOption));
  141. exports.DxoSearchPanelComponent = DxoSearchPanelComponent;
  142. var DxoSearchPanelModule = (function () {
  143. function DxoSearchPanelModule() {
  144. }
  145. DxoSearchPanelModule.decorators = [
  146. { type: core_1.NgModule, args: [{
  147. declarations: [
  148. DxoSearchPanelComponent
  149. ],
  150. exports: [
  151. DxoSearchPanelComponent
  152. ],
  153. },] },
  154. ];
  155. return DxoSearchPanelModule;
  156. }());
  157. exports.DxoSearchPanelModule = DxoSearchPanelModule;
  158. //# sourceMappingURL=search-panel.js.map