@progress/kendo-angular-pivotgrid 0.2.0 → 0.2.1-dev.202209131551

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,7 +20,7 @@ export class PivotOLAPBindingDirective extends PivotBaseBindingDirective {
20
20
  }
21
21
  ngOnChanges(changes) {
22
22
  if (anyChanged(['url', 'cube', 'catalog', 'columnAxes', 'rowAxes', 'measureAxes'], changes)) {
23
- this.loadData(this.state);
23
+ this.loadData(this.dataService.state);
24
24
  this.loadFields();
25
25
  }
26
26
  }
@@ -0,0 +1,5 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ export {};
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-pivotgrid',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1662993956,
12
+ publishDate: 1663084250,
13
13
  version: '',
14
14
  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'
15
15
  };
@@ -30,7 +30,7 @@ const DEFAULT_LOADER_SETTINGS = {
30
30
  };
31
31
  const DEFAULT_CONFIGURATOR_SETTINGS = {
32
32
  position: 'right',
33
- horizontal: false
33
+ orientation: 'vertical'
34
34
  };
35
35
  /**
36
36
  * Represents the Kendo UI PivotGrid component for Angular.
@@ -187,9 +187,12 @@ export class PivotGridComponent {
187
187
  if (firstCell) {
188
188
  firstCell.setAttribute('tabindex', '0');
189
189
  }
190
- this.subs.add(this.dataService.directive.expandChange.pipe(merge(this.dataService.directive.configurationChange)).subscribe(() => this.zone.runOutsideAngular(() => {
191
- setTimeout(() => this.navigation.update());
192
- })));
190
+ if (!this.navigationSubs) {
191
+ this.navigationSubs = this.dataService.directive.expandChange.pipe(merge(this.dataService.directive.configurationChange)).subscribe(() => this.zone.runOutsideAngular(() => {
192
+ setTimeout(() => this.navigation.update());
193
+ }));
194
+ this.subs.add(this.navigationSubs);
195
+ }
193
196
  }
194
197
  stopNavigation() {
195
198
  if (this.navigation) {
@@ -337,7 +340,7 @@ PivotGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
337
340
 
338
341
  <kendo-pivotgrid-configurator
339
342
  *ngIf="showConfigurator"
340
- [horizontal]="configuratorSettings.horizontal">
343
+ [orientation]="configuratorSettings.orientation">
341
344
  </kendo-pivotgrid-configurator>
342
345
 
343
346
  <div *ngIf="configurator"
@@ -346,7 +349,7 @@ PivotGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
346
349
  <span>{{messageFor('configuratorButtonText')}}<span class="k-icon k-i-gear k-color-inherit"></span>
347
350
  </span>
348
351
  </div>
349
- `, isInline: true, styles: ["\n /** TODO: Remove if added to themes */\n div.k-loader {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n }\n\n .k-pivotgrid-empty-cell:focus {\n outline: none;\n }\n "], components: [{ type: i4.PivotGridTableComponent, selector: "kendo-pivotgrid-table", inputs: ["tableType", "colWidth"] }, { type: i5.LoaderComponent, selector: "kendo-loader", inputs: ["type", "themeColor", "size"] }, { type: i6.PivotGridConfiguratorComponent, selector: "kendo-pivotgrid-configurator", inputs: ["horizontal", "sort", "filter"] }], directives: [{ type: i7.LocalizedMessagesDirective, selector: "[kendoPivotGridLocalizedMessages]" }, { type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
352
+ `, isInline: true, styles: ["\n /** TODO: Remove if added to themes */\n div.k-loader {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n }\n "], components: [{ type: i4.PivotGridTableComponent, selector: "kendo-pivotgrid-table", inputs: ["tableType", "colWidth"] }, { type: i5.LoaderComponent, selector: "kendo-loader", inputs: ["type", "themeColor", "size"] }, { type: i6.PivotGridConfiguratorComponent, selector: "kendo-pivotgrid-configurator", inputs: ["orientation", "sort", "filter"] }], directives: [{ type: i7.LocalizedMessagesDirective, selector: "[kendoPivotGridLocalizedMessages]" }, { type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
350
353
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PivotGridComponent, decorators: [{
351
354
  type: Component,
352
355
  args: [{
@@ -487,7 +490,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
487
490
 
488
491
  <kendo-pivotgrid-configurator
489
492
  *ngIf="showConfigurator"
490
- [horizontal]="configuratorSettings.horizontal">
493
+ [orientation]="configuratorSettings.orientation">
491
494
  </kendo-pivotgrid-configurator>
492
495
 
493
496
  <div *ngIf="configurator"
@@ -505,10 +508,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
505
508
  left: 50%;
506
509
  transform: translate(-50%, -50%);
507
510
  }
508
-
509
- .k-pivotgrid-empty-cell:focus {
510
- outline: none;
511
- }
512
511
  `]
513
512
  }]
514
513
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i1.PivotGridDataService }, { type: i2.LocalizationService }, { type: i0.Renderer2 }, { type: i3.ScrollbarWidthService }]; }, propDecorators: { hostClass: [{
@@ -65,7 +65,7 @@ PivotGridTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
65
65
  </tr>
66
66
  </tbody>
67
67
  </table>
68
- `, isInline: true, styles: ["\n /** TODO: Remove if added to themes */\n .k-pivotgrid-cell:focus {\n outline: none;\n }\n "], components: [{ type: i2.PivotGridCellDirective, selector: "[kendoPivotGridCell]", inputs: ["kendoPivotGridCell", "tableType", "rowIndex", "colIndex"] }], directives: [{ type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
68
+ `, isInline: true, components: [{ type: i2.PivotGridCellDirective, selector: "[kendoPivotGridCell]", inputs: ["kendoPivotGridCell", "tableType", "rowIndex", "colIndex"] }], directives: [{ type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
69
69
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PivotGridTableComponent, decorators: [{
70
70
  type: Component,
71
71
  args: [{
@@ -105,13 +105,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
105
105
  </tr>
106
106
  </tbody>
107
107
  </table>
108
- `,
109
- styles: [`
110
- /** TODO: Remove if added to themes */
111
- .k-pivotgrid-cell:focus {
112
- outline: none;
113
- }
114
- `]
108
+ `
115
109
  }]
116
110
  }], ctorParameters: function () { return [{ type: i1.PivotGridDataService }]; }, propDecorators: { tableType: [{
117
111
  type: Input