udp-schema 1.1.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/dist/helpers.d.ts +33 -0
  2. package/dist/helpers.d.ts.map +1 -0
  3. package/dist/helpers.js +60 -0
  4. package/dist/helpers.js.map +1 -0
  5. package/dist/index.d.ts +16 -4
  6. package/dist/index.d.ts.map +1 -1
  7. package/dist/index.js +21 -7
  8. package/dist/index.js.map +1 -1
  9. package/dist/onboarding-form.d.ts +485 -0
  10. package/dist/onboarding-form.d.ts.map +1 -0
  11. package/dist/onboarding-form.js +69 -0
  12. package/dist/onboarding-form.js.map +1 -0
  13. package/dist/profile-fields/01-profile.d.ts.map +1 -1
  14. package/dist/profile-fields/01-profile.js +168 -23
  15. package/dist/profile-fields/01-profile.js.map +1 -1
  16. package/dist/profile-fields/02-political.d.ts.map +1 -1
  17. package/dist/profile-fields/02-political.js +119 -28
  18. package/dist/profile-fields/02-political.js.map +1 -1
  19. package/dist/profile-fields/03-electoral.d.ts.map +1 -1
  20. package/dist/profile-fields/03-electoral.js +83 -13
  21. package/dist/profile-fields/03-electoral.js.map +1 -1
  22. package/dist/profile-fields/04-leadership.d.ts.map +1 -1
  23. package/dist/profile-fields/04-leadership.js +131 -14
  24. package/dist/profile-fields/04-leadership.js.map +1 -1
  25. package/dist/profile-fields/05-psychological.d.ts.map +1 -1
  26. package/dist/profile-fields/05-psychological.js +41 -12
  27. package/dist/profile-fields/05-psychological.js.map +1 -1
  28. package/dist/profile-fields/06-education.d.ts.map +1 -1
  29. package/dist/profile-fields/06-education.js +128 -15
  30. package/dist/profile-fields/06-education.js.map +1 -1
  31. package/dist/profile-fields/07-employment.d.ts.map +1 -1
  32. package/dist/profile-fields/07-employment.js +99 -19
  33. package/dist/profile-fields/07-employment.js.map +1 -1
  34. package/dist/profile-fields/08-neurodiversity.d.ts.map +1 -1
  35. package/dist/profile-fields/08-neurodiversity.js +128 -21
  36. package/dist/profile-fields/08-neurodiversity.js.map +1 -1
  37. package/dist/profile-fields/09-health.d.ts.map +1 -1
  38. package/dist/profile-fields/09-health.js +141 -19
  39. package/dist/profile-fields/09-health.js.map +1 -1
  40. package/dist/profile-fields/10-worldview.d.ts.map +1 -1
  41. package/dist/profile-fields/10-worldview.js +112 -13
  42. package/dist/profile-fields/10-worldview.js.map +1 -1
  43. package/dist/profile-fields/11-residence.d.ts.map +1 -1
  44. package/dist/profile-fields/11-residence.js +39 -5
  45. package/dist/profile-fields/11-residence.js.map +1 -1
  46. package/dist/profile-fields/12-household.d.ts.map +1 -1
  47. package/dist/profile-fields/12-household.js +175 -25
  48. package/dist/profile-fields/12-household.js.map +1 -1
  49. package/dist/profile-fields/index.d.ts +8 -8
  50. package/dist/profile-fields/index.d.ts.map +1 -1
  51. package/dist/profile-fields/index.js +8 -8
  52. package/dist/profile-fields/index.js.map +1 -1
  53. package/dist/validation.d.ts +18 -0
  54. package/dist/validation.d.ts.map +1 -0
  55. package/dist/validation.js +186 -0
  56. package/dist/validation.js.map +1 -0
  57. package/package.json +1 -1
@@ -9,12 +9,28 @@ export const genderOptions = [
9
9
  { value: 'man', label: 'Man' },
10
10
  { value: 'woman', label: 'Woman' },
11
11
  { value: 'non_binary', label: 'Non-binary', description: 'Neither exclusively male nor female' },
12
- { value: 'transgender_man', label: 'Transgender Man', description: 'Assigned female at birth, identifies as male' },
13
- { value: 'transgender_woman', label: 'Transgender Woman', description: 'Assigned male at birth, identifies as female' },
14
- { value: 'genderqueer', label: 'Genderqueer', description: 'Outside the traditional gender binary' },
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
+ },
15
27
  { value: 'genderfluid', label: 'Genderfluid', description: 'Gender identity shifts over time' },
16
28
  { value: 'agender', label: 'Agender', description: 'No specific gender identity' },
