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.
- package/bundles/igniteui-webcomponents-inputs.umd.js +89 -50
- package/bundles/igniteui-webcomponents-inputs.umd.min.js +1 -1
- package/esm2015/lib/DatePickerView_combined.js +83 -44
- package/esm2015/lib/igc-date-picker-component.js +9 -9
- package/esm5/lib/DatePickerView_combined.js +80 -41
- package/esm5/lib/igc-date-picker-component.js +9 -9
- package/fesm2015/igniteui-webcomponents-inputs.js +92 -53
- package/fesm5/igniteui-webcomponents-inputs.js +89 -50
- package/lib/DatePickerView_combined.d.ts +16 -14
- package/package.json +2 -2
|
@@ -21684,6 +21684,7 @@ let DatePickerView = /*@__PURE__*/ (() => {
|
|
|
21684
21684
|
this.h = null;
|
|
21685
21685
|
this.o = null;
|
|
21686
21686
|
this.document_Click = this.document_Click.bind(this);
|
|
21687
|
+
this.window_Resize = this.window_Resize.bind(this);
|
|
21687
21688
|
}
|
|
21688
21689
|
am() {
|
|
21689
21690
|
}
|
|
@@ -21697,6 +21698,7 @@ let DatePickerView = /*@__PURE__*/ (() => {
|
|
|
21697
21698
|
let b = this.d.rootWrapper.getChildAt(0);
|
|
21698
21699
|
b.unlistenAll();
|
|
21699
21700
|
document.removeEventListener("click", this.document_Click, false);
|
|
21701
|
+
window.removeEventListener("resize", this.window_Resize, false);
|
|
21700
21702
|
}
|
|
21701
21703
|
this.d = null;
|
|
21702
21704
|
return;
|
|
@@ -21711,6 +21713,7 @@ let DatePickerView = /*@__PURE__*/ (() => {
|
|
|
21711
21713
|
e.listen("focusin", runOn(this, this.w));
|
|
21712
21714
|
e.listen("focusout", runOn(this, this.x));
|
|
21713
21715
|
document.addEventListener("click", this.document_Click, false);
|
|
21716
|
+
window.addEventListener("resize", this.window_Resize, false);
|
|
21714
21717
|
this.o = new MutationObserver(runOn(this, this.al));
|
|
21715
21718
|
}
|
|
21716
21719
|
ad() {
|
|
@@ -21937,7 +21940,10 @@ let DatePickerView = /*@__PURE__*/ (() => {
|
|
|
21937
21940
|
this.b.cq();
|
|
21938
21941
|
}
|
|
21939
21942
|
}
|
|
21940
|
-
|
|
21943
|
+
window_Resize(a) {
|
|
21944
|
+
this.b.dm();
|
|
21945
|
+
}
|
|
21946
|
+
a0(a) {
|
|
21941
21947
|
if (this.d != null) {
|
|
21942
21948
|
let b = this.d.rootWrapper.getNativeElement();
|
|
21943
21949
|
let c = (b.getBoundingClientRect());
|
|
@@ -22001,7 +22007,7 @@ let DatePicker = /*@__PURE__*/ (() => {
|
|
|
22001
22007
|
this.a7 = dateMinValue();
|
|
22002
22008
|
this.a6 = dateMinValue();
|
|
22003
22009
|
this.bj = "";
|
|
22004
|
-
this.
|
|
22010
|
+
this.dt = BrushUtil.g(255, 24, 29, 31);
|
|
22005
22011
|
this.z = null;
|
|
22006
22012
|
this.bl = "";
|
|
22007
22013
|
this.a4 = dateMinValue();
|
|
@@ -22009,8 +22015,8 @@ let DatePicker = /*@__PURE__*/ (() => {
|
|
|
22009
22015
|
this.x = 2;
|
|
22010
22016
|
this.v = 1;
|
|
22011
22017
|
this.aa = null;
|
|
22012
|
-
this.
|
|
22013
|
-
this.
|
|
22018
|
+
this.du = BrushUtil.g(255, 24, 29, 31);
|
|
22019
|
+
this.ds = BrushUtil.g(255, 163, 172, 184);
|
|
22014
22020
|
this.ao = true;
|
|
22015
22021
|
this.ap = false;
|
|
22016
22022
|
this.ag = true;
|
|
@@ -22111,13 +22117,13 @@ let DatePicker = /*@__PURE__*/ (() => {
|
|
|
22111
22117
|
this.da("Label", b, this.bj);
|
|
22112
22118
|
}
|
|
22113
22119
|
}
|
|
22114
|
-
get
|
|
22115
|
-
return this.
|
|
22120
|
+
get dw() {
|
|
22121
|
+
return this.dt;
|
|
22116
22122
|
}
|
|
22117
|
-
set
|
|
22118
|
-
let b = this.
|
|
22119
|
-
this.
|
|
22120
|
-
if (b != this.
|
|
22123
|
+
set dw(a) {
|
|
22124
|
+
let b = this.dt;
|
|
22125
|
+
this.dt = a;
|
|
22126
|
+
if (b != this.dt) {
|
|
22121
22127
|
this.da("LabelTextColor", b, a);
|
|
22122
22128
|
}
|
|
22123
22129
|
}
|
|
@@ -22191,24 +22197,24 @@ let DatePicker = /*@__PURE__*/ (() => {
|
|
|
22191
22197
|
this.da("TextStyle", b, this.aa);
|
|
22192
22198
|
}
|
|
22193
22199
|
}
|
|
22194
|
-
get
|
|
22195
|
-
return this.
|
|
22200
|
+
get dx() {
|
|
22201
|
+
return this.du;
|
|
22196
22202
|
}
|
|
22197
|
-
set
|
|
22198
|
-
let b = this.
|
|
22199
|
-
this.
|
|
22200
|
-
if (b != this.
|
|
22201
|
-
this.da("TextColor", b, this.
|
|
22203
|
+
set dx(a) {
|
|
22204
|
+
let b = this.du;
|
|
22205
|
+
this.du = a;
|
|
22206
|
+
if (b != this.du) {
|
|
22207
|
+
this.da("TextColor", b, this.du);
|
|
22202
22208
|
}
|
|
22203
22209
|
}
|
|
22204
|
-
get
|
|
22205
|
-
return this.
|
|
22210
|
+
get dv() {
|
|
22211
|
+
return this.ds;
|
|
22206
22212
|
}
|
|
22207
|
-
set
|
|
22208
|
-
let b = this.
|
|
22209
|
-
this.
|
|
22210
|
-
if (b != this.
|
|
22211
|
-
this.da("IconColor", b, this.
|
|
22213
|
+
set dv(a) {
|
|
22214
|
+
let b = this.ds;
|
|
22215
|
+
this.ds = a;
|
|
22216
|
+
if (b != this.ds) {
|
|
22217
|
+
this.da("IconColor", b, this.ds);
|
|
22212
22218
|
}
|
|
22213
22219
|
}
|
|
22214
22220
|
get az() {
|
|
@@ -22437,7 +22443,7 @@ let DatePicker = /*@__PURE__*/ (() => {
|
|
|
22437
22443
|
}
|
|
22438
22444
|
break;
|
|
22439
22445
|
case "TextStyle":
|
|
22440
|
-
this.
|
|
22446
|
+
this.dn();
|
|
22441
22447
|
break;
|
|
22442
22448
|
case "ShowClearButton":
|
|
22443
22449
|
if (this.o != null) {
|
|
@@ -22450,7 +22456,7 @@ let DatePicker = /*@__PURE__*/ (() => {
|
|
|
22450
22456
|
case "LabelTextStyle":
|
|
22451
22457
|
case "TextColor":
|
|
22452
22458
|
case "IconColor":
|
|
22453
|
-
this.
|
|
22459
|
+
this.dp();
|
|
22454
22460
|
break;
|
|
22455
22461
|
case "ShowTodayButton":
|
|
22456
22462
|
if (this.c != null) {
|
|
@@ -22600,18 +22606,18 @@ let DatePicker = /*@__PURE__*/ (() => {
|
|
|
22600
22606
|
}
|
|
22601
22607
|
}
|
|
22602
22608
|
}
|
|
22603
|
-
|
|
22609
|
+
dp() {
|
|
22604
22610
|
if (this.o != null) {
|
|
22605
|
-
this.o.d8 = this.
|
|
22611
|
+
this.o.d8 = this.dx;
|
|
22606
22612
|
}
|
|
22607
22613
|
if (this.m != null) {
|
|
22608
|
-
this.m.fill = this.
|
|
22614
|
+
this.m.fill = this.dv;
|
|
22609
22615
|
}
|
|
22610
22616
|
if (this.n != null) {
|
|
22611
|
-
this.n.fill = this.
|
|
22617
|
+
this.n.fill = this.dv;
|
|
22612
22618
|
}
|
|
22613
22619
|
if (this.r != null) {
|
|
22614
|
-
this.r.df = this.
|
|
22620
|
+
this.r.df = this.dw;
|
|
22615
22621
|
this.r.y = this.ac;
|
|
22616
22622
|
}
|
|
22617
22623
|
}
|
|
@@ -22619,7 +22625,7 @@ let DatePicker = /*@__PURE__*/ (() => {
|
|
|
22619
22625
|
if (this.q != null) {
|
|
22620
22626
|
}
|
|
22621
22627
|
}
|
|
22622
|
-
|
|
22628
|
+
dn() {
|
|
22623
22629
|
if (this.aa != null) {
|
|
22624
22630
|
this.o.af = this.aa;
|
|
22625
22631
|
}
|
|
@@ -22632,7 +22638,7 @@ let DatePicker = /*@__PURE__*/ (() => {
|
|
|
22632
22638
|
this.q.t = this.y;
|
|
22633
22639
|
this.r = new XLabel();
|
|
22634
22640
|
this.h.as(this.r);
|
|
22635
|
-
this.r.df = this.
|
|
22641
|
+
this.r.df = this.dw;
|
|
22636
22642
|
this.r.y = this.ac;
|
|
22637
22643
|
this.q.appendContentChild(this.h.v());
|
|
22638
22644
|
if (this.b3 != null && this.b3 != "") {
|
|
@@ -22646,7 +22652,7 @@ let DatePicker = /*@__PURE__*/ (() => {
|
|
|
22646
22652
|
this.o.af = this.aa;
|
|
22647
22653
|
}
|
|
22648
22654
|
this.o.disabled = !this.au;
|
|
22649
|
-
this.o.d8 = this.
|
|
22655
|
+
this.o.d8 = this.dx;
|
|
22650
22656
|
this.q.appendContentChild(this.h.u());
|
|
22651
22657
|
this.q.inputs.add(this.o);
|
|
22652
22658
|
this.o.cg = this.cb;
|
|
@@ -22662,7 +22668,7 @@ let DatePicker = /*@__PURE__*/ (() => {
|
|
|
22662
22668
|
this.m = new XIcon();
|
|
22663
22669
|
this.h.ap(this.m, this.h.q());
|
|
22664
22670
|
this.m.svgPath = DatePicker.br;
|
|
22665
|
-
this.m.fill = this.
|
|
22671
|
+
this.m.fill = this.dv;
|
|
22666
22672
|
d.appendContentChild(this.h.q());
|
|
22667
22673
|
this.q.appendContentChild(this.h.r());
|
|
22668
22674
|
this.q.inputs.add(d);
|
|
@@ -22672,7 +22678,7 @@ let DatePicker = /*@__PURE__*/ (() => {
|
|
|
22672
22678
|
this.n = new XIcon();
|
|
22673
22679
|
this.h.ap(this.n, this.h.s());
|
|
22674
22680
|
this.n.svgPath = DatePicker.bq;
|
|
22675
|
-
this.n.fill = this.
|
|
22681
|
+
this.n.fill = this.dv;
|
|
22676
22682
|
e.appendContentChild(this.h.s());
|
|
22677
22683
|
this.q.appendContentChild(this.h.t());
|
|
22678
22684
|
this.q.inputs.add(e);
|
|
@@ -22688,7 +22694,7 @@ let DatePicker = /*@__PURE__*/ (() => {
|
|
|
22688
22694
|
case 9:
|
|
22689
22695
|
this.ar = true;
|
|
22690
22696
|
if (!this.at) {
|
|
22691
|
-
this.
|
|
22697
|
+
this.dr(this.o.cq);
|
|
22692
22698
|
}
|
|
22693
22699
|
this.ah = true;
|
|
22694
22700
|
this.cq();
|
|
@@ -22697,7 +22703,7 @@ let DatePicker = /*@__PURE__*/ (() => {
|
|
|
22697
22703
|
case 13:
|
|
22698
22704
|
this.ar = true;
|
|
22699
22705
|
if (!this.at) {
|
|
22700
|
-
this.
|
|
22706
|
+
this.dr(this.o.cq);
|
|
22701
22707
|
}
|
|
22702
22708
|
this.ah = true;
|
|
22703
22709
|
this.cq();
|
|
@@ -22727,10 +22733,10 @@ let DatePicker = /*@__PURE__*/ (() => {
|
|
|
22727
22733
|
}
|
|
22728
22734
|
cy(a, b) {
|
|
22729
22735
|
this.at = true;
|
|
22730
|
-
this.
|
|
22736
|
+
this.dr(b.value);
|
|
22731
22737
|
this.at = false;
|
|
22732
22738
|
}
|
|
22733
|
-
|
|
22739
|
+
dr(a) {
|
|
22734
22740
|
let b = ['/', '-', ' ', '.', ','];
|
|
22735
22741
|
let c = stringSplit(a, b, 1);
|
|
22736
22742
|
let d = 0;
|
|
@@ -22852,7 +22858,7 @@ let DatePicker = /*@__PURE__*/ (() => {
|
|
|
22852
22858
|
this.dl();
|
|
22853
22859
|
}
|
|
22854
22860
|
else {
|
|
22855
|
-
this.
|
|
22861
|
+
this.dq(ag);
|
|
22856
22862
|
this.h.av();
|
|
22857
22863
|
}
|
|
22858
22864
|
}
|
|
@@ -22865,7 +22871,7 @@ let DatePicker = /*@__PURE__*/ (() => {
|
|
|
22865
22871
|
}
|
|
22866
22872
|
}
|
|
22867
22873
|
}
|
|
22868
|
-
|
|
22874
|
+
dq(a) {
|
|
22869
22875
|
let b = this.value;
|
|
22870
22876
|
this.value = a;
|
|
22871
22877
|
}
|
|
@@ -23132,7 +23138,7 @@ let DatePicker = /*@__PURE__*/ (() => {
|
|
|
23132
23138
|
return;
|
|
23133
23139
|
}
|
|
23134
23140
|
if (this.u != null) {
|
|
23135
|
-
let a = this.h.
|
|
23141
|
+
let a = this.h.a0(false);
|
|
23136
23142
|
let b = this.h.a()[1];
|
|
23137
23143
|
let c = 240;
|
|
23138
23144
|
if (this.a0 == true) {
|
|
@@ -23160,10 +23166,43 @@ let DatePicker = /*@__PURE__*/ (() => {
|
|
|
23160
23166
|
this.u.cn(this.h.d.rootWrapper.getNativeElement(), a, b);
|
|
23161
23167
|
}
|
|
23162
23168
|
else {
|
|
23163
|
-
let c = this.h.
|
|
23169
|
+
let c = this.h.a0(true);
|
|
23164
23170
|
this.u.showRelativeToExclusionRect(c, a, b);
|
|
23165
23171
|
}
|
|
23166
23172
|
}
|
|
23173
|
+
dm() {
|
|
23174
|
+
if (this.u.aw) {
|
|
23175
|
+
let a = this.h.a0(false);
|
|
23176
|
+
let b = new Rect(0, a.left + window.pageXOffset, a.top + window.pageYOffset, a.width, a.height);
|
|
23177
|
+
let c = this.h.a()[1];
|
|
23178
|
+
let d = 240;
|
|
23179
|
+
if (this.a0 == true) {
|
|
23180
|
+
d = 270;
|
|
23181
|
+
}
|
|
23182
|
+
let e = a.bottom + d;
|
|
23183
|
+
if (c < e) {
|
|
23184
|
+
let f = a.top - d;
|
|
23185
|
+
if (f < 0) {
|
|
23186
|
+
if (this.u.r != 1) {
|
|
23187
|
+
this.u.r = 1;
|
|
23188
|
+
this.u.b7(b);
|
|
23189
|
+
}
|
|
23190
|
+
}
|
|
23191
|
+
else {
|
|
23192
|
+
if (this.u.r != 2) {
|
|
23193
|
+
this.u.r = 2;
|
|
23194
|
+
this.u.b7(b);
|
|
23195
|
+
}
|
|
23196
|
+
}
|
|
23197
|
+
}
|
|
23198
|
+
else {
|
|
23199
|
+
if (this.u.r != 1) {
|
|
23200
|
+
this.u.r = 1;
|
|
23201
|
+
this.u.b7(b);
|
|
23202
|
+
}
|
|
23203
|
+
}
|
|
23204
|
+
}
|
|
23205
|
+
}
|
|
23167
23206
|
cq() {
|
|
23168
23207
|
if (this.u != null) {
|
|
23169
23208
|
window.setTimeout(() => this.u.b3(), 0);
|
|
@@ -23577,11 +23616,11 @@ let IgcDatePickerComponent = /*@__PURE__*/ (() => {
|
|
|
23577
23616
|
* Gets or sets the color to use for the text.
|
|
23578
23617
|
*/
|
|
23579
23618
|
get labelTextColor() {
|
|
23580
|
-
return brushToString(this.i.
|
|
23619
|
+
return brushToString(this.i.dw);
|
|
23581
23620
|
}
|
|
23582
23621
|
set labelTextColor(v) {
|
|
23583
|
-
this.i.
|
|
23584
|
-
this._a("labelTextColor", brushToString(this.i.
|
|
23622
|
+
this.i.dw = stringToBrush(v);
|
|
23623
|
+
this._a("labelTextColor", brushToString(this.i.dw));
|
|
23585
23624
|
}
|
|
23586
23625
|
/**
|
|
23587
23626
|
* Gets or sets the font to use for the combobox.
|
|
@@ -23664,21 +23703,21 @@ let IgcDatePickerComponent = /*@__PURE__*/ (() => {
|
|
|
23664
23703
|
* Gets or Sets the text color
|
|
23665
23704
|
*/
|
|
23666
23705
|
get textColor() {
|
|
23667
|
-
return brushToString(this.i.
|
|
23706
|
+
return brushToString(this.i.dx);
|
|
23668
23707
|
}
|
|
23669
23708
|
set textColor(v) {
|
|
23670
|
-
this.i.
|
|
23671
|
-
this._a("textColor", brushToString(this.i.
|
|
23709
|
+
this.i.dx = stringToBrush(v);
|
|
23710
|
+
this._a("textColor", brushToString(this.i.dx));
|
|
23672
23711
|
}
|
|
23673
23712
|
/**
|
|
23674
23713
|
* Gets or Sets the text color
|
|
23675
23714
|
*/
|
|
23676
23715
|
get iconColor() {
|
|
23677
|
-
return brushToString(this.i.
|
|
23716
|
+
return brushToString(this.i.dv);
|
|
23678
23717
|
}
|
|
23679
23718
|
set iconColor(v) {
|
|
23680
|
-
this.i.
|
|
23681
|
-
this._a("iconColor", brushToString(this.i.
|
|
23719
|
+
this.i.dv = stringToBrush(v);
|
|
23720
|
+
this._a("iconColor", brushToString(this.i.dv));
|
|
23682
23721
|
}
|
|
23683
23722
|
/**
|
|
23684
23723
|
* Gets or sets the ShowClearButton property to detirmine if the clear button is shown
|
|
@@ -26151,6 +26151,7 @@ var DatePickerView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
26151
26151
|
_this.h = null;
|
|
26152
26152
|
_this.o = null;
|
|
26153
26153
|
_this.document_Click = _this.document_Click.bind(_this);
|
|
26154
|
+
_this.window_Resize = _this.window_Resize.bind(_this);
|
|
26154
26155
|
return _this;
|
|
26155
26156
|
}
|
|
26156
26157
|
DatePickerView.prototype.am = function () {
|
|
@@ -26169,6 +26170,7 @@ var DatePickerView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
26169
26170
|
var b = this.d.rootWrapper.getChildAt(0);
|
|
26170
26171
|
b.unlistenAll();
|
|
26171
26172
|
document.removeEventListener("click", this.document_Click, false);
|
|
26173
|
+
window.removeEventListener("resize", this.window_Resize, false);
|
|
26172
26174
|
}
|
|
26173
26175
|
this.d = null;
|
|
26174
26176
|
return;
|
|
@@ -26183,6 +26185,7 @@ var DatePickerView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
26183
26185
|
e.listen("focusin", runOn(this, this.w));
|
|
26184
26186
|
e.listen("focusout", runOn(this, this.x));
|
|
26185
26187
|
document.addEventListener("click", this.document_Click, false);
|
|
26188
|
+
window.addEventListener("resize", this.window_Resize, false);
|
|
26186
26189
|
this.o = new MutationObserver(runOn(this, this.al));
|
|
26187
26190
|
};
|
|
26188
26191
|
DatePickerView.prototype.ad = function () {
|
|
@@ -26409,7 +26412,10 @@ var DatePickerView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
26409
26412
|
this.b.cq();
|
|
26410
26413
|
}
|
|
26411
26414
|
};
|
|
26412
|
-
DatePickerView.prototype.
|
|
26415
|
+
DatePickerView.prototype.window_Resize = function (a) {
|
|
26416
|
+
this.b.dm();
|
|
26417
|
+
};
|
|
26418
|
+
DatePickerView.prototype.a0 = function (a) {
|
|
26413
26419
|
if (this.d != null) {
|
|
26414
26420
|
var b = this.d.rootWrapper.getNativeElement();
|
|
26415
26421
|
var c = (b.getBoundingClientRect());
|
|
@@ -26472,7 +26478,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
26472
26478
|
_this.a7 = dateMinValue();
|
|
26473
26479
|
_this.a6 = dateMinValue();
|
|
26474
26480
|
_this.bj = "";
|
|
26475
|
-
_this.
|
|
26481
|
+
_this.dt = BrushUtil.g(255, 24, 29, 31);
|
|
26476
26482
|
_this.z = null;
|
|
26477
26483
|
_this.bl = "";
|
|
26478
26484
|
_this.a4 = dateMinValue();
|
|
@@ -26480,8 +26486,8 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
26480
26486
|
_this.x = 2;
|
|
26481
26487
|
_this.v = 1;
|
|
26482
26488
|
_this.aa = null;
|
|
26483
|
-
_this.
|
|
26484
|
-
_this.
|
|
26489
|
+
_this.du = BrushUtil.g(255, 24, 29, 31);
|
|
26490
|
+
_this.ds = BrushUtil.g(255, 163, 172, 184);
|
|
26485
26491
|
_this.ao = true;
|
|
26486
26492
|
_this.ap = false;
|
|
26487
26493
|
_this.ag = true;
|
|
@@ -26599,14 +26605,14 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
26599
26605
|
enumerable: false,
|
|
26600
26606
|
configurable: true
|
|
26601
26607
|
});
|
|
26602
|
-
Object.defineProperty(DatePicker.prototype, "
|
|
26608
|
+
Object.defineProperty(DatePicker.prototype, "dw", {
|
|
26603
26609
|
get: function () {
|
|
26604
|
-
return this.
|
|
26610
|
+
return this.dt;
|
|
26605
26611
|
},
|
|
26606
26612
|
set: function (a) {
|
|
26607
|
-
var b = this.
|
|
26608
|
-
this.
|
|
26609
|
-
if (b != this.
|
|
26613
|
+
var b = this.dt;
|
|
26614
|
+
this.dt = a;
|
|
26615
|
+
if (b != this.dt) {
|
|
26610
26616
|
this.da("LabelTextColor", b, a);
|
|
26611
26617
|
}
|
|
26612
26618
|
},
|
|
@@ -26711,29 +26717,29 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
26711
26717
|
enumerable: false,
|
|
26712
26718
|
configurable: true
|
|
26713
26719
|
});
|
|
26714
|
-
Object.defineProperty(DatePicker.prototype, "
|
|
26720
|
+
Object.defineProperty(DatePicker.prototype, "dx", {
|
|
26715
26721
|
get: function () {
|
|
26716
|
-
return this.
|
|
26722
|
+
return this.du;
|
|
26717
26723
|
},
|
|
26718
26724
|
set: function (a) {
|
|
26719
|
-
var b = this.
|
|
26720
|
-
this.
|
|
26721
|
-
if (b != this.
|
|
26722
|
-
this.da("TextColor", b, this.
|
|
26725
|
+
var b = this.du;
|
|
26726
|
+
this.du = a;
|
|
26727
|
+
if (b != this.du) {
|
|
26728
|
+
this.da("TextColor", b, this.du);
|
|
26723
26729
|
}
|
|
26724
26730
|
},
|
|
26725
26731
|
enumerable: false,
|
|
26726
26732
|
configurable: true
|
|
26727
26733
|
});
|
|
26728
|
-
Object.defineProperty(DatePicker.prototype, "
|
|
26734
|
+
Object.defineProperty(DatePicker.prototype, "dv", {
|
|
26729
26735
|
get: function () {
|
|
26730
|
-
return this.
|
|
26736
|
+
return this.ds;
|
|
26731
26737
|
},
|
|
26732
26738
|
set: function (a) {
|
|
26733
|
-
var b = this.
|
|
26734
|
-
this.
|
|
26735
|
-
if (b != this.
|
|
26736
|
-
this.da("IconColor", b, this.
|
|
26739
|
+
var b = this.ds;
|
|
26740
|
+
this.ds = a;
|
|
26741
|
+
if (b != this.ds) {
|
|
26742
|
+
this.da("IconColor", b, this.ds);
|
|
26737
26743
|
}
|
|
26738
26744
|
},
|
|
26739
26745
|
enumerable: false,
|
|
@@ -27021,7 +27027,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
27021
27027
|
}
|
|
27022
27028
|
break;
|
|
27023
27029
|
case "TextStyle":
|
|
27024
|
-
this.
|
|
27030
|
+
this.dn();
|
|
27025
27031
|
break;
|
|
27026
27032
|
case "ShowClearButton":
|
|
27027
27033
|
if (this.o != null) {
|
|
@@ -27034,7 +27040,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
27034
27040
|
case "LabelTextStyle":
|
|
27035
27041
|
case "TextColor":
|
|
27036
27042
|
case "IconColor":
|
|
27037
|
-
this.
|
|
27043
|
+
this.dp();
|
|
27038
27044
|
break;
|
|
27039
27045
|
case "ShowTodayButton":
|
|
27040
27046
|
if (this.c != null) {
|
|
@@ -27184,18 +27190,18 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
27184
27190
|
}
|
|
27185
27191
|
}
|
|
27186
27192
|
};
|
|
27187
|
-
DatePicker.prototype.
|
|
27193
|
+
DatePicker.prototype.dp = function () {
|
|
27188
27194
|
if (this.o != null) {
|
|
27189
|
-
this.o.d8 = this.
|
|
27195
|
+
this.o.d8 = this.dx;
|
|
27190
27196
|
}
|
|
27191
27197
|
if (this.m != null) {
|
|
27192
|
-
this.m.fill = this.
|
|
27198
|
+
this.m.fill = this.dv;
|
|
27193
27199
|
}
|
|
27194
27200
|
if (this.n != null) {
|
|
27195
|
-
this.n.fill = this.
|
|
27201
|
+
this.n.fill = this.dv;
|
|
27196
27202
|
}
|
|
27197
27203
|
if (this.r != null) {
|
|
27198
|
-
this.r.df = this.
|
|
27204
|
+
this.r.df = this.dw;
|
|
27199
27205
|
this.r.y = this.ac;
|
|
27200
27206
|
}
|
|
27201
27207
|
};
|
|
@@ -27203,7 +27209,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
27203
27209
|
if (this.q != null) {
|
|
27204
27210
|
}
|
|
27205
27211
|
};
|
|
27206
|
-
DatePicker.prototype.
|
|
27212
|
+
DatePicker.prototype.dn = function () {
|
|
27207
27213
|
if (this.aa != null) {
|
|
27208
27214
|
this.o.af = this.aa;
|
|
27209
27215
|
}
|
|
@@ -27216,7 +27222,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
27216
27222
|
this.q.t = this.y;
|
|
27217
27223
|
this.r = new XLabel();
|
|
27218
27224
|
this.h.as(this.r);
|
|
27219
|
-
this.r.df = this.
|
|
27225
|
+
this.r.df = this.dw;
|
|
27220
27226
|
this.r.y = this.ac;
|
|
27221
27227
|
this.q.appendContentChild(this.h.v());
|
|
27222
27228
|
if (this.b3 != null && this.b3 != "") {
|
|
@@ -27230,7 +27236,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
27230
27236
|
this.o.af = this.aa;
|
|
27231
27237
|
}
|
|
27232
27238
|
this.o.disabled = !this.au;
|
|
27233
|
-
this.o.d8 = this.
|
|
27239
|
+
this.o.d8 = this.dx;
|
|
27234
27240
|
this.q.appendContentChild(this.h.u());
|
|
27235
27241
|
this.q.inputs.add(this.o);
|
|
27236
27242
|
this.o.cg = this.cb;
|
|
@@ -27246,7 +27252,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
27246
27252
|
this.m = new XIcon();
|
|
27247
27253
|
this.h.ap(this.m, this.h.q());
|
|
27248
27254
|
this.m.svgPath = DatePicker.br;
|
|
27249
|
-
this.m.fill = this.
|
|
27255
|
+
this.m.fill = this.dv;
|
|
27250
27256
|
d.appendContentChild(this.h.q());
|
|
27251
27257
|
this.q.appendContentChild(this.h.r());
|
|
27252
27258
|
this.q.inputs.add(d);
|
|
@@ -27256,7 +27262,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
27256
27262
|
this.n = new XIcon();
|
|
27257
27263
|
this.h.ap(this.n, this.h.s());
|
|
27258
27264
|
this.n.svgPath = DatePicker.bq;
|
|
27259
|
-
this.n.fill = this.
|
|
27265
|
+
this.n.fill = this.dv;
|
|
27260
27266
|
e.appendContentChild(this.h.s());
|
|
27261
27267
|
this.q.appendContentChild(this.h.t());
|
|
27262
27268
|
this.q.inputs.add(e);
|
|
@@ -27272,7 +27278,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
27272
27278
|
case 9:
|
|
27273
27279
|
this.ar = true;
|
|
27274
27280
|
if (!this.at) {
|
|
27275
|
-
this.
|
|
27281
|
+
this.dr(this.o.cq);
|
|
27276
27282
|
}
|
|
27277
27283
|
this.ah = true;
|
|
27278
27284
|
this.cq();
|
|
@@ -27281,7 +27287,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
27281
27287
|
case 13:
|
|
27282
27288
|
this.ar = true;
|
|
27283
27289
|
if (!this.at) {
|
|
27284
|
-
this.
|
|
27290
|
+
this.dr(this.o.cq);
|
|
27285
27291
|
}
|
|
27286
27292
|
this.ah = true;
|
|
27287
27293
|
this.cq();
|
|
@@ -27311,10 +27317,10 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
27311
27317
|
};
|
|
27312
27318
|
DatePicker.prototype.cy = function (a, b) {
|
|
27313
27319
|
this.at = true;
|
|
27314
|
-
this.
|
|
27320
|
+
this.dr(b.value);
|
|
27315
27321
|
this.at = false;
|
|
27316
27322
|
};
|
|
27317
|
-
DatePicker.prototype.
|
|
27323
|
+
DatePicker.prototype.dr = function (a) {
|
|
27318
27324
|
var b = ['/', '-', ' ', '.', ','];
|
|
27319
27325
|
var c = stringSplit(a, b, 1);
|
|
27320
27326
|
var d = 0;
|
|
@@ -27436,7 +27442,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
27436
27442
|
this.dl();
|
|
27437
27443
|
}
|
|
27438
27444
|
else {
|
|
27439
|
-
this.
|
|
27445
|
+
this.dq(ag);
|
|
27440
27446
|
this.h.av();
|
|
27441
27447
|
}
|
|
27442
27448
|
}
|
|
@@ -27449,7 +27455,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
27449
27455
|
}
|
|
27450
27456
|
}
|
|
27451
27457
|
};
|
|
27452
|
-
DatePicker.prototype.
|
|
27458
|
+
DatePicker.prototype.dq = function (a) {
|
|
27453
27459
|
var b = this.value;
|
|
27454
27460
|
this.value = a;
|
|
27455
27461
|
};
|
|
@@ -27716,7 +27722,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
27716
27722
|
return;
|
|
27717
27723
|
}
|
|
27718
27724
|
if (this.u != null) {
|
|
27719
|
-
var a = this.h.
|
|
27725
|
+
var a = this.h.a0(false);
|
|
27720
27726
|
var b = this.h.a()[1];
|
|
27721
27727
|
var c = 240;
|
|
27722
27728
|
if (this.a0 == true) {
|
|
@@ -27744,10 +27750,43 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
27744
27750
|
this.u.cn(this.h.d.rootWrapper.getNativeElement(), a, b);
|
|
27745
27751
|
}
|
|
27746
27752
|
else {
|
|
27747
|
-
var c = this.h.
|
|
27753
|
+
var c = this.h.a0(true);
|
|
27748
27754
|
this.u.showRelativeToExclusionRect(c, a, b);
|
|
27749
27755
|
}
|
|
27750
27756
|
};
|
|
27757
|
+
DatePicker.prototype.dm = function () {
|
|
27758
|
+
if (this.u.aw) {
|
|
27759
|
+
var a = this.h.a0(false);
|
|
27760
|
+
var b = new Rect(0, a.left + window.pageXOffset, a.top + window.pageYOffset, a.width, a.height);
|
|
27761
|
+
var c = this.h.a()[1];
|
|
27762
|
+
var d = 240;
|
|
27763
|
+
if (this.a0 == true) {
|
|
27764
|
+
d = 270;
|
|
27765
|
+
}
|
|
27766
|
+
var e = a.bottom + d;
|
|
27767
|
+
if (c < e) {
|
|
27768
|
+
var f = a.top - d;
|
|
27769
|
+
if (f < 0) {
|
|
27770
|
+
if (this.u.r != 1) {
|
|
27771
|
+
this.u.r = 1;
|
|
27772
|
+
this.u.b7(b);
|
|
27773
|
+
}
|
|
27774
|
+
}
|
|
27775
|
+
else {
|
|
27776
|
+
if (this.u.r != 2) {
|
|
27777
|
+
this.u.r = 2;
|
|
27778
|
+
this.u.b7(b);
|
|
27779
|
+
}
|
|
27780
|
+
}
|
|
27781
|
+
}
|
|
27782
|
+
else {
|
|
27783
|
+
if (this.u.r != 1) {
|
|
27784
|
+
this.u.r = 1;
|
|
27785
|
+
this.u.b7(b);
|
|
27786
|
+
}
|
|
27787
|
+
}
|
|
27788
|
+
}
|
|
27789
|
+
};
|
|
27751
27790
|
DatePicker.prototype.cq = function () {
|
|
27752
27791
|
var _this = this;
|
|
27753
27792
|
if (this.u != null) {
|
|
@@ -28205,11 +28244,11 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
28205
28244
|
* Gets or sets the color to use for the text.
|
|
28206
28245
|
*/
|
|
28207
28246
|
get: function () {
|
|
28208
|
-
return brushToString(this.i.
|
|
28247
|
+
return brushToString(this.i.dw);
|
|
28209
28248
|
},
|
|
28210
28249
|
set: function (v) {
|
|
28211
|
-
this.i.
|
|
28212
|
-
this._a("labelTextColor", brushToString(this.i.
|
|
28250
|
+
this.i.dw = stringToBrush(v);
|
|
28251
|
+
this._a("labelTextColor", brushToString(this.i.dw));
|
|
28213
28252
|
},
|
|
28214
28253
|
enumerable: false,
|
|
28215
28254
|
configurable: true
|
|
@@ -28324,11 +28363,11 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
28324
28363
|
* Gets or Sets the text color
|
|
28325
28364
|
*/
|
|
28326
28365
|
get: function () {
|
|
28327
|
-
return brushToString(this.i.
|
|
28366
|
+
return brushToString(this.i.dx);
|
|
28328
28367
|
},
|
|
28329
28368
|
set: function (v) {
|
|
28330
|
-
this.i.
|
|
28331
|
-
this._a("textColor", brushToString(this.i.
|
|
28369
|
+
this.i.dx = stringToBrush(v);
|
|
28370
|
+
this._a("textColor", brushToString(this.i.dx));
|
|
28332
28371
|
},
|
|
28333
28372
|
enumerable: false,
|
|
28334
28373
|
configurable: true
|
|
@@ -28338,11 +28377,11 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
28338
28377
|
* Gets or Sets the text color
|
|
28339
28378
|
*/
|
|
28340
28379
|
get: function () {
|
|
28341
|
-
return brushToString(this.i.
|
|
28380
|
+
return brushToString(this.i.dv);
|
|
28342
28381
|
},
|
|
28343
28382
|
set: function (v) {
|
|
28344
|
-
this.i.
|
|
28345
|
-
this._a("iconColor", brushToString(this.i.
|
|
28383
|
+
this.i.dv = stringToBrush(v);
|
|
28384
|
+
this._a("iconColor", brushToString(this.i.dv));
|
|
28346
28385
|
},
|
|
28347
28386
|
enumerable: false,
|
|
28348
28387
|
configurable: true
|