@smarterplan/ngx-smarterplan-locations 0.2.13 → 0.2.15

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.
@@ -15,6 +15,7 @@ export declare class AddAudioZoneComponent implements OnInit {
15
15
  updatedZone: EventEmitter<any>;
16
16
  defaultZone: Zone;
17
17
  zones: Zone[];
18
+ parentZone: Zone;
18
19
  isSubmitted: boolean;
19
20
  fromPlan: boolean;
20
21
  chosenScansOnPlan: string[];
@@ -29,6 +30,7 @@ export declare class AddAudioZoneComponent implements OnInit {
29
30
  currentAudioZone: Zone;
30
31
  scansModified: boolean;
31
32
  occupiedSweeps: string[];
33
+ unavailableSweeps: string[];
32
34
  working: boolean;
33
35
  audioUploaded: boolean;
34
36
  constructor(fb: FormBuilder, zoneService: ZoneService, layerService: LayerService, userService: BaseUserService, navigationService: NavigationService, commentService: CommentService, translate: TranslateService);
@@ -51,5 +53,5 @@ export declare class AddAudioZoneComponent implements OnInit {
51
53
  removeTakenSweepsFromOtherZones(): Promise<void>;
52
54
  onDeleteAudio(): Promise<void>;
53
55
  static ɵfac: i0.ɵɵFactoryDeclaration<AddAudioZoneComponent, never>;
54
- static ɵcmp: i0.ɵɵComponentDeclaration<AddAudioZoneComponent, "lib-add-audio-zone", never, { "spaceID": "spaceID"; "defaultZone": "defaultZone"; "zones": "zones"; "currentAudioZone": "currentAudioZone"; }, { "updatedZone": "updatedZone"; }, never, never>;
56
+ static ɵcmp: i0.ɵɵComponentDeclaration<AddAudioZoneComponent, "lib-add-audio-zone", never, { "spaceID": "spaceID"; "defaultZone": "defaultZone"; "zones": "zones"; "parentZone": "parentZone"; "currentAudioZone": "currentAudioZone"; }, { "updatedZone": "updatedZone"; }, never, never>;
55
57
  }
@@ -14,6 +14,7 @@ export declare class SweepPlanSelectionComponent implements OnInit {
14
14
  newZoneData: any;
15
15
  navIDsZoneEdit: string[];
16
16
  occupiedSweeps: string[];
17
+ unavailableSweeps: string[];
17
18
  chosenPlan: Plan;
18
19
  /** panZoom element for adding scans */
19
20
  panZoom: PanZoom;
@@ -83,5 +84,5 @@ export declare class SweepPlanSelectionComponent implements OnInit {
83
84
  onSaveSelection(): void;
84
85
  onCancel(): void;
85
86
  static ɵfac: i0.ɵɵFactoryDeclaration<SweepPlanSelectionComponent, never>;
86
- static ɵcmp: i0.ɵɵComponentDeclaration<SweepPlanSelectionComponent, "lib-sweep-plan-selection", never, { "spaceID": "spaceID"; "chosenScansOnPlan": "chosenScansOnPlan"; "newZoneData": "newZoneData"; "navIDsZoneEdit": "navIDsZoneEdit"; "occupiedSweeps": "occupiedSweeps"; }, { "sweepsSelected": "sweepsSelected"; }, never, never>;
87
+ static ɵcmp: i0.ɵɵComponentDeclaration<SweepPlanSelectionComponent, "lib-sweep-plan-selection", never, { "spaceID": "spaceID"; "chosenScansOnPlan": "chosenScansOnPlan"; "newZoneData": "newZoneData"; "navIDsZoneEdit": "navIDsZoneEdit"; "occupiedSweeps": "occupiedSweeps"; "unavailableSweeps": "unavailableSweeps"; }, { "sweepsSelected": "sweepsSelected"; }, never, never>;
87
88
  }
@@ -37,6 +37,7 @@ export declare class ZonesComponent implements OnInit {
37
37
  defaultZone: Zone;
38
38
  defaultShowing: boolean;
39
39
  isAddingAudioTrack: boolean;
40
+ parentZoneForAudio: Zone;
40
41
  constructor(route: ActivatedRoute, zoneService: ZoneService, spaceService: SpaceService, visitService: VisitService, navigationService: NavigationService, userService: BaseUserService, planService: PlanService, translate: TranslateService);
41
42
  ngOnInit(): Promise<void>;
42
43
  setupMenuItems(): void;
@@ -57,7 +58,7 @@ export declare class ZonesComponent implements OnInit {
57
58
  onEdit(zone: Zone): void;
58
59
  onAddLot(): void;
59
60
  onAddMuseumZone(): void;
60
- onAddAudioZone(): void;
61
+ onAddAudioZone(parentZone: Zone): void;
61
62
  onDelete(zone: Zone): Promise<void>;
62
63
  editCompleted(event: any): void;
63
64
  showScanPointsOnPlan(navigations: Navigation[]): Promise<void>;
@@ -26,12 +26,12 @@ export declare function rotate(point: {
26
26
  */
27
27
  export declare function buttonIsInSelection(button: HTMLButtonElement, selection: Rectangle): boolean;
28
28
  /**
29
- * Styles the button that represents a sweep on the plan: green-added to zone, red -not added
29
+ * Styles the button that represents a sweep on the plan: green-added to zone, red -not added, gray - disabled, orange - occupied
30
30
  * @param button HTMLButtonElement, button on the plan,
31
31
  * @param isAdded boolean, if the sweep added to the zone
32
32
  * @param isOccupied boolean, if the sweep added to any other zone (but not current)
33
33
  */
34
- export declare function styleButton(button: HTMLButtonElement, isAdded?: boolean, isOccupied?: boolean): void;
34
+ export declare function styleButton(button: HTMLButtonElement, isAdded?: boolean, isOccupied?: boolean, disabled?: boolean): void;
35
35
  /**
36
36
  * Check if sweep (button) is chosen; it is reprsented by image style "mdi:adjust"
37
37
  * @param button HTMLElement
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smarterplan/ngx-smarterplan-locations",
3
- "version": "0.2.13",
3
+ "version": "0.2.15",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^13.2.0",
6
6
  "@angular/core": "^13.2.0",
@@ -9,7 +9,7 @@
9
9
  "@ngx-translate/core": "^14.0.0",
10
10
  "leaflet": "^1.8.0",
11
11
  "ngx-clipboard": "^15.1.0",
12
- "@smarterplan/ngx-smarterplan-core": "^0.4.69",
12
+ "@smarterplan/ngx-smarterplan-core": "^1.0.1",
13
13
  "panzoom": "^9.4.2",
14
14
  "ng2-pdf-viewer": "^9.0.0"
15
15
  },