igniteui-webcomponents-inputs 1.4.2 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-webcomponents-inputs.umd.js +182 -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 +61 -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 +58 -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 +185 -163
- package/fesm5/igniteui-webcomponents-inputs.js +182 -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");
|
|
@@ -217,6 +218,9 @@ export let DatePickerView = /*@__PURE__*/ (() => {
|
|
|
217
218
|
return this.e;
|
|
218
219
|
}
|
|
219
220
|
y(a) {
|
|
221
|
+
if (this.b.aq == true) {
|
|
222
|
+
return;
|
|
223
|
+
}
|
|
220
224
|
this.b.cb();
|
|
221
225
|
if (this.f != null) {
|
|
222
226
|
this.f.hide();
|
|
@@ -313,7 +317,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
313
317
|
this.az = dateMinValue();
|
|
314
318
|
this.ay = dateMinValue();
|
|
315
319
|
this.a9 = "";
|
|
316
|
-
this.
|
|
320
|
+
this.da = BrushUtil.g(255, 24, 29, 31);
|
|
317
321
|
this.z = null;
|
|
318
322
|
this.bb = "";
|
|
319
323
|
this.aw = dateMinValue();
|
|
@@ -321,8 +325,8 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
321
325
|
this.x = 2;
|
|
322
326
|
this.v = 1;
|
|
323
327
|
this.aa = null;
|
|
324
|
-
this.
|
|
325
|
-
this.
|
|
328
|
+
this.db = BrushUtil.g(255, 24, 29, 31);
|
|
329
|
+
this.c9 = BrushUtil.g(255, 163, 172, 184);
|
|
326
330
|
this.ak = true;
|
|
327
331
|
this.al = false;
|
|
328
332
|
this.ag = true;
|
|
@@ -349,7 +353,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
349
353
|
this.ah = true;
|
|
350
354
|
this.cc();
|
|
351
355
|
}
|
|
352
|
-
this.
|
|
356
|
+
this.c4();
|
|
353
357
|
if (this.selectedValueChanged != null) {
|
|
354
358
|
this.selectedValueChanged(this, ((() => {
|
|
355
359
|
let $ret = new SelectedValueChangedEventArgs();
|
|
@@ -375,6 +379,9 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
375
379
|
provideContainer(a) {
|
|
376
380
|
this.h.af(a);
|
|
377
381
|
}
|
|
382
|
+
setName(a) {
|
|
383
|
+
this.o.e = a;
|
|
384
|
+
}
|
|
378
385
|
get af() {
|
|
379
386
|
if (this.ae == null) {
|
|
380
387
|
this.ae = new SRProvider(this.h.d);
|
|
@@ -413,13 +420,13 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
413
420
|
this.cu("Label", b, this.a9);
|
|
414
421
|
}
|
|
415
422
|
}
|
|
416
|
-
get
|
|
417
|
-
return this.
|
|
423
|
+
get dd() {
|
|
424
|
+
return this.da;
|
|
418
425
|
}
|
|
419
|
-
set
|
|
420
|
-
let b = this.
|
|
421
|
-
this.
|
|
422
|
-
if (b != this.
|
|
426
|
+
set dd(a) {
|
|
427
|
+
let b = this.da;
|
|
428
|
+
this.da = a;
|
|
429
|
+
if (b != this.da) {
|
|
423
430
|
this.cu("LabelTextColor", b, a);
|
|
424
431
|
}
|
|
425
432
|
}
|
|
@@ -493,24 +500,24 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
493
500
|
this.cu("TextStyle", b, this.aa);
|
|
494
501
|
}
|
|
495
502
|
}
|
|
496
|
-
get
|
|
497
|
-
return this.
|
|
503
|
+
get de() {
|
|
504
|
+
return this.db;
|
|
498
505
|
}
|
|
499
|
-
set
|
|
500
|
-
let b = this.
|
|
501
|
-
this.
|
|
502
|
-
if (b != this.
|
|
503
|
-
this.cu("TextColor", b, this.
|
|
506
|
+
set de(a) {
|
|
507
|
+
let b = this.db;
|
|
508
|
+
this.db = a;
|
|
509
|
+
if (b != this.db) {
|
|
510
|
+
this.cu("TextColor", b, this.db);
|
|
504
511
|
}
|
|
505
512
|
}
|
|
506
|
-
get
|
|
507
|
-
return this.
|
|
513
|
+
get dc() {
|
|
514
|
+
return this.c9;
|
|
508
515
|
}
|
|
509
|
-
set
|
|
510
|
-
let b = this.
|
|
511
|
-
this.
|
|
512
|
-
if (b != this.
|
|
513
|
-
this.cu("IconColor", b, this.
|
|
516
|
+
set dc(a) {
|
|
517
|
+
let b = this.c9;
|
|
518
|
+
this.c9 = a;
|
|
519
|
+
if (b != this.c9) {
|
|
520
|
+
this.cu("IconColor", b, this.c9);
|
|
514
521
|
}
|
|
515
522
|
}
|
|
516
523
|
get as() {
|
|
@@ -625,7 +632,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
625
632
|
this.c0();
|
|
626
633
|
break;
|
|
627
634
|
case "BaseTheme":
|
|
628
|
-
this.
|
|
635
|
+
this.c2();
|
|
629
636
|
break;
|
|
630
637
|
case "Value":
|
|
631
638
|
if (+(this.value) != +(dateMinValue())) {
|
|
@@ -693,7 +700,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
693
700
|
}
|
|
694
701
|
break;
|
|
695
702
|
case "TextStyle":
|
|
696
|
-
this.
|
|
703
|
+
this.c5();
|
|
697
704
|
break;
|
|
698
705
|
case "ShowClearButton":
|
|
699
706
|
if (this.o != null) {
|
|
@@ -706,7 +713,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
706
713
|
case "LabelTextStyle":
|
|
707
714
|
case "TextColor":
|
|
708
715
|
case "IconColor":
|
|
709
|
-
this.
|
|
716
|
+
this.c6();
|
|
710
717
|
break;
|
|
711
718
|
case "ShowTodayButton":
|
|
712
719
|
if (this.c != null) {
|
|
@@ -721,11 +728,11 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
721
728
|
case "OpenOnFocus": break;
|
|
722
729
|
case "DateFormat":
|
|
723
730
|
this.a.k(this.e);
|
|
724
|
-
this.
|
|
731
|
+
this.c4();
|
|
725
732
|
break;
|
|
726
733
|
case "FormatString":
|
|
727
734
|
this.ca();
|
|
728
|
-
this.
|
|
735
|
+
this.c4();
|
|
729
736
|
break;
|
|
730
737
|
case "FirstDayOfWeek":
|
|
731
738
|
if (this.c != null) {
|
|
@@ -841,26 +848,26 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
841
848
|
}
|
|
842
849
|
}
|
|
843
850
|
}
|
|
844
|
-
|
|
851
|
+
c6() {
|
|
845
852
|
if (this.o != null) {
|
|
846
|
-
this.o.dy = this.
|
|
853
|
+
this.o.dy = this.de;
|
|
847
854
|
}
|
|
848
855
|
if (this.m != null) {
|
|
849
|
-
this.m.fill = this.
|
|
856
|
+
this.m.fill = this.dc;
|
|
850
857
|
}
|
|
851
858
|
if (this.n != null) {
|
|
852
|
-
this.n.fill = this.
|
|
859
|
+
this.n.fill = this.dc;
|
|
853
860
|
}
|
|
854
861
|
if (this.r != null) {
|
|
855
|
-
this.r.df = this.
|
|
862
|
+
this.r.df = this.dd;
|
|
856
863
|
this.r.y = this.ac;
|
|
857
864
|
}
|
|
858
865
|
}
|
|
859
|
-
|
|
866
|
+
c3() {
|
|
860
867
|
if (this.q != null) {
|
|
861
868
|
}
|
|
862
869
|
}
|
|
863
|
-
|
|
870
|
+
c5() {
|
|
864
871
|
if (this.aa != null) {
|
|
865
872
|
this.o.ac = this.aa;
|
|
866
873
|
}
|
|
@@ -873,7 +880,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
873
880
|
this.q.n = this.y;
|
|
874
881
|
this.r = new XLabel();
|
|
875
882
|
this.h.al(this.r);
|
|
876
|
-
this.r.df = this.
|
|
883
|
+
this.r.df = this.dd;
|
|
877
884
|
this.r.y = this.ac;
|
|
878
885
|
this.q.appendContentChild(this.h.u());
|
|
879
886
|
if (this.bs != null && this.bs != "") {
|
|
@@ -887,7 +894,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
887
894
|
this.o.ac = this.aa;
|
|
888
895
|
}
|
|
889
896
|
this.o.disabled = !this.ap;
|
|
890
|
-
this.o.dy = this.
|
|
897
|
+
this.o.dy = this.de;
|
|
891
898
|
this.q.appendContentChild(this.h.t());
|
|
892
899
|
this.q.inputs.add(this.o);
|
|
893
900
|
this.o.cb = this.bz;
|
|
@@ -903,17 +910,17 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
903
910
|
this.m = new XIcon();
|
|
904
911
|
this.h.ai(this.m, this.h.p());
|
|
905
912
|
this.m.svgPath = DatePicker.bh;
|
|
906
|
-
this.m.fill = this.
|
|
913
|
+
this.m.fill = this.dc;
|
|
907
914
|
d.appendContentChild(this.h.p());
|
|
908
915
|
this.q.appendContentChild(this.h.q());
|
|
909
916
|
this.q.inputs.add(d);
|
|
910
|
-
this.
|
|
917
|
+
this.c4();
|
|
911
918
|
let e = new XSuffix();
|
|
912
919
|
this.h.an(e, this.h.s());
|
|
913
920
|
this.n = new XIcon();
|
|
914
921
|
this.h.ai(this.n, this.h.r());
|
|
915
922
|
this.n.svgPath = DatePicker.bg;
|
|
916
|
-
this.n.fill = this.
|
|
923
|
+
this.n.fill = this.dc;
|
|
917
924
|
e.appendContentChild(this.h.r());
|
|
918
925
|
this.q.appendContentChild(this.h.s());
|
|
919
926
|
this.q.inputs.add(e);
|
|
@@ -929,7 +936,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
929
936
|
case 9:
|
|
930
937
|
this.an = true;
|
|
931
938
|
if (!this.ao) {
|
|
932
|
-
this.
|
|
939
|
+
this.c8(this.o.cj);
|
|
933
940
|
}
|
|
934
941
|
this.ah = true;
|
|
935
942
|
this.cc();
|
|
@@ -938,7 +945,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
938
945
|
case 13:
|
|
939
946
|
this.an = true;
|
|
940
947
|
if (!this.ao) {
|
|
941
|
-
this.
|
|
948
|
+
this.c8(this.o.cj);
|
|
942
949
|
}
|
|
943
950
|
this.ah = true;
|
|
944
951
|
this.cc();
|
|
@@ -968,10 +975,10 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
968
975
|
}
|
|
969
976
|
ck(a, b) {
|
|
970
977
|
this.ao = true;
|
|
971
|
-
this.
|
|
978
|
+
this.c8(b.value);
|
|
972
979
|
this.ao = false;
|
|
973
980
|
}
|
|
974
|
-
|
|
981
|
+
c8(a) {
|
|
975
982
|
let b = ['/', '-', ' ', '.', ','];
|
|
976
983
|
let c = stringSplit(a, b, 1);
|
|
977
984
|
let d = 0;
|
|
@@ -1090,10 +1097,10 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
1090
1097
|
let ah = Base.compareSimple(ag, this.a1);
|
|
1091
1098
|
let ai = Base.compareSimple(ag, this.a0);
|
|
1092
1099
|
if (ah < 0 || ai > 0) {
|
|
1093
|
-
this.
|
|
1100
|
+
this.c4();
|
|
1094
1101
|
}
|
|
1095
1102
|
else {
|
|
1096
|
-
this.
|
|
1103
|
+
this.c7(ag);
|
|
1097
1104
|
this.h.ao();
|
|
1098
1105
|
}
|
|
1099
1106
|
}
|
|
@@ -1102,15 +1109,15 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
1102
1109
|
this.cb();
|
|
1103
1110
|
}
|
|
1104
1111
|
else {
|
|
1105
|
-
this.
|
|
1112
|
+
this.c4();
|
|
1106
1113
|
}
|
|
1107
1114
|
}
|
|
1108
1115
|
}
|
|
1109
|
-
|
|
1116
|
+
c7(a) {
|
|
1110
1117
|
let b = this.value;
|
|
1111
1118
|
this.value = a;
|
|
1112
1119
|
}
|
|
1113
|
-
|
|
1120
|
+
c4() {
|
|
1114
1121
|
if (this.o != null) {
|
|
1115
1122
|
if (+(this.az) != +(dateMinValue())) {
|
|
1116
1123
|
let a = "";
|
|
@@ -1300,6 +1307,9 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
1300
1307
|
}
|
|
1301
1308
|
}
|
|
1302
1309
|
cb() {
|
|
1310
|
+
if (this.aq == true) {
|
|
1311
|
+
return;
|
|
1312
|
+
}
|
|
1303
1313
|
if (this.o != null) {
|
|
1304
1314
|
this.o.cj = "";
|
|
1305
1315
|
}
|
|
@@ -1433,7 +1443,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
1433
1443
|
let a = new LostFocusEventArgs();
|
|
1434
1444
|
this.ct(a);
|
|
1435
1445
|
}
|
|
1436
|
-
|
|
1446
|
+
c2() {
|
|
1437
1447
|
}
|
|
1438
1448
|
c0() {
|
|
1439
1449
|
}
|
|
@@ -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
|