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

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.
@@ -20,12 +20,12 @@ import * as i3 from '@angular/forms';
20
20
  import { NG_VALUE_ACCESSOR, ReactiveFormsModule, FormsModule } from '@angular/forms';
21
21
  import * as i1$2 from '@progress/kendo-angular-dropdowns';
22
22
  import { DropDownListComponent } from '@progress/kendo-angular-dropdowns';
23
- import { TextBoxDirective, CheckBoxDirective } from '@progress/kendo-angular-inputs';
23
+ import { TextBoxDirective, CheckBoxComponent } from '@progress/kendo-angular-inputs';
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 { validatePackage } from '@progress/kendo-licensing';
30
30
  import { LoaderComponent } from '@progress/kendo-angular-indicators';
31
31
  import { DialogContainerService, DialogService, WindowService, WindowContainerService } from '@progress/kendo-angular-dialog';
@@ -883,7 +883,7 @@ FilterMenuContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14
883
883
  </div>
884
884
  </div>
885
885
  </form>
886
- `, 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"] }] });
886
+ `, 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"] }] });
887
887
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterMenuContainerComponent, decorators: [{
888
888
  type: Component,
889
889
  args: [{
@@ -1640,22 +1640,22 @@ class ChipMenuComponent {
1640
1640
  this.close();
1641
1641
  this.closeSubscription.unsubscribe();
1642
1642
  }
1643
- toggle(e, template) {
1644
- if (e) {
1645
- e.preventDefault();
1646
- e.stopImmediatePropagation();
1643
+ toggle(e) {
1644
+ if (e?.originalEvent) {
1645
+ e.originalEvent.preventDefault();
1646
+ e.originalEvent.stopImmediatePropagation();
1647
1647
  }
1648
- const anchor = this.anchor.nativeElement;
1649
- this.popupRef = this.popupService.open(anchor, template, this.popupRef, POPUP_CLASS);
1648
+ const anchorElement = this.anchor.element.nativeElement;
1649
+ this.popupRef = this.popupService.open(anchorElement, this.template, this.popupRef, POPUP_CLASS);
1650
1650
  this.popupRef && this.renderer.setAttribute(this.popupRef.popupElement, 'dir', this.localization.rtl ? 'rtl' : 'ltr');
1651
1651
  if (!this.popupRef) {
1652
- anchor.focus();
1652
+ anchorElement.focus();
1653
1653
  }
1654
1654
  }
1655
1655
  close() {
1656
1656
  this.popupService.destroy();
1657
1657
  this.popupRef = null;
1658
- this.anchor.nativeElement.closest('.k-chip').focus();
1658
+ this.anchor.element.nativeElement.closest('.k-chip').focus();
1659
1659
  }
1660
1660
  get chipMenuTitle() {
1661
1661
  const localizationMsg = this.localization.get('chipMenuIconTitle') || '';
@@ -1664,19 +1664,10 @@ class ChipMenuComponent {
1664
1664
  }
1665
1665
  }
1666
1666
  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 });
1667
- 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: [
1667
+ 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: [
1668
1668
  ChipMenuService,
1669
1669
  MenuTabbingService
1670
- ], viewQueries: [{ propertyName: "anchor", first: true, predicate: ["anchor"], descendants: true, read: ElementRef, static: true }], ngImport: i0, template: `
1671
- <kendo-icon-wrapper
1672
- #anchor
1673
- name="more-vertical"
1674
- [svgIcon]="menuItemSVGIcon"
1675
- (click)="toggle($event, template)"
1676
- [tabindex]="tabIndex"
1677
- [attr.title]="chipMenuTitle"
1678
- >
1679
- </kendo-icon-wrapper>
1670
+ ], viewQueries: [{ propertyName: "template", first: true, predicate: ["template"], descendants: true, static: true }], ngImport: i0, template: `
1680
1671
  <ng-template #template>
1681
1672
  <kendo-pivot-chipmenu-container
1682
1673
  (keydown.escape)="close()"
@@ -1705,7 +1696,7 @@ ChipMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
1705
1696
  [service]="service"></kendo-pivot-chipmenu-reorder>
1706
1697
  </kendo-pivot-chipmenu-container>
1707
1698
  </ng-template>
1708
- `, 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"] }] });
1699
+ `, 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"] }] });
1709
1700
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChipMenuComponent, decorators: [{
1710
1701
  type: Component,
1711
1702
  args: [{
@@ -1715,15 +1706,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1715
1706
  ],
1716
1707
  selector: 'kendo-pivot-chip-menu',
1717
1708
  template: `
1718
- <kendo-icon-wrapper
1719
- #anchor
1720
- name="more-vertical"
1721
- [svgIcon]="menuItemSVGIcon"
1722
- (click)="toggle($event, template)"
1723
- [tabindex]="tabIndex"
1724
- [attr.title]="chipMenuTitle"
1725
- >
1726
- </kendo-icon-wrapper>
1727
1709
  <ng-template #template>
1728
1710
  <kendo-pivot-chipmenu-container
1729
1711
  (keydown.escape)="close()"
@@ -1763,8 +1745,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1763
1745
  }], isMeasureField: [{
1764
1746
  type: Input
1765
1747
  }], anchor: [{
1748
+ type: Input
1749
+ }], template: [{
1766
1750
  type: ViewChild,
1767
- args: ['anchor', { static: true, read: ElementRef }]
1751
+ args: ['template', { static: true }]
1768
1752
  }] } });
1769
1753
 
1770
1754
  /**
@@ -1838,14 +1822,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1838
1822
  * @hidden
1839
1823
  */
1840
1824
  class DraggableChipDirective {
1841
- constructor(draggable, element, zone, service, cue, renderer, cdr) {
1825
+ constructor(draggable, element, zone, service, cue, renderer) {
1842
1826
  this.draggable = draggable;
1843
1827
  this.element = element;
1844
1828
  this.zone = zone;
1845
1829
  this.service = service;
1846
1830
  this.cue = cue;
1847
1831
  this.renderer = renderer;
1848
- this.cdr = cdr;
1849
1832
  this.touchActions = 'none';
1850
1833
  this.initialX = {};
1851
1834
  this.initialY = {};
@@ -1924,7 +1907,7 @@ class DraggableChipDirective {
1924
1907
  this.subs.unsubscribe();
1925
1908
  }
1926
1909
  }
1927
- 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 });
1910
+ 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 });
1928
1911
  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 });
1929
1912
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DraggableChipDirective, decorators: [{
1930
1913
  type: Directive,
@@ -1934,7 +1917,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1934
1917
  }]
1935
1918
  }], ctorParameters: function () { return [{ type: i1$4.DraggableDirective, decorators: [{
1936
1919
  type: Optional
1937
- }] }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: ConfiguratorService }, { type: DropCueService }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { pointerEvents: [{
1920
+ }] }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: ConfiguratorService }, { type: DropCueService }, { type: i0.Renderer2 }]; }, propDecorators: { pointerEvents: [{
1938
1921
  type: HostBinding,
1939
1922
  args: ['style.pointerEvents']
1940
1923
  }], touchActions: [{
@@ -2133,6 +2116,9 @@ class PivotGridConfiguratorComponent {
2133
2116
  * A function which determines if a specific node has child nodes.
2134
2117
  */
2135
2118
  this.hasChildren = (node) => !('hierarchyUniqueName' in node) && !('aggregator' in node);
2119
+ this.checkItemBy = (context) => {
2120
+ return context.dataItem;
2121
+ };
2136
2122
  /**
2137
2123
  * A function which provides the child nodes for a given parent node.
2138
2124
  */
@@ -2287,16 +2273,6 @@ class PivotGridConfiguratorComponent {
2287
2273
  ].some((h) => (h === f.uniqueName || h === f.defaultHierarchy)));
2288
2274
  this.checked = checked;
2289
2275
  }
2290
- /**
2291
- * A function which determines if a specific node is checked/
2292
- */
2293
- isItemChecked(node) {
2294
- const res = this.checked.some(s => node.defaultHierarchy
2295
- ? s.defaultHierarchy === node.defaultHierarchy
2296
- : s.uniqueName === node.uniqueName)
2297
- || (node.children?.length && node.children?.every((c) => c.checked));
2298
- return res || null;
2299
- }
2300
2276
  /**
2301
2277
  * Determines if a checkbox should be rendered.
2302
2278
  */
@@ -2317,21 +2293,14 @@ class PivotGridConfiguratorComponent {
2317
2293
  const fields = event.children.map(item => item.dataItem);
2318
2294
  this.setChecked(fields);
2319
2295
  }
2320
- handleCheckedChange(event, item) {
2321
- if (event.target.checked) {
2322
- this.checked = [...this.checked, item];
2323
- }
2324
- else {
2325
- const itemIndex = this.checked.findIndex(checkedItem => checkedItem.uniqueName === item.uniqueName);
2326
- this.checked.splice(itemIndex, 1);
2327
- }
2296
+ handleCheckedChange(event) {
2297
+ const itemIndex = this.checked.findIndex(checkedItem => checkedItem.uniqueName === event.item.dataItem.uniqueName);
2298
+ this.checked.splice(itemIndex, 1);
2328
2299
  const action = {
2329
2300
  type: 'PIVOT_CONFIGURATOR_ACTION_TOGGLE_SELECTION',
2330
- payload: item
2301
+ payload: event.item.dataItem
2331
2302
  };
2332
2303
  this.configuratorService.parseConfiguratorState(action);
2333
- const closestItem = event.target.closest('.k-treeview-item');
2334
- this.zone.runOutsideAngular(() => setTimeout(() => closestItem.focus()));
2335
2304
  }
2336
2305
  onTreeViewSelect(ev) {
2337
2306
  const closestItem = ev.target.closest('.k-treeview-item');
@@ -2420,7 +2389,7 @@ PivotGridConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
2420
2389
  </div>
2421
2390
 
2422
2391
  <div class="k-pivotgrid-configurator-content">
2423
- <div class="k-form" [class.k-form-horizontal]="isHorizontal" role="form">
2392
+ <div class="k-form k-form-md" [class.k-form-horizontal]="isHorizontal" [class.k-form-vertical]="!isHorizontal" role="form">
2424
2393
  <div class="k-form-field-wrapper" [ngStyle]="isHorizontal ? {'padding-left': 0 } : null">
2425
2394
  <div class="k-form-field" [style]="'padding-top: 1em; margin-top: 0;'" [ngStyle]="isHorizontal ? {'padding-top': 0, 'padding-left': '16px' } : null">
2426
2395
  <span [id]="contentLabelId('fields')" class="k-label">{{messageFor('configuratorFieldsText')}}</span>
@@ -2435,21 +2404,14 @@ PivotGridConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
2435
2404
  textField="caption"
2436
2405
  [children]="children"
2437
2406
  [hasChildren]="hasChildren"
2407
+ kendoTreeViewCheckable
2408
+ [hasCheckbox]="isSelectable"
2409
+ [(checkedKeys)]="checked"
2410
+ [checkBy]="checkItemBy"
2411
+ (checkedChange)="handleCheckedChange($event)"
2438
2412
  kendoTreeViewExpandable
2439
2413
  (childrenLoaded)="handleChildrenLoaded($event)"
2440
2414
  (keydown.space)="onTreeViewSelect($event)">
2441
- <ng-template kendoTreeViewNodeTemplate let-dataItem>
2442
- <input kendoCheckBox
2443
- *ngIf="isSelectable(dataItem)"
2444
- type="checkbox"
2445
- kendoCheckBox
2446
- tabindex="-1"
2447
- role="none"
2448
- aria-hidden="true"
2449
- [checked]="isItemChecked(dataItem)"
2450
- (change)="handleCheckedChange($event, dataItem)"/>
2451
- {{ dataItem.caption }}
2452
- </ng-template>
2453
2415
  </kendo-treeview>
2454
2416
 
2455
2417
  </div>
@@ -2467,8 +2429,10 @@ PivotGridConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
2467
2429
 
2468
2430
  <kendo-chiplist
2469
2431
  *ngIf="state.columnAxes && state.columnAxes.length; else noColumnAxes"
2432
+ [navigable]="false"
2470
2433
  #columnsChiplist
2471
2434
  kendoDropTarget
2435
+ class="k-column-fields"
2472
2436
  axes="columnAxes"
2473
2437
  [style.width.%]="100"
2474
2438
  [attr.aria-labelledby]="headerTextId + ' ' + contentLabelId('columns')"
@@ -2476,20 +2440,25 @@ PivotGridConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
2476
2440
  >
2477
2441
  <ng-container *ngFor="let item of state.columnAxes">
2478
2442
  <kendo-chip *ngIf="item.name.length === 1"
2443
+ #chip
2479
2444
  kendoChipDraggable
2480
2445
  kendoDraggable
2481
2446
  kendoDropTarget
2482
2447
  kendoChipKeyboardNavigation
2483
2448
  [item]="item"
2449
+ [label]="getName(item.name)"
2484
2450
  axes="columnAxes"
2485
- rounded="full"
2486
2451
  [removable]="true"
2452
+ [hasMenu]="true"
2453
+ (menuToggle)="chipMenuColumns.toggle($event)"
2487
2454
  (remove)="onChipRemove($event, item, 'column')"
2488
2455
  (reorder)="onReorder($event, 'column', item)"
2489
- >{{ getName(item.name) }}
2456
+ >
2490
2457
  <kendo-pivot-chip-menu
2491
- [chip]="item">
2492
- </kendo-pivot-chip-menu>
2458
+ #chipMenuColumns
2459
+ [chip]="item"
2460
+ [anchor]="chip"
2461
+ ></kendo-pivot-chip-menu>
2493
2462
  </kendo-chip>
2494
2463
  </ng-container>
2495
2464
  </kendo-chiplist>
@@ -2504,8 +2473,10 @@ PivotGridConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
2504
2473
 
2505
2474
  <kendo-chiplist
2506
2475
  *ngIf="state.rowAxes && state.rowAxes.length; else noRowAxes"
2476
+ [navigable]="false"
2507
2477
  #rowsChiplist
2508
2478
  kendoDropTarget
2479
+ class="k-row-fields"
2509
2480
  axes="rowAxes"
2510
2481
  [attr.aria-labelledby]="headerTextId + ' ' + contentLabelId('rows')"
2511
2482
  [ngStyle]="isHorizontal ? {'padding-top': 0, 'padding-left': '16px' } : null"
@@ -2513,22 +2484,25 @@ PivotGridConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
2513
2484
  >
2514
2485
  <ng-container *ngFor="let item of state.rowAxes">
2515
2486
  <kendo-chip *ngIf="item.name.length === 1"
2487
+ #chip
2516
2488
  kendoChipDraggable
2517
2489
  kendoDraggable
2518
2490
  kendoDropTarget
2519
2491
  kendoChipKeyboardNavigation
2520
2492
  [item]="item"
2493
+ [label]="getName(item.name)"
2521
2494
  axes="rowAxes"
2522
- rounded="full"
2523
2495
  [removable]="true"
2496
+ [hasMenu]="true"
2497
+ (menuToggle)="chipMenuRows.toggle($event)"
2524
2498
  (remove)="onChipRemove($event, item, 'row')"
2525
2499
  (reorder)="onReorder($event, 'row', item)"
2526
2500
  >
2527
- {{ getName(item.name) }}
2528
-
2529
2501
  <kendo-pivot-chip-menu
2530
- [chip]="item">
2531
- </kendo-pivot-chip-menu>
2502
+ #chipMenuRows
2503
+ [chip]="item"
2504
+ [anchor]="chip"
2505
+ ></kendo-pivot-chip-menu>
2532
2506
  </kendo-chip>
2533
2507
  </ng-container>
2534
2508
  </kendo-chiplist>
@@ -2549,30 +2523,34 @@ PivotGridConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
2549
2523
 
2550
2524
  <kendo-chiplist
2551
2525
  *ngIf="state.measureAxes && state.measureAxes.length; else noMeasureAxes"
2526
+ [navigable]="false"
2552
2527
  kendoDropTarget
2528
+ class="k-filter-fields"
2553
2529
  axes="measureAxes"
2554
2530
  [attr.aria-labelledby]="headerTextId + ' ' + contentLabelId('values')"
2555
2531
  [ngStyle]="isHorizontal ? {'padding-top': 0, 'padding-left': '16px' } : null"
2556
2532
  [style.width.%]="100"
2557
2533
  >
2558
2534
  <kendo-chip *ngFor="let item of state.measureAxes"
2535
+ #chip
2559
2536
  kendoChipDraggable
2560
2537
  kendoDraggable
2561
2538
  kendoDropTarget
2562
2539
  kendoChipKeyboardNavigation
2563
2540
  [item]="item"
2541
+ [label]="getName(item.name)"
2564
2542
  axes="measureAxes"
2565
- rounded="full"
2566
2543
  [removable]="true"
2544
+ [hasMenu]="true"
2545
+ (menuToggle)="chipMenuValues.toggle($event)"
2567
2546
  (remove)="onChipRemove($event, item, 'measure')"
2568
2547
  (reorder)="onReorder($event, 'measure', item)"
2569
2548
  >
2570
- {{ getName(item.name) }}
2571
-
2572
- <kendo-pivot-chip-menu
2573
- [isMeasureField]="true"
2574
- [chip]="item">
2575
- </kendo-pivot-chip-menu>
2549
+ <kendo-pivot-chip-menu
2550
+ #chipMenuValues
2551
+ [chip]="item"
2552
+ [anchor]="chip"
2553
+ ></kendo-pivot-chip-menu>
2576
2554
  </kendo-chip>
2577
2555
  </kendo-chiplist>
2578
2556
 
@@ -2583,12 +2561,12 @@ PivotGridConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
2583
2561
 
2584
2562
  </div>
2585
2563
  </div>
2586
- <div class="k-pivotgrid-configurator-actions k-actions k-hstack k-justify-content-end">
2564
+ <div class="k-pivotgrid-configurator-actions k-actions k-actions-end k-actions-horizontal">
2587
2565
  <button kendoButton type="button" (click)="handleReset()">{{messageFor('configuratorCancelButtonText')}}</button>
2588
2566
  <button kendoButton themeColor="primary" type="button" (click)="handleSubmit()">{{messageFor('configuratorApplyButtonText')}}</button>
2589
2567
  </div>
2590
2568
  </div>
2591
- `, 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"] }] });
2569
+ `, 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"] }] });
2592
2570
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PivotGridConfiguratorComponent, decorators: [{
2593
2571
  type: Component,
2594
2572
  args: [{
@@ -2613,7 +2591,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2613
2591
  </div>
2614
2592
 
2615
2593
  <div class="k-pivotgrid-configurator-content">
2616
- <div class="k-form" [class.k-form-horizontal]="isHorizontal" role="form">
2594
+ <div class="k-form k-form-md" [class.k-form-horizontal]="isHorizontal" [class.k-form-vertical]="!isHorizontal" role="form">
2617
2595
  <div class="k-form-field-wrapper" [ngStyle]="isHorizontal ? {'padding-left': 0 } : null">
2618
2596
  <div class="k-form-field" [style]="'padding-top: 1em; margin-top: 0;'" [ngStyle]="isHorizontal ? {'padding-top': 0, 'padding-left': '16px' } : null">
2619
2597
  <span [id]="contentLabelId('fields')" class="k-label">{{messageFor('configuratorFieldsText')}}</span>
@@ -2628,21 +2606,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2628
2606
  textField="caption"
2629
2607
  [children]="children"
2630
2608
  [hasChildren]="hasChildren"
2609
+ kendoTreeViewCheckable
2610
+ [hasCheckbox]="isSelectable"
2611
+ [(checkedKeys)]="checked"
2612
+ [checkBy]="checkItemBy"
2613
+ (checkedChange)="handleCheckedChange($event)"
2631
2614
  kendoTreeViewExpandable
2632
2615
  (childrenLoaded)="handleChildrenLoaded($event)"
2633
2616
  (keydown.space)="onTreeViewSelect($event)">
2634
- <ng-template kendoTreeViewNodeTemplate let-dataItem>
2635
- <input kendoCheckBox
2636
- *ngIf="isSelectable(dataItem)"
2637
- type="checkbox"
2638
- kendoCheckBox
2639
- tabindex="-1"
2640
- role="none"
2641
- aria-hidden="true"
2642
- [checked]="isItemChecked(dataItem)"
2643
- (change)="handleCheckedChange($event, dataItem)"/>
2644
- {{ dataItem.caption }}
2645
- </ng-template>
2646
2617
  </kendo-treeview>
2647
2618
 
2648
2619
  </div>
@@ -2660,8 +2631,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2660
2631
 
2661
2632
  <kendo-chiplist
2662
2633
  *ngIf="state.columnAxes && state.columnAxes.length; else noColumnAxes"
2634
+ [navigable]="false"
2663
2635
  #columnsChiplist
2664
2636
  kendoDropTarget
2637
+ class="k-column-fields"
2665
2638
  axes="columnAxes"
2666
2639
  [style.width.%]="100"
2667
2640
  [attr.aria-labelledby]="headerTextId + ' ' + contentLabelId('columns')"
@@ -2669,20 +2642,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2669
2642
  >
2670
2643
  <ng-container *ngFor="let item of state.columnAxes">
2671
2644
  <kendo-chip *ngIf="item.name.length === 1"
2645
+ #chip
2672
2646
  kendoChipDraggable
2673
2647
  kendoDraggable
2674
2648
  kendoDropTarget
2675
2649
  kendoChipKeyboardNavigation
2676
2650
  [item]="item"
2651
+ [label]="getName(item.name)"
2677
2652
  axes="columnAxes"
2678
- rounded="full"
2679
2653
  [removable]="true"
2654
+ [hasMenu]="true"
2655
+ (menuToggle)="chipMenuColumns.toggle($event)"
2680
2656
  (remove)="onChipRemove($event, item, 'column')"
2681
2657
  (reorder)="onReorder($event, 'column', item)"
2682
- >{{ getName(item.name) }}
2658
+ >
2683
2659
  <kendo-pivot-chip-menu
2684
- [chip]="item">
2685
- </kendo-pivot-chip-menu>
2660
+ #chipMenuColumns
2661
+ [chip]="item"
2662
+ [anchor]="chip"
2663
+ ></kendo-pivot-chip-menu>
2686
2664
  </kendo-chip>
2687
2665
  </ng-container>
2688
2666
  </kendo-chiplist>
@@ -2697,8 +2675,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2697
2675
 
2698
2676
  <kendo-chiplist
2699
2677
  *ngIf="state.rowAxes && state.rowAxes.length; else noRowAxes"
2678
+ [navigable]="false"
2700
2679
  #rowsChiplist
2701
2680
  kendoDropTarget
2681
+ class="k-row-fields"
2702
2682
  axes="rowAxes"
2703
2683
  [attr.aria-labelledby]="headerTextId + ' ' + contentLabelId('rows')"
2704
2684
  [ngStyle]="isHorizontal ? {'padding-top': 0, 'padding-left': '16px' } : null"
@@ -2706,22 +2686,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2706
2686
  >
2707
2687
  <ng-container *ngFor="let item of state.rowAxes">
2708
2688
  <kendo-chip *ngIf="item.name.length === 1"
2689
+ #chip
2709
2690
  kendoChipDraggable
2710
2691
  kendoDraggable
2711
2692
  kendoDropTarget
2712
2693
  kendoChipKeyboardNavigation
2713
2694
  [item]="item"
2695
+ [label]="getName(item.name)"
2714
2696
  axes="rowAxes"
2715
- rounded="full"
2716
2697
  [removable]="true"
2698
+ [hasMenu]="true"
2699
+ (menuToggle)="chipMenuRows.toggle($event)"
2717
2700
  (remove)="onChipRemove($event, item, 'row')"
2718
2701
  (reorder)="onReorder($event, 'row', item)"
2719
2702
  >
2720
- {{ getName(item.name) }}
2721
-
2722
2703
  <kendo-pivot-chip-menu
2723
- [chip]="item">
2724
- </kendo-pivot-chip-menu>
2704
+ #chipMenuRows
2705
+ [chip]="item"
2706
+ [anchor]="chip"
2707
+ ></kendo-pivot-chip-menu>
2725
2708
  </kendo-chip>
2726
2709
  </ng-container>
2727
2710
  </kendo-chiplist>
@@ -2742,30 +2725,34 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2742
2725
 
2743
2726
  <kendo-chiplist
2744
2727
  *ngIf="state.measureAxes && state.measureAxes.length; else noMeasureAxes"
2728
+ [navigable]="false"
2745
2729
  kendoDropTarget
2730
+ class="k-filter-fields"
2746
2731
  axes="measureAxes"
2747
2732
  [attr.aria-labelledby]="headerTextId + ' ' + contentLabelId('values')"
2748
2733
  [ngStyle]="isHorizontal ? {'padding-top': 0, 'padding-left': '16px' } : null"
2749
2734
  [style.width.%]="100"
2750
2735
  >
2751
2736
  <kendo-chip *ngFor="let item of state.measureAxes"
2737
+ #chip
2752
2738
  kendoChipDraggable
2753
2739
  kendoDraggable
2754
2740
  kendoDropTarget
2755
2741
  kendoChipKeyboardNavigation
2756
2742
  [item]="item"
2743
+ [label]="getName(item.name)"
2757
2744
  axes="measureAxes"
2758
- rounded="full"
2759
2745
  [removable]="true"
2746
+ [hasMenu]="true"
2747
+ (menuToggle)="chipMenuValues.toggle($event)"
2760
2748
  (remove)="onChipRemove($event, item, 'measure')"
2761
2749
  (reorder)="onReorder($event, 'measure', item)"
2762
2750
  >
2763
- {{ getName(item.name) }}
2764
-
2765
- <kendo-pivot-chip-menu
2766
- [isMeasureField]="true"
2767
- [chip]="item">
2768
- </kendo-pivot-chip-menu>
2751
+ <kendo-pivot-chip-menu
2752
+ #chipMenuValues
2753
+ [chip]="item"
2754
+ [anchor]="chip"
2755
+ ></kendo-pivot-chip-menu>
2769
2756
  </kendo-chip>
2770
2757
  </kendo-chiplist>
2771
2758
 
@@ -2776,7 +2763,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2776
2763
 
2777
2764
  </div>
2778
2765
  </div>
2779
- <div class="k-pivotgrid-configurator-actions k-actions k-hstack k-justify-content-end">
2766
+ <div class="k-pivotgrid-configurator-actions k-actions k-actions-end k-actions-horizontal">
2780
2767
  <button kendoButton type="button" (click)="handleReset()">{{messageFor('configuratorCancelButtonText')}}</button>
2781
2768
  <button kendoButton themeColor="primary" type="button" (click)="handleSubmit()">{{messageFor('configuratorApplyButtonText')}}</button>
2782
2769
  </div>
@@ -2784,7 +2771,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2784
2771
  `,
2785
2772
  standalone: true,
2786
2773
  imports: [
2787
- NgClass, NgStyle, TreeViewComponent, ExpandDirective, NodeTemplateDirective, NgIf, CheckBoxDirective,
2774
+ NgClass, NgStyle, TreeViewComponent, ExpandDirective, CheckDirective, NodeTemplateDirective, NgIf, CheckBoxComponent,
2788
2775
  NgTemplateOutlet, DropTargetDirective, ChipListComponent, NgFor, ChipComponent, DraggableChipDirective,
2789
2776
  DraggableDirective, ChipKeyboardNavigationDirective, ChipMenuComponent, ButtonComponent
2790
2777
  ]
@@ -3371,8 +3358,8 @@ const packageMetadata = {
3371
3358
  name: '@progress/kendo-angular-pivotgrid',
3372
3359
  productName: 'Kendo UI for Angular',
3373
3360
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
3374
- publishDate: 1728914708,
3375
- version: '17.0.0-develop.2',
3361
+ publishDate: 1729874461,
3362
+ version: '17.0.0-develop.21',
3376
3363
  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'
3377
3364
  };
3378
3365
 
@@ -3666,9 +3653,10 @@ class PivotGridCellDirective {
3666
3653
  this.renderer.setAttribute(nativeElement, 'rowspan', this.kendoPivotGridCell.rowSpan || 1);
3667
3654
  this.renderer.setAttribute(nativeElement, 'colspan', this.kendoPivotGridCell.colSpan || 1);
3668
3655
  const classesToAdd = {
3669
- 'k-pivotgrid-header-total': this.kendoPivotGridCell?.total || (this.tableType === 'values'
3656
+ 'k-pivotgrid-header-total': this.kendoPivotGridCell?.total,
3657
+ 'k-pivotgrid-total': this.tableType === 'values'
3670
3658
  && (this.dataService.rowHeaderLeaves[this.rowIndex].total ||
3671
- this.dataService.columnHeaderLeaves[this.colIndex].total)),
3659
+ this.dataService.columnHeaderLeaves[this.colIndex].total),
3672
3660
  'k-pivotgrid-header-root': this.kendoPivotGridCell?.levelNum === 0,
3673
3661
  'k-pivotgrid-expanded': this.kendoPivotGridCell?.hasChildren && this.kendoPivotGridCell.children.length,
3674
3662
  'k-first': this.colIndex > 0
@@ -3738,10 +3726,10 @@ PivotGridCellDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
3738
3726
  }">
3739
3727
  </ng-template>
3740
3728
  <!--default cell content-->
3741
- <span *ngIf="!customCellTemplate && isNotProvidedCellTemplatePerType">
3729
+ <span *ngIf="!customCellTemplate && isNotProvidedCellTemplatePerType" [ngClass]="{'k-pivotgrid-header-title': !kendoPivotGridCell.data, 'k-pivotgrid-content': kendoPivotGridCell.data}">
3742
3730
  {{ kendoPivotGridCell.data ? kendoPivotGridCell.data.fmtValue : kendoPivotGridCell.caption }}
3743
3731
  </span>
3744
- `, 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"] }] });
3732
+ `, 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"] }] });
3745
3733
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PivotGridCellDirective, decorators: [{
3746
3734
  type: Component,
3747
3735
  args: [{
@@ -3804,12 +3792,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
3804
3792
  }">
3805
3793
  </ng-template>
3806
3794
  <!--default cell content-->
3807
- <span *ngIf="!customCellTemplate && isNotProvidedCellTemplatePerType">
3795
+ <span *ngIf="!customCellTemplate && isNotProvidedCellTemplatePerType" [ngClass]="{'k-pivotgrid-header-title': !kendoPivotGridCell.data, 'k-pivotgrid-content': kendoPivotGridCell.data}">
3808
3796
  {{ kendoPivotGridCell.data ? kendoPivotGridCell.data.fmtValue : kendoPivotGridCell.caption }}
3809
3797
  </span>
3810
3798
  `,
3811
3799
  standalone: true,
3812
- imports: [NgIf, IconWrapperComponent, EventsOutsideAngularDirective, TemplateContextDirective]
3800
+ imports: [NgIf, IconWrapperComponent, EventsOutsideAngularDirective, TemplateContextDirective, NgClass]
3813
3801
  }]
3814
3802
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: PivotGridDataService }]; }, propDecorators: { cellClass: [{
3815
3803
  type: HostBinding,
@@ -4227,7 +4215,7 @@ class PivotGridComponent {
4227
4215
  this.scrollService.pivotGrid = this;
4228
4216
  }
4229
4217
  get rightPositionClass() {
4230
- return this.configuratorSettings?.position === 'right';
4218
+ return !this.configuratorSettings || this.configuratorSettings.position === 'right';
4231
4219
  }
4232
4220
  get leftPositionClass() {
4233
4221
  return this.configuratorSettings?.position === 'left';
@@ -4555,7 +4543,7 @@ PivotGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
4555
4543
  class="k-pivotgrid-configurator-button"
4556
4544
  aria-hidden="true"
4557
4545
  (click)="toggleConfigurator()">
4558
- <span>{{messageFor('configuratorButtonText')}}<kendo-icon-wrapper name="gear" innerCssClass="k-color-inherit" [svgIcon]="gearSVGIcon"></kendo-icon-wrapper>
4546
+ <span>{{messageFor('configuratorButtonText')}}<kendo-icon-wrapper name="gear" [svgIcon]="gearSVGIcon"></kendo-icon-wrapper>
4559
4547
  </span>
4560
4548
  </div>
4561
4549
  `, 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"] }] });
@@ -4728,7 +4716,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
4728
4716
  class="k-pivotgrid-configurator-button"
4729
4717
  aria-hidden="true"
4730
4718
  (click)="toggleConfigurator()">
4731
- <span>{{messageFor('configuratorButtonText')}}<kendo-icon-wrapper name="gear" innerCssClass="k-color-inherit" [svgIcon]="gearSVGIcon"></kendo-icon-wrapper>
4719
+ <span>{{messageFor('configuratorButtonText')}}<kendo-icon-wrapper name="gear" [svgIcon]="gearSVGIcon"></kendo-icon-wrapper>
4732
4720
  </span>
4733
4721
  </div>
4734
4722
  `,