17
- { value: 'two_spirit', label: 'Two-Spirit', description: 'Indigenous identity encompassing multiple genders' },
29
+ {
30
+ value: 'two_spirit',
31
+ label: 'Two-Spirit',
32
+ description: 'Indigenous identity encompassing multiple genders',
33
+ },
18
34
  { value: 'other', label: 'Other' },
19
35
  { value: 'prefer_not_to_say', label: 'Prefer not to say' },
20
36
  ];
@@ -24,21 +40,49 @@ export const religionOptions = [
24
40
  { value: 'muslim_shia', label: 'Muslim (Shia)', description: 'Second-largest branch of Islam' },
25
41
  { value: 'muslim_sufi', label: 'Muslim (Sufi)', description: 'Mystical Islamic tradition' },
26
42
  { value: 'muslim_other', label: 'Muslim (Other)', description: 'Ahmadiyya or other traditions' },
27
- { value: 'christian_catholic', label: 'Christian (Catholic)', description: 'Roman Catholic tradition' },
28
- { value: 'christian_protestant', label: 'Christian (Protestant)', description: 'Baptist, Methodist, Pentecostal, etc.' },
29
- { value: 'christian_other', label: 'Christian (Other)', description: 'Orthodox, Syrian, or other traditions' },
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
+ },
30
58
  { value: 'sikh', label: 'Sikh', description: 'Founded by Guru Nanak' },
31
59
  { value: 'jain_digambar', label: 'Jain (Digambar)', description: 'Sky-clad Jain tradition' },
32
- { value: 'jain_shwetambar', label: 'Jain (Shwetambar)', description: 'White-clad Jain tradition' },
60
+ {
61
+ value: 'jain_shwetambar',
62
+ label: 'Jain (Shwetambar)',
63
+ description: 'White-clad Jain tradition',
64
+ },
33
65
  { value: 'buddhist', label: 'Buddhist', description: "Followers of the Buddha's teachings" },
34
- { value: 'parsi_zoroastrian', label: 'Parsi / Zoroastrian', description: 'Ancient Persian faith' },
66
+ {
67
+ value: 'parsi_zoroastrian',
68
+ label: 'Parsi / Zoroastrian',
69
+ description: 'Ancient Persian faith',
70
+ },
35
71
  { value: 'jewish', label: 'Jewish', description: 'Judaism — Abrahamic faith' },
36
72
  { value: 'bahai', label: "Baha'i", description: 'Unity of all religions and humanity' },
37
- { value: 'spiritual', label: 'Spiritual but not religious', description: 'Personal spiritual practice' },
73
+ {
74
+ value: 'spiritual',
75
+ label: 'Spiritual but not religious',
76
+ description: 'Personal spiritual practice',
77
+ },
38
78
  { value: 'atheist', label: 'Atheist', description: 'No belief in deities' },
39
79
  { value: 'agnostic', label: 'Agnostic', description: 'Uncertain about higher power' },
40
80
  { value: 'no_religion', label: 'No Religion', description: 'Simply non-religious' },
41
- { value: 'inter_religion', label: 'Inter-Religion / Multi-faith', description: 'Multi-faith background' },
81
+ {
82
+ value: 'inter_religion',
83
+ label: 'Inter-Religion / Multi-faith',
84
+ description: 'Multi-faith background',
85
+ },
42
86
  { value: 'other', label: 'Other', description: 'A faith not listed above' },
43
87
  { value: 'prefer_not_to_say', label: 'Prefer not to say' },
44
88
  ];
@@ -96,18 +140,119 @@ export const profile = {
96
140
  description: 'Basic personal information — name, gender, date of birth, language, and religion.',
97
141
  step: 1,
98
142
  fields: [
99
- { order: 1, key: 'firstName', label: 'First Name', type: 'text', step: 1, isOnboarding: true, maxLength: 50 },
100
- { order: 2, key: 'middleName', label: 'Middle Name', type: 'text', step: 1, isOnboarding: true, optional: true, maxLength: 50 },
101
- { order: 3, key: 'lastName', label: 'Last Name', type: 'text', step: 1, isOnboarding: true, maxLength: 50 },
102
- { order: 4, key: 'gender', label: 'Gender', type: 'single_select', step: 1, isOnboarding: true, options: [...genderOptions] },
103
- { order: 5, key: 'dateOfBirth', label: 'Date of Birth', type: 'date', step: 1, isOnboarding: true },
104
- { order: 6, key: 'whatsappNumber', label: 'WhatsApp Number', type: 'text', step: 1, isOnboarding: true, optional: true, description: 'Include country code' },
105
- { order: 7, key: 'primaryLanguage', label: 'Primary Language', type: 'single_select', step: 1, isOnboarding: true, options: [...languageOptions] },
106
- { order: 8, key: 'secondaryLanguages', label: 'Secondary Languages', type: 'multi_select', step: 1, isOnboarding: true, optional: true, options: [...languageOptions], maxSelect: 10 },
107
- { order: 9, key: 'familyReligion', label: 'Family Religion', type: 'single_select', step: 1, isOnboarding: true, options: [...religionOptions] },
108
- { order: 10, key: 'personalReligion', label: 'Personal Religion', type: 'single_select', step: 1, isOnboarding: true, optional: true, options: [...religionOptions] },
109
- { order: 11, key: 'reservationStatus', label: 'Reservation Category', type: 'single_select', step: 1, isOnboarding: true, options: [...reservationOptions], sensitive: true },
110
- { order: 12, key: 'minorityStatus', label: 'Minority Status', type: 'single_select', step: 1, isOnboarding: true, options: [...minorityOptions] },
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
+ },
111
256
  ],
