mention-dxi.js 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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 html_editor_mention_dxi_1 = require("./base/html-editor-mention-dxi");
  28. var DxiMentionComponent = (function (_super) {
  29. __extends(DxiMentionComponent, _super);
  30. function DxiMentionComponent(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(DxiMentionComponent.prototype, "_optionPath", {
  37. get: function () {
  38. return 'mentions';
  39. },
  40. enumerable: true,
  41. configurable: true
  42. });
  43. DxiMentionComponent.decorators = [
  44. { type: core_1.Component, args: [{
  45. selector: 'dxi-mention',
  46. template: '',
  47. styles: [''],
  48. providers: [nested_option_1.NestedOptionHost],
  49. inputs: [
  50. 'dataSource',
  51. 'displayExpr',
  52. 'itemTemplate',
  53. 'marker',
  54. 'minSearchLength',
  55. 'searchExpr',
  56. 'searchTimeout',
  57. 'template',
  58. 'valueExpr'
  59. ]
  60. },] },
  61. ];
  62. /** @nocollapse */
  63. DxiMentionComponent.ctorParameters = function () { return [
  64. { type: nested_option_1.NestedOptionHost, decorators: [{ type: core_1.SkipSelf }, { type: core_1.Host },] },
  65. { type: nested_option_1.NestedOptionHost, decorators: [{ type: core_1.Host },] },
  66. ]; };
  67. return DxiMentionComponent;
  68. }(html_editor_mention_dxi_1.DxiHtmlEditorMention));
  69. exports.DxiMentionComponent = DxiMentionComponent;
  70. var DxiMentionModule = (function () {
  71. function DxiMentionModule() {
  72. }
  73. DxiMentionModule.decorators = [
  74. { type: core_1.NgModule, args: [{
  75. declarations: [
  76. DxiMentionComponent
  77. ],
  78. exports: [
  79. DxiMentionComponent
  80. ],
  81. },] },
  82. ];
  83. return DxiMentionModule;
  84. }());
  85. exports.DxiMentionModule = DxiMentionModule;
  86. //# sourceMappingURL=mention-dxi.js.map