@admin-layout/tailwind-design-pro 11.0.4-alpha.4 → 12.0.16-alpha.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.
Files changed (315) hide show
  1. package/README.md +401 -1
  2. package/lib/cdm-locales/en/settings.json +40 -1
  3. package/lib/cdm-locales/es/settings.json +42 -3
  4. package/lib/components/LanguageMenu/LanguageMenu.d.ts.map +1 -1
  5. package/lib/components/LanguageMenu/LanguageMenu.js +8 -18
  6. package/lib/components/LanguageMenu/LanguageMenu.js.map +1 -1
  7. package/lib/components/Layout/BasicLayout/index.d.ts +1 -8
  8. package/lib/components/Layout/BasicLayout/index.d.ts.map +1 -1
  9. package/lib/components/Layout/BasicLayout/index.js +141 -64
  10. package/lib/components/Layout/BasicLayout/index.js.map +1 -1
  11. package/lib/components/Layout/BasicLayout/utils.d.ts.map +1 -1
  12. package/lib/components/Layout/BasicLayout/utils.js +1 -14
  13. package/lib/components/Layout/BasicLayout/utils.js.map +1 -1
  14. package/lib/components/Layout/GlobalFooter/BottomMenuDropdown.d.ts +1 -8
  15. package/lib/components/Layout/GlobalFooter/BottomMenuDropdown.d.ts.map +1 -1
  16. package/lib/components/Layout/GlobalFooter/BottomMenuDropdown.js.map +1 -1
  17. package/lib/components/Layout/GlobalFooter/Copyright.d.ts.map +1 -1
  18. package/lib/components/Layout/GlobalFooter/Footer.d.ts.map +1 -1
  19. package/lib/components/Layout/GlobalHeader/Header.d.ts +1 -14
  20. package/lib/components/Layout/GlobalHeader/Header.d.ts.map +1 -1
  21. package/lib/components/Layout/GlobalHeader/Header.js +78 -53
  22. package/lib/components/Layout/GlobalHeader/Header.js.map +1 -1
  23. package/lib/components/Layout/GlobalHeader/Logo.d.ts +4 -0
  24. package/lib/components/Layout/GlobalHeader/Logo.d.ts.map +1 -0
  25. package/lib/components/Layout/GlobalHeader/Logo.js +141 -0
  26. package/lib/components/Layout/GlobalHeader/Logo.js.map +1 -0
  27. package/lib/components/Layout/GlobalHeader/MainHeader.d.ts +6 -0
  28. package/lib/components/Layout/GlobalHeader/MainHeader.d.ts.map +1 -0
  29. package/lib/components/Layout/GlobalHeader/MainHeader.js +228 -0
  30. package/lib/components/Layout/GlobalHeader/MainHeader.js.map +1 -0
  31. package/lib/components/Layout/GlobalHeader/OrganizationDropdown.d.ts +1 -12
  32. package/lib/components/Layout/GlobalHeader/OrganizationDropdown.d.ts.map +1 -1
  33. package/lib/components/Layout/GlobalHeader/OrganizationDropdown.js +4 -4
  34. package/lib/components/Layout/GlobalHeader/OrganizationDropdown.js.map +1 -1
  35. package/lib/components/Layout/GlobalHeader/RightContent.d.ts +2 -16
  36. package/lib/components/Layout/GlobalHeader/RightContent.d.ts.map +1 -1
  37. package/lib/components/Layout/GlobalHeader/RightContent.js +23 -0
  38. package/lib/components/Layout/GlobalHeader/RightContent.js.map +1 -0
  39. package/lib/components/Layout/GlobalHeader/RightMenu.d.ts +4 -0
  40. package/lib/components/Layout/GlobalHeader/RightMenu.d.ts.map +1 -0
  41. package/lib/components/Layout/GlobalHeader/RightMenu.js +274 -0
  42. package/lib/components/Layout/GlobalHeader/RightMenu.js.map +1 -0
  43. package/lib/components/Layout/GlobalHeader/SearchBar.d.ts +9 -0
  44. package/lib/components/Layout/GlobalHeader/SearchBar.d.ts.map +1 -0
  45. package/lib/components/Layout/GlobalHeader/SearchBar.js +118 -0
  46. package/lib/components/Layout/GlobalHeader/SearchBar.js.map +1 -0
  47. package/lib/components/Layout/GlobalHeader/index.d.ts +4 -0
  48. package/lib/components/Layout/GlobalHeader/index.d.ts.map +1 -0
  49. package/lib/components/Layout/ProTailwindLayout.d.ts +2 -0
  50. package/lib/components/Layout/ProTailwindLayout.d.ts.map +1 -1
  51. package/lib/components/Layout/ProTailwindLayout.js +7 -3
  52. package/lib/components/Layout/ProTailwindLayout.js.map +1 -1
  53. package/lib/components/Layout/Sidebar/Divider.d.ts +1 -31
  54. package/lib/components/Layout/Sidebar/Divider.d.ts.map +1 -1
  55. package/lib/components/Layout/Sidebar/Divider.js.map +1 -1
  56. package/lib/components/Layout/Sidebar/DynamicIcon.d.ts +5 -0
  57. package/lib/components/Layout/Sidebar/DynamicIcon.d.ts.map +1 -0
  58. package/lib/components/Layout/Sidebar/DynamicIcon.js +51 -0
  59. package/lib/components/Layout/Sidebar/DynamicIcon.js.map +1 -0
  60. package/lib/components/Layout/Sidebar/Sidebar.d.ts +1 -11
  61. package/lib/components/Layout/Sidebar/Sidebar.d.ts.map +1 -1
  62. package/lib/components/Layout/Sidebar/Sidebar.js +117 -78
  63. package/lib/components/Layout/Sidebar/Sidebar.js.map +1 -1
  64. package/lib/components/Layout/Sidebar/SidebarMenu.d.ts +3 -5
  65. package/lib/components/Layout/Sidebar/SidebarMenu.d.ts.map +1 -1
  66. package/lib/components/Layout/Sidebar/SidebarMenu.js +132 -45
  67. package/lib/components/Layout/Sidebar/SidebarMenu.js.map +1 -1
  68. package/lib/components/Layout/TailwindLayout.d.ts.map +1 -1
  69. package/lib/components/Layout/TailwindLayout.js +34 -14
  70. package/lib/components/Layout/TailwindLayout.js.map +1 -1
  71. package/lib/components/Layout/getPageTitle.d.ts +1 -16
  72. package/lib/components/Layout/getPageTitle.d.ts.map +1 -1
  73. package/lib/components/Layout/getPageTitle.js +1 -1
  74. package/lib/components/Layout/getPageTitle.js.map +1 -1
  75. package/lib/components/Layout/slot-fill/AdditionalSettings.d.ts +4 -0
  76. package/lib/components/Layout/slot-fill/AdditionalSettings.d.ts.map +1 -0
  77. package/lib/components/Layout/slot-fill/AdditionalSettings.js +7 -0
  78. package/lib/components/Layout/slot-fill/AdditionalSettings.js.map +1 -0
  79. package/lib/components/Layout/slot-fill/Footer.d.ts +1 -1
  80. package/lib/components/Layout/slot-fill/Footer.d.ts.map +1 -1
  81. package/lib/components/Layout/slot-fill/Footer.js +6 -6
  82. package/lib/components/Layout/slot-fill/Footer.js.map +1 -1
  83. package/lib/components/Layout/slot-fill/HeaderNotice.d.ts.map +1 -1
  84. package/lib/components/Layout/slot-fill/HeaderSearchBar.d.ts +3 -0
  85. package/lib/components/Layout/slot-fill/HeaderSearchBar.d.ts.map +1 -0
  86. package/lib/components/Layout/slot-fill/HeaderSearchBar.js +6 -0
  87. package/lib/components/Layout/slot-fill/HeaderSearchBar.js.map +1 -0
  88. package/lib/components/Layout/slot-fill/HeaderSearchButton.d.ts +3 -0
  89. package/lib/components/Layout/slot-fill/HeaderSearchButton.d.ts.map +1 -0
  90. package/lib/components/Layout/slot-fill/HeaderSearchButton.js +6 -0
  91. package/lib/components/Layout/slot-fill/HeaderSearchButton.js.map +1 -0
  92. package/lib/components/Layout/slot-fill/RightContent.d.ts +3 -0
  93. package/lib/components/Layout/slot-fill/RightContent.d.ts.map +1 -0
  94. package/lib/components/Layout/slot-fill/RightContent.js +6 -0
  95. package/lib/components/Layout/slot-fill/RightContent.js.map +1 -0
  96. package/lib/components/Layout/slot-fill/index.d.ts +4 -0
  97. package/lib/components/Layout/slot-fill/index.d.ts.map +1 -1
  98. package/lib/components/Layout/util.d.ts.map +1 -1
  99. package/lib/components/Layout/util.js +12 -0
  100. package/lib/components/Layout/util.js.map +1 -0
  101. package/lib/components/SettingDrawer/CheckBoxTheme.d.ts +1 -6
  102. package/lib/components/SettingDrawer/CheckBoxTheme.d.ts.map +1 -1
  103. package/lib/components/SettingDrawer/CheckBoxTheme.js +106 -31
  104. package/lib/components/SettingDrawer/CheckBoxTheme.js.map +1 -1
  105. package/lib/components/SettingDrawer/InvitationSettings.d.ts +3 -0
  106. package/lib/components/SettingDrawer/InvitationSettings.d.ts.map +1 -0
  107. package/lib/components/SettingDrawer/InvitationSettings.js +79 -0
  108. package/lib/components/SettingDrawer/InvitationSettings.js.map +1 -0
  109. package/lib/components/SettingDrawer/LayoutChange.d.ts +2 -6
  110. package/lib/components/SettingDrawer/LayoutChange.d.ts.map +1 -1
  111. package/lib/components/SettingDrawer/LayoutChange.js +84 -30
  112. package/lib/components/SettingDrawer/LayoutChange.js.map +1 -1
  113. package/lib/components/SettingDrawer/NavigationsModes.d.ts +3 -0
  114. package/lib/components/SettingDrawer/NavigationsModes.d.ts.map +1 -0
  115. package/lib/components/SettingDrawer/NavigationsModes.js +289 -0
  116. package/lib/components/SettingDrawer/NavigationsModes.js.map +1 -0
  117. package/lib/components/SettingDrawer/RegionalSettings.d.ts +1 -6
  118. package/lib/components/SettingDrawer/RegionalSettings.d.ts.map +1 -1
  119. package/lib/components/SettingDrawer/RegionalSettings.js +696 -51
  120. package/lib/components/SettingDrawer/RegionalSettings.js.map +1 -1
  121. package/lib/components/SettingDrawer/SettingDrawer.d.ts +2 -25
  122. package/lib/components/SettingDrawer/SettingDrawer.d.ts.map +1 -1
  123. package/lib/components/SettingDrawer/SettingDrawer.js +249 -113
  124. package/lib/components/SettingDrawer/SettingDrawer.js.map +1 -1
  125. package/lib/components/SettingDrawer/Switch/index.d.ts +2 -8
  126. package/lib/components/SettingDrawer/Switch/index.d.ts.map +1 -1
  127. package/lib/components/SettingDrawer/Switch/index.js +17 -34
  128. package/lib/components/SettingDrawer/Switch/index.js.map +1 -1
  129. package/lib/components/SettingDrawer/ThemeColor.d.ts +1 -6
  130. package/lib/components/SettingDrawer/ThemeColor.d.ts.map +1 -1
  131. package/lib/components/SettingDrawer/ThemeColor.js +3 -0
  132. package/lib/components/SettingDrawer/ThemeColor.js.map +1 -1
  133. package/lib/components/SettingDrawer/ThemeSelector.d.ts +3 -0
  134. package/lib/components/SettingDrawer/ThemeSelector.d.ts.map +1 -0
  135. package/lib/components/SettingDrawer/ThemeSelector.js +18 -0
  136. package/lib/components/SettingDrawer/ThemeSelector.js.map +1 -0
  137. package/lib/components/SettingDrawer/WebFontsSelector.d.ts +3 -0
  138. package/lib/components/SettingDrawer/WebFontsSelector.d.ts.map +1 -0
  139. package/lib/components/SettingDrawer/WebFontsSelector.js +24 -0
  140. package/lib/components/SettingDrawer/WebFontsSelector.js.map +1 -0
  141. package/lib/components/SettingDrawer/types.d.ts +91 -0
  142. package/lib/components/SettingDrawer/types.d.ts.map +1 -0
  143. package/lib/components/UI/CardList.d.ts +61 -0
  144. package/lib/components/UI/CardList.d.ts.map +1 -0
  145. package/lib/components/UI/CardList.js +43 -0
  146. package/lib/components/UI/CardList.js.map +1 -0
  147. package/lib/components/UI/CategoriesTypeList.d.ts +29 -0
  148. package/lib/components/UI/CategoriesTypeList.d.ts.map +1 -0
  149. package/lib/components/UI/CategoriesTypeList.js +139 -0
  150. package/lib/components/UI/CategoriesTypeList.js.map +1 -0
  151. package/lib/components/UI/LazyLoadingGoogleMarker.d.ts +83 -0
  152. package/lib/components/UI/LazyLoadingGoogleMarker.d.ts.map +1 -0
  153. package/lib/components/UI/LazyLoadingGoogleMarker.js +107 -0
  154. package/lib/components/UI/LazyLoadingGoogleMarker.js.map +1 -0
  155. package/lib/components/UI/Pagination.d.ts +6 -0
  156. package/lib/components/UI/Pagination.d.ts.map +1 -0
  157. package/lib/components/UI/Pagination.js +56 -0
  158. package/lib/components/UI/Pagination.js.map +1 -0
  159. package/lib/components/UI/ParamSearchResultContainer.d.ts +99 -0
  160. package/lib/components/UI/ParamSearchResultContainer.d.ts.map +1 -0
  161. package/lib/components/UI/ParamSearchResultContainer.js +120 -0
  162. package/lib/components/UI/ParamSearchResultContainer.js.map +1 -0
  163. package/lib/components/UI/PropertyCard.d.ts +24 -0
  164. package/lib/components/UI/PropertyCard.d.ts.map +1 -0
  165. package/lib/components/UI/PropertyCard.js +420 -0
  166. package/lib/components/UI/PropertyCard.js.map +1 -0
  167. package/lib/components/UI/PropertyCardOnMap.d.ts +10 -0
  168. package/lib/components/UI/PropertyCardOnMap.d.ts.map +1 -0
  169. package/lib/components/UI/PropertyCardOnMap.js +108 -0
  170. package/lib/components/UI/PropertyCardOnMap.js.map +1 -0
  171. package/lib/components/UI/VehicleCard/PricePopover.d.ts +8 -0
  172. package/lib/components/UI/VehicleCard/PricePopover.d.ts.map +1 -0
  173. package/lib/components/UI/VehicleCard/PricePopover.js +98 -0
  174. package/lib/components/UI/VehicleCard/PricePopover.js.map +1 -0
  175. package/lib/components/UI/VehicleCard/VehicleBadge.d.ts +7 -0
  176. package/lib/components/UI/VehicleCard/VehicleBadge.d.ts.map +1 -0
  177. package/lib/components/UI/VehicleCard/VehicleFeature.d.ts +9 -0
  178. package/lib/components/UI/VehicleCard/VehicleFeature.d.ts.map +1 -0
  179. package/lib/components/UI/VehicleCard/VehicleFeature.js +22 -0
  180. package/lib/components/UI/VehicleCard/VehicleFeature.js.map +1 -0
  181. package/lib/components/UI/VehicleCard/types.d.ts +59 -0
  182. package/lib/components/UI/VehicleCard/types.d.ts.map +1 -0
  183. package/lib/components/UI/VehicleCard.d.ts +15 -0
  184. package/lib/components/UI/VehicleCard.d.ts.map +1 -0
  185. package/lib/components/UI/VehicleCard.js +166 -0
  186. package/lib/components/UI/VehicleCard.js.map +1 -0
  187. package/lib/components/UI/VehicleCardList.d.ts +14 -0
  188. package/lib/components/UI/VehicleCardList.d.ts.map +1 -0
  189. package/lib/components/UI/VehicleCardList.js +38 -0
  190. package/lib/components/UI/VehicleCardList.js.map +1 -0
  191. package/lib/components/UI/VehicleParamSearchResultContainer.d.ts +90 -0
  192. package/lib/components/UI/VehicleParamSearchResultContainer.d.ts.map +1 -0
  193. package/lib/components/UI/icons/LocationIcon.d.ts +7 -0
  194. package/lib/components/UI/icons/LocationIcon.d.ts.map +1 -0
  195. package/lib/components/UI/icons/LocationIcon.js +18 -0
  196. package/lib/components/UI/icons/LocationIcon.js.map +1 -0
  197. package/lib/components/UI/icons/index.d.ts +2 -0
  198. package/lib/components/UI/icons/index.d.ts.map +1 -0
  199. package/lib/components/UI/index.d.ts +10 -0
  200. package/lib/components/UI/index.d.ts.map +1 -0
  201. package/lib/components/UpdateSettingsResource/UpdateSettingsResource.server.d.ts +11 -1
  202. package/lib/components/UpdateSettingsResource/UpdateSettingsResource.server.d.ts.map +1 -1
  203. package/lib/components/index.d.ts +3 -0
  204. package/lib/components/index.d.ts.map +1 -0
  205. package/lib/components/index.js +1 -0
  206. package/lib/components/index.js.map +1 -0
  207. package/lib/components/typings.d.ts +139 -49
  208. package/lib/components/typings.d.ts.map +1 -1
  209. package/lib/components/typings.js +6 -0
  210. package/lib/components/typings.js.map +1 -0
  211. package/lib/compute.d.ts.map +1 -1
  212. package/lib/compute.js +6 -4
  213. package/lib/compute.js.map +1 -1
  214. package/lib/config/analytics-config.d.ts +59 -0
  215. package/lib/config/analytics-config.d.ts.map +1 -0
  216. package/lib/config/constants.d.ts +8 -0
  217. package/lib/config/constants.d.ts.map +1 -0
  218. package/lib/config/constants.js +32 -0
  219. package/lib/config/constants.js.map +1 -0
  220. package/lib/config/env-config.d.ts +18 -0
  221. package/lib/config/env-config.d.ts.map +1 -1
  222. package/lib/config/env-config.js +76 -1
  223. package/lib/config/env-config.js.map +1 -1
  224. package/lib/config/index.d.ts +3 -0
  225. package/lib/config/index.d.ts.map +1 -0
  226. package/lib/helpers/DynamicIcon.d.ts +7 -4
  227. package/lib/helpers/DynamicIcon.d.ts.map +1 -1
  228. package/lib/helpers/DynamicIcon.js +51 -0
  229. package/lib/helpers/DynamicIcon.js.map +1 -0
  230. package/lib/hooks/index.d.ts +6 -0
  231. package/lib/hooks/index.d.ts.map +1 -0
  232. package/lib/hooks/use-get-current-lat-long.d.ts +18 -0
  233. package/lib/hooks/use-get-current-lat-long.d.ts.map +1 -0
  234. package/lib/hooks/use-get-current-lat-long.js +29 -0
  235. package/lib/hooks/use-get-current-lat-long.js.map +1 -0
  236. package/lib/hooks/useMediaQuery.d.ts +14 -0
  237. package/lib/hooks/useMediaQuery.d.ts.map +1 -0
  238. package/lib/hooks/useMediaQuery.js +48 -0
  239. package/lib/hooks/useMediaQuery.js.map +1 -0
  240. package/lib/hooks/useScrollThreshold.d.ts +12 -0
  241. package/lib/hooks/useScrollThreshold.d.ts.map +1 -0
  242. package/lib/hooks/useScrollThreshold.js +60 -0
  243. package/lib/hooks/useScrollThreshold.js.map +1 -0
  244. package/lib/hooks/useTailwindTheme.d.ts +34 -0
  245. package/lib/hooks/useTailwindTheme.d.ts.map +1 -0
  246. package/lib/hooks/useTailwindTheme.js +82 -0
  247. package/lib/hooks/useTailwindTheme.js.map +1 -0
  248. package/lib/hooks/useWindowSize.d.ts +6 -0
  249. package/lib/hooks/useWindowSize.d.ts.map +1 -0
  250. package/lib/hooks/useWindowSize.js +20 -0
  251. package/lib/hooks/useWindowSize.js.map +1 -0
  252. package/lib/icons.d.ts +16 -0
  253. package/lib/icons.d.ts.map +1 -0
  254. package/lib/icons.js +12 -0
  255. package/lib/icons.js.map +1 -0
  256. package/lib/index.d.ts +2 -3
  257. package/lib/index.d.ts.map +1 -1
  258. package/lib/index.js +1 -1
  259. package/lib/index.js.map +1 -1
  260. package/lib/machines/settingsMachine.d.ts +6 -0
  261. package/lib/machines/settingsMachine.d.ts.map +1 -0
  262. package/lib/machines/settingsMachine.js +206 -0
  263. package/lib/machines/settingsMachine.js.map +1 -0
  264. package/lib/machines/types.d.ts +174 -0
  265. package/lib/machines/types.d.ts.map +1 -0
  266. package/lib/machines/types.js +5 -0
  267. package/lib/machines/types.js.map +1 -0
  268. package/lib/middlewares/airbnbDatasourcesMiddleware.d.ts +6 -0
  269. package/lib/middlewares/airbnbDatasourcesMiddleware.d.ts.map +1 -0
  270. package/lib/middlewares/bookingCarRentalMiddleware.d.ts +6 -0
  271. package/lib/middlewares/bookingCarRentalMiddleware.d.ts.map +1 -0
  272. package/lib/middlewares/bookingDatasourcesMiddleware.d.ts +7 -0
  273. package/lib/middlewares/bookingDatasourcesMiddleware.d.ts.map +1 -0
  274. package/lib/middlewares/datasourcesMiddleware.d.ts +6 -0
  275. package/lib/middlewares/datasourcesMiddleware.d.ts.map +1 -0
  276. package/lib/middlewares/pricelineDatasourcesMiddleware.d.ts +7 -0
  277. package/lib/middlewares/pricelineDatasourcesMiddleware.d.ts.map +1 -0
  278. package/lib/module.d.ts +0 -1
  279. package/lib/module.d.ts.map +1 -1
  280. package/lib/module.js +14 -15
  281. package/lib/module.js.map +1 -1
  282. package/lib/redux/index.d.ts +2 -0
  283. package/lib/redux/index.d.ts.map +1 -0
  284. package/lib/redux/searchReducer.d.ts +42 -0
  285. package/lib/redux/searchReducer.d.ts.map +1 -0
  286. package/lib/redux/searchReducer.js +64 -0
  287. package/lib/redux/searchReducer.js.map +1 -0
  288. package/lib/routes.json +1 -0
  289. package/lib/styles/index.css +667 -45
  290. package/lib/tailwindConfig.d.ts +100 -0
  291. package/lib/tailwindConfig.d.ts.map +1 -0
  292. package/lib/tailwindConfig.js +101 -0
  293. package/lib/tailwindConfig.js.map +1 -0
  294. package/lib/utils/analytics-utils.d.ts +43 -0
  295. package/lib/utils/analytics-utils.d.ts.map +1 -0
  296. package/lib/utils/analytics.d.ts +48 -0
  297. package/lib/utils/analytics.d.ts.map +1 -0
  298. package/lib/utils/formateCarData.d.ts +2 -0
  299. package/lib/utils/formateCarData.d.ts.map +1 -0
  300. package/lib/utils/menu.d.ts.map +1 -1
  301. package/lib/utils/test-utils.d.ts.map +1 -1
  302. package/lib/utils/utils/index.d.ts.map +1 -1
  303. package/package.json +7 -5
  304. package/lib/components/Layout/GlobalFooter/Copyright.js +0 -8
  305. package/lib/components/Layout/GlobalFooter/Copyright.js.map +0 -1
  306. package/lib/components/Layout/GlobalFooter/Footer.js +0 -22
  307. package/lib/components/Layout/GlobalFooter/Footer.js.map +0 -1
  308. package/lib/components/defaultSettings.d.ts +0 -4
  309. package/lib/components/defaultSettings.d.ts.map +0 -1
  310. package/lib/components/defaultSettings.js +0 -14
  311. package/lib/components/defaultSettings.js.map +0 -1
  312. package/lib/utils/index.d.ts +0 -2
  313. package/lib/utils/index.d.ts.map +0 -1
  314. package/lib/utils/index.js +0 -13
  315. package/lib/utils/index.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateSettingsResource.server.d.ts","sourceRoot":"","sources":["../../../src/components/UpdateSettingsResource/UpdateSettingsResource.server.ts"],"names":[],"mappings":"AACA,eAAO,MAAQ,MAAM,OAAE,MAAM,KAAgC,CAAC"}
