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