@admin-layout/tailwind-design-pro 11.0.4-alpha.4 → 12.0.16-alpha.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 (316) 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 +140 -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 +140 -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 +59 -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 +417 -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 +23 -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-bk.css +443 -0
  290. package/lib/styles/index.css +667 -45
  291. package/lib/tailwindConfig.d.ts +100 -0
  292. package/lib/tailwindConfig.d.ts.map +1 -0
  293. package/lib/tailwindConfig.js +101 -0
  294. package/lib/tailwindConfig.js.map +1 -0
  295. package/lib/utils/analytics-utils.d.ts +43 -0
  296. package/lib/utils/analytics-utils.d.ts.map +1 -0
  297. package/lib/utils/analytics.d.ts +48 -0
  298. package/lib/utils/analytics.d.ts.map +1 -0
  299. package/lib/utils/formateCarData.d.ts +2 -0
  300. package/lib/utils/formateCarData.d.ts.map +1 -0
  301. package/lib/utils/menu.d.ts.map +1 -1
  302. package/lib/utils/test-utils.d.ts.map +1 -1
  303. package/lib/utils/utils/index.d.ts.map +1 -1
  304. package/package.json +7 -5
  305. package/lib/components/Layout/GlobalFooter/Copyright.js +0 -8
  306. package/lib/components/Layout/GlobalFooter/Copyright.js.map +0 -1
  307. package/lib/components/Layout/GlobalFooter/Footer.js +0 -22
  308. package/lib/components/Layout/GlobalFooter/Footer.js.map +0 -1
  309. package/lib/components/defaultSettings.d.ts +0 -4
  310. package/lib/components/defaultSettings.d.ts.map +0 -1
  311. package/lib/components/defaultSettings.js +0 -14
  312. package/lib/components/defaultSettings.js.map +0 -1
  313. package/lib/utils/index.d.ts +0 -2
  314. package/lib/utils/index.d.ts.map +0 -1
  315. package/lib/utils/index.js +0 -13
  316. package/lib/utils/index.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"LayoutChange.js","sources":["../../../src/components/SettingDrawer/LayoutChange.tsx"],"sourcesContent":[null],"names":[],"mappings":"wJAWwB,SAAA,YAAY,CAAC,KAA2B,EAAA;QACtD,CAAA,eAAc,gBAAE,CAAA,GAAoB,QAAA,EAAQ;AAClD,EAAA,MAAA;IACA,QAAQ;AACR,IAAA;AACA,GAAA,GAAA,KAAyB;AACrB,EAAA,MAAA;AACJ,IAAA;AAEA,GAAA,GAAA,cA4BQ,CAAA,UAAA,CAAA;AAiCZ,EAAC,MAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"LayoutChange.js","sources":["../../../src/components/SettingDrawer/LayoutChange.tsx"],"sourcesContent":[null],"names":[],"mappings":"kVAMwB,SAAA,YAAY,CAAC,KAAiC,EAAA;QAC5D;IACN,QAAQ;AACR,IAAA,aAAgB;AAChB,IAAA;AACA,GAAA,GAAA;AACA,EAAA,MAAA;IACA;MACM,cAAA,CAAA,UAAe,CAAA;AAErB,EAAA,MAAA;AACI,IAAA;mBAA2B,EAAA;AAE3B,EAAA,MAAA,YAAA,GAA+B,QAAA,EAAA,QAAA,IAAA,GAAA;AAC3B,EAAA,MAAA;;AAEH,GAAA,GAAA,QAAE,IAAA,EAAA;AACP,EAAA,MAAE,aAAA,GAAA,QAAA,EAAA,aAAA,GAAA,YAAA,CAAA,IAAA,QAAA,EAAA,aAAA,GAAA,GAAA,CAAA,IAAA,QAAA;AAEF,EAAA,MAAA,aAAkB,QAAO,WAAe,GAAA,SAAQ;QAEzC,YAEC,GAAA,aAAA,EAAA,MAAA,GAAA,UAAc,CAAA,IAAA,EAAC;6CAiD2B;AACtB,IAAA,IAAA,CAAA,aAAA,EAAA;+CAYsB,CAAA,QAAA,EAAA;AACtB,MAAA,GAAA,YAAA;;AAaA,KAAA,CAAA;AAQhC,GAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,3 @@
