@one-paragon/angular-utilities 0.1.0 → 0.1.1
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/esm2020/table-builder/components/initialization-component/initialization-component.mjs +4 -11
- package/esm2020/table-builder/interfaces/report-def.mjs +1 -1
- package/fesm2015/one-paragon-angular-utilities.mjs +3 -10
- package/fesm2015/one-paragon-angular-utilities.mjs.map +1 -1
- package/fesm2020/one-paragon-angular-utilities.mjs +3 -10
- package/fesm2020/one-paragon-angular-utilities.mjs.map +1 -1
- package/package.json +1 -1
- package/table-builder/components/initialization-component/initialization-component.d.ts +2 -2
- package/table-builder/interfaces/report-def.d.ts +5 -5
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TemplateRef } from "@angular/core";
|
|
2
|
-
import { MetaData
|
|
2
|
+
import { MetaData } from "../../interfaces/report-def";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class InitializationComponent {
|
|
5
5
|
booleanTemplate: TemplateRef<any>;
|
|
@@ -16,7 +16,7 @@ export declare class InitializationComponent {
|
|
|
16
16
|
target: (metaData: MetaData) => import("../../interfaces/report-def").Target | "_blank";
|
|
17
17
|
private key;
|
|
18
18
|
getLink: (metaData: MetaData, element: any) => string | undefined;
|
|
19
|
-
parseInterpolatedRoute: (route:
|
|
19
|
+
parseInterpolatedRoute: (route: string, element: any) => string;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<InitializationComponent, never>;
|
|
21
21
|
static ɵcmp: i0.ɵɵComponentDeclaration<InitializationComponent, "ng-component", never, {}, {}, never, never>;
|
|
22
22
|
}
|
|
@@ -61,7 +61,11 @@ export interface Additional<T = any> {
|
|
|
61
61
|
urlKey?: string;
|
|
62
62
|
target?: Target;
|
|
63
63
|
useRouterLink?: boolean;
|
|
64
|
-
|
|
64
|
+
/**
|
|
65
|
+
* If you want to use a route with interpolated params, you can use this. Wrap the property name in curly braces.
|
|
66
|
+
* For example, if interpolatedRoute = /users/{id}/edit, {id} will be replaced with the value of the element's id property.
|
|
67
|
+
*/
|
|
68
|
+
interpolatedRoute?: string;
|
|
65
69
|
};
|
|
66
70
|
/**
|
|
67
71
|
* @deprecated Please use link.base
|
|
@@ -117,7 +121,3 @@ export interface ArrayAdditional extends Additional {
|
|
|
117
121
|
limit?: number;
|
|
118
122
|
arrayStyle?: ArrayStyle;
|
|
119
123
|
}
|
|
120
|
-
export interface Route<T = any> {
|
|
121
|
-
interpolated: string;
|
|
122
|
-
params: Dictionary<keyof T>;
|
|
123
|
-
}
|