igniteui-webcomponents-inputs 4.7.2 → 4.8.1-alpha.0

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.
Files changed (34) hide show
  1. package/bundles/igniteui-webcomponents-inputs.umd.js +1123 -821
  2. package/bundles/igniteui-webcomponents-inputs.umd.min.js +1 -1
  3. package/esm2015/lib/ButtonView_combined.js +22 -22
  4. package/esm2015/lib/CalendarView_combined.js +14 -14
  5. package/esm2015/lib/CheckboxView_combined.js +73 -67
  6. package/esm2015/lib/DatePickerView_combined.js +14 -14
  7. package/esm2015/lib/IconView_combined.js +659 -472
  8. package/esm2015/lib/IconVisualModelExport.js +13 -11
  9. package/esm2015/lib/InputGroupView_combined.js +29 -29
  10. package/esm2015/lib/NativeUIXInputsFactory.js +1 -1
  11. package/esm2015/lib/XButtonBridge.js +7 -0
  12. package/esm2015/lib/XIconBridge.js +55 -31
  13. package/esm2015/lib/XIconButtonBridge.js +1 -1
  14. package/esm2015/lib/igc-x-icon-component.js +113 -91
  15. package/esm5/lib/ButtonView_combined.js +22 -22
  16. package/esm5/lib/CalendarView_combined.js +14 -14
  17. package/esm5/lib/CheckboxView_combined.js +77 -67
  18. package/esm5/lib/DatePickerView_combined.js +14 -14
  19. package/esm5/lib/IconView_combined.js +678 -446
  20. package/esm5/lib/IconVisualModelExport.js +13 -11
  21. package/esm5/lib/InputGroupView_combined.js +29 -29
  22. package/esm5/lib/NativeUIXInputsFactory.js +1 -1
  23. package/esm5/lib/XButtonBridge.js +7 -0
  24. package/esm5/lib/XIconBridge.js +55 -31
  25. package/esm5/lib/XIconButtonBridge.js +1 -1
  26. package/esm5/lib/igc-x-icon-component.js +121 -91
  27. package/fesm2015/igniteui-webcomponents-inputs.js +995 -750
  28. package/fesm5/igniteui-webcomponents-inputs.js +1124 -822
  29. package/lib/CheckboxView_combined.d.ts +17 -16
  30. package/lib/IconView_combined.d.ts +155 -136
  31. package/lib/IconVisualModelExport.d.ts +4 -3
  32. package/lib/XIconBridge.d.ts +3 -0
  33. package/lib/igc-x-icon-component.d.ts +10 -0
  34. package/package.json +2 -2
