@progress/kendo-angular-pivotgrid 17.0.0-develop.2 → 17.0.0-develop.20

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.
@@ -18,14 +18,14 @@ import * as i3 from '@angular/forms';
18
18
  import { NG_VALUE_ACCESSOR, ReactiveFormsModule, FormsModule } from '@angular/forms';
19
19
  import * as i1$1 from '@progress/kendo-angular-dropdowns';
20
20
  import { DropDownListComponent } from '@progress/kendo-angular-dropdowns';
21
- import { TextBoxDirective, CheckBoxDirective } from '@progress/kendo-angular-inputs';
21
+ import { TextBoxDirective, CheckBoxComponent } from '@progress/kendo-angular-inputs';
22
22
  import * as i1$2 from '@progress/kendo-angular-l10n';
23
23
  import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
24
24
  import { trigger, state, style, transition, animate } from '@angular/animations';
25
25
  import { IconWrapperComponent, IconsService } from '@progress/kendo-angular-icons';
26
26
  import * as i1$3 from '@progress/kendo-angular-popup';
27
27
  import { PopupService } from '@progress/kendo-angular-popup';
28
- import { TreeViewComponent, ExpandDirective, NodeTemplateDirective } from '@progress/kendo-angular-treeview';
28
+ import { TreeViewComponent, ExpandDirective, CheckDirective, NodeTemplateDirective } from '@progress/kendo-angular-treeview';
29
29
  import { __awaiter } from 'tslib';
30
30
  import { validatePackage } from '@progress/kendo-licensing';
31
31
  import { LoaderComponent } from '@progress/kendo-angular-indicators';
@@ -885,7 +885,7 @@ FilterMenuContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14
885
885
  </div>
886
886
  </div>
887
887
  </form>
