@lumeer/pivot 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/esm2022/lib/lmr-pivot-table.component.mjs +70 -10
  2. package/esm2022/lib/lmr-pivot-table.module.mjs +16 -4
  3. package/esm2022/lib/lmr-simple-pivot-table.component.mjs +6 -3
  4. package/esm2022/lib/pipes/cell-has-value.pipe.mjs +35 -0
  5. package/esm2022/lib/pipes/filter-visible-cells.pipe.mjs +35 -0
  6. package/esm2022/lib/pipes/is-cell-expandable.pipe.mjs +35 -0
  7. package/esm2022/lib/pipes/is-cell-expanded.pipe.mjs +37 -0
  8. package/esm2022/lib/pipes/is-cell-rows-expandable.pipe.mjs +35 -0
  9. package/esm2022/lib/util/lmr-pivot-state.mjs +150 -0
  10. package/esm2022/lib/util/lmr-pivot-table.mjs +1 -1
  11. package/esm2022/lib/util/pivot-table-converter.mjs +62 -40
  12. package/esm2022/lib/util/pivot-util.mjs +7 -4
  13. package/fesm2022/lumeer-pivot.mjs +428 -58
  14. package/fesm2022/lumeer-pivot.mjs.map +1 -1
  15. package/lib/lmr-pivot-table.component.d.ts +20 -4
  16. package/lib/lmr-pivot-table.module.d.ts +10 -6
  17. package/lib/lmr-simple-pivot-table.component.d.ts +8 -2
  18. package/lib/pipes/cell-has-value.pipe.d.ts +8 -0
  19. package/lib/pipes/filter-visible-cells.pipe.d.ts +9 -0
  20. package/lib/pipes/is-cell-expandable.pipe.d.ts +8 -0
  21. package/lib/pipes/is-cell-expanded.pipe.d.ts +9 -0
  22. package/lib/pipes/is-cell-rows-expandable.pipe.d.ts +8 -0
  23. package/lib/util/lmr-pivot-state.d.ts +14 -0
  24. package/lib/util/lmr-pivot-table.d.ts +7 -1
  25. package/lib/util/pivot-table-converter.d.ts +1 -0
  26. package/lumeer-pivot-0.0.7.tgz +0 -0
  27. package/package.json +1 -1
  28. package/esm2022/lib/pipes/pivot-table-value.pipe.mjs +0 -35
  29. package/lib/pipes/pivot-table-value.pipe.d.ts +0 -8
  30. package/lumeer-pivot-0.0.6.tgz +0 -0
@@ -2,8 +2,9 @@ import { EventEmitter, OnChanges, OnInit, SimpleChanges, TemplateRef } from '@an
2
2
  import { LmrPivotConfig, LmrPivotTransform } from './util/lmr-pivot-config';
3
3
  import { Collection, ConstraintData, DocumentsAndLinksData, LinkType, Query } from '@lumeer/data-filters';
4
4
  import { LmrPivotData } from './util/lmr-pivot-data';
5
- import { Observable } from 'rxjs';
5
+ import { BehaviorSubject, Observable } from 'rxjs';
6
6
  import { LmrPivotTable, LmrPivotTableCell } from './util/lmr-pivot-table';
7
+ import { LmrPivotTableState } from './util/lmr-pivot-state';
7
8
  import * as i0 from "@angular/core";
