@flower-city-online/itinerary-lib 0.0.49 → 0.0.50
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/esm2022/lib/itinerary-app/_enums/ItenariesRoutes.enum.mjs +12 -12
- package/esm2022/lib/itinerary-app/_services/bottom-navigation.service.mjs +5 -2
- package/esm2022/lib/itinerary-app/itinerary-lib-routing.module.mjs +34 -24
- package/esm2022/lib/itinerary-app/modules/itineraries/components/app-sidebar-desktop/app-sidebar-desktop.component.mjs +35 -23
- package/esm2022/lib/itinerary-app/modules/itineraries/pages/branched-itineraries/branched-itineraries.component.mjs +3 -2
- package/esm2022/lib/itinerary-app/modules/itineraries/pages/builder/builder.component.mjs +2 -2
- package/esm2022/lib/itinerary-app/shared/tab-bar/tab-bar.component.mjs +38 -11
- package/fesm2022/flower-city-online-itinerary-lib.mjs +121 -69
- package/fesm2022/flower-city-online-itinerary-lib.mjs.map +1 -1
- package/lib/itinerary-app/_enums/ItenariesRoutes.enum.d.ts +11 -11
- package/lib/itinerary-app/modules/itineraries/components/app-sidebar-desktop/app-sidebar-desktop.component.d.ts +4 -2
- package/lib/itinerary-app/shared/tab-bar/tab-bar.component.d.ts +4 -2
- package/package.json +1 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
export declare enum ItinerariesRoutesEnum {
|
|
2
|
-
DASHBOARD = "
|
|
3
|
-
ITINERARY = "
|
|
4
|
-
ITINERARY_EXPLORE = "
|
|
5
|
-
ITINERARY_FAVOURITES = "
|
|
6
|
-
ITINERARY_BUILDER = "
|
|
7
|
-
SEARCH = "
|
|
8
|
-
REQUESTS = "
|
|
9
|
-
INFO = "
|
|
10
|
-
PROFILE = "
|
|
11
|
-
ARCHIVES = "
|
|
12
|
-
COMMENTS = "
|
|
2
|
+
DASHBOARD = "dashboard",
|
|
3
|
+
ITINERARY = "itineraries",
|
|
4
|
+
ITINERARY_EXPLORE = "itineraries/explore",
|
|
5
|
+
ITINERARY_FAVOURITES = "itineraries/favorites",
|
|
6
|
+
ITINERARY_BUILDER = "itineraries/builder",
|
|
7
|
+
SEARCH = "search",
|
|
8
|
+
REQUESTS = "requests",
|
|
9
|
+
INFO = "info",
|
|
10
|
+
PROFILE = "profile",
|
|
11
|
+
ARCHIVES = "archives/archives",
|
|
12
|
+
COMMENTS = "itineraries/comments",
|
|
13
13
|
EXPLORE = "explore",
|
|
14
14
|
BUILDER = "builder",
|
|
15
15
|
CREATE_ITINERARY = "create",
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { Iicon } from '../../../../_interface/icon';
|
|
2
|
-
import { Router } from '@angular/router';
|
|
2
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
3
|
import { Location } from "@angular/common";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class AppSidebarDesktopComponent {
|
|
6
6
|
private router;
|
|
7
7
|
private location;
|
|
8
|
+
private route;
|
|
8
9
|
ICONS: Iicon;
|
|
9
10
|
currentUrl: string;
|
|
10
11
|
back(): void;
|
|
11
|
-
constructor(router: Router, location: Location);
|
|
12
|
+
constructor(router: Router, location: Location, route: ActivatedRoute);
|
|
13
|
+
private navigateToChildRoute;
|
|
12
14
|
openCommentsSearch(): void;
|
|
13
15
|
openSearch(): void;
|
|
14
16
|
openExplorePage(): void;
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { Router } from '@angular/router';
|
|
2
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
3
|
import { MenuItem } from 'primeng/api';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class TabBarComponent implements OnInit, OnDestroy {
|
|
6
6
|
private router;
|
|
7
7
|
private cdr;
|
|
8
|
+
private route;
|
|
8
9
|
private destroy$;
|
|
9
10
|
tabMenuItems: MenuItem[];
|
|
10
11
|
activeItem: MenuItem;
|
|
11
|
-
constructor(router: Router, cdr: ChangeDetectorRef);
|
|
12
|
+
constructor(router: Router, cdr: ChangeDetectorRef, route: ActivatedRoute);
|
|
12
13
|
ngOnInit(): void;
|
|
14
|
+
private updateActiveItem;
|
|
13
15
|
ngOnDestroy(): void;
|
|
14
16
|
onActiveItemChange(event: MenuItem): void;
|
|
15
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabBarComponent, never>;
|