@woosmap/ui 4.186.0 → 4.187.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 +1 -1
- package/src/components/Card/Card.js +0 -5
- package/src/components/Card/Card.stories.js +0 -6
- package/src/components/Demo/Showcase.stories.js +0 -4
- package/src/components/Demo/skeletondemo.styl +1 -4
- package/src/components/Icon/Icon.js +0 -2
- package/src/components/Icon/WebSiteIcon.js +511 -0
- package/src/components/Label/Label.js +0 -1
- package/src/components/Tooltip/Tooltip.js +0 -1
- package/src/components/UseCase/UseCase.js +0 -2
- package/src/index.js +0 -1
- package/src/website.js +2 -6
- package/src/components/Demo/MerchantDemo.js +0 -633
- package/src/components/Demo/MerchantDemo.stories.js +0 -26
- package/src/components/Demo/MerchantDemo.styl +0 -223
package/package.json
CHANGED
|
@@ -15,7 +15,6 @@ import distanceImg from '../../images/products/product-distance.png';
|
|
|
15
15
|
import addressImg from '../../images/products/product-address.png';
|
|
16
16
|
import mapImg from '../../images/products/product-map.png';
|
|
17
17
|
import trafficImg from '../../images/products/product-traffic.png';
|
|
18
|
-
import merchantImg from '../../images/products/product-merchant.png';
|
|
19
18
|
import indoorImg from '../../images/products/product-indoor.png';
|
|
20
19
|
import what3wordsImg from '../../images/products/product-what3words.png';
|
|
21
20
|
import transitImg from '../../images/products/product-transit.png';
|
|
@@ -30,7 +29,6 @@ import distanceImgSq from '../../images/products/product-distance-sq.png';
|
|
|
30
29
|
import addressImgSq from '../../images/products/product-address-sq.png';
|
|
31
30
|
import mapImgSq from '../../images/products/product-map-sq.png';
|
|
32
31
|
import trafficImgSq from '../../images/products/product-traffic-sq.png';
|
|
33
|
-
import merchantImgSq from '../../images/products/product-merchant-sq.png';
|
|
34
32
|
import indoorImgSq from '../../images/products/product-indoor-sq.png';
|
|
35
33
|
import what3wordsImgSq from '../../images/products/product-what3words-sq.png';
|
|
36
34
|
import transitImgSq from '../../images/products/product-transit-sq.png';
|
|
@@ -47,7 +45,6 @@ const productImg = {
|
|
|
47
45
|
ADDRESS: addressImg,
|
|
48
46
|
MAP: mapImg,
|
|
49
47
|
TRAFFIC: trafficImg,
|
|
50
|
-
MERCHANTS: merchantImg,
|
|
51
48
|
INDOOR: indoorImg,
|
|
52
49
|
W3W: what3wordsImg,
|
|
53
50
|
TRANSIT: transitImg,
|
|
@@ -64,7 +61,6 @@ const productImgSq = {
|
|
|
64
61
|
ADDRESS: addressImgSq,
|
|
65
62
|
MAP: mapImgSq,
|
|
66
63
|
TRAFFIC: trafficImgSq,
|
|
67
|
-
MERCHANTS: merchantImgSq,
|
|
68
64
|
INDOOR: indoorImgSq,
|
|
69
65
|
W3W: what3wordsImgSq,
|
|
70
66
|
TRANSIT: transitImgSq,
|
|
@@ -332,7 +328,6 @@ Card.propTypes = {
|
|
|
332
328
|
'ADDRESS',
|
|
333
329
|
'MAP',
|
|
334
330
|
'TRAFFIC',
|
|
335
|
-
'MERCHANTS',
|
|
336
331
|
'LOCALITIES',
|
|
337
332
|
'INDOOR',
|
|
338
333
|
'W3W',
|
|
@@ -88,9 +88,6 @@ function SimpleCardTemplate() {
|
|
|
88
88
|
<Tooltip text="Mapping" direction="n" product="STORES">
|
|
89
89
|
<Label round size="nano" label="Mg" tooltip="Mapping" product="STORES" />
|
|
90
90
|
</Tooltip>
|
|
91
|
-
<Tooltip text="Merchant" direction="n" product="MERCHANTS">
|
|
92
|
-
<Label round size="nano" label="Me" tooltip="Merchant" product="MERCHANTS" />
|
|
93
|
-
</Tooltip>
|
|
94
91
|
</SimpleCard>
|
|
95
92
|
</>
|
|
96
93
|
);
|
|
@@ -119,9 +116,6 @@ function SimpleCardSelectedTemplate() {
|
|
|
119
116
|
<Tooltip text="Mapping" direction="n" product="STORES">
|
|
120
117
|
<Label round size="nano" label="Mg" tooltip="Mapping" product="STORES" />
|
|
121
118
|
</Tooltip>
|
|
122
|
-
<Tooltip text="Merchant" direction="n" product="MERCHANTS">
|
|
123
|
-
<Label round size="nano" label="Me" tooltip="Merchant" product="MERCHANTS" />
|
|
124
|
-
</Tooltip>
|
|
125
119
|
</SimpleCard>
|
|
126
120
|
);
|
|
127
121
|
}
|
|
@@ -2,7 +2,6 @@ import React, { Component } from 'react';
|
|
|
2
2
|
import DistanceDemo from './DistanceDemo';
|
|
3
3
|
import GeolocationDemo from './GeolocationDemo';
|
|
4
4
|
import LocalitiesDemo from './LocalitiesAllDemo';
|
|
5
|
-
import MerchantDemo from './MerchantDemo';
|
|
6
5
|
import MapDemo from './MapDemo';
|
|
7
6
|
import SearchDemo from './SearchDemo';
|
|
8
7
|
import { changeLanguage } from '../utils/locale';
|
|
@@ -32,7 +31,6 @@ class IframeCommunication extends Component {
|
|
|
32
31
|
name: 'showcase',
|
|
33
32
|
height: document.getElementById('root').offsetHeight + 20,
|
|
34
33
|
'localities-demo': document.getElementById('localities-demo').offsetTop,
|
|
35
|
-
'merchant-demo': document.getElementById('merchant-demo').offsetTop,
|
|
36
34
|
'geolocation-demo': document.getElementById('geolocation-demo').offsetTop,
|
|
37
35
|
'search-demo': document.getElementById('search-demo').offsetTop,
|
|
38
36
|
'distance-demo': document.getElementById('distance-demo').offsetTop,
|
|
@@ -65,7 +63,6 @@ function Template() {
|
|
|
65
63
|
<TrackEventContext.Provider value={trackEvent}>
|
|
66
64
|
<LocalitiesDemo />
|
|
67
65
|
<SearchDemo />
|
|
68
|
-
<MerchantDemo />
|
|
69
66
|
<MapDemo />
|
|
70
67
|
<DistanceDemo />
|
|
71
68
|
<GeolocationDemo />
|
|
@@ -83,7 +80,6 @@ function TemplateEn() {
|
|
|
83
80
|
<TrackEventContext.Provider value={trackEvent}>
|
|
84
81
|
<LocalitiesDemo />
|
|
85
82
|
<SearchDemo />
|
|
86
|
-
<MerchantDemo />
|
|
87
83
|
<MapDemo />
|
|
88
84
|
<DistanceDemo />
|
|
89
85
|
<GeolocationDemo />
|
|
@@ -20,8 +20,7 @@
|
|
|
20
20
|
position relative
|
|
21
21
|
// box-shadow 0 0 3rem rgba($logo2, .15)
|
|
22
22
|
box-shadow 0 .3rem 1rem rgba($secondary, .15)
|
|
23
|
-
|
|
24
|
-
border .1rem solid $light
|
|
23
|
+
|
|
25
24
|
&__showcase
|
|
26
25
|
&__data
|
|
27
26
|
display flex
|
|
@@ -369,5 +368,3 @@
|
|
|
369
368
|
border-right 0
|
|
370
369
|
&__map
|
|
371
370
|
height 32rem
|
|
372
|
-
.demo--merchant &
|
|
373
|
-
height auto
|
|
@@ -210,7 +210,6 @@ import { ReactComponent as Geolocation } from '../../icons/geolocation.svg';
|
|
|
210
210
|
import { ReactComponent as Localities } from '../../icons/localities.svg';
|
|
211
211
|
import { ReactComponent as Map } from '../../icons/map.svg';
|
|
212
212
|
|
|
213
|
-
import { ReactComponent as Merchant } from '../../icons/merchant.svg';
|
|
214
213
|
import { ReactComponent as Stores } from '../../icons/stores.svg';
|
|
215
214
|
import { ReactComponent as Traffic } from '../../icons/traffic.svg';
|
|
216
215
|
import { ReactComponent as Geofencing } from '../../icons/geofencing.svg';
|
|
@@ -817,7 +816,6 @@ const ProductsIcons = {
|
|
|
817
816
|
localities: Localities,
|
|
818
817
|
mapping: Mapping,
|
|
819
818
|
maps: Map,
|
|
820
|
-
merchant: Merchant,
|
|
821
819
|
multisearch: MultiSearch,
|
|
822
820
|
storelocator: StoreLocator,
|
|
823
821
|
stores: Stores,
|
|
@@ -0,0 +1,511 @@
|
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
import cl from 'classnames';
|
|
3
|
+
import PropTypes from 'prop-types';
|
|
4
|
+
import { ReactComponent as MarkerPadLock } from '../../icons/marker-pad-lock.svg';
|
|
5
|
+
import { ReactComponent as MarkerRouteTruck } from '../../icons/marker-route-truck.svg';
|
|
6
|
+
import { ReactComponent as ArrowsMarker } from '../../icons/arrows-marker.svg';
|
|
7
|
+
import { ReactComponent as CloudMarkerArrow } from '../../icons/cloud-marker-arrow.svg';
|
|
8
|
+
import { ReactComponent as SignalMarker } from '../../icons/signal-marker.svg';
|
|
9
|
+
import { ReactComponent as LikeMarker } from '../../icons/like-marker.svg';
|
|
10
|
+
import { ReactComponent as UserCentric } from '../../icons/user-centric.svg';
|
|
11
|
+
import { ReactComponent as CreditCardCheck } from '../../icons/credit-card-check.svg';
|
|
12
|
+
import { ReactComponent as PuzzlesPlus } from '../../icons/puzzles-plus.svg';
|
|
13
|
+
import { ReactComponent as Autocomplete } from '../../icons/autocomplete.svg';
|
|
14
|
+
import { ReactComponent as AutocompleteCheck } from '../../icons/autocomplete-check.svg';
|
|
15
|
+
import { ReactComponent as Automotive } from '../../icons/automotive.svg';
|
|
16
|
+
import { ReactComponent as Buildings } from '../../icons/buildings.svg';
|
|
17
|
+
import { ReactComponent as Battery } from '../../icons/battery.svg';
|
|
18
|
+
import { ReactComponent as Blog } from '../../icons/blog.svg';
|
|
19
|
+
import { ReactComponent as Book } from '../../icons/book.svg';
|
|
20
|
+
import { ReactComponent as Calendar } from '../../icons/calendar.svg';
|
|
21
|
+
import { ReactComponent as Care } from '../../icons/care.svg';
|
|
22
|
+
import { ReactComponent as Cars } from '../../icons/cars.svg';
|
|
23
|
+
import { ReactComponent as Cb } from '../../icons/cb.svg';
|
|
24
|
+
import { ReactComponent as ChatLove } from '../../icons/chat-love.svg';
|
|
25
|
+
import { ReactComponent as ChatConversation } from '../../icons/chat-conversation.svg';
|
|
26
|
+
import { ReactComponent as CheckBig } from '../../icons/check-big.svg';
|
|
27
|
+
import { ReactComponent as CallToAction } from '../../icons/call-to-action.svg';
|
|
28
|
+
import { ReactComponent as CubeBig } from '../../icons/cube-big.svg';
|
|
29
|
+
import { ReactComponent as CustomersServices } from '../../icons/customers-services.svg';
|
|
30
|
+
import { ReactComponent as Customize } from '../../icons/customize.svg';
|
|
31
|
+
import { ReactComponent as DeliveryTime } from '../../icons/delivery-time.svg';
|
|
32
|
+
import { ReactComponent as DeliveryVan } from '../../icons/delivery-van.svg';
|
|
33
|
+
import { ReactComponent as Demo } from '../../icons/demo.svg';
|
|
34
|
+
import { ReactComponent as Ecommerce } from '../../icons/e-commerce.svg';
|
|
35
|
+
import { ReactComponent as ElectricCharge } from '../../icons/electric-charge.svg';
|
|
36
|
+
import { ReactComponent as Elephant } from '../../icons/elephant.svg';
|
|
37
|
+
import { ReactComponent as EmailContact } from '../../icons/email-contact.svg';
|
|
38
|
+
import { ReactComponent as Equalizer } from '../../icons/equalizer.svg';
|
|
39
|
+
import { ReactComponent as Escalator } from '../../icons/escalator.svg';
|
|
40
|
+
import { ReactComponent as Funnel } from '../../icons/funnel.svg';
|
|
41
|
+
import { ReactComponent as GasPump } from '../../icons/gas-pump.svg';
|
|
42
|
+
import { ReactComponent as Gdpr } from '../../icons/gdpr.svg';
|
|
43
|
+
import { ReactComponent as Github } from '../../icons/github.svg';
|
|
44
|
+
import { ReactComponent as Green } from '../../icons/green.svg';
|
|
45
|
+
import { ReactComponent as Heart } from '../../icons/heart.svg';
|
|
46
|
+
import { ReactComponent as HouseInsurance } from '../../icons/house-insurance.svg';
|
|
47
|
+
import { ReactComponent as IndoorOutdoor } from '../../icons/indoor-outdoor.svg';
|
|
48
|
+
import { ReactComponent as InformationRound } from '../../icons/information-round.svg';
|
|
49
|
+
import { ReactComponent as Institution } from '../../icons/institution.svg';
|
|
50
|
+
import { ReactComponent as Integrations } from '../../icons/integrations.svg';
|
|
51
|
+
import { ReactComponent as Itinerary } from '../../icons/itinerary.svg';
|
|
52
|
+
import { ReactComponent as Like } from '../../icons/like.svg';
|
|
53
|
+
import { ReactComponent as Logistics } from '../../icons/logistics.svg';
|
|
54
|
+
import { ReactComponent as Lotus } from '../../icons/lotus.svg';
|
|
55
|
+
import { ReactComponent as Map3d } from '../../icons/map-3d.svg';
|
|
56
|
+
import { ReactComponent as MapHd } from '../../icons/map-hd.svg';
|
|
57
|
+
import { ReactComponent as MapIndoor } from '../../icons/map-indoor.svg';
|
|
58
|
+
import { ReactComponent as MapLocation } from '../../icons/map-location.svg';
|
|
59
|
+
import { ReactComponent as MapMarkers } from '../../icons/map-markers.svg';
|
|
60
|
+
import { ReactComponent as Markers } from '../../icons/markers.svg';
|
|
61
|
+
import { ReactComponent as MarkerArrow } from '../../icons/marker-arrow.svg';
|
|
62
|
+
import { ReactComponent as MarkerApp } from '../../icons/marker-app.svg';
|
|
63
|
+
import { ReactComponent as MarkerCreditCard } from '../../icons/marker-credit-card.svg';
|
|
64
|
+
import { ReactComponent as MarkerCity } from '../../icons/marker-city.svg';
|
|
65
|
+
import { ReactComponent as MarkerGeofence } from '../../icons/marker-geofence.svg';
|
|
66
|
+
import { ReactComponent as MarkerHouse } from '../../icons/marker-house.svg';
|
|
67
|
+
import { ReactComponent as MarkerInfinite } from '../../icons/markers-infinite.svg';
|
|
68
|
+
import { ReactComponent as MarkerMap } from '../../icons/marker-map.svg';
|
|
69
|
+
import { ReactComponent as MarkerMatrix } from '../../icons/marker-matrix.svg';
|
|
70
|
+
import { ReactComponent as MarkerMultiple } from '../../icons/marker-multiple.svg';
|
|
71
|
+
import { ReactComponent as MarkerPlay } from '../../icons/marker-play.svg';
|
|
72
|
+
import { ReactComponent as MarkerRoad } from '../../icons/marker-road.svg';
|
|
73
|
+
import { ReactComponent as MarkerSearch } from '../../icons/marker-search.svg';
|
|
74
|
+
import { ReactComponent as MarkerShop } from '../../icons/marker-shop.svg';
|
|
75
|
+
import { ReactComponent as MobileRocket } from '../../icons/mobile-rocket.svg';
|
|
76
|
+
import { ReactComponent as Notification } from '../../icons/notification.svg';
|
|
77
|
+
import { ReactComponent as NotificationPosition } from '../../icons/notification-position.svg';
|
|
78
|
+
import { ReactComponent as OpenSource } from '../../icons/open-source.svg';
|
|
79
|
+
import { ReactComponent as Package } from '../../icons/package.svg';
|
|
80
|
+
import { ReactComponent as PackageReturn } from '../../icons/package-return.svg';
|
|
81
|
+
import { ReactComponent as Parking } from '../../icons/parking.svg';
|
|
82
|
+
import { ReactComponent as PieChart } from '../../icons/pie-chart.svg';
|
|
83
|
+
import { ReactComponent as PlaceReview } from '../../icons/place-review.svg';
|
|
84
|
+
import { ReactComponent as Plane } from '../../icons/plane.svg';
|
|
85
|
+
import { ReactComponent as Position } from '../../icons/position.svg';
|
|
86
|
+
import { ReactComponent as PuzzleStar } from '../../icons/puzzle-star.svg';
|
|
87
|
+
import { ReactComponent as Quote } from '../../icons/quote.svg';
|
|
88
|
+
import { ReactComponent as Refresh } from '../../icons/refresh.svg';
|
|
89
|
+
import { ReactComponent as Repair } from '../../icons/repair.svg';
|
|
90
|
+
import { ReactComponent as Responsive } from '../../icons/responsive.svg';
|
|
91
|
+
import { ReactComponent as Restaurant } from '../../icons/restaurant.svg';
|
|
92
|
+
import { ReactComponent as Rocket } from '../../icons/rocket.svg';
|
|
93
|
+
import { ReactComponent as SaveTime } from '../../icons/save-time.svg';
|
|
94
|
+
import { ReactComponent as SaveMoney } from '../../icons/save-money.svg';
|
|
95
|
+
import { ReactComponent as SearchSettings } from '../../icons/search-settings.svg';
|
|
96
|
+
import { ReactComponent as SearchUser } from '../../icons/search-user.svg';
|
|
97
|
+
import { ReactComponent as Schedule } from '../../icons/schedule.svg';
|
|
98
|
+
import { ReactComponent as ScooterDelivery } from '../../icons/scooter-delivery.svg';
|
|
99
|
+
import { ReactComponent as SecuritPositionZone } from '../../icons/security-position-zone.svg';
|
|
100
|
+
import { ReactComponent as Security } from '../../icons/security.svg';
|
|
101
|
+
import { ReactComponent as SecurityTools } from '../../icons/security-tools.svg';
|
|
102
|
+
import { ReactComponent as SecurityStaff } from '../../icons/security-staff.svg';
|
|
103
|
+
import { ReactComponent as SecurityZone } from '../../icons/security-zone.svg';
|
|
104
|
+
import { ReactComponent as ServiceMarker } from '../../icons/service-marker.svg';
|
|
105
|
+
import { ReactComponent as ShakeHand } from '../../icons/shake-hand.svg';
|
|
106
|
+
import { ReactComponent as Shipping } from '../../icons/shipping.svg';
|
|
107
|
+
import { ReactComponent as Shop } from '../../icons/shop.svg';
|
|
108
|
+
import { ReactComponent as Speed } from '../../icons/speed.svg';
|
|
109
|
+
import { ReactComponent as StarBig } from '../../icons/star-big.svg';
|
|
110
|
+
import { ReactComponent as StarFilledBig } from '../../icons/star-filled-big.svg';
|
|
111
|
+
import { ReactComponent as SupportTime } from '../../icons/support-time.svg';
|
|
112
|
+
import { ReactComponent as Synchronization } from '../../icons/synchronization.svg';
|
|
113
|
+
import { ReactComponent as Taxi } from '../../icons/taxi.svg';
|
|
114
|
+
import { ReactComponent as Tools } from '../../icons/tools.svg';
|
|
115
|
+
import { ReactComponent as Travel } from '../../icons/travel.svg';
|
|
116
|
+
import { ReactComponent as TshirtMarker } from '../../icons/tshirt-marker.svg';
|
|
117
|
+
import { ReactComponent as UserProfile } from '../../icons/user-profile.svg';
|
|
118
|
+
import { ReactComponent as Wheelchair } from '../../icons/wheelchair.svg';
|
|
119
|
+
import { ReactComponent as Wifi } from '../../icons/wifi.svg';
|
|
120
|
+
import { ReactComponent as World } from '../../icons/world.svg';
|
|
121
|
+
import { ReactComponent as WorldLocation } from '../../icons/world-location.svg';
|
|
122
|
+
import { ReactComponent as WorldTime } from '../../icons/world-time.svg';
|
|
123
|
+
import { ReactComponent as WinPrize } from '../../icons/win-prize.svg';
|
|
124
|
+
import { ReactComponent as Zoom } from '../../icons/zoom.svg';
|
|
125
|
+
|
|
126
|
+
import { ReactComponent as ArrowLink } from '../../icons/arrow-link.svg';
|
|
127
|
+
|
|
128
|
+
import { ReactComponent as Woosmap } from '../../icons/woosmap.svg';
|
|
129
|
+
|
|
130
|
+
import { ReactComponent as MapRoute } from '../../icons/map-route.svg';
|
|
131
|
+
import { ReactComponent as MapWalk } from '../../icons/map-walk.svg';
|
|
132
|
+
import { ReactComponent as MapBike } from '../../icons/map-bike.svg';
|
|
133
|
+
import { ReactComponent as MapTrain } from '../../icons/map-train.svg';
|
|
134
|
+
import { ReactComponent as MapCar } from '../../icons/map-car.svg';
|
|
135
|
+
import { ReactComponent as MapSwitch } from '../../icons/map-switch.svg';
|
|
136
|
+
import { ReactComponent as MapItinerary } from '../../icons/map-itinerary.svg';
|
|
137
|
+
import { ReactComponent as MapClose } from '../../icons/map-close.svg';
|
|
138
|
+
import { ReactComponent as MapOrigin } from '../../icons/map-origin.svg';
|
|
139
|
+
import { ReactComponent as MapPin } from '../../icons/map-pin.svg';
|
|
140
|
+
import { ReactComponent as MapSearch } from '../../icons/map-search.svg';
|
|
141
|
+
import { ReactComponent as MapArrowTop } from '../../icons/map-arrow-top.svg';
|
|
142
|
+
import { ReactComponent as MapArrowBottom } from '../../icons/map-arrow-bottom.svg';
|
|
143
|
+
import { ReactComponent as MapBus } from '../../icons/map-bus.svg';
|
|
144
|
+
import { ReactComponent as MapFerry } from '../../icons/map-ferry.svg';
|
|
145
|
+
import { ReactComponent as MapFlight } from '../../icons/map-flight.svg';
|
|
146
|
+
import { ReactComponent as MapSubway } from '../../icons/map-subway.svg';
|
|
147
|
+
import { ReactComponent as MapLightRail } from '../../icons/map-lightrail.svg';
|
|
148
|
+
import { ReactComponent as MapHighSpeedTrain } from '../../icons/map-high-speed-train.svg';
|
|
149
|
+
import { ReactComponent as MapCrosshair } from '../../icons/map-crosshair.svg';
|
|
150
|
+
import { ReactComponent as MapCopy } from '../../icons/map-copy.svg';
|
|
151
|
+
import { ReactComponent as MarkerCoordinates } from '../../icons/marker-coordinates.svg';
|
|
152
|
+
import { ReactComponent as Crosshair } from '../../icons/crosshair.svg';
|
|
153
|
+
import { ReactComponent as EnvironmentalCare } from '../../icons/environmental-care.svg';
|
|
154
|
+
import { ReactComponent as Chart } from '../../icons/chart.svg';
|
|
155
|
+
import { ReactComponent as Earth } from '../../icons/earth.svg';
|
|
156
|
+
import { ReactComponent as CompetitionPrize } from '../../icons/competition-prize.svg';
|
|
157
|
+
import { ReactComponent as WorldLocations } from '../../icons/world-locations.svg';
|
|
158
|
+
import { ReactComponent as MapCursor } from '../../icons/map-cursor.svg';
|
|
159
|
+
import { ReactComponent as ZoneSplittedChecked } from '../../icons/zone-splitted-checked.svg';
|
|
160
|
+
import { ReactComponent as HandCode } from '../../icons/hand-code.svg';
|
|
161
|
+
import { ReactComponent as FormSuccess } from '../../icons/form-success.svg';
|
|
162
|
+
import { ReactComponent as MapIntegration } from '../../icons/map-integration.svg';
|
|
163
|
+
import { ReactComponent as HeartUx } from '../../icons/heart-ux.svg';
|
|
164
|
+
import { ReactComponent as MarkerSeo } from '../../icons/marker-seo.svg';
|
|
165
|
+
import { ReactComponent as ZoneChecked } from '../../icons/zone-checked.svg';
|
|
166
|
+
import { ReactComponent as ZoomPlus } from '../../icons/zoom-plus.svg';
|
|
167
|
+
import { ReactComponent as mobilePuzzleMarker } from '../../icons/mobile-puzzle-marker.svg';
|
|
168
|
+
import { ReactComponent as LikeChat } from '../../icons/like-chat.svg';
|
|
169
|
+
import { ReactComponent as Footprint } from '../../icons/footprint.svg';
|
|
170
|
+
import { ReactComponent as PackageMarker } from '../../icons/package-marker.svg';
|
|
171
|
+
import { ReactComponent as MarkerChecked } from '../../icons/marker-checked.svg';
|
|
172
|
+
import { ReactComponent as MobileLikeMarker } from '../../icons/mobile-like-marker.svg';
|
|
173
|
+
import { ReactComponent as MapPoi } from '../../icons/map-poi.svg';
|
|
174
|
+
import { ReactComponent as RouteInfo } from '../../icons/route-info.svg';
|
|
175
|
+
import { ReactComponent as InputsChecked } from '../../icons/inputs-checked.svg';
|
|
176
|
+
import { ReactComponent as DeliveryZone } from '../../icons/delivery-zone.svg';
|
|
177
|
+
import { ReactComponent as SearchSecurity } from '../../icons/search-security.svg';
|
|
178
|
+
import { ReactComponent as PuzzleMarkerEcosystem } from '../../icons/puzzle-marker-ecosystem.svg';
|
|
179
|
+
import { ReactComponent as ArrowsCrosshair } from '../../icons/arrows-crosshair.svg';
|
|
180
|
+
import { ReactComponent as MarkerData } from '../../icons/marker-data.svg';
|
|
181
|
+
import { ReactComponent as Itinenary } from '../../icons/itinenary.svg';
|
|
182
|
+
import { ReactComponent as PublicTransportsInformation } from '../../icons/public-transports-information.svg';
|
|
183
|
+
import { ReactComponent as RouteInformation } from '../../icons/route-information.svg';
|
|
184
|
+
import { ReactComponent as Transit } from '../../icons/transit.svg';
|
|
185
|
+
import { ReactComponent as PoiHighlight } from '../../icons/poi-highlight.svg';
|
|
186
|
+
import { ReactComponent as MapCustomization } from '../../icons/map-customization.svg';
|
|
187
|
+
import { ReactComponent as MapHeart } from '../../icons/map-heart.svg';
|
|
188
|
+
import { ReactComponent as ArrowsCloud } from '../../icons/arrows-cloud.svg';
|
|
189
|
+
import { ReactComponent as ClientService } from '../../icons/client-service.svg';
|
|
190
|
+
import { ReactComponent as ClockNotification } from '../../icons/clock-notification.svg';
|
|
191
|
+
import { ReactComponent as CloudCrosshair } from '../../icons/cloud-crosshair.svg';
|
|
192
|
+
import { ReactComponent as CloudData } from '../../icons/cloud-data.svg';
|
|
193
|
+
import { ReactComponent as ConsoleSettings } from '../../icons/console-settings.svg';
|
|
194
|
+
import { ReactComponent as DataCloud } from '../../icons/data-cloud.svg';
|
|
195
|
+
import { ReactComponent as EarthClock } from '../../icons/earth-clock.svg';
|
|
196
|
+
import { ReactComponent as LocationInfo } from '../../icons/location-info.svg';
|
|
197
|
+
import { ReactComponent as LogisticsRoute } from '../../icons/logistics-route.svg';
|
|
198
|
+
import { ReactComponent as MapIndoorCloudArrows } from '../../icons/map-indoor-cloud-arrows.svg';
|
|
199
|
+
import { ReactComponent as MapIndoorCustomize } from '../../icons/map-indoor-customize.svg';
|
|
200
|
+
import { ReactComponent as MapIndoorMarker } from '../../icons/map-indoor-marker.svg';
|
|
201
|
+
import { ReactComponent as MapIndoorRoute } from '../../icons/map-indoor-route.svg';
|
|
202
|
+
import { ReactComponent as MarkerCrosshair } from '../../icons/marker-crosshair.svg';
|
|
203
|
+
import { ReactComponent as MavigationArrow } from '../../icons/navigation-arrow.svg';
|
|
204
|
+
import { ReactComponent as NotificationMarker } from '../../icons/notification-marker.svg';
|
|
205
|
+
import { ReactComponent as RouteSignUserStar } from '../../icons/route-sign-user-star.svg';
|
|
206
|
+
import { ReactComponent as SearchCheckFast } from '../../icons/search-check-fast.svg';
|
|
207
|
+
import { ReactComponent as SquarePadlock } from '../../icons/square-padlock.svg';
|
|
208
|
+
import { ReactComponent as StockAvailability } from '../../icons/stock-availability.svg';
|
|
209
|
+
import { ReactComponent as StoreGog } from '../../icons/store-cog.svg';
|
|
210
|
+
import { ReactComponent as StoreInfo } from '../../icons/store-info.svg';
|
|
211
|
+
|
|
212
|
+
import { ReactComponent as Stores } from '../../icons/stores.svg';
|
|
213
|
+
import { ReactComponent as Traffic } from '../../icons/traffic.svg';
|
|
214
|
+
import { ReactComponent as Geofencing } from '../../icons/geofencing.svg';
|
|
215
|
+
import { ReactComponent as StoreLocator } from '../../icons/storelocator.svg';
|
|
216
|
+
import { ReactComponent as MultiSearch } from '../../icons/multisearch.svg';
|
|
217
|
+
import { ReactComponent as Mapping } from '../../icons/mapping.svg';
|
|
218
|
+
import { ReactComponent as Connectors } from '../../icons/connectors.svg';
|
|
219
|
+
import { ReactComponent as Showcases } from '../../icons/showcases.svg';
|
|
220
|
+
import { ReactComponent as Indoor } from '../../icons/indoor.svg';
|
|
221
|
+
import { ReactComponent as Address } from '../../icons/address.svg';
|
|
222
|
+
import { ReactComponent as Distance } from '../../icons/distance.svg';
|
|
223
|
+
import { ReactComponent as Geolocation } from '../../icons/geolocation.svg';
|
|
224
|
+
import { ReactComponent as Localities } from '../../icons/localities.svg';
|
|
225
|
+
import { ReactComponent as Map } from '../../icons/map.svg';
|
|
226
|
+
|
|
227
|
+
import { ReactComponent as SocialFacebook } from '../../icons/social-facebook.svg';
|
|
228
|
+
import { ReactComponent as SocialGithub } from '../../icons/social-github.svg';
|
|
229
|
+
import { ReactComponent as SocialGoogle } from '../../icons/social-google.svg';
|
|
230
|
+
import { ReactComponent as SocialLinkedin } from '../../icons/social-linkedin.svg';
|
|
231
|
+
import { ReactComponent as SocialTwitter } from '../../icons/social-twitter.svg';
|
|
232
|
+
|
|
233
|
+
const WebsiteIcons = {
|
|
234
|
+
autocomplete: Autocomplete,
|
|
235
|
+
'autocomplete-check': AutocompleteCheck,
|
|
236
|
+
automotive: Automotive,
|
|
237
|
+
'arrow-link': ArrowLink,
|
|
238
|
+
battery: Battery,
|
|
239
|
+
blog: Blog,
|
|
240
|
+
book: Book,
|
|
241
|
+
buildings: Buildings,
|
|
242
|
+
calendar: Calendar,
|
|
243
|
+
care: Care,
|
|
244
|
+
cars: Cars,
|
|
245
|
+
'call-to-action': CallToAction,
|
|
246
|
+
cb: Cb,
|
|
247
|
+
'check-big': CheckBig,
|
|
248
|
+
'chat-love': ChatLove,
|
|
249
|
+
'chat-conversation': ChatConversation,
|
|
250
|
+
'cube-big': CubeBig,
|
|
251
|
+
'customers-services': CustomersServices,
|
|
252
|
+
customize: Customize,
|
|
253
|
+
'delivery-time': DeliveryTime,
|
|
254
|
+
'delivery-van': DeliveryVan,
|
|
255
|
+
demo: Demo,
|
|
256
|
+
'e-commerce': Ecommerce,
|
|
257
|
+
'electric-charge': ElectricCharge,
|
|
258
|
+
elephant: Elephant,
|
|
259
|
+
'email-contact': EmailContact,
|
|
260
|
+
equalizer: Equalizer,
|
|
261
|
+
escalator: Escalator,
|
|
262
|
+
funnel: Funnel,
|
|
263
|
+
'gas-pump': GasPump,
|
|
264
|
+
gdpr: Gdpr,
|
|
265
|
+
github: Github,
|
|
266
|
+
green: Green,
|
|
267
|
+
heart: Heart,
|
|
268
|
+
'house-insurance': HouseInsurance,
|
|
269
|
+
'indoor-outdoor': IndoorOutdoor,
|
|
270
|
+
'information-round': InformationRound,
|
|
271
|
+
institution: Institution,
|
|
272
|
+
integrations: Integrations,
|
|
273
|
+
itinerary: Itinerary,
|
|
274
|
+
like: Like,
|
|
275
|
+
lotus: Lotus,
|
|
276
|
+
logistics: Logistics,
|
|
277
|
+
'map-3d': Map3d,
|
|
278
|
+
'map-hd': MapHd,
|
|
279
|
+
'map-indoor': MapIndoor,
|
|
280
|
+
'map-location': MapLocation,
|
|
281
|
+
'map-markers': MapMarkers,
|
|
282
|
+
markers: Markers,
|
|
283
|
+
'marker-arrow': MarkerArrow,
|
|
284
|
+
'marker-app': MarkerApp,
|
|
285
|
+
'marker-credit-card': MarkerCreditCard,
|
|
286
|
+
'marker-city': MarkerCity,
|
|
287
|
+
'marker-geofence': MarkerGeofence,
|
|
288
|
+
'markers-infinite': MarkerInfinite,
|
|
289
|
+
'marker-house': MarkerHouse,
|
|
290
|
+
'marker-map': MarkerMap,
|
|
291
|
+
'marker-matrix': MarkerMatrix,
|
|
292
|
+
'marker-multiple': MarkerMultiple,
|
|
293
|
+
'marker-play': MarkerPlay,
|
|
294
|
+
'marker-road': MarkerRoad,
|
|
295
|
+
'marker-search': MarkerSearch,
|
|
296
|
+
'marker-shop': MarkerShop,
|
|
297
|
+
'mobile-rocket': MobileRocket,
|
|
298
|
+
notification: Notification,
|
|
299
|
+
'notification-position': NotificationPosition,
|
|
300
|
+
'open-source': OpenSource,
|
|
301
|
+
package: Package,
|
|
302
|
+
'package-return': PackageReturn,
|
|
303
|
+
parking: Parking,
|
|
304
|
+
'pie-chart': PieChart,
|
|
305
|
+
'place-review': PlaceReview,
|
|
306
|
+
plane: Plane,
|
|
307
|
+
position: Position,
|
|
308
|
+
'puzzle-star': PuzzleStar,
|
|
309
|
+
quote: Quote,
|
|
310
|
+
refresh: Refresh,
|
|
311
|
+
repair: Repair,
|
|
312
|
+
responsive: Responsive,
|
|
313
|
+
restaurant: Restaurant,
|
|
314
|
+
rocket: Rocket,
|
|
315
|
+
'save-money': SaveMoney,
|
|
316
|
+
'search-settings': SearchSettings,
|
|
317
|
+
'search-user': SearchUser,
|
|
318
|
+
'save-time': SaveTime,
|
|
319
|
+
schedule: Schedule,
|
|
320
|
+
'scooter-delivery': ScooterDelivery,
|
|
321
|
+
security: Security,
|
|
322
|
+
'security-position-zone': SecuritPositionZone,
|
|
323
|
+
'security-tools': SecurityTools,
|
|
324
|
+
'security-staff': SecurityStaff,
|
|
325
|
+
'security-zone': SecurityZone,
|
|
326
|
+
'service-marker': ServiceMarker,
|
|
327
|
+
'shake-hand': ShakeHand,
|
|
328
|
+
shipping: Shipping,
|
|
329
|
+
shop: Shop,
|
|
330
|
+
speed: Speed,
|
|
331
|
+
'star-big': StarBig,
|
|
332
|
+
'star-filled-big': StarFilledBig,
|
|
333
|
+
'support-time': SupportTime,
|
|
334
|
+
synchronization: Synchronization,
|
|
335
|
+
taxi: Taxi,
|
|
336
|
+
tools: Tools,
|
|
337
|
+
travel: Travel,
|
|
338
|
+
'tshirt-marker': TshirtMarker,
|
|
339
|
+
'user-profile': UserProfile,
|
|
340
|
+
wheelchair: Wheelchair,
|
|
341
|
+
wifi: Wifi,
|
|
342
|
+
world: World,
|
|
343
|
+
'world-location': WorldLocation,
|
|
344
|
+
'world-time': WorldTime,
|
|
345
|
+
'win-prize': WinPrize,
|
|
346
|
+
zoom: Zoom,
|
|
347
|
+
'marker-coordinates': MarkerCoordinates,
|
|
348
|
+
crosshair: Crosshair,
|
|
349
|
+
'environmental-care': EnvironmentalCare,
|
|
350
|
+
chart: Chart,
|
|
351
|
+
earth: Earth,
|
|
352
|
+
'competition-prize': CompetitionPrize,
|
|
353
|
+
'world-locations': WorldLocations,
|
|
354
|
+
'map-cursor': MapCursor,
|
|
355
|
+
'zone-splitted-checked': ZoneSplittedChecked,
|
|
356
|
+
'hand-code': HandCode,
|
|
357
|
+
'form-success': FormSuccess,
|
|
358
|
+
'map-integration': MapIntegration,
|
|
359
|
+
'heart-ux': HeartUx,
|
|
360
|
+
'marker-seo': MarkerSeo,
|
|
361
|
+
'zone-checked': ZoneChecked,
|
|
362
|
+
'zoom-plus': ZoomPlus,
|
|
363
|
+
'mobile-puzzle-marker': mobilePuzzleMarker,
|
|
364
|
+
'like-chat': LikeChat,
|
|
365
|
+
footprint: Footprint,
|
|
366
|
+
'package-marker': PackageMarker,
|
|
367
|
+
'marker-checked': MarkerChecked,
|
|
368
|
+
'mobile-like-marker': MobileLikeMarker,
|
|
369
|
+
'map-poi': MapPoi,
|
|
370
|
+
'route-info': RouteInfo,
|
|
371
|
+
'inputs-checked': InputsChecked,
|
|
372
|
+
'delivery-zone': DeliveryZone,
|
|
373
|
+
'search-security': SearchSecurity,
|
|
374
|
+
'puzzle-marker-ecosystem': PuzzleMarkerEcosystem,
|
|
375
|
+
'arrows-crosshair': ArrowsCrosshair,
|
|
376
|
+
'marker-data': MarkerData,
|
|
377
|
+
itinenary: Itinenary,
|
|
378
|
+
'public-transports-information': PublicTransportsInformation,
|
|
379
|
+
'route-information': RouteInformation,
|
|
380
|
+
transit: Transit,
|
|
381
|
+
'poi-highlight': PoiHighlight,
|
|
382
|
+
'map-customization': MapCustomization,
|
|
383
|
+
'map-heart': MapHeart,
|
|
384
|
+
'arrows-cloud': ArrowsCloud,
|
|
385
|
+
'client-service': ClientService,
|
|
386
|
+
'clock-notification': ClockNotification,
|
|
387
|
+
'cloud-crosshair': CloudCrosshair,
|
|
388
|
+
'cloud-data': CloudData,
|
|
389
|
+
'console-settings': ConsoleSettings,
|
|
390
|
+
'data-cloud': DataCloud,
|
|
391
|
+
'earth-clock': EarthClock,
|
|
392
|
+
'location-info': LocationInfo,
|
|
393
|
+
'logistics-route': LogisticsRoute,
|
|
394
|
+
'map-indoor-cloud-arrows': MapIndoorCloudArrows,
|
|
395
|
+
'map-indoor-customize': MapIndoorCustomize,
|
|
396
|
+
'map-indoor-marker': MapIndoorMarker,
|
|
397
|
+
'map-indoor-route': MapIndoorRoute,
|
|
398
|
+
'marker-crosshair': MarkerCrosshair,
|
|
399
|
+
'navigation-arrow': MavigationArrow,
|
|
400
|
+
'notification-marker': NotificationMarker,
|
|
401
|
+
'route-sign-user-star': RouteSignUserStar,
|
|
402
|
+
'search-check-fast': SearchCheckFast,
|
|
403
|
+
'square-padlock': SquarePadlock,
|
|
404
|
+
'stock-availability': StockAvailability,
|
|
405
|
+
'store-cog': StoreGog,
|
|
406
|
+
'store-info': StoreInfo,
|
|
407
|
+
'marker-pad-lock': MarkerPadLock,
|
|
408
|
+
'marker-route-truck': MarkerRouteTruck,
|
|
409
|
+
'arrows-marker': ArrowsMarker,
|
|
410
|
+
'cloud-marker-arrow': CloudMarkerArrow,
|
|
411
|
+
'signal-marker': SignalMarker,
|
|
412
|
+
'like-marker': LikeMarker,
|
|
413
|
+
'user-centric': UserCentric,
|
|
414
|
+
'credit-card-check': CreditCardCheck,
|
|
415
|
+
'puzzles-plus': PuzzlesPlus,
|
|
416
|
+
};
|
|
417
|
+
|
|
418
|
+
const MapDemo = {
|
|
419
|
+
'map-route': MapRoute,
|
|
420
|
+
'map-walk': MapWalk,
|
|
421
|
+
'map-bike': MapBike,
|
|
422
|
+
'map-train': MapTrain,
|
|
423
|
+
'map-car': MapCar,
|
|
424
|
+
'map-switch': MapSwitch,
|
|
425
|
+
'map-itinerary': MapItinerary,
|
|
426
|
+
'map-close': MapClose,
|
|
427
|
+
'map-origin': MapOrigin,
|
|
428
|
+
'map-pin': MapPin,
|
|
429
|
+
'map-search': MapSearch,
|
|
430
|
+
'map-arrow-top': MapArrowTop,
|
|
431
|
+
'map-arrow-bottom': MapArrowBottom,
|
|
432
|
+
'map-crosshair': MapCrosshair,
|
|
433
|
+
'map-copy': MapCopy,
|
|
434
|
+
'map-bus': MapBus,
|
|
435
|
+
'map-ferry': MapFerry,
|
|
436
|
+
'map-flight': MapFlight,
|
|
437
|
+
'map-subway': MapSubway,
|
|
438
|
+
'map-lightrail': MapLightRail,
|
|
439
|
+
'map-high-speed-train': MapHighSpeedTrain,
|
|
440
|
+
};
|
|
441
|
+
|
|
442
|
+
const ProductsIcons = {
|
|
443
|
+
address: Address,
|
|
444
|
+
connectors: Connectors,
|
|
445
|
+
distance: Distance,
|
|
446
|
+
geofencing: Geofencing,
|
|
447
|
+
geolocation: Geolocation,
|
|
448
|
+
indoor: Indoor,
|
|
449
|
+
localities: Localities,
|
|
450
|
+
mapping: Mapping,
|
|
451
|
+
maps: Map,
|
|
452
|
+
multisearch: MultiSearch,
|
|
453
|
+
storelocator: StoreLocator,
|
|
454
|
+
stores: Stores,
|
|
455
|
+
traffic: Traffic,
|
|
456
|
+
showcases: Showcases,
|
|
457
|
+
};
|
|
458
|
+
|
|
459
|
+
const Icons = {
|
|
460
|
+
...WebsiteIcons,
|
|
461
|
+
...ProductsIcons,
|
|
462
|
+
...MapDemo,
|
|
463
|
+
'social-facebook': SocialFacebook,
|
|
464
|
+
'social-github': SocialGithub,
|
|
465
|
+
'social-google': SocialGoogle,
|
|
466
|
+
'social-linkedin': SocialLinkedin,
|
|
467
|
+
'social-twitter': SocialTwitter,
|
|
468
|
+
};
|
|
469
|
+
|
|
470
|
+
class Icon extends Component {
|
|
471
|
+
render() {
|
|
472
|
+
const { icon, size, className, isFill, isLoad, title, testId } = this.props;
|
|
473
|
+
const IconComponent = Object.keys(Icons).includes(icon) ? Icons[icon] : Woosmap;
|
|
474
|
+
const classes = cl('icon', { 'icon--fill': isFill }, { 'icon--load icon--fill': isLoad }, className);
|
|
475
|
+
return (
|
|
476
|
+
<IconComponent
|
|
477
|
+
className={classes}
|
|
478
|
+
data-testid={`${testId}-${icon}`}
|
|
479
|
+
width={size}
|
|
480
|
+
height={size}
|
|
481
|
+
title={title}
|
|
482
|
+
/>
|
|
483
|
+
);
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
Icon.defaultProps = {
|
|
488
|
+
size: 22,
|
|
489
|
+
className: null,
|
|
490
|
+
title: null,
|
|
491
|
+
testId: 'icon',
|
|
492
|
+
isFill: false,
|
|
493
|
+
isLoad: false,
|
|
494
|
+
};
|
|
495
|
+
|
|
496
|
+
Icon.propTypes = {
|
|
497
|
+
size: PropTypes.number,
|
|
498
|
+
className: PropTypes.string,
|
|
499
|
+
icon: PropTypes.string.isRequired,
|
|
500
|
+
isFill: PropTypes.bool,
|
|
501
|
+
isLoad: PropTypes.bool,
|
|
502
|
+
title: PropTypes.string,
|
|
503
|
+
testId: PropTypes.string,
|
|
504
|
+
};
|
|
505
|
+
|
|
506
|
+
export default Object.assign(Icon, {
|
|
507
|
+
Icons,
|
|
508
|
+
WebsiteIcons,
|
|
509
|
+
ProductsIcons,
|
|
510
|
+
MapDemo,
|
|
511
|
+
});
|