@mapvx/web-js 1.0.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 (397) hide show
  1. package/LICENSE.md +19 -0
  2. package/README.md +257 -0
  3. package/dist/cjs/assets/icons.js +87 -0
  4. package/dist/cjs/assets/icons.js.map +1 -0
  5. package/dist/cjs/assets/route_animation_icon.svg +15 -0
  6. package/dist/cjs/assets/user-dot-icon.svg +3 -0
  7. package/dist/cjs/config/sdkConfig.js +3 -0
  8. package/dist/cjs/config/sdkConfig.js.map +1 -0
  9. package/dist/cjs/controllers/routeController.js +1054 -0
  10. package/dist/cjs/controllers/routeController.js.map +1 -0
  11. package/dist/cjs/domain/models/_internal.js +15 -0
  12. package/dist/cjs/domain/models/_internal.js.map +1 -0
  13. package/dist/cjs/domain/models/_rtl.js +10 -0
  14. package/dist/cjs/domain/models/_rtl.js.map +1 -0
  15. package/dist/cjs/domain/models/animation.js +63 -0
  16. package/dist/cjs/domain/models/animation.js.map +1 -0
  17. package/dist/cjs/domain/models/banner.js +24 -0
  18. package/dist/cjs/domain/models/banner.js.map +1 -0
  19. package/dist/cjs/domain/models/categories.js +25 -0
  20. package/dist/cjs/domain/models/categories.js.map +1 -0
  21. package/dist/cjs/domain/models/cityFilterOption.js +3 -0
  22. package/dist/cjs/domain/models/cityFilterOption.js.map +1 -0
  23. package/dist/cjs/domain/models/configuration.js +3 -0
  24. package/dist/cjs/domain/models/configuration.js.map +1 -0
  25. package/dist/cjs/domain/models/cssCustomization.js +3 -0
  26. package/dist/cjs/domain/models/cssCustomization.js.map +1 -0
  27. package/dist/cjs/domain/models/fitOptions.js +3 -0
  28. package/dist/cjs/domain/models/fitOptions.js.map +1 -0
  29. package/dist/cjs/domain/models/innerFloors.js +3 -0
  30. package/dist/cjs/domain/models/innerFloors.js.map +1 -0
  31. package/dist/cjs/domain/models/institution.js +44 -0
  32. package/dist/cjs/domain/models/institution.js.map +1 -0
  33. package/dist/cjs/domain/models/latLng.js +3 -0
  34. package/dist/cjs/domain/models/latLng.js.map +1 -0
  35. package/dist/cjs/domain/models/location.js +3 -0
  36. package/dist/cjs/domain/models/location.js.map +1 -0
  37. package/dist/cjs/domain/models/loggeable.js +52 -0
  38. package/dist/cjs/domain/models/loggeable.js.map +1 -0
  39. package/dist/cjs/domain/models/mapCamera.js +3 -0
  40. package/dist/cjs/domain/models/mapCamera.js.map +1 -0
  41. package/dist/cjs/domain/models/mapConfig.js +15 -0
  42. package/dist/cjs/domain/models/mapConfig.js.map +1 -0
  43. package/dist/cjs/domain/models/marker.js +400 -0
  44. package/dist/cjs/domain/models/marker.js.map +1 -0
  45. package/dist/cjs/domain/models/multilanguage.js +18 -0
  46. package/dist/cjs/domain/models/multilanguage.js.map +1 -0
  47. package/dist/cjs/domain/models/openingHours.js +3 -0
  48. package/dist/cjs/domain/models/openingHours.js.map +1 -0
  49. package/dist/cjs/domain/models/place.js +101 -0
  50. package/dist/cjs/domain/models/place.js.map +1 -0
  51. package/dist/cjs/domain/models/platform.js +3 -0
  52. package/dist/cjs/domain/models/platform.js.map +1 -0
  53. package/dist/cjs/domain/models/popover.js +3 -0
  54. package/dist/cjs/domain/models/popover.js.map +1 -0
  55. package/dist/cjs/domain/models/product.js +3 -0
  56. package/dist/cjs/domain/models/product.js.map +1 -0
  57. package/dist/cjs/domain/models/property.js +104 -0
  58. package/dist/cjs/domain/models/property.js.map +1 -0
  59. package/dist/cjs/domain/models/route.js +166 -0
  60. package/dist/cjs/domain/models/route.js.map +1 -0
  61. package/dist/cjs/domain/models/routeConfiguration.js +80 -0
  62. package/dist/cjs/domain/models/routeConfiguration.js.map +1 -0
  63. package/dist/cjs/domain/models/routeInstance.js +30 -0
  64. package/dist/cjs/domain/models/routeInstance.js.map +1 -0
  65. package/dist/cjs/domain/models/routeStyle.js +3 -0
  66. package/dist/cjs/domain/models/routeStyle.js.map +1 -0
  67. package/dist/cjs/domain/models/transport.js +22 -0
  68. package/dist/cjs/domain/models/transport.js.map +1 -0
  69. package/dist/cjs/domain/ports/ICache.js +3 -0
  70. package/dist/cjs/domain/ports/ICache.js.map +1 -0
  71. package/dist/cjs/domain/ports/IHttpClient.js +3 -0
  72. package/dist/cjs/domain/ports/IHttpClient.js.map +1 -0
  73. package/dist/cjs/domain/ports/ILogger.js +23 -0
  74. package/dist/cjs/domain/ports/ILogger.js.map +1 -0
  75. package/dist/cjs/domain/ports/index.js +10 -0
  76. package/dist/cjs/domain/ports/index.js.map +1 -0
  77. package/dist/cjs/index.js +76 -0
  78. package/dist/cjs/index.js.map +1 -0
  79. package/dist/cjs/infrastructure/cache/CacheManager.js +236 -0
  80. package/dist/cjs/infrastructure/cache/CacheManager.js.map +1 -0
  81. package/dist/cjs/infrastructure/cache/LRUCache.js +153 -0
  82. package/dist/cjs/infrastructure/cache/LRUCache.js.map +1 -0
  83. package/dist/cjs/infrastructure/cache/PersistentCache.js +160 -0
  84. package/dist/cjs/infrastructure/cache/PersistentCache.js.map +1 -0
  85. package/dist/cjs/infrastructure/cache/cacheConfig.js +70 -0
  86. package/dist/cjs/infrastructure/cache/cacheConfig.js.map +1 -0
  87. package/dist/cjs/infrastructure/http/FetchHttpClient.js +75 -0
  88. package/dist/cjs/infrastructure/http/FetchHttpClient.js.map +1 -0
  89. package/dist/cjs/infrastructure/logging/CountlyLogger.js +78 -0
  90. package/dist/cjs/infrastructure/logging/CountlyLogger.js.map +1 -0
  91. package/dist/cjs/interfaces/cache.js +3 -0
  92. package/dist/cjs/interfaces/cache.js.map +1 -0
  93. package/dist/cjs/interfaces/healthResponse.js +3 -0
  94. package/dist/cjs/interfaces/healthResponse.js.map +1 -0
  95. package/dist/cjs/interfaces/institutionResponse.js +3 -0
  96. package/dist/cjs/interfaces/institutionResponse.js.map +1 -0
  97. package/dist/cjs/interfaces/metadata.js +3 -0
  98. package/dist/cjs/interfaces/metadata.js.map +1 -0
  99. package/dist/cjs/interfaces/placeResponse.js +3 -0
  100. package/dist/cjs/interfaces/placeResponse.js.map +1 -0
  101. package/dist/cjs/interfaces/routeCacheResponse.js +3 -0
  102. package/dist/cjs/interfaces/routeCacheResponse.js.map +1 -0
  103. package/dist/cjs/interfaces/routeResponse.js +3 -0
  104. package/dist/cjs/interfaces/routeResponse.js.map +1 -0
  105. package/dist/cjs/interfaces/styleResponse.js +3 -0
  106. package/dist/cjs/interfaces/styleResponse.js.map +1 -0
  107. package/dist/cjs/logger/logger.js +91 -0
  108. package/dist/cjs/logger/logger.js.map +1 -0
  109. package/dist/cjs/logger/rollbar.js +24 -0
  110. package/dist/cjs/logger/rollbar.js.map +1 -0
  111. package/dist/cjs/map/map.js +1457 -0
  112. package/dist/cjs/map/map.js.map +1 -0
  113. package/dist/cjs/repository/repository.js +574 -0
  114. package/dist/cjs/repository/repository.js.map +1 -0
  115. package/dist/cjs/repository/requester.js +590 -0
  116. package/dist/cjs/repository/requester.js.map +1 -0
  117. package/dist/cjs/sdk.js +351 -0
  118. package/dist/cjs/sdk.js.map +1 -0
  119. package/dist/cjs/utils/error.js +20 -0
  120. package/dist/cjs/utils/error.js.map +1 -0
  121. package/dist/cjs/utils/images.js +26 -0
  122. package/dist/cjs/utils/images.js.map +1 -0
  123. package/dist/cjs/utils/nav-functions.js +150 -0
  124. package/dist/cjs/utils/nav-functions.js.map +1 -0
  125. package/dist/cjs/utils/opening-hours-helper.js +911 -0
  126. package/dist/cjs/utils/opening-hours-helper.js.map +1 -0
  127. package/dist/cjs/utils/route-utils.js +58 -0
  128. package/dist/cjs/utils/route-utils.js.map +1 -0
  129. package/dist/cjs/utils/update-css.js +77 -0
  130. package/dist/cjs/utils/update-css.js.map +1 -0
  131. package/dist/cjs/utils/utils.js +105 -0
  132. package/dist/cjs/utils/utils.js.map +1 -0
  133. package/dist/es/assets/icons.d.ts +86 -0
  134. package/dist/es/assets/icons.d.ts.map +1 -0
  135. package/dist/es/assets/icons.js +83 -0
  136. package/dist/es/assets/icons.js.map +1 -0
  137. package/dist/es/assets/route_animation_icon.svg +15 -0
  138. package/dist/es/assets/user-dot-icon.svg +3 -0
  139. package/dist/es/config/sdkConfig.d.ts +105 -0
  140. package/dist/es/config/sdkConfig.d.ts.map +1 -0
  141. package/dist/es/config/sdkConfig.js +2 -0
  142. package/dist/es/config/sdkConfig.js.map +1 -0
  143. package/dist/es/controllers/routeController.d.ts +161 -0
  144. package/dist/es/controllers/routeController.d.ts.map +1 -0
  145. package/dist/es/controllers/routeController.js +1050 -0
  146. package/dist/es/controllers/routeController.js.map +1 -0
  147. package/dist/es/domain/models/_internal.d.ts +21 -0
  148. package/dist/es/domain/models/_internal.d.ts.map +1 -0
  149. package/dist/es/domain/models/_internal.js +11 -0
  150. package/dist/es/domain/models/_internal.js.map +1 -0
  151. package/dist/es/domain/models/_rtl.d.ts +7 -0
  152. package/dist/es/domain/models/_rtl.d.ts.map +1 -0
  153. package/dist/es/domain/models/_rtl.js +7 -0
  154. package/dist/es/domain/models/_rtl.js.map +1 -0
  155. package/dist/es/domain/models/animation.d.ts +161 -0
  156. package/dist/es/domain/models/animation.d.ts.map +1 -0
  157. package/dist/es/domain/models/animation.js +58 -0
  158. package/dist/es/domain/models/animation.js.map +1 -0
  159. package/dist/es/domain/models/banner.d.ts +64 -0
  160. package/dist/es/domain/models/banner.d.ts.map +1 -0
  161. package/dist/es/domain/models/banner.js +20 -0
  162. package/dist/es/domain/models/banner.js.map +1 -0
  163. package/dist/es/domain/models/categories.d.ts +157 -0
  164. package/dist/es/domain/models/categories.d.ts.map +1 -0
  165. package/dist/es/domain/models/categories.js +20 -0
  166. package/dist/es/domain/models/categories.js.map +1 -0
  167. package/dist/es/domain/models/cityFilterOption.d.ts +15 -0
  168. package/dist/es/domain/models/cityFilterOption.d.ts.map +1 -0
  169. package/dist/es/domain/models/cityFilterOption.js +2 -0
  170. package/dist/es/domain/models/cityFilterOption.js.map +1 -0
  171. package/dist/es/domain/models/configuration.d.ts +523 -0
  172. package/dist/es/domain/models/configuration.d.ts.map +1 -0
  173. package/dist/es/domain/models/configuration.js +2 -0
  174. package/dist/es/domain/models/configuration.js.map +1 -0
  175. package/dist/es/domain/models/cssCustomization.d.ts +63 -0
  176. package/dist/es/domain/models/cssCustomization.d.ts.map +1 -0
  177. package/dist/es/domain/models/cssCustomization.js +2 -0
  178. package/dist/es/domain/models/cssCustomization.js.map +1 -0
  179. package/dist/es/domain/models/fitOptions.d.ts +175 -0
  180. package/dist/es/domain/models/fitOptions.d.ts.map +1 -0
  181. package/dist/es/domain/models/fitOptions.js +2 -0
  182. package/dist/es/domain/models/fitOptions.js.map +1 -0
  183. package/dist/es/domain/models/innerFloors.d.ts +42 -0
  184. package/dist/es/domain/models/innerFloors.d.ts.map +1 -0
  185. package/dist/es/domain/models/innerFloors.js +2 -0
  186. package/dist/es/domain/models/innerFloors.js.map +1 -0
  187. package/dist/es/domain/models/institution.d.ts +64 -0
  188. package/dist/es/domain/models/institution.d.ts.map +1 -0
  189. package/dist/es/domain/models/institution.js +40 -0
  190. package/dist/es/domain/models/institution.js.map +1 -0
  191. package/dist/es/domain/models/latLng.d.ts +14 -0
  192. package/dist/es/domain/models/latLng.d.ts.map +1 -0
  193. package/dist/es/domain/models/latLng.js +2 -0
  194. package/dist/es/domain/models/latLng.js.map +1 -0
  195. package/dist/es/domain/models/location.d.ts +10 -0
  196. package/dist/es/domain/models/location.d.ts.map +1 -0
  197. package/dist/es/domain/models/location.js +2 -0
  198. package/dist/es/domain/models/location.js.map +1 -0
  199. package/dist/es/domain/models/loggeable.d.ts +43 -0
  200. package/dist/es/domain/models/loggeable.d.ts.map +1 -0
  201. package/dist/es/domain/models/loggeable.js +48 -0
  202. package/dist/es/domain/models/loggeable.js.map +1 -0
  203. package/dist/es/domain/models/mapCamera.d.ts +109 -0
  204. package/dist/es/domain/models/mapCamera.d.ts.map +1 -0
  205. package/dist/es/domain/models/mapCamera.js +2 -0
  206. package/dist/es/domain/models/mapCamera.js.map +1 -0
  207. package/dist/es/domain/models/mapConfig.d.ts +238 -0
  208. package/dist/es/domain/models/mapConfig.d.ts.map +1 -0
  209. package/dist/es/domain/models/mapConfig.js +12 -0
  210. package/dist/es/domain/models/mapConfig.js.map +1 -0
  211. package/dist/es/domain/models/marker.d.ts +301 -0
  212. package/dist/es/domain/models/marker.d.ts.map +1 -0
  213. package/dist/es/domain/models/marker.js +396 -0
  214. package/dist/es/domain/models/marker.js.map +1 -0
  215. package/dist/es/domain/models/multilanguage.d.ts +27 -0
  216. package/dist/es/domain/models/multilanguage.d.ts.map +1 -0
  217. package/dist/es/domain/models/multilanguage.js +14 -0
  218. package/dist/es/domain/models/multilanguage.js.map +1 -0
  219. package/dist/es/domain/models/openingHours.d.ts +30 -0
  220. package/dist/es/domain/models/openingHours.d.ts.map +1 -0
  221. package/dist/es/domain/models/openingHours.js +2 -0
  222. package/dist/es/domain/models/openingHours.js.map +1 -0
  223. package/dist/es/domain/models/place.d.ts +167 -0
  224. package/dist/es/domain/models/place.d.ts.map +1 -0
  225. package/dist/es/domain/models/place.js +97 -0
  226. package/dist/es/domain/models/place.js.map +1 -0
  227. package/dist/es/domain/models/platform.d.ts +6 -0
  228. package/dist/es/domain/models/platform.d.ts.map +1 -0
  229. package/dist/es/domain/models/platform.js +2 -0
  230. package/dist/es/domain/models/platform.js.map +1 -0
  231. package/dist/es/domain/models/popover.d.ts +14 -0
  232. package/dist/es/domain/models/popover.d.ts.map +1 -0
  233. package/dist/es/domain/models/popover.js +2 -0
  234. package/dist/es/domain/models/popover.js.map +1 -0
  235. package/dist/es/domain/models/product.d.ts +36 -0
  236. package/dist/es/domain/models/product.d.ts.map +1 -0
  237. package/dist/es/domain/models/product.js +2 -0
  238. package/dist/es/domain/models/product.js.map +1 -0
  239. package/dist/es/domain/models/property.d.ts +172 -0
  240. package/dist/es/domain/models/property.d.ts.map +1 -0
  241. package/dist/es/domain/models/property.js +100 -0
  242. package/dist/es/domain/models/property.js.map +1 -0
  243. package/dist/es/domain/models/route.d.ts +199 -0
  244. package/dist/es/domain/models/route.d.ts.map +1 -0
  245. package/dist/es/domain/models/route.js +160 -0
  246. package/dist/es/domain/models/route.js.map +1 -0
  247. package/dist/es/domain/models/routeConfiguration.d.ts +140 -0
  248. package/dist/es/domain/models/routeConfiguration.d.ts.map +1 -0
  249. package/dist/es/domain/models/routeConfiguration.js +75 -0
  250. package/dist/es/domain/models/routeConfiguration.js.map +1 -0
  251. package/dist/es/domain/models/routeInstance.d.ts +52 -0
  252. package/dist/es/domain/models/routeInstance.d.ts.map +1 -0
  253. package/dist/es/domain/models/routeInstance.js +26 -0
  254. package/dist/es/domain/models/routeInstance.js.map +1 -0
  255. package/dist/es/domain/models/routeStyle.d.ts +47 -0
  256. package/dist/es/domain/models/routeStyle.d.ts.map +1 -0
  257. package/dist/es/domain/models/routeStyle.js +2 -0
  258. package/dist/es/domain/models/routeStyle.js.map +1 -0
  259. package/dist/es/domain/models/transport.d.ts +176 -0
  260. package/dist/es/domain/models/transport.d.ts.map +1 -0
  261. package/dist/es/domain/models/transport.js +18 -0
  262. package/dist/es/domain/models/transport.js.map +1 -0
  263. package/dist/es/domain/ports/ICache.d.ts +70 -0
  264. package/dist/es/domain/ports/ICache.d.ts.map +1 -0
  265. package/dist/es/domain/ports/ICache.js +2 -0
  266. package/dist/es/domain/ports/ICache.js.map +1 -0
  267. package/dist/es/domain/ports/IHttpClient.d.ts +77 -0
  268. package/dist/es/domain/ports/IHttpClient.d.ts.map +1 -0
  269. package/dist/es/domain/ports/IHttpClient.js +2 -0
  270. package/dist/es/domain/ports/IHttpClient.js.map +1 -0
  271. package/dist/es/domain/ports/ILogger.d.ts +61 -0
  272. package/dist/es/domain/ports/ILogger.d.ts.map +1 -0
  273. package/dist/es/domain/ports/ILogger.js +19 -0
  274. package/dist/es/domain/ports/ILogger.js.map +1 -0
  275. package/dist/es/domain/ports/index.d.ts +9 -0
  276. package/dist/es/domain/ports/index.d.ts.map +1 -0
  277. package/dist/es/domain/ports/index.js +6 -0
  278. package/dist/es/domain/ports/index.js.map +1 -0
  279. package/dist/es/index.d.ts +58 -0
  280. package/dist/es/index.d.ts.map +1 -0
  281. package/dist/es/index.js +48 -0
  282. package/dist/es/index.js.map +1 -0
  283. package/dist/es/infrastructure/cache/CacheManager.d.ts +106 -0
  284. package/dist/es/infrastructure/cache/CacheManager.d.ts.map +1 -0
  285. package/dist/es/infrastructure/cache/CacheManager.js +232 -0
  286. package/dist/es/infrastructure/cache/CacheManager.js.map +1 -0
  287. package/dist/es/infrastructure/cache/LRUCache.d.ts +70 -0
  288. package/dist/es/infrastructure/cache/LRUCache.d.ts.map +1 -0
  289. package/dist/es/infrastructure/cache/LRUCache.js +149 -0
  290. package/dist/es/infrastructure/cache/LRUCache.js.map +1 -0
  291. package/dist/es/infrastructure/cache/PersistentCache.d.ts +58 -0
  292. package/dist/es/infrastructure/cache/PersistentCache.d.ts.map +1 -0
  293. package/dist/es/infrastructure/cache/PersistentCache.js +156 -0
  294. package/dist/es/infrastructure/cache/PersistentCache.js.map +1 -0
  295. package/dist/es/infrastructure/cache/cacheConfig.d.ts +51 -0
  296. package/dist/es/infrastructure/cache/cacheConfig.d.ts.map +1 -0
  297. package/dist/es/infrastructure/cache/cacheConfig.js +66 -0
  298. package/dist/es/infrastructure/cache/cacheConfig.js.map +1 -0
  299. package/dist/es/infrastructure/http/FetchHttpClient.d.ts +41 -0
  300. package/dist/es/infrastructure/http/FetchHttpClient.d.ts.map +1 -0
  301. package/dist/es/infrastructure/http/FetchHttpClient.js +71 -0
  302. package/dist/es/infrastructure/http/FetchHttpClient.js.map +1 -0
  303. package/dist/es/infrastructure/logging/CountlyLogger.d.ts +47 -0
  304. package/dist/es/infrastructure/logging/CountlyLogger.d.ts.map +1 -0
  305. package/dist/es/infrastructure/logging/CountlyLogger.js +74 -0
  306. package/dist/es/infrastructure/logging/CountlyLogger.js.map +1 -0
  307. package/dist/es/interfaces/cache.d.ts +5 -0
  308. package/dist/es/interfaces/cache.d.ts.map +1 -0
  309. package/dist/es/interfaces/cache.js +2 -0
  310. package/dist/es/interfaces/cache.js.map +1 -0
  311. package/dist/es/interfaces/healthResponse.d.ts +17 -0
  312. package/dist/es/interfaces/healthResponse.d.ts.map +1 -0
  313. package/dist/es/interfaces/healthResponse.js +2 -0
  314. package/dist/es/interfaces/healthResponse.js.map +1 -0
  315. package/dist/es/interfaces/institutionResponse.d.ts +12 -0
  316. package/dist/es/interfaces/institutionResponse.d.ts.map +1 -0
  317. package/dist/es/interfaces/institutionResponse.js +2 -0
  318. package/dist/es/interfaces/institutionResponse.js.map +1 -0
  319. package/dist/es/interfaces/metadata.d.ts +7 -0
  320. package/dist/es/interfaces/metadata.d.ts.map +1 -0
  321. package/dist/es/interfaces/metadata.js +2 -0
  322. package/dist/es/interfaces/metadata.js.map +1 -0
  323. package/dist/es/interfaces/placeResponse.d.ts +50 -0
  324. package/dist/es/interfaces/placeResponse.d.ts.map +1 -0
  325. package/dist/es/interfaces/placeResponse.js +2 -0
  326. package/dist/es/interfaces/placeResponse.js.map +1 -0
  327. package/dist/es/interfaces/routeCacheResponse.d.ts +13 -0
  328. package/dist/es/interfaces/routeCacheResponse.d.ts.map +1 -0
  329. package/dist/es/interfaces/routeCacheResponse.js +2 -0
  330. package/dist/es/interfaces/routeCacheResponse.js.map +1 -0
  331. package/dist/es/interfaces/routeResponse.d.ts +42 -0
  332. package/dist/es/interfaces/routeResponse.d.ts.map +1 -0
  333. package/dist/es/interfaces/routeResponse.js +2 -0
  334. package/dist/es/interfaces/routeResponse.js.map +1 -0
  335. package/dist/es/interfaces/styleResponse.d.ts +5 -0
  336. package/dist/es/interfaces/styleResponse.d.ts.map +1 -0
  337. package/dist/es/interfaces/styleResponse.js +2 -0
  338. package/dist/es/interfaces/styleResponse.js.map +1 -0
  339. package/dist/es/logger/logger.d.ts +14 -0
  340. package/dist/es/logger/logger.d.ts.map +1 -0
  341. package/dist/es/logger/logger.js +84 -0
  342. package/dist/es/logger/logger.js.map +1 -0
  343. package/dist/es/logger/rollbar.d.ts +4 -0
  344. package/dist/es/logger/rollbar.d.ts.map +1 -0
  345. package/dist/es/logger/rollbar.js +20 -0
  346. package/dist/es/logger/rollbar.js.map +1 -0
  347. package/dist/es/map/map.d.ts +598 -0
  348. package/dist/es/map/map.d.ts.map +1 -0
  349. package/dist/es/map/map.js +1430 -0
  350. package/dist/es/map/map.js.map +1 -0
  351. package/dist/es/repository/repository.d.ts +65 -0
  352. package/dist/es/repository/repository.d.ts.map +1 -0
  353. package/dist/es/repository/repository.js +570 -0
  354. package/dist/es/repository/repository.js.map +1 -0
  355. package/dist/es/repository/requester.d.ts +169 -0
  356. package/dist/es/repository/requester.d.ts.map +1 -0
  357. package/dist/es/repository/requester.js +586 -0
  358. package/dist/es/repository/requester.js.map +1 -0
  359. package/dist/es/sdk.d.ts +279 -0
  360. package/dist/es/sdk.d.ts.map +1 -0
  361. package/dist/es/sdk.js +346 -0
  362. package/dist/es/sdk.js.map +1 -0
  363. package/dist/es/utils/error.d.ts +8 -0
  364. package/dist/es/utils/error.d.ts.map +1 -0
  365. package/dist/es/utils/error.js +16 -0
  366. package/dist/es/utils/error.js.map +1 -0
  367. package/dist/es/utils/images.d.ts +8 -0
  368. package/dist/es/utils/images.d.ts.map +1 -0
  369. package/dist/es/utils/images.js +22 -0
  370. package/dist/es/utils/images.js.map +1 -0
  371. package/dist/es/utils/nav-functions.d.ts +85 -0
  372. package/dist/es/utils/nav-functions.d.ts.map +1 -0
  373. package/dist/es/utils/nav-functions.js +143 -0
  374. package/dist/es/utils/nav-functions.js.map +1 -0
  375. package/dist/es/utils/opening-hours-helper.d.ts +395 -0
  376. package/dist/es/utils/opening-hours-helper.d.ts.map +1 -0
  377. package/dist/es/utils/opening-hours-helper.js +906 -0
  378. package/dist/es/utils/opening-hours-helper.js.map +1 -0
  379. package/dist/es/utils/route-utils.d.ts +28 -0
  380. package/dist/es/utils/route-utils.d.ts.map +1 -0
  381. package/dist/es/utils/route-utils.js +54 -0
  382. package/dist/es/utils/route-utils.js.map +1 -0
  383. package/dist/es/utils/update-css.d.ts +12 -0
  384. package/dist/es/utils/update-css.d.ts.map +1 -0
  385. package/dist/es/utils/update-css.js +73 -0
  386. package/dist/es/utils/update-css.js.map +1 -0
  387. package/dist/es/utils/utils.d.ts +39 -0
  388. package/dist/es/utils/utils.d.ts.map +1 -0
  389. package/dist/es/utils/utils.js +97 -0
  390. package/dist/es/utils/utils.js.map +1 -0
  391. package/dist/umd/index.js +16874 -0
  392. package/dist/umd/index.js.map +1 -0
  393. package/dist/umd/styles.css +107 -0
  394. package/dist/umd/styles.css.map +1 -0
  395. package/dist/umd/styles.js +37 -0
  396. package/dist/umd/styles.js.map +1 -0
  397. package/package.json +198 -0
