udp-schema 0.3.0 → 1.1.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.
Files changed (125) hide show
  1. package/dist/field-helpers.d.ts +18 -31
  2. package/dist/field-helpers.d.ts.map +1 -1
  3. package/dist/field-helpers.js +56 -51
  4. package/dist/field-helpers.js.map +1 -1
  5. package/dist/field-meta.d.ts +14 -34
  6. package/dist/field-meta.d.ts.map +1 -1
  7. package/dist/field-meta.js +13 -1991
  8. package/dist/field-meta.js.map +1 -1
  9. package/dist/index.d.ts +19 -18
  10. package/dist/index.d.ts.map +1 -1
  11. package/dist/index.js +30 -35
  12. package/dist/index.js.map +1 -1
  13. package/dist/onboarding-config.d.ts +44 -0
  14. package/dist/onboarding-config.d.ts.map +1 -0
  15. package/dist/onboarding-config.js +705 -0
  16. package/dist/onboarding-config.js.map +1 -0
  17. package/dist/profile-fields/01-profile.d.ts +264 -0
  18. package/dist/profile-fields/01-profile.d.ts.map +1 -0
  19. package/dist/profile-fields/01-profile.js +113 -0
  20. package/dist/profile-fields/01-profile.js.map +1 -0
  21. package/dist/profile-fields/02-political.d.ts +133 -0
  22. package/dist/profile-fields/02-political.d.ts.map +1 -0
  23. package/dist/profile-fields/02-political.js +42 -0
  24. package/dist/profile-fields/02-political.js.map +1 -0
  25. package/dist/profile-fields/03-electoral.d.ts +46 -0
  26. package/dist/profile-fields/03-electoral.d.ts.map +1 -0
  27. package/dist/profile-fields/03-electoral.js +21 -0
  28. package/dist/profile-fields/03-electoral.js.map +1 -0
  29. package/dist/profile-fields/04-leadership.d.ts +34 -0
  30. package/dist/profile-fields/04-leadership.d.ts.map +1 -0
  31. package/dist/profile-fields/04-leadership.js +22 -0
  32. package/dist/profile-fields/04-leadership.js.map +1 -0
  33. package/dist/profile-fields/05-psychological.d.ts +58 -0
  34. package/dist/profile-fields/05-psychological.d.ts.map +1 -0
  35. package/dist/profile-fields/05-psychological.js +20 -0
  36. package/dist/profile-fields/05-psychological.js.map +1 -0
  37. package/dist/profile-fields/06-education.d.ts +28 -0
  38. package/dist/profile-fields/06-education.d.ts.map +1 -0
  39. package/dist/profile-fields/06-education.js +23 -0
  40. package/dist/profile-fields/06-education.js.map +1 -0
  41. package/dist/profile-fields/07-employment.d.ts +75 -0
  42. package/dist/profile-fields/07-employment.d.ts.map +1 -0
  43. package/dist/profile-fields/07-employment.js +32 -0
  44. package/dist/profile-fields/07-employment.js.map +1 -0
  45. package/dist/profile-fields/08-neurodiversity.d.ts +100 -0
  46. package/dist/profile-fields/08-neurodiversity.d.ts.map +1 -0
  47. package/dist/profile-fields/08-neurodiversity.js +39 -0
  48. package/dist/profile-fields/08-neurodiversity.js.map +1 -0
  49. package/dist/profile-fields/09-health.d.ts +89 -0
  50. package/dist/profile-fields/09-health.d.ts.map +1 -0
  51. package/dist/profile-fields/09-health.js +38 -0
  52. package/dist/profile-fields/09-health.js.map +1 -0
  53. package/dist/profile-fields/10-worldview.d.ts +75 -0
  54. package/dist/profile-fields/10-worldview.d.ts.map +1 -0
  55. package/dist/profile-fields/10-worldview.js +41 -0
  56. package/dist/profile-fields/10-worldview.js.map +1 -0
  57. package/dist/profile-fields/11-residence.d.ts +3 -0
  58. package/dist/profile-fields/11-residence.d.ts.map +1 -0
  59. package/dist/profile-fields/11-residence.js +11 -0
  60. package/dist/profile-fields/11-residence.js.map +1 -0
  61. package/dist/profile-fields/12-household.d.ts +90 -0
  62. package/dist/profile-fields/12-household.d.ts.map +1 -0
  63. package/dist/profile-fields/12-household.js +37 -0
  64. package/dist/profile-fields/12-household.js.map +1 -0
  65. package/dist/profile-fields/index.d.ts +22 -0
  66. package/dist/profile-fields/index.d.ts.map +1 -0
  67. package/dist/profile-fields/index.js +47 -0
  68. package/dist/profile-fields/index.js.map +1 -0
  69. package/dist/profile-fields/types.d.ts +66 -0
  70. package/dist/profile-fields/types.d.ts.map +1 -0
  71. package/dist/profile-fields/types.js +8 -0
  72. package/dist/profile-fields/types.js.map +1 -0
  73. package/dist/progress-fields.d.ts +21 -3
  74. package/dist/progress-fields.d.ts.map +1 -1
  75. package/dist/progress-fields.js +97 -94
  76. package/dist/progress-fields.js.map +1 -1
  77. package/dist/step-01.schema.d.ts +84 -111
  78. package/dist/step-01.schema.d.ts.map +1 -1
  79. package/dist/step-01.schema.js +94 -101
  80. package/dist/step-01.schema.js.map +1 -1
  81. package/dist/step-02.schema.d.ts +31 -21
  82. package/dist/step-02.schema.d.ts.map +1 -1
  83. package/dist/step-02.schema.js +34 -27
  84. package/dist/step-02.schema.js.map +1 -1
  85. package/dist/step-03.schema.d.ts +24 -300
  86. package/dist/step-03.schema.d.ts.map +1 -1
  87. package/dist/step-03.schema.js +17 -60
  88. package/dist/step-03.schema.js.map +1 -1
  89. package/dist/step-04.schema.d.ts +56 -50
  90. package/dist/step-04.schema.d.ts.map +1 -1
  91. package/dist/step-04.schema.js +44 -43
  92. package/dist/step-04.schema.js.map +1 -1
  93. package/dist/step-05.schema.d.ts +13 -52
  94. package/dist/step-05.schema.d.ts.map +1 -1
  95. package/dist/step-05.schema.js +19 -40
  96. package/dist/step-05.schema.js.map +1 -1
  97. package/dist/step-06.schema.d.ts +101 -117
  98. package/dist/step-06.schema.d.ts.map +1 -1
  99. package/dist/step-06.schema.js +70 -75
  100. package/dist/step-06.schema.js.map +1 -1
  101. package/dist/step-07.schema.d.ts +44 -95
  102. package/dist/step-07.schema.d.ts.map +1 -1
  103. package/dist/step-07.schema.js +37 -78
  104. package/dist/step-07.schema.js.map +1 -1
  105. package/dist/step-08.schema.d.ts +31 -44
  106. package/dist/step-08.schema.d.ts.map +1 -1
  107. package/dist/step-08.schema.js +29 -48
  108. package/dist/step-08.schema.js.map +1 -1
  109. package/dist/step-09.schema.d.ts +48 -85
  110. package/dist/step-09.schema.d.ts.map +1 -1
  111. package/dist/step-09.schema.js +28 -120
  112. package/dist/step-09.schema.js.map +1 -1
  113. package/dist/step-10.schema.d.ts +32 -86
  114. package/dist/step-10.schema.d.ts.map +1 -1
  115. package/dist/step-10.schema.js +44 -120
  116. package/dist/step-10.schema.js.map +1 -1
  117. package/dist/step-11.schema.d.ts +36 -92
  118. package/dist/step-11.schema.d.ts.map +1 -1
  119. package/dist/step-11.schema.js +32 -111
  120. package/dist/step-11.schema.js.map +1 -1
  121. package/dist/step-12.schema.d.ts +56 -93
  122. package/dist/step-12.schema.d.ts.map +1 -1
  123. package/dist/step-12.schema.js +57 -133
  124. package/dist/step-12.schema.js.map +1 -1
  125. package/package.json +1 -1
