igniteui-webcomponents-inputs 4.2.4-alpha → 4.3.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-webcomponents-inputs.umd.js +10205 -7880
- package/bundles/igniteui-webcomponents-inputs.umd.min.js +1 -1
- package/esm2015/lib/ButtonGroupView_combined.js +98 -98
- package/esm2015/lib/ButtonView_combined.js +2206 -1799
- package/esm2015/lib/CalendarView_combined.js +156 -156
- package/esm2015/lib/CheckboxView_combined.js +532 -458
- package/esm2015/lib/DatePickerView_combined.js +398 -364
- package/esm2015/lib/IconView_combined.js +553 -355
- package/esm2015/lib/InputGroupView_combined.js +2432 -2152
- package/esm2015/lib/NativeUIXInputsFactory.js +65 -23
- package/esm2015/lib/RippleView_combined.js +1 -1
- package/esm2015/lib/Theme.js +48 -0
- package/esm2015/lib/ThemeResolver.js +131 -7
- package/esm2015/lib/XButtonBridge.js +218 -22
- package/esm2015/lib/XCheckboxBridge.js +25 -16
- package/esm2015/lib/XComponentBridge.js +20 -6
- package/esm2015/lib/XIconBridge.js +93 -0
- package/esm2015/lib/XIconButtonBridge.js +45 -33
- package/esm2015/lib/XInputBridge.js +91 -38
- package/esm2015/lib/XPopupBridge.js +287 -0
- package/esm2015/lib/igc-date-picker-component.js +60 -58
- package/esm2015/lib/igc-x-button-component.js +694 -546
- package/esm2015/lib/igc-x-button-group-component.js +28 -28
- package/esm2015/lib/igc-x-calendar-component.js +16 -16
- package/esm2015/lib/igc-x-checkbox-component.js +77 -77
- package/esm2015/lib/igc-x-icon-component.js +239 -118
- package/esm2015/lib/igc-x-input-component.js +61 -43
- package/esm2015/lib/igc-x-input-group-component.js +576 -576
- package/esm2015/lib/igc-x-input-group-item-component.js +18 -18
- package/esm2015/lib/igc-x-ripple-component.js +35 -35
- package/esm2015/public_api.js +3 -0
- package/esm5/lib/ButtonClickEventArgs.js +2 -2
- package/esm5/lib/ButtonGroupSelectionChangedEventArgs.js +2 -2
- package/esm5/lib/ButtonGroupView_combined.js +176 -176
- package/esm5/lib/ButtonGroupVisualModelExport.js +2 -2
- package/esm5/lib/ButtonView_combined.js +2259 -1808
- package/esm5/lib/ButtonVisualModelExport.js +2 -2
- package/esm5/lib/CalendarView_combined.js +181 -181
- package/esm5/lib/CalendarVisualModelExport.js +2 -2
- package/esm5/lib/CheckboxChangeEventArgs.js +4 -4
- package/esm5/lib/CheckboxView_combined.js +561 -483
- package/esm5/lib/CheckboxVisualModelExport.js +2 -2
- package/esm5/lib/DatePickerView_combined.js +421 -383
- package/esm5/lib/DatePickerVisualModelExport.js +2 -2
- package/esm5/lib/DateTimeValueFormatter.js +2 -2
- package/esm5/lib/DayInfo.js +2 -2
- package/esm5/lib/ElevationHelper.js +2 -2
- package/esm5/lib/GotFocusEventArgs.js +2 -2
- package/esm5/lib/IconClickedEventArgs.js +2 -2
- package/esm5/lib/IconView_combined.js +600 -362
- package/esm5/lib/IconVisualModelExport.js +3 -3
- package/esm5/lib/InputChangeEventArgs.js +4 -4
- package/esm5/lib/InputGroupView_combined.js +2534 -2246
- package/esm5/lib/InputGroupVisualModelExport.js +2 -2
- package/esm5/lib/InputVisualModelExport.js +2 -2
- package/esm5/lib/LabelVisualModelExport.js +2 -2
- package/esm5/lib/LostFocusEventArgs.js +2 -2
- package/esm5/lib/MaskOptions.js +2 -2
- package/esm5/lib/MaskParsingService.js +5 -5
- package/esm5/lib/NativeUIXInputsFactory.js +69 -27
- package/esm5/lib/PrefixVisualModelExport.js +2 -2
- package/esm5/lib/Replaced.js +2 -2
- package/esm5/lib/RippleView_combined.js +17 -17
- package/esm5/lib/RippleVisualModelExport.js +2 -2
- package/esm5/lib/SelectedValueChangedEventArgs.js +4 -4
- package/esm5/lib/SuffixVisualModelExport.js +2 -2
- package/esm5/lib/TextElementsVisualModelExport.js +2 -2
- package/esm5/lib/Theme.js +58 -0
- package/esm5/lib/ThemeResolver.js +137 -11
- package/esm5/lib/XButtonBridge.js +220 -24
- package/esm5/lib/XButtonGroupButtonCollection.js +2 -2
- package/esm5/lib/XCheckboxBridge.js +27 -18
- package/esm5/lib/XComponentBridge.js +26 -8
- package/esm5/lib/XIconBridge.js +95 -0
- package/esm5/lib/XIconButtonBridge.js +47 -35
- package/esm5/lib/XInputBridge.js +93 -40
- package/esm5/lib/XPopupBridge.js +289 -0
- package/esm5/lib/igc-button-click-event-args.js +1 -1
- package/esm5/lib/igc-button-group-selection-changed-event-args.js +1 -1
- package/esm5/lib/igc-checkbox-change-event-args.js +3 -3
- package/esm5/lib/igc-date-picker-component.js +80 -78
- package/esm5/lib/igc-got-focus-event-args.js +1 -1
- package/esm5/lib/igc-input-change-event-args.js +3 -3
- package/esm5/lib/igc-lost-focus-event-args.js +1 -1
- package/esm5/lib/igc-selected-value-changed-event-args.js +3 -3
- package/esm5/lib/igc-x-button-component.js +908 -710
- package/esm5/lib/igc-x-button-group-button-collection.js +2 -2
- package/esm5/lib/igc-x-button-group-component.js +73 -73
- package/esm5/lib/igc-x-calendar-component.js +30 -30
- package/esm5/lib/igc-x-checkbox-component.js +117 -117
- package/esm5/lib/igc-x-icon-component.js +297 -136
- package/esm5/lib/igc-x-input-component.js +104 -78
- package/esm5/lib/igc-x-input-group-component.js +716 -716
- package/esm5/lib/igc-x-input-group-input-collection.js +2 -2
- package/esm5/lib/igc-x-input-group-item-component.js +6 -6
- package/esm5/lib/igc-x-label-component.js +30 -30
- package/esm5/lib/igc-x-prefix-component.js +9 -9
- package/esm5/lib/igc-x-ripple-component.js +19 -19
- package/esm5/lib/igc-x-suffix-component.js +9 -9
- package/esm5/public_api.js +3 -0
- package/fesm2015/igniteui-webcomponents-inputs.js +9194 -7084
- package/fesm5/igniteui-webcomponents-inputs.js +10090 -7768
- package/lib/ButtonGroupView_combined.d.ts +136 -70
- package/lib/ButtonView_combined.d.ts +609 -583
- package/lib/CalendarView_combined.d.ts +43 -22
- package/lib/CheckboxChangeEventArgs.d.ts +4 -2
- package/lib/CheckboxView_combined.d.ts +150 -117
- package/lib/DatePickerView_combined.d.ts +109 -81
- package/lib/IconView_combined.d.ts +164 -93
- package/lib/IconVisualModelExport.d.ts +2 -1
- package/lib/InputChangeEventArgs.d.ts +4 -2
- package/lib/InputGroupView_combined.d.ts +771 -771
- package/lib/NativeUIXInputsFactory.d.ts +6 -4
- package/lib/RippleView_combined.d.ts +19 -10
- package/lib/SelectedValueChangedEventArgs.d.ts +4 -2
- package/lib/Theme.d.ts +15 -0
- package/lib/ThemeResolver.d.ts +44 -6
- package/lib/XButtonBridge.d.ts +23 -5
- package/lib/XCheckboxBridge.d.ts +3 -3
- package/lib/XComponentBridge.d.ts +2 -1
- package/lib/XIconBridge.d.ts +14 -0
- package/lib/XIconButtonBridge.d.ts +4 -4
- package/lib/XInputBridge.d.ts +11 -7
- package/lib/XPopupBridge.d.ts +52 -0
- package/lib/igc-button-click-event-args.d.ts +1 -1
- package/lib/igc-button-group-selection-changed-event-args.d.ts +1 -1
- package/lib/igc-checkbox-change-event-args.d.ts +5 -3
- package/lib/igc-date-picker-component.d.ts +65 -34
- package/lib/igc-got-focus-event-args.d.ts +1 -1
- package/lib/igc-input-change-event-args.d.ts +5 -3
- package/lib/igc-lost-focus-event-args.d.ts +1 -1
- package/lib/igc-selected-value-changed-event-args.d.ts +5 -3
- package/lib/igc-x-button-component.d.ts +399 -173
- package/lib/igc-x-button-group-component.d.ts +136 -70
- package/lib/igc-x-calendar-component.d.ts +53 -28
- package/lib/igc-x-checkbox-component.d.ts +71 -37
- package/lib/igc-x-icon-component.d.ts +140 -44
- package/lib/igc-x-input-component.d.ts +69 -32
- package/lib/igc-x-input-group-component.d.ts +325 -165
- package/lib/igc-x-input-group-item-component.d.ts +5 -4
- package/lib/igc-x-label-component.d.ts +52 -27
- package/lib/igc-x-prefix-component.d.ts +10 -6
- package/lib/igc-x-ripple-component.d.ts +31 -17
- package/lib/igc-x-suffix-component.d.ts +10 -6
- package/package.json +2 -2
- package/public_api.d.ts +3 -0
|
@@ -4,9 +4,13 @@ https://www.infragistics.com/legal/license/igultimate-la
|
|
|
4
4
|
https://www.infragistics.com/legal/license/igultimate-eula
|
|
5
5
|
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
|
|
6
6
|
*/
|
|
7
|
-
import
|
|
8
|
-
import { Base, Delegate_$type, fromEnum, runOn, markType, INotifyPropertyChanged_$type, PropertyChangedEventArgs, enumGetBox } from "igniteui-webcomponents-core";
|
|
7
|
+
import { __extends, __values } from "tslib";
|
|
8
|
+
import { Base, String_$type, Delegate_$type, fromEnum, runOn, markType, INotifyPropertyChanged_$type, PropertyChangedEventArgs, enumGetBox } from "igniteui-webcomponents-core";
|
|
9
9
|
import { List$1 } from "igniteui-webcomponents-core";
|
|
10
|
+
import { Tuple$2 } from "igniteui-webcomponents-core";
|
|
11
|
+
import { SVGNode } from "igniteui-webcomponents-core";
|
|
12
|
+
import { FastIterationDictionary$2 } from "igniteui-webcomponents-core";
|
|
13
|
+
import { isNaN_ } from "igniteui-webcomponents-core";
|
|
10
14
|
import { IIcon_$type } from "igniteui-webcomponents-core";
|
|
11
15
|
import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
|
|
12
16
|
import { NativeUI } from "igniteui-webcomponents-core";
|
|
@@ -14,55 +18,71 @@ import { IconClickedEventArgs } from "./IconClickedEventArgs";
|
|
|
14
18
|
import { IconVisualModelExport } from "./IconVisualModelExport";
|
|
15
19
|
import { AppearanceHelper } from "igniteui-webcomponents-core";
|
|
16
20
|
import { FontUtil } from "igniteui-webcomponents-core";
|
|
17
|
-
import {
|
|
21
|
+
import { stringStartsWith } from "igniteui-webcomponents-core";
|
|
22
|
+
import { trimStart } from "igniteui-webcomponents-core";
|
|
18
23
|
/**
|
|
19
24
|
* @hidden
|
|
20
25
|
*/
|
|
21
26
|
var IconView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
22
|
-
|
|
27
|
+
__extends(IconView, _super);
|
|
23
28
|
function IconView() {
|
|
24
29
|
var _this = _super.call(this) || this;
|
|
25
30
|
_this.b = null;
|
|
26
|
-
_this.
|
|
27
|
-
_this.
|
|
28
|
-
_this.
|
|
29
|
-
_this.m = null;
|
|
30
|
-
_this.d = true;
|
|
31
|
-
_this.i = null;
|
|
31
|
+
_this.o = null;
|
|
32
|
+
_this.e = null;
|
|
33
|
+
_this.i = new List$1(Delegate_$type, 0);
|
|
32
34
|
_this.j = null;
|
|
35
|
+
_this.k = null;
|
|
36
|
+
_this.l = null;
|
|
37
|
+
_this.m = null;
|
|
38
|
+
_this.n = null;
|
|
39
|
+
_this.c = null;
|
|
40
|
+
_this.d = null;
|
|
41
|
+
_this.u = null;
|
|
42
|
+
_this.t = null;
|
|
43
|
+
_this.f = true;
|
|
44
|
+
_this.p = null;
|
|
45
|
+
_this.q = null;
|
|
46
|
+
_this.j = new List$1(Tuple$2.$.specialize(SVGNode.$, Base.$), 0);
|
|
47
|
+
_this.k = new List$1(Tuple$2.$.specialize(SVGNode.$, Base.$), 0);
|
|
48
|
+
_this.l = new List$1(Tuple$2.$.specialize(SVGNode.$, Base.$), 0);
|
|
49
|
+
_this.m = new List$1(Tuple$2.$.specialize(SVGNode.$, Base.$), 0);
|
|
50
|
+
_this.n = new List$1(Tuple$2.$.specialize(SVGNode.$, Base.$), 0);
|
|
51
|
+
_this.c = new FastIterationDictionary$2(String_$type, List$1.$.specialize(Tuple$2.$.specialize(SVGNode.$, Base.$)), 0);
|
|
52
|
+
_this.d = new FastIterationDictionary$2(String_$type, List$1.$.specialize(Tuple$2.$.specialize(SVGNode.$, Base.$)), 0);
|
|
33
53
|
return _this;
|
|
34
54
|
}
|
|
35
|
-
IconView.prototype.
|
|
55
|
+
IconView.prototype.ac = function () {
|
|
36
56
|
};
|
|
37
|
-
IconView.prototype.
|
|
57
|
+
IconView.prototype.g = function () {
|
|
38
58
|
return true;
|
|
39
59
|
};
|
|
40
|
-
Object.defineProperty(IconView.prototype, "
|
|
60
|
+
Object.defineProperty(IconView.prototype, "r", {
|
|
41
61
|
get: function () {
|
|
42
|
-
return this.
|
|
62
|
+
return this.p;
|
|
43
63
|
},
|
|
44
|
-
enumerable:
|
|
64
|
+
enumerable: false,
|
|
45
65
|
configurable: true
|
|
46
66
|
});
|
|
47
|
-
Object.defineProperty(IconView.prototype, "
|
|
67
|
+
Object.defineProperty(IconView.prototype, "s", {
|
|
48
68
|
get: function () {
|
|
49
69
|
return null;
|
|
50
70
|
},
|
|
51
|
-
enumerable:
|
|
71
|
+
enumerable: false,
|
|
52
72
|
configurable: true
|
|
53
73
|
});
|
|
54
|
-
Object.defineProperty(IconView.prototype, "
|
|
74
|
+
Object.defineProperty(IconView.prototype, "h", {
|
|
55
75
|
get: function () {
|
|
56
76
|
return true;
|
|
57
77
|
},
|
|
58
|
-
enumerable:
|
|
78
|
+
enumerable: false,
|
|
59
79
|
configurable: true
|
|
60
80
|
});
|
|
61
|
-
IconView.prototype.
|
|
81
|
+
IconView.prototype.aa = function (a) {
|
|
62
82
|
var e_1, _a;
|
|
63
83
|
if (a == null) {
|
|
64
84
|
try {
|
|
65
|
-
for (var _b =
|
|
85
|
+
for (var _b = __values(fromEnum(this.i)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
66
86
|
var b = _c.value;
|
|
67
87
|
b();
|
|
68
88
|
}
|
|
@@ -80,71 +100,84 @@ var IconView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
80
100
|
throw e_1.error;
|
|
81
101
|
}
|
|
82
102
|
}
|
|
83
|
-
this.
|
|
84
|
-
if (this.
|
|
85
|
-
this.
|
|
103
|
+
this.i.clear();
|
|
104
|
+
if (this.p != null) {
|
|
105
|
+
this.p.unlistenAll();
|
|
86
106
|
}
|
|
87
107
|
}
|
|
88
|
-
this.
|
|
108
|
+
this.o = a;
|
|
89
109
|
a.rootWrapper.setStyleProperty("position", "relative");
|
|
90
|
-
this.
|
|
91
|
-
this.
|
|
92
|
-
this.
|
|
93
|
-
this.
|
|
94
|
-
this.
|
|
95
|
-
var c = this.
|
|
110
|
+
this.o.rootWrapper.setStyleProperty("display", "flex");
|
|
111
|
+
this.o.rootWrapper.setStyleProperty("flex-direction", "row");
|
|
112
|
+
this.o.rootWrapper.setStyleProperty("flex-wrap", "no-wrap");
|
|
113
|
+
this.o.rootWrapper.setStyleProperty("align-items", "center");
|
|
114
|
+
this.ae();
|
|
115
|
+
var c = this.o.createElementNS("svg", "http://www.w3.org/2000/svg");
|
|
96
116
|
c.setStyleProperty("position", "absolute");
|
|
97
117
|
c.setStyleProperty("top", "0");
|
|
98
118
|
c.setStyleProperty("left", "0");
|
|
99
119
|
c.setStyleProperty("right", "0");
|
|
100
120
|
c.setStyleProperty("bottom", "0");
|
|
101
|
-
|
|
102
|
-
this.
|
|
103
|
-
var d = this.
|
|
121
|
+
this.p = c;
|
|
122
|
+
this.ai();
|
|
123
|
+
var d = this.o.createElementNS("path", "http://www.w3.org/2000/svg");
|
|
104
124
|
d.setAttribute("d", "");
|
|
105
|
-
this.
|
|
106
|
-
if (this.
|
|
107
|
-
d.setAttribute("d", this.
|
|
125
|
+
this.p.append(d);
|
|
126
|
+
if (this.u != null) {
|
|
127
|
+
d.setAttribute("d", this.u);
|
|
108
128
|
}
|
|
109
|
-
this.
|
|
110
|
-
this.
|
|
111
|
-
this.
|
|
112
|
-
this.b.
|
|
129
|
+
this.q = d;
|
|
130
|
+
this.o.append(this.p);
|
|
131
|
+
this.i.add(c.listen("click", runOn(this, this.z)));
|
|
132
|
+
this.b.b6();
|
|
113
133
|
};
|
|
114
|
-
IconView.prototype.
|
|
115
|
-
if (this.
|
|
116
|
-
this.
|
|
117
|
-
|
|
118
|
-
|
|
134
|
+
IconView.prototype.ag = function (a) {
|
|
135
|
+
if (this.u != a) {
|
|
136
|
+
this.u = a;
|
|
137
|
+
this.o.rootWrapper.removeChildren();
|
|
138
|
+
this.o.rootWrapper.append(this.p);
|
|
139
|
+
if (this.q != null) {
|
|
140
|
+
this.q.setAttribute("d", this.u);
|
|
119
141
|
}
|
|
120
142
|
}
|
|
121
143
|
};
|
|
122
|
-
IconView.prototype.
|
|
123
|
-
this.
|
|
124
|
-
|
|
144
|
+
IconView.prototype.af = function (a) {
|
|
145
|
+
if (this.t != a) {
|
|
146
|
+
this.t = a;
|
|
147
|
+
this.o.rootWrapper.removeChildren();
|
|
148
|
+
var b = this.o.rootWrapper.getNativeElement();
|
|
149
|
+
b.innerHTML = this.t;
|
|
150
|
+
}
|
|
151
|
+
};
|
|
152
|
+
IconView.prototype.ae = function () {
|
|
153
|
+
this.o.rootWrapper.setStyleProperty("width", isNaN_(this.b.ao) ? "1.5rem" : this.b.ao + "px");
|
|
154
|
+
this.o.rootWrapper.setStyleProperty("height", isNaN_(this.b.ag) ? "1.5rem" : this.b.ag + "px");
|
|
125
155
|
};
|
|
126
|
-
IconView.prototype.
|
|
156
|
+
IconView.prototype.ai = function () {
|
|
157
|
+
this.p.setAttribute("viewBox", (isNaN_(this.b.al) ? 0 : this.b.al) + " " + (isNaN_(this.b.am) ? 0 : this.b.am) + " " + (isNaN_(this.b.an) ? 24 : this.b.an) + " " + (isNaN_(this.b.ak) ? 24 : this.b.ak));
|
|
127
158
|
};
|
|
128
|
-
IconView.prototype.v = function () {
|
|
129
|
-
|
|
159
|
+
IconView.prototype.v = function (a) {
|
|
160
|
+
};
|
|
161
|
+
IconView.prototype.ad = function () {
|
|
162
|
+
if (this.g()) {
|
|
130
163
|
}
|
|
131
164
|
};
|
|
132
|
-
IconView.prototype.
|
|
133
|
-
this.b.
|
|
165
|
+
IconView.prototype.w = function (a) {
|
|
166
|
+
this.b.b3();
|
|
134
167
|
};
|
|
135
|
-
IconView.prototype.
|
|
136
|
-
this.b.
|
|
168
|
+
IconView.prototype.x = function (a) {
|
|
169
|
+
this.b.b4();
|
|
137
170
|
};
|
|
138
|
-
IconView.prototype.
|
|
139
|
-
this.
|
|
140
|
-
this.
|
|
141
|
-
this.
|
|
171
|
+
IconView.prototype.y = function () {
|
|
172
|
+
this.f = true;
|
|
173
|
+
this.i.add(this.o.rootWrapper.listen("mouseenter", runOn(this, this.w)));
|
|
174
|
+
this.i.add(this.o.rootWrapper.listen("mouseleave", runOn(this, this.x)));
|
|
142
175
|
};
|
|
143
|
-
IconView.prototype.
|
|
176
|
+
IconView.prototype.ab = function () {
|
|
144
177
|
var e_2, _a;
|
|
145
|
-
this.
|
|
178
|
+
this.f = false;
|
|
146
179
|
try {
|
|
147
|
-
for (var _b =
|
|
180
|
+
for (var _b = __values(fromEnum(this.i)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
148
181
|
var a = _c.value;
|
|
149
182
|
a();
|
|
150
183
|
}
|
|
@@ -162,15 +195,15 @@ var IconView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
162
195
|
throw e_2.error;
|
|
163
196
|
}
|
|
164
197
|
}
|
|
165
|
-
this.
|
|
198
|
+
this.i.clear();
|
|
166
199
|
};
|
|
167
|
-
IconView.prototype.
|
|
200
|
+
IconView.prototype.ah = function (a) {
|
|
168
201
|
if (a != null) {
|
|
169
|
-
this.
|
|
202
|
+
this.o.rootWrapper.setStyleProperty("font", a.fontString);
|
|
170
203
|
}
|
|
171
204
|
};
|
|
172
205
|
IconView.prototype.a = function () {
|
|
173
|
-
var rect_ = this.
|
|
206
|
+
var rect_ = this.o.rootWrapper.getNativeElement().getBoundingClientRect();
|
|
174
207
|
var a = (rect_.top);
|
|
175
208
|
var b = (rect_.left);
|
|
176
209
|
var c = new Array(2);
|
|
@@ -178,8 +211,8 @@ var IconView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
178
211
|
c[1] = b;
|
|
179
212
|
return c;
|
|
180
213
|
};
|
|
181
|
-
IconView.prototype.
|
|
182
|
-
this.b.
|
|
214
|
+
IconView.prototype.z = function (a) {
|
|
215
|
+
this.b.b1();
|
|
183
216
|
};
|
|
184
217
|
IconView.$t = markType(IconView, 'IconView');
|
|
185
218
|
return IconView;
|
|
@@ -189,41 +222,51 @@ export { IconView };
|
|
|
189
222
|
* @hidden
|
|
190
223
|
*/
|
|
191
224
|
var XIcon = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
192
|
-
|
|
225
|
+
__extends(XIcon, _super);
|
|
193
226
|
function XIcon() {
|
|
194
227
|
var _this = _super.call(this) || this;
|
|
195
228
|
_this._view = null;
|
|
196
|
-
_this.
|
|
197
|
-
_this.
|
|
198
|
-
_this.
|
|
199
|
-
_this.
|
|
200
|
-
_this.
|
|
201
|
-
_this.
|
|
202
|
-
_this.
|
|
203
|
-
_this.
|
|
204
|
-
_this.
|
|
205
|
-
_this.
|
|
206
|
-
_this.
|
|
207
|
-
_this.
|
|
208
|
-
_this.
|
|
209
|
-
_this.
|
|
210
|
-
_this.
|
|
211
|
-
_this.
|
|
212
|
-
_this.
|
|
213
|
-
_this.
|
|
214
|
-
_this.
|
|
215
|
-
_this.
|
|
216
|
-
_this.
|
|
217
|
-
_this.
|
|
218
|
-
_this.
|
|
219
|
-
_this.
|
|
220
|
-
_this.
|
|
229
|
+
_this.h = 0;
|
|
230
|
+
_this.cc = XIcon.cs;
|
|
231
|
+
_this.cd = XIcon.cw;
|
|
232
|
+
_this.ce = XIcon.cx;
|
|
233
|
+
_this.t = XIcon.af;
|
|
234
|
+
_this.cf = XIcon.cs;
|
|
235
|
+
_this.cn = XIcon.cw;
|
|
236
|
+
_this.x = XIcon.af;
|
|
237
|
+
_this.co = XIcon.cx;
|
|
238
|
+
_this.cg = XIcon.ct;
|
|
239
|
+
_this.ch = XIcon.cu;
|
|
240
|
+
_this.v = XIcon.ae;
|
|
241
|
+
_this.ci = null;
|
|
242
|
+
_this.a = null;
|
|
243
|
+
_this.b = null;
|
|
244
|
+
_this.cj = null;
|
|
245
|
+
_this.ck = null;
|
|
246
|
+
_this.cl = null;
|
|
247
|
+
_this.cm = null;
|
|
248
|
+
_this.aw = null;
|
|
249
|
+
_this.av = null;
|
|
250
|
+
_this.j = null;
|
|
251
|
+
_this.au = "ig-icon-" + XIcon.ar++;
|
|
252
|
+
_this.ap = 0;
|
|
253
|
+
_this.l = false;
|
|
254
|
+
_this.at = null;
|
|
255
|
+
_this.n = false;
|
|
256
|
+
_this.m = false;
|
|
257
|
+
_this.w = 1;
|
|
258
|
+
_this.z = NaN;
|
|
259
|
+
_this.aa = NaN;
|
|
260
|
+
_this.ab = NaN;
|
|
261
|
+
_this.y = NaN;
|
|
262
|
+
_this.ac = NaN;
|
|
263
|
+
_this.u = NaN;
|
|
221
264
|
_this.clicked = null;
|
|
222
265
|
_this.propertyChanged = null;
|
|
223
266
|
var a = new IconView();
|
|
224
267
|
a.b = _this;
|
|
225
268
|
_this.view = a;
|
|
226
|
-
_this.view.
|
|
269
|
+
_this.view.ac();
|
|
227
270
|
return _this;
|
|
228
271
|
}
|
|
229
272
|
Object.defineProperty(XIcon.prototype, "view", {
|
|
@@ -233,470 +276,664 @@ var XIcon = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
233
276
|
set: function (a) {
|
|
234
277
|
this._view = a;
|
|
235
278
|
},
|
|
236
|
-
enumerable:
|
|
279
|
+
enumerable: false,
|
|
237
280
|
configurable: true
|
|
238
281
|
});
|
|
239
282
|
XIcon.prototype.destroy = function () {
|
|
240
283
|
this.provideContainer(null);
|
|
241
284
|
};
|
|
242
|
-
XIcon.prototype.
|
|
285
|
+
XIcon.prototype.b5 = function (a, b, c) {
|
|
243
286
|
if (this.propertyChanged != null) {
|
|
244
287
|
this.propertyChanged(this, new PropertyChangedEventArgs(a));
|
|
245
288
|
}
|
|
246
|
-
this.
|
|
289
|
+
this.b7(a, b, c);
|
|
247
290
|
};
|
|
248
|
-
XIcon.prototype.
|
|
291
|
+
XIcon.prototype.b7 = function (a, b, c) {
|
|
249
292
|
switch (a) {
|
|
250
293
|
case "Fill":
|
|
251
294
|
case "Stroke":
|
|
252
|
-
case "
|
|
295
|
+
case "StrokeWidth":
|
|
253
296
|
case "HoverFill":
|
|
254
297
|
case "HoverStroke":
|
|
255
298
|
case "HoverStrokeThickness":
|
|
256
|
-
|
|
299
|
+
case "IsHover":
|
|
300
|
+
this.cb();
|
|
257
301
|
break;
|
|
258
302
|
case "ActualFill":
|
|
259
303
|
case "ActualStroke":
|
|
260
|
-
case "
|
|
261
|
-
case "ActualHoverStroke":
|
|
262
|
-
case "ActualStrokeThickness":
|
|
263
|
-
case "ActualHoverStrokeThickness":
|
|
304
|
+
case "ActualStrokeWidth":
|
|
264
305
|
case "SVGPath":
|
|
265
|
-
|
|
306
|
+
case "SVG":
|
|
307
|
+
this.b9();
|
|
266
308
|
break;
|
|
267
309
|
case "Opacity":
|
|
268
|
-
this.
|
|
310
|
+
this.ca();
|
|
311
|
+
break;
|
|
312
|
+
case "ViewBoxLeft":
|
|
313
|
+
case "ViewBoxTop":
|
|
314
|
+
case "ViewBoxWidth":
|
|
315
|
+
case "ViewBoxHeight":
|
|
316
|
+
this.view.ai();
|
|
317
|
+
break;
|
|
318
|
+
case "Width":
|
|
319
|
+
case "Height":
|
|
320
|
+
this.view.ae();
|
|
269
321
|
break;
|
|
270
322
|
}
|
|
271
323
|
};
|
|
272
|
-
XIcon.prototype.
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
324
|
+
XIcon.prototype.cb = function () {
|
|
325
|
+
var a = this.fill != null ? this.fill : XIcon.cs;
|
|
326
|
+
var b = this.c5 != null ? this.c5 : XIcon.cw;
|
|
327
|
+
var c = !isNaN_(this.aj) ? this.aj : XIcon.af;
|
|
328
|
+
var d = this.c6 != null ? this.c6 : XIcon.cx;
|
|
329
|
+
if (this.r) {
|
|
330
|
+
this.cp = this.cy != null ? this.cy : a;
|
|
331
|
+
this.cq = this.cz != null ? this.cz : b;
|
|
332
|
+
this.ad = !isNaN_(this.ah) ? this.ah : c;
|
|
333
|
+
this.cr = this.c0 != null ? this.c0 : d;
|
|
334
|
+
}
|
|
335
|
+
else {
|
|
336
|
+
this.cp = a;
|
|
337
|
+
this.cq = b;
|
|
338
|
+
this.ad = c;
|
|
339
|
+
this.cr = d;
|
|
340
|
+
}
|
|
280
341
|
};
|
|
281
|
-
Object.defineProperty(XIcon.prototype, "
|
|
342
|
+
Object.defineProperty(XIcon.prototype, "p", {
|
|
282
343
|
get: function () {
|
|
283
|
-
return this.svgPath != null && !this.view.
|
|
344
|
+
return this.svgPath != null && !this.view.h;
|
|
284
345
|
},
|
|
285
|
-
enumerable:
|
|
346
|
+
enumerable: false,
|
|
286
347
|
configurable: true
|
|
287
348
|
});
|
|
288
|
-
XIcon.prototype.
|
|
289
|
-
NativeUI.
|
|
349
|
+
XIcon.prototype.ca = function () {
|
|
350
|
+
NativeUI.w(this.view.r, this.ai);
|
|
290
351
|
};
|
|
291
|
-
XIcon.prototype.
|
|
292
|
-
var a = this.view.
|
|
293
|
-
if (this.
|
|
294
|
-
var b = this.view.
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
NativeUI.z(b, this.u);
|
|
299
|
-
}
|
|
300
|
-
else {
|
|
301
|
-
NativeUI.p(b, this.bx);
|
|
302
|
-
NativeUI.w(b, this.b0);
|
|
303
|
-
NativeUI.z(b, this.v);
|
|
304
|
-
}
|
|
352
|
+
XIcon.prototype.b9 = function () {
|
|
353
|
+
var a = this.view.r;
|
|
354
|
+
if (this.p) {
|
|
355
|
+
var b = this.view.s;
|
|
356
|
+
NativeUI.q(b, this.cp);
|
|
357
|
+
NativeUI.y(b, this.cq);
|
|
358
|
+
NativeUI.ab(b, this.ad);
|
|
305
359
|
}
|
|
306
360
|
else {
|
|
361
|
+
var c = false;
|
|
307
362
|
if (this.svgPath != null) {
|
|
308
|
-
|
|
363
|
+
if (stringStartsWith(trimStart(this.svgPath, ' ', '\n', '\r', '\t'), "<svg")) {
|
|
364
|
+
this.view.af(this.svgPath);
|
|
365
|
+
c = true;
|
|
366
|
+
}
|
|
367
|
+
else {
|
|
368
|
+
this.view.ag(this.svgPath);
|
|
369
|
+
}
|
|
309
370
|
}
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
371
|
+
else if (this.svg != null) {
|
|
372
|
+
this.view.af(this.svg);
|
|
373
|
+
c = true;
|
|
374
|
+
}
|
|
375
|
+
if (c) {
|
|
376
|
+
for (var d = 0; d < this.view.k.count; d++) {
|
|
377
|
+
var e = this.view.k._inner[d].c;
|
|
378
|
+
NativeUI.q(this.view.k._inner[d].d, e.l.f(this.c1));
|
|
314
379
|
}
|
|
315
|
-
|
|
316
|
-
|
|
380
|
+
for (var f = 0; f < this.view.l.count; f++) {
|
|
381
|
+
var g = this.view.l._inner[f].c;
|
|
382
|
+
NativeUI.y(this.view.l._inner[f].d, g.m.f(this.c2));
|
|
317
383
|
}
|
|
318
|
-
|
|
319
|
-
|
|
384
|
+
for (var h = 0; h < this.view.m.count; h++) {
|
|
385
|
+
var i = this.view.m._inner[h].c;
|
|
386
|
+
NativeUI.q(this.view.m._inner[h].d, i.l.f(this.c3));
|
|
320
387
|
}
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
NativeUI.p(c, this.bx);
|
|
388
|
+
for (var j = 0; j < this.view.n.count; j++) {
|
|
389
|
+
var k = this.view.n._inner[j].c;
|
|
390
|
+
NativeUI.y(this.view.n._inner[j].d, k.m.f(this.c4));
|
|
325
391
|
}
|
|
326
|
-
|
|
327
|
-
|
|
392
|
+
for (var l = 0; l < this.view.c.o.count; l++) {
|
|
393
|
+
var m = this.view.c.o._inner[l];
|
|
394
|
+
var n = m.split('-');
|
|
395
|
+
var o = parseInt(n[n.length - 1]);
|
|
396
|
+
if (o < this.c.count) {
|
|
397
|
+
for (var p = 0; p < this.view.c.q._inner[l].count; p++) {
|
|
398
|
+
var q = this.view.c.q._inner[l]._inner[p].c;
|
|
399
|
+
NativeUI.q(this.view.c.q._inner[l]._inner[p].d, q.l.f(this.c.item(o)));
|
|
400
|
+
}
|
|
401
|
+
}
|
|
328
402
|
}
|
|
329
|
-
|
|
330
|
-
|
|
403
|
+
for (var r = 0; r < this.view.d.o.count; r++) {
|
|
404
|
+
var s = this.view.d.o._inner[r];
|
|
405
|
+
var t = s.split('-');
|
|
406
|
+
var u = parseInt(t[t.length - 1]);
|
|
407
|
+
if (u < this.d.count) {
|
|
408
|
+
for (var v = 0; v < this.view.d.q._inner[r].count; v++) {
|
|
409
|
+
var w = this.view.d.q._inner[r]._inner[v].c;
|
|
410
|
+
NativeUI.y(this.view.d.q._inner[r]._inner[v].d, w.m.f(this.d.item(u)));
|
|
411
|
+
}
|
|
412
|
+
}
|
|
331
413
|
}
|
|
414
|
+
for (var x = 0; x < this.view.j.count; x++) {
|
|
415
|
+
var y = this.view.j._inner[x].c;
|
|
416
|
+
NativeUI.q(this.view.j._inner[x].d, y.l.f(this.cp));
|
|
417
|
+
NativeUI.y(this.view.j._inner[x].d, y.m.f(this.cq));
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
var z = this.view.r;
|
|
421
|
+
if (this.cp != null) {
|
|
422
|
+
NativeUI.q(z, this.cp);
|
|
423
|
+
}
|
|
424
|
+
if (this.cq != null) {
|
|
425
|
+
NativeUI.y(z, this.cq);
|
|
426
|
+
}
|
|
427
|
+
if (!isNaN_(this.ad)) {
|
|
428
|
+
NativeUI.ab(z, this.ad);
|
|
332
429
|
}
|
|
333
430
|
}
|
|
334
|
-
if (this.
|
|
335
|
-
this.view.
|
|
431
|
+
if (this.k != null) {
|
|
432
|
+
this.view.ah(this.k);
|
|
336
433
|
}
|
|
337
|
-
if (this.
|
|
338
|
-
NativeUI.
|
|
434
|
+
if (this.cr != null) {
|
|
435
|
+
NativeUI.p(this.view.r, this.cr);
|
|
339
436
|
}
|
|
340
437
|
};
|
|
341
|
-
Object.defineProperty(XIcon.prototype, "
|
|
438
|
+
Object.defineProperty(XIcon.prototype, "i", {
|
|
439
|
+
get: function () {
|
|
440
|
+
return this.h;
|
|
441
|
+
},
|
|
442
|
+
set: function (a) {
|
|
443
|
+
var b = this.h;
|
|
444
|
+
this.h = a;
|
|
445
|
+
if (b != this.h) {
|
|
446
|
+
this.b5("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, a));
|
|
447
|
+
}
|
|
448
|
+
},
|
|
449
|
+
enumerable: false,
|
|
450
|
+
configurable: true
|
|
451
|
+
});
|
|
452
|
+
Object.defineProperty(XIcon.prototype, "cp", {
|
|
342
453
|
get: function () {
|
|
343
|
-
return this.
|
|
454
|
+
return this.cc;
|
|
344
455
|
},
|
|
345
456
|
set: function (a) {
|
|
346
|
-
var b = this.
|
|
347
|
-
this.
|
|
348
|
-
if (b != this.
|
|
349
|
-
this.
|
|
457
|
+
var b = this.cc;
|
|
458
|
+
this.cc = a;
|
|
459
|
+
if (b != this.cc) {
|
|
460
|
+
this.b5("ActualFill", b, a);
|
|
350
461
|
}
|
|
351
462
|
},
|
|
352
|
-
enumerable:
|
|
463
|
+
enumerable: false,
|
|
353
464
|
configurable: true
|
|
354
465
|
});
|
|
355
|
-
Object.defineProperty(XIcon.prototype, "
|
|
466
|
+
Object.defineProperty(XIcon.prototype, "cq", {
|
|
356
467
|
get: function () {
|
|
357
|
-
return this.
|
|
468
|
+
return this.cd;
|
|
358
469
|
},
|
|
359
470
|
set: function (a) {
|
|
360
|
-
var b = this.
|
|
361
|
-
this.
|
|
362
|
-
if (b != this.
|
|
363
|
-
this.
|
|
471
|
+
var b = this.cd;
|
|
472
|
+
this.cd = a;
|
|
473
|
+
if (b != this.cd) {
|
|
474
|
+
this.b5("ActualStroke", b, a);
|
|
364
475
|
}
|
|
365
476
|
},
|
|
366
|
-
enumerable:
|
|
477
|
+
enumerable: false,
|
|
367
478
|
configurable: true
|
|
368
479
|
});
|
|
369
|
-
Object.defineProperty(XIcon.prototype, "
|
|
480
|
+
Object.defineProperty(XIcon.prototype, "cr", {
|
|
370
481
|
get: function () {
|
|
371
|
-
return this.
|
|
482
|
+
return this.ce;
|
|
372
483
|
},
|
|
373
484
|
set: function (a) {
|
|
374
|
-
var b = this.
|
|
375
|
-
this.
|
|
376
|
-
if (b != this.
|
|
377
|
-
this.
|
|
485
|
+
var b = this.ce;
|
|
486
|
+
this.ce = a;
|
|
487
|
+
if (b != this.ce) {
|
|
488
|
+
this.b5("ActualTextColor", b, a);
|
|
378
489
|
}
|
|
379
490
|
},
|
|
380
|
-
enumerable:
|
|
491
|
+
enumerable: false,
|
|
381
492
|
configurable: true
|
|
382
493
|
});
|
|
383
|
-
Object.defineProperty(XIcon.prototype, "
|
|
494
|
+
Object.defineProperty(XIcon.prototype, "ad", {
|
|
384
495
|
get: function () {
|
|
385
|
-
return this.
|
|
496
|
+
return this.t;
|
|
386
497
|
},
|
|
387
498
|
set: function (a) {
|
|
388
|
-
var b = this.
|
|
389
|
-
this.
|
|
390
|
-
if (b != this.
|
|
391
|
-
this.
|
|
499
|
+
var b = this.t;
|
|
500
|
+
this.t = a;
|
|
501
|
+
if (b != this.t) {
|
|
502
|
+
this.b5("ActualStrokeWidth", b, a);
|
|
392
503
|
}
|
|
393
504
|
},
|
|
394
|
-
enumerable:
|
|
505
|
+
enumerable: false,
|
|
395
506
|
configurable: true
|
|
396
507
|
});
|
|
397
|
-
Object.defineProperty(XIcon.prototype, "
|
|
508
|
+
Object.defineProperty(XIcon.prototype, "fill", {
|
|
398
509
|
get: function () {
|
|
399
|
-
return this.
|
|
510
|
+
return this.cf;
|
|
400
511
|
},
|
|
401
512
|
set: function (a) {
|
|
402
|
-
var b = this.
|
|
403
|
-
this.
|
|
404
|
-
if (b != this.
|
|
405
|
-
this.
|
|
513
|
+
var b = this.cf;
|
|
514
|
+
this.cf = a;
|
|
515
|
+
if (b != this.cf) {
|
|
516
|
+
this.b5("Fill", b, a);
|
|
406
517
|
}
|
|
407
518
|
},
|
|
408
|
-
enumerable:
|
|
519
|
+
enumerable: false,
|
|
409
520
|
configurable: true
|
|
410
521
|
});
|
|
411
|
-
Object.defineProperty(XIcon.prototype, "
|
|
522
|
+
Object.defineProperty(XIcon.prototype, "c5", {
|
|
412
523
|
get: function () {
|
|
413
|
-
return this.
|
|
524
|
+
return this.cn;
|
|
414
525
|
},
|
|
415
526
|
set: function (a) {
|
|
416
|
-
var b = this.
|
|
417
|
-
this.
|
|
418
|
-
if (b != this.
|
|
419
|
-
this.
|
|
527
|
+
var b = this.cn;
|
|
528
|
+
this.cn = a;
|
|
529
|
+
if (b != this.cn) {
|
|
530
|
+
this.b5("Stroke", b, a);
|
|
420
531
|
}
|
|
421
532
|
},
|
|
422
|
-
enumerable:
|
|
533
|
+
enumerable: false,
|
|
423
534
|
configurable: true
|
|
424
535
|
});
|
|
425
|
-
Object.defineProperty(XIcon.prototype, "
|
|
536
|
+
Object.defineProperty(XIcon.prototype, "aj", {
|
|
426
537
|
get: function () {
|
|
427
|
-
return this.
|
|
538
|
+
return this.x;
|
|
428
539
|
},
|
|
429
540
|
set: function (a) {
|
|
430
|
-
var b = this.
|
|
431
|
-
this.
|
|
432
|
-
if (b != this.
|
|
433
|
-
this.
|
|
541
|
+
var b = this.x;
|
|
542
|
+
this.x = a;
|
|
543
|
+
if (b != this.x) {
|
|
544
|
+
this.b5("StrokeWidth", b, a);
|
|
434
545
|
}
|
|
435
546
|
},
|
|
436
|
-
enumerable:
|
|
547
|
+
enumerable: false,
|
|
437
548
|
configurable: true
|
|
438
549
|
});
|
|
439
|
-
Object.defineProperty(XIcon.prototype, "
|
|
550
|
+
Object.defineProperty(XIcon.prototype, "c6", {
|
|
440
551
|
get: function () {
|
|
441
|
-
return this.
|
|
552
|
+
return this.co;
|
|
442
553
|
},
|
|
443
554
|
set: function (a) {
|
|
444
|
-
var b = this.
|
|
445
|
-
this.
|
|
446
|
-
if (b != this.
|
|
447
|
-
this.
|
|
555
|
+
var b = this.co;
|
|
556
|
+
this.co = a;
|
|
557
|
+
if (b != this.co) {
|
|
558
|
+
this.b5("TextColor", b, a);
|
|
448
559
|
}
|
|
449
560
|
},
|
|
450
|
-
enumerable:
|
|
561
|
+
enumerable: false,
|
|
451
562
|
configurable: true
|
|
452
563
|
});
|
|
453
|
-
Object.defineProperty(XIcon.prototype, "
|
|
564
|
+
Object.defineProperty(XIcon.prototype, "cy", {
|
|
454
565
|
get: function () {
|
|
455
|
-
return this.
|
|
566
|
+
return this.cg;
|
|
456
567
|
},
|
|
457
568
|
set: function (a) {
|
|
458
|
-
var b = this.
|
|
459
|
-
this.
|
|
460
|
-
if (b != this.
|
|
461
|
-
this.
|
|
569
|
+
var b = this.cg;
|
|
570
|
+
this.cg = a;
|
|
571
|
+
if (b != this.cg) {
|
|
572
|
+
this.b5("HoverFill", b, a);
|
|
462
573
|
}
|
|
463
574
|
},
|
|
464
|
-
enumerable:
|
|
575
|
+
enumerable: false,
|
|
465
576
|
configurable: true
|
|
466
577
|
});
|
|
467
|
-
Object.defineProperty(XIcon.prototype, "
|
|
578
|
+
Object.defineProperty(XIcon.prototype, "cz", {
|
|
468
579
|
get: function () {
|
|
469
|
-
return this.
|
|
580
|
+
return this.ch;
|
|
470
581
|
},
|
|
471
582
|
set: function (a) {
|
|
472
|
-
var b = this.
|
|
473
|
-
this.
|
|
474
|
-
if (b != this.
|
|
475
|
-
this.
|
|
583
|
+
var b = this.ch;
|
|
584
|
+
this.ch = a;
|
|
585
|
+
if (b != this.ch) {
|
|
586
|
+
this.b5("HoverStroke", b, a);
|
|
476
587
|
}
|
|
477
588
|
},
|
|
478
|
-
enumerable:
|
|
589
|
+
enumerable: false,
|
|
479
590
|
configurable: true
|
|
480
591
|
});
|
|
481
|
-
Object.defineProperty(XIcon.prototype, "
|
|
592
|
+
Object.defineProperty(XIcon.prototype, "ah", {
|
|
482
593
|
get: function () {
|
|
483
|
-
return this.
|
|
594
|
+
return this.v;
|
|
484
595
|
},
|
|
485
596
|
set: function (a) {
|
|
486
|
-
var b = this.
|
|
487
|
-
this.
|
|
488
|
-
if (b != this.
|
|
489
|
-
this.
|
|
597
|
+
var b = this.v;
|
|
598
|
+
this.v = a;
|
|
599
|
+
if (b != this.v) {
|
|
600
|
+
this.b5("HoverStrokeThickness", b, a);
|
|
490
601
|
}
|
|
491
602
|
},
|
|
492
|
-
enumerable:
|
|
603
|
+
enumerable: false,
|
|
493
604
|
configurable: true
|
|
494
605
|
});
|
|
495
|
-
Object.defineProperty(XIcon.prototype, "
|
|
606
|
+
Object.defineProperty(XIcon.prototype, "c0", {
|
|
496
607
|
get: function () {
|
|
497
|
-
return this.
|
|
608
|
+
return this.ci;
|
|
498
609
|
},
|
|
499
610
|
set: function (a) {
|
|
500
|
-
var b = this.
|
|
501
|
-
this.
|
|
502
|
-
if (b != this.
|
|
503
|
-
this.
|
|
611
|
+
var b = this.ci;
|
|
612
|
+
this.ci = a;
|
|
613
|
+
if (b != this.ci) {
|
|
614
|
+
this.b5("HoverTextColor", b, a);
|
|
504
615
|
}
|
|
505
616
|
},
|
|
506
|
-
enumerable:
|
|
617
|
+
enumerable: false,
|
|
507
618
|
configurable: true
|
|
508
619
|
});
|
|
509
|
-
Object.defineProperty(XIcon.prototype, "
|
|
620
|
+
Object.defineProperty(XIcon.prototype, "c", {
|
|
510
621
|
get: function () {
|
|
511
|
-
return this.
|
|
622
|
+
return this.a;
|
|
512
623
|
},
|
|
513
624
|
set: function (a) {
|
|
514
|
-
var b = this.
|
|
515
|
-
this.
|
|
516
|
-
if (b != this.
|
|
517
|
-
this.
|
|
625
|
+
var b = this.a;
|
|
626
|
+
this.a = a;
|
|
627
|
+
if (b != this.a) {
|
|
628
|
+
this.b5("FillColors", b, this.a);
|
|
518
629
|
}
|
|
519
630
|
},
|
|
520
|
-
enumerable:
|
|
631
|
+
enumerable: false,
|
|
521
632
|
configurable: true
|
|
522
633
|
});
|
|
523
|
-
Object.defineProperty(XIcon.prototype, "
|
|
634
|
+
Object.defineProperty(XIcon.prototype, "d", {
|
|
524
635
|
get: function () {
|
|
525
|
-
return this.
|
|
636
|
+
return this.b;
|
|
526
637
|
},
|
|
527
638
|
set: function (a) {
|
|
528
|
-
var b = this.
|
|
529
|
-
this.
|
|
530
|
-
if (b != this.
|
|
531
|
-
this.
|
|
639
|
+
var b = this.b;
|
|
640
|
+
this.b = a;
|
|
641
|
+
if (b != this.b) {
|
|
642
|
+
this.b5("StrokeColors", b, this.b);
|
|
532
643
|
}
|
|
533
644
|
},
|
|
534
|
-
enumerable:
|
|
645
|
+
enumerable: false,
|
|
535
646
|
configurable: true
|
|
536
647
|
});
|
|
537
|
-
Object.defineProperty(XIcon.prototype, "
|
|
648
|
+
Object.defineProperty(XIcon.prototype, "c1", {
|
|
538
649
|
get: function () {
|
|
539
|
-
return this.
|
|
650
|
+
return this.cj;
|
|
540
651
|
},
|
|
541
652
|
set: function (a) {
|
|
542
|
-
var b = this.
|
|
543
|
-
this.
|
|
544
|
-
if (b != this.
|
|
545
|
-
this.
|
|
653
|
+
var b = this.cj;
|
|
654
|
+
this.cj = a;
|
|
655
|
+
if (b != this.cj) {
|
|
656
|
+
this.b5("PrimaryFillColor", b, this.cj);
|
|
546
657
|
}
|
|
547
658
|
},
|
|
548
|
-
enumerable:
|
|
659
|
+
enumerable: false,
|
|
549
660
|
configurable: true
|
|
550
661
|
});
|
|
551
|
-
Object.defineProperty(XIcon.prototype, "
|
|
662
|
+
Object.defineProperty(XIcon.prototype, "c2", {
|
|
552
663
|
get: function () {
|
|
553
|
-
return this.
|
|
664
|
+
return this.ck;
|
|
554
665
|
},
|
|
555
666
|
set: function (a) {
|
|
556
|
-
var b = this.
|
|
557
|
-
this.
|
|
558
|
-
if (b != this.
|
|
559
|
-
this.
|
|
667
|
+
var b = this.ck;
|
|
668
|
+
this.ck = a;
|
|
669
|
+
if (b != this.ck) {
|
|
670
|
+
this.b5("PrimaryStrokeColor", b, this.ck);
|
|
560
671
|
}
|
|
561
672
|
},
|
|
562
|
-
enumerable:
|
|
673
|
+
enumerable: false,
|
|
563
674
|
configurable: true
|
|
564
675
|
});
|
|
565
|
-
XIcon.prototype
|
|
566
|
-
this.n = true;
|
|
567
|
-
};
|
|
568
|
-
XIcon.prototype.be = function () {
|
|
569
|
-
this.n = false;
|
|
570
|
-
};
|
|
571
|
-
Object.defineProperty(XIcon.prototype, "g", {
|
|
676
|
+
Object.defineProperty(XIcon.prototype, "c3", {
|
|
572
677
|
get: function () {
|
|
573
|
-
return this.
|
|
678
|
+
return this.cl;
|
|
574
679
|
},
|
|
575
680
|
set: function (a) {
|
|
576
|
-
var b = this.
|
|
577
|
-
this.
|
|
578
|
-
if (b != this.
|
|
579
|
-
this.
|
|
681
|
+
var b = this.cl;
|
|
682
|
+
this.cl = a;
|
|
683
|
+
if (b != this.cl) {
|
|
684
|
+
this.b5("SecondaryFillColor", b, this.cl);
|
|
580
685
|
}
|
|
581
686
|
},
|
|
582
|
-
enumerable:
|
|
687
|
+
enumerable: false,
|
|
583
688
|
configurable: true
|
|
584
689
|
});
|
|
585
|
-
Object.defineProperty(XIcon.prototype, "
|
|
690
|
+
Object.defineProperty(XIcon.prototype, "c4", {
|
|
586
691
|
get: function () {
|
|
587
|
-
return this.
|
|
692
|
+
return this.cm;
|
|
588
693
|
},
|
|
589
694
|
set: function (a) {
|
|
590
|
-
var b = this.
|
|
591
|
-
this.
|
|
592
|
-
if (b != this.
|
|
593
|
-
this.
|
|
695
|
+
var b = this.cm;
|
|
696
|
+
this.cm = a;
|
|
697
|
+
if (b != this.cm) {
|
|
698
|
+
this.b5("SecondaryStrokeColor", b, this.cm);
|
|
594
699
|
}
|
|
595
700
|
},
|
|
596
|
-
enumerable:
|
|
701
|
+
enumerable: false,
|
|
597
702
|
configurable: true
|
|
598
703
|
});
|
|
599
|
-
Object.defineProperty(XIcon.prototype, "
|
|
704
|
+
Object.defineProperty(XIcon.prototype, "svgPath", {
|
|
600
705
|
get: function () {
|
|
601
|
-
return this.
|
|
706
|
+
return this.aw;
|
|
602
707
|
},
|
|
603
708
|
set: function (a) {
|
|
604
|
-
var b = this.
|
|
605
|
-
this.
|
|
606
|
-
if (b != this.
|
|
607
|
-
this.
|
|
709
|
+
var b = this.aw;
|
|
710
|
+
this.aw = a;
|
|
711
|
+
if (b != this.aw) {
|
|
712
|
+
this.b5("SVGPath", b, a);
|
|
608
713
|
}
|
|
609
714
|
},
|
|
610
|
-
enumerable:
|
|
715
|
+
enumerable: false,
|
|
611
716
|
configurable: true
|
|
612
717
|
});
|
|
718
|
+
Object.defineProperty(XIcon.prototype, "svg", {
|
|
719
|
+
get: function () {
|
|
720
|
+
return this.av;
|
|
721
|
+
},
|
|
722
|
+
set: function (a) {
|
|
723
|
+
var b = this.av;
|
|
724
|
+
this.av = a;
|
|
725
|
+
if (b != this.av) {
|
|
726
|
+
this.b5("SVG", b, this.av);
|
|
727
|
+
}
|
|
728
|
+
},
|
|
729
|
+
enumerable: false,
|
|
730
|
+
configurable: true
|
|
731
|
+
});
|
|
732
|
+
XIcon.prototype.b3 = function () {
|
|
733
|
+
this.r = true;
|
|
734
|
+
};
|
|
735
|
+
XIcon.prototype.b4 = function () {
|
|
736
|
+
this.r = false;
|
|
737
|
+
};
|
|
613
738
|
Object.defineProperty(XIcon.prototype, "k", {
|
|
614
739
|
get: function () {
|
|
615
|
-
return this.
|
|
740
|
+
return this.j;
|
|
616
741
|
},
|
|
617
|
-
|
|
742
|
+
set: function (a) {
|
|
743
|
+
var b = this.j;
|
|
744
|
+
this.j = a;
|
|
745
|
+
if (b != this.j) {
|
|
746
|
+
this.b5("TextStyle", b, a);
|
|
747
|
+
}
|
|
748
|
+
},
|
|
749
|
+
enumerable: false,
|
|
618
750
|
configurable: true
|
|
619
751
|
});
|
|
620
|
-
Object.defineProperty(XIcon.prototype, "
|
|
752
|
+
Object.defineProperty(XIcon.prototype, "bc", {
|
|
621
753
|
get: function () {
|
|
622
|
-
return this.
|
|
754
|
+
return this.au;
|
|
623
755
|
},
|
|
624
756
|
set: function (a) {
|
|
625
|
-
var b = this.
|
|
626
|
-
this.
|
|
627
|
-
this.
|
|
628
|
-
|
|
629
|
-
this.bf("TabIndex", b, a);
|
|
757
|
+
var b = this.au;
|
|
758
|
+
this.au = a;
|
|
759
|
+
if (b != this.au) {
|
|
760
|
+
this.b5("Id", b, a);
|
|
630
761
|
}
|
|
631
762
|
},
|
|
632
|
-
enumerable:
|
|
763
|
+
enumerable: false,
|
|
764
|
+
configurable: true
|
|
765
|
+
});
|
|
766
|
+
Object.defineProperty(XIcon.prototype, "o", {
|
|
767
|
+
get: function () {
|
|
768
|
+
return this.l;
|
|
769
|
+
},
|
|
770
|
+
enumerable: false,
|
|
633
771
|
configurable: true
|
|
634
772
|
});
|
|
635
|
-
Object.defineProperty(XIcon.prototype, "
|
|
773
|
+
Object.defineProperty(XIcon.prototype, "aq", {
|
|
636
774
|
get: function () {
|
|
637
|
-
return this.
|
|
775
|
+
return this.ap;
|
|
638
776
|
},
|
|
639
777
|
set: function (a) {
|
|
640
|
-
var b = this.
|
|
641
|
-
this.
|
|
642
|
-
|
|
643
|
-
|
|
778
|
+
var b = this.ap;
|
|
779
|
+
this.ap = a;
|
|
780
|
+
this.l = true;
|
|
781
|
+
if (b != this.ap) {
|
|
782
|
+
this.b5("TabIndex", b, a);
|
|
644
783
|
}
|
|
645
784
|
},
|
|
646
|
-
enumerable:
|
|
785
|
+
enumerable: false,
|
|
647
786
|
configurable: true
|
|
648
787
|
});
|
|
649
|
-
Object.defineProperty(XIcon.prototype, "
|
|
788
|
+
Object.defineProperty(XIcon.prototype, "a1", {
|
|
650
789
|
get: function () {
|
|
651
|
-
return this.
|
|
790
|
+
return this.at;
|
|
652
791
|
},
|
|
653
792
|
set: function (a) {
|
|
654
|
-
var b = this.
|
|
655
|
-
this.
|
|
656
|
-
if (b != this.
|
|
657
|
-
this.
|
|
793
|
+
var b = this.at;
|
|
794
|
+
this.at = a;
|
|
795
|
+
if (b != this.at) {
|
|
796
|
+
this.b5("AriaLabel", b, a);
|
|
658
797
|
}
|
|
659
798
|
},
|
|
660
|
-
enumerable:
|
|
799
|
+
enumerable: false,
|
|
800
|
+
configurable: true
|
|
801
|
+
});
|
|
802
|
+
Object.defineProperty(XIcon.prototype, "r", {
|
|
803
|
+
get: function () {
|
|
804
|
+
return this.n;
|
|
805
|
+
},
|
|
806
|
+
set: function (a) {
|
|
807
|
+
var b = this.n;
|
|
808
|
+
this.n = a;
|
|
809
|
+
if (b != this.n) {
|
|
810
|
+
this.b5("IsHover", b, a);
|
|
811
|
+
}
|
|
812
|
+
},
|
|
813
|
+
enumerable: false,
|
|
661
814
|
configurable: true
|
|
662
815
|
});
|
|
663
816
|
Object.defineProperty(XIcon.prototype, "disabled", {
|
|
664
817
|
get: function () {
|
|
665
|
-
return this.
|
|
818
|
+
return this.m;
|
|
819
|
+
},
|
|
820
|
+
set: function (a) {
|
|
821
|
+
var b = this.m;
|
|
822
|
+
this.m = a;
|
|
823
|
+
if (b != this.m) {
|
|
824
|
+
this.b5("IsDisabled", b, a);
|
|
825
|
+
}
|
|
826
|
+
},
|
|
827
|
+
enumerable: false,
|
|
828
|
+
configurable: true
|
|
829
|
+
});
|
|
830
|
+
Object.defineProperty(XIcon.prototype, "ai", {
|
|
831
|
+
get: function () {
|
|
832
|
+
return this.w;
|
|
833
|
+
},
|
|
834
|
+
set: function (a) {
|
|
835
|
+
var b = this.w;
|
|
836
|
+
this.w = a;
|
|
837
|
+
if (b != this.w) {
|
|
838
|
+
this.b5("Opacity", b, this.w);
|
|
839
|
+
}
|
|
840
|
+
},
|
|
841
|
+
enumerable: false,
|
|
842
|
+
configurable: true
|
|
843
|
+
});
|
|
844
|
+
Object.defineProperty(XIcon.prototype, "al", {
|
|
845
|
+
get: function () {
|
|
846
|
+
return this.z;
|
|
666
847
|
},
|
|
667
848
|
set: function (a) {
|
|
668
|
-
var b = this.
|
|
669
|
-
this.
|
|
670
|
-
if (b != this.
|
|
671
|
-
this.
|
|
849
|
+
var b = this.z;
|
|
850
|
+
this.z = a;
|
|
851
|
+
if (b != this.z) {
|
|
852
|
+
this.b5("ViewBoxLeft", b, this.z);
|
|
672
853
|
}
|
|
673
854
|
},
|
|
674
|
-
enumerable:
|
|
855
|
+
enumerable: false,
|
|
675
856
|
configurable: true
|
|
676
857
|
});
|
|
677
|
-
Object.defineProperty(XIcon.prototype, "
|
|
858
|
+
Object.defineProperty(XIcon.prototype, "am", {
|
|
678
859
|
get: function () {
|
|
679
|
-
return this.
|
|
860
|
+
return this.aa;
|
|
680
861
|
},
|
|
681
862
|
set: function (a) {
|
|
682
|
-
var b = this.
|
|
683
|
-
this.
|
|
684
|
-
if (b != this.
|
|
685
|
-
this.
|
|
863
|
+
var b = this.aa;
|
|
864
|
+
this.aa = a;
|
|
865
|
+
if (b != this.aa) {
|
|
866
|
+
this.b5("ViewBoxTop", b, this.aa);
|
|
686
867
|
}
|
|
687
868
|
},
|
|
688
|
-
enumerable:
|
|
869
|
+
enumerable: false,
|
|
689
870
|
configurable: true
|
|
690
871
|
});
|
|
691
|
-
XIcon.prototype
|
|
872
|
+
Object.defineProperty(XIcon.prototype, "an", {
|
|
873
|
+
get: function () {
|
|
874
|
+
return this.ab;
|
|
875
|
+
},
|
|
876
|
+
set: function (a) {
|
|
877
|
+
var b = this.ab;
|
|
878
|
+
this.ab = a;
|
|
879
|
+
if (b != this.ab) {
|
|
880
|
+
this.b5("ViewBoxWidth", b, this.ab);
|
|
881
|
+
}
|
|
882
|
+
},
|
|
883
|
+
enumerable: false,
|
|
884
|
+
configurable: true
|
|
885
|
+
});
|
|
886
|
+
Object.defineProperty(XIcon.prototype, "ak", {
|
|
887
|
+
get: function () {
|
|
888
|
+
return this.y;
|
|
889
|
+
},
|
|
890
|
+
set: function (a) {
|
|
891
|
+
var b = this.y;
|
|
892
|
+
this.y = a;
|
|
893
|
+
if (b != this.y) {
|
|
894
|
+
this.b5("ViewBoxHeight", b, this.y);
|
|
895
|
+
}
|
|
896
|
+
},
|
|
897
|
+
enumerable: false,
|
|
898
|
+
configurable: true
|
|
899
|
+
});
|
|
900
|
+
Object.defineProperty(XIcon.prototype, "ao", {
|
|
901
|
+
get: function () {
|
|
902
|
+
return this.ac;
|
|
903
|
+
},
|
|
904
|
+
set: function (a) {
|
|
905
|
+
var b = this.ac;
|
|
906
|
+
this.ac = a;
|
|
907
|
+
if (b != this.ac) {
|
|
908
|
+
this.b5("Width", b, this.ac);
|
|
909
|
+
}
|
|
910
|
+
},
|
|
911
|
+
enumerable: false,
|
|
912
|
+
configurable: true
|
|
913
|
+
});
|
|
914
|
+
Object.defineProperty(XIcon.prototype, "ag", {
|
|
915
|
+
get: function () {
|
|
916
|
+
return this.u;
|
|
917
|
+
},
|
|
918
|
+
set: function (a) {
|
|
919
|
+
var b = this.u;
|
|
920
|
+
this.u = a;
|
|
921
|
+
if (b != this.u) {
|
|
922
|
+
this.b5("Height", b, this.u);
|
|
923
|
+
}
|
|
924
|
+
},
|
|
925
|
+
enumerable: false,
|
|
926
|
+
configurable: true
|
|
927
|
+
});
|
|
928
|
+
XIcon.prototype.b6 = function () {
|
|
692
929
|
};
|
|
693
930
|
XIcon.prototype.onDetachedFromUI = function () {
|
|
694
|
-
this.view.
|
|
931
|
+
this.view.ab();
|
|
695
932
|
};
|
|
696
933
|
XIcon.prototype.onAttachedToUI = function () {
|
|
697
|
-
this.view.
|
|
934
|
+
this.view.y();
|
|
698
935
|
};
|
|
699
|
-
XIcon.prototype.
|
|
936
|
+
XIcon.prototype.b1 = function () {
|
|
700
937
|
if (this.disabled) {
|
|
701
938
|
return;
|
|
702
939
|
}
|
|
@@ -704,33 +941,33 @@ var XIcon = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
704
941
|
this.clicked(this, new IconClickedEventArgs());
|
|
705
942
|
}
|
|
706
943
|
};
|
|
707
|
-
XIcon.prototype.
|
|
708
|
-
return this.view.
|
|
709
|
-
};
|
|
710
|
-
XIcon.prototype.ae = function () {
|
|
711
|
-
return this.a();
|
|
944
|
+
XIcon.prototype.s = function () {
|
|
945
|
+
return this.view.g();
|
|
712
946
|
};
|
|
713
947
|
XIcon.prototype.as = function () {
|
|
714
|
-
|
|
948
|
+
return this.e();
|
|
949
|
+
};
|
|
950
|
+
XIcon.prototype.a4 = function () {
|
|
951
|
+
var a = this.e();
|
|
715
952
|
return a.j();
|
|
716
953
|
};
|
|
717
|
-
XIcon.prototype.
|
|
954
|
+
XIcon.prototype.e = function () {
|
|
718
955
|
var a = new IconVisualModelExport();
|
|
719
|
-
var b = this.view.
|
|
720
|
-
a.a = AppearanceHelper.a(NativeUI.
|
|
721
|
-
a.c = AppearanceHelper.a(NativeUI.
|
|
722
|
-
a.b = AppearanceHelper.a(NativeUI.
|
|
723
|
-
a.d = this.
|
|
956
|
+
var b = this.view.r;
|
|
957
|
+
a.a = AppearanceHelper.a(NativeUI.aj(b));
|
|
958
|
+
a.c = AppearanceHelper.a(NativeUI.aj(b));
|
|
959
|
+
a.b = AppearanceHelper.a(NativeUI.ak(b));
|
|
960
|
+
a.d = this.ad;
|
|
724
961
|
var c = this.view.a();
|
|
725
962
|
a.h = c[0];
|
|
726
963
|
a.f = c[1];
|
|
727
|
-
a.e = NativeUI.
|
|
728
|
-
a.i = NativeUI.
|
|
964
|
+
a.e = NativeUI.d(b);
|
|
965
|
+
a.i = NativeUI.j(b);
|
|
729
966
|
a.svgPath = this.svgPath;
|
|
730
|
-
if (this.
|
|
731
|
-
var d = this.
|
|
967
|
+
if (this.k != null) {
|
|
968
|
+
var d = this.k;
|
|
732
969
|
if (this.view != null && d.n == null) {
|
|
733
|
-
var e = this.view.
|
|
970
|
+
var e = this.view.o;
|
|
734
971
|
var f = FontUtil.getFontInfoFromString(e, d.fontString);
|
|
735
972
|
d.n = f.n;
|
|
736
973
|
d.d = f.d;
|
|
@@ -758,17 +995,18 @@ var XIcon = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
758
995
|
return a;
|
|
759
996
|
};
|
|
760
997
|
XIcon.prototype.provideContainer = function (a) {
|
|
761
|
-
this.view.
|
|
998
|
+
this.view.aa(a);
|
|
762
999
|
};
|
|
763
1000
|
XIcon.$t = markType(XIcon, 'XIcon', Base.$, [INotifyPropertyChanged_$type, IIcon_$type]);
|
|
764
|
-
XIcon.
|
|
765
|
-
XIcon.
|
|
766
|
-
XIcon.
|
|
767
|
-
XIcon.
|
|
768
|
-
XIcon.
|
|
769
|
-
XIcon.
|
|
770
|
-
XIcon.
|
|
771
|
-
XIcon.
|
|
1001
|
+
XIcon.cs = null;
|
|
1002
|
+
XIcon.cx = null;
|
|
1003
|
+
XIcon.cw = null;
|
|
1004
|
+
XIcon.ct = null;
|
|
1005
|
+
XIcon.cu = null;
|
|
1006
|
+
XIcon.cv = null;
|
|
1007
|
+
XIcon.af = NaN;
|
|
1008
|
+
XIcon.ae = NaN;
|
|
1009
|
+
XIcon.ar = 0;
|
|
772
1010
|
return XIcon;
|
|
773
1011
|
}(Base));
|
|
774
1012
|
export { XIcon };
|