igniteui-webcomponents-inputs 4.8.0 → 4.8.1-beta.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 +1046 -730
  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 +16 -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 +663 -467
  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 +58 -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 +16 -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 +685 -444
  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 +58 -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 +1007 -748
  28. package/fesm5/igniteui-webcomponents-inputs.js +1047 -731
  29. package/lib/CheckboxView_combined.d.ts +17 -16
  30. package/lib/IconView_combined.d.ts +150 -134
  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
@@ -24,12 +24,13 @@ export let IconVisualModelExport = /*@__PURE__*/ (() => {
24
24
  this.b = null;
25
25
  this.d = 0;
26
26
  this._svgPath = null;
27
- this.n = null;
27
+ this.j = null;
28
28
  this.o = null;
29
29
  this.p = null;
30
+ this.q = null;
30
31
  this.g = 0;
31
- this.l = null;
32
32
  this.m = null;
33
+ this.n = null;
33
34
  }
34
35
  get svgPath() {
35
36
  return this._svgPath;
@@ -37,7 +38,7 @@ export let IconVisualModelExport = /*@__PURE__*/ (() => {
37
38
  set svgPath(a) {
38
39
  this._svgPath = a;
39
40
  }
40
- j() {
41
+ k() {
41
42
  let a = new StringBuilder(0);
42
43
  a.l("{");
43
44
  a.l("actualFill : " + this.a.serialize() + ", ");
@@ -49,20 +50,21 @@ export let IconVisualModelExport = /*@__PURE__*/ (() => {
49
50
  a.l("height : " + this.e + ", ");
50
51
  a.l("width : " + this.i + ", ");
51
52
  a.l("svgPath : '" + this.svgPath + "', ");
52
- if (!stringIsNullOrEmpty(this.n)) {
53
- a.l("textStyleFontStyle : \"" + this.n + "\", ");
54
- }
53
+ a.l("dataURL : '" + this.j + "', ");
55
54
  if (!stringIsNullOrEmpty(this.o)) {
56
- a.l("textStyleFontVariant : \"" + this.o + "\", ");
55
+ a.l("textStyleFontStyle : \"" + this.o + "\", ");
57
56
  }
58
57
  if (!stringIsNullOrEmpty(this.p)) {
59
- a.l("textStyleFontWeight : \"" + this.p + "\", ");
58
+ a.l("textStyleFontVariant : \"" + this.p + "\", ");
60
59
  }
61
- if (!stringIsNullOrEmpty(this.l)) {
62
- a.l("textStyleFontFamily : \"" + this.l + "\", ");
60
+ if (!stringIsNullOrEmpty(this.q)) {
61
+ a.l("textStyleFontWeight : \"" + this.q + "\", ");
63
62
  }
64
63
  if (!stringIsNullOrEmpty(this.m)) {
65
- a.l("textStyleFontStretch : \"" + this.m + "\", ");
64
+ a.l("textStyleFontFamily : \"" + this.m + "\", ");
65
+ }
66
+ if (!stringIsNullOrEmpty(this.n)) {
67
+ a.l("textStyleFontStretch : \"" + this.n + "\", ");
66
68
  }
67
69
  if (!isNaN_(this.g)) {
68
70
  a.l("textStyleFontSize : " + this.g + ", ");
@@ -4670,30 +4670,30 @@ export let XLabel = /*@__PURE__*/ (() => {
4670
4670
  a.p = this.e;
4671
4671
  if (this.w != null) {
4672
4672
  let c = this.w;
4673
- if (this.view != null && c.p == null) {
4673
+ if (this.view != null && c.q == null) {
4674
4674
  let d = this.view.k;
4675
4675
  let e = FontUtil.getFontInfoFromString(d, c.fontString);
4676
- c.p = e.p;
4677
- c.e = e.e;
4678
4676
  c.q = e.q;
4679
- c.s = e.s;
4677
+ c.f = e.f;
4678
+ c.r = e.r;
4680
4679
  c.t = e.t;
4681
4680
  c.u = e.u;
4681
+ c.v = e.v;
4682
4682
  }
4683
- if (c.p != null) {
4684
- a.s = c.p;
4683
+ if (c.q != null) {
4684
+ a.s = c.q;
4685
4685
  }
4686
- if (!isNaN_(c.e)) {
4687
- a.k = c.e;
4686
+ if (!isNaN_(c.f)) {
4687
+ a.k = c.f;
4688
4688
  }
4689
- if (c.u != null) {
4690
- a.w = c.u;
4689
+ if (c.v != null) {
4690
+ a.w = c.v;
4691
4691
  }
4692
- if (c.s != null) {
4693
- a.u = c.s;
4692
+ if (c.t != null) {
4693
+ a.u = c.t;
4694
4694
  }
4695
- if (c.q != null) {
4696
- a.t = c.s;
4695
+ if (c.r != null) {
4696
+ a.t = c.t;
4697
4697
  }
4698
4698
  }
4699
4699
  return a;
@@ -4786,7 +4786,7 @@ export let XInput = /*@__PURE__*/ (() => {
4786
4786
  this.view = a;
4787
4787
  this.view.as();
4788
4788
  XInput.ae = new FontInfo();
4789
- XInput.ae.p = "Verdana";
4789
+ XInput.ae.q = "Verdana";
4790
4790
  }
4791
4791
  get view() {
4792
4792
  return this._view;
@@ -5344,30 +5344,30 @@ export let XInput = /*@__PURE__*/ (() => {
5344
5344
  a.k = this.e;
5345
5345
  if (this.ad != null) {
5346
5346
  let c = this.ad;
5347
- if (this.view != null && c.p == null) {
5347
+ if (this.view != null && c.q == null) {
5348
5348
  let d = this.view.l;
5349
5349
  let e = FontUtil.getFontInfoFromString(d, c.fontString);
5350
- c.p = e.p;
5351
- c.e = e.e;
5352
5350
  c.q = e.q;
5353
- c.s = e.s;
5351
+ c.f = e.f;
5352
+ c.r = e.r;
5354
5353
  c.t = e.t;
5355
5354
  c.u = e.u;
5355
+ c.v = e.v;
5356
5356
  }
5357
- if (c.p != null) {
5358
- a.o = c.p;
5357
+ if (c.q != null) {
5358
+ a.o = c.q;
5359
5359
  }
5360
- if (!isNaN_(c.e)) {
5361
- a.g = c.e;
5360
+ if (!isNaN_(c.f)) {
5361
+ a.g = c.f;
5362
5362
  }
5363
- if (c.u != null) {
5364
- a.s = c.u;
5363
+ if (c.v != null) {
5364
+ a.s = c.v;
5365
5365
  }
5366
- if (c.s != null) {
5367
- a.q = c.s;
5366
+ if (c.t != null) {
5367
+ a.q = c.t;
5368
5368
  }
5369
- if (c.q != null) {
5370
- a.p = c.s;
5369
+ if (c.r != null) {
5370
+ a.p = c.t;
5371
5371
  }
5372
5372
  }
5373
5373
  return a;
@@ -150,7 +150,7 @@ export let NativeUIXInputsFactory = /*@__PURE__*/ (() => {
150
150
  let o = new NativeUIButton();
151
151
  o.al = j;
152
152
  o.d = n;
153
- o.bj = i;
153
+ o.bk = i;
154
154
  b(o);
155
155
  }
156
156
  f(a, b) {
@@ -206,6 +206,12 @@ export let XButtonBridge = /*@__PURE__*/ (() => {
206
206
  case 58:
207
207
  d.aq = c;
208
208
  break;
209
+ case 17:
210
+ d.kt = c;
211
+ break;
212
+ case 11:
213
+ d.aa = c;
214
+ break;
209
215
  }
210
216
  }
211
217
  getValue(a, b) {
@@ -240,6 +246,7 @@ export let XButtonBridge = /*@__PURE__*/ (() => {
240
246
  case 57: return c.av;
241
247
  case 56: return c.as;
242
248
  case 58: return c.aq;
249
+ case 17: return c.kt;
243
250
  }
244
251
  return null;
245
252
  }
@@ -25,13 +25,16 @@ export let XIconBridge = /*@__PURE__*/ (() => {
25
25
  switch (b) {
26
26
  case 16: return this.v;
27
27
  case 15: return this.u;
28
- case 18: return enumGetBox(BaseControlTheme_$type, c.i);
29
- case 44: return c.al;
30
- case 45: return c.am;
31
- case 46: return c.an;
32
- case 47: return c.ak;
33
- case 48: return c.ao;
34
- case 49: return c.ag;
28
+ case 18: return enumGetBox(BaseControlTheme_$type, c.k);
29
+ case 44: return c.an;
30
+ case 45: return c.ao;
31
+ case 46: return c.ap;
32
+ case 47: return c.am;
33
+ case 48: return c.aq;
34
+ case 49: return c.ai;
35
+ case 62: return c.e;
36
+ case 63: return c.f;
37
+ case 64: return c.al;
35
38
  }
36
39
  return super.getValue(a, b);
37
40
  }
@@ -42,49 +45,73 @@ export let XIconBridge = /*@__PURE__*/ (() => {
42
45
  case 15:
43
46
  {
44
47
  this.u = c;
45
- let e = SvgIconRegistry.instance.getSvgPathString(this.u, this.v);
46
- if (e != null) {
47
- if (stringStartsWith(trimStart(e, ' ', '\n', '\r', '\t'), "<svg")) {
48
- d.svg = e;
49
- }
50
- else {
51
- d.svgPath = e;
52
- }
53
- }
48
+ this.w(d);
54
49
  }
55
50
  break;
56
51
  case 16:
57
52
  {
58
53
  this.v = c;
59
- let f = SvgIconRegistry.instance.getSvgPathString(this.u, this.v);
60
- if (f != null) {
61
- if (stringStartsWith(trimStart(f, ' ', '\n', '\r', '\t'), "<svg")) {
62
- d.svg = f;
63
- }
64
- else {
65
- d.svgPath = f;
66
- }
67
- }
54
+ this.w(d);
68
55
  }
69
56
  break;
70
57
  case 44:
71
- d.al = c;
58
+ d.an = c;
72
59
  break;
73
60
  case 45:
74
- d.am = c;
61
+ d.ao = c;
75
62
  break;
76
63
  case 46:
77
- d.an = c;
64
+ d.ap = c;
78
65
  break;
79
66
  case 47:
80
- d.ak = c;
67
+ d.am = c;
81
68
  break;
82
69
  case 48:
83
- d.ao = c;
70
+ d.aq = c;
84
71
  break;
85
72
  case 49:
86
- d.ag = c;
73
+ d.ai = c;
74
+ break;
75
+ case 62:
76
+ d.e = c;
77
+ break;
78
+ case 63:
79
+ d.f = c;
87
80
  break;
81
+ case 64:
82
+ d.al = c;
83
+ break;
84
+ }
85
+ }
86
+ getTargetForProperty(a, b) {
87
+ switch (a) {
88
+ case 24: return b;
89
+ }
90
+ return super.getTargetForProperty(a, b);
91
+ }
92
+ w(a) {
93
+ a.svg = null;
94
+ a.svgPath = null;
95
+ a.b = null;
96
+ let b = SvgIconRegistry.instance.getSvgPathString(this.u, this.v);
97
+ if (b != null) {
98
+ if (stringStartsWith(trimStart(b, ' ', '\n', '\r', '\t'), "<svg")) {
99
+ a.svg = b;
100
+ }
101
+ else {
102
+ a.svgPath = b;
103
+ }
104
+ return;
105
+ }
106
+ let c = SvgIconRegistry.instance.getSvgPathsString(this.u, this.v);
107
+ if (c != null) {
108
+ a.b = c;
109
+ return;
110
+ }
111
+ let d = SvgIconRegistry.instance.getDataURLString(this.u, this.v);
112
+ if (d != null) {
113
+ a.a7 = d;
114
+ return;
88
115
  }
89
116
  }
90
117
  }
@@ -35,7 +35,7 @@ export let XIconButtonBridge = /*@__PURE__*/ (() => {
35
35
  switch (a) {
36
36
  case 16:
37
37
  case 15:
38
- case 17: return this.al.t.view.o;
38
+ case 17: return this.al.t.view.s;
39
39
  }
40
40
  return super.getTargetForProperty(a, b);
41
41
  }