igniteui-angular 16.0.0-beta.1 → 16.0.0-beta.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.
Files changed (71) hide show
  1. package/esm2022/lib/banner/banner.component.mjs +12 -12
  2. package/esm2022/lib/calendar/calendar-base.mjs +1 -1
  3. package/esm2022/lib/calendar/calendar.mjs +2 -1
  4. package/esm2022/lib/card/card.component.mjs +1 -2
  5. package/esm2022/lib/chips/chip.component.mjs +2 -2
  6. package/esm2022/lib/data-operations/data-util.mjs +1 -1
  7. package/esm2022/lib/data-operations/filtering-strategy.mjs +1 -1
  8. package/esm2022/lib/data-operations/pivot-sort-strategy.mjs +1 -1
  9. package/esm2022/lib/data-operations/pivot-strategy.mjs +3 -3
  10. package/esm2022/lib/data-operations/sorting-strategy.mjs +3 -3
  11. package/esm2022/lib/date-common/picker-base.directive.mjs +1 -2
  12. package/esm2022/lib/date-range-picker/date-range-picker.component.mjs +1 -2
  13. package/esm2022/lib/directives/autocomplete/autocomplete.directive.mjs +1 -3
  14. package/esm2022/lib/directives/drag-drop/drag-drop.directive.mjs +2 -2
  15. package/esm2022/lib/directives/for-of/for_of.directive.mjs +1 -1
  16. package/esm2022/lib/directives/mask/mask-parsing.service.mjs +4 -5
  17. package/esm2022/lib/directives/mask/mask.directive.mjs +1 -2
  18. package/esm2022/lib/expansion-panel/expansion-panel-header.component.mjs +1 -3
  19. package/esm2022/lib/grids/columns/column.component.mjs +2 -1
  20. package/esm2022/lib/grids/columns/interfaces.mjs +1 -1
  21. package/esm2022/lib/grids/columns/templates.directive.mjs +1 -8
  22. package/esm2022/lib/grids/common/strategy.mjs +1 -1
  23. package/esm2022/lib/grids/filtering/excel-style/excel-style-filtering.component.mjs +2 -2
  24. package/esm2022/lib/grids/filtering/excel-style/excel-style-search.component.mjs +1 -2
  25. package/esm2022/lib/grids/grid/grid.directives.mjs +1 -11
  26. package/esm2022/lib/grids/grid-base.directive.mjs +3 -5
  27. package/esm2022/lib/grids/grid-public-cell.mjs +12 -12
  28. package/esm2022/lib/grids/grid.rowEdit.directive.mjs +1 -5
  29. package/esm2022/lib/grids/pivot-grid/pivot-data-selector.component.mjs +1 -3
  30. package/esm2022/lib/grids/pivot-grid/pivot-grid.component.mjs +2 -2
  31. package/esm2022/lib/grids/pivot-grid/pivot-grid.directives.mjs +1 -2
  32. package/esm2022/lib/grids/pivot-grid/pivot-grid.pipes.mjs +2 -2
  33. package/esm2022/lib/grids/pivot-grid/pivot-header-row.component.mjs +5 -5
  34. package/esm2022/lib/grids/pivot-grid/pivot-row.component.mjs +2 -2
  35. package/esm2022/lib/grids/resizing/pivot-grid/pivot-resize-handle.directive.mjs +1 -2
  36. package/esm2022/lib/grids/row-drag.directive.mjs +1 -3
  37. package/esm2022/lib/grids/selection/row-selectors.mjs +1 -4
  38. package/esm2022/lib/grids/state.directive.mjs +2 -2
  39. package/esm2022/lib/grids/summaries/grid-root-summary.pipe.mjs +1 -1
  40. package/esm2022/lib/grids/toolbar/common.mjs +1 -2
  41. package/esm2022/lib/grids/tree-grid/tree-grid-api.service.mjs +2 -2
  42. package/esm2022/lib/grids/tree-grid/tree-grid.component.mjs +1 -2
  43. package/esm2022/lib/grids/tree-grid/tree-grid.filtering.strategy.mjs +1 -1
  44. package/esm2022/lib/grids/tree-grid/tree-grid.grouping.pipe.mjs +1 -1
  45. package/esm2022/lib/icon/icon.service.mjs +2 -2
  46. package/esm2022/lib/services/excel/excel-files.mjs +2 -2
  47. package/esm2022/lib/services/excel/worksheet-data-dictionary.mjs +1 -1
  48. package/esm2022/lib/services/exporter-common/base-export-service.mjs +2 -2
  49. package/esm2022/lib/services/transaction/igx-transaction.mjs +1 -1
  50. package/esm2022/lib/services/transaction/transaction-factory.service.mjs +1 -2
  51. package/esm2022/lib/splitter/splitter-pane/splitter-pane.component.mjs +1 -3
  52. package/esm2022/lib/tabs/tab-content.directive.mjs +1 -2
  53. package/esm2022/lib/tabs/tab-header.directive.mjs +1 -2
  54. package/esm2022/lib/tabs/tab-item.directive.mjs +1 -2
  55. package/esm2022/lib/tabs/tabs/tabs.component.mjs +1 -2
  56. package/esm2022/lib/tree/tree-navigation.service.mjs +1 -1
  57. package/esm2022/lib/tree/tree-node/tree-node.component.mjs +1 -3
  58. package/esm2022/lib/tree/tree-selection.service.mjs +1 -2
  59. package/fesm2022/igniteui-angular.mjs +48 -100
  60. package/fesm2022/igniteui-angular.mjs.map +1 -1
  61. package/lib/banner/banner.component.d.ts +9 -9
  62. package/lib/directives/for-of/for_of.directive.d.ts +1 -1
  63. package/lib/grids/columns/column.component.d.ts +1 -1
  64. package/lib/grids/columns/interfaces.d.ts +1 -2
  65. package/lib/grids/grid-base.directive.d.ts +1 -1
  66. package/lib/grids/grid-public-cell.d.ts +8 -8
  67. package/migrations/common/UpdateChanges.js +2 -3
  68. package/migrations/common/util.js +3 -1
  69. package/migrations/update-13_0_0/index.js +4 -4
  70. package/package.json +5 -5
  71. package/schematics/tsconfig.tsbuildinfo +1 -1
