@next-degree/pickle-shared-js 0.6.44 → 0.6.45

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.
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { J as JobPostModel } from '../../job_posting_service_latest-Uc2AcDWn.cjs';
2
+ import { J as JobPostModel } from '../../job_posting_service_latest-D3PatPBh.cjs';
3
3
  import { ReactNode } from 'react';
4
4
  import 'zod';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { J as JobPostModel } from '../../job_posting_service_latest-Uc2AcDWn.js';
2
+ import { J as JobPostModel } from '../../job_posting_service_latest-D3PatPBh.js';
3
3
  import { ReactNode } from 'react';
4
4
  import 'zod';
5
5
 
@@ -35,17 +35,24 @@ function cn(...inputs) {
35
35
 
36
36
  // src/components/ui/MapComponent.tsx
37
37
  var import_jsx_runtime = require("react/jsx-runtime");
38
- function MapComponent({ apiKey, mapId, position, className, zoom = 15 }) {
38
+ function MapComponent({
39
+ apiKey,
40
+ mapId,
41
+ position,
42
+ className,
43
+ zoom = 15
44
+ }) {
39
45
  const defaultPosition = { lat: 40.715021, lng: -74.00459 };
40
46
  const defaultZoom = 11;
41
47
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_google_maps.APIProvider, { apiKey, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: cn("h-screen max-w-full", className), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
42
48
  import_react_google_maps.Map,
43
49
  {
44
- zoom: position ? zoom : defaultZoom,
50
+ defaultZoom: position ? zoom : defaultZoom,
45
51
  center: position || defaultPosition,
46
52
  mapId,
47
53
  keyboardShortcuts: false,
48
54
  disableDefaultUI: true,
55
+ zoomControl: true,
49
56
  children: position && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_google_maps.AdvancedMarker, { position, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_google_maps.Pin, { background: "#0B5441", borderColor: "#EBFDF1", glyphColor: "#D4F500" }) })
50
57
  }
51
58
  ) }) });
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/ui/MapComponent.tsx","../../../src/lib/utils.ts"],"sourcesContent":["'use client'\n\nimport { APIProvider, Map, AdvancedMarker, Pin } from '@vis.gl/react-google-maps'\nimport { cn } from '@/lib/utils'\n\ninterface MapComponentProps {\n apiKey: string\n mapId: string // Check your map ID at https://console.cloud.google.com/google/maps-apis/studio/maps\n position?: { lat: number; lng: number }\n className?: string\n zoom?: number\n}\n\nfunction MapComponent({ apiKey, mapId, position, className, zoom = 15 }: Readonly<MapComponentProps>) {\n const defaultPosition = { lat: 40.715021, lng: -74.004590 }\n const defaultZoom = 11\n\n return (\n <APIProvider apiKey={apiKey}>\n <div className={cn('h-screen max-w-full', className)}>\n <Map\n zoom={position ? zoom : defaultZoom}\n center={position || defaultPosition}\n mapId={mapId}\n keyboardShortcuts={false}\n disableDefaultUI\n >\n {position && (\n <AdvancedMarker position={position}>\n <Pin background=\"#0B5441\" borderColor=\"#EBFDF1\" glyphColor=\"#D4F500\" />\n </AdvancedMarker>\n )}\n </Map>\n </div>\n </APIProvider>\n )\n}\n\nexport default MapComponent\n","import { type ClassValue, clsx } from 'clsx'\nimport { twMerge } from 'tailwind-merge'\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs))\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,+BAAsD;;;ACFtD,kBAAsC;AACtC,4BAAwB;AAEjB,SAAS,MAAM,QAAsB;AAC1C,aAAO,mCAAQ,kBAAK,MAAM,CAAC;AAC7B;;;ADwBc;AAhBd,SAAS,aAAa,EAAE,QAAQ,OAAO,UAAU,WAAW,OAAO,GAAG,GAAgC;AACpG,QAAM,kBAAkB,EAAE,KAAK,WAAW,KAAK,UAAW;AAC1D,QAAM,cAAc;AAEpB,SACE,4CAAC,wCAAY,QACX,sDAAC,SAAI,WAAW,GAAG,uBAAuB,SAAS,GACjD;AAAA,IAAC;AAAA;AAAA,MACC,MAAM,WAAW,OAAO;AAAA,MACxB,QAAQ,YAAY;AAAA,MACpB;AAAA,MACA,mBAAmB;AAAA,MACnB,kBAAgB;AAAA,MAEf,sBACC,4CAAC,2CAAe,UACd,sDAAC,gCAAI,YAAW,WAAU,aAAY,WAAU,YAAW,WAAU,GACvE;AAAA;AAAA,EAEJ,GACF,GACF;AAEJ;AAEA,IAAO,uBAAQ;","names":[]}
1
+ {"version":3,"sources":["../../../src/components/ui/MapComponent.tsx","../../../src/lib/utils.ts"],"sourcesContent":["'use client'\n\nimport { APIProvider, Map, AdvancedMarker, Pin } from '@vis.gl/react-google-maps'\nimport { cn } from '@/lib/utils'\n\ninterface MapComponentProps {\n apiKey: string\n mapId: string // Check your map ID at https://console.cloud.google.com/google/maps-apis/studio/maps\n position?: { lat: number; lng: number }\n className?: string\n zoom?: number\n}\n\nfunction MapComponent({\n apiKey,\n mapId,\n position,\n className,\n zoom = 15,\n}: Readonly<MapComponentProps>) {\n const defaultPosition = { lat: 40.715021, lng: -74.00459 }\n const defaultZoom = 11\n\n return (\n <APIProvider apiKey={apiKey}>\n <div className={cn('h-screen max-w-full', className)}>\n <Map\n defaultZoom={position ? zoom : defaultZoom}\n center={position || defaultPosition}\n mapId={mapId}\n keyboardShortcuts={false}\n disableDefaultUI\n zoomControl\n >\n {position && (\n <AdvancedMarker position={position}>\n <Pin background=\"#0B5441\" borderColor=\"#EBFDF1\" glyphColor=\"#D4F500\" />\n </AdvancedMarker>\n )}\n </Map>\n </div>\n </APIProvider>\n )\n}\n\nexport default MapComponent\n","import { type ClassValue, clsx } from 'clsx'\nimport { twMerge } from 'tailwind-merge'\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs))\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,+BAAsD;;;ACFtD,kBAAsC;AACtC,4BAAwB;AAEjB,SAAS,MAAM,QAAsB;AAC1C,aAAO,mCAAQ,kBAAK,MAAM,CAAC;AAC7B;;;AD+Bc;AAvBd,SAAS,aAAa;AAAA,EACpB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,OAAO;AACT,GAAgC;AAC9B,QAAM,kBAAkB,EAAE,KAAK,WAAW,KAAK,UAAU;AACzD,QAAM,cAAc;AAEpB,SACE,4CAAC,wCAAY,QACX,sDAAC,SAAI,WAAW,GAAG,uBAAuB,SAAS,GACjD;AAAA,IAAC;AAAA;AAAA,MACC,aAAa,WAAW,OAAO;AAAA,MAC/B,QAAQ,YAAY;AAAA,MACpB;AAAA,MACA,mBAAmB;AAAA,MACnB,kBAAgB;AAAA,MAChB,aAAW;AAAA,MAEV,sBACC,4CAAC,2CAAe,UACd,sDAAC,gCAAI,YAAW,WAAU,aAAY,WAAU,YAAW,WAAU,GACvE;AAAA;AAAA,EAEJ,GACF,GACF;AAEJ;AAEA,IAAO,uBAAQ;","names":[]}
@@ -10,6 +10,6 @@ interface MapComponentProps {
10
10
  className?: string;
11
11
  zoom?: number;
12
12
  }
13
- declare function MapComponent({ apiKey, mapId, position, className, zoom }: Readonly<MapComponentProps>): react_jsx_runtime.JSX.Element;
13
+ declare function MapComponent({ apiKey, mapId, position, className, zoom, }: Readonly<MapComponentProps>): react_jsx_runtime.JSX.Element;
14
14
 
15
15
  export { MapComponent as default };
@@ -10,6 +10,6 @@ interface MapComponentProps {
10
10
  className?: string;
11
11
  zoom?: number;
12
12
  }
13
- declare function MapComponent({ apiKey, mapId, position, className, zoom }: Readonly<MapComponentProps>): react_jsx_runtime.JSX.Element;
13
+ declare function MapComponent({ apiKey, mapId, position, className, zoom, }: Readonly<MapComponentProps>): react_jsx_runtime.JSX.Element;
14
14
 
15
15
  export { MapComponent as default };
@@ -12,17 +12,24 @@ function cn(...inputs) {
12
12
 
13
13
  // src/components/ui/MapComponent.tsx
14
14
  import { jsx } from "react/jsx-runtime";
15
- function MapComponent({ apiKey, mapId, position, className, zoom = 15 }) {
15
+ function MapComponent({
16
+ apiKey,
17
+ mapId,
18
+ position,
19
+ className,
20
+ zoom = 15
21
+ }) {
16
22
  const defaultPosition = { lat: 40.715021, lng: -74.00459 };
17
23
  const defaultZoom = 11;
18
24
  return /* @__PURE__ */ jsx(APIProvider, { apiKey, children: /* @__PURE__ */ jsx("div", { className: cn("h-screen max-w-full", className), children: /* @__PURE__ */ jsx(
19
25
  Map,
20
26
  {
21
- zoom: position ? zoom : defaultZoom,
27
+ defaultZoom: position ? zoom : defaultZoom,
22
28
  center: position || defaultPosition,
23
29
  mapId,
24
30
  keyboardShortcuts: false,
25
31
  disableDefaultUI: true,
32
+ zoomControl: true,
26
33
  children: position && /* @__PURE__ */ jsx(AdvancedMarker, { position, children: /* @__PURE__ */ jsx(Pin, { background: "#0B5441", borderColor: "#EBFDF1", glyphColor: "#D4F500" }) })
27
34
  }
28
35
  ) }) });
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/ui/MapComponent.tsx","../../../src/lib/utils.ts"],"sourcesContent":["'use client'\n\nimport { APIProvider, Map, AdvancedMarker, Pin } from '@vis.gl/react-google-maps'\nimport { cn } from '@/lib/utils'\n\ninterface MapComponentProps {\n apiKey: string\n mapId: string // Check your map ID at https://console.cloud.google.com/google/maps-apis/studio/maps\n position?: { lat: number; lng: number }\n className?: string\n zoom?: number\n}\n\nfunction MapComponent({ apiKey, mapId, position, className, zoom = 15 }: Readonly<MapComponentProps>) {\n const defaultPosition = { lat: 40.715021, lng: -74.004590 }\n const defaultZoom = 11\n\n return (\n <APIProvider apiKey={apiKey}>\n <div className={cn('h-screen max-w-full', className)}>\n <Map\n zoom={position ? zoom : defaultZoom}\n center={position || defaultPosition}\n mapId={mapId}\n keyboardShortcuts={false}\n disableDefaultUI\n >\n {position && (\n <AdvancedMarker position={position}>\n <Pin background=\"#0B5441\" borderColor=\"#EBFDF1\" glyphColor=\"#D4F500\" />\n </AdvancedMarker>\n )}\n </Map>\n </div>\n </APIProvider>\n )\n}\n\nexport default MapComponent\n","import { type ClassValue, clsx } from 'clsx'\nimport { twMerge } from 'tailwind-merge'\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs))\n}\n"],"mappings":";;;AAEA,SAAS,aAAa,KAAK,gBAAgB,WAAW;;;ACFtD,SAA0B,YAAY;AACtC,SAAS,eAAe;AAEjB,SAAS,MAAM,QAAsB;AAC1C,SAAO,QAAQ,KAAK,MAAM,CAAC;AAC7B;;;ADwBc;AAhBd,SAAS,aAAa,EAAE,QAAQ,OAAO,UAAU,WAAW,OAAO,GAAG,GAAgC;AACpG,QAAM,kBAAkB,EAAE,KAAK,WAAW,KAAK,UAAW;AAC1D,QAAM,cAAc;AAEpB,SACE,oBAAC,eAAY,QACX,8BAAC,SAAI,WAAW,GAAG,uBAAuB,SAAS,GACjD;AAAA,IAAC;AAAA;AAAA,MACC,MAAM,WAAW,OAAO;AAAA,MACxB,QAAQ,YAAY;AAAA,MACpB;AAAA,MACA,mBAAmB;AAAA,MACnB,kBAAgB;AAAA,MAEf,sBACC,oBAAC,kBAAe,UACd,8BAAC,OAAI,YAAW,WAAU,aAAY,WAAU,YAAW,WAAU,GACvE;AAAA;AAAA,EAEJ,GACF,GACF;AAEJ;AAEA,IAAO,uBAAQ;","names":[]}
1
+ {"version":3,"sources":["../../../src/components/ui/MapComponent.tsx","../../../src/lib/utils.ts"],"sourcesContent":["'use client'\n\nimport { APIProvider, Map, AdvancedMarker, Pin } from '@vis.gl/react-google-maps'\nimport { cn } from '@/lib/utils'\n\ninterface MapComponentProps {\n apiKey: string\n mapId: string // Check your map ID at https://console.cloud.google.com/google/maps-apis/studio/maps\n position?: { lat: number; lng: number }\n className?: string\n zoom?: number\n}\n\nfunction MapComponent({\n apiKey,\n mapId,\n position,\n className,\n zoom = 15,\n}: Readonly<MapComponentProps>) {\n const defaultPosition = { lat: 40.715021, lng: -74.00459 }\n const defaultZoom = 11\n\n return (\n <APIProvider apiKey={apiKey}>\n <div className={cn('h-screen max-w-full', className)}>\n <Map\n defaultZoom={position ? zoom : defaultZoom}\n center={position || defaultPosition}\n mapId={mapId}\n keyboardShortcuts={false}\n disableDefaultUI\n zoomControl\n >\n {position && (\n <AdvancedMarker position={position}>\n <Pin background=\"#0B5441\" borderColor=\"#EBFDF1\" glyphColor=\"#D4F500\" />\n </AdvancedMarker>\n )}\n </Map>\n </div>\n </APIProvider>\n )\n}\n\nexport default MapComponent\n","import { type ClassValue, clsx } from 'clsx'\nimport { twMerge } from 'tailwind-merge'\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs))\n}\n"],"mappings":";;;AAEA,SAAS,aAAa,KAAK,gBAAgB,WAAW;;;ACFtD,SAA0B,YAAY;AACtC,SAAS,eAAe;AAEjB,SAAS,MAAM,QAAsB;AAC1C,SAAO,QAAQ,KAAK,MAAM,CAAC;AAC7B;;;AD+Bc;AAvBd,SAAS,aAAa;AAAA,EACpB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,OAAO;AACT,GAAgC;AAC9B,QAAM,kBAAkB,EAAE,KAAK,WAAW,KAAK,UAAU;AACzD,QAAM,cAAc;AAEpB,SACE,oBAAC,eAAY,QACX,8BAAC,SAAI,WAAW,GAAG,uBAAuB,SAAS,GACjD;AAAA,IAAC;AAAA;AAAA,MACC,aAAa,WAAW,OAAO;AAAA,MAC/B,QAAQ,YAAY;AAAA,MACpB;AAAA,MACA,mBAAmB;AAAA,MACnB,kBAAgB;AAAA,MAChB,aAAW;AAAA,MAEV,sBACC,oBAAC,kBAAe,UACd,8BAAC,OAAI,YAAW,WAAU,aAAY,WAAU,YAAW,WAAU,GACvE;AAAA;AAAA,EAEJ,GACF,GACF;AAEJ;AAEA,IAAO,uBAAQ;","names":[]}
@@ -1,7 +1,7 @@
1
1
  import * as zod from 'zod';
2
2
  import { z } from 'zod';
3
3
  import { U as UnitTextEnum, C as CurrencyEnum } from './shared_pickle_output_latest-DUO_efBh.cjs';
4
- import { E as EmploymentTypeEnum, a as EmploymentLevelEnum, b as JobFunctionEnum, B as BestFitEnum, C as ClinicalSpecialtyEnum, S as ShiftEnum, c as ClinicalSettingEnum } from './job_posting_service_latest-Uc2AcDWn.cjs';
4
+ import { E as EmploymentTypeEnum, a as EmploymentLevelEnum, b as JobFunctionEnum, B as BestFitEnum, C as ClinicalSpecialtyEnum, S as ShiftEnum, c as ClinicalSettingEnum } from './job_posting_service_latest-D3PatPBh.cjs';
5
5
 
6
6
  declare const employmentTypeDisplayText: DisplayTextConfig<typeof EmploymentTypeEnum>;
7
7
  declare const unitTextDisplayText: DisplayTextConfig<typeof UnitTextEnum>;
@@ -1,7 +1,7 @@
1
1
  import * as zod from 'zod';
2
2
  import { z } from 'zod';
3
3
  import { U as UnitTextEnum, C as CurrencyEnum } from './shared_pickle_output_latest-DUO_efBh.js';
4
- import { E as EmploymentTypeEnum, a as EmploymentLevelEnum, b as JobFunctionEnum, B as BestFitEnum, C as ClinicalSpecialtyEnum, S as ShiftEnum, c as ClinicalSettingEnum } from './job_posting_service_latest-Uc2AcDWn.js';
4
+ import { E as EmploymentTypeEnum, a as EmploymentLevelEnum, b as JobFunctionEnum, B as BestFitEnum, C as ClinicalSpecialtyEnum, S as ShiftEnum, c as ClinicalSettingEnum } from './job_posting_service_latest-D3PatPBh.js';
5
5
 
6
6
  declare const employmentTypeDisplayText: DisplayTextConfig<typeof EmploymentTypeEnum>;
7
7
  declare const unitTextDisplayText: DisplayTextConfig<typeof UnitTextEnum>;
@@ -1,7 +1,7 @@
1
- import { S as ServiceMappings } from '../displayText-BvUjsvAx.cjs';
1
+ import { S as ServiceMappings } from '../displayText-C5jAFYZY.cjs';
2
2
  import 'zod';
3
3
  import '../shared_pickle_output_latest-DUO_efBh.cjs';
4
- import '../job_posting_service_latest-Uc2AcDWn.cjs';
4
+ import '../job_posting_service_latest-D3PatPBh.cjs';
5
5
 
6
6
  declare const useDisplayText: (scope: keyof ServiceMappings, value: string | string[] | undefined | null) => string;
7
7
 
@@ -1,7 +1,7 @@
1
- import { S as ServiceMappings } from '../displayText-CDK-QDbc.js';
1
+ import { S as ServiceMappings } from '../displayText-Dl2hcn02.js';
2
2
  import 'zod';
3
3
  import '../shared_pickle_output_latest-DUO_efBh.js';
4
- import '../job_posting_service_latest-Uc2AcDWn.js';
4
+ import '../job_posting_service_latest-D3PatPBh.js';
5
5
 
6
6
  declare const useDisplayText: (scope: keyof ServiceMappings, value: string | string[] | undefined | null) => string;
7
7
 
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({ apiKey, mapId, position, className, zoom = 15 }) {
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
- zoom: position ? zoom : defaultZoom,
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
  ) }) });