Library containing components and helper functions for pages project
Run the following command:
npm install pages-sdk
For development run npm i --legacy-peer-deps
as one of the dependencies have a compatibility issue.
Map
Searchbar
-
convertDistance
- fromgeolib
-
getDistance
- fromgeolib
filterLocations
getBusinessHours
formatPhoneNumber
getLocationSlug
getOperationHours
getTimeOnClosed
getTimeSlotString
getTimeString
sortHours
sortLocationsFromNearestToFarthest
validateSpecialDate