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

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 _actionColumnFrozen?;
34
35
  private _headerClassName?;
35
36
  private _rowClassName?;
36
37
  private _rowClassNameMapFn?;
@@ -78,6 +79,7 @@ export declare class TableDescriptor<T> {
78
79
  get columnResizeMode(): "fit" | "expand";
79
80
  get rowClassName(): string | undefined;
80
81
  get rowClassNameMapFn(): ((className?: string | undefined, item?: T | undefined) => string) | undefined;
82
+ get actionColumnFrozen(): boolean | undefined;
81
83
  get headerClassName(): string | undefined;
82
84
  get isLocalized(): boolean;
83
85
  get localizationLocaleProperty(): string | undefined;
@@ -126,6 +128,7 @@ export declare class TableDescriptor<T> {
126
128
  * @param columnResizeMode: 'fit' | 'expand' = 'fit'
127
129
  */
128
130
  withColumnsResizable(resizableColumns?: boolean, columnResizeMode?: 'fit' | 'expand'): this;
131
+ withActionColumnFrozen(frozen: boolean): this;
129
132
  withRowClassName(rowClassName?: string, classNameMapFn?: (className?: string, item?: T) => string): this;
130
133
  withHeaderClassName(headerClassName: string): this;
131
134
  withLocalized(): this;
@@ -3,6 +3,8 @@ import { Observable } from 'rxjs';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class MngRouterService {
5
5
  private router;
6
+ private readonly logger;
7
+ private readonly routesLoadedPropKey;
6
8
  private currentNavigationPath?;
7
9
  private currentNavigationConfigModule?;
8
10
  private currentNavigationConfigLoaded?;
@@ -15,6 +17,20 @@ export declare class MngRouterService {
15
17
  private finishNavigation;
16
18
  private markNavigationConfigLoad;
17
19
  private getLoadedRoutesFromRoute;
20
+ /**
21
+ * Search for route config by module path by recursive scanning of router config tree.
22
+ * @param modulePath Path of module that is searched.
23
+ * @param routes Routes to be scanned. If not provided, it starts on root router config.
24
+ * @private
25
+ */
26
+ private findRouteInRouteConfig;
27
+ /**
28
+ * Finds longest path match of source to match string. If match is '', it is considered as a match in Angular routing.
29
+ * @param source Source string from on which comparison is based.
30
+ * @param match Match string to which the source is matched to.
31
+ * @private
32
+ */
33
+ private findLongestPathMatch;
18
34
  private getOrCreateRouteForModule;
19
35
  private getModulePathFromRouterLink;
20
36
  static ɵfac: i0.ɵɵFactoryDeclaration<MngRouterService, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mediusinc/mng-commons",
3
- "version": "3.0.0-rc.6",
3
+ "version": "3.0.0-rc.7",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^16.0.0",
6
6
  "@angular/common": "^16.0.0",