@admin-layout/tailwind-travel-pro 12.2.1-alpha.5 → 12.2.3-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/CardList.js +22 -20
- package/lib/components/CardList.js.map +1 -1
- package/lib/components/CategoriesTypeList.d.ts +1 -2
- package/lib/components/CategoriesTypeList.d.ts.map +1 -1
- package/lib/components/CategoriesTypeList.js +51 -46
- package/lib/components/CategoriesTypeList.js.map +1 -1
- package/lib/components/LazyLoadingGoogleMarker.js +18 -15
- package/lib/components/LazyLoadingGoogleMarker.js.map +1 -1
- package/lib/components/Pagination.d.ts +1 -2
- package/lib/components/Pagination.d.ts.map +1 -1
- package/lib/components/Pagination.js +16 -15
- package/lib/components/Pagination.js.map +1 -1
- package/lib/components/ParamSearchResultContainer.d.ts +1 -1
- package/lib/components/ParamSearchResultContainer.d.ts.map +1 -1
- package/lib/components/ParamSearchResultContainer.js +26 -21
- package/lib/components/ParamSearchResultContainer.js.map +1 -1
- package/lib/components/PropertyCard.d.ts +1 -1
- package/lib/components/PropertyCard.d.ts.map +1 -1
- package/lib/components/PropertyCard.js +263 -198
- package/lib/components/PropertyCard.js.map +1 -1
- package/lib/components/PropertyCardOnMap.d.ts +1 -2
- package/lib/components/PropertyCardOnMap.d.ts.map +1 -1
- package/lib/components/PropertyCardOnMap.js +85 -67
- package/lib/components/PropertyCardOnMap.js.map +1 -1
- package/lib/components/VehicleCard/PricePopover.js +58 -39
- package/lib/components/VehicleCard/PricePopover.js.map +1 -1
- package/lib/components/VehicleCard/VehicleFeature.js +17 -13
- package/lib/components/VehicleCard/VehicleFeature.js.map +1 -1
- package/lib/components/VehicleCard.js +134 -106
- package/lib/components/VehicleCard.js.map +1 -1
- package/lib/components/VehicleCardList.js +19 -18
- package/lib/components/VehicleCardList.js.map +1 -1
- package/lib/components/VehicleParamSearchResultContainer.d.ts +2 -2
- package/lib/components/VehicleParamSearchResultContainer.d.ts.map +1 -1
- package/lib/components/icons/LocationIcon.d.ts +1 -2
- package/lib/components/icons/LocationIcon.d.ts.map +1 -1
- package/lib/components/icons/LocationIcon.js +8 -7
- package/lib/components/icons/LocationIcon.js.map +1 -1
- package/lib/index.js +1 -1
- package/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
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';import VehicleCard from'./VehicleCard.js';const VehicleCardList = props => {
|
|
2
2
|
const {
|
|
3
3
|
setBlur,
|
|
4
4
|
setFocus,
|
|
@@ -16,22 +16,23 @@ import React from'react';import {useTranslation}from'react-i18next';import {isEm
|
|
|
16
16
|
authenticated
|
|
17
17
|
} = isUserAuthenticated();
|
|
18
18
|
if (isEmpty(cars)) {
|
|
19
|
-
return
|
|
20
|
-
className: "text-base text-foreground"
|
|
21
|
-
|
|
19
|
+
return jsx("div", {
|
|
20
|
+
className: "text-base text-foreground",
|
|
21
|
+
children: t('property.not_found_any_room')
|
|
22
|
+
});
|
|
22
23
|
}
|
|
23
|
-
return
|
|
24
|
-
className: "flex flex-wrap gap-4 flex-col"
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
})
|
|
24
|
+
return jsx("div", {
|
|
25
|
+
className: "flex flex-wrap gap-4 flex-col",
|
|
26
|
+
children: cars.map((car, index) => jsx(VehicleCard, {
|
|
27
|
+
item: car,
|
|
28
|
+
isSaved: false,
|
|
29
|
+
setFocus: () => setFocus(index),
|
|
30
|
+
setBlur: setBlur,
|
|
31
|
+
handleLike: handleLike,
|
|
32
|
+
likeBtnLoading: likeBtnLoading,
|
|
33
|
+
categoryTypes: vehicleTypes,
|
|
34
|
+
authenticated: authenticated,
|
|
35
|
+
extraIcons: extraIcons
|
|
36
|
+
}, car.id))
|
|
37
|
+
});
|
|
37
38
|
};export{VehicleCardList};//# sourceMappingURL=VehicleCardList.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VehicleCardList.js","sources":["../../src/components/VehicleCardList.tsx"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"VehicleCardList.js","sources":["../../src/components/VehicleCardList.tsx"],"sourcesContent":[null],"names":[],"mappings":"6NAiBO,MAAM,eAAe,GAAmC,KAAC,IAAO;QACnE;AACA,IAAA;AACA,IAAA,QAAQ;AAER,IAAA,IAAI;cACA;IACJ,cAAC;AACD,IAAA,YACI;AAiBR,IAAE,UAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { MutableRefObject } from 'react';
|
|
2
2
|
import { GraphQLError } from 'graphql';
|
|
3
3
|
interface IProperty {
|
|
4
4
|
id: string;
|
|
@@ -85,6 +85,6 @@ interface IParamSearchResultContainer {
|
|
|
85
85
|
likeBtnLoading?: boolean;
|
|
86
86
|
propertyTypes?: any[];
|
|
87
87
|
}
|
|
88
|
-
export declare const ParamSearchResultContainer: (props: IParamSearchResultContainer) =>
|
|
88
|
+
export declare const ParamSearchResultContainer: (props: IParamSearchResultContainer) => import("react/jsx-runtime").JSX.Element;
|
|
89
89
|
export {};
|
|
90
90
|
//# sourceMappingURL=VehicleParamSearchResultContainer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VehicleParamSearchResultContainer.d.ts","sourceRoot":"","sources":["../../src/components/VehicleParamSearchResultContainer.tsx"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"VehicleParamSearchResultContainer.d.ts","sourceRoot":"","sources":["../../src/components/VehicleParamSearchResultContainer.tsx"],"names":[],"mappings":"AAAA,OAAc,EAA6C,gBAAgB,EAAE,MAAM,OAA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C,KAAK,EAAE,YAAY,GAAG,KAAK,CAAC;IAI5B,YAAY,EAAE,gBAAgB,CAAC,cAAc,CAAC,CAAC;IAI/C,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC;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"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
export declare const LocationIcon: ({ className, w, h, ...props }: {
|
|
3
2
|
[x: string]: any;
|
|
4
3
|
className?: string;
|
|
5
4
|
w: any;
|
|
6
5
|
h: any;
|
|
7
|
-
}) =>
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
//# sourceMappingURL=LocationIcon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LocationIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/LocationIcon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LocationIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/LocationIcon.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,GAAI;;;;;CAAkC,4CAY9D,CAAC"}
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import
|
|
1
|
+
import {jsx}from'react/jsx-runtime';const LocationIcon = ({
|
|
2
2
|
className = '',
|
|
3
3
|
w,
|
|
4
4
|
h,
|
|
5
5
|
...props
|
|
6
|
-
}) =>
|
|
6
|
+
}) => jsx("svg", {
|
|
7
7
|
viewBox: "0 0 24 24",
|
|
8
8
|
className: `inline-block ${className}`,
|
|
9
9
|
style: {
|
|
10
10
|
width: w || '1em',
|
|
11
11
|
height: h || '1em'
|
|
12
12
|
},
|
|
13
|
-
...props
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
})
|
|
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
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LocationIcon.js","sources":["../../../src/components/icons/LocationIcon.tsx"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LocationIcon.js","sources":["../../../src/components/icons/LocationIcon.tsx"],"sourcesContent":[null],"names":[],"mappings":"oCAEO,MAAM,YAAY,GAAG,CAAC;;;;;;;;;;;;;;;;;"}
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{CategoriesTypeList}from'./components/CategoriesTypeList.js';export{PropertyCardOnMap}from'./components/PropertyCardOnMap.js';export{LazyLoadingGoogleMarker}from'./components/LazyLoadingGoogleMarker.js';export{ParamSearchResultContainer}from'./components/ParamSearchResultContainer.js';export{CardList}from'./components/CardList.js';export{PropertyCard}from'./components/PropertyCard.js';export{Pagination}from'./components/Pagination.js';import'react';import'@react-icons/all-files/ai/AiFillHeart.js';import'@react-icons/all-files/ai/AiFillStar.js';import'@react-icons/all-files/ai/AiOutlineHeart.js';import'@react-icons/all-files/fa/FaAward.js';import'@react-icons/all-files/fa/FaShieldAlt.js';import'@react-icons/all-files/fi/FiMapPin.js';import'@admin-layout/tailwind-ui/
|
|
1
|
+
export{CategoriesTypeList}from'./components/CategoriesTypeList.js';export{PropertyCardOnMap}from'./components/PropertyCardOnMap.js';export{LazyLoadingGoogleMarker}from'./components/LazyLoadingGoogleMarker.js';export{ParamSearchResultContainer}from'./components/ParamSearchResultContainer.js';export{CardList}from'./components/CardList.js';export{PropertyCard}from'./components/PropertyCard.js';export{Pagination}from'./components/Pagination.js';import'react/jsx-runtime';import'@react-icons/all-files/ai/AiFillHeart.js';import'@react-icons/all-files/ai/AiFillStar.js';import'@react-icons/all-files/ai/AiOutlineHeart.js';import'@react-icons/all-files/fa/FaAward.js';import'@react-icons/all-files/fa/FaShieldAlt.js';import'@react-icons/all-files/fi/FiMapPin.js';import'@admin-layout/tailwind-ui/shardui/button.js';import'@admin-layout/tailwind-design-pro/lib/helpers/DynamicIcon.js';import'react';import'@react-icons/all-files/bi/BiTag.js';export{VehicleCardList}from'./components/VehicleCardList.js';export{middleware as airbnbDatasourcesMiddleware}from'./middlewares/airbnbDatasourcesMiddleware.js';export{middleware as bookingCarRentalDatasourcesMiddleware}from'./middlewares/bookingCarRentalMiddleware.js';export{middleware as bookingDatasourcesMiddleware}from'./middlewares/bookingDatasourcesMiddleware.js';export{middleware as datasourcesMiddleware}from'./middlewares/datasourcesMiddleware.js';export{middleware as pricelineDatasourcesMiddleware}from'./middlewares/pricelineDatasourcesMiddleware.js';export{useGetCurrentLongLat}from'./hooks/use-get-current-lat-long.js';//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@admin-layout/tailwind-travel-pro",
|
|
3
|
-
"version": "12.2.
|
|
3
|
+
"version": "12.2.3-alpha.1",
|
|
4
4
|
"description": "Sample core for higher packages to depend on",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": "CDMBase LLC",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"watch": "yarn build:lib:watch"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@admin-layout/tailwind-design-pro": "12.2.
|
|
25
|
-
"@admin-layout/tailwind-ui": "12.2.
|
|
24
|
+
"@admin-layout/tailwind-design-pro": "12.2.3-alpha.1",
|
|
25
|
+
"@admin-layout/tailwind-ui": "12.2.3-alpha.1",
|
|
26
26
|
"@cdmbase/react-splide": "^0.7.12",
|
|
27
27
|
"@react-google-maps/api": "^2.20.7",
|
|
28
28
|
"@vis.gl/react-google-maps": "^1.5.4",
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"typescript": {
|
|
46
46
|
"definition": "lib/index.d.ts"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "57838d4149cb80f2ebf4ef03861b45dfef4b4d90"
|
|
49
49
|
}
|