@smarterplan/ngx-smarterplan-core 1.2.45 → 1.2.47
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/README.md +24 -24
- package/esm2020/lib/components/csv-export/csv-export.component.mjs +59 -59
- package/esm2020/lib/components/loader/loader.component.mjs +23 -23
- package/esm2020/lib/components/menu-bar/avatar/avatar.component.mjs +80 -80
- package/esm2020/lib/components/menu-bar/menu-bar.component.mjs +99 -99
- package/esm2020/lib/components/menu-bar/navigation-bar/navigation-bar.component.mjs +384 -384
- package/esm2020/lib/components/menu-bar/range-date-picker/range-date-picker.component.mjs +147 -147
- package/esm2020/lib/components/modal-switch-visit/modal-switch-visit.component.mjs +40 -40
- package/esm2020/lib/components/search-bar/search-bar.component.mjs +63 -63
- package/esm2020/lib/components/support-modal/support-modal.component.mjs +66 -66
- package/esm2020/lib/config.mjs +4 -4
- package/esm2020/lib/helpers.service.mjs +470 -470
- package/esm2020/lib/matterport-extensions/hsl-loader/HlsLoader.mjs +69 -69
- package/esm2020/lib/matterport-extensions/nest-thermostat/CanvasImage.mjs +51 -51
- package/esm2020/lib/matterport-extensions/nest-thermostat/CanvasRenderer.mjs +61 -61
- package/esm2020/lib/matterport-extensions/nest-thermostat/NestThermostat.mjs +158 -158
- package/esm2020/lib/matterport-extensions/nest-thermostat/PlaneRenderer.mjs +85 -85
- package/esm2020/lib/matterport-extensions/scene-component/SceneComponent.mjs +128 -128
- package/esm2020/lib/matterport-extensions/security-camera/SecurityCamera.mjs +249 -249
- package/esm2020/lib/matterport-extensions/tv-player/TvPlayer.mjs +98 -98
- package/esm2020/lib/matterport-extensions/video-renderer/VideoRenderer.mjs +64 -64
- package/esm2020/lib/matterport-extensions/view-frustum-mesh/ViewFrustumMesh.mjs +221 -221
- package/esm2020/lib/mattertagData.mjs +165 -165
- package/esm2020/lib/ngx-smarterplan-core.module.mjs +122 -122
- package/esm2020/lib/ngx-smarterplan-core.service.mjs +14 -14
- package/esm2020/lib/pipes/duration-to-string.pipe.mjs +66 -66
- package/esm2020/lib/pipes/format-date-number-to-digits.pipe.mjs +30 -30
- package/esm2020/lib/pipes/hashtag-from-id.pipe.mjs +26 -26
- package/esm2020/lib/pipes/safe-url.pipe.mjs +20 -20
- package/esm2020/lib/pipes/time-date-to-local-string.pipe.mjs +104 -104
- package/esm2020/lib/pipes/username-from-id.pipe.mjs +29 -29
- package/esm2020/lib/services/amplify-cache.service.mjs +72 -72
- package/esm2020/lib/services/base-tab.service.mjs +24 -24
- package/esm2020/lib/services/baseVisibility.service.mjs +18 -18
- package/esm2020/lib/services/content.service.mjs +135 -135
- package/esm2020/lib/services/filter.service.mjs +599 -599
- package/esm2020/lib/services/intervention.service.mjs +236 -236
- package/esm2020/lib/services/locale.service.mjs +45 -45
- package/esm2020/lib/services/matterport-import.service.mjs +340 -340
- package/esm2020/lib/services/matterport.service.mjs +1587 -1587
- package/esm2020/lib/services/models/affectation.service.mjs +60 -60
- package/esm2020/lib/services/models/base-object.service.mjs +70 -70
- package/esm2020/lib/services/models/capture.service.mjs +34 -34
- package/esm2020/lib/services/models/comment.service.mjs +98 -98
- package/esm2020/lib/services/models/domain.service.mjs +78 -78
- package/esm2020/lib/services/models/equipment.service.mjs +683 -683
- package/esm2020/lib/services/models/event.service.mjs +128 -128
- package/esm2020/lib/services/models/feature.service.mjs +380 -380
- package/esm2020/lib/services/models/hashtag.service.mjs +38 -38
- package/esm2020/lib/services/models/layer.service.mjs +33 -33
- package/esm2020/lib/services/models/measurement.service.mjs +199 -199
- package/esm2020/lib/services/models/mission.service.mjs +206 -206
- package/esm2020/lib/services/models/navigation.service.mjs +92 -92
- package/esm2020/lib/services/models/node.service.mjs +31 -31
- package/esm2020/lib/services/models/object3D.service.mjs +364 -364
- package/esm2020/lib/services/models/operation.service.mjs +59 -59
- package/esm2020/lib/services/models/organisation.service.mjs +73 -73
- package/esm2020/lib/services/models/plan.service.mjs +799 -799
- package/esm2020/lib/services/models/poi.service.mjs +103 -103
- package/esm2020/lib/services/models/profile.service.mjs +58 -58
- package/esm2020/lib/services/models/property.service.mjs +44 -44
- package/esm2020/lib/services/models/space.service.mjs +204 -204
- package/esm2020/lib/services/models/template.service.mjs +41 -41
- package/esm2020/lib/services/models/ticket.service.mjs +526 -526
- package/esm2020/lib/services/models/visit.service.mjs +130 -130
- package/esm2020/lib/services/models/zone.service.mjs +225 -225
- package/esm2020/lib/services/navigator.service.mjs +212 -212
- package/esm2020/lib/services/s3.service.mjs +137 -137
- package/esm2020/lib/services/search.service.mjs +124 -124
- package/esm2020/lib/services/support.service.mjs +42 -42
- package/esm2020/lib/services/tag.service.mjs +111 -111
- package/esm2020/lib/services/user.service.mjs +501 -501
- package/esm2020/lib/services/validators.service.mjs +50 -50
- package/esm2020/lib/services/viewer.service.mjs +389 -389
- package/esm2020/lib/services/zone-drawer.service.mjs +76 -76
- package/esm2020/lib/services/zoneChange.service.mjs +30 -30
- package/esm2020/lib/types.service.mjs +311 -311
- package/esm2020/lib/validators/email.directive.mjs +7 -7
- package/esm2020/lib/validators/no-empty.directive.mjs +12 -12
- package/esm2020/lib/validators/number.directive.mjs +12 -12
- package/esm2020/lib/validators/text.directive.mjs +12 -12
- package/esm2020/public-api.mjs +72 -72
- package/esm2020/smarterplan-ngx-smarterplan-core.mjs +4 -4
- package/fesm2015/smarterplan-ngx-smarterplan-core.mjs +13014 -13014
- package/fesm2015/smarterplan-ngx-smarterplan-core.mjs.map +1 -1
- package/fesm2020/smarterplan-ngx-smarterplan-core.mjs +12263 -12263
- package/fesm2020/smarterplan-ngx-smarterplan-core.mjs.map +1 -1
- package/lib/components/csv-export/csv-export.component.d.ts +18 -18
- package/lib/components/loader/loader.component.d.ts +10 -10
- package/lib/components/menu-bar/avatar/avatar.component.d.ts +21 -21
- package/lib/components/menu-bar/menu-bar.component.d.ts +38 -38
- package/lib/components/menu-bar/navigation-bar/navigation-bar.component.d.ts +73 -73
- package/lib/components/menu-bar/range-date-picker/range-date-picker.component.d.ts +35 -35
- package/lib/components/modal-switch-visit/modal-switch-visit.component.d.ts +22 -22
- package/lib/components/search-bar/search-bar.component.d.ts +16 -16
- package/lib/components/support-modal/support-modal.component.d.ts +26 -26
- package/lib/config.d.ts +22 -22
- package/lib/helpers.service.d.ts +79 -79
- package/lib/matterport-extensions/hsl-loader/HlsLoader.d.ts +26 -26
- package/lib/matterport-extensions/nest-thermostat/CanvasImage.d.ts +31 -31
- package/lib/matterport-extensions/nest-thermostat/CanvasRenderer.d.ts +37 -37
- package/lib/matterport-extensions/nest-thermostat/NestThermostat.d.ts +42 -42
- package/lib/matterport-extensions/nest-thermostat/PlaneRenderer.d.ts +46 -46
- package/lib/matterport-extensions/scene-component/SceneComponent.d.ts +388 -388
- package/lib/matterport-extensions/security-camera/SecurityCamera.d.ts +47 -47
- package/lib/matterport-extensions/tv-player/TvPlayer.d.ts +26 -26
- package/lib/matterport-extensions/video-renderer/VideoRenderer.d.ts +26 -26
- package/lib/matterport-extensions/view-frustum-mesh/ViewFrustumMesh.d.ts +43 -43
- package/lib/mattertagData.d.ts +70 -70
- package/lib/ngx-smarterplan-core.module.d.ts +29 -29
- package/lib/ngx-smarterplan-core.service.d.ts +6 -6
- package/lib/pipes/duration-to-string.pipe.d.ts +12 -12
- package/lib/pipes/format-date-number-to-digits.pipe.d.ts +10 -10
- package/lib/pipes/hashtag-from-id.pipe.d.ts +10 -10
- package/lib/pipes/safe-url.pipe.d.ts +10 -10
- package/lib/pipes/time-date-to-local-string.pipe.d.ts +16 -16
- package/lib/pipes/username-from-id.pipe.d.ts +11 -11
- package/lib/services/amplify-cache.service.d.ts +37 -37
- package/lib/services/base-tab.service.d.ts +10 -10
- package/lib/services/baseVisibility.service.d.ts +9 -9
- package/lib/services/content.service.d.ts +28 -28
- package/lib/services/filter.service.d.ts +60 -60
- package/lib/services/intervention.service.d.ts +25 -25
- package/lib/services/locale.service.d.ts +23 -23
- package/lib/services/matterport-import.service.d.ts +53 -53
- package/lib/services/matterport.service.d.ts +336 -336
- package/lib/services/models/affectation.service.d.ts +14 -14
- package/lib/services/models/base-object.service.d.ts +20 -20
- package/lib/services/models/capture.service.d.ts +13 -13
- package/lib/services/models/comment.service.d.ts +26 -26
- package/lib/services/models/domain.service.d.ts +19 -19
- package/lib/services/models/equipment.service.d.ts +93 -93
- package/lib/services/models/event.service.d.ts +43 -43
- package/lib/services/models/feature.service.d.ts +75 -75
- package/lib/services/models/hashtag.service.d.ts +13 -13
- package/lib/services/models/layer.service.d.ts +11 -11
- package/lib/services/models/measurement.service.d.ts +51 -51
- package/lib/services/models/mission.service.d.ts +39 -39
- package/lib/services/models/navigation.service.d.ts +29 -29
- package/lib/services/models/node.service.d.ts +12 -12
- package/lib/services/models/object3D.service.d.ts +57 -57
- package/lib/services/models/operation.service.d.ts +15 -15
- package/lib/services/models/organisation.service.d.ts +19 -19
- package/lib/services/models/plan.service.d.ts +133 -133
- package/lib/services/models/poi.service.d.ts +25 -25
- package/lib/services/models/profile.service.d.ts +16 -16
- package/lib/services/models/property.service.d.ts +13 -13
- package/lib/services/models/space.service.d.ts +46 -46
- package/lib/services/models/template.service.d.ts +15 -15
- package/lib/services/models/ticket.service.d.ts +93 -93
- package/lib/services/models/visit.service.d.ts +24 -24
- package/lib/services/models/zone.service.d.ts +50 -50
- package/lib/services/navigator.service.d.ts +61 -61
- package/lib/services/s3.service.d.ts +14 -14
- package/lib/services/search.service.d.ts +20 -20
- package/lib/services/support.service.d.ts +17 -17
- package/lib/services/tag.service.d.ts +29 -29
- package/lib/services/user.service.d.ts +118 -118
- package/lib/services/validators.service.d.ts +18 -18
- package/lib/services/viewer.service.d.ts +110 -110
- package/lib/services/zone-drawer.service.d.ts +7 -7
- package/lib/services/zoneChange.service.d.ts +17 -17
- package/lib/types.service.d.ts +842 -842
- package/lib/validators/email.directive.d.ts +2 -2
- package/lib/validators/no-empty.directive.d.ts +2 -2
- package/lib/validators/number.directive.d.ts +2 -2
- package/lib/validators/text.directive.d.ts +2 -2
- package/package.json +2 -2
- package/public-api.d.ts +64 -64
- package/smarterplan-ngx-smarterplan-core.d.ts +5 -5
|
@@ -1,93 +1,93 @@
|
|
|
1
|
-
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
2
|
-
import { Subject, Subscription } from 'rxjs';
|
|
3
|
-
import { MattertagData } from '../../mattertagData';
|
|
4
|
-
import { Event, Ticket, TicketType, TicketStatus, Affectation, POI, IUpdate, Zone } from '../../types.service';
|
|
5
|
-
import { FilterService } from '../filter.service';
|
|
6
|
-
import { NavigatorService } from '../navigator.service';
|
|
7
|
-
import { BaseUserService } from '../user.service';
|
|
8
|
-
import { ViewerService } from '../viewer.service';
|
|
9
|
-
import { BaseObjectService } from './base-object.service';
|
|
10
|
-
import { NavigationService } from './navigation.service';
|
|
11
|
-
import { OperationService } from './operation.service';
|
|
12
|
-
import { PoiService } from './poi.service';
|
|
13
|
-
import { EventService } from './event.service';
|
|
14
|
-
import { InterventionService } from '../intervention.service';
|
|
15
|
-
import { AffectationService } from './affectation.service';
|
|
16
|
-
import { ZoneChangeService } from "../zoneChange.service";
|
|
17
|
-
import * as i0 from "@angular/core";
|
|
18
|
-
export declare class TicketsService extends BaseObjectService {
|
|
19
|
-
private operationService;
|
|
20
|
-
private eventService;
|
|
21
|
-
private affectationService;
|
|
22
|
-
private userService;
|
|
23
|
-
private navigatorService;
|
|
24
|
-
private filterService;
|
|
25
|
-
private interventionService;
|
|
26
|
-
private viewerService;
|
|
27
|
-
private zoneChangeService;
|
|
28
|
-
private modalService;
|
|
29
|
-
currentTickets: {
|
|
30
|
-
zone: Ticket[];
|
|
31
|
-
space: Ticket[];
|
|
32
|
-
};
|
|
33
|
-
ticketTags: Subject<Ticket[]>;
|
|
34
|
-
ticketsFiltered: Ticket[];
|
|
35
|
-
ticketsUpdated: Subject<{
|
|
36
|
-
zone: Ticket[];
|
|
37
|
-
space: Ticket[];
|
|
38
|
-
}>;
|
|
39
|
-
currentSpaceID: string;
|
|
40
|
-
zoneIDFilter: string;
|
|
41
|
-
dateFilter: Date[];
|
|
42
|
-
ticketTypeFilter: TicketType[];
|
|
43
|
-
reportingIcon: import("@iconify/types").IconifyIcon;
|
|
44
|
-
maintenanceIcon: import("@iconify/types").IconifyIcon;
|
|
45
|
-
workorderIcon: import("@iconify/types").IconifyIcon;
|
|
46
|
-
informationIcon: import("@iconify/types").IconifyIcon;
|
|
47
|
-
accidentIcon: import("@iconify/types").IconifyIcon;
|
|
48
|
-
updateDone: Subject<boolean>;
|
|
49
|
-
updating: Subject<boolean>;
|
|
50
|
-
API: any;
|
|
51
|
-
awsKinesisAnalytics: any;
|
|
52
|
-
isMuseumUser: boolean;
|
|
53
|
-
navSubscription: Subscription;
|
|
54
|
-
filetrSubscription: Subscription;
|
|
55
|
-
floorsPerSpace: Zone[];
|
|
56
|
-
selectedFloor: Zone;
|
|
57
|
-
private destroy$;
|
|
58
|
-
constructor(awsKinesisAnalyticsInjected: any, apiInjected: any, operationService: OperationService, eventService: EventService, affectationService: AffectationService, poiService: PoiService, userService: BaseUserService, navigatorService: NavigatorService, filterService: FilterService, interventionService: InterventionService, navigationService: NavigationService, viewerService: ViewerService, zoneChangeService: ZoneChangeService, modalService: NgbModal);
|
|
59
|
-
initTickets(): Promise<void>;
|
|
60
|
-
adaptTicket(ticket: Ticket): Promise<Ticket>;
|
|
61
|
-
getPriorityColor(ticket: Ticket): string;
|
|
62
|
-
getStatusColor(ticket: Ticket): string;
|
|
63
|
-
getTicketPriorityNumber(t: any): number;
|
|
64
|
-
getTicketIcon(type: TicketType): any;
|
|
65
|
-
addEventToTicket(ticket: Ticket, event: Event): Promise<Event>;
|
|
66
|
-
addTicket(ticket: Ticket): Promise<Ticket | void>;
|
|
67
|
-
updateTicketWithEvent(ticket: IUpdate & Partial<Ticket>, event?: Event): Promise<Ticket>;
|
|
68
|
-
removeAssigneeFromTicket(ticket: Ticket, assignee: Affectation): Promise<Ticket>;
|
|
69
|
-
updateTicketLocation(ticket: Ticket, tagData: MattertagData): Promise<POI>;
|
|
70
|
-
updateStatusOfTicket(ticket: Ticket, status: TicketStatus): Promise<any>;
|
|
71
|
-
updateTypeOfTicket(ticket: Ticket, type: TicketType): Promise<any>;
|
|
72
|
-
getTicketsForUserForSpace(spaceID: string): Promise<Ticket[]>;
|
|
73
|
-
/** Basic CRUD operations */
|
|
74
|
-
readTicket(id: string): Promise<any>;
|
|
75
|
-
createTicket(input: Ticket): Promise<Ticket>;
|
|
76
|
-
updateTicket(input: IUpdate & Partial<Ticket>): Promise<Ticket>;
|
|
77
|
-
deleteTicket(ticket: Ticket): Promise<Ticket>;
|
|
78
|
-
/** Custom requests */
|
|
79
|
-
getTicketsBySpace(spaceID: string): Promise<Ticket[]>;
|
|
80
|
-
updateIconForAllTicketsInSpace(tagIcon: string, spaceID: string): Promise<{
|
|
81
|
-
tickets: Ticket[];
|
|
82
|
-
pois: POI[];
|
|
83
|
-
}>;
|
|
84
|
-
/** Archive related */
|
|
85
|
-
/** Return true if the current user has archived this ticket */
|
|
86
|
-
isArchived(ticket: Ticket): boolean;
|
|
87
|
-
setArchived(ticket: Ticket, archived: boolean): Promise<Ticket>;
|
|
88
|
-
navigateToTicketIn3D(ticket: Ticket, forceSwitchVisit?: boolean): Promise<void>;
|
|
89
|
-
initSubscriptions(): void;
|
|
90
|
-
unsubscribe(): void;
|
|
91
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TicketsService, never>;
|
|
92
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TicketsService>;
|
|
93
|
-
}
|
|
1
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
2
|
+
import { Subject, Subscription } from 'rxjs';
|
|
3
|
+
import { MattertagData } from '../../mattertagData';
|
|
4
|
+
import { Event, Ticket, TicketType, TicketStatus, Affectation, POI, IUpdate, Zone } from '../../types.service';
|
|
5
|
+
import { FilterService } from '../filter.service';
|
|
6
|
+
import { NavigatorService } from '../navigator.service';
|
|
7
|
+
import { BaseUserService } from '../user.service';
|
|
8
|
+
import { ViewerService } from '../viewer.service';
|
|
9
|
+
import { BaseObjectService } from './base-object.service';
|
|
10
|
+
import { NavigationService } from './navigation.service';
|
|
11
|
+
import { OperationService } from './operation.service';
|
|
12
|
+
import { PoiService } from './poi.service';
|
|
13
|
+
import { EventService } from './event.service';
|
|
14
|
+
import { InterventionService } from '../intervention.service';
|
|
15
|
+
import { AffectationService } from './affectation.service';
|
|
16
|
+
import { ZoneChangeService } from "../zoneChange.service";
|
|
17
|
+
import * as i0 from "@angular/core";
|
|
18
|
+
export declare class TicketsService extends BaseObjectService {
|
|
19
|
+
private operationService;
|
|
20
|
+
private eventService;
|
|
21
|
+
private affectationService;
|
|
22
|
+
private userService;
|
|
23
|
+
private navigatorService;
|
|
24
|
+
private filterService;
|
|
25
|
+
private interventionService;
|
|
26
|
+
private viewerService;
|
|
27
|
+
private zoneChangeService;
|
|
28
|
+
private modalService;
|
|
29
|
+
currentTickets: {
|
|
30
|
+
zone: Ticket[];
|
|
31
|
+
space: Ticket[];
|
|
32
|
+
};
|
|
33
|
+
ticketTags: Subject<Ticket[]>;
|
|
34
|
+
ticketsFiltered: Ticket[];
|
|
35
|
+
ticketsUpdated: Subject<{
|
|
36
|
+
zone: Ticket[];
|
|
37
|
+
space: Ticket[];
|
|
38
|
+
}>;
|
|
39
|
+
currentSpaceID: string;
|
|
40
|
+
zoneIDFilter: string;
|
|
41
|
+
dateFilter: Date[];
|
|
42
|
+
ticketTypeFilter: TicketType[];
|
|
43
|
+
reportingIcon: import("@iconify/types").IconifyIcon;
|
|
44
|
+
maintenanceIcon: import("@iconify/types").IconifyIcon;
|
|
45
|
+
workorderIcon: import("@iconify/types").IconifyIcon;
|
|
46
|
+
informationIcon: import("@iconify/types").IconifyIcon;
|
|
47
|
+
accidentIcon: import("@iconify/types").IconifyIcon;
|
|
48
|
+
updateDone: Subject<boolean>;
|
|
49
|
+
updating: Subject<boolean>;
|
|
50
|
+
API: any;
|
|
51
|
+
awsKinesisAnalytics: any;
|
|
52
|
+
isMuseumUser: boolean;
|
|
53
|
+
navSubscription: Subscription;
|
|
54
|
+
filetrSubscription: Subscription;
|
|
55
|
+
floorsPerSpace: Zone[];
|
|
56
|
+
selectedFloor: Zone;
|
|
57
|
+
private destroy$;
|
|
58
|
+
constructor(awsKinesisAnalyticsInjected: any, apiInjected: any, operationService: OperationService, eventService: EventService, affectationService: AffectationService, poiService: PoiService, userService: BaseUserService, navigatorService: NavigatorService, filterService: FilterService, interventionService: InterventionService, navigationService: NavigationService, viewerService: ViewerService, zoneChangeService: ZoneChangeService, modalService: NgbModal);
|
|
59
|
+
initTickets(): Promise<void>;
|
|
60
|
+
adaptTicket(ticket: Ticket): Promise<Ticket>;
|
|
61
|
+
getPriorityColor(ticket: Ticket): string;
|
|
62
|
+
getStatusColor(ticket: Ticket): string;
|
|
63
|
+
getTicketPriorityNumber(t: any): number;
|
|
64
|
+
getTicketIcon(type: TicketType): any;
|
|
65
|
+
addEventToTicket(ticket: Ticket, event: Event): Promise<Event>;
|
|
66
|
+
addTicket(ticket: Ticket): Promise<Ticket | void>;
|
|
67
|
+
updateTicketWithEvent(ticket: IUpdate & Partial<Ticket>, event?: Event): Promise<Ticket>;
|
|
68
|
+
removeAssigneeFromTicket(ticket: Ticket, assignee: Affectation): Promise<Ticket>;
|
|
69
|
+
updateTicketLocation(ticket: Ticket, tagData: MattertagData): Promise<POI>;
|
|
70
|
+
updateStatusOfTicket(ticket: Ticket, status: TicketStatus): Promise<any>;
|
|
71
|
+
updateTypeOfTicket(ticket: Ticket, type: TicketType): Promise<any>;
|
|
72
|
+
getTicketsForUserForSpace(spaceID: string): Promise<Ticket[]>;
|
|
73
|
+
/** Basic CRUD operations */
|
|
74
|
+
readTicket(id: string): Promise<any>;
|
|
75
|
+
createTicket(input: Ticket): Promise<Ticket>;
|
|
76
|
+
updateTicket(input: IUpdate & Partial<Ticket>): Promise<Ticket>;
|
|
77
|
+
deleteTicket(ticket: Ticket): Promise<Ticket>;
|
|
78
|
+
/** Custom requests */
|
|
79
|
+
getTicketsBySpace(spaceID: string): Promise<Ticket[]>;
|
|
80
|
+
updateIconForAllTicketsInSpace(tagIcon: string, spaceID: string): Promise<{
|
|
81
|
+
tickets: Ticket[];
|
|
82
|
+
pois: POI[];
|
|
83
|
+
}>;
|
|
84
|
+
/** Archive related */
|
|
85
|
+
/** Return true if the current user has archived this ticket */
|
|
86
|
+
isArchived(ticket: Ticket): boolean;
|
|
87
|
+
setArchived(ticket: Ticket, archived: boolean): Promise<Ticket>;
|
|
88
|
+
navigateToTicketIn3D(ticket: Ticket, forceSwitchVisit?: boolean): Promise<void>;
|
|
89
|
+
initSubscriptions(): void;
|
|
90
|
+
unsubscribe(): void;
|
|
91
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketsService, never>;
|
|
92
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TicketsService>;
|
|
93
|
+
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { Plan, Space, Visit, Zone } from "../../types.service";
|
|
2
|
-
import { BaseUserService } from "../user.service";
|
|
3
|
-
import { CaptureService } from "./capture.service";
|
|
4
|
-
import { NavigationService } from "./navigation.service";
|
|
5
|
-
import { NodeService } from "./node.service";
|
|
6
|
-
import { PlanService } from "./plan.service";
|
|
7
|
-
import { ZoneService } from "./zone.service";
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class VisitService {
|
|
10
|
-
private captureService;
|
|
11
|
-
private nodeService;
|
|
12
|
-
private navigationService;
|
|
13
|
-
private zoneService;
|
|
14
|
-
private planService;
|
|
15
|
-
private userService;
|
|
16
|
-
choosenPlan: Plan;
|
|
17
|
-
constructor(captureService: CaptureService, nodeService: NodeService, navigationService: NavigationService, zoneService: ZoneService, planService: PlanService, userService: BaseUserService);
|
|
18
|
-
getVisitsForSpaceForUser(spaceID: string): Promise<Visit[]>;
|
|
19
|
-
deleteVisit(visit: Visit, spaceID: string): Promise<Visit>;
|
|
20
|
-
loadImagesForSpace(space: Space): Promise<any>;
|
|
21
|
-
getDefaultZoneForVisit(visit: Visit): Promise<Zone>;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VisitService, never>;
|
|
23
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<VisitService>;
|
|
24
|
-
}
|
|
1
|
+
import { Plan, Space, Visit, Zone } from "../../types.service";
|
|
2
|
+
import { BaseUserService } from "../user.service";
|
|
3
|
+
import { CaptureService } from "./capture.service";
|
|
4
|
+
import { NavigationService } from "./navigation.service";
|
|
5
|
+
import { NodeService } from "./node.service";
|
|
6
|
+
import { PlanService } from "./plan.service";
|
|
7
|
+
import { ZoneService } from "./zone.service";
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class VisitService {
|
|
10
|
+
private captureService;
|
|
11
|
+
private nodeService;
|
|
12
|
+
private navigationService;
|
|
13
|
+
private zoneService;
|
|
14
|
+
private planService;
|
|
15
|
+
private userService;
|
|
16
|
+
choosenPlan: Plan;
|
|
17
|
+
constructor(captureService: CaptureService, nodeService: NodeService, navigationService: NavigationService, zoneService: ZoneService, planService: PlanService, userService: BaseUserService);
|
|
18
|
+
getVisitsForSpaceForUser(spaceID: string): Promise<Visit[]>;
|
|
19
|
+
deleteVisit(visit: Visit, spaceID: string): Promise<Visit>;
|
|
20
|
+
loadImagesForSpace(space: Space): Promise<any>;
|
|
21
|
+
getDefaultZoneForVisit(visit: Visit): Promise<Zone>;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VisitService, never>;
|
|
23
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<VisitService>;
|
|
24
|
+
}
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
import { DbObjectType, Zone } from '../../types.service';
|
|
2
|
-
import { BaseUserService } from '../user.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ZoneService {
|
|
5
|
-
private userService;
|
|
6
|
-
API: any;
|
|
7
|
-
constructor(apiInjected: any, userService: BaseUserService);
|
|
8
|
-
getZonesBySpace(spaceID: string): Promise<Array<Zone>>;
|
|
9
|
-
getZonesBySpaceForUser(spaceID: string): Promise<Zone[]>;
|
|
10
|
-
filterZonesIDsForUser(zones: Zone[]): Promise<Zone[]>;
|
|
11
|
-
deleteZone(zoneID: string): Promise<Zone>;
|
|
12
|
-
getZonesForSweepForSpace(sweepID: string, spaceID: string): Promise<Zone[]>;
|
|
13
|
-
sortZonesFromChildToParent(zonesToSort: Zone[]): Zone[];
|
|
14
|
-
getZonesForObject(object: DbObjectType): Promise<Zone[]>;
|
|
15
|
-
createVirtualZone(zoneInput: Zone): Promise<Zone>;
|
|
16
|
-
zoneIsVirtual(zone: Zone): boolean;
|
|
17
|
-
getModel3DForZone(zoneID: string): Promise<string>;
|
|
18
|
-
getZone(zoneID: string): Promise<Zone>;
|
|
19
|
-
getDefaultZoneForSpace(spaceID: string): Promise<Zone>;
|
|
20
|
-
create(input: Zone): Promise<Zone>;
|
|
21
|
-
updateZone(input: any): Promise<Zone>;
|
|
22
|
-
getZonesForNodeForSpace(nodeID: string, spaceID: string): Promise<Zone[]>;
|
|
23
|
-
/**
|
|
24
|
-
* Gets the Zone (layer FLOOR) for a matterport sweep ID in a given Space
|
|
25
|
-
* @param sweepID
|
|
26
|
-
* @param spaceID
|
|
27
|
-
* @returns Zone
|
|
28
|
-
*/
|
|
29
|
-
getFloorZoneForSweepInSpace(sweepID: string, spaceID: string): Promise<Zone>;
|
|
30
|
-
/**
|
|
31
|
-
* Get zones with audio track for entire space
|
|
32
|
-
* @param spaceID
|
|
33
|
-
* @returns Promise<Zone[]>
|
|
34
|
-
*/
|
|
35
|
-
getAudioZonesForSpace(spaceID: string): Promise<Zone[]>;
|
|
36
|
-
/**
|
|
37
|
-
* Get audio zones for user (within allowed zones)
|
|
38
|
-
* @param spaceID
|
|
39
|
-
* @returns Promise<Zone[]>
|
|
40
|
-
*/
|
|
41
|
-
getAudioZonesForUserForSpace(spaceID: string): Promise<Zone[]>;
|
|
42
|
-
/**
|
|
43
|
-
* Get Zones by Parent Zone ID
|
|
44
|
-
* @param parentZoneID string
|
|
45
|
-
* @returns Promise<Zone[]>
|
|
46
|
-
*/
|
|
47
|
-
getZonesByParentZone(parentZoneID: string): Promise<Zone[]>;
|
|
48
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ZoneService, never>;
|
|
49
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ZoneService>;
|
|
50
|
-
}
|
|
1
|
+
import { DbObjectType, Zone } from '../../types.service';
|
|
2
|
+
import { BaseUserService } from '../user.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ZoneService {
|
|
5
|
+
private userService;
|
|
6
|
+
API: any;
|
|
7
|
+
constructor(apiInjected: any, userService: BaseUserService);
|
|
8
|
+
getZonesBySpace(spaceID: string): Promise<Array<Zone>>;
|
|
9
|
+
getZonesBySpaceForUser(spaceID: string): Promise<Zone[]>;
|
|
10
|
+
filterZonesIDsForUser(zones: Zone[]): Promise<Zone[]>;
|
|
11
|
+
deleteZone(zoneID: string): Promise<Zone>;
|
|
12
|
+
getZonesForSweepForSpace(sweepID: string, spaceID: string): Promise<Zone[]>;
|
|
13
|
+
sortZonesFromChildToParent(zonesToSort: Zone[]): Zone[];
|
|
14
|
+
getZonesForObject(object: DbObjectType): Promise<Zone[]>;
|
|
15
|
+
createVirtualZone(zoneInput: Zone): Promise<Zone>;
|
|
16
|
+
zoneIsVirtual(zone: Zone): boolean;
|
|
17
|
+
getModel3DForZone(zoneID: string): Promise<string>;
|
|
18
|
+
getZone(zoneID: string): Promise<Zone>;
|
|
19
|
+
getDefaultZoneForSpace(spaceID: string): Promise<Zone>;
|
|
20
|
+
create(input: Zone): Promise<Zone>;
|
|
21
|
+
updateZone(input: any): Promise<Zone>;
|
|
22
|
+
getZonesForNodeForSpace(nodeID: string, spaceID: string): Promise<Zone[]>;
|
|
23
|
+
/**
|
|
24
|
+
* Gets the Zone (layer FLOOR) for a matterport sweep ID in a given Space
|
|
25
|
+
* @param sweepID
|
|
26
|
+
* @param spaceID
|
|
27
|
+
* @returns Zone
|
|
28
|
+
*/
|
|
29
|
+
getFloorZoneForSweepInSpace(sweepID: string, spaceID: string): Promise<Zone>;
|
|
30
|
+
/**
|
|
31
|
+
* Get zones with audio track for entire space
|
|
32
|
+
* @param spaceID
|
|
33
|
+
* @returns Promise<Zone[]>
|
|
34
|
+
*/
|
|
35
|
+
getAudioZonesForSpace(spaceID: string): Promise<Zone[]>;
|
|
36
|
+
/**
|
|
37
|
+
* Get audio zones for user (within allowed zones)
|
|
38
|
+
* @param spaceID
|
|
39
|
+
* @returns Promise<Zone[]>
|
|
40
|
+
*/
|
|
41
|
+
getAudioZonesForUserForSpace(spaceID: string): Promise<Zone[]>;
|
|
42
|
+
/**
|
|
43
|
+
* Get Zones by Parent Zone ID
|
|
44
|
+
* @param parentZoneID string
|
|
45
|
+
* @returns Promise<Zone[]>
|
|
46
|
+
*/
|
|
47
|
+
getZonesByParentZone(parentZoneID: string): Promise<Zone[]>;
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ZoneService, never>;
|
|
49
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ZoneService>;
|
|
50
|
+
}
|
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
import { Subject } from 'rxjs';
|
|
2
|
-
import { Zone } from '../types.service';
|
|
3
|
-
import { MatterportService } from './matterport.service';
|
|
4
|
-
import { ZoneService } from './models/zone.service';
|
|
5
|
-
import { ZoneChangeService } from './zoneChange.service';
|
|
6
|
-
import { BaseUserService } from './user.service';
|
|
7
|
-
import { ViewerService } from './viewer.service';
|
|
8
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class NavigatorService {
|
|
11
|
-
private matterportService;
|
|
12
|
-
private viewerService;
|
|
13
|
-
private zoneService;
|
|
14
|
-
private userService;
|
|
15
|
-
private zoneChangeService;
|
|
16
|
-
private router;
|
|
17
|
-
private route;
|
|
18
|
-
currentSweep: string | null;
|
|
19
|
-
targetSweep: string | null;
|
|
20
|
-
targetRotation: {
|
|
21
|
-
x: number;
|
|
22
|
-
y: number;
|
|
23
|
-
} | null;
|
|
24
|
-
currentModel3D: string | null;
|
|
25
|
-
currentSpaceID: string | null;
|
|
26
|
-
currentZone: Zone | null;
|
|
27
|
-
visitLastPosition: Map<string, {
|
|
28
|
-
sweep: string;
|
|
29
|
-
rotation: any;
|
|
30
|
-
}>;
|
|
31
|
-
floorToGo: Zone | null;
|
|
32
|
-
locationIDChange: Subject<string | null>;
|
|
33
|
-
navBarZoneIDChange: Subject<string | null>;
|
|
34
|
-
isVisibleChanged: Subject<boolean>;
|
|
35
|
-
currentNavBarLocationID: string;
|
|
36
|
-
currentNavBarZoneID: string;
|
|
37
|
-
zonesSortedForCurrentSweep: Zone[] | null;
|
|
38
|
-
audioZonesChange: Subject<Zone[]>;
|
|
39
|
-
zonesForUserForSpace: Zone[] | null;
|
|
40
|
-
currentAudioZones: Zone[];
|
|
41
|
-
audioZonesForUserForSpace: Zone[];
|
|
42
|
-
constructor(matterportService: MatterportService, viewerService: ViewerService, zoneService: ZoneService, userService: BaseUserService, zoneChangeService: ZoneChangeService, router: Router, route: ActivatedRoute);
|
|
43
|
-
getDeepLink(): string;
|
|
44
|
-
getLastPositionForModel(model3D: string): {
|
|
45
|
-
sweep: string;
|
|
46
|
-
rotation: any;
|
|
47
|
-
};
|
|
48
|
-
goToSweepWithRotation(sweep: string, rotation?: {
|
|
49
|
-
x: number;
|
|
50
|
-
y: number;
|
|
51
|
-
} | null): void;
|
|
52
|
-
goToFloor(floor: Zone): Promise<void>;
|
|
53
|
-
onViewerLoaded(): Promise<void>;
|
|
54
|
-
checkRotationForSweep(sweep: string): {
|
|
55
|
-
x: number;
|
|
56
|
-
y: number;
|
|
57
|
-
} | null;
|
|
58
|
-
setZonesForCurrentSweep(): void;
|
|
59
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavigatorService, never>;
|
|
60
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NavigatorService>;
|
|
61
|
-
}
|
|
1
|
+
import { Subject } from 'rxjs';
|
|
2
|
+
import { Zone } from '../types.service';
|
|
3
|
+
import { MatterportService } from './matterport.service';
|
|
4
|
+
import { ZoneService } from './models/zone.service';
|
|
5
|
+
import { ZoneChangeService } from './zoneChange.service';
|
|
6
|
+
import { BaseUserService } from './user.service';
|
|
7
|
+
import { ViewerService } from './viewer.service';
|
|
8
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class NavigatorService {
|
|
11
|
+
private matterportService;
|
|
12
|
+
private viewerService;
|
|
13
|
+
private zoneService;
|
|
14
|
+
private userService;
|
|
15
|
+
private zoneChangeService;
|
|
16
|
+
private router;
|
|
17
|
+
private route;
|
|
18
|
+
currentSweep: string | null;
|
|
19
|
+
targetSweep: string | null;
|
|
20
|
+
targetRotation: {
|
|
21
|
+
x: number;
|
|
22
|
+
y: number;
|
|
23
|
+
} | null;
|
|
24
|
+
currentModel3D: string | null;
|
|
25
|
+
currentSpaceID: string | null;
|
|
26
|
+
currentZone: Zone | null;
|
|
27
|
+
visitLastPosition: Map<string, {
|
|
28
|
+
sweep: string;
|
|
29
|
+
rotation: any;
|
|
30
|
+
}>;
|
|
31
|
+
floorToGo: Zone | null;
|
|
32
|
+
locationIDChange: Subject<string | null>;
|
|
33
|
+
navBarZoneIDChange: Subject<string | null>;
|
|
34
|
+
isVisibleChanged: Subject<boolean>;
|
|
35
|
+
currentNavBarLocationID: string;
|
|
36
|
+
currentNavBarZoneID: string;
|
|
37
|
+
zonesSortedForCurrentSweep: Zone[] | null;
|
|
38
|
+
audioZonesChange: Subject<Zone[]>;
|
|
39
|
+
zonesForUserForSpace: Zone[] | null;
|
|
40
|
+
currentAudioZones: Zone[];
|
|
41
|
+
audioZonesForUserForSpace: Zone[];
|
|
42
|
+
constructor(matterportService: MatterportService, viewerService: ViewerService, zoneService: ZoneService, userService: BaseUserService, zoneChangeService: ZoneChangeService, router: Router, route: ActivatedRoute);
|
|
43
|
+
getDeepLink(): string;
|
|
44
|
+
getLastPositionForModel(model3D: string): {
|
|
45
|
+
sweep: string;
|
|
46
|
+
rotation: any;
|
|
47
|
+
};
|
|
48
|
+
goToSweepWithRotation(sweep: string, rotation?: {
|
|
49
|
+
x: number;
|
|
50
|
+
y: number;
|
|
51
|
+
} | null): void;
|
|
52
|
+
goToFloor(floor: Zone): Promise<void>;
|
|
53
|
+
onViewerLoaded(): Promise<void>;
|
|
54
|
+
checkRotationForSweep(sweep: string): {
|
|
55
|
+
x: number;
|
|
56
|
+
y: number;
|
|
57
|
+
} | null;
|
|
58
|
+
setZonesForCurrentSweep(): void;
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavigatorService, never>;
|
|
60
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NavigatorService>;
|
|
61
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Equipment } from "../types.service";
|
|
2
|
-
export declare const deleteFromS3: (path: any) => Promise<void>;
|
|
3
|
-
export declare const uploadFileToS3: (path: string, file: File, objectId: string | null) => Promise<string>;
|
|
4
|
-
export declare const getSignedImageUrlForEquipment: (equip: Equipment) => Promise<string | null>;
|
|
5
|
-
export declare const getSignedImageUrlForProfile: (profile: any) => Promise<string | void>;
|
|
6
|
-
export declare const getSignedImageUrlForSpace: (space: any) => Promise<string | void>;
|
|
7
|
-
export declare const uploadBase64Image: (uri: string, objectId: string | null, path: string, friendlyFileName: string) => Promise<string>;
|
|
8
|
-
export declare const uploadBase64ImageWithRetry: (uri: string, objectId: string | null, path: string, friendlyFileName: string, retry: number) => Promise<string>;
|
|
9
|
-
export declare const removeAllFilesFromFolderS3: (folderPath: string) => Promise<any>;
|
|
10
|
-
export declare const listFilesInFolder: (folderPath: string) => Promise<any>;
|
|
11
|
-
export declare const getSignedFile: (path: any) => Promise<string | null>;
|
|
12
|
-
export declare const downloadFileAsObject: (path: any) => Promise<Object | void>;
|
|
13
|
-
export declare const getBufferForFileFromS3: (path: any) => Promise<ArrayBuffer>;
|
|
14
|
-
export declare const uploadJsonToS3: (path: string, json: string, filename: string) => Promise<string>;
|
|
1
|
+
import { Equipment } from "../types.service";
|
|
2
|
+
export declare const deleteFromS3: (path: any) => Promise<void>;
|
|
3
|
+
export declare const uploadFileToS3: (path: string, file: File, objectId: string | null) => Promise<string>;
|
|
4
|
+
export declare const getSignedImageUrlForEquipment: (equip: Equipment) => Promise<string | null>;
|
|
5
|
+
export declare const getSignedImageUrlForProfile: (profile: any) => Promise<string | void>;
|
|
6
|
+
export declare const getSignedImageUrlForSpace: (space: any) => Promise<string | void>;
|
|
7
|
+
export declare const uploadBase64Image: (uri: string, objectId: string | null, path: string, friendlyFileName: string) => Promise<string>;
|
|
8
|
+
export declare const uploadBase64ImageWithRetry: (uri: string, objectId: string | null, path: string, friendlyFileName: string, retry: number) => Promise<string>;
|
|
9
|
+
export declare const removeAllFilesFromFolderS3: (folderPath: string) => Promise<any>;
|
|
10
|
+
export declare const listFilesInFolder: (folderPath: string) => Promise<any>;
|
|
11
|
+
export declare const getSignedFile: (path: any) => Promise<string | null>;
|
|
12
|
+
export declare const downloadFileAsObject: (path: any) => Promise<Object | void>;
|
|
13
|
+
export declare const getBufferForFileFromS3: (path: any) => Promise<ArrayBuffer>;
|
|
14
|
+
export declare const uploadJsonToS3: (path: string, json: string, filename: string) => Promise<string>;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { FilterService } from "./filter.service";
|
|
2
|
-
import { EquipmentService } from "./models/equipment.service";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare enum SearchObjectType {
|
|
5
|
-
USER = "USER",
|
|
6
|
-
EQUIPMENT = "EQUIPMENT",
|
|
7
|
-
TICKET = "TICKET",
|
|
8
|
-
LOCATION = "LOCATION",
|
|
9
|
-
FEATURE = "FEATURE",
|
|
10
|
-
TEMPLATE = "TEMPLATE"
|
|
11
|
-
}
|
|
12
|
-
export declare class SearchService {
|
|
13
|
-
private filterService;
|
|
14
|
-
private equipmentService;
|
|
15
|
-
constructor(filterService: FilterService, equipmentService: EquipmentService);
|
|
16
|
-
searchForTermForTypeInMap(term: string, objectType: SearchObjectType, searchable: any): Promise<any>;
|
|
17
|
-
searchForTermForTypeInList(term: string, objectType: SearchObjectType, searchable: any[]): Promise<any[]>;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SearchService, never>;
|
|
19
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SearchService>;
|
|
20
|
-
}
|
|
1
|
+
import { FilterService } from "./filter.service";
|
|
2
|
+
import { EquipmentService } from "./models/equipment.service";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare enum SearchObjectType {
|
|
5
|
+
USER = "USER",
|
|
6
|
+
EQUIPMENT = "EQUIPMENT",
|
|
7
|
+
TICKET = "TICKET",
|
|
8
|
+
LOCATION = "LOCATION",
|
|
9
|
+
FEATURE = "FEATURE",
|
|
10
|
+
TEMPLATE = "TEMPLATE"
|
|
11
|
+
}
|
|
12
|
+
export declare class SearchService {
|
|
13
|
+
private filterService;
|
|
14
|
+
private equipmentService;
|
|
15
|
+
constructor(filterService: FilterService, equipmentService: EquipmentService);
|
|
16
|
+
searchForTermForTypeInMap(term: string, objectType: SearchObjectType, searchable: any): Promise<any>;
|
|
17
|
+
searchForTermForTypeInList(term: string, objectType: SearchObjectType, searchable: any[]): Promise<any[]>;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SearchService, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SearchService>;
|
|
20
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { NgbModal } from "@ng-bootstrap/ng-bootstrap";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class SupportService {
|
|
4
|
-
modalService: NgbModal;
|
|
5
|
-
modalReference: any;
|
|
6
|
-
constructor(modalService: NgbModal);
|
|
7
|
-
/**
|
|
8
|
-
* Open the support form
|
|
9
|
-
*/
|
|
10
|
-
openSupportForm(formComponent: any): void;
|
|
11
|
-
/**
|
|
12
|
-
* Send support request to jira
|
|
13
|
-
*/
|
|
14
|
-
sendSupport(data: any): Promise<string>;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SupportService, never>;
|
|
16
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SupportService>;
|
|
17
|
-
}
|
|
1
|
+
import { NgbModal } from "@ng-bootstrap/ng-bootstrap";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SupportService {
|
|
4
|
+
modalService: NgbModal;
|
|
5
|
+
modalReference: any;
|
|
6
|
+
constructor(modalService: NgbModal);
|
|
7
|
+
/**
|
|
8
|
+
* Open the support form
|
|
9
|
+
*/
|
|
10
|
+
openSupportForm(formComponent: any): void;
|
|
11
|
+
/**
|
|
12
|
+
* Send support request to jira
|
|
13
|
+
*/
|
|
14
|
+
sendSupport(data: any): Promise<string>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SupportService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SupportService>;
|
|
17
|
+
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { Comment, DbObjectType, Equipment, Feature, POI, PoiType, Ticket, CommentType } from '../types.service';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BaseTagService {
|
|
4
|
-
constructor();
|
|
5
|
-
getHtmlToInject(tagType: PoiType, object: DbObjectType): Promise<string>;
|
|
6
|
-
getUrlForSeeDetails(object: DbObjectType, tagType: PoiType): string;
|
|
7
|
-
prepareEquipmentHtml(equip: Equipment): Promise<string>;
|
|
8
|
-
prepareTicketHtml(ticket: Ticket): Promise<string>;
|
|
9
|
-
prepareFeatureHtml(feature: Feature): Promise<string>;
|
|
10
|
-
prepareMeasurementHtml(measure: Comment): Promise<string>;
|
|
11
|
-
prepareDeskHtml(feature: Feature): Promise<string>;
|
|
12
|
-
prepareIndicatorHtml(feature: Feature): Promise<string>;
|
|
13
|
-
getSignedTagIconSource(tagIconSrc: string): Promise<string | null>;
|
|
14
|
-
getIconTagImageForFeature(feature: DbObjectType, poi: POI): string;
|
|
15
|
-
getScriptForTag(object: any, tagType: PoiType): string;
|
|
16
|
-
getAnnexeForCommentTypeInFeature(feature: Feature, commentType: CommentType): string;
|
|
17
|
-
getBillboardMediaToEmbed(object: DbObjectType): {
|
|
18
|
-
comment: Comment;
|
|
19
|
-
tagDescription: string;
|
|
20
|
-
};
|
|
21
|
-
onActionDetailClick(url: string): void;
|
|
22
|
-
onActionAudioClick(audioCommentID: string): void;
|
|
23
|
-
onActionVideoClick(url: string): void;
|
|
24
|
-
onActionImageClick(imageCommentID: string): void;
|
|
25
|
-
onActionDocClick(url: string): void;
|
|
26
|
-
onActionYoutubeClick(url: string): void;
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseTagService, never>;
|
|
28
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BaseTagService>;
|
|
29
|
-
}
|
|
1
|
+
import { Comment, DbObjectType, Equipment, Feature, POI, PoiType, Ticket, CommentType } from '../types.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BaseTagService {
|
|
4
|
+
constructor();
|
|
5
|
+
getHtmlToInject(tagType: PoiType, object: DbObjectType): Promise<string>;
|
|
6
|
+
getUrlForSeeDetails(object: DbObjectType, tagType: PoiType): string;
|
|
7
|
+
prepareEquipmentHtml(equip: Equipment): Promise<string>;
|
|
8
|
+
prepareTicketHtml(ticket: Ticket): Promise<string>;
|
|
9
|
+
prepareFeatureHtml(feature: Feature): Promise<string>;
|
|
10
|
+
prepareMeasurementHtml(measure: Comment): Promise<string>;
|
|
11
|
+
prepareDeskHtml(feature: Feature): Promise<string>;
|
|
12
|
+
prepareIndicatorHtml(feature: Feature): Promise<string>;
|
|
13
|
+
getSignedTagIconSource(tagIconSrc: string): Promise<string | null>;
|
|
14
|
+
getIconTagImageForFeature(feature: DbObjectType, poi: POI): string;
|
|
15
|
+
getScriptForTag(object: any, tagType: PoiType): string;
|
|
16
|
+
getAnnexeForCommentTypeInFeature(feature: Feature, commentType: CommentType): string;
|
|
17
|
+
getBillboardMediaToEmbed(object: DbObjectType): {
|
|
18
|
+
comment: Comment;
|
|
19
|
+
tagDescription: string;
|
|
20
|
+
};
|
|
21
|
+
onActionDetailClick(url: string): void;
|
|
22
|
+
onActionAudioClick(audioCommentID: string): void;
|
|
23
|
+
onActionVideoClick(url: string): void;
|
|
24
|
+
onActionImageClick(imageCommentID: string): void;
|
|
25
|
+
onActionDocClick(url: string): void;
|
|
26
|
+
onActionYoutubeClick(url: string): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseTagService, never>;
|
|
28
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BaseTagService>;
|
|
29
|
+
}
|