mn-angular-lib 1.0.86 → 1.0.88
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
|
@@ -2678,6 +2678,23 @@ declare class MnTable<T = object> extends MnSelectableCollectionBase<T, TableDat
|
|
|
2678
2678
|
getColumnSkeletonData(column: ColumnDefinition<T>): Partial<MnSkeletonProps>;
|
|
2679
2679
|
getSortIcon(column: ColumnDefinition<T>): string;
|
|
2680
2680
|
isSortable(column: ColumnDefinition<T>): boolean;
|
|
2681
|
+
/** Rows shown per page on mobile (< md). Forced regardless of any configured pageSize. */
|
|
2682
|
+
private static readonly MOBILE_PAGE_SIZE;
|
|
2683
|
+
/** Page size to use at/above the `md` breakpoint (consumer's pageSize, or the user's selection). */
|
|
2684
|
+
private desktopPageSize;
|
|
2685
|
+
/** True when the viewport is below the `md` (768px) breakpoint. */
|
|
2686
|
+
private isMobileViewport;
|
|
2687
|
+
/**
|
|
2688
|
+
* Applies the breakpoint-appropriate page size: {@link MOBILE_PAGE_SIZE} below `md`,
|
|
2689
|
+
* the desktop size at/above it. When the size actually changes, client-side tables
|
|
2690
|
+
* re-slice locally and server-side tables ask the consumer to refetch, so the
|
|
2691
|
+
* rendered rows update in every pagination mode (used at init and on window resize).
|
|
2692
|
+
*/
|
|
2693
|
+
private applyResponsivePageSize;
|
|
2694
|
+
/** Re-evaluate the responsive page size when the viewport crosses the breakpoint. */
|
|
2695
|
+
protected onWindowResize(): void;
|
|
2696
|
+
/** Tracks the desktop page size when the user picks one (selector only shows at >= md). */
|
|
2697
|
+
onPageSizeChange(newSize: number): void;
|
|
2681
2698
|
/** Sets sort/filter state seeded from the data source before the first filter pass. */
|
|
2682
2699
|
protected beforeInitialFilter(): void;
|
|
2683
2700
|
getCellValue(column: ColumnDefinition<T>, row: T): string;
|