@woosmap/ui 4.221.0 → 4.223.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 (137) hide show
  1. package/package.json +108 -120
  2. package/src/components/Button/Button.js +2 -2
  3. package/src/components/Button/Button.stories.js +5 -5
  4. package/src/components/Button/Button.test.js +1 -1
  5. package/src/components/Button/ButtonSwitch.js +1 -1
  6. package/src/components/Button/ButtonWithDropdown.js +3 -3
  7. package/src/components/Button/ButtonWithDropdown.test.js +1 -1
  8. package/src/components/Card/Card.js +29 -29
  9. package/src/components/Card/Card.stories.js +6 -6
  10. package/src/components/Card/Card.test.js +1 -1
  11. package/src/components/Card/SimpleCard.js +2 -2
  12. package/src/components/Card/SimpleCard.test.js +1 -1
  13. package/src/components/CodeSnippet/CodeSnippet.stories.js +1 -1
  14. package/src/components/CodeSnippet/CodeSnippet.test.js +1 -1
  15. package/src/components/CopyClipboardButton/CopyClipboardButton.js +3 -3
  16. package/src/components/CopyClipboardButton/CopyToClipboard.stories.js +1 -1
  17. package/src/components/CopyClipboardButton/CopyToClipboard.test.js +1 -1
  18. package/src/components/DateTime/DateTime.stories.js +1 -1
  19. package/src/components/DateTime/DateTime.test.js +1 -1
  20. package/src/components/Demo/AddressDemo.js +10 -10
  21. package/src/components/Demo/AddressDemo.stories.js +1 -1
  22. package/src/components/Demo/AutocompleteAddressDemo.js +10 -10
  23. package/src/components/Demo/AutocompleteAddressDemo.stories.js +2 -2
  24. package/src/components/Demo/DistanceDemo.js +12 -12
  25. package/src/components/Demo/DistanceDemo.stories.js +1 -1
  26. package/src/components/Demo/DistanceDemo.test.js +1 -1
  27. package/src/components/Demo/GeolocationDemo.js +7 -7
  28. package/src/components/Demo/GeolocationDemo.stories.js +1 -1
  29. package/src/components/Demo/GeolocationDemo.test.js +1 -1
  30. package/src/components/Demo/LocalitiesAddressDemo.js +8 -8
  31. package/src/components/Demo/LocalitiesAddressDemo.stories.js +1 -1
  32. package/src/components/Demo/LocalitiesAllDemo.js +5 -5
  33. package/src/components/Demo/LocalitiesAllDemo.stories.js +1 -1
  34. package/src/components/Demo/LocalitiesDemo.js +10 -10
  35. package/src/components/Demo/LocalitiesDemo.stories.js +1 -1
  36. package/src/components/Demo/LocalitiesFRAddressDemo.js +239 -261
  37. package/src/components/Demo/LocalitiesFRAddressDemo.stories.js +2 -2
  38. package/src/components/Demo/LocalitiesUKAddressDemo.js +271 -294
  39. package/src/components/Demo/LocalitiesUKAddressDemo.stories.js +1 -1
  40. package/src/components/Demo/MapDemo.js +231 -233
  41. package/src/components/Demo/MapDemo.stories.js +1 -1
  42. package/src/components/Demo/SearchDemo.js +9 -9
  43. package/src/components/Demo/SearchDemo.stories.js +1 -1
  44. package/src/components/Demo/SearchDemo.test.js +1 -1
  45. package/src/components/Demo/Showcase.stories.js +7 -7
  46. package/src/components/Demo/SkeletonDemo.js +8 -8
  47. package/src/components/Demo/SkeletonDemo.stories.js +2 -2
  48. package/src/components/Demo/SkeletonDemo.test.js +2 -2
  49. package/src/components/Demo/W3WDemo.js +9 -9
  50. package/src/components/Demo/W3WDemo.stories.js +2 -2
  51. package/src/components/Dropdown/Dropdown.js +4 -4
  52. package/src/components/Dropdown/Dropdown.stories.js +1 -1
  53. package/src/components/Dropdown/Dropdown.test.js +1 -1
  54. package/src/components/DynamicTag/DynamicTag.js +5 -5
  55. package/src/components/DynamicTag/DynamicTag.stories.js +1 -1
  56. package/src/components/DynamicTag/DynamicTag.test.js +1 -1
  57. package/src/components/Flash/Flash.js +1 -1
  58. package/src/components/Flash/Flash.stories.js +1 -1
  59. package/src/components/Flash/Flash.test.js +1 -1
  60. package/src/components/Icon/Icon.js +409 -409
  61. package/src/components/Icon/Icon.stories.js +1 -1
  62. package/src/components/Icon/Icon.test.js +1 -1
  63. package/src/components/Icon/WebSiteIcon.js +231 -231
  64. package/src/components/InfoMessage/Flash.js +1 -1
  65. package/src/components/InfoMessage/InfoMessage.js +2 -2
  66. package/src/components/InfoMessage/InfoMessage.stories.js +1 -1
  67. package/src/components/InfoMessage/InfoMessage.test.js +1 -1
  68. package/src/components/Input/Input.js +2 -2
  69. package/src/components/Input/Input.password.test.js +1 -1
  70. package/src/components/Input/Input.stories.js +1 -1
  71. package/src/components/Input/Input.test.js +1 -1
  72. package/src/components/Label/Label.js +1 -1
  73. package/src/components/Label/Label.stories.js +1 -1
  74. package/src/components/Label/Label.test.js +1 -1
  75. package/src/components/Map/InfoWindow.test.js +1 -1
  76. package/src/components/Map/Map.stories.js +3 -3
  77. package/src/components/Map/Marker.test.js +1 -1
  78. package/src/components/Map/drawOnMap.test.js +2 -10
  79. package/src/components/Modal/ConfirmationModal.js +2 -2
  80. package/src/components/Modal/ConfirmationModal.test.js +1 -1
  81. package/src/components/Modal/Modal.js +6 -6
  82. package/src/components/Modal/Modal.stories.js +3 -3
  83. package/src/components/Modal/Modal.test.js +1 -1
  84. package/src/components/OfflineChatBot/OfflineChatBot.js +4 -4
  85. package/src/components/OfflineChatBot/OfflineChatBot.stories.js +2 -2
  86. package/src/components/Panel/Panel.js +2 -2
  87. package/src/components/Panel/Panel.stories.js +2 -2
  88. package/src/components/Panel/Panel.test.js +1 -1
  89. package/src/components/PasswordStrengthBar/PasswordStrengthBar.stories.js +1 -1
  90. package/src/components/PasswordStrengthBar/PasswordStrengthBar.test.js +1 -1
  91. package/src/components/Popover/ConfirmationPopover.js +3 -3
  92. package/src/components/Popover/ConfirmationPopover.test.js +1 -1
  93. package/src/components/Popover/Popover.js +1 -1
  94. package/src/components/Popover/Popover.stories.js +3 -3
  95. package/src/components/Popover/Popover.test.js +2 -2
  96. package/src/components/PricingSlider/PricingData.js +97 -107
  97. package/src/components/PricingSlider/PricingSimulator.js +3 -3
  98. package/src/components/PricingSlider/PricingSimulator.stories.js +1 -1
  99. package/src/components/PricingSlider/PricingSlider.js +4 -5
  100. package/src/components/ProgressBar/ProgressBar.js +1 -1
  101. package/src/components/ProgressBar/ProgressBar.stories.js +1 -1
  102. package/src/components/ProgressBar/ProgressBar.test.js +1 -1
  103. package/src/components/ScrollBar/ScrollBar.stories.js +1 -1
  104. package/src/components/ScrollBar/ScrollBar.test.js +1 -1
  105. package/src/components/Select/Select.stories.js +4 -4
  106. package/src/components/Select/TagSelect.test.js +1 -1
  107. package/src/components/ServiceMessage/ServiceMessage.js +1 -1
  108. package/src/components/ServiceMessage/ServiceMessage.stories.js +2 -2
  109. package/src/components/SnackBar/SnackBar.js +2 -2
  110. package/src/components/SnackBar/SnackBar.stories.js +3 -3
  111. package/src/components/SnackBar/SnackBar.test.js +3 -3
  112. package/src/components/SnackBar/withSnackBar.js +1 -1
  113. package/src/components/Stepper/Stepper.js +2 -2
  114. package/src/components/Stepper/Stepper.stories.js +1 -1
  115. package/src/components/Switch/Switch.stories.js +1 -1
  116. package/src/components/Switch/Switch.test.js +1 -1
  117. package/src/components/Tab/Tab.js +1 -1
  118. package/src/components/Tab/Tab.stories.js +1 -1
  119. package/src/components/Tooltip/Tooltip.stories.js +1 -1
  120. package/src/components/Tooltip/Tooltip.test.js +1 -1
  121. package/src/components/UseCase/UseCase.js +9 -9
  122. package/src/components/UseCase/UseCase.stories.js +4 -4
  123. package/src/components/Woosmap/AddressAutocomplete.js +3 -3
  124. package/src/components/Woosmap/LocalitiesAutocomplete.js +1 -1
  125. package/src/components/Woosmap/Woosmap.stories.js +3 -3
  126. package/src/components/utils/Script.test.js +1 -1
  127. package/src/components/utils/locale.js +2 -2
  128. package/src/components/withClickOutside/withClickOutside.test.js +1 -1
  129. package/src/components/withFormValidation/withFormValidation.js +2 -2
  130. package/src/components/withFormValidation/withFormValidation.stories.js +2 -2
  131. package/src/components/withFormValidation/withFormValidation.test.js +2 -2
  132. package/src/index.js +61 -61
  133. package/src/locales/en/translation.json +143 -128
  134. package/src/locales/fr/translation.json +143 -128
  135. package/src/styles/console/pricing-slider-back.styl +593 -0
  136. package/src/website.js +25 -25
  137. package/craco.config.js +0 -9