@@ -0,0 +1,396 @@
1
+ import { Marker } from "maplibre-gl";
2
+ import { generateHexadecimalKey } from "../../utils/utils";
3
+ /**
4
+ * Represents the possible placements of text elements in a marker container.
5
+ * Defines the relative positioning of text labels around marker icons.
6
+ *
7
+ * @example
8
+ * ```typescript
9
+ * const markerConfig: MarkerConfig = {
10
+ * text: "Coffee Shop",
11
+ * textPosition: TextPosition.right,
12
+ * coordinate: { lat: 40.7128, lng: -74.0060 }
13
+ * };
14
+ * ```
15
+ *
16
+ * @group Markers
17
+ */
18
+ export var TextPosition;
19
+ (function (TextPosition) {
20
+ /** Text positioned to the left of the icon */
21
+ TextPosition[TextPosition["left"] = 0] = "left";
22
+ /** Text positioned to the right of the icon */
23
+ TextPosition[TextPosition["right"] = 1] = "right";
24
+ /** Text positioned above the icon */
25
+ TextPosition[TextPosition["top"] = 2] = "top";
26
+ /** Text positioned below the icon */
27
+ TextPosition[TextPosition["bottom"] = 3] = "bottom";
28
+ })(TextPosition || (TextPosition = {}));
29
+ /**
30
+ * Utility class for creating and manipulating marker elements on a map.
31
+ * Provides static methods for marker element creation and styling.
32
+ */
33
+ class MarkerUtils {
34
+ /**
35
+ * Creates a container element for the marker and adds the icon and text
36
+ * according to the properties specified in the `MarkerConfig` object.
37
+ *
38
+ * @param marker - `MarkerConfig` object containing the marker configuration
39
+ * @returns Marker container element ready to be added to the map
40
+ *
41
+ * @example
42
+ * ```typescript
43
+ * const markerElement = MarkerUtils.createMarkerElement(markerConfig);
44
+ * map.addLayer(markerElement);
45
+ * ```
46
+ */
47
+ static createMarkerElement(marker) {
48
+ var _a, _b, _c, _d;
49
+ const markerContainer = document.createElement("div");
50
+ // Configure specific marker dimensions
51
+ const iconWidth = (_b = (_a = marker.iconProperties) === null || _a === void 0 ? void 0 : _a.width) !== null && _b !== void 0 ? _b : 40;
52
+ const iconHeight = (_d = (_c = marker.iconProperties) === null || _c === void 0 ? void 0 : _c.height) !== null && _d !== void 0 ? _d : 40;
53
+ // Apply base class
54
+ markerContainer.className = "mapvx-marker";
55
+ // Configure classes and dimensions based on text presence
56
+ if (marker.text) {
57
+ // If text exists, adjust layout according to position
58
+ switch (marker.textPosition) {
59
+ case TextPosition.top:
60
+ case TextPosition.bottom:
61
+ markerContainer.classList.add("text-column");
62
+ markerContainer.style.width = `${Math.max(iconWidth, 200)}px`;
63
+ markerContainer.style.height = "auto";
64
+ break;
65
+ case TextPosition.left:
66
+ case TextPosition.right:
67
+ default:
68
+ markerContainer.classList.add("text-row");
69
+ markerContainer.style.width = "auto";
70
+ markerContainer.style.height = `${iconHeight}px`;
71
+ break;
72
+ }
73
+ }
74
+ else {
75
+ // No text, use fixed icon dimensions as in official example
76
+ markerContainer.classList.add("no-text");
77
+ markerContainer.style.width = `${iconWidth}px`;
78
+ markerContainer.style.height = `${iconHeight}px`;
79
+ }
80
+ markerContainer.addEventListener("click", () => {
81
+ var _a;
82
+ (_a = marker.onClick) === null || _a === void 0 ? void 0 : _a.call(marker);
83
+ });
84
+ if (marker.element) {
85
+ markerContainer.appendChild(marker.element);
86
+ return this.setAndCreateText(marker, markerContainer, `${iconHeight}px`, `${iconWidth}px`);
87
+ }
88
+ // Create elements in correct order according to textPosition
89
+ const iconElement = this.createIconElement(marker, iconWidth, iconHeight);
90
+ const textElement = marker.text
91
+ ? this.createTextContainer(typeof marker.text === "string"
92
+ ? this.createTextElement(marker.text, marker.textProperties)
93
+ : marker.text, marker.textPosition)
94
+ : null;
95
+ // Add elements in correct order
96
+ if (marker.textPosition === TextPosition.top || marker.textPosition === TextPosition.left) {
97
+ if (textElement)
98
+ markerContainer.appendChild(textElement);
99
+ markerContainer.appendChild(iconElement);
100
+ }
101
+ else {
102
+ markerContainer.appendChild(iconElement);
103
+ if (textElement)
104
+ markerContainer.appendChild(textElement);
105
+ }
106
+ return markerContainer;
107
+ }
108
+ /**
109
+ * Sets up text positioning and styling for the marker.
110
+ *
111
+ * @param markerConfig - Configuration object containing text properties
112
+ * @param container - Container element where text will be added
113
+ * @param iconHeight - Height of the icon for positioning calculations
114
+ * @param iconWidth - Width of the icon for positioning calculations
115
+ * @returns Container element with properly positioned text
116
+ */
117
+ static setAndCreateText(markerConfig, container, iconHeight, iconWidth) {
118
+ if (markerConfig.text) {
119
+ const textElement = typeof markerConfig.text === "string"
120
+ ? this.createTextElement(markerConfig.text, markerConfig.textProperties)
121
+ : markerConfig.text;
122
+ const textContainer = this.createTextContainer(textElement, markerConfig.textPosition);
123
+ container.appendChild(textContainer);
124
+ }
125
+ return container;
126
+ }
127
+ /**
128
+ * Creates an icon element with proper styling.
129
+ *
130
+ * @param marker - Marker configuration
131
+ * @param iconWidth - Width of the icon
132
+ * @param iconHeight - Height of the icon
133
+ * @returns Icon element ready to be added to the container
134
+ */
135
+ static createIconElement(marker, iconWidth, iconHeight) {
136
+ if (typeof marker.icon === "string") {
137
+ return this.createIcon(marker);
138
+ }
139
+ else if (marker.icon instanceof HTMLImageElement) {
140
+ marker.icon.style.width = `${iconWidth}px`;
141
+ marker.icon.style.height = `${iconHeight}px`;
142
+ return marker.icon;
143
+ }
144
+ else if (marker.icon) {
145
+ return marker.icon;
146
+ }
147
+ else {
148
+ // Create default element if no icon is provided
149
+ const defaultIcon = document.createElement("div");
150
+ defaultIcon.className = "icon-default";
151
+ defaultIcon.style.width = `${iconWidth}px`;
152
+ defaultIcon.style.height = `${iconHeight}px`;
153
+ return defaultIcon;
154
+ }
155
+ }
156
+ /**
157
+ * Creates a text container with proper positioning using CSS classes.
158
+ * Uses natural block/flex layout without absolute positioning.
159
+ *
160
+ * @param textElement - The text element to contain
161
+ * @param textPosition - Desired position relative to the icon
162
+ * @returns Container with text positioned using CSS classes
163
+ */
164
+ static createTextContainer(textElement, textPosition) {
165
+ const textContainer = document.createElement("div");
166
+ // Apply base class
167
+ textContainer.className = "text-container";
168
+ // Apply position class
169
+ switch (textPosition) {
170
+ case TextPosition.top:
171
+ textContainer.classList.add("top");
172
+ break;
173
+ case TextPosition.bottom:
174
+ textContainer.classList.add("bottom");
175
+ break;
176
+ case TextPosition.left:
177
+ textContainer.classList.add("left");
178
+ break;
179
+ default: // right
180
+ textContainer.classList.add("right");
181
+ break;
182
+ }
183
+ textElement.style.display = "block";
184
+ textElement.style.margin = "0";
185
+ textContainer.appendChild(textElement);
186
+ return textContainer;
187
+ }
188
+ /**
189
+ * Creates and returns an icon element for the marker, using the image URL
190
+ * specified in the `MarkerConfig` object.
191
+ *
192
+ * @param marker - `MarkerConfig` object containing the marker configuration
193
+ * @returns Marker icon element with proper styling and dimensions
194
+ *
195
+ * @example
196
+ * ```typescript
197
+ * const iconElement = MarkerUtils.createIcon(markerConfig);
198
+ * container.appendChild(iconElement);
199
+ * ```
200
+ */
201
+ static createIcon(marker) {
202
+ var _a, _b, _c, _d;
203
+ const image = document.createElement("img");
204
+ image.src = typeof marker.icon == "string" ? marker.icon : "";
205
+ image.width = (_b = (_a = marker.iconProperties) === null || _a === void 0 ? void 0 : _a.width) !== null && _b !== void 0 ? _b : 40;
206
+ image.height = (_d = (_c = marker.iconProperties) === null || _c === void 0 ? void 0 : _c.height) !== null && _d !== void 0 ? _d : 40;
207
+ image.style.objectFit = "contain";
208
+ image.style.filter = "drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25))";
209
+ return image;
210
+ }
211
+ /**
212
+ * Creates and returns a text element for the marker container, applying
213
+ * custom text styles if provided in the marker properties.
214
+ *
215
+ * @param text - Text content to display
216
+ * @param properties - Optional text styling properties
217
+ * @returns Text element with applied styles
218
+ *
219
+ * @example
220
+ * ```typescript
221
+ * const textElement = MarkerUtils.createTextElement("Coffee Shop", {
222
+ * fontSize: "14px",
223
+ * color: "#333333"
224
+ * });
225
+ * ```
226
+ */
227
+ static createTextElement(text, properties) {
228
+ var _a, _b, _c, _d, _e, _f, _g;
229
+ const textElement = document.createElement("p");
230
+ textElement.textContent = text;
231
+ textElement.style.fontSize = (_a = properties === null || properties === void 0 ? void 0 : properties.fontSize) !== null && _a !== void 0 ? _a : "14px";
232
+ textElement.style.padding = (_b = properties === null || properties === void 0 ? void 0 : properties.padding) !== null && _b !== void 0 ? _b : "0px";
233
+ textElement.style.margin = (_c = properties === null || properties === void 0 ? void 0 : properties.margin) !== null && _c !== void 0 ? _c : "0px";
234
+ textElement.style.fontWeight = (_d = properties === null || properties === void 0 ? void 0 : properties.fontWeight) !== null && _d !== void 0 ? _d : "600";
235
+ textElement.style.fontFamily = (_e = properties === null || properties === void 0 ? void 0 : properties.fontFamily) !== null && _e !== void 0 ? _e : "'Open Sans', sans-serif";
236
+ textElement.style.color = (_f = properties === null || properties === void 0 ? void 0 : properties.color) !== null && _f !== void 0 ? _f : "#000000";
237
+ textElement.style.textShadow =
238
+ (_g = properties === null || properties === void 0 ? void 0 : properties.textShadow) !== null && _g !== void 0 ? _g : "-1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff";
239
+ return textElement;
240
+ }
241
+ }
242
+ /**
243
+ * Custom implementation of a MapLibre Marker with additional functionality.
244
+ * Extends the base MapLibre Marker class with MapVX-specific features.
245
+ *
246
+ * @example
247
+ * ```typescript
248
+ * const marker = new MarkerAttribute({
249
+ * id: "place-1",
250
+ * coordinate: { lat: 40.7128, lng: -74.0060 },
251
+ * icon: "https://example.com/icon.png"
252
+ * });
253
+ * marker.addToMap(map);
254
+ * ```
255
+ */
256
+ export class MarkerAttribute extends Marker {
257
+ /**
258
+ * Constructs a new `MarkerAttribute` object with the specified properties.
259
+ *
260
+ * @param markerConfig - `MarkerConfig` object containing the configuration properties
261
+ *
262
+ * @example
263
+ * ```typescript
264
+ * const marker = new MarkerAttribute({
265
+ * id: "coffee-shop",
266
+ * coordinate: { lat: 40.7128, lng: -74.0060 },
267
+ * floorId: "ground-floor",
268
+ * icon: "coffee-icon.png"
269
+ * });
270
+ * ```
271
+ */
272
+ constructor(markerConfig) {
273
+ var _a, _b, _c, _d;
274
+ super({
275
+ element: MarkerUtils.createMarkerElement(markerConfig),
276
+ draggable: false,
277
+ anchor: (_a = markerConfig.anchor) !== null && _a !== void 0 ? _a : "center",
278
+ offset: [0, 0],
279
+ });
280
+ this.setLngLat([markerConfig.coordinate.lng, markerConfig.coordinate.lat]);
281
+ this.setRotationAlignment((_b = markerConfig.rotationAlignment) !== null && _b !== void 0 ? _b : "viewport");
282
+ this.setPitchAlignment("viewport");
283
+ this.id = (_c = markerConfig.id) !== null && _c !== void 0 ? _c : generateHexadecimalKey();
284
+ this.coordinate = markerConfig.coordinate;
285
+ this.floorId = (_d = markerConfig.floorId) !== null && _d !== void 0 ? _d : "";
286
+ }
287
+ /**
288
+ * Adds the marker attribute to the specified map.
289
+ *
290
+ * @param map - The map instance where the marker attribute will be added
291
+ *
292
+ * @example
293
+ * ```typescript
294
+ * const marker = new MarkerAttribute(markerConfig);
295
+ * marker.addToMap(mapInstance);
296
+ * ```
297
+ */
298
+ addToMap(map) {
299
+ if (!map)
300
+ return;
301
+ this.addTo(map);
302
+ }
303
+ /**
304
+ * Updates the icon of the marker attribute based on the specified marker configuration.
305
+ *
306
+ * @param marker - `MarkerConfig` object containing the new marker configuration
307
+ *
308
+ * @example
309
+ * ```typescript
310
+ * marker.updateIcon({
311
+ * icon: "new-icon.png",
312
+ * text: "Updated Text"
313
+ * });
314
+ * ```
315
+ */
316
+ updateIcon(marker) {
317
+ var _a, _b;
318
+ if (marker.element) {
319
+ this._element.innerHTML = "";
320
+ this._element.appendChild(marker.element);
321
+ }
322
+ else {
323
+ const markerElement = MarkerUtils.createMarkerElement(marker);
324
+ const oldMarkerContent = this._element.querySelector("div");
325
+ const newMarkerContent = markerElement.querySelector("div");
326
+ if (newMarkerContent) {
327
+ (_a = oldMarkerContent === null || oldMarkerContent === void 0 ? void 0 : oldMarkerContent.parentElement) === null || _a === void 0 ? void 0 : _a.replaceChild(newMarkerContent, oldMarkerContent);
328
+ }
329
+ }
330
+ this.setRotationAlignment((_b = marker.rotationAlignment) !== null && _b !== void 0 ? _b : "viewport");
331
+ this.setPitchAlignment("viewport");
332
+ }
333
+ /**
334
+ * Sets the current floor ID for the marker.
335
+ * Marker will be shown if and only if such floor is displayed.
336
+ *
337
+ * @param floorId - The ID of the floor to set for the marker.
338
+ * This parameter is optional and defaults to `undefined` if not provided.
339
+ *
340
+ * @example
341
+ * ```typescript
342
+ * marker.setFloor("ground-floor");
343
+ * ```
344
+ */
345
+ setFloor(floorId) {
346
+ this.floorId = floorId;
347
+ }
348
+ /**
349
+ * Hides the marker element from the map without deleting it.
350
+ * The marker can be shown again using the {@link show} method.
351
+ *
352
+ * @example
353
+ * ```typescript
354
+ * marker.hide();
355
+ * ```
356
+ */
357
+ hide() {
358
+ this.remove();
359
+ }
360
+ /**
361
+ * Makes the marker visible again after it has been hidden.
362
+ *
363
+ * @param map - The map instance where the marker should be shown
364
+ *
365
+ * @example
366
+ * ```typescript
367
+ * marker.show(mapInstance);
368
+ * ```
369
+ */
370
+ show(map) {
371
+ if (!map)
372
+ return;
373
+ this.addTo(map);
374
+ }
375
+ /**
376
+ * Hides marker if currentFloor is different from the marker floor.
377
+ * Used for floor-based marker visibility management.
378
+ *
379
+ * @param floorId - The current floor ID to compare against
380
+ * @param map - The map instance for showing/hiding the marker
381
+ *
382
+ * @example
383
+ * ```typescript
384
+ * marker.changeFloor("first-floor", mapInstance);
385
+ * ```
386
+ */
387
+ changeFloor(floorId, map, isOutdoor = false) {
388
+ if (floorId == this.floorId || (isOutdoor && !this.floorId)) {
389
+ this.show(map);
390
+ }
391
+ else {
392
+ this.hide();
393
+ }
394
+ }
395
+ }
396
+ //# sourceMappingURL=marker.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"marker.js","sourceRoot":"","sources":["../../../../src/domain/models/marker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAiC,MAAM,aAAa,CAAA;AACnE,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAA;AAG1D;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAN,IAAY,YASX;AATD,WAAY,YAAY;IACtB,8CAA8C;IAC9C,+CAAI,CAAA;IACJ,+CAA+C;IAC/C,iDAAK,CAAA;IACL,qCAAqC;IACrC,6CAAG,CAAA;IACH,qCAAqC;IACrC,mDAAM,CAAA;AACR,CAAC,EATW,YAAY,KAAZ,YAAY,QASvB;AAiLD;;;GAGG;AACH,MAAM,WAAW;IACf;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,mBAAmB,CAAC,MAAoB;;QAC7C,MAAM,eAAe,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAA;QAErD,uCAAuC;QACvC,MAAM,SAAS,GAAG,MAAA,MAAA,MAAM,CAAC,cAAc,0CAAE,KAAK,mCAAI,EAAE,CAAA;QACpD,MAAM,UAAU,GAAG,MAAA,MAAA,MAAM,CAAC,cAAc,0CAAE,MAAM,mCAAI,EAAE,CAAA;QAEtD,mBAAmB;QACnB,eAAe,CAAC,SAAS,GAAG,cAAc,CAAA;QAE1C,0DAA0D;QAC1D,IAAI,MAAM,CAAC,IAAI,EAAE;YACf,sDAAsD;YACtD,QAAQ,MAAM,CAAC,YAAY,EAAE;gBAC3B,KAAK,YAAY,CAAC,GAAG,CAAC;gBACtB,KAAK,YAAY,CAAC,MAAM;oBACtB,eAAe,CAAC,SAAS,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;oBAC5C,eAAe,CAAC,KAAK,C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C,OAAgB;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;IACxB,CAAC;IAED;;;;;;;;OAQG;IACH,IAAI;QACF,IAAI,CAAC,MAAM,EAAE,CAAA;IACf,CAAC;IAED;;;;;;;;;OASG;IACH,IAAI,CAAC,GAAQ;QACX,IAAI,CAAC,GAAG;YAAE,OAAM;QAChB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;IACjB,CAAC;IAED;;;;;;;;;;;OAWG;IACH,WAAW,CAAC,OAAkC,EAAE,GAAQ,EAAE,YAAqB,KAAK;QAClF,IAAI,OAAO,IAAI,IAAI,CAAC,OAAO,IAAI,CAAC,SAAS,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE;YAC3D,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;SACf;aAAM;YACL,IAAI,CAAC,IAAI,EAAE,CAAA;SACZ;IACH,CAAC;CACF"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Multilanguage object model for different languages
3
+ * Represents text content that can be displayed in multiple languages
4
+ * @group Places & Locations
5
+ */
6
+ export interface MultiLanguage {
7
+ /**
8
+ * Default language text that will be used if the requested language is not available
9
+ */
10
+ default: string;
11
+ /**
12
+ * Language-specific text content indexed by language code
13
+ * Example: { "en": "Hello", "es": "Hola", "default": "Hello" }
14
+ */
15
+ [language: string]: string;
16
+ }
17
+ /**
18
+ * Returns the string corresponding to the given language prefix.
19
+ * If the requested language is not available, falls back to the default language.
20
+ *
21
+ * @param multiLangString Multilanguage string to localize
22
+ * @param lang Local language prefix for translations (e.g., "en", "es", "fr")
23
+ * @returns Localized string in the requested language or default if not available
24
+ * @group Places & Locations
25
+ */
26
+ export declare function getString(multiLangString: MultiLanguage, lang: string): string;
27
+ //# sourceMappingURL=multilanguage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"multilanguage.d.ts","sourceRoot":"","sources":["../../../../src/domain/models/multilanguage.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAA;IAEf;;;OAGG;IACH,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAA;CAC3B;AAED;;;;;;;;GAQG;AACH,wBAAgB,SAAS,CAAC,eAAe,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAE9E"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Returns the string corresponding to the given language prefix.
3
+ * If the requested language is not available, falls back to the default language.
4
+ *
5
+ * @param multiLangString Multilanguage string to localize
6
+ * @param lang Local language prefix for translations (e.g., "en", "es", "fr")
7
+ * @returns Localized string in the requested language or default if not available
8
+ * @group Places & Locations
9
+ */
10
+ export function getString(multiLangString, lang) {
11
+ var _a, _b;
12
+ return (_b = (_a = multiLangString[lang]) !== null && _a !== void 0 ? _a : multiLangString.default) !== null && _b !== void 0 ? _b : "";
13
+ }
14
+ //# sourceMappingURL=multilanguage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"multilanguage.js","sourceRoot":"","sources":["../../../../src/domain/models/multilanguage.ts"],"names":[],"mappings":"AAkBA;;;;;;;;GAQG;AACH,MAAM,UAAU,SAAS,CAAC,eAA8B,EAAE,IAAY;;IACpE,OAAO,MAAA,MAAA,eAAe,CAAC,IAAI,CAAC,mCAAI,eAAe,CAAC,OAAO,mCAAI,EAAE,CAAA;AAC/D,CAAC"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Two-characters string indicator for each day of the week
3
+ * Represents the standard format for identifying days in the week
4
+ * @group Places & Locations
5
+ */
6
+ export type DaysOfTheWeek = "mo" | "tu" | "we" | "th" | "fr" | "sa" | "su";
7
+ /**
8
+ * Object model for indicating a single period of opening time
9
+ * Represents a time range when a place is open
10
+ * @group Places & Locations
11
+ */
12
+ export interface OpeningTime {
13
+ /**
14
+ * Opening time in 24-hour format (e.g., "09:00")
15
+ */
16
+ open: string;
17
+ /**
18
+ * Closing time in 24-hour format (e.g., "18:00")
19
+ */
20
+ close: string;
21
+ }
22
+ /**
23
+ * Object model for indicating multiple opening times periods for different days of the week
24
+ * Maps each day of the week to an array of opening time periods
25
+ * @group Places & Locations
26
+ */
27
+ export type OpeningHours = {
28
+ [day in DaysOfTheWeek]: OpeningTime[];
29
+ };
30
+ //# sourceMappingURL=openingHours.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"openingHours.d.ts","sourceRoot":"","sources":["../../../../src/domain/models/openingHours.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,MAAM,aAAa,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAE1E;;;;GAIG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;CACd;AAED;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAAG;KACxB,GAAG,IAAI,aAAa,GAAG,WAAW,EAAE;CACtC,CAAA"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=openingHours.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"openingHours.js","sourceRoot":"","sources":["../../../../src/domain/models/openingHours.ts"],"names":[],"mappings":""}
@@ -0,0 +1,167 @@
1
+ import { type Metadata } from "../../interfaces/metadata";
2
+ import { type PlaceResponse } from "../../interfaces/placeResponse";
3
+ import { Banner } from "./banner";
4
+ import { type InnerFloor } from "./innerFloors";
5
+ import { type LatLng } from "./latLng";
6
+ import { type OpeningHours } from "./openingHours";
7
+ import { type Property, type TransportLine } from "./property";
8
+ /**
9
+ * MapVX place object, is a custom object containing data of a specific real place.
10
+ * Represents a physical location with all its associated metadata and properties.
11
+ *
12
+ * @example
13
+ * ```typescript
14
+ * const place = new MVXPlace(placeResponse);
15
+ * console.log(place.title); // "Coffee Shop"
16
+ * console.log(place.position); // { lat: 40.7128, lng: -74.0060 }
17
+ * ```
18
+ *
19
+ * @group Places & Locations
20
+ */
21
+ export declare class MVXPlace {
22
+ /**
23
+ * Unique identifier to reference the place in MapVX system
24
+ */
25
+ mapvxId: string;
26
+ /**
27
+ * Client-side identifier for the place (optional)
28
+ * Used for custom identification in client applications
29
+ */
30
+ clientId?: string;
31
+ /**
32
+ * Title text for the place (localized based on client language)
33
+ */
34
+ title: string;
35
+ /**
36
+ * Detailed description text for the place (localized based on client language)
37
+ */
38
+ description?: string;
39
+ /**
40
+ * Short description text for the place (localized based on client language)
41
+ */
42
+ shortDescription?: string;
43
+ /**
44
+ * Central position coordinates for the place
45
+ * @see {@link LatLng} for coordinate structure
46
+ */
47
+ position: LatLng;
48
+ /**
49
+ * Flag to control visibility of the place in search results
50
+ */
51
+ hidePlace: boolean;
52
+ /**
53
+ * Category identifier for the place
54
+ */
55
+ category: string;
56
+ /**
57
+ * Localized category name for the place (based on client language)
58
+ */
59
+ localizedCategory?: string;
60
+ /**
61
+ * General purpose category string for the place (localized)
62
+ */
63
+ generalCategory: string;
64
+ /**
65
+ * Floors available in the parent place. If this exists, the place is indoor.
66
+ * Otherwise, the place is considered outdoor.
67
+ * @see {@link InnerFloor} for floor structure
68
+ */
69
+ innerFloors: InnerFloor[];
70
+ /**
71
+ * Specific floor identifiers where this place exists (for indoor locations)
72
+ */
73
+ inFloors?: string[];
74
+ /**
75
+ * Unique identifier of the institution to which this place belongs
76
+ */
77
+ parentInstitutionId: string;
78
+ /**
79
+ * Business hours when the place is open
80
+ * @see {@link OpeningHours} for schedule structure
81
+ */
82
+ openingHours?: OpeningHours;
83
+ /**
84
+ * Physical address of the place in plain text (if provided)
85
+ */
86
+ address?: string;
87
+ /**
88
+ * Transport services associated with this place
89
+ * @see {@link TransportLine} for transport service structure
90
+ */
91
+ transportLine?: TransportLine[];
92
+ /**
93
+ * URL of the place's logo image
94
+ */
95
+ logo?: string;
96
+ /**
97
+ * List of available image URLs for the place
98
+ */
99
+ images: string[];
100
+ /**
101
+ * List of available banner images for the place
102
+ * @see {@link Banner} for banner structure
103
+ */
104
+ banners: Banner[];
105
+ /**
106
+ * List of properties connected to the place
107
+ * @see {@link Property} for property structure
108
+ */
109
+ properties?: Property[];
110
+ /**
111
+ * Unique identifier of the parent place or object
112
+ */
113
+ parentId: string;
114
+ /**
115
+ * Type of the object being referenced by {@link parentId}
116
+ */
117
+ parentType: string;
118
+ /**
119
+ * Tags associated with the place for categorization and filtering
120
+ */
121
+ tags: string[];
122
+ /**
123
+ * Metadata of the place.
124
+ */
125
+ metadata?: Metadata;
126
+ /**
127
+ * Visibility of the place
128
+ */
129
+ visibility: "public" | "protected" | "hidden";
130
+ /**
131
+ * Creates a new place instance with the parameters specified in the data.
132
+ *
133
+ * @param rawPlace - JSON configuration parameters for the place from API response
134
+ * @returns A new instance of MVXPlace
135
+ *
136
+ * @example
137
+ * ```typescript
138
+ * const placeResponse = await fetchPlaceData(placeId);
139
+ * const place = new MVXPlace(placeResponse);
140
+ * ```
141
+ */
142
+ constructor(rawPlace: PlaceResponse);
143
+ /**
144
+ * Returns the floor in which the place exists as an InnerFloor object.
145
+ * If no matching available floor is found or if the place is not indoor,
146
+ * an undefined value will be returned.
147
+ *
148
+ * @param parentPlaceFloors - Array of existing parent place floors to search in
149
+ * @returns The matching InnerFloor object or undefined if not found
150
+ *
151
+ * @example
152
+ * ```typescript
153
+ * const buildingFloors = getBuildingFloors();
154
+ * const placeFloor = place.inFloor(buildingFloors);
155
+ * if (placeFloor) {
156
+ * console.log(`Place is on floor: ${placeFloor.name}`);
157
+ * }
158
+ * ```
159
+ */
160
+ inFloor(parentPlaceFloors: InnerFloor[]): InnerFloor | undefined;
161
+ /**
162
+ * Returns a string representation of the place
163
+ * @returns String in format "MVXPlace {mapvxId}"
164
+ */
165
+ toString(): string;
166
+ }
167
+ //# sourceMappingURL=place.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"place.d.ts","sourceRoot":"","sources":["../../../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