all files / range-navigator/model/ range-base.js

100% Statements 76/76
100% Branches 45/45
100% Functions 16/16
100% Lines 70/70
18 statements, 7 functions, 29 branches Ignored     
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141              151× 151× 151×                                                 122×                         122×                 122×                                        
/* istanbul ignore next */ 
var __extends = (this && this.__extends) || (function () {
    var extendStatics = function (d, b) {
        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 extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
/* istanbul ignore next */ 
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
define(["require", "exports", "@syncfusion/ej2-base", "../../common/model/base", "@syncfusion/ej2-svg-base"], function (require, exports, ej2_base_1, base_1, ej2_svg_base_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var RangeNavigatorSeries = (function (_super) {
        __extends(RangeNavigatorSeries, _super);
        function RangeNavigatorSeries() {
            var _this = _super !== null && _super.apply(this, arguments) || this;
            _this.clipRect = new ej2_svg_base_1.Rect(0, 0, 0, 0);
            return _this;
        }
        __decorate([
            ej2_base_1.Property(null)
        ], RangeNavigatorSeries.prototype, "dataSource", void 0);
        __decorate([
            ej2_base_1.Property(null)
        ], RangeNavigatorSeries.prototype, "xName", void 0);
        __decorate([
            ej2_base_1.Property(null)
        ], RangeNavigatorSeries.prototype, "yName", void 0);
        __decorate([
            ej2_base_1.Property()
        ], RangeNavigatorSeries.prototype, "query", void 0);
        __decorate([
            ej2_base_1.Property('Line')
        ], RangeNavigatorSeries.prototype, "type", void 0);
        __decorate([
            ej2_base_1.Complex({ enable: false }, base_1.Animation)
        ], RangeNavigatorSeries.prototype, "animation", void 0);
        __decorate([
            ej2_base_1.Complex({ color: 'transparent', width: 2 }, base_1.Border)
        ], RangeNavigatorSeries.prototype, "border", void 0);
        __decorate([
            ej2_base_1.Property(null)
        ], RangeNavigatorSeries.prototype, "fill", void 0);
        __decorate([
            ej2_base_1.Property(1)
        ], RangeNavigatorSeries.prototype, "width", void 0);
        __decorate([
            ej2_base_1.Property(1)
        ], RangeNavigatorSeries.prototype, "opacity", void 0);
        __decorate([
            ej2_base_1.Property('0')
        ], RangeNavigatorSeries.prototype, "dashArray", void 0);
        return RangeNavigatorSeries;
    }(ej2_base_1.ChildProperty));
    exports.RangeNavigatorSeries = RangeNavigatorSeries;
    var ThumbSettings = (function (_super) {
        __extends(ThumbSettings, _super);
        function ThumbSettings() {
            return _super !== null && _super.apply(this, arguments) || this;
        }
        __decorate([
            ej2_base_1.Property(null)
        ], ThumbSettings.prototype, "width", void 0);
        __decorate([
            ej2_base_1.Property(null)
        ], ThumbSettings.prototype, "height", void 0);
        __decorate([
            ej2_base_1.Complex({ width: 1, color: null }, base_1.Border)
        ], ThumbSettings.prototype, "border", void 0);
        __decorate([
            ej2_base_1.Property(null)
        ], ThumbSettings.prototype, "fill", void 0);
        __decorate([
            ej2_base_1.Property('Circle')
        ], ThumbSettings.prototype, "type", void 0);
        return ThumbSettings;
    }(ej2_base_1.ChildProperty));
    exports.ThumbSettings = ThumbSettings;
    var StyleSettings = (function (_super) {
        __extends(StyleSettings, _super);
        function StyleSettings() {
            return _super !== null && _super.apply(this, arguments) || this;
        }
        __decorate([
            ej2_base_1.Complex({}, ThumbSettings)
        ], StyleSettings.prototype, "thumb", void 0);
        __decorate([
            ej2_base_1.Property(null)
        ], StyleSettings.prototype, "selectedRegionColor", void 0);
        __decorate([
            ej2_base_1.Property(null)
        ], StyleSettings.prototype, "unselectedRegionColor", void 0);
        return StyleSettings;
    }(ej2_base_1.ChildProperty));
    exports.StyleSettings = StyleSettings;
    var RangeTooltipSettings = (function (_super) {
        __extends(RangeTooltipSettings, _super);
        function RangeTooltipSettings() {
            return _super !== null && _super.apply(this, arguments) || this;
        }
        __decorate([
            ej2_base_1.Property(false)
        ], RangeTooltipSettings.prototype, "enable", void 0);
        __decorate([
            ej2_base_1.Property(null)
        ], RangeTooltipSettings.prototype, "opacity", void 0);
        __decorate([
            ej2_base_1.Property(null)
        ], RangeTooltipSettings.prototype, "fill", void 0);
        __decorate([
            ej2_base_1.Property(null)
        ], RangeTooltipSettings.prototype, "format", void 0);
        __decorate([
            ej2_base_1.Complex({ fontFamily: null, size: '12px', fontStyle: 'Normal', fontWeight: '400', color: null }, base_1.Font)
        ], RangeTooltipSettings.prototype, "textStyle", void 0);
        __decorate([
            ej2_base_1.Property(null)
        ], RangeTooltipSettings.prototype, "template", void 0);
        __decorate([
            ej2_base_1.Complex({ color: null, width: null }, base_1.Border)
        ], RangeTooltipSettings.prototype, "border", void 0);
        __decorate([
            ej2_base_1.Property('OnDemand')
        ], RangeTooltipSettings.prototype, "displayMode", void 0);
        return RangeTooltipSettings;
    }(ej2_base_1.ChildProperty));
    exports.RangeTooltipSettings = RangeTooltipSettings;
});