search-editor-options.js 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  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 text_box_options_1 = require("./base/text-box-options");
  28. var button_dxi_1 = require("./button-dxi");
  29. var DxoSearchEditorOptionsComponent = (function (_super) {
  30. __extends(DxoSearchEditorOptionsComponent, _super);
  31. function DxoSearchEditorOptionsComponent(parentOptionHost, optionHost) {
  32. var _this = _super.call(this) || this;
  33. _this._createEventEmitters([
  34. { emit: 'textChange' },
  35. { emit: 'valueChange' }
  36. ]);
  37. parentOptionHost.setNestedOption(_this);
  38. optionHost.setHost(_this, _this._fullOptionPath.bind(_this));
  39. return _this;
  40. }
  41. Object.defineProperty(DxoSearchEditorOptionsComponent.prototype, "_optionPath", {
  42. get: function () {
  43. return 'searchEditorOptions';
  44. },
  45. enumerable: true,
  46. configurable: true
  47. });
  48. Object.defineProperty(DxoSearchEditorOptionsComponent.prototype, "buttonsChildren", {
  49. get: function () {
  50. return this._getOption('buttons');
  51. },
  52. set: function (value) {
  53. this.setChildren('buttons', value);
  54. },
  55. enumerable: true,
  56. configurable: true
  57. });
  58. DxoSearchEditorOptionsComponent.decorators = [
  59. { type: core_1.Component, args: [{
  60. selector: 'dxo-search-editor-options',
  61. template: '',
  62. styles: [''],
  63. providers: [nested_option_1.NestedOptionHost],
  64. inputs: [
  65. 'accessKey',
  66. 'activeStateEnabled',
  67. 'buttons',
  68. 'disabled',
  69. 'elementAttr',
  70. 'focusStateEnabled',
  71. 'height',
  72. 'hint',
  73. 'hoverStateEnabled',
  74. 'inputAttr',
  75. 'isValid',
  76. 'mask',
  77. 'maskChar',
  78. 'maskInvalidMessage',
  79. 'maskRules',
  80. 'maxLength',
  81. 'mode',
  82. 'name',
  83. 'onChange',
  84. 'onContentReady',
  85. 'onCopy',
  86. 'onCut',
  87. 'onDisposing',
  88. 'onEnterKey',
  89. 'onFocusIn',
  90. 'onFocusOut',
  91. 'onInitialized',
  92. 'onInput',
  93. 'onKeyDown',
  94. 'onKeyPress',
  95. 'onKeyUp',
  96. 'onOptionChanged',
  97. 'onPaste',
  98. 'onValueChanged',
  99. 'placeholder',
  100. 'readOnly',
  101. 'rtlEnabled',
  102. 'showClearButton',
  103. 'showMaskMode',
  104. 'spellcheck',
  105. 'stylingMode',
  106. 'tabIndex',
  107. 'text',
  108. 'useMaskedValue',
  109. 'validationError',
  110. 'validationMessageMode',
  111. 'value',
  112. 'valueChangeEvent',
  113. 'visible',
  114. 'width'
  115. ]
  116. },] },
  117. ];
  118. /** @nocollapse */
  119. DxoSearchEditorOptionsComponent.ctorParameters = function () { return [
  120. { type: nested_option_1.NestedOptionHost, decorators: [{ type: core_1.SkipSelf }, { type: core_1.Host },] },
  121. { type: nested_option_1.NestedOptionHost, decorators: [{ type: core_1.Host },] },
  122. ]; };
  123. DxoSearchEditorOptionsComponent.propDecorators = {
  124. "textChange": [{ type: core_1.Output },],
  125. "valueChange": [{ type: core_1.Output },],
  126. "buttonsChildren": [{ type: core_1.ContentChildren, args: [core_1.forwardRef(function () { return button_dxi_1.DxiButtonComponent; }),] },],
  127. };
  128. return DxoSearchEditorOptionsComponent;
  129. }(text_box_options_1.DxoTextBoxOptions));
  130. exports.DxoSearchEditorOptionsComponent = DxoSearchEditorOptionsComponent;
  131. var DxoSearchEditorOptionsModule = (function () {
  132. function DxoSearchEditorOptionsModule() {
  133. }
  134. DxoSearchEditorOptionsModule.decorators = [
  135. { type: core_1.NgModule, args: [{
  136. declarations: [
  137. DxoSearchEditorOptionsComponent
  138. ],
  139. exports: [
  140. DxoSearchEditorOptionsComponent
  141. ],
  142. },] },
  143. ];
  144. return DxoSearchEditorOptionsModule;
  145. }());
  146. exports.DxoSearchEditorOptionsModule = DxoSearchEditorOptionsModule;
  147. //# sourceMappingURL=search-editor-options.js.map