@next-degree/pickle-shared-js 0.13.1 → 0.13.4
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/chunk-2FGZQI42.js +11 -0
- package/dist/chunk-2FGZQI42.js.map +1 -0
- package/dist/chunk-325GPWFN.js +24 -0
- package/dist/chunk-325GPWFN.js.map +1 -0
- package/dist/chunk-37YFXNLL.cjs +46 -0
- package/dist/chunk-37YFXNLL.cjs.map +1 -0
- package/dist/chunk-3BGXWNKI.cjs +26 -0
- package/dist/chunk-3BGXWNKI.cjs.map +1 -0
- package/dist/chunk-3CI6PTKT.cjs +82 -0
- package/dist/chunk-3CI6PTKT.cjs.map +1 -0
- package/dist/chunk-3PARXYUI.cjs +86 -0
- package/dist/chunk-3PARXYUI.cjs.map +1 -0
- package/dist/chunk-3VIRJK7I.js +63 -0
- package/dist/chunk-3VIRJK7I.js.map +1 -0
- package/dist/chunk-47H3M7TP.js +72 -0
- package/dist/chunk-47H3M7TP.js.map +1 -0
- package/dist/chunk-4E3ANVRR.js +35 -0
- package/dist/chunk-4E3ANVRR.js.map +1 -0
- package/dist/chunk-4GDAUTH4.cjs +112 -0
- package/dist/chunk-4GDAUTH4.cjs.map +1 -0
- package/dist/chunk-4IJ5TMHI.js +20 -0
- package/dist/chunk-4IJ5TMHI.js.map +1 -0
- package/dist/chunk-4KXEHU2Z.js +142 -0
- package/dist/chunk-4KXEHU2Z.js.map +1 -0
- package/dist/chunk-4NEPWF3Z.js +152 -0
- package/dist/chunk-4NEPWF3Z.js.map +1 -0
- package/dist/chunk-4OJ7NEZU.js +107 -0
- package/dist/chunk-4OJ7NEZU.js.map +1 -0
- package/dist/chunk-4RVGUZNF.js +72 -0
- package/dist/chunk-4RVGUZNF.js.map +1 -0
- package/dist/chunk-4TLLJ52E.cjs +28 -0
- package/dist/chunk-4TLLJ52E.cjs.map +1 -0
- package/dist/chunk-4TP4NYO2.js +41 -0
- package/dist/chunk-4TP4NYO2.js.map +1 -0
- package/dist/chunk-567FG76G.cjs +39 -0
- package/dist/chunk-567FG76G.cjs.map +1 -0
- package/dist/chunk-5H35ZVLR.js +43 -0
- package/dist/chunk-5H35ZVLR.js.map +1 -0
- package/dist/chunk-5H75FIY2.cjs +64 -0
- package/dist/chunk-5H75FIY2.cjs.map +1 -0
- package/dist/chunk-5QXQ2LBB.cjs +4 -0
- package/dist/chunk-5QXQ2LBB.cjs.map +1 -0
- package/dist/chunk-5REFGTWO.js +87 -0
- package/dist/chunk-5REFGTWO.js.map +1 -0
- package/dist/chunk-5RH3VTNV.js +81 -0
- package/dist/chunk-5RH3VTNV.js.map +1 -0
- package/dist/chunk-5Z4ILTRD.js +48 -0
- package/dist/chunk-5Z4ILTRD.js.map +1 -0
- package/dist/chunk-7CKQ3FSB.js +24 -0
- package/dist/chunk-7CKQ3FSB.js.map +1 -0
- package/dist/chunk-7VHZCQL3.js +30 -0
- package/dist/chunk-7VHZCQL3.js.map +1 -0
- package/dist/chunk-7X6S7GJK.cjs +11 -0
- package/dist/chunk-7X6S7GJK.cjs.map +1 -0
- package/dist/chunk-A46BJOVJ.cjs +71 -0
- package/dist/chunk-A46BJOVJ.cjs.map +1 -0
- package/dist/chunk-A7E5UPEP.cjs +36 -0
- package/dist/chunk-A7E5UPEP.cjs.map +1 -0
- package/dist/chunk-A7MLO6YN.cjs +109 -0
- package/dist/chunk-A7MLO6YN.cjs.map +1 -0
- package/dist/chunk-AB3775NI.cjs +93 -0
- package/dist/chunk-AB3775NI.cjs.map +1 -0
- package/dist/chunk-AMNEAWA7.cjs +59 -0
- package/dist/chunk-AMNEAWA7.cjs.map +1 -0
- package/dist/chunk-AQ54YTF2.js +80 -0
- package/dist/chunk-AQ54YTF2.js.map +1 -0
- package/dist/chunk-CDQM72QX.cjs +46 -0
- package/dist/chunk-CDQM72QX.cjs.map +1 -0
- package/dist/chunk-CIFWAE4A.js +39 -0
- package/dist/chunk-CIFWAE4A.js.map +1 -0
- package/dist/chunk-CUICNKLS.cjs +42 -0
- package/dist/chunk-CUICNKLS.cjs.map +1 -0
- package/dist/chunk-D5CBPEAR.js +67 -0
- package/dist/chunk-D5CBPEAR.js.map +1 -0
- package/dist/chunk-DGDBIRAA.js +118 -0
- package/dist/chunk-DGDBIRAA.js.map +1 -0
- package/dist/chunk-DHB467LV.js +34 -0
- package/dist/chunk-DHB467LV.js.map +1 -0
- package/dist/chunk-DU5OQA67.cjs +49 -0
- package/dist/chunk-DU5OQA67.cjs.map +1 -0
- package/dist/chunk-DVSHUNGT.cjs +49 -0
- package/dist/chunk-DVSHUNGT.cjs.map +1 -0
- package/dist/chunk-E5S6MGBJ.cjs +51 -0
- package/dist/chunk-E5S6MGBJ.cjs.map +1 -0
- package/dist/chunk-EAFZZSYR.js +69 -0
- package/dist/chunk-EAFZZSYR.js.map +1 -0
- package/dist/chunk-EBKY3MJH.cjs +72 -0
- package/dist/chunk-EBKY3MJH.cjs.map +1 -0
- package/dist/chunk-EG7G3RZ2.cjs +79 -0
- package/dist/chunk-EG7G3RZ2.cjs.map +1 -0
- package/dist/chunk-FMST4EVC.js +11 -0
- package/dist/chunk-FMST4EVC.js.map +1 -0
- package/dist/chunk-FOJTLQJO.js +152 -0
- package/dist/chunk-FOJTLQJO.js.map +1 -0
- package/dist/chunk-FRXKCHZ7.cjs +50 -0
- package/dist/chunk-FRXKCHZ7.cjs.map +1 -0
- package/dist/chunk-FSMBDLNU.js +34 -0
- package/dist/chunk-FSMBDLNU.js.map +1 -0
- package/dist/chunk-G5ERI2MS.js +59 -0
- package/dist/chunk-G5ERI2MS.js.map +1 -0
- package/dist/chunk-GK3QI7HQ.js +49 -0
- package/dist/chunk-GK3QI7HQ.js.map +1 -0
- package/dist/chunk-GN3JZCM3.cjs +99 -0
- package/dist/chunk-GN3JZCM3.cjs.map +1 -0
- package/dist/chunk-GP5XW2ZR.cjs +36 -0
- package/dist/chunk-GP5XW2ZR.cjs.map +1 -0
- package/dist/chunk-GQNVPLSG.cjs +44 -0
- package/dist/chunk-GQNVPLSG.cjs.map +1 -0
- package/dist/chunk-GRLH3A6S.js +40 -0
- package/dist/chunk-GRLH3A6S.js.map +1 -0
- package/dist/chunk-HCXPKYJR.cjs +37 -0
- package/dist/chunk-HCXPKYJR.cjs.map +1 -0
- package/dist/chunk-HEHLGQ2U.js +198 -0
- package/dist/chunk-HEHLGQ2U.js.map +1 -0
- package/dist/chunk-HJYGNJD5.js +27 -0
- package/dist/chunk-HJYGNJD5.js.map +1 -0
- package/dist/chunk-HMKEBIBE.cjs +14 -0
- package/dist/chunk-HMKEBIBE.cjs.map +1 -0
- package/dist/chunk-HVNR3VXM.js +34 -0
- package/dist/chunk-HVNR3VXM.js.map +1 -0
- package/dist/chunk-I4H7XREK.js +91 -0
- package/dist/chunk-I4H7XREK.js.map +1 -0
- package/dist/chunk-IHWVGIDT.cjs +86 -0
- package/dist/chunk-IHWVGIDT.cjs.map +1 -0
- package/dist/chunk-IVPCYGXE.cjs +20 -0
- package/dist/chunk-IVPCYGXE.cjs.map +1 -0
- package/dist/chunk-J5GVGJZA.js +23 -0
- package/dist/chunk-J5GVGJZA.js.map +1 -0
- package/dist/chunk-JDAV6RWN.js +26 -0
- package/dist/chunk-JDAV6RWN.js.map +1 -0
- package/dist/chunk-JZVRCP3M.cjs +411 -0
- package/dist/chunk-JZVRCP3M.cjs.map +1 -0
- package/dist/chunk-K3653KJ6.js +11 -0
- package/dist/chunk-K3653KJ6.js.map +1 -0
- package/dist/chunk-K76RPF2X.js +37 -0
- package/dist/chunk-K76RPF2X.js.map +1 -0
- package/dist/chunk-KH3K3OI4.cjs +86 -0
- package/dist/chunk-KH3K3OI4.cjs.map +1 -0
- package/dist/chunk-KR33HZBW.js +31 -0
- package/dist/chunk-KR33HZBW.js.map +1 -0
- package/dist/chunk-KWIGG26N.js +3 -0
- package/dist/chunk-KWIGG26N.js.map +1 -0
- package/dist/chunk-KZBS5RNE.js +41 -0
- package/dist/chunk-KZBS5RNE.js.map +1 -0
- package/dist/chunk-L4SZQQK6.cjs +171 -0
- package/dist/chunk-L4SZQQK6.cjs.map +1 -0
- package/dist/chunk-L56JW56Y.cjs +129 -0
- package/dist/chunk-L56JW56Y.cjs.map +1 -0
- package/dist/chunk-LQPOFYD3.js +47 -0
- package/dist/chunk-LQPOFYD3.js.map +1 -0
- package/dist/chunk-LQQ244AY.js +28 -0
- package/dist/chunk-LQQ244AY.js.map +1 -0
- package/dist/chunk-LRBADBNS.cjs +23 -0
- package/dist/chunk-LRBADBNS.cjs.map +1 -0
- package/dist/chunk-LUCDLADP.cjs +49 -0
- package/dist/chunk-LUCDLADP.cjs.map +1 -0
- package/dist/chunk-LUFPA3WC.cjs +93 -0
- package/dist/chunk-LUFPA3WC.cjs.map +1 -0
- package/dist/chunk-M3HMXHAL.cjs +266 -0
- package/dist/chunk-M3HMXHAL.cjs.map +1 -0
- package/dist/chunk-MDLLVPLD.cjs +35 -0
- package/dist/chunk-MDLLVPLD.cjs.map +1 -0
- package/dist/chunk-MGWZXPMF.cjs +13 -0
- package/dist/chunk-MGWZXPMF.cjs.map +1 -0
- package/dist/chunk-NHAD5YHP.js +134 -0
- package/dist/chunk-NHAD5YHP.js.map +1 -0
- package/dist/chunk-NLGWU2KI.cjs +36 -0
- package/dist/chunk-NLGWU2KI.cjs.map +1 -0
- package/dist/chunk-NU2XENOZ.js +90 -0
- package/dist/chunk-NU2XENOZ.js.map +1 -0
- package/dist/chunk-OC2OB575.cjs +200 -0
- package/dist/chunk-OC2OB575.cjs.map +1 -0
- package/dist/chunk-OT3J7XYM.cjs +120 -0
- package/dist/chunk-OT3J7XYM.cjs.map +1 -0
- package/dist/chunk-P7CAVAYY.cjs +198 -0
- package/dist/chunk-P7CAVAYY.cjs.map +1 -0
- package/dist/chunk-PB2N5UFC.js +20 -0
- package/dist/chunk-PB2N5UFC.js.map +1 -0
- package/dist/chunk-PLL2MFTV.js +26 -0
- package/dist/chunk-PLL2MFTV.js.map +1 -0
- package/dist/chunk-PLPEZUCB.js +42 -0
- package/dist/chunk-PLPEZUCB.js.map +1 -0
- package/dist/chunk-PNXBZYED.js +24 -0
- package/dist/chunk-PNXBZYED.js.map +1 -0
- package/dist/chunk-PONUWUJ7.js +29 -0
- package/dist/chunk-PONUWUJ7.js.map +1 -0
- package/dist/chunk-PRZZF2EB.js +9 -0
- package/dist/chunk-PRZZF2EB.js.map +1 -0
- package/dist/chunk-PSRWV7UW.cjs +50 -0
- package/dist/chunk-PSRWV7UW.cjs.map +1 -0
- package/dist/chunk-PZ5AY32C.js +9 -0
- package/dist/chunk-PZ5AY32C.js.map +1 -0
- package/dist/chunk-Q7SFCCGT.cjs +11 -0
- package/dist/chunk-Q7SFCCGT.cjs.map +1 -0
- package/dist/chunk-QDSCHWM3.cjs +64 -0
- package/dist/chunk-QDSCHWM3.cjs.map +1 -0
- package/dist/chunk-QNVDG3L3.cjs +171 -0
- package/dist/chunk-QNVDG3L3.cjs.map +1 -0
- package/dist/chunk-RDPMXAQG.cjs +50 -0
- package/dist/chunk-RDPMXAQG.cjs.map +1 -0
- package/dist/chunk-RIG6I4HV.cjs +49 -0
- package/dist/chunk-RIG6I4HV.cjs.map +1 -0
- package/dist/chunk-ROBFZCJT.js +176 -0
- package/dist/chunk-ROBFZCJT.js.map +1 -0
- package/dist/chunk-RYAVZOGW.js +46 -0
- package/dist/chunk-RYAVZOGW.js.map +1 -0
- package/dist/chunk-SBPJFFRB.js +107 -0
- package/dist/chunk-SBPJFFRB.js.map +1 -0
- package/dist/chunk-SKMP4FO7.cjs +42 -0
- package/dist/chunk-SKMP4FO7.cjs.map +1 -0
- package/dist/chunk-SMDQTPJE.cjs +31 -0
- package/dist/chunk-SMDQTPJE.cjs.map +1 -0
- package/dist/chunk-SPAVM3EE.cjs +95 -0
- package/dist/chunk-SPAVM3EE.cjs.map +1 -0
- package/dist/chunk-T6O5RJA3.js +91 -0
- package/dist/chunk-T6O5RJA3.js.map +1 -0
- package/dist/chunk-T7LYMPIA.js +49 -0
- package/dist/chunk-T7LYMPIA.js.map +1 -0
- package/dist/chunk-TBV7NDAG.cjs +37 -0
- package/dist/chunk-TBV7NDAG.cjs.map +1 -0
- package/dist/chunk-TCV6N3EK.js +400 -0
- package/dist/chunk-TCV6N3EK.js.map +1 -0
- package/dist/chunk-TJVXG27I.cjs +13 -0
- package/dist/chunk-TJVXG27I.cjs.map +1 -0
- package/dist/chunk-U2T647VT.cjs +144 -0
- package/dist/chunk-U2T647VT.cjs.map +1 -0
- package/dist/chunk-U3D4LL6T.js +54 -0
- package/dist/chunk-U3D4LL6T.js.map +1 -0
- package/dist/chunk-U6G7EXM6.js +33 -0
- package/dist/chunk-U6G7EXM6.js.map +1 -0
- package/dist/chunk-USQZOJUG.cjs +121 -0
- package/dist/chunk-USQZOJUG.cjs.map +1 -0
- package/dist/chunk-UTPXIIHX.js +24 -0
- package/dist/chunk-UTPXIIHX.js.map +1 -0
- package/dist/chunk-UTYX2NMA.cjs +47 -0
- package/dist/chunk-UTYX2NMA.cjs.map +1 -0
- package/dist/chunk-V563IKQH.cjs +4 -0
- package/dist/chunk-V563IKQH.cjs.map +1 -0
- package/dist/chunk-VANX3AQD.js +3 -0
- package/dist/chunk-VANX3AQD.js.map +1 -0
- package/dist/chunk-VM36U3TK.js +106 -0
- package/dist/chunk-VM36U3TK.js.map +1 -0
- package/dist/chunk-VUBXXZUL.cjs +22 -0
- package/dist/chunk-VUBXXZUL.cjs.map +1 -0
- package/dist/chunk-VXNZRGLE.cjs +140 -0
- package/dist/chunk-VXNZRGLE.cjs.map +1 -0
- package/dist/chunk-VYILTAQR.cjs +51 -0
- package/dist/chunk-VYILTAQR.cjs.map +1 -0
- package/dist/chunk-W4VQ5YRX.js +45 -0
- package/dist/chunk-W4VQ5YRX.js.map +1 -0
- package/dist/chunk-W6BMYVY5.js +17 -0
- package/dist/chunk-W6BMYVY5.js.map +1 -0
- package/dist/chunk-WAZSWGCH.js +47 -0
- package/dist/chunk-WAZSWGCH.js.map +1 -0
- package/dist/chunk-WPH6SRZT.js +48 -0
- package/dist/chunk-WPH6SRZT.js.map +1 -0
- package/dist/chunk-WRANITBW.cjs +48 -0
- package/dist/chunk-WRANITBW.cjs.map +1 -0
- package/dist/chunk-WSDKENUA.cjs +99 -0
- package/dist/chunk-WSDKENUA.cjs.map +1 -0
- package/dist/chunk-WYSZMCAK.js +12 -0
- package/dist/chunk-WYSZMCAK.js.map +1 -0
- package/dist/chunk-XAPQTBJR.cjs +45 -0
- package/dist/chunk-XAPQTBJR.cjs.map +1 -0
- package/dist/chunk-XCYNYXC7.cjs +81 -0
- package/dist/chunk-XCYNYXC7.cjs.map +1 -0
- package/dist/chunk-XFGURTBJ.js +259 -0
- package/dist/chunk-XFGURTBJ.js.map +1 -0
- package/dist/chunk-XKKJHTSY.js +77 -0
- package/dist/chunk-XKKJHTSY.js.map +1 -0
- package/dist/chunk-XUTLQ573.cjs +20 -0
- package/dist/chunk-XUTLQ573.cjs.map +1 -0
- package/dist/chunk-YB2USB4M.js +17 -0
- package/dist/chunk-YB2USB4M.js.map +1 -0
- package/dist/chunk-YEYEUQM6.cjs +13 -0
- package/dist/chunk-YEYEUQM6.cjs.map +1 -0
- package/dist/chunk-YPA6HVCD.cjs +34 -0
- package/dist/chunk-YPA6HVCD.cjs.map +1 -0
- package/dist/chunk-YUA4DBYT.js +23 -0
- package/dist/chunk-YUA4DBYT.js.map +1 -0
- package/dist/chunk-Z33TWZHI.js +81 -0
- package/dist/chunk-Z33TWZHI.js.map +1 -0
- package/dist/chunk-ZBCGHL2Z.cjs +108 -0
- package/dist/chunk-ZBCGHL2Z.cjs.map +1 -0
- package/dist/chunk-ZC7K3XKN.cjs +51 -0
- package/dist/chunk-ZC7K3XKN.cjs.map +1 -0
- package/dist/chunk-ZZCTMR2F.cjs +37 -0
- package/dist/chunk-ZZCTMR2F.cjs.map +1 -0
- package/dist/components/buttons/BackButton.cjs +11 -153
- package/dist/components/buttons/BackButton.cjs.map +1 -1
- package/dist/components/buttons/BackButton.js +7 -134
- package/dist/components/buttons/BackButton.js.map +1 -1
- package/dist/components/company/CompanyBenefits.cjs +10 -31
- package/dist/components/company/CompanyBenefits.cjs.map +1 -1
- package/dist/components/company/CompanyBenefits.js +3 -8
- package/dist/components/company/CompanyBenefits.js.map +1 -1
- package/dist/components/company/CompanyInformation.cjs +9 -86
- package/dist/components/company/CompanyInformation.cjs.map +1 -1
- package/dist/components/company/CompanyInformation.js +4 -53
- package/dist/components/company/CompanyInformation.js.map +1 -1
- package/dist/components/company/CompanyTake.cjs +10 -122
- package/dist/components/company/CompanyTake.cjs.map +1 -1
- package/dist/components/company/CompanyTake.js +6 -91
- package/dist/components/company/CompanyTake.js.map +1 -1
- package/dist/components/jobCard/JobLocation.cjs +11 -151
- package/dist/components/jobCard/JobLocation.cjs.map +1 -1
- package/dist/components/jobCard/JobLocation.js +7 -121
- package/dist/components/jobCard/JobLocation.js.map +1 -1
- package/dist/components/jobPost/JobDescription.cjs +10 -347
- package/dist/components/jobPost/JobDescription.cjs.map +1 -1
- package/dist/components/jobPost/JobDescription.js +6 -315
- package/dist/components/jobPost/JobDescription.js.map +1 -1
- package/dist/components/jobPost/JobHeader.cjs +16 -406
- package/dist/components/jobPost/JobHeader.cjs.map +1 -1
- package/dist/components/jobPost/JobHeader.js +12 -398
- package/dist/components/jobPost/JobHeader.js.map +1 -1
- package/dist/components/jobPost/JobPost.cjs +42 -1820
- package/dist/components/jobPost/JobPost.cjs.map +1 -1
- package/dist/components/jobPost/JobPost.js +33 -1812
- package/dist/components/jobPost/JobPost.js.map +1 -1
- package/dist/components/primitives/avatar.cjs +17 -82
- package/dist/components/primitives/avatar.cjs.map +1 -1
- package/dist/components/primitives/avatar.js +4 -50
- package/dist/components/primitives/avatar.js.map +1 -1
- package/dist/components/primitives/command.cjs +41 -207
- package/dist/components/primitives/command.cjs.map +1 -1
- package/dist/components/primitives/command.js +5 -170
- package/dist/components/primitives/command.js.map +1 -1
- package/dist/components/primitives/dialog.cjs +45 -124
- package/dist/components/primitives/dialog.cjs.map +1 -1
- package/dist/components/primitives/dialog.js +4 -85
- package/dist/components/primitives/dialog.js.map +1 -1
- package/dist/components/primitives/input-otp.cjs +20 -90
- package/dist/components/primitives/input-otp.cjs.map +1 -1
- package/dist/components/primitives/input-otp.js +4 -58
- package/dist/components/primitives/input-otp.js.map +1 -1
- package/dist/components/primitives/popover.cjs +17 -67
- package/dist/components/primitives/popover.cjs.map +1 -1
- package/dist/components/primitives/popover.js +4 -35
- package/dist/components/primitives/popover.js.map +1 -1
- package/dist/components/primitives/radio-group.cjs +12 -64
- package/dist/components/primitives/radio-group.cjs.map +1 -1
- package/dist/components/primitives/radio-group.js +4 -36
- package/dist/components/primitives/radio-group.js.map +1 -1
- package/dist/components/primitives/separator.cjs +9 -62
- package/dist/components/primitives/separator.cjs.map +1 -1
- package/dist/components/primitives/separator.js +4 -32
- package/dist/components/primitives/separator.js.map +1 -1
- package/dist/components/primitives/tooltip.cjs +21 -69
- package/dist/components/primitives/tooltip.cjs.map +1 -1
- package/dist/components/primitives/tooltip.js +4 -36
- package/dist/components/primitives/tooltip.js.map +1 -1
- package/dist/components/ui/Avatar.cjs +12 -105
- package/dist/components/ui/Avatar.cjs.map +1 -1
- package/dist/components/ui/Avatar.js +5 -75
- package/dist/components/ui/Avatar.js.map +1 -1
- package/dist/components/ui/Badge.cjs +12 -62
- package/dist/components/ui/Badge.cjs.map +1 -1
- package/dist/components/ui/Badge.js +4 -31
- package/dist/components/ui/Badge.js.map +1 -1
- package/dist/components/ui/Button.cjs +13 -299
- package/dist/components/ui/Button.cjs.map +1 -1
- package/dist/components/ui/Button.js +4 -267
- package/dist/components/ui/Button.js.map +1 -1
- package/dist/components/ui/Checkbox.cjs +13 -109
- package/dist/components/ui/Checkbox.cjs.map +1 -1
- package/dist/components/ui/Checkbox.js +5 -81
- package/dist/components/ui/Checkbox.js.map +1 -1
- package/dist/components/ui/Chip.cjs +8 -59
- package/dist/components/ui/Chip.cjs.map +1 -1
- package/dist/components/ui/Chip.js +3 -29
- package/dist/components/ui/Chip.js.map +1 -1
- package/dist/components/ui/Combobox.cjs +22 -591
- package/dist/components/ui/Combobox.cjs.map +1 -1
- package/dist/components/ui/Combobox.js +14 -560
- package/dist/components/ui/Combobox.js.map +1 -1
- package/dist/components/ui/Counter.cjs +11 -226
- package/dist/components/ui/Counter.cjs.map +1 -1
- package/dist/components/ui/Counter.js +7 -197
- package/dist/components/ui/Counter.js.map +1 -1
- package/dist/components/ui/DatePicker.cjs +14 -274
- package/dist/components/ui/DatePicker.cjs.map +1 -1
- package/dist/components/ui/DatePicker.js +10 -245
- package/dist/components/ui/DatePicker.js.map +1 -1
- package/dist/components/ui/DismissibleBanner.cjs +9 -77
- package/dist/components/ui/DismissibleBanner.cjs.map +1 -1
- package/dist/components/ui/DismissibleBanner.js +4 -56
- package/dist/components/ui/DismissibleBanner.js.map +1 -1
- package/dist/components/ui/ErrorMessage.cjs +7 -36
- package/dist/components/ui/ErrorMessage.cjs.map +1 -1
- package/dist/components/ui/ErrorMessage.js +4 -16
- package/dist/components/ui/ErrorMessage.js.map +1 -1
- package/dist/components/ui/Icon.cjs +9 -108
- package/dist/components/ui/Icon.cjs.map +1 -1
- package/dist/components/ui/Icon.js +4 -87
- package/dist/components/ui/Icon.js.map +1 -1
- package/dist/components/ui/Input.cjs +9 -186
- package/dist/components/ui/Input.cjs.map +1 -1
- package/dist/components/ui/Input.js +7 -159
- package/dist/components/ui/Input.js.map +1 -1
- package/dist/components/ui/InputOtp.cjs +12 -175
- package/dist/components/ui/InputOtp.cjs.map +1 -1
- package/dist/components/ui/InputOtp.js +8 -145
- package/dist/components/ui/InputOtp.js.map +1 -1
- package/dist/components/ui/Label.cjs +7 -79
- package/dist/components/ui/Label.cjs.map +1 -1
- package/dist/components/ui/Label.js +5 -52
- package/dist/components/ui/Label.js.map +1 -1
- package/dist/components/ui/LinkButton.cjs +10 -58
- package/dist/components/ui/LinkButton.cjs.map +1 -1
- package/dist/components/ui/LinkButton.js +3 -25
- package/dist/components/ui/LinkButton.js.map +1 -1
- package/dist/components/ui/ListItem.cjs +8 -150
- package/dist/components/ui/ListItem.cjs.map +1 -1
- package/dist/components/ui/ListItem.js +6 -125
- package/dist/components/ui/ListItem.js.map +1 -1
- package/dist/components/ui/Map/ClusterMarker.cjs +9 -74
- package/dist/components/ui/Map/ClusterMarker.cjs.map +1 -1
- package/dist/components/ui/Map/ClusterMarker.js +5 -55
- package/dist/components/ui/Map/ClusterMarker.js.map +1 -1
- package/dist/components/ui/Map/FocusCircle.cjs +9 -81
- package/dist/components/ui/Map/FocusCircle.cjs.map +1 -1
- package/dist/components/ui/Map/FocusCircle.js +4 -61
- package/dist/components/ui/Map/FocusCircle.js.map +1 -1
- package/dist/components/ui/Map/IndividualMarker.cjs +9 -55
- package/dist/components/ui/Map/IndividualMarker.cjs.map +1 -1
- package/dist/components/ui/Map/IndividualMarker.js +4 -35
- package/dist/components/ui/Map/IndividualMarker.js.map +1 -1
- package/dist/components/ui/Map/MapComponent.cjs +16 -395
- package/dist/components/ui/Map/MapComponent.cjs.map +1 -1
- package/dist/components/ui/Map/MapComponent.js +12 -366
- package/dist/components/ui/Map/MapComponent.js.map +1 -1
- package/dist/components/ui/Map/MapContent.cjs +13 -273
- package/dist/components/ui/Map/MapContent.cjs.map +1 -1
- package/dist/components/ui/Map/MapContent.js +9 -254
- package/dist/components/ui/Map/MapContent.js.map +1 -1
- package/dist/components/ui/Map/clustering.cjs +13 -99
- package/dist/components/ui/Map/clustering.cjs.map +1 -1
- package/dist/components/ui/Map/clustering.js +5 -76
- package/dist/components/ui/Map/clustering.js.map +1 -1
- package/dist/components/ui/Map/constants.cjs +33 -61
- package/dist/components/ui/Map/constants.cjs.map +1 -1
- package/dist/components/ui/Map/constants.js +3 -33
- package/dist/components/ui/Map/constants.js.map +1 -1
- package/dist/components/ui/Map/hooks.cjs +18 -90
- package/dist/components/ui/Map/hooks.cjs.map +1 -1
- package/dist/components/ui/Map/hooks.js +6 -58
- package/dist/components/ui/Map/hooks.js.map +1 -1
- package/dist/components/ui/Map/index.cjs +21 -400
- package/dist/components/ui/Map/index.cjs.map +1 -1
- package/dist/components/ui/Map/index.js +13 -364
- package/dist/components/ui/Map/index.js.map +1 -1
- package/dist/components/ui/Map/types.cjs +2 -17
- package/dist/components/ui/Map/types.cjs.map +1 -1
- package/dist/components/ui/Map/types.js +2 -0
- package/dist/components/ui/Map/types.js.map +1 -1
- package/dist/components/ui/Map/utils.cjs +25 -75
- package/dist/components/ui/Map/utils.cjs.map +1 -1
- package/dist/components/ui/Map/utils.js +4 -48
- package/dist/components/ui/Map/utils.js.map +1 -1
- package/dist/components/ui/PlacesQueryInput.cjs +9 -301
- package/dist/components/ui/PlacesQueryInput.cjs.map +1 -1
- package/dist/components/ui/PlacesQueryInput.js +7 -275
- package/dist/components/ui/PlacesQueryInput.js.map +1 -1
- package/dist/components/ui/Radio.cjs +12 -151
- package/dist/components/ui/Radio.cjs.map +1 -1
- package/dist/components/ui/Radio.js +8 -123
- package/dist/components/ui/Radio.js.map +1 -1
- package/dist/components/ui/ReadMore.cjs +9 -340
- package/dist/components/ui/ReadMore.cjs.map +1 -1
- package/dist/components/ui/ReadMore.js +5 -311
- package/dist/components/ui/ReadMore.js.map +1 -1
- package/dist/components/ui/Select.cjs +11 -303
- package/dist/components/ui/Select.cjs.map +1 -1
- package/dist/components/ui/Select.js +9 -282
- package/dist/components/ui/Select.js.map +1 -1
- package/dist/components/ui/StepTabs.cjs +9 -129
- package/dist/components/ui/StepTabs.cjs.map +1 -1
- package/dist/components/ui/StepTabs.js +4 -99
- package/dist/components/ui/StepTabs.js.map +1 -1
- package/dist/components/ui/Switch.cjs +9 -69
- package/dist/components/ui/Switch.cjs.map +1 -1
- package/dist/components/ui/Switch.js +5 -39
- package/dist/components/ui/Switch.js.map +1 -1
- package/dist/components/ui/buttonShadcn.cjs +13 -81
- package/dist/components/ui/buttonShadcn.cjs.map +1 -1
- package/dist/components/ui/buttonShadcn.js +4 -49
- package/dist/components/ui/buttonShadcn.js.map +1 -1
- package/dist/components/ui/calendar.cjs +9 -135
- package/dist/components/ui/calendar.cjs.map +1 -1
- package/dist/components/ui/calendar.js +5 -106
- package/dist/components/ui/calendar.js.map +1 -1
- package/dist/contexts/WindowHistoryProvider.cjs +13 -43
- package/dist/contexts/WindowHistoryProvider.cjs.map +1 -1
- package/dist/contexts/WindowHistoryProvider.js +3 -21
- package/dist/contexts/WindowHistoryProvider.js.map +1 -1
- package/dist/hooks/useDisplayText.cjs +10 -496
- package/dist/hooks/useDisplayText.cjs.map +1 -1
- package/dist/hooks/useDisplayText.js +6 -476
- package/dist/hooks/useDisplayText.js.map +1 -1
- package/dist/hooks/useWindowHistory.cjs +9 -37
- package/dist/hooks/useWindowHistory.cjs.map +1 -1
- package/dist/hooks/useWindowHistory.js +4 -16
- package/dist/hooks/useWindowHistory.js.map +1 -1
- package/dist/index.cjs +216 -4128
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +73 -4107
- package/dist/index.js.map +1 -1
- package/dist/lib/google.cjs +21 -81
- package/dist/lib/google.cjs.map +1 -1
- package/dist/lib/google.js +3 -57
- package/dist/lib/google.js.map +1 -1
- package/dist/lib/icons.cjs +10 -50
- package/dist/lib/icons.cjs.map +1 -1
- package/dist/lib/icons.js +3 -48
- package/dist/lib/icons.js.map +1 -1
- package/dist/lib/locations.cjs +17 -66
- package/dist/lib/locations.cjs.map +1 -1
- package/dist/lib/locations.js +3 -42
- package/dist/lib/locations.js.map +1 -1
- package/dist/lib/mappings.cjs +45 -439
- package/dist/lib/mappings.cjs.map +1 -1
- package/dist/lib/mappings.js +3 -408
- package/dist/lib/mappings.js.map +1 -1
- package/dist/lib/salaryRange.cjs +14 -453
- package/dist/lib/salaryRange.cjs.map +1 -1
- package/dist/lib/salaryRange.js +10 -437
- package/dist/lib/salaryRange.js.map +1 -1
- package/dist/lib/utils.cjs +10 -32
- package/dist/lib/utils.cjs.map +1 -1
- package/dist/lib/utils.js +3 -9
- package/dist/lib/utils.js.map +1 -1
- package/dist/services/displayText.cjs +9 -464
- package/dist/services/displayText.cjs.map +1 -1
- package/dist/services/displayText.js +5 -442
- package/dist/services/displayText.js.map +1 -1
- package/dist/types/data/company_service_latest.cjs +73 -246
- package/dist/types/data/company_service_latest.cjs.map +1 -1
- package/dist/types/data/company_service_latest.js +4 -209
- package/dist/types/data/company_service_latest.js.map +1 -1
- package/dist/types/data/job_posting_service_latest.cjs +42 -276
- package/dist/types/data/job_posting_service_latest.cjs.map +1 -1
- package/dist/types/data/job_posting_service_latest.js +5 -256
- package/dist/types/data/job_posting_service_latest.js.map +1 -1
- package/dist/types/data/shared_pickle_output_latest.cjs +39 -99
- package/dist/types/data/shared_pickle_output_latest.cjs.map +1 -1
- package/dist/types/data/shared_pickle_output_latest.js +3 -74
- package/dist/types/data/shared_pickle_output_latest.js.map +1 -1
- package/dist/types/displayText.errors.cjs +13 -40
- package/dist/types/displayText.errors.cjs.map +1 -1
- package/dist/types/displayText.errors.js +3 -17
- package/dist/types/displayText.errors.js.map +1 -1
- package/dist/types/index.cjs +28 -494
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.js +9 -478
- package/dist/types/index.js.map +1 -1
- package/dist/types/latest/company_service_latest.cjs +73 -246
- package/dist/types/latest/company_service_latest.cjs.map +1 -1
- package/dist/types/latest/company_service_latest.js +4 -209
- package/dist/types/latest/company_service_latest.js.map +1 -1
- package/dist/types/latest/custom/company_service_sanity.cjs +46 -307
- package/dist/types/latest/custom/company_service_sanity.cjs.map +1 -1
- package/dist/types/latest/custom/company_service_sanity.js +6 -287
- package/dist/types/latest/custom/company_service_sanity.js.map +1 -1
- package/dist/types/latest/custom/custom_sanity_models.cjs +13 -39
- package/dist/types/latest/custom/custom_sanity_models.cjs.map +1 -1
- package/dist/types/latest/custom/custom_sanity_models.js +3 -16
- package/dist/types/latest/custom/custom_sanity_models.js.map +1 -1
- package/dist/types/latest/custom/job_posting_service_sanity.cjs +66 -353
- package/dist/types/latest/custom/job_posting_service_sanity.cjs.map +1 -1
- package/dist/types/latest/custom/job_posting_service_sanity.js +7 -330
- package/dist/types/latest/custom/job_posting_service_sanity.js.map +1 -1
- package/dist/types/latest/job_posting_service_latest.cjs +42 -276
- package/dist/types/latest/job_posting_service_latest.cjs.map +1 -1
- package/dist/types/latest/job_posting_service_latest.js +5 -256
- package/dist/types/latest/job_posting_service_latest.js.map +1 -1
- package/dist/types/latest/shared_pickle_output_latest.cjs +39 -99
- package/dist/types/latest/shared_pickle_output_latest.cjs.map +1 -1
- package/dist/types/latest/shared_pickle_output_latest.js +3 -74
- package/dist/types/latest/shared_pickle_output_latest.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,1821 +1,43 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
)
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
function
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
// src/components/ui/LinkButton.tsx
|
|
46
|
-
var import_link = __toESM(require("next/link"), 1);
|
|
47
|
-
var import_react = __toESM(require("react"), 1);
|
|
48
|
-
var LinkButton = ({
|
|
49
|
-
disabled = false,
|
|
50
|
-
useAnchor = false,
|
|
51
|
-
children,
|
|
52
|
-
href,
|
|
53
|
-
...props
|
|
54
|
-
}) => {
|
|
55
|
-
const Component = useAnchor ? "a" : import_link.default;
|
|
56
|
-
return /* @__PURE__ */ import_react.default.createElement(
|
|
57
|
-
Component,
|
|
58
|
-
{
|
|
59
|
-
href,
|
|
60
|
-
className: `inline-flex items-center justify-center gap-2 rounded-full text-sm font-bold leading-tight text-black underline outline-dashed outline-2 outline-offset-2 outline-transparent hover:text-purple-100 focus:text-black focus:outline-purple-100 active:text-purple-80 ${disabled ? "pointer-events-none text-grey-40" : ""} `,
|
|
61
|
-
...disabled && { "aria-disabled": true, tabIndex: -1 },
|
|
62
|
-
...props
|
|
63
|
-
},
|
|
64
|
-
children
|
|
65
|
-
);
|
|
66
|
-
};
|
|
67
|
-
|
|
68
|
-
// src/components/company/CompanyInformation.tsx
|
|
69
|
-
function CompanyInformation({
|
|
70
|
-
name,
|
|
71
|
-
how,
|
|
72
|
-
mission,
|
|
73
|
-
wow,
|
|
74
|
-
website
|
|
75
|
-
}) {
|
|
76
|
-
return /* @__PURE__ */ React.createElement("div", { className: "flex flex-col gap-2" }, /* @__PURE__ */ React.createElement(
|
|
77
|
-
"h2",
|
|
78
|
-
{
|
|
79
|
-
"data-testid": "company-name",
|
|
80
|
-
className: "break-word max-w-full text-xl font-bold text-black sm:max-w-2xl md:max-w-lg"
|
|
81
|
-
},
|
|
82
|
-
"About ",
|
|
83
|
-
name
|
|
84
|
-
), how && /* @__PURE__ */ React.createElement("p", { "data-testid": "company-information", className: "text-base text-grey-80" }, how), mission && /* @__PURE__ */ React.createElement("div", { className: "flex gap-2" }, /* @__PURE__ */ React.createElement("span", null, "\u{1F680}"), /* @__PURE__ */ React.createElement("p", { className: "text-base text-grey-80" }, /* @__PURE__ */ React.createElement("span", { className: "pr-1 font-bold" }, "Mission"), mission)), wow && /* @__PURE__ */ React.createElement("div", { className: "flex gap-2" }, /* @__PURE__ */ React.createElement("span", null, "\u{1F31F}"), /* @__PURE__ */ React.createElement("p", { className: "text-base text-grey-80" }, /* @__PURE__ */ React.createElement("span", { className: "pr-1 font-bold" }, "Wow Factor"), wow)), website && /* @__PURE__ */ React.createElement("div", { className: "pt-2" }, /* @__PURE__ */ React.createElement(
|
|
85
|
-
LinkButton,
|
|
86
|
-
{
|
|
87
|
-
"data-testid": "company-website-link",
|
|
88
|
-
href: website,
|
|
89
|
-
target: "_blank",
|
|
90
|
-
rel: "noopener noreferrer"
|
|
91
|
-
},
|
|
92
|
-
"Website"
|
|
93
|
-
)));
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// src/components/ui/Avatar.tsx
|
|
97
|
-
var import_cva = require("cva");
|
|
98
|
-
var import_link2 = __toESM(require("next/link"), 1);
|
|
99
|
-
|
|
100
|
-
// src/components/primitives/avatar.tsx
|
|
101
|
-
var AvatarPrimitive = __toESM(require("@radix-ui/react-avatar"), 1);
|
|
102
|
-
var React3 = __toESM(require("react"), 1);
|
|
103
|
-
|
|
104
|
-
// src/lib/utils.ts
|
|
105
|
-
var import_clsx = require("clsx");
|
|
106
|
-
var import_tailwind_merge = require("tailwind-merge");
|
|
107
|
-
function cn(...inputs) {
|
|
108
|
-
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
// src/components/primitives/avatar.tsx
|
|
112
|
-
var AvatarBase = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React3.createElement(
|
|
113
|
-
AvatarPrimitive.Root,
|
|
114
|
-
{
|
|
115
|
-
ref,
|
|
116
|
-
className: cn("relative flex shrink-0 overflow-hidden rounded-full", className),
|
|
117
|
-
...props
|
|
118
|
-
}
|
|
119
|
-
));
|
|
120
|
-
AvatarBase.displayName = AvatarPrimitive.Root.displayName;
|
|
121
|
-
var AvatarImage = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React3.createElement(
|
|
122
|
-
AvatarPrimitive.Image,
|
|
123
|
-
{
|
|
124
|
-
ref,
|
|
125
|
-
className: cn("aspect-square h-full w-full", className),
|
|
126
|
-
"data-testid": "job-card-avatar",
|
|
127
|
-
...props
|
|
128
|
-
}
|
|
129
|
-
));
|
|
130
|
-
AvatarImage.displayName = AvatarPrimitive.Image.displayName;
|
|
131
|
-
var AvatarFallback = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React3.createElement(
|
|
132
|
-
AvatarPrimitive.Fallback,
|
|
133
|
-
{
|
|
134
|
-
ref,
|
|
135
|
-
className: cn(
|
|
136
|
-
"flex h-full w-full items-center justify-center rounded-full bg-pumpkin-100 py-2 text-sm font-bold capitalize leading-normal text-white md:text-lg",
|
|
137
|
-
className
|
|
138
|
-
),
|
|
139
|
-
...props
|
|
140
|
-
}
|
|
141
|
-
));
|
|
142
|
-
AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;
|
|
143
|
-
|
|
144
|
-
// src/components/ui/Avatar.tsx
|
|
145
|
-
function Avatar({ size, src, href, name, ...linkProps }) {
|
|
146
|
-
const fallbackShort = name?.slice(0, 2);
|
|
147
|
-
const fallbackWords = name?.split(" ").map((n) => n[0]).join("").slice(0, 2);
|
|
148
|
-
const fallback = fallbackWords && fallbackWords.length > 1 ? fallbackWords : fallbackShort;
|
|
149
|
-
const renderAvatar = () => /* @__PURE__ */ React.createElement(AvatarBase, { className: avatarVariants({ size }) }, /* @__PURE__ */ React.createElement(AvatarImage, { src, alt: name }), /* @__PURE__ */ React.createElement(AvatarFallback, null, fallback?.toUpperCase()));
|
|
150
|
-
if (href) {
|
|
151
|
-
return /* @__PURE__ */ React.createElement(import_link2.default, { href, ...linkProps }, renderAvatar());
|
|
152
|
-
}
|
|
153
|
-
return renderAvatar();
|
|
154
|
-
}
|
|
155
|
-
var avatarVariants = (0, import_cva.cva)("ring ring-white ring-2", {
|
|
156
|
-
variants: {
|
|
157
|
-
size: {
|
|
158
|
-
large: "h-16 w-16",
|
|
159
|
-
medium: "h-10 w-10",
|
|
160
|
-
small: "h-8 w-8"
|
|
161
|
-
}
|
|
162
|
-
},
|
|
163
|
-
defaultVariants: {
|
|
164
|
-
size: "medium"
|
|
165
|
-
}
|
|
166
|
-
});
|
|
167
|
-
|
|
168
|
-
// src/components/company/CompanyTake.tsx
|
|
169
|
-
function CompanyTake({ content, avatarSrc }) {
|
|
170
|
-
if (!content) return null;
|
|
171
|
-
return /* @__PURE__ */ React.createElement(
|
|
172
|
-
"div",
|
|
173
|
-
{
|
|
174
|
-
"data-testid": "company-take",
|
|
175
|
-
className: "align-center w-full justify-start rounded-2xl bg-green-90 p-6"
|
|
176
|
-
},
|
|
177
|
-
/* @__PURE__ */ React.createElement("p", { className: "text-lg font-bold text-white sm:text-xl" }, "The Real Dill \u2618\uFE0F"),
|
|
178
|
-
/* @__PURE__ */ React.createElement("div", { className: "mt-2 flex items-center justify-start" }, /* @__PURE__ */ React.createElement("p", { className: "text-sm font-normal text-grey-10" }, content)),
|
|
179
|
-
/* @__PURE__ */ React.createElement("div", { className: "mt-8 flex w-full items-center gap-3" }, /* @__PURE__ */ React.createElement(Avatar, { name: "Jon Lee", src: avatarSrc }), /* @__PURE__ */ React.createElement("div", { className: "flex flex-col flex-wrap items-start" }, /* @__PURE__ */ React.createElement("p", { className: "text-sm font-bold text-white" }, "Jon Lee, PT, DPT, OCS, FAAOMPT, MBA"), /* @__PURE__ */ React.createElement("p", { className: "text-xs font-normal text-grey-30" }, "Pickle co-founder")))
|
|
180
|
-
);
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
// src/components/ui/ReadMore.tsx
|
|
184
|
-
var import_react3 = require("react");
|
|
185
|
-
var import_react_markdown = __toESM(require("react-markdown"), 1);
|
|
186
|
-
|
|
187
|
-
// src/components/ui/Button.tsx
|
|
188
|
-
var import_react_slot = require("@radix-ui/react-slot");
|
|
189
|
-
var import_cva2 = require("cva");
|
|
190
|
-
var import_lucide_react = require("lucide-react");
|
|
191
|
-
var import_react2 = __toESM(require("react"), 1);
|
|
192
|
-
var Button = (0, import_react2.forwardRef)(
|
|
193
|
-
({
|
|
194
|
-
className,
|
|
195
|
-
variant,
|
|
196
|
-
size,
|
|
197
|
-
asChild = false,
|
|
198
|
-
type = "button",
|
|
199
|
-
children,
|
|
200
|
-
isLoading = false,
|
|
201
|
-
...props
|
|
202
|
-
}, ref) => {
|
|
203
|
-
const Component = asChild ? import_react_slot.Slot : "button";
|
|
204
|
-
return /* @__PURE__ */ import_react2.default.createElement(
|
|
205
|
-
Component,
|
|
206
|
-
{
|
|
207
|
-
className: cn(buttonVariants({ variant, size, className, isLoading, asChild })),
|
|
208
|
-
type,
|
|
209
|
-
ref,
|
|
210
|
-
...props
|
|
211
|
-
},
|
|
212
|
-
asChild ? children : /* @__PURE__ */ import_react2.default.createElement(import_react2.default.Fragment, null, children, isLoading && /* @__PURE__ */ import_react2.default.createElement("div", { className: "absolute inset-0 flex items-center justify-center bg-white/30 backdrop-blur-[0.5px]" }, /* @__PURE__ */ import_react2.default.createElement(import_lucide_react.Loader2, { className: "h-5 w-5 animate-spin text-gray-800" })))
|
|
213
|
-
);
|
|
214
|
-
}
|
|
215
|
-
);
|
|
216
|
-
Button.displayName = "Button";
|
|
217
|
-
var buttonVariants = (0, import_cva2.cva)(
|
|
218
|
-
[
|
|
219
|
-
"relative",
|
|
220
|
-
"flex",
|
|
221
|
-
"items-center",
|
|
222
|
-
"justify-center",
|
|
223
|
-
"gap-2",
|
|
224
|
-
"rounded-full",
|
|
225
|
-
"font-bold",
|
|
226
|
-
"outline-2",
|
|
227
|
-
"outline-offset-2",
|
|
228
|
-
"outline-dashed",
|
|
229
|
-
"outline-transparent",
|
|
230
|
-
"overflow-hidden"
|
|
231
|
-
],
|
|
232
|
-
{
|
|
233
|
-
variants: {
|
|
234
|
-
variant: {
|
|
235
|
-
neutral: [
|
|
236
|
-
"bg-black",
|
|
237
|
-
"text-white",
|
|
238
|
-
"hover:bg-grey-90",
|
|
239
|
-
"active:bg-grey-80",
|
|
240
|
-
"focus:outline-purple-100",
|
|
241
|
-
"disabled:text-grey-40",
|
|
242
|
-
"disabled:bg-grey-10"
|
|
243
|
-
],
|
|
244
|
-
primary: [
|
|
245
|
-
"bg-pickle-100",
|
|
246
|
-
"text-black",
|
|
247
|
-
"hover:bg-pickle-80",
|
|
248
|
-
"active:bg-pickle-60",
|
|
249
|
-
"focus:outline-purple-100",
|
|
250
|
-
"disabled:text-grey-40",
|
|
251
|
-
"disabled:bg-grey-10"
|
|
252
|
-
],
|
|
253
|
-
secondary: [
|
|
254
|
-
"bg-green-80",
|
|
255
|
-
"text-white",
|
|
256
|
-
"hover:bg-green-90",
|
|
257
|
-
"active:bg-green-100",
|
|
258
|
-
"focus:outline-pickle-100",
|
|
259
|
-
"disabled:text-grey-40",
|
|
260
|
-
"disabled:bg-grey-10"
|
|
261
|
-
],
|
|
262
|
-
transparent: [
|
|
263
|
-
"text-white",
|
|
264
|
-
"hover:bg-green-80",
|
|
265
|
-
"active:bg-green-100",
|
|
266
|
-
"focus:outline-pickle-100",
|
|
267
|
-
"disabled:text-grey-40"
|
|
268
|
-
],
|
|
269
|
-
link: [
|
|
270
|
-
"leading-tight",
|
|
271
|
-
"text-black",
|
|
272
|
-
"underline",
|
|
273
|
-
"hover:text-purple-100",
|
|
274
|
-
"focus:text-black",
|
|
275
|
-
"focus:outline-purple-100",
|
|
276
|
-
"active:text-purple-80"
|
|
277
|
-
],
|
|
278
|
-
"outline-primary": [
|
|
279
|
-
"bg-transparent",
|
|
280
|
-
"border-2",
|
|
281
|
-
"border-pickle-100",
|
|
282
|
-
"text-pickle-100",
|
|
283
|
-
"hover:bg-pickle-100",
|
|
284
|
-
"hover:text-black",
|
|
285
|
-
"active:bg-pickle-80",
|
|
286
|
-
"active:text-black",
|
|
287
|
-
"focus:outline-purple-100",
|
|
288
|
-
"disabled:text-grey-40",
|
|
289
|
-
"disabled:border-grey-40",
|
|
290
|
-
"disabled:hover:bg-transparent",
|
|
291
|
-
"disabled:hover:text-grey-40"
|
|
292
|
-
],
|
|
293
|
-
"outline-secondary": [
|
|
294
|
-
"bg-transparent",
|
|
295
|
-
"border-2",
|
|
296
|
-
"border-green-80",
|
|
297
|
-
"text-green-80",
|
|
298
|
-
"hover:bg-green-80",
|
|
299
|
-
"hover:text-white",
|
|
300
|
-
"active:bg-green-90",
|
|
301
|
-
"active:text-white",
|
|
302
|
-
"focus:outline-pickle-100",
|
|
303
|
-
"disabled:text-grey-40",
|
|
304
|
-
"disabled:border-grey-40",
|
|
305
|
-
"disabled:hover:bg-transparent",
|
|
306
|
-
"disabled:hover:text-grey-40"
|
|
307
|
-
],
|
|
308
|
-
"icon-outline": [
|
|
309
|
-
"bg-transparent",
|
|
310
|
-
"text-black",
|
|
311
|
-
"hover:bg-grey-5",
|
|
312
|
-
"active:bg-grey-10",
|
|
313
|
-
"focus:outline-purple-100",
|
|
314
|
-
"disabled:text-grey-40",
|
|
315
|
-
"disabled:hover:bg-transparent",
|
|
316
|
-
"disabled:hover:text-grey-40"
|
|
317
|
-
],
|
|
318
|
-
"icon-primary": [
|
|
319
|
-
"bg-pickle-100",
|
|
320
|
-
"text-black",
|
|
321
|
-
"hover:bg-pickle-80",
|
|
322
|
-
"active:bg-pickle-60",
|
|
323
|
-
"focus:outline-purple-100",
|
|
324
|
-
"disabled:text-grey-40",
|
|
325
|
-
"disabled:bg-grey-10"
|
|
326
|
-
],
|
|
327
|
-
"icon-secondary": [
|
|
328
|
-
"bg-green-80",
|
|
329
|
-
"text-white",
|
|
330
|
-
"hover:bg-green-90",
|
|
331
|
-
"active:bg-green-100",
|
|
332
|
-
"focus:outline-pickle-100",
|
|
333
|
-
"disabled:text-grey-40",
|
|
334
|
-
"disabled:bg-grey-10"
|
|
335
|
-
]
|
|
336
|
-
},
|
|
337
|
-
size: {
|
|
338
|
-
"extra-small": ["h-8", "text-xs", "px-3", "py-1"],
|
|
339
|
-
small: ["h-10", "text-sm", "px-4", "py-2"],
|
|
340
|
-
medium: ["h-12", "text-base", "px-6", "py-3"],
|
|
341
|
-
large: ["h-14", "text-lg", "px-8", "py-4"]
|
|
342
|
-
},
|
|
343
|
-
isLoading: {
|
|
344
|
-
true: ["cursor-not-allowed", "pointer-events-none"]
|
|
345
|
-
},
|
|
346
|
-
asChild: {
|
|
347
|
-
true: [],
|
|
348
|
-
false: ["cursor-pointer", "pointer-events-auto"]
|
|
349
|
-
}
|
|
350
|
-
},
|
|
351
|
-
defaultVariants: {
|
|
352
|
-
variant: "neutral",
|
|
353
|
-
size: "medium",
|
|
354
|
-
isLoading: false,
|
|
355
|
-
asChild: false
|
|
356
|
-
},
|
|
357
|
-
compoundVariants: [
|
|
358
|
-
{
|
|
359
|
-
variant: "link",
|
|
360
|
-
size: "extra-small",
|
|
361
|
-
class: ["h-3", "text-xs", "p-0"]
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
variant: "link",
|
|
365
|
-
size: "small",
|
|
366
|
-
class: ["h-3", "text-xs", "p-0"]
|
|
367
|
-
},
|
|
368
|
-
{
|
|
369
|
-
variant: "link",
|
|
370
|
-
size: "medium",
|
|
371
|
-
class: ["h-4", "text-sm", "p-0"]
|
|
372
|
-
},
|
|
373
|
-
{
|
|
374
|
-
variant: "link",
|
|
375
|
-
size: "large",
|
|
376
|
-
class: ["h-6", "text-base", "p-0"]
|
|
377
|
-
},
|
|
378
|
-
{
|
|
379
|
-
variant: "icon-outline",
|
|
380
|
-
size: "extra-small",
|
|
381
|
-
class: ["h-8", "w-8", "p-1.5", "[&>svg]:w-5", "[&>svg]:h-5"]
|
|
382
|
-
},
|
|
383
|
-
{
|
|
384
|
-
variant: "icon-outline",
|
|
385
|
-
size: "small",
|
|
386
|
-
class: ["h-10", "w-10", "p-2", "[&>svg]:w-6", "[&>svg]:h-6"]
|
|
387
|
-
},
|
|
388
|
-
{
|
|
389
|
-
variant: "icon-outline",
|
|
390
|
-
size: "medium",
|
|
391
|
-
class: ["h-12", "w-12", "p-2.5", "[&>svg]:w-7", "[&>svg]:h-7"]
|
|
392
|
-
},
|
|
393
|
-
{
|
|
394
|
-
variant: "icon-outline",
|
|
395
|
-
size: "large",
|
|
396
|
-
class: ["h-14", "w-14", "p-3", "[&>svg]:w-8", "[&>svg]:h-8"]
|
|
397
|
-
},
|
|
398
|
-
{
|
|
399
|
-
variant: "icon-primary",
|
|
400
|
-
size: "extra-small",
|
|
401
|
-
class: ["h-8", "w-8", "p-1.5", "[&>svg]:w-5", "[&>svg]:h-5"]
|
|
402
|
-
},
|
|
403
|
-
{
|
|
404
|
-
variant: "icon-primary",
|
|
405
|
-
size: "small",
|
|
406
|
-
class: ["h-10", "w-10", "p-2", "[&>svg]:w-6", "[&>svg]:h-6"]
|
|
407
|
-
},
|
|
408
|
-
{
|
|
409
|
-
variant: "icon-primary",
|
|
410
|
-
size: "medium",
|
|
411
|
-
class: ["h-12", "w-12", "p-2.5", "[&>svg]:w-7", "[&>svg]:h-7"]
|
|
412
|
-
},
|
|
413
|
-
{
|
|
414
|
-
variant: "icon-primary",
|
|
415
|
-
size: "large",
|
|
416
|
-
class: ["h-14", "w-14", "p-3", "[&>svg]:w-8", "[&>svg]:h-8"]
|
|
417
|
-
},
|
|
418
|
-
{
|
|
419
|
-
variant: "icon-secondary",
|
|
420
|
-
size: "extra-small",
|
|
421
|
-
class: ["h-8", "w-8", "p-1.5", "[&>svg]:w-5", "[&>svg]:h-5"]
|
|
422
|
-
},
|
|
423
|
-
{
|
|
424
|
-
variant: "icon-secondary",
|
|
425
|
-
size: "small",
|
|
426
|
-
class: ["h-10", "w-10", "p-2", "[&>svg]:w-6", "[&>svg]:h-6"]
|
|
427
|
-
},
|
|
428
|
-
{
|
|
429
|
-
variant: "icon-secondary",
|
|
430
|
-
size: "medium",
|
|
431
|
-
class: ["h-12", "w-12", "p-2.5", "[&>svg]:w-7", "[&>svg]:h-7"]
|
|
432
|
-
},
|
|
433
|
-
{
|
|
434
|
-
variant: "icon-secondary",
|
|
435
|
-
size: "large",
|
|
436
|
-
class: ["h-14", "w-14", "p-3", "[&>svg]:w-8", "[&>svg]:h-8"]
|
|
437
|
-
}
|
|
438
|
-
]
|
|
439
|
-
}
|
|
440
|
-
);
|
|
441
|
-
|
|
442
|
-
// src/components/ui/ReadMore.tsx
|
|
443
|
-
function ReadMore({ text, ...props }) {
|
|
444
|
-
const [isExpanded, setIsExpanded] = (0, import_react3.useState)(false);
|
|
445
|
-
const [maxWords, setMaxWords] = (0, import_react3.useState)(160);
|
|
446
|
-
const isOverMaxWords = text.split(" ").length > maxWords;
|
|
447
|
-
(0, import_react3.useEffect)(() => {
|
|
448
|
-
const updateMaxWords = () => {
|
|
449
|
-
const windowWidth = window.innerWidth;
|
|
450
|
-
if (windowWidth <= 768) {
|
|
451
|
-
setMaxWords(50);
|
|
452
|
-
} else {
|
|
453
|
-
setMaxWords(160);
|
|
454
|
-
}
|
|
455
|
-
};
|
|
456
|
-
updateMaxWords();
|
|
457
|
-
window.addEventListener("resize", updateMaxWords);
|
|
458
|
-
return () => window.removeEventListener("resize", updateMaxWords);
|
|
459
|
-
}, []);
|
|
460
|
-
function createReadMoreText(text2, maxWords2, isExpanded2) {
|
|
461
|
-
if (!isOverMaxWords) return text2;
|
|
462
|
-
const words = text2.split(" ");
|
|
463
|
-
const snippet2 = isExpanded2 ? text2 : words.slice(0, maxWords2).join(" ");
|
|
464
|
-
const readMoreText = isExpanded2 ? "" : "...";
|
|
465
|
-
return `${snippet2} ${readMoreText}`;
|
|
466
|
-
}
|
|
467
|
-
const toggleText = () => setIsExpanded(!isExpanded);
|
|
468
|
-
const snippet = createReadMoreText(text, maxWords, isExpanded);
|
|
469
|
-
return /* @__PURE__ */ React.createElement("div", { ...props }, /* @__PURE__ */ React.createElement("div", { "data-testid": "read-more-text", className: "prose lg:prose-lg" }, /* @__PURE__ */ React.createElement(import_react_markdown.default, null, snippet)), isOverMaxWords && /* @__PURE__ */ React.createElement(
|
|
470
|
-
Button,
|
|
471
|
-
{
|
|
472
|
-
type: "button",
|
|
473
|
-
className: "mt-2 flex items-center justify-center",
|
|
474
|
-
variant: "link",
|
|
475
|
-
onClick: toggleText
|
|
476
|
-
},
|
|
477
|
-
/* @__PURE__ */ React.createElement("p", { className: "text-sm font-bold underline underline-offset-2" }, "Read ", isExpanded ? "less" : "more")
|
|
478
|
-
));
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
// src/components/jobPost/JobDescription.tsx
|
|
482
|
-
function JobDescription({ description }) {
|
|
483
|
-
if (!description) return null;
|
|
484
|
-
return /* @__PURE__ */ React.createElement("div", { className: "flex w-full flex-col gap-2" }, /* @__PURE__ */ React.createElement("h3", { className: "text-xl font-bold" }, "Job Description"), /* @__PURE__ */ React.createElement(ReadMore, { text: description }));
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
// src/components/jobPost/JobHeader.tsx
|
|
488
|
-
var import_lucide_react4 = require("lucide-react");
|
|
489
|
-
var import_image = __toESM(require("next/image"), 1);
|
|
490
|
-
|
|
491
|
-
// src/components/buttons/BackButton.tsx
|
|
492
|
-
var import_lucide_react2 = require("lucide-react");
|
|
493
|
-
var import_navigation2 = require("next/navigation");
|
|
494
|
-
|
|
495
|
-
// src/components/ui/Icon.tsx
|
|
496
|
-
var import_react_slot2 = require("@radix-ui/react-slot");
|
|
497
|
-
var import_cva3 = require("cva");
|
|
498
|
-
var import_react4 = require("react");
|
|
499
|
-
var import_tailwind_merge2 = require("tailwind-merge");
|
|
500
|
-
var Icon = (0, import_react4.forwardRef)(
|
|
501
|
-
({ variant, size, active = false, readonly = false, className, ...props }, ref) => {
|
|
502
|
-
const Component = readonly ? import_react_slot2.Slot : "button";
|
|
503
|
-
return /* @__PURE__ */ React.createElement(
|
|
504
|
-
Component,
|
|
505
|
-
{
|
|
506
|
-
className: cn(
|
|
507
|
-
(0, import_tailwind_merge2.twMerge)(iconVariants({ variant: active ? "active" : variant, size })),
|
|
508
|
-
className
|
|
509
|
-
),
|
|
510
|
-
...props,
|
|
511
|
-
ref
|
|
512
|
-
}
|
|
513
|
-
);
|
|
514
|
-
}
|
|
515
|
-
);
|
|
516
|
-
Icon.displayName = "Icon";
|
|
517
|
-
var iconVariants = (0, import_cva3.cva)(
|
|
518
|
-
[
|
|
519
|
-
"inline-flex",
|
|
520
|
-
"items-center",
|
|
521
|
-
"rounded-full",
|
|
522
|
-
"outline-2",
|
|
523
|
-
"outline-offset-2",
|
|
524
|
-
"outline-dashed",
|
|
525
|
-
"outline-transparent",
|
|
526
|
-
"disabled:text-grey-40",
|
|
527
|
-
"disabled:bg-transparent",
|
|
528
|
-
"disabled:pointer-events-none"
|
|
529
|
-
],
|
|
530
|
-
{
|
|
531
|
-
variants: {
|
|
532
|
-
variant: {
|
|
533
|
-
filled: [
|
|
534
|
-
"border",
|
|
535
|
-
"border-green-80",
|
|
536
|
-
"bg-green-90",
|
|
537
|
-
"text-white",
|
|
538
|
-
"hover:bg-green-80",
|
|
539
|
-
"active:bg-green-80",
|
|
540
|
-
"focus:outline-pickle-100",
|
|
541
|
-
"disabled:bg-green-70"
|
|
542
|
-
],
|
|
543
|
-
transparent: [
|
|
544
|
-
"text-black",
|
|
545
|
-
"hover:bg-grey-5",
|
|
546
|
-
"active:bg-grey-10",
|
|
547
|
-
"focus:outline-purple-100"
|
|
548
|
-
],
|
|
549
|
-
tonal: [
|
|
550
|
-
"border",
|
|
551
|
-
"border-grey-5",
|
|
552
|
-
"hover:border-grey-10",
|
|
553
|
-
"active:border-grey-20",
|
|
554
|
-
"focus:outline-purple-100"
|
|
555
|
-
],
|
|
556
|
-
active: ["text-black", "bg-pickle-100"]
|
|
557
|
-
},
|
|
558
|
-
size: {
|
|
559
|
-
small: ["h-10", "w-10", "p-3"],
|
|
560
|
-
medium: ["h-12", "w-12", "p-4"],
|
|
561
|
-
large: ["h-14", "w-14", "p-4"]
|
|
562
|
-
}
|
|
563
|
-
},
|
|
564
|
-
defaultVariants: {
|
|
565
|
-
variant: "filled",
|
|
566
|
-
size: "medium"
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
|
-
);
|
|
570
|
-
|
|
571
|
-
// src/hooks/useWindowHistory.ts
|
|
572
|
-
var import_react6 = require("react");
|
|
573
|
-
|
|
574
|
-
// src/contexts/WindowHistoryProvider.tsx
|
|
575
|
-
var import_navigation = require("next/navigation");
|
|
576
|
-
var import_react5 = require("react");
|
|
577
|
-
var WindowHistoryContext = (0, import_react5.createContext)({});
|
|
578
|
-
|
|
579
|
-
// src/hooks/useWindowHistory.ts
|
|
580
|
-
function useWindowHistory() {
|
|
581
|
-
const windowHistoryContext = (0, import_react6.useContext)(WindowHistoryContext);
|
|
582
|
-
return windowHistoryContext;
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
// src/components/buttons/BackButton.tsx
|
|
586
|
-
function BackButton({ acceptedRoutes, fallbackHref, className, ...props }) {
|
|
587
|
-
const { history } = useWindowHistory();
|
|
588
|
-
const router = (0, import_navigation2.useRouter)();
|
|
589
|
-
const isAcceptedRoute = (r) => !!acceptedRoutes?.find((route) => new RegExp("^" + route + "$", "i").test(new URL(r).pathname));
|
|
590
|
-
const goBack = () => {
|
|
591
|
-
const previous = history[history.length - 2];
|
|
592
|
-
if (history.length > 1 && isAcceptedRoute(previous)) {
|
|
593
|
-
router.back();
|
|
594
|
-
} else {
|
|
595
|
-
router.push(fallbackHref ?? "/");
|
|
596
|
-
}
|
|
597
|
-
};
|
|
598
|
-
return /* @__PURE__ */ React.createElement(
|
|
599
|
-
Icon,
|
|
600
|
-
{
|
|
601
|
-
"aria-label": "back button",
|
|
602
|
-
variant: "transparent",
|
|
603
|
-
size: "small",
|
|
604
|
-
onClick: goBack,
|
|
605
|
-
className,
|
|
606
|
-
...props
|
|
607
|
-
},
|
|
608
|
-
/* @__PURE__ */ React.createElement(import_lucide_react2.X, null)
|
|
609
|
-
);
|
|
610
|
-
}
|
|
611
|
-
|
|
612
|
-
// src/components/ui/Chip.tsx
|
|
613
|
-
var import_cva4 = require("cva");
|
|
614
|
-
var import_react7 = __toESM(require("react"), 1);
|
|
615
|
-
var import_tailwind_merge3 = require("tailwind-merge");
|
|
616
|
-
var Chip = ({ className, variant, size, ...props }) => /* @__PURE__ */ import_react7.default.createElement("div", { className: (0, import_tailwind_merge3.twMerge)(chipVariants({ variant, size, className })), ...props });
|
|
617
|
-
var chipVariants = (0, import_cva4.cva)(["flex", "items-center", "rounded-3xl", "border", "w-fit"], {
|
|
618
|
-
variants: {
|
|
619
|
-
variant: {
|
|
620
|
-
neutral: ["text-grey-80", "border-grey-10"],
|
|
621
|
-
primary: ["text-purple-100", "border-purple-20"],
|
|
622
|
-
danger: ["text-pumpkin-100", "border-pumpkin-20"],
|
|
623
|
-
jobLocation: ["text-grey-80", "border-grey-10", "bg-grey-5"],
|
|
624
|
-
onboarding: ["text-green-100", "bg-green-10", "cursor-pointer"],
|
|
625
|
-
onboardingSelected: ["text-white", "bg-green-90", "cursor-pointer"]
|
|
626
|
-
},
|
|
627
|
-
size: {
|
|
628
|
-
small: ["text-sm", "leading-5", "px-2", "py-1", "gap-1.5"],
|
|
629
|
-
medium: ["text-base", "leading-6", "px-3", "py-2", "gap-2"]
|
|
630
|
-
}
|
|
631
|
-
},
|
|
632
|
-
defaultVariants: {
|
|
633
|
-
variant: "neutral",
|
|
634
|
-
size: "medium"
|
|
635
|
-
}
|
|
636
|
-
});
|
|
637
|
-
var Chip_default = Chip;
|
|
638
|
-
|
|
639
|
-
// src/lib/icons.ts
|
|
640
|
-
var import_lucide_react3 = require("lucide-react");
|
|
641
|
-
var iconMap = {
|
|
642
|
-
house: import_lucide_react3.Home,
|
|
643
|
-
layers: import_lucide_react3.Layers,
|
|
644
|
-
users: import_lucide_react3.Users,
|
|
645
|
-
settings: import_lucide_react3.Settings,
|
|
646
|
-
building: import_lucide_react3.Building,
|
|
647
|
-
bell: import_lucide_react3.Bell,
|
|
648
|
-
wallet: import_lucide_react3.Wallet,
|
|
649
|
-
contact: import_lucide_react3.Contact,
|
|
650
|
-
banknote: import_lucide_react3.Banknote,
|
|
651
|
-
"message-square-dot": import_lucide_react3.MessageSquareDot,
|
|
652
|
-
"life-buoy": import_lucide_react3.LifeBuoy,
|
|
653
|
-
"building-2": import_lucide_react3.Building2,
|
|
654
|
-
"gallery-vertical-end": import_lucide_react3.GalleryVerticalEnd,
|
|
655
|
-
"square-kanban": import_lucide_react3.SquareKanban,
|
|
656
|
-
"briefcase-business": import_lucide_react3.BriefcaseBusiness,
|
|
657
|
-
"circle-user": import_lucide_react3.CircleUser,
|
|
658
|
-
"key-round": import_lucide_react3.KeyRound,
|
|
659
|
-
"clock-2": import_lucide_react3.Clock2,
|
|
660
|
-
"circle-user-round": import_lucide_react3.CircleUserRound,
|
|
661
|
-
"map-pin": import_lucide_react3.MapPin
|
|
662
|
-
};
|
|
663
|
-
|
|
664
|
-
// src/components/jobPost/JobHeader.tsx
|
|
665
|
-
function JobHeader({
|
|
666
|
-
title,
|
|
667
|
-
subtitles,
|
|
668
|
-
standalone,
|
|
669
|
-
bannerSrc,
|
|
670
|
-
avatarSrc,
|
|
671
|
-
avatarName,
|
|
672
|
-
avatarHref,
|
|
673
|
-
backFallbackHref,
|
|
674
|
-
backAcceptedRoutes,
|
|
675
|
-
actions,
|
|
676
|
-
tags
|
|
677
|
-
}) {
|
|
678
|
-
const renderIcon = (icon) => {
|
|
679
|
-
const Icon2 = iconMap[icon];
|
|
680
|
-
return /* @__PURE__ */ React.createElement(Icon2, { size: 18 });
|
|
681
|
-
};
|
|
682
|
-
return /* @__PURE__ */ React.createElement(
|
|
683
|
-
"div",
|
|
684
|
-
{
|
|
685
|
-
"data-testid": "job-header-root",
|
|
686
|
-
className: cn(
|
|
687
|
-
"-mt-8 flex w-full flex-col items-center justify-between gap-6 md:-mt-0",
|
|
688
|
-
!standalone && "rounded-3xl"
|
|
689
|
-
)
|
|
690
|
-
},
|
|
691
|
-
!standalone && /* @__PURE__ */ React.createElement("div", { className: "relative flex min-h-16 w-full items-center rounded-t-3xl bg-transparent md:min-h-24 md:flex-row lg:min-h-32" }, /* @__PURE__ */ React.createElement(
|
|
692
|
-
import_image.default,
|
|
693
|
-
{
|
|
694
|
-
className: "h-full w-full rounded-t-3xl object-cover",
|
|
695
|
-
src: bannerSrc,
|
|
696
|
-
alt: "job banner",
|
|
697
|
-
fill: true
|
|
698
|
-
}
|
|
699
|
-
), /* @__PURE__ */ React.createElement(
|
|
700
|
-
BackButton,
|
|
701
|
-
{
|
|
702
|
-
acceptedRoutes: backAcceptedRoutes,
|
|
703
|
-
fallbackHref: backFallbackHref,
|
|
704
|
-
className: "absolute right-2 top-2 flex items-center justify-center text-white sm:hidden",
|
|
705
|
-
"data-testid": "job-header-back-button"
|
|
706
|
-
}
|
|
707
|
-
), /* @__PURE__ */ React.createElement(
|
|
708
|
-
"div",
|
|
709
|
-
{
|
|
710
|
-
className: "absolute left-4 top-8 md:left-6 md:top-16 lg:top-24",
|
|
711
|
-
"data-testid": "job-header-avatar"
|
|
712
|
-
},
|
|
713
|
-
/* @__PURE__ */ React.createElement(
|
|
714
|
-
Avatar,
|
|
715
|
-
{
|
|
716
|
-
size: "large",
|
|
717
|
-
target: "_blank",
|
|
718
|
-
href: avatarHref,
|
|
719
|
-
name: avatarName,
|
|
720
|
-
src: avatarSrc,
|
|
721
|
-
rel: "noopener noreferrer"
|
|
722
|
-
}
|
|
723
|
-
)
|
|
724
|
-
)),
|
|
725
|
-
/* @__PURE__ */ React.createElement("div", { className: "flex w-full flex-col items-start justify-start gap-4 px-6" }, /* @__PURE__ */ React.createElement("div", { className: "flex flex-col md:flex-row" }, standalone && /* @__PURE__ */ React.createElement("div", { className: "-mt-4 mr-4 md:mt-0", "data-testid": "job-header-avatar" }, /* @__PURE__ */ React.createElement(
|
|
726
|
-
Avatar,
|
|
727
|
-
{
|
|
728
|
-
size: "large",
|
|
729
|
-
target: "_blank",
|
|
730
|
-
href: avatarHref,
|
|
731
|
-
name: avatarName,
|
|
732
|
-
src: avatarSrc,
|
|
733
|
-
rel: "noopener noreferrer"
|
|
734
|
-
}
|
|
735
|
-
)), /* @__PURE__ */ React.createElement("div", { className: "prose mt-4 flex w-full items-center text-grey-80 lg:prose-lg" }, subtitles?.map((subtitle, i) => /* @__PURE__ */ React.createElement(
|
|
736
|
-
"div",
|
|
737
|
-
{
|
|
738
|
-
key: subtitle,
|
|
739
|
-
"data-testid": `job-header-subtitle-${i}`,
|
|
740
|
-
className: "flex items-center"
|
|
741
|
-
},
|
|
742
|
-
subtitle,
|
|
743
|
-
i < subtitles.length - 1 && /* @__PURE__ */ React.createElement(import_lucide_react4.Dot, { className: "mx-1 shrink-0", size: 10 })
|
|
744
|
-
)))), /* @__PURE__ */ React.createElement(
|
|
745
|
-
"div",
|
|
746
|
-
{
|
|
747
|
-
"data-testid": "job-header-content",
|
|
748
|
-
className: "mt-2 flex w-full flex-row flex-wrap items-center justify-between gap-1"
|
|
749
|
-
},
|
|
750
|
-
/* @__PURE__ */ React.createElement(
|
|
751
|
-
"h2",
|
|
752
|
-
{
|
|
753
|
-
"data-testid": "job-header-title",
|
|
754
|
-
className: "break-word max-w-full text-2xl font-bold text-black sm:max-w-2xl md:max-w-lg"
|
|
755
|
-
},
|
|
756
|
-
title
|
|
757
|
-
),
|
|
758
|
-
!!actions && /* @__PURE__ */ React.createElement(
|
|
759
|
-
"div",
|
|
760
|
-
{
|
|
761
|
-
className: "flex w-full justify-end gap-2 md:w-auto",
|
|
762
|
-
"data-testid": "job-header-actions"
|
|
763
|
-
},
|
|
764
|
-
actions
|
|
765
|
-
)
|
|
766
|
-
), /* @__PURE__ */ React.createElement(
|
|
767
|
-
"div",
|
|
768
|
-
{
|
|
769
|
-
"data-testid": "job-header-tags",
|
|
770
|
-
className: "flex flex-row flex-wrap items-center justify-start gap-2"
|
|
771
|
-
},
|
|
772
|
-
tags?.map(({ name, label, icon }) => /* @__PURE__ */ React.createElement(
|
|
773
|
-
Chip_default,
|
|
774
|
-
{
|
|
775
|
-
key: `${name}-${label}`,
|
|
776
|
-
size: "small",
|
|
777
|
-
variant: "neutral",
|
|
778
|
-
"aria-label": name,
|
|
779
|
-
"data-testid": `job-header-tag-${name}`
|
|
780
|
-
},
|
|
781
|
-
renderIcon(icon),
|
|
782
|
-
/* @__PURE__ */ React.createElement("span", null, label)
|
|
783
|
-
))
|
|
784
|
-
))
|
|
785
|
-
);
|
|
786
|
-
}
|
|
787
|
-
|
|
788
|
-
// src/hooks/useDisplayText.ts
|
|
789
|
-
var import_react8 = require("react");
|
|
790
|
-
|
|
791
|
-
// src/lib/mappings.ts
|
|
792
|
-
var employmentTypeDisplayText = {
|
|
793
|
-
FULL_TIME: {
|
|
794
|
-
en: "Full Time"
|
|
795
|
-
},
|
|
796
|
-
INTERNSHIP: {
|
|
797
|
-
en: "Internship"
|
|
798
|
-
},
|
|
799
|
-
OTHER: {
|
|
800
|
-
en: "Other"
|
|
801
|
-
},
|
|
802
|
-
PART_TIME: {
|
|
803
|
-
en: "Part Time"
|
|
804
|
-
},
|
|
805
|
-
PER_DIEM: {
|
|
806
|
-
en: "Per-Diem"
|
|
807
|
-
},
|
|
808
|
-
TEMPORARY: {
|
|
809
|
-
en: "Temporary"
|
|
810
|
-
},
|
|
811
|
-
CONTRACT: {
|
|
812
|
-
en: "Contract"
|
|
813
|
-
}
|
|
814
|
-
};
|
|
815
|
-
var unitTextDisplayText = {
|
|
816
|
-
DAY: {
|
|
817
|
-
en: "Day"
|
|
818
|
-
},
|
|
819
|
-
HOUR: {
|
|
820
|
-
en: "Hour"
|
|
821
|
-
},
|
|
822
|
-
MONTH: {
|
|
823
|
-
en: "Month"
|
|
824
|
-
},
|
|
825
|
-
PER_ACTIVITY: {
|
|
826
|
-
en: "Per Activity"
|
|
827
|
-
},
|
|
828
|
-
WEEK: {
|
|
829
|
-
en: "Week"
|
|
830
|
-
},
|
|
831
|
-
YEAR: {
|
|
832
|
-
en: "Year"
|
|
833
|
-
}
|
|
834
|
-
};
|
|
835
|
-
var currencyDisplayText = {
|
|
836
|
-
EUR: {
|
|
837
|
-
en: "\u20AC"
|
|
838
|
-
},
|
|
839
|
-
GBP: {
|
|
840
|
-
en: "\xA3"
|
|
841
|
-
},
|
|
842
|
-
USD: {
|
|
843
|
-
en: "$"
|
|
844
|
-
}
|
|
845
|
-
};
|
|
846
|
-
var employmentLevelDisplayText = {
|
|
847
|
-
DIRECTOR: {
|
|
848
|
-
en: "Director"
|
|
849
|
-
},
|
|
850
|
-
ENTRY_LEVEL: {
|
|
851
|
-
en: "Entry Level"
|
|
852
|
-
},
|
|
853
|
-
EXECUTIVE: {
|
|
854
|
-
en: "Executive"
|
|
855
|
-
},
|
|
856
|
-
EXPERIENCED: {
|
|
857
|
-
en: "Experienced"
|
|
858
|
-
},
|
|
859
|
-
INTERN: {
|
|
860
|
-
en: "Intern"
|
|
861
|
-
},
|
|
862
|
-
MANAGER: {
|
|
863
|
-
en: "Manager"
|
|
864
|
-
}
|
|
865
|
-
};
|
|
866
|
-
var jobFunctionDisplayText = {
|
|
867
|
-
CLINICAL_RESEARCH: {
|
|
868
|
-
en: "Clinical Research"
|
|
869
|
-
},
|
|
870
|
-
CUSTOMER_SUCCESS: {
|
|
871
|
-
en: "Customer Success"
|
|
872
|
-
},
|
|
873
|
-
DATA_ANALYTICS: {
|
|
874
|
-
en: "Data Analytics"
|
|
875
|
-
},
|
|
876
|
-
FINANCE_AND_AUDIT: {
|
|
877
|
-
en: "Finance and Audit"
|
|
878
|
-
},
|
|
879
|
-
MARKETING: {
|
|
880
|
-
en: "Marketing"
|
|
881
|
-
},
|
|
882
|
-
OPERATIONS: {
|
|
883
|
-
en: "Operations"
|
|
884
|
-
},
|
|
885
|
-
PEOPLE_HUMAN_RESOURCES: {
|
|
886
|
-
en: "People Human Resources"
|
|
887
|
-
},
|
|
888
|
-
PRODUCT_AND_TECH: {
|
|
889
|
-
en: "Product and Tech"
|
|
890
|
-
},
|
|
891
|
-
QUALITY_ASSURANCE_AND_OUTCOMES: {
|
|
892
|
-
en: "Quality Assurance and Outcomes"
|
|
893
|
-
},
|
|
894
|
-
SALES_AND_BUSINESS_DEVELOPMENT: {
|
|
895
|
-
en: "Sales and Business Development"
|
|
896
|
-
},
|
|
897
|
-
STRATEGY_AND_CONSULTING: {
|
|
898
|
-
en: "Strategy and Consulting"
|
|
899
|
-
}
|
|
900
|
-
};
|
|
901
|
-
var bestFitDisplayText = {
|
|
902
|
-
DENTIST: {
|
|
903
|
-
en: "Dentist"
|
|
904
|
-
},
|
|
905
|
-
DIETICIAN: {
|
|
906
|
-
en: "Dietician"
|
|
907
|
-
},
|
|
908
|
-
DOULA: {
|
|
909
|
-
en: "Doula"
|
|
910
|
-
},
|
|
911
|
-
MEDICAL_ASSISTANT: {
|
|
912
|
-
en: "Medical Assistant"
|
|
913
|
-
},
|
|
914
|
-
MIDWIFE: {
|
|
915
|
-
en: "Midwife"
|
|
916
|
-
},
|
|
917
|
-
NURSE: {
|
|
918
|
-
en: "Nurse"
|
|
919
|
-
},
|
|
920
|
-
OCCUPATIONAL_THERAPIST: {
|
|
921
|
-
en: "Occupational Therapist"
|
|
922
|
-
},
|
|
923
|
-
PHARMACIST: {
|
|
924
|
-
en: "Pharmacist"
|
|
925
|
-
},
|
|
926
|
-
PHYSICAL_THERAPIST: {
|
|
927
|
-
en: "Physical Therapist"
|
|
928
|
-
},
|
|
929
|
-
PHYSICIAN: {
|
|
930
|
-
en: "Physician"
|
|
931
|
-
},
|
|
932
|
-
PHYSICIAN_ASSISTANT: {
|
|
933
|
-
en: "Physician Assistant"
|
|
934
|
-
},
|
|
935
|
-
PSYCHOLOGIST: {
|
|
936
|
-
en: "Psychologist"
|
|
937
|
-
},
|
|
938
|
-
RADIOLOGIST: {
|
|
939
|
-
en: "Radiologist"
|
|
940
|
-
},
|
|
941
|
-
SOCIAL_WORKER: {
|
|
942
|
-
en: "Social Worker"
|
|
943
|
-
},
|
|
944
|
-
SPEECH_LANGUAGE_PATHOLOGIST: {
|
|
945
|
-
en: "Speech Language Pathologist"
|
|
946
|
-
},
|
|
947
|
-
SURGEON: {
|
|
948
|
-
en: "Surgeon"
|
|
949
|
-
}
|
|
950
|
-
};
|
|
951
|
-
var clinicalSpecialtyDisplayText = {
|
|
952
|
-
ANESTHESIOLOGY: {
|
|
953
|
-
en: "Anesthesiology"
|
|
954
|
-
},
|
|
955
|
-
CARDIOLOGY: {
|
|
956
|
-
en: "Cardiology"
|
|
957
|
-
},
|
|
958
|
-
CARDIOVASCULAR_AND_PULMONARY: {
|
|
959
|
-
en: "Cardiovascular and Pulmonary"
|
|
960
|
-
},
|
|
961
|
-
CASE_MANAGEMENT: {
|
|
962
|
-
en: "Case Management"
|
|
963
|
-
},
|
|
964
|
-
CHRONIC_PAIN: {
|
|
965
|
-
en: "Chronic Pain"
|
|
966
|
-
},
|
|
967
|
-
CLINICAL_ELECTROPHYSIOLOGY: {
|
|
968
|
-
en: "Clinical Electrophysiology"
|
|
969
|
-
},
|
|
970
|
-
CRITICAL_AND_ACUTE_CARE: {
|
|
971
|
-
en: "Critical and Acute Care"
|
|
972
|
-
},
|
|
973
|
-
DERMATOLOGY: {
|
|
974
|
-
en: "Dermatology"
|
|
975
|
-
},
|
|
976
|
-
DIALYSIS: {
|
|
977
|
-
en: "Dialysis"
|
|
978
|
-
},
|
|
979
|
-
EMERGENCY_MEDICINE: {
|
|
980
|
-
en: "Emergency Medicine"
|
|
981
|
-
},
|
|
982
|
-
ENDOCRINOLOGY: {
|
|
983
|
-
en: "Endocrinology"
|
|
984
|
-
},
|
|
985
|
-
ERGONOMICS: {
|
|
986
|
-
en: "Ergonomics"
|
|
987
|
-
},
|
|
988
|
-
FEEDING_EATING_AND_SWALLOWING: {
|
|
989
|
-
en: "Feeding, Eating, and Swallowing"
|
|
990
|
-
},
|
|
991
|
-
GASTROENTEROLOGY: {
|
|
992
|
-
en: "Gastroenterology"
|
|
993
|
-
},
|
|
994
|
-
GERIATRICS: {
|
|
995
|
-
en: "Geriatrics"
|
|
996
|
-
},
|
|
997
|
-
HAND_THERAPY: {
|
|
998
|
-
en: "Hand Therapy"
|
|
999
|
-
},
|
|
1000
|
-
HEMATOLOGY: {
|
|
1001
|
-
en: "Hematology"
|
|
1002
|
-
},
|
|
1003
|
-
HOLISTIC_MEDICINE: {
|
|
1004
|
-
en: "Holistic Medicine"
|
|
1005
|
-
},
|
|
1006
|
-
INFORMATICS: {
|
|
1007
|
-
en: "Informatics"
|
|
1008
|
-
},
|
|
1009
|
-
INTERNAL_MEDICINE: {
|
|
1010
|
-
en: "Internal Medicine"
|
|
1011
|
-
},
|
|
1012
|
-
LABOR_AND_DELIVERY: {
|
|
1013
|
-
en: "Labor and Delivery"
|
|
1014
|
-
},
|
|
1015
|
-
MANUAL_THERAPY: {
|
|
1016
|
-
en: "Manual Therapy"
|
|
1017
|
-
},
|
|
1018
|
-
MED_SURG: {
|
|
1019
|
-
en: "Medical-Surgical"
|
|
1020
|
-
},
|
|
1021
|
-
MENTAL_HEALTH: {
|
|
1022
|
-
en: "Mental Health"
|
|
1023
|
-
},
|
|
1024
|
-
NEPHROLOGY: {
|
|
1025
|
-
en: "Nephrology"
|
|
1026
|
-
},
|
|
1027
|
-
NEUROLOGY: {
|
|
1028
|
-
en: "Neurology"
|
|
1029
|
-
},
|
|
1030
|
-
ONCOLOGY: {
|
|
1031
|
-
en: "Oncology"
|
|
1032
|
-
},
|
|
1033
|
-
ORTHOPEDICS: {
|
|
1034
|
-
en: "Orthopedics"
|
|
1035
|
-
},
|
|
1036
|
-
OTOLARYNGOLOGY: {
|
|
1037
|
-
en: "Otolaryngology"
|
|
1038
|
-
},
|
|
1039
|
-
PEDIATRICS: {
|
|
1040
|
-
en: "Pediatrics"
|
|
1041
|
-
},
|
|
1042
|
-
PHYSICAL_AND_REHABILITATION_MEDICINE: {
|
|
1043
|
-
en: "Physical and Rehabilitation Medicine"
|
|
1044
|
-
},
|
|
1045
|
-
PLASTIC_SURGERY: {
|
|
1046
|
-
en: "Plastic Surgery"
|
|
1047
|
-
},
|
|
1048
|
-
PRIMARY_CARE: {
|
|
1049
|
-
en: "Primary Care"
|
|
1050
|
-
},
|
|
1051
|
-
PSYCHIATRY: {
|
|
1052
|
-
en: "Psychiatry"
|
|
1053
|
-
},
|
|
1054
|
-
PULMONOLOGY: {
|
|
1055
|
-
en: "Pulmonology"
|
|
1056
|
-
},
|
|
1057
|
-
RADIOLOGY: {
|
|
1058
|
-
en: "Radiology"
|
|
1059
|
-
},
|
|
1060
|
-
SENSORY: {
|
|
1061
|
-
en: "Sensory"
|
|
1062
|
-
},
|
|
1063
|
-
SPORTS: {
|
|
1064
|
-
en: "Sports"
|
|
1065
|
-
},
|
|
1066
|
-
SURGERY: {
|
|
1067
|
-
en: "Surgery"
|
|
1068
|
-
},
|
|
1069
|
-
TRANSPLANT_SURGERY: {
|
|
1070
|
-
en: "Transplant Surgery"
|
|
1071
|
-
},
|
|
1072
|
-
TRAUMA_MEDICINE: {
|
|
1073
|
-
en: "Trauma Medicine"
|
|
1074
|
-
},
|
|
1075
|
-
URGENT_CARE: {
|
|
1076
|
-
en: "Urgent Care"
|
|
1077
|
-
},
|
|
1078
|
-
UROLOGY: {
|
|
1079
|
-
en: "Urology"
|
|
1080
|
-
},
|
|
1081
|
-
VISION: {
|
|
1082
|
-
en: "Vision"
|
|
1083
|
-
},
|
|
1084
|
-
WOMENS_HEALTH: {
|
|
1085
|
-
en: "Women's Health"
|
|
1086
|
-
},
|
|
1087
|
-
WOUND_AND_BURN_CARE: {
|
|
1088
|
-
en: "Wound and Burn Care"
|
|
1089
|
-
},
|
|
1090
|
-
WOUND_MANAGEMENT: {
|
|
1091
|
-
en: "Wound Management"
|
|
1092
|
-
}
|
|
1093
|
-
};
|
|
1094
|
-
var shiftDisplayText = {
|
|
1095
|
-
TEN_HOUR: {
|
|
1096
|
-
en: "10 Hour"
|
|
1097
|
-
},
|
|
1098
|
-
TWELVE_HOUR: {
|
|
1099
|
-
en: "12 Hour"
|
|
1100
|
-
},
|
|
1101
|
-
EIGHT_HOUR: {
|
|
1102
|
-
en: "8 Hour"
|
|
1103
|
-
},
|
|
1104
|
-
DAY: {
|
|
1105
|
-
en: "Day"
|
|
1106
|
-
},
|
|
1107
|
-
EVENING: {
|
|
1108
|
-
en: "Evening"
|
|
1109
|
-
},
|
|
1110
|
-
FLEXIBLE: {
|
|
1111
|
-
en: "Flexible"
|
|
1112
|
-
},
|
|
1113
|
-
MID_SHIFT: {
|
|
1114
|
-
en: "Mid Shift"
|
|
1115
|
-
},
|
|
1116
|
-
MONDAY_TO_FRIDAY: {
|
|
1117
|
-
en: "Monday to Friday"
|
|
1118
|
-
},
|
|
1119
|
-
NIGHT: {
|
|
1120
|
-
en: "Night"
|
|
1121
|
-
},
|
|
1122
|
-
ON_CALL: {
|
|
1123
|
-
en: "On Call"
|
|
1124
|
-
},
|
|
1125
|
-
WEEKENDS: {
|
|
1126
|
-
en: "Weekends"
|
|
1127
|
-
}
|
|
1128
|
-
};
|
|
1129
|
-
var clinicalSettingDisplayText = {
|
|
1130
|
-
ACUTE_CARE: {
|
|
1131
|
-
en: "Acute Care"
|
|
1132
|
-
},
|
|
1133
|
-
AMBULATORY_SURGERY_CENTER: {
|
|
1134
|
-
en: "Ambulatory Surgery Center"
|
|
1135
|
-
},
|
|
1136
|
-
CLINIC: {
|
|
1137
|
-
en: "Clinic"
|
|
1138
|
-
},
|
|
1139
|
-
HOME_HEALTH: {
|
|
1140
|
-
en: "Home Health"
|
|
1141
|
-
},
|
|
1142
|
-
HOSPITAL: {
|
|
1143
|
-
en: "Hospital"
|
|
1144
|
-
},
|
|
1145
|
-
INPATIENT: {
|
|
1146
|
-
en: "Inpatient"
|
|
1147
|
-
},
|
|
1148
|
-
LONG_TERM_CARE: {
|
|
1149
|
-
en: "Long Term Care"
|
|
1150
|
-
},
|
|
1151
|
-
MED_SPA: {
|
|
1152
|
-
en: "Med Spa"
|
|
1153
|
-
},
|
|
1154
|
-
NURSING_HOME: {
|
|
1155
|
-
en: "Nursing Home"
|
|
1156
|
-
},
|
|
1157
|
-
OFFICE: {
|
|
1158
|
-
en: "Office"
|
|
1159
|
-
},
|
|
1160
|
-
OUTPATIENT: {
|
|
1161
|
-
en: "Outpatient"
|
|
1162
|
-
},
|
|
1163
|
-
PRIVATE_PRACTICE: {
|
|
1164
|
-
en: "Private Practice"
|
|
1165
|
-
},
|
|
1166
|
-
REHAB_CENTER: {
|
|
1167
|
-
en: "Rehab Center"
|
|
1168
|
-
},
|
|
1169
|
-
SCHOOL: {
|
|
1170
|
-
en: "School"
|
|
1171
|
-
},
|
|
1172
|
-
SKILLED_NURSING_FACILITY: {
|
|
1173
|
-
en: "Skilled Nursing Facility"
|
|
1174
|
-
}
|
|
1175
|
-
};
|
|
1176
|
-
var defaultMappings = {
|
|
1177
|
-
employmentType: employmentTypeDisplayText,
|
|
1178
|
-
unitText: unitTextDisplayText,
|
|
1179
|
-
currency: currencyDisplayText,
|
|
1180
|
-
employmentLevel: employmentLevelDisplayText,
|
|
1181
|
-
jobFunction: jobFunctionDisplayText,
|
|
1182
|
-
bestFit: bestFitDisplayText,
|
|
1183
|
-
clinicalSpecialty: clinicalSpecialtyDisplayText,
|
|
1184
|
-
clinicalSetting: clinicalSettingDisplayText,
|
|
1185
|
-
shift: shiftDisplayText
|
|
1186
|
-
};
|
|
1187
|
-
|
|
1188
|
-
// src/types/displayText.errors.tsx
|
|
1189
|
-
var DisplayTextScopeNotFoundError = class extends Error {
|
|
1190
|
-
constructor(scope) {
|
|
1191
|
-
super(`No display text mapping found for scope: ${scope}`);
|
|
1192
|
-
this.name = "DisplayTextScopeNotFoundError";
|
|
1193
|
-
}
|
|
1194
|
-
};
|
|
1195
|
-
var DisplayTextValueNotFoundError = class extends Error {
|
|
1196
|
-
constructor(value, scope) {
|
|
1197
|
-
super(`No display text found for value: '${value}' in scope: '${scope}'`);
|
|
1198
|
-
this.name = "DisplayTextValueNotFoundError";
|
|
1199
|
-
}
|
|
1200
|
-
};
|
|
1201
|
-
|
|
1202
|
-
// src/services/displayText.tsx
|
|
1203
|
-
var DisplayTextService = class {
|
|
1204
|
-
constructor(customMappings) {
|
|
1205
|
-
this.defaultLanguage = "en";
|
|
1206
|
-
this.mappings = {
|
|
1207
|
-
...defaultMappings,
|
|
1208
|
-
// Use all pre-defined mappings as defaults
|
|
1209
|
-
...customMappings
|
|
1210
|
-
// Override with any custom mappings if provided
|
|
1211
|
-
};
|
|
1212
|
-
}
|
|
1213
|
-
async getDisplayText(scope, value, language = this.defaultLanguage) {
|
|
1214
|
-
const scopeMapping = this.mappings[scope];
|
|
1215
|
-
if (!scopeMapping) {
|
|
1216
|
-
throw new DisplayTextScopeNotFoundError(scope);
|
|
1217
|
-
}
|
|
1218
|
-
if (Array.isArray(value)) {
|
|
1219
|
-
const displayTextPromises = value.map((v) => this.getDisplayText(scope, v, language));
|
|
1220
|
-
const displayTexts2 = await Promise.all(displayTextPromises);
|
|
1221
|
-
return displayTexts2.filter((v) => !!v).join(", ");
|
|
1222
|
-
}
|
|
1223
|
-
const displayTexts = scopeMapping[value];
|
|
1224
|
-
if (!displayTexts) {
|
|
1225
|
-
throw new DisplayTextValueNotFoundError(value, scope);
|
|
1226
|
-
}
|
|
1227
|
-
return displayTexts[language] || displayTexts[this.defaultLanguage] || value;
|
|
1228
|
-
}
|
|
1229
|
-
};
|
|
1230
|
-
|
|
1231
|
-
// src/hooks/useDisplayText.ts
|
|
1232
|
-
var useDisplayText = (scope, value) => {
|
|
1233
|
-
const [displayText, setDisplayText] = (0, import_react8.useState)("");
|
|
1234
|
-
const displayService = (0, import_react8.useMemo)(() => new DisplayTextService(), []);
|
|
1235
|
-
(0, import_react8.useEffect)(() => {
|
|
1236
|
-
if (!displayService || !value) {
|
|
1237
|
-
setDisplayText("");
|
|
1238
|
-
return;
|
|
1239
|
-
}
|
|
1240
|
-
void (async () => {
|
|
1241
|
-
try {
|
|
1242
|
-
const result = await displayService.getDisplayText(scope, value);
|
|
1243
|
-
if (typeof result === "string") {
|
|
1244
|
-
setDisplayText(result);
|
|
1245
|
-
} else {
|
|
1246
|
-
console.error("Expected a string result, but got:", result);
|
|
1247
|
-
}
|
|
1248
|
-
} catch (error) {
|
|
1249
|
-
if (error instanceof DisplayTextValueNotFoundError) {
|
|
1250
|
-
console.warn("Display text value not found:", value);
|
|
1251
|
-
setDisplayText(String(value));
|
|
1252
|
-
} else {
|
|
1253
|
-
console.error("Unexpected error formatting text:", error);
|
|
1254
|
-
setDisplayText(String(value));
|
|
1255
|
-
}
|
|
1256
|
-
}
|
|
1257
|
-
})();
|
|
1258
|
-
}, [scope, value, displayService]);
|
|
1259
|
-
return displayText;
|
|
1260
|
-
};
|
|
1261
|
-
|
|
1262
|
-
// src/lib/locations.ts
|
|
1263
|
-
function formattedAddress(address, isRemote = false) {
|
|
1264
|
-
if (!address) return null;
|
|
1265
|
-
const { addressLocality, addressRegion, addressCountry } = address;
|
|
1266
|
-
const remoteMessage = isRemote ? " | Remote" : "";
|
|
1267
|
-
if (addressLocality && addressRegion)
|
|
1268
|
-
return `${addressLocality}, ${addressRegion + remoteMessage}`;
|
|
1269
|
-
if (addressRegion && addressCountry) return `${addressRegion}, ${addressCountry + remoteMessage}`;
|
|
1270
|
-
if (addressRegion) return `${addressRegion + remoteMessage}`;
|
|
1271
|
-
if (addressCountry) return `${addressCountry + remoteMessage}`;
|
|
1272
|
-
return null;
|
|
1273
|
-
}
|
|
1274
|
-
function getAddressList(jobPost) {
|
|
1275
|
-
const locations = [];
|
|
1276
|
-
if (jobPost.jobLocation) {
|
|
1277
|
-
const address = formattedAddress(jobPost.jobLocation, jobPost.isRemote);
|
|
1278
|
-
if (address) locations.push(address);
|
|
1279
|
-
}
|
|
1280
|
-
if (jobPost.applicableOffices && jobPost.applicableOffices.length > 0) {
|
|
1281
|
-
jobPost.applicableOffices.map((office) => {
|
|
1282
|
-
const address = formattedAddress(office?.geoLocation?.address, jobPost.isRemote);
|
|
1283
|
-
if (address && !locations.includes(address)) locations.push(address);
|
|
1284
|
-
});
|
|
1285
|
-
}
|
|
1286
|
-
if (jobPost.applicantLocationRequirements && jobPost.applicantLocationRequirements.length > 0) {
|
|
1287
|
-
jobPost.applicantLocationRequirements.map((place) => {
|
|
1288
|
-
const address = formattedAddress(place?.address, jobPost.isRemote);
|
|
1289
|
-
if (address && !locations.includes(address)) locations.push(address);
|
|
1290
|
-
});
|
|
1291
|
-
}
|
|
1292
|
-
return locations;
|
|
1293
|
-
}
|
|
1294
|
-
|
|
1295
|
-
// src/types/latest/company_service_latest.ts
|
|
1296
|
-
var import_zod2 = require("zod");
|
|
1297
|
-
|
|
1298
|
-
// src/types/latest/shared_pickle_output_latest.ts
|
|
1299
|
-
var shared_pickle_output_latest_exports = {};
|
|
1300
|
-
__export(shared_pickle_output_latest_exports, {
|
|
1301
|
-
CurrencyEnum: () => CurrencyEnum,
|
|
1302
|
-
DetailLevelEnum: () => DetailLevelEnum,
|
|
1303
|
-
TypeEnum: () => TypeEnum,
|
|
1304
|
-
UnitTextEnum: () => UnitTextEnum,
|
|
1305
|
-
imageAssetSchema: () => imageAssetSchema,
|
|
1306
|
-
imageSchema: () => imageSchema,
|
|
1307
|
-
monetaryAmountSchema: () => monetaryAmountSchema,
|
|
1308
|
-
placeSchema: () => placeSchema,
|
|
1309
|
-
postalAddressSchema: () => postalAddressSchema,
|
|
1310
|
-
quantitativeValueSchema: () => quantitativeValueSchema
|
|
1311
|
-
});
|
|
1312
|
-
var import_zod = require("zod");
|
|
1313
|
-
var TypeEnum = import_zod.z.enum(["IMAGE"]);
|
|
1314
|
-
var DetailLevelEnum = import_zod.z.enum(["COUNTRY", "GEO", "LOCALITY", "POSTAL_CODE", "REGION"]);
|
|
1315
|
-
var UnitTextEnum = import_zod.z.enum(["DAY", "HOUR", "MONTH", "PER_ACTIVITY", "WEEK", "YEAR"]);
|
|
1316
|
-
var CurrencyEnum = import_zod.z.enum(["EUR", "GBP", "USD"]);
|
|
1317
|
-
var postalAddressSchema = import_zod.z.object({
|
|
1318
|
-
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
1319
|
-
type: import_zod.z.string().describe("Document type used for schema"),
|
|
1320
|
-
addressCountry: import_zod.z.string().describe("The physical country as defined in ISO 3166 Alpha-2"),
|
|
1321
|
-
addressRegion: import_zod.z.optional(import_zod.z.string()).describe("The region in which the locality is, and which is in the country."),
|
|
1322
|
-
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."),
|
|
1323
|
-
streetAddress: import_zod.z.optional(import_zod.z.string()).describe("The street name of the address within the locality."),
|
|
1324
|
-
streetNumber: import_zod.z.optional(import_zod.z.string()).describe("The house of building number within the street."),
|
|
1325
|
-
postalCode: import_zod.z.optional(import_zod.z.string()).describe("The postal code"),
|
|
1326
|
-
description: import_zod.z.optional(import_zod.z.string()).describe("A descriptive string containing the full address.")
|
|
1327
|
-
});
|
|
1328
|
-
var placeSchema = import_zod.z.object({
|
|
1329
|
-
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
1330
|
-
detailLevel: import_zod.z.optional(DetailLevelEnum),
|
|
1331
|
-
latitude: import_zod.z.optional(import_zod.z.number()).describe("The latitude of a location."),
|
|
1332
|
-
longitude: import_zod.z.optional(import_zod.z.number()).describe("The longitude of a location."),
|
|
1333
|
-
address: import_zod.z.optional(postalAddressSchema).describe("The physical place of the location")
|
|
1334
|
-
});
|
|
1335
|
-
var quantitativeValueSchema = import_zod.z.object({
|
|
1336
|
-
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
1337
|
-
type: import_zod.z.string().describe("Document type used for schema"),
|
|
1338
|
-
value: import_zod.z.optional(import_zod.z.number()).describe("The single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Typically used for a single salary."),
|
|
1339
|
-
minValue: import_zod.z.optional(import_zod.z.number()).describe("The single minium value in a range for a quantitative_value, requires a maximum value."),
|
|
1340
|
-
maxValue: import_zod.z.optional(import_zod.z.number()).describe("The maximum value in a range for a quantitative_value, requires a minimum value."),
|
|
1341
|
-
unitText: UnitTextEnum
|
|
1342
|
-
});
|
|
1343
|
-
var monetaryAmountSchema = import_zod.z.object({
|
|
1344
|
-
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
1345
|
-
type: import_zod.z.string().describe("Document type used for schema"),
|
|
1346
|
-
singleValue: import_zod.z.optional(import_zod.z.number()).describe("The annualized single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Deprecated - use value.value instead."),
|
|
1347
|
-
minValue: import_zod.z.optional(import_zod.z.number()).describe("The annualized single minium value in a range for a quantitative_value. Deprecated use value.minValue"),
|
|
1348
|
-
maxValue: import_zod.z.optional(import_zod.z.number()).describe("The annualized maximum value in a range for a quantitative_value. Deprecated use value.maxValue"),
|
|
1349
|
-
value: import_zod.z.optional(quantitativeValueSchema).describe("The quantitative_value for a given salary"),
|
|
1350
|
-
currency: import_zod.z.optional(CurrencyEnum)
|
|
1351
|
-
});
|
|
1352
|
-
var imageAssetSchema = import_zod.z.object({
|
|
1353
|
-
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
1354
|
-
altText: import_zod.z.optional(import_zod.z.string()).describe("The alt text for the image"),
|
|
1355
|
-
assetId: import_zod.z.optional(import_zod.z.string()).describe("The asset ID for the image"),
|
|
1356
|
-
description: import_zod.z.optional(import_zod.z.string()).describe("The description for the image"),
|
|
1357
|
-
extension: import_zod.z.optional(import_zod.z.string()).describe("The extension for the image"),
|
|
1358
|
-
label: import_zod.z.optional(import_zod.z.string()).describe("The label for the image"),
|
|
1359
|
-
mimeType: import_zod.z.optional(import_zod.z.string()).describe("The mime type for the image"),
|
|
1360
|
-
originalFilename: import_zod.z.optional(import_zod.z.string()).describe("The original filename for the image"),
|
|
1361
|
-
path: import_zod.z.optional(import_zod.z.string()).describe("The path for the image"),
|
|
1362
|
-
sha1Hash: import_zod.z.optional(import_zod.z.string()).describe("The SHA1 hash for the image"),
|
|
1363
|
-
size: import_zod.z.optional(import_zod.z.number()).describe("The size for the image"),
|
|
1364
|
-
title: import_zod.z.optional(import_zod.z.string()).describe("The title for the image"),
|
|
1365
|
-
uploadId: import_zod.z.optional(import_zod.z.string()).describe("The upload ID for the image"),
|
|
1366
|
-
url: import_zod.z.optional(import_zod.z.string()).describe("The URL for the image")
|
|
1367
|
-
});
|
|
1368
|
-
var imageSchema = import_zod.z.object({
|
|
1369
|
-
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
1370
|
-
type: import_zod.z.string().describe("Document type used for schema"),
|
|
1371
|
-
asset: import_zod.z.optional(imageAssetSchema).describe("The asset for the image")
|
|
1372
|
-
});
|
|
1373
|
-
|
|
1374
|
-
// src/types/latest/company_service_latest.ts
|
|
1375
|
-
var TypeEnum2 = import_zod2.z.enum(["OFFICE"]);
|
|
1376
|
-
var CategoryEnum = import_zod2.z.enum(["FINANCIAL", "HEALTH", "PROFESSIONAL_DEVELOPMENT", "WORK_LIFE_BALANCE"]);
|
|
1377
|
-
var TitleEnum = import_zod2.z.enum(["DMD", "JD", "MBA", "MD", "MHA", "MPH", "PT", "PH_D", "RN"]);
|
|
1378
|
-
var PublishStatusEnum = import_zod2.z.enum(["DRAFT", "IN_REVIEW", "PUBLISHED", "REMOVED"]);
|
|
1379
|
-
var OfficeTypeEnum = import_zod2.z.enum(["BRANCH", "HEADQUARTERS", "SATELLITE"]);
|
|
1380
|
-
var socialMediaSchema = import_zod2.z.object({
|
|
1381
|
-
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
1382
|
-
url: import_zod2.z.string().describe("The link to the social media platform"),
|
|
1383
|
-
type: import_zod2.z.string().describe("The type of social media link")
|
|
1384
|
-
});
|
|
1385
|
-
var companyBenefitsSchema = import_zod2.z.object({
|
|
1386
|
-
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
1387
|
-
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
1388
|
-
title: import_zod2.z.string(),
|
|
1389
|
-
description: import_zod2.z.optional(import_zod2.z.string()),
|
|
1390
|
-
category: CategoryEnum
|
|
1391
|
-
});
|
|
1392
|
-
var industrySchema = import_zod2.z.lazy(() => import_zod2.z.object({
|
|
1393
|
-
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
1394
|
-
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
1395
|
-
name: import_zod2.z.string(),
|
|
1396
|
-
description: import_zod2.z.optional(import_zod2.z.string()).describe("A brief description of the industry"),
|
|
1397
|
-
onetIndustryId: import_zod2.z.optional(import_zod2.z.string()).describe("ONET industry ID"),
|
|
1398
|
-
parent: import_zod2.z.optional(industrySchema)
|
|
1399
|
-
}));
|
|
1400
|
-
var jobBoardSchema = import_zod2.z.object({
|
|
1401
|
-
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
1402
|
-
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
1403
|
-
name: import_zod2.z.string().describe("The name of the job board"),
|
|
1404
|
-
description: import_zod2.z.string().describe("A brief description of the job board"),
|
|
1405
|
-
logo: import_zod2.z.optional(imageSchema).describe("The logo of the job board"),
|
|
1406
|
-
baseUrl: import_zod2.z.optional(import_zod2.z.string()).describe("The base URL of the job board")
|
|
1407
|
-
});
|
|
1408
|
-
var personSchema = import_zod2.z.object({
|
|
1409
|
-
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
1410
|
-
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
1411
|
-
firstName: import_zod2.z.string().describe("The first name of the person"),
|
|
1412
|
-
lastName: import_zod2.z.string().describe("The last name of the person"),
|
|
1413
|
-
title: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string())).describe("The titles of the degree of the person"),
|
|
1414
|
-
slug: import_zod2.z.string().describe("person slug - should be familyname-givenname-title(s)"),
|
|
1415
|
-
jobTitle: import_zod2.z.optional(import_zod2.z.string()).describe("The job title of the person"),
|
|
1416
|
-
isDoctor: import_zod2.z.optional(import_zod2.z.boolean()).describe("Is the person a doctor"),
|
|
1417
|
-
isMedical: import_zod2.z.optional(import_zod2.z.boolean()).describe("Are they of a medical background?"),
|
|
1418
|
-
isScientist: import_zod2.z.optional(import_zod2.z.boolean()).describe("Are they a scientist?"),
|
|
1419
|
-
image: import_zod2.z.optional(imageSchema).describe("The image of the person"),
|
|
1420
|
-
email: import_zod2.z.optional(import_zod2.z.string()).describe("The email of the person"),
|
|
1421
|
-
socialMedia: import_zod2.z.optional(import_zod2.z.array(socialMediaSchema)).describe("The social media links of the person"),
|
|
1422
|
-
telephone: import_zod2.z.optional(import_zod2.z.string()).describe("The telephone number of the person"),
|
|
1423
|
-
url: import_zod2.z.optional(import_zod2.z.string()).describe("The URL of the person"),
|
|
1424
|
-
address: import_zod2.z.optional(placeSchema).describe("The address of the person")
|
|
1425
|
-
});
|
|
1426
|
-
var companyCareersSchema = import_zod2.z.object({
|
|
1427
|
-
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
1428
|
-
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
1429
|
-
careersUrl: import_zod2.z.string().describe("The URL of the company careers page"),
|
|
1430
|
-
jobBoard: import_zod2.z.optional(jobBoardSchema),
|
|
1431
|
-
jobBoardSlug: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string())),
|
|
1432
|
-
companyBenefits: import_zod2.z.optional(import_zod2.z.array(companyBenefitsSchema)).describe("What are the specific benefits of that company. The benefit is generic.")
|
|
1433
|
-
});
|
|
1434
|
-
var companyPhilosophySchema = import_zod2.z.object({
|
|
1435
|
-
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
1436
|
-
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
1437
|
-
companyMission: import_zod2.z.optional(import_zod2.z.string()).describe("The mission statement of the company."),
|
|
1438
|
-
companyHow: import_zod2.z.optional(import_zod2.z.string()).describe("How does the company achieve its mission"),
|
|
1439
|
-
companyCulture: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string())).describe("What are some of the culture aspects of this company?")
|
|
1440
|
-
});
|
|
1441
|
-
var companyNdgSchema = import_zod2.z.object({
|
|
1442
|
-
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
1443
|
-
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
1444
|
-
companyWow: import_zod2.z.optional(import_zod2.z.string()).describe("What is the wow of this company?"),
|
|
1445
|
-
companyNdgTake: import_zod2.z.optional(import_zod2.z.string()).describe("What is the NDG POV on this company?"),
|
|
1446
|
-
companyBestFit: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string())),
|
|
1447
|
-
companyInterests: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string()))
|
|
1448
|
-
});
|
|
1449
|
-
var foundingInformationSchema = import_zod2.z.object({
|
|
1450
|
-
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
1451
|
-
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
1452
|
-
foundedDate: import_zod2.z.optional(import_zod2.z.string()),
|
|
1453
|
-
foundedCountry: import_zod2.z.optional(import_zod2.z.string()),
|
|
1454
|
-
foundedCity: import_zod2.z.optional(import_zod2.z.string()),
|
|
1455
|
-
founders: import_zod2.z.optional(import_zod2.z.array(personSchema))
|
|
1456
|
-
});
|
|
1457
|
-
var ngdMetadataSchema = import_zod2.z.object({
|
|
1458
|
-
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
1459
|
-
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
1460
|
-
lastScraped: import_zod2.z.optional(import_zod2.z.string()).describe("Date the last entity was scraped, if applicable"),
|
|
1461
|
-
scraperVersion: import_zod2.z.optional(import_zod2.z.string()),
|
|
1462
|
-
postProcessorVersion: import_zod2.z.optional(import_zod2.z.string()),
|
|
1463
|
-
uniqueRunId: import_zod2.z.optional(import_zod2.z.string()),
|
|
1464
|
-
postProcessorUniqueRunId: import_zod2.z.optional(import_zod2.z.string()),
|
|
1465
|
-
isScrapeManaged: import_zod2.z.optional(import_zod2.z.boolean()).default(true)
|
|
1466
|
-
});
|
|
1467
|
-
var companySchema = import_zod2.z.object({
|
|
1468
|
-
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
1469
|
-
id: import_zod2.z.string().describe("The NDG specific id for a company. Cannot be changed."),
|
|
1470
|
-
createdAt: import_zod2.z.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
1471
|
-
updatedAt: import_zod2.z.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
1472
|
-
companyName: import_zod2.z.string().describe("The name of the company"),
|
|
1473
|
-
slug: import_zod2.z.string().describe("The NDG specific slug for a company."),
|
|
1474
|
-
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
1475
|
-
logo: import_zod2.z.optional(imageSchema).describe("The logo of the company"),
|
|
1476
|
-
companyWebsite: import_zod2.z.optional(import_zod2.z.string()).describe("The website of the company"),
|
|
1477
|
-
socialMedia: import_zod2.z.optional(import_zod2.z.array(socialMediaSchema)).describe("The social media links of the company"),
|
|
1478
|
-
brandColor: import_zod2.z.optional(import_zod2.z.string()).describe("The brand color of the company"),
|
|
1479
|
-
companyCareers: import_zod2.z.optional(companyCareersSchema).describe("Career Specific Information for the company."),
|
|
1480
|
-
companyPhilosophy: import_zod2.z.optional(companyPhilosophySchema).describe("Company mission,values and how the company achieves its mission."),
|
|
1481
|
-
companyNdg: import_zod2.z.optional(companyNdgSchema).describe("Next Degree specific information for the company."),
|
|
1482
|
-
foundingInfo: import_zod2.z.optional(foundingInformationSchema),
|
|
1483
|
-
headquartersLocation: import_zod2.z.optional(placeSchema),
|
|
1484
|
-
employeeEstimate: import_zod2.z.optional(import_zod2.z.string()),
|
|
1485
|
-
publishStatus: import_zod2.z.optional(import_zod2.z.string()),
|
|
1486
|
-
ngdMetadata: import_zod2.z.optional(ngdMetadataSchema)
|
|
1487
|
-
});
|
|
1488
|
-
var officeSchema = import_zod2.z.object({
|
|
1489
|
-
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
1490
|
-
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
1491
|
-
name: import_zod2.z.string().describe("Name or nickname for the office (e.g., 'NYC HQ', 'West Coast Branch')"),
|
|
1492
|
-
officeType: OfficeTypeEnum,
|
|
1493
|
-
companyId: import_zod2.z.optional(companySchema),
|
|
1494
|
-
geoLocation: import_zod2.z.optional(placeSchema).describe("Geographical location details: coordinates + postal address"),
|
|
1495
|
-
createdAt: import_zod2.z.optional(import_zod2.z.string()),
|
|
1496
|
-
updatedAt: import_zod2.z.optional(import_zod2.z.string())
|
|
1497
|
-
});
|
|
1498
|
-
|
|
1499
|
-
// src/types/latest/job_posting_service_latest.ts
|
|
1500
|
-
var import_zod3 = require("zod");
|
|
1501
|
-
var TypeEnum3 = import_zod3.z.enum(["JOB_POST"]);
|
|
1502
|
-
var JobLocationTypeEnum = import_zod3.z.enum(["FLOAT", "HYBRID", "ONSITE", "REMOTE"]);
|
|
1503
|
-
var EmploymentTypeEnum = import_zod3.z.enum(["CONTRACT", "FULL_TIME", "INTERNSHIP", "OTHER", "PART_TIME", "PER_DIEM", "TEMPORARY"]);
|
|
1504
|
-
var EmploymentLevelEnum = import_zod3.z.enum(["DIRECTOR", "ENTRY_LEVEL", "EXECUTIVE", "EXPERIENCED", "INTERN", "MANAGER"]);
|
|
1505
|
-
var JobFunctionEnum = import_zod3.z.enum(["CLINICAL_RESEARCH", "CUSTOMER_SUCCESS", "DATA_ANALYTICS", "FINANCE_AND_AUDIT", "MARKETING", "OPERATIONS", "PEOPLE_HUMAN_RESOURCES", "PRODUCT_AND_TECH", "QUALITY_ASSURANCE_AND_OUTCOMES", "SALES_AND_BUSINESS_DEVELOPMENT", "STRATEGY_AND_CONSULTING"]);
|
|
1506
|
-
var PublishStatusEnum2 = import_zod3.z.enum(["DRAFT", "IN_REVIEW", "PUBLISHED", "REMOVED"]);
|
|
1507
|
-
var BestFitEnum = import_zod3.z.enum(["DENTIST", "DIETICIAN", "DOULA", "MEDICAL_ASSISTANT", "MIDWIFE", "NURSE", "OCCUPATIONAL_THERAPIST", "PHARMACIST", "PHYSICAL_THERAPIST", "PHYSICIAN", "PHYSICIAN_ASSISTANT", "PSYCHOLOGIST", "RADIOLOGIST", "SOCIAL_WORKER", "SPEECH_LANGUAGE_PATHOLOGIST", "SURGEON"]);
|
|
1508
|
-
var ClinicalLicenseEnum = import_zod3.z.enum(["CNA", "CNM", "CNS", "COTA", "CRNA", "LPN", "LVN", "NP", "OT", "PT", "PTA", "RN"]);
|
|
1509
|
-
var ShiftEnum = import_zod3.z.enum(["DAY", "EIGHT_HOUR", "EVENING", "FLEXIBLE", "MID_SHIFT", "MONDAY_TO_FRIDAY", "NIGHT", "ON_CALL", "TEN_HOUR", "TWELVE_HOUR", "WEEKENDS"]);
|
|
1510
|
-
var ClinicalSettingEnum = import_zod3.z.enum(["ACUTE_CARE", "AMBULATORY_SURGERY_CENTER", "CLINIC", "HOME_HEALTH", "HOSPITAL", "INPATIENT", "LONG_TERM_CARE", "MED_SPA", "NURSING_HOME", "OFFICE", "OUTPATIENT", "PRIVATE_PRACTICE", "REHAB_CENTER", "SCHOOL", "SKILLED_NURSING_FACILITY"]);
|
|
1511
|
-
var ClinicalSpecialtyEnum = import_zod3.z.enum(["ANESTHESIOLOGY", "CARDIOLOGY", "CASE_MANAGEMENT", "CHRONIC_PAIN", "CLINICAL_ELECTROPHYSIOLOGY", "CRITICAL_AND_ACUTE_CARE", "DERMATOLOGY", "DIALYSIS", "EMERGENCY_MEDICINE", "ENDOCRINOLOGY", "ERGONOMICS", "FEEDING_EATING_AND_SWALLOWING", "GASTROENTEROLOGY", "GERIATRICS", "HAND_THERAPY", "HEMATOLOGY", "HOLISTIC_MEDICINE", "INFORMATICS", "INTERNAL_MEDICINE", "LABOR_AND_DELIVERY", "MANUAL_THERAPY", "MED_SURG", "MENTAL_HEALTH", "NEPHROLOGY", "NEUROLOGY", "ONCOLOGY", "ORTHOPEDICS", "OTOLARYNGOLOGY", "PEDIATRICS", "PHYSICAL_AND_REHABILITATION_MEDICINE", "PLASTIC_SURGERY", "PRIMARY_CARE", "PSYCHIATRY", "PULMONOLOGY", "RADIOLOGY", "SENSORY", "SPORTS", "SURGERY", "TRAUMA_MEDICINE", "URGENT_CARE", "UROLOGY", "VISION", "WOMENS_HEALTH", "WOUND_AND_BURN_CARE"]);
|
|
1512
|
-
var jobPostSchema = import_zod3.z.object({
|
|
1513
|
-
version: import_zod3.z.literal("1.0.0").default("1.0.0"),
|
|
1514
|
-
id: import_zod3.z.string().describe("The NDG specific id for a job posting in form of ndg-<company_slug>-<unique-job-id>. Serves as unique identifier. Cannot be changed."),
|
|
1515
|
-
type: import_zod3.z.string().describe("Document type used for schema"),
|
|
1516
|
-
createdAt: import_zod3.z.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
1517
|
-
updatedAt: import_zod3.z.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
1518
|
-
dateAdded: import_zod3.z.optional(import_zod3.z.string().datetime()).describe("The date the job was added to the platform"),
|
|
1519
|
-
datePosted: import_zod3.z.optional(import_zod3.z.string().datetime()).describe("The date the job was published for public viewing"),
|
|
1520
|
-
dateRemoved: import_zod3.z.optional(import_zod3.z.string().datetime()).describe("The date the job was removed from public viewing"),
|
|
1521
|
-
validThrough: import_zod3.z.optional(import_zod3.z.string().datetime()).describe("The date the job posting is valid through. After this date it will be removed from public viewing"),
|
|
1522
|
-
vacancyCount: import_zod3.z.optional(import_zod3.z.number().int()).describe("The number of vacancies for a given job posting"),
|
|
1523
|
-
clientId: import_zod3.z.string().describe("The ID assigned by the client to a job - normally the same as the GH / Lever / Ashby ID or internal ID"),
|
|
1524
|
-
url: import_zod3.z.string().describe("The URL of the job to be displayed for users to apply with. Direct job link."),
|
|
1525
|
-
title: import_zod3.z.string().describe("The title of the job post"),
|
|
1526
|
-
description: import_zod3.z.string().describe("The description of the job post saved as markdown. Used for rendering the job description."),
|
|
1527
|
-
richTextDescription: import_zod3.z.optional(import_zod3.z.string()).describe("The description of the job post saved as rich text"),
|
|
1528
|
-
isClinical: import_zod3.z.boolean().default(false).describe("Denotes if a job posting is clinical in nature or not. A role is clinical if it requires direct clinical patient care."),
|
|
1529
|
-
isRemote: import_zod3.z.boolean().default(false).describe("Denotes if a job posting is remote in nature. For a posting to be 'remote' it must be 100% remote (e.g hybrid roles would denote this to false)."),
|
|
1530
|
-
isVerified: import_zod3.z.boolean().default(false).describe("Denotes if a job posting has been manually verified - and thus ALL fields can be considered accurate. Can be used for DS training."),
|
|
1531
|
-
isDirectApply: import_zod3.z.boolean().default(false).describe("Denotes if a job posting url is direct apply. To be direct apply a user must be able to apply to the role without logging in and under 2 clicks."),
|
|
1532
|
-
jobLocationType: import_zod3.z.optional(import_zod3.z.array(JobLocationTypeEnum)),
|
|
1533
|
-
employmentType: import_zod3.z.optional(import_zod3.z.array(EmploymentTypeEnum)),
|
|
1534
|
-
employmentLevel: import_zod3.z.optional(EmploymentLevelEnum),
|
|
1535
|
-
jobFunction: import_zod3.z.optional(JobFunctionEnum),
|
|
1536
|
-
publishStatus: PublishStatusEnum2,
|
|
1537
|
-
bestFit: import_zod3.z.optional(import_zod3.z.array(BestFitEnum)),
|
|
1538
|
-
clinicalLicense: import_zod3.z.optional(import_zod3.z.array(ClinicalLicenseEnum)),
|
|
1539
|
-
shift: import_zod3.z.optional(import_zod3.z.array(ShiftEnum)),
|
|
1540
|
-
clinicalSetting: import_zod3.z.optional(import_zod3.z.array(ClinicalSettingEnum)),
|
|
1541
|
-
clinicalSpecialty: import_zod3.z.optional(import_zod3.z.array(ClinicalSpecialtyEnum)),
|
|
1542
|
-
estimatedSalary: import_zod3.z.optional(monetaryAmountSchema).describe("Determines the estimated salary for a given job posting"),
|
|
1543
|
-
jobLocation: import_zod3.z.optional(postalAddressSchema).describe("Determines the primary physical location where the job is to be performed. For remote roles, use applicantLocationRequirements"),
|
|
1544
|
-
applicableOffices: import_zod3.z.optional(import_zod3.z.array(officeSchema)).describe("The physical location(s) in which employees may be located for to be eligible for the job. Used in conjunction with job_location_type."),
|
|
1545
|
-
applicantLocationRequirements: import_zod3.z.optional(import_zod3.z.array(placeSchema)).describe("The geographic location(s) in which employees may be located for to be eligible for the job. The job description must clearly state that the applicant may be located in certain geographical location(s). This property is required if applicants may be located in one or more geographic locations and the job is 100% remote."),
|
|
1546
|
-
hiringOrganization: import_zod3.z.optional(companySchema).describe("The organization that is hiring for the role")
|
|
1547
|
-
});
|
|
1548
|
-
|
|
1549
|
-
// src/types/latest/custom/company_service_sanity.ts
|
|
1550
|
-
var import_zod5 = require("zod");
|
|
1551
|
-
|
|
1552
|
-
// src/types/latest/custom/custom_sanity_models.ts
|
|
1553
|
-
var import_zod4 = require("zod");
|
|
1554
|
-
var sanityReferenceSchema = import_zod4.z.object({
|
|
1555
|
-
_ref: import_zod4.z.string(),
|
|
1556
|
-
_type: import_zod4.z.string(),
|
|
1557
|
-
_key: import_zod4.z.optional(import_zod4.z.string())
|
|
1558
|
-
});
|
|
1559
|
-
var sanitySlugSchema = import_zod4.z.object({
|
|
1560
|
-
current: import_zod4.z.string(),
|
|
1561
|
-
_type: import_zod4.z.string(),
|
|
1562
|
-
_key: import_zod4.z.optional(import_zod4.z.string())
|
|
1563
|
-
});
|
|
1564
|
-
|
|
1565
|
-
// src/types/latest/custom/company_service_sanity.ts
|
|
1566
|
-
var foundingInformationSchema2 = foundingInformationSchema.extend({
|
|
1567
|
-
_type: import_zod5.z.string().describe("Document type used within sanity").default("companyFounding"),
|
|
1568
|
-
founders: import_zod5.z.optional(import_zod5.z.union([import_zod5.z.array(personSchema), import_zod5.z.array(sanityReferenceSchema)])).nullable(),
|
|
1569
|
-
founderList: import_zod5.z.optional(import_zod5.z.union([import_zod5.z.array(personSchema), import_zod5.z.array(sanityReferenceSchema)])).nullable()
|
|
1570
|
-
}).omit({ type: true }).strict().transform((data) => ({
|
|
1571
|
-
...data,
|
|
1572
|
-
type: data._type,
|
|
1573
|
-
founders: data.founders || data.founderList || void 0
|
|
1574
|
-
})).transform(({ _type, founderList, ...rest }) => rest);
|
|
1575
|
-
var companyNdgSchema2 = companyNdgSchema.extend({
|
|
1576
|
-
_type: import_zod5.z.string().describe("Document type used within sanity").default("companyNDG"),
|
|
1577
|
-
companyNDGTake: import_zod5.z.string().nullable().describe("What is the NDG POV on this company?")
|
|
1578
|
-
}).omit({ type: true }).strict().transform((data) => ({
|
|
1579
|
-
...data,
|
|
1580
|
-
type: data._type,
|
|
1581
|
-
companyNdgTake: data.companyNDGTake
|
|
1582
|
-
})).transform(({ _type, companyNDGTake, ...rest }) => rest);
|
|
1583
|
-
var ngdMetadataSchema2 = ngdMetadataSchema.extend({
|
|
1584
|
-
_type: import_zod5.z.string().describe("Document type used within sanity").default("ndgMetadata")
|
|
1585
|
-
}).omit({ type: true }).transform((data) => ({
|
|
1586
|
-
...data,
|
|
1587
|
-
type: data._type
|
|
1588
|
-
})).transform(({ _type, ...rest }) => rest);
|
|
1589
|
-
var companyPhilosophySchema2 = companyPhilosophySchema.extend({
|
|
1590
|
-
_type: import_zod5.z.string().describe("Document type used within sanity").default("companyPhilosophy")
|
|
1591
|
-
}).omit({ type: true }).strict().transform((data) => ({
|
|
1592
|
-
...data,
|
|
1593
|
-
type: data._type
|
|
1594
|
-
})).transform(({ _type, ...rest }) => rest);
|
|
1595
|
-
var companyCareersSchema2 = companyCareersSchema.extend({
|
|
1596
|
-
_type: import_zod5.z.string().describe("Document type used within sanity").default("companyCareers"),
|
|
1597
|
-
companyBenefits: import_zod5.z.optional(import_zod5.z.array(
|
|
1598
|
-
import_zod5.z.union([companyBenefitsSchema, sanityReferenceSchema])
|
|
1599
|
-
)).nullable().describe("What are the specific benefits of that company. The benefit is generic."),
|
|
1600
|
-
jobBoard: import_zod5.z.union([jobBoardSchema, sanityReferenceSchema]).nullable(),
|
|
1601
|
-
jobBoardSlug: import_zod5.z.optional(import_zod5.z.union([import_zod5.z.array(import_zod5.z.string()), import_zod5.z.array(sanitySlugSchema)]))
|
|
1602
|
-
}).omit({ type: true }).strict().transform((data) => ({
|
|
1603
|
-
...data,
|
|
1604
|
-
type: data._type
|
|
1605
|
-
})).transform(({ _type, ...rest }) => rest);
|
|
1606
|
-
var companySchema2 = companySchema.extend({
|
|
1607
|
-
_id: import_zod5.z.string().describe("The NDG specific id for a job posting in form of ndg-<company_slug>-<unique-job-id>. Serves as unique identifier. Cannot be changed."),
|
|
1608
|
-
_rev: import_zod5.z.string().nullable().describe("Revision number"),
|
|
1609
|
-
_type: import_zod5.z.string().describe("Document type used within sanity").default("company"),
|
|
1610
|
-
_createdAt: import_zod5.z.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
1611
|
-
_updatedAt: import_zod5.z.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
1612
|
-
companyCareers: companyCareersSchema2.nullable().describe("Career Specific Information for the company."),
|
|
1613
|
-
companyPhilosophy: companyPhilosophySchema2.nullable().describe("Company mission,values and how the company achieves its mission."),
|
|
1614
|
-
companyNDG: companyNdgSchema2.nullable().describe("Next Degree specific information for the company."),
|
|
1615
|
-
foundingInfo: foundingInformationSchema2.nullable(),
|
|
1616
|
-
slug: import_zod5.z.union([import_zod5.z.string(), sanitySlugSchema]).describe("The NDG specific slug for a company."),
|
|
1617
|
-
ndgMetadata: ngdMetadataSchema2.nullable(),
|
|
1618
|
-
logo: import_zod5.z.union([imageSchema, import_zod5.z.record(import_zod5.z.any())]).nullable().describe("The logo of the company"),
|
|
1619
|
-
//Deprecated Models
|
|
1620
|
-
logoImageURL: import_zod5.z.optional(import_zod5.z.string()).describe("The logo of the company"),
|
|
1621
|
-
industryList: import_zod5.z.optional(import_zod5.z.array(sanityReferenceSchema)).describe("The industry of the company")
|
|
1622
|
-
}).omit({ type: true, id: true, createdAt: true, updatedAt: true }).strict().transform((data) => ({
|
|
1623
|
-
...data,
|
|
1624
|
-
type: data._type,
|
|
1625
|
-
id: data._id,
|
|
1626
|
-
createdAt: data._createdAt,
|
|
1627
|
-
updatedAt: data._updatedAt,
|
|
1628
|
-
rev: data._rev
|
|
1629
|
-
})).transform(({ _type, _id, _rev, _createdAt, _updatedAt, ...rest }) => rest);
|
|
1630
|
-
|
|
1631
|
-
// src/types/latest/custom/job_posting_service_sanity.ts
|
|
1632
|
-
var import_zod6 = require("zod");
|
|
1633
|
-
var JobPostTypeEnum = import_zod6.z.enum(["jobPost"]);
|
|
1634
|
-
var MonetaryAmountTypeEnum = import_zod6.z.enum(["monetaryAmount"]);
|
|
1635
|
-
var postalAddressSchema2 = postalAddressSchema.extend({
|
|
1636
|
-
_type: import_zod6.z.string().describe("Document type used within sanity").default("address")
|
|
1637
|
-
}).omit({ type: true }).strict().transform((data) => ({
|
|
1638
|
-
...data,
|
|
1639
|
-
type: data._type
|
|
1640
|
-
})).transform(({ _type, ...rest }) => rest);
|
|
1641
|
-
var quantitativeValueSchema2 = quantitativeValueSchema.extend({
|
|
1642
|
-
_type: import_zod6.z.string().describe("Document type used within sanity").default("quantitativeValue")
|
|
1643
|
-
}).omit({ type: true }).strict().transform((data) => ({
|
|
1644
|
-
...data,
|
|
1645
|
-
type: data._type
|
|
1646
|
-
})).transform(({ _type, ...rest }) => rest);
|
|
1647
|
-
var monetaryAmountSchema2 = monetaryAmountSchema.extend({
|
|
1648
|
-
_type: import_zod6.z.string().describe("Document type used within sanity").default("monetaryAmount"),
|
|
1649
|
-
value: quantitativeValueSchema2.optional().describe("The quantitative_value for a given salary")
|
|
1650
|
-
}).omit({ type: true }).strict().transform((data) => ({
|
|
1651
|
-
...data,
|
|
1652
|
-
type: data._type
|
|
1653
|
-
})).transform(({ _type, ...rest }) => rest);
|
|
1654
|
-
var jobPostSchema2 = jobPostSchema.extend({
|
|
1655
|
-
// Override base fields with Sanity-specific fields
|
|
1656
|
-
_id: import_zod6.z.string().describe("The NDG specific id for a job posting in form of ndg-<company_slug>-<unique-job-id>. Serves as unique identifier. Cannot be changed.").regex(/^ndg-.*-.*$/),
|
|
1657
|
-
_rev: import_zod6.z.string().optional().describe("Revision number"),
|
|
1658
|
-
_type: import_zod6.z.string().describe("Document type used within sanity").default("jobPost"),
|
|
1659
|
-
_createdAt: import_zod6.z.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
1660
|
-
_updatedAt: import_zod6.z.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
1661
|
-
// Override fields with new schemas
|
|
1662
|
-
estimatedSalary: monetaryAmountSchema2.optional().describe("Determines the estimated salary for a given job posting"),
|
|
1663
|
-
jobLocation: postalAddressSchema2.optional().describe("Determines the primary physical location where the job is to be performed. For remote roles, use applicantLocationRequirements"),
|
|
1664
|
-
// Add Sanity-specific fields
|
|
1665
|
-
ndgMetadata: import_zod6.z.record(import_zod6.z.any()).optional(),
|
|
1666
|
-
ndgID: import_zod6.z.string().optional(),
|
|
1667
|
-
hiringOrganization: import_zod6.z.optional(import_zod6.z.union([sanityReferenceSchema, companySchema])),
|
|
1668
|
-
raw: import_zod6.z.record(import_zod6.z.any()).optional(),
|
|
1669
|
-
isLoaded: import_zod6.z.boolean().default(false),
|
|
1670
|
-
isVerified: import_zod6.z.boolean().default(false),
|
|
1671
|
-
needsReview: import_zod6.z.boolean().default(false),
|
|
1672
|
-
schema_version: import_zod6.z.string().optional(),
|
|
1673
|
-
origin: import_zod6.z.string().optional(),
|
|
1674
|
-
temp: import_zod6.z.record(import_zod6.z.any()).optional(),
|
|
1675
|
-
applicationType: import_zod6.z.string().optional(),
|
|
1676
|
-
// Override clientId to use Sanity naming convention
|
|
1677
|
-
clientID: import_zod6.z.string()
|
|
1678
|
-
}).omit({ type: true, id: true, createdAt: true, updatedAt: true, clientId: true }).transform((data) => ({
|
|
1679
|
-
...data,
|
|
1680
|
-
type: data._type,
|
|
1681
|
-
id: data._id,
|
|
1682
|
-
createdAt: data._createdAt,
|
|
1683
|
-
updatedAt: data._updatedAt,
|
|
1684
|
-
rev: data._rev
|
|
1685
|
-
})).transform(({ _type, _id, _rev, _createdAt, _updatedAt, ...rest }) => rest);
|
|
1686
|
-
|
|
1687
|
-
// src/lib/salaryRange.ts
|
|
1688
|
-
var CurrencyEnum2 = shared_pickle_output_latest_exports.CurrencyEnum;
|
|
1689
|
-
function salaryRange(salary, showUnitText = true) {
|
|
1690
|
-
if (!salary) return null;
|
|
1691
|
-
let min = salary.minValue;
|
|
1692
|
-
let max = salary.maxValue;
|
|
1693
|
-
let single = salary.singleValue;
|
|
1694
|
-
let value = salary.value;
|
|
1695
|
-
let unitText = "YEAR";
|
|
1696
|
-
const signs = {
|
|
1697
|
-
[CurrencyEnum2.Values.USD]: "$",
|
|
1698
|
-
[CurrencyEnum2.Values.GBP]: "\xA3",
|
|
1699
|
-
[CurrencyEnum2.Values.EUR]: "\u20AC"
|
|
1700
|
-
};
|
|
1701
|
-
const sign = signs[salary.currency ?? CurrencyEnum2.Values.USD];
|
|
1702
|
-
if (value != null && typeof value === "object") {
|
|
1703
|
-
min = value.minValue;
|
|
1704
|
-
max = value.maxValue;
|
|
1705
|
-
single = value.value;
|
|
1706
|
-
unitText = value.unitText;
|
|
1707
|
-
}
|
|
1708
|
-
if (unitText === "YEAR") unitText = " per year";
|
|
1709
|
-
if (unitText === "MONTH") unitText = " per month";
|
|
1710
|
-
if (unitText === "WEEK") unitText = " per week";
|
|
1711
|
-
if (unitText === "DAY") unitText = " per day";
|
|
1712
|
-
if (unitText === "PER_ACTIVITY") unitText = " per activity";
|
|
1713
|
-
if (unitText === "HOUR") unitText = " per hour";
|
|
1714
|
-
if (showUnitText === false) unitText = "";
|
|
1715
|
-
const isValid = (v) => v != null && v >= 0;
|
|
1716
|
-
if (!isValid(min) && !isValid(max) && !isValid(single)) return null;
|
|
1717
|
-
if (isValid(single)) return sign + single.toLocaleString() + unitText;
|
|
1718
|
-
if (min === max) return sign + min?.toLocaleString() + unitText;
|
|
1719
|
-
if (isValid(min) && isValid(max))
|
|
1720
|
-
return sign + min?.toLocaleString() + " - " + sign + max?.toLocaleString() + unitText;
|
|
1721
|
-
return null;
|
|
1722
|
-
}
|
|
1723
|
-
|
|
1724
|
-
// src/components/jobPost/JobPost.tsx
|
|
1725
|
-
function JobPost({
|
|
1726
|
-
job,
|
|
1727
|
-
bannerSrc,
|
|
1728
|
-
avatarSrc,
|
|
1729
|
-
standalone,
|
|
1730
|
-
avatarHref,
|
|
1731
|
-
fallbackHref,
|
|
1732
|
-
backAcceptedRoutes,
|
|
1733
|
-
actions
|
|
1734
|
-
}) {
|
|
1735
|
-
const formattedEmploymentType = useDisplayText("employmentType", job.employmentType);
|
|
1736
|
-
const formattedEmploymentLevel = useDisplayText("employmentLevel", job.employmentLevel);
|
|
1737
|
-
const formattedJobFunction = useDisplayText("jobFunction", job.jobFunction);
|
|
1738
|
-
const formattedLocations = getAddressList(job);
|
|
1739
|
-
const formattedSalary = salaryRange(job.estimatedSalary);
|
|
1740
|
-
const formattedDate = DateFns.formatDistanceToNow(new Date(job.datePosted), {
|
|
1741
|
-
addSuffix: true
|
|
1742
|
-
});
|
|
1743
|
-
const tags = [
|
|
1744
|
-
!!formattedSalary && {
|
|
1745
|
-
icon: "banknote",
|
|
1746
|
-
name: "salary",
|
|
1747
|
-
label: formattedSalary
|
|
1748
|
-
},
|
|
1749
|
-
!!formattedEmploymentType && {
|
|
1750
|
-
icon: "briefcase-business",
|
|
1751
|
-
name: "employmentType",
|
|
1752
|
-
label: formattedEmploymentType
|
|
1753
|
-
},
|
|
1754
|
-
!!formattedEmploymentLevel && {
|
|
1755
|
-
icon: "circle-user",
|
|
1756
|
-
name: "level",
|
|
1757
|
-
label: formattedEmploymentLevel
|
|
1758
|
-
},
|
|
1759
|
-
!!formattedJobFunction && {
|
|
1760
|
-
icon: "briefcase-business",
|
|
1761
|
-
name: "jobFunction",
|
|
1762
|
-
label: formattedJobFunction
|
|
1763
|
-
},
|
|
1764
|
-
...formattedLocations.map((label) => ({
|
|
1765
|
-
icon: "map-pin",
|
|
1766
|
-
name: "location",
|
|
1767
|
-
label
|
|
1768
|
-
}))
|
|
1769
|
-
].filter((t) => !!t);
|
|
1770
|
-
return /* @__PURE__ */ React.createElement(
|
|
1771
|
-
"div",
|
|
1772
|
-
{
|
|
1773
|
-
className: cn(
|
|
1774
|
-
"flex flex-col gap-10 pb-4",
|
|
1775
|
-
!standalone && "border-1 rounded-3xl border-grey-5"
|
|
1776
|
-
)
|
|
1777
|
-
},
|
|
1778
|
-
/* @__PURE__ */ React.createElement(
|
|
1779
|
-
JobHeader,
|
|
1780
|
-
{
|
|
1781
|
-
title: job.title,
|
|
1782
|
-
bannerSrc,
|
|
1783
|
-
avatarName: job.hiringOrganization?.companyName,
|
|
1784
|
-
avatarSrc: job.hiringOrganization?.logo?.asset?.url,
|
|
1785
|
-
subtitles: [job.hiringOrganization?.companyName ?? "", `Posted ${formattedDate}`],
|
|
1786
|
-
actions,
|
|
1787
|
-
standalone,
|
|
1788
|
-
avatarHref,
|
|
1789
|
-
backFallbackHref: fallbackHref,
|
|
1790
|
-
backAcceptedRoutes,
|
|
1791
|
-
tags
|
|
1792
|
-
}
|
|
1793
|
-
),
|
|
1794
|
-
/* @__PURE__ */ React.createElement("div", { className: "flex flex-col gap-8 px-6" }, /* @__PURE__ */ React.createElement(JobDescription, { description: job.description }), /* @__PURE__ */ React.createElement(
|
|
1795
|
-
CompanyTake,
|
|
1796
|
-
{
|
|
1797
|
-
avatarSrc,
|
|
1798
|
-
content: job.hiringOrganization?.companyNDG?.companyNDGTake
|
|
1799
|
-
}
|
|
1800
|
-
), /* @__PURE__ */ React.createElement(
|
|
1801
|
-
CompanyInformation,
|
|
1802
|
-
{
|
|
1803
|
-
name: job.hiringOrganization?.companyName ?? "",
|
|
1804
|
-
how: job.hiringOrganization?.companyPhilosophy?.companyHow,
|
|
1805
|
-
mission: job.hiringOrganization?.companyPhilosophy?.companyMission,
|
|
1806
|
-
wow: job.hiringOrganization?.companyNDG?.companyWow,
|
|
1807
|
-
website: job.hiringOrganization?.companyWebsite
|
|
1808
|
-
}
|
|
1809
|
-
), /* @__PURE__ */ React.createElement(
|
|
1810
|
-
CompanyBenefits,
|
|
1811
|
-
{
|
|
1812
|
-
benefits: job.hiringOrganization?.companyCareers?.companyBenefits?.map((b) => b.title).filter((d) => d !== void 0)
|
|
1813
|
-
}
|
|
1814
|
-
))
|
|
1815
|
-
);
|
|
1816
|
-
}
|
|
1817
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
1818
|
-
0 && (module.exports = {
|
|
1819
|
-
JobPost
|
|
1820
|
-
});
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkL56JW56Y_cjs = require('../../chunk-L56JW56Y.cjs');
|
|
4
|
+
require('../../chunk-GQNVPLSG.cjs');
|
|
5
|
+
require('../../chunk-7X6S7GJK.cjs');
|
|
6
|
+
require('../../chunk-MDLLVPLD.cjs');
|
|
7
|
+
require('../../chunk-YPA6HVCD.cjs');
|
|
8
|
+
require('../../chunk-VUBXXZUL.cjs');
|
|
9
|
+
require('../../chunk-XAPQTBJR.cjs');
|
|
10
|
+
require('../../chunk-TJVXG27I.cjs');
|
|
11
|
+
require('../../chunk-E5S6MGBJ.cjs');
|
|
12
|
+
require('../../chunk-M3HMXHAL.cjs');
|
|
13
|
+
require('../../chunk-VXNZRGLE.cjs');
|
|
14
|
+
require('../../chunk-SMDQTPJE.cjs');
|
|
15
|
+
require('../../chunk-GP5XW2ZR.cjs');
|
|
16
|
+
require('../../chunk-3CI6PTKT.cjs');
|
|
17
|
+
require('../../chunk-TBV7NDAG.cjs');
|
|
18
|
+
require('../../chunk-QDSCHWM3.cjs');
|
|
19
|
+
require('../../chunk-HCXPKYJR.cjs');
|
|
20
|
+
require('../../chunk-MGWZXPMF.cjs');
|
|
21
|
+
require('../../chunk-5QXQ2LBB.cjs');
|
|
22
|
+
require('../../chunk-SPAVM3EE.cjs');
|
|
23
|
+
require('../../chunk-GN3JZCM3.cjs');
|
|
24
|
+
require('../../chunk-IVPCYGXE.cjs');
|
|
25
|
+
require('../../chunk-3PARXYUI.cjs');
|
|
26
|
+
require('../../chunk-L4SZQQK6.cjs');
|
|
27
|
+
require('../../chunk-LUFPA3WC.cjs');
|
|
28
|
+
require('../../chunk-567FG76G.cjs');
|
|
29
|
+
require('../../chunk-ZZCTMR2F.cjs');
|
|
30
|
+
require('../../chunk-JZVRCP3M.cjs');
|
|
31
|
+
require('../../chunk-XUTLQ573.cjs');
|
|
32
|
+
require('../../chunk-YEYEUQM6.cjs');
|
|
33
|
+
require('../../chunk-LRBADBNS.cjs');
|
|
34
|
+
require('../../chunk-Q7SFCCGT.cjs');
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
Object.defineProperty(exports, "JobPost", {
|
|
39
|
+
enumerable: true,
|
|
40
|
+
get: function () { return chunkL56JW56Y_cjs.JobPost; }
|
|
41
|
+
});
|
|
42
|
+
//# sourceMappingURL=JobPost.cjs.map
|
|
1821
43
|
//# sourceMappingURL=JobPost.cjs.map
|