888
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: StringFilterMenuComponent, selector: "kendo-pivot-string-filter-menu", inputs: ["chip", "menuTabbingService"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
888
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: StringFilterMenuComponent, selector: "kendo-pivot-string-filter-menu", inputs: ["chip", "menuTabbingService"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
889
889
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterMenuContainerComponent, decorators: [{
890
890
  type: Component,
891
891
  args: [{
@@ -1645,22 +1645,22 @@ class ChipMenuComponent {
1645
1645
  this.close();
1646
1646
  this.closeSubscription.unsubscribe();
1647
1647
  }
1648
- toggle(e, template) {
1649
- if (e) {
1650
- e.preventDefault();
1651
- e.stopImmediatePropagation();
1648
+ toggle(e) {
1649
+ if (e === null || e === void 0 ? void 0 : e.originalEvent) {
1650
+ e.originalEvent.preventDefault();
1651
+ e.originalEvent.stopImmediatePropagation();
1652
1652
  }
1653
- const anchor = this.anchor.nativeElement;
1654
- this.popupRef = this.popupService.open(anchor, template, this.popupRef, POPUP_CLASS);
1653
+ const anchorElement = this.anchor.element.nativeElement;
1654
+ this.popupRef = this.popupService.open(anchorElement, this.template, this.popupRef, POPUP_CLASS);
1655
1655
  this.popupRef && this.renderer.setAttribute(this.popupRef.popupElement, 'dir', this.localization.rtl ? 'rtl' : 'ltr');
1656
1656
  if (!this.popupRef) {
1657
- anchor.focus();
1657
+ anchorElement.focus();
1658
1658
  }
1659
1659
  }
1660
1660
  close() {
1661
1661
  this.popupService.destroy();
1662
1662
  this.popupRef = null;
1663
- this.anchor.nativeElement.closest('.k-chip').focus();
1663
+ this.anchor.element.nativeElement.closest('.k-chip').focus();
1664
1664
  }
1665
1665
  get chipMenuTitle() {
1666
1666
  const localizationMsg = this.localization.get('chipMenuIconTitle') || '';
@@ -1669,19 +1669,10 @@ class ChipMenuComponent {
1669
1669
  }
1670
1670
  }
1671
1671
  ChipMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChipMenuComponent, deps: [{ token: SinglePopupService }, { token: PivotLocalizationService }, { token: ChipMenuService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
1672
- ChipMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ChipMenuComponent, isStandalone: true, selector: "kendo-pivot-chip-menu", inputs: { chip: "chip", tabIndex: "tabIndex", isMeasureField: "isMeasureField" }, providers: [
1672
+ ChipMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ChipMenuComponent, isStandalone: true, selector: "kendo-pivot-chip-menu", inputs: { chip: "chip", tabIndex: "tabIndex", isMeasureField: "isMeasureField", anchor: "anchor" }, providers: [
1673
1673
  ChipMenuService,
1674
1674
  MenuTabbingService
1675
- ], viewQueries: [{ propertyName: "anchor", first: true, predicate: ["anchor"], descendants: true, read: ElementRef, static: true }], ngImport: i0, template: `
1676
- <kendo-icon-wrapper
1677
- #anchor
1678
- name="more-vertical"
1679
- [svgIcon]="menuItemSVGIcon"
1680
- (click)="toggle($event, template)"
1681
- [tabindex]="tabIndex"
1682
- [attr.title]="chipMenuTitle"
1683
- >
1684
- </kendo-icon-wrapper>
1675
+ ], viewQueries: [{ propertyName: "template", first: true, predicate: ["template"], descendants: true, static: true }], ngImport: i0, template: `
1685
1676
  <ng-template #template>
1686
1677
  <kendo-pivot-chipmenu-container
1687
1678
  (keydown.escape)="close()"
@@ -1710,7 +1701,7 @@ ChipMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
1710
1701
  [service]="service"></kendo-pivot-chipmenu-reorder>
1711
1702
  </kendo-pivot-chipmenu-container>
1712
1703
  </ng-template>
1713
- `, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: ChipMenuContainerComponent, selector: "kendo-pivot-chipmenu-container" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ChipMenuSortComponent, selector: "kendo-pivot-chipmenu-sort", inputs: ["chip"] }, { kind: "directive", type: ChipMenuItemDirective, selector: "[kendoPivotChipMenuItem]", inputs: ["kendoPivotChipMenuItem"] }, { kind: "component", type: ChipMenuFilterComponent, selector: "kendo-pivot-chipmenu-filter", inputs: ["chip", "expanded", "isLast"], outputs: ["expand", "collapse"] }, { kind: "component", type: ChipMenuReorderComponent, selector: "kendo-pivot-chipmenu-reorder", inputs: ["chip"] }] });
1704
+ `, isInline: true, dependencies: [{ kind: "component", type: ChipMenuContainerComponent, selector: "kendo-pivot-chipmenu-container" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ChipMenuSortComponent, selector: "kendo-pivot-chipmenu-sort", inputs: ["chip"] }, { kind: "directive", type: ChipMenuItemDirective, selector: "[kendoPivotChipMenuItem]", inputs: ["kendoPivotChipMenuItem"] }, { kind: "component", type: ChipMenuFilterComponent, selector: "kendo-pivot-chipmenu-filter", inputs: ["chip", "expanded", "isLast"], outputs: ["expand", "collapse"] }, { kind: "component", type: ChipMenuReorderComponent, selector: "kendo-pivot-chipmenu-reorder", inputs: ["chip"] }] });
1714
1705
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChipMenuComponent, decorators: [{
1715
1706
  type: Component,
1716
1707
  args: [{
@@ -1720,15 +1711,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1720
1711
  ],
1721
1712
  selector: 'kendo-pivot-chip-menu',
1722
1713
  template: `
1723
- <kendo-icon-wrapper
1724
- #anchor
1725
- name="more-vertical"
1726
- [svgIcon]="menuItemSVGIcon"
1727
- (click)="toggle($event, template)"
1728
- [tabindex]="tabIndex"
1729
- [attr.title]="chipMenuTitle"
1730
- >
1731
- </kendo-icon-wrapper>
1732
1714
  <ng-template #template>
1733
1715
  <kendo-pivot-chipmenu-container
1734
1716
  (keydown.escape)="close()"
@@ -1768,8 +1750,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1768
1750
  }], isMeasureField: [{
1769
1751
  type: Input
1770
1752
  }], anchor: [{
1753
+ type: Input
1754
+ }], template: [{
1771
1755
  type: ViewChild,
1772
- args: ['anchor', { static: true, read: ElementRef }]
1756
+ args: ['template', { static: true }]
1773
1757
  }] } });
1774
1758
 
1775
1759
  /**
@@ -1843,14 +1827,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1843
1827
  * @hidden
1844
1828
  */
1845
1829
  class DraggableChipDirective {
1846
- constructor(draggable, element, zone, service, cue, renderer, cdr) {
1830
+ constructor(draggable, element, zone, service, cue, renderer) {
1847
1831
  this.draggable = draggable;
1848
1832
  this.element = element;
1849
1833
  this.zone = zone;
1850
1834
  this.service = service;
1851
1835
  this.cue = cue;
1852
1836
  this.renderer = renderer;
1853
- this.cdr = cdr;
1854
1837
  this.touchActions = 'none';
1855
1838
  this.initialX = {};
1856
1839
  this.initialY = {};
@@ -1930,7 +1913,7 @@ class DraggableChipDirective {
1930
1913
  this.subs.unsubscribe();
1931
1914
  }
1932
1915
  }
1933
- DraggableChipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DraggableChipDirective, deps: [{ token: i1$4.DraggableDirective, optional: true }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: ConfiguratorService }, { token: DropCueService }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
1916
+ DraggableChipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DraggableChipDirective, deps: [{ token: i1$4.DraggableDirective, optional: true }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: ConfiguratorService }, { token: DropCueService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
1934
1917
  DraggableChipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DraggableChipDirective, isStandalone: true, selector: "[kendoChipDraggable]", inputs: { item: "item" }, host: { properties: { "style.pointerEvents": "this.pointerEvents", "style.touch-action": "this.touchActions" } }, ngImport: i0 });
1935
1918
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DraggableChipDirective, decorators: [{
1936
1919
  type: Directive,
@@ -1941,7 +1924,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1941
1924
  }], ctorParameters: function () {
1942
1925
  return [{ type: i1$4.DraggableDirective, decorators: [{
1943
1926
  type: Optional
1944
- }] }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: ConfiguratorService }, { type: DropCueService }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }];
1927
+ }] }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: ConfiguratorService }, { type: DropCueService }, { type: i0.Renderer2 }];
1945
1928
  }, propDecorators: { pointerEvents: [{
1946
1929
  type: HostBinding,
1947
1930
  args: ['style.pointerEvents']
@@ -2143,6 +2126,9 @@ class PivotGridConfiguratorComponent {
2143
2126
  * A function which determines if a specific node has child nodes.
2144
2127
  */
2145
2128
  this.hasChildren = (node) => !('hierarchyUniqueName' in node) && !('aggregator' in node);
2129
+ this.checkItemBy = (context) => {
2130
+ return context.dataItem;
2131
+ };
2146
2132
  /**
2147
2133
  * A function which provides the child nodes for a given parent node.
2148
2134
  */
@@ -2298,17 +2284,6 @@ class PivotGridConfiguratorComponent {
2298
2284
  ].some((h) => (h === f.uniqueName || h === f.defaultHierarchy)));
2299
2285
  this.checked = checked;
2300
2286
  }
2301
- /**
2302
- * A function which determines if a specific node is checked/
2303
- */
2304
- isItemChecked(node) {
2305
- var _a, _b;
2306
- const res = this.checked.some(s => node.defaultHierarchy
2307
- ? s.defaultHierarchy === node.defaultHierarchy
2308
- : s.uniqueName === node.uniqueName)
2309
- || (((_a = node.children) === null || _a === void 0 ? void 0 : _a.length) && ((_b = node.children) === null || _b === void 0 ? void 0 : _b.every((c) => c.checked)));
2310
- return res || null;
2311
- }
2312
2287
  /**
2313
2288
  * Determines if a checkbox should be rendered.
2314
2289
  */
@@ -2329,21 +2304,14 @@ class PivotGridConfiguratorComponent {
2329
2304
  const fields = event.children.map(item => item.dataItem);
2330
2305
  this.setChecked(fields);
2331
2306
  }
2332
- handleCheckedChange(event, item) {
2333
- if (event.target.checked) {
2334
- this.checked = [...this.checked, item];
2335
- }
2336
- else {
2337
- const itemIndex = this.checked.findIndex(checkedItem => checkedItem.uniqueName === item.uniqueName);
2338
- this.checked.splice(itemIndex, 1);
2339
- }
2307
+ handleCheckedChange(event) {
2308
+ const itemIndex = this.checked.findIndex(checkedItem => checkedItem.uniqueName === event.item.dataItem.uniqueName);
2309
+ this.checked.splice(itemIndex, 1);
2340
2310
  const action = {
2341
2311
  type: 'PIVOT_CONFIGURATOR_ACTION_TOGGLE_SELECTION',
2342
- payload: item
2312
+ payload: event.item.dataItem
2343
2313
  };
2344
2314
  this.configuratorService.parseConfiguratorState(action);
2345
- const closestItem = event.target.closest('.k-treeview-item');
2346
- this.zone.runOutsideAngular(() => setTimeout(() => closestItem.focus()));
2347
2315
  }
2348
2316
  onTreeViewSelect(ev) {
2349
2317
  var _a;
@@ -2434,7 +2402,7 @@ PivotGridConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
2434
2402
  </div>
2435
2403
 
2436
2404
  <div class="k-pivotgrid-configurator-content">
2437
- <div class="k-form" [class.k-form-horizontal]="isHorizontal" role="form">
2405
+ <div class="k-form k-form-md" [class.k-form-horizontal]="isHorizontal" [class.k-form-vertical]="!isHorizontal" role="form">
2438
2406
  <div class="k-form-field-wrapper" [ngStyle]="isHorizontal ? {'padding-left': 0 } : null">
2439
2407
  <div class="k-form-field" [style]="'padding-top: 1em; margin-top: 0;'" [ngStyle]="isHorizontal ? {'padding-top': 0, 'padding-left': '16px' } : null">
2440
2408
  <span [id]="contentLabelId('fields')" class="k-label">{{messageFor('configuratorFieldsText')}}</span>
@@ -2449,21 +2417,14 @@ PivotGridConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
2449
2417
  textField="caption"
2450
2418
  [children]="children"
2451
2419
  [hasChildren]="hasChildren"
2420
+ kendoTreeViewCheckable
2421
+ [hasCheckbox]="isSelectable"
2422
+ [(checkedKeys)]="checked"
2423
+ [checkBy]="checkItemBy"
2424
+ (checkedChange)="handleCheckedChange($event)"
2452
2425
  kendoTreeViewExpandable
2453
2426
  (childrenLoaded)="handleChildrenLoaded($event)"
2454
2427
  (keydown.space)="onTreeViewSelect($event)">
2455
- <ng-template kendoTreeViewNodeTemplate let-dataItem>
2456
- <input kendoCheckBox
2457
- *ngIf="isSelectable(dataItem)"
2458
- type="checkbox"
2459
- kendoCheckBox
2460
- tabindex="-1"
2461
- role="none"
2462
- aria-hidden="true"
2463
- [checked]="isItemChecked(dataItem)"
2464
- (change)="handleCheckedChange($event, dataItem)"/>
2465
- {{ dataItem.caption }}
2466
- </ng-template>
2467
2428
  </kendo-treeview>
2468
2429
 
2469
2430
  </div>
@@ -2481,8 +2442,10 @@ PivotGridConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
2481
2442
 
2482
2443
  <kendo-chiplist
2483
2444
  *ngIf="state.columnAxes && state.columnAxes.length; else noColumnAxes"
2445
+ [navigable]="false"
2484
2446
  #columnsChiplist
2485
2447
  kendoDropTarget
2448
+ class="k-column-fields"
2486
2449
  axes="columnAxes"
2487
2450
  [style.width.%]="100"
2488
2451
  [attr.aria-labelledby]="headerTextId + ' ' + contentLabelId('columns')"
@@ -2490,20 +2453,25 @@ PivotGridConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
2490
2453
  >
2491
2454
  <ng-container *ngFor="let item of state.columnAxes">
2492
2455
  <kendo-chip *ngIf="item.name.length === 1"
2456
+ #chip
2493
2457
  kendoChipDraggable
2494
2458
  kendoDraggable
2495
2459
  kendoDropTarget
2496
2460
  kendoChipKeyboardNavigation
2497
2461
  [item]="item"
2462
+ [label]="getName(item.name)"
2498
2463
  axes="columnAxes"
2499
- rounded="full"
2500
2464
  [removable]="true"
2465
+ [hasMenu]="true"
2466
+ (menuToggle)="chipMenuColumns.toggle($event)"
2501
2467
  (remove)="onChipRemove($event, item, 'column')"
2502
2468
  (reorder)="onReorder($event, 'column', item)"
2503
- >{{ getName(item.name) }}
2469
+ >
2504
2470
  <kendo-pivot-chip-menu
2505
- [chip]="item">
2506
- </kendo-pivot-chip-menu>
2471
+ #chipMenuColumns
2472
+ [chip]="item"
2473
+ [anchor]="chip"
2474
+ ></kendo-pivot-chip-menu>
2507
2475
  </kendo-chip>
2508
2476
  </ng-container>
2509
2477
  </kendo-chiplist>
@@ -2518,8 +2486,10 @@ PivotGridConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
2518
2486
 
2519
2487
  <kendo-chiplist
2520
2488
  *ngIf="state.rowAxes && state.rowAxes.length; else noRowAxes"
2489
+ [navigable]="false"
2521
2490
  #rowsChiplist
2522
2491
  kendoDropTarget
2492
+ class="k-row-fields"
2523
2493
  axes="rowAxes"
2524
2494
  [attr.aria-labelledby]="headerTextId + ' ' + contentLabelId('rows')"
2525
2495
  [ngStyle]="isHorizontal ? {'padding-top': 0, 'padding-left': '16px' } : null"
@@ -2527,22 +2497,25 @@ PivotGridConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
2527
2497
  >
2528
2498
  <ng-container *ngFor="let item of state.rowAxes">
2529
2499
  <kendo-chip *ngIf="item.name.length === 1"
2500
+ #chip
2530
2501
  kendoChipDraggable
2531
2502
  kendoDraggable
2532
2503
  kendoDropTarget
2533
2504
  kendoChipKeyboardNavigation
2534
2505
  [item]="item"
2506
+ [label]="getName(item.name)"
2535
2507
  axes="rowAxes"
2536
- rounded="full"
2537
2508
  [removable]="true"
2509
+ [hasMenu]="true"
2510
+ (menuToggle)="chipMenuRows.toggle($event)"
2538
2511
  (remove)="onChipRemove($event, item, 'row')"
2539
2512
  (reorder)="onReorder($event, 'row', item)"
2540
2513
  >
2541
- {{ getName(item.name) }}
2542
-
2543
2514
  <kendo-pivot-chip-menu
2544
- [chip]="item">
2545
- </kendo-pivot-chip-menu>
2515
+ #chipMenuRows
2516
+ [chip]="item"
2517
+ [anchor]="chip"
2518
+ ></kendo-pivot-chip-menu>
2546
2519
  </kendo-chip>
2547
2520
  </ng-container>
2548
2521
  </kendo-chiplist>
@@ -2563,30 +2536,34 @@ PivotGridConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
2563
2536
 
2564
2537
  <kendo-chiplist
2565
2538
  *ngIf="state.measureAxes && state.measureAxes.length; else noMeasureAxes"
2539
+ [navigable]="false"
2566
2540
  kendoDropTarget
2541
+ class="k-filter-fields"
2567
2542
  axes="measureAxes"
2568
2543
  [attr.aria-labelledby]="headerTextId + ' ' + contentLabelId('values')"
2569
2544
  [ngStyle]="isHorizontal ? {'padding-top': 0, 'padding-left': '16px' } : null"
2570
2545
  [style.width.%]="100"
2571
2546
  >
2572
2547
  <kendo-chip *ngFor="let item of state.measureAxes"
2548
+ #chip
2573
2549
  kendoChipDraggable
2574
2550
  kendoDraggable
2575
2551
  kendoDropTarget
2576
2552
  kendoChipKeyboardNavigation
2577
2553
  [item]="item"
2554
+ [label]="getName(item.name)"
2578
2555
  axes="measureAxes"
2579
- rounded="full"
2580
2556
  [removable]="true"
2557
+ [hasMenu]="true"
2558
+ (menuToggle)="chipMenuValues.toggle($event)"
2581
2559
  (remove)="onChipRemove($event, item, 'measure')"
2582
2560
  (reorder)="onReorder($event, 'measure', item)"
2583
2561
  >
2584
- {{ getName(item.name) }}
2585
-
2586
- <kendo-pivot-chip-menu
2587
- [isMeasureField]="true"
2588
- [chip]="item">
2589
- </kendo-pivot-chip-menu>
2562
+ <kendo-pivot-chip-menu
2563
+ #chipMenuValues
2564
+ [chip]="item"
2565
+ [anchor]="chip"
2566
+ ></kendo-pivot-chip-menu>
2590
2567
  </kendo-chip>
2591
2568
  </kendo-chiplist>
2592
2569
 
@@ -2597,12 +2574,12 @@ PivotGridConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
2597
2574
 
2598
2575
  </div>
2599
2576
  </div>
2600
- <div class="k-pivotgrid-configurator-actions k-actions k-hstack k-justify-content-end">
2577
+ <div class="k-pivotgrid-configurator-actions k-actions k-actions-end k-actions-horizontal">
2601
2578
  <button kendoButton type="button" (click)="handleReset()">{{messageFor('configuratorCancelButtonText')}}</button>
2602
2579
  <button kendoButton themeColor="primary" type="button" (click)="handleSubmit()">{{messageFor('configuratorApplyButtonText')}}</button>
2603
2580
  </div>
2604
2581
  </div>
2605
- `, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: TreeViewComponent, selector: "kendo-treeview", inputs: ["filterInputPlaceholder", "expandDisabledNodes", "animate", "nodeTemplate", "loadMoreButtonTemplate", "trackBy", "nodes", "textField", "hasChildren", "isChecked", "isDisabled", "hasCheckbox", "isExpanded", "isSelected", "isVisible", "navigable", "children", "loadOnDemand", "filterable", "filter", "size", "disableParentNodesOnly"], outputs: ["childrenLoaded", "blur", "focus", "expand", "collapse", "nodeDragStart", "nodeDrag", "filterStateChange", "nodeDrop", "nodeDragEnd", "addItem", "removeItem", "checkedChange", "selectionChange", "filterChange", "nodeClick", "nodeDblClick"], exportAs: ["kendoTreeView"] }, { kind: "directive", type: ExpandDirective, selector: "[kendoTreeViewExpandable]", inputs: ["isExpanded", "expandBy", "expandOnFilter", "expandedKeys"], outputs: ["expandedKeysChange"] }, { kind: "directive", type: NodeTemplateDirective, selector: "[kendoTreeViewNodeTemplate]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: CheckBoxDirective, selector: "input[kendoCheckBox]", inputs: ["size", "rounded"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: DropTargetDirective, selector: "[kendoDropTarget]", inputs: ["item", "axes"] }, { kind: "component", type: ChipListComponent, selector: "kendo-chiplist, kendo-chip-list", inputs: ["selection", "size", "role", "navigable"], outputs: ["selectedChange", "remove"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ChipComponent, selector: "kendo-chip", inputs: ["label", "icon", "svgIcon", "iconClass", "avatarClass", "selected", "removable", "removeIcon", "removeSvgIcon", "hasMenu", "menuIcon", "menuSvgIcon", "disabled", "size", "rounded", "fillMode", "themeColor"], outputs: ["remove", "menuToggle", "contentClick"] }, { kind: "directive", type: DraggableChipDirective, selector: "[kendoChipDraggable]", inputs: ["item"] }, { kind: "directive", type: DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { kind: "directive", type: ChipKeyboardNavigationDirective, selector: "[kendoChipKeyboardNavigation]", outputs: ["reorder"] }, { kind: "component", type: ChipMenuComponent, selector: "kendo-pivot-chip-menu", inputs: ["chip", "tabIndex", "isMeasureField"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
2582
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: TreeViewComponent, selector: "kendo-treeview", inputs: ["filterInputPlaceholder", "expandDisabledNodes", "animate", "nodeTemplate", "loadMoreButtonTemplate", "trackBy", "nodes", "textField", "hasChildren", "isChecked", "isDisabled", "hasCheckbox", "isExpanded", "isSelected", "isVisible", "navigable", "children", "loadOnDemand", "filterable", "filter", "size", "disableParentNodesOnly"], outputs: ["childrenLoaded", "blur", "focus", "expand", "collapse", "nodeDragStart", "nodeDrag", "filterStateChange", "nodeDrop", "nodeDragEnd", "addItem", "removeItem", "checkedChange", "selectionChange", "filterChange", "nodeClick", "nodeDblClick"], exportAs: ["kendoTreeView"] }, { kind: "directive", type: ExpandDirective, selector: "[kendoTreeViewExpandable]", inputs: ["isExpanded", "expandBy", "expandOnFilter", "expandedKeys"], outputs: ["expandedKeysChange"] }, { kind: "directive", type: CheckDirective, selector: "[kendoTreeViewCheckable]", inputs: ["isChecked", "checkBy", "checkedKeys", "kendoTreeViewCheckable"], outputs: ["checkedKeysChange"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: DropTargetDirective, selector: "[kendoDropTarget]", inputs: ["item", "axes"] }, { kind: "component", type: ChipListComponent, selector: "kendo-chiplist, kendo-chip-list", inputs: ["selection", "size", "role", "navigable"], outputs: ["selectedChange", "remove"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ChipComponent, selector: "kendo-chip", inputs: ["label", "icon", "svgIcon", "iconClass", "avatarSettings", "selected", "removable", "removeIcon", "removeSvgIcon", "hasMenu", "menuIcon", "menuSvgIcon", "disabled", "size", "rounded", "fillMode", "themeColor"], outputs: ["remove", "menuToggle", "contentClick"] }, { kind: "directive", type: DraggableChipDirective, selector: "[kendoChipDraggable]", inputs: ["item"] }, { kind: "directive", type: DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { kind: "directive", type: ChipKeyboardNavigationDirective, selector: "[kendoChipKeyboardNavigation]", outputs: ["reorder"] }, { kind: "component", type: ChipMenuComponent, selector: "kendo-pivot-chip-menu", inputs: ["chip", "tabIndex", "isMeasureField", "anchor"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
2606
2583
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PivotGridConfiguratorComponent, decorators: [{
2607
2584
  type: Component,
2608
2585
  args: [{
@@ -2627,7 +2604,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2627
2604
  </div>
2628
2605
 
2629
2606
  <div class="k-pivotgrid-configurator-content">
2630
- <div class="k-form" [class.k-form-horizontal]="isHorizontal" role="form">
2607
+ <div class="k-form k-form-md" [class.k-form-horizontal]="isHorizontal" [class.k-form-vertical]="!isHorizontal" role="form">
2631
2608
  <div class="k-form-field-wrapper" [ngStyle]="isHorizontal ? {'padding-left': 0 } : null">
2632
2609
  <div class="k-form-field" [style]="'padding-top: 1em; margin-top: 0;'" [ngStyle]="isHorizontal ? {'padding-top': 0, 'padding-left': '16px' } : null">
2633
2610
  <span [id]="contentLabelId('fields')" class="k-label">{{messageFor('configuratorFieldsText')}}</span>
@@ -2642,21 +2619,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2642
2619
  textField="caption"
2643
2620
  [children]="children"
2644
2621
  [hasChildren]="hasChildren"
2622
+ kendoTreeViewCheckable
2623
+ [hasCheckbox]="isSelectable"
2624
+ [(checkedKeys)]="checked"
2625
+ [checkBy]="checkItemBy"
2626
+ (checkedChange)="handleCheckedChange($event)"
2645
2627
  kendoTreeViewExpandable
2646
2628
  (childrenLoaded)="handleChildrenLoaded($event)"
2647
2629
  (keydown.space)="onTreeViewSelect($event)">
2648
- <ng-template kendoTreeViewNodeTemplate let-dataItem>
2649
- <input kendoCheckBox
2650
- *ngIf="isSelectable(dataItem)"
2651
- type="checkbox"
2652
- kendoCheckBox
2653
- tabindex="-1"
2654
- role="none"
2655
- aria-hidden="true"
2656
- [checked]="isItemChecked(dataItem)"
2657
- (change)="handleCheckedChange($event, dataItem)"/>
2658
- {{ dataItem.caption }}
2659
- </ng-template>
2660
2630
  </kendo-treeview>
2661
2631
 
2662
2632
  </div>
@@ -2674,8 +2644,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2674
2644
 
2675
2645
  <kendo-chiplist
2676
2646
  *ngIf="state.columnAxes && state.columnAxes.length; else noColumnAxes"
2647
+ [navigable]="false"
2677
2648
  #columnsChiplist
2678
2649
  kendoDropTarget
2650
+ class="k-column-fields"
2679
2651
  axes="columnAxes"
2680
2652
  [style.width.%]="100"
2681
2653
  [attr.aria-labelledby]="headerTextId + ' ' + contentLabelId('columns')"
@@ -2683,20 +2655,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2683
2655
  >
2684
2656
  <ng-container *ngFor="let item of state.columnAxes">
2685
2657
  <kendo-chip *ngIf="item.name.length === 1"
2658
+ #chip
2686
2659
  kendoChipDraggable
2687
2660
  kendoDraggable
2688
2661
  kendoDropTarget
2689
2662
  kendoChipKeyboardNavigation
2690
2663
  [item]="item"
2664
+ [label]="getName(item.name)"
2691
2665
  axes="columnAxes"
2692
- rounded="full"
2693
2666
  [removable]="true"
2667
+ [hasMenu]="true"
2668
+ (menuToggle)="chipMenuColumns.toggle($event)"
2694
2669
  (remove)="onChipRemove($event, item, 'column')"
2695
2670
  (reorder)="onReorder($event, 'column', item)"
2696
- >{{ getName(item.name) }}
2671
+ >
2697
2672
  <kendo-pivot-chip-menu
2698
- [chip]="item">
2699
- </kendo-pivot-chip-menu>
2673
+ #chipMenuColumns
2674
+ [chip]="item"
2675
+ [anchor]="chip"
2676
+ ></kendo-pivot-chip-menu>
2700
2677
  </kendo-chip>
2701
2678
  </ng-container>
2702
2679
  </kendo-chiplist>
@@ -2711,8 +2688,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2711
2688
 
2712
2689
  <kendo-chiplist
2713
2690
  *ngIf="state.rowAxes && state.rowAxes.length; else noRowAxes"
2691
+ [navigable]="false"
2714
2692
  #rowsChiplist
2715
2693
  kendoDropTarget
2694
+ class="k-row-fields"
2716
2695
  axes="rowAxes"
2717
2696
  [attr.aria-labelledby]="headerTextId + ' ' + contentLabelId('rows')"
2718
2697
  [ngStyle]="isHorizontal ? {'padding-top': 0, 'padding-left': '16px' } : null"
@@ -2720,22 +2699,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2720
2699
  >
2721
2700
  <ng-container *ngFor="let item of state.rowAxes">
2722
2701
  <kendo-chip *ngIf="item.name.length === 1"
2702
+ #chip
2723
2703
  kendoChipDraggable
2724
2704
  kendoDraggable
2725
2705
  kendoDropTarget
2726
2706
  kendoChipKeyboardNavigation
2727
2707
  [item]="item"
2708
+ [label]="getName(item.name)"
2728
2709
  axes="rowAxes"
2729
- rounded="full"
2730
2710
  [removable]="true"
2711
+ [hasMenu]="true"
2712
+ (menuToggle)="chipMenuRows.toggle($event)"
2731
2713
  (remove)="onChipRemove($event, item, 'row')"
2732
2714
  (reorder)="onReorder($event, 'row', item)"
2733
2715
  >
2734
- {{ getName(item.name) }}
2735
-
2736
2716
  <kendo-pivot-chip-menu
2737
- [chip]="item">
2738
- </kendo-pivot-chip-menu>
2717
+ #chipMenuRows
2718
+ [chip]="item"
2719
+ [anchor]="chip"
2720
+ ></kendo-pivot-chip-menu>
2739
2721
  </kendo-chip>
2740
2722
  </ng-container>
2741
2723
  </kendo-chiplist>
@@ -2756,30 +2738,34 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2756
2738
 
2757
2739
  <kendo-chiplist
2758
2740
  *ngIf="state.measureAxes && state.measureAxes.length; else noMeasureAxes"
2741
+ [navigable]="false"
2759
2742
  kendoDropTarget
2743
+ class="k-filter-fields"
2760
2744
  axes="measureAxes"
2761
2745
  [attr.aria-labelledby]="headerTextId + ' ' + contentLabelId('values')"
2762
2746
  [ngStyle]="isHorizontal ? {'padding-top': 0, 'padding-left': '16px' } : null"
2763
2747
  [style.width.%]="100"
2764
2748
  >
2765
2749
  <kendo-chip *ngFor="let item of state.measureAxes"
2750
+ #chip
2766
2751
  kendoChipDraggable
2767
2752
  kendoDraggable
2768
2753
  kendoDropTarget
2769
2754
  kendoChipKeyboardNavigation
2770
2755
  [item]="item"
2756
+ [label]="getName(item.name)"
2771
2757
  axes="measureAxes"
2772
- rounded="full"
2773
2758
  [removable]="true"
2759
+ [hasMenu]="true"
2760
+ (menuToggle)="chipMenuValues.toggle($event)"
2774
2761
  (remove)="onChipRemove($event, item, 'measure')"
2775
2762
  (reorder)="onReorder($event, 'measure', item)"
2776
2763
  >
2777
- {{ getName(item.name) }}
2778
-
2779
- <kendo-pivot-chip-menu
2780
- [isMeasureField]="true"
2781
- [chip]="item">
2782
- </kendo-pivot-chip-menu>
2764
+ <kendo-pivot-chip-menu
2765
+ #chipMenuValues
2766
+ [chip]="item"
2767
+ [anchor]="chip"
2768
+ ></kendo-pivot-chip-menu>
2783
2769
  </kendo-chip>
2784
2770
  </kendo-chiplist>
2785
2771
 
@@ -2790,7 +2776,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2790
2776
 
2791
2777
  </div>
2792
2778
  </div>
2793
- <div class="k-pivotgrid-configurator-actions k-actions k-hstack k-justify-content-end">
2779
+ <div class="k-pivotgrid-configurator-actions k-actions k-actions-end k-actions-horizontal">
2794
2780
  <button kendoButton type="button" (click)="handleReset()">{{messageFor('configuratorCancelButtonText')}}</button>
2795
2781
  <button kendoButton themeColor="primary" type="button" (click)="handleSubmit()">{{messageFor('configuratorApplyButtonText')}}</button>
2796
2782
  </div>
@@ -2798,7 +2784,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2798
2784
  `,
2799
2785
  standalone: true,
2800
2786
  imports: [
2801
- NgClass, NgStyle, TreeViewComponent, ExpandDirective, NodeTemplateDirective, NgIf, CheckBoxDirective,
2787
+ NgClass, NgStyle, TreeViewComponent, ExpandDirective, CheckDirective, NodeTemplateDirective, NgIf, CheckBoxComponent,
2802
2788
  NgTemplateOutlet, DropTargetDirective, ChipListComponent, NgFor, ChipComponent, DraggableChipDirective,
2803
2789
  DraggableDirective, ChipKeyboardNavigationDirective, ChipMenuComponent, ButtonComponent
2804
2790
  ]
@@ -3391,8 +3377,8 @@ const packageMetadata = {
3391
3377
  name: '@progress/kendo-angular-pivotgrid',
3392
3378
  productName: 'Kendo UI for Angular',
3393
3379
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
3394
- publishDate: 1728914708,
3395
- version: '17.0.0-develop.2',
3380
+ publishDate: 1729855326,
3381
+ version: '17.0.0-develop.20',
3396
3382
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
3397
3383
  };
3398
3384
 
@@ -3688,9 +3674,10 @@ class PivotGridCellDirective {
3688
3674
  this.renderer.setAttribute(nativeElement, 'rowspan', this.kendoPivotGridCell.rowSpan || 1);
3689
3675
  this.renderer.setAttribute(nativeElement, 'colspan', this.kendoPivotGridCell.colSpan || 1);
3690
3676
  const classesToAdd = {
3691
- 'k-pivotgrid-header-total': ((_a = this.kendoPivotGridCell) === null || _a === void 0 ? void 0 : _a.total) || (this.tableType === 'values'
3677
+ 'k-pivotgrid-header-total': (_a = this.kendoPivotGridCell) === null || _a === void 0 ? void 0 : _a.total,
3678
+ 'k-pivotgrid-total': this.tableType === 'values'
3692
3679
  && (this.dataService.rowHeaderLeaves[this.rowIndex].total ||
3693
- this.dataService.columnHeaderLeaves[this.colIndex].total)),
3680
+ this.dataService.columnHeaderLeaves[this.colIndex].total),
3694
3681
  'k-pivotgrid-header-root': ((_b = this.kendoPivotGridCell) === null || _b === void 0 ? void 0 : _b.levelNum) === 0,
3695
3682
  'k-pivotgrid-expanded': ((_c = this.kendoPivotGridCell) === null || _c === void 0 ? void 0 : _c.hasChildren) && this.kendoPivotGridCell.children.length,
3696
3683
  'k-first': this.colIndex > 0
@@ -3760,10 +3747,10 @@ PivotGridCellDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
3760
3747
  }">
3761
3748
  </ng-template>
3762
3749
  <!--default cell content-->
3763
- <span *ngIf="!customCellTemplate && isNotProvidedCellTemplatePerType">
3750
+ <span *ngIf="!customCellTemplate && isNotProvidedCellTemplatePerType" [ngClass]="{'k-pivotgrid-header-title': !kendoPivotGridCell.data, 'k-pivotgrid-content': kendoPivotGridCell.data}">
3764
3751
  {{ kendoPivotGridCell.data ? kendoPivotGridCell.data.fmtValue : kendoPivotGridCell.caption }}
3765
3752
  </span>
3766
- `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "directive", type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }] });
3753
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "directive", type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
3767
3754
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PivotGridCellDirective, decorators: [{
3768
3755
  type: Component,
3769
3756
  args: [{
@@ -3826,12 +3813,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
3826
3813
  }">
3827
3814
  </ng-template>
3828
3815
  <!--default cell content-->
3829
- <span *ngIf="!customCellTemplate && isNotProvidedCellTemplatePerType">
3816
+ <span *ngIf="!customCellTemplate && isNotProvidedCellTemplatePerType" [ngClass]="{'k-pivotgrid-header-title': !kendoPivotGridCell.data, 'k-pivotgrid-content': kendoPivotGridCell.data}">
3830
3817
  {{ kendoPivotGridCell.data ? kendoPivotGridCell.data.fmtValue : kendoPivotGridCell.caption }}
3831
3818
  </span>
3832
3819
  `,
3833
3820
  standalone: true,
3834
- imports: [NgIf, IconWrapperComponent, EventsOutsideAngularDirective, TemplateContextDirective]
3821
+ imports: [NgIf, IconWrapperComponent, EventsOutsideAngularDirective, TemplateContextDirective, NgClass]
3835
3822
  }]
3836
3823
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: PivotGridDataService }]; }, propDecorators: { cellClass: [{
3837
3824
  type: HostBinding,
@@ -4253,8 +4240,7 @@ class PivotGridComponent {
4253
4240
  this.scrollService.pivotGrid = this;
4254
4241
  }
4255
4242
  get rightPositionClass() {
4256
- var _a;
4257
- return ((_a = this.configuratorSettings) === null || _a === void 0 ? void 0 : _a.position) === 'right';
4243
+ return !this.configuratorSettings || this.configuratorSettings.position === 'right';
4258
4244
  }
4259
4245
  get leftPositionClass() {
4260
4246
  var _a;
@@ -4585,7 +4571,7 @@ PivotGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
4585
4571
  class="k-pivotgrid-configurator-button"
4586
4572
  aria-hidden="true"
4587
4573
  (click)="toggleConfigurator()">
4588
- <span>{{messageFor('configuratorButtonText')}}<kendo-icon-wrapper name="gear" innerCssClass="k-color-inherit" [svgIcon]="gearSVGIcon"></kendo-icon-wrapper>
4574
+ <span>{{messageFor('configuratorButtonText')}}<kendo-icon-wrapper name="gear" [svgIcon]="gearSVGIcon"></kendo-icon-wrapper>
4589
4575
  </span>
4590
4576
  </div>
4591
4577
  `, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoPivotGridLocalizedMessages]" }, { kind: "component", type: PivotGridTableComponent, selector: "kendo-pivotgrid-table", inputs: ["tableType", "colWidth", "customCellTemplate", "valueCellTemplate", "rowHeaderCellTemplate", "columnHeaderCellTemplate", "scrollableSettings"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: LoaderComponent, selector: "kendo-loader", inputs: ["type", "themeColor", "size"] }, { kind: "component", type: PivotGridConfiguratorComponent, selector: "kendo-pivotgrid-configurator", inputs: ["orientation", "sort", "filter", "navigation"], outputs: ["close"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
@@ -4758,7 +4744,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
4758
4744
  class="k-pivotgrid-configurator-button"
4759
4745
  aria-hidden="true"
4760
4746
  (click)="toggleConfigurator()">
4761
- <span>{{messageFor('configuratorButtonText')}}<kendo-icon-wrapper name="gear" innerCssClass="k-color-inherit" [svgIcon]="gearSVGIcon"></kendo-icon-wrapper>
4747
+ <span>{{messageFor('configuratorButtonText')}}<kendo-icon-wrapper name="gear" [svgIcon]="gearSVGIcon"></kendo-icon-wrapper>
4762
4748
  </span>
4763
4749
  </div>
4764
4750
  `,