@smarterplan/ngx-smarterplan-core 1.2.39 → 1.2.45
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 -364
- 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 -310
- 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 +13009 -12992
- package/fesm2015/smarterplan-ngx-smarterplan-core.mjs.map +1 -1
- package/fesm2020/smarterplan-ngx-smarterplan-core.mjs +12258 -12241
- 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 -74
- 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 -840
- 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 +1 -1
- package/public-api.d.ts +64 -64
- package/smarterplan-ngx-smarterplan-core.d.ts +5 -5
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Affectation } from "../../types.service";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class AffectationService {
|
|
4
|
-
API: any;
|
|
5
|
-
constructor(apiInjected: any);
|
|
6
|
-
getAffectationsFromTicketID(ticketID: string): Promise<Affectation[] | void>;
|
|
7
|
-
getAffectationsFromMissionID(missionID: string): Promise<Affectation[] | void>;
|
|
8
|
-
softDeleteAffectationByMissionByTicket(ticketID: string, missionID: string): Promise<Affectation[]>;
|
|
9
|
-
getAffecationsForTicketForMission(ticketID: string, missionID: string): Promise<Affectation[]>;
|
|
10
|
-
softDeleteAffectationByID(affectationID: string): Promise<Affectation>;
|
|
11
|
-
createAffectation(input: Affectation): Promise<Affectation>;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AffectationService, never>;
|
|
13
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AffectationService>;
|
|
14
|
-
}
|
|
1
|
+
import { Affectation } from "../../types.service";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AffectationService {
|
|
4
|
+
API: any;
|
|
5
|
+
constructor(apiInjected: any);
|
|
6
|
+
getAffectationsFromTicketID(ticketID: string): Promise<Affectation[] | void>;
|
|
7
|
+
getAffectationsFromMissionID(missionID: string): Promise<Affectation[] | void>;
|
|
8
|
+
softDeleteAffectationByMissionByTicket(ticketID: string, missionID: string): Promise<Affectation[]>;
|
|
9
|
+
getAffecationsForTicketForMission(ticketID: string, missionID: string): Promise<Affectation[]>;
|
|
10
|
+
softDeleteAffectationByID(affectationID: string): Promise<Affectation>;
|
|
11
|
+
createAffectation(input: Affectation): Promise<Affectation>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AffectationService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AffectationService>;
|
|
14
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { Equipment, Feature, POI, Ticket } from "../../types.service";
|
|
2
|
-
import { NavigationService } from "./navigation.service";
|
|
3
|
-
import { PoiService } from "./poi.service";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class BaseObjectService {
|
|
6
|
-
protected poiService: PoiService;
|
|
7
|
-
private navigationService;
|
|
8
|
-
constructor(poiService: PoiService, navigationService: NavigationService);
|
|
9
|
-
getModel3dAndSweep(object: Feature | Ticket | Equipment): Promise<{
|
|
10
|
-
model3D: string;
|
|
11
|
-
sweep: string;
|
|
12
|
-
rotation: {
|
|
13
|
-
x: number;
|
|
14
|
-
y: number;
|
|
15
|
-
};
|
|
16
|
-
} | void>;
|
|
17
|
-
updateIconForAllObjects(objects: Ticket[] | Feature[] | Equipment[], tagIcon: string): Promise<POI[]>;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseObjectService, never>;
|
|
19
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BaseObjectService>;
|
|
20
|
-
}
|
|
1
|
+
import { Equipment, Feature, POI, Ticket } from "../../types.service";
|
|
2
|
+
import { NavigationService } from "./navigation.service";
|
|
3
|
+
import { PoiService } from "./poi.service";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BaseObjectService {
|
|
6
|
+
protected poiService: PoiService;
|
|
7
|
+
private navigationService;
|
|
8
|
+
constructor(poiService: PoiService, navigationService: NavigationService);
|
|
9
|
+
getModel3dAndSweep(object: Feature | Ticket | Equipment): Promise<{
|
|
10
|
+
model3D: string;
|
|
11
|
+
sweep: string;
|
|
12
|
+
rotation: {
|
|
13
|
+
x: number;
|
|
14
|
+
y: number;
|
|
15
|
+
};
|
|
16
|
+
} | void>;
|
|
17
|
+
updateIconForAllObjects(objects: Ticket[] | Feature[] | Equipment[], tagIcon: string): Promise<POI[]>;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseObjectService, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BaseObjectService>;
|
|
20
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Capture } from "../../types.service";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class CaptureService {
|
|
4
|
-
API: any;
|
|
5
|
-
constructor(apiInjected: any);
|
|
6
|
-
getCapturesBySpace(spaceID: string): Promise<Capture[]>;
|
|
7
|
-
getCapture(captureID: string): Promise<Capture>;
|
|
8
|
-
deleteCapture(captureID: string): Promise<Capture>;
|
|
9
|
-
updateCapture(capture: any): Promise<Capture>;
|
|
10
|
-
createCapture(capture: Capture): Promise<Capture>;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CaptureService, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CaptureService>;
|
|
13
|
-
}
|
|
1
|
+
import { Capture } from "../../types.service";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CaptureService {
|
|
4
|
+
API: any;
|
|
5
|
+
constructor(apiInjected: any);
|
|
6
|
+
getCapturesBySpace(spaceID: string): Promise<Capture[]>;
|
|
7
|
+
getCapture(captureID: string): Promise<Capture>;
|
|
8
|
+
deleteCapture(captureID: string): Promise<Capture>;
|
|
9
|
+
updateCapture(capture: any): Promise<Capture>;
|
|
10
|
+
createCapture(capture: Capture): Promise<Capture>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaptureService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CaptureService>;
|
|
13
|
+
}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { Measurement, Feature, Comment } from "../../types.service";
|
|
2
|
-
import { PoiService } from "./poi.service";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CommentService {
|
|
5
|
-
private poiService;
|
|
6
|
-
API: any;
|
|
7
|
-
constructor(apiInjected: any, poiService: PoiService);
|
|
8
|
-
getCommentsFromTicketID(ticketID: string): Promise<Comment[]>;
|
|
9
|
-
getCommentsBySpaceID(spaceID: string): Promise<Comment[]>;
|
|
10
|
-
readCommentAsMeasurement(commentID: string): Promise<Measurement>;
|
|
11
|
-
/**
|
|
12
|
-
* CRUD
|
|
13
|
-
*
|
|
14
|
-
*/
|
|
15
|
-
getComment(commentID: string): Promise<Comment>;
|
|
16
|
-
deleteComment(commentID: string): Promise<Comment>;
|
|
17
|
-
createComment(comment: Comment): Promise<Comment>;
|
|
18
|
-
updateComment(input: any): Promise<Comment>;
|
|
19
|
-
uploadFileForComment(file: File, id?: string): Promise<string>;
|
|
20
|
-
/** Create a new comment with an existing Annexe */
|
|
21
|
-
createCommentWithFileURL(comment: Comment, url: string): Promise<Comment>;
|
|
22
|
-
createCommentWithFile(comment: Comment, file: File): Promise<Comment>;
|
|
23
|
-
setCommentAsCoverForFeature(commentID: string, feature: Feature): Promise<Comment>;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CommentService, never>;
|
|
25
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CommentService>;
|
|
26
|
-
}
|
|
1
|
+
import { Measurement, Feature, Comment } from "../../types.service";
|
|
2
|
+
import { PoiService } from "./poi.service";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CommentService {
|
|
5
|
+
private poiService;
|
|
6
|
+
API: any;
|
|
7
|
+
constructor(apiInjected: any, poiService: PoiService);
|
|
8
|
+
getCommentsFromTicketID(ticketID: string): Promise<Comment[]>;
|
|
9
|
+
getCommentsBySpaceID(spaceID: string): Promise<Comment[]>;
|
|
10
|
+
readCommentAsMeasurement(commentID: string): Promise<Measurement>;
|
|
11
|
+
/**
|
|
12
|
+
* CRUD
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
getComment(commentID: string): Promise<Comment>;
|
|
16
|
+
deleteComment(commentID: string): Promise<Comment>;
|
|
17
|
+
createComment(comment: Comment): Promise<Comment>;
|
|
18
|
+
updateComment(input: any): Promise<Comment>;
|
|
19
|
+
uploadFileForComment(file: File, id?: string): Promise<string>;
|
|
20
|
+
/** Create a new comment with an existing Annexe */
|
|
21
|
+
createCommentWithFileURL(comment: Comment, url: string): Promise<Comment>;
|
|
22
|
+
createCommentWithFile(comment: Comment, file: File): Promise<Comment>;
|
|
23
|
+
setCommentAsCoverForFeature(commentID: string, feature: Feature): Promise<Comment>;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommentService, never>;
|
|
25
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CommentService>;
|
|
26
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { Domain, DomainType } from "../../types.service";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class DomainService {
|
|
4
|
-
API: any;
|
|
5
|
-
constructor(apiInjected: any);
|
|
6
|
-
getGenericDomainsAndForOrganisation(organisationID: string): Promise<any | void>;
|
|
7
|
-
getGenericDomainsAndForOrgAndOrderedOrg(orgID: string, orderedOrgID?: string): Promise<Domain[]>;
|
|
8
|
-
getDomainsForOrgExcludingTypes(types: DomainType[], organisationID: string): Promise<Domain[]>;
|
|
9
|
-
getDomain(id: string): Promise<Domain>;
|
|
10
|
-
updateDomain(input: any): Promise<Domain>;
|
|
11
|
-
deleteDomain(id: string): Promise<Domain>;
|
|
12
|
-
getRootDomains(orgID: string): Promise<Domain[]>;
|
|
13
|
-
createDomain(input: Domain): Promise<Domain>;
|
|
14
|
-
getDomainsForOrgForType(type: DomainType, organisationID: string, orderedOrg?: string): Promise<Domain[]>;
|
|
15
|
-
getParentDomainsForOrgAndOrderedOrgForType(type: DomainType, organisationID: string, orderedOrg?: string): Promise<Domain[]>;
|
|
16
|
-
getDomainsForMissionsForOrg(orgID: string): Promise<Domain[]>;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DomainService, never>;
|
|
18
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DomainService>;
|
|
19
|
-
}
|
|
1
|
+
import { Domain, DomainType } from "../../types.service";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DomainService {
|
|
4
|
+
API: any;
|
|
5
|
+
constructor(apiInjected: any);
|
|
6
|
+
getGenericDomainsAndForOrganisation(organisationID: string): Promise<any | void>;
|
|
7
|
+
getGenericDomainsAndForOrgAndOrderedOrg(orgID: string, orderedOrgID?: string): Promise<Domain[]>;
|
|
8
|
+
getDomainsForOrgExcludingTypes(types: DomainType[], organisationID: string): Promise<Domain[]>;
|
|
9
|
+
getDomain(id: string): Promise<Domain>;
|
|
10
|
+
updateDomain(input: any): Promise<Domain>;
|
|
11
|
+
deleteDomain(id: string): Promise<Domain>;
|
|
12
|
+
getRootDomains(orgID: string): Promise<Domain[]>;
|
|
13
|
+
createDomain(input: Domain): Promise<Domain>;
|
|
14
|
+
getDomainsForOrgForType(type: DomainType, organisationID: string, orderedOrg?: string): Promise<Domain[]>;
|
|
15
|
+
getParentDomainsForOrgAndOrderedOrgForType(type: DomainType, organisationID: string, orderedOrg?: string): Promise<Domain[]>;
|
|
16
|
+
getDomainsForMissionsForOrg(orgID: string): Promise<Domain[]>;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DomainService, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DomainService>;
|
|
19
|
+
}
|
|
@@ -1,93 +1,93 @@
|
|
|
1
|
-
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
2
|
-
import { Subject } from 'rxjs';
|
|
3
|
-
import { MattertagData } from '../../mattertagData';
|
|
4
|
-
import { Note, Zone, Equipment, EquipmentDocument, Ticket, TypeNote, Mission, Operation, POI } 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 { TicketsService } from './ticket.service';
|
|
14
|
-
import { ZoneChangeService } from "../zoneChange.service";
|
|
15
|
-
import * as i0 from "@angular/core";
|
|
16
|
-
export declare class EquipmentService extends BaseObjectService {
|
|
17
|
-
private operationService;
|
|
18
|
-
private ticketsService;
|
|
19
|
-
private navigatorService;
|
|
20
|
-
private filterService;
|
|
21
|
-
private userService;
|
|
22
|
-
private viewerService;
|
|
23
|
-
private modalService;
|
|
24
|
-
private zoneChangeService;
|
|
25
|
-
private prefix;
|
|
26
|
-
equipmentsUpdated: Subject<{
|
|
27
|
-
space: Equipment[];
|
|
28
|
-
zone: Equipment[];
|
|
29
|
-
}>;
|
|
30
|
-
currentEquipments: {
|
|
31
|
-
space: Equipment[];
|
|
32
|
-
zonesMap: Map<string, Equipment[]>;
|
|
33
|
-
};
|
|
34
|
-
equipmentsTags: Subject<Equipment[]>;
|
|
35
|
-
zoneIDFilter: string;
|
|
36
|
-
currentZone: Zone;
|
|
37
|
-
currentSpaceID: string;
|
|
38
|
-
floorsPerSpace: Zone[];
|
|
39
|
-
/** Null means we do not apply a filter, empty array ([]), means we that we hide all equipment */
|
|
40
|
-
equipmentDomainFilter: string[];
|
|
41
|
-
updating: Subject<boolean>;
|
|
42
|
-
currentlyUpdating: boolean;
|
|
43
|
-
currentSweep: string;
|
|
44
|
-
deleteObservable: Subject<Equipment>;
|
|
45
|
-
createObservable: Subject<Equipment>;
|
|
46
|
-
updateObservable: Subject<Equipment>;
|
|
47
|
-
selectedFloor: Zone;
|
|
48
|
-
API: any;
|
|
49
|
-
awsKinesisAnalytics: any;
|
|
50
|
-
isMuseumUser: boolean;
|
|
51
|
-
private destroy$;
|
|
52
|
-
constructor(apiInjected: any, awsKinesisAnalyticsInjected: any, poiService: PoiService, navigationService: NavigationService, operationService: OperationService, ticketsService: TicketsService, navigatorService: NavigatorService, filterService: FilterService, userService: BaseUserService, viewerService: ViewerService, modalService: NgbModal, zoneChangeService: ZoneChangeService);
|
|
53
|
-
readEquipment(id: string): Promise<Equipment>;
|
|
54
|
-
createEquipment(equip: Equipment, imageFile: File, documentFile: File): Promise<Equipment | void>;
|
|
55
|
-
getSignedUrlsForEquipment(equip: Equipment): Promise<Equipment>;
|
|
56
|
-
getEquipmentsForTicket(ticket: Ticket): Promise<Equipment[]>;
|
|
57
|
-
getEquipmentsForSpace(spaceID: string): Promise<Equipment[]>;
|
|
58
|
-
mergeEquipmentsForSpaceWithNextTokenWithLimit(spaceID: string, limit: number, equipsToken: {
|
|
59
|
-
equips: Equipment[];
|
|
60
|
-
nextToken: string | null;
|
|
61
|
-
}): Promise<{
|
|
62
|
-
equips: Equipment[];
|
|
63
|
-
nextToken: string | null;
|
|
64
|
-
}>;
|
|
65
|
-
uploadImageForAllEquipments(equipments: Equipment[], imageFile: File): Promise<Equipment[]>;
|
|
66
|
-
uploadImage(equipment: Equipment, imageFile: File): Promise<Note>;
|
|
67
|
-
updateEquipment(equip: any, file?: File, noteType?: TypeNote): Promise<Equipment>;
|
|
68
|
-
getPrefixDoc(type: TypeNote): any;
|
|
69
|
-
uploadDocForAllEquipments(equipments: Equipment[], documentFile: File, type: TypeNote): Promise<any[]>;
|
|
70
|
-
uploadDoc(equipment: Equipment, documentFile: File, type: TypeNote): Promise<Note>;
|
|
71
|
-
deleteEquipment(equip: Equipment): Promise<Equipment>;
|
|
72
|
-
updateEquipmentLocation(equip: Equipment, tagData: MattertagData): Promise<POI>;
|
|
73
|
-
removeTicketFromEquipment(ticket: Ticket, equip: Equipment): Promise<Operation>;
|
|
74
|
-
initEquips(): Promise<void>;
|
|
75
|
-
getEquipmentsForCurrentUserForSpace(spaceID: any, missions: Mission[]): Promise<Equipment[]>;
|
|
76
|
-
updateIconForAllEquipmentsInSpace(tagIcon: string, spaceID: string, domainID?: string): Promise<{
|
|
77
|
-
equips: Equipment[];
|
|
78
|
-
pois: POI[];
|
|
79
|
-
}>;
|
|
80
|
-
/** Return true if the current user has archived this equipment */
|
|
81
|
-
isArchived(equipment: Equipment): boolean;
|
|
82
|
-
setArchived(equipment: Equipment, archived: boolean): Promise<Equipment>;
|
|
83
|
-
deleteFile(document_: EquipmentDocument): Promise<void>;
|
|
84
|
-
navigateToEquipmentIn3D(equipment: Equipment, forceSwitchVisit?: boolean): Promise<void>;
|
|
85
|
-
updateEquipsForZone(): Promise<void>;
|
|
86
|
-
updateDueToDelete(deletedEquipment: Equipment): void;
|
|
87
|
-
updateDueToCreate(createdEquip: Equipment): void;
|
|
88
|
-
updateDueToEquipUpdated(updatedEquip: Equipment): void;
|
|
89
|
-
initSubscriptions(): void;
|
|
90
|
-
unsubscribe(): void;
|
|
91
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EquipmentService, never>;
|
|
92
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<EquipmentService>;
|
|
93
|
-
}
|
|
1
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import { MattertagData } from '../../mattertagData';
|
|
4
|
+
import { Note, Zone, Equipment, EquipmentDocument, Ticket, TypeNote, Mission, Operation, POI } 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 { TicketsService } from './ticket.service';
|
|
14
|
+
import { ZoneChangeService } from "../zoneChange.service";
|
|
15
|
+
import * as i0 from "@angular/core";
|
|
16
|
+
export declare class EquipmentService extends BaseObjectService {
|
|
17
|
+
private operationService;
|
|
18
|
+
private ticketsService;
|
|
19
|
+
private navigatorService;
|
|
20
|
+
private filterService;
|
|
21
|
+
private userService;
|
|
22
|
+
private viewerService;
|
|
23
|
+
private modalService;
|
|
24
|
+
private zoneChangeService;
|
|
25
|
+
private prefix;
|
|
26
|
+
equipmentsUpdated: Subject<{
|
|
27
|
+
space: Equipment[];
|
|
28
|
+
zone: Equipment[];
|
|
29
|
+
}>;
|
|
30
|
+
currentEquipments: {
|
|
31
|
+
space: Equipment[];
|
|
32
|
+
zonesMap: Map<string, Equipment[]>;
|
|
33
|
+
};
|
|
34
|
+
equipmentsTags: Subject<Equipment[]>;
|
|
35
|
+
zoneIDFilter: string;
|
|
36
|
+
currentZone: Zone;
|
|
37
|
+
currentSpaceID: string;
|
|
38
|
+
floorsPerSpace: Zone[];
|
|
39
|
+
/** Null means we do not apply a filter, empty array ([]), means we that we hide all equipment */
|
|
40
|
+
equipmentDomainFilter: string[];
|
|
41
|
+
updating: Subject<boolean>;
|
|
42
|
+
currentlyUpdating: boolean;
|
|
43
|
+
currentSweep: string;
|
|
44
|
+
deleteObservable: Subject<Equipment>;
|
|
45
|
+
createObservable: Subject<Equipment>;
|
|
46
|
+
updateObservable: Subject<Equipment>;
|
|
47
|
+
selectedFloor: Zone;
|
|
48
|
+
API: any;
|
|
49
|
+
awsKinesisAnalytics: any;
|
|
50
|
+
isMuseumUser: boolean;
|
|
51
|
+
private destroy$;
|
|
52
|
+
constructor(apiInjected: any, awsKinesisAnalyticsInjected: any, poiService: PoiService, navigationService: NavigationService, operationService: OperationService, ticketsService: TicketsService, navigatorService: NavigatorService, filterService: FilterService, userService: BaseUserService, viewerService: ViewerService, modalService: NgbModal, zoneChangeService: ZoneChangeService);
|
|
53
|
+
readEquipment(id: string): Promise<Equipment>;
|
|
54
|
+
createEquipment(equip: Equipment, imageFile: File, documentFile: File): Promise<Equipment | void>;
|
|
55
|
+
getSignedUrlsForEquipment(equip: Equipment): Promise<Equipment>;
|
|
56
|
+
getEquipmentsForTicket(ticket: Ticket): Promise<Equipment[]>;
|
|
57
|
+
getEquipmentsForSpace(spaceID: string): Promise<Equipment[]>;
|
|
58
|
+
mergeEquipmentsForSpaceWithNextTokenWithLimit(spaceID: string, limit: number, equipsToken: {
|
|
59
|
+
equips: Equipment[];
|
|
60
|
+
nextToken: string | null;
|
|
61
|
+
}): Promise<{
|
|
62
|
+
equips: Equipment[];
|
|
63
|
+
nextToken: string | null;
|
|
64
|
+
}>;
|
|
65
|
+
uploadImageForAllEquipments(equipments: Equipment[], imageFile: File): Promise<Equipment[]>;
|
|
66
|
+
uploadImage(equipment: Equipment, imageFile: File): Promise<Note>;
|
|
67
|
+
updateEquipment(equip: any, file?: File, noteType?: TypeNote): Promise<Equipment>;
|
|
68
|
+
getPrefixDoc(type: TypeNote): any;
|
|
69
|
+
uploadDocForAllEquipments(equipments: Equipment[], documentFile: File, type: TypeNote): Promise<any[]>;
|
|
70
|
+
uploadDoc(equipment: Equipment, documentFile: File, type: TypeNote): Promise<Note>;
|
|
71
|
+
deleteEquipment(equip: Equipment): Promise<Equipment>;
|
|
72
|
+
updateEquipmentLocation(equip: Equipment, tagData: MattertagData): Promise<POI>;
|
|
73
|
+
removeTicketFromEquipment(ticket: Ticket, equip: Equipment): Promise<Operation>;
|
|
74
|
+
initEquips(): Promise<void>;
|
|
75
|
+
getEquipmentsForCurrentUserForSpace(spaceID: any, missions: Mission[]): Promise<Equipment[]>;
|
|
76
|
+
updateIconForAllEquipmentsInSpace(tagIcon: string, spaceID: string, domainID?: string): Promise<{
|
|
77
|
+
equips: Equipment[];
|
|
78
|
+
pois: POI[];
|
|
79
|
+
}>;
|
|
80
|
+
/** Return true if the current user has archived this equipment */
|
|
81
|
+
isArchived(equipment: Equipment): boolean;
|
|
82
|
+
setArchived(equipment: Equipment, archived: boolean): Promise<Equipment>;
|
|
83
|
+
deleteFile(document_: EquipmentDocument): Promise<void>;
|
|
84
|
+
navigateToEquipmentIn3D(equipment: Equipment, forceSwitchVisit?: boolean): Promise<void>;
|
|
85
|
+
updateEquipsForZone(): Promise<void>;
|
|
86
|
+
updateDueToDelete(deletedEquipment: Equipment): void;
|
|
87
|
+
updateDueToCreate(createdEquip: Equipment): void;
|
|
88
|
+
updateDueToEquipUpdated(updatedEquip: Equipment): void;
|
|
89
|
+
initSubscriptions(): void;
|
|
90
|
+
unsubscribe(): void;
|
|
91
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EquipmentService, never>;
|
|
92
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EquipmentService>;
|
|
93
|
+
}
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import { BaseUserService } from "../user.service";
|
|
2
|
-
import { Event } from "../../types.service";
|
|
3
|
-
import { TranslateService } from "@ngx-translate/core";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class EventService {
|
|
6
|
-
private userService;
|
|
7
|
-
private translate;
|
|
8
|
-
translationEventSubcriptions: {};
|
|
9
|
-
API: any;
|
|
10
|
-
constructor(apiInjected: any, userService: BaseUserService, translate: TranslateService);
|
|
11
|
-
/**
|
|
12
|
-
* CRUD
|
|
13
|
-
* */
|
|
14
|
-
createEvent(input: Event): Promise<Event>;
|
|
15
|
-
updateEvent(input: any): Promise<Event>;
|
|
16
|
-
deleteEvent(eventID: string): Promise<Event>;
|
|
17
|
-
getEvent(eventID: string): Promise<Event>;
|
|
18
|
-
/**
|
|
19
|
-
* Custom get by GSI
|
|
20
|
-
* */
|
|
21
|
-
getEventsByTicketID(ticketID: string): Promise<Event[]>;
|
|
22
|
-
getEventsByTicketIDSortedByDateDesc(ticketID: string): Promise<Event[]>;
|
|
23
|
-
getEventsByGroup(group: string): Promise<Event[]>;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* SORTING
|
|
27
|
-
*/
|
|
28
|
-
sortEventsByCreatedAtDateDesc(events: Event[]): Event[];
|
|
29
|
-
sortEventsByCreatedAtDateAsc(events: Event[]): Event[];
|
|
30
|
-
/**
|
|
31
|
-
* TRANSLATIONS
|
|
32
|
-
* */
|
|
33
|
-
/** Apply a translation to a ticket event, with the current language */
|
|
34
|
-
applyTicketEventTranslate(event: Event): Promise<void>;
|
|
35
|
-
/** Unsubscribe a ticket event for his translation */
|
|
36
|
-
ticketEventSubscribeTranslation(event: Event): void;
|
|
37
|
-
/** Unsubscribe a ticket event for his translation */
|
|
38
|
-
ticketEventUnsubscribeTranslation(id: string): void;
|
|
39
|
-
/** Generate the translated metadata of an event, according to the current language */
|
|
40
|
-
getTranslatedMetaEvent(event: Event): Promise<any>;
|
|
41
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EventService, never>;
|
|
42
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<EventService>;
|
|
43
|
-
}
|
|
1
|
+
import { BaseUserService } from "../user.service";
|
|
2
|
+
import { Event } from "../../types.service";
|
|
3
|
+
import { TranslateService } from "@ngx-translate/core";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class EventService {
|
|
6
|
+
private userService;
|
|
7
|
+
private translate;
|
|
8
|
+
translationEventSubcriptions: {};
|
|
9
|
+
API: any;
|
|
10
|
+
constructor(apiInjected: any, userService: BaseUserService, translate: TranslateService);
|
|
11
|
+
/**
|
|
12
|
+
* CRUD
|
|
13
|
+
* */
|
|
14
|
+
createEvent(input: Event): Promise<Event>;
|
|
15
|
+
updateEvent(input: any): Promise<Event>;
|
|
16
|
+
deleteEvent(eventID: string): Promise<Event>;
|
|
17
|
+
getEvent(eventID: string): Promise<Event>;
|
|
18
|
+
/**
|
|
19
|
+
* Custom get by GSI
|
|
20
|
+
* */
|
|
21
|
+
getEventsByTicketID(ticketID: string): Promise<Event[]>;
|
|
22
|
+
getEventsByTicketIDSortedByDateDesc(ticketID: string): Promise<Event[]>;
|
|
23
|
+
getEventsByGroup(group: string): Promise<Event[]>;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* SORTING
|
|
27
|
+
*/
|
|
28
|
+
sortEventsByCreatedAtDateDesc(events: Event[]): Event[];
|
|
29
|
+
sortEventsByCreatedAtDateAsc(events: Event[]): Event[];
|
|
30
|
+
/**
|
|
31
|
+
* TRANSLATIONS
|
|
32
|
+
* */
|
|
33
|
+
/** Apply a translation to a ticket event, with the current language */
|
|
34
|
+
applyTicketEventTranslate(event: Event): Promise<void>;
|
|
35
|
+
/** Unsubscribe a ticket event for his translation */
|
|
36
|
+
ticketEventSubscribeTranslation(event: Event): void;
|
|
37
|
+
/** Unsubscribe a ticket event for his translation */
|
|
38
|
+
ticketEventUnsubscribeTranslation(id: string): void;
|
|
39
|
+
/** Generate the translated metadata of an event, according to the current language */
|
|
40
|
+
getTranslatedMetaEvent(event: Event): Promise<any>;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EventService, never>;
|
|
42
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EventService>;
|
|
43
|
+
}
|
|
@@ -1,74 +1,75 @@
|
|
|
1
|
-
import { Subject } from "rxjs";
|
|
2
|
-
import { MattertagData } from "../../mattertagData";
|
|
3
|
-
import { Feature, Hashtag, POI, Event } from "../../types.service";
|
|
4
|
-
import { FilterService } from "../filter.service";
|
|
5
|
-
import { NavigatorService } from "../navigator.service";
|
|
6
|
-
import { BaseUserService } from "../user.service";
|
|
7
|
-
import { BaseObjectService } from "./base-object.service";
|
|
8
|
-
import { CommentService } from "./comment.service";
|
|
9
|
-
import { HashtagService } from "./hashtag.service";
|
|
10
|
-
import { NavigationService } from "./navigation.service";
|
|
11
|
-
import { PoiService } from "./poi.service";
|
|
12
|
-
import { ZoneChangeService } from "../zoneChange.service";
|
|
13
|
-
import * as i0 from "@angular/core";
|
|
14
|
-
export declare class FeatureService extends BaseObjectService {
|
|
15
|
-
private navigatorService;
|
|
16
|
-
private filterService;
|
|
17
|
-
private commentService;
|
|
18
|
-
private userService;
|
|
19
|
-
private hashtagService;
|
|
20
|
-
private zoneChangeService;
|
|
21
|
-
API: any;
|
|
22
|
-
featureUpdated: Subject<{
|
|
23
|
-
space: Feature[];
|
|
24
|
-
zone: Feature[];
|
|
25
|
-
}>;
|
|
26
|
-
currentFeatures: {
|
|
27
|
-
space: Feature[];
|
|
28
|
-
zone: Feature[];
|
|
29
|
-
};
|
|
30
|
-
featureTags: Subject<Feature[]>;
|
|
31
|
-
featureFiltered: Feature[];
|
|
32
|
-
updateDone: Subject<boolean>;
|
|
33
|
-
zoneIDFilter: string;
|
|
34
|
-
currentSpaceID: string;
|
|
35
|
-
updating: Subject<boolean>;
|
|
36
|
-
isUpdating: boolean;
|
|
37
|
-
featureDomainFilter: string[];
|
|
38
|
-
deskDomainFilter: string[];
|
|
39
|
-
deskBookingsUpdated: Subject<Event[]>;
|
|
40
|
-
currentHashtags: Hashtag[];
|
|
41
|
-
createObservable: Subject<Feature>;
|
|
42
|
-
deleteObservable: Subject<Feature>;
|
|
43
|
-
constructor(apiInjected: any, navigatorService: NavigatorService, filterService: FilterService, poiService: PoiService, commentService: CommentService, userService: BaseUserService, navigationService: NavigationService, hashtagService: HashtagService, zoneChangeService: ZoneChangeService);
|
|
44
|
-
createFeature(feature: Feature): Promise<Feature>;
|
|
45
|
-
deleteFeature(feature: Feature): Promise<Feature>;
|
|
46
|
-
updateFeature(feature: any): Promise<Feature>;
|
|
47
|
-
getFeature(id: string): Promise<Feature>;
|
|
48
|
-
initFeatures(): Promise<void>;
|
|
49
|
-
getFeaturesForSpace(spaceID: string, keepArchived?: boolean): Promise<Feature[]>;
|
|
50
|
-
getFeaturesBySpaceWithoutFiltering(spaceID: string): Promise<Feature[]>;
|
|
51
|
-
isBookingPlace(feature: Feature): void;
|
|
52
|
-
setCoverImage(feature: Feature): void;
|
|
53
|
-
updateFeatureLocation(feature: Feature, tagData: MattertagData, spaceID: string): Promise<POI>;
|
|
54
|
-
setImages(feature: Feature): void;
|
|
55
|
-
setVideos(feature: Feature): void;
|
|
56
|
-
setDocuments(feature: Feature): void;
|
|
57
|
-
setAudio(feature: Feature): void;
|
|
58
|
-
setExternalLinks(feature: Feature): void;
|
|
59
|
-
setEmbeds(feature: Feature): void;
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
static
|
|
74
|
-
|
|
1
|
+
import { Subject } from "rxjs";
|
|
2
|
+
import { MattertagData } from "../../mattertagData";
|
|
3
|
+
import { Feature, Hashtag, POI, Event } from "../../types.service";
|
|
4
|
+
import { FilterService } from "../filter.service";
|
|
5
|
+
import { NavigatorService } from "../navigator.service";
|
|
6
|
+
import { BaseUserService } from "../user.service";
|
|
7
|
+
import { BaseObjectService } from "./base-object.service";
|
|
8
|
+
import { CommentService } from "./comment.service";
|
|
9
|
+
import { HashtagService } from "./hashtag.service";
|
|
10
|
+
import { NavigationService } from "./navigation.service";
|
|
11
|
+
import { PoiService } from "./poi.service";
|
|
12
|
+
import { ZoneChangeService } from "../zoneChange.service";
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
14
|
+
export declare class FeatureService extends BaseObjectService {
|
|
15
|
+
private navigatorService;
|
|
16
|
+
private filterService;
|
|
17
|
+
private commentService;
|
|
18
|
+
private userService;
|
|
19
|
+
private hashtagService;
|
|
20
|
+
private zoneChangeService;
|
|
21
|
+
API: any;
|
|
22
|
+
featureUpdated: Subject<{
|
|
23
|
+
space: Feature[];
|
|
24
|
+
zone: Feature[];
|
|
25
|
+
}>;
|
|
26
|
+
currentFeatures: {
|
|
27
|
+
space: Feature[];
|
|
28
|
+
zone: Feature[];
|
|
29
|
+
};
|
|
30
|
+
featureTags: Subject<Feature[]>;
|
|
31
|
+
featureFiltered: Feature[];
|
|
32
|
+
updateDone: Subject<boolean>;
|
|
33
|
+
zoneIDFilter: string;
|
|
34
|
+
currentSpaceID: string;
|
|
35
|
+
updating: Subject<boolean>;
|
|
36
|
+
isUpdating: boolean;
|
|
37
|
+
featureDomainFilter: string[];
|
|
38
|
+
deskDomainFilter: string[];
|
|
39
|
+
deskBookingsUpdated: Subject<Event[]>;
|
|
40
|
+
currentHashtags: Hashtag[];
|
|
41
|
+
createObservable: Subject<Feature>;
|
|
42
|
+
deleteObservable: Subject<Feature>;
|
|
43
|
+
constructor(apiInjected: any, navigatorService: NavigatorService, filterService: FilterService, poiService: PoiService, commentService: CommentService, userService: BaseUserService, navigationService: NavigationService, hashtagService: HashtagService, zoneChangeService: ZoneChangeService);
|
|
44
|
+
createFeature(feature: Feature): Promise<Feature>;
|
|
45
|
+
deleteFeature(feature: Feature): Promise<Feature>;
|
|
46
|
+
updateFeature(feature: any): Promise<Feature>;
|
|
47
|
+
getFeature(id: string): Promise<Feature>;
|
|
48
|
+
initFeatures(): Promise<void>;
|
|
49
|
+
getFeaturesForSpace(spaceID: string, keepArchived?: boolean): Promise<Feature[]>;
|
|
50
|
+
getFeaturesBySpaceWithoutFiltering(spaceID: string): Promise<Feature[]>;
|
|
51
|
+
isBookingPlace(feature: Feature): void;
|
|
52
|
+
setCoverImage(feature: Feature): void;
|
|
53
|
+
updateFeatureLocation(feature: Feature, tagData: MattertagData, spaceID: string): Promise<POI>;
|
|
54
|
+
setImages(feature: Feature): void;
|
|
55
|
+
setVideos(feature: Feature): void;
|
|
56
|
+
setDocuments(feature: Feature): void;
|
|
57
|
+
setAudio(feature: Feature): void;
|
|
58
|
+
setExternalLinks(feature: Feature): void;
|
|
59
|
+
setEmbeds(feature: Feature): void;
|
|
60
|
+
setIframes(feature: Feature): void;
|
|
61
|
+
getFirstFeatureForSpace(spaceID: string): Promise<Feature>;
|
|
62
|
+
updateIconForAllFeaturesInSpace(tagIcon: string, spaceID: string, categoryID?: string): Promise<{
|
|
63
|
+
features: Feature[];
|
|
64
|
+
pois: POI[];
|
|
65
|
+
}>;
|
|
66
|
+
getCreatedIndicesForFeaturesInSpace(spaceID: string): Promise<number[]>;
|
|
67
|
+
getDesksForSpace(spaceID: string): Promise<Feature[]>;
|
|
68
|
+
/** Return true if the current user has archived this feature */
|
|
69
|
+
isArchived(feature: Feature): boolean;
|
|
70
|
+
setArchived(feature: Feature, archived: boolean): Promise<Feature>;
|
|
71
|
+
updateDueToCreate(feature: Feature): Promise<void>;
|
|
72
|
+
updateDueToDelete(deletedFeature: Feature): Promise<void>;
|
|
73
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FeatureService, never>;
|
|
74
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FeatureService>;
|
|
75
|
+
}
|