Files
klz-cables.com/.pnpm-store/v10/files/5f/d19be8dae13b25be445b89febb0648efe1a1b97a24d490ff27ad1eceb6dd75e8f8bd6c7eab023039758d641c0c754394996fc3bc73ba9579a401c010702c7a
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

33 lines
1022 B
Plaintext

import { ColorMap } from '../utils/colored-console-line';
import { ALIGNMENT, CharLengthDict, COLOR, Dictionary } from './common';
import { TableStyleDetails } from './internal-table';
export { ALIGNMENT, COLOR };
export interface ColumnOptionsRaw {
name: string;
title?: string;
alignment?: ALIGNMENT;
color?: COLOR;
maxLen?: number;
minLen?: number;
}
export interface ComputedColumn extends ColumnOptionsRaw {
function: (arg0: any) => any;
}
export type RowSortFunction = (row1: any, row2: any) => number;
export type RowFilterFunction = (row: any) => Boolean;
export interface ComplexOptions {
style?: TableStyleDetails;
title?: string;
columns?: ColumnOptionsRaw[];
rows?: Dictionary[];
sort?: RowSortFunction;
filter?: RowFilterFunction;
enabledColumns?: string[];
disabledColumns?: string[];
computedColumns?: ComputedColumn[];
rowSeparator?: boolean;
shouldDisableColors?: boolean;
colorMap?: ColorMap;
charLength?: CharLengthDict;
}