igniteui-webcomponents-inputs 4.2.4-alpha → 4.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 (146) hide show
  1. package/bundles/igniteui-webcomponents-inputs.umd.js +10205 -7880
  2. package/bundles/igniteui-webcomponents-inputs.umd.min.js +1 -1
  3. package/esm2015/lib/ButtonGroupView_combined.js +98 -98
  4. package/esm2015/lib/ButtonView_combined.js +2206 -1799
  5. package/esm2015/lib/CalendarView_combined.js +156 -156
  6. package/esm2015/lib/CheckboxView_combined.js +532 -458
  7. package/esm2015/lib/DatePickerView_combined.js +398 -364
  8. package/esm2015/lib/IconView_combined.js +553 -355
  9. package/esm2015/lib/InputGroupView_combined.js +2432 -2152
  10. package/esm2015/lib/NativeUIXInputsFactory.js +65 -23
  11. package/esm2015/lib/RippleView_combined.js +1 -1
  12. package/esm2015/lib/Theme.js +48 -0
  13. package/esm2015/lib/ThemeResolver.js +131 -7
  14. package/esm2015/lib/XButtonBridge.js +218 -22
  15. package/esm2015/lib/XCheckboxBridge.js +25 -16
  16. package/esm2015/lib/XComponentBridge.js +20 -6
  17. package/esm2015/lib/XIconBridge.js +93 -0
  18. package/esm2015/lib/XIconButtonBridge.js +45 -33
  19. package/esm2015/lib/XInputBridge.js +91 -38
  20. package/esm2015/lib/XPopupBridge.js +287 -0
  21. package/esm2015/lib/igc-date-picker-component.js +60 -58
  22. package/esm2015/lib/igc-x-button-component.js +694 -546
  23. package/esm2015/lib/igc-x-button-group-component.js +28 -28
  24. package/esm2015/lib/igc-x-calendar-component.js +16 -16
  25. package/esm2015/lib/igc-x-checkbox-component.js +77 -77
  26. package/esm2015/lib/igc-x-icon-component.js +239 -118
  27. package/esm2015/lib/igc-x-input-component.js +61 -43
  28. package/esm2015/lib/igc-x-input-group-component.js +576 -576
  29. package/esm2015/lib/igc-x-input-group-item-component.js +18 -18
  30. package/esm2015/lib/igc-x-ripple-component.js +35 -35
  31. package/esm2015/public_api.js +3 -0
  32. package/esm5/lib/ButtonClickEventArgs.js +2 -2
  33. package/esm5/lib/ButtonGroupSelectionChangedEventArgs.js +2 -2
  34. package/esm5/lib/ButtonGroupView_combined.js +176 -176
  35. package/esm5/lib/ButtonGroupVisualModelExport.js +2 -2
  36. package/esm5/lib/ButtonView_combined.js +2259 -1808
  37. package/esm5/lib/ButtonVisualModelExport.js +2 -2
  38. package/esm5/lib/CalendarView_combined.js +181 -181
  39. package/esm5/lib/CalendarVisualModelExport.js +2 -2
  40. package/esm5/lib/CheckboxChangeEventArgs.js +4 -4
  41. package/esm5/lib/CheckboxView_combined.js +561 -483
  42. package/esm5/lib/CheckboxVisualModelExport.js +2 -2
  43. package/esm5/lib/DatePickerView_combined.js +421 -383
  44. package/esm5/lib/DatePickerVisualModelExport.js +2 -2
  45. package/esm5/lib/DateTimeValueFormatter.js +2 -2
  46. package/esm5/lib/DayInfo.js +2 -2
  47. package/esm5/lib/ElevationHelper.js +2 -2
  48. package/esm5/lib/GotFocusEventArgs.js +2 -2
  49. package/esm5/lib/IconClickedEventArgs.js +2 -2
  50. package/esm5/lib/IconView_combined.js +600 -362
  51. package/esm5/lib/IconVisualModelExport.js +3 -3
  52. package/esm5/lib/InputChangeEventArgs.js +4 -4
  53. package/esm5/lib/InputGroupView_combined.js +2534 -2246
  54. package/esm5/lib/InputGroupVisualModelExport.js +2 -2
  55. package/esm5/lib/InputVisualModelExport.js +2 -2
  56. package/esm5/lib/LabelVisualModelExport.js +2 -2
  57. package/esm5/lib/LostFocusEventArgs.js +2 -2
  58. package/esm5/lib/MaskOptions.js +2 -2
  59. package/esm5/lib/MaskParsingService.js +5 -5
  60. package/esm5/lib/NativeUIXInputsFactory.js +69 -27
  61. package/esm5/lib/PrefixVisualModelExport.js +2 -2
  62. package/esm5/lib/Replaced.js +2 -2
  63. package/esm5/lib/RippleView_combined.js +17 -17
  64. package/esm5/lib/RippleVisualModelExport.js +2 -2
  65. package/esm5/lib/SelectedValueChangedEventArgs.js +4 -4
  66. package/esm5/lib/SuffixVisualModelExport.js +2 -2
  67. package/esm5/lib/TextElementsVisualModelExport.js +2 -2
  68. package/esm5/lib/Theme.js +58 -0
  69. package/esm5/lib/ThemeResolver.js +137 -11
  70. package/esm5/lib/XButtonBridge.js +220 -24
  71. package/esm5/lib/XButtonGroupButtonCollection.js +2 -2
  72. package/esm5/lib/XCheckboxBridge.js +27 -18
  73. package/esm5/lib/XComponentBridge.js +26 -8
  74. package/esm5/lib/XIconBridge.js +95 -0
  75. package/esm5/lib/XIconButtonBridge.js +47 -35
  76. package/esm5/lib/XInputBridge.js +93 -40
  77. package/esm5/lib/XPopupBridge.js +289 -0
  78. package/esm5/lib/igc-button-click-event-args.js +1 -1
  79. package/esm5/lib/igc-button-group-selection-changed-event-args.js +1 -1
  80. package/esm5/lib/igc-checkbox-change-event-args.js +3 -3
  81. package/esm5/lib/igc-date-picker-component.js +80 -78
  82. package/esm5/lib/igc-got-focus-event-args.js +1 -1
  83. package/esm5/lib/igc-input-change-event-args.js +3 -3
  84. package/esm5/lib/igc-lost-focus-event-args.js +1 -1
  85. package/esm5/lib/igc-selected-value-changed-event-args.js +3 -3
  86. package/esm5/lib/igc-x-button-component.js +908 -710
  87. package/esm5/lib/igc-x-button-group-button-collection.js +2 -2
  88. package/esm5/lib/igc-x-button-group-component.js +73 -73
  89. package/esm5/lib/igc-x-calendar-component.js +30 -30
  90. package/esm5/lib/igc-x-checkbox-component.js +117 -117
  91. package/esm5/lib/igc-x-icon-component.js +297 -136
  92. package/esm5/lib/igc-x-input-component.js +104 -78
  93. package/esm5/lib/igc-x-input-group-component.js +716 -716
  94. package/esm5/lib/igc-x-input-group-input-collection.js +2 -2
  95. package/esm5/lib/igc-x-input-group-item-component.js +6 -6
  96. package/esm5/lib/igc-x-label-component.js +30 -30
  97. package/esm5/lib/igc-x-prefix-component.js +9 -9
  98. package/esm5/lib/igc-x-ripple-component.js +19 -19
  99. package/esm5/lib/igc-x-suffix-component.js +9 -9
  100. package/esm5/public_api.js +3 -0
  101. package/fesm2015/igniteui-webcomponents-inputs.js +9194 -7084
  102. package/fesm5/igniteui-webcomponents-inputs.js +10090 -7768
  103. package/lib/ButtonGroupView_combined.d.ts +136 -70
  104. package/lib/ButtonView_combined.d.ts +609 -583
  105. package/lib/CalendarView_combined.d.ts +43 -22
  106. package/lib/CheckboxChangeEventArgs.d.ts +4 -2
  107. package/lib/CheckboxView_combined.d.ts +150 -117
  108. package/lib/DatePickerView_combined.d.ts +109 -81
  109. package/lib/IconView_combined.d.ts +164 -93
  110. package/lib/IconVisualModelExport.d.ts +2 -1
  111. package/lib/InputChangeEventArgs.d.ts +4 -2
  112. package/lib/InputGroupView_combined.d.ts +771 -771
  113. package/lib/NativeUIXInputsFactory.d.ts +6 -4
  114. package/lib/RippleView_combined.d.ts +19 -10
  115. package/lib/SelectedValueChangedEventArgs.d.ts +4 -2
  116. package/lib/Theme.d.ts +15 -0
  117. package/lib/ThemeResolver.d.ts +44 -6
  118. package/lib/XButtonBridge.d.ts +23 -5
  119. package/lib/XCheckboxBridge.d.ts +3 -3
  120. package/lib/XComponentBridge.d.ts +2 -1
  121. package/lib/XIconBridge.d.ts +14 -0
  122. package/lib/XIconButtonBridge.d.ts +4 -4
  123. package/lib/XInputBridge.d.ts +11 -7
  124. package/lib/XPopupBridge.d.ts +52 -0
  125. package/lib/igc-button-click-event-args.d.ts +1 -1
  126. package/lib/igc-button-group-selection-changed-event-args.d.ts +1 -1
  127. package/lib/igc-checkbox-change-event-args.d.ts +5 -3
  128. package/lib/igc-date-picker-component.d.ts +65 -34
  129. package/lib/igc-got-focus-event-args.d.ts +1 -1
  130. package/lib/igc-input-change-event-args.d.ts +5 -3
  131. package/lib/igc-lost-focus-event-args.d.ts +1 -1
  132. package/lib/igc-selected-value-changed-event-args.d.ts +5 -3
  133. package/lib/igc-x-button-component.d.ts +399 -173
  134. package/lib/igc-x-button-group-component.d.ts +136 -70
  135. package/lib/igc-x-calendar-component.d.ts +53 -28
  136. package/lib/igc-x-checkbox-component.d.ts +71 -37
  137. package/lib/igc-x-icon-component.d.ts +140 -44
  138. package/lib/igc-x-input-component.d.ts +69 -32
  139. package/lib/igc-x-input-group-component.d.ts +325 -165
  140. package/lib/igc-x-input-group-item-component.d.ts +5 -4
  141. package/lib/igc-x-label-component.d.ts +52 -27
  142. package/lib/igc-x-prefix-component.d.ts +10 -6
  143. package/lib/igc-x-ripple-component.d.ts +31 -17
  144. package/lib/igc-x-suffix-component.d.ts +10 -6
  145. package/package.json +2 -2
  146. package/public_api.d.ts +3 -0