@@ -0,0 +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,SAAS,EAAE;QACT,KAAK,EAAE,iBAAiB;QACxB,QAAQ,EAAE,oBAAoB;QAC9B,cAAc,EAAE,mBAAmB;QACnC,QAAQ,EAAE,IAAI;KACf;IACD,UAAU,EAAE;QACV,KAAK,EAAE,kBAAkB;QACzB,QAAQ,EAAE,qBAAqB;QAC/B,cAAc,EAAE,oBAAoB;QACpC,QAAQ,EAAE,KAAK;KAChB;IACD,QAAQ,EAAE;QACR,KAAK,EAAE,gBAAgB;QACvB,QAAQ,EAAE,mBAAmB;QAC7B,cAAc,EAAE,kBAAkB;QAClC,QAAQ,EAAE,IAAI;KACf;IACD,MAAM,EAAE;QACN,KAAK,EAAE,cAAc;QACrB,QAAQ,EAAE,iBAAiB;QAC3B,cAAc,EAAE,gBAAgB;QAChC,QAAQ,EAAE,IAAI;KACf;IACD,WAAW,EAAE;QACX,KAAK,EAAE,mBAAmB;QAC1B,QAAQ,EAAE,sBAAsB;QAChC,cAAc,EAAE,qBAAqB;QACrC,QAAQ,EAAE,IAAI;KACf;IACD,cAAc,EAAE;QACd,KAAK,EAAE,sBAAsB;QAC7B,QAAQ,EAAE,yBAAyB;QACnC,cAAc,EAAE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;YAC3B,sBAAsB;SACvB;KACF;IACD;QACE,KAAK,EAAE,iBAAiB;QACxB,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,CAAC,gBAAgB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,gBAAgB,CAAC;KACpF;IACD;QACE,KAAK,EAAE,iBAAiB;QACxB,IAAI,EAAE,MAAM;QACZ,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(\"udpOnboarding\") → t(config.title).\n *\n * Translation files:\n * - messages/en/udp-onboarding.json (English)\n * - messages/hi/udp-onboarding.json (Hindi)\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 /** Icon name from lucide-react (resolved at runtime by frontend) */\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 firstName: {\n title: 'firstName.title',\n subtitle: 'firstName.subtitle',\n successMessage: 'firstName.success',\n required: true,\n },\n middleName: {\n title: 'middleName.title',\n subtitle: 'middleName.subtitle',\n successMessage: 'middleName.success',\n required: false,\n },\n lastName: {\n title: 'lastName.title',\n subtitle: 'lastName.subtitle',\n successMessage: 'lastName.success',\n required: true,\n },\n gender: {\n title: 'gender.title',\n subtitle: 'gender.subtitle',\n successMessage: 'gender.success',\n required: true,\n },\n dateOfBirth: {\n title: 'dateOfBirth.title',\n subtitle: 'dateOfBirth.subtitle',\n successMessage: 'dateOfBirth.success',\n required: true,\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: true,\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: true,\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: true,\n },\n minorityStatus: {\n title: 'minorityStatus.title',\n subtitle: 'minorityStatus.subtitle',\n successMessage: 'minorityStatus.success',\n required: true,\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: true,\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: true,\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: 'User',\n fields: [\n 'firstName',\n 'middleName',\n 'lastName',\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: 'Flag',\n fields: [\n 'politicalSpectrum',\n 'selfPartyAssociation',\n 'familyPartyAssociation',\n 'publicOfficeAndElections',\n 'networkAndCivicEngagement',\n ],\n },\n {\n label: 'steps.electoralBehaviour',\n icon: 'Vote',\n fields: [\n 'epicNumber',\n 'willVoteThisTime',\n 'didVoteLastTime',\n 'votingFrequency',\n 'primaryVotingIssues',\n ],\n },\n {\n label: 'steps.leadershipAmbitions',\n icon: 'Crown',\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: 'Brain',\n fields: ['mbtiType', 'oceanScores'],\n },\n {\n label: 'steps.education',\n icon: 'GraduationCap',\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: 'Briefcase',\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: 'Sparkles',\n fields: [\n 'neurodiverseIdentity',\n 'conditions',\n 'sensoryPreferences',\n 'learningStyle',\n 'communicationPreference',\n 'supportNeeds',\n ],\n },\n {\n label: 'steps.healthLifestyle',\n icon: 'HeartPulse',\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: 'Globe',\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: 'MapPin',\n fields: ['currentAddress', 'permanentAddress', 'homeNativePlace', 'ancestralPlace'],\n },\n {\n label: 'steps.household',\n icon: 'Home',\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"]}
@@ -0,0 +1,264 @@
1
+ /**
2
+ * Step 01 — Profile fields.
3
+ *
4
+ * Rich field definitions with options and descriptions,
5
+ * matching the dating-schema profile-fields pattern.
6
+ */
7
+ import type { FieldGroup } from './types.js';
8
+ export declare const genderOptions: readonly [{
9
+ readonly value: "man";
10
+ readonly label: "Man";
11
+ }, {
12
+ readonly value: "woman";
13
+ readonly label: "Woman";
14
+ }, {
15
+ readonly value: "non_binary";
16
+ readonly label: "Non-binary";
17
+ readonly description: "Neither exclusively male nor female";
18
+ }, {
19
+ readonly value: "transgender_man";
20
+ readonly label: "Transgender Man";
21
+ readonly description: "Assigned female at birth, identifies as male";
22
+ }, {
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";
30
+ }, {
31
+ readonly value: "genderfluid";
32
+ readonly label: "Genderfluid";
33
+ readonly description: "Gender identity shifts over time";
34
+ }, {
35
+ readonly value: "agender";
36
+ readonly label: "Agender";
37
+ readonly description: "No specific gender identity";
38
+ }, {
39
+ readonly value: "two_spirit";
40
+ readonly label: "Two-Spirit";
41
+ readonly description: "Indigenous identity encompassing multiple genders";
42
+ }, {
43
+ readonly value: "other";
44
+ readonly label: "Other";
45
+ }, {
46
+ readonly value: "prefer_not_to_say";
47
+ readonly label: "Prefer not to say";
48
+ }];
49
+ export declare const religionOptions: readonly [{
50
+ readonly value: "hindu";
51
+ readonly label: "Hindu";
52
+ readonly description: "Sanatana Dharma traditions";
53
+ }, {
54
+ readonly value: "muslim_sunni";
55
+ readonly label: "Muslim (Sunni)";
56
+ readonly description: "Largest branch of Islam";
57
+ }, {
58
+ readonly value: "muslim_shia";
59
+ readonly label: "Muslim (Shia)";
60
+ readonly description: "Second-largest branch of Islam";
61
+ }, {
62
+ readonly value: "muslim_sufi";
63
+ readonly label: "Muslim (Sufi)";
64
+ readonly description: "Mystical Islamic tradition";
65
+ }, {
66
+ readonly value: "muslim_other";
67
+ readonly label: "Muslim (Other)";
68
+ readonly description: "Ahmadiyya or other traditions";
69
+ }, {
70
+ readonly value: "christian_catholic";
71
+ readonly label: "Christian (Catholic)";
72
+ readonly description: "Roman Catholic tradition";
73
+ }, {
74
+ readonly value: "christian_protestant";
75
+ readonly label: "Christian (Protestant)";
76
+ readonly description: "Baptist, Methodist, Pentecostal, etc.";
77
+ }, {
78
+ readonly value: "christian_other";
79
+ readonly label: "Christian (Other)";
80
+ readonly description: "Orthodox, Syrian, or other traditions";
81
+ }, {
82
+ readonly value: "sikh";
83
+ readonly label: "Sikh";
84
+ readonly description: "Founded by Guru Nanak";
85
+ }, {
86
+ readonly value: "jain_digambar";
87
+ readonly label: "Jain (Digambar)";
88
+ readonly description: "Sky-clad Jain tradition";
89
+ }, {
90
+ readonly value: "jain_shwetambar";
91
+ readonly label: "Jain (Shwetambar)";
92
+ readonly description: "White-clad Jain tradition";
93
+ }, {
94
+ readonly value: "buddhist";
95
+ readonly label: "Buddhist";
96
+ readonly description: "Followers of the Buddha's teachings";
97
+ }, {
98
+ readonly value: "parsi_zoroastrian";
99
+ readonly label: "Parsi / Zoroastrian";
100
+ readonly description: "Ancient Persian faith";
101
+ }, {
102
+ readonly value: "jewish";
103
+ readonly label: "Jewish";
104
+ readonly description: "Judaism — Abrahamic faith";
105
+ }, {
106
+ readonly value: "bahai";
107
+ readonly label: "Baha'i";
108
+ readonly description: "Unity of all religions and humanity";
109
+ }, {
110
+ readonly value: "spiritual";
111
+ readonly label: "Spiritual but not religious";
112
+ readonly description: "Personal spiritual practice";
113
+ }, {
114
+ readonly value: "atheist";
115
+ readonly label: "Atheist";
116
+ readonly description: "No belief in deities";
117
+ }, {
118
+ readonly value: "agnostic";
119
+ readonly label: "Agnostic";
120
+ readonly description: "Uncertain about higher power";
121
+ }, {
122
+ readonly value: "no_religion";
123
+ readonly label: "No Religion";
124
+ readonly description: "Simply non-religious";
125
+ }, {
126
+ readonly value: "inter_religion";
127
+ readonly label: "Inter-Religion / Multi-faith";
128
+ readonly description: "Multi-faith background";
129
+ }, {
130
+ readonly value: "other";
131
+ readonly label: "Other";
132
+ readonly description: "A faith not listed above";
133
+ }, {
134
+ readonly value: "prefer_not_to_say";
135
+ readonly label: "Prefer not to say";
136
+ }];
137
+ export declare const languageOptions: readonly [{
138
+ readonly value: "hindi";
139
+ readonly label: "Hindi (हिन्दी)";
140
+ }, {
141
+ readonly value: "english";
142
+ readonly label: "English";
143
+ }, {
144
+ readonly value: "bengali";
145
+ readonly label: "Bengali (বাংলা)";
146
+ }, {
147
+ readonly value: "telugu";
148
+ readonly label: "Telugu (తెలుగు)";
149
+ }, {
150
+ readonly value: "marathi";
151
+ readonly label: "Marathi (मराठी)";
152
+ }, {
153
+ readonly value: "tamil";
154
+ readonly label: "Tamil (தமிழ்)";
155
+ }, {
156
+ readonly value: "urdu";
157
+ readonly label: "Urdu (اردو)";
158
+ }, {
159
+ readonly value: "gujarati";
160
+ readonly label: "Gujarati (ગુજરાતી)";
161
+ }, {
162
+ readonly value: "kannada";
163
+ readonly label: "Kannada (ಕನ್ನಡ)";
164
+ }, {
165
+ readonly value: "odia";
166
+ readonly label: "Odia (ଓଡ଼ିଆ)";
167
+ }, {
168
+ readonly value: "malayalam";
169
+ readonly label: "Malayalam (മലയാളം)";
170
+ }, {
171
+ readonly value: "punjabi";
172
+ readonly label: "Punjabi (ਪੰਜਾਬੀ)";
173
+ }, {
174
+ readonly value: "assamese";
175
+ readonly label: "Assamese (অসমীয়া)";
176
+ }, {
177
+ readonly value: "maithili";
178
+ readonly label: "Maithili (मैथिली)";
179
+ }, {
180
+ readonly value: "bhojpuri";
181
+ readonly label: "Bhojpuri (भोजपुरी)";
182
+ }, {
183
+ readonly value: "rajasthani";
184
+ readonly label: "Rajasthani (राजस्थानी)";
185
+ }, {
186
+ readonly value: "chhattisgarhi";
187
+ readonly label: "Chhattisgarhi (छत्तीसगढ़ी)";
188
+ }, {
189
+ readonly value: "haryanvi";
190
+ readonly label: "Haryanvi (हरियाणवी)";
191
+ }, {
192
+ readonly value: "tulu";
193
+ readonly label: "Tulu (ತುಳು)";
194
+ }, {
195
+ readonly value: "sanskrit";
196
+ readonly label: "Sanskrit (संस्कृतम्)";
197
+ }, {
198
+ readonly value: "sindhi";
199
+ readonly label: "Sindhi (سنڌي)";
200
+ }, {
201
+ readonly value: "kashmiri";
202
+ readonly label: "Kashmiri (कॉशुर)";
203
+ }, {
204
+ readonly value: "nepali";
205
+ readonly label: "Nepali (नेपाली)";
206
+ }, {
207
+ readonly value: "konkani";
208
+ readonly label: "Konkani (कोंकणी)";
209
+ }, {
210
+ readonly value: "dogri";
211
+ readonly label: "Dogri (डोगरी)";
212
+ }, {
213
+ readonly value: "manipuri";
214
+ readonly label: "Manipuri (মৈতৈলোন্)";
215
+ }, {
216
+ readonly value: "bodo";
217
+ readonly label: "Bodo (बड़ो)";
218
+ }, {
219
+ readonly value: "santali";
220
+ readonly label: "Santali (ᱥᱟᱱᱛᱟᱲᱤ)";
221
+ }, {
222
+ readonly value: "other";
223
+ readonly label: "Other";
224
+ }];
225
+ export declare const reservationOptions: readonly [{
226
+ readonly value: "SC";
227
+ readonly label: "Scheduled Caste (SC)";
228
+ }, {
229
+ readonly value: "ST";
230
+ readonly label: "Scheduled Tribe (ST)";
231
+ }, {
232
+ readonly value: "OBC_NC";
233
+ readonly label: "OBC (Non-Creamy Layer)";
234
+ }, {
235
+ readonly value: "OBC_C";
236
+ readonly label: "OBC (Creamy Layer)";
237
+ }, {
238
+ readonly value: "EWS";
239
+ readonly label: "Economically Weaker Section (EWS)";
240
+ }, {
241
+ readonly value: "GENERAL";
242
+ readonly label: "General";
243
+ }, {
244
+ readonly value: "DONT_KNOW";
245
+ readonly label: "Don't know";
246
+ }, {
247
+ readonly value: "PREFER_NOT_SAY";
248
+ readonly label: "Prefer not to say";
249
+ }];
250
+ export declare const minorityOptions: readonly [{
251
+ readonly value: "NO";
252
+ readonly label: "No";
253
+ }, {
254
+ readonly value: "RELIGIOUS";
255
+ readonly label: "Yes — Religious minority";
256
+ }, {
257
+ readonly value: "LINGUISTIC";
258
+ readonly label: "Yes — Linguistic minority";
259
+ }, {
260
+ readonly value: "NOT_SURE";
261
+ readonly label: "Not sure";
262
+ }];
263
+ export declare const profile: FieldGroup;
264
+ //# sourceMappingURL=01-profile.d.ts.map
@@ -0,0 +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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYhB,CAAC;AAEX,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuBlB,CAAC;AAEX,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8BlB,CAAC;AAEX,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;EASrB,CAAC;AAEX,eAAO,MAAM,eAAe;;;;;;;;;;;;EAKlB,CAAC;AAIX,eAAO,MAAM,OAAO,EAAE,UAmBrB,CAAC"}
@@ -0,0 +1,113 @@
1
+ /**
2
+ * Step 01 — Profile fields.
3
+ *
4
+ * Rich field definitions with options and descriptions,
5
+ * matching the dating-schema profile-fields pattern.
6
+ */
7
+ // ─── Shared option arrays (exported for reuse) ─────────────────────────────
8
+ 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' },
12
+ { value: 'transgender_man', label: 'Transgender Man', description: 'Assigned female at birth, identifies as male' },
13
+ { value: 'transgender_woman', label: 'Transgender Woman', description: 'Assigned male at birth, identifies as female' },
14
+ { value: 'genderqueer', label: 'Genderqueer', description: 'Outside the traditional gender binary' },
15
+ { value: 'genderfluid', label: 'Genderfluid', description: 'Gender identity shifts over time' },
16
+ { value: 'agender', label: 'Agender', description: 'No specific gender identity' },
17
+ { value: 'two_spirit', label: 'Two-Spirit', description: 'Indigenous identity encompassing multiple genders' },
18
+ { value: 'other', label: 'Other' },
19
+ { value: 'prefer_not_to_say', label: 'Prefer not to say' },
20
+ ];
21
+ export const religionOptions = [
22
+ { value: 'hindu', label: 'Hindu', description: 'Sanatana Dharma traditions' },
23
+ { value: 'muslim_sunni', label: 'Muslim (Sunni)', description: 'Largest branch of Islam' },
24
+ { value: 'muslim_shia', label: 'Muslim (Shia)', description: 'Second-largest branch of Islam' },
25
+ { value: 'muslim_sufi', label: 'Muslim (Sufi)', description: 'Mystical Islamic tradition' },
26
+ { value: 'muslim_other', label: 'Muslim (Other)', description: 'Ahmadiyya or other traditions' },
27
+ { value: 'christian_catholic', label: 'Christian (Catholic)', description: 'Roman Catholic tradition' },
28
+ { value: 'christian_protestant', label: 'Christian (Protestant)', description: 'Baptist, Methodist, Pentecostal, etc.' },
29
+ { value: 'christian_other', label: 'Christian (Other)', description: 'Orthodox, Syrian, or other traditions' },
30
+ { value: 'sikh', label: 'Sikh', description: 'Founded by Guru Nanak' },
31
+ { value: 'jain_digambar', label: 'Jain (Digambar)', description: 'Sky-clad Jain tradition' },
32
+ { value: 'jain_shwetambar', label: 'Jain (Shwetambar)', description: 'White-clad Jain tradition' },
33
+ { value: 'buddhist', label: 'Buddhist', description: "Followers of the Buddha's teachings" },
34
+ { value: 'parsi_zoroastrian', label: 'Parsi / Zoroastrian', description: 'Ancient Persian faith' },
35
+ { value: 'jewish', label: 'Jewish', description: 'Judaism — Abrahamic faith' },
36
+ { value: 'bahai', label: "Baha'i", description: 'Unity of all religions and humanity' },
37
+ { value: 'spiritual', label: 'Spiritual but not religious', description: 'Personal spiritual practice' },
38
+ { value: 'atheist', label: 'Atheist', description: 'No belief in deities' },
39
+ { value: 'agnostic', label: 'Agnostic', description: 'Uncertain about higher power' },
40
+ { value: 'no_religion', label: 'No Religion', description: 'Simply non-religious' },
41
+ { value: 'inter_religion', label: 'Inter-Religion / Multi-faith', description: 'Multi-faith background' },
42
+ { value: 'other', label: 'Other', description: 'A faith not listed above' },
43
+ { value: 'prefer_not_to_say', label: 'Prefer not to say' },
44
+ ];
45
+ export const languageOptions = [
46
+ { value: 'hindi', label: 'Hindi (हिन्दी)' },
47
+ { value: 'english', label: 'English' },
48
+ { value: 'bengali', label: 'Bengali (বাংলা)' },
49
+ { value: 'telugu', label: 'Telugu (తెలుగు)' },
50
+ { value: 'marathi', label: 'Marathi (मराठी)' },
51
+ { value: 'tamil', label: 'Tamil (தமிழ்)' },
52
+ { value: 'urdu', label: 'Urdu (اردو)' },
53
+ { value: 'gujarati', label: 'Gujarati (ગુજરાતી)' },
54
+ { value: 'kannada', label: 'Kannada (ಕನ್ನಡ)' },
55
+ { value: 'odia', label: 'Odia (ଓଡ଼ିଆ)' },
56
+ { value: 'malayalam', label: 'Malayalam (മലയാളം)' },
57
+ { value: 'punjabi', label: 'Punjabi (ਪੰਜਾਬੀ)' },
58
+ { value: 'assamese', label: 'Assamese (অসমীয়া)' },
59
+ { value: 'maithili', label: 'Maithili (मैथिली)' },
60
+ { value: 'bhojpuri', label: 'Bhojpuri (भोजपुरी)' },
61
+ { value: 'rajasthani', label: 'Rajasthani (राजस्थानी)' },
62
+ { value: 'chhattisgarhi', label: 'Chhattisgarhi (छत्तीसगढ़ी)' },
63
+ { value: 'haryanvi', label: 'Haryanvi (हरियाणवी)' },
64
+ { value: 'tulu', label: 'Tulu (ತುಳು)' },
65
+ { value: 'sanskrit', label: 'Sanskrit (संस्कृतम्)' },
66
+ { value: 'sindhi', label: 'Sindhi (سنڌي)' },
67
+ { value: 'kashmiri', label: 'Kashmiri (कॉशुर)' },
68
+ { value: 'nepali', label: 'Nepali (नेपाली)' },
69
+ { value: 'konkani', label: 'Konkani (कोंकणी)' },
70
+ { value: 'dogri', label: 'Dogri (डोगरी)' },
71
+ { value: 'manipuri', label: 'Manipuri (মৈতৈলোন্)' },
72
+ { value: 'bodo', label: 'Bodo (बड़ो)' },
73
+ { value: 'santali', label: 'Santali (ᱥᱟᱱᱛᱟᱲᱤ)' },
74
+ { value: 'other', label: 'Other' },
75
+ ];
76
+ export const reservationOptions = [
77
+ { value: 'SC', label: 'Scheduled Caste (SC)' },
78
+ { value: 'ST', label: 'Scheduled Tribe (ST)' },
79
+ { value: 'OBC_NC', label: 'OBC (Non-Creamy Layer)' },
80
+ { value: 'OBC_C', label: 'OBC (Creamy Layer)' },
81
+ { value: 'EWS', label: 'Economically Weaker Section (EWS)' },
82
+ { value: 'GENERAL', label: 'General' },
83
+ { value: 'DONT_KNOW', label: "Don't know" },
84
+ { value: 'PREFER_NOT_SAY', label: 'Prefer not to say' },
85
+ ];
86
+ export const minorityOptions = [
87
+ { value: 'NO', label: 'No' },
88
+ { value: 'RELIGIOUS', label: 'Yes — Religious minority' },
89
+ { value: 'LINGUISTIC', label: 'Yes — Linguistic minority' },
90
+ { value: 'NOT_SURE', label: 'Not sure' },
91
+ ];
92
+ // ─── Field Group ────────────────────────────────────────────────────────────
93
+ export const profile = {
94
+ key: 'profile',
95
+ label: 'Profile',
96
+ description: 'Basic personal information — name, gender, date of birth, language, and religion.',
97
+ step: 1,
98
+ fields: [
99
+ { order: 1, key: 'firstName', label: 'First Name', type: 'text', step: 1, isOnboarding: true, maxLength: 50 },
100
+ { order: 2, key: 'middleName', label: 'Middle Name', type: 'text', step: 1, isOnboarding: true, optional: true, maxLength: 50 },
101
+ { order: 3, key: 'lastName', label: 'Last Name', type: 'text', step: 1, isOnboarding: true, maxLength: 50 },
102
+ { order: 4, key: 'gender', label: 'Gender', type: 'single_select', step: 1, isOnboarding: true, options: [...genderOptions] },
103
+ { order: 5, key: 'dateOfBirth', label: 'Date of Birth', type: 'date', step: 1, isOnboarding: true },
104
+ { order: 6, key: 'whatsappNumber', label: 'WhatsApp Number', type: 'text', step: 1, isOnboarding: true, optional: true, description: 'Include country code' },
105
+ { order: 7, key: 'primaryLanguage', label: 'Primary Language', type: 'single_select', step: 1, isOnboarding: true, options: [...languageOptions] },
106
+ { order: 8, key: 'secondaryLanguages', label: 'Secondary Languages', type: 'multi_select', step: 1, isOnboarding: true, optional: true, options: [...languageOptions], maxSelect: 10 },
107
+ { order: 9, key: 'familyReligion', label: 'Family Religion', type: 'single_select', step: 1, isOnboarding: true, options: [...religionOptions] },
108
+ { order: 10, key: 'personalReligion', label: 'Personal Religion', type: 'single_select', step: 1, isOnboarding: true, optional: true, options: [...religionOptions] },
109
+ { order: 11, key: 'reservationStatus', label: 'Reservation Category', type: 'single_select', step: 1, isOnboarding: true, options: [...reservationOptions], sensitive: true },
110
+ { order: 12, key: 'minorityStatus', label: 'Minority Status', type: 'single_select', step: 1, isOnboarding: true, options: [...minorityOptions] },
111
+ ],
112
+ };
113
+ //# sourceMappingURL=01-profile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"01-profile.js","sourceRoot":"","sources":["../../src/profile-fields/01-profile.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,8EAA8E;AAE9E,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE;IAC9B,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;IAClC,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,qCAAqC,EAAE;IAChG,EAAE,KAAK,EAAE,iBAAiB,EAAE,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,8CAA8C,EAAE;IACnH,EAAE,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,mBAAmB,EAAE,WAAW,EAAE,8CAA8C,EAAE;IACvH,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,uCAAuC,EAAE;IACpG,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,kCAAkC,EAAE;IAC/F,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,6BAA6B,EAAE;IAClF,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,mDAAmD,EAAE;IAC9G,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;IAClC,EAAE,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,mB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* 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 { value: 'transgender_man', label: 'Transgender Man', description: 'Assigned female at birth, identifies as male' },\n { value: 'transgender_woman', label: 'Transgender Woman', description: 'Assigned male at birth, identifies as female' },\n { value: 'genderqueer', label: 'Genderqueer', description: 'Outside the traditional gender binary' },\n { value: 'genderfluid', label: 'Genderfluid', description: 'Gender identity shifts over time' },\n { value: 'agender', label: 'Agender', description: 'No specific gender identity' },\n { value: 'two_spirit', label: 'Two-Spirit', description: 'Indigenous identity encompassing multiple genders' },\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 { value: 'christian_catholic', label: 'Christian (Catholic)', description: 'Roman Catholic tradition' },\n { value: 'christian_protestant', label: 'Christian (Protestant)', description: 'Baptist, Methodist, Pentecostal, etc.' },\n { value: 'christian_other', label: 'Christian (Other)', description: 'Orthodox, Syrian, or other traditions' },\n { value: 'sikh', label: 'Sikh', description: 'Founded by Guru Nanak' },\n { value: 'jain_digambar', label: 'Jain (Digambar)', description: 'Sky-clad Jain tradition' },\n { value: 'jain_shwetambar', label: 'Jain (Shwetambar)', description: 'White-clad Jain tradition' },\n { value: 'buddhist', label: 'Buddhist', description: \"Followers of the Buddha's teachings\" },\n { value: 'parsi_zoroastrian', label: 'Parsi / Zoroastrian', description: 'Ancient Persian faith' },\n { value: 'jewish', label: 'Jewish', description: 'Judaism — Abrahamic faith' },\n { value: 'bahai', label: \"Baha'i\", description: 'Unity of all religions and humanity' },\n { value: 'spiritual', label: 'Spiritual but not religious', description: 'Personal spiritual practice' },\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 { value: 'inter_religion', label: 'Inter-Religion / Multi-faith', description: 'Multi-faith background' },\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 { order: 1, key: 'firstName', label: 'First Name', type: 'text', step: 1, isOnboarding: true, maxLength: 50 },\n { order: 2, key: 'middleName', label: 'Middle Name', type: 'text', step: 1, isOnboarding: true, optional: true, maxLength: 50 },\n { order: 3, key: 'lastName', label: 'Last Name', type: 'text', step: 1, isOnboarding: true, maxLength: 50 },\n { order: 4, key: 'gender', label: 'Gender', type: 'single_select', step: 1, isOnboarding: true, options: [...genderOptions] },\n { order: 5, key: 'dateOfBirth', label: 'Date of Birth', type: 'date', step: 1, isOnboarding: true },\n { order: 6, key: 'whatsappNumber', label: 'WhatsApp Number', type: 'text', step: 1, isOnboarding: true, optional: true, description: 'Include country code' },\n { order: 7, key: 'primaryLanguage', label: 'Primary Language', type: 'single_select', step: 1, isOnboarding: true, options: [...languageOptions] },\n { order: 8, key: 'secondaryLanguages', label: 'Secondary Languages', type: 'multi_select', step: 1, isOnboarding: true, optional: true, options: [...languageOptions], maxSelect: 10 },\n { order: 9, key: 'familyReligion', label: 'Family Religion', type: 'single_select', step: 1, isOnboarding: true, options: [...religionOptions] },\n { order: 10, key: 'personalReligion', label: 'Personal Religion', type: 'single_select', step: 1, isOnboarding: true, optional: true, options: [...religionOptions] },\n { order: 11, key: 'reservationStatus', label: 'Reservation Category', type: 'single_select', step: 1, isOnboarding: true, options: [...reservationOptions], sensitive: true },\n { order: 12, key: 'minorityStatus', label: 'Minority Status', type: 'single_select', step: 1, isOnboarding: true, options: [...minorityOptions] },\n ],\n};\n"]}
@@ -0,0 +1,133 @@
1
+ import type { FieldGroup } from './types.js';
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";
6
+ }, {
7
+ readonly value: "2_faith_curious";
8
+ readonly label: "Balancing Faith with Questions";
9
+ readonly description: "Respect traditions but open to asking questions";
10
+ }, {
11
+ readonly value: "3_multiplicity_open";
12
+ readonly label: "Open to Multiple Perspectives";
13
+ readonly description: "Value in diverse worldviews";
14
+ }, {
15
+ readonly value: "4_pragmatic_flexible";
16
+ readonly label: "Pragmatic & Contextual";
17
+ readonly description: "What works is what matters";
18
+ }, {
19
+ readonly value: "5_evidence_reasoning";
20
+ readonly label: "Evidence-Informed";
21
+ readonly description: "Decisions based on data and logic";
22
+ }, {
23
+ readonly value: "6_critical_reflective";
24
+ readonly label: "Critical Analyst";
25
+ readonly description: "Systematically examine own thinking";
26
+ }, {
27
+ readonly value: "7_skeptic_optimize";
28
+ readonly label: "Perpetual Skeptic";
29
+ readonly description: "Question everything including yourself";
30
+ }, {
31
+ readonly value: "prefer_not_to_say";
32
+ readonly label: "Prefer not to say";
33
+ }];
34
+ export declare const partyOptions: readonly [{
35
+ readonly value: "bjp";
36
+ readonly label: "BJP";
37
+ }, {
38
+ readonly value: "inc";
39
+ readonly label: "Indian National Congress (INC)";
40
+ }, {
41
+ readonly value: "aap";
42
+ readonly label: "Aam Aadmi Party (AAP)";
43
+ }, {
44
+ readonly value: "bsp";
45
+ readonly label: "Bahujan Samaj Party (BSP)";
46
+ }, {
47
+ readonly value: "sp";
48
+ readonly label: "Samajwadi Party (SP)";
49
+ }, {
50
+ readonly value: "tmc";
51
+ readonly label: "Trinamool Congress (TMC)";
52
+ }, {
53
+ readonly value: "dmk";
54
+ readonly label: "DMK";
55
+ }, {
56
+ readonly value: "aiadmk";
57
+ readonly label: "AIADMK";
58
+ }, {
59
+ readonly value: "ncp";
60
+ readonly label: "NCP";
61
+ }, {
62
+ readonly value: "shiv_sena";
63
+ readonly label: "Shiv Sena";
64
+ }, {
65
+ readonly value: "jdu";
66
+ readonly label: "JD(U)";
67
+ }, {
68
+ readonly value: "rjd";
69
+ readonly label: "RJD";
70
+ }, {
71
+ readonly value: "cpim";
72
+ readonly label: "CPI(M)";
73
+ }, {
74
+ readonly value: "cpi";
75
+ readonly label: "CPI";
76
+ }, {
77
+ readonly value: "ysrcp";
78
+ readonly label: "YSRCP";
79
+ }, {
80
+ readonly value: "tdp";
81
+ readonly label: "TDP";
82
+ }, {
83
+ readonly value: "bjd";
84
+ readonly label: "BJD";
85
+ }, {
86
+ readonly value: "jmm";
87
+ readonly label: "JMM";
88
+ }, {
89
+ readonly value: "none";
90
+ readonly label: "No party affiliation";
91
+ }, {
92
+ readonly value: "other";
93
+ readonly label: "Other";
94
+ }, {
95
+ readonly value: "prefer_not_to_say";
96
+ readonly label: "Prefer not to say";
97
+ }];
98
+ export declare const civicEngagementOptions: readonly [{
99
+ readonly value: "ngo";
100
+ readonly label: "NGO / Non-profit";
101
+ }, {
102
+ readonly value: "trade_union";
103
+ readonly label: "Trade Union";
104
+ }, {
105
+ readonly value: "cooperative";
106
+ readonly label: "Cooperative Society";
107
+ }, {
108
+ readonly value: "resident_association";
109
+ readonly label: "Resident Welfare Association";
110
+ }, {
111
+ readonly value: "self_help_group";
112
+ readonly label: "Self Help Group (SHG)";
113
+ }, {
114
+ readonly value: "youth_club";
115
+ readonly label: "Youth Club";
116
+ }, {
117
+ readonly value: "religious_organization";
118
+ readonly label: "Religious Organization";
119
+ }, {
120
+ readonly value: "caste_association";
121
+ readonly label: "Caste Association";
122
+ }, {
123
+ readonly value: "professional_body";
124
+ readonly label: "Professional Body";
125
+ }, {
126
+ readonly value: "none";
127
+ readonly label: "None";
128
+ }, {
129
+ readonly value: "other";
130
+ readonly label: "Other";
131
+ }];
132
+ export declare const politicalAssociation: FieldGroup;
133
+ //# sourceMappingURL=02-political.d.ts.map
@@ -0,0 +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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS3B,CAAC;AAEX,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYf,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMzB,CAAC;AAEX,eAAO,MAAM,oBAAoB,EAAE,UAUlC,CAAC"}