igniteui-angular 12.3.25 → 12.3.26

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.
@@ -20448,22 +20448,22 @@
20448
20448
  };
20449
20449
  /** @hidden @internal */
20450
20450
  IgxInputDirective.prototype.change = function (event) {
20451
- var e_1, _a;
20451
+ var e_1, _c;
20452
20452
  if (this.type === 'file') {
20453
20453
  var fileList = event.target
20454
20454
  .files;
20455
20455
  var fileArray = [];
20456
20456
  if (fileList) {
20457
20457
  try {
20458
- for (var _b = __values(Array.from(fileList)), _c = _b.next(); !_c.done; _c = _b.next()) {
20459
- var file = _c.value;
20458
+ for (var _d = __values(Array.from(fileList)), _e = _d.next(); !_e.done; _e = _d.next()) {
20459
+ var file = _e.value;
20460
20460
  fileArray.push(file);
20461
20461
  }
20462
20462
  }
20463
20463
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
20464
20464
  finally {
20465
20465
  try {
20466
- if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
20466
+ if (_e && !_e.done && (_c = _d.return)) _c.call(_d);
20467
20467
  }
20468
20468
  finally { if (e_1) throw e_1.error; }
20469
20469
  }
@@ -20484,6 +20484,8 @@
20484
20484
  });
20485
20485
  /** @hidden @internal */
20486
20486
  IgxInputDirective.prototype.clear = function () {
20487
+ var _a, _b;
20488
+ (_b = (_a = this.ngControl) === null || _a === void 0 ? void 0 : _a.control) === null || _b === void 0 ? void 0 : _b.setValue('');
20487
20489
  this.nativeElement.value = null;
20488
20490
  this._fileNames = '';
20489
20491
  };
@@ -20630,7 +20632,7 @@
20630
20632
  * @internal
20631
20633
  */
20632
20634
  IgxInputDirective.prototype._hasValidators = function () {
20633
- var e_2, _a;
20635
+ var e_2, _c;
20634
20636
  try {
20635
20637
  for (var nativeValidationAttributes_1 = __values(nativeValidationAttributes), nativeValidationAttributes_1_1 = nativeValidationAttributes_1.next(); !nativeValidationAttributes_1_1.done; nativeValidationAttributes_1_1 = nativeValidationAttributes_1.next()) {
20636
20638
  var nativeValidationAttribute = nativeValidationAttributes_1_1.value;
@@ -20642,7 +20644,7 @@
20642
20644
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
20643
20645
  finally {
20644
20646
  try {
20645
- if (nativeValidationAttributes_1_1 && !nativeValidationAttributes_1_1.done && (_a = nativeValidationAttributes_1.return)) _a.call(nativeValidationAttributes_1);
20647
+ if (nativeValidationAttributes_1_1 && !nativeValidationAttributes_1_1.done && (_c = nativeValidationAttributes_1.return)) _c.call(nativeValidationAttributes_1);
20646
20648
  }
20647
20649
  finally { if (e_2) throw e_2.error; }
20648
20650
  }
@@ -82946,7 +82948,10 @@
82946
82948
  set: function (value) {
82947
82949
  if (this.owner) {
82948
82950
  // reset sibling sizes when pane collapse state changes.
82949
- this._getSiblings().forEach(function (sibling) { return sibling.size = 'auto'; });
82951
+ this._getSiblings().forEach(function (sibling) {
82952
+ sibling.size = 'auto';
82953
+ sibling.dragSize = null;
82954
+ });
82950
82955
  }
82951
82956
  this._collapsed = value;
82952
82957
  this.display = this._collapsed ? 'none' : 'flex';