udp-schema 2.23.0 → 2.28.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 (57) hide show
  1. package/dist/helpers.d.ts.map +1 -1
  2. package/dist/helpers.js +11 -1
  3. package/dist/helpers.js.map +1 -1
  4. package/dist/index.d.ts +2 -2
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +1 -1
  7. package/dist/index.js.map +1 -1
  8. package/dist/onboarding-config.d.ts.map +1 -1
  9. package/dist/onboarding-config.js +110 -21
  10. package/dist/onboarding-config.js.map +1 -1
  11. package/dist/onboarding-form.d.ts +522 -17
  12. package/dist/onboarding-form.d.ts.map +1 -1
  13. package/dist/profile-fields/06-education.d.ts.map +1 -1
  14. package/dist/profile-fields/06-education.js +0 -9
  15. package/dist/profile-fields/06-education.js.map +1 -1
  16. package/dist/profile-fields/07-employment.d.ts +168 -0
  17. package/dist/profile-fields/07-employment.d.ts.map +1 -1
  18. package/dist/profile-fields/07-employment.js +212 -3
  19. package/dist/profile-fields/07-employment.js.map +1 -1
  20. package/dist/profile-fields/10-worldview.d.ts.map +1 -1
  21. package/dist/profile-fields/10-worldview.js +3 -23
  22. package/dist/profile-fields/10-worldview.js.map +1 -1
  23. package/dist/profile-fields/12-household.d.ts +15 -2
  24. package/dist/profile-fields/12-household.d.ts.map +1 -1
  25. package/dist/profile-fields/12-household.js +166 -17
  26. package/dist/profile-fields/12-household.js.map +1 -1
  27. package/dist/profile-fields/index.d.ts +1 -1
  28. package/dist/profile-fields/index.d.ts.map +1 -1
  29. package/dist/profile-fields/index.js +1 -1
  30. package/dist/profile-fields/index.js.map +1 -1
  31. package/dist/profile-fields/types.d.ts +12 -3
  32. package/dist/profile-fields/types.d.ts.map +1 -1
  33. package/dist/profile-fields/types.js.map +1 -1
  34. package/dist/progress-fields.d.ts.map +1 -1
  35. package/dist/progress-fields.js +17 -3
  36. package/dist/progress-fields.js.map +1 -1
  37. package/dist/step-06.schema.d.ts +0 -1
  38. package/dist/step-06.schema.d.ts.map +1 -1
  39. package/dist/step-06.schema.js +0 -2
  40. package/dist/step-06.schema.js.map +1 -1
  41. package/dist/step-07.schema.d.ts +84 -2
  42. package/dist/step-07.schema.d.ts.map +1 -1
  43. package/dist/step-07.schema.js +114 -4
  44. package/dist/step-07.schema.js.map +1 -1
  45. package/dist/step-10.schema.d.ts +3 -5
  46. package/dist/step-10.schema.d.ts.map +1 -1
  47. package/dist/step-10.schema.js +3 -7
  48. package/dist/step-10.schema.js.map +1 -1
  49. package/dist/step-11.schema.d.ts +75 -15
  50. package/dist/step-11.schema.d.ts.map +1 -1
  51. package/dist/step-11.schema.js +30 -2
  52. package/dist/step-11.schema.js.map +1 -1
  53. package/dist/step-12.schema.d.ts +434 -3
  54. package/dist/step-12.schema.d.ts.map +1 -1
  55. package/dist/step-12.schema.js +72 -3
  56. package/dist/step-12.schema.js.map +1 -1
  57. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"10-worldview.js","sourceRoot":"","sources":["../../src/profile-fields/10-worldview.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,EAAE,KAAK,EAAE,oBAAoB,EAAE,KAAK,EAAE,oCAAoC,EAAE;IAC5E,EAAE,KAAK,EAAE,yBAAyB,EAAE,KAAK,EAAE,qCAAqC,EAAE;IAClF,EAAE,KAAK,EAAE,sBAAsB,EAAE,KAAK,EAAE,uBAAuB,EAAE;IACjE,EAAE,KAAK,EAAE,mCAAmC,EAAE,KAAK,EAAE,qCAAqC,EAAE;IAC5F,EAAE,KAAK,EAAE,0BAA0B,EAAE,KAAK,EAAE,kCAAkC,EAAE;IAChF,EAAE,KAAK,EAAE,uBAAuB,EAAE,KAAK,EAAE,6BAA6B,EAAE;IACxE,EAAE,KAAK,EAAE,iBAAiB,EAAE,KAAK,EAAE,8BAA8B,EAAE;IACnE,EAAE,KAAK,EAAE,sBAAsB,EAAE,KAAK,EAAE,m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E,4BAA4B;YACnC,IAAI,EAAE,cAAc;YACpB,IAAI,EAAE,EAAE;YACR,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,+BAA+B,CAAC;YAC7C,aAAa,EAAE,EAAE,KAAK,EAAE,2BAA2B,EAAE,MAAM,EAAE,CAAC,WAAW,EAAE,eAAe,CAAC,EAAE;SAC9F;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,sBAAsB;YAC3B,KAAK,EAAE,yBAAyB;YAChC,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,EAAE;YACR,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,qBAAqB,CAAC;SACpC;KACF;CACF,CAAC","sourcesContent":["import type { FieldGroup } from './types.js';\n\nexport const lgbtqStatementOptions = [\n { value: 'LGBTQ_EQUAL_RIGHTS', label: 'LGBTQ+ people deserve equal rights' },\n { value: 'LGBTQ_SOCIAL_ACCEPTANCE', label: 'Society should accept LGBTQ+ people' },\n { value: 'LGBTQ_PRIVATE_MATTER', label: \"It's a private matter\" },\n { value: 'LGBTQ_SHOULD_NOT_BE_DISCRIMINATED', label: 'They should not face discrimination' },\n { value: 'LGBTQ_TRADITION_CONFLICT', label: 'It conflicts with our traditions' },\n { value: 'LGBTQ_NOT_COMFORTABLE', label: \"I'm not comfortable with it\" },\n { value: 'LGBTQ_DONT_KNOW', label: \"I don't know enough about it\" },\n { value: 'LGBTQ_PREFER_NOT_SAY', label: 'Prefer not to say' },\n] as const;\n\nexport const transgenderStatementOptions = [\n {\n value: 'TRANS_CHILD_KEEP_IN_FAMILY',\n label: 'A transgender child should be kept in the family',\n },\n { value: 'TRANS_EQUAL_RIGHTS', label: 'Transgender people deserve equal rights' },\n { value: 'TRANS_PART_OF_NORMAL_SOCIETY', label: 'They are part of normal society' },\n { value: 'TRANS_NO_ABANDONMENT', label: 'No one should abandon a transgender family member' },\n { value: 'TRANS_ONLY_SPECIAL_COMMUNITY', label: 'They belong to their own special community' },\n { value: 'TRANS_UNCOMFORTABLE', label: \"I'm uncomfortable around transgender people\" },\n { value: 'TRANS_DONT_KNOW', label: \"I don't know enough\" },\n { value: 'TRANS_PREFER_NOT_SAY', label: 'Prefer not to say' },\n] as const;\n\nexport const casteDiscriminationPlaceOptions = [\n { value: 'SCHOOL_EDUCATION', label: 'School / Education' },\n { value: 'WORKPLACE', label: 'Workplace' },\n { value: 'LOCALITY', label: 'Locality / Neighborhood' },\n { value: 'GOVT_OFFICES', label: 'Government offices' },\n { value: 'MARKET', label: 'Market / Shops' },\n { value: 'RELIGIOUS_SPACE', label: 'Religious spaces' },\n { value: 'OTHER', label: 'Other' },\n] as const;\n\nexport const animalCrueltyOptions = [\n { value: 'strongly_against', label: 'Strongly against all forms' },\n { value: 'against_but_food', label: 'Against, but accept for food' },\n { value: 'neutral', label: 'Neutral' },\n { value: 'acceptable_in_tradition', label: 'Acceptable in tradition/culture' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const casteDiscriminationOptions = [\n { value: 'YES_OFTEN', label: 'Yes, often' },\n { value: 'YES_SOMETIMES', label: 'Yes, sometimes' },\n { value: 'NO', label: 'No' },\n { value: 'PREFER_NOT_SAY', label: 'Prefer not to say' },\n] as const;\n\nexport const genderEqualityOptions = [\n { value: 'strong_advocate', label: 'Strong advocate for equality' },\n { value: 'supportive', label: 'Supportive' },\n { value: 'traditional_values', label: 'I prefer traditional values' },\n { value: 'no_opinion', label: 'No opinion' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const worldView: FieldGroup = {\n key: 'world_view',\n label: 'World View & Experience',\n step: 10,\n description: 'Views on social issues, equality, and discrimination.',\n fields: [\n {\n order: 1,\n key: 'viewOnAnimalCruelty',\n label: 'View on Animal Cruelty',\n type: 'single_select',\n step: 10,\n isOnboarding: true,\n optional: true,\n options: [...animalCrueltyOptions],\n },\n {\n order: 2,\n key: 'viewOnLgbtqStatements',\n label: 'Views on LGBTQ+ Rights',\n type: 'multi_select',\n step: 10,\n isOnboarding: true,\n optional: true,\n options: [...lgbtqStatementOptions],\n },\n {\n order: 3,\n key: 'viewOnLgbtqOpinion',\n label: 'LGBTQ+ Opinion',\n type: 'textarea',\n step: 10,\n isOnboarding: true,\n optional: true,\n maxLength: 500,\n },\n {\n order: 4,\n key: 'viewOnTransgenderInclusion',\n label: 'Views on Transgender Inclusion',\n type: 'multi_select',\n step: 10,\n isOnboarding: true,\n optional: true,\n options: [...transgenderStatementOptions],\n },\n {\n order: 5,\n key: 'viewOnTransgenderOpinion',\n label: 'Transgender Opinion',\n type: 'textarea',\n step: 10,\n isOnboarding: true,\n optional: true,\n maxLength: 500,\n },\n {\n order: 6,\n key: 'facingCasteDiscrimination',\n label: 'Caste Discrimination Experience',\n type: 'single_select',\n step: 10,\n isOnboarding: true,\n optional: true,\n sensitive: true,\n options: [...casteDiscriminationOptions],\n },\n {\n order: 7,\n key: 'casteDiscriminationPlaces',\n label: 'Where Discrimination Faced',\n type: 'multi_select',\n step: 10,\n isOnboarding: true,\n optional: true,\n options: [...casteDiscriminationPlaceOptions],\n conditionalOn: { field: 'facingCasteDiscrimination', values: ['YES_OFTEN', 'YES_SOMETIMES'] },\n },\n {\n order: 8,\n key: 'viewOnGenderEquality',\n label: 'View on Gender Equality',\n type: 'single_select',\n step: 10,\n isOnboarding: true,\n optional: true,\n options: [...genderEqualityOptions],\n },\n ],\n};\n"]}
