-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathcircleProgressBar-common.js
133 lines (133 loc) · 5.79 KB
/
circleProgressBar-common.js
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
"use strict";
var dependencyObservable = require("ui/core/dependency-observable");
var view = require("ui/core/view");
var proxy = require("ui/core/proxy");
var CircleProgressBar = (function (_super) {
__extends(CircleProgressBar, _super);
function CircleProgressBar() {
_super.call(this);
}
Object.defineProperty(CircleProgressBar.prototype, "progress", {
get: function () {
return this._getValue(CircleProgressBar.progressProperty);
},
set: function (value) {
this._setValue(CircleProgressBar.progressProperty, value);
},
enumerable: true,
configurable: true
});
Object.defineProperty(CircleProgressBar.prototype, "text", {
get: function () {
return this._getValue(CircleProgressBar.textProperty);
},
set: function (value) {
this._setValue(CircleProgressBar.textProperty, value);
},
enumerable: true,
configurable: true
});
Object.defineProperty(CircleProgressBar.prototype, "textSize", {
get: function () {
return this._getValue(CircleProgressBar.textSizeProperty);
},
set: function (value) {
this._setValue(CircleProgressBar.textSizeProperty, value);
},
enumerable: true,
configurable: true
});
Object.defineProperty(CircleProgressBar.prototype, "textColor", {
get: function () {
return this._getValue(CircleProgressBar.textColorProperty);
},
set: function (value) {
this._setValue(CircleProgressBar.textColorProperty, value);
},
enumerable: true,
configurable: true
});
Object.defineProperty(CircleProgressBar.prototype, "textStyle", {
get: function () {
return this._getValue(CircleProgressBar.textStyleProperty);
},
set: function (value) {
this._setValue(CircleProgressBar.textStyleProperty, value);
},
enumerable: true,
configurable: true
});
Object.defineProperty(CircleProgressBar.prototype, "widthProgressBackground", {
get: function () {
return this._getValue(CircleProgressBar.widthProgressBackgroundProperty);
},
set: function (value) {
this._setValue(CircleProgressBar.widthProgressBackgroundProperty, value);
},
enumerable: true,
configurable: true
});
Object.defineProperty(CircleProgressBar.prototype, "widthProgressBarLine", {
get: function () {
return this._getValue(CircleProgressBar.widthProgressBarLineProperty);
},
set: function (value) {
this._setValue(CircleProgressBar.widthProgressBarLineProperty, value);
},
enumerable: true,
configurable: true
});
Object.defineProperty(CircleProgressBar.prototype, "backgroundColor", {
get: function () {
return this._getValue(CircleProgressBar.backgroundColorProperty);
},
set: function (value) {
this._setValue(CircleProgressBar.backgroundColorProperty, value);
},
enumerable: true,
configurable: true
});
Object.defineProperty(CircleProgressBar.prototype, "progressColor", {
get: function () {
return this._getValue(CircleProgressBar.progressColorProperty);
},
set: function (value) {
this._setValue(CircleProgressBar.progressColorProperty, value);
},
enumerable: true,
configurable: true
});
Object.defineProperty(CircleProgressBar.prototype, "linearGradient", {
get: function () {
return this._getValue(CircleProgressBar.linearGradientProperty);
},
set: function (value) {
this._setValue(CircleProgressBar.linearGradientProperty, value);
},
enumerable: true,
configurable: true
});
//progress property
CircleProgressBar.progressProperty = new dependencyObservable.Property("progress", "CircleProgressBar", new proxy.PropertyMetadata(false));
//text property
CircleProgressBar.textProperty = new dependencyObservable.Property("text", "CircleProgressBar", new proxy.PropertyMetadata(false));
//textSize property
CircleProgressBar.textSizeProperty = new dependencyObservable.Property("textSize", "CircleProgressBar", new proxy.PropertyMetadata(false));
//textColor property
CircleProgressBar.textColorProperty = new dependencyObservable.Property("textColor", "CircleProgressBar", new proxy.PropertyMetadata(false));
//textStyle property
CircleProgressBar.textStyleProperty = new dependencyObservable.Property("textStyle", "CircleProgressBar", new proxy.PropertyMetadata(false));
//widthProgressBackground property
CircleProgressBar.widthProgressBackgroundProperty = new dependencyObservable.Property("widthProgressBackground", "CircleProgressBar", new proxy.PropertyMetadata(false));
//widthProgressBarLine property
CircleProgressBar.widthProgressBarLineProperty = new dependencyObservable.Property("widthProgressBarLine", "CircleProgressBar", new proxy.PropertyMetadata(false));
//backgroundColor property
CircleProgressBar.backgroundColorProperty = new dependencyObservable.Property("backgroundColorProperty", "CircleProgressBar", new proxy.PropertyMetadata(false));
//progressColor property
CircleProgressBar.progressColorProperty = new dependencyObservable.Property("progressColor", "CircleProgressBar", new proxy.PropertyMetadata(false));
//linearGradient property
CircleProgressBar.linearGradientProperty = new dependencyObservable.Property("linearGradient", "CircleProgressBar", new proxy.PropertyMetadata(false));
return CircleProgressBar;
}(view.View));
exports.CircleProgressBar = CircleProgressBar;
//# sourceMappingURL=circleProgressBar-common.js.map