1
+ {"version":3,"file":"UpdateSettingsResource.server.d.ts","sourceRoot":"","sources":["../../../src/components/UpdateSettingsResource/UpdateSettingsResource.server.ts"],"names":[],"mappings":"AACA,eAAO,MAAQ,MAAM;;WAC8U,CAAC;UAA6B,CAAC;uEAD3W,MAAM;;WAC+hB,CAAC;UAA6B,CAAC;;;GAD9hB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './UI';
2
+ export * from './Layout/GlobalHeader';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AACA,cAAc,MAAM,CAAC;AACrB,cAAc,uBAAuB,CAAC"}
@@ -0,0 +1 @@
1
+ export{CategoriesTypeList}from'./UI/CategoriesTypeList.js';export{PropertyCardOnMap}from'./UI/PropertyCardOnMap.js';export{LazyLoadingGoogleMarker}from'./UI/LazyLoadingGoogleMarker.js';export{ParamSearchResultContainer}from'./UI/ParamSearchResultContainer.js';export{CardList}from'./UI/CardList.js';export{PropertyCard}from'./UI/PropertyCard.js';export{Pagination}from'./UI/Pagination.js';import'react/jsx-runtime';import'@react-icons/all-files/ai/AiFillHeart.js';import'@react-icons/all-files/ai/AiFillStar.js';import'@react-icons/all-files/ai/AiOutlineHeart.js';import'@react-icons/all-files/fa/FaAward.js';import'@react-icons/all-files/fa/FaShieldAlt.js';import'@react-icons/all-files/fi/FiMapPin.js';import'@admin-layout/tailwind-ui';import'../helpers/DynamicIcon.js';import'react';import'@react-icons/all-files/bi/BiTag.js';export{VehicleCardList}from'./UI/VehicleCardList.js';export{MainHeader,defaultRenderLogo,defaultRenderLogoAndTitle}from'./Layout/GlobalHeader/MainHeader.js';export{Logo}from'./Layout/GlobalHeader/Logo.js';export{RightMenu}from'./Layout/GlobalHeader/RightMenu.js';//# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,73 +1,163 @@
1
1
  import * as H from 'history';
2
2
  import { RouterProps as BasicRouteProps } from 'react-router-dom';
3
3
  import * as React from 'react';
4
+ import { GlobalHeaderProps, MenuDataItem, ProSettings, SeparateMenusTypes } from '@admin-layout/client';
5
+ import { PermissionType } from 'common';
4
6
  export interface LinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
5
7
  to: H.Location;
6
8
  replace?: boolean;
7
9
  innerRef?: React.Ref<HTMLAnchorElement>;
8
10
  }
