turbogui-angular 20.0.0 → 20.1.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.
|
@@ -58,6 +58,17 @@ export declare abstract class RouterBaseService implements OnDestroy {
|
|
|
58
58
|
* Gets the current value of the route URL synchronously.
|
|
59
59
|
*/
|
|
60
60
|
getCurrentRoute(): string;
|
|
61
|
+
/**
|
|
62
|
+
* Gets the value of a specific route parameter by its key from the current route.
|
|
63
|
+
*
|
|
64
|
+
* For example, if the current route is `/user/123`, and you call this method with `key` as `id`, it will return `123`.
|
|
65
|
+
* The name of the parameter must match the one defined in the route configuration on your application (e.g., `{ path: 'user/:id', component: UserComponent }`).
|
|
66
|
+
*
|
|
67
|
+
* @param key The key of the route parameter to retrieve.
|
|
68
|
+
*
|
|
69
|
+
* @returns The value of the specified route parameter, or undefined if it does not exist.
|
|
70
|
+
*/
|
|
71
|
+
getCurrentRouteParamValue(key: string): any;
|
|
61
72
|
/**
|
|
62
73
|
* Initializes the title management feature to automatically refresh the browser title based on the current
|
|
63
74
|
* URL route. It Must be called once, typically at application startup
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"router-base.service.d.ts","sourceRoot":"","sources":["../../../../projects/turbogui-angular/src/main/controller/router-base.service.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAc,SAAS,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAClD,OAAO,EAAE,MAAM,EAAiB,MAAM,iBAAiB,CAAC;AAGxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;;AAG5D;;;;GAIG;AACH,8BAGsB,iBAAkB,YAAW,SAAS;IAgC5C,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,YAAY;IA9BzC;;;OAGG;IACH,OAAO,CAAC,0BAA0B,CAAS;IAG3C;;OAEG;IACH,OAAO,CAAC,mBAAmB,CAA2B;IAGtD;;;OAGG;IACH,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAgD;IAG9E;;;;;OAKG;IACH,OAAO,CAAC,eAAe,CAAqB;gBAGf,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,KAAK;IAOhD;;;OAGG;IACH,OAAO,CAAC,mBAAmB;IAM3B;;;;;;OAMG;IACH,cAAc,CAAC,KAAK,EAAC,MAAM;IAM3B;;OAEG;IACH,eAAe,IAAI,MAAM;IAMzB;;;;;;;;;;;;;;;;;;OAkBG;IACH,mCAAmC,CAAC,cAAc,EAAC,kBAAkB,EAAE,MAAM,GAAC,MAAW,EAAE,KAAK,GAAC,MAAW,GAAG,IAAI;IA2BnH;;;;;;OAMG;IACH,OAAO,CAAC,2BAA2B;IAkBnC;;;;OAIG;IACH,UAAU,CAAC,KAAK,EAAC,MAAM;IAMvB,WAAW,IAAI,IAAI;
|
|
1
|
+
{"version":3,"file":"router-base.service.d.ts","sourceRoot":"","sources":["../../../../projects/turbogui-angular/src/main/controller/router-base.service.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAc,SAAS,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAClD,OAAO,EAAE,MAAM,EAAiB,MAAM,iBAAiB,CAAC;AAGxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;;AAG5D;;;;GAIG;AACH,8BAGsB,iBAAkB,YAAW,SAAS;IAgC5C,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,YAAY;IA9BzC;;;OAGG;IACH,OAAO,CAAC,0BAA0B,CAAS;IAG3C;;OAEG;IACH,OAAO,CAAC,mBAAmB,CAA2B;IAGtD;;;OAGG;IACH,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAgD;IAG9E;;;;;OAKG;IACH,OAAO,CAAC,eAAe,CAAqB;gBAGf,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,KAAK;IAOhD;;;OAGG;IACH,OAAO,CAAC,mBAAmB;IAM3B;;;;;;OAMG;IACH,cAAc,CAAC,KAAK,EAAC,MAAM;IAM3B;;OAEG;IACH,eAAe,IAAI,MAAM;IAMzB;;;;;;;;;OASG;IACH,yBAAyB,CAAC,GAAG,EAAE,MAAM;IAkBrC;;;;;;;;;;;;;;;;;;OAkBG;IACH,mCAAmC,CAAC,cAAc,EAAC,kBAAkB,EAAE,MAAM,GAAC,MAAW,EAAE,KAAK,GAAC,MAAW,GAAG,IAAI;IA2BnH;;;;;;OAMG;IACH,OAAO,CAAC,2BAA2B;IAkBnC;;;;OAIG;IACH,UAAU,CAAC,KAAK,EAAC,MAAM;IAMvB,WAAW,IAAI,IAAI;yCAtLD,iBAAiB;6CAAjB,iBAAiB;CA6LtC"}
|
package/package.json
CHANGED