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
@@ -37,76 +37,76 @@ export let ButtonView = /*@__PURE__*/ (() => {
37
37
  class ButtonView extends Base {
38
38
  constructor() {
39
39
  super();
40
- this.b = null;
41
- this.k = null;
42
- this.d = null;
43
- this.h = new List$1(Delegate_$type, 0);
44
- this.e = true;
45
- this.n = null;
46
- this.j = NaN;
47
- this.i = NaN;
48
- this.l = null;
49
40
  this.c = null;
41
+ this.l = null;
42
+ this.e = null;
43
+ this.i = new List$1(Delegate_$type, 0);
44
+ this.f = true;
45
+ this.o = null;
46
+ this.k = NaN;
47
+ this.j = NaN;
50
48
  this.m = null;
49
+ this.d = null;
50
+ this.n = null;
51
+ this.q = null;
51
52
  this.p = null;
52
- this.o = null;
53
53
  }
54
- aq() {
54
+ ar() {
55
55
  }
56
- g() {
56
+ h() {
57
57
  return true;
58
58
  }
59
- get q() {
60
- return this.n;
59
+ get r() {
60
+ return this.o;
61
61
  }
62
- get s() {
63
- return this.m;
62
+ get t() {
63
+ return this.n;
64
64
  }
65
- ak(a) {
65
+ al(a) {
66
66
  if (a == null) {
67
- for (let b of fromEnum(this.h)) {
67
+ for (let b of fromEnum(this.i)) {
68
68
  b();
69
69
  }
70
- this.h.clear();
70
+ this.i.clear();
71
71
  return;
72
72
  }
73
- this.k = a;
74
- this.k.rootWrapper.setStyleProperty("display", "flex");
75
- this.k.rootWrapper.setStyleProperty("flex-direction", "row");
76
- this.k.rootWrapper.setStyleProperty("flex-wrap", "no-wrap");
77
- this.k.rootWrapper.setStyleProperty("align-items", "center");
78
- let c = this.k.createElement("button");
79
- this.n = c;
80
- this.n.setStyleProperty("position", "relative");
81
- this.n.setStyleProperty("display", "inline-flex");
82
- this.n.setStyleProperty("align-items", "center");
83
- this.n.setStyleProperty("justify-content", "center");
84
- this.a0();
85
- this.n.setStyleProperty("border", "none");
86
- this.n.setStyleProperty("cursor", "pointer");
87
- this.n.setStyleProperty("user-select", "none");
88
- this.n.setStyleProperty("outline-style", "none");
89
- this.n.setStyleProperty("-webkit-tap-highlight-color", "transparent");
90
- this.n.setStyleProperty("overflow", "hidden");
91
- this.n.setStyleProperty("white-space", "no-wrap");
92
- this.n.setStyleProperty("color", "#000");
93
- this.n.setStyleProperty("background", this.b.no._fill);
94
- NativeUI.o(this.n, this.b.kz);
95
- this.n.setAttribute("id", this.b.hy);
96
- this.ax();
97
- this.h.add(c.listen("change", runOn(this, this.z)));
98
- this.h.add(c.listen("click", runOn(this, this.aa)));
99
- this.h.add(c.listen("focus", runOn(this, this.ab)));
100
- this.h.add(c.listen("blur", runOn(this, this.y)));
101
- this.h.add(this.k.rootWrapper.listen("mouseenter", runOn(this, this.v)));
102
- this.h.add(this.k.rootWrapper.listen("mouseleave", runOn(this, this.w)));
103
- this.h.add(this.k.rootWrapper.listen("mousedown", runOn(this, this.u)));
104
- this.h.add(this.k.rootWrapper.listen("mouseup", runOn(this, this.x)));
105
- this.h.add(this.k.rootWrapper.listen("focusin", runOn(this, this.ac)));
106
- this.h.add(this.k.rootWrapper.listen("focusout", runOn(this, this.ad)));
107
- this.k.append(c);
108
- let d = this.k.createElement("div");
109
- let e = this.k.getSubRenderer(d);
73
+ this.l = a;
74
+ this.l.rootWrapper.setStyleProperty("display", "flex");
75
+ this.l.rootWrapper.setStyleProperty("flex-direction", "row");
76
+ this.l.rootWrapper.setStyleProperty("flex-wrap", "no-wrap");
77
+ this.l.rootWrapper.setStyleProperty("align-items", "center");
78
+ let c = this.l.createElement("button");
79
+ this.o = c;
80
+ this.o.setStyleProperty("position", "relative");
81
+ this.o.setStyleProperty("display", "inline-flex");
82
+ this.o.setStyleProperty("align-items", "center");
83
+ this.o.setStyleProperty("justify-content", "center");
84
+ this.a1();
85
+ this.o.setStyleProperty("border", "none");
86
+ this.o.setStyleProperty("cursor", "pointer");
87
+ this.o.setStyleProperty("user-select", "none");
88
+ this.o.setStyleProperty("outline-style", "none");
89
+ this.o.setStyleProperty("-webkit-tap-highlight-color", "transparent");
90
+ this.o.setStyleProperty("overflow", "hidden");
91
+ this.o.setStyleProperty("white-space", "no-wrap");
92
+ this.o.setStyleProperty("color", "#000");
93
+ this.o.setStyleProperty("background", this.c.no._fill);
94
+ NativeUI.o(this.o, this.c.kz);
95
+ this.o.setAttribute("id", this.c.hy);
96
+ this.ay();
97
+ this.i.add(c.listen("change", runOn(this, this.aa)));
98
+ this.i.add(c.listen("click", runOn(this, this.ab)));
99
+ this.i.add(c.listen("focus", runOn(this, this.ac)));
100
+ this.i.add(c.listen("blur", runOn(this, this.z)));
101
+ this.i.add(this.l.rootWrapper.listen("mouseenter", runOn(this, this.w)));
102
+ this.i.add(this.l.rootWrapper.listen("mouseleave", runOn(this, this.x)));
103
+ this.i.add(this.l.rootWrapper.listen("mousedown", runOn(this, this.v)));
104
+ this.i.add(this.l.rootWrapper.listen("mouseup", runOn(this, this.y)));
105
+ this.i.add(this.l.rootWrapper.listen("focusin", runOn(this, this.ad)));
106
+ this.i.add(this.l.rootWrapper.listen("focusout", runOn(this, this.ae)));
107
+ this.l.append(c);
108
+ let d = this.l.createElement("div");
109
+ let e = this.l.getSubRenderer(d);
110
110
  d.setStyleProperty("position", "absolute");
111
111
  d.setStyleProperty("width", "100%");
112
112
  d.setStyleProperty("height", "100%");
@@ -116,40 +116,40 @@ export let ButtonView = /*@__PURE__*/ (() => {
116
116
  let f = new XRipple();
117
117
  f.provideContainer(e);
118
118
  f.q = c;
119
- let g = this.k.getExternal(f, this.k.rootWrapper, this.k.getExternal(this.b, null, null));
119
+ let g = this.l.getExternal(f, this.l.rootWrapper, this.l.getExternal(this.c, null, null));
120
120
  f.h = false;
121
121
  f.k = true;
122
- this.c = f;
123
- this.n.append(d);
124
- let h = this.k.createElement("div");
122
+ this.d = f;
123
+ this.o.append(d);
124
+ let h = this.l.createElement("div");
125
125
  h.addClass("ig-button-content");
126
126
  h.setStyleProperty("font-family", "Verdana");
127
127
  h.setStyleProperty("font-weight", "400");
128
128
  h.setStyleProperty("font-size", ".875rem");
129
- this.m = h;
130
- this.h.add(h.listen("click", runOn(this, this.t)));
131
- this.n.append(h);
132
- this.o = h;
133
- this.k.getPortal(h, "ChildContent", (i) => {
129
+ this.n = h;
130
+ this.i.add(h.listen("click", runOn(this, this.u)));
131
+ this.o.append(h);
132
+ this.p = h;
133
+ this.l.getPortal(h, "ChildContent", (i) => {
134
134
  let comp_ = i.componentRef;
135
- this.p = comp_;
135
+ this.q = comp_;
136
136
  {
137
- this.o.setStyleProperty("flex-direction", this.b.g4);
138
- this.o.setStyleProperty("align-items", this.b.fb);
139
- let direction_ = this.b.g4;
140
- let display_ = this.b.fj != null ? this.b.fj : this.b.f0;
141
- let alignItems_ = this.b.fb;
137
+ this.p.setStyleProperty("flex-direction", this.c.g4);
138
+ this.p.setStyleProperty("align-items", this.c.fb);
139
+ let direction_ = this.c.g4;
140
+ let display_ = this.c.fj != null ? this.c.fj : this.c.f0;
141
+ let alignItems_ = this.c.fb;
142
142
  comp_.display = display_;
143
143
  comp_.flexDirection = direction_;
144
144
  comp_.alignItems = alignItems_;
145
145
  }
146
146
  }, true);
147
- this.b.kl();
147
+ this.c.kl();
148
148
  }
149
- am() {
150
- this.c.i = this.b.as;
149
+ an() {
150
+ this.d.i = this.c.as;
151
151
  }
152
- a0() {
152
+ a1() {
153
153
  let a = "2.25rem";
154
154
  let b = "2.25rem";
155
155
  let c = "2.25rem";
@@ -163,7 +163,7 @@ export let ButtonView = /*@__PURE__*/ (() => {
163
163
  let k = "0px";
164
164
  let l = ".9375rem";
165
165
  let m = ".5625rem 1rem";
166
- switch (this.b.q) {
166
+ switch (this.c.q) {
167
167
  case 2:
168
168
  m = ".375rem .75rem";
169
169
  j = "1.875rem";
@@ -196,130 +196,130 @@ export let ButtonView = /*@__PURE__*/ (() => {
196
196
  c = "1rem";
197
197
  break;
198
198
  }
199
- if (!isNaN_(this.b.bm) && !isNaN_(this.b.bo) && !isNaN_(this.b.bn) && !isNaN_(this.b.bl)) {
200
- m = this.b.bo + "px " + this.b.bn + "px " + this.b.bl + "px " + this.b.bm + "px";
199
+ if (!isNaN_(this.c.bm) && !isNaN_(this.c.bo) && !isNaN_(this.c.bn) && !isNaN_(this.c.bl)) {
200
+ m = this.c.bo + "px " + this.c.bn + "px " + this.c.bl + "px " + this.c.bm + "px";
201
201
  }
202
- if (this.b.e == 4) {
203
- this.n.setStyleProperty("min-width", a);
204
- this.n.setStyleProperty("min-height", b);
205
- this.n.setStyleProperty("padding", k);
206
- this.n.setStyleProperty("width", c);
207
- this.n.setStyleProperty("height", d);
202
+ if (this.c.e == 4) {
203
+ this.o.setStyleProperty("min-width", a);
204
+ this.o.setStyleProperty("min-height", b);
205
+ this.o.setStyleProperty("padding", k);
206
+ this.o.setStyleProperty("width", c);
207
+ this.o.setStyleProperty("height", d);
208
208
  }
209
- else if (this.b.e == 3) {
210
- this.n.setStyleProperty("min-width", e);
211
- this.n.setStyleProperty("min-height", f);
212
- this.n.setStyleProperty("padding", l);
213
- this.n.setStyleProperty("width", g);
214
- this.n.setStyleProperty("height", h);
209
+ else if (this.c.e == 3) {
210
+ this.o.setStyleProperty("min-width", e);
211
+ this.o.setStyleProperty("min-height", f);
212
+ this.o.setStyleProperty("padding", l);
213
+ this.o.setStyleProperty("width", g);
214
+ this.o.setStyleProperty("height", h);
215
215
  }
216
216
  else {
217
- this.n.setStyleProperty("width", "auto");
218
- this.n.setStyleProperty("height", "auto");
219
- this.n.setStyleProperty("min-width", i);
220
- this.n.setStyleProperty("min-height", j);
221
- this.n.setStyleProperty("padding", m);
217
+ this.o.setStyleProperty("width", "auto");
218
+ this.o.setStyleProperty("height", "auto");
219
+ this.o.setStyleProperty("min-width", i);
220
+ this.o.setStyleProperty("min-height", j);
221
+ this.o.setStyleProperty("padding", m);
222
222
  }
223
- this.k.rootWrapper.setStyleProperty("height", "auto");
224
- if (!isNaN_(this.b.bj) && this.b.bj > 0) {
225
- this.n.setStyleProperty("border-style", "solid");
223
+ this.l.rootWrapper.setStyleProperty("height", "auto");
224
+ if (!isNaN_(this.c.bj) && this.c.bj > 0) {
225
+ this.o.setStyleProperty("border-style", "solid");
226
226
  }
227
227
  else {
228
- this.n.setStyleProperty("border-style", "none");
228
+ this.o.setStyleProperty("border-style", "none");
229
229
  }
230
- if (!isNaN_(this.j)) {
231
- this.n.setStyleProperty("min-width", this.j.toString() + "px");
230
+ if (!isNaN_(this.k)) {
231
+ this.o.setStyleProperty("min-width", this.k.toString() + "px");
232
232
  }
233
- if (!isNaN_(this.i)) {
234
- this.n.setStyleProperty("min-height", this.i.toString() + "px");
233
+ if (!isNaN_(this.j)) {
234
+ this.o.setStyleProperty("min-height", this.j.toString() + "px");
235
235
  }
236
- if (this.b.ay) {
237
- this.n.setStyleProperty("width", "100%");
238
- this.n.setStyleProperty("height", "100%");
239
- this.k.rootWrapper.setStyleProperty("height", "100%");
236
+ if (this.c.ay) {
237
+ this.o.setStyleProperty("width", "100%");
238
+ this.o.setStyleProperty("height", "100%");
239
+ this.l.rootWrapper.setStyleProperty("height", "100%");
240
240
  }
241
241
  }
242
- au() {
243
- switch (this.b.le) {
242
+ av() {
243
+ switch (this.c.le) {
244
244
  case 1:
245
- this.n.setStyleProperty("justify-content", "center");
246
- this.o.setStyleProperty("flex-grow", "unset");
245
+ this.o.setStyleProperty("justify-content", "center");
246
+ this.p.setStyleProperty("flex-grow", "unset");
247
247
  break;
248
248
  case 3:
249
- this.n.setStyleProperty("justify-content", "stretch");
250
- this.o.setStyleProperty("flex-grow", "1");
249
+ this.o.setStyleProperty("justify-content", "stretch");
250
+ this.p.setStyleProperty("flex-grow", "1");
251
251
  break;
252
252
  case 0:
253
- this.n.setStyleProperty("justify-content", "left");
254
- this.o.setStyleProperty("flex-grow", "unset");
253
+ this.o.setStyleProperty("justify-content", "left");
254
+ this.p.setStyleProperty("flex-grow", "unset");
255
255
  break;
256
256
  case 2:
257
- this.n.setStyleProperty("justify-content", "right");
258
- this.o.setStyleProperty("flex-grow", "unset");
257
+ this.o.setStyleProperty("justify-content", "right");
258
+ this.p.setStyleProperty("flex-grow", "unset");
259
259
  break;
260
260
  }
261
261
  }
262
+ ax(a) {
263
+ this.k = a;
264
+ }
262
265
  aw(a) {
263
266
  this.j = a;
264
267
  }
265
- av(a) {
266
- this.i = a;
267
- }
268
- as() {
269
- this.n.setAttribute("disabled", this.b.disabled ? "true" : "false");
270
- this.n.setProperty("disabled", this.b.disabled);
268
+ at() {
269
+ this.o.setAttribute("disabled", this.c.disabled ? "true" : "false");
270
+ this.o.setProperty("disabled", this.c.disabled);
271
271
  }
272
- an() {
273
- if (this.k != null) {
274
- this.k.rootWrapper.setStyleProperty("display", this.b.f0);
275
- let comp_ = this.p;
276
- if (this.p != null) {
277
- this.o.setStyleProperty("display", this.b.f0);
278
- let display_ = this.b.fj != null ? this.b.f0 : this.b.fj;
272
+ ao() {
273
+ if (this.l != null) {
274
+ this.l.rootWrapper.setStyleProperty("display", this.c.f0);
275
+ let comp_ = this.q;
276
+ if (this.q != null) {
277
+ this.p.setStyleProperty("display", this.c.f0);
278
+ let display_ = this.c.fj != null ? this.c.f0 : this.c.fj;
279
279
  comp_.display = display_;
280
280
  }
281
- let ext_ = this.k.getExternal(this.b, null, null);
281
+ let ext_ = this.l.getExternal(this.c, null, null);
282
282
  if (ext_ && ext_._onDisplayChanged) {
283
283
  ext_._onDisplayChanged();
284
284
  }
285
285
  ;
286
286
  }
287
287
  }
288
- aj() {
289
- if (this.k != null) {
290
- let comp_ = this.p;
291
- if (this.p != null) {
292
- let display_ = this.b.fj != null ? this.b.fj : this.b.f0;
288
+ ak() {
289
+ if (this.l != null) {
290
+ let comp_ = this.q;
291
+ if (this.q != null) {
292
+ let display_ = this.c.fj != null ? this.c.fj : this.c.f0;
293
293
  comp_.display = display_;
294
294
  }
295
295
  }
296
296
  }
297
- ah() {
298
- if (this.k != null) {
299
- this.k.rootWrapper.setStyleProperty("align-items", this.b.fb);
300
- this.n.setStyleProperty("align-items", this.b.fb);
301
- let comp_ = this.p;
302
- if (this.p != null) {
303
- this.o.setStyleProperty("align-items", this.b.fb);
304
- let alignItems_ = this.b.fb;
297
+ ai() {
298
+ if (this.l != null) {
299
+ this.l.rootWrapper.setStyleProperty("align-items", this.c.fb);
300
+ this.o.setStyleProperty("align-items", this.c.fb);
301
+ let comp_ = this.q;
302
+ if (this.q != null) {
303
+ this.p.setStyleProperty("align-items", this.c.fb);
304
+ let alignItems_ = this.c.fb;
305
305
  comp_.alignItems = alignItems_;
306
306
  }
307
- let ext_ = this.k.getExternal(this.b, null, null);
307
+ let ext_ = this.l.getExternal(this.c, null, null);
308
308
  if (ext_ && ext_._onAlignItemsChanged) {
309
309
  ext_._onAlignItemsChanged();
310
310
  }
311
311
  ;
312
312
  }
313
313
  }
314
- ao() {
315
- if (this.k != null) {
316
- this.k.rootWrapper.setStyleProperty("flex-direction", this.b.g4);
317
- this.n.setStyleProperty("flex-direction", this.b.g4);
318
- let ext_ = this.k.getExternal(this.b, null, null);
319
- let comp_ = this.p;
320
- if (this.p != null) {
321
- this.o.setStyleProperty("flex-direction", this.b.g4);
322
- let direction_ = this.b.g4;
314
+ ap() {
315
+ if (this.l != null) {
316
+ this.l.rootWrapper.setStyleProperty("flex-direction", this.c.g4);
317
+ this.o.setStyleProperty("flex-direction", this.c.g4);
318
+ let ext_ = this.l.getExternal(this.c, null, null);
319
+ let comp_ = this.q;
320
+ if (this.q != null) {
321
+ this.p.setStyleProperty("flex-direction", this.c.g4);
322
+ let direction_ = this.c.g4;
323
323
  comp_.flexDirection = direction_;
324
324
  }
325
325
  if (ext_ && ext_._onFlexDirectionChanged) {
@@ -328,147 +328,147 @@ export let ButtonView = /*@__PURE__*/ (() => {
328
328
  ;
329
329
  }
330
330
  }
331
- ap() {
332
- if (this.k != null) {
333
- this.k.rootWrapper.setStyleProperty("flex-grow", this.b.g6);
334
- this.n.setStyleProperty("flex-grow", this.b.g6);
335
- let ext_ = this.k.getExternal(this.b, null, null);
331
+ aq() {
332
+ if (this.l != null) {
333
+ this.l.rootWrapper.setStyleProperty("flex-grow", this.c.g6);
334
+ this.o.setStyleProperty("flex-grow", this.c.g6);
335
+ let ext_ = this.l.getExternal(this.c, null, null);
336
336
  if (ext_ && ext_._onFlexGrowChanged) {
337
337
  ext_._onFlexGrowChanged();
338
338
  }
339
339
  ;
340
340
  }
341
341
  }
342
- t(a) {
342
+ u(a) {
343
343
  }
344
- ax() {
345
- if (this.g()) {
346
- let a = this.b.hy;
347
- this.n.setAttribute("name", this.b.h6);
348
- this.n.setProperty("value", this.b.ee);
349
- if (this.b.az) {
350
- this.n.setAttribute("tabindex", this.b.d7.toString());
344
+ ay() {
345
+ if (this.h()) {
346
+ let a = this.c.hy;
347
+ this.o.setAttribute("name", this.c.h6);
348
+ this.o.setProperty("value", this.c.ee);
349
+ if (this.c.az) {
350
+ this.o.setAttribute("tabindex", this.c.d7.toString());
351
351
  }
352
- this.n.setProperty("disabled", this.b.disabled);
352
+ this.o.setProperty("disabled", this.c.disabled);
353
353
  {
354
354
  }
355
- this.n.setAttribute("aria-label", this.b.fd);
356
- this.n.setStyleProperty("cursor", !this.b.av ? "pointer" : "unset");
355
+ this.o.setAttribute("aria-label", this.c.fd);
356
+ this.o.setStyleProperty("cursor", !this.c.av ? "pointer" : "unset");
357
357
  }
358
358
  }
359
- ar() {
360
- if (this.g()) {
361
- let a = this.b.hy;
362
- this.n.setAttribute("id", a);
359
+ as() {
360
+ if (this.h()) {
361
+ let a = this.c.hy;
362
+ this.o.setAttribute("id", a);
363
363
  }
364
364
  }
365
- v(a) {
366
- this.b.kh();
367
- if (this.b.a5) {
365
+ w(a) {
366
+ this.c.kh();
367
+ if (this.c.a5) {
368
368
  a.stopPropagation();
369
369
  }
370
370
  }
371
- w(a) {
372
- this.b.ki();
373
- if (this.b.a5) {
371
+ x(a) {
372
+ this.c.ki();
373
+ if (this.c.a5) {
374
374
  a.stopPropagation();
375
375
  }
376
376
  }
377
- u(a) {
378
- this.b.kg();
379
- if (this.b.a5) {
377
+ v(a) {
378
+ this.c.kg();
379
+ if (this.c.a5) {
380
380
  a.stopPropagation();
381
381
  }
382
382
  }
383
- x(a) {
384
- this.b.kj();
385
- if (this.b.a5) {
383
+ y(a) {
384
+ this.c.kj();
385
+ if (this.c.a5) {
386
386
  a.stopPropagation();
387
387
  }
388
388
  }
389
- y(a) {
390
- this.b.ka();
389
+ z(a) {
390
+ this.c.ka();
391
391
  }
392
- ab(a) {
393
- this.b.kd();
392
+ ac(a) {
393
+ this.c.kd();
394
394
  }
395
- aa(a) {
396
- this.b.kb();
397
- if (!this.b.at) {
395
+ ab(a) {
396
+ this.c.kb();
397
+ if (!this.c.at) {
398
398
  a.preventDefault();
399
399
  }
400
- if (this.b.a5) {
400
+ if (this.c.a5) {
401
401
  a.stopPropagation();
402
402
  }
403
403
  }
404
- ac(a) {
405
- this.b.ke();
406
- }
407
404
  ad(a) {
408
- this.b.kf(a.originalEvent.relatedTarget, a.originalEvent.target);
405
+ this.c.ke();
406
+ }
407
+ ae(a) {
408
+ this.c.kf(a.originalEvent.relatedTarget, a.originalEvent.target);
409
409
  }
410
- f() {
410
+ g() {
411
411
  return false;
412
412
  }
413
- z(a) {
413
+ aa(a) {
414
414
  }
415
- ag() {
415
+ ah() {
416
416
  if (KeyFrameAnimationFactory.h == null) {
417
- KeyFrameAnimationFactory.h = this.k;
417
+ KeyFrameAnimationFactory.h = this.l;
418
418
  }
419
419
  }
420
- ai() {
421
- this.e = true;
422
- this.h.add(this.n.listen("change", runOn(this, this.z)));
423
- this.h.add(this.n.listen("click", runOn(this, this.aa)));
424
- this.h.add(this.n.listen("focus", runOn(this, this.ab)));
425
- this.h.add(this.n.listen("blur", runOn(this, this.y)));
426
- this.h.add(this.m.listen("click", runOn(this, this.t)));
427
- this.h.add(this.n.listen("mouseenter", runOn(this, this.v)));
428
- this.h.add(this.n.listen("mouseleave", runOn(this, this.w)));
429
- this.h.add(this.n.listen("mousedown", runOn(this, this.u)));
430
- this.h.add(this.n.listen("mouseup", runOn(this, this.x)));
431
- this.h.add(this.n.listen("focusin", runOn(this, this.ac)));
432
- this.h.add(this.n.listen("focusout", runOn(this, this.ad)));
433
- }
434
- al() {
435
- this.e = false;
436
- for (let a of fromEnum(this.h)) {
420
+ aj() {
421
+ this.f = true;
422
+ this.i.add(this.o.listen("change", runOn(this, this.aa)));
423
+ this.i.add(this.o.listen("click", runOn(this, this.ab)));
424
+ this.i.add(this.o.listen("focus", runOn(this, this.ac)));
425
+ this.i.add(this.o.listen("blur", runOn(this, this.z)));
426
+ this.i.add(this.n.listen("click", runOn(this, this.u)));
427
+ this.i.add(this.o.listen("mouseenter", runOn(this, this.w)));
428
+ this.i.add(this.o.listen("mouseleave", runOn(this, this.x)));
429
+ this.i.add(this.o.listen("mousedown", runOn(this, this.v)));
430
+ this.i.add(this.o.listen("mouseup", runOn(this, this.y)));
431
+ this.i.add(this.o.listen("focusin", runOn(this, this.ad)));
432
+ this.i.add(this.o.listen("focusout", runOn(this, this.ae)));
433
+ }
434
+ am() {
435
+ this.f = false;
436
+ for (let a of fromEnum(this.i)) {
437
437
  a();
438
438
  }
439
- this.h.clear();
439
+ this.i.clear();
440
440
  }
441
- at() {
442
- let model_ = this.b;
441
+ au() {
442
+ let model_ = this.c;
443
443
  if (model_.externalObject && model_.externalObject.refreshDefaults) {
444
444
  model_.externalObject.refreshDefaults();
445
445
  }
446
446
  ;
447
447
  }
448
- ay(a, b) {
449
- this.c.ax = a;
450
- this.c.aw = b;
451
- }
452
448
  az(a, b) {
453
- let c = ElevationHelper.e(a, this.b.n0, this.b.nx, this.b.nn, b);
454
- this.n.setStyleProperty("box-shadow", c);
449
+ this.d.ax = a;
450
+ this.d.aw = b;
451
+ }
452
+ a0(a, b) {
453
+ let c = ElevationHelper.e(a, this.c.n0, this.c.nx, this.c.nn, b);
454
+ this.o.setStyleProperty("box-shadow", c);
455
455
  }
456
- a1(a) {
456
+ a2(a) {
457
457
  if (a != null) {
458
- this.m.setStyleProperty("font", a.fontString);
458
+ this.n.setStyleProperty("font", a.fontString);
459
459
  }
460
460
  }
461
- ae(a) {
462
- this.m.append(a);
461
+ af(a) {
462
+ this.n.append(a);
463
463
  }
464
- af() {
465
- this.m.removeChildren();
464
+ ag() {
465
+ this.n.removeChildren();
466
466
  }
467
- r() {
468
- return this.m.getChildCount() > 0 ? this.m.getChildAt(0) : null;
467
+ s() {
468
+ return this.n.getChildCount() > 0 ? this.n.getChildAt(0) : null;
469
469
  }
470
- a() {
471
- let rect_ = this.k.rootWrapper.getNativeElement().getBoundingClientRect();
470
+ b() {
471
+ let rect_ = this.l.rootWrapper.getNativeElement().getBoundingClientRect();
472
472
  let a = (rect_.top);
473
473
  let b = (rect_.left);
474
474
  let c = new Array(2);
@@ -476,6 +476,12 @@ export let ButtonView = /*@__PURE__*/ (() => {
476
476
  c[1] = b;
477
477
  return c;
478
478
  }
479
+ a() {
480
+ let a = new Array(2);
481
+ a[0] = NativeUI.k(this.r);
482
+ a[1] = NativeUI.d(this.r);
483
+ return a;
484
+ }
479
485
  }
480
486
  ButtonView.$t = /*@__PURE__*/ markType(ButtonView, 'ButtonView');
481
487
  return ButtonView;
@@ -748,9 +754,9 @@ export let XButton = /*@__PURE__*/ (() => {
748
754
  this.gotFocus = null;
749
755
  this.lostFocus = null;
750
756
  let a = new ButtonView();
751
- a.b = this;
757
+ a.c = this;
752
758
  this.view = a;
753
- this.view.aq();
759
+ this.view.ar();
754
760
  }
755
761
  get view() {
756
762
  return this._view;
@@ -881,7 +887,7 @@ export let XButton = /*@__PURE__*/ (() => {
881
887
  case "IsDisabled":
882
888
  this.as = this.disabled || this.aw;
883
889
  this.kq();
884
- this.view.as();
890
+ this.view.at();
885
891
  this.kp();
886
892
  break;
887
893
  case "DisableRipple":
@@ -893,7 +899,7 @@ export let XButton = /*@__PURE__*/ (() => {
893
899
  this.kp();
894
900
  break;
895
901
  case "ActualDisableRipple":
896
- this.view.am();
902
+ this.view.an();
897
903
  break;
898
904
  case "ActualBackgroundColor":
899
905
  case "ActualDisabledBackgroundColor":
@@ -916,11 +922,11 @@ export let XButton = /*@__PURE__*/ (() => {
916
922
  if (this.e == 4) {
917
923
  this.ko();
918
924
  }
919
- this.view.a0();
925
+ this.view.a1();
920
926
  this.kp();
921
927
  break;
922
928
  case "DisplayType":
923
- this.view.a0();
929
+ this.view.a1();
924
930
  this.kq();
925
931
  this.kp();
926
932
  break;
@@ -929,43 +935,43 @@ export let XButton = /*@__PURE__*/ (() => {
929
935
  case "ContentPaddingRight":
930
936
  case "ContentPaddingBottom":
931
937
  case "FillAvailableSpace":
932
- this.view.a0();
938
+ this.view.a1();
933
939
  break;
934
940
  case "HorizontalContentAlignment":
935
941
  case "VerticalContentAlignment":
936
- this.view.au();
942
+ this.view.av();
937
943
  break;
938
944
  case "InputId":
939
- this.view.ar();
945
+ this.view.as();
940
946
  break;
941
947
  case "Display":
942
- this.view.an();
948
+ this.view.ao();
943
949
  break;
944
950
  case "ChildContentDisplay":
945
- this.view.aj();
951
+ this.view.ak();
946
952
  break;
947
953
  case "FlexDirection":
948
- this.view.ao();
954
+ this.view.ap();
949
955
  break;
950
956
  case "FlexGrow":
951
- this.view.ap();
957
+ this.view.aq();
952
958
  break;
953
959
  case "AlignItems":
954
- this.view.ah();
960
+ this.view.ai();
955
961
  break;
956
962
  case "TabIndex":
957
- this.view.ax();
963
+ this.view.ay();
958
964
  break;
959
965
  case "DisablePointer":
960
- this.view.ax();
966
+ this.view.ay();
961
967
  break;
962
968
  case "MinWidth":
963
- this.view.aw(this.by);
964
- this.view.a0();
969
+ this.view.ax(this.by);
970
+ this.view.a1();
965
971
  break;
966
972
  case "MinHeight":
967
- this.view.av(this.bx);
968
- this.view.a0();
973
+ this.view.aw(this.bx);
974
+ this.view.a1();
969
975
  break;
970
976
  }
971
977
  }
@@ -1149,7 +1155,7 @@ export let XButton = /*@__PURE__*/ (() => {
1149
1155
  }
1150
1156
  }
1151
1157
  kp() {
1152
- let a = this.view.q;
1158
+ let a = this.view.r;
1153
1159
  if (a == null) {
1154
1160
  return;
1155
1161
  }
@@ -1159,17 +1165,17 @@ export let XButton = /*@__PURE__*/ (() => {
1159
1165
  NativeUI.p(a, new Thickness(0, this.bj));
1160
1166
  }
1161
1167
  if (this.disabled) {
1162
- this.view.az(this.cu, this.u);
1168
+ this.view.a0(this.cu, this.u);
1163
1169
  }
1164
1170
  else if (this.focused && this.a2) {
1165
- this.view.az(this.cv, this.u);
1171
+ this.view.a0(this.cv, this.u);
1166
1172
  }
1167
1173
  else {
1168
1174
  if (this.a3 && !this.au) {
1169
- this.view.az(this.cw, this.u);
1175
+ this.view.a0(this.cw, this.u);
1170
1176
  }
1171
1177
  else {
1172
- this.view.az(this.cx, this.u);
1178
+ this.view.a0(this.cx, this.u);
1173
1179
  }
1174
1180
  }
1175
1181
  if (this.disabled) {
@@ -1186,26 +1192,26 @@ export let XButton = /*@__PURE__*/ (() => {
1186
1192
  NativeUI.m(a, this.no);
1187
1193
  }
1188
1194
  }
1189
- this.view.ay(this.ny, BrushUtil.j(0, 0, 0, 0));
1195
+ this.view.az(this.ny, BrushUtil.j(0, 0, 0, 0));
1190
1196
  if (this.aa != null) {
1191
- this.view.a1(this.aa);
1197
+ this.view.a2(this.aa);
1192
1198
  }
1193
1199
  if (this.disabled) {
1194
- NativeUI.q(this.view.s, this.ns);
1195
- NativeUI.r(this.view.s, this.ns);
1200
+ NativeUI.q(this.view.t, this.ns);
1201
+ NativeUI.r(this.view.t, this.ns);
1196
1202
  }
1197
1203
  else if (this.focused && this.a2) {
1198
- NativeUI.q(this.view.s, this.nu);
1199
- NativeUI.r(this.view.s, this.nu);
1204
+ NativeUI.q(this.view.t, this.nu);
1205
+ NativeUI.r(this.view.t, this.nu);
1200
1206
  }
1201
1207
  else {
1202
1208
  if (this.a3 && !this.au) {
1203
- NativeUI.q(this.view.s, this.nw);
1204
- NativeUI.r(this.view.s, this.nw);
1209
+ NativeUI.q(this.view.t, this.nw);
1210
+ NativeUI.r(this.view.t, this.nw);
1205
1211
  }
1206
1212
  else {
1207
- NativeUI.q(this.view.s, this.nz);
1208
- NativeUI.r(this.view.s, this.nz);
1213
+ NativeUI.q(this.view.t, this.nz);
1214
+ NativeUI.r(this.view.t, this.nz);
1209
1215
  }
1210
1216
  }
1211
1217
  }
@@ -2906,7 +2912,7 @@ export let XButton = /*@__PURE__*/ (() => {
2906
2912
  }
2907
2913
  kl() {
2908
2914
  this.j8();
2909
- this.view.ay(this.ny, BrushUtil.j(0, 0, 0, 0));
2915
+ this.view.az(this.ny, BrushUtil.j(0, 0, 0, 0));
2910
2916
  this.kp();
2911
2917
  }
2912
2918
  get a() {
@@ -2916,25 +2922,25 @@ export let XButton = /*@__PURE__*/ (() => {
2916
2922
  return a;
2917
2923
  }
2918
2924
  j8() {
2919
- this.view.ag();
2925
+ this.view.ah();
2920
2926
  }
2921
2927
  onDetachedFromUI() {
2922
- this.view.al();
2928
+ this.view.am();
2923
2929
  }
2924
2930
  onAttachedToUI() {
2925
- this.view.ai();
2931
+ this.view.aj();
2926
2932
  }
2927
2933
  appendButtonContent(a) {
2928
- this.view.ae(a);
2934
+ this.view.af(a);
2929
2935
  }
2930
2936
  clearButtonContent() {
2931
- this.view.af();
2937
+ this.view.ag();
2932
2938
  }
2933
2939
  getButtonContent() {
2934
- return this.view.r();
2940
+ return this.view.s();
2935
2941
  }
2936
2942
  a4() {
2937
- return this.view.g();
2943
+ return this.view.h();
2938
2944
  }
2939
2945
  eb() {
2940
2946
  return this.b();
@@ -2944,14 +2950,15 @@ export let XButton = /*@__PURE__*/ (() => {
2944
2950
  return a.serialize();
2945
2951
  }
2946
2952
  b() {
2947
- let a = this.view.q;
2948
- let b = this.view.s;
2953
+ let a = this.view.r;
2954
+ let b = this.view.t;
2949
2955
  let c = new ButtonVisualModelExport();
2950
- let d = this.view.a();
2956
+ let d = this.view.b();
2951
2957
  c.s = d[0];
2952
2958
  c.q = d[1];
2953
- c.p = NativeUI.d(a);
2954
- c.t = NativeUI.k(a);
2959
+ let e = this.view.a();
2960
+ c.t = e[0];
2961
+ c.p = e[1];
2955
2962
  c.h = this.n;
2956
2963
  c.i = this.q;
2957
2964
  c.c = AppearanceHelper.a(NativeUI.ak(a));
@@ -2969,44 +2976,44 @@ export let XButton = /*@__PURE__*/ (() => {
2969
2976
  c.y = this.g4;
2970
2977
  c.z = this.g6;
2971
2978
  c.w = this.fb;
2972
- c.v = this.view.s.getNativeElement().innerText;
2979
+ c.v = this.view.t.getNativeElement().innerText;
2973
2980
  c.aa = this.h6;
2974
2981
  c.m = this.focused;
2975
2982
  c.k = this.as;
2976
2983
  c.n = this.a3;
2977
2984
  c.l = this.disabled;
2978
2985
  if (this.aa != null) {
2979
- let e = this.aa;
2980
- if (this.view != null && e.q == null) {
2981
- let f = this.view.k;
2982
- let g = FontUtil.getFontInfoFromString(f, e.fontString);
2983
- e.q = g.q;
2984
- e.f = g.f;
2985
- e.r = g.r;
2986
- e.t = g.t;
2987
- e.u = g.u;
2988
- e.v = g.v;
2986
+ let f = this.aa;
2987
+ if (this.view != null && f.q == null) {
2988
+ let g = this.view.l;
2989
+ let h = FontUtil.getFontInfoFromString(g, f.fontString);
2990
+ f.q = h.q;
2991
+ f.f = h.f;
2992
+ f.r = h.r;
2993
+ f.t = h.t;
2994
+ f.u = h.u;
2995
+ f.v = h.v;
2989
2996
  }
2990
- if (e.q != null) {
2991
- c.ab = e.q;
2997
+ if (f.q != null) {
2998
+ c.ab = f.q;
2992
2999
  }
2993
- if (!isNaN_(e.f)) {
2994
- c.r = e.f;
3000
+ if (!isNaN_(f.f)) {
3001
+ c.r = f.f;
2995
3002
  }
2996
- if (e.v != null) {
2997
- c.af = e.v;
3003
+ if (f.v != null) {
3004
+ c.af = f.v;
2998
3005
  }
2999
- if (e.t != null) {
3000
- c.ad = e.t;
3006
+ if (f.t != null) {
3007
+ c.ad = f.t;
3001
3008
  }
3002
- if (e.r != null) {
3003
- c.ac = e.t;
3009
+ if (f.r != null) {
3010
+ c.ac = f.t;
3004
3011
  }
3005
3012
  }
3006
3013
  return c;
3007
3014
  }
3008
3015
  provideContainer(a) {
3009
- this.view.ak(a);
3016
+ this.view.al(a);
3010
3017
  }
3011
3018
  }
3012
3019
  XButton.$t = /*@__PURE__*/ markType(XButton, 'XButton', Base.$, [INotifyPropertyChanged_$type]);