@progress/kendo-angular-pivotgrid 17.0.0-develop.6 → 17.0.0-develop.8
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.
- package/configurator/chip-menu/chip-menu.component.d.ts +6 -4
- package/configurator/configurator.component.d.ts +2 -5
- package/esm2020/configurator/chip-menu/chip-menu.component.mjs +16 -31
- package/esm2020/configurator/chip-menu/filtering/filter-menu-container.component.mjs +1 -1
- package/esm2020/configurator/configurator.component.mjs +83 -85
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/pivotgrid.component.mjs +3 -3
- package/esm2020/rendering/pivotgrid-cell.directive.mjs +8 -7
- package/fesm2015/progress-kendo-angular-pivotgrid.mjs +110 -129
- package/fesm2020/progress-kendo-angular-pivotgrid.mjs +110 -127
- package/package.json +12 -12
- package/schematics/ngAdd/index.js +2 -2
@@ -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,
|
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]
|
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
|
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
|
1654
|
-
this.popupRef = this.popupService.open(
|
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
|
-
|
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: "
|
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:
|
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: ['
|
1756
|
+
args: ['template', { static: true }]
|
1773
1757
|
}] } });
|
1774
1758
|
|
1775
1759
|
/**
|
@@ -2143,6 +2127,9 @@ class PivotGridConfiguratorComponent {
|
|
2143
2127
|
* A function which determines if a specific node has child nodes.
|
2144
2128
|
*/
|
2145
2129
|
this.hasChildren = (node) => !('hierarchyUniqueName' in node) && !('aggregator' in node);
|
2130
|
+
this.checkItemBy = (context) => {
|
2131
|
+
return context.dataItem;
|
2132
|
+
};
|
2146
2133
|
/**
|
2147
2134
|
* A function which provides the child nodes for a given parent node.
|
2148
2135
|
*/
|
@@ -2298,17 +2285,6 @@ class PivotGridConfiguratorComponent {
|
|
2298
2285
|
].some((h) => (h === f.uniqueName || h === f.defaultHierarchy)));
|
2299
2286
|
this.checked = checked;
|
2300
2287
|
}
|
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
2288
|
/**
|
2313
2289
|
* Determines if a checkbox should be rendered.
|
2314
2290
|
*/
|
@@ -2329,21 +2305,14 @@ class PivotGridConfiguratorComponent {
|
|
2329
2305
|
const fields = event.children.map(item => item.dataItem);
|
2330
2306
|
this.setChecked(fields);
|
2331
2307
|
}
|
2332
|
-
handleCheckedChange(event
|
2333
|
-
|
2334
|
-
|
2335
|
-
}
|
2336
|
-
else {
|
2337
|
-
const itemIndex = this.checked.findIndex(checkedItem => checkedItem.uniqueName === item.uniqueName);
|
2338
|
-
this.checked.splice(itemIndex, 1);
|
2339
|
-
}
|
2308
|
+
handleCheckedChange(event) {
|
2309
|
+
const itemIndex = this.checked.findIndex(checkedItem => checkedItem.uniqueName === event.item.dataItem.uniqueName);
|
2310
|
+
this.checked.splice(itemIndex, 1);
|
2340
2311
|
const action = {
|
2341
2312
|
type: 'PIVOT_CONFIGURATOR_ACTION_TOGGLE_SELECTION',
|
2342
|
-
payload: item
|
2313
|
+
payload: event.item.dataItem
|
2343
2314
|
};
|
2344
2315
|
this.configuratorService.parseConfiguratorState(action);
|
2345
|
-
const closestItem = event.target.closest('.k-treeview-item');
|
2346
|
-
this.zone.runOutsideAngular(() => setTimeout(() => closestItem.focus()));
|
2347
2316
|
}
|
2348
2317
|
onTreeViewSelect(ev) {
|
2349
2318
|
var _a;
|
@@ -2434,7 +2403,7 @@ PivotGridConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
2434
2403
|
</div>
|
2435
2404
|
|
2436
2405
|
<div class="k-pivotgrid-configurator-content">
|
2437
|
-
<div class="k-form" [class.k-form-horizontal]="isHorizontal" role="form">
|
2406
|
+
<div class="k-form k-form-md" [class.k-form-horizontal]="isHorizontal" [class.k-form-vertical]="!isHorizontal" role="form">
|
2438
2407
|
<div class="k-form-field-wrapper" [ngStyle]="isHorizontal ? {'padding-left': 0 } : null">
|
2439
2408
|
<div class="k-form-field" [style]="'padding-top: 1em; margin-top: 0;'" [ngStyle]="isHorizontal ? {'padding-top': 0, 'padding-left': '16px' } : null">
|
2440
2409
|
<span [id]="contentLabelId('fields')" class="k-label">{{messageFor('configuratorFieldsText')}}</span>
|
@@ -2449,21 +2418,14 @@ PivotGridConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
2449
2418
|
textField="caption"
|
2450
2419
|
[children]="children"
|
2451
2420
|
[hasChildren]="hasChildren"
|
2421
|
+
kendoTreeViewCheckable
|
2422
|
+
[hasCheckbox]="isSelectable"
|
2423
|
+
[(checkedKeys)]="checked"
|
2424
|
+
[checkBy]="checkItemBy"
|
2425
|
+
(checkedChange)="handleCheckedChange($event)"
|
2452
2426
|
kendoTreeViewExpandable
|
2453
2427
|
(childrenLoaded)="handleChildrenLoaded($event)"
|
2454
2428
|
(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
2429
|
</kendo-treeview>
|
2468
2430
|
|
2469
2431
|
</div>
|
@@ -2483,6 +2445,7 @@ PivotGridConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
2483
2445
|
*ngIf="state.columnAxes && state.columnAxes.length; else noColumnAxes"
|
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
|
-
>
|
2469
|
+
>
|
2504
2470
|
<kendo-pivot-chip-menu
|
2505
|
-
|
2506
|
-
|
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>
|
@@ -2520,6 +2488,7 @@ PivotGridConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
2520
2488
|
*ngIf="state.rowAxes && state.rowAxes.length; else noRowAxes"
|
2521
2489
|
#rowsChiplist
|
2522
2490
|
kendoDropTarget
|
2491
|
+
class="k-row-fields"
|
2523
2492
|
axes="rowAxes"
|
2524
2493
|
[attr.aria-labelledby]="headerTextId + ' ' + contentLabelId('rows')"
|
2525
2494
|
[ngStyle]="isHorizontal ? {'padding-top': 0, 'padding-left': '16px' } : null"
|
@@ -2527,22 +2496,25 @@ PivotGridConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
2527
2496
|
>
|
2528
2497
|
<ng-container *ngFor="let item of state.rowAxes">
|
2529
2498
|
<kendo-chip *ngIf="item.name.length === 1"
|
2499
|
+
#chip
|
2530
2500
|
kendoChipDraggable
|
2531
2501
|
kendoDraggable
|
2532
2502
|
kendoDropTarget
|
2533
2503
|
kendoChipKeyboardNavigation
|
2534
2504
|
[item]="item"
|
2505
|
+
[label]="getName(item.name)"
|
2535
2506
|
axes="rowAxes"
|
2536
|
-
rounded="full"
|
2537
2507
|
[removable]="true"
|
2508
|
+
[hasMenu]="true"
|
2509
|
+
(menuToggle)="chipMenuRows.toggle($event)"
|
2538
2510
|
(remove)="onChipRemove($event, item, 'row')"
|
2539
2511
|
(reorder)="onReorder($event, 'row', item)"
|
2540
2512
|
>
|
2541
|
-
{{ getName(item.name) }}
|
2542
|
-
|
2543
2513
|
<kendo-pivot-chip-menu
|
2544
|
-
|
2545
|
-
|
2514
|
+
#chipMenuRows
|
2515
|
+
[chip]="item"
|
2516
|
+
[anchor]="chip"
|
2517
|
+
></kendo-pivot-chip-menu>
|
2546
2518
|
</kendo-chip>
|
2547
2519
|
</ng-container>
|
2548
2520
|
</kendo-chiplist>
|
@@ -2564,29 +2536,32 @@ PivotGridConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
2564
2536
|
<kendo-chiplist
|
2565
2537
|
*ngIf="state.measureAxes && state.measureAxes.length; else noMeasureAxes"
|
2566
2538
|
kendoDropTarget
|
2539
|
+
class="k-filter-fields"
|
2567
2540
|
axes="measureAxes"
|
2568
2541
|
[attr.aria-labelledby]="headerTextId + ' ' + contentLabelId('values')"
|
2569
2542
|
[ngStyle]="isHorizontal ? {'padding-top': 0, 'padding-left': '16px' } : null"
|
2570
2543
|
[style.width.%]="100"
|
2571
2544
|
>
|
2572
2545
|
<kendo-chip *ngFor="let item of state.measureAxes"
|
2546
|
+
#chip
|
2573
2547
|
kendoChipDraggable
|
2574
2548
|
kendoDraggable
|
2575
2549
|
kendoDropTarget
|
2576
2550
|
kendoChipKeyboardNavigation
|
2577
2551
|
[item]="item"
|
2552
|
+
[label]="getName(item.name)"
|
2578
2553
|
axes="measureAxes"
|
2579
|
-
rounded="full"
|
2580
2554
|
[removable]="true"
|
2555
|
+
[hasMenu]="true"
|
2556
|
+
(menuToggle)="chipMenuValues.toggle($event)"
|
2581
2557
|
(remove)="onChipRemove($event, item, 'measure')"
|
2582
2558
|
(reorder)="onReorder($event, 'measure', item)"
|
2583
2559
|
>
|
2584
|
-
|
2585
|
-
|
2586
|
-
|
2587
|
-
|
2588
|
-
|
2589
|
-
</kendo-pivot-chip-menu>
|
2560
|
+
<kendo-pivot-chip-menu
|
2561
|
+
#chipMenuValues
|
2562
|
+
[chip]="item"
|
2563
|
+
[anchor]="chip"
|
2564
|
+
></kendo-pivot-chip-menu>
|
2590
2565
|
</kendo-chip>
|
2591
2566
|
</kendo-chiplist>
|
2592
2567
|
|
@@ -2597,12 +2572,12 @@ PivotGridConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
2597
2572
|
|
2598
2573
|
</div>
|
2599
2574
|
</div>
|
2600
|
-
<div class="k-pivotgrid-configurator-actions k-actions k-
|
2575
|
+
<div class="k-pivotgrid-configurator-actions k-actions k-actions-end k-actions-horizontal">
|
2601
2576
|
<button kendoButton type="button" (click)="handleReset()">{{messageFor('configuratorCancelButtonText')}}</button>
|
2602
2577
|
<button kendoButton themeColor="primary" type="button" (click)="handleSubmit()">{{messageFor('configuratorApplyButtonText')}}</button>
|
2603
2578
|
</div>
|
2604
2579
|
</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:
|
2580
|
+
`, 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", "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", "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
2581
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PivotGridConfiguratorComponent, decorators: [{
|
2607
2582
|
type: Component,
|
2608
2583
|
args: [{
|
@@ -2627,7 +2602,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
2627
2602
|
</div>
|
2628
2603
|
|
2629
2604
|
<div class="k-pivotgrid-configurator-content">
|
2630
|
-
<div class="k-form" [class.k-form-horizontal]="isHorizontal" role="form">
|
2605
|
+
<div class="k-form k-form-md" [class.k-form-horizontal]="isHorizontal" [class.k-form-vertical]="!isHorizontal" role="form">
|
2631
2606
|
<div class="k-form-field-wrapper" [ngStyle]="isHorizontal ? {'padding-left': 0 } : null">
|
2632
2607
|
<div class="k-form-field" [style]="'padding-top: 1em; margin-top: 0;'" [ngStyle]="isHorizontal ? {'padding-top': 0, 'padding-left': '16px' } : null">
|
2633
2608
|
<span [id]="contentLabelId('fields')" class="k-label">{{messageFor('configuratorFieldsText')}}</span>
|
@@ -2642,21 +2617,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
2642
2617
|
textField="caption"
|
2643
2618
|
[children]="children"
|
2644
2619
|
[hasChildren]="hasChildren"
|
2620
|
+
kendoTreeViewCheckable
|
2621
|
+
[hasCheckbox]="isSelectable"
|
2622
|
+
[(checkedKeys)]="checked"
|
2623
|
+
[checkBy]="checkItemBy"
|
2624
|
+
(checkedChange)="handleCheckedChange($event)"
|
2645
2625
|
kendoTreeViewExpandable
|
2646
2626
|
(childrenLoaded)="handleChildrenLoaded($event)"
|
2647
2627
|
(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
2628
|
</kendo-treeview>
|
2661
2629
|
|
2662
2630
|
</div>
|
@@ -2676,6 +2644,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
2676
2644
|
*ngIf="state.columnAxes && state.columnAxes.length; else noColumnAxes"
|
2677
2645
|
#columnsChiplist
|
2678
2646
|
kendoDropTarget
|
2647
|
+
class="k-column-fields"
|
2679
2648
|
axes="columnAxes"
|
2680
2649
|
[style.width.%]="100"
|
2681
2650
|
[attr.aria-labelledby]="headerTextId + ' ' + contentLabelId('columns')"
|
@@ -2683,20 +2652,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
2683
2652
|
>
|
2684
2653
|
<ng-container *ngFor="let item of state.columnAxes">
|
2685
2654
|
<kendo-chip *ngIf="item.name.length === 1"
|
2655
|
+
#chip
|
2686
2656
|
kendoChipDraggable
|
2687
2657
|
kendoDraggable
|
2688
2658
|
kendoDropTarget
|
2689
2659
|
kendoChipKeyboardNavigation
|
2690
2660
|
[item]="item"
|
2661
|
+
[label]="getName(item.name)"
|
2691
2662
|
axes="columnAxes"
|
2692
|
-
rounded="full"
|
2693
2663
|
[removable]="true"
|
2664
|
+
[hasMenu]="true"
|
2665
|
+
(menuToggle)="chipMenuColumns.toggle($event)"
|
2694
2666
|
(remove)="onChipRemove($event, item, 'column')"
|
2695
2667
|
(reorder)="onReorder($event, 'column', item)"
|
2696
|
-
>
|
2668
|
+
>
|
2697
2669
|
<kendo-pivot-chip-menu
|
2698
|
-
|
2699
|
-
|
2670
|
+
#chipMenuColumns
|
2671
|
+
[chip]="item"
|
2672
|
+
[anchor]="chip"
|
2673
|
+
></kendo-pivot-chip-menu>
|
2700
2674
|
</kendo-chip>
|
2701
2675
|
</ng-container>
|
2702
2676
|
</kendo-chiplist>
|
@@ -2713,6 +2687,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
2713
2687
|
*ngIf="state.rowAxes && state.rowAxes.length; else noRowAxes"
|
2714
2688
|
#rowsChiplist
|
2715
2689
|
kendoDropTarget
|
2690
|
+
class="k-row-fields"
|
2716
2691
|
axes="rowAxes"
|
2717
2692
|
[attr.aria-labelledby]="headerTextId + ' ' + contentLabelId('rows')"
|
2718
2693
|
[ngStyle]="isHorizontal ? {'padding-top': 0, 'padding-left': '16px' } : null"
|
@@ -2720,22 +2695,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
2720
2695
|
>
|
2721
2696
|
<ng-container *ngFor="let item of state.rowAxes">
|
2722
2697
|
<kendo-chip *ngIf="item.name.length === 1"
|
2698
|
+
#chip
|
2723
2699
|
kendoChipDraggable
|
2724
2700
|
kendoDraggable
|
2725
2701
|
kendoDropTarget
|
2726
2702
|
kendoChipKeyboardNavigation
|
2727
2703
|
[item]="item"
|
2704
|
+
[label]="getName(item.name)"
|
2728
2705
|
axes="rowAxes"
|
2729
|
-
rounded="full"
|
2730
2706
|
[removable]="true"
|
2707
|
+
[hasMenu]="true"
|
2708
|
+
(menuToggle)="chipMenuRows.toggle($event)"
|
2731
2709
|
(remove)="onChipRemove($event, item, 'row')"
|
2732
2710
|
(reorder)="onReorder($event, 'row', item)"
|
2733
2711
|
>
|
2734
|
-
{{ getName(item.name) }}
|
2735
|
-
|
2736
2712
|
<kendo-pivot-chip-menu
|
2737
|
-
|
2738
|
-
|
2713
|
+
#chipMenuRows
|
2714
|
+
[chip]="item"
|
2715
|
+
[anchor]="chip"
|
2716
|
+
></kendo-pivot-chip-menu>
|
2739
2717
|
</kendo-chip>
|
2740
2718
|
</ng-container>
|
2741
2719
|
</kendo-chiplist>
|
@@ -2757,29 +2735,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
2757
2735
|
<kendo-chiplist
|
2758
2736
|
*ngIf="state.measureAxes && state.measureAxes.length; else noMeasureAxes"
|
2759
2737
|
kendoDropTarget
|
2738
|
+
class="k-filter-fields"
|
2760
2739
|
axes="measureAxes"
|
2761
2740
|
[attr.aria-labelledby]="headerTextId + ' ' + contentLabelId('values')"
|
2762
2741
|
[ngStyle]="isHorizontal ? {'padding-top': 0, 'padding-left': '16px' } : null"
|
2763
2742
|
[style.width.%]="100"
|
2764
2743
|
>
|
2765
2744
|
<kendo-chip *ngFor="let item of state.measureAxes"
|
2745
|
+
#chip
|
2766
2746
|
kendoChipDraggable
|
2767
2747
|
kendoDraggable
|
2768
2748
|
kendoDropTarget
|
2769
2749
|
kendoChipKeyboardNavigation
|
2770
2750
|
[item]="item"
|
2751
|
+
[label]="getName(item.name)"
|
2771
2752
|
axes="measureAxes"
|
2772
|
-
rounded="full"
|
2773
2753
|
[removable]="true"
|
2754
|
+
[hasMenu]="true"
|
2755
|
+
(menuToggle)="chipMenuValues.toggle($event)"
|
2774
2756
|
(remove)="onChipRemove($event, item, 'measure')"
|
2775
2757
|
(reorder)="onReorder($event, 'measure', item)"
|
2776
2758
|
>
|
2777
|
-
|
2778
|
-
|
2779
|
-
|
2780
|
-
|
2781
|
-
|
2782
|
-
</kendo-pivot-chip-menu>
|
2759
|
+
<kendo-pivot-chip-menu
|
2760
|
+
#chipMenuValues
|
2761
|
+
[chip]="item"
|
2762
|
+
[anchor]="chip"
|
2763
|
+
></kendo-pivot-chip-menu>
|
2783
2764
|
</kendo-chip>
|
2784
2765
|
</kendo-chiplist>
|
2785
2766
|
|
@@ -2790,7 +2771,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
2790
2771
|
|
2791
2772
|
</div>
|
2792
2773
|
</div>
|
2793
|
-
<div class="k-pivotgrid-configurator-actions k-actions k-
|
2774
|
+
<div class="k-pivotgrid-configurator-actions k-actions k-actions-end k-actions-horizontal">
|
2794
2775
|
<button kendoButton type="button" (click)="handleReset()">{{messageFor('configuratorCancelButtonText')}}</button>
|
2795
2776
|
<button kendoButton themeColor="primary" type="button" (click)="handleSubmit()">{{messageFor('configuratorApplyButtonText')}}</button>
|
2796
2777
|
</div>
|
@@ -2798,7 +2779,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
2798
2779
|
`,
|
2799
2780
|
standalone: true,
|
2800
2781
|
imports: [
|
2801
|
-
NgClass, NgStyle, TreeViewComponent, ExpandDirective, NodeTemplateDirective, NgIf,
|
2782
|
+
NgClass, NgStyle, TreeViewComponent, ExpandDirective, CheckDirective, NodeTemplateDirective, NgIf, CheckBoxComponent,
|
2802
2783
|
NgTemplateOutlet, DropTargetDirective, ChipListComponent, NgFor, ChipComponent, DraggableChipDirective,
|
2803
2784
|
DraggableDirective, ChipKeyboardNavigationDirective, ChipMenuComponent, ButtonComponent
|
2804
2785
|
]
|
@@ -3391,8 +3372,8 @@ const packageMetadata = {
|
|
3391
3372
|
name: '@progress/kendo-angular-pivotgrid',
|
3392
3373
|
productName: 'Kendo UI for Angular',
|
3393
3374
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
3394
|
-
publishDate:
|
3395
|
-
version: '17.0.0-develop.
|
3375
|
+
publishDate: 1729170378,
|
3376
|
+
version: '17.0.0-develop.8',
|
3396
3377
|
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
3378
|
};
|
3398
3379
|
|
@@ -3688,9 +3669,10 @@ class PivotGridCellDirective {
|
|
3688
3669
|
this.renderer.setAttribute(nativeElement, 'rowspan', this.kendoPivotGridCell.rowSpan || 1);
|
3689
3670
|
this.renderer.setAttribute(nativeElement, 'colspan', this.kendoPivotGridCell.colSpan || 1);
|
3690
3671
|
const classesToAdd = {
|
3691
|
-
'k-pivotgrid-header-total': (
|
3672
|
+
'k-pivotgrid-header-total': (_a = this.kendoPivotGridCell) === null || _a === void 0 ? void 0 : _a.total,
|
3673
|
+
'k-pivotgrid-total': this.tableType === 'values'
|
3692
3674
|
&& (this.dataService.rowHeaderLeaves[this.rowIndex].total ||
|
3693
|
-
this.dataService.columnHeaderLeaves[this.colIndex].total)
|
3675
|
+
this.dataService.columnHeaderLeaves[this.colIndex].total),
|
3694
3676
|
'k-pivotgrid-header-root': ((_b = this.kendoPivotGridCell) === null || _b === void 0 ? void 0 : _b.levelNum) === 0,
|
3695
3677
|
'k-pivotgrid-expanded': ((_c = this.kendoPivotGridCell) === null || _c === void 0 ? void 0 : _c.hasChildren) && this.kendoPivotGridCell.children.length,
|
3696
3678
|
'k-first': this.colIndex > 0
|
@@ -3760,10 +3742,10 @@ PivotGridCellDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
3760
3742
|
}">
|
3761
3743
|
</ng-template>
|
3762
3744
|
<!--default cell content-->
|
3763
|
-
<span *ngIf="!customCellTemplate && isNotProvidedCellTemplatePerType">
|
3745
|
+
<span *ngIf="!customCellTemplate && isNotProvidedCellTemplatePerType" [ngClass]="{'k-pivotgrid-header-title': !kendoPivotGridCell.data, 'k-pivotgrid-content': kendoPivotGridCell.data}">
|
3764
3746
|
{{ kendoPivotGridCell.data ? kendoPivotGridCell.data.fmtValue : kendoPivotGridCell.caption }}
|
3765
3747
|
</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"] }] });
|
3748
|
+
`, 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
3749
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PivotGridCellDirective, decorators: [{
|
3768
3750
|
type: Component,
|
3769
3751
|
args: [{
|
@@ -3826,12 +3808,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
3826
3808
|
}">
|
3827
3809
|
</ng-template>
|
3828
3810
|
<!--default cell content-->
|
3829
|
-
<span *ngIf="!customCellTemplate && isNotProvidedCellTemplatePerType">
|
3811
|
+
<span *ngIf="!customCellTemplate && isNotProvidedCellTemplatePerType" [ngClass]="{'k-pivotgrid-header-title': !kendoPivotGridCell.data, 'k-pivotgrid-content': kendoPivotGridCell.data}">
|
3830
3812
|
{{ kendoPivotGridCell.data ? kendoPivotGridCell.data.fmtValue : kendoPivotGridCell.caption }}
|
3831
3813
|
</span>
|
3832
3814
|
`,
|
3833
3815
|
standalone: true,
|
3834
|
-
imports: [NgIf, IconWrapperComponent, EventsOutsideAngularDirective, TemplateContextDirective]
|
3816
|
+
imports: [NgIf, IconWrapperComponent, EventsOutsideAngularDirective, TemplateContextDirective, NgClass]
|
3835
3817
|
}]
|
3836
3818
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: PivotGridDataService }]; }, propDecorators: { cellClass: [{
|
3837
3819
|
type: HostBinding,
|
@@ -4253,8 +4235,7 @@ class PivotGridComponent {
|
|
4253
4235
|
this.scrollService.pivotGrid = this;
|
4254
4236
|
}
|
4255
4237
|
get rightPositionClass() {
|
4256
|
-
|
4257
|
-
return ((_a = this.configuratorSettings) === null || _a === void 0 ? void 0 : _a.position) === 'right';
|
4238
|
+
return !this.configuratorSettings || this.configuratorSettings.position === 'right';
|
4258
4239
|
}
|
4259
4240
|
get leftPositionClass() {
|
4260
4241
|
var _a;
|
@@ -4585,7 +4566,7 @@ PivotGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
4585
4566
|
class="k-pivotgrid-configurator-button"
|
4586
4567
|
aria-hidden="true"
|
4587
4568
|
(click)="toggleConfigurator()">
|
4588
|
-
<span>{{messageFor('configuratorButtonText')}}<kendo-icon-wrapper name="gear"
|
4569
|
+
<span>{{messageFor('configuratorButtonText')}}<kendo-icon-wrapper name="gear" [svgIcon]="gearSVGIcon"></kendo-icon-wrapper>
|
4589
4570
|
</span>
|
4590
4571
|
</div>
|
4591
4572
|
`, 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 +4739,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
4758
4739
|
class="k-pivotgrid-configurator-button"
|
4759
4740
|
aria-hidden="true"
|
4760
4741
|
(click)="toggleConfigurator()">
|
4761
|
-
<span>{{messageFor('configuratorButtonText')}}<kendo-icon-wrapper name="gear"
|
4742
|
+
<span>{{messageFor('configuratorButtonText')}}<kendo-icon-wrapper name="gear" [svgIcon]="gearSVGIcon"></kendo-icon-wrapper>
|
4762
4743
|
</span>
|
4763
4744
|
</div>
|
4764
4745
|
`,
|