@mappedin/viewer 0.36.1-c3a0ce0.0 → 0.36.1-e3d997b.0

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.
Files changed (35) hide show
  1. package/dist/index.js +44549 -39168
  2. package/dist/types/src/components/card-item/index.d.ts +1 -0
  3. package/dist/types/src/components/carousel/index.d.ts +1 -0
  4. package/dist/types/src/components/categories-view/categories-view.stories.d.ts +19 -0
  5. package/dist/types/src/components/categories-view/categories.d.ts +3 -0
  6. package/dist/types/src/components/categories-view/utils.d.ts +1 -0
  7. package/dist/types/src/components/category-icon/category-icon.stories.d.ts +1 -0
  8. package/dist/types/src/components/collapsible/index.d.ts +7 -2
  9. package/dist/types/src/components/legacy-metadata-card/utils.d.ts +2 -0
  10. package/dist/types/src/components/link-item/index.d.ts +5 -0
  11. package/dist/types/src/components/main/index.d.ts +1 -32
  12. package/dist/types/src/components/main/utils.d.ts +38 -0
  13. package/dist/types/src/components/metadata-card/utils.d.ts +14 -0
  14. package/dist/types/src/index.d.ts +1 -0
  15. package/dist/types/src/lib/hooks/use-cached-value.d.ts +5 -0
  16. package/dist/types/src/lib/hooks/use-cached-value.test.d.ts +1 -0
  17. package/dist/types/src/lib/hooks/use-focus.d.ts +1 -0
  18. package/dist/types/src/lib/sdk/types.d.ts +3 -3
  19. package/dist/types/src/lib/time/utils.d.ts +7 -0
  20. package/dist/types/src/lib/utils/data-utils.d.ts +27 -4
  21. package/dist/types/src/lib/utils/icon-utils.d.ts +3 -3
  22. package/dist/types/src/lib/utils/object-utils.d.ts +8 -0
  23. package/dist/types/src/lib/utils/process-places.d.ts +3 -1
  24. package/dist/types/src/lib/utils/search-utils.d.ts +5 -2
  25. package/dist/types/src/states/location-card.d.ts +4 -0
  26. package/dist/types/src/states/main-ui.d.ts +4 -0
  27. package/dist/types/src/stores/analytics-store/index.d.ts +3 -0
  28. package/dist/types/src/stores/root-store/index.d.ts +581 -1
  29. package/dist/types/src/stores/ui-store/index.d.ts +5 -10
  30. package/dist/types/src/stores/ui-store/location-card-store.d.ts +37 -0
  31. package/dist/types/src/stores/ui-store/location-card-store.test.d.ts +1 -0
  32. package/package.json +4 -3
  33. /package/dist/types/src/components/{categories → legacy-categories}/category.d.ts +0 -0
  34. /package/dist/types/src/components/{categories → legacy-categories}/index.d.ts +0 -0
  35. /package/dist/types/src/components/{categories/categories.stories.d.ts → legacy-categories/legacy-categories.stories.d.ts} +0 -0
@@ -5,7 +5,7 @@ import { E_APP_STATE } from '../../lib/types/state';
5
5
  import RouterStore from '../router-store';
6
6
  import { TStartViewerOptions, TStartViewerWithLocalDataOptions } from '../../lib/types/options';
7
7
  import FeatureFlagStore from '../feature-flag-store';
8
- import { MapData, Place, Floor, Coordinate, Geometry, Area } from '../../lib/sdk';
8
+ import { MapData, Place, Floor, Coordinate, Geometry, Area, LocationCategory } from '../../lib/sdk';
9
9
  import { processPlaces } from '../../lib/utils/process-places';
10
10
  import SearchStore from '../search-store';
11
11
  import { Feature, ParsedMVF, Point, SpaceProperties, Geometry as MVFGeometry } from '@mappedin/mvf';