8
9
  export declare class LmrPivotTableComponent implements OnInit, OnChanges {
9
10
  collections: Collection[];
@@ -15,19 +16,34 @@ export declare class LmrPivotTableComponent implements OnInit, OnChanges {
15
16
  transform: LmrPivotTransform;
16
17
  emptyTablesTemplateInput: TemplateRef<any>;
17
18
  tableCellTemplateInput: TemplateRef<any>;
18
- cellClick: EventEmitter<LmrPivotTableCell>;
19
+ initiallyCollapsed: boolean;
20
+ cellClick: EventEmitter<{
21
+ cell: LmrPivotTableCell;
22
+ tableIndex: number;
23
+ rowIndex: number;
24
+ columnIndex: number;
25
+ }>;
19
26
  pivotDataChange: EventEmitter<LmrPivotData>;
20
27
  pivotTablesChange: EventEmitter<LmrPivotTable[]>;
21
28
  emptyTablesTemplate: TemplateRef<any>;
22
29
  tableCellTemplate: TemplateRef<any>;
23
30
  private readonly pivotTransformer;
24
31
  private readonly pivotTableConverter;
25
- private dataSubject;
32
+ readonly stickyColumnWidth = 150;
33
+ readonly stickyColumnHeight = 150;
34
+ private dataSubject$;
35
+ private currentTables;
26
36
  pivotData$: Observable<LmrPivotData>;
27
37
  pivotTables$: Observable<LmrPivotTable[]>;
38
+ pivotStates$: BehaviorSubject<LmrPivotTableState[]>;
28
39
  ngOnInit(): void;
40
+ private onPivotDataChange;
41
+ private onPivotTablesChange;
29
42
  private handleData;
30
43
  ngOnChanges(changes: SimpleChanges): void;
44
+ private resetState;
45
+ onCellClick(cell: LmrPivotTableCell, row: LmrPivotTableCell[], tableIndex: number, rowIndex: number, columnIndex: number): void;
46
+ private setState;
31
47
  static ɵfac: i0.ɵɵFactoryDeclaration<LmrPivotTableComponent, never>;
32
- static ɵcmp: i0.ɵɵComponentDeclaration<LmrPivotTableComponent, "lmr-pivot-table", never, { "collections": { "alias": "collections"; "required": false; }; "data": { "alias": "data"; "required": false; }; "linkTypes": { "alias": "linkTypes"; "required": false; }; "query": { "alias": "query"; "required": false; }; "constraintData": { "alias": "constraintData"; "required": false; }; "config": { "alias": "config"; "required": false; }; "transform": { "alias": "transform"; "required": false; }; "emptyTablesTemplateInput": { "alias": "emptyTablesTemplateInput"; "required": false; }; "tableCellTemplateInput": { "alias": "tableCellTemplateInput"; "required": false; }; }, { "cellClick": "cellClick"; "pivotDataChange": "pivotDataChange"; "pivotTablesChange": "pivotTablesChange"; }, ["emptyTablesTemplate", "tableCellTemplate"], never, false, never>;
48
+ static ɵcmp: i0.ɵɵComponentDeclaration<LmrPivotTableComponent, "lmr-pivot-table", never, { "collections": { "alias": "collections"; "required": false; }; "data": { "alias": "data"; "required": false; }; "linkTypes": { "alias": "linkTypes"; "required": false; }; "query": { "alias": "query"; "required": false; }; "constraintData": { "alias": "constraintData"; "required": false; }; "config": { "alias": "config"; "required": false; }; "transform": { "alias": "transform"; "required": false; }; "emptyTablesTemplateInput": { "alias": "emptyTablesTemplateInput"; "required": false; }; "tableCellTemplateInput": { "alias": "tableCellTemplateInput"; "required": false; }; "initiallyCollapsed": { "alias": "initiallyCollapsed"; "required": false; }; }, { "cellClick": "cellClick"; "pivotDataChange": "pivotDataChange"; "pivotTablesChange": "pivotTablesChange"; }, ["emptyTablesTemplate", "tableCellTemplate"], never, false, never>;
33
49
  }
@@ -2,13 +2,17 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./lmr-pivot-table.component";
3
3
  import * as i2 from "./lmr-simple-pivot-table.component";
4
4
  import * as i3 from "./pipes/pivot-data-empty.pipe";
5
- import * as i4 from "./pipes/pivot-table-value.pipe";
6
- import * as i5 from "./pipes/contrast-color.pipe";
7
- import * as i6 from "./directives/lmr-templates.directive";
8
- import * as i7 from "@angular/common";
9
- import * as i8 from "@angular/cdk/scrolling";
5
+ import * as i4 from "./pipes/cell-has-value.pipe";
6
+ import * as i5 from "./pipes/is-cell-expandable.pipe";
7
+ import * as i6 from "./pipes/is-cell-expanded.pipe";
8
+ import * as i7 from "./pipes/is-cell-rows-expandable.pipe";
9
+ import * as i8 from "./pipes/filter-visible-cells.pipe";
10
+ import * as i9 from "./pipes/contrast-color.pipe";
11
+ import * as i10 from "./directives/lmr-templates.directive";
12
+ import * as i11 from "@angular/common";
13
+ import * as i12 from "@angular/cdk/scrolling";
10
14
  export declare class LmrPivotTableModule {
11
15
  static ɵfac: i0.ɵɵFactoryDeclaration<LmrPivotTableModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<LmrPivotTableModule, [typeof i1.LmrPivotTableComponent, typeof i2.LmrSimplePivotTableComponent, typeof i3.PivotDataEmptyPipe, typeof i4.PivotTableCellHasValuePipe, typeof i5.ContrastColorPipe, typeof i6.LmrEmptyTablesTemplateDirective, typeof i6.LmrTableCellTemplateDirective], [typeof i7.CommonModule, typeof i8.ScrollingModule], [typeof i1.LmrPivotTableComponent, typeof i2.LmrSimplePivotTableComponent, typeof i6.LmrEmptyTablesTemplateDirective, typeof i6.LmrTableCellTemplateDirective]>;
16
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LmrPivotTableModule, [typeof i1.LmrPivotTableComponent, typeof i2.LmrSimplePivotTableComponent, typeof i3.PivotDataEmptyPipe, typeof i4.CellHasValuePipe, typeof i5.IsCellExpandablePipe, typeof i6.IsCellExpandedPipe, typeof i7.IsCellRowsExpandablePipe, typeof i8.FilterVisibleCellsPipe, typeof i9.ContrastColorPipe, typeof i10.LmrEmptyTablesTemplateDirective, typeof i10.LmrTableCellTemplateDirective], [typeof i11.CommonModule, typeof i12.ScrollingModule], [typeof i1.LmrPivotTableComponent, typeof i2.LmrSimplePivotTableComponent, typeof i10.LmrEmptyTablesTemplateDirective, typeof i10.LmrTableCellTemplateDirective]>;
13
17
  static ɵinj: i0.ɵɵInjectorDeclaration<LmrPivotTableModule>;
14
18
  }
@@ -12,7 +12,13 @@ export declare class LmrSimplePivotTableComponent implements OnChanges {
12
12
  config: LmrSimplePivotConfig;
13
13
  transform: LmrPivotTransform;
14
14
  locale: LanguageTag;
15
- cellClick: EventEmitter<LmrPivotTableCell>;
15
+ initiallyCollapsed: boolean;
16
+ cellClick: EventEmitter<{
17
+ cell: LmrPivotTableCell;
18
+ tableIndex: number;
19
+ rowIndex: number;
20
+ columnIndex: number;
21
+ }>;
16
22
  pivotDataChange: EventEmitter<LmrPivotData>;
17
23
  pivotTablesChange: EventEmitter<LmrPivotTable[]>;
18
24
  emptyTablesTemplate: TemplateRef<any>;
@@ -28,5 +34,5 @@ export declare class LmrSimplePivotTableComponent implements OnChanges {
28
34
  private createConfig;
29
35
  private createRows;
30
36
  static ɵfac: i0.ɵɵFactoryDeclaration<LmrSimplePivotTableComponent, never>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<LmrSimplePivotTableComponent, "lmr-simple-pivot-table", never, { "rows": { "alias": "rows"; "required": false; }; "attributes": { "alias": "attributes"; "required": false; }; "color": { "alias": "color"; "required": false; }; "config": { "alias": "config"; "required": false; }; "transform": { "alias": "transform"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; }, { "cellClick": "cellClick"; "pivotDataChange": "pivotDataChange"; "pivotTablesChange": "pivotTablesChange"; }, ["emptyTablesTemplate", "tableCellTemplate"], never, false, never>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<LmrSimplePivotTableComponent, "lmr-simple-pivot-table", never, { "rows": { "alias": "rows"; "required": false; }; "attributes": { "alias": "attributes"; "required": false; }; "color": { "alias": "color"; "required": false; }; "config": { "alias": "config"; "required": false; }; "transform": { "alias": "transform"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "initiallyCollapsed": { "alias": "initiallyCollapsed"; "required": false; }; }, { "cellClick": "cellClick"; "pivotDataChange": "pivotDataChange"; "pivotTablesChange": "pivotTablesChange"; }, ["emptyTablesTemplate", "tableCellTemplate"], never, false, never>;
32
38
  }
@@ -0,0 +1,8 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { LmrPivotTableCell } from '../util/lmr-pivot-table';
3
+ import * as i0 from "@angular/core";
4
+ export declare class CellHasValuePipe implements PipeTransform {
5
+ transform(cell: LmrPivotTableCell): boolean;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<CellHasValuePipe, never>;
7
+ static ɵpipe: i0.ɵɵPipeDeclaration<CellHasValuePipe, "cellHasValue", false>;
8
+ }
@@ -0,0 +1,9 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { LmrPivotTable, LmrPivotTableCell } from '../util/lmr-pivot-table';
3
+ import { LmrPivotTableState } from '../util/lmr-pivot-state';
4
+ import * as i0 from "@angular/core";
5
+ export declare class FilterVisibleCellsPipe implements PipeTransform {
6
+ transform(table: LmrPivotTable, state: LmrPivotTableState): LmrPivotTableCell[][];
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<FilterVisibleCellsPipe, never>;
8
+ static ɵpipe: i0.ɵɵPipeDeclaration<FilterVisibleCellsPipe, "filterVisibleCells", false>;
9
+ }
@@ -0,0 +1,8 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { LmrPivotTableCell } from '../util/lmr-pivot-table';
3
+ import * as i0 from "@angular/core";
4
+ export declare class IsCellExpandablePipe implements PipeTransform {
5
+ transform(cell: LmrPivotTableCell): boolean;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<IsCellExpandablePipe, never>;
7
+ static ɵpipe: i0.ɵɵPipeDeclaration<IsCellExpandablePipe, "isCellExpandable", false>;
8
+ }
@@ -0,0 +1,9 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { LmrPivotTableCell } from '../util/lmr-pivot-table';
3
+ import { LmrPivotTableState } from '../util/lmr-pivot-state';
4
+ import * as i0 from "@angular/core";
5
+ export declare class IsCellExpandedPipe implements PipeTransform {
6
+ transform(cell: LmrPivotTableCell, columnIndex: number, state: LmrPivotTableState): boolean;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<IsCellExpandedPipe, never>;
8
+ static ɵpipe: i0.ɵɵPipeDeclaration<IsCellExpandedPipe, "isCellExpanded", false>;
9
+ }
@@ -0,0 +1,8 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { LmrPivotTableCell } from '../util/lmr-pivot-table';
3
+ import * as i0 from "@angular/core";
4
+ export declare class IsCellRowsExpandablePipe implements PipeTransform {
5
+ transform(cell: LmrPivotTableCell): boolean;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<IsCellRowsExpandablePipe, never>;
7
+ static ɵpipe: i0.ɵɵPipeDeclaration<IsCellRowsExpandablePipe, "isCellRowsExpandable", false>;
8
+ }
@@ -0,0 +1,14 @@
1
+ import { LmrPivotTable, LmrPivotTableCell } from './lmr-pivot-table';
2
+ export interface LmrPivotTableState {
3
+ cells?: LmrPivotTableCellState[][];
4
+ }
5
+ export interface LmrPivotTableCellState {
6
+ collapsed?: boolean;
7
+ }
8
+ export declare function isCellExpandable(cell: LmrPivotTableCell): boolean;
9
+ export declare function isCellColumnsExpandable(cell: LmrPivotTableCell): boolean;
10
+ export declare function isCellRowsExpandable(cell: LmrPivotTableCell): boolean;
11
+ export declare function toggleExpanded(cell: LmrPivotTableCell, columnIndex: number, state: LmrPivotTableState): LmrPivotTableState;
12
+ export declare function areCellsSame(c1: LmrPivotTableCell, c2: LmrPivotTableCell): boolean;
13
+ export declare function filterVisibleCells(cells: LmrPivotTableCell[][], state: LmrPivotTableCellState[][], parentIndex?: number): LmrPivotTableCell[][];
14
+ export declare function collapseAllCells(table: LmrPivotTable): LmrPivotTableState;
@@ -10,9 +10,15 @@ export interface LmrPivotTableCell {
10
10
  rowSpan: number;
11
11
  colSpan: number;
12
12
  cssClass: string;
13
- isHeader: boolean;
13
+ isValue?: boolean;
14
+ isHeader?: boolean;
15
+ isAttributeHeader?: boolean;
16
+ isSummary?: boolean;
14
17
  background?: string;
15
18
  label?: string;
16
19
  stickyTop?: boolean;
17
20
  stickyStart?: boolean;
21
+ rowIndexes?: number[];
22
+ childIndexes?: number[];
23
+ originalRowIndex?: number;
18
24
  }
@@ -52,6 +52,7 @@ export declare class PivotTableConverter {
52
52
  private fillCellsForExpressionRow;
53
53
  private evaluateExpression;
54
54
  private evaluateOperand;
55
+ private transformRowIndexes;
55
56
  private getGroupedValuesForRowsAndCols;
56
57
  private fillCellsByColumns;
57
58
  private iterateAndFillCellsByColumns;
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumeer/pivot",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^16.2.12",
6
6
  "@angular/common": "^16.2.12",
@@ -1,35 +0,0 @@
1
- /*
2
- * Lumeer: Modern Data Definition and Processing Platform
3
- *
4
- * Copyright (C) since 2017 Lumeer.io, s.r.o. and/or its affiliates.
5
- *
6
- * This program is free software: you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation, either version 3 of the License, or
9
- * (at your option) any later version.
10
- *
11
- * This program is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- * GNU General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU General Public License
17
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
18
- */
19
- import { Pipe } from '@angular/core';
20
- import { isNotNullOrUndefined } from '@lumeer/utils';
21
- import * as i0 from "@angular/core";
22
- export class PivotTableCellHasValuePipe {
23
- transform(cell) {
24
- return isNotNullOrUndefined(cell.value) && String(cell.value).trim() !== '';
25
- }
26
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PivotTableCellHasValuePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
27
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: PivotTableCellHasValuePipe, name: "pivotTableCellHasValue" });
28
- }
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PivotTableCellHasValuePipe, decorators: [{
30
- type: Pipe,
31
- args: [{
32
- name: 'pivotTableCellHasValue',
33
- }]
34
- }] });
35
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGl2b3QtdGFibGUtdmFsdWUucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2xtci1waXZvdC10YWJsZS9zcmMvbGliL3BpcGVzL3Bpdm90LXRhYmxlLXZhbHVlLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7Ozs7O0dBaUJHO0FBQ0gsT0FBTyxFQUFDLElBQUksRUFBZ0IsTUFBTSxlQUFlLENBQUM7QUFFbEQsT0FBTyxFQUFDLG9CQUFvQixFQUFDLE1BQU0sZUFBZSxDQUFDOztBQU9uRCxNQUFNLE9BQU8sMEJBQTBCO0lBQzlCLFNBQVMsQ0FBQyxJQUF1QjtRQUN0QyxPQUFPLG9CQUFvQixDQUFDLElBQUksQ0FBQyxLQUFLLENBQUMsSUFBSSxNQUFNLENBQUMsSUFBSSxDQUFDLEtBQUssQ0FBQyxDQUFDLElBQUksRUFBRSxLQUFLLEVBQUUsQ0FBQztJQUM5RSxDQUFDO3dHQUhVLDBCQUEwQjtzR0FBMUIsMEJBQTBCOzs0RkFBMUIsMEJBQTBCO2tCQUh0QyxJQUFJO21CQUFDO29CQUNKLElBQUksRUFBRSx3QkFBd0I7aUJBQy9CIiwic291cmNlc0NvbnRlbnQiOlsiLypcbiAqIEx1bWVlcjogTW9kZXJuIERhdGEgRGVmaW5pdGlvbiBhbmQgUHJvY2Vzc2luZyBQbGF0Zm9ybVxuICpcbiAqIENvcHlyaWdodCAoQykgc2luY2UgMjAxNyBMdW1lZXIuaW8sIHMuci5vLiBhbmQvb3IgaXRzIGFmZmlsaWF0ZXMuXG4gKlxuICogVGhpcyBwcm9ncmFtIGlzIGZyZWUgc29mdHdhcmU6IHlvdSBjYW4gcmVkaXN0cmlidXRlIGl0IGFuZC9vciBtb2RpZnlcbiAqIGl0IHVuZGVyIHRoZSB0ZXJtcyBvZiB0aGUgR05VIEdlbmVyYWwgUHVibGljIExpY2Vuc2UgYXMgcHVibGlzaGVkIGJ5XG4gKiB0aGUgRnJlZSBTb2Z0d2FyZSBGb3VuZGF0aW9uLCBlaXRoZXIgdmVyc2lvbiAzIG9mIHRoZSBMaWNlbnNlLCBvclxuICogKGF0IHlvdXIgb3B0aW9uKSBhbnkgbGF0ZXIgdmVyc2lvbi5cbiAqXG4gKiBUaGlzIHByb2dyYW0gaXMgZGlzdHJpYnV0ZWQgaW4gdGhlIGhvcGUgdGhhdCBpdCB3aWxsIGJlIHVzZWZ1bCxcbiAqIGJ1dCBXSVRIT1VUIEFOWSBXQVJSQU5UWTsgd2l0aG91dCBldmVuIHRoZSBpbXBsaWVkIHdhcnJhbnR5IG9mXG4gKiBNRVJDSEFOVEFCSUxJVFkgb3IgRklUTkVTUyBGT1IgQSBQQVJUSUNVTEFSIFBVUlBPU0UuICBTZWUgdGhlXG4gKiBHTlUgR2VuZXJhbCBQdWJsaWMgTGljZW5zZSBmb3IgbW9yZSBkZXRhaWxzLlxuICpcbiAqIFlvdSBzaG91bGQgaGF2ZSByZWNlaXZlZCBhIGNvcHkgb2YgdGhlIEdOVSBHZW5lcmFsIFB1YmxpYyBMaWNlbnNlXG4gKiBhbG9uZyB3aXRoIHRoaXMgcHJvZ3JhbS4gIElmIG5vdCwgc2VlIDxodHRwOi8vd3d3LmdudS5vcmcvbGljZW5zZXMvPi5cbiAqL1xuaW1wb3J0IHtQaXBlLCBQaXBlVHJhbnNmb3JtfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuaW1wb3J0IHtpc05vdE51bGxPclVuZGVmaW5lZH0gZnJvbSAnQGx1bWVlci91dGlscyc7XG5cbmltcG9ydCB7TG1yUGl2b3RUYWJsZUNlbGx9IGZyb20gJy4uL3V0aWwvbG1yLXBpdm90LXRhYmxlJztcblxuQFBpcGUoe1xuICBuYW1lOiAncGl2b3RUYWJsZUNlbGxIYXNWYWx1ZScsXG59KVxuZXhwb3J0IGNsYXNzIFBpdm90VGFibGVDZWxsSGFzVmFsdWVQaXBlIGltcGxlbWVudHMgUGlwZVRyYW5zZm9ybSB7XG4gIHB1YmxpYyB0cmFuc2Zvcm0oY2VsbDogTG1yUGl2b3RUYWJsZUNlbGwpOiBib29sZWFuIHtcbiAgICByZXR1cm4gaXNOb3ROdWxsT3JVbmRlZmluZWQoY2VsbC52YWx1ZSkgJiYgU3RyaW5nKGNlbGwudmFsdWUpLnRyaW0oKSAhPT0gJyc7XG4gIH1cbn1cbiJdfQ==
@@ -1,8 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { LmrPivotTableCell } from '../util/lmr-pivot-table';
3
- import * as i0 from "@angular/core";
4
- export declare class PivotTableCellHasValuePipe implements PipeTransform {
5
- transform(cell: LmrPivotTableCell): boolean;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<PivotTableCellHasValuePipe, never>;
7
- static ɵpipe: i0.ɵɵPipeDeclaration<PivotTableCellHasValuePipe, "pivotTableCellHasValue", false>;
8
- }
Binary file