| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342 |
- "use strict";
- var __extends = (this && this.__extends) || (function () {
- var extendStatics = Object.setPrototypeOf ||
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
- return function (d, b) {
- extendStatics(d, b);
- function __() { this.constructor = d; }
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
- };
- })();
- /*!
- * devextreme-angular
- * Version: 19.1.16
- * Build date: Tue Oct 18 2022
- *
- * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
- *
- * This software may be modified and distributed under the terms
- * of the MIT license. See the LICENSE file in the root of the project for details.
- *
- * https://github.com/DevExpress/devextreme-angular
- */
- Object.defineProperty(exports, "__esModule", { value: true });
- var core_1 = require("@angular/core");
- var nested_option_1 = require("../../core/nested-option");
- var nested_option_2 = require("../../core/nested-option");
- var DxoLegendComponent = (function (_super) {
- __extends(DxoLegendComponent, _super);
- function DxoLegendComponent(parentOptionHost, optionHost) {
- var _this = _super.call(this) || this;
- parentOptionHost.setNestedOption(_this);
- optionHost.setHost(_this, _this._fullOptionPath.bind(_this));
- return _this;
- }
- Object.defineProperty(DxoLegendComponent.prototype, "backgroundColor", {
- get: function () {
- return this._getOption('backgroundColor');
- },
- set: function (value) {
- this._setOption('backgroundColor', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoLegendComponent.prototype, "border", {
- get: function () {
- return this._getOption('border');
- },
- set: function (value) {
- this._setOption('border', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoLegendComponent.prototype, "columnCount", {
- get: function () {
- return this._getOption('columnCount');
- },
- set: function (value) {
- this._setOption('columnCount', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoLegendComponent.prototype, "columnItemSpacing", {
- get: function () {
- return this._getOption('columnItemSpacing');
- },
- set: function (value) {
- this._setOption('columnItemSpacing', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoLegendComponent.prototype, "customizeHint", {
- get: function () {
- return this._getOption('customizeHint');
- },
- set: function (value) {
- this._setOption('customizeHint', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoLegendComponent.prototype, "customizeItems", {
- get: function () {
- return this._getOption('customizeItems');
- },
- set: function (value) {
- this._setOption('customizeItems', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoLegendComponent.prototype, "customizeText", {
- get: function () {
- return this._getOption('customizeText');
- },
- set: function (value) {
- this._setOption('customizeText', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoLegendComponent.prototype, "font", {
- get: function () {
- return this._getOption('font');
- },
- set: function (value) {
- this._setOption('font', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoLegendComponent.prototype, "horizontalAlignment", {
- get: function () {
- return this._getOption('horizontalAlignment');
- },
- set: function (value) {
- this._setOption('horizontalAlignment', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoLegendComponent.prototype, "itemsAlignment", {
- get: function () {
- return this._getOption('itemsAlignment');
- },
- set: function (value) {
- this._setOption('itemsAlignment', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoLegendComponent.prototype, "itemTextFormat", {
- get: function () {
- return this._getOption('itemTextFormat');
- },
- set: function (value) {
- this._setOption('itemTextFormat', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoLegendComponent.prototype, "itemTextPosition", {
- get: function () {
- return this._getOption('itemTextPosition');
- },
- set: function (value) {
- this._setOption('itemTextPosition', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoLegendComponent.prototype, "margin", {
- get: function () {
- return this._getOption('margin');
- },
- set: function (value) {
- this._setOption('margin', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoLegendComponent.prototype, "markerSize", {
- get: function () {
- return this._getOption('markerSize');
- },
- set: function (value) {
- this._setOption('markerSize', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoLegendComponent.prototype, "orientation", {
- get: function () {
- return this._getOption('orientation');
- },
- set: function (value) {
- this._setOption('orientation', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoLegendComponent.prototype, "paddingLeftRight", {
- get: function () {
- return this._getOption('paddingLeftRight');
- },
- set: function (value) {
- this._setOption('paddingLeftRight', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoLegendComponent.prototype, "paddingTopBottom", {
- get: function () {
- return this._getOption('paddingTopBottom');
- },
- set: function (value) {
- this._setOption('paddingTopBottom', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoLegendComponent.prototype, "rowCount", {
- get: function () {
- return this._getOption('rowCount');
- },
- set: function (value) {
- this._setOption('rowCount', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoLegendComponent.prototype, "rowItemSpacing", {
- get: function () {
- return this._getOption('rowItemSpacing');
- },
- set: function (value) {
- this._setOption('rowItemSpacing', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoLegendComponent.prototype, "title", {
- get: function () {
- return this._getOption('title');
- },
- set: function (value) {
- this._setOption('title', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoLegendComponent.prototype, "verticalAlignment", {
- get: function () {
- return this._getOption('verticalAlignment');
- },
- set: function (value) {
- this._setOption('verticalAlignment', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoLegendComponent.prototype, "visible", {
- get: function () {
- return this._getOption('visible');
- },
- set: function (value) {
- this._setOption('visible', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoLegendComponent.prototype, "hoverMode", {
- get: function () {
- return this._getOption('hoverMode');
- },
- set: function (value) {
- this._setOption('hoverMode', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoLegendComponent.prototype, "position", {
- get: function () {
- return this._getOption('position');
- },
- set: function (value) {
- this._setOption('position', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoLegendComponent.prototype, "_optionPath", {
- get: function () {
- return 'legend';
- },
- enumerable: true,
- configurable: true
- });
- DxoLegendComponent.decorators = [
- { type: core_1.Component, args: [{
- selector: 'dxo-legend',
- template: '',
- styles: [''],
- providers: [nested_option_1.NestedOptionHost]
- },] },
- ];
- /** @nocollapse */
- DxoLegendComponent.ctorParameters = function () { return [
- { type: nested_option_1.NestedOptionHost, decorators: [{ type: core_1.SkipSelf }, { type: core_1.Host },] },
- { type: nested_option_1.NestedOptionHost, decorators: [{ type: core_1.Host },] },
- ]; };
- DxoLegendComponent.propDecorators = {
- "backgroundColor": [{ type: core_1.Input },],
- "border": [{ type: core_1.Input },],
- "columnCount": [{ type: core_1.Input },],
- "columnItemSpacing": [{ type: core_1.Input },],
- "customizeHint": [{ type: core_1.Input },],
- "customizeItems": [{ type: core_1.Input },],
- "customizeText": [{ type: core_1.Input },],
- "font": [{ type: core_1.Input },],
- "horizontalAlignment": [{ type: core_1.Input },],
- "itemsAlignment": [{ type: core_1.Input },],
- "itemTextFormat": [{ type: core_1.Input },],
- "itemTextPosition": [{ type: core_1.Input },],
- "margin": [{ type: core_1.Input },],
- "markerSize": [{ type: core_1.Input },],
- "orientation": [{ type: core_1.Input },],
- "paddingLeftRight": [{ type: core_1.Input },],
- "paddingTopBottom": [{ type: core_1.Input },],
- "rowCount": [{ type: core_1.Input },],
- "rowItemSpacing": [{ type: core_1.Input },],
- "title": [{ type: core_1.Input },],
- "verticalAlignment": [{ type: core_1.Input },],
- "visible": [{ type: core_1.Input },],
- "hoverMode": [{ type: core_1.Input },],
- "position": [{ type: core_1.Input },],
- };
- return DxoLegendComponent;
- }(nested_option_2.NestedOption));
- exports.DxoLegendComponent = DxoLegendComponent;
- var DxoLegendModule = (function () {
- function DxoLegendModule() {
- }
- DxoLegendModule.decorators = [
- { type: core_1.NgModule, args: [{
- declarations: [
- DxoLegendComponent
- ],
- exports: [
- DxoLegendComponent
- ],
- },] },
- ];
- return DxoLegendModule;
- }());
- exports.DxoLegendModule = DxoLegendModule;
- //# sourceMappingURL=legend.js.map
|