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