@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.
- package/README.md +345 -1
- package/lib/cdm-locales/en/settings.json +35 -1
- package/lib/cdm-locales/es/settings.json +37 -3
- package/lib/components/Layout/BasicLayout/index.d.ts +1 -2
- package/lib/components/Layout/BasicLayout/index.d.ts.map +1 -1
- package/lib/components/Layout/BasicLayout/index.js +146 -42
- package/lib/components/Layout/BasicLayout/index.js.map +1 -1
- package/lib/components/Layout/BasicLayout/utils.d.ts.map +1 -1
- package/lib/components/Layout/BasicLayout/utils.js +1 -1
- package/lib/components/Layout/GlobalFooter/BottomMenuDropdown.d.ts +1 -8
- package/lib/components/Layout/GlobalFooter/BottomMenuDropdown.d.ts.map +1 -1
- package/lib/components/Layout/GlobalFooter/BottomMenuDropdown.js.map +1 -1
- package/lib/components/Layout/GlobalFooter/Copyright.d.ts.map +1 -1
- package/lib/components/Layout/GlobalFooter/Footer.d.ts.map +1 -1
- package/lib/components/Layout/GlobalHeader/Header.d.ts +2 -15
- package/lib/components/Layout/GlobalHeader/Header.d.ts.map +1 -1
- package/lib/components/Layout/GlobalHeader/Header.js +70 -38
- package/lib/components/Layout/GlobalHeader/Header.js.map +1 -1
- package/lib/components/Layout/GlobalHeader/Logo.d.ts +4 -0
- package/lib/components/Layout/GlobalHeader/Logo.d.ts.map +1 -0
- package/lib/components/Layout/GlobalHeader/Logo.js +141 -0
- package/lib/components/Layout/GlobalHeader/Logo.js.map +1 -0
- package/lib/components/Layout/GlobalHeader/MainHeader.d.ts +6 -0
- package/lib/components/Layout/GlobalHeader/MainHeader.d.ts.map +1 -0
- package/lib/components/Layout/GlobalHeader/MainHeader.js +230 -0
- package/lib/components/Layout/GlobalHeader/MainHeader.js.map +1 -0
- package/lib/components/Layout/GlobalHeader/OrganizationDropdown.d.ts +1 -12
- package/lib/components/Layout/GlobalHeader/OrganizationDropdown.d.ts.map +1 -1
- package/lib/components/Layout/GlobalHeader/OrganizationDropdown.js.map +1 -1
- package/lib/components/Layout/GlobalHeader/RightContent.d.ts +1 -13
- package/lib/components/Layout/GlobalHeader/RightContent.d.ts.map +1 -1
- package/lib/components/Layout/GlobalHeader/RightContent.js.map +1 -1
- package/lib/components/Layout/GlobalHeader/RightMenu.d.ts +4 -0
- package/lib/components/Layout/GlobalHeader/RightMenu.d.ts.map +1 -0
- package/lib/components/Layout/GlobalHeader/RightMenu.js +290 -0
- package/lib/components/Layout/GlobalHeader/RightMenu.js.map +1 -0
- package/lib/components/Layout/GlobalHeader/SearchBar.d.ts +9 -0
- package/lib/components/Layout/GlobalHeader/SearchBar.d.ts.map +1 -0
- package/lib/components/Layout/GlobalHeader/SearchBar.js +118 -0
- package/lib/components/Layout/GlobalHeader/SearchBar.js.map +1 -0
- package/lib/components/Layout/GlobalHeader/index.d.ts +4 -0
- package/lib/components/Layout/GlobalHeader/index.d.ts.map +1 -0
- package/lib/components/Layout/ProTailwindLayout.d.ts.map +1 -1
- package/lib/components/Layout/ProTailwindLayout.js +1 -2
- package/lib/components/Layout/ProTailwindLayout.js.map +1 -1
- package/lib/components/Layout/Sidebar/Divider.d.ts +1 -31
- package/lib/components/Layout/Sidebar/Divider.d.ts.map +1 -1
- package/lib/components/Layout/Sidebar/Divider.js.map +1 -1
- package/lib/components/Layout/Sidebar/DynamicIcon.d.ts +5 -0
- package/lib/components/Layout/Sidebar/DynamicIcon.d.ts.map +1 -0
- package/lib/components/Layout/Sidebar/DynamicIcon.js +51 -0
- package/lib/components/Layout/Sidebar/DynamicIcon.js.map +1 -0
- package/lib/components/Layout/Sidebar/Sidebar.d.ts +1 -12
- package/lib/components/Layout/Sidebar/Sidebar.d.ts.map +1 -1
- package/lib/components/Layout/Sidebar/Sidebar.js +108 -92
- package/lib/components/Layout/Sidebar/Sidebar.js.map +1 -1
- package/lib/components/Layout/Sidebar/SidebarMenu.d.ts.map +1 -1
- package/lib/components/Layout/Sidebar/SidebarMenu.js +110 -20
- package/lib/components/Layout/Sidebar/SidebarMenu.js.map +1 -1
- package/lib/components/Layout/TailwindLayout.d.ts.map +1 -1
- package/lib/components/Layout/TailwindLayout.js +29 -19
- package/lib/components/Layout/TailwindLayout.js.map +1 -1
- package/lib/components/Layout/getPageTitle.d.ts +1 -16
- package/lib/components/Layout/getPageTitle.d.ts.map +1 -1
- package/lib/components/Layout/getPageTitle.js +1 -1
- package/lib/components/Layout/getPageTitle.js.map +1 -1
- package/lib/components/Layout/slot-fill/AdditionalSettings.d.ts.map +1 -1
- package/lib/components/Layout/slot-fill/Footer.d.ts +1 -1
- package/lib/components/Layout/slot-fill/Footer.d.ts.map +1 -1
- package/lib/components/Layout/slot-fill/Footer.js +6 -6
- package/lib/components/Layout/slot-fill/Footer.js.map +1 -1
- package/lib/components/Layout/slot-fill/HeaderNotice.d.ts.map +1 -1
- package/lib/components/Layout/slot-fill/HeaderSearchBar.d.ts +3 -0
- package/lib/components/Layout/slot-fill/HeaderSearchBar.d.ts.map +1 -0
- package/lib/components/Layout/slot-fill/HeaderSearchBar.js +6 -0
- package/lib/components/Layout/slot-fill/HeaderSearchBar.js.map +1 -0
- package/lib/components/Layout/slot-fill/HeaderSearchButton.d.ts +3 -0
- package/lib/components/Layout/slot-fill/HeaderSearchButton.d.ts.map +1 -0
- package/lib/components/Layout/slot-fill/HeaderSearchButton.js +6 -0
- package/lib/components/Layout/slot-fill/HeaderSearchButton.js.map +1 -0
- package/lib/components/Layout/slot-fill/RightContent.d.ts +3 -0
- package/lib/components/Layout/slot-fill/RightContent.d.ts.map +1 -0
- package/lib/components/Layout/slot-fill/RightContent.js +6 -0
- package/lib/components/Layout/slot-fill/RightContent.js.map +1 -0
- package/lib/components/Layout/slot-fill/index.d.ts +3 -0
- package/lib/components/Layout/slot-fill/index.d.ts.map +1 -1
- package/lib/components/Layout/util.d.ts.map +1 -1
- package/lib/components/Layout/util.js +12 -0
- package/lib/components/Layout/util.js.map +1 -0
- package/lib/components/SettingDrawer/CheckBoxTheme.js +1 -1
- package/lib/components/SettingDrawer/LayoutChange.d.ts +1 -1
- package/lib/components/SettingDrawer/LayoutChange.d.ts.map +1 -1
- package/lib/components/SettingDrawer/LayoutChange.js +75 -17
- package/lib/components/SettingDrawer/LayoutChange.js.map +1 -1
- package/lib/components/SettingDrawer/NavigationsModes.d.ts +1 -1
- package/lib/components/SettingDrawer/NavigationsModes.d.ts.map +1 -1
- package/lib/components/SettingDrawer/NavigationsModes.js +18 -10
- package/lib/components/SettingDrawer/NavigationsModes.js.map +1 -1
- package/lib/components/SettingDrawer/RegionalSettings.d.ts.map +1 -1
- package/lib/components/SettingDrawer/RegionalSettings.js +685 -33
- package/lib/components/SettingDrawer/RegionalSettings.js.map +1 -1
- package/lib/components/SettingDrawer/SettingDrawer.d.ts +1 -1
- package/lib/components/SettingDrawer/SettingDrawer.d.ts.map +1 -1
- package/lib/components/SettingDrawer/SettingDrawer.js +164 -39
- package/lib/components/SettingDrawer/SettingDrawer.js.map +1 -1
- package/lib/components/SettingDrawer/WebFontsSelector.d.ts +3 -0
- package/lib/components/SettingDrawer/WebFontsSelector.d.ts.map +1 -0
- package/lib/components/SettingDrawer/WebFontsSelector.js +24 -0
- package/lib/components/SettingDrawer/WebFontsSelector.js.map +1 -0
- package/lib/components/SettingDrawer/types.d.ts +23 -2
- package/lib/components/SettingDrawer/types.d.ts.map +1 -1
- package/lib/components/ThemeProvider/ThemeProvider.d.ts +6 -16
- package/lib/components/ThemeProvider/ThemeProvider.d.ts.map +1 -1
- package/lib/components/ThemeProvider/ThemeProvider.js +26 -28
- package/lib/components/ThemeProvider/ThemeProvider.js.map +1 -1
- package/lib/components/ThemeProvider/ThemeToggle.js +50 -0
- package/lib/components/ThemeProvider/ThemeToggle.js.map +1 -0
- package/lib/components/ThemeProvider/index.d.ts +2 -5
- package/lib/components/ThemeProvider/index.d.ts.map +1 -1
- package/lib/components/ThemeProvider/themes/airbnb.d.ts +3 -0
- package/lib/components/ThemeProvider/themes/airbnb.d.ts.map +1 -0
- package/lib/components/ThemeProvider/themes/airbnb.js +186 -0
- package/lib/components/ThemeProvider/themes/airbnb.js.map +1 -0
- package/lib/components/ThemeProvider/themes/default.d.ts +3 -0
- package/lib/components/ThemeProvider/themes/default.d.ts.map +1 -0
- package/lib/components/ThemeProvider/themes/default.js +183 -0
- package/lib/components/ThemeProvider/themes/default.js.map +1 -0
- package/lib/components/ThemeProvider/themes/github.d.ts +3 -0
- package/lib/components/ThemeProvider/themes/github.d.ts.map +1 -0
- package/lib/components/ThemeProvider/themes/github.js +190 -0
- package/lib/components/ThemeProvider/themes/github.js.map +1 -0
- package/lib/components/ThemeProvider/themes/index.d.ts +15 -0
- package/lib/components/ThemeProvider/themes/index.d.ts.map +1 -0
- package/lib/components/ThemeProvider/themes/index.js +7 -0
- package/lib/components/ThemeProvider/themes/index.js.map +1 -0
- package/lib/components/ThemeProvider/themes/slack.d.ts +3 -0
- package/lib/components/ThemeProvider/themes/slack.d.ts.map +1 -0
- package/lib/components/ThemeProvider/themes/slack.js +188 -0
- package/lib/components/ThemeProvider/themes/slack.js.map +1 -0
- package/lib/components/ThemeProvider/themes/spotify.d.ts +3 -0
- package/lib/components/ThemeProvider/themes/spotify.d.ts.map +1 -0
- package/lib/components/ThemeProvider/themes/spotify.js +189 -0
- package/lib/components/ThemeProvider/themes/spotify.js.map +1 -0
- package/lib/components/ThemeProvider/types.d.ts +106 -106
- package/lib/components/ThemeProvider/types.d.ts.map +1 -1
- package/lib/components/UI/CardList.d.ts +61 -0
- package/lib/components/UI/CardList.d.ts.map +1 -0
- package/lib/components/UI/CardList.js +43 -0
- package/lib/components/UI/CardList.js.map +1 -0
- package/lib/components/UI/CategoriesTypeList.d.ts +29 -0
- package/lib/components/UI/CategoriesTypeList.d.ts.map +1 -0
- package/lib/components/UI/CategoriesTypeList.js +140 -0
- package/lib/components/UI/CategoriesTypeList.js.map +1 -0
- package/lib/components/UI/LazyLoadingGoogleMarker.d.ts +83 -0
- package/lib/components/UI/LazyLoadingGoogleMarker.d.ts.map +1 -0
- package/lib/components/UI/LazyLoadingGoogleMarker.js +107 -0
- package/lib/components/UI/LazyLoadingGoogleMarker.js.map +1 -0
- package/lib/components/UI/Pagination.d.ts +6 -0
- package/lib/components/UI/Pagination.d.ts.map +1 -0
- package/lib/components/UI/Pagination.js +59 -0
- package/lib/components/UI/Pagination.js.map +1 -0
- package/lib/components/UI/ParamSearchResultContainer.d.ts +101 -0
- package/lib/components/UI/ParamSearchResultContainer.d.ts.map +1 -0
- package/lib/components/UI/ParamSearchResultContainer.js +120 -0
- package/lib/components/UI/ParamSearchResultContainer.js.map +1 -0
- package/lib/components/UI/PropertyCard.d.ts +24 -0
- package/lib/components/UI/PropertyCard.d.ts.map +1 -0
- package/lib/components/UI/PropertyCard.js +375 -0
- package/lib/components/UI/PropertyCard.js.map +1 -0
- package/lib/components/UI/PropertyCardOnMap.d.ts +10 -0
- package/lib/components/UI/PropertyCardOnMap.d.ts.map +1 -0
- package/lib/components/UI/PropertyCardOnMap.js +108 -0
- package/lib/components/UI/PropertyCardOnMap.js.map +1 -0
- package/lib/components/UI/VehicleCard.d.ts +15 -0
- package/lib/components/UI/VehicleCard.d.ts.map +1 -0
- package/lib/components/UI/VehicleCardList.d.ts +14 -0
- package/lib/components/UI/VehicleCardList.d.ts.map +1 -0
- package/lib/components/UI/VehicleComponents/CarCardFooter.d.ts +7 -0
- package/lib/components/UI/VehicleComponents/CarCardFooter.d.ts.map +1 -0
- package/lib/components/UI/VehicleComponents/CarCardFooter.js +61 -0
- package/lib/components/UI/VehicleComponents/CarCardFooter.js.map +1 -0
- package/lib/components/UI/VehicleComponents/CarCardImage.d.ts +9 -0
- package/lib/components/UI/VehicleComponents/CarCardImage.d.ts.map +1 -0
- package/lib/components/UI/VehicleComponents/CarCardImage.js +32 -0
- package/lib/components/UI/VehicleComponents/CarCardImage.js.map +1 -0
- package/lib/components/UI/VehicleComponents/CarCardInfo.d.ts +13 -0
- package/lib/components/UI/VehicleComponents/CarCardInfo.d.ts.map +1 -0
- package/lib/components/UI/VehicleComponents/CarCardInfo.js +49 -0
- package/lib/components/UI/VehicleComponents/CarCardInfo.js.map +1 -0
- package/lib/components/UI/VehicleComponents/index.d.ts +4 -0
- package/lib/components/UI/VehicleComponents/index.d.ts.map +1 -0
- package/lib/components/UI/VehicleParamSearchResultContainer.d.ts +90 -0
- package/lib/components/UI/VehicleParamSearchResultContainer.d.ts.map +1 -0
- package/lib/components/UI/icons/LocationIcon.d.ts +7 -0
- package/lib/components/UI/icons/LocationIcon.d.ts.map +1 -0
- package/lib/components/UI/icons/LocationIcon.js +18 -0
- package/lib/components/UI/icons/LocationIcon.js.map +1 -0
- package/lib/components/UI/icons/index.d.ts +2 -0
- package/lib/components/UI/icons/index.d.ts.map +1 -0
- package/lib/components/UI/index.d.ts +9 -0
- package/lib/components/UI/index.d.ts.map +1 -0
- package/lib/components/UpdateSettingsResource/UpdateSettingsResource.server.d.ts +1 -1
- package/lib/components/UpdateSettingsResource/UpdateSettingsResource.server.d.ts.map +1 -1
- package/lib/components/index.d.ts +4 -0
- package/lib/components/index.d.ts.map +1 -0
- package/lib/components/index.js +1 -0
- package/lib/components/index.js.map +1 -0
- package/lib/components/typings.d.ts +133 -51
- package/lib/components/typings.d.ts.map +1 -1
- package/lib/components/typings.js +6 -0
- package/lib/components/typings.js.map +1 -0
- package/lib/config/constants.d.ts +8 -0
- package/lib/config/constants.d.ts.map +1 -0
- package/lib/config/constants.js +32 -0
- package/lib/config/constants.js.map +1 -0
- package/lib/config/env-config.d.ts +15 -0
- package/lib/config/env-config.d.ts.map +1 -1
- package/lib/config/env-config.js +66 -1
- package/lib/config/env-config.js.map +1 -1
- package/lib/helpers/DynamicIcon.d.ts +7 -4
- package/lib/helpers/DynamicIcon.d.ts.map +1 -1
- package/lib/helpers/DynamicIcon.js +51 -0
- package/lib/helpers/DynamicIcon.js.map +1 -0
- package/lib/hooks/index.d.ts +6 -0
- package/lib/hooks/index.d.ts.map +1 -0
- package/lib/hooks/use-get-current-lat-long.d.ts +18 -0
- package/lib/hooks/use-get-current-lat-long.d.ts.map +1 -0
- package/lib/hooks/use-get-current-lat-long.js +29 -0
- package/lib/hooks/use-get-current-lat-long.js.map +1 -0
- package/lib/hooks/useMediaQuery.d.ts +14 -0
- package/lib/hooks/useMediaQuery.d.ts.map +1 -0
- package/lib/hooks/useMediaQuery.js +48 -0
- package/lib/hooks/useMediaQuery.js.map +1 -0
- package/lib/hooks/useScrollThreshold.d.ts +12 -0
- package/lib/hooks/useScrollThreshold.d.ts.map +1 -0
- package/lib/hooks/useScrollThreshold.js +60 -0
- package/lib/hooks/useScrollThreshold.js.map +1 -0
- package/lib/hooks/useTailwindTheme.d.ts +34 -0
- package/lib/hooks/useTailwindTheme.d.ts.map +1 -0
- package/lib/hooks/useTailwindTheme.js +82 -0
- package/lib/hooks/useTailwindTheme.js.map +1 -0
- package/lib/hooks/useWindowSize.d.ts +6 -0
- package/lib/hooks/useWindowSize.d.ts.map +1 -0
- package/lib/hooks/useWindowSize.js +20 -0
- package/lib/hooks/useWindowSize.js.map +1 -0
- package/lib/icons.d.ts +2 -0
- package/lib/icons.d.ts.map +1 -1
- package/lib/icons.js +3 -4
- package/lib/icons.js.map +1 -1
- package/lib/index.d.ts +3 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/machines/settingsMachine.d.ts +4 -1
- package/lib/machines/settingsMachine.d.ts.map +1 -1
- package/lib/machines/settingsMachine.js +170 -120
- package/lib/machines/settingsMachine.js.map +1 -1
- package/lib/machines/types.d.ts +124 -17
- package/lib/machines/types.d.ts.map +1 -1
- package/lib/machines/types.js +5 -0
- package/lib/machines/types.js.map +1 -0
- package/lib/middlewares/airbnbDatasourcesMiddleware.d.ts +6 -0
- package/lib/middlewares/airbnbDatasourcesMiddleware.d.ts.map +1 -0
- package/lib/middlewares/bookingCarRentalMiddleware.d.ts +6 -0
- package/lib/middlewares/bookingCarRentalMiddleware.d.ts.map +1 -0
- package/lib/middlewares/bookingDatasourcesMiddleware.d.ts +7 -0
- package/lib/middlewares/bookingDatasourcesMiddleware.d.ts.map +1 -0
- package/lib/middlewares/datasourcesMiddleware.d.ts +6 -0
- package/lib/middlewares/datasourcesMiddleware.d.ts.map +1 -0
- package/lib/middlewares/pricelineDatasourcesMiddleware.d.ts +7 -0
- package/lib/middlewares/pricelineDatasourcesMiddleware.d.ts.map +1 -0
- package/lib/module.d.ts +0 -1
- package/lib/module.d.ts.map +1 -1
- package/lib/module.js +14 -15
- package/lib/module.js.map +1 -1
- package/lib/redux/index.d.ts +2 -0
- package/lib/redux/index.d.ts.map +1 -0
- package/lib/redux/searchReducer.d.ts +42 -0
- package/lib/redux/searchReducer.d.ts.map +1 -0
- package/lib/redux/searchReducer.js +64 -0
- package/lib/redux/searchReducer.js.map +1 -0
- package/lib/tailwindConfig.d.ts +42 -0
- package/lib/tailwindConfig.d.ts.map +1 -0
- package/lib/tailwindConfig.js +23 -0
- package/lib/tailwindConfig.js.map +1 -0
- package/lib/utils/formateCarData.d.ts +2 -0
- package/lib/utils/formateCarData.d.ts.map +1 -0
- package/lib/utils/menu.d.ts.map +1 -1
- package/lib/utils/test-utils.d.ts.map +1 -1
- package/lib/utils/utils/index.d.ts.map +1 -1
- package/package.json +6 -6
- package/lib/components/Layout/GlobalFooter/Copyright.js +0 -8
- package/lib/components/Layout/GlobalFooter/Copyright.js.map +0 -1
- package/lib/components/Layout/GlobalFooter/Footer.js +0 -22
- package/lib/components/Layout/GlobalFooter/Footer.js.map +0 -1
- package/lib/components/ThemeProvider/themeRegistry.d.ts +0 -3
- package/lib/components/ThemeProvider/themeRegistry.d.ts.map +0 -1
- package/lib/components/ThemeProvider/themeRegistry.js +0 -388
- package/lib/components/ThemeProvider/themeRegistry.js.map +0 -1
- package/lib/components/ThemeProvider/themeUtils.d.ts +0 -26
- package/lib/components/ThemeProvider/themeUtils.d.ts.map +0 -1
- package/lib/components/ThemeProvider/themeUtils.js +0 -135
- package/lib/components/ThemeProvider/themeUtils.js.map +0 -1
- package/lib/components/defaultSettings.d.ts +0 -4
- package/lib/components/defaultSettings.d.ts.map +0 -1
- package/lib/components/defaultSettings.js +0 -14
- package/lib/components/defaultSettings.js.map +0 -1
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {jsxs,jsx}from'react/jsx-runtime';import {useState}from'react';import {FaHeart}from'@react-icons/all-files/fa/FaHeart.js';import {FaRegHeart}from'@react-icons/all-files/fa/FaRegHeart.js';const CarCardImage = ({
|
|
2
|
+
imageUrl,
|
|
3
|
+
alt,
|
|
4
|
+
isFavorite: initialFavorite = false
|
|
5
|
+
}) => {
|
|
6
|
+
const [isFavorite, setIsFavorite] = useState(initialFavorite);
|
|
7
|
+
const [isHovering, setIsHovering] = useState(false);
|
|
8
|
+
const toggleFavorite = e => {
|
|
9
|
+
e.preventDefault();
|
|
10
|
+
e.stopPropagation();
|
|
11
|
+
setIsFavorite(!isFavorite);
|
|
12
|
+
};
|
|
13
|
+
return jsxs("div", {
|
|
14
|
+
className: "w-full md:w-[400px] h-[240px] md:h-[240px] bg-gray-200 flex-shrink-0",
|
|
15
|
+
children: [imageUrl && jsx("img", {
|
|
16
|
+
src: imageUrl,
|
|
17
|
+
alt: alt || 'Car image',
|
|
18
|
+
className: "w-full h-full object-cover"
|
|
19
|
+
}), jsx("button", {
|
|
20
|
+
"aria-label": isFavorite ? 'Remove from favorites' : 'Add to favorites',
|
|
21
|
+
className: "absolute top-4 right-4 w-10 h-10 rounded-full bg-white bg-opacity-70 hover:bg-opacity-90 \n flex items-center justify-center transition-all duration-200 \n shadow-sm hover:shadow focus:outline-none",
|
|
22
|
+
onClick: toggleFavorite,
|
|
23
|
+
onMouseEnter: () => setIsHovering(true),
|
|
24
|
+
onMouseLeave: () => setIsHovering(false),
|
|
25
|
+
children: isFavorite ? jsx(FaHeart, {
|
|
26
|
+
className: "text-2xl text-red-500"
|
|
27
|
+
}) : jsx(FaRegHeart, {
|
|
28
|
+
className: `text-2xl ${isHovering ? 'text-red-500' : 'text-gray-600'}`
|
|
29
|
+
})
|
|
30
|
+
})]
|
|
31
|
+
});
|
|
32
|
+
};export{CarCardImage};//# sourceMappingURL=CarCardImage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CarCardImage.js","sources":["../../../../src/components/UI/VehicleComponents/CarCardImage.tsx"],"sourcesContent":[null],"names":[],"mappings":"kMAUa,MAAA,YAAY,GAAgC,CAAC;UAChD;KACA;AAEN,EAAA,UAAoB,EAAA,eAAuB,GAAI;;QAE3C,CAAC,UAAgB,EAAA,aAAG,CAAA,GAAA,QAAA,CAAA,eAAA,CAAA;AACpB,EAAA,MAAA,CAAA,UAAA,EAAa,aAAa,CAAC,GAAA,QAAA,CAAA,KAAA,CAAA;AAC/B,EAAA,MAAE,cAAA,GAAA,CAAA,IAAA;IAEF,CAAO,CAAA;AAoBX,IAAE,CAAA,CAAA,eAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface CarCardInfoProps {
|
|
3
|
+
make?: string;
|
|
4
|
+
model?: string;
|
|
5
|
+
year?: number;
|
|
6
|
+
rating?: number;
|
|
7
|
+
trips?: number;
|
|
8
|
+
isAllStarHost?: boolean;
|
|
9
|
+
location?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const CarCardInfo: React.FC<CarCardInfoProps>;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=CarCardInfo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CarCardInfo.d.ts","sourceRoot":"","sources":["../../../../src/components/UI/VehicleComponents/CarCardInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,gBAAgB;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA+ClD,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import {jsxs,jsx,Fragment}from'react/jsx-runtime';import {FaStar}from'@react-icons/all-files/fa/FaStar.js';import {FaTrophy}from'@react-icons/all-files/fa/FaTrophy.js';import {FaMapMarkerAlt}from'@react-icons/all-files/fa/FaMapMarkerAlt.js';const CarCardInfo = ({
|
|
2
|
+
make,
|
|
3
|
+
model,
|
|
4
|
+
year,
|
|
5
|
+
rating,
|
|
6
|
+
trips,
|
|
7
|
+
isAllStarHost,
|
|
8
|
+
location
|
|
9
|
+
}) => {
|
|
10
|
+
return jsxs("div", {
|
|
11
|
+
className: "flex flex-col gap-2",
|
|
12
|
+
children: [jsxs("div", {
|
|
13
|
+
className: "flex flex-col gap-2",
|
|
14
|
+
children: [(make || model || year) && jsxs("h2", {
|
|
15
|
+
className: "text-2xl font-semibold text-gray-900",
|
|
16
|
+
children: [make, " ", model, " ", year]
|
|
17
|
+
}), (rating || trips || isAllStarHost) && jsxs("div", {
|
|
18
|
+
className: "flex items-center gap-2",
|
|
19
|
+
children: [rating && jsxs(Fragment, {
|
|
20
|
+
children: [jsx("span", {
|
|
21
|
+
className: "font-semibold text-gray-900",
|
|
22
|
+
children: rating.toFixed(2)
|
|
23
|
+
}), jsx(FaStar, {
|
|
24
|
+
className: "text-indigo-500 mb-0.5"
|
|
25
|
+
})]
|
|
26
|
+
}), trips && jsxs("span", {
|
|
27
|
+
className: "text-gray-600 text-sm",
|
|
28
|
+
children: ["(", trips, " trips)"]
|
|
29
|
+
}), isAllStarHost && jsxs("div", {
|
|
30
|
+
className: "flex items-center ml-2",
|
|
31
|
+
children: [jsx(FaTrophy, {
|
|
32
|
+
className: "text-indigo-500 mr-1"
|
|
33
|
+
}), jsx("span", {
|
|
34
|
+
className: "text-gray-800 text-sm font-medium",
|
|
35
|
+
children: "All-Star Host"
|
|
36
|
+
})]
|
|
37
|
+
})]
|
|
38
|
+
})]
|
|
39
|
+
}), location && jsx("div", {
|
|
40
|
+
className: "flex flex-col gap-2",
|
|
41
|
+
children: jsxs("span", {
|
|
42
|
+
className: "flex items-center gap-2",
|
|
43
|
+
children: [jsx(FaMapMarkerAlt, {
|
|
44
|
+
className: "text-gray-500"
|
|
45
|
+
}), location]
|
|
46
|
+
})
|
|
47
|
+
})]
|
|
48
|
+
});
|
|
49
|
+
};export{CarCardInfo};//# sourceMappingURL=CarCardInfo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CarCardInfo.js","sources":["../../../../src/components/UI/VehicleComponents/CarCardInfo.tsx"],"sourcesContent":[null],"names":[],"mappings":"uPAea,WAAW,GAA+B,CAAC;AASpD,EAAA,IAAA;AAsCJ,EAAE,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/UI/VehicleComponents/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { MutableRefObject } from 'react';
|
|
2
|
+
import { GraphQLError } from 'graphql';
|
|
3
|
+
interface IProperty {
|
|
4
|
+
id: string;
|
|
5
|
+
title: string;
|
|
6
|
+
types: string[];
|
|
7
|
+
name: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
introduction?: string;
|
|
10
|
+
address: any;
|
|
11
|
+
location: string;
|
|
12
|
+
images: any;
|
|
13
|
+
thumbnailUrl?: string;
|
|
14
|
+
thumbnailAlt?: string;
|
|
15
|
+
verificationDocuments?: any;
|
|
16
|
+
info?: any;
|
|
17
|
+
user: any;
|
|
18
|
+
status?: any;
|
|
19
|
+
errors?: any;
|
|
20
|
+
preferences?: any;
|
|
21
|
+
orgName?: string;
|
|
22
|
+
serviceConfiguration?: any;
|
|
23
|
+
totalReview?: number;
|
|
24
|
+
totalStar?: number;
|
|
25
|
+
reviews?: any;
|
|
26
|
+
comments?: any;
|
|
27
|
+
userLikes?: any;
|
|
28
|
+
calendarEvents?: any[];
|
|
29
|
+
isUserLike?: boolean;
|
|
30
|
+
formattedPrice?: number;
|
|
31
|
+
timeZone: string;
|
|
32
|
+
createdAt: any;
|
|
33
|
+
updatedAt?: any;
|
|
34
|
+
stats?: any;
|
|
35
|
+
guideBookId?: string;
|
|
36
|
+
guestSharing?: any;
|
|
37
|
+
}
|
|
38
|
+
interface IAirbnbProperty {
|
|
39
|
+
id: string;
|
|
40
|
+
title: string;
|
|
41
|
+
types: string[];
|
|
42
|
+
name: string;
|
|
43
|
+
description?: string;
|
|
44
|
+
introduction?: string;
|
|
45
|
+
address: any;
|
|
46
|
+
location: string;
|
|
47
|
+
images: any;
|
|
48
|
+
thumbnailUrl?: string;
|
|
49
|
+
thumbnailAlt?: string;
|
|
50
|
+
verificationDocuments?: any;
|
|
51
|
+
info?: any;
|
|
52
|
+
user: any;
|
|
53
|
+
status?: any;
|
|
54
|
+
errors?: any;
|
|
55
|
+
preferences?: any;
|
|
56
|
+
orgName?: string;
|
|
57
|
+
serviceConfiguration?: any;
|
|
58
|
+
totalReview?: number;
|
|
59
|
+
totalStar?: number;
|
|
60
|
+
reviews?: any;
|
|
61
|
+
comments?: any;
|
|
62
|
+
userLikes?: any;
|
|
63
|
+
calendarEvents?: any[];
|
|
64
|
+
isUserLike?: boolean;
|
|
65
|
+
formattedPrice?: number;
|
|
66
|
+
timeZone: string;
|
|
67
|
+
createdAt: any;
|
|
68
|
+
updatedAt?: any;
|
|
69
|
+
stats?: any;
|
|
70
|
+
guideBookId?: string;
|
|
71
|
+
guestSharing?: any;
|
|
72
|
+
}
|
|
73
|
+
interface IParamSearchResultContainer {
|
|
74
|
+
data: IProperty[] | IAirbnbProperty[];
|
|
75
|
+
error: GraphQLError | Error;
|
|
76
|
+
listInnerRef: MutableRefObject<HTMLDivElement>;
|
|
77
|
+
handleSetFocus?: (index: number) => void;
|
|
78
|
+
handleRemoveFocus?: (index: number) => void;
|
|
79
|
+
handleLike?: (index: number) => void;
|
|
80
|
+
extraIcons?: any[];
|
|
81
|
+
currentPage: number;
|
|
82
|
+
totalPages: number;
|
|
83
|
+
totalPropertiesCount: number;
|
|
84
|
+
onPageChange: (page: number) => void;
|
|
85
|
+
likeBtnLoading?: boolean;
|
|
86
|
+
propertyTypes?: any[];
|
|
87
|
+
}
|
|
88
|
+
export declare const ParamSearchResultContainer: (props: IParamSearchResultContainer) => import("react/jsx-runtime").JSX.Element;
|
|
89
|
+
export {};
|
|
90
|
+
//# sourceMappingURL=VehicleParamSearchResultContainer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VehicleParamSearchResultContainer.d.ts","sourceRoot":"","sources":["../../../src/components/UI/VehicleParamSearchResultContainer.tsx"],"names":[],"mappings":"AAAA,OAAc,EAA6C,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAI3F,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAOvC,UAAU,SAAS;IACf,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;IACj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;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,aAAa,CAAC,EAAE,GAAG,EAAE,CAAC;CACzB;AAID,eAAO,MAAM,0BAA0B,GAAI,OAAO,2BAA2B,4CA0E5E,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LocationIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/UI/icons/LocationIcon.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,GAAI;;;;;CAAkC,4CAY9D,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {jsx}from'react/jsx-runtime';const LocationIcon = ({
|
|
2
|
+
className = '',
|
|
3
|
+
w,
|
|
4
|
+
h,
|
|
5
|
+
...props
|
|
6
|
+
}) => jsx("svg", {
|
|
7
|
+
viewBox: "0 0 24 24",
|
|
8
|
+
className: `inline-block ${className}`,
|
|
9
|
+
style: {
|
|
10
|
+
width: w || '1em',
|
|
11
|
+
height: h || '1em'
|
|
12
|
+
},
|
|
13
|
+
...props,
|
|
14
|
+
children: jsx("path", {
|
|
15
|
+
d: "M12.0001 1.49866C7.85965 1.49866 4.50012 4.52256 4.50012 8.24865C4.50012 14.2487 12.0001 22.4986 12.0001 22.4986C12.0001 22.4986 19.5001 14.2487 19.5001 8.24865C19.5001 4.52256 16.1406 1.49866 12.0001 1.49866ZM12.0001 11.9987C11.4068 11.9987 10.8268 11.8227 10.3334 11.4931C9.84006 11.1634 9.45554 10.6949 9.22848 10.1467C9.00142 9.59853 8.94201 8.99533 9.05776 8.41338C9.17352 7.83144 9.45924 7.29689 9.8788 6.87733C10.2984 6.45778 10.8329 6.17205 11.4148 6.0563C11.9968 5.94054 12.6 5.99995 13.1482 6.22702C13.6963 6.45408 14.1649 6.8386 14.4945 7.33194C14.8242 7.82529 15.0001 8.40531 15.0001 8.99865C14.9992 9.79404 14.6829 10.5566 14.1205 11.119C13.5581 11.6814 12.7955 11.9978 12.0001 11.9987Z",
|
|
16
|
+
fill: "currentColor"
|
|
17
|
+
})
|
|
18
|
+
});export{LocationIcon};//# sourceMappingURL=LocationIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LocationIcon.js","sources":["../../../../src/components/UI/icons/LocationIcon.tsx"],"sourcesContent":[null],"names":[],"mappings":"oCAEO,MAAM,YAAY,GAAG,CAAC;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/UI/icons/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './CategoriesTypeList';
|
|
2
|
+
export * from './PropertyCardOnMap';
|
|
3
|
+
export * from './LazyLoadingGoogleMarker';
|
|
4
|
+
export * from './ParamSearchResultContainer';
|
|
5
|
+
export * from './CardList';
|
|
6
|
+
export * from './PropertyCard';
|
|
7
|
+
export * from './Pagination';
|
|
8
|
+
export * from './VehicleComponents';
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/UI/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC"}
|
|
@@ -3,6 +3,6 @@ export declare const action: ({ request }: {
|
|
|
3
3
|
}) => Promise<import("@remix-run/server-runtime").TypedResponse<any>>, loader: ({ request }: {
|
|
4
4
|
request: Request;
|
|
5
5
|
}) => Promise<import("@remix-run/server-runtime").TypedResponse<{
|
|
6
|
-
settings: import("@admin-layout/client").
|
|
6
|
+
settings: import("@admin-layout/client").PureSettings;
|
|
7
7
|
}>>;
|
|
8
8
|
//# sourceMappingURL=UpdateSettingsResource.server.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateSettingsResource.server.d.ts","sourceRoot":"","sources":["../../../src/components/UpdateSettingsResource/UpdateSettingsResource.server.ts"],"names":[],"mappings":"AACA,eAAO,MAAQ,MAAM;;
|
|
1
|
+
{"version":3,"file":"UpdateSettingsResource.server.d.ts","sourceRoot":"","sources":["../../../src/components/UpdateSettingsResource/UpdateSettingsResource.server.ts"],"names":[],"mappings":"AACA,eAAO,MAAQ,MAAM;;uEAAE,MAAM;;;;GAAgC,CAAC"}
|
|
@@ -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;AACtC,cAAc,iBAAiB,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';export{CarCardFooter}from'./UI/VehicleComponents/CarCardFooter.js';export{CarCardInfo}from'./UI/VehicleComponents/CarCardInfo.js';export{CarCardImage}from'./UI/VehicleComponents/CarCardImage.js';export{MainHeader,defaultRenderLogo,defaultRenderLogoAndTitle}from'./Layout/GlobalHeader/MainHeader.js';export{Logo}from'./Layout/GlobalHeader/Logo.js';export{RightMenu}from'./Layout/GlobalHeader/RightMenu.js';export{ThemeProviderTailwind,useTheme}from'./ThemeProvider/ThemeProvider.js';export{ThemeToggle}from'./ThemeProvider/ThemeToggle.js';//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,66 +1,24 @@
|
|
|
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
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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;
|
|
30
|
-
/**
|
|
31
|
-
* @name Name of the menu
|
|
32
|
-
*/
|
|
33
|
-
name?: string;
|
|
34
|
-
/**
|
|
35
|
-
* @name Used to calibrate the selected value, the default is `path`
|
|
36
|
-
*/
|
|
37
|
-
key?: string;
|
|
38
|
-
/**
|
|
39
|
-
* @name disable menu option
|
|
40
|
-
*/
|
|
41
|
-
disabled?: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* @name 路径
|
|
44
|
-
*/
|
|
45
|
-
path?: string;
|
|
46
|
-
/**
|
|
47
|
-
* @name Custom parent node
|
|
48
|
-
* @description When this node is selected, the node of ParentKeys will be selected.
|
|
49
|
-
*/
|
|
50
|
-
parentKeys?: string[];
|
|
51
|
-
/**
|
|
52
|
-
* @name Hide yourself and upgrade the child node to your own
|
|
53
|
-
*/
|
|
54
|
-
flatMenu?: boolean;
|
|
55
|
-
[key: string]: any;
|
|
56
|
-
}
|
|
57
|
-
export interface Route extends MenuDataItem {
|
|
58
|
-
routes?: Route[];
|
|
11
|
+
export type MergerSettingsType<T> = Partial<T> & {
|
|
12
|
+
primaryColor?: string;
|
|
13
|
+
colorWeak?: boolean;
|
|
14
|
+
};
|
|
15
|
+
export interface IRoute extends MenuDataItem {
|
|
16
|
+
routes?: IRoute[];
|
|
59
17
|
}
|
|
60
18
|
export type WithFalse<T> = T | false;
|
|
61
19
|
export interface RouterTypes<P> extends Omit<BasicRouteProps, 'location'> {
|
|
62
20
|
computedMatch?: any;
|
|
63
|
-
route?:
|
|
21
|
+
route?: IRoute;
|
|
64
22
|
location: BasicRouteProps['location'] | {
|
|
65
23
|
pathname?: string;
|
|
66
24
|
};
|
|
@@ -78,4 +36,128 @@ export interface SidebarMenuProps {
|
|
|
78
36
|
};
|
|
79
37
|
collapsed: boolean;
|
|
80
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> {
|
|
123
|
+
/**
|
|
124
|
+
* Text to display in the middle of the divider
|
|
125
|
+
*/
|
|
126
|
+
children?: React.ReactNode;
|
|
127
|
+
/**
|
|
128
|
+
* Direction of the divider
|
|
129
|
+
* @default "horizontal"
|
|
130
|
+
*/
|
|
131
|
+
orientation?: 'horizontal' | 'vertical';
|
|
132
|
+
/**
|
|
133
|
+
* Whether the divider text is less emphasized
|
|
134
|
+
* @default false
|
|
135
|
+
*/
|
|
136
|
+
plain?: boolean;
|
|
137
|
+
/**
|
|
138
|
+
* Custom className for the divider
|
|
139
|
+
*/
|
|
140
|
+
className?: string;
|
|
141
|
+
/**
|
|
142
|
+
* Custom style for the divider
|
|
143
|
+
*/
|
|
144
|
+
style?: React.CSSProperties;
|
|
145
|
+
/**
|
|
146
|
+
* Text alignment
|
|
147
|
+
* @default "center"
|
|
148
|
+
*/
|
|
149
|
+
align?: 'left' | 'right' | 'center';
|
|
150
|
+
}
|
|
151
|
+
export interface DynamicTypeIconsProps {
|
|
152
|
+
icon: any;
|
|
153
|
+
iconColor?: string;
|
|
154
|
+
w?: any;
|
|
155
|
+
h?: any;
|
|
156
|
+
iconStyle?: any;
|
|
157
|
+
}
|
|
158
|
+
export declare enum TravelType {
|
|
159
|
+
HOTELS = "HOTELS",
|
|
160
|
+
FLIGHTS = "FLIGHTS",
|
|
161
|
+
CARS = "CARS"
|
|
162
|
+
}
|
|
81
163
|
//# sourceMappingURL=typings.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typings.d.ts","sourceRoot":"","sources":["../../src/components/typings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAC;AAC7B,OAAO,EAAE,WAAW,IAAI,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAClE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"typings.d.ts","sourceRoot":"","sources":["../../src/components/typings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAC;AAC7B,OAAO,EAAE,WAAW,IAAI,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAClE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,WAAW,EAAgB,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AACtH,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAExC,MAAM,WAAW,SAAU,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IAC5E,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;CAC3C;AAED,MAAM,MAAM,kBAAkB,CAAC,CAAC,IAAI,OAAO,CAAC,CAAC,CAAC,GAAG;IAC7C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,MAAM,W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CACpB,CAAC;AAEF,MAAM,WAAW,YAAa,SAAQ,KAAK,CAAC,cAAc,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 @@
|
|
|
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"}
|
|
@@ -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,19 @@
|
|
|
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;
|
|
3
18
|
} & import("envalid").CleanedEnvAccessors>;
|
|
4
19
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"env-config.d.ts","sourceRoot":"","sources":["../../src/config/env-config.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;0CAoCjB,CAAC"}
|