igniteui-webcomponents-inputs 1.4.2 → 3.2.2

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.
@@ -672,7 +672,7 @@ var LabelView = /** @class */ /*@__PURE__*/ (function (_super) {
672
672
  NativeUI.o(this.k.rootWrapper, this.c.cz);
673
673
  c.setStyleProperty("outline-style", "none");
674
674
  c.setStyleProperty("box-shadow", "none");
675
- c.setStyleProperty("font-family", "'Segoe UI', Verdana");
675
+ c.setStyleProperty("font-family", "Verdana");
676
676
  c.setStyleProperty("font-size", "1rem");
677
677
  this.l = c;
678
678
  this.k.append(this.l);
@@ -868,7 +868,7 @@ var InputView = /** @class */ /*@__PURE__*/ (function (_super) {
868
868
  enumerable: true,
869
869
  configurable: true
870
870
  });
871
- Object.defineProperty(InputView.prototype, "a4", {
871
+ Object.defineProperty(InputView.prototype, "a5", {
872
872
  get: function () {
873
873
  return null;
874
874
  },
@@ -933,7 +933,7 @@ var InputView = /** @class */ /*@__PURE__*/ (function (_super) {
933
933
  c.setStyleProperty("box-shadow", "none");
934
934
  c.setStyleProperty("border-top", "0.1875rem solid transparent");
935
935
  c.setStyleProperty("padding-bottom", "0.1875rem");
936
- c.setStyleProperty("font-family", "'Segoe UI', Verdana");
936
+ c.setStyleProperty("font-family", "Verdana");
937
937
  c.setStyleProperty("font-size", "1rem");
938
938
  this.h.add(c.listen("change", runOn(this, this.v)));
939
939
  this.h.add(c.listen("input", runOn(this, this.w)));
@@ -955,7 +955,7 @@ var InputView = /** @class */ /*@__PURE__*/ (function (_super) {
955
955
  this.j.append(this.k);
956
956
  this.b.dd();
957
957
  };
958
- InputView.prototype.av = function (a) {
958
+ InputView.prototype.aw = function (a) {
959
959
  if (a) {
960
960
  this.k.setAttribute("readonly", a.toString());
961
961
  }
@@ -991,7 +991,7 @@ var InputView = /** @class */ /*@__PURE__*/ (function (_super) {
991
991
  InputView.prototype.aq = function () {
992
992
  this.k.setAttribute("placeholder", this.b.cb);
993
993
  };
994
- InputView.prototype.a0 = function () {
994
+ InputView.prototype.a1 = function () {
995
995
  switch (this.b.w) {
996
996
  case 1:
997
997
  this.k.setStyleProperty("height", "2rem");
@@ -1007,7 +1007,7 @@ var InputView = /** @class */ /*@__PURE__*/ (function (_super) {
1007
1007
  break;
1008
1008
  }
1009
1009
  };
1010
- InputView.prototype.az = function () {
1010
+ InputView.prototype.a0 = function () {
1011
1011
  var _this = this;
1012
1012
  var a = new TransformGroup();
1013
1013
  a.j.add(((function () {
@@ -1032,6 +1032,9 @@ var InputView = /** @class */ /*@__PURE__*/ (function (_super) {
1032
1032
  InputView.prototype.at = function (a) {
1033
1033
  this.k.setProperty("value", a);
1034
1034
  };
1035
+ InputView.prototype.av = function (a) {
1036
+ this.k.setAttribute("name", a);
1037
+ };
1035
1038
  InputView.prototype.u = function (a) {
1036
1039
  this.b.cr();
1037
1040
  };
@@ -1039,20 +1042,20 @@ var InputView = /** @class */ /*@__PURE__*/ (function (_super) {
1039
1042
  this.b.cz();
1040
1043
  };
1041
1044
  InputView.prototype.af = function (a) {
1042
- var b = this.a3(a);
1045
+ var b = this.a4(a);
1043
1046
  this.b.c5(b);
1044
1047
  if (b.handled) {
1045
1048
  a.preventDefault();
1046
1049
  }
1047
1050
  };
1048
1051
  InputView.prototype.ag = function (a) {
1049
- var b = this.a3(a);
1052
+ var b = this.a4(a);
1050
1053
  this.b.c8(b);
1051
1054
  if (b.handled) {
1052
1055
  a.preventDefault();
1053
1056
  }
1054
1057
  };
1055
- InputView.prototype.a3 = function (a) {
1058
+ InputView.prototype.a4 = function (a) {
1056
1059
  var b = new MouseButtonEventArgs();
1057
1060
  b.position = { $type: Point_$type, x: a.offsetX, y: a.offsetY };
1058
1061
  return b;
@@ -1084,7 +1087,7 @@ var InputView = /** @class */ /*@__PURE__*/ (function (_super) {
1084
1087
  InputView.prototype.aa = function (a) {
1085
1088
  this.b.cy();
1086
1089
  };
1087
- InputView.prototype.a1 = function (a) {
1090
+ InputView.prototype.a2 = function (a) {
1088
1091
  if (this.p != a) {
1089
1092
  this.p = a;
1090
1093
  if (this.l != null) {
@@ -1105,10 +1108,10 @@ var InputView = /** @class */ /*@__PURE__*/ (function (_super) {
1105
1108
  var a = this.k.getProperty("selectionEnd");
1106
1109
  return typeGetValue(a);
1107
1110
  };
1108
- InputView.prototype.ay = function (a) {
1111
+ InputView.prototype.az = function (a) {
1109
1112
  this.k.setProperty("selectionStart", a);
1110
1113
  };
1111
- InputView.prototype.aw = function (a) {
1114
+ InputView.prototype.ax = function (a) {
1112
1115
  this.k.setProperty("selectionEnd", a);
1113
1116
  };
1114
1117
  InputView.prototype.ap = function () {
@@ -1162,7 +1165,7 @@ var InputView = /** @class */ /*@__PURE__*/ (function (_super) {
1162
1165
  }
1163
1166
  this.h.clear();
1164
1167
  };
1165
- InputView.prototype.a2 = function (a) {
1168
+ InputView.prototype.a3 = function (a) {
1166
1169
  if (a != null) {
1167
1170
  this.k.setStyleProperty("font", a.fontString);
1168
1171
  }
@@ -1184,7 +1187,7 @@ var InputView = /** @class */ /*@__PURE__*/ (function (_super) {
1184
1187
  nativeInput_.getNativeElement().select();
1185
1188
  }
1186
1189
  };
1187
- InputView.prototype.ax = function (a, b) {
1190
+ InputView.prototype.ay = function (a, b) {
1188
1191
  if (this.k != null) {
1189
1192
  var c = this.k.getNativeElement();
1190
1193
  c.setSelectionRange(a, b);
@@ -2160,7 +2163,7 @@ var XInputGroup = /** @class */ /*@__PURE__*/ (function (_super) {
2160
2163
  return new CornerRadius(1, !isNaN_(a.c) ? a.c : b.c, !isNaN_(a.d) ? a.d : b.d, !isNaN_(a.b) ? a.b : b.b, !isNaN_(a.a) ? a.a : b.a);
2161
2164
  };
2162
2165
  XInputGroup.tj = function (a, b) {
2163
- return new Thickness(1, !isNaN_(a.c) ? a.c : b.c, !isNaN_(a.e) ? a.e : b.e, !isNaN_(a.d) ? a.d : b.d, !isNaN_(a.b) ? a.b : b.b);
2166
+ return new Thickness(1, !isNaN_(a.left) ? a.left : b.left, !isNaN_(a.top) ? a.top : b.top, !isNaN_(a.right) ? a.right : b.right, !isNaN_(a.bottom) ? a.bottom : b.bottom);
2164
2167
  };
2165
2168
  XInputGroup.prototype.mq = function () {
2166
2169
  var _this = this;
@@ -2390,7 +2393,7 @@ var XInputGroup = /** @class */ /*@__PURE__*/ (function (_super) {
2390
2393
  configurable: true
2391
2394
  });
2392
2395
  XInputGroup.prototype.onChildrenMutated = function () {
2393
- this.l3(function (a) { return a.view.az(); });
2396
+ this.l3(function (a) { return a.view.a0(); });
2394
2397
  this.l4(function (a) { return a.view.af(); });
2395
2398
  this.l5(function (a) { return a.view.q(); });
2396
2399
  this.l6(function (a) { return a.view.q(); });
@@ -4344,7 +4347,7 @@ var XInputGroup = /** @class */ /*@__PURE__*/ (function (_super) {
4344
4347
  this.view.ag();
4345
4348
  };
4346
4349
  XInputGroup.prototype.ensureShift = function () {
4347
- this.l3(function (a) { return a.view.az(); });
4350
+ this.l3(function (a) { return a.view.a0(); });
4348
4351
  this.l4(function (a) { return a.view.af(); });
4349
4352
  this.l5(function (a) { return a.view.q(); });
4350
4353
  this.l6(function (a) { return a.view.q(); });
@@ -5537,7 +5540,7 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
5537
5540
  _this.view = a;
5538
5541
  _this.view.ao();
5539
5542
  XInput.ab = new FontInfo();
5540
- XInput.ab.n = "'Segoe UI', Verdana";
5543
+ XInput.ab.n = "Verdana";
5541
5544
  return _this;
5542
5545
  }
5543
5546
  Object.defineProperty(XInput.prototype, "view", {
@@ -5661,12 +5664,15 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
5661
5664
  }
5662
5665
  }
5663
5666
  break;
5667
+ case "Name":
5668
+ this.view.av(this.e);
5669
+ break;
5664
5670
  case "Density":
5665
5671
  this.w = this.x == 0 ? 1 : this.x;
5666
5672
  break;
5667
5673
  case "ActualDensity":
5674
+ this.view.a1();
5668
5675
  this.view.a0();
5669
- this.view.az();
5670
5676
  break;
5671
5677
  case "InputGroup":
5672
5678
  this.c0();
@@ -5692,7 +5698,7 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
5692
5698
  this.view.au(this.aj);
5693
5699
  break;
5694
5700
  case "IsReadOnly":
5695
- this.view.av(this.al);
5701
+ this.view.aw(this.al);
5696
5702
  break;
5697
5703
  }
5698
5704
  };
@@ -5703,10 +5709,10 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
5703
5709
  this.view.as();
5704
5710
  };
5705
5711
  XInput.prototype.db = function () {
5706
- this.view.az();
5712
+ this.view.a0();
5707
5713
  };
5708
5714
  XInput.prototype.c0 = function () {
5709
- this.view.az();
5715
+ this.view.a0();
5710
5716
  };
5711
5717
  XInput.prototype.dm = function () {
5712
5718
  this.du = this.dy != null ? this.dy : XInput.dw;
@@ -5715,7 +5721,7 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
5715
5721
  };
5716
5722
  XInput.prototype.dl = function () {
5717
5723
  if (this.aa != null) {
5718
- this.view.a2(this.aa);
5724
+ this.view.a3(this.aa);
5719
5725
  }
5720
5726
  NativeUI.o(this.view.o, this.du);
5721
5727
  };
@@ -6175,7 +6181,7 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
6175
6181
  return a;
6176
6182
  };
6177
6183
  XInput.prototype.di = function (a, b) {
6178
- this.view.ax(a, b);
6184
+ this.view.ay(a, b);
6179
6185
  };
6180
6186
  XInput.prototype.provideContainer = function (a) {
6181
6187
  this.view.al(a);
@@ -6252,7 +6258,7 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
6252
6258
  return this.a7();
6253
6259
  },
6254
6260
  set: function (a) {
6255
- this.view.ay(a);
6261
+ this.view.az(a);
6256
6262
  },
6257
6263
  enumerable: true,
6258
6264
  configurable: true
@@ -6262,7 +6268,7 @@ var XInput = /** @class */ /*@__PURE__*/ (function (_super) {
6262
6268
  return this.a6();
6263
6269
  },
6264
6270
  set: function (a) {
6265
- this.view.aw(a);
6271
+ this.view.ax(a);
6266
6272
  },
6267
6273
  enumerable: true,
6268
6274
  configurable: true
@@ -50,7 +50,7 @@ var InputGroupVisualModelExport = /** @class */ /*@__PURE__*/ (function (_super)
50
50
  a.l("actualBorderColor : " + this.b.serialize() + ", ");
51
51
  a.l("actualBorderWidth : " + this.o + ", ");
52
52
  a.l("actualFocusBorderWidth : " + this.p + ", ");
53
- a.l("actualContentPadding : { left: " + this.aa.c + ",top: " + this.aa.e + ",right: " + this.aa.d + ",bottom: " + this.aa.b + "},");
53
+ a.l("actualContentPadding : { left: " + this.aa.left + ",top: " + this.aa.top + ",right: " + this.aa.right + ",bottom: " + this.aa.bottom + "},");
54
54
  a.l("actualUnderlineWidth : " + this.x + ", ");
55
55
  a.l("actualUnderlineRippleWidth : " + this.w + ", ");
56
56
  a.l("actualBackgroundColor : " + this.a.serialize() + ", ");
@@ -124,6 +124,12 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
124
124
  IgcDatePickerComponent.prototype.afterContentInit = function () {
125
125
  this.i.notifySizeChanged();
126
126
  };
127
+ IgcDatePickerComponent.prototype.attributeSynced = function (name, value) {
128
+ // an attribute was set by the component renderer.
129
+ if (name === 'name') {
130
+ this.i.setName(value);
131
+ }
132
+ };
127
133
  Object.defineProperty(IgcDatePickerComponent.prototype, "i", {
128
134
  /**
129
135
  * @hidden
@@ -251,11 +257,11 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
251
257
  * Gets or sets the color to use for the text.
252
258
  */
253
259
  get: function () {
254
- return brushToString(this.i.dc);
260
+ return brushToString(this.i.dd);
255
261
  },
256
262
  set: function (v) {
257
- this.i.dc = stringToBrush(v);
258
- this._a("labelTextColor", brushToString(this.i.dc));
263
+ this.i.dd = stringToBrush(v);
264
+ this._a("labelTextColor", brushToString(this.i.dd));
259
265
  },
260
266
  enumerable: true,
261
267
  configurable: true
@@ -370,11 +376,11 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
370
376
  * Gets or Sets the text color
371
377
  */
372
378
  get: function () {
373
- return brushToString(this.i.dd);
379
+ return brushToString(this.i.de);
374
380
  },
375
381
  set: function (v) {
376
- this.i.dd = stringToBrush(v);
377
- this._a("textColor", brushToString(this.i.dd));
382
+ this.i.de = stringToBrush(v);
383
+ this._a("textColor", brushToString(this.i.de));
378
384
  },
379
385
  enumerable: true,
380
386
  configurable: true
@@ -384,11 +390,11 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
384
390
  * Gets or Sets the text color
385
391
  */
386
392
  get: function () {
387
- return brushToString(this.i.db);
393
+ return brushToString(this.i.dc);
388
394
  },
389
395
  set: function (v) {
390
- this.i.db = stringToBrush(v);
391
- this._a("iconColor", brushToString(this.i.db));
396
+ this.i.dc = stringToBrush(v);
397
+ this._a("iconColor", brushToString(this.i.dc));
392
398
  },
393
399
  enumerable: true,
394
400
  configurable: true