9
- export interface MenuDataItem {
10
- /**
11
- * @name Submenu
12
- */
13
- children?: MenuDataItem[];
14
- /**
15
- * @name Hidden subtots in the menu
16
- */
17
- hideChildrenInMenu?: boolean;
18
- /**
19
- * @name Hide you and child nodes in the menu
20
- */
21
- hideInMenu?: boolean;
22
- /**
23
- * @name Icon
24
- */
25
- icon?: React.ReactNode;
26
- /**
27
- * @name Custom menu International KEY
28
- */
29
- locale?: string | false;
11
+ export type MergerSettingsType<T> = Partial<T> & {
12
+ primaryColor?: string;
13
+ colorWeak?: boolean;
14
+ };
15
+ export interface IRoute extends MenuDataItem {
16
+ routes?: IRoute[];
17
+ }
18
+ export type WithFalse<T> = T | false;
19
+ export interface RouterTypes<P> extends Omit<BasicRouteProps, 'location'> {
20
+ computedMatch?: any;
21
+ route?: IRoute;
22
+ location: BasicRouteProps['location'] | {
23
+ pathname?: string;
24
+ };
25
+ }
26
+ export interface MessageDescriptor {
27
+ id: any;
28
+ description?: string;
29
+ defaultMessage?: string;
30
+ }
31
+ export interface SidebarMenuProps {
32
+ menuData: MenuDataItem[];
33
+ routeParams: Record<string, string>;
34
+ settings: {
35
+ primaryColor: string;
36
+ };
37
+ collapsed: boolean;
38
+ }
39
+ export interface SidebarProps {
40
+ isSideMenuOpen: boolean;
41
+ closeSideMenu: () => void;
42
+ menuData: any;
43
+ collapsed: boolean;
44
+ setCollapsed: (collapsed: boolean) => void;
45
+ routeParams: {
46
+ orgName?: string;
47
+ [key: string]: string;
48
+ };
49
+ settings?: any;
50
+ upperMenuDividerName?: string;
51
+ middleMenuDividerName?: string;
52
+ lowerMenuDividerName?: string;
53
+ location?: any;
54
+ }
55
+ export interface BottomMenuDropDownProps {
56
+ menus: any;
57
+ collapsed: boolean;
58
+ routeParams: {
59
+ orgName?: string;
60
+ [key: string]: string;
61
+ };
62
+ }
63
+ export interface GlobalHeaderRightProps {
64
+ theme?: string;
65
+ layout?: any;
66
+ upperMenus: any;
67
+ routeParams: {
68
+ orgName?: string;
69
+ [key: string]: string;
70
+ };
71
+ formatMessage?: any;
72
+ collapsed?: boolean;
73
+ settings?: ProSettings;
74
+ toggleSideMenu?: any;
75
+ location?: any;
76
+ }
77
+ export interface ILogoProps {
78
+ logo: any;
79
+ settings: any;
80
+ scrolled: any;
81
+ location: any;
82
+ }
83
+ export type PrivateHeaderProps = {
84
+ scrolled?: boolean;
85
+ drawerRef?: any;
86
+ setSettingToggle?: any;
87
+ settingToggle?: any;
88
+ navTheme?: any;
89
+ location?: any;
90
+ layout?: any;
91
+ title?: any;
92
+ menuData?: IRoute[];
93
+ routeParams?: any;
94
+ settings?: any;
95
+ transition?: any;
96
+ onSettingChange?: (settings: MergerSettingsType<ProSettings>) => void;
97
+ pageTitleInfo?: any;
98
+ searchOptionsShown?: boolean;
99
+ setSearchOptionsShown?: (optionsShown: boolean) => void;
100
+ authorities: Record<string, PermissionType>;
101
+ picture?: string;
102
+ componentVisibility?: Record<string, boolean>;
103
+ containerRef?: React.RefObject<HTMLDivElement>;
104
+ };
105
+ export interface MainHeaderProps extends Partial<GlobalHeaderProps> {
106
+ rightContentRender?: WithFalse<(props: any) => React.ReactNode>;
107
+ showSettings?: boolean;
108
+ }
109
+ export type IRightMenuProps = {
110
+ match?: any;
111
+ menuData?: IRoute[];
112
+ scrolled?: boolean;
113
+ navTheme?: string;
114
+ getMenuSeparation?: (menuData: [] | any) => SeparateMenusTypes;
115
+ routeParams: {
116
+ orgName?: string;
117
+ };
118
+ settings?: Partial<ProSettings>;
119
+ authorities: Record<string, PermissionType>;
120
+ picture?: string;
121
+ };
122
+ export interface DividerProps extends React.HTMLAttributes<HTMLDivElement> {
30
123
  /**
31
- * @name Name of the menu
124
+ * Text to display in the middle of the divider
32
125
  */
33
- name?: string;
126
+ children?: React.ReactNode;
34
127
  /**
35
- * @name Used to calibrate the selected value, the default is `path`
128
+ * Direction of the divider
129
+ * @default "horizontal"
36
130
  */
37
- key?: string;
131
+ orientation?: 'horizontal' | 'vertical';
38
132
  /**
39
- * @name disable menu option
133
+ * Whether the divider text is less emphasized
134
+ * @default false
40
135
  */
41
- disabled?: boolean;
136
+ plain?: boolean;
42
137
  /**
43
- * @name 路径
138
+ * Custom className for the divider
44
139
  */
45
- path?: string;
140
+ className?: string;
46
141
  /**
47
- * @name Custom parent node
48
- * @description When this node is selected, the node of ParentKeys will be selected.
142
+ * Custom style for the divider
49
143
  */
50
- parentKeys?: string[];
144
+ style?: React.CSSProperties;
51
145
  /**
52
- * @name Hide yourself and upgrade the child node to your own
146
+ * Text alignment
147
+ * @default "center"
53
148
  */
54
- flatMenu?: boolean;
55
- [key: string]: any;
149
+ align?: 'left' | 'right' | 'center';
56
150
  }
57
- export interface Route extends MenuDataItem {
58
- routes?: Route[];
151
+ export interface DynamicTypeIconsProps {
152
+ icon: any;
153
+ iconColor?: string;
154
+ w?: any;
155
+ h?: any;
156
+ iconStyle?: any;
59
157
  }
60
- export type WithFalse<T> = T | false;
61
- export interface RouterTypes<P> extends Omit<BasicRouteProps, 'location'> {
62
- computedMatch?: any;
63
- route?: Route;
64
- location: BasicRouteProps['location'] | {
65
- pathname?: string;
66
- };
67
- }
68
- export interface MessageDescriptor {
69
- id: any;
70
- description?: string;
71
- defaultMessage?: string;
158
+ export declare enum TravelType {
159
+ HOTELS = "HOTELS",
160
+ FLIGHTS = "FLIGHTS",
161
+ CARS = "CARS"
72
162
  }
73
163
  //# sourceMappingURL=typings.d.ts.map
@@ -1 +1 @@
1
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c,CAAC,cAAc,CAAC;IACtE;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B;;;OAGG;IACH,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACxC;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC;CACvC;AAED,MAAM,WAAW,qBAAqB;IAClC,IAAI,EAAE,GAAG,CAAC;IACV,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,CAAC,CAAC,EAAE,GAAG,CAAC;IACR,CAAC,CAAC,EAAE,GAAG,CAAC;IACR,SAAS,CAAC,EAAE,GAAG,CAAC;CACnB;AAED,oBAAY,UAAU;IAClB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,IAAI,SAAS;CAChB"}
@@ -0,0 +1,6 @@
1
+ var TravelType;
2
+ (function (TravelType) {
3
+ TravelType["HOTELS"] = "HOTELS";
4
+ TravelType["FLIGHTS"] = "FLIGHTS";
5
+ TravelType["CARS"] = "CARS";
6
+ })(TravelType || (TravelType = {}));export{TravelType};//# sourceMappingURL=typings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typings.js","sources":["../../src/components/typings.ts"],"sourcesContent":[null],"names":[],"mappings":"IAwKY;AAAZ,CAAA,UAAY,UAAU,EAAA;AAClB,EAAA,UAAA,CAAA,QAAA,CAAA,GAAA,QAAA;AACA,EAAA,UAAA,CAAA,SAAA,CAAA,GAAA,SAAA;AACA,EAAA,UAAA,CAAA,MAAA,CAAA,GAAA,MAAA;AACJ,CAAC,EAJW,UAAU,KAAV,UAAU,GAIrB,EAAA,CAAA,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"compute.d.ts","sourceRoot":"","sources":["../src/compute.ts"],"names":[],"mappings":"AA0BA,QAAA,MAAM,aAAa,0CAA8B,CAAC;AAGlD,QAAA,MAAM,cAAc,0CAA+B,CAAC;AAEpD,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,CAAC"}
1
+ {"version":3,"file":"compute.d.ts","sourceRoot":"","sources":["../src/compute.ts"],"names":[],"mappings":"AA2BA,QAAA,MAAM,aAAa,0CAA0C,CAAC;AAG9D,QAAA,MAAM,cAAc,0CAA2C,CAAC;AAEhE,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,CAAC"}
package/lib/compute.js CHANGED
@@ -1,9 +1,10 @@
1
1
  import { getFilteredMenus, getFilteredRoutes } from '@common-stack/client-react/lib/utils/filteredRoutes.js';
2
+ import { config } from './config/env-config.js';
2
3
  const key = 'root-layout';
3
- const antUIPage = [{
4
+ const tailwindDesignProPage = [{
4
5
  key: key,
5
6
  name: 'root layout',
6
- path: '/o/:orgName',
7
+ path: config.LAYOUT_ROOT,
7
8
  auth: 'optional',
8
9
  extraPermissions: ['*'],
9
10
  exact: false,
@@ -11,6 +12,7 @@ const antUIPage = [{
11
12
  hasLoader: true,
12
13
  hasClientLoader: true,
13
14
  hasComponent: true,
15
+ hasLinks: true,
14
16
  hasShouldRevalidate: true,
15
17
  hasHandle: true,
16
18
  loaderReturnInfo: {
@@ -30,7 +32,7 @@ const antUIPage = [{
30
32
  hasAction: true
31
33
  }];
32
34
  // get menus
33
- getFilteredMenus(antUIPage);
35
+ getFilteredMenus(tailwindDesignProPage);
34
36
  // get routes
35
- const filteredRoutes = getFilteredRoutes(antUIPage);
37
+ const filteredRoutes = getFilteredRoutes(tailwindDesignProPage);
36
38
  export { filteredRoutes }; //# sourceMappingURL=compute.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"compute.js","sources":["../src/compute.ts"],"sourcesContent":[null],"names":[],"mappings":"wGAEA,MAAM,GAAG,GAAG,aAAa;AAEzB,MAAM,SAAS,GAAU,CAAA;AAC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,59 @@
1
+ /**
2
+ * Google Analytics Configuration
3
+ */
4
+ export declare const ANALYTICS_CONFIG: {
5
+ enabled: boolean;
6
+ debug: boolean;
7
+ GA4_MEASUREMENT_ID: string;
8
+ trackEvents: {
9
+ pageViews: boolean;
10
+ clicks: boolean;
11
+ redirections: boolean;
12
+ errors: boolean;
13
+ };
14
+ trackUserProperties: {
15
+ userId: boolean;
16
+ deviceInfo: boolean;
17
+ location: boolean;
18
+ };
19
+ };
20
+ export declare const EVENT_CATEGORIES: {
21
+ REDIRECTION: string;
22
+ USER_INTERACTION: string;
23
+ SYSTEM: string;
24
+ ERROR: string;
25
+ };
26
+ export declare const EVENT_ACTIONS: {
27
+ AUTO_REDIRECT: string;
28
+ MANUAL_CLICK: string;
29
+ LINK_CLICK: string;
30
+ BUTTON_CLICK: string;
31
+ FORM_SUBMIT: string;
32
+ SEARCH: string;
33
+ VIEW_ITEM: string;
34
+ ADD_TO_CART: string;
35
+ REMOVE_FROM_CART: string;
36
+ BEGIN_CHECKOUT: string;
37
+ ADD_PAYMENT_INFO: string;
38
+ PURCHASE: string;
39
+ LOAD: string;
40
+ INIT: string;
41
+ API_ERROR: string;
42
+ CLIENT_ERROR: string;
43
+ };
44
+ export declare const GA4_EVENTS: {
45
+ PAGE_VIEW: string;
46
+ SEARCH: string;
47
+ VIEW_ITEM: string;
48
+ VIEW_ITEM_LIST: string;
49
+ SELECT_ITEM: string;
50
+ ADD_TO_CART: string;
51
+ REMOVE_FROM_CART: string;
52
+ BEGIN_CHECKOUT: string;
53
+ ADD_PAYMENT_INFO: string;
54
+ PURCHASE: string;
55
+ LOGIN: string;
56
+ SIGN_UP: string;
57
+ USER_ENGAGEMENT: string;
58
+ };
59
+ //# sourceMappingURL=analytics-config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"analytics-config.d.ts","sourceRoot":"","sources":["../../src/config/analytics-config.ts"],"names":[],"mappings":"AAAA;;GAEG;AAKH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;CAwB5B,CAAC;AAGF,eAAO,MAAM,gBAAgB;;;;;CAK5B,CAAC;AAGF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;CAwBzB,CAAC;AAGF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;CActB,CAAC"}
@@ -0,0 +1,8 @@
1
+ export declare const SCROLL_THRESHOLD: {
2
+ readonly MIN: 0;
3
+ readonly MAX: 1000;
4
+ readonly STEP: 10;
5
+ readonly DEFAULT: 50;
6
+ };
7
+ export declare const LAYOUT_SETTINGS: {};
8
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/config/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB;;;;;CAKnB,CAAC;AAEX,eAAO,MAAM,eAAe,IAyBlB,CAAC"}
@@ -0,0 +1,32 @@
1
+ const SCROLL_THRESHOLD = {
2
+ MIN: 0,
3
+ MAX: 1000,
4
+ STEP: 10,
5
+ DEFAULT: 50
6
+ };
7
+ const LAYOUT_SETTINGS = {
8
+ // navTheme: 'light',
9
+ // routeSettings: {
10
+ // '/': {
11
+ // layout: {
12
+ // desktop: {
13
+ // navigationMode: 'topbar',
14
+ // contentWidth: 'fluid',
15
+ // },
16
+ // mobile: {
17
+ // contentWidth: 'fluid',
18
+ // },
19
+ // },
20
+ // regions: {
21
+ // desktop: {
22
+ // header: {
23
+ // showMenuToggle: false,
24
+ // showBackButton: false,
25
+ // showPageTitle: false,
26
+ // showActionButtons: false,
27
+ // },
28
+ // },
29
+ // },
30
+ // },
31
+ // },
32
+ };export{LAYOUT_SETTINGS,SCROLL_THRESHOLD};//# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sources":["../../src/config/constants.ts"],"sourcesContent":[null],"names":[],"mappings":"AAAa,MAAA,gBAAgB,GAAG;AAC5B,EAAA,GAAA,EAAG;AACH,EAAA,GAAA,EAAG,IAAM;AACT,EAAA,IAAA,EAAI,EAAE;AACN,EAAA,OAAA,EAAO;;AAGE,MAAA,eAAe,GAAG;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
@@ -1,4 +1,22 @@
1
1
  export declare const config: Readonly<{
2
2
  LAYOUT_ROOT: string;
3
+ ENABLE_PROPERTY_PRICE_COMPARISON: boolean;
4
+ SCROLL_THRESHOLD: string;
5
+ LAYOUT_SETTINGS: string;
6
+ BOOKING_CAR_RENTAL_API_KEY: string;
7
+ AIRBNB_API_KEY: string;
8
+ BOOKING_COM_API_KEY: string;
9
+ SEARCH_LAYOUT: string;
10
+ GOOGLE_MAPS_API_KEY: string;
11
+ PROPERTY_SEARCH_DEFAULT_PAGE_SIZE: number;
12
+ PROPERTY_COUPONS_DEFAULT_PAGE_SIZE: number;
13
+ DEFAULT_NEARBY_PROPERTY_RADIUS: number;
14
+ AIRBNB_DEFAULT_TOTAL_PAGES: number;
15
+ BOOKING_COM_DEFAULT_PAGE_SIZE: number;
16
+ PRICELINE_API_KEY: string;
17
+ DEFAULT_COORDINATES: string;
18
+ ENABLE_SETTING_DRAWER: boolean;
19
+ GOOGLE_ANALYTICS_ID: string;
20
+ RAPID_API_KEY: string;
3
21
  } & import("envalid").CleanedEnvAccessors>;
4
22
  //# sourceMappingURL=env-config.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"env-config.d.ts","sourceRoot":"","sources":["../../src/config/env-config.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,MAAM;;0CAEjB,CAAC"}
1
+ {"version":3,"file":"env-config.d.ts","sourceRoot":"","sources":["../../src/config/env-config.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;0CAuCjB,CAAC"}
@@ -1,7 +1,82 @@
1
- import {cleanEnv,str}from'envalid';import {getEnvironment}from'@common-stack/core';const env = getEnvironment();
1
+ import {cleanEnv,str,bool,num}from'envalid';import {getEnvironment}from'@common-stack/core';import {SCROLL_THRESHOLD,LAYOUT_SETTINGS}from'./constants.js';const env = getEnvironment();
2
+ const defaultScrollThreshold = JSON.stringify({
3
+ MIN: SCROLL_THRESHOLD.MIN,
4
+ MAX: SCROLL_THRESHOLD.MAX,
5
+ STEP: SCROLL_THRESHOLD.STEP,
6
+ DEFAULT: SCROLL_THRESHOLD.DEFAULT
7
+ });
2
8
  const config = cleanEnv(env, {
3
9
  LAYOUT_ROOT: str({
4
10
  default: '/o/:orgName',
5
11
  desc: 'Layout parent route'
12
+ }),
13
+ ENABLE_PROPERTY_PRICE_COMPARISON: bool({
14
+ default: false,
15
+ desc: 'Enable property price comparison section'
16
+ }),
17
+ SCROLL_THRESHOLD: str({
18
+ default: defaultScrollThreshold,
19
+ desc: 'Scroll threshold configuration'
20
+ }),
21
+ LAYOUT_SETTINGS: str({
22
+ default: JSON.stringify(LAYOUT_SETTINGS),
23
+ desc: 'Layout settings'
24
+ }),
25
+ BOOKING_CAR_RENTAL_API_KEY: str({
26
+ default: '',
27
+ desc: 'Booking car rental API key'
28
+ }),
29
+ AIRBNB_API_KEY: str({
30
+ default: '',
31
+ desc: 'Airbnb API key'
32
+ }),
33
+ BOOKING_COM_API_KEY: str({
34
+ default: '',
35
+ desc: 'Booking com API key'
36
+ }),
37
+ SEARCH_LAYOUT: str({
38
+ default: '/search',
39
+ desc: 'Layout Search route'
40
+ }),
41
+ GOOGLE_MAPS_API_KEY: str({
42
+ default: 'AIzaSyCtMaqd4AQayEx4-QTbuM_uL91pQrUsbK8'
43
+ }),
44
+ PROPERTY_SEARCH_DEFAULT_PAGE_SIZE: num({
45
+ default: 10,
46
+ desc: 'Number of property to fetch in each request'
47
+ }),
48
+ PROPERTY_COUPONS_DEFAULT_PAGE_SIZE: num({
49
+ default: 10,
50
+ desc: 'Number of coupons to fetch in each request'
51
+ }),
52
+ DEFAULT_NEARBY_PROPERTY_RADIUS: num({
53
+ default: 160934,
54
+ // The value is in meter so its actually 100 miles
55
+ desc: 'Sets the default distance for searching nearby properties'
56
+ }),
57
+ AIRBNB_DEFAULT_TOTAL_PAGES: num({
58
+ default: 8,
59
+ desc: 'Number of property to fetch in each request'
60
+ }),
61
+ BOOKING_COM_DEFAULT_PAGE_SIZE: num({
62
+ default: 20,
63
+ desc: 'Number of property to fetch in each request'
64
+ }),
65
+ PRICELINE_API_KEY: str({
66
+ default: ''
67
+ }),
68
+ DEFAULT_COORDINATES: str({
69
+ default: '{"lat":40.7127281,"lng":-74.0060152}',
70
+ desc: 'Default coordinates for property search'
71
+ }),
72
+ ENABLE_SETTING_DRAWER: bool({
73
+ default: false,
74
+ desc: 'Enable setting drawer'
75
+ }),
76
+ GOOGLE_ANALYTICS_ID: str({
77
+ default: 'G-L5J3SYZ69C'
78
+ }),
79
+ RAPID_API_KEY: str({
80
+ default: '7c2d15ba29msh468be2f129d847cp183e95jsnc7c279116f6e'
6
81
  })
7
82
  });export{config};//# sourceMappingURL=env-config.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"env-config.js","sources":["../../src/config/env-config.ts"],"sourcesContent":[null],"names":[],"mappings":"mFAGA,MAAM,GAAG,GAAG,cAAc,EAAE;AAEf,MAAA,MAAM,GAAG,QAAQ,CAAC,GAAG,EAAE;AAChC,EAAA,WAAA,EAAW,GAAE,CAAA;AAChB,IAAE,OAAA,EAAA,aAAA;;;"}
1
+ {"version":3,"file":"env-config.js","sources":["../../src/config/env-config.ts"],"sourcesContent":[null],"names":[],"mappings":"0JAIA,MAAM,GAAG,GAAG,cAAc,EAAE;AAE5B,MAAM,sBAAsB,GAAG,IAAI,CAAC,SAAS,CAAC;KACvC,EAAA,gBAAkB,CAAA,GAAI;KACtB,EAAA,gBAAkB,CAAA,GAAI;MACrB,EAAA,gBAAkB,CAAA,IAAK;SACpB,EAAA,gBAAkB,CAAA;AAC5B,CAAA,CAAC;AAEW,MAAA,MAAM,GAAG,QAAQ,CAAC,GAAG,EAAE;AAChC,EAAA,WAAA,EAAW,GAAE,CAAA;AACb,IAAA,OAAA,EAAA,aAAA;AACA,IAAA,IAAA,EAAA;AACA,GAAA,CAAA;AACA,EAAA,gCAA4B,EAAI,IAAS,CAAA;AACzC,IAAA,OAAA,EAAA,KAAc;AACd,IAAA,IAAA,EAAA;AAEA,GAAA,CAAA;kBACmB,EAAA,GAAA,CAAA;IACnB,OAAiC,EAAA,sBAAA;AAC7B,IAAA,IAAA,EAAA;AACA,GAAA,CAAA;iBACF,EAAA,GAAA,CAAA;IACF,OAAkC,EAAA,IAAA,CAAA,SAAA,CAAA,eAAK,CAAC;AACpC,IAAA,IAAA,EAAA;AACA,GAAA,CAAA;4BACF,EAAA,GAAA,CAAA;IACF,OAA8B,EAAA,EAAA;QAC1B,EAAO;AACP,GAAA,CAAA;gBACF,EAAA,GAAA,CAAA;IACF,OAA0B,EAAA,EAAA;AACtB,IAAA,IAAA,EAAA;AACA,GAAA,CAAA;qBACF,EAAA,GAAA,CAAA;IACF,OAA6B,EAAA,EAAA;AACzB,IAAA,IAAA,EAAA;AACA,GAAA,CAAA;eACF,EAAA,GAAA,CAAA;IACF,OAAiB,EAAA,SAAA;IACjB,IAAmB,EAAA;AACf,GAAA,CAAA;AACA,EAAA,mBAA+C,EAAA,GAAA,CAAA;WACjD,EAAA;AACF,GAAA,CAAA;wCACoC,CAAA;IACpC,OAAa,EAAA,EAAA;AAChB,IAAE,IAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,3 @@
1
+ export * from './env-config';
2
+ export * from './analytics-config';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC"}
@@ -1,10 +1,13 @@
1
1
  import * as React from 'react';
2
2
  interface DynamicTypeIconsProps {
3
3
  icon: any;
4
- iconColor?: string;
5
- w?: any;
6
- h?: any;
7
- iconStyle?: any;
4
+ iconStyle?: {
5
+ iconColor?: string;
6
+ w?: string;
7
+ h?: string;
8
+ [key: string]: any;
9
+ };
10
+ [key: string]: any;
8
11
  }
9
12
  export declare const DynamicIcon: React.FC<DynamicTypeIconsProps>;
10
13
  export declare const renderDynamicIcon: (icon: any) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"DynamicIcon.d.ts","sourceRoot":"","sources":["../../src/helpers/DynamicIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,UAAU,qBAAqB;IAC3B,IAAI,EAAE,GAAG,CAAC;IACV,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,CAAC,CAAC,EAAE,GAAG,CAAC;IACR,CAAC,CAAC,EAAE,GAAG,CAAC;IACR,SAAS,CAAC,EAAE,GAAG,CAAC;CACnB;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAsCvD,CAAC;AAEF,eAAO,MAAM,iBAAiB,wDAQ7B,CAAC"}
1
+ {"version":3,"file":"DynamicIcon.d.ts","sourceRoot":"","sources":["../../src/helpers/DynamicIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,UAAU,qBAAqB;IAC3B,IAAI,EAAE,GAAG,CAAC;IACV,SAAS,CAAC,EAAE;QACR,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,CAAC,CAAC,EAAE,MAAM,CAAC;QACX,CAAC,CAAC,EAAE,MAAM,CAAC;QACX,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACtB,CAAC;IACF,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACtB;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAyCvD,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,SAAI,4CAQrC,CAAC"}
@@ -0,0 +1,51 @@
1
+ import {jsx}from'react/jsx-runtime';import*as React from'react';import {useState,useEffect}from'react';import selectiveIcons from'@app/selectiveIcons';const DynamicIcon = React.memo(({
2
+ icon,
3
+ iconStyle,
4
+ ...props
5
+ }) => {
6
+ const [IconComponent, setIconComponent] = useState(null);
7
+ useEffect(() => {
8
+ const loadIcon = () => {
9
+ const selectedIcon = selectiveIcons(icon);
10
+ selectedIcon.then(module => {
11
+ if (typeof module.default === 'object') {
12
+ setIconComponent(() => module.default[icon]);
13
+ } else {
14
+ setIconComponent(() => module.default);
15
+ }
16
+ }).catch(err => {
17
+ setIconComponent(null);
18
+ });
19
+ };
20
+ loadIcon();
21
+ }, [icon]);
22
+ if (!IconComponent) return null;
23
+ return jsx("div", {
24
+ className: "m-0 flex",
25
+ children: jsx(IconComponent, {
26
+ className: "textCurrent",
27
+ style: {
28
+ color: iconStyle?.iconColor,
29
+ stroke: iconStyle?.iconColor,
30
+ width: iconStyle?.w || '16px',
31
+ height: iconStyle?.h || '16px',
32
+ ...props.style
33
+ },
34
+ ...props
35
+ })
36
+ });
37
+ }, (prevProps, nextProps) => prevProps.icon === nextProps.icon && prevProps.iconStyle?.iconColor === nextProps.iconStyle?.iconColor);
38
+ const renderDynamicIcon = icon => {
39
+ if (typeof icon === 'object') {
40
+ return jsx(DynamicIcon, {
41
+ icon: icon.name,
42
+ iconStyle: icon.style
43
+ });
44
+ } else if (typeof icon === 'string') {
45
+ return jsx(DynamicIcon, {
46
+ icon: icon
47
+ });
48
+ } else {
49
+ return null;
50
+ }
51
+ };export{DynamicIcon,renderDynamicIcon};//# sourceMappingURL=DynamicIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DynamicIcon.js","sources":["../../src/helpers/DynamicIcon.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":"uJAgBa,MAAA,WAAW,GAAoC,KAAK,CA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A,CAAA,IAAA;;;;;;;;;;"}
@@ -0,0 +1,6 @@
1
+ export * from './useWindowSize';
2
+ export { default as useWindowSize } from './useWindowSize';
3
+ export * from './useTailwindTheme';
4
+ export * from './use-get-current-lat-long';
5
+ export * from './useMediaQuery';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iBAAiB,CAAC"}