1
+ {"version":3,"file":"10-worldview.js","sourceRoot":"","sources":["../../src/profile-fields/10-worldview.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,EAAE,KAAK,EAAE,oBAAoB,EAAE,KAAK,EAAE,oCAAoC,EAAE;IAC5E,EAAE,KAAK,EAAE,yBAAyB,EAAE,KAAK,EAAE,qCAAqC,EAAE;IAClF,EAAE,KAAK,EAAE,sBAAsB,EAAE,KAA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E,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,+BAA+B,CAAC;YAC7C,aAAa,EAAE,EAAE,KAAK,EAAE,2BAA2B,EAAE,MAAM,EAAE,CAAC,WAAW,EAAE,eAAe,CAAC,EAAE;SAC9F;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,sBAAsB;YAC3B,KAAK,EAAE,yBAAyB;YAChC,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,EAAE;YACR,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,qBAAqB,CAAC;SACpC;KACF;CACF,CAAC","sourcesContent":["import type { FieldGroup } from './types.js';\n\nexport const lgbtqStatementOptions = [\n { value: 'LGBTQ_EQUAL_RIGHTS', label: 'LGBTQ+ people deserve equal rights' },\n { value: 'LGBTQ_SOCIAL_ACCEPTANCE', label: 'Society should accept LGBTQ+ people' },\n { value: 'LGBTQ_PRIVATE_MATTER', label: \"It's a private matter\" },\n { value: 'LGBTQ_SHOULD_NOT_BE_DISCRIMINATED', label: 'They should not face discrimination' },\n { value: 'LGBTQ_TRADITION_CONFLICT', label: 'It conflicts with our traditions' },\n { value: 'LGBTQ_NOT_COMFORTABLE', label: \"I'm not comfortable with it\" },\n { value: 'LGBTQ_DONT_KNOW', label: \"I don't know enough about it\" },\n { value: 'LGBTQ_PREFER_NOT_SAY', label: 'Prefer not to say' },\n] as const;\n\nexport const transgenderStatementOptions = [\n {\n value: 'TRANS_CHILD_KEEP_IN_FAMILY',\n label: 'A transgender child should be kept in the family',\n },\n { value: 'TRANS_EQUAL_RIGHTS', label: 'Transgender people deserve equal rights' },\n { value: 'TRANS_PART_OF_NORMAL_SOCIETY', label: 'They are part of normal society' },\n { value: 'TRANS_NO_ABANDONMENT', label: 'No one should abandon a transgender family member' },\n { value: 'TRANS_ONLY_SPECIAL_COMMUNITY', label: 'They belong to their own special community' },\n { value: 'TRANS_UNCOMFORTABLE', label: \"I'm uncomfortable around transgender people\" },\n { value: 'TRANS_DONT_KNOW', label: \"I don't know enough\" },\n { value: 'TRANS_PREFER_NOT_SAY', label: 'Prefer not to say' },\n] as const;\n\nexport const casteDiscriminationPlaceOptions = [\n { value: 'SCHOOL_EDUCATION', label: 'School / Education' },\n { value: 'WORKPLACE', label: 'Workplace' },\n { value: 'LOCALITY', label: 'Locality / Neighborhood' },\n { value: 'GOVT_OFFICES', label: 'Government offices' },\n { value: 'MARKET', label: 'Market / Shops' },\n { value: 'RELIGIOUS_SPACE', label: 'Religious spaces' },\n { value: 'OTHER', label: 'Other' },\n] as const;\n\nexport const animalCrueltyOptions = [\n { value: 'strongly_against', label: 'Strongly against all forms' },\n { value: 'against_but_food', label: 'Against, but accept for food' },\n { value: 'neutral', label: 'Neutral' },\n { value: 'acceptable_in_tradition', label: 'Acceptable in tradition/culture' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const casteDiscriminationOptions = [\n { value: 'YES_OFTEN', label: 'Yes, often' },\n { value: 'YES_SOMETIMES', label: 'Yes, sometimes' },\n { value: 'NO', label: 'No' },\n { value: 'PREFER_NOT_SAY', label: 'Prefer not to say' },\n] as const;\n\nexport const genderEqualityOptions = [\n { value: 'strong_advocate', label: 'Strong advocate for equality' },\n { value: 'supportive', label: 'Supportive' },\n { value: 'traditional_values', label: 'I prefer traditional values' },\n { value: 'no_opinion', label: 'No opinion' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const worldView: FieldGroup = {\n key: 'world_view',\n label: 'World View & Experience',\n step: 10,\n description: 'Views on social issues, equality, and discrimination.',\n fields: [\n {\n order: 1,\n key: 'viewOnAnimalCruelty',\n label: 'View on Animal Cruelty',\n type: 'single_select',\n step: 10,\n isOnboarding: true,\n optional: true,\n options: [...animalCrueltyOptions],\n },\n {\n order: 2,\n key: 'viewOnLgbtqStatements',\n label: 'Views on LGBTQ+ Rights',\n type: 'multi_select',\n step: 10,\n isOnboarding: true,\n optional: true,\n options: [...lgbtqStatementOptions],\n },\n {\n order: 3,\n key: 'viewOnTransgenderInclusion',\n label: 'Views on Transgender Inclusion',\n type: 'multi_select',\n step: 10,\n isOnboarding: true,\n optional: true,\n options: [...transgenderStatementOptions],\n },\n {\n order: 4,\n key: 'facingCasteDiscrimination',\n label: 'Caste Discrimination Experience',\n type: 'single_select',\n step: 10,\n isOnboarding: true,\n optional: true,\n sensitive: true,\n options: [...casteDiscriminationOptions],\n },\n {\n order: 5,\n key: 'casteDiscriminationPlaces',\n label: 'Where Discrimination Faced',\n type: 'multi_select',\n step: 10,\n isOnboarding: true,\n optional: true,\n options: [...casteDiscriminationPlaceOptions],\n conditionalOn: { field: 'facingCasteDiscrimination', values: ['YES_OFTEN', 'YES_SOMETIMES'] },\n },\n {\n order: 6,\n key: 'viewOnGenderEquality',\n label: 'View on Gender Equality',\n type: 'single_select',\n step: 10,\n isOnboarding: true,\n optional: true,\n options: [...genderEqualityOptions],\n },\n ],\n};\n"]}
@@ -61,6 +61,16 @@ export declare const digitalAccessOptions: readonly [{
61
61
  readonly value: "no_phone";
62
62
  readonly label: "No phone";
63
63
  }];
64
+ /**
65
+ * Household income — uses the SAME bucket set as personal `incomeRange`
66
+ * (step 7) so the two questions feel consistent. The 9-bucket version
67
+ * from step 7 is more granular at the high end (adds `2_5L_5L` between
68
+ * `1L_2_5L` and `above_5L`) than the original 8-bucket household list,
69
+ * which capped at "above ₹2.5 Lakh". Re-exporting (rather than declaring
70
+ * a parallel array) guarantees the two stay in lockstep — if either side
71
+ * ever needs different buckets, that's a deliberate decision the
72
+ * re-exporter must make explicitly.
73
+ */
64
74
  export declare const householdIncomeOptions: readonly [{
65
75
  readonly value: "below_5k";
66
76
  readonly label: "Below ₹5,000";
@@ -80,8 +90,11 @@ export declare const householdIncomeOptions: readonly [{
80
90
  readonly value: "1L_2_5L";
81
91
  readonly label: "₹1 Lakh – ₹2.5 Lakh";
82
92
  }, {
83
- readonly value: "above_2_5L";
84
- readonly label: "Above ₹2.5 Lakh";
93
+ readonly value: "2_5L_5L";
94
+ readonly label: "₹2.5 Lakh – ₹5 Lakh";
95
+ }, {
96
+ readonly value: "above_5L";
97
+ readonly label: "Above ₹5 Lakh";
85
98
  }, {
86
99
  readonly value: "prefer_not_to_say";
87
100
  readonly label: "Prefer not to say";
@@ -1 +1 @@
1
- {"version":3,"file":"12-household.d.ts","sourceRoot":"","sources":["../../src/profile-fields/12-household.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAetB,CAAC;AAEX,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;EAOvB,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;EASzB,CAAC;AAEX,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;EAOvB,CAAC;AAEX,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;EAOrB,CAAC;AAEX,eAAO,MAAM,cAAc;;;;;;;;;;;;EAKjB,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;EAMzB,CAAC;AAEX,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;EAOvB,CAAC;AAEX,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;EAU7B,CAAC;AAEX,eAAO,MAAM,SAAS,EAAE,UA6GvB,CAAC"}
1
+ {"version":3,"file":"12-household.d.ts","sourceRoot":"","sources":["../../src/profile-fields/12-household.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAetB,CAAC;AAEX,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;EAOvB,CAAC;AAEX;;;;;;;;;GASG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAqB,CAAC;AAEzD,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;EAOvB,CAAC;AAEX,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;EAOrB,CAAC;AAEX,eAAO,MAAM,cAAc;;;;;;;;;;;;EAKjB,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;EAMzB,CAAC;AAEX,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;EAOvB,CAAC;AAEX,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;EAU7B,CAAC;AAEX,eAAO,MAAM,SAAS,EAAE,UAgQvB,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { incomeRangeOptions } from './07-employment.js';
1
2
  export const familyMemberOptions = [
2
3
  { value: 'father', label: 'Father' },
3
4
  { value: 'mother', label: 'Mother' },
@@ -22,16 +23,17 @@ export const digitalAccessOptions = [
22
23
  { value: 'no_internet', label: 'No internet access' },
23
24
  { value: 'no_phone', label: 'No phone' },
24
25
  ];
25
- export const householdIncomeOptions = [
26
- { value: 'below_5k', label: 'Below ₹5,000' },
27
- { value: '5k_10k', label: '₹5,000 ₹10,000' },
28
- { value: '10k_25k', label: '₹10,000 ₹25,000' },
29
- { value: '25k_50k', label: '₹25,000 ₹50,000' },
30
- { value: '50k_1L', label: '₹50,000 1 Lakh' },
31
- { value: '1L_2_5L', label: '₹1 Lakh ₹2.5 Lakh' },
32
- { value: 'above_2_5L', label: 'Above ₹2.5 Lakh' },
33
- { value: 'prefer_not_to_say', label: 'Prefer not to say' },
34
- ];
26
+ /**
27
+ * Household income uses the SAME bucket set as personal `incomeRange`
28
+ * (step 7) so the two questions feel consistent. The 9-bucket version
29
+ * from step 7 is more granular at the high end (adds `2_5L_5L` between
30
+ * `1L_2_5L` and `above_5L`) than the original 8-bucket household list,
31
+ * which capped at "above2.5 Lakh". Re-exporting (rather than declaring
32
+ * a parallel array) guarantees the two stay in lockstep — if either side
33
+ * ever needs different buckets, that's a deliberate decision the
34
+ * re-exporter must make explicitly.
35
+ */
36
+ export const householdIncomeOptions = incomeRangeOptions;
35
37
  export const maritalStatusOptions = [
36
38
  { value: 'single', label: 'Single' },
37
39
  { value: 'married', label: 'Married' },
@@ -106,8 +108,155 @@ export const household = {
106
108
  optional: true,
107
109
  options: [...familyMemberOptions],
108
110
  },
111
+ // ── Family-link sub-steps (orders 3–16) ─────────────────────────────────
112
+ // Each is conditional on the user having selected the matching value in
113
+ // `familyMembers` (sub-step 2). Female-first ordering: mother → step-mother
114
+ // → father → step-father → spouse → sisters → brothers → daughter → son
115
+ // → other. Single-instance relations (mother / father / step_*) are
116
+ // typed `object`; multi-instance (siblings / children / spouse / other)
117
+ // are typed `object_array`.
109
118
  {
110
119
  order: 3,
120
+ key: 'linkedMother',
121
+ label: 'Link your mother',
122
+ type: 'object',
123
+ step: 12,
124
+ isOnboarding: true,
125
+ optional: true,
126
+ conditionalOn: { field: 'familyMembers', includesAny: ['mother'] },
127
+ },
128
+ {
129
+ order: 4,
130
+ key: 'linkedStepMother',
131
+ label: 'Link your step-mother',
132
+ type: 'object',
133
+ step: 12,
134
+ isOnboarding: true,
135
+ optional: true,
136
+ conditionalOn: { field: 'familyMembers', includesAny: ['step_mother'] },
137
+ },
138
+ {
139
+ order: 5,
140
+ key: 'linkedFather',
141
+ label: 'Link your father',
142
+ type: 'object',
143
+ step: 12,
144
+ isOnboarding: true,
145
+ optional: true,
146
+ conditionalOn: { field: 'familyMembers', includesAny: ['father'] },
147
+ },
148
+ {
149
+ order: 6,
150
+ key: 'linkedStepFather',
151
+ label: 'Link your step-father',
152
+ type: 'object',
153
+ step: 12,
154
+ isOnboarding: true,
155
+ optional: true,
156
+ conditionalOn: { field: 'familyMembers', includesAny: ['step_father'] },
157
+ },
158
+ {
159
+ order: 7,
160
+ key: 'linkedSpouses',
161
+ label: 'Link your spouse',
162
+ type: 'object_array',
163
+ step: 12,
164
+ isOnboarding: true,
165
+ optional: true,
166
+ conditionalOn: { field: 'familyMembers', includesAny: ['wife_husband'] },
167
+ },
168
+ {
169
+ order: 8,
170
+ key: 'linkedBloodSisters',
171
+ label: 'Link your blood sisters',
172
+ type: 'object_array',
173
+ step: 12,
174
+ isOnboarding: true,
175
+ optional: true,
176
+ conditionalOn: { field: 'familyMembers', includesAny: ['blood_sister'] },
177
+ },
178
+ {
179
+ order: 9,
180
+ key: 'linkedHalfSisters',
181
+ label: 'Link your half-sisters',
182
+ type: 'object_array',
183
+ step: 12,
184
+ isOnboarding: true,
185
+ optional: true,
186
+ conditionalOn: { field: 'familyMembers', includesAny: ['half_sister'] },
187
+ },
188
+ {
189
+ order: 10,
190
+ key: 'linkedStepSisters',
191
+ label: 'Link your step-sisters',
192
+ type: 'object_array',
193
+ step: 12,
194
+ isOnboarding: true,
195
+ optional: true,
196
+ conditionalOn: { field: 'familyMembers', includesAny: ['step_sister'] },
197
+ },
198
+ {
199
+ order: 11,
200
+ key: 'linkedBloodBrothers',
201
+ label: 'Link your blood brothers',
202
+ type: 'object_array',
203
+ step: 12,
204
+ isOnboarding: true,
205
+ optional: true,
206
+ conditionalOn: { field: 'familyMembers', includesAny: ['blood_brother'] },
207
+ },
208
+ {
209
+ order: 12,
210
+ key: 'linkedHalfBrothers',
211
+ label: 'Link your half-brothers',
212
+ type: 'object_array',
213
+ step: 12,
214
+ isOnboarding: true,
215
+ optional: true,
216
+ conditionalOn: { field: 'familyMembers', includesAny: ['half_brother'] },
217
+ },
218
+ {
219
+ order: 13,
220
+ key: 'linkedStepBrothers',
221
+ label: 'Link your step-brothers',
222
+ type: 'object_array',
223
+ step: 12,
224
+ isOnboarding: true,
225
+ optional: true,
226
+ conditionalOn: { field: 'familyMembers', includesAny: ['step_brother'] },
227
+ },
228
+ {
229
+ order: 14,
230
+ key: 'linkedDaughters',
231
+ label: 'Link your daughters',
232
+ type: 'object_array',
233
+ step: 12,
234
+ isOnboarding: true,
235
+ optional: true,
236
+ conditionalOn: { field: 'familyMembers', includesAny: ['daughter'] },
237
+ },
238
+ {
239
+ order: 15,
240
+ key: 'linkedSons',
241
+ label: 'Link your sons',
242
+ type: 'object_array',
243
+ step: 12,
244
+ isOnboarding: true,
245
+ optional: true,
246
+ conditionalOn: { field: 'familyMembers', includesAny: ['son'] },
247
+ },
248
+ {
249
+ order: 16,
250
+ key: 'linkedOthers',
251
+ label: 'Link other family',
252
+ type: 'object_array',
253
+ step: 12,
254
+ isOnboarding: true,
255
+ optional: true,
256
+ conditionalOn: { field: 'familyMembers', includesAny: ['other'] },
257
+ },
258
+ {
259
+ order: 17,
111
260
  key: 'numberOfDependents',
112
261
  label: 'Number of Dependents',
113
262
  type: 'number',
@@ -118,7 +267,7 @@ export const household = {
118
267
  max: 50,
119
268
  },
120
269
  {
121
- order: 4,
270
+ order: 18,
122
271
  key: 'housingType',
123
272
  label: 'Housing Type',
124
273
  type: 'single_select',
@@ -128,7 +277,7 @@ export const household = {
128
277
  options: [...housingTypeOptions],
129
278
  },
130
279
  {
131
- order: 5,
280
+ order: 19,
132
281
  key: 'householdIncome',
133
282
  label: 'Household Income',
134
283
  type: 'single_select',
@@ -139,7 +288,7 @@ export const household = {
139
288
  sensitive: true,
140
289
  },
141
290
  {
142
- order: 6,
291
+ order: 20,
143
292
  key: 'bplCard',
144
293
  label: 'BPL Card',
145
294
  type: 'single_select',
@@ -149,7 +298,7 @@ export const household = {
149
298
  options: [...bplCardOptions],
150
299
  },
151
300
  {
152
- order: 7,
301
+ order: 21,
153
302
  key: 'digitalAccess',
154
303
  label: 'Digital Access',
155
304
  type: 'multi_select',
@@ -159,7 +308,7 @@ export const household = {
159
308
  options: [...digitalAccessOptions],
160
309
  },
161
310
  {
162
- order: 8,
311
+ order: 22,
163
312
  key: 'migrationStatus',
164
313
  label: 'Migration Status',
165
314
  type: 'single_select',
@@ -169,7 +318,7 @@ export const household = {
169
318
  options: [...migrationStatusOptions],
170
319
  },
171
320
  {
172
- order: 9,
321
+ order: 23,
173
322
  key: 'landOwnership',
174
323
  label: 'Land Ownership',
175
324
  type: 'single_select',
@@ -179,7 +328,7 @@ export const household = {
179
328
  options: [...landOwnershipOptions],
180
329
  },
181
330
  {
182
- order: 10,
331
+ order: 24,
183
332
  key: 'primaryIncomeSource',
184
333
  label: 'Primary Income Source',
185
334
  type: 'single_select',
@@ -1 +1 @@
1
- {"version":3,"file":"12-household.js","sourceRoot":"","sources":["../../src/profile-fields/12-household.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;IACpC,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;IACpC,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE;IAC9C,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE;IAC9C,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,gBAAgB,EAAE;IAClD,EAAE,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,eAAe,EAAE;IAClD,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,cAAc,EAAE;IAChD,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,cAAc,EAAE;IAChD,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE;IAC9C,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,cAAc,EAAE;IAChD,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE;IAC9C,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE;IAC9B,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE;IACxC,EA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AG,EAAE,SAAS;YACd,KAAK,EAAE,UAAU;YACjB,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,EAAE;YACR,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,cAAc,CAAC;SAC7B;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,eAAe;YACpB,KAAK,EAAE,gBAAgB;YACvB,IAAI,EAAE,cAAc;YACpB,IAAI,EAAE,EAAE;YACR,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,oBAAoB,CAAC;SACnC;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,iBAAiB;YACtB,KAAK,EAAE,kBAAkB;YACzB,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,EAAE;YACR,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,sBAAsB,CAAC;SACrC;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,eAAe;YACpB,KAAK,EAAE,gBAAgB;YACvB,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,EAAE;YACR,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,oBAAoB,CAAC;SACnC;QACD;YACE,KAAK,EAAE,EAAE;YACT,GAAG,EAAE,qBAAqB;YAC1B,KAAK,EAAE,uBAAuB;YAC9B,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,EAAE;YACR,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,0BAA0B,CAAC;SACzC;KACF;CACF,CAAC","sourcesContent":["import type { FieldGroup } from './types.js';\n\nexport const familyMemberOptions = [\n { value: 'father', label: 'Father' },\n { value: 'mother', label: 'Mother' },\n { value: 'step_father', label: 'Step-father' },\n { value: 'step_mother', label: 'Step-mother' },\n { value: 'wife_husband', label: 'Wife / Husband' },\n { value: 'blood_brother', label: 'Blood Brother' },\n { value: 'blood_sister', label: 'Blood Sister' },\n { value: 'half_brother', label: 'Half Brother' },\n { value: 'half_sister', label: 'Half Sister' },\n { value: 'step_brother', label: 'Step Brother' },\n { value: 'step_sister', label: 'Step Sister' },\n { value: 'son', label: 'Son' },\n { value: 'daughter', label: 'Daughter' },\n { value: 'other', label: 'Other' },\n] as const;\n\nexport const digitalAccessOptions = [\n { value: 'smartphone', label: 'Smartphone' },\n { value: 'feature_phone', label: 'Feature phone' },\n { value: 'computer_laptop', label: 'Computer / Laptop' },\n { value: 'internet_at_home', label: 'Internet at home' },\n { value: 'no_internet', label: 'No internet access' },\n { value: 'no_phone', label: 'No phone' },\n] as const;\n\nexport const householdIncomeOptions = [\n { value: 'below_5k', label: 'Below ₹5,000' },\n { value: '5k_10k', label: '₹5,000 – ₹10,000' },\n { value: '10k_25k', label: '₹10,000 – ₹25,000' },\n { value: '25k_50k', label: '₹25,000 – ₹50,000' },\n { value: '50k_1L', label: '₹50,000 – ₹1 Lakh' },\n { value: '1L_2_5L', label: '₹1 Lakh – ₹2.5 Lakh' },\n { value: 'above_2_5L', label: 'Above ₹2.5 Lakh' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const maritalStatusOptions = [\n { value: 'single', label: 'Single' },\n { value: 'married', label: 'Married' },\n { value: 'divorced', label: 'Divorced' },\n { value: 'widowed', label: 'Widowed' },\n { value: 'separated', label: 'Separated' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const housingTypeOptions = [\n { value: 'own_house', label: 'Own house' },\n { value: 'rented', label: 'Rented' },\n { value: 'government_quarters', label: 'Government quarters' },\n { value: 'shared', label: 'Shared housing' },\n { value: 'homeless', label: 'Homeless' },\n { value: 'other', label: 'Other' },\n] as const;\n\nexport const bplCardOptions = [\n { value: 'yes', label: 'Yes' },\n { value: 'no', label: 'No' },\n { value: 'applied', label: 'Applied / Pending' },\n { value: 'dont_know', label: \"Don't know\" },\n] as const;\n\nexport const migrationStatusOptions = [\n { value: 'native', label: 'Native (always lived here)' },\n { value: 'within_district', label: 'Migrated within district' },\n { value: 'within_state', label: 'Migrated within state' },\n { value: 'inter_state', label: 'Inter-state migrant' },\n { value: 'international', label: 'International migrant' },\n] as const;\n\nexport const landOwnershipOptions = [\n { value: 'own_agricultural', label: 'Own agricultural land' },\n { value: 'own_residential', label: 'Own residential land' },\n { value: 'government_allotted', label: 'Government allotted' },\n { value: 'no_land', label: 'No land' },\n { value: 'leased', label: 'Leased land' },\n { value: 'other', label: 'Other' },\n] as const;\n\nexport const primaryIncomeSourceOptions = [\n { value: 'agriculture', label: 'Agriculture' },\n { value: 'government_job', label: 'Government job' },\n { value: 'private_job', label: 'Private job' },\n { value: 'business', label: 'Business' },\n { value: 'daily_wage', label: 'Daily wage' },\n { value: 'pension', label: 'Pension' },\n { value: 'remittance', label: 'Remittance' },\n { value: 'no_fixed_income', label: 'No fixed income' },\n { value: 'other', label: 'Other' },\n] as const;\n\nexport const household: FieldGroup = {\n key: 'household',\n label: 'Household & Economic Profile',\n step: 12,\n description: 'Family, housing, income, and economic profile.',\n fields: [\n {\n order: 1,\n key: 'maritalStatus',\n label: 'Marital Status',\n type: 'single_select',\n step: 12,\n isOnboarding: true,\n optional: true,\n options: [...maritalStatusOptions],\n },\n {\n order: 2,\n key: 'familyMembers',\n label: 'Family Members',\n type: 'multi_select',\n step: 12,\n isOnboarding: true,\n optional: true,\n options: [...familyMemberOptions],\n },\n {\n order: 3,\n key: 'numberOfDependents',\n label: 'Number of Dependents',\n type: 'number',\n step: 12,\n isOnboarding: true,\n optional: true,\n min: 0,\n max: 50,\n },\n {\n order: 4,\n key: 'housingType',\n label: 'Housing Type',\n type: 'single_select',\n step: 12,\n isOnboarding: true,\n optional: true,\n options: [...housingTypeOptions],\n },\n {\n order: 5,\n key: 'householdIncome',\n label: 'Household Income',\n type: 'single_select',\n step: 12,\n isOnboarding: true,\n optional: true,\n options: [...householdIncomeOptions],\n sensitive: true,\n },\n {\n order: 6,\n key: 'bplCard',\n label: 'BPL Card',\n type: 'single_select',\n step: 12,\n isOnboarding: true,\n optional: true,\n options: [...bplCardOptions],\n },\n {\n order: 7,\n key: 'digitalAccess',\n label: 'Digital Access',\n type: 'multi_select',\n step: 12,\n isOnboarding: true,\n optional: true,\n options: [...digitalAccessOptions],\n },\n {\n order: 8,\n key: 'migrationStatus',\n label: 'Migration Status',\n type: 'single_select',\n step: 12,\n isOnboarding: true,\n optional: true,\n options: [...migrationStatusOptions],\n },\n {\n order: 9,\n key: 'landOwnership',\n label: 'Land Ownership',\n type: 'single_select',\n step: 12,\n isOnboarding: true,\n optional: true,\n options: [...landOwnershipOptions],\n },\n {\n order: 10,\n key: 'primaryIncomeSource',\n label: 'Primary Income Source',\n type: 'single_select',\n step: 12,\n isOnboarding: true,\n optional: true,\n options: [...primaryIncomeSourceOptions],\n },\n ],\n};\n"]}
1
+ {"version":3,"file":"12-household.js","sourceRoot":"","sources":["../../src/profile-fields/12-household.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAGxD,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;IACpC,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;IACpC,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE;IAC9C,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE;IAC9C,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,gBAAgB,EAAE;IAClD,EAAE,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,eAAe,EAAE;IAClD,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,cAAc,EAAE;IAChD,EAA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AE,SAAS;YACd,KAAK,EAAE,UAAU;YACjB,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,EAAE;YACR,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,cAAc,CAAC;SAC7B;QACD;YACE,KAAK,EAAE,EAAE;YACT,GAAG,EAAE,eAAe;YACpB,KAAK,EAAE,gBAAgB;YACvB,IAAI,EAAE,cAAc;YACpB,IAAI,EAAE,EAAE;YACR,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,oBAAoB,CAAC;SACnC;QACD;YACE,KAAK,EAAE,EAAE;YACT,GAAG,EAAE,iBAAiB;YACtB,KAAK,EAAE,kBAAkB;YACzB,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,EAAE;YACR,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,sBAAsB,CAAC;SACrC;QACD;YACE,KAAK,EAAE,EAAE;YACT,GAAG,EAAE,eAAe;YACpB,KAAK,EAAE,gBAAgB;YACvB,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,EAAE;YACR,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,oBAAoB,CAAC;SACnC;QACD;YACE,KAAK,EAAE,EAAE;YACT,GAAG,EAAE,qBAAqB;YAC1B,KAAK,EAAE,uBAAuB;YAC9B,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,EAAE;YACR,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,0BAA0B,CAAC;SACzC;KACF;CACF,CAAC","sourcesContent":["import { incomeRangeOptions } from './07-employment.js';\nimport type { FieldGroup } from './types.js';\n\nexport const familyMemberOptions = [\n { value: 'father', label: 'Father' },\n { value: 'mother', label: 'Mother' },\n { value: 'step_father', label: 'Step-father' },\n { value: 'step_mother', label: 'Step-mother' },\n { value: 'wife_husband', label: 'Wife / Husband' },\n { value: 'blood_brother', label: 'Blood Brother' },\n { value: 'blood_sister', label: 'Blood Sister' },\n { value: 'half_brother', label: 'Half Brother' },\n { value: 'half_sister', label: 'Half Sister' },\n { value: 'step_brother', label: 'Step Brother' },\n { value: 'step_sister', label: 'Step Sister' },\n { value: 'son', label: 'Son' },\n { value: 'daughter', label: 'Daughter' },\n { value: 'other', label: 'Other' },\n] as const;\n\nexport const digitalAccessOptions = [\n { value: 'smartphone', label: 'Smartphone' },\n { value: 'feature_phone', label: 'Feature phone' },\n { value: 'computer_laptop', label: 'Computer / Laptop' },\n { value: 'internet_at_home', label: 'Internet at home' },\n { value: 'no_internet', label: 'No internet access' },\n { value: 'no_phone', label: 'No phone' },\n] as const;\n\n/**\n * Household income — uses the SAME bucket set as personal `incomeRange`\n * (step 7) so the two questions feel consistent. The 9-bucket version\n * from step 7 is more granular at the high end (adds `2_5L_5L` between\n * `1L_2_5L` and `above_5L`) than the original 8-bucket household list,\n * which capped at \"above ₹2.5 Lakh\". Re-exporting (rather than declaring\n * a parallel array) guarantees the two stay in lockstep — if either side\n * ever needs different buckets, that's a deliberate decision the\n * re-exporter must make explicitly.\n */\nexport const householdIncomeOptions = incomeRangeOptions;\n\nexport const maritalStatusOptions = [\n { value: 'single', label: 'Single' },\n { value: 'married', label: 'Married' },\n { value: 'divorced', label: 'Divorced' },\n { value: 'widowed', label: 'Widowed' },\n { value: 'separated', label: 'Separated' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const housingTypeOptions = [\n { value: 'own_house', label: 'Own house' },\n { value: 'rented', label: 'Rented' },\n { value: 'government_quarters', label: 'Government quarters' },\n { value: 'shared', label: 'Shared housing' },\n { value: 'homeless', label: 'Homeless' },\n { value: 'other', label: 'Other' },\n] as const;\n\nexport const bplCardOptions = [\n { value: 'yes', label: 'Yes' },\n { value: 'no', label: 'No' },\n { value: 'applied', label: 'Applied / Pending' },\n { value: 'dont_know', label: \"Don't know\" },\n] as const;\n\nexport const migrationStatusOptions = [\n { value: 'native', label: 'Native (always lived here)' },\n { value: 'within_district', label: 'Migrated within district' },\n { value: 'within_state', label: 'Migrated within state' },\n { value: 'inter_state', label: 'Inter-state migrant' },\n { value: 'international', label: 'International migrant' },\n] as const;\n\nexport const landOwnershipOptions = [\n { value: 'own_agricultural', label: 'Own agricultural land' },\n { value: 'own_residential', label: 'Own residential land' },\n { value: 'government_allotted', label: 'Government allotted' },\n { value: 'no_land', label: 'No land' },\n { value: 'leased', label: 'Leased land' },\n { value: 'other', label: 'Other' },\n] as const;\n\nexport const primaryIncomeSourceOptions = [\n { value: 'agriculture', label: 'Agriculture' },\n { value: 'government_job', label: 'Government job' },\n { value: 'private_job', label: 'Private job' },\n { value: 'business', label: 'Business' },\n { value: 'daily_wage', label: 'Daily wage' },\n { value: 'pension', label: 'Pension' },\n { value: 'remittance', label: 'Remittance' },\n { value: 'no_fixed_income', label: 'No fixed income' },\n { value: 'other', label: 'Other' },\n] as const;\n\nexport const household: FieldGroup = {\n key: 'household',\n label: 'Household & Economic Profile',\n step: 12,\n description: 'Family, housing, income, and economic profile.',\n fields: [\n {\n order: 1,\n key: 'maritalStatus',\n label: 'Marital Status',\n type: 'single_select',\n step: 12,\n isOnboarding: true,\n optional: true,\n options: [...maritalStatusOptions],\n },\n {\n order: 2,\n key: 'familyMembers',\n label: 'Family Members',\n type: 'multi_select',\n step: 12,\n isOnboarding: true,\n optional: true,\n options: [...familyMemberOptions],\n },\n // ── Family-link sub-steps (orders 3–16) ─────────────────────────────────\n // Each is conditional on the user having selected the matching value in\n // `familyMembers` (sub-step 2). Female-first ordering: mother → step-mother\n // → father → step-father → spouse → sisters → brothers → daughter → son\n // → other. Single-instance relations (mother / father / step_*) are\n // typed `object`; multi-instance (siblings / children / spouse / other)\n // are typed `object_array`.\n {\n order: 3,\n key: 'linkedMother',\n label: 'Link your mother',\n type: 'object',\n step: 12,\n isOnboarding: true,\n optional: true,\n conditionalOn: { field: 'familyMembers', includesAny: ['mother'] },\n },\n {\n order: 4,\n key: 'linkedStepMother',\n label: 'Link your step-mother',\n type: 'object',\n step: 12,\n isOnboarding: true,\n optional: true,\n conditionalOn: { field: 'familyMembers', includesAny: ['step_mother'] },\n },\n {\n order: 5,\n key: 'linkedFather',\n label: 'Link your father',\n type: 'object',\n step: 12,\n isOnboarding: true,\n optional: true,\n conditionalOn: { field: 'familyMembers', includesAny: ['father'] },\n },\n {\n order: 6,\n key: 'linkedStepFather',\n label: 'Link your step-father',\n type: 'object',\n step: 12,\n isOnboarding: true,\n optional: true,\n conditionalOn: { field: 'familyMembers', includesAny: ['step_father'] },\n },\n {\n order: 7,\n key: 'linkedSpouses',\n label: 'Link your spouse',\n type: 'object_array',\n step: 12,\n isOnboarding: true,\n optional: true,\n conditionalOn: { field: 'familyMembers', includesAny: ['wife_husband'] },\n },\n {\n order: 8,\n key: 'linkedBloodSisters',\n label: 'Link your blood sisters',\n type: 'object_array',\n step: 12,\n isOnboarding: true,\n optional: true,\n conditionalOn: { field: 'familyMembers', includesAny: ['blood_sister'] },\n },\n {\n order: 9,\n key: 'linkedHalfSisters',\n label: 'Link your half-sisters',\n type: 'object_array',\n step: 12,\n isOnboarding: true,\n optional: true,\n conditionalOn: { field: 'familyMembers', includesAny: ['half_sister'] },\n },\n {\n order: 10,\n key: 'linkedStepSisters',\n label: 'Link your step-sisters',\n type: 'object_array',\n step: 12,\n isOnboarding: true,\n optional: true,\n conditionalOn: { field: 'familyMembers', includesAny: ['step_sister'] },\n },\n {\n order: 11,\n key: 'linkedBloodBrothers',\n label: 'Link your blood brothers',\n type: 'object_array',\n step: 12,\n isOnboarding: true,\n optional: true,\n conditionalOn: { field: 'familyMembers', includesAny: ['blood_brother'] },\n },\n {\n order: 12,\n key: 'linkedHalfBrothers',\n label: 'Link your half-brothers',\n type: 'object_array',\n step: 12,\n isOnboarding: true,\n optional: true,\n conditionalOn: { field: 'familyMembers', includesAny: ['half_brother'] },\n },\n {\n order: 13,\n key: 'linkedStepBrothers',\n label: 'Link your step-brothers',\n type: 'object_array',\n step: 12,\n isOnboarding: true,\n optional: true,\n conditionalOn: { field: 'familyMembers', includesAny: ['step_brother'] },\n },\n {\n order: 14,\n key: 'linkedDaughters',\n label: 'Link your daughters',\n type: 'object_array',\n step: 12,\n isOnboarding: true,\n optional: true,\n conditionalOn: { field: 'familyMembers', includesAny: ['daughter'] },\n },\n {\n order: 15,\n key: 'linkedSons',\n label: 'Link your sons',\n type: 'object_array',\n step: 12,\n isOnboarding: true,\n optional: true,\n conditionalOn: { field: 'familyMembers', includesAny: ['son'] },\n },\n {\n order: 16,\n key: 'linkedOthers',\n label: 'Link other family',\n type: 'object_array',\n step: 12,\n isOnboarding: true,\n optional: true,\n conditionalOn: { field: 'familyMembers', includesAny: ['other'] },\n },\n {\n order: 17,\n key: 'numberOfDependents',\n label: 'Number of Dependents',\n type: 'number',\n step: 12,\n isOnboarding: true,\n optional: true,\n min: 0,\n max: 50,\n },\n {\n order: 18,\n key: 'housingType',\n label: 'Housing Type',\n type: 'single_select',\n step: 12,\n isOnboarding: true,\n optional: true,\n options: [...housingTypeOptions],\n },\n {\n order: 19,\n key: 'householdIncome',\n label: 'Household Income',\n type: 'single_select',\n step: 12,\n isOnboarding: true,\n optional: true,\n options: [...householdIncomeOptions],\n sensitive: true,\n },\n {\n order: 20,\n key: 'bplCard',\n label: 'BPL Card',\n type: 'single_select',\n step: 12,\n isOnboarding: true,\n optional: true,\n options: [...bplCardOptions],\n },\n {\n order: 21,\n key: 'digitalAccess',\n label: 'Digital Access',\n type: 'multi_select',\n step: 12,\n isOnboarding: true,\n optional: true,\n options: [...digitalAccessOptions],\n },\n {\n order: 22,\n key: 'migrationStatus',\n label: 'Migration Status',\n type: 'single_select',\n step: 12,\n isOnboarding: true,\n optional: true,\n options: [...migrationStatusOptions],\n },\n {\n order: 23,\n key: 'landOwnership',\n label: 'Land Ownership',\n type: 'single_select',\n step: 12,\n isOnboarding: true,\n optional: true,\n options: [...landOwnershipOptions],\n },\n {\n order: 24,\n key: 'primaryIncomeSource',\n label: 'Primary Income Source',\n type: 'single_select',\n step: 12,\n isOnboarding: true,\n optional: true,\n options: [...primaryIncomeSourceOptions],\n },\n ],\n};\n"]}
@@ -11,7 +11,7 @@ export { electoralBehaviour, votingFrequencyOptions, votingIssueOptions, willVot
11
11
  export { comfortWithVisibilityOptions, desiredPoliticalPositionOptions, leadershipAmbitions, leadershipSkillsetOptions, participateOptions, pastExperienceOptions, politicalExposureOptions, socialInfluenceOptions, } from './04-leadership.js';
12
12
  export { mbtiOptions, psychologicalAssessment } from './05-psychological.js';
13
13
  export { boardOptions, DEGREE_VALUES_BY_LEVEL, degreeNameOptions, education, qualificationOptions, streamOptions, subjectOptions, } from './06-education.js';
14
- export { comfortableWithShiftOptions, employment, employmentStatusOptions, incomeRangeOptions, shiftOptions, } from './07-employment.js';
14
+ export { comfortableWithShiftOptions, employment, employmentStatusOptions, incomeRangeOptions, occupationOptions, shiftOptions, } from './07-employment.js';
15
15
  export { ageOfRealizationOptions, cognitiveStrengthOptions, communicationPreferenceOptions, executiveFunctionChallengeOptions, impactOnLifeOptions, learningStyleOptions, maskingBurnoutOptions, mentalHealthConditionOptions, neurodevelopmentalConditionOptions, neurodiverseIdentityOptions, neurodiversity, neurologicalChronicConditionOptions, personalityPatternOptions, sensoryProfileOptions, supportAccommodationOptions, } from './08-neurodiversity.js';
16
16
  export { dietOptions, disabilityOptions, generalHealthOptions, healthInsuranceOptions, healthLifestyle, physicalActivityOptions, sleepQualityOptions, stressLevelOptions, substanceUseOptions, } from './09-health.js';
17
17
  export { animalCrueltyOptions, casteDiscriminationOptions, casteDiscriminationPlaceOptions, genderEqualityOptions, lgbtqStatementOptions, transgenderStatementOptions, worldView, } from './10-worldview.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/profile-fields/index.ts"],"names":[],"mappings":"AA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iBAAiB,EACjB,oBAAoB,EACpB,sBAAsB,EACtB,eAAe,EACf,uBAAuB,EACvB,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,GACpB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,oBAAoB,EACpB,0BAA0B,EAC1B,+BAA+B,EAC/B,qBAAqB,EACrB,qBAAqB,EACrB,2BAA2B,EAC3B,SAAS,GACV,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EACL,cAAc,EACd,oBAAoB,EACpB,mBAAmB,EACnB,SAAS,EACT,sBAAsB,EACtB,kBAAkB,EAClB,oBAAoB,EACpB,oBAAoB,EACpB,sBAAsB,EACtB,0BAA0B,GAC3B,MAAM,mBAAmB,CAAC;AAgB3B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,cAAc,EAAE,SAAS,UAAU,EAa/C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/profile-fields/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,YAAY,EACV,SAAS,EACT,UAAU,EACV,WAAW,EACX,gBAAgB,EAChB,WAAW,EACX,YAAY,EACZ,WAAW,EACX,SAAS,GACV,MAAM,YAAY,CAAC;AAIpB,OAAO,EACL,aAAa,EACb,eAAe,EACf,eAAe,EACf,OAAO,EACP,eAAe,EACf,kBAAkB,GACnB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,sBAAsB,EACtB,0BAA0B,EAC1B,2BAA2B,EAC3B,YAAY,EACZ,oBAAoB,EACpB,wBAAwB,EACxB,0BAA0B,GAC3B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,kBAAkB,EAClB,sBAAsB,EACtB,kBAAkB,EAClB,eAAe,EACf,kBAAkB,GACnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,4BAA4B,EAC5B,+BAA+B,EAC/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AAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,cAAc,EAAE,SAAS,UAAU,EAa/C,CAAC"}
@@ -11,7 +11,7 @@ export { electoralBehaviour, votingFrequencyOptions, votingIssueOptions, willVot
11
11
  export { comfortWithVisibilityOptions, desiredPoliticalPositionOptions, leadershipAmbitions, leadershipSkillsetOptions, participateOptions, pastExperienceOptions, politicalExposureOptions, socialInfluenceOptions, } from './04-leadership.js';
12
12
  export { mbtiOptions, psychologicalAssessment } from './05-psychological.js';
13
13
  export { boardOptions, DEGREE_VALUES_BY_LEVEL, degreeNameOptions, education, qualificationOptions, streamOptions, subjectOptions, } from './06-education.js';
14
- export { comfortableWithShiftOptions, employment, employmentStatusOptions, incomeRangeOptions, shiftOptions, } from './07-employment.js';
14
+ export { comfortableWithShiftOptions, employment, employmentStatusOptions, incomeRangeOptions, occupationOptions, shiftOptions, } from './07-employment.js';
15
15
  export { ageOfRealizationOptions, cognitiveStrengthOptions, communicationPreferenceOptions, executiveFunctionChallengeOptions, impactOnLifeOptions, learningStyleOptions, maskingBurnoutOptions, mentalHealthConditionOptions, neurodevelopmentalConditionOptions, neurodiverseIdentityOptions, neurodiversity, neurologicalChronicConditionOptions, personalityPatternOptions, sensoryProfileOptions, supportAccommodationOptions, } from './08-neurodiversity.js';
16
16
  export { dietOptions, disabilityOptions, generalHealthOptions, healthInsuranceOptions, healthLifestyle, physicalActivityOptions, sleepQualityOptions, stressLevelOptions, substanceUseOptions, } from './09-health.js';
17
17
  export { animalCrueltyOptions, casteDiscriminationOptions, casteDiscriminationPlaceOptions, genderEqualityOptions, lgbtqStatementOptions, transgenderStatementOptions, worldView, } from './10-worldview.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/profile-fields/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAaH,+EAA+E;AAE/E,OAAO,EACL,aAAa,EACb,eAAe,EACf,eAAe,EACf,OAAO,EACP,eAAe,EACf,kBAAk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ACrB,2BAA2B,EAC3B,SAAS,GACV,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EACL,cAAc,EACd,oBAAoB,EACpB,mBAAmB,EACnB,SAAS,EACT,sBAAsB,EACtB,kBAAkB,EAClB,oBAAoB,EACpB,oBAAoB,EACpB,sBAAsB,EACtB,0BAA0B,GAC3B,MAAM,mBAAmB,CAAC;AAE3B,+EAA+E;AAE/E,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAG9C,MAAM,CAAC,MAAM,cAAc,GAA0B;IACnD,OAAO;IACP,oBAAoB;IACpB,kBAAkB;IAClB,mBAAmB;IACnB,uBAAuB;IACvB,SAAS;IACT,UAAU;IACV,cAAc;IACd,eAAe;IACf,SAAS;IACT,SAAS;IACT,SAAS;CACV,CAAC","sourcesContent":["/**\n * UDP Profile Fields — barrel export.\n *\n * Mirrors the dating-schema profile-fields pattern.\n * Each file defines a FieldGroup with rich field metadata and options.\n */\n\nexport type {\n BaseField,\n FieldGroup,\n FieldOption,\n MultiSelectField,\n NumberField,\n ProfileField,\n SelectField,\n TextField,\n} from './types.js';\n\n// ── Field groups ────────────────────────────────────────────────────────────\n\nexport {\n genderOptions,\n languageOptions,\n minorityOptions,\n profile,\n religionOptions,\n reservationOptions,\n} from './01-profile.js';\nexport {\n civicEngagementOptions,\n officeElectionLevelOptions,\n partyAssociationRoleOptions,\n partyOptions,\n politicalAssociation,\n politicalSpectrumOptions,\n relativesInPoliticsOptions,\n} from './02-political.js';\nexport {\n electoralBehaviour,\n votingFrequencyOptions,\n votingIssueOptions,\n willVoteOptions,\n yesNoPreferOptions,\n} from './03-electoral.js';\nexport {\n comfortWithVisibilityOptions,\n desiredPoliticalPositionOptions,\n leadershipAmbitions,\n leadershipSkillsetOptions,\n participateOptions,\n pastExperienceOptions,\n politicalExposureOptions,\n socialInfluenceOptions,\n} from './04-leadership.js';\nexport { mbtiOptions, psychologicalAssessment } from './05-psychological.js';\nexport {\n boardOptions,\n DEGREE_VALUES_BY_LEVEL,\n degreeNameOptions,\n education,\n qualificationOptions,\n streamOptions,\n subjectOptions,\n} from './06-education.js';\nexport {\n comfortableWithShiftOptions,\n employment,\n employmentStatusOptions,\n incomeRangeOptions,\n shiftOptions,\n} from './07-employment.js';\nexport {\n ageOfRealizationOptions,\n cognitiveStrengthOptions,\n communicationPreferenceOptions,\n executiveFunctionChallengeOptions,\n impactOnLifeOptions,\n learningStyleOptions,\n maskingBurnoutOptions,\n mentalHealthConditionOptions,\n neurodevelopmentalConditionOptions,\n neurodiverseIdentityOptions,\n neurodiversity,\n neurologicalChronicConditionOptions,\n personalityPatternOptions,\n sensoryProfileOptions,\n supportAccommodationOptions,\n} from './08-neurodiversity.js';\nexport {\n dietOptions,\n disabilityOptions,\n generalHealthOptions,\n healthInsuranceOptions,\n healthLifestyle,\n physicalActivityOptions,\n sleepQualityOptions,\n stressLevelOptions,\n substanceUseOptions,\n} from './09-health.js';\nexport {\n animalCrueltyOptions,\n casteDiscriminationOptions,\n casteDiscriminationPlaceOptions,\n genderEqualityOptions,\n lgbtqStatementOptions,\n transgenderStatementOptions,\n worldView,\n} from './10-worldview.js';\nexport { residence } from './11-residence.js';\nexport {\n bplCardOptions,\n digitalAccessOptions,\n familyMemberOptions,\n household,\n householdIncomeOptions,\n housingTypeOptions,\n landOwnershipOptions,\n maritalStatusOptions,\n migrationStatusOptions,\n primaryIncomeSourceOptions,\n} from './12-household.js';\n\n// ── All field groups (for building lookup maps) ─────────────────────────────\n\nimport { profile } from './01-profile.js';\nimport { politicalAssociation } from './02-political.js';\nimport { electoralBehaviour } from './03-electoral.js';\nimport { leadershipAmbitions } from './04-leadership.js';\nimport { psychologicalAssessment } from './05-psychological.js';\nimport { education } from './06-education.js';\nimport { employment } from './07-employment.js';\nimport { neurodiversity } from './08-neurodiversity.js';\nimport { healthLifestyle } from './09-health.js';\nimport { worldView } from './10-worldview.js';\nimport { residence } from './11-residence.js';\nimport { household } from './12-household.js';\nimport type { FieldGroup } from './types.js';\n\nexport const allFieldGroups: readonly FieldGroup[] = [\n profile,\n politicalAssociation,\n electoralBehaviour,\n leadershipAmbitions,\n psychologicalAssessment,\n education,\n employment,\n neurodiversity,\n healthLifestyle,\n worldView,\n residence,\n household,\n];\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/profile-fields/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAaH,+EAA+E;AAE/E,OAAO,EACL,aAAa,EACb,eAAe,EACf,eAAe,EACf,OAAO,EACP,eAAe,EACf,kBAAkB,GACnB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,sBAAsB,EACtB,0BAA0B,EAC1B,2BAA2B,EAC3B,YAAY,EACZ,oBAAoB,EACpB,wBAAwB,EACxB,0BAA0B,GAC3B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,kBAAkB,EAClB,sBAAsB,EACtB,kBAAkB,EAClB,eAAe,EACf,kBAAkB,GACnB,MAAM,mBAAmB,CAAC;A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AM,mBAAmB,CAAC;AAE3B,+EAA+E;AAE/E,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAG9C,MAAM,CAAC,MAAM,cAAc,GAA0B;IACnD,OAAO;IACP,oBAAoB;IACpB,kBAAkB;IAClB,mBAAmB;IACnB,uBAAuB;IACvB,SAAS;IACT,UAAU;IACV,cAAc;IACd,eAAe;IACf,SAAS;IACT,SAAS;IACT,SAAS;CACV,CAAC","sourcesContent":["/**\n * UDP Profile Fields — barrel export.\n *\n * Mirrors the dating-schema profile-fields pattern.\n * Each file defines a FieldGroup with rich field metadata and options.\n */\n\nexport type {\n BaseField,\n FieldGroup,\n FieldOption,\n MultiSelectField,\n NumberField,\n ProfileField,\n SelectField,\n TextField,\n} from './types.js';\n\n// ── Field groups ────────────────────────────────────────────────────────────\n\nexport {\n genderOptions,\n languageOptions,\n minorityOptions,\n profile,\n religionOptions,\n reservationOptions,\n} from './01-profile.js';\nexport {\n civicEngagementOptions,\n officeElectionLevelOptions,\n partyAssociationRoleOptions,\n partyOptions,\n politicalAssociation,\n politicalSpectrumOptions,\n relativesInPoliticsOptions,\n} from './02-political.js';\nexport {\n electoralBehaviour,\n votingFrequencyOptions,\n votingIssueOptions,\n willVoteOptions,\n yesNoPreferOptions,\n} from './03-electoral.js';\nexport {\n comfortWithVisibilityOptions,\n desiredPoliticalPositionOptions,\n leadershipAmbitions,\n leadershipSkillsetOptions,\n participateOptions,\n pastExperienceOptions,\n politicalExposureOptions,\n socialInfluenceOptions,\n} from './04-leadership.js';\nexport { mbtiOptions, psychologicalAssessment } from './05-psychological.js';\nexport {\n boardOptions,\n DEGREE_VALUES_BY_LEVEL,\n degreeNameOptions,\n education,\n qualificationOptions,\n streamOptions,\n subjectOptions,\n} from './06-education.js';\nexport {\n comfortableWithShiftOptions,\n employment,\n employmentStatusOptions,\n incomeRangeOptions,\n occupationOptions,\n shiftOptions,\n} from './07-employment.js';\nexport {\n ageOfRealizationOptions,\n cognitiveStrengthOptions,\n communicationPreferenceOptions,\n executiveFunctionChallengeOptions,\n impactOnLifeOptions,\n learningStyleOptions,\n maskingBurnoutOptions,\n mentalHealthConditionOptions,\n neurodevelopmentalConditionOptions,\n neurodiverseIdentityOptions,\n neurodiversity,\n neurologicalChronicConditionOptions,\n personalityPatternOptions,\n sensoryProfileOptions,\n supportAccommodationOptions,\n} from './08-neurodiversity.js';\nexport {\n dietOptions,\n disabilityOptions,\n generalHealthOptions,\n healthInsuranceOptions,\n healthLifestyle,\n physicalActivityOptions,\n sleepQualityOptions,\n stressLevelOptions,\n substanceUseOptions,\n} from './09-health.js';\nexport {\n animalCrueltyOptions,\n casteDiscriminationOptions,\n casteDiscriminationPlaceOptions,\n genderEqualityOptions,\n lgbtqStatementOptions,\n transgenderStatementOptions,\n worldView,\n} from './10-worldview.js';\nexport { residence } from './11-residence.js';\nexport {\n bplCardOptions,\n digitalAccessOptions,\n familyMemberOptions,\n household,\n householdIncomeOptions,\n housingTypeOptions,\n landOwnershipOptions,\n maritalStatusOptions,\n migrationStatusOptions,\n primaryIncomeSourceOptions,\n} from './12-household.js';\n\n// ── All field groups (for building lookup maps) ─────────────────────────────\n\nimport { profile } from './01-profile.js';\nimport { politicalAssociation } from './02-political.js';\nimport { electoralBehaviour } from './03-electoral.js';\nimport { leadershipAmbitions } from './04-leadership.js';\nimport { psychologicalAssessment } from './05-psychological.js';\nimport { education } from './06-education.js';\nimport { employment } from './07-employment.js';\nimport { neurodiversity } from './08-neurodiversity.js';\nimport { healthLifestyle } from './09-health.js';\nimport { worldView } from './10-worldview.js';\nimport { residence } from './11-residence.js';\nimport { household } from './12-household.js';\nimport type { FieldGroup } from './types.js';\n\nexport const allFieldGroups: readonly FieldGroup[] = [\n profile,\n politicalAssociation,\n electoralBehaviour,\n leadershipAmbitions,\n psychologicalAssessment,\n education,\n employment,\n neurodiversity,\n healthLifestyle,\n worldView,\n residence,\n household,\n];\n"]}
@@ -34,9 +34,15 @@ export interface BaseField {
34
34
  sensitive?: boolean;
35
35
  /**
36
36
  * If set, field visibility is conditional on another field's value.
37
- * - `values`: positive match — only visible when referenced field's value is in the list.
38
- * - `notIn`: negative match — only visible when referenced field's value is NOT in the list.
39
- * An undefined referenced value counts as "not in the list" (field is shown).
37
+ * - `values`: positive match — only visible when referenced field's (single)
38
+ * value is in the list.
39
+ * - `notIn`: negative match only visible when referenced field's (single)
40
+ * value is NOT in the list. An undefined referenced value counts as
41
+ * "not in the list" (field is shown).
42
+ * - `includesAny`: array-intersection match — for multi_select fields, only
43
+ * visible when the referenced array shares at least one value with the
44
+ * list. Used by step-12's link sub-steps which gate on `familyMembers`
45
+ * (a multi-select) including the relevant relation type.
40
46
  */
41
47
  conditionalOn?: {
42
48
  field: string;
@@ -44,6 +50,9 @@ export interface BaseField {
44
50
  } | {
45
51
  field: string;
46
52
  notIn: string[];
53
+ } | {
54
+ field: string;
55
+ includesAny: string[];
47
56
  };
48
57
  }
49
58
  export interface SelectField extends BaseField {
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/profile-fields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CAAC;IACb,MAAM,EAAE,YAAY,EAAE,CAAC;CACxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/profile-fields/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG","sourcesContent":["/**\n * Type definitions for UDP profile field configuration.\n *\n * Mirrors the dating-schema profile-fields/types.ts pattern.\n * These types describe field metadata — NOT the user's actual profile data.\n */\n\nexport interface FieldOption {\n value: string;\n label: string;\n /** Short description — shown on chips/cards */\n description?: string;\n}\n\nexport interface BaseField {\n /** Display order within the step */\n order: number;\n /** Unique key — maps to DB field name */\n key: string;\n /** Human-readable label */\n label: string;\n /** Field type for form rendering */\n type:\n | 'text'\n | 'textarea'\n | 'number'\n | 'date'\n | 'single_select'\n | 'multi_select'\n | 'object'\n | 'object_array'\n | 'address';\n /** Step number (1-12) this field belongs to */\n step: number;\n /** Whether this field is collected during onboarding */\n isOnboarding: boolean;\n /**\n * All UDP fields are optional — users can skip any question.\n * This flag is kept for metadata/documentation but does not affect form flow.\n */\n optional?: boolean;\n /** Help text shown below the field */\n description?: string;\n /** Mark as sensitive (shown with privacy notice) */\n sensitive?: boolean;\n /**\n * If set, field visibility is conditional on another field's value.\n * - `values`: positive match — only visible when referenced field's value is in the list.\n * - `notIn`: negative match — only visible when referenced field's value is NOT in the list.\n * An undefined referenced value counts as \"not in the list\" (field is shown).\n */\n conditionalOn?: { field: string; values: string[] } | { field: string; notIn: string[] };\n}\n\nexport interface SelectField extends BaseField {\n type: 'single_select';\n options: FieldOption[];\n}\n\nexport interface MultiSelectField extends BaseField {\n type: 'multi_select';\n options: FieldOption[];\n maxSelect?: number;\n}\n\nexport interface TextField extends BaseField {\n type: 'text' | 'textarea';\n maxLength?: number;\n}\n\nexport interface NumberField extends BaseField {\n type: 'number';\n min?: number;\n max?: number;\n}\n\nexport type ProfileField =\n | SelectField\n | MultiSelectField\n | TextField\n | NumberField\n | (BaseField & { type: 'date' | 'object' | 'object_array' | 'address' });\n\nexport interface FieldGroup {\n key: string;\n label: string;\n description?: string;\n step: number;\n fields: ProfileField[];\n}\n"]}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/profile-fields/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG","sourcesContent":["/**\n * Type definitions for UDP profile field configuration.\n *\n * Mirrors the dating-schema profile-fields/types.ts pattern.\n * These types describe field metadata — NOT the user's actual profile data.\n */\n\nexport interface FieldOption {\n value: string;\n label: string;\n /** Short description — shown on chips/cards */\n description?: string;\n}\n\nexport interface BaseField {\n /** Display order within the step */\n order: number;\n /** Unique key — maps to DB field name */\n key: string;\n /** Human-readable label */\n label: string;\n /** Field type for form rendering */\n type:\n | 'text'\n | 'textarea'\n | 'number'\n | 'date'\n | 'single_select'\n | 'multi_select'\n | 'object'\n | 'object_array'\n | 'address';\n /** Step number (1-12) this field belongs to */\n step: number;\n /** Whether this field is collected during onboarding */\n isOnboarding: boolean;\n /**\n * All UDP fields are optional — users can skip any question.\n * This flag is kept for metadata/documentation but does not affect form flow.\n */\n optional?: boolean;\n /** Help text shown below the field */\n description?: string;\n /** Mark as sensitive (shown with privacy notice) */\n sensitive?: boolean;\n /**\n * If set, field visibility is conditional on another field's value.\n * - `values`: positive match — only visible when referenced field's (single)\n * value is in the list.\n * - `notIn`: negative match — only visible when referenced field's (single)\n * value is NOT in the list. An undefined referenced value counts as\n * \"not in the list\" (field is shown).\n * - `includesAny`: array-intersection match — for multi_select fields, only\n * visible when the referenced array shares at least one value with the\n * list. Used by step-12's link sub-steps which gate on `familyMembers`\n * (a multi-select) including the relevant relation type.\n */\n conditionalOn?:\n | { field: string; values: string[] }\n | { field: string; notIn: string[] }\n | { field: string; includesAny: string[] };\n}\n\nexport interface SelectField extends BaseField {\n type: 'single_select';\n options: FieldOption[];\n}\n\nexport interface MultiSelectField extends BaseField {\n type: 'multi_select';\n options: FieldOption[];\n maxSelect?: number;\n}\n\nexport interface TextField extends BaseField {\n type: 'text' | 'textarea';\n maxLength?: number;\n}\n\nexport interface NumberField extends BaseField {\n type: 'number';\n min?: number;\n max?: number;\n}\n\nexport type ProfileField =\n | SelectField\n | MultiSelectField\n | TextField\n | NumberField\n | (BaseField & { type: 'date' | 'object' | 'object_array' | 'address' });\n\nexport interface FieldGroup {\n key: string;\n label: string;\n description?: string;\n step: number;\n fields: ProfileField[];\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"progress-fields.d.ts","sourceRoot":"","sources":["../src/progress-fields.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CA0IxD,CAAC;AAEX,gCAAgC;AAChC,eAAO,MAAM,eAAe,KAAK,CAAC;AAElC;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAE3D,CAAC;AAEX;;;GAGG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAYlF;AAED,iEAAiE;AACjE,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAcrD;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,GAAG,IAAI,GACnD;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAuBnC;AAED;;;;;;;GAOG;AACH,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,GACnE;IACD,KAAK,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC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;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;CACjB,CAeA"}
@@ -74,7 +74,6 @@ export const UDP_PROGRESS_FIELDS = {
74
74
  'doctorates',
75
75
  'postDoctorates',
76
76
  'otherCertificates',
77
- 'educationNotes',
78
77
  ],
79
78
  7: [
80
79
  'employmentStatus',
@@ -114,9 +113,7 @@ export const UDP_PROGRESS_FIELDS = {
114
113
  10: [
115
114
  'viewOnAnimalCruelty',
116
115
  'viewOnLgbtqStatements',
117
- 'viewOnLgbtqOpinion',
118
116
  'viewOnTransgenderInclusion',
119
- 'viewOnTransgenderOpinion',
120
117
  'facingCasteDiscrimination',
121
118
  'casteDiscriminationPlaces',
122
119
  'viewOnGenderEquality',
@@ -136,6 +133,23 @@ export const UDP_PROGRESS_FIELDS = {
136
133
  12: [
137
134
  'maritalStatus',
138
135
  'familyMembers',
136
+ // Family-link sub-steps — counted toward step-12 progress like any
137
+ // other field. Conditional rendering means missing ones don't block
138
+ // completion.
139
+ 'linkedMother',
140
+ 'linkedStepMother',
141
+ 'linkedFather',
142
+ 'linkedStepFather',
143
+ 'linkedSpouses',
144
+ 'linkedBloodSisters',
145
+ 'linkedHalfSisters',
146
+ 'linkedStepSisters',
147
+ 'linkedBloodBrothers',
148
+ 'linkedHalfBrothers',
149
+ 'linkedStepBrothers',
150
+ 'linkedDaughters',
151
+ 'linkedSons',
152
+ 'linkedOthers',
139
153
  'numberOfDependents',
140
154
  'housingType',
141
155
  'householdIncome',