| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667 |
- "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 break_dxi_1 = require("./break-dxi");
- var constant_line_dxi_1 = require("./constant-line-dxi");
- var strip_dxi_1 = require("./strip-dxi");
- var DxoArgumentAxisComponent = (function (_super) {
- __extends(DxoArgumentAxisComponent, _super);
- function DxoArgumentAxisComponent(parentOptionHost, optionHost) {
- var _this = _super.call(this) || this;
- _this._createEventEmitters([
- { emit: 'visualRangeChange' }
- ]);
- parentOptionHost.setNestedOption(_this);
- optionHost.setHost(_this, _this._fullOptionPath.bind(_this));
- return _this;
- }
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "aggregationGroupWidth", {
- get: function () {
- return this._getOption('aggregationGroupWidth');
- },
- set: function (value) {
- this._setOption('aggregationGroupWidth', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "aggregationInterval", {
- get: function () {
- return this._getOption('aggregationInterval');
- },
- set: function (value) {
- this._setOption('aggregationInterval', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "allowDecimals", {
- get: function () {
- return this._getOption('allowDecimals');
- },
- set: function (value) {
- this._setOption('allowDecimals', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "argumentType", {
- get: function () {
- return this._getOption('argumentType');
- },
- set: function (value) {
- this._setOption('argumentType', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "axisDivisionFactor", {
- get: function () {
- return this._getOption('axisDivisionFactor');
- },
- set: function (value) {
- this._setOption('axisDivisionFactor', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "breaks", {
- get: function () {
- return this._getOption('breaks');
- },
- set: function (value) {
- this._setOption('breaks', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "breakStyle", {
- get: function () {
- return this._getOption('breakStyle');
- },
- set: function (value) {
- this._setOption('breakStyle', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "categories", {
- get: function () {
- return this._getOption('categories');
- },
- set: function (value) {
- this._setOption('categories', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "color", {
- get: function () {
- return this._getOption('color');
- },
- set: function (value) {
- this._setOption('color', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "constantLines", {
- get: function () {
- return this._getOption('constantLines');
- },
- set: function (value) {
- this._setOption('constantLines', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "constantLineStyle", {
- get: function () {
- return this._getOption('constantLineStyle');
- },
- set: function (value) {
- this._setOption('constantLineStyle', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "discreteAxisDivisionMode", {
- get: function () {
- return this._getOption('discreteAxisDivisionMode');
- },
- set: function (value) {
- this._setOption('discreteAxisDivisionMode', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "endOnTick", {
- get: function () {
- return this._getOption('endOnTick');
- },
- set: function (value) {
- this._setOption('endOnTick', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "grid", {
- get: function () {
- return this._getOption('grid');
- },
- set: function (value) {
- this._setOption('grid', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "holidays", {
- get: function () {
- return this._getOption('holidays');
- },
- set: function (value) {
- this._setOption('holidays', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "hoverMode", {
- get: function () {
- return this._getOption('hoverMode');
- },
- set: function (value) {
- this._setOption('hoverMode', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "inverted", {
- get: function () {
- return this._getOption('inverted');
- },
- set: function (value) {
- this._setOption('inverted', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "label", {
- get: function () {
- return this._getOption('label');
- },
- set: function (value) {
- this._setOption('label', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "logarithmBase", {
- get: function () {
- return this._getOption('logarithmBase');
- },
- set: function (value) {
- this._setOption('logarithmBase', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "max", {
- get: function () {
- return this._getOption('max');
- },
- set: function (value) {
- this._setOption('max', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "maxValueMargin", {
- get: function () {
- return this._getOption('maxValueMargin');
- },
- set: function (value) {
- this._setOption('maxValueMargin', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "min", {
- get: function () {
- return this._getOption('min');
- },
- set: function (value) {
- this._setOption('min', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "minorGrid", {
- get: function () {
- return this._getOption('minorGrid');
- },
- set: function (value) {
- this._setOption('minorGrid', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "minorTick", {
- get: function () {
- return this._getOption('minorTick');
- },
- set: function (value) {
- this._setOption('minorTick', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "minorTickCount", {
- get: function () {
- return this._getOption('minorTickCount');
- },
- set: function (value) {
- this._setOption('minorTickCount', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "minorTickInterval", {
- get: function () {
- return this._getOption('minorTickInterval');
- },
- set: function (value) {
- this._setOption('minorTickInterval', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "minValueMargin", {
- get: function () {
- return this._getOption('minValueMargin');
- },
- set: function (value) {
- this._setOption('minValueMargin', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "minVisualRangeLength", {
- get: function () {
- return this._getOption('minVisualRangeLength');
- },
- set: function (value) {
- this._setOption('minVisualRangeLength', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "opacity", {
- get: function () {
- return this._getOption('opacity');
- },
- set: function (value) {
- this._setOption('opacity', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "placeholderSize", {
- get: function () {
- return this._getOption('placeholderSize');
- },
- set: function (value) {
- this._setOption('placeholderSize', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "position", {
- get: function () {
- return this._getOption('position');
- },
- set: function (value) {
- this._setOption('position', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "singleWorkdays", {
- get: function () {
- return this._getOption('singleWorkdays');
- },
- set: function (value) {
- this._setOption('singleWorkdays', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "strips", {
- get: function () {
- return this._getOption('strips');
- },
- set: function (value) {
- this._setOption('strips', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "stripStyle", {
- get: function () {
- return this._getOption('stripStyle');
- },
- set: function (value) {
- this._setOption('stripStyle', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "tick", {
- get: function () {
- return this._getOption('tick');
- },
- set: function (value) {
- this._setOption('tick', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "tickInterval", {
- get: function () {
- return this._getOption('tickInterval');
- },
- set: function (value) {
- this._setOption('tickInterval', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "title", {
- get: function () {
- return this._getOption('title');
- },
- set: function (value) {
- this._setOption('title', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "type", {
- get: function () {
- return this._getOption('type');
- },
- set: function (value) {
- this._setOption('type', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "valueMarginsEnabled", {
- get: function () {
- return this._getOption('valueMarginsEnabled');
- },
- set: function (value) {
- this._setOption('valueMarginsEnabled', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "visible", {
- get: function () {
- return this._getOption('visible');
- },
- set: function (value) {
- this._setOption('visible', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "visualRange", {
- get: function () {
- return this._getOption('visualRange');
- },
- set: function (value) {
- this._setOption('visualRange', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "visualRangeUpdateMode", {
- get: function () {
- return this._getOption('visualRangeUpdateMode');
- },
- set: function (value) {
- this._setOption('visualRangeUpdateMode', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "wholeRange", {
- get: function () {
- return this._getOption('wholeRange');
- },
- set: function (value) {
- this._setOption('wholeRange', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "width", {
- get: function () {
- return this._getOption('width');
- },
- set: function (value) {
- this._setOption('width', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "workdaysOnly", {
- get: function () {
- return this._getOption('workdaysOnly');
- },
- set: function (value) {
- this._setOption('workdaysOnly', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "workWeek", {
- get: function () {
- return this._getOption('workWeek');
- },
- set: function (value) {
- this._setOption('workWeek', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "firstPointOnStartAngle", {
- get: function () {
- return this._getOption('firstPointOnStartAngle');
- },
- set: function (value) {
- this._setOption('firstPointOnStartAngle', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "originValue", {
- get: function () {
- return this._getOption('originValue');
- },
- set: function (value) {
- this._setOption('originValue', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "period", {
- get: function () {
- return this._getOption('period');
- },
- set: function (value) {
- this._setOption('period', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "startAngle", {
- get: function () {
- return this._getOption('startAngle');
- },
- set: function (value) {
- this._setOption('startAngle', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "_optionPath", {
- get: function () {
- return 'argumentAxis';
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "breaksChildren", {
- get: function () {
- return this._getOption('breaks');
- },
- set: function (value) {
- this.setChildren('breaks', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "constantLinesChildren", {
- get: function () {
- return this._getOption('constantLines');
- },
- set: function (value) {
- this.setChildren('constantLines', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoArgumentAxisComponent.prototype, "stripsChildren", {
- get: function () {
- return this._getOption('strips');
- },
- set: function (value) {
- this.setChildren('strips', value);
- },
- enumerable: true,
- configurable: true
- });
- DxoArgumentAxisComponent.decorators = [
- { type: core_1.Component, args: [{
- selector: 'dxo-argument-axis',
- template: '',
- styles: [''],
- providers: [nested_option_1.NestedOptionHost]
- },] },
- ];
- /** @nocollapse */
- DxoArgumentAxisComponent.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 },] },
- ]; };
- DxoArgumentAxisComponent.propDecorators = {
- "aggregationGroupWidth": [{ type: core_1.Input },],
- "aggregationInterval": [{ type: core_1.Input },],
- "allowDecimals": [{ type: core_1.Input },],
- "argumentType": [{ type: core_1.Input },],
- "axisDivisionFactor": [{ type: core_1.Input },],
- "breaks": [{ type: core_1.Input },],
- "breakStyle": [{ type: core_1.Input },],
- "categories": [{ type: core_1.Input },],
- "color": [{ type: core_1.Input },],
- "constantLines": [{ type: core_1.Input },],
- "constantLineStyle": [{ type: core_1.Input },],
- "discreteAxisDivisionMode": [{ type: core_1.Input },],
- "endOnTick": [{ type: core_1.Input },],
- "grid": [{ type: core_1.Input },],
- "holidays": [{ type: core_1.Input },],
- "hoverMode": [{ type: core_1.Input },],
- "inverted": [{ type: core_1.Input },],
- "label": [{ type: core_1.Input },],
- "logarithmBase": [{ type: core_1.Input },],
- "max": [{ type: core_1.Input },],
- "maxValueMargin": [{ type: core_1.Input },],
- "min": [{ type: core_1.Input },],
- "minorGrid": [{ type: core_1.Input },],
- "minorTick": [{ type: core_1.Input },],
- "minorTickCount": [{ type: core_1.Input },],
- "minorTickInterval": [{ type: core_1.Input },],
- "minValueMargin": [{ type: core_1.Input },],
- "minVisualRangeLength": [{ type: core_1.Input },],
- "opacity": [{ type: core_1.Input },],
- "placeholderSize": [{ type: core_1.Input },],
- "position": [{ type: core_1.Input },],
- "singleWorkdays": [{ type: core_1.Input },],
- "strips": [{ type: core_1.Input },],
- "stripStyle": [{ type: core_1.Input },],
- "tick": [{ type: core_1.Input },],
- "tickInterval": [{ type: core_1.Input },],
- "title": [{ type: core_1.Input },],
- "type": [{ type: core_1.Input },],
- "valueMarginsEnabled": [{ type: core_1.Input },],
- "visible": [{ type: core_1.Input },],
- "visualRange": [{ type: core_1.Input },],
- "visualRangeUpdateMode": [{ type: core_1.Input },],
- "wholeRange": [{ type: core_1.Input },],
- "width": [{ type: core_1.Input },],
- "workdaysOnly": [{ type: core_1.Input },],
- "workWeek": [{ type: core_1.Input },],
- "firstPointOnStartAngle": [{ type: core_1.Input },],
- "originValue": [{ type: core_1.Input },],
- "period": [{ type: core_1.Input },],
- "startAngle": [{ type: core_1.Input },],
- "visualRangeChange": [{ type: core_1.Output },],
- "breaksChildren": [{ type: core_1.ContentChildren, args: [core_1.forwardRef(function () { return break_dxi_1.DxiBreakComponent; }),] },],
- "constantLinesChildren": [{ type: core_1.ContentChildren, args: [core_1.forwardRef(function () { return constant_line_dxi_1.DxiConstantLineComponent; }),] },],
- "stripsChildren": [{ type: core_1.ContentChildren, args: [core_1.forwardRef(function () { return strip_dxi_1.DxiStripComponent; }),] },],
- };
- return DxoArgumentAxisComponent;
- }(nested_option_2.NestedOption));
- exports.DxoArgumentAxisComponent = DxoArgumentAxisComponent;
- var DxoArgumentAxisModule = (function () {
- function DxoArgumentAxisModule() {
- }
- DxoArgumentAxisModule.decorators = [
- { type: core_1.NgModule, args: [{
- declarations: [
- DxoArgumentAxisComponent
- ],
- exports: [
- DxoArgumentAxisComponent
- ],
- },] },
- ];
- return DxoArgumentAxisModule;
- }());
- exports.DxoArgumentAxisModule = DxoArgumentAxisModule;
- //# sourceMappingURL=argument-axis.js.map
|