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