all files / progressbar/model/ progress-base.js

100% Statements 94/94
100% Branches 54/54
100% Functions 22/22
100% Lines 88/88
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 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169              36×                     40×                                     34×                 39×                             36×                             44×                    
/* 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"], function (require, exports, ej2_base_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var Margin = (function (_super) {
        __extends(Margin, _super);
        function Margin() {
            return _super !== null && _super.apply(this, arguments) || this;
        }
        __decorate([
            ej2_base_1.Property(10)
        ], Margin.prototype, "top", void 0);
        __decorate([
            ej2_base_1.Property(10)
        ], Margin.prototype, "bottom", void 0);
        __decorate([
            ej2_base_1.Property(10)
        ], Margin.prototype, "left", void 0);
        __decorate([
            ej2_base_1.Property(10)
        ], Margin.prototype, "right", void 0);
        return Margin;
    }(ej2_base_1.ChildProperty));
    exports.Margin = Margin;
    var Font = (function (_super) {
        __extends(Font, _super);
        function Font() {
            return _super !== null && _super.apply(this, arguments) || this;
        }
        __decorate([
            ej2_base_1.Property('Normal')
        ], Font.prototype, "fontStyle", void 0);
        __decorate([
            ej2_base_1.Property('16px')
        ], Font.prototype, "size", void 0);
        __decorate([
            ej2_base_1.Property('Normal')
        ], Font.prototype, "fontWeight", void 0);
        __decorate([
            ej2_base_1.Property('')
        ], Font.prototype, "color", void 0);
        __decorate([
            ej2_base_1.Property('Segoe UI')
        ], Font.prototype, "fontFamily", void 0);
        __decorate([
            ej2_base_1.Property(null)
        ], Font.prototype, "opacity", void 0);
        __decorate([
            ej2_base_1.Property('Far')
        ], Font.prototype, "textAlignment", void 0);
        __decorate([
            ej2_base_1.Property('')
        ], Font.prototype, "text", void 0);
        return Font;
    }(ej2_base_1.ChildProperty));
    exports.Font = Font;
    var Animation = (function (_super) {
        __extends(Animation, _super);
        function Animation() {
            return _super !== null && _super.apply(this, arguments) || this;
        }
        __decorate([
            ej2_base_1.Property(false)
        ], Animation.prototype, "enable", void 0);
        __decorate([
            ej2_base_1.Property(2000)
        ], Animation.prototype, "duration", void 0);
        __decorate([
            ej2_base_1.Property(0)
        ], Animation.prototype, "delay", void 0);
        return Animation;
    }(ej2_base_1.ChildProperty));
    exports.Animation = Animation;
    var ProgressAnnotationSettings = (function (_super) {
        __extends(ProgressAnnotationSettings, _super);
        function ProgressAnnotationSettings() {
            return _super !== null && _super.apply(this, arguments) || this;
        }
        __decorate([
            ej2_base_1.Property(null)
        ], ProgressAnnotationSettings.prototype, "content", void 0);
        __decorate([
            ej2_base_1.Property(0)
        ], ProgressAnnotationSettings.prototype, "annotationAngle", void 0);
        __decorate([
            ej2_base_1.Property('0%')
        ], ProgressAnnotationSettings.prototype, "annotationRadius", void 0);
        return ProgressAnnotationSettings;
    }(ej2_base_1.ChildProperty));
    exports.ProgressAnnotationSettings = ProgressAnnotationSettings;
    var Border = (function (_super) {
        __extends(Border, _super);
        function Border() {
            return _super !== null && _super.apply(this, arguments) || this;
        }
        __decorate([
            ej2_base_1.Property('')
        ], Border.prototype, "color", void 0);
        __decorate([
            ej2_base_1.Property(1)
        ], Border.prototype, "width", void 0);
        return Border;
    }(ej2_base_1.ChildProperty));
    exports.Border = Border;
    var TooltipSettings = (function (_super) {
        __extends(TooltipSettings, _super);
        function TooltipSettings() {
            return _super !== null && _super.apply(this, arguments) || this;
        }
        __decorate([
            ej2_base_1.Property(false)
        ], TooltipSettings.prototype, "enable", void 0);
        __decorate([
            ej2_base_1.Property(null)
        ], TooltipSettings.prototype, "fill", void 0);
        __decorate([
            ej2_base_1.Property(null)
        ], TooltipSettings.prototype, "format", void 0);
        __decorate([
            ej2_base_1.Property(false)
        ], TooltipSettings.prototype, "showTooltipOnHover", void 0);
        __decorate([
            ej2_base_1.Complex({ fontFamily: null, size: '12px', fontWeight: '400', fontStyle: 'Normal', color: null }, Font)
        ], TooltipSettings.prototype, "textStyle", void 0);
        __decorate([
            ej2_base_1.Complex({ color: '#cccccc', width: 0.5 }, Border)
        ], TooltipSettings.prototype, "border", void 0);
        return TooltipSettings;
    }(ej2_base_1.ChildProperty));
    exports.TooltipSettings = TooltipSettings;
    var RangeColor = (function (_super) {
        __extends(RangeColor, _super);
        function RangeColor() {
            return _super !== null && _super.apply(this, arguments) || this;
        }
        __decorate([
            ej2_base_1.Property('')
        ], RangeColor.prototype, "color", void 0);
        __decorate([
            ej2_base_1.Property(null)
        ], RangeColor.prototype, "start", void 0);
        __decorate([
            ej2_base_1.Property(null)
        ], RangeColor.prototype, "end", void 0);
        return RangeColor;
    }(ej2_base_1.ChildProperty));
    exports.RangeColor = RangeColor;
});