@@ -25,12 +25,13 @@ var IconVisualModelExport = /** @class */ /*@__PURE__*/ (function (_super) {
25
25
  _this.b = null;
26
26
  _this.d = 0;
27
27
  _this._svgPath = null;
28
- _this.n = null;
28
+ _this.j = null;
29
29
  _this.o = null;
30
30
  _this.p = null;
31
+ _this.q = null;
31
32
  _this.g = 0;
32
- _this.l = null;
33
33
  _this.m = null;
34
+ _this.n = null;
34
35
  return _this;
35
36
  }
36
37
  Object.defineProperty(IconVisualModelExport.prototype, "svgPath", {
@@ -43,7 +44,7 @@ var IconVisualModelExport = /** @class */ /*@__PURE__*/ (function (_super) {
43
44
  enumerable: false,
44
45
  configurable: true
45
46
  });
46
- IconVisualModelExport.prototype.j = function () {
47
+ IconVisualModelExport.prototype.k = function () {
47
48
  var a = new StringBuilder(0);
48
49
  a.l("{");
49
50
  a.l("actualFill : " + this.a.serialize() + ", ");
@@ -55,20 +56,21 @@ var IconVisualModelExport = /** @class */ /*@__PURE__*/ (function (_super) {
55
56
  a.l("height : " + this.e + ", ");
56
57
  a.l("width : " + this.i + ", ");
57
58
  a.l("svgPath : '" + this.svgPath + "', ");
58
- if (!stringIsNullOrEmpty(this.n)) {
59
- a.l("textStyleFontStyle : \"" + this.n + "\", ");
60
- }
59
+ a.l("dataURL : '" + this.j + "', ");
61
60
  if (!stringIsNullOrEmpty(this.o)) {
62
- a.l("textStyleFontVariant : \"" + this.o + "\", ");
61
+ a.l("textStyleFontStyle : \"" + this.o + "\", ");
63
62
  }
64
63
  if (!stringIsNullOrEmpty(this.p)) {
65
- a.l("textStyleFontWeight : \"" + this.p + "\", ");
64
+ a.l("textStyleFontVariant : \"" + this.p + "\", ");
66
65
  }
67
- if (!stringIsNullOrEmpty(this.l)) {
68
- a.l("textStyleFontFamily : \"" + this.l + "\", ");
66
+ if (!stringIsNullOrEmpty(this.q)) {
67
+ a.l("textStyleFontWeight : \"" + this.q + "\", ");
69
68
  }
70
69
  if (!stringIsNullOrEmpty(this.m)) {
71
- a.l("textStyleFontStretch : \"" + this.m + "\", ");
70
+ a.l("textStyleFontFamily : \"" + this.m + "\", ");
71
+ }
72
+ if (!stringIsNullOrEmpty(this.n)) {
73
+ a.l("textStyleFontStretch : \"" + this.n + "\", ");
72
74
  }
73
75
  if (!isNaN_(this.g)) {
74
76
  a.l("textStyleFontSize : " + this.g + ", ");
@@ -5674,30 +5674,30 @@ var XLabel = /** @class */ /*@__PURE__*/ (function (_super) {
5674
5674
  a.p = this.e;
5675
5675
  if (this.w != null) {
5676
5676
  var c = this.w;
5677
- if (this.view != null && c.p == null) {
5677
+ if (this.view != null && c.q == null) {
5678
5678
  var d = this.view.k;
5679
5679
  var e = FontUtil.getFontInfoFromString(d, c.fontString);
5680
- c.p = e.p;
5681
- c.e = e.e;
5682
5680
  c.q = e.q;
5683
- c.s = e.s;
5681
+ c.f = e.f;
5682
+ c.r = e.r;
5684
5683
  c.t = e.t;
5685
5684
  c.u = e.u;
5685
+ c.v = e.v;
5686
5686
  }
5687
- if (c.p != null) {
5688
- a.s = c.p;
5687
+ if (c.q != null) {
5688
+ a.s = c.q;
5689
5689
  }
5690
- if (!isNaN_(c.e)) {
5691
- a.k = c.e;
5690
+ if (!isNaN_(c.f)) {
5691
+ a.k = c.f;
5692
5692
  }
5693
- if (c.u != null) {
5694
- a.w = c.u;
5693
+ if (c.v != null) {
5694
+ a.w = c.v;
5695
5695
  }
5696
- if (c.s != null) {
5697
- a.u = c.s;
5696
+ if (c.t != null) {
5697
+ a.u = c.t;
5698
5698
  }
5699
- if (c.q != null) {
5700
- a.t = c.s;
5699
+ if (c.r != null) {
5700
+ a.t = c.t;
5701
5701
  }
5702
5702
  }
5703
5703
  return a;
@@ -5790,7 +5790,7 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
5790
5790
  _this.view = a;
5791
5791
  _this.view.as();
5792
5792
  XInput.ae = new FontInfo();
5793
- XInput.ae.p = "Verdana";
5793
+ XInput.ae.q = "Verdana";
5794
5794
  return _this;
5795
5795
  }
5796
5796
  Object.defineProperty(XInput.prototype, "view", {
@@ -6463,30 +6463,30 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
6463
6463
  a.k = this.e;
6464
6464
  if (this.ad != null) {
6465
6465
  var c = this.ad;
6466
- if (this.view != null && c.p == null) {
6466
+ if (this.view != null && c.q == null) {
6467
6467
  var d = this.view.l;
6468
6468
  var e = FontUtil.getFontInfoFromString(d, c.fontString);
6469
- c.p = e.p;
6470
- c.e = e.e;
6471
6469
  c.q = e.q;
6472
- c.s = e.s;
6470
+ c.f = e.f;
6471
+ c.r = e.r;
6473
6472
  c.t = e.t;
6474
6473
  c.u = e.u;
6474
+ c.v = e.v;
6475
6475
  }
6476
- if (c.p != null) {
6477
- a.o = c.p;
6476
+ if (c.q != null) {
6477
+ a.o = c.q;
6478
6478
  }
6479
- if (!isNaN_(c.e)) {
6480
- a.g = c.e;
6479
+ if (!isNaN_(c.f)) {
6480
+ a.g = c.f;
6481
6481
  }
6482
- if (c.u != null) {
6483
- a.s = c.u;
6482
+ if (c.v != null) {
6483
+ a.s = c.v;
6484
6484
  }
6485
- if (c.s != null) {
6486
- a.q = c.s;
6485
+ if (c.t != null) {
6486
+ a.q = c.t;
6487
6487
  }
6488
- if (c.q != null) {
6489
- a.p = c.s;
6488
+ if (c.r != null) {
6489
+ a.p = c.t;
6490
6490
  }
6491
6491
  }
6492
6492
  return a;
@@ -160,7 +160,7 @@ var NativeUIXInputsFactory = /** @class */ /*@__PURE__*/ (function (_super) {
160
160
  var o = new NativeUIButton();
161
161
  o.al = j;
162
162
  o.d = n;
163
- o.bj = i;
163
+ o.bk = i;
164
164
  b(o);
165
165
  };
166
166
  NativeUIXInputsFactory.prototype.f = function (a, b) {
@@ -208,6 +208,12 @@ var XButtonBridge = /** @class */ /*@__PURE__*/ (function (_super) {
208
208
  case 58:
209
209
  d.aq = c;
210
210
  break;
211
+ case 17:
212
+ d.kt = c;
213
+ break;
214
+ case 11:
215
+ d.aa = c;
216
+ break;
211
217
  }
212
218
  };
213
219
  XButtonBridge.prototype.getValue = function (a, b) {
@@ -242,6 +248,7 @@ var XButtonBridge = /** @class */ /*@__PURE__*/ (function (_super) {
242
248
  case 57: return c.av;
243
249
  case 56: return c.as;
244
250
  case 58: return c.aq;
251
+ case 17: return c.kt;
245
252
  }
246
253
  return null;
247
254
  };
@@ -27,13 +27,16 @@ var XIconBridge = /** @class */ /*@__PURE__*/ (function (_super) {
27
27
  switch (b) {
28
28
  case 16: return this.v;
29
29
  case 15: return this.u;
30
- case 18: return enumGetBox(BaseControlTheme_$type, c.i);
31
- case 44: return c.al;
32
- case 45: return c.am;
33
- case 46: return c.an;
34
- case 47: return c.ak;
35
- case 48: return c.ao;
36
- case 49: return c.ag;
30
+ case 18: return enumGetBox(BaseControlTheme_$type, c.k);
31
+ case 44: return c.an;
32
+ case 45: return c.ao;
33
+ case 46: return c.ap;
34
+ case 47: return c.am;
35
+ case 48: return c.aq;
36
+ case 49: return c.ai;
37
+ case 62: return c.e;
38
+ case 63: return c.f;
39
+ case 64: return c.al;
37
40
  }
38
41
  return _super.prototype.getValue.call(this, a, b);
39
42
  };
@@ -44,49 +47,70 @@ var XIconBridge = /** @class */ /*@__PURE__*/ (function (_super) {
44
47
  case 15:
45
48
  {
46
49
  this.u = c;
47
- var e = SvgIconRegistry.instance.getSvgPathString(this.u, this.v);
48
- if (e != null) {
49
- if (stringStartsWith(trimStart(e, ' ', '\n', '\r', '\t'), "<svg")) {
50
- d.svg = e;
51
- }
52
- else {
53
- d.svgPath = e;
54
- }
55
- }
50
+ this.w(d);
56
51
  }
57
52
  break;
58
53
  case 16:
59
54
  {
60
55
  this.v = c;
61
- var f = SvgIconRegistry.instance.getSvgPathString(this.u, this.v);
62
- if (f != null) {
63
- if (stringStartsWith(trimStart(f, ' ', '\n', '\r', '\t'), "<svg")) {
64
- d.svg = f;
65
- }
66
- else {
67
- d.svgPath = f;
68
- }
69
- }
56
+ this.w(d);
70
57
  }
71
58
  break;
72
59
  case 44:
73
- d.al = c;
60
+ d.an = c;
74
61
  break;
75
62
  case 45:
76
- d.am = c;
63
+ d.ao = c;
77
64
  break;
78
65
  case 46:
79
- d.an = c;
66
+ d.ap = c;
80
67
  break;
81
68
  case 47:
82
- d.ak = c;
69
+ d.am = c;
83
70
  break;
84
71
  case 48:
85
- d.ao = c;
72
+ d.aq = c;
86
73
  break;
87
74
  case 49:
88
- d.ag = c;
75
+ d.ai = c;
76
+ break;
77
+ case 62:
78
+ d.e = c;
79
+ break;
80
+ case 63:
81
+ d.f = c;
89
82
  break;
83
+ case 64:
84
+ d.al = c;
85
+ break;
86
+ }
87
+ };
88
+ XIconBridge.prototype.getTargetForProperty = function (a, b) {
89
+ switch (a) {
90
+ case 24: return b;
91
+ }
92
+ return _super.prototype.getTargetForProperty.call(this, a, b);
93
+ };
94
+ XIconBridge.prototype.w = function (a) {
95
+ var b = SvgIconRegistry.instance.getSvgPathString(this.u, this.v);
96
+ if (b != null) {
97
+ if (stringStartsWith(trimStart(b, ' ', '\n', '\r', '\t'), "<svg")) {
98
+ a.svg = b;
99
+ }
100
+ else {
101
+ a.svgPath = b;
102
+ }
103
+ return;
104
+ }
105
+ var c = SvgIconRegistry.instance.getSvgPathsString(this.u, this.v);
106
+ if (c != null) {
107
+ a.b = c;
108
+ return;
109
+ }
110
+ var d = SvgIconRegistry.instance.getDataURLString(this.u, this.v);
111
+ if (d != null) {
112
+ a.a7 = d;
113
+ return;
90
114
  }
91
115
  };
92
116
  XIconBridge.$t = markType(XIconBridge, 'XIconBridge', XComponentBridge.$);
@@ -37,7 +37,7 @@ var XIconButtonBridge = /** @class */ /*@__PURE__*/ (function (_super) {
37
37
  switch (a) {
38
38
  case 16:
39
39
  case 15:
40
- case 17: return this.al.t.view.o;
40
+ case 17: return this.al.t.view.t;
41
41
  }
42
42
  return _super.prototype.getTargetForProperty.call(this, a, b);
43
43
  };