@@ -1,49 +1,47 @@
1
- import localitiesImgSq from '@/images/products/product-localities-sq.png';
2
- import geolocationImgSq from '@/images/products/product-geolocation-sq.png';
3
- import storesImgSq from '@/images/products/product-stores-sq.png';
4
- import distanceImgSq from '@/images/products/product-distance-sq.png';
5
- import mapImgSq from '@/images/products/product-map-sq.png';
6
- import indoorImgSq from '@/images/products/product-indoor-sq.png';
1
+ import localitiesImgSq from '../../images/products/product-localities-sq.png';
2
+ import geolocationImgSq from '../../images/products/product-geolocation-sq.png';
3
+ import storesImgSq from '../../images/products/product-stores-sq.png';
4
+ import distanceImgSq from '../../images/products/product-distance-sq.png';
5
+ import mapImgSq from '../../images/products/product-map-sq.png';
6
+ import indoorImgSq from '../../images/products/product-indoor-sq.png';
7
7
  // import geofencingImgSq from '../../images/products/product-geofencing-sq.png';
8
8
  // import transitImgSq from '../../images/products/product-transit-sq.png';
9
9
 
10
10
  /* eslint-disable */
11
11
 
12
-
13
12
  const Pricing = {
14
13
  Localities: {
15
14
  image: localitiesImgSq,
16
- description: "Find the right address and speed up the customer journey with autocompletion and geocode features",
15
+ description:
16
+ 'Find the right address and speed up the customer journey with autocompletion and geocode features',
17
17
  pricings: {
18
- 'Autocomplete': {
18
+ Autocomplete: {
19
19
  docLink: 'https://developers.woosmap.com/products/localities/autocomplete',
20
20
  defaultQueries: 1,
21
21
  publicTierCount: 1,
22
- unit: "Monthly Requests",
22
+ unit: 'Monthly Requests',
23
23
  description:
24
24
  "Get suggestions for addresses, localities, postcodes and more with typo tolerance. Per terms, 'autocomplete' cannot be used alone, the 'details' endpoint is mandatory for detailed information.",
25
25
  pricing: [],
26
26
  discountEligible: false,
27
27
  },
28
- 'Search': {
28
+ Search: {
29
29
  docLink: 'https://developers.woosmap.com/products/localities/search',
30
30
  defaultQueries: 0,
31
31
  publicTierCount: 1,
32
- unit: "Monthly Requests",
33
- description:
34
- "Get suggestions for points of interest based on their name, categories and city",
32
+ unit: 'Monthly Requests',
33
+ description: 'Get suggestions for points of interest based on their name, categories and city',
35
34
  pricing: [],
36
35
  discountEligible: false,
37
36
  },
38
- 'Details': {
37
+ Details: {
39
38
  docLink: 'https://developers.woosmap.com/products/localities/details',
40
39
  defaultQueries: 0,
41
40
  publicTierCount: 4,
42
- unit: "Monthly Requests",
43
- description:
44
- "Get details on Autocomplete and Search suggestions",
41
+ unit: 'Monthly Requests',
42
+ description: 'Get details on Autocomplete and Search suggestions',
45
43
  pricing: [
46
- [5000, 0],
44
+ [5000, 0],
47
45
  [100000, 6.26],
48
46
  [500000, 5.0],
49
47
  [1000000, 4.69],
@@ -57,9 +55,10 @@ const Pricing = {
57
55
  'Details UK Addresses': {
58
56
  docLink: 'https://developers.woosmap.com/products/localities/details',
59
57
  defaultQueries: 0,
60
- publicTierCount: 4, unit: "Monthly Requests",
58
+ publicTierCount: 4,
59
+ unit: 'Monthly Requests',
61
60
  description:
62
- "Get details on Autocomplete suggestions on UK addresses benefiting from best available data on the market",
61
+ 'Get details on Autocomplete suggestions on UK addresses benefiting from best available data on the market',
63
62
  pricing: [
64
63
  [10000, 36.15],
65
64
  [50000, 24.92],
@@ -77,9 +76,9 @@ const Pricing = {
77
76
  docLink: 'https://developers.woosmap.com/products/localities/geocode',
78
77
  defaultQueries: 0,
79
78
  publicTierCount: 4,
80
- unit: "Monthly Requests",
79
+ unit: 'Monthly Requests',
81
80
  description:
82
- "Geocoding/Reverse geocoding on localities, postcodes and addresses with high accuracy levels",
81
+ 'Geocoding/Reverse geocoding on localities, postcodes and addresses with high accuracy levels',
83
82
  pricing: [
84
83
  [5000, 0],
85
84
  [100000, 1.84],
@@ -95,9 +94,10 @@ const Pricing = {
95
94
  'Geocode/Reverse Geocode UK addresses': {
96
95
  docLink: 'https://developers.woosmap.com/products/localities/geocode',
97
96
  defaultQueries: 0,
98
- publicTierCount: 4, unit: "Monthly Requests",
97
+ publicTierCount: 4,
98
+ unit: 'Monthly Requests',
99
99
  description:
100
- "Geocoding/Reverse geocoding on localities, postcodes and UK addresses benefiting from best available data on the market",
100
+ 'Geocoding/Reverse geocoding on localities, postcodes and UK addresses benefiting from best available data on the market',
101
101
  pricing: [
102
102
  [10000, 36.15],
103
103
  [50000, 24.92],
@@ -111,13 +111,12 @@ const Pricing = {
111
111
  ],
112
112
  discountEligible: false,
113
113
  },
114
- 'Nearby': {
114
+ Nearby: {
115
115
  docLink: 'https://developers.woosmap.com/products/localities/nearby',
116
116
  defaultQueries: 0,
117
117
  publicTierCount: 4,
118
- unit: "Monthly Requests",
119
- description:
120
- "Get nearest points of interest based on a specified location",
118
+ unit: 'Monthly Requests',
119
+ description: 'Get nearest points of interest based on a specified location',
121
120
  pricing: [
122
121
  [10000, 0],
123
122
  [100000, 6.26],
@@ -130,29 +129,28 @@ const Pricing = {
130
129
  ],
131
130
  discountEligible: false,
132
131
  },
133
- 'what3words': {
132
+ what3words: {
134
133
  docLink: 'https://developers.woosmap.com/products/w3w-api/overview',
135
134
  defaultQueries: 0,
136
135
  publicTierCount: 1,
137
- unit: "Monthly Requests",
138
- description:
139
- "Add what3words capabilities to your address search",
136
+ unit: 'Monthly Requests',
137
+ description: 'Add what3words capabilities to your address search',
140
138
  pricing: [],
141
139
  discountEligible: false,
142
140
  },
143
141
  },
144
142
  },
145
- 'Map': {
143
+ Map: {
146
144
  image: mapImgSq,
147
- description: "Display your data without compromising readability",
145
+ description: 'Display your data without compromising readability',
148
146
  pricings: {
149
- 'Mapload': {
147
+ Mapload: {
150
148
  docLink: 'https://developers.woosmap.com/products/map-api/get-started',
151
149
  defaultQueries: 0,
152
150
  publicTierCount: 4,
153
- unit: "Monthly Requests",
151
+ unit: 'Monthly Requests',
154
152
  description:
155
- "Get a vector basemap, with smooth navigation and fast loading, optimised for mobile, with 3D capabilities. Leverage built in interactions with the Store Search API for mapping of your Points of Interest",
153
+ 'Get a vector basemap, with smooth navigation and fast loading, optimised for mobile, with 3D capabilities. Leverage built in interactions with the Store Search API for mapping of your Points of Interest',
156
154
  pricing: [
157
155
  [5000, 0],
158
156
  [100000, 2.58],
@@ -169,9 +167,8 @@ const Pricing = {
169
167
  docLink: 'https://developers.woosmap.com/products/map-static-api/get-started/',
170
168
  defaultQueries: 0,
171
169
  publicTierCount: 4,
172
- unit: "Monthly Requests",
173
- description:
174
- "Generate customizable, embeddable map images with minimal integration effort",
170
+ unit: 'Monthly Requests',
171
+ description: 'Generate customizable, embeddable map images with minimal integration effort',
175
172
  pricing: [
176
173
  [5000, 0],
177
174
  [100000, 0.74],
@@ -188,15 +185,15 @@ const Pricing = {
188
185
  },
189
186
  Distance: {
190
187
  image: distanceImgSq,
191
- description: "Get distance or time for your routes worldwide with or without traffic",
188
+ description: 'Get distance or time for your routes worldwide with or without traffic',
192
189
  pricings: {
193
190
  'Route (/q)': {
194
191
  docLink: 'https://developers.woosmap.com/products/distance-api/route-endpoint',
195
192
  defaultQueries: 0,
196
193
  publicTierCount: 4,
197
- unit: "Monthly Requests",
194
+ unit: 'Monthly Requests',
198
195
  description:
199
- "Get driving, cycling or walking route distance and duration with detailed path to display on a map",
196
+ 'Get driving, cycling or walking route distance and duration with detailed path to display on a map',
200
197
  pricing: [
201
198
  [5000, 0],
202
199
  [100000, 1.84],
@@ -210,12 +207,13 @@ const Pricing = {
210
207
  discountEligible: false,
211
208
  },
212
209
  'Route with Traffic (/q)': {
213
- docLink: 'https://developers.woosmap.com/products/distance-api/route-endpoint/#traffic-awareness-parameters-optional',
210
+ docLink:
211
+ 'https://developers.woosmap.com/products/distance-api/route-endpoint/#traffic-awareness-parameters-optional',
214
212
  defaultQueries: 0,
215
213
  publicTierCount: 4,
216
- unit: "Monthly Requests",
214
+ unit: 'Monthly Requests',
217
215
  description:
218
- "Get driving, cycling or walking route distance and duration including historical or real time traffic paterns",
216
+ 'Get driving, cycling or walking route distance and duration including historical or real time traffic paterns',
219
217
  pricing: [
220
218
  [5000, 0],
221
219
  [100000, 3.68],
@@ -232,9 +230,9 @@ const Pricing = {
232
230
  docLink: 'https://developers.woosmap.com/products/distance-api/distance-matrix-endpoint',
233
231
  defaultQueries: 0,
234
232
  publicTierCount: 4,
235
- unit: "Monthly Elements",
233
+ unit: 'Monthly Elements',
236
234
  description:
237
- "Get driving, cycling or walking route distance and duration for multiple Origins and Destinations",
235
+ 'Get driving, cycling or walking route distance and duration for multiple Origins and Destinations',
238
236
  pricing: [
239
237
  [10000, 0],
240
238
  [100000, 1.84],
@@ -248,18 +246,19 @@ const Pricing = {
248
246
  discountEligible: false,
249
247
  },
250
248
  'Distance Matrix with Traffic (/elt)': {
251
- docLink: 'https://developers.woosmap.com/products/distance-api/distance-matrix-endpoint/#traffic-awareness-parameter-optional',
249
+ docLink:
250
+ 'https://developers.woosmap.com/products/distance-api/distance-matrix-endpoint/#traffic-awareness-parameter-optional',
252
251
  defaultQueries: 0,
253
252
  publicTierCount: 2,
254
- unit: "Monthly Elements",
253
+ unit: 'Monthly Elements',
255
254
  description:
256
- "Get driving, cycling or walking route distance and duration for multiple Origins and Destinations, including historical or real time traffic paterns",
255
+ 'Get driving, cycling or walking route distance and duration for multiple Origins and Destinations, including historical or real time traffic paterns',
257
256
  pricing: [
258
257
  [5000, 0],
259
258
  [100000, 3.68],
260
259
  [500000, 2.94],
261
260
  [1000000, 2.76],
262
- [5000000, 2,31],
261
+ [5000000, 2, 31],
263
262
  [10000000, 1.75],
264
263
  [20000000, 0.99],
265
264
  [50000000, 0.66],
@@ -270,9 +269,8 @@ const Pricing = {
270
269
  docLink: 'https://developers.woosmap.com/products/distance-api/isochrone-endpoint',
271
270
  defaultQueries: 0,
272
271
  publicTierCount: 4,
273
- unit: "Monthly Requests",
274
- description:
275
- "Get isochrone computations to display on a map",
272
+ unit: 'Monthly Requests',
273
+ description: 'Get isochrone computations to display on a map',
276
274
  pricing: [
277
275
  [5000, 0],
278
276
  [100000, 1.84],
@@ -289,9 +287,9 @@ const Pricing = {
289
287
  docLink: 'https://developers.woosmap.com/products/mobile/get-started',
290
288
  defaultQueries: 0,
291
289
  publicTierCount: 4,
292
- unit: "Monthly Elements",
290
+ unit: 'Monthly Elements',
293
291
  description:
294
- "Get driving, cycling or walking route distance and duration for multiple Origins and Destinations using the Woosmap Geofencing SDK",
292
+ 'Get driving, cycling or walking route distance and duration for multiple Origins and Destinations using the Woosmap Geofencing SDK',
295
293
  pricing: [
296
294
  [10000, 0],
297
295
  [100000, 10.32],
@@ -308,9 +306,9 @@ const Pricing = {
308
306
  docLink: 'https://developers.woosmap.com/products/mobile/get-started/',
309
307
  defaultQueries: 0,
310
308
  publicTierCount: 4,
311
- unit: "Monthly Elements",
309
+ unit: 'Monthly Elements',
312
310
  description:
313
- "Get driving, cycling or walking route distance and duration for multiple Origins and Destinations, including historical or real time traffic paterns using the Woosmap Geofencing SDK",
311
+ 'Get driving, cycling or walking route distance and duration for multiple Origins and Destinations, including historical or real time traffic paterns using the Woosmap Geofencing SDK',
314
312
  pricing: [
315
313
  [5000, 0],
316
314
  [100000, 20.64],
@@ -323,13 +321,13 @@ const Pricing = {
323
321
  ],
324
322
  discountEligible: false,
325
323
  },
326
- 'Transit': {
324
+ Transit: {
327
325
  docLink: 'https://developers.woosmap.com/products/transit-api/route-endpoint',
328
326
  defaultQueries: 0,
329
327
  publicTierCount: 4,
330
- unit: "Monthly Requests",
328
+ unit: 'Monthly Requests',
331
329
  description:
332
- "Get distance, duration, path and public transport details between an origin and a destination, based on public transportation",
330
+ 'Get distance, duration, path and public transport details between an origin and a destination, based on public transportation',
333
331
  pricing: [
334
332
  [5000, 0],
335
333
  [100000, 3.68],
@@ -346,33 +344,33 @@ const Pricing = {
346
344
  },
347
345
  Geolocation: {
348
346
  image: geolocationImgSq,
349
- description: "Automatic Geolocation based on IP addresses",
347
+ description: 'Automatic Geolocation based on IP addresses',
350
348
  pricings: {
351
- 'Position': {
349
+ Position: {
352
350
  docLink: 'https://developers.woosmap.com/products/geolocation-api/location',
353
351
  defaultQueries: 0,
354
352
  publicTierCount: 3,
355
- unit: "Monthly Requests",
353
+ unit: 'Monthly Requests',
356
354
  description:
357
- "Retrieve local context for your visitors (country, region, timezone, etc), based on their IP, to customise your website and create location-based funnels",
355
+ 'Retrieve local context for your visitors (country, region, timezone, etc), based on their IP, to customise your website and create location-based funnels',
358
356
  pricing: [
359
357
  [100000, 2.06],
360
358
  [500000, 1.65],
361
359
  [1000000, 1.55],
362
360
  [5000000, 0.77],
363
- [10000000, 0.20],
361
+ [10000000, 0.2],
364
362
  [20000000, 0.06],
365
363
  [50000000, 0.02],
366
364
  ],
367
365
  discountEligible: false,
368
366
  },
369
- 'Stores': {
367
+ Stores: {
370
368
  docLink: 'https://developers.woosmap.com/products/geolocation-api/stores',
371
369
  defaultQueries: 0,
372
370
  publicTierCount: 3,
373
- unit: "Monthly Requests",
371
+ unit: 'Monthly Requests',
374
372
  description:
375
- "In addition to local context, retrieve all assets hosted in Woosmap close to this location (store search request included)",
373
+ 'In addition to local context, retrieve all assets hosted in Woosmap close to this location (store search request included)',
376
374
  pricing: [
377
375
  [100000, 2.58],
378
376
  [500000, 2.06],
@@ -384,13 +382,12 @@ const Pricing = {
384
382
  ],
385
383
  discountEligible: false,
386
384
  },
387
- 'Timezone': {
385
+ Timezone: {
388
386
  docLink: 'https://developers.woosmap.com/products/geolocation-api/timezone',
389
387
  defaultQueries: 0,
390
388
  publicTierCount: 3,
391
- unit: "Monthly Requests",
392
- description:
393
- "Retrieve the timezone and time offsets from a location to compute local time",
389
+ unit: 'Monthly Requests',
390
+ description: 'Retrieve the timezone and time offsets from a location to compute local time',
394
391
  pricing: [
395
392
  [100000, 2.58],
396
393
  [500000, 2.06],
@@ -404,17 +401,17 @@ const Pricing = {
404
401
  },
405
402
  },
406
403
  },
407
- Stores: {
404
+ Stores: {
408
405
  image: storesImgSq,
409
- description: "A dedicated search engine for your own data",
406
+ description: 'A dedicated search engine for your own data',
410
407
  pricings: {
411
- 'Search': {
408
+ Search: {
412
409
  docLink: 'https://developers.woosmap.com/products/search-api/search-query',
413
410
  defaultQueries: 0,
414
411
  publicTierCount: 4,
415
- unit: "Monthly Requests",
412
+ unit: 'Monthly Requests',
416
413
  description:
417
- "Search for your points of interest by location, proxilmity to a route, by their characteristics with autocomplete capabilities",
414
+ 'Search for your points of interest by location, proxilmity to a route, by their characteristics with autocomplete capabilities',
418
415
  pricing: [
419
416
  [10000, 0],
420
417
  [100000, 0.52],
@@ -427,13 +424,12 @@ const Pricing = {
427
424
  ],
428
425
  discountEligible: false,
429
426
  },
430
- 'Mapping': {
427
+ Mapping: {
431
428
  docLink: 'https://developers.woosmap.com/products/map-api/guides/display-stores-overlay',
432
429
  defaultQueries: 0,
433
430
  publicTierCount: 4,
434
- unit: "Monthly Requests",
435
- description:
436
- "Map your points of interest on a world map, no matter their number",
431
+ unit: 'Monthly Requests',
432
+ description: 'Map your points of interest on a world map, no matter their number',
437
433
  pricing: [
438
434
  [10000, 0],
439
435
  [100000, 5.16],
@@ -450,9 +446,8 @@ const Pricing = {
450
446
  docLink: 'https://developers.woosmap.com/products/data-api/get-started',
451
447
  defaultQueries: 0,
452
448
  publicTierCount: 2,
453
- unit: "Monthly Requests",
454
- description:
455
- "Handle and maintain location data, ensuring accuracy and reliability",
449
+ unit: 'Monthly Requests',
450
+ description: 'Handle and maintain location data, ensuring accuracy and reliability',
456
451
  pricing: [
457
452
  [10000, 0],
458
453
  [100000, 10.32],
@@ -469,9 +464,8 @@ const Pricing = {
469
464
  docLink: 'https://developers.woosmap.com/products/mobile/get-started',
470
465
  defaultQueries: 0,
471
466
  publicTierCount: 4,
472
- unit: "Monthly Requests",
473
- description:
474
- "Search for your points of interest by location using the Woosmap Geofencing SDK",
467
+ unit: 'Monthly Requests',
468
+ description: 'Search for your points of interest by location using the Woosmap Geofencing SDK',
475
469
  pricing: [
476
470
  [10000, 0],
477
471
  [100000, 5.16],
@@ -488,34 +482,32 @@ const Pricing = {
488
482
  },
489
483
  Indoor: {
490
484
  image: indoorImgSq,
491
- description: "Map private venues and propose indoor search and wayfinding",
485
+ description: 'Map private venues and propose indoor search and wayfinding',
492
486
  pricings: {
493
- 'Search': {
487
+ Search: {
494
488
  docLink: 'https://developers.woosmap.com/products/indoor-api/indoor-js-api/get-started',
495
489
  defaultQueries: 0,
496
490
  publicTierCount: 2,
497
- unit: "Monthly Requests",
498
- description:
499
- "Search for your POI",
491
+ unit: 'Monthly Requests',
492
+ description: 'Search for your POI',
500
493
  pricing: [
501
494
  [10000, 0],
502
495
  [100000, 2.06],
503
496
  [500000, 1.65],
504
497
  [1000000, 1.55],
505
498
  [5000000, 0.77],
506
- [10000000, 0.20],
499
+ [10000000, 0.2],
507
500
  [20000000, 0.06],
508
501
  [50000000, 0.02],
509
502
  ],
510
503
  discountEligible: false,
511
504
  },
512
- 'Distance': {
505
+ Distance: {
513
506
  docLink: 'https://developers.woosmap.com/products/indoor-api/indoor-js-api/direction-service',
514
507
  defaultQueries: 0,
515
508
  publicTierCount: 4,
516
- unit: "Monthly Requests",
517
- description:
518
- "Enable indoor path calculation and turn-by-turn navigation based on mobility profiles",
509
+ unit: 'Monthly Requests',
510
+ description: 'Enable indoor path calculation and turn-by-turn navigation based on mobility profiles',
519
511
  pricing: [
520
512
  [10000, 0],
521
513
  [100000, 20.64],
@@ -532,9 +524,8 @@ const Pricing = {
532
524
  docLink: 'https://developers.woosmap.com/products/indoor-api/guides/digitalisation',
533
525
  defaultQueries: 0,
534
526
  publicTierCount: 4,
535
- unit: "Monthly Requests",
536
- description:
537
- "Manage your POIs and venue",
527
+ unit: 'Monthly Requests',
528
+ description: 'Manage your POIs and venue',
538
529
  pricing: [
539
530
  [10000, 0],
540
531
  [100000, 20.64],
@@ -547,13 +538,12 @@ const Pricing = {
547
538
  ],
548
539
  discountEligible: false,
549
540
  },
550
- 'Mapping': {
541
+ Mapping: {
551
542
  docLink: 'https://developers.woosmap.com/products/indoor-api/indoor-js-api/map-renderer',
552
543
  defaultQueries: 0,
553
544
  publicTierCount: 4,
554
- unit: "Monthly Requests",
555
- description:
556
- "Display your indoor venue map on top of the map of the world",
545
+ unit: 'Monthly Requests',
546
+ description: 'Display your indoor venue map on top of the map of the world',
557
547
  pricing: [
558
548
  [10000, 0],
559
549
  [100000, 20.64],
@@ -3,9 +3,9 @@ import PropTypes from 'prop-types';
3
3
  import numeral from 'numeral';
4
4
  /* eslint-disable import/no-named-as-default */
5
5
  /* eslint-disable import/no-named-as-default-member */
6
- import PricingSlider from '@/components/PricingSlider/PricingSlider';
7
- import PricingData from '@/components/PricingSlider/PricingData';
8
- import tr from '@/components/utils/locale';
6
+ import PricingSlider from './PricingSlider';
7
+ import PricingData from './PricingData';
8
+ import { tr } from '../utils/locale';
9
9
 
10
10
  export default class PricingSimulator extends Component {
11
11
  constructor(props) {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PricingSimulator from '@/components/PricingSlider/PricingSimulator';
2
+ import PricingSimulator from './PricingSimulator';
3
3
 
4
4
  const Story = {
5
5
  title: 'base/PricingSimulator',
@@ -2,11 +2,10 @@ import React, { Component } from 'react';
2
2
  import ReactSlider from 'react-slider';
3
3
  import PropTypes from 'prop-types';
4
4
  import numeral from 'numeral';
5
- import Input from '@/components/Input/Input';
6
- import Button from '@/components/Button/Button';
7
- // eslint-disable-next-line import/no-named-as-default
8
- import tr from '@/components/utils/locale';
9
- import Icon from '@/components/Icon/Icon';
5
+ import Input from '../Input/Input';
6
+ import Button from '../Button/Button';
7
+ import { tr } from '../utils/locale';
8
+ import Icon from '../Icon/Icon';
10
9
 
11
10
  export default class PricingSlider extends Component {
12
11
  constructor(props) {
@@ -1,7 +1,7 @@
1
1
  import React, { Component } from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import classNames from 'classnames';
4
- import '@/components/ProgressBar/ProgressBar.styl';
4
+ import './ProgressBar.styl';
5
5
 
6
6
  class ProgressBar extends Component {
7
7
  getColor = (percentage) => {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import ProgressBar from '@/components/ProgressBar/ProgressBar';
2
+ import ProgressBar from './ProgressBar';
3
3
 
4
4
  const Story = {
5
5
  title: 'base/ProgressBar',
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { render, screen } from '@testing-library/react';
3
3
  import '@testing-library/jest-dom/extend-expect';
4
- import ProgressBar from '@/components/ProgressBar/ProgressBar';
4
+ import ProgressBar from './ProgressBar';
5
5
 
6
6
  describe('<ProgressBar />', () => {
7
7
  it.each([['description'], ['leftText'], ['rightText']])('renders %s if provided via props', (prop) => {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import ScrollBar from '@/components/ScrollBar/ScrollBar';
2
+ import ScrollBar from './ScrollBar';
3
3
 
4
4
  const Story = {
5
5
  title: 'base/ScrollBar',
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { render } from '@testing-library/react';
3
3
  import '@testing-library/jest-dom/extend-expect';
4
4
 
5
- import ScrollBar from '@/components/ScrollBar/ScrollBar';
5
+ import ScrollBar from './ScrollBar';
6
6
 
7
7
  it('renders a ScrollBar component ', () => {
8
8
  const { getByTestId } = render(<ScrollBar>content</ScrollBar>);
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
- import Select from '@/components/Select/Select';
3
- import AsyncSelect from '@/components/Select/AsyncSelect';
4
- import CountrySelect from '@/components/Select/CountrySelect';
5
- import LanguageSelect from '@/components/Select/LanguageSelect';
2
+ import Select from './Select';
3
+ import AsyncSelect from './AsyncSelect';
4
+ import CountrySelect from './CountrySelect';
5
+ import LanguageSelect from './LanguageSelect';
6
6
 
7
7
  const Story = {
8
8
  title: 'base/Select',
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { render } from '@testing-library/react';
3
3
  import '@testing-library/jest-dom/extend-expect';
4
4
 
5
- import TagSelect from '@/components/Select/TagSelect';
5
+ import TagSelect from './TagSelect';
6
6
 
7
7
  it('renders a ConfirmationPopover', () => {
8
8
  const { container } = render(<TagSelect />);
@@ -1,7 +1,7 @@
1
1
  import React, { Component } from 'react';
2
2
  import cl from 'classnames';
3
3
  import PropTypes from 'prop-types';
4
- import Button from '@/components/Button/Button';
4
+ import Button from '../Button/Button';
5
5
 
6
6
  export default class ServiceMessage extends Component {
7
7
  constructor(props) {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import ServiceMessage from '@/components/ServiceMessage/ServiceMessage';
3
- import Button from '@/components/Button/Button';
2
+ import ServiceMessage from './ServiceMessage';
3
+ import Button from '../Button/Button';
4
4
 
5
5
  const Story = {
6
6
  title: 'base/ServiceMessage',
@@ -1,8 +1,8 @@
1
1
  import React, { Component } from 'react';
2
2
  import cl from 'classnames';
3
3
  import PropTypes from 'prop-types';
4
- import Animate, { AnimatePresence } from '@/components/Animate/Animate';
5
- import Button from '@/components/Button/Button';
4
+ import Animate, { AnimatePresence } from '../Animate/Animate';
5
+ import Button from '../Button/Button';
6
6
 
7
7
  const SnackBarContext = React.createContext();
8
8
 
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import SnackBar from '@/components/SnackBar/SnackBar';
3
- import withSnackBar from '@/components/SnackBar/withSnackBar';
4
- import Button from '@/components/Button/Button';
2
+ import SnackBar from './SnackBar';
3
+ import withSnackBar from './withSnackBar';
4
+ import Button from '../Button/Button';
5
5
 
6
6
  class SomeChildComponent extends React.Component {
7
7
  render() {