@@ -80,7 +80,9 @@ declare class RootStore {
80
80
  readonly geometriesById: Record<string, Geometry>;
81
81
  readonly sortedPlaceNames: string[];
82
82
  readonly floorsByNameNormalized: Record<string, Floor>;
83
+ readonly categoriesByNameNormalized: Record<string, LocationCategory>;
83
84
  readonly rbushByFloorId: ReturnType<typeof processPlaces>['rbushByFloorId'];
85
+ readonly locationsByPlaceId: ReturnType<typeof processPlaces>['locationsByPlaceId'];
84
86
  constructor({ router, featureFlagStore, data, startupOptions, mvf, mapId, configId, configName, isMobile, isMini, theme, }: {
85
87
  router: RouterStore;
86
88
  featureFlagStore: FeatureFlagStore;
@@ -106,6 +108,7 @@ declare class RootStore {
106
108
  private syncDeparture;
107
109
  private getMVFFeatureById;
108
110
  get title(): string;
111
+ get timeZone(): string;
109
112
  get isMakerPreview(): boolean;
110
113
  get directionsUnavailable(): boolean;
111
114
  get isAppEmbedded(): boolean;
@@ -132,6 +135,574 @@ declare class RootStore {
132
135
  readonly floor: Floor;
133
136
  readonly center: Coordinate;
134
137
  readonly isExterior: boolean;
138
+ readonly locationProfiles: {
139
+ "__#29@#private": any;
140
+ readonly __type: "location-profile";
141
+ id: import("@mappedin/mvf").LocationId;
142
+ name: string;
143
+ externalId?: string;
144
+ description?: string;
145
+ logo?: string;
146
+ phone?: string;
147
+ social: import("@mappedin/mvf").LocationSocial[];
148
+ pictures: import("@mappedin/mvf").LocationPicture[];
149
+ links: import("@mappedin/mvf").LocationLink[];
150
+ readonly spaces: {
151
+ "__#16@#private": any;
152
+ readonly __type: "space";
153
+ getMvfData(): import("@mappedin/mvf").Feature<import("@mappedin/mvf").LineString | import("@mappedin/mvf").Polygon | import("@mappedin/mvf").Point, import("@mappedin/mvf").SpaceProperties>;
154
+ readonly name: string;
155
+ readonly type: import("@mappedin/mappedin-js/mappedin-js/src/map-data-objects/space").TSpaceType;
156
+ readonly description: string;
157
+ readonly externalId: string;
158
+ readonly locations: {
159
+ "__#26@#private": any;
160
+ readonly __type: "enterprise-location";
161
+ description?: string | undefined;
162
+ name: string;
163
+ amenity?: string | undefined;
164
+ externalId: string;
165
+ extra?: Record<string, unknown> | undefined;
166
+ gallery?: {
167
+ caption?: string | null;
168
+ image: string;
169
+ embeddedUrl?: string | null;
170
+ }[] | undefined;
171
+ instances?: /*elided*/ any[] | undefined;
172
+ logo?: string | undefined;
173
+ operationHours?: import("@mappedin/mvf").OperationHours[] | undefined;
174
+ phone?: {
175
+ number: string;
176
+ extension?: string;
177
+ } | undefined;
178
+ picture?: string | undefined;
179
+ shortName?: string | undefined;
180
+ showFloatingLabelWhenImagePresent?: boolean | undefined;
181
+ showLogo?: boolean | undefined;
182
+ siblingGroups?: import("@mappedin/mvf").SiblingGroup[] | undefined;
183
+ social?: {
184
+ facebook?: string;
185
+ instagram?: string;
186
+ twitter?: string;
187
+ website?: string;
188
+ } | undefined;
189
+ sortOrder: number;
190
+ states?: import("@mappedin/mvf").LocationState[] | undefined;
191
+ tags?: string[] | undefined;
192
+ type: string;
193
+ readonly focusTarget: /*elided*/ any[];
194
+ readonly categories: {
195
+ "__#27@#private": any;
196
+ readonly __type: "enterprise-category";
197
+ name: string;
198
+ color?: string | undefined;
199
+ externalId: string;
200
+ extra?: Record<string, unknown> | undefined;
201
+ icon?: string | undefined;
202
+ iconFromDefaultList?: string | null | undefined;
203
+ sortOrder: number;
204
+ picture?: string | undefined;
205
+ readonly children: /*elided*/ any[];
206
+ readonly locations: /*elided*/ any[];
207
+ toJSON(): {
208
+ id: string;
209
+ name: string;
210
+ };
211
+ destroy(): void;
212
+ readonly id: string;
213
+ }[];
214
+ readonly coordinates: Coordinate[];
215
+ readonly nodes: {
216
+ "__#13@#private": any;
217
+ readonly __type: "node";
218
+ readonly locations: /*elided*/ any[];
219
+ readonly floor: Floor;
220
+ readonly coordinate: Coordinate;
221
+ readonly externalId: string;
222
+ readonly neighbors: /*elided*/ any[];
223
+ readonly geoJSON: {
224
+ properties: null;
225
+ type: import("@mappedin/mvf").FeatureType;
226
+ geometry: import("@mappedin/mvf").Point;
227
+ };
228
+ readonly focusTarget: Coordinate;
229
+ readonly anchorTarget: Coordinate;
230
+ toJSON(): {
231
+ id: string;
232
+ floor: string;
233
+ coordinate: {
234
+ latitude: number;
235
+ longitude: number;
236
+ floor: string | undefined;
237
+ verticalOffset: number;
238
+ };
239
+ neighbors: string[];
240
+ };
241
+ destroy(): void;
242
+ readonly id: string;
243
+ }[];
244
+ readonly spaces: /*elided*/ any[];
245
+ toJSON(): {
246
+ id: string;
247
+ name: string;
248
+ };
249
+ destroy(): void;
250
+ readonly id: string;
251
+ }[];
252
+ readonly floor: Floor;
253
+ readonly doors: /*elided*/ any[];
254
+ readonly center: Coordinate;
255
+ readonly locationProfiles: /*elided*/ any[];
256
+ readonly geoJSON: {
257
+ properties: null;
258
+ type: import("@mappedin/mvf").FeatureType;
259
+ geometry: import("@mappedin/mvf").LineString | import("@mappedin/mvf").Polygon | import("@mappedin/mvf").Point;
260
+ };
261
+ readonly focusTarget: /*elided*/ any | Coordinate;
262
+ readonly anchorTarget: Coordinate;
263
+ toJSON(): {
264
+ id: string;
265
+ name: string;
266
+ type: import("@mappedin/mappedin-js/mappedin-js/src/map-data-objects/space").TSpaceType;
267
+ floor: string;
268
+ center: {
269
+ latitude: number;
270
+ longitude: number;
271
+ floor: string | undefined;
272
+ verticalOffset: number;
273
+ };
274
+ };
275
+ destroy(): void;
276
+ "__#57@#private": any;
277
+ readonly id: string;
278
+ links: {
279
+ "__#22@#private": any;
280
+ readonly url: string;
281
+ readonly name: string | undefined;
282
+ toJSON(): {
283
+ id: string;
284
+ url: string;
285
+ name: string | undefined;
286
+ };
287
+ destroy(): void;
288
+ readonly id: string;
289
+ }[];
290
+ images: {
291
+ "__#23@#private": any;
292
+ readonly url: string | undefined;
293
+ readonly name: string | undefined;
294
+ readonly altText: string | undefined;
295
+ toJSON(): {
296
+ id: string;
297
+ url: string | undefined;
298
+ name: string | undefined;
299
+ };
300
+ destroy(): void;
301
+ readonly id: string;
302
+ }[];
303
+ readonly geoJSONBoundingBox: {};
304
+ }[];
305
+ readonly points: {
306
+ "__#20@#private": any;
307
+ readonly __type: "point-of-interest";
308
+ readonly name: string;
309
+ readonly description: string;
310
+ readonly floor: Floor;
311
+ readonly coordinate: Coordinate;
312
+ readonly externalId: string;
313
+ readonly locationProfiles: /*elided*/ any[];
314
+ readonly geoJSON: {
315
+ properties: null;
316
+ type: import("@mappedin/mvf").FeatureType;
317
+ geometry: Point;
318
+ };
319
+ readonly focusTarget: Coordinate;
320
+ readonly anchorTarget: Coordinate;
321
+ toJSON(): {
322
+ id: string;
323
+ name: string;
324
+ floor: string;
325
+ coordinate: {
326
+ latitude: number;
327
+ longitude: number;
328
+ floor: string | undefined;
329
+ verticalOffset: number;
330
+ };
331
+ };
332
+ destroy(): void;
333
+ "__#57@#private": any;
334
+ readonly id: string;
335
+ links: {
336
+ "__#22@#private": any;
337
+ readonly url: string;
338
+ readonly name: string | undefined;
339
+ toJSON(): {
340
+ id: string;
341
+ url: string;
342
+ name: string | undefined;
343
+ };
344
+ destroy(): void;
345
+ readonly id: string;
346
+ }[];
347
+ images: {
348
+ "__#23@#private": any;
349
+ readonly url: string | undefined;
350
+ readonly name: string | undefined;
351
+ readonly altText: string | undefined;
352
+ toJSON(): {
353
+ id: string;
354
+ url: string | undefined;
355
+ name: string | undefined;
356
+ };
357
+ destroy(): void;
358
+ readonly id: string;
359
+ }[];
360
+ readonly geoJSONBoundingBox: {};
361
+ }[];
362
+ readonly doors: /*elided*/ any[];
363
+ readonly connections: {
364
+ "__#18@#private": any;
365
+ readonly __type: "connection";
366
+ readonly name: string;
367
+ readonly description: string;
368
+ readonly accessible: boolean;
369
+ readonly externalId: string;
370
+ readonly type: string;
371
+ readonly coordinates: Coordinate[];
372
+ readonly nodes: {
373
+ "__#13@#private": any;
374
+ readonly __type: "node";
375
+ readonly locations: {
376
+ "__#26@#private": any;
377
+ readonly __type: "enterprise-location";
378
+ description?: string | undefined;
379
+ name: string;
380
+ amenity?: string | undefined;
381
+ externalId: string;
382
+ extra?: Record<string, unknown> | undefined;
383
+ gallery?: {
384
+ caption?: string | null;
385
+ image: string;
386
+ embeddedUrl?: string | null;
387
+ }[] | undefined;
388
+ instances?: /*elided*/ any[] | undefined;
389
+ logo?: string | undefined;
390
+ operationHours?: import("@mappedin/mvf").OperationHours[] | undefined;
391
+ phone?: {
392
+ number: string;
393
+ extension?: string;
394
+ } | undefined;
395
+ picture?: string | undefined;
396
+ shortName?: string | undefined;
397
+ showFloatingLabelWhenImagePresent?: boolean | undefined;
398
+ showLogo?: boolean | undefined;
399
+ siblingGroups?: import("@mappedin/mvf").SiblingGroup[] | undefined;
400
+ social?: {
401
+ facebook?: string;
402
+ instagram?: string;
403
+ twitter?: string;
404
+ website?: string;
405
+ } | undefined;
406
+ sortOrder: number;
407
+ states?: import("@mappedin/mvf").LocationState[] | undefined;
408
+ tags?: string[] | undefined;
409
+ type: string;
410
+ readonly focusTarget: {
411
+ "__#16@#private": any;
412
+ readonly __type: "space";
413
+ getMvfData(): import("@mappedin/mvf").Feature<import("@mappedin/mvf").LineString | import("@mappedin/mvf").Polygon | import("@mappedin/mvf").Point, import("@mappedin/mvf").SpaceProperties>;
414
+ readonly name: string;
415
+ readonly type: import("@mappedin/mappedin-js/mappedin-js/src/map-data-objects/space").TSpaceType;
416
+ readonly description: string;
417
+ readonly externalId: string;
418
+ readonly locations: /*elided*/ any[];
419
+ readonly floor: Floor;
420
+ readonly doors: /*elided*/ any[];
421
+ readonly center: Coordinate;
422
+ readonly locationProfiles: /*elided*/ any[];
423
+ readonly geoJSON: {
424
+ properties: null;
425
+ type: import("@mappedin/mvf").FeatureType;
426
+ geometry: import("@mappedin/mvf").LineString | import("@mappedin/mvf").Polygon | import("@mappedin/mvf").Point;
427
+ };
428
+ readonly focusTarget: /*elided*/ any | Coordinate;
429
+ readonly anchorTarget: Coordinate;
430
+ toJSON(): {
431
+ id: string;
432
+ name: string;
433
+ type: import("@mappedin/mappedin-js/mappedin-js/src/map-data-objects/space").TSpaceType;
434
+ floor: string;
435
+ center: {
436
+ latitude: number;
437
+ longitude: number;
438
+ floor: string | undefined;
439
+ verticalOffset: number;
440
+ };
441
+ };
442
+ destroy(): void;
443
+ "__#57@#private": any;
444
+ readonly id: string;
445
+ links: {
446
+ "__#22@#private": any;
447
+ readonly url: string;
448
+ readonly name: string | undefined;
449
+ toJSON(): {
450
+ id: string;
451
+ url: string;
452
+ name: string | undefined;
453
+ };
454
+ destroy(): void;
455
+ readonly id: string;
456
+ }[];
457
+ images: {
458
+ "__#23@#private": any;
459
+ readonly url: string | undefined;
460
+ readonly name: string | undefined;
461
+ readonly altText: string | undefined;
462
+ toJSON(): {
463
+ id: string;
464
+ url: string | undefined;
465
+ name: string | undefined;
466
+ };
467
+ destroy(): void;
468
+ readonly id: string;
469
+ }[];
470
+ readonly geoJSONBoundingBox: {};
471
+ }[];
472
+ readonly categories: {
473
+ "__#27@#private": any;
474
+ readonly __type: "enterprise-category";
475
+ name: string;
476
+ color?: string | undefined;
477
+ externalId: string;
478
+ extra?: Record<string, unknown> | undefined;
479
+ icon?: string | undefined;
480
+ iconFromDefaultList?: string | null | undefined;
481
+ sortOrder: number;
482
+ picture?: string | undefined;
483
+ readonly children: /*elided*/ any[];
484
+ readonly locations: /*elided*/ any[];
485
+ toJSON(): {
486
+ id: string;
487
+ name: string;
488
+ };
489
+ destroy(): void;
490
+ readonly id: string;
491
+ }[];
492
+ readonly coordinates: Coordinate[];
493
+ readonly nodes: /*elided*/ any[];
494
+ readonly spaces: {
495
+ "__#16@#private": any;
496
+ readonly __type: "space";
497
+ getMvfData(): import("@mappedin/mvf").Feature<import("@mappedin/mvf").LineString | import("@mappedin/mvf").Polygon | import("@mappedin/mvf").Point, import("@mappedin/mvf").SpaceProperties>;
498
+ readonly name: string;
499
+ readonly type: import("@mappedin/mappedin-js/mappedin-js/src/map-data-objects/space").TSpaceType;
500
+ readonly description: string;
501
+ readonly externalId: string;
502
+ readonly locations: /*elided*/ any[];
503
+ readonly floor: Floor;
504
+ readonly doors: /*elided*/ any[];
505
+ readonly center: Coordinate;
506
+ readonly locationProfiles: /*elided*/ any[];
507
+ readonly geoJSON: {
508
+ properties: null;
509
+ type: import("@mappedin/mvf").FeatureType;
510
+ geometry: import("@mappedin/mvf").LineString | import("@mappedin/mvf").Polygon | import("@mappedin/mvf").Point;
511
+ };
512
+ readonly focusTarget: /*elided*/ any | Coordinate;
513
+ readonly anchorTarget: Coordinate;
514
+ toJSON(): {
515
+ id: string;
516
+ name: string;
517
+ type: import("@mappedin/mappedin-js/mappedin-js/src/map-data-objects/space").TSpaceType;
518
+ floor: string;
519
+ center: {
520
+ latitude: number;
521
+ longitude: number;
522
+ floor: string | undefined;
523
+ verticalOffset: number;
524
+ };
525
+ };
526
+ destroy(): void;
527
+ "__#57@#private": any;
528
+ readonly id: string;
529
+ links: {
530
+ "__#22@#private": any;
531
+ readonly url: string;
532
+ readonly name: string | undefined;
533
+ toJSON(): {
534
+ id: string;
535
+ url: string;
536
+ name: string | undefined;
537
+ };
538
+ destroy(): void;
539
+ readonly id: string;
540
+ }[];
541
+ images: {
542
+ "__#23@#private": any;
543
+ readonly url: string | undefined;
544
+ readonly name: string | undefined;
545
+ readonly altText: string | undefined;
546
+ toJSON(): {
547
+ id: string;
548
+ url: string | undefined;
549
+ name: string | undefined;
550
+ };
551
+ destroy(): void;
552
+ readonly id: string;
553
+ }[];
554
+ readonly geoJSONBoundingBox: {};
555
+ }[];
556
+ toJSON(): {
557
+ id: string;
558
+ name: string;
559
+ };
560
+ destroy(): void;
561
+ readonly id: string;
562
+ }[];
563
+ readonly floor: Floor;
564
+ readonly coordinate: Coordinate;
565
+ readonly externalId: string;
566
+ readonly neighbors: /*elided*/ any[];
567
+ readonly geoJSON: {
568
+ properties: null;
569
+ type: import("@mappedin/mvf").FeatureType;
570
+ geometry: import("@mappedin/mvf").Point;
571
+ };
572
+ readonly focusTarget: Coordinate;
573
+ readonly anchorTarget: Coordinate;
574
+ toJSON(): {
575
+ id: string;
576
+ floor: string;
577
+ coordinate: {
578
+ latitude: number;
579
+ longitude: number;
580
+ floor: string | undefined;
581
+ verticalOffset: number;
582
+ };
583
+ neighbors: string[];
584
+ };
585
+ destroy(): void;
586
+ readonly id: string;
587
+ }[];
588
+ readonly floors: Floor[];
589
+ readonly locationProfiles: /*elided*/ any[];
590
+ readonly focusTarget: Coordinate[];
591
+ toJSON(): {
592
+ id: string;
593
+ name: string;
594
+ type: string;
595
+ externalId: string;
596
+ coordinates: {
597
+ latitude: number;
598
+ longitude: number;
599
+ floor: string | undefined;
600
+ verticalOffset: number;
601
+ }[];
602
+ floors: string[];
603
+ };
604
+ destroy(): void;
605
+ "__#57@#private": any;
606
+ readonly id: string;
607
+ links: {
608
+ "__#22@#private": any;
609
+ readonly url: string;
610
+ readonly name: string | undefined;
611
+ toJSON(): {
612
+ id: string;
613
+ url: string;
614
+ name: string | undefined;
615
+ };
616
+ destroy(): void;
617
+ readonly id: string;
618
+ }[];
619
+ images: {
620
+ "__#23@#private": any;
621
+ readonly url: string | undefined;
622
+ readonly name: string | undefined;
623
+ readonly altText: string | undefined;
624
+ toJSON(): {
625
+ id: string;
626
+ url: string | undefined;
627
+ name: string | undefined;
628
+ };
629
+ destroy(): void;
630
+ readonly id: string;
631
+ }[];
632
+ readonly geoJSONBoundingBox: {};
633
+ readonly geoJSON: {
634
+ properties: null;
635
+ type: string;
636
+ geometry: {};
637
+ };
638
+ }[];
639
+ readonly annotations: {
640
+ "__#21@#private": any;
641
+ readonly __type: "annotation";
642
+ readonly group: string;
643
+ readonly type: string;
644
+ readonly externalId: string;
645
+ readonly coordinate: Coordinate;
646
+ readonly floor: Floor;
647
+ readonly locationProfiles: /*elided*/ any[];
648
+ readonly geoJSON: {
649
+ properties: null;
650
+ type: import("@mappedin/mvf").FeatureType;
651
+ geometry: import("@mappedin/mvf").Point;
652
+ };
653
+ readonly focusTarget: Coordinate;
654
+ readonly anchorTarget: Coordinate;
655
+ toJSON(): {
656
+ id: string;
657
+ group: string;
658
+ type: string;
659
+ coordinate: {
660
+ latitude: number;
661
+ longitude: number;
662
+ floor: string | undefined;
663
+ verticalOffset: number;
664
+ };
665
+ };
666
+ destroy(): void;
667
+ "__#57@#private": any;
668
+ readonly id: string;
669
+ links: {
670
+ "__#22@#private": any;
671
+ readonly url: string;
672
+ readonly name: string | undefined;
673
+ toJSON(): {
674
+ id: string;
675
+ url: string;
676
+ name: string | undefined;
677
+ };
678
+ destroy(): void;
679
+ readonly id: string;
680
+ }[];
681
+ images: {
682
+ "__#23@#private": any;
683
+ readonly url: string | undefined;
684
+ readonly name: string | undefined;
685
+ readonly altText: string | undefined;
686
+ toJSON(): {
687
+ id: string;
688
+ url: string | undefined;
689
+ name: string | undefined;
690
+ };
691
+ destroy(): void;
692
+ readonly id: string;
693
+ }[];
694
+ readonly geoJSONBoundingBox: {};
695
+ }[];
696
+ readonly categories: LocationCategory[];
697
+ readonly mapObjects: import("@mappedin/mappedin-js/mappedin-js/src/map-data-objects/object").MapObject[];
698
+ readonly focusTarget: import("@mappedin/mappedin-js/mappedin-js/src/types").TFocusTarget[];
699
+ readonly openingHours: import("@mappedin/mappedin-js/mappedin-js/src/map-data-objects/opening-hours").OpeningHours;
700
+ readonly navigationTarget: import("@mappedin/mappedin-js/mappedin-js/src/types").TNavigationTarget[];
701
+ toJSON(): {
702
+ id: string;
703
+ name: string;
704
+ };
705
+ }[];
135
706
  readonly geoJSON: {
136
707
  properties: null;
137
708
  type: import("@mappedin/mvf").FeatureType;
@@ -147,9 +718,11 @@ declare class RootStore {
147
718
  latitude: number;
148
719
  longitude: number;
149
720
  floor: string | undefined;
721
+ verticalOffset: number;
150
722
  };
151
723
  };
152
724
  destroy(): void;
725
+ "__#57@#private": any;
153
726
  readonly id: string;
154
727
  links: {
155
728
  "__#22@#private": any;
@@ -176,6 +749,7 @@ declare class RootStore {
176
749
  destroy(): void;
177
750
  readonly id: string;
178
751
  }[];
752
+ readonly geoJSONBoundingBox: {};
179
753
  }[];
180
754
  get nonEmptyFloors(): Floor[];
181
755
  /**
@@ -184,6 +758,7 @@ declare class RootStore {
184
758
  get floorsSortedByElevation(): Floor[];
185
759
  get floorClosestToGroundLevel(): Floor;
186
760
  get selectedPlaces(): Place[] | undefined;
761
+ get selectedCategory(): LocationCategory | undefined;
187
762
  get selectedMVFFeatures(): Feature<MVFGeometry, {
188
763
  id: string;
189
764
  }>[] | undefined;
@@ -201,6 +776,10 @@ declare class RootStore {
201
776
  * Try and find a {@link Floor} by ID or name.
202
777
  */
203
778
  resolveFloor(query: string): Floor | undefined;
779
+ /**
780
+ * Try and find a {@link LocationCategory} by ID or name.
781
+ */
782
+ resolveCategory(query: string): LocationCategory | undefined;
204
783
  updateConfigName(configName: string): void;
205
784
  serializeCoordinate(coordinate: Coordinate): string;
206
785
  deserializeCoordinate(serializedCoordinate: string, options?: Partial<{
@@ -223,6 +802,7 @@ declare class RootStore {
223
802
  }>): void;
224
803
  setCurrentFloor(floor: Floor | undefined): void;
225
804
  setDepartureMode(mode: E_DEPARTURE_MODE): void;
805
+ setSelectedCategory(category: LocationCategory | undefined): void;
226
806
  setIsAppMobile(isMobile: boolean): void;
227
807
  setIsAppMini(isMini: boolean): void;
228
808
  setIsAccessible(isAccessible: boolean): void;