@@ -4,27 +4,30 @@ https://www.infragistics.com/legal/license/igultimate-la
4
4
  https://www.infragistics.com/legal/license/igultimate-eula
5
5
  GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
6
6
  */
7
- import { Base, Delegate_$type, fromEnum, runOn, markType, INotifyPropertyChanged_$type, PropertyChangedEventArgs, enumGetBox } from "igniteui-webcomponents-core";
7
+ import { Base, Delegate_$type, fromEnum, runOn, markType, INotifyPropertyChanged_$type, PropertyChangedEventArgs, enumGetBox, String_$type } from "igniteui-webcomponents-core";
8
8
  import { XRipple } from "./XRipple";
9
9
  import { List$1 } from "igniteui-webcomponents-core";
10
+ import { Size } from "igniteui-webcomponents-core";
10
11
  import { KeyFrameAnimationFactory } from "igniteui-webcomponents-core";
11
12
  import { AnimationKeyFrameEffect } from "igniteui-webcomponents-core";
12
13
  import { AnimationKeyFrameEffectTiming } from "igniteui-webcomponents-core";
13
14
  import { stringReplace } from "igniteui-webcomponents-core";
14
15
  import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
15
16
  import { CheckboxLabelPosition_$type } from "./CheckboxLabelPosition";
17
+ import { BrushUtil } from "igniteui-webcomponents-core";
16
18
  import { ThemeResolver } from "./ThemeResolver";
17
19
  import { CornerRadius } from "igniteui-webcomponents-core";
18
20
  import { NativeUI } from "igniteui-webcomponents-core";
19
21
  import { Thickness } from "igniteui-webcomponents-core";
20
22
  import { CheckboxChangeEventArgs } from "./CheckboxChangeEventArgs";
21
- import { BrushUtil } from "igniteui-webcomponents-core";
22
23
  import { AnimationKeyFrameProperty } from "igniteui-webcomponents-core";
23
24
  import { TransformGroup } from "igniteui-webcomponents-core";
24
25
  import { RotateTransform } from "igniteui-webcomponents-core";
25
26
  import { TranslateTransform } from "igniteui-webcomponents-core";
26
27
  import { CheckboxVisualModelExport } from "./CheckboxVisualModelExport";
27
28
  import { AppearanceHelper } from "igniteui-webcomponents-core";
29
+ import { Dictionary$2 } from "igniteui-webcomponents-core";
30
+ import { Theme } from "./Theme";
28
31
  import { isNaN_ } from "igniteui-webcomponents-core";
