@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,360 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var resume_exports = {};
|
|
30
|
+
__export(resume_exports, {
|
|
31
|
+
Resume: () => Resume
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(resume_exports);
|
|
34
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
35
|
+
var import_react = require("react");
|
|
36
|
+
var import_html2canvas = __toESM(require("html2canvas"), 1);
|
|
37
|
+
var import_jspdf = require("jspdf");
|
|
38
|
+
var import_resume_editor = require("@/components/domain/resume/resume-editor/resume-editor");
|
|
39
|
+
var import_resume_preview = require("@/components/domain/resume/resume-preview/resume-preview");
|
|
40
|
+
var import_button = require("@/components/ui/button");
|
|
41
|
+
var import_lucide_react = require("lucide-react");
|
|
42
|
+
var import_sheet = require("@/components/ui/sheet");
|
|
43
|
+
function calculateDiffs(original, current) {
|
|
44
|
+
const candidateData = {};
|
|
45
|
+
if (original.student_education_institution_id !== current.student_education_institution_id) candidateData.student_education_institution_id = current.student_education_institution_id;
|
|
46
|
+
if (original.education_institution_id !== current.education_institution_id) candidateData.education_institution_id = current.education_institution_id;
|
|
47
|
+
if (original.program_name !== current.program_name) candidateData.program_name = current.program_name;
|
|
48
|
+
if (JSON.stringify(original.preferences) !== JSON.stringify(current.preferences)) candidateData.preferences = current.preferences;
|
|
49
|
+
if (JSON.stringify(original.advanced) !== JSON.stringify(current.advanced)) candidateData.advanced = current.advanced;
|
|
50
|
+
const userData = {};
|
|
51
|
+
const userFields = ["first_name", "middle_name", "last_name", "second_last_name", "phone_number", "phone_number_2", "email", "city", "address", "postal_code", "birth_date", "photo_url"];
|
|
52
|
+
userFields.forEach((field) => {
|
|
53
|
+
if (original[field] !== current[field]) {
|
|
54
|
+
userData[field] = current[field];
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
const calculateArrayDiff = (origArray = [], currArray = []) => {
|
|
58
|
+
const changes = [];
|
|
59
|
+
const origMap = new Map(origArray.map((item) => [item.id, item]));
|
|
60
|
+
currArray.forEach((currItem) => {
|
|
61
|
+
const origItem = origMap.get(currItem.id);
|
|
62
|
+
if (!origItem) {
|
|
63
|
+
changes.push({ action: "create", data: currItem });
|
|
64
|
+
} else if (JSON.stringify(origItem) !== JSON.stringify(currItem)) {
|
|
65
|
+
changes.push({ action: "update", data: currItem, id: currItem.id });
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
const currMap = new Map(currArray.map((item) => [item.id, item]));
|
|
69
|
+
origArray.forEach((origItem) => {
|
|
70
|
+
if (!currMap.has(origItem.id)) {
|
|
71
|
+
changes.push({ action: "delete", id: origItem.id });
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
return changes;
|
|
75
|
+
};
|
|
76
|
+
const experiencesDiff = [
|
|
77
|
+
...calculateArrayDiff(original.work_experience, current.work_experience),
|
|
78
|
+
...calculateArrayDiff(original.education, current.education),
|
|
79
|
+
...calculateArrayDiff(original.activities, current.activities)
|
|
80
|
+
];
|
|
81
|
+
const hwOrig = original.skills?.hard || [];
|
|
82
|
+
const hwCurr = current.skills?.hard || [];
|
|
83
|
+
const swOrig = original.skills?.soft || [];
|
|
84
|
+
const swCurr = current.skills?.soft || [];
|
|
85
|
+
const skillsDiff = [
|
|
86
|
+
...calculateArrayDiff(hwOrig, hwCurr),
|
|
87
|
+
...calculateArrayDiff(swOrig, swCurr)
|
|
88
|
+
];
|
|
89
|
+
return {
|
|
90
|
+
candidate: {
|
|
91
|
+
action: Object.keys(candidateData).length > 0 ? "update" : "none",
|
|
92
|
+
data: candidateData
|
|
93
|
+
},
|
|
94
|
+
user: {
|
|
95
|
+
action: Object.keys(userData).length > 0 ? "update" : "none",
|
|
96
|
+
data: userData
|
|
97
|
+
},
|
|
98
|
+
curriculum: {
|
|
99
|
+
action: original.summary !== current.summary ? "update" : "none",
|
|
100
|
+
data: { summary: current.summary }
|
|
101
|
+
},
|
|
102
|
+
experiences: experiencesDiff,
|
|
103
|
+
skills: skillsDiff,
|
|
104
|
+
certifications: calculateArrayDiff(original.certifications, current.certifications)
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
function Resume({
|
|
108
|
+
data,
|
|
109
|
+
editable = false,
|
|
110
|
+
headerSlot,
|
|
111
|
+
withDownload = false,
|
|
112
|
+
theme = "hsl(var(--secondary))",
|
|
113
|
+
hideFields = [],
|
|
114
|
+
hideSections = [],
|
|
115
|
+
menuSlot = [],
|
|
116
|
+
onSave
|
|
117
|
+
}) {
|
|
118
|
+
const themeStyle = theme ? { "--cv-theme": theme } : void 0;
|
|
119
|
+
const [draftData, setDraftData] = (0, import_react.useState)(data);
|
|
120
|
+
const [isOpen, setIsOpen] = (0, import_react.useState)(false);
|
|
121
|
+
const [isDownloading, setIsDownloading] = (0, import_react.useState)(false);
|
|
122
|
+
const previewRef = (0, import_react.useRef)(null);
|
|
123
|
+
const handleOpenChange = (open) => {
|
|
124
|
+
if (open) {
|
|
125
|
+
setDraftData(data);
|
|
126
|
+
}
|
|
127
|
+
setIsOpen(open);
|
|
128
|
+
};
|
|
129
|
+
const handleSave = () => {
|
|
130
|
+
if (onSave) {
|
|
131
|
+
const payload = calculateDiffs(data, draftData);
|
|
132
|
+
onSave(payload, draftData);
|
|
133
|
+
}
|
|
134
|
+
setIsOpen(false);
|
|
135
|
+
};
|
|
136
|
+
const handleDownload = async () => {
|
|
137
|
+
if (!previewRef.current || isDownloading) return;
|
|
138
|
+
setIsDownloading(true);
|
|
139
|
+
try {
|
|
140
|
+
const element = previewRef.current;
|
|
141
|
+
const canvas = await (0, import_html2canvas.default)(element, {
|
|
142
|
+
scale: 2,
|
|
143
|
+
useCORS: true,
|
|
144
|
+
backgroundColor: "#ffffff",
|
|
145
|
+
logging: false,
|
|
146
|
+
windowWidth: 1200,
|
|
147
|
+
// Force desktop layout breakpoint
|
|
148
|
+
onclone: (clonedDoc) => {
|
|
149
|
+
const clonedElement = clonedDoc.getElementById("resume-capture-area");
|
|
150
|
+
if (clonedElement instanceof HTMLElement) {
|
|
151
|
+
clonedElement.style.height = "auto";
|
|
152
|
+
clonedElement.style.overflow = "visible";
|
|
153
|
+
clonedElement.style.width = "1200px";
|
|
154
|
+
const objectCoverImages = clonedElement.querySelectorAll("img.object-cover");
|
|
155
|
+
objectCoverImages.forEach((img) => {
|
|
156
|
+
if (img instanceof HTMLImageElement) {
|
|
157
|
+
const parent2 = img.parentElement;
|
|
158
|
+
if (parent2) {
|
|
159
|
+
const div = clonedDoc.createElement("div");
|
|
160
|
+
div.style.width = "100%";
|
|
161
|
+
div.style.height = "100%";
|
|
162
|
+
div.style.backgroundImage = `url(${img.src})`;
|
|
163
|
+
div.style.backgroundSize = "cover";
|
|
164
|
+
div.style.backgroundPosition = "center";
|
|
165
|
+
div.style.borderRadius = window.getComputedStyle(img).borderRadius;
|
|
166
|
+
div.className = img.className;
|
|
167
|
+
parent2.style.marginTop = "1rem";
|
|
168
|
+
parent2.replaceChild(div, img);
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
});
|
|
172
|
+
const hiddenElements = clonedElement.querySelectorAll(".pdf-hidden");
|
|
173
|
+
hiddenElements.forEach((el) => {
|
|
174
|
+
if (el instanceof HTMLElement) {
|
|
175
|
+
el.style.display = "none";
|
|
176
|
+
}
|
|
177
|
+
});
|
|
178
|
+
const svgs = clonedElement.querySelectorAll("svg");
|
|
179
|
+
svgs.forEach((svg) => {
|
|
180
|
+
svg.style.display = "inline-block";
|
|
181
|
+
svg.style.verticalAlign = "middle";
|
|
182
|
+
svg.style.flexShrink = "0";
|
|
183
|
+
svg.style.marginRight = "0.4rem";
|
|
184
|
+
svg.style.marginBottom = "-1.2rem";
|
|
185
|
+
});
|
|
186
|
+
const clampElements = clonedElement.querySelectorAll(".line-clamp-1, .line-clamp-2, .line-clamp-3");
|
|
187
|
+
clampElements.forEach((el) => {
|
|
188
|
+
if (el instanceof HTMLElement) {
|
|
189
|
+
el.style.display = "block";
|
|
190
|
+
el.style.webkitLineClamp = "unset";
|
|
191
|
+
el.style.webkitBoxOrient = "unset";
|
|
192
|
+
el.style.overflow = "visible";
|
|
193
|
+
el.style.whiteSpace = "normal";
|
|
194
|
+
el.style.lineHeight = "1.5";
|
|
195
|
+
}
|
|
196
|
+
});
|
|
197
|
+
const badges = clonedElement.querySelectorAll(".pdf-badge");
|
|
198
|
+
badges.forEach((el) => {
|
|
199
|
+
if (el instanceof HTMLElement) {
|
|
200
|
+
el.style.paddingTop = "-10px";
|
|
201
|
+
el.style.display = "block";
|
|
202
|
+
el.style.paddingTop = "0px";
|
|
203
|
+
el.style.paddingBottom = "0.8rem";
|
|
204
|
+
}
|
|
205
|
+
});
|
|
206
|
+
const headersWithBorders = clonedElement.querySelectorAll("h1, h2, h3, h4");
|
|
207
|
+
headersWithBorders.forEach((el) => {
|
|
208
|
+
if (el instanceof HTMLElement) {
|
|
209
|
+
const hasBorder = el.className.includes("border-b") || el.style.borderBottomWidth !== "";
|
|
210
|
+
if (hasBorder) {
|
|
211
|
+
el.style.paddingBottom = "1.2rem";
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
});
|
|
215
|
+
const verticalLines = clonedElement.querySelectorAll(".pdf-line-v");
|
|
216
|
+
verticalLines.forEach((el) => {
|
|
217
|
+
if (el instanceof HTMLElement) {
|
|
218
|
+
el.style.marginTop = "0.5rem";
|
|
219
|
+
el.style.zIndex = "5";
|
|
220
|
+
}
|
|
221
|
+
});
|
|
222
|
+
const headerInitials = clonedElement.querySelectorAll(".pdf-header-initials");
|
|
223
|
+
headerInitials.forEach((el) => {
|
|
224
|
+
if (el instanceof HTMLElement) {
|
|
225
|
+
el.style.paddingBottom = "2rem";
|
|
226
|
+
}
|
|
227
|
+
});
|
|
228
|
+
const summaries = clonedElement.querySelectorAll(".pdf-summary");
|
|
229
|
+
summaries.forEach((el) => {
|
|
230
|
+
if (el instanceof HTMLElement) {
|
|
231
|
+
el.style.width = "100%";
|
|
232
|
+
el.style.maxWidth = "100%";
|
|
233
|
+
el.style.marginTop = "1.5rem";
|
|
234
|
+
}
|
|
235
|
+
});
|
|
236
|
+
const pdfFooters = clonedElement.querySelectorAll(".pdf-footer");
|
|
237
|
+
pdfFooters.forEach((el) => {
|
|
238
|
+
if (el instanceof HTMLElement) {
|
|
239
|
+
el.style.display = "flex";
|
|
240
|
+
}
|
|
241
|
+
});
|
|
242
|
+
let parent = clonedElement.parentElement;
|
|
243
|
+
while (parent) {
|
|
244
|
+
parent.style.height = "auto";
|
|
245
|
+
parent.style.overflow = "visible";
|
|
246
|
+
parent = parent.parentElement;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
});
|
|
251
|
+
const imgData = canvas.toDataURL("image/jpeg", 1);
|
|
252
|
+
const imgWidthPx = canvas.width;
|
|
253
|
+
const imgHeightPx = canvas.height;
|
|
254
|
+
const pxToMm = 25.4 / (96 * 2);
|
|
255
|
+
const pdfWidth = imgWidthPx * pxToMm;
|
|
256
|
+
const pdfHeight = imgHeightPx * pxToMm;
|
|
257
|
+
const pdf = new import_jspdf.jsPDF({
|
|
258
|
+
orientation: pdfWidth > pdfHeight ? "landscape" : "portrait",
|
|
259
|
+
unit: "mm",
|
|
260
|
+
format: [pdfWidth, pdfHeight]
|
|
261
|
+
});
|
|
262
|
+
pdf.addImage(imgData, "JPEG", 0, 0, pdfWidth, pdfHeight, void 0, "FAST");
|
|
263
|
+
const fileName = `CV_${data.first_name}_${data.last_name}`.replace(/\s+/g, "_");
|
|
264
|
+
pdf.save(`${fileName}.pdf`);
|
|
265
|
+
} catch (error) {
|
|
266
|
+
console.error("Error generating PDF:", error);
|
|
267
|
+
} finally {
|
|
268
|
+
setIsDownloading(false);
|
|
269
|
+
}
|
|
270
|
+
};
|
|
271
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
272
|
+
"div",
|
|
273
|
+
{
|
|
274
|
+
className: "relative w-full h-full bg-muted/20 py-8 px-4 sm:px-8 overflow-y-auto",
|
|
275
|
+
style: themeStyle,
|
|
276
|
+
children: [
|
|
277
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "w-full max-w-5xl mx-auto h-full", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
278
|
+
import_resume_preview.ResumePreview,
|
|
279
|
+
{
|
|
280
|
+
ref: previewRef,
|
|
281
|
+
data: draftData,
|
|
282
|
+
headerSlot,
|
|
283
|
+
theme,
|
|
284
|
+
hideFields,
|
|
285
|
+
hideSections
|
|
286
|
+
}
|
|
287
|
+
) }),
|
|
288
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "fixed bottom-6 right-6 z-50 flex flex-col sm:flex-row gap-3", children: [
|
|
289
|
+
editable && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_sheet.Sheet, { open: isOpen, onOpenChange: handleOpenChange, children: [
|
|
290
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_sheet.SheetTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
291
|
+
import_button.Button,
|
|
292
|
+
{
|
|
293
|
+
size: "lg",
|
|
294
|
+
className: "shadow-xl rounded-full px-4 flex items-center gap-2 bg-primary text-primary-foreground hover:bg-primary/90",
|
|
295
|
+
children: [
|
|
296
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.Edit, { className: "w-5 h-5" }),
|
|
297
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "hidden sm:inline font-semibold", children: "Editar" })
|
|
298
|
+
]
|
|
299
|
+
}
|
|
300
|
+
) }),
|
|
301
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
302
|
+
import_sheet.SheetContent,
|
|
303
|
+
{
|
|
304
|
+
side: "right",
|
|
305
|
+
showCloseButton: false,
|
|
306
|
+
className: "w-full sm:max-w-md md:max-w-2xl p-0 flex flex-col overflow-hidden bg-card",
|
|
307
|
+
children: [
|
|
308
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex items-center justify-between p-6 pb-2", children: [
|
|
309
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_sheet.SheetTitle, { className: "text-2xl font-bold text-foreground", children: "Editar" }),
|
|
310
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_sheet.SheetClose, { className: "rounded-full p-2 hover:bg-muted transition-colors opacity-70 hover:opacity-100", children: [
|
|
311
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.X, { className: "w-6 h-6 text-foreground" }),
|
|
312
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "sr-only", children: "Cerrar" })
|
|
313
|
+
] })
|
|
314
|
+
] }),
|
|
315
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "flex-1 overflow-y-auto px-6 pb-6 pt-2", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
316
|
+
import_resume_editor.ResumeEditor,
|
|
317
|
+
{
|
|
318
|
+
data: draftData,
|
|
319
|
+
onChange: setDraftData,
|
|
320
|
+
theme,
|
|
321
|
+
hideFields,
|
|
322
|
+
hideSections,
|
|
323
|
+
menuSlot
|
|
324
|
+
}
|
|
325
|
+
) }),
|
|
326
|
+
onSave && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: " p-4 flex justify-end gap-3", children: [
|
|
327
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_sheet.SheetClose, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_button.Button, { variant: "outline", children: "Cancelar" }) }),
|
|
328
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_button.Button, { onClick: handleSave, className: "gap-2", children: [
|
|
329
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.Save, { className: "w-4 h-4" }),
|
|
330
|
+
"Guardar"
|
|
331
|
+
] })
|
|
332
|
+
] })
|
|
333
|
+
]
|
|
334
|
+
}
|
|
335
|
+
)
|
|
336
|
+
] }),
|
|
337
|
+
withDownload && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
338
|
+
import_button.Button,
|
|
339
|
+
{
|
|
340
|
+
size: "lg",
|
|
341
|
+
variant: "ghost",
|
|
342
|
+
disabled: isDownloading,
|
|
343
|
+
onClick: handleDownload,
|
|
344
|
+
className: "shadow-xl rounded-full px-4 flex items-center gap-2 text-secondary text-purple-800 bg-purple-200",
|
|
345
|
+
children: [
|
|
346
|
+
isDownloading ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.Loader2, { className: "w-5 h-5 animate-spin" }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.Download, { className: "w-5 h-5" }),
|
|
347
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "hidden sm:inline font-semibold", children: isDownloading ? "Generando..." : "Descargar" })
|
|
348
|
+
]
|
|
349
|
+
}
|
|
350
|
+
)
|
|
351
|
+
] })
|
|
352
|
+
]
|
|
353
|
+
}
|
|
354
|
+
);
|
|
355
|
+
}
|
|
356
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
357
|
+
0 && (module.exports = {
|
|
358
|
+
Resume
|
|
359
|
+
});
|
|
360
|
+
//# sourceMappingURL=resume.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/domain/resume/resume.tsx"],"sourcesContent":["import { useRef, useState } from \"react\";\nimport html2canvas from \"html2canvas\";\nimport { jsPDF } from \"jspdf\";\nimport { CandidateProfile, ResumeProps, ResumeSavePayload, Action } from \"@/components/domain/resume/types\";\nimport { ResumeEditor } from \"@/components/domain/resume/resume-editor/resume-editor\";\nimport { ResumePreview } from \"@/components/domain/resume/resume-preview/resume-preview\";\nimport { Button } from \"@/components/ui/button\";\nimport { Download, Edit, Loader2, Save, X } from \"lucide-react\";\nimport { Sheet, SheetTrigger, SheetContent, SheetTitle, SheetClose } from \"@/components/ui/sheet\";\n\nfunction calculateDiffs(original: CandidateProfile, current: CandidateProfile): ResumeSavePayload {\n // Determine diff for candidate table (academic info etc)\n const candidateData: Partial<CandidateProfile> = {};\n if (original.student_education_institution_id !== current.student_education_institution_id) candidateData.student_education_institution_id = current.student_education_institution_id;\n if (original.education_institution_id !== current.education_institution_id) candidateData.education_institution_id = current.education_institution_id;\n if (original.program_name !== current.program_name) candidateData.program_name = current.program_name;\n if (JSON.stringify(original.preferences) !== JSON.stringify(current.preferences)) candidateData.preferences = current.preferences;\n if (JSON.stringify(original.advanced) !== JSON.stringify(current.advanced)) candidateData.advanced = current.advanced;\n\n // Determine diff for user table (personal info)\n const userData: Partial<CandidateProfile> = {};\n const userFields: (keyof CandidateProfile)[] = ['first_name', 'middle_name', 'last_name', 'second_last_name', 'phone_number', 'phone_number_2', 'email', 'city', 'address', 'postal_code', 'birth_date', 'photo_url'];\n userFields.forEach(field => {\n if (original[field] !== current[field]) {\n // @ts-expect-error - jspdf types are a bit funky\n userData[field] = current[field];\n }\n });\n\n // Helper for array diffs\n const calculateArrayDiff = (origArray: any[] = [], currArray: any[] = []) => {\n const changes: any[] = [];\n const origMap = new Map(origArray.map(item => [item.id, item]));\n\n currArray.forEach(currItem => {\n const origItem = origMap.get(currItem.id);\n if (!origItem) {\n // New item\n changes.push({ action: 'create' as Action, data: currItem });\n } else if (JSON.stringify(origItem) !== JSON.stringify(currItem)) {\n // Updated item\n changes.push({ action: 'update' as Action, data: currItem, id: currItem.id });\n }\n });\n\n const currMap = new Map(currArray.map(item => [item.id, item]));\n origArray.forEach(origItem => {\n if (!currMap.has(origItem.id)) {\n // Deleted item\n changes.push({ action: 'delete' as Action, id: origItem.id });\n }\n });\n\n return changes;\n };\n\n const experiencesDiff = [\n ...calculateArrayDiff(original.work_experience, current.work_experience),\n ...calculateArrayDiff(original.education, current.education),\n ...calculateArrayDiff(original.activities, current.activities)\n ];\n\n const hwOrig = original.skills?.hard || [];\n const hwCurr = current.skills?.hard || [];\n const swOrig = original.skills?.soft || [];\n const swCurr = current.skills?.soft || [];\n\n const skillsDiff = [\n ...calculateArrayDiff(hwOrig, hwCurr),\n ...calculateArrayDiff(swOrig, swCurr)\n ];\n\n return {\n candidate: {\n action: Object.keys(candidateData).length > 0 ? 'update' : 'none',\n data: candidateData\n },\n user: {\n action: Object.keys(userData).length > 0 ? 'update' : 'none',\n data: userData\n },\n curriculum: {\n action: original.summary !== current.summary ? 'update' : 'none',\n data: { summary: current.summary }\n },\n experiences: experiencesDiff,\n skills: skillsDiff,\n certifications: calculateArrayDiff(original.certifications, current.certifications)\n };\n}\n\nexport function Resume({\n data,\n editable = false,\n headerSlot,\n withDownload = false,\n theme = \"hsl(var(--secondary))\",\n hideFields = [],\n hideSections = [],\n menuSlot = [],\n onSave,\n}: ResumeProps) {\n const themeStyle = theme ? { \"--cv-theme\": theme } as React.CSSProperties : undefined;\n const [draftData, setDraftData] = useState<CandidateProfile>(data);\n const [isOpen, setIsOpen] = useState(false);\n const [isDownloading, setIsDownloading] = useState(false);\n const previewRef = useRef<HTMLDivElement>(null);\n\n const handleOpenChange = (open: boolean) => {\n if (open) {\n setDraftData(data);\n }\n setIsOpen(open);\n };\n\n const handleSave = () => {\n if (onSave) {\n const payload = calculateDiffs(data, draftData);\n onSave(payload, draftData);\n }\n setIsOpen(false);\n };\n\n const handleDownload = async () => {\n if (!previewRef.current || isDownloading) return;\n setIsDownloading(true);\n\n try {\n const element = previewRef.current;\n const canvas = await html2canvas(element, {\n scale: 2,\n useCORS: true,\n backgroundColor: \"#ffffff\",\n logging: false,\n windowWidth: 1200, // Force desktop layout breakpoint\n onclone: (clonedDoc) => {\n const clonedElement = clonedDoc.getElementById(\"resume-capture-area\");\n if (clonedElement instanceof HTMLElement) {\n clonedElement.style.height = \"auto\";\n clonedElement.style.overflow = \"visible\";\n clonedElement.style.width = \"1200px\";\n\n // Fix for images with object-fit: cover not being respected by html2canvas\n const objectCoverImages = clonedElement.querySelectorAll(\"img.object-cover\");\n objectCoverImages.forEach((img) => {\n if (img instanceof HTMLImageElement) {\n const parent = img.parentElement;\n if (parent) {\n // Replace img with a div that has background-image: cover\n const div = clonedDoc.createElement(\"div\");\n div.style.width = \"100%\";\n div.style.height = \"100%\";\n div.style.backgroundImage = `url(${img.src})`;\n div.style.backgroundSize = \"cover\";\n div.style.backgroundPosition = \"center\";\n div.style.borderRadius = window.getComputedStyle(img).borderRadius;\n div.className = img.className;\n parent.style.marginTop = \"1rem\"\n parent.replaceChild(div, img);\n }\n }\n });\n\n // Hide elements marked as hidden for PDF\n const hiddenElements = clonedElement.querySelectorAll(\".pdf-hidden\");\n hiddenElements.forEach((el) => {\n if (el instanceof HTMLElement) {\n el.style.display = \"none\";\n }\n });\n\n // Fix SVG vertical alignment for html2canvas\n // html2canvas doesn't properly handle flex align-items with SVGs\n const svgs = clonedElement.querySelectorAll(\"svg\");\n svgs.forEach((svg) => {\n svg.style.display = \"inline-block\";\n svg.style.verticalAlign = \"middle\";\n svg.style.flexShrink = \"0\";\n svg.style.marginRight = \"0.4rem\";\n svg.style.marginBottom = \"-1.2rem\";\n });\n\n // Fix line-clamp which causes text vertical cut-offs in html2canvas\n const clampElements = clonedElement.querySelectorAll(\".line-clamp-1, .line-clamp-2, .line-clamp-3\");\n clampElements.forEach((el) => {\n if (el instanceof HTMLElement) {\n el.style.display = \"block\";\n el.style.webkitLineClamp = \"unset\";\n el.style.webkitBoxOrient = \"unset\";\n el.style.overflow = \"visible\";\n el.style.whiteSpace = \"normal\";\n el.style.lineHeight = \"1.5\";\n }\n });\n\n // Replace generic HTML elements like custom badges with simple spans\n // because html2canvas struggles with flexbox and strict borders inside round pills\n const badges = clonedElement.querySelectorAll(\".pdf-badge\");\n badges.forEach((el) => {\n if (el instanceof HTMLElement) {\n el.style.paddingTop = \"-10px\"\n el.style.display = \"block\";\n el.style.paddingTop = \"0px\";\n el.style.paddingBottom = \"0.8rem\";\n }\n });\n\n // Fix headers with bottom borders losing padding/margin\n const headersWithBorders = clonedElement.querySelectorAll(\"h1, h2, h3, h4\");\n headersWithBorders.forEach((el) => {\n if (el instanceof HTMLElement) {\n const hasBorder = el.className.includes(\"border-b\") || el.style.borderBottomWidth !== \"\";\n if (hasBorder) {\n el.style.paddingBottom = \"1.2rem\";\n }\n }\n });\n\n // Add margin top to pdf-line-v elements\n const verticalLines = clonedElement.querySelectorAll(\".pdf-line-v\");\n verticalLines.forEach((el) => {\n if (el instanceof HTMLElement) {\n el.style.marginTop = \"0.5rem\";\n el.style.zIndex = \"5\"\n }\n });\n\n // Add margin bottom to initials in header for better alignment in PDF\n const headerInitials = clonedElement.querySelectorAll(\".pdf-header-initials\");\n headerInitials.forEach((el) => {\n if (el instanceof HTMLElement) {\n el.style.paddingBottom = \"2rem\";\n }\n });\n\n // Add styles to summary for PDF\n const summaries = clonedElement.querySelectorAll(\".pdf-summary\");\n summaries.forEach((el) => {\n if (el instanceof HTMLElement) {\n el.style.width = \"100%\";\n el.style.maxWidth = \"100%\";\n el.style.marginTop = \"1.5rem\";\n }\n });\n\n // Show footer in PDF and force grayscale for the logo\n const pdfFooters = clonedElement.querySelectorAll(\".pdf-footer\");\n pdfFooters.forEach((el) => {\n if (el instanceof HTMLElement) {\n el.style.display = \"flex\";\n }\n });\n\n // Also make sure parent containers don't restrict height\n let parent = clonedElement.parentElement;\n while (parent) {\n parent.style.height = \"auto\";\n parent.style.overflow = \"visible\";\n parent = parent.parentElement;\n }\n }\n }\n });\n\n const imgData = canvas.toDataURL(\"image/jpeg\", 1);\n const imgWidthPx = canvas.width;\n const imgHeightPx = canvas.height;\n\n // Convert px to mm (at 96 DPI base * scale factor)\n const pxToMm = 25.4 / (96 * 2);\n const pdfWidth = imgWidthPx * pxToMm;\n const pdfHeight = imgHeightPx * pxToMm;\n\n const pdf = new jsPDF({\n orientation: pdfWidth > pdfHeight ? \"landscape\" : \"portrait\",\n unit: \"mm\",\n format: [pdfWidth, pdfHeight],\n });\n\n pdf.addImage(imgData, \"JPEG\", 0, 0, pdfWidth, pdfHeight, undefined, 'FAST');\n\n const fileName = `CV_${data.first_name}_${data.last_name}`.replace(/\\s+/g, \"_\");\n pdf.save(`${fileName}.pdf`);\n } catch (error) {\n console.error(\"Error generating PDF:\", error);\n } finally {\n setIsDownloading(false);\n }\n };\n\n return (\n <div\n className=\"relative w-full h-full bg-muted/20 py-8 px-4 sm:px-8 overflow-y-auto\"\n style={themeStyle}\n >\n {/* Preview Panel - Takes full width, centered like a document */}\n <div className=\"w-full max-w-5xl mx-auto h-full\">\n <ResumePreview\n ref={previewRef}\n data={draftData}\n headerSlot={headerSlot}\n theme={theme}\n hideFields={hideFields}\n hideSections={hideSections}\n />\n </div>\n\n {/* Floating Action Buttons */}\n <div className=\"fixed bottom-6 right-6 z-50 flex flex-col sm:flex-row gap-3\">\n {editable && (\n <Sheet open={isOpen} onOpenChange={handleOpenChange}>\n <SheetTrigger asChild>\n <Button\n size=\"lg\"\n className=\"shadow-xl rounded-full px-4 flex items-center gap-2 bg-primary text-primary-foreground hover:bg-primary/90\"\n >\n <Edit className=\"w-5 h-5\" />\n <span className=\"hidden sm:inline font-semibold\">Editar</span>\n </Button>\n </SheetTrigger>\n {/* Drawer opens from the right side, taking good width */}\n <SheetContent\n side=\"right\"\n showCloseButton={false}\n className=\"w-full sm:max-w-md md:max-w-2xl p-0 flex flex-col overflow-hidden bg-card\"\n >\n {/* Header */}\n <div className=\"flex items-center justify-between p-6 pb-2\">\n <SheetTitle className=\"text-2xl font-bold text-foreground\">Editar</SheetTitle>\n <SheetClose className=\"rounded-full p-2 hover:bg-muted transition-colors opacity-70 hover:opacity-100\">\n <X className=\"w-6 h-6 text-foreground\" />\n <span className=\"sr-only\">Cerrar</span>\n </SheetClose>\n </div>\n\n {/* Scrollable editor content */}\n <div className=\"flex-1 overflow-y-auto px-6 pb-6 pt-2\">\n <ResumeEditor\n data={draftData}\n onChange={setDraftData}\n theme={theme}\n hideFields={hideFields}\n hideSections={hideSections}\n menuSlot={menuSlot}\n />\n </div>\n\n {/* Sticky save footer */}\n {onSave && (\n <div className=\" p-4 flex justify-end gap-3\">\n <SheetClose asChild>\n <Button variant=\"outline\">Cancelar</Button>\n </SheetClose>\n <Button onClick={handleSave} className=\"gap-2\">\n <Save className=\"w-4 h-4\" />\n Guardar\n </Button>\n </div>\n )}\n </SheetContent>\n </Sheet>\n )}\n\n {withDownload && (\n <Button\n size=\"lg\"\n variant=\"ghost\"\n disabled={isDownloading}\n onClick={handleDownload}\n className=\"shadow-xl rounded-full px-4 flex items-center gap-2 text-secondary text-purple-800 bg-purple-200\"\n >\n {isDownloading ? (\n <Loader2 className=\"w-5 h-5 animate-spin\" />\n ) : (\n <Download className=\"w-5 h-5\" />\n )}\n <span className=\"hidden sm:inline font-semibold\">\n {isDownloading ? \"Generando...\" : \"Descargar\"}\n </span>\n </Button>\n )}\n </div>\n </div>\n );\n}\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAySgB;AAzShB,mBAAiC;AACjC,yBAAwB;AACxB,mBAAsB;AAEtB,2BAA6B;AAC7B,4BAA8B;AAC9B,oBAAuB;AACvB,0BAAiD;AACjD,mBAA0E;AAE1E,SAAS,eAAe,UAA4B,SAA8C;AAE9F,QAAM,gBAA2C,CAAC;AAClD,MAAI,SAAS,qCAAqC,QAAQ,iCAAkC,eAAc,mCAAmC,QAAQ;AACrJ,MAAI,SAAS,6BAA6B,QAAQ,yBAA0B,eAAc,2BAA2B,QAAQ;AAC7H,MAAI,SAAS,iBAAiB,QAAQ,aAAc,eAAc,eAAe,QAAQ;AACzF,MAAI,KAAK,UAAU,SAAS,WAAW,MAAM,KAAK,UAAU,QAAQ,WAAW,EAAG,eAAc,cAAc,QAAQ;AACtH,MAAI,KAAK,UAAU,SAAS,QAAQ,MAAM,KAAK,UAAU,QAAQ,QAAQ,EAAG,eAAc,WAAW,QAAQ;AAG7G,QAAM,WAAsC,CAAC;AAC7C,QAAM,aAAyC,CAAC,cAAc,eAAe,aAAa,oBAAoB,gBAAgB,kBAAkB,SAAS,QAAQ,WAAW,eAAe,cAAc,WAAW;AACpN,aAAW,QAAQ,WAAS;AACxB,QAAI,SAAS,KAAK,MAAM,QAAQ,KAAK,GAAG;AAEpC,eAAS,KAAK,IAAI,QAAQ,KAAK;AA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A,UAGH,gBACG;AAAA,YAAC;AAAA;AAAA,cACG,MAAK;AAAA,cACL,SAAQ;AAAA,cACR,UAAU;AAAA,cACV,SAAS;AAAA,cACT,WAAU;AAAA,cAET;AAAA,gCACG,4CAAC,+BAAQ,WAAU,wBAAuB,IAE1C,4CAAC,gCAAS,WAAU,WAAU;AAAA,gBAElC,4CAAC,UAAK,WAAU,kCACX,0BAAgB,iBAAiB,aACtC;AAAA;AAAA;AAAA,UACJ;AAAA,WAER;AAAA;AAAA;AAAA,EACJ;AAER;","names":["html2canvas","parent"]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ResumeProps } from './types.cjs';
|
|
3
|
+
import 'react';
|
|
4
|
+
|
|
5
|
+
declare function Resume({ data, editable, headerSlot, withDownload, theme, hideFields, hideSections, menuSlot, onSave, }: ResumeProps): react_jsx_runtime.JSX.Element;
|
|
6
|
+
|
|
7
|
+
export { Resume };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ResumeProps } from './types.js';
|
|
3
|
+
import 'react';
|
|
4
|
+
|
|
5
|
+
declare function Resume({ data, editable, headerSlot, withDownload, theme, hideFields, hideSections, menuSlot, onSave, }: ResumeProps): react_jsx_runtime.JSX.Element;
|
|
6
|
+
|
|
7
|
+
export { Resume };
|