udp-schema 2.18.0 → 2.19.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 (29) hide show
  1. package/dist/profile-fields/03-electoral.d.ts +42 -0
  2. package/dist/profile-fields/03-electoral.d.ts.map +1 -1
  3. package/dist/profile-fields/03-electoral.js +22 -19
  4. package/dist/profile-fields/03-electoral.js.map +1 -1
  5. package/dist/profile-fields/04-leadership.d.ts +74 -0
  6. package/dist/profile-fields/04-leadership.d.ts.map +1 -1
  7. package/dist/profile-fields/04-leadership.js +38 -33
  8. package/dist/profile-fields/04-leadership.js.map +1 -1
  9. package/dist/profile-fields/07-employment.d.ts +10 -0
  10. package/dist/profile-fields/07-employment.d.ts.map +1 -1
  11. package/dist/profile-fields/07-employment.js +6 -5
  12. package/dist/profile-fields/07-employment.js.map +1 -1
  13. package/dist/profile-fields/09-health.d.ts +80 -0
  14. package/dist/profile-fields/09-health.d.ts.map +1 -1
  15. package/dist/profile-fields/09-health.js +40 -35
  16. package/dist/profile-fields/09-health.js.map +1 -1
  17. package/dist/profile-fields/10-worldview.d.ts +45 -0
  18. package/dist/profile-fields/10-worldview.d.ts.map +1 -1
  19. package/dist/profile-fields/10-worldview.js +23 -20
  20. package/dist/profile-fields/10-worldview.js.map +1 -1
  21. package/dist/profile-fields/12-household.d.ts +114 -0
  22. package/dist/profile-fields/12-household.d.ts.map +1 -1
  23. package/dist/profile-fields/12-household.js +54 -48
  24. package/dist/profile-fields/12-household.js.map +1 -1
  25. package/dist/profile-fields/index.d.ts +6 -6
  26. package/dist/profile-fields/index.d.ts.map +1 -1
  27. package/dist/profile-fields/index.js +6 -6
  28. package/dist/profile-fields/index.js.map +1 -1
  29. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"09-health.d.ts","sourceRoot":"","sources":["../../src/profile-fields/09-health.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;EASpB,CAAC;AAEX,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;EAQtB,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuCd,CAAC;AAEX,eAAO,MAAM,eAAe,EAAE,UAuH7B,CAAC"}
