igniteui-webcomponents-inputs 6.2.2-alpha.2 → 6.3.0-beta.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 (57) hide show
  1. package/bundles/igniteui-webcomponents-inputs.umd.js +1336 -1142
  2. package/bundles/igniteui-webcomponents-inputs.umd.min.js +1 -1
  3. package/esm2015/lib/ButtonGroupView_combined.js +1 -1
  4. package/esm2015/lib/ButtonGroupVisualModelExport.js +9 -1
  5. package/esm2015/lib/ButtonView_combined.js +315 -308
  6. package/esm2015/lib/CheckboxListVisualModelExport.js +43 -0
  7. package/esm2015/lib/CheckboxView_combined.js +179 -164
  8. package/esm2015/lib/CheckboxVisualModelExport.js +14 -6
  9. package/esm2015/lib/ColorEditorVisualModelExport.js +40 -0
  10. package/esm2015/lib/IconView_combined.js +27 -22
  11. package/esm2015/lib/InputGroupView_combined.js +274 -262
  12. package/esm2015/lib/InputGroupVisualModelExport.js +2 -2
  13. package/esm2015/lib/InputVisualModelExport.js +34 -32
  14. package/esm2015/lib/MultiSliderView_combined.js +2 -2
  15. package/esm2015/lib/NativeUIXInputsFactory_combined.js +324 -299
  16. package/esm2015/lib/XButtonBridge.js +1 -1
  17. package/esm2015/lib/XButtonGroupBridge.js +7 -1
  18. package/esm2015/lib/XCheckboxBridge.js +2 -1
  19. package/esm2015/lib/XIconBridge.js +2 -1
  20. package/esm2015/lib/XInputBridge.js +11 -1
  21. package/esm2015/lib/igc-color-editor-component.js +63 -47
  22. package/esm2015/public_api.js +2 -0
  23. package/esm5/lib/ButtonGroupView_combined.js +1 -1
  24. package/esm5/lib/ButtonGroupVisualModelExport.js +9 -1
  25. package/esm5/lib/ButtonView_combined.js +315 -308
  26. package/esm5/lib/CheckboxListVisualModelExport.js +45 -0
  27. package/esm5/lib/CheckboxView_combined.js +177 -162
  28. package/esm5/lib/CheckboxVisualModelExport.js +14 -6
  29. package/esm5/lib/ColorEditorVisualModelExport.js +42 -0
  30. package/esm5/lib/IconView_combined.js +32 -27
  31. package/esm5/lib/InputGroupView_combined.js +275 -263
  32. package/esm5/lib/InputGroupVisualModelExport.js +2 -2
  33. package/esm5/lib/InputVisualModelExport.js +34 -32
  34. package/esm5/lib/MultiSliderView_combined.js +2 -2
  35. package/esm5/lib/NativeUIXInputsFactory_combined.js +315 -290
  36. package/esm5/lib/XButtonBridge.js +1 -1
  37. package/esm5/lib/XButtonGroupBridge.js +7 -1
  38. package/esm5/lib/XCheckboxBridge.js +2 -1
  39. package/esm5/lib/XIconBridge.js +2 -1
  40. package/esm5/lib/XInputBridge.js +11 -1
  41. package/esm5/lib/igc-color-editor-component.js +63 -47
  42. package/esm5/public_api.js +2 -0
  43. package/fesm2015/igniteui-webcomponents-inputs.js +1342 -1150
  44. package/fesm5/igniteui-webcomponents-inputs.js +1336 -1144
  45. package/lib/ButtonGroupVisualModelExport.d.ts +5 -1
  46. package/lib/ButtonView_combined.d.ts +42 -41
  47. package/lib/CheckboxListVisualModelExport.d.ts +18 -0
  48. package/lib/CheckboxView_combined.d.ts +30 -29
  49. package/lib/CheckboxVisualModelExport.d.ts +7 -3
  50. package/lib/ColorEditorVisualModelExport.d.ts +17 -0
  51. package/lib/IconView_combined.d.ts +2 -0
  52. package/lib/InputGroupView_combined.d.ts +57 -56
  53. package/lib/InputVisualModelExport.d.ts +14 -12
  54. package/lib/NativeUIXInputsFactory_combined.d.ts +90 -85
  55. package/lib/igc-color-editor-component.d.ts +10 -0
  56. package/package.json +2 -2
  57. package/public_api.d.ts +2 -0
