@mapsindoors/map-template 1.95.7 → 1.95.9

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 (59) hide show
  1. package/dist/{GoogleMapsMap-mNXwkS5r.mjs → GoogleMapsMap-CV6Wgkhg.mjs} +2 -2
  2. package/dist/{MapboxMap-JSpSXMbZ.mjs → MapboxMap-EuKWsGtq.mjs} +2 -2
  3. package/dist/favicon.png +0 -0
  4. package/dist/logo-192.png +0 -0
  5. package/dist/manifest.json +21 -0
  6. package/dist/mapsindoors-react.es.js +1 -1
  7. package/dist/mapsindoors-react.umd.js +236 -198
  8. package/dist/mapsindoors-webcomponent.es.js +51553 -42031
  9. package/dist/reactcomponent-DcNpL3XF.mjs +37841 -0
  10. package/dist/robots.txt +3 -0
  11. package/package.json +5 -6
  12. package/dist/_commonjsHelpers-B85MJLTf.js +0 -5
  13. package/dist/app-globals-DQuL1Twl.js +0 -3
  14. package/dist/combo-box-item.entry.js +0 -13
  15. package/dist/icon-DT_sDkmK.js +0 -11
  16. package/dist/index-BZQHyS7V.js +0 -1701
  17. package/dist/index.js +0 -1
  18. package/dist/loader.js +0 -11
  19. package/dist/mi-card_2.entry.js +0 -33
  20. package/dist/mi-chip.entry.js +0 -31
  21. package/dist/mi-column.entry.js +0 -52
  22. package/dist/mi-combo-box.entry.js +0 -449
  23. package/dist/mi-components.js +0 -21
  24. package/dist/mi-data-table.entry.js +0 -324
  25. package/dist/mi-distance_2.entry.js +0 -69
  26. package/dist/mi-dropdown-item.entry.js +0 -13
  27. package/dist/mi-dropdown.entry.js +0 -656
  28. package/dist/mi-floor-selector.entry.js +0 -209
  29. package/dist/mi-keyboard.entry.js +0 -261
  30. package/dist/mi-list-item-category.entry.js +0 -51
  31. package/dist/mi-list-item-location.entry.js +0 -177
  32. package/dist/mi-list.entry.js +0 -68
  33. package/dist/mi-location-booking.entry.js +0 -5218
  34. package/dist/mi-location-info.entry.js +0 -71
  35. package/dist/mi-map-googlemaps.entry.js +0 -795
  36. package/dist/mi-map-mapbox.entry.js +0 -530
  37. package/dist/mi-metric-card.entry.js +0 -61
  38. package/dist/mi-my-position.entry.js +0 -2457
  39. package/dist/mi-notification.entry.js +0 -137
  40. package/dist/mi-route-instructions-heading.entry.js +0 -78
  41. package/dist/mi-route-instructions-maneuver-legacy.entry.js +0 -86
  42. package/dist/mi-route-instructions-maneuver.entry.js +0 -86
  43. package/dist/mi-route-instructions-step-legacy.entry.js +0 -322
  44. package/dist/mi-route-instructions-step.entry.js +0 -342
  45. package/dist/mi-route-instructions.entry.js +0 -176
  46. package/dist/mi-scroll-buttons.entry.js +0 -120
  47. package/dist/mi-search.entry.js +0 -429
  48. package/dist/mi-share-sms.entry.js +0 -94
  49. package/dist/mi-step-switcher.entry.js +0 -40
  50. package/dist/mi-tab-panel.entry.js +0 -25
  51. package/dist/mi-tab.entry.js +0 -10
  52. package/dist/mi-tabs.entry.js +0 -49
  53. package/dist/mi-time.entry.js +0 -57
  54. package/dist/mi-variables-CDNvnTkH.js +0 -5
  55. package/dist/reactcomponent-BrPGG2Eb.mjs +0 -29048
  56. package/dist/route-travel-mode.enum-BvqP1fpw.js +0 -9
  57. package/dist/sort-order.enum-jsLAbYWg.js +0 -566
  58. package/dist/unit-system.enum-BwPgAWqL.js +0 -7
  59. package/dist/utils-DNHzysQ6.js +0 -61
@@ -1,71 +0,0 @@
1
- import { r as registerInstance } from './index-BZQHyS7V.js';
2
-
3
- const locationInfoCss = () => `:host{display:block;color:#1f2937;font-weight:400;padding-bottom:0.25rem}`;
4
-
5
- const LocationInfo = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- /**
9
- * @description The word used for "Level" when showing level info. Default is "Level".
10
- */
11
- this.level = 'Level';
12
- /**
13
- * @description Whether to show the External ID.
14
- */
15
- this.showExternalId = true;
16
- /**
17
- * @description Whether to show the floor information. Default is true.
18
- */
19
- this.showFloor = true;
20
- }
21
- /**
22
- * Get locations info as a string.
23
- *
24
- * @returns {string}
25
- */
26
- getInfoString() {
27
- const details = [];
28
- // External Id
29
- if (this.location.properties.externalId && this.showExternalId) {
30
- details.push(this.location.properties.externalId);
31
- }
32
- // Floor name
33
- if (this.location.properties.floorName && this.showFloor) {
34
- details.push(`${this.level} ${this.location.properties.floorName}`);
35
- }
36
- // Building
37
- if (this.location.properties.building) {
38
- if (this.location.properties.venue) {
39
- // Check that venue and building is not named the same
40
- if (this.location.properties.venue.toLowerCase() !== this.location.properties.building.toLowerCase()) {
41
- details.push(this.location.properties.building);
42
- }
43
- }
44
- else {
45
- details.push(this.location.properties.building);
46
- }
47
- }
48
- // Venue
49
- if (this.location.properties.venue) {
50
- details.push(this.location.properties.venue);
51
- }
52
- // Subtitle
53
- if (this.location.properties.subtitle) {
54
- details.push(this.location.properties.subtitle);
55
- }
56
- return details.join(' · ');
57
- }
58
- /**
59
- * Renders location list-info.
60
- *
61
- * @description Render location list-info.
62
- * @returns {JSX.Element}
63
- */
64
- render() {
65
- var _a;
66
- return (((_a = this.location) === null || _a === void 0 ? void 0 : _a.properties) ? this.getInfoString() : null);
67
- }
68
- };
69
- LocationInfo.style = locationInfoCss();
70
-
71
- export { LocationInfo as mi_location_info };