igniteui-angular-inputs 17.3.0-beta.0 → 17.3.1-alpha.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.
- package/bundles/igniteui-angular-inputs.umd.js +1095 -789
- package/bundles/igniteui-angular-inputs.umd.min.js +1 -1
- package/esm2015/lib/ButtonView_combined.js +22 -22
- package/esm2015/lib/CalendarView_combined.js +14 -14
- package/esm2015/lib/CheckboxView_combined.js +73 -67
- package/esm2015/lib/DatePickerView_combined.js +14 -14
- package/esm2015/lib/IconView_combined.js +659 -472
- package/esm2015/lib/IconVisualModelExport.js +13 -11
- package/esm2015/lib/InputGroupView_combined.js +29 -29
- package/esm2015/lib/NativeUIXInputsFactory.js +1 -1
- package/esm2015/lib/XButtonBridge.js +7 -0
- package/esm2015/lib/XIconBridge.js +55 -31
- package/esm2015/lib/XIconButtonBridge.js +1 -1
- package/esm2015/lib/igx-x-icon-component.js +90 -64
- package/esm5/lib/ButtonView_combined.js +22 -22
- package/esm5/lib/CalendarView_combined.js +14 -14
- package/esm5/lib/CheckboxView_combined.js +77 -67
- package/esm5/lib/DatePickerView_combined.js +14 -14
- package/esm5/lib/IconView_combined.js +678 -446
- package/esm5/lib/IconVisualModelExport.js +13 -11
- package/esm5/lib/InputGroupView_combined.js +29 -29
- package/esm5/lib/NativeUIXInputsFactory.js +1 -1
- package/esm5/lib/XButtonBridge.js +7 -0
- package/esm5/lib/XIconBridge.js +55 -31
- package/esm5/lib/XIconButtonBridge.js +1 -1
- package/esm5/lib/igx-x-icon-component.js +98 -64
- package/fesm2015/igniteui-angular-inputs.js +971 -722
- package/fesm5/igniteui-angular-inputs.js +1096 -790
- package/lib/CheckboxView_combined.d.ts +17 -16
- package/lib/IconView_combined.d.ts +155 -136
- package/lib/IconVisualModelExport.d.ts +4 -3
- package/lib/XIconBridge.d.ts +3 -0
- package/lib/igx-x-icon-component.d.ts +12 -1
- package/package.json +2 -2
|
@@ -744,7 +744,6 @@ export let XButton = /*@__PURE__*/ (() => {
|
|
|
744
744
|
case "DisabledTextColor":
|
|
745
745
|
case "DisabledElevation":
|
|
746
746
|
case "HoverBackgroundColor":
|
|
747
|
-
case "TextStyle":
|
|
748
747
|
case "FocusTextColor":
|
|
749
748
|
case "TextColor":
|
|
750
749
|
case "HoverTextColor":
|
|
@@ -850,6 +849,7 @@ export let XButton = /*@__PURE__*/ (() => {
|
|
|
850
849
|
this.ap = this.disabled || this.at;
|
|
851
850
|
this.ki();
|
|
852
851
|
break;
|
|
852
|
+
case "TextStyle":
|
|
853
853
|
case "DisableHover":
|
|
854
854
|
this.kh();
|
|
855
855
|
break;
|
|
@@ -2896,30 +2896,30 @@ export let XButton = /*@__PURE__*/ (() => {
|
|
|
2896
2896
|
c.l = this.disabled;
|
|
2897
2897
|
if (this.aa != null) {
|
|
2898
2898
|
let g = this.aa;
|
|
2899
|
-
if (this.view != null && g.
|
|
2899
|
+
if (this.view != null && g.q == null) {
|
|
2900
2900
|
let h = this.view.k;
|
|
2901
2901
|
let i = FontUtil.getFontInfoFromString(h, g.fontString);
|
|
2902
|
-
g.p = i.p;
|
|
2903
|
-
g.e = i.e;
|
|
2904
2902
|
g.q = i.q;
|
|
2905
|
-
g.
|
|
2903
|
+
g.f = i.f;
|
|
2904
|
+
g.r = i.r;
|
|
2906
2905
|
g.t = i.t;
|
|
2907
2906
|
g.u = i.u;
|
|
2907
|
+
g.v = i.v;
|
|
2908
2908
|
}
|
|
2909
|
-
if (g.
|
|
2910
|
-
c.ac = g.
|
|
2909
|
+
if (g.q != null) {
|
|
2910
|
+
c.ac = g.q;
|
|
2911
2911
|
}
|
|
2912
|
-
if (!isNaN_(g.
|
|
2913
|
-
c.r = g.
|
|
2912
|
+
if (!isNaN_(g.f)) {
|
|
2913
|
+
c.r = g.f;
|
|
2914
2914
|
}
|
|
2915
|
-
if (g.
|
|
2916
|
-
c.ag = g.
|
|
2915
|
+
if (g.v != null) {
|
|
2916
|
+
c.ag = g.v;
|
|
2917
2917
|
}
|
|
2918
|
-
if (g.
|
|
2919
|
-
c.ae = g.
|
|
2918
|
+
if (g.t != null) {
|
|
2919
|
+
c.ae = g.t;
|
|
2920
2920
|
}
|
|
2921
|
-
if (g.
|
|
2922
|
-
c.ad = g.
|
|
2921
|
+
if (g.r != null) {
|
|
2922
|
+
c.ad = g.t;
|
|
2923
2923
|
}
|
|
2924
2924
|
}
|
|
2925
2925
|
return c;
|
|
@@ -2951,7 +2951,7 @@ export let XButton = /*@__PURE__*/ (() => {
|
|
|
2951
2951
|
$ret.addItem("HoverElevation", 4);
|
|
2952
2952
|
$ret.addItem("FocusElevation", 8);
|
|
2953
2953
|
$ret.addItem("BorderColor", BrushUtil.h(138, 0, 0, 0));
|
|
2954
|
-
$ret.addItem("RippleColor", BrushUtil.h(
|
|
2954
|
+
$ret.addItem("RippleColor", BrushUtil.h(138, 0, 0, 0));
|
|
2955
2955
|
$ret.addItem("CornerRadius", new CornerRadius(0, 4));
|
|
2956
2956
|
$ret.addItem("BorderWidth", NaN);
|
|
2957
2957
|
$ret.addItem("BackgroundColor", BrushUtil.h(255, 228, 28, 119));
|
|
@@ -2972,11 +2972,11 @@ export let XButton = /*@__PURE__*/ (() => {
|
|
|
2972
2972
|
$ret.addItem("HoverElevation", 0);
|
|
2973
2973
|
$ret.addItem("FocusElevation", 0);
|
|
2974
2974
|
$ret.addItem("BorderColor", BrushUtil.h(138, 0, 0, 0));
|
|
2975
|
-
$ret.addItem("RippleColor",
|
|
2975
|
+
$ret.addItem("RippleColor", BrushUtil.h(138, 0, 0, 0));
|
|
2976
2976
|
$ret.addItem("CornerRadius", new CornerRadius(0, 4));
|
|
2977
2977
|
$ret.addItem("BorderWidth", NaN);
|
|
2978
2978
|
$ret.addItem("BackgroundColor", BrushUtil.h(0, 0, 0, 0));
|
|
2979
|
-
$ret.addItem("TextColor", BrushUtil.h(255,
|
|
2979
|
+
$ret.addItem("TextColor", BrushUtil.h(255, 228, 28, 119));
|
|
2980
2980
|
$ret.addItem("HoverTextColor", BrushUtil.h(255, 228, 28, 119));
|
|
2981
2981
|
$ret.addItem("HoverBackgroundColor", BrushUtil.h(13, 228, 28, 119));
|
|
2982
2982
|
$ret.addItem("FocusBackgroundColor", BrushUtil.h(30, 228, 28, 119));
|
|
@@ -2992,8 +2992,8 @@ export let XButton = /*@__PURE__*/ (() => {
|
|
|
2992
2992
|
$ret.addItem("RestingElevation", 0);
|
|
2993
2993
|
$ret.addItem("HoverElevation", 0);
|
|
2994
2994
|
$ret.addItem("FocusElevation", 0);
|
|
2995
|
-
$ret.addItem("BorderColor", BrushUtil.h(
|
|
2996
|
-
$ret.addItem("RippleColor", BrushUtil.h(
|
|
2995
|
+
$ret.addItem("BorderColor", BrushUtil.h(255, 228, 28, 119));
|
|
2996
|
+
$ret.addItem("RippleColor", BrushUtil.h(138, 0, 0, 0));
|
|
2997
2997
|
$ret.addItem("CornerRadius", new CornerRadius(0, 4));
|
|
2998
2998
|
$ret.addItem("BorderWidth", 1);
|
|
2999
2999
|
$ret.addItem("BackgroundColor", BrushUtil.h(0, 0, 0, 0));
|
|
@@ -3014,7 +3014,7 @@ export let XButton = /*@__PURE__*/ (() => {
|
|
|
3014
3014
|
$ret.addItem("HoverElevation", 0);
|
|
3015
3015
|
$ret.addItem("FocusElevation", 0);
|
|
3016
3016
|
$ret.addItem("BorderColor", BrushUtil.h(138, 0, 0, 0));
|
|
3017
|
-
$ret.addItem("RippleColor",
|
|
3017
|
+
$ret.addItem("RippleColor", BrushUtil.h(138, 0, 0, 0));
|
|
3018
3018
|
$ret.addItem("CornerRadius", new CornerRadius(0, 28));
|
|
3019
3019
|
$ret.addItem("BorderWidth", NaN);
|
|
3020
3020
|
$ret.addItem("BackgroundColor", BrushUtil.h(0, 0, 0, 0));
|
|
@@ -3035,7 +3035,7 @@ export let XButton = /*@__PURE__*/ (() => {
|
|
|
3035
3035
|
$ret.addItem("HoverElevation", 12);
|
|
3036
3036
|
$ret.addItem("FocusElevation", 12);
|
|
3037
3037
|
$ret.addItem("BorderColor", BrushUtil.h(138, 0, 0, 0));
|
|
3038
|
-
$ret.addItem("RippleColor", BrushUtil.h(
|
|
3038
|
+
$ret.addItem("RippleColor", BrushUtil.h(138, 0, 0, 0));
|
|
3039
3039
|
$ret.addItem("CornerRadius", new CornerRadius(0, 28));
|
|
3040
3040
|
$ret.addItem("BorderWidth", NaN);
|
|
3041
3041
|
$ret.addItem("BackgroundColor", BrushUtil.h(255, 228, 28, 119));
|
|
@@ -2753,30 +2753,30 @@ export let XCalendar = /*@__PURE__*/ (() => {
|
|
|
2753
2753
|
}
|
|
2754
2754
|
if (this.v != null) {
|
|
2755
2755
|
let w = this.v;
|
|
2756
|
-
if (this.h != null && w.
|
|
2756
|
+
if (this.h != null && w.q == null) {
|
|
2757
2757
|
let x = this.h.m;
|
|
2758
2758
|
let y = FontUtil.getFontInfoFromString(x, w.fontString);
|
|
2759
|
-
w.p = y.p;
|
|
2760
|
-
w.e = y.e;
|
|
2761
2759
|
w.q = y.q;
|
|
2762
|
-
w.
|
|
2760
|
+
w.f = y.f;
|
|
2761
|
+
w.r = y.r;
|
|
2763
2762
|
w.t = y.t;
|
|
2764
2763
|
w.u = y.u;
|
|
2764
|
+
w.v = y.v;
|
|
2765
2765
|
}
|
|
2766
|
-
if (w.
|
|
2767
|
-
a.p = w.
|
|
2766
|
+
if (w.q != null) {
|
|
2767
|
+
a.p = w.q;
|
|
2768
2768
|
}
|
|
2769
|
-
if (!isNaN_(w.
|
|
2770
|
-
a.m = w.
|
|
2769
|
+
if (!isNaN_(w.f)) {
|
|
2770
|
+
a.m = w.f;
|
|
2771
2771
|
}
|
|
2772
|
-
if (w.
|
|
2773
|
-
a.t = w.
|
|
2772
|
+
if (w.v != null) {
|
|
2773
|
+
a.t = w.v;
|
|
2774
2774
|
}
|
|
2775
|
-
if (w.
|
|
2776
|
-
a.r = w.
|
|
2775
|
+
if (w.t != null) {
|
|
2776
|
+
a.r = w.t;
|
|
2777
2777
|
}
|
|
2778
|
-
if (w.
|
|
2779
|
-
a.q = w.
|
|
2778
|
+
if (w.r != null) {
|
|
2779
|
+
a.q = w.t;
|
|
2780
2780
|
}
|
|
2781
2781
|
}
|
|
2782
2782
|
return a;
|
|
@@ -49,12 +49,12 @@ export let CheckboxView = /*@__PURE__*/ (() => {
|
|
|
49
49
|
this.d = null;
|
|
50
50
|
this.p = null;
|
|
51
51
|
}
|
|
52
|
-
|
|
52
|
+
af() {
|
|
53
53
|
}
|
|
54
54
|
i() {
|
|
55
55
|
return true;
|
|
56
56
|
}
|
|
57
|
-
|
|
57
|
+
ad(a) {
|
|
58
58
|
if (a == null) {
|
|
59
59
|
for (let b of fromEnum(this.j)) {
|
|
60
60
|
b();
|
|
@@ -84,11 +84,11 @@ export let CheckboxView = /*@__PURE__*/ (() => {
|
|
|
84
84
|
this.r.setStyleProperty("appearance", "none");
|
|
85
85
|
this.r.setAttribute("type", "checkbox");
|
|
86
86
|
this.r.setAttribute("id", this.c.b1);
|
|
87
|
-
this.
|
|
88
|
-
this.j.add(c.listen("change", runOn(this, this.
|
|
89
|
-
this.j.add(c.listen("click", runOn(this, this.
|
|
90
|
-
this.j.add(c.listen("focus", runOn(this, this.
|
|
91
|
-
this.j.add(c.listen("blur", runOn(this, this.
|
|
87
|
+
this.aj();
|
|
88
|
+
this.j.add(c.listen("change", runOn(this, this.x)));
|
|
89
|
+
this.j.add(c.listen("click", runOn(this, this.y)));
|
|
90
|
+
this.j.add(c.listen("focus", runOn(this, this.z)));
|
|
91
|
+
this.j.add(c.listen("blur", runOn(this, this.w)));
|
|
92
92
|
this.l.append(c);
|
|
93
93
|
let d = this.l.createElement("div");
|
|
94
94
|
d.addClass("ig-checkbox-box");
|
|
@@ -172,16 +172,16 @@ export let CheckboxView = /*@__PURE__*/ (() => {
|
|
|
172
172
|
l.setStyleProperty("cursor", "pointer");
|
|
173
173
|
l.setStyleProperty("role", "label");
|
|
174
174
|
this.p = l;
|
|
175
|
-
this.j.add(l.listen("click", runOn(this, this.
|
|
175
|
+
this.j.add(l.listen("click", runOn(this, this.v)));
|
|
176
176
|
this.l.append(l);
|
|
177
177
|
this.l.getPortal(l, "ChildContent", (m) => {
|
|
178
178
|
}, true);
|
|
179
179
|
this.c.cp();
|
|
180
180
|
}
|
|
181
|
-
|
|
181
|
+
v(a) {
|
|
182
182
|
this.c.toggle();
|
|
183
183
|
}
|
|
184
|
-
|
|
184
|
+
aj() {
|
|
185
185
|
if (this.i()) {
|
|
186
186
|
let a = this.c.b1;
|
|
187
187
|
this.r.setAttribute("name", this.c.ca);
|
|
@@ -203,26 +203,26 @@ export let CheckboxView = /*@__PURE__*/ (() => {
|
|
|
203
203
|
this.r.setAttribute("aria-label", this.c.bm);
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
|
-
|
|
206
|
+
al() {
|
|
207
207
|
return new Size(1, this.q.width(), this.q.height());
|
|
208
208
|
}
|
|
209
|
-
|
|
209
|
+
ai() {
|
|
210
210
|
this.n.setAttribute("d", this.c.bf);
|
|
211
211
|
}
|
|
212
|
-
|
|
212
|
+
ag() {
|
|
213
213
|
if (this.i()) {
|
|
214
214
|
let a = this.c.b1;
|
|
215
215
|
this.r.setAttribute("id", a);
|
|
216
216
|
this.q.setAttribute("for", a);
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
|
-
|
|
219
|
+
w(a) {
|
|
220
220
|
this.c.focused = false;
|
|
221
221
|
}
|
|
222
|
-
|
|
222
|
+
z(a) {
|
|
223
223
|
this.c.focused = true;
|
|
224
224
|
}
|
|
225
|
-
|
|
225
|
+
y(a) {
|
|
226
226
|
a.stopPropagation();
|
|
227
227
|
if (this.h()) {
|
|
228
228
|
let native_ = this.r.getNativeElement();
|
|
@@ -233,10 +233,10 @@ export let CheckboxView = /*@__PURE__*/ (() => {
|
|
|
233
233
|
h() {
|
|
234
234
|
return false;
|
|
235
235
|
}
|
|
236
|
-
|
|
236
|
+
x(a) {
|
|
237
237
|
a.stopPropagation();
|
|
238
238
|
}
|
|
239
|
-
|
|
239
|
+
aa() {
|
|
240
240
|
if (KeyFrameAnimationFactory.h == null) {
|
|
241
241
|
KeyFrameAnimationFactory.h = this.l;
|
|
242
242
|
}
|
|
@@ -247,7 +247,10 @@ export let CheckboxView = /*@__PURE__*/ (() => {
|
|
|
247
247
|
b(a) {
|
|
248
248
|
return new AnimationKeyFrameEffect(0, this.o, 0, null, a);
|
|
249
249
|
}
|
|
250
|
-
|
|
250
|
+
ab(a) {
|
|
251
|
+
}
|
|
252
|
+
get t() {
|
|
253
|
+
return this.q;
|
|
251
254
|
}
|
|
252
255
|
get s() {
|
|
253
256
|
return this.q;
|
|
@@ -255,32 +258,32 @@ export let CheckboxView = /*@__PURE__*/ (() => {
|
|
|
255
258
|
get e() {
|
|
256
259
|
return this.d;
|
|
257
260
|
}
|
|
258
|
-
get
|
|
261
|
+
get u() {
|
|
259
262
|
return this.o;
|
|
260
263
|
}
|
|
261
|
-
|
|
264
|
+
ac() {
|
|
262
265
|
this.g = true;
|
|
263
|
-
this.j.add(this.r.listen("change", runOn(this, this.
|
|
264
|
-
this.j.add(this.r.listen("click", runOn(this, this.
|
|
265
|
-
this.j.add(this.r.listen("focus", runOn(this, this.
|
|
266
|
-
this.j.add(this.r.listen("blur", runOn(this, this.
|
|
267
|
-
this.j.add(this.p.listen("click", runOn(this, this.
|
|
266
|
+
this.j.add(this.r.listen("change", runOn(this, this.x)));
|
|
267
|
+
this.j.add(this.r.listen("click", runOn(this, this.y)));
|
|
268
|
+
this.j.add(this.r.listen("focus", runOn(this, this.z)));
|
|
269
|
+
this.j.add(this.r.listen("blur", runOn(this, this.w)));
|
|
270
|
+
this.j.add(this.p.listen("click", runOn(this, this.v)));
|
|
268
271
|
}
|
|
269
|
-
|
|
272
|
+
ae() {
|
|
270
273
|
this.g = false;
|
|
271
274
|
for (let a of fromEnum(this.j)) {
|
|
272
275
|
a();
|
|
273
276
|
}
|
|
274
277
|
this.j.clear();
|
|
275
278
|
}
|
|
276
|
-
|
|
279
|
+
ah() {
|
|
277
280
|
let model_ = this.c;
|
|
278
281
|
if (model_.externalObject && model_.externalObject.refreshDefaults) {
|
|
279
282
|
model_.externalObject.refreshDefaults();
|
|
280
283
|
}
|
|
281
284
|
;
|
|
282
285
|
}
|
|
283
|
-
|
|
286
|
+
ak(a, b) {
|
|
284
287
|
this.d.ax = a;
|
|
285
288
|
this.d.aw = b;
|
|
286
289
|
}
|
|
@@ -356,7 +359,7 @@ export let XCheckbox = /*@__PURE__*/ (() => {
|
|
|
356
359
|
let a = new CheckboxView();
|
|
357
360
|
a.c = this;
|
|
358
361
|
this.view = a;
|
|
359
|
-
this.view.
|
|
362
|
+
this.view.af();
|
|
360
363
|
}
|
|
361
364
|
get view() {
|
|
362
365
|
return this._view;
|
|
@@ -451,7 +454,7 @@ export let XCheckbox = /*@__PURE__*/ (() => {
|
|
|
451
454
|
this.ct();
|
|
452
455
|
break;
|
|
453
456
|
case "ActualCheckPath":
|
|
454
|
-
this.view.
|
|
457
|
+
this.view.ai();
|
|
455
458
|
break;
|
|
456
459
|
case "IsChecked":
|
|
457
460
|
if (!this.s) {
|
|
@@ -474,30 +477,32 @@ export let XCheckbox = /*@__PURE__*/ (() => {
|
|
|
474
477
|
this.view.e.i = this.y;
|
|
475
478
|
break;
|
|
476
479
|
case "InputId":
|
|
477
|
-
this.view.
|
|
480
|
+
this.view.ag();
|
|
478
481
|
break;
|
|
479
482
|
}
|
|
480
483
|
}
|
|
481
484
|
ct() {
|
|
482
|
-
let a = this.view.
|
|
483
|
-
|
|
485
|
+
let a = this.view.t;
|
|
486
|
+
let b = this.view.s;
|
|
487
|
+
if (a == null || b == null) {
|
|
484
488
|
return;
|
|
485
489
|
}
|
|
486
490
|
NativeUI.o(a, new CornerRadius(0, this.ao));
|
|
491
|
+
NativeUI.o(b, new CornerRadius(0, this.ao));
|
|
487
492
|
if (!isNaN_(this.an)) {
|
|
488
|
-
NativeUI.p(
|
|
493
|
+
NativeUI.p(b, new Thickness(0, this.an));
|
|
489
494
|
}
|
|
490
495
|
if (this.checked) {
|
|
491
496
|
NativeUI.m(a, this.c8);
|
|
492
|
-
NativeUI.n(
|
|
497
|
+
NativeUI.n(b, this.c9);
|
|
493
498
|
}
|
|
494
499
|
else {
|
|
495
500
|
NativeUI.m(a, this.db);
|
|
496
|
-
NativeUI.n(
|
|
501
|
+
NativeUI.n(b, this.dc);
|
|
497
502
|
}
|
|
498
503
|
}
|
|
499
504
|
cw() {
|
|
500
|
-
let a = this.view.
|
|
505
|
+
let a = this.view.u;
|
|
501
506
|
if (a == null) {
|
|
502
507
|
return;
|
|
503
508
|
}
|
|
@@ -852,10 +857,10 @@ export let XCheckbox = /*@__PURE__*/ (() => {
|
|
|
852
857
|
cp() {
|
|
853
858
|
this.ck();
|
|
854
859
|
if (this.checked) {
|
|
855
|
-
this.view.
|
|
860
|
+
this.view.ak(BrushUtil.q(this.c8, 0.6), BrushUtil.q(this.c8, 0.1));
|
|
856
861
|
}
|
|
857
862
|
else {
|
|
858
|
-
this.view.
|
|
863
|
+
this.view.ak(BrushUtil.q(this.c8, 0.6), BrushUtil.q(this.dc, 0.1));
|
|
859
864
|
}
|
|
860
865
|
}
|
|
861
866
|
get a() {
|
|
@@ -865,12 +870,12 @@ export let XCheckbox = /*@__PURE__*/ (() => {
|
|
|
865
870
|
return a;
|
|
866
871
|
}
|
|
867
872
|
ck() {
|
|
868
|
-
this.view.
|
|
873
|
+
this.view.aa();
|
|
869
874
|
let a = false;
|
|
870
875
|
if (this.o == null) {
|
|
871
876
|
if (!a) {
|
|
872
877
|
a = true;
|
|
873
|
-
this.view.
|
|
878
|
+
this.view.ah();
|
|
874
879
|
}
|
|
875
880
|
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
881
|
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)));
|
|
@@ -910,46 +915,47 @@ export let XCheckbox = /*@__PURE__*/ (() => {
|
|
|
910
915
|
c = -1;
|
|
911
916
|
}
|
|
912
917
|
if (b) {
|
|
913
|
-
this.view.
|
|
918
|
+
this.view.ak(BrushUtil.q(this.c8, 0.6), BrushUtil.q(this.c8, 0.1));
|
|
914
919
|
}
|
|
915
920
|
else {
|
|
916
|
-
this.view.
|
|
921
|
+
this.view.ak(BrushUtil.q(this.c8, 0.6), BrushUtil.q(this.dc, 0.1));
|
|
917
922
|
}
|
|
918
923
|
if (!this.indeterminate) {
|
|
919
|
-
NativeUI.af(this.view.
|
|
924
|
+
NativeUI.af(this.view.u, null);
|
|
920
925
|
}
|
|
921
926
|
if (this.z || this.indeterminate || a) {
|
|
922
|
-
let d = this.view.
|
|
923
|
-
let e = this.view.
|
|
927
|
+
let d = this.view.t;
|
|
928
|
+
let e = this.view.s;
|
|
929
|
+
let f = this.view.u;
|
|
924
930
|
if (this.indeterminate) {
|
|
925
|
-
let
|
|
926
|
-
|
|
931
|
+
let g = new TransformGroup();
|
|
932
|
+
g.j.add(((() => {
|
|
927
933
|
let $ret = new RotateTransform();
|
|
928
934
|
$ret.j = 45;
|
|
929
935
|
return $ret;
|
|
930
936
|
})()));
|
|
931
|
-
|
|
937
|
+
g.j.add(((() => {
|
|
932
938
|
let $ret = new TranslateTransform();
|
|
933
939
|
$ret.j = -this.view.k();
|
|
934
940
|
return $ret;
|
|
935
941
|
})()));
|
|
936
942
|
NativeUI.m(d, this.c8);
|
|
937
|
-
NativeUI.n(
|
|
938
|
-
NativeUI.y(
|
|
939
|
-
NativeUI.ac(
|
|
940
|
-
NativeUI.af(
|
|
943
|
+
NativeUI.n(e, this.c9);
|
|
944
|
+
NativeUI.y(f, 1);
|
|
945
|
+
NativeUI.ac(f, 41);
|
|
946
|
+
NativeUI.af(f, g);
|
|
941
947
|
}
|
|
942
948
|
else if (b) {
|
|
943
949
|
NativeUI.m(d, this.c8);
|
|
944
|
-
NativeUI.n(
|
|
945
|
-
NativeUI.y(
|
|
946
|
-
NativeUI.ac(
|
|
950
|
+
NativeUI.n(e, this.c9);
|
|
951
|
+
NativeUI.y(f, 1);
|
|
952
|
+
NativeUI.ac(f, 0);
|
|
947
953
|
}
|
|
948
954
|
else {
|
|
949
955
|
NativeUI.m(d, this.db);
|
|
950
|
-
NativeUI.n(
|
|
951
|
-
NativeUI.y(
|
|
952
|
-
NativeUI.ac(
|
|
956
|
+
NativeUI.n(e, this.dc);
|
|
957
|
+
NativeUI.y(f, 0);
|
|
958
|
+
NativeUI.ac(f, 24);
|
|
953
959
|
}
|
|
954
960
|
if (this.o.playState == 1) {
|
|
955
961
|
this.o.cancel();
|
|
@@ -961,13 +967,13 @@ export let XCheckbox = /*@__PURE__*/ (() => {
|
|
|
961
967
|
}
|
|
962
968
|
if ((c > 0 && this.o.playbackRate < 0) || (c < 0 && this.o.playbackRate > 0)) {
|
|
963
969
|
this.o.reverse();
|
|
964
|
-
this.o.finished.f((
|
|
970
|
+
this.o.finished.f((h) => {
|
|
965
971
|
if (this.o != null) {
|
|
966
972
|
this.o.commitStyles();
|
|
967
973
|
}
|
|
968
974
|
});
|
|
969
975
|
this.p.reverse();
|
|
970
|
-
this.p.finished.f((
|
|
976
|
+
this.p.finished.f((h) => {
|
|
971
977
|
if (this.p != null) {
|
|
972
978
|
this.p.commitStyles();
|
|
973
979
|
}
|
|
@@ -975,13 +981,13 @@ export let XCheckbox = /*@__PURE__*/ (() => {
|
|
|
975
981
|
}
|
|
976
982
|
else {
|
|
977
983
|
this.o.play();
|
|
978
|
-
this.o.finished.f((
|
|
984
|
+
this.o.finished.f((h) => {
|
|
979
985
|
if (this.o != null) {
|
|
980
986
|
this.o.commitStyles();
|
|
981
987
|
}
|
|
982
988
|
});
|
|
983
989
|
this.p.play();
|
|
984
|
-
this.p.finished.f((
|
|
990
|
+
this.p.finished.f((h) => {
|
|
985
991
|
if (this.p != null) {
|
|
986
992
|
this.p.commitStyles();
|
|
987
993
|
}
|
|
@@ -989,10 +995,10 @@ export let XCheckbox = /*@__PURE__*/ (() => {
|
|
|
989
995
|
}
|
|
990
996
|
}
|
|
991
997
|
onDetachedFromUI() {
|
|
992
|
-
this.view.
|
|
998
|
+
this.view.ae();
|
|
993
999
|
}
|
|
994
1000
|
onAttachedToUI() {
|
|
995
|
-
this.view.
|
|
1001
|
+
this.view.ac();
|
|
996
1002
|
}
|
|
997
1003
|
onContentReady() {
|
|
998
1004
|
if (this.indeterminate) {
|
|
@@ -1032,7 +1038,7 @@ export let XCheckbox = /*@__PURE__*/ (() => {
|
|
|
1032
1038
|
return a;
|
|
1033
1039
|
}
|
|
1034
1040
|
provideContainer(a) {
|
|
1035
|
-
this.view.
|
|
1041
|
+
this.view.ad(a);
|
|
1036
1042
|
}
|
|
1037
1043
|
}
|
|
1038
1044
|
XCheckbox.$t = markType(XCheckbox, 'XCheckbox', Base.$, [INotifyPropertyChanged_$type]);
|
|
@@ -1651,30 +1651,30 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
1651
1651
|
a.a = this.c.bj();
|
|
1652
1652
|
if (this.ad != null) {
|
|
1653
1653
|
let b = this.ad;
|
|
1654
|
-
if (this.h != null && b.
|
|
1654
|
+
if (this.h != null && b.q == null) {
|
|
1655
1655
|
let c = this.h.d;
|
|
1656
1656
|
let d = FontUtil.getFontInfoFromString(c, b.fontString);
|
|
1657
|
-
b.p = d.p;
|
|
1658
|
-
b.e = d.e;
|
|
1659
1657
|
b.q = d.q;
|
|
1660
|
-
b.
|
|
1658
|
+
b.f = d.f;
|
|
1659
|
+
b.r = d.r;
|
|
1661
1660
|
b.t = d.t;
|
|
1662
1661
|
b.u = d.u;
|
|
1662
|
+
b.v = d.v;
|
|
1663
1663
|
}
|
|
1664
|
-
if (b.
|
|
1665
|
-
a.h = b.
|
|
1664
|
+
if (b.q != null) {
|
|
1665
|
+
a.h = b.q;
|
|
1666
1666
|
}
|
|
1667
|
-
if (!isNaN_(b.
|
|
1668
|
-
a.f = b.
|
|
1667
|
+
if (!isNaN_(b.f)) {
|
|
1668
|
+
a.f = b.f;
|
|
1669
1669
|
}
|
|
1670
|
-
if (b.
|
|
1671
|
-
a.l = b.
|
|
1670
|
+
if (b.v != null) {
|
|
1671
|
+
a.l = b.v;
|
|
1672
1672
|
}
|
|
1673
|
-
if (b.
|
|
1674
|
-
a.j = b.
|
|
1673
|
+
if (b.t != null) {
|
|
1674
|
+
a.j = b.t;
|
|
1675
1675
|
}
|
|
1676
|
-
if (b.
|
|
1677
|
-
a.i = b.
|
|
1676
|
+
if (b.r != null) {
|
|
1677
|
+
a.i = b.t;
|
|
1678
1678
|
}
|
|
1679
1679
|
}
|
|
1680
1680
|
return a;
|