@abcagency/hc-ui-components 1.3.57 → 1.3.59
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/dist/apis/hcApi.js +85 -85
- package/dist/apis/hcApi.js.map +1 -1
- package/dist/clientToken.js.map +1 -1
- package/dist/components/containers/accordions/filter-container.js.map +1 -1
- package/dist/components/containers/accordions/filter-item-container.js +4 -2
- package/dist/components/containers/accordions/filter-item-container.js.map +1 -1
- package/dist/components/containers/accordions/map-accordion-item-container.js.map +1 -1
- package/dist/components/containers/filter/filter-item-container.js +4 -2
- package/dist/components/containers/filter/filter-item-container.js.map +1 -1
- package/dist/components/containers/jobListing/listing-details-container.js.map +1 -1
- package/dist/components/containers/list/item-list-container.js +21 -21
- package/dist/components/containers/list/list-item/list-item-container.js.map +1 -1
- package/dist/components/containers/maps/map-container.js.map +1 -1
- package/dist/components/modules/accordions/MapAccordionItem.js.map +1 -1
- package/dist/components/modules/accordions/default.js.map +1 -1
- package/dist/components/modules/buttons/commute-pill.js.map +1 -1
- package/dist/components/modules/buttons/default.js.map +1 -1
- package/dist/components/modules/buttons/items-pill.js.map +1 -1
- package/dist/components/modules/buttons/pill-wrapper.js.map +1 -1
- package/dist/components/modules/buttons/show-all-button.js.map +1 -1
- package/dist/components/modules/cards/default.js.map +1 -1
- package/dist/components/modules/cards/filter.js.map +1 -1
- package/dist/components/modules/filter/item.js.map +1 -1
- package/dist/components/modules/filter/sort.js.map +1 -1
- package/dist/components/modules/grid.js.map +1 -1
- package/dist/components/modules/icon.js.map +1 -1
- package/dist/components/modules/list/header.js.map +1 -1
- package/dist/components/modules/list/item-list.js +40 -40
- package/dist/components/modules/maps/info-window-card.js.map +1 -1
- package/dist/components/modules/maps/map.js.map +1 -1
- package/dist/components/modules/maps/place-marker.js.map +1 -1
- package/dist/components/modules/maps/tabs.js.map +1 -1
- package/dist/constants/placeTypes.js.map +1 -1
- package/dist/contexts/mapContext.js +83 -83
- package/dist/contexts/mapListContext.js +190 -190
- package/dist/contexts/trackEventContext.js.map +1 -1
- package/dist/hooks/useList.js.map +1 -1
- package/dist/services/configService.js +9 -9
- package/dist/services/googlePlacesNearbyService.js +32 -32
- package/dist/services/googlePlacesNearbyService.js.map +1 -1
- package/dist/services/listingAggregatorService.js +34 -34
- package/dist/services/listingAggregatorService.js.map +1 -1
- package/dist/services/listingEntityService.js +9 -9
- package/dist/services/listingService.js +24 -24
- package/dist/services/recruiterService.js +10 -10
- package/dist/types/apis/hcApi.d.ts +5 -5
- package/dist/types/clientToken.d.ts +2 -2
- package/dist/types/components/containers/accordions/map-accordion-item-container.d.ts +12 -12
- package/dist/types/components/containers/jobListing/listing-details-container.d.ts +6 -6
- package/dist/types/components/containers/list/item-list-container.d.ts +9 -9
- package/dist/types/components/containers/list/list-item/list-item-container.d.ts +14 -14
- package/dist/types/components/modules/accordions/MapAccordionItem.d.ts +10 -10
- package/dist/types/components/modules/accordions/default.d.ts +19 -19
- package/dist/types/components/modules/buttons/button-group-apply.d.ts +24 -24
- package/dist/types/components/modules/buttons/commute-pill.d.ts +5 -5
- package/dist/types/components/modules/buttons/default.d.ts +48 -48
- package/dist/types/components/modules/buttons/pill-wrapper.d.ts +3 -3
- package/dist/types/components/modules/dialogs/apply-dialog.d.ts +8 -8
- package/dist/types/components/modules/filter/sort.d.ts +8 -8
- package/dist/types/components/modules/grid.d.ts +8 -8
- package/dist/types/components/modules/icon.d.ts +10 -10
- package/dist/types/components/modules/jobListing/listing-details.d.ts +18 -18
- package/dist/types/components/modules/list/field-mapper.d.ts +10 -10
- package/dist/types/components/modules/list/header-item.d.ts +11 -11
- package/dist/types/components/modules/list/header.d.ts +12 -12
- package/dist/types/components/modules/list/item-expand-card/index.d.ts +7 -7
- package/dist/types/components/modules/list/item-expand-card/recruiter-contact-nav.d.ts +17 -17
- package/dist/types/components/modules/list/item-expand-card/recruiter-details.d.ts +21 -21
- package/dist/types/components/modules/list/item-expand-card/recruiter-headshot.d.ts +8 -8
- package/dist/types/components/modules/list/item-list.d.ts +20 -20
- package/dist/types/components/modules/list/list-item/list-item.d.ts +3 -3
- package/dist/types/constants/eventTypes.d.ts +14 -14
- package/dist/types/contexts/mapContext.d.ts +29 -29
- package/dist/types/contexts/mapListContext.d.ts +61 -61
- package/dist/types/contexts/trackEventContext.d.ts +6 -6
- package/dist/types/enums/SectionType.d.ts +9 -9
- package/dist/types/hooks/useList.d.ts +13 -13
- package/dist/types/services/configService.d.ts +6 -6
- package/dist/types/services/googlePlacesNearbyService.d.ts +5 -5
- package/dist/types/services/listingAggregatorService.d.ts +12 -12
- package/dist/types/services/listingEntityService.d.ts +6 -6
- package/dist/types/services/listingService.d.ts +9 -9
- package/dist/types/services/recruiterService.d.ts +6 -6
- package/dist/types/types/Address.d.ts +7 -7
- package/dist/types/types/ContentSection.d.ts +8 -8
- package/dist/types/types/GetListingParams.d.ts +8 -8
- package/dist/types/types/LatLng.d.ts +4 -4
- package/dist/types/types/ListingEntity.d.ts +10 -10
- package/dist/types/types/ListingFields.d.ts +25 -25
- package/dist/types/types/Listings.d.ts +31 -31
- package/dist/types/types/Recruiter.d.ts +9 -9
- package/dist/types/types/SimilarListing.d.ts +24 -24
- package/dist/types/types/config/Colors.d.ts +8 -8
- package/dist/types/types/config/MapConfig.d.ts +30 -30
- package/dist/types/types/config/PointsOfInterestConfig.d.ts +13 -13
- package/dist/types/types/config/SearchConfig.d.ts +4 -4
- package/dist/types/util/filterUtil.d.ts +28 -28
- package/dist/types/util/loading.d.ts +3 -3
- package/dist/types/util/localStorageUtil.d.ts +3 -3
- package/dist/types/util/mapUtil.d.ts +16 -16
- package/dist/types/util/sortUtil.d.ts +1 -1
- package/dist/types/util/stringUtils.d.ts +1 -1
- package/dist/types/util/urlFilterUtil.d.ts +8 -8
- package/dist/util/filterUtil.js +2 -2
- package/dist/util/filterUtil.js.map +1 -1
- package/dist/util/loading.js.map +1 -1
- package/dist/util/localStorageUtil.js +37 -37
- package/dist/util/localStorageUtil.js.map +1 -1
- package/dist/util/sortUtil.js.map +1 -1
- package/dist/util/stringUtils.js.map +1 -1
- package/dist/util/urlFilterUtil.js.map +1 -1
- package/package.json +1 -1
- package/src/apis/hcApi.ts +109 -109
- package/src/clientToken.js +9 -9
- package/src/components/containers/accordions/filter-container.js +48 -48
- package/src/components/containers/accordions/filter-item-container.js +2 -0
- package/src/components/containers/accordions/map-accordion-item-container.js +70 -70
- package/src/components/containers/filter/filter-item-container.js +2 -1
- package/src/components/containers/jobListing/listing-details-container.js +40 -40
- package/src/components/containers/list/list-item/list-item-container.js +43 -43
- package/src/components/containers/maps/map-container.js +249 -249
- package/src/components/modules/accordions/MapAccordionItem.js +30 -30
- package/src/components/modules/accordions/default.js +171 -171
- package/src/components/modules/buttons/commute-pill.js +22 -22
- package/src/components/modules/buttons/default.js +194 -194
- package/src/components/modules/buttons/items-pill.js +35 -35
- package/src/components/modules/buttons/pill-wrapper.js +27 -27
- package/src/components/modules/buttons/show-all-button.js +19 -19
- package/src/components/modules/cards/default.js +167 -167
- package/src/components/modules/cards/filter.js +56 -56
- package/src/components/modules/filter/item.js +69 -69
- package/src/components/modules/filter/sort.js +83 -83
- package/src/components/modules/grid.js +54 -54
- package/src/components/modules/icon.js +33 -33
- package/src/components/modules/list/header.js +51 -51
- package/src/components/modules/list/item-expand-card/recruiter-contact-nav.js +50 -50
- package/src/components/modules/list/item-expand-card/recruiter-details.js +68 -68
- package/src/components/modules/list/item-expand-card/recruiter-headshot.js +22 -22
- package/src/components/modules/maps/info-window-card.js +17 -17
- package/src/components/modules/maps/map.js +64 -64
- package/src/components/modules/maps/place-marker.js +41 -41
- package/src/components/modules/maps/tabs.js +81 -81
- package/src/constants/placeTypes.js +8 -8
- package/src/contexts/trackEventContext.js +14 -14
- package/src/enums/SectionType.ts +9 -9
- package/src/hooks/useList.js +89 -89
- package/src/index.js +3 -3
- package/src/services/googlePlacesNearbyService.ts +42 -42
- package/src/services/listingAggregatorService.ts +76 -76
- package/src/util/arrayUtil.js +3 -3
- package/src/util/fieldMapper.js +22 -22
- package/src/util/filterUtil.js +311 -310
- package/src/util/loading.js +17 -17
- package/src/util/localStorageUtil.ts +34 -34
- package/src/util/sortUtil.js +32 -32
- package/src/util/stringUtils.js +6 -6
- package/src/util/urlFilterUtil.js +85 -85
- package/dist/types/contexts/themeContext.d.ts +0 -11
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
const searchNearbyPlaces = async (typesArray, location, radius) => {
|
|
2
|
-
const url = 'https://places.googleapis.com/v1/places:searchNearby';
|
|
3
|
-
const headers = {
|
|
4
|
-
'Content-Type': 'application/json',
|
|
5
|
-
'X-Goog-Api-Key': "AIzaSyAXPlfaoMCrmjNV1u-vFYdLBi7GkGeh4S4",
|
|
6
|
-
'X-Goog-FieldMask': 'places.location,places.displayName,places.types'
|
|
7
|
-
};
|
|
8
|
-
const data = {
|
|
9
|
-
includedTypes: typesArray,
|
|
10
|
-
maxResultCount: 20,
|
|
11
|
-
locationRestriction: {
|
|
12
|
-
circle: {
|
|
13
|
-
center: location,
|
|
14
|
-
radius: radius
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
try {
|
|
19
|
-
const response = await fetch(url, {
|
|
20
|
-
method: 'POST',
|
|
21
|
-
headers: headers,
|
|
22
|
-
body: JSON.stringify(data)
|
|
23
|
-
});
|
|
24
|
-
if (!response.ok) {
|
|
25
|
-
throw new Error(`HTTP error! status: ${response.status}`);
|
|
26
|
-
}
|
|
27
|
-
return await response.json();
|
|
28
|
-
}
|
|
29
|
-
catch (error) {
|
|
30
|
-
console.error('Error making the Nearby Search request:', error);
|
|
31
|
-
throw error;
|
|
32
|
-
}
|
|
1
|
+
const searchNearbyPlaces = async (typesArray, location, radius) => {
|
|
2
|
+
const url = 'https://places.googleapis.com/v1/places:searchNearby';
|
|
3
|
+
const headers = {
|
|
4
|
+
'Content-Type': 'application/json',
|
|
5
|
+
'X-Goog-Api-Key': "AIzaSyAXPlfaoMCrmjNV1u-vFYdLBi7GkGeh4S4",
|
|
6
|
+
'X-Goog-FieldMask': 'places.location,places.displayName,places.types'
|
|
7
|
+
};
|
|
8
|
+
const data = {
|
|
9
|
+
includedTypes: typesArray,
|
|
10
|
+
maxResultCount: 20,
|
|
11
|
+
locationRestriction: {
|
|
12
|
+
circle: {
|
|
13
|
+
center: location,
|
|
14
|
+
radius: radius
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
try {
|
|
19
|
+
const response = await fetch(url, {
|
|
20
|
+
method: 'POST',
|
|
21
|
+
headers: headers,
|
|
22
|
+
body: JSON.stringify(data)
|
|
23
|
+
});
|
|
24
|
+
if (!response.ok) {
|
|
25
|
+
throw new Error(`HTTP error! status: ${response.status}`);
|
|
26
|
+
}
|
|
27
|
+
return await response.json();
|
|
28
|
+
}
|
|
29
|
+
catch (error) {
|
|
30
|
+
console.error('Error making the Nearby Search request:', error);
|
|
31
|
+
throw error;
|
|
32
|
+
}
|
|
33
33
|
};
|
|
34
34
|
|
|
35
35
|
export { searchNearbyPlaces };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"googlePlacesNearbyService.js","sources":["../../src/services/googlePlacesNearbyService.ts"],"sourcesContent":["export interface Location {\
|
|
1
|
+
{"version":3,"file":"googlePlacesNearbyService.js","sources":["../../src/services/googlePlacesNearbyService.ts"],"sourcesContent":["export interface Location {\n\tlatitude: number;\n\tlongitude: number;\n}\n\nexport const searchNearbyPlaces = async (\n\ttypesArray: string[],\n\tlocation: Location,\n\tradius: number\n): Promise<any> => {\n\tconst url = 'https://places.googleapis.com/v1/places:searchNearby';\n\tconst headers = {\n\t\t'Content-Type': 'application/json',\n\t\t'X-Goog-Api-Key': process.env.GOOGLE_MAPS_API_KEY as string,\n\t\t'X-Goog-FieldMask': 'places.location,places.displayName,places.types'\n\t};\n\tconst data = {\n\t\tincludedTypes: typesArray,\n\t\tmaxResultCount: 20,\n\t\tlocationRestriction: {\n\t\t\tcircle: {\n\t\t\t\tcenter: location,\n\t\t\t\tradius: radius\n\t\t\t}\n\t\t}\n\t};\n\n\ttry {\n\t\tconst response = await fetch(url, {\n\t\t\tmethod: 'POST',\n\t\t\theaders: headers,\n\t\t\tbody: JSON.stringify(data)\n\t\t});\n\t\tif (!response.ok) {\n\t\t\tthrow new Error(`HTTP error! status: ${response.status}`);\n\t\t}\n\t\treturn await response.json();\n\t} catch (error) {\n\t\tconsole.error('Error making the Nearby Search request:', error);\n\t\tthrow error;\n\t}\n};\n"],"names":[],"mappings":"AAKO,MAAM,kBAAkB,GAAG,OACjC,UAAoB,EACpB,QAAkB,EAClB,MAAc,KACG;IACjB,MAAM,GAAG,GAAG,sDAAsD,CAAC;AACnE,IAAA,MAAM,OAAO,GAAG;AACf,QAAA,cAAc,EAAE,kBAAkB;AAClC,QAAA,gBAAgB,EAAE,yCAAyC;AAC3D,QAAA,kBAAkB,EAAE,iDAAiD;KACrE,CAAC;AACF,IAAA,MAAM,IAAI,GAAG;AACZ,QAAA,aAAa,EAAE,UAAU;AACzB,QAAA,cAAc,EAAE,EAAE;AAClB,QAAA,mBAAmB,EAAE;AACpB,YAAA,MAAM,EAAE;AACP,gBAAA,MAAM,EAAE,QAAQ;AAChB,gBAAA,MAAM,EAAE,MAAM;AACd,aAAA;AACD,SAAA;KACD,CAAC;IAEF,IAAI;AACH,QAAA,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,GAAG,EAAE;AACjC,YAAA,MAAM,EAAE,MAAM;AACd,YAAA,OAAO,EAAE,OAAO;AAChB,YAAA,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;AAC1B,SAAA,CAAC,CAAC;AACH,QAAA,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE;YACjB,MAAM,IAAI,KAAK,CAAC,CAAA,oBAAA,EAAuB,QAAQ,CAAC,MAAM,CAAE,CAAA,CAAC,CAAC;AAC1D,SAAA;AACD,QAAA,OAAO,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;AAC7B,KAAA;AAAC,IAAA,OAAO,KAAK,EAAE;AACf,QAAA,OAAO,CAAC,KAAK,CAAC,yCAAyC,EAAE,KAAK,CAAC,CAAC;AAChE,QAAA,MAAM,KAAK,CAAC;AACZ,KAAA;AACF;;;;"}
|
|
@@ -3,40 +3,40 @@ import { getRecruiters } from './recruiterService.js';
|
|
|
3
3
|
import { getListingEntities } from './listingEntityService.js';
|
|
4
4
|
import { getDistinctItemsByProximity } from '../util/mapUtil.js';
|
|
5
5
|
|
|
6
|
-
const fetchListings = async (query, siteConfig, commuteLocation = null) => {
|
|
7
|
-
try {
|
|
8
|
-
const listingsResult = await getListings();
|
|
9
|
-
const recruiterIds = [
|
|
10
|
-
...new Set(listingsResult.map(listing => listing.recruiterId))
|
|
11
|
-
];
|
|
12
|
-
const fetchedRecruiters = await getRecruiters(recruiterIds);
|
|
13
|
-
const distinctEntityIds = [
|
|
14
|
-
...new Set(listingsResult.map(listing => listing.entityId))
|
|
15
|
-
];
|
|
16
|
-
const fetchedEntities = !commuteLocation
|
|
17
|
-
? await getListingEntities(distinctEntityIds)
|
|
18
|
-
: await getListingEntities(distinctEntityIds, `${commuteLocation.lat}, ${commuteLocation.lng}`);
|
|
19
|
-
for (let i = 0; i < listingsResult.length; i++) {
|
|
20
|
-
const listing = listingsResult[i];
|
|
21
|
-
if (listing.entityId && listing.entityId !== -1 && listing.fields) {
|
|
22
|
-
const entity = fetchedEntities[listing.entityId];
|
|
23
|
-
if (entity) {
|
|
24
|
-
listing.fields.travelTime = entity.travelTime;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
const distinctItems = getDistinctItemsByProximity(listingsResult, fetchedEntities);
|
|
29
|
-
return {
|
|
30
|
-
listingsResult,
|
|
31
|
-
fetchedRecruiters,
|
|
32
|
-
fetchedEntities,
|
|
33
|
-
distinctItems
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
catch (error) {
|
|
37
|
-
console.error("Error fetching listings:", error);
|
|
38
|
-
throw error;
|
|
39
|
-
}
|
|
6
|
+
const fetchListings = async (query, siteConfig, commuteLocation = null) => {
|
|
7
|
+
try {
|
|
8
|
+
const listingsResult = await getListings();
|
|
9
|
+
const recruiterIds = [
|
|
10
|
+
...new Set(listingsResult.map(listing => listing.recruiterId))
|
|
11
|
+
];
|
|
12
|
+
const fetchedRecruiters = await getRecruiters(recruiterIds);
|
|
13
|
+
const distinctEntityIds = [
|
|
14
|
+
...new Set(listingsResult.map(listing => listing.entityId))
|
|
15
|
+
];
|
|
16
|
+
const fetchedEntities = !commuteLocation
|
|
17
|
+
? await getListingEntities(distinctEntityIds)
|
|
18
|
+
: await getListingEntities(distinctEntityIds, `${commuteLocation.lat}, ${commuteLocation.lng}`);
|
|
19
|
+
for (let i = 0; i < listingsResult.length; i++) {
|
|
20
|
+
const listing = listingsResult[i];
|
|
21
|
+
if (listing.entityId && listing.entityId !== -1 && listing.fields) {
|
|
22
|
+
const entity = fetchedEntities[listing.entityId];
|
|
23
|
+
if (entity) {
|
|
24
|
+
listing.fields.travelTime = entity.travelTime;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
const distinctItems = getDistinctItemsByProximity(listingsResult, fetchedEntities);
|
|
29
|
+
return {
|
|
30
|
+
listingsResult,
|
|
31
|
+
fetchedRecruiters,
|
|
32
|
+
fetchedEntities,
|
|
33
|
+
distinctItems
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
catch (error) {
|
|
37
|
+
console.error("Error fetching listings:", error);
|
|
38
|
+
throw error;
|
|
39
|
+
}
|
|
40
40
|
};
|
|
41
41
|
|
|
42
42
|
export { fetchListings as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listingAggregatorService.js","sources":["../../src/services/listingAggregatorService.ts"],"sourcesContent":["import { getListings } from '~/services/listingService';\
|
|
1
|
+
{"version":3,"file":"listingAggregatorService.js","sources":["../../src/services/listingAggregatorService.ts"],"sourcesContent":["import { getListings } from '~/services/listingService';\nimport { getRecruiters } from '~/services/recruiterService';\nimport { getListingEntities } from '~/services/listingEntityService';\n\nimport { getDistinctItemsByProximity } from '~/util/mapUtil';\nimport { Listing } from '~/types/Listings';\nimport { Recruiter } from '~/types/Recruiter';\nimport { ListingEntity } from '~/types/ListingEntity';\nimport { MapConfig } from '~/types/config/MapConfig';\n//import { ICommuteLocation } from '~/interfaces/ICommute';\n\ninterface SiteConfig {\n companyId: number;\n}\n\ninterface FetchListingsResult {\n listingsResult: Listing[];\n fetchedRecruiters: Recruiter[];\n fetchedEntities: Record<number, ListingEntity>;\n distinctItems: any; // Update this type based on the return type of getDistinctItemsByProximity\n}\n\nconst fetchListings = async (\n\tquery: string,\n\tsiteConfig: MapConfig,\n\tcommuteLocation: any | null = null\n): Promise<FetchListingsResult> => {\n\ttry {\n\t\tconst listingsResult = await getListings(\n\n\t\t);\n\n\t\tconst recruiterIds: number[] = [\n\t\t\t...new Set(listingsResult.map(listing => listing.recruiterId))\n\t\t] as number[];\n\n\t\tconst fetchedRecruiters = await getRecruiters(recruiterIds);\n\n\t\tconst distinctEntityIds: number[] = [\n\t\t\t...new Set(listingsResult.map(listing => listing.entityId))\n\t\t] as number[];\n\n\t\tconst fetchedEntities = !commuteLocation\n\t\t\t? await getListingEntities(distinctEntityIds)\n\t\t\t: await getListingEntities(\n\t\t\t\tdistinctEntityIds,\n\t\t\t\t`${commuteLocation.lat}, ${commuteLocation.lng}`\n\t\t\t);\n\t\tfor (let i = 0; i < listingsResult.length; i++) {\n\t\t\tconst listing = listingsResult[i];\n\t\t\tif (listing.entityId && listing.entityId !== -1 && listing.fields) {\n\t\t\t\tconst entity = fetchedEntities[listing.entityId];\n\t\t\t\tif (entity) {\n\t\t\t\t\tlisting.fields.travelTime = entity.travelTime;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tconst distinctItems = getDistinctItemsByProximity(\n\t\t\tlistingsResult,\n\t\t\tfetchedEntities\n\t\t);\n\n\t\treturn {\n\t\t\tlistingsResult,\n\t\t\tfetchedRecruiters,\n\t\t\tfetchedEntities,\n\t\t\tdistinctItems\n\t\t};\n\t} catch (error) {\n\t\tconsole.error(\"Error fetching listings:\", error);\n\t\tthrow error;\n\t}\n};\n\nexport default fetchListings;\n"],"names":[],"mappings":";;;;;AAsBM,MAAA,aAAa,GAAG,OACrB,KAAa,EACb,UAAqB,EACrB,eAAA,GAA8B,IAAI,KACD;IACjC,IAAI;AACH,QAAA,MAAM,cAAc,GAAG,MAAM,WAAW,EAEvC,CAAC;AAEF,QAAA,MAAM,YAAY,GAAa;AAC9B,YAAA,GAAG,IAAI,GAAG,CAAC,cAAc,CAAC,GAAG,CAAC,OAAO,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC;SAClD,CAAC;AAEd,QAAA,MAAM,iBAAiB,GAAG,MAAM,aAAa,CAAC,YAAY,CAAC,CAAC;AAE5D,QAAA,MAAM,iBAAiB,GAAa;AACnC,YAAA,GAAG,IAAI,GAAG,CAAC,cAAc,CAAC,GAAG,CAAC,OAAO,IAAI,OAAO,CAAC,QAAQ,CAAC,CAAC;SAC/C,CAAC;QAEd,MAAM,eAAe,GAAG,CAAC,eAAe;AACvC,cAAE,MAAM,kBAAkB,CAAC,iBAAiB,CAAC;AAC7C,cAAE,MAAM,kBAAkB,CACzB,iBAAiB,EACjB,CAAG,EAAA,eAAe,CAAC,GAAG,KAAK,eAAe,CAAC,GAAG,CAAA,CAAE,CAChD,CAAC;AACH,QAAA,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,cAAc,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AAC/C,YAAA,MAAM,OAAO,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC;AAClC,YAAA,IAAI,OAAO,CAAC,QAAQ,IAAI,OAAO,CAAC,QAAQ,KAAK,CAAC,CAAC,IAAI,OAAO,CAAC,MAAM,EAAE;gBAClE,MAAM,MAAM,GAAG,eAAe,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;AACjD,gBAAA,IAAI,MAAM,EAAE;oBACX,OAAO,CAAC,MAAM,CAAC,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;AAC9C,iBAAA;AACD,aAAA;AACD,SAAA;QAED,MAAM,aAAa,GAAG,2BAA2B,CAChD,cAAc,EACd,eAAe,CACf,CAAC;QAEF,OAAO;YACN,cAAc;YACd,iBAAiB;YACjB,eAAe;YACf,aAAa;SACb,CAAC;AACF,KAAA;AAAC,IAAA,OAAO,KAAK,EAAE;AACf,QAAA,OAAO,CAAC,KAAK,CAAC,0BAA0B,EAAE,KAAK,CAAC,CAAC;AACjD,QAAA,MAAM,KAAK,CAAC;AACZ,KAAA;AACF;;;;"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import api from '../apis/hcApi.js';
|
|
2
2
|
|
|
3
|
-
const getListingEntities = async (entityIds, origin = '') => {
|
|
4
|
-
try {
|
|
5
|
-
const response = await api.post(`/ListingEntities?origin=${origin}`, entityIds);
|
|
6
|
-
return response;
|
|
7
|
-
}
|
|
8
|
-
catch (error) {
|
|
9
|
-
console.error("Error fetching listing entities:", error);
|
|
10
|
-
throw error;
|
|
11
|
-
}
|
|
3
|
+
const getListingEntities = async (entityIds, origin = '') => {
|
|
4
|
+
try {
|
|
5
|
+
const response = await api.post(`/ListingEntities?origin=${origin}`, entityIds);
|
|
6
|
+
return response;
|
|
7
|
+
}
|
|
8
|
+
catch (error) {
|
|
9
|
+
console.error("Error fetching listing entities:", error);
|
|
10
|
+
throw error;
|
|
11
|
+
}
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
export { getListingEntities };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import api from '../apis/hcApi.js';
|
|
2
2
|
|
|
3
|
-
const getListings = async (params) => {
|
|
4
|
-
try {
|
|
5
|
-
const query = new URLSearchParams();
|
|
6
|
-
if (params) {
|
|
7
|
-
if (params.location)
|
|
8
|
-
params.location.forEach(loc => query.append('location', loc));
|
|
9
|
-
if (params.category)
|
|
10
|
-
params.category.forEach(cat => query.append('category', cat));
|
|
11
|
-
if (params.categoryClass)
|
|
12
|
-
params.categoryClass.forEach(catClass => query.append('categoryClass', catClass));
|
|
13
|
-
if (params.education)
|
|
14
|
-
params.education.forEach(edu => query.append('education', edu));
|
|
15
|
-
if (params.city)
|
|
16
|
-
params.city.forEach(cty => query.append('city', cty));
|
|
17
|
-
if (params.state)
|
|
18
|
-
params.state.forEach(st => query.append('state', st));
|
|
19
|
-
}
|
|
20
|
-
const response = await api.get(`/Listings?${query.toString()}`);
|
|
21
|
-
return response;
|
|
22
|
-
}
|
|
23
|
-
catch (error) {
|
|
24
|
-
console.error(error);
|
|
25
|
-
throw error;
|
|
26
|
-
}
|
|
3
|
+
const getListings = async (params) => {
|
|
4
|
+
try {
|
|
5
|
+
const query = new URLSearchParams();
|
|
6
|
+
if (params) {
|
|
7
|
+
if (params.location)
|
|
8
|
+
params.location.forEach(loc => query.append('location', loc));
|
|
9
|
+
if (params.category)
|
|
10
|
+
params.category.forEach(cat => query.append('category', cat));
|
|
11
|
+
if (params.categoryClass)
|
|
12
|
+
params.categoryClass.forEach(catClass => query.append('categoryClass', catClass));
|
|
13
|
+
if (params.education)
|
|
14
|
+
params.education.forEach(edu => query.append('education', edu));
|
|
15
|
+
if (params.city)
|
|
16
|
+
params.city.forEach(cty => query.append('city', cty));
|
|
17
|
+
if (params.state)
|
|
18
|
+
params.state.forEach(st => query.append('state', st));
|
|
19
|
+
}
|
|
20
|
+
const response = await api.get(`/Listings?${query.toString()}`);
|
|
21
|
+
return response;
|
|
22
|
+
}
|
|
23
|
+
catch (error) {
|
|
24
|
+
console.error(error);
|
|
25
|
+
throw error;
|
|
26
|
+
}
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
export { getListings };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import api from '../apis/hcApi.js';
|
|
2
2
|
|
|
3
|
-
const getRecruiters = async (recruiterIds) => {
|
|
4
|
-
try {
|
|
5
|
-
const params = recruiterIds.map(id => `recruiterIds=${id}`).join("&");
|
|
6
|
-
const response = await api.get(`/Recruiters?${params}`);
|
|
7
|
-
return response;
|
|
8
|
-
}
|
|
9
|
-
catch (error) {
|
|
10
|
-
console.error("Error fetching recruiters:", error);
|
|
11
|
-
throw error;
|
|
12
|
-
}
|
|
3
|
+
const getRecruiters = async (recruiterIds) => {
|
|
4
|
+
try {
|
|
5
|
+
const params = recruiterIds.map(id => `recruiterIds=${id}`).join("&");
|
|
6
|
+
const response = await api.get(`/Recruiters?${params}`);
|
|
7
|
+
return response;
|
|
8
|
+
}
|
|
9
|
+
catch (error) {
|
|
10
|
+
console.error("Error fetching recruiters:", error);
|
|
11
|
+
throw error;
|
|
12
|
+
}
|
|
13
13
|
};
|
|
14
14
|
|
|
15
15
|
export { getRecruiters };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
get: <T>(url: string) => Promise<T>;
|
|
3
|
-
post: <T_1>(url: string, data: any) => Promise<T_1>;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
get: <T>(url: string) => Promise<T>;
|
|
3
|
+
post: <T_1>(url: string, data: any) => Promise<T_1>;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function setClientAuthKey(key: any): void;
|
|
2
|
-
export function getClientAuthKey(): any;
|
|
1
|
+
export function setClientAuthKey(key: any): void;
|
|
2
|
+
export function getClientAuthKey(): any;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export default MapAccordionItemContainer;
|
|
2
|
-
declare function MapAccordionItemContainer({ showMap, item, itemRefs, fieldsShown, itemExpandedContent, specialFeatures, isActive, hasListItemSelected }: {
|
|
3
|
-
showMap: any;
|
|
4
|
-
item: any;
|
|
5
|
-
itemRefs: any;
|
|
6
|
-
fieldsShown: any;
|
|
7
|
-
itemExpandedContent: any;
|
|
8
|
-
specialFeatures: any;
|
|
9
|
-
isActive: any;
|
|
10
|
-
hasListItemSelected: any;
|
|
11
|
-
}): React.JSX.Element;
|
|
12
|
-
import React from "react";
|
|
1
|
+
export default MapAccordionItemContainer;
|
|
2
|
+
declare function MapAccordionItemContainer({ showMap, item, itemRefs, fieldsShown, itemExpandedContent, specialFeatures, isActive, hasListItemSelected }: {
|
|
3
|
+
showMap: any;
|
|
4
|
+
item: any;
|
|
5
|
+
itemRefs: any;
|
|
6
|
+
fieldsShown: any;
|
|
7
|
+
itemExpandedContent: any;
|
|
8
|
+
specialFeatures: any;
|
|
9
|
+
isActive: any;
|
|
10
|
+
hasListItemSelected: any;
|
|
11
|
+
}): React.JSX.Element;
|
|
12
|
+
import React from "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export default ListingDetailsContainer;
|
|
2
|
-
declare function ListingDetailsContainer({ item, recruiter }: {
|
|
3
|
-
item: any;
|
|
4
|
-
recruiter: any;
|
|
5
|
-
}): React.JSX.Element;
|
|
6
|
-
import React from "react";
|
|
1
|
+
export default ListingDetailsContainer;
|
|
2
|
+
declare function ListingDetailsContainer({ item, recruiter }: {
|
|
3
|
+
item: any;
|
|
4
|
+
recruiter: any;
|
|
5
|
+
}): React.JSX.Element;
|
|
6
|
+
import React from "react";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface ItemsListContainerProps {
|
|
3
|
-
fieldNames: Record<string, string>;
|
|
4
|
-
showMap: boolean;
|
|
5
|
-
fieldsShown: string[];
|
|
6
|
-
specialFeatures: any;
|
|
7
|
-
}
|
|
8
|
-
declare const ItemsListContainer: React.FC<ItemsListContainerProps>;
|
|
9
|
-
export default ItemsListContainer;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface ItemsListContainerProps {
|
|
3
|
+
fieldNames: Record<string, string>;
|
|
4
|
+
showMap: boolean;
|
|
5
|
+
fieldsShown: string[];
|
|
6
|
+
specialFeatures: any;
|
|
7
|
+
}
|
|
8
|
+
declare const ItemsListContainer: React.FC<ItemsListContainerProps>;
|
|
9
|
+
export default ItemsListContainer;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export default ListItemContainer;
|
|
2
|
-
declare function ListItemContainer({ isActive, showMap, item, itemRefs, fieldsShown, specialFeatures, className, bodyClassName, onItemSelected, ...props }: {
|
|
3
|
-
[x: string]: any;
|
|
4
|
-
isActive: any;
|
|
5
|
-
showMap: any;
|
|
6
|
-
item: any;
|
|
7
|
-
itemRefs: any;
|
|
8
|
-
fieldsShown: any;
|
|
9
|
-
specialFeatures: any;
|
|
10
|
-
className: any;
|
|
11
|
-
bodyClassName: any;
|
|
12
|
-
onItemSelected: any;
|
|
13
|
-
}): React.JSX.Element;
|
|
14
|
-
import React from "react";
|
|
1
|
+
export default ListItemContainer;
|
|
2
|
+
declare function ListItemContainer({ isActive, showMap, item, itemRefs, fieldsShown, specialFeatures, className, bodyClassName, onItemSelected, ...props }: {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
isActive: any;
|
|
5
|
+
showMap: any;
|
|
6
|
+
item: any;
|
|
7
|
+
itemRefs: any;
|
|
8
|
+
fieldsShown: any;
|
|
9
|
+
specialFeatures: any;
|
|
10
|
+
className: any;
|
|
11
|
+
bodyClassName: any;
|
|
12
|
+
onItemSelected: any;
|
|
13
|
+
}): React.JSX.Element;
|
|
14
|
+
import React from "react";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export default MapAccordionItem;
|
|
2
|
-
declare function MapAccordionItem({ item, itemRefs, itemExpandedContent, isActive, recruiter, children }: {
|
|
3
|
-
item: any;
|
|
4
|
-
itemRefs: any;
|
|
5
|
-
itemExpandedContent: any;
|
|
6
|
-
isActive: any;
|
|
7
|
-
recruiter: any;
|
|
8
|
-
children: any;
|
|
9
|
-
}): React.JSX.Element;
|
|
10
|
-
import React from "react";
|
|
1
|
+
export default MapAccordionItem;
|
|
2
|
+
declare function MapAccordionItem({ item, itemRefs, itemExpandedContent, isActive, recruiter, children }: {
|
|
3
|
+
item: any;
|
|
4
|
+
itemRefs: any;
|
|
5
|
+
itemExpandedContent: any;
|
|
6
|
+
isActive: any;
|
|
7
|
+
recruiter: any;
|
|
8
|
+
children: any;
|
|
9
|
+
}): React.JSX.Element;
|
|
10
|
+
import React from "react";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export const AccordionItem: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
2
|
-
export const AccordionTrigger: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
3
|
-
export const AccordionTriggerHasHeader: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
4
|
-
export const AccordionTriggerBlank: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
5
|
-
export const AccordionContent: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
6
|
-
export default Accordion;
|
|
7
|
-
import React from "react";
|
|
8
|
-
declare function Accordion({ className, type, defaultValue, collapsible, children }: {
|
|
9
|
-
className: any;
|
|
10
|
-
type?: string | undefined;
|
|
11
|
-
defaultValue: any;
|
|
12
|
-
collapsible?: boolean | undefined;
|
|
13
|
-
children: any;
|
|
14
|
-
}): React.JSX.Element;
|
|
15
|
-
declare namespace Accordion {
|
|
16
|
-
export { AccordionItem as Item };
|
|
17
|
-
export { AccordionTrigger as Trigger };
|
|
18
|
-
export { AccordionContent as Content };
|
|
19
|
-
}
|
|
1
|
+
export const AccordionItem: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
2
|
+
export const AccordionTrigger: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
3
|
+
export const AccordionTriggerHasHeader: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
4
|
+
export const AccordionTriggerBlank: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
5
|
+
export const AccordionContent: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
6
|
+
export default Accordion;
|
|
7
|
+
import React from "react";
|
|
8
|
+
declare function Accordion({ className, type, defaultValue, collapsible, children }: {
|
|
9
|
+
className: any;
|
|
10
|
+
type?: string | undefined;
|
|
11
|
+
defaultValue: any;
|
|
12
|
+
collapsible?: boolean | undefined;
|
|
13
|
+
children: any;
|
|
14
|
+
}): React.JSX.Element;
|
|
15
|
+
declare namespace Accordion {
|
|
16
|
+
export { AccordionItem as Item };
|
|
17
|
+
export { AccordionTrigger as Trigger };
|
|
18
|
+
export { AccordionContent as Content };
|
|
19
|
+
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
export default ButtonGroupApply;
|
|
2
|
-
declare function ButtonGroupApply({ applyUrl, useDetailsPostMessage, navigateToDetails, navigateToEasyApply, Link, linkFormat, applyText, detailsUrl, detailsText, className, buttonSize, applyButtonVariant, detailsButtonVariant, includeDialog, internalApplyLink, itemId, item, companyName, trackEvent, eventTypes }: {
|
|
3
|
-
applyUrl: any;
|
|
4
|
-
useDetailsPostMessage: any;
|
|
5
|
-
navigateToDetails: any;
|
|
6
|
-
navigateToEasyApply: any;
|
|
7
|
-
Link: any;
|
|
8
|
-
linkFormat: any;
|
|
9
|
-
applyText?: string | undefined;
|
|
10
|
-
detailsUrl: any;
|
|
11
|
-
detailsText?: string | undefined;
|
|
12
|
-
className: any;
|
|
13
|
-
buttonSize?: string | undefined;
|
|
14
|
-
applyButtonVariant?: string | undefined;
|
|
15
|
-
detailsButtonVariant?: string | undefined;
|
|
16
|
-
includeDialog?: boolean | undefined;
|
|
17
|
-
internalApplyLink: any;
|
|
18
|
-
itemId: any;
|
|
19
|
-
item: any;
|
|
20
|
-
companyName: any;
|
|
21
|
-
trackEvent: any;
|
|
22
|
-
eventTypes: any;
|
|
23
|
-
}): React.JSX.Element;
|
|
24
|
-
import React from "react";
|
|
1
|
+
export default ButtonGroupApply;
|
|
2
|
+
declare function ButtonGroupApply({ applyUrl, useDetailsPostMessage, navigateToDetails, navigateToEasyApply, Link, linkFormat, applyText, detailsUrl, detailsText, className, buttonSize, applyButtonVariant, detailsButtonVariant, includeDialog, internalApplyLink, itemId, item, companyName, trackEvent, eventTypes }: {
|
|
3
|
+
applyUrl: any;
|
|
4
|
+
useDetailsPostMessage: any;
|
|
5
|
+
navigateToDetails: any;
|
|
6
|
+
navigateToEasyApply: any;
|
|
7
|
+
Link: any;
|
|
8
|
+
linkFormat: any;
|
|
9
|
+
applyText?: string | undefined;
|
|
10
|
+
detailsUrl: any;
|
|
11
|
+
detailsText?: string | undefined;
|
|
12
|
+
className: any;
|
|
13
|
+
buttonSize?: string | undefined;
|
|
14
|
+
applyButtonVariant?: string | undefined;
|
|
15
|
+
detailsButtonVariant?: string | undefined;
|
|
16
|
+
includeDialog?: boolean | undefined;
|
|
17
|
+
internalApplyLink: any;
|
|
18
|
+
itemId: any;
|
|
19
|
+
item: any;
|
|
20
|
+
companyName: any;
|
|
21
|
+
trackEvent: any;
|
|
22
|
+
eventTypes: any;
|
|
23
|
+
}): React.JSX.Element;
|
|
24
|
+
import React from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export default CommutePill;
|
|
2
|
-
declare function CommutePill({ travelTime }: {
|
|
3
|
-
travelTime: any;
|
|
4
|
-
}): React.JSX.Element | undefined;
|
|
5
|
-
import React from "react";
|
|
1
|
+
export default CommutePill;
|
|
2
|
+
declare function CommutePill({ travelTime }: {
|
|
3
|
+
travelTime: any;
|
|
4
|
+
}): React.JSX.Element | undefined;
|
|
5
|
+
import React from "react";
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
export function Anchor({ children, href, className, size, variant, isBlock, hasUnderline, target, ...rest }: {
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
children: any;
|
|
4
|
-
href: any;
|
|
5
|
-
className: any;
|
|
6
|
-
size: any;
|
|
7
|
-
variant: any;
|
|
8
|
-
isBlock: any;
|
|
9
|
-
hasUnderline: any;
|
|
10
|
-
target?: string | undefined;
|
|
11
|
-
}): React.JSX.Element;
|
|
12
|
-
export function AnchorLink({ children, Link, href, className, size, variant, isBlock, hasUnderline, ...rest }: {
|
|
13
|
-
[x: string]: any;
|
|
14
|
-
children: any;
|
|
15
|
-
Link: any;
|
|
16
|
-
href: any;
|
|
17
|
-
className: any;
|
|
18
|
-
size: any;
|
|
19
|
-
variant: any;
|
|
20
|
-
isBlock: any;
|
|
21
|
-
hasUnderline: any;
|
|
22
|
-
}): React.JSX.Element;
|
|
23
|
-
export const ScrollAnchor: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
24
|
-
export const Btn: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
25
|
-
export function ButtonBody({ children, className }: {
|
|
26
|
-
children: any;
|
|
27
|
-
className: any;
|
|
28
|
-
}): React.JSX.Element;
|
|
29
|
-
export function ButtonIcon({ icon, size, className }: {
|
|
30
|
-
icon: any;
|
|
31
|
-
size?: string | undefined;
|
|
32
|
-
className: any;
|
|
33
|
-
}): React.JSX.Element;
|
|
34
|
-
export default Button;
|
|
35
|
-
import React from "react";
|
|
36
|
-
declare function Button({ children }: {
|
|
37
|
-
children: any;
|
|
38
|
-
}): {
|
|
39
|
-
children: any;
|
|
40
|
-
};
|
|
41
|
-
declare namespace Button {
|
|
42
|
-
export { Anchor };
|
|
43
|
-
export { AnchorLink as Link };
|
|
44
|
-
export { ScrollAnchor as Scroll };
|
|
45
|
-
export { Btn };
|
|
46
|
-
export { ButtonBody as Body };
|
|
47
|
-
export { ButtonIcon as Icon };
|
|
48
|
-
}
|
|
1
|
+
export function Anchor({ children, href, className, size, variant, isBlock, hasUnderline, target, ...rest }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
children: any;
|
|
4
|
+
href: any;
|
|
5
|
+
className: any;
|
|
6
|
+
size: any;
|
|
7
|
+
variant: any;
|
|
8
|
+
isBlock: any;
|
|
9
|
+
hasUnderline: any;
|
|
10
|
+
target?: string | undefined;
|
|
11
|
+
}): React.JSX.Element;
|
|
12
|
+
export function AnchorLink({ children, Link, href, className, size, variant, isBlock, hasUnderline, ...rest }: {
|
|
13
|
+
[x: string]: any;
|
|
14
|
+
children: any;
|
|
15
|
+
Link: any;
|
|
16
|
+
href: any;
|
|
17
|
+
className: any;
|
|
18
|
+
size: any;
|
|
19
|
+
variant: any;
|
|
20
|
+
isBlock: any;
|
|
21
|
+
hasUnderline: any;
|
|
22
|
+
}): React.JSX.Element;
|
|
23
|
+
export const ScrollAnchor: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
24
|
+
export const Btn: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
25
|
+
export function ButtonBody({ children, className }: {
|
|
26
|
+
children: any;
|
|
27
|
+
className: any;
|
|
28
|
+
}): React.JSX.Element;
|
|
29
|
+
export function ButtonIcon({ icon, size, className }: {
|
|
30
|
+
icon: any;
|
|
31
|
+
size?: string | undefined;
|
|
32
|
+
className: any;
|
|
33
|
+
}): React.JSX.Element;
|
|
34
|
+
export default Button;
|
|
35
|
+
import React from "react";
|
|
36
|
+
declare function Button({ children }: {
|
|
37
|
+
children: any;
|
|
38
|
+
}): {
|
|
39
|
+
children: any;
|
|
40
|
+
};
|
|
41
|
+
declare namespace Button {
|
|
42
|
+
export { Anchor };
|
|
43
|
+
export { AnchorLink as Link };
|
|
44
|
+
export { ScrollAnchor as Scroll };
|
|
45
|
+
export { Btn };
|
|
46
|
+
export { ButtonBody as Body };
|
|
47
|
+
export { ButtonIcon as Icon };
|
|
48
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export const PillWrapper: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
2
|
-
export default PillWrapper;
|
|
3
|
-
import React from "react";
|
|
1
|
+
export const PillWrapper: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
2
|
+
export default PillWrapper;
|
|
3
|
+
import React from "react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export default ApplyDialog;
|
|
2
|
-
declare function ApplyDialog({ children, applyUrl, internalApplyLink, companyName }: {
|
|
3
|
-
children: any;
|
|
4
|
-
applyUrl: any;
|
|
5
|
-
internalApplyLink: any;
|
|
6
|
-
companyName: any;
|
|
7
|
-
}): React.JSX.Element;
|
|
8
|
-
import React from "react";
|
|
1
|
+
export default ApplyDialog;
|
|
2
|
+
declare function ApplyDialog({ children, applyUrl, internalApplyLink, companyName }: {
|
|
3
|
+
children: any;
|
|
4
|
+
applyUrl: any;
|
|
5
|
+
internalApplyLink: any;
|
|
6
|
+
companyName: any;
|
|
7
|
+
}): React.JSX.Element;
|
|
8
|
+
import React from "react";
|