@next-degree/pickle-shared-js 0.6.44 → 0.6.46
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/{company_service_latest-DQ5joNqO.d.cts → company_service_latest-B7KhyYDc.d.cts} +149 -23
- package/dist/{company_service_latest-DQ5joNqO.d.ts → company_service_latest-B7KhyYDc.d.ts} +149 -23
- package/dist/components/jobPost/JobPost.cjs +6 -4
- package/dist/components/jobPost/JobPost.cjs.map +1 -1
- package/dist/components/jobPost/JobPost.d.cts +1 -1
- package/dist/components/jobPost/JobPost.d.ts +1 -1
- package/dist/components/jobPost/JobPost.js +6 -4
- package/dist/components/jobPost/JobPost.js.map +1 -1
- package/dist/components/primitives/command.d.cts +3 -3
- package/dist/components/primitives/command.d.ts +3 -3
- package/dist/components/ui/MapComponent.cjs +9 -2
- package/dist/components/ui/MapComponent.cjs.map +1 -1
- package/dist/components/ui/MapComponent.d.cts +1 -1
- package/dist/components/ui/MapComponent.d.ts +1 -1
- package/dist/components/ui/MapComponent.js +9 -2
- package/dist/components/ui/MapComponent.js.map +1 -1
- package/dist/{displayText-CDK-QDbc.d.ts → displayText-D8JK59Z-.d.ts} +2 -2
- package/dist/{displayText-BvUjsvAx.d.cts → displayText-DT2bYICS.d.cts} +2 -2
- package/dist/hooks/useDisplayText.d.cts +3 -3
- package/dist/hooks/useDisplayText.d.ts +3 -3
- package/dist/index.cjs +17 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +17 -8
- package/dist/index.js.map +1 -1
- package/dist/{job_posting_service_latest-Uc2AcDWn.d.cts → job_posting_service_latest-RgzWsEdh.d.cts} +172 -34
- package/dist/{job_posting_service_latest-Uc2AcDWn.d.ts → job_posting_service_latest-RgzWsEdh.d.ts} +172 -34
- package/dist/lib/locations.d.cts +2 -2
- package/dist/lib/locations.d.ts +2 -2
- package/dist/lib/mappings.d.cts +3 -3
- package/dist/lib/mappings.d.ts +3 -3
- package/dist/lib/salaryRange.cjs +4 -2
- package/dist/lib/salaryRange.cjs.map +1 -1
- package/dist/lib/salaryRange.d.cts +1 -1
- package/dist/lib/salaryRange.d.ts +1 -1
- package/dist/lib/salaryRange.js +4 -2
- package/dist/lib/salaryRange.js.map +1 -1
- package/dist/services/displayText.d.cts +3 -3
- package/dist/services/displayText.d.ts +3 -3
- package/dist/{shared_pickle_output_latest-DUO_efBh.d.cts → shared_pickle_output_latest-D8viuRLi.d.cts} +20 -4
- package/dist/{shared_pickle_output_latest-DUO_efBh.d.ts → shared_pickle_output_latest-D8viuRLi.d.ts} +20 -4
- package/dist/types/data/company_service_latest.cjs +6 -4
- package/dist/types/data/company_service_latest.cjs.map +1 -1
- package/dist/types/data/company_service_latest.d.cts +1 -1
- package/dist/types/data/company_service_latest.d.ts +1 -1
- package/dist/types/data/company_service_latest.js +6 -4
- package/dist/types/data/company_service_latest.js.map +1 -1
- package/dist/types/data/job_posting_service_latest.cjs +6 -4
- package/dist/types/data/job_posting_service_latest.cjs.map +1 -1
- package/dist/types/data/job_posting_service_latest.d.cts +1 -1
- package/dist/types/data/job_posting_service_latest.d.ts +1 -1
- package/dist/types/data/job_posting_service_latest.js +6 -4
- package/dist/types/data/job_posting_service_latest.js.map +1 -1
- package/dist/types/data/shared_pickle_output_latest.cjs +4 -2
- package/dist/types/data/shared_pickle_output_latest.cjs.map +1 -1
- package/dist/types/data/shared_pickle_output_latest.d.cts +1 -1
- package/dist/types/data/shared_pickle_output_latest.d.ts +1 -1
- package/dist/types/data/shared_pickle_output_latest.js +4 -2
- package/dist/types/data/shared_pickle_output_latest.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -554,17 +554,24 @@ var Input_default = Input;
|
|
|
554
554
|
// src/components/ui/MapComponent.tsx
|
|
555
555
|
var import_react_google_maps = require("@vis.gl/react-google-maps");
|
|
556
556
|
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
557
|
-
function MapComponent({
|
|
557
|
+
function MapComponent({
|
|
558
|
+
apiKey,
|
|
559
|
+
mapId,
|
|
560
|
+
position,
|
|
561
|
+
className,
|
|
562
|
+
zoom = 15
|
|
563
|
+
}) {
|
|
558
564
|
const defaultPosition = { lat: 40.715021, lng: -74.00459 };
|
|
559
565
|
const defaultZoom = 11;
|
|
560
566
|
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react_google_maps.APIProvider, { apiKey, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: cn("h-screen max-w-full", className), children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
561
567
|
import_react_google_maps.Map,
|
|
562
568
|
{
|
|
563
|
-
|
|
569
|
+
defaultZoom: position ? zoom : defaultZoom,
|
|
564
570
|
center: position || defaultPosition,
|
|
565
571
|
mapId,
|
|
566
572
|
keyboardShortcuts: false,
|
|
567
573
|
disableDefaultUI: true,
|
|
574
|
+
zoomControl: true,
|
|
568
575
|
children: position && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react_google_maps.AdvancedMarker, { position, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react_google_maps.Pin, { background: "#0B5441", borderColor: "#EBFDF1", glyphColor: "#D4F500" }) })
|
|
569
576
|
}
|
|
570
577
|
) }) });
|
|
@@ -1925,8 +1932,10 @@ var postalAddressSchema = import_zod.z.object({
|
|
|
1925
1932
|
addressCountry: import_zod.z.string().describe("The physical country as defined in ISO 3166 Alpha-2"),
|
|
1926
1933
|
addressRegion: import_zod.z.optional(import_zod.z.string()).describe("The region in which the locality is, and which is in the country."),
|
|
1927
1934
|
addressLocality: import_zod.z.optional(import_zod.z.string()).describe("The locality in which the street address is, and which is in the region. In the US this would be city."),
|
|
1928
|
-
streetAddress: import_zod.z.optional(import_zod.z.string()).describe("The street address within the locality."),
|
|
1929
|
-
|
|
1935
|
+
streetAddress: import_zod.z.optional(import_zod.z.string()).describe("The street name of the address within the locality."),
|
|
1936
|
+
streetNumber: import_zod.z.optional(import_zod.z.string()).describe("The house of building number within the street."),
|
|
1937
|
+
postalCode: import_zod.z.optional(import_zod.z.string()).describe("The postal code"),
|
|
1938
|
+
description: import_zod.z.optional(import_zod.z.string()).describe("A descriptive string containing the full address.")
|
|
1930
1939
|
});
|
|
1931
1940
|
var placeSchema = import_zod.z.object({
|
|
1932
1941
|
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
@@ -2556,7 +2565,7 @@ function JobPost({
|
|
|
2556
2565
|
CompanyTake,
|
|
2557
2566
|
{
|
|
2558
2567
|
avatarSrc,
|
|
2559
|
-
content: job.hiringOrganization?.
|
|
2568
|
+
content: job.hiringOrganization?.companyNdg?.companyNdgTake
|
|
2560
2569
|
}
|
|
2561
2570
|
),
|
|
2562
2571
|
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
@@ -2565,7 +2574,7 @@ function JobPost({
|
|
|
2565
2574
|
name: job.hiringOrganization?.companyName ?? "",
|
|
2566
2575
|
how: job.hiringOrganization?.companyPhilosophy?.companyHow,
|
|
2567
2576
|
mission: job.hiringOrganization?.companyPhilosophy?.companyMission,
|
|
2568
|
-
wow: job.hiringOrganization?.
|
|
2577
|
+
wow: job.hiringOrganization?.companyNdg?.companyWow,
|
|
2569
2578
|
website: job.hiringOrganization?.companyWebsite
|
|
2570
2579
|
}
|
|
2571
2580
|
),
|
|
@@ -2691,7 +2700,7 @@ var companyNdgSchema = import_zod2.z.object({
|
|
|
2691
2700
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2692
2701
|
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2693
2702
|
companyWow: import_zod2.z.optional(import_zod2.z.string()).describe("What is the wow of this company?"),
|
|
2694
|
-
|
|
2703
|
+
companyNdgTake: import_zod2.z.optional(import_zod2.z.string()).describe("What is the NDG POV on this company?"),
|
|
2695
2704
|
companyBestFit: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string())),
|
|
2696
2705
|
companyInterests: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string()))
|
|
2697
2706
|
});
|
|
@@ -2727,7 +2736,7 @@ var companySchema = import_zod2.z.object({
|
|
|
2727
2736
|
brandColor: import_zod2.z.optional(import_zod2.z.string()).describe("The brand color of the company"),
|
|
2728
2737
|
companyCareers: import_zod2.z.optional(companyCareersSchema).describe("Career Specific Information for the company."),
|
|
2729
2738
|
companyPhilosophy: import_zod2.z.optional(companyPhilosophySchema).describe("Company mission,values and how the company achieves its mission."),
|
|
2730
|
-
|
|
2739
|
+
companyNdg: import_zod2.z.optional(companyNdgSchema).describe("Next Degree specific information for the company."),
|
|
2731
2740
|
foundingInfo: import_zod2.z.optional(foundingInformationSchema),
|
|
2732
2741
|
headquartersLocation: import_zod2.z.optional(placeSchema),
|
|
2733
2742
|
employeeEstimate: import_zod2.z.optional(import_zod2.z.string()),
|