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
|
@@ -875,7 +875,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
875
875
|
}
|
|
876
876
|
c5() {
|
|
877
877
|
if (this.aa != null) {
|
|
878
|
-
this.o.
|
|
878
|
+
this.o.ad = this.aa;
|
|
879
879
|
}
|
|
880
880
|
}
|
|
881
881
|
cd() {
|
|
@@ -897,7 +897,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
897
897
|
this.h.ak(this.o);
|
|
898
898
|
this.o.b3 = "text";
|
|
899
899
|
if (this.aa != null) {
|
|
900
|
-
this.o.
|
|
900
|
+
this.o.ad = this.aa;
|
|
901
901
|
}
|
|
902
902
|
this.o.disabled = !this.ap;
|
|
903
903
|
this.o.dy = this.de;
|
|
@@ -750,7 +750,11 @@ export let InputView = /*@__PURE__*/ (() => {
|
|
|
750
750
|
}
|
|
751
751
|
x(a) {
|
|
752
752
|
this.e = false;
|
|
753
|
-
|
|
753
|
+
let b = null;
|
|
754
|
+
if (a.originalEvent != null) {
|
|
755
|
+
b = (a.originalEvent.data);
|
|
756
|
+
}
|
|
757
|
+
this.b.cu(b);
|
|
754
758
|
}
|
|
755
759
|
as() {
|
|
756
760
|
this.k.setAttribute("type", this.b.b3);
|
|
@@ -765,7 +769,7 @@ export let InputView = /*@__PURE__*/ (() => {
|
|
|
765
769
|
this.k.setAttribute("placeholder", this.b.cb);
|
|
766
770
|
}
|
|
767
771
|
a1() {
|
|
768
|
-
switch (this.b.
|
|
772
|
+
switch (this.b.x) {
|
|
769
773
|
case 1:
|
|
770
774
|
this.k.setStyleProperty("height", "2rem");
|
|
771
775
|
this.k.setStyleProperty("font-size", "1rem");
|
|
@@ -784,7 +788,7 @@ export let InputView = /*@__PURE__*/ (() => {
|
|
|
784
788
|
let a = new TransformGroup();
|
|
785
789
|
a.j.add(((() => {
|
|
786
790
|
let $ret = new TranslateTransform();
|
|
787
|
-
$ret.k = this.b.
|
|
791
|
+
$ret.k = this.b.o == 2 ? (this.i() * -0.25) : 0;
|
|
788
792
|
return $ret;
|
|
789
793
|
})()));
|
|
790
794
|
a.j.add(((() => {
|
|
@@ -1843,17 +1847,17 @@ export let XInputGroup = /*@__PURE__*/ (() => {
|
|
|
1843
1847
|
}
|
|
1844
1848
|
mp() {
|
|
1845
1849
|
this.l3((a) => {
|
|
1846
|
-
a.
|
|
1850
|
+
a.y = this.m;
|
|
1847
1851
|
switch (this.d) {
|
|
1848
1852
|
case 0:
|
|
1849
|
-
a.
|
|
1853
|
+
a.o = 0;
|
|
1850
1854
|
break;
|
|
1851
1855
|
case 1:
|
|
1852
|
-
a.
|
|
1856
|
+
a.o = 1;
|
|
1853
1857
|
break;
|
|
1854
1858
|
case 2:
|
|
1855
1859
|
case 3:
|
|
1856
|
-
a.
|
|
1860
|
+
a.o = 2;
|
|
1857
1861
|
break;
|
|
1858
1862
|
}
|
|
1859
1863
|
a.dh(this.al, false);
|
|
@@ -2057,7 +2061,7 @@ export let XInputGroup = /*@__PURE__*/ (() => {
|
|
|
2057
2061
|
get af() {
|
|
2058
2062
|
let a = false;
|
|
2059
2063
|
this.l3((b) => {
|
|
2060
|
-
if (b.
|
|
2064
|
+
if (b.aq) {
|
|
2061
2065
|
a = true;
|
|
2062
2066
|
}
|
|
2063
2067
|
});
|
|
@@ -4480,26 +4484,26 @@ export let XInput = /*@__PURE__*/ (() => {
|
|
|
4480
4484
|
class XInput extends XInputGroupItem {
|
|
4481
4485
|
constructor() {
|
|
4482
4486
|
super();
|
|
4483
|
-
this.
|
|
4487
|
+
this.u = null;
|
|
4484
4488
|
this.a3 = 0;
|
|
4485
4489
|
this.a4 = 0;
|
|
4486
|
-
this.
|
|
4490
|
+
this.q = 0;
|
|
4487
4491
|
this.bl = "";
|
|
4488
4492
|
this.bf = "";
|
|
4489
|
-
this.ae = false;
|
|
4490
|
-
this.bg = null;
|
|
4491
4493
|
this.af = false;
|
|
4492
|
-
this.
|
|
4494
|
+
this.bg = null;
|
|
4495
|
+
this.ag = false;
|
|
4496
|
+
this.ao = false;
|
|
4493
4497
|
this._view = null;
|
|
4494
|
-
this.
|
|
4498
|
+
this.n = 0;
|
|
4499
|
+
this.w = 1;
|
|
4495
4500
|
this.v = 1;
|
|
4496
|
-
this.u = 1;
|
|
4497
4501
|
this.bk = null;
|
|
4498
4502
|
this.bn = "_";
|
|
4499
|
-
this.
|
|
4503
|
+
this.ai = false;
|
|
4500
4504
|
this.dq = XInput.dw;
|
|
4501
4505
|
this.dp = XInput.dv;
|
|
4502
|
-
this.
|
|
4506
|
+
this.z = null;
|
|
4503
4507
|
this.ds = XInput.dw;
|
|
4504
4508
|
this.keyDown = null;
|
|
4505
4509
|
this.keyUp = null;
|
|
@@ -4508,35 +4512,35 @@ export let XInput = /*@__PURE__*/ (() => {
|
|
|
4508
4512
|
this.lostFocus = null;
|
|
4509
4513
|
this.mouseDown = null;
|
|
4510
4514
|
this.mouseUp = null;
|
|
4511
|
-
this.
|
|
4515
|
+
this.aa = null;
|
|
4512
4516
|
this.bj = "text";
|
|
4513
4517
|
this.bm = "text";
|
|
4514
4518
|
this.dr = null;
|
|
4515
4519
|
this.bi = "ig-input-" + XInput.bb++;
|
|
4516
4520
|
this.a5 = 0;
|
|
4517
|
-
this.
|
|
4521
|
+
this.ah = false;
|
|
4518
4522
|
this.bh = null;
|
|
4519
4523
|
this.be = null;
|
|
4520
|
-
this.
|
|
4524
|
+
this.al = false;
|
|
4521
4525
|
this.bd = null;
|
|
4522
4526
|
this.bo = null;
|
|
4527
|
+
this.ak = false;
|
|
4523
4528
|
this.aj = false;
|
|
4524
|
-
this.
|
|
4525
|
-
this.al = false;
|
|
4529
|
+
this.am = false;
|
|
4526
4530
|
this.change = null;
|
|
4527
4531
|
this.changing = null;
|
|
4528
4532
|
this.compositionStart = null;
|
|
4529
4533
|
this.compositionEnd = null;
|
|
4530
|
-
this.
|
|
4531
|
-
this.
|
|
4532
|
-
this.
|
|
4533
|
-
this.
|
|
4534
|
+
this.an = true;
|
|
4535
|
+
this.ae = null;
|
|
4536
|
+
this.ax = false;
|
|
4537
|
+
this.u = new MaskParsingService();
|
|
4534
4538
|
let a = new InputView();
|
|
4535
4539
|
a.b = this;
|
|
4536
4540
|
this.view = a;
|
|
4537
4541
|
this.view.ao();
|
|
4538
|
-
XInput.
|
|
4539
|
-
XInput.
|
|
4542
|
+
XInput.ac = new FontInfo();
|
|
4543
|
+
XInput.ac.n = "Verdana";
|
|
4540
4544
|
}
|
|
4541
4545
|
get view() {
|
|
4542
4546
|
return this._view;
|
|
@@ -4547,16 +4551,26 @@ export let XInput = /*@__PURE__*/ (() => {
|
|
|
4547
4551
|
destroy() {
|
|
4548
4552
|
this.provideContainer(null);
|
|
4549
4553
|
}
|
|
4550
|
-
get
|
|
4551
|
-
return this.
|
|
4554
|
+
get o() {
|
|
4555
|
+
return this.n;
|
|
4552
4556
|
}
|
|
4553
|
-
set
|
|
4554
|
-
let b = this.
|
|
4555
|
-
this.
|
|
4556
|
-
if (b != this.
|
|
4557
|
+
set o(a) {
|
|
4558
|
+
let b = this.n;
|
|
4559
|
+
this.n = a;
|
|
4560
|
+
if (b != this.n) {
|
|
4557
4561
|
this.g("ShiftType", enumGetBox(InputShiftType_$type, b), enumGetBox(InputShiftType_$type, a));
|
|
4558
4562
|
}
|
|
4559
4563
|
}
|
|
4564
|
+
get y() {
|
|
4565
|
+
return this.w;
|
|
4566
|
+
}
|
|
4567
|
+
set y(a) {
|
|
4568
|
+
let b = this.w;
|
|
4569
|
+
this.w = a;
|
|
4570
|
+
if (b != this.w) {
|
|
4571
|
+
this.g("Density", enumGetBox(ControlDisplayDensity_$type, b), enumGetBox(ControlDisplayDensity_$type, a));
|
|
4572
|
+
}
|
|
4573
|
+
}
|
|
4560
4574
|
get x() {
|
|
4561
4575
|
return this.v;
|
|
4562
4576
|
}
|
|
@@ -4564,16 +4578,6 @@ export let XInput = /*@__PURE__*/ (() => {
|
|
|
4564
4578
|
let b = this.v;
|
|
4565
4579
|
this.v = a;
|
|
4566
4580
|
if (b != this.v) {
|
|
4567
|
-
this.g("Density", enumGetBox(ControlDisplayDensity_$type, b), enumGetBox(ControlDisplayDensity_$type, a));
|
|
4568
|
-
}
|
|
4569
|
-
}
|
|
4570
|
-
get w() {
|
|
4571
|
-
return this.u;
|
|
4572
|
-
}
|
|
4573
|
-
set w(a) {
|
|
4574
|
-
let b = this.u;
|
|
4575
|
-
this.u = a;
|
|
4576
|
-
if (b != this.u) {
|
|
4577
4581
|
this.g("ActualDensity", enumGetBox(ControlDisplayDensity_$type, b), enumGetBox(ControlDisplayDensity_$type, a));
|
|
4578
4582
|
}
|
|
4579
4583
|
}
|
|
@@ -4597,13 +4601,13 @@ export let XInput = /*@__PURE__*/ (() => {
|
|
|
4597
4601
|
this.g("PromptChar", b, a);
|
|
4598
4602
|
}
|
|
4599
4603
|
}
|
|
4600
|
-
get
|
|
4601
|
-
return this.
|
|
4604
|
+
get ar() {
|
|
4605
|
+
return this.ai;
|
|
4602
4606
|
}
|
|
4603
|
-
set
|
|
4604
|
-
let b = this.
|
|
4605
|
-
this.
|
|
4606
|
-
if (b != this.
|
|
4607
|
+
set ar(a) {
|
|
4608
|
+
let b = this.ai;
|
|
4609
|
+
this.ai = a;
|
|
4610
|
+
if (b != this.ai) {
|
|
4607
4611
|
this.g("IncludeLiterals", b, a);
|
|
4608
4612
|
}
|
|
4609
4613
|
}
|
|
@@ -4621,12 +4625,12 @@ export let XInput = /*@__PURE__*/ (() => {
|
|
|
4621
4625
|
this.dl();
|
|
4622
4626
|
break;
|
|
4623
4627
|
case "Value":
|
|
4624
|
-
if (!this.
|
|
4628
|
+
if (!this.aj) {
|
|
4625
4629
|
this.view.at(this.cj);
|
|
4626
4630
|
if (this.b != null) {
|
|
4627
4631
|
this.b.mt();
|
|
4628
4632
|
}
|
|
4629
|
-
if (this.b9 != null && !this.
|
|
4633
|
+
if (this.b9 != null && !this.ao) {
|
|
4630
4634
|
this.dn(this.cj);
|
|
4631
4635
|
}
|
|
4632
4636
|
}
|
|
@@ -4635,7 +4639,7 @@ export let XInput = /*@__PURE__*/ (() => {
|
|
|
4635
4639
|
this.view.av(this.e);
|
|
4636
4640
|
break;
|
|
4637
4641
|
case "Density":
|
|
4638
|
-
this.
|
|
4642
|
+
this.x = this.y == 0 ? 1 : this.y;
|
|
4639
4643
|
break;
|
|
4640
4644
|
case "ActualDensity":
|
|
4641
4645
|
this.view.a1();
|
|
@@ -4662,10 +4666,10 @@ export let XInput = /*@__PURE__*/ (() => {
|
|
|
4662
4666
|
this.c1();
|
|
4663
4667
|
break;
|
|
4664
4668
|
case "IsDisabled":
|
|
4665
|
-
this.view.au(this.
|
|
4669
|
+
this.view.au(this.ak);
|
|
4666
4670
|
break;
|
|
4667
4671
|
case "IsReadOnly":
|
|
4668
|
-
this.view.aw(this.
|
|
4672
|
+
this.view.aw(this.am);
|
|
4669
4673
|
break;
|
|
4670
4674
|
}
|
|
4671
4675
|
}
|
|
@@ -4684,11 +4688,11 @@ export let XInput = /*@__PURE__*/ (() => {
|
|
|
4684
4688
|
dm() {
|
|
4685
4689
|
this.du = this.dy != null ? this.dy : XInput.dw;
|
|
4686
4690
|
this.dt = this.dx != null ? this.dx : XInput.dw;
|
|
4687
|
-
this.
|
|
4691
|
+
this.ab = this.ad != null ? this.ad : XInput.ac;
|
|
4688
4692
|
}
|
|
4689
4693
|
dl() {
|
|
4690
|
-
if (this.
|
|
4691
|
-
this.view.a3(this.
|
|
4694
|
+
if (this.ab != null) {
|
|
4695
|
+
this.view.a3(this.ab);
|
|
4692
4696
|
}
|
|
4693
4697
|
NativeUI.o(this.view.o, this.du);
|
|
4694
4698
|
}
|
|
@@ -4712,13 +4716,13 @@ export let XInput = /*@__PURE__*/ (() => {
|
|
|
4712
4716
|
this.g("ActualHoverTextColor", b, a);
|
|
4713
4717
|
}
|
|
4714
4718
|
}
|
|
4715
|
-
get
|
|
4716
|
-
return this.
|
|
4719
|
+
get ab() {
|
|
4720
|
+
return this.z;
|
|
4717
4721
|
}
|
|
4718
|
-
set
|
|
4719
|
-
let b = this.
|
|
4720
|
-
this.
|
|
4721
|
-
if (b != this.
|
|
4722
|
+
set ab(a) {
|
|
4723
|
+
let b = this.z;
|
|
4724
|
+
this.z = a;
|
|
4725
|
+
if (b != this.z) {
|
|
4722
4726
|
this.g("ActualTextStyle", b, a);
|
|
4723
4727
|
}
|
|
4724
4728
|
}
|
|
@@ -4754,7 +4758,7 @@ export let XInput = /*@__PURE__*/ (() => {
|
|
|
4754
4758
|
if ((b == 17 && b == 90) || (b == 17 && b == 89)) {
|
|
4755
4759
|
a.preventDefault();
|
|
4756
4760
|
}
|
|
4757
|
-
this.
|
|
4761
|
+
this.q = b;
|
|
4758
4762
|
this.a4 = this.a7();
|
|
4759
4763
|
this.a3 = this.a6();
|
|
4760
4764
|
}
|
|
@@ -4790,20 +4794,20 @@ export let XInput = /*@__PURE__*/ (() => {
|
|
|
4790
4794
|
}
|
|
4791
4795
|
cx() {
|
|
4792
4796
|
if (this.b9 != null) {
|
|
4793
|
-
if (!this.
|
|
4797
|
+
if (!this.af) {
|
|
4794
4798
|
this.dk(this.bf);
|
|
4795
4799
|
}
|
|
4796
4800
|
}
|
|
4797
4801
|
}
|
|
4798
4802
|
cy() {
|
|
4799
4803
|
if (this.b9 != null) {
|
|
4800
|
-
if (!this.
|
|
4804
|
+
if (!this.af) {
|
|
4801
4805
|
this.dj(this.cj);
|
|
4802
4806
|
}
|
|
4803
4807
|
}
|
|
4804
4808
|
}
|
|
4805
4809
|
cs() {
|
|
4806
|
-
this.
|
|
4810
|
+
this.aj = true;
|
|
4807
4811
|
this.cj = this.view.q();
|
|
4808
4812
|
if (this.change != null) {
|
|
4809
4813
|
this.change(this, ((() => {
|
|
@@ -4813,24 +4817,24 @@ export let XInput = /*@__PURE__*/ (() => {
|
|
|
4813
4817
|
return $ret;
|
|
4814
4818
|
})()));
|
|
4815
4819
|
}
|
|
4816
|
-
this.
|
|
4820
|
+
this.aj = false;
|
|
4817
4821
|
}
|
|
4818
4822
|
ct() {
|
|
4819
|
-
this.
|
|
4823
|
+
this.aj = true;
|
|
4820
4824
|
this.cj = this.view.q();
|
|
4821
|
-
this.
|
|
4825
|
+
this.aj = false;
|
|
4822
4826
|
if (this.b9 != null) {
|
|
4823
|
-
this.
|
|
4824
|
-
if (this.
|
|
4827
|
+
this.ao = true;
|
|
4828
|
+
if (this.ag) {
|
|
4825
4829
|
this.a4 = this.a7();
|
|
4826
4830
|
}
|
|
4827
|
-
if (this.cj.length < this.bl.length && this.
|
|
4828
|
-
this.
|
|
4831
|
+
if (this.cj.length < this.bl.length && this.q == 229) {
|
|
4832
|
+
this.q = 8;
|
|
4829
4833
|
}
|
|
4830
4834
|
let a = this.a7();
|
|
4831
4835
|
let b = this.a6();
|
|
4832
4836
|
let c = "";
|
|
4833
|
-
switch (this.
|
|
4837
|
+
switch (this.q) {
|
|
4834
4838
|
case 46:
|
|
4835
4839
|
this.a3 = this.a4 == this.a3 ? ++this.a3 : this.a3;
|
|
4836
4840
|
break;
|
|
@@ -4844,18 +4848,18 @@ export let XInput = /*@__PURE__*/ (() => {
|
|
|
4844
4848
|
let d = new MaskOptions();
|
|
4845
4849
|
d.a = this.b9;
|
|
4846
4850
|
d.b = this.cd;
|
|
4847
|
-
let e = this.
|
|
4851
|
+
let e = this.u.a(this.bl, c, d, this.a4, this.a3);
|
|
4848
4852
|
this.cj = e.b;
|
|
4849
|
-
if (this.
|
|
4853
|
+
if (this.q == 8) {
|
|
4850
4854
|
e.a = this.a4;
|
|
4851
4855
|
}
|
|
4852
4856
|
this.di(e.a, e.a);
|
|
4853
|
-
let f = this.
|
|
4854
|
-
this.bf = this.
|
|
4857
|
+
let f = this.u.i(this.cj, d);
|
|
4858
|
+
this.bf = this.ar ? this.cj : f;
|
|
4855
4859
|
this.cl();
|
|
4856
|
-
this.
|
|
4860
|
+
this.ao = false;
|
|
4857
4861
|
}
|
|
4858
|
-
this.
|
|
4862
|
+
this.aj = true;
|
|
4859
4863
|
if (this.changing != null) {
|
|
4860
4864
|
this.changing(this, ((() => {
|
|
4861
4865
|
let $ret = new InputChangeEventArgs();
|
|
@@ -4864,31 +4868,35 @@ export let XInput = /*@__PURE__*/ (() => {
|
|
|
4864
4868
|
return $ret;
|
|
4865
4869
|
})()));
|
|
4866
4870
|
}
|
|
4867
|
-
this.
|
|
4871
|
+
this.aj = false;
|
|
4868
4872
|
}
|
|
4869
4873
|
cv() {
|
|
4870
4874
|
if (this.compositionStart != null) {
|
|
4871
4875
|
this.compositionStart(this, new EventArgs());
|
|
4872
4876
|
}
|
|
4873
4877
|
}
|
|
4874
|
-
cu() {
|
|
4878
|
+
cu(a) {
|
|
4875
4879
|
if (this.compositionEnd != null) {
|
|
4876
|
-
this.compositionEnd(this,
|
|
4880
|
+
this.compositionEnd(this, ((() => {
|
|
4881
|
+
let $ret = new InputChangeEventArgs();
|
|
4882
|
+
$ret.value = a;
|
|
4883
|
+
return $ret;
|
|
4884
|
+
})()));
|
|
4877
4885
|
}
|
|
4878
4886
|
}
|
|
4879
4887
|
c6() {
|
|
4880
|
-
this.
|
|
4888
|
+
this.at = true;
|
|
4881
4889
|
}
|
|
4882
4890
|
c7() {
|
|
4883
|
-
this.
|
|
4891
|
+
this.at = false;
|
|
4884
4892
|
}
|
|
4885
|
-
get
|
|
4886
|
-
return this.
|
|
4893
|
+
get ad() {
|
|
4894
|
+
return this.aa;
|
|
4887
4895
|
}
|
|
4888
|
-
set
|
|
4889
|
-
let b = this.
|
|
4890
|
-
this.
|
|
4891
|
-
if (b != this.
|
|
4896
|
+
set ad(a) {
|
|
4897
|
+
let b = this.aa;
|
|
4898
|
+
this.aa = a;
|
|
4899
|
+
if (b != this.aa) {
|
|
4892
4900
|
this.g("TextStyle", b, a);
|
|
4893
4901
|
}
|
|
4894
4902
|
}
|
|
@@ -4932,8 +4940,8 @@ export let XInput = /*@__PURE__*/ (() => {
|
|
|
4932
4940
|
this.g("Id", b, a);
|
|
4933
4941
|
}
|
|
4934
4942
|
}
|
|
4935
|
-
get
|
|
4936
|
-
return this.
|
|
4943
|
+
get ap() {
|
|
4944
|
+
return this.ah;
|
|
4937
4945
|
}
|
|
4938
4946
|
get ba() {
|
|
4939
4947
|
return this.a5;
|
|
@@ -4941,7 +4949,7 @@ export let XInput = /*@__PURE__*/ (() => {
|
|
|
4941
4949
|
set ba(a) {
|
|
4942
4950
|
let b = this.a5;
|
|
4943
4951
|
this.a5 = a;
|
|
4944
|
-
this.
|
|
4952
|
+
this.ah = true;
|
|
4945
4953
|
if (b != this.a5) {
|
|
4946
4954
|
this.g("TabIndex", b, a);
|
|
4947
4955
|
}
|
|
@@ -4966,13 +4974,13 @@ export let XInput = /*@__PURE__*/ (() => {
|
|
|
4966
4974
|
this.g("AriaLabel", b, a);
|
|
4967
4975
|
}
|
|
4968
4976
|
}
|
|
4969
|
-
get
|
|
4970
|
-
return this.
|
|
4977
|
+
get at() {
|
|
4978
|
+
return this.al;
|
|
4971
4979
|
}
|
|
4972
|
-
set
|
|
4973
|
-
let b = this.
|
|
4974
|
-
this.
|
|
4975
|
-
if (b != this.
|
|
4980
|
+
set at(a) {
|
|
4981
|
+
let b = this.al;
|
|
4982
|
+
this.al = a;
|
|
4983
|
+
if (b != this.al) {
|
|
4976
4984
|
this.g("IsHover", b, a);
|
|
4977
4985
|
}
|
|
4978
4986
|
}
|
|
@@ -4986,27 +4994,27 @@ export let XInput = /*@__PURE__*/ (() => {
|
|
|
4986
4994
|
this.g("Value", b, a);
|
|
4987
4995
|
}
|
|
4988
4996
|
}
|
|
4989
|
-
get
|
|
4997
|
+
get aq() {
|
|
4990
4998
|
return !stringIsNullOrEmpty(this.cj);
|
|
4991
4999
|
}
|
|
4992
5000
|
get disabled() {
|
|
4993
|
-
return this.
|
|
5001
|
+
return this.ak;
|
|
4994
5002
|
}
|
|
4995
5003
|
set disabled(a) {
|
|
4996
|
-
let b = this.
|
|
4997
|
-
this.
|
|
4998
|
-
if (b != this.
|
|
5004
|
+
let b = this.ak;
|
|
5005
|
+
this.ak = a;
|
|
5006
|
+
if (b != this.ak) {
|
|
4999
5007
|
this.g("IsDisabled", b, a);
|
|
5000
5008
|
}
|
|
5001
5009
|
}
|
|
5002
5010
|
get readonly() {
|
|
5003
|
-
return this.
|
|
5011
|
+
return this.am;
|
|
5004
5012
|
}
|
|
5005
5013
|
set readonly(a) {
|
|
5006
|
-
let b = this.
|
|
5007
|
-
this.
|
|
5008
|
-
if (b != this.
|
|
5009
|
-
this.g("IsReadOnly", b, this.
|
|
5014
|
+
let b = this.am;
|
|
5015
|
+
this.am = a;
|
|
5016
|
+
if (b != this.am) {
|
|
5017
|
+
this.g("IsReadOnly", b, this.am);
|
|
5010
5018
|
}
|
|
5011
5019
|
}
|
|
5012
5020
|
dd() {
|
|
@@ -5017,7 +5025,7 @@ export let XInput = /*@__PURE__*/ (() => {
|
|
|
5017
5025
|
onAttachedToUI() {
|
|
5018
5026
|
this.view.aj();
|
|
5019
5027
|
}
|
|
5020
|
-
|
|
5028
|
+
aw() {
|
|
5021
5029
|
return this.view.f();
|
|
5022
5030
|
}
|
|
5023
5031
|
bc() {
|
|
@@ -5032,19 +5040,19 @@ export let XInput = /*@__PURE__*/ (() => {
|
|
|
5032
5040
|
let b = this.view.o;
|
|
5033
5041
|
a.h = this.view.j.rootWrapper.getNativeElement().offsetTop;
|
|
5034
5042
|
a.f = this.view.j.rootWrapper.getNativeElement().offsetLeft;
|
|
5035
|
-
a.b = this.
|
|
5036
|
-
a.c = this.
|
|
5043
|
+
a.b = this.o;
|
|
5044
|
+
a.c = this.x;
|
|
5037
5045
|
a.j = this.b9;
|
|
5038
5046
|
a.m = this.cd;
|
|
5039
|
-
a.d = this.
|
|
5047
|
+
a.d = this.ar;
|
|
5040
5048
|
a.a = AppearanceHelper.a(NativeUI.ah(b));
|
|
5041
5049
|
a.i = this.b3;
|
|
5042
5050
|
a.l = this.cb;
|
|
5043
|
-
a.e = this.
|
|
5051
|
+
a.e = this.at;
|
|
5044
5052
|
a.t = this.cj;
|
|
5045
5053
|
a.k = this.e;
|
|
5046
|
-
if (this.
|
|
5047
|
-
let c = this.
|
|
5054
|
+
if (this.ab != null) {
|
|
5055
|
+
let c = this.ab;
|
|
5048
5056
|
if (this.view != null && c.n == null) {
|
|
5049
5057
|
let d = this.view.j;
|
|
5050
5058
|
let e = FontUtil.getFontInfoFromString(d, c.fontString);
|
|
@@ -5091,23 +5099,23 @@ export let XInput = /*@__PURE__*/ (() => {
|
|
|
5091
5099
|
this.view.ar();
|
|
5092
5100
|
}
|
|
5093
5101
|
dk(a) {
|
|
5094
|
-
this.
|
|
5102
|
+
this.ao = true;
|
|
5095
5103
|
let b = new MaskOptions();
|
|
5096
5104
|
b.a = this.b9;
|
|
5097
5105
|
b.b = this.cd;
|
|
5098
|
-
this.cj = this.
|
|
5106
|
+
this.cj = this.u.h(this.cj, b);
|
|
5099
5107
|
this.bl = this.cj;
|
|
5100
|
-
this.
|
|
5108
|
+
this.ao = false;
|
|
5101
5109
|
}
|
|
5102
5110
|
dj(a) {
|
|
5103
|
-
this.
|
|
5111
|
+
this.ao = true;
|
|
5104
5112
|
let b = new MaskOptions();
|
|
5105
5113
|
b.a = this.b9;
|
|
5106
5114
|
b.b = this.cd;
|
|
5107
|
-
if (a == this.
|
|
5115
|
+
if (a == this.u.h(null, b)) {
|
|
5108
5116
|
this.cj = "";
|
|
5109
5117
|
}
|
|
5110
|
-
this.
|
|
5118
|
+
this.ao = false;
|
|
5111
5119
|
}
|
|
5112
5120
|
dn(a) {
|
|
5113
5121
|
let b = new MaskOptions();
|
|
@@ -5116,8 +5124,8 @@ export let XInput = /*@__PURE__*/ (() => {
|
|
|
5116
5124
|
if (this.cd != null && this.cd.length > 1) {
|
|
5117
5125
|
b.b = this.cd.substr(0, 1);
|
|
5118
5126
|
}
|
|
5119
|
-
this.cj = a != null ? this.
|
|
5120
|
-
this.bf = this.
|
|
5127
|
+
this.cj = a != null ? this.u.h(a, b) : "";
|
|
5128
|
+
this.bf = this.ar ? this.cj : a;
|
|
5121
5129
|
if (this.changing != null) {
|
|
5122
5130
|
this.changing(this, ((() => {
|
|
5123
5131
|
let $ret = new InputChangeEventArgs();
|
|
@@ -5129,15 +5137,15 @@ export let XInput = /*@__PURE__*/ (() => {
|
|
|
5129
5137
|
}
|
|
5130
5138
|
cl() {
|
|
5131
5139
|
this.bl = this.cj;
|
|
5132
|
-
this.
|
|
5140
|
+
this.ag = false;
|
|
5133
5141
|
this.a4 = 0;
|
|
5134
5142
|
this.a3 = 0;
|
|
5135
|
-
this.
|
|
5143
|
+
this.q = 0;
|
|
5136
5144
|
}
|
|
5137
5145
|
a7() {
|
|
5138
5146
|
let a = this.view.n();
|
|
5139
5147
|
let b = this.view.m();
|
|
5140
|
-
return a == b && this.
|
|
5148
|
+
return a == b && this.ag ? b - this.bg.length : a;
|
|
5141
5149
|
}
|
|
5142
5150
|
a6() {
|
|
5143
5151
|
return this.view.m();
|
|
@@ -5154,38 +5162,38 @@ export let XInput = /*@__PURE__*/ (() => {
|
|
|
5154
5162
|
set selectionEnd(a) {
|
|
5155
5163
|
this.view.ax(a);
|
|
5156
5164
|
}
|
|
5157
|
-
get
|
|
5158
|
-
return this.
|
|
5165
|
+
get av() {
|
|
5166
|
+
return this.an;
|
|
5159
5167
|
}
|
|
5160
|
-
set
|
|
5161
|
-
let b = this.
|
|
5162
|
-
this.
|
|
5163
|
-
if (b != this.
|
|
5168
|
+
set av(a) {
|
|
5169
|
+
let b = this.an;
|
|
5170
|
+
this.an = a;
|
|
5171
|
+
if (b != this.an) {
|
|
5164
5172
|
this.g("IsShown", b, a);
|
|
5165
5173
|
}
|
|
5166
5174
|
}
|
|
5167
5175
|
dh(a, b = true) {
|
|
5168
|
-
let c = this.
|
|
5176
|
+
let c = this.ax;
|
|
5169
5177
|
if (!b) {
|
|
5170
|
-
this.
|
|
5178
|
+
this.ax = true;
|
|
5171
5179
|
}
|
|
5172
5180
|
try {
|
|
5173
|
-
this.
|
|
5181
|
+
this.av = a;
|
|
5174
5182
|
}
|
|
5175
5183
|
finally {
|
|
5176
5184
|
if (!b) {
|
|
5177
|
-
this.
|
|
5185
|
+
this.ax = c;
|
|
5178
5186
|
}
|
|
5179
5187
|
}
|
|
5180
5188
|
}
|
|
5181
5189
|
c1() {
|
|
5182
5190
|
this.co();
|
|
5183
|
-
this.de(this.
|
|
5191
|
+
this.de(this.ae, this.av);
|
|
5184
5192
|
}
|
|
5185
5193
|
co() {
|
|
5186
5194
|
this.view.ai();
|
|
5187
|
-
if (this.
|
|
5188
|
-
this.
|
|
5195
|
+
if (this.ae == null) {
|
|
5196
|
+
this.ae = KeyFrameAnimationFactory.f.c(this.view.a(this.i).m(new AnimationKeyFrameProperty(1, 0)).m(new AnimationKeyFrameProperty(1, 1)));
|
|
5189
5197
|
}
|
|
5190
5198
|
}
|
|
5191
5199
|
get i() {
|
|
@@ -5202,7 +5210,7 @@ export let XInput = /*@__PURE__*/ (() => {
|
|
|
5202
5210
|
else {
|
|
5203
5211
|
a.reverse();
|
|
5204
5212
|
}
|
|
5205
|
-
if (this.
|
|
5213
|
+
if (this.ax) {
|
|
5206
5214
|
a.finish();
|
|
5207
5215
|
a.commitStyles();
|
|
5208
5216
|
return;
|
|
@@ -5213,7 +5221,7 @@ export let XInput = /*@__PURE__*/ (() => {
|
|
|
5213
5221
|
XInput.$t = /*@__PURE__*/ markType(XInput, 'XInput', XInputGroupItem.$);
|
|
5214
5222
|
XInput.dw = /*@__PURE__*/ BrushUtil.g(221, 0, 0, 0);
|
|
5215
5223
|
XInput.dv = /*@__PURE__*/ BrushUtil.g(221, 0, 0, 0);
|
|
5216
|
-
XInput.
|
|
5224
|
+
XInput.ac = null;
|
|
5217
5225
|
XInput.bb = 0;
|
|
5218
5226
|
return XInput;
|
|
5219
5227
|
})();
|
package/esm2015/lib/KEYCODES.js
CHANGED
|
@@ -8,4 +8,4 @@ import { markEnum } from "igniteui-webcomponents-core";
|
|
|
8
8
|
/**
|
|
9
9
|
* @hidden
|
|
10
10
|
*/
|
|
11
|
-
export let 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 let 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');
|