igniteui-webcomponents-inputs 4.3.3-beta.1 → 4.3.3-beta.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.
@@ -50,6 +50,7 @@ export let DatePickerView = /*@__PURE__*/ (() => {
50
50
  this.h = null;
51
51
  this.o = null;
52
52
  this.document_Click = this.document_Click.bind(this);
53
+ this.window_Resize = this.window_Resize.bind(this);
53
54
  }
54
55
  am() {
55
56
  }
@@ -63,6 +64,7 @@ export let DatePickerView = /*@__PURE__*/ (() => {
63
64
  let b = this.d.rootWrapper.getChildAt(0);
64
65
  b.unlistenAll();
65
66
  document.removeEventListener("click", this.document_Click, false);
67
+ window.removeEventListener("resize", this.window_Resize, false);
66
68
  }
67
69
  this.d = null;
68
70
  return;
@@ -77,6 +79,7 @@ export let DatePickerView = /*@__PURE__*/ (() => {
77
79
  e.listen("focusin", runOn(this, this.w));
78
80
  e.listen("focusout", runOn(this, this.x));
79
81
  document.addEventListener("click", this.document_Click, false);
82
+ window.addEventListener("resize", this.window_Resize, false);
80
83
  this.o = new MutationObserver(runOn(this, this.al));
81
84
  }
82
85
  ad() {
@@ -303,7 +306,10 @@ export let DatePickerView = /*@__PURE__*/ (() => {
303
306
  this.b.cq();
304
307
  }
305
308
  }
306
- az(a) {
309
+ window_Resize(a) {
310
+ this.b.dm();
311
+ }
312
+ a0(a) {
307
313
  if (this.d != null) {
308
314
  let b = this.d.rootWrapper.getNativeElement();
309
315
  let c = (b.getBoundingClientRect());
@@ -367,7 +373,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
367
373
  this.a7 = dateMinValue();
368
374
  this.a6 = dateMinValue();
369
375
  this.bj = "";
370
- this.ds = BrushUtil.g(255, 24, 29, 31);
376
+ this.dt = BrushUtil.g(255, 24, 29, 31);
371
377
  this.z = null;
372
378
  this.bl = "";
373
379
  this.a4 = dateMinValue();
@@ -375,8 +381,8 @@ export let DatePicker = /*@__PURE__*/ (() => {
375
381
  this.x = 2;
376
382
  this.v = 1;
377
383
  this.aa = null;
378
- this.dt = BrushUtil.g(255, 24, 29, 31);
379
- this.dr = BrushUtil.g(255, 163, 172, 184);
384
+ this.du = BrushUtil.g(255, 24, 29, 31);
385
+ this.ds = BrushUtil.g(255, 163, 172, 184);
380
386
  this.ao = true;
381
387
  this.ap = false;
382
388
  this.ag = true;
@@ -477,13 +483,13 @@ export let DatePicker = /*@__PURE__*/ (() => {
477
483
  this.da("Label", b, this.bj);
478
484
  }
479
485
  }
480
- get dv() {
481
- return this.ds;
486
+ get dw() {
487
+ return this.dt;
482
488
  }
483
- set dv(a) {
484
- let b = this.ds;
485
- this.ds = a;
486
- if (b != this.ds) {
489
+ set dw(a) {
490
+ let b = this.dt;
491
+ this.dt = a;
492
+ if (b != this.dt) {
487
493
  this.da("LabelTextColor", b, a);
488
494
  }
489
495
  }
@@ -557,24 +563,24 @@ export let DatePicker = /*@__PURE__*/ (() => {
557
563
  this.da("TextStyle", b, this.aa);
558
564
  }
559
565
  }
560
- get dw() {
561
- return this.dt;
566
+ get dx() {
567
+ return this.du;
562
568
  }
563
- set dw(a) {
564
- let b = this.dt;
565
- this.dt = a;
566
- if (b != this.dt) {
567
- this.da("TextColor", b, this.dt);
569
+ set dx(a) {
570
+ let b = this.du;
571
+ this.du = a;
572
+ if (b != this.du) {
573
+ this.da("TextColor", b, this.du);
568
574
  }
569
575
  }
570
- get du() {
571
- return this.dr;
576
+ get dv() {
577
+ return this.ds;
572
578
  }
573
- set du(a) {
574
- let b = this.dr;
575
- this.dr = a;
576
- if (b != this.dr) {
577
- this.da("IconColor", b, this.dr);
579
+ set dv(a) {
580
+ let b = this.ds;
581
+ this.ds = a;
582
+ if (b != this.ds) {
583
+ this.da("IconColor", b, this.ds);
578
584
  }
579
585
  }
580
586
  get az() {
@@ -803,7 +809,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
803
809
  }
804
810
  break;
805
811
  case "TextStyle":
806
- this.dm();
812
+ this.dn();
807
813
  break;
808
814
  case "ShowClearButton":
809
815
  if (this.o != null) {
@@ -816,7 +822,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
816
822
  case "LabelTextStyle":
817
823
  case "TextColor":
818
824
  case "IconColor":
819
- this.dn();
825
+ this.dp();
820
826
  break;
821
827
  case "ShowTodayButton":
822
828
  if (this.c != null) {
@@ -966,18 +972,18 @@ export let DatePicker = /*@__PURE__*/ (() => {
966
972
  }
967
973
  }
968
974
  }
969
- dn() {
975
+ dp() {
970
976
  if (this.o != null) {
971
- this.o.d8 = this.dw;
977
+ this.o.d8 = this.dx;
972
978
  }
973
979
  if (this.m != null) {
974
- this.m.fill = this.du;
980
+ this.m.fill = this.dv;
975
981
  }
976
982
  if (this.n != null) {
977
- this.n.fill = this.du;
983
+ this.n.fill = this.dv;
978
984
  }
979
985
  if (this.r != null) {
980
- this.r.df = this.dv;
986
+ this.r.df = this.dw;
981
987
  this.r.y = this.ac;
982
988
  }
983
989
  }
@@ -985,7 +991,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
985
991
  if (this.q != null) {
986
992
  }
987
993
  }
988
- dm() {
994
+ dn() {
989
995
  if (this.aa != null) {
990
996
  this.o.af = this.aa;
991
997
  }
@@ -998,7 +1004,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
998
1004
  this.q.t = this.y;
999
1005
  this.r = new XLabel();
1000
1006
  this.h.as(this.r);
1001
- this.r.df = this.dv;
1007
+ this.r.df = this.dw;
1002
1008
  this.r.y = this.ac;
1003
1009
  this.q.appendContentChild(this.h.v());
1004
1010
  if (this.b3 != null && this.b3 != "") {
@@ -1012,7 +1018,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
1012
1018
  this.o.af = this.aa;
1013
1019
  }
1014
1020
  this.o.disabled = !this.au;
1015
- this.o.d8 = this.dw;
1021
+ this.o.d8 = this.dx;
1016
1022
  this.q.appendContentChild(this.h.u());
1017
1023
  this.q.inputs.add(this.o);
1018
1024
  this.o.cg = this.cb;
@@ -1028,7 +1034,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
1028
1034
  this.m = new XIcon();
1029
1035
  this.h.ap(this.m, this.h.q());
1030
1036
  this.m.svgPath = DatePicker.br;
1031
- this.m.fill = this.du;
1037
+ this.m.fill = this.dv;
1032
1038
  d.appendContentChild(this.h.q());
1033
1039
  this.q.appendContentChild(this.h.r());
1034
1040
  this.q.inputs.add(d);
@@ -1038,7 +1044,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
1038
1044
  this.n = new XIcon();
1039
1045
  this.h.ap(this.n, this.h.s());
1040
1046
  this.n.svgPath = DatePicker.bq;
1041
- this.n.fill = this.du;
1047
+ this.n.fill = this.dv;
1042
1048
  e.appendContentChild(this.h.s());
1043
1049
  this.q.appendContentChild(this.h.t());
1044
1050
  this.q.inputs.add(e);
@@ -1054,7 +1060,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
1054
1060
  case 9:
1055
1061
  this.ar = true;
1056
1062
  if (!this.at) {
1057
- this.dq(this.o.cq);
1063
+ this.dr(this.o.cq);
1058
1064
  }
1059
1065
  this.ah = true;
1060
1066
  this.cq();
@@ -1063,7 +1069,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
1063
1069
  case 13:
1064
1070
  this.ar = true;
1065
1071
  if (!this.at) {
1066
- this.dq(this.o.cq);
1072
+ this.dr(this.o.cq);
1067
1073
  }
1068
1074
  this.ah = true;
1069
1075
  this.cq();
@@ -1093,10 +1099,10 @@ export let DatePicker = /*@__PURE__*/ (() => {
1093
1099
  }
1094
1100
  cy(a, b) {
1095
1101
  this.at = true;
1096
- this.dq(b.value);
1102
+ this.dr(b.value);
1097
1103
  this.at = false;
1098
1104
  }
1099
- dq(a) {
1105
+ dr(a) {
1100
1106
  let b = ['/', '-', ' ', '.', ','];
1101
1107
  let c = stringSplit(a, b, 1);
1102
1108
  let d = 0;
@@ -1218,7 +1224,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
1218
1224
  this.dl();
1219
1225
  }
1220
1226
  else {
1221
- this.dp(ag);
1227
+ this.dq(ag);
1222
1228
  this.h.av();
1223
1229
  }
1224
1230
  }
@@ -1231,7 +1237,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
1231
1237
  }
1232
1238
  }
1233
1239
  }
1234
- dp(a) {
1240
+ dq(a) {
1235
1241
  let b = this.value;
1236
1242
  this.value = a;
1237
1243
  }
@@ -1498,7 +1504,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
1498
1504
  return;
1499
1505
  }
1500
1506
  if (this.u != null) {
1501
- let a = this.h.az(false);
1507
+ let a = this.h.a0(false);
1502
1508
  let b = this.h.a()[1];
1503
1509
  let c = 240;
1504
1510
  if (this.a0 == true) {
@@ -1526,10 +1532,43 @@ export let DatePicker = /*@__PURE__*/ (() => {
1526
1532
  this.u.cn(this.h.d.rootWrapper.getNativeElement(), a, b);
1527
1533
  }
1528
1534
  else {
1529
- let c = this.h.az(true);
1535
+ let c = this.h.a0(true);
1530
1536
  this.u.showRelativeToExclusionRect(c, a, b);
1531
1537
  }
1532
1538
  }
1539
+ dm() {
1540
+ if (this.u.aw) {
1541
+ let a = this.h.a0(false);
1542
+ let b = new Rect(0, a.left + window.pageXOffset, a.top + window.pageYOffset, a.width, a.height);
1543
+ let c = this.h.a()[1];
1544
+ let d = 240;
1545
+ if (this.a0 == true) {
1546
+ d = 270;
1547
+ }
1548
+ let e = a.bottom + d;
1549
+ if (c < e) {
1550
+ let f = a.top - d;
1551
+ if (f < 0) {
1552
+ if (this.u.r != 1) {
1553
+ this.u.r = 1;
1554
+ this.u.b7(b);
1555
+ }
1556
+ }
1557
+ else {
1558
+ if (this.u.r != 2) {
1559
+ this.u.r = 2;
1560
+ this.u.b7(b);
1561
+ }
1562
+ }
1563
+ }
1564
+ else {
1565
+ if (this.u.r != 1) {
1566
+ this.u.r = 1;
1567
+ this.u.b7(b);
1568
+ }
1569
+ }
1570
+ }
1571
+ }
1533
1572
  cq() {
1534
1573
  if (this.u != null) {
1535
1574
  window.setTimeout(() => this.u.b3(), 0);
@@ -229,11 +229,11 @@ export let IgcDatePickerComponent = /*@__PURE__*/ (() => {
229
229
  * Gets or sets the color to use for the text.
230
230
  */
231
231
  get labelTextColor() {
232
- return brushToString(this.i.dv);
232
+ return brushToString(this.i.dw);
233
233
  }
234
234
  set labelTextColor(v) {
235
- this.i.dv = stringToBrush(v);
236
- this._a("labelTextColor", brushToString(this.i.dv));
235
+ this.i.dw = stringToBrush(v);
236
+ this._a("labelTextColor", brushToString(this.i.dw));
237
237
  }
238
238
  /**
239
239
  * Gets or sets the font to use for the combobox.
@@ -316,21 +316,21 @@ export let IgcDatePickerComponent = /*@__PURE__*/ (() => {
316
316
  * Gets or Sets the text color
317
317
  */
318
318
  get textColor() {
319
- return brushToString(this.i.dw);
319
+ return brushToString(this.i.dx);
320
320
  }
321
321
  set textColor(v) {
322
- this.i.dw = stringToBrush(v);
323
- this._a("textColor", brushToString(this.i.dw));
322
+ this.i.dx = stringToBrush(v);
323
+ this._a("textColor", brushToString(this.i.dx));
324
324
  }
325
325
  /**
326
326
  * Gets or Sets the text color
327
327
  */
328
328
  get iconColor() {
329
- return brushToString(this.i.du);
329
+ return brushToString(this.i.dv);
330
330
  }
331
331
  set iconColor(v) {
332
- this.i.du = stringToBrush(v);
333
- this._a("iconColor", brushToString(this.i.du));
332
+ this.i.dv = stringToBrush(v);
333
+ this._a("iconColor", brushToString(this.i.dv));
334
334
  }
335
335
  /**
336
336
  * Gets or sets the ShowClearButton property to detirmine if the clear button is shown
@@ -51,6 +51,7 @@ var DatePickerView = /** @class */ /*@__PURE__*/ (function (_super) {
51
51
  _this.h = null;
52
52
  _this.o = null;
53
53
  _this.document_Click = _this.document_Click.bind(_this);
54
+ _this.window_Resize = _this.window_Resize.bind(_this);
54
55
  return _this;
55
56
  }
56
57
  DatePickerView.prototype.am = function () {
@@ -69,6 +70,7 @@ var DatePickerView = /** @class */ /*@__PURE__*/ (function (_super) {
69
70
  var b = this.d.rootWrapper.getChildAt(0);
70
71
  b.unlistenAll();
71
72
  document.removeEventListener("click", this.document_Click, false);
73
+ window.removeEventListener("resize", this.window_Resize, false);
72
74
  }
73
75
  this.d = null;
74
76
  return;
@@ -83,6 +85,7 @@ var DatePickerView = /** @class */ /*@__PURE__*/ (function (_super) {
83
85
  e.listen("focusin", runOn(this, this.w));
84
86
  e.listen("focusout", runOn(this, this.x));
85
87
  document.addEventListener("click", this.document_Click, false);
88
+ window.addEventListener("resize", this.window_Resize, false);
86
89
  this.o = new MutationObserver(runOn(this, this.al));
87
90
  };
88
91
  DatePickerView.prototype.ad = function () {
@@ -309,7 +312,10 @@ var DatePickerView = /** @class */ /*@__PURE__*/ (function (_super) {
309
312
  this.b.cq();
310
313
  }
311
314
  };
312
- DatePickerView.prototype.az = function (a) {
315
+ DatePickerView.prototype.window_Resize = function (a) {
316
+ this.b.dm();
317
+ };
318
+ DatePickerView.prototype.a0 = function (a) {
313
319
  if (this.d != null) {
314
320
  var b = this.d.rootWrapper.getNativeElement();
315
321
  var c = (b.getBoundingClientRect());
@@ -373,7 +379,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
373
379
  _this.a7 = dateMinValue();
374
380
  _this.a6 = dateMinValue();
375
381
  _this.bj = "";
376
- _this.ds = BrushUtil.g(255, 24, 29, 31);
382
+ _this.dt = BrushUtil.g(255, 24, 29, 31);
377
383
  _this.z = null;
378
384
  _this.bl = "";
379
385
  _this.a4 = dateMinValue();
@@ -381,8 +387,8 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
381
387
  _this.x = 2;
382
388
  _this.v = 1;
383
389
  _this.aa = null;
384
- _this.dt = BrushUtil.g(255, 24, 29, 31);
385
- _this.dr = BrushUtil.g(255, 163, 172, 184);
390
+ _this.du = BrushUtil.g(255, 24, 29, 31);
391
+ _this.ds = BrushUtil.g(255, 163, 172, 184);
386
392
  _this.ao = true;
387
393
  _this.ap = false;
388
394
  _this.ag = true;
@@ -500,14 +506,14 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
500
506
  enumerable: false,
501
507
  configurable: true
502
508
  });
503
- Object.defineProperty(DatePicker.prototype, "dv", {
509
+ Object.defineProperty(DatePicker.prototype, "dw", {
504
510
  get: function () {
505
- return this.ds;
511
+ return this.dt;
506
512
  },
507
513
  set: function (a) {
508
- var b = this.ds;
509
- this.ds = a;
510
- if (b != this.ds) {
514
+ var b = this.dt;
515
+ this.dt = a;
516
+ if (b != this.dt) {
511
517
  this.da("LabelTextColor", b, a);
512
518
  }
513
519
  },
@@ -612,29 +618,29 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
612
618
  enumerable: false,
613
619
  configurable: true
614
620
  });
615
- Object.defineProperty(DatePicker.prototype, "dw", {
621
+ Object.defineProperty(DatePicker.prototype, "dx", {
616
622
  get: function () {
617
- return this.dt;
623
+ return this.du;
618
624
  },
619
625
  set: function (a) {
620
- var b = this.dt;
621
- this.dt = a;
622
- if (b != this.dt) {
623
- this.da("TextColor", b, this.dt);
626
+ var b = this.du;
627
+ this.du = a;
628
+ if (b != this.du) {
629
+ this.da("TextColor", b, this.du);
624
630
  }
625
631
  },
626
632
  enumerable: false,
627
633
  configurable: true
628
634
  });
629
- Object.defineProperty(DatePicker.prototype, "du", {
635
+ Object.defineProperty(DatePicker.prototype, "dv", {
630
636
  get: function () {
631
- return this.dr;
637
+ return this.ds;
632
638
  },
633
639
  set: function (a) {
634
- var b = this.dr;
635
- this.dr = a;
636
- if (b != this.dr) {
637
- this.da("IconColor", b, this.dr);
640
+ var b = this.ds;
641
+ this.ds = a;
642
+ if (b != this.ds) {
643
+ this.da("IconColor", b, this.ds);
638
644
  }
639
645
  },
640
646
  enumerable: false,
@@ -922,7 +928,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
922
928
  }
923
929
  break;
924
930
  case "TextStyle":
925
- this.dm();
931
+ this.dn();
926
932
  break;
927
933
  case "ShowClearButton":
928
934
  if (this.o != null) {
@@ -935,7 +941,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
935
941
  case "LabelTextStyle":
936
942
  case "TextColor":
937
943
  case "IconColor":
938
- this.dn();
944
+ this.dp();
939
945
  break;
940
946
  case "ShowTodayButton":
941
947
  if (this.c != null) {
@@ -1085,18 +1091,18 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
1085
1091
  }
1086
1092
  }
1087
1093
  };
1088
- DatePicker.prototype.dn = function () {
1094
+ DatePicker.prototype.dp = function () {
1089
1095
  if (this.o != null) {
1090
- this.o.d8 = this.dw;
1096
+ this.o.d8 = this.dx;
1091
1097
  }
1092
1098
  if (this.m != null) {
1093
- this.m.fill = this.du;
1099
+ this.m.fill = this.dv;
1094
1100
  }
1095
1101
  if (this.n != null) {
1096
- this.n.fill = this.du;
1102
+ this.n.fill = this.dv;
1097
1103
  }
1098
1104
  if (this.r != null) {
1099
- this.r.df = this.dv;
1105
+ this.r.df = this.dw;
1100
1106
  this.r.y = this.ac;
1101
1107
  }
1102
1108
  };
@@ -1104,7 +1110,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
1104
1110
  if (this.q != null) {
1105
1111
  }
1106
1112
  };
1107
- DatePicker.prototype.dm = function () {
1113
+ DatePicker.prototype.dn = function () {
1108
1114
  if (this.aa != null) {
1109
1115
  this.o.af = this.aa;
1110
1116
  }
@@ -1117,7 +1123,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
1117
1123
  this.q.t = this.y;
1118
1124
  this.r = new XLabel();
1119
1125
  this.h.as(this.r);
1120
- this.r.df = this.dv;
1126
+ this.r.df = this.dw;
1121
1127
  this.r.y = this.ac;
1122
1128
  this.q.appendContentChild(this.h.v());
1123
1129
  if (this.b3 != null && this.b3 != "") {
@@ -1131,7 +1137,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
1131
1137
  this.o.af = this.aa;
1132
1138
  }
1133
1139
  this.o.disabled = !this.au;
1134
- this.o.d8 = this.dw;
1140
+ this.o.d8 = this.dx;
1135
1141
  this.q.appendContentChild(this.h.u());
1136
1142
  this.q.inputs.add(this.o);
1137
1143
  this.o.cg = this.cb;
@@ -1147,7 +1153,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
1147
1153
  this.m = new XIcon();
1148
1154
  this.h.ap(this.m, this.h.q());
1149
1155
  this.m.svgPath = DatePicker.br;
1150
- this.m.fill = this.du;
1156
+ this.m.fill = this.dv;
1151
1157
  d.appendContentChild(this.h.q());
1152
1158
  this.q.appendContentChild(this.h.r());
1153
1159
  this.q.inputs.add(d);
@@ -1157,7 +1163,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
1157
1163
  this.n = new XIcon();
1158
1164
  this.h.ap(this.n, this.h.s());
1159
1165
  this.n.svgPath = DatePicker.bq;
1160
- this.n.fill = this.du;
1166
+ this.n.fill = this.dv;
1161
1167
  e.appendContentChild(this.h.s());
1162
1168
  this.q.appendContentChild(this.h.t());
1163
1169
  this.q.inputs.add(e);
@@ -1173,7 +1179,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
1173
1179
  case 9:
1174
1180
  this.ar = true;
1175
1181
  if (!this.at) {
1176
- this.dq(this.o.cq);
1182
+ this.dr(this.o.cq);
1177
1183
  }
1178
1184
  this.ah = true;
1179
1185
  this.cq();
@@ -1182,7 +1188,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
1182
1188
  case 13:
1183
1189
  this.ar = true;
1184
1190
  if (!this.at) {
1185
- this.dq(this.o.cq);
1191
+ this.dr(this.o.cq);
1186
1192
  }
1187
1193
  this.ah = true;
1188
1194
  this.cq();
@@ -1212,10 +1218,10 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
1212
1218
  };
1213
1219
  DatePicker.prototype.cy = function (a, b) {
1214
1220
  this.at = true;
1215
- this.dq(b.value);
1221
+ this.dr(b.value);
1216
1222
  this.at = false;
1217
1223
  };
1218
- DatePicker.prototype.dq = function (a) {
1224
+ DatePicker.prototype.dr = function (a) {
1219
1225
  var b = ['/', '-', ' ', '.', ','];
1220
1226
  var c = stringSplit(a, b, 1);
1221
1227
  var d = 0;
@@ -1337,7 +1343,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
1337
1343
  this.dl();
1338
1344
  }
1339
1345
  else {
1340
- this.dp(ag);
1346
+ this.dq(ag);
1341
1347
  this.h.av();
1342
1348
  }
1343
1349
  }
@@ -1350,7 +1356,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
1350
1356
  }
1351
1357
  }
1352
1358
  };
1353
- DatePicker.prototype.dp = function (a) {
1359
+ DatePicker.prototype.dq = function (a) {
1354
1360
  var b = this.value;
1355
1361
  this.value = a;
1356
1362
  };
@@ -1617,7 +1623,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
1617
1623
  return;
1618
1624
  }
1619
1625
  if (this.u != null) {
1620
- var a = this.h.az(false);
1626
+ var a = this.h.a0(false);
1621
1627
  var b = this.h.a()[1];
1622
1628
  var c = 240;
1623
1629
  if (this.a0 == true) {
@@ -1645,10 +1651,43 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
1645
1651
  this.u.cn(this.h.d.rootWrapper.getNativeElement(), a, b);
1646
1652
  }
1647
1653
  else {
1648
- var c = this.h.az(true);
1654
+ var c = this.h.a0(true);
1649
1655
  this.u.showRelativeToExclusionRect(c, a, b);
1650
1656
  }
1651
1657
  };
1658
+ DatePicker.prototype.dm = function () {
1659
+ if (this.u.aw) {
1660
+ var a = this.h.a0(false);
1661
+ var b = new Rect(0, a.left + window.pageXOffset, a.top + window.pageYOffset, a.width, a.height);
1662
+ var c = this.h.a()[1];
1663
+ var d = 240;
1664
+ if (this.a0 == true) {
1665
+ d = 270;
1666
+ }
1667
+ var e = a.bottom + d;
1668
+ if (c < e) {
1669
+ var f = a.top - d;
1670
+ if (f < 0) {
1671
+ if (this.u.r != 1) {
1672
+ this.u.r = 1;
1673
+ this.u.b7(b);
1674
+ }
1675
+ }
1676
+ else {
1677
+ if (this.u.r != 2) {
1678
+ this.u.r = 2;
1679
+ this.u.b7(b);
1680
+ }
1681
+ }
1682
+ }
1683
+ else {
1684
+ if (this.u.r != 1) {
1685
+ this.u.r = 1;
1686
+ this.u.b7(b);
1687
+ }
1688
+ }
1689
+ }
1690
+ };
1652
1691
  DatePicker.prototype.cq = function () {
1653
1692
  var _this = this;
1654
1693
  if (this.u != null) {
@@ -260,11 +260,11 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
260
260
  * Gets or sets the color to use for the text.
261
261
  */
262
262
  get: function () {
263
- return brushToString(this.i.dv);
263
+ return brushToString(this.i.dw);
264
264
  },
265
265
  set: function (v) {
266
- this.i.dv = stringToBrush(v);
267
- this._a("labelTextColor", brushToString(this.i.dv));
266
+ this.i.dw = stringToBrush(v);
267
+ this._a("labelTextColor", brushToString(this.i.dw));
268
268
  },
269
269
  enumerable: false,
270
270
  configurable: true
@@ -379,11 +379,11 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
379
379
  * Gets or Sets the text color
380
380
  */
381
381
  get: function () {
382
- return brushToString(this.i.dw);
382
+ return brushToString(this.i.dx);
383
383
  },
384
384
  set: function (v) {
385
- this.i.dw = stringToBrush(v);
386
- this._a("textColor", brushToString(this.i.dw));
385
+ this.i.dx = stringToBrush(v);
386
+ this._a("textColor", brushToString(this.i.dx));
387
387
  },
388
388
  enumerable: false,
389
389
  configurable: true
@@ -393,11 +393,11 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
393
393
  * Gets or Sets the text color
394
394
  */
395
395
  get: function () {
396
- return brushToString(this.i.du);
396
+ return brushToString(this.i.dv);
397
397
  },
398
398
  set: function (v) {
399
- this.i.du = stringToBrush(v);
400
- this._a("iconColor", brushToString(this.i.du));
399
+ this.i.dv = stringToBrush(v);
400
+ this._a("iconColor", brushToString(this.i.dv));
401
401
  },
402
402
  enumerable: false,
403
403
  configurable: true