igniteui-angular-inputs 17.3.1-alpha.0 → 18.1.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.
Files changed (67) hide show
  1. package/bundles/igniteui-angular-inputs.umd.js +971 -753
  2. package/bundles/igniteui-angular-inputs.umd.min.js +1 -1
  3. package/esm2015/lib/ButtonGroupVisualModelExport.js +1 -1
  4. package/esm2015/lib/ButtonView_combined.js +28 -33
  5. package/esm2015/lib/ButtonVisualModelExport.js +14 -13
  6. package/esm2015/lib/CalendarView_combined.js +2 -0
  7. package/esm2015/lib/CalendarVisualModelExport.js +1 -1
  8. package/esm2015/lib/CheckboxView_combined.js +2 -2
  9. package/esm2015/lib/DatePickerView_combined.js +325 -322
  10. package/esm2015/lib/IconView_combined.js +310 -201
  11. package/esm2015/lib/IconVisualModelExport.js +46 -33
  12. package/esm2015/lib/NativeUIXInputsFactory.js +9 -9
  13. package/esm2015/lib/TextBlockVisualModelExport.js +64 -0
  14. package/esm2015/lib/XButtonBridge.js +11 -4
  15. package/esm2015/lib/XCheckboxBridge.js +19 -0
  16. package/esm2015/lib/{DatePicker.js → XDatePicker.js} +1 -1
  17. package/esm2015/lib/XIconBridge.js +6 -0
  18. package/esm2015/lib/XIconButtonBridge.js +1 -1
  19. package/esm2015/lib/XInputBridge.js +3 -0
  20. package/esm2015/lib/XPopupBridge.js +11 -8
  21. package/esm2015/lib/{igx-date-picker-component.js → igx-x-date-picker-component.js} +40 -40
  22. package/esm2015/lib/{igx-date-picker-dynamic-module.js → igx-x-date-picker-dynamic-module.js} +20 -20
  23. package/esm2015/lib/{igx-date-picker-module.js → igx-x-date-picker-module.js} +14 -14
  24. package/esm2015/public_api.js +5 -4
  25. package/esm5/lib/ButtonGroupVisualModelExport.js +1 -1
  26. package/esm5/lib/ButtonView_combined.js +33 -38
  27. package/esm5/lib/ButtonVisualModelExport.js +14 -13
  28. package/esm5/lib/CalendarView_combined.js +2 -0
  29. package/esm5/lib/CalendarVisualModelExport.js +1 -1
  30. package/esm5/lib/CheckboxView_combined.js +2 -2
  31. package/esm5/lib/DatePickerView_combined.js +336 -333
  32. package/esm5/lib/IconView_combined.js +308 -199
  33. package/esm5/lib/IconVisualModelExport.js +50 -33
  34. package/esm5/lib/NativeUIXInputsFactory.js +9 -9
  35. package/esm5/lib/TextBlockVisualModelExport.js +66 -0
  36. package/esm5/lib/XButtonBridge.js +11 -4
  37. package/esm5/lib/XCheckboxBridge.js +19 -0
  38. package/esm5/lib/{DatePicker.js → XDatePicker.js} +1 -1
  39. package/esm5/lib/XIconBridge.js +6 -0
  40. package/esm5/lib/XIconButtonBridge.js +1 -1
  41. package/esm5/lib/XInputBridge.js +3 -0
  42. package/esm5/lib/XPopupBridge.js +11 -8
  43. package/esm5/lib/{igx-date-picker-component.js → igx-x-date-picker-component.js} +87 -87
  44. package/esm5/lib/{igx-date-picker-dynamic-module.js → igx-x-date-picker-dynamic-module.js} +21 -21
  45. package/esm5/lib/{igx-date-picker-module.js → igx-x-date-picker-module.js} +15 -15
  46. package/esm5/public_api.js +5 -4
  47. package/fesm2015/igniteui-angular-inputs.js +906 -693
  48. package/fesm5/igniteui-angular-inputs.js +968 -751
  49. package/lib/ButtonVisualModelExport.d.ts +6 -5
  50. package/lib/DatePickerView_combined.d.ts +75 -74
  51. package/lib/IconView_combined.d.ts +35 -32
  52. package/lib/IconVisualModelExport.d.ts +17 -12
  53. package/lib/TextBlockVisualModelExport.d.ts +21 -0
  54. package/lib/XButtonBridge.d.ts +1 -0
  55. package/lib/XCheckboxBridge.d.ts +1 -0
  56. package/lib/XDatePicker.d.ts +1 -0
  57. package/lib/XIconBridge.d.ts +1 -0
  58. package/lib/XInputBridge.d.ts +1 -0
  59. package/lib/XPopupBridge.d.ts +1 -0
  60. package/lib/{igx-date-picker-component.d.ts → igx-x-date-picker-component.d.ts} +6 -6
  61. package/lib/igx-x-date-picker-dynamic-module.d.ts +13 -0
  62. package/lib/igx-x-date-picker-module.d.ts +13 -0
  63. package/package.json +5 -5
  64. package/public_api.d.ts +5 -4
  65. package/lib/DatePicker.d.ts +0 -1
  66. package/lib/igx-date-picker-dynamic-module.d.ts +0 -13
  67. package/lib/igx-date-picker-module.d.ts +0 -13
