@flower-city-online/itinerary-lib 0.0.51 → 0.0.52
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/_services/bottom-navigation.service.mjs +8 -8
- package/esm2022/lib/itinerary-app/_services/navigation-helper.service.mjs +128 -0
- package/esm2022/lib/itinerary-app/modules/archives/pages/main-archives/main-archives.component.mjs +20 -17
- package/esm2022/lib/itinerary-app/modules/itineraries/itineraries.component.mjs +18 -15
- package/esm2022/lib/itinerary-app/modules/itineraries/pages/branched-itineraries/branched-itineraries.component.mjs +23 -45
- package/esm2022/lib/itinerary-app/modules/itineraries/pages/builder/builder.component.mjs +23 -23
- package/esm2022/lib/itinerary-app/modules/itineraries/pages/builder/pages/create-itinerary/create-itinerary.component.mjs +21 -20
- package/esm2022/lib/itinerary-app/modules/itineraries/pages/builder/pages/create-itinerary-draw-mode/create-itinerary-draw-mode.component.mjs +23 -26
- package/esm2022/lib/itinerary-app/modules/itineraries/pages/builder/pages/created-itinerary/created-itinerary.component.mjs +17 -15
- package/esm2022/lib/itinerary-app/modules/itineraries/pages/builder/pages/created-itinerary-preview/created-itinerary-preview.component.mjs +12 -9
- package/esm2022/lib/itinerary-app/modules/itineraries/pages/builder/pages/location-picker/location-picker.component.mjs +19 -18
- package/esm2022/lib/itinerary-app/modules/itineraries/pages/builder/pages/select-itinerary-event/select-itinerary-event.component.mjs +16 -14
- package/esm2022/lib/itinerary-app/modules/itineraries/pages/builder/pages/suggested-events-location/suggested-events-location.component.mjs +17 -15
- package/esm2022/lib/itinerary-app/modules/itineraries/pages/builder/pages/suggested-events-route-radius/suggested-events-route-radius.component.mjs +13 -13
- package/esm2022/lib/itinerary-app/modules/itineraries/pages/builder/pages/suggested-events-route-type/suggested-events-route-type.component.mjs +16 -14
- package/esm2022/lib/itinerary-app/modules/itineraries/pages/comments/comment-comparison/comment-comparison.component.mjs +13 -10
- package/esm2022/lib/itinerary-app/modules/itineraries/pages/comments/comment-search/comment-search.component.mjs +13 -10
- package/esm2022/lib/itinerary-app/modules/itineraries/pages/comments/comments-page.component.mjs +15 -12
- package/esm2022/lib/itinerary-app/modules/itineraries/pages/explore/explore.component.mjs +28 -43
- package/esm2022/lib/itinerary-app/modules/itineraries/pages/itinerary-detail/components/details/details.component.mjs +28 -36
- package/esm2022/lib/itinerary-app/modules/itineraries/pages/itinerary-detail/components/summary/summary.component.mjs +27 -31
- package/esm2022/lib/itinerary-app/modules/itineraries/pages/itinerary-detail/itinerary-detail.component.mjs +20 -16
- package/esm2022/lib/itinerary-app/modules/itineraries/pages/itinerary-members/user-list/user-list.component.mjs +16 -16
- package/esm2022/lib/itinerary-app/modules/itineraries/pages/itinerary-upvote-users/itinerary-upvote-users.component.mjs +17 -14
- package/esm2022/lib/itinerary-app/modules/itineraries/pages/itinerary-users/itinerary-users.component.mjs +14 -9
- package/esm2022/lib/itinerary-app/modules/itineraries/pages/itinerary-watching-users/itinerary-watching-users.component.mjs +14 -9
- package/esm2022/lib/itinerary-app/shared/comment/comment.component.mjs +17 -17
- package/esm2022/lib/itinerary-app/shared/custom-story-card/custom-story-card.component.mjs +16 -11
- package/fesm2022/flower-city-online-itinerary-lib.mjs +627 -530
- package/fesm2022/flower-city-online-itinerary-lib.mjs.map +1 -1
- package/lib/itinerary-app/_services/bottom-navigation.service.d.ts +3 -3
- package/lib/itinerary-app/_services/navigation-helper.service.d.ts +19 -0
- package/lib/itinerary-app/modules/archives/pages/main-archives/main-archives.component.d.ts +5 -3
- package/lib/itinerary-app/modules/itineraries/itineraries.component.d.ts +3 -1
- package/lib/itinerary-app/modules/itineraries/pages/branched-itineraries/branched-itineraries.component.d.ts +4 -3
- package/lib/itinerary-app/modules/itineraries/pages/builder/builder.component.d.ts +5 -3
- package/lib/itinerary-app/modules/itineraries/pages/builder/pages/create-itinerary/create-itinerary.component.d.ts +5 -3
- package/lib/itinerary-app/modules/itineraries/pages/builder/pages/create-itinerary-draw-mode/create-itinerary-draw-mode.component.d.ts +4 -3
- package/lib/itinerary-app/modules/itineraries/pages/builder/pages/created-itinerary/created-itinerary.component.d.ts +4 -3
- package/lib/itinerary-app/modules/itineraries/pages/builder/pages/created-itinerary-preview/created-itinerary-preview.component.d.ts +3 -1
- package/lib/itinerary-app/modules/itineraries/pages/builder/pages/location-picker/location-picker.component.d.ts +4 -3
- package/lib/itinerary-app/modules/itineraries/pages/builder/pages/select-itinerary-event/select-itinerary-event.component.d.ts +4 -3
- package/lib/itinerary-app/modules/itineraries/pages/builder/pages/suggested-events-location/suggested-events-location.component.d.ts +4 -3
- package/lib/itinerary-app/modules/itineraries/pages/builder/pages/suggested-events-route-radius/suggested-events-route-radius.component.d.ts +4 -3
- package/lib/itinerary-app/modules/itineraries/pages/builder/pages/suggested-events-route-type/suggested-events-route-type.component.d.ts +4 -3
- package/lib/itinerary-app/modules/itineraries/pages/comments/comment-comparison/comment-comparison.component.d.ts +5 -3
- package/lib/itinerary-app/modules/itineraries/pages/comments/comment-search/comment-search.component.d.ts +5 -3
- package/lib/itinerary-app/modules/itineraries/pages/comments/comments-page.component.d.ts +3 -1
- package/lib/itinerary-app/modules/itineraries/pages/explore/explore.component.d.ts +5 -3
- package/lib/itinerary-app/modules/itineraries/pages/itinerary-detail/components/details/details.component.d.ts +6 -4
- package/lib/itinerary-app/modules/itineraries/pages/itinerary-detail/components/summary/summary.component.d.ts +5 -3
- package/lib/itinerary-app/modules/itineraries/pages/itinerary-detail/itinerary-detail.component.d.ts +5 -2
- package/lib/itinerary-app/modules/itineraries/pages/itinerary-members/user-list/user-list.component.d.ts +5 -3
- package/lib/itinerary-app/modules/itineraries/pages/itinerary-upvote-users/itinerary-upvote-users.component.d.ts +5 -3
- package/lib/itinerary-app/modules/itineraries/pages/itinerary-users/itinerary-users.component.d.ts +5 -2
- package/lib/itinerary-app/modules/itineraries/pages/itinerary-watching-users/itinerary-watching-users.component.d.ts +5 -2
- package/lib/itinerary-app/shared/comment/comment.component.d.ts +5 -3
- package/lib/itinerary-app/shared/custom-story-card/custom-story-card.component.d.ts +5 -3
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ItinerariesRoutesEnum } from '../_enums/ItenariesRoutes.enum';
|
|
2
2
|
import { IBottomNavigationList } from '../_interface/bottomNavigationList';
|
|
3
3
|
import { Iicon } from '../_interface/icon';
|
|
4
|
-
import {
|
|
4
|
+
import { NavigationHelperService } from './navigation-helper.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class BottomNavigationService {
|
|
7
|
-
private
|
|
7
|
+
private navHelper;
|
|
8
8
|
isShowNavigation: boolean;
|
|
9
9
|
ICONS: Iicon;
|
|
10
10
|
bottomNavList: {
|
|
@@ -18,7 +18,7 @@ export declare class BottomNavigationService {
|
|
|
18
18
|
width: string;
|
|
19
19
|
selected: boolean;
|
|
20
20
|
}[];
|
|
21
|
-
constructor(
|
|
21
|
+
constructor(navHelper: NavigationHelperService);
|
|
22
22
|
onNavigationChange(data: IBottomNavigationList[], nav: IBottomNavigationList): void;
|
|
23
23
|
setActive(nav: IBottomNavigationList): void;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<BottomNavigationService, never>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class NavigationHelperService {
|
|
4
|
+
private router;
|
|
5
|
+
constructor(router: Router);
|
|
6
|
+
/**
|
|
7
|
+
* Navigate to a route while preserving the current base path context
|
|
8
|
+
* @param routePath - The route path or array of path segments
|
|
9
|
+
* @param route - The ActivatedRoute to use for relative navigation (optional)
|
|
10
|
+
* @param options - Additional navigation options
|
|
11
|
+
*/
|
|
12
|
+
navigate(routePath: string | string[], route?: ActivatedRoute, options?: any): void;
|
|
13
|
+
/**
|
|
14
|
+
* Navigate to a route with parameters
|
|
15
|
+
*/
|
|
16
|
+
navigateWithParams(routePath: string | string[], params: any, route?: ActivatedRoute): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationHelperService, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NavigationHelperService>;
|
|
19
|
+
}
|
|
@@ -4,19 +4,21 @@ import { LibMenuItem } from '@naniteninja/ionic-lib';
|
|
|
4
4
|
import { CustomDropdownMenuService } from '../../../../_services/custom-dropdown-menu.service';
|
|
5
5
|
import { ModalService } from '../../../../_services/modal.service';
|
|
6
6
|
import { Iicon } from '../../../../_interface/icon';
|
|
7
|
-
import {
|
|
7
|
+
import { ActivatedRoute } from '@angular/router';
|
|
8
8
|
import { ItineraryService } from '../../../../_services/itinerary.service';
|
|
9
9
|
import { Itinerary } from '../../../../_models/Itinerary';
|
|
10
10
|
import { Location } from '@angular/common';
|
|
11
|
+
import { NavigationHelperService } from '../../../../_services/navigation-helper.service';
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
12
13
|
export declare class MainArchivesComponent implements OnInit {
|
|
13
14
|
customMenuList: CustomDropdownMenuService;
|
|
14
15
|
modalService: ModalService;
|
|
15
16
|
translate: TranslateService;
|
|
16
|
-
private readonly router;
|
|
17
17
|
private cd;
|
|
18
18
|
private readonly itineraryService;
|
|
19
19
|
private location;
|
|
20
|
+
private route;
|
|
21
|
+
private navHelper;
|
|
20
22
|
libMenuItem: LibMenuItem[];
|
|
21
23
|
itineraries: Itinerary[];
|
|
22
24
|
ICONS: Iicon;
|
|
@@ -28,7 +30,7 @@ export declare class MainArchivesComponent implements OnInit {
|
|
|
28
30
|
buttonClicked(): void;
|
|
29
31
|
deleteItinerary(): void;
|
|
30
32
|
searchButtonClick(): void;
|
|
31
|
-
constructor(customMenuList: CustomDropdownMenuService, modalService: ModalService, translate: TranslateService,
|
|
33
|
+
constructor(customMenuList: CustomDropdownMenuService, modalService: ModalService, translate: TranslateService, cd: ChangeDetectorRef, itineraryService: ItineraryService, location: Location, route: ActivatedRoute, navHelper: NavigationHelperService);
|
|
32
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<MainArchivesComponent, never>;
|
|
33
35
|
static ɵcmp: i0.ɵɵComponentDeclaration<MainArchivesComponent, "app-main-archives", never, {}, {}, never, never, false, never>;
|
|
34
36
|
}
|
|
@@ -3,14 +3,16 @@ import { ModalService } from '../../_services/modal.service';
|
|
|
3
3
|
import { Iicon } from '../../_interface/icon';
|
|
4
4
|
import { ModalShareUrlClientService } from '../../_services/modal.shareurlservice';
|
|
5
5
|
import { Location } from '@angular/common';
|
|
6
|
+
import { NavigationHelperService } from '../../_services/navigation-helper.service';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class ItinerariesComponent {
|
|
8
9
|
router: Router;
|
|
9
10
|
modalService: ModalService;
|
|
10
11
|
shareModalService: ModalShareUrlClientService;
|
|
11
12
|
private location;
|
|
13
|
+
private navHelper;
|
|
12
14
|
ICONS: Iicon;
|
|
13
|
-
constructor(router: Router, modalService: ModalService, shareModalService: ModalShareUrlClientService, location: Location);
|
|
15
|
+
constructor(router: Router, modalService: ModalService, shareModalService: ModalShareUrlClientService, location: Location, navHelper: NavigationHelperService);
|
|
14
16
|
backButtonClick(): void;
|
|
15
17
|
searchButtonClick(): void;
|
|
16
18
|
closeUrlShareModal(): void;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { Location } from '@angular/common';
|
|
2
|
-
import { ActivatedRoute
|
|
2
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
3
|
import { LibMenuItem } from '@naniteninja/ionic-lib';
|
|
4
4
|
import { CustomDropdownMenuService } from '../../../../_services/custom-dropdown-menu.service';
|
|
5
5
|
import { Iicon } from '../../../../_interface/icon';
|
|
6
|
+
import { NavigationHelperService } from '../../../../_services/navigation-helper.service';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class BranchedItinerariesComponent {
|
|
8
9
|
private customMenuList;
|
|
9
10
|
private location;
|
|
10
|
-
private router;
|
|
11
11
|
private activeRoute;
|
|
12
|
+
private navHelper;
|
|
12
13
|
libMenuItem: LibMenuItem[];
|
|
13
14
|
ICONS: Iicon;
|
|
14
15
|
temps: string[];
|
|
15
|
-
constructor(customMenuList: CustomDropdownMenuService, location: Location,
|
|
16
|
+
constructor(customMenuList: CustomDropdownMenuService, location: Location, activeRoute: ActivatedRoute, navHelper: NavigationHelperService);
|
|
16
17
|
ngOnInit(): void;
|
|
17
18
|
initializeTemps(): void;
|
|
18
19
|
back: () => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
3
|
import { Iicon } from '../../../../_interface/icon';
|
|
4
4
|
import { Itinerary } from '../../../../_models/Itinerary';
|
|
5
5
|
import { ItineraryService } from '../../../../_services/itinerary.service';
|
|
@@ -7,14 +7,16 @@ import { CustomDropdownMenuService } from '../../../../_services/custom-dropdown
|
|
|
7
7
|
import { LibMenuItem } from '@naniteninja/ionic-lib';
|
|
8
8
|
import { SharePopupDataService } from '../../../../_services/share-popup-data';
|
|
9
9
|
import { TranslateService } from '@ngx-translate/core';
|
|
10
|
+
import { NavigationHelperService } from '../../../../_services/navigation-helper.service';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
export declare class BuilderComponent implements OnInit {
|
|
12
|
-
private router;
|
|
13
13
|
private itineraryService;
|
|
14
14
|
private cd;
|
|
15
15
|
customMenuList: CustomDropdownMenuService;
|
|
16
16
|
private translate;
|
|
17
17
|
sharePopupDataService: SharePopupDataService;
|
|
18
|
+
private route;
|
|
19
|
+
private navHelper;
|
|
18
20
|
ICONS: Iicon;
|
|
19
21
|
draftItinerary: Itinerary[];
|
|
20
22
|
libMenuItems: Itinerary[];
|
|
@@ -28,7 +30,7 @@ export declare class BuilderComponent implements OnInit {
|
|
|
28
30
|
description: string;
|
|
29
31
|
}>;
|
|
30
32
|
currentItinerary: Itinerary | undefined;
|
|
31
|
-
constructor(
|
|
33
|
+
constructor(itineraryService: ItineraryService, cd: ChangeDetectorRef, customMenuList: CustomDropdownMenuService, translate: TranslateService, sharePopupDataService: SharePopupDataService, route: ActivatedRoute, navHelper: NavigationHelperService);
|
|
32
34
|
initializeActions(translate: TranslateService): void;
|
|
33
35
|
navigateArchives(): void;
|
|
34
36
|
actionCardClicked(): void;
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import { Location } from '@angular/common';
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
3
|
import { FormBuilder, FormControl, FormGroup } from '@angular/forms';
|
|
4
|
-
import {
|
|
4
|
+
import { ActivatedRoute } from '@angular/router';
|
|
5
5
|
import { ItineraryService } from '../../../../../../_services/itinerary.service';
|
|
6
|
+
import { NavigationHelperService } from '../../../../../../_services/navigation-helper.service';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class CreateItineraryComponent implements OnInit {
|
|
8
9
|
private location;
|
|
9
|
-
private router;
|
|
10
10
|
private itineraryService;
|
|
11
11
|
private fb;
|
|
12
|
+
private route;
|
|
13
|
+
private navHelper;
|
|
12
14
|
form: FormGroup;
|
|
13
15
|
settings: boolean;
|
|
14
|
-
constructor(location: Location,
|
|
16
|
+
constructor(location: Location, itineraryService: ItineraryService, fb: FormBuilder, route: ActivatedRoute, navHelper: NavigationHelperService);
|
|
15
17
|
ngOnInit(): void;
|
|
16
18
|
get id(): FormControl;
|
|
17
19
|
get name(): FormControl;
|
|
@@ -3,20 +3,21 @@ import { Location } from '@angular/common';
|
|
|
3
3
|
import { ChangeDetectorRef } from '@angular/core';
|
|
4
4
|
import { Iicon } from '../../../../../../_interface/icon';
|
|
5
5
|
import { Itinerary } from '../../../../../../_models/Itinerary';
|
|
6
|
-
import { ActivatedRoute
|
|
6
|
+
import { ActivatedRoute } from '@angular/router';
|
|
7
7
|
import { ItineraryService } from '../../../../../../_services/itinerary.service';
|
|
8
8
|
import { LibMapsComponent } from '@naniteninja/ionic-lib';
|
|
9
9
|
import { LocationService } from '../../../../../../_services/location.service';
|
|
10
10
|
import { ItineraryDrawModeTransferService } from '../../../../../../_services/itinerary.drawmode.transfer';
|
|
11
|
+
import { NavigationHelperService } from '../../../../../../_services/navigation-helper.service';
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
12
13
|
export declare class CreateItineraryDrawModeComponent {
|
|
13
14
|
private location;
|
|
14
15
|
private cdr;
|
|
15
|
-
private router;
|
|
16
16
|
private activatedRoute;
|
|
17
17
|
private itineraryService;
|
|
18
18
|
private locationService;
|
|
19
19
|
private transferService;
|
|
20
|
+
private navHelper;
|
|
20
21
|
ICONS: Iicon;
|
|
21
22
|
actions: string[];
|
|
22
23
|
selected: string;
|
|
@@ -36,7 +37,7 @@ export declare class CreateItineraryDrawModeComponent {
|
|
|
36
37
|
marker: google.maps.Marker;
|
|
37
38
|
place: google.maps.places.PlaceResult;
|
|
38
39
|
}[];
|
|
39
|
-
constructor(location: Location, cdr: ChangeDetectorRef,
|
|
40
|
+
constructor(location: Location, cdr: ChangeDetectorRef, activatedRoute: ActivatedRoute, itineraryService: ItineraryService, locationService: LocationService, transferService: ItineraryDrawModeTransferService, navHelper: NavigationHelperService);
|
|
40
41
|
ngOnInit(): void;
|
|
41
42
|
updateAction(action: string): void;
|
|
42
43
|
showBottomModal(): void;
|
|
@@ -3,18 +3,19 @@ import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
|
3
3
|
import { Iicon } from '../../../../../../_interface/icon';
|
|
4
4
|
import { Itinerary } from '../../../../../../_models/Itinerary';
|
|
5
5
|
import { ItineraryService } from '../../../../../../_services/itinerary.service';
|
|
6
|
-
import { ActivatedRoute
|
|
6
|
+
import { ActivatedRoute } from '@angular/router';
|
|
7
|
+
import { NavigationHelperService } from '../../../../../../_services/navigation-helper.service';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class CreatedItineraryComponent implements OnInit {
|
|
9
10
|
private location;
|
|
10
|
-
private router;
|
|
11
11
|
private cdr;
|
|
12
12
|
private route;
|
|
13
13
|
private itineraryService;
|
|
14
|
+
private navHelper;
|
|
14
15
|
ICONS: Iicon;
|
|
15
16
|
isOpen: boolean;
|
|
16
17
|
itinerary: Itinerary | undefined;
|
|
17
|
-
constructor(location: Location,
|
|
18
|
+
constructor(location: Location, cdr: ChangeDetectorRef, route: ActivatedRoute, itineraryService: ItineraryService, navHelper: NavigationHelperService);
|
|
18
19
|
ngOnInit(): void;
|
|
19
20
|
showBottomModal(): void;
|
|
20
21
|
navToNextPage(): void;
|
|
@@ -5,18 +5,20 @@ import { LibMenuItem } from '@naniteninja/ionic-lib';
|
|
|
5
5
|
import { MenuItem } from 'primeng/api';
|
|
6
6
|
import { Itinerary } from '../../../../../../_models/Itinerary';
|
|
7
7
|
import { ItineraryService } from '../../../../../../_services/itinerary.service';
|
|
8
|
+
import { NavigationHelperService } from '../../../../../../_services/navigation-helper.service';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class CreatedItineraryPreviewComponent implements OnInit {
|
|
10
11
|
private location;
|
|
11
12
|
private router;
|
|
12
13
|
private route;
|
|
13
14
|
private itineraryService;
|
|
15
|
+
private navHelper;
|
|
14
16
|
ICONS: import("../../../../../../_interface/icon").Iicon;
|
|
15
17
|
activeItem: MenuItem;
|
|
16
18
|
itinerary: Itinerary | undefined;
|
|
17
19
|
dropdownMenuItems: LibMenuItem[];
|
|
18
20
|
tabMenuItems: MenuItem[];
|
|
19
|
-
constructor(location: Location, router: Router, route: ActivatedRoute, itineraryService: ItineraryService);
|
|
21
|
+
constructor(location: Location, router: Router, route: ActivatedRoute, itineraryService: ItineraryService, navHelper: NavigationHelperService);
|
|
20
22
|
ngOnInit(): void;
|
|
21
23
|
navToNextPage(): void;
|
|
22
24
|
back(): void;
|
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
import { Location } from '@angular/common';
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
|
-
import { ActivatedRoute
|
|
3
|
+
import { ActivatedRoute } from '@angular/router';
|
|
4
4
|
import { LocationAutocompleteConfig, LocationModel } from '@naniteninja/ionic-lib';
|
|
5
5
|
import { Itinerary } from '../../../../../../_models/Itinerary';
|
|
6
6
|
import { ItineraryService } from '../../../../../../_services/itinerary.service';
|
|
7
|
+
import { NavigationHelperService } from '../../../../../../_services/navigation-helper.service';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class LocationPickerComponent implements OnInit {
|
|
9
10
|
private location;
|
|
10
11
|
private route;
|
|
11
12
|
private itineraryService;
|
|
12
|
-
private
|
|
13
|
+
private navHelper;
|
|
13
14
|
locationIcon: string;
|
|
14
15
|
searchText: string;
|
|
15
16
|
mode: string;
|
|
16
17
|
autoCompleteConfig: LocationAutocompleteConfig;
|
|
17
18
|
percentage: number;
|
|
18
19
|
itinerary: Itinerary | undefined;
|
|
19
|
-
constructor(location: Location, route: ActivatedRoute, itineraryService: ItineraryService,
|
|
20
|
+
constructor(location: Location, route: ActivatedRoute, itineraryService: ItineraryService, navHelper: NavigationHelperService);
|
|
20
21
|
ngOnInit(): void;
|
|
21
22
|
onLocationChange(event: LocationModel | undefined): void;
|
|
22
23
|
navToNextPage(): void;
|
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
import { Location } from '@angular/common';
|
|
2
2
|
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
3
|
-
import { ActivatedRoute
|
|
3
|
+
import { ActivatedRoute } from '@angular/router';
|
|
4
4
|
import { SelectOption } from '@naniteninja/ionic-lib';
|
|
5
5
|
import { Iicon } from '../../../../../../_interface/icon';
|
|
6
6
|
import { Itinerary } from '../../../../../../_models/Itinerary';
|
|
7
7
|
import { ItineraryService } from '../../../../../../_services/itinerary.service';
|
|
8
|
+
import { NavigationHelperService } from '../../../../../../_services/navigation-helper.service';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class SelectItineraryEventComponent implements OnInit {
|
|
10
11
|
private location;
|
|
11
|
-
private router;
|
|
12
12
|
private cdr;
|
|
13
13
|
private route;
|
|
14
14
|
private itineraryService;
|
|
15
|
+
private navHelper;
|
|
15
16
|
ICONS: Iicon;
|
|
16
17
|
isOpen: boolean;
|
|
17
18
|
options: SelectOption<string>[];
|
|
18
19
|
itinerary: Itinerary | undefined;
|
|
19
|
-
constructor(location: Location,
|
|
20
|
+
constructor(location: Location, cdr: ChangeDetectorRef, route: ActivatedRoute, itineraryService: ItineraryService, navHelper: NavigationHelperService);
|
|
20
21
|
ngOnInit(): void;
|
|
21
22
|
showBottomModal(): void;
|
|
22
23
|
back(): void;
|
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
import { Location } from '@angular/common';
|
|
2
2
|
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
3
|
-
import { ActivatedRoute
|
|
3
|
+
import { ActivatedRoute } from '@angular/router';
|
|
4
4
|
import { Iicon } from '../../../../../../_interface/icon';
|
|
5
5
|
import { Itinerary } from '../../../../../../_models/Itinerary';
|
|
6
6
|
import { ItineraryService } from '../../../../../../_services/itinerary.service';
|
|
7
7
|
import { LibMapsComponent, MapMarkerModel } from '@naniteninja/ionic-lib';
|
|
8
|
+
import { NavigationHelperService } from '../../../../../../_services/navigation-helper.service';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class SuggestedEventsLocationComponent implements OnInit {
|
|
10
11
|
private location;
|
|
11
|
-
private router;
|
|
12
12
|
private cdr;
|
|
13
13
|
private route;
|
|
14
14
|
private itineraryService;
|
|
15
|
+
private navHelper;
|
|
15
16
|
ICONS: Iicon;
|
|
16
17
|
isOpen: boolean;
|
|
17
18
|
itineary: Itinerary | undefined;
|
|
18
19
|
mapMarkerModel: MapMarkerModel[];
|
|
19
20
|
libMap: LibMapsComponent;
|
|
20
|
-
constructor(location: Location,
|
|
21
|
+
constructor(location: Location, cdr: ChangeDetectorRef, route: ActivatedRoute, itineraryService: ItineraryService, navHelper: NavigationHelperService);
|
|
21
22
|
ngOnInit(): void;
|
|
22
23
|
showBottomModal(): void;
|
|
23
24
|
navToNextPage(): void;
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import { Location } from '@angular/common';
|
|
2
2
|
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
3
|
-
import { ActivatedRoute
|
|
3
|
+
import { ActivatedRoute } from '@angular/router';
|
|
4
4
|
import { Iicon } from '../../../../../../_interface/icon';
|
|
5
5
|
import { Itinerary } from '../../../../../../_models/Itinerary';
|
|
6
6
|
import { ItineraryService } from '../../../../../../_services/itinerary.service';
|
|
7
|
+
import { NavigationHelperService } from '../../../../../../_services/navigation-helper.service';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class SuggestedEventsRouteRadiusComponent implements OnInit {
|
|
9
10
|
private location;
|
|
10
|
-
private router;
|
|
11
11
|
private cdr;
|
|
12
12
|
private route;
|
|
13
13
|
private itineraryService;
|
|
14
|
+
private navHelper;
|
|
14
15
|
isOpen: boolean;
|
|
15
16
|
ICONS: Iicon;
|
|
16
17
|
itinerary: Itinerary | undefined;
|
|
17
|
-
constructor(location: Location,
|
|
18
|
+
constructor(location: Location, cdr: ChangeDetectorRef, route: ActivatedRoute, itineraryService: ItineraryService, navHelper: NavigationHelperService);
|
|
18
19
|
ngOnInit(): void;
|
|
19
20
|
showBottomModal(): void;
|
|
20
21
|
navToNextPage(): void;
|
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
import { Location } from '@angular/common';
|
|
2
2
|
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
3
|
-
import { ActivatedRoute
|
|
3
|
+
import { ActivatedRoute } from '@angular/router';
|
|
4
4
|
import { SelectOption } from '@naniteninja/ionic-lib';
|
|
5
5
|
import { Iicon } from '../../../../../../_interface/icon';
|
|
6
6
|
import { Itinerary } from '../../../../../../_models/Itinerary';
|
|
7
7
|
import { ItineraryService } from '../../../../../../_services/itinerary.service';
|
|
8
|
+
import { NavigationHelperService } from '../../../../../../_services/navigation-helper.service';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class SuggestedEventsRouteTypeComponent implements OnInit {
|
|
10
11
|
private location;
|
|
11
|
-
private router;
|
|
12
12
|
private cdr;
|
|
13
13
|
private route;
|
|
14
14
|
private itineraryService;
|
|
15
|
+
private navHelper;
|
|
15
16
|
ICONS: Iicon;
|
|
16
17
|
isOpen: boolean;
|
|
17
18
|
itineary: Itinerary | undefined;
|
|
18
19
|
recommendedRouteTypes: SelectOption<string>[][];
|
|
19
20
|
moreRouteTypes: SelectOption<string>[][];
|
|
20
|
-
constructor(location: Location,
|
|
21
|
+
constructor(location: Location, cdr: ChangeDetectorRef, route: ActivatedRoute, itineraryService: ItineraryService, navHelper: NavigationHelperService);
|
|
21
22
|
ngOnInit(): void;
|
|
22
23
|
showBottomModal(): void;
|
|
23
24
|
navToNextPage(): void;
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
3
|
import { ICommentsData } from '../../../../../_interface/commentsdata';
|
|
4
4
|
import { Iicon } from '../../../../../_interface/icon';
|
|
5
5
|
import { ApiService } from '../../../../../_services/api.service';
|
|
6
|
+
import { NavigationHelperService } from '../../../../../_services/navigation-helper.service';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class CommentComparisonComponent implements OnInit {
|
|
8
9
|
private apiService;
|
|
9
|
-
private router;
|
|
10
10
|
private cdr;
|
|
11
|
+
private route;
|
|
12
|
+
private navHelper;
|
|
11
13
|
isDraft: boolean;
|
|
12
14
|
cardData: ICommentsData[] | undefined;
|
|
13
15
|
processedCardData: ICommentsData | undefined;
|
|
14
16
|
ICONS: Iicon;
|
|
15
|
-
constructor(apiService: ApiService,
|
|
17
|
+
constructor(apiService: ApiService, cdr: ChangeDetectorRef, route: ActivatedRoute, navHelper: NavigationHelperService);
|
|
16
18
|
ngOnInit(): void;
|
|
17
19
|
private InvalidDataCheck;
|
|
18
20
|
private processCardData;
|
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
import { Location } from '@angular/common';
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
3
|
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
4
|
-
import {
|
|
4
|
+
import { ActivatedRoute } from '@angular/router';
|
|
5
5
|
import { FilterDataRequest, SelectOption } from '@naniteninja/ionic-lib';
|
|
6
6
|
import { Iicon } from '../../../../../_interface/icon';
|
|
7
|
+
import { NavigationHelperService } from '../../../../../_services/navigation-helper.service';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class CommentSearchComponent implements OnInit {
|
|
9
10
|
private sanitizer;
|
|
10
11
|
private location;
|
|
11
|
-
private
|
|
12
|
+
private route;
|
|
13
|
+
private navHelper;
|
|
12
14
|
ICONS: Iicon;
|
|
13
15
|
searchTerm: string;
|
|
14
16
|
filtersss: SelectOption<number>[];
|
|
15
17
|
userFilterList: FilterDataRequest[];
|
|
16
18
|
visibleComments: SafeHtml[];
|
|
17
19
|
private comments;
|
|
18
|
-
constructor(sanitizer: DomSanitizer, location: Location,
|
|
20
|
+
constructor(sanitizer: DomSanitizer, location: Location, route: ActivatedRoute, navHelper: NavigationHelperService);
|
|
19
21
|
ngOnInit(): void;
|
|
20
22
|
search(e: string): void;
|
|
21
23
|
private escapeRegExp;
|
|
@@ -8,6 +8,7 @@ import { Iicon } from '../../../../_interface/icon';
|
|
|
8
8
|
import { ApiService } from '../../../../_services/api.service';
|
|
9
9
|
import { CustomDropdownMenuService } from '../../../../_services/custom-dropdown-menu.service';
|
|
10
10
|
import { ModalService } from '../../../../_services/modal.service';
|
|
11
|
+
import { NavigationHelperService } from '../../../../_services/navigation-helper.service';
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
12
13
|
export declare class CommentsPageComponent implements OnInit {
|
|
13
14
|
modalService: ModalService;
|
|
@@ -17,6 +18,7 @@ export declare class CommentsPageComponent implements OnInit {
|
|
|
17
18
|
private apiService;
|
|
18
19
|
private activeRoute;
|
|
19
20
|
private cdr;
|
|
21
|
+
private navHelper;
|
|
20
22
|
emojiPickerConfig: EmojiPickerConfig;
|
|
21
23
|
textModel: IText | undefined;
|
|
22
24
|
libMenuItem: LibMenuItem[];
|
|
@@ -26,7 +28,7 @@ export declare class CommentsPageComponent implements OnInit {
|
|
|
26
28
|
ICONS: Iicon;
|
|
27
29
|
StatusPosition: typeof StatusPosition;
|
|
28
30
|
config$: Subject<ToastrStackConfig>;
|
|
29
|
-
constructor(modalService: ModalService, _location: Location, router: Router, customMenuList: CustomDropdownMenuService, apiService: ApiService, activeRoute: ActivatedRoute, cdr: ChangeDetectorRef);
|
|
31
|
+
constructor(modalService: ModalService, _location: Location, router: Router, customMenuList: CustomDropdownMenuService, apiService: ApiService, activeRoute: ActivatedRoute, cdr: ChangeDetectorRef, navHelper: NavigationHelperService);
|
|
30
32
|
ngOnInit(): void;
|
|
31
33
|
getCommentsData(): void;
|
|
32
34
|
SaveComment(): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
3
|
import { LibMenuItem } from '@naniteninja/ionic-lib';
|
|
4
4
|
import { CustomDropdownMenuService } from '../../../../_services/custom-dropdown-menu.service';
|
|
5
5
|
import { Iicon } from '../../../../_interface/icon';
|
|
@@ -9,22 +9,24 @@ import { ItineraryService } from '../../../../_services/itinerary.service';
|
|
|
9
9
|
import { Itinerary } from '../../../../_models/Itinerary';
|
|
10
10
|
import { ModalShareUrlClientService } from '../../../../_services/modal.shareurlservice';
|
|
11
11
|
import { SharePopupDataService } from '../../../../_services/share-popup-data';
|
|
12
|
+
import { NavigationHelperService } from '../../../../_services/navigation-helper.service';
|
|
12
13
|
import * as i0 from "@angular/core";
|
|
13
14
|
export declare class ExploreComponent implements OnInit {
|
|
14
15
|
customMenuList: CustomDropdownMenuService;
|
|
15
|
-
private router;
|
|
16
16
|
modalService: ModalService;
|
|
17
17
|
modalSendToClientService: ModalSendClientService;
|
|
18
18
|
private itineraryService;
|
|
19
19
|
private cd;
|
|
20
20
|
shareModalService: ModalShareUrlClientService;
|
|
21
21
|
sharePopupDataService: SharePopupDataService;
|
|
22
|
+
private route;
|
|
23
|
+
private navHelper;
|
|
22
24
|
libMenuItem: LibMenuItem[];
|
|
23
25
|
libMenuItems: Itinerary[];
|
|
24
26
|
ICONS: Iicon;
|
|
25
27
|
currentItinerary: Itinerary | undefined;
|
|
26
28
|
ngOnInit(): void;
|
|
27
|
-
constructor(customMenuList: CustomDropdownMenuService,
|
|
29
|
+
constructor(customMenuList: CustomDropdownMenuService, modalService: ModalService, modalSendToClientService: ModalSendClientService, itineraryService: ItineraryService, cd: ChangeDetectorRef, shareModalService: ModalShareUrlClientService, sharePopupDataService: SharePopupDataService, route: ActivatedRoute, navHelper: NavigationHelperService);
|
|
28
30
|
handleSearchStringChange(_$event: string): void;
|
|
29
31
|
clear(): void;
|
|
30
32
|
navToCommentSearch(): void;
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ActivatedRoute } from '@angular/router';
|
|
2
2
|
import { SelectOption } from '@naniteninja/ionic-lib';
|
|
3
|
+
import { NavigationHelperService } from '../../../../../../_services/navigation-helper.service';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class DetailsComponent {
|
|
5
|
-
private
|
|
6
|
+
private route;
|
|
7
|
+
private navHelper;
|
|
6
8
|
ICONS: import("../../../../../../_interface/icon").Iicon;
|
|
7
9
|
imageLoaded: boolean;
|
|
8
10
|
usersImageSrc: string;
|
|
9
11
|
passions: SelectOption<string>[];
|
|
10
|
-
constructor(
|
|
12
|
+
constructor(route: ActivatedRoute, navHelper: NavigationHelperService);
|
|
11
13
|
onImageLoad(): void;
|
|
12
14
|
handleUserStackTileClick(clickedOption: string): void;
|
|
13
|
-
navToBranch: () =>
|
|
15
|
+
navToBranch: () => void;
|
|
14
16
|
navToComments(): void;
|
|
15
17
|
navigateToUpotes(): void;
|
|
16
18
|
navigateToAuthorHistory(): void;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
3
|
import { Itinerary } from '../../../../../../_models/Itinerary';
|
|
4
4
|
import { ApiService } from '../../../../../../_services/api.service';
|
|
5
5
|
import { LocationService } from '../../../../../../_services/location.service';
|
|
6
|
+
import { NavigationHelperService } from '../../../../../../_services/navigation-helper.service';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class SummaryComponent {
|
|
8
9
|
locationService: LocationService;
|
|
9
10
|
apiService: ApiService;
|
|
10
11
|
private cdr;
|
|
11
|
-
private
|
|
12
|
+
private route;
|
|
13
|
+
private navHelper;
|
|
12
14
|
initialLocation: {
|
|
13
15
|
lat: number;
|
|
14
16
|
lng: number;
|
|
@@ -18,7 +20,7 @@ export declare class SummaryComponent {
|
|
|
18
20
|
};
|
|
19
21
|
usersImageSrc: string;
|
|
20
22
|
places: Itinerary[];
|
|
21
|
-
constructor(locationService: LocationService, apiService: ApiService, cdr: ChangeDetectorRef,
|
|
23
|
+
constructor(locationService: LocationService, apiService: ApiService, cdr: ChangeDetectorRef, route: ActivatedRoute, navHelper: NavigationHelperService);
|
|
22
24
|
handleUserStackTileClick(clickedOption: string): void;
|
|
23
25
|
ngOnInit(): void;
|
|
24
26
|
navToStartLocation(): void;
|
package/lib/itinerary-app/modules/itineraries/pages/itinerary-detail/itinerary-detail.component.d.ts
CHANGED
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
import { Location } from '@angular/common';
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
|
-
import { Router } from '@angular/router';
|
|
3
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
4
|
import { LibMenuItem } from '@naniteninja/ionic-lib';
|
|
5
5
|
import { MenuItem } from 'primeng/api';
|
|
6
|
+
import { NavigationHelperService } from '../../../../_services/navigation-helper.service';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class ItineraryDetailComponent implements OnInit {
|
|
8
9
|
private location;
|
|
9
10
|
private router;
|
|
11
|
+
private route;
|
|
12
|
+
private navHelper;
|
|
10
13
|
itineraryTitle: string;
|
|
11
14
|
ICONS: import("../../../../_interface/icon").Iicon;
|
|
12
15
|
tabMenuItems: MenuItem[];
|
|
13
16
|
activeItem: MenuItem;
|
|
14
17
|
dropdownMenuItems: LibMenuItem[];
|
|
15
18
|
isModalOpen: boolean;
|
|
16
|
-
constructor(location: Location, router: Router);
|
|
19
|
+
constructor(location: Location, router: Router, route: ActivatedRoute, navHelper: NavigationHelperService);
|
|
17
20
|
ngOnInit(): void;
|
|
18
21
|
onModalConfirmed(): void;
|
|
19
22
|
onModalDismissed(): void;
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import { Location } from '@angular/common';
|
|
2
2
|
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
3
|
-
import {
|
|
3
|
+
import { ActivatedRoute } from '@angular/router';
|
|
4
4
|
import { SelectOption } from '@naniteninja/ionic-lib';
|
|
5
5
|
import { Subscription } from 'rxjs';
|
|
6
6
|
import { Iicon } from '../../../../../_interface/icon';
|
|
7
7
|
import { IItineraryMember } from '../../../../../_models/itineraryMember';
|
|
8
8
|
import { AssetsService } from '../../../../../_services/assets.service';
|
|
9
|
+
import { NavigationHelperService } from '../../../../../_services/navigation-helper.service';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
export declare class UserList implements OnInit, OnDestroy {
|
|
11
|
-
private router;
|
|
12
12
|
private _location;
|
|
13
13
|
private assetService;
|
|
14
14
|
private cdr;
|
|
15
|
+
private route;
|
|
16
|
+
private navHelper;
|
|
15
17
|
usersList: IItineraryMember[] | undefined;
|
|
16
18
|
class: string;
|
|
17
19
|
ICONS: Iicon;
|
|
@@ -19,7 +21,7 @@ export declare class UserList implements OnInit, OnDestroy {
|
|
|
19
21
|
loading: boolean;
|
|
20
22
|
subscription: Subscription;
|
|
21
23
|
options: SelectOption<string>[];
|
|
22
|
-
constructor(
|
|
24
|
+
constructor(_location: Location, assetService: AssetsService, cdr: ChangeDetectorRef, route: ActivatedRoute, navHelper: NavigationHelperService);
|
|
23
25
|
ngOnInit(): void;
|
|
24
26
|
handleMenueItemSelect(): void;
|
|
25
27
|
handleMenuItemChange(): void;
|