112
257
  };
113
258
  //# sourceMappingURL=01-profile.js.map
@@ -1 +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,KAA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,eAAe,CAAC,EAAE;QAChJ,EAAE,KAAK,EAAE,EAAE,EAAE,GAAG,EAAE,kBAAkB,EAAE,KAAK,EAAE,mBAAmB,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,GAAG,eAAe,CAAC,EAAE;QACrK,EAAE,KAAK,EAAE,EAAE,EAAE,GAAG,EAAE,mBAAmB,EAAE,KAAK,EAAE,sBAAsB,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC,EAAE,YAAY,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,GAAG,kBAAkB,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE;QAC7K,EAAE,KAAK,EAAE,EAAE,EAAE,GAAG,EAAE,gBAAgB,EAAE,KAAK,EAAE,iBAAiB,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC,EAAE,YAAY,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,GAAG,eAAe,CAAC,EAAE;KAClJ;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 { value: 'transgender_man', label: 'Transgender Man', description: 'Assigned female at birth, identifies as male' },\n { value: 'transgender_woman', label: 'Transgender Woman', description: 'Assigned male at birth, identifies as female' },\n { value: 'genderqueer', label: 'Genderqueer', description: 'Outside the traditional gender binary' },\n { value: 'genderfluid', label: 'Genderfluid', description: 'Gender identity shifts over time' },\n { value: 'agender', label: 'Agender', description: 'No specific gender identity' },\n { value: 'two_spirit', label: 'Two-Spirit', description: 'Indigenous identity encompassing multiple genders' },\n { value: 'other', label: 'Other' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const religionOptions = [\n { value: 'hindu', label: 'Hindu', description: 'Sanatana Dharma traditions' },\n { value: 'muslim_sunni', label: 'Muslim (Sunni)', description: 'Largest branch of Islam' },\n { value: 'muslim_shia', label: 'Muslim (Shia)', description: 'Second-largest branch of Islam' },\n { value: 'muslim_sufi', label: 'Muslim (Sufi)', description: 'Mystical Islamic tradition' },\n { value: 'muslim_other', label: 'Muslim (Other)', description: 'Ahmadiyya or other traditions' },\n { value: 'christian_catholic', label: 'Christian (Catholic)', description: 'Roman Catholic tradition' },\n { value: 'christian_protestant', label: 'Christian (Protestant)', description: 'Baptist, Methodist, Pentecostal, etc.' },\n { value: 'christian_other', label: 'Christian (Other)', description: 'Orthodox, Syrian, or other traditions' },\n { value: 'sikh', label: 'Sikh', description: 'Founded by Guru Nanak' },\n { value: 'jain_digambar', label: 'Jain (Digambar)', description: 'Sky-clad Jain tradition' },\n { value: 'jain_shwetambar', label: 'Jain (Shwetambar)', description: 'White-clad Jain tradition' },\n { value: 'buddhist', label: 'Buddhist', description: \"Followers of the Buddha's teachings\" },\n { value: 'parsi_zoroastrian', label: 'Parsi / Zoroastrian', description: 'Ancient Persian faith' },\n { value: 'jewish', label: 'Jewish', description: 'Judaism — Abrahamic faith' },\n { value: 'bahai', label: \"Baha'i\", description: 'Unity of all religions and humanity' },\n { value: 'spiritual', label: 'Spiritual but not religious', description: 'Personal spiritual practice' },\n { value: 'atheist', label: 'Atheist', description: 'No belief in deities' },\n { value: 'agnostic', label: 'Agnostic', description: 'Uncertain about higher power' },\n { value: 'no_religion', label: 'No Religion', description: 'Simply non-religious' },\n { value: 'inter_religion', label: 'Inter-Religion / Multi-faith', description: 'Multi-faith background' },\n { value: 'other', label: 'Other', description: 'A faith not listed above' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const languageOptions = [\n { value: 'hindi', label: 'Hindi (हिन्दी)' },\n { value: 'english', label: 'English' },\n { value: 'bengali', label: 'Bengali (বাংলা)' },\n { value: 'telugu', label: 'Telugu (తెలుగు)' },\n { value: 'marathi', label: 'Marathi (मराठी)' },\n { value: 'tamil', label: 'Tamil (தமிழ்)' },\n { value: 'urdu', label: 'Urdu (اردو)' },\n { value: 'gujarati', label: 'Gujarati (ગુજરાતી)' },\n { value: 'kannada', label: 'Kannada (ಕನ್ನಡ)' },\n { value: 'odia', label: 'Odia (ଓଡ଼ିଆ)' },\n { value: 'malayalam', label: 'Malayalam (മലയാളം)' },\n { value: 'punjabi', label: 'Punjabi (ਪੰਜਾਬੀ)' },\n { value: 'assamese', label: 'Assamese (অসমীয়া)' },\n { value: 'maithili', label: 'Maithili (मैथिली)' },\n { value: 'bhojpuri', label: 'Bhojpuri (भोजपुरी)' },\n { value: 'rajasthani', label: 'Rajasthani (राजस्थानी)' },\n { value: 'chhattisgarhi', label: 'Chhattisgarhi (छत्तीसगढ़ी)' },\n { value: 'haryanvi', label: 'Haryanvi (हरियाणवी)' },\n { value: 'tulu', label: 'Tulu (ತುಳು)' },\n { value: 'sanskrit', label: 'Sanskrit (संस्कृतम्)' },\n { value: 'sindhi', label: 'Sindhi (سنڌي)' },\n { value: 'kashmiri', label: 'Kashmiri (कॉशुर)' },\n { value: 'nepali', label: 'Nepali (नेपाली)' },\n { value: 'konkani', label: 'Konkani (कोंकणी)' },\n { value: 'dogri', label: 'Dogri (डोगरी)' },\n { value: 'manipuri', label: 'Manipuri (মৈতৈলোন্)' },\n { value: 'bodo', label: 'Bodo (बड़ो)' },\n { value: 'santali', label: 'Santali (ᱥᱟᱱᱛᱟᱲᱤ)' },\n { value: 'other', label: 'Other' },\n] as const;\n\nexport const reservationOptions = [\n { value: 'SC', label: 'Scheduled Caste (SC)' },\n { value: 'ST', label: 'Scheduled Tribe (ST)' },\n { value: 'OBC_NC', label: 'OBC (Non-Creamy Layer)' },\n { value: 'OBC_C', label: 'OBC (Creamy Layer)' },\n { value: 'EWS', label: 'Economically Weaker Section (EWS)' },\n { value: 'GENERAL', label: 'General' },\n { value: 'DONT_KNOW', label: \"Don't know\" },\n { value: 'PREFER_NOT_SAY', label: 'Prefer not to say' },\n] as const;\n\nexport const minorityOptions = [\n { value: 'NO', label: 'No' },\n { value: 'RELIGIOUS', label: 'Yes — Religious minority' },\n { value: 'LINGUISTIC', label: 'Yes — Linguistic minority' },\n { value: 'NOT_SURE', label: 'Not sure' },\n] as const;\n\n// ─── Field Group ────────────────────────────────────────────────────────────\n\nexport const profile: FieldGroup = {\n key: 'profile',\n label: 'Profile',\n description: 'Basic personal information — name, gender, date of birth, language, and religion.',\n step: 1,\n fields: [\n { order: 1, key: 'firstName', label: 'First Name', type: 'text', step: 1, isOnboarding: true, maxLength: 50 },\n { order: 2, key: 'middleName', label: 'Middle Name', type: 'text', step: 1, isOnboarding: true, optional: true, maxLength: 50 },\n { order: 3, key: 'lastName', label: 'Last Name', type: 'text', step: 1, isOnboarding: true, maxLength: 50 },\n { order: 4, key: 'gender', label: 'Gender', type: 'single_select', step: 1, isOnboarding: true, options: [...genderOptions] },\n { order: 5, key: 'dateOfBirth', label: 'Date of Birth', type: 'date', step: 1, isOnboarding: true },\n { order: 6, key: 'whatsappNumber', label: 'WhatsApp Number', type: 'text', step: 1, isOnboarding: true, optional: true, description: 'Include country code' },\n { order: 7, key: 'primaryLanguage', label: 'Primary Language', type: 'single_select', step: 1, isOnboarding: true, options: [...languageOptions] },\n { order: 8, key: 'secondaryLanguages', label: 'Secondary Languages', type: 'multi_select', step: 1, isOnboarding: true, optional: true, options: [...languageOptions], maxSelect: 10 },\n { order: 9, key: 'familyReligion', label: 'Family Religion', type: 'single_select', step: 1, isOnboarding: true, options: [...religionOptions] },\n { order: 10, key: 'personalReligion', label: 'Personal Religion', type: 'single_select', step: 1, isOnboarding: true, optional: true, options: [...religionOptions] },\n { order: 11, key: 'reservationStatus', label: 'Reservation Category', type: 'single_select', step: 1, isOnboarding: true, options: [...reservationOptions], sensitive: true },\n { order: 12, key: 'minorityStatus', label: 'Minority Status', type: 'single_select', step: 1, isOnboarding: true, options: [...minorityOptions] },\n ],\n};\n"]}
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,GAAG;IAC7B,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,E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,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"]}
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS3B,CAAC;AAEX,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYf,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMzB,CAAC;AAEX,eAAO,MAAM,oBAAoB,EAAE,UAUlC,CAAC"}
1
+ {"version":3,"file":"02-political.d.ts","sourceRoot":"","sources":["../../src/profile-fields/02-political.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqC3B,CAAC;AAEX,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsBf,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYzB,CAAC;AAEX,eAAO,MAAM,oBAAoB,EAAE,UAyDlC,CAAC"}
@@ -1,42 +1,133 @@
1
1
  export const politicalSpectrumOptions = [
2
- { value: '1_tradition_faith', label: 'Guided by Tradition & Wisdom', description: 'Truth through inherited traditions and spiritual beliefs' },
3
- { value: '2_faith_curious', label: 'Balancing Faith with Questions', description: 'Respect traditions but open to asking questions' },
4
- { value: '3_multiplicity_open', label: 'Open to Multiple Perspectives', description: 'Value in diverse worldviews' },
5
- { value: '4_pragmatic_flexible', label: 'Pragmatic & Contextual', description: 'What works is what matters' },
6
- { value: '5_evidence_reasoning', label: 'Evidence-Informed', description: 'Decisions based on data and logic' },
7
- { value: '6_critical_reflective', label: 'Critical Analyst', description: 'Systematically examine own thinking' },
8
- { value: '7_skeptic_optimize', label: 'Perpetual Skeptic', description: 'Question everything including yourself' },
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
+ },
9
37
  { value: 'prefer_not_to_say', label: 'Prefer not to say' },
10
38
  ];
11
39
  export const partyOptions = [
12
- { value: 'bjp', label: 'BJP' }, { value: 'inc', label: 'Indian National Congress (INC)' },
13
- { value: 'aap', label: 'Aam Aadmi Party (AAP)' }, { value: 'bsp', label: 'Bahujan Samaj Party (BSP)' },
14
- { value: 'sp', label: 'Samajwadi Party (SP)' }, { value: 'tmc', label: 'Trinamool Congress (TMC)' },
15
- { value: 'dmk', label: 'DMK' }, { value: 'aiadmk', label: 'AIADMK' },
16
- { value: 'ncp', label: 'NCP' }, { value: 'shiv_sena', label: 'Shiv Sena' },
17
- { value: 'jdu', label: 'JD(U)' }, { value: 'rjd', label: 'RJD' },
18
- { value: 'cpim', label: 'CPI(M)' }, { value: 'cpi', label: 'CPI' },
19
- { value: 'ysrcp', label: 'YSRCP' }, { value: 'tdp', label: 'TDP' },
20
- { value: 'bjd', label: 'BJD' }, { value: 'jmm', label: 'JMM' },
21
- { value: 'none', label: 'No party affiliation' }, { value: 'other', label: 'Other' },
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' },
22
60
  { value: 'prefer_not_to_say', label: 'Prefer not to say' },
23
61
  ];
24
62
  export const civicEngagementOptions = [
25
- { value: 'ngo', label: 'NGO / Non-profit' }, { value: 'trade_union', label: 'Trade Union' },
26
- { value: 'cooperative', label: 'Cooperative Society' }, { value: 'resident_association', label: 'Resident Welfare Association' },
27
- { value: 'self_help_group', label: 'Self Help Group (SHG)' }, { value: 'youth_club', label: 'Youth Club' },
28
- { value: 'religious_organization', label: 'Religious Organization' }, { value: 'caste_association', label: 'Caste Association' },
29
- { value: 'professional_body', label: 'Professional Body' }, { value: 'none', label: 'None' }, { value: 'other', label: 'Other' },
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' },
30
74
  ];
31
75
  export const politicalAssociation = {
32
- key: 'political_association', label: 'Political Association & History', step: 2,
76
+ key: 'political_association',
77
+ label: 'Political Association & History',
78
+ step: 2,
33
79
  description: 'Your political spectrum, party associations, and civic engagement.',
34
80
  fields: [
35
- { order: 1, key: 'politicalSpectrum', label: 'Political Spectrum', type: 'single_select', step: 2, isOnboarding: true, optional: true, options: [...politicalSpectrumOptions] },
36
- { order: 2, key: 'selfPartyAssociation', label: 'Your Party Association', type: 'single_select', step: 2, isOnboarding: true, optional: true, options: [...partyOptions] },
37
- { order: 3, key: 'familyPartyAssociation', label: 'Family Party Association', type: 'single_select', step: 2, isOnboarding: true, optional: true, options: [...partyOptions] },
38
- { order: 4, key: 'publicOfficeAndElections', label: 'Public Office & Elections', type: 'object', step: 2, isOnboarding: true, optional: true, description: 'Have you held public office or contested elections?' },
39
- { order: 5, key: 'networkAndCivicEngagement', label: 'Civic Engagement', type: 'multi_select', step: 2, isOnboarding: true, optional: true, options: [...civicEngagementOptions] },
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
+ },
40
131
  ],
41
132
  };
