@mediusinc/mng-commons 3.0.0-rc.7 → 3.0.0-rc.8

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.
@@ -31,6 +31,7 @@ export declare class TableDescriptor<T> {
31
31
  private _hasGridlines;
32
32
  private _hasResizableColumns;
33
33
  private _columnResizeMode;
34
+ private _selectionColumnFrozen?;
34
35
  private _actionColumnFrozen?;
35
36
  private _headerClassName?;
36
37
  private _rowClassName?;
@@ -79,6 +80,7 @@ export declare class TableDescriptor<T> {
79
80
  get columnResizeMode(): "fit" | "expand";
80
81
  get rowClassName(): string | undefined;
81
82
  get rowClassNameMapFn(): ((className?: string | undefined, item?: T | undefined) => string) | undefined;
83
+ get selectionColumnFrozen(): boolean | undefined;
82
84
  get actionColumnFrozen(): boolean | undefined;
83
85
  get headerClassName(): string | undefined;
84
86
  get isLocalized(): boolean;
@@ -124,11 +126,16 @@ export declare class TableDescriptor<T> {
124
126
  withGridlines(gridlines: boolean): this;
125
127
  /**
126
128
  * Method that enables/disabled column resize feature with columnResizeMode on all columns.
127
- * @param resizableColumns: boolean
128
- * @param columnResizeMode: 'fit' | 'expand' = 'fit'
129
+ * @param resizableColumns True if enabled
130
+ * @param columnResizeMode 'fit' or 'expand' mode
129
131
  */
130
132
  withColumnsResizable(resizableColumns?: boolean, columnResizeMode?: 'fit' | 'expand'): this;
131
- withActionColumnFrozen(frozen: boolean): this;
133
+ /**
134
+ * Sets column to (un)frozen.
135
+ * @param selectionColumnFrozen True to freeze selection column, false to unfreeze it.
136
+ * @param actionColumnFrozen True to freeze action column, false to unfreeze it.
137
+ */
138
+ withColumnFrozen(selectionColumnFrozen?: boolean, actionColumnFrozen?: boolean): this;
132
139
  withRowClassName(rowClassName?: string, classNameMapFn?: (className?: string, item?: T) => string): this;
133
140
  withHeaderClassName(headerClassName: string): this;
134
141
  withLocalized(): this;
@@ -6,8 +6,7 @@ export declare class MngRouterService {
6
6
  private readonly logger;
7
7
  private readonly routesLoadedPropKey;
8
8
  private currentNavigationPath?;
9
- private currentNavigationConfigModule?;
10
- private currentNavigationConfigLoaded?;
9
+ private currentNavigationModuleKeys;
11
10
  private lazyLoadedRoutesConfig;
12
11
  constructor(router: Router);
13
12
  getRouteLoadedChildren(path: string | Array<string>): Routes | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mediusinc/mng-commons",
3
- "version": "3.0.0-rc.7",
3
+ "version": "3.0.0-rc.8",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^16.0.0",
6
6
  "@angular/common": "^16.0.0",
@@ -20,6 +20,10 @@
20
20
  }
21
21
 
22
22
  .p-datatable {
23
+ .p-datatable-scrollable-table > .p-datatable-thead {
24
+ z-index: 2;
25
+ }
26
+
23
27
  .p-datatable-header {
24
28
  text-align: left;
25
29
  font-size: 1.5rem;