igniteui-angular-inputs 17.3.1-alpha.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 +213 -199
- package/bundles/igniteui-angular-inputs.umd.min.js +1 -1
- package/esm2015/lib/CalendarView_combined.js +2 -0
- package/esm2015/lib/IconView_combined.js +207 -198
- package/esm2015/lib/XIconBridge.js +3 -0
- package/esm2015/lib/XIconButtonBridge.js +1 -1
- package/esm5/lib/CalendarView_combined.js +2 -0
- package/esm5/lib/IconView_combined.js +204 -195
- package/esm5/lib/XIconBridge.js +3 -0
- package/esm5/lib/XIconButtonBridge.js +1 -1
- package/fesm2015/igniteui-angular-inputs.js +210 -196
- package/fesm5/igniteui-angular-inputs.js +213 -199
- package/lib/IconView_combined.d.ts +33 -36
- package/package.json +5 -5
|
@@ -30,74 +30,71 @@ var IconView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
30
30
|
__extends(IconView, _super);
|
|
31
31
|
function IconView() {
|
|
32
32
|
var _this = _super.call(this) || this;
|
|
33
|
-
_this.
|
|
34
|
-
_this.
|
|
35
|
-
_this.
|
|
36
|
-
_this.
|
|
33
|
+
_this.c = null;
|
|
34
|
+
_this.s = null;
|
|
35
|
+
_this.f = null;
|
|
36
|
+
_this.l = new List$1(Delegate_$type, 0);
|
|
37
|
+
_this.n = null;
|
|
37
38
|
_this.o = null;
|
|
38
39
|
_this.p = null;
|
|
39
40
|
_this.q = null;
|
|
40
41
|
_this.r = null;
|
|
41
|
-
_this.
|
|
42
|
+
_this.d = null;
|
|
42
43
|
_this.e = null;
|
|
43
|
-
_this.
|
|
44
|
-
_this.
|
|
45
|
-
_this.
|
|
46
|
-
_this.aa = null;
|
|
47
|
-
_this.z = null;
|
|
48
|
-
_this.l = new Dictionary$2(Brush.$, String_$type, 0);
|
|
49
|
-
_this.h = true;
|
|
50
|
-
_this.w = null;
|
|
44
|
+
_this.y = null;
|
|
45
|
+
_this.k = new Dictionary$2(Brush.$, String_$type, 0);
|
|
46
|
+
_this.g = true;
|
|
51
47
|
_this.v = null;
|
|
52
48
|
_this.u = null;
|
|
53
|
-
_this.
|
|
49
|
+
_this.t = null;
|
|
50
|
+
_this.m = new List$1(DomWrapper_$type, 0);
|
|
51
|
+
_this.n = new List$1(Tuple$2.$.specialize(SVGNode.$, Base.$), 0);
|
|
54
52
|
_this.o = new List$1(Tuple$2.$.specialize(SVGNode.$, Base.$), 0);
|
|
55
53
|
_this.p = new List$1(Tuple$2.$.specialize(SVGNode.$, Base.$), 0);
|
|
56
54
|
_this.q = new List$1(Tuple$2.$.specialize(SVGNode.$, Base.$), 0);
|
|
57
55
|
_this.r = new List$1(Tuple$2.$.specialize(SVGNode.$, Base.$), 0);
|
|
58
|
-
_this.
|
|
56
|
+
_this.d = new FastIterationDictionary$2(String_$type, List$1.$.specialize(Tuple$2.$.specialize(SVGNode.$, Base.$)), 0);
|
|
59
57
|
_this.e = new FastIterationDictionary$2(String_$type, List$1.$.specialize(Tuple$2.$.specialize(SVGNode.$, Base.$)), 0);
|
|
60
|
-
_this.f = new FastIterationDictionary$2(String_$type, List$1.$.specialize(Tuple$2.$.specialize(SVGNode.$, Base.$)), 0);
|
|
61
58
|
return _this;
|
|
62
59
|
}
|
|
63
|
-
IconView.prototype.
|
|
60
|
+
IconView.prototype.ag = function () {
|
|
64
61
|
};
|
|
65
|
-
IconView.prototype.
|
|
62
|
+
IconView.prototype.i = function () {
|
|
66
63
|
return true;
|
|
67
64
|
};
|
|
68
|
-
Object.defineProperty(IconView.prototype, "
|
|
65
|
+
Object.defineProperty(IconView.prototype, "w", {
|
|
69
66
|
get: function () {
|
|
70
|
-
return this.
|
|
67
|
+
return this.v;
|
|
71
68
|
},
|
|
72
69
|
enumerable: false,
|
|
73
70
|
configurable: true
|
|
74
71
|
});
|
|
75
|
-
Object.defineProperty(IconView.prototype, "
|
|
72
|
+
Object.defineProperty(IconView.prototype, "x", {
|
|
76
73
|
get: function () {
|
|
77
74
|
return null;
|
|
78
75
|
},
|
|
79
76
|
enumerable: false,
|
|
80
77
|
configurable: true
|
|
81
78
|
});
|
|
82
|
-
Object.defineProperty(IconView.prototype, "
|
|
79
|
+
Object.defineProperty(IconView.prototype, "b", {
|
|
83
80
|
get: function () {
|
|
84
|
-
return this.
|
|
81
|
+
return this.m.toArray();
|
|
85
82
|
},
|
|
86
83
|
enumerable: false,
|
|
87
84
|
configurable: true
|
|
88
85
|
});
|
|
89
|
-
Object.defineProperty(IconView.prototype, "
|
|
86
|
+
Object.defineProperty(IconView.prototype, "j", {
|
|
90
87
|
get: function () {
|
|
91
88
|
return true;
|
|
92
89
|
},
|
|
93
90
|
enumerable: false,
|
|
94
91
|
configurable: true
|
|
95
92
|
});
|
|
96
|
-
IconView.prototype.
|
|
93
|
+
IconView.prototype.ae = function (a) {
|
|
97
94
|
var e_1, _a;
|
|
98
95
|
if (a == null) {
|
|
99
96
|
try {
|
|
100
|
-
for (var _b = __values(fromEnum(this.
|
|
97
|
+
for (var _b = __values(fromEnum(this.l)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
101
98
|
var b = _c.value;
|
|
102
99
|
b();
|
|
103
100
|
}
|
|
@@ -115,114 +112,109 @@ var IconView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
115
112
|
throw e_1.error;
|
|
116
113
|
}
|
|
117
114
|
}
|
|
118
|
-
this.
|
|
119
|
-
if (this.w != null) {
|
|
120
|
-
this.w.unlistenAll();
|
|
121
|
-
}
|
|
115
|
+
this.l.clear();
|
|
122
116
|
if (this.v != null) {
|
|
123
117
|
this.v.unlistenAll();
|
|
124
118
|
}
|
|
119
|
+
if (this.u != null) {
|
|
120
|
+
this.u.unlistenAll();
|
|
121
|
+
}
|
|
125
122
|
}
|
|
126
|
-
this.
|
|
123
|
+
this.s = a;
|
|
127
124
|
a.rootWrapper.setStyleProperty("position", "relative");
|
|
128
|
-
this.
|
|
129
|
-
this.
|
|
130
|
-
this.
|
|
131
|
-
this.
|
|
132
|
-
this.
|
|
133
|
-
this.
|
|
134
|
-
var c = this.
|
|
125
|
+
this.s.rootWrapper.setStyleProperty("display", "flex");
|
|
126
|
+
this.s.rootWrapper.setStyleProperty("flex-direction", "row");
|
|
127
|
+
this.s.rootWrapper.setStyleProperty("flex-wrap", "no-wrap");
|
|
128
|
+
this.s.rootWrapper.setStyleProperty("align-items", "center");
|
|
129
|
+
this.s.rootWrapper.setStyleProperty("justify-content", "center");
|
|
130
|
+
this.am();
|
|
131
|
+
var c = this.s.createElementNS("svg", "http://www.w3.org/2000/svg");
|
|
135
132
|
c.setStyleProperty("position", "absolute");
|
|
136
133
|
c.setStyleProperty("top", "0");
|
|
137
134
|
c.setStyleProperty("left", "0");
|
|
138
135
|
c.setStyleProperty("right", "0");
|
|
139
136
|
c.setStyleProperty("bottom", "0");
|
|
140
|
-
this.
|
|
141
|
-
var d = this.
|
|
137
|
+
this.v = c;
|
|
138
|
+
var d = this.s.createElement("img");
|
|
142
139
|
d.setStyleProperty("height", "100%");
|
|
143
140
|
d.setStyleProperty("width", "100%");
|
|
144
141
|
d.setStyleProperty("object-fit", "contain");
|
|
145
|
-
this.
|
|
146
|
-
this.
|
|
147
|
-
this.
|
|
148
|
-
this.
|
|
149
|
-
this.
|
|
150
|
-
this.
|
|
151
|
-
this.
|
|
142
|
+
this.u = d;
|
|
143
|
+
this.ar();
|
|
144
|
+
this.t = a.createElementNS("defs", "http://www.w3.org/2000/svg");
|
|
145
|
+
this.v.append(this.t);
|
|
146
|
+
this.s.append(this.v);
|
|
147
|
+
this.l.add(c.listen("click", runOn(this, this.ad)));
|
|
148
|
+
this.c.cc();
|
|
152
149
|
};
|
|
153
|
-
IconView.prototype.
|
|
154
|
-
this.
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
this.
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
this.
|
|
165
|
-
this.
|
|
166
|
-
this.n.add(b);
|
|
150
|
+
IconView.prototype.ao = function (a) {
|
|
151
|
+
this.k.clear();
|
|
152
|
+
this.s.rootWrapper.removeChildren();
|
|
153
|
+
this.s.rootWrapper.append(this.v);
|
|
154
|
+
this.v.removeChildren();
|
|
155
|
+
this.t.removeChildren();
|
|
156
|
+
this.m.clear();
|
|
157
|
+
if (a != null) {
|
|
158
|
+
var b = this.s.createElementNS("path", "http://www.w3.org/2000/svg");
|
|
159
|
+
b.setAttribute("d", a);
|
|
160
|
+
this.v.append(this.t);
|
|
161
|
+
this.v.append(b);
|
|
162
|
+
this.m.add(b);
|
|
167
163
|
}
|
|
168
164
|
};
|
|
169
|
-
IconView.prototype.
|
|
170
|
-
this.
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
this.
|
|
178
|
-
|
|
179
|
-
this.
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
this.w.append(c);
|
|
184
|
-
this.n.add(c);
|
|
185
|
-
}
|
|
165
|
+
IconView.prototype.ap = function (a) {
|
|
166
|
+
this.k.clear();
|
|
167
|
+
this.s.rootWrapper.removeChildren();
|
|
168
|
+
this.s.rootWrapper.append(this.v);
|
|
169
|
+
this.v.removeChildren();
|
|
170
|
+
this.t.removeChildren();
|
|
171
|
+
this.m.clear();
|
|
172
|
+
if (a != null && a.length > 0) {
|
|
173
|
+
this.v.append(this.t);
|
|
174
|
+
for (var b = 0; b < a.length; b++) {
|
|
175
|
+
var c = this.s.createElementNS("path", "http://www.w3.org/2000/svg");
|
|
176
|
+
c.setAttribute("d", a[b]);
|
|
177
|
+
this.v.append(c);
|
|
178
|
+
this.m.add(c);
|
|
186
179
|
}
|
|
187
180
|
}
|
|
188
181
|
};
|
|
189
|
-
IconView.prototype.
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
this.
|
|
193
|
-
|
|
194
|
-
b.innerHTML = this.aa;
|
|
182
|
+
IconView.prototype.an = function (a) {
|
|
183
|
+
this.s.rootWrapper.removeChildren();
|
|
184
|
+
if (a != null) {
|
|
185
|
+
var b = this.s.rootWrapper.getNativeElement();
|
|
186
|
+
b.innerHTML = a;
|
|
195
187
|
}
|
|
196
188
|
};
|
|
197
|
-
IconView.prototype.
|
|
198
|
-
if (this.
|
|
199
|
-
this.
|
|
200
|
-
this.
|
|
201
|
-
this.
|
|
202
|
-
this.
|
|
189
|
+
IconView.prototype.al = function (a) {
|
|
190
|
+
if (this.y != a) {
|
|
191
|
+
this.y = a;
|
|
192
|
+
this.s.rootWrapper.removeChildren();
|
|
193
|
+
this.s.rootWrapper.append(this.u);
|
|
194
|
+
this.u.setAttribute("src", a);
|
|
203
195
|
}
|
|
204
196
|
};
|
|
205
|
-
IconView.prototype.
|
|
206
|
-
return this.
|
|
197
|
+
IconView.prototype.h = function () {
|
|
198
|
+
return this.c.svgPath != null || this.c.svg != null || this.c.b != null;
|
|
207
199
|
};
|
|
208
|
-
IconView.prototype.
|
|
209
|
-
this.
|
|
210
|
-
this.
|
|
200
|
+
IconView.prototype.am = function () {
|
|
201
|
+
this.s.rootWrapper.setStyleProperty("width", isNaN_(this.c.aq) ? "1.5rem" : this.c.aq + "px");
|
|
202
|
+
this.s.rootWrapper.setStyleProperty("height", isNaN_(this.c.ai) ? "1.5rem" : this.c.ai + "px");
|
|
211
203
|
};
|
|
212
|
-
IconView.prototype.
|
|
213
|
-
var a = isNaN_(this.
|
|
214
|
-
var b = isNaN_(this.
|
|
215
|
-
var c = isNaN_(this.
|
|
216
|
-
var d = isNaN_(this.
|
|
217
|
-
this.
|
|
204
|
+
IconView.prototype.ar = function () {
|
|
205
|
+
var a = isNaN_(this.c.an) ? 0 : this.c.an;
|
|
206
|
+
var b = isNaN_(this.c.ao) ? 0 : this.c.ao;
|
|
207
|
+
var c = isNaN_(this.c.ap) ? 24 : this.c.ap;
|
|
208
|
+
var d = isNaN_(this.c.am) ? 24 : this.c.am;
|
|
209
|
+
this.v.setAttribute("viewBox", a + " " + b + " " + c + " " + d);
|
|
218
210
|
};
|
|
219
|
-
IconView.prototype.
|
|
211
|
+
IconView.prototype.ai = function (a, b) {
|
|
220
212
|
var c = a.color;
|
|
221
|
-
if (!this.
|
|
213
|
+
if (!this.k.containsKey(a)) {
|
|
222
214
|
if (a.isGradient) {
|
|
223
|
-
var d = this.
|
|
215
|
+
var d = this.t.getChildCount();
|
|
224
216
|
var e = a;
|
|
225
|
-
var f = this.
|
|
217
|
+
var f = this.s.createElementNS("linearGradient", "http://www.w3.org/2000/svg");
|
|
226
218
|
var g = "ig_gradient_" + b + "_" + d;
|
|
227
219
|
f.setAttribute("id", g);
|
|
228
220
|
f.setAttribute("x1", e.startX.toString());
|
|
@@ -232,60 +224,60 @@ var IconView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
232
224
|
var j = e.gradientStops;
|
|
233
225
|
for (var i = 0; i < j.length; i++) {
|
|
234
226
|
var h = j[i];
|
|
235
|
-
var k = this.
|
|
227
|
+
var k = this.s.createElementNS("stop", "http://www.w3.org/2000/svg");
|
|
236
228
|
k.setAttribute("offset", h.offset * 100 + "%");
|
|
237
229
|
k.setAttribute("stop-color", h._fill);
|
|
238
230
|
f.append(k);
|
|
239
231
|
}
|
|
240
|
-
this.
|
|
241
|
-
this.
|
|
232
|
+
this.t.append(f);
|
|
233
|
+
this.k.addItem(a, g);
|
|
242
234
|
}
|
|
243
235
|
else if (a.isRadialGradient) {
|
|
244
236
|
}
|
|
245
237
|
}
|
|
246
238
|
};
|
|
247
|
-
IconView.prototype.
|
|
239
|
+
IconView.prototype.aj = function (a, b) {
|
|
248
240
|
var c = a;
|
|
249
|
-
if (this.
|
|
250
|
-
c.setAttribute("fill", "url(#" + this.
|
|
251
|
-
this.
|
|
252
|
-
this.
|
|
241
|
+
if (this.k.containsKey(b)) {
|
|
242
|
+
c.setAttribute("fill", "url(#" + this.k.item(b) + ")");
|
|
243
|
+
this.s.rootWrapper.removeChildren();
|
|
244
|
+
this.s.rootWrapper.append(this.v);
|
|
253
245
|
}
|
|
254
246
|
else {
|
|
255
247
|
NativeUI.r(a, b);
|
|
256
248
|
}
|
|
257
249
|
};
|
|
258
|
-
IconView.prototype.
|
|
250
|
+
IconView.prototype.ak = function (a, b) {
|
|
259
251
|
var c = a;
|
|
260
|
-
if (this.
|
|
261
|
-
c.setAttribute("stroke", "url('#" + this.
|
|
252
|
+
if (this.k.containsKey(b)) {
|
|
253
|
+
c.setAttribute("stroke", "url('#" + this.k.item(b) + "')");
|
|
262
254
|
}
|
|
263
255
|
else {
|
|
264
256
|
NativeUI.aa(a, b);
|
|
265
257
|
}
|
|
266
258
|
};
|
|
267
|
-
IconView.prototype.
|
|
259
|
+
IconView.prototype.z = function (a) {
|
|
268
260
|
};
|
|
269
|
-
IconView.prototype.
|
|
270
|
-
if (this.
|
|
261
|
+
IconView.prototype.ah = function () {
|
|
262
|
+
if (this.i()) {
|
|
271
263
|
}
|
|
272
264
|
};
|
|
273
|
-
IconView.prototype.
|
|
274
|
-
this.
|
|
265
|
+
IconView.prototype.aa = function (a) {
|
|
266
|
+
this.c.b9();
|
|
275
267
|
};
|
|
276
|
-
IconView.prototype.
|
|
277
|
-
this.
|
|
268
|
+
IconView.prototype.ab = function (a) {
|
|
269
|
+
this.c.ca();
|
|
278
270
|
};
|
|
279
|
-
IconView.prototype.
|
|
280
|
-
this.
|
|
281
|
-
this.
|
|
282
|
-
this.
|
|
271
|
+
IconView.prototype.ac = function () {
|
|
272
|
+
this.g = true;
|
|
273
|
+
this.l.add(this.s.rootWrapper.listen("mouseenter", runOn(this, this.aa)));
|
|
274
|
+
this.l.add(this.s.rootWrapper.listen("mouseleave", runOn(this, this.ab)));
|
|
283
275
|
};
|
|
284
|
-
IconView.prototype.
|
|
276
|
+
IconView.prototype.af = function () {
|
|
285
277
|
var e_2, _a;
|
|
286
|
-
this.
|
|
278
|
+
this.g = false;
|
|
287
279
|
try {
|
|
288
|
-
for (var _b = __values(fromEnum(this.
|
|
280
|
+
for (var _b = __values(fromEnum(this.l)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
289
281
|
var a = _c.value;
|
|
290
282
|
a();
|
|
291
283
|
}
|
|
@@ -303,15 +295,15 @@ var IconView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
303
295
|
throw e_2.error;
|
|
304
296
|
}
|
|
305
297
|
}
|
|
306
|
-
this.
|
|
298
|
+
this.l.clear();
|
|
307
299
|
};
|
|
308
|
-
IconView.prototype.
|
|
300
|
+
IconView.prototype.aq = function (a) {
|
|
309
301
|
if (a != null) {
|
|
310
|
-
this.
|
|
302
|
+
this.s.rootWrapper.setStyleProperty("font", a.fontString);
|
|
311
303
|
}
|
|
312
304
|
};
|
|
313
|
-
IconView.prototype.
|
|
314
|
-
var rect_ = this.
|
|
305
|
+
IconView.prototype.a = function () {
|
|
306
|
+
var rect_ = this.s.rootWrapper.getNativeElement().getBoundingClientRect();
|
|
315
307
|
var a = (rect_.top);
|
|
316
308
|
var b = (rect_.left);
|
|
317
309
|
var c = new Array(2);
|
|
@@ -319,8 +311,8 @@ var IconView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
319
311
|
c[1] = b;
|
|
320
312
|
return c;
|
|
321
313
|
};
|
|
322
|
-
IconView.prototype.
|
|
323
|
-
this.
|
|
314
|
+
IconView.prototype.ad = function (a) {
|
|
315
|
+
this.c.b7();
|
|
324
316
|
};
|
|
325
317
|
IconView.$t = markType(IconView, 'IconView');
|
|
326
318
|
return IconView;
|
|
@@ -374,9 +366,9 @@ var XIcon = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
374
366
|
_this.clicked = null;
|
|
375
367
|
_this.propertyChanged = null;
|
|
376
368
|
var a = new IconView();
|
|
377
|
-
a.
|
|
369
|
+
a.c = _this;
|
|
378
370
|
_this.view = a;
|
|
379
|
-
_this.view.
|
|
371
|
+
_this.view.ag();
|
|
380
372
|
return _this;
|
|
381
373
|
}
|
|
382
374
|
Object.defineProperty(XIcon.prototype, "view", {
|
|
@@ -414,10 +406,27 @@ var XIcon = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
414
406
|
case "ActualFill":
|
|
415
407
|
case "ActualStroke":
|
|
416
408
|
case "ActualStrokeWidth":
|
|
409
|
+
this.cg();
|
|
410
|
+
break;
|
|
411
|
+
case "SVG":
|
|
412
|
+
this.az = null;
|
|
413
|
+
this.a = null;
|
|
414
|
+
this.cg();
|
|
415
|
+
break;
|
|
417
416
|
case "SVGPath":
|
|
417
|
+
this.ay = null;
|
|
418
|
+
this.a = null;
|
|
419
|
+
this.cg();
|
|
420
|
+
break;
|
|
418
421
|
case "SVGPaths":
|
|
419
|
-
|
|
422
|
+
this.ay = null;
|
|
423
|
+
this.az = null;
|
|
424
|
+
this.cg();
|
|
425
|
+
break;
|
|
420
426
|
case "DataURL":
|
|
427
|
+
this.ay = null;
|
|
428
|
+
this.az = null;
|
|
429
|
+
this.a = null;
|
|
421
430
|
this.cg();
|
|
422
431
|
break;
|
|
423
432
|
case "Opacity":
|
|
@@ -427,11 +436,11 @@ var XIcon = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
427
436
|
case "ViewBoxTop":
|
|
428
437
|
case "ViewBoxWidth":
|
|
429
438
|
case "ViewBoxHeight":
|
|
430
|
-
this.view.
|
|
439
|
+
this.view.ar();
|
|
431
440
|
break;
|
|
432
441
|
case "Width":
|
|
433
442
|
case "Height":
|
|
434
|
-
this.view.
|
|
443
|
+
this.view.am();
|
|
435
444
|
break;
|
|
436
445
|
}
|
|
437
446
|
};
|
|
@@ -455,18 +464,18 @@ var XIcon = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
455
464
|
};
|
|
456
465
|
Object.defineProperty(XIcon.prototype, "r", {
|
|
457
466
|
get: function () {
|
|
458
|
-
return this.svgPath != null && !this.view.
|
|
467
|
+
return this.svgPath != null && !this.view.j;
|
|
459
468
|
},
|
|
460
469
|
enumerable: false,
|
|
461
470
|
configurable: true
|
|
462
471
|
});
|
|
463
472
|
XIcon.prototype.ch = function () {
|
|
464
|
-
NativeUI.y(this.view.
|
|
473
|
+
NativeUI.y(this.view.w, this.ak);
|
|
465
474
|
};
|
|
466
475
|
XIcon.prototype.cg = function () {
|
|
467
|
-
var a = this.view.
|
|
476
|
+
var a = this.view.w;
|
|
468
477
|
if (this.r) {
|
|
469
|
-
var b = this.view.
|
|
478
|
+
var b = this.view.x;
|
|
470
479
|
NativeUI.r(b, this.cw);
|
|
471
480
|
NativeUI.aa(b, this.cx);
|
|
472
481
|
NativeUI.ad(b, this.af);
|
|
@@ -475,22 +484,22 @@ var XIcon = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
475
484
|
var c = false;
|
|
476
485
|
if (this.svgPath != null) {
|
|
477
486
|
if (stringStartsWith(trimStart(this.svgPath, ' ', '\n', '\r', '\t'), "<svg")) {
|
|
478
|
-
this.view.
|
|
487
|
+
this.view.an(this.svgPath);
|
|
479
488
|
c = true;
|
|
480
489
|
}
|
|
481
490
|
else {
|
|
482
|
-
this.view.
|
|
491
|
+
this.view.ao(this.svgPath);
|
|
483
492
|
}
|
|
484
493
|
}
|
|
485
494
|
else if (this.b != null) {
|
|
486
|
-
this.view.
|
|
487
|
-
var d = this.view.
|
|
495
|
+
this.view.ap(this.b);
|
|
496
|
+
var d = this.view.b;
|
|
488
497
|
if (d != null && d.length > 0) {
|
|
489
498
|
var e = NativeUI.r;
|
|
490
499
|
var f = NativeUI.aa;
|
|
491
500
|
this.cd();
|
|
492
|
-
e = runOn(this.view, this.view.
|
|
493
|
-
f = runOn(this.view, this.view.
|
|
501
|
+
e = runOn(this.view, this.view.aj);
|
|
502
|
+
f = runOn(this.view, this.view.ak);
|
|
494
503
|
for (var g = 0; g < d.length; g++) {
|
|
495
504
|
if (this.cw != null) {
|
|
496
505
|
e(d[g], this.cw);
|
|
@@ -513,63 +522,63 @@ var XIcon = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
513
522
|
}
|
|
514
523
|
}
|
|
515
524
|
if (this.m != null) {
|
|
516
|
-
this.view.
|
|
525
|
+
this.view.aq(this.m);
|
|
517
526
|
}
|
|
518
527
|
return;
|
|
519
528
|
}
|
|
520
529
|
else if (this.svg != null) {
|
|
521
|
-
this.view.
|
|
530
|
+
this.view.an(this.svg);
|
|
522
531
|
c = true;
|
|
523
532
|
}
|
|
524
533
|
else if (this.a7 != null) {
|
|
525
|
-
this.view.
|
|
534
|
+
this.view.al(this.a7);
|
|
526
535
|
}
|
|
527
536
|
if (c) {
|
|
528
|
-
for (var h = 0; h < this.view.
|
|
529
|
-
var i = this.view.
|
|
530
|
-
NativeUI.r(this.view.
|
|
537
|
+
for (var h = 0; h < this.view.o.count; h++) {
|
|
538
|
+
var i = this.view.o._inner[h].c;
|
|
539
|
+
NativeUI.r(this.view.o._inner[h].d, i.l.f(this.c8));
|
|
531
540
|
}
|
|
532
|
-
for (var j = 0; j < this.view.
|
|
533
|
-
var k = this.view.
|
|
534
|
-
NativeUI.aa(this.view.
|
|
541
|
+
for (var j = 0; j < this.view.p.count; j++) {
|
|
542
|
+
var k = this.view.p._inner[j].c;
|
|
543
|
+
NativeUI.aa(this.view.p._inner[j].d, k.m.f(this.c9));
|
|
535
544
|
}
|
|
536
|
-
for (var l = 0; l < this.view.
|
|
537
|
-
var m = this.view.
|
|
538
|
-
NativeUI.r(this.view.
|
|
545
|
+
for (var l = 0; l < this.view.q.count; l++) {
|
|
546
|
+
var m = this.view.q._inner[l].c;
|
|
547
|
+
NativeUI.r(this.view.q._inner[l].d, m.l.f(this.da));
|
|
539
548
|
}
|
|
540
|
-
for (var n = 0; n < this.view.
|
|
541
|
-
var o = this.view.
|
|
542
|
-
NativeUI.aa(this.view.
|
|
549
|
+
for (var n = 0; n < this.view.r.count; n++) {
|
|
550
|
+
var o = this.view.r._inner[n].c;
|
|
551
|
+
NativeUI.aa(this.view.r._inner[n].d, o.m.f(this.db));
|
|
543
552
|
}
|
|
544
|
-
for (var p = 0; p < this.view.
|
|
545
|
-
var q = this.view.
|
|
553
|
+
for (var p = 0; p < this.view.d.o.count; p++) {
|
|
554
|
+
var q = this.view.d.o._inner[p];
|
|
546
555
|
var r = q.split('-');
|
|
547
556
|
var s = parseInt(r[r.length - 1]);
|
|
548
557
|
if (s < this.e.count) {
|
|
549
|
-
for (var t = 0; t < this.view.
|
|
550
|
-
var u = this.view.
|
|
551
|
-
NativeUI.r(this.view.
|
|
558
|
+
for (var t = 0; t < this.view.d.q._inner[p].count; t++) {
|
|
559
|
+
var u = this.view.d.q._inner[p]._inner[t].c;
|
|
560
|
+
NativeUI.r(this.view.d.q._inner[p]._inner[t].d, u.l.f(this.e.item(s)));
|
|
552
561
|
}
|
|
553
562
|
}
|
|
554
563
|
}
|
|
555
|
-
for (var v = 0; v < this.view.
|
|
556
|
-
var w = this.view.
|
|
564
|
+
for (var v = 0; v < this.view.e.o.count; v++) {
|
|
565
|
+
var w = this.view.e.o._inner[v];
|
|
557
566
|
var x = w.split('-');
|
|
558
567
|
var y = parseInt(x[x.length - 1]);
|
|
559
568
|
if (y < this.f.count) {
|
|
560
|
-
for (var z = 0; z < this.view.
|
|
561
|
-
var aa = this.view.
|
|
562
|
-
NativeUI.aa(this.view.
|
|
569
|
+
for (var z = 0; z < this.view.e.q._inner[v].count; z++) {
|
|
570
|
+
var aa = this.view.e.q._inner[v]._inner[z].c;
|
|
571
|
+
NativeUI.aa(this.view.e.q._inner[v]._inner[z].d, aa.m.f(this.f.item(y)));
|
|
563
572
|
}
|
|
564
573
|
}
|
|
565
574
|
}
|
|
566
|
-
for (var ab = 0; ab < this.view.
|
|
567
|
-
var ac = this.view.
|
|
568
|
-
NativeUI.r(this.view.
|
|
569
|
-
NativeUI.aa(this.view.
|
|
575
|
+
for (var ab = 0; ab < this.view.n.count; ab++) {
|
|
576
|
+
var ac = this.view.n._inner[ab].c;
|
|
577
|
+
NativeUI.r(this.view.n._inner[ab].d, ac.l.f(this.cw));
|
|
578
|
+
NativeUI.aa(this.view.n._inner[ab].d, ac.m.f(this.cx));
|
|
570
579
|
}
|
|
571
580
|
}
|
|
572
|
-
var ad = this.view.
|
|
581
|
+
var ad = this.view.w;
|
|
573
582
|
if (this.cw != null) {
|
|
574
583
|
NativeUI.r(ad, this.cw);
|
|
575
584
|
}
|
|
@@ -581,25 +590,25 @@ var XIcon = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
581
590
|
}
|
|
582
591
|
}
|
|
583
592
|
if (this.m != null) {
|
|
584
|
-
this.view.
|
|
593
|
+
this.view.aq(this.m);
|
|
585
594
|
}
|
|
586
595
|
if (this.cy != null) {
|
|
587
|
-
NativeUI.q(this.view.
|
|
596
|
+
NativeUI.q(this.view.w, this.cy);
|
|
588
597
|
}
|
|
589
598
|
};
|
|
590
599
|
XIcon.prototype.cd = function () {
|
|
591
600
|
var e_3, _a, e_4, _b;
|
|
592
601
|
if (this.cw != null) {
|
|
593
|
-
this.view.
|
|
602
|
+
this.view.ai(this.cw, "fill");
|
|
594
603
|
}
|
|
595
604
|
if (this.cx != null) {
|
|
596
|
-
this.view.
|
|
605
|
+
this.view.ai(this.cx, "stroke");
|
|
597
606
|
}
|
|
598
607
|
if (this.e != null) {
|
|
599
608
|
try {
|
|
600
609
|
for (var _c = __values(fromEnum(this.e)), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
601
610
|
var a = _d.value;
|
|
602
|
-
this.view.
|
|
611
|
+
this.view.ai(a, "fills");
|
|
603
612
|
}
|
|
604
613
|
}
|
|
605
614
|
catch (e_3_1) {
|
|
@@ -620,7 +629,7 @@ var XIcon = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
620
629
|
try {
|
|
621
630
|
for (var _e = __values(fromEnum(this.f)), _f = _e.next(); !_f.done; _f = _e.next()) {
|
|
622
631
|
var b = _f.value;
|
|
623
|
-
this.view.
|
|
632
|
+
this.view.ai(b, "strokes");
|
|
624
633
|
}
|
|
625
634
|
}
|
|
626
635
|
catch (e_4_1) {
|
|
@@ -1159,10 +1168,10 @@ var XIcon = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1159
1168
|
XIcon.prototype.cc = function () {
|
|
1160
1169
|
};
|
|
1161
1170
|
XIcon.prototype.onDetachedFromUI = function () {
|
|
1162
|
-
this.view.
|
|
1171
|
+
this.view.af();
|
|
1163
1172
|
};
|
|
1164
1173
|
XIcon.prototype.onAttachedToUI = function () {
|
|
1165
|
-
this.view.
|
|
1174
|
+
this.view.ac();
|
|
1166
1175
|
};
|
|
1167
1176
|
XIcon.prototype.b7 = function () {
|
|
1168
1177
|
if (this.disabled) {
|
|
@@ -1173,7 +1182,7 @@ var XIcon = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1173
1182
|
}
|
|
1174
1183
|
};
|
|
1175
1184
|
XIcon.prototype.u = function () {
|
|
1176
|
-
return this.view.
|
|
1185
|
+
return this.view.i();
|
|
1177
1186
|
};
|
|
1178
1187
|
XIcon.prototype.au = function () {
|
|
1179
1188
|
return this.g();
|
|
@@ -1184,12 +1193,12 @@ var XIcon = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1184
1193
|
};
|
|
1185
1194
|
XIcon.prototype.g = function () {
|
|
1186
1195
|
var a = new IconVisualModelExport();
|
|
1187
|
-
var b = this.view.
|
|
1196
|
+
var b = this.view.w;
|
|
1188
1197
|
a.a = AppearanceHelper.a(NativeUI.al(b));
|
|
1189
1198
|
a.c = AppearanceHelper.a(NativeUI.al(b));
|
|
1190
1199
|
a.b = AppearanceHelper.a(NativeUI.am(b));
|
|
1191
1200
|
a.d = this.af;
|
|
1192
|
-
var c = this.view.
|
|
1201
|
+
var c = this.view.a();
|
|
1193
1202
|
a.h = c[0];
|
|
1194
1203
|
a.f = c[1];
|
|
1195
1204
|
a.e = NativeUI.d(b);
|
|
@@ -1199,7 +1208,7 @@ var XIcon = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1199
1208
|
if (this.m != null) {
|
|
1200
1209
|
var d = this.m;
|
|
1201
1210
|
if (this.view != null && d.q == null) {
|
|
1202
|
-
var e = this.view.
|
|
1211
|
+
var e = this.view.s;
|
|
1203
1212
|
var f = FontUtil.getFontInfoFromString(e, d.fontString);
|
|
1204
1213
|
d.q = f.q;
|
|
1205
1214
|
d.f = f.f;
|
|
@@ -1227,7 +1236,7 @@ var XIcon = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1227
1236
|
return a;
|
|
1228
1237
|
};
|
|
1229
1238
|
XIcon.prototype.provideContainer = function (a) {
|
|
1230
|
-
this.view.
|
|
1239
|
+
this.view.ae(a);
|
|
1231
1240
|
};
|
|
1232
1241
|
XIcon.$t = markType(XIcon, 'XIcon', Base.$, [INotifyPropertyChanged_$type, IIcon_$type]);
|
|
1233
1242
|
XIcon.cz = null;
|