udp-schema 2.18.0 → 2.20.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 (33) hide show
  1. package/dist/profile-fields/02-political.d.ts +16 -8
  2. package/dist/profile-fields/02-political.d.ts.map +1 -1
  3. package/dist/profile-fields/02-political.js +12 -4
  4. package/dist/profile-fields/02-political.js.map +1 -1
  5. package/dist/profile-fields/03-electoral.d.ts +42 -0
  6. package/dist/profile-fields/03-electoral.d.ts.map +1 -1
  7. package/dist/profile-fields/03-electoral.js +22 -19
  8. package/dist/profile-fields/03-electoral.js.map +1 -1
  9. package/dist/profile-fields/04-leadership.d.ts +74 -0
  10. package/dist/profile-fields/04-leadership.d.ts.map +1 -1
  11. package/dist/profile-fields/04-leadership.js +38 -33
  12. package/dist/profile-fields/04-leadership.js.map +1 -1
  13. package/dist/profile-fields/07-employment.d.ts +10 -0
  14. package/dist/profile-fields/07-employment.d.ts.map +1 -1
  15. package/dist/profile-fields/07-employment.js +6 -5
  16. package/dist/profile-fields/07-employment.js.map +1 -1
  17. package/dist/profile-fields/09-health.d.ts +80 -0
  18. package/dist/profile-fields/09-health.d.ts.map +1 -1
  19. package/dist/profile-fields/09-health.js +40 -35
  20. package/dist/profile-fields/09-health.js.map +1 -1
  21. package/dist/profile-fields/10-worldview.d.ts +45 -0
  22. package/dist/profile-fields/10-worldview.d.ts.map +1 -1
  23. package/dist/profile-fields/10-worldview.js +23 -20
  24. package/dist/profile-fields/10-worldview.js.map +1 -1
  25. package/dist/profile-fields/12-household.d.ts +114 -0
  26. package/dist/profile-fields/12-household.d.ts.map +1 -1
  27. package/dist/profile-fields/12-household.js +54 -48
  28. package/dist/profile-fields/12-household.js.map +1 -1
  29. package/dist/profile-fields/index.d.ts +6 -6
  30. package/dist/profile-fields/index.d.ts.map +1 -1
  31. package/dist/profile-fields/index.js +6 -6
  32. package/dist/profile-fields/index.js.map +1 -1
  33. package/package.json +1 -1
@@ -41,10 +41,24 @@ export declare const politicalSpectrumOptions: readonly [{
41
41
  }];
42
42
  /**
43
43
  * Indian political parties — exhaustive list of nationally- or state-recognized
44
- * parties active as of 2026. Ordered roughly by national visibility; state /
45
- * regional parties follow. Includes post-2023 splits (NCP-SP, Shiv Sena UBT).
44
+ * parties active as of 2026. Ordering rationale:
45
+ * 1. `none` + `independent` are pinned to the top they're the most-
46
+ * common selections for users who don't identify with any party,
47
+ * and surfacing them first reduces scroll for the majority case.
48
+ * 2. National parties next (BJP, INC, AAP, BSP, SP, TMC), then state /
49
+ * regional parties.
50
+ * 3. `other` and `prefer_not_to_say` stay at the bottom (standard
51
+ * "escape hatch" position).
52
+ *
53
+ * Includes post-2023 splits (NCP-SP, Shiv Sena UBT).
46
54
  */
