igniteui-webcomponents-inputs 4.0.2 → 4.0.4
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 +67 -49
- package/bundles/igniteui-webcomponents-inputs.umd.min.js +1 -1
- package/esm2015/lib/DatePickerView_combined.js +67 -49
- package/esm5/lib/DatePickerView_combined.js +67 -49
- package/fesm2015/igniteui-webcomponents-inputs.js +67 -49
- package/fesm5/igniteui-webcomponents-inputs.js +67 -49
- package/lib/DatePickerView_combined.d.ts +21 -20
- package/package.json +2 -2
|
@@ -20292,12 +20292,12 @@ let DatePickerView = /*@__PURE__*/ (() => {
|
|
|
20292
20292
|
this.i = null;
|
|
20293
20293
|
this.h = null;
|
|
20294
20294
|
}
|
|
20295
|
-
|
|
20295
|
+
ah() {
|
|
20296
20296
|
}
|
|
20297
20297
|
get n() {
|
|
20298
20298
|
return this.e;
|
|
20299
20299
|
}
|
|
20300
|
-
|
|
20300
|
+
ag(a) {
|
|
20301
20301
|
if (a == null) {
|
|
20302
20302
|
this.d = null;
|
|
20303
20303
|
return;
|
|
@@ -20305,15 +20305,15 @@ let DatePickerView = /*@__PURE__*/ (() => {
|
|
|
20305
20305
|
this.d = a;
|
|
20306
20306
|
let b = Math.round(a.rootWrapper.width());
|
|
20307
20307
|
let c = Math.round(a.rootWrapper.height());
|
|
20308
|
-
this.z();
|
|
20309
20308
|
this.aa();
|
|
20309
|
+
this.ab();
|
|
20310
20310
|
let d = this.d.rootWrapper.getChildAt(0);
|
|
20311
20311
|
d.listen("keydown", runOn(this, this.x));
|
|
20312
20312
|
d.listen("focusin", runOn(this, this.v));
|
|
20313
20313
|
d.listen("focusout", runOn(this, this.w));
|
|
20314
|
-
document.addEventListener("click", runOn(this, this.
|
|
20314
|
+
document.addEventListener("click", runOn(this, this.ac), false);
|
|
20315
20315
|
}
|
|
20316
|
-
|
|
20316
|
+
aa() {
|
|
20317
20317
|
if (this.d != null) {
|
|
20318
20318
|
this.k = this.d.rootWrapper.getChildAt(0);
|
|
20319
20319
|
this.k.setAttribute("tabIndex", "0");
|
|
@@ -20336,39 +20336,39 @@ let DatePickerView = /*@__PURE__*/ (() => {
|
|
|
20336
20336
|
this.f.setStyleProperty("width", "16px");
|
|
20337
20337
|
this.h.setStyleProperty("height", "16px");
|
|
20338
20338
|
this.h.setStyleProperty("width", "16px");
|
|
20339
|
-
this.f.listen("click", runOn(this, this.
|
|
20340
|
-
this.h.listen("click", runOn(this, this.
|
|
20339
|
+
this.f.listen("click", runOn(this, this.z));
|
|
20340
|
+
this.h.listen("click", runOn(this, this.ad));
|
|
20341
20341
|
}
|
|
20342
20342
|
}
|
|
20343
|
-
|
|
20343
|
+
ak(a) {
|
|
20344
20344
|
if (this.d != null) {
|
|
20345
20345
|
let b = this.d.getSubRenderer(this.k);
|
|
20346
20346
|
a.provideContainer(b);
|
|
20347
20347
|
let c = this.d.getExternal(a, b.rootWrapper, this.d.getExternal(this.b, null, null));
|
|
20348
20348
|
}
|
|
20349
20349
|
}
|
|
20350
|
-
|
|
20350
|
+
am(a) {
|
|
20351
20351
|
if (this.d != null) {
|
|
20352
20352
|
let b = this.d.getSubRenderer(this.l);
|
|
20353
20353
|
a.provideContainer(b);
|
|
20354
20354
|
let c = this.d.getExternal(a, b.rootWrapper, this.d.getExternal(this.b, null, null));
|
|
20355
20355
|
}
|
|
20356
20356
|
}
|
|
20357
|
-
|
|
20357
|
+
al(a) {
|
|
20358
20358
|
if (this.d != null) {
|
|
20359
20359
|
let b = this.d.getSubRenderer(this.j);
|
|
20360
20360
|
a.provideContainer(b);
|
|
20361
20361
|
let c = this.d.getExternal(a, b.rootWrapper, this.d.getExternal(this.b, null, null));
|
|
20362
20362
|
}
|
|
20363
20363
|
}
|
|
20364
|
-
|
|
20364
|
+
ao(a, b) {
|
|
20365
20365
|
if (this.d != null) {
|
|
20366
20366
|
let c = this.d.getSubRenderer(b);
|
|
20367
20367
|
a.provideContainer(c);
|
|
20368
20368
|
let d = this.d.getExternal(a, c.rootWrapper, this.d.getExternal(this.b, null, null));
|
|
20369
20369
|
}
|
|
20370
20370
|
}
|
|
20371
|
-
|
|
20371
|
+
aj(a, b) {
|
|
20372
20372
|
if (this.d != null) {
|
|
20373
20373
|
let c = this.d.getSubRenderer(b);
|
|
20374
20374
|
a.provideContainer(c);
|
|
@@ -20393,7 +20393,7 @@ let DatePickerView = /*@__PURE__*/ (() => {
|
|
|
20393
20393
|
r() {
|
|
20394
20394
|
return this.h;
|
|
20395
20395
|
}
|
|
20396
|
-
|
|
20396
|
+
aq(a) {
|
|
20397
20397
|
if (this.j != null) {
|
|
20398
20398
|
if (a) {
|
|
20399
20399
|
this.j.getChildAt(0).setAttribute("aria-expanded", "true");
|
|
@@ -20403,7 +20403,7 @@ let DatePickerView = /*@__PURE__*/ (() => {
|
|
|
20403
20403
|
}
|
|
20404
20404
|
}
|
|
20405
20405
|
}
|
|
20406
|
-
|
|
20406
|
+
ar(a) {
|
|
20407
20407
|
if (a != null && a != "") {
|
|
20408
20408
|
this.j.getChildAt(0).setAttribute("aria-label", a);
|
|
20409
20409
|
}
|
|
@@ -20411,7 +20411,7 @@ let DatePickerView = /*@__PURE__*/ (() => {
|
|
|
20411
20411
|
this.j.getChildAt(0).setAttribute("aria-label", "Select a date");
|
|
20412
20412
|
}
|
|
20413
20413
|
}
|
|
20414
|
-
|
|
20414
|
+
ap() {
|
|
20415
20415
|
if (this.f != null) {
|
|
20416
20416
|
if (this.b.as == true) {
|
|
20417
20417
|
this.f.show();
|
|
@@ -20421,12 +20421,12 @@ let DatePickerView = /*@__PURE__*/ (() => {
|
|
|
20421
20421
|
}
|
|
20422
20422
|
}
|
|
20423
20423
|
}
|
|
20424
|
-
|
|
20424
|
+
ae() {
|
|
20425
20425
|
if (this.f != null) {
|
|
20426
20426
|
this.f.hide();
|
|
20427
20427
|
}
|
|
20428
20428
|
}
|
|
20429
|
-
|
|
20429
|
+
ab() {
|
|
20430
20430
|
if (this.d != null) {
|
|
20431
20431
|
this.m = this.d.rootWrapper.getChildAt(1);
|
|
20432
20432
|
this.e = this.d.createElement("div");
|
|
@@ -20442,21 +20442,37 @@ let DatePickerView = /*@__PURE__*/ (() => {
|
|
|
20442
20442
|
this.e.parent().parent().setStyleProperty("max-width", "232px");
|
|
20443
20443
|
}
|
|
20444
20444
|
if (this.b.at == true) {
|
|
20445
|
-
this.e.parent().parent().setStyleProperty("height", "270px");
|
|
20445
|
+
this.e.parent().parent().setStyleProperty("min-height", "270px");
|
|
20446
20446
|
}
|
|
20447
20447
|
else {
|
|
20448
|
-
this.e.parent().parent().setStyleProperty("height", "234px");
|
|
20448
|
+
this.e.parent().parent().setStyleProperty("min-height", "234px");
|
|
20449
20449
|
}
|
|
20450
20450
|
}
|
|
20451
20451
|
}
|
|
20452
|
-
|
|
20452
|
+
y() {
|
|
20453
|
+
if (this.d != null) {
|
|
20454
|
+
if (this.b.au == true) {
|
|
20455
|
+
this.e.parent().parent().setStyleProperty("max-width", "245px");
|
|
20456
|
+
}
|
|
20457
|
+
else {
|
|
20458
|
+
this.e.parent().parent().setStyleProperty("max-width", "232px");
|
|
20459
|
+
}
|
|
20460
|
+
if (this.b.at == true) {
|
|
20461
|
+
this.e.parent().parent().setStyleProperty("min-height", "270px");
|
|
20462
|
+
}
|
|
20463
|
+
else {
|
|
20464
|
+
this.e.parent().parent().setStyleProperty("min-height", "234px");
|
|
20465
|
+
}
|
|
20466
|
+
}
|
|
20467
|
+
}
|
|
20468
|
+
an(a) {
|
|
20453
20469
|
if (this.d != null) {
|
|
20454
20470
|
let b = this.d.getSubRenderer(this.m);
|
|
20455
20471
|
a.provideRenderer(b);
|
|
20456
20472
|
let c = b.getExternal(a, b.rootWrapper, b.getExternal(this.b, null, null));
|
|
20457
20473
|
}
|
|
20458
20474
|
}
|
|
20459
|
-
|
|
20475
|
+
ai(a) {
|
|
20460
20476
|
if (this.d != null) {
|
|
20461
20477
|
let b = this.d.getSubRenderer(this.e);
|
|
20462
20478
|
a.provideContainer(b);
|
|
@@ -20466,7 +20482,7 @@ let DatePickerView = /*@__PURE__*/ (() => {
|
|
|
20466
20482
|
o() {
|
|
20467
20483
|
return this.e;
|
|
20468
20484
|
}
|
|
20469
|
-
|
|
20485
|
+
z(a) {
|
|
20470
20486
|
if (this.b.aq == true) {
|
|
20471
20487
|
return;
|
|
20472
20488
|
}
|
|
@@ -20475,7 +20491,7 @@ let DatePickerView = /*@__PURE__*/ (() => {
|
|
|
20475
20491
|
this.f.hide();
|
|
20476
20492
|
}
|
|
20477
20493
|
}
|
|
20478
|
-
|
|
20494
|
+
ad(a) {
|
|
20479
20495
|
a.stopPropagation();
|
|
20480
20496
|
this.b.cj();
|
|
20481
20497
|
}
|
|
@@ -20499,13 +20515,13 @@ let DatePickerView = /*@__PURE__*/ (() => {
|
|
|
20499
20515
|
this.b.cq();
|
|
20500
20516
|
}
|
|
20501
20517
|
}
|
|
20502
|
-
|
|
20518
|
+
ac(a) {
|
|
20503
20519
|
let b = a.target;
|
|
20504
20520
|
if (!this.c(b)) {
|
|
20505
20521
|
this.b.cc();
|
|
20506
20522
|
}
|
|
20507
20523
|
}
|
|
20508
|
-
|
|
20524
|
+
as() {
|
|
20509
20525
|
if (this.d != null) {
|
|
20510
20526
|
let a = this.d.rootWrapper.getNativeElement();
|
|
20511
20527
|
let b = a.getBoundingClientRect();
|
|
@@ -20530,7 +20546,7 @@ let DatePickerView = /*@__PURE__*/ (() => {
|
|
|
20530
20546
|
let c = this.e.getNativeElement();
|
|
20531
20547
|
return b.contains(a) || c.contains(a);
|
|
20532
20548
|
}
|
|
20533
|
-
|
|
20549
|
+
af() {
|
|
20534
20550
|
}
|
|
20535
20551
|
}
|
|
20536
20552
|
DatePickerView.$t = /*@__PURE__*/ markType(DatePickerView, 'DatePickerView');
|
|
@@ -20594,7 +20610,7 @@ let DatePicker = /*@__PURE__*/ (() => {
|
|
|
20594
20610
|
let a = new DatePickerView();
|
|
20595
20611
|
a.b = this;
|
|
20596
20612
|
this.h = a;
|
|
20597
|
-
this.h.
|
|
20613
|
+
this.h.ah();
|
|
20598
20614
|
this.ca();
|
|
20599
20615
|
}
|
|
20600
20616
|
cv(a, b) {
|
|
@@ -20614,7 +20630,7 @@ let DatePicker = /*@__PURE__*/ (() => {
|
|
|
20614
20630
|
this.cz();
|
|
20615
20631
|
}
|
|
20616
20632
|
notifySizeChanged() {
|
|
20617
|
-
this.h.
|
|
20633
|
+
this.h.af();
|
|
20618
20634
|
}
|
|
20619
20635
|
destroy() {
|
|
20620
20636
|
if (this.c != null) {
|
|
@@ -20626,7 +20642,7 @@ let DatePicker = /*@__PURE__*/ (() => {
|
|
|
20626
20642
|
this.provideContainer(null);
|
|
20627
20643
|
}
|
|
20628
20644
|
provideContainer(a) {
|
|
20629
|
-
this.h.
|
|
20645
|
+
this.h.ag(a);
|
|
20630
20646
|
}
|
|
20631
20647
|
setName(a) {
|
|
20632
20648
|
this.o.e = a;
|
|
@@ -20913,7 +20929,7 @@ let DatePicker = /*@__PURE__*/ (() => {
|
|
|
20913
20929
|
case "Placeholder":
|
|
20914
20930
|
if (this.o != null) {
|
|
20915
20931
|
this.o.cb = this.bz;
|
|
20916
|
-
this.h.
|
|
20932
|
+
this.h.ar(this.bz);
|
|
20917
20933
|
}
|
|
20918
20934
|
break;
|
|
20919
20935
|
case "Today":
|
|
@@ -20954,7 +20970,7 @@ let DatePicker = /*@__PURE__*/ (() => {
|
|
|
20954
20970
|
case "ShowClearButton":
|
|
20955
20971
|
if (this.o != null) {
|
|
20956
20972
|
if (this.o.cj != "") {
|
|
20957
|
-
this.h.
|
|
20973
|
+
this.h.ap();
|
|
20958
20974
|
}
|
|
20959
20975
|
}
|
|
20960
20976
|
break;
|
|
@@ -20967,6 +20983,7 @@ let DatePicker = /*@__PURE__*/ (() => {
|
|
|
20967
20983
|
case "ShowTodayButton":
|
|
20968
20984
|
if (this.c != null) {
|
|
20969
20985
|
this.c.ae = this.at;
|
|
20986
|
+
this.h.y();
|
|
20970
20987
|
}
|
|
20971
20988
|
break;
|
|
20972
20989
|
case "AllowTextInput":
|
|
@@ -20991,6 +21008,7 @@ let DatePicker = /*@__PURE__*/ (() => {
|
|
|
20991
21008
|
case "ShowWeekNumbers":
|
|
20992
21009
|
if (this.c != null) {
|
|
20993
21010
|
this.c.af = this.au;
|
|
21011
|
+
this.h.y();
|
|
20994
21012
|
}
|
|
20995
21013
|
break;
|
|
20996
21014
|
case "FirstWeekOfYear":
|
|
@@ -21123,12 +21141,12 @@ let DatePicker = /*@__PURE__*/ (() => {
|
|
|
21123
21141
|
}
|
|
21124
21142
|
cd() {
|
|
21125
21143
|
this.q = new XInputGroup();
|
|
21126
|
-
this.h.
|
|
21144
|
+
this.h.ak(this.q);
|
|
21127
21145
|
this.q.d = 0;
|
|
21128
21146
|
this.q.j = this.w;
|
|
21129
21147
|
this.q.n = this.y;
|
|
21130
21148
|
this.r = new XLabel();
|
|
21131
|
-
this.h.
|
|
21149
|
+
this.h.am(this.r);
|
|
21132
21150
|
this.r.df = this.dd;
|
|
21133
21151
|
this.r.y = this.ac;
|
|
21134
21152
|
this.q.appendContentChild(this.h.u());
|
|
@@ -21137,7 +21155,7 @@ let DatePicker = /*@__PURE__*/ (() => {
|
|
|
21137
21155
|
this.q.inputs.add(this.r);
|
|
21138
21156
|
}
|
|
21139
21157
|
this.o = new XInput();
|
|
21140
|
-
this.h.
|
|
21158
|
+
this.h.al(this.o);
|
|
21141
21159
|
this.o.b3 = "text";
|
|
21142
21160
|
if (this.aa != null) {
|
|
21143
21161
|
this.o.ad = this.aa;
|
|
@@ -21147,7 +21165,7 @@ let DatePicker = /*@__PURE__*/ (() => {
|
|
|
21147
21165
|
this.q.appendContentChild(this.h.t());
|
|
21148
21166
|
this.q.inputs.add(this.o);
|
|
21149
21167
|
this.o.cb = this.bz;
|
|
21150
|
-
this.h.
|
|
21168
|
+
this.h.ar(this.bz);
|
|
21151
21169
|
let a = this.o;
|
|
21152
21170
|
a.change = delegateCombine(a.change, runOn(this, this.ck));
|
|
21153
21171
|
let b = this.o;
|
|
@@ -21155,9 +21173,9 @@ let DatePicker = /*@__PURE__*/ (() => {
|
|
|
21155
21173
|
let c = this.o;
|
|
21156
21174
|
c.keyDown = delegateCombine(c.keyDown, runOn(this, this.cm));
|
|
21157
21175
|
let d = new XSuffix();
|
|
21158
|
-
this.h.
|
|
21176
|
+
this.h.ao(d, this.h.q());
|
|
21159
21177
|
this.m = new XIcon();
|
|
21160
|
-
this.h.
|
|
21178
|
+
this.h.aj(this.m, this.h.p());
|
|
21161
21179
|
this.m.svgPath = DatePicker.bh;
|
|
21162
21180
|
this.m.fill = this.dc;
|
|
21163
21181
|
d.appendContentChild(this.h.p());
|
|
@@ -21165,9 +21183,9 @@ let DatePicker = /*@__PURE__*/ (() => {
|
|
|
21165
21183
|
this.q.inputs.add(d);
|
|
21166
21184
|
this.c4();
|
|
21167
21185
|
let e = new XSuffix();
|
|
21168
|
-
this.h.
|
|
21186
|
+
this.h.ao(e, this.h.s());
|
|
21169
21187
|
this.n = new XIcon();
|
|
21170
|
-
this.h.
|
|
21188
|
+
this.h.aj(this.n, this.h.r());
|
|
21171
21189
|
this.n.svgPath = DatePicker.bg;
|
|
21172
21190
|
this.n.fill = this.dc;
|
|
21173
21191
|
e.appendContentChild(this.h.r());
|
|
@@ -21216,10 +21234,10 @@ let DatePicker = /*@__PURE__*/ (() => {
|
|
|
21216
21234
|
cl(a, b) {
|
|
21217
21235
|
this.co(b);
|
|
21218
21236
|
if (b.value.length > 0) {
|
|
21219
|
-
this.h.
|
|
21237
|
+
this.h.ap();
|
|
21220
21238
|
}
|
|
21221
21239
|
else {
|
|
21222
|
-
this.h.
|
|
21240
|
+
this.h.ae();
|
|
21223
21241
|
}
|
|
21224
21242
|
}
|
|
21225
21243
|
ck(a, b) {
|
|
@@ -21350,7 +21368,7 @@ let DatePicker = /*@__PURE__*/ (() => {
|
|
|
21350
21368
|
}
|
|
21351
21369
|
else {
|
|
21352
21370
|
this.c7(ag);
|
|
21353
|
-
this.h.
|
|
21371
|
+
this.h.ap();
|
|
21354
21372
|
}
|
|
21355
21373
|
}
|
|
21356
21374
|
else {
|
|
@@ -21547,11 +21565,11 @@ let DatePicker = /*@__PURE__*/ (() => {
|
|
|
21547
21565
|
}
|
|
21548
21566
|
}
|
|
21549
21567
|
this.o.cj = a;
|
|
21550
|
-
this.h.
|
|
21568
|
+
this.h.ap();
|
|
21551
21569
|
}
|
|
21552
21570
|
else {
|
|
21553
21571
|
this.o.cj = "";
|
|
21554
|
-
this.h.
|
|
21572
|
+
this.h.ae();
|
|
21555
21573
|
}
|
|
21556
21574
|
}
|
|
21557
21575
|
}
|
|
@@ -21567,9 +21585,9 @@ let DatePicker = /*@__PURE__*/ (() => {
|
|
|
21567
21585
|
}
|
|
21568
21586
|
ce() {
|
|
21569
21587
|
this.u = new Popup();
|
|
21570
|
-
this.h.
|
|
21588
|
+
this.h.an(this.u);
|
|
21571
21589
|
this.c = new XCalendar();
|
|
21572
|
-
this.h.
|
|
21590
|
+
this.h.ai(this.c);
|
|
21573
21591
|
if (+(this.a1) != +(dateMinValue())) {
|
|
21574
21592
|
this.c.au = this.a1;
|
|
21575
21593
|
}
|
|
@@ -21616,7 +21634,7 @@ let DatePicker = /*@__PURE__*/ (() => {
|
|
|
21616
21634
|
return;
|
|
21617
21635
|
}
|
|
21618
21636
|
if (this.u != null) {
|
|
21619
|
-
let a = this.h.
|
|
21637
|
+
let a = this.h.as();
|
|
21620
21638
|
let b = new Rect(0, a.left + window.pageXOffset, a.top + window.pageYOffset, a.width, a.height);
|
|
21621
21639
|
let c = this.h.a()[1];
|
|
21622
21640
|
let d = 240;
|
|
@@ -21636,7 +21654,7 @@ let DatePicker = /*@__PURE__*/ (() => {
|
|
|
21636
21654
|
else {
|
|
21637
21655
|
this.u.showRelativeToExclusionRect(b, 1, 0);
|
|
21638
21656
|
}
|
|
21639
|
-
this.h.
|
|
21657
|
+
this.h.aq(true);
|
|
21640
21658
|
}
|
|
21641
21659
|
}
|
|
21642
21660
|
cc() {
|
|
@@ -21646,7 +21664,7 @@ let DatePicker = /*@__PURE__*/ (() => {
|
|
|
21646
21664
|
if (this.c != null) {
|
|
21647
21665
|
this.c.cy();
|
|
21648
21666
|
}
|
|
21649
|
-
this.h.
|
|
21667
|
+
this.h.aq(false);
|
|
21650
21668
|
this.ah = false;
|
|
21651
21669
|
}
|
|
21652
21670
|
focus(a = false) {
|