1
+ import { NavMenuSelectorProps } from './types';
2
+ export default function NavigationModes({ changeSetting, settings, location }: NavMenuSelectorProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=NavigationsModes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NavigationsModes.d.ts","sourceRoot":"","sources":["../../../src/components/SettingDrawer/NavigationsModes.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AA4E/C,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EAAE,aAAa,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,oBAAoB,2CA8ElG"}
@@ -0,0 +1,289 @@
1
+ import {jsxs,jsx}from'react/jsx-runtime';import'react';import'@react-icons/all-files/fa/FaMoon.js';import'@react-icons/all-files/fa/FaSun.js';import'../../hooks/use-get-current-lat-long.js';import {useMediaQuery}from'../../hooks/useMediaQuery.js';const navigationModes = [{
2
+ key: 'sidebar',
3
+ title: 'Sidebar',
4
+ svg: jsxs("svg", {
5
+ width: "58",
6
+ height: "50",
7
+ viewBox: "0 0 58 50",
8
+ xmlns: "http://www.w3.org/2000/svg",
9
+ children: [jsx("rect", {
10
+ width: "58",
11
+ height: "50",
12
+ rx: "8",
13
+ fill: "#ffffff"
14
+ }), jsx("rect", {
15
+ x: "4",
16
+ y: "0",
17
+ width: "16",
18
+ height: "50",
19
+ fill: "#f0f2f5"
20
+ }), jsx("rect", {
21
+ x: "6",
22
+ y: "8",
23
+ width: "12",
24
+ height: "4",
25
+ rx: "2",
26
+ fill: "#1890ff"
27
+ }), jsx("rect", {
28
+ x: "6",
29
+ y: "16",
30
+ width: "12",
31
+ height: "4",
32
+ rx: "2",
33
+ fill: "#000000",
34
+ opacity: "0.15"
35
+ }), jsx("rect", {
36
+ x: "6",
37
+ y: "24",
38
+ width: "12",
39
+ height: "4",
40
+ rx: "2",
41
+ fill: "#000000",
42
+ opacity: "0.15"
43
+ })]
44
+ })
45
+ }, {
46
+ key: 'topbar',
47
+ title: 'Top Bar',
48
+ svg: jsxs("svg", {
49
+ width: "58",
50
+ height: "50",
51
+ viewBox: "0 0 58 50",
52
+ xmlns: "http://www.w3.org/2000/svg",
53
+ children: [jsx("rect", {
54
+ width: "58",
55
+ height: "50",
56
+ rx: "8",
57
+ fill: "#ffffff"
58
+ }), jsx("rect", {
59
+ x: "0",
60
+ y: "0",
61
+ width: "58",
62
+ height: "14",
63
+ fill: "#f0f2f5"
64
+ }), jsx("rect", {
65
+ x: "8",
66
+ y: "5",
67
+ width: "12",
68
+ height: "4",
69
+ rx: "2",
70
+ fill: "#1890ff"
71
+ }), jsx("rect", {
72
+ x: "24",
73
+ y: "5",
74
+ width: "12",
75
+ height: "4",
76
+ rx: "2",
77
+ fill: "#000000",
78
+ opacity: "0.15"
79
+ }), jsx("rect", {
80
+ x: "40",
81
+ y: "5",
82
+ width: "12",
83
+ height: "4",
84
+ rx: "2",
85
+ fill: "#000000",
86
+ opacity: "0.15"
87
+ })]
88
+ })
89
+ }, {
90
+ key: 'mixed',
91
+ title: 'Mixed',
92
+ svg: jsxs("svg", {
93
+ width: "58",
94
+ height: "50",
95
+ viewBox: "0 0 58 50",
96
+ xmlns: "http://www.w3.org/2000/svg",
97
+ children: [jsx("rect", {
98
+ width: "58",
99
+ height: "50",
100
+ rx: "8",
101
+ fill: "#ffffff"
102
+ }), jsx("rect", {
103
+ x: "0",
104
+ y: "0",
105
+ width: "58",
106
+ height: "14",
107
+ fill: "#f0f2f5"
108
+ }), jsx("rect", {
109
+ x: "24",
110
+ y: "5",
111
+ width: "12",
112
+ height: "4",
113
+ rx: "2",
114
+ fill: "#000000",
115
+ opacity: "0.15"
116
+ }), jsx("rect", {
117
+ x: "40",
118
+ y: "5",
119
+ width: "12",
120
+ height: "4",
121
+ rx: "2",
122
+ fill: "#000000",
123
+ opacity: "0.15"
124
+ }), jsx("rect", {
125
+ x: "4",
126
+ y: "14",
127
+ width: "16",
128
+ height: "36",
129
+ fill: "#f0f2f5"
130
+ }), jsx("rect", {
131
+ x: "6",
132
+ y: "20",
133
+ width: "12",
134
+ height: "4",
135
+ rx: "2",
136
+ fill: "#1890ff"
137
+ }), jsx("rect", {
138
+ x: "6",
139
+ y: "28",
140
+ width: "12",
141
+ height: "4",
142
+ rx: "2",
143
+ fill: "#000000",
144
+ opacity: "0.15"
145
+ })]
146
+ })
147
+ }];
148
+ const menuTypes = [{
149
+ key: 'classic',
150
+ title: 'Classic',
151
+ svg: jsxs("svg", {
152
+ width: "58",
153
+ height: "50",
154
+ viewBox: "0 0 58 50",
155
+ xmlns: "http://www.w3.org/2000/svg",
156
+ children: [jsx("rect", {
157
+ width: "58",
158
+ height: "50",
159
+ rx: "8",
160
+ fill: "#ffffff"
161
+ }), jsx("rect", {
162
+ x: "0",
163
+ y: "0",
164
+ width: "18",
165
+ height: "50",
166
+ fill: "#001529"
167
+ }), jsx("rect", {
168
+ x: "4",
169
+ y: "15",
170
+ width: "10",
171
+ height: "2",
172
+ rx: "1",
173
+ fill: "#ffffff",
174
+ opacity: "0.65"
175
+ }), jsx("rect", {
176
+ x: "4",
177
+ y: "25",
178
+ width: "10",
179
+ height: "2",
180
+ rx: "1",
181
+ fill: "#ffffff",
182
+ opacity: "0.65"
183
+ })]
184
+ })
185
+ }, {
186
+ key: 'grouping',
187
+ title: 'Grouping',
188
+ svg: jsxs("svg", {
189
+ width: "58",
190
+ height: "50",
191
+ viewBox: "0 0 58 50",
192
+ xmlns: "http://www.w3.org/2000/svg",
193
+ children: [jsx("rect", {
194
+ width: "58",
195
+ height: "50",
196
+ rx: "8",
197
+ fill: "#ffffff"
198
+ }), jsx("rect", {
199
+ x: "0",
200
+ y: "0",
201
+ width: "58",
202
+ height: "14",
203
+ fill: "#001529"
204
+ }), jsx("rect", {
205
+ x: "8",
206
+ y: "6",
207
+ width: "10",
208
+ height: "2",
209
+ rx: "1",
210
+ fill: "#ffffff",
211
+ opacity: "0.65"
212
+ }), jsx("rect", {
213
+ x: "24",
214
+ y: "6",
215
+ width: "10",
216
+ height: "2",
217
+ rx: "1",
218
+ fill: "#ffffff",
219
+ opacity: "0.65"
220
+ })]
221
+ })
222
+ }];
223
+ function NavigationModes({
224
+ changeSetting,
225
+ settings,
226
+ location
227
+ }) {
228
+ const {
229
+ isMobile
230
+ } = useMediaQuery();
231
+ const currentRoute = location?.pathname || '/';
232
+ const routeSettings = settings?.routeSettings?.[currentRoute] || settings?.routeSettings?.['/'] || settings;
233
+ const deviceType = isMobile ? 'mobile' : 'desktop';
234
+ const deviceLayout = routeSettings?.layout?.[deviceType] || {};
235
+ return jsxs("div", {
236
+ className: "space-y-8",
237
+ children: [jsxs("section", {
238
+ children: [jsx("h3", {
239
+ className: "text-sm font-medium text-gray-700 dark:text-gray-200 mb-3",
240
+ children: deviceType === 'mobile' ? 'Mobile Navigation Mode' : 'Desktop Navigation Mode'
241
+ }), jsx("div", {
242
+ className: "flex flex-row gap-4",
243
+ children: navigationModes.map((mode, index) => jsx("div", {
244
+ className: "relative cursor-pointer hover:opacity-80 transition-opacity shadow-sm dark:shadow-md rounded overflow-hidden",
245
+ onClick: () => changeSetting(`routeSettings.${currentRoute}.layout.${deviceType}`, {
246
+ ...deviceLayout,
247
+ navigationMode: mode.key
248
+ }),
249
+ children: jsxs("div", {
250
+ className: "relative",
251
+ children: [mode.svg, deviceLayout?.navigationMode === mode.key && jsx("svg", {
252
+ className: "absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 w-6 h-6 text-blue-500 pointer-events-none",
253
+ viewBox: "0 0 24 24",
254
+ fill: "currentColor",
255
+ children: jsx("path", {
256
+ d: "M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"
257
+ })
258
+ })]
259
+ })
260
+ }, `navMode_${index}`))
261
+ })]
262
+ }), jsxs("section", {
263
+ children: [jsx("h3", {
264
+ className: "text-sm font-medium text-gray-700 dark:text-gray-200 mb-3",
265
+ children: deviceType === 'mobile' ? 'Mobile Menu Type' : 'Desktop Menu Type'
266
+ }), jsx("div", {
267
+ className: "flex flex-row gap-4",
268
+ children: menuTypes.map((type, index) => jsx("div", {
269
+ className: "relative cursor-pointer hover:opacity-80 transition-opacity shadow-sm dark:shadow-md rounded overflow-hidden",
270
+ onClick: () => changeSetting(`routeSettings.${currentRoute}.layout.${deviceType}`, {
271
+ ...deviceLayout,
272
+ sideMenuType: type.key
273
+ }),
274
+ children: jsxs("div", {
275
+ className: "relative",
276
+ children: [type.svg, deviceLayout?.sideMenuType === type.key && jsx("svg", {
277
+ className: "absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 w-6 h-6 text-blue-500 pointer-events-none",
278
+ viewBox: "0 0 24 24",
279
+ fill: "currentColor",
280
+ children: jsx("path", {
281
+ d: "M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"
282
+ })
283
+ })]
284
+ })
285
+ }, `menuType_${index}`))
286
+ })]
287
+ })]
288
+ });
289
+ }export{NavigationModes as default};//# sourceMappingURL=NavigationsModes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NavigationsModes.js","sources":["../../../src/components/SettingDrawer/NavigationsModes.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx"],"mappings":"uPAIA,MAAM,eAAe,GAAG,CAAA;AACpB,EAAA,GAAA,EAAA,SAAA;AACI,EAAA,KAAA,EAAA,SAAc;AACd,EAAA,GAAA,EAAAA,IAAA,CAAK,KAAW,EAAA;AAChB,IAAA,KAAA,EAAG,IACM;AAQZ,IAAA,MAAA,EAAA,IAAA;AACD,IAAA,OAAA,EAAA,WAAA;AACI,IAAA,KAAA,EAAG,4BAAU;AACb,IAAA,QAAA,GAAOC,GAAS,CAAA,MAAA,EAAA;AAChB,MAAA,KAAG,EAAE,IACI;AAQZ,MAAA,MAAA,EAAA,IAAA;AACD,MAAA,EAAA,EAAA,GAAA;AACI,MAAA,IAAA;AACA,KAAA,CAAA,EAAAA,GAAA,CAAK,MAAS,EAAA;SACX,GAAA;AAaN,MAAA,CAAA,EAAA,GAAA;MACH,KAAA,EAAA,IAAA;AAEF,MAAM,YAAY;AACd,MAAA,IAAA,EAAA;AACI,KAAA,CAAA,EAAAA,IAAK,MAAS,EAAA;AACd,MAAA,CAAA,EAAA,GAAA;SACG,GAAA;AAQN,MAAA,KAAA,EAAA,IAAA;AACD,MAAA,MAAA,EAAA,GAAA;AACI,MAAA,EAAA,EAAA,GAAK;AACL,MAAA,IAAA,EAAA;QACAA,GAAG,CAAE,MACD,EAAA;AAOP,MAAA,CAAA,EAAA,GAAA;MACH,CAAA,EAAA,IAAA;AAEF,MAAM,KAAQ,EAAA,IAAA;AACV,MAAA,MAAQ,EAAQ,GAAA;AAChB,MAAA,EAAA,EAAM;AACN,MAAA,IAAM;MACA,OAAA,EAAA;KACA,CAAA,EAAAA,GAAA,CAAA,MAAA,EAAA;MAEC,CAAA,EAAA,GACH;AAa4B,MAAA,CAAA,EAAA,IAAA;;;AAkCA,MAAA,EAAA,EAAA,GAAA;;;AAuBpC,KAAC,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,8 +1,3 @@
1
- import { ProSettings } from '../defaultSettings';
2
- type IRegionalSettingsProps = {
3
- settings?: Partial<ProSettings>;
4
- changeSetting?: (key: string, value: string | boolean | any) => void;
5
- };
1
+ import { IRegionalSettingsProps } from './types';
6
2
  export default function RegionalSettings(props: IRegionalSettingsProps): import("react/jsx-runtime").JSX.Element;
7
- export {};
8
3
  //# sourceMappingURL=RegionalSettings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RegionalSettings.d.ts","sourceRoot":"","sources":["../../../src/components/SettingDrawer/RegionalSettings.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGjD,KAAK,sBAAsB,GAAG;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;IAChC,aAAa,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,GAAG,GAAG,KAAK,IAAI,CAAC;CACxE,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,KAAK,EAAE,sBAAsB,2CA4DrE"}
1
+ {"version":3,"file":"RegionalSettings.d.ts","sourceRoot":"","sources":["../../../src/components/SettingDrawer/RegionalSettings.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAKjD,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,KAAK,EAAE,sBAAsB,2CAgoBrE"}