igniteui-angular-inputs 20.1.0 → 20.2.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-angular-inputs.umd.js +1322 -1128
  2. package/bundles/igniteui-angular-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/igx-color-editor-component.js +49 -33
  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/igx-color-editor-component.js +49 -33
  42. package/esm5/public_api.js +2 -0
  43. package/fesm2015/igniteui-angular-inputs.js +1328 -1136
  44. package/fesm5/igniteui-angular-inputs.js +1322 -1130
  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/igx-color-editor-component.d.ts +10 -0
  56. package/package.json +2 -2
  57. package/public_api.d.ts +2 -0
@@ -0,0 +1,45 @@
1
+ /*
2
+ THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
3
+ https://www.infragistics.com/legal/license/igultimate-la
4
+ https://www.infragistics.com/legal/license/igultimate-eula
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
+ */
7
+ import { __extends } from "tslib";
8
+ import { Base, enumGetBox, markType } from "igniteui-angular-core";
9
+ import { BaseControlTheme_$type } from "igniteui-angular-core";
10
+ import { StringBuilder } from "igniteui-angular-core";
11
+ /**
12
+ * @hidden
13
+ */
14
+ var CheckboxListVisualModelExport = /** @class */ /*@__PURE__*/ (function (_super) {
15
+ __extends(CheckboxListVisualModelExport, _super);
16
+ function CheckboxListVisualModelExport() {
17
+ var _this = _super !== null && _super.apply(this, arguments) || this;
18
+ _this.f = 0;
19
+ _this.g = 0;
20
+ _this.h = 0;
21
+ _this.e = 0;
22
+ _this.c = 0;
23
+ _this.b = null;
24
+ _this.a = null;
25
+ _this.d = 0;
26
+ return _this;
27
+ }
28
+ CheckboxListVisualModelExport.prototype.i = function () {
29
+ var a = new StringBuilder(0);
30
+ a.l("{");
31
+ a.l("left : " + this.f + ", ");
32
+ a.l("top : " + this.g + ", ");
33
+ a.l("height : " + this.e + ", ");
34
+ a.l("width : " + this.h + ", ");
35
+ a.l("baseTheme : " + enumGetBox(BaseControlTheme_$type, this.c) + ", ");
36
+ a.l("backgroundColor : " + this.b.serialize() + ", ");
37
+ a.l("actualSelectAllCaptionTextColor : " + this.a.serialize() + ", ");
38
+ a.l("actualRowHeight : " + this.d);
39
+ a.l("}");
40
+ return a.toString();
41
+ };
42
+ CheckboxListVisualModelExport.$t = markType(CheckboxListVisualModelExport, 'CheckboxListVisualModelExport');
43
+ return CheckboxListVisualModelExport;
44
+ }(Base));
45
+ export { CheckboxListVisualModelExport };
@@ -37,30 +37,30 @@ var CheckboxView = /** @class */ /*@__PURE__*/ (function (_super) {
37
37
  __extends(CheckboxView, _super);
38
38
  function CheckboxView() {
39
39
  var _this = _super.call(this) || this;
40
- _this.c = null;
41
- _this.l = null;
42
- _this.f = null;
43
- _this.j = new List$1(Delegate_$type, 0);
44
- _this.g = true;
45
- _this.r = null;
40
+ _this.d = null;
46
41
  _this.m = null;
47
- _this.q = null;
42
+ _this.g = null;
43
+ _this.k = new List$1(Delegate_$type, 0);
44
+ _this.h = true;
45
+ _this.s = null;
48
46
  _this.n = null;
47
+ _this.r = null;
49
48
  _this.o = null;
50
- _this.d = null;
51
49
  _this.p = null;
50
+ _this.e = null;
51
+ _this.q = null;
52
52
  return _this;
53
53
  }
54
- CheckboxView.prototype.af = function () {
54
+ CheckboxView.prototype.ag = function () {
55
55
  };
56
- CheckboxView.prototype.i = function () {
56
+ CheckboxView.prototype.j = function () {
57
57
  return true;
58
58
  };
59
- CheckboxView.prototype.ad = function (a) {
59
+ CheckboxView.prototype.ae = function (a) {
60
60
  var e_1, _a;
61
61
  if (a == null) {
62
62
  try {
63
- for (var _b = __values(fromEnum(this.j)), _c = _b.next(); !_c.done; _c = _b.next()) {
63
+ for (var _b = __values(fromEnum(this.k)), _c = _b.next(); !_c.done; _c = _b.next()) {
64
64
  var b = _c.value;
65
65
  b();
66
66
  }
@@ -78,46 +78,46 @@ var CheckboxView = /** @class */ /*@__PURE__*/ (function (_super) {
78
78
  throw e_1.error;
79
79
  }
80
80
  }
81
- this.j.clear();
81
+ this.k.clear();
82
82
  return;
83
83
  }
84
- this.l = a;
85
- this.l.rootWrapper.setStyleProperty("display", "flex");
86
- this.l.rootWrapper.setStyleProperty("flex-direction", "row");
87
- this.l.rootWrapper.setStyleProperty("flex-wrap", "no-wrap");
88
- this.l.rootWrapper.setStyleProperty("align-items", "center");
89
- var c = this.l.createElement("input");
90
- this.r = c;
91
- this.r.addClass("ig-native-checkbox");
92
- this.r.setStyleProperty("position", "absolute");
93
- this.r.setStyleProperty("width", "1px");
94
- this.r.setStyleProperty("height", "1px");
95
- this.r.setStyleProperty("margin", "-1px");
96
- this.r.setStyleProperty("border", "none");
97
- this.r.setStyleProperty("clip", "rect(0, 0, 0, 0)");
98
- this.r.setStyleProperty("outline", "0");
99
- this.r.setStyleProperty("pointer-events", "none");
100
- this.r.setStyleProperty("overflow", "hidden");
101
- this.r.setStyleProperty("-webkit-appearance", "none");
102
- this.r.setStyleProperty("-moz-appearance", "none");
103
- this.r.setStyleProperty("appearance", "none");
104
- this.r.setAttribute("type", "checkbox");
105
- this.r.setAttribute("id", this.c.b1);
106
- this.aj();
107
- this.j.add(c.listen("change", runOn(this, this.x)));
108
- this.j.add(c.listen("click", runOn(this, this.y)));
109
- this.j.add(c.listen("focus", runOn(this, this.z)));
110
- this.j.add(c.listen("blur", runOn(this, this.w)));
111
- this.l.append(c);
112
- var d = this.l.createElement("div");
84
+ this.m = a;
85
+ this.m.rootWrapper.setStyleProperty("display", "flex");
86
+ this.m.rootWrapper.setStyleProperty("flex-direction", "row");
87
+ this.m.rootWrapper.setStyleProperty("flex-wrap", "no-wrap");
88
+ this.m.rootWrapper.setStyleProperty("align-items", "center");
89
+ var c = this.m.createElement("input");
90
+ this.s = c;
91
+ this.s.addClass("ig-native-checkbox");
92
+ this.s.setStyleProperty("position", "absolute");
93
+ this.s.setStyleProperty("width", "1px");
94
+ this.s.setStyleProperty("height", "1px");
95
+ this.s.setStyleProperty("margin", "-1px");
96
+ this.s.setStyleProperty("border", "none");
97
+ this.s.setStyleProperty("clip", "rect(0, 0, 0, 0)");
98
+ this.s.setStyleProperty("outline", "0");
99
+ this.s.setStyleProperty("pointer-events", "none");
100
+ this.s.setStyleProperty("overflow", "hidden");
101
+ this.s.setStyleProperty("-webkit-appearance", "none");
102
+ this.s.setStyleProperty("-moz-appearance", "none");
103
+ this.s.setStyleProperty("appearance", "none");
104
+ this.s.setAttribute("type", "checkbox");
105
+ this.s.setAttribute("id", this.d.b1);
106
+ this.ak();
107
+ this.k.add(c.listen("change", runOn(this, this.y)));
108
+ this.k.add(c.listen("click", runOn(this, this.z)));
109
+ this.k.add(c.listen("focus", runOn(this, this.aa)));
110
+ this.k.add(c.listen("blur", runOn(this, this.x)));
111
+ this.m.append(c);
112
+ var d = this.m.createElement("div");
113
113
  d.addClass("ig-checkbox-box");
114
114
  d.setStyleProperty("width", "1.25em");
115
115
  d.setStyleProperty("height", "1.25em");
116
116
  d.setStyleProperty("position", "relative");
117
- this.m = d;
118
- this.l.append(d);
119
- var e = this.l.createElement("label");
120
- e.setAttribute("for", this.c.b1);
117
+ this.n = d;
118
+ this.m.append(d);
119
+ var e = this.m.createElement("label");
120
+ e.setAttribute("for", this.d.b1);
121
121
  e.addClass("ig-checkbox-composite");
122
122
  e.setStyleProperty("box-sizing", "border-box");
123
123
  e.setStyleProperty("position", "relative");
@@ -136,9 +136,9 @@ var CheckboxView = /** @class */ /*@__PURE__*/ (function (_super) {
136
136
  e.setStyleProperty("border-radius", "2px");
137
137
  e.setStyleProperty("-webkit-tap-highlight-color", "transparent");
138
138
  e.setStyleProperty("overflow", "hidden");
139
- this.q = e;
140
- this.m.append(e);
141
- var f = this.l.createElementNS("svg", "http://www.w3.org/2000/svg");
139
+ this.r = e;
140
+ this.n.append(e);
141
+ var f = this.m.createElementNS("svg", "http://www.w3.org/2000/svg");
142
142
  f.setAttribute("viewBox", "0 0 24 24");
143
143
  f.addClass("ig-checkbox-mark");
144
144
  f.setStyleProperty("position", "absolute");
@@ -154,14 +154,14 @@ var CheckboxView = /** @class */ /*@__PURE__*/ (function (_super) {
154
154
  f.setStyleProperty("fill", "none");
155
155
  f.setStyleProperty("opacity", "0");
156
156
  f.setStyleProperty("z-index", "1");
157
- this.o = f;
157
+ this.p = f;
158
158
  e.append(f);
159
- var g = this.l.createElementNS("path", "http://www.w3.org/2000/svg");
160
- g.setAttribute("d", this.c.bf);
159
+ var g = this.m.createElementNS("path", "http://www.w3.org/2000/svg");
160
+ g.setAttribute("d", this.d.bf);
161
161
  f.append(g);
162
- this.n = g;
163
- var h = this.l.createElement("div");
164
- var i = this.l.getSubRenderer(h);
162
+ this.o = g;
163
+ var h = this.m.createElement("div");
164
+ var i = this.m.getSubRenderer(h);
165
165
  h.setStyleProperty("position", "absolute");
166
166
  h.setStyleProperty("width", "3em");
167
167
  h.setStyleProperty("height", "3em");
@@ -172,12 +172,12 @@ var CheckboxView = /** @class */ /*@__PURE__*/ (function (_super) {
172
172
  var j = new XRipple();
173
173
  j.provideContainer(i);
174
174
  j.q = d;
175
- var k = this.l.getExternal(j, this.l.rootWrapper, this.l.getExternal(this.c, null, null));
175
+ var k = this.m.getExternal(j, this.m.rootWrapper, this.m.getExternal(this.d, null, null));
176
176
  j.h = true;
177
177
  j.k = true;
178
- this.d = j;
178
+ this.e = j;
179
179
  d.append(h);
180
- var l = this.l.createElement("span");
180
+ var l = this.m.createElement("span");
181
181
  l.addClass("ig-checkbox-label");
182
182
  l.setStyleProperty("font-family", "Verdana");
183
183
  l.setStyleProperty("font-weight", "400");
@@ -190,125 +190,134 @@ var CheckboxView = /** @class */ /*@__PURE__*/ (function (_super) {
190
190
  l.setStyleProperty("margin-bottom", "0");
191
191
  l.setStyleProperty("cursor", "pointer");
192
192
  l.setStyleProperty("role", "label");
193
- this.p = l;
194
- this.j.add(l.listen("click", runOn(this, this.v)));
195
- this.l.append(l);
196
- this.l.getPortal(l, "ChildContent", function (m) {
193
+ this.q = l;
194
+ this.k.add(l.listen("click", runOn(this, this.w)));
195
+ this.m.append(l);
196
+ this.m.getPortal(l, "ChildContent", function (m) {
197
197
  }, true);
198
- this.c.cp();
198
+ this.d.cp();
199
199
  };
200
- CheckboxView.prototype.v = function (a) {
201
- this.c.toggle();
200
+ CheckboxView.prototype.w = function (a) {
201
+ this.d.toggle();
202
202
  };
203
- CheckboxView.prototype.aj = function () {
204
- if (this.i()) {
205
- var a = this.c.b1;
206
- this.r.setAttribute("name", this.c.ca);
207
- this.r.setProperty("value", this.c.a4);
208
- if (this.c.aa) {
209
- this.r.setAttribute("tabindex", this.c.az.toString());
203
+ CheckboxView.prototype.ak = function () {
204
+ if (this.j()) {
205
+ var a = this.d.b1;
206
+ this.s.setAttribute("name", this.d.ca);
207
+ this.s.setProperty("value", this.d.a4);
208
+ if (this.d.aa) {
209
+ this.s.setAttribute("tabindex", this.d.az.toString());
210
210
  }
211
- this.r.setProperty("disabled", this.c.disabled);
212
- this.r.setProperty("indeterminate", this.c.indeterminate);
213
- this.r.setProperty("checked", this.c.checked);
214
- this.r.setProperty("required", this.c.ay);
215
- if (this.c.indeterminate) {
216
- this.r.setAttribute("aria-checked", "mixed");
211
+ this.s.setProperty("disabled", this.d.disabled);
212
+ this.s.setProperty("indeterminate", this.d.indeterminate);
213
+ this.s.setProperty("checked", this.d.checked);
214
+ this.s.setProperty("required", this.d.ay);
215
+ if (this.d.indeterminate) {
216
+ this.s.setAttribute("aria-checked", "mixed");
217
217
  }
218
218
  else {
219
- this.r.setAttribute("aria-checked", this.c.checked ? "true" : "false");
219
+ this.s.setAttribute("aria-checked", this.d.checked ? "true" : "false");
220
220
  }
221
- this.r.setAttribute("aria-labelledby", this.c.bn);
222
- this.r.setAttribute("aria-label", this.c.bm);
221
+ this.s.setAttribute("aria-labelledby", this.d.bn);
222
+ this.s.setAttribute("aria-label", this.d.bm);
223
223
  }
224
224
  };
225
- CheckboxView.prototype.al = function () {
226
- return new Size(1, this.q.width(), this.q.height());
225
+ CheckboxView.prototype.am = function () {
226
+ return new Size(1, this.r.width(), this.r.height());
227
227
  };
228
- CheckboxView.prototype.ai = function () {
229
- this.n.setAttribute("d", this.c.bf);
228
+ CheckboxView.prototype.a = function () {
229
+ var rect_ = this.r.getNativeElement().getBoundingClientRect();
230
+ var a = (rect_.top);
231
+ var b = (rect_.left);
232
+ var c = new Array(2);
233
+ c[0] = a;
234
+ c[1] = b;
235
+ return c;
230
236
  };
231
- CheckboxView.prototype.ag = function () {
232
- if (this.i()) {
233
- var a = this.c.b1;
234
- this.r.setAttribute("id", a);
235
- this.q.setAttribute("for", a);
237
+ CheckboxView.prototype.aj = function () {
238
+ this.o.setAttribute("d", this.d.bf);
239
+ };
240
+ CheckboxView.prototype.ah = function () {
241
+ if (this.j()) {
242
+ var a = this.d.b1;
243
+ this.s.setAttribute("id", a);
244
+ this.r.setAttribute("for", a);
236
245
  }
237
246
  };
238
- CheckboxView.prototype.w = function (a) {
239
- this.c.focused = false;
247
+ CheckboxView.prototype.x = function (a) {
248
+ this.d.focused = false;
240
249
  };
241
- CheckboxView.prototype.z = function (a) {
242
- this.c.focused = true;
250
+ CheckboxView.prototype.aa = function (a) {
251
+ this.d.focused = true;
243
252
  };
244
- CheckboxView.prototype.y = function (a) {
253
+ CheckboxView.prototype.z = function (a) {
245
254
  a.stopPropagation();
246
- if (this.h()) {
247
- var native_ = this.r.getNativeElement();
255
+ if (this.i()) {
256
+ var native_ = this.s.getNativeElement();
248
257
  native_.blur();
249
258
  }
250
- this.c.toggle();
259
+ this.d.toggle();
251
260
  };
252
- CheckboxView.prototype.h = function () {
261
+ CheckboxView.prototype.i = function () {
253
262
  return false;
254
263
  };
255
- CheckboxView.prototype.x = function (a) {
264
+ CheckboxView.prototype.y = function (a) {
256
265
  a.stopPropagation();
257
266
  };
258
- CheckboxView.prototype.aa = function () {
267
+ CheckboxView.prototype.ab = function () {
259
268
  if (KeyFrameAnimationFactory.h == null) {
260
- KeyFrameAnimationFactory.h = this.l;
269
+ KeyFrameAnimationFactory.h = this.m;
261
270
  }
262
271
  };
263
- CheckboxView.prototype.a = function (a) {
264
- return new AnimationKeyFrameEffect(0, this.q, 0, null, a);
265
- };
266
272
  CheckboxView.prototype.b = function (a) {
267
- return new AnimationKeyFrameEffect(0, this.o, 0, null, a);
273
+ return new AnimationKeyFrameEffect(0, this.r, 0, null, a);
268
274
  };
269
- CheckboxView.prototype.ab = function (a) {
275
+ CheckboxView.prototype.c = function (a) {
276
+ return new AnimationKeyFrameEffect(0, this.p, 0, null, a);
270
277
  };
271
- Object.defineProperty(CheckboxView.prototype, "t", {
278
+ CheckboxView.prototype.ac = function (a) {
279
+ };
280
+ Object.defineProperty(CheckboxView.prototype, "u", {
272
281
  get: function () {
273
- return this.q;
282
+ return this.r;
274
283
  },
275
284
  enumerable: false,
276
285
  configurable: true
277
286
  });
278
- Object.defineProperty(CheckboxView.prototype, "s", {
287
+ Object.defineProperty(CheckboxView.prototype, "t", {
279
288
  get: function () {
280
- return this.q;
289
+ return this.r;
281
290
  },
282
291
  enumerable: false,
283
292
  configurable: true
284
293
  });
285
- Object.defineProperty(CheckboxView.prototype, "e", {
294
+ Object.defineProperty(CheckboxView.prototype, "f", {
286
295
  get: function () {
287
- return this.d;
296
+ return this.e;
288
297
  },
289
298
  enumerable: false,
290
299
  configurable: true
291
300
  });
292
- Object.defineProperty(CheckboxView.prototype, "u", {
301
+ Object.defineProperty(CheckboxView.prototype, "v", {
293
302
  get: function () {
294
- return this.o;
303
+ return this.p;
295
304
  },
296
305
  enumerable: false,
297
306
  configurable: true
298
307
  });
299
- CheckboxView.prototype.ac = function () {
300
- this.g = true;
301
- this.j.add(this.r.listen("change", runOn(this, this.x)));
302
- this.j.add(this.r.listen("click", runOn(this, this.y)));
303
- this.j.add(this.r.listen("focus", runOn(this, this.z)));
304
- this.j.add(this.r.listen("blur", runOn(this, this.w)));
305
- this.j.add(this.p.listen("click", runOn(this, this.v)));
308
+ CheckboxView.prototype.ad = function () {
309
+ this.h = true;
310
+ this.k.add(this.s.listen("change", runOn(this, this.y)));
311
+ this.k.add(this.s.listen("click", runOn(this, this.z)));
312
+ this.k.add(this.s.listen("focus", runOn(this, this.aa)));
313
+ this.k.add(this.s.listen("blur", runOn(this, this.x)));
314
+ this.k.add(this.q.listen("click", runOn(this, this.w)));
306
315
  };
307
- CheckboxView.prototype.ae = function () {
316
+ CheckboxView.prototype.af = function () {
308
317
  var e_2, _a;
309
- this.g = false;
318
+ this.h = false;
310
319
  try {
311
- for (var _b = __values(fromEnum(this.j)), _c = _b.next(); !_c.done; _c = _b.next()) {
320
+ for (var _b = __values(fromEnum(this.k)), _c = _b.next(); !_c.done; _c = _b.next()) {
312
321
  var a = _c.value;
313
322
  a();
314
323
  }
@@ -326,21 +335,21 @@ var CheckboxView = /** @class */ /*@__PURE__*/ (function (_super) {
326
335
  throw e_2.error;
327
336
  }
328
337
  }
329
- this.j.clear();
338
+ this.k.clear();
330
339
  };
331
- CheckboxView.prototype.ah = function () {
332
- var model_ = this.c;
340
+ CheckboxView.prototype.ai = function () {
341
+ var model_ = this.d;
333
342
  if (model_.externalObject && model_.externalObject.refreshDefaults) {
334
343
  model_.externalObject.refreshDefaults();
335
344
  }
336
345
  ;
337
346
  };
338
- CheckboxView.prototype.ak = function (a, b) {
339
- this.d.ax = a;
340
- this.d.aw = b;
347
+ CheckboxView.prototype.al = function (a, b) {
348
+ this.e.ax = a;
349
+ this.e.aw = b;
341
350
  };
342
- CheckboxView.prototype.k = function () {
343
- var a = this.q.getStyleProperty("border-top-width");
351
+ CheckboxView.prototype.l = function () {
352
+ var a = this.r.getStyleProperty("border-top-width");
344
353
  a = stringReplace(a, "px", "");
345
354
  return parseFloat(a);
346
355
  };
@@ -409,9 +418,9 @@ var XCheckbox = /** @class */ /*@__PURE__*/ (function (_super) {
409
418
  _this.ba = _this.a8 + "-label";
410
419
  _this.a7 = _this.ba;
411
420
  var a = new CheckboxView();
412
- a.c = _this;
421
+ a.d = _this;
413
422
  _this.view = a;
414
- _this.view.af();
423
+ _this.view.ag();
415
424
  return _this;
416
425
  }
417
426
  Object.defineProperty(XCheckbox.prototype, "view", {
@@ -515,7 +524,7 @@ var XCheckbox = /** @class */ /*@__PURE__*/ (function (_super) {
515
524
  this.ct();
516
525
  break;
517
526
  case "ActualCheckPath":
518
- this.view.ai();
527
+ this.view.aj();
519
528
  break;
520
529
  case "IsChecked":
521
530
  if (!this.s) {
@@ -535,16 +544,16 @@ var XCheckbox = /** @class */ /*@__PURE__*/ (function (_super) {
535
544
  }
536
545
  break;
537
546
  case "DisableRipple":
538
- this.view.e.i = this.y;
547
+ this.view.f.i = this.y;
539
548
  break;
540
549
  case "InputId":
541
- this.view.ag();
550
+ this.view.ah();
542
551
  break;
543
552
  }
544
553
  };
545
554
  XCheckbox.prototype.ct = function () {
546
- var a = this.view.t;
547
- var b = this.view.s;
555
+ var a = this.view.u;
556
+ var b = this.view.t;
548
557
  if (a == null || b == null) {
549
558
  return;
550
559
  }
@@ -563,7 +572,7 @@ var XCheckbox = /** @class */ /*@__PURE__*/ (function (_super) {
563
572
  }
564
573
  };
565
574
  XCheckbox.prototype.cw = function () {
566
- var a = this.view.u;
575
+ var a = this.view.v;
567
576
  if (a == null) {
568
577
  return;
569
578
  }
@@ -1054,10 +1063,10 @@ var XCheckbox = /** @class */ /*@__PURE__*/ (function (_super) {
1054
1063
  XCheckbox.prototype.cp = function () {
1055
1064
  this.ck();
1056
1065
  if (this.checked) {
1057
- this.view.ak(BrushUtil.s(this.c8, 0.6), BrushUtil.s(this.c8, 0.1));
1066
+ this.view.al(BrushUtil.s(this.c8, 0.6), BrushUtil.s(this.c8, 0.1));
1058
1067
  }
1059
1068
  else {
1060
- this.view.ak(BrushUtil.s(this.c8, 0.6), BrushUtil.s(this.dc, 0.1));
1069
+ this.view.al(BrushUtil.s(this.c8, 0.6), BrushUtil.s(this.dc, 0.1));
1061
1070
  }
1062
1071
  };
1063
1072
  Object.defineProperty(XCheckbox.prototype, "a", {
@@ -1071,15 +1080,15 @@ var XCheckbox = /** @class */ /*@__PURE__*/ (function (_super) {
1071
1080
  configurable: true
1072
1081
  });
1073
1082
  XCheckbox.prototype.ck = function () {
1074
- this.view.aa();
1083
+ this.view.ab();
1075
1084
  var a = false;
1076
1085
  if (this.o == null) {
1077
1086
  if (!a) {
1078
1087
  a = true;
1079
- this.view.ah();
1088
+ this.view.ai();
1080
1089
  }
1081
- this.o = KeyFrameAnimationFactory.f.c(this.view.a(this.a).m(new AnimationKeyFrameProperty(2, this.db), new AnimationKeyFrameProperty(3, this.dc)).m(new AnimationKeyFrameProperty(2, this.c8), new AnimationKeyFrameProperty(3, this.c9)));
1082
- this.p = KeyFrameAnimationFactory.f.c(this.view.b(this.a).m(new AnimationKeyFrameProperty(19, 24), new AnimationKeyFrameProperty(1, 0)).m(new AnimationKeyFrameProperty(19, 0), new AnimationKeyFrameProperty(1, 1)));
1090
+ this.o = KeyFrameAnimationFactory.f.c(this.view.b(this.a).m(new AnimationKeyFrameProperty(2, this.db), new AnimationKeyFrameProperty(3, this.dc)).m(new AnimationKeyFrameProperty(2, this.c8), new AnimationKeyFrameProperty(3, this.c9)));
1091
+ this.p = KeyFrameAnimationFactory.f.c(this.view.c(this.a).m(new AnimationKeyFrameProperty(19, 24), new AnimationKeyFrameProperty(1, 0)).m(new AnimationKeyFrameProperty(19, 0), new AnimationKeyFrameProperty(1, 1)));
1083
1092
  }
1084
1093
  };
1085
1094
  XCheckbox.prototype.toggle = function () {
@@ -1117,21 +1126,21 @@ var XCheckbox = /** @class */ /*@__PURE__*/ (function (_super) {
1117
1126
  c = -1;
1118
1127
  }
1119
1128
  if (b) {
1120
- this.view.ak(BrushUtil.s(this.c8, 0.6), BrushUtil.s(this.c8, 0.1));
1129
+ this.view.al(BrushUtil.s(this.c8, 0.6), BrushUtil.s(this.c8, 0.1));
1121
1130
  }
1122
1131
  else {
1123
- this.view.ak(BrushUtil.s(this.c8, 0.6), BrushUtil.s(this.dc, 0.1));
1132
+ this.view.al(BrushUtil.s(this.c8, 0.6), BrushUtil.s(this.dc, 0.1));
1124
1133
  }
1125
1134
  if (!this.indeterminate) {
1126
- NativeUI.af(this.view.u, null);
1135
+ NativeUI.af(this.view.v, null);
1127
1136
  }
1128
1137
  if (this.z || this.indeterminate || a) {
1129
- var d = this.view.t;
1130
- var e = this.view.s;
1131
- var f = this.view.u;
1138
+ var d = this.view.u;
1139
+ var e = this.view.t;
1140
+ var f = this.view.v;
1132
1141
  if (this.indeterminate) {
1133
1142
  var g = new TransformGroup();
1134
- var h = this.view.al();
1143
+ var h = this.view.am();
1135
1144
  g.j.add(((function () {
1136
1145
  var $ret = new RotateTransform();
1137
1146
  $ret.j = 45;
@@ -1139,7 +1148,7 @@ var XCheckbox = /** @class */ /*@__PURE__*/ (function (_super) {
1139
1148
  })()));
1140
1149
  g.j.add(((function () {
1141
1150
  var $ret = new TranslateTransform();
1142
- $ret.j = -_this.view.k();
1151
+ $ret.j = -_this.view.l();
1143
1152
  return $ret;
1144
1153
  })()));
1145
1154
  NativeUI.m(d, this.c8);
@@ -1198,10 +1207,10 @@ var XCheckbox = /** @class */ /*@__PURE__*/ (function (_super) {
1198
1207
  }
1199
1208
  };
1200
1209
  XCheckbox.prototype.onDetachedFromUI = function () {
1201
- this.view.ae();
1210
+ this.view.af();
1202
1211
  };
1203
1212
  XCheckbox.prototype.onAttachedToUI = function () {
1204
- this.view.ac();
1213
+ this.view.ad();
1205
1214
  };
1206
1215
  XCheckbox.prototype.onContentReady = function () {
1207
1216
  if (this.indeterminate) {
@@ -1209,17 +1218,23 @@ var XCheckbox = /** @class */ /*@__PURE__*/ (function (_super) {
1209
1218
  }
1210
1219
  };
1211
1220
  XCheckbox.prototype.af = function () {
1212
- return this.view.i();
1221
+ return this.view.j();
1213
1222
  };
1214
1223
  XCheckbox.prototype.a3 = function () {
1215
1224
  return this.b();
1216
1225
  };
1217
1226
  XCheckbox.prototype.by = function () {
1218
1227
  var a = this.b();
1219
- return a.s();
1228
+ return a.w();
1220
1229
  };
1221
1230
  XCheckbox.prototype.b = function () {
1222
1231
  var a = new CheckboxVisualModelExport();
1232
+ var b = this.view.am();
1233
+ var c = this.view.a();
1234
+ a.u = b.width;
1235
+ a.q = b.height;
1236
+ a.t = c[0];
1237
+ a.r = c[1];
1223
1238
  a.f = this.n;
1224
1239
  a.d = AppearanceHelper.a(this.db);
1225
1240
  a.c = AppearanceHelper.a(this.da);
@@ -1228,11 +1243,11 @@ var XCheckbox = /** @class */ /*@__PURE__*/ (function (_super) {
1228
1243
  a.o = this.aq;
1229
1244
  a.l = this.an;
1230
1245
  a.p = this.ar;
1231
- a.q = this.av;
1246
+ a.s = this.av;
1232
1247
  a.n = this.ap;
1233
1248
  a.m = this.ao;
1234
1249
  a.a = AppearanceHelper.a(this.c8);
1235
- a.r = this.a4;
1250
+ a.v = this.a4;
1236
1251
  a.j = this.focused;
1237
1252
  a.g = this.y;
1238
1253
  a.h = this.checked;
@@ -1241,7 +1256,7 @@ var XCheckbox = /** @class */ /*@__PURE__*/ (function (_super) {
1241
1256
  return a;
1242
1257
  };
1243
1258
  XCheckbox.prototype.provideContainer = function (a) {
1244
- this.view.ad(a);
1259
+ this.view.ae(a);
1245
1260
  };
1246
1261
  XCheckbox.$t = markType(XCheckbox, 'XCheckbox', Base.$, [INotifyPropertyChanged_$type]);
1247
1262
  XCheckbox.g = ThemeResolver.a(((function () {