udp-schema 2.15.0 → 2.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"08-neurodiversity.js","sourceRoot":"","sources":["../../src/profile-fields/08-neurodiversity.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,+EAA+E;AAE/E,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC;QACE,KAAK,EAAE,eAAe;QACtB,KAAK,EAAE,0BAA0B;QACjC,WAAW,EAAE,kDAAkD;KAChE;IACD;QACE,KAAK,EAAE,qBAAqB;QAC5B,KAAK,EAAE,uBAAuB;QAC9B,WAAW,EAAE,qDAAqD;KACnE;IACD;QACE,KAAK,EAAE,WAAW;QAClB,KAAK,EAAE,qBAAqB;QAC5B,WAAW,EAAE,qDAAqD;KACnE;IACD;QACE,KAAK,EAAE,iBAAiB;QACxB,KAAK,EAAE,mBAAmB;QAC1B,WAAW,EAAE,kCAAkC;KAChD;IACD,EAAE,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,mBAAmB,EAAE;CAClD,CAAC;AAEX,+EAA+E;AAE/E,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,0CAA0C,EAAE;IAC/F;QACE,KAAK,EAAE,iBAAiB;QACxB,KAAK,EAAE,6BAA6B;QACpC,WAAW,EAAE,2BAA2B;KACzC;IACD;QACE,KAAK,EAAE,UAAU;QACjB,KAAK,EAAE,UAAU;QACjB,WAAW,EAAE,6CAA6C;KAC3D;IACD;QACE,KAAK,EAAE,WAAW;QAClB,KAAK,EAAE,iBAAiB;QACxB,WAAW,EAAE,0DAA0D;KACxE;IACD,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,kCAAkC,EAAE;IAC/F;QACE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YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,2BAA2B,CAAC;YACzC,aAAa,EAAE,EAAE,KAAK,EAAE,sBAAsB,EAAE,KAAK,EAAE,aAAa,EAAE;SACvE;QACD;YACE,KAAK,EAAE,EAAE;YACT,GAAG,EAAE,mBAAmB;YACxB,KAAK,EAAE,mBAAmB;YAC1B,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,qBAAqB,CAAC;YACnC,aAAa,EAAE,EAAE,KAAK,EAAE,sBAAsB,EAAE,KAAK,EAAE,aAAa,EAAE;SACvE;QACD;YACE,KAAK,EAAE,EAAE;YACT,GAAG,EAAE,cAAc;YACnB,KAAK,EAAE,sBAAsB;YAC7B,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,mBAAmB,CAAC;YACjC,aAAa,EAAE,EAAE,KAAK,EAAE,sBAAsB,EAAE,KAAK,EAAE,aAAa,EAAE;SACvE;KACF;CACF,CAAC","sourcesContent":["import type { FieldGroup } from './types.js';\n\n/**\n * Step 8 — Neurodiversity (rebuilt 2026-04)\n *\n * Exhaustive coverage of the neurodiversity profile across 11 sub-steps:\n * 1. Identity (including diagnosis status)\n * 2. Specific ND conditions\n * 3. Age of realization / diagnosis\n * 4. Sensory profile (hyper/hypo per sense + seeking + overwhelm)\n * 5. Cognitive strengths (ND-associated gifts)\n * 6. Executive function challenges\n * 7. Learning style\n * 8. Communication preference\n * 9. Support & accommodations that help\n * 10. Masking & burnout\n * 11. Impact on daily life\n *\n * Conditional sub-steps (2, 3, 4, 5, 6, 9, 10, 11) are shown unless the\n * respondent selects `no_neurotypical` or `prefer_not_to_say` for identity.\n * Steps 7 and 8 (learningStyle, communicationPreference) are shown for\n * everyone since they're useful profile data regardless of ND identity.\n */\n\n// ─── 1. Identity ────────────────────────────────────────────────────────────\n\nexport const neurodiverseIdentityOptions = [\n {\n value: 'yes_diagnosed',\n label: 'Yes — formally diagnosed',\n description: 'Clinically diagnosed by a qualified professional',\n },\n {\n value: 'yes_self_identified',\n label: 'Yes — self-identified',\n description: 'Identify as neurodivergent without formal diagnosis',\n },\n {\n value: 'exploring',\n label: 'Exploring / suspect',\n description: \"Not sure yet — exploring whether I'm neurodivergent\",\n },\n {\n value: 'no_neurotypical',\n label: 'No — neurotypical',\n description: \"Don't identify as neurodivergent\",\n },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\n// ─── 2. Specific ND conditions ──────────────────────────────────────────────\n\nexport const neurodiversityConditionOptions = [\n { value: 'adhd', label: 'ADHD / ADD', description: 'Attention Deficit Hyperactivity Disorder' },\n {\n value: 'autism_spectrum',\n label: 'Autism Spectrum (ASC / ASD)',\n description: 'Autism Spectrum Condition',\n },\n {\n value: 'dyslexia',\n label: 'Dyslexia',\n description: 'Reading and language-processing differences',\n },\n {\n value: 'dyspraxia',\n label: 'Dyspraxia / DCD',\n description: 'Developmental Coordination Disorder — motor coordination',\n },\n { value: 'dyscalculia', label: 'Dyscalculia', description: 'Difficulty with numbers and math' },\n {\n value: 'dysgraphia',\n label: 'Dysgraphia',\n description: 'Difficulty with writing / fine motor for writing',\n },\n {\n value: 'tourettes',\n label: \"Tourette's / Tic Disorder\",\n description: 'Involuntary tics and movements',\n },\n { value: 'ocd', label: 'OCD', description: 'Obsessive-Compulsive Disorder' },\n {\n value: 'bipolar',\n label: 'Bipolar Disorder',\n description: 'Mood episodes between mania and depression',\n },\n {\n value: 'anxiety_disorder',\n label: 'Anxiety Disorder',\n description: 'Persistent excessive worry',\n },\n {\n value: 'depression_mood',\n label: 'Depression / Mood Disorder',\n description: 'Clinical depression or mood disorders',\n },\n {\n value: 'ptsd',\n label: 'PTSD / C-PTSD',\n description: 'Post-traumatic stress (including complex)',\n },\n {\n value: 'sensory_processing',\n label: 'Sensory Processing Disorder',\n description: 'Difficulty processing sensory information',\n },\n {\n value: 'auditory_processing',\n label: 'Auditory Processing Disorder',\n description: 'Difficulty processing sounds despite normal hearing',\n },\n {\n value: 'visual_processing',\n label: 'Visual Processing Disorder',\n description: 'Difficulty processing visual information',\n },\n {\n value: 'giftedness_2e',\n label: 'Giftedness / Twice-Exceptional (2e)',\n description: 'High cognitive ability, often with ND',\n },\n {\n value: 'specific_language_impairment',\n label: 'Specific Language Impairment',\n description: 'Language development differences',\n },\n { value: 'stuttering', label: 'Stuttering / Speech Disorder' },\n { value: 'schizophrenia', label: 'Schizophrenia / Schizoaffective' },\n {\n value: 'eating_disorder',\n label: 'Eating Disorder',\n description: 'Anorexia, bulimia, binge, ARFID, etc.',\n },\n { value: 'bpd', label: 'Borderline Personality (BPD)' },\n { value: 'intellectual_disability', label: 'Intellectual Disability' },\n { value: 'other', label: 'Other' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\n// ─── 3. Age of realization / diagnosis ──────────────────────────────────────\n\nexport const ageOfRealizationOptions = [\n { value: 'childhood', label: 'Childhood (before 13)' },\n { value: 'teen', label: 'Teen years (13–18)' },\n { value: 'young_adult', label: 'Young adult (19–30)' },\n { value: 'adult', label: 'Adult (31–50)' },\n { value: 'later_life', label: 'Later in life (50+)' },\n { value: 'still_exploring', label: 'Still exploring' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\n// ─── 4. Sensory profile ─────────────────────────────────────────────────────\n\nexport const sensoryProfileOptions = [\n { value: 'hyper_sound', label: 'Hypersensitive to sound' },\n { value: 'hypo_sound', label: 'Hyposensitive to sound' },\n { value: 'hyper_light', label: 'Hypersensitive to light' },\n { value: 'hypo_light', label: 'Hyposensitive to light' },\n { value: 'hyper_touch', label: 'Hypersensitive to touch / textures' },\n { value: 'hypo_touch', label: 'Hyposensitive to touch' },\n { value: 'hyper_smell', label: 'Hypersensitive to smells' },\n { value: 'hypo_smell', label: 'Hyposensitive to smells' },\n { value: 'hyper_taste', label: 'Hypersensitive to taste' },\n { value: 'hypo_taste', label: 'Hyposensitive to taste' },\n { value: 'seeks_stimulation', label: 'Seeks sensory stimulation' },\n { value: 'sensory_overwhelm', label: 'Sensory overwhelm / shutdown' },\n { value: 'none', label: 'No specific sensitivities' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\n// ─── 5. Cognitive strengths ─────────────────────────────────────────────────\n\nexport const cognitiveStrengthOptions = [\n { value: 'hyperfocus', label: 'Hyperfocus on interests' },\n { value: 'pattern_recognition', label: 'Pattern recognition' },\n { value: 'creative_thinking', label: 'Creative / divergent thinking' },\n { value: 'attention_to_detail', label: 'Attention to detail' },\n { value: 'systems_thinking', label: 'Systems thinking' },\n { value: 'big_picture', label: 'Big-picture thinking' },\n { value: 'visual_spatial', label: 'Visual-spatial skills' },\n { value: 'specialized_memory', label: 'Specialized / topic memory' },\n { value: 'problem_solving', label: 'Problem-solving' },\n { value: 'empathy', label: 'Empathy / emotional insight' },\n { value: 'passionate_curiosity', label: 'Passionate curiosity' },\n { value: 'directness_honesty', label: 'Honesty / directness' },\n { value: 'persistence', label: 'Persistence' },\n { value: 'none_unsure', label: 'None / unsure' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\n// ─── 6. Executive function challenges ───────────────────────────────────────\n\nexport const executiveFunctionChallengeOptions = [\n { value: 'planning_organization', label: 'Planning / organization' },\n { value: 'time_management', label: 'Time management / time blindness' },\n { value: 'task_initiation', label: 'Task initiation (getting started)' },\n { value: 'task_switching', label: 'Task switching / transitions' },\n { value: 'working_memory', label: 'Working memory' },\n { value: 'emotional_regulation', label: 'Emotional regulation' },\n { value: 'impulse_control', label: 'Impulse control' },\n { value: 'focus_attention', label: 'Focus / sustaining attention' },\n { value: 'prioritization', label: 'Prioritization' },\n { value: 'decision_fatigue', label: 'Decision-making / decision fatigue' },\n { value: 'self_motivation', label: 'Self-motivation' },\n { value: 'sleep_regulation', label: 'Sleep regulation' },\n { value: 'none', label: 'No significant challenges' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\n// ─── 7. Learning style ──────────────────────────────────────────────────────\n\nexport const learningStyleOptions = [\n { value: 'visual', label: 'Visual learner' },\n { value: 'auditory', label: 'Auditory learner' },\n { value: 'kinesthetic', label: 'Kinesthetic / hands-on' },\n { value: 'reading_writing', label: 'Reading & writing' },\n { value: 'multimodal', label: 'Multimodal (combination)' },\n { value: 'needs_repetition', label: 'Needs repetition' },\n { value: 'needs_structure', label: 'Learns best with structure' },\n { value: 'prefers_autonomy', label: 'Learns best with autonomy' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\n// ─── 8. Communication preference ────────────────────────────────────────────\n\nexport const communicationPreferenceOptions = [\n { value: 'face_to_face', label: 'Face-to-face verbal' },\n { value: 'written', label: 'Written (text / email / chat)' },\n { value: 'phone', label: 'Phone calls' },\n { value: 'video', label: 'Video calls' },\n { value: 'small_groups', label: 'Small groups only' },\n { value: 'one_on_one', label: 'One-on-one' },\n { value: 'visual_aids', label: 'With visual aids' },\n { value: 'async', label: 'Async over synchronous' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\n// ─── 9. Support & accommodations ────────────────────────────────────────────\n\nexport const supportAccommodationOptions = [\n { value: 'flexible_schedule', label: 'Flexible schedule / deadlines' },\n { value: 'written_instructions', label: 'Written instructions' },\n { value: 'quiet_workspace', label: 'Quiet workspace' },\n { value: 'regular_breaks', label: 'Regular breaks' },\n { value: 'body_doubling', label: 'Body-doubling / co-working' },\n { value: 'assistive_tech', label: 'Assistive technology' },\n { value: 'noise_cancelling', label: 'Noise-cancelling headphones' },\n { value: 'fidget_tools', label: 'Fidget tools / sensory items' },\n { value: 'structured_routines', label: 'Structured routines' },\n { value: 'clear_expectations', label: 'Clear expectations' },\n { value: 'visual_schedules', label: 'Visual schedules / checklists' },\n { value: 'therapy', label: 'Professional therapy / counseling' },\n { value: 'medication', label: 'Medication' },\n { value: 'peer_support', label: 'Peer support groups' },\n { value: 'coaching', label: 'ADHD / ASD coaching' },\n { value: 'family_support', label: 'Family / caregiver support' },\n { value: 'none', label: 'No specific support needed' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\n// ─── 10. Masking & burnout ──────────────────────────────────────────────────\n\nexport const maskingBurnoutOptions = [\n {\n value: 'frequently',\n label: 'Frequently — leads to burnout',\n description: 'Mask most of the time; often experience burnout',\n },\n { value: 'sometimes', label: 'Sometimes', description: 'Mask in certain settings' },\n { value: 'rarely', label: 'Rarely' },\n { value: 'never', label: 'Never' },\n { value: 'not_sure', label: 'Not sure what this means' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\n// ─── 11. Impact on daily life ───────────────────────────────────────────────\n\nexport const impactOnLifeOptions = [\n {\n value: 'significant',\n label: 'Significant impact',\n description: 'Need daily support to function',\n },\n {\n value: 'moderate',\n label: 'Moderate impact',\n description: 'Some support helps me thrive',\n },\n { value: 'mild', label: 'Mild impact', description: 'Manageable with awareness' },\n { value: 'minimal', label: 'Minimal / no noticeable impact' },\n { value: 'varies', label: 'Varies day to day' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\n// ─── Field Group ────────────────────────────────────────────────────────────\n\nconst IDENTITY_SKIP = ['no_neurotypical', 'prefer_not_to_say']; // conditional hide list\n\nexport const neurodiversity: FieldGroup = {\n key: 'neurodiversity',\n label: 'Neurodiversity',\n step: 8,\n description:\n 'Neurodivergent identity, sensory profile, cognitive strengths, executive function, and support needs.',\n fields: [\n {\n order: 1,\n key: 'neurodiverseIdentity',\n label: 'Neurodivergent Identity',\n type: 'single_select',\n step: 8,\n isOnboarding: true,\n optional: true,\n options: [...neurodiverseIdentityOptions],\n },\n {\n order: 2,\n key: 'conditions',\n label: 'Specific Conditions',\n type: 'multi_select',\n step: 8,\n isOnboarding: true,\n optional: true,\n options: [...neurodiversityConditionOptions],\n conditionalOn: { field: 'neurodiverseIdentity', notIn: IDENTITY_SKIP },\n },\n {\n order: 3,\n key: 'ageOfRealization',\n label: 'Age of Realization',\n type: 'single_select',\n step: 8,\n isOnboarding: true,\n optional: true,\n options: [...ageOfRealizationOptions],\n conditionalOn: { field: 'neurodiverseIdentity', notIn: IDENTITY_SKIP },\n },\n {\n order: 4,\n key: 'sensoryProfile',\n label: 'Sensory Profile',\n type: 'multi_select',\n step: 8,\n isOnboarding: true,\n optional: true,\n options: [...sensoryProfileOptions],\n conditionalOn: { field: 'neurodiverseIdentity', notIn: IDENTITY_SKIP },\n },\n {\n order: 5,\n key: 'cognitiveStrengths',\n label: 'Cognitive Strengths',\n type: 'multi_select',\n step: 8,\n isOnboarding: true,\n optional: true,\n options: [...cognitiveStrengthOptions],\n conditionalOn: { field: 'neurodiverseIdentity', notIn: IDENTITY_SKIP },\n },\n {\n order: 6,\n key: 'executiveFunctionChallenges',\n label: 'Executive Function Challenges',\n type: 'multi_select',\n step: 8,\n isOnboarding: true,\n optional: true,\n options: [...executiveFunctionChallengeOptions],\n conditionalOn: { field: 'neurodiverseIdentity', notIn: IDENTITY_SKIP },\n },\n {\n order: 7,\n key: 'learningStyle',\n label: 'Learning Style',\n type: 'single_select',\n step: 8,\n isOnboarding: true,\n optional: true,\n options: [...learningStyleOptions],\n },\n {\n order: 8,\n key: 'communicationPreference',\n label: 'Communication Preference',\n type: 'single_select',\n step: 8,\n isOnboarding: true,\n optional: true,\n options: [...communicationPreferenceOptions],\n },\n {\n order: 9,\n key: 'supportAndAccommodations',\n label: 'Support & Accommodations',\n type: 'multi_select',\n step: 8,\n isOnboarding: true,\n optional: true,\n options: [...supportAccommodationOptions],\n conditionalOn: { field: 'neurodiverseIdentity', notIn: IDENTITY_SKIP },\n },\n {\n order: 10,\n key: 'maskingAndBurnout',\n label: 'Masking & Burnout',\n type: 'single_select',\n step: 8,\n isOnboarding: true,\n optional: true,\n options: [...maskingBurnoutOptions],\n conditionalOn: { field: 'neurodiverseIdentity', notIn: IDENTITY_SKIP },\n },\n {\n order: 11,\n key: 'impactOnLife',\n label: 'Impact on Daily Life',\n type: 'single_select',\n step: 8,\n isOnboarding: true,\n optional: true,\n options: [...impactOnLifeOptions],\n conditionalOn: { field: 'neurodiverseIdentity', notIn: IDENTITY_SKIP },\n },\n ],\n};\n"]}
1
+ {"version":3,"file":"08-neurodiversity.js","sourceRoot":"","sources":["../../src/profile-fields/08-neurodiversity.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,+EAA+E;AAE/E,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC;QACE,KAAK,EAAE,eAAe;QACtB,KAAK,EAAE,0BAA0B;QACjC,WAAW,EAAE,kDAAkD;KAChE;IACD;QACE,KAAK,EAAE,qBAAqB;QAC5B,KAAK,EAAE,uBAAuB;QAC9B,WAAW,EAAE,qDAAqD;KACnE;IACD;QACE,KAAK,EAAE,WAAW;QAClB,KAAK,EAAE,qBAAqB;QAC5B,WAAW,EAAE,qDAAqD;KACnE;IACD;QACE,KAAK,EAAE,iBAAiB;QACxB,KAAK,EAAE,mBAAmB;QAC1B,WAAW,EAAE,kCAAkC;KAChD;IACD,EAAE,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,mBAAmB,EAAE;CAClD,CAAC;AAEX,+EAA+E;AAE/E,MAAM,CAAC,MAAM,kCAAkC,GAAG;IAChD;QACE,KAAK,EAAE,MAAM;QACb,KAAK,EAAE,iDAAiD;QACxD,WAAW,EAAE,+FAA+F;KAC7G;IACD;QACE,KAAK,EAAE,QAAQ;QACf,KAAK,EAAE,uCAAuC;QAC9C,WAAW,EAAE,mFAAmF;KACjG;IACD;QACE,KAAK,EAAE,UAAU;QACjB,KAAK,EAAE,0CAA0C;QACjD,WAAW,EAAE,wFAAwF;KACtG;IACD;QACE,KAAK,EAAE,aAAa;QACpB,KAAK,EAAE,uCAAuC;QAC9C,WAAW,EAA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BAA0B;YACjC,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,8BAA8B,CAAC;SAC7C;QACD;YACE,KAAK,EAAE,EAAE;YACT,GAAG,EAAE,0BAA0B;YAC/B,KAAK,EAAE,0BAA0B;YACjC,IAAI,EAAE,cAAc;YACpB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,2BAA2B,CAAC;YACzC,aAAa,EAAE,EAAE,KAAK,EAAE,sBAAsB,EAAE,KAAK,EAAE,OAAO,EAAE;SACjE;QACD;YACE,KAAK,EAAE,EAAE;YACT,GAAG,EAAE,mBAAmB;YACxB,KAAK,EAAE,mBAAmB;YAC1B,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,qBAAqB,CAAC;YACnC,aAAa,EAAE,EAAE,KAAK,EAAE,sBAAsB,EAAE,KAAK,EAAE,OAAO,EAAE;SACjE;QACD;YACE,KAAK,EAAE,EAAE;YACT,GAAG,EAAE,cAAc;YACnB,KAAK,EAAE,sBAAsB;YAC7B,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,mBAAmB,CAAC;YACjC,aAAa,EAAE,EAAE,KAAK,EAAE,sBAAsB,EAAE,KAAK,EAAE,OAAO,EAAE;SACjE;KACF;CACF,CAAC","sourcesContent":["import type { FieldGroup } from './types.js';\n\n/**\n * Step 8 — Mental Health & Neurodiversity (restructured 2026-04)\n *\n * 14 sub-steps covering:\n * 1. neurodiverseIdentity (diagnosis status)\n * 2. neurodevelopmentalConditions (core ND — conditional on ND identity)\n * 3. mentalHealthConditions (mood, anxiety, trauma, OCD-spectrum, eating, psychotic — shown to everyone)\n * 4. personalityPatterns (DSM-5 Cluster A/B/C — shown to everyone)\n * 5. neurologicalChronicConditions (comorbid neurological/chronic — shown to everyone)\n * 6. ageOfRealization\n * 7. sensoryProfile\n * 8. cognitiveStrengths\n * 9. executiveFunctionChallenges\n * 10. learningStyle\n * 11. communicationPreference\n * 12. supportAndAccommodations\n * 13. maskingAndBurnout\n * 14. impactOnLife\n *\n * Condition lists are DSM-5-TR (2022) aligned with person-first, non-pathologizing\n * language. Each option has a full descriptive name (not just an acronym) and a\n * description explaining what it means — both translatable via i18n.\n */\n\n// ─── 1. Identity ────────────────────────────────────────────────────────────\n\nexport const neurodiverseIdentityOptions = [\n {\n value: 'yes_diagnosed',\n label: 'Yes — formally diagnosed',\n description: 'Clinically diagnosed by a qualified professional',\n },\n {\n value: 'yes_self_identified',\n label: 'Yes — self-identified',\n description: 'Identify as neurodivergent without formal diagnosis',\n },\n {\n value: 'exploring',\n label: 'Exploring / suspect',\n description: \"Not sure yet — exploring whether I'm neurodivergent\",\n },\n {\n value: 'no_neurotypical',\n label: 'No — neurotypical',\n description: \"Don't identify as neurodivergent\",\n },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\n// ─── 2. Neurodevelopmental Conditions (DSM-5 Neurodevelopmental Disorders) ──\n\nexport const neurodevelopmentalConditionOptions = [\n {\n value: 'adhd',\n label: 'ADHD — Attention Deficit Hyperactivity Disorder',\n description: 'Inattentive, hyperactive, or combined type — affects focus, impulse control, and organization',\n },\n {\n value: 'autism',\n label: 'Autism Spectrum Condition (ASC / ASD)',\n description: 'Differences in social communication, sensory processing, and patterns of behavior',\n },\n {\n value: 'dyslexia',\n label: 'Dyslexia — Reading & Language Processing',\n description: 'Difficulty with reading, spelling, and language decoding despite adequate intelligence',\n },\n {\n value: 'dyscalculia',\n label: 'Dyscalculia — Mathematical Processing',\n description: 'Difficulty with numbers, arithmetic, and mathematical reasoning',\n },\n {\n value: 'dysgraphia',\n label: 'Dysgraphia — Writing & Fine Motor',\n description: 'Difficulty with handwriting, spelling, and organizing written thoughts',\n },\n {\n value: 'dyspraxia_dcd',\n label: 'Dyspraxia / DCD — Developmental Coordination Disorder',\n description: 'Difficulty with motor coordination, planning movements, and spatial awareness',\n },\n {\n value: 'tourettes_tics',\n label: \"Tourette's Syndrome / Tic Disorder\",\n description: 'Involuntary repetitive movements or vocalizations (motor and/or vocal tics)',\n },\n {\n value: 'speech_sound',\n label: 'Speech Sound Disorder',\n description: 'Difficulty producing speech sounds correctly — affects pronunciation and clarity',\n },\n {\n value: 'stuttering',\n label: 'Stuttering / Fluency Disorder',\n description: 'Disruptions in the flow of speech — repetitions, prolongations, or blocks',\n },\n {\n value: 'language_disorder',\n label: 'Language Disorder',\n description: 'Difficulty understanding or using spoken/written language despite normal hearing',\n },\n {\n value: 'social_communication',\n label: 'Social (Pragmatic) Communication Disorder',\n description: 'Difficulty with social use of language — understanding context, humor, or implied meaning',\n },\n {\n value: 'intellectual_disability',\n label: 'Intellectual Disability',\n description: 'Limitations in intellectual functioning and adaptive behavior',\n },\n {\n value: 'sensory_processing',\n label: 'Sensory Processing Differences',\n description: 'Difficulty processing and responding to sensory input (sound, light, touch, etc.)',\n },\n {\n value: 'giftedness_2e',\n label: 'Giftedness / Twice-Exceptional (2e)',\n description: 'High cognitive ability combined with a neurodevelopmental difference',\n },\n {\n value: 'other_neurodevelopmental',\n label: 'Other neurodevelopmental condition',\n description: 'A neurodevelopmental condition not listed above',\n },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\n// ─── 3. Mental Health Conditions (DSM-5 mood, anxiety, trauma, OCD, eating, psychotic) ──\n\nexport const mentalHealthConditionOptions = [\n // Depressive disorders\n {\n value: 'depression_major',\n label: 'Major Depressive Disorder',\n description: 'Persistent sadness, loss of interest, and fatigue lasting 2+ weeks',\n },\n {\n value: 'depression_persistent',\n label: 'Persistent Depressive Disorder (Dysthymia)',\n description: 'Chronic low-grade depression lasting 2+ years',\n },\n {\n value: 'depression_seasonal',\n label: 'Seasonal Affective Disorder (SAD)',\n description: 'Depression that follows a seasonal pattern, typically in winter',\n },\n {\n value: 'pmdd',\n label: 'Premenstrual Dysphoric Disorder (PMDD)',\n description: 'Severe mood changes tied to the menstrual cycle',\n },\n // Bipolar & related\n {\n value: 'bipolar_i',\n label: 'Bipolar I Disorder',\n description: 'Manic episodes lasting 7+ days, often with depressive episodes',\n },\n {\n value: 'bipolar_ii',\n label: 'Bipolar II Disorder',\n description: 'Hypomanic and depressive episodes without full mania',\n },\n {\n value: 'cyclothymia',\n label: 'Cyclothymic Disorder',\n description: 'Chronic mood fluctuations — milder than bipolar but persistent',\n },\n // Anxiety disorders\n {\n value: 'anxiety_generalized',\n label: 'Generalized Anxiety Disorder (GAD)',\n description: 'Persistent, excessive worry about everyday situations',\n },\n {\n value: 'anxiety_social',\n label: 'Social Anxiety Disorder',\n description: 'Intense fear of social situations and being judged by others',\n },\n {\n value: 'panic_disorder',\n label: 'Panic Disorder',\n description: 'Recurrent unexpected panic attacks with physical symptoms',\n },\n {\n value: 'specific_phobia',\n label: 'Specific Phobia(s)',\n description: 'Intense, irrational fear of a specific object or situation',\n },\n {\n value: 'agoraphobia',\n label: 'Agoraphobia',\n description: 'Fear of situations where escape might be difficult — crowds, open spaces, public transport',\n },\n // OCD & related\n {\n value: 'ocd',\n label: 'Obsessive-Compulsive Disorder (OCD)',\n description: 'Intrusive unwanted thoughts (obsessions) and repetitive behaviors (compulsions)',\n },\n {\n value: 'body_dysmorphia',\n label: 'Body Dysmorphic Disorder (BDD)',\n description: 'Preoccupation with perceived flaws in physical appearance not observable by others',\n },\n {\n value: 'hoarding',\n label: 'Hoarding Disorder',\n description: 'Persistent difficulty discarding possessions regardless of their value',\n },\n {\n value: 'trichotillomania',\n label: 'Trichotillomania — Hair-Pulling Disorder',\n description: 'Recurrent urge to pull out hair resulting in noticeable hair loss',\n },\n {\n value: 'excoriation',\n label: 'Excoriation — Skin-Picking Disorder',\n description: 'Recurrent picking at skin resulting in lesions',\n },\n // Trauma & stressor-related\n {\n value: 'ptsd',\n label: 'Post-Traumatic Stress Disorder (PTSD)',\n description: 'Flashbacks, nightmares, and hypervigilance following traumatic events',\n },\n {\n value: 'cptsd',\n label: 'Complex PTSD (C-PTSD)',\n description: 'PTSD symptoms plus difficulties with emotional regulation, self-concept, and relationships',\n },\n // Eating disorders\n {\n value: 'anorexia',\n label: 'Anorexia Nervosa',\n description: 'Restriction of food intake, intense fear of weight gain, distorted body image',\n },\n {\n value: 'bulimia',\n label: 'Bulimia Nervosa',\n description: 'Binge eating followed by compensatory behaviors (purging, fasting, excessive exercise)',\n },\n {\n value: 'binge_eating',\n label: 'Binge Eating Disorder',\n description: 'Recurrent episodes of eating large amounts without compensatory behaviors',\n },\n {\n value: 'arfid',\n label: 'ARFID — Avoidant/Restrictive Food Intake Disorder',\n description: 'Extremely picky eating or food avoidance not related to body image — often sensory-driven',\n },\n // Dissociative\n {\n value: 'did',\n label: 'Dissociative Identity Disorder (DID)',\n description: 'Presence of two or more distinct identity states with gaps in memory',\n },\n {\n value: 'depersonalization',\n label: 'Depersonalization / Derealization Disorder',\n description: 'Feeling detached from yourself or that the world around you is unreal',\n },\n // Schizophrenia spectrum\n {\n value: 'schizophrenia',\n label: 'Schizophrenia',\n description: 'Disruptions in thought processes, perceptions, emotions, and behavior',\n },\n {\n value: 'schizoaffective',\n label: 'Schizoaffective Disorder',\n description: 'Symptoms of schizophrenia combined with mood disorder episodes',\n },\n {\n value: 'other_mental_health',\n label: 'Other mental health condition',\n description: 'A condition not listed above',\n },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\n// ─── 4. Personality Patterns (DSM-5 Cluster A/B/C) ─────────────────────────\n\nexport const personalityPatternOptions = [\n // Cluster A — Odd / Eccentric\n {\n value: 'paranoid_pd',\n label: 'Paranoid Personality',\n description: 'Pervasive distrust and suspicion of others — interpreting motives as malevolent',\n },\n {\n value: 'schizoid_pd',\n label: 'Schizoid Personality',\n description: 'Detachment from social relationships and limited emotional expression',\n },\n {\n value: 'schizotypal_pd',\n label: 'Schizotypal Personality',\n description: 'Eccentric behavior, unusual perceptual experiences, and social discomfort',\n },\n // Cluster B — Dramatic / Erratic\n {\n value: 'antisocial_pd',\n label: 'Antisocial Personality (ASPD)',\n description: 'Disregard for and violation of the rights of others — lack of remorse',\n },\n {\n value: 'borderline_pd',\n label: 'Borderline Personality (BPD)',\n description: 'Instability in relationships, self-image, emotions, and impulsivity — fear of abandonment',\n },\n {\n value: 'histrionic_pd',\n label: 'Histrionic Personality (HPD)',\n description: 'Excessive attention-seeking, dramatic behavior, and exaggerated emotional expression',\n },\n {\n value: 'narcissistic_pd',\n label: 'Narcissistic Personality (NPD)',\n description: 'Grandiosity, need for admiration, and lack of empathy for others',\n },\n // Cluster C — Anxious / Fearful\n {\n value: 'avoidant_pd',\n label: 'Avoidant Personality (AVPD)',\n description: 'Social inhibition, feelings of inadequacy, and extreme sensitivity to criticism',\n },\n {\n value: 'dependent_pd',\n label: 'Dependent Personality (DPD)',\n description: 'Excessive need to be taken care of — submissive, clingy, and fear of separation',\n },\n {\n value: 'ocpd',\n label: 'Obsessive-Compulsive Personality (OCPD)',\n description: 'Preoccupation with orderliness, perfectionism, and control — different from OCD',\n },\n {\n value: 'other_personality',\n label: 'Other personality pattern',\n description: 'A personality pattern not listed above',\n },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\n// ─── 5. Neurological & Chronic Conditions ───────────────────────────────────\n\nexport const neurologicalChronicConditionOptions = [\n {\n value: 'epilepsy',\n label: 'Epilepsy / Seizure Disorder',\n description: 'Recurrent seizures caused by abnormal electrical activity in the brain',\n },\n {\n value: 'chronic_fatigue_me',\n label: 'Chronic Fatigue Syndrome / ME',\n description: 'Extreme fatigue that doesn\\u2019t improve with rest and worsens with physical/mental activity',\n },\n {\n value: 'fibromyalgia',\n label: 'Fibromyalgia',\n description: 'Widespread musculoskeletal pain with fatigue, sleep, and cognitive difficulties',\n },\n {\n value: 'chronic_pain',\n label: 'Chronic Pain Syndrome',\n description: 'Persistent pain lasting months or years beyond expected healing time',\n },\n {\n value: 'migraine',\n label: 'Chronic Migraine',\n description: 'Severe recurring headaches often with nausea, sensitivity to light and sound',\n },\n {\n value: 'tbi',\n label: 'Traumatic Brain Injury (TBI)',\n description: 'Brain damage from external force — can affect cognition, behavior, and emotions',\n },\n {\n value: 'ehlers_danlos',\n label: 'Ehlers-Danlos Syndrome (EDS)',\n description: 'Connective tissue disorder causing joint hypermobility, skin fragility, and chronic pain',\n },\n {\n value: 'pots',\n label: 'POTS — Postural Orthostatic Tachycardia Syndrome',\n description: 'Autonomic nervous system dysfunction causing rapid heartbeat and dizziness on standing',\n },\n {\n value: 'sleep_disorder',\n label: 'Sleep Disorder (Insomnia, Narcolepsy, Sleep Apnea)',\n description: 'Persistent difficulty falling/staying asleep, or excessive daytime sleepiness',\n },\n {\n value: 'none',\n label: 'None of these',\n description: 'No neurological or chronic conditions',\n },\n {\n value: 'other_neurological',\n label: 'Other neurological / chronic condition',\n description: 'A condition not listed above',\n },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\n// ─── 6. Age of realization / diagnosis ──────────────────────────────────────\n\nexport const ageOfRealizationOptions = [\n { value: 'childhood', label: 'Childhood (before 13)' },\n { value: 'teen', label: 'Teen years (13–18)' },\n { value: 'young_adult', label: 'Young adult (19–30)' },\n { value: 'adult', label: 'Adult (31–50)' },\n { value: 'later_life', label: 'Later in life (50+)' },\n { value: 'still_exploring', label: 'Still exploring' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\n// ─── 7. Sensory profile ─────────────────────────────────────────────────────\n\nexport const sensoryProfileOptions = [\n { value: 'hyper_sound', label: 'Hypersensitive to sound' },\n { value: 'hypo_sound', label: 'Hyposensitive to sound' },\n { value: 'hyper_light', label: 'Hypersensitive to light' },\n { value: 'hypo_light', label: 'Hyposensitive to light' },\n { value: 'hyper_touch', label: 'Hypersensitive to touch / textures' },\n { value: 'hypo_touch', label: 'Hyposensitive to touch' },\n { value: 'hyper_smell', label: 'Hypersensitive to smells' },\n { value: 'hypo_smell', label: 'Hyposensitive to smells' },\n { value: 'hyper_taste', label: 'Hypersensitive to taste' },\n { value: 'hypo_taste', label: 'Hyposensitive to taste' },\n { value: 'seeks_stimulation', label: 'Seeks sensory stimulation' },\n { value: 'sensory_overwhelm', label: 'Sensory overwhelm / shutdown' },\n { value: 'none', label: 'No specific sensitivities' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\n// ─── 8. Cognitive strengths ─────────────────────────────────────────────────\n\nexport const cognitiveStrengthOptions = [\n { value: 'hyperfocus', label: 'Hyperfocus on interests' },\n { value: 'pattern_recognition', label: 'Pattern recognition' },\n { value: 'creative_thinking', label: 'Creative / divergent thinking' },\n { value: 'attention_to_detail', label: 'Attention to detail' },\n { value: 'systems_thinking', label: 'Systems thinking' },\n { value: 'big_picture', label: 'Big-picture thinking' },\n { value: 'visual_spatial', label: 'Visual-spatial skills' },\n { value: 'specialized_memory', label: 'Specialized / topic memory' },\n { value: 'problem_solving', label: 'Problem-solving' },\n { value: 'empathy', label: 'Empathy / emotional insight' },\n { value: 'passionate_curiosity', label: 'Passionate curiosity' },\n { value: 'directness_honesty', label: 'Honesty / directness' },\n { value: 'persistence', label: 'Persistence' },\n { value: 'none_unsure', label: 'None / unsure' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\n// ─── 9. Executive function challenges ───────────────────────────────────────\n\nexport const executiveFunctionChallengeOptions = [\n { value: 'planning_organization', label: 'Planning / organization' },\n { value: 'time_management', label: 'Time management / time blindness' },\n { value: 'task_initiation', label: 'Task initiation (getting started)' },\n { value: 'task_switching', label: 'Task switching / transitions' },\n { value: 'working_memory', label: 'Working memory' },\n { value: 'emotional_regulation', label: 'Emotional regulation' },\n { value: 'impulse_control', label: 'Impulse control' },\n { value: 'focus_attention', label: 'Focus / sustaining attention' },\n { value: 'prioritization', label: 'Prioritization' },\n { value: 'decision_fatigue', label: 'Decision-making / decision fatigue' },\n { value: 'self_motivation', label: 'Self-motivation' },\n { value: 'sleep_regulation', label: 'Sleep regulation' },\n { value: 'none', label: 'No significant challenges' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\n// ─── 10. Learning style ─────────────────────────────────────────────────────\n\nexport const learningStyleOptions = [\n { value: 'visual', label: 'Visual learner' },\n { value: 'auditory', label: 'Auditory learner' },\n { value: 'kinesthetic', label: 'Kinesthetic / hands-on' },\n { value: 'reading_writing', label: 'Reading & writing' },\n { value: 'multimodal', label: 'Multimodal (combination)' },\n { value: 'needs_repetition', label: 'Needs repetition' },\n { value: 'needs_structure', label: 'Learns best with structure' },\n { value: 'prefers_autonomy', label: 'Learns best with autonomy' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\n// ─── 11. Communication preference ───────────────────────────────────────────\n\nexport const communicationPreferenceOptions = [\n { value: 'face_to_face', label: 'Face-to-face verbal' },\n { value: 'written', label: 'Written (text / email / chat)' },\n { value: 'phone', label: 'Phone calls' },\n { value: 'video', label: 'Video calls' },\n { value: 'small_groups', label: 'Small groups only' },\n { value: 'one_on_one', label: 'One-on-one' },\n { value: 'visual_aids', label: 'With visual aids' },\n { value: 'async', label: 'Async over synchronous' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\n// ─── 12. Support & accommodations ───────────────────────────────────────────\n\nexport const supportAccommodationOptions = [\n { value: 'flexible_schedule', label: 'Flexible schedule / deadlines' },\n { value: 'written_instructions', label: 'Written instructions' },\n { value: 'quiet_workspace', label: 'Quiet workspace' },\n { value: 'regular_breaks', label: 'Regular breaks' },\n { value: 'body_doubling', label: 'Body-doubling / co-working' },\n { value: 'assistive_tech', label: 'Assistive technology' },\n { value: 'noise_cancelling', label: 'Noise-cancelling headphones' },\n { value: 'fidget_tools', label: 'Fidget tools / sensory items' },\n { value: 'structured_routines', label: 'Structured routines' },\n { value: 'clear_expectations', label: 'Clear expectations' },\n { value: 'visual_schedules', label: 'Visual schedules / checklists' },\n { value: 'therapy', label: 'Professional therapy / counseling' },\n { value: 'medication', label: 'Medication' },\n { value: 'peer_support', label: 'Peer support groups' },\n { value: 'coaching', label: 'ADHD / ASD coaching' },\n { value: 'family_support', label: 'Family / caregiver support' },\n { value: 'none', label: 'No specific support needed' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\n// ─── 13. Masking & burnout ──────────────────────────────────────────────────\n\nexport const maskingBurnoutOptions = [\n {\n value: 'frequently',\n label: 'Frequently — leads to burnout',\n description: 'Mask most of the time; often experience burnout',\n },\n { value: 'sometimes', label: 'Sometimes', description: 'Mask in certain settings' },\n { value: 'rarely', label: 'Rarely' },\n { value: 'never', label: 'Never' },\n { value: 'not_sure', label: 'Not sure what this means' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\n// ─── 14. Impact on daily life ───────────────────────────────────────────────\n\nexport const impactOnLifeOptions = [\n {\n value: 'significant',\n label: 'Significant impact',\n description: 'Need daily support to function',\n },\n {\n value: 'moderate',\n label: 'Moderate impact',\n description: 'Some support helps me thrive',\n },\n { value: 'mild', label: 'Mild impact', description: 'Manageable with awareness' },\n { value: 'minimal', label: 'Minimal / no noticeable impact' },\n { value: 'varies', label: 'Varies day to day' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\n// ─── Field Group ────────────────────────────────────────────────────────────\n\nconst ND_SKIP = ['no_neurotypical', 'prefer_not_to_say'];\n\nexport const neurodiversity: FieldGroup = {\n key: 'mental_health_neurodiversity',\n label: 'Mental Health & Neurodiversity',\n step: 8,\n description:\n 'Neurodevelopmental conditions, mental health, personality patterns, neurological conditions, sensory profile, and support needs.',\n fields: [\n {\n order: 1,\n key: 'neurodiverseIdentity',\n label: 'Neurodivergent Identity',\n type: 'single_select',\n step: 8,\n isOnboarding: true,\n optional: true,\n options: [...neurodiverseIdentityOptions],\n },\n {\n order: 2,\n key: 'neurodevelopmentalConditions',\n label: 'Neurodevelopmental Conditions',\n type: 'multi_select',\n step: 8,\n isOnboarding: true,\n optional: true,\n options: [...neurodevelopmentalConditionOptions],\n conditionalOn: { field: 'neurodiverseIdentity', notIn: ND_SKIP },\n },\n {\n order: 3,\n key: 'mentalHealthConditions',\n label: 'Mental Health Conditions',\n type: 'multi_select',\n step: 8,\n isOnboarding: true,\n optional: true,\n options: [...mentalHealthConditionOptions],\n // Shown to everyone — neurotypical people have mental health conditions too\n },\n {\n order: 4,\n key: 'personalityPatterns',\n label: 'Personality Patterns',\n type: 'multi_select',\n step: 8,\n isOnboarding: true,\n optional: true,\n options: [...personalityPatternOptions],\n // Shown to everyone\n },\n {\n order: 5,\n key: 'neurologicalChronicConditions',\n label: 'Neurological & Chronic Conditions',\n type: 'multi_select',\n step: 8,\n isOnboarding: true,\n optional: true,\n options: [...neurologicalChronicConditionOptions],\n // Shown to everyone\n },\n {\n order: 6,\n key: 'ageOfRealization',\n label: 'Age of Realization',\n type: 'single_select',\n step: 8,\n isOnboarding: true,\n optional: true,\n options: [...ageOfRealizationOptions],\n conditionalOn: { field: 'neurodiverseIdentity', notIn: ND_SKIP },\n },\n {\n order: 7,\n key: 'sensoryProfile',\n label: 'Sensory Profile',\n type: 'multi_select',\n step: 8,\n isOnboarding: true,\n optional: true,\n options: [...sensoryProfileOptions],\n conditionalOn: { field: 'neurodiverseIdentity', notIn: ND_SKIP },\n },\n {\n order: 8,\n key: 'cognitiveStrengths',\n label: 'Cognitive Strengths',\n type: 'multi_select',\n step: 8,\n isOnboarding: true,\n optional: true,\n options: [...cognitiveStrengthOptions],\n conditionalOn: { field: 'neurodiverseIdentity', notIn: ND_SKIP },\n },\n {\n order: 9,\n key: 'executiveFunctionChallenges',\n label: 'Executive Function Challenges',\n type: 'multi_select',\n step: 8,\n isOnboarding: true,\n optional: true,\n options: [...executiveFunctionChallengeOptions],\n conditionalOn: { field: 'neurodiverseIdentity', notIn: ND_SKIP },\n },\n {\n order: 10,\n key: 'learningStyle',\n label: 'Learning Style',\n type: 'single_select',\n step: 8,\n isOnboarding: true,\n optional: true,\n options: [...learningStyleOptions],\n },\n {\n order: 11,\n key: 'communicationPreference',\n label: 'Communication Preference',\n type: 'single_select',\n step: 8,\n isOnboarding: true,\n optional: true,\n options: [...communicationPreferenceOptions],\n },\n {\n order: 12,\n key: 'supportAndAccommodations',\n label: 'Support & Accommodations',\n type: 'multi_select',\n step: 8,\n isOnboarding: true,\n optional: true,\n options: [...supportAccommodationOptions],\n conditionalOn: { field: 'neurodiverseIdentity', notIn: ND_SKIP },\n },\n {\n order: 13,\n key: 'maskingAndBurnout',\n label: 'Masking & Burnout',\n type: 'single_select',\n step: 8,\n isOnboarding: true,\n optional: true,\n options: [...maskingBurnoutOptions],\n conditionalOn: { field: 'neurodiverseIdentity', notIn: ND_SKIP },\n },\n {\n order: 14,\n key: 'impactOnLife',\n label: 'Impact on Daily Life',\n type: 'single_select',\n step: 8,\n isOnboarding: true,\n optional: true,\n options: [...impactOnLifeOptions],\n conditionalOn: { field: 'neurodiverseIdentity', notIn: ND_SKIP },\n },\n ],\n};\n"]}
@@ -12,7 +12,7 @@ export { desiredPoliticalPositionOptions, leadershipAmbitions, leadershipSkillse
12
12
  export { mbtiOptions, psychologicalAssessment } from './05-psychological.js';
13
13
  export { boardOptions, DEGREE_VALUES_BY_LEVEL, degreeNameOptions, education, qualificationOptions, streamOptions, subjectOptions, } from './06-education.js';
14
14
  export { employment, employmentStatusOptions, incomeRangeOptions, shiftOptions, } from './07-employment.js';
15
- export { ageOfRealizationOptions, cognitiveStrengthOptions, communicationPreferenceOptions, executiveFunctionChallengeOptions, impactOnLifeOptions, learningStyleOptions, maskingBurnoutOptions, neurodiverseIdentityOptions, neurodiversity, neurodiversityConditionOptions, sensoryProfileOptions, supportAccommodationOptions, } from './08-neurodiversity.js';
15
+ export { ageOfRealizationOptions, cognitiveStrengthOptions, communicationPreferenceOptions, executiveFunctionChallengeOptions, impactOnLifeOptions, learningStyleOptions, maskingBurnoutOptions, mentalHealthConditionOptions, neurodevelopmentalConditionOptions, neurodiverseIdentityOptions, neurodiversity, neurologicalChronicConditionOptions, personalityPatternOptions, sensoryProfileOptions, supportAccommodationOptions, } from './08-neurodiversity.js';
16
16
  export { dietOptions, disabilityOptions, healthLifestyle, substanceUseOptions, } from './09-health.js';
17
17
  export { casteDiscriminationPlaceOptions, lgbtqStatementOptions, transgenderStatementOptions, worldView, } from './10-worldview.js';
18
18
  export { residence } from './11-residence.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/profile-fields/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,YAAY,EACV,SAAS,EACT,UAAU,EACV,WAAW,EACX,gBAAgB,EAChB,WAAW,EACX,YAAY,EACZ,WAAW,EACX,SAAS,GACV,MAAM,YAAY,CAAC;AAIpB,OAAO,EACL,aAAa,EACb,eAAe,EACf,eAAe,EACf,OAAO,EACP,eAAe,EACf,kBAAkB,GACnB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,sBAAsB,EACtB,qBAAqB,EACrB,0BAA0B,EAC1B,2BAA2B,EAC3B,YAAY,EACZ,oBAAoB,EACpB,wBAAwB,EACxB,0BAA0B,GAC3B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EACL,+BAA+B,EAC/B,mBAAmB,EACnB,yBAAyB,GAC1B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,WAAW,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAC7E,OAAO,EACL,YAAY,EACZ,sBAAsB,EACtB,iBAAiB,EACjB,SAAS,EACT,oBAAoB,EACpB,aAAa,EACb,cAAc,GACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,UAAU,EACV,uBAAuB,EACvB,kBAAkB,EAClB,YAAY,GACb,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,uBAAuB,EACvB,wBAAwB,EACxB,8BAA8B,EAC9B,iCAAiC,EACjC,mBAAmB,EACnB,oBAAoB,EACpB,qBAAqB,EACrB,2BAA2B,EAC3B,cAAc,EACd,8BAA8B,EAC9B,qBAAqB,EACrB,2BAA2B,GAC5B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,eAAe,EACf,mBAAmB,GACpB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,+BAA+B,EAC/B,qBAAqB,EACrB,2BAA2B,EAC3B,SAAS,GACV,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EACL,oBAAoB,EACpB,mBAAmB,EACnB,SAAS,EACT,sBAAsB,GACvB,MAAM,mBAAmB,CAAC;AAgB3B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,cAAc,EAAE,SAAS,UAAU,EAa/C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/profile-fields/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,YAAY,EACV,SAAS,EACT,UAAU,EACV,WAAW,EACX,gBAAgB,EAChB,WAAW,EACX,YAAY,EACZ,WAAW,EACX,SAAS,GACV,MAAM,YAAY,CAAC;AAIpB,OAAO,EACL,aAAa,EACb,eAAe,EACf,eAAe,EACf,OAAO,EACP,eAAe,EACf,kBAAkB,GACnB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,sBAAsB,EACtB,qBAAqB,EACrB,0BAA0B,EAC1B,2BAA2B,EAC3B,YAAY,EACZ,oBAAoB,EACpB,wBAAwB,EACxB,0BAA0B,GAC3B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EACL,+BAA+B,EAC/B,mBAAmB,EACnB,yBAAyB,GAC1B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,WAAW,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAC7E,OAAO,EACL,YAAY,EACZ,sBAAsB,EACtB,iBAAiB,EACjB,SAAS,EACT,oBAAoB,EACpB,aAAa,EACb,cAAc,GACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,UAAU,EACV,uBAAuB,EACvB,kBAAkB,EAClB,YAAY,GACb,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,uBAAuB,EACvB,wBAAwB,EACxB,8BAA8B,EAC9B,iCAAiC,EACjC,mBAAmB,EACnB,oBAAoB,EACpB,qBAAqB,EACrB,4BAA4B,EAC5B,kCAAkC,EAClC,2BAA2B,EAC3B,cAAc,EACd,mCAAmC,EACnC,yBAAyB,EACzB,qBAAqB,EACrB,2BAA2B,GAC5B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,eAAe,EACf,mBAAmB,GACpB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,+BAA+B,EAC/B,qBAAqB,EACrB,2BAA2B,EAC3B,SAAS,GACV,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EACL,oBAAoB,EACpB,mBAAmB,EACnB,SAAS,EACT,sBAAsB,GACvB,MAAM,mBAAmB,CAAC;AAgB3B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,cAAc,EAAE,SAAS,UAAU,EAa/C,CAAC"}
@@ -12,7 +12,7 @@ export { desiredPoliticalPositionOptions, leadershipAmbitions, leadershipSkillse
12
12
  export { mbtiOptions, psychologicalAssessment } from './05-psychological.js';
13
13
  export { boardOptions, DEGREE_VALUES_BY_LEVEL, degreeNameOptions, education, qualificationOptions, streamOptions, subjectOptions, } from './06-education.js';
14
14
  export { employment, employmentStatusOptions, incomeRangeOptions, shiftOptions, } from './07-employment.js';
15
- export { ageOfRealizationOptions, cognitiveStrengthOptions, communicationPreferenceOptions, executiveFunctionChallengeOptions, impactOnLifeOptions, learningStyleOptions, maskingBurnoutOptions, neurodiverseIdentityOptions, neurodiversity, neurodiversityConditionOptions, sensoryProfileOptions, supportAccommodationOptions, } from './08-neurodiversity.js';
15
+ export { ageOfRealizationOptions, cognitiveStrengthOptions, communicationPreferenceOptions, executiveFunctionChallengeOptions, impactOnLifeOptions, learningStyleOptions, maskingBurnoutOptions, mentalHealthConditionOptions, neurodevelopmentalConditionOptions, neurodiverseIdentityOptions, neurodiversity, neurologicalChronicConditionOptions, personalityPatternOptions, sensoryProfileOptions, supportAccommodationOptions, } from './08-neurodiversity.js';
16
16
  export { dietOptions, disabilityOptions, healthLifestyle, substanceUseOptions, } from './09-health.js';
17
17
  export { casteDiscriminationPlaceOptions, lgbtqStatementOptions, transgenderStatementOptions, worldView, } from './10-worldview.js';
18
18
  export { residence } from './11-residence.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/profile-fields/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAaH,+EAA+E;AAE/E,OAAO,EACL,aAAa,EACb,eAAe,EACf,eAAe,EACf,OAAO,EACP,eAAe,EACf,kBAAkB,GACnB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,sBAAsB,EACtB,qBAAqB,EACrB,0BAA0B,EAC1B,2BAA2B,EAC3B,YAAY,EACZ,oBAAoB,EACpB,wBAAwB,EACxB,0BAA0B,GAC3B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EACL,+BAA+B,EAC/B,mBAAmB,EACnB,yBAAyB,GAC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,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAG9C,MAAM,CAAC,MAAM,cAAc,GAA0B;IACnD,OAAO;IACP,oBAAoB;IACpB,kBAAkB;IAClB,mBAAmB;IACnB,uBAAuB;IACvB,SAAS;IACT,UAAU;IACV,cAAc;IACd,eAAe;IACf,SAAS;IACT,SAAS;IACT,SAAS;CACV,CAAC","sourcesContent":["/**\n * UDP Profile Fields — barrel export.\n *\n * Mirrors the dating-schema profile-fields pattern.\n * Each file defines a FieldGroup with rich field metadata and options.\n */\n\nexport type {\n BaseField,\n FieldGroup,\n FieldOption,\n MultiSelectField,\n NumberField,\n ProfileField,\n SelectField,\n TextField,\n} from './types.js';\n\n// ── Field groups ────────────────────────────────────────────────────────────\n\nexport {\n genderOptions,\n languageOptions,\n minorityOptions,\n profile,\n religionOptions,\n reservationOptions,\n} from './01-profile.js';\nexport {\n civicEngagementOptions,\n electionResultOptions,\n officeElectionLevelOptions,\n partyAssociationRoleOptions,\n partyOptions,\n politicalAssociation,\n politicalSpectrumOptions,\n relativesInPoliticsOptions,\n} from './02-political.js';\nexport { electoralBehaviour, votingIssueOptions } from './03-electoral.js';\nexport {\n desiredPoliticalPositionOptions,\n leadershipAmbitions,\n leadershipSkillsetOptions,\n} from './04-leadership.js';\nexport { mbtiOptions, psychologicalAssessment } from './05-psychological.js';\nexport {\n boardOptions,\n DEGREE_VALUES_BY_LEVEL,\n degreeNameOptions,\n education,\n qualificationOptions,\n streamOptions,\n subjectOptions,\n} from './06-education.js';\nexport {\n employment,\n employmentStatusOptions,\n incomeRangeOptions,\n shiftOptions,\n} from './07-employment.js';\nexport {\n ageOfRealizationOptions,\n cognitiveStrengthOptions,\n communicationPreferenceOptions,\n executiveFunctionChallengeOptions,\n impactOnLifeOptions,\n learningStyleOptions,\n maskingBurnoutOptions,\n neurodiverseIdentityOptions,\n neurodiversity,\n neurodiversityConditionOptions,\n sensoryProfileOptions,\n supportAccommodationOptions,\n} from './08-neurodiversity.js';\nexport {\n dietOptions,\n disabilityOptions,\n healthLifestyle,\n substanceUseOptions,\n} from './09-health.js';\nexport {\n casteDiscriminationPlaceOptions,\n lgbtqStatementOptions,\n transgenderStatementOptions,\n worldView,\n} from './10-worldview.js';\nexport { residence } from './11-residence.js';\nexport {\n digitalAccessOptions,\n familyMemberOptions,\n household,\n householdIncomeOptions,\n} from './12-household.js';\n\n// ── All field groups (for building lookup maps) ─────────────────────────────\n\nimport { profile } from './01-profile.js';\nimport { politicalAssociation } from './02-political.js';\nimport { electoralBehaviour } from './03-electoral.js';\nimport { leadershipAmbitions } from './04-leadership.js';\nimport { psychologicalAssessment } from './05-psychological.js';\nimport { education } from './06-education.js';\nimport { employment } from './07-employment.js';\nimport { neurodiversity } from './08-neurodiversity.js';\nimport { healthLifestyle } from './09-health.js';\nimport { worldView } from './10-worldview.js';\nimport { residence } from './11-residence.js';\nimport { household } from './12-household.js';\nimport type { FieldGroup } from './types.js';\n\nexport const allFieldGroups: readonly FieldGroup[] = [\n profile,\n politicalAssociation,\n electoralBehaviour,\n leadershipAmbitions,\n psychologicalAssessment,\n education,\n employment,\n neurodiversity,\n healthLifestyle,\n worldView,\n residence,\n household,\n];\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/profile-fields/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAaH,+EAA+E;AAE/E,OAAO,EACL,aAAa,EACb,eAAe,EACf,eAAe,EACf,OAAO,EACP,eAAe,EACf,kBAAkB,GACnB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,sBAAsB,EACtB,qBAAqB,EACrB,0BAA0B,EAC1B,2BAA2B,EAC3B,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,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAG9C,MAAM,CAAC,MAAM,cAAc,GAA0B;IACnD,OAAO;IACP,oBAAoB;IACpB,kBAAkB;IAClB,mBAAmB;IACnB,uBAAuB;IACvB,SAAS;IACT,UAAU;IACV,cAAc;IACd,eAAe;IACf,SAAS;IACT,SAAS;IACT,SAAS;CACV,CAAC","sourcesContent":["/**\n * UDP Profile Fields — barrel export.\n *\n * Mirrors the dating-schema profile-fields pattern.\n * Each file defines a FieldGroup with rich field metadata and options.\n */\n\nexport type {\n BaseField,\n FieldGroup,\n FieldOption,\n MultiSelectField,\n NumberField,\n ProfileField,\n SelectField,\n TextField,\n} from './types.js';\n\n// ── Field groups ────────────────────────────────────────────────────────────\n\nexport {\n genderOptions,\n languageOptions,\n minorityOptions,\n profile,\n religionOptions,\n reservationOptions,\n} from './01-profile.js';\nexport {\n civicEngagementOptions,\n electionResultOptions,\n officeElectionLevelOptions,\n partyAssociationRoleOptions,\n partyOptions,\n politicalAssociation,\n politicalSpectrumOptions,\n relativesInPoliticsOptions,\n} from './02-political.js';\nexport { electoralBehaviour, votingIssueOptions } from './03-electoral.js';\nexport {\n desiredPoliticalPositionOptions,\n leadershipAmbitions,\n leadershipSkillsetOptions,\n} from './04-leadership.js';\nexport { mbtiOptions, psychologicalAssessment } from './05-psychological.js';\nexport {\n boardOptions,\n DEGREE_VALUES_BY_LEVEL,\n degreeNameOptions,\n education,\n qualificationOptions,\n streamOptions,\n subjectOptions,\n} from './06-education.js';\nexport {\n employment,\n employmentStatusOptions,\n incomeRangeOptions,\n shiftOptions,\n} from './07-employment.js';\nexport {\n ageOfRealizationOptions,\n cognitiveStrengthOptions,\n communicationPreferenceOptions,\n executiveFunctionChallengeOptions,\n impactOnLifeOptions,\n learningStyleOptions,\n maskingBurnoutOptions,\n mentalHealthConditionOptions,\n neurodevelopmentalConditionOptions,\n neurodiverseIdentityOptions,\n neurodiversity,\n neurologicalChronicConditionOptions,\n personalityPatternOptions,\n sensoryProfileOptions,\n supportAccommodationOptions,\n} from './08-neurodiversity.js';\nexport {\n dietOptions,\n disabilityOptions,\n healthLifestyle,\n substanceUseOptions,\n} from './09-health.js';\nexport {\n casteDiscriminationPlaceOptions,\n lgbtqStatementOptions,\n transgenderStatementOptions,\n worldView,\n} from './10-worldview.js';\nexport { residence } from './11-residence.js';\nexport {\n digitalAccessOptions,\n familyMemberOptions,\n household,\n householdIncomeOptions,\n} from './12-household.js';\n\n// ── All field groups (for building lookup maps) ─────────────────────────────\n\nimport { profile } from './01-profile.js';\nimport { politicalAssociation } from './02-political.js';\nimport { electoralBehaviour } from './03-electoral.js';\nimport { leadershipAmbitions } from './04-leadership.js';\nimport { psychologicalAssessment } from './05-psychological.js';\nimport { education } from './06-education.js';\nimport { employment } from './07-employment.js';\nimport { neurodiversity } from './08-neurodiversity.js';\nimport { healthLifestyle } from './09-health.js';\nimport { worldView } from './10-worldview.js';\nimport { residence } from './11-residence.js';\nimport { household } from './12-household.js';\nimport type { FieldGroup } from './types.js';\n\nexport const allFieldGroups: readonly FieldGroup[] = [\n profile,\n politicalAssociation,\n electoralBehaviour,\n leadershipAmbitions,\n psychologicalAssessment,\n education,\n employment,\n neurodiversity,\n healthLifestyle,\n worldView,\n residence,\n household,\n];\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"progress-fields.d.ts","sourceRoot":"","sources":["../src/progress-fields.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAoIxD,CAAC;AAEX,gCAAgC;AAChC,eAAO,MAAM,eAAe,KAAK,CAAC;AAElC;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAE3D,CAAC;AAEX;;;GAGG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAYlF;AAED,iEAAiE;AACjE,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAcrD;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,GAAG,IAAI,GACnD;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAuBnC;AAED;;;;;;;GAOG;AACH,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,GACnE;IACD,KAAK,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC/D,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;CACjB,CAeA"}
1
+ {"version":3,"file":"progress-fields.d.ts","sourceRoot":"","sources":["../src/progress-fields.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAuIxD,CAAC;AAEX,gCAAgC;AAChC,eAAO,MAAM,eAAe,KAAK,CAAC;AAElC;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAE3D,CAAC;AAEX;;;GAGG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAYlF;AAED,iEAAiE;AACjE,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAcrD;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,GAAG,IAAI,GACnD;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAuBnC;AAED;;;;;;;GAOG;AACH,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,GACnE;IACD,KAAK,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC/D,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;CACjB,CAeA"}
@@ -84,7 +84,10 @@ export const UDP_PROGRESS_FIELDS = {
84
84
  ],
85
85
  8: [
86
86
  'neurodiverseIdentity',
87
- 'conditions',
87
+ 'neurodevelopmentalConditions',
88
+ 'mentalHealthConditions',
89
+ 'personalityPatterns',
90
+ 'neurologicalChronicConditions',
88
91
  'ageOfRealization',
89
92
  'sensoryProfile',
90
93
  'cognitiveStrengths',
@@ -1 +1 @@
1
- {"version":3,"file":"progress-fields.js","sourceRoot":"","sources":["../src/progress-fields.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,MAAM,CAAC,MAAM,mBAAmB,GAAsC;IACpE,CAAC,EAAE;QACD,6DAA6D;QAC7D,wEAAwE;QACxE,UAAU;QACV,QAAQ;QACR,aAAa;QACb,gBAAgB;QAChB,iBAAiB;QACjB,oBAAoB;QACpB,gBAAgB;QAChB,kBAAkB;QAClB,mBAAmB;QACnB,gBAAgB;KACjB;IACD,CAAC,EAAE;QACD,mBAAmB;QACnB,sBAAsB;QACtB,sBAAsB;QACtB,wBAAwB;QACxB,qBAAqB;QACrB,0BAA0B;QAC1B,2BAA2B;KAC5B;IACD,CAAC,EAAE;QACD,YAAY;QACZ,kBAAkB;QAClB,iBAAiB;QACjB,iBAAiB;QACjB,qBAAqB;KACtB;IACD,CAAC,EAAE;QACD,yBAAyB;QACzB,0BAA0B;QAC1B,oBAAoB;QACpB,mBAAmB;QACnB,uBAAuB;QACvB,sBAAsB;QACtB,gBAAgB;QAChB,uBAAuB;KACxB;IACD,CAAC,EAAE,CAAC,UAAU,EAAE,aAAa,CAAC;IAC9B,CAAC,EAAE;QACD,sBAAsB;QACtB,WAAW;QACX,qBAAqB;QACrB,0BAA0B;QAC1B,6BAA6B;QAC7B,wBAAwB;QACxB,6BAA6B;QAC7B,WAAW;QACX,+BAA+B;QAC/B,iCAAiC;QACjC,6BAA6B;QAC7B,8BAA8B;QAC9B,wBAAwB;QACxB,4BAA4B;QAC5B,0CAA0C;QAC1C,UAAU;QACV,aAAa;QACb,iBAAiB;QACjB,YAAY;QACZ,gBAAgB;QAChB,mBAAmB;QACnB,gBAAgB;KACjB;IACD,CAAC,EAAE;QACD,kBAAkB;QAClB,YAAY;QACZ,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AW,IAAI,KAAK,CAAC;IACvB,CAAC;IAED,MAAM,OAAO,GAAG,WAAW,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,WAAW,GAAG,WAAW,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAEpF,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,OAAO,EAAE,CAAC;AACtD,CAAC","sourcesContent":["/**\n * UDP Progress Fields — Single source of truth for step progress counting.\n *\n * Used by both frontend (stepper UI) and backend (computeStepProgressCounts).\n * Each step lists the curated fields that determine filled/total progress.\n *\n * Dot-paths (e.g., \"currentAddress.state\") resolve nested subdocument fields.\n * Only these fields count toward progress — extra fields in the schema are ignored.\n */\n\nexport const UDP_PROGRESS_FIELDS: Record<number, readonly string[]> = {\n 1: [\n // 'fullName' is a synthetic key — counts as filled if ANY of\n // firstName / middleName / lastName is set. See UDP_PROGRESS_SYNTHETIC.\n 'fullName',\n 'gender',\n 'dateOfBirth',\n 'whatsappNumber',\n 'primaryLanguage',\n 'secondaryLanguages',\n 'familyReligion',\n 'personalReligion',\n 'reservationStatus',\n 'minorityStatus',\n ],\n 2: [\n 'politicalSpectrum',\n 'selfPartyAssociation',\n 'partyAssociationRole',\n 'familyPartyAssociation',\n 'relativesInPolitics',\n 'publicOfficeAndElections',\n 'networkAndCivicEngagement',\n ],\n 3: [\n 'epicNumber',\n 'willVoteThisTime',\n 'didVoteLastTime',\n 'votingFrequency',\n 'primaryVotingIssues',\n ],\n 4: [\n 'participateInRevolution',\n 'desiredPoliticalPosition',\n 'leadershipSkillset',\n 'politicalExposure',\n 'comfortWithVisibility',\n 'socialInfluenceLevel',\n 'pastExperience',\n 'changesYouWantToBring',\n ],\n 5: ['mbtiType', 'oceanScores'],\n 6: [\n 'highestQualification',\n // Class 10\n 'education10th.board',\n 'education10th.schoolName',\n 'education10th.yearOfPassing',\n 'education10th.subjects',\n 'education10th.marksObtained',\n // Class 12\n 'education12th.institutionName',\n 'education12th.boardOrUniversity',\n 'education12th.yearOfPassing',\n 'education12th.courseOrStream',\n 'education12th.subjects',\n 'education12th.marksOrGrade',\n // Degree repeaters + certificates + notes\n 'diplomas',\n 'graduations',\n 'postGraduations',\n 'doctorates',\n 'postDoctorates',\n 'otherCertificates',\n 'educationNotes',\n ],\n 7: [\n 'employmentStatus',\n 'occupation',\n 'workShift',\n 'comfortableWithShift',\n 'desiredShift',\n 'incomeRange',\n 'dreamOccupation',\n ],\n 8: [\n 'neurodiverseIdentity',\n 'conditions',\n 'ageOfRealization',\n 'sensoryProfile',\n 'cognitiveStrengths',\n 'executiveFunctionChallenges',\n 'learningStyle',\n 'communicationPreference',\n 'supportAndAccommodations',\n 'maskingAndBurnout',\n 'impactOnLife',\n ],\n 9: [\n 'disabilityStatus',\n 'generalHealth',\n 'healthInsurance',\n 'diet',\n 'physicalActivity',\n 'sleepQuality',\n 'substanceUse',\n 'stressLevel',\n ],\n 10: [\n 'viewOnAnimalCruelty',\n 'viewOnLgbtqStatements',\n 'viewOnLgbtqOpinion',\n 'viewOnTransgenderInclusion',\n 'viewOnTransgenderOpinion',\n 'facingCasteDiscrimination',\n 'casteDiscriminationPlaces',\n 'viewOnGenderEquality',\n ],\n 11: [\n 'currentAddress.state',\n 'currentAddress.district',\n 'currentAddress.village',\n 'permanentAddress.state',\n 'permanentAddress.district',\n 'permanentAddress.village',\n 'homeNativePlace.state',\n 'homeNativePlace.district',\n 'ancestralPlace.state',\n 'ancestralPlace.district',\n ],\n 12: [\n 'maritalStatus',\n 'familyMembers',\n 'numberOfDependents',\n 'housingType',\n 'householdIncome',\n 'bplCard',\n 'digitalAccess',\n 'migrationStatus',\n 'landOwnership',\n 'primaryIncomeSource',\n ],\n} as const;\n\n/** Total number of UDP steps */\nexport const UDP_TOTAL_STEPS = 12;\n\n/**\n * Synthetic progress keys — keys that aren't real fields but represent\n * a group of underlying fields. Counted as \"filled\" if ANY underlying\n * field is filled. Used for UI sub-steps that collect multiple fields\n * at once (e.g. the fullName sub-step that saves firstName, middleName,\n * and lastName).\n */\nexport const UDP_PROGRESS_SYNTHETIC: Record<string, readonly string[]> = {\n fullName: ['firstName', 'middleName', 'lastName'],\n} as const;\n\n/**\n * Resolve a dot-path (e.g., \"currentAddress.state\") against a data object.\n * Works with both plain objects and Mongoose subdocuments.\n */\nexport function getNestedValue(obj: Record<string, unknown>, path: string): unknown {\n const parts = path.split('.');\n let current: unknown = obj;\n\n for (const part of parts) {\n if (current === null || current === undefined || typeof current !== 'object') {\n return undefined;\n }\n current = (current as Record<string, unknown>)[part];\n }\n\n return current;\n}\n\n/** Determine if a field value counts as \"filled\" for progress */\nexport function isFieldFilled(value: unknown): boolean {\n if (value === null || value === undefined) return false;\n if (typeof value === 'string') return value.trim().length > 0;\n if (typeof value === 'number') return true;\n if (typeof value === 'boolean') return true;\n if (Array.isArray(value)) return value.length > 0;\n if (typeof value === 'object') {\n // Area entity ref - check for name\n if ('name' in value && typeof (value as Record<string, unknown>).name === 'string') {\n return (value as Record<string, unknown>).name !== '';\n }\n return Object.keys(value).length > 0;\n }\n return false;\n}\n\n/**\n * Calculate progress for a single step.\n * Shared between frontend (stepper UI) and backend (API response).\n */\nexport function calculateStepProgress(\n stepNumber: number,\n formData: Record<string, unknown> | undefined | null,\n): { filled: number; total: number } {\n const fields = UDP_PROGRESS_FIELDS[stepNumber];\n if (!fields) return { filled: 0, total: 0 };\n\n const total = fields.length;\n if (!formData || total === 0) return { filled: 0, total };\n\n let filled = 0;\n for (const fieldPath of fields) {\n // Synthetic keys (e.g., \"fullName\") — filled if ANY underlying field is filled.\n const syntheticPaths = UDP_PROGRESS_SYNTHETIC[fieldPath];\n if (syntheticPaths) {\n if (syntheticPaths.some((p) => isFieldFilled(getNestedValue(formData, p)))) {\n filled++;\n }\n continue;\n }\n if (isFieldFilled(getNestedValue(formData, fieldPath))) {\n filled++;\n }\n }\n\n return { filled, total };\n}\n\n/**\n * Calculate overall progress across all steps.\n * Returns per-step breakdown + overall percentage.\n *\n * Mirrors dating-schema's calculateDatingOverallProgress().\n *\n * @param stepData - Map of step number → form data (e.g., { 1: {...}, 2: {...} })\n */\nexport function calculateOverallProgress(\n stepData: Record<number, Record<string, unknown> | undefined | null>,\n): {\n steps: { stepNumber: number; filled: number; total: number }[];\n totalFilled: number;\n totalFields: number;\n percent: number;\n} {\n const steps: { stepNumber: number; filled: number; total: number }[] = [];\n let totalFilled = 0;\n let totalFields = 0;\n\n for (let stepNumber = 1; stepNumber <= UDP_TOTAL_STEPS; stepNumber++) {\n const { filled, total } = calculateStepProgress(stepNumber, stepData[stepNumber]);\n steps.push({ stepNumber, filled, total });\n totalFilled += filled;\n totalFields += total;\n }\n\n const percent = totalFields > 0 ? Math.round((totalFilled / totalFields) * 100) : 0;\n\n return { steps, totalFilled, totalFields, percent };\n}\n"]}
1
+ {"version":3,"file":"progress-fields.js","sourceRoot":"","sources":["../src/progress-fields.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,MAAM,CAAC,MAAM,mBAAmB,GAAsC;IACpE,CAAC,EAAE;QACD,6DAA6D;QAC7D,wEAAwE;QACxE,UAAU;QACV,QAAQ;QACR,aAAa;QACb,gBAAgB;QAChB,iBAAiB;QACjB,oBAAoB;QACpB,gBAAgB;QAChB,kBAAkB;QAClB,mBAAmB;QACnB,gBAAgB;KACjB;IACD,CAAC,EAAE;QACD,mBAAmB;QACnB,sBAAsB;QACtB,sBAAsB;QACtB,wBAAwB;QACxB,qBAAqB;QACrB,0BAA0B;QAC1B,2BAA2B;KAC5B;IACD,CAAC,EAAE;QACD,YAAY;QACZ,kBAAkB;QAClB,iBAAiB;QACjB,iBAAiB;QACjB,qBAAqB;KACtB;IACD,CAAC,EAAE;QACD,yBAAyB;QACzB,0BAA0B;QAC1B,oBAAoB;QACpB,mBAAmB;QACnB,uBAAuB;QACvB,sBAAsB;QACtB,gBAAgB;QAChB,uBAAuB;KACxB;IACD,CAAC,EAAE,CAAC,UA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CACtC,QAAoE;IAOpE,MAAM,KAAK,GAA4D,EAAE,CAAC;IAC1E,IAAI,WAAW,GAAG,CAAC,CAAC;IACpB,IAAI,WAAW,GAAG,CAAC,CAAC;IAEpB,KAAK,IAAI,UAAU,GAAG,CAAC,EAAE,UAAU,IAAI,eAAe,EAAE,UAAU,EAAE,EAAE,CAAC;QACrE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,qBAAqB,CAAC,UAAU,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAC,CAAC;QAClF,KAAK,CAAC,IAAI,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;QAC1C,WAAW,IAAI,MAAM,CAAC;QACtB,WAAW,IAAI,KAAK,CAAC;IACvB,CAAC;IAED,MAAM,OAAO,GAAG,WAAW,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,WAAW,GAAG,WAAW,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAEpF,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,OAAO,EAAE,CAAC;AACtD,CAAC","sourcesContent":["/**\n * UDP Progress Fields — Single source of truth for step progress counting.\n *\n * Used by both frontend (stepper UI) and backend (computeStepProgressCounts).\n * Each step lists the curated fields that determine filled/total progress.\n *\n * Dot-paths (e.g., \"currentAddress.state\") resolve nested subdocument fields.\n * Only these fields count toward progress — extra fields in the schema are ignored.\n */\n\nexport const UDP_PROGRESS_FIELDS: Record<number, readonly string[]> = {\n 1: [\n // 'fullName' is a synthetic key — counts as filled if ANY of\n // firstName / middleName / lastName is set. See UDP_PROGRESS_SYNTHETIC.\n 'fullName',\n 'gender',\n 'dateOfBirth',\n 'whatsappNumber',\n 'primaryLanguage',\n 'secondaryLanguages',\n 'familyReligion',\n 'personalReligion',\n 'reservationStatus',\n 'minorityStatus',\n ],\n 2: [\n 'politicalSpectrum',\n 'selfPartyAssociation',\n 'partyAssociationRole',\n 'familyPartyAssociation',\n 'relativesInPolitics',\n 'publicOfficeAndElections',\n 'networkAndCivicEngagement',\n ],\n 3: [\n 'epicNumber',\n 'willVoteThisTime',\n 'didVoteLastTime',\n 'votingFrequency',\n 'primaryVotingIssues',\n ],\n 4: [\n 'participateInRevolution',\n 'desiredPoliticalPosition',\n 'leadershipSkillset',\n 'politicalExposure',\n 'comfortWithVisibility',\n 'socialInfluenceLevel',\n 'pastExperience',\n 'changesYouWantToBring',\n ],\n 5: ['mbtiType', 'oceanScores'],\n 6: [\n 'highestQualification',\n // Class 10\n 'education10th.board',\n 'education10th.schoolName',\n 'education10th.yearOfPassing',\n 'education10th.subjects',\n 'education10th.marksObtained',\n // Class 12\n 'education12th.institutionName',\n 'education12th.boardOrUniversity',\n 'education12th.yearOfPassing',\n 'education12th.courseOrStream',\n 'education12th.subjects',\n 'education12th.marksOrGrade',\n // Degree repeaters + certificates + notes\n 'diplomas',\n 'graduations',\n 'postGraduations',\n 'doctorates',\n 'postDoctorates',\n 'otherCertificates',\n 'educationNotes',\n ],\n 7: [\n 'employmentStatus',\n 'occupation',\n 'workShift',\n 'comfortableWithShift',\n 'desiredShift',\n 'incomeRange',\n 'dreamOccupation',\n ],\n 8: [\n 'neurodiverseIdentity',\n 'neurodevelopmentalConditions',\n 'mentalHealthConditions',\n 'personalityPatterns',\n 'neurologicalChronicConditions',\n 'ageOfRealization',\n 'sensoryProfile',\n 'cognitiveStrengths',\n 'executiveFunctionChallenges',\n 'learningStyle',\n 'communicationPreference',\n 'supportAndAccommodations',\n 'maskingAndBurnout',\n 'impactOnLife',\n ],\n 9: [\n 'disabilityStatus',\n 'generalHealth',\n 'healthInsurance',\n 'diet',\n 'physicalActivity',\n 'sleepQuality',\n 'substanceUse',\n 'stressLevel',\n ],\n 10: [\n 'viewOnAnimalCruelty',\n 'viewOnLgbtqStatements',\n 'viewOnLgbtqOpinion',\n 'viewOnTransgenderInclusion',\n 'viewOnTransgenderOpinion',\n 'facingCasteDiscrimination',\n 'casteDiscriminationPlaces',\n 'viewOnGenderEquality',\n ],\n 11: [\n 'currentAddress.state',\n 'currentAddress.district',\n 'currentAddress.village',\n 'permanentAddress.state',\n 'permanentAddress.district',\n 'permanentAddress.village',\n 'homeNativePlace.state',\n 'homeNativePlace.district',\n 'ancestralPlace.state',\n 'ancestralPlace.district',\n ],\n 12: [\n 'maritalStatus',\n 'familyMembers',\n 'numberOfDependents',\n 'housingType',\n 'householdIncome',\n 'bplCard',\n 'digitalAccess',\n 'migrationStatus',\n 'landOwnership',\n 'primaryIncomeSource',\n ],\n} as const;\n\n/** Total number of UDP steps */\nexport const UDP_TOTAL_STEPS = 12;\n\n/**\n * Synthetic progress keys — keys that aren't real fields but represent\n * a group of underlying fields. Counted as \"filled\" if ANY underlying\n * field is filled. Used for UI sub-steps that collect multiple fields\n * at once (e.g. the fullName sub-step that saves firstName, middleName,\n * and lastName).\n */\nexport const UDP_PROGRESS_SYNTHETIC: Record<string, readonly string[]> = {\n fullName: ['firstName', 'middleName', 'lastName'],\n} as const;\n\n/**\n * Resolve a dot-path (e.g., \"currentAddress.state\") against a data object.\n * Works with both plain objects and Mongoose subdocuments.\n */\nexport function getNestedValue(obj: Record<string, unknown>, path: string): unknown {\n const parts = path.split('.');\n let current: unknown = obj;\n\n for (const part of parts) {\n if (current === null || current === undefined || typeof current !== 'object') {\n return undefined;\n }\n current = (current as Record<string, unknown>)[part];\n }\n\n return current;\n}\n\n/** Determine if a field value counts as \"filled\" for progress */\nexport function isFieldFilled(value: unknown): boolean {\n if (value === null || value === undefined) return false;\n if (typeof value === 'string') return value.trim().length > 0;\n if (typeof value === 'number') return true;\n if (typeof value === 'boolean') return true;\n if (Array.isArray(value)) return value.length > 0;\n if (typeof value === 'object') {\n // Area entity ref - check for name\n if ('name' in value && typeof (value as Record<string, unknown>).name === 'string') {\n return (value as Record<string, unknown>).name !== '';\n }\n return Object.keys(value).length > 0;\n }\n return false;\n}\n\n/**\n * Calculate progress for a single step.\n * Shared between frontend (stepper UI) and backend (API response).\n */\nexport function calculateStepProgress(\n stepNumber: number,\n formData: Record<string, unknown> | undefined | null,\n): { filled: number; total: number } {\n const fields = UDP_PROGRESS_FIELDS[stepNumber];\n if (!fields) return { filled: 0, total: 0 };\n\n const total = fields.length;\n if (!formData || total === 0) return { filled: 0, total };\n\n let filled = 0;\n for (const fieldPath of fields) {\n // Synthetic keys (e.g., \"fullName\") — filled if ANY underlying field is filled.\n const syntheticPaths = UDP_PROGRESS_SYNTHETIC[fieldPath];\n if (syntheticPaths) {\n if (syntheticPaths.some((p) => isFieldFilled(getNestedValue(formData, p)))) {\n filled++;\n }\n continue;\n }\n if (isFieldFilled(getNestedValue(formData, fieldPath))) {\n filled++;\n }\n }\n\n return { filled, total };\n}\n\n/**\n * Calculate overall progress across all steps.\n * Returns per-step breakdown + overall percentage.\n *\n * Mirrors dating-schema's calculateDatingOverallProgress().\n *\n * @param stepData - Map of step number → form data (e.g., { 1: {...}, 2: {...} })\n */\nexport function calculateOverallProgress(\n stepData: Record<number, Record<string, unknown> | undefined | null>,\n): {\n steps: { stepNumber: number; filled: number; total: number }[];\n totalFilled: number;\n totalFields: number;\n percent: number;\n} {\n const steps: { stepNumber: number; filled: number; total: number }[] = [];\n let totalFilled = 0;\n let totalFields = 0;\n\n for (let stepNumber = 1; stepNumber <= UDP_TOTAL_STEPS; stepNumber++) {\n const { filled, total } = calculateStepProgress(stepNumber, stepData[stepNumber]);\n steps.push({ stepNumber, filled, total });\n totalFilled += filled;\n totalFields += total;\n }\n\n const percent = totalFields > 0 ? Math.round((totalFilled / totalFields) * 100) : 0;\n\n return { steps, totalFilled, totalFields, percent };\n}\n"]}
@@ -1,13 +1,12 @@
1
1
  /**
2
- * Step 08 — Neurodiversity (rebuilt 2026-04)
2
+ * Step 08 — Mental Health & Neurodiversity
3
3
  *
4
- * Exhaustive 11-field profile covering identity, conditions, age of
5
- * realization, sensory profile, cognitive strengths, executive function
6
- * challenges, learning style, communication preference, support needs,
7
- * masking & burnout, and impact on daily life.
4
+ * 14 sub-steps: identity, 4 condition categories (neurodevelopmental,
5
+ * mental health, personality, neurological/chronic), age of realization,
6
+ * sensory, cognitive, executive function, learning, communication,
7
+ * support, masking, impact.
8
8
  *
9
- * All fields optional (UDP philosophy). Multi-selects store arrays of
10
- * option-value strings defined in profile-fields/08-neurodiversity.ts.
9
+ * All fields optional. Multi-selects store arrays of option-value strings.
11
10
  *
12
11
  * @module udp-schema/step-08
13
12
  */
@@ -20,7 +19,10 @@ export declare const step08NeurodiversitySchema: z.ZodObject<{
20
19
  exploring: "exploring";
21
20
  no_neurotypical: "no_neurotypical";
22
21
  }>>;
23
- conditions: z.ZodOptional<z.ZodArray<z.ZodString>>;
22
+ neurodevelopmentalConditions: z.ZodOptional<z.ZodArray<z.ZodString>>;
23
+ mentalHealthConditions: z.ZodOptional<z.ZodArray<z.ZodString>>;
24
+ personalityPatterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
25
+ neurologicalChronicConditions: z.ZodOptional<z.ZodArray<z.ZodString>>;
24
26
  ageOfRealization: z.ZodOptional<z.ZodEnum<{
25
27
  prefer_not_to_say: "prefer_not_to_say";
26
28
  childhood: "childhood";
@@ -1 +1 @@
1
- {"version":3,"file":"step-08.schema.d.ts","sourceRoot":"","sources":["../src/step-08.schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA+ErC,CAAC;AAIH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
1
+ {"version":3,"file":"step-08.schema.d.ts","sourceRoot":"","sources":["../src/step-08.schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAwFrC,CAAC;AAEH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
@@ -1,20 +1,18 @@
1
1
  /**
2
- * Step 08 — Neurodiversity (rebuilt 2026-04)
2
+ * Step 08 — Mental Health & Neurodiversity
3
3
  *
4
- * Exhaustive 11-field profile covering identity, conditions, age of
5
- * realization, sensory profile, cognitive strengths, executive function
6
- * challenges, learning style, communication preference, support needs,
7
- * masking & burnout, and impact on daily life.
4
+ * 14 sub-steps: identity, 4 condition categories (neurodevelopmental,
5
+ * mental health, personality, neurological/chronic), age of realization,
6
+ * sensory, cognitive, executive function, learning, communication,
7
+ * support, masking, impact.
8
8
  *
9
- * All fields optional (UDP philosophy). Multi-selects store arrays of
10
- * option-value strings defined in profile-fields/08-neurodiversity.ts.
9
+ * All fields optional. Multi-selects store arrays of option-value strings.
11
10
  *
12
11
  * @module udp-schema/step-08
13
12
  */
14
13
  import { z } from 'zod';
15
- // ─── Main Step 08 Schema ────────────────────────────────────────────────────
16
14
  export const step08NeurodiversitySchema = z.object({
17
- /** Identity + diagnosis status merged into one field. */
15
+ /** Identity + diagnosis status. */
18
16
  neurodiverseIdentity: z
19
17
  .enum([
20
18
  'yes_diagnosed',
@@ -24,8 +22,14 @@ export const step08NeurodiversitySchema = z.object({
24
22
  'prefer_not_to_say',
25
23
  ])
26
24
  .optional(),
27
- /** Specific ND conditions free strings matching neurodiversityConditionOptions values. */
28
- conditions: z.array(z.string().trim()).optional(),
25
+ /** Neurodevelopmental conditions (core ND). */
26
+ neurodevelopmentalConditions: z.array(z.string().trim()).optional(),
27
+ /** Mental health & mood conditions. */
28
+ mentalHealthConditions: z.array(z.string().trim()).optional(),
29
+ /** Personality patterns (DSM-5 Cluster A/B/C). */
30
+ personalityPatterns: z.array(z.string().trim()).optional(),
31
+ /** Neurological & chronic conditions. */
32
+ neurologicalChronicConditions: z.array(z.string().trim()).optional(),
29
33
  /** When the respondent realized they were neurodivergent. */
30
34
  ageOfRealization: z
31
35
  .enum([
@@ -74,11 +78,11 @@ export const step08NeurodiversitySchema = z.object({
74
78
  .optional(),
75
79
  /** Support & accommodations that help. */
76
80
  supportAndAccommodations: z.array(z.string().trim()).optional(),
77
- /** How often / how much the respondent masks in public. */
81
+ /** Masking frequency. */
78
82
  maskingAndBurnout: z
79
83
  .enum(['frequently', 'sometimes', 'rarely', 'never', 'not_sure', 'prefer_not_to_say'])
80
84
  .optional(),
81
- /** Overall impact of neurodivergence on daily life. */
85
+ /** Impact on daily life. */
82
86
  impactOnLife: z
83
87
  .enum(['significant', 'moderate', 'mild', 'minimal', 'varies', 'prefer_not_to_say'])
84
88
  .optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"step-08.schema.js","sourceRoot":"","sources":["../src/step-08.schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,+EAA+E;AAE/E,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,yDAAyD;IACzD,oBAAoB,EAAE,CAAC;SACpB,IAAI,CAAC;QACJ,eAAe;QACf,qBAAqB;QACrB,WAAW;QACX,iBAAiB;QACjB,mBAAmB;KACpB,CAAC;SACD,QAAQ,EAAE;IAEb,4FAA4F;IAC5F,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE;IAEjD,6DAA6D;IAC7D,gBAAgB,EAAE,CAAC;SAChB,IAAI,CAAC;QACJ,WAAW;QACX,MAAM;QACN,aAAa;QACb,OAAO;QACP,YAAY;QACZ,iBAAiB;QACjB,mBAAmB;KACpB,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AAC;SACnF,QAAQ,EAAE;CACd,CAAC,CAAC","sourcesContent":["/**\n * Step 08 — Neurodiversity (rebuilt 2026-04)\n *\n * Exhaustive 11-field profile covering identity, conditions, age of\n * realization, sensory profile, cognitive strengths, executive function\n * challenges, learning style, communication preference, support needs,\n * masking & burnout, and impact on daily life.\n *\n * All fields optional (UDP philosophy). Multi-selects store arrays of\n * option-value strings defined in profile-fields/08-neurodiversity.ts.\n *\n * @module udp-schema/step-08\n */\n\nimport { z } from 'zod';\n\n// ─── Main Step 08 Schema ────────────────────────────────────────────────────\n\nexport const step08NeurodiversitySchema = z.object({\n /** Identity + diagnosis status merged into one field. */\n neurodiverseIdentity: z\n .enum([\n 'yes_diagnosed',\n 'yes_self_identified',\n 'exploring',\n 'no_neurotypical',\n 'prefer_not_to_say',\n ])\n .optional(),\n\n /** Specific ND conditions free strings matching neurodiversityConditionOptions values. */\n conditions: z.array(z.string().trim()).optional(),\n\n /** When the respondent realized they were neurodivergent. */\n ageOfRealization: z\n .enum([\n 'childhood',\n 'teen',\n 'young_adult',\n 'adult',\n 'later_life',\n 'still_exploring',\n 'prefer_not_to_say',\n ])\n .optional(),\n\n /** Sensory profile (hyper/hypo per sense, seeking, overwhelm). */\n sensoryProfile: z.array(z.string().trim()).optional(),\n\n /** ND-associated cognitive strengths. */\n cognitiveStrengths: z.array(z.string().trim()).optional(),\n\n /** Executive function challenges. */\n executiveFunctionChallenges: z.array(z.string().trim()).optional(),\n\n /** Preferred learning style. */\n learningStyle: z\n .enum([\n 'visual',\n 'auditory',\n 'kinesthetic',\n 'reading_writing',\n 'multimodal',\n 'needs_repetition',\n 'needs_structure',\n 'prefers_autonomy',\n 'prefer_not_to_say',\n ])\n .optional(),\n\n /** Preferred communication style. */\n communicationPreference: z\n .enum([\n 'face_to_face',\n 'written',\n 'phone',\n 'video',\n 'small_groups',\n 'one_on_one',\n 'visual_aids',\n 'async',\n 'prefer_not_to_say',\n ])\n .optional(),\n\n /** Support & accommodations that help. */\n supportAndAccommodations: z.array(z.string().trim()).optional(),\n\n /** How often / how much the respondent masks in public. */\n maskingAndBurnout: z\n .enum(['frequently', 'sometimes', 'rarely', 'never', 'not_sure', 'prefer_not_to_say'])\n .optional(),\n\n /** Overall impact of neurodivergence on daily life. */\n impactOnLife: z\n .enum(['significant', 'moderate', 'mild', 'minimal', 'varies', 'prefer_not_to_say'])\n .optional(),\n});\n\n// ─── Inferred types ─────────────────────────────────────────────────────────\n\nexport type Step08NeurodiversityInput = z.infer<typeof step08NeurodiversitySchema>;\n"]}
1
+ {"version":3,"file":"step-08.schema.js","sourceRoot":"","sources":["../src/step-08.schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,mCAAmC;IACnC,oBAAoB,EAAE,CAAC;SACpB,IAAI,CAAC;QACJ,eAAe;QACf,qBAAqB;QACrB,WAAW;QACX,iBAAiB;QACjB,mBAAmB;KACpB,CAAC;SACD,QAAQ,EAAE;IAEb,+CAA+C;IAC/C,4BAA4B,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE;IAEnE,uCAAuC;IACvC,sBAAsB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE;IAE7D,kDAAkD;IAClD,mBAAmB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE;IAE1D,yCAAyC;IACzC,6BAA6B,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE;IAEpE,6DAA6D;IAC7D,gB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IAC5B,YAAY,EAAE,CAAC;SACZ,IAAI,CAAC,CAAC,aAAa,EAAE,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,mBAAmB,CAAC,CAAC;SACnF,QAAQ,EAAE;CACd,CAAC,CAAC","sourcesContent":["/**\n * Step 08 — Mental Health & Neurodiversity\n *\n * 14 sub-steps: identity, 4 condition categories (neurodevelopmental,\n * mental health, personality, neurological/chronic), age of realization,\n * sensory, cognitive, executive function, learning, communication,\n * support, masking, impact.\n *\n * All fields optional. Multi-selects store arrays of option-value strings.\n *\n * @module udp-schema/step-08\n */\n\nimport { z } from 'zod';\n\nexport const step08NeurodiversitySchema = z.object({\n /** Identity + diagnosis status. */\n neurodiverseIdentity: z\n .enum([\n 'yes_diagnosed',\n 'yes_self_identified',\n 'exploring',\n 'no_neurotypical',\n 'prefer_not_to_say',\n ])\n .optional(),\n\n /** Neurodevelopmental conditions (core ND). */\n neurodevelopmentalConditions: z.array(z.string().trim()).optional(),\n\n /** Mental health & mood conditions. */\n mentalHealthConditions: z.array(z.string().trim()).optional(),\n\n /** Personality patterns (DSM-5 Cluster A/B/C). */\n personalityPatterns: z.array(z.string().trim()).optional(),\n\n /** Neurological & chronic conditions. */\n neurologicalChronicConditions: z.array(z.string().trim()).optional(),\n\n /** When the respondent realized they were neurodivergent. */\n ageOfRealization: z\n .enum([\n 'childhood',\n 'teen',\n 'young_adult',\n 'adult',\n 'later_life',\n 'still_exploring',\n 'prefer_not_to_say',\n ])\n .optional(),\n\n /** Sensory profile (hyper/hypo per sense, seeking, overwhelm). */\n sensoryProfile: z.array(z.string().trim()).optional(),\n\n /** ND-associated cognitive strengths. */\n cognitiveStrengths: z.array(z.string().trim()).optional(),\n\n /** Executive function challenges. */\n executiveFunctionChallenges: z.array(z.string().trim()).optional(),\n\n /** Preferred learning style. */\n learningStyle: z\n .enum([\n 'visual',\n 'auditory',\n 'kinesthetic',\n 'reading_writing',\n 'multimodal',\n 'needs_repetition',\n 'needs_structure',\n 'prefers_autonomy',\n 'prefer_not_to_say',\n ])\n .optional(),\n\n /** Preferred communication style. */\n communicationPreference: z\n .enum([\n 'face_to_face',\n 'written',\n 'phone',\n 'video',\n 'small_groups',\n 'one_on_one',\n 'visual_aids',\n 'async',\n 'prefer_not_to_say',\n ])\n .optional(),\n\n /** Support & accommodations that help. */\n supportAndAccommodations: z.array(z.string().trim()).optional(),\n\n /** Masking frequency. */\n maskingAndBurnout: z\n .enum(['frequently', 'sometimes', 'rarely', 'never', 'not_sure', 'prefer_not_to_say'])\n .optional(),\n\n /** Impact on daily life. */\n impactOnLife: z\n .enum(['significant', 'moderate', 'mild', 'minimal', 'varies', 'prefer_not_to_say'])\n .optional(),\n});\n\nexport type Step08NeurodiversityInput = z.infer<typeof step08NeurodiversitySchema>;\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "udp-schema",
3
- "version": "2.15.0",
3
+ "version": "2.16.0",
4
4
  "description": "Shared Zod schemas for User Detailed Profile (frontend + backend).",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",