igniteui-webcomponents-inputs 4.2.5 → 4.3.0-beta.1
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.
- package/bundles/igniteui-webcomponents-inputs.umd.js +10205 -7880
- package/bundles/igniteui-webcomponents-inputs.umd.min.js +1 -1
- package/esm2015/lib/ButtonGroupView_combined.js +98 -98
- package/esm2015/lib/ButtonView_combined.js +2206 -1799
- package/esm2015/lib/CalendarView_combined.js +156 -156
- package/esm2015/lib/CheckboxView_combined.js +532 -458
- package/esm2015/lib/DatePickerView_combined.js +398 -364
- package/esm2015/lib/IconView_combined.js +553 -355
- package/esm2015/lib/InputGroupView_combined.js +2432 -2152
- package/esm2015/lib/NativeUIXInputsFactory.js +65 -23
- package/esm2015/lib/RippleView_combined.js +1 -1
- package/esm2015/lib/Theme.js +48 -0
- package/esm2015/lib/ThemeResolver.js +131 -7
- package/esm2015/lib/XButtonBridge.js +218 -22
- package/esm2015/lib/XCheckboxBridge.js +25 -16
- package/esm2015/lib/XComponentBridge.js +20 -6
- package/esm2015/lib/XIconBridge.js +93 -0
- package/esm2015/lib/XIconButtonBridge.js +45 -33
- package/esm2015/lib/XInputBridge.js +91 -38
- package/esm2015/lib/XPopupBridge.js +287 -0
- package/esm2015/lib/igc-date-picker-component.js +60 -58
- package/esm2015/lib/igc-x-button-component.js +694 -546
- package/esm2015/lib/igc-x-button-group-component.js +28 -28
- package/esm2015/lib/igc-x-calendar-component.js +16 -16
- package/esm2015/lib/igc-x-checkbox-component.js +77 -77
- package/esm2015/lib/igc-x-icon-component.js +239 -118
- package/esm2015/lib/igc-x-input-component.js +61 -43
- package/esm2015/lib/igc-x-input-group-component.js +576 -576
- package/esm2015/lib/igc-x-input-group-item-component.js +18 -18
- package/esm2015/lib/igc-x-ripple-component.js +35 -35
- package/esm2015/public_api.js +3 -0
- package/esm5/lib/ButtonClickEventArgs.js +2 -2
- package/esm5/lib/ButtonGroupSelectionChangedEventArgs.js +2 -2
- package/esm5/lib/ButtonGroupView_combined.js +176 -176
- package/esm5/lib/ButtonGroupVisualModelExport.js +2 -2
- package/esm5/lib/ButtonView_combined.js +2259 -1808
- package/esm5/lib/ButtonVisualModelExport.js +2 -2
- package/esm5/lib/CalendarView_combined.js +181 -181
- package/esm5/lib/CalendarVisualModelExport.js +2 -2
- package/esm5/lib/CheckboxChangeEventArgs.js +4 -4
- package/esm5/lib/CheckboxView_combined.js +561 -483
- package/esm5/lib/CheckboxVisualModelExport.js +2 -2
- package/esm5/lib/DatePickerView_combined.js +421 -383
- package/esm5/lib/DatePickerVisualModelExport.js +2 -2
- package/esm5/lib/DateTimeValueFormatter.js +2 -2
- package/esm5/lib/DayInfo.js +2 -2
- package/esm5/lib/ElevationHelper.js +2 -2
- package/esm5/lib/GotFocusEventArgs.js +2 -2
- package/esm5/lib/IconClickedEventArgs.js +2 -2
- package/esm5/lib/IconView_combined.js +600 -362
- package/esm5/lib/IconVisualModelExport.js +3 -3
- package/esm5/lib/InputChangeEventArgs.js +4 -4
- package/esm5/lib/InputGroupView_combined.js +2534 -2246
- package/esm5/lib/InputGroupVisualModelExport.js +2 -2
- package/esm5/lib/InputVisualModelExport.js +2 -2
- package/esm5/lib/LabelVisualModelExport.js +2 -2
- package/esm5/lib/LostFocusEventArgs.js +2 -2
- package/esm5/lib/MaskOptions.js +2 -2
- package/esm5/lib/MaskParsingService.js +5 -5
- package/esm5/lib/NativeUIXInputsFactory.js +69 -27
- package/esm5/lib/PrefixVisualModelExport.js +2 -2
- package/esm5/lib/Replaced.js +2 -2
- package/esm5/lib/RippleView_combined.js +17 -17
- package/esm5/lib/RippleVisualModelExport.js +2 -2
- package/esm5/lib/SelectedValueChangedEventArgs.js +4 -4
- package/esm5/lib/SuffixVisualModelExport.js +2 -2
- package/esm5/lib/TextElementsVisualModelExport.js +2 -2
- package/esm5/lib/Theme.js +58 -0
- package/esm5/lib/ThemeResolver.js +137 -11
- package/esm5/lib/XButtonBridge.js +220 -24
- package/esm5/lib/XButtonGroupButtonCollection.js +2 -2
- package/esm5/lib/XCheckboxBridge.js +27 -18
- package/esm5/lib/XComponentBridge.js +26 -8
- package/esm5/lib/XIconBridge.js +95 -0
- package/esm5/lib/XIconButtonBridge.js +47 -35
- package/esm5/lib/XInputBridge.js +93 -40
- package/esm5/lib/XPopupBridge.js +289 -0
- package/esm5/lib/igc-button-click-event-args.js +1 -1
- package/esm5/lib/igc-button-group-selection-changed-event-args.js +1 -1
- package/esm5/lib/igc-checkbox-change-event-args.js +3 -3
- package/esm5/lib/igc-date-picker-component.js +80 -78
- package/esm5/lib/igc-got-focus-event-args.js +1 -1
- package/esm5/lib/igc-input-change-event-args.js +3 -3
- package/esm5/lib/igc-lost-focus-event-args.js +1 -1
- package/esm5/lib/igc-selected-value-changed-event-args.js +3 -3
- package/esm5/lib/igc-x-button-component.js +908 -710
- package/esm5/lib/igc-x-button-group-button-collection.js +2 -2
- package/esm5/lib/igc-x-button-group-component.js +73 -73
- package/esm5/lib/igc-x-calendar-component.js +30 -30
- package/esm5/lib/igc-x-checkbox-component.js +117 -117
- package/esm5/lib/igc-x-icon-component.js +297 -136
- package/esm5/lib/igc-x-input-component.js +104 -78
- package/esm5/lib/igc-x-input-group-component.js +716 -716
- package/esm5/lib/igc-x-input-group-input-collection.js +2 -2
- package/esm5/lib/igc-x-input-group-item-component.js +6 -6
- package/esm5/lib/igc-x-label-component.js +30 -30
- package/esm5/lib/igc-x-prefix-component.js +9 -9
- package/esm5/lib/igc-x-ripple-component.js +19 -19
- package/esm5/lib/igc-x-suffix-component.js +9 -9
- package/esm5/public_api.js +3 -0
- package/fesm2015/igniteui-webcomponents-inputs.js +9194 -7084
- package/fesm5/igniteui-webcomponents-inputs.js +10090 -7768
- package/lib/ButtonGroupView_combined.d.ts +136 -70
- package/lib/ButtonView_combined.d.ts +609 -583
- package/lib/CalendarView_combined.d.ts +43 -22
- package/lib/CheckboxChangeEventArgs.d.ts +4 -2
- package/lib/CheckboxView_combined.d.ts +150 -117
- package/lib/DatePickerView_combined.d.ts +109 -81
- package/lib/IconView_combined.d.ts +164 -93
- package/lib/IconVisualModelExport.d.ts +2 -1
- package/lib/InputChangeEventArgs.d.ts +4 -2
- package/lib/InputGroupView_combined.d.ts +771 -771
- package/lib/NativeUIXInputsFactory.d.ts +6 -4
- package/lib/RippleView_combined.d.ts +19 -10
- package/lib/SelectedValueChangedEventArgs.d.ts +4 -2
- package/lib/Theme.d.ts +15 -0
- package/lib/ThemeResolver.d.ts +44 -6
- package/lib/XButtonBridge.d.ts +23 -5
- package/lib/XCheckboxBridge.d.ts +3 -3
- package/lib/XComponentBridge.d.ts +2 -1
- package/lib/XIconBridge.d.ts +14 -0
- package/lib/XIconButtonBridge.d.ts +4 -4
- package/lib/XInputBridge.d.ts +11 -7
- package/lib/XPopupBridge.d.ts +52 -0
- package/lib/igc-button-click-event-args.d.ts +1 -1
- package/lib/igc-button-group-selection-changed-event-args.d.ts +1 -1
- package/lib/igc-checkbox-change-event-args.d.ts +5 -3
- package/lib/igc-date-picker-component.d.ts +65 -34
- package/lib/igc-got-focus-event-args.d.ts +1 -1
- package/lib/igc-input-change-event-args.d.ts +5 -3
- package/lib/igc-lost-focus-event-args.d.ts +1 -1
- package/lib/igc-selected-value-changed-event-args.d.ts +5 -3
- package/lib/igc-x-button-component.d.ts +399 -173
- package/lib/igc-x-button-group-component.d.ts +136 -70
- package/lib/igc-x-calendar-component.d.ts +53 -28
- package/lib/igc-x-checkbox-component.d.ts +71 -37
- package/lib/igc-x-icon-component.d.ts +140 -44
- package/lib/igc-x-input-component.d.ts +69 -32
- package/lib/igc-x-input-group-component.d.ts +325 -165
- package/lib/igc-x-input-group-item-component.d.ts +5 -4
- package/lib/igc-x-label-component.d.ts +52 -27
- package/lib/igc-x-prefix-component.d.ts +10 -6
- package/lib/igc-x-ripple-component.d.ts +31 -17
- package/lib/igc-x-suffix-component.d.ts +10 -6
- package/package.json +2 -2
- 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.
|
|
44
|
+
this.r = null;
|
|
42
45
|
this.m = null;
|
|
43
|
-
this.
|
|
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
|
-
|
|
52
|
+
ae() {
|
|
49
53
|
}
|
|
50
54
|
i() {
|
|
51
55
|
return true;
|
|
52
56
|
}
|
|
53
|
-
|
|
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.
|
|
68
|
-
this.
|
|
69
|
-
this.
|
|
70
|
-
this.
|
|
71
|
-
this.
|
|
72
|
-
this.
|
|
73
|
-
this.
|
|
74
|
-
this.
|
|
75
|
-
this.
|
|
76
|
-
this.
|
|
77
|
-
this.
|
|
78
|
-
this.
|
|
79
|
-
this.
|
|
80
|
-
this.
|
|
81
|
-
this.
|
|
82
|
-
this.
|
|
83
|
-
this.
|
|
84
|
-
this.j.add(c.listen("change", runOn(this, this.
|
|
85
|
-
this.j.add(c.listen("click", runOn(this, this.
|
|
86
|
-
this.j.add(c.listen("focus", runOn(this, this.
|
|
87
|
-
this.j.add(c.listen("blur", runOn(this, this.
|
|
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.
|
|
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.
|
|
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.
|
|
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",
|
|
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.
|
|
170
|
-
this.j.add(l.listen("click", runOn(this, this.
|
|
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.
|
|
179
|
+
this.c.cp();
|
|
175
180
|
}
|
|
176
|
-
|
|
181
|
+
u(a) {
|
|
177
182
|
this.c.toggle();
|
|
178
183
|
}
|
|
179
|
-
|
|
184
|
+
ai() {
|
|
180
185
|
if (this.i()) {
|
|
181
|
-
let a = this.c.
|
|
182
|
-
this.
|
|
183
|
-
this.
|
|
184
|
-
if (this.c.
|
|
185
|
-
this.
|
|
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.
|
|
188
|
-
this.
|
|
189
|
-
this.
|
|
190
|
-
this.
|
|
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.
|
|
197
|
+
this.r.setAttribute("aria-checked", "mixed");
|
|
193
198
|
}
|
|
194
199
|
else {
|
|
195
|
-
this.
|
|
200
|
+
this.r.setAttribute("aria-checked", this.c.checked ? "true" : "false");
|
|
196
201
|
}
|
|
197
|
-
this.
|
|
198
|
-
this.
|
|
202
|
+
this.r.setAttribute("aria-labelledby", this.c.bn);
|
|
203
|
+
this.r.setAttribute("aria-label", this.c.bm);
|
|
199
204
|
}
|
|
200
205
|
}
|
|
201
|
-
|
|
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.
|
|
204
|
-
this.
|
|
205
|
-
this.
|
|
214
|
+
let a = this.c.b1;
|
|
215
|
+
this.r.setAttribute("id", a);
|
|
216
|
+
this.q.setAttribute("for", a);
|
|
206
217
|
}
|
|
207
218
|
}
|
|
208
|
-
|
|
219
|
+
v(a) {
|
|
209
220
|
this.c.focused = false;
|
|
210
221
|
}
|
|
211
|
-
|
|
222
|
+
y(a) {
|
|
212
223
|
this.c.focused = true;
|
|
213
224
|
}
|
|
214
|
-
|
|
225
|
+
x(a) {
|
|
215
226
|
a.stopPropagation();
|
|
216
227
|
if (this.h()) {
|
|
217
|
-
let native_ = this.
|
|
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
|
-
|
|
236
|
+
w(a) {
|
|
226
237
|
a.stopPropagation();
|
|
227
238
|
}
|
|
228
|
-
|
|
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.
|
|
245
|
+
return new AnimationKeyFrameEffect(0, this.q, 0, null, a);
|
|
235
246
|
}
|
|
236
247
|
b(a) {
|
|
237
|
-
return new AnimationKeyFrameEffect(0, this.
|
|
248
|
+
return new AnimationKeyFrameEffect(0, this.o, 0, null, a);
|
|
238
249
|
}
|
|
239
|
-
|
|
250
|
+
aa(a) {
|
|
240
251
|
}
|
|
241
|
-
get
|
|
242
|
-
return this.
|
|
252
|
+
get s() {
|
|
253
|
+
return this.q;
|
|
243
254
|
}
|
|
244
255
|
get e() {
|
|
245
256
|
return this.d;
|
|
246
257
|
}
|
|
247
|
-
get
|
|
248
|
-
return this.
|
|
258
|
+
get t() {
|
|
259
|
+
return this.o;
|
|
249
260
|
}
|
|
250
|
-
|
|
261
|
+
ab() {
|
|
251
262
|
this.g = true;
|
|
252
|
-
this.j.add(this.
|
|
253
|
-
this.j.add(this.
|
|
254
|
-
this.j.add(this.
|
|
255
|
-
this.j.add(this.
|
|
256
|
-
this.j.add(this.
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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.
|
|
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.
|
|
294
|
-
this.
|
|
295
|
-
this.
|
|
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.
|
|
298
|
-
this.c0 =
|
|
299
|
-
this.
|
|
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.
|
|
303
|
-
this.
|
|
304
|
-
this.
|
|
305
|
-
this.
|
|
306
|
-
this.
|
|
307
|
-
this.
|
|
308
|
-
this.
|
|
309
|
-
this.
|
|
310
|
-
this.
|
|
311
|
-
this.
|
|
312
|
-
this.
|
|
313
|
-
this.
|
|
314
|
-
this.
|
|
315
|
-
this.
|
|
316
|
-
this.
|
|
317
|
-
this.
|
|
318
|
-
this.
|
|
319
|
-
this.
|
|
320
|
-
this.
|
|
321
|
-
this.
|
|
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.
|
|
330
|
-
this.
|
|
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.
|
|
338
|
-
this.
|
|
339
|
-
this.
|
|
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.
|
|
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
|
|
355
|
-
return this.
|
|
367
|
+
get n() {
|
|
368
|
+
return this.l;
|
|
356
369
|
}
|
|
357
|
-
set
|
|
358
|
-
let b = this.
|
|
359
|
-
this.
|
|
360
|
-
if (b != this.
|
|
361
|
-
this.
|
|
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
|
-
|
|
380
|
+
co(a, b, c) {
|
|
368
381
|
if (this.propertyChanged != null) {
|
|
369
382
|
this.propertyChanged(this, new PropertyChangedEventArgs(a));
|
|
370
383
|
}
|
|
371
|
-
this.
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
this.
|
|
375
|
-
this.
|
|
376
|
-
this.
|
|
377
|
-
this.
|
|
378
|
-
this.
|
|
379
|
-
this.
|
|
380
|
-
this.
|
|
381
|
-
this.
|
|
382
|
-
|
|
383
|
-
|
|
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.
|
|
387
|
-
this.
|
|
400
|
+
this.cx(this.n);
|
|
401
|
+
this.cu();
|
|
388
402
|
break;
|
|
389
403
|
case "TickColor":
|
|
390
|
-
this.
|
|
404
|
+
this.da = this.dk != null ? this.dk : this.dh;
|
|
391
405
|
break;
|
|
392
406
|
case "UncheckedBorderColor":
|
|
393
|
-
this.
|
|
407
|
+
this.dc = this.dm != null ? this.dm : this.dj;
|
|
394
408
|
break;
|
|
395
409
|
case "CheckedBorderColor":
|
|
396
|
-
this.
|
|
410
|
+
this.c9 = this.de != null ? this.de : this.dg;
|
|
397
411
|
break;
|
|
398
412
|
case "BorderWidth":
|
|
399
|
-
this.
|
|
413
|
+
this.an = !isNaN_(this.aq) ? this.aq : this.as;
|
|
400
414
|
break;
|
|
401
415
|
case "CheckedBackgroundColor":
|
|
402
|
-
this.
|
|
416
|
+
this.c8 = this.dd != null ? this.dd : this.df;
|
|
403
417
|
break;
|
|
404
418
|
case "UncheckedBackgroundColor":
|
|
405
|
-
this.
|
|
419
|
+
this.db = this.dl != null ? this.dl : this.di;
|
|
406
420
|
break;
|
|
407
421
|
case "CornerRadius":
|
|
408
|
-
this.
|
|
422
|
+
this.ao = !isNaN_(this.ar) ? this.ar : this.at;
|
|
409
423
|
break;
|
|
410
424
|
case "TickStrokeWidth":
|
|
411
|
-
this.
|
|
425
|
+
this.ap = !isNaN_(this.av) ? this.av : this.au;
|
|
412
426
|
break;
|
|
413
427
|
case "ActualTickStrokeWidth":
|
|
414
428
|
case "ActualTickColor":
|
|
415
|
-
this.
|
|
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.
|
|
423
|
-
this.
|
|
436
|
+
if (this.o != null) {
|
|
437
|
+
this.o.cancel();
|
|
424
438
|
}
|
|
425
|
-
if (this.
|
|
426
|
-
this.
|
|
439
|
+
if (this.p != null) {
|
|
440
|
+
this.p.cancel();
|
|
427
441
|
}
|
|
428
|
-
this.
|
|
429
|
-
this.
|
|
430
|
-
this.
|
|
431
|
-
let d = (this.
|
|
432
|
-
this.
|
|
433
|
-
this.
|
|
434
|
-
this.
|
|
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.
|
|
451
|
+
this.ct();
|
|
452
|
+
break;
|
|
453
|
+
case "ActualCheckPath":
|
|
454
|
+
this.view.ah();
|
|
438
455
|
break;
|
|
439
456
|
case "IsChecked":
|
|
440
|
-
if (!this.
|
|
457
|
+
if (!this.s) {
|
|
441
458
|
let e = this.indeterminate;
|
|
442
|
-
this.
|
|
459
|
+
this.s = true;
|
|
443
460
|
this.indeterminate = false;
|
|
444
|
-
this.
|
|
445
|
-
let f = (this.
|
|
446
|
-
this.
|
|
447
|
-
this.
|
|
448
|
-
this.
|
|
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.
|
|
453
|
-
this.
|
|
469
|
+
if (!this.s) {
|
|
470
|
+
this.cv(b);
|
|
454
471
|
}
|
|
455
472
|
break;
|
|
456
473
|
case "DisableRipple":
|
|
457
|
-
this.view.e.i = this.
|
|
474
|
+
this.view.e.i = this.y;
|
|
458
475
|
break;
|
|
459
476
|
case "InputId":
|
|
460
|
-
this.view.
|
|
477
|
+
this.view.af();
|
|
461
478
|
break;
|
|
462
479
|
}
|
|
463
480
|
}
|
|
464
|
-
|
|
465
|
-
let a = this.view.
|
|
481
|
+
ct() {
|
|
482
|
+
let a = this.view.s;
|
|
466
483
|
if (a == null) {
|
|
467
484
|
return;
|
|
468
485
|
}
|
|
469
|
-
NativeUI.
|
|
470
|
-
if (!isNaN_(this.
|
|
471
|
-
NativeUI.
|
|
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.
|
|
475
|
-
NativeUI.
|
|
491
|
+
NativeUI.l(a, this.c8);
|
|
492
|
+
NativeUI.m(a, this.c9);
|
|
476
493
|
}
|
|
477
494
|
else {
|
|
478
|
-
NativeUI.
|
|
479
|
-
NativeUI.
|
|
495
|
+
NativeUI.l(a, this.db);
|
|
496
|
+
NativeUI.m(a, this.dc);
|
|
480
497
|
}
|
|
481
498
|
}
|
|
482
|
-
|
|
483
|
-
let a = this.view.
|
|
499
|
+
cw() {
|
|
500
|
+
let a = this.view.t;
|
|
484
501
|
if (a == null) {
|
|
485
502
|
return;
|
|
486
503
|
}
|
|
487
|
-
NativeUI.
|
|
488
|
-
NativeUI.
|
|
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
|
-
|
|
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
|
|
530
|
+
set dd(a) {
|
|
494
531
|
let b = this.c3;
|
|
495
532
|
this.c3 = a;
|
|
496
533
|
if (b != this.c3) {
|
|
497
|
-
this.
|
|
534
|
+
this.co("CheckedBackgroundColor", b, a);
|
|
498
535
|
}
|
|
499
536
|
}
|
|
500
|
-
get
|
|
501
|
-
return this.
|
|
537
|
+
get dk() {
|
|
538
|
+
return this.c5;
|
|
502
539
|
}
|
|
503
|
-
set
|
|
504
|
-
let b = this.
|
|
505
|
-
this.
|
|
506
|
-
if (b != this.
|
|
507
|
-
this.
|
|
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.
|
|
554
|
+
this.co("ActualTickColor", b, a);
|
|
518
555
|
}
|
|
519
556
|
}
|
|
520
|
-
get
|
|
521
|
-
return this.
|
|
557
|
+
get dm() {
|
|
558
|
+
return this.c7;
|
|
522
559
|
}
|
|
523
|
-
set
|
|
524
|
-
let b = this.
|
|
525
|
-
this.
|
|
526
|
-
if (b != this.
|
|
527
|
-
this.
|
|
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
|
|
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
|
|
570
|
+
set de(a) {
|
|
544
571
|
let b = this.c4;
|
|
545
572
|
this.c4 = a;
|
|
546
573
|
if (b != this.c4) {
|
|
547
|
-
this.
|
|
574
|
+
this.co("CheckedBorderColor", b, a);
|
|
548
575
|
}
|
|
549
576
|
}
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
this.
|
|
556
|
-
|
|
557
|
-
|
|
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
|
-
|
|
561
|
-
this.
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
this.
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
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.
|
|
615
|
+
this.co("ActualCheckedBorderColor", b, a);
|
|
578
616
|
}
|
|
579
617
|
}
|
|
580
|
-
get
|
|
581
|
-
return this.
|
|
618
|
+
get aq() {
|
|
619
|
+
return this.ak;
|
|
582
620
|
}
|
|
583
|
-
set
|
|
584
|
-
let b = this.
|
|
585
|
-
this.
|
|
586
|
-
if (b != this.
|
|
587
|
-
this.
|
|
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
|
|
591
|
-
return this.
|
|
628
|
+
get an() {
|
|
629
|
+
return this.ah;
|
|
592
630
|
}
|
|
593
|
-
set
|
|
594
|
-
let b = this.
|
|
595
|
-
this.
|
|
596
|
-
if (b != this.
|
|
597
|
-
this.
|
|
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
|
|
601
|
-
return this.
|
|
638
|
+
get ar() {
|
|
639
|
+
return this.al;
|
|
602
640
|
}
|
|
603
|
-
set
|
|
604
|
-
let b = this.
|
|
605
|
-
this.
|
|
606
|
-
if (b != this.
|
|
607
|
-
this.
|
|
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
|
|
611
|
-
return this.
|
|
648
|
+
get av() {
|
|
649
|
+
return this.am;
|
|
612
650
|
}
|
|
613
|
-
set
|
|
614
|
-
let b = this.
|
|
615
|
-
this.
|
|
616
|
-
if (b != this.
|
|
617
|
-
this.
|
|
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
|
|
621
|
-
return this.
|
|
658
|
+
get ap() {
|
|
659
|
+
return this.aj;
|
|
622
660
|
}
|
|
623
|
-
set
|
|
624
|
-
let b = this.
|
|
625
|
-
this.
|
|
626
|
-
if (b != this.
|
|
627
|
-
this.
|
|
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
|
|
641
|
-
return this.
|
|
668
|
+
get ao() {
|
|
669
|
+
return this.ai;
|
|
642
670
|
}
|
|
643
|
-
set
|
|
644
|
-
let b = this.
|
|
645
|
-
this.
|
|
646
|
-
if (b != this.
|
|
647
|
-
this.
|
|
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
|
|
651
|
-
return this.
|
|
678
|
+
get c8() {
|
|
679
|
+
return this.cy;
|
|
652
680
|
}
|
|
653
|
-
set
|
|
654
|
-
let b = this.
|
|
655
|
-
this.
|
|
656
|
-
if (b != this.
|
|
657
|
-
this.
|
|
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
|
|
688
|
+
get b1() {
|
|
661
689
|
return this.a9;
|
|
662
690
|
}
|
|
663
|
-
set
|
|
691
|
+
set b1(a) {
|
|
664
692
|
let b = this.a9;
|
|
665
693
|
this.a9 = a;
|
|
666
694
|
if (b != this.a9) {
|
|
667
|
-
this.
|
|
695
|
+
this.co("InputId", b, a);
|
|
668
696
|
}
|
|
669
697
|
}
|
|
670
|
-
get
|
|
698
|
+
get bz() {
|
|
671
699
|
return this.a8;
|
|
672
700
|
}
|
|
673
|
-
set
|
|
701
|
+
set bz(a) {
|
|
674
702
|
let b = this.a8;
|
|
675
703
|
this.a8 = a;
|
|
676
704
|
if (b != this.a8) {
|
|
677
|
-
this.
|
|
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.
|
|
715
|
+
this.co("LabelId", b, a);
|
|
688
716
|
}
|
|
689
717
|
}
|
|
690
|
-
get
|
|
718
|
+
get ca() {
|
|
691
719
|
return this.bb;
|
|
692
720
|
}
|
|
693
|
-
set
|
|
721
|
+
set ca(a) {
|
|
694
722
|
let b = this.bb;
|
|
695
723
|
this.bb = a;
|
|
696
724
|
if (b != this.bb) {
|
|
697
|
-
this.
|
|
725
|
+
this.co("Name", b, a);
|
|
698
726
|
}
|
|
699
727
|
}
|
|
700
|
-
get
|
|
701
|
-
return this.
|
|
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.
|
|
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
|
|
752
|
+
get bn() {
|
|
725
753
|
return this.a7;
|
|
726
754
|
}
|
|
727
|
-
set
|
|
755
|
+
set bn(a) {
|
|
728
756
|
let b = this.a7;
|
|
729
757
|
this.a7 = a;
|
|
730
758
|
if (b != this.a7) {
|
|
731
|
-
this.
|
|
759
|
+
this.co("AriaLabelledBy", b, a);
|
|
732
760
|
}
|
|
733
761
|
}
|
|
734
|
-
get
|
|
762
|
+
get bm() {
|
|
735
763
|
return this.a6;
|
|
736
764
|
}
|
|
737
|
-
set
|
|
765
|
+
set bm(a) {
|
|
738
766
|
let b = this.a6;
|
|
739
767
|
this.a6 = a;
|
|
740
768
|
if (b != this.a6) {
|
|
741
|
-
this.
|
|
769
|
+
this.co("AriaLabel", b, a);
|
|
742
770
|
}
|
|
743
771
|
}
|
|
744
|
-
get
|
|
745
|
-
return this.
|
|
772
|
+
get a4() {
|
|
773
|
+
return this.a2;
|
|
746
774
|
}
|
|
747
|
-
set
|
|
748
|
-
let b = this.
|
|
749
|
-
this.
|
|
750
|
-
if (b != this.
|
|
751
|
-
this.
|
|
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.
|
|
783
|
+
return this.w;
|
|
756
784
|
}
|
|
757
785
|
set focused(a) {
|
|
758
|
-
let b = this.
|
|
759
|
-
this.
|
|
760
|
-
if (b != this.
|
|
761
|
-
this.
|
|
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.
|
|
799
|
+
this.co("LabelPosition", enumGetBox(CheckboxLabelPosition_$type, b), enumGetBox(CheckboxLabelPosition_$type, a));
|
|
772
800
|
}
|
|
773
801
|
}
|
|
774
|
-
get
|
|
775
|
-
return this.
|
|
802
|
+
get y() {
|
|
803
|
+
return this.q;
|
|
776
804
|
}
|
|
777
|
-
set
|
|
778
|
-
let b = this.
|
|
779
|
-
this.
|
|
780
|
-
if (b != this.
|
|
781
|
-
this.
|
|
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.
|
|
813
|
+
return this.u;
|
|
786
814
|
}
|
|
787
815
|
set checked(a) {
|
|
788
|
-
let b = this.
|
|
789
|
-
this.
|
|
790
|
-
if (b != this.
|
|
791
|
-
this.
|
|
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.
|
|
823
|
+
return this.x;
|
|
796
824
|
}
|
|
797
825
|
set indeterminate(a) {
|
|
798
|
-
let b = this.
|
|
799
|
-
this.
|
|
800
|
-
if (b != this.
|
|
801
|
-
this.
|
|
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.
|
|
833
|
+
return this.v;
|
|
806
834
|
}
|
|
807
835
|
set disabled(a) {
|
|
808
|
-
let b = this.
|
|
809
|
-
this.
|
|
810
|
-
if (b != this.
|
|
811
|
-
this.
|
|
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
|
|
815
|
-
return this.
|
|
842
|
+
get z() {
|
|
843
|
+
return this.r;
|
|
816
844
|
}
|
|
817
|
-
set
|
|
818
|
-
let b = this.
|
|
819
|
-
this.
|
|
820
|
-
if (b != this.
|
|
821
|
-
this.
|
|
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
|
-
|
|
825
|
-
this.
|
|
852
|
+
cp() {
|
|
853
|
+
this.ck();
|
|
826
854
|
if (this.checked) {
|
|
827
|
-
this.view.
|
|
855
|
+
this.view.aj(BrushUtil.p(this.c8, 0.6), BrushUtil.p(this.c8, 0.1));
|
|
828
856
|
}
|
|
829
857
|
else {
|
|
830
|
-
this.view.
|
|
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
|
-
|
|
840
|
-
this.view.
|
|
867
|
+
ck() {
|
|
868
|
+
this.view.z();
|
|
841
869
|
let a = false;
|
|
842
|
-
if (this.
|
|
870
|
+
if (this.o == null) {
|
|
843
871
|
if (!a) {
|
|
844
872
|
a = true;
|
|
845
|
-
this.view.
|
|
873
|
+
this.view.ag();
|
|
846
874
|
}
|
|
847
|
-
this.
|
|
848
|
-
this.
|
|
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.
|
|
883
|
+
this.ck();
|
|
856
884
|
this.focused = false;
|
|
857
|
-
this.
|
|
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.
|
|
866
|
-
this.
|
|
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
|
-
|
|
875
|
-
this.
|
|
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.
|
|
913
|
+
this.view.aj(BrushUtil.p(this.c8, 0.6), BrushUtil.p(this.c8, 0.1));
|
|
886
914
|
}
|
|
887
915
|
else {
|
|
888
|
-
this.view.
|
|
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.
|
|
919
|
+
NativeUI.ad(this.view.t, null);
|
|
892
920
|
}
|
|
893
|
-
if (this.
|
|
894
|
-
let d = this.view.
|
|
895
|
-
let e = this.view.
|
|
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.
|
|
909
|
-
NativeUI.
|
|
910
|
-
NativeUI.
|
|
911
|
-
NativeUI.
|
|
912
|
-
NativeUI.
|
|
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.
|
|
916
|
-
NativeUI.
|
|
917
|
-
NativeUI.
|
|
918
|
-
NativeUI.
|
|
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.
|
|
922
|
-
NativeUI.
|
|
923
|
-
NativeUI.
|
|
924
|
-
NativeUI.
|
|
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.
|
|
927
|
-
this.
|
|
954
|
+
if (this.o.playState == 1) {
|
|
955
|
+
this.o.cancel();
|
|
928
956
|
}
|
|
929
|
-
if (this.
|
|
930
|
-
this.
|
|
957
|
+
if (this.p.playState == 1) {
|
|
958
|
+
this.p.cancel();
|
|
931
959
|
}
|
|
932
960
|
return;
|
|
933
961
|
}
|
|
934
|
-
if ((c > 0 && this.
|
|
935
|
-
this.
|
|
936
|
-
this.
|
|
937
|
-
if (this.
|
|
938
|
-
this.
|
|
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.
|
|
942
|
-
this.
|
|
943
|
-
if (this.
|
|
944
|
-
this.
|
|
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.
|
|
950
|
-
this.
|
|
951
|
-
if (this.
|
|
952
|
-
this.
|
|
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.
|
|
956
|
-
this.
|
|
957
|
-
if (this.
|
|
958
|
-
this.
|
|
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.
|
|
992
|
+
this.view.ad();
|
|
965
993
|
}
|
|
966
994
|
onAttachedToUI() {
|
|
967
|
-
this.view.
|
|
995
|
+
this.view.ab();
|
|
968
996
|
}
|
|
969
997
|
onContentReady() {
|
|
970
998
|
if (this.indeterminate) {
|
|
971
|
-
this.
|
|
999
|
+
this.cv(false);
|
|
972
1000
|
}
|
|
973
1001
|
}
|
|
974
|
-
|
|
1002
|
+
af() {
|
|
975
1003
|
return this.view.i();
|
|
976
1004
|
}
|
|
977
|
-
|
|
1005
|
+
a3() {
|
|
978
1006
|
return this.b();
|
|
979
1007
|
}
|
|
980
|
-
|
|
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.
|
|
987
|
-
a.d = AppearanceHelper.a(this.
|
|
988
|
-
a.c = AppearanceHelper.a(this.
|
|
989
|
-
a.e = AppearanceHelper.a(this.
|
|
990
|
-
a.b = AppearanceHelper.a(this.
|
|
991
|
-
a.o = this.
|
|
992
|
-
a.l = this.
|
|
993
|
-
a.p = this.
|
|
994
|
-
a.q = this.
|
|
995
|
-
a.n = this.
|
|
996
|
-
a.m = this.
|
|
997
|
-
a.a = AppearanceHelper.a(this.
|
|
998
|
-
a.r = this.
|
|
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.
|
|
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.
|
|
1035
|
+
this.view.ac(a);
|
|
1008
1036
|
}
|
|
1009
1037
|
}
|
|
1010
1038
|
XCheckbox.$t = /*@__PURE__*/ markType(XCheckbox, 'XCheckbox', Base.$, [INotifyPropertyChanged_$type]);
|
|
1011
|
-
XCheckbox.
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
XCheckbox.
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
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
|
})();
|