igniteui-angular-inputs 18.0.0 → 18.1.1

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 +976 -772
  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 +1 -1
  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 +319 -219
  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 +3 -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 +1 -1
  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 +316 -216
  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 +3 -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 +910 -711
  48. package/fesm5/igniteui-angular-inputs.js +973 -770
  49. package/lib/ButtonVisualModelExport.d.ts +6 -5
  50. package/lib/DatePickerView_combined.d.ts +75 -74
  51. package/lib/IconView_combined.d.ts +45 -39
  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 +2 -2
  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";
@@ -29,157 +38,157 @@ export let IconView = /*@__PURE__*/ (() => {
29
38
  class IconView extends Base {
30
39
  constructor() {
31
40
  super();
32
- this.c = null;
33
- this.s = null;
34
- this.f = null;
35
- this.l = new List$1(Delegate_$type, 0);
36
- this.n = null;
37
- this.o = null;
38
- this.p = null;
41
+ this.d = null;
42
+ this.v = null;
43
+ this.g = null;
44
+ this.o = new List$1(Delegate_$type, 0);
39
45
  this.q = null;
40
46
  this.r = null;
41
- this.d = null;
47
+ this.s = null;
48
+ this.t = null;
49
+ this.u = null;
42
50
  this.e = null;
51
+ this.f = null;
52
+ this.ab = null;
53
+ this.n = new Dictionary$2(Brush.$, String_$type, 0);
54
+ this.j = true;
43
55
  this.y = null;
44
- this.k = new Dictionary$2(Brush.$, String_$type, 0);
45
- this.g = true;
46
- this.v = null;
47
- this.u = null;
48
- this.t = null;
49
- this.m = new List$1(DomWrapper_$type, 0);
50
- this.n = new List$1(Tuple$2.$.specialize(SVGNode.$, Base.$), 0);
51
- this.o = new List$1(Tuple$2.$.specialize(SVGNode.$, Base.$), 0);
52
- this.p = new List$1(Tuple$2.$.specialize(SVGNode.$, Base.$), 0);
56
+ this.x = null;
57
+ this.w = null;
58
+ this.p = new List$1(DomWrapper_$type, 0);
53
59
  this.q = new List$1(Tuple$2.$.specialize(SVGNode.$, Base.$), 0);
54
60
  this.r = new List$1(Tuple$2.$.specialize(SVGNode.$, Base.$), 0);
55
- this.d = new FastIterationDictionary$2(String_$type, List$1.$.specialize(Tuple$2.$.specialize(SVGNode.$, Base.$)), 0);
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);
56
64
  this.e = new FastIterationDictionary$2(String_$type, List$1.$.specialize(Tuple$2.$.specialize(SVGNode.$, Base.$)), 0);
65
+ this.f = new FastIterationDictionary$2(String_$type, List$1.$.specialize(Tuple$2.$.specialize(SVGNode.$, Base.$)), 0);
57
66
  }
58
- ag() {
67
+ ak() {
59
68
  }
60
- i() {
69
+ l() {
61
70
  return true;
62
71
  }
63
- get w() {
64
- return this.v;
72
+ get z() {
73
+ return this.y;
65
74
  }
66
- get x() {
75
+ get aa() {
67
76
  return null;
68
77
  }
69
- get b() {
70
- return this.m.toArray();
78
+ get c() {
79
+ return this.p.toArray();
71
80
  }
72
- get j() {
81
+ get m() {
73
82
  return true;
74
83
  }
75
- ae(a) {
84
+ ai(a) {
76
85
  if (a == null) {
77
- for (let b of fromEnum(this.l)) {
86
+ for (let b of fromEnum(this.o)) {
78
87
  b();
79
88
  }
80
- this.l.clear();
81
- if (this.v != null) {
82
- this.v.unlistenAll();
89
+ this.o.clear();
90
+ if (this.y != null) {
91
+ this.y.unlistenAll();
83
92
  }
84
- if (this.u != null) {
85
- this.u.unlistenAll();
93
+ if (this.x != null) {
94
+ this.x.unlistenAll();
86
95
  }
87
96
  }
88
- this.s = a;
97
+ this.v = a;
89
98
  a.rootWrapper.setStyleProperty("position", "relative");
90
- this.s.rootWrapper.setStyleProperty("display", "flex");
91
- this.s.rootWrapper.setStyleProperty("flex-direction", "row");
92
- this.s.rootWrapper.setStyleProperty("flex-wrap", "no-wrap");
93
- this.s.rootWrapper.setStyleProperty("align-items", "center");
94
- this.s.rootWrapper.setStyleProperty("justify-content", "center");
95
- this.am();
96
- let c = this.s.createElementNS("svg", "http://www.w3.org/2000/svg");
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");
97
106
  c.setStyleProperty("position", "absolute");
98
107
  c.setStyleProperty("top", "0");
99
108
  c.setStyleProperty("left", "0");
100
109
  c.setStyleProperty("right", "0");
101
110
  c.setStyleProperty("bottom", "0");
102
- this.v = c;
103
- let d = this.s.createElement("img");
111
+ this.y = c;
112
+ let d = this.v.createElement("img");
104
113
  d.setStyleProperty("height", "100%");
105
114
  d.setStyleProperty("width", "100%");
106
115
  d.setStyleProperty("object-fit", "contain");
107
- this.u = d;
108
- this.ar();
109
- this.t = a.createElementNS("defs", "http://www.w3.org/2000/svg");
110
- this.v.append(this.t);
111
- this.s.append(this.v);
112
- this.l.add(c.listen("click", runOn(this, this.ad)));
113
- this.c.cc();
114
- }
115
- ao(a) {
116
- this.k.clear();
117
- this.s.rootWrapper.removeChildren();
118
- this.s.rootWrapper.append(this.v);
119
- this.v.removeChildren();
120
- this.t.removeChildren();
121
- this.m.clear();
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)));
122
+ this.d.cc();
123
+ }
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();
122
131
  if (a != null) {
123
- let b = this.s.createElementNS("path", "http://www.w3.org/2000/svg");
132
+ let b = this.v.createElementNS("path", "http://www.w3.org/2000/svg");
124
133
  b.setAttribute("d", a);
125
- this.v.append(this.t);
126
- this.v.append(b);
127
- this.m.add(b);
128
- }
129
- }
130
- ap(a) {
131
- this.k.clear();
132
- this.s.rootWrapper.removeChildren();
133
- this.s.rootWrapper.append(this.v);
134
- this.v.removeChildren();
135
- this.t.removeChildren();
136
- this.m.clear();
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();
137
146
  if (a != null && a.length > 0) {
138
- this.v.append(this.t);
147
+ this.y.append(this.w);
139
148
  for (let b = 0; b < a.length; b++) {
140
- let c = this.s.createElementNS("path", "http://www.w3.org/2000/svg");
149
+ let c = this.v.createElementNS("path", "http://www.w3.org/2000/svg");
141
150
  c.setAttribute("d", a[b]);
142
- this.v.append(c);
143
- this.m.add(c);
151
+ this.y.append(c);
152
+ this.p.add(c);
144
153
  }
145
154
  }
146
155
  }
147
- an(a) {
148
- this.s.rootWrapper.removeChildren();
156
+ as(a) {
157
+ this.v.rootWrapper.removeChildren();
149
158
  if (a != null) {
150
- let b = this.s.rootWrapper.getNativeElement();
159
+ let b = this.v.rootWrapper.getNativeElement();
151
160
  b.innerHTML = a;
152
161
  }
153
162
  }
154
- al(a) {
155
- if (this.y != a) {
156
- this.y = a;
157
- this.s.rootWrapper.removeChildren();
158
- this.s.rootWrapper.append(this.u);
159
- this.u.setAttribute("src", a);
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);
160
169
  }
161
170
  }
162
- h() {
163
- return this.c.svgPath != null || this.c.svg != null || this.c.b != null;
164
- }
165
- am() {
166
- this.s.rootWrapper.setStyleProperty("width", isNaN_(this.c.aq) ? "1.5rem" : this.c.aq + "px");
167
- this.s.rootWrapper.setStyleProperty("height", isNaN_(this.c.ai) ? "1.5rem" : this.c.ai + "px");
171
+ k() {
172
+ return this.d.svgPath != null || this.d.svg != null || this.d.b != null;
168
173
  }
169
174
  ar() {
170
- let a = isNaN_(this.c.an) ? 0 : this.c.an;
171
- let b = isNaN_(this.c.ao) ? 0 : this.c.ao;
172
- let c = isNaN_(this.c.ap) ? 24 : this.c.ap;
173
- let d = isNaN_(this.c.am) ? 24 : this.c.am;
174
- this.v.setAttribute("viewBox", a + " " + b + " " + c + " " + d);
175
+ 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");
177
+ }
178
+ aw() {
179
+ let a = isNaN_(this.d.an) ? 0 : this.d.an;
180
+ let b = isNaN_(this.d.ao) ? 0 : this.d.ao;
181
+ let c = isNaN_(this.d.ap) ? 24 : this.d.ap;
182
+ let d = isNaN_(this.d.am) ? 24 : this.d.am;
183
+ this.y.setAttribute("viewBox", a + " " + b + " " + c + " " + d);
175
184
  }
176
- ai(a, b) {
185
+ am(a, b) {
177
186
  let c = a.color;
178
- if (!this.k.containsKey(a)) {
187
+ if (!this.n.containsKey(a)) {
179
188
  if (a.isGradient) {
180
- let d = this.t.getChildCount();
189
+ let d = this.w.getChildCount();
181
190
  let e = a;
182
- let f = this.s.createElementNS("linearGradient", "http://www.w3.org/2000/svg");
191
+ let f = this.v.createElementNS("linearGradient", "http://www.w3.org/2000/svg");
183
192
  let g = "ig_gradient_" + b + "_" + d;
184
193
  f.setAttribute("id", g);
185
194
  f.setAttribute("x1", e.startX.toString());
@@ -189,69 +198,69 @@ export let IconView = /*@__PURE__*/ (() => {
189
198
  let j = e.gradientStops;
190
199
  for (let i = 0; i < j.length; i++) {
191
200
  let h = j[i];
192
- let k = this.s.createElementNS("stop", "http://www.w3.org/2000/svg");
201
+ let k = this.v.createElementNS("stop", "http://www.w3.org/2000/svg");
193
202
  k.setAttribute("offset", h.offset * 100 + "%");
194
203
  k.setAttribute("stop-color", h._fill);
195
204
  f.append(k);
196
205
  }
197
- this.t.append(f);
198
- this.k.addItem(a, g);
206
+ this.w.append(f);
207
+ this.n.addItem(a, g);
199
208
  }
200
209
  else if (a.isRadialGradient) {
201
210
  }
202
211
  }
203
212
  }
204
- aj(a, b) {
213
+ an(a, b) {
205
214
  let c = a;
206
- if (this.k.containsKey(b)) {
207
- c.setAttribute("fill", "url(#" + this.k.item(b) + ")");
208
- this.s.rootWrapper.removeChildren();
209
- this.s.rootWrapper.append(this.v);
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);
210
219
  }
211
220
  else {
212
221
  NativeUI.r(a, b);
213
222
  }
214
223
  }
215
- ak(a, b) {
224
+ ao(a, b) {
216
225
  let c = a;
217
- if (this.k.containsKey(b)) {
218
- c.setAttribute("stroke", "url('#" + this.k.item(b) + "')");
226
+ if (this.n.containsKey(b)) {
227
+ c.setAttribute("stroke", "url('#" + this.n.item(b) + "')");
219
228
  }
220
229
  else {
221
230
  NativeUI.aa(a, b);
222
231
  }
223
232
  }
224
- z(a) {
233
+ ac(a) {
225
234
  }
226
- ah() {
227
- if (this.i()) {
235
+ al() {
236
+ if (this.l()) {
228
237
  }
229
238
  }
230
- aa(a) {
231
- this.c.b9();
239
+ ad(a) {
240
+ this.d.b9();
232
241
  }
233
- ab(a) {
234
- this.c.ca();
242
+ ae(a) {
243
+ this.d.ca();
235
244
  }
236
- ac() {
237
- this.g = true;
238
- this.l.add(this.s.rootWrapper.listen("mouseenter", runOn(this, this.aa)));
239
- this.l.add(this.s.rootWrapper.listen("mouseleave", runOn(this, this.ab)));
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)));
240
249
  }
241
- af() {
242
- this.g = false;
243
- for (let a of fromEnum(this.l)) {
250
+ aj() {
251
+ this.j = false;
252
+ for (let a of fromEnum(this.o)) {
244
253
  a();
245
254
  }
246
- this.l.clear();
255
+ this.o.clear();
247
256
  }
248
- aq(a) {
257
+ av(a) {
249
258
  if (a != null) {
250
- this.s.rootWrapper.setStyleProperty("font", a.fontString);
259
+ this.v.rootWrapper.setStyleProperty("font", a.fontString);
251
260
  }
252
261
  }
253
- a() {
254
- let rect_ = this.s.rootWrapper.getNativeElement().getBoundingClientRect();
262
+ b() {
263
+ let rect_ = this.v.rootWrapper.getNativeElement().getBoundingClientRect();
255
264
  let a = (rect_.top);
256
265
  let b = (rect_.left);
257
266
  let c = new Array(2);
@@ -259,8 +268,102 @@ export let IconView = /*@__PURE__*/ (() => {
259
268
  c[1] = b;
260
269
  return c;
261
270
  }
262
- ad(a) {
263
- this.c.b7();
271
+ ah(a) {
272
+ this.d.b7();
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;
264
367
  }
265
368
  }
266
369
  IconView.$t = markType(IconView, 'IconView');
@@ -314,9 +417,9 @@ export let XIcon = /*@__PURE__*/ (() => {
314
417
  this.clicked = null;
315
418
  this.propertyChanged = null;
316
419
  let a = new IconView();
317
- a.c = this;
420
+ a.d = this;
318
421
  this.view = a;
319
- this.view.ag();
422
+ this.view.ak();
320
423
  }
321
424
  get view() {
322
425
  return this._view;
@@ -379,11 +482,11 @@ export let XIcon = /*@__PURE__*/ (() => {
379
482
  case "ViewBoxTop":
380
483
  case "ViewBoxWidth":
381
484
  case "ViewBoxHeight":
382
- this.view.ar();
485
+ this.view.aw();
383
486
  break;
384
487
  case "Width":
385
488
  case "Height":
386
- this.view.am();
489
+ this.view.ar();
387
490
  break;
388
491
  }
389
492
  }
@@ -406,15 +509,15 @@ export let XIcon = /*@__PURE__*/ (() => {
406
509
  }
407
510
  }
408
511
  get r() {
409
- return this.svgPath != null && !this.view.j;
512
+ return this.svgPath != null && !this.view.m;
410
513
  }
411
514
  ch() {
412
- NativeUI.y(this.view.w, this.ak);
515
+ NativeUI.y(this.view.z, this.ak);
413
516
  }
414
517
  cg() {
415
- let a = this.view.w;
518
+ let a = this.view.z;
416
519
  if (this.r) {
417
- let b = this.view.x;
520
+ let b = this.view.aa;
418
521
  NativeUI.r(b, this.cw);
419
522
  NativeUI.aa(b, this.cx);
420
523
  NativeUI.ad(b, this.af);
@@ -423,22 +526,22 @@ export let XIcon = /*@__PURE__*/ (() => {
423
526
  let c = false;
424
527
  if (this.svgPath != null) {
425
528
  if (stringStartsWith(trimStart(this.svgPath, ' ', '\n', '\r', '\t'), "<svg")) {
426
- this.view.an(this.svgPath);
529
+ this.view.as(this.svgPath);
427
530
  c = true;
428
531
  }
429
532
  else {
430
- this.view.ao(this.svgPath);
533
+ this.view.at(this.svgPath);
431
534
  }
432
535
  }
433
536
  else if (this.b != null) {
434
- this.view.ap(this.b);
435
- let d = this.view.b;
537
+ this.view.au(this.b);
538
+ let d = this.view.c;
436
539
  if (d != null && d.length > 0) {
437
540
  let e = NativeUI.r;
438
541
  let f = NativeUI.aa;
439
542
  this.cd();
440
- e = runOn(this.view, this.view.aj);
441
- f = runOn(this.view, this.view.ak);
543
+ e = runOn(this.view, this.view.an);
544
+ f = runOn(this.view, this.view.ao);
442
545
  for (let g = 0; g < d.length; g++) {
443
546
  if (this.cw != null) {
444
547
  e(d[g], this.cw);
@@ -461,63 +564,63 @@ export let XIcon = /*@__PURE__*/ (() => {
461
564
  }
462
565
  }
463
566
  if (this.m != null) {
464
- this.view.aq(this.m);
567
+ this.view.av(this.m);
465
568
  }
466
569
  return;
467
570
  }
468
571
  else if (this.svg != null) {
469
- this.view.an(this.svg);
572
+ this.view.as(this.svg);
470
573
  c = true;
471
574
  }
472
575
  else if (this.a7 != null) {
473
- this.view.al(this.a7);
576
+ this.view.ap(this.a7);
474
577
  }
475
578
  if (c) {
476
- for (let h = 0; h < this.view.o.count; h++) {
477
- let i = this.view.o._inner[h].c;
478
- NativeUI.r(this.view.o._inner[h].d, i.l.f(this.c8));
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));
479
582
  }
480
- for (let j = 0; j < this.view.p.count; j++) {
481
- let k = this.view.p._inner[j].c;
482
- NativeUI.aa(this.view.p._inner[j].d, k.m.f(this.c9));
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));
483
586
  }
484
- for (let l = 0; l < this.view.q.count; l++) {
485
- let m = this.view.q._inner[l].c;
486
- NativeUI.r(this.view.q._inner[l].d, m.l.f(this.da));
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));
487
590
  }
488
- for (let n = 0; n < this.view.r.count; n++) {
489
- let o = this.view.r._inner[n].c;
490
- NativeUI.aa(this.view.r._inner[n].d, o.m.f(this.db));
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));
491
594
  }
492
- for (let p = 0; p < this.view.d.o.count; p++) {
493
- let q = this.view.d.o._inner[p];
595
+ for (let p = 0; p < this.view.e.o.count; p++) {
596
+ let q = this.view.e.o._inner[p];
494
597
  let r = q.split('-');
495
598
  let s = parseInt(r[r.length - 1]);
496
599
  if (s < this.e.count) {
497
- for (let t = 0; t < this.view.d.q._inner[p].count; t++) {
498
- let u = this.view.d.q._inner[p]._inner[t].c;
499
- NativeUI.r(this.view.d.q._inner[p]._inner[t].d, u.l.f(this.e.item(s)));
600
+ for (let t = 0; t < this.view.e.q._inner[p].count; t++) {
601
+ let u = this.view.e.q._inner[p]._inner[t].c;
602
+ NativeUI.r(this.view.e.q._inner[p]._inner[t].d, u.l.f(this.e.item(s)));
500
603
  }
501
604
  }
502
605
  }
503
- for (let v = 0; v < this.view.e.o.count; v++) {
504
- let w = this.view.e.o._inner[v];
606
+ for (let v = 0; v < this.view.f.o.count; v++) {
607
+ let w = this.view.f.o._inner[v];
505
608
  let x = w.split('-');
506
609
  let y = parseInt(x[x.length - 1]);
507
610
  if (y < this.f.count) {
508
- for (let z = 0; z < this.view.e.q._inner[v].count; z++) {
509
- let aa = this.view.e.q._inner[v]._inner[z].c;
510
- NativeUI.aa(this.view.e.q._inner[v]._inner[z].d, aa.m.f(this.f.item(y)));
611
+ for (let z = 0; z < this.view.f.q._inner[v].count; z++) {
612
+ let aa = this.view.f.q._inner[v]._inner[z].c;
613
+ NativeUI.aa(this.view.f.q._inner[v]._inner[z].d, aa.m.f(this.f.item(y)));
511
614
  }
512
615
  }
513
616
  }
514
- for (let ab = 0; ab < this.view.n.count; ab++) {
515
- let ac = this.view.n._inner[ab].c;
516
- NativeUI.r(this.view.n._inner[ab].d, ac.l.f(this.cw));
517
- NativeUI.aa(this.view.n._inner[ab].d, ac.m.f(this.cx));
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));
518
621
  }
519
622
  }
520
- let ad = this.view.w;
623
+ let ad = this.view.z;
521
624
  if (this.cw != null) {
522
625
  NativeUI.r(ad, this.cw);
523
626
  }
@@ -529,27 +632,27 @@ export let XIcon = /*@__PURE__*/ (() => {
529
632
  }
530
633
  }
531
634
  if (this.m != null) {
532
- this.view.aq(this.m);
635
+ this.view.av(this.m);
533
636
  }
534
637
  if (this.cy != null) {
535
- NativeUI.q(this.view.w, this.cy);
638
+ NativeUI.q(this.view.z, this.cy);
536
639
  }
537
640
  }
538
641
  cd() {
539
642
  if (this.cw != null) {
540
- this.view.ai(this.cw, "fill");
643
+ this.view.am(this.cw, "fill");
541
644
  }
542
645
  if (this.cx != null) {
543
- this.view.ai(this.cx, "stroke");
646
+ this.view.am(this.cx, "stroke");
544
647
  }
545
648
  if (this.e != null) {
546
649
  for (let a of fromEnum(this.e)) {
547
- this.view.ai(a, "fills");
650
+ this.view.am(a, "fills");
548
651
  }
549
652
  }
550
653
  if (this.f != null) {
551
654
  for (let b of fromEnum(this.f)) {
552
- this.view.ai(b, "strokes");
655
+ this.view.am(b, "strokes");
553
656
  }
554
657
  }
555
658
  }
@@ -926,10 +1029,10 @@ export let XIcon = /*@__PURE__*/ (() => {
926
1029
  cc() {
927
1030
  }
928
1031
  onDetachedFromUI() {
929
- this.view.af();
1032
+ this.view.aj();
930
1033
  }
931
1034
  onAttachedToUI() {
932
- this.view.ac();
1035
+ this.view.ag();
933
1036
  }
934
1037
  b7() {
935
1038
  if (this.disabled) {
@@ -940,61 +1043,58 @@ export let XIcon = /*@__PURE__*/ (() => {
940
1043
  }
941
1044
  }
942
1045
  u() {
943
- return this.view.i();
1046
+ return this.view.l();
944
1047
  }
945
1048
  au() {
946
1049
  return this.g();
947
1050
  }
948
1051
  a9() {
949
1052
  let a = this.g();
950
- return a.k();
1053
+ return a.l();
951
1054
  }
952
1055
  g() {
953
1056
  let a = new IconVisualModelExport();
954
- let b = this.view.w;
955
- a.a = AppearanceHelper.a(NativeUI.al(b));
956
- a.c = AppearanceHelper.a(NativeUI.al(b));
957
- a.b = AppearanceHelper.a(NativeUI.am(b));
958
- a.d = this.af;
959
- let c = this.view.a();
960
- a.h = c[0];
961
- a.f = c[1];
962
- a.e = NativeUI.d(b);
963
- 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;
964
1064
  a.svgPath = this.svgPath;
965
- a.j = this.a7;
1065
+ a.k = this.a7;
966
1066
  if (this.m != null) {
967
- let d = this.m;
968
- if (this.view != null && d.q == null) {
969
- let e = this.view.s;
970
- let f = FontUtil.getFontInfoFromString(e, d.fontString);
971
- d.q = f.q;
972
- d.f = f.f;
973
- d.r = f.r;
974
- d.t = f.t;
975
- d.u = f.u;
976
- 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;
977
1077
  }
978
- if (d.q != null) {
979
- a.m = d.q;
1078
+ if (c.q != null) {
1079
+ a.o = c.q;
980
1080
  }
981
- if (!isNaN_(d.f)) {
982
- a.g = d.f;
1081
+ if (!isNaN_(c.f)) {
1082
+ a.h = c.f;
983
1083
  }
984
- if (d.v != null) {
985
- a.q = d.v;
1084
+ if (c.v != null) {
1085
+ a.s = c.v;
986
1086
  }
987
- if (d.t != null) {
988
- a.o = d.t;
1087
+ if (c.t != null) {
1088
+ a.q = c.t;
989
1089
  }
990
- if (d.r != null) {
991
- a.n = d.t;
1090
+ if (c.r != null) {
1091
+ a.p = c.t;
992
1092
  }
993
1093
  }
994
1094
  return a;
995
1095
  }
996
1096
  provideContainer(a) {
997
- this.view.ae(a);
1097
+ this.view.ai(a);
998
1098
  }
999
1099
  }
1000
1100
  XIcon.$t = markType(XIcon, 'XIcon', Base.$, [INotifyPropertyChanged_$type, IIcon_$type]);