@woosmap/ui 3.168.0 → 3.170.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@woosmap/ui",
3
- "version": "3.168.0",
3
+ "version": "3.170.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/WebGeoServices/ui.git"
@@ -49,14 +49,14 @@ export default class DistanceDemo extends Component {
49
49
  const defaultLang = languages.find((item) => lang.startsWith(item.value));
50
50
 
51
51
  this.defaultOrigin = {
52
- public_id: 'milano',
53
- description: 'Milan, Milano, Italie',
54
- location: { lat: 45.46419429317345, lng: 9.189634535335927 },
52
+ public_id: 'eastham',
53
+ description: 'Eastham Village, Merseyide, United Kingdom',
54
+ location: { lat: 53.31446402615734, lng: -2.9599091366015955 },
55
55
  };
56
56
  this.defaultDestination = {
57
- public_id: 'linate',
58
- description: 'Linate, Peschiera Borromeo, Italie',
59
- location: { lat: 45.446776949835964, lng: 9.272510686783079 },
57
+ public_id: 'liverpool',
58
+ description: 'Liverpool John Lennon Airport, United Kingdom',
59
+ location: { lat: 53.333599, lng: -2.84972 },
60
60
  };
61
61
 
62
62
  this.state = {
@@ -180,7 +180,7 @@ export default class DistanceDemo extends Component {
180
180
  destination: `${destinationLocation.lat},${destinationLocation.lng}`,
181
181
  language,
182
182
  units: unit.value,
183
- method: method.value,
183
+ method: travelMode.value === 'driving' ? method.value : 'distance',
184
184
  mode: travelMode.value,
185
185
  alternatives,
186
186
  };
@@ -307,6 +307,7 @@ import { ReactComponent as IndoorInteriorDecoration } from '../../icons/indoor-i
307
307
  import { ReactComponent as IndoorJewelry } from '../../icons/indoor-jewelry.svg';
308
308
  import { ReactComponent as IndoorKitchen } from '../../icons/indoor-kitchen.svg';
309
309
  import { ReactComponent as IndoorLaboratory } from '../../icons/indoor-laboratory.svg';
310
+ import { ReactComponent as IndoorLevel } from '../../icons/indoor-level.svg';
310
311
  import { ReactComponent as IndoorLounge } from '../../icons/indoor-lounge.svg';
311
312
  import { ReactComponent as IndoorMeeting } from '../../icons/indoor-meeting.svg';
312
313
  import { ReactComponent as IndoorNewsagent } from '../../icons/indoor-newsagent.svg';
@@ -636,6 +637,7 @@ const ConsoleIcons = {
636
637
  'indoor-jewelry': IndoorJewelry,
637
638
  'indoor-kitchen': IndoorKitchen,
638
639
  'indoor-laboratory': IndoorLaboratory,
640
+ 'indoor-level': IndoorLevel,
639
641
  'indoor-lounge': IndoorLounge,
640
642
  'indoor-meeting': IndoorMeeting,
641
643
  'indoor-newsagent': IndoorNewsagent,
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 42 42"><path d="M37.022 4.111H26.34a.8.8 0 0 0-.8.8v9.882h-9.881a.8.8 0 0 0-.8.8v10.015H4.978a.8.8 0 0 0-.8.8V37.09a.8.8 0 0 0 1.6 0v-9.882h9.881a.8.8 0 0 0 .8-.8c0-.024-.011-.043-.013-.066.002-.023.013-.043.013-.066v-9.882h9.882a.8.8 0 0 0 .8-.8V5.711h9.882a.8.8 0 1 0 0-1.6Z"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 42 42"><path d="M21.569 2.069c-7.481 0-13.567 6.086-13.567 13.566 0 4.98 3.133 8.678 6.164 12.253 2.78 3.279 5.406 6.378 5.406 10.196 0 1.069.84 1.846 1.998 1.846 1.139 0 1.998-.793 1.998-1.846 0-3.818 2.626-6.917 5.406-10.196 3.03-3.575 6.163-7.272 6.163-12.253 0-7.48-6.086-13.566-13.567-13.566Zm6.183 24.784c-2.844 3.356-5.785 6.826-5.785 11.231 0 .229-.305.246-.398.246-.182 0-.398-.043-.398-.246 0-4.405-2.941-7.875-5.785-11.231-2.843-3.354-5.784-6.824-5.784-11.218 0-6.599 5.369-11.967 11.967-11.967s11.967 5.368 11.967 11.967c0 4.394-2.94 7.863-5.784 11.218Z"/><path d="M29.168 16.637c.255-.409.284-.854.082-1.285l-.063-.132-.013-.013c-.286-.503-.849-.979-1.654-1.422.791-.315 1.367-.701 1.649-1.147.255-.408.283-.853.082-1.285l-.076-.145c-.899-1.609-4.188-2.85-7.622-2.85H21.5c-3.555.008-6.91 1.334-7.638 3.019-.188.435-.146.875.117 1.265.286.435.858.813 1.633 1.123-.901.495-1.5 1.034-1.749 1.61-.189.435-.147.875.116 1.266.283.431.848.804 1.611 1.113-.721.398-1.433.938-1.727 1.618-.187.431-.146.869.117 1.269.809 1.229 3.805 2.023 7.633 2.023s6.778-.794 7.557-2.027c.255-.408.283-.853.082-1.285l-.076-.145c-.289-.513-.842-.991-1.64-1.43.783-.313 1.354-.697 1.634-1.141Zm-7.667-6.679h.051c3.263 0 5.617 1.192 6.163 1.934-.469.396-2.355 1.174-6.104 1.174-3.773 0-5.7-.789-6.195-1.199.537-.734 2.839-1.9 6.085-1.908Zm.11 11.106c-3.779 0-5.707-.792-6.195-1.197.183-.235.605-.568 1.335-.913 2.949.774 6.63.791 9.61.018.738.351 1.166.687 1.351.921-.475.397-2.36 1.172-6.101 1.172Zm0-3.999c-3.761 0-5.688-.784-6.19-1.196.174-.217.563-.524 1.23-.854 1.403.349 3.11.532 4.96.532 1.815 0 3.487-.177 4.86-.513.674.335 1.067.646 1.241.86-.526.451-2.635 1.17-6.101 1.17Z"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 42 42"><path d="M21 40.73a.794.794 0 0 1-.565-.234L9.551 29.612c-3.059-3.059-4.743-7.125-4.743-11.45S6.493 9.77 9.551 6.713c3.058-3.059 7.125-4.743 11.45-4.743s8.392 1.685 11.45 4.743c3.058 3.058 4.743 7.124 4.743 11.449s-1.685 8.392-4.743 11.45L21.566 40.496a.797.797 0 0 1-.565.234Zm0-37.161a14.5 14.5 0 0 0-10.318 4.274c-2.756 2.756-4.274 6.421-4.274 10.318s1.518 7.562 4.274 10.319L21 38.798 31.318 28.48c2.756-2.757 4.274-6.421 4.274-10.319s-1.518-7.562-4.274-10.318a14.498 14.498 0 0 0-10.319-4.274Z"/><path d="M28.604 19.288c.255-.409.284-.854.082-1.285l-.063-.132-.013-.013c-.286-.503-.849-.979-1.654-1.422.791-.315 1.367-.701 1.649-1.147.255-.408.283-.853.082-1.285l-.076-.145c-.899-1.609-4.188-2.85-7.622-2.85h-.053c-3.555.008-6.91 1.334-7.638 3.019-.188.435-.146.875.117 1.265.286.435.858.813 1.633 1.123-.901.495-1.5 1.034-1.749 1.61-.189.435-.147.875.116 1.266.283.431.848.804 1.611 1.113-.721.398-1.433.938-1.727 1.618-.187.431-.146.869.117 1.269.809 1.229 3.805 2.023 7.633 2.023s6.778-.794 7.557-2.027c.255-.408.283-.853.082-1.285l-.076-.145c-.289-.513-.842-.991-1.64-1.43.783-.313 1.354-.697 1.634-1.141Zm-7.667-6.679h.051c3.263 0 5.617 1.192 6.163 1.934-.469.396-2.355 1.174-6.104 1.174-3.773 0-5.7-.789-6.195-1.199.537-.734 2.839-1.9 6.085-1.908Zm.11 11.106c-3.779 0-5.707-.792-6.195-1.197.183-.235.605-.568 1.335-.913 2.949.774 6.63.791 9.61.018.738.351 1.166.687 1.351.921-.475.397-2.36 1.172-6.101 1.172Zm0-3.999c-3.761 0-5.688-.784-6.19-1.196.174-.217.563-.524 1.23-.854 1.403.349 3.11.532 4.96.532 1.815 0 3.487-.177 4.86-.513.674.335 1.067.646 1.241.86-.526.451-2.635 1.17-6.101 1.17Z"/></svg>