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.
@@ -24544,7 +24544,7 @@ var DatePickerView = /** @class */ /*@__PURE__*/ (function (_super) {
24544
24544
  _this.h = null;
24545
24545
  return _this;
24546
24546
  }
24547
- DatePickerView.prototype.ag = function () {
24547
+ DatePickerView.prototype.ah = function () {
24548
24548
  };
24549
24549
  Object.defineProperty(DatePickerView.prototype, "n", {
24550
24550
  get: function () {
@@ -24553,7 +24553,7 @@ var DatePickerView = /** @class */ /*@__PURE__*/ (function (_super) {
24553
24553
  enumerable: true,
24554
24554
  configurable: true
24555
24555
  });
24556
- DatePickerView.prototype.af = function (a) {
24556
+ DatePickerView.prototype.ag = function (a) {
24557
24557
  if (a == null) {
24558
24558
  this.d = null;
24559
24559
  return;
@@ -24561,15 +24561,15 @@ var DatePickerView = /** @class */ /*@__PURE__*/ (function (_super) {
24561
24561
  this.d = a;
24562
24562
  var b = Math.round(a.rootWrapper.width());
24563
24563
  var c = Math.round(a.rootWrapper.height());
24564
- this.z();
24565
24564
  this.aa();
24565
+ this.ab();
24566
24566
  var d = this.d.rootWrapper.getChildAt(0);
24567
24567
  d.listen("keydown", runOn(this, this.x));
24568
24568
  d.listen("focusin", runOn(this, this.v));
24569
24569
  d.listen("focusout", runOn(this, this.w));
24570
- document.addEventListener("click", runOn(this, this.ab), false);
24570
+ document.addEventListener("click", runOn(this, this.ac), false);
24571
24571
  };
24572
- DatePickerView.prototype.z = function () {
24572
+ DatePickerView.prototype.aa = function () {
24573
24573
  if (this.d != null) {
24574
24574
  this.k = this.d.rootWrapper.getChildAt(0);
24575
24575
  this.k.setAttribute("tabIndex", "0");
@@ -24592,39 +24592,39 @@ var DatePickerView = /** @class */ /*@__PURE__*/ (function (_super) {
24592
24592
  this.f.setStyleProperty("width", "16px");
24593
24593
  this.h.setStyleProperty("height", "16px");
24594
24594
  this.h.setStyleProperty("width", "16px");
24595
- this.f.listen("click", runOn(this, this.y));
24596
- this.h.listen("click", runOn(this, this.ac));
24595
+ this.f.listen("click", runOn(this, this.z));
24596
+ this.h.listen("click", runOn(this, this.ad));
24597
24597
  }
24598
24598
  };
24599
- DatePickerView.prototype.aj = function (a) {
24599
+ DatePickerView.prototype.ak = function (a) {
24600
24600
  if (this.d != null) {
24601
24601
  var b = this.d.getSubRenderer(this.k);
24602
24602
  a.provideContainer(b);
24603
24603
  var c = this.d.getExternal(a, b.rootWrapper, this.d.getExternal(this.b, null, null));
24604
24604
  }
24605
24605
  };
24606
- DatePickerView.prototype.al = function (a) {
24606
+ DatePickerView.prototype.am = function (a) {
24607
24607
  if (this.d != null) {
24608
24608
  var b = this.d.getSubRenderer(this.l);
24609
24609
  a.provideContainer(b);
24610
24610
  var c = this.d.getExternal(a, b.rootWrapper, this.d.getExternal(this.b, null, null));
24611
24611
  }
24612
24612
  };
24613
- DatePickerView.prototype.ak = function (a) {
24613
+ DatePickerView.prototype.al = function (a) {
24614
24614
  if (this.d != null) {
24615
24615
  var b = this.d.getSubRenderer(this.j);
24616
24616
  a.provideContainer(b);
24617
24617
  var c = this.d.getExternal(a, b.rootWrapper, this.d.getExternal(this.b, null, null));
24618
24618
  }
24619
24619
  };
24620
- DatePickerView.prototype.an = function (a, b) {
24620
+ DatePickerView.prototype.ao = function (a, b) {
24621
24621
  if (this.d != null) {
24622
24622
  var c = this.d.getSubRenderer(b);
24623
24623
  a.provideContainer(c);
24624
24624
  var d = this.d.getExternal(a, c.rootWrapper, this.d.getExternal(this.b, null, null));
24625
24625
  }
24626
24626
  };
24627
- DatePickerView.prototype.ai = function (a, b) {
24627
+ DatePickerView.prototype.aj = function (a, b) {
24628
24628
  if (this.d != null) {
24629
24629
  var c = this.d.getSubRenderer(b);
24630
24630
  a.provideContainer(c);
@@ -24649,7 +24649,7 @@ var DatePickerView = /** @class */ /*@__PURE__*/ (function (_super) {
24649
24649
  DatePickerView.prototype.r = function () {
24650
24650
  return this.h;
24651
24651
  };
24652
- DatePickerView.prototype.ap = function (a) {
24652
+ DatePickerView.prototype.aq = function (a) {
24653
24653
  if (this.j != null) {
24654
24654
  if (a) {
24655
24655
  this.j.getChildAt(0).setAttribute("aria-expanded", "true");
@@ -24659,7 +24659,7 @@ var DatePickerView = /** @class */ /*@__PURE__*/ (function (_super) {
24659
24659
  }
24660
24660
  }
24661
24661
  };
24662
- DatePickerView.prototype.aq = function (a) {
24662
+ DatePickerView.prototype.ar = function (a) {
24663
24663
  if (a != null && a != "") {
24664
24664
  this.j.getChildAt(0).setAttribute("aria-label", a);
24665
24665
  }
@@ -24667,7 +24667,7 @@ var DatePickerView = /** @class */ /*@__PURE__*/ (function (_super) {
24667
24667
  this.j.getChildAt(0).setAttribute("aria-label", "Select a date");
24668
24668
  }
24669
24669
  };
24670
- DatePickerView.prototype.ao = function () {
24670
+ DatePickerView.prototype.ap = function () {
24671
24671
  if (this.f != null) {
24672
24672
  if (this.b.as == true) {
24673
24673
  this.f.show();
@@ -24677,12 +24677,12 @@ var DatePickerView = /** @class */ /*@__PURE__*/ (function (_super) {
24677
24677
  }
24678
24678
  }
24679
24679
  };
24680
- DatePickerView.prototype.ad = function () {
24680
+ DatePickerView.prototype.ae = function () {
24681
24681
  if (this.f != null) {
24682
24682
  this.f.hide();
24683
24683
  }
24684
24684
  };
24685
- DatePickerView.prototype.aa = function () {
24685
+ DatePickerView.prototype.ab = function () {
24686
24686
  if (this.d != null) {
24687
24687
  this.m = this.d.rootWrapper.getChildAt(1);
24688
24688
  this.e = this.d.createElement("div");
@@ -24698,21 +24698,37 @@ var DatePickerView = /** @class */ /*@__PURE__*/ (function (_super) {
24698
24698
  this.e.parent().parent().setStyleProperty("max-width", "232px");
24699
24699
  }
24700
24700
  if (this.b.at == true) {
24701
- this.e.parent().parent().setStyleProperty("height", "270px");
24701
+ this.e.parent().parent().setStyleProperty("min-height", "270px");
24702
24702
  }
24703
24703
  else {
24704
- this.e.parent().parent().setStyleProperty("height", "234px");
24704
+ this.e.parent().parent().setStyleProperty("min-height", "234px");
24705
24705
  }
24706
24706
  }
24707
24707
  };
24708
- DatePickerView.prototype.am = function (a) {
24708
+ DatePickerView.prototype.y = function () {
24709
+ if (this.d != null) {
24710
+ if (this.b.au == true) {
24711
+ this.e.parent().parent().setStyleProperty("max-width", "245px");
24712
+ }
24713
+ else {
24714
+ this.e.parent().parent().setStyleProperty("max-width", "232px");
24715
+ }
24716
+ if (this.b.at == true) {
24717
+ this.e.parent().parent().setStyleProperty("min-height", "270px");
24718
+ }
24719
+ else {
24720
+ this.e.parent().parent().setStyleProperty("min-height", "234px");
24721
+ }
24722
+ }
24723
+ };
24724
+ DatePickerView.prototype.an = function (a) {
24709
24725
  if (this.d != null) {
24710
24726
  var b = this.d.getSubRenderer(this.m);
24711
24727
  a.provideRenderer(b);
24712
24728
  var c = b.getExternal(a, b.rootWrapper, b.getExternal(this.b, null, null));
24713
24729
  }
24714
24730
  };
24715
- DatePickerView.prototype.ah = function (a) {
24731
+ DatePickerView.prototype.ai = function (a) {
24716
24732
  if (this.d != null) {
24717
24733
  var b = this.d.getSubRenderer(this.e);
24718
24734
  a.provideContainer(b);
@@ -24722,7 +24738,7 @@ var DatePickerView = /** @class */ /*@__PURE__*/ (function (_super) {
24722
24738
  DatePickerView.prototype.o = function () {
24723
24739
  return this.e;
24724
24740
  };
24725
- DatePickerView.prototype.y = function (a) {
24741
+ DatePickerView.prototype.z = function (a) {
24726
24742
  if (this.b.aq == true) {
24727
24743
  return;
24728
24744
  }
@@ -24731,7 +24747,7 @@ var DatePickerView = /** @class */ /*@__PURE__*/ (function (_super) {
24731
24747
  this.f.hide();
24732
24748
  }
24733
24749
  };
24734
- DatePickerView.prototype.ac = function (a) {
24750
+ DatePickerView.prototype.ad = function (a) {
24735
24751
  a.stopPropagation();
24736
24752
  this.b.cj();
24737
24753
  };
@@ -24755,13 +24771,13 @@ var DatePickerView = /** @class */ /*@__PURE__*/ (function (_super) {
24755
24771
  this.b.cq();
24756
24772
  }
24757
24773
  };
24758
- DatePickerView.prototype.ab = function (a) {
24774
+ DatePickerView.prototype.ac = function (a) {
24759
24775
  var b = a.target;
24760
24776
  if (!this.c(b)) {
24761
24777
  this.b.cc();
24762
24778
  }
24763
24779
  };
24764
- DatePickerView.prototype.ar = function () {
24780
+ DatePickerView.prototype.as = function () {
24765
24781
  if (this.d != null) {
24766
24782
  var a = this.d.rootWrapper.getNativeElement();
24767
24783
  var b = a.getBoundingClientRect();
@@ -24786,7 +24802,7 @@ var DatePickerView = /** @class */ /*@__PURE__*/ (function (_super) {
24786
24802
  var c = this.e.getNativeElement();
24787
24803
  return b.contains(a) || c.contains(a);
24788
24804
  };
24789
- DatePickerView.prototype.ae = function () {
24805
+ DatePickerView.prototype.af = function () {
24790
24806
  };
24791
24807
  DatePickerView.$t = markType(DatePickerView, 'DatePickerView');
24792
24808
  return DatePickerView;
@@ -24849,7 +24865,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
24849
24865
  var a = new DatePickerView();
24850
24866
  a.b = _this;
24851
24867
  _this.h = a;
24852
- _this.h.ag();
24868
+ _this.h.ah();
24853
24869
  _this.ca();
24854
24870
  return _this;
24855
24871
  }
@@ -24870,7 +24886,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
24870
24886
  this.cz();
24871
24887
  };
24872
24888
  DatePicker.prototype.notifySizeChanged = function () {
24873
- this.h.ae();
24889
+ this.h.af();
24874
24890
  };
24875
24891
  DatePicker.prototype.destroy = function () {
24876
24892
  if (this.c != null) {
@@ -24882,7 +24898,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
24882
24898
  this.provideContainer(null);
24883
24899
  };
24884
24900
  DatePicker.prototype.provideContainer = function (a) {
24885
- this.h.af(a);
24901
+ this.h.ag(a);
24886
24902
  };
24887
24903
  DatePicker.prototype.setName = function (a) {
24888
24904
  this.o.e = a;
@@ -25265,7 +25281,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
25265
25281
  case "Placeholder":
25266
25282
  if (this.o != null) {
25267
25283
  this.o.cb = this.bz;
25268
- this.h.aq(this.bz);
25284
+ this.h.ar(this.bz);
25269
25285
  }
25270
25286
  break;
25271
25287
  case "Today":
@@ -25306,7 +25322,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
25306
25322
  case "ShowClearButton":
25307
25323
  if (this.o != null) {
25308
25324
  if (this.o.cj != "") {
25309
- this.h.ao();
25325
+ this.h.ap();
25310
25326
  }
25311
25327
  }
25312
25328
  break;
@@ -25319,6 +25335,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
25319
25335
  case "ShowTodayButton":
25320
25336
  if (this.c != null) {
25321
25337
  this.c.ae = this.at;
25338
+ this.h.y();
25322
25339
  }
25323
25340
  break;
25324
25341
  case "AllowTextInput":
@@ -25343,6 +25360,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
25343
25360
  case "ShowWeekNumbers":
25344
25361
  if (this.c != null) {
25345
25362
  this.c.af = this.au;
25363
+ this.h.y();
25346
25364
  }
25347
25365
  break;
25348
25366
  case "FirstWeekOfYear":
@@ -25475,12 +25493,12 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
25475
25493
  };
25476
25494
  DatePicker.prototype.cd = function () {
25477
25495
  this.q = new XInputGroup();
25478
- this.h.aj(this.q);
25496
+ this.h.ak(this.q);
25479
25497
  this.q.d = 0;
25480
25498
  this.q.j = this.w;
25481
25499
  this.q.n = this.y;
25482
25500
  this.r = new XLabel();
25483
- this.h.al(this.r);
25501
+ this.h.am(this.r);
25484
25502
  this.r.df = this.dd;
25485
25503
  this.r.y = this.ac;
25486
25504
  this.q.appendContentChild(this.h.u());
@@ -25489,7 +25507,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
25489
25507
  this.q.inputs.add(this.r);
25490
25508
  }
25491
25509
  this.o = new XInput();
25492
- this.h.ak(this.o);
25510
+ this.h.al(this.o);
25493
25511
  this.o.b3 = "text";
25494
25512
  if (this.aa != null) {
25495
25513
  this.o.ad = this.aa;
@@ -25499,7 +25517,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
25499
25517
  this.q.appendContentChild(this.h.t());
25500
25518
  this.q.inputs.add(this.o);
25501
25519
  this.o.cb = this.bz;
25502
- this.h.aq(this.bz);
25520
+ this.h.ar(this.bz);
25503
25521
  var a = this.o;
25504
25522
  a.change = delegateCombine(a.change, runOn(this, this.ck));
25505
25523
  var b = this.o;
@@ -25507,9 +25525,9 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
25507
25525
  var c = this.o;
25508
25526
  c.keyDown = delegateCombine(c.keyDown, runOn(this, this.cm));
25509
25527
  var d = new XSuffix();
25510
- this.h.an(d, this.h.q());
25528
+ this.h.ao(d, this.h.q());
25511
25529
  this.m = new XIcon();
25512
- this.h.ai(this.m, this.h.p());
25530
+ this.h.aj(this.m, this.h.p());
25513
25531
  this.m.svgPath = DatePicker.bh;
25514
25532
  this.m.fill = this.dc;
25515
25533
  d.appendContentChild(this.h.p());
@@ -25517,9 +25535,9 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
25517
25535
  this.q.inputs.add(d);
25518
25536
  this.c4();
25519
25537
  var e = new XSuffix();
25520
- this.h.an(e, this.h.s());
25538
+ this.h.ao(e, this.h.s());
25521
25539
  this.n = new XIcon();
25522
- this.h.ai(this.n, this.h.r());
25540
+ this.h.aj(this.n, this.h.r());
25523
25541
  this.n.svgPath = DatePicker.bg;
25524
25542
  this.n.fill = this.dc;
25525
25543
  e.appendContentChild(this.h.r());
@@ -25568,10 +25586,10 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
25568
25586
  DatePicker.prototype.cl = function (a, b) {
25569
25587
  this.co(b);
25570
25588
  if (b.value.length > 0) {
25571
- this.h.ao();
25589
+ this.h.ap();
25572
25590
  }
25573
25591
  else {
25574
- this.h.ad();
25592
+ this.h.ae();
25575
25593
  }
25576
25594
  };
25577
25595
  DatePicker.prototype.ck = function (a, b) {
@@ -25702,7 +25720,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
25702
25720
  }
25703
25721
  else {
25704
25722
  this.c7(ag);
25705
- this.h.ao();
25723
+ this.h.ap();
25706
25724
  }
25707
25725
  }
25708
25726
  else {
@@ -25899,11 +25917,11 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
25899
25917
  }
25900
25918
  }
25901
25919
  this.o.cj = a;
25902
- this.h.ao();
25920
+ this.h.ap();
25903
25921
  }
25904
25922
  else {
25905
25923
  this.o.cj = "";
25906
- this.h.ad();
25924
+ this.h.ae();
25907
25925
  }
25908
25926
  }
25909
25927
  };
@@ -25919,9 +25937,9 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
25919
25937
  };
25920
25938
  DatePicker.prototype.ce = function () {
25921
25939
  this.u = new Popup();
25922
- this.h.am(this.u);
25940
+ this.h.an(this.u);
25923
25941
  this.c = new XCalendar();
25924
- this.h.ah(this.c);
25942
+ this.h.ai(this.c);
25925
25943
  if (+(this.a1) != +(dateMinValue())) {
25926
25944
  this.c.au = this.a1;
25927
25945
  }
@@ -25968,7 +25986,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
25968
25986
  return;
25969
25987
  }
25970
25988
  if (this.u != null) {
25971
- var a = this.h.ar();
25989
+ var a = this.h.as();
25972
25990
  var b = new Rect(0, a.left + window.pageXOffset, a.top + window.pageYOffset, a.width, a.height);
25973
25991
  var c = this.h.a()[1];
25974
25992
  var d = 240;
@@ -25988,7 +26006,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
25988
26006
  else {
25989
26007
  this.u.showRelativeToExclusionRect(b, 1, 0);
25990
26008
  }
25991
- this.h.ap(true);
26009
+ this.h.aq(true);
25992
26010
  }
25993
26011
  };
25994
26012
  DatePicker.prototype.cc = function () {
@@ -25999,7 +26017,7 @@ var DatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
25999
26017
  if (this.c != null) {
26000
26018
  this.c.cy();
26001
26019
  }
26002
- this.h.ap(false);
26020
+ this.h.aq(false);
26003
26021
  this.ah = false;
26004
26022
  };
26005
26023
  DatePicker.prototype.focus = function (a) {
@@ -28,7 +28,7 @@ export declare class DatePickerView extends Base {
28
28
  static $t: Type;
29
29
  constructor();
30
30
  b: DatePicker;
31
- ag(): void;
31
+ ah(): void;
32
32
  d: DomRenderer;
33
33
  private k;
34
34
  private e;
@@ -40,37 +40,38 @@ export declare class DatePickerView extends Base {
40
40
  private i;
41
41
  private h;
42
42
  readonly n: DomWrapper;
43
- af(a: DomRenderer): void;
44
- private z;
45
- aj(a: XInputGroup): void;
46
- al(a: XLabel): void;
47
- ak(a: XInput): void;
48
- an(a: XSuffix, b: any): void;
49
- ai(a: XIcon, b: any): void;
43
+ ag(a: DomRenderer): void;
44
+ private aa;
45
+ ak(a: XInputGroup): void;
46
+ am(a: XLabel): void;
47
+ al(a: XInput): void;
48
+ ao(a: XSuffix, b: any): void;
49
+ aj(a: XIcon, b: any): void;
50
50
  u(): any;
51
51
  t(): any;
52
52
  q(): any;
53
53
  p(): any;
54
54
  s(): any;
55
55
  r(): any;
56
- ap(a: boolean): void;
57
- aq(a: string): void;
58
- ao(): void;
59
- ad(): void;
60
- private aa;
61
- am(a: Popup): void;
62
- ah(a: XCalendar): void;
56
+ aq(a: boolean): void;
57
+ ar(a: string): void;
58
+ ap(): void;
59
+ ae(): void;
60
+ private ab;
61
+ y(): void;
62
+ an(a: Popup): void;
63
+ ai(a: XCalendar): void;
63
64
  o(): any;
64
- private y;
65
- private ac;
65
+ private z;
66
+ private ad;
66
67
  private x;
67
68
  private v;
68
69
  private w;
69
- private ab;
70
- ar(): Rect;
70
+ private ac;
71
+ as(): Rect;
71
72
  a(): number[];
72
73
  private c;
73
- ae(): void;
74
+ af(): void;
74
75
  }
75
76
  /**
76
77
  * @hidden
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-webcomponents-inputs",
3
- "version": "4.0.2",
3
+ "version": "4.0.4",
4
4
  "description": "Ignite UI WebComponents inputs components.",
5
5
  "homepage": "https://github.com/IgniteUI/igniteui-webcomponents-inputs",
6
6
  "keywords": [
@@ -14,7 +14,7 @@
14
14
  "tslib": "^2.3.1"
15
15
  },
16
16
  "peerDependencies": {
17
- "igniteui-webcomponents-core": "4.0.2"
17
+ "igniteui-webcomponents-core": "4.0.4"
18
18
  },
19
19
  "sideEffects": false,
20
20
  "typings": "igniteui-webcomponents-inputs.d.ts",