igniteui-webcomponents-inputs 1.4.2 → 3.2.2
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 +188 -160
- package/bundles/igniteui-webcomponents-inputs.umd.min.js +1 -1
- package/esm2015/lib/ButtonView_combined.js +1 -1
- package/esm2015/lib/CalendarView_combined.js +2 -2
- package/esm2015/lib/CheckboxView_combined.js +1 -1
- package/esm2015/lib/DatePickerView_combined.js +67 -51
- package/esm2015/lib/InputGroupView_combined.js +32 -26
- package/esm2015/lib/InputGroupVisualModelExport.js +1 -1
- package/esm2015/lib/igc-date-picker-component.js +15 -9
- package/esm2015/lib/igc-x-input-group-component.js +72 -72
- package/esm5/lib/ButtonView_combined.js +1 -1
- package/esm5/lib/CalendarView_combined.js +2 -2
- package/esm5/lib/CheckboxView_combined.js +1 -1
- package/esm5/lib/DatePickerView_combined.js +64 -48
- package/esm5/lib/InputGroupView_combined.js +32 -26
- package/esm5/lib/InputGroupVisualModelExport.js +1 -1
- package/esm5/lib/igc-date-picker-component.js +15 -9
- package/esm5/lib/igc-x-input-group-component.js +72 -72
- package/fesm2015/igniteui-webcomponents-inputs.js +191 -163
- package/fesm5/igniteui-webcomponents-inputs.js +188 -160
- package/lib/DatePickerView_combined.d.ts +13 -12
- package/lib/InputGroupView_combined.d.ts +10 -9
- package/lib/igc-date-picker-component.d.ts +1 -0
- package/package.json +3 -3
|
@@ -114,7 +114,7 @@ export let ButtonView = /*@__PURE__*/ (() => {
|
|
|
114
114
|
this.n.append(d);
|
|
115
115
|
let h = this.k.createElement("div");
|
|
116
116
|
h.addClass("ig-button-content");
|
|
117
|
-
h.setStyleProperty("font-family", "
|
|
117
|
+
h.setStyleProperty("font-family", "Verdana");
|
|
118
118
|
h.setStyleProperty("font-weight", "400");
|
|
119
119
|
h.setStyleProperty("font-size", ".875rem");
|
|
120
120
|
h.setStyleProperty("cursor", "pointer");
|
|
@@ -152,7 +152,7 @@ export let CalendarView = /*@__PURE__*/ (() => {
|
|
|
152
152
|
c.setStyleProperty("border-color", "rgb(163, 172, 184)");
|
|
153
153
|
let d = this.m.createElement("span");
|
|
154
154
|
d.setAttribute("aria-hidden", "true");
|
|
155
|
-
d.setStyleProperty("font", "14px
|
|
155
|
+
d.setStyleProperty("font", "14px Verdana");
|
|
156
156
|
d.setStyleProperty("color", "rgb(24, 29, 31)");
|
|
157
157
|
c.append(d);
|
|
158
158
|
this.i.add(d);
|
|
@@ -242,7 +242,7 @@ export let CalendarView = /*@__PURE__*/ (() => {
|
|
|
242
242
|
l.setStyleProperty("vertical-align", "middle");
|
|
243
243
|
l.setStyleProperty("width", "12%");
|
|
244
244
|
let m = this.m.createElement("span");
|
|
245
|
-
m.setStyleProperty("font", "16px
|
|
245
|
+
m.setStyleProperty("font", "16px Verdana");
|
|
246
246
|
m.setStyleProperty("color", "rgb(24, 29, 31)");
|
|
247
247
|
l.append(m);
|
|
248
248
|
this.e.add(m);
|
|
@@ -155,7 +155,7 @@ export let CheckboxView = /*@__PURE__*/ (() => {
|
|
|
155
155
|
d.append(h);
|
|
156
156
|
let l = this.l.createElement("span");
|
|
157
157
|
l.addClass("ig-checkbox-label");
|
|
158
|
-
l.setStyleProperty("font-family", "
|
|
158
|
+
l.setStyleProperty("font-family", "Verdana");
|
|
159
159
|
l.setStyleProperty("font-weight", "400");
|
|
160
160
|
l.setStyleProperty("font-size", "1rem");
|
|
161
161
|
l.setStyleProperty("letter-spacing", ".00937rem");
|
|
@@ -82,6 +82,7 @@ export let DatePickerView = /*@__PURE__*/ (() => {
|
|
|
82
82
|
this.g = this.d.createElement("div");
|
|
83
83
|
this.g.setAttribute("aria-hidden", "true");
|
|
84
84
|
this.f = this.d.createElement("div");
|
|
85
|
+
this.g.setStyleProperty("padding-right", "2px");
|
|
85
86
|
this.i = this.d.createElement("div");
|
|
86
87
|
this.i.setAttribute("aria-hidden", "true");
|
|
87
88
|
this.h = this.d.createElement("div");
|
|
@@ -197,6 +198,12 @@ export let DatePickerView = /*@__PURE__*/ (() => {
|
|
|
197
198
|
else {
|
|
198
199
|
this.e.parent().parent().setStyleProperty("max-width", "232px");
|
|
199
200
|
}
|
|
201
|
+
if (this.b.at == true) {
|
|
202
|
+
this.e.parent().parent().setStyleProperty("height", "270px");
|
|
203
|
+
}
|
|
204
|
+
else {
|
|
205
|
+
this.e.parent().parent().setStyleProperty("height", "234px");
|
|
206
|
+
}
|
|
200
207
|
}
|
|
201
208
|
}
|
|
202
209
|
am(a) {
|
|
@@ -217,6 +224,9 @@ export let DatePickerView = /*@__PURE__*/ (() => {
|
|
|
217
224
|
return this.e;
|
|
218
225
|
}
|
|
219
226
|
y(a) {
|
|
227
|
+
if (this.b.aq == true) {
|
|
228
|
+
return;
|
|
229
|
+
}
|
|
220
230
|
this.b.cb();
|
|
221
231
|
if (this.f != null) {
|
|
222
232
|
this.f.hide();
|
|
@@ -313,7 +323,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
313
323
|
this.az = dateMinValue();
|
|
314
324
|
this.ay = dateMinValue();
|
|
315
325
|
this.a9 = "";
|
|
316
|
-
this.
|
|
326
|
+
this.da = BrushUtil.g(255, 24, 29, 31);
|
|
317
327
|
this.z = null;
|
|
318
328
|
this.bb = "";
|
|
319
329
|
this.aw = dateMinValue();
|
|
@@ -321,8 +331,8 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
321
331
|
this.x = 2;
|
|
322
332
|
this.v = 1;
|
|
323
333
|
this.aa = null;
|
|
324
|
-
this.
|
|
325
|
-
this.
|
|
334
|
+
this.db = BrushUtil.g(255, 24, 29, 31);
|
|
335
|
+
this.c9 = BrushUtil.g(255, 163, 172, 184);
|
|
326
336
|
this.ak = true;
|
|
327
337
|
this.al = false;
|
|
328
338
|
this.ag = true;
|
|
@@ -349,7 +359,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
349
359
|
this.ah = true;
|
|
350
360
|
this.cc();
|
|
351
361
|
}
|
|
352
|
-
this.
|
|
362
|
+
this.c4();
|
|
353
363
|
if (this.selectedValueChanged != null) {
|
|
354
364
|
this.selectedValueChanged(this, ((() => {
|
|
355
365
|
let $ret = new SelectedValueChangedEventArgs();
|
|
@@ -375,6 +385,9 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
375
385
|
provideContainer(a) {
|
|
376
386
|
this.h.af(a);
|
|
377
387
|
}
|
|
388
|
+
setName(a) {
|
|
389
|
+
this.o.e = a;
|
|
390
|
+
}
|
|
378
391
|
get af() {
|
|
379
392
|
if (this.ae == null) {
|
|
380
393
|
this.ae = new SRProvider(this.h.d);
|
|
@@ -413,13 +426,13 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
413
426
|
this.cu("Label", b, this.a9);
|
|
414
427
|
}
|
|
415
428
|
}
|
|
416
|
-
get
|
|
417
|
-
return this.
|
|
429
|
+
get dd() {
|
|
430
|
+
return this.da;
|
|
418
431
|
}
|
|
419
|
-
set
|
|
420
|
-
let b = this.
|
|
421
|
-
this.
|
|
422
|
-
if (b != this.
|
|
432
|
+
set dd(a) {
|
|
433
|
+
let b = this.da;
|
|
434
|
+
this.da = a;
|
|
435
|
+
if (b != this.da) {
|
|
423
436
|
this.cu("LabelTextColor", b, a);
|
|
424
437
|
}
|
|
425
438
|
}
|
|
@@ -493,24 +506,24 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
493
506
|
this.cu("TextStyle", b, this.aa);
|
|
494
507
|
}
|
|
495
508
|
}
|
|
496
|
-
get
|
|
497
|
-
return this.
|
|
509
|
+
get de() {
|
|
510
|
+
return this.db;
|
|
498
511
|
}
|
|
499
|
-
set
|
|
500
|
-
let b = this.
|
|
501
|
-
this.
|
|
502
|
-
if (b != this.
|
|
503
|
-
this.cu("TextColor", b, this.
|
|
512
|
+
set de(a) {
|
|
513
|
+
let b = this.db;
|
|
514
|
+
this.db = a;
|
|
515
|
+
if (b != this.db) {
|
|
516
|
+
this.cu("TextColor", b, this.db);
|
|
504
517
|
}
|
|
505
518
|
}
|
|
506
|
-
get
|
|
507
|
-
return this.
|
|
519
|
+
get dc() {
|
|
520
|
+
return this.c9;
|
|
508
521
|
}
|
|
509
|
-
set
|
|
510
|
-
let b = this.
|
|
511
|
-
this.
|
|
512
|
-
if (b != this.
|
|
513
|
-
this.cu("IconColor", b, this.
|
|
522
|
+
set dc(a) {
|
|
523
|
+
let b = this.c9;
|
|
524
|
+
this.c9 = a;
|
|
525
|
+
if (b != this.c9) {
|
|
526
|
+
this.cu("IconColor", b, this.c9);
|
|
514
527
|
}
|
|
515
528
|
}
|
|
516
529
|
get as() {
|
|
@@ -625,7 +638,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
625
638
|
this.c0();
|
|
626
639
|
break;
|
|
627
640
|
case "BaseTheme":
|
|
628
|
-
this.
|
|
641
|
+
this.c2();
|
|
629
642
|
break;
|
|
630
643
|
case "Value":
|
|
631
644
|
if (+(this.value) != +(dateMinValue())) {
|
|
@@ -693,7 +706,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
693
706
|
}
|
|
694
707
|
break;
|
|
695
708
|
case "TextStyle":
|
|
696
|
-
this.
|
|
709
|
+
this.c5();
|
|
697
710
|
break;
|
|
698
711
|
case "ShowClearButton":
|
|
699
712
|
if (this.o != null) {
|
|
@@ -706,7 +719,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
706
719
|
case "LabelTextStyle":
|
|
707
720
|
case "TextColor":
|
|
708
721
|
case "IconColor":
|
|
709
|
-
this.
|
|
722
|
+
this.c6();
|
|
710
723
|
break;
|
|
711
724
|
case "ShowTodayButton":
|
|
712
725
|
if (this.c != null) {
|
|
@@ -721,11 +734,11 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
721
734
|
case "OpenOnFocus": break;
|
|
722
735
|
case "DateFormat":
|
|
723
736
|
this.a.k(this.e);
|
|
724
|
-
this.
|
|
737
|
+
this.c4();
|
|
725
738
|
break;
|
|
726
739
|
case "FormatString":
|
|
727
740
|
this.ca();
|
|
728
|
-
this.
|
|
741
|
+
this.c4();
|
|
729
742
|
break;
|
|
730
743
|
case "FirstDayOfWeek":
|
|
731
744
|
if (this.c != null) {
|
|
@@ -841,26 +854,26 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
841
854
|
}
|
|
842
855
|
}
|
|
843
856
|
}
|
|
844
|
-
|
|
857
|
+
c6() {
|
|
845
858
|
if (this.o != null) {
|
|
846
|
-
this.o.dy = this.
|
|
859
|
+
this.o.dy = this.de;
|
|
847
860
|
}
|
|
848
861
|
if (this.m != null) {
|
|
849
|
-
this.m.fill = this.
|
|
862
|
+
this.m.fill = this.dc;
|
|
850
863
|
}
|
|
851
864
|
if (this.n != null) {
|
|
852
|
-
this.n.fill = this.
|
|
865
|
+
this.n.fill = this.dc;
|
|
853
866
|
}
|
|
854
867
|
if (this.r != null) {
|
|
855
|
-
this.r.df = this.
|
|
868
|
+
this.r.df = this.dd;
|
|
856
869
|
this.r.y = this.ac;
|
|
857
870
|
}
|
|
858
871
|
}
|
|
859
|
-
|
|
872
|
+
c3() {
|
|
860
873
|
if (this.q != null) {
|
|
861
874
|
}
|
|
862
875
|
}
|
|
863
|
-
|
|
876
|
+
c5() {
|
|
864
877
|
if (this.aa != null) {
|
|
865
878
|
this.o.ac = this.aa;
|
|
866
879
|
}
|
|
@@ -873,7 +886,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
873
886
|
this.q.n = this.y;
|
|
874
887
|
this.r = new XLabel();
|
|
875
888
|
this.h.al(this.r);
|
|
876
|
-
this.r.df = this.
|
|
889
|
+
this.r.df = this.dd;
|
|
877
890
|
this.r.y = this.ac;
|
|
878
891
|
this.q.appendContentChild(this.h.u());
|
|
879
892
|
if (this.bs != null && this.bs != "") {
|
|
@@ -887,7 +900,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
887
900
|
this.o.ac = this.aa;
|
|
888
901
|
}
|
|
889
902
|
this.o.disabled = !this.ap;
|
|
890
|
-
this.o.dy = this.
|
|
903
|
+
this.o.dy = this.de;
|
|
891
904
|
this.q.appendContentChild(this.h.t());
|
|
892
905
|
this.q.inputs.add(this.o);
|
|
893
906
|
this.o.cb = this.bz;
|
|
@@ -903,17 +916,17 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
903
916
|
this.m = new XIcon();
|
|
904
917
|
this.h.ai(this.m, this.h.p());
|
|
905
918
|
this.m.svgPath = DatePicker.bh;
|
|
906
|
-
this.m.fill = this.
|
|
919
|
+
this.m.fill = this.dc;
|
|
907
920
|
d.appendContentChild(this.h.p());
|
|
908
921
|
this.q.appendContentChild(this.h.q());
|
|
909
922
|
this.q.inputs.add(d);
|
|
910
|
-
this.
|
|
923
|
+
this.c4();
|
|
911
924
|
let e = new XSuffix();
|
|
912
925
|
this.h.an(e, this.h.s());
|
|
913
926
|
this.n = new XIcon();
|
|
914
927
|
this.h.ai(this.n, this.h.r());
|
|
915
928
|
this.n.svgPath = DatePicker.bg;
|
|
916
|
-
this.n.fill = this.
|
|
929
|
+
this.n.fill = this.dc;
|
|
917
930
|
e.appendContentChild(this.h.r());
|
|
918
931
|
this.q.appendContentChild(this.h.s());
|
|
919
932
|
this.q.inputs.add(e);
|
|
@@ -929,7 +942,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
929
942
|
case 9:
|
|
930
943
|
this.an = true;
|
|
931
944
|
if (!this.ao) {
|
|
932
|
-
this.
|
|
945
|
+
this.c8(this.o.cj);
|
|
933
946
|
}
|
|
934
947
|
this.ah = true;
|
|
935
948
|
this.cc();
|
|
@@ -938,7 +951,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
938
951
|
case 13:
|
|
939
952
|
this.an = true;
|
|
940
953
|
if (!this.ao) {
|
|
941
|
-
this.
|
|
954
|
+
this.c8(this.o.cj);
|
|
942
955
|
}
|
|
943
956
|
this.ah = true;
|
|
944
957
|
this.cc();
|
|
@@ -968,10 +981,10 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
968
981
|
}
|
|
969
982
|
ck(a, b) {
|
|
970
983
|
this.ao = true;
|
|
971
|
-
this.
|
|
984
|
+
this.c8(b.value);
|
|
972
985
|
this.ao = false;
|
|
973
986
|
}
|
|
974
|
-
|
|
987
|
+
c8(a) {
|
|
975
988
|
let b = ['/', '-', ' ', '.', ','];
|
|
976
989
|
let c = stringSplit(a, b, 1);
|
|
977
990
|
let d = 0;
|
|
@@ -1090,10 +1103,10 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
1090
1103
|
let ah = Base.compareSimple(ag, this.a1);
|
|
1091
1104
|
let ai = Base.compareSimple(ag, this.a0);
|
|
1092
1105
|
if (ah < 0 || ai > 0) {
|
|
1093
|
-
this.
|
|
1106
|
+
this.c4();
|
|
1094
1107
|
}
|
|
1095
1108
|
else {
|
|
1096
|
-
this.
|
|
1109
|
+
this.c7(ag);
|
|
1097
1110
|
this.h.ao();
|
|
1098
1111
|
}
|
|
1099
1112
|
}
|
|
@@ -1102,15 +1115,15 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
1102
1115
|
this.cb();
|
|
1103
1116
|
}
|
|
1104
1117
|
else {
|
|
1105
|
-
this.
|
|
1118
|
+
this.c4();
|
|
1106
1119
|
}
|
|
1107
1120
|
}
|
|
1108
1121
|
}
|
|
1109
|
-
|
|
1122
|
+
c7(a) {
|
|
1110
1123
|
let b = this.value;
|
|
1111
1124
|
this.value = a;
|
|
1112
1125
|
}
|
|
1113
|
-
|
|
1126
|
+
c4() {
|
|
1114
1127
|
if (this.o != null) {
|
|
1115
1128
|
if (+(this.az) != +(dateMinValue())) {
|
|
1116
1129
|
let a = "";
|
|
@@ -1300,6 +1313,9 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
1300
1313
|
}
|
|
1301
1314
|
}
|
|
1302
1315
|
cb() {
|
|
1316
|
+
if (this.aq == true) {
|
|
1317
|
+
return;
|
|
1318
|
+
}
|
|
1303
1319
|
if (this.o != null) {
|
|
1304
1320
|
this.o.cj = "";
|
|
1305
1321
|
}
|
|
@@ -1433,7 +1449,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
1433
1449
|
let a = new LostFocusEventArgs();
|
|
1434
1450
|
this.ct(a);
|
|
1435
1451
|
}
|
|
1436
|
-
|
|
1452
|
+
c2() {
|
|
1437
1453
|
}
|
|
1438
1454
|
c0() {
|
|
1439
1455
|
}
|
|
@@ -493,7 +493,7 @@ export let LabelView = /*@__PURE__*/ (() => {
|
|
|
493
493
|
NativeUI.o(this.k.rootWrapper, this.c.cz);
|
|
494
494
|
c.setStyleProperty("outline-style", "none");
|
|
495
495
|
c.setStyleProperty("box-shadow", "none");
|
|
496
|
-
c.setStyleProperty("font-family", "
|
|
496
|
+
c.setStyleProperty("font-family", "Verdana");
|
|
497
497
|
c.setStyleProperty("font-size", "1rem");
|
|
498
498
|
this.l = c;
|
|
499
499
|
this.k.append(this.l);
|
|
@@ -666,7 +666,7 @@ export let InputView = /*@__PURE__*/ (() => {
|
|
|
666
666
|
get o() {
|
|
667
667
|
return this.k;
|
|
668
668
|
}
|
|
669
|
-
get
|
|
669
|
+
get a5() {
|
|
670
670
|
return null;
|
|
671
671
|
}
|
|
672
672
|
get g() {
|
|
@@ -706,7 +706,7 @@ export let InputView = /*@__PURE__*/ (() => {
|
|
|
706
706
|
c.setStyleProperty("box-shadow", "none");
|
|
707
707
|
c.setStyleProperty("border-top", "0.1875rem solid transparent");
|
|
708
708
|
c.setStyleProperty("padding-bottom", "0.1875rem");
|
|
709
|
-
c.setStyleProperty("font-family", "
|
|
709
|
+
c.setStyleProperty("font-family", "Verdana");
|
|
710
710
|
c.setStyleProperty("font-size", "1rem");
|
|
711
711
|
this.h.add(c.listen("change", runOn(this, this.v)));
|
|
712
712
|
this.h.add(c.listen("input", runOn(this, this.w)));
|
|
@@ -728,7 +728,7 @@ export let InputView = /*@__PURE__*/ (() => {
|
|
|
728
728
|
this.j.append(this.k);
|
|
729
729
|
this.b.dd();
|
|
730
730
|
}
|
|
731
|
-
|
|
731
|
+
aw(a) {
|
|
732
732
|
if (a) {
|
|
733
733
|
this.k.setAttribute("readonly", a.toString());
|
|
734
734
|
}
|
|
@@ -764,7 +764,7 @@ export let InputView = /*@__PURE__*/ (() => {
|
|
|
764
764
|
aq() {
|
|
765
765
|
this.k.setAttribute("placeholder", this.b.cb);
|
|
766
766
|
}
|
|
767
|
-
|
|
767
|
+
a1() {
|
|
768
768
|
switch (this.b.w) {
|
|
769
769
|
case 1:
|
|
770
770
|
this.k.setStyleProperty("height", "2rem");
|
|
@@ -780,7 +780,7 @@ export let InputView = /*@__PURE__*/ (() => {
|
|
|
780
780
|
break;
|
|
781
781
|
}
|
|
782
782
|
}
|
|
783
|
-
|
|
783
|
+
a0() {
|
|
784
784
|
let a = new TransformGroup();
|
|
785
785
|
a.j.add(((() => {
|
|
786
786
|
let $ret = new TranslateTransform();
|
|
@@ -804,6 +804,9 @@ export let InputView = /*@__PURE__*/ (() => {
|
|
|
804
804
|
at(a) {
|
|
805
805
|
this.k.setProperty("value", a);
|
|
806
806
|
}
|
|
807
|
+
av(a) {
|
|
808
|
+
this.k.setAttribute("name", a);
|
|
809
|
+
}
|
|
807
810
|
u(a) {
|
|
808
811
|
this.b.cr();
|
|
809
812
|
}
|
|
@@ -811,20 +814,20 @@ export let InputView = /*@__PURE__*/ (() => {
|
|
|
811
814
|
this.b.cz();
|
|
812
815
|
}
|
|
813
816
|
af(a) {
|
|
814
|
-
let b = this.
|
|
817
|
+
let b = this.a4(a);
|
|
815
818
|
this.b.c5(b);
|
|
816
819
|
if (b.handled) {
|
|
817
820
|
a.preventDefault();
|
|
818
821
|
}
|
|
819
822
|
}
|
|
820
823
|
ag(a) {
|
|
821
|
-
let b = this.
|
|
824
|
+
let b = this.a4(a);
|
|
822
825
|
this.b.c8(b);
|
|
823
826
|
if (b.handled) {
|
|
824
827
|
a.preventDefault();
|
|
825
828
|
}
|
|
826
829
|
}
|
|
827
|
-
|
|
830
|
+
a4(a) {
|
|
828
831
|
let b = new MouseButtonEventArgs();
|
|
829
832
|
b.position = { $type: Point_$type, x: a.offsetX, y: a.offsetY };
|
|
830
833
|
return b;
|
|
@@ -856,7 +859,7 @@ export let InputView = /*@__PURE__*/ (() => {
|
|
|
856
859
|
aa(a) {
|
|
857
860
|
this.b.cy();
|
|
858
861
|
}
|
|
859
|
-
|
|
862
|
+
a2(a) {
|
|
860
863
|
if (this.p != a) {
|
|
861
864
|
this.p = a;
|
|
862
865
|
if (this.l != null) {
|
|
@@ -877,10 +880,10 @@ export let InputView = /*@__PURE__*/ (() => {
|
|
|
877
880
|
let a = this.k.getProperty("selectionEnd");
|
|
878
881
|
return typeGetValue(a);
|
|
879
882
|
}
|
|
880
|
-
|
|
883
|
+
az(a) {
|
|
881
884
|
this.k.setProperty("selectionStart", a);
|
|
882
885
|
}
|
|
883
|
-
|
|
886
|
+
ax(a) {
|
|
884
887
|
this.k.setProperty("selectionEnd", a);
|
|
885
888
|
}
|
|
886
889
|
ap() {
|
|
@@ -917,7 +920,7 @@ export let InputView = /*@__PURE__*/ (() => {
|
|
|
917
920
|
}
|
|
918
921
|
this.h.clear();
|
|
919
922
|
}
|
|
920
|
-
|
|
923
|
+
a3(a) {
|
|
921
924
|
if (a != null) {
|
|
922
925
|
this.k.setStyleProperty("font", a.fontString);
|
|
923
926
|
}
|
|
@@ -939,7 +942,7 @@ export let InputView = /*@__PURE__*/ (() => {
|
|
|
939
942
|
nativeInput_.getNativeElement().select();
|
|
940
943
|
}
|
|
941
944
|
}
|
|
942
|
-
|
|
945
|
+
ay(a, b) {
|
|
943
946
|
if (this.k != null) {
|
|
944
947
|
let c = this.k.getNativeElement();
|
|
945
948
|
c.setSelectionRange(a, b);
|
|
@@ -1801,7 +1804,7 @@ export let XInputGroup = /*@__PURE__*/ (() => {
|
|
|
1801
1804
|
return new CornerRadius(1, !isNaN_(a.c) ? a.c : b.c, !isNaN_(a.d) ? a.d : b.d, !isNaN_(a.b) ? a.b : b.b, !isNaN_(a.a) ? a.a : b.a);
|
|
1802
1805
|
}
|
|
1803
1806
|
static tj(a, b) {
|
|
1804
|
-
return new Thickness(1, !isNaN_(a.
|
|
1807
|
+
return new Thickness(1, !isNaN_(a.left) ? a.left : b.left, !isNaN_(a.top) ? a.top : b.top, !isNaN_(a.right) ? a.right : b.right, !isNaN_(a.bottom) ? a.bottom : b.bottom);
|
|
1805
1808
|
}
|
|
1806
1809
|
mq() {
|
|
1807
1810
|
this.l4((a) => {
|
|
@@ -2023,7 +2026,7 @@ export let XInputGroup = /*@__PURE__*/ (() => {
|
|
|
2023
2026
|
return a;
|
|
2024
2027
|
}
|
|
2025
2028
|
onChildrenMutated() {
|
|
2026
|
-
this.l3((a) => a.view.
|
|
2029
|
+
this.l3((a) => a.view.a0());
|
|
2027
2030
|
this.l4((a) => a.view.af());
|
|
2028
2031
|
this.l5((a) => a.view.q());
|
|
2029
2032
|
this.l6((a) => a.view.q());
|
|
@@ -3491,7 +3494,7 @@ export let XInputGroup = /*@__PURE__*/ (() => {
|
|
|
3491
3494
|
this.view.ag();
|
|
3492
3495
|
}
|
|
3493
3496
|
ensureShift() {
|
|
3494
|
-
this.l3((a) => a.view.
|
|
3497
|
+
this.l3((a) => a.view.a0());
|
|
3495
3498
|
this.l4((a) => a.view.af());
|
|
3496
3499
|
this.l5((a) => a.view.q());
|
|
3497
3500
|
this.l6((a) => a.view.q());
|
|
@@ -4533,7 +4536,7 @@ export let XInput = /*@__PURE__*/ (() => {
|
|
|
4533
4536
|
this.view = a;
|
|
4534
4537
|
this.view.ao();
|
|
4535
4538
|
XInput.ab = new FontInfo();
|
|
4536
|
-
XInput.ab.n = "
|
|
4539
|
+
XInput.ab.n = "Verdana";
|
|
4537
4540
|
}
|
|
4538
4541
|
get view() {
|
|
4539
4542
|
return this._view;
|
|
@@ -4628,12 +4631,15 @@ export let XInput = /*@__PURE__*/ (() => {
|
|
|
4628
4631
|
}
|
|
4629
4632
|
}
|
|
4630
4633
|
break;
|
|
4634
|
+
case "Name":
|
|
4635
|
+
this.view.av(this.e);
|
|
4636
|
+
break;
|
|
4631
4637
|
case "Density":
|
|
4632
4638
|
this.w = this.x == 0 ? 1 : this.x;
|
|
4633
4639
|
break;
|
|
4634
4640
|
case "ActualDensity":
|
|
4641
|
+
this.view.a1();
|
|
4635
4642
|
this.view.a0();
|
|
4636
|
-
this.view.az();
|
|
4637
4643
|
break;
|
|
4638
4644
|
case "InputGroup":
|
|
4639
4645
|
this.c0();
|
|
@@ -4659,7 +4665,7 @@ export let XInput = /*@__PURE__*/ (() => {
|
|
|
4659
4665
|
this.view.au(this.aj);
|
|
4660
4666
|
break;
|
|
4661
4667
|
case "IsReadOnly":
|
|
4662
|
-
this.view.
|
|
4668
|
+
this.view.aw(this.al);
|
|
4663
4669
|
break;
|
|
4664
4670
|
}
|
|
4665
4671
|
}
|
|
@@ -4670,10 +4676,10 @@ export let XInput = /*@__PURE__*/ (() => {
|
|
|
4670
4676
|
this.view.as();
|
|
4671
4677
|
}
|
|
4672
4678
|
db() {
|
|
4673
|
-
this.view.
|
|
4679
|
+
this.view.a0();
|
|
4674
4680
|
}
|
|
4675
4681
|
c0() {
|
|
4676
|
-
this.view.
|
|
4682
|
+
this.view.a0();
|
|
4677
4683
|
}
|
|
4678
4684
|
dm() {
|
|
4679
4685
|
this.du = this.dy != null ? this.dy : XInput.dw;
|
|
@@ -4682,7 +4688,7 @@ export let XInput = /*@__PURE__*/ (() => {
|
|
|
4682
4688
|
}
|
|
4683
4689
|
dl() {
|
|
4684
4690
|
if (this.aa != null) {
|
|
4685
|
-
this.view.
|
|
4691
|
+
this.view.a3(this.aa);
|
|
4686
4692
|
}
|
|
4687
4693
|
NativeUI.o(this.view.o, this.du);
|
|
4688
4694
|
}
|
|
@@ -5068,7 +5074,7 @@ export let XInput = /*@__PURE__*/ (() => {
|
|
|
5068
5074
|
return a;
|
|
5069
5075
|
}
|
|
5070
5076
|
di(a, b) {
|
|
5071
|
-
this.view.
|
|
5077
|
+
this.view.ay(a, b);
|
|
5072
5078
|
}
|
|
5073
5079
|
provideContainer(a) {
|
|
5074
5080
|
this.view.al(a);
|
|
@@ -5140,13 +5146,13 @@ export let XInput = /*@__PURE__*/ (() => {
|
|
|
5140
5146
|
return this.a7();
|
|
5141
5147
|
}
|
|
5142
5148
|
set selectionStart(a) {
|
|
5143
|
-
this.view.
|
|
5149
|
+
this.view.az(a);
|
|
5144
5150
|
}
|
|
5145
5151
|
get selectionEnd() {
|
|
5146
5152
|
return this.a6();
|
|
5147
5153
|
}
|
|
5148
5154
|
set selectionEnd(a) {
|
|
5149
|
-
this.view.
|
|
5155
|
+
this.view.ax(a);
|
|
5150
5156
|
}
|
|
5151
5157
|
get au() {
|
|
5152
5158
|
return this.am;
|
|
@@ -48,7 +48,7 @@ export let InputGroupVisualModelExport = /*@__PURE__*/ (() => {
|
|
|
48
48
|
a.l("actualBorderColor : " + this.b.serialize() + ", ");
|
|
49
49
|
a.l("actualBorderWidth : " + this.o + ", ");
|
|
50
50
|
a.l("actualFocusBorderWidth : " + this.p + ", ");
|
|
51
|
-
a.l("actualContentPadding : { left: " + this.aa.
|
|
51
|
+
a.l("actualContentPadding : { left: " + this.aa.left + ",top: " + this.aa.top + ",right: " + this.aa.right + ",bottom: " + this.aa.bottom + "},");
|
|
52
52
|
a.l("actualUnderlineWidth : " + this.x + ", ");
|
|
53
53
|
a.l("actualUnderlineRippleWidth : " + this.w + ", ");
|
|
54
54
|
a.l("actualBackgroundColor : " + this.a.serialize() + ", ");
|
|
@@ -114,6 +114,12 @@ export let IgcDatePickerComponent = /*@__PURE__*/ (() => {
|
|
|
114
114
|
afterContentInit() {
|
|
115
115
|
this.i.notifySizeChanged();
|
|
116
116
|
}
|
|
117
|
+
attributeSynced(name, value) {
|
|
118
|
+
// an attribute was set by the component renderer.
|
|
119
|
+
if (name === 'name') {
|
|
120
|
+
this.i.setName(value);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
117
123
|
/**
|
|
118
124
|
* @hidden
|
|
119
125
|
*/
|
|
@@ -220,11 +226,11 @@ export let IgcDatePickerComponent = /*@__PURE__*/ (() => {
|
|
|
220
226
|
* Gets or sets the color to use for the text.
|
|
221
227
|
*/
|
|
222
228
|
get labelTextColor() {
|
|
223
|
-
return brushToString(this.i.
|
|
229
|
+
return brushToString(this.i.dd);
|
|
224
230
|
}
|
|
225
231
|
set labelTextColor(v) {
|
|
226
|
-
this.i.
|
|
227
|
-
this._a("labelTextColor", brushToString(this.i.
|
|
232
|
+
this.i.dd = stringToBrush(v);
|
|
233
|
+
this._a("labelTextColor", brushToString(this.i.dd));
|
|
228
234
|
}
|
|
229
235
|
/**
|
|
230
236
|
* Gets or sets the font to use for the combobox.
|
|
@@ -307,21 +313,21 @@ export let IgcDatePickerComponent = /*@__PURE__*/ (() => {
|
|
|
307
313
|
* Gets or Sets the text color
|
|
308
314
|
*/
|
|
309
315
|
get textColor() {
|
|
310
|
-
return brushToString(this.i.
|
|
316
|
+
return brushToString(this.i.de);
|
|
311
317
|
}
|
|
312
318
|
set textColor(v) {
|
|
313
|
-
this.i.
|
|
314
|
-
this._a("textColor", brushToString(this.i.
|
|
319
|
+
this.i.de = stringToBrush(v);
|
|
320
|
+
this._a("textColor", brushToString(this.i.de));
|
|
315
321
|
}
|
|
316
322
|
/**
|
|
317
323
|
* Gets or Sets the text color
|
|
318
324
|
*/
|
|
319
325
|
get iconColor() {
|
|
320
|
-
return brushToString(this.i.
|
|
326
|
+
return brushToString(this.i.dc);
|
|
321
327
|
}
|
|
322
328
|
set iconColor(v) {
|
|
323
|
-
this.i.
|
|
324
|
-
this._a("iconColor", brushToString(this.i.
|
|
329
|
+
this.i.dc = stringToBrush(v);
|
|
330
|
+
this._a("iconColor", brushToString(this.i.dc));
|
|
325
331
|
}
|
|
326
332
|
/**
|
|
327
333
|
* Gets or sets the ShowClearButton property to detirmine if the clear button is shown
|