@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,37 +1,37 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare enum CacheKeys {
|
|
3
|
-
INSTRUCTIONS_SHOWN = "instructions_shown"
|
|
4
|
-
}
|
|
5
|
-
export declare class AmplifyCacheService {
|
|
6
|
-
constructor();
|
|
7
|
-
/**
|
|
8
|
-
* Puts item in cache under a key
|
|
9
|
-
* @param key : string. Key for lookup.
|
|
10
|
-
* @param value : Iem to put (number, string, boolean, array or object)
|
|
11
|
-
* @param expires : number. Time in future in milliseconds Date.getTime()
|
|
12
|
-
* @param priority : number from 0 to 5. the cached item with the higher number will be expired first.
|
|
13
|
-
*/
|
|
14
|
-
putInCache(key: string, value: any, expires?: number, priority?: number): void;
|
|
15
|
-
/**
|
|
16
|
-
* Retrieves an item from the cache. It will return null if the item doesn’t exist or it has expired.
|
|
17
|
-
* @param key string. Lookup key.
|
|
18
|
-
* @returns any or null if nothing found.
|
|
19
|
-
*/
|
|
20
|
-
getFromCache(key: string): any;
|
|
21
|
-
/**
|
|
22
|
-
* Removes item from cache.
|
|
23
|
-
* @param key string. Key to remove.
|
|
24
|
-
*/
|
|
25
|
-
removeFromCache(key: string): void;
|
|
26
|
-
/**
|
|
27
|
-
* Removes all of the items in the cache.
|
|
28
|
-
*/
|
|
29
|
-
clearCache(): void;
|
|
30
|
-
/**
|
|
31
|
-
* Returns all of the keys available in the cache.
|
|
32
|
-
* @returns string[]
|
|
33
|
-
*/
|
|
34
|
-
getAllKeys(): string[] | Promise<string[]>;
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AmplifyCacheService, never>;
|
|
36
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AmplifyCacheService>;
|
|
37
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare enum CacheKeys {
|
|
3
|
+
INSTRUCTIONS_SHOWN = "instructions_shown"
|
|
4
|
+
}
|
|
5
|
+
export declare class AmplifyCacheService {
|
|
6
|
+
constructor();
|
|
7
|
+
/**
|
|
8
|
+
* Puts item in cache under a key
|
|
9
|
+
* @param key : string. Key for lookup.
|
|
10
|
+
* @param value : Iem to put (number, string, boolean, array or object)
|
|
11
|
+
* @param expires : number. Time in future in milliseconds Date.getTime()
|
|
12
|
+
* @param priority : number from 0 to 5. the cached item with the higher number will be expired first.
|
|
13
|
+
*/
|
|
14
|
+
putInCache(key: string, value: any, expires?: number, priority?: number): void;
|
|
15
|
+
/**
|
|
16
|
+
* Retrieves an item from the cache. It will return null if the item doesn’t exist or it has expired.
|
|
17
|
+
* @param key string. Lookup key.
|
|
18
|
+
* @returns any or null if nothing found.
|
|
19
|
+
*/
|
|
20
|
+
getFromCache(key: string): any;
|
|
21
|
+
/**
|
|
22
|
+
* Removes item from cache.
|
|
23
|
+
* @param key string. Key to remove.
|
|
24
|
+
*/
|
|
25
|
+
removeFromCache(key: string): void;
|
|
26
|
+
/**
|
|
27
|
+
* Removes all of the items in the cache.
|
|
28
|
+
*/
|
|
29
|
+
clearCache(): void;
|
|
30
|
+
/**
|
|
31
|
+
* Returns all of the keys available in the cache.
|
|
32
|
+
* @returns string[]
|
|
33
|
+
*/
|
|
34
|
+
getAllKeys(): string[] | Promise<string[]>;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AmplifyCacheService, never>;
|
|
36
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AmplifyCacheService>;
|
|
37
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class BaseLateralTabService {
|
|
3
|
-
activeTab: string;
|
|
4
|
-
firstLoad: boolean;
|
|
5
|
-
constructor();
|
|
6
|
-
storeTabHistory(tab: string): void;
|
|
7
|
-
getTabHistory(): string;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseLateralTabService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BaseLateralTabService>;
|
|
10
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class BaseLateralTabService {
|
|
3
|
+
activeTab: string;
|
|
4
|
+
firstLoad: boolean;
|
|
5
|
+
constructor();
|
|
6
|
+
storeTabHistory(tab: string): void;
|
|
7
|
+
getTabHistory(): string;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseLateralTabService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BaseLateralTabService>;
|
|
10
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Subject } from 'rxjs';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BaseVisibilityService {
|
|
4
|
-
detailShowing: Subject<boolean>;
|
|
5
|
-
isChangePositionVisible: Subject<boolean>;
|
|
6
|
-
constructor();
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseVisibilityService, never>;
|
|
8
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BaseVisibilityService>;
|
|
9
|
-
}
|
|
1
|
+
import { Subject } from 'rxjs';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BaseVisibilityService {
|
|
4
|
+
detailShowing: Subject<boolean>;
|
|
5
|
+
isChangePositionVisible: Subject<boolean>;
|
|
6
|
+
constructor();
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseVisibilityService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BaseVisibilityService>;
|
|
9
|
+
}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { Router } from "@angular/router";
|
|
2
|
-
import { NgbModal } from "@ng-bootstrap/ng-bootstrap";
|
|
3
|
-
import { Subject } from "rxjs";
|
|
4
|
-
import { MediaContent } from "../types.service";
|
|
5
|
-
import { CommentService } from "./models/comment.service";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class ContentService {
|
|
8
|
-
modalService: NgbModal;
|
|
9
|
-
private router;
|
|
10
|
-
private commentService;
|
|
11
|
-
modalReference: any;
|
|
12
|
-
currentAudio: HTMLAudioElement;
|
|
13
|
-
closeModal: Subject<boolean>;
|
|
14
|
-
nextSlide: Subject<string>;
|
|
15
|
-
constructor(modalService: NgbModal, router: Router, commentService: CommentService);
|
|
16
|
-
presentVideoModal(video: MediaContent, videoComponent: any, modalDialogClass: string): void;
|
|
17
|
-
presentAudioModal(audioCommentID: string, audioComponent: any, modalDialogClass: string): Promise<void>;
|
|
18
|
-
presentImageCarouselModal(featureID: string, carouselComponent: any, modalDialogClass: string, fromTag?: boolean, selectedImageIndex?: string): void;
|
|
19
|
-
presentPdfModal(url: string, pdfComponent: any, modalDialogClass: string): void;
|
|
20
|
-
presentMuseumImageCarouselModal(carouselComponent: any, modalDialogClass: string, fromTag?: boolean, selectedImageIndex?: string, images?: any[], commentImageID?: string): void;
|
|
21
|
-
toogleAudioElement(url: string): void;
|
|
22
|
-
showFullscreenCarouselForFeature(featureID: string, fromTag?: boolean): void;
|
|
23
|
-
emitCloseModal(): void;
|
|
24
|
-
forceCloseCurrentModal(): void;
|
|
25
|
-
moveToSlide(slide: string): void;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ContentService, never>;
|
|
27
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ContentService>;
|
|
28
|
-
}
|
|
1
|
+
import { Router } from "@angular/router";
|
|
2
|
+
import { NgbModal } from "@ng-bootstrap/ng-bootstrap";
|
|
3
|
+
import { Subject } from "rxjs";
|
|
4
|
+
import { MediaContent } from "../types.service";
|
|
5
|
+
import { CommentService } from "./models/comment.service";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ContentService {
|
|
8
|
+
modalService: NgbModal;
|
|
9
|
+
private router;
|
|
10
|
+
private commentService;
|
|
11
|
+
modalReference: any;
|
|
12
|
+
currentAudio: HTMLAudioElement;
|
|
13
|
+
closeModal: Subject<boolean>;
|
|
14
|
+
nextSlide: Subject<string>;
|
|
15
|
+
constructor(modalService: NgbModal, router: Router, commentService: CommentService);
|
|
16
|
+
presentVideoModal(video: MediaContent, videoComponent: any, modalDialogClass: string): void;
|
|
17
|
+
presentAudioModal(audioCommentID: string, audioComponent: any, modalDialogClass: string): Promise<void>;
|
|
18
|
+
presentImageCarouselModal(featureID: string, carouselComponent: any, modalDialogClass: string, fromTag?: boolean, selectedImageIndex?: string): void;
|
|
19
|
+
presentPdfModal(url: string, pdfComponent: any, modalDialogClass: string): void;
|
|
20
|
+
presentMuseumImageCarouselModal(carouselComponent: any, modalDialogClass: string, fromTag?: boolean, selectedImageIndex?: string, images?: any[], commentImageID?: string): void;
|
|
21
|
+
toogleAudioElement(url: string): void;
|
|
22
|
+
showFullscreenCarouselForFeature(featureID: string, fromTag?: boolean): void;
|
|
23
|
+
emitCloseModal(): void;
|
|
24
|
+
forceCloseCurrentModal(): void;
|
|
25
|
+
moveToSlide(slide: string): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContentService, never>;
|
|
27
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ContentService>;
|
|
28
|
+
}
|
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
import { Subscription } from "rxjs";
|
|
2
|
-
import { Zone, Equipment, LevelStatus, Measurement, Mission, Organisation, PoiType, ProfileEntity, RoleStatus, Space, Ticket, Feature, Comment, Object3D } from "../types.service";
|
|
3
|
-
import { PoiService } from "./models/poi.service";
|
|
4
|
-
import { ZoneService } from "./models/zone.service";
|
|
5
|
-
import { BaseUserService } from "./user.service";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
declare enum FilterType {
|
|
8
|
-
DOMAIN = "DOMAIN",
|
|
9
|
-
LEVEL = "LEVEL",
|
|
10
|
-
ROLE = "ROLE",
|
|
11
|
-
ZONE = "ZONE",
|
|
12
|
-
SPACE = "SPACE",
|
|
13
|
-
HASHTAG = "HASHTAG"
|
|
14
|
-
}
|
|
15
|
-
export declare class FilterService {
|
|
16
|
-
private userService;
|
|
17
|
-
private zoneService;
|
|
18
|
-
private poiService;
|
|
19
|
-
private updateDateFilter;
|
|
20
|
-
currentDateFilter: Date[];
|
|
21
|
-
constructor(userService: BaseUserService, zoneService: ZoneService, poiService: PoiService);
|
|
22
|
-
filterTicketsByDomain(ticketsToFilter: Ticket[], domain: string): Ticket[];
|
|
23
|
-
filterObjectsByLevel(objectsToFilter: any[], level: LevelStatus): any[];
|
|
24
|
-
filterTicketsForMission(ticketsToFilter: Ticket[], mission: Mission): Ticket[];
|
|
25
|
-
getFiltersForRole(role: RoleStatus): FilterType[];
|
|
26
|
-
filterObjectsForCurrentUserInSpace(objects: Object3D[], spaceID: string): Promise<Object3D[]>;
|
|
27
|
-
filterTicketsForCurrentUserInSpace(tickets: Ticket[], spaceID: string): Promise<Ticket[]>;
|
|
28
|
-
subscribeToDataFilterUpdate(next?: (value: any) => void, error?: (error: any) => void, complete?: () => void): Subscription;
|
|
29
|
-
dateFilterUpdated(dateRange: Date[] | null): void;
|
|
30
|
-
filterObjectsForDateRange(objects: any[], dateRange: Date[]): any[];
|
|
31
|
-
filterMeasurementsForDateRange(measurements: Measurement[], dateRange: Date[]): Measurement[];
|
|
32
|
-
filterObjectsForZone(objects: any[], // TODO: remove any here..
|
|
33
|
-
zoneID?: string, zone?: Zone): Promise<any[]>;
|
|
34
|
-
filterEquipmentsByDomainList(equipments: Equipment[], domainIDList: string[]): Equipment[];
|
|
35
|
-
filterEquipmentsForTerm(equips: Equipment[], term: string): Equipment[];
|
|
36
|
-
filterTicketsForTerm(tickets: Ticket[], term: string): Ticket[];
|
|
37
|
-
filterLocationsForTerm(locations: Space[], term: string): Space[];
|
|
38
|
-
filterOrganisationsForTerm(orgs: Organisation[], term: string): Organisation[];
|
|
39
|
-
filterUsersForTerm(users: ProfileEntity[], term: string): ProfileEntity[];
|
|
40
|
-
filterFeaturesForCurrentUserInSpace(features: Feature[], spaceID: string): Promise<Feature[]>;
|
|
41
|
-
filterFeaturesForTerm(features: Feature[], term: string): Feature[];
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @param objects Array of Comments, Tickets, Features. Obligatory proporties: title, description
|
|
45
|
-
* @param term string
|
|
46
|
-
*/
|
|
47
|
-
filterObjectsForTerm(objects: any[], term: string): any[];
|
|
48
|
-
filterMissionByStartTimeDateForDateRange(missions: any[], dateRange: Date[]): any[];
|
|
49
|
-
applyZoneFilterForMissions(currentSpaceMissions: Mission[], objects: any[]): Promise<any[]>;
|
|
50
|
-
filterEquipmentsForCurrentUserInSpace(spaceID: string, equips: Equipment[]): Promise<Equipment[]>;
|
|
51
|
-
filterMeasurementsForCurrentUserInSpace(spaceID: string, comments: Comment[]): Promise<Comment[]>;
|
|
52
|
-
isObjectAllowedForUserInSpace(object: Object, spaceID: string): Promise<boolean>;
|
|
53
|
-
filterTemplatesForTerm(missions: Mission[], term: string): Mission[];
|
|
54
|
-
filterObjectsForSweep(objects: any[], objectType: PoiType, sweep: string): Promise<any[]>;
|
|
55
|
-
filterFeaturesByHashtagsAndLocale(currentSpaceMissions: Mission[], features: Feature[]): Feature[];
|
|
56
|
-
filterFeaturesForMissionWithoutZone(features: Feature[], mission: Mission): Feature[];
|
|
57
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FilterService, never>;
|
|
58
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FilterService>;
|
|
59
|
-
}
|
|
60
|
-
export {};
|
|
1
|
+
import { Subscription } from "rxjs";
|
|
2
|
+
import { Zone, Equipment, LevelStatus, Measurement, Mission, Organisation, PoiType, ProfileEntity, RoleStatus, Space, Ticket, Feature, Comment, Object3D } from "../types.service";
|
|
3
|
+
import { PoiService } from "./models/poi.service";
|
|
4
|
+
import { ZoneService } from "./models/zone.service";
|
|
5
|
+
import { BaseUserService } from "./user.service";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
declare enum FilterType {
|
|
8
|
+
DOMAIN = "DOMAIN",
|
|
9
|
+
LEVEL = "LEVEL",
|
|
10
|
+
ROLE = "ROLE",
|
|
11
|
+
ZONE = "ZONE",
|
|
12
|
+
SPACE = "SPACE",
|
|
13
|
+
HASHTAG = "HASHTAG"
|
|
14
|
+
}
|
|
15
|
+
export declare class FilterService {
|
|
16
|
+
private userService;
|
|
17
|
+
private zoneService;
|
|
18
|
+
private poiService;
|
|
19
|
+
private updateDateFilter;
|
|
20
|
+
currentDateFilter: Date[];
|
|
21
|
+
constructor(userService: BaseUserService, zoneService: ZoneService, poiService: PoiService);
|
|
22
|
+
filterTicketsByDomain(ticketsToFilter: Ticket[], domain: string): Ticket[];
|
|
23
|
+
filterObjectsByLevel(objectsToFilter: any[], level: LevelStatus): any[];
|
|
24
|
+
filterTicketsForMission(ticketsToFilter: Ticket[], mission: Mission): Ticket[];
|
|
25
|
+
getFiltersForRole(role: RoleStatus): FilterType[];
|
|
26
|
+
filterObjectsForCurrentUserInSpace(objects: Object3D[], spaceID: string): Promise<Object3D[]>;
|
|
27
|
+
filterTicketsForCurrentUserInSpace(tickets: Ticket[], spaceID: string): Promise<Ticket[]>;
|
|
28
|
+
subscribeToDataFilterUpdate(next?: (value: any) => void, error?: (error: any) => void, complete?: () => void): Subscription;
|
|
29
|
+
dateFilterUpdated(dateRange: Date[] | null): void;
|
|
30
|
+
filterObjectsForDateRange(objects: any[], dateRange: Date[]): any[];
|
|
31
|
+
filterMeasurementsForDateRange(measurements: Measurement[], dateRange: Date[]): Measurement[];
|
|
32
|
+
filterObjectsForZone(objects: any[], // TODO: remove any here..
|
|
33
|
+
zoneID?: string, zone?: Zone): Promise<any[]>;
|
|
34
|
+
filterEquipmentsByDomainList(equipments: Equipment[], domainIDList: string[]): Equipment[];
|
|
35
|
+
filterEquipmentsForTerm(equips: Equipment[], term: string): Equipment[];
|
|
36
|
+
filterTicketsForTerm(tickets: Ticket[], term: string): Ticket[];
|
|
37
|
+
filterLocationsForTerm(locations: Space[], term: string): Space[];
|
|
38
|
+
filterOrganisationsForTerm(orgs: Organisation[], term: string): Organisation[];
|
|
39
|
+
filterUsersForTerm(users: ProfileEntity[], term: string): ProfileEntity[];
|
|
40
|
+
filterFeaturesForCurrentUserInSpace(features: Feature[], spaceID: string): Promise<Feature[]>;
|
|
41
|
+
filterFeaturesForTerm(features: Feature[], term: string): Feature[];
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @param objects Array of Comments, Tickets, Features. Obligatory proporties: title, description
|
|
45
|
+
* @param term string
|
|
46
|
+
*/
|
|
47
|
+
filterObjectsForTerm(objects: any[], term: string): any[];
|
|
48
|
+
filterMissionByStartTimeDateForDateRange(missions: any[], dateRange: Date[]): any[];
|
|
49
|
+
applyZoneFilterForMissions(currentSpaceMissions: Mission[], objects: any[]): Promise<any[]>;
|
|
50
|
+
filterEquipmentsForCurrentUserInSpace(spaceID: string, equips: Equipment[]): Promise<Equipment[]>;
|
|
51
|
+
filterMeasurementsForCurrentUserInSpace(spaceID: string, comments: Comment[]): Promise<Comment[]>;
|
|
52
|
+
isObjectAllowedForUserInSpace(object: Object, spaceID: string): Promise<boolean>;
|
|
53
|
+
filterTemplatesForTerm(missions: Mission[], term: string): Mission[];
|
|
54
|
+
filterObjectsForSweep(objects: any[], objectType: PoiType, sweep: string): Promise<any[]>;
|
|
55
|
+
filterFeaturesByHashtagsAndLocale(currentSpaceMissions: Mission[], features: Feature[]): Feature[];
|
|
56
|
+
filterFeaturesForMissionWithoutZone(features: Feature[], mission: Mission): Feature[];
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterService, never>;
|
|
58
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FilterService>;
|
|
59
|
+
}
|
|
60
|
+
export {};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { Event, EventType, Prestataire, RequestIntervention, Ticket } from "../types.service";
|
|
2
|
-
import { EventService } from "./models/event.service";
|
|
3
|
-
import { MissionService } from "./models/mission.service";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class InterventionService {
|
|
6
|
-
private eventService;
|
|
7
|
-
private missionService;
|
|
8
|
-
interventionEventTypes: EventType[];
|
|
9
|
-
constructor(eventService: EventService, missionService: MissionService);
|
|
10
|
-
getRequestInterventionFromTicket(ticket: Ticket): Promise<RequestIntervention>;
|
|
11
|
-
composeInterventionForRequest(relatedEvents: Event[], requestID: string): Event;
|
|
12
|
-
getPrestataireForTicket(ticket: Ticket): Promise<Prestataire>;
|
|
13
|
-
getEarliestRealStartDateForRequest(events: Event[], requestID: string): number | null;
|
|
14
|
-
getLatestRealEndDateForRequest(events: Event[], requestID: string): number | null;
|
|
15
|
-
getDurationForRequest(events: Event[], requestID: string): number;
|
|
16
|
-
getIntervention(events: any): Event | null;
|
|
17
|
-
eventToRequestIntervention(event: Event): RequestIntervention;
|
|
18
|
-
getMostRecentTimeSpent(events: Event[]): number | null;
|
|
19
|
-
getAllEventsAfterLastCreated(events: Event[]): Event[];
|
|
20
|
-
getCurrentIntevention(events: Event[]): Event;
|
|
21
|
-
getMostRecentEstimateStartDate(events: Event[]): number | null;
|
|
22
|
-
getMostRecentEstimateEndDate(events: Event[]): number | null;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InterventionService, never>;
|
|
24
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<InterventionService>;
|
|
25
|
-
}
|
|
1
|
+
import { Event, EventType, Prestataire, RequestIntervention, Ticket } from "../types.service";
|
|
2
|
+
import { EventService } from "./models/event.service";
|
|
3
|
+
import { MissionService } from "./models/mission.service";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class InterventionService {
|
|
6
|
+
private eventService;
|
|
7
|
+
private missionService;
|
|
8
|
+
interventionEventTypes: EventType[];
|
|
9
|
+
constructor(eventService: EventService, missionService: MissionService);
|
|
10
|
+
getRequestInterventionFromTicket(ticket: Ticket): Promise<RequestIntervention>;
|
|
11
|
+
composeInterventionForRequest(relatedEvents: Event[], requestID: string): Event;
|
|
12
|
+
getPrestataireForTicket(ticket: Ticket): Promise<Prestataire>;
|
|
13
|
+
getEarliestRealStartDateForRequest(events: Event[], requestID: string): number | null;
|
|
14
|
+
getLatestRealEndDateForRequest(events: Event[], requestID: string): number | null;
|
|
15
|
+
getDurationForRequest(events: Event[], requestID: string): number;
|
|
16
|
+
getIntervention(events: any): Event | null;
|
|
17
|
+
eventToRequestIntervention(event: Event): RequestIntervention;
|
|
18
|
+
getMostRecentTimeSpent(events: Event[]): number | null;
|
|
19
|
+
getAllEventsAfterLastCreated(events: Event[]): Event[];
|
|
20
|
+
getCurrentIntevention(events: Event[]): Event;
|
|
21
|
+
getMostRecentEstimateStartDate(events: Event[]): number | null;
|
|
22
|
+
getMostRecentEstimateEndDate(events: Event[]): number | null;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InterventionService, never>;
|
|
24
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InterventionService>;
|
|
25
|
+
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { TranslateService } from "@ngx-translate/core";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class LocaleService {
|
|
4
|
-
translate: TranslateService;
|
|
5
|
-
currentLocale: string;
|
|
6
|
-
private showModalSource;
|
|
7
|
-
showModal$: import("rxjs").Observable<unknown>;
|
|
8
|
-
constructor(translate: TranslateService);
|
|
9
|
-
modal(): void;
|
|
10
|
-
/**
|
|
11
|
-
* Reload the app to another language.
|
|
12
|
-
*
|
|
13
|
-
* Navigation is required because of the way angular localizes: locales are
|
|
14
|
-
* completely different compilation bundles, in separate directories, hence
|
|
15
|
-
* you need to reload.
|
|
16
|
-
*
|
|
17
|
-
* @param lang
|
|
18
|
-
*/
|
|
19
|
-
change(lang: string): void;
|
|
20
|
-
getLocale(): string;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LocaleService, never>;
|
|
22
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LocaleService>;
|
|
23
|
-
}
|
|
1
|
+
import { TranslateService } from "@ngx-translate/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class LocaleService {
|
|
4
|
+
translate: TranslateService;
|
|
5
|
+
currentLocale: string;
|
|
6
|
+
private showModalSource;
|
|
7
|
+
showModal$: import("rxjs").Observable<unknown>;
|
|
8
|
+
constructor(translate: TranslateService);
|
|
9
|
+
modal(): void;
|
|
10
|
+
/**
|
|
11
|
+
* Reload the app to another language.
|
|
12
|
+
*
|
|
13
|
+
* Navigation is required because of the way angular localizes: locales are
|
|
14
|
+
* completely different compilation bundles, in separate directories, hence
|
|
15
|
+
* you need to reload.
|
|
16
|
+
*
|
|
17
|
+
* @param lang
|
|
18
|
+
*/
|
|
19
|
+
change(lang: string): void;
|
|
20
|
+
getLocale(): string;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocaleService, never>;
|
|
22
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LocaleService>;
|
|
23
|
+
}
|
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
import { Subject } from 'rxjs';
|
|
2
|
-
import { Layer, Node, Zone } from '../types.service';
|
|
3
|
-
import { LayerService } from './models/layer.service';
|
|
4
|
-
import { NavigationService } from './models/navigation.service';
|
|
5
|
-
import { PlanService } from './models/plan.service';
|
|
6
|
-
import { ZoneService } from './models/zone.service';
|
|
7
|
-
import { BaseUserService } from './user.service';
|
|
8
|
-
import { ViewerService } from './viewer.service';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
declare global {
|
|
11
|
-
interface Window {
|
|
12
|
-
MP_SDK: {
|
|
13
|
-
connect: Function;
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
export declare class MatterportImportService {
|
|
18
|
-
private navigationService;
|
|
19
|
-
private zoneService;
|
|
20
|
-
private viewerService;
|
|
21
|
-
private layerService;
|
|
22
|
-
private userService;
|
|
23
|
-
private planService;
|
|
24
|
-
private currentFrame;
|
|
25
|
-
sdk: any;
|
|
26
|
-
private sweeps;
|
|
27
|
-
floors: Object;
|
|
28
|
-
private currentFloor;
|
|
29
|
-
private _modelID;
|
|
30
|
-
private _spaceID;
|
|
31
|
-
get spaceID(): string;
|
|
32
|
-
set spaceID(value: string);
|
|
33
|
-
get modelID(): string;
|
|
34
|
-
set modelID(value: string);
|
|
35
|
-
stop: boolean;
|
|
36
|
-
importingImages: Subject<boolean>;
|
|
37
|
-
sweepProcessedCount: Subject<number>;
|
|
38
|
-
totalSweepsCount: Subject<number>;
|
|
39
|
-
constructor(navigationService: NavigationService, zoneService: ZoneService, viewerService: ViewerService, layerService: LayerService, userService: BaseUserService, planService: PlanService);
|
|
40
|
-
initSdkForModel(modelID: string): Promise<boolean>;
|
|
41
|
-
importData(spaceID: string, surface: number, reloading?: boolean, node?: Node, overrideExisting?: boolean): Promise<boolean>;
|
|
42
|
-
createZone(name: string, layerID: string, surface?: number, parentID?: string, sweeps?: string[], node?: Node, metadata?: string): Promise<Zone>;
|
|
43
|
-
import360images(overrideExisting?: boolean): Promise<boolean>;
|
|
44
|
-
getUploadedImageCount(modelID: any): Promise<any>;
|
|
45
|
-
moveToFloor(floorName: string, matterportFloorSequence?: number): Promise<void>;
|
|
46
|
-
importFloorData(defautZoneID: string, node: Node): Promise<Zone[]>;
|
|
47
|
-
private saveFloor;
|
|
48
|
-
abandon(): void;
|
|
49
|
-
removeFrame(): void;
|
|
50
|
-
getLayerByName(name: string): Promise<Layer>;
|
|
51
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatterportImportService, never>;
|
|
52
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MatterportImportService>;
|
|
53
|
-
}
|
|
1
|
+
import { Subject } from 'rxjs';
|
|
2
|
+
import { Layer, Node, Zone } from '../types.service';
|
|
3
|
+
import { LayerService } from './models/layer.service';
|
|
4
|
+
import { NavigationService } from './models/navigation.service';
|
|
5
|
+
import { PlanService } from './models/plan.service';
|
|
6
|
+
import { ZoneService } from './models/zone.service';
|
|
7
|
+
import { BaseUserService } from './user.service';
|
|
8
|
+
import { ViewerService } from './viewer.service';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
declare global {
|
|
11
|
+
interface Window {
|
|
12
|
+
MP_SDK: {
|
|
13
|
+
connect: Function;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
export declare class MatterportImportService {
|
|
18
|
+
private navigationService;
|
|
19
|
+
private zoneService;
|
|
20
|
+
private viewerService;
|
|
21
|
+
private layerService;
|
|
22
|
+
private userService;
|
|
23
|
+
private planService;
|
|
24
|
+
private currentFrame;
|
|
25
|
+
sdk: any;
|
|
26
|
+
private sweeps;
|
|
27
|
+
floors: Object;
|
|
28
|
+
private currentFloor;
|
|
29
|
+
private _modelID;
|
|
30
|
+
private _spaceID;
|
|
31
|
+
get spaceID(): string;
|
|
32
|
+
set spaceID(value: string);
|
|
33
|
+
get modelID(): string;
|
|
34
|
+
set modelID(value: string);
|
|
35
|
+
stop: boolean;
|
|
36
|
+
importingImages: Subject<boolean>;
|
|
37
|
+
sweepProcessedCount: Subject<number>;
|
|
38
|
+
totalSweepsCount: Subject<number>;
|
|
39
|
+
constructor(navigationService: NavigationService, zoneService: ZoneService, viewerService: ViewerService, layerService: LayerService, userService: BaseUserService, planService: PlanService);
|
|
40
|
+
initSdkForModel(modelID: string): Promise<boolean>;
|
|
41
|
+
importData(spaceID: string, surface: number, reloading?: boolean, node?: Node, overrideExisting?: boolean): Promise<boolean>;
|
|
42
|
+
createZone(name: string, layerID: string, surface?: number, parentID?: string, sweeps?: string[], node?: Node, metadata?: string): Promise<Zone>;
|
|
43
|
+
import360images(overrideExisting?: boolean): Promise<boolean>;
|
|
44
|
+
getUploadedImageCount(modelID: any): Promise<any>;
|
|
45
|
+
moveToFloor(floorName: string, matterportFloorSequence?: number): Promise<void>;
|
|
46
|
+
importFloorData(defautZoneID: string, node: Node): Promise<Zone[]>;
|
|
47
|
+
private saveFloor;
|
|
48
|
+
abandon(): void;
|
|
49
|
+
removeFrame(): void;
|
|
50
|
+
getLayerByName(name: string): Promise<Layer>;
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatterportImportService, never>;
|
|
52
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MatterportImportService>;
|
|
53
|
+
}
|