1
+ {"version":3,"file":"09-health.d.ts","sourceRoot":"","sources":["../../src/profile-fields/09-health.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;EASpB,CAAC;AAEX,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;EAQtB,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuCd,CAAC;AAEX,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;EAMvB,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;EAMzB,CAAC;AAEX,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;EAM1B,CAAC;AAEX,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;EAMtB,CAAC;AAEX,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;EAMrB,CAAC;AAEX,eAAO,MAAM,eAAe,EAAE,UAyF7B,CAAC"}
@@ -61,6 +61,41 @@ export const dietOptions = [
61
61
  { value: 'other', label: 'Other', description: 'A diet not listed here' },
62
62
  { value: 'prefer_not_to_say', label: 'Prefer not to say' },
63
63
  ];
64
+ export const generalHealthOptions = [
65
+ { value: 'excellent', label: 'Excellent' },
66
+ { value: 'good', label: 'Good' },
67
+ { value: 'fair', label: 'Fair' },
68
+ { value: 'poor', label: 'Poor' },
69
+ { value: 'prefer_not_to_say', label: 'Prefer not to say' },
70
+ ];
71
+ export const healthInsuranceOptions = [
72
+ { value: 'yes_government', label: 'Yes — Government scheme' },
73
+ { value: 'yes_private', label: 'Yes — Private insurance' },
74
+ { value: 'yes_employer', label: 'Yes — Employer provided' },
75
+ { value: 'no', label: 'No insurance' },
76
+ { value: 'ayushman_bharat', label: 'Ayushman Bharat card' },
77
+ ];
78
+ export const physicalActivityOptions = [
79
+ { value: 'daily', label: 'Daily' },
80
+ { value: 'few_times_week', label: 'Few times a week' },
81
+ { value: 'weekly', label: 'Weekly' },
82
+ { value: 'rarely', label: 'Rarely' },
83
+ { value: 'never', label: 'Never' },
84
+ ];
85
+ export const sleepQualityOptions = [
86
+ { value: 'excellent', label: 'Excellent' },
87
+ { value: 'good', label: 'Good' },
88
+ { value: 'average', label: 'Average' },
89
+ { value: 'poor', label: 'Poor' },
90
+ { value: 'irregular', label: 'Irregular' },
91
+ ];
92
+ export const stressLevelOptions = [
93
+ { value: 'very_low', label: 'Very low' },
94
+ { value: 'low', label: 'Low' },
95
+ { value: 'moderate', label: 'Moderate' },
96
+ { value: 'high', label: 'High' },
97
+ { value: 'very_high', label: 'Very high' },
98
+ ];
64
99
  export const healthLifestyle = {
65
100
  key: 'health_lifestyle',
66
101
  label: 'Health & Lifestyle',
@@ -86,13 +121,7 @@ export const healthLifestyle = {
86
121
  step: 9,
87
122
  isOnboarding: true,
88
123
  optional: true,
89
- options: [
90
- { value: 'excellent', label: 'Excellent' },
91
- { value: 'good', label: 'Good' },
92
- { value: 'fair', label: 'Fair' },
93
- { value: 'poor', label: 'Poor' },
94
- { value: 'prefer_not_to_say', label: 'Prefer not to say' },
95
- ],
124
+ options: [...generalHealthOptions],
96
125
  },
97
126
  {
98
127
  order: 3,
@@ -102,13 +131,7 @@ export const healthLifestyle = {
102
131
  step: 9,
103
132
  isOnboarding: true,
104
133
  optional: true,
105
- options: [
106
- { value: 'yes_government', label: 'Yes — Government scheme' },
107
- { value: 'yes_private', label: 'Yes — Private insurance' },
108
- { value: 'yes_employer', label: 'Yes — Employer provided' },
109
- { value: 'no', label: 'No insurance' },
110
- { value: 'ayushman_bharat', label: 'Ayushman Bharat card' },
111
- ],
134
+ options: [...healthInsuranceOptions],
112
135
  },
113
136
  {
114
137
  order: 4,
@@ -128,13 +151,7 @@ export const healthLifestyle = {
128
151
  step: 9,
129
152
  isOnboarding: true,
130
153
  optional: true,
131
- options: [
132
- { value: 'daily', label: 'Daily' },
133
- { value: 'few_times_week', label: 'Few times a week' },
134
- { value: 'weekly', label: 'Weekly' },
135
- { value: 'rarely', label: 'Rarely' },
136
- { value: 'never', label: 'Never' },
137
- ],
154
+ options: [...physicalActivityOptions],
138
155
  },
139
156
  {
140
157
  order: 6,
@@ -144,13 +161,7 @@ export const healthLifestyle = {
144
161
  step: 9,
145
162
  isOnboarding: true,
146
163
  optional: true,
147
- options: [
148
- { value: 'excellent', label: 'Excellent' },
149
- { value: 'good', label: 'Good' },
150
- { value: 'average', label: 'Average' },
151
- { value: 'poor', label: 'Poor' },
152
- { value: 'irregular', label: 'Irregular' },
153
- ],
164
+ options: [...sleepQualityOptions],
154
165
  },
155
166
  {
156
167
  order: 7,
@@ -171,13 +182,7 @@ export const healthLifestyle = {
171
182
  step: 9,
172
183
  isOnboarding: true,
173
184
  optional: true,
174
- options: [
175
- { value: 'very_low', label: 'Very low' },
176
- { value: 'low', label: 'Low' },
177
- { value: 'moderate', label: 'Moderate' },
178
- { value: 'high', label: 'High' },
179
- { value: 'very_high', label: 'Very high' },
180
- ],
185
+ options: [...stressLevelOptions],
181
186
  },
182
187
  ],
183
188
  };
@@ -1 +1 @@
1
- {"version":3,"file":"09-health.js","sourceRoot":"","sources":["../../src/profile-fields/09-health.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE;IAChC,EAAE,K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E,cAAc;YACnB,KAAK,EAAE,eAAe;YACtB,IAAI,EAAE,cAAc;YACpB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,mBAAmB,CAAC;YACjC,SAAS,EAAE,IAAI;SAChB;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,aAAa;YAClB,KAAK,EAAE,cAAc;YACrB,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE;gBACP,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE;gBACxC,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE;gBAC9B,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE;gBACxC,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE;gBAChC,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,EAAE;aAC3C;SACF;KACF;CACF,CAAC","sourcesContent":["import type { FieldGroup } from './types.js';\n\nexport const disabilityOptions = [\n { value: 'none', label: 'None' },\n { value: 'physical', label: 'Physical disability' },\n { value: 'visual', label: 'Visual impairment' },\n { value: 'hearing', label: 'Hearing impairment' },\n { value: 'speech', label: 'Speech disability' },\n { value: 'cognitive', label: 'Cognitive / Intellectual' },\n { value: 'multiple', label: 'Multiple disabilities' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const substanceUseOptions = [\n { value: 'none', label: 'None' },\n { value: 'tobacco_smoking', label: 'Tobacco (smoking)' },\n { value: 'tobacco_chewing', label: 'Tobacco (chewing / gutka)' },\n { value: 'alcohol', label: 'Alcohol' },\n { value: 'cannabis', label: 'Cannabis' },\n { value: 'other', label: 'Other' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\n/**\n * Diet options — matches dating-schema exactly (14 options).\n * Covers Indian dietary diversity including Jain, Sattvic, and halal/kosher.\n */\nexport const dietOptions = [\n { value: 'vegetarian', label: 'Vegetarian', description: 'No meat, fish, or eggs' },\n {\n value: 'vegan',\n label: 'Vegan',\n description: 'No animal products at all — including dairy & honey',\n },\n { value: 'eggetarian', label: 'Eggetarian', description: 'Vegetarian but eat eggs' },\n {\n value: 'non_vegetarian',\n label: 'Non-Vegetarian',\n description: 'Eat everything including meat & fish',\n },\n { value: 'pescatarian', label: 'Pescatarian', description: 'No meat, but eat fish & seafood' },\n {\n value: 'occasionally_non_veg',\n label: 'Occasionally Non-Veg',\n description: 'Mostly veg, meat on occasion',\n },\n {\n value: 'flexitarian',\n label: 'Flexitarian',\n description: 'Primarily plant-based, flexible about it',\n },\n { value: 'jain', label: 'Jain', description: 'No root vegetables, strict Jain dietary rules' },\n {\n value: 'sattvic',\n label: 'Sattvic',\n description: 'Pure vegetarian — no onion, garlic, or stimulants',\n },\n {\n value: 'no_onion_no_garlic',\n label: 'No onion, no garlic',\n description: 'Vegetarian without onion & garlic',\n },\n { value: 'halal', label: 'Halal', description: 'Only halal-certified food' },\n { value: 'kosher', label: 'Kosher', description: 'Following Jewish dietary laws' },\n { value: 'other', label: 'Other', description: 'A diet not listed here' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const healthLifestyle: FieldGroup = {\n key: 'health_lifestyle',\n label: 'Health & Lifestyle',\n step: 9,\n description: 'Health, diet, activity, and wellbeing.',\n fields: [\n {\n order: 1,\n key: 'disabilityStatus',\n label: 'Disability Status',\n type: 'multi_select',\n step: 9,\n isOnboarding: true,\n optional: true,\n options: [...disabilityOptions],\n sensitive: true,\n },\n {\n order: 2,\n key: 'generalHealth',\n label: 'General Health',\n type: 'single_select',\n step: 9,\n isOnboarding: true,\n optional: true,\n options: [\n { value: 'excellent', label: 'Excellent' },\n { value: 'good', label: 'Good' },\n { value: 'fair', label: 'Fair' },\n { value: 'poor', label: 'Poor' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n ],\n },\n {\n order: 3,\n key: 'healthInsurance',\n label: 'Health Insurance',\n type: 'single_select',\n step: 9,\n isOnboarding: true,\n optional: true,\n options: [\n { value: 'yes_government', label: 'Yes — Government scheme' },\n { value: 'yes_private', label: 'Yes — Private insurance' },\n { value: 'yes_employer', label: 'Yes — Employer provided' },\n { value: 'no', label: 'No insurance' },\n { value: 'ayushman_bharat', label: 'Ayushman Bharat card' },\n ],\n },\n {\n order: 4,\n key: 'diet',\n label: 'Diet',\n type: 'single_select',\n step: 9,\n isOnboarding: true,\n optional: true,\n options: [...dietOptions],\n },\n {\n order: 5,\n key: 'physicalActivity',\n label: 'Physical Activity',\n type: 'single_select',\n step: 9,\n isOnboarding: true,\n optional: true,\n options: [\n { value: 'daily', label: 'Daily' },\n { value: 'few_times_week', label: 'Few times a week' },\n { value: 'weekly', label: 'Weekly' },\n { value: 'rarely', label: 'Rarely' },\n { value: 'never', label: 'Never' },\n ],\n },\n {\n order: 6,\n key: 'sleepQuality',\n label: 'Sleep Quality',\n type: 'single_select',\n step: 9,\n isOnboarding: true,\n optional: true,\n options: [\n { value: 'excellent', label: 'Excellent' },\n { value: 'good', label: 'Good' },\n { value: 'average', label: 'Average' },\n { value: 'poor', label: 'Poor' },\n { value: 'irregular', label: 'Irregular' },\n ],\n },\n {\n order: 7,\n key: 'substanceUse',\n label: 'Substance Use',\n type: 'multi_select',\n step: 9,\n isOnboarding: true,\n optional: true,\n options: [...substanceUseOptions],\n sensitive: true,\n },\n {\n order: 8,\n key: 'stressLevel',\n label: 'Stress Level',\n type: 'single_select',\n step: 9,\n isOnboarding: true,\n optional: true,\n options: [\n { value: 'very_low', label: 'Very low' },\n { value: 'low', label: 'Low' },\n { value: 'moderate', label: 'Moderate' },\n { value: 'high', label: 'High' },\n { value: 'very_high', label: 'Very high' },\n ],\n },\n ],\n};\n"]}
1
+ {"version":3,"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sourcesContent":["import type { FieldGroup } from './types.js';\n\nexport const disabilityOptions = [\n { value: 'none', label: 'None' },\n { value: 'physical', label: 'Physical disability' },\n { value: 'visual', label: 'Visual impairment' },\n { value: 'hearing', label: 'Hearing impairment' },\n { value: 'speech', label: 'Speech disability' },\n { value: 'cognitive', label: 'Cognitive / Intellectual' },\n { value: 'multiple', label: 'Multiple disabilities' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const substanceUseOptions = [\n { value: 'none', label: 'None' },\n { value: 'tobacco_smoking', label: 'Tobacco (smoking)' },\n { value: 'tobacco_chewing', label: 'Tobacco (chewing / gutka)' },\n { value: 'alcohol', label: 'Alcohol' },\n { value: 'cannabis', label: 'Cannabis' },\n { value: 'other', label: 'Other' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\n/**\n * Diet options — matches dating-schema exactly (14 options).\n * Covers Indian dietary diversity including Jain, Sattvic, and halal/kosher.\n */\nexport const dietOptions = [\n { value: 'vegetarian', label: 'Vegetarian', description: 'No meat, fish, or eggs' },\n {\n value: 'vegan',\n label: 'Vegan',\n description: 'No animal products at all — including dairy & honey',\n },\n { value: 'eggetarian', label: 'Eggetarian', description: 'Vegetarian but eat eggs' },\n {\n value: 'non_vegetarian',\n label: 'Non-Vegetarian',\n description: 'Eat everything including meat & fish',\n },\n { value: 'pescatarian', label: 'Pescatarian', description: 'No meat, but eat fish & seafood' },\n {\n value: 'occasionally_non_veg',\n label: 'Occasionally Non-Veg',\n description: 'Mostly veg, meat on occasion',\n },\n {\n value: 'flexitarian',\n label: 'Flexitarian',\n description: 'Primarily plant-based, flexible about it',\n },\n { value: 'jain', label: 'Jain', description: 'No root vegetables, strict Jain dietary rules' },\n {\n value: 'sattvic',\n label: 'Sattvic',\n description: 'Pure vegetarian — no onion, garlic, or stimulants',\n },\n {\n value: 'no_onion_no_garlic',\n label: 'No onion, no garlic',\n description: 'Vegetarian without onion & garlic',\n },\n { value: 'halal', label: 'Halal', description: 'Only halal-certified food' },\n { value: 'kosher', label: 'Kosher', description: 'Following Jewish dietary laws' },\n { value: 'other', label: 'Other', description: 'A diet not listed here' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const generalHealthOptions = [\n { value: 'excellent', label: 'Excellent' },\n { value: 'good', label: 'Good' },\n { value: 'fair', label: 'Fair' },\n { value: 'poor', label: 'Poor' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const healthInsuranceOptions = [\n { value: 'yes_government', label: 'Yes — Government scheme' },\n { value: 'yes_private', label: 'Yes — Private insurance' },\n { value: 'yes_employer', label: 'Yes — Employer provided' },\n { value: 'no', label: 'No insurance' },\n { value: 'ayushman_bharat', label: 'Ayushman Bharat card' },\n] as const;\n\nexport const physicalActivityOptions = [\n { value: 'daily', label: 'Daily' },\n { value: 'few_times_week', label: 'Few times a week' },\n { value: 'weekly', label: 'Weekly' },\n { value: 'rarely', label: 'Rarely' },\n { value: 'never', label: 'Never' },\n] as const;\n\nexport const sleepQualityOptions = [\n { value: 'excellent', label: 'Excellent' },\n { value: 'good', label: 'Good' },\n { value: 'average', label: 'Average' },\n { value: 'poor', label: 'Poor' },\n { value: 'irregular', label: 'Irregular' },\n] as const;\n\nexport const stressLevelOptions = [\n { value: 'very_low', label: 'Very low' },\n { value: 'low', label: 'Low' },\n { value: 'moderate', label: 'Moderate' },\n { value: 'high', label: 'High' },\n { value: 'very_high', label: 'Very high' },\n] as const;\n\nexport const healthLifestyle: FieldGroup = {\n key: 'health_lifestyle',\n label: 'Health & Lifestyle',\n step: 9,\n description: 'Health, diet, activity, and wellbeing.',\n fields: [\n {\n order: 1,\n key: 'disabilityStatus',\n label: 'Disability Status',\n type: 'multi_select',\n step: 9,\n isOnboarding: true,\n optional: true,\n options: [...disabilityOptions],\n sensitive: true,\n },\n {\n order: 2,\n key: 'generalHealth',\n label: 'General Health',\n type: 'single_select',\n step: 9,\n isOnboarding: true,\n optional: true,\n options: [...generalHealthOptions],\n },\n {\n order: 3,\n key: 'healthInsurance',\n label: 'Health Insurance',\n type: 'single_select',\n step: 9,\n isOnboarding: true,\n optional: true,\n options: [...healthInsuranceOptions],\n },\n {\n order: 4,\n key: 'diet',\n label: 'Diet',\n type: 'single_select',\n step: 9,\n isOnboarding: true,\n optional: true,\n options: [...dietOptions],\n },\n {\n order: 5,\n key: 'physicalActivity',\n label: 'Physical Activity',\n type: 'single_select',\n step: 9,\n isOnboarding: true,\n optional: true,\n options: [...physicalActivityOptions],\n },\n {\n order: 6,\n key: 'sleepQuality',\n label: 'Sleep Quality',\n type: 'single_select',\n step: 9,\n isOnboarding: true,\n optional: true,\n options: [...sleepQualityOptions],\n },\n {\n order: 7,\n key: 'substanceUse',\n label: 'Substance Use',\n type: 'multi_select',\n step: 9,\n isOnboarding: true,\n optional: true,\n options: [...substanceUseOptions],\n sensitive: true,\n },\n {\n order: 8,\n key: 'stressLevel',\n label: 'Stress Level',\n type: 'single_select',\n step: 9,\n isOnboarding: true,\n optional: true,\n options: [...stressLevelOptions],\n },\n ],\n};\n"]}
@@ -71,5 +71,50 @@ export declare const casteDiscriminationPlaceOptions: readonly [{
71
71
  readonly value: "OTHER";
72
72
  readonly label: "Other";
73
73
  }];
74
+ export declare const animalCrueltyOptions: readonly [{
75
+ readonly value: "strongly_against";
76
+ readonly label: "Strongly against all forms";
77
+ }, {
78
+ readonly value: "against_but_food";
79
+ readonly label: "Against, but accept for food";
80
+ }, {
81
+ readonly value: "neutral";
82
+ readonly label: "Neutral";
83
+ }, {
84
+ readonly value: "acceptable_in_tradition";
85
+ readonly label: "Acceptable in tradition/culture";
86
+ }, {
87
+ readonly value: "prefer_not_to_say";
88
+ readonly label: "Prefer not to say";
89
+ }];
90
+ export declare const casteDiscriminationOptions: readonly [{
91
+ readonly value: "YES_OFTEN";
92
+ readonly label: "Yes, often";
93
+ }, {
94
+ readonly value: "YES_SOMETIMES";
95
+ readonly label: "Yes, sometimes";
96
+ }, {
97
+ readonly value: "NO";
98
+ readonly label: "No";
99
+ }, {
100
+ readonly value: "PREFER_NOT_SAY";
101
+ readonly label: "Prefer not to say";
102
+ }];
103
+ export declare const genderEqualityOptions: readonly [{
104
+ readonly value: "strong_advocate";
105
+ readonly label: "Strong advocate for equality";
106
+ }, {
107
+ readonly value: "supportive";
108
+ readonly label: "Supportive";
109
+ }, {
110
+ readonly value: "traditional_values";
111
+ readonly label: "I prefer traditional values";
112
+ }, {
113
+ readonly value: "no_opinion";
114
+ readonly label: "No opinion";
115
+ }, {
116
+ readonly value: "prefer_not_to_say";
117
+ readonly label: "Prefer not to say";
118
+ }];
74
119
  export declare const worldView: FieldGroup;
75
120
  //# sourceMappingURL=10-worldview.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"10-worldview.d.ts","sourceRoot":"","sources":["../../src/profile-fields/10-worldview.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;EASxB,CAAC;AAEX,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;EAY9B,CAAC;AAEX,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;EAQlC,CAAC;AAEX,eAAO,MAAM,SAAS,EAAE,UA0GvB,CAAC"}
1
+ {"version":3,"file":"10-worldview.d.ts","sourceRoot":"","sources":["../../src/profile-fields/10-worldview.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;EASxB,CAAC;AAEX,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;EAY9B,CAAC;AAEX,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;EAQlC,CAAC;AAEX,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;EAMvB,CAAC;AAEX,eAAO,MAAM,0BAA0B;;;;;;;;;;;;EAK7B,CAAC;AAEX,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;EAMxB,CAAC;AAEX,eAAO,MAAM,SAAS,EAAE,UAyFvB,CAAC"}
@@ -30,6 +30,26 @@ export const casteDiscriminationPlaceOptions = [
30
30
  { value: 'RELIGIOUS_SPACE', label: 'Religious spaces' },
31
31
  { value: 'OTHER', label: 'Other' },
32
32
  ];
33
+ export const animalCrueltyOptions = [
34
+ { value: 'strongly_against', label: 'Strongly against all forms' },
35
+ { value: 'against_but_food', label: 'Against, but accept for food' },
36
+ { value: 'neutral', label: 'Neutral' },
37
+ { value: 'acceptable_in_tradition', label: 'Acceptable in tradition/culture' },
38
+ { value: 'prefer_not_to_say', label: 'Prefer not to say' },
39
+ ];
40
+ export const casteDiscriminationOptions = [
41
+ { value: 'YES_OFTEN', label: 'Yes, often' },
42
+ { value: 'YES_SOMETIMES', label: 'Yes, sometimes' },
43
+ { value: 'NO', label: 'No' },
44
+ { value: 'PREFER_NOT_SAY', label: 'Prefer not to say' },
45
+ ];
46
+ export const genderEqualityOptions = [
47
+ { value: 'strong_advocate', label: 'Strong advocate for equality' },
48
+ { value: 'supportive', label: 'Supportive' },
49
+ { value: 'traditional_values', label: 'I prefer traditional values' },
50
+ { value: 'no_opinion', label: 'No opinion' },
51
+ { value: 'prefer_not_to_say', label: 'Prefer not to say' },
52
+ ];
33
53
  export const worldView = {
34
54
  key: 'world_view',
35
55
  label: 'World View & Experience',
@@ -44,13 +64,7 @@ export const worldView = {
44
64
  step: 10,
45
65
  isOnboarding: true,
46
66
  optional: true,
47
- options: [
48
- { value: 'strongly_against', label: 'Strongly against all forms' },
49
- { value: 'against_but_food', label: 'Against, but accept for food' },
50
- { value: 'neutral', label: 'Neutral' },
51
- { value: 'acceptable_in_tradition', label: 'Acceptable in tradition/culture' },
52
- { value: 'prefer_not_to_say', label: 'Prefer not to say' },
53
- ],
67
+ options: [...animalCrueltyOptions],
54
68
  },
55
69
  {
56
70
  order: 2,
@@ -101,12 +115,7 @@ export const worldView = {
101
115
  isOnboarding: true,
102
116
  optional: true,
103
117
  sensitive: true,
104
- options: [
105
- { value: 'YES_OFTEN', label: 'Yes, often' },
106
- { value: 'YES_SOMETIMES', label: 'Yes, sometimes' },
107
- { value: 'NO', label: 'No' },
108
- { value: 'PREFER_NOT_SAY', label: 'Prefer not to say' },
109
- ],
118
+ options: [...casteDiscriminationOptions],
110
119
  },
111
120
  {
112
121
  order: 7,
@@ -127,13 +136,7 @@ export const worldView = {
127
136
  step: 10,
128
137
  isOnboarding: true,
129
138
  optional: true,
130
- options: [
131
- { value: 'strong_advocate', label: 'Strong advocate for equality' },
132
- { value: 'supportive', label: 'Supportive' },
133
- { value: 'traditional_values', label: 'I prefer traditional values' },
134
- { value: 'no_opinion', label: 'No opinion' },
135
- { value: 'prefer_not_to_say', label: 'Prefer not to say' },
136
- ],
139
+ options: [...genderEqualityOptions],
137
140
  },
138
141
  ],
139
142
  };
@@ -1 +1 @@
1
- {"version":3,"file":"10-worldview.js","sourceRoot":"","sources":["../../src/profile-fields/10-worldview.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,EAAE,KAAK,EAAE,oBAAoB,EAAE,KAAK,EAAE,oCAAoC,EAAE;IAC5E,EAAE,KAAK,EAAE,yBAAyB,EAAE,KAAK,EAAE,qCAAqC,EAAE;IAClF,EAAE,KAAK,EAAE,sBAAsB,EAAE,KAAK,EAAE,uBAAuB,EAAE;IACjE,EAAE,KAAK,EAAE,mCAAmC,EAAE,KAAK,EAAE,qCAAqC,EAAE;IAC5F,EAAE,KAAK,EAAE,0BAA0B,EAAE,KAAK,EAAE,kCAAkC,EAAE;IAChF,EAAE,KAAK,EAAE,uBAAuB,EAAE,KAAK,EAAE,6BAA6B,EAAE;IACxE,EAAE,KAAK,EAAE,iBAAiB,EAAE,KAAK,EAAE,8BAA8B,EAAE;IACnE,EAAE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KAAK,EAAE,iBAAiB,EAAE,KAAK,EAAE,8BAA8B,EAAE;gBACnE,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE;gBAC5C,EAAE,KAAK,EAAE,oBAAoB,EAAE,KAAK,EAAE,6BAA6B,EAAE;gBACrE,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE;gBAC5C,EAAE,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,mBAAmB,EAAE;aAC3D;SACF;KACF;CACF,CAAC","sourcesContent":["import type { FieldGroup } from './types.js';\n\nexport const lgbtqStatementOptions = [\n { value: 'LGBTQ_EQUAL_RIGHTS', label: 'LGBTQ+ people deserve equal rights' },\n { value: 'LGBTQ_SOCIAL_ACCEPTANCE', label: 'Society should accept LGBTQ+ people' },\n { value: 'LGBTQ_PRIVATE_MATTER', label: \"It's a private matter\" },\n { value: 'LGBTQ_SHOULD_NOT_BE_DISCRIMINATED', label: 'They should not face discrimination' },\n { value: 'LGBTQ_TRADITION_CONFLICT', label: 'It conflicts with our traditions' },\n { value: 'LGBTQ_NOT_COMFORTABLE', label: \"I'm not comfortable with it\" },\n { value: 'LGBTQ_DONT_KNOW', label: \"I don't know enough about it\" },\n { value: 'LGBTQ_PREFER_NOT_SAY', label: 'Prefer not to say' },\n] as const;\n\nexport const transgenderStatementOptions = [\n {\n value: 'TRANS_CHILD_KEEP_IN_FAMILY',\n label: 'A transgender child should be kept in the family',\n },\n { value: 'TRANS_EQUAL_RIGHTS', label: 'Transgender people deserve equal rights' },\n { value: 'TRANS_PART_OF_NORMAL_SOCIETY', label: 'They are part of normal society' },\n { value: 'TRANS_NO_ABANDONMENT', label: 'No one should abandon a transgender family member' },\n { value: 'TRANS_ONLY_SPECIAL_COMMUNITY', label: 'They belong to their own special community' },\n { value: 'TRANS_UNCOMFORTABLE', label: \"I'm uncomfortable around transgender people\" },\n { value: 'TRANS_DONT_KNOW', label: \"I don't know enough\" },\n { value: 'TRANS_PREFER_NOT_SAY', label: 'Prefer not to say' },\n] as const;\n\nexport const casteDiscriminationPlaceOptions = [\n { value: 'SCHOOL_EDUCATION', label: 'School / Education' },\n { value: 'WORKPLACE', label: 'Workplace' },\n { value: 'LOCALITY', label: 'Locality / Neighborhood' },\n { value: 'GOVT_OFFICES', label: 'Government offices' },\n { value: 'MARKET', label: 'Market / Shops' },\n { value: 'RELIGIOUS_SPACE', label: 'Religious spaces' },\n { value: 'OTHER', label: 'Other' },\n] as const;\n\nexport const worldView: FieldGroup = {\n key: 'world_view',\n label: 'World View & Experience',\n step: 10,\n description: 'Views on social issues, equality, and discrimination.',\n fields: [\n {\n order: 1,\n key: 'viewOnAnimalCruelty',\n label: 'View on Animal Cruelty',\n type: 'single_select',\n step: 10,\n isOnboarding: true,\n optional: true,\n options: [\n { value: 'strongly_against', label: 'Strongly against all forms' },\n { value: 'against_but_food', label: 'Against, but accept for food' },\n { value: 'neutral', label: 'Neutral' },\n { value: 'acceptable_in_tradition', label: 'Acceptable in tradition/culture' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n ],\n },\n {\n order: 2,\n key: 'viewOnLgbtqStatements',\n label: 'Views on LGBTQ+ Rights',\n type: 'multi_select',\n step: 10,\n isOnboarding: true,\n optional: true,\n options: [...lgbtqStatementOptions],\n },\n {\n order: 3,\n key: 'viewOnLgbtqOpinion',\n label: 'LGBTQ+ Opinion',\n type: 'textarea',\n step: 10,\n isOnboarding: true,\n optional: true,\n maxLength: 500,\n },\n {\n order: 4,\n key: 'viewOnTransgenderInclusion',\n label: 'Views on Transgender Inclusion',\n type: 'multi_select',\n step: 10,\n isOnboarding: true,\n optional: true,\n options: [...transgenderStatementOptions],\n },\n {\n order: 5,\n key: 'viewOnTransgenderOpinion',\n label: 'Transgender Opinion',\n type: 'textarea',\n step: 10,\n isOnboarding: true,\n optional: true,\n maxLength: 500,\n },\n {\n order: 6,\n key: 'facingCasteDiscrimination',\n label: 'Caste Discrimination Experience',\n type: 'single_select',\n step: 10,\n isOnboarding: true,\n optional: true,\n sensitive: true,\n options: [\n { value: 'YES_OFTEN', label: 'Yes, often' },\n { value: 'YES_SOMETIMES', label: 'Yes, sometimes' },\n { value: 'NO', label: 'No' },\n { value: 'PREFER_NOT_SAY', label: 'Prefer not to say' },\n ],\n },\n {\n order: 7,\n key: 'casteDiscriminationPlaces',\n label: 'Where Discrimination Faced',\n type: 'multi_select',\n step: 10,\n isOnboarding: true,\n optional: true,\n options: [...casteDiscriminationPlaceOptions],\n conditionalOn: { field: 'facingCasteDiscrimination', values: ['YES_OFTEN', 'YES_SOMETIMES'] },\n },\n {\n order: 8,\n key: 'viewOnGenderEquality',\n label: 'View on Gender Equality',\n type: 'single_select',\n step: 10,\n isOnboarding: true,\n optional: true,\n options: [\n { value: 'strong_advocate', label: 'Strong advocate for equality' },\n { value: 'supportive', label: 'Supportive' },\n { value: 'traditional_values', label: 'I prefer traditional values' },\n { value: 'no_opinion', label: 'No opinion' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n ],\n },\n ],\n};\n"]}
1
+ {"version":3,"file":"10-worldview.js","sourceRoot":"","sources":["../../src/profile-fields/10-worldview.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,EAAE,KAAK,EAAE,oBAAoB,EAAE,KAAK,EAAE,oCAAoC,EAAE;IAC5E,EAAE,KAAK,EAAE,yBAAyB,EAAE,KAAK,EAAE,qCAAqC,EAAE;IAClF,EAAE,KAAK,EAAE,sBAAsB,EAAE,KAAK,EAAE,uBAAuB,EAAE;IACjE,EAAE,KAAK,EAAE,mCAAmC,EAAE,KAAK,EAAE,qCAAqC,EAAE;IAC5F,EAAE,KAAK,EAAE,0BAA0B,EAAE,KAAK,EAAE,kCAAkC,EAAE;IAChF,EAAE,KAAK,EAAE,uBAAuB,EAAE,KAAK,EAAE,6BAA6B,EAAE;IACxE,EAAE,KAAK,EAAE,iBAAiB,EAAE,KAAK,EAAE,8BAA8B,EA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K,EAAE,CAAC;YACR,GAAG,EAAE,2BAA2B;YAChC,KAAK,EAAE,4BAA4B;YACnC,IAAI,EAAE,cAAc;YACpB,IAAI,EAAE,EAAE;YACR,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,+BAA+B,CAAC;YAC7C,aAAa,EAAE,EAAE,KAAK,EAAE,2BAA2B,EAAE,MAAM,EAAE,CAAC,WAAW,EAAE,eAAe,CAAC,EAAE;SAC9F;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,sBAAsB;YAC3B,KAAK,EAAE,yBAAyB;YAChC,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,EAAE;YACR,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,qBAAqB,CAAC;SACpC;KACF;CACF,CAAC","sourcesContent":["import type { FieldGroup } from './types.js';\n\nexport const lgbtqStatementOptions = [\n { value: 'LGBTQ_EQUAL_RIGHTS', label: 'LGBTQ+ people deserve equal rights' },\n { value: 'LGBTQ_SOCIAL_ACCEPTANCE', label: 'Society should accept LGBTQ+ people' },\n { value: 'LGBTQ_PRIVATE_MATTER', label: \"It's a private matter\" },\n { value: 'LGBTQ_SHOULD_NOT_BE_DISCRIMINATED', label: 'They should not face discrimination' },\n { value: 'LGBTQ_TRADITION_CONFLICT', label: 'It conflicts with our traditions' },\n { value: 'LGBTQ_NOT_COMFORTABLE', label: \"I'm not comfortable with it\" },\n { value: 'LGBTQ_DONT_KNOW', label: \"I don't know enough about it\" },\n { value: 'LGBTQ_PREFER_NOT_SAY', label: 'Prefer not to say' },\n] as const;\n\nexport const transgenderStatementOptions = [\n {\n value: 'TRANS_CHILD_KEEP_IN_FAMILY',\n label: 'A transgender child should be kept in the family',\n },\n { value: 'TRANS_EQUAL_RIGHTS', label: 'Transgender people deserve equal rights' },\n { value: 'TRANS_PART_OF_NORMAL_SOCIETY', label: 'They are part of normal society' },\n { value: 'TRANS_NO_ABANDONMENT', label: 'No one should abandon a transgender family member' },\n { value: 'TRANS_ONLY_SPECIAL_COMMUNITY', label: 'They belong to their own special community' },\n { value: 'TRANS_UNCOMFORTABLE', label: \"I'm uncomfortable around transgender people\" },\n { value: 'TRANS_DONT_KNOW', label: \"I don't know enough\" },\n { value: 'TRANS_PREFER_NOT_SAY', label: 'Prefer not to say' },\n] as const;\n\nexport const casteDiscriminationPlaceOptions = [\n { value: 'SCHOOL_EDUCATION', label: 'School / Education' },\n { value: 'WORKPLACE', label: 'Workplace' },\n { value: 'LOCALITY', label: 'Locality / Neighborhood' },\n { value: 'GOVT_OFFICES', label: 'Government offices' },\n { value: 'MARKET', label: 'Market / Shops' },\n { value: 'RELIGIOUS_SPACE', label: 'Religious spaces' },\n { value: 'OTHER', label: 'Other' },\n] as const;\n\nexport const animalCrueltyOptions = [\n { value: 'strongly_against', label: 'Strongly against all forms' },\n { value: 'against_but_food', label: 'Against, but accept for food' },\n { value: 'neutral', label: 'Neutral' },\n { value: 'acceptable_in_tradition', label: 'Acceptable in tradition/culture' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const casteDiscriminationOptions = [\n { value: 'YES_OFTEN', label: 'Yes, often' },\n { value: 'YES_SOMETIMES', label: 'Yes, sometimes' },\n { value: 'NO', label: 'No' },\n { value: 'PREFER_NOT_SAY', label: 'Prefer not to say' },\n] as const;\n\nexport const genderEqualityOptions = [\n { value: 'strong_advocate', label: 'Strong advocate for equality' },\n { value: 'supportive', label: 'Supportive' },\n { value: 'traditional_values', label: 'I prefer traditional values' },\n { value: 'no_opinion', label: 'No opinion' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const worldView: FieldGroup = {\n key: 'world_view',\n label: 'World View & Experience',\n step: 10,\n description: 'Views on social issues, equality, and discrimination.',\n fields: [\n {\n order: 1,\n key: 'viewOnAnimalCruelty',\n label: 'View on Animal Cruelty',\n type: 'single_select',\n step: 10,\n isOnboarding: true,\n optional: true,\n options: [...animalCrueltyOptions],\n },\n {\n order: 2,\n key: 'viewOnLgbtqStatements',\n label: 'Views on LGBTQ+ Rights',\n type: 'multi_select',\n step: 10,\n isOnboarding: true,\n optional: true,\n options: [...lgbtqStatementOptions],\n },\n {\n order: 3,\n key: 'viewOnLgbtqOpinion',\n label: 'LGBTQ+ Opinion',\n type: 'textarea',\n step: 10,\n isOnboarding: true,\n optional: true,\n maxLength: 500,\n },\n {\n order: 4,\n key: 'viewOnTransgenderInclusion',\n label: 'Views on Transgender Inclusion',\n type: 'multi_select',\n step: 10,\n isOnboarding: true,\n optional: true,\n options: [...transgenderStatementOptions],\n },\n {\n order: 5,\n key: 'viewOnTransgenderOpinion',\n label: 'Transgender Opinion',\n type: 'textarea',\n step: 10,\n isOnboarding: true,\n optional: true,\n maxLength: 500,\n },\n {\n order: 6,\n key: 'facingCasteDiscrimination',\n label: 'Caste Discrimination Experience',\n type: 'single_select',\n step: 10,\n isOnboarding: true,\n optional: true,\n sensitive: true,\n options: [...casteDiscriminationOptions],\n },\n {\n order: 7,\n key: 'casteDiscriminationPlaces',\n label: 'Where Discrimination Faced',\n type: 'multi_select',\n step: 10,\n isOnboarding: true,\n optional: true,\n options: [...casteDiscriminationPlaceOptions],\n conditionalOn: { field: 'facingCasteDiscrimination', values: ['YES_OFTEN', 'YES_SOMETIMES'] },\n },\n {\n order: 8,\n key: 'viewOnGenderEquality',\n label: 'View on Gender Equality',\n type: 'single_select',\n step: 10,\n isOnboarding: true,\n optional: true,\n options: [...genderEqualityOptions],\n },\n ],\n};\n"]}
@@ -86,5 +86,119 @@ export declare const householdIncomeOptions: readonly [{
86
86
  readonly value: "prefer_not_to_say";
87
87
  readonly label: "Prefer not to say";
88
88
  }];
89
+ export declare const maritalStatusOptions: readonly [{
90
+ readonly value: "single";
91
+ readonly label: "Single";
92
+ }, {
93
+ readonly value: "married";
94
+ readonly label: "Married";
95
+ }, {
96
+ readonly value: "divorced";
97
+ readonly label: "Divorced";
98
+ }, {
99
+ readonly value: "widowed";
100
+ readonly label: "Widowed";
101
+ }, {
102
+ readonly value: "separated";
103
+ readonly label: "Separated";
104
+ }, {
105
+ readonly value: "prefer_not_to_say";
106
+ readonly label: "Prefer not to say";
107
+ }];
108
+ export declare const housingTypeOptions: readonly [{
109
+ readonly value: "own_house";
110
+ readonly label: "Own house";
111
+ }, {
112
+ readonly value: "rented";
113
+ readonly label: "Rented";
114
+ }, {
115
+ readonly value: "government_quarters";
116
+ readonly label: "Government quarters";
117
+ }, {
118
+ readonly value: "shared";
119
+ readonly label: "Shared housing";
120
+ }, {
121
+ readonly value: "homeless";
122
+ readonly label: "Homeless";
123
+ }, {
124
+ readonly value: "other";
125
+ readonly label: "Other";
126
+ }];
127
+ export declare const bplCardOptions: readonly [{
128
+ readonly value: "yes";
129
+ readonly label: "Yes";
130
+ }, {
131
+ readonly value: "no";
132
+ readonly label: "No";
133
+ }, {
134
+ readonly value: "applied";
135
+ readonly label: "Applied / Pending";
136
+ }, {
137
+ readonly value: "dont_know";
138
+ readonly label: "Don't know";
139
+ }];
140
+ export declare const migrationStatusOptions: readonly [{
141
+ readonly value: "native";
142
+ readonly label: "Native (always lived here)";
143
+ }, {
144
+ readonly value: "within_district";
145
+ readonly label: "Migrated within district";
146
+ }, {
147
+ readonly value: "within_state";
148
+ readonly label: "Migrated within state";
149
+ }, {
150
+ readonly value: "inter_state";
151
+ readonly label: "Inter-state migrant";
152
+ }, {
153
+ readonly value: "international";
154
+ readonly label: "International migrant";
155
+ }];
156
+ export declare const landOwnershipOptions: readonly [{
157
+ readonly value: "own_agricultural";
158
+ readonly label: "Own agricultural land";
159
+ }, {
160
+ readonly value: "own_residential";
161
+ readonly label: "Own residential land";
162
+ }, {
163
+ readonly value: "government_allotted";
164
+ readonly label: "Government allotted";
165
+ }, {
166
+ readonly value: "no_land";
167
+ readonly label: "No land";
168
+ }, {
169
+ readonly value: "leased";
170
+ readonly label: "Leased land";
171
+ }, {
172
+ readonly value: "other";
173
+ readonly label: "Other";
174
+ }];
175
+ export declare const primaryIncomeSourceOptions: readonly [{
176
+ readonly value: "agriculture";
177
+ readonly label: "Agriculture";
178
+ }, {
179
+ readonly value: "government_job";
180
+ readonly label: "Government job";
181
+ }, {
182
+ readonly value: "private_job";
183
+ readonly label: "Private job";
184
+ }, {
185
+ readonly value: "business";
186
+ readonly label: "Business";
187
+ }, {
188
+ readonly value: "daily_wage";
189
+ readonly label: "Daily wage";
190
+ }, {
191
+ readonly value: "pension";
192
+ readonly label: "Pension";
193
+ }, {
194
+ readonly value: "remittance";
195
+ readonly label: "Remittance";
196
+ }, {
197
+ readonly value: "no_fixed_income";
198
+ readonly label: "No fixed income";
199
+ }, {
200
+ readonly value: "other";
201
+ readonly label: "Other";
202
+ }];
89
203
  export declare const household: FieldGroup;
90
204
  //# sourceMappingURL=12-household.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"12-household.d.ts","sourceRoot":"","sources":["../../src/profile-fields/12-household.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAetB,CAAC;AAEX,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;EAOvB,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;EASzB,CAAC;AAEX,eAAO,MAAM,SAAS,EAAE,UAuJvB,CAAC"}
1
+ {"version":3,"file":"12-household.d.ts","sourceRoot":"","sources":["../../src/profile-fields/12-household.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAetB,CAAC;AAEX,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;EAOvB,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;EASzB,CAAC;AAEX,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;EAOvB,CAAC;AAEX,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;EAOrB,CAAC;AAEX,eAAO,MAAM,cAAc;;;;;;;;;;;;EAKjB,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;EAMzB,CAAC;AAEX,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;EAOvB,CAAC;AAEX,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;EAU7B,CAAC;AAEX,eAAO,MAAM,SAAS,EAAE,UA6GvB,CAAC"}
@@ -32,6 +32,54 @@ export const householdIncomeOptions = [
32
32
  { value: 'above_2_5L', label: 'Above ₹2.5 Lakh' },
33
33
  { value: 'prefer_not_to_say', label: 'Prefer not to say' },
34
34
  ];
35
+ export const maritalStatusOptions = [
36
+ { value: 'single', label: 'Single' },
37
+ { value: 'married', label: 'Married' },
38
+ { value: 'divorced', label: 'Divorced' },
39
+ { value: 'widowed', label: 'Widowed' },
40
+ { value: 'separated', label: 'Separated' },
41
+ { value: 'prefer_not_to_say', label: 'Prefer not to say' },
42
+ ];
43
+ export const housingTypeOptions = [
44
+ { value: 'own_house', label: 'Own house' },
45
+ { value: 'rented', label: 'Rented' },
46
+ { value: 'government_quarters', label: 'Government quarters' },
47
+ { value: 'shared', label: 'Shared housing' },
48
+ { value: 'homeless', label: 'Homeless' },
49
+ { value: 'other', label: 'Other' },
50
+ ];
51
+ export const bplCardOptions = [
52
+ { value: 'yes', label: 'Yes' },
53
+ { value: 'no', label: 'No' },
54
+ { value: 'applied', label: 'Applied / Pending' },
55
+ { value: 'dont_know', label: "Don't know" },
56
+ ];
57
+ export const migrationStatusOptions = [
58
+ { value: 'native', label: 'Native (always lived here)' },
59
+ { value: 'within_district', label: 'Migrated within district' },
60
+ { value: 'within_state', label: 'Migrated within state' },
61
+ { value: 'inter_state', label: 'Inter-state migrant' },
62
+ { value: 'international', label: 'International migrant' },
63
+ ];
64
+ export const landOwnershipOptions = [
65
+ { value: 'own_agricultural', label: 'Own agricultural land' },
66
+ { value: 'own_residential', label: 'Own residential land' },
67
+ { value: 'government_allotted', label: 'Government allotted' },
68
+ { value: 'no_land', label: 'No land' },
69
+ { value: 'leased', label: 'Leased land' },
70
+ { value: 'other', label: 'Other' },
71
+ ];
72
+ export const primaryIncomeSourceOptions = [
73
+ { value: 'agriculture', label: 'Agriculture' },
74
+ { value: 'government_job', label: 'Government job' },
75
+ { value: 'private_job', label: 'Private job' },
76
+ { value: 'business', label: 'Business' },
77
+ { value: 'daily_wage', label: 'Daily wage' },
78
+ { value: 'pension', label: 'Pension' },
79
+ { value: 'remittance', label: 'Remittance' },
80
+ { value: 'no_fixed_income', label: 'No fixed income' },
81
+ { value: 'other', label: 'Other' },
82
+ ];
35
83
  export const household = {
36
84
  key: 'household',
37
85
  label: 'Household & Economic Profile',
@@ -46,14 +94,7 @@ export const household = {
46
94
  step: 12,
47
95
  isOnboarding: true,
48
96
  optional: true,
49
- options: [
50
- { value: 'single', label: 'Single' },
51
- { value: 'married', label: 'Married' },
52
- { value: 'divorced', label: 'Divorced' },
53
- { value: 'widowed', label: 'Widowed' },
54
- { value: 'separated', label: 'Separated' },
55
- { value: 'prefer_not_to_say', label: 'Prefer not to say' },
56
- ],
97
+ options: [...maritalStatusOptions],
57
98
  },
58
99
  {
59
100
  order: 2,
@@ -84,14 +125,7 @@ export const household = {
84
125
  step: 12,
85
126
  isOnboarding: true,
86
127
  optional: true,
87
- options: [
88
- { value: 'own_house', label: 'Own house' },
89
- { value: 'rented', label: 'Rented' },
90
- { value: 'government_quarters', label: 'Government quarters' },
91
- { value: 'shared', label: 'Shared housing' },
92
- { value: 'homeless', label: 'Homeless' },
93
- { value: 'other', label: 'Other' },
94
- ],
128
+ options: [...housingTypeOptions],
95
129
  },
96
130
  {
97
131
  order: 5,
@@ -112,12 +146,7 @@ export const household = {
112
146
  step: 12,
113
147
  isOnboarding: true,
114
148
  optional: true,
115
- options: [
116
- { value: 'yes', label: 'Yes' },
117
- { value: 'no', label: 'No' },
118
- { value: 'applied', label: 'Applied / Pending' },
119
- { value: 'dont_know', label: "Don't know" },
120
- ],
149
+ options: [...bplCardOptions],
121
150
  },
122
151
  {
123
152
  order: 7,
@@ -137,13 +166,7 @@ export const household = {
137
166
  step: 12,
138
167
  isOnboarding: true,
139
168
  optional: true,
140
- options: [
141
- { value: 'native', label: 'Native (always lived here)' },
142
- { value: 'within_district', label: 'Migrated within district' },
143
- { value: 'within_state', label: 'Migrated within state' },
144
- { value: 'inter_state', label: 'Inter-state migrant' },
145
- { value: 'international', label: 'International migrant' },
146
- ],
169
+ options: [...migrationStatusOptions],
147
170
  },
148
171
  {
149
172
  order: 9,
@@ -153,14 +176,7 @@ export const household = {
153
176
  step: 12,
154
177
  isOnboarding: true,
155
178
  optional: true,
156
- options: [
157
- { value: 'own_agricultural', label: 'Own agricultural land' },
158
- { value: 'own_residential', label: 'Own residential land' },
159
- { value: 'government_allotted', label: 'Government allotted' },
160
- { value: 'no_land', label: 'No land' },
161
- { value: 'leased', label: 'Leased land' },
162
- { value: 'other', label: 'Other' },
163
- ],
179
+ options: [...landOwnershipOptions],
164
180
  },
165
181
  {
166
182
  order: 10,
@@ -170,17 +186,7 @@ export const household = {
170
186
  step: 12,
171
187
  isOnboarding: true,
172
188
  optional: true,
173
- options: [
174
- { value: 'agriculture', label: 'Agriculture' },
175
- { value: 'government_job', label: 'Government job' },
176
- { value: 'private_job', label: 'Private job' },
177
- { value: 'business', label: 'Business' },
178
- { value: 'daily_wage', label: 'Daily wage' },
179
- { value: 'pension', label: 'Pension' },
180
- { value: 'remittance', label: 'Remittance' },
181
- { value: 'no_fixed_income', label: 'No fixed income' },
182
- { value: 'other', label: 'Other' },
183
- ],
189
+ options: [...primaryIncomeSourceOptions],
184
190
  },
185
191
  ],
186
192
  };