@admin-layout/tailwind-design-pro 10.0.9-alpha.9 → 10.1.1-alpha.2

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 (307) hide show
  1. package/README.md +345 -1
  2. package/lib/cdm-locales/en/settings.json +35 -1
  3. package/lib/cdm-locales/es/settings.json +37 -3
  4. package/lib/components/Layout/BasicLayout/index.d.ts +1 -2
  5. package/lib/components/Layout/BasicLayout/index.d.ts.map +1 -1
  6. package/lib/components/Layout/BasicLayout/index.js +146 -42
  7. package/lib/components/Layout/BasicLayout/index.js.map +1 -1
  8. package/lib/components/Layout/BasicLayout/utils.d.ts.map +1 -1
  9. package/lib/components/Layout/BasicLayout/utils.js +1 -1
  10. package/lib/components/Layout/GlobalFooter/BottomMenuDropdown.d.ts +1 -8
  11. package/lib/components/Layout/GlobalFooter/BottomMenuDropdown.d.ts.map +1 -1
  12. package/lib/components/Layout/GlobalFooter/BottomMenuDropdown.js.map +1 -1
  13. package/lib/components/Layout/GlobalFooter/Copyright.d.ts.map +1 -1
  14. package/lib/components/Layout/GlobalFooter/Footer.d.ts.map +1 -1
  15. package/lib/components/Layout/GlobalHeader/Header.d.ts +2 -15
  16. package/lib/components/Layout/GlobalHeader/Header.d.ts.map +1 -1
  17. package/lib/components/Layout/GlobalHeader/Header.js +70 -38
  18. package/lib/components/Layout/GlobalHeader/Header.js.map +1 -1
  19. package/lib/components/Layout/GlobalHeader/Logo.d.ts +4 -0
  20. package/lib/components/Layout/GlobalHeader/Logo.d.ts.map +1 -0
  21. package/lib/components/Layout/GlobalHeader/Logo.js +141 -0
  22. package/lib/components/Layout/GlobalHeader/Logo.js.map +1 -0
  23. package/lib/components/Layout/GlobalHeader/MainHeader.d.ts +6 -0
  24. package/lib/components/Layout/GlobalHeader/MainHeader.d.ts.map +1 -0
  25. package/lib/components/Layout/GlobalHeader/MainHeader.js +230 -0
  26. package/lib/components/Layout/GlobalHeader/MainHeader.js.map +1 -0
  27. package/lib/components/Layout/GlobalHeader/OrganizationDropdown.d.ts +1 -12
  28. package/lib/components/Layout/GlobalHeader/OrganizationDropdown.d.ts.map +1 -1
  29. package/lib/components/Layout/GlobalHeader/OrganizationDropdown.js.map +1 -1
  30. package/lib/components/Layout/GlobalHeader/RightContent.d.ts +1 -13
  31. package/lib/components/Layout/GlobalHeader/RightContent.d.ts.map +1 -1
  32. package/lib/components/Layout/GlobalHeader/RightContent.js.map +1 -1
  33. package/lib/components/Layout/GlobalHeader/RightMenu.d.ts +4 -0
  34. package/lib/components/Layout/GlobalHeader/RightMenu.d.ts.map +1 -0
  35. package/lib/components/Layout/GlobalHeader/RightMenu.js +290 -0
  36. package/lib/components/Layout/GlobalHeader/RightMenu.js.map +1 -0
  37. package/lib/components/Layout/GlobalHeader/SearchBar.d.ts +9 -0
  38. package/lib/components/Layout/GlobalHeader/SearchBar.d.ts.map +1 -0
  39. package/lib/components/Layout/GlobalHeader/SearchBar.js +118 -0
  40. package/lib/components/Layout/GlobalHeader/SearchBar.js.map +1 -0
  41. package/lib/components/Layout/GlobalHeader/index.d.ts +4 -0
  42. package/lib/components/Layout/GlobalHeader/index.d.ts.map +1 -0
  43. package/lib/components/Layout/ProTailwindLayout.d.ts.map +1 -1
  44. package/lib/components/Layout/ProTailwindLayout.js +1 -2
  45. package/lib/components/Layout/ProTailwindLayout.js.map +1 -1
  46. package/lib/components/Layout/Sidebar/Divider.d.ts +1 -31
  47. package/lib/components/Layout/Sidebar/Divider.d.ts.map +1 -1
  48. package/lib/components/Layout/Sidebar/Divider.js.map +1 -1
  49. package/lib/components/Layout/Sidebar/DynamicIcon.d.ts +5 -0
  50. package/lib/components/Layout/Sidebar/DynamicIcon.d.ts.map +1 -0
  51. package/lib/components/Layout/Sidebar/DynamicIcon.js +51 -0
  52. package/lib/components/Layout/Sidebar/DynamicIcon.js.map +1 -0
  53. package/lib/components/Layout/Sidebar/Sidebar.d.ts +1 -12
  54. package/lib/components/Layout/Sidebar/Sidebar.d.ts.map +1 -1
  55. package/lib/components/Layout/Sidebar/Sidebar.js +108 -92
  56. package/lib/components/Layout/Sidebar/Sidebar.js.map +1 -1
  57. package/lib/components/Layout/Sidebar/SidebarMenu.d.ts.map +1 -1
  58. package/lib/components/Layout/Sidebar/SidebarMenu.js +110 -20
  59. package/lib/components/Layout/Sidebar/SidebarMenu.js.map +1 -1
  60. package/lib/components/Layout/TailwindLayout.d.ts.map +1 -1
  61. package/lib/components/Layout/TailwindLayout.js +29 -19
  62. package/lib/components/Layout/TailwindLayout.js.map +1 -1
  63. package/lib/components/Layout/getPageTitle.d.ts +1 -16
  64. package/lib/components/Layout/getPageTitle.d.ts.map +1 -1
  65. package/lib/components/Layout/getPageTitle.js +1 -1
  66. package/lib/components/Layout/getPageTitle.js.map +1 -1
  67. package/lib/components/Layout/slot-fill/AdditionalSettings.d.ts.map +1 -1
  68. package/lib/components/Layout/slot-fill/Footer.d.ts +1 -1
  69. package/lib/components/Layout/slot-fill/Footer.d.ts.map +1 -1
  70. package/lib/components/Layout/slot-fill/Footer.js +6 -6
  71. package/lib/components/Layout/slot-fill/Footer.js.map +1 -1
  72. package/lib/components/Layout/slot-fill/HeaderNotice.d.ts.map +1 -1
  73. package/lib/components/Layout/slot-fill/HeaderSearchBar.d.ts +3 -0
  74. package/lib/components/Layout/slot-fill/HeaderSearchBar.d.ts.map +1 -0
  75. package/lib/components/Layout/slot-fill/HeaderSearchBar.js +6 -0
  76. package/lib/components/Layout/slot-fill/HeaderSearchBar.js.map +1 -0
  77. package/lib/components/Layout/slot-fill/HeaderSearchButton.d.ts +3 -0
  78. package/lib/components/Layout/slot-fill/HeaderSearchButton.d.ts.map +1 -0
  79. package/lib/components/Layout/slot-fill/HeaderSearchButton.js +6 -0
  80. package/lib/components/Layout/slot-fill/HeaderSearchButton.js.map +1 -0
  81. package/lib/components/Layout/slot-fill/RightContent.d.ts +3 -0
  82. package/lib/components/Layout/slot-fill/RightContent.d.ts.map +1 -0
  83. package/lib/components/Layout/slot-fill/RightContent.js +6 -0
  84. package/lib/components/Layout/slot-fill/RightContent.js.map +1 -0
  85. package/lib/components/Layout/slot-fill/index.d.ts +3 -0
  86. package/lib/components/Layout/slot-fill/index.d.ts.map +1 -1
  87. package/lib/components/Layout/util.d.ts.map +1 -1
  88. package/lib/components/Layout/util.js +12 -0
  89. package/lib/components/Layout/util.js.map +1 -0
  90. package/lib/components/SettingDrawer/CheckBoxTheme.js +1 -1
  91. package/lib/components/SettingDrawer/LayoutChange.d.ts +1 -1
  92. package/lib/components/SettingDrawer/LayoutChange.d.ts.map +1 -1
  93. package/lib/components/SettingDrawer/LayoutChange.js +75 -17
  94. package/lib/components/SettingDrawer/LayoutChange.js.map +1 -1
  95. package/lib/components/SettingDrawer/NavigationsModes.d.ts +1 -1
  96. package/lib/components/SettingDrawer/NavigationsModes.d.ts.map +1 -1
  97. package/lib/components/SettingDrawer/NavigationsModes.js +18 -10
  98. package/lib/components/SettingDrawer/NavigationsModes.js.map +1 -1
  99. package/lib/components/SettingDrawer/RegionalSettings.d.ts.map +1 -1
  100. package/lib/components/SettingDrawer/RegionalSettings.js +685 -33
  101. package/lib/components/SettingDrawer/RegionalSettings.js.map +1 -1
  102. package/lib/components/SettingDrawer/SettingDrawer.d.ts +1 -1
  103. package/lib/components/SettingDrawer/SettingDrawer.d.ts.map +1 -1
  104. package/lib/components/SettingDrawer/SettingDrawer.js +164 -39
  105. package/lib/components/SettingDrawer/SettingDrawer.js.map +1 -1
  106. package/lib/components/SettingDrawer/WebFontsSelector.d.ts +3 -0
  107. package/lib/components/SettingDrawer/WebFontsSelector.d.ts.map +1 -0
  108. package/lib/components/SettingDrawer/WebFontsSelector.js +24 -0
  109. package/lib/components/SettingDrawer/WebFontsSelector.js.map +1 -0
  110. package/lib/components/SettingDrawer/types.d.ts +23 -2
  111. package/lib/components/SettingDrawer/types.d.ts.map +1 -1
  112. package/lib/components/ThemeProvider/ThemeProvider.d.ts +6 -16
  113. package/lib/components/ThemeProvider/ThemeProvider.d.ts.map +1 -1
  114. package/lib/components/ThemeProvider/ThemeProvider.js +26 -28
  115. package/lib/components/ThemeProvider/ThemeProvider.js.map +1 -1
  116. package/lib/components/ThemeProvider/ThemeToggle.js +50 -0
  117. package/lib/components/ThemeProvider/ThemeToggle.js.map +1 -0
  118. package/lib/components/ThemeProvider/index.d.ts +2 -5
  119. package/lib/components/ThemeProvider/index.d.ts.map +1 -1
  120. package/lib/components/ThemeProvider/themes/airbnb.d.ts +3 -0
  121. package/lib/components/ThemeProvider/themes/airbnb.d.ts.map +1 -0
  122. package/lib/components/ThemeProvider/themes/airbnb.js +186 -0
  123. package/lib/components/ThemeProvider/themes/airbnb.js.map +1 -0
  124. package/lib/components/ThemeProvider/themes/default.d.ts +3 -0
  125. package/lib/components/ThemeProvider/themes/default.d.ts.map +1 -0
  126. package/lib/components/ThemeProvider/themes/default.js +183 -0
  127. package/lib/components/ThemeProvider/themes/default.js.map +1 -0
  128. package/lib/components/ThemeProvider/themes/github.d.ts +3 -0
  129. package/lib/components/ThemeProvider/themes/github.d.ts.map +1 -0
  130. package/lib/components/ThemeProvider/themes/github.js +190 -0
  131. package/lib/components/ThemeProvider/themes/github.js.map +1 -0
  132. package/lib/components/ThemeProvider/themes/index.d.ts +15 -0
  133. package/lib/components/ThemeProvider/themes/index.d.ts.map +1 -0
  134. package/lib/components/ThemeProvider/themes/index.js +7 -0
  135. package/lib/components/ThemeProvider/themes/index.js.map +1 -0
  136. package/lib/components/ThemeProvider/themes/slack.d.ts +3 -0
  137. package/lib/components/ThemeProvider/themes/slack.d.ts.map +1 -0
  138. package/lib/components/ThemeProvider/themes/slack.js +188 -0
  139. package/lib/components/ThemeProvider/themes/slack.js.map +1 -0
  140. package/lib/components/ThemeProvider/themes/spotify.d.ts +3 -0
  141. package/lib/components/ThemeProvider/themes/spotify.d.ts.map +1 -0
  142. package/lib/components/ThemeProvider/themes/spotify.js +189 -0
  143. package/lib/components/ThemeProvider/themes/spotify.js.map +1 -0
  144. package/lib/components/ThemeProvider/types.d.ts +106 -106
  145. package/lib/components/ThemeProvider/types.d.ts.map +1 -1
  146. package/lib/components/UI/CardList.d.ts +61 -0
  147. package/lib/components/UI/CardList.d.ts.map +1 -0
  148. package/lib/components/UI/CardList.js +43 -0
  149. package/lib/components/UI/CardList.js.map +1 -0
  150. package/lib/components/UI/CategoriesTypeList.d.ts +29 -0
  151. package/lib/components/UI/CategoriesTypeList.d.ts.map +1 -0
  152. package/lib/components/UI/CategoriesTypeList.js +140 -0
  153. package/lib/components/UI/CategoriesTypeList.js.map +1 -0
  154. package/lib/components/UI/LazyLoadingGoogleMarker.d.ts +83 -0
  155. package/lib/components/UI/LazyLoadingGoogleMarker.d.ts.map +1 -0
  156. package/lib/components/UI/LazyLoadingGoogleMarker.js +107 -0
  157. package/lib/components/UI/LazyLoadingGoogleMarker.js.map +1 -0
  158. package/lib/components/UI/Pagination.d.ts +6 -0
  159. package/lib/components/UI/Pagination.d.ts.map +1 -0
  160. package/lib/components/UI/Pagination.js +59 -0
  161. package/lib/components/UI/Pagination.js.map +1 -0
  162. package/lib/components/UI/ParamSearchResultContainer.d.ts +101 -0
  163. package/lib/components/UI/ParamSearchResultContainer.d.ts.map +1 -0
  164. package/lib/components/UI/ParamSearchResultContainer.js +120 -0
  165. package/lib/components/UI/ParamSearchResultContainer.js.map +1 -0
  166. package/lib/components/UI/PropertyCard.d.ts +24 -0
  167. package/lib/components/UI/PropertyCard.d.ts.map +1 -0
  168. package/lib/components/UI/PropertyCard.js +375 -0
  169. package/lib/components/UI/PropertyCard.js.map +1 -0
  170. package/lib/components/UI/PropertyCardOnMap.d.ts +10 -0
  171. package/lib/components/UI/PropertyCardOnMap.d.ts.map +1 -0
  172. package/lib/components/UI/PropertyCardOnMap.js +108 -0
  173. package/lib/components/UI/PropertyCardOnMap.js.map +1 -0
  174. package/lib/components/UI/VehicleCard.d.ts +15 -0
  175. package/lib/components/UI/VehicleCard.d.ts.map +1 -0
  176. package/lib/components/UI/VehicleCardList.d.ts +14 -0
  177. package/lib/components/UI/VehicleCardList.d.ts.map +1 -0
  178. package/lib/components/UI/VehicleComponents/CarCardFooter.d.ts +7 -0
  179. package/lib/components/UI/VehicleComponents/CarCardFooter.d.ts.map +1 -0
  180. package/lib/components/UI/VehicleComponents/CarCardFooter.js +61 -0
  181. package/lib/components/UI/VehicleComponents/CarCardFooter.js.map +1 -0
  182. package/lib/components/UI/VehicleComponents/CarCardImage.d.ts +9 -0
  183. package/lib/components/UI/VehicleComponents/CarCardImage.d.ts.map +1 -0
  184. package/lib/components/UI/VehicleComponents/CarCardImage.js +32 -0
  185. package/lib/components/UI/VehicleComponents/CarCardImage.js.map +1 -0
  186. package/lib/components/UI/VehicleComponents/CarCardInfo.d.ts +13 -0
  187. package/lib/components/UI/VehicleComponents/CarCardInfo.d.ts.map +1 -0
  188. package/lib/components/UI/VehicleComponents/CarCardInfo.js +49 -0
  189. package/lib/components/UI/VehicleComponents/CarCardInfo.js.map +1 -0
  190. package/lib/components/UI/VehicleComponents/index.d.ts +4 -0
  191. package/lib/components/UI/VehicleComponents/index.d.ts.map +1 -0
  192. package/lib/components/UI/VehicleParamSearchResultContainer.d.ts +90 -0
  193. package/lib/components/UI/VehicleParamSearchResultContainer.d.ts.map +1 -0
  194. package/lib/components/UI/icons/LocationIcon.d.ts +7 -0
  195. package/lib/components/UI/icons/LocationIcon.d.ts.map +1 -0
  196. package/lib/components/UI/icons/LocationIcon.js +18 -0
  197. package/lib/components/UI/icons/LocationIcon.js.map +1 -0
  198. package/lib/components/UI/icons/index.d.ts +2 -0
  199. package/lib/components/UI/icons/index.d.ts.map +1 -0
  200. package/lib/components/UI/index.d.ts +9 -0
  201. package/lib/components/UI/index.d.ts.map +1 -0
  202. package/lib/components/UpdateSettingsResource/UpdateSettingsResource.server.d.ts +1 -1
  203. package/lib/components/UpdateSettingsResource/UpdateSettingsResource.server.d.ts.map +1 -1
  204. package/lib/components/index.d.ts +4 -0
  205. package/lib/components/index.d.ts.map +1 -0
  206. package/lib/components/index.js +1 -0
  207. package/lib/components/index.js.map +1 -0
  208. package/lib/components/typings.d.ts +133 -51
  209. package/lib/components/typings.d.ts.map +1 -1
  210. package/lib/components/typings.js +6 -0
  211. package/lib/components/typings.js.map +1 -0
  212. package/lib/config/constants.d.ts +8 -0
  213. package/lib/config/constants.d.ts.map +1 -0
  214. package/lib/config/constants.js +32 -0
  215. package/lib/config/constants.js.map +1 -0
  216. package/lib/config/env-config.d.ts +15 -0
  217. package/lib/config/env-config.d.ts.map +1 -1
  218. package/lib/config/env-config.js +66 -1
  219. package/lib/config/env-config.js.map +1 -1
  220. package/lib/helpers/DynamicIcon.d.ts +7 -4
  221. package/lib/helpers/DynamicIcon.d.ts.map +1 -1
  222. package/lib/helpers/DynamicIcon.js +51 -0
  223. package/lib/helpers/DynamicIcon.js.map +1 -0
  224. package/lib/hooks/index.d.ts +6 -0
  225. package/lib/hooks/index.d.ts.map +1 -0
  226. package/lib/hooks/use-get-current-lat-long.d.ts +18 -0
  227. package/lib/hooks/use-get-current-lat-long.d.ts.map +1 -0
  228. package/lib/hooks/use-get-current-lat-long.js +29 -0
  229. package/lib/hooks/use-get-current-lat-long.js.map +1 -0
  230. package/lib/hooks/useMediaQuery.d.ts +14 -0
  231. package/lib/hooks/useMediaQuery.d.ts.map +1 -0
  232. package/lib/hooks/useMediaQuery.js +48 -0
  233. package/lib/hooks/useMediaQuery.js.map +1 -0
  234. package/lib/hooks/useScrollThreshold.d.ts +12 -0
  235. package/lib/hooks/useScrollThreshold.d.ts.map +1 -0
  236. package/lib/hooks/useScrollThreshold.js +60 -0
  237. package/lib/hooks/useScrollThreshold.js.map +1 -0
  238. package/lib/hooks/useTailwindTheme.d.ts +34 -0
  239. package/lib/hooks/useTailwindTheme.d.ts.map +1 -0
  240. package/lib/hooks/useTailwindTheme.js +82 -0
  241. package/lib/hooks/useTailwindTheme.js.map +1 -0
  242. package/lib/hooks/useWindowSize.d.ts +6 -0
  243. package/lib/hooks/useWindowSize.d.ts.map +1 -0
  244. package/lib/hooks/useWindowSize.js +20 -0
  245. package/lib/hooks/useWindowSize.js.map +1 -0
  246. package/lib/icons.d.ts +2 -0
  247. package/lib/icons.d.ts.map +1 -1
  248. package/lib/icons.js +3 -4
  249. package/lib/icons.js.map +1 -1
  250. package/lib/index.d.ts +3 -0
  251. package/lib/index.d.ts.map +1 -1
  252. package/lib/index.js +1 -1
  253. package/lib/index.js.map +1 -1
  254. package/lib/machines/settingsMachine.d.ts +4 -1
  255. package/lib/machines/settingsMachine.d.ts.map +1 -1
  256. package/lib/machines/settingsMachine.js +170 -120
  257. package/lib/machines/settingsMachine.js.map +1 -1
  258. package/lib/machines/types.d.ts +124 -17
  259. package/lib/machines/types.d.ts.map +1 -1
  260. package/lib/machines/types.js +5 -0
  261. package/lib/machines/types.js.map +1 -0
  262. package/lib/middlewares/airbnbDatasourcesMiddleware.d.ts +6 -0
  263. package/lib/middlewares/airbnbDatasourcesMiddleware.d.ts.map +1 -0
  264. package/lib/middlewares/bookingCarRentalMiddleware.d.ts +6 -0
  265. package/lib/middlewares/bookingCarRentalMiddleware.d.ts.map +1 -0
  266. package/lib/middlewares/bookingDatasourcesMiddleware.d.ts +7 -0
  267. package/lib/middlewares/bookingDatasourcesMiddleware.d.ts.map +1 -0
  268. package/lib/middlewares/datasourcesMiddleware.d.ts +6 -0
  269. package/lib/middlewares/datasourcesMiddleware.d.ts.map +1 -0
  270. package/lib/middlewares/pricelineDatasourcesMiddleware.d.ts +7 -0
  271. package/lib/middlewares/pricelineDatasourcesMiddleware.d.ts.map +1 -0
  272. package/lib/module.d.ts +0 -1
  273. package/lib/module.d.ts.map +1 -1
  274. package/lib/module.js +14 -15
  275. package/lib/module.js.map +1 -1
  276. package/lib/redux/index.d.ts +2 -0
  277. package/lib/redux/index.d.ts.map +1 -0
  278. package/lib/redux/searchReducer.d.ts +42 -0
  279. package/lib/redux/searchReducer.d.ts.map +1 -0
  280. package/lib/redux/searchReducer.js +64 -0
  281. package/lib/redux/searchReducer.js.map +1 -0
  282. package/lib/tailwindConfig.d.ts +42 -0
  283. package/lib/tailwindConfig.d.ts.map +1 -0
  284. package/lib/tailwindConfig.js +23 -0
  285. package/lib/tailwindConfig.js.map +1 -0
  286. package/lib/utils/formateCarData.d.ts +2 -0
  287. package/lib/utils/formateCarData.d.ts.map +1 -0
  288. package/lib/utils/menu.d.ts.map +1 -1
  289. package/lib/utils/test-utils.d.ts.map +1 -1
  290. package/lib/utils/utils/index.d.ts.map +1 -1
  291. package/package.json +6 -6
  292. package/lib/components/Layout/GlobalFooter/Copyright.js +0 -8
  293. package/lib/components/Layout/GlobalFooter/Copyright.js.map +0 -1
  294. package/lib/components/Layout/GlobalFooter/Footer.js +0 -22
  295. package/lib/components/Layout/GlobalFooter/Footer.js.map +0 -1
  296. package/lib/components/ThemeProvider/themeRegistry.d.ts +0 -3
  297. package/lib/components/ThemeProvider/themeRegistry.d.ts.map +0 -1
  298. package/lib/components/ThemeProvider/themeRegistry.js +0 -388
  299. package/lib/components/ThemeProvider/themeRegistry.js.map +0 -1
  300. package/lib/components/ThemeProvider/themeUtils.d.ts +0 -26
  301. package/lib/components/ThemeProvider/themeUtils.d.ts.map +0 -1
  302. package/lib/components/ThemeProvider/themeUtils.js +0 -135
  303. package/lib/components/ThemeProvider/themeUtils.js.map +0 -1
  304. package/lib/components/defaultSettings.d.ts +0 -4
  305. package/lib/components/defaultSettings.d.ts.map +0 -1
  306. package/lib/components/defaultSettings.js +0 -14
  307. package/lib/components/defaultSettings.js.map +0 -1