29
32
  /**
30
33
  * @hidden
@@ -38,19 +41,20 @@ export let CheckboxView = /*@__PURE__*/ (() => {
38
41
  this.f = null;
39
42
  this.j = new List$1(Delegate_$type, 0);
40
43
  this.g = true;
41
- this.q = null;
44
+ this.r = null;
42
45
  this.m = null;
43
- this.p = null;
46
+ this.q = null;
44
47
  this.n = null;
45
- this.d = null;
46
48
  this.o = null;
49
+ this.d = null;
50
+ this.p = null;
47
51
  }
48
- ad() {
52
+ ae() {
49
53
  }
50
54
  i() {
51
55
  return true;
52
56
  }
53
- ab(a) {
57
+ ac(a) {
54
58
  if (a == null) {
55
59
  for (let b of fromEnum(this.j)) {
56
60
  b();
@@ -64,27 +68,27 @@ export let CheckboxView = /*@__PURE__*/ (() => {
64
68
  this.l.rootWrapper.setStyleProperty("flex-wrap", "no-wrap");
65
69
  this.l.rootWrapper.setStyleProperty("align-items", "center");
66
70
  let c = this.l.createElement("input");
67
- this.q = c;
68
- this.q.addClass("ig-native-checkbox");
69
- this.q.setStyleProperty("position", "absolute");
70
- this.q.setStyleProperty("width", "1px");
71
- this.q.setStyleProperty("height", "1px");
72
- this.q.setStyleProperty("margin", "-1px");
73
- this.q.setStyleProperty("border", "none");
74
- this.q.setStyleProperty("clip", "rect(0, 0, 0, 0)");
75
- this.q.setStyleProperty("outline", "0");
76
- this.q.setStyleProperty("pointer-events", "none");
77
- this.q.setStyleProperty("overflow", "hidden");
78
- this.q.setStyleProperty("-webkit-appearance", "none");
79
- this.q.setStyleProperty("-moz-appearance", "none");
80
- this.q.setStyleProperty("appearance", "none");
81
- this.q.setAttribute("type", "checkbox");
82
- this.q.setAttribute("id", this.c.by);
83
- this.ag();
84
- this.j.add(c.listen("change", runOn(this, this.v)));
85
- this.j.add(c.listen("click", runOn(this, this.w)));
86
- this.j.add(c.listen("focus", runOn(this, this.x)));
87
- this.j.add(c.listen("blur", runOn(this, this.u)));
71
+ this.r = c;
72
+ this.r.addClass("ig-native-checkbox");
73
+ this.r.setStyleProperty("position", "absolute");
74
+ this.r.setStyleProperty("width", "1px");
75
+ this.r.setStyleProperty("height", "1px");
76
+ this.r.setStyleProperty("margin", "-1px");
77
+ this.r.setStyleProperty("border", "none");
78
+ this.r.setStyleProperty("clip", "rect(0, 0, 0, 0)");
79
+ this.r.setStyleProperty("outline", "0");
80
+ this.r.setStyleProperty("pointer-events", "none");
81
+ this.r.setStyleProperty("overflow", "hidden");
82
+ this.r.setStyleProperty("-webkit-appearance", "none");
83
+ this.r.setStyleProperty("-moz-appearance", "none");
84
+ this.r.setStyleProperty("appearance", "none");
85
+ this.r.setAttribute("type", "checkbox");
86
+ this.r.setAttribute("id", this.c.b1);
87
+ this.ai();
88
+ this.j.add(c.listen("change", runOn(this, this.w)));
89
+ this.j.add(c.listen("click", runOn(this, this.x)));
90
+ this.j.add(c.listen("focus", runOn(this, this.y)));
91
+ this.j.add(c.listen("blur", runOn(this, this.v)));
88
92
  this.l.append(c);
89
93
  let d = this.l.createElement("div");
90
94
  d.addClass("ig-checkbox-box");
@@ -94,7 +98,7 @@ export let CheckboxView = /*@__PURE__*/ (() => {
94
98
  this.m = d;
95
99
  this.l.append(d);
96
100
  let e = this.l.createElement("label");
97
- e.setAttribute("for", this.c.by);
101
+ e.setAttribute("for", this.c.b1);
98
102
  e.addClass("ig-checkbox-composite");
99
103
  e.setStyleProperty("box-sizing", "border-box");
100
104
  e.setStyleProperty("position", "relative");
@@ -113,7 +117,7 @@ export let CheckboxView = /*@__PURE__*/ (() => {
113
117
  e.setStyleProperty("border-radius", "2px");
114
118
  e.setStyleProperty("-webkit-tap-highlight-color", "transparent");
115
119
  e.setStyleProperty("overflow", "hidden");
116
- this.p = e;
120
+ this.q = e;
117
121
  this.m.append(e);
118
122
  let f = this.l.createElementNS("svg", "http://www.w3.org/2000/svg");
119
123
  f.setAttribute("viewBox", "0 0 24 24");
@@ -131,11 +135,12 @@ export let CheckboxView = /*@__PURE__*/ (() => {
131
135
  f.setStyleProperty("fill", "none");
132
136
  f.setStyleProperty("opacity", "0");
133
137
  f.setStyleProperty("z-index", "1");
134
- this.n = f;
138
+ this.o = f;
135
139
  e.append(f);
136
140
  let g = this.l.createElementNS("path", "http://www.w3.org/2000/svg");
137
- g.setAttribute("d", "M4.1,12.7 9,17.6 20.3,6.3");
141
+ g.setAttribute("d", this.c.bf);
138
142
  f.append(g);
143
+ this.n = g;
139
144
  let h = this.l.createElement("div");
140
145
  let i = this.l.getSubRenderer(h);
141
146
  h.setStyleProperty("position", "absolute");
@@ -166,55 +171,61 @@ export let CheckboxView = /*@__PURE__*/ (() => {
166
171
  l.setStyleProperty("margin-bottom", "0");
167
172
  l.setStyleProperty("cursor", "pointer");
168
173
  l.setStyleProperty("role", "label");
169
- this.o = l;
170
- this.j.add(l.listen("click", runOn(this, this.t)));
174
+ this.p = l;
175
+ this.j.add(l.listen("click", runOn(this, this.u)));
171
176
  this.l.append(l);
172
177
  this.l.getPortal(l, "ChildContent", (m) => {
173
178
  }, true);
174
- this.c.cm();
179
+ this.c.cp();
175
180
  }
176
- t(a) {
181
+ u(a) {
177
182
  this.c.toggle();
178
183
  }
179
- ag() {
184
+ ai() {
180
185
  if (this.i()) {
181
- let a = this.c.by;
182
- this.q.setAttribute("name", this.c.b7);
183
- this.q.setProperty("value", this.c.a5);
184
- if (this.c.v) {
185
- this.q.setAttribute("tabindex", this.c.a0.toString());
186
+ let a = this.c.b1;
187
+ this.r.setAttribute("name", this.c.ca);
188
+ this.r.setProperty("value", this.c.a4);
189
+ if (this.c.aa) {
190
+ this.r.setAttribute("tabindex", this.c.az.toString());
186
191
  }
187
- this.q.setProperty("disabled", this.c.disabled);
188
- this.q.setProperty("indeterminate", this.c.indeterminate);
189
- this.q.setProperty("checked", this.c.checked);
190
- this.q.setProperty("required", this.c.az);
192
+ this.r.setProperty("disabled", this.c.disabled);
193
+ this.r.setProperty("indeterminate", this.c.indeterminate);
194
+ this.r.setProperty("checked", this.c.checked);
195
+ this.r.setProperty("required", this.c.ay);
191
196
  if (this.c.indeterminate) {
192
- this.q.setAttribute("aria-checked", "mixed");
197
+ this.r.setAttribute("aria-checked", "mixed");
193
198
  }
194
199
  else {
195
- this.q.setAttribute("aria-checked", this.c.checked ? "true" : "false");
200
+ this.r.setAttribute("aria-checked", this.c.checked ? "true" : "false");
196
201
  }
197
- this.q.setAttribute("aria-labelledby", this.c.bl);
198
- this.q.setAttribute("aria-label", this.c.bk);
202
+ this.r.setAttribute("aria-labelledby", this.c.bn);
203
+ this.r.setAttribute("aria-label", this.c.bm);
199
204
  }
200
205
  }
201
- ae() {
206
+ ak() {
207
+ return new Size(1, this.q.width(), this.q.height());
208
+ }
209
+ ah() {
210
+ this.n.setAttribute("d", this.c.bf);
211
+ }
212
+ af() {
202
213
  if (this.i()) {
203
- let a = this.c.by;
204
- this.q.setAttribute("id", a);
205
- this.p.setAttribute("for", a);
214
+ let a = this.c.b1;
215
+ this.r.setAttribute("id", a);
216
+ this.q.setAttribute("for", a);
206
217
  }
207
218
  }
208
- u(a) {
219
+ v(a) {
209
220
  this.c.focused = false;
210
221
  }
211
- x(a) {
222
+ y(a) {
212
223
  this.c.focused = true;
213
224
  }
214
- w(a) {
225
+ x(a) {
215
226
  a.stopPropagation();
216
227
  if (this.h()) {
217
- let native_ = this.q.getNativeElement();
228
+ let native_ = this.r.getNativeElement();
218
229
  native_.blur();
219
230
  }
220
231
  this.c.toggle();
@@ -222,59 +233,59 @@ export let CheckboxView = /*@__PURE__*/ (() => {
222
233
  h() {
223
234
  return false;
224
235
  }
225
- v(a) {
236
+ w(a) {
226
237
  a.stopPropagation();
227
238
  }
228
- y() {
239
+ z() {
229
240
  if (KeyFrameAnimationFactory.h == null) {
230
241
  KeyFrameAnimationFactory.h = this.l;
231
242
  }
232
243
  }
233
244
  a(a) {
234
- return new AnimationKeyFrameEffect(0, this.p, 0, null, a);
245
+ return new AnimationKeyFrameEffect(0, this.q, 0, null, a);
235
246
  }
236
247
  b(a) {
237
- return new AnimationKeyFrameEffect(0, this.n, 0, null, a);
248
+ return new AnimationKeyFrameEffect(0, this.o, 0, null, a);
238
249
  }
239
- z(a) {
250
+ aa(a) {
240
251
  }
241
- get r() {
242
- return this.p;
252
+ get s() {
253
+ return this.q;
243
254
  }
244
255
  get e() {
245
256
  return this.d;
246
257
  }
247
- get s() {
248
- return this.n;
258
+ get t() {
259
+ return this.o;
249
260
  }
250
- aa() {
261
+ ab() {
251
262
  this.g = true;
252
- this.j.add(this.q.listen("change", runOn(this, this.v)));
253
- this.j.add(this.q.listen("click", runOn(this, this.w)));
254
- this.j.add(this.q.listen("focus", runOn(this, this.x)));
255
- this.j.add(this.q.listen("blur", runOn(this, this.u)));
256
- this.j.add(this.o.listen("click", runOn(this, this.t)));
263
+ this.j.add(this.r.listen("change", runOn(this, this.w)));
264
+ this.j.add(this.r.listen("click", runOn(this, this.x)));
265
+ this.j.add(this.r.listen("focus", runOn(this, this.y)));
266
+ this.j.add(this.r.listen("blur", runOn(this, this.v)));
267
+ this.j.add(this.p.listen("click", runOn(this, this.u)));
257
268
  }
258
- ac() {
269
+ ad() {
259
270
  this.g = false;
260
271
  for (let a of fromEnum(this.j)) {
261
272
  a();
262
273
  }
263
274
  this.j.clear();
264
275
  }
265
- af() {
276
+ ag() {
266
277
  let model_ = this.c;
267
278
  if (model_.externalObject && model_.externalObject.refreshDefaults) {
268
279
  model_.externalObject.refreshDefaults();
269
280
  }
270
281
  ;
271
282
  }
272
- ah(a, b) {
283
+ aj(a, b) {
273
284
  this.d.ax = a;
274
285
  this.d.aw = b;
275
286
  }
276
287
  k() {
277
- let a = this.p.getStyleProperty("border-top-width");
288
+ let a = this.q.getStyleProperty("border-top-width");
278
289
  a = stringReplace(a, "px", "");
279
290
  return parseFloat(a);
280
291
  }
@@ -290,60 +301,62 @@ export let XCheckbox = /*@__PURE__*/ (() => {
290
301
  constructor() {
291
302
  super();
292
303
  this._view = null;
293
- this.g = 0;
294
- this.n = false;
295
- this.ab = false;
304
+ this.l = 0;
305
+ this.s = false;
306
+ this.ag = false;
307
+ this.c6 = null;
308
+ this.c1 = ThemeResolver.ah(XCheckbox.m, BrushUtil.g(0, 0, 0, 0), BrushUtil.g(0, 0, 0, 0));
296
309
  this.c3 = null;
297
- this.cy = ThemeResolver.e(XCheckbox.h, XCheckbox.dm, XCheckbox.dh);
298
- this.c0 = null;
299
- this.c2 = null;
300
- this.cx = ThemeResolver.e(XCheckbox.h, XCheckbox.dl, XCheckbox.dg);
310
+ this.c5 = null;
311
+ this.c0 = ThemeResolver.ag(XCheckbox.m, XCheckbox.k, "TickColor");
312
+ this.c7 = null;
301
313
  this.c4 = null;
302
- this.c1 = null;
303
- this.dr = ThemeResolver.e(XCheckbox.h, XCheckbox.dn, XCheckbox.di);
304
- this.dd = ThemeResolver.e(XCheckbox.h, XCheckbox.dk, XCheckbox.df);
305
- this.an = ThemeResolver.b(XCheckbox.h, XCheckbox.as, XCheckbox.ap);
306
- this.dc = ThemeResolver.e(XCheckbox.h, XCheckbox.dj, XCheckbox.de);
307
- this.ao = ThemeResolver.b(XCheckbox.h, XCheckbox.at, XCheckbox.aq);
308
- this.dp = ThemeResolver.e(XCheckbox.h, XCheckbox.dl, XCheckbox.dg);
309
- this.av = ThemeResolver.b(XCheckbox.h, XCheckbox.au, XCheckbox.ar);
310
- this.dq = ThemeResolver.e(XCheckbox.h, XCheckbox.dm, XCheckbox.dh);
311
- this.cz = ThemeResolver.e(XCheckbox.h, XCheckbox.dn, XCheckbox.di);
312
- this.cw = ThemeResolver.e(XCheckbox.h, XCheckbox.dk, XCheckbox.df);
313
- this.af = NaN;
314
- this.ac = ThemeResolver.b(XCheckbox.h, XCheckbox.as, XCheckbox.ap);
315
- this.ag = NaN;
316
- this.ah = NaN;
317
- this.ae = ThemeResolver.b(XCheckbox.h, XCheckbox.au, XCheckbox.ar);
318
- this.ad = ThemeResolver.b(XCheckbox.h, XCheckbox.at, XCheckbox.aq);
319
- this.cv = ThemeResolver.e(XCheckbox.h, XCheckbox.dj, XCheckbox.de);
320
- this.a9 = "ig-native-checkbox-" + XCheckbox.a2++;
321
- this.a8 = "ig-checkbox-" + XCheckbox.a1++;
314
+ this.bv = XCheckbox.k.v(XCheckbox.m, "CheckPath");
315
+ this.dj = XCheckbox.k.ae(XCheckbox.m, "UncheckedBorderColor");
316
+ this.dg = XCheckbox.k.ae(XCheckbox.m, "CheckedBorderColor");
317
+ this.as = XCheckbox.k.j(XCheckbox.m, "BorderWidth");
318
+ this.df = XCheckbox.k.ae(XCheckbox.m, "CheckedBackgroundColor");
319
+ this.at = XCheckbox.k.j(XCheckbox.m, "CornerRadius");
320
+ this.dh = XCheckbox.k.ae(XCheckbox.m, "TickColor");
321
+ this.au = XCheckbox.k.j(XCheckbox.m, "TickStrokeWidth");
322
+ this.di = XCheckbox.k.ae(XCheckbox.m, "UncheckedBackgroundColor");
323
+ this.a5 = ThemeResolver.x(XCheckbox.m, XCheckbox.k, "CheckPath");
324
+ this.c2 = ThemeResolver.ag(XCheckbox.m, XCheckbox.k, "UncheckedBorderColor");
325
+ this.cz = ThemeResolver.ag(XCheckbox.m, XCheckbox.k, "CheckedBorderColor");
326
+ this.ak = NaN;
327
+ this.ah = ThemeResolver.l(XCheckbox.m, XCheckbox.k, "BorderWidth");
328
+ this.al = NaN;
329
+ this.am = NaN;
330
+ this.aj = ThemeResolver.l(XCheckbox.m, XCheckbox.k, "TickStrokeWidth");
331
+ this.ai = ThemeResolver.l(XCheckbox.m, XCheckbox.k, "CornerRadius");
332
+ this.cy = ThemeResolver.ag(XCheckbox.m, XCheckbox.k, "CheckedBackgroundColor");
333
+ this.a9 = "ig-native-checkbox-" + XCheckbox.a1++;
334
+ this.a8 = "ig-checkbox-" + XCheckbox.a0++;
322
335
  this.ba = null;
323
336
  this.bb = null;
324
- this.ay = 0;
325
- this.o = false;
326
337
  this.ax = 0;
338
+ this.t = false;
339
+ this.aw = 0;
327
340
  this.a7 = null;
328
341
  this.a6 = null;
329
- this.a3 = null;
330
- this.r = false;
342
+ this.a2 = null;
343
+ this.w = false;
331
344
  this.change = null;
332
345
  this.d = 0;
333
- this.l = false;
334
- this.p = false;
335
- this.s = false;
336
346
  this.q = false;
337
- this.m = false;
338
- this.j = null;
339
- this.k = null;
347
+ this.u = false;
348
+ this.x = false;
349
+ this.v = false;
350
+ this.r = false;
351
+ this.o = null;
352
+ this.p = null;
340
353
  this.propertyChanged = null;
341
354
  this.ba = this.a8 + "-label";
342
355
  this.a7 = this.ba;
343
356
  let a = new CheckboxView();
344
357
  a.c = this;
345
358
  this.view = a;
346
- this.view.ad();
359
+ this.view.ae();
347
360
  }
348
361
  get view() {
349
362
  return this._view;
@@ -351,160 +364,184 @@ export let XCheckbox = /*@__PURE__*/ (() => {
351
364
  set view(a) {
352
365
  this._view = a;
353
366
  }
354
- get i() {
355
- return this.g;
367
+ get n() {
368
+ return this.l;
356
369
  }
357
- set i(a) {
358
- let b = this.g;
359
- this.g = a;
360
- if (b != this.g) {
361
- this.cl("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, a));
370
+ set n(a) {
371
+ let b = this.l;
372
+ this.l = a;
373
+ if (b != this.l) {
374
+ this.co("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, a));
362
375
  }
363
376
  }
364
377
  destroy() {
365
378
  this.provideContainer(null);
366
379
  }
367
- cl(a, b, c) {
380
+ co(a, b, c) {
368
381
  if (this.propertyChanged != null) {
369
382
  this.propertyChanged(this, new PropertyChangedEventArgs(a));
370
383
  }
371
- this.cn(a, b, c);
372
- }
373
- cr() {
374
- this.c7 = this.ds != null ? this.ds : this.dp;
375
- this.c9 = this.du != null ? this.du : this.dr;
376
- this.c6 = this.db != null ? this.db : this.dd;
377
- this.ai = !isNaN_(this.al) ? this.al : this.an;
378
- this.c5 = this.da != null ? this.da : this.dc;
379
- this.c8 = this.dt != null ? this.dt : this.dq;
380
- this.aj = !isNaN_(this.am) ? this.am : this.ao;
381
- this.ak = !isNaN_(this.aw) ? this.aw : this.av;
382
- }
383
- cn(a, b, c) {
384
+ this.cq(a, b, c);
385
+ }
386
+ cu() {
387
+ this.da = this.dk != null ? this.dk : this.dh;
388
+ this.dc = this.dm != null ? this.dm : this.dj;
389
+ this.c9 = this.de != null ? this.de : this.dg;
390
+ this.an = !isNaN_(this.aq) ? this.aq : this.as;
391
+ this.c8 = this.dd != null ? this.dd : this.df;
392
+ this.db = this.dl != null ? this.dl : this.di;
393
+ this.ao = !isNaN_(this.ar) ? this.ar : this.at;
394
+ this.ap = !isNaN_(this.av) ? this.av : this.au;
395
+ this.bf = this.bv;
396
+ }
397
+ cq(a, b, c) {
384
398
  switch (a) {
385
399
  case "BaseTheme":
386
- this.cu(this.i);
387
- this.cr();
400
+ this.cx(this.n);
401
+ this.cu();
388
402
  break;
389
403
  case "TickColor":
390
- this.c7 = this.ds != null ? this.ds : this.dp;
404
+ this.da = this.dk != null ? this.dk : this.dh;
391
405
  break;
392
406
  case "UncheckedBorderColor":
393
- this.c9 = this.du != null ? this.du : this.dr;
407
+ this.dc = this.dm != null ? this.dm : this.dj;
394
408
  break;
395
409
  case "CheckedBorderColor":
396
- this.c6 = this.db != null ? this.db : this.dd;
410
+ this.c9 = this.de != null ? this.de : this.dg;
397
411
  break;
398
412
  case "BorderWidth":
399
- this.ai = !isNaN_(this.al) ? this.al : this.an;
413
+ this.an = !isNaN_(this.aq) ? this.aq : this.as;
400
414
  break;
401
415
  case "CheckedBackgroundColor":
402
- this.c5 = this.da != null ? this.da : this.dc;
416
+ this.c8 = this.dd != null ? this.dd : this.df;
403
417
  break;
404
418
  case "UncheckedBackgroundColor":
405
- this.c8 = this.dt != null ? this.dt : this.dq;
419
+ this.db = this.dl != null ? this.dl : this.di;
406
420
  break;
407
421
  case "CornerRadius":
408
- this.aj = !isNaN_(this.am) ? this.am : this.ao;
422
+ this.ao = !isNaN_(this.ar) ? this.ar : this.at;
409
423
  break;
410
424
  case "TickStrokeWidth":
411
- this.ak = !isNaN_(this.aw) ? this.aw : this.av;
425
+ this.ap = !isNaN_(this.av) ? this.av : this.au;
412
426
  break;
413
427
  case "ActualTickStrokeWidth":
414
428
  case "ActualTickColor":
415
- this.ct();
429
+ this.cw();
416
430
  break;
417
431
  case "ActualCheckedBackgroundColor":
418
432
  case "ActualUncheckedBackgroundColor":
419
433
  case "ActualUncheckedBorderColor":
420
434
  case "ActualCheckedBorderColor":
421
435
  case "ActualBorderWidth":
422
- if (this.j != null) {
423
- this.j.cancel();
436
+ if (this.o != null) {
437
+ this.o.cancel();
424
438
  }
425
- if (this.k != null) {
426
- this.k.cancel();
439
+ if (this.p != null) {
440
+ this.p.cancel();
427
441
  }
428
- this.j = null;
429
- this.k = null;
430
- this.cq();
431
- let d = (this.u);
432
- this.u = true;
433
- this.cs(this.indeterminate);
434
- this.u = d;
442
+ this.o = null;
443
+ this.p = null;
444
+ this.ct();
445
+ let d = (this.z);
446
+ this.z = true;
447
+ this.cv(this.indeterminate);
448
+ this.z = d;
435
449
  break;
436
450
  case "ActualCornerRadius":
437
- this.cq();
451
+ this.ct();
452
+ break;
453
+ case "ActualCheckPath":
454
+ this.view.ah();
438
455
  break;
439
456
  case "IsChecked":
440
- if (!this.n) {
457
+ if (!this.s) {
441
458
  let e = this.indeterminate;
442
- this.n = true;
459
+ this.s = true;
443
460
  this.indeterminate = false;
444
- this.n = false;
445
- let f = (this.u);
446
- this.u = true;
447
- this.cs(e);
448
- this.u = f;
461
+ this.s = false;
462
+ let f = (this.z);
463
+ this.z = true;
464
+ this.cv(e);
465
+ this.z = f;
449
466
  }
450
467
  break;
451
468
  case "IsIndeterminate":
452
- if (!this.n) {
453
- this.cs(b);
469
+ if (!this.s) {
470
+ this.cv(b);
454
471
  }
455
472
  break;
456
473
  case "DisableRipple":
457
- this.view.e.i = this.t;
474
+ this.view.e.i = this.y;
458
475
  break;
459
476
  case "InputId":
460
- this.view.ae();
477
+ this.view.af();
461
478
  break;
462
479
  }
463
480
  }
464
- cq() {
465
- let a = this.view.r;
481
+ ct() {
482
+ let a = this.view.s;
466
483
  if (a == null) {
467
484
  return;
468
485
  }
469
- NativeUI.m(a, new CornerRadius(0, this.aj));
470
- if (!isNaN_(this.ai)) {
471
- NativeUI.n(a, new Thickness(0, this.ai));
486
+ NativeUI.n(a, new CornerRadius(0, this.ao));
487
+ if (!isNaN_(this.an)) {
488
+ NativeUI.o(a, new Thickness(0, this.an));
472
489
  }
473
490
  if (this.checked) {
474
- NativeUI.k(a, this.c5);
475
- NativeUI.l(a, this.c6);
491
+ NativeUI.l(a, this.c8);
492
+ NativeUI.m(a, this.c9);
476
493
  }
477
494
  else {
478
- NativeUI.k(a, this.c8);
479
- NativeUI.l(a, this.c9);
495
+ NativeUI.l(a, this.db);
496
+ NativeUI.m(a, this.dc);
480
497
  }
481
498
  }
482
- ct() {
483
- let a = this.view.s;
499
+ cw() {
500
+ let a = this.view.t;
484
501
  if (a == null) {
485
502
  return;
486
503
  }
487
- NativeUI.w(a, this.c7);
488
- NativeUI.z(a, this.ak);
504
+ NativeUI.y(a, this.da);
505
+ NativeUI.ab(a, this.ap);
506
+ }
507
+ get dl() {
508
+ return this.c6;
509
+ }
510
+ set dl(a) {
511
+ let b = this.c6;
512
+ this.c6 = a;
513
+ if (b != this.c6) {
514
+ this.co("UncheckedBackgroundColor", b, a);
515
+ }
516
+ }
517
+ get db() {
518
+ return this.c1;
489
519
  }
490
- get dt() {
520
+ set db(a) {
521
+ let b = this.c1;
522
+ this.c1 = a;
523
+ if (b != this.c1) {
524
+ this.co("ActualUncheckedBackgroundColor", b, a);
525
+ }
526
+ }
527
+ get dd() {
491
528
  return this.c3;
492
529
  }
493
- set dt(a) {
530
+ set dd(a) {
494
531
  let b = this.c3;
495
532
  this.c3 = a;
496
533
  if (b != this.c3) {
497
- this.cl("UncheckedBackgroundColor", b, a);
534
+ this.co("CheckedBackgroundColor", b, a);
498
535
  }
499
536
  }
500
- get c8() {
501
- return this.cy;
537
+ get dk() {
538
+ return this.c5;
502
539
  }
503
- set c8(a) {
504
- let b = this.cy;
505
- this.cy = a;
506
- if (b != this.cy) {
507
- this.cl("ActualUncheckedBackgroundColor", b, a);
540
+ set dk(a) {
541
+ let b = this.c5;
542
+ this.c5 = a;
543
+ if (b != this.c5) {
544
+ this.co("TickColor", b, a);
508
545
  }
509
546
  }
510
547
  get da() {
@@ -514,58 +551,59 @@ export let XCheckbox = /*@__PURE__*/ (() => {
514
551
  let b = this.c0;
515
552
  this.c0 = a;
516
553
  if (b != this.c0) {
517
- this.cl("CheckedBackgroundColor", b, a);
554
+ this.co("ActualTickColor", b, a);
518
555
  }
519
556
  }
520
- get ds() {
521
- return this.c2;
557
+ get dm() {
558
+ return this.c7;
522
559
  }
523
- set ds(a) {
524
- let b = this.c2;
525
- this.c2 = a;
526
- if (b != this.c2) {
527
- this.cl("TickColor", b, a);
560
+ set dm(a) {
561
+ let b = this.c7;
562
+ this.c7 = a;
563
+ if (b != this.c7) {
564
+ this.co("UncheckedBorderColor", b, a);
528
565
  }
529
566
  }
530
- get c7() {
531
- return this.cx;
532
- }
533
- set c7(a) {
534
- let b = this.cx;
535
- this.cx = a;
536
- if (b != this.cx) {
537
- this.cl("ActualTickColor", b, a);
538
- }
539
- }
540
- get du() {
567
+ get de() {
541
568
  return this.c4;
542
569
  }
543
- set du(a) {
570
+ set de(a) {
544
571
  let b = this.c4;
545
572
  this.c4 = a;
546
573
  if (b != this.c4) {
547
- this.cl("UncheckedBorderColor", b, a);
574
+ this.co("CheckedBorderColor", b, a);
548
575
  }
549
576
  }
550
- get db() {
551
- return this.c1;
552
- }
553
- set db(a) {
554
- let b = this.c1;
555
- this.c1 = a;
556
- if (b != this.c1) {
557
- this.cl("CheckedBorderColor", b, a);
577
+ cx(a) {
578
+ this.bv = XCheckbox.k.v(a, "CheckPath");
579
+ this.dj = XCheckbox.k.ae(a, "UncheckedBorderColor");
580
+ this.dg = XCheckbox.k.ae(a, "CheckedBorderColor");
581
+ this.as = XCheckbox.k.j(a, "BorderWidth");
582
+ this.df = XCheckbox.k.ae(a, "CheckedBackgroundColor");
583
+ this.at = XCheckbox.k.j(a, "CornerRadius");
584
+ this.dh = XCheckbox.k.ae(a, "TickColor");
585
+ this.au = XCheckbox.k.j(a, "TickStrokeWidth");
586
+ this.di = XCheckbox.k.ae(a, "UncheckedBackgroundColor");
587
+ }
588
+ get bf() {
589
+ return this.a5;
590
+ }
591
+ set bf(a) {
592
+ let b = this.a5;
593
+ this.a5 = a;
594
+ if (b != this.a5) {
595
+ this.co("ActualCheckPath", b, a);
558
596
  }
559
597
  }
560
- cu(a) {
561
- this.dr = ThemeResolver.e(a, XCheckbox.dn, XCheckbox.di);
562
- this.dd = ThemeResolver.e(a, XCheckbox.dk, XCheckbox.df);
563
- this.an = ThemeResolver.b(a, XCheckbox.as, XCheckbox.ap);
564
- this.dc = ThemeResolver.e(a, XCheckbox.dj, XCheckbox.de);
565
- this.ao = ThemeResolver.b(a, XCheckbox.at, XCheckbox.aq);
566
- this.dp = ThemeResolver.e(a, XCheckbox.dl, XCheckbox.dg);
567
- this.av = ThemeResolver.b(a, XCheckbox.au, XCheckbox.ar);
568
- this.dq = ThemeResolver.e(a, XCheckbox.dm, XCheckbox.dh);
598
+ get dc() {
599
+ return this.c2;
600
+ }
601
+ set dc(a) {
602
+ let b = this.c2;
603
+ this.c2 = a;
604
+ if (b != this.c2) {
605
+ this.co("ActualUncheckedBorderColor", b, a);
606
+ }
569
607
  }
570
608
  get c9() {
571
609
  return this.cz;
@@ -574,107 +612,97 @@ export let XCheckbox = /*@__PURE__*/ (() => {
574
612
  let b = this.cz;
575
613
  this.cz = a;
576
614
  if (b != this.cz) {
577
- this.cl("ActualUncheckedBorderColor", b, a);
615
+ this.co("ActualCheckedBorderColor", b, a);
578
616
  }
579
617
  }
580
- get c6() {
581
- return this.cw;
618
+ get aq() {
619
+ return this.ak;
582
620
  }
583
- set c6(a) {
584
- let b = this.cw;
585
- this.cw = a;
586
- if (b != this.cw) {
587
- this.cl("ActualCheckedBorderColor", b, a);
621
+ set aq(a) {
622
+ let b = this.ak;
623
+ this.ak = a;
624
+ if (b != this.ak) {
625
+ this.co("BorderWidth", b, a);
588
626
  }
589
627
  }
590
- get al() {
591
- return this.af;
628
+ get an() {
629
+ return this.ah;
592
630
  }
593
- set al(a) {
594
- let b = this.af;
595
- this.af = a;
596
- if (b != this.af) {
597
- this.cl("BorderWidth", b, a);
631
+ set an(a) {
632
+ let b = this.ah;
633
+ this.ah = a;
634
+ if (b != this.ah) {
635
+ this.co("ActualBorderWidth", b, a);
598
636
  }
599
637
  }
600
- get ai() {
601
- return this.ac;
638
+ get ar() {
639
+ return this.al;
602
640
  }
603
- set ai(a) {
604
- let b = this.ac;
605
- this.ac = a;
606
- if (b != this.ac) {
607
- this.cl("ActualBorderWidth", b, a);
641
+ set ar(a) {
642
+ let b = this.al;
643
+ this.al = a;
644
+ if (b != this.al) {
645
+ this.co("CornerRadius", b, a);
608
646
  }
609
647
  }
610
- get am() {
611
- return this.ag;
648
+ get av() {
649
+ return this.am;
612
650
  }
613
- set am(a) {
614
- let b = this.ag;
615
- this.ag = a;
616
- if (b != this.ag) {
617
- this.cl("CornerRadius", b, a);
651
+ set av(a) {
652
+ let b = this.am;
653
+ this.am = a;
654
+ if (b != this.am) {
655
+ this.co("TickStrokeWidth", b, a);
618
656
  }
619
657
  }
620
- get aw() {
621
- return this.ah;
658
+ get ap() {
659
+ return this.aj;
622
660
  }
623
- set aw(a) {
624
- let b = this.ah;
625
- this.ah = a;
626
- if (b != this.ah) {
627
- this.cl("TickStrokeWidth", b, a);
628
- }
629
- }
630
- get ak() {
631
- return this.ae;
632
- }
633
- set ak(a) {
634
- let b = this.ae;
635
- this.ae = a;
636
- if (b != this.ae) {
637
- this.cl("ActualTickStrokeWidth", b, a);
661
+ set ap(a) {
662
+ let b = this.aj;
663
+ this.aj = a;
664
+ if (b != this.aj) {
665
+ this.co("ActualTickStrokeWidth", b, a);
638
666
  }
639
667
  }
640
- get aj() {
641
- return this.ad;
668
+ get ao() {
669
+ return this.ai;
642
670
  }
643
- set aj(a) {
644
- let b = this.ad;
645
- this.ad = a;
646
- if (b != this.ad) {
647
- this.cl("ActualCornerRadius", b, a);
671
+ set ao(a) {
672
+ let b = this.ai;
673
+ this.ai = a;
674
+ if (b != this.ai) {
675
+ this.co("ActualCornerRadius", b, a);
648
676
  }
649
677
  }
650
- get c5() {
651
- return this.cv;
678
+ get c8() {
679
+ return this.cy;
652
680
  }
653
- set c5(a) {
654
- let b = this.cv;
655
- this.cv = a;
656
- if (b != this.cv) {
657
- this.cl("ActualCheckedBackgroundColor", b, a);
681
+ set c8(a) {
682
+ let b = this.cy;
683
+ this.cy = a;
684
+ if (b != this.cy) {
685
+ this.co("ActualCheckedBackgroundColor", b, a);
658
686
  }
659
687
  }
660
- get by() {
688
+ get b1() {
661
689
  return this.a9;
662
690
  }
663
- set by(a) {
691
+ set b1(a) {
664
692
  let b = this.a9;
665
693
  this.a9 = a;
666
694
  if (b != this.a9) {
667
- this.cl("InputId", b, a);
695
+ this.co("InputId", b, a);
668
696
  }
669
697
  }
670
- get bw() {
698
+ get bz() {
671
699
  return this.a8;
672
700
  }
673
- set bw(a) {
701
+ set bz(a) {
674
702
  let b = this.a8;
675
703
  this.a8 = a;
676
704
  if (b != this.a8) {
677
- this.cl("Id", b, a);
705
+ this.co("Id", b, a);
678
706
  }
679
707
  }
680
708
  get labelId() {
@@ -684,32 +712,21 @@ export let XCheckbox = /*@__PURE__*/ (() => {
684
712
  let b = this.ba;
685
713
  this.ba = a;
686
714
  if (b != this.ba) {
687
- this.cl("LabelId", b, a);
715
+ this.co("LabelId", b, a);
688
716
  }
689
717
  }
690
- get b7() {
718
+ get ca() {
691
719
  return this.bb;
692
720
  }
693
- set b7(a) {
721
+ set ca(a) {
694
722
  let b = this.bb;
695
723
  this.bb = a;
696
724
  if (b != this.bb) {
697
- this.cl("Name", b, a);
725
+ this.co("Name", b, a);
698
726
  }
699
727
  }
700
- get v() {
701
- return this.o;
702
- }
703
- get a0() {
704
- return this.ay;
705
- }
706
- set a0(a) {
707
- let b = this.ay;
708
- this.ay = a;
709
- this.o = true;
710
- if (b != this.ay) {
711
- this.cl("TabIndex", b, a);
712
- }
728
+ get aa() {
729
+ return this.t;
713
730
  }
714
731
  get az() {
715
732
  return this.ax;
@@ -717,48 +734,59 @@ export let XCheckbox = /*@__PURE__*/ (() => {
717
734
  set az(a) {
718
735
  let b = this.ax;
719
736
  this.ax = a;
737
+ this.t = true;
720
738
  if (b != this.ax) {
721
- this.cl("Required", b, a);
739
+ this.co("TabIndex", b, a);
740
+ }
741
+ }
742
+ get ay() {
743
+ return this.aw;
744
+ }
745
+ set ay(a) {
746
+ let b = this.aw;
747
+ this.aw = a;
748
+ if (b != this.aw) {
749
+ this.co("Required", b, a);
722
750
  }
723
751
  }
724
- get bl() {
752
+ get bn() {
725
753
  return this.a7;
726
754
  }
727
- set bl(a) {
755
+ set bn(a) {
728
756
  let b = this.a7;
729
757
  this.a7 = a;
730
758
  if (b != this.a7) {
731
- this.cl("AriaLabelledBy", b, a);
759
+ this.co("AriaLabelledBy", b, a);
732
760
  }
733
761
  }
734
- get bk() {
762
+ get bm() {
735
763
  return this.a6;
736
764
  }
737
- set bk(a) {
765
+ set bm(a) {
738
766
  let b = this.a6;
739
767
  this.a6 = a;
740
768
  if (b != this.a6) {
741
- this.cl("AriaLabel", b, a);
769
+ this.co("AriaLabel", b, a);
742
770
  }
743
771
  }
744
- get a5() {
745
- return this.a3;
772
+ get a4() {
773
+ return this.a2;
746
774
  }
747
- set a5(a) {
748
- let b = this.a3;
749
- this.a3 = a;
750
- if (b != this.a3) {
751
- this.cl("Value", b, a);
775
+ set a4(a) {
776
+ let b = this.a2;
777
+ this.a2 = a;
778
+ if (b != this.a2) {
779
+ this.co("Value", b, a);
752
780
  }
753
781
  }
754
782
  get focused() {
755
- return this.r;
783
+ return this.w;
756
784
  }
757
785
  set focused(a) {
758
- let b = this.r;
759
- this.r = a;
760
- if (b != this.r) {
761
- this.cl("IsFocused", b, a);
786
+ let b = this.w;
787
+ this.w = a;
788
+ if (b != this.w) {
789
+ this.co("IsFocused", b, a);
762
790
  }
763
791
  }
764
792
  get e() {
@@ -768,66 +796,66 @@ export let XCheckbox = /*@__PURE__*/ (() => {
768
796
  let b = this.d;
769
797
  this.d = a;
770
798
  if (b != this.d) {
771
- this.cl("LabelPosition", enumGetBox(CheckboxLabelPosition_$type, b), enumGetBox(CheckboxLabelPosition_$type, a));
799
+ this.co("LabelPosition", enumGetBox(CheckboxLabelPosition_$type, b), enumGetBox(CheckboxLabelPosition_$type, a));
772
800
  }
773
801
  }
774
- get t() {
775
- return this.l;
802
+ get y() {
803
+ return this.q;
776
804
  }
777
- set t(a) {
778
- let b = this.l;
779
- this.l = a;
780
- if (b != this.l) {
781
- this.cl("DisableRipple", b, a);
805
+ set y(a) {
806
+ let b = this.q;
807
+ this.q = a;
808
+ if (b != this.q) {
809
+ this.co("DisableRipple", b, a);
782
810
  }
783
811
  }
784
812
  get checked() {
785
- return this.p;
813
+ return this.u;
786
814
  }
787
815
  set checked(a) {
788
- let b = this.p;
789
- this.p = a;
790
- if (b != this.p) {
791
- this.cl("IsChecked", b, a);
816
+ let b = this.u;
817
+ this.u = a;
818
+ if (b != this.u) {
819
+ this.co("IsChecked", b, a);
792
820
  }
793
821
  }
794
822
  get indeterminate() {
795
- return this.s;
823
+ return this.x;
796
824
  }
797
825
  set indeterminate(a) {
798
- let b = this.s;
799
- this.s = a;
800
- if (b != this.s) {
801
- this.cl("IsIndeterminate", b, a);
826
+ let b = this.x;
827
+ this.x = a;
828
+ if (b != this.x) {
829
+ this.co("IsIndeterminate", b, a);
802
830
  }
803
831
  }
804
832
  get disabled() {
805
- return this.q;
833
+ return this.v;
806
834
  }
807
835
  set disabled(a) {
808
- let b = this.q;
809
- this.q = a;
810
- if (b != this.q) {
811
- this.cl("IsDisabled", b, a);
836
+ let b = this.v;
837
+ this.v = a;
838
+ if (b != this.v) {
839
+ this.co("IsDisabled", b, a);
812
840
  }
813
841
  }
814
- get u() {
815
- return this.m;
842
+ get z() {
843
+ return this.r;
816
844
  }
817
- set u(a) {
818
- let b = this.m;
819
- this.m = a;
820
- if (b != this.m) {
821
- this.cl("DisableTransitions", b, a);
845
+ set z(a) {
846
+ let b = this.r;
847
+ this.r = a;
848
+ if (b != this.r) {
849
+ this.co("DisableTransitions", b, a);
822
850
  }
823
851
  }
824
- cm() {
825
- this.ch();
852
+ cp() {
853
+ this.ck();
826
854
  if (this.checked) {
827
- this.view.ah(BrushUtil.o(this.c5, 0.6), BrushUtil.o(this.c5, 0.1));
855
+ this.view.aj(BrushUtil.p(this.c8, 0.6), BrushUtil.p(this.c8, 0.1));
828
856
  }
829
857
  else {
830
- this.view.ah(BrushUtil.o(this.c5, 0.6), BrushUtil.o(this.c9, 0.1));
858
+ this.view.aj(BrushUtil.p(this.c8, 0.6), BrushUtil.p(this.dc, 0.1));
831
859
  }
832
860
  }
833
861
  get a() {
@@ -836,25 +864,25 @@ export let XCheckbox = /*@__PURE__*/ (() => {
836
864
  a.b = 0;
837
865
  return a;
838
866
  }
839
- ch() {
840
- this.view.y();
867
+ ck() {
868
+ this.view.z();
841
869
  let a = false;
842
- if (this.j == null) {
870
+ if (this.o == null) {
843
871
  if (!a) {
844
872
  a = true;
845
- this.view.af();
873
+ this.view.ag();
846
874
  }
847
- this.j = KeyFrameAnimationFactory.f.c(this.view.a(this.a).m(new AnimationKeyFrameProperty(2, this.c8), new AnimationKeyFrameProperty(3, this.c9)).m(new AnimationKeyFrameProperty(2, this.c5), new AnimationKeyFrameProperty(3, this.c6)));
848
- this.k = 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)));
875
+ 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)));
876
+ 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)));
849
877
  }
850
878
  }
851
879
  toggle() {
852
880
  if (this.disabled) {
853
881
  return;
854
882
  }
855
- this.ch();
883
+ this.ck();
856
884
  this.focused = false;
857
- this.n = true;
885
+ this.s = true;
858
886
  let a = false;
859
887
  if (this.indeterminate) {
860
888
  a = true;
@@ -862,8 +890,8 @@ export let XCheckbox = /*@__PURE__*/ (() => {
862
890
  }
863
891
  this.indeterminate = false;
864
892
  this.checked = !this.checked;
865
- this.n = false;
866
- this.cs(a);
893
+ this.s = false;
894
+ this.cv(a);
867
895
  if (this.change != null) {
868
896
  let b = new CheckboxChangeEventArgs();
869
897
  b.isChecked = this.checked;
@@ -871,8 +899,8 @@ export let XCheckbox = /*@__PURE__*/ (() => {
871
899
  this.change(this, b);
872
900
  }
873
901
  }
874
- cs(a) {
875
- this.ch();
902
+ cv(a) {
903
+ this.ck();
876
904
  let b = this.checked;
877
905
  if (this.indeterminate) {
878
906
  b = true;
@@ -882,17 +910,17 @@ export let XCheckbox = /*@__PURE__*/ (() => {
882
910
  c = -1;
883
911
  }
884
912
  if (b) {
885
- this.view.ah(BrushUtil.o(this.c5, 0.6), BrushUtil.o(this.c5, 0.1));
913
+ this.view.aj(BrushUtil.p(this.c8, 0.6), BrushUtil.p(this.c8, 0.1));
886
914
  }
887
915
  else {
888
- this.view.ah(BrushUtil.o(this.c5, 0.6), BrushUtil.o(this.c9, 0.1));
916
+ this.view.aj(BrushUtil.p(this.c8, 0.6), BrushUtil.p(this.dc, 0.1));
889
917
  }
890
918
  if (!this.indeterminate) {
891
- NativeUI.ab(this.view.s, null);
919
+ NativeUI.ad(this.view.t, null);
892
920
  }
893
- if (this.u || this.indeterminate || a) {
894
- let d = this.view.r;
895
- let e = this.view.s;
921
+ if (this.z || this.indeterminate || a) {
922
+ let d = this.view.s;
923
+ let e = this.view.t;
896
924
  if (this.indeterminate) {
897
925
  let f = new TransformGroup();
898
926
  f.j.add(((() => {
@@ -905,127 +933,173 @@ export let XCheckbox = /*@__PURE__*/ (() => {
905
933
  $ret.j = -this.view.k();
906
934
  return $ret;
907
935
  })()));
908
- NativeUI.k(d, this.c5);
909
- NativeUI.l(d, this.c6);
910
- NativeUI.u(e, 1);
911
- NativeUI.y(e, 41);
912
- NativeUI.ab(e, f);
936
+ NativeUI.l(d, this.c8);
937
+ NativeUI.m(d, this.c9);
938
+ NativeUI.w(e, 1);
939
+ NativeUI.aa(e, 41);
940
+ NativeUI.ad(e, f);
913
941
  }
914
942
  else if (b) {
915
- NativeUI.k(d, this.c5);
916
- NativeUI.l(d, this.c6);
917
- NativeUI.u(e, 1);
918
- NativeUI.y(e, 0);
943
+ NativeUI.l(d, this.c8);
944
+ NativeUI.m(d, this.c9);
945
+ NativeUI.w(e, 1);
946
+ NativeUI.aa(e, 0);
919
947
  }
920
948
  else {
921
- NativeUI.k(d, this.c8);
922
- NativeUI.l(d, this.c9);
923
- NativeUI.u(e, 0);
924
- NativeUI.y(e, 24);
949
+ NativeUI.l(d, this.db);
950
+ NativeUI.m(d, this.dc);
951
+ NativeUI.w(e, 0);
952
+ NativeUI.aa(e, 24);
925
953
  }
926
- if (this.j.playState == 1) {
927
- this.j.cancel();
954
+ if (this.o.playState == 1) {
955
+ this.o.cancel();
928
956
  }
929
- if (this.k.playState == 1) {
930
- this.k.cancel();
957
+ if (this.p.playState == 1) {
958
+ this.p.cancel();
931
959
  }
932
960
  return;
933
961
  }
934
- if ((c > 0 && this.j.playbackRate < 0) || (c < 0 && this.j.playbackRate > 0)) {
935
- this.j.reverse();
936
- this.j.finished.f((g) => {
937
- if (this.j != null) {
938
- this.j.commitStyles();
962
+ if ((c > 0 && this.o.playbackRate < 0) || (c < 0 && this.o.playbackRate > 0)) {
963
+ this.o.reverse();
964
+ this.o.finished.f((g) => {
965
+ if (this.o != null) {
966
+ this.o.commitStyles();
939
967
  }
940
968
  });
941
- this.k.reverse();
942
- this.k.finished.f((g) => {
943
- if (this.k != null) {
944
- this.k.commitStyles();
969
+ this.p.reverse();
970
+ this.p.finished.f((g) => {
971
+ if (this.p != null) {
972
+ this.p.commitStyles();
945
973
  }
946
974
  });
947
975
  }
948
976
  else {
949
- this.j.play();
950
- this.j.finished.f((g) => {
951
- if (this.j != null) {
952
- this.j.commitStyles();
977
+ this.o.play();
978
+ this.o.finished.f((g) => {
979
+ if (this.o != null) {
980
+ this.o.commitStyles();
953
981
  }
954
982
  });
955
- this.k.play();
956
- this.k.finished.f((g) => {
957
- if (this.k != null) {
958
- this.k.commitStyles();
983
+ this.p.play();
984
+ this.p.finished.f((g) => {
985
+ if (this.p != null) {
986
+ this.p.commitStyles();
959
987
  }
960
988
  });
961
989
  }
962
990
  }
963
991
  onDetachedFromUI() {
964
- this.view.ac();
992
+ this.view.ad();
965
993
  }
966
994
  onAttachedToUI() {
967
- this.view.aa();
995
+ this.view.ab();
968
996
  }
969
997
  onContentReady() {
970
998
  if (this.indeterminate) {
971
- this.cs(false);
999
+ this.cv(false);
972
1000
  }
973
1001
  }
974
- aa() {
1002
+ af() {
975
1003
  return this.view.i();
976
1004
  }
977
- a4() {
1005
+ a3() {
978
1006
  return this.b();
979
1007
  }
980
- bv() {
1008
+ by() {
981
1009
  let a = this.b();
982
1010
  return a.s();
983
1011
  }
984
1012
  b() {
985
1013
  let a = new CheckboxVisualModelExport();
986
- a.f = this.i;
987
- a.d = AppearanceHelper.a(this.c8);
988
- a.c = AppearanceHelper.a(this.c7);
989
- a.e = AppearanceHelper.a(this.c9);
990
- a.b = AppearanceHelper.a(this.c6);
991
- a.o = this.al;
992
- a.l = this.ai;
993
- a.p = this.am;
994
- a.q = this.aw;
995
- a.n = this.ak;
996
- a.m = this.aj;
997
- a.a = AppearanceHelper.a(this.c5);
998
- a.r = this.a5;
1014
+ a.f = this.n;
1015
+ a.d = AppearanceHelper.a(this.db);
1016
+ a.c = AppearanceHelper.a(this.da);
1017
+ a.e = AppearanceHelper.a(this.dc);
1018
+ a.b = AppearanceHelper.a(this.c9);
1019
+ a.o = this.aq;
1020
+ a.l = this.an;
1021
+ a.p = this.ar;
1022
+ a.q = this.av;
1023
+ a.n = this.ap;
1024
+ a.m = this.ao;
1025
+ a.a = AppearanceHelper.a(this.c8);
1026
+ a.r = this.a4;
999
1027
  a.j = this.focused;
1000
- a.g = this.t;
1028
+ a.g = this.y;
1001
1029
  a.h = this.checked;
1002
1030
  a.k = this.indeterminate;
1003
1031
  a.i = this.disabled;
1004
1032
  return a;
1005
1033
  }
1006
1034
  provideContainer(a) {
1007
- this.view.ab(a);
1035
+ this.view.ac(a);
1008
1036
  }
1009
1037
  }
1010
1038
  XCheckbox.$t = /*@__PURE__*/ markType(XCheckbox, 'XCheckbox', Base.$, [INotifyPropertyChanged_$type]);
1011
- XCheckbox.dn = /*@__PURE__*/ BrushUtil.g(138, 0, 0, 0);
1012
- XCheckbox.dk = /*@__PURE__*/ BrushUtil.g(138, 0, 0, 0);
1013
- XCheckbox.as = NaN;
1014
- XCheckbox.dj = /*@__PURE__*/ BrushUtil.g(255, 228, 28, 119);
1015
- XCheckbox.at = 2;
1016
- XCheckbox.dl = /*@__PURE__*/ BrushUtil.g(255, 255, 255, 255);
1017
- XCheckbox.au = 3;
1018
- XCheckbox.dm = /*@__PURE__*/ BrushUtil.g(255, 255, 255, 255);
1019
- XCheckbox.di = /*@__PURE__*/ BrushUtil.g(255, 153, 153, 153);
1020
- XCheckbox.df = /*@__PURE__*/ BrushUtil.g(138, 33, 150, 243);
1021
- XCheckbox.ap = NaN;
1022
- XCheckbox.de = /*@__PURE__*/ BrushUtil.g(255, 33, 150, 243);
1023
- XCheckbox.aq = 2;
1024
- XCheckbox.dg = /*@__PURE__*/ BrushUtil.g(255, 255, 255, 255);
1025
- XCheckbox.ar = 3;
1026
- XCheckbox.dh = /*@__PURE__*/ BrushUtil.g(255, 255, 255, 255);
1027
- XCheckbox.h = 2;
1028
- XCheckbox.a2 = 0;
1039
+ XCheckbox.g = /*@__PURE__*/ ThemeResolver.a(/*@__PURE__*/ ((() => {
1040
+ let $ret = new Dictionary$2(String_$type, Base.$, 0);
1041
+ $ret.addItem("CheckPath", "M4.1,12.7 9,17.6 20.3,6.3");
1042
+ $ret.addItem("UncheckedBorderColor", BrushUtil.g(255, 153, 153, 153));
1043
+ $ret.addItem("CheckedBorderColor", BrushUtil.g(138, 33, 150, 243));
1044
+ $ret.addItem("UncheckedBackgroundColor", BrushUtil.g(255, 255, 255, 255));
1045
+ $ret.addItem("CheckedBackgroundColor", BrushUtil.g(255, 33, 150, 243));
1046
+ $ret.addItem("TickColor", BrushUtil.g(255, 255, 255, 255));
1047
+ $ret.addItem("TickStrokeWidth", 3);
1048
+ $ret.addItem("BorderWidth", NaN);
1049
+ $ret.addItem("CornerRadius", 2);
1050
+ return $ret;
1051
+ })()));
1052
+ XCheckbox.h = /*@__PURE__*/ ThemeResolver.a(/*@__PURE__*/ ((() => {
1053
+ let $ret = new Dictionary$2(String_$type, Base.$, 0);
1054
+ $ret.addItem("CheckPath", "M4.1,12.7 9,17.6 20.3,6.3");
1055
+ $ret.addItem("UncheckedBorderColor", BrushUtil.g(138, 0, 0, 0));
1056
+ $ret.addItem("CheckedBorderColor", BrushUtil.g(138, 0, 0, 0));
1057
+ $ret.addItem("UncheckedBackgroundColor", BrushUtil.g(255, 255, 255, 255));
1058
+ $ret.addItem("CheckedBackgroundColor", BrushUtil.g(255, 228, 28, 119));
1059
+ $ret.addItem("TickColor", BrushUtil.g(255, 255, 255, 255));
1060
+ $ret.addItem("TickStrokeWidth", 3);
1061
+ $ret.addItem("BorderWidth", NaN);
1062
+ $ret.addItem("CornerRadius", 2);
1063
+ return $ret;
1064
+ })()));
1065
+ XCheckbox.j = /*@__PURE__*/ ThemeResolver.a(/*@__PURE__*/ ((() => {
1066
+ let $ret = new Dictionary$2(String_$type, Base.$, 0);
1067
+ $ret.addItem("CheckPath", "M5.1,12.7 9,17.6 19,9");
1068
+ $ret.addItem("UncheckedBorderColor", BrushUtil.g(255, 105, 136, 255));
1069
+ $ret.addItem("CheckedBorderColor", BrushUtil.g(255, 105, 136, 255));
1070
+ $ret.addItem("UncheckedBackgroundColor", BrushUtil.g(255, 255, 255, 255));
1071
+ $ret.addItem("CheckedBackgroundColor", BrushUtil.g(255, 105, 136, 255));
1072
+ $ret.addItem("TickColor", BrushUtil.g(255, 255, 255, 255));
1073
+ $ret.addItem("TickStrokeWidth", 3);
1074
+ $ret.addItem("BorderWidth", NaN);
1075
+ $ret.addItem("CornerRadius", 2);
1076
+ return $ret;
1077
+ })()));
1078
+ XCheckbox.i = /*@__PURE__*/ ThemeResolver.a(/*@__PURE__*/ ((() => {
1079
+ let $ret = new Dictionary$2(String_$type, Base.$, 0);
1080
+ $ret.addItem("CheckPath", "M5.1,12.7 9,17.6 19,9");
1081
+ $ret.addItem("UncheckedBorderColor", BrushUtil.g(255, 105, 136, 255));
1082
+ $ret.addItem("CheckedBorderColor", BrushUtil.g(255, 105, 136, 255));
1083
+ $ret.addItem("UncheckedBackgroundColor", BrushUtil.g(255, 55, 63, 86));
1084
+ $ret.addItem("CheckedBackgroundColor", BrushUtil.g(255, 105, 136, 255));
1085
+ $ret.addItem("TickColor", BrushUtil.g(255, 255, 255, 255));
1086
+ $ret.addItem("TickStrokeWidth", 3);
1087
+ $ret.addItem("BorderWidth", NaN);
1088
+ $ret.addItem("CornerRadius", 2);
1089
+ return $ret;
1090
+ })()));
1091
+ XCheckbox.k = /*@__PURE__*/ new ThemeResolver(1, /*@__PURE__*/ ((() => {
1092
+ let $ret = new Dictionary$2(BaseControlTheme_$type, Theme.$, 0);
1093
+ $ret.addItem(2, XCheckbox.h);
1094
+ $ret.addItem(1, XCheckbox.g);
1095
+ $ret.addItem(3, XCheckbox.j);
1096
+ $ret.addItem(4, XCheckbox.i);
1097
+ $ret.addItem(5, XCheckbox.j);
1098
+ $ret.addItem(6, XCheckbox.i);
1099
+ return $ret;
1100
+ })()), 2);
1101
+ XCheckbox.m = 2;
1029
1102
  XCheckbox.a1 = 0;
1103
+ XCheckbox.a0 = 0;
1030
1104
  return XCheckbox;
1031
1105
  })();