42
133
  //# sourceMappingURL=02-political.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"02-political.js","sourceRoot":"","sources":["../../src/profile-fields/02-political.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,EAAE,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,8BAA8B,EAAE,WAAW,EAAE,0DAA0D,EAAE;IAC9I,EAAE,KAAK,EAAE,iBAAiB,EAAE,KAAK,EAAE,gCAAgC,EAAE,WAAW,EAAE,iDAAiD,EAAE;IACrI,EAAE,KAAK,EAAE,qBAAqB,EAAE,KAAK,EAAE,+BAA+B,EAAE,WAAW,EAAE,6BAA6B,EAAE;IACpH,EAAE,KAAK,EAAE,sBAAsB,EAAE,KAAK,EAAE,wBAAwB,EAAE,WAAW,EAAE,4BAA4B,EAAE;IAC7G,EAAE,KAAK,EAAE,sBAAsB,EAAE,KAAK,EAAE,mBAAmB,EAAE,WAAW,EAAE,mCAAmC,EAAE;IAC/G,EAAE,KAAK,EAAE,uBAAuB,EAAE,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,qCAAqC,EAAE;IACjH,EAAE,KAAK,EAAE,oBAAoB,EAAE,KAAK,EAAE,mBAAmB,EAAE,WAAW,EAAE,wCAAwC,EAAE;IAClH,EAAE,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,mBAAmB,EAAE;CAClD,CAAC;AAEX,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,gCAAgC,EAAE;IACzF,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,uBAAuB,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,2BAA2B,EAAE;IACtG,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,sBAAsB,EA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Ae,EAAE,IAAI,EAAE,CAAC,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,GAAG,YAAY,CAAC,EAAE;QAC9K,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,0BAA0B,EAAE,KAAK,EAAE,2BAA2B,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE,qDAAqD,EAAE;QAClN,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,2BAA2B,EAAE,KAAK,EAAE,kBAAkB,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,CAAC,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,GAAG,sBAAsB,CAAC,EAAE;KACnL;CACF,CAAC","sourcesContent":["import type { FieldGroup } from './types.js';\n\nexport const politicalSpectrumOptions = [\n { value: '1_tradition_faith', label: 'Guided by Tradition & Wisdom', description: 'Truth through inherited traditions and spiritual beliefs' },\n { value: '2_faith_curious', label: 'Balancing Faith with Questions', description: 'Respect traditions but open to asking questions' },\n { value: '3_multiplicity_open', label: 'Open to Multiple Perspectives', description: 'Value in diverse worldviews' },\n { value: '4_pragmatic_flexible', label: 'Pragmatic & Contextual', description: 'What works is what matters' },\n { value: '5_evidence_reasoning', label: 'Evidence-Informed', description: 'Decisions based on data and logic' },\n { value: '6_critical_reflective', label: 'Critical Analyst', description: 'Systematically examine own thinking' },\n { value: '7_skeptic_optimize', label: 'Perpetual Skeptic', description: 'Question everything including yourself' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const partyOptions = [\n { value: 'bjp', label: 'BJP' }, { value: 'inc', label: 'Indian National Congress (INC)' },\n { value: 'aap', label: 'Aam Aadmi Party (AAP)' }, { value: 'bsp', label: 'Bahujan Samaj Party (BSP)' },\n { value: 'sp', label: 'Samajwadi Party (SP)' }, { value: 'tmc', label: 'Trinamool Congress (TMC)' },\n { value: 'dmk', label: 'DMK' }, { value: 'aiadmk', label: 'AIADMK' },\n { value: 'ncp', label: 'NCP' }, { value: 'shiv_sena', label: 'Shiv Sena' },\n { value: 'jdu', label: 'JD(U)' }, { value: 'rjd', label: 'RJD' },\n { value: 'cpim', label: 'CPI(M)' }, { value: 'cpi', label: 'CPI' },\n { value: 'ysrcp', label: 'YSRCP' }, { value: 'tdp', label: 'TDP' },\n { value: 'bjd', label: 'BJD' }, { value: 'jmm', label: 'JMM' },\n { value: 'none', label: 'No party affiliation' }, { 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' }, { value: 'trade_union', label: 'Trade Union' },\n { value: 'cooperative', label: 'Cooperative Society' }, { value: 'resident_association', label: 'Resident Welfare Association' },\n { value: 'self_help_group', label: 'Self Help Group (SHG)' }, { value: 'youth_club', label: 'Youth Club' },\n { value: 'religious_organization', label: 'Religious Organization' }, { value: 'caste_association', label: 'Caste Association' },\n { value: 'professional_body', label: 'Professional Body' }, { value: 'none', label: 'None' }, { value: 'other', label: 'Other' },\n] as const;\n\nexport const politicalAssociation: FieldGroup = {\n key: 'political_association', label: 'Political Association & History', step: 2,\n description: 'Your political spectrum, party associations, and civic engagement.',\n fields: [\n { order: 1, key: 'politicalSpectrum', label: 'Political Spectrum', type: 'single_select', step: 2, isOnboarding: true, optional: true, options: [...politicalSpectrumOptions] },\n { order: 2, key: 'selfPartyAssociation', label: 'Your Party Association', type: 'single_select', step: 2, isOnboarding: true, optional: true, options: [...partyOptions] },\n { order: 3, key: 'familyPartyAssociation', label: 'Family Party Association', type: 'single_select', step: 2, isOnboarding: true, optional: true, options: [...partyOptions] },\n { order: 4, key: 'publicOfficeAndElections', label: 'Public Office & Elections', type: 'object', step: 2, isOnboarding: true, optional: true, description: 'Have you held public office or contested elections?' },\n { order: 5, key: 'networkAndCivicEngagement', label: 'Civic Engagement', type: 'multi_select', step: 2, isOnboarding: true, optional: true, options: [...civicEngagementOptions] },\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,mBAAmB;QAC1B,KAAK,EAAE,8BAA8B;QACrC,WAAW,EAAE,0DAA0D;KACxE;IACD;QACE,KAAK,EAAE,iBAAiB;QACxB,KAAK,EAAE,gCAAgC;QACvC,WAAW,EAAE,iDAAiD;KAC/D;IACD;QACE,KAAK,EAAE,qBAAqB;QAC5B,KAAK,EAAE,+BAA+B;QACtC,WAAW,EAAE,6BAA6B;KAC3C;IACD;QACE,KAAK,EAAE,sBAAsB;QAC7B,KAAK,EAAE,wBAAwB;QAC/B,WAAW,EAAE,4BAA4B;KAC1C;IACD;QACE,KAAK,EAAE,sBAAsB;QAC7B,KAAK,EAAE,mBAAmB;QAC1B,WAAW,EAAE,mCAAmC;KACjD;IACD;QACE,KAAK,EAAE,uBAAuB;QAC9B,KAAK,EAAE,kBAAkB;QACzB,WAAW,EAAE,qCAAqC;KACnD;IACD;QACE,KAAK,EAAE,oBAAoB;QAC3B,KAAK,EAAE,mBAAmB;QAC1B,WAAW,EAAE,wCAAwC;KACtD;IACD,EAAE,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,mBAAmB,EAAE;CAClD,CAAC;AAEX,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE;IAC9B,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,gCAAgC,EAAE;IACzD,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,uBAAuB,EAAE;IAChD,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EA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CAAC;YACR,GAAG,EAAE,wBAAwB;YAC7B,KAAK,EAAE,0BAA0B;YACjC,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,YAAY,CAAC;SAC3B;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,0BAA0B;YAC/B,KAAK,EAAE,2BAA2B;YAClC,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,qDAAqD;SACnE;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,2BAA2B;YAChC,KAAK,EAAE,kBAAkB;YACzB,IAAI,EAAE,cAAc;YACpB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,sBAAsB,CAAC;SACrC;KACF;CACF,CAAC","sourcesContent":["import type { FieldGroup } from './types.js';\n\nexport const politicalSpectrumOptions = [\n {\n value: '1_tradition_faith',\n label: 'Guided by Tradition & Wisdom',\n description: 'Truth through inherited traditions and spiritual beliefs',\n },\n {\n value: '2_faith_curious',\n label: 'Balancing Faith with Questions',\n description: 'Respect traditions but open to asking questions',\n },\n {\n value: '3_multiplicity_open',\n label: 'Open to Multiple Perspectives',\n description: 'Value in diverse worldviews',\n },\n {\n value: '4_pragmatic_flexible',\n label: 'Pragmatic & Contextual',\n description: 'What works is what matters',\n },\n {\n value: '5_evidence_reasoning',\n label: 'Evidence-Informed',\n description: 'Decisions based on data and logic',\n },\n {\n value: '6_critical_reflective',\n label: 'Critical Analyst',\n description: 'Systematically examine own thinking',\n },\n {\n value: '7_skeptic_optimize',\n label: 'Perpetual Skeptic',\n description: 'Question everything including yourself',\n },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const partyOptions = [\n { value: 'bjp', label: 'BJP' },\n { value: 'inc', label: 'Indian National Congress (INC)' },\n { value: 'aap', label: 'Aam Aadmi Party (AAP)' },\n { value: 'bsp', label: 'Bahujan Samaj Party (BSP)' },\n { value: 'sp', label: 'Samajwadi Party (SP)' },\n { value: 'tmc', label: 'Trinamool Congress (TMC)' },\n { value: 'dmk', label: 'DMK' },\n { value: 'aiadmk', label: 'AIADMK' },\n { value: 'ncp', label: 'NCP' },\n { value: 'shiv_sena', label: 'Shiv Sena' },\n { value: 'jdu', label: 'JD(U)' },\n { value: 'rjd', label: 'RJD' },\n { value: 'cpim', label: 'CPI(M)' },\n { value: 'cpi', label: 'CPI' },\n { value: 'ysrcp', label: 'YSRCP' },\n { value: 'tdp', label: 'TDP' },\n { value: 'bjd', label: 'BJD' },\n { value: 'jmm', label: 'JMM' },\n { value: 'none', label: 'No party affiliation' },\n { value: 'other', label: 'Other' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const civicEngagementOptions = [\n { value: 'ngo', label: 'NGO / Non-profit' },\n { value: 'trade_union', label: 'Trade Union' },\n { value: 'cooperative', label: 'Cooperative Society' },\n { value: 'resident_association', label: 'Resident Welfare Association' },\n { value: 'self_help_group', label: 'Self Help Group (SHG)' },\n { value: 'youth_club', label: 'Youth Club' },\n { value: 'religious_organization', label: 'Religious Organization' },\n { value: 'caste_association', label: 'Caste Association' },\n { value: 'professional_body', label: 'Professional Body' },\n { value: 'none', label: 'None' },\n { value: 'other', label: 'Other' },\n] as const;\n\nexport const politicalAssociation: FieldGroup = {\n key: 'political_association',\n label: 'Political Association & History',\n step: 2,\n description: 'Your political spectrum, party associations, and civic engagement.',\n fields: [\n {\n order: 1,\n key: 'politicalSpectrum',\n label: 'Political Spectrum',\n type: 'single_select',\n step: 2,\n isOnboarding: true,\n optional: true,\n options: [...politicalSpectrumOptions],\n },\n {\n order: 2,\n key: 'selfPartyAssociation',\n label: 'Your Party Association',\n type: 'single_select',\n step: 2,\n isOnboarding: true,\n optional: true,\n options: [...partyOptions],\n },\n {\n order: 3,\n key: 'familyPartyAssociation',\n label: 'Family Party Association',\n type: 'single_select',\n step: 2,\n isOnboarding: true,\n optional: true,\n options: [...partyOptions],\n },\n {\n order: 4,\n key: 'publicOfficeAndElections',\n label: 'Public Office & Elections',\n type: 'object',\n step: 2,\n isOnboarding: true,\n optional: true,\n description: 'Have you held public office or contested elections?',\n },\n {\n order: 5,\n key: 'networkAndCivicEngagement',\n label: 'Civic Engagement',\n type: 'multi_select',\n step: 2,\n isOnboarding: true,\n optional: true,\n options: [...civicEngagementOptions],\n },\n ],\n};\n"]}
@@ -1 +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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQrB,CAAC;AAEX,eAAO,MAAM,kBAAkB,EAAE,UAUhC,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,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAerB,CAAC;AAEX,eAAO,MAAM,kBAAkB,EAAE,UAyEhC,CAAC"}