@@ -1,112 +1,112 @@
1
- export interface ThemeColors {
2
- light: {
3
- background: string;
4
- foreground: string;
5
- card: string;
6
- cardForeground: string;
7
- popover: string;
8
- popoverForeground: string;
9
- primary: string;
10
- primaryForeground: string;
11
- secondary: string;
12
- secondaryForeground: string;
13
- muted: string;
14
- mutedForeground: string;
15
- accent: string;
16
- accentForeground: string;
17
- destructive: string;
18
- destructiveForeground: string;
19
- border: string;
20
- input: string;
21
- ring: string;
22
- };
23
- dark: {
24
- background: string;
25
- foreground: string;
26
- card: string;
27
- cardForeground: string;
28
- popover: string;
29
- popoverForeground: string;
30
- primary: string;
31
- primaryForeground: string;
32
- secondary: string;
33
- secondaryForeground: string;
34
- muted: string;
35
- mutedForeground: string;
36
- accent: string;
37
- accentForeground: string;
38
- destructive: string;
39
- destructiveForeground: string;
40
- border: string;
41
- input: string;
42
- ring: string;
43
- };
44
- }
45
- export interface ThemeFontSizes {
46
- xs: string;
47
- sm: string;
48
- base: string;
49
- lg: string;
50
- xl: string;
51
- '2xl': string;
52
- '3xl': string;
53
- '4xl': string;
54
- '5xl': string;
55
- }
56
- export interface ThemeSpacing {
57
- px: string;
58
- 0: string;
59
- 0.5: string;
60
- 1: string;
61
- 1.5: string;
62
- 2: string;
63
- 2.5: string;
64
- 3: string;
65
- 3.5: string;
66
- 4: string;
67
- 5: string;
68
- 6: string;
69
- 8: string;
70
- 10: string;
71
- 12: string;
72
- 16: string;
73
- 20: string;
74
- 24: string;
75
- 32: string;
76
- 40: string;
77
- 48: string;
78
- 56: string;
79
- 64: string;
80
- }
81
- export interface ThemeBorderRadius {
82
- none: string;
83
- sm: string;
84
- DEFAULT: string;
85
- md: string;
86
- lg: string;
87
- xl: string;
88
- '2xl': string;
89
- '3xl': string;
90
- full: string;
1
+ export interface ThemeContextProps {
2
+ themeName: ThemeName;
3
+ theme: DefaultTheme;
4
+ isDarkMode: boolean;
5
+ toggleDarkMode: () => void;
91
6
  }
92
- export interface Theme {
7
+ export interface DefaultTheme {
93
8
  name: string;
94
- colors: ThemeColors;
95
- fontSizes: ThemeFontSizes;
96
- spacing: ThemeSpacing;
97
- borderRadius: ThemeBorderRadius;
9
+ colors: {
10
+ primary: ColorRamp;
11
+ secondary: ColorRamp;
12
+ accent: ColorRamp;
13
+ success: ColorRamp;
14
+ warning: ColorRamp;
15
+ error: ColorRamp;
16
+ neutral: ColorRamp;
17
+ background: {
18
+ light: string;
19
+ dark: string;
20
+ };
21
+ text: {
22
+ light: {
23
+ primary: string;
24
+ secondary: string;
25
+ tertiary: string;
26
+ };
27
+ dark: {
28
+ primary: string;
29
+ secondary: string;
30
+ tertiary: string;
31
+ };
32
+ };
33
+ };
34
+ borderRadius: {
35
+ sm: string;
36
+ DEFAULT: string;
37
+ md: string;
38
+ lg: string;
39
+ xl: string;
40
+ '2xl': string;
41
+ full: string;
42
+ };
43
+ fontFamily: {
44
+ sans: string[];
45
+ serif: string[];
46
+ mono: string[];
47
+ };
48
+ boxShadow: {
49
+ sm: string;
50
+ DEFAULT: string;
51
+ md: string;
52
+ lg: string;
53
+ xl: string;
54
+ };
55
+ typography: {
56
+ headings: {
57
+ fontWeight: string;
58
+ lineHeight: string;
59
+ letterSpacing: string;
60
+ };
61
+ body: {
62
+ fontWeight: string;
63
+ lineHeight: string;
64
+ letterSpacing: string;
65
+ };
66
+ };
67
+ components: {
68
+ buttons: {
69
+ primary: ButtonStyle;
70
+ secondary: ButtonStyle;
71
+ };
72
+ cards: {
73
+ borderRadius: string;
74
+ padding: string;
75
+ shadow: string;
76
+ border: string;
77
+ };
78
+ inputs: {
79
+ borderRadius: string;
80
+ borderColor: string;
81
+ focusBorderColor: string;
82
+ padding: string;
83
+ fontSize: string;
84
+ lineHeight: string;
85
+ };
86
+ };
98
87
  }
99
- export interface ThemeOptions {
100
- isDarkMode: boolean;
101
- primaryColor?: string;
102
- fontFamily?: string;
88
+ export interface ColorRamp {
89
+ 50: string;
90
+ 100: string;
91
+ 200: string;
92
+ 300: string;
93
+ 400: string;
94
+ 500: string;
95
+ 600: string;
96
+ 700: string;
97
+ 800: string;
98
+ 900: string;
99
+ 950: string;
103
100
  }
104
- export interface ThemeSelectorProps {
105
- value: string;
106
- onChange: (value: string) => void;
107
- options: {
108
- key: string;
109
- title: string;
110
- }[];
101
+ export interface ButtonStyle {
102
+ background: string;
103
+ text: string;
104
+ hoverBackground: string;
105
+ hoverText: string;
106
+ borderRadius: string;
107
+ padding: string;
108
+ fontWeight: string;
109
+ border?: string;
111
110
  }
111
+ export type ThemeName = 'default' | 'airbnb' | 'slack' | 'github' | 'spotify';
112
112
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/ThemeProvider/types.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,WAAW;IACxB,KAAK,EAAE;QACH,UAAU,EAAE,MAAM,CAAC;QACnB,UAAU,EAAE,MAAM,CAAC;QACnB,IAAI,EAAE,MAAM,CAAC;QACb,cAAc,EAAE,MAAM,CAAC;QACvB,OAAO,EAAE,MAAM,CAAC;QAChB,iBAAiB,EAAE,MAAM,CAAC;QAC1B,OAAO,EAAE,MAAM,CAAC;QAChB,iBAAiB,EAAE,MAAM,CAAC;QAC1B,SAAS,EAAE,MAAM,CAAC;QAClB,mBAAmB,EAAE,MAAM,CAAC;QAC5B,KAAK,EAAE,MAAM,CAAC;QACd,eAAe,EAAE,MAAM,CAAC;QACxB,MAAM,EAAE,MAAM,CAAC;QACf,gBAAgB,EAAE,MAAM,CAAC;QACzB,WAAW,EAAE,MAAM,CAAC;QACpB,qBAAqB,EAAE,MAAM,CAAC;QAC9B,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,IAAI,EAAE;QACF,UAAU,EAAE,MAAM,CAAC;QACnB,UAAU,EAAE,MAAM,CAAC;QACnB,IAAI,EAAE,MAAM,CAAC;QACb,cAAc,EAAE,MAAM,CAAC;QACvB,OAAO,EAAE,MAAM,CAAC;QAChB,iBAAiB,EAAE,MAAM,CAAC;QAC1B,OAAO,EAAE,MAAM,CAAC;QAChB,iBAAiB,EAAE,MAAM,CAAC;QAC1B,SAAS,EAAE,MAAM,CAAC;QAClB,mBAAmB,EAAE,MAAM,CAAC;QAC5B,KAAK,EAAE,MAAM,CAAC;QACd,eAAe,EAAE,MAAM,CAAC;QACxB,MAAM,EAAE,MAAM,CA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AC"}
@@ -0,0 +1,61 @@
1
+ import React from 'react';
2
+ interface IBaseItem {
3
+ id: string;
4
+ title: string;
5
+ types: string[];
6
+ name: string;
7
+ description?: string;
8
+ introduction?: string;
9
+ address: any;
10
+ location: string;
11
+ images: any;
12
+ thumbnailUrl?: string;
13
+ thumbnailAlt?: string;
14
+ verificationDocuments?: any;
15
+ info?: any;
16
+ user: any;
17
+ status?: any;
18
+ errors?: any;
19
+ preferences?: any;
20
+ orgName?: string;
21
+ serviceConfiguration?: any;
22
+ totalReview?: number;
23
+ totalStar?: number;
24
+ reviews?: any;
25
+ comments?: any;
26
+ userLikes?: any;
27
+ calendarEvents?: any[];
28
+ isUserLike?: boolean;
29
+ formattedPrice?: number;
30
+ timeZone: string;
31
+ createdAt: any;
32
+ updatedAt?: any;
33
+ stats?: any;
34
+ guideBookId?: string;
35
+ guestSharing?: any;
36
+ }
37
+ type CardListProps = {
38
+ items?: IBaseItem[];
39
+ setFocus: (index: number) => void;
40
+ setBlur: (index: number) => void;
41
+ handleLike: (index: number) => void;
42
+ likeBtnLoading: boolean;
43
+ categoryTypes: any[];
44
+ extraIcons?: any;
45
+ className?: string;
46
+ customCardComponent?: (props: {
47
+ item: IBaseItem;
48
+ index: number;
49
+ setFocus: () => void;
50
+ setBlur: (index: number) => void;
51
+ handleLike: (index: number) => void;
52
+ likeBtnLoading: boolean;
53
+ categoryTypes: any[];
54
+ extraIcons?: any;
55
+ authenticated: boolean;
56
+ }) => React.ReactNode;
57
+ emptyMessage?: string;
58
+ };
59
+ export declare const CardList: React.FC<CardListProps>;
60
+ export {};
61
+ //# sourceMappingURL=CardList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardList.d.ts","sourceRoot":"","sources":["../../../src/components/UI/CardList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,SAAS;IACf,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAA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AAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,cAAc,EAAE,OAAO,CAAC;IACxB,aAAa,EAAE,GAAG,EAAE,CAAC;IACrB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE;QAC1B,IAAI,EAAE,SAAS,CAAC;QAChB,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,IAAI,CAAC;QACrB,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;QACjC,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;QACpC,cAAc,EAAE,OAAO,CAAC;QACxB,aAAa,EAAE,GAAG,EAAE,CAAC;QACrB,UAAU,CAAC,EAAE,GAAG,CAAC;QACjB,aAAa,EAAE,OAAO,CAAC;KAC1B,KAAK,KAAK,CAAC,SAAS,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAuC5C,CAAC"}
@@ -0,0 +1,43 @@
1
+ import {jsx}from'react/jsx-runtime';import {useTranslation}from'react-i18next';import {isEmpty}from'lodash-es';import {isUserAuthenticated}from'@adminide-stack/user-auth0-client';const CardList = props => {
2
+ const {
3
+ setBlur,
4
+ setFocus,
5
+ items,
6
+ handleLike,
7
+ likeBtnLoading,
8
+ categoryTypes,
9
+ extraIcons,
10
+ className = '',
11
+ customCardComponent,
12
+ emptyMessage = 'No items found'
13
+ } = props;
14
+ const {
15
+ t
16
+ } = useTranslation();
17
+ const {
18
+ authenticated
19
+ } = isUserAuthenticated();
20
+ if (isEmpty(items)) {
21
+ return jsx("div", {
22
+ className: "text-base",
23
+ children: emptyMessage
24
+ });
25
+ }
26
+ return jsx("div", {
27
+ className: `flex flex-wrap justify-evenly ${className}`,
28
+ children: items?.map((item, index) => jsx("div", {
29
+ className: "w-full max-w-[350px] mb-4",
30
+ children: customCardComponent?.({
31
+ item,
32
+ index,
33
+ setFocus: () => setFocus(index),
34
+ setBlur,
35
+ handleLike,
36
+ likeBtnLoading,
37
+ categoryTypes,
38
+ extraIcons,
39
+ authenticated
40
+ })
41
+ }, index))
42
+ });
43
+ };export{CardList};//# sourceMappingURL=CardList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardList.js","sources":["../../../src/components/UI/CardList.tsx"],"sourcesContent":[null],"names":[],"mappings":"mLA0Ea,MAAA,QAAQ,GAA4B,KAAC,IAAS;QACjD;AAYN,IAAA;AACA,IAAA,QAAQ;AAER,IAAA,KAAW;AACP,IAAA,UAAA;IACJ,cAAC;IAED,aACS;;gBAKW,EAAK;AACL,IAAA,mBAAA;gBACA,GAAO;;;;oBAIG,EAAA;;AAEb,IAAA;AAKrB,GAAE,GAAA,mBAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,29 @@
1
+ import { Splide } from '@cdmbase/react-splide';
2
+ import '@splidejs/react-splide/css';
3
+ import React from 'react';
4
+ export interface ICategoryType<TTypename, TCategory, TName> {
5
+ __typename?: TTypename;
6
+ id: string;
7
+ description: string | null;
8
+ category: TCategory;
9
+ name: TName;
10
+ icon?: string | null;
11
+ imageKey?: string | null;
12
+ thumbnailUrl?: string | null;
13
+ }
14
+ export interface ICategoriesTypeListProps<TTypename, TCategory, TName> {
15
+ isExplorerView?: boolean;
16
+ categories: ICategoryType<TTypename, TCategory, TName>[];
17
+ initialCategory: ICategoryType<TTypename, TCategory, TName>;
18
+ boxColor: (categoryId: string) => string;
19
+ iconColor: (categoryId: string) => string;
20
+ badgeTitle?: string;
21
+ extraIcons: string[];
22
+ aria_label: string;
23
+ splideRef?: React.RefObject<Splide>;
24
+ isNewBadge: (categoryId: string) => boolean;
25
+ handleSearchClick: (cateItem: string, item: any, isExplorerView?: boolean) => void;
26
+ activeCategory?: string;
27
+ }
28
+ export declare const CategoriesTypeList: <TTypename, TCategory, TName>({ boxColor, iconColor, badgeTitle, extraIcons, categories, initialCategory, aria_label, isExplorerView, splideRef, isNewBadge, handleSearchClick, activeCategory, }: ICategoriesTypeListProps<TTypename, TCategory, TName>) => import("react/jsx-runtime").JSX.Element;
29
+ //# sourceMappingURL=CategoriesTypeList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CategoriesTypeList.d.ts","sourceRoot":"","sources":["../../../src/components/UI/CategoriesTypeList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAA2C,MAAM,uBAAuB,CAAC;AACxF,OAAO,4BAA4B,CAAC;AACpC,OAAO,KAAoD,MAAM,OAAO,CAAC;AAKzE,MAAM,WAAW,aAAa,CAAC,SAAS,EAAE,SAAS,EAAE,KAAK;IACtD,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,QAAQ,EAAE,SAAS,CAAC;IACpB,IAAI,EAAE,KAAK,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC;AAED,MAAM,WAAW,wBAAwB,CAAC,SAAS,EAAE,SAAS,EAAE,KAAK;IACjE,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,EAAE,aAAa,CAAC,SAAS,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC;IACzD,eAAe,EAAE,aAAa,CAAC,SAAS,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC;IAC5D,QAAQ,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,MAAM,CAAC;IACzC,SAAS,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,MAAM,CAAC;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;IACpC,UAAU,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,OAAO,CAAC;IAC5C,iBAAiB,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,cAAc,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IACnF,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B;AAyGD,eAAO,MAAM,kBAAkB,GAAI,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,qKAa7D,wBAAwB,CAAC,SAAS,EAAE,SAAS,EAAE,KAAK,CAAC,4CA6DvD,CAAC"}
@@ -0,0 +1,140 @@
1
+ import {jsxs,jsx}from'react/jsx-runtime';import {Splide,SplideSlide}from'@cdmbase/react-splide';import'@splidejs/react-splide/css';import React__default,{useCallback,useMemo,useState,useEffect}from'react';import {useTranslation}from'react-i18next';import {renderDynamicIcon}from'../../helpers/DynamicIcon.js';import useWindowSize from'../../hooks/useWindowSize.js';// Helper function to merge arrays
2
+ const mergeArrays = (arr1, arr2, keyToMapIcons) => {
3
+ const iconMap = new Map(arr2.map(icon => [icon.split('.').pop(), icon]));
4
+ return arr1.filter(item => iconMap.has(item[keyToMapIcons])).map(item => ({
5
+ ...item,
6
+ icon: iconMap.get(item[keyToMapIcons])
7
+ }));
8
+ };
9
+ // Create a memoized category item component
10
+ function CategoryItemComponent({
11
+ category,
12
+ boxColor,
13
+ size,
14
+ t,
15
+ isNewBadge,
16
+ badgeTitle,
17
+ handleSearchClick,
18
+ isExplorerView,
19
+ isActive
20
+ }) {
21
+ // Prevent multiple click propagation
22
+ const handleClick = useCallback(e => {
23
+ e.preventDefault();
24
+ e.stopPropagation();
25
+ handleSearchClick(category.id, category, isExplorerView);
26
+ }, [category, handleSearchClick, isExplorerView]);
27
+ // Compute the current color values
28
+ const currentBoxColor = isActive ? boxColor(category.id) : '#4A5568';
29
+ // Determine font size based on screen width
30
+ const fontSize = useMemo(() => {
31
+ if (size.width > 1200) return '16px';
32
+ if (size.width > 768) return '15px';
33
+ if (size.width > 480) return '14px';
34
+ return '12px';
35
+ }, [size.width]);
36
+ // Determine icon size based on screen width
37
+ const iconSize = useMemo(() => ({
38
+ w: size.width > 1200 ? '2vw' : '3vw',
39
+ h: size.height > 1200 ? '2vw' : '3vw'
40
+ }), [size.width, size.height]);
41
+ return jsxs("div", {
42
+ className: `flex flex-col items-center justify-center cursor-pointer relative font-bold ${isActive ? 'active' : ''}`,
43
+ style: {
44
+ color: currentBoxColor,
45
+ fontSize
46
+ },
47
+ onClick: handleClick,
48
+ children: [renderDynamicIcon({
49
+ name: category.icon,
50
+ style: {
51
+ iconColor: currentBoxColor,
52
+ ...iconSize
53
+ }
54
+ }), jsx("div", {
55
+ className: "text-center",
56
+ children: t(category.description)
57
+ }), isNewBadge(category.id) && jsx("div", {
58
+ className: "absolute top-0 right-0 bg-blue-500 text-white rounded-md text-xs p-1",
59
+ children: badgeTitle
60
+ })]
61
+ });
62
+ }
63
+ // Use React.memo with a custom comparison function
64
+ const CategoryItem = React__default.memo(CategoryItemComponent, (prevProps, nextProps) => {
65
+ if (prevProps.category.id !== nextProps.category.id) return false;
66
+ if (prevProps.isActive !== nextProps.isActive) return false;
67
+ if (prevProps.boxColor(prevProps.category.id) !== nextProps.boxColor(nextProps.category.id)) return false;
68
+ return true;
69
+ });
70
+ const CategoriesTypeList = ({
71
+ boxColor,
72
+ iconColor,
73
+ badgeTitle,
74
+ extraIcons,
75
+ categories,
76
+ initialCategory,
77
+ aria_label,
78
+ isExplorerView,
79
+ splideRef,
80
+ isNewBadge,
81
+ handleSearchClick,
82
+ activeCategory
83
+ }) => {
84
+ const size = useWindowSize();
85
+ const {
86
+ t
87
+ } = useTranslation(['property-types', 'common']);
88
+ // Track the currently active category ID internally
89
+ const [activeCategoryId, setActiveCategoryId] = useState(() => activeCategory || initialCategory.id);
90
+ // Update internal state when activeCategory prop changes
91
+ useEffect(() => {
92
+ setActiveCategoryId(activeCategory || initialCategory.id);
93
+ }, [activeCategory, initialCategory.id]);
94
+ // Memoize the merged array
95
+ const mappedArr = useMemo(() => mergeArrays([initialCategory, ...categories], extraIcons, 'icon'), [initialCategory, categories, extraIcons]);
96
+ // Splide options
97
+ const splideOptions = useMemo(() => ({
98
+ type: 'slide',
99
+ drag: 'free',
100
+ perPage: 9,
101
+ perMove: 1,
102
+ wheel: true,
103
+ releaseWheel: true,
104
+ pagination: false,
105
+ speed: 500,
106
+ wheelSleep: 300,
107
+ breakpoints: {
108
+ 1024: {
109
+ perPage: 9
110
+ },
111
+ 600: {
112
+ perPage: 5
113
+ },
114
+ 480: {
115
+ perPage: 3
116
+ }
117
+ }
118
+ }), []);
119
+ return jsx("div", {
120
+ className: "w-full relative",
121
+ children: jsx(Splide, {
122
+ ref: splideRef,
123
+ "aria-label": aria_label,
124
+ options: splideOptions,
125
+ children: mappedArr.map(d => jsx(SplideSlide, {
126
+ children: jsx(CategoryItem, {
127
+ category: d,
128
+ boxColor: boxColor,
129
+ size: size,
130
+ t: t,
131
+ isNewBadge: isNewBadge,
132
+ badgeTitle: badgeTitle,
133
+ handleSearchClick: handleSearchClick,
134
+ isExplorerView: isExplorerView,
135
+ isActive: d.id === activeCategoryId
136
+ }, `category_${d.id}`)
137
+ }, `button_${d.id}`))
138
+ })
139
+ });
140
+ };export{CategoriesTypeList};//# sourceMappingURL=CategoriesTypeList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CategoriesTypeList.js","sources":["../../../src/components/UI/CategoriesTypeList.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx","React"],"mappings":"6WAiCA;AACA,MAAM,WAAW,GAAG,CAChB,IAAkD,EAClD,IAAc,EACd,aAA+D,KACjB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,SAAA,CAAA,QAAA,CAAA,EAAA,CAAA,KAAA,SAAA,CAAA,QAAA,CAAA,SAAA,CAAA,QAAA,CAAA,EAAA,CAAA,EAAA,OAAA,KAAA;AACb,EAAA,OAAA;AACA,CAAA,CAAA;AACA,MAAA,kBAAU,GAAA,CAAA;AACV,EAAA,QAAA;AACA,EAAA,SAAA;AACA,EAAA,UAAA;AACA,EAAA,UAAA;AACA,EAAA,UAAA;AACA,EAAA,eAAA;AACI,EAAA,UAAA;AACA,EAAA,cAAK;AACL,EAAA,SAAA;AACH,EAAA,UAAA;mBAGP;;AAwBN,CAAC,KAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,83 @@
1
+ import { ReactElement } from 'react';
2
+ export interface IProperty {
3
+ id: string;
4
+ title: string;
5
+ types: string[];
6
+ name: string;
7
+ description?: string;
8
+ introduction?: string;
9
+ address: any;
10
+ location: string;
11
+ images: any;
12
+ thumbnailUrl?: string;
13
+ thumbnailAlt?: string;
14
+ verificationDocuments?: any;
15
+ info?: any;
16
+ user: any;
17
+ status?: any;
18
+ errors?: any;
19
+ preferences?: any;
20
+ orgName?: string;
21
+ serviceConfiguration?: any;
22
+ totalReview?: number;
23
+ totalStar?: number;
24
+ reviews?: any;
25
+ comments?: any;
26
+ userLikes?: any;
27
+ calendarEvents?: any[];
28
+ isUserLike?: boolean;
29
+ formattedPrice?: number;
30
+ timeZone: string;
31
+ createdAt: any;
32
+ updatedAt?: any;
33
+ stats?: any;
34
+ guideBookId?: string;
35
+ guestSharing?: any;
36
+ }
37
+ export interface IAirbnbProperty {
38
+ id: string;
39
+ title: string;
40
+ types: string[];
41
+ name: string;
42
+ description?: string;
43
+ introduction?: string;
44
+ address: any;
45
+ location: string;
46
+ images: any;
47
+ thumbnailUrl?: string;
48
+ thumbnailAlt?: string;
49
+ verificationDocuments?: any;
50
+ info?: any;
51
+ user: any;
52
+ status?: any;
53
+ errors?: any;
54
+ preferences?: any;
55
+ orgName?: string;
56
+ serviceConfiguration?: any;
57
+ totalReview?: number;
58
+ totalStar?: number;
59
+ reviews?: any;
60
+ comments?: any;
61
+ userLikes?: any;
62
+ calendarEvents?: any[];
63
+ isUserLike?: boolean;
64
+ formattedPrice?: number;
65
+ timeZone: string;
66
+ createdAt: any;
67
+ updatedAt?: any;
68
+ stats?: any;
69
+ guideBookId?: string;
70
+ guestSharing?: any;
71
+ }
72
+ interface ILazyLoadingGoogleMarkerProps {
73
+ property: IProperty | IAirbnbProperty;
74
+ isHighlighted: boolean;
75
+ showPrices: boolean;
76
+ isActiveMarker: boolean;
77
+ propertyTypes: any;
78
+ onMarkerClick: () => void;
79
+ onInfoBoxClose: () => void;
80
+ }
81
+ export declare const LazyLoadingGoogleMarker: (props: ILazyLoadingGoogleMarkerProps) => ReactElement;
82
+ export {};
83
+ //# sourceMappingURL=LazyLoadingGoogleMarker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LazyLoadingGoogleMarker.d.ts","sourceRoot":"","sources":["../../../src/components/UI/LazyLoadingGoogleMarker.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,YAAY,EAAuB,MAAM,OAAO,CAAC;AAOjE,MAAM,WAAW,SAAS;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,GAAG,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,GAAG,CAAC;IACZ,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,qBAAqB,CAAC,EAAE,GAAG,CAAC;IAC5B,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,IAAI,EAAE,GA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