@ginia/ui 0.1.1
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/AGENTS.md +66 -0
- package/README.md +135 -0
- package/dist/components/domain/index.cjs +23 -0
- package/dist/components/domain/index.cjs.map +1 -0
- package/dist/components/domain/index.d.cts +6 -0
- package/dist/components/domain/index.d.ts +6 -0
- package/dist/components/domain/index.js +2 -0
- package/dist/components/domain/index.js.map +1 -0
- package/dist/components/domain/resume/index.cjs +29 -0
- package/dist/components/domain/resume/index.cjs.map +1 -0
- package/dist/components/domain/resume/index.d.cts +6 -0
- package/dist/components/domain/resume/index.d.ts +6 -0
- package/dist/components/domain/resume/index.js +5 -0
- package/dist/components/domain/resume/index.js.map +1 -0
- package/dist/components/domain/resume/resume-editor/resume-editor.cjs +137 -0
- package/dist/components/domain/resume/resume-editor/resume-editor.cjs.map +1 -0
- package/dist/components/domain/resume/resume-editor/resume-editor.d.cts +15 -0
- package/dist/components/domain/resume/resume-editor/resume-editor.d.ts +15 -0
- package/dist/components/domain/resume/resume-editor/resume-editor.js +113 -0
- package/dist/components/domain/resume/resume-editor/resume-editor.js.map +1 -0
- package/dist/components/domain/resume/resume-editor/sections/academic-info.cjs +68 -0
- package/dist/components/domain/resume/resume-editor/sections/academic-info.cjs.map +1 -0
- package/dist/components/domain/resume/resume-editor/sections/academic-info.d.cts +12 -0
- package/dist/components/domain/resume/resume-editor/sections/academic-info.d.ts +12 -0
- package/dist/components/domain/resume/resume-editor/sections/academic-info.js +44 -0
- package/dist/components/domain/resume/resume-editor/sections/academic-info.js.map +1 -0
- package/dist/components/domain/resume/resume-editor/sections/activities.cjs +127 -0
- package/dist/components/domain/resume/resume-editor/sections/activities.cjs.map +1 -0
- package/dist/components/domain/resume/resume-editor/sections/activities.d.cts +12 -0
- package/dist/components/domain/resume/resume-editor/sections/activities.d.ts +12 -0
- package/dist/components/domain/resume/resume-editor/sections/activities.js +103 -0
- package/dist/components/domain/resume/resume-editor/sections/activities.js.map +1 -0
- package/dist/components/domain/resume/resume-editor/sections/certifications.cjs +128 -0
- package/dist/components/domain/resume/resume-editor/sections/certifications.cjs.map +1 -0
- package/dist/components/domain/resume/resume-editor/sections/certifications.d.cts +13 -0
- package/dist/components/domain/resume/resume-editor/sections/certifications.d.ts +13 -0
- package/dist/components/domain/resume/resume-editor/sections/certifications.js +104 -0
- package/dist/components/domain/resume/resume-editor/sections/certifications.js.map +1 -0
- package/dist/components/domain/resume/resume-editor/sections/education.cjs +127 -0
- package/dist/components/domain/resume/resume-editor/sections/education.cjs.map +1 -0
- package/dist/components/domain/resume/resume-editor/sections/education.d.cts +12 -0
- package/dist/components/domain/resume/resume-editor/sections/education.d.ts +12 -0
- package/dist/components/domain/resume/resume-editor/sections/education.js +103 -0
- package/dist/components/domain/resume/resume-editor/sections/education.js.map +1 -0
- package/dist/components/domain/resume/resume-editor/sections/experience.cjs +127 -0
- package/dist/components/domain/resume/resume-editor/sections/experience.cjs.map +1 -0
- package/dist/components/domain/resume/resume-editor/sections/experience.d.cts +12 -0
- package/dist/components/domain/resume/resume-editor/sections/experience.d.ts +12 -0
- package/dist/components/domain/resume/resume-editor/sections/experience.js +103 -0
- package/dist/components/domain/resume/resume-editor/sections/experience.js.map +1 -0
- package/dist/components/domain/resume/resume-editor/sections/personal-info.cjs +171 -0
- package/dist/components/domain/resume/resume-editor/sections/personal-info.cjs.map +1 -0
- package/dist/components/domain/resume/resume-editor/sections/personal-info.d.cts +12 -0
- package/dist/components/domain/resume/resume-editor/sections/personal-info.d.ts +12 -0
- package/dist/components/domain/resume/resume-editor/sections/personal-info.js +147 -0
- package/dist/components/domain/resume/resume-editor/sections/personal-info.js.map +1 -0
- package/dist/components/domain/resume/resume-editor/sections/preferences.cjs +129 -0
- package/dist/components/domain/resume/resume-editor/sections/preferences.cjs.map +1 -0
- package/dist/components/domain/resume/resume-editor/sections/preferences.d.cts +12 -0
- package/dist/components/domain/resume/resume-editor/sections/preferences.d.ts +12 -0
- package/dist/components/domain/resume/resume-editor/sections/preferences.js +109 -0
- package/dist/components/domain/resume/resume-editor/sections/preferences.js.map +1 -0
- package/dist/components/domain/resume/resume-editor/sections/requirements.cjs +123 -0
- package/dist/components/domain/resume/resume-editor/sections/requirements.cjs.map +1 -0
- package/dist/components/domain/resume/resume-editor/sections/requirements.d.cts +12 -0
- package/dist/components/domain/resume/resume-editor/sections/requirements.d.ts +12 -0
- package/dist/components/domain/resume/resume-editor/sections/requirements.js +99 -0
- package/dist/components/domain/resume/resume-editor/sections/requirements.js.map +1 -0
- package/dist/components/domain/resume/resume-editor/sections/skills.cjs +110 -0
- package/dist/components/domain/resume/resume-editor/sections/skills.cjs.map +1 -0
- package/dist/components/domain/resume/resume-editor/sections/skills.d.cts +12 -0
- package/dist/components/domain/resume/resume-editor/sections/skills.d.ts +12 -0
- package/dist/components/domain/resume/resume-editor/sections/skills.js +86 -0
- package/dist/components/domain/resume/resume-editor/sections/skills.js.map +1 -0
- package/dist/components/domain/resume/resume-preview/resume-preview.cjs +73 -0
- package/dist/components/domain/resume/resume-preview/resume-preview.cjs.map +1 -0
- package/dist/components/domain/resume/resume-preview/resume-preview.d.cts +13 -0
- package/dist/components/domain/resume/resume-preview/resume-preview.d.ts +13 -0
- package/dist/components/domain/resume/resume-preview/resume-preview.js +39 -0
- package/dist/components/domain/resume/resume-preview/resume-preview.js.map +1 -0
- package/dist/components/domain/resume/resume-preview/sections/contact-skills.cjs +79 -0
- package/dist/components/domain/resume/resume-preview/sections/contact-skills.cjs.map +1 -0
- package/dist/components/domain/resume/resume-preview/sections/contact-skills.d.cts +12 -0
- package/dist/components/domain/resume/resume-preview/sections/contact-skills.d.ts +12 -0
- package/dist/components/domain/resume/resume-preview/sections/contact-skills.js +55 -0
- package/dist/components/domain/resume/resume-preview/sections/contact-skills.js.map +1 -0
- package/dist/components/domain/resume/resume-preview/sections/experience-education.cjs +127 -0
- package/dist/components/domain/resume/resume-preview/sections/experience-education.cjs.map +1 -0
- package/dist/components/domain/resume/resume-preview/sections/experience-education.d.cts +13 -0
- package/dist/components/domain/resume/resume-preview/sections/experience-education.d.ts +13 -0
- package/dist/components/domain/resume/resume-preview/sections/experience-education.js +103 -0
- package/dist/components/domain/resume/resume-preview/sections/experience-education.js.map +1 -0
- package/dist/components/domain/resume/resume-preview/sections/footer-preview.cjs +36 -0
- package/dist/components/domain/resume/resume-preview/sections/footer-preview.cjs.map +1 -0
- package/dist/components/domain/resume/resume-preview/sections/footer-preview.d.cts +5 -0
- package/dist/components/domain/resume/resume-preview/sections/footer-preview.d.ts +5 -0
- package/dist/components/domain/resume/resume-preview/sections/footer-preview.js +12 -0
- package/dist/components/domain/resume/resume-preview/sections/footer-preview.js.map +1 -0
- package/dist/components/domain/resume/resume-preview/sections/header-preview.cjs +64 -0
- package/dist/components/domain/resume/resume-preview/sections/header-preview.cjs.map +1 -0
- package/dist/components/domain/resume/resume-preview/sections/header-preview.d.cts +13 -0
- package/dist/components/domain/resume/resume-preview/sections/header-preview.d.ts +13 -0
- package/dist/components/domain/resume/resume-preview/sections/header-preview.js +40 -0
- package/dist/components/domain/resume/resume-preview/sections/header-preview.js.map +1 -0
- package/dist/components/domain/resume/resume.cjs +360 -0
- package/dist/components/domain/resume/resume.cjs.map +1 -0
- package/dist/components/domain/resume/resume.d.cts +7 -0
- package/dist/components/domain/resume/resume.d.ts +7 -0
- package/dist/components/domain/resume/resume.js +326 -0
- package/dist/components/domain/resume/resume.js.map +1 -0
- package/dist/components/domain/resume/types.cjs +17 -0
- package/dist/components/domain/resume/types.cjs.map +1 -0
- package/dist/components/domain/resume/types.d.cts +195 -0
- package/dist/components/domain/resume/types.d.ts +195 -0
- package/dist/components/domain/resume/types.js +1 -0
- package/dist/components/domain/resume/types.js.map +1 -0
- package/dist/components/ui/accordion/accordion.cjs +103 -0
- package/dist/components/ui/accordion/accordion.cjs.map +1 -0
- package/dist/components/ui/accordion/accordion.d.cts +10 -0
- package/dist/components/ui/accordion/accordion.d.ts +10 -0
- package/dist/components/ui/accordion/accordion.js +66 -0
- package/dist/components/ui/accordion/accordion.js.map +1 -0
- package/dist/components/ui/accordion/index.cjs +23 -0
- package/dist/components/ui/accordion/index.cjs.map +1 -0
- package/dist/components/ui/accordion/index.d.cts +4 -0
- package/dist/components/ui/accordion/index.d.ts +4 -0
- package/dist/components/ui/accordion/index.js +2 -0
- package/dist/components/ui/accordion/index.js.map +1 -0
- package/dist/components/ui/alert/alert.cjs +90 -0
- package/dist/components/ui/alert/alert.cjs.map +1 -0
- package/dist/components/ui/alert/alert.d.cts +14 -0
- package/dist/components/ui/alert/alert.d.ts +14 -0
- package/dist/components/ui/alert/alert.js +53 -0
- package/dist/components/ui/alert/alert.js.map +1 -0
- package/dist/components/ui/alert/index.cjs +23 -0
- package/dist/components/ui/alert/index.cjs.map +1 -0
- package/dist/components/ui/alert/index.d.cts +4 -0
- package/dist/components/ui/alert/index.d.ts +4 -0
- package/dist/components/ui/alert/index.js +2 -0
- package/dist/components/ui/alert/index.js.map +1 -0
- package/dist/components/ui/alert-dialog/alert-dialog.cjs +207 -0
- package/dist/components/ui/alert-dialog/alert-dialog.cjs.map +1 -0
- package/dist/components/ui/alert-dialog/alert-dialog.d.cts +17 -0
- package/dist/components/ui/alert-dialog/alert-dialog.d.ts +17 -0
- package/dist/components/ui/alert-dialog/alert-dialog.js +163 -0
- package/dist/components/ui/alert-dialog/alert-dialog.js.map +1 -0
- package/dist/components/ui/alert-dialog/index.cjs +23 -0
- package/dist/components/ui/alert-dialog/index.cjs.map +1 -0
- package/dist/components/ui/alert-dialog/index.d.cts +4 -0
- package/dist/components/ui/alert-dialog/index.d.ts +4 -0
- package/dist/components/ui/alert-dialog/index.js +2 -0
- package/dist/components/ui/alert-dialog/index.js.map +1 -0
- package/dist/components/ui/aspect-ratio/aspect-ratio.cjs +41 -0
- package/dist/components/ui/aspect-ratio/aspect-ratio.cjs.map +1 -0
- package/dist/components/ui/aspect-ratio/aspect-ratio.d.cts +5 -0
- package/dist/components/ui/aspect-ratio/aspect-ratio.d.ts +5 -0
- package/dist/components/ui/aspect-ratio/aspect-ratio.js +7 -0
- package/dist/components/ui/aspect-ratio/aspect-ratio.js.map +1 -0
- package/dist/components/ui/aspect-ratio/index.cjs +23 -0
- package/dist/components/ui/aspect-ratio/index.cjs.map +1 -0
- package/dist/components/ui/aspect-ratio/index.d.cts +2 -0
- package/dist/components/ui/aspect-ratio/index.d.ts +2 -0
- package/dist/components/ui/aspect-ratio/index.js +2 -0
- package/dist/components/ui/aspect-ratio/index.js.map +1 -0
- package/dist/components/ui/autocomplete/autocomplete.cjs +210 -0
- package/dist/components/ui/autocomplete/autocomplete.cjs.map +1 -0
- package/dist/components/ui/autocomplete/autocomplete.d.cts +28 -0
- package/dist/components/ui/autocomplete/autocomplete.d.ts +28 -0
- package/dist/components/ui/autocomplete/autocomplete.js +176 -0
- package/dist/components/ui/autocomplete/autocomplete.js.map +1 -0
- package/dist/components/ui/autocomplete/index.cjs +23 -0
- package/dist/components/ui/autocomplete/index.cjs.map +1 -0
- package/dist/components/ui/autocomplete/index.d.cts +3 -0
- package/dist/components/ui/autocomplete/index.d.ts +3 -0
- package/dist/components/ui/autocomplete/index.js +2 -0
- package/dist/components/ui/autocomplete/index.js.map +1 -0
- package/dist/components/ui/avatar/avatar.cjs +80 -0
- package/dist/components/ui/avatar/avatar.cjs.map +1 -0
- package/dist/components/ui/avatar/avatar.d.cts +8 -0
- package/dist/components/ui/avatar/avatar.d.ts +8 -0
- package/dist/components/ui/avatar/avatar.js +44 -0
- package/dist/components/ui/avatar/avatar.js.map +1 -0
- package/dist/components/ui/avatar/index.cjs +23 -0
- package/dist/components/ui/avatar/index.cjs.map +1 -0
- package/dist/components/ui/avatar/index.d.cts +3 -0
- package/dist/components/ui/avatar/index.d.ts +3 -0
- package/dist/components/ui/avatar/index.js +2 -0
- package/dist/components/ui/avatar/index.js.map +1 -0
- package/dist/components/ui/badge/badge.cjs +71 -0
- package/dist/components/ui/badge/badge.cjs.map +1 -0
- package/dist/components/ui/badge/badge.d.cts +13 -0
- package/dist/components/ui/badge/badge.d.ts +13 -0
- package/dist/components/ui/badge/badge.js +46 -0
- package/dist/components/ui/badge/badge.js.map +1 -0
- package/dist/components/ui/badge/index.cjs +23 -0
- package/dist/components/ui/badge/index.cjs.map +1 -0
- package/dist/components/ui/badge/index.d.cts +5 -0
- package/dist/components/ui/badge/index.d.ts +5 -0
- package/dist/components/ui/badge/index.js +2 -0
- package/dist/components/ui/badge/index.js.map +1 -0
- package/dist/components/ui/breadcrumb/breadcrumb.cjs +141 -0
- package/dist/components/ui/breadcrumb/breadcrumb.cjs.map +1 -0
- package/dist/components/ui/breadcrumb/breadcrumb.d.cts +14 -0
- package/dist/components/ui/breadcrumb/breadcrumb.d.ts +14 -0
- package/dist/components/ui/breadcrumb/breadcrumb.js +111 -0
- package/dist/components/ui/breadcrumb/breadcrumb.js.map +1 -0
- package/dist/components/ui/breadcrumb/index.cjs +23 -0
- package/dist/components/ui/breadcrumb/index.cjs.map +1 -0
- package/dist/components/ui/breadcrumb/index.d.cts +3 -0
- package/dist/components/ui/breadcrumb/index.d.ts +3 -0
- package/dist/components/ui/breadcrumb/index.js +2 -0
- package/dist/components/ui/breadcrumb/index.js.map +1 -0
- package/dist/components/ui/button/button.cjs +79 -0
- package/dist/components/ui/button/button.cjs.map +1 -0
- package/dist/components/ui/button/button.d.cts +14 -0
- package/dist/components/ui/button/button.d.ts +14 -0
- package/dist/components/ui/button/button.js +54 -0
- package/dist/components/ui/button/button.js.map +1 -0
- package/dist/components/ui/button/index.cjs +23 -0
- package/dist/components/ui/button/index.cjs.map +1 -0
- package/dist/components/ui/button/index.d.cts +5 -0
- package/dist/components/ui/button/index.d.ts +5 -0
- package/dist/components/ui/button/index.js +2 -0
- package/dist/components/ui/button/index.js.map +1 -0
- package/dist/components/ui/calendar/calendar.cjs +78 -0
- package/dist/components/ui/calendar/calendar.cjs.map +1 -0
- package/dist/components/ui/calendar/calendar.d.cts +8 -0
- package/dist/components/ui/calendar/calendar.d.ts +8 -0
- package/dist/components/ui/calendar/calendar.js +54 -0
- package/dist/components/ui/calendar/calendar.js.map +1 -0
- package/dist/components/ui/calendar/index.cjs +23 -0
- package/dist/components/ui/calendar/index.cjs.map +1 -0
- package/dist/components/ui/calendar/index.d.cts +4 -0
- package/dist/components/ui/calendar/index.d.ts +4 -0
- package/dist/components/ui/calendar/index.js +2 -0
- package/dist/components/ui/calendar/index.js.map +1 -0
- package/dist/components/ui/card/card.cjs +118 -0
- package/dist/components/ui/card/card.cjs.map +1 -0
- package/dist/components/ui/card/card.d.cts +12 -0
- package/dist/components/ui/card/card.d.ts +12 -0
- package/dist/components/ui/card/card.js +88 -0
- package/dist/components/ui/card/card.js.map +1 -0
- package/dist/components/ui/card/index.cjs +23 -0
- package/dist/components/ui/card/index.cjs.map +1 -0
- package/dist/components/ui/card/index.d.cts +3 -0
- package/dist/components/ui/card/index.d.ts +3 -0
- package/dist/components/ui/card/index.js +2 -0
- package/dist/components/ui/card/index.js.map +1 -0
- package/dist/components/ui/carousel/carousel.cjs +234 -0
- package/dist/components/ui/carousel/carousel.cjs.map +1 -0
- package/dist/components/ui/carousel/carousel.d.cts +24 -0
- package/dist/components/ui/carousel/carousel.d.ts +24 -0
- package/dist/components/ui/carousel/carousel.js +196 -0
- package/dist/components/ui/carousel/carousel.js.map +1 -0
- package/dist/components/ui/carousel/index.cjs +23 -0
- package/dist/components/ui/carousel/index.cjs.map +1 -0
- package/dist/components/ui/carousel/index.d.cts +7 -0
- package/dist/components/ui/carousel/index.d.ts +7 -0
- package/dist/components/ui/carousel/index.js +2 -0
- package/dist/components/ui/carousel/index.js.map +1 -0
- package/dist/components/ui/checkbox/checkbox.cjs +63 -0
- package/dist/components/ui/checkbox/checkbox.cjs.map +1 -0
- package/dist/components/ui/checkbox/checkbox.d.cts +6 -0
- package/dist/components/ui/checkbox/checkbox.d.ts +6 -0
- package/dist/components/ui/checkbox/checkbox.js +29 -0
- package/dist/components/ui/checkbox/checkbox.js.map +1 -0
- package/dist/components/ui/checkbox/index.cjs +23 -0
- package/dist/components/ui/checkbox/index.cjs.map +1 -0
- package/dist/components/ui/checkbox/index.d.cts +3 -0
- package/dist/components/ui/checkbox/index.d.ts +3 -0
- package/dist/components/ui/checkbox/index.js +2 -0
- package/dist/components/ui/checkbox/index.js.map +1 -0
- package/dist/components/ui/collapsible/collapsible.cjs +47 -0
- package/dist/components/ui/collapsible/collapsible.cjs.map +1 -0
- package/dist/components/ui/collapsible/collapsible.d.cts +7 -0
- package/dist/components/ui/collapsible/collapsible.d.ts +7 -0
- package/dist/components/ui/collapsible/collapsible.js +11 -0
- package/dist/components/ui/collapsible/collapsible.js.map +1 -0
- package/dist/components/ui/collapsible/index.cjs +23 -0
- package/dist/components/ui/collapsible/index.cjs.map +1 -0
- package/dist/components/ui/collapsible/index.d.cts +2 -0
- package/dist/components/ui/collapsible/index.d.ts +2 -0
- package/dist/components/ui/collapsible/index.js +2 -0
- package/dist/components/ui/collapsible/index.js.map +1 -0
- package/dist/components/ui/combobox/combobox.cjs +129 -0
- package/dist/components/ui/combobox/combobox.cjs.map +1 -0
- package/dist/components/ui/combobox/combobox.d.cts +19 -0
- package/dist/components/ui/combobox/combobox.d.ts +19 -0
- package/dist/components/ui/combobox/combobox.js +102 -0
- package/dist/components/ui/combobox/combobox.js.map +1 -0
- package/dist/components/ui/combobox/index.cjs +23 -0
- package/dist/components/ui/combobox/index.cjs.map +1 -0
- package/dist/components/ui/combobox/index.d.cts +2 -0
- package/dist/components/ui/combobox/index.d.ts +2 -0
- package/dist/components/ui/combobox/index.js +2 -0
- package/dist/components/ui/combobox/index.js.map +1 -0
- package/dist/components/ui/command/command.cjs +174 -0
- package/dist/components/ui/command/command.cjs.map +1 -0
- package/dist/components/ui/command/command.d.cts +17 -0
- package/dist/components/ui/command/command.d.ts +17 -0
- package/dist/components/ui/command/command.js +142 -0
- package/dist/components/ui/command/command.js.map +1 -0
- package/dist/components/ui/command/index.cjs +23 -0
- package/dist/components/ui/command/index.cjs.map +1 -0
- package/dist/components/ui/command/index.d.cts +5 -0
- package/dist/components/ui/command/index.d.ts +5 -0
- package/dist/components/ui/command/index.js +2 -0
- package/dist/components/ui/command/index.js.map +1 -0
- package/dist/components/ui/context-menu/context-menu.cjs +255 -0
- package/dist/components/ui/context-menu/context-menu.cjs.map +1 -0
- package/dist/components/ui/context-menu/context-menu.d.cts +27 -0
- package/dist/components/ui/context-menu/context-menu.d.ts +27 -0
- package/dist/components/ui/context-menu/context-menu.js +207 -0
- package/dist/components/ui/context-menu/context-menu.js.map +1 -0
- package/dist/components/ui/context-menu/index.cjs +23 -0
- package/dist/components/ui/context-menu/index.cjs.map +1 -0
- package/dist/components/ui/context-menu/index.d.cts +4 -0
- package/dist/components/ui/context-menu/index.d.ts +4 -0
- package/dist/components/ui/context-menu/index.js +2 -0
- package/dist/components/ui/context-menu/index.js.map +1 -0
- package/dist/components/ui/date-picker/date-picker.cjs +189 -0
- package/dist/components/ui/date-picker/date-picker.cjs.map +1 -0
- package/dist/components/ui/date-picker/date-picker.d.cts +12 -0
- package/dist/components/ui/date-picker/date-picker.d.ts +12 -0
- package/dist/components/ui/date-picker/date-picker.js +159 -0
- package/dist/components/ui/date-picker/date-picker.js.map +1 -0
- package/dist/components/ui/date-picker/index.cjs +23 -0
- package/dist/components/ui/date-picker/index.cjs.map +1 -0
- package/dist/components/ui/date-picker/index.d.cts +2 -0
- package/dist/components/ui/date-picker/index.d.ts +2 -0
- package/dist/components/ui/date-picker/index.js +2 -0
- package/dist/components/ui/date-picker/index.js.map +1 -0
- package/dist/components/ui/dialog/dialog.cjs +184 -0
- package/dist/components/ui/dialog/dialog.cjs.map +1 -0
- package/dist/components/ui/dialog/dialog.d.cts +18 -0
- package/dist/components/ui/dialog/dialog.d.ts +18 -0
- package/dist/components/ui/dialog/dialog.js +141 -0
- package/dist/components/ui/dialog/dialog.js.map +1 -0
- package/dist/components/ui/dialog/index.cjs +23 -0
- package/dist/components/ui/dialog/index.cjs.map +1 -0
- package/dist/components/ui/dialog/index.d.cts +4 -0
- package/dist/components/ui/dialog/index.d.ts +4 -0
- package/dist/components/ui/dialog/index.js +2 -0
- package/dist/components/ui/dialog/index.js.map +1 -0
- package/dist/components/ui/drawer/drawer.cjs +156 -0
- package/dist/components/ui/drawer/drawer.cjs.map +1 -0
- package/dist/components/ui/drawer/drawer.d.cts +16 -0
- package/dist/components/ui/drawer/drawer.d.ts +16 -0
- package/dist/components/ui/drawer/drawer.js +123 -0
- package/dist/components/ui/drawer/drawer.js.map +1 -0
- package/dist/components/ui/drawer/index.cjs +23 -0
- package/dist/components/ui/drawer/index.cjs.map +1 -0
- package/dist/components/ui/drawer/index.d.cts +4 -0
- package/dist/components/ui/drawer/index.d.ts +4 -0
- package/dist/components/ui/drawer/index.js +2 -0
- package/dist/components/ui/drawer/index.js.map +1 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu.cjs +201 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu.cjs.map +1 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu.d.cts +30 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu.d.ts +30 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu.js +153 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu.js.map +1 -0
- package/dist/components/ui/dropdown-menu/index.cjs +23 -0
- package/dist/components/ui/dropdown-menu/index.cjs.map +1 -0
- package/dist/components/ui/dropdown-menu/index.d.cts +4 -0
- package/dist/components/ui/dropdown-menu/index.d.ts +4 -0
- package/dist/components/ui/dropdown-menu/index.js +2 -0
- package/dist/components/ui/dropdown-menu/index.js.map +1 -0
- package/dist/components/ui/form/form.cjs +162 -0
- package/dist/components/ui/form/form.cjs.map +1 -0
- package/dist/components/ui/form/form.d.cts +28 -0
- package/dist/components/ui/form/form.d.ts +28 -0
- package/dist/components/ui/form/form.js +126 -0
- package/dist/components/ui/form/form.js.map +1 -0
- package/dist/components/ui/form/index.cjs +23 -0
- package/dist/components/ui/form/index.cjs.map +1 -0
- package/dist/components/ui/form/index.d.cts +6 -0
- package/dist/components/ui/form/index.d.ts +6 -0
- package/dist/components/ui/form/index.js +2 -0
- package/dist/components/ui/form/index.js.map +1 -0
- package/dist/components/ui/hover-card/hover-card.cjs +76 -0
- package/dist/components/ui/hover-card/hover-card.cjs.map +1 -0
- package/dist/components/ui/hover-card/hover-card.d.cts +9 -0
- package/dist/components/ui/hover-card/hover-card.d.ts +9 -0
- package/dist/components/ui/hover-card/hover-card.js +40 -0
- package/dist/components/ui/hover-card/hover-card.js.map +1 -0
- package/dist/components/ui/hover-card/index.cjs +23 -0
- package/dist/components/ui/hover-card/index.cjs.map +1 -0
- package/dist/components/ui/hover-card/index.d.cts +4 -0
- package/dist/components/ui/hover-card/index.d.ts +4 -0
- package/dist/components/ui/hover-card/index.js +2 -0
- package/dist/components/ui/hover-card/index.js.map +1 -0
- package/dist/components/ui/icon/icon.cjs +56 -0
- package/dist/components/ui/icon/icon.cjs.map +1 -0
- package/dist/components/ui/icon/icon.d.cts +39 -0
- package/dist/components/ui/icon/icon.d.ts +39 -0
- package/dist/components/ui/icon/icon.js +31 -0
- package/dist/components/ui/icon/icon.js.map +1 -0
- package/dist/components/ui/icon/index.cjs +31 -0
- package/dist/components/ui/icon/index.cjs.map +1 -0
- package/dist/components/ui/icon/index.d.cts +3 -0
- package/dist/components/ui/icon/index.d.ts +3 -0
- package/dist/components/ui/icon/index.js +6 -0
- package/dist/components/ui/icon/index.js.map +1 -0
- package/dist/components/ui/index.cjs +137 -0
- package/dist/components/ui/index.cjs.map +1 -0
- package/dist/components/ui/index.d.cts +97 -0
- package/dist/components/ui/index.d.ts +97 -0
- package/dist/components/ui/index.js +59 -0
- package/dist/components/ui/index.js.map +1 -0
- package/dist/components/ui/input/index.cjs +23 -0
- package/dist/components/ui/input/index.cjs.map +1 -0
- package/dist/components/ui/input/index.d.cts +3 -0
- package/dist/components/ui/input/index.d.ts +3 -0
- package/dist/components/ui/input/index.js +2 -0
- package/dist/components/ui/input/index.js.map +1 -0
- package/dist/components/ui/input/input.cjs +44 -0
- package/dist/components/ui/input/input.cjs.map +1 -0
- package/dist/components/ui/input/input.d.cts +6 -0
- package/dist/components/ui/input/input.d.ts +6 -0
- package/dist/components/ui/input/input.js +20 -0
- package/dist/components/ui/input/input.js.map +1 -0
- package/dist/components/ui/input-field/index.cjs +23 -0
- package/dist/components/ui/input-field/index.cjs.map +1 -0
- package/dist/components/ui/input-field/index.d.cts +3 -0
- package/dist/components/ui/input-field/index.d.ts +3 -0
- package/dist/components/ui/input-field/index.js +2 -0
- package/dist/components/ui/input-field/index.js.map +1 -0
- package/dist/components/ui/input-field/input-field.cjs +72 -0
- package/dist/components/ui/input-field/input-field.cjs.map +1 -0
- package/dist/components/ui/input-field/input-field.d.cts +22 -0
- package/dist/components/ui/input-field/input-field.d.ts +22 -0
- package/dist/components/ui/input-field/input-field.js +47 -0
- package/dist/components/ui/input-field/input-field.js.map +1 -0
- package/dist/components/ui/input-otp/index.cjs +23 -0
- package/dist/components/ui/input-otp/index.cjs.map +1 -0
- package/dist/components/ui/input-otp/index.d.cts +4 -0
- package/dist/components/ui/input-otp/index.d.ts +4 -0
- package/dist/components/ui/input-otp/index.js +2 -0
- package/dist/components/ui/input-otp/index.js.map +1 -0
- package/dist/components/ui/input-otp/input-otp.cjs +105 -0
- package/dist/components/ui/input-otp/input-otp.cjs.map +1 -0
- package/dist/components/ui/input-otp/input-otp.d.cts +14 -0
- package/dist/components/ui/input-otp/input-otp.d.ts +14 -0
- package/dist/components/ui/input-otp/input-otp.js +68 -0
- package/dist/components/ui/input-otp/input-otp.js.map +1 -0
- package/dist/components/ui/label/index.cjs +23 -0
- package/dist/components/ui/label/index.cjs.map +1 -0
- package/dist/components/ui/label/index.d.cts +4 -0
- package/dist/components/ui/label/index.d.ts +4 -0
- package/dist/components/ui/label/index.js +2 -0
- package/dist/components/ui/label/index.js.map +1 -0
- package/dist/components/ui/label/label.cjs +58 -0
- package/dist/components/ui/label/label.cjs.map +1 -0
- package/dist/components/ui/label/label.d.cts +7 -0
- package/dist/components/ui/label/label.d.ts +7 -0
- package/dist/components/ui/label/label.js +24 -0
- package/dist/components/ui/label/label.js.map +1 -0
- package/dist/components/ui/loading-state/index.cjs +23 -0
- package/dist/components/ui/loading-state/index.cjs.map +1 -0
- package/dist/components/ui/loading-state/index.d.cts +2 -0
- package/dist/components/ui/loading-state/index.d.ts +2 -0
- package/dist/components/ui/loading-state/index.js +2 -0
- package/dist/components/ui/loading-state/index.js.map +1 -0
- package/dist/components/ui/loading-state/loading-state.cjs +60 -0
- package/dist/components/ui/loading-state/loading-state.cjs.map +1 -0
- package/dist/components/ui/loading-state/loading-state.d.cts +11 -0
- package/dist/components/ui/loading-state/loading-state.d.ts +11 -0
- package/dist/components/ui/loading-state/loading-state.js +36 -0
- package/dist/components/ui/loading-state/loading-state.js.map +1 -0
- package/dist/components/ui/logo/index.cjs +23 -0
- package/dist/components/ui/logo/index.cjs.map +1 -0
- package/dist/components/ui/logo/index.d.cts +3 -0
- package/dist/components/ui/logo/index.d.ts +3 -0
- package/dist/components/ui/logo/index.js +2 -0
- package/dist/components/ui/logo/index.js.map +1 -0
- package/dist/components/ui/logo/logo.cjs +50 -0
- package/dist/components/ui/logo/logo.cjs.map +1 -0
- package/dist/components/ui/logo/logo.d.cts +9 -0
- package/dist/components/ui/logo/logo.d.ts +9 -0
- package/dist/components/ui/logo/logo.js +26 -0
- package/dist/components/ui/logo/logo.js.map +1 -0
- package/dist/components/ui/menubar/index.cjs +23 -0
- package/dist/components/ui/menubar/index.cjs.map +1 -0
- package/dist/components/ui/menubar/index.d.cts +4 -0
- package/dist/components/ui/menubar/index.d.ts +4 -0
- package/dist/components/ui/menubar/index.js +2 -0
- package/dist/components/ui/menubar/index.js.map +1 -0
- package/dist/components/ui/menubar/menubar.cjs +280 -0
- package/dist/components/ui/menubar/menubar.cjs.map +1 -0
- package/dist/components/ui/menubar/menubar.d.cts +28 -0
- package/dist/components/ui/menubar/menubar.d.ts +28 -0
- package/dist/components/ui/menubar/menubar.js +231 -0
- package/dist/components/ui/menubar/menubar.js.map +1 -0
- package/dist/components/ui/month-year-picker/index.cjs +23 -0
- package/dist/components/ui/month-year-picker/index.cjs.map +1 -0
- package/dist/components/ui/month-year-picker/index.d.cts +2 -0
- package/dist/components/ui/month-year-picker/index.d.ts +2 -0
- package/dist/components/ui/month-year-picker/index.js +2 -0
- package/dist/components/ui/month-year-picker/index.js.map +1 -0
- package/dist/components/ui/month-year-picker/month-year-picker.cjs +157 -0
- package/dist/components/ui/month-year-picker/month-year-picker.cjs.map +1 -0
- package/dist/components/ui/month-year-picker/month-year-picker.d.cts +12 -0
- package/dist/components/ui/month-year-picker/month-year-picker.d.ts +12 -0
- package/dist/components/ui/month-year-picker/month-year-picker.js +127 -0
- package/dist/components/ui/month-year-picker/month-year-picker.js.map +1 -0
- package/dist/components/ui/multi-select/index.cjs +23 -0
- package/dist/components/ui/multi-select/index.cjs.map +1 -0
- package/dist/components/ui/multi-select/index.d.cts +2 -0
- package/dist/components/ui/multi-select/index.d.ts +2 -0
- package/dist/components/ui/multi-select/index.js +2 -0
- package/dist/components/ui/multi-select/index.js.map +1 -0
- package/dist/components/ui/multi-select/multi-select.cjs +173 -0
- package/dist/components/ui/multi-select/multi-select.cjs.map +1 -0
- package/dist/components/ui/multi-select/multi-select.d.cts +19 -0
- package/dist/components/ui/multi-select/multi-select.d.ts +19 -0
- package/dist/components/ui/multi-select/multi-select.js +139 -0
- package/dist/components/ui/multi-select/multi-select.js.map +1 -0
- package/dist/components/ui/navigation-menu/index.cjs +23 -0
- package/dist/components/ui/navigation-menu/index.cjs.map +1 -0
- package/dist/components/ui/navigation-menu/index.d.cts +5 -0
- package/dist/components/ui/navigation-menu/index.d.ts +5 -0
- package/dist/components/ui/navigation-menu/index.js +2 -0
- package/dist/components/ui/navigation-menu/index.js.map +1 -0
- package/dist/components/ui/navigation-menu/navigation-menu.cjs +201 -0
- package/dist/components/ui/navigation-menu/navigation-menu.cjs.map +1 -0
- package/dist/components/ui/navigation-menu/navigation-menu.d.cts +18 -0
- package/dist/components/ui/navigation-menu/navigation-menu.d.ts +18 -0
- package/dist/components/ui/navigation-menu/navigation-menu.js +159 -0
- package/dist/components/ui/navigation-menu/navigation-menu.js.map +1 -0
- package/dist/components/ui/pagination/index.cjs +23 -0
- package/dist/components/ui/pagination/index.cjs.map +1 -0
- package/dist/components/ui/pagination/index.d.cts +6 -0
- package/dist/components/ui/pagination/index.d.ts +6 -0
- package/dist/components/ui/pagination/index.js +2 -0
- package/dist/components/ui/pagination/index.js.map +1 -0
- package/dist/components/ui/pagination/pagination.cjs +148 -0
- package/dist/components/ui/pagination/pagination.cjs.map +1 -0
- package/dist/components/ui/pagination/pagination.d.cts +18 -0
- package/dist/components/ui/pagination/pagination.d.ts +18 -0
- package/dist/components/ui/pagination/pagination.js +118 -0
- package/dist/components/ui/pagination/pagination.js.map +1 -0
- package/dist/components/ui/popover/index.cjs +23 -0
- package/dist/components/ui/popover/index.cjs.map +1 -0
- package/dist/components/ui/popover/index.d.cts +3 -0
- package/dist/components/ui/popover/index.d.ts +3 -0
- package/dist/components/ui/popover/index.js +2 -0
- package/dist/components/ui/popover/index.js.map +1 -0
- package/dist/components/ui/popover/popover.cjs +63 -0
- package/dist/components/ui/popover/popover.cjs.map +1 -0
- package/dist/components/ui/popover/popover.d.cts +8 -0
- package/dist/components/ui/popover/popover.d.ts +8 -0
- package/dist/components/ui/popover/popover.js +27 -0
- package/dist/components/ui/popover/popover.js.map +1 -0
- package/dist/components/ui/progress/index.cjs +23 -0
- package/dist/components/ui/progress/index.cjs.map +1 -0
- package/dist/components/ui/progress/index.d.cts +2 -0
- package/dist/components/ui/progress/index.d.ts +2 -0
- package/dist/components/ui/progress/index.js +2 -0
- package/dist/components/ui/progress/index.js.map +1 -0
- package/dist/components/ui/progress/progress.cjs +77 -0
- package/dist/components/ui/progress/progress.cjs.map +1 -0
- package/dist/components/ui/progress/progress.d.cts +15 -0
- package/dist/components/ui/progress/progress.d.ts +15 -0
- package/dist/components/ui/progress/progress.js +53 -0
- package/dist/components/ui/progress/progress.js.map +1 -0
- package/dist/components/ui/radio-group/index.cjs +23 -0
- package/dist/components/ui/radio-group/index.cjs.map +1 -0
- package/dist/components/ui/radio-group/index.d.cts +3 -0
- package/dist/components/ui/radio-group/index.d.ts +3 -0
- package/dist/components/ui/radio-group/index.js +2 -0
- package/dist/components/ui/radio-group/index.js.map +1 -0
- package/dist/components/ui/radio-group/radio-group.cjs +72 -0
- package/dist/components/ui/radio-group/radio-group.cjs.map +1 -0
- package/dist/components/ui/radio-group/radio-group.d.cts +7 -0
- package/dist/components/ui/radio-group/radio-group.d.ts +7 -0
- package/dist/components/ui/radio-group/radio-group.js +37 -0
- package/dist/components/ui/radio-group/radio-group.js.map +1 -0
- package/dist/components/ui/resizable/index.cjs +23 -0
- package/dist/components/ui/resizable/index.cjs.map +1 -0
- package/dist/components/ui/resizable/index.d.cts +3 -0
- package/dist/components/ui/resizable/index.d.ts +3 -0
- package/dist/components/ui/resizable/index.js +2 -0
- package/dist/components/ui/resizable/index.js.map +1 -0
- package/dist/components/ui/resizable/resizable.cjs +74 -0
- package/dist/components/ui/resizable/resizable.cjs.map +1 -0
- package/dist/components/ui/resizable/resizable.d.cts +12 -0
- package/dist/components/ui/resizable/resizable.d.ts +12 -0
- package/dist/components/ui/resizable/resizable.js +52 -0
- package/dist/components/ui/resizable/resizable.js.map +1 -0
- package/dist/components/ui/rich-text-editor/index.cjs +23 -0
- package/dist/components/ui/rich-text-editor/index.cjs.map +1 -0
- package/dist/components/ui/rich-text-editor/index.d.cts +2 -0
- package/dist/components/ui/rich-text-editor/index.d.ts +2 -0
- package/dist/components/ui/rich-text-editor/index.js +2 -0
- package/dist/components/ui/rich-text-editor/index.js.map +1 -0
- package/dist/components/ui/rich-text-editor/rich-text-editor.cjs +294 -0
- package/dist/components/ui/rich-text-editor/rich-text-editor.cjs.map +1 -0
- package/dist/components/ui/rich-text-editor/rich-text-editor.d.cts +13 -0
- package/dist/components/ui/rich-text-editor/rich-text-editor.d.ts +13 -0
- package/dist/components/ui/rich-text-editor/rich-text-editor.js +274 -0
- package/dist/components/ui/rich-text-editor/rich-text-editor.js.map +1 -0
- package/dist/components/ui/scroll-area/index.cjs +23 -0
- package/dist/components/ui/scroll-area/index.cjs.map +1 -0
- package/dist/components/ui/scroll-area/index.d.cts +3 -0
- package/dist/components/ui/scroll-area/index.d.ts +3 -0
- package/dist/components/ui/scroll-area/index.js +2 -0
- package/dist/components/ui/scroll-area/index.js.map +1 -0
- package/dist/components/ui/scroll-area/scroll-area.cjs +75 -0
- package/dist/components/ui/scroll-area/scroll-area.cjs.map +1 -0
- package/dist/components/ui/scroll-area/scroll-area.d.cts +7 -0
- package/dist/components/ui/scroll-area/scroll-area.d.ts +7 -0
- package/dist/components/ui/scroll-area/scroll-area.js +40 -0
- package/dist/components/ui/scroll-area/scroll-area.js.map +1 -0
- package/dist/components/ui/section-loader/index.cjs +23 -0
- package/dist/components/ui/section-loader/index.cjs.map +1 -0
- package/dist/components/ui/section-loader/index.d.cts +2 -0
- package/dist/components/ui/section-loader/index.d.ts +2 -0
- package/dist/components/ui/section-loader/index.js +2 -0
- package/dist/components/ui/section-loader/index.js.map +1 -0
- package/dist/components/ui/section-loader/section-loader.cjs +75 -0
- package/dist/components/ui/section-loader/section-loader.cjs.map +1 -0
- package/dist/components/ui/section-loader/section-loader.d.cts +16 -0
- package/dist/components/ui/section-loader/section-loader.d.ts +16 -0
- package/dist/components/ui/section-loader/section-loader.js +50 -0
- package/dist/components/ui/section-loader/section-loader.js.map +1 -0
- package/dist/components/ui/select/index.cjs +23 -0
- package/dist/components/ui/select/index.cjs.map +1 -0
- package/dist/components/ui/select/index.d.cts +4 -0
- package/dist/components/ui/select/index.d.ts +4 -0
- package/dist/components/ui/select/index.js +2 -0
- package/dist/components/ui/select/index.js.map +1 -0
- package/dist/components/ui/select/select.cjs +217 -0
- package/dist/components/ui/select/select.cjs.map +1 -0
- package/dist/components/ui/select/select.d.cts +18 -0
- package/dist/components/ui/select/select.d.ts +18 -0
- package/dist/components/ui/select/select.js +174 -0
- package/dist/components/ui/select/select.js.map +1 -0
- package/dist/components/ui/separator/index.cjs +23 -0
- package/dist/components/ui/separator/index.cjs.map +1 -0
- package/dist/components/ui/separator/index.d.cts +3 -0
- package/dist/components/ui/separator/index.d.ts +3 -0
- package/dist/components/ui/separator/index.js +2 -0
- package/dist/components/ui/separator/index.js.map +1 -0
- package/dist/components/ui/separator/separator.cjs +60 -0
- package/dist/components/ui/separator/separator.cjs.map +1 -0
- package/dist/components/ui/separator/separator.d.cts +6 -0
- package/dist/components/ui/separator/separator.d.ts +6 -0
- package/dist/components/ui/separator/separator.js +26 -0
- package/dist/components/ui/separator/separator.js.map +1 -0
- package/dist/components/ui/sheet/index.cjs +23 -0
- package/dist/components/ui/sheet/index.cjs.map +1 -0
- package/dist/components/ui/sheet/index.d.cts +6 -0
- package/dist/components/ui/sheet/index.d.ts +6 -0
- package/dist/components/ui/sheet/index.js +2 -0
- package/dist/components/ui/sheet/index.js.map +1 -0
- package/dist/components/ui/sheet/sheet.cjs +195 -0
- package/dist/components/ui/sheet/sheet.cjs.map +1 -0
- package/dist/components/ui/sheet/sheet.d.cts +21 -0
- package/dist/components/ui/sheet/sheet.d.ts +21 -0
- package/dist/components/ui/sheet/sheet.js +154 -0
- package/dist/components/ui/sheet/sheet.js.map +1 -0
- package/dist/components/ui/skeleton/index.cjs +23 -0
- package/dist/components/ui/skeleton/index.cjs.map +1 -0
- package/dist/components/ui/skeleton/index.d.cts +3 -0
- package/dist/components/ui/skeleton/index.d.ts +3 -0
- package/dist/components/ui/skeleton/index.js +2 -0
- package/dist/components/ui/skeleton/index.js.map +1 -0
- package/dist/components/ui/skeleton/skeleton.cjs +42 -0
- package/dist/components/ui/skeleton/skeleton.cjs.map +1 -0
- package/dist/components/ui/skeleton/skeleton.d.cts +6 -0
- package/dist/components/ui/skeleton/skeleton.d.ts +6 -0
- package/dist/components/ui/skeleton/skeleton.js +18 -0
- package/dist/components/ui/skeleton/skeleton.js.map +1 -0
- package/dist/components/ui/slider/index.cjs +23 -0
- package/dist/components/ui/slider/index.cjs.map +1 -0
- package/dist/components/ui/slider/index.d.cts +4 -0
- package/dist/components/ui/slider/index.d.ts +4 -0
- package/dist/components/ui/slider/index.js +2 -0
- package/dist/components/ui/slider/index.js.map +1 -0
- package/dist/components/ui/slider/slider.cjs +73 -0
- package/dist/components/ui/slider/slider.cjs.map +1 -0
- package/dist/components/ui/slider/slider.d.cts +7 -0
- package/dist/components/ui/slider/slider.d.ts +7 -0
- package/dist/components/ui/slider/slider.js +39 -0
- package/dist/components/ui/slider/slider.js.map +1 -0
- package/dist/components/ui/sonner/index.cjs +23 -0
- package/dist/components/ui/sonner/index.cjs.map +1 -0
- package/dist/components/ui/sonner/index.d.cts +3 -0
- package/dist/components/ui/sonner/index.d.ts +3 -0
- package/dist/components/ui/sonner/index.js +2 -0
- package/dist/components/ui/sonner/index.js.map +1 -0
- package/dist/components/ui/sonner/sonner.cjs +45 -0
- package/dist/components/ui/sonner/sonner.cjs.map +1 -0
- package/dist/components/ui/sonner/sonner.d.cts +6 -0
- package/dist/components/ui/sonner/sonner.d.ts +6 -0
- package/dist/components/ui/sonner/sonner.js +21 -0
- package/dist/components/ui/sonner/sonner.js.map +1 -0
- package/dist/components/ui/spinner/index.cjs +23 -0
- package/dist/components/ui/spinner/index.cjs.map +1 -0
- package/dist/components/ui/spinner/index.d.cts +2 -0
- package/dist/components/ui/spinner/index.d.ts +2 -0
- package/dist/components/ui/spinner/index.js +2 -0
- package/dist/components/ui/spinner/index.js.map +1 -0
- package/dist/components/ui/spinner/spinner.cjs +35 -0
- package/dist/components/ui/spinner/spinner.cjs.map +1 -0
- package/dist/components/ui/spinner/spinner.d.cts +5 -0
- package/dist/components/ui/spinner/spinner.d.ts +5 -0
- package/dist/components/ui/spinner/spinner.js +11 -0
- package/dist/components/ui/spinner/spinner.js.map +1 -0
- package/dist/components/ui/switch/index.cjs +23 -0
- package/dist/components/ui/switch/index.cjs.map +1 -0
- package/dist/components/ui/switch/index.d.cts +3 -0
- package/dist/components/ui/switch/index.d.ts +3 -0
- package/dist/components/ui/switch/index.js +2 -0
- package/dist/components/ui/switch/index.js.map +1 -0
- package/dist/components/ui/switch/switch.cjs +63 -0
- package/dist/components/ui/switch/switch.cjs.map +1 -0
- package/dist/components/ui/switch/switch.d.cts +6 -0
- package/dist/components/ui/switch/switch.d.ts +6 -0
- package/dist/components/ui/switch/switch.js +29 -0
- package/dist/components/ui/switch/switch.js.map +1 -0
- package/dist/components/ui/table/index.cjs +23 -0
- package/dist/components/ui/table/index.cjs.map +1 -0
- package/dist/components/ui/table/index.d.cts +3 -0
- package/dist/components/ui/table/index.d.ts +3 -0
- package/dist/components/ui/table/index.js +2 -0
- package/dist/components/ui/table/index.js.map +1 -0
- package/dist/components/ui/table/table.cjs +145 -0
- package/dist/components/ui/table/table.cjs.map +1 -0
- package/dist/components/ui/table/table.d.cts +13 -0
- package/dist/components/ui/table/table.d.ts +13 -0
- package/dist/components/ui/table/table.js +114 -0
- package/dist/components/ui/table/table.js.map +1 -0
- package/dist/components/ui/tabs/index.cjs +23 -0
- package/dist/components/ui/tabs/index.cjs.map +1 -0
- package/dist/components/ui/tabs/index.d.cts +3 -0
- package/dist/components/ui/tabs/index.d.ts +3 -0
- package/dist/components/ui/tabs/index.js +2 -0
- package/dist/components/ui/tabs/index.js.map +1 -0
- package/dist/components/ui/tabs/tabs.cjs +86 -0
- package/dist/components/ui/tabs/tabs.cjs.map +1 -0
- package/dist/components/ui/tabs/tabs.d.cts +9 -0
- package/dist/components/ui/tabs/tabs.d.ts +9 -0
- package/dist/components/ui/tabs/tabs.js +49 -0
- package/dist/components/ui/tabs/tabs.js.map +1 -0
- package/dist/components/ui/tag-input/index.cjs +23 -0
- package/dist/components/ui/tag-input/index.cjs.map +1 -0
- package/dist/components/ui/tag-input/index.d.cts +2 -0
- package/dist/components/ui/tag-input/index.d.ts +2 -0
- package/dist/components/ui/tag-input/index.js +2 -0
- package/dist/components/ui/tag-input/index.js.map +1 -0
- package/dist/components/ui/tag-input/tag-input.cjs +121 -0
- package/dist/components/ui/tag-input/tag-input.cjs.map +1 -0
- package/dist/components/ui/tag-input/tag-input.d.cts +12 -0
- package/dist/components/ui/tag-input/tag-input.d.ts +12 -0
- package/dist/components/ui/tag-input/tag-input.js +87 -0
- package/dist/components/ui/tag-input/tag-input.js.map +1 -0
- package/dist/components/ui/textarea/index.cjs +23 -0
- package/dist/components/ui/textarea/index.cjs.map +1 -0
- package/dist/components/ui/textarea/index.d.cts +3 -0
- package/dist/components/ui/textarea/index.d.ts +3 -0
- package/dist/components/ui/textarea/index.js +2 -0
- package/dist/components/ui/textarea/index.js.map +1 -0
- package/dist/components/ui/textarea/textarea.cjs +46 -0
- package/dist/components/ui/textarea/textarea.cjs.map +1 -0
- package/dist/components/ui/textarea/textarea.d.cts +6 -0
- package/dist/components/ui/textarea/textarea.d.ts +6 -0
- package/dist/components/ui/textarea/textarea.js +22 -0
- package/dist/components/ui/textarea/textarea.js.map +1 -0
- package/dist/components/ui/toast/index.cjs +23 -0
- package/dist/components/ui/toast/index.cjs.map +1 -0
- package/dist/components/ui/toast/index.d.cts +6 -0
- package/dist/components/ui/toast/index.d.ts +6 -0
- package/dist/components/ui/toast/index.js +2 -0
- package/dist/components/ui/toast/index.js.map +1 -0
- package/dist/components/ui/toast/toast.cjs +163 -0
- package/dist/components/ui/toast/toast.cjs.map +1 -0
- package/dist/components/ui/toast/toast.d.cts +20 -0
- package/dist/components/ui/toast/toast.d.ts +20 -0
- package/dist/components/ui/toast/toast.js +122 -0
- package/dist/components/ui/toast/toast.js.map +1 -0
- package/dist/components/ui/toggle/index.cjs +23 -0
- package/dist/components/ui/toggle/index.cjs.map +1 -0
- package/dist/components/ui/toggle/index.d.cts +6 -0
- package/dist/components/ui/toggle/index.d.ts +6 -0
- package/dist/components/ui/toggle/index.js +2 -0
- package/dist/components/ui/toggle/index.js.map +1 -0
- package/dist/components/ui/toggle/toggle.cjs +80 -0
- package/dist/components/ui/toggle/toggle.cjs.map +1 -0
- package/dist/components/ui/toggle/toggle.d.cts +13 -0
- package/dist/components/ui/toggle/toggle.d.ts +13 -0
- package/dist/components/ui/toggle/toggle.js +45 -0
- package/dist/components/ui/toggle/toggle.js.map +1 -0
- package/dist/components/ui/toggle-group/index.cjs +23 -0
- package/dist/components/ui/toggle-group/index.cjs.map +1 -0
- package/dist/components/ui/toggle-group/index.d.cts +8 -0
- package/dist/components/ui/toggle-group/index.d.ts +8 -0
- package/dist/components/ui/toggle-group/index.js +2 -0
- package/dist/components/ui/toggle-group/index.js.map +1 -0
- package/dist/components/ui/toggle-group/toggle-group.cjs +94 -0
- package/dist/components/ui/toggle-group/toggle-group.cjs.map +1 -0
- package/dist/components/ui/toggle-group/toggle-group.d.cts +12 -0
- package/dist/components/ui/toggle-group/toggle-group.d.ts +12 -0
- package/dist/components/ui/toggle-group/toggle-group.js +59 -0
- package/dist/components/ui/toggle-group/toggle-group.js.map +1 -0
- package/dist/components/ui/tooltip/index.cjs +23 -0
- package/dist/components/ui/tooltip/index.cjs.map +1 -0
- package/dist/components/ui/tooltip/index.d.cts +3 -0
- package/dist/components/ui/tooltip/index.d.ts +3 -0
- package/dist/components/ui/tooltip/index.js +2 -0
- package/dist/components/ui/tooltip/index.js.map +1 -0
- package/dist/components/ui/tooltip/tooltip.cjs +65 -0
- package/dist/components/ui/tooltip/tooltip.cjs.map +1 -0
- package/dist/components/ui/tooltip/tooltip.d.cts +9 -0
- package/dist/components/ui/tooltip/tooltip.d.ts +9 -0
- package/dist/components/ui/tooltip/tooltip.js +28 -0
- package/dist/components/ui/tooltip/tooltip.js.map +1 -0
- package/dist/constants/index.cjs +189 -0
- package/dist/constants/index.cjs.map +1 -0
- package/dist/constants/index.d.cts +155 -0
- package/dist/constants/index.d.ts +155 -0
- package/dist/constants/index.js +152 -0
- package/dist/constants/index.js.map +1 -0
- package/dist/icons.cjs +23 -0
- package/dist/icons.cjs.map +1 -0
- package/dist/icons.d.cts +1 -0
- package/dist/icons.d.ts +1 -0
- package/dist/icons.js +2 -0
- package/dist/icons.js.map +1 -0
- package/dist/index.cjs +51 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +107 -0
- package/dist/index.d.ts +107 -0
- package/dist/index.js +17 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/utils.cjs +33 -0
- package/dist/lib/utils.cjs.map +1 -0
- package/dist/lib/utils.d.cts +12 -0
- package/dist/lib/utils.d.ts +12 -0
- package/dist/lib/utils.js +9 -0
- package/dist/lib/utils.js.map +1 -0
- package/dist/tokens/colors.cjs +146 -0
- package/dist/tokens/colors.cjs.map +1 -0
- package/dist/tokens/colors.d.cts +118 -0
- package/dist/tokens/colors.d.ts +118 -0
- package/dist/tokens/colors.js +121 -0
- package/dist/tokens/colors.js.map +1 -0
- package/dist/tokens/index.cjs +41 -0
- package/dist/tokens/index.cjs.map +1 -0
- package/dist/tokens/index.d.cts +3 -0
- package/dist/tokens/index.d.ts +3 -0
- package/dist/tokens/index.js +12 -0
- package/dist/tokens/index.js.map +1 -0
- package/dist/tokens/spacing.cjs +45 -0
- package/dist/tokens/spacing.cjs.map +1 -0
- package/dist/tokens/spacing.d.cts +17 -0
- package/dist/tokens/spacing.d.ts +17 -0
- package/dist/tokens/spacing.js +20 -0
- package/dist/tokens/spacing.js.map +1 -0
- package/dist/tokens/typography.cjs +39 -0
- package/dist/tokens/typography.cjs.map +1 -0
- package/dist/tokens/typography.d.cts +11 -0
- package/dist/tokens/typography.d.ts +11 -0
- package/dist/tokens/typography.js +14 -0
- package/dist/tokens/typography.js.map +1 -0
- package/package.json +141 -0
- package/src/styles/theme.css +127 -0
- package/src/tokens/colors.ts +117 -0
- package/src/tokens/index.ts +3 -0
- package/src/tokens/spacing.ts +16 -0
- package/src/tokens/typography.ts +10 -0
- package/tailwind.preset.js +139 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../src/components/domain/resume/resume-preview/sections/contact-skills.tsx"],"sourcesContent":["import { CandidateProfile } from \"../../types\";\nimport { Badge } from \"../../../../ui\";\nimport { User, Mail, Phone, MapPin, Code, CheckCircle2, Users } from \"lucide-react\";\n\ninterface ContactSkillsProps {\n data: CandidateProfile;\n hideFields?: string[];\n hideSections?: string[];\n}\n\nexport function ContactSkills({ data, hideFields = [], hideSections = [] }: ContactSkillsProps) {\n const hardSkills = data.skills?.hard || [];\n const softSkills = data.skills?.soft || [];\n\n return (\n <div className=\"space-y-10\">\n {/* Contacto */}\n <div className=\"space-y-4\">\n <h3 className=\"text-xl font-bold text-primary flex items-center gap-2 border-b border-border pb-2\">\n <User className=\"w-5 h-5 text-primary\" />\n Contacto\n </h3>\n <div className=\"space-y-3 mt-4\">\n {data.email && !hideFields.includes(\"email\") && (\n <div className=\"flex items-center gap-3 text-sm text-foreground\">\n <Mail className=\"w-4 h-4 text-muted-foreground flex-shrink-0\" />\n <span className=\"break-all font-medium\">{data.email}</span>\n </div>\n )}\n {data.phone_number && !hideFields.includes(\"phone_number\") && (\n <div className=\"flex items-center gap-3 text-sm text-foreground\">\n <Phone className=\"w-4 h-4 text-muted-foreground flex-shrink-0\" />\n <span className=\"font-medium\">{data.phone_number}</span>\n </div>\n )}\n {(data.city || data.address) && (!hideFields.includes(\"city\") || !hideFields.includes(\"address\")) && (\n <div className=\"flex items-start gap-3 text-sm text-foreground\">\n <MapPin className=\"w-4 h-4 text-muted-foreground flex-shrink-0 mt-0.5\" />\n <span className=\"font-medium leading-tight\">\n {[\n !hideFields.includes(\"address\") ? data.address : null,\n !hideFields.includes(\"city\") ? data.city : null\n ].filter(Boolean).join(\", \")}\n </span>\n </div>\n )}\n </div>\n </div>\n\n {/* Skills */}\n {!hideSections.includes(\"Habilidades\") && (\n <div className=\"space-y-6\">\n {hardSkills.length > 0 && (\n <div className=\"space-y-4\">\n <h3 className=\"text-xl font-bold text-primary flex items-center gap-2 border-b border-border pb-2\">\n <Code className=\"w-5 h-5 text-primary\" />\n Habilidades Técnicas\n </h3>\n <div className=\"flex flex-wrap gap-2 mt-4\">\n {hardSkills.map((skill) => (\n <Badge key={skill.id} variant=\"outline\" className=\"text-muted-foreground text-sm py-1 px-3 bg-muted/20 border-border/80 pdf-badge\">\n {skill.name}\n {skill.verified && !hideFields.includes(\"skills.hard.verified\") && (\n <CheckCircle2 className=\"w-3.5 h-3.5 ml-1.5 text-primary-foreground/90\" />\n )}\n </Badge>\n ))}\n </div>\n </div>\n )}\n\n {softSkills.length > 0 && (\n <div className=\"space-y-4\">\n <h3 className=\"text-xl font-bold text-primary flex items-center gap-2 border-b border-border pb-2\">\n <Users className=\"w-5 h-5 text-primary\" />\n Aptitudes\n </h3>\n <div className=\"flex flex-wrap gap-2 mt-4\">\n {softSkills.map((skill) => (\n <Badge key={skill.id} variant=\"outline\" className=\"text-muted-foreground text-sm py-1 px-3 bg-muted/20 border-border/80 pdf-badge\">\n {skill.name}\n </Badge>\n ))}\n </div>\n </div>\n )}\n </div>\n )}\n </div>\n );\n}\n"],"mappings":"AAkBgB,SACI,KADJ;AAjBhB,SAAS,aAAa;AACtB,SAAS,MAAM,MAAM,OAAO,QAAQ,MAAM,cAAc,aAAa;AAQ9D,SAAS,cAAc,EAAE,MAAM,aAAa,CAAC,GAAG,eAAe,CAAC,EAAE,GAAuB;AAC5F,QAAM,aAAa,KAAK,QAAQ,QAAQ,CAAC;AACzC,QAAM,aAAa,KAAK,QAAQ,QAAQ,CAAC;AAEzC,SACI,qBAAC,SAAI,WAAU,cAEX;AAAA,yBAAC,SAAI,WAAU,aACX;AAAA,2BAAC,QAAG,WAAU,sFACV;AAAA,4BAAC,QAAK,WAAU,wBAAuB;AAAA,QAAE;AAAA,SAE7C;AAAA,MACA,qBAAC,SAAI,WAAU,kBACV;AAAA,aAAK,SAAS,CAAC,WAAW,SAAS,OAAO,KACvC,qBAAC,SAAI,WAA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SAAM,WAAU,wBAAuB;AAAA,UAAE;AAAA,WAE9C;AAAA,QACA,oBAAC,SAAI,WAAU,6BACV,qBAAW,IAAI,CAAC,UACb,oBAAC,SAAqB,SAAQ,WAAU,WAAU,kFAC7C,gBAAM,QADC,MAAM,EAElB,CACH,GACL;AAAA,SACJ;AAAA,OAER;AAAA,KAER;AAER;","names":[]}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var experience_education_exports = {};
|
|
20
|
+
__export(experience_education_exports, {
|
|
21
|
+
ExperienceEducation: () => ExperienceEducation
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(experience_education_exports);
|
|
24
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
25
|
+
var import_lucide_react = require("lucide-react");
|
|
26
|
+
function ExperienceEducation({ data, theme, hideFields = [], hideSections = [] }) {
|
|
27
|
+
const experiences = data.work_experience || [];
|
|
28
|
+
const education = data.education || [];
|
|
29
|
+
const activities = data.activities || [];
|
|
30
|
+
const certifications = data.certifications || [];
|
|
31
|
+
const themeStyle = theme ? { backgroundColor: theme } : void 0;
|
|
32
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "space-y-12", children: [
|
|
33
|
+
experiences.length > 0 && !hideSections.includes("Experiencia laboral") && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "space-y-6", children: [
|
|
34
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("h3", { className: "text-2xl font-bold text-primary flex items-center gap-2 border-b-2 border-primary/20 pb-2", children: [
|
|
35
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.Briefcase, { className: "w-6 h-6 text-primary" }),
|
|
36
|
+
"Experiencia Laboral"
|
|
37
|
+
] }),
|
|
38
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "space-y-8", children: experiences.map((exp) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "relative pl-6 after:absolute after:left-[3px] after:top-4 after:bottom-[-24px] last:after:hidden after:w-[2px] after:bg-border", children: [
|
|
39
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "absolute left-0 top-2 w-2 h-2 rounded-full bg-primary pdf-line-v", style: themeStyle }),
|
|
40
|
+
!hideFields.includes("experience.title") && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("h4", { className: "font-bold text-foreground text-lg", children: exp.title }),
|
|
41
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex flex-col sm:flex-row sm:items-center sm:justify-between mb-2", children: [
|
|
42
|
+
!hideFields.includes("experience.institution_name") && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "text-primary font-semibold text-base", children: exp.institution_name }),
|
|
43
|
+
(!hideFields.includes("experience.start_date") || !hideFields.includes("experience.end_date")) && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { className: "text-sm text-muted-foreground font-medium bg-muted/30 px-2 py-0.5 rounded-md mt-1 sm:mt-0 w-fit", children: [
|
|
44
|
+
!hideFields.includes("experience.start_date") && exp.start_date,
|
|
45
|
+
!hideFields.includes("experience.end_date") && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
|
46
|
+
" ",
|
|
47
|
+
exp.end_date ? `- ${exp.end_date}` : "- Presente"
|
|
48
|
+
] })
|
|
49
|
+
] })
|
|
50
|
+
] }),
|
|
51
|
+
exp.description && !hideFields.includes("experience.description") && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "text-base text-foreground/80 leading-relaxed whitespace-pre-wrap mt-3", children: exp.description })
|
|
52
|
+
] }, exp.id)) })
|
|
53
|
+
] }),
|
|
54
|
+
education.length > 0 && !hideSections.includes("Educaci\xF3n") && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "space-y-6", children: [
|
|
55
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("h3", { className: "text-2xl font-bold text-primary flex items-center gap-2 border-b-2 border-primary/20 pb-2", children: [
|
|
56
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.GraduationCap, { className: "w-6 h-6 text-primary" }),
|
|
57
|
+
"Educaci\xF3n"
|
|
58
|
+
] }),
|
|
59
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "space-y-8", children: education.map((edu) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "relative pl-6 after:absolute after:left-[3px] after:top-4 after:bottom-[-24px] last:after:hidden after:w-[2px] after:bg-border", children: [
|
|
60
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "absolute left-0 top-2 w-2 h-2 rounded-full bg-primary pdf-line-v", style: themeStyle }),
|
|
61
|
+
!hideFields.includes("education.title") && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("h4", { className: "font-bold text-foreground text-lg", children: edu.title }),
|
|
62
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex flex-col sm:flex-row sm:items-center sm:justify-between mb-2", children: [
|
|
63
|
+
!hideFields.includes("education.institution_name") && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "text-primary font-semibold text-base", children: edu.institution_name }),
|
|
64
|
+
(!hideFields.includes("education.start_date") || !hideFields.includes("education.end_date")) && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { className: "text-sm text-muted-foreground font-medium bg-muted/30 px-2 py-0.5 rounded-md mt-1 sm:mt-0 w-fit", children: [
|
|
65
|
+
!hideFields.includes("education.start_date") && edu.start_date,
|
|
66
|
+
!hideFields.includes("education.end_date") && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
|
67
|
+
" ",
|
|
68
|
+
edu.end_date ? `- ${edu.end_date}` : "- Presente"
|
|
69
|
+
] })
|
|
70
|
+
] })
|
|
71
|
+
] }),
|
|
72
|
+
edu.description && !hideFields.includes("education.description") && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "text-base text-foreground/80 leading-relaxed whitespace-pre-wrap mt-3", children: edu.description })
|
|
73
|
+
] }, edu.id)) })
|
|
74
|
+
] }),
|
|
75
|
+
activities.length > 0 && !hideSections.includes("Actividades y Logros") && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "space-y-6", children: [
|
|
76
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("h3", { className: "text-2xl font-bold text-primary flex items-center gap-2 border-b-2 border-primary/20 pb-2", children: [
|
|
77
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.Trophy, { className: "w-6 h-6 text-primary" }),
|
|
78
|
+
"Actividades y Logros"
|
|
79
|
+
] }),
|
|
80
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "space-y-8", children: activities.map((act) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "relative pl-6 after:absolute after:left-[3px] after:top-4 after:bottom-[-24px] last:after:hidden after:w-[2px] after:bg-border", children: [
|
|
81
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "absolute left-0 top-2 w-2 h-2 rounded-full bg-primary pdf-line-v", style: themeStyle }),
|
|
82
|
+
!hideFields.includes("activities.title") && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("h4", { className: "font-bold text-foreground text-lg", children: act.title }),
|
|
83
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex flex-col sm:flex-row sm:items-center sm:justify-between mb-2", children: [
|
|
84
|
+
!hideFields.includes("activities.institution_name") && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "text-primary font-semibold text-base", children: act.institution_name }),
|
|
85
|
+
(!hideFields.includes("activities.start_date") || !hideFields.includes("activities.end_date")) && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { className: "text-sm text-muted-foreground font-medium bg-muted/30 px-2 py-0.5 rounded-md mt-1 sm:mt-0 w-fit", children: [
|
|
86
|
+
!hideFields.includes("activities.start_date") && act.start_date,
|
|
87
|
+
!hideFields.includes("activities.end_date") && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
|
88
|
+
" ",
|
|
89
|
+
act.end_date ? `- ${act.end_date}` : "- Presente"
|
|
90
|
+
] })
|
|
91
|
+
] })
|
|
92
|
+
] }),
|
|
93
|
+
act.description && !hideFields.includes("activities.description") && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "text-base text-foreground/80 leading-relaxed whitespace-pre-wrap mt-3", children: act.description })
|
|
94
|
+
] }, act.id)) })
|
|
95
|
+
] }),
|
|
96
|
+
certifications.length > 0 && !hideSections.includes("Certificaciones") && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "space-y-6", children: [
|
|
97
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("h3", { className: "text-2xl font-bold text-primary flex items-center gap-2 border-b-2 border-primary/20 pb-2", children: [
|
|
98
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.Award, { className: "w-6 h-6 text-primary" }),
|
|
99
|
+
"Certificaciones"
|
|
100
|
+
] }),
|
|
101
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "grid grid-cols-1 sm:grid-cols-2 gap-4", children: certifications.map((cert) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "p-4 border border-border/60 hover:border-primary/30 transition-colors rounded-lg bg-card shadow-sm hover:shadow-md", children: [
|
|
102
|
+
!hideFields.includes("certifications.title") && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("h4", { className: "font-bold text-base text-foreground line-clamp-1", title: cert.title, children: cert.title }),
|
|
103
|
+
!hideFields.includes("certifications.institution_name") && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "text-sm text-muted-foreground mt-1 line-clamp-1", children: cert.institution_name }),
|
|
104
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex items-center justify-between mt-4", children: [
|
|
105
|
+
!hideFields.includes("certifications.date_awarded") && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "text-xs font-semibold uppercase text-muted-foreground tracking-wider bg-muted/50 px-2 py-1 rounded-md", children: cert.date_awarded }),
|
|
106
|
+
cert.verified && !hideFields.includes("certifications.verified") && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
107
|
+
"span",
|
|
108
|
+
{
|
|
109
|
+
className: "text-xs font-bold px-2.5 py-1 rounded-full border transition-colors pdf-badge",
|
|
110
|
+
style: {
|
|
111
|
+
backgroundColor: theme?.startsWith("#") ? `${theme}15` : void 0,
|
|
112
|
+
color: theme,
|
|
113
|
+
borderColor: theme?.startsWith("#") ? `${theme}30` : theme
|
|
114
|
+
},
|
|
115
|
+
children: "Verificado"
|
|
116
|
+
}
|
|
117
|
+
)
|
|
118
|
+
] })
|
|
119
|
+
] }, cert.id)) })
|
|
120
|
+
] })
|
|
121
|
+
] });
|
|
122
|
+
}
|
|
123
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
124
|
+
0 && (module.exports = {
|
|
125
|
+
ExperienceEducation
|
|
126
|
+
});
|
|
127
|
+
//# sourceMappingURL=experience-education.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../src/components/domain/resume/resume-preview/sections/experience-education.tsx"],"sourcesContent":["import { CandidateProfile } from \"../../types\";\nimport { GraduationCap, Briefcase, Trophy, Award } from \"lucide-react\";\n\ninterface ExperienceEducationProps {\n data: CandidateProfile;\n theme?: string;\n hideFields?: string[];\n hideSections?: string[];\n}\n\nexport function ExperienceEducation({ data, theme, hideFields = [], hideSections = [] }: ExperienceEducationProps) {\n const experiences = data.work_experience || [];\n const education = data.education || [];\n const activities = data.activities || [];\n const certifications = data.certifications || [];\n\n const themeStyle = theme ? { backgroundColor: theme } : undefined;\n\n return (\n <div className=\"space-y-12\">\n {/* Experience */}\n {experiences.length > 0 && !hideSections.includes(\"Experiencia laboral\") && (\n <div className=\"space-y-6\">\n <h3 className=\"text-2xl font-bold text-primary flex items-center gap-2 border-b-2 border-primary/20 pb-2\">\n <Briefcase className=\"w-6 h-6 text-primary\" />\n Experiencia Laboral\n </h3>\n <div className=\"space-y-8\">\n {experiences.map((exp) => (\n <div key={exp.id} className=\"relative pl-6 after:absolute after:left-[3px] after:top-4 after:bottom-[-24px] last:after:hidden after:w-[2px] after:bg-border\">\n <div className=\"absolute left-0 top-2 w-2 h-2 rounded-full bg-primary pdf-line-v\" style={themeStyle} />\n {!hideFields.includes(\"experience.title\") && (\n <h4 className=\"font-bold text-foreground text-lg\">{exp.title}</h4>\n )}\n <div className=\"flex flex-col sm:flex-row sm:items-center sm:justify-between mb-2\">\n {!hideFields.includes(\"experience.institution_name\") && (\n <span className=\"text-primary font-semibold text-base\">{exp.institution_name}</span>\n )}\n {(!hideFields.includes(\"experience.start_date\") || !hideFields.includes(\"experience.end_date\")) && (\n <span className=\"text-sm text-muted-foreground font-medium bg-muted/30 px-2 py-0.5 rounded-md mt-1 sm:mt-0 w-fit\">\n {!hideFields.includes(\"experience.start_date\") && exp.start_date}\n {!hideFields.includes(\"experience.end_date\") && (\n <> {exp.end_date ? `- ${exp.end_date}` : \"- Presente\"}</>\n )}\n </span>\n )}\n </div>\n {exp.description && !hideFields.includes(\"experience.description\") && (\n <p className=\"text-base text-foreground/80 leading-relaxed whitespace-pre-wrap mt-3\">\n {exp.description}\n </p>\n )}\n </div>\n ))}\n </div>\n </div>\n )}\n\n {/* Education */}\n {education.length > 0 && !hideSections.includes(\"Educación\") && (\n <div className=\"space-y-6\">\n <h3 className=\"text-2xl font-bold text-primary flex items-center gap-2 border-b-2 border-primary/20 pb-2\">\n <GraduationCap className=\"w-6 h-6 text-primary\" />\n Educación\n </h3>\n <div className=\"space-y-8\">\n {education.map((edu) => (\n <div key={edu.id} className=\"relative pl-6 after:absolute after:left-[3px] after:top-4 after:bottom-[-24px] last:after:hidden after:w-[2px] after:bg-border\">\n <div className=\"absolute left-0 top-2 w-2 h-2 rounded-full bg-primary pdf-line-v\" style={themeStyle} />\n {!hideFields.includes(\"education.title\") && (\n <h4 className=\"font-bold text-foreground text-lg\">{edu.title}</h4>\n )}\n <div className=\"flex flex-col sm:flex-row sm:items-center sm:justify-between mb-2\">\n {!hideFields.includes(\"education.institution_name\") && (\n <span className=\"text-primary font-semibold text-base\">{edu.institution_name}</span>\n )}\n {(!hideFields.includes(\"education.start_date\") || !hideFields.includes(\"education.end_date\")) && (\n <span className=\"text-sm text-muted-foreground font-medium bg-muted/30 px-2 py-0.5 rounded-md mt-1 sm:mt-0 w-fit\">\n {!hideFields.includes(\"education.start_date\") && edu.start_date}\n {!hideFields.includes(\"education.end_date\") && (\n <> {edu.end_date ? `- ${edu.end_date}` : \"- Presente\"}</>\n )}\n </span>\n )}\n </div>\n {edu.description && !hideFields.includes(\"education.description\") && (\n <p className=\"text-base text-foreground/80 leading-relaxed whitespace-pre-wrap mt-3\">\n {edu.description}\n </p>\n )}\n </div>\n ))}\n </div>\n </div>\n )}\n\n {/* Activities */}\n {activities.length > 0 && !hideSections.includes(\"Actividades y Logros\") && (\n <div className=\"space-y-6\">\n <h3 className=\"text-2xl font-bold text-primary flex items-center gap-2 border-b-2 border-primary/20 pb-2\">\n <Trophy className=\"w-6 h-6 text-primary\" />\n Actividades y Logros\n </h3>\n <div className=\"space-y-8\">\n {activities.map((act) => (\n <div key={act.id} className=\"relative pl-6 after:absolute after:left-[3px] after:top-4 after:bottom-[-24px] last:after:hidden after:w-[2px] after:bg-border\">\n <div className=\"absolute left-0 top-2 w-2 h-2 rounded-full bg-primary pdf-line-v\" style={themeStyle} />\n {!hideFields.includes(\"activities.title\") && (\n <h4 className=\"font-bold text-foreground text-lg\">{act.title}</h4>\n )}\n <div className=\"flex flex-col sm:flex-row sm:items-center sm:justify-between mb-2\">\n {!hideFields.includes(\"activities.institution_name\") && (\n <span className=\"text-primary font-semibold text-base\">{act.institution_name}</span>\n )}\n {(!hideFields.includes(\"activities.start_date\") || !hideFields.includes(\"activities.end_date\")) && (\n <span className=\"text-sm text-muted-foreground font-medium bg-muted/30 px-2 py-0.5 rounded-md mt-1 sm:mt-0 w-fit\">\n {!hideFields.includes(\"activities.start_date\") && act.start_date}\n {!hideFields.includes(\"activities.end_date\") && (\n <> {act.end_date ? `- ${act.end_date}` : \"- Presente\"}</>\n )}\n </span>\n )}\n </div>\n {act.description && !hideFields.includes(\"activities.description\") && (\n <p className=\"text-base text-foreground/80 leading-relaxed whitespace-pre-wrap mt-3\">\n {act.description}\n </p>\n )}\n </div>\n ))}\n </div>\n </div>\n )}\n\n {/* Certifications */}\n {certifications.length > 0 && !hideSections.includes(\"Certificaciones\") && (\n <div className=\"space-y-6\">\n <h3 className=\"text-2xl font-bold text-primary flex items-center gap-2 border-b-2 border-primary/20 pb-2\">\n <Award className=\"w-6 h-6 text-primary\" />\n Certificaciones\n </h3>\n <div className=\"grid grid-cols-1 sm:grid-cols-2 gap-4\">\n {certifications.map((cert) => (\n <div key={cert.id} className=\"p-4 border border-border/60 hover:border-primary/30 transition-colors rounded-lg bg-card shadow-sm hover:shadow-md\">\n {!hideFields.includes(\"certifications.title\") && (\n <h4 className=\"font-bold text-base text-foreground line-clamp-1\" title={cert.title}>{cert.title}</h4>\n )}\n {!hideFields.includes(\"certifications.institution_name\") && (\n <p className=\"text-sm text-muted-foreground mt-1 line-clamp-1\">{cert.institution_name}</p>\n )}\n <div className=\"flex items-center justify-between mt-4\">\n {!hideFields.includes(\"certifications.date_awarded\") && (\n <span className=\"text-xs font-semibold uppercase text-muted-foreground tracking-wider bg-muted/50 px-2 py-1 rounded-md\">{cert.date_awarded}</span>\n )}\n {cert.verified && !hideFields.includes(\"certifications.verified\") && (\n <span\n className=\"text-xs font-bold px-2.5 py-1 rounded-full border transition-colors pdf-badge\"\n style={{\n backgroundColor: theme?.startsWith('#') ? `${theme}15` : undefined,\n color: theme,\n borderColor: theme?.startsWith('#') ? `${theme}30` : theme\n }}\n >\n Verificado\n </span>\n )}\n </div>\n </div>\n ))}\n </div>\n </div>\n )}\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAuBoB;AAtBpB,0BAAwD;AASjD,SAAS,oBAAoB,EAAE,MAAM,OAAO,aAAa,CAAC,GAAG,eAAe,CAAC,EAAE,GAA6B;AAC/G,QAAM,cAAc,KAAK,mBAAmB,CAAC;AAC7C,QAAM,YAAY,KAAK,aAAa,CAAC;AACrC,QAAM,aAAa,KAAK,cAAc,CAAC;AACvC,QAAM,iBAAiB,KAAK,kBAAkB,CAAC;AAE/C,QAAM,aAAa,QAAQ,EAAE,iBAAiB,MAAM,IAAI;AAExD,SACI,6CAAC,SAAI,WAAU,cAEV;AAAA,gBAAY,SAAS,KAAK,CAAC,aAAa,SAAS,qBAAqB,KACnE,6CAAC,SAAI,WAAU,aACX;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|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { CandidateProfile } from '../../types.cjs';
|
|
3
|
+
import 'react';
|
|
4
|
+
|
|
5
|
+
interface ExperienceEducationProps {
|
|
6
|
+
data: CandidateProfile;
|
|
7
|
+
theme?: string;
|
|
8
|
+
hideFields?: string[];
|
|
9
|
+
hideSections?: string[];
|
|
10
|
+
}
|
|
11
|
+
declare function ExperienceEducation({ data, theme, hideFields, hideSections }: ExperienceEducationProps): react_jsx_runtime.JSX.Element;
|
|
12
|
+
|
|
13
|
+
export { ExperienceEducation };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { CandidateProfile } from '../../types.js';
|
|
3
|
+
import 'react';
|
|
4
|
+
|
|
5
|
+
interface ExperienceEducationProps {
|
|
6
|
+
data: CandidateProfile;
|
|
7
|
+
theme?: string;
|
|
8
|
+
hideFields?: string[];
|
|
9
|
+
hideSections?: string[];
|
|
10
|
+
}
|
|
11
|
+
declare function ExperienceEducation({ data, theme, hideFields, hideSections }: ExperienceEducationProps): react_jsx_runtime.JSX.Element;
|
|
12
|
+
|
|
13
|
+
export { ExperienceEducation };
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { GraduationCap, Briefcase, Trophy, Award } from "lucide-react";
|
|
3
|
+
function ExperienceEducation({ data, theme, hideFields = [], hideSections = [] }) {
|
|
4
|
+
const experiences = data.work_experience || [];
|
|
5
|
+
const education = data.education || [];
|
|
6
|
+
const activities = data.activities || [];
|
|
7
|
+
const certifications = data.certifications || [];
|
|
8
|
+
const themeStyle = theme ? { backgroundColor: theme } : void 0;
|
|
9
|
+
return /* @__PURE__ */ jsxs("div", { className: "space-y-12", children: [
|
|
10
|
+
experiences.length > 0 && !hideSections.includes("Experiencia laboral") && /* @__PURE__ */ jsxs("div", { className: "space-y-6", children: [
|
|
11
|
+
/* @__PURE__ */ jsxs("h3", { className: "text-2xl font-bold text-primary flex items-center gap-2 border-b-2 border-primary/20 pb-2", children: [
|
|
12
|
+
/* @__PURE__ */ jsx(Briefcase, { className: "w-6 h-6 text-primary" }),
|
|
13
|
+
"Experiencia Laboral"
|
|
14
|
+
] }),
|
|
15
|
+
/* @__PURE__ */ jsx("div", { className: "space-y-8", children: experiences.map((exp) => /* @__PURE__ */ jsxs("div", { className: "relative pl-6 after:absolute after:left-[3px] after:top-4 after:bottom-[-24px] last:after:hidden after:w-[2px] after:bg-border", children: [
|
|
16
|
+
/* @__PURE__ */ jsx("div", { className: "absolute left-0 top-2 w-2 h-2 rounded-full bg-primary pdf-line-v", style: themeStyle }),
|
|
17
|
+
!hideFields.includes("experience.title") && /* @__PURE__ */ jsx("h4", { className: "font-bold text-foreground text-lg", children: exp.title }),
|
|
18
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col sm:flex-row sm:items-center sm:justify-between mb-2", children: [
|
|
19
|
+
!hideFields.includes("experience.institution_name") && /* @__PURE__ */ jsx("span", { className: "text-primary font-semibold text-base", children: exp.institution_name }),
|
|
20
|
+
(!hideFields.includes("experience.start_date") || !hideFields.includes("experience.end_date")) && /* @__PURE__ */ jsxs("span", { className: "text-sm text-muted-foreground font-medium bg-muted/30 px-2 py-0.5 rounded-md mt-1 sm:mt-0 w-fit", children: [
|
|
21
|
+
!hideFields.includes("experience.start_date") && exp.start_date,
|
|
22
|
+
!hideFields.includes("experience.end_date") && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
23
|
+
" ",
|
|
24
|
+
exp.end_date ? `- ${exp.end_date}` : "- Presente"
|
|
25
|
+
] })
|
|
26
|
+
] })
|
|
27
|
+
] }),
|
|
28
|
+
exp.description && !hideFields.includes("experience.description") && /* @__PURE__ */ jsx("p", { className: "text-base text-foreground/80 leading-relaxed whitespace-pre-wrap mt-3", children: exp.description })
|
|
29
|
+
] }, exp.id)) })
|
|
30
|
+
] }),
|
|
31
|
+
education.length > 0 && !hideSections.includes("Educaci\xF3n") && /* @__PURE__ */ jsxs("div", { className: "space-y-6", children: [
|
|
32
|
+
/* @__PURE__ */ jsxs("h3", { className: "text-2xl font-bold text-primary flex items-center gap-2 border-b-2 border-primary/20 pb-2", children: [
|
|
33
|
+
/* @__PURE__ */ jsx(GraduationCap, { className: "w-6 h-6 text-primary" }),
|
|
34
|
+
"Educaci\xF3n"
|
|
35
|
+
] }),
|
|
36
|
+
/* @__PURE__ */ jsx("div", { className: "space-y-8", children: education.map((edu) => /* @__PURE__ */ jsxs("div", { className: "relative pl-6 after:absolute after:left-[3px] after:top-4 after:bottom-[-24px] last:after:hidden after:w-[2px] after:bg-border", children: [
|
|
37
|
+
/* @__PURE__ */ jsx("div", { className: "absolute left-0 top-2 w-2 h-2 rounded-full bg-primary pdf-line-v", style: themeStyle }),
|
|
38
|
+
!hideFields.includes("education.title") && /* @__PURE__ */ jsx("h4", { className: "font-bold text-foreground text-lg", children: edu.title }),
|
|
39
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col sm:flex-row sm:items-center sm:justify-between mb-2", children: [
|
|
40
|
+
!hideFields.includes("education.institution_name") && /* @__PURE__ */ jsx("span", { className: "text-primary font-semibold text-base", children: edu.institution_name }),
|
|
41
|
+
(!hideFields.includes("education.start_date") || !hideFields.includes("education.end_date")) && /* @__PURE__ */ jsxs("span", { className: "text-sm text-muted-foreground font-medium bg-muted/30 px-2 py-0.5 rounded-md mt-1 sm:mt-0 w-fit", children: [
|
|
42
|
+
!hideFields.includes("education.start_date") && edu.start_date,
|
|
43
|
+
!hideFields.includes("education.end_date") && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
44
|
+
" ",
|
|
45
|
+
edu.end_date ? `- ${edu.end_date}` : "- Presente"
|
|
46
|
+
] })
|
|
47
|
+
] })
|
|
48
|
+
] }),
|
|
49
|
+
edu.description && !hideFields.includes("education.description") && /* @__PURE__ */ jsx("p", { className: "text-base text-foreground/80 leading-relaxed whitespace-pre-wrap mt-3", children: edu.description })
|
|
50
|
+
] }, edu.id)) })
|
|
51
|
+
] }),
|
|
52
|
+
activities.length > 0 && !hideSections.includes("Actividades y Logros") && /* @__PURE__ */ jsxs("div", { className: "space-y-6", children: [
|
|
53
|
+
/* @__PURE__ */ jsxs("h3", { className: "text-2xl font-bold text-primary flex items-center gap-2 border-b-2 border-primary/20 pb-2", children: [
|
|
54
|
+
/* @__PURE__ */ jsx(Trophy, { className: "w-6 h-6 text-primary" }),
|
|
55
|
+
"Actividades y Logros"
|
|
56
|
+
] }),
|
|
57
|
+
/* @__PURE__ */ jsx("div", { className: "space-y-8", children: activities.map((act) => /* @__PURE__ */ jsxs("div", { className: "relative pl-6 after:absolute after:left-[3px] after:top-4 after:bottom-[-24px] last:after:hidden after:w-[2px] after:bg-border", children: [
|
|
58
|
+
/* @__PURE__ */ jsx("div", { className: "absolute left-0 top-2 w-2 h-2 rounded-full bg-primary pdf-line-v", style: themeStyle }),
|
|
59
|
+
!hideFields.includes("activities.title") && /* @__PURE__ */ jsx("h4", { className: "font-bold text-foreground text-lg", children: act.title }),
|
|
60
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col sm:flex-row sm:items-center sm:justify-between mb-2", children: [
|
|
61
|
+
!hideFields.includes("activities.institution_name") && /* @__PURE__ */ jsx("span", { className: "text-primary font-semibold text-base", children: act.institution_name }),
|
|
62
|
+
(!hideFields.includes("activities.start_date") || !hideFields.includes("activities.end_date")) && /* @__PURE__ */ jsxs("span", { className: "text-sm text-muted-foreground font-medium bg-muted/30 px-2 py-0.5 rounded-md mt-1 sm:mt-0 w-fit", children: [
|
|
63
|
+
!hideFields.includes("activities.start_date") && act.start_date,
|
|
64
|
+
!hideFields.includes("activities.end_date") && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
65
|
+
" ",
|
|
66
|
+
act.end_date ? `- ${act.end_date}` : "- Presente"
|
|
67
|
+
] })
|
|
68
|
+
] })
|
|
69
|
+
] }),
|
|
70
|
+
act.description && !hideFields.includes("activities.description") && /* @__PURE__ */ jsx("p", { className: "text-base text-foreground/80 leading-relaxed whitespace-pre-wrap mt-3", children: act.description })
|
|
71
|
+
] }, act.id)) })
|
|
72
|
+
] }),
|
|
73
|
+
certifications.length > 0 && !hideSections.includes("Certificaciones") && /* @__PURE__ */ jsxs("div", { className: "space-y-6", children: [
|
|
74
|
+
/* @__PURE__ */ jsxs("h3", { className: "text-2xl font-bold text-primary flex items-center gap-2 border-b-2 border-primary/20 pb-2", children: [
|
|
75
|
+
/* @__PURE__ */ jsx(Award, { className: "w-6 h-6 text-primary" }),
|
|
76
|
+
"Certificaciones"
|
|
77
|
+
] }),
|
|
78
|
+
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 sm:grid-cols-2 gap-4", children: certifications.map((cert) => /* @__PURE__ */ jsxs("div", { className: "p-4 border border-border/60 hover:border-primary/30 transition-colors rounded-lg bg-card shadow-sm hover:shadow-md", children: [
|
|
79
|
+
!hideFields.includes("certifications.title") && /* @__PURE__ */ jsx("h4", { className: "font-bold text-base text-foreground line-clamp-1", title: cert.title, children: cert.title }),
|
|
80
|
+
!hideFields.includes("certifications.institution_name") && /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground mt-1 line-clamp-1", children: cert.institution_name }),
|
|
81
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between mt-4", children: [
|
|
82
|
+
!hideFields.includes("certifications.date_awarded") && /* @__PURE__ */ jsx("span", { className: "text-xs font-semibold uppercase text-muted-foreground tracking-wider bg-muted/50 px-2 py-1 rounded-md", children: cert.date_awarded }),
|
|
83
|
+
cert.verified && !hideFields.includes("certifications.verified") && /* @__PURE__ */ jsx(
|
|
84
|
+
"span",
|
|
85
|
+
{
|
|
86
|
+
className: "text-xs font-bold px-2.5 py-1 rounded-full border transition-colors pdf-badge",
|
|
87
|
+
style: {
|
|
88
|
+
backgroundColor: theme?.startsWith("#") ? `${theme}15` : void 0,
|
|
89
|
+
color: theme,
|
|
90
|
+
borderColor: theme?.startsWith("#") ? `${theme}30` : theme
|
|
91
|
+
},
|
|
92
|
+
children: "Verificado"
|
|
93
|
+
}
|
|
94
|
+
)
|
|
95
|
+
] })
|
|
96
|
+
] }, cert.id)) })
|
|
97
|
+
] })
|
|
98
|
+
] });
|
|
99
|
+
}
|
|
100
|
+
export {
|
|
101
|
+
ExperienceEducation
|
|
102
|
+
};
|
|
103
|
+
//# sourceMappingURL=experience-education.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../src/components/domain/resume/resume-preview/sections/experience-education.tsx"],"sourcesContent":["import { CandidateProfile } from \"../../types\";\nimport { GraduationCap, Briefcase, Trophy, Award } from \"lucide-react\";\n\ninterface ExperienceEducationProps {\n data: CandidateProfile;\n theme?: string;\n hideFields?: string[];\n hideSections?: string[];\n}\n\nexport function ExperienceEducation({ data, theme, hideFields = [], hideSections = [] }: ExperienceEducationProps) {\n const experiences = data.work_experience || [];\n const education = data.education || [];\n const activities = data.activities || [];\n const certifications = data.certifications || [];\n\n const themeStyle = theme ? { backgroundColor: theme } : undefined;\n\n return (\n <div className=\"space-y-12\">\n {/* Experience */}\n {experiences.length > 0 && !hideSections.includes(\"Experiencia laboral\") && (\n <div className=\"space-y-6\">\n <h3 className=\"text-2xl font-bold text-primary flex items-center gap-2 border-b-2 border-primary/20 pb-2\">\n <Briefcase className=\"w-6 h-6 text-primary\" />\n Experiencia Laboral\n </h3>\n <div className=\"space-y-8\">\n {experiences.map((exp) => (\n <div key={exp.id} className=\"relative pl-6 after:absolute after:left-[3px] after:top-4 after:bottom-[-24px] last:after:hidden after:w-[2px] after:bg-border\">\n <div className=\"absolute left-0 top-2 w-2 h-2 rounded-full bg-primary pdf-line-v\" style={themeStyle} />\n {!hideFields.includes(\"experience.title\") && (\n <h4 className=\"font-bold text-foreground text-lg\">{exp.title}</h4>\n )}\n <div className=\"flex flex-col sm:flex-row sm:items-center sm:justify-between mb-2\">\n {!hideFields.includes(\"experience.institution_name\") && (\n <span className=\"text-primary font-semibold text-base\">{exp.institution_name}</span>\n )}\n {(!hideFields.includes(\"experience.start_date\") || !hideFields.includes(\"experience.end_date\")) && (\n <span className=\"text-sm text-muted-foreground font-medium bg-muted/30 px-2 py-0.5 rounded-md mt-1 sm:mt-0 w-fit\">\n {!hideFields.includes(\"experience.start_date\") && exp.start_date}\n {!hideFields.includes(\"experience.end_date\") && (\n <> {exp.end_date ? `- ${exp.end_date}` : \"- Presente\"}</>\n )}\n </span>\n )}\n </div>\n {exp.description && !hideFields.includes(\"experience.description\") && (\n <p className=\"text-base text-foreground/80 leading-relaxed whitespace-pre-wrap mt-3\">\n {exp.description}\n </p>\n )}\n </div>\n ))}\n </div>\n </div>\n )}\n\n {/* Education */}\n {education.length > 0 && !hideSections.includes(\"Educación\") && (\n <div className=\"space-y-6\">\n <h3 className=\"text-2xl font-bold text-primary flex items-center gap-2 border-b-2 border-primary/20 pb-2\">\n <GraduationCap className=\"w-6 h-6 text-primary\" />\n Educación\n </h3>\n <div className=\"space-y-8\">\n {education.map((edu) => (\n <div key={edu.id} className=\"relative pl-6 after:absolute after:left-[3px] after:top-4 after:bottom-[-24px] last:after:hidden after:w-[2px] after:bg-border\">\n <div className=\"absolute left-0 top-2 w-2 h-2 rounded-full bg-primary pdf-line-v\" style={themeStyle} />\n {!hideFields.includes(\"education.title\") && (\n <h4 className=\"font-bold text-foreground text-lg\">{edu.title}</h4>\n )}\n <div className=\"flex flex-col sm:flex-row sm:items-center sm:justify-between mb-2\">\n {!hideFields.includes(\"education.institution_name\") && (\n <span className=\"text-primary font-semibold text-base\">{edu.institution_name}</span>\n )}\n {(!hideFields.includes(\"education.start_date\") || !hideFields.includes(\"education.end_date\")) && (\n <span className=\"text-sm text-muted-foreground font-medium bg-muted/30 px-2 py-0.5 rounded-md mt-1 sm:mt-0 w-fit\">\n {!hideFields.includes(\"education.start_date\") && edu.start_date}\n {!hideFields.includes(\"education.end_date\") && (\n <> {edu.end_date ? `- ${edu.end_date}` : \"- Presente\"}</>\n )}\n </span>\n )}\n </div>\n {edu.description && !hideFields.includes(\"education.description\") && (\n <p className=\"text-base text-foreground/80 leading-relaxed whitespace-pre-wrap mt-3\">\n {edu.description}\n </p>\n )}\n </div>\n ))}\n </div>\n </div>\n )}\n\n {/* Activities */}\n {activities.length > 0 && !hideSections.includes(\"Actividades y Logros\") && (\n <div className=\"space-y-6\">\n <h3 className=\"text-2xl font-bold text-primary flex items-center gap-2 border-b-2 border-primary/20 pb-2\">\n <Trophy className=\"w-6 h-6 text-primary\" />\n Actividades y Logros\n </h3>\n <div className=\"space-y-8\">\n {activities.map((act) => (\n <div key={act.id} className=\"relative pl-6 after:absolute after:left-[3px] after:top-4 after:bottom-[-24px] last:after:hidden after:w-[2px] after:bg-border\">\n <div className=\"absolute left-0 top-2 w-2 h-2 rounded-full bg-primary pdf-line-v\" style={themeStyle} />\n {!hideFields.includes(\"activities.title\") && (\n <h4 className=\"font-bold text-foreground text-lg\">{act.title}</h4>\n )}\n <div className=\"flex flex-col sm:flex-row sm:items-center sm:justify-between mb-2\">\n {!hideFields.includes(\"activities.institution_name\") && (\n <span className=\"text-primary font-semibold text-base\">{act.institution_name}</span>\n )}\n {(!hideFields.includes(\"activities.start_date\") || !hideFields.includes(\"activities.end_date\")) && (\n <span className=\"text-sm text-muted-foreground font-medium bg-muted/30 px-2 py-0.5 rounded-md mt-1 sm:mt-0 w-fit\">\n {!hideFields.includes(\"activities.start_date\") && act.start_date}\n {!hideFields.includes(\"activities.end_date\") && (\n <> {act.end_date ? `- ${act.end_date}` : \"- Presente\"}</>\n )}\n </span>\n )}\n </div>\n {act.description && !hideFields.includes(\"activities.description\") && (\n <p className=\"text-base text-foreground/80 leading-relaxed whitespace-pre-wrap mt-3\">\n {act.description}\n </p>\n )}\n </div>\n ))}\n </div>\n </div>\n )}\n\n {/* Certifications */}\n {certifications.length > 0 && !hideSections.includes(\"Certificaciones\") && (\n <div className=\"space-y-6\">\n <h3 className=\"text-2xl font-bold text-primary flex items-center gap-2 border-b-2 border-primary/20 pb-2\">\n <Award className=\"w-6 h-6 text-primary\" />\n Certificaciones\n </h3>\n <div className=\"grid grid-cols-1 sm:grid-cols-2 gap-4\">\n {certifications.map((cert) => (\n <div key={cert.id} className=\"p-4 border border-border/60 hover:border-primary/30 transition-colors rounded-lg bg-card shadow-sm hover:shadow-md\">\n {!hideFields.includes(\"certifications.title\") && (\n <h4 className=\"font-bold text-base text-foreground line-clamp-1\" title={cert.title}>{cert.title}</h4>\n )}\n {!hideFields.includes(\"certifications.institution_name\") && (\n <p className=\"text-sm text-muted-foreground mt-1 line-clamp-1\">{cert.institution_name}</p>\n )}\n <div className=\"flex items-center justify-between mt-4\">\n {!hideFields.includes(\"certifications.date_awarded\") && (\n <span className=\"text-xs font-semibold uppercase text-muted-foreground tracking-wider bg-muted/50 px-2 py-1 rounded-md\">{cert.date_awarded}</span>\n )}\n {cert.verified && !hideFields.includes(\"certifications.verified\") && (\n <span\n className=\"text-xs font-bold px-2.5 py-1 rounded-full border transition-colors pdf-badge\"\n style={{\n backgroundColor: theme?.startsWith('#') ? `${theme}15` : undefined,\n color: theme,\n borderColor: theme?.startsWith('#') ? `${theme}30` : theme\n }}\n >\n Verificado\n </span>\n )}\n </div>\n </div>\n ))}\n </div>\n </div>\n )}\n </div>\n );\n}\n"],"mappings":"AAuBoB,SAmB4B,UAlBxB,KADJ;AAtBpB,SAAS,eAAe,WAAW,QAAQ,aAAa;AASjD,SAAS,oBAAoB,EAAE,MAAM,OAAO,aAAa,CAAC,GAAG,eAAe,CAAC,EAAE,GAA6B;AAC/G,QAAM,cAAc,KAAK,mBAAmB,CAAC;AAC7C,QAAM,YAAY,KAAK,aAAa,CAAC;AACrC,QAAM,aAAa,KAAK,cAAc,CAAC;AACvC,QAAM,iBAAiB,KAAK,kBAAkB,CAAC;AAE/C,QAAM,aAAa,QAAQ,EAAE,iBAAiB,MAAM,IAA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zD;AAAA,cACH;AAAA;AAAA,UAED;AAAA,WAER;AAAA,WAvBM,KAAK,EAwBf,CACH,GACL;AAAA,OACJ;AAAA,KAER;AAER;","names":[]}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var footer_preview_exports = {};
|
|
20
|
+
__export(footer_preview_exports, {
|
|
21
|
+
FooterPreview: () => FooterPreview
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(footer_preview_exports);
|
|
24
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
25
|
+
var import_logo = require("@/components/ui/logo");
|
|
26
|
+
function FooterPreview() {
|
|
27
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "hidden pdf-footer mt-auto pt-10 flex items-center justify-center gap-2 border-t border-border/40", children: [
|
|
28
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_logo.Logo, { className: "size-6" }),
|
|
29
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "text-sm font-medium tracking-tight", children: "Creado con Ginia" })
|
|
30
|
+
] });
|
|
31
|
+
}
|
|
32
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
33
|
+
0 && (module.exports = {
|
|
34
|
+
FooterPreview
|
|
35
|
+
});
|
|
36
|
+
//# sourceMappingURL=footer-preview.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../src/components/domain/resume/resume-preview/sections/footer-preview.tsx"],"sourcesContent":["import { Logo } from \"@/components/ui/logo\";\n\nexport function FooterPreview() {\n return (\n <div className=\"hidden pdf-footer mt-auto pt-10 flex items-center justify-center gap-2 border-t border-border/40\">\n <Logo className=\"size-6\" />\n <span className=\"text-sm font-medium tracking-tight\">Creado con Ginia</span>\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIQ;AAJR,kBAAqB;AAEd,SAAS,gBAAgB;AAC5B,SACI,6CAAC,SAAI,WAAU,oGACX;AAAA,gDAAC,oBAAK,WAAU,UAAS;AAAA,IACzB,4CAAC,UAAK,WAAU,sCAAqC,8BAAgB;AAAA,KACzE;AAER;","names":[]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Logo } from "@/components/ui/logo";
|
|
3
|
+
function FooterPreview() {
|
|
4
|
+
return /* @__PURE__ */ jsxs("div", { className: "hidden pdf-footer mt-auto pt-10 flex items-center justify-center gap-2 border-t border-border/40", children: [
|
|
5
|
+
/* @__PURE__ */ jsx(Logo, { className: "size-6" }),
|
|
6
|
+
/* @__PURE__ */ jsx("span", { className: "text-sm font-medium tracking-tight", children: "Creado con Ginia" })
|
|
7
|
+
] });
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
FooterPreview
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=footer-preview.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../src/components/domain/resume/resume-preview/sections/footer-preview.tsx"],"sourcesContent":["import { Logo } from \"@/components/ui/logo\";\n\nexport function FooterPreview() {\n return (\n <div className=\"hidden pdf-footer mt-auto pt-10 flex items-center justify-center gap-2 border-t border-border/40\">\n <Logo className=\"size-6\" />\n <span className=\"text-sm font-medium tracking-tight\">Creado con Ginia</span>\n </div>\n );\n}\n"],"mappings":"AAIQ,SACI,KADJ;AAJR,SAAS,YAAY;AAEd,SAAS,gBAAgB;AAC5B,SACI,qBAAC,SAAI,WAAU,oGACX;AAAA,wBAAC,QAAK,WAAU,UAAS;AAAA,IACzB,oBAAC,UAAK,WAAU,sCAAqC,8BAAgB;AAAA,KACzE;AAER;","names":[]}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var header_preview_exports = {};
|
|
20
|
+
__export(header_preview_exports, {
|
|
21
|
+
HeaderPreview: () => HeaderPreview
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(header_preview_exports);
|
|
24
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
25
|
+
var import_ui = require("../../../../ui");
|
|
26
|
+
function HeaderPreview({ data, headerSlot, theme, hideFields = [] }) {
|
|
27
|
+
const getInitials = () => {
|
|
28
|
+
const f = hideFields.includes("first_name") ? "" : data.first_name?.[0] || "";
|
|
29
|
+
const l = data.last_name?.[0] || "";
|
|
30
|
+
return `${f}${l}`.toUpperCase() || "CN";
|
|
31
|
+
};
|
|
32
|
+
const fullName = [
|
|
33
|
+
hideFields.includes("first_name") ? null : data.first_name,
|
|
34
|
+
hideFields.includes("middle_name") ? null : data.middle_name,
|
|
35
|
+
hideFields.includes("last_name") ? null : data.last_name,
|
|
36
|
+
hideFields.includes("second_last_name") ? null : data.second_last_name
|
|
37
|
+
].filter(Boolean).join(" ") || "Sin nombre";
|
|
38
|
+
const themeStyle = theme ? { backgroundColor: theme } : void 0;
|
|
39
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex flex-col md:flex-row items-center md:items-start gap-8 mt-4", children: [
|
|
40
|
+
!hideFields.includes("photo_url") && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_ui.Avatar, { className: "w-32 h-32 border-4 border-background shadow-lg flex-shrink-0", children: [
|
|
41
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ui.AvatarImage, { src: data.photo_url || void 0, alt: fullName, className: "object-cover" }),
|
|
42
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
43
|
+
import_ui.AvatarFallback,
|
|
44
|
+
{
|
|
45
|
+
className: "text-3xl font-semibold text-primary-foreground pdf-header-initials",
|
|
46
|
+
style: themeStyle || { backgroundColor: "hsl(var(--primary))" },
|
|
47
|
+
children: getInitials()
|
|
48
|
+
}
|
|
49
|
+
)
|
|
50
|
+
] }),
|
|
51
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex-1 w-full text-center md:text-left mt-2 md:mt-4 flex flex-col justify-between", children: [
|
|
52
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { children: [
|
|
53
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("h1", { className: "text-3xl md:text-4xl font-extrabold tracking-tight text-foreground mb-3", children: fullName }),
|
|
54
|
+
data.summary && !hideFields.includes("summary") && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "text-md text-muted-foreground leading-relaxed max-w-3xl mx-auto md:mx-0 font-medium pdf-summary", children: data.summary })
|
|
55
|
+
] }),
|
|
56
|
+
headerSlot && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "flex justify-center md:justify-end mt-6 w-full items-center pdf-hidden", children: headerSlot })
|
|
57
|
+
] })
|
|
58
|
+
] });
|
|
59
|
+
}
|
|
60
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
61
|
+
0 && (module.exports = {
|
|
62
|
+
HeaderPreview
|
|
63
|
+
});
|
|
64
|
+
//# sourceMappingURL=header-preview.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../src/components/domain/resume/resume-preview/sections/header-preview.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { CandidateProfile } from \"../../types\";\nimport { Avatar, AvatarFallback, AvatarImage } from \"../../../../ui\";\n\ninterface HeaderPreviewProps {\n data: CandidateProfile;\n headerSlot?: React.ReactNode;\n theme?: string;\n hideFields?: string[];\n}\n\nexport function HeaderPreview({ data, headerSlot, theme, hideFields = [] }: HeaderPreviewProps) {\n const getInitials = () => {\n const f = hideFields.includes(\"first_name\") ? \"\" : (data.first_name?.[0] || \"\");\n const l = data.last_name?.[0] || \"\";\n return `${f}${l}`.toUpperCase() || \"CN\";\n };\n\n const fullName = [\n hideFields.includes(\"first_name\") ? null : data.first_name,\n hideFields.includes(\"middle_name\") ? null : data.middle_name,\n hideFields.includes(\"last_name\") ? null : data.last_name,\n hideFields.includes(\"second_last_name\") ? null : data.second_last_name\n ]\n .filter(Boolean)\n .join(\" \") || \"Sin nombre\";\n\n const themeStyle = theme ? { backgroundColor: theme } : undefined;\n\n return (\n\n <div className=\"flex flex-col md:flex-row items-center md:items-start gap-8 mt-4\">\n {!hideFields.includes(\"photo_url\") && (\n <Avatar className=\"w-32 h-32 border-4 border-background shadow-lg flex-shrink-0\">\n <AvatarImage src={data.photo_url || undefined} alt={fullName} className=\"object-cover\" />\n <AvatarFallback\n className=\"text-3xl font-semibold text-primary-foreground pdf-header-initials\"\n style={themeStyle || { backgroundColor: 'hsl(var(--primary))' }}\n >\n {getInitials()}\n </AvatarFallback>\n </Avatar>\n )}\n\n <div className=\"flex-1 w-full text-center md:text-left mt-2 md:mt-4 flex flex-col justify-between\">\n <div>\n <h1 className=\"text-3xl md:text-4xl font-extrabold tracking-tight text-foreground mb-3\">{fullName}</h1>\n {data.summary && !hideFields.includes(\"summary\") && (\n <p className=\"text-md text-muted-foreground leading-relaxed max-w-3xl mx-auto md:mx-0 font-medium pdf-summary\">\n {data.summary}\n </p>\n )}\n </div>\n\n {headerSlot && (\n <div className=\"flex justify-center md:justify-end mt-6 w-full items-center pdf-hidden\">\n {headerSlot}\n </div>\n )}\n </div>\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAiCgB;AA/BhB,gBAAoD;AAS7C,SAAS,cAAc,EAAE,MAAM,YAAY,OAAO,aAAa,CAAC,EAAE,GAAuB;AAC5F,QAAM,cAAc,MAAM;AACtB,UAAM,IAAI,WAAW,SAAS,YAAY,IAAI,KAAM,KAAK,aAAa,CAAC,KAAK;AAC5E,UAAM,IAAI,KAAK,YAAY,CAAC,KAAK;AACjC,WAAO,GAAG,CAAC,GAAG,CAAC,GAAG,YAAY,KAAK;AAAA,EACvC;AAEA,QAAM,WAAW;AAAA,IACb,WAAW,SAAS,YAAY,IAAI,OAAO,KAAK;AAAA,IAChD,WAAW,SAAS,aAAa,IAAI,OAAO,KAAK;AAAA,IACjD,WAAW,SAAS,WAAW,IAAI,OAAO,KAAK;AAAA,IAC/C,WAAW,SAAS,kBAAkB,IAAI,OAAO,KAAK;AAAA,EAC1D,EACK,OAAO,OAAO,EACd,KAAK,GAAG,KAAK;AAElB,QAAM,aAAa,QAAQ,EAAE,iBAAiB,MAAM,IAAI;AAExD,SAEI,6CAAC,SAAI,WAAU,oEACV;AAAA,KAAC,WAAW,SAAS,WAAW,KAC7B,6CAAC,oBAAO,WAAU,gEACd;AAAA,kDAAC,yBAAY,KAAK,KAAK,aAAa,QAAW,KAAK,UAAU,WAAU,gBAAe;AAAA,MACvF;AAAA,QAAC;AAAA;AAAA,UACG,WAAU;AAAA,UACV,OAAO,cAAc,EAAE,iBAAiB,sBAAsB;AAAA,UAE7D,sBAAY;AAAA;AAAA,MACjB;AAAA,OACJ;AAAA,IAGJ,6CAAC,SAAI,WAAU,qFACX;AAAA,mDAAC,SACG;AAAA,oDAAC,QAAG,WAAU,2EAA2E,oBAAS;AAAA,QACjG,KAAK,WAAW,CAAC,WAAW,SAAS,SAAS,KAC3C,4CAAC,OAAE,WAAU,mGACR,eAAK,SACV;AAAA,SAER;AAAA,MAEC,cACG,4CAAC,SAAI,WAAU,0EACV,sBACL;AAAA,OAER;AAAA,KACJ;AAER;","names":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { CandidateProfile } from '../../types.cjs';
|
|
4
|
+
|
|
5
|
+
interface HeaderPreviewProps {
|
|
6
|
+
data: CandidateProfile;
|
|
7
|
+
headerSlot?: React.ReactNode;
|
|
8
|
+
theme?: string;
|
|
9
|
+
hideFields?: string[];
|
|
10
|
+
}
|
|
11
|
+
declare function HeaderPreview({ data, headerSlot, theme, hideFields }: HeaderPreviewProps): react_jsx_runtime.JSX.Element;
|
|
12
|
+
|
|
13
|
+
export { HeaderPreview };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { CandidateProfile } from '../../types.js';
|
|
4
|
+
|
|
5
|
+
interface HeaderPreviewProps {
|
|
6
|
+
data: CandidateProfile;
|
|
7
|
+
headerSlot?: React.ReactNode;
|
|
8
|
+
theme?: string;
|
|
9
|
+
hideFields?: string[];
|
|
10
|
+
}
|
|
11
|
+
declare function HeaderPreview({ data, headerSlot, theme, hideFields }: HeaderPreviewProps): react_jsx_runtime.JSX.Element;
|
|
12
|
+
|
|
13
|
+
export { HeaderPreview };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Avatar, AvatarFallback, AvatarImage } from "../../../../ui";
|
|
3
|
+
function HeaderPreview({ data, headerSlot, theme, hideFields = [] }) {
|
|
4
|
+
const getInitials = () => {
|
|
5
|
+
const f = hideFields.includes("first_name") ? "" : data.first_name?.[0] || "";
|
|
6
|
+
const l = data.last_name?.[0] || "";
|
|
7
|
+
return `${f}${l}`.toUpperCase() || "CN";
|
|
8
|
+
};
|
|
9
|
+
const fullName = [
|
|
10
|
+
hideFields.includes("first_name") ? null : data.first_name,
|
|
11
|
+
hideFields.includes("middle_name") ? null : data.middle_name,
|
|
12
|
+
hideFields.includes("last_name") ? null : data.last_name,
|
|
13
|
+
hideFields.includes("second_last_name") ? null : data.second_last_name
|
|
14
|
+
].filter(Boolean).join(" ") || "Sin nombre";
|
|
15
|
+
const themeStyle = theme ? { backgroundColor: theme } : void 0;
|
|
16
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex flex-col md:flex-row items-center md:items-start gap-8 mt-4", children: [
|
|
17
|
+
!hideFields.includes("photo_url") && /* @__PURE__ */ jsxs(Avatar, { className: "w-32 h-32 border-4 border-background shadow-lg flex-shrink-0", children: [
|
|
18
|
+
/* @__PURE__ */ jsx(AvatarImage, { src: data.photo_url || void 0, alt: fullName, className: "object-cover" }),
|
|
19
|
+
/* @__PURE__ */ jsx(
|
|
20
|
+
AvatarFallback,
|
|
21
|
+
{
|
|
22
|
+
className: "text-3xl font-semibold text-primary-foreground pdf-header-initials",
|
|
23
|
+
style: themeStyle || { backgroundColor: "hsl(var(--primary))" },
|
|
24
|
+
children: getInitials()
|
|
25
|
+
}
|
|
26
|
+
)
|
|
27
|
+
] }),
|
|
28
|
+
/* @__PURE__ */ jsxs("div", { className: "flex-1 w-full text-center md:text-left mt-2 md:mt-4 flex flex-col justify-between", children: [
|
|
29
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
30
|
+
/* @__PURE__ */ jsx("h1", { className: "text-3xl md:text-4xl font-extrabold tracking-tight text-foreground mb-3", children: fullName }),
|
|
31
|
+
data.summary && !hideFields.includes("summary") && /* @__PURE__ */ jsx("p", { className: "text-md text-muted-foreground leading-relaxed max-w-3xl mx-auto md:mx-0 font-medium pdf-summary", children: data.summary })
|
|
32
|
+
] }),
|
|
33
|
+
headerSlot && /* @__PURE__ */ jsx("div", { className: "flex justify-center md:justify-end mt-6 w-full items-center pdf-hidden", children: headerSlot })
|
|
34
|
+
] })
|
|
35
|
+
] });
|
|
36
|
+
}
|
|
37
|
+
export {
|
|
38
|
+
HeaderPreview
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=header-preview.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../src/components/domain/resume/resume-preview/sections/header-preview.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { CandidateProfile } from \"../../types\";\nimport { Avatar, AvatarFallback, AvatarImage } from \"../../../../ui\";\n\ninterface HeaderPreviewProps {\n data: CandidateProfile;\n headerSlot?: React.ReactNode;\n theme?: string;\n hideFields?: string[];\n}\n\nexport function HeaderPreview({ data, headerSlot, theme, hideFields = [] }: HeaderPreviewProps) {\n const getInitials = () => {\n const f = hideFields.includes(\"first_name\") ? \"\" : (data.first_name?.[0] || \"\");\n const l = data.last_name?.[0] || \"\";\n return `${f}${l}`.toUpperCase() || \"CN\";\n };\n\n const fullName = [\n hideFields.includes(\"first_name\") ? null : data.first_name,\n hideFields.includes(\"middle_name\") ? null : data.middle_name,\n hideFields.includes(\"last_name\") ? null : data.last_name,\n hideFields.includes(\"second_last_name\") ? null : data.second_last_name\n ]\n .filter(Boolean)\n .join(\" \") || \"Sin nombre\";\n\n const themeStyle = theme ? { backgroundColor: theme } : undefined;\n\n return (\n\n <div className=\"flex flex-col md:flex-row items-center md:items-start gap-8 mt-4\">\n {!hideFields.includes(\"photo_url\") && (\n <Avatar className=\"w-32 h-32 border-4 border-background shadow-lg flex-shrink-0\">\n <AvatarImage src={data.photo_url || undefined} alt={fullName} className=\"object-cover\" />\n <AvatarFallback\n className=\"text-3xl font-semibold text-primary-foreground pdf-header-initials\"\n style={themeStyle || { backgroundColor: 'hsl(var(--primary))' }}\n >\n {getInitials()}\n </AvatarFallback>\n </Avatar>\n )}\n\n <div className=\"flex-1 w-full text-center md:text-left mt-2 md:mt-4 flex flex-col justify-between\">\n <div>\n <h1 className=\"text-3xl md:text-4xl font-extrabold tracking-tight text-foreground mb-3\">{fullName}</h1>\n {data.summary && !hideFields.includes(\"summary\") && (\n <p className=\"text-md text-muted-foreground leading-relaxed max-w-3xl mx-auto md:mx-0 font-medium pdf-summary\">\n {data.summary}\n </p>\n )}\n </div>\n\n {headerSlot && (\n <div className=\"flex justify-center md:justify-end mt-6 w-full items-center pdf-hidden\">\n {headerSlot}\n </div>\n )}\n </div>\n </div>\n );\n}\n"],"mappings":"AAiCgB,SACI,KADJ;AA/BhB,SAAS,QAAQ,gBAAgB,mBAAmB;AAS7C,SAAS,cAAc,EAAE,MAAM,YAAY,OAAO,aAAa,CAAC,EAAE,GAAuB;AAC5F,QAAM,cAAc,MAAM;AACtB,UAAM,IAAI,WAAW,SAAS,YAAY,IAAI,KAAM,KAAK,aAAa,CAAC,KAAK;AAC5E,UAAM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