point.js 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  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 DxoPointComponent = (function (_super) {
  29. __extends(DxoPointComponent, _super);
  30. function DxoPointComponent(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(DxoPointComponent.prototype, "border", {
  37. get: function () {
  38. return this._getOption('border');
  39. },
  40. set: function (value) {
  41. this._setOption('border', value);
  42. },
  43. enumerable: true,
  44. configurable: true
  45. });
  46. Object.defineProperty(DxoPointComponent.prototype, "color", {
  47. get: function () {
  48. return this._getOption('color');
  49. },
  50. set: function (value) {
  51. this._setOption('color', value);
  52. },
  53. enumerable: true,
  54. configurable: true
  55. });
  56. Object.defineProperty(DxoPointComponent.prototype, "hoverMode", {
  57. get: function () {
  58. return this._getOption('hoverMode');
  59. },
  60. set: function (value) {
  61. this._setOption('hoverMode', value);
  62. },
  63. enumerable: true,
  64. configurable: true
  65. });
  66. Object.defineProperty(DxoPointComponent.prototype, "hoverStyle", {
  67. get: function () {
  68. return this._getOption('hoverStyle');
  69. },
  70. set: function (value) {
  71. this._setOption('hoverStyle', value);
  72. },
  73. enumerable: true,
  74. configurable: true
  75. });
  76. Object.defineProperty(DxoPointComponent.prototype, "image", {
  77. get: function () {
  78. return this._getOption('image');
  79. },
  80. set: function (value) {
  81. this._setOption('image', value);
  82. },
  83. enumerable: true,
  84. configurable: true
  85. });
  86. Object.defineProperty(DxoPointComponent.prototype, "selectionMode", {
  87. get: function () {
  88. return this._getOption('selectionMode');
  89. },
  90. set: function (value) {
  91. this._setOption('selectionMode', value);
  92. },
  93. enumerable: true,
  94. configurable: true
  95. });
  96. Object.defineProperty(DxoPointComponent.prototype, "selectionStyle", {
  97. get: function () {
  98. return this._getOption('selectionStyle');
  99. },
  100. set: function (value) {
  101. this._setOption('selectionStyle', value);
  102. },
  103. enumerable: true,
  104. configurable: true
  105. });
  106. Object.defineProperty(DxoPointComponent.prototype, "size", {
  107. get: function () {
  108. return this._getOption('size');
  109. },
  110. set: function (value) {
  111. this._setOption('size', value);
  112. },
  113. enumerable: true,
  114. configurable: true
  115. });
  116. Object.defineProperty(DxoPointComponent.prototype, "symbol", {
  117. get: function () {
  118. return this._getOption('symbol');
  119. },
  120. set: function (value) {
  121. this._setOption('symbol', value);
  122. },
  123. enumerable: true,
  124. configurable: true
  125. });
  126. Object.defineProperty(DxoPointComponent.prototype, "visible", {
  127. get: function () {
  128. return this._getOption('visible');
  129. },
  130. set: function (value) {
  131. this._setOption('visible', value);
  132. },
  133. enumerable: true,
  134. configurable: true
  135. });
  136. Object.defineProperty(DxoPointComponent.prototype, "_optionPath", {
  137. get: function () {
  138. return 'point';
  139. },
  140. enumerable: true,
  141. configurable: true
  142. });
  143. DxoPointComponent.decorators = [
  144. { type: core_1.Component, args: [{
  145. selector: 'dxo-point',
  146. template: '',
  147. styles: [''],
  148. providers: [nested_option_1.NestedOptionHost]
  149. },] },
  150. ];
  151. /** @nocollapse */
  152. DxoPointComponent.ctorParameters = function () { return [
  153. { type: nested_option_1.NestedOptionHost, decorators: [{ type: core_1.SkipSelf }, { type: core_1.Host },] },
  154. { type: nested_option_1.NestedOptionHost, decorators: [{ type: core_1.Host },] },
  155. ]; };
  156. DxoPointComponent.propDecorators = {
  157. "border": [{ type: core_1.Input },],
  158. "color": [{ type: core_1.Input },],
  159. "hoverMode": [{ type: core_1.Input },],
  160. "hoverStyle": [{ type: core_1.Input },],
  161. "image": [{ type: core_1.Input },],
  162. "selectionMode": [{ type: core_1.Input },],
  163. "selectionStyle": [{ type: core_1.Input },],
  164. "size": [{ type: core_1.Input },],
  165. "symbol": [{ type: core_1.Input },],
  166. "visible": [{ type: core_1.Input },],
  167. };
  168. return DxoPointComponent;
  169. }(nested_option_2.NestedOption));
  170. exports.DxoPointComponent = DxoPointComponent;
  171. var DxoPointModule = (function () {
  172. function DxoPointModule() {
  173. }
  174. DxoPointModule.decorators = [
  175. { type: core_1.NgModule, args: [{
  176. declarations: [
  177. DxoPointComponent
  178. ],
  179. exports: [
  180. DxoPointComponent
  181. ],
  182. },] },
  183. ];
  184. return DxoPointModule;
  185. }());
  186. exports.DxoPointModule = DxoPointModule;
  187. //# sourceMappingURL=point.js.map