@smarterplan/ngx-smarterplan-core 1.3.2 → 1.3.4
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/esm2020/lib/components/csv-export/csv-export.component.mjs +4 -4
- package/esm2020/lib/components/loader/loader.component.mjs +4 -4
- package/esm2020/lib/components/menu-bar/avatar/avatar.component.mjs +4 -4
- package/esm2020/lib/components/menu-bar/menu-bar.component.mjs +5 -5
- package/esm2020/lib/components/menu-bar/navigation-bar/navigation-bar.component.mjs +5 -6
- package/esm2020/lib/components/modal-switch-visit/modal-switch-visit.component.mjs +4 -4
- package/esm2020/lib/components/search-bar/search-bar.component.mjs +4 -4
- package/esm2020/lib/components/support-modal/support-modal.component.mjs +4 -4
- package/esm2020/lib/ngx-smarterplan-core.module.mjs +5 -5
- package/esm2020/lib/ngx-smarterplan-core.service.mjs +4 -4
- package/esm2020/lib/pipes/duration-to-string.pipe.mjs +7 -7
- package/esm2020/lib/pipes/format-date-number-to-digits.pipe.mjs +4 -4
- package/esm2020/lib/pipes/hashtag-from-id.pipe.mjs +4 -4
- package/esm2020/lib/pipes/safe-url.pipe.mjs +4 -4
- package/esm2020/lib/pipes/time-date-to-local-string.pipe.mjs +7 -7
- package/esm2020/lib/pipes/username-from-id.pipe.mjs +4 -4
- package/esm2020/lib/services/amplify-cache.service.mjs +4 -4
- package/esm2020/lib/services/base-tab.service.mjs +4 -4
- package/esm2020/lib/services/baseVisibility.service.mjs +4 -4
- package/esm2020/lib/services/content.service.mjs +4 -4
- package/esm2020/lib/services/filter.service.mjs +4 -4
- package/esm2020/lib/services/intervention.service.mjs +4 -4
- package/esm2020/lib/services/locale.service.mjs +4 -4
- package/esm2020/lib/services/matterport-import.service.mjs +16 -16
- package/esm2020/lib/services/matterport.service.mjs +10 -10
- package/esm2020/lib/services/models/affectation.service.mjs +4 -4
- package/esm2020/lib/services/models/base-object.service.mjs +4 -4
- package/esm2020/lib/services/models/capture.service.mjs +4 -4
- package/esm2020/lib/services/models/comment.service.mjs +4 -4
- package/esm2020/lib/services/models/domain.service.mjs +4 -4
- package/esm2020/lib/services/models/equipment.service.mjs +4 -4
- package/esm2020/lib/services/models/event.service.mjs +4 -4
- package/esm2020/lib/services/models/feature.service.mjs +4 -4
- package/esm2020/lib/services/models/hashtag.service.mjs +4 -4
- package/esm2020/lib/services/models/layer.service.mjs +4 -4
- package/esm2020/lib/services/models/measurement.service.mjs +4 -4
- package/esm2020/lib/services/models/mission.service.mjs +4 -4
- package/esm2020/lib/services/models/navigation.service.mjs +4 -4
- package/esm2020/lib/services/models/node.service.mjs +4 -4
- package/esm2020/lib/services/models/object3D.service.mjs +4 -4
- package/esm2020/lib/services/models/operation.service.mjs +4 -4
- package/esm2020/lib/services/models/organisation.service.mjs +4 -4
- package/esm2020/lib/services/models/plan.service.mjs +4 -4
- package/esm2020/lib/services/models/poi.service.mjs +4 -4
- package/esm2020/lib/services/models/profile.service.mjs +4 -4
- package/esm2020/lib/services/models/property.service.mjs +4 -4
- package/esm2020/lib/services/models/space.service.mjs +4 -4
- package/esm2020/lib/services/models/template.service.mjs +4 -4
- package/esm2020/lib/services/models/ticket.service.mjs +4 -4
- package/esm2020/lib/services/models/visit.service.mjs +4 -4
- package/esm2020/lib/services/models/zone.service.mjs +4 -4
- package/esm2020/lib/services/navigator.service.mjs +4 -4
- package/esm2020/lib/services/search.service.mjs +4 -4
- package/esm2020/lib/services/support.service.mjs +4 -4
- package/esm2020/lib/services/tag.service.mjs +4 -4
- package/esm2020/lib/services/user.service.mjs +4 -4
- package/esm2020/lib/services/validators.service.mjs +4 -4
- package/esm2020/lib/services/viewer.service.mjs +4 -4
- package/esm2020/lib/services/zoneChange.service.mjs +4 -4
- package/fesm2015/smarterplan-ngx-smarterplan-core.mjs +203 -203
- package/fesm2015/smarterplan-ngx-smarterplan-core.mjs.map +1 -1
- package/fesm2020/smarterplan-ngx-smarterplan-core.mjs +216 -203
- package/fesm2020/smarterplan-ngx-smarterplan-core.mjs.map +1 -1
- package/lib/components/csv-export/csv-export.component.d.ts +1 -1
- package/lib/components/loader/loader.component.d.ts +1 -1
- package/lib/components/menu-bar/avatar/avatar.component.d.ts +1 -1
- package/lib/components/menu-bar/menu-bar.component.d.ts +1 -1
- package/lib/components/menu-bar/navigation-bar/navigation-bar.component.d.ts +1 -1
- package/lib/components/modal-switch-visit/modal-switch-visit.component.d.ts +1 -1
- package/lib/components/search-bar/search-bar.component.d.ts +1 -1
- package/lib/components/support-modal/support-modal.component.d.ts +1 -1
- package/lib/matterport-extensions/hsl-loader/HlsLoader.d.ts +2 -2
- package/lib/matterport-extensions/nest-thermostat/CanvasImage.d.ts +2 -2
- package/lib/matterport-extensions/nest-thermostat/CanvasRenderer.d.ts +3 -3
- package/lib/matterport-extensions/nest-thermostat/NestThermostat.d.ts +2 -2
- package/lib/matterport-extensions/nest-thermostat/PlaneRenderer.d.ts +2 -2
- package/lib/matterport-extensions/scene-component/SceneComponent.d.ts +3 -3
- package/lib/matterport-extensions/tv-player/TvPlayer.d.ts +1 -1
- package/lib/matterport-extensions/video-renderer/VideoRenderer.d.ts +2 -2
- package/lib/types.service.d.ts +36 -36
- package/package.json +4 -4
|
@@ -14,5 +14,5 @@ export declare class CsvExportComponent {
|
|
|
14
14
|
delimeter: string;
|
|
15
15
|
onClickDownload(): Promise<void>;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<CsvExportComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CsvExportComponent, "lib-csv-export", never, { "headers": "headers"; "rowsInput": "rowsInput"; "getRows": "getRows"; "title": "title"; "buttonLabel": "buttonLabel"; }, {}, never, never, false>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CsvExportComponent, "lib-csv-export", never, { "headers": "headers"; "rowsInput": "rowsInput"; "getRows": "getRows"; "title": "title"; "buttonLabel": "buttonLabel"; }, {}, never, never, false, never>;
|
|
18
18
|
}
|
|
@@ -6,5 +6,5 @@ export declare class LoaderComponent implements OnInit {
|
|
|
6
6
|
constructor();
|
|
7
7
|
ngOnInit(): void;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LoaderComponent, "lib-loader", never, { "useLogo": "useLogo"; "color": "color"; }, {}, never, never, false>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoaderComponent, "lib-loader", never, { "useLogo": "useLogo"; "color": "color"; }, {}, never, never, false, never>;
|
|
10
10
|
}
|
|
@@ -17,5 +17,5 @@ export declare class AvatarComponent implements OnInit {
|
|
|
17
17
|
ngOnDestroy(): void;
|
|
18
18
|
setAvatar(user: ProfileEntity): Promise<void>;
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "lib-avatar", never, { "size": "size"; "userID": "userID"; }, {}, never, never, false>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "lib-avatar", never, { "size": "size"; "userID": "userID"; }, {}, never, never, false, never>;
|
|
21
21
|
}
|
|
@@ -66,5 +66,5 @@ export declare class MenuBarComponent implements OnInit {
|
|
|
66
66
|
onClearDates(): void;
|
|
67
67
|
onApply(): void;
|
|
68
68
|
static ɵfac: i0.ɵɵFactoryDeclaration<MenuBarComponent, never>;
|
|
69
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MenuBarComponent, "lib-menu-bar", never, { "cacheName": "cacheName"; }, {}, never, never, false>;
|
|
69
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MenuBarComponent, "lib-menu-bar", never, { "cacheName": "cacheName"; }, {}, never, never, false, never>;
|
|
70
70
|
}
|
|
@@ -72,5 +72,5 @@ export declare class NavigationBarComponent implements OnInit {
|
|
|
72
72
|
showLocation(): string;
|
|
73
73
|
onHideClick(): void;
|
|
74
74
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationBarComponent, never>;
|
|
75
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NavigationBarComponent, "lib-navigation-bar", never, {}, {}, never, never, false>;
|
|
75
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavigationBarComponent, "lib-navigation-bar", never, {}, {}, never, never, false, never>;
|
|
76
76
|
}
|
|
@@ -18,5 +18,5 @@ export declare class ModalSwitchVisitComponent implements OnInit {
|
|
|
18
18
|
ngOnInit(): void;
|
|
19
19
|
switchVisit(): void;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalSwitchVisitComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ModalSwitchVisitComponent, "lib-modal-switch-visit", never, { "content": "content"; "model3D": "model3D"; "spaceID": "spaceID"; "dataToMove": "dataToMove"; }, {}, never, never, false>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalSwitchVisitComponent, "lib-modal-switch-visit", never, { "content": "content"; "model3D": "model3D"; "spaceID": "spaceID"; "dataToMove": "dataToMove"; }, {}, never, never, false, never>;
|
|
22
22
|
}
|
|
@@ -12,5 +12,5 @@ export declare class SearchBarComponent implements OnInit {
|
|
|
12
12
|
onSubmit(): void;
|
|
13
13
|
filter(term: string): Promise<void>;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<SearchBarComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SearchBarComponent, "lib-search-bar", never, { "searchable": "searchable"; "objectType": "objectType"; }, { "searchEvent": "searchEvent"; }, never, never, false>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SearchBarComponent, "lib-search-bar", never, { "searchable": "searchable"; "objectType": "objectType"; }, { "searchEvent": "searchEvent"; }, never, never, false, never>;
|
|
16
16
|
}
|
|
@@ -22,5 +22,5 @@ export declare class SupportModalComponent implements OnInit {
|
|
|
22
22
|
iniForm(): Promise<void>;
|
|
23
23
|
onSubmit(): Promise<void>;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<SupportModalComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SupportModalComponent, "app-support-modal", never, {}, {}, never, never, false>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SupportModalComponent, "app-support-modal", never, {}, {}, never, never, false, never>;
|
|
26
26
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { SceneComponent, ComponentOutput } from './../scene-component/SceneComponent';
|
|
2
2
|
import { VideoTexture } from 'three';
|
|
3
|
-
|
|
3
|
+
type Inputs = {
|
|
4
4
|
src: string;
|
|
5
5
|
enabled: boolean;
|
|
6
6
|
};
|
|
7
|
-
|
|
7
|
+
type Outputs = {
|
|
8
8
|
video: HTMLVideoElement | null;
|
|
9
9
|
aspect: number;
|
|
10
10
|
} & ComponentOutput;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentOutput, SceneComponent } from './../scene-component/SceneComponent';
|
|
2
2
|
import { IPainter2d } from "./CanvasRenderer";
|
|
3
3
|
import { Size } from "./PlaneRenderer";
|
|
4
|
-
|
|
4
|
+
type Inputs = {
|
|
5
5
|
src: string | null;
|
|
6
6
|
srcPosition: {
|
|
7
7
|
x: number;
|
|
@@ -14,7 +14,7 @@ declare type Inputs = {
|
|
|
14
14
|
};
|
|
15
15
|
destSize: Size;
|
|
16
16
|
};
|
|
17
|
-
|
|
17
|
+
type Outputs = {
|
|
18
18
|
painter: IPainter2d | null;
|
|
19
19
|
} & ComponentOutput;
|
|
20
20
|
export declare class CanvasImage extends SceneComponent implements IPainter2d {
|
|
@@ -4,14 +4,14 @@ import { Size } from './PlaneRenderer';
|
|
|
4
4
|
export interface IPainter2d {
|
|
5
5
|
paint(context2d: CanvasRenderingContext2D, size: Size): void;
|
|
6
6
|
}
|
|
7
|
-
|
|
7
|
+
type Inputs = {
|
|
8
8
|
painter: IPainter2d | null;
|
|
9
9
|
textureRes: Size;
|
|
10
10
|
};
|
|
11
|
-
|
|
11
|
+
type Outputs = {
|
|
12
12
|
texture: Texture | null;
|
|
13
13
|
} & ComponentOutput;
|
|
14
|
-
|
|
14
|
+
type Events = {
|
|
15
15
|
repaint: boolean;
|
|
16
16
|
};
|
|
17
17
|
export declare class CanvasRenderer extends SceneComponent {
|
|
@@ -2,12 +2,12 @@ import { SceneComponent, ComponentOutput } from '../scene-component/SceneCompone
|
|
|
2
2
|
import { Object3D, Texture } from 'three';
|
|
3
3
|
import { CanvasRenderer, IPainter2d } from './CanvasRenderer';
|
|
4
4
|
import { PlaneRenderer, Size } from './PlaneRenderer';
|
|
5
|
-
|
|
5
|
+
type Inputs = {
|
|
6
6
|
loadingState: string;
|
|
7
7
|
texture: Texture | null;
|
|
8
8
|
updateInterval: number;
|
|
9
9
|
};
|
|
10
|
-
|
|
10
|
+
type Outputs = {
|
|
11
11
|
painter: IPainter2d | null;
|
|
12
12
|
visible: boolean;
|
|
13
13
|
} & ComponentOutput;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { SceneComponent } from '../scene-component/SceneComponent';
|
|
2
2
|
import { Texture, Object3D } from 'three';
|
|
3
|
-
export
|
|
3
|
+
export type Size = {
|
|
4
4
|
w: number;
|
|
5
5
|
h: number;
|
|
6
6
|
};
|
|
7
|
-
|
|
7
|
+
type Inputs = {
|
|
8
8
|
texture: Texture | null;
|
|
9
9
|
aspect: number;
|
|
10
10
|
transparent: boolean;
|
|
@@ -178,12 +178,12 @@ declare class ComponentOut extends ComponentOutputReserved {
|
|
|
178
178
|
* A general-use bag of properties.
|
|
179
179
|
* At a minimum, it has `objectRoot` and `collider` automatically defined.
|
|
180
180
|
*/
|
|
181
|
-
export
|
|
181
|
+
export type ComponentOutput = ComponentOut;
|
|
182
182
|
/**
|
|
183
183
|
* The context of a component (available as `this.context`) in a `SceneComponent` subclass.
|
|
184
184
|
* Access to the root `ISceneNode` and the THREE.js are available.
|
|
185
185
|
*/
|
|
186
|
-
export
|
|
186
|
+
export type ComponentContext = {
|
|
187
187
|
three: typeof THREE;
|
|
188
188
|
root: ISceneNode;
|
|
189
189
|
renderer: THREE.WebGLRenderer;
|
|
@@ -193,7 +193,7 @@ export declare type ComponentContext = {
|
|
|
193
193
|
/**
|
|
194
194
|
* A raycast intersection with a mesh
|
|
195
195
|
*/
|
|
196
|
-
export
|
|
196
|
+
export type Intersect = {
|
|
197
197
|
point: THREE.Vector3;
|
|
198
198
|
normal: THREE.Vector3;
|
|
199
199
|
collider: THREE.Object3D;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { SceneComponent, ComponentOutput } from './../scene-component/SceneComponent';
|
|
2
2
|
import { Texture } from 'three';
|
|
3
|
-
|
|
3
|
+
type Inputs = {
|
|
4
4
|
src: MediaStream | string | HTMLVideoElement | null;
|
|
5
5
|
};
|
|
6
|
-
|
|
6
|
+
type Outputs = {
|
|
7
7
|
texture: Texture | null;
|
|
8
8
|
} & ComponentOutput;
|
|
9
9
|
export declare class VideoRenderer extends SceneComponent {
|
package/lib/types.service.d.ts
CHANGED
|
@@ -244,13 +244,13 @@ export declare enum StatusEquipment {
|
|
|
244
244
|
export interface IUpdate {
|
|
245
245
|
id: string;
|
|
246
246
|
}
|
|
247
|
-
export
|
|
247
|
+
export type AWSType = {
|
|
248
248
|
__typename?: string | null;
|
|
249
249
|
id?: string | null;
|
|
250
250
|
createdAt?: string;
|
|
251
251
|
updatedAt?: string;
|
|
252
252
|
};
|
|
253
|
-
export
|
|
253
|
+
export type DbObjectType = {
|
|
254
254
|
spaceID?: string | null;
|
|
255
255
|
description?: string | null;
|
|
256
256
|
pois?: {
|
|
@@ -263,7 +263,7 @@ export declare type DbObjectType = {
|
|
|
263
263
|
name?: string | null;
|
|
264
264
|
title?: string | null;
|
|
265
265
|
} & AWSType;
|
|
266
|
-
export
|
|
266
|
+
export type Ticket = {
|
|
267
267
|
spaceID: string;
|
|
268
268
|
title: string;
|
|
269
269
|
status?: TicketStatus | null;
|
|
@@ -305,7 +305,7 @@ export declare type Ticket = {
|
|
|
305
305
|
};
|
|
306
306
|
archivedForMissionID?: string[] | null;
|
|
307
307
|
} & DbObjectType;
|
|
308
|
-
export
|
|
308
|
+
export type Operation = {
|
|
309
309
|
id?: string | null;
|
|
310
310
|
ticketID?: string | null;
|
|
311
311
|
equipmentID?: string | null;
|
|
@@ -313,7 +313,7 @@ export declare type Operation = {
|
|
|
313
313
|
ticket?: Ticket | null;
|
|
314
314
|
equipment?: Equipment | null;
|
|
315
315
|
} & AWSType;
|
|
316
|
-
export
|
|
316
|
+
export type Equipment = {
|
|
317
317
|
name: string;
|
|
318
318
|
notes?: {
|
|
319
319
|
__typename?: 'ModelNoteConnection';
|
|
@@ -348,22 +348,22 @@ export declare type Equipment = {
|
|
|
348
348
|
nextToken?: string | null;
|
|
349
349
|
};
|
|
350
350
|
} & DbObjectType;
|
|
351
|
-
export
|
|
351
|
+
export type EquipmentSelected = {
|
|
352
352
|
selected?: boolean;
|
|
353
353
|
} & Equipment;
|
|
354
|
-
export
|
|
354
|
+
export type EquipmentDocument = {
|
|
355
355
|
filename: string;
|
|
356
356
|
url: string;
|
|
357
357
|
urlSigned: string;
|
|
358
358
|
noteID: string;
|
|
359
359
|
};
|
|
360
|
-
export
|
|
360
|
+
export type Prestataire = {
|
|
361
361
|
organisation: Organisation;
|
|
362
362
|
mission: Mission;
|
|
363
363
|
profile: Profile;
|
|
364
364
|
name: string;
|
|
365
365
|
};
|
|
366
|
-
export
|
|
366
|
+
export type Note = {
|
|
367
367
|
id?: string | null;
|
|
368
368
|
attachment?: string | null;
|
|
369
369
|
signDate?: number | null;
|
|
@@ -372,7 +372,7 @@ export declare type Note = {
|
|
|
372
372
|
ownerMissionID?: string | null;
|
|
373
373
|
equipmentID?: string | null;
|
|
374
374
|
} & AWSType;
|
|
375
|
-
export
|
|
375
|
+
export type Domain = {
|
|
376
376
|
name: string;
|
|
377
377
|
slug?: string | null;
|
|
378
378
|
abbreviation?: string | null;
|
|
@@ -387,7 +387,7 @@ export declare type Domain = {
|
|
|
387
387
|
nextToken?: string | null;
|
|
388
388
|
};
|
|
389
389
|
} & AWSType;
|
|
390
|
-
export
|
|
390
|
+
export type POI = {
|
|
391
391
|
id?: string | null;
|
|
392
392
|
coordinate?: string | null;
|
|
393
393
|
tagIcon?: string | null;
|
|
@@ -404,7 +404,7 @@ export declare enum ViewerInteractions {
|
|
|
404
404
|
ADDING = 1,
|
|
405
405
|
POSITIONING = 2
|
|
406
406
|
}
|
|
407
|
-
export
|
|
407
|
+
export type Mission = {
|
|
408
408
|
userID: string;
|
|
409
409
|
role?: RoleStatus | null;
|
|
410
410
|
organisationID: string;
|
|
@@ -439,7 +439,7 @@ export declare type Mission = {
|
|
|
439
439
|
connectedToLiveAt?: string[] | null;
|
|
440
440
|
disconnectedFromLiveAt?: string[] | null;
|
|
441
441
|
} & AWSType;
|
|
442
|
-
export
|
|
442
|
+
export type Affectation = {
|
|
443
443
|
mission?: Mission | null;
|
|
444
444
|
group: string;
|
|
445
445
|
metadata?: string | null;
|
|
@@ -447,14 +447,14 @@ export declare type Affectation = {
|
|
|
447
447
|
missionID: string;
|
|
448
448
|
ticketID: string;
|
|
449
449
|
} & AWSType;
|
|
450
|
-
export
|
|
450
|
+
export type MediaContent = {
|
|
451
451
|
path: string;
|
|
452
452
|
title: string;
|
|
453
453
|
description: string;
|
|
454
454
|
showInTag?: boolean;
|
|
455
455
|
type?: CommentType;
|
|
456
456
|
};
|
|
457
|
-
export
|
|
457
|
+
export type Comment = {
|
|
458
458
|
title: string;
|
|
459
459
|
ticket?: Ticket | null;
|
|
460
460
|
ownerID?: string | null;
|
|
@@ -469,7 +469,7 @@ export declare type Comment = {
|
|
|
469
469
|
shownInTag?: boolean | null;
|
|
470
470
|
externalLink?: string | null;
|
|
471
471
|
} & AWSType & DbObjectType;
|
|
472
|
-
export
|
|
472
|
+
export type Zone = {
|
|
473
473
|
sweepIDs?: string[] | null;
|
|
474
474
|
layerID?: string | null;
|
|
475
475
|
code_ref?: string | null;
|
|
@@ -490,10 +490,10 @@ export declare type Zone = {
|
|
|
490
490
|
audio?: Comment | null;
|
|
491
491
|
startSweepID?: string | null;
|
|
492
492
|
} & AWSType;
|
|
493
|
-
export
|
|
493
|
+
export type Layer = {
|
|
494
494
|
name: string;
|
|
495
495
|
} & AWSType;
|
|
496
|
-
export
|
|
496
|
+
export type Profile = {
|
|
497
497
|
id?: string | null;
|
|
498
498
|
userID: string;
|
|
499
499
|
avatar?: string | null;
|
|
@@ -524,7 +524,7 @@ export declare class ProfileEntity implements Profile {
|
|
|
524
524
|
set metadata(m: string);
|
|
525
525
|
get displayName(): string;
|
|
526
526
|
}
|
|
527
|
-
export
|
|
527
|
+
export type Organisation = {
|
|
528
528
|
name: string;
|
|
529
529
|
siret?: string | null;
|
|
530
530
|
address?: string | null;
|
|
@@ -542,7 +542,7 @@ export declare type Organisation = {
|
|
|
542
542
|
contactDetails?: string | null;
|
|
543
543
|
ticketOrganisationsId?: string | null;
|
|
544
544
|
} & AWSType;
|
|
545
|
-
export
|
|
545
|
+
export type Property = {
|
|
546
546
|
type: PropertyType;
|
|
547
547
|
deletedAt?: number | null;
|
|
548
548
|
organisationID: string;
|
|
@@ -551,7 +551,7 @@ export declare type Property = {
|
|
|
551
551
|
space?: Space | null;
|
|
552
552
|
organisation?: Organisation | null;
|
|
553
553
|
} & AWSType;
|
|
554
|
-
export
|
|
554
|
+
export type Space = {
|
|
555
555
|
name: string;
|
|
556
556
|
addresses?: string | null;
|
|
557
557
|
annexes?: string | null;
|
|
@@ -583,7 +583,7 @@ export declare type Space = {
|
|
|
583
583
|
description?: string | null;
|
|
584
584
|
attachments?: Comment[] | null;
|
|
585
585
|
} & AWSType;
|
|
586
|
-
export
|
|
586
|
+
export type Visit = {
|
|
587
587
|
captureID: string;
|
|
588
588
|
model3d: string;
|
|
589
589
|
takenAt: number;
|
|
@@ -594,14 +594,14 @@ export declare type Visit = {
|
|
|
594
594
|
name?: string | null;
|
|
595
595
|
nmbImagesImported: number;
|
|
596
596
|
};
|
|
597
|
-
export
|
|
597
|
+
export type Hashtag = {
|
|
598
598
|
name?: string | null;
|
|
599
599
|
organisationID?: string | null;
|
|
600
600
|
spaceID?: string | null;
|
|
601
601
|
organization?: Organisation | null;
|
|
602
602
|
space?: Space | null;
|
|
603
603
|
} & AWSType;
|
|
604
|
-
export
|
|
604
|
+
export type Capture = {
|
|
605
605
|
takenAt?: number | null;
|
|
606
606
|
viewer?: CaptureViewer | null;
|
|
607
607
|
publishedAt?: number | null;
|
|
@@ -614,7 +614,7 @@ export declare type Capture = {
|
|
|
614
614
|
nextToken?: string | null;
|
|
615
615
|
};
|
|
616
616
|
} & AWSType;
|
|
617
|
-
export
|
|
617
|
+
export type Node = {
|
|
618
618
|
model3D?: string | null;
|
|
619
619
|
coordinate?: string | null;
|
|
620
620
|
size?: string | null;
|
|
@@ -628,7 +628,7 @@ export declare type Node = {
|
|
|
628
628
|
navigationForInventory?: string | null;
|
|
629
629
|
capture?: Capture | null;
|
|
630
630
|
} & AWSType;
|
|
631
|
-
export
|
|
631
|
+
export type Plan = {
|
|
632
632
|
name?: string | null;
|
|
633
633
|
annexe?: string | null;
|
|
634
634
|
calibration?: string | null;
|
|
@@ -645,7 +645,7 @@ export declare type Plan = {
|
|
|
645
645
|
extension?: string | null;
|
|
646
646
|
navigationIDs?: string[] | null;
|
|
647
647
|
} & AWSType;
|
|
648
|
-
export
|
|
648
|
+
export type Navigation = {
|
|
649
649
|
matterportSweepID?: string | null;
|
|
650
650
|
position?: string | null;
|
|
651
651
|
rotation?: string | null;
|
|
@@ -664,12 +664,12 @@ export declare type Navigation = {
|
|
|
664
664
|
};
|
|
665
665
|
node?: Node | null;
|
|
666
666
|
} & AWSType;
|
|
667
|
-
export
|
|
667
|
+
export type MenuItem = {
|
|
668
668
|
label: string;
|
|
669
669
|
url?: string;
|
|
670
670
|
back?: any;
|
|
671
671
|
};
|
|
672
|
-
export
|
|
672
|
+
export type Measurement = {
|
|
673
673
|
id: string;
|
|
674
674
|
poi: POI;
|
|
675
675
|
comment: Comment;
|
|
@@ -677,7 +677,7 @@ export declare type Measurement = {
|
|
|
677
677
|
values: Array<number> | null;
|
|
678
678
|
numberPoints: number;
|
|
679
679
|
};
|
|
680
|
-
export
|
|
680
|
+
export type Feature = {
|
|
681
681
|
title?: string | null;
|
|
682
682
|
shortDescription?: string | null;
|
|
683
683
|
ownerMissionID?: string | null;
|
|
@@ -716,7 +716,7 @@ export declare type Feature = {
|
|
|
716
716
|
};
|
|
717
717
|
spaceID: string;
|
|
718
718
|
} & DbObjectType;
|
|
719
|
-
export
|
|
719
|
+
export type Event = {
|
|
720
720
|
title: string;
|
|
721
721
|
type?: EventType | null;
|
|
722
722
|
estimateStartDate?: number | null;
|
|
@@ -744,7 +744,7 @@ export declare type Event = {
|
|
|
744
744
|
author?: ProfileEntity | null;
|
|
745
745
|
feature?: Feature | null;
|
|
746
746
|
} & AWSType;
|
|
747
|
-
export
|
|
747
|
+
export type RequestIntervention = {
|
|
748
748
|
estimateStartDate?: number | null;
|
|
749
749
|
estimateDuration?: number | null;
|
|
750
750
|
estimateEndDate?: number | null;
|
|
@@ -757,7 +757,7 @@ export declare type RequestIntervention = {
|
|
|
757
757
|
report?: Event | null;
|
|
758
758
|
ticketID: string;
|
|
759
759
|
} & AWSType;
|
|
760
|
-
export
|
|
760
|
+
export type Intervention = {
|
|
761
761
|
estimateStartDate?: number | null;
|
|
762
762
|
estimateDuration?: number | null;
|
|
763
763
|
estimateEndDate?: number | null;
|
|
@@ -767,7 +767,7 @@ export declare type Intervention = {
|
|
|
767
767
|
type: EventType;
|
|
768
768
|
status: EventStatus;
|
|
769
769
|
} & AWSType;
|
|
770
|
-
export
|
|
770
|
+
export type VisitTemplate = {
|
|
771
771
|
id?: string | null;
|
|
772
772
|
title?: string | null;
|
|
773
773
|
level?: LevelStatus | null;
|
|
@@ -800,7 +800,7 @@ export declare enum SpModule {
|
|
|
800
800
|
/**
|
|
801
801
|
* ThreeJS object3D
|
|
802
802
|
*/
|
|
803
|
-
export
|
|
803
|
+
export type IObject3D = {
|
|
804
804
|
id?: string;
|
|
805
805
|
object: string;
|
|
806
806
|
format: string;
|
|
@@ -825,7 +825,7 @@ export declare type IObject3D = {
|
|
|
825
825
|
/**
|
|
826
826
|
* DynamoDb object3D
|
|
827
827
|
*/
|
|
828
|
-
export
|
|
828
|
+
export type Object3D = {
|
|
829
829
|
id: string;
|
|
830
830
|
path: string;
|
|
831
831
|
description: string;
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smarterplan/ngx-smarterplan-core",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.4",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"tslib": "^2.4.0"
|
|
6
6
|
},
|
|
7
7
|
"peerDependencies": {
|
|
8
|
-
"@angular/common": "^
|
|
8
|
+
"@angular/common": "^15.2.0",
|
|
9
9
|
"@types/crypto-js": "^4.1.1",
|
|
10
10
|
"crypto-js": "^4.1.1",
|
|
11
|
-
"@angular/core": "^
|
|
11
|
+
"@angular/core": "^15.2.0",
|
|
12
12
|
"@iconify/icons-mdi": "^1.2.8",
|
|
13
|
-
"@ng-bootstrap/ng-bootstrap": "^
|
|
13
|
+
"@ng-bootstrap/ng-bootstrap": "^14.0.0",
|
|
14
14
|
"@ngx-translate/core": "^14.0.0",
|
|
15
15
|
"@types/hls.js": "^0.12.5",
|
|
16
16
|
"aws-amplify": "^5.0.9",
|