@@ -2206,8 +2206,8 @@ class GroupMemberCountSortingStrategy {
2206
2206
  }, {});
2207
2207
  }
2208
2208
  compareObjects(obj1, obj2, data, fieldName, reverse) {
2209
- let firstItemValuesLength = data[obj1[fieldName]].length;
2210
- let secondItemValuesLength = data[obj2[fieldName]].length;
2209
+ const firstItemValuesLength = data[obj1[fieldName]].length;
2210
+ const secondItemValuesLength = data[obj2[fieldName]].length;
2211
2211
  return reverse * (firstItemValuesLength - secondItemValuesLength);
2212
2212
  }
2213
2213
  }
@@ -3583,7 +3583,7 @@ class IgxBaseExporter {
3583
3583
  summaryCacheMap.delete(GRID_ROOT_SUMMARY);
3584
3584
  break;
3585
3585
  case GridSummaryCalculationMode.rootLevelOnly:
3586
- for (let k of summaryCacheMap.keys()) {
3586
+ for (const k of summaryCacheMap.keys()) {
3587
3587
  if (k !== GRID_ROOT_SUMMARY) {
3588
3588
  summaryCacheMap.delete(k);
3589
3589
  }
@@ -5029,7 +5029,7 @@ class WorksheetFile {
5029
5029
  || fullRow.type === ExportRecordType.HierarchicalGridRecord
5030
5030
  || fullRow.type === ExportRecordType.TreeGridRecord;
5031
5031
  this.firstDataRow = this.firstDataRow > this.rowIndex ? this.rowIndex : this.firstDataRow;
5032
- let cellValue = worksheetData.isSpecialData ?
5032
+ const cellValue = worksheetData.isSpecialData ?
5033
5033
  fullRow.data :
5034
5034
  fullRow.data[key];
5035
5035
  if (cellValue === GRID_LEVEL_COL || key === GRID_LEVEL_COL) {
@@ -8349,7 +8349,6 @@ class IgxHierarchicalTransactionFactory extends IgxFlatTransactionFactory {
8349
8349
  switch (type) {
8350
8350
  case ("Base" /* TRANSACTION_TYPE.Base */):
8351
8351
  return new IgxHierarchicalTransactionService();
8352
- ;
8353
8352
  default:
8354
8353
  return new IgxBaseTransactionService();
8355
8354
  }
@@ -10353,7 +10352,7 @@ class IgxIconService {
10353
10352
  * @hidden
10354
10353
  */
10355
10354
  cacheSvgIcon(name, value, family = this._family, stripMeta) {
10356
- family = !!family ? family : this._family;
10355
+ family = family ? family : this._family;
10357
10356
  if (this._platformUtil?.isBrowser && name && value) {
10358
10357
  const doc = this._domParser.parseFromString(value, 'image/svg+xml');
10359
10358
  const svg = doc.querySelector('svg');
@@ -11347,7 +11346,6 @@ class IgxAutocompleteDirective extends IgxDropDownItemNavigationDirective {
11347
11346
  this.nativeElement.value = newValue;
11348
11347
  }
11349
11348
  }
11350
- ;
11351
11349
  highlightFirstItem() {
11352
11350
  if (this.target.focusedItem) {
11353
11351
  this.target.focusedItem.focused = false;
@@ -11356,7 +11354,6 @@ class IgxAutocompleteDirective extends IgxDropDownItemNavigationDirective {
11356
11354
  this.target.navigateFirst();
11357
11355
  this.cdr.detectChanges();
11358
11356
  }
11359
- ;
11360
11357
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: IgxAutocompleteDirective, deps: [{ token: NgModel, optional: true, self: true }, { token: FormControlName, optional: true, self: true }, { token: IgxInputGroupComponent, optional: true }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
11361
11358
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-rc.4", type: IgxAutocompleteDirective, isStandalone: true, selector: "[igxAutocomplete]", inputs: { target: ["igxAutocomplete", "target"], autocompleteSettings: ["igxAutocompleteSettings", "autocompleteSettings"], disabled: ["igxAutocompleteDisabled", "disabled"] }, outputs: { selectionChanging: "selectionChanging" }, host: { listeners: { "input": "onInput()", "compositionstart": "onCompositionStart()", "compositionend": "onCompositionEnd()", "keydown.ArrowDown": "onArrowDown($event)", "keydown.Alt.ArrowDown": "onArrowDown($event)", "keydown.ArrowUp": "onArrowDown($event)", "keydown.Alt.ArrowUp": "onArrowDown($event)", "keydown.Tab": "onTab()", "keydown.Shift.Tab": "onTab()" }, properties: { "attr.autocomplete": "this.autofill", "attr.role": "this.role", "attr.aria-expanded": "this.ariaExpanded", "attr.aria-haspopup": "this.hasPopUp", "attr.aria-owns": "this.ariaOwns", "attr.aria-activedescendant": "this.ariaActiveDescendant", "attr.aria-autocomplete": "this.ariaAutocomplete" } }, exportAs: ["igxAutocomplete"], usesInheritance: true, ngImport: i0 }); }
11362
11359
  }
@@ -12609,7 +12606,7 @@ class IgxDragDirective {
12609
12606
  let targetElements = [];
12610
12607
  // Check for shadowRoot instance and use it if present
12611
12608
  for (const elFromPoint of elementsFromPoint) {
12612
- if (!!elFromPoint?.shadowRoot) {
12609
+ if (elFromPoint?.shadowRoot) {
12613
12610
  targetElements = targetElements.concat(this.getFromShadowRoot(elFromPoint, pageX, pageY, elementsFromPoint));
12614
12611
  }
12615
12612
  else if (targetElements.indexOf(elFromPoint) === -1) {
@@ -16209,7 +16206,6 @@ const REGEX = new Map([
16209
16206
  ['9', /[\d\p{Separator}]/u],
16210
16207
  ['#', /[\d\-+]/], // Numeric and sign
16211
16208
  ]);
16212
- ;
16213
16209
  const replaceCharAt = (string, idx, char) => `${string.substring(0, idx)}${char}${string.substring(idx + 1)}`;
16214
16210
  function parseMask(format) {
16215
16211
  const literals = new Map();
@@ -16286,7 +16282,7 @@ class MaskParsingService {
16286
16282
  const chars = Array.from(value);
16287
16283
  let cursor = start;
16288
16284
  end = Math.min(end, maskedValue.length);
16289
- let initialMaskedValue = maskedValue;
16285
+ const initialMaskedValue = maskedValue;
16290
16286
  for (let i = start; i < end || (chars.length && i < maskedValue.length); i++) {
16291
16287
  if (literalsPositions.indexOf(i) !== -1) {
16292
16288
  if (chars[0] === maskedValue[i]) {
@@ -16332,7 +16328,7 @@ class MaskParsingService {
16332
16328
  return regex ? regex.test(inputChar) : false;
16333
16329
  }
16334
16330
  getNonLiteralIndices(mask, literalKeys) {
16335
- const nonLiteralsIndices = new Array();
16331
+ const nonLiteralsIndices = [];
16336
16332
  for (let i = 0; i < mask.length; i++) {
16337
16333
  if (literalKeys.indexOf(i) === -1) {
16338
16334
  nonLiteralsIndices.push(i);
@@ -16341,7 +16337,7 @@ class MaskParsingService {
16341
16337
  return nonLiteralsIndices;
16342
16338
  }
16343
16339
  getNonLiteralValues(value, literalValues) {
16344
- const nonLiteralValues = new Array();
16340
+ const nonLiteralValues = [];
16345
16341
  for (const val of value) {
16346
16342
  if (literalValues.indexOf(val) === -1) {
16347
16343
  nonLiteralValues.push(val);
@@ -16654,7 +16650,6 @@ class IgxMaskDirective {
16654
16650
  if (this._key === this.platform.KEYMAP.BACKSPACE) {
16655
16651
  replacedData.end = this._start;
16656
16652
  }
16657
- ;
16658
16653
  this.setSelectionRange(replacedData.end);
16659
16654
  const rawVal = this.maskParser.parseValueFromMask(this.inputValue, this.maskOptions);
16660
16655
  this._dataValue = this.includeLiterals ? this.inputValue : rawVal;
@@ -27349,7 +27344,6 @@ class IgxExpansionPanelHeaderComponent {
27349
27344
  get disabled() {
27350
27345
  return this._disabled;
27351
27346
  }
27352
- ;
27353
27347
  set disabled(val) {
27354
27348
  this._disabled = val;
27355
27349
  if (val) {
@@ -27360,7 +27354,6 @@ class IgxExpansionPanelHeaderComponent {
27360
27354
  this.tabIndex = 0;
27361
27355
  }
27362
27356
  }
27363
- ;
27364
27357
  constructor(panel, cdr, elementRef) {
27365
27358
  this.panel = panel;
27366
27359
  this.cdr = cdr;
@@ -28957,6 +28950,17 @@ class IgxBannerComponent {
28957
28950
  get useDefaultTemplate() {
28958
28951
  return !this._bannerActionTemplate;
28959
28952
  }
28953
+ /**
28954
+ * Set the animation settings used by the banner open/close methods
28955
+ * ```typescript
28956
+ * import { slideInLeft, slideOutRight } from 'igniteui-angular';
28957
+ * ...
28958
+ * banner.animationSettings: ToggleAnimationSettings = { openAnimation: slideInLeft, closeAnimation: slideOutRight };
28959
+ * ```
28960
+ */
28961
+ set animationSettings(settings) {
28962
+ this._animationSettings = settings;
28963
+ }
28960
28964
  /**
28961
28965
  * Get the animation settings used by the banner open/close methods
28962
28966
  * ```typescript
@@ -28981,17 +28985,6 @@ class IgxBannerComponent {
28981
28985
  }
28982
28986
  return this._resourceStrings;
28983
28987
  }
28984
- /**
28985
- * Set the animation settings used by the banner open/close methods
28986
- * ```typescript
28987
- * import { slideInLeft, slideOutRight } from 'igniteui-angular';
28988
- * ...
28989
- * banner.animationSettings: ToggleAnimationSettings = { openAnimation: slideInLeft, closeAnimation: slideOutRight };
28990
- * ```
28991
- */
28992
- set animationSettings(settings) {
28993
- this._animationSettings = settings;
28994
- }
28995
28988
  /**
28996
28989
  * Gets whether banner is collapsed
28997
28990
  *
@@ -29983,6 +29976,7 @@ class Calendar {
29983
29976
  date = this.timedelta(date, 'day', -days);
29984
29977
  const res = [];
29985
29978
  let value;
29979
+ // eslint-disable-next-line no-constant-condition
29986
29980
  while (true) {
29987
29981
  value = this.generateICalendarDate(date, year, month);
29988
29982
  res.push(value);
@@ -33993,7 +33987,6 @@ class IgxCardActionsComponent {
33993
33987
  if (!this.isVerticalSet && this.card.horizontal) {
33994
33988
  this.vertical = true;
33995
33989
  }
33996
- ;
33997
33990
  }
33998
33991
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: IgxCardActionsComponent, deps: [{ token: IgxCardComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
33999
33992
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0-rc.4", type: IgxCardActionsComponent, isStandalone: true, selector: "igx-card-actions", inputs: { layout: "layout", vertical: "vertical", reverse: "reverse" }, host: { properties: { "class.igx-card-actions": "this.layout", "class.igx-card-actions--vertical": "this.vertical", "class.igx-card-actions--justify": "this.isJustifyLayout", "class.igx-card-actions--reverse": "this.reverse" } }, usesOnChanges: true, ngImport: i0, template: "<div #buttons class=\"igx-card-actions__start\">\n <ng-content select=\"[igxStart], [igxButton]:not([igxButton='icon']):not([igxEnd])\"></ng-content>\n</div>\n\n<ng-content></ng-content>\n\n<div class=\"igx-card-actions__end\">\n <ng-content select=\"[igxEnd], [igxButton='icon']:not([igxStart]), igx-icon:not([igxStart])\"></ng-content>\n</div>\n" }); }
@@ -35715,7 +35708,7 @@ class IgxChipComponent extends DisplayDensityBase {
35715
35708
  };
35716
35709
  }
35717
35710
  onSelectTransitionDone(event) {
35718
- if (!!event.target.tagName) {
35711
+ if (event.target.tagName) {
35719
35712
  // Trigger onSelectionDone on when `width` property is changed and the target is valid element(not comment).
35720
35713
  this.selectedChanged.emit({
35721
35714
  owner: this,
@@ -39494,7 +39487,6 @@ class PickerBaseDirective extends DisplayDensityBase {
39494
39487
  .subscribe(next);
39495
39488
  });
39496
39489
  }
39497
- ;
39498
39490
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: PickerBaseDirective, deps: [{ token: i0.ElementRef }, { token: LOCALE_ID }, { token: DisplayDensityToken, optional: true }, { token: IGX_INPUT_GROUP_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
39499
39491
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-rc.4", type: PickerBaseDirective, inputs: { inputFormat: "inputFormat", displayFormat: "displayFormat", placeholder: "placeholder", mode: "mode", overlaySettings: "overlaySettings", disabled: "disabled", locale: "locale", weekStart: "weekStart", outlet: "outlet", type: "type", tabIndex: "tabIndex" }, outputs: { opening: "opening", opened: "opened", closing: "closing", closed: "closed" }, queries: [{ propertyName: "toggleComponents", predicate: IgxPickerToggleComponent, descendants: true }, { propertyName: "prefixes", predicate: IgxPrefixDirective, descendants: true }, { propertyName: "suffixes", predicate: IgxSuffixDirective, descendants: true }], viewQueries: [{ propertyName: "inputGroup", first: true, predicate: IgxInputGroupComponent, descendants: true }], usesInheritance: true, ngImport: i0 }); }
39500
39492
  }
@@ -42375,7 +42367,6 @@ class IgxFilterCellTemplateDirective {
42375
42367
  static ngTemplateContextGuard(_directive, context) {
42376
42368
  return true;
42377
42369
  }
42378
- ;
42379
42370
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: IgxFilterCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
42380
42371
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-rc.4", type: IgxFilterCellTemplateDirective, isStandalone: true, selector: "[igxFilterCellTemplate]", ngImport: i0 }); }
42381
42372
  }
@@ -42393,7 +42384,6 @@ class IgxCellTemplateDirective {
42393
42384
  static ngTemplateContextGuard(_directive, context) {
42394
42385
  return true;
42395
42386
  }
42396
- ;
42397
42387
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: IgxCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
42398
42388
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-rc.4", type: IgxCellTemplateDirective, isStandalone: true, selector: "[igxCell]", ngImport: i0 }); }
42399
42389
  }
@@ -42411,7 +42401,6 @@ class IgxCellValidationErrorDirective {
42411
42401
  static ngTemplateContextGuard(_directive, context) {
42412
42402
  return true;
42413
42403
  }
42414
- ;
42415
42404
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: IgxCellValidationErrorDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
42416
42405
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-rc.4", type: IgxCellValidationErrorDirective, isStandalone: true, selector: "[igxCellValidationError]", ngImport: i0 }); }
42417
42406
  }
@@ -42429,7 +42418,6 @@ class IgxCellHeaderTemplateDirective {
42429
42418
  static ngTemplateContextGuard(_directive, context) {
42430
42419
  return true;
42431
42420
  }
42432
- ;
42433
42421
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: IgxCellHeaderTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
42434
42422
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-rc.4", type: IgxCellHeaderTemplateDirective, isStandalone: true, selector: "[igxHeader]", ngImport: i0 }); }
42435
42423
  }
@@ -42464,7 +42452,6 @@ class IgxCellEditorTemplateDirective {
42464
42452
  static ngTemplateContextGuard(_directive, context) {
42465
42453
  return true;
42466
42454
  }
42467
- ;
42468
42455
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: IgxCellEditorTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
42469
42456
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-rc.4", type: IgxCellEditorTemplateDirective, isStandalone: true, selector: "[igxCellEditor]", ngImport: i0 }); }
42470
42457
  }
@@ -42482,7 +42469,6 @@ class IgxCollapsibleIndicatorTemplateDirective {
42482
42469
  static ngTemplateContextGuard(_directive, context) {
42483
42470
  return true;
42484
42471
  }
42485
- ;
42486
42472
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: IgxCollapsibleIndicatorTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
42487
42473
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-rc.4", type: IgxCollapsibleIndicatorTemplateDirective, isStandalone: true, selector: "[igxCollapsibleIndicator]", ngImport: i0 }); }
42488
42474
  }
@@ -42500,7 +42486,6 @@ class IgxSummaryTemplateDirective {
42500
42486
  static ngTemplateContextGuard(_directive, context) {
42501
42487
  return true;
42502
42488
  }
42503
- ;
42504
42489
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: IgxSummaryTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
42505
42490
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-rc.4", type: IgxSummaryTemplateDirective, isStandalone: true, selector: "[igxSummary]", ngImport: i0 }); }
42506
42491
  }
@@ -42589,17 +42574,6 @@ class IgxGridCell {
42589
42574
  return this.grid.crudService.cell.editValue;
42590
42575
  }
42591
42576
  }
42592
- /**
42593
- * Gets the validation status and errors, if any.
42594
- * ```typescript
42595
- * let validation = this.cell.validation;
42596
- * let errors = validation.errors;
42597
- * ```
42598
- */
42599
- get validation() {
42600
- const form = this.grid.validation.getFormControl(this.row.key, this.column.field);
42601
- return { status: form?.status || 'VALID', errors: form?.errors };
42602
- }
42603
42577
  /**
42604
42578
  * Sets the current edit value while a cell is in edit mode.
42605
42579
  * Only for cell editing mode.
@@ -42614,6 +42588,17 @@ class IgxGridCell {
42614
42588
  this.grid.crudService.cell.editValue = value;
42615
42589
  }
42616
42590
  }
42591
+ /**
42592
+ * Gets the validation status and errors, if any.
42593
+ * ```typescript
42594
+ * let validation = this.cell.validation;
42595
+ * let errors = validation.errors;
42596
+ * ```
42597
+ */
42598
+ get validation() {
42599
+ const form = this.grid.validation.getFormControl(this.row.key, this.column.field);
42600
+ return { status: form?.status || 'VALID', errors: form?.errors };
42601
+ }
42617
42602
  /**
42618
42603
  * Returns whether the cell is editable..
42619
42604
  *
@@ -43487,6 +43472,7 @@ class IgxColumnComponent {
43487
43472
  }
43488
43473
  const unpinnedColumns = this.grid.unpinnedColumns.filter(c => !c.columnGroup);
43489
43474
  const pinnedColumns = this.grid.pinnedColumns.filter(c => !c.columnGroup);
43475
+ // eslint-disable-next-line @typescript-eslint/no-this-alias
43490
43476
  let col = this;
43491
43477
  let vIndex = -1;
43492
43478
  if (this.columnGroup) {
@@ -50120,7 +50106,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.4", ng
50120
50106
  type: Injectable
50121
50107
  }] });
50122
50108
 
50123
- ;
50124
50109
  /** @hidden @internal */
50125
50110
  class IgxTreeSelectionService {
50126
50111
  constructor() {
@@ -50870,7 +50855,6 @@ class IgxTreeNodeComponent extends ToggleAnimationPlayer {
50870
50855
  get role() {
50871
50856
  return this.hasLinkChildren ? 'none' : 'treeitem';
50872
50857
  }
50873
- ;
50874
50858
  /**
50875
50859
  * Return the child nodes of the node (if any)
50876
50860
  *
@@ -51226,7 +51210,6 @@ class IgxTreeNodeComponent extends ToggleAnimationPlayer {
51226
51210
  this._tabIndex = -1;
51227
51211
  this.registeredChildren.push(link);
51228
51212
  }
51229
- ;
51230
51213
  /** @hidden @internal */
51231
51214
  removeLinkChild(link) {
51232
51215
  const index = this.registeredChildren.indexOf(link);
@@ -52783,7 +52766,6 @@ class IgxExcelStyleLoadingValuesTemplateDirective {
52783
52766
  static ngTemplateContextGuard(_dir, ctx) {
52784
52767
  return true;
52785
52768
  }
52786
- ;
52787
52769
  constructor(template) {
52788
52770
  this.template = template;
52789
52771
  }
@@ -54027,7 +54009,7 @@ class IgxGridExcelStyleFilteringComponent extends BaseFilteringComponent {
54027
54009
  this.containsNullOrEmpty = this.uniqueValues.length > this.listData.length;
54028
54010
  }
54029
54011
  generateFilterListItems(values, shouldUpdateSelection, parent) {
54030
- let filterListItems = [];
54012
+ const filterListItems = [];
54031
54013
  values?.forEach(element => {
54032
54014
  const value = element.value;
54033
54015
  const hasValue = value !== undefined && value !== null && value !== '';
@@ -54225,7 +54207,6 @@ class IgxRowEditTemplateDirective {
54225
54207
  static ngTemplateContextGuard(_directive, context) {
54226
54208
  return true;
54227
54209
  }
54228
- ;
54229
54210
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: IgxRowEditTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
54230
54211
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-rc.4", type: IgxRowEditTemplateDirective, isStandalone: true, selector: "[igxRowEdit]", ngImport: i0 }); }
54231
54212
  }
@@ -54241,7 +54222,6 @@ class IgxRowEditTextDirective {
54241
54222
  static ngTemplateContextGuard(_directive, context) {
54242
54223
  return true;
54243
54224
  }
54244
- ;
54245
54225
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: IgxRowEditTextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
54246
54226
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-rc.4", type: IgxRowEditTextDirective, isStandalone: true, selector: "[igxRowEditText]", ngImport: i0 }); }
54247
54227
  }
@@ -54257,7 +54237,6 @@ class IgxRowAddTextDirective {
54257
54237
  static ngTemplateContextGuard(_directive, context) {
54258
54238
  return true;
54259
54239
  }
54260
- ;
54261
54240
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: IgxRowAddTextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
54262
54241
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-rc.4", type: IgxRowAddTextDirective, isStandalone: true, selector: "[igxRowAddText]", ngImport: i0 }); }
54263
54242
  }
@@ -54273,7 +54252,6 @@ class IgxRowEditActionsDirective {
54273
54252
  static ngTemplateContextGuard(_directive, context) {
54274
54253
  return true;
54275
54254
  }
54276
- ;
54277
54255
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: IgxRowEditActionsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
54278
54256
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-rc.4", type: IgxRowEditActionsDirective, isStandalone: true, selector: "[igxRowEditActions]", ngImport: i0 }); }
54279
54257
  }
@@ -54631,7 +54609,6 @@ class IgxGroupByRowTemplateDirective {
54631
54609
  static ngTemplateContextGuard(_dir, ctx) {
54632
54610
  return true;
54633
54611
  }
54634
- ;
54635
54612
  constructor(template) {
54636
54613
  this.template = template;
54637
54614
  }
@@ -54652,7 +54629,6 @@ class IgxGridDetailTemplateDirective {
54652
54629
  static ngTemplateContextGuard(_dir, ctx) {
54653
54630
  return true;
54654
54631
  }
54655
- ;
54656
54632
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: IgxGridDetailTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
54657
54633
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-rc.4", type: IgxGridDetailTemplateDirective, isStandalone: true, selector: "[igxGridDetail]", ngImport: i0 }); }
54658
54634
  }
@@ -54670,7 +54646,6 @@ class IgxRowExpandedIndicatorDirective {
54670
54646
  static ngTemplateContextGuard(_directive, context) {
54671
54647
  return true;
54672
54648
  }
54673
- ;
54674
54649
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: IgxRowExpandedIndicatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
54675
54650
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-rc.4", type: IgxRowExpandedIndicatorDirective, isStandalone: true, selector: "[igxRowExpandedIndicator]", ngImport: i0 }); }
54676
54651
  }
@@ -54688,7 +54663,6 @@ class IgxRowCollapsedIndicatorDirective {
54688
54663
  static ngTemplateContextGuard(_directive, context) {
54689
54664
  return true;
54690
54665
  }
54691
- ;
54692
54666
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: IgxRowCollapsedIndicatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
54693
54667
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-rc.4", type: IgxRowCollapsedIndicatorDirective, isStandalone: true, selector: "[igxRowCollapsedIndicator]", ngImport: i0 }); }
54694
54668
  }
@@ -54706,7 +54680,6 @@ class IgxHeaderExpandIndicatorDirective {
54706
54680
  static ngTemplateContextGuard(_directive, context) {
54707
54681
  return true;
54708
54682
  }
54709
- ;
54710
54683
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: IgxHeaderExpandIndicatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
54711
54684
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-rc.4", type: IgxHeaderExpandIndicatorDirective, isStandalone: true, selector: "[igxHeaderExpandedIndicator]", ngImport: i0 }); }
54712
54685
  }
@@ -54724,7 +54697,6 @@ class IgxHeaderCollapseIndicatorDirective {
54724
54697
  static ngTemplateContextGuard(_directive, context) {
54725
54698
  return true;
54726
54699
  }
54727
- ;
54728
54700
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: IgxHeaderCollapseIndicatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
54729
54701
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-rc.4", type: IgxHeaderCollapseIndicatorDirective, isStandalone: true, selector: "[igxHeaderCollapsedIndicator]", ngImport: i0 }); }
54730
54702
  }
@@ -54742,7 +54714,6 @@ class IgxExcelStyleHeaderIconDirective {
54742
54714
  static ngTemplateContextGuard(_directive, context) {
54743
54715
  return true;
54744
54716
  }
54745
- ;
54746
54717
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: IgxExcelStyleHeaderIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
54747
54718
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-rc.4", type: IgxExcelStyleHeaderIconDirective, isStandalone: true, selector: "[igxExcelStyleHeaderIcon]", ngImport: i0 }); }
54748
54719
  }
@@ -54760,7 +54731,6 @@ class IgxSortHeaderIconDirective {
54760
54731
  static ngTemplateContextGuard(_directive, context) {
54761
54732
  return true;
54762
54733
  }
54763
- ;
54764
54734
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: IgxSortHeaderIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
54765
54735
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-rc.4", type: IgxSortHeaderIconDirective, isStandalone: true, selector: "[igxSortHeaderIcon]", ngImport: i0 }); }
54766
54736
  }
@@ -54778,7 +54748,6 @@ class IgxSortAscendingHeaderIconDirective {
54778
54748
  static ngTemplateContextGuard(_directive, context) {
54779
54749
  return true;
54780
54750
  }
54781
- ;
54782
54751
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: IgxSortAscendingHeaderIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
54783
54752
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-rc.4", type: IgxSortAscendingHeaderIconDirective, isStandalone: true, selector: "[igxSortAscendingHeaderIcon]", ngImport: i0 }); }
54784
54753
  }
@@ -54796,7 +54765,6 @@ class IgxSortDescendingHeaderIconDirective {
54796
54765
  static ngTemplateContextGuard(_directive, context) {
54797
54766
  return true;
54798
54767
  }
54799
- ;
54800
54768
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: IgxSortDescendingHeaderIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
54801
54769
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-rc.4", type: IgxSortDescendingHeaderIconDirective, isStandalone: true, selector: "[igxSortDescendingHeaderIcon]", ngImport: i0 }); }
54802
54770
  }
@@ -58833,7 +58801,6 @@ class IgxDragIndicatorIconDirective {
58833
58801
  static ngTemplateContextGuard(_directive, context) {
58834
58802
  return true;
58835
58803
  }
58836
- ;
58837
58804
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: IgxDragIndicatorIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
58838
58805
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-rc.4", type: IgxDragIndicatorIconDirective, isStandalone: true, selector: "[igxDragIndicatorIcon]", ngImport: i0 }); }
58839
58806
  }
@@ -58854,7 +58821,6 @@ class IgxRowDragGhostDirective {
58854
58821
  static ngTemplateContextGuard(_directive, context) {
58855
58822
  return true;
58856
58823
  }
58857
- ;
58858
58824
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: IgxRowDragGhostDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
58859
58825
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-rc.4", type: IgxRowDragGhostDirective, isStandalone: true, selector: "[igxRowDragGhost]", ngImport: i0 }); }
58860
58826
  }
@@ -58877,7 +58843,6 @@ class IgxRowSelectorDirective {
58877
58843
  static ngTemplateContextGuard(_directive, context) {
58878
58844
  return true;
58879
58845
  }
58880
- ;
58881
58846
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: IgxRowSelectorDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
58882
58847
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-rc.4", type: IgxRowSelectorDirective, isStandalone: true, selector: "[igxRowSelector]", ngImport: i0 }); }
58883
58848
  }
@@ -58899,7 +58864,6 @@ class IgxGroupByRowSelectorDirective {
58899
58864
  static ngTemplateContextGuard(_directive, context) {
58900
58865
  return true;
58901
58866
  }
58902
- ;
58903
58867
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: IgxGroupByRowSelectorDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
58904
58868
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-rc.4", type: IgxGroupByRowSelectorDirective, isStandalone: true, selector: "[igxGroupByRowSelector]", ngImport: i0 }); }
58905
58869
  }
@@ -58921,7 +58885,6 @@ class IgxHeadSelectorDirective {
58921
58885
  static ngTemplateContextGuard(_directive, context) {
58922
58886
  return true;
58923
58887
  }
58924
- ;
58925
58888
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: IgxHeadSelectorDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
58926
58889
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-rc.4", type: IgxHeadSelectorDirective, isStandalone: true, selector: "[igxHeadSelector]", ngImport: i0 }); }
58927
58890
  }
@@ -59079,7 +59042,6 @@ class IgxGridToolbarDirective {
59079
59042
  static ngTemplateContextGuard(_dir, ctx) {
59080
59043
  return true;
59081
59044
  }
59082
- ;
59083
59045
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: IgxGridToolbarDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
59084
59046
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-rc.4", type: IgxGridToolbarDirective, isStandalone: true, selector: "[igxGridToolbar]", ngImport: i0 }); }
59085
59047
  }
@@ -61621,7 +61583,7 @@ class IgxGridBaseDirective extends DisplayDensityBase {
61621
61583
  set isLoading(value) {
61622
61584
  if (this._isLoading !== value) {
61623
61585
  this._isLoading = value;
61624
- if (!!this.data) {
61586
+ if (this.data) {
61625
61587
  this.evaluateLoadingState();
61626
61588
  }
61627
61589
  }
@@ -65706,7 +65668,6 @@ class IgxGridBaseDirective extends DisplayDensityBase {
65706
65668
  if (event.type === 'copy') {
65707
65669
  selectedData = this.getSelectedData(this.clipboardOptions.copyFormatters, this.clipboardOptions.copyHeaders);
65708
65670
  }
65709
- ;
65710
65671
  let data = [];
65711
65672
  let result;
65712
65673
  if (event.code === 'KeyC' && (event.ctrlKey || event.metaKey) && event.currentTarget.className === 'igx-grid-thead__wrapper') {
@@ -66224,7 +66185,6 @@ class IgxGridBaseDirective extends DisplayDensityBase {
66224
66185
  this.pipeTrigger++;
66225
66186
  this.notifyChanges();
66226
66187
  }
66227
- ;
66228
66188
  writeToData(rowIndex, value) {
66229
66189
  mergeObjects(this.gridAPI.get_all_data()[rowIndex], value);
66230
66190
  }
@@ -66885,7 +66845,7 @@ class IgxGridBaseDirective extends DisplayDensityBase {
66885
66845
  if (this.selectionService.selection.size > 0) {
66886
66846
  if (expansionRowIndexes.length > 0) {
66887
66847
  for (const [key, value] of this.selectionService.selection.entries()) {
66888
- let updatedKey = key;
66848
+ const updatedKey = key;
66889
66849
  let subtract = 0;
66890
66850
  expansionRowIndexes.forEach((row) => {
66891
66851
  if (updatedKey > Number(row)) {
@@ -72267,7 +72227,7 @@ class IgxPivotHeaderRowComponent extends IgxGridHeaderRowComponent {
72267
72227
  */
72268
72228
  onDimDragStart(event, area) {
72269
72229
  this.cdr.detectChanges();
72270
- for (let chip of this.notificationChips) {
72230
+ for (const chip of this.notificationChips) {
72271
72231
  const parent = chip.nativeElement.parentElement;
72272
72232
  if (area.chipsList.toArray().indexOf(chip) === -1 &&
72273
72233
  parent.children.length > 0 &&
@@ -72282,7 +72242,7 @@ class IgxPivotHeaderRowComponent extends IgxGridHeaderRowComponent {
72282
72242
  * @internal
72283
72243
  */
72284
72244
  onDimDragEnd() {
72285
- for (let chip of this.notificationChips) {
72245
+ for (const chip of this.notificationChips) {
72286
72246
  chip.nativeElement.hidden = true;
72287
72247
  }
72288
72248
  }
@@ -72355,7 +72315,7 @@ class IgxPivotHeaderRowComponent extends IgxGridHeaderRowComponent {
72355
72315
  onFilteringIconClick(event, dimension) {
72356
72316
  event.stopPropagation();
72357
72317
  event.preventDefault();
72358
- let dim = dimension;
72318
+ const dim = dimension;
72359
72319
  const col = this.grid.dimensionDataColumns.find(x => x.field === dim.memberName || x.field === dim.member);
72360
72320
  this.grid.filteringService.toggleFilterDropdown(event.target, col);
72361
72321
  }
@@ -72371,7 +72331,7 @@ class IgxPivotHeaderRowComponent extends IgxGridHeaderRowComponent {
72371
72331
  * @hidden @internal
72372
72332
  */
72373
72333
  onFiltersAreaDropdownClick(event, dimension, shouldReattach = true) {
72374
- let dim = dimension || this.filterDropdownDimensions.values().next().value;
72334
+ const dim = dimension || this.filterDropdownDimensions.values().next().value;
72375
72335
  const col = this.grid.dimensionDataColumns.find(x => x.field === dim.memberName || x.field === dim.member);
72376
72336
  if (shouldReattach) {
72377
72337
  this.dropdownChips.chipsList.forEach(chip => {
@@ -72667,7 +72627,7 @@ class DimensionValuesFilteringStrategy extends FilteringStrategy {
72667
72627
  getFilterItems(column, tree) {
72668
72628
  const grid = column.grid;
72669
72629
  const enabledDimensions = grid.allDimensions.filter(x => x && x.enabled);
72670
- let data = column.grid.gridAPI.filterDataByExpressions(tree);
72630
+ const data = column.grid.gridAPI.filterDataByExpressions(tree);
72671
72631
  const dim = enabledDimensions.find(x => x.memberName === column.field);
72672
72632
  const allValuesHierarchy = PivotUtil.getFieldsHierarchy(data, [dim], PivotDimensionType.Column, grid.pivotKeys);
72673
72633
  const isNoop = grid.pivotConfiguration.columnStrategy instanceof NoopPivotDimensionsStrategy || grid.pivotConfiguration.rowStrategy instanceof NoopPivotDimensionsStrategy;
@@ -72691,7 +72651,7 @@ class DimensionValuesFilteringStrategy extends FilteringStrategy {
72691
72651
  }
72692
72652
  _getDimensionValueHierarchy(dim, rec) {
72693
72653
  let path = [];
72694
- let value = PivotUtil.extractValueFromDimension(dim, rec);
72654
+ const value = PivotUtil.extractValueFromDimension(dim, rec);
72695
72655
  path.push(value);
72696
72656
  if (dim.childLevel) {
72697
72657
  const childVals = this._getDimensionValueHierarchy(dim.childLevel, rec);
@@ -72920,7 +72880,6 @@ class IgxPivotResizeHandleDirective extends IgxResizeHandleDirective {
72920
72880
  set pivotColumn(value) {
72921
72881
  this.column = value;
72922
72882
  }
72923
- ;
72924
72883
  get pivotColumn() {
72925
72884
  return this.column;
72926
72885
  }
@@ -73296,7 +73255,6 @@ class IgxPivotValueChipTemplateDirective {
73296
73255
  static ngTemplateContextGuard(_directive, context) {
73297
73256
  return true;
73298
73257
  }
73299
- ;
73300
73258
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: IgxPivotValueChipTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
73301
73259
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-rc.4", type: IgxPivotValueChipTemplateDirective, isStandalone: true, selector: "[igxPivotValueChip]", ngImport: i0 }); }
73302
73260
  }
@@ -73454,7 +73412,7 @@ class IgxPivotCellMergingPipe {
73454
73412
  let groupData = [];
73455
73413
  let prevId;
73456
73414
  const index = enabledRows.indexOf(dim);
73457
- for (let rec of data) {
73415
+ for (const rec of data) {
73458
73416
  const currentDim = rec.dimensions[index];
73459
73417
  const id = PivotUtil.getRecordKey(rec, currentDim);
73460
73418
  if (groupData.length > 0 && prevId !== id) {
@@ -73669,7 +73627,7 @@ class IgxPivotRowComponent extends IgxRowDirective {
73669
73627
  */
73670
73628
  get selected() {
73671
73629
  let isSelected = false;
73672
- for (let rowDim of this.data.dimensions) {
73630
+ for (const rowDim of this.data.dimensions) {
73673
73631
  const key = PivotUtil.getRecordKey(this.data, rowDim);
73674
73632
  if (this.selectionService.isPivotRowSelected(key)) {
73675
73633
  isSelected = true;
@@ -75371,7 +75329,7 @@ class IgxPivotGridComponent extends IgxGridBaseDirective {
75371
75329
  });
75372
75330
  return columns;
75373
75331
  }
75374
- let currentFields = fields;
75332
+ const currentFields = fields;
75375
75333
  currentFields.forEach((value) => {
75376
75334
  let shouldGenerate = true;
75377
75335
  if (data.length === 0) {
@@ -76437,7 +76395,7 @@ class IgxGridStateDirective {
76437
76395
  else {
76438
76396
  expr.searchVal = expr.searchVal && (dataType === 'date' || dataType === 'dateTime') ? new Date(Date.parse(expr.searchVal)) : expr.searchVal;
76439
76397
  }
76440
- let condition = this.generateFilteringCondition(dataType, expr.condition.name) ||
76398
+ const condition = this.generateFilteringCondition(dataType, expr.condition.name) ||
76441
76399
  this.currGrid.columns.find(c => c.field === expr.fieldName).filters.condition(expr.condition.name);
76442
76400
  if (condition) {
76443
76401
  expr.condition = condition;
@@ -77665,7 +77623,7 @@ class IgxTreeGridAPIService extends GridBaseAPIService {
77665
77623
  }
77666
77624
  }
77667
77625
  filterDataByExpressions(expressionsTree) {
77668
- let records = this.filterTreeDataByExpressions(expressionsTree);
77626
+ const records = this.filterTreeDataByExpressions(expressionsTree);
77669
77627
  const data = [];
77670
77628
  this.getFlatDataFromFilteredRecords(records, data);
77671
77629
  return data;
@@ -79462,7 +79420,6 @@ class IgxTreeGridComponent extends IgxGridBaseDirective {
79462
79420
  }
79463
79421
  super.transactionStatusUpdate(event);
79464
79422
  }
79465
- ;
79466
79423
  findRecordIndexInView(rec) {
79467
79424
  return this.dataView.findIndex(x => x.data[this.primaryKey] === rec[this.primaryKey]);
79468
79425
  }
@@ -85651,7 +85608,6 @@ class IgxTabItemDirective {
85651
85608
  get selected() {
85652
85609
  return this._selected;
85653
85610
  }
85654
- ;
85655
85611
  set selected(value) {
85656
85612
  if (this._selected !== value) {
85657
85613
  this._selected = value;
@@ -85719,7 +85675,6 @@ class IgxTabContentDirective {
85719
85675
  get nativeElement() {
85720
85676
  return this.elementRef.nativeElement;
85721
85677
  }
85722
- ;
85723
85678
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: IgxTabContentDirective, deps: [{ token: IgxTabItemDirective }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
85724
85679
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-rc.4", type: IgxTabContentDirective, host: { properties: { "attr.role": "this.role", "attr.tabindex": "this.tabIndex", "style.z-index": "this.zIndex" } }, ngImport: i0 }); }
85725
85680
  }
@@ -85785,7 +85740,6 @@ class IgxTabHeaderDirective {
85785
85740
  get nativeElement() {
85786
85741
  return this.elementRef.nativeElement;
85787
85742
  }
85788
- ;
85789
85743
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: IgxTabHeaderDirective, deps: [{ token: IgxTabsBase }, { token: IgxTabItemDirective }, { token: i0.ElementRef }, { token: PlatformUtil }], target: i0.ɵɵFactoryTarget.Directive }); }
85790
85744
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-rc.4", type: IgxTabHeaderDirective, host: { listeners: { "click": "onClick()" }, properties: { "attr.role": "this.role", "attr.tabindex": "this.tabIndex", "attr.aria-selected": "this.ariaSelected", "attr.aria-disabled": "this.ariaDisabled" } }, ngImport: i0 }); }
85791
85745
  }
@@ -86253,7 +86207,6 @@ class IgxTabsComponent extends IgxTabsDirective {
86253
86207
  get tabAlignment() {
86254
86208
  return this._tabAlignment;
86255
86209
  }
86256
- ;
86257
86210
  set tabAlignment(value) {
86258
86211
  this._tabAlignment = value;
86259
86212
  requestAnimationFrame(() => {
@@ -86910,7 +86863,6 @@ class IgxSplitterPaneComponent {
86910
86863
  get minSize() {
86911
86864
  return this._minSize;
86912
86865
  }
86913
- ;
86914
86866
  set minSize(value) {
86915
86867
  this._minSize = value;
86916
86868
  if (this.owner) {
@@ -86930,7 +86882,6 @@ class IgxSplitterPaneComponent {
86930
86882
  get maxSize() {
86931
86883
  return this._maxSize;
86932
86884
  }
86933
- ;
86934
86885
  set maxSize(value) {
86935
86886
  this._maxSize = value;
86936
86887
  if (this.owner) {
@@ -89411,7 +89362,6 @@ class IgxDateRangePickerComponent extends PickerBaseDirective {
89411
89362
  i.inputDirective.valid = this.isTouchedOrDirty && !this._ngControl.disabled
89412
89363
  ? this.getInputState(i.isFocused)
89413
89364
  : IgxInputState.INITIAL;
89414
- ;
89415
89365
  });
89416
89366
  }
89417
89367
  this.setRequiredToInputs();
@@ -90084,12 +90034,10 @@ class IgxPivotDataSelectorComponent {
90084
90034
  get dims() {
90085
90035
  return this._grid?.allDimensions || [];
90086
90036
  }
90087
- ;
90088
90037
  /** @hidden @internal */
90089
90038
  get values() {
90090
90039
  return this._grid?.pivotConfiguration.values || [];
90091
90040
  }
90092
- ;
90093
90041
  constructor(renderer, cdr) {
90094
90042
  this.renderer = renderer;
90095
90043
  this.cdr = cdr;