@admin-layout/tailwind-design-pro 10.1.1-alpha.0 → 10.1.1-alpha.3
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/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/ParamSearchResultContainer.d.ts +47 -38
- package/lib/components/UI/ParamSearchResultContainer.d.ts.map +1 -1
- package/lib/components/UI/ParamSearchResultContainer.js +52 -12
- package/lib/components/UI/ParamSearchResultContainer.js.map +1 -1
- package/lib/components/UI/PropertyCard.d.ts +10 -10
- package/lib/components/UI/PropertyCard.d.ts.map +1 -1
- package/lib/components/UI/PropertyCard.js +33 -33
- package/lib/components/UI/PropertyCard.js.map +1 -1
- package/lib/components/UI/VehicleCard.d.ts +15 -0
- package/lib/components/UI/VehicleCard.d.ts.map +1 -0
- package/lib/components/UI/VehicleCard.js +40 -0
- package/lib/components/UI/VehicleCard.js.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/VehicleCardList.js +38 -0
- package/lib/components/UI/VehicleCardList.js.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/{PropertyCardList.d.ts → VehicleParamSearchResultContainer.d.ts} +18 -21
- package/lib/components/UI/VehicleParamSearchResultContainer.d.ts.map +1 -0
- package/lib/components/UI/index.d.ts +4 -1
- package/lib/components/UI/index.d.ts.map +1 -1
- package/lib/components/index.js +1 -1
- package/lib/components/typings.d.ts +5 -0
- 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/env-config.d.ts +12 -0
- package/lib/config/env-config.d.ts.map +1 -1
- package/lib/config/env-config.js +48 -1
- package/lib/config/env-config.js.map +1 -1
- 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/utils/formateCarData.d.ts +2 -0
- package/lib/utils/formateCarData.d.ts.map +1 -0
- package/package.json +2 -2
- package/lib/components/UI/PropertyCardList.d.ts.map +0 -1
- package/lib/components/UI/PropertyCardList.js +0 -41
- package/lib/components/UI/PropertyCardList.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Propert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AE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;CACtB;AAED,KAAK,qBAAqB,GAAG;IACzB,KAAK,CAAC,EAAE,SAAS,EAAE,GAAG,eAAe,EAAE,CAAC;IACxC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,cAAc,EAAE,OAAO,CAAC;IACxB,aAAa,EAAE,aAAa,EAAE,CAAC;IAC/B,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA6B5D,CAAC"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import {jsx}from'react/jsx-runtime';import {useTranslation}from'react-i18next';import {isEmpty}from'lodash-es';import {PropertyCard}from'./PropertyCard.js';import {isUserAuthenticated}from'@adminide-stack/user-auth0-client';const PropertyCardList = props => {
|
|
2
|
-
// rooms = defaultRooms;
|
|
3
|
-
const {
|
|
4
|
-
setBlur,
|
|
5
|
-
setFocus,
|
|
6
|
-
rooms,
|
|
7
|
-
handleLike,
|
|
8
|
-
likeBtnLoading,
|
|
9
|
-
propertyTypes,
|
|
10
|
-
extraIcons,
|
|
11
|
-
className = ''
|
|
12
|
-
} = props;
|
|
13
|
-
const {
|
|
14
|
-
t
|
|
15
|
-
} = useTranslation();
|
|
16
|
-
const {
|
|
17
|
-
authenticated
|
|
18
|
-
} = isUserAuthenticated();
|
|
19
|
-
if (isEmpty(rooms)) {
|
|
20
|
-
return jsx("div", {
|
|
21
|
-
className: "text-base",
|
|
22
|
-
children: t('property.not_found_any_room')
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
return jsx("div", {
|
|
26
|
-
className: `flex flex-wrap justify-evenly ${className}`,
|
|
27
|
-
children: rooms?.map((r, index) => {
|
|
28
|
-
return jsx(PropertyCard, {
|
|
29
|
-
room: r,
|
|
30
|
-
isSaved: false,
|
|
31
|
-
setFocus: () => setFocus(index),
|
|
32
|
-
setBlur: setBlur,
|
|
33
|
-
handleLike: handleLike,
|
|
34
|
-
likeBtnLoading: likeBtnLoading,
|
|
35
|
-
propertyTypes: propertyTypes,
|
|
36
|
-
authenticated: authenticated,
|
|
37
|
-
extraIcons: extraIcons
|
|
38
|
-
}, index);
|
|
39
|
-
})
|
|
40
|
-
});
|
|
41
|
-
};export{PropertyCardList};//# sourceMappingURL=PropertyCardList.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PropertyCardList.js","sources":["../../../src/components/UI/PropertyCardList.tsx"],"sourcesContent":[null],"names":[],"mappings":"gOAiGa,MAAA,gBAAgB,GAAoC,KAAC,IAAS;;QAEjE;AACN,IAAA;AACA,IAAA,QAAQ;AAER,IAAA,KAAW;cACA;IACX,cAAC;AACD,IAAA,aACS;cAEU;aAeT,GACR;AACN,GAAE,GAAA,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|