@woosmap/ui 4.186.0 → 4.187.1

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.
@@ -42,7 +42,6 @@ Tooltip.propTypes = {
42
42
  noDelay: PropTypes.bool,
43
43
  product: PropTypes.oneOf([
44
44
  'localities',
45
- 'merchants',
46
45
  'address',
47
46
  'map',
48
47
  'stores',
@@ -11,7 +11,6 @@ import distanceImgSq from '../../images/products/product-distance-sq.png';
11
11
  import addressImgSq from '../../images/products/product-address-sq.png';
12
12
  import mapImgSq from '../../images/products/product-map-sq.png';
13
13
  import trafficImgSq from '../../images/products/product-traffic-sq.png';
14
- import merchantImgSq from '../../images/products/product-merchant-sq.png';
15
14
  import indoorImgSq from '../../images/products/product-indoor-sq.png';
16
15
 
17
16
  const productImg = {
@@ -24,7 +23,6 @@ const productImg = {
24
23
  ADDRESS: addressImgSq,
25
24
  MAP: mapImgSq,
26
25
  TRAFFIC: trafficImgSq,
27
- MERCHANTS: merchantImgSq,
28
26
  INDOOR: indoorImgSq,
29
27
  };
30
28
 
@@ -149,7 +149,7 @@ export default class AddressAutocomplete extends Component {
149
149
 
150
150
  render() {
151
151
  const { selectedLocality, menuIsOpen, inputValue, value } = this.state;
152
- const { placeholder } = this.props;
152
+ const { placeholder, type } = this.props;
153
153
  return (
154
154
  <>
155
155
  <Script
@@ -171,6 +171,7 @@ export default class AddressAutocomplete extends Component {
171
171
  defaultValue={selectedLocality}
172
172
  value={value}
173
173
  inputValue={inputValue}
174
+ type={type}
174
175
  />
175
176
  </>
176
177
  );
@@ -189,6 +190,7 @@ AddressAutocomplete.defaultProps = {
189
190
  isDefaultClose: false,
190
191
  componentsAddress: null,
191
192
  inputChangeCb: null,
193
+ type: 'search',
192
194
  };
193
195
  AddressAutocomplete.propTypes = {
194
196
  woosmapKey: PropTypes.string.isRequired,
@@ -204,4 +206,5 @@ AddressAutocomplete.propTypes = {
204
206
  isDefaultClose: PropTypes.bool,
205
207
  callback: PropTypes.func.isRequired,
206
208
  inputChangeCb: PropTypes.func,
209
+ type: PropTypes.string,
207
210
  };
package/src/index.js CHANGED
@@ -54,7 +54,6 @@ export { default as LocalitiesCheckoutUKDemo } from './components/Demo/Localitie
54
54
  export { default as LocalitiesCheckoutFRDemo } from './components/Demo/LocalitiesFRAddressDemo';
55
55
  export { default as LocalitiesAddressDemo } from './components/Demo/LocalitiesAddressDemo';
56
56
  export { default as LocalitiesAllDemo } from './components/Demo/LocalitiesAllDemo';
57
- export { default as MerchantDemo } from './components/Demo/MerchantDemo';
58
57
  export { default as GeolocationDemo } from './components/Demo/GeolocationDemo';
59
58
  export { default as DistanceDemo } from './components/Demo/DistanceDemo';
60
59
  export { default as SearchDemo } from './components/Demo/SearchDemo';
@@ -1,20 +1,26 @@
1
1
  {
2
2
  "Accuracy": "Accuracy",
3
+ "Activated if available on Organization level": "Activated if available on Organization level",
3
4
  "Add": "Add",
5
+ "Addon": "Addon",
6
+ "Address": "Address",
4
7
  "Administrative areas (States, regions, ...)": "Administrative areas (States, regions, ...)",
5
8
  "Airports": "Airports",
6
9
  "Alternative routes": "Alternative routes",
7
10
  "Amusement parks": "Amusement parks",
8
11
  "An API that helps your customers better understand their payments and where they took place. Send unclear merchant names to the API to convert them into clean names to improve the UX of your transactions list and add enriched data for Europe, North America and Asia: easy-to-recognize merchant names, brand logos, Google Place id of the location.": "An API that helps your customers better understand their payments and where they took place. Send unclear merchant names to the API to convert them into clean names to improve the UX of your transactions list and add enriched data for Europe, North America and Asia: easy-to-recognize merchant names, brand logos, Google Place id of the location.",
12
+ "Arrival Time": "Arrival Time",
9
13
  "Art galleries": "Art galleries",
10
14
  "Autocomplete": "Autocomplete",
11
15
  "Automatically retrieve and analyse your user's location thanks to the advanced Maxmind IP database and list your nearby points of sale.": "Automatically retrieve and analyse your user's location thanks to the advanced Maxmind IP database and list your nearby points of sale.",
16
+ "Back": "Back",
12
17
  "Beware...": "Beware...",
13
18
  "Blue": "Blue",
14
19
  "Bose Factory Store": "Bose Factory Store",
15
20
  "Bose Reseller Store": "Bose Reseller Store",
16
21
  "Bose Store": "Bose Store",
17
22
  "Cancel": "Cancel",
23
+ "Chat with us": "Chat with us",
18
24
  "Checkout": "Checkout",
19
25
  "Checkout integration: on full addresses, renders the right part of the address in the right form fields": "Checkout integration: on full addresses, renders the right part of the address in the right form fields",
20
26
  "Choose your style": "Choose your style",
@@ -27,12 +33,14 @@
27
33
  "Country": "Country",
28
34
  "Customized Solutions": "Customized Solutions",
29
35
  "Default": "Default",
36
+ "Departure Time": "Departure Time",
30
37
  "Destination": "Destination",
31
- "Display Map POIs": "Display Map POIs",
32
38
  "Display Geolocation POIs": "Display points of interest",
39
+ "Display Map POIs": "Display Map POIs",
33
40
  "Display Woosmap Stores overlay": "Display Woosmap Stores overlay",
34
41
  "Display your regional promotions and catchment area.": "Display your regional promotions and catchment area.",
35
42
  "Distance API": "Distance API",
43
+ "Favorite Project": "Favorite Project",
36
44
  "Features": "Features",
37
45
  "Filter by": "Filter by",
38
46
  "Financing": "Financing",
@@ -41,7 +49,6 @@
41
49
  "Geolocation API": "Geolocation API",
42
50
  "Geometry only": "Geometry only",
43
51
  "Go": "Go",
44
- "Go to documentation": "Go to documentation",
45
52
  "Grey": "Grey",
46
53
  "Identify the country to redirect users to the suitable website, or adapt your services according to the timezone.": "Identify the country to redirect users to the suitable website, or adapt your services according to the timezone.",
47
54
  "In Store Wifi": "In Store Wifi",
@@ -52,7 +59,6 @@
52
59
  "Localities": "Localities",
53
60
  "Localities API": "Localities API",
54
61
  "Location": "Location",
55
- "Look at some transactions we've cleaned for you!": "Look at some transactions we've cleaned for you!",
56
62
  "Looking for a ...": "Looking for a ...",
57
63
  "Map API": "Map API",
58
64
  "Maximum number of stores": "Maximum number of stores",
@@ -61,11 +67,14 @@
61
67
  "Metro stations": "Metro stations",
62
68
  "Museums": "Museums",
63
69
  "New": "New",
70
+ "No address found for this location": "No address found for this location",
64
71
  "No locality found": "No locality found",
72
+ "No options found": "No options found",
65
73
  "No route found": "No route found",
66
74
  "Origin": "Origin",
67
75
  "Parking": "Parking",
68
- "Point of interest": "Point of interest",
76
+ "Paying from the first request": "Paying from the first request",
77
+ "Plugged to": "Plugged to",
69
78
  "Postal code": "Postal code",
70
79
  "Postal codes": "Postal codes",
71
80
  "Region / State": "Region / State",
@@ -73,14 +82,15 @@
73
82
  "Required field": "Required field",
74
83
  "Reserve & Collect": "Reserve & Collect",
75
84
  "Response": "Response",
85
+ "Response language": "Response language",
76
86
  "Results": "Results",
77
87
  "Schedule a Demo": "Schedule a Demo",
78
88
  "Search among your own Points of Interest. Find stores by geography, by attributes or by autocomplete on store names.": "Search among your own Points of Interest. Find stores by geography, by attributes or by autocomplete on store names.",
79
89
  "Shopping centers": "Shopping centers",
80
- "Should be at least {{count}} chars long": "Should be at least {{count}} char long",
81
- "Should be at least {{count}} chars long__plural": "Should be at least {{count}} chars long",
82
- "Should be at most {{count}} chars long": "Should be at most {{count}} char long",
83
- "Should be at most {{count}} chars long__plural": "Should be at most {{count}} chars long",
90
+ "Should be at least {{count}} char long": "Should be at least {{count}} char long",
91
+ "Should be at least {{count}} char long__plural": "Should be at least {{count}} char long__plural",
92
+ "Should be at most {{count}} char long": "Should be at most {{count}} char long",
93
+ "Should be at most {{count}} char long__plural": "Should be at most {{count}} char long__plural",
84
94
  "Store Locator": "Store Locator",
85
95
  "Store Locator integration: autocomplete on city names, suburb names, postcodes...": "Store Locator integration: autocomplete on city names, suburb names, postcodes...",
86
96
  "Store Search API": "Store Search API",
@@ -94,18 +104,22 @@
94
104
  "Type in ": "Type in ",
95
105
  "Type in a UK address ": "Type in a UK address ",
96
106
  "Type in a full address and hit Go": "Type in a full address and hit Go",
107
+ "Type in a locality name...": "Type in a locality name...",
97
108
  "Type in an address": "Type in an address",
98
109
  "Type in an address ": "Type in an address ",
110
+ "Type of location": "Type of location",
99
111
  "Types": "Types",
100
112
  "Use case": "Use case",
101
113
  "Validate": "Validate",
102
114
  "Wheelchair Access": "Wheelchair Access",
115
+ "Will be automatically activated": "Will be automatically activated",
103
116
  "Woosmap Localities sorts and displays the 5 most relevant results, with priority to the most likely results, recognises common abbreviations and apostrophes, with high tolerance for typos.": "Woosmap Localities sorts and displays the 5 most relevant results, with priority to the most likely results, recognises common abbreviations and apostrophes, with high tolerance for typos.",
104
117
  "Woosmap Map is a vector tiles map based, which guarantees smooth zooming and panning transitions, a mobile-optimised loading and clear rendering at every scale. It provides a worldwide cover, cutting edge details and ability to display 3D buildings at closest/street zoom levels.": "Woosmap Map is a vector tiles map based, which guarantees smooth zooming and panning transitions, a mobile-optimised loading and clear rendering at every scale. It provides a worldwide cover, cutting edge details and ability to display 3D buildings at closest/street zoom levels.",
118
+ "Work with": "Work with",
105
119
  "YOUR_KEY_HERE": "YOUR_KEY_HERE",
106
120
  "You can select bewteen 2 use cases:": "You can select bewteen 2 use cases:",
107
121
  "Zoos": "Zoos",
108
- "http://developers.woosmap.com": "http://developers.woosmap.com",
109
122
  "near ... ": "near ... ",
110
- "with ...": "with ..."
123
+ "with ...": "with ...",
124
+ "{{name}} add-on not included in the 10k Free queries/month. Usage is chargeable from the first request.": "{{name}} add-on not included in the 10k Free queries/month. Usage is chargeable from the first request."
111
125
  }
@@ -1,20 +1,26 @@
1
1
  {
2
2
  "Accuracy": "Précision",
3
+ "Activated if available on Organization level": "",
3
4
  "Add": "Ajouter",
5
+ "Addon": "",
6
+ "Address": "",
4
7
  "Administrative areas (States, regions, ...)": "Zones administratives (Régions, ...)",
5
8
  "Airports": "Aéroports",
6
9
  "Alternative routes": "Routes alternatives",
7
10
  "Amusement parks": "Parcs d'attraction",
8
11
  "An API that helps your customers better understand their payments and where they took place. Send unclear merchant names to the API to convert them into clean names to improve the UX of your transactions list and add enriched data for Europe, North America and Asia: easy-to-recognize merchant names, brand logos, Google Place id of the location.": "Une API pour faciliter la lecture des relevés de comptes de vos clients : envoyez à l’API vos libellés de transactions de cartes de paiement et clarifiez les listes de transactions en récupérant des noms de commerçants faciles à reconnaître, les logos des marques, et la localisation précise des dépenses grâce au Google PlaceID (en Europe, en Amérique du Nord et en Asie).",
12
+ "Arrival Time": "",
9
13
  "Art galleries": "Galeries d'art",
10
14
  "Autocomplete": "Autocomplete",
11
15
  "Automatically retrieve and analyse your user's location thanks to the advanced Maxmind IP database and list your nearby points of sale.": "Récupérez et analysez automatiquement la géolocalisation de vos utilisateurs grâce à nos données issues de la base de données IP avancée de Maxmind.",
16
+ "Back": "",
12
17
  "Beware...": "Attention...",
13
18
  "Blue": "Bleu",
14
19
  "Bose Factory Store": "Magasin d'usine Bose",
15
20
  "Bose Reseller Store": "Revendeur Bose",
16
21
  "Bose Store": "Magasin Bose",
17
22
  "Cancel": "Annuler",
23
+ "Chat with us": "",
18
24
  "Checkout": "Checkout",
19
25
  "Checkout integration: on full addresses, renders the right part of the address in the right form fields": "Cas d’usage type Checkout : autocompletion sur une adresse complète pour pré-remplir les champs d’un formulaire",
20
26
  "Choose your style": "Choisir le style",
@@ -27,12 +33,14 @@
27
33
  "Country": "Pays",
28
34
  "Customized Solutions": "Solutions personnalisées",
29
35
  "Default": "Défaut",
36
+ "Departure Time": "",
30
37
  "Destination": "Destination",
31
- "Display Map POIs": "Afficher les POIs de la carte",
32
38
  "Display Geolocation POIs": "Afficher les points de vente",
39
+ "Display Map POIs": "Afficher les POIs de la carte",
33
40
  "Display Woosmap Stores overlay": "Afficher la couche de magasins Woosmap",
34
41
  "Display your regional promotions and catchment area.": "Affichez les offres promotionnelles de la région et la zone de chalandise.",
35
42
  "Distance API": "Distance API",
43
+ "Favorite Project": "",
36
44
  "Features": "Caractéristiques",
37
45
  "Filter by": "Filtrer par",
38
46
  "Financing": "Offres de financement",
@@ -41,7 +49,6 @@
41
49
  "Geolocation API": "Geolocation API",
42
50
  "Geometry only": "Geomoetry Uniquement",
43
51
  "Go": "Go",
44
- "Go to documentation": "Voir la documentation",
45
52
  "Grey": "Gris",
46
53
  "Identify the country to redirect users to the suitable website, or adapt your services according to the timezone.": "Identifiez le pays pour rediriger vers le bon site et adaptez vos offres de services en fonction du fuseau horaire de vos visiteurs.",
47
54
  "In Store Wifi": "Wifi",
@@ -52,7 +59,6 @@
52
59
  "Localities": "Localités",
53
60
  "Localities API": "Localities API",
54
61
  "Location": "Localisation",
55
- "Look at some transactions we've cleaned for you!": "Quelques transactions clarifiées pour vous !",
56
62
  "Looking for a ...": "Je cherche un ...",
57
63
  "Map API": "Map API",
58
64
  "Maximum number of stores": "Nombre de magasins présentés",
@@ -61,11 +67,14 @@
61
67
  "Metro stations": "Stations de métro",
62
68
  "Museums": "Musées",
63
69
  "New": "Nouveau",
70
+ "No address found for this location": "",
64
71
  "No locality found": "Aucune localité correspondante",
72
+ "No options found": "",
65
73
  "No route found": "Aucune route correspondante",
66
74
  "Origin": "Départ",
67
75
  "Parking": "Parking",
68
- "Point of interest": "Points d'intérêt",
76
+ "Paying from the first request": "",
77
+ "Plugged to": "",
69
78
  "Postal code": "Code postal",
70
79
  "Postal codes": "Codes postaux",
71
80
  "Region / State": "Région / Etat",
@@ -73,14 +82,15 @@
73
82
  "Required field": "Champ obligatoire",
74
83
  "Reserve & Collect": "Click & Collect",
75
84
  "Response": "Réponse",
85
+ "Response language": "",
76
86
  "Results": "Résultats",
77
87
  "Schedule a Demo": "Démo vendeur",
78
88
  "Search among your own Points of Interest. Find stores by geography, by attributes or by autocomplete on store names.": "Un moteur de recherche dédié pour vos propres données. Trouvez des points de vente dans un rayon donné autour de coordonnées géographiques, par leurs attributs ou par autocomplétion sur les noms de magasins.",
79
89
  "Shopping centers": "Centres commerciaux",
80
- "Should be at least {{count}} chars long": "Ce champ doit être d'au moins {{count}} caractère",
81
- "Should be at least {{count}} chars long__plural": "Ce champ doit être d'au moins {{count}} caractères",
82
- "Should be at most {{count}} chars long": "Ce champ doit être d'au plus {{count}} caractère",
83
- "Should be at most {{count}} chars long__plural": "Ce champ doit être d'au plus {{count}} caractères",
90
+ "Should be at least {{count}} char long": "",
91
+ "Should be at least {{count}} char long__plural": "",
92
+ "Should be at most {{count}} char long": "",
93
+ "Should be at most {{count}} char long__plural": "",
84
94
  "Store Locator": "Store Locator",
85
95
  "Store Locator integration: autocomplete on city names, suburb names, postcodes...": "Cas d’usage type Store Locator : autocomplétion sur les noms de ville, les codes postaux, les aéroports, les stations de métro, les centres commerciaux...",
86
96
  "Store Search API": "Store Search API",
@@ -94,18 +104,22 @@
94
104
  "Type in ": "Localité",
95
105
  "Type in a UK address ": "Adresse UK",
96
106
  "Type in a full address and hit Go": "Saisir une adresse complète et cliquer sur Go",
107
+ "Type in a locality name...": "",
97
108
  "Type in an address": "Adresse",
98
109
  "Type in an address ": "Saisir une adresse",
110
+ "Type of location": "",
99
111
  "Types": "Types",
100
112
  "Use case": "Cas d'usage",
101
113
  "Validate": "Valider",
102
114
  "Wheelchair Access": "Accès handicapés",
115
+ "Will be automatically activated": "",
103
116
  "Woosmap Localities sorts and displays the 5 most relevant results, with priority to the most likely results, recognises common abbreviations and apostrophes, with high tolerance for typos.": "Woosmap Localities trie et affiche les 5 résultats les plus pertinents, avec en priorité les résultats les plus probables, sait reconnaître les abréviations courantes et les apostrophes en intégrant une grande tolérance aux fautes de frappe.",
104
117
  "Woosmap Map is a vector tiles map based, which guarantees smooth zooming and panning transitions, a mobile-optimised loading and clear rendering at every scale. It provides a worldwide cover, cutting edge details and ability to display 3D buildings at closest/street zoom levels.": "Woosmap Map est une carte vectorielle qui garantit une navigation fluide, sans impact sur les performances du navigateur et un téléchargement plus rapide et optimisé pour mobile.",
118
+ "Work with": "",
105
119
  "YOUR_KEY_HERE": "VOTRE_CLE_ICI",
106
120
  "You can select bewteen 2 use cases:": "Vous pouvez selectionner l'un des deux cas d'usage suivants :",
107
121
  "Zoos": "Zoos",
108
- "http://developers.woosmap.com": "http://developers.woosmap.com",
109
122
  "near ... ": "à proximité de ... ",
110
- "with ...": "avec ..."
123
+ "with ...": "avec ...",
124
+ "{{name}} add-on not included in the 10k Free queries/month. Usage is chargeable from the first request.": ""
111
125
  }
package/src/website.js CHANGED
@@ -1,9 +1,7 @@
1
- export { changeLanguage } from './components/utils/locale';
2
-
3
1
  export { default as Button } from './components/Button/Button';
4
2
  export { default as Dropdown } from './components/Dropdown/Dropdown';
5
3
  export { default as Flash } from './components/Flash/Flash';
6
- export { default as Icon } from './components/Icon/Icon';
4
+ export { default as Icon } from './components/Icon/WebSiteIcon';
7
5
 
8
6
  export { default as Input } from './components/Input/Input';
9
7
  export { default as PasswordStrengthBar } from './components/PasswordStrengthBar/PasswordStrengthBar';
@@ -16,14 +14,12 @@ export { default as LocalitiesCheckoutUKDemo } from './components/Demo/Localitie
16
14
  export { default as LocalitiesCheckoutFRDemo } from './components/Demo/LocalitiesFRAddressDemo';
17
15
  export { default as LocalitiesAddressDemo } from './components/Demo/LocalitiesAddressDemo';
18
16
  export { default as LocalitiesAllDemo } from './components/Demo/LocalitiesAllDemo';
19
- export { default as MerchantDemo } from './components/Demo/MerchantDemo';
20
17
  export { default as GeolocationDemo } from './components/Demo/GeolocationDemo';
21
18
  export { default as DistanceDemo } from './components/Demo/DistanceDemo';
22
19
  export { default as SearchDemo } from './components/Demo/SearchDemo';
23
20
  export { default as AddressDemo } from './components/Demo/AddressDemo';
24
21
  export { default as MapDemo } from './components/Demo/MapDemo';
25
22
  export { default as AddressAutocomplete } from './components/Woosmap/AddressAutocomplete';
26
- export { default as OfflineChatBot } from './components/OfflineChatBot/OfflineChatBot';
27
23
  export { default as CountrySelect } from './components/Select/CountrySelect';
28
- export { default as PricingSimulator} from './components/PricingSlider/PricingSimulator';
24
+ export { default as PricingSimulator } from './components/PricingSlider/PricingSimulator';
29
25
  export { default as CodeSnippet } from './components/CodeSnippet/CodeSnippet';