@3kles/kles-material-table-v2 21.1.0 → 21.2.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@3kles/kles-material-table-v2",
3
- "version": "21.1.0",
3
+ "version": "21.2.0",
4
4
  "keywords": [
5
5
  "3KLES"
6
6
  ],
@@ -348,6 +348,7 @@ type Brand<K extends string> = {
348
348
  type SelectionConfig<T> = SelectionConfigDef<T> & Brand<'SelectionConfig'>;
349
349
  declare const selectionConfig: <T>(l: SelectionConfigDef<T>) => SelectionConfig<T>;
350
350
 
351
+ type TableElevationLevel = 0 | 1 | 2 | 3 | 4 | 5;
351
352
  interface DefaultTableConfig {
352
353
  id?: string;
353
354
  columns: KlesColumnConfig[];
@@ -356,6 +357,7 @@ interface DefaultTableConfig {
356
357
  footer?: boolean;
357
358
  sortConfig?: Sort;
358
359
  columnSeparator?: boolean | ColumnSeparatorConfig;
360
+ elevation?: TableElevationLevel;
359
361
  }
360
362
  interface PaginatorConfig {
361
363
  paginator?: boolean;
@@ -739,6 +741,8 @@ declare class ColumnsService {
739
741
  constructor(_columns: WritableSignal<KlesColumnConfig[]>, eventsService: EventsService);
740
742
  register(): void;
741
743
  get columns(): Signal<KlesColumnConfig[]>;
744
+ readonly stickyStartBoundary: Signal<string>;
745
+ readonly stickyEndBoundary: Signal<string>;
742
746
  getVisible(): string[];
743
747
  setVisible(columnDef: string, visible: boolean): void;
744
748
  toggleVisible(columnDef: string): void;
@@ -756,6 +760,7 @@ declare class ColumnsService {
756
760
  setColumnPosition(columnDef: string, position: number): void;
757
761
  private updateColumn;
758
762
  private setDisplayedColumns;
763
+ private getVisibleColumns;
759
764
  static ɵfac: i0.ɵɵFactoryDeclaration<ColumnsService, never>;
760
765
  static ɵprov: i0.ɵɵInjectableDeclaration<ColumnsService>;
761
766
  }
@@ -1152,6 +1157,9 @@ declare class TableComponent implements ITable, OnInit, AfterViewInit, OnDestroy
1152
1157
  ngOnDestroy(): void;
1153
1158
  submit(): void;
1154
1159
  getColumnSeparator(column: KlesColumnConfig, section: TableSection): string | null;
1160
+ getStickyStartSeparator(column: KlesColumnConfig, section: TableSection): string | null;
1161
+ getStickyEndSeparator(column: KlesColumnConfig, section: TableSection): string | null;
1162
+ private getSeparatorStyle;
1155
1163
  private calculHeaderHeight;
1156
1164
  static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }, null, null, null, null, null]>;
1157
1165
  static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "kles-table", never, {}, {}, never, never, true, never>;
@@ -1184,6 +1192,7 @@ declare class KlesTableComponent<TValue = unknown> implements OnInit, KlesTableA
1184
1192
  rowContextMenu: EventEmitter<RowMousePayload<TValue>>;
1185
1193
  cellClick: EventEmitter<CellMousePayload<TValue>>;
1186
1194
  cellValueChange: EventEmitter<CellValueChangePayload<TValue>>;
1195
+ readonly elevationShadow: i0.Signal<string>;
1187
1196
  constructor(connectorService: KlesTableConnectorService);
1188
1197
  ngOnInit(): void;
1189
1198
  get hostId(): string;
@@ -1232,4 +1241,4 @@ declare const SCROLLBAR_ORCHESTRATOR_SERVICE: InjectionToken<IScrollbarOrchestra
1232
1241
  declare const TABLE_SERVICE: InjectionToken<ITableService>;
1233
1242
 
1234
1243
  export { AlignCell, COLUMNS, DATASOURCE_SERVICE, DRAG_DROP_CONFIG, EXTRA_ROWS, FOOTER, HEADER_SERVICE, KlesMaterialTableModule, KlesTableComponent, LINES_SERVICE, LOADER_CONFIG, LOADER_SERVICE, PAGINATOR_CONFIG, ROW_DRAG_DROP, SCROLLBAR_ORCHESTRATOR_SERVICE, SELECTION_CONFIG, SELECTION_SERVICE, SORT_CONFIG, SORT_SERVICE, Span, TABLE_SERVICE, TableComponent, linesLazyLoader, linesLoader, selectionConfig };
1235
- export type { ColumnSeparatorConfig, ColumnSeparatorStyle, DefaultTableConfig, DragDrop, DragDropConfig, ExtraRow, ExtraRowConfig, ExtraRowMode, IKlesCellFieldConfig, IKlesFooterFieldConfig, IKlesHeaderFieldConfig, ITable, InfiniteScrollConfig, KlesColumnConfig, KlesExtraCellFieldConfig, KlesTableApi, KlesTableConfig, LinesLazyLoader, LinesLoader, LoaderConfig, LoaderLazyResult, LoaderResult, NgStyleInput, PaginatorConfig, RowId, Selection, SelectionAllResponse, SelectionConfig, SelectionResponse, SelectionState };
1244
+ export type { ColumnSeparatorConfig, ColumnSeparatorStyle, DefaultTableConfig, DragDrop, DragDropConfig, ExtraRow, ExtraRowConfig, ExtraRowMode, IKlesCellFieldConfig, IKlesFooterFieldConfig, IKlesHeaderFieldConfig, ITable, InfiniteScrollConfig, KlesColumnConfig, KlesExtraCellFieldConfig, KlesTableApi, KlesTableConfig, LinesLazyLoader, LinesLoader, LoaderConfig, LoaderLazyResult, LoaderResult, NgStyleInput, PaginatorConfig, RowId, Selection, SelectionAllResponse, SelectionConfig, SelectionResponse, SelectionState, TableElevationLevel };