@@ -38,46 +38,46 @@ var ButtonView = /** @class */ /*@__PURE__*/ (function (_super) {
38
38
  __extends(ButtonView, _super);
39
39
  function ButtonView() {
40
40
  var _this = _super.call(this) || this;
41
- _this.b = null;
42
- _this.k = null;
43
- _this.d = null;
44
- _this.h = new List$1(Delegate_$type, 0);
45
- _this.e = true;
46
- _this.n = null;
47
- _this.j = NaN;
48
- _this.i = NaN;
49
- _this.l = null;
50
41
  _this.c = null;
42
+ _this.l = null;
43
+ _this.e = null;
44
+ _this.i = new List$1(Delegate_$type, 0);
45
+ _this.f = true;
46
+ _this.o = null;
47
+ _this.k = NaN;
48
+ _this.j = NaN;
51
49
  _this.m = null;
50
+ _this.d = null;
51
+ _this.n = null;
52
+ _this.q = null;
52
53
  _this.p = null;
53
- _this.o = null;
54
54
  return _this;
55
55
  }
56
- ButtonView.prototype.aq = function () {
56
+ ButtonView.prototype.ar = function () {
57
57
  };
58
- ButtonView.prototype.g = function () {
58
+ ButtonView.prototype.h = function () {
59
59
  return true;
60
60
  };
61
- Object.defineProperty(ButtonView.prototype, "q", {
61
+ Object.defineProperty(ButtonView.prototype, "r", {
62
62
  get: function () {
63
- return this.n;
63
+ return this.o;
64
64
  },
65
65
  enumerable: false,
66
66
  configurable: true
67
67
  });
68
- Object.defineProperty(ButtonView.prototype, "s", {
68
+ Object.defineProperty(ButtonView.prototype, "t", {
69
69
  get: function () {
70
- return this.m;
70
+ return this.n;
71
71
  },
72
72
  enumerable: false,
73
73
  configurable: true
74
74
  });
75
- ButtonView.prototype.ak = function (a) {
75
+ ButtonView.prototype.al = function (a) {
76
76
  var e_1, _a;
77
77
  var _this = this;
78
78
  if (a == null) {
79
79
  try {
80
- for (var _b = __values(fromEnum(this.h)), _c = _b.next(); !_c.done; _c = _b.next()) {
80
+ for (var _b = __values(fromEnum(this.i)), _c = _b.next(); !_c.done; _c = _b.next()) {
81
81
  var b = _c.value;
82
82
  b();
83
83
  }
@@ -95,46 +95,46 @@ var ButtonView = /** @class */ /*@__PURE__*/ (function (_super) {
95
95
  throw e_1.error;
96
96
  }
97
97
  }
98
- this.h.clear();
98
+ this.i.clear();
99
99
  return;
100
100
  }
101
- this.k = a;
102
- this.k.rootWrapper.setStyleProperty("display", "flex");
103
- this.k.rootWrapper.setStyleProperty("flex-direction", "row");
104
- this.k.rootWrapper.setStyleProperty("flex-wrap", "no-wrap");
105
- this.k.rootWrapper.setStyleProperty("align-items", "center");
106
- var c = this.k.createElement("button");
107
- this.n = c;
108
- this.n.setStyleProperty("position", "relative");
109
- this.n.setStyleProperty("display", "inline-flex");
110
- this.n.setStyleProperty("align-items", "center");
111
- this.n.setStyleProperty("justify-content", "center");
112
- this.a0();
113
- this.n.setStyleProperty("border", "none");
114
- this.n.setStyleProperty("cursor", "pointer");
115
- this.n.setStyleProperty("user-select", "none");
116
- this.n.setStyleProperty("outline-style", "none");
117
- this.n.setStyleProperty("-webkit-tap-highlight-color", "transparent");
118
- this.n.setStyleProperty("overflow", "hidden");
119
- this.n.setStyleProperty("white-space", "no-wrap");
120
- this.n.setStyleProperty("color", "#000");
121
- this.n.setStyleProperty("background", this.b.no._fill);
122
- NativeUI.o(this.n, this.b.kz);
123
- this.n.setAttribute("id", this.b.hy);
124
- this.ax();
125
- this.h.add(c.listen("change", runOn(this, this.z)));
126
- this.h.add(c.listen("click", runOn(this, this.aa)));
127
- this.h.add(c.listen("focus", runOn(this, this.ab)));
128
- this.h.add(c.listen("blur", runOn(this, this.y)));
129
- this.h.add(this.k.rootWrapper.listen("mouseenter", runOn(this, this.v)));
130
- this.h.add(this.k.rootWrapper.listen("mouseleave", runOn(this, this.w)));
131
- this.h.add(this.k.rootWrapper.listen("mousedown", runOn(this, this.u)));
132
- this.h.add(this.k.rootWrapper.listen("mouseup", runOn(this, this.x)));
133
- this.h.add(this.k.rootWrapper.listen("focusin", runOn(this, this.ac)));
134
- this.h.add(this.k.rootWrapper.listen("focusout", runOn(this, this.ad)));
135
- this.k.append(c);
136
- var d = this.k.createElement("div");
137
- var e = this.k.getSubRenderer(d);
101
+ this.l = a;
102
+ this.l.rootWrapper.setStyleProperty("display", "flex");
103
+ this.l.rootWrapper.setStyleProperty("flex-direction", "row");
104
+ this.l.rootWrapper.setStyleProperty("flex-wrap", "no-wrap");
105
+ this.l.rootWrapper.setStyleProperty("align-items", "center");
106
+ var c = this.l.createElement("button");
107
+ this.o = c;
108
+ this.o.setStyleProperty("position", "relative");
109
+ this.o.setStyleProperty("display", "inline-flex");
110
+ this.o.setStyleProperty("align-items", "center");
111
+ this.o.setStyleProperty("justify-content", "center");
112
+ this.a1();
113
+ this.o.setStyleProperty("border", "none");
114
+ this.o.setStyleProperty("cursor", "pointer");
115
+ this.o.setStyleProperty("user-select", "none");
116
+ this.o.setStyleProperty("outline-style", "none");
117
+ this.o.setStyleProperty("-webkit-tap-highlight-color", "transparent");
118
+ this.o.setStyleProperty("overflow", "hidden");
119
+ this.o.setStyleProperty("white-space", "no-wrap");
120
+ this.o.setStyleProperty("color", "#000");
121
+ this.o.setStyleProperty("background", this.c.no._fill);
122
+ NativeUI.o(this.o, this.c.kz);
123
+ this.o.setAttribute("id", this.c.hy);
124
+ this.ay();
125
+ this.i.add(c.listen("change", runOn(this, this.aa)));
126
+ this.i.add(c.listen("click", runOn(this, this.ab)));
127
+ this.i.add(c.listen("focus", runOn(this, this.ac)));
128
+ this.i.add(c.listen("blur", runOn(this, this.z)));
129
+ this.i.add(this.l.rootWrapper.listen("mouseenter", runOn(this, this.w)));
130
+ this.i.add(this.l.rootWrapper.listen("mouseleave", runOn(this, this.x)));
131
+ this.i.add(this.l.rootWrapper.listen("mousedown", runOn(this, this.v)));
132
+ this.i.add(this.l.rootWrapper.listen("mouseup", runOn(this, this.y)));
133
+ this.i.add(this.l.rootWrapper.listen("focusin", runOn(this, this.ad)));
134
+ this.i.add(this.l.rootWrapper.listen("focusout", runOn(this, this.ae)));
135
+ this.l.append(c);
136
+ var d = this.l.createElement("div");
137
+ var e = this.l.getSubRenderer(d);
138
138
  d.setStyleProperty("position", "absolute");
139
139
  d.setStyleProperty("width", "100%");
140
140
  d.setStyleProperty("height", "100%");
@@ -144,40 +144,40 @@ var ButtonView = /** @class */ /*@__PURE__*/ (function (_super) {
144
144
  var f = new XRipple();
145
145
  f.provideContainer(e);
146
146
  f.q = c;
147
- var g = this.k.getExternal(f, this.k.rootWrapper, this.k.getExternal(this.b, null, null));
147
+ var g = this.l.getExternal(f, this.l.rootWrapper, this.l.getExternal(this.c, null, null));
148
148
  f.h = false;
149
149
  f.k = true;
150
- this.c = f;
151
- this.n.append(d);
152
- var h = this.k.createElement("div");
150
+ this.d = f;
151
+ this.o.append(d);
152
+ var h = this.l.createElement("div");
153
153
  h.addClass("ig-button-content");
154
154
  h.setStyleProperty("font-family", "Verdana");
155
155
  h.setStyleProperty("font-weight", "400");
156
156
  h.setStyleProperty("font-size", ".875rem");
157
- this.m = h;
158
- this.h.add(h.listen("click", runOn(this, this.t)));
159
- this.n.append(h);
160
- this.o = h;
161
- this.k.getPortal(h, "ChildContent", function (i) {
157
+ this.n = h;
158
+ this.i.add(h.listen("click", runOn(this, this.u)));
159
+ this.o.append(h);
160
+ this.p = h;
161
+ this.l.getPortal(h, "ChildContent", function (i) {
162
162
  var comp_ = i.componentRef;
163
- _this.p = comp_;
163
+ _this.q = comp_;
164
164
  {
165
- _this.o.setStyleProperty("flex-direction", _this.b.g4);
166
- _this.o.setStyleProperty("align-items", _this.b.fb);
167
- var direction_ = _this.b.g4;
168
- var display_ = _this.b.fj != null ? _this.b.fj : _this.b.f0;
169
- var alignItems_ = _this.b.fb;
165
+ _this.p.setStyleProperty("flex-direction", _this.c.g4);
166
+ _this.p.setStyleProperty("align-items", _this.c.fb);
167
+ var direction_ = _this.c.g4;
168
+ var display_ = _this.c.fj != null ? _this.c.fj : _this.c.f0;
169
+ var alignItems_ = _this.c.fb;
170
170
  comp_.display = display_;
171
171
  comp_.flexDirection = direction_;
172
172
  comp_.alignItems = alignItems_;
173
173
  }
174
174
  }, true);
175
- this.b.kl();
175
+ this.c.kl();
176
176
  };
177
- ButtonView.prototype.am = function () {
178
- this.c.i = this.b.as;
177
+ ButtonView.prototype.an = function () {
178
+ this.d.i = this.c.as;
179
179
  };
180
- ButtonView.prototype.a0 = function () {
180
+ ButtonView.prototype.a1 = function () {
181
181
  var a = "2.25rem";
182
182
  var b = "2.25rem";
183
183
  var c = "2.25rem";
@@ -191,7 +191,7 @@ var ButtonView = /** @class */ /*@__PURE__*/ (function (_super) {
191
191
  var k = "0px";
192
192
  var l = ".9375rem";
193
193
  var m = ".5625rem 1rem";
194
- switch (this.b.q) {
194
+ switch (this.c.q) {
195
195
  case 2:
196
196
  m = ".375rem .75rem";
197
197
  j = "1.875rem";
@@ -224,130 +224,130 @@ var ButtonView = /** @class */ /*@__PURE__*/ (function (_super) {
224
224
  c = "1rem";
225
225
  break;
226
226
  }
227
- if (!isNaN_(this.b.bm) && !isNaN_(this.b.bo) && !isNaN_(this.b.bn) && !isNaN_(this.b.bl)) {
228
- m = this.b.bo + "px " + this.b.bn + "px " + this.b.bl + "px " + this.b.bm + "px";
227
+ if (!isNaN_(this.c.bm) && !isNaN_(this.c.bo) && !isNaN_(this.c.bn) && !isNaN_(this.c.bl)) {
228
+ m = this.c.bo + "px " + this.c.bn + "px " + this.c.bl + "px " + this.c.bm + "px";
229
229
  }
230
- if (this.b.e == 4) {
231
- this.n.setStyleProperty("min-width", a);
232
- this.n.setStyleProperty("min-height", b);
233
- this.n.setStyleProperty("padding", k);
234
- this.n.setStyleProperty("width", c);
235
- this.n.setStyleProperty("height", d);
230
+ if (this.c.e == 4) {
231
+ this.o.setStyleProperty("min-width", a);
232
+ this.o.setStyleProperty("min-height", b);
233
+ this.o.setStyleProperty("padding", k);
234
+ this.o.setStyleProperty("width", c);
235
+ this.o.setStyleProperty("height", d);
236
236
  }
237
- else if (this.b.e == 3) {
238
- this.n.setStyleProperty("min-width", e);
239
- this.n.setStyleProperty("min-height", f);
240
- this.n.setStyleProperty("padding", l);
241
- this.n.setStyleProperty("width", g);
242
- this.n.setStyleProperty("height", h);
237
+ else if (this.c.e == 3) {
238
+ this.o.setStyleProperty("min-width", e);
239
+ this.o.setStyleProperty("min-height", f);
240
+ this.o.setStyleProperty("padding", l);
241
+ this.o.setStyleProperty("width", g);
242
+ this.o.setStyleProperty("height", h);
243
243
  }
244
244
  else {
245
- this.n.setStyleProperty("width", "auto");
246
- this.n.setStyleProperty("height", "auto");
247
- this.n.setStyleProperty("min-width", i);
248
- this.n.setStyleProperty("min-height", j);
249
- this.n.setStyleProperty("padding", m);
245
+ this.o.setStyleProperty("width", "auto");
246
+ this.o.setStyleProperty("height", "auto");
247
+ this.o.setStyleProperty("min-width", i);
248
+ this.o.setStyleProperty("min-height", j);
249
+ this.o.setStyleProperty("padding", m);
250
250
  }
251
- this.k.rootWrapper.setStyleProperty("height", "auto");
252
- if (!isNaN_(this.b.bj) && this.b.bj > 0) {
253
- this.n.setStyleProperty("border-style", "solid");
251
+ this.l.rootWrapper.setStyleProperty("height", "auto");
252
+ if (!isNaN_(this.c.bj) && this.c.bj > 0) {
253
+ this.o.setStyleProperty("border-style", "solid");
254
254
  }
255
255
  else {
256
- this.n.setStyleProperty("border-style", "none");
256
+ this.o.setStyleProperty("border-style", "none");
257
257
  }
258
- if (!isNaN_(this.j)) {
259
- this.n.setStyleProperty("min-width", this.j.toString() + "px");
258
+ if (!isNaN_(this.k)) {
259
+ this.o.setStyleProperty("min-width", this.k.toString() + "px");
260
260
  }
261
- if (!isNaN_(this.i)) {
262
- this.n.setStyleProperty("min-height", this.i.toString() + "px");
261
+ if (!isNaN_(this.j)) {
262
+ this.o.setStyleProperty("min-height", this.j.toString() + "px");
263
263
  }
264
- if (this.b.ay) {
265
- this.n.setStyleProperty("width", "100%");
266
- this.n.setStyleProperty("height", "100%");
267
- this.k.rootWrapper.setStyleProperty("height", "100%");
264
+ if (this.c.ay) {
265
+ this.o.setStyleProperty("width", "100%");
266
+ this.o.setStyleProperty("height", "100%");
267
+ this.l.rootWrapper.setStyleProperty("height", "100%");
268
268
  }
269
269
  };
270
- ButtonView.prototype.au = function () {
271
- switch (this.b.le) {
270
+ ButtonView.prototype.av = function () {
271
+ switch (this.c.le) {
272
272
  case 1:
273
- this.n.setStyleProperty("justify-content", "center");
274
- this.o.setStyleProperty("flex-grow", "unset");
273
+ this.o.setStyleProperty("justify-content", "center");
274
+ this.p.setStyleProperty("flex-grow", "unset");
275
275
  break;
276
276
  case 3:
277
- this.n.setStyleProperty("justify-content", "stretch");
278
- this.o.setStyleProperty("flex-grow", "1");
277
+ this.o.setStyleProperty("justify-content", "stretch");
278
+ this.p.setStyleProperty("flex-grow", "1");
279
279
  break;
280
280
  case 0:
281
- this.n.setStyleProperty("justify-content", "left");
282
- this.o.setStyleProperty("flex-grow", "unset");
281
+ this.o.setStyleProperty("justify-content", "left");
282
+ this.p.setStyleProperty("flex-grow", "unset");
283
283
  break;
284
284
  case 2:
285
- this.n.setStyleProperty("justify-content", "right");
286
- this.o.setStyleProperty("flex-grow", "unset");
285
+ this.o.setStyleProperty("justify-content", "right");
286
+ this.p.setStyleProperty("flex-grow", "unset");
287
287
  break;
288
288
  }
289
289
  };
290
+ ButtonView.prototype.ax = function (a) {
291
+ this.k = a;
292
+ };
290
293
  ButtonView.prototype.aw = function (a) {
291
294
  this.j = a;
292
295
  };
293
- ButtonView.prototype.av = function (a) {
294
- this.i = a;
295
- };
296
- ButtonView.prototype.as = function () {
297
- this.n.setAttribute("disabled", this.b.disabled ? "true" : "false");
298
- this.n.setProperty("disabled", this.b.disabled);
296
+ ButtonView.prototype.at = function () {
297
+ this.o.setAttribute("disabled", this.c.disabled ? "true" : "false");
298
+ this.o.setProperty("disabled", this.c.disabled);
299
299
  };
300
- ButtonView.prototype.an = function () {
301
- if (this.k != null) {
302
- this.k.rootWrapper.setStyleProperty("display", this.b.f0);
303
- var comp_ = this.p;
304
- if (this.p != null) {
305
- this.o.setStyleProperty("display", this.b.f0);
306
- var display_ = this.b.fj != null ? this.b.f0 : this.b.fj;
300
+ ButtonView.prototype.ao = function () {
301
+ if (this.l != null) {
302
+ this.l.rootWrapper.setStyleProperty("display", this.c.f0);
303
+ var comp_ = this.q;
304
+ if (this.q != null) {
305
+ this.p.setStyleProperty("display", this.c.f0);
306
+ var display_ = this.c.fj != null ? this.c.f0 : this.c.fj;
307
307
  comp_.display = display_;
308
308
  }
309
- var ext_ = this.k.getExternal(this.b, null, null);
309
+ var ext_ = this.l.getExternal(this.c, null, null);
310
310
  if (ext_ && ext_._onDisplayChanged) {
311
311
  ext_._onDisplayChanged();
312
312
  }
313
313
  ;
314
314
  }
315
315
  };
316
- ButtonView.prototype.aj = function () {
317
- if (this.k != null) {
318
- var comp_ = this.p;
319
- if (this.p != null) {
320
- var display_ = this.b.fj != null ? this.b.fj : this.b.f0;
316
+ ButtonView.prototype.ak = function () {
317
+ if (this.l != null) {
318
+ var comp_ = this.q;
319
+ if (this.q != null) {
320
+ var display_ = this.c.fj != null ? this.c.fj : this.c.f0;
321
321
  comp_.display = display_;
322
322
  }
323
323
  }
324
324
  };
325
- ButtonView.prototype.ah = function () {
326
- if (this.k != null) {
327
- this.k.rootWrapper.setStyleProperty("align-items", this.b.fb);
328
- this.n.setStyleProperty("align-items", this.b.fb);
329
- var comp_ = this.p;
330
- if (this.p != null) {
331
- this.o.setStyleProperty("align-items", this.b.fb);
332
- var alignItems_ = this.b.fb;
325
+ ButtonView.prototype.ai = function () {
326
+ if (this.l != null) {
327
+ this.l.rootWrapper.setStyleProperty("align-items", this.c.fb);
328
+ this.o.setStyleProperty("align-items", this.c.fb);
329
+ var comp_ = this.q;
330
+ if (this.q != null) {
331
+ this.p.setStyleProperty("align-items", this.c.fb);
332
+ var alignItems_ = this.c.fb;
333
333
  comp_.alignItems = alignItems_;
334
334
  }
335
- var ext_ = this.k.getExternal(this.b, null, null);
335
+ var ext_ = this.l.getExternal(this.c, null, null);
336
336
  if (ext_ && ext_._onAlignItemsChanged) {
337
337
  ext_._onAlignItemsChanged();
338
338
  }
339
339
  ;
340
340
  }
341
341
  };
342
- ButtonView.prototype.ao = function () {
343
- if (this.k != null) {
344
- this.k.rootWrapper.setStyleProperty("flex-direction", this.b.g4);
345
- this.n.setStyleProperty("flex-direction", this.b.g4);
346
- var ext_ = this.k.getExternal(this.b, null, null);
347
- var comp_ = this.p;
348
- if (this.p != null) {
349
- this.o.setStyleProperty("flex-direction", this.b.g4);
350
- var direction_ = this.b.g4;
342
+ ButtonView.prototype.ap = function () {
343
+ if (this.l != null) {
344
+ this.l.rootWrapper.setStyleProperty("flex-direction", this.c.g4);
345
+ this.o.setStyleProperty("flex-direction", this.c.g4);
346
+ var ext_ = this.l.getExternal(this.c, null, null);
347
+ var comp_ = this.q;
348
+ if (this.q != null) {
349
+ this.p.setStyleProperty("flex-direction", this.c.g4);
350
+ var direction_ = this.c.g4;
351
351
  comp_.flexDirection = direction_;
352
352
  }
353
353
  if (ext_ && ext_._onFlexDirectionChanged) {
@@ -356,114 +356,114 @@ var ButtonView = /** @class */ /*@__PURE__*/ (function (_super) {
356
356
  ;
357
357
  }
358
358
  };
359
- ButtonView.prototype.ap = function () {
360
- if (this.k != null) {
361
- this.k.rootWrapper.setStyleProperty("flex-grow", this.b.g6);
362
- this.n.setStyleProperty("flex-grow", this.b.g6);
363
- var ext_ = this.k.getExternal(this.b, null, null);
359
+ ButtonView.prototype.aq = function () {
360
+ if (this.l != null) {
361
+ this.l.rootWrapper.setStyleProperty("flex-grow", this.c.g6);
362
+ this.o.setStyleProperty("flex-grow", this.c.g6);
363
+ var ext_ = this.l.getExternal(this.c, null, null);
364
364
  if (ext_ && ext_._onFlexGrowChanged) {
365
365
  ext_._onFlexGrowChanged();
366
366
  }
367
367
  ;
368
368
  }
369
369
  };
370
- ButtonView.prototype.t = function (a) {
370
+ ButtonView.prototype.u = function (a) {
371
371
  };
372
- ButtonView.prototype.ax = function () {
373
- if (this.g()) {
374
- var a = this.b.hy;
375
- this.n.setAttribute("name", this.b.h6);
376
- this.n.setProperty("value", this.b.ee);
377
- if (this.b.az) {
378
- this.n.setAttribute("tabindex", this.b.d7.toString());
372
+ ButtonView.prototype.ay = function () {
373
+ if (this.h()) {
374
+ var a = this.c.hy;
375
+ this.o.setAttribute("name", this.c.h6);
376
+ this.o.setProperty("value", this.c.ee);
377
+ if (this.c.az) {
378
+ this.o.setAttribute("tabindex", this.c.d7.toString());
379
379
  }
380
- this.n.setProperty("disabled", this.b.disabled);
380
+ this.o.setProperty("disabled", this.c.disabled);
381
381
  {
382
382
  }
383
- this.n.setAttribute("aria-label", this.b.fd);
384
- this.n.setStyleProperty("cursor", !this.b.av ? "pointer" : "unset");
383
+ this.o.setAttribute("aria-label", this.c.fd);
384
+ this.o.setStyleProperty("cursor", !this.c.av ? "pointer" : "unset");
385
385
  }
386
386
  };
387
- ButtonView.prototype.ar = function () {
388
- if (this.g()) {
389
- var a = this.b.hy;
390
- this.n.setAttribute("id", a);
387
+ ButtonView.prototype.as = function () {
388
+ if (this.h()) {
389
+ var a = this.c.hy;
390
+ this.o.setAttribute("id", a);
391
391
  }
392
392
  };
393
- ButtonView.prototype.v = function (a) {
394
- this.b.kh();
395
- if (this.b.a5) {
393
+ ButtonView.prototype.w = function (a) {
394
+ this.c.kh();
395
+ if (this.c.a5) {
396
396
  a.stopPropagation();
397
397
  }
398
398
  };
399
- ButtonView.prototype.w = function (a) {
400
- this.b.ki();
401
- if (this.b.a5) {
399
+ ButtonView.prototype.x = function (a) {
400
+ this.c.ki();
401
+ if (this.c.a5) {
402
402
  a.stopPropagation();
403
403
  }
404
404
  };
405
- ButtonView.prototype.u = function (a) {
406
- this.b.kg();
407
- if (this.b.a5) {
405
+ ButtonView.prototype.v = function (a) {
406
+ this.c.kg();
407
+ if (this.c.a5) {
408
408
  a.stopPropagation();
409
409
  }
410
410
  };
411
- ButtonView.prototype.x = function (a) {
412
- this.b.kj();
413
- if (this.b.a5) {
411
+ ButtonView.prototype.y = function (a) {
412
+ this.c.kj();
413
+ if (this.c.a5) {
414
414
  a.stopPropagation();
415
415
  }
416
416
  };
417
- ButtonView.prototype.y = function (a) {
418
- this.b.ka();
417
+ ButtonView.prototype.z = function (a) {
418
+ this.c.ka();
419
419
  };
420
- ButtonView.prototype.ab = function (a) {
421
- this.b.kd();
420
+ ButtonView.prototype.ac = function (a) {
421
+ this.c.kd();
422
422
  };
423
- ButtonView.prototype.aa = function (a) {
424
- this.b.kb();
425
- if (!this.b.at) {
423
+ ButtonView.prototype.ab = function (a) {
424
+ this.c.kb();
425
+ if (!this.c.at) {
426
426
  a.preventDefault();
427
427
  }
428
- if (this.b.a5) {
428
+ if (this.c.a5) {
429
429
  a.stopPropagation();
430
430
  }
431
431
  };
432
- ButtonView.prototype.ac = function (a) {
433
- this.b.ke();
434
- };
435
432
  ButtonView.prototype.ad = function (a) {
436
- this.b.kf(a.originalEvent.relatedTarget, a.originalEvent.target);
433
+ this.c.ke();
434
+ };
435
+ ButtonView.prototype.ae = function (a) {
436
+ this.c.kf(a.originalEvent.relatedTarget, a.originalEvent.target);
437
437
  };
438
- ButtonView.prototype.f = function () {
438
+ ButtonView.prototype.g = function () {
439
439
  return false;
440
440
  };
441
- ButtonView.prototype.z = function (a) {
441
+ ButtonView.prototype.aa = function (a) {
442
442
  };
443
- ButtonView.prototype.ag = function () {
443
+ ButtonView.prototype.ah = function () {
444
444
  if (KeyFrameAnimationFactory.h == null) {
445
- KeyFrameAnimationFactory.h = this.k;
445
+ KeyFrameAnimationFactory.h = this.l;
446
446
  }
447
447
  };
448
- ButtonView.prototype.ai = function () {
449
- this.e = true;
450
- this.h.add(this.n.listen("change", runOn(this, this.z)));
451
- this.h.add(this.n.listen("click", runOn(this, this.aa)));
452
- this.h.add(this.n.listen("focus", runOn(this, this.ab)));
453
- this.h.add(this.n.listen("blur", runOn(this, this.y)));
454
- this.h.add(this.m.listen("click", runOn(this, this.t)));
455
- this.h.add(this.n.listen("mouseenter", runOn(this, this.v)));
456
- this.h.add(this.n.listen("mouseleave", runOn(this, this.w)));
457
- this.h.add(this.n.listen("mousedown", runOn(this, this.u)));
458
- this.h.add(this.n.listen("mouseup", runOn(this, this.x)));
459
- this.h.add(this.n.listen("focusin", runOn(this, this.ac)));
460
- this.h.add(this.n.listen("focusout", runOn(this, this.ad)));
461
- };
462
- ButtonView.prototype.al = function () {
448
+ ButtonView.prototype.aj = function () {
449
+ this.f = true;
450
+ this.i.add(this.o.listen("change", runOn(this, this.aa)));
451
+ this.i.add(this.o.listen("click", runOn(this, this.ab)));
452
+ this.i.add(this.o.listen("focus", runOn(this, this.ac)));
453
+ this.i.add(this.o.listen("blur", runOn(this, this.z)));
454
+ this.i.add(this.n.listen("click", runOn(this, this.u)));
455
+ this.i.add(this.o.listen("mouseenter", runOn(this, this.w)));
456
+ this.i.add(this.o.listen("mouseleave", runOn(this, this.x)));
457
+ this.i.add(this.o.listen("mousedown", runOn(this, this.v)));
458
+ this.i.add(this.o.listen("mouseup", runOn(this, this.y)));
459
+ this.i.add(this.o.listen("focusin", runOn(this, this.ad)));
460
+ this.i.add(this.o.listen("focusout", runOn(this, this.ae)));
461
+ };
462
+ ButtonView.prototype.am = function () {
463
463
  var e_2, _a;
464
- this.e = false;
464
+ this.f = false;
465
465
  try {
466
- for (var _b = __values(fromEnum(this.h)), _c = _b.next(); !_c.done; _c = _b.next()) {
466
+ for (var _b = __values(fromEnum(this.i)), _c = _b.next(); !_c.done; _c = _b.next()) {
467
467
  var a = _c.value;
468
468
  a();
469
469
  }
@@ -481,39 +481,39 @@ var ButtonView = /** @class */ /*@__PURE__*/ (function (_super) {
481
481
  throw e_2.error;
482
482
  }
483
483
  }
484
- this.h.clear();
484
+ this.i.clear();
485
485
  };
486
- ButtonView.prototype.at = function () {
487
- var model_ = this.b;
486
+ ButtonView.prototype.au = function () {
487
+ var model_ = this.c;
488
488
  if (model_.externalObject && model_.externalObject.refreshDefaults) {
489
489
  model_.externalObject.refreshDefaults();
490
490
  }
491
491
  ;
492
492
  };
493
- ButtonView.prototype.ay = function (a, b) {
494
- this.c.ax = a;
495
- this.c.aw = b;
496
- };
497
493
  ButtonView.prototype.az = function (a, b) {
498
- var c = ElevationHelper.e(a, this.b.n0, this.b.nx, this.b.nn, b);
499
- this.n.setStyleProperty("box-shadow", c);
494
+ this.d.ax = a;
495
+ this.d.aw = b;
496
+ };
497
+ ButtonView.prototype.a0 = function (a, b) {
498
+ var c = ElevationHelper.e(a, this.c.n0, this.c.nx, this.c.nn, b);
499
+ this.o.setStyleProperty("box-shadow", c);
500
500
  };
501
- ButtonView.prototype.a1 = function (a) {
501
+ ButtonView.prototype.a2 = function (a) {
502
502
  if (a != null) {
503
- this.m.setStyleProperty("font", a.fontString);
503
+ this.n.setStyleProperty("font", a.fontString);
504
504
  }
505
505
  };
506
- ButtonView.prototype.ae = function (a) {
507
- this.m.append(a);
506
+ ButtonView.prototype.af = function (a) {
507
+ this.n.append(a);
508
508
  };
509
- ButtonView.prototype.af = function () {
510
- this.m.removeChildren();
509
+ ButtonView.prototype.ag = function () {
510
+ this.n.removeChildren();
511
511
  };
512
- ButtonView.prototype.r = function () {
513
- return this.m.getChildCount() > 0 ? this.m.getChildAt(0) : null;
512
+ ButtonView.prototype.s = function () {
513
+ return this.n.getChildCount() > 0 ? this.n.getChildAt(0) : null;
514
514
  };
515
- ButtonView.prototype.a = function () {
516
- var rect_ = this.k.rootWrapper.getNativeElement().getBoundingClientRect();
515
+ ButtonView.prototype.b = function () {
516
+ var rect_ = this.l.rootWrapper.getNativeElement().getBoundingClientRect();
517
517
  var a = (rect_.top);
518
518
  var b = (rect_.left);
519
519
  var c = new Array(2);
@@ -521,6 +521,12 @@ var ButtonView = /** @class */ /*@__PURE__*/ (function (_super) {
521
521
  c[1] = b;
522
522
  return c;
523
523
  };
524
+ ButtonView.prototype.a = function () {
525
+ var a = new Array(2);
526
+ a[0] = NativeUI.k(this.r);
527
+ a[1] = NativeUI.d(this.r);
528
+ return a;
529
+ };
524
530
  ButtonView.$t = markType(ButtonView, 'ButtonView');
525
531
  return ButtonView;
526
532
  }(Base));
@@ -793,9 +799,9 @@ var XButton = /** @class */ /*@__PURE__*/ (function (_super) {
793
799
  _this.gotFocus = null;
794
800
  _this.lostFocus = null;
795
801
  var a = new ButtonView();
796
- a.b = _this;
802
+ a.c = _this;
797
803
  _this.view = a;
798
- _this.view.aq();
804
+ _this.view.ar();
799
805
  return _this;
800
806
  }
801
807
  Object.defineProperty(XButton.prototype, "view", {
@@ -931,7 +937,7 @@ var XButton = /** @class */ /*@__PURE__*/ (function (_super) {
931
937
  case "IsDisabled":
932
938
  this.as = this.disabled || this.aw;
933
939
  this.kq();
934
- this.view.as();
940
+ this.view.at();
935
941
  this.kp();
936
942
  break;
937
943
  case "DisableRipple":
@@ -943,7 +949,7 @@ var XButton = /** @class */ /*@__PURE__*/ (function (_super) {
943
949
  this.kp();
944
950
  break;
945
951
  case "ActualDisableRipple":
946
- this.view.am();
952
+ this.view.an();
947
953
  break;
948
954
  case "ActualBackgroundColor":
949
955
  case "ActualDisabledBackgroundColor":
@@ -966,11 +972,11 @@ var XButton = /** @class */ /*@__PURE__*/ (function (_super) {
966
972
  if (this.e == 4) {
967
973
  this.ko();
968
974
  }
969
- this.view.a0();
975
+ this.view.a1();
970
976
  this.kp();
971
977
  break;
972
978
  case "DisplayType":
973
- this.view.a0();
979
+ this.view.a1();
974
980
  this.kq();
975
981
  this.kp();
976
982
  break;
@@ -979,43 +985,43 @@ var XButton = /** @class */ /*@__PURE__*/ (function (_super) {
979
985
  case "ContentPaddingRight":
980
986
  case "ContentPaddingBottom":
981
987
  case "FillAvailableSpace":
982
- this.view.a0();
988
+ this.view.a1();
983
989
  break;
984
990
  case "HorizontalContentAlignment":
985
991
  case "VerticalContentAlignment":
986
- this.view.au();
992
+ this.view.av();
987
993
  break;
988
994
  case "InputId":
989
- this.view.ar();
995
+ this.view.as();
990
996
  break;
991
997
  case "Display":
992
- this.view.an();
998
+ this.view.ao();
993
999
  break;
994
1000
  case "ChildContentDisplay":
995
- this.view.aj();
1001
+ this.view.ak();
996
1002
  break;
997
1003
  case "FlexDirection":
998
- this.view.ao();
1004
+ this.view.ap();
999
1005
  break;
1000
1006
  case "FlexGrow":
1001
- this.view.ap();
1007
+ this.view.aq();
1002
1008
  break;
1003
1009
  case "AlignItems":
1004
- this.view.ah();
1010
+ this.view.ai();
1005
1011
  break;
1006
1012
  case "TabIndex":
1007
- this.view.ax();
1013
+ this.view.ay();
1008
1014
  break;
1009
1015
  case "DisablePointer":
1010
- this.view.ax();
1016
+ this.view.ay();
1011
1017
  break;
1012
1018
  case "MinWidth":
1013
- this.view.aw(this.by);
1014
- this.view.a0();
1019
+ this.view.ax(this.by);
1020
+ this.view.a1();
1015
1021
  break;
1016
1022
  case "MinHeight":
1017
- this.view.av(this.bx);
1018
- this.view.a0();
1023
+ this.view.aw(this.bx);
1024
+ this.view.a1();
1019
1025
  break;
1020
1026
  }
1021
1027
  };
@@ -1199,7 +1205,7 @@ var XButton = /** @class */ /*@__PURE__*/ (function (_super) {
1199
1205
  }
1200
1206
  };
1201
1207
  XButton.prototype.kp = function () {
1202
- var a = this.view.q;
1208
+ var a = this.view.r;
1203
1209
  if (a == null) {
1204
1210
  return;
1205
1211
  }
@@ -1209,17 +1215,17 @@ var XButton = /** @class */ /*@__PURE__*/ (function (_super) {
1209
1215
  NativeUI.p(a, new Thickness(0, this.bj));
1210
1216
  }
1211
1217
  if (this.disabled) {
1212
- this.view.az(this.cu, this.u);
1218
+ this.view.a0(this.cu, this.u);
1213
1219
  }
1214
1220
  else if (this.focused && this.a2) {
1215
- this.view.az(this.cv, this.u);
1221
+ this.view.a0(this.cv, this.u);
1216
1222
  }
1217
1223
  else {
1218
1224
  if (this.a3 && !this.au) {
1219
- this.view.az(this.cw, this.u);
1225
+ this.view.a0(this.cw, this.u);
1220
1226
  }
1221
1227
  else {
1222
- this.view.az(this.cx, this.u);
1228
+ this.view.a0(this.cx, this.u);
1223
1229
  }
1224
1230
  }
1225
1231
  if (this.disabled) {
@@ -1236,26 +1242,26 @@ var XButton = /** @class */ /*@__PURE__*/ (function (_super) {
1236
1242
  NativeUI.m(a, this.no);
1237
1243
  }
1238
1244
  }
1239
- this.view.ay(this.ny, BrushUtil.j(0, 0, 0, 0));
1245
+ this.view.az(this.ny, BrushUtil.j(0, 0, 0, 0));
1240
1246
  if (this.aa != null) {
1241
- this.view.a1(this.aa);
1247
+ this.view.a2(this.aa);
1242
1248
  }
1243
1249
  if (this.disabled) {
1244
- NativeUI.q(this.view.s, this.ns);
1245
- NativeUI.r(this.view.s, this.ns);
1250
+ NativeUI.q(this.view.t, this.ns);
1251
+ NativeUI.r(this.view.t, this.ns);
1246
1252
  }
1247
1253
  else if (this.focused && this.a2) {
1248
- NativeUI.q(this.view.s, this.nu);
1249
- NativeUI.r(this.view.s, this.nu);
1254
+ NativeUI.q(this.view.t, this.nu);
1255
+ NativeUI.r(this.view.t, this.nu);
1250
1256
  }
1251
1257
  else {
1252
1258
  if (this.a3 && !this.au) {
1253
- NativeUI.q(this.view.s, this.nw);
1254
- NativeUI.r(this.view.s, this.nw);
1259
+ NativeUI.q(this.view.t, this.nw);
1260
+ NativeUI.r(this.view.t, this.nw);
1255
1261
  }
1256
1262
  else {
1257
- NativeUI.q(this.view.s, this.nz);
1258
- NativeUI.r(this.view.s, this.nz);
1263
+ NativeUI.q(this.view.t, this.nz);
1264
+ NativeUI.r(this.view.t, this.nz);
1259
1265
  }
1260
1266
  }
1261
1267
  };
@@ -3600,7 +3606,7 @@ var XButton = /** @class */ /*@__PURE__*/ (function (_super) {
3600
3606
  });
3601
3607
  XButton.prototype.kl = function () {
3602
3608
  this.j8();
3603
- this.view.ay(this.ny, BrushUtil.j(0, 0, 0, 0));
3609
+ this.view.az(this.ny, BrushUtil.j(0, 0, 0, 0));
3604
3610
  this.kp();
3605
3611
  };
3606
3612
  Object.defineProperty(XButton.prototype, "a", {
@@ -3614,25 +3620,25 @@ var XButton = /** @class */ /*@__PURE__*/ (function (_super) {
3614
3620
  configurable: true
3615
3621
  });
3616
3622
  XButton.prototype.j8 = function () {
3617
- this.view.ag();
3623
+ this.view.ah();
3618
3624
  };
3619
3625
  XButton.prototype.onDetachedFromUI = function () {
3620
- this.view.al();
3626
+ this.view.am();
3621
3627
  };
3622
3628
  XButton.prototype.onAttachedToUI = function () {
3623
- this.view.ai();
3629
+ this.view.aj();
3624
3630
  };
3625
3631
  XButton.prototype.appendButtonContent = function (a) {
3626
- this.view.ae(a);
3632
+ this.view.af(a);
3627
3633
  };
3628
3634
  XButton.prototype.clearButtonContent = function () {
3629
- this.view.af();
3635
+ this.view.ag();
3630
3636
  };
3631
3637
  XButton.prototype.getButtonContent = function () {
3632
- return this.view.r();
3638
+ return this.view.s();
3633
3639
  };
3634
3640
  XButton.prototype.a4 = function () {
3635
- return this.view.g();
3641
+ return this.view.h();
3636
3642
  };
3637
3643
  XButton.prototype.eb = function () {
3638
3644
  return this.b();
@@ -3642,14 +3648,15 @@ var XButton = /** @class */ /*@__PURE__*/ (function (_super) {
3642
3648
  return a.serialize();
3643
3649
  };
3644
3650
  XButton.prototype.b = function () {
3645
- var a = this.view.q;
3646
- var b = this.view.s;
3651
+ var a = this.view.r;
3652
+ var b = this.view.t;
3647
3653
  var c = new ButtonVisualModelExport();
3648
- var d = this.view.a();
3654
+ var d = this.view.b();
3649
3655
  c.s = d[0];
3650
3656
  c.q = d[1];
3651
- c.p = NativeUI.d(a);
3652
- c.t = NativeUI.k(a);
3657
+ var e = this.view.a();
3658
+ c.t = e[0];
3659
+ c.p = e[1];
3653
3660
  c.h = this.n;
3654
3661
  c.i = this.q;
3655
3662
  c.c = AppearanceHelper.a(NativeUI.ak(a));
@@ -3667,44 +3674,44 @@ var XButton = /** @class */ /*@__PURE__*/ (function (_super) {
3667
3674
  c.y = this.g4;
3668
3675
  c.z = this.g6;
3669
3676
  c.w = this.fb;
3670
- c.v = this.view.s.getNativeElement().innerText;
3677
+ c.v = this.view.t.getNativeElement().innerText;
3671
3678
  c.aa = this.h6;
3672
3679
  c.m = this.focused;
3673
3680
  c.k = this.as;
3674
3681
  c.n = this.a3;
3675
3682
  c.l = this.disabled;
3676
3683
  if (this.aa != null) {
3677
- var e = this.aa;
3678
- if (this.view != null && e.q == null) {
3679
- var f = this.view.k;
3680
- var g = FontUtil.getFontInfoFromString(f, e.fontString);
3681
- e.q = g.q;
3682
- e.f = g.f;
3683
- e.r = g.r;
3684
- e.t = g.t;
3685
- e.u = g.u;
3686
- e.v = g.v;
3684
+ var f = this.aa;
3685
+ if (this.view != null && f.q == null) {
3686
+ var g = this.view.l;
3687
+ var h = FontUtil.getFontInfoFromString(g, f.fontString);
3688
+ f.q = h.q;
3689
+ f.f = h.f;
3690
+ f.r = h.r;
3691
+ f.t = h.t;
3692
+ f.u = h.u;
3693
+ f.v = h.v;
3687
3694
  }
3688
- if (e.q != null) {
3689
- c.ab = e.q;
3695
+ if (f.q != null) {
3696
+ c.ab = f.q;
3690
3697
  }
3691
- if (!isNaN_(e.f)) {
3692
- c.r = e.f;
3698
+ if (!isNaN_(f.f)) {
3699
+ c.r = f.f;
3693
3700
  }
3694
- if (e.v != null) {
3695
- c.af = e.v;
3701
+ if (f.v != null) {
3702
+ c.af = f.v;
3696
3703
  }
3697
- if (e.t != null) {
3698
- c.ad = e.t;
3704
+ if (f.t != null) {
3705
+ c.ad = f.t;
3699
3706
  }
3700
- if (e.r != null) {
3701
- c.ac = e.t;
3707
+ if (f.r != null) {
3708
+ c.ac = f.t;
3702
3709
  }
3703
3710
  }
3704
3711
  return c;
3705
3712
  };
3706
3713
  XButton.prototype.provideContainer = function (a) {
3707
- this.view.ak(a);
3714
+ this.view.al(a);
3708
3715
  };
3709
3716
  XButton.$t = markType(XButton, 'XButton', Base.$, [INotifyPropertyChanged_$type]);
3710
3717
  XButton.m = 2;