47
55
  export declare const partyOptions: readonly [{
56
+ readonly value: "none";
57
+ readonly label: "No party affiliation";
58
+ }, {
59
+ readonly value: "independent";
60
+ readonly label: "Independent candidate";
61
+ }, {
48
62
  readonly value: "bjp";
49
63
  readonly label: "BJP";
50
64
  }, {
@@ -137,12 +151,6 @@ export declare const partyOptions: readonly [{
137
151
  }, {
138
152
  readonly value: "agp";
139
153
  readonly label: "Asom Gana Parishad (AGP)";
140
- }, {
141
- readonly value: "independent";
142
- readonly label: "Independent candidate";
143
- }, {
144
- readonly value: "none";
145
- readonly label: "No party affiliation";
146
154
  }, {
147
155
  readonly value: "other";
148
156
  readonly label: "Other";
@@ -1 +1 @@
1
- {"version":3,"file":"02-political.d.ts","sourceRoot":"","sources":["../../src/profile-fields/02-political.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgD3B,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;EAe7B,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;EAS7B,CAAC;AAEX,uDAAuD;AACvD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;EAKxB,CAAC;AAEX,eAAO,MAAM,oBAAoB,EAAE,UAkFlC,CAAC"}
@@ -48,10 +48,20 @@ export const politicalSpectrumOptions = [
48
48
  ];
49
49
  /**
50
50
  * Indian political parties — exhaustive list of nationally- or state-recognized
51
- * parties active as of 2026. Ordered roughly by national visibility; state /
52
- * regional parties follow. Includes post-2023 splits (NCP-SP, Shiv Sena UBT).
51
+ * parties active as of 2026. Ordering rationale:
52
+ * 1. `none` + `independent` are pinned to the top they're the most-
53
+ * common selections for users who don't identify with any party,
54
+ * and surfacing them first reduces scroll for the majority case.
55
+ * 2. National parties next (BJP, INC, AAP, BSP, SP, TMC), then state /
56
+ * regional parties.
57
+ * 3. `other` and `prefer_not_to_say` stay at the bottom (standard
58
+ * "escape hatch" position).
59
+ *
60
+ * Includes post-2023 splits (NCP-SP, Shiv Sena UBT).
53
61
  */
54
62
  export const partyOptions = [
63
+ { value: 'none', label: 'No party affiliation' },
64
+ { value: 'independent', label: 'Independent candidate' },
55
65
  { value: 'bjp', label: 'BJP' },
56
66
  { value: 'inc', label: 'Indian National Congress (INC)' },
57
67
  { value: 'aap', label: 'Aam Aadmi Party (AAP)' },
@@ -83,8 +93,6 @@ export const partyOptions = [
83
93
  { value: 'iuml', label: 'Indian Union Muslim League (IUML)' },
84
94
  { value: 'mns', label: 'Maharashtra Navnirman Sena (MNS)' },
85
95
  { value: 'agp', label: 'Asom Gana Parishad (AGP)' },
86
- { value: 'independent', label: 'Independent candidate' },
87
- { value: 'none', label: 'No party affiliation' },
88
96
  { value: 'other', label: 'Other' },
89
97
  { value: 'prefer_not_to_say', label: 'Prefer not to say' },
90
98
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"02-political.js","sourceRoot":"","sources":["../../src/profile-fields/02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,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,2BAA2B,CAAC;YACzC,aAAa,EAAE;gBACb,KAAK,EAAE,sBAAsB;gBAC7B,KAAK,EAAE,CAAC,MAAM,EAAE,mBAAmB,CAAC;aACrC;SACF;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,wBAAwB;YAC7B,KAAK,EAAE,0BAA0B;YACjC,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,YAAY,CAAC;SAC3B;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,qBAAqB;YAC1B,KAAK,EAAE,uBAAuB;YAC9B,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,0BAA0B,CAAC;SACzC;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,0BAA0B;YAC/B,KAAK,EAAE,2BAA2B;YAClC,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,qDAAqD;SACnE;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,2BAA2B;YAChC,KAAK,EAAE,kBAAkB;YACzB,IAAI,EAAE,cAAc;YACpB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,sBAAsB,CAAC;SACrC;KACF;CACF,CAAC","sourcesContent":["import type { FieldGroup } from './types.js';\n\nexport const politicalSpectrumOptions = [\n {\n value: 'far_left',\n label: 'Far Left',\n description: 'Radical progressive — systemic change, social justice, anti-capitalist',\n },\n {\n value: 'left',\n label: 'Left',\n description: 'Progressive — strong social safety net, equality, regulation',\n },\n {\n value: 'centre_left',\n label: 'Centre-Left',\n description: 'Liberal — social freedoms, moderate reform, inclusive policies',\n },\n {\n value: 'centrist',\n label: 'Centrist',\n description: 'Pragmatic middle — picks issues over ideology, open to both sides',\n },\n {\n value: 'centre_right',\n label: 'Centre-Right',\n description:\n 'Moderate conservative — fiscal discipline, traditional institutions, gradual change',\n },\n {\n value: 'right',\n label: 'Right',\n description: 'Conservative — limited government, free markets, cultural tradition',\n },\n {\n value: 'far_right',\n label: 'Far Right',\n description: 'Nationalist — strong borders, traditional values, national identity first',\n },\n {\n value: 'libertarian',\n label: 'Libertarian',\n description: 'Maximum personal freedom — minimal government in both social and economic life',\n },\n {\n value: 'apolitical',\n label: 'Apolitical',\n description: 'Not interested in politics — focus on personal life',\n },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\n/**\n * Indian political parties — exhaustive list of nationally- or state-recognized\n * parties active as of 2026. Ordered roughly by national visibility; state /\n * regional parties follow. Includes post-2023 splits (NCP-SP, Shiv Sena UBT).\n */\nexport const partyOptions = [\n { value: 'bjp', label: 'BJP' },\n { value: 'inc', label: 'Indian National Congress (INC)' },\n { value: 'aap', label: 'Aam Aadmi Party (AAP)' },\n { value: 'bsp', label: 'Bahujan Samaj Party (BSP)' },\n { value: 'sp', label: 'Samajwadi Party (SP)' },\n { value: 'tmc', label: 'Trinamool Congress (TMC)' },\n { value: 'dmk', label: 'DMK' },\n { value: 'aiadmk', label: 'AIADMK' },\n { value: 'ncp', label: 'NCP (Ajit Pawar)' },\n { value: 'ncp_sp', label: 'NCP (Sharad Pawar)' },\n { value: 'shiv_sena', label: 'Shiv Sena (Shinde)' },\n { value: 'shiv_sena_ubt', label: 'Shiv Sena (UBT)' },\n { value: 'aimim', label: 'AIMIM' },\n { value: 'jdu', label: 'JD(U)' },\n { value: 'jds', label: 'JD(S)' },\n { value: 'rjd', label: 'RJD' },\n { value: 'cpim', label: 'CPI(M)' },\n { value: 'cpi', label: 'CPI' },\n { value: 'ysrcp', label: 'YSRCP' },\n { value: 'tdp', label: 'TDP' },\n { value: 'brs', label: 'BRS (Bharat Rashtra Samithi)' },\n { value: 'bjd', label: 'BJD' },\n { value: 'jmm', label: 'JMM' },\n { value: 'sad', label: 'Shiromani Akali Dal (SAD)' },\n { value: 'rld', label: 'Rashtriya Lok Dal (RLD)' },\n { value: 'aiudf', label: 'AIUDF' },\n { value: 'jkn', label: 'J&K National Conference' },\n { value: 'inld', label: 'Indian National Lok Dal (INLD)' },\n { value: 'iuml', label: 'Indian Union Muslim League (IUML)' },\n { value: 'mns', label: 'Maharashtra Navnirman Sena (MNS)' },\n { value: 'agp', label: 'Asom Gana Parishad (AGP)' },\n { value: 'independent', label: 'Independent candidate' },\n { value: 'none', label: 'No party affiliation' },\n { value: 'other', label: 'Other' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\n/**\n * Civic-engagement categories — expanded to cover organizational forms\n * common in Indian political/social life, including ideological networks\n * (RSS / Sangh), farmers' bodies, women's collectives, student unions,\n * and party youth wings.\n */\nexport const civicEngagementOptions = [\n { value: 'ngo', label: 'NGO / Non-profit' },\n { value: 'trade_union', label: 'Trade Union' },\n { value: 'farmers_organization', label: \"Farmers' Organization / Kisan Sangathan\" },\n { value: 'cooperative', label: 'Cooperative Society' },\n { value: 'resident_association', label: 'Resident Welfare Association' },\n { value: 'self_help_group', label: 'Self Help Group (SHG)' },\n { value: 'womens_collective', label: \"Women's Collective / Mahila Mandal\" },\n { value: 'youth_club', label: 'Youth Club' },\n { value: 'student_union', label: 'Student Union' },\n { value: 'political_party_youth_wing', label: 'Political Party Youth Wing (BJYM / IYC / etc.)' },\n { value: 'rss_swayamsevak', label: 'RSS / Swayamsevak (Sangh network)' },\n { value: 'religious_organization', label: 'Religious Organization' },\n { value: 'caste_association', label: 'Caste Association' },\n { value: 'professional_body', label: 'Professional Body' },\n { value: 'environmental_group', label: 'Environmental Group' },\n { value: 'cultural_association', label: 'Cultural Association' },\n { value: 'alumni_association', label: 'Alumni Association' },\n { value: 'none', label: 'None' },\n { value: 'other', label: 'Other' },\n] as const;\n\n/**\n * Nature of the respondent's association with their political party.\n * Differentiates card-carrying members from sympathizers and office-bearers.\n */\nexport const partyAssociationRoleOptions = [\n {\n value: 'member',\n label: 'Member',\n description: 'Primary / card-carrying member of the party',\n },\n {\n value: 'active_worker',\n label: 'Active Worker',\n description: 'Campaigning, organizing, and on-ground work',\n },\n {\n value: 'office_bearer',\n label: 'Office Bearer',\n description: 'Hold an official post in the party',\n },\n {\n value: 'candidate',\n label: 'Candidate',\n description: 'Contested or planning to contest on this party ticket',\n },\n {\n value: 'spokesperson',\n label: 'Spokesperson',\n description: 'Represent the party publicly or in media',\n },\n {\n value: 'volunteer',\n label: 'Volunteer',\n description: 'Occasional volunteer work without formal membership',\n },\n {\n value: 'sympathizer',\n label: 'Sympathizer',\n description: 'Support the party but no formal role',\n },\n { value: 'none', label: 'None', description: 'No formal association' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\n/**\n * Family / relatives in politics — captures intergenerational political\n * involvement that shapes political consciousness in India.\n */\nexport const relativesInPoliticsOptions = [\n { value: 'none', label: 'No one', description: 'No relatives are in politics' },\n {\n value: 'immediate_family',\n label: 'Immediate family',\n description: 'Parents, siblings, spouse, or children',\n },\n {\n value: 'extended_family',\n label: 'Extended family',\n description: 'Uncles, aunts, cousins, or in-laws',\n },\n { value: 'both', label: 'Both immediate and extended' },\n { value: 'dont_know', label: \"Don't know\" },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\n/**\n * Levels of elected / appointed office — used for both office held and\n * election contested, so the two use the same enum.\n */\nexport const officeElectionLevelOptions = [\n { value: 'panchayat', label: 'Panchayat / Gram' },\n { value: 'ward', label: 'Ward / Nagar Palika' },\n { value: 'municipality', label: 'Municipality' },\n { value: 'block', label: 'Block / Tehsil' },\n { value: 'district', label: 'District / Zila Parishad' },\n { value: 'assembly', label: 'State Assembly (MLA)' },\n { value: 'parliament', label: 'Parliament (MP)' },\n { value: 'other', label: 'Other' },\n] as const;\n\n/** Outcome of an election the respondent contested. */\nexport const electionResultOptions = [\n { value: 'won', label: 'Won' },\n { value: 'lost', label: 'Lost' },\n { value: 'withdrew', label: 'Withdrew before voting' },\n { value: 'ongoing', label: 'Currently contesting' },\n] as const;\n\nexport const politicalAssociation: FieldGroup = {\n key: 'political_association',\n label: 'Political Association & History',\n step: 2,\n description: 'Your political spectrum, party associations, and civic engagement.',\n fields: [\n {\n order: 1,\n key: 'politicalSpectrum',\n label: 'Political Spectrum',\n type: 'single_select',\n step: 2,\n isOnboarding: true,\n optional: true,\n options: [...politicalSpectrumOptions],\n },\n {\n order: 2,\n key: 'selfPartyAssociation',\n label: 'Your Party Association',\n type: 'single_select',\n step: 2,\n isOnboarding: true,\n optional: true,\n options: [...partyOptions],\n },\n {\n // Only ask about role if the respondent has a party association.\n order: 3,\n key: 'partyAssociationRole',\n label: 'Your Role in the Party',\n type: 'single_select',\n step: 2,\n isOnboarding: true,\n optional: true,\n options: [...partyAssociationRoleOptions],\n conditionalOn: {\n field: 'selfPartyAssociation',\n notIn: ['none', 'prefer_not_to_say'],\n },\n },\n {\n order: 4,\n key: 'familyPartyAssociation',\n label: 'Family Party Association',\n type: 'single_select',\n step: 2,\n isOnboarding: true,\n optional: true,\n options: [...partyOptions],\n },\n {\n order: 5,\n key: 'relativesInPolitics',\n label: 'Relatives in Politics',\n type: 'single_select',\n step: 2,\n isOnboarding: true,\n optional: true,\n options: [...relativesInPoliticsOptions],\n },\n {\n order: 6,\n key: 'publicOfficeAndElections',\n label: 'Public Office & Elections',\n type: 'object',\n step: 2,\n isOnboarding: true,\n optional: true,\n description: 'Have you held public office or contested elections?',\n },\n {\n order: 7,\n key: 'networkAndCivicEngagement',\n label: 'Civic Engagement',\n type: 'multi_select',\n step: 2,\n isOnboarding: true,\n optional: true,\n options: [...civicEngagementOptions],\n },\n ],\n};\n"]}
1
+ {"version":3,"file":"02-political.js","sourceRoot":"","sources":["../../src/profile-fields/02-political.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC;QACE,KAAK,EAAE,UAAU;QACjB,KAAK,EAAE,UAAU;QACjB,WAAW,EAAE,wEAAwE;KACtF;IACD;QACE,KAAK,EAAE,MAAM;QACb,KAAK,EAAE,MAAM;QACb,WAAW,EAAE,8DAA8D;KAC5E;IACD;QACE,KAAK,EAAE,aAAa;QACpB,KAAK,EAAE,aAAa;QACpB,WAAW,EAAE,gEAAgE;KAC9E;IACD;QACE,KAAK,EAAE,UAAU;QACjB,KAAK,EAAE,UAAU;QACjB,WAAW,EAAE,mEAAmE;KACjF;IACD;QACE,KAAK,EAAE,cAAc;QACrB,KAAK,EAAE,cAAc;QACrB,WAAW,EACT,qFAAqF;KACxF;IACD;QACE,KAAK,EAAE,OAAO;QACd,KAAK,EAAE,OAAO;QACd,WAAW,EAAE,qEAAqE;KACnF;IACD;QACE,KAAK,EAAE,WAAW;QAClB,KAAK,EAAE,WAAW;QAClB,WAAW,EAAE,2EAA2E;KACzF;IACD;QACE,KAAK,EAAE,aAAa;QACpB,KAAK,EAAE,aAAa;QACpB,WAAW,EAAE,gFAAgF;KAC9F;IACD;QACE,KAAK,EAAE,YAAY;QACnB,KAAK,EAAE,YAAY;QACnB,WAAW,EAAE,qDAAqD;KACnE;IACD,EAAE,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,mBAAmB,EAAE;CAClD,CAAC;AAEX;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,sBAAsB,EAAE;IAChD,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,uBAAuB,EAAE;IACxD,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE;IAC9B,EAAE,KAAK,EAAE,KAAK,EA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wB;YAC/B,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,2BAA2B,CAAC;YACzC,aAAa,EAAE;gBACb,KAAK,EAAE,sBAAsB;gBAC7B,KAAK,EAAE,CAAC,MAAM,EAAE,mBAAmB,CAAC;aACrC;SACF;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,wBAAwB;YAC7B,KAAK,EAAE,0BAA0B;YACjC,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,YAAY,CAAC;SAC3B;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,qBAAqB;YAC1B,KAAK,EAAE,uBAAuB;YAC9B,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,0BAA0B,CAAC;SACzC;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,0BAA0B;YAC/B,KAAK,EAAE,2BAA2B;YAClC,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,qDAAqD;SACnE;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,2BAA2B;YAChC,KAAK,EAAE,kBAAkB;YACzB,IAAI,EAAE,cAAc;YACpB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,sBAAsB,CAAC;SACrC;KACF;CACF,CAAC","sourcesContent":["import type { FieldGroup } from './types.js';\n\nexport const politicalSpectrumOptions = [\n {\n value: 'far_left',\n label: 'Far Left',\n description: 'Radical progressive — systemic change, social justice, anti-capitalist',\n },\n {\n value: 'left',\n label: 'Left',\n description: 'Progressive — strong social safety net, equality, regulation',\n },\n {\n value: 'centre_left',\n label: 'Centre-Left',\n description: 'Liberal — social freedoms, moderate reform, inclusive policies',\n },\n {\n value: 'centrist',\n label: 'Centrist',\n description: 'Pragmatic middle — picks issues over ideology, open to both sides',\n },\n {\n value: 'centre_right',\n label: 'Centre-Right',\n description:\n 'Moderate conservative — fiscal discipline, traditional institutions, gradual change',\n },\n {\n value: 'right',\n label: 'Right',\n description: 'Conservative — limited government, free markets, cultural tradition',\n },\n {\n value: 'far_right',\n label: 'Far Right',\n description: 'Nationalist — strong borders, traditional values, national identity first',\n },\n {\n value: 'libertarian',\n label: 'Libertarian',\n description: 'Maximum personal freedom — minimal government in both social and economic life',\n },\n {\n value: 'apolitical',\n label: 'Apolitical',\n description: 'Not interested in politics — focus on personal life',\n },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\n/**\n * Indian political parties — exhaustive list of nationally- or state-recognized\n * parties active as of 2026. Ordering rationale:\n * 1. `none` + `independent` are pinned to the top — they're the most-\n * common selections for users who don't identify with any party,\n * and surfacing them first reduces scroll for the majority case.\n * 2. National parties next (BJP, INC, AAP, BSP, SP, TMC), then state /\n * regional parties.\n * 3. `other` and `prefer_not_to_say` stay at the bottom (standard\n * \"escape hatch\" position).\n *\n * Includes post-2023 splits (NCP-SP, Shiv Sena UBT).\n */\nexport const partyOptions = [\n { value: 'none', label: 'No party affiliation' },\n { value: 'independent', label: 'Independent candidate' },\n { value: 'bjp', label: 'BJP' },\n { value: 'inc', label: 'Indian National Congress (INC)' },\n { value: 'aap', label: 'Aam Aadmi Party (AAP)' },\n { value: 'bsp', label: 'Bahujan Samaj Party (BSP)' },\n { value: 'sp', label: 'Samajwadi Party (SP)' },\n { value: 'tmc', label: 'Trinamool Congress (TMC)' },\n { value: 'dmk', label: 'DMK' },\n { value: 'aiadmk', label: 'AIADMK' },\n { value: 'ncp', label: 'NCP (Ajit Pawar)' },\n { value: 'ncp_sp', label: 'NCP (Sharad Pawar)' },\n { value: 'shiv_sena', label: 'Shiv Sena (Shinde)' },\n { value: 'shiv_sena_ubt', label: 'Shiv Sena (UBT)' },\n { value: 'aimim', label: 'AIMIM' },\n { value: 'jdu', label: 'JD(U)' },\n { value: 'jds', label: 'JD(S)' },\n { value: 'rjd', label: 'RJD' },\n { value: 'cpim', label: 'CPI(M)' },\n { value: 'cpi', label: 'CPI' },\n { value: 'ysrcp', label: 'YSRCP' },\n { value: 'tdp', label: 'TDP' },\n { value: 'brs', label: 'BRS (Bharat Rashtra Samithi)' },\n { value: 'bjd', label: 'BJD' },\n { value: 'jmm', label: 'JMM' },\n { value: 'sad', label: 'Shiromani Akali Dal (SAD)' },\n { value: 'rld', label: 'Rashtriya Lok Dal (RLD)' },\n { value: 'aiudf', label: 'AIUDF' },\n { value: 'jkn', label: 'J&K National Conference' },\n { value: 'inld', label: 'Indian National Lok Dal (INLD)' },\n { value: 'iuml', label: 'Indian Union Muslim League (IUML)' },\n { value: 'mns', label: 'Maharashtra Navnirman Sena (MNS)' },\n { value: 'agp', label: 'Asom Gana Parishad (AGP)' },\n { value: 'other', label: 'Other' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\n/**\n * Civic-engagement categories — expanded to cover organizational forms\n * common in Indian political/social life, including ideological networks\n * (RSS / Sangh), farmers' bodies, women's collectives, student unions,\n * and party youth wings.\n */\nexport const civicEngagementOptions = [\n { value: 'ngo', label: 'NGO / Non-profit' },\n { value: 'trade_union', label: 'Trade Union' },\n { value: 'farmers_organization', label: \"Farmers' Organization / Kisan Sangathan\" },\n { value: 'cooperative', label: 'Cooperative Society' },\n { value: 'resident_association', label: 'Resident Welfare Association' },\n { value: 'self_help_group', label: 'Self Help Group (SHG)' },\n { value: 'womens_collective', label: \"Women's Collective / Mahila Mandal\" },\n { value: 'youth_club', label: 'Youth Club' },\n { value: 'student_union', label: 'Student Union' },\n { value: 'political_party_youth_wing', label: 'Political Party Youth Wing (BJYM / IYC / etc.)' },\n { value: 'rss_swayamsevak', label: 'RSS / Swayamsevak (Sangh network)' },\n { value: 'religious_organization', label: 'Religious Organization' },\n { value: 'caste_association', label: 'Caste Association' },\n { value: 'professional_body', label: 'Professional Body' },\n { value: 'environmental_group', label: 'Environmental Group' },\n { value: 'cultural_association', label: 'Cultural Association' },\n { value: 'alumni_association', label: 'Alumni Association' },\n { value: 'none', label: 'None' },\n { value: 'other', label: 'Other' },\n] as const;\n\n/**\n * Nature of the respondent's association with their political party.\n * Differentiates card-carrying members from sympathizers and office-bearers.\n */\nexport const partyAssociationRoleOptions = [\n {\n value: 'member',\n label: 'Member',\n description: 'Primary / card-carrying member of the party',\n },\n {\n value: 'active_worker',\n label: 'Active Worker',\n description: 'Campaigning, organizing, and on-ground work',\n },\n {\n value: 'office_bearer',\n label: 'Office Bearer',\n description: 'Hold an official post in the party',\n },\n {\n value: 'candidate',\n label: 'Candidate',\n description: 'Contested or planning to contest on this party ticket',\n },\n {\n value: 'spokesperson',\n label: 'Spokesperson',\n description: 'Represent the party publicly or in media',\n },\n {\n value: 'volunteer',\n label: 'Volunteer',\n description: 'Occasional volunteer work without formal membership',\n },\n {\n value: 'sympathizer',\n label: 'Sympathizer',\n description: 'Support the party but no formal role',\n },\n { value: 'none', label: 'None', description: 'No formal association' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\n/**\n * Family / relatives in politics — captures intergenerational political\n * involvement that shapes political consciousness in India.\n */\nexport const relativesInPoliticsOptions = [\n { value: 'none', label: 'No one', description: 'No relatives are in politics' },\n {\n value: 'immediate_family',\n label: 'Immediate family',\n description: 'Parents, siblings, spouse, or children',\n },\n {\n value: 'extended_family',\n label: 'Extended family',\n description: 'Uncles, aunts, cousins, or in-laws',\n },\n { value: 'both', label: 'Both immediate and extended' },\n { value: 'dont_know', label: \"Don't know\" },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\n/**\n * Levels of elected / appointed office — used for both office held and\n * election contested, so the two use the same enum.\n */\nexport const officeElectionLevelOptions = [\n { value: 'panchayat', label: 'Panchayat / Gram' },\n { value: 'ward', label: 'Ward / Nagar Palika' },\n { value: 'municipality', label: 'Municipality' },\n { value: 'block', label: 'Block / Tehsil' },\n { value: 'district', label: 'District / Zila Parishad' },\n { value: 'assembly', label: 'State Assembly (MLA)' },\n { value: 'parliament', label: 'Parliament (MP)' },\n { value: 'other', label: 'Other' },\n] as const;\n\n/** Outcome of an election the respondent contested. */\nexport const electionResultOptions = [\n { value: 'won', label: 'Won' },\n { value: 'lost', label: 'Lost' },\n { value: 'withdrew', label: 'Withdrew before voting' },\n { value: 'ongoing', label: 'Currently contesting' },\n] as const;\n\nexport const politicalAssociation: FieldGroup = {\n key: 'political_association',\n label: 'Political Association & History',\n step: 2,\n description: 'Your political spectrum, party associations, and civic engagement.',\n fields: [\n {\n order: 1,\n key: 'politicalSpectrum',\n label: 'Political Spectrum',\n type: 'single_select',\n step: 2,\n isOnboarding: true,\n optional: true,\n options: [...politicalSpectrumOptions],\n },\n {\n order: 2,\n key: 'selfPartyAssociation',\n label: 'Your Party Association',\n type: 'single_select',\n step: 2,\n isOnboarding: true,\n optional: true,\n options: [...partyOptions],\n },\n {\n // Only ask about role if the respondent has a party association.\n order: 3,\n key: 'partyAssociationRole',\n label: 'Your Role in the Party',\n type: 'single_select',\n step: 2,\n isOnboarding: true,\n optional: true,\n options: [...partyAssociationRoleOptions],\n conditionalOn: {\n field: 'selfPartyAssociation',\n notIn: ['none', 'prefer_not_to_say'],\n },\n },\n {\n order: 4,\n key: 'familyPartyAssociation',\n label: 'Family Party Association',\n type: 'single_select',\n step: 2,\n isOnboarding: true,\n optional: true,\n options: [...partyOptions],\n },\n {\n order: 5,\n key: 'relativesInPolitics',\n label: 'Relatives in Politics',\n type: 'single_select',\n step: 2,\n isOnboarding: true,\n optional: true,\n options: [...relativesInPoliticsOptions],\n },\n {\n order: 6,\n key: 'publicOfficeAndElections',\n label: 'Public Office & Elections',\n type: 'object',\n step: 2,\n isOnboarding: true,\n optional: true,\n description: 'Have you held public office or contested elections?',\n },\n {\n order: 7,\n key: 'networkAndCivicEngagement',\n label: 'Civic Engagement',\n type: 'multi_select',\n step: 2,\n isOnboarding: true,\n optional: true,\n options: [...civicEngagementOptions],\n },\n ],\n};\n"]}
@@ -141,5 +141,47 @@ export declare const votingIssueOptions: readonly [{
141
141
  readonly value: "other";
142
142
  readonly label: "Other";
143
143
  }];
144
+ export declare const willVoteOptions: readonly [{
145
+ readonly value: "yes";
146
+ readonly label: "Yes";
147
+ }, {
148
+ readonly value: "no";
149
+ readonly label: "No";
150
+ }, {
151
+ readonly value: "maybe";
152
+ readonly label: "Maybe";
153
+ }, {
154
+ readonly value: "prefer_not_to_say";
155
+ readonly label: "Prefer not to say";
156
+ }];
157
+ export declare const yesNoPreferOptions: readonly [{
158
+ readonly value: "yes";
159
+ readonly label: "Yes";
160
+ }, {
161
+ readonly value: "no";
162
+ readonly label: "No";
163
+ }, {
164
+ readonly value: "prefer_not_to_say";
165
+ readonly label: "Prefer not to say";
166
+ }];
167
+ export declare const votingFrequencyOptions: readonly [{
168
+ readonly value: "every_election";
169
+ readonly label: "Every election";
170
+ }, {
171
+ readonly value: "most_elections";
172
+ readonly label: "Most elections";
173
+ }, {
174
+ readonly value: "sometimes";
175
+ readonly label: "Sometimes";
176
+ }, {
177
+ readonly value: "rarely";
178
+ readonly label: "Rarely";
179
+ }, {
180
+ readonly value: "never";
181
+ readonly label: "Never";
182
+ }, {
183
+ readonly value: "first_time_voter";
184
+ readonly label: "First-time voter";
185
+ }];
144
186
  export declare const electoralBehaviour: FieldGroup;
145
187
  //# sourceMappingURL=03-electoral.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"03-electoral.d.ts","sourceRoot":"","sources":["../../src/profile-fields/03-electoral.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8DrB,CAAC;AAEX,eAAO,MAAM,kBAAkB,EAAE,UAyEhC,CAAC"}
1
+ {"version":3,"file":"03-electoral.d.ts","sourceRoot":"","sources":["../../src/profile-fields/03-electoral.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8DrB,CAAC;AAEX,eAAO,MAAM,eAAe;;;;;;;;;;;;EAKlB,CAAC;AAEX,eAAO,MAAM,kBAAkB;;;;;;;;;EAIrB,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;EAOzB,CAAC;AAEX,eAAO,MAAM,kBAAkB,EAAE,UAyDhC,CAAC"}
@@ -59,6 +59,25 @@ export const votingIssueOptions = [
59
59
  { value: 'local_issues', label: 'Local / Constituency Issues' },
60
60
  { value: 'other', label: 'Other' },
61
61
  ];
62
+ export const willVoteOptions = [
63
+ { value: 'yes', label: 'Yes' },
64
+ { value: 'no', label: 'No' },
65
+ { value: 'maybe', label: 'Maybe' },
66
+ { value: 'prefer_not_to_say', label: 'Prefer not to say' },
67
+ ];
68
+ export const yesNoPreferOptions = [
69
+ { value: 'yes', label: 'Yes' },
70
+ { value: 'no', label: 'No' },
71
+ { value: 'prefer_not_to_say', label: 'Prefer not to say' },
72
+ ];
73
+ export const votingFrequencyOptions = [
74
+ { value: 'every_election', label: 'Every election' },
75
+ { value: 'most_elections', label: 'Most elections' },
76
+ { value: 'sometimes', label: 'Sometimes' },
77
+ { value: 'rarely', label: 'Rarely' },
78
+ { value: 'never', label: 'Never' },
79
+ { value: 'first_time_voter', label: 'First-time voter' },
80
+ ];
62
81
  export const electoralBehaviour = {
63
82
  key: 'electoral_behaviour',
64
83
  label: 'Electoral Behaviour',
@@ -83,12 +102,7 @@ export const electoralBehaviour = {
83
102
  step: 3,
84
103
  isOnboarding: true,
85
104
  optional: true,
86
- options: [
87
- { value: 'yes', label: 'Yes' },
88
- { value: 'no', label: 'No' },
89
- { value: 'maybe', label: 'Maybe' },
90
- { value: 'prefer_not_to_say', label: 'Prefer not to say' },
91
- ],
105
+ options: [...willVoteOptions],
92
106
  },
93
107
  {
94
108
  order: 3,
@@ -98,11 +112,7 @@ export const electoralBehaviour = {
98
112
  step: 3,
99
113
  isOnboarding: true,
100
114
  optional: true,
101
- options: [
102
- { value: 'yes', label: 'Yes' },
103
- { value: 'no', label: 'No' },
104
- { value: 'prefer_not_to_say', label: 'Prefer not to say' },
105
- ],
115
+ options: [...yesNoPreferOptions],
106
116
  },
107
117
  {
108
118
  order: 4,
@@ -112,14 +122,7 @@ export const electoralBehaviour = {
112
122
  step: 3,
113
123
  isOnboarding: true,
114
124
  optional: true,
115
- options: [
116
- { value: 'every_election', label: 'Every election' },
117
- { value: 'most_elections', label: 'Most elections' },
118
- { value: 'sometimes', label: 'Sometimes' },
119
- { value: 'rarely', label: 'Rarely' },
120
- { value: 'never', label: 'Never' },
121
- { value: 'first_time_voter', label: 'First-time voter' },
122
- ],
125
+ options: [...votingFrequencyOptions],
123
126
  },
124
127
  {
125
128
  order: 5,
@@ -1 +1 @@
1
- {"version":3,"file":"03-electoral.js","sourceRoot":"","sources":["../../src/profile-fields/03-electoral.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IACh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YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,kBAAkB,CAAC;SACjC;KACF;CACF,CAAC","sourcesContent":["import type { FieldGroup } from './types.js';\n\n/**\n * Primary voting issues — exhaustive list of issues that shape voting\n * decisions in Indian elections. Grouped below by theme (economic,\n * social, governance, identity, environment, development) but kept flat\n * in the exported array so they can be multi-selected freely.\n */\nexport const votingIssueOptions = [\n // ── Economic ──\n { value: 'economy', label: 'Economy & Jobs' },\n { value: 'unemployment', label: 'Unemployment' },\n { value: 'inflation', label: 'Inflation / Cost of Living' },\n { value: 'farmer_issues', label: 'Farmer Issues / MSP' },\n { value: 'labour_wages', label: 'Labour Rights & Wages' },\n { value: 'poverty', label: 'Poverty Alleviation' },\n { value: 'business_msme', label: 'Business / MSME Development' },\n { value: 'tax_policy', label: 'Tax Policy' },\n\n // ── Social services & welfare ──\n { value: 'healthcare', label: 'Healthcare' },\n { value: 'education', label: 'Education' },\n { value: 'housing', label: 'Housing & Shelter' },\n { value: 'welfare_schemes', label: 'Welfare Schemes (PDS, MGNREGA, PMAY)' },\n { value: 'pension_social_security', label: 'Pension & Social Security' },\n\n // ── Infrastructure ──\n { value: 'infrastructure', label: 'Roads, Bridges & Infrastructure' },\n { value: 'water_sanitation', label: 'Water & Sanitation' },\n { value: 'electricity', label: 'Electricity / Power Supply' },\n { value: 'public_transport', label: 'Public Transport' },\n { value: 'digital_infrastructure', label: 'Digital & Internet Access' },\n\n // ── Social issues ──\n { value: 'womens_safety', label: \"Women's Safety\" },\n { value: 'womens_rights', label: \"Women's Rights & Empowerment\" },\n { value: 'caste_issues', label: 'Caste & Reservation' },\n { value: 'religious_issues', label: 'Religion & Secularism' },\n { value: 'minority_rights', label: 'Minority Rights' },\n { value: 'lgbtq_rights', label: 'LGBTQ+ Rights' },\n { value: 'tribal_rights', label: 'Tribal / Adivasi Rights' },\n\n // ── Governance ──\n { value: 'corruption', label: 'Corruption' },\n { value: 'law_order', label: 'Law & Order' },\n { value: 'judicial_reform', label: 'Judicial Reform' },\n { value: 'bureaucratic_reform', label: 'Bureaucratic Reform / Red Tape' },\n { value: 'electoral_reform', label: 'Electoral Reform' },\n\n // ── National / identity ──\n { value: 'national_security', label: 'National Security / Defence' },\n { value: 'foreign_policy', label: 'Foreign Policy' },\n { value: 'nationalism', label: 'Nationalism / Cultural Identity' },\n { value: 'citizenship_caa_nrc', label: 'Citizenship (CAA / NRC)' },\n { value: 'border_security', label: 'Border Security / Terrorism' },\n { value: 'uniform_civil_code', label: 'Uniform Civil Code' },\n\n // ── Environment ──\n { value: 'environment', label: 'Environment & Climate' },\n { value: 'pollution', label: 'Air & Water Pollution' },\n { value: 'renewable_energy', label: 'Renewable Energy' },\n\n // ── Development ──\n { value: 'urban_development', label: 'Urban Development / Smart Cities' },\n { value: 'rural_development', label: 'Rural Development' },\n { value: 'youth_issues', label: 'Youth Issues & Aspirations' },\n { value: 'drug_abuse', label: 'Drug Abuse & Trafficking' },\n { value: 'local_issues', label: 'Local / Constituency Issues' },\n\n { value: 'other', label: 'Other' },\n] as const;\n\nexport const electoralBehaviour: FieldGroup = {\n key: 'electoral_behaviour',\n label: 'Electoral Behaviour',\n step: 3,\n description: 'Your voter ID, voting history, and the issues that matter to you.',\n fields: [\n {\n order: 1,\n key: 'epicNumber',\n label: 'Voter ID (EPIC)',\n type: 'text',\n step: 3,\n isOnboarding: true,\n optional: true,\n maxLength: 20,\n },\n {\n order: 2,\n key: 'willVoteThisTime',\n label: 'Will Vote This Time',\n type: 'single_select',\n step: 3,\n isOnboarding: true,\n optional: true,\n options: [\n { value: 'yes', label: 'Yes' },\n { value: 'no', label: 'No' },\n { value: 'maybe', label: 'Maybe' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n ],\n },\n {\n order: 3,\n key: 'didVoteLastTime',\n label: 'Voted Last Time',\n type: 'single_select',\n step: 3,\n isOnboarding: true,\n optional: true,\n options: [\n { value: 'yes', label: 'Yes' },\n { value: 'no', label: 'No' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n ],\n },\n {\n order: 4,\n key: 'votingFrequency',\n label: 'Voting Frequency',\n type: 'single_select',\n step: 3,\n isOnboarding: true,\n optional: true,\n options: [\n { value: 'every_election', label: 'Every election' },\n { value: 'most_elections', label: 'Most elections' },\n { value: 'sometimes', label: 'Sometimes' },\n { value: 'rarely', label: 'Rarely' },\n { value: 'never', label: 'Never' },\n { value: 'first_time_voter', label: 'First-time voter' },\n ],\n },\n {\n order: 5,\n key: 'primaryVotingIssues',\n label: 'Primary Voting Issues',\n type: 'multi_select',\n step: 3,\n isOnboarding: true,\n optional: true,\n options: [...votingIssueOptions],\n },\n ],\n};\n"]}
1
+ {"version":3,"file":"03-electoral.js","sourceRoot":"","sources":["../../src/profile-fields/03-electoral.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,iBAAiB;IACjB,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,gBAAgB,EAAE;IAC7C,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,cAAc,EAAE;IAChD,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,4BAA4B,EAAE;IAC3D,EAAE,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,qBAAqB,EAAE;IACxD,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,uBAAuB,EAAE;IACzD,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,qBAAqB,EAAE;IAClD,EAAE,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,6BAA6B,EAAE;IAChE,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE;IAE5C,kCAAkC;IAClC,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE;IAC5C,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,EAAE;IAC1C,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,GAAG,EAAE,kBAAkB;YACvB,KAAK,EAAE,qBAAqB;YAC5B,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,eAAe,CAAC;SAC9B;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,iBAAiB;YACtB,KAAK,EAAE,iBAAiB;YACxB,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,kBAAkB,CAAC;SACjC;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,iBAAiB;YACtB,KAAK,EAAE,kBAAkB;YACzB,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,sBAAsB,CAAC;SACrC;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,qBAAqB;YAC1B,KAAK,EAAE,uBAAuB;YAC9B,IAAI,EAAE,cAAc;YACpB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,kBAAkB,CAAC;SACjC;KACF;CACF,CAAC","sourcesContent":["import type { FieldGroup } from './types.js';\n\n/**\n * Primary voting issues — exhaustive list of issues that shape voting\n * decisions in Indian elections. Grouped below by theme (economic,\n * social, governance, identity, environment, development) but kept flat\n * in the exported array so they can be multi-selected freely.\n */\nexport const votingIssueOptions = [\n // ── Economic ──\n { value: 'economy', label: 'Economy & Jobs' },\n { value: 'unemployment', label: 'Unemployment' },\n { value: 'inflation', label: 'Inflation / Cost of Living' },\n { value: 'farmer_issues', label: 'Farmer Issues / MSP' },\n { value: 'labour_wages', label: 'Labour Rights & Wages' },\n { value: 'poverty', label: 'Poverty Alleviation' },\n { value: 'business_msme', label: 'Business / MSME Development' },\n { value: 'tax_policy', label: 'Tax Policy' },\n\n // ── Social services & welfare ──\n { value: 'healthcare', label: 'Healthcare' },\n { value: 'education', label: 'Education' },\n { value: 'housing', label: 'Housing & Shelter' },\n { value: 'welfare_schemes', label: 'Welfare Schemes (PDS, MGNREGA, PMAY)' },\n { value: 'pension_social_security', label: 'Pension & Social Security' },\n\n // ── Infrastructure ──\n { value: 'infrastructure', label: 'Roads, Bridges & Infrastructure' },\n { value: 'water_sanitation', label: 'Water & Sanitation' },\n { value: 'electricity', label: 'Electricity / Power Supply' },\n { value: 'public_transport', label: 'Public Transport' },\n { value: 'digital_infrastructure', label: 'Digital & Internet Access' },\n\n // ── Social issues ──\n { value: 'womens_safety', label: \"Women's Safety\" },\n { value: 'womens_rights', label: \"Women's Rights & Empowerment\" },\n { value: 'caste_issues', label: 'Caste & Reservation' },\n { value: 'religious_issues', label: 'Religion & Secularism' },\n { value: 'minority_rights', label: 'Minority Rights' },\n { value: 'lgbtq_rights', label: 'LGBTQ+ Rights' },\n { value: 'tribal_rights', label: 'Tribal / Adivasi Rights' },\n\n // ── Governance ──\n { value: 'corruption', label: 'Corruption' },\n { value: 'law_order', label: 'Law & Order' },\n { value: 'judicial_reform', label: 'Judicial Reform' },\n { value: 'bureaucratic_reform', label: 'Bureaucratic Reform / Red Tape' },\n { value: 'electoral_reform', label: 'Electoral Reform' },\n\n // ── National / identity ──\n { value: 'national_security', label: 'National Security / Defence' },\n { value: 'foreign_policy', label: 'Foreign Policy' },\n { value: 'nationalism', label: 'Nationalism / Cultural Identity' },\n { value: 'citizenship_caa_nrc', label: 'Citizenship (CAA / NRC)' },\n { value: 'border_security', label: 'Border Security / Terrorism' },\n { value: 'uniform_civil_code', label: 'Uniform Civil Code' },\n\n // ── Environment ──\n { value: 'environment', label: 'Environment & Climate' },\n { value: 'pollution', label: 'Air & Water Pollution' },\n { value: 'renewable_energy', label: 'Renewable Energy' },\n\n // ── Development ──\n { value: 'urban_development', label: 'Urban Development / Smart Cities' },\n { value: 'rural_development', label: 'Rural Development' },\n { value: 'youth_issues', label: 'Youth Issues & Aspirations' },\n { value: 'drug_abuse', label: 'Drug Abuse & Trafficking' },\n { value: 'local_issues', label: 'Local / Constituency Issues' },\n\n { value: 'other', label: 'Other' },\n] as const;\n\nexport const willVoteOptions = [\n { value: 'yes', label: 'Yes' },\n { value: 'no', label: 'No' },\n { value: 'maybe', label: 'Maybe' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const yesNoPreferOptions = [\n { value: 'yes', label: 'Yes' },\n { value: 'no', label: 'No' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const votingFrequencyOptions = [\n { value: 'every_election', label: 'Every election' },\n { value: 'most_elections', label: 'Most elections' },\n { value: 'sometimes', label: 'Sometimes' },\n { value: 'rarely', label: 'Rarely' },\n { value: 'never', label: 'Never' },\n { value: 'first_time_voter', label: 'First-time voter' },\n] as const;\n\nexport const electoralBehaviour: FieldGroup = {\n key: 'electoral_behaviour',\n label: 'Electoral Behaviour',\n step: 3,\n description: 'Your voter ID, voting history, and the issues that matter to you.',\n fields: [\n {\n order: 1,\n key: 'epicNumber',\n label: 'Voter ID (EPIC)',\n type: 'text',\n step: 3,\n isOnboarding: true,\n optional: true,\n maxLength: 20,\n },\n {\n order: 2,\n key: 'willVoteThisTime',\n label: 'Will Vote This Time',\n type: 'single_select',\n step: 3,\n isOnboarding: true,\n optional: true,\n options: [...willVoteOptions],\n },\n {\n order: 3,\n key: 'didVoteLastTime',\n label: 'Voted Last Time',\n type: 'single_select',\n step: 3,\n isOnboarding: true,\n optional: true,\n options: [...yesNoPreferOptions],\n },\n {\n order: 4,\n key: 'votingFrequency',\n label: 'Voting Frequency',\n type: 'single_select',\n step: 3,\n isOnboarding: true,\n optional: true,\n options: [...votingFrequencyOptions],\n },\n {\n order: 5,\n key: 'primaryVotingIssues',\n label: 'Primary Voting Issues',\n type: 'multi_select',\n step: 3,\n isOnboarding: true,\n optional: true,\n options: [...votingIssueOptions],\n },\n ],\n};\n"]}
@@ -229,5 +229,79 @@ export declare const leadershipSkillsetOptions: readonly [{
229
229
  readonly value: "crisis_management";
230
230
  readonly label: "Crisis Management";
231
231
  }];
232
+ export declare const participateOptions: readonly [{
233
+ readonly value: "yes_definitely";
234
+ readonly label: "Yes, definitely!";
235
+ }, {
236
+ readonly value: "maybe";
237
+ readonly label: "Maybe";
238
+ }, {
239
+ readonly value: "not_sure";
240
+ readonly label: "Not sure yet";
241
+ }, {
242
+ readonly value: "no";
243
+ readonly label: "No";
244
+ }];
245
+ export declare const politicalExposureOptions: readonly [{
246
+ readonly value: "none";
247
+ readonly label: "None";
248
+ }, {
249
+ readonly value: "minimal";
250
+ readonly label: "Minimal";
251
+ }, {
252
+ readonly value: "moderate";
253
+ readonly label: "Moderate";
254
+ }, {
255
+ readonly value: "high";
256
+ readonly label: "High";
257
+ }, {
258
+ readonly value: "very_high";
259
+ readonly label: "Very High";
260
+ }];
261
+ export declare const comfortWithVisibilityOptions: readonly [{
262
+ readonly value: "very_comfortable";
263
+ readonly label: "Very comfortable";
264
+ }, {
265
+ readonly value: "somewhat";
266
+ readonly label: "Somewhat";
267
+ }, {
268
+ readonly value: "prefer_behind_scenes";
269
+ readonly label: "Prefer behind the scenes";
270
+ }, {
271
+ readonly value: "not_comfortable";
272
+ readonly label: "Not comfortable";
273
+ }];
274
+ export declare const socialInfluenceOptions: readonly [{
275
+ readonly value: "very_influential";
276
+ readonly label: "Very influential";
277
+ }, {
278
+ readonly value: "somewhat";
279
+ readonly label: "Somewhat";
280
+ }, {
281
+ readonly value: "average";
282
+ readonly label: "Average";
283
+ }, {
284
+ readonly value: "low";
285
+ readonly label: "Low";
286
+ }, {
287
+ readonly value: "not_sure";
288
+ readonly label: "Not sure";
289
+ }];
290
+ export declare const pastExperienceOptions: readonly [{
291
+ readonly value: "yes_party_work";
292
+ readonly label: "Yes — Party work";
293
+ }, {
294
+ readonly value: "yes_social_work";
295
+ readonly label: "Yes — Social work / NGO";
296
+ }, {
297
+ readonly value: "yes_student_politics";
298
+ readonly label: "Yes — Student politics";
299
+ }, {
300
+ readonly value: "no_experience";
301
+ readonly label: "No experience";
302
+ }, {
303
+ readonly value: "other";
304
+ readonly label: "Other";
305
+ }];
232
306
  export declare const leadershipAmbitions: FieldGroup;
233
307
  //# sourceMappingURL=04-leadership.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"04-leadership.d.ts","sourceRoot":"","sources":["../../src/profile-fields/04-leadership.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C;;;;;GAKG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiDlC,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqD5B,CAAC;AAEX,eAAO,MAAM,mBAAmB,EAAE,UAmHjC,CAAC"}
1
+ {"version":3,"file":"04-leadership.d.ts","sourceRoot":"","sources":["../../src/profile-fields/04-leadership.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C;;;;;GAKG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiDlC,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqD5B,CAAC;AAEX,eAAO,MAAM,kBAAkB;;;;;;;;;;;;EAKrB,CAAC;AAEX,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;EAM3B,CAAC;AAEX,eAAO,MAAM,4BAA4B;;;;;;;;;;;;EAK/B,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;EAMzB,CAAC;AAEX,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;EAMxB,CAAC;AAEX,eAAO,MAAM,mBAAmB,EAAE,UAuFjC,CAAC"}
@@ -101,6 +101,39 @@ export const leadershipSkillsetOptions = [
101
101
  { value: 'voter_registration_drives', label: 'Voter Registration Drives' },
102
102
  { value: 'crisis_management', label: 'Crisis Management' },
103
103
  ];
104
+ export const participateOptions = [
105
+ { value: 'yes_definitely', label: 'Yes, definitely!' },
106
+ { value: 'maybe', label: 'Maybe' },
107
+ { value: 'not_sure', label: 'Not sure yet' },
108
+ { value: 'no', label: 'No' },
109
+ ];
110
+ export const politicalExposureOptions = [
111
+ { value: 'none', label: 'None' },
112
+ { value: 'minimal', label: 'Minimal' },
113
+ { value: 'moderate', label: 'Moderate' },
114
+ { value: 'high', label: 'High' },
115
+ { value: 'very_high', label: 'Very High' },
116
+ ];
117
+ export const comfortWithVisibilityOptions = [
118
+ { value: 'very_comfortable', label: 'Very comfortable' },
119
+ { value: 'somewhat', label: 'Somewhat' },
120
+ { value: 'prefer_behind_scenes', label: 'Prefer behind the scenes' },
121
+ { value: 'not_comfortable', label: 'Not comfortable' },
122
+ ];
123
+ export const socialInfluenceOptions = [
124
+ { value: 'very_influential', label: 'Very influential' },
125
+ { value: 'somewhat', label: 'Somewhat' },
126
+ { value: 'average', label: 'Average' },
127
+ { value: 'low', label: 'Low' },
128
+ { value: 'not_sure', label: 'Not sure' },
129
+ ];
130
+ export const pastExperienceOptions = [
131
+ { value: 'yes_party_work', label: 'Yes — Party work' },
132
+ { value: 'yes_social_work', label: 'Yes — Social work / NGO' },
133
+ { value: 'yes_student_politics', label: 'Yes — Student politics' },
134
+ { value: 'no_experience', label: 'No experience' },
135
+ { value: 'other', label: 'Other' },
136
+ ];
104
137
  export const leadershipAmbitions = {
105
138
  key: 'leadership_ambitions',
106
139
  label: 'Leadership & Ambitions',
@@ -115,12 +148,7 @@ export const leadershipAmbitions = {
115
148
  step: 4,
116
149
  isOnboarding: true,
117
150
  optional: true,
118
- options: [
119
- { value: 'yes_definitely', label: 'Yes, definitely!' },
120
- { value: 'maybe', label: 'Maybe' },
121
- { value: 'not_sure', label: 'Not sure yet' },
122
- { value: 'no', label: 'No' },
123
- ],
151
+ options: [...participateOptions],
124
152
  },
125
153
  {
126
154
  order: 2,
@@ -150,13 +178,7 @@ export const leadershipAmbitions = {
150
178
  step: 4,
151
179
  isOnboarding: true,
152
180
  optional: true,
153
- options: [
154
- { value: 'none', label: 'None' },
155
- { value: 'minimal', label: 'Minimal' },
156
- { value: 'moderate', label: 'Moderate' },
157
- { value: 'high', label: 'High' },
158
- { value: 'very_high', label: 'Very High' },
159
- ],
181
+ options: [...politicalExposureOptions],
160
182
  },
161
183
  {
162
184
  order: 5,
@@ -166,12 +188,7 @@ export const leadershipAmbitions = {
166
188
  step: 4,
167
189
  isOnboarding: true,
168
190
  optional: true,
169
- options: [
170
- { value: 'very_comfortable', label: 'Very comfortable' },
171
- { value: 'somewhat', label: 'Somewhat' },
172
- { value: 'prefer_behind_scenes', label: 'Prefer behind the scenes' },
173
- { value: 'not_comfortable', label: 'Not comfortable' },
174
- ],
191
+ options: [...comfortWithVisibilityOptions],
175
192
  },
176
193
  {
177
194
  order: 6,
@@ -181,13 +198,7 @@ export const leadershipAmbitions = {
181
198
  step: 4,
182
199
  isOnboarding: true,
183
200
  optional: true,
184
- options: [
185
- { value: 'very_influential', label: 'Very influential' },
186
- { value: 'somewhat', label: 'Somewhat' },
187
- { value: 'average', label: 'Average' },
188
- { value: 'low', label: 'Low' },
189
- { value: 'not_sure', label: 'Not sure' },
190
- ],
201
+ options: [...socialInfluenceOptions],
191
202
  },
192
203
  {
193
204
  order: 7,
@@ -197,13 +208,7 @@ export const leadershipAmbitions = {
197
208
  step: 4,
198
209
  isOnboarding: true,
199
210
  optional: true,
200
- options: [
201
- { value: 'yes_party_work', label: 'Yes — Party work' },
202
- { value: 'yes_social_work', label: 'Yes — Social work / NGO' },
203
- { value: 'yes_student_politics', label: 'Yes — Student politics' },
204
- { value: 'no_experience', label: 'No experience' },
205
- { value: 'other', label: 'Other' },
206
- ],
211
+ options: [...pastExperienceOptions],
207
212
  },
208
213
  {
209
214
  order: 8,