Skip to content

Commit

Permalink
fix: export string array table cell common types
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunlalb committed Dec 21, 2023
1 parent 9b7e655 commit cea85c2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
3 changes: 3 additions & 0 deletions projects/components/src/public-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -442,3 +442,6 @@ export * from './input-pill-list/input-pill-list.module';

// Parsed Filter
export * from './filtering/filter/parser/parsed-filter';

// String array table cell types
export * from './table/cells/data-renderers/string-array/types';
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@ import { tableCellColumnProvider, TableCellNoOpParser, XMoreComponent } from '@h
import { createComponentFactory } from '@ngneat/spectator/jest';
import { MockComponent } from 'ng-mocks';
import { tableCellDataProvider, tableCellProviders } from '../../test/cell-providers';
import {
StringArrayTableCellDisplayMode,
StringArrayTableCellRendererComponent,
} from './string-array-table-cell-renderer.component';
import { StringArrayTableCellRendererComponent } from './string-array-table-cell-renderer.component';
import { StringArrayTableCellDisplayMode } from './types';

describe('String array table cell renderer component', () => {
const buildComponent = createComponentFactory({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { TableCellRendererBase } from '../../table-cell-renderer-base';
import { CoreTableCellParserType } from '../../types/core-table-cell-parser-type';
import { CoreTableCellRendererType } from '../../types/core-table-cell-renderer-type';
import { TableCellAlignmentType } from '../../types/table-cell-alignment-type';
import { StringArrayTableCellDisplayMode } from './types';

@Component({
selector: 'ht-string-array-table-cell-renderer',
Expand Down Expand Up @@ -69,11 +70,6 @@ export class StringArrayTableCellRendererComponent
}
}

export const enum StringArrayTableCellDisplayMode {
List = 'list',
CountWithListTooltip = 'countWithListTooltip',
}

interface StringArrayTableCellConfigOptions {
viewMode: StringArrayTableCellDisplayMode;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export const enum StringArrayTableCellDisplayMode {
List = 'list',
CountWithListTooltip = 'countWithListTooltip',
}

0 comments on commit cea85c2

Please sign in to comment.