igniteui-webcomponents-inputs 3.2.2 → 3.2.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 +196 -159
- package/bundles/igniteui-webcomponents-inputs.umd.min.js +1 -1
- package/esm2015/lib/DatePickerView_combined.js +2 -2
- package/esm2015/lib/InputGroupView_combined.js +153 -145
- package/esm2015/lib/KEYCODES.js +1 -1
- package/esm2015/lib/igc-x-input-component.js +41 -17
- package/esm5/lib/DatePickerView_combined.js +2 -2
- package/esm5/lib/InputGroupView_combined.js +147 -139
- package/esm5/lib/KEYCODES.js +1 -1
- package/esm5/lib/igc-x-input-component.js +46 -17
- package/fesm2015/igniteui-webcomponents-inputs.js +197 -165
- package/fesm5/igniteui-webcomponents-inputs.js +196 -159
- package/lib/InputGroupView_combined.d.ts +30 -30
- package/lib/KEYCODES.d.ts +1 -0
- package/lib/igc-x-input-component.d.ts +3 -0
- package/package.json +2 -2
|
@@ -977,7 +977,11 @@ var InputView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
977
977
|
};
|
|
978
978
|
InputView.prototype.x = function (a) {
|
|
979
979
|
this.e = false;
|
|
980
|
-
|
|
980
|
+
var b = null;
|
|
981
|
+
if (a.originalEvent != null) {
|
|
982
|
+
b = (a.originalEvent.data);
|
|
983
|
+
}
|
|
984
|
+
this.b.cu(b);
|
|
981
985
|
};
|
|
982
986
|
InputView.prototype.as = function () {
|
|
983
987
|
this.k.setAttribute("type", this.b.b3);
|
|
@@ -992,7 +996,7 @@ var InputView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
992
996
|
this.k.setAttribute("placeholder", this.b.cb);
|
|
993
997
|
};
|
|
994
998
|
InputView.prototype.a1 = function () {
|
|
995
|
-
switch (this.b.
|
|
999
|
+
switch (this.b.x) {
|
|
996
1000
|
case 1:
|
|
997
1001
|
this.k.setStyleProperty("height", "2rem");
|
|
998
1002
|
this.k.setStyleProperty("font-size", "1rem");
|
|
@@ -1012,7 +1016,7 @@ var InputView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1012
1016
|
var a = new TransformGroup();
|
|
1013
1017
|
a.j.add(((function () {
|
|
1014
1018
|
var $ret = new TranslateTransform();
|
|
1015
|
-
$ret.k = _this.b.
|
|
1019
|
+
$ret.k = _this.b.o == 2 ? (_this.i() * -0.25) : 0;
|
|
1016
1020
|
return $ret;
|
|
1017
1021
|
})()));
|
|
1018
1022
|
a.j.add(((function () {
|
|
@@ -2205,17 +2209,17 @@ var XInputGroup = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2205
2209
|
XInputGroup.prototype.mp = function () {
|
|
2206
2210
|
var _this = this;
|
|
2207
2211
|
this.l3(function (a) {
|
|
2208
|
-
a.
|
|
2212
|
+
a.y = _this.m;
|
|
2209
2213
|
switch (_this.d) {
|
|
2210
2214
|
case 0:
|
|
2211
|
-
a.
|
|
2215
|
+
a.o = 0;
|
|
2212
2216
|
break;
|
|
2213
2217
|
case 1:
|
|
2214
|
-
a.
|
|
2218
|
+
a.o = 1;
|
|
2215
2219
|
break;
|
|
2216
2220
|
case 2:
|
|
2217
2221
|
case 3:
|
|
2218
|
-
a.
|
|
2222
|
+
a.o = 2;
|
|
2219
2223
|
break;
|
|
2220
2224
|
}
|
|
2221
2225
|
a.dh(_this.al, false);
|
|
@@ -2425,7 +2429,7 @@ var XInputGroup = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2425
2429
|
get: function () {
|
|
2426
2430
|
var a = false;
|
|
2427
2431
|
this.l3(function (b) {
|
|
2428
|
-
if (b.
|
|
2432
|
+
if (b.aq) {
|
|
2429
2433
|
a = true;
|
|
2430
2434
|
}
|
|
2431
2435
|
});
|
|
@@ -5484,26 +5488,26 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
5484
5488
|
tslib_1.__extends(XInput, _super);
|
|
5485
5489
|
function XInput() {
|
|
5486
5490
|
var _this = _super.call(this) || this;
|
|
5487
|
-
_this.
|
|
5491
|
+
_this.u = null;
|
|
5488
5492
|
_this.a3 = 0;
|
|
5489
5493
|
_this.a4 = 0;
|
|
5490
|
-
_this.
|
|
5494
|
+
_this.q = 0;
|
|
5491
5495
|
_this.bl = "";
|
|
5492
5496
|
_this.bf = "";
|
|
5493
|
-
_this.ae = false;
|
|
5494
|
-
_this.bg = null;
|
|
5495
5497
|
_this.af = false;
|
|
5496
|
-
_this.
|
|
5498
|
+
_this.bg = null;
|
|
5499
|
+
_this.ag = false;
|
|
5500
|
+
_this.ao = false;
|
|
5497
5501
|
_this._view = null;
|
|
5498
|
-
_this.
|
|
5502
|
+
_this.n = 0;
|
|
5503
|
+
_this.w = 1;
|
|
5499
5504
|
_this.v = 1;
|
|
5500
|
-
_this.u = 1;
|
|
5501
5505
|
_this.bk = null;
|
|
5502
5506
|
_this.bn = "_";
|
|
5503
|
-
_this.
|
|
5507
|
+
_this.ai = false;
|
|
5504
5508
|
_this.dq = XInput.dw;
|
|
5505
5509
|
_this.dp = XInput.dv;
|
|
5506
|
-
_this.
|
|
5510
|
+
_this.z = null;
|
|
5507
5511
|
_this.ds = XInput.dw;
|
|
5508
5512
|
_this.keyDown = null;
|
|
5509
5513
|
_this.keyUp = null;
|
|
@@ -5512,35 +5516,35 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
5512
5516
|
_this.lostFocus = null;
|
|
5513
5517
|
_this.mouseDown = null;
|
|
5514
5518
|
_this.mouseUp = null;
|
|
5515
|
-
_this.
|
|
5519
|
+
_this.aa = null;
|
|
5516
5520
|
_this.bj = "text";
|
|
5517
5521
|
_this.bm = "text";
|
|
5518
5522
|
_this.dr = null;
|
|
5519
5523
|
_this.bi = "ig-input-" + XInput.bb++;
|
|
5520
5524
|
_this.a5 = 0;
|
|
5521
|
-
_this.
|
|
5525
|
+
_this.ah = false;
|
|
5522
5526
|
_this.bh = null;
|
|
5523
5527
|
_this.be = null;
|
|
5524
|
-
_this.
|
|
5528
|
+
_this.al = false;
|
|
5525
5529
|
_this.bd = null;
|
|
5526
5530
|
_this.bo = null;
|
|
5531
|
+
_this.ak = false;
|
|
5527
5532
|
_this.aj = false;
|
|
5528
|
-
_this.
|
|
5529
|
-
_this.al = false;
|
|
5533
|
+
_this.am = false;
|
|
5530
5534
|
_this.change = null;
|
|
5531
5535
|
_this.changing = null;
|
|
5532
5536
|
_this.compositionStart = null;
|
|
5533
5537
|
_this.compositionEnd = null;
|
|
5534
|
-
_this.
|
|
5535
|
-
_this.
|
|
5536
|
-
_this.
|
|
5537
|
-
_this.
|
|
5538
|
+
_this.an = true;
|
|
5539
|
+
_this.ae = null;
|
|
5540
|
+
_this.ax = false;
|
|
5541
|
+
_this.u = new MaskParsingService();
|
|
5538
5542
|
var a = new InputView();
|
|
5539
5543
|
a.b = _this;
|
|
5540
5544
|
_this.view = a;
|
|
5541
5545
|
_this.view.ao();
|
|
5542
|
-
XInput.
|
|
5543
|
-
XInput.
|
|
5546
|
+
XInput.ac = new FontInfo();
|
|
5547
|
+
XInput.ac.n = "Verdana";
|
|
5544
5548
|
return _this;
|
|
5545
5549
|
}
|
|
5546
5550
|
Object.defineProperty(XInput.prototype, "view", {
|
|
@@ -5556,42 +5560,42 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
5556
5560
|
XInput.prototype.destroy = function () {
|
|
5557
5561
|
this.provideContainer(null);
|
|
5558
5562
|
};
|
|
5559
|
-
Object.defineProperty(XInput.prototype, "
|
|
5563
|
+
Object.defineProperty(XInput.prototype, "o", {
|
|
5560
5564
|
get: function () {
|
|
5561
|
-
return this.
|
|
5565
|
+
return this.n;
|
|
5562
5566
|
},
|
|
5563
5567
|
set: function (a) {
|
|
5564
|
-
var b = this.
|
|
5565
|
-
this.
|
|
5566
|
-
if (b != this.
|
|
5568
|
+
var b = this.n;
|
|
5569
|
+
this.n = a;
|
|
5570
|
+
if (b != this.n) {
|
|
5567
5571
|
this.g("ShiftType", enumGetBox(InputShiftType_$type, b), enumGetBox(InputShiftType_$type, a));
|
|
5568
5572
|
}
|
|
5569
5573
|
},
|
|
5570
5574
|
enumerable: true,
|
|
5571
5575
|
configurable: true
|
|
5572
5576
|
});
|
|
5573
|
-
Object.defineProperty(XInput.prototype, "
|
|
5577
|
+
Object.defineProperty(XInput.prototype, "y", {
|
|
5574
5578
|
get: function () {
|
|
5575
|
-
return this.
|
|
5579
|
+
return this.w;
|
|
5576
5580
|
},
|
|
5577
5581
|
set: function (a) {
|
|
5578
|
-
var b = this.
|
|
5579
|
-
this.
|
|
5580
|
-
if (b != this.
|
|
5582
|
+
var b = this.w;
|
|
5583
|
+
this.w = a;
|
|
5584
|
+
if (b != this.w) {
|
|
5581
5585
|
this.g("Density", enumGetBox(ControlDisplayDensity_$type, b), enumGetBox(ControlDisplayDensity_$type, a));
|
|
5582
5586
|
}
|
|
5583
5587
|
},
|
|
5584
5588
|
enumerable: true,
|
|
5585
5589
|
configurable: true
|
|
5586
5590
|
});
|
|
5587
|
-
Object.defineProperty(XInput.prototype, "
|
|
5591
|
+
Object.defineProperty(XInput.prototype, "x", {
|
|
5588
5592
|
get: function () {
|
|
5589
|
-
return this.
|
|
5593
|
+
return this.v;
|
|
5590
5594
|
},
|
|
5591
5595
|
set: function (a) {
|
|
5592
|
-
var b = this.
|
|
5593
|
-
this.
|
|
5594
|
-
if (b != this.
|
|
5596
|
+
var b = this.v;
|
|
5597
|
+
this.v = a;
|
|
5598
|
+
if (b != this.v) {
|
|
5595
5599
|
this.g("ActualDensity", enumGetBox(ControlDisplayDensity_$type, b), enumGetBox(ControlDisplayDensity_$type, a));
|
|
5596
5600
|
}
|
|
5597
5601
|
},
|
|
@@ -5626,14 +5630,14 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
5626
5630
|
enumerable: true,
|
|
5627
5631
|
configurable: true
|
|
5628
5632
|
});
|
|
5629
|
-
Object.defineProperty(XInput.prototype, "
|
|
5633
|
+
Object.defineProperty(XInput.prototype, "ar", {
|
|
5630
5634
|
get: function () {
|
|
5631
|
-
return this.
|
|
5635
|
+
return this.ai;
|
|
5632
5636
|
},
|
|
5633
5637
|
set: function (a) {
|
|
5634
|
-
var b = this.
|
|
5635
|
-
this.
|
|
5636
|
-
if (b != this.
|
|
5638
|
+
var b = this.ai;
|
|
5639
|
+
this.ai = a;
|
|
5640
|
+
if (b != this.ai) {
|
|
5637
5641
|
this.g("IncludeLiterals", b, a);
|
|
5638
5642
|
}
|
|
5639
5643
|
},
|
|
@@ -5654,12 +5658,12 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
5654
5658
|
this.dl();
|
|
5655
5659
|
break;
|
|
5656
5660
|
case "Value":
|
|
5657
|
-
if (!this.
|
|
5661
|
+
if (!this.aj) {
|
|
5658
5662
|
this.view.at(this.cj);
|
|
5659
5663
|
if (this.b != null) {
|
|
5660
5664
|
this.b.mt();
|
|
5661
5665
|
}
|
|
5662
|
-
if (this.b9 != null && !this.
|
|
5666
|
+
if (this.b9 != null && !this.ao) {
|
|
5663
5667
|
this.dn(this.cj);
|
|
5664
5668
|
}
|
|
5665
5669
|
}
|
|
@@ -5668,7 +5672,7 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
5668
5672
|
this.view.av(this.e);
|
|
5669
5673
|
break;
|
|
5670
5674
|
case "Density":
|
|
5671
|
-
this.
|
|
5675
|
+
this.x = this.y == 0 ? 1 : this.y;
|
|
5672
5676
|
break;
|
|
5673
5677
|
case "ActualDensity":
|
|
5674
5678
|
this.view.a1();
|
|
@@ -5695,10 +5699,10 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
5695
5699
|
this.c1();
|
|
5696
5700
|
break;
|
|
5697
5701
|
case "IsDisabled":
|
|
5698
|
-
this.view.au(this.
|
|
5702
|
+
this.view.au(this.ak);
|
|
5699
5703
|
break;
|
|
5700
5704
|
case "IsReadOnly":
|
|
5701
|
-
this.view.aw(this.
|
|
5705
|
+
this.view.aw(this.am);
|
|
5702
5706
|
break;
|
|
5703
5707
|
}
|
|
5704
5708
|
};
|
|
@@ -5717,11 +5721,11 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
5717
5721
|
XInput.prototype.dm = function () {
|
|
5718
5722
|
this.du = this.dy != null ? this.dy : XInput.dw;
|
|
5719
5723
|
this.dt = this.dx != null ? this.dx : XInput.dw;
|
|
5720
|
-
this.
|
|
5724
|
+
this.ab = this.ad != null ? this.ad : XInput.ac;
|
|
5721
5725
|
};
|
|
5722
5726
|
XInput.prototype.dl = function () {
|
|
5723
|
-
if (this.
|
|
5724
|
-
this.view.a3(this.
|
|
5727
|
+
if (this.ab != null) {
|
|
5728
|
+
this.view.a3(this.ab);
|
|
5725
5729
|
}
|
|
5726
5730
|
NativeUI.o(this.view.o, this.du);
|
|
5727
5731
|
};
|
|
@@ -5753,14 +5757,14 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
5753
5757
|
enumerable: true,
|
|
5754
5758
|
configurable: true
|
|
5755
5759
|
});
|
|
5756
|
-
Object.defineProperty(XInput.prototype, "
|
|
5760
|
+
Object.defineProperty(XInput.prototype, "ab", {
|
|
5757
5761
|
get: function () {
|
|
5758
|
-
return this.
|
|
5762
|
+
return this.z;
|
|
5759
5763
|
},
|
|
5760
5764
|
set: function (a) {
|
|
5761
|
-
var b = this.
|
|
5762
|
-
this.
|
|
5763
|
-
if (b != this.
|
|
5765
|
+
var b = this.z;
|
|
5766
|
+
this.z = a;
|
|
5767
|
+
if (b != this.z) {
|
|
5764
5768
|
this.g("ActualTextStyle", b, a);
|
|
5765
5769
|
}
|
|
5766
5770
|
},
|
|
@@ -5803,7 +5807,7 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
5803
5807
|
if ((b == 17 && b == 90) || (b == 17 && b == 89)) {
|
|
5804
5808
|
a.preventDefault();
|
|
5805
5809
|
}
|
|
5806
|
-
this.
|
|
5810
|
+
this.q = b;
|
|
5807
5811
|
this.a4 = this.a7();
|
|
5808
5812
|
this.a3 = this.a6();
|
|
5809
5813
|
}
|
|
@@ -5839,21 +5843,21 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
5839
5843
|
};
|
|
5840
5844
|
XInput.prototype.cx = function () {
|
|
5841
5845
|
if (this.b9 != null) {
|
|
5842
|
-
if (!this.
|
|
5846
|
+
if (!this.af) {
|
|
5843
5847
|
this.dk(this.bf);
|
|
5844
5848
|
}
|
|
5845
5849
|
}
|
|
5846
5850
|
};
|
|
5847
5851
|
XInput.prototype.cy = function () {
|
|
5848
5852
|
if (this.b9 != null) {
|
|
5849
|
-
if (!this.
|
|
5853
|
+
if (!this.af) {
|
|
5850
5854
|
this.dj(this.cj);
|
|
5851
5855
|
}
|
|
5852
5856
|
}
|
|
5853
5857
|
};
|
|
5854
5858
|
XInput.prototype.cs = function () {
|
|
5855
5859
|
var _this = this;
|
|
5856
|
-
this.
|
|
5860
|
+
this.aj = true;
|
|
5857
5861
|
this.cj = this.view.q();
|
|
5858
5862
|
if (this.change != null) {
|
|
5859
5863
|
this.change(this, ((function () {
|
|
@@ -5863,25 +5867,25 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
5863
5867
|
return $ret;
|
|
5864
5868
|
})()));
|
|
5865
5869
|
}
|
|
5866
|
-
this.
|
|
5870
|
+
this.aj = false;
|
|
5867
5871
|
};
|
|
5868
5872
|
XInput.prototype.ct = function () {
|
|
5869
5873
|
var _this = this;
|
|
5870
|
-
this.
|
|
5874
|
+
this.aj = true;
|
|
5871
5875
|
this.cj = this.view.q();
|
|
5872
|
-
this.
|
|
5876
|
+
this.aj = false;
|
|
5873
5877
|
if (this.b9 != null) {
|
|
5874
|
-
this.
|
|
5875
|
-
if (this.
|
|
5878
|
+
this.ao = true;
|
|
5879
|
+
if (this.ag) {
|
|
5876
5880
|
this.a4 = this.a7();
|
|
5877
5881
|
}
|
|
5878
|
-
if (this.cj.length < this.bl.length && this.
|
|
5879
|
-
this.
|
|
5882
|
+
if (this.cj.length < this.bl.length && this.q == 229) {
|
|
5883
|
+
this.q = 8;
|
|
5880
5884
|
}
|
|
5881
5885
|
var a = this.a7();
|
|
5882
5886
|
var b = this.a6();
|
|
5883
5887
|
var c = "";
|
|
5884
|
-
switch (this.
|
|
5888
|
+
switch (this.q) {
|
|
5885
5889
|
case 46:
|
|
5886
5890
|
this.a3 = this.a4 == this.a3 ? ++this.a3 : this.a3;
|
|
5887
5891
|
break;
|
|
@@ -5895,18 +5899,18 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
5895
5899
|
var d = new MaskOptions();
|
|
5896
5900
|
d.a = this.b9;
|
|
5897
5901
|
d.b = this.cd;
|
|
5898
|
-
var e = this.
|
|
5902
|
+
var e = this.u.a(this.bl, c, d, this.a4, this.a3);
|
|
5899
5903
|
this.cj = e.b;
|
|
5900
|
-
if (this.
|
|
5904
|
+
if (this.q == 8) {
|
|
5901
5905
|
e.a = this.a4;
|
|
5902
5906
|
}
|
|
5903
5907
|
this.di(e.a, e.a);
|
|
5904
|
-
var f = this.
|
|
5905
|
-
this.bf = this.
|
|
5908
|
+
var f = this.u.i(this.cj, d);
|
|
5909
|
+
this.bf = this.ar ? this.cj : f;
|
|
5906
5910
|
this.cl();
|
|
5907
|
-
this.
|
|
5911
|
+
this.ao = false;
|
|
5908
5912
|
}
|
|
5909
|
-
this.
|
|
5913
|
+
this.aj = true;
|
|
5910
5914
|
if (this.changing != null) {
|
|
5911
5915
|
this.changing(this, ((function () {
|
|
5912
5916
|
var $ret = new InputChangeEventArgs();
|
|
@@ -5915,32 +5919,36 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
5915
5919
|
return $ret;
|
|
5916
5920
|
})()));
|
|
5917
5921
|
}
|
|
5918
|
-
this.
|
|
5922
|
+
this.aj = false;
|
|
5919
5923
|
};
|
|
5920
5924
|
XInput.prototype.cv = function () {
|
|
5921
5925
|
if (this.compositionStart != null) {
|
|
5922
5926
|
this.compositionStart(this, new EventArgs());
|
|
5923
5927
|
}
|
|
5924
5928
|
};
|
|
5925
|
-
XInput.prototype.cu = function () {
|
|
5929
|
+
XInput.prototype.cu = function (a) {
|
|
5926
5930
|
if (this.compositionEnd != null) {
|
|
5927
|
-
this.compositionEnd(this,
|
|
5931
|
+
this.compositionEnd(this, ((function () {
|
|
5932
|
+
var $ret = new InputChangeEventArgs();
|
|
5933
|
+
$ret.value = a;
|
|
5934
|
+
return $ret;
|
|
5935
|
+
})()));
|
|
5928
5936
|
}
|
|
5929
5937
|
};
|
|
5930
5938
|
XInput.prototype.c6 = function () {
|
|
5931
|
-
this.
|
|
5939
|
+
this.at = true;
|
|
5932
5940
|
};
|
|
5933
5941
|
XInput.prototype.c7 = function () {
|
|
5934
|
-
this.
|
|
5942
|
+
this.at = false;
|
|
5935
5943
|
};
|
|
5936
|
-
Object.defineProperty(XInput.prototype, "
|
|
5944
|
+
Object.defineProperty(XInput.prototype, "ad", {
|
|
5937
5945
|
get: function () {
|
|
5938
|
-
return this.
|
|
5946
|
+
return this.aa;
|
|
5939
5947
|
},
|
|
5940
5948
|
set: function (a) {
|
|
5941
|
-
var b = this.
|
|
5942
|
-
this.
|
|
5943
|
-
if (b != this.
|
|
5949
|
+
var b = this.aa;
|
|
5950
|
+
this.aa = a;
|
|
5951
|
+
if (b != this.aa) {
|
|
5944
5952
|
this.g("TextStyle", b, a);
|
|
5945
5953
|
}
|
|
5946
5954
|
},
|
|
@@ -6003,9 +6011,9 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
6003
6011
|
enumerable: true,
|
|
6004
6012
|
configurable: true
|
|
6005
6013
|
});
|
|
6006
|
-
Object.defineProperty(XInput.prototype, "
|
|
6014
|
+
Object.defineProperty(XInput.prototype, "ap", {
|
|
6007
6015
|
get: function () {
|
|
6008
|
-
return this.
|
|
6016
|
+
return this.ah;
|
|
6009
6017
|
},
|
|
6010
6018
|
enumerable: true,
|
|
6011
6019
|
configurable: true
|
|
@@ -6017,7 +6025,7 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
6017
6025
|
set: function (a) {
|
|
6018
6026
|
var b = this.a5;
|
|
6019
6027
|
this.a5 = a;
|
|
6020
|
-
this.
|
|
6028
|
+
this.ah = true;
|
|
6021
6029
|
if (b != this.a5) {
|
|
6022
6030
|
this.g("TabIndex", b, a);
|
|
6023
6031
|
}
|
|
@@ -6053,14 +6061,14 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
6053
6061
|
enumerable: true,
|
|
6054
6062
|
configurable: true
|
|
6055
6063
|
});
|
|
6056
|
-
Object.defineProperty(XInput.prototype, "
|
|
6064
|
+
Object.defineProperty(XInput.prototype, "at", {
|
|
6057
6065
|
get: function () {
|
|
6058
|
-
return this.
|
|
6066
|
+
return this.al;
|
|
6059
6067
|
},
|
|
6060
6068
|
set: function (a) {
|
|
6061
|
-
var b = this.
|
|
6062
|
-
this.
|
|
6063
|
-
if (b != this.
|
|
6069
|
+
var b = this.al;
|
|
6070
|
+
this.al = a;
|
|
6071
|
+
if (b != this.al) {
|
|
6064
6072
|
this.g("IsHover", b, a);
|
|
6065
6073
|
}
|
|
6066
6074
|
},
|
|
@@ -6081,7 +6089,7 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
6081
6089
|
enumerable: true,
|
|
6082
6090
|
configurable: true
|
|
6083
6091
|
});
|
|
6084
|
-
Object.defineProperty(XInput.prototype, "
|
|
6092
|
+
Object.defineProperty(XInput.prototype, "aq", {
|
|
6085
6093
|
get: function () {
|
|
6086
6094
|
return !stringIsNullOrEmpty(this.cj);
|
|
6087
6095
|
},
|
|
@@ -6090,12 +6098,12 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
6090
6098
|
});
|
|
6091
6099
|
Object.defineProperty(XInput.prototype, "disabled", {
|
|
6092
6100
|
get: function () {
|
|
6093
|
-
return this.
|
|
6101
|
+
return this.ak;
|
|
6094
6102
|
},
|
|
6095
6103
|
set: function (a) {
|
|
6096
|
-
var b = this.
|
|
6097
|
-
this.
|
|
6098
|
-
if (b != this.
|
|
6104
|
+
var b = this.ak;
|
|
6105
|
+
this.ak = a;
|
|
6106
|
+
if (b != this.ak) {
|
|
6099
6107
|
this.g("IsDisabled", b, a);
|
|
6100
6108
|
}
|
|
6101
6109
|
},
|
|
@@ -6104,13 +6112,13 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
6104
6112
|
});
|
|
6105
6113
|
Object.defineProperty(XInput.prototype, "readonly", {
|
|
6106
6114
|
get: function () {
|
|
6107
|
-
return this.
|
|
6115
|
+
return this.am;
|
|
6108
6116
|
},
|
|
6109
6117
|
set: function (a) {
|
|
6110
|
-
var b = this.
|
|
6111
|
-
this.
|
|
6112
|
-
if (b != this.
|
|
6113
|
-
this.g("IsReadOnly", b, this.
|
|
6118
|
+
var b = this.am;
|
|
6119
|
+
this.am = a;
|
|
6120
|
+
if (b != this.am) {
|
|
6121
|
+
this.g("IsReadOnly", b, this.am);
|
|
6114
6122
|
}
|
|
6115
6123
|
},
|
|
6116
6124
|
enumerable: true,
|
|
@@ -6124,7 +6132,7 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
6124
6132
|
XInput.prototype.onAttachedToUI = function () {
|
|
6125
6133
|
this.view.aj();
|
|
6126
6134
|
};
|
|
6127
|
-
XInput.prototype.
|
|
6135
|
+
XInput.prototype.aw = function () {
|
|
6128
6136
|
return this.view.f();
|
|
6129
6137
|
};
|
|
6130
6138
|
XInput.prototype.bc = function () {
|
|
@@ -6139,19 +6147,19 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
6139
6147
|
var b = this.view.o;
|
|
6140
6148
|
a.h = this.view.j.rootWrapper.getNativeElement().offsetTop;
|
|
6141
6149
|
a.f = this.view.j.rootWrapper.getNativeElement().offsetLeft;
|
|
6142
|
-
a.b = this.
|
|
6143
|
-
a.c = this.
|
|
6150
|
+
a.b = this.o;
|
|
6151
|
+
a.c = this.x;
|
|
6144
6152
|
a.j = this.b9;
|
|
6145
6153
|
a.m = this.cd;
|
|
6146
|
-
a.d = this.
|
|
6154
|
+
a.d = this.ar;
|
|
6147
6155
|
a.a = AppearanceHelper.a(NativeUI.ah(b));
|
|
6148
6156
|
a.i = this.b3;
|
|
6149
6157
|
a.l = this.cb;
|
|
6150
|
-
a.e = this.
|
|
6158
|
+
a.e = this.at;
|
|
6151
6159
|
a.t = this.cj;
|
|
6152
6160
|
a.k = this.e;
|
|
6153
|
-
if (this.
|
|
6154
|
-
var c = this.
|
|
6161
|
+
if (this.ab != null) {
|
|
6162
|
+
var c = this.ab;
|
|
6155
6163
|
if (this.view != null && c.n == null) {
|
|
6156
6164
|
var d = this.view.j;
|
|
6157
6165
|
var e = FontUtil.getFontInfoFromString(d, c.fontString);
|
|
@@ -6201,23 +6209,23 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
6201
6209
|
this.view.ar();
|
|
6202
6210
|
};
|
|
6203
6211
|
XInput.prototype.dk = function (a) {
|
|
6204
|
-
this.
|
|
6212
|
+
this.ao = true;
|
|
6205
6213
|
var b = new MaskOptions();
|
|
6206
6214
|
b.a = this.b9;
|
|
6207
6215
|
b.b = this.cd;
|
|
6208
|
-
this.cj = this.
|
|
6216
|
+
this.cj = this.u.h(this.cj, b);
|
|
6209
6217
|
this.bl = this.cj;
|
|
6210
|
-
this.
|
|
6218
|
+
this.ao = false;
|
|
6211
6219
|
};
|
|
6212
6220
|
XInput.prototype.dj = function (a) {
|
|
6213
|
-
this.
|
|
6221
|
+
this.ao = true;
|
|
6214
6222
|
var b = new MaskOptions();
|
|
6215
6223
|
b.a = this.b9;
|
|
6216
6224
|
b.b = this.cd;
|
|
6217
|
-
if (a == this.
|
|
6225
|
+
if (a == this.u.h(null, b)) {
|
|
6218
6226
|
this.cj = "";
|
|
6219
6227
|
}
|
|
6220
|
-
this.
|
|
6228
|
+
this.ao = false;
|
|
6221
6229
|
};
|
|
6222
6230
|
XInput.prototype.dn = function (a) {
|
|
6223
6231
|
var _this = this;
|
|
@@ -6227,8 +6235,8 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
6227
6235
|
if (this.cd != null && this.cd.length > 1) {
|
|
6228
6236
|
b.b = this.cd.substr(0, 1);
|
|
6229
6237
|
}
|
|
6230
|
-
this.cj = a != null ? this.
|
|
6231
|
-
this.bf = this.
|
|
6238
|
+
this.cj = a != null ? this.u.h(a, b) : "";
|
|
6239
|
+
this.bf = this.ar ? this.cj : a;
|
|
6232
6240
|
if (this.changing != null) {
|
|
6233
6241
|
this.changing(this, ((function () {
|
|
6234
6242
|
var $ret = new InputChangeEventArgs();
|
|
@@ -6240,15 +6248,15 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
6240
6248
|
};
|
|
6241
6249
|
XInput.prototype.cl = function () {
|
|
6242
6250
|
this.bl = this.cj;
|
|
6243
|
-
this.
|
|
6251
|
+
this.ag = false;
|
|
6244
6252
|
this.a4 = 0;
|
|
6245
6253
|
this.a3 = 0;
|
|
6246
|
-
this.
|
|
6254
|
+
this.q = 0;
|
|
6247
6255
|
};
|
|
6248
6256
|
XInput.prototype.a7 = function () {
|
|
6249
6257
|
var a = this.view.n();
|
|
6250
6258
|
var b = this.view.m();
|
|
6251
|
-
return a == b && this.
|
|
6259
|
+
return a == b && this.ag ? b - this.bg.length : a;
|
|
6252
6260
|
};
|
|
6253
6261
|
XInput.prototype.a6 = function () {
|
|
6254
6262
|
return this.view.m();
|
|
@@ -6273,14 +6281,14 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
6273
6281
|
enumerable: true,
|
|
6274
6282
|
configurable: true
|
|
6275
6283
|
});
|
|
6276
|
-
Object.defineProperty(XInput.prototype, "
|
|
6284
|
+
Object.defineProperty(XInput.prototype, "av", {
|
|
6277
6285
|
get: function () {
|
|
6278
|
-
return this.
|
|
6286
|
+
return this.an;
|
|
6279
6287
|
},
|
|
6280
6288
|
set: function (a) {
|
|
6281
|
-
var b = this.
|
|
6282
|
-
this.
|
|
6283
|
-
if (b != this.
|
|
6289
|
+
var b = this.an;
|
|
6290
|
+
this.an = a;
|
|
6291
|
+
if (b != this.an) {
|
|
6284
6292
|
this.g("IsShown", b, a);
|
|
6285
6293
|
}
|
|
6286
6294
|
},
|
|
@@ -6291,27 +6299,27 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
6291
6299
|
if (b === void 0) {
|
|
6292
6300
|
b = true;
|
|
6293
6301
|
}
|
|
6294
|
-
var c = this.
|
|
6302
|
+
var c = this.ax;
|
|
6295
6303
|
if (!b) {
|
|
6296
|
-
this.
|
|
6304
|
+
this.ax = true;
|
|
6297
6305
|
}
|
|
6298
6306
|
try {
|
|
6299
|
-
this.
|
|
6307
|
+
this.av = a;
|
|
6300
6308
|
}
|
|
6301
6309
|
finally {
|
|
6302
6310
|
if (!b) {
|
|
6303
|
-
this.
|
|
6311
|
+
this.ax = c;
|
|
6304
6312
|
}
|
|
6305
6313
|
}
|
|
6306
6314
|
};
|
|
6307
6315
|
XInput.prototype.c1 = function () {
|
|
6308
6316
|
this.co();
|
|
6309
|
-
this.de(this.
|
|
6317
|
+
this.de(this.ae, this.av);
|
|
6310
6318
|
};
|
|
6311
6319
|
XInput.prototype.co = function () {
|
|
6312
6320
|
this.view.ai();
|
|
6313
|
-
if (this.
|
|
6314
|
-
this.
|
|
6321
|
+
if (this.ae == null) {
|
|
6322
|
+
this.ae = KeyFrameAnimationFactory.f.c(this.view.a(this.i).m(new AnimationKeyFrameProperty(1, 0)).m(new AnimationKeyFrameProperty(1, 1)));
|
|
6315
6323
|
}
|
|
6316
6324
|
};
|
|
6317
6325
|
Object.defineProperty(XInput.prototype, "i", {
|
|
@@ -6332,7 +6340,7 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
6332
6340
|
else {
|
|
6333
6341
|
a.reverse();
|
|
6334
6342
|
}
|
|
6335
|
-
if (this.
|
|
6343
|
+
if (this.ax) {
|
|
6336
6344
|
a.finish();
|
|
6337
6345
|
a.commitStyles();
|
|
6338
6346
|
return;
|
|
@@ -6342,7 +6350,7 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
6342
6350
|
XInput.$t = markType(XInput, 'XInput', XInputGroupItem.$);
|
|
6343
6351
|
XInput.dw = BrushUtil.g(221, 0, 0, 0);
|
|
6344
6352
|
XInput.dv = BrushUtil.g(221, 0, 0, 0);
|
|
6345
|
-
XInput.
|
|
6353
|
+
XInput.ac = null;
|
|
6346
6354
|
XInput.bb = 0;
|
|
6347
6355
|
return XInput;
|
|
6348
6356
|
}(XInputGroupItem));
|
package/esm5/lib/KEYCODES.js
CHANGED
|
@@ -8,4 +8,4 @@ import { markEnum } from "igniteui-webcomponents-core";
|
|
|
8
8
|
/**
|
|
9
9
|
* @hidden
|
|
10
10
|
*/
|
|
11
|
-
export var KEYCODES_$type = /*@__PURE__*/ markEnum('KEYCODES', 'ENTER,13|SPACE,32|ESCAPE,27|LEFT_ARROW,37|UP_ARROW,38|RIGHT_ARROW,39|DOWN_ARROW,40|F2,113|TAB,9|CTRL,17|Z,90|Y,89|X,88|BACKSPACE,8|DELETE,46|INPUT_METHOD,229');
|
|
11
|
+
export var KEYCODES_$type = /*@__PURE__*/ markEnum('KEYCODES', 'ENTER,13|SPACE,32|ESCAPE,27|LEFT_ARROW,37|UP_ARROW,38|RIGHT_ARROW,39|DOWN_ARROW,40|F2,113|TAB,9|CTRL,17|C,67|Z,90|Y,89|X,88|BACKSPACE,8|DELETE,46|INPUT_METHOD,229');
|