@@ -4,7 +4,7 @@ https://www.infragistics.com/legal/license/igultimate-la
4
4
  https://www.infragistics.com/legal/license/igultimate-eula
5
5
  GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
6
6
  */
7
- import { Base, String_$type, Delegate_$type, fromEnum, runOn, markType, INotifyPropertyChanged_$type, PropertyChangedEventArgs, enumGetBox } from "igniteui-angular-core";
7
+ import { Base, String_$type, Delegate_$type, fromEnum, runOn, typeCast, markType, INotifyPropertyChanged_$type, PropertyChangedEventArgs, enumGetBox } from "igniteui-angular-core";
8
8
  import { DomWrapper_$type } from "igniteui-angular-core";
9
9
  import { List$1 } from "igniteui-angular-core";
10
10
  import { Tuple$2 } from "igniteui-angular-core";
@@ -13,12 +13,21 @@ import { FastIterationDictionary$2 } from "igniteui-angular-core";
13
13
  import { Dictionary$2 } from "igniteui-angular-core";
14
14
  import { Brush } from "igniteui-angular-core";
15
15
  import { NativeUI } from "igniteui-angular-core";
16
+ import { PrimitiveVisualData } from "igniteui-angular-core";
17
+ import { Path } from "igniteui-angular-core";
18
+ import { Line } from "igniteui-angular-core";
19
+ import { Rectangle } from "igniteui-angular-core";
20
+ import { Ellipse } from "igniteui-angular-core";
21
+ import { PathVisualData } from "igniteui-angular-core";
22
+ import { LineVisualData } from "igniteui-angular-core";
23
+ import { RectangleVisualData } from "igniteui-angular-core";
24
+ import { EllipseVisualData } from "igniteui-angular-core";
25
+ import { DoubleCollection } from "igniteui-angular-core";
16
26
  import { isNaN_ } from "igniteui-angular-core";
17
27
  import { IIcon_$type } from "igniteui-angular-core";
18
28
  import { BaseControlTheme_$type } from "igniteui-angular-core";
19
29
  import { IconClickedEventArgs } from "./IconClickedEventArgs";
20
30
  import { IconVisualModelExport } from "./IconVisualModelExport";
21
- import { AppearanceHelper } from "igniteui-angular-core";
22
31
  import { FontUtil } from "igniteui-angular-core";
23
32
  import { stringStartsWith } from "igniteui-angular-core";
24
33
  import { trimStart } from "igniteui-angular-core";
@@ -30,164 +39,156 @@ export let IconView = /*@__PURE__*/ (() => {
30
39
  constructor() {
31
40
  super();
32
41
  this.d = null;
33
- this.t = null;
42
+ this.v = null;
34
43
  this.g = null;
35
- this.m = new List$1(Delegate_$type, 0);
36
- this.o = null;
37
- this.p = null;
44
+ this.o = new List$1(Delegate_$type, 0);
38
45
  this.q = null;
39
46
  this.r = null;
40
47
  this.s = null;
48
+ this.t = null;
49
+ this.u = null;
41
50
  this.e = null;
42
51
  this.f = null;
43
52
  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;
53
+ this.n = new Dictionary$2(Brush.$, String_$type, 0);
54
+ this.j = true;
55
+ this.y = null;
56
+ this.x = null;
49
57
  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);
58
+ this.p = new List$1(DomWrapper_$type, 0);
55
59
  this.q = new List$1(Tuple$2.$.specialize(SVGNode.$, Base.$), 0);
56
60
  this.r = new List$1(Tuple$2.$.specialize(SVGNode.$, Base.$), 0);
57
61
  this.s = new List$1(Tuple$2.$.specialize(SVGNode.$, Base.$), 0);
62
+ this.t = new List$1(Tuple$2.$.specialize(SVGNode.$, Base.$), 0);
63
+ this.u = new List$1(Tuple$2.$.specialize(SVGNode.$, Base.$), 0);
58
64
  this.e = new FastIterationDictionary$2(String_$type, List$1.$.specialize(Tuple$2.$.specialize(SVGNode.$, Base.$)), 0);
59
65
  this.f = new FastIterationDictionary$2(String_$type, List$1.$.specialize(Tuple$2.$.specialize(SVGNode.$, Base.$)), 0);
60
66
  }
61
- aj() {
67
+ ak() {
62
68
  }
63
- j() {
69
+ l() {
64
70
  return true;
65
71
  }
66
- get x() {
67
- return this.w;
72
+ get z() {
73
+ return this.y;
68
74
  }
69
- get y() {
75
+ get aa() {
70
76
  return null;
71
77
  }
72
78
  get c() {
73
- return this.n.toArray();
79
+ return this.p.toArray();
74
80
  }
75
- get k() {
81
+ get m() {
76
82
  return true;
77
83
  }
78
- ah(a) {
84
+ ai(a) {
79
85
  if (a == null) {
80
- for (let b of fromEnum(this.m)) {
86
+ for (let b of fromEnum(this.o)) {
81
87
  b();
82
88
  }
83
- this.m.clear();
84
- if (this.w != null) {
85
- this.w.unlistenAll();
89
+ this.o.clear();
90
+ if (this.y != null) {
91
+ this.y.unlistenAll();
86
92
  }
87
- if (this.v != null) {
88
- this.v.unlistenAll();
93
+ if (this.x != null) {
94
+ this.x.unlistenAll();
89
95
  }
90
96
  }
91
- this.t = a;
97
+ this.v = a;
92
98
  a.rootWrapper.setStyleProperty("position", "relative");
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");
99
+ this.v.rootWrapper.setStyleProperty("display", "flex");
100
+ this.v.rootWrapper.setStyleProperty("flex-direction", "row");
101
+ this.v.rootWrapper.setStyleProperty("flex-wrap", "no-wrap");
102
+ this.v.rootWrapper.setStyleProperty("align-items", "center");
103
+ this.v.rootWrapper.setStyleProperty("justify-content", "center");
104
+ this.ar();
105
+ let c = this.v.createElementNS("svg", "http://www.w3.org/2000/svg");
100
106
  c.setStyleProperty("position", "absolute");
101
107
  c.setStyleProperty("top", "0");
102
108
  c.setStyleProperty("left", "0");
103
109
  c.setStyleProperty("right", "0");
104
110
  c.setStyleProperty("bottom", "0");
105
- this.w = c;
106
- let d = this.t.createElement("img");
111
+ this.y = c;
112
+ let d = this.v.createElement("img");
107
113
  d.setStyleProperty("height", "100%");
108
114
  d.setStyleProperty("width", "100%");
109
115
  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.x = d;
117
+ this.aw();
118
+ this.w = a.createElementNS("defs", "http://www.w3.org/2000/svg");
119
+ this.y.append(this.w);
120
+ this.v.append(this.y);
121
+ this.o.add(c.listen("click", runOn(this, this.ah)));
116
122
  this.d.cc();
117
123
  }
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
- }
124
+ at(a) {
125
+ this.n.clear();
126
+ this.v.rootWrapper.removeChildren();
127
+ this.v.rootWrapper.append(this.y);
128
+ this.y.removeChildren();
129
+ this.w.removeChildren();
130
+ this.p.clear();
131
+ if (a != null) {
132
+ let b = this.v.createElementNS("path", "http://www.w3.org/2000/svg");
133
+ b.setAttribute("d", a);
134
+ this.y.append(this.w);
135
+ this.y.append(b);
136
+ this.p.add(b);
137
+ }
138
+ }
139
+ au(a) {
140
+ this.n.clear();
141
+ this.v.rootWrapper.removeChildren();
142
+ this.v.rootWrapper.append(this.y);
143
+ this.y.removeChildren();
144
+ this.w.removeChildren();
145
+ this.p.clear();
146
+ if (a != null && a.length > 0) {
147
+ this.y.append(this.w);
148
+ for (let b = 0; b < a.length; b++) {
149
+ let c = this.v.createElementNS("path", "http://www.w3.org/2000/svg");
150
+ c.setAttribute("d", a[b]);
151
+ this.y.append(c);
152
+ this.p.add(c);
151
153
  }
152
154
  }
153
155
  }
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;
156
+ as(a) {
157
+ this.v.rootWrapper.removeChildren();
158
+ if (a != null) {
159
+ let b = this.v.rootWrapper.getNativeElement();
160
+ b.innerHTML = a;
160
161
  }
161
162
  }
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);
163
+ ap(a) {
164
+ if (this.ab != a) {
165
+ this.ab = a;
166
+ this.v.rootWrapper.removeChildren();
167
+ this.v.rootWrapper.append(this.x);
168
+ this.x.setAttribute("src", a);
168
169
  }
169
170
  }
170
- i() {
171
+ k() {
171
172
  return this.d.svgPath != null || this.d.svg != null || this.d.b != null;
172
173
  }
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");
174
+ ar() {
175
+ this.v.rootWrapper.setStyleProperty("width", isNaN_(this.d.aq) ? "1.5rem" : this.d.aq + "px");
176
+ this.v.rootWrapper.setStyleProperty("height", isNaN_(this.d.ai) ? "1.5rem" : this.d.ai + "px");
176
177
  }
177
- au() {
178
+ aw() {
178
179
  let a = isNaN_(this.d.an) ? 0 : this.d.an;
179
180
  let b = isNaN_(this.d.ao) ? 0 : this.d.ao;
180
181
  let c = isNaN_(this.d.ap) ? 24 : this.d.ap;
181
182
  let d = isNaN_(this.d.am) ? 24 : this.d.am;
182
- this.w.setAttribute("viewBox", a + " " + b + " " + c + " " + d);
183
+ this.y.setAttribute("viewBox", a + " " + b + " " + c + " " + d);
183
184
  }
184
- al(a, b) {
185
+ am(a, b) {
185
186
  let c = a.color;
186
- if (!this.l.containsKey(a)) {
187
+ if (!this.n.containsKey(a)) {
187
188
  if (a.isGradient) {
188
- let d = this.u.getChildCount();
189
+ let d = this.w.getChildCount();
189
190
  let e = a;
190
- let f = this.t.createElementNS("linearGradient", "http://www.w3.org/2000/svg");
191
+ let f = this.v.createElementNS("linearGradient", "http://www.w3.org/2000/svg");
191
192
  let g = "ig_gradient_" + b + "_" + d;
192
193
  f.setAttribute("id", g);
193
194
  f.setAttribute("x1", e.startX.toString());
@@ -197,33 +198,33 @@ export let IconView = /*@__PURE__*/ (() => {
197
198
  let j = e.gradientStops;
198
199
  for (let i = 0; i < j.length; i++) {
199
200
  let h = j[i];
200
- let k = this.t.createElementNS("stop", "http://www.w3.org/2000/svg");
201
+ let k = this.v.createElementNS("stop", "http://www.w3.org/2000/svg");
201
202
  k.setAttribute("offset", h.offset * 100 + "%");
202
203
  k.setAttribute("stop-color", h._fill);
203
204
  f.append(k);
204
205
  }
205
- this.u.append(f);
206
- this.l.addItem(a, g);
206
+ this.w.append(f);
207
+ this.n.addItem(a, g);
207
208
  }
208
209
  else if (a.isRadialGradient) {
209
210
  }
210
211
  }
211
212
  }
212
- am(a, b) {
213
+ an(a, b) {
213
214
  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);
215
+ if (this.n.containsKey(b)) {
216
+ c.setAttribute("fill", "url(#" + this.n.item(b) + ")");
217
+ this.v.rootWrapper.removeChildren();
218
+ this.v.rootWrapper.append(this.y);
218
219
  }
219
220
  else {
220
221
  NativeUI.r(a, b);
221
222
  }
222
223
  }
223
- an(a, b) {
224
+ ao(a, b) {
224
225
  let c = a;
225
- if (this.l.containsKey(b)) {
226
- c.setAttribute("stroke", "url('#" + this.l.item(b) + "')");
226
+ if (this.n.containsKey(b)) {
227
+ c.setAttribute("stroke", "url('#" + this.n.item(b) + "')");
227
228
  }
228
229
  else {
229
230
  NativeUI.aa(a, b);
@@ -231,8 +232,8 @@ export let IconView = /*@__PURE__*/ (() => {
231
232
  }
232
233
  ac(a) {
233
234
  }
234
- ak() {
235
- if (this.j()) {
235
+ al() {
236
+ if (this.l()) {
236
237
  }
237
238
  }
238
239
  ad(a) {
@@ -241,25 +242,25 @@ export let IconView = /*@__PURE__*/ (() => {
241
242
  ae(a) {
242
243
  this.d.ca();
243
244
  }
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)));
245
+ ag() {
246
+ this.j = true;
247
+ this.o.add(this.v.rootWrapper.listen("mouseenter", runOn(this, this.ad)));
248
+ this.o.add(this.v.rootWrapper.listen("mouseleave", runOn(this, this.ae)));
248
249
  }
249
- ai() {
250
- this.h = false;
251
- for (let a of fromEnum(this.m)) {
250
+ aj() {
251
+ this.j = false;
252
+ for (let a of fromEnum(this.o)) {
252
253
  a();
253
254
  }
254
- this.m.clear();
255
+ this.o.clear();
255
256
  }
256
- at(a) {
257
+ av(a) {
257
258
  if (a != null) {
258
- this.t.rootWrapper.setStyleProperty("font", a.fontString);
259
+ this.v.rootWrapper.setStyleProperty("font", a.fontString);
259
260
  }
260
261
  }
261
262
  b() {
262
- let rect_ = this.t.rootWrapper.getNativeElement().getBoundingClientRect();
263
+ let rect_ = this.v.rootWrapper.getNativeElement().getBoundingClientRect();
263
264
  let a = (rect_.top);
264
265
  let b = (rect_.left);
265
266
  let c = new Array(2);
@@ -267,9 +268,103 @@ export let IconView = /*@__PURE__*/ (() => {
267
268
  c[1] = b;
268
269
  return c;
269
270
  }
270
- ag(a) {
271
+ ah(a) {
271
272
  this.d.b7();
272
273
  }
274
+ a() {
275
+ let a = new List$1(PrimitiveVisualData.$, 0);
276
+ let b = this.v.rootWrapper.getNativeElement();
277
+ return a.toArray();
278
+ }
279
+ af(a, b) {
280
+ for (let c = 0; c < b.e.count; c++) {
281
+ let d = b.e._inner[c];
282
+ let e = this.h(d);
283
+ if (e != null) {
284
+ a.add(e);
285
+ }
286
+ else {
287
+ this.af(a, d);
288
+ }
289
+ }
290
+ }
291
+ h(a) {
292
+ let b = null;
293
+ switch (a.c) {
294
+ case 7:
295
+ let c = ((() => {
296
+ let $ret = new Path();
297
+ $ret.an = a.w;
298
+ return $ret;
299
+ })());
300
+ this.aq(c, a);
301
+ b = new PathVisualData(1, "path1", c);
302
+ break;
303
+ case 3:
304
+ let d = a;
305
+ let e = new Line();
306
+ e.an = d.w;
307
+ e.ao = d.x;
308
+ e.ap = d.y;
309
+ e.aq = d.z;
310
+ this.aq(e, a);
311
+ b = new LineVisualData(1, "line1", e);
312
+ break;
313
+ case 4:
314
+ let f = a;
315
+ let g = new Rectangle();
316
+ g.width = f.z;
317
+ g.height = f.w;
318
+ g.ap = f.x;
319
+ g.aq = f.y;
320
+ this.aq(g, a);
321
+ b = new RectangleVisualData(1, "rect1", g);
322
+ break;
323
+ case 5:
324
+ case 6:
325
+ let h = a;
326
+ let i = new Ellipse();
327
+ i.width = h.y * 2;
328
+ i.height = h.z * 2;
329
+ this.aq(i, a);
330
+ b = new EllipseVisualData(1, "ellipse1", i);
331
+ break;
332
+ }
333
+ return b;
334
+ }
335
+ aq(a, b) {
336
+ let c = b;
337
+ a.ad = b.t;
338
+ a.j = c.h;
339
+ a.am = c.v;
340
+ a.al = c.u;
341
+ a.ak = c.u;
342
+ a._opacity = c.q;
343
+ if (c.i != null) {
344
+ let d = new DoubleCollection();
345
+ let g = c.i;
346
+ for (let f = 0; f < g.length; f++) {
347
+ let e = g[f];
348
+ d.add(e);
349
+ }
350
+ a.ai = d;
351
+ }
352
+ }
353
+ i(a) {
354
+ if (typeCast(Path.$, a) !== null) {
355
+ return new PathVisualData(1, "path1", a);
356
+ }
357
+ else if (typeCast(Line.$, a) !== null) {
358
+ return new LineVisualData(1, "line1", a);
359
+ }
360
+ else if (typeCast(Rectangle.$, a) !== null) {
361
+ return new RectangleVisualData(1, "rect1", a);
362
+ }
363
+ else if (typeCast(Ellipse.$, a) !== null) {
364
+ return new EllipseVisualData(1, "ellipse1", a);
365
+ }
366
+ return null;
367
+ }
273
368
  }
274
369
  IconView.$t = markType(IconView, 'IconView');
275
370
  return IconView;
@@ -324,7 +419,7 @@ export let XIcon = /*@__PURE__*/ (() => {
324
419
  let a = new IconView();
325
420
  a.d = this;
326
421
  this.view = a;
327
- this.view.aj();
422
+ this.view.ak();
328
423
  }
329
424
  get view() {
330
425
  return this._view;
@@ -357,10 +452,27 @@ export let XIcon = /*@__PURE__*/ (() => {
357
452
  case "ActualFill":
358
453
  case "ActualStroke":
359
454
  case "ActualStrokeWidth":
455
+ this.cg();
456
+ break;
457
+ case "SVG":
458
+ this.az = null;
459
+ this.a = null;
460
+ this.cg();
461
+ break;
360
462
  case "SVGPath":
463
+ this.ay = null;
464
+ this.a = null;
465
+ this.cg();
466
+ break;
361
467
  case "SVGPaths":
362
- case "SVG":
468
+ this.ay = null;
469
+ this.az = null;
470
+ this.cg();
471
+ break;
363
472
  case "DataURL":
473
+ this.ay = null;
474
+ this.az = null;
475
+ this.a = null;
364
476
  this.cg();
365
477
  break;
366
478
  case "Opacity":
@@ -370,11 +482,11 @@ export let XIcon = /*@__PURE__*/ (() => {
370
482
  case "ViewBoxTop":
371
483
  case "ViewBoxWidth":
372
484
  case "ViewBoxHeight":
373
- this.view.au();
485
+ this.view.aw();
374
486
  break;
375
487
  case "Width":
376
488
  case "Height":
377
- this.view.ap();
489
+ this.view.ar();
378
490
  break;
379
491
  }
380
492
  }
@@ -397,15 +509,15 @@ export let XIcon = /*@__PURE__*/ (() => {
397
509
  }
398
510
  }
399
511
  get r() {
400
- return this.svgPath != null && !this.view.k;
512
+ return this.svgPath != null && !this.view.m;
401
513
  }
402
514
  ch() {
403
- NativeUI.y(this.view.x, this.ak);
515
+ NativeUI.y(this.view.z, this.ak);
404
516
  }
405
517
  cg() {
406
- let a = this.view.x;
518
+ let a = this.view.z;
407
519
  if (this.r) {
408
- let b = this.view.y;
520
+ let b = this.view.aa;
409
521
  NativeUI.r(b, this.cw);
410
522
  NativeUI.aa(b, this.cx);
411
523
  NativeUI.ad(b, this.af);
@@ -414,22 +526,22 @@ export let XIcon = /*@__PURE__*/ (() => {
414
526
  let c = false;
415
527
  if (this.svgPath != null) {
416
528
  if (stringStartsWith(trimStart(this.svgPath, ' ', '\n', '\r', '\t'), "<svg")) {
417
- this.view.aq(this.svgPath);
529
+ this.view.as(this.svgPath);
418
530
  c = true;
419
531
  }
420
532
  else {
421
- this.view.ar(this.svgPath);
533
+ this.view.at(this.svgPath);
422
534
  }
423
535
  }
424
536
  else if (this.b != null) {
425
- this.view.as(this.b);
537
+ this.view.au(this.b);
426
538
  let d = this.view.c;
427
539
  if (d != null && d.length > 0) {
428
540
  let e = NativeUI.r;
429
541
  let f = NativeUI.aa;
430
542
  this.cd();
431
- e = runOn(this.view, this.view.am);
432
- f = runOn(this.view, this.view.an);
543
+ e = runOn(this.view, this.view.an);
544
+ f = runOn(this.view, this.view.ao);
433
545
  for (let g = 0; g < d.length; g++) {
434
546
  if (this.cw != null) {
435
547
  e(d[g], this.cw);
@@ -452,33 +564,33 @@ export let XIcon = /*@__PURE__*/ (() => {
452
564
  }
453
565
  }
454
566
  if (this.m != null) {
455
- this.view.at(this.m);
567
+ this.view.av(this.m);
456
568
  }
457
569
  return;
458
570
  }
459
571
  else if (this.svg != null) {
460
- this.view.aq(this.svg);
572
+ this.view.as(this.svg);
461
573
  c = true;
462
574
  }
463
575
  else if (this.a7 != null) {
464
- this.view.ao(this.a7);
576
+ this.view.ap(this.a7);
465
577
  }
466
578
  if (c) {
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));
579
+ for (let h = 0; h < this.view.r.count; h++) {
580
+ let i = this.view.r._inner[h].c;
581
+ NativeUI.r(this.view.r._inner[h].d, i.l.f(this.c8));
470
582
  }
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));
583
+ for (let j = 0; j < this.view.s.count; j++) {
584
+ let k = this.view.s._inner[j].c;
585
+ NativeUI.aa(this.view.s._inner[j].d, k.m.f(this.c9));
474
586
  }
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));
587
+ for (let l = 0; l < this.view.t.count; l++) {
588
+ let m = this.view.t._inner[l].c;
589
+ NativeUI.r(this.view.t._inner[l].d, m.l.f(this.da));
478
590
  }
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));
591
+ for (let n = 0; n < this.view.u.count; n++) {
592
+ let o = this.view.u._inner[n].c;
593
+ NativeUI.aa(this.view.u._inner[n].d, o.m.f(this.db));
482
594
  }
483
595
  for (let p = 0; p < this.view.e.o.count; p++) {
484
596
  let q = this.view.e.o._inner[p];
@@ -502,13 +614,13 @@ export let XIcon = /*@__PURE__*/ (() => {
502
614
  }
503
615
  }
504
616
  }
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));
617
+ for (let ab = 0; ab < this.view.q.count; ab++) {
618
+ let ac = this.view.q._inner[ab].c;
619
+ NativeUI.r(this.view.q._inner[ab].d, ac.l.f(this.cw));
620
+ NativeUI.aa(this.view.q._inner[ab].d, ac.m.f(this.cx));
509
621
  }
510
622
  }
511
- let ad = this.view.x;
623
+ let ad = this.view.z;
512
624
  if (this.cw != null) {
513
625
  NativeUI.r(ad, this.cw);
514
626
  }
@@ -520,27 +632,27 @@ export let XIcon = /*@__PURE__*/ (() => {
520
632
  }
521
633
  }
522
634
  if (this.m != null) {
523
- this.view.at(this.m);
635
+ this.view.av(this.m);
524
636
  }
525
637
  if (this.cy != null) {
526
- NativeUI.q(this.view.x, this.cy);
638
+ NativeUI.q(this.view.z, this.cy);
527
639
  }
528
640
  }
529
641
  cd() {
530
642
  if (this.cw != null) {
531
- this.view.al(this.cw, "fill");
643
+ this.view.am(this.cw, "fill");
532
644
  }
533
645
  if (this.cx != null) {
534
- this.view.al(this.cx, "stroke");
646
+ this.view.am(this.cx, "stroke");
535
647
  }
536
648
  if (this.e != null) {
537
649
  for (let a of fromEnum(this.e)) {
538
- this.view.al(a, "fills");
650
+ this.view.am(a, "fills");
539
651
  }
540
652
  }
541
653
  if (this.f != null) {
542
654
  for (let b of fromEnum(this.f)) {
543
- this.view.al(b, "strokes");
655
+ this.view.am(b, "strokes");
544
656
  }
545
657
  }
546
658
  }
@@ -917,10 +1029,10 @@ export let XIcon = /*@__PURE__*/ (() => {
917
1029
  cc() {
918
1030
  }
919
1031
  onDetachedFromUI() {
920
- this.view.ai();
1032
+ this.view.aj();
921
1033
  }
922
1034
  onAttachedToUI() {
923
- this.view.af();
1035
+ this.view.ag();
924
1036
  }
925
1037
  b7() {
926
1038
  if (this.disabled) {
@@ -931,61 +1043,58 @@ export let XIcon = /*@__PURE__*/ (() => {
931
1043
  }
932
1044
  }
933
1045
  u() {
934
- return this.view.j();
1046
+ return this.view.l();
935
1047
  }
936
1048
  au() {
937
1049
  return this.g();
938
1050
  }
939
1051
  a9() {
940
1052
  let a = this.g();
941
- return a.k();
1053
+ return a.l();
942
1054
  }
943
1055
  g() {
944
1056
  let a = new IconVisualModelExport();
945
- let b = this.view.x;
946
- a.a = AppearanceHelper.a(NativeUI.al(b));
947
- a.c = AppearanceHelper.a(NativeUI.al(b));
948
- a.b = AppearanceHelper.a(NativeUI.am(b));
949
- a.d = this.af;
950
- let c = this.view.b();
951
- a.h = c[0];
952
- a.f = c[1];
953
- a.e = NativeUI.d(b);
954
- a.i = NativeUI.k(b);
1057
+ let b = this.view.b();
1058
+ a.i = b[0];
1059
+ a.g = b[1];
1060
+ a.f = NativeUI.d(this.view.z);
1061
+ a.j = NativeUI.k(this.view.z);
1062
+ a.a = this.view.a();
1063
+ a.svg = this.svg;
955
1064
  a.svgPath = this.svgPath;
956
- a.j = this.a7;
1065
+ a.k = this.a7;
957
1066
  if (this.m != null) {
958
- let d = this.m;
959
- if (this.view != null && d.q == null) {
960
- let e = this.view.t;
961
- let f = FontUtil.getFontInfoFromString(e, d.fontString);
962
- d.q = f.q;
963
- d.f = f.f;
964
- d.r = f.r;
965
- d.t = f.t;
966
- d.u = f.u;
967
- d.v = f.v;
1067
+ let c = this.m;
1068
+ if (this.view != null && c.q == null) {
1069
+ let d = this.view.v;
1070
+ let e = FontUtil.getFontInfoFromString(d, c.fontString);
1071
+ c.q = e.q;
1072
+ c.f = e.f;
1073
+ c.r = e.r;
1074
+ c.t = e.t;
1075
+ c.u = e.u;
1076
+ c.v = e.v;
968
1077
  }
969
- if (d.q != null) {
970
- a.m = d.q;
1078
+ if (c.q != null) {
1079
+ a.o = c.q;
971
1080
  }
972
- if (!isNaN_(d.f)) {
973
- a.g = d.f;
1081
+ if (!isNaN_(c.f)) {
1082
+ a.h = c.f;
974
1083
  }
975
- if (d.v != null) {
976
- a.q = d.v;
1084
+ if (c.v != null) {
1085
+ a.s = c.v;
977
1086
  }
978
- if (d.t != null) {
979
- a.o = d.t;
1087
+ if (c.t != null) {
1088
+ a.q = c.t;
980
1089
  }
981
- if (d.r != null) {
982
- a.n = d.t;
1090
+ if (c.r != null) {
1091
+ a.p = c.t;
983
1092
  }
984
1093
  }
985
1094
  return a;
986
1095
  }
987
1096
  provideContainer(a) {
988
- this.view.ah(a);
1097
+ this.view.ai(a);
989
1098
  }
990
1099
  }
991
1100
  XIcon.$t = markType(XIcon, 'XIcon', Base.$, [INotifyPropertyChanged_$type, IIcon_$type]);