@snabcentr/client-core 2.66.8 → 2.66.9

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.
@@ -1,2 +1,3 @@
1
1
  export * from './sc-image-helper';
2
2
  export * from './sc-units-helper';
3
+ export * from './sc-get-current-route';
@@ -0,0 +1,8 @@
1
+ import { ActivatedRoute } from '@angular/router';
2
+ /**
3
+ * Возвращает текущий маршрут.
4
+ * Функция проходит по дереву маршрутов начиная с переданного route и возвращает самый вложенный активный маршрут.
5
+ *
6
+ * @param route Данные маршрута, от которого ищем текущий маршрут в приложении.
7
+ */
8
+ export declare const scGetCurrentRoute: (route: ActivatedRoute) => ActivatedRoute;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snabcentr/client-core",
3
- "version": "2.66.8",
3
+ "version": "2.66.9",
4
4
  "author": "Snabcentr Ltd.",
5
5
  "repository": "https://gitlab.snabcentr.met/web/angular/snabcentr-client-core-lib",
6
6
  "license": "Commercial",