igniteui-angular-inputs 18.0.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 (65) hide show
  1. package/bundles/igniteui-angular-inputs.umd.js +975 -771
  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/CalendarVisualModelExport.js +1 -1
  7. package/esm2015/lib/CheckboxView_combined.js +2 -2
  8. package/esm2015/lib/DatePickerView_combined.js +325 -322
  9. package/esm2015/lib/IconView_combined.js +319 -219
  10. package/esm2015/lib/IconVisualModelExport.js +46 -33
  11. package/esm2015/lib/NativeUIXInputsFactory.js +9 -9
  12. package/esm2015/lib/TextBlockVisualModelExport.js +64 -0
  13. package/esm2015/lib/XButtonBridge.js +11 -4
  14. package/esm2015/lib/XCheckboxBridge.js +19 -0
  15. package/esm2015/lib/{DatePicker.js → XDatePicker.js} +1 -1
  16. package/esm2015/lib/XIconBridge.js +3 -0
  17. package/esm2015/lib/XIconButtonBridge.js +1 -1
  18. package/esm2015/lib/XInputBridge.js +3 -0
  19. package/esm2015/lib/XPopupBridge.js +11 -8
  20. package/esm2015/lib/{igx-date-picker-component.js → igx-x-date-picker-component.js} +40 -40
  21. package/esm2015/lib/{igx-date-picker-dynamic-module.js → igx-x-date-picker-dynamic-module.js} +20 -20
  22. package/esm2015/lib/{igx-date-picker-module.js → igx-x-date-picker-module.js} +14 -14
  23. package/esm2015/public_api.js +5 -4
  24. package/esm5/lib/ButtonGroupVisualModelExport.js +1 -1
  25. package/esm5/lib/ButtonView_combined.js +33 -38
  26. package/esm5/lib/ButtonVisualModelExport.js +14 -13
  27. package/esm5/lib/CalendarVisualModelExport.js +1 -1
  28. package/esm5/lib/CheckboxView_combined.js +2 -2
  29. package/esm5/lib/DatePickerView_combined.js +336 -333
  30. package/esm5/lib/IconView_combined.js +316 -216
  31. package/esm5/lib/IconVisualModelExport.js +50 -33
  32. package/esm5/lib/NativeUIXInputsFactory.js +9 -9
  33. package/esm5/lib/TextBlockVisualModelExport.js +66 -0
  34. package/esm5/lib/XButtonBridge.js +11 -4
  35. package/esm5/lib/XCheckboxBridge.js +19 -0
  36. package/esm5/lib/{DatePicker.js → XDatePicker.js} +1 -1
  37. package/esm5/lib/XIconBridge.js +3 -0
  38. package/esm5/lib/XIconButtonBridge.js +1 -1
  39. package/esm5/lib/XInputBridge.js +3 -0
  40. package/esm5/lib/XPopupBridge.js +11 -8
  41. package/esm5/lib/{igx-date-picker-component.js → igx-x-date-picker-component.js} +87 -87
  42. package/esm5/lib/{igx-date-picker-dynamic-module.js → igx-x-date-picker-dynamic-module.js} +21 -21
  43. package/esm5/lib/{igx-date-picker-module.js → igx-x-date-picker-module.js} +15 -15
  44. package/esm5/public_api.js +5 -4
  45. package/fesm2015/igniteui-angular-inputs.js +909 -710
  46. package/fesm5/igniteui-angular-inputs.js +972 -769
  47. package/lib/ButtonVisualModelExport.d.ts +6 -5
  48. package/lib/DatePickerView_combined.d.ts +75 -74
  49. package/lib/IconView_combined.d.ts +45 -39
  50. package/lib/IconVisualModelExport.d.ts +17 -12
  51. package/lib/TextBlockVisualModelExport.d.ts +21 -0
  52. package/lib/XButtonBridge.d.ts +1 -0
  53. package/lib/XCheckboxBridge.d.ts +1 -0
  54. package/lib/XDatePicker.d.ts +1 -0
  55. package/lib/XIconBridge.d.ts +1 -0
  56. package/lib/XInputBridge.d.ts +1 -0
  57. package/lib/XPopupBridge.d.ts +1 -0
  58. package/lib/{igx-date-picker-component.d.ts → igx-x-date-picker-component.d.ts} +6 -6
  59. package/lib/igx-x-date-picker-dynamic-module.d.ts +13 -0
  60. package/lib/igx-x-date-picker-module.d.ts +13 -0
  61. package/package.json +2 -2
  62. package/public_api.d.ts +5 -4
  63. package/lib/DatePicker.d.ts +0 -1
  64. package/lib/igx-date-picker-dynamic-module.d.ts +0 -13
  65. package/lib/igx-date-picker-module.d.ts +0 -13
@@ -5,7 +5,7 @@ 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 { __extends, __values } from "tslib";
8
- import { Base, String_$type, Delegate_$type, fromEnum, runOn, markType, INotifyPropertyChanged_$type, PropertyChangedEventArgs, enumGetBox } from "igniteui-angular-core";
8
+ import { Base, String_$type, Delegate_$type, fromEnum, runOn, typeCast, markType, INotifyPropertyChanged_$type, PropertyChangedEventArgs, enumGetBox } from "igniteui-angular-core";
9
9
  import { DomWrapper_$type } from "igniteui-angular-core";
10
10
  import { List$1 } from "igniteui-angular-core";
11
11
  import { Tuple$2 } from "igniteui-angular-core";
@@ -14,12 +14,21 @@ import { FastIterationDictionary$2 } from "igniteui-angular-core";
14
14
  import { Dictionary$2 } from "igniteui-angular-core";
15
15
  import { Brush } from "igniteui-angular-core";
16
16
  import { NativeUI } from "igniteui-angular-core";
17
+ import { PrimitiveVisualData } from "igniteui-angular-core";
18
+ import { Path } from "igniteui-angular-core";
19
+ import { Line } from "igniteui-angular-core";
20
+ import { Rectangle } from "igniteui-angular-core";
21
+ import { Ellipse } from "igniteui-angular-core";
22
+ import { PathVisualData } from "igniteui-angular-core";
23
+ import { LineVisualData } from "igniteui-angular-core";
24
+ import { RectangleVisualData } from "igniteui-angular-core";
25
+ import { EllipseVisualData } from "igniteui-angular-core";
26
+ import { DoubleCollection } from "igniteui-angular-core";
17
27
  import { isNaN_ } from "igniteui-angular-core";
18
28
  import { IIcon_$type } from "igniteui-angular-core";
19
29
  import { BaseControlTheme_$type } from "igniteui-angular-core";
20
30
  import { IconClickedEventArgs } from "./IconClickedEventArgs";
21
31
  import { IconVisualModelExport } from "./IconVisualModelExport";
22
- import { AppearanceHelper } from "igniteui-angular-core";
23
32
  import { FontUtil } from "igniteui-angular-core";
24
33
  import { stringStartsWith } from "igniteui-angular-core";
25
34
  import { trimStart } from "igniteui-angular-core";
@@ -30,71 +39,71 @@ var IconView = /** @class */ /*@__PURE__*/ (function (_super) {
30
39
  __extends(IconView, _super);
31
40
  function IconView() {
32
41
  var _this = _super.call(this) || 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;
38
- _this.o = null;
39
- _this.p = null;
42
+ _this.d = null;
43
+ _this.v = null;
44
+ _this.g = null;
45
+ _this.o = new List$1(Delegate_$type, 0);
40
46
  _this.q = null;
41
47
  _this.r = null;
42
- _this.d = null;
48
+ _this.s = null;
49
+ _this.t = null;
50
+ _this.u = null;
43
51
  _this.e = null;
52
+ _this.f = null;
53
+ _this.ab = null;
54
+ _this.n = new Dictionary$2(Brush.$, String_$type, 0);
55
+ _this.j = true;
44
56
  _this.y = null;
45
- _this.k = new Dictionary$2(Brush.$, String_$type, 0);
46
- _this.g = true;
47
- _this.v = null;
48
- _this.u = null;
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);
52
- _this.o = new List$1(Tuple$2.$.specialize(SVGNode.$, Base.$), 0);
53
- _this.p = new List$1(Tuple$2.$.specialize(SVGNode.$, Base.$), 0);
57
+ _this.x = null;
58
+ _this.w = null;
59
+ _this.p = new List$1(DomWrapper_$type, 0);
54
60
  _this.q = new List$1(Tuple$2.$.specialize(SVGNode.$, Base.$), 0);
55
61
  _this.r = new List$1(Tuple$2.$.specialize(SVGNode.$, Base.$), 0);
56
- _this.d = new FastIterationDictionary$2(String_$type, List$1.$.specialize(Tuple$2.$.specialize(SVGNode.$, Base.$)), 0);
62
+ _this.s = new List$1(Tuple$2.$.specialize(SVGNode.$, Base.$), 0);
63
+ _this.t = new List$1(Tuple$2.$.specialize(SVGNode.$, Base.$), 0);
64
+ _this.u = new List$1(Tuple$2.$.specialize(SVGNode.$, Base.$), 0);
57
65
  _this.e = new FastIterationDictionary$2(String_$type, List$1.$.specialize(Tuple$2.$.specialize(SVGNode.$, Base.$)), 0);
66
+ _this.f = new FastIterationDictionary$2(String_$type, List$1.$.specialize(Tuple$2.$.specialize(SVGNode.$, Base.$)), 0);
58
67
  return _this;
59
68
  }
60
- IconView.prototype.ag = function () {
69
+ IconView.prototype.ak = function () {
61
70
  };
62
- IconView.prototype.i = function () {
71
+ IconView.prototype.l = function () {
63
72
  return true;
64
73
  };
65
- Object.defineProperty(IconView.prototype, "w", {
74
+ Object.defineProperty(IconView.prototype, "z", {
66
75
  get: function () {
67
- return this.v;
76
+ return this.y;
68
77
  },
69
78
  enumerable: false,
70
79
  configurable: true
71
80
  });
72
- Object.defineProperty(IconView.prototype, "x", {
81
+ Object.defineProperty(IconView.prototype, "aa", {
73
82
  get: function () {
74
83
  return null;
75
84
  },
76
85
  enumerable: false,
77
86
  configurable: true
78
87
  });
79
- Object.defineProperty(IconView.prototype, "b", {
88
+ Object.defineProperty(IconView.prototype, "c", {
80
89
  get: function () {
81
- return this.m.toArray();
90
+ return this.p.toArray();
82
91
  },
83
92
  enumerable: false,
84
93
  configurable: true
85
94
  });
86
- Object.defineProperty(IconView.prototype, "j", {
95
+ Object.defineProperty(IconView.prototype, "m", {
87
96
  get: function () {
88
97
  return true;
89
98
  },
90
99
  enumerable: false,
91
100
  configurable: true
92
101
  });
93
- IconView.prototype.ae = function (a) {
102
+ IconView.prototype.ai = function (a) {
94
103
  var e_1, _a;
95
104
  if (a == null) {
96
105
  try {
97
- for (var _b = __values(fromEnum(this.l)), _c = _b.next(); !_c.done; _c = _b.next()) {
106
+ for (var _b = __values(fromEnum(this.o)), _c = _b.next(); !_c.done; _c = _b.next()) {
98
107
  var b = _c.value;
99
108
  b();
100
109
  }
@@ -112,109 +121,109 @@ var IconView = /** @class */ /*@__PURE__*/ (function (_super) {
112
121
  throw e_1.error;
113
122
  }
114
123
  }
115
- this.l.clear();
116
- if (this.v != null) {
117
- this.v.unlistenAll();
124
+ this.o.clear();
125
+ if (this.y != null) {
126
+ this.y.unlistenAll();
118
127
  }
119
- if (this.u != null) {
120
- this.u.unlistenAll();
128
+ if (this.x != null) {
129
+ this.x.unlistenAll();
121
130
  }
122
131
  }
123
- this.s = a;
132
+ this.v = a;
124
133
  a.rootWrapper.setStyleProperty("position", "relative");
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");
134
+ this.v.rootWrapper.setStyleProperty("display", "flex");
135
+ this.v.rootWrapper.setStyleProperty("flex-direction", "row");
136
+ this.v.rootWrapper.setStyleProperty("flex-wrap", "no-wrap");
137
+ this.v.rootWrapper.setStyleProperty("align-items", "center");
138
+ this.v.rootWrapper.setStyleProperty("justify-content", "center");
139
+ this.ar();
140
+ var c = this.v.createElementNS("svg", "http://www.w3.org/2000/svg");
132
141
  c.setStyleProperty("position", "absolute");
133
142
  c.setStyleProperty("top", "0");
134
143
  c.setStyleProperty("left", "0");
135
144
  c.setStyleProperty("right", "0");
136
145
  c.setStyleProperty("bottom", "0");
137
- this.v = c;
138
- var d = this.s.createElement("img");
146
+ this.y = c;
147
+ var d = this.v.createElement("img");
139
148
  d.setStyleProperty("height", "100%");
140
149
  d.setStyleProperty("width", "100%");
141
150
  d.setStyleProperty("object-fit", "contain");
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();
151
+ this.x = d;
152
+ this.aw();
153
+ this.w = a.createElementNS("defs", "http://www.w3.org/2000/svg");
154
+ this.y.append(this.w);
155
+ this.v.append(this.y);
156
+ this.o.add(c.listen("click", runOn(this, this.ah)));
157
+ this.d.cc();
149
158
  };
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();
159
+ IconView.prototype.at = function (a) {
160
+ this.n.clear();
161
+ this.v.rootWrapper.removeChildren();
162
+ this.v.rootWrapper.append(this.y);
163
+ this.y.removeChildren();
164
+ this.w.removeChildren();
165
+ this.p.clear();
157
166
  if (a != null) {
158
- var b = this.s.createElementNS("path", "http://www.w3.org/2000/svg");
167
+ var b = this.v.createElementNS("path", "http://www.w3.org/2000/svg");
159
168
  b.setAttribute("d", a);
160
- this.v.append(this.t);
161
- this.v.append(b);
162
- this.m.add(b);
169
+ this.y.append(this.w);
170
+ this.y.append(b);
171
+ this.p.add(b);
163
172
  }
164
173
  };
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();
174
+ IconView.prototype.au = function (a) {
175
+ this.n.clear();
176
+ this.v.rootWrapper.removeChildren();
177
+ this.v.rootWrapper.append(this.y);
178
+ this.y.removeChildren();
179
+ this.w.removeChildren();
180
+ this.p.clear();
172
181
  if (a != null && a.length > 0) {
173
- this.v.append(this.t);
182
+ this.y.append(this.w);
174
183
  for (var b = 0; b < a.length; b++) {
175
- var c = this.s.createElementNS("path", "http://www.w3.org/2000/svg");
184
+ var c = this.v.createElementNS("path", "http://www.w3.org/2000/svg");
176
185
  c.setAttribute("d", a[b]);
177
- this.v.append(c);
178
- this.m.add(c);
186
+ this.y.append(c);
187
+ this.p.add(c);
179
188
  }
180
189
  }
181
190
  };
182
- IconView.prototype.an = function (a) {
183
- this.s.rootWrapper.removeChildren();
191
+ IconView.prototype.as = function (a) {
192
+ this.v.rootWrapper.removeChildren();
184
193
  if (a != null) {
185
- var b = this.s.rootWrapper.getNativeElement();
194
+ var b = this.v.rootWrapper.getNativeElement();
186
195
  b.innerHTML = a;
187
196
  }
188
197
  };
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);
198
+ IconView.prototype.ap = function (a) {
199
+ if (this.ab != a) {
200
+ this.ab = a;
201
+ this.v.rootWrapper.removeChildren();
202
+ this.v.rootWrapper.append(this.x);
203
+ this.x.setAttribute("src", a);
195
204
  }
196
205
  };
197
- IconView.prototype.h = function () {
198
- return this.c.svgPath != null || this.c.svg != null || this.c.b != null;
199
- };
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");
206
+ IconView.prototype.k = function () {
207
+ return this.d.svgPath != null || this.d.svg != null || this.d.b != null;
203
208
  };
204
209
  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);
210
+ this.v.rootWrapper.setStyleProperty("width", isNaN_(this.d.aq) ? "1.5rem" : this.d.aq + "px");
211
+ this.v.rootWrapper.setStyleProperty("height", isNaN_(this.d.ai) ? "1.5rem" : this.d.ai + "px");
212
+ };
213
+ IconView.prototype.aw = function () {
214
+ var a = isNaN_(this.d.an) ? 0 : this.d.an;
215
+ var b = isNaN_(this.d.ao) ? 0 : this.d.ao;
216
+ var c = isNaN_(this.d.ap) ? 24 : this.d.ap;
217
+ var d = isNaN_(this.d.am) ? 24 : this.d.am;
218
+ this.y.setAttribute("viewBox", a + " " + b + " " + c + " " + d);
210
219
  };
211
- IconView.prototype.ai = function (a, b) {
220
+ IconView.prototype.am = function (a, b) {
212
221
  var c = a.color;
213
- if (!this.k.containsKey(a)) {
222
+ if (!this.n.containsKey(a)) {
214
223
  if (a.isGradient) {
215
- var d = this.t.getChildCount();
224
+ var d = this.w.getChildCount();
216
225
  var e = a;
217
- var f = this.s.createElementNS("linearGradient", "http://www.w3.org/2000/svg");
226
+ var f = this.v.createElementNS("linearGradient", "http://www.w3.org/2000/svg");
218
227
  var g = "ig_gradient_" + b + "_" + d;
219
228
  f.setAttribute("id", g);
220
229
  f.setAttribute("x1", e.startX.toString());
@@ -224,60 +233,60 @@ var IconView = /** @class */ /*@__PURE__*/ (function (_super) {
224
233
  var j = e.gradientStops;
225
234
  for (var i = 0; i < j.length; i++) {
226
235
  var h = j[i];
227
- var k = this.s.createElementNS("stop", "http://www.w3.org/2000/svg");
236
+ var k = this.v.createElementNS("stop", "http://www.w3.org/2000/svg");
228
237
  k.setAttribute("offset", h.offset * 100 + "%");
229
238
  k.setAttribute("stop-color", h._fill);
230
239
  f.append(k);
231
240
  }
232
- this.t.append(f);
233
- this.k.addItem(a, g);
241
+ this.w.append(f);
242
+ this.n.addItem(a, g);
234
243
  }
235
244
  else if (a.isRadialGradient) {
236
245
  }
237
246
  }
238
247
  };
239
- IconView.prototype.aj = function (a, b) {
248
+ IconView.prototype.an = function (a, b) {
240
249
  var c = a;
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);
250
+ if (this.n.containsKey(b)) {
251
+ c.setAttribute("fill", "url(#" + this.n.item(b) + ")");
252
+ this.v.rootWrapper.removeChildren();
253
+ this.v.rootWrapper.append(this.y);
245
254
  }
246
255
  else {
247
256
  NativeUI.r(a, b);
248
257
  }
249
258
  };
250
- IconView.prototype.ak = function (a, b) {
259
+ IconView.prototype.ao = function (a, b) {
251
260
  var c = a;
252
- if (this.k.containsKey(b)) {
253
- c.setAttribute("stroke", "url('#" + this.k.item(b) + "')");
261
+ if (this.n.containsKey(b)) {
262
+ c.setAttribute("stroke", "url('#" + this.n.item(b) + "')");
254
263
  }
255
264
  else {
256
265
  NativeUI.aa(a, b);
257
266
  }
258
267
  };
259
- IconView.prototype.z = function (a) {
268
+ IconView.prototype.ac = function (a) {
260
269
  };
261
- IconView.prototype.ah = function () {
262
- if (this.i()) {
270
+ IconView.prototype.al = function () {
271
+ if (this.l()) {
263
272
  }
264
273
  };
265
- IconView.prototype.aa = function (a) {
266
- this.c.b9();
274
+ IconView.prototype.ad = function (a) {
275
+ this.d.b9();
267
276
  };
268
- IconView.prototype.ab = function (a) {
269
- this.c.ca();
277
+ IconView.prototype.ae = function (a) {
278
+ this.d.ca();
270
279
  };
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)));
280
+ IconView.prototype.ag = function () {
281
+ this.j = true;
282
+ this.o.add(this.v.rootWrapper.listen("mouseenter", runOn(this, this.ad)));
283
+ this.o.add(this.v.rootWrapper.listen("mouseleave", runOn(this, this.ae)));
275
284
  };
276
- IconView.prototype.af = function () {
285
+ IconView.prototype.aj = function () {
277
286
  var e_2, _a;
278
- this.g = false;
287
+ this.j = false;
279
288
  try {
280
- for (var _b = __values(fromEnum(this.l)), _c = _b.next(); !_c.done; _c = _b.next()) {
289
+ for (var _b = __values(fromEnum(this.o)), _c = _b.next(); !_c.done; _c = _b.next()) {
281
290
  var a = _c.value;
282
291
  a();
283
292
  }
@@ -295,15 +304,15 @@ var IconView = /** @class */ /*@__PURE__*/ (function (_super) {
295
304
  throw e_2.error;
296
305
  }
297
306
  }
298
- this.l.clear();
307
+ this.o.clear();
299
308
  };
300
- IconView.prototype.aq = function (a) {
309
+ IconView.prototype.av = function (a) {
301
310
  if (a != null) {
302
- this.s.rootWrapper.setStyleProperty("font", a.fontString);
311
+ this.v.rootWrapper.setStyleProperty("font", a.fontString);
303
312
  }
304
313
  };
305
- IconView.prototype.a = function () {
306
- var rect_ = this.s.rootWrapper.getNativeElement().getBoundingClientRect();
314
+ IconView.prototype.b = function () {
315
+ var rect_ = this.v.rootWrapper.getNativeElement().getBoundingClientRect();
307
316
  var a = (rect_.top);
308
317
  var b = (rect_.left);
309
318
  var c = new Array(2);
@@ -311,8 +320,102 @@ var IconView = /** @class */ /*@__PURE__*/ (function (_super) {
311
320
  c[1] = b;
312
321
  return c;
313
322
  };
314
- IconView.prototype.ad = function (a) {
315
- this.c.b7();
323
+ IconView.prototype.ah = function (a) {
324
+ this.d.b7();
325
+ };
326
+ IconView.prototype.a = function () {
327
+ var a = new List$1(PrimitiveVisualData.$, 0);
328
+ var b = this.v.rootWrapper.getNativeElement();
329
+ return a.toArray();
330
+ };
331
+ IconView.prototype.af = function (a, b) {
332
+ for (var c = 0; c < b.e.count; c++) {
333
+ var d = b.e._inner[c];
334
+ var e = this.h(d);
335
+ if (e != null) {
336
+ a.add(e);
337
+ }
338
+ else {
339
+ this.af(a, d);
340
+ }
341
+ }
342
+ };
343
+ IconView.prototype.h = function (a) {
344
+ var b = null;
345
+ switch (a.c) {
346
+ case 7:
347
+ var c = ((function () {
348
+ var $ret = new Path();
349
+ $ret.an = a.w;
350
+ return $ret;
351
+ })());
352
+ this.aq(c, a);
353
+ b = new PathVisualData(1, "path1", c);
354
+ break;
355
+ case 3:
356
+ var d = a;
357
+ var e = new Line();
358
+ e.an = d.w;
359
+ e.ao = d.x;
360
+ e.ap = d.y;
361
+ e.aq = d.z;
362
+ this.aq(e, a);
363
+ b = new LineVisualData(1, "line1", e);
364
+ break;
365
+ case 4:
366
+ var f = a;
367
+ var g = new Rectangle();
368
+ g.width = f.z;
369
+ g.height = f.w;
370
+ g.ap = f.x;
371
+ g.aq = f.y;
372
+ this.aq(g, a);
373
+ b = new RectangleVisualData(1, "rect1", g);
374
+ break;
375
+ case 5:
376
+ case 6:
377
+ var h = a;
378
+ var i = new Ellipse();
379
+ i.width = h.y * 2;
380
+ i.height = h.z * 2;
381
+ this.aq(i, a);
382
+ b = new EllipseVisualData(1, "ellipse1", i);
383
+ break;
384
+ }
385
+ return b;
386
+ };
387
+ IconView.prototype.aq = function (a, b) {
388
+ var c = b;
389
+ a.ad = b.t;
390
+ a.j = c.h;
391
+ a.am = c.v;
392
+ a.al = c.u;
393
+ a.ak = c.u;
394
+ a._opacity = c.q;
395
+ if (c.i != null) {
396
+ var d = new DoubleCollection();
397
+ var g = c.i;
398
+ for (var f = 0; f < g.length; f++) {
399
+ var e = g[f];
400
+ d.add(e);
401
+ }
402
+ a.ai = d;
403
+ }
404
+ };
405
+ IconView.prototype.i = function (a) {
406
+ if (typeCast(Path.$, a) !== null) {
407
+ return new PathVisualData(1, "path1", a);
408
+ }
409
+ else if (typeCast(Line.$, a) !== null) {
410
+ return new LineVisualData(1, "line1", a);
411
+ }
412
+ else if (typeCast(Rectangle.$, a) !== null) {
413
+ return new RectangleVisualData(1, "rect1", a);
414
+ }
415
+ else if (typeCast(Ellipse.$, a) !== null) {
416
+ return new EllipseVisualData(1, "ellipse1", a);
417
+ }
418
+ return null;
316
419
  };
317
420
  IconView.$t = markType(IconView, 'IconView');
318
421
  return IconView;
@@ -366,9 +469,9 @@ var XIcon = /** @class */ /*@__PURE__*/ (function (_super) {
366
469
  _this.clicked = null;
367
470
  _this.propertyChanged = null;
368
471
  var a = new IconView();
369
- a.c = _this;
472
+ a.d = _this;
370
473
  _this.view = a;
371
- _this.view.ag();
474
+ _this.view.ak();
372
475
  return _this;
373
476
  }
374
477
  Object.defineProperty(XIcon.prototype, "view", {
@@ -436,11 +539,11 @@ var XIcon = /** @class */ /*@__PURE__*/ (function (_super) {
436
539
  case "ViewBoxTop":
437
540
  case "ViewBoxWidth":
438
541
  case "ViewBoxHeight":
439
- this.view.ar();
542
+ this.view.aw();
440
543
  break;
441
544
  case "Width":
442
545
  case "Height":
443
- this.view.am();
546
+ this.view.ar();
444
547
  break;
445
548
  }
446
549
  };
@@ -464,18 +567,18 @@ var XIcon = /** @class */ /*@__PURE__*/ (function (_super) {
464
567
  };
465
568
  Object.defineProperty(XIcon.prototype, "r", {
466
569
  get: function () {
467
- return this.svgPath != null && !this.view.j;
570
+ return this.svgPath != null && !this.view.m;
468
571
  },
469
572
  enumerable: false,
470
573
  configurable: true
471
574
  });
472
575
  XIcon.prototype.ch = function () {
473
- NativeUI.y(this.view.w, this.ak);
576
+ NativeUI.y(this.view.z, this.ak);
474
577
  };
475
578
  XIcon.prototype.cg = function () {
476
- var a = this.view.w;
579
+ var a = this.view.z;
477
580
  if (this.r) {
478
- var b = this.view.x;
581
+ var b = this.view.aa;
479
582
  NativeUI.r(b, this.cw);
480
583
  NativeUI.aa(b, this.cx);
481
584
  NativeUI.ad(b, this.af);
@@ -484,22 +587,22 @@ var XIcon = /** @class */ /*@__PURE__*/ (function (_super) {
484
587
  var c = false;
485
588
  if (this.svgPath != null) {
486
589
  if (stringStartsWith(trimStart(this.svgPath, ' ', '\n', '\r', '\t'), "<svg")) {
487
- this.view.an(this.svgPath);
590
+ this.view.as(this.svgPath);
488
591
  c = true;
489
592
  }
490
593
  else {
491
- this.view.ao(this.svgPath);
594
+ this.view.at(this.svgPath);
492
595
  }
493
596
  }
494
597
  else if (this.b != null) {
495
- this.view.ap(this.b);
496
- var d = this.view.b;
598
+ this.view.au(this.b);
599
+ var d = this.view.c;
497
600
  if (d != null && d.length > 0) {
498
601
  var e = NativeUI.r;
499
602
  var f = NativeUI.aa;
500
603
  this.cd();
501
- e = runOn(this.view, this.view.aj);
502
- f = runOn(this.view, this.view.ak);
604
+ e = runOn(this.view, this.view.an);
605
+ f = runOn(this.view, this.view.ao);
503
606
  for (var g = 0; g < d.length; g++) {
504
607
  if (this.cw != null) {
505
608
  e(d[g], this.cw);
@@ -522,63 +625,63 @@ var XIcon = /** @class */ /*@__PURE__*/ (function (_super) {
522
625
  }
523
626
  }
524
627
  if (this.m != null) {
525
- this.view.aq(this.m);
628
+ this.view.av(this.m);
526
629
  }
527
630
  return;
528
631
  }
529
632
  else if (this.svg != null) {
530
- this.view.an(this.svg);
633
+ this.view.as(this.svg);
531
634
  c = true;
532
635
  }
533
636
  else if (this.a7 != null) {
534
- this.view.al(this.a7);
637
+ this.view.ap(this.a7);
535
638
  }
536
639
  if (c) {
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));
640
+ for (var h = 0; h < this.view.r.count; h++) {
641
+ var i = this.view.r._inner[h].c;
642
+ NativeUI.r(this.view.r._inner[h].d, i.l.f(this.c8));
540
643
  }
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));
644
+ for (var j = 0; j < this.view.s.count; j++) {
645
+ var k = this.view.s._inner[j].c;
646
+ NativeUI.aa(this.view.s._inner[j].d, k.m.f(this.c9));
544
647
  }
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));
648
+ for (var l = 0; l < this.view.t.count; l++) {
649
+ var m = this.view.t._inner[l].c;
650
+ NativeUI.r(this.view.t._inner[l].d, m.l.f(this.da));
548
651
  }
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));
652
+ for (var n = 0; n < this.view.u.count; n++) {
653
+ var o = this.view.u._inner[n].c;
654
+ NativeUI.aa(this.view.u._inner[n].d, o.m.f(this.db));
552
655
  }
553
- for (var p = 0; p < this.view.d.o.count; p++) {
554
- var q = this.view.d.o._inner[p];
656
+ for (var p = 0; p < this.view.e.o.count; p++) {
657
+ var q = this.view.e.o._inner[p];
555
658
  var r = q.split('-');
556
659
  var s = parseInt(r[r.length - 1]);
557
660
  if (s < this.e.count) {
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)));
661
+ for (var t = 0; t < this.view.e.q._inner[p].count; t++) {
662
+ var u = this.view.e.q._inner[p]._inner[t].c;
663
+ NativeUI.r(this.view.e.q._inner[p]._inner[t].d, u.l.f(this.e.item(s)));
561
664
  }
562
665
  }
563
666
  }
564
- for (var v = 0; v < this.view.e.o.count; v++) {
565
- var w = this.view.e.o._inner[v];
667
+ for (var v = 0; v < this.view.f.o.count; v++) {
668
+ var w = this.view.f.o._inner[v];
566
669
  var x = w.split('-');
567
670
  var y = parseInt(x[x.length - 1]);
568
671
  if (y < this.f.count) {
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)));
672
+ for (var z = 0; z < this.view.f.q._inner[v].count; z++) {
673
+ var aa = this.view.f.q._inner[v]._inner[z].c;
674
+ NativeUI.aa(this.view.f.q._inner[v]._inner[z].d, aa.m.f(this.f.item(y)));
572
675
  }
573
676
  }
574
677
  }
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));
678
+ for (var ab = 0; ab < this.view.q.count; ab++) {
679
+ var ac = this.view.q._inner[ab].c;
680
+ NativeUI.r(this.view.q._inner[ab].d, ac.l.f(this.cw));
681
+ NativeUI.aa(this.view.q._inner[ab].d, ac.m.f(this.cx));
579
682
  }
580
683
  }
581
- var ad = this.view.w;
684
+ var ad = this.view.z;
582
685
  if (this.cw != null) {
583
686
  NativeUI.r(ad, this.cw);
584
687
  }
@@ -590,25 +693,25 @@ var XIcon = /** @class */ /*@__PURE__*/ (function (_super) {
590
693
  }
591
694
  }
592
695
  if (this.m != null) {
593
- this.view.aq(this.m);
696
+ this.view.av(this.m);
594
697
  }
595
698
  if (this.cy != null) {
596
- NativeUI.q(this.view.w, this.cy);
699
+ NativeUI.q(this.view.z, this.cy);
597
700
  }
598
701
  };
599
702
  XIcon.prototype.cd = function () {
600
703
  var e_3, _a, e_4, _b;
601
704
  if (this.cw != null) {
602
- this.view.ai(this.cw, "fill");
705
+ this.view.am(this.cw, "fill");
603
706
  }
604
707
  if (this.cx != null) {
605
- this.view.ai(this.cx, "stroke");
708
+ this.view.am(this.cx, "stroke");
606
709
  }
607
710
  if (this.e != null) {
608
711
  try {
609
712
  for (var _c = __values(fromEnum(this.e)), _d = _c.next(); !_d.done; _d = _c.next()) {
610
713
  var a = _d.value;
611
- this.view.ai(a, "fills");
714
+ this.view.am(a, "fills");
612
715
  }
613
716
  }
614
717
  catch (e_3_1) {
@@ -629,7 +732,7 @@ var XIcon = /** @class */ /*@__PURE__*/ (function (_super) {
629
732
  try {
630
733
  for (var _e = __values(fromEnum(this.f)), _f = _e.next(); !_f.done; _f = _e.next()) {
631
734
  var b = _f.value;
632
- this.view.ai(b, "strokes");
735
+ this.view.am(b, "strokes");
633
736
  }
634
737
  }
635
738
  catch (e_4_1) {
@@ -1168,10 +1271,10 @@ var XIcon = /** @class */ /*@__PURE__*/ (function (_super) {
1168
1271
  XIcon.prototype.cc = function () {
1169
1272
  };
1170
1273
  XIcon.prototype.onDetachedFromUI = function () {
1171
- this.view.af();
1274
+ this.view.aj();
1172
1275
  };
1173
1276
  XIcon.prototype.onAttachedToUI = function () {
1174
- this.view.ac();
1277
+ this.view.ag();
1175
1278
  };
1176
1279
  XIcon.prototype.b7 = function () {
1177
1280
  if (this.disabled) {
@@ -1182,61 +1285,58 @@ var XIcon = /** @class */ /*@__PURE__*/ (function (_super) {
1182
1285
  }
1183
1286
  };
1184
1287
  XIcon.prototype.u = function () {
1185
- return this.view.i();
1288
+ return this.view.l();
1186
1289
  };
1187
1290
  XIcon.prototype.au = function () {
1188
1291
  return this.g();
1189
1292
  };
1190
1293
  XIcon.prototype.a9 = function () {
1191
1294
  var a = this.g();
1192
- return a.k();
1295
+ return a.l();
1193
1296
  };
1194
1297
  XIcon.prototype.g = function () {
1195
1298
  var a = new IconVisualModelExport();
1196
- var b = this.view.w;
1197
- a.a = AppearanceHelper.a(NativeUI.al(b));
1198
- a.c = AppearanceHelper.a(NativeUI.al(b));
1199
- a.b = AppearanceHelper.a(NativeUI.am(b));
1200
- a.d = this.af;
1201
- var c = this.view.a();
1202
- a.h = c[0];
1203
- a.f = c[1];
1204
- a.e = NativeUI.d(b);
1205
- a.i = NativeUI.k(b);
1299
+ var b = this.view.b();
1300
+ a.i = b[0];
1301
+ a.g = b[1];
1302
+ a.f = NativeUI.d(this.view.z);
1303
+ a.j = NativeUI.k(this.view.z);
1304
+ a.a = this.view.a();
1305
+ a.svg = this.svg;
1206
1306
  a.svgPath = this.svgPath;
1207
- a.j = this.a7;
1307
+ a.k = this.a7;
1208
1308
  if (this.m != null) {
1209
- var d = this.m;
1210
- if (this.view != null && d.q == null) {
1211
- var e = this.view.s;
1212
- var f = FontUtil.getFontInfoFromString(e, d.fontString);
1213
- d.q = f.q;
1214
- d.f = f.f;
1215
- d.r = f.r;
1216
- d.t = f.t;
1217
- d.u = f.u;
1218
- d.v = f.v;
1309
+ var c = this.m;
1310
+ if (this.view != null && c.q == null) {
1311
+ var d = this.view.v;
1312
+ var e = FontUtil.getFontInfoFromString(d, c.fontString);
1313
+ c.q = e.q;
1314
+ c.f = e.f;
1315
+ c.r = e.r;
1316
+ c.t = e.t;
1317
+ c.u = e.u;
1318
+ c.v = e.v;
1219
1319
  }
1220
- if (d.q != null) {
1221
- a.m = d.q;
1320
+ if (c.q != null) {
1321
+ a.o = c.q;
1222
1322
  }
1223
- if (!isNaN_(d.f)) {
1224
- a.g = d.f;
1323
+ if (!isNaN_(c.f)) {
1324
+ a.h = c.f;
1225
1325
  }
1226
- if (d.v != null) {
1227
- a.q = d.v;
1326
+ if (c.v != null) {
1327
+ a.s = c.v;
1228
1328
  }
1229
- if (d.t != null) {
1230
- a.o = d.t;
1329
+ if (c.t != null) {
1330
+ a.q = c.t;
1231
1331
  }
1232
- if (d.r != null) {
1233
- a.n = d.t;
1332
+ if (c.r != null) {
1333
+ a.p = c.t;
1234
1334
  }
1235
1335
  }
1236
1336
  return a;
1237
1337
  };
1238
1338
  XIcon.prototype.provideContainer = function (a) {
1239
- this.view.ae(a);
1339
+ this.view.ai(a);
1240
1340
  };
1241
1341
  XIcon.$t = markType(XIcon, 'XIcon', Base.$, [INotifyPropertyChanged_$type, IIcon_$type]);
1242
1342
  XIcon.cz = null;