@next-degree/pickle-shared-js 0.13.1 → 0.13.5
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-2I2TWTPC.js +115 -0
- package/dist/chunk-2I2TWTPC.js.map +1 -0
- package/dist/chunk-2TEFWPFS.js +34 -0
- package/dist/chunk-2TEFWPFS.js.map +1 -0
- package/dist/chunk-2YUUVN7E.cjs +37 -0
- package/dist/chunk-2YUUVN7E.cjs.map +1 -0
- package/dist/chunk-3FQTSGHL.cjs +90 -0
- package/dist/chunk-3FQTSGHL.cjs.map +1 -0
- package/dist/chunk-3HO3CCXD.js +44 -0
- package/dist/chunk-3HO3CCXD.js.map +1 -0
- package/dist/chunk-3NDL2JQ7.js +81 -0
- package/dist/chunk-3NDL2JQ7.js.map +1 -0
- package/dist/chunk-3PARXYUI.cjs +86 -0
- package/dist/chunk-3PARXYUI.cjs.map +1 -0
- package/dist/chunk-46HHHYSV.cjs +30 -0
- package/dist/chunk-46HHHYSV.cjs.map +1 -0
- package/dist/chunk-46SPIPCF.cjs +54 -0
- package/dist/chunk-46SPIPCF.cjs.map +1 -0
- package/dist/chunk-47H3M7TP.js +72 -0
- package/dist/chunk-47H3M7TP.js.map +1 -0
- package/dist/chunk-4IMEF4J5.cjs +58 -0
- package/dist/chunk-4IMEF4J5.cjs.map +1 -0
- package/dist/chunk-4JSV7KA3.cjs +43 -0
- package/dist/chunk-4JSV7KA3.cjs.map +1 -0
- package/dist/chunk-4LUPQO4R.cjs +16 -0
- package/dist/chunk-4LUPQO4R.cjs.map +1 -0
- package/dist/chunk-4NEPWF3Z.js +152 -0
- package/dist/chunk-4NEPWF3Z.js.map +1 -0
- package/dist/chunk-4RVGUZNF.js +72 -0
- package/dist/chunk-4RVGUZNF.js.map +1 -0
- package/dist/chunk-4VYXUFJA.js +72 -0
- package/dist/chunk-4VYXUFJA.js.map +1 -0
- package/dist/chunk-53OQ6M2O.js +25 -0
- package/dist/chunk-53OQ6M2O.js.map +1 -0
- package/dist/chunk-5H35ZVLR.js +43 -0
- package/dist/chunk-5H35ZVLR.js.map +1 -0
- package/dist/chunk-5LMIRRED.js +59 -0
- package/dist/chunk-5LMIRRED.js.map +1 -0
- package/dist/chunk-5NQTYPZG.js +14 -0
- package/dist/chunk-5NQTYPZG.js.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-62OBBM7T.js +95 -0
- package/dist/chunk-62OBBM7T.js.map +1 -0
- package/dist/chunk-6BFFHI2V.cjs +33 -0
- package/dist/chunk-6BFFHI2V.cjs.map +1 -0
- package/dist/chunk-6EW2D7K7.cjs +51 -0
- package/dist/chunk-6EW2D7K7.cjs.map +1 -0
- package/dist/chunk-6V7WZMBZ.cjs +83 -0
- package/dist/chunk-6V7WZMBZ.cjs.map +1 -0
- package/dist/chunk-AB3775NI.cjs +93 -0
- package/dist/chunk-AB3775NI.cjs.map +1 -0
- package/dist/chunk-AEYPJ5YA.cjs +51 -0
- package/dist/chunk-AEYPJ5YA.cjs.map +1 -0
- package/dist/chunk-AMNEAWA7.cjs +59 -0
- package/dist/chunk-AMNEAWA7.cjs.map +1 -0
- package/dist/chunk-APHLSON7.cjs +29 -0
- package/dist/chunk-APHLSON7.cjs.map +1 -0
- package/dist/chunk-B7NHA4GE.js +33 -0
- package/dist/chunk-B7NHA4GE.js.map +1 -0
- package/dist/chunk-BJT6JTXX.js +49 -0
- package/dist/chunk-BJT6JTXX.js.map +1 -0
- package/dist/chunk-BLMWXMW4.js +14 -0
- package/dist/chunk-BLMWXMW4.js.map +1 -0
- package/dist/chunk-C3DCFPJC.cjs +125 -0
- package/dist/chunk-C3DCFPJC.cjs.map +1 -0
- package/dist/chunk-C63PYADW.cjs +115 -0
- package/dist/chunk-C63PYADW.cjs.map +1 -0
- package/dist/chunk-CAGLLWPR.js +33 -0
- package/dist/chunk-CAGLLWPR.js.map +1 -0
- package/dist/chunk-CPZFINPG.js +37 -0
- package/dist/chunk-CPZFINPG.js.map +1 -0
- package/dist/chunk-CQSYXCIU.cjs +221 -0
- package/dist/chunk-CQSYXCIU.cjs.map +1 -0
- package/dist/chunk-CTR2QSI6.js +121 -0
- package/dist/chunk-CTR2QSI6.js.map +1 -0
- package/dist/chunk-CWTO3NXW.js +12 -0
- package/dist/chunk-CWTO3NXW.js.map +1 -0
- package/dist/chunk-DMNSL52U.cjs +160 -0
- package/dist/chunk-DMNSL52U.cjs.map +1 -0
- package/dist/chunk-DU5OQA67.cjs +49 -0
- package/dist/chunk-DU5OQA67.cjs.map +1 -0
- package/dist/chunk-DURKKV2E.js +52 -0
- package/dist/chunk-DURKKV2E.js.map +1 -0
- package/dist/chunk-DUVGFEGU.js +149 -0
- package/dist/chunk-DUVGFEGU.js.map +1 -0
- package/dist/chunk-DWB5TTR6.cjs +55 -0
- package/dist/chunk-DWB5TTR6.cjs.map +1 -0
- package/dist/chunk-DXLVRZFU.js +21 -0
- package/dist/chunk-DXLVRZFU.js.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-EBOIU23Q.cjs +137 -0
- package/dist/chunk-EBOIU23Q.cjs.map +1 -0
- package/dist/chunk-EBZRXX6P.js +41 -0
- package/dist/chunk-EBZRXX6P.js.map +1 -0
- package/dist/chunk-EWFDWOL2.js +27 -0
- package/dist/chunk-EWFDWOL2.js.map +1 -0
- package/dist/chunk-F3FYMCRO.js +52 -0
- package/dist/chunk-F3FYMCRO.js.map +1 -0
- package/dist/chunk-FNCPK4RH.js +24 -0
- package/dist/chunk-FNCPK4RH.js.map +1 -0
- package/dist/chunk-FOJTLQJO.js +152 -0
- package/dist/chunk-FOJTLQJO.js.map +1 -0
- package/dist/chunk-FSMBDLNU.js +34 -0
- package/dist/chunk-FSMBDLNU.js.map +1 -0
- package/dist/chunk-FVJL3PEK.js +40 -0
- package/dist/chunk-FVJL3PEK.js.map +1 -0
- package/dist/chunk-GAN7Z4NB.js +93 -0
- package/dist/chunk-GAN7Z4NB.js.map +1 -0
- package/dist/chunk-GN3JZCM3.cjs +99 -0
- package/dist/chunk-GN3JZCM3.cjs.map +1 -0
- package/dist/chunk-GQNVPLSG.cjs +44 -0
- package/dist/chunk-GQNVPLSG.cjs.map +1 -0
- package/dist/chunk-GZUD5PBL.js +219 -0
- package/dist/chunk-GZUD5PBL.js.map +1 -0
- package/dist/chunk-HD3VN7GE.cjs +37 -0
- package/dist/chunk-HD3VN7GE.cjs.map +1 -0
- package/dist/chunk-HVZBUDYS.js +51 -0
- package/dist/chunk-HVZBUDYS.js.map +1 -0
- package/dist/chunk-I46VZAK7.cjs +65 -0
- package/dist/chunk-I46VZAK7.cjs.map +1 -0
- package/dist/chunk-I4H7XREK.js +91 -0
- package/dist/chunk-I4H7XREK.js.map +1 -0
- package/dist/chunk-I5FAUNN6.js +48 -0
- package/dist/chunk-I5FAUNN6.js.map +1 -0
- package/dist/chunk-IHWVGIDT.cjs +86 -0
- package/dist/chunk-IHWVGIDT.cjs.map +1 -0
- package/dist/chunk-IJQTUD3D.js +35 -0
- package/dist/chunk-IJQTUD3D.js.map +1 -0
- package/dist/chunk-IMAHT6W4.cjs +65 -0
- package/dist/chunk-IMAHT6W4.cjs.map +1 -0
- package/dist/chunk-IVPCYGXE.cjs +20 -0
- package/dist/chunk-IVPCYGXE.cjs.map +1 -0
- package/dist/chunk-IX3GUXML.cjs +24 -0
- package/dist/chunk-IX3GUXML.cjs.map +1 -0
- package/dist/chunk-J3UEZGEG.js +53 -0
- package/dist/chunk-J3UEZGEG.js.map +1 -0
- package/dist/chunk-JZVRCP3M.cjs +411 -0
- package/dist/chunk-JZVRCP3M.cjs.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-LQ4DG6ST.js +31 -0
- package/dist/chunk-LQ4DG6ST.js.map +1 -0
- package/dist/chunk-LQQ244AY.js +28 -0
- package/dist/chunk-LQQ244AY.js.map +1 -0
- package/dist/chunk-LT35HARQ.cjs +119 -0
- package/dist/chunk-LT35HARQ.cjs.map +1 -0
- package/dist/chunk-LTJXX7NG.cjs +14 -0
- package/dist/chunk-LTJXX7NG.cjs.map +1 -0
- package/dist/chunk-LUFPA3WC.cjs +93 -0
- package/dist/chunk-LUFPA3WC.cjs.map +1 -0
- package/dist/chunk-LV6BHE7Q.cjs +266 -0
- package/dist/chunk-LV6BHE7Q.cjs.map +1 -0
- package/dist/chunk-MF24QPA6.js +28 -0
- package/dist/chunk-MF24QPA6.js.map +1 -0
- package/dist/chunk-MGWZXPMF.cjs +13 -0
- package/dist/chunk-MGWZXPMF.cjs.map +1 -0
- package/dist/chunk-MPWBYIWU.cjs +50 -0
- package/dist/chunk-MPWBYIWU.cjs.map +1 -0
- package/dist/chunk-MTNMKBY6.cjs +123 -0
- package/dist/chunk-MTNMKBY6.cjs.map +1 -0
- package/dist/chunk-NLGWU2KI.cjs +36 -0
- package/dist/chunk-NLGWU2KI.cjs.map +1 -0
- package/dist/chunk-ODHIUBLC.js +25 -0
- package/dist/chunk-ODHIUBLC.js.map +1 -0
- package/dist/chunk-ORVF255B.cjs +55 -0
- package/dist/chunk-ORVF255B.cjs.map +1 -0
- package/dist/chunk-OXDKVZZ5.cjs +39 -0
- package/dist/chunk-OXDKVZZ5.cjs.map +1 -0
- package/dist/chunk-OZJZVEF2.js +35 -0
- package/dist/chunk-OZJZVEF2.js.map +1 -0
- package/dist/chunk-P6ZEOB4L.cjs +108 -0
- package/dist/chunk-P6ZEOB4L.cjs.map +1 -0
- package/dist/chunk-PAMM6ETE.js +52 -0
- package/dist/chunk-PAMM6ETE.js.map +1 -0
- package/dist/chunk-PCSQPFNK.js +198 -0
- package/dist/chunk-PCSQPFNK.js.map +1 -0
- package/dist/chunk-PLPEZUCB.js +42 -0
- package/dist/chunk-PLPEZUCB.js.map +1 -0
- package/dist/chunk-PONUWUJ7.js +29 -0
- package/dist/chunk-PONUWUJ7.js.map +1 -0
- package/dist/chunk-PSRWV7UW.cjs +50 -0
- package/dist/chunk-PSRWV7UW.cjs.map +1 -0
- package/dist/chunk-PTNATMEI.cjs +95 -0
- package/dist/chunk-PTNATMEI.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-QNVDG3L3.cjs +171 -0
- package/dist/chunk-QNVDG3L3.cjs.map +1 -0
- package/dist/chunk-QOYVMNQ6.cjs +13 -0
- package/dist/chunk-QOYVMNQ6.cjs.map +1 -0
- package/dist/chunk-QRMNGILI.cjs +16 -0
- package/dist/chunk-QRMNGILI.cjs.map +1 -0
- package/dist/chunk-QURNDLRE.js +55 -0
- package/dist/chunk-QURNDLRE.js.map +1 -0
- package/dist/chunk-RKLUMDJB.cjs +50 -0
- package/dist/chunk-RKLUMDJB.cjs.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-SP2IO6PC.cjs +220 -0
- package/dist/chunk-SP2IO6PC.cjs.map +1 -0
- package/dist/chunk-SPAVM3EE.cjs +95 -0
- package/dist/chunk-SPAVM3EE.cjs.map +1 -0
- package/dist/chunk-SZ5XKNVG.js +11 -0
- package/dist/chunk-SZ5XKNVG.js.map +1 -0
- package/dist/chunk-TCV6N3EK.js +400 -0
- package/dist/chunk-TCV6N3EK.js.map +1 -0
- package/dist/chunk-TPZCCL4L.js +76 -0
- package/dist/chunk-TPZCCL4L.js.map +1 -0
- package/dist/chunk-TVYLTYUK.js +23 -0
- package/dist/chunk-TVYLTYUK.js.map +1 -0
- package/dist/chunk-U27VO642.js +117 -0
- package/dist/chunk-U27VO642.js.map +1 -0
- package/dist/chunk-U3D4LL6T.js +54 -0
- package/dist/chunk-U3D4LL6T.js.map +1 -0
- package/dist/chunk-U7LTIWUS.js +28 -0
- package/dist/chunk-U7LTIWUS.js.map +1 -0
- package/dist/chunk-UMVE26I5.cjs +61 -0
- package/dist/chunk-UMVE26I5.cjs.map +1 -0
- package/dist/chunk-UQT2I2CC.js +42 -0
- package/dist/chunk-UQT2I2CC.js.map +1 -0
- package/dist/chunk-UW6NEKBF.cjs +151 -0
- package/dist/chunk-UW6NEKBF.cjs.map +1 -0
- package/dist/chunk-UXROFDSM.cjs +33 -0
- package/dist/chunk-UXROFDSM.cjs.map +1 -0
- package/dist/chunk-V563IKQH.cjs +4 -0
- package/dist/chunk-V563IKQH.cjs.map +1 -0
- package/dist/chunk-VAHZQJTA.cjs +117 -0
- package/dist/chunk-VAHZQJTA.cjs.map +1 -0
- package/dist/chunk-VANX3AQD.js +3 -0
- package/dist/chunk-VANX3AQD.js.map +1 -0
- package/dist/chunk-VB32IBQC.cjs +54 -0
- package/dist/chunk-VB32IBQC.cjs.map +1 -0
- package/dist/chunk-W2UGL7QI.cjs +41 -0
- package/dist/chunk-W2UGL7QI.cjs.map +1 -0
- package/dist/chunk-W6BMYVY5.js +17 -0
- package/dist/chunk-W6BMYVY5.js.map +1 -0
- package/dist/chunk-WFQHWK6X.cjs +53 -0
- package/dist/chunk-WFQHWK6X.cjs.map +1 -0
- package/dist/chunk-XAPQTBJR.cjs +45 -0
- package/dist/chunk-XAPQTBJR.cjs.map +1 -0
- package/dist/chunk-XGQDWAHV.js +27 -0
- package/dist/chunk-XGQDWAHV.js.map +1 -0
- package/dist/chunk-XGQU7BQK.js +88 -0
- package/dist/chunk-XGQU7BQK.js.map +1 -0
- package/dist/chunk-XKLOANYB.cjs +57 -0
- package/dist/chunk-XKLOANYB.cjs.map +1 -0
- package/dist/chunk-XO6LO5CU.cjs +47 -0
- package/dist/chunk-XO6LO5CU.cjs.map +1 -0
- package/dist/chunk-XUTLQ573.cjs +20 -0
- package/dist/chunk-XUTLQ573.cjs.map +1 -0
- package/dist/chunk-XWQI5MC3.cjs +35 -0
- package/dist/chunk-XWQI5MC3.cjs.map +1 -0
- package/dist/chunk-Y2UMEYQS.js +115 -0
- package/dist/chunk-Y2UMEYQS.js.map +1 -0
- package/dist/chunk-YB2USB4M.js +17 -0
- package/dist/chunk-YB2USB4M.js.map +1 -0
- package/dist/chunk-YLWUHTOZ.js +154 -0
- package/dist/chunk-YLWUHTOZ.js.map +1 -0
- package/dist/chunk-YNREEZ75.cjs +26 -0
- package/dist/chunk-YNREEZ75.cjs.map +1 -0
- package/dist/chunk-Z33TWZHI.js +81 -0
- package/dist/chunk-Z33TWZHI.js.map +1 -0
- package/dist/chunk-ZCRWSWPJ.cjs +46 -0
- package/dist/chunk-ZCRWSWPJ.cjs.map +1 -0
- package/dist/chunk-ZQFFPZMA.cjs +74 -0
- package/dist/chunk-ZQFFPZMA.cjs.map +1 -0
- package/dist/chunk-ZSNEG5J7.js +263 -0
- package/dist/chunk-ZSNEG5J7.js.map +1 -0
- package/dist/{company_service_sanity-ByIKe90u.d.cts → company_service_sanity-Br0R7m-A.d.cts} +560 -560
- package/dist/{company_service_sanity-DbYwWmnS.d.ts → company_service_sanity-DF01qvTz.d.ts} +560 -560
- package/dist/components/buttons/BackButton.cjs +11 -153
- package/dist/components/buttons/BackButton.cjs.map +1 -1
- package/dist/components/buttons/BackButton.d.cts +2 -2
- package/dist/components/buttons/BackButton.d.ts +2 -2
- 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.d.cts +2 -2
- package/dist/components/company/CompanyBenefits.d.ts +2 -2
- 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.d.cts +2 -2
- package/dist/components/company/CompanyInformation.d.ts +2 -2
- 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.d.cts +2 -2
- package/dist/components/company/CompanyTake.d.ts +2 -2
- 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.d.cts +3 -3
- package/dist/components/jobCard/JobLocation.d.ts +3 -3
- 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.d.cts +2 -2
- package/dist/components/jobPost/JobDescription.d.ts +2 -2
- 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.d.cts +2 -2
- package/dist/components/jobPost/JobHeader.d.ts +2 -2
- 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.d.cts +3 -3
- package/dist/components/jobPost/JobPost.d.ts +3 -3
- 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.d.cts +3 -2
- package/dist/components/primitives/command.d.ts +3 -2
- 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.d.cts +3 -2
- package/dist/components/primitives/dialog.d.ts +3 -2
- 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.d.cts +3 -3
- package/dist/components/ui/Avatar.d.ts +3 -3
- 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.d.cts +2 -1
- package/dist/components/ui/Badge.d.ts +2 -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.d.cts +2 -1
- package/dist/components/ui/Chip.d.ts +2 -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.d.cts +2 -2
- package/dist/components/ui/DismissibleBanner.d.ts +2 -2
- 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.d.cts +2 -2
- package/dist/components/ui/ErrorMessage.d.ts +2 -2
- 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.d.cts +2 -2
- package/dist/components/ui/Label.d.ts +2 -2
- 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.d.cts +2 -1
- package/dist/components/ui/LinkButton.d.ts +2 -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.d.cts +2 -2
- package/dist/components/ui/ListItem.d.ts +2 -2
- 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.d.cts +2 -2
- package/dist/components/ui/Map/ClusterMarker.d.ts +2 -2
- 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.d.cts +2 -2
- package/dist/components/ui/Map/IndividualMarker.d.ts +2 -2
- 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.d.cts +2 -2
- package/dist/components/ui/Map/MapComponent.d.ts +2 -2
- 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.d.cts +2 -2
- package/dist/components/ui/Map/MapContent.d.ts +2 -2
- 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.d.cts +1 -1
- package/dist/components/ui/Map/index.d.ts +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.d.cts +2 -2
- package/dist/components/ui/PlacesQueryInput.d.ts +2 -2
- 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.d.cts +2 -2
- package/dist/components/ui/ReadMore.d.ts +2 -2
- 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.d.cts +3 -3
- package/dist/components/ui/StepTabs.d.ts +3 -3
- 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.d.cts +2 -1
- package/dist/components/ui/calendar.d.ts +2 -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.d.cts +2 -1
- package/dist/contexts/WindowHistoryProvider.d.ts +2 -1
- package/dist/contexts/WindowHistoryProvider.js +3 -21
- package/dist/contexts/WindowHistoryProvider.js.map +1 -1
- package/dist/{displayText-Cm8PqS6s.d.cts → displayText-BDPndCI9.d.cts} +2 -2
- package/dist/{displayText-Ce_aqgGP.d.ts → displayText-EpnIpZ38.d.ts} +2 -2
- package/dist/hooks/useDisplayText.cjs +10 -496
- package/dist/hooks/useDisplayText.cjs.map +1 -1
- package/dist/hooks/useDisplayText.d.cts +3 -3
- package/dist/hooks/useDisplayText.d.ts +3 -3
- 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.d.cts +1 -0
- package/dist/hooks/useWindowHistory.d.ts +1 -0
- 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.d.cts +7 -6
- package/dist/index.d.ts +7 -6
- package/dist/index.js +73 -4107
- package/dist/index.js.map +1 -1
- package/dist/{job_posting_service_sanity-DKYye6oH.d.cts → job_posting_service_sanity-BN7XcVxU.d.cts} +460 -460
- package/dist/{job_posting_service_sanity-1eG3Jh9_.d.ts → job_posting_service_sanity-BNQsNQs2.d.ts} +460 -460
- 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.d.cts +3 -3
- package/dist/lib/locations.d.ts +3 -3
- 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.d.cts +3 -3
- package/dist/lib/mappings.d.ts +3 -3
- 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.d.cts +1 -1
- package/dist/lib/salaryRange.d.ts +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.d.cts +3 -3
- package/dist/services/displayText.d.ts +3 -3
- 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.d.cts +1 -1
- package/dist/types/data/company_service_latest.d.ts +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.d.cts +1 -1
- package/dist/types/data/job_posting_service_latest.d.ts +1 -1
- package/dist/types/data/job_posting_service_latest.js +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.d.cts +1 -1
- package/dist/types/data/shared_pickle_output_latest.d.ts +1 -1
- package/dist/types/data/shared_pickle_output_latest.js +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.d.cts +6 -6
- package/dist/types/index.d.ts +6 -6
- 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.d.cts +1 -1
- package/dist/types/latest/company_service_latest.d.ts +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.d.cts +3 -3
- package/dist/types/latest/custom/company_service_sanity.d.ts +3 -3
- 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.d.cts +3 -3
- package/dist/types/latest/custom/job_posting_service_sanity.d.ts +3 -3
- 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.d.cts +1 -1
- package/dist/types/latest/job_posting_service_latest.d.ts +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.d.cts +1 -1
- package/dist/types/latest/shared_pickle_output_latest.d.ts +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
- package/dist/{company_service_latest-KJi2W9Ij.d.cts → company_service_latest-C7Moeufo.d.cts} +319 -319
- package/dist/{company_service_latest-KJi2W9Ij.d.ts → company_service_latest-C7Moeufo.d.ts} +319 -319
- package/dist/{company_service_latest-BjyG4KCB.d.cts → company_service_latest-CITz7F53.d.cts} +319 -319
- package/dist/{company_service_latest-BjyG4KCB.d.ts → company_service_latest-CITz7F53.d.ts} +319 -319
- package/dist/{job_posting_service_latest-D9I5NE7l.d.cts → job_posting_service_latest-B6Trs6sX.d.cts} +266 -266
- package/dist/{job_posting_service_latest-D9I5NE7l.d.ts → job_posting_service_latest-B6Trs6sX.d.ts} +266 -266
- package/dist/{job_posting_service_latest-82DHqOGu.d.cts → job_posting_service_latest-BKz5U2Gp.d.cts} +266 -266
- package/dist/{job_posting_service_latest-82DHqOGu.d.ts → job_posting_service_latest-BKz5U2Gp.d.ts} +266 -266
- package/dist/{shared_pickle_output_latest-YbRs_xtC.d.cts → shared_pickle_output_latest--XZhOUyE.d.cts} +18 -18
- package/dist/{shared_pickle_output_latest-YbRs_xtC.d.ts → shared_pickle_output_latest--XZhOUyE.d.ts} +18 -18
- package/dist/{shared_pickle_output_latest-dO-t8iZx.d.cts → shared_pickle_output_latest-DKOmTyYk.d.cts} +18 -18
- package/dist/{shared_pickle_output_latest-dO-t8iZx.d.ts → shared_pickle_output_latest-DKOmTyYk.d.ts} +18 -18
|
@@ -1,30 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
import { twMerge } from "tailwind-merge";
|
|
5
|
-
var Chip = ({ className, variant, size, ...props }) => /* @__PURE__ */ React.createElement("div", { className: twMerge(chipVariants({ variant, size, className })), ...props });
|
|
6
|
-
var chipVariants = cva(["flex", "items-center", "rounded-3xl", "border", "w-fit"], {
|
|
7
|
-
variants: {
|
|
8
|
-
variant: {
|
|
9
|
-
neutral: ["text-grey-80", "border-grey-10"],
|
|
10
|
-
primary: ["text-purple-100", "border-purple-20"],
|
|
11
|
-
danger: ["text-pumpkin-100", "border-pumpkin-20"],
|
|
12
|
-
jobLocation: ["text-grey-80", "border-grey-10", "bg-grey-5"],
|
|
13
|
-
onboarding: ["text-green-100", "bg-green-10", "cursor-pointer"],
|
|
14
|
-
onboardingSelected: ["text-white", "bg-green-90", "cursor-pointer"]
|
|
15
|
-
},
|
|
16
|
-
size: {
|
|
17
|
-
small: ["text-sm", "leading-5", "px-2", "py-1", "gap-1.5"],
|
|
18
|
-
medium: ["text-base", "leading-6", "px-3", "py-2", "gap-2"]
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
defaultVariants: {
|
|
22
|
-
variant: "neutral",
|
|
23
|
-
size: "medium"
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
var Chip_default = Chip;
|
|
27
|
-
export {
|
|
28
|
-
Chip_default as default
|
|
29
|
-
};
|
|
1
|
+
export { Chip_default as default } from '../../chunk-LQ4DG6ST.js';
|
|
2
|
+
import '../../chunk-PZ5AY32C.js';
|
|
3
|
+
//# sourceMappingURL=Chip.js.map
|
|
30
4
|
//# sourceMappingURL=Chip.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"Chip.js"}
|
|
@@ -1,593 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
23
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
24
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
25
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
26
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
27
|
-
mod
|
|
28
|
-
));
|
|
29
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
30
|
-
|
|
31
|
-
// src/components/ui/Combobox.tsx
|
|
32
|
-
var Combobox_exports = {};
|
|
33
|
-
__export(Combobox_exports, {
|
|
34
|
-
Combobox: () => Combobox
|
|
35
|
-
});
|
|
36
|
-
module.exports = __toCommonJS(Combobox_exports);
|
|
37
|
-
var import_cva2 = require("cva");
|
|
38
|
-
var import_lucide_react7 = require("lucide-react");
|
|
39
|
-
var import_react2 = require("react");
|
|
40
|
-
|
|
41
|
-
// src/components/primitives/command.tsx
|
|
42
|
-
var import_cmdk = require("cmdk");
|
|
43
|
-
var import_lucide_react2 = require("lucide-react");
|
|
44
|
-
var React3 = __toESM(require("react"), 1);
|
|
45
|
-
|
|
46
|
-
// src/components/primitives/dialog.tsx
|
|
47
|
-
var DialogPrimitive = __toESM(require("@radix-ui/react-dialog"), 1);
|
|
48
|
-
var import_lucide_react = require("lucide-react");
|
|
49
|
-
var React2 = __toESM(require("react"), 1);
|
|
50
|
-
|
|
51
|
-
// src/lib/utils.ts
|
|
52
|
-
var import_clsx = require("clsx");
|
|
53
|
-
var import_tailwind_merge = require("tailwind-merge");
|
|
54
|
-
function cn(...inputs) {
|
|
55
|
-
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
// src/components/primitives/dialog.tsx
|
|
59
|
-
var DialogPortal = DialogPrimitive.Portal;
|
|
60
|
-
var DialogOverlay = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React2.createElement(
|
|
61
|
-
DialogPrimitive.Overlay,
|
|
62
|
-
{
|
|
63
|
-
ref,
|
|
64
|
-
className: cn(
|
|
65
|
-
"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
66
|
-
className
|
|
67
|
-
),
|
|
68
|
-
...props
|
|
69
|
-
}
|
|
70
|
-
));
|
|
71
|
-
DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
|
|
72
|
-
var DialogContent = React2.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React2.createElement(DialogPortal, null, /* @__PURE__ */ React2.createElement(DialogOverlay, null), /* @__PURE__ */ React2.createElement(
|
|
73
|
-
DialogPrimitive.Content,
|
|
74
|
-
{
|
|
75
|
-
ref,
|
|
76
|
-
className: cn(
|
|
77
|
-
"fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border border-neutral-200 bg-white p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] dark:border-neutral-800 dark:bg-neutral-950 sm:rounded-lg",
|
|
78
|
-
className
|
|
79
|
-
),
|
|
80
|
-
...props
|
|
81
|
-
},
|
|
82
|
-
children,
|
|
83
|
-
/* @__PURE__ */ React2.createElement(DialogPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-white transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-neutral-950 focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-neutral-100 data-[state=open]:text-neutral-500 dark:ring-offset-neutral-950 dark:focus:ring-neutral-300 dark:data-[state=open]:bg-neutral-800 dark:data-[state=open]:text-neutral-400" }, /* @__PURE__ */ React2.createElement(import_lucide_react.X, { className: "h-4 w-4" }), /* @__PURE__ */ React2.createElement("span", { className: "sr-only" }, "Close"))
|
|
84
|
-
)));
|
|
85
|
-
DialogContent.displayName = DialogPrimitive.Content.displayName;
|
|
86
|
-
var DialogHeader = ({ className, ...props }) => /* @__PURE__ */ React2.createElement("div", { className: cn("flex flex-col space-y-1.5 text-center sm:text-left", className), ...props });
|
|
87
|
-
DialogHeader.displayName = "DialogHeader";
|
|
88
|
-
var DialogFooter = ({ className, ...props }) => /* @__PURE__ */ React2.createElement(
|
|
89
|
-
"div",
|
|
90
|
-
{
|
|
91
|
-
className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className),
|
|
92
|
-
...props
|
|
93
|
-
}
|
|
94
|
-
);
|
|
95
|
-
DialogFooter.displayName = "DialogFooter";
|
|
96
|
-
var DialogTitle = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React2.createElement(
|
|
97
|
-
DialogPrimitive.Title,
|
|
98
|
-
{
|
|
99
|
-
ref,
|
|
100
|
-
className: cn("text-lg font-semibold leading-none tracking-tight", className),
|
|
101
|
-
...props
|
|
102
|
-
}
|
|
103
|
-
));
|
|
104
|
-
DialogTitle.displayName = DialogPrimitive.Title.displayName;
|
|
105
|
-
var DialogDescription = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React2.createElement(
|
|
106
|
-
DialogPrimitive.Description,
|
|
107
|
-
{
|
|
108
|
-
ref,
|
|
109
|
-
className: cn("text-sm text-neutral-500 dark:text-neutral-400", className),
|
|
110
|
-
...props
|
|
111
|
-
}
|
|
112
|
-
));
|
|
113
|
-
DialogDescription.displayName = DialogPrimitive.Description.displayName;
|
|
114
|
-
|
|
115
|
-
// src/components/primitives/command.tsx
|
|
116
|
-
var Command = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React3.createElement(
|
|
117
|
-
import_cmdk.Command,
|
|
118
|
-
{
|
|
119
|
-
ref,
|
|
120
|
-
className: cn(
|
|
121
|
-
"flex h-full w-full flex-col overflow-hidden rounded-xl bg-white text-neutral-950",
|
|
122
|
-
className
|
|
123
|
-
),
|
|
124
|
-
...props
|
|
125
|
-
}
|
|
126
|
-
));
|
|
127
|
-
Command.displayName = import_cmdk.Command.displayName;
|
|
128
|
-
var CommandInput = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React3.createElement("div", { className: "m-1 flex items-center rounded-xl border px-3", "cmdk-input-wrapper": "" }, /* @__PURE__ */ React3.createElement(import_lucide_react2.Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }), /* @__PURE__ */ React3.createElement(
|
|
129
|
-
import_cmdk.Command.Input,
|
|
130
|
-
{
|
|
131
|
-
ref,
|
|
132
|
-
className: cn(
|
|
133
|
-
"flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-neutral-500 disabled:cursor-not-allowed disabled:opacity-50",
|
|
134
|
-
className
|
|
135
|
-
),
|
|
136
|
-
...props
|
|
137
|
-
}
|
|
138
|
-
)));
|
|
139
|
-
CommandInput.displayName = import_cmdk.Command.Input.displayName;
|
|
140
|
-
var CommandList = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React3.createElement(
|
|
141
|
-
import_cmdk.Command.List,
|
|
142
|
-
{
|
|
143
|
-
ref,
|
|
144
|
-
className: cn("overflow-y-auto overflow-x-hidden", className),
|
|
145
|
-
...props
|
|
146
|
-
}
|
|
147
|
-
));
|
|
148
|
-
CommandList.displayName = import_cmdk.Command.List.displayName;
|
|
149
|
-
var CommandEmpty = React3.forwardRef((props, ref) => /* @__PURE__ */ React3.createElement(import_cmdk.Command.Empty, { ref, className: "py-6 text-center text-sm", ...props }));
|
|
150
|
-
CommandEmpty.displayName = import_cmdk.Command.Empty.displayName;
|
|
151
|
-
var CommandGroup = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React3.createElement(
|
|
152
|
-
import_cmdk.Command.Group,
|
|
153
|
-
{
|
|
154
|
-
ref,
|
|
155
|
-
className: cn(
|
|
156
|
-
"overflow-hidden p-1 text-neutral-950 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-neutral-500",
|
|
157
|
-
className
|
|
158
|
-
),
|
|
159
|
-
...props
|
|
160
|
-
}
|
|
161
|
-
));
|
|
162
|
-
CommandGroup.displayName = import_cmdk.Command.Group.displayName;
|
|
163
|
-
var CommandSeparator = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React3.createElement(
|
|
164
|
-
import_cmdk.Command.Separator,
|
|
165
|
-
{
|
|
166
|
-
ref,
|
|
167
|
-
className: cn("-mx-1 h-px bg-neutral-200", className),
|
|
168
|
-
...props
|
|
169
|
-
}
|
|
170
|
-
));
|
|
171
|
-
CommandSeparator.displayName = import_cmdk.Command.Separator.displayName;
|
|
172
|
-
var CommandItem = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React3.createElement(
|
|
173
|
-
import_cmdk.Command.Item,
|
|
174
|
-
{
|
|
175
|
-
ref,
|
|
176
|
-
className: cn(
|
|
177
|
-
"relative flex cursor-pointer select-none items-center rounded-xl px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected='true']:bg-neutral-100 data-[selected=true]:text-neutral-900 data-[disabled=true]:opacity-50",
|
|
178
|
-
className
|
|
179
|
-
),
|
|
180
|
-
...props
|
|
181
|
-
}
|
|
182
|
-
));
|
|
183
|
-
CommandItem.displayName = import_cmdk.Command.Item.displayName;
|
|
184
|
-
var CommandShortcut = ({ className, ...props }) => {
|
|
185
|
-
return /* @__PURE__ */ React3.createElement(
|
|
186
|
-
"span",
|
|
187
|
-
{
|
|
188
|
-
className: cn("ml-auto text-xs tracking-widest text-neutral-500", className),
|
|
189
|
-
...props
|
|
190
|
-
}
|
|
191
|
-
);
|
|
192
|
-
};
|
|
193
|
-
CommandShortcut.displayName = "CommandShortcut";
|
|
194
|
-
|
|
195
|
-
// src/components/primitives/popover.tsx
|
|
196
|
-
var PopoverPrimitive = __toESM(require("@radix-ui/react-popover"), 1);
|
|
197
|
-
var React4 = __toESM(require("react"), 1);
|
|
198
|
-
var Popover = PopoverPrimitive.Root;
|
|
199
|
-
var PopoverTrigger = PopoverPrimitive.Trigger;
|
|
200
|
-
var PopoverContent = React4.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React4.createElement(PopoverPrimitive.Portal, null, /* @__PURE__ */ React4.createElement(
|
|
201
|
-
PopoverPrimitive.Content,
|
|
202
|
-
{
|
|
203
|
-
ref,
|
|
204
|
-
align,
|
|
205
|
-
sideOffset,
|
|
206
|
-
className: cn(
|
|
207
|
-
"z-50 rounded-2xl border bg-white p-4 text-black shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
208
|
-
className
|
|
209
|
-
),
|
|
210
|
-
...props
|
|
211
|
-
}
|
|
212
|
-
)));
|
|
213
|
-
PopoverContent.displayName = PopoverPrimitive.Content.displayName;
|
|
214
|
-
|
|
215
|
-
// src/components/primitives/separator.tsx
|
|
216
|
-
var SeparatorPrimitive = __toESM(require("@radix-ui/react-separator"), 1);
|
|
217
|
-
var React5 = __toESM(require("react"), 1);
|
|
218
|
-
var Separator = React5.forwardRef(({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ React5.createElement(
|
|
219
|
-
SeparatorPrimitive.Root,
|
|
220
|
-
{
|
|
221
|
-
ref,
|
|
222
|
-
decorative,
|
|
223
|
-
orientation,
|
|
224
|
-
className: cn(
|
|
225
|
-
"shrink-0 bg-grey-10",
|
|
226
|
-
orientation === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]",
|
|
227
|
-
className
|
|
228
|
-
),
|
|
229
|
-
...props
|
|
230
|
-
}
|
|
231
|
-
));
|
|
232
|
-
Separator.displayName = SeparatorPrimitive.Root.displayName;
|
|
233
|
-
|
|
234
|
-
// src/components/ui/Badge.tsx
|
|
235
|
-
var import_cva = require("cva");
|
|
236
|
-
var React6 = __toESM(require("react"), 1);
|
|
237
|
-
var badgeVariants = (0, import_cva.cva)("rounded-full px-2 py-0.5 text-xs font-semibold", {
|
|
238
|
-
variants: {
|
|
239
|
-
variant: {
|
|
240
|
-
green: "bg-green-90 text-white",
|
|
241
|
-
pickle: "bg-pickle-100 text-black",
|
|
242
|
-
purple: "bg-purple-100 text-white"
|
|
243
|
-
}
|
|
244
|
-
},
|
|
245
|
-
defaultVariants: {
|
|
246
|
-
variant: "green"
|
|
247
|
-
}
|
|
248
|
-
});
|
|
249
|
-
function Badge({ className, variant, ...props }) {
|
|
250
|
-
return /* @__PURE__ */ React6.createElement("div", { className: cn(badgeVariants({ variant }), className), ...props });
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
// src/components/ui/ErrorMessage.tsx
|
|
254
|
-
function ErrorMessage({ message, className, ...props }) {
|
|
255
|
-
if (!message) return null;
|
|
256
|
-
return /* @__PURE__ */ React.createElement("p", { className: cn("px-1 text-xs text-red-600", className), ...props }, message);
|
|
257
|
-
}
|
|
258
|
-
var ErrorMessage_default = ErrorMessage;
|
|
259
|
-
|
|
260
|
-
// src/components/ui/Label.tsx
|
|
261
|
-
var import_lucide_react3 = require("lucide-react");
|
|
262
|
-
|
|
263
|
-
// src/components/primitives/tooltip.tsx
|
|
264
|
-
var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"), 1);
|
|
265
|
-
var React7 = __toESM(require("react"), 1);
|
|
266
|
-
var TooltipProvider = TooltipPrimitive.Provider;
|
|
267
|
-
var Tooltip = TooltipPrimitive.Root;
|
|
268
|
-
var TooltipTrigger = TooltipPrimitive.Trigger;
|
|
269
|
-
var TooltipContent = React7.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React7.createElement(
|
|
270
|
-
TooltipPrimitive.Content,
|
|
271
|
-
{
|
|
272
|
-
ref,
|
|
273
|
-
sideOffset,
|
|
274
|
-
className: cn(
|
|
275
|
-
"z-50 overflow-hidden rounded-md border border-neutral-200 bg-white px-3 py-1.5 text-sm text-neutral-950 shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 dark:border-neutral-800 dark:bg-neutral-950 dark:text-neutral-50",
|
|
276
|
-
className
|
|
277
|
-
),
|
|
278
|
-
...props
|
|
279
|
-
}
|
|
280
|
-
));
|
|
281
|
-
TooltipContent.displayName = TooltipPrimitive.Content.displayName;
|
|
282
|
-
|
|
283
|
-
// src/components/ui/Label.tsx
|
|
284
|
-
function Label({ text, required, description, className, ...props }) {
|
|
285
|
-
if (!text) return null;
|
|
286
|
-
return /* @__PURE__ */ React.createElement("div", { className: "flex w-full flex-row gap-1" }, /* @__PURE__ */ React.createElement(
|
|
287
|
-
"label",
|
|
288
|
-
{
|
|
289
|
-
className: cn(
|
|
290
|
-
"text-xs text-grey-80 peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
|
|
291
|
-
className
|
|
292
|
-
),
|
|
293
|
-
...props
|
|
294
|
-
},
|
|
295
|
-
text,
|
|
296
|
-
required && /* @__PURE__ */ React.createElement("span", { className: "text-red-600" }, "\xA0*")
|
|
297
|
-
), !!description && /* @__PURE__ */ React.createElement(TooltipProvider, null, /* @__PURE__ */ React.createElement(Tooltip, null, /* @__PURE__ */ React.createElement(TooltipTrigger, { asChild: true }, /* @__PURE__ */ React.createElement(import_lucide_react3.InfoIcon, { className: "h-4 w-4" })), /* @__PURE__ */ React.createElement(TooltipContent, { className: "max-w-48" }, description))));
|
|
298
|
-
}
|
|
299
|
-
var Label_default = Label;
|
|
300
|
-
|
|
301
|
-
// src/components/ui/ListItem.tsx
|
|
302
|
-
var import_lucide_react5 = require("lucide-react");
|
|
303
|
-
var import_lucide_react6 = require("lucide-react");
|
|
304
|
-
|
|
305
|
-
// src/components/ui/Checkbox.tsx
|
|
306
|
-
var CheckboxPrimitive = __toESM(require("@radix-ui/react-checkbox"), 1);
|
|
307
|
-
var import_lucide_react4 = require("lucide-react");
|
|
308
|
-
var import_react = require("react");
|
|
309
|
-
var CheckboxToggle = (0, import_react.forwardRef)(({ className, ...props }, ref) => /* @__PURE__ */ React.createElement(
|
|
310
|
-
CheckboxPrimitive.Root,
|
|
311
|
-
{
|
|
312
|
-
ref,
|
|
313
|
-
className: cn(
|
|
314
|
-
"group",
|
|
315
|
-
"peer",
|
|
316
|
-
"h-5",
|
|
317
|
-
"w-5",
|
|
318
|
-
"shrink-0",
|
|
319
|
-
"rounded-md",
|
|
320
|
-
"border",
|
|
321
|
-
"border-grey-10",
|
|
322
|
-
"outline",
|
|
323
|
-
"outline-1",
|
|
324
|
-
"outline-offset-2",
|
|
325
|
-
"outline-transparent",
|
|
326
|
-
"hover:border-grey-20",
|
|
327
|
-
"focus:outline-purple-100",
|
|
328
|
-
"active:border-green-80",
|
|
329
|
-
"disabled:cursor-not-allowed",
|
|
330
|
-
"disabled:opacity-50",
|
|
331
|
-
"data-[state=checked]:bg-green-80",
|
|
332
|
-
"data-[state=indeterminate]:bg-green-80",
|
|
333
|
-
"data-[state=checked]:text-white",
|
|
334
|
-
"data-[state=indeterminate]:text-primary-foreground",
|
|
335
|
-
props.disabled && "bg-grey-20 data-[state=checked]:bg-grey-20 data-[state=checked]:text-foreground",
|
|
336
|
-
className
|
|
337
|
-
),
|
|
338
|
-
...props
|
|
339
|
-
},
|
|
340
|
-
/* @__PURE__ */ React.createElement(CheckboxPrimitive.Indicator, { className: "flex items-center justify-center text-current" }, /* @__PURE__ */ React.createElement(import_lucide_react4.Check, { className: "hidden h-4 w-4 group-data-[state=checked]:block" }), /* @__PURE__ */ React.createElement(import_lucide_react4.Minus, { className: "hidden h-4 w-4 group-data-[state=indeterminate]:block" }))
|
|
341
|
-
));
|
|
342
|
-
CheckboxToggle.displayName = CheckboxPrimitive.Root.displayName;
|
|
343
|
-
var Checkbox = (0, import_react.forwardRef)(
|
|
344
|
-
({ error, classNames, children, ...props }, ref) => {
|
|
345
|
-
const id = props.id ?? `${props.name ?? props.value?.toString()}-checkbox`;
|
|
346
|
-
return /* @__PURE__ */ React.createElement("div", { className: cn("flex space-x-2", classNames?.wrapper) }, /* @__PURE__ */ React.createElement(CheckboxToggle, { id, ref, ...props }), /* @__PURE__ */ React.createElement(
|
|
347
|
-
"label",
|
|
348
|
-
{
|
|
349
|
-
htmlFor: id,
|
|
350
|
-
className: cn(
|
|
351
|
-
"text-sm",
|
|
352
|
-
props.disabled && "pointer-events-none text-grey-40",
|
|
353
|
-
classNames?.label
|
|
354
|
-
)
|
|
355
|
-
},
|
|
356
|
-
children,
|
|
357
|
-
/* @__PURE__ */ React.createElement(ErrorMessage_default, { message: error, className: "mt-1" })
|
|
358
|
-
));
|
|
359
|
-
}
|
|
360
|
-
);
|
|
361
|
-
Checkbox.displayName = "Checkbox";
|
|
362
|
-
|
|
363
|
-
// src/components/ui/ListItem.tsx
|
|
364
|
-
function ListItem({
|
|
365
|
-
icon,
|
|
366
|
-
hasCheckbox,
|
|
367
|
-
isSelected,
|
|
368
|
-
className,
|
|
369
|
-
title,
|
|
370
|
-
value,
|
|
371
|
-
description,
|
|
372
|
-
...props
|
|
373
|
-
}) {
|
|
374
|
-
const getIconIfValid = (icon2) => {
|
|
375
|
-
if (icon2 in import_lucide_react6.icons) {
|
|
376
|
-
const IconComponent = import_lucide_react6.icons[icon2];
|
|
377
|
-
return /* @__PURE__ */ React.createElement(IconComponent, { size: 14 });
|
|
378
|
-
}
|
|
379
|
-
return null;
|
|
380
|
-
};
|
|
381
|
-
const optionIcon = icon ? getIconIfValid(icon) : void 0;
|
|
382
|
-
return /* @__PURE__ */ React.createElement(
|
|
383
|
-
"li",
|
|
384
|
-
{
|
|
385
|
-
className: cn(
|
|
386
|
-
"group relative flex w-72 cursor-pointer flex-row items-center text-left text-sm",
|
|
387
|
-
className
|
|
388
|
-
),
|
|
389
|
-
...props,
|
|
390
|
-
"data-state": isSelected ? "checked" : "unchecked"
|
|
391
|
-
},
|
|
392
|
-
optionIcon && /* @__PURE__ */ React.createElement("span", { className: "mr-2" }, optionIcon),
|
|
393
|
-
hasCheckbox && /* @__PURE__ */ React.createElement(Checkbox, { id: value, checked: isSelected, onClick: (e) => e.preventDefault() }),
|
|
394
|
-
/* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("p", null, title), /* @__PURE__ */ React.createElement("p", { className: "text-xs text-grey-80" }, description)),
|
|
395
|
-
/* @__PURE__ */ React.createElement(
|
|
396
|
-
import_lucide_react5.CheckIcon,
|
|
397
|
-
{
|
|
398
|
-
className: "absolute inset-y-0 right-0 my-auto hidden w-6 text-green-100 group-data-[state=checked]:block",
|
|
399
|
-
size: 16
|
|
400
|
-
}
|
|
401
|
-
)
|
|
402
|
-
);
|
|
403
|
-
}
|
|
404
|
-
var ListItem_default = ListItem;
|
|
405
|
-
|
|
406
|
-
// src/components/ui/Combobox.tsx
|
|
407
|
-
var Combobox = (0, import_react2.forwardRef)((props, ref) => {
|
|
408
|
-
const {
|
|
409
|
-
id,
|
|
410
|
-
name,
|
|
411
|
-
value,
|
|
412
|
-
label,
|
|
413
|
-
options,
|
|
414
|
-
required,
|
|
415
|
-
description,
|
|
416
|
-
classNames,
|
|
417
|
-
multiselect,
|
|
418
|
-
placeholder,
|
|
419
|
-
error,
|
|
420
|
-
variant = "default",
|
|
421
|
-
size,
|
|
422
|
-
icon,
|
|
423
|
-
className,
|
|
424
|
-
onChange: handleChange,
|
|
425
|
-
children: footer
|
|
426
|
-
} = props;
|
|
427
|
-
const [selected, setSelected] = (0, import_react2.useState)([]);
|
|
428
|
-
const [open, setOpen] = (0, import_react2.useState)(false);
|
|
429
|
-
const isUserUpdate = (0, import_react2.useRef)(false);
|
|
430
|
-
const IconComponent = icon && import_lucide_react7.icons[icon];
|
|
431
|
-
const hideSearchBox = options?.length <= 5;
|
|
432
|
-
const isDefault = variant === "default";
|
|
433
|
-
const isChip = variant === "chip";
|
|
434
|
-
const isEmpty = selected.length === 0;
|
|
435
|
-
const showChevron = isDefault ? isEmpty : true;
|
|
436
|
-
const close = () => setOpen(false);
|
|
437
|
-
(0, import_react2.useEffect)(() => {
|
|
438
|
-
if (!isUserUpdate.current) {
|
|
439
|
-
const valueArray = multiselect ? value ?? [] : value ? [value] : [];
|
|
440
|
-
setSelected(
|
|
441
|
-
valueArray.map((v) => options.find((o) => o.value === v)).filter((v) => v !== void 0)
|
|
442
|
-
);
|
|
443
|
-
}
|
|
444
|
-
}, [value, options, multiselect]);
|
|
445
|
-
(0, import_react2.useEffect)(() => {
|
|
446
|
-
if (isUserUpdate.current) {
|
|
447
|
-
if (multiselect) {
|
|
448
|
-
handleChange?.(selected.map((o) => o.value));
|
|
449
|
-
} else {
|
|
450
|
-
handleChange?.(selected[0]?.value ?? "");
|
|
451
|
-
}
|
|
452
|
-
isUserUpdate.current = false;
|
|
453
|
-
}
|
|
454
|
-
}, [selected, multiselect, handleChange]);
|
|
455
|
-
const updateMultiSelect = (prev, option) => {
|
|
456
|
-
return prev.some((o) => o.value === option.value) ? prev.filter((v) => v !== option) : [...prev, option];
|
|
457
|
-
};
|
|
458
|
-
const handleSelect = (value2) => {
|
|
459
|
-
const option = options.find((o) => o.value === value2);
|
|
460
|
-
if (!option) return;
|
|
461
|
-
isUserUpdate.current = true;
|
|
462
|
-
if (multiselect) {
|
|
463
|
-
setSelected((prev) => updateMultiSelect(prev, option));
|
|
464
|
-
} else {
|
|
465
|
-
setSelected([option]);
|
|
466
|
-
close();
|
|
467
|
-
}
|
|
468
|
-
};
|
|
469
|
-
const handleClear = () => {
|
|
470
|
-
isUserUpdate.current = true;
|
|
471
|
-
setSelected([]);
|
|
472
|
-
};
|
|
473
|
-
const handleDisplayValue = () => {
|
|
474
|
-
const defaultLabel = !isEmpty ? selected.map((s) => s.title).join(", ") : placeholder;
|
|
475
|
-
return isDefault ? defaultLabel : label;
|
|
476
|
-
};
|
|
477
|
-
return /* @__PURE__ */ React.createElement("div", { className: cn("flex flex-col gap-1", className) }, isDefault && /* @__PURE__ */ React.createElement(
|
|
478
|
-
Label_default,
|
|
479
|
-
{
|
|
480
|
-
text: label,
|
|
481
|
-
htmlFor: name,
|
|
482
|
-
required,
|
|
483
|
-
description,
|
|
484
|
-
className: classNames?.label
|
|
485
|
-
}
|
|
486
|
-
), /* @__PURE__ */ React.createElement("div", { className: "relative flex" }, /* @__PURE__ */ React.createElement(Popover, { open, onOpenChange: setOpen }, /* @__PURE__ */ React.createElement(
|
|
487
|
-
PopoverTrigger,
|
|
488
|
-
{
|
|
489
|
-
asChild: true,
|
|
490
|
-
disabled: options.length === 0,
|
|
491
|
-
"data-testid": `${id ?? name}-combobox-trigger`
|
|
492
|
-
},
|
|
493
|
-
/* @__PURE__ */ React.createElement(
|
|
494
|
-
"div",
|
|
495
|
-
{
|
|
496
|
-
ref,
|
|
497
|
-
className: cn(
|
|
498
|
-
triggerVariants({ variant, size }),
|
|
499
|
-
isDefault && !isEmpty && "pr-10",
|
|
500
|
-
classNames?.trigger
|
|
501
|
-
),
|
|
502
|
-
"aria-expanded": open
|
|
503
|
-
},
|
|
504
|
-
isDefault && IconComponent && /* @__PURE__ */ React.createElement(IconComponent, { className: "h-4 w-4 shrink-0" }),
|
|
505
|
-
isChip && !isEmpty && /* @__PURE__ */ React.createElement(Badge, { variant: "purple" }, selected.length),
|
|
506
|
-
/* @__PURE__ */ React.createElement(
|
|
507
|
-
"span",
|
|
508
|
-
{
|
|
509
|
-
className: cn(
|
|
510
|
-
"w-full truncate leading-normal",
|
|
511
|
-
isDefault && isEmpty && "text-grey-40"
|
|
512
|
-
)
|
|
513
|
-
},
|
|
514
|
-
handleDisplayValue()
|
|
515
|
-
),
|
|
516
|
-
showChevron && /* @__PURE__ */ React.createElement(
|
|
517
|
-
import_lucide_react7.ChevronDownIcon,
|
|
518
|
-
{
|
|
519
|
-
className: "shrink-0 transform group-data-[state=open]:rotate-180",
|
|
520
|
-
size: "16"
|
|
521
|
-
}
|
|
522
|
-
)
|
|
523
|
-
)
|
|
524
|
-
), /* @__PURE__ */ React.createElement(
|
|
525
|
-
PopoverContent,
|
|
526
|
-
{
|
|
527
|
-
className: cn(
|
|
528
|
-
"flex w-full max-w-xs flex-col overflow-hidden p-0",
|
|
529
|
-
"max-h-[--radix-popover-content-available-height]",
|
|
530
|
-
classNames?.content
|
|
531
|
-
),
|
|
532
|
-
collisionPadding: 8,
|
|
533
|
-
sideOffset: 4,
|
|
534
|
-
align: "start"
|
|
535
|
-
},
|
|
536
|
-
/* @__PURE__ */ React.createElement(Command, null, !hideSearchBox && /* @__PURE__ */ React.createElement(CommandInput, { placeholder: "Search..." }), /* @__PURE__ */ React.createElement(CommandList, null, /* @__PURE__ */ React.createElement(CommandEmpty, null, "No results"), /* @__PURE__ */ React.createElement(CommandGroup, null, options.map(({ id: id2, ...option }) => /* @__PURE__ */ React.createElement(
|
|
537
|
-
CommandItem,
|
|
538
|
-
{
|
|
539
|
-
key: id2,
|
|
540
|
-
value: option.title,
|
|
541
|
-
onSelect: () => handleSelect(option.value)
|
|
542
|
-
},
|
|
543
|
-
/* @__PURE__ */ React.createElement(
|
|
544
|
-
ListItem_default,
|
|
545
|
-
{
|
|
546
|
-
className: cn(classNames?.items, "truncate py-1"),
|
|
547
|
-
isSelected: selected.some((s) => s.value === option.value),
|
|
548
|
-
hasCheckbox: multiselect,
|
|
549
|
-
...option
|
|
550
|
-
}
|
|
551
|
-
)
|
|
552
|
-
)))), !!footer && /* @__PURE__ */ React.createElement(Separator, null), footer && footer({ close }))
|
|
553
|
-
)), isDefault && !isEmpty && /* @__PURE__ */ React.createElement(
|
|
554
|
-
"button",
|
|
555
|
-
{
|
|
556
|
-
type: "button",
|
|
557
|
-
className: "absolute inset-y-0 right-1 my-auto flex h-8 w-8 cursor-pointer items-center justify-center rounded-full hover:bg-pickle-20",
|
|
558
|
-
onClick: handleClear
|
|
559
|
-
},
|
|
560
|
-
/* @__PURE__ */ React.createElement(import_lucide_react7.CircleX, { className: "h-4 w-4 text-green-100" })
|
|
561
|
-
)), /* @__PURE__ */ React.createElement(ErrorMessage_default, { message: error }));
|
|
562
|
-
});
|
|
563
|
-
Combobox.displayName = "Combobox";
|
|
564
|
-
var triggerVariants = (0, import_cva2.cva)(
|
|
565
|
-
"group relative cursor-pointer text-green-100 flex flex-row items-center justify-between gap-2 border border-grey-20 focus:outline-green-80 disabled:bg-grey-5",
|
|
566
|
-
{
|
|
567
|
-
variants: {
|
|
568
|
-
variant: {
|
|
569
|
-
default: ["w-full", "rounded-lg"],
|
|
570
|
-
chip: [
|
|
571
|
-
"font-bold",
|
|
572
|
-
"rounded-3xl",
|
|
573
|
-
"data-[state=open]:bg-black",
|
|
574
|
-
"data-[state=open]:text-white"
|
|
575
|
-
]
|
|
576
|
-
},
|
|
577
|
-
size: {
|
|
578
|
-
small: ["h-8", "py-1", "px-2", "text-xs"],
|
|
579
|
-
normal: ["h-9", "py-2", "px-3", "text-sm"],
|
|
580
|
-
large: ["h-10", "py-3", "px-4", "text-base"]
|
|
581
|
-
}
|
|
582
|
-
},
|
|
583
|
-
defaultVariants: {
|
|
584
|
-
variant: "default",
|
|
585
|
-
size: "normal"
|
|
586
|
-
}
|
|
587
|
-
}
|
|
588
|
-
);
|
|
589
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
590
|
-
0 && (module.exports = {
|
|
591
|
-
Combobox
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkCQSYXCIU_cjs = require('../../chunk-CQSYXCIU.cjs');
|
|
4
|
+
require('../../chunk-XKLOANYB.cjs');
|
|
5
|
+
require('../../chunk-XWQI5MC3.cjs');
|
|
6
|
+
require('../../chunk-YNREEZ75.cjs');
|
|
7
|
+
require('../../chunk-PTNATMEI.cjs');
|
|
8
|
+
require('../../chunk-LTJXX7NG.cjs');
|
|
9
|
+
require('../../chunk-RKLUMDJB.cjs');
|
|
10
|
+
require('../../chunk-XO6LO5CU.cjs');
|
|
11
|
+
require('../../chunk-C3DCFPJC.cjs');
|
|
12
|
+
require('../../chunk-P6ZEOB4L.cjs');
|
|
13
|
+
require('../../chunk-AEYPJ5YA.cjs');
|
|
14
|
+
require('../../chunk-MGWZXPMF.cjs');
|
|
15
|
+
require('../../chunk-Q7SFCCGT.cjs');
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
Object.defineProperty(exports, "Combobox", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return chunkCQSYXCIU_cjs.Combobox; }
|
|
592
22
|
});
|
|
23
|
+
//# sourceMappingURL=Combobox.cjs.map
|
|
593
24
|
//# sourceMappingURL=Combobox.cjs.map
|