udp-schema 2.5.0 → 2.6.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":"onboarding-config.js","sourceRoot":"","sources":["../src/onboarding-config.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAyBH,+EAA+E;AAE/E,MAAM,CAAC,MAAM,qBAAqB,GAA6C;IAC7E,wBAAwB;IACxB,QAAQ,EAAE;QACR,KAAK,EAAE,gBAAgB;QACvB,QAAQ,EAAE,mBAAmB;QAC7B,cAAc,EAAE,kBAAkB;QAClC,QAAQ,EAAE,KAAK;KAChB;IACD,MAAM,EAAE;QACN,KAAK,EAAE,cAAc;QACrB,QAAQ,EAAE,iBAAiB;QAC3B,cAAc,EAAE,gBAAgB;QAChC,QAAQ,EAAE,KAAK;KAChB;IACD,WAAW,EAAE;QACX,KAAK,EAAE,mBAAmB;QAC1B,QAAQ,EAAE,sBAAsB;QAChC,cAAc,EAAE,qBAAqB;QACrC,QAAQ,EAAE,KAAK;KAChB;IACD,cAAc,EAAE;QACd,KAAK,EAAE,sBAAsB;QAC7B,QAAQ,EAAE,yBAAyB;QACnC,cAAc,EAAE,wBAAwB;QACxC,QAAQ,EAAE,KAAK;KAChB;IACD,eAAe,EAAE;QACf,KAAK,EAAE,uBAAuB;QAC9B,QAAQ,EAAE,0BAA0B;QACpC,cAAc,EAAE,yBAAyB;QACzC,QAAQ,EAAE,KAAK;KAChB;IACD,kBAAkB,EAAE;QAClB,KAAK,EAAE,0BAA0B;QACjC,QAAQ,EAAE,6BAA6B;QACvC,cAAc,EAAE,4BAA4B;QAC5C,QAAQ,EAAE,KAAK;KAChB;IACD,cAAc,EAAE;QACd,KAAK,EAAE,sBAAsB;QAC7B,QAAQ,EAAE,yBAAyB;QACnC,cAAc,EAAE,wBAAwB;QACxC,QAAQ,EAAE,KAAK;KAChB;IACD,gBAAgB,EAAE;QAChB,KAAK,E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AO,SAAS,CAAC;IAChC,OAAO,qBAAqB,CAAC,QAAQ,CAAC,CAAC;AACzC,CAAC;AAED,kCAAkC;AAClC,MAAM,CAAC,MAAM,oBAAoB,GAAG,0BAA0B,CAAC,MAAM,CAAC;AAEtE,uDAAuD;AACvD,MAAM,CAAC,MAAM,mBAAmB,GAAG,0BAA0B,CAAC,MAAM,CAClE,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,GAAG,GAAG,CAAC,CAAC,MAAM,CAAC,MAAM,EACjC,CAAC,CACF,CAAC","sourcesContent":["/**\r\n * UDP Onboarding Field Configuration\r\n * ====================================\r\n * Single source of truth for all per-field onboarding metadata.\r\n * Both frontend and backend import this.\r\n *\r\n * IMPORTANT: All string properties (title, subtitle, successMessage,\r\n * step group label) are i18n KEYS, not display text. The frontend resolves\r\n * them via useTranslations(\"udp\") → t(config.title).\r\n *\r\n * Translation files:\r\n * - messages/en/udp.json (English — under \"udp\" root key)\r\n * - messages/hi/udp.json (Hindi — under \"udp\" root key)\r\n *\r\n * @module udp-schema/onboarding-config\r\n */\r\n\r\n// ─── Types ───────────────────────────────────────────────────────────────────\r\n\r\nexport interface UdpOnboardingFieldConfig {\r\n /** i18n key for the question heading (resolved via t(title)) */\r\n title: string;\r\n /** i18n key for help text below the heading */\r\n subtitle?: string;\r\n /** i18n key for toast message on successful save */\r\n successMessage: string;\r\n /** Whether the field is required to proceed */\r\n required: boolean;\r\n}\r\n\r\n/** Step grouping for the UDP onboarding flow */\r\nexport interface UdpOnboardingStepGroup {\r\n /** i18n key for section label */\r\n label: string;\r\n /** Emoji character (e.g., '📝', '🏛️') rendered directly */\r\n icon: string;\r\n /** Ordered list of field keys in this section */\r\n fields: string[];\r\n}\r\n\r\n// ─── Per-field onboarding metadata ──────────────────────────────────────────\r\n\r\nexport const UDP_ONBOARDING_FIELDS: Record<string, UdpOnboardingFieldConfig> = {\r\n // ── Step 1: Profile ──\r\n fullName: {\r\n title: 'fullName.title',\r\n subtitle: 'fullName.subtitle',\r\n successMessage: 'fullName.success',\r\n required: false,\r\n },\r\n gender: {\r\n title: 'gender.title',\r\n subtitle: 'gender.subtitle',\r\n successMessage: 'gender.success',\r\n required: false,\r\n },\r\n dateOfBirth: {\r\n title: 'dateOfBirth.title',\r\n subtitle: 'dateOfBirth.subtitle',\r\n successMessage: 'dateOfBirth.success',\r\n required: false,\r\n },\r\n whatsappNumber: {\r\n title: 'whatsappNumber.title',\r\n subtitle: 'whatsappNumber.subtitle',\r\n successMessage: 'whatsappNumber.success',\r\n required: false,\r\n },\r\n primaryLanguage: {\r\n title: 'primaryLanguage.title',\r\n subtitle: 'primaryLanguage.subtitle',\r\n successMessage: 'primaryLanguage.success',\r\n required: false,\r\n },\r\n secondaryLanguages: {\r\n title: 'secondaryLanguages.title',\r\n subtitle: 'secondaryLanguages.subtitle',\r\n successMessage: 'secondaryLanguages.success',\r\n required: false,\r\n },\r\n familyReligion: {\r\n title: 'familyReligion.title',\r\n subtitle: 'familyReligion.subtitle',\r\n successMessage: 'familyReligion.success',\r\n required: false,\r\n },\r\n personalReligion: {\r\n title: 'personalReligion.title',\r\n subtitle: 'personalReligion.subtitle',\r\n successMessage: 'personalReligion.success',\r\n required: false,\r\n },\r\n reservationStatus: {\r\n title: 'reservationStatus.title',\r\n subtitle: 'reservationStatus.subtitle',\r\n successMessage: 'reservationStatus.success',\r\n required: false,\r\n },\r\n minorityStatus: {\r\n title: 'minorityStatus.title',\r\n subtitle: 'minorityStatus.subtitle',\r\n successMessage: 'minorityStatus.success',\r\n required: false,\r\n },\r\n\r\n // ── Step 2: Political Association & History ──\r\n politicalSpectrum: {\r\n title: 'politicalSpectrum.title',\r\n subtitle: 'politicalSpectrum.subtitle',\r\n successMessage: 'politicalSpectrum.success',\r\n required: false,\r\n },\r\n selfPartyAssociation: {\r\n title: 'selfPartyAssociation.title',\r\n subtitle: 'selfPartyAssociation.subtitle',\r\n successMessage: 'selfPartyAssociation.success',\r\n required: false,\r\n },\r\n familyPartyAssociation: {\r\n title: 'familyPartyAssociation.title',\r\n subtitle: 'familyPartyAssociation.subtitle',\r\n successMessage: 'familyPartyAssociation.success',\r\n required: false,\r\n },\r\n publicOfficeAndElections: {\r\n title: 'publicOfficeAndElections.title',\r\n subtitle: 'publicOfficeAndElections.subtitle',\r\n successMessage: 'publicOfficeAndElections.success',\r\n required: false,\r\n },\r\n networkAndCivicEngagement: {\r\n title: 'networkAndCivicEngagement.title',\r\n subtitle: 'networkAndCivicEngagement.subtitle',\r\n successMessage: 'networkAndCivicEngagement.success',\r\n required: false,\r\n },\r\n\r\n // ── Step 3: Electoral Behaviour ──\r\n epicNumber: {\r\n title: 'epicNumber.title',\r\n subtitle: 'epicNumber.subtitle',\r\n successMessage: 'epicNumber.success',\r\n required: false,\r\n },\r\n willVoteThisTime: {\r\n title: 'willVoteThisTime.title',\r\n subtitle: 'willVoteThisTime.subtitle',\r\n successMessage: 'willVoteThisTime.success',\r\n required: false,\r\n },\r\n didVoteLastTime: {\r\n title: 'didVoteLastTime.title',\r\n subtitle: 'didVoteLastTime.subtitle',\r\n successMessage: 'didVoteLastTime.success',\r\n required: false,\r\n },\r\n votingFrequency: {\r\n title: 'votingFrequency.title',\r\n subtitle: 'votingFrequency.subtitle',\r\n successMessage: 'votingFrequency.success',\r\n required: false,\r\n },\r\n primaryVotingIssues: {\r\n title: 'primaryVotingIssues.title',\r\n subtitle: 'primaryVotingIssues.subtitle',\r\n successMessage: 'primaryVotingIssues.success',\r\n required: false,\r\n },\r\n\r\n // ── Step 4: Leadership & Ambitions ──\r\n participateInRevolution: {\r\n title: 'participateInRevolution.title',\r\n subtitle: 'participateInRevolution.subtitle',\r\n successMessage: 'participateInRevolution.success',\r\n required: false,\r\n },\r\n desiredPoliticalPosition: {\r\n title: 'desiredPoliticalPosition.title',\r\n subtitle: 'desiredPoliticalPosition.subtitle',\r\n successMessage: 'desiredPoliticalPosition.success',\r\n required: false,\r\n },\r\n leadershipSkillset: {\r\n title: 'leadershipSkillset.title',\r\n subtitle: 'leadershipSkillset.subtitle',\r\n successMessage: 'leadershipSkillset.success',\r\n required: false,\r\n },\r\n politicalExposure: {\r\n title: 'politicalExposure.title',\r\n subtitle: 'politicalExposure.subtitle',\r\n successMessage: 'politicalExposure.success',\r\n required: false,\r\n },\r\n comfortWithVisibility: {\r\n title: 'comfortWithVisibility.title',\r\n subtitle: 'comfortWithVisibility.subtitle',\r\n successMessage: 'comfortWithVisibility.success',\r\n required: false,\r\n },\r\n socialInfluenceLevel: {\r\n title: 'socialInfluenceLevel.title',\r\n subtitle: 'socialInfluenceLevel.subtitle',\r\n successMessage: 'socialInfluenceLevel.success',\r\n required: false,\r\n },\r\n pastExperience: {\r\n title: 'pastExperience.title',\r\n subtitle: 'pastExperience.subtitle',\r\n successMessage: 'pastExperience.success',\r\n required: false,\r\n },\r\n changesYouWantToBring: {\r\n title: 'changesYouWantToBring.title',\r\n subtitle: 'changesYouWantToBring.subtitle',\r\n successMessage: 'changesYouWantToBring.success',\r\n required: false,\r\n },\r\n\r\n // ── Step 5: Psychological Assessment ──\r\n mbtiType: {\r\n title: 'mbtiType.title',\r\n subtitle: 'mbtiType.subtitle',\r\n successMessage: 'mbtiType.success',\r\n required: false,\r\n },\r\n oceanScores: {\r\n title: 'oceanScores.title',\r\n subtitle: 'oceanScores.subtitle',\r\n successMessage: 'oceanScores.success',\r\n required: false,\r\n },\r\n\r\n // ── Step 6: Education ──\r\n highestQualification: {\r\n title: 'highestQualification.title',\r\n subtitle: 'highestQualification.subtitle',\r\n successMessage: 'highestQualification.success',\r\n required: false,\r\n },\r\n education10th: {\r\n title: 'education10th.title',\r\n subtitle: 'education10th.subtitle',\r\n successMessage: 'education10th.success',\r\n required: false,\r\n },\r\n education12th: {\r\n title: 'education12th.title',\r\n subtitle: 'education12th.subtitle',\r\n successMessage: 'education12th.success',\r\n required: false,\r\n },\r\n diplomas: {\r\n title: 'diplomas.title',\r\n subtitle: 'diplomas.subtitle',\r\n successMessage: 'diplomas.success',\r\n required: false,\r\n },\r\n graduations: {\r\n title: 'graduations.title',\r\n subtitle: 'graduations.subtitle',\r\n successMessage: 'graduations.success',\r\n required: false,\r\n },\r\n postGraduations: {\r\n title: 'postGraduations.title',\r\n subtitle: 'postGraduations.subtitle',\r\n successMessage: 'postGraduations.success',\r\n required: false,\r\n },\r\n doctorates: {\r\n title: 'doctorates.title',\r\n subtitle: 'doctorates.subtitle',\r\n successMessage: 'doctorates.success',\r\n required: false,\r\n },\r\n postDoctorates: {\r\n title: 'postDoctorates.title',\r\n subtitle: 'postDoctorates.subtitle',\r\n successMessage: 'postDoctorates.success',\r\n required: false,\r\n },\r\n otherCertificates: {\r\n title: 'otherCertificates.title',\r\n subtitle: 'otherCertificates.subtitle',\r\n successMessage: 'otherCertificates.success',\r\n required: false,\r\n },\r\n educationNotes: {\r\n title: 'educationNotes.title',\r\n subtitle: 'educationNotes.subtitle',\r\n successMessage: 'educationNotes.success',\r\n required: false,\r\n },\r\n\r\n // ── Step 7: Employment & Occupation ──\r\n employmentStatus: {\r\n title: 'employmentStatus.title',\r\n subtitle: 'employmentStatus.subtitle',\r\n successMessage: 'employmentStatus.success',\r\n required: false,\r\n },\r\n occupation: {\r\n title: 'occupation.title',\r\n subtitle: 'occupation.subtitle',\r\n successMessage: 'occupation.success',\r\n required: false,\r\n },\r\n workShift: {\r\n title: 'workShift.title',\r\n subtitle: 'workShift.subtitle',\r\n successMessage: 'workShift.success',\r\n required: false,\r\n },\r\n comfortableWithShift: {\r\n title: 'comfortableWithShift.title',\r\n subtitle: 'comfortableWithShift.subtitle',\r\n successMessage: 'comfortableWithShift.success',\r\n required: false,\r\n },\r\n desiredShift: {\r\n title: 'desiredShift.title',\r\n subtitle: 'desiredShift.subtitle',\r\n successMessage: 'desiredShift.success',\r\n required: false,\r\n },\r\n incomeRange: {\r\n title: 'incomeRange.title',\r\n subtitle: 'incomeRange.subtitle',\r\n successMessage: 'incomeRange.success',\r\n required: false,\r\n },\r\n dreamOccupation: {\r\n title: 'dreamOccupation.title',\r\n subtitle: 'dreamOccupation.subtitle',\r\n successMessage: 'dreamOccupation.success',\r\n required: false,\r\n },\r\n\r\n // ── Step 8: Neurodiversity ──\r\n neurodiverseIdentity: {\r\n title: 'neurodiverseIdentity.title',\r\n subtitle: 'neurodiverseIdentity.subtitle',\r\n successMessage: 'neurodiverseIdentity.success',\r\n required: false,\r\n },\r\n conditions: {\r\n title: 'conditions.title',\r\n subtitle: 'conditions.subtitle',\r\n successMessage: 'conditions.success',\r\n required: false,\r\n },\r\n sensoryPreferences: {\r\n title: 'sensoryPreferences.title',\r\n subtitle: 'sensoryPreferences.subtitle',\r\n successMessage: 'sensoryPreferences.success',\r\n required: false,\r\n },\r\n learningStyle: {\r\n title: 'learningStyle.title',\r\n subtitle: 'learningStyle.subtitle',\r\n successMessage: 'learningStyle.success',\r\n required: false,\r\n },\r\n communicationPreference: {\r\n title: 'communicationPreference.title',\r\n subtitle: 'communicationPreference.subtitle',\r\n successMessage: 'communicationPreference.success',\r\n required: false,\r\n },\r\n supportNeeds: {\r\n title: 'supportNeeds.title',\r\n subtitle: 'supportNeeds.subtitle',\r\n successMessage: 'supportNeeds.success',\r\n required: false,\r\n },\r\n\r\n // ── Step 9: Health & Lifestyle ──\r\n disabilityStatus: {\r\n title: 'disabilityStatus.title',\r\n subtitle: 'disabilityStatus.subtitle',\r\n successMessage: 'disabilityStatus.success',\r\n required: false,\r\n },\r\n generalHealth: {\r\n title: 'generalHealth.title',\r\n subtitle: 'generalHealth.subtitle',\r\n successMessage: 'generalHealth.success',\r\n required: false,\r\n },\r\n healthInsurance: {\r\n title: 'healthInsurance.title',\r\n subtitle: 'healthInsurance.subtitle',\r\n successMessage: 'healthInsurance.success',\r\n required: false,\r\n },\r\n diet: {\r\n title: 'diet.title',\r\n subtitle: 'diet.subtitle',\r\n successMessage: 'diet.success',\r\n required: false,\r\n },\r\n physicalActivity: {\r\n title: 'physicalActivity.title',\r\n subtitle: 'physicalActivity.subtitle',\r\n successMessage: 'physicalActivity.success',\r\n required: false,\r\n },\r\n sleepQuality: {\r\n title: 'sleepQuality.title',\r\n subtitle: 'sleepQuality.subtitle',\r\n successMessage: 'sleepQuality.success',\r\n required: false,\r\n },\r\n substanceUse: {\r\n title: 'substanceUse.title',\r\n subtitle: 'substanceUse.subtitle',\r\n successMessage: 'substanceUse.success',\r\n required: false,\r\n },\r\n stressLevel: {\r\n title: 'stressLevel.title',\r\n subtitle: 'stressLevel.subtitle',\r\n successMessage: 'stressLevel.success',\r\n required: false,\r\n },\r\n\r\n // ── Step 10: World View & Experience ──\r\n viewOnAnimalCruelty: {\r\n title: 'viewOnAnimalCruelty.title',\r\n subtitle: 'viewOnAnimalCruelty.subtitle',\r\n successMessage: 'viewOnAnimalCruelty.success',\r\n required: false,\r\n },\r\n viewOnLgbtqStatements: {\r\n title: 'viewOnLgbtqStatements.title',\r\n subtitle: 'viewOnLgbtqStatements.subtitle',\r\n successMessage: 'viewOnLgbtqStatements.success',\r\n required: false,\r\n },\r\n viewOnLgbtqOpinion: {\r\n title: 'viewOnLgbtqOpinion.title',\r\n subtitle: 'viewOnLgbtqOpinion.subtitle',\r\n successMessage: 'viewOnLgbtqOpinion.success',\r\n required: false,\r\n },\r\n viewOnTransgenderInclusion: {\r\n title: 'viewOnTransgenderInclusion.title',\r\n subtitle: 'viewOnTransgenderInclusion.subtitle',\r\n successMessage: 'viewOnTransgenderInclusion.success',\r\n required: false,\r\n },\r\n viewOnTransgenderOpinion: {\r\n title: 'viewOnTransgenderOpinion.title',\r\n subtitle: 'viewOnTransgenderOpinion.subtitle',\r\n successMessage: 'viewOnTransgenderOpinion.success',\r\n required: false,\r\n },\r\n facingCasteDiscrimination: {\r\n title: 'facingCasteDiscrimination.title',\r\n subtitle: 'facingCasteDiscrimination.subtitle',\r\n successMessage: 'facingCasteDiscrimination.success',\r\n required: false,\r\n },\r\n casteDiscriminationPlaces: {\r\n title: 'casteDiscriminationPlaces.title',\r\n subtitle: 'casteDiscriminationPlaces.subtitle',\r\n successMessage: 'casteDiscriminationPlaces.success',\r\n required: false,\r\n },\r\n viewOnGenderEquality: {\r\n title: 'viewOnGenderEquality.title',\r\n subtitle: 'viewOnGenderEquality.subtitle',\r\n successMessage: 'viewOnGenderEquality.success',\r\n required: false,\r\n },\r\n\r\n // ── Step 11: Residence & Address ──\r\n currentAddress: {\r\n title: 'currentAddress.title',\r\n subtitle: 'currentAddress.subtitle',\r\n successMessage: 'currentAddress.success',\r\n required: false,\r\n },\r\n permanentAddress: {\r\n title: 'permanentAddress.title',\r\n subtitle: 'permanentAddress.subtitle',\r\n successMessage: 'permanentAddress.success',\r\n required: false,\r\n },\r\n homeNativePlace: {\r\n title: 'homeNativePlace.title',\r\n subtitle: 'homeNativePlace.subtitle',\r\n successMessage: 'homeNativePlace.success',\r\n required: false,\r\n },\r\n ancestralPlace: {\r\n title: 'ancestralPlace.title',\r\n subtitle: 'ancestralPlace.subtitle',\r\n successMessage: 'ancestralPlace.success',\r\n required: false,\r\n },\r\n\r\n // ── Step 12: Household & Economic Profile ──\r\n maritalStatus: {\r\n title: 'maritalStatus.title',\r\n subtitle: 'maritalStatus.subtitle',\r\n successMessage: 'maritalStatus.success',\r\n required: false,\r\n },\r\n familyMembers: {\r\n title: 'familyMembers.title',\r\n subtitle: 'familyMembers.subtitle',\r\n successMessage: 'familyMembers.success',\r\n required: false,\r\n },\r\n numberOfDependents: {\r\n title: 'numberOfDependents.title',\r\n subtitle: 'numberOfDependents.subtitle',\r\n successMessage: 'numberOfDependents.success',\r\n required: false,\r\n },\r\n housingType: {\r\n title: 'housingType.title',\r\n subtitle: 'housingType.subtitle',\r\n successMessage: 'housingType.success',\r\n required: false,\r\n },\r\n householdIncome: {\r\n title: 'householdIncome.title',\r\n subtitle: 'householdIncome.subtitle',\r\n successMessage: 'householdIncome.success',\r\n required: false,\r\n },\r\n bplCard: {\r\n title: 'bplCard.title',\r\n subtitle: 'bplCard.subtitle',\r\n successMessage: 'bplCard.success',\r\n required: false,\r\n },\r\n digitalAccess: {\r\n title: 'digitalAccess.title',\r\n subtitle: 'digitalAccess.subtitle',\r\n successMessage: 'digitalAccess.success',\r\n required: false,\r\n },\r\n migrationStatus: {\r\n title: 'migrationStatus.title',\r\n subtitle: 'migrationStatus.subtitle',\r\n successMessage: 'migrationStatus.success',\r\n required: false,\r\n },\r\n landOwnership: {\r\n title: 'landOwnership.title',\r\n subtitle: 'landOwnership.subtitle',\r\n successMessage: 'landOwnership.success',\r\n required: false,\r\n },\r\n primaryIncomeSource: {\r\n title: 'primaryIncomeSource.title',\r\n subtitle: 'primaryIncomeSource.subtitle',\r\n successMessage: 'primaryIncomeSource.success',\r\n required: false,\r\n },\r\n};\r\n\r\n// ─── Step grouping ──────────────────────────────────────────────────────────\r\n\r\nexport const UDP_ONBOARDING_STEP_GROUPS: UdpOnboardingStepGroup[] = [\r\n {\r\n label: 'steps.profile',\r\n icon: '📝',\r\n fields: [\r\n 'fullName',\r\n 'gender',\r\n 'dateOfBirth',\r\n 'whatsappNumber',\r\n 'primaryLanguage',\r\n 'secondaryLanguages',\r\n 'familyReligion',\r\n 'personalReligion',\r\n 'reservationStatus',\r\n 'minorityStatus',\r\n ],\r\n },\r\n {\r\n label: 'steps.politicalAssociation',\r\n icon: '🏛️',\r\n fields: [\r\n 'politicalSpectrum',\r\n 'selfPartyAssociation',\r\n 'familyPartyAssociation',\r\n 'publicOfficeAndElections',\r\n 'networkAndCivicEngagement',\r\n ],\r\n },\r\n {\r\n label: 'steps.electoralBehaviour',\r\n icon: '🗳️',\r\n fields: [\r\n 'epicNumber',\r\n 'willVoteThisTime',\r\n 'didVoteLastTime',\r\n 'votingFrequency',\r\n 'primaryVotingIssues',\r\n ],\r\n },\r\n {\r\n label: 'steps.leadershipAmbitions',\r\n icon: '👑',\r\n fields: [\r\n 'participateInRevolution',\r\n 'desiredPoliticalPosition',\r\n 'leadershipSkillset',\r\n 'politicalExposure',\r\n 'comfortWithVisibility',\r\n 'socialInfluenceLevel',\r\n 'pastExperience',\r\n 'changesYouWantToBring',\r\n ],\r\n },\r\n {\r\n label: 'steps.psychologicalAssessment',\r\n icon: '🧩',\r\n fields: ['mbtiType', 'oceanScores'],\r\n },\r\n {\r\n label: 'steps.education',\r\n icon: '🎓',\r\n fields: [\r\n 'highestQualification',\r\n 'education10th',\r\n 'education12th',\r\n 'diplomas',\r\n 'graduations',\r\n 'postGraduations',\r\n 'doctorates',\r\n 'postDoctorates',\r\n 'otherCertificates',\r\n 'educationNotes',\r\n ],\r\n },\r\n {\r\n label: 'steps.employment',\r\n icon: '💼',\r\n fields: [\r\n 'employmentStatus',\r\n 'occupation',\r\n 'workShift',\r\n 'comfortableWithShift',\r\n 'desiredShift',\r\n 'incomeRange',\r\n 'dreamOccupation',\r\n ],\r\n },\r\n {\r\n label: 'steps.neurodiversity',\r\n icon: '🧠',\r\n fields: [\r\n 'neurodiverseIdentity',\r\n 'conditions',\r\n 'sensoryPreferences',\r\n 'learningStyle',\r\n 'communicationPreference',\r\n 'supportNeeds',\r\n ],\r\n },\r\n {\r\n label: 'steps.healthLifestyle',\r\n icon: '🏥',\r\n fields: [\r\n 'disabilityStatus',\r\n 'generalHealth',\r\n 'healthInsurance',\r\n 'diet',\r\n 'physicalActivity',\r\n 'sleepQuality',\r\n 'substanceUse',\r\n 'stressLevel',\r\n ],\r\n },\r\n {\r\n label: 'steps.worldView',\r\n icon: '🌿',\r\n fields: [\r\n 'viewOnAnimalCruelty',\r\n 'viewOnLgbtqStatements',\r\n 'viewOnLgbtqOpinion',\r\n 'viewOnTransgenderInclusion',\r\n 'viewOnTransgenderOpinion',\r\n 'facingCasteDiscrimination',\r\n 'casteDiscriminationPlaces',\r\n 'viewOnGenderEquality',\r\n ],\r\n },\r\n {\r\n label: 'steps.residence',\r\n icon: '🏠',\r\n fields: ['currentAddress', 'permanentAddress', 'homeNativePlace', 'ancestralPlace'],\r\n },\r\n {\r\n label: 'steps.household',\r\n icon: '🏡',\r\n fields: [\r\n 'maritalStatus',\r\n 'familyMembers',\r\n 'numberOfDependents',\r\n 'housingType',\r\n 'householdIncome',\r\n 'bplCard',\r\n 'digitalAccess',\r\n 'migrationStatus',\r\n 'landOwnership',\r\n 'primaryIncomeSource',\r\n ],\r\n },\r\n];\r\n\r\n// ─── Helpers ─────────────────────────────────────────────────────────────────\r\n\r\n/** Get onboarding config for a single field. */\r\nexport function getUdpOnboardingFieldConfig(\r\n fieldKey: string | undefined,\r\n): UdpOnboardingFieldConfig | undefined {\r\n if (!fieldKey) return undefined;\r\n return UDP_ONBOARDING_FIELDS[fieldKey];\r\n}\r\n\r\n/** Total number of main steps. */\r\nexport const UDP_TOTAL_MAIN_STEPS = UDP_ONBOARDING_STEP_GROUPS.length;\r\n\r\n/** Total number of sub-steps across all main steps. */\r\nexport const UDP_TOTAL_SUB_STEPS = UDP_ONBOARDING_STEP_GROUPS.reduce(\r\n (sum, g) => sum + g.fields.length,\r\n 0,\r\n);\r\n"]}
1
+ {"version":3,"file":"onboarding-config.js","sourceRoot":"","sources":["../src/onboarding-config.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAyBH,+EAA+E;AAE/E,MAAM,CAAC,MAAM,qBAAqB,GAA6C;IAC7E,wBAAwB;IACxB,QAAQ,EAAE;QACR,KAAK,EAAE,gBAAgB;QACvB,QAAQ,EAAE,mBAAmB;QAC7B,cAAc,EAAE,kBAAkB;QAClC,QAAQ,EAAE,KAAK;KAChB;IACD,MAAM,EAAE;QACN,KAAK,EAAE,cAAc;QACrB,QAAQ,EAAE,iBAAiB;QAC3B,cAAc,EAAE,gBAAgB;QAChC,QAAQ,EAAE,KAAK;KAChB;IACD,WAAW,EAAE;QACX,KAAK,EAAE,mBAAmB;QAC1B,QAAQ,EAAE,sBAAsB;QAChC,cAAc,EAAE,qBAAqB;QACrC,QAAQ,EAAE,KAAK;KAChB;IACD,cAAc,EAAE;QACd,KAAK,EAAE,sBAAsB;QAC7B,QAAQ,EAAE,yBAAyB;QACnC,cAAc,EAAE,wBA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ACD;QACE,KAAK,EAAE,iBAAiB;QACxB,IAAI,EAAE,IAAI;QACV,MAAM,EAAE,CAAC,gBAAgB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,gBAAgB,CAAC;KACpF;IACD;QACE,KAAK,EAAE,iBAAiB;QACxB,IAAI,EAAE,IAAI;QACV,MAAM,EAAE;YACN,eAAe;YACf,eAAe;YACf,oBAAoB;YACpB,aAAa;YACb,iBAAiB;YACjB,SAAS;YACT,eAAe;YACf,iBAAiB;YACjB,eAAe;YACf,qBAAqB;SACtB;KACF;CACF,CAAC;AAEF,gFAAgF;AAEhF,gDAAgD;AAChD,MAAM,UAAU,2BAA2B,CACzC,QAA4B;IAE5B,IAAI,CAAC,QAAQ;QAAE,OAAO,SAAS,CAAC;IAChC,OAAO,qBAAqB,CAAC,QAAQ,CAAC,CAAC;AACzC,CAAC;AAED,kCAAkC;AAClC,MAAM,CAAC,MAAM,oBAAoB,GAAG,0BAA0B,CAAC,MAAM,CAAC;AAEtE,uDAAuD;AACvD,MAAM,CAAC,MAAM,mBAAmB,GAAG,0BAA0B,CAAC,MAAM,CAClE,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,GAAG,GAAG,CAAC,CAAC,MAAM,CAAC,MAAM,EACjC,CAAC,CACF,CAAC","sourcesContent":["/**\n * UDP Onboarding Field Configuration\n * ====================================\n * Single source of truth for all per-field onboarding metadata.\n * Both frontend and backend import this.\n *\n * IMPORTANT: All string properties (title, subtitle, successMessage,\n * step group label) are i18n KEYS, not display text. The frontend resolves\n * them via useTranslations(\"udp\") → t(config.title).\n *\n * Translation files:\n * - messages/en/udp.json (English — under \"udp\" root key)\n * - messages/hi/udp.json (Hindi — under \"udp\" root key)\n *\n * @module udp-schema/onboarding-config\n */\n\n// ─── Types ───────────────────────────────────────────────────────────────────\n\nexport interface UdpOnboardingFieldConfig {\n /** i18n key for the question heading (resolved via t(title)) */\n title: string;\n /** i18n key for help text below the heading */\n subtitle?: string;\n /** i18n key for toast message on successful save */\n successMessage: string;\n /** Whether the field is required to proceed */\n required: boolean;\n}\n\n/** Step grouping for the UDP onboarding flow */\nexport interface UdpOnboardingStepGroup {\n /** i18n key for section label */\n label: string;\n /** Emoji character (e.g., '📝', '🏛️') rendered directly */\n icon: string;\n /** Ordered list of field keys in this section */\n fields: string[];\n}\n\n// ─── Per-field onboarding metadata ──────────────────────────────────────────\n\nexport const UDP_ONBOARDING_FIELDS: Record<string, UdpOnboardingFieldConfig> = {\n // ── Step 1: Profile ──\n fullName: {\n title: 'fullName.title',\n subtitle: 'fullName.subtitle',\n successMessage: 'fullName.success',\n required: false,\n },\n gender: {\n title: 'gender.title',\n subtitle: 'gender.subtitle',\n successMessage: 'gender.success',\n required: false,\n },\n dateOfBirth: {\n title: 'dateOfBirth.title',\n subtitle: 'dateOfBirth.subtitle',\n successMessage: 'dateOfBirth.success',\n required: false,\n },\n whatsappNumber: {\n title: 'whatsappNumber.title',\n subtitle: 'whatsappNumber.subtitle',\n successMessage: 'whatsappNumber.success',\n required: false,\n },\n primaryLanguage: {\n title: 'primaryLanguage.title',\n subtitle: 'primaryLanguage.subtitle',\n successMessage: 'primaryLanguage.success',\n required: false,\n },\n secondaryLanguages: {\n title: 'secondaryLanguages.title',\n subtitle: 'secondaryLanguages.subtitle',\n successMessage: 'secondaryLanguages.success',\n required: false,\n },\n familyReligion: {\n title: 'familyReligion.title',\n subtitle: 'familyReligion.subtitle',\n successMessage: 'familyReligion.success',\n required: false,\n },\n personalReligion: {\n title: 'personalReligion.title',\n subtitle: 'personalReligion.subtitle',\n successMessage: 'personalReligion.success',\n required: false,\n },\n reservationStatus: {\n title: 'reservationStatus.title',\n subtitle: 'reservationStatus.subtitle',\n successMessage: 'reservationStatus.success',\n required: false,\n },\n minorityStatus: {\n title: 'minorityStatus.title',\n subtitle: 'minorityStatus.subtitle',\n successMessage: 'minorityStatus.success',\n required: false,\n },\n\n // ── Step 2: Political Association & History ──\n politicalSpectrum: {\n title: 'politicalSpectrum.title',\n subtitle: 'politicalSpectrum.subtitle',\n successMessage: 'politicalSpectrum.success',\n required: false,\n },\n selfPartyAssociation: {\n title: 'selfPartyAssociation.title',\n subtitle: 'selfPartyAssociation.subtitle',\n successMessage: 'selfPartyAssociation.success',\n required: false,\n },\n familyPartyAssociation: {\n title: 'familyPartyAssociation.title',\n subtitle: 'familyPartyAssociation.subtitle',\n successMessage: 'familyPartyAssociation.success',\n required: false,\n },\n publicOfficeAndElections: {\n title: 'publicOfficeAndElections.title',\n subtitle: 'publicOfficeAndElections.subtitle',\n successMessage: 'publicOfficeAndElections.success',\n required: false,\n },\n networkAndCivicEngagement: {\n title: 'networkAndCivicEngagement.title',\n subtitle: 'networkAndCivicEngagement.subtitle',\n successMessage: 'networkAndCivicEngagement.success',\n required: false,\n },\n\n // ── Step 3: Electoral Behaviour ──\n epicNumber: {\n title: 'epicNumber.title',\n subtitle: 'epicNumber.subtitle',\n successMessage: 'epicNumber.success',\n required: false,\n },\n willVoteThisTime: {\n title: 'willVoteThisTime.title',\n subtitle: 'willVoteThisTime.subtitle',\n successMessage: 'willVoteThisTime.success',\n required: false,\n },\n didVoteLastTime: {\n title: 'didVoteLastTime.title',\n subtitle: 'didVoteLastTime.subtitle',\n successMessage: 'didVoteLastTime.success',\n required: false,\n },\n votingFrequency: {\n title: 'votingFrequency.title',\n subtitle: 'votingFrequency.subtitle',\n successMessage: 'votingFrequency.success',\n required: false,\n },\n primaryVotingIssues: {\n title: 'primaryVotingIssues.title',\n subtitle: 'primaryVotingIssues.subtitle',\n successMessage: 'primaryVotingIssues.success',\n required: false,\n },\n\n // ── Step 4: Leadership & Ambitions ──\n participateInRevolution: {\n title: 'participateInRevolution.title',\n subtitle: 'participateInRevolution.subtitle',\n successMessage: 'participateInRevolution.success',\n required: false,\n },\n desiredPoliticalPosition: {\n title: 'desiredPoliticalPosition.title',\n subtitle: 'desiredPoliticalPosition.subtitle',\n successMessage: 'desiredPoliticalPosition.success',\n required: false,\n },\n leadershipSkillset: {\n title: 'leadershipSkillset.title',\n subtitle: 'leadershipSkillset.subtitle',\n successMessage: 'leadershipSkillset.success',\n required: false,\n },\n politicalExposure: {\n title: 'politicalExposure.title',\n subtitle: 'politicalExposure.subtitle',\n successMessage: 'politicalExposure.success',\n required: false,\n },\n comfortWithVisibility: {\n title: 'comfortWithVisibility.title',\n subtitle: 'comfortWithVisibility.subtitle',\n successMessage: 'comfortWithVisibility.success',\n required: false,\n },\n socialInfluenceLevel: {\n title: 'socialInfluenceLevel.title',\n subtitle: 'socialInfluenceLevel.subtitle',\n successMessage: 'socialInfluenceLevel.success',\n required: false,\n },\n pastExperience: {\n title: 'pastExperience.title',\n subtitle: 'pastExperience.subtitle',\n successMessage: 'pastExperience.success',\n required: false,\n },\n changesYouWantToBring: {\n title: 'changesYouWantToBring.title',\n subtitle: 'changesYouWantToBring.subtitle',\n successMessage: 'changesYouWantToBring.success',\n required: false,\n },\n\n // ── Step 5: Psychological Assessment ──\n mbtiType: {\n title: 'mbtiType.title',\n subtitle: 'mbtiType.subtitle',\n successMessage: 'mbtiType.success',\n required: false,\n },\n oceanScores: {\n title: 'oceanScores.title',\n subtitle: 'oceanScores.subtitle',\n successMessage: 'oceanScores.success',\n required: false,\n },\n\n // ── Step 6: Education ──\n highestQualification: {\n title: 'highestQualification.title',\n subtitle: 'highestQualification.subtitle',\n successMessage: 'highestQualification.success',\n required: false,\n },\n education10th: {\n title: 'education10th.title',\n subtitle: 'education10th.subtitle',\n successMessage: 'education10th.success',\n required: false,\n },\n education12th: {\n title: 'education12th.title',\n subtitle: 'education12th.subtitle',\n successMessage: 'education12th.success',\n required: false,\n },\n diplomas: {\n title: 'diplomas.title',\n subtitle: 'diplomas.subtitle',\n successMessage: 'diplomas.success',\n required: false,\n },\n graduations: {\n title: 'graduations.title',\n subtitle: 'graduations.subtitle',\n successMessage: 'graduations.success',\n required: false,\n },\n postGraduations: {\n title: 'postGraduations.title',\n subtitle: 'postGraduations.subtitle',\n successMessage: 'postGraduations.success',\n required: false,\n },\n doctorates: {\n title: 'doctorates.title',\n subtitle: 'doctorates.subtitle',\n successMessage: 'doctorates.success',\n required: false,\n },\n postDoctorates: {\n title: 'postDoctorates.title',\n subtitle: 'postDoctorates.subtitle',\n successMessage: 'postDoctorates.success',\n required: false,\n },\n otherCertificates: {\n title: 'otherCertificates.title',\n subtitle: 'otherCertificates.subtitle',\n successMessage: 'otherCertificates.success',\n required: false,\n },\n educationNotes: {\n title: 'educationNotes.title',\n subtitle: 'educationNotes.subtitle',\n successMessage: 'educationNotes.success',\n required: false,\n },\n\n // ── Step 7: Employment & Occupation ──\n employmentStatus: {\n title: 'employmentStatus.title',\n subtitle: 'employmentStatus.subtitle',\n successMessage: 'employmentStatus.success',\n required: false,\n },\n occupation: {\n title: 'occupation.title',\n subtitle: 'occupation.subtitle',\n successMessage: 'occupation.success',\n required: false,\n },\n workShift: {\n title: 'workShift.title',\n subtitle: 'workShift.subtitle',\n successMessage: 'workShift.success',\n required: false,\n },\n comfortableWithShift: {\n title: 'comfortableWithShift.title',\n subtitle: 'comfortableWithShift.subtitle',\n successMessage: 'comfortableWithShift.success',\n required: false,\n },\n desiredShift: {\n title: 'desiredShift.title',\n subtitle: 'desiredShift.subtitle',\n successMessage: 'desiredShift.success',\n required: false,\n },\n incomeRange: {\n title: 'incomeRange.title',\n subtitle: 'incomeRange.subtitle',\n successMessage: 'incomeRange.success',\n required: false,\n },\n dreamOccupation: {\n title: 'dreamOccupation.title',\n subtitle: 'dreamOccupation.subtitle',\n successMessage: 'dreamOccupation.success',\n required: false,\n },\n\n // ── Step 8: Neurodiversity ──\n neurodiverseIdentity: {\n title: 'neurodiverseIdentity.title',\n subtitle: 'neurodiverseIdentity.subtitle',\n successMessage: 'neurodiverseIdentity.success',\n required: false,\n },\n conditions: {\n title: 'conditions.title',\n subtitle: 'conditions.subtitle',\n successMessage: 'conditions.success',\n required: false,\n },\n sensoryPreferences: {\n title: 'sensoryPreferences.title',\n subtitle: 'sensoryPreferences.subtitle',\n successMessage: 'sensoryPreferences.success',\n required: false,\n },\n learningStyle: {\n title: 'learningStyle.title',\n subtitle: 'learningStyle.subtitle',\n successMessage: 'learningStyle.success',\n required: false,\n },\n communicationPreference: {\n title: 'communicationPreference.title',\n subtitle: 'communicationPreference.subtitle',\n successMessage: 'communicationPreference.success',\n required: false,\n },\n supportNeeds: {\n title: 'supportNeeds.title',\n subtitle: 'supportNeeds.subtitle',\n successMessage: 'supportNeeds.success',\n required: false,\n },\n\n // ── Step 9: Health & Lifestyle ──\n disabilityStatus: {\n title: 'disabilityStatus.title',\n subtitle: 'disabilityStatus.subtitle',\n successMessage: 'disabilityStatus.success',\n required: false,\n },\n generalHealth: {\n title: 'generalHealth.title',\n subtitle: 'generalHealth.subtitle',\n successMessage: 'generalHealth.success',\n required: false,\n },\n healthInsurance: {\n title: 'healthInsurance.title',\n subtitle: 'healthInsurance.subtitle',\n successMessage: 'healthInsurance.success',\n required: false,\n },\n diet: {\n title: 'diet.title',\n subtitle: 'diet.subtitle',\n successMessage: 'diet.success',\n required: false,\n },\n physicalActivity: {\n title: 'physicalActivity.title',\n subtitle: 'physicalActivity.subtitle',\n successMessage: 'physicalActivity.success',\n required: false,\n },\n sleepQuality: {\n title: 'sleepQuality.title',\n subtitle: 'sleepQuality.subtitle',\n successMessage: 'sleepQuality.success',\n required: false,\n },\n substanceUse: {\n title: 'substanceUse.title',\n subtitle: 'substanceUse.subtitle',\n successMessage: 'substanceUse.success',\n required: false,\n },\n stressLevel: {\n title: 'stressLevel.title',\n subtitle: 'stressLevel.subtitle',\n successMessage: 'stressLevel.success',\n required: false,\n },\n\n // ── Step 10: World View & Experience ──\n viewOnAnimalCruelty: {\n title: 'viewOnAnimalCruelty.title',\n subtitle: 'viewOnAnimalCruelty.subtitle',\n successMessage: 'viewOnAnimalCruelty.success',\n required: false,\n },\n viewOnLgbtqStatements: {\n title: 'viewOnLgbtqStatements.title',\n subtitle: 'viewOnLgbtqStatements.subtitle',\n successMessage: 'viewOnLgbtqStatements.success',\n required: false,\n },\n viewOnLgbtqOpinion: {\n title: 'viewOnLgbtqOpinion.title',\n subtitle: 'viewOnLgbtqOpinion.subtitle',\n successMessage: 'viewOnLgbtqOpinion.success',\n required: false,\n },\n viewOnTransgenderInclusion: {\n title: 'viewOnTransgenderInclusion.title',\n subtitle: 'viewOnTransgenderInclusion.subtitle',\n successMessage: 'viewOnTransgenderInclusion.success',\n required: false,\n },\n viewOnTransgenderOpinion: {\n title: 'viewOnTransgenderOpinion.title',\n subtitle: 'viewOnTransgenderOpinion.subtitle',\n successMessage: 'viewOnTransgenderOpinion.success',\n required: false,\n },\n facingCasteDiscrimination: {\n title: 'facingCasteDiscrimination.title',\n subtitle: 'facingCasteDiscrimination.subtitle',\n successMessage: 'facingCasteDiscrimination.success',\n required: false,\n },\n casteDiscriminationPlaces: {\n title: 'casteDiscriminationPlaces.title',\n subtitle: 'casteDiscriminationPlaces.subtitle',\n successMessage: 'casteDiscriminationPlaces.success',\n required: false,\n },\n viewOnGenderEquality: {\n title: 'viewOnGenderEquality.title',\n subtitle: 'viewOnGenderEquality.subtitle',\n successMessage: 'viewOnGenderEquality.success',\n required: false,\n },\n\n // ── Step 11: Residence & Address ──\n currentAddress: {\n title: 'currentAddress.title',\n subtitle: 'currentAddress.subtitle',\n successMessage: 'currentAddress.success',\n required: false,\n },\n permanentAddress: {\n title: 'permanentAddress.title',\n subtitle: 'permanentAddress.subtitle',\n successMessage: 'permanentAddress.success',\n required: false,\n },\n homeNativePlace: {\n title: 'homeNativePlace.title',\n subtitle: 'homeNativePlace.subtitle',\n successMessage: 'homeNativePlace.success',\n required: false,\n },\n ancestralPlace: {\n title: 'ancestralPlace.title',\n subtitle: 'ancestralPlace.subtitle',\n successMessage: 'ancestralPlace.success',\n required: false,\n },\n\n // ── Step 12: Household & Economic Profile ──\n maritalStatus: {\n title: 'maritalStatus.title',\n subtitle: 'maritalStatus.subtitle',\n successMessage: 'maritalStatus.success',\n required: false,\n },\n familyMembers: {\n title: 'familyMembers.title',\n subtitle: 'familyMembers.subtitle',\n successMessage: 'familyMembers.success',\n required: false,\n },\n numberOfDependents: {\n title: 'numberOfDependents.title',\n subtitle: 'numberOfDependents.subtitle',\n successMessage: 'numberOfDependents.success',\n required: false,\n },\n housingType: {\n title: 'housingType.title',\n subtitle: 'housingType.subtitle',\n successMessage: 'housingType.success',\n required: false,\n },\n householdIncome: {\n title: 'householdIncome.title',\n subtitle: 'householdIncome.subtitle',\n successMessage: 'householdIncome.success',\n required: false,\n },\n bplCard: {\n title: 'bplCard.title',\n subtitle: 'bplCard.subtitle',\n successMessage: 'bplCard.success',\n required: false,\n },\n digitalAccess: {\n title: 'digitalAccess.title',\n subtitle: 'digitalAccess.subtitle',\n successMessage: 'digitalAccess.success',\n required: false,\n },\n migrationStatus: {\n title: 'migrationStatus.title',\n subtitle: 'migrationStatus.subtitle',\n successMessage: 'migrationStatus.success',\n required: false,\n },\n landOwnership: {\n title: 'landOwnership.title',\n subtitle: 'landOwnership.subtitle',\n successMessage: 'landOwnership.success',\n required: false,\n },\n primaryIncomeSource: {\n title: 'primaryIncomeSource.title',\n subtitle: 'primaryIncomeSource.subtitle',\n successMessage: 'primaryIncomeSource.success',\n required: false,\n },\n};\n\n// ─── Step grouping ──────────────────────────────────────────────────────────\n\nexport const UDP_ONBOARDING_STEP_GROUPS: UdpOnboardingStepGroup[] = [\n {\n label: 'steps.profile',\n icon: '📝',\n fields: [\n 'fullName',\n 'gender',\n 'dateOfBirth',\n 'whatsappNumber',\n 'primaryLanguage',\n 'secondaryLanguages',\n 'familyReligion',\n 'personalReligion',\n 'reservationStatus',\n 'minorityStatus',\n ],\n },\n {\n label: 'steps.politicalAssociation',\n icon: '🏛️',\n fields: [\n 'politicalSpectrum',\n 'selfPartyAssociation',\n 'familyPartyAssociation',\n 'publicOfficeAndElections',\n 'networkAndCivicEngagement',\n ],\n },\n {\n label: 'steps.electoralBehaviour',\n icon: '🗳️',\n fields: [\n 'epicNumber',\n 'willVoteThisTime',\n 'didVoteLastTime',\n 'votingFrequency',\n 'primaryVotingIssues',\n ],\n },\n {\n label: 'steps.leadershipAmbitions',\n icon: '👑',\n fields: [\n 'participateInRevolution',\n 'desiredPoliticalPosition',\n 'leadershipSkillset',\n 'politicalExposure',\n 'comfortWithVisibility',\n 'socialInfluenceLevel',\n 'pastExperience',\n 'changesYouWantToBring',\n ],\n },\n {\n label: 'steps.psychologicalAssessment',\n icon: '🧩',\n fields: ['mbtiType', 'oceanScores'],\n },\n {\n label: 'steps.education',\n icon: '🎓',\n fields: [\n 'highestQualification',\n 'education10th',\n 'education12th',\n 'diplomas',\n 'graduations',\n 'postGraduations',\n 'doctorates',\n 'postDoctorates',\n 'otherCertificates',\n 'educationNotes',\n ],\n },\n {\n label: 'steps.employment',\n icon: '💼',\n fields: [\n 'employmentStatus',\n 'occupation',\n 'workShift',\n 'comfortableWithShift',\n 'desiredShift',\n 'incomeRange',\n 'dreamOccupation',\n ],\n },\n {\n label: 'steps.neurodiversity',\n icon: '🧠',\n fields: [\n 'neurodiverseIdentity',\n 'conditions',\n 'sensoryPreferences',\n 'learningStyle',\n 'communicationPreference',\n 'supportNeeds',\n ],\n },\n {\n label: 'steps.healthLifestyle',\n icon: '🏥',\n fields: [\n 'disabilityStatus',\n 'generalHealth',\n 'healthInsurance',\n 'diet',\n 'physicalActivity',\n 'sleepQuality',\n 'substanceUse',\n 'stressLevel',\n ],\n },\n {\n label: 'steps.worldView',\n icon: '🌿',\n fields: [\n 'viewOnAnimalCruelty',\n 'viewOnLgbtqStatements',\n 'viewOnLgbtqOpinion',\n 'viewOnTransgenderInclusion',\n 'viewOnTransgenderOpinion',\n 'facingCasteDiscrimination',\n 'casteDiscriminationPlaces',\n 'viewOnGenderEquality',\n ],\n },\n {\n label: 'steps.residence',\n icon: '🏠',\n fields: ['currentAddress', 'permanentAddress', 'homeNativePlace', 'ancestralPlace'],\n },\n {\n label: 'steps.household',\n icon: '🏡',\n fields: [\n 'maritalStatus',\n 'familyMembers',\n 'numberOfDependents',\n 'housingType',\n 'householdIncome',\n 'bplCard',\n 'digitalAccess',\n 'migrationStatus',\n 'landOwnership',\n 'primaryIncomeSource',\n ],\n },\n];\n\n// ─── Helpers ─────────────────────────────────────────────────────────────────\n\n/** Get onboarding config for a single field. */\nexport function getUdpOnboardingFieldConfig(\n fieldKey: string | undefined,\n): UdpOnboardingFieldConfig | undefined {\n if (!fieldKey) return undefined;\n return UDP_ONBOARDING_FIELDS[fieldKey];\n}\n\n/** Total number of main steps. */\nexport const UDP_TOTAL_MAIN_STEPS = UDP_ONBOARDING_STEP_GROUPS.length;\n\n/** Total number of sub-steps across all main steps. */\nexport const UDP_TOTAL_SUB_STEPS = UDP_ONBOARDING_STEP_GROUPS.reduce(\n (sum, g) => sum + g.fields.length,\n 0,\n);\n"]}
@@ -371,13 +371,15 @@ export declare const udpOnboardingFormSchema: z.ZodObject<{
371
371
  primaryVotingIssues: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
372
372
  politicalSpectrum: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
373
373
  prefer_not_to_say: "prefer_not_to_say";
374
- "1_tradition_faith": "1_tradition_faith";
375
- "2_faith_curious": "2_faith_curious";
376
- "3_multiplicity_open": "3_multiplicity_open";
377
- "4_pragmatic_flexible": "4_pragmatic_flexible";
378
- "5_evidence_reasoning": "5_evidence_reasoning";
379
- "6_critical_reflective": "6_critical_reflective";
380
- "7_skeptic_optimize": "7_skeptic_optimize";
374
+ far_left: "far_left";
375
+ left: "left";
376
+ centre_left: "centre_left";
377
+ centrist: "centrist";
378
+ centre_right: "centre_right";
379
+ right: "right";
380
+ far_right: "far_right";
381
+ libertarian: "libertarian";
382
+ apolitical: "apolitical";
381
383
  }>>>;
382
384
  selfPartyAssociation: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodString>>>;
383
385
  familyPartyAssociation: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodString>>>;
@@ -402,12 +404,18 @@ export declare const udpOnboardingFormSchema: z.ZodObject<{
402
404
  man: "man";
403
405
  woman: "woman";
404
406
  non_binary: "non_binary";
405
- transgender_man: "transgender_man";
406
- transgender_woman: "transgender_woman";
407
- genderqueer: "genderqueer";
407
+ trans_man: "trans_man";
408
+ trans_woman: "trans_woman";
408
409
  genderfluid: "genderfluid";
410
+ genderqueer: "genderqueer";
409
411
  agender: "agender";
412
+ bigender: "bigender";
413
+ pangender: "pangender";
414
+ androgynous: "androgynous";
415
+ intersex: "intersex";
416
+ gender_nonconforming: "gender_nonconforming";
410
417
  two_spirit: "two_spirit";
418
+ hijra: "hijra";
411
419
  other: "other";
412
420
  prefer_not_to_say: "prefer_not_to_say";
413
421
  }>>>;
@@ -1 +1 @@
1
- {"version":3,"file":"onboarding-form.d.ts","sourceRoot":"","sources":["../src/onboarding-form.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAcxB;;;;;;;;GAQG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAoCxB,CAAC;AAEb,uEAAuE;AACvE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
1
+ {"version":3,"file":"onboarding-form.d.ts","sourceRoot":"","sources":["../src/onboarding-form.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAcxB;;;;;;;;GAQG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAoCxB,CAAC;AAEb,uEAAuE;AACvE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
@@ -5,46 +5,78 @@
5
5
  * matching the dating-schema profile-fields pattern.
6
6
  */
7
7
  import type { FieldGroup } from './types.js';
8
+ /**
9
+ * Gender options — matches dating-schema (01-hero-identity.ts) EXACTLY.
10
+ * Keep in sync with dating so both products share the same enum + copy.
11
+ */
8
12
  export declare const genderOptions: readonly [{
9
13
  readonly value: "man";
10
14
  readonly label: "Man";
15
+ readonly description: "Identify as male";
11
16
  }, {
12
17
  readonly value: "woman";
13
18
  readonly label: "Woman";
19
+ readonly description: "Identify as female";
14
20
  }, {
15
21
  readonly value: "non_binary";
16
22
  readonly label: "Non-binary";
17
23
  readonly description: "Neither exclusively male nor female";
18
24
  }, {
19
- readonly value: "transgender_man";
20
- readonly label: "Transgender Man";
21
- readonly description: "Assigned female at birth, identifies as male";
25
+ readonly value: "trans_man";
26
+ readonly label: "Trans Man";
27
+ readonly description: "Assigned female at birth, identify as male";
22
28
  }, {
23
- readonly value: "transgender_woman";
24
- readonly label: "Transgender Woman";
25
- readonly description: "Assigned male at birth, identifies as female";
26
- }, {
27
- readonly value: "genderqueer";
28
- readonly label: "Genderqueer";
29
- readonly description: "Outside the traditional gender binary";
29
+ readonly value: "trans_woman";
30
+ readonly label: "Trans Woman";
31
+ readonly description: "Assigned male at birth, identify as female";
30
32
  }, {
31
33
  readonly value: "genderfluid";
32
34
  readonly label: "Genderfluid";
33
35
  readonly description: "Gender identity shifts over time";
36
+ }, {
37
+ readonly value: "genderqueer";
38
+ readonly label: "Genderqueer";
39
+ readonly description: "Outside the traditional gender binary";
34
40
  }, {
35
41
  readonly value: "agender";
36
42
  readonly label: "Agender";
37
- readonly description: "No specific gender identity";
43
+ readonly description: "No gender identity or gender-neutral";
44
+ }, {
45
+ readonly value: "bigender";
46
+ readonly label: "Bigender";
47
+ readonly description: "Identify as two genders simultaneously or alternating";
48
+ }, {
49
+ readonly value: "pangender";
50
+ readonly label: "Pangender";
51
+ readonly description: "Identify with all genders or many gender identities";
52
+ }, {
53
+ readonly value: "androgynous";
54
+ readonly label: "Androgynous";
55
+ readonly description: "Blend of masculine and feminine expression";
56
+ }, {
57
+ readonly value: "intersex";
58
+ readonly label: "Intersex";
59
+ readonly description: "Born with sex characteristics that don't fit typical male/female";
60
+ }, {
61
+ readonly value: "gender_nonconforming";
62
+ readonly label: "Gender Non-conforming";
63
+ readonly description: "Expression doesn't align with conventional expectations";
38
64
  }, {
39
65
  readonly value: "two_spirit";
40
66
  readonly label: "Two-Spirit";
41
67
  readonly description: "Indigenous identity encompassing multiple genders";
68
+ }, {
69
+ readonly value: "hijra";
70
+ readonly label: "Hijra";
71
+ readonly description: "South Asian third-gender identity — legally recognized in India";
42
72
  }, {
43
73
  readonly value: "other";
44
74
  readonly label: "Other";
75
+ readonly description: "Another identity not listed here";
45
76
  }, {
46
77
  readonly value: "prefer_not_to_say";
47
78
  readonly label: "Prefer not to say";
79
+ readonly description: "Keep this private";
48
80
  }];
49
81
  export declare const religionOptions: readonly [{
50
82
  readonly value: "hindu";
@@ -1 +1 @@
1
- {"version":3,"file":"01-profile.d.ts","sourceRoot":"","sources":["../../src/profile-fields/01-profile.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAI7C,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4BhB,CAAC;AAEX,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmDlB,CAAC;AAEX,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8BlB,CAAC;AAEX,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;EASrB,CAAC;AAEX,eAAO,MAAM,eAAe;;;;;;;;;;;;EAKlB,CAAC;AAIX,eAAO,MAAM,OAAO,EAAE,UAqGrB,CAAC"}
1
+ {"version":3,"file":"01-profile.d.ts","sourceRoot":"","sources":["../../src/profile-fields/01-profile.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAI7C;;;GAGG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8DhB,CAAC;AAEX,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmDlB,CAAC;AAEX,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8BlB,CAAC;AAEX,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;EASrB,CAAC;AAEX,eAAO,MAAM,eAAe;;;;;;;;;;;;EAKlB,CAAC;AAIX,eAAO,MAAM,OAAO,EAAE,UAqGrB,CAAC"}
@@ -5,34 +5,72 @@
5
5
  * matching the dating-schema profile-fields pattern.
6
6
  */
7
7
  // ─── Shared option arrays (exported for reuse) ─────────────────────────────
8
+ /**
9
+ * Gender options — matches dating-schema (01-hero-identity.ts) EXACTLY.
10
+ * Keep in sync with dating so both products share the same enum + copy.
11
+ */
8
12
  export const genderOptions = [
9
- { value: 'man', label: 'Man' },
10
- { value: 'woman', label: 'Woman' },
11
- { value: 'non_binary', label: 'Non-binary', description: 'Neither exclusively male nor female' },
13
+ { value: 'man', label: 'Man', description: 'Identify as male' },
14
+ { value: 'woman', label: 'Woman', description: 'Identify as female' },
12
15
  {
13
- value: 'transgender_man',
14
- label: 'Transgender Man',
15
- description: 'Assigned female at birth, identifies as male',
16
+ value: 'non_binary',
17
+ label: 'Non-binary',
18
+ description: 'Neither exclusively male nor female',
16
19
  },
17
20
  {
18
- value: 'transgender_woman',
19
- label: 'Transgender Woman',
20
- description: 'Assigned male at birth, identifies as female',
21
+ value: 'trans_man',
22
+ label: 'Trans Man',
23
+ description: 'Assigned female at birth, identify as male',
21
24
  },
25
+ {
26
+ value: 'trans_woman',
27
+ label: 'Trans Woman',
28
+ description: 'Assigned male at birth, identify as female',
29
+ },
30
+ { value: 'genderfluid', label: 'Genderfluid', description: 'Gender identity shifts over time' },
22
31
  {
23
32
  value: 'genderqueer',
24
33
  label: 'Genderqueer',
25
34
  description: 'Outside the traditional gender binary',
26
35
  },
27
- { value: 'genderfluid', label: 'Genderfluid', description: 'Gender identity shifts over time' },
28
- { value: 'agender', label: 'Agender', description: 'No specific gender identity' },
36
+ { value: 'agender', label: 'Agender', description: 'No gender identity or gender-neutral' },
37
+ {
38
+ value: 'bigender',
39
+ label: 'Bigender',
40
+ description: 'Identify as two genders simultaneously or alternating',
41
+ },
42
+ {
43
+ value: 'pangender',
44
+ label: 'Pangender',
45
+ description: 'Identify with all genders or many gender identities',
46
+ },
47
+ {
48
+ value: 'androgynous',
49
+ label: 'Androgynous',
50
+ description: 'Blend of masculine and feminine expression',
51
+ },
52
+ {
53
+ value: 'intersex',
54
+ label: 'Intersex',
55
+ description: "Born with sex characteristics that don't fit typical male/female",
56
+ },
57
+ {
58
+ value: 'gender_nonconforming',
59
+ label: 'Gender Non-conforming',
60
+ description: "Expression doesn't align with conventional expectations",
61
+ },
29
62
  {
30
63
  value: 'two_spirit',
31
64
  label: 'Two-Spirit',
32
65
  description: 'Indigenous identity encompassing multiple genders',
33
66
  },
34
- { value: 'other', label: 'Other' },
35
- { value: 'prefer_not_to_say', label: 'Prefer not to say' },
67
+ {
68
+ value: 'hijra',
69
+ label: 'Hijra',
70
+ description: 'South Asian third-gender identity — legally recognized in India',
71
+ },
72
+ { value: 'other', label: 'Other', description: 'Another identity not listed here' },
73
+ { value: 'prefer_not_to_say', label: 'Prefer not to say', description: 'Keep this private' },
36
74
  ];
37
75
  export const religionOptions = [
38
76
  { value: 'hindu', label: 'Hindu', description: 'Sanatana Dharma traditions' },
@@ -1 +1 @@
1
- {"version":3,"file":"01-profile.js","sourceRoot":"","sources":["../../src/profile-fields/01-profile.ts"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AC,GAAG,eAAe,CAAC;SAC9B;QACD;YACE,KAAK,EAAE,EAAE;YACT,GAAG,EAAE,mBAAmB;YACxB,KAAK,EAAE,sBAAsB;YAC7B,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,OAAO,EAAE,CAAC,GAAG,kBAAkB,CAAC;YAChC,SAAS,EAAE,IAAI;SAChB;QACD;YACE,KAAK,EAAE,EAAE;YACT,GAAG,EAAE,gBAAgB;YACrB,KAAK,EAAE,iBAAiB;YACxB,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,OAAO,EAAE,CAAC,GAAG,eAAe,CAAC;SAC9B;KACF;CACF,CAAC","sourcesContent":["/**\n * Step 01 — Profile fields.\n *\n * Rich field definitions with options and descriptions,\n * matching the dating-schema profile-fields pattern.\n */\n\nimport type { FieldGroup } from './types.js';\n\n// ─── Shared option arrays (exported for reuse) ─────────────────────────────\n\nexport const genderOptions = [\n { value: 'man', label: 'Man' },\n { value: 'woman', label: 'Woman' },\n { value: 'non_binary', label: 'Non-binary', description: 'Neither exclusively male nor female' },\n {\n value: 'transgender_man',\n label: 'Transgender Man',\n description: 'Assigned female at birth, identifies as male',\n },\n {\n value: 'transgender_woman',\n label: 'Transgender Woman',\n description: 'Assigned male at birth, identifies as female',\n },\n {\n value: 'genderqueer',\n label: 'Genderqueer',\n description: 'Outside the traditional gender binary',\n },\n { value: 'genderfluid', label: 'Genderfluid', description: 'Gender identity shifts over time' },\n { value: 'agender', label: 'Agender', description: 'No specific gender identity' },\n {\n value: 'two_spirit',\n label: 'Two-Spirit',\n description: 'Indigenous identity encompassing multiple genders',\n },\n { value: 'other', label: 'Other' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const religionOptions = [\n { value: 'hindu', label: 'Hindu', description: 'Sanatana Dharma traditions' },\n { value: 'muslim_sunni', label: 'Muslim (Sunni)', description: 'Largest branch of Islam' },\n { value: 'muslim_shia', label: 'Muslim (Shia)', description: 'Second-largest branch of Islam' },\n { value: 'muslim_sufi', label: 'Muslim (Sufi)', description: 'Mystical Islamic tradition' },\n { value: 'muslim_other', label: 'Muslim (Other)', description: 'Ahmadiyya or other traditions' },\n {\n value: 'christian_catholic',\n label: 'Christian (Catholic)',\n description: 'Roman Catholic tradition',\n },\n {\n value: 'christian_protestant',\n label: 'Christian (Protestant)',\n description: 'Baptist, Methodist, Pentecostal, etc.',\n },\n {\n value: 'christian_other',\n label: 'Christian (Other)',\n description: 'Orthodox, Syrian, or other traditions',\n },\n { value: 'sikh', label: 'Sikh', description: 'Founded by Guru Nanak' },\n { value: 'jain_digambar', label: 'Jain (Digambar)', description: 'Sky-clad Jain tradition' },\n {\n value: 'jain_shwetambar',\n label: 'Jain (Shwetambar)',\n description: 'White-clad Jain tradition',\n },\n { value: 'buddhist', label: 'Buddhist', description: \"Followers of the Buddha's teachings\" },\n {\n value: 'parsi_zoroastrian',\n label: 'Parsi / Zoroastrian',\n description: 'Ancient Persian faith',\n },\n { value: 'jewish', label: 'Jewish', description: 'Judaism — Abrahamic faith' },\n { value: 'bahai', label: \"Baha'i\", description: 'Unity of all religions and humanity' },\n {\n value: 'spiritual',\n label: 'Spiritual but not religious',\n description: 'Personal spiritual practice',\n },\n { value: 'atheist', label: 'Atheist', description: 'No belief in deities' },\n { value: 'agnostic', label: 'Agnostic', description: 'Uncertain about higher power' },\n { value: 'no_religion', label: 'No Religion', description: 'Simply non-religious' },\n {\n value: 'inter_religion',\n label: 'Inter-Religion / Multi-faith',\n description: 'Multi-faith background',\n },\n { value: 'other', label: 'Other', description: 'A faith not listed above' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const languageOptions = [\n { value: 'hindi', label: 'Hindi (हिन्दी)' },\n { value: 'english', label: 'English' },\n { value: 'bengali', label: 'Bengali (বাংলা)' },\n { value: 'telugu', label: 'Telugu (తెలుగు)' },\n { value: 'marathi', label: 'Marathi (मराठी)' },\n { value: 'tamil', label: 'Tamil (தமிழ்)' },\n { value: 'urdu', label: 'Urdu (اردو)' },\n { value: 'gujarati', label: 'Gujarati (ગુજરાતી)' },\n { value: 'kannada', label: 'Kannada (ಕನ್ನಡ)' },\n { value: 'odia', label: 'Odia (ଓଡ଼ିଆ)' },\n { value: 'malayalam', label: 'Malayalam (മലയാളം)' },\n { value: 'punjabi', label: 'Punjabi (ਪੰਜਾਬੀ)' },\n { value: 'assamese', label: 'Assamese (অসমীয়া)' },\n { value: 'maithili', label: 'Maithili (मैथिली)' },\n { value: 'bhojpuri', label: 'Bhojpuri (भोजपुरी)' },\n { value: 'rajasthani', label: 'Rajasthani (राजस्थानी)' },\n { value: 'chhattisgarhi', label: 'Chhattisgarhi (छत्तीसगढ़ी)' },\n { value: 'haryanvi', label: 'Haryanvi (हरियाणवी)' },\n { value: 'tulu', label: 'Tulu (ತುಳು)' },\n { value: 'sanskrit', label: 'Sanskrit (संस्कृतम्)' },\n { value: 'sindhi', label: 'Sindhi (سنڌي)' },\n { value: 'kashmiri', label: 'Kashmiri (कॉशुर)' },\n { value: 'nepali', label: 'Nepali (नेपाली)' },\n { value: 'konkani', label: 'Konkani (कोंकणी)' },\n { value: 'dogri', label: 'Dogri (डोगरी)' },\n { value: 'manipuri', label: 'Manipuri (মৈতৈলোন্)' },\n { value: 'bodo', label: 'Bodo (बड़ो)' },\n { value: 'santali', label: 'Santali (ᱥᱟᱱᱛᱟᱲᱤ)' },\n { value: 'other', label: 'Other' },\n] as const;\n\nexport const reservationOptions = [\n { value: 'SC', label: 'Scheduled Caste (SC)' },\n { value: 'ST', label: 'Scheduled Tribe (ST)' },\n { value: 'OBC_NC', label: 'OBC (Non-Creamy Layer)' },\n { value: 'OBC_C', label: 'OBC (Creamy Layer)' },\n { value: 'EWS', label: 'Economically Weaker Section (EWS)' },\n { value: 'GENERAL', label: 'General' },\n { value: 'DONT_KNOW', label: \"Don't know\" },\n { value: 'PREFER_NOT_SAY', label: 'Prefer not to say' },\n] as const;\n\nexport const minorityOptions = [\n { value: 'NO', label: 'No' },\n { value: 'RELIGIOUS', label: 'Yes — Religious minority' },\n { value: 'LINGUISTIC', label: 'Yes — Linguistic minority' },\n { value: 'NOT_SURE', label: 'Not sure' },\n] as const;\n\n// ─── Field Group ────────────────────────────────────────────────────────────\n\nexport const profile: FieldGroup = {\n key: 'profile',\n label: 'Profile',\n description: 'Basic personal information — name, gender, date of birth, language, and religion.',\n step: 1,\n fields: [\n {\n order: 1,\n key: 'fullName',\n label: 'Full Name',\n type: 'object',\n step: 1,\n isOnboarding: true,\n description: 'First, middle, and last name as per Aadhaar or other govt ID',\n },\n {\n order: 4,\n key: 'gender',\n label: 'Gender',\n type: 'single_select',\n step: 1,\n isOnboarding: true,\n options: [...genderOptions],\n },\n {\n order: 5,\n key: 'dateOfBirth',\n label: 'Date of Birth',\n type: 'date',\n step: 1,\n isOnboarding: true,\n },\n {\n order: 6,\n key: 'whatsappNumber',\n label: 'WhatsApp Number',\n type: 'text',\n step: 1,\n isOnboarding: true,\n optional: true,\n description: 'Include country code',\n },\n {\n order: 7,\n key: 'primaryLanguage',\n label: 'Primary Language',\n type: 'single_select',\n step: 1,\n isOnboarding: true,\n options: [...languageOptions],\n },\n {\n order: 8,\n key: 'secondaryLanguages',\n label: 'Secondary Languages',\n type: 'multi_select',\n step: 1,\n isOnboarding: true,\n optional: true,\n options: [...languageOptions],\n maxSelect: 10,\n },\n {\n order: 9,\n key: 'familyReligion',\n label: 'Family Religion',\n type: 'single_select',\n step: 1,\n isOnboarding: true,\n options: [...religionOptions],\n },\n {\n order: 10,\n key: 'personalReligion',\n label: 'Personal Religion',\n type: 'single_select',\n step: 1,\n isOnboarding: true,\n optional: true,\n options: [...religionOptions],\n },\n {\n order: 11,\n key: 'reservationStatus',\n label: 'Reservation Category',\n type: 'single_select',\n step: 1,\n isOnboarding: true,\n options: [...reservationOptions],\n sensitive: true,\n },\n {\n order: 12,\n key: 'minorityStatus',\n label: 'Minority Status',\n type: 'single_select',\n step: 1,\n isOnboarding: true,\n options: [...minorityOptions],\n },\n ],\n};\n"]}
1
+ {"version":3,"file":"01-profile.js","sourceRoot":"","sources":["../../src/profile-fields/01-profile.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,8EAA8E;AAE9E;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,kBAAkB,EAAE;IAC/D,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,oBAAoB,EAAE;IACrE;QACE,KAAK,EAAE,YAAY;QACnB,KAAK,EAAE,YAAY;QACnB,WAAW,EAAE,qCAAqC;KACnD;IACD;QACE,KAAK,EAAE,WAAW;QAClB,KAAK,EAAE,WAAW;QAClB,WAAW,EAAE,4CAA4C;KAC1D;IACD;QACE,KAAK,EAAE,aAAa;QACpB,KAAK,EAAE,aAAa;QACpB,WAAW,EAAE,4CAA4C;KAC1D;IACD,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,kCAAkC,EAAE;IAC/F;QACE,KAAK,EAAE,aAAa;QACpB,KAAK,EAAE,aAAa;QACpB,WAAW,EAAE,uCAAuC;KACrD;IACD,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,sCAAsC,EAAE;IAC3F;QACE,KAAK,EAAE,UAAU;QACjB,KAAK,EAAE,UAAU;QACjB,WAAW,EAAE,uDAAuD;KACrE;IACD;QACE,KAAK,EAAE,WAAW;QAClB,KAAK,EAAE,WAAW;QAClB,WAAW,EAAE,qDAAqD;KACnE;IACD;QACE,KAAK,EAAE,aAAa;QACpB,KAAK,EAAE,aAAa;QACpB,WAAW,EAAE,4CAA4C;KAC1D;IACD;QACE,KAAK,EAAE,UAAU;QACjB,KAAK,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,CAAC","sourcesContent":["/**\n * Step 01 — Profile fields.\n *\n * Rich field definitions with options and descriptions,\n * matching the dating-schema profile-fields pattern.\n */\n\nimport type { FieldGroup } from './types.js';\n\n// ─── Shared option arrays (exported for reuse) ─────────────────────────────\n\n/**\n * Gender options — matches dating-schema (01-hero-identity.ts) EXACTLY.\n * Keep in sync with dating so both products share the same enum + copy.\n */\nexport const genderOptions = [\n { value: 'man', label: 'Man', description: 'Identify as male' },\n { value: 'woman', label: 'Woman', description: 'Identify as female' },\n {\n value: 'non_binary',\n label: 'Non-binary',\n description: 'Neither exclusively male nor female',\n },\n {\n value: 'trans_man',\n label: 'Trans Man',\n description: 'Assigned female at birth, identify as male',\n },\n {\n value: 'trans_woman',\n label: 'Trans Woman',\n description: 'Assigned male at birth, identify as female',\n },\n { value: 'genderfluid', label: 'Genderfluid', description: 'Gender identity shifts over time' },\n {\n value: 'genderqueer',\n label: 'Genderqueer',\n description: 'Outside the traditional gender binary',\n },\n { value: 'agender', label: 'Agender', description: 'No gender identity or gender-neutral' },\n {\n value: 'bigender',\n label: 'Bigender',\n description: 'Identify as two genders simultaneously or alternating',\n },\n {\n value: 'pangender',\n label: 'Pangender',\n description: 'Identify with all genders or many gender identities',\n },\n {\n value: 'androgynous',\n label: 'Androgynous',\n description: 'Blend of masculine and feminine expression',\n },\n {\n value: 'intersex',\n label: 'Intersex',\n description: \"Born with sex characteristics that don't fit typical male/female\",\n },\n {\n value: 'gender_nonconforming',\n label: 'Gender Non-conforming',\n description: \"Expression doesn't align with conventional expectations\",\n },\n {\n value: 'two_spirit',\n label: 'Two-Spirit',\n description: 'Indigenous identity encompassing multiple genders',\n },\n {\n value: 'hijra',\n label: 'Hijra',\n description: 'South Asian third-gender identity — legally recognized in India',\n },\n { value: 'other', label: 'Other', description: 'Another identity not listed here' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say', description: 'Keep this private' },\n] as const;\n\nexport const religionOptions = [\n { value: 'hindu', label: 'Hindu', description: 'Sanatana Dharma traditions' },\n { value: 'muslim_sunni', label: 'Muslim (Sunni)', description: 'Largest branch of Islam' },\n { value: 'muslim_shia', label: 'Muslim (Shia)', description: 'Second-largest branch of Islam' },\n { value: 'muslim_sufi', label: 'Muslim (Sufi)', description: 'Mystical Islamic tradition' },\n { value: 'muslim_other', label: 'Muslim (Other)', description: 'Ahmadiyya or other traditions' },\n {\n value: 'christian_catholic',\n label: 'Christian (Catholic)',\n description: 'Roman Catholic tradition',\n },\n {\n value: 'christian_protestant',\n label: 'Christian (Protestant)',\n description: 'Baptist, Methodist, Pentecostal, etc.',\n },\n {\n value: 'christian_other',\n label: 'Christian (Other)',\n description: 'Orthodox, Syrian, or other traditions',\n },\n { value: 'sikh', label: 'Sikh', description: 'Founded by Guru Nanak' },\n { value: 'jain_digambar', label: 'Jain (Digambar)', description: 'Sky-clad Jain tradition' },\n {\n value: 'jain_shwetambar',\n label: 'Jain (Shwetambar)',\n description: 'White-clad Jain tradition',\n },\n { value: 'buddhist', label: 'Buddhist', description: \"Followers of the Buddha's teachings\" },\n {\n value: 'parsi_zoroastrian',\n label: 'Parsi / Zoroastrian',\n description: 'Ancient Persian faith',\n },\n { value: 'jewish', label: 'Jewish', description: 'Judaism — Abrahamic faith' },\n { value: 'bahai', label: \"Baha'i\", description: 'Unity of all religions and humanity' },\n {\n value: 'spiritual',\n label: 'Spiritual but not religious',\n description: 'Personal spiritual practice',\n },\n { value: 'atheist', label: 'Atheist', description: 'No belief in deities' },\n { value: 'agnostic', label: 'Agnostic', description: 'Uncertain about higher power' },\n { value: 'no_religion', label: 'No Religion', description: 'Simply non-religious' },\n {\n value: 'inter_religion',\n label: 'Inter-Religion / Multi-faith',\n description: 'Multi-faith background',\n },\n { value: 'other', label: 'Other', description: 'A faith not listed above' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const languageOptions = [\n { value: 'hindi', label: 'Hindi (हिन्दी)' },\n { value: 'english', label: 'English' },\n { value: 'bengali', label: 'Bengali (বাংলা)' },\n { value: 'telugu', label: 'Telugu (తెలుగు)' },\n { value: 'marathi', label: 'Marathi (मराठी)' },\n { value: 'tamil', label: 'Tamil (தமிழ்)' },\n { value: 'urdu', label: 'Urdu (اردو)' },\n { value: 'gujarati', label: 'Gujarati (ગુજરાતી)' },\n { value: 'kannada', label: 'Kannada (ಕನ್ನಡ)' },\n { value: 'odia', label: 'Odia (ଓଡ଼ିଆ)' },\n { value: 'malayalam', label: 'Malayalam (മലയാളം)' },\n { value: 'punjabi', label: 'Punjabi (ਪੰਜਾਬੀ)' },\n { value: 'assamese', label: 'Assamese (অসমীয়া)' },\n { value: 'maithili', label: 'Maithili (मैथिली)' },\n { value: 'bhojpuri', label: 'Bhojpuri (भोजपुरी)' },\n { value: 'rajasthani', label: 'Rajasthani (राजस्थानी)' },\n { value: 'chhattisgarhi', label: 'Chhattisgarhi (छत्तीसगढ़ी)' },\n { value: 'haryanvi', label: 'Haryanvi (हरियाणवी)' },\n { value: 'tulu', label: 'Tulu (ತುಳು)' },\n { value: 'sanskrit', label: 'Sanskrit (संस्कृतम्)' },\n { value: 'sindhi', label: 'Sindhi (سنڌي)' },\n { value: 'kashmiri', label: 'Kashmiri (कॉशुर)' },\n { value: 'nepali', label: 'Nepali (नेपाली)' },\n { value: 'konkani', label: 'Konkani (कोंकणी)' },\n { value: 'dogri', label: 'Dogri (डोगरी)' },\n { value: 'manipuri', label: 'Manipuri (মৈতৈলোন্)' },\n { value: 'bodo', label: 'Bodo (बड़ो)' },\n { value: 'santali', label: 'Santali (ᱥᱟᱱᱛᱟᱲᱤ)' },\n { value: 'other', label: 'Other' },\n] as const;\n\nexport const reservationOptions = [\n { value: 'SC', label: 'Scheduled Caste (SC)' },\n { value: 'ST', label: 'Scheduled Tribe (ST)' },\n { value: 'OBC_NC', label: 'OBC (Non-Creamy Layer)' },\n { value: 'OBC_C', label: 'OBC (Creamy Layer)' },\n { value: 'EWS', label: 'Economically Weaker Section (EWS)' },\n { value: 'GENERAL', label: 'General' },\n { value: 'DONT_KNOW', label: \"Don't know\" },\n { value: 'PREFER_NOT_SAY', label: 'Prefer not to say' },\n] as const;\n\nexport const minorityOptions = [\n { value: 'NO', label: 'No' },\n { value: 'RELIGIOUS', label: 'Yes — Religious minority' },\n { value: 'LINGUISTIC', label: 'Yes — Linguistic minority' },\n { value: 'NOT_SURE', label: 'Not sure' },\n] as const;\n\n// ─── Field Group ────────────────────────────────────────────────────────────\n\nexport const profile: FieldGroup = {\n key: 'profile',\n label: 'Profile',\n description: 'Basic personal information — name, gender, date of birth, language, and religion.',\n step: 1,\n fields: [\n {\n order: 1,\n key: 'fullName',\n label: 'Full Name',\n type: 'object',\n step: 1,\n isOnboarding: true,\n description: 'First, middle, and last name as per Aadhaar or other govt ID',\n },\n {\n order: 4,\n key: 'gender',\n label: 'Gender',\n type: 'single_select',\n step: 1,\n isOnboarding: true,\n options: [...genderOptions],\n },\n {\n order: 5,\n key: 'dateOfBirth',\n label: 'Date of Birth',\n type: 'date',\n step: 1,\n isOnboarding: true,\n },\n {\n order: 6,\n key: 'whatsappNumber',\n label: 'WhatsApp Number',\n type: 'text',\n step: 1,\n isOnboarding: true,\n optional: true,\n description: 'Include country code',\n },\n {\n order: 7,\n key: 'primaryLanguage',\n label: 'Primary Language',\n type: 'single_select',\n step: 1,\n isOnboarding: true,\n options: [...languageOptions],\n },\n {\n order: 8,\n key: 'secondaryLanguages',\n label: 'Secondary Languages',\n type: 'multi_select',\n step: 1,\n isOnboarding: true,\n optional: true,\n options: [...languageOptions],\n maxSelect: 10,\n },\n {\n order: 9,\n key: 'familyReligion',\n label: 'Family Religion',\n type: 'single_select',\n step: 1,\n isOnboarding: true,\n options: [...religionOptions],\n },\n {\n order: 10,\n key: 'personalReligion',\n label: 'Personal Religion',\n type: 'single_select',\n step: 1,\n isOnboarding: true,\n optional: true,\n options: [...religionOptions],\n },\n {\n order: 11,\n key: 'reservationStatus',\n label: 'Reservation Category',\n type: 'single_select',\n step: 1,\n isOnboarding: true,\n options: [...reservationOptions],\n sensitive: true,\n },\n {\n order: 12,\n key: 'minorityStatus',\n label: 'Minority Status',\n type: 'single_select',\n step: 1,\n isOnboarding: true,\n options: [...minorityOptions],\n },\n ],\n};\n"]}
@@ -1,32 +1,40 @@
1
1
  import type { FieldGroup } from './types.js';
2
2
  export declare const politicalSpectrumOptions: readonly [{
3
- readonly value: "1_tradition_faith";
4
- readonly label: "Guided by Tradition & Wisdom";
5
- readonly description: "Truth through inherited traditions and spiritual beliefs";
3
+ readonly value: "far_left";
4
+ readonly label: "Far Left";
5
+ readonly description: "Radical progressive systemic change, social justice, anti-capitalist";
6
6
  }, {
7
- readonly value: "2_faith_curious";
8
- readonly label: "Balancing Faith with Questions";
9
- readonly description: "Respect traditions but open to asking questions";
7
+ readonly value: "left";
8
+ readonly label: "Left";
9
+ readonly description: "Progressive strong social safety net, equality, regulation";
10
10
  }, {
11
- readonly value: "3_multiplicity_open";
12
- readonly label: "Open to Multiple Perspectives";
13
- readonly description: "Value in diverse worldviews";
11
+ readonly value: "centre_left";
12
+ readonly label: "Centre-Left";
13
+ readonly description: "Liberal social freedoms, moderate reform, inclusive policies";
14
14
  }, {
15
- readonly value: "4_pragmatic_flexible";
16
- readonly label: "Pragmatic & Contextual";
17
- readonly description: "What works is what matters";
15
+ readonly value: "centrist";
16
+ readonly label: "Centrist";
17
+ readonly description: "Pragmatic middle picks issues over ideology, open to both sides";
18
18
  }, {
19
- readonly value: "5_evidence_reasoning";
20
- readonly label: "Evidence-Informed";
21
- readonly description: "Decisions based on data and logic";
19
+ readonly value: "centre_right";
20
+ readonly label: "Centre-Right";
21
+ readonly description: "Moderate conservative fiscal discipline, traditional institutions, gradual change";
22
22
  }, {
23
- readonly value: "6_critical_reflective";
24
- readonly label: "Critical Analyst";
25
- readonly description: "Systematically examine own thinking";
23
+ readonly value: "right";
24
+ readonly label: "Right";
25
+ readonly description: "Conservative limited government, free markets, cultural tradition";
26
26
  }, {
27
- readonly value: "7_skeptic_optimize";
28
- readonly label: "Perpetual Skeptic";
29
- readonly description: "Question everything including yourself";
27
+ readonly value: "far_right";
28
+ readonly label: "Far Right";
29
+ readonly description: "Nationalist strong borders, traditional values, national identity first";
30
+ }, {
31
+ readonly value: "libertarian";
32
+ readonly label: "Libertarian";
33
+ readonly description: "Maximum personal freedom — minimal government in both social and economic life";
34
+ }, {
35
+ readonly value: "apolitical";
36
+ readonly label: "Apolitical";
37
+ readonly description: "Not interested in politics — focus on personal life";
30
38
  }, {
31
39
  readonly value: "prefer_not_to_say";
32
40
  readonly label: "Prefer not to say";
@@ -1 +1 @@
1
- {"version":3,"file":"02-political.d.ts","sourceRoot":"","sources":["../../src/profile-fields/02-political.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqC3B,CAAC;AAEX,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsBf,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYzB,CAAC;AAEX,eAAO,MAAM,oBAAoB,EAAE,UAyDlC,CAAC"}
1
+ {"version":3,"file":"02-political.d.ts","sourceRoot":"","sources":["../../src/profile-fields/02-political.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgD3B,CAAC;AAEX,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsBf,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYzB,CAAC;AAEX,eAAO,MAAM,oBAAoB,EAAE,UAyDlC,CAAC"}
@@ -1,38 +1,48 @@
1
1
  export const politicalSpectrumOptions = [
2
2
  {
3
- value: '1_tradition_faith',
4
- label: 'Guided by Tradition & Wisdom',
5
- description: 'Truth through inherited traditions and spiritual beliefs',
3
+ value: 'far_left',
4
+ label: 'Far Left',
5
+ description: 'Radical progressive systemic change, social justice, anti-capitalist',
6
6
  },
7
7
  {
8
- value: '2_faith_curious',
9
- label: 'Balancing Faith with Questions',
10
- description: 'Respect traditions but open to asking questions',
8
+ value: 'left',
9
+ label: 'Left',
10
+ description: 'Progressive strong social safety net, equality, regulation',
11
11
  },
12
12
  {
13
- value: '3_multiplicity_open',
14
- label: 'Open to Multiple Perspectives',
15
- description: 'Value in diverse worldviews',
13
+ value: 'centre_left',
14
+ label: 'Centre-Left',
15
+ description: 'Liberal social freedoms, moderate reform, inclusive policies',
16
16
  },
17
17
  {
18
- value: '4_pragmatic_flexible',
19
- label: 'Pragmatic & Contextual',
20
- description: 'What works is what matters',
18
+ value: 'centrist',
19
+ label: 'Centrist',
20
+ description: 'Pragmatic middle picks issues over ideology, open to both sides',
21
21
  },
22
22
  {
23
- value: '5_evidence_reasoning',
24
- label: 'Evidence-Informed',
25
- description: 'Decisions based on data and logic',
23
+ value: 'centre_right',
24
+ label: 'Centre-Right',
25
+ description: 'Moderate conservative fiscal discipline, traditional institutions, gradual change',
26
26
  },
27
27
  {
28
- value: '6_critical_reflective',
29
- label: 'Critical Analyst',
30
- description: 'Systematically examine own thinking',
28
+ value: 'right',
29
+ label: 'Right',
30
+ description: 'Conservative limited government, free markets, cultural tradition',
31
31
  },
32
32
  {
33
- value: '7_skeptic_optimize',
34
- label: 'Perpetual Skeptic',
35
- description: 'Question everything including yourself',
33
+ value: 'far_right',
34
+ label: 'Far Right',
35
+ description: 'Nationalist strong borders, traditional values, national identity first',
36
+ },
37
+ {
38
+ value: 'libertarian',
39
+ label: 'Libertarian',
40
+ description: 'Maximum personal freedom — minimal government in both social and economic life',
41
+ },
42
+ {
43
+ value: 'apolitical',
44
+ label: 'Apolitical',
45
+ description: 'Not interested in politics — focus on personal life',
36
46
  },
37
47
  { value: 'prefer_not_to_say', label: 'Prefer not to say' },
38
48
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"02-political.js","sourceRoot":"","sources":["../../src/profile-fields/02-political.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC;QACE,KAAK,EAAE,mBAAmB;QAC1B,KAAK,EAAE,8BAA8B;QACrC,WAAW,EAAE,0DAA0D;KACxE;IACD;QACE,KAAK,EAAE,iBAAiB;QACxB,KAAK,EAAE,gCAAgC;QACvC,WAAW,EAAE,iDAAiD;KAC/D;IACD;QACE,KAAK,EAAE,qBAAqB;QAC5B,KAAK,EAAE,+BAA+B;QACtC,WAAW,EAAE,6BAA6B;KAC3C;IACD;QACE,KAAK,EAAE,sBAAsB;QAC7B,KAAK,EAAE,wBAAwB;QAC/B,WAAW,EAAE,4BAA4B;KAC1C;IACD;QACE,KAAK,EAAE,sBAAsB;QAC7B,KAAK,EAAE,mBAAmB;QAC1B,WAAW,EAAE,mCAAmC;KACjD;IACD;QACE,KAAK,EAAE,uBAAuB;QAC9B,KAAK,EAAE,kBAAkB;QACzB,WAAW,EAAE,qCAAqC;KACnD;IACD;QACE,KAAK,EAAE,oBAAoB;QAC3B,KAAK,EAAE,mBAAmB;QAC1B,WAAW,EAAE,wCAAwC;KACtD;IACD,EAAE,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,mBAAmB,EAAE;CAClD,CAAC;AAEX,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE;IAC9B,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,gCAAgC,EAAE;IACzD,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,uBAAuB,EAAE;IAChD,EAAE,KAAK,EAAE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QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,wBAAwB;YAC7B,KAAK,EAAE,0BAA0B;YACjC,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,YAAY,CAAC;SAC3B;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,0BAA0B;YAC/B,KAAK,EAAE,2BAA2B;YAClC,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,qDAAqD;SACnE;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,2BAA2B;YAChC,KAAK,EAAE,kBAAkB;YACzB,IAAI,EAAE,cAAc;YACpB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,sBAAsB,CAAC;SACrC;KACF;CACF,CAAC","sourcesContent":["import type { FieldGroup } from './types.js';\n\nexport const politicalSpectrumOptions = [\n {\n value: '1_tradition_faith',\n label: 'Guided by Tradition & Wisdom',\n description: 'Truth through inherited traditions and spiritual beliefs',\n },\n {\n value: '2_faith_curious',\n label: 'Balancing Faith with Questions',\n description: 'Respect traditions but open to asking questions',\n },\n {\n value: '3_multiplicity_open',\n label: 'Open to Multiple Perspectives',\n description: 'Value in diverse worldviews',\n },\n {\n value: '4_pragmatic_flexible',\n label: 'Pragmatic & Contextual',\n description: 'What works is what matters',\n },\n {\n value: '5_evidence_reasoning',\n label: 'Evidence-Informed',\n description: 'Decisions based on data and logic',\n },\n {\n value: '6_critical_reflective',\n label: 'Critical Analyst',\n description: 'Systematically examine own thinking',\n },\n {\n value: '7_skeptic_optimize',\n label: 'Perpetual Skeptic',\n description: 'Question everything including yourself',\n },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const partyOptions = [\n { value: 'bjp', label: 'BJP' },\n { value: 'inc', label: 'Indian National Congress (INC)' },\n { value: 'aap', label: 'Aam Aadmi Party (AAP)' },\n { value: 'bsp', label: 'Bahujan Samaj Party (BSP)' },\n { value: 'sp', label: 'Samajwadi Party (SP)' },\n { value: 'tmc', label: 'Trinamool Congress (TMC)' },\n { value: 'dmk', label: 'DMK' },\n { value: 'aiadmk', label: 'AIADMK' },\n { value: 'ncp', label: 'NCP' },\n { value: 'shiv_sena', label: 'Shiv Sena' },\n { value: 'jdu', label: 'JD(U)' },\n { value: 'rjd', label: 'RJD' },\n { value: 'cpim', label: 'CPI(M)' },\n { value: 'cpi', label: 'CPI' },\n { value: 'ysrcp', label: 'YSRCP' },\n { value: 'tdp', label: 'TDP' },\n { value: 'bjd', label: 'BJD' },\n { value: 'jmm', label: 'JMM' },\n { value: 'none', label: 'No party affiliation' },\n { value: 'other', label: 'Other' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const civicEngagementOptions = [\n { value: 'ngo', label: 'NGO / Non-profit' },\n { value: 'trade_union', label: 'Trade Union' },\n { value: 'cooperative', label: 'Cooperative Society' },\n { value: 'resident_association', label: 'Resident Welfare Association' },\n { value: 'self_help_group', label: 'Self Help Group (SHG)' },\n { value: 'youth_club', label: 'Youth Club' },\n { value: 'religious_organization', label: 'Religious Organization' },\n { value: 'caste_association', label: 'Caste Association' },\n { value: 'professional_body', label: 'Professional Body' },\n { value: 'none', label: 'None' },\n { value: 'other', label: 'Other' },\n] as const;\n\nexport const politicalAssociation: FieldGroup = {\n key: 'political_association',\n label: 'Political Association & History',\n step: 2,\n description: 'Your political spectrum, party associations, and civic engagement.',\n fields: [\n {\n order: 1,\n key: 'politicalSpectrum',\n label: 'Political Spectrum',\n type: 'single_select',\n step: 2,\n isOnboarding: true,\n optional: true,\n options: [...politicalSpectrumOptions],\n },\n {\n order: 2,\n key: 'selfPartyAssociation',\n label: 'Your Party Association',\n type: 'single_select',\n step: 2,\n isOnboarding: true,\n optional: true,\n options: [...partyOptions],\n },\n {\n order: 3,\n key: 'familyPartyAssociation',\n label: 'Family Party Association',\n type: 'single_select',\n step: 2,\n isOnboarding: true,\n optional: true,\n options: [...partyOptions],\n },\n {\n order: 4,\n key: 'publicOfficeAndElections',\n label: 'Public Office & Elections',\n type: 'object',\n step: 2,\n isOnboarding: true,\n optional: true,\n description: 'Have you held public office or contested elections?',\n },\n {\n order: 5,\n key: 'networkAndCivicEngagement',\n label: 'Civic Engagement',\n type: 'multi_select',\n step: 2,\n isOnboarding: true,\n optional: true,\n options: [...civicEngagementOptions],\n },\n ],\n};\n"]}
1
+ {"version":3,"file":"02-political.js","sourceRoot":"","sources":["../../src/profile-fields/02-political.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC;QACE,KAAK,EAAE,UAAU;QACjB,KAAK,EAAE,UAAU;QACjB,WAAW,EAAE,wEAAwE;KACtF;IACD;QACE,KAAK,EAAE,MAAM;QACb,KAAK,EAAE,MAAM;QACb,WAAW,EAAE,8DAA8D;KAC5E;IACD;QACE,KAAK,EAAE,aAAa;QACpB,KAAK,EAAE,aAAa;QACpB,WAAW,EAAE,gEAAgE;KAC9E;IACD;QACE,KAAK,EAAE,UAAU;QACjB,KAAK,EAAE,UAAU;QACjB,WAAW,EAAE,mEAAmE;KACjF;IACD;QACE,KAAK,EAAE,cAAc;QACrB,KAAK,EAAE,cAAc;QACrB,WAAW,EACT,qFAAqF;KACxF;IACD;QACE,KAAK,EAAE,OAAO;QACd,KAAK,EAAE,OAAO;QACd,WAAW,EAAE,qEAAqE;KACnF;IACD;QACE,KAAK,EAAE,WAAW;QAClB,KAAK,EAAE,WAAW;QAClB,WAAW,EAAE,2EAA2E;KACzF;IACD;QACE,KAAK,EAAE,aAAa;QACpB,KAAK,EAAE,aAAa;QACpB,WAAW,EAAE,gFAAgF;KAC9F;IACD;QACE,KAAK,EAAE,YAA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oBAAoB;YAC3B,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,wBAAwB,CAAC;SACvC;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,sBAAsB;YAC3B,KAAK,EAAE,wBAAwB;YAC/B,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,YAAY,CAAC;SAC3B;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,wBAAwB;YAC7B,KAAK,EAAE,0BAA0B;YACjC,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,YAAY,CAAC;SAC3B;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,0BAA0B;YAC/B,KAAK,EAAE,2BAA2B;YAClC,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,qDAAqD;SACnE;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,2BAA2B;YAChC,KAAK,EAAE,kBAAkB;YACzB,IAAI,EAAE,cAAc;YACpB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,sBAAsB,CAAC;SACrC;KACF;CACF,CAAC","sourcesContent":["import type { FieldGroup } from './types.js';\n\nexport const politicalSpectrumOptions = [\n {\n value: 'far_left',\n label: 'Far Left',\n description: 'Radical progressive systemic change, social justice, anti-capitalist',\n },\n {\n value: 'left',\n label: 'Left',\n description: 'Progressive strong social safety net, equality, regulation',\n },\n {\n value: 'centre_left',\n label: 'Centre-Left',\n description: 'Liberal social freedoms, moderate reform, inclusive policies',\n },\n {\n value: 'centrist',\n label: 'Centrist',\n description: 'Pragmatic middle — picks issues over ideology, open to both sides',\n },\n {\n value: 'centre_right',\n label: 'Centre-Right',\n description:\n 'Moderate conservative — fiscal discipline, traditional institutions, gradual change',\n },\n {\n value: 'right',\n label: 'Right',\n description: 'Conservative limited government, free markets, cultural tradition',\n },\n {\n value: 'far_right',\n label: 'Far Right',\n description: 'Nationalist strong borders, traditional values, national identity first',\n },\n {\n value: 'libertarian',\n label: 'Libertarian',\n description: 'Maximum personal freedom — minimal government in both social and economic life',\n },\n {\n value: 'apolitical',\n label: 'Apolitical',\n description: 'Not interested in politics — focus on personal life',\n },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const partyOptions = [\n { value: 'bjp', label: 'BJP' },\n { value: 'inc', label: 'Indian National Congress (INC)' },\n { value: 'aap', label: 'Aam Aadmi Party (AAP)' },\n { value: 'bsp', label: 'Bahujan Samaj Party (BSP)' },\n { value: 'sp', label: 'Samajwadi Party (SP)' },\n { value: 'tmc', label: 'Trinamool Congress (TMC)' },\n { value: 'dmk', label: 'DMK' },\n { value: 'aiadmk', label: 'AIADMK' },\n { value: 'ncp', label: 'NCP' },\n { value: 'shiv_sena', label: 'Shiv Sena' },\n { value: 'jdu', label: 'JD(U)' },\n { value: 'rjd', label: 'RJD' },\n { value: 'cpim', label: 'CPI(M)' },\n { value: 'cpi', label: 'CPI' },\n { value: 'ysrcp', label: 'YSRCP' },\n { value: 'tdp', label: 'TDP' },\n { value: 'bjd', label: 'BJD' },\n { value: 'jmm', label: 'JMM' },\n { value: 'none', label: 'No party affiliation' },\n { value: 'other', label: 'Other' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const civicEngagementOptions = [\n { value: 'ngo', label: 'NGO / Non-profit' },\n { value: 'trade_union', label: 'Trade Union' },\n { value: 'cooperative', label: 'Cooperative Society' },\n { value: 'resident_association', label: 'Resident Welfare Association' },\n { value: 'self_help_group', label: 'Self Help Group (SHG)' },\n { value: 'youth_club', label: 'Youth Club' },\n { value: 'religious_organization', label: 'Religious Organization' },\n { value: 'caste_association', label: 'Caste Association' },\n { value: 'professional_body', label: 'Professional Body' },\n { value: 'none', label: 'None' },\n { value: 'other', label: 'Other' },\n] as const;\n\nexport const politicalAssociation: FieldGroup = {\n key: 'political_association',\n label: 'Political Association & History',\n step: 2,\n description: 'Your political spectrum, party associations, and civic engagement.',\n fields: [\n {\n order: 1,\n key: 'politicalSpectrum',\n label: 'Political Spectrum',\n type: 'single_select',\n step: 2,\n isOnboarding: true,\n optional: true,\n options: [...politicalSpectrumOptions],\n },\n {\n order: 2,\n key: 'selfPartyAssociation',\n label: 'Your Party Association',\n type: 'single_select',\n step: 2,\n isOnboarding: true,\n optional: true,\n options: [...partyOptions],\n },\n {\n order: 3,\n key: 'familyPartyAssociation',\n label: 'Family Party Association',\n type: 'single_select',\n step: 2,\n isOnboarding: true,\n optional: true,\n options: [...partyOptions],\n },\n {\n order: 4,\n key: 'publicOfficeAndElections',\n label: 'Public Office & Elections',\n type: 'object',\n step: 2,\n isOnboarding: true,\n optional: true,\n description: 'Have you held public office or contested elections?',\n },\n {\n order: 5,\n key: 'networkAndCivicEngagement',\n label: 'Civic Engagement',\n type: 'multi_select',\n step: 2,\n isOnboarding: true,\n optional: true,\n options: [...civicEngagementOptions],\n },\n ],\n};\n"]}
@@ -16,12 +16,18 @@ export declare const step01ProfileSchema: z.ZodObject<{
16
16
  man: "man";
17
17
  woman: "woman";
18
18
  non_binary: "non_binary";
19
- transgender_man: "transgender_man";
20
- transgender_woman: "transgender_woman";
21
- genderqueer: "genderqueer";
19
+ trans_man: "trans_man";
20
+ trans_woman: "trans_woman";
22
21
  genderfluid: "genderfluid";
22
+ genderqueer: "genderqueer";
23
23
  agender: "agender";
24
+ bigender: "bigender";
25
+ pangender: "pangender";
26
+ androgynous: "androgynous";
27
+ intersex: "intersex";
28
+ gender_nonconforming: "gender_nonconforming";
24
29
  two_spirit: "two_spirit";
30
+ hijra: "hijra";
25
31
  other: "other";
26
32
  prefer_not_to_say: "prefer_not_to_say";
27
33
  }>>;
@@ -1 +1 @@
1
- {"version":3,"file":"step-01.schema.d.ts","sourceRoot":"","sources":["../src/step-01.schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiG9B,CAAC;AAIH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
1
+ {"version":3,"file":"step-01.schema.d.ts","sourceRoot":"","sources":["../src/step-01.schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAwG9B,CAAC;AAIH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
@@ -14,17 +14,24 @@ export const step01ProfileSchema = z.object({
14
14
  firstName: z.string().trim().max(50).optional(),
15
15
  middleName: optionalTrimmedString,
16
16
  lastName: z.string().trim().max(50).optional(),
17
+ /** Gender — matches dating-schema enum EXACTLY (same values, same spelling). */
17
18
  gender: z
18
19
  .enum([
19
20
  'man',
20
21
  'woman',
21
22
  'non_binary',
22
- 'transgender_man',
23
- 'transgender_woman',
24
- 'genderqueer',
23
+ 'trans_man',
24
+ 'trans_woman',
25
25
  'genderfluid',
26
+ 'genderqueer',
26
27
  'agender',
28
+ 'bigender',
29
+ 'pangender',
30
+ 'androgynous',
31
+ 'intersex',
32
+ 'gender_nonconforming',
27
33
  'two_spirit',
34
+ 'hijra',
28
35
  'other',
29
36
  'prefer_not_to_say',
30
37
  ])
@@ -1 +1 @@
1
- {"version":3,"file":"step-01.schema.js","sourceRoot":"","sources":["../src/step-01.schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,sBAAsB,EACtB,mBAAmB,EACnB,qBAAqB,GACtB,MAAM,kBAAkB,CAAC;AAE1B,+EAA+E;AAE/E,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC/C,UAAU,EAAE,qBAAqB;IACjC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;IAE9C,MAAM,EAAE,CAAC;SACN,IAAI,CAAC;QACJ,KAAK;QACL,OAAO;QACP,YAAY;QACZ,iBAAiB;QACjB,mBAAmB;QACnB,aAAa;QACb,aAAa;QACb,SAAS;QACT,YAAY;QACZ,OAAO;QACP,mBAAmB;KACpB,CAAC;SACD,QAAQ,EAAE;IAEb,WAAW,EAAE,CAAC,CAAC,UAAU,CAAC,sBAAsB,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE,CAAC;IAE7E,cAAc,EAAE,mBAAmB;IAEnC,mGAAmG;IACnG,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IAE7C,qCAAqC;IACrC,kBAAkB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;IAEjE;;;OAGG;IACH,cAAc,EAAE,CAAC;SACd,IAAI,CAAC;QACJ,OAAO;QACP,cAAc;QACd,aAAa;QACb,aAAa;QACb,cAAc;QACd,oBAAoB;QACpB,sBAAsB;QACtB,iBAAiB;QACjB,MAAM;QACN,eAAe;QACf,iBAAiB;QACjB,UAAU;QACV,mBAAmB;QACnB,QAAQ;QACR,OAAO;QACP,WAAW;QACX,SAAS;QACT,UAAU;QACV,aAAa;QACb,gBAAgB;QAChB,OAAO;QACP,mBAAmB;KACpB,CAAC;SACD,QAAQ,EAAE;IAEb,yDAAyD;IACzD,gBAAgB,EAAE,CAAC;SAChB,IAAI,CAAC;QACJ,OAAO;QACP,cAAc;QACd,aAAa;QACb,aAAa;QACb,cAAc;QACd,oBAAoB;QACpB,sBAAsB;QACtB,iBAAiB;QACjB,MAAM;QACN,eAAe;QACf,iBAAiB;QACjB,UAAU;QACV,mBAAmB;QACnB,QAAQ;QACR,OAAO;QACP,WAAW;QACX,SAAS;QACT,UAAU;QACV,aAAa;QACb,gBAAgB;QAChB,OAAO;QACP,mBAAmB;KACpB,CAAC;SACD,QAAQ,EAAE;IAEb,mCAAmC;IACnC,iBAAiB,EAAE,CAAC;SACjB,IAAI,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,gBAAgB,CAAC,CAAC;SACtF,QAAQ,EAAE;IAEb,gCAAgC;IAChC,cAAc,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,CAAC,CAAC,CAAC,QAAQ,EAAE;CACjF,CAAC,CAAC","sourcesContent":["/**\n * Step 01 — Profile\n *\n * Fields: firstName, middleName, lastName, gender, dateOfBirth,\n * whatsappNumber, primaryLanguage, secondaryLanguages,\n * familyReligion, personalReligion, reservationStatus, minorityStatus\n *\n * @module udp-schema/step-01\n */\n\nimport { z } from 'zod';\nimport {\n emptyStringToUndefined,\n optionalPhoneSchema,\n optionalTrimmedString,\n} from './zod-helpers.js';\n\n// ─── Main Step 01 Schema ────────────────────────────────────────────────────\n\nexport const step01ProfileSchema = z.object({\n firstName: z.string().trim().max(50).optional(),\n middleName: optionalTrimmedString,\n lastName: z.string().trim().max(50).optional(),\n\n gender: z\n .enum([\n 'man',\n 'woman',\n 'non_binary',\n 'transgender_man',\n 'transgender_woman',\n 'genderqueer',\n 'genderfluid',\n 'agender',\n 'two_spirit',\n 'other',\n 'prefer_not_to_say',\n ])\n .optional(),\n\n dateOfBirth: z.preprocess(emptyStringToUndefined, z.coerce.date().optional()),\n\n whatsappNumber: optionalPhoneSchema,\n\n /** Single language code string (e.g., \"hindi\", \"english\") — matches dating motherTongue options */\n primaryLanguage: z.string().trim().optional(),\n\n /** Array of language code strings */\n secondaryLanguages: z.array(z.string().trim()).max(10).optional(),\n\n /**\n * Family religion — uses dating-schema religion option values.\n * e.g., \"hindu\", \"muslim_sunni\", \"christian_catholic\", etc.\n */\n familyReligion: z\n .enum([\n 'hindu',\n 'muslim_sunni',\n 'muslim_shia',\n 'muslim_sufi',\n 'muslim_other',\n 'christian_catholic',\n 'christian_protestant',\n 'christian_other',\n 'sikh',\n 'jain_digambar',\n 'jain_shwetambar',\n 'buddhist',\n 'parsi_zoroastrian',\n 'jewish',\n 'bahai',\n 'spiritual',\n 'atheist',\n 'agnostic',\n 'no_religion',\n 'inter_religion',\n 'other',\n 'prefer_not_to_say',\n ])\n .optional(),\n\n /** Personal religion — same options as familyReligion */\n personalReligion: z\n .enum([\n 'hindu',\n 'muslim_sunni',\n 'muslim_shia',\n 'muslim_sufi',\n 'muslim_other',\n 'christian_catholic',\n 'christian_protestant',\n 'christian_other',\n 'sikh',\n 'jain_digambar',\n 'jain_shwetambar',\n 'buddhist',\n 'parsi_zoroastrian',\n 'jewish',\n 'bahai',\n 'spiritual',\n 'atheist',\n 'agnostic',\n 'no_religion',\n 'inter_religion',\n 'other',\n 'prefer_not_to_say',\n ])\n .optional(),\n\n /** Reservation / caste category */\n reservationStatus: z\n .enum(['SC', 'ST', 'OBC_NC', 'OBC_C', 'EWS', 'GENERAL', 'DONT_KNOW', 'PREFER_NOT_SAY'])\n .optional(),\n\n /** Minority community status */\n minorityStatus: z.enum(['NO', 'RELIGIOUS', 'LINGUISTIC', 'NOT_SURE']).optional(),\n});\n\n// ─── Inferred types ─────────────────────────────────────────────────────────\n\nexport type Step01ProfileInput = z.infer<typeof step01ProfileSchema>;\n"]}
1
+ {"version":3,"file":"step-01.schema.js","sourceRoot":"","sources":["../src/step-01.schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,sBAAsB,EACtB,mBAAmB,EACnB,qBAAqB,GACtB,MAAM,kBAAkB,CAAC;AAE1B,+EAA+E;AAE/E,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC/C,UAAU,EAAE,qBAAqB;IACjC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;IAE9C,gFAAgF;IAChF,MAAM,EAAE,CAAC;SACN,IAAI,CAAC;QACJ,KAAK;QACL,OAAO;QACP,YAAY;QACZ,WAAW;QACX,aAAa;QACb,aAAa;QACb,aAAa;QACb,SAAS;QACT,UAAU;QACV,WAAW;QACX,aAAa;QACb,UAAU;QACV,sBAAsB;QACtB,YAAY;QACZ,OAAO;QACP,OAAO;QACP,mBAAmB;KACpB,C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,EAAE,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,gBAAgB,CAAC,CAAC;SACtF,QAAQ,EAAE;IAEb,gCAAgC;IAChC,cAAc,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,CAAC,CAAC,CAAC,QAAQ,EAAE;CACjF,CAAC,CAAC","sourcesContent":["/**\n * Step 01 — Profile\n *\n * Fields: firstName, middleName, lastName, gender, dateOfBirth,\n * whatsappNumber, primaryLanguage, secondaryLanguages,\n * familyReligion, personalReligion, reservationStatus, minorityStatus\n *\n * @module udp-schema/step-01\n */\n\nimport { z } from 'zod';\nimport {\n emptyStringToUndefined,\n optionalPhoneSchema,\n optionalTrimmedString,\n} from './zod-helpers.js';\n\n// ─── Main Step 01 Schema ────────────────────────────────────────────────────\n\nexport const step01ProfileSchema = z.object({\n firstName: z.string().trim().max(50).optional(),\n middleName: optionalTrimmedString,\n lastName: z.string().trim().max(50).optional(),\n\n /** Gender — matches dating-schema enum EXACTLY (same values, same spelling). */\n gender: z\n .enum([\n 'man',\n 'woman',\n 'non_binary',\n 'trans_man',\n 'trans_woman',\n 'genderfluid',\n 'genderqueer',\n 'agender',\n 'bigender',\n 'pangender',\n 'androgynous',\n 'intersex',\n 'gender_nonconforming',\n 'two_spirit',\n 'hijra',\n 'other',\n 'prefer_not_to_say',\n ])\n .optional(),\n\n dateOfBirth: z.preprocess(emptyStringToUndefined, z.coerce.date().optional()),\n\n whatsappNumber: optionalPhoneSchema,\n\n /** Single language code string (e.g., \"hindi\", \"english\") — matches dating motherTongue options */\n primaryLanguage: z.string().trim().optional(),\n\n /** Array of language code strings */\n secondaryLanguages: z.array(z.string().trim()).max(10).optional(),\n\n /**\n * Family religion — uses dating-schema religion option values.\n * e.g., \"hindu\", \"muslim_sunni\", \"christian_catholic\", etc.\n */\n familyReligion: z\n .enum([\n 'hindu',\n 'muslim_sunni',\n 'muslim_shia',\n 'muslim_sufi',\n 'muslim_other',\n 'christian_catholic',\n 'christian_protestant',\n 'christian_other',\n 'sikh',\n 'jain_digambar',\n 'jain_shwetambar',\n 'buddhist',\n 'parsi_zoroastrian',\n 'jewish',\n 'bahai',\n 'spiritual',\n 'atheist',\n 'agnostic',\n 'no_religion',\n 'inter_religion',\n 'other',\n 'prefer_not_to_say',\n ])\n .optional(),\n\n /** Personal religion — same options as familyReligion */\n personalReligion: z\n .enum([\n 'hindu',\n 'muslim_sunni',\n 'muslim_shia',\n 'muslim_sufi',\n 'muslim_other',\n 'christian_catholic',\n 'christian_protestant',\n 'christian_other',\n 'sikh',\n 'jain_digambar',\n 'jain_shwetambar',\n 'buddhist',\n 'parsi_zoroastrian',\n 'jewish',\n 'bahai',\n 'spiritual',\n 'atheist',\n 'agnostic',\n 'no_religion',\n 'inter_religion',\n 'other',\n 'prefer_not_to_say',\n ])\n .optional(),\n\n /** Reservation / caste category */\n reservationStatus: z\n .enum(['SC', 'ST', 'OBC_NC', 'OBC_C', 'EWS', 'GENERAL', 'DONT_KNOW', 'PREFER_NOT_SAY'])\n .optional(),\n\n /** Minority community status */\n minorityStatus: z.enum(['NO', 'RELIGIOUS', 'LINGUISTIC', 'NOT_SURE']).optional(),\n});\n\n// ─── Inferred types ─────────────────────────────────────────────────────────\n\nexport type Step01ProfileInput = z.infer<typeof step01ProfileSchema>;\n"]}
@@ -10,13 +10,15 @@ import { z } from 'zod';
10
10
  export declare const step02PoliticalSchema: z.ZodObject<{
11
11
  politicalSpectrum: z.ZodOptional<z.ZodEnum<{
12
12
  prefer_not_to_say: "prefer_not_to_say";
13
- "1_tradition_faith": "1_tradition_faith";
14
- "2_faith_curious": "2_faith_curious";
15
- "3_multiplicity_open": "3_multiplicity_open";
16
- "4_pragmatic_flexible": "4_pragmatic_flexible";
17
- "5_evidence_reasoning": "5_evidence_reasoning";
18
- "6_critical_reflective": "6_critical_reflective";
19
- "7_skeptic_optimize": "7_skeptic_optimize";
13
+ far_left: "far_left";
14
+ left: "left";
15
+ centre_left: "centre_left";
16
+ centrist: "centrist";
17
+ centre_right: "centre_right";
18
+ right: "right";
19
+ far_right: "far_right";
20
+ libertarian: "libertarian";
21
+ apolitical: "apolitical";
20
22
  }>>;
21
23
  selfPartyAssociation: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodString>>;
22
24
  familyPartyAssociation: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodString>>;
@@ -1 +1 @@
1
- {"version":3,"file":"step-02.schema.d.ts","sourceRoot":"","sources":["../src/step-02.schema.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiChC,CAAC;AAIH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
1
+ {"version":3,"file":"step-02.schema.d.ts","sourceRoot":"","sources":["../src/step-02.schema.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAmChC,CAAC;AAIH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
@@ -10,16 +10,18 @@ import { z } from 'zod';
10
10
  import { optionalTrimmedString } from './zod-helpers.js';
11
11
  // ─── Main Step 02 Schema ────────────────────────────────────────────────────
12
12
  export const step02PoliticalSchema = z.object({
13
- /** Political spectrum — uses dating-schema cognitiveBand values */
13
+ /** Political spectrum — left/right axis (matches dating-schema politicalOrientation values) */
14
14
  politicalSpectrum: z
15
15
  .enum([
16
- '1_tradition_faith',
17
- '2_faith_curious',
18
- '3_multiplicity_open',
19
- '4_pragmatic_flexible',
20
- '5_evidence_reasoning',
21
- '6_critical_reflective',
22
- '7_skeptic_optimize',
16
+ 'far_left',
17
+ 'left',
18
+ 'centre_left',
19
+ 'centrist',
20
+ 'centre_right',
21
+ 'right',
22
+ 'far_right',
23
+ 'libertarian',
24
+ 'apolitical',
23
25
  'prefer_not_to_say',
24
26
  ])
25
27
  .optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"step-02.schema.js","sourceRoot":"","sources":["../src/step-02.schema.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAEzD,+EAA+E;AAE/E,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,mEAAmE;IACnE,iBAAiB,EAAE,CAAC;SACjB,IAAI,CAAC;QACJ,mBAAmB;QACnB,iBAAiB;QACjB,qBAAqB;QACrB,sBAAsB;QACtB,sBAAsB;QACtB,uBAAuB;QACvB,oBAAoB;QACpB,mBAAmB;KACpB,CAAC;SACD,QAAQ,EAAE;IAEb,6BAA6B;IAC7B,oBAAoB,EAAE,qBAAqB;IAE3C,+BAA+B;IAC/B,sBAAsB,EAAE,qBAAqB;IAE7C,0CAA0C;IAC1C,wBAAwB,EAAE,CAAC;SACxB,MAAM,CAAC;QACN,aAAa,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,IAAI,EAAE,mBAAmB,CAAC,CAAC,CAAC,QAAQ,EAAE;QACpE,aAAa,EAAE,qBAAqB;QACpC,iBAAiB,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,QAAQ,EAAE;QACnD,eAAe,EAAE,qBAAqB;KACvC,CAAC;SACD,QAAQ,EAAE;IAEb,kDAAkD;IAClD,yBAAyB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE;CACjE,CAAC,CAAC","sourcesContent":["/**\n * Step 02 — Political Association & History\n *\n * Fields: politicalSpectrum, selfPartyAssociation, familyPartyAssociation,\n * publicOfficeAndElections, networkAndCivicEngagement\n *\n * @module udp-schema/step-02\n */\n\nimport { z } from 'zod';\nimport { optionalTrimmedString } from './zod-helpers.js';\n\n// ─── Main Step 02 Schema ────────────────────────────────────────────────────\n\nexport const step02PoliticalSchema = z.object({\n /** Political spectrum — uses dating-schema cognitiveBand values */\n politicalSpectrum: z\n .enum([\n '1_tradition_faith',\n '2_faith_curious',\n '3_multiplicity_open',\n '4_pragmatic_flexible',\n '5_evidence_reasoning',\n '6_critical_reflective',\n '7_skeptic_optimize',\n 'prefer_not_to_say',\n ])\n .optional(),\n\n /** Self party association */\n selfPartyAssociation: optionalTrimmedString,\n\n /** Family party association */\n familyPartyAssociation: optionalTrimmedString,\n\n /** Public office and elections history */\n publicOfficeAndElections: z\n .object({\n hasHeldOffice: z.enum(['yes', 'no', 'prefer_not_to_say']).optional(),\n officeDetails: optionalTrimmedString,\n electionContested: z.enum(['yes', 'no']).optional(),\n electionDetails: optionalTrimmedString,\n })\n .optional(),\n\n /** Network and civic engagement (multi-select) */\n networkAndCivicEngagement: z.array(z.string().trim()).optional(),\n});\n\n// ─── Inferred types ─────────────────────────────────────────────────────────\n\nexport type Step02PoliticalInput = z.infer<typeof step02PoliticalSchema>;\n"]}
1
+ {"version":3,"file":"step-02.schema.js","sourceRoot":"","sources":["../src/step-02.schema.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAEzD,+EAA+E;AAE/E,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,+FAA+F;IAC/F,iBAAiB,EAAE,CAAC;SACjB,IAAI,CAAC;QACJ,UAAU;QACV,MAAM;QACN,aAAa;QACb,UAAU;QACV,cAAc;QACd,OAAO;QACP,WAAW;QACX,aAAa;QACb,YAAY;QACZ,mBAAmB;KACpB,CAAC;SACD,QAAQ,EAAE;IAEb,6BAA6B;IAC7B,oBAAoB,EAAE,qBAAqB;IAE3C,+BAA+B;IAC/B,sBAAsB,EAAE,qBAAqB;IAE7C,0CAA0C;IAC1C,wBAAwB,EAAE,CAAC;SACxB,MAAM,CAAC;QACN,aAAa,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,IAAI,EAAE,mBAAmB,CAAC,CAAC,CAAC,QAAQ,EAAE;QACpE,aAAa,EAAE,qBAAqB;QACpC,iBAAiB,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,QAAQ,EAAE;QACnD,eAAe,EAAE,qBAAqB;KACvC,CAAC;SACD,QAAQ,EAAE;IAEb,kDAAkD;IAClD,yBAAyB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE;CACjE,CAAC,CAAC","sourcesContent":["/**\n * Step 02 — Political Association & History\n *\n * Fields: politicalSpectrum, selfPartyAssociation, familyPartyAssociation,\n * publicOfficeAndElections, networkAndCivicEngagement\n *\n * @module udp-schema/step-02\n */\n\nimport { z } from 'zod';\nimport { optionalTrimmedString } from './zod-helpers.js';\n\n// ─── Main Step 02 Schema ────────────────────────────────────────────────────\n\nexport const step02PoliticalSchema = z.object({\n /** Political spectrum — left/right axis (matches dating-schema politicalOrientation values) */\n politicalSpectrum: z\n .enum([\n 'far_left',\n 'left',\n 'centre_left',\n 'centrist',\n 'centre_right',\n 'right',\n 'far_right',\n 'libertarian',\n 'apolitical',\n 'prefer_not_to_say',\n ])\n .optional(),\n\n /** Self party association */\n selfPartyAssociation: optionalTrimmedString,\n\n /** Family party association */\n familyPartyAssociation: optionalTrimmedString,\n\n /** Public office and elections history */\n publicOfficeAndElections: z\n .object({\n hasHeldOffice: z.enum(['yes', 'no', 'prefer_not_to_say']).optional(),\n officeDetails: optionalTrimmedString,\n electionContested: z.enum(['yes', 'no']).optional(),\n electionDetails: optionalTrimmedString,\n })\n .optional(),\n\n /** Network and civic engagement (multi-select) */\n networkAndCivicEngagement: z.array(z.string().trim()).optional(),\n});\n\n// ─── Inferred types ─────────────────────────────────────────────────────────\n\nexport type Step02PoliticalInput = z.infer<typeof step02PoliticalSchema>;\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "udp-schema",
3
- "version": "2.5.0",
3
+ "version": "2.6.0",
4
4
  "description": "Shared Zod schemas for User Detailed Profile (frontend + backend).",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",