udp-schema 1.0.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/dist/field-helpers.d.ts +23 -8
  2. package/dist/field-helpers.d.ts.map +1 -1
  3. package/dist/field-helpers.js +43 -12
  4. package/dist/field-helpers.js.map +1 -1
  5. package/dist/field-meta.d.ts +14 -52
  6. package/dist/field-meta.d.ts.map +1 -1
  7. package/dist/field-meta.js +13 -307
  8. package/dist/field-meta.js.map +1 -1
  9. package/dist/index.d.ts +23 -16
  10. package/dist/index.d.ts.map +1 -1
  11. package/dist/index.js +21 -21
  12. package/dist/index.js.map +1 -1
  13. package/dist/profile-fields/01-profile.d.ts +264 -0
  14. package/dist/profile-fields/01-profile.d.ts.map +1 -0
  15. package/dist/profile-fields/01-profile.js +258 -0
  16. package/dist/profile-fields/01-profile.js.map +1 -0
  17. package/dist/profile-fields/02-political.d.ts +133 -0
  18. package/dist/profile-fields/02-political.d.ts.map +1 -0
  19. package/dist/profile-fields/02-political.js +133 -0
  20. package/dist/profile-fields/02-political.js.map +1 -0
  21. package/dist/profile-fields/03-electoral.d.ts +46 -0
  22. package/dist/profile-fields/03-electoral.d.ts.map +1 -0
  23. package/dist/profile-fields/03-electoral.js +91 -0
  24. package/dist/profile-fields/03-electoral.js.map +1 -0
  25. package/dist/profile-fields/04-leadership.d.ts +34 -0
  26. package/dist/profile-fields/04-leadership.d.ts.map +1 -0
  27. package/dist/profile-fields/04-leadership.js +139 -0
  28. package/dist/profile-fields/04-leadership.js.map +1 -0
  29. package/dist/profile-fields/05-psychological.d.ts +58 -0
  30. package/dist/profile-fields/05-psychological.d.ts.map +1 -0
  31. package/dist/profile-fields/05-psychological.js +49 -0
  32. package/dist/profile-fields/05-psychological.js.map +1 -0
  33. package/dist/profile-fields/06-education.d.ts +28 -0
  34. package/dist/profile-fields/06-education.d.ts.map +1 -0
  35. package/dist/profile-fields/06-education.js +136 -0
  36. package/dist/profile-fields/06-education.js.map +1 -0
  37. package/dist/profile-fields/07-employment.d.ts +75 -0
  38. package/dist/profile-fields/07-employment.d.ts.map +1 -0
  39. package/dist/profile-fields/07-employment.js +112 -0
  40. package/dist/profile-fields/07-employment.js.map +1 -0
  41. package/dist/profile-fields/08-neurodiversity.d.ts +100 -0
  42. package/dist/profile-fields/08-neurodiversity.d.ts.map +1 -0
  43. package/dist/profile-fields/08-neurodiversity.js +146 -0
  44. package/dist/profile-fields/08-neurodiversity.js.map +1 -0
  45. package/dist/profile-fields/09-health.d.ts +89 -0
  46. package/dist/profile-fields/09-health.d.ts.map +1 -0
  47. package/dist/profile-fields/09-health.js +160 -0
  48. package/dist/profile-fields/09-health.js.map +1 -0
  49. package/dist/profile-fields/10-worldview.d.ts +75 -0
  50. package/dist/profile-fields/10-worldview.d.ts.map +1 -0
  51. package/dist/profile-fields/10-worldview.js +140 -0
  52. package/dist/profile-fields/10-worldview.js.map +1 -0
  53. package/dist/profile-fields/11-residence.d.ts +3 -0
  54. package/dist/profile-fields/11-residence.d.ts.map +1 -0
  55. package/dist/profile-fields/11-residence.js +45 -0
  56. package/dist/profile-fields/11-residence.js.map +1 -0
  57. package/dist/profile-fields/12-household.d.ts +90 -0
  58. package/dist/profile-fields/12-household.d.ts.map +1 -0
  59. package/dist/profile-fields/12-household.js +187 -0
  60. package/dist/profile-fields/12-household.js.map +1 -0
  61. package/dist/profile-fields/index.d.ts +22 -0
  62. package/dist/profile-fields/index.d.ts.map +1 -0
  63. package/dist/profile-fields/index.js +47 -0
  64. package/dist/profile-fields/index.js.map +1 -0
  65. package/dist/profile-fields/types.d.ts +66 -0
  66. package/dist/profile-fields/types.d.ts.map +1 -0
  67. package/dist/profile-fields/types.js +8 -0
  68. package/dist/profile-fields/types.js.map +1 -0
  69. package/dist/progress-fields.d.ts +18 -0
  70. package/dist/progress-fields.d.ts.map +1 -1
  71. package/dist/progress-fields.js +21 -0
  72. package/dist/progress-fields.js.map +1 -1
  73. package/dist/step-01.schema.d.ts.map +1 -1
  74. package/dist/step-01.schema.js +1 -1
  75. package/dist/step-01.schema.js.map +1 -1
  76. package/dist/step-03.schema.d.ts +1 -1
  77. package/dist/step-03.schema.d.ts.map +1 -1
  78. package/dist/step-03.schema.js +1 -8
  79. package/dist/step-03.schema.js.map +1 -1
  80. package/dist/step-04.schema.d.ts +1 -1
  81. package/dist/step-04.schema.d.ts.map +1 -1
  82. package/dist/step-04.schema.js +2 -6
  83. package/dist/step-04.schema.js.map +1 -1
  84. package/dist/step-07.schema.d.ts.map +1 -1
  85. package/dist/step-07.schema.js +2 -16
  86. package/dist/step-07.schema.js.map +1 -1
  87. package/dist/step-08.schema.d.ts.map +1 -1
  88. package/dist/step-08.schema.js +1 -3
  89. package/dist/step-08.schema.js.map +1 -1
  90. package/dist/step-09.schema.d.ts +1 -1
  91. package/dist/step-09.schema.d.ts.map +1 -1
  92. package/dist/step-09.schema.js +5 -19
  93. package/dist/step-09.schema.js.map +1 -1
  94. package/dist/step-12.schema.d.ts +1 -1
  95. package/dist/step-12.schema.d.ts.map +1 -1
  96. package/dist/step-12.schema.js +3 -23
  97. package/dist/step-12.schema.js.map +1 -1
  98. package/package.json +1 -1
@@ -0,0 +1,160 @@
1
+ export const disabilityOptions = [
2
+ { value: 'none', label: 'None' },
3
+ { value: 'physical', label: 'Physical disability' },
4
+ { value: 'visual', label: 'Visual impairment' },
5
+ { value: 'hearing', label: 'Hearing impairment' },
6
+ { value: 'speech', label: 'Speech disability' },
7
+ { value: 'cognitive', label: 'Cognitive / Intellectual' },
8
+ { value: 'multiple', label: 'Multiple disabilities' },
9
+ { value: 'prefer_not_to_say', label: 'Prefer not to say' },
10
+ ];
11
+ export const substanceUseOptions = [
12
+ { value: 'none', label: 'None' },
13
+ { value: 'tobacco_smoking', label: 'Tobacco (smoking)' },
14
+ { value: 'tobacco_chewing', label: 'Tobacco (chewing / gutka)' },
15
+ { value: 'alcohol', label: 'Alcohol' },
16
+ { value: 'cannabis', label: 'Cannabis' },
17
+ { value: 'other', label: 'Other' },
18
+ { value: 'prefer_not_to_say', label: 'Prefer not to say' },
19
+ ];
20
+ export const dietOptions = [
21
+ { value: 'vegetarian', label: 'Vegetarian', description: 'No meat, fish, or eggs' },
22
+ { value: 'vegan', label: 'Vegan', description: 'No animal products' },
23
+ { value: 'eggetarian', label: 'Eggetarian', description: 'Vegetarian but eat eggs' },
24
+ {
25
+ value: 'non_vegetarian',
26
+ label: 'Non-Vegetarian',
27
+ description: 'Eat everything including meat',
28
+ },
29
+ { value: 'pescatarian', label: 'Pescatarian', description: 'No meat, but eat fish' },
30
+ {
31
+ value: 'occasionally_non_veg',
32
+ label: 'Occasionally Non-Veg',
33
+ description: 'Mostly veg, meat on occasion',
34
+ },
35
+ { value: 'jain', label: 'Jain', description: 'No root vegetables, strict Jain rules' },
36
+ { value: 'halal', label: 'Halal', description: 'Only halal-certified food' },
37
+ { value: 'other', label: 'Other' },
38
+ { value: 'prefer_not_to_say', label: 'Prefer not to say' },
39
+ ];
40
+ export const healthLifestyle = {
41
+ key: 'health_lifestyle',
42
+ label: 'Health & Lifestyle',
43
+ step: 9,
44
+ description: 'Health, diet, activity, and wellbeing.',
45
+ fields: [
46
+ {
47
+ order: 1,
48
+ key: 'disabilityStatus',
49
+ label: 'Disability Status',
50
+ type: 'multi_select',
51
+ step: 9,
52
+ isOnboarding: true,
53
+ optional: true,
54
+ options: [...disabilityOptions],
55
+ sensitive: true,
56
+ },
57
+ {
58
+ order: 2,
59
+ key: 'generalHealth',
60
+ label: 'General Health',
61
+ type: 'single_select',
62
+ step: 9,
63
+ isOnboarding: true,
64
+ optional: true,
65
+ options: [
66
+ { value: 'excellent', label: 'Excellent' },
67
+ { value: 'good', label: 'Good' },
68
+ { value: 'fair', label: 'Fair' },
69
+ { value: 'poor', label: 'Poor' },
70
+ { value: 'prefer_not_to_say', label: 'Prefer not to say' },
71
+ ],
72
+ },
73
+ {
74
+ order: 3,
75
+ key: 'healthInsurance',
76
+ label: 'Health Insurance',
77
+ type: 'single_select',
78
+ step: 9,
79
+ isOnboarding: true,
80
+ optional: true,
81
+ options: [
82
+ { value: 'yes_government', label: 'Yes — Government scheme' },
83
+ { value: 'yes_private', label: 'Yes — Private insurance' },
84
+ { value: 'yes_employer', label: 'Yes — Employer provided' },
85
+ { value: 'no', label: 'No insurance' },
86
+ { value: 'ayushman_bharat', label: 'Ayushman Bharat card' },
87
+ ],
88
+ },
89
+ {
90
+ order: 4,
91
+ key: 'diet',
92
+ label: 'Diet',
93
+ type: 'single_select',
94
+ step: 9,
95
+ isOnboarding: true,
96
+ optional: true,
97
+ options: [...dietOptions],
98
+ },
99
+ {
100
+ order: 5,
101
+ key: 'physicalActivity',
102
+ label: 'Physical Activity',
103
+ type: 'single_select',
104
+ step: 9,
105
+ isOnboarding: true,
106
+ optional: true,
107
+ options: [
108
+ { value: 'daily', label: 'Daily' },
109
+ { value: 'few_times_week', label: 'Few times a week' },
110
+ { value: 'weekly', label: 'Weekly' },
111
+ { value: 'rarely', label: 'Rarely' },
112
+ { value: 'never', label: 'Never' },
113
+ ],
114
+ },
115
+ {
116
+ order: 6,
117
+ key: 'sleepQuality',
118
+ label: 'Sleep Quality',
119
+ type: 'single_select',
120
+ step: 9,
121
+ isOnboarding: true,
122
+ optional: true,
123
+ options: [
124
+ { value: 'excellent', label: 'Excellent' },
125
+ { value: 'good', label: 'Good' },
126
+ { value: 'average', label: 'Average' },
127
+ { value: 'poor', label: 'Poor' },
128
+ { value: 'irregular', label: 'Irregular' },
129
+ ],
130
+ },
131
+ {
132
+ order: 7,
133
+ key: 'substanceUse',
134
+ label: 'Substance Use',
135
+ type: 'multi_select',
136
+ step: 9,
137
+ isOnboarding: true,
138
+ optional: true,
139
+ options: [...substanceUseOptions],
140
+ sensitive: true,
141
+ },
142
+ {
143
+ order: 8,
144
+ key: 'stressLevel',
145
+ label: 'Stress Level',
146
+ type: 'single_select',
147
+ step: 9,
148
+ isOnboarding: true,
149
+ optional: true,
150
+ options: [
151
+ { value: 'very_low', label: 'Very low' },
152
+ { value: 'low', label: 'Low' },
153
+ { value: 'moderate', label: 'Moderate' },
154
+ { value: 'high', label: 'High' },
155
+ { value: 'very_high', label: 'Very high' },
156
+ ],
157
+ },
158
+ ],
159
+ };
160
+ //# sourceMappingURL=09-health.js.map
@@ -0,0 +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,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,qBAAqB,EAAE;IACnD,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,mBAAmB,EAAE;IAC/C,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,oBAAoB,EAAE;IACjD,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,mBAAmB,EAAE;IAC/C,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,0BAA0B,EAAE;IACzD,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,uBAAuB,EAAE;IACrD,EAAE,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,mBAAmB,EAAE;CAClD,CAAC;AAEX,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE;IAChC,EAAE,KAAK,EAAE,iBAAiB,EAAE,KAAK,EAAE,mBAAmB,EAAE;IACxD,EAAE,KAAK,EAAE,iBAAiB,EAAE,KAAK,EAAE,2BAA2B,EAAE;IAChE,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;IACtC,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE;IACxC,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,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R,GAAG,EAAE,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\nexport const dietOptions = [\n { value: 'vegetarian', label: 'Vegetarian', description: 'No meat, fish, or eggs' },\n { value: 'vegan', label: 'Vegan', description: 'No animal products' },\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',\n },\n { value: 'pescatarian', label: 'Pescatarian', description: 'No meat, but eat fish' },\n {\n value: 'occasionally_non_veg',\n label: 'Occasionally Non-Veg',\n description: 'Mostly veg, meat on occasion',\n },\n { value: 'jain', label: 'Jain', description: 'No root vegetables, strict Jain rules' },\n { value: 'halal', label: 'Halal', description: 'Only halal-certified food' },\n { value: 'other', label: 'Other' },\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"]}
@@ -0,0 +1,75 @@
1
+ import type { FieldGroup } from './types.js';
2
+ export declare const lgbtqStatementOptions: readonly [{
3
+ readonly value: "LGBTQ_EQUAL_RIGHTS";
4
+ readonly label: "LGBTQ+ people deserve equal rights";
5
+ }, {
6
+ readonly value: "LGBTQ_SOCIAL_ACCEPTANCE";
7
+ readonly label: "Society should accept LGBTQ+ people";
8
+ }, {
9
+ readonly value: "LGBTQ_PRIVATE_MATTER";
10
+ readonly label: "It's a private matter";
11
+ }, {
12
+ readonly value: "LGBTQ_SHOULD_NOT_BE_DISCRIMINATED";
13
+ readonly label: "They should not face discrimination";
14
+ }, {
15
+ readonly value: "LGBTQ_TRADITION_CONFLICT";
16
+ readonly label: "It conflicts with our traditions";
17
+ }, {
18
+ readonly value: "LGBTQ_NOT_COMFORTABLE";
19
+ readonly label: "I'm not comfortable with it";
20
+ }, {
21
+ readonly value: "LGBTQ_DONT_KNOW";
22
+ readonly label: "I don't know enough about it";
23
+ }, {
24
+ readonly value: "LGBTQ_PREFER_NOT_SAY";
25
+ readonly label: "Prefer not to say";
26
+ }];
27
+ export declare const transgenderStatementOptions: readonly [{
28
+ readonly value: "TRANS_CHILD_KEEP_IN_FAMILY";
29
+ readonly label: "A transgender child should be kept in the family";
30
+ }, {
31
+ readonly value: "TRANS_EQUAL_RIGHTS";
32
+ readonly label: "Transgender people deserve equal rights";
33
+ }, {
34
+ readonly value: "TRANS_PART_OF_NORMAL_SOCIETY";
35
+ readonly label: "They are part of normal society";
36
+ }, {
37
+ readonly value: "TRANS_NO_ABANDONMENT";
38
+ readonly label: "No one should abandon a transgender family member";
39
+ }, {
40
+ readonly value: "TRANS_ONLY_SPECIAL_COMMUNITY";
41
+ readonly label: "They belong to their own special community";
42
+ }, {
43
+ readonly value: "TRANS_UNCOMFORTABLE";
44
+ readonly label: "I'm uncomfortable around transgender people";
45
+ }, {
46
+ readonly value: "TRANS_DONT_KNOW";
47
+ readonly label: "I don't know enough";
48
+ }, {
49
+ readonly value: "TRANS_PREFER_NOT_SAY";
50
+ readonly label: "Prefer not to say";
51
+ }];
52
+ export declare const casteDiscriminationPlaceOptions: readonly [{
53
+ readonly value: "SCHOOL_EDUCATION";
54
+ readonly label: "School / Education";
55
+ }, {
56
+ readonly value: "WORKPLACE";
57
+ readonly label: "Workplace";
58
+ }, {
59
+ readonly value: "LOCALITY";
60
+ readonly label: "Locality / Neighborhood";
61
+ }, {
62
+ readonly value: "GOVT_OFFICES";
63
+ readonly label: "Government offices";
64
+ }, {
65
+ readonly value: "MARKET";
66
+ readonly label: "Market / Shops";
67
+ }, {
68
+ readonly value: "RELIGIOUS_SPACE";
69
+ readonly label: "Religious spaces";
70
+ }, {
71
+ readonly value: "OTHER";
72
+ readonly label: "Other";
73
+ }];
74
+ export declare const worldView: FieldGroup;
75
+ //# sourceMappingURL=10-worldview.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,140 @@
1
+ export const lgbtqStatementOptions = [
2
+ { value: 'LGBTQ_EQUAL_RIGHTS', label: 'LGBTQ+ people deserve equal rights' },
3
+ { value: 'LGBTQ_SOCIAL_ACCEPTANCE', label: 'Society should accept LGBTQ+ people' },
4
+ { value: 'LGBTQ_PRIVATE_MATTER', label: "It's a private matter" },
5
+ { value: 'LGBTQ_SHOULD_NOT_BE_DISCRIMINATED', label: 'They should not face discrimination' },
6
+ { value: 'LGBTQ_TRADITION_CONFLICT', label: 'It conflicts with our traditions' },
7
+ { value: 'LGBTQ_NOT_COMFORTABLE', label: "I'm not comfortable with it" },
8
+ { value: 'LGBTQ_DONT_KNOW', label: "I don't know enough about it" },
9
+ { value: 'LGBTQ_PREFER_NOT_SAY', label: 'Prefer not to say' },
10
+ ];
11
+ export const transgenderStatementOptions = [
12
+ {
13
+ value: 'TRANS_CHILD_KEEP_IN_FAMILY',
14
+ label: 'A transgender child should be kept in the family',
15
+ },
16
+ { value: 'TRANS_EQUAL_RIGHTS', label: 'Transgender people deserve equal rights' },
17
+ { value: 'TRANS_PART_OF_NORMAL_SOCIETY', label: 'They are part of normal society' },
18
+ { value: 'TRANS_NO_ABANDONMENT', label: 'No one should abandon a transgender family member' },
19
+ { value: 'TRANS_ONLY_SPECIAL_COMMUNITY', label: 'They belong to their own special community' },
20
+ { value: 'TRANS_UNCOMFORTABLE', label: "I'm uncomfortable around transgender people" },
21
+ { value: 'TRANS_DONT_KNOW', label: "I don't know enough" },
22
+ { value: 'TRANS_PREFER_NOT_SAY', label: 'Prefer not to say' },
23
+ ];
24
+ export const casteDiscriminationPlaceOptions = [
25
+ { value: 'SCHOOL_EDUCATION', label: 'School / Education' },
26
+ { value: 'WORKPLACE', label: 'Workplace' },
27
+ { value: 'LOCALITY', label: 'Locality / Neighborhood' },
28
+ { value: 'GOVT_OFFICES', label: 'Government offices' },
29
+ { value: 'MARKET', label: 'Market / Shops' },
30
+ { value: 'RELIGIOUS_SPACE', label: 'Religious spaces' },
31
+ { value: 'OTHER', label: 'Other' },
32
+ ];
33
+ export const worldView = {
34
+ key: 'world_view',
35
+ label: 'World View & Experience',
36
+ step: 10,
37
+ description: 'Views on social issues, equality, and discrimination.',
38
+ fields: [
39
+ {
40
+ order: 1,
41
+ key: 'viewOnAnimalCruelty',
42
+ label: 'View on Animal Cruelty',
43
+ type: 'single_select',
44
+ step: 10,
45
+ isOnboarding: true,
46
+ 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
+ ],
54
+ },
55
+ {
56
+ order: 2,
57
+ key: 'viewOnLgbtqStatements',
58
+ label: 'Views on LGBTQ+ Rights',
59
+ type: 'multi_select',
60
+ step: 10,
61
+ isOnboarding: true,
62
+ optional: true,
63
+ options: [...lgbtqStatementOptions],
64
+ },
65
+ {
66
+ order: 3,
67
+ key: 'viewOnLgbtqOpinion',
68
+ label: 'LGBTQ+ Opinion',
69
+ type: 'textarea',
70
+ step: 10,
71
+ isOnboarding: true,
72
+ optional: true,
73
+ maxLength: 500,
74
+ },
75
+ {
76
+ order: 4,
77
+ key: 'viewOnTransgenderInclusion',
78
+ label: 'Views on Transgender Inclusion',
79
+ type: 'multi_select',
80
+ step: 10,
81
+ isOnboarding: true,
82
+ optional: true,
83
+ options: [...transgenderStatementOptions],
84
+ },
85
+ {
86
+ order: 5,
87
+ key: 'viewOnTransgenderOpinion',
88
+ label: 'Transgender Opinion',
89
+ type: 'textarea',
90
+ step: 10,
91
+ isOnboarding: true,
92
+ optional: true,
93
+ maxLength: 500,
94
+ },
95
+ {
96
+ order: 6,
97
+ key: 'facingCasteDiscrimination',
98
+ label: 'Caste Discrimination Experience',
99
+ type: 'single_select',
100
+ step: 10,
101
+ isOnboarding: true,
102
+ optional: true,
103
+ 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
+ ],
110
+ },
111
+ {
112
+ order: 7,
113
+ key: 'casteDiscriminationPlaces',
114
+ label: 'Where Discrimination Faced',
115
+ type: 'multi_select',
116
+ step: 10,
117
+ isOnboarding: true,
118
+ optional: true,
119
+ options: [...casteDiscriminationPlaceOptions],
120
+ conditionalOn: { field: 'facingCasteDiscrimination', values: ['YES_OFTEN', 'YES_SOMETIMES'] },
121
+ },
122
+ {
123
+ order: 8,
124
+ key: 'viewOnGenderEquality',
125
+ label: 'View on Gender Equality',
126
+ type: 'single_select',
127
+ step: 10,
128
+ isOnboarding: true,
129
+ 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
+ ],
137
+ },
138
+ ],
139
+ };
140
+ //# sourceMappingURL=10-worldview.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"10-worldview.js","sourceRoot":"","sources":["../../src/profile-fields/10-worldview.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,EAAE,KAAK,EAAE,oBAAoB,EAAE,KAAK,EAAE,oCAAoC,EAAE;IAC5E,EAAE,KAAK,EAAE,yBAAyB,EAAE,KAAK,EAAE,qCAAqC,EAAE;IAClF,EAAE,KAAK,EAAE,sBAAsB,EAAE,KAAK,EAAE,uBAAuB,EAAE;IACjE,EAAE,KAAK,EAAE,mCAAmC,EAAE,KAAK,EAAE,qCAAqC,EAAE;IAC5F,EAAE,KAAK,EAAE,0BAA0B,EAAE,KAAK,EAAE,kCAAkC,EAAE;IAChF,EAAE,KAAK,EAAE,uBAAuB,EAAE,KAAK,EAAE,6BAA6B,EAAE;IACxE,EAAE,KAAK,EAAE,iBAAiB,EAAE,KAAK,EAAE,8BAA8B,EAAE;IACnE,EAAE,KAAK,EAAE,sBAAsB,EAAE,KAAK,EAAE,mBAAmB,EAAE;CACrD,CAAC;AAEX,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC;QACE,KAAK,EAAE,4BAA4B;QACnC,KAAK,EAAE,kDAAkD;KAC1D;IACD,EAAE,KAAK,EAAE,oBAAoB,EAAE,KAAK,EAAE,yCAAyC,EAAE;IACjF,EAAE,KAAK,EAAE,8BAA8B,EAAE,KAAK,EAAE,iCAAiC,EAAE;IACnF,EAAE,KAAK,EAAE,sBAAsB,EAAE,KAAK,EAAE,mDAAmD,EAAE;IAC7F,EAAE,KAAK,EAAE,8BAA8B,EAAE,KAAK,EAAE,4CAA4C,EAAE;IAC9F,EAAE,KAAK,EAAE,qBAAqB,EAAE,KAAK,EAAE,6CAA6C,EAAE;IACtF,EAAE,KAAK,EA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EAAE,eAAe,EAAE,KAAK,EAAE,gBAAgB,EAAE;gBACnD,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE;gBAC5B,EAAE,KAAK,EAAE,gBAAgB,EAAE,KAAK,EAAE,mBAAmB,EAAE;aACxD;SACF;QACD;YACE,KAAK,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;gBACP,EAAE,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"]}
@@ -0,0 +1,3 @@
1
+ import type { FieldGroup } from './types.js';
2
+ export declare const residence: FieldGroup;
3
+ //# sourceMappingURL=11-residence.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"11-residence.d.ts","sourceRoot":"","sources":["../../src/profile-fields/11-residence.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,SAAS,EAAE,UA2CvB,CAAC"}
@@ -0,0 +1,45 @@
1
+ export const residence = {
2
+ key: 'residence',
3
+ label: 'Residence & Address',
4
+ step: 11,
5
+ description: 'Current, permanent, native, and ancestral addresses.',
6
+ fields: [
7
+ {
8
+ order: 1,
9
+ key: 'currentAddress',
10
+ label: 'Current Address',
11
+ type: 'address',
12
+ step: 11,
13
+ isOnboarding: true,
14
+ description: 'State → District → Village / Colony',
15
+ },
16
+ {
17
+ order: 2,
18
+ key: 'permanentAddress',
19
+ label: 'Permanent Address',
20
+ type: 'address',
21
+ step: 11,
22
+ isOnboarding: true,
23
+ optional: true,
24
+ },
25
+ {
26
+ order: 3,
27
+ key: 'homeNativePlace',
28
+ label: 'Home Native Place',
29
+ type: 'address',
30
+ step: 11,
31
+ isOnboarding: true,
32
+ optional: true,
33
+ },
34
+ {
35
+ order: 4,
36
+ key: 'ancestralPlace',
37
+ label: 'Ancestral Place',
38
+ type: 'address',
39
+ step: 11,
40
+ isOnboarding: true,
41
+ optional: true,
42
+ },
43
+ ],
44
+ };
45
+ //# sourceMappingURL=11-residence.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"11-residence.js","sourceRoot":"","sources":["../../src/profile-fields/11-residence.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,SAAS,GAAe;IACnC,GAAG,EAAE,WAAW;IAChB,KAAK,EAAE,qBAAqB;IAC5B,IAAI,EAAE,EAAE;IACR,WAAW,EAAE,sDAAsD;IACnE,MAAM,EAAE;QACN;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,gBAAgB;YACrB,KAAK,EAAE,iBAAiB;YACxB,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,EAAE;YACR,YAAY,EAAE,IAAI;YAClB,WAAW,EAAE,qCAAqC;SACnD;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,kBAAkB;YACvB,KAAK,EAAE,mBAAmB;YAC1B,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,EAAE;YACR,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;SACf;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,iBAAiB;YACtB,KAAK,EAAE,mBAAmB;YAC1B,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,EAAE;YACR,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;SACf;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,gBAAgB;YACrB,KAAK,EAAE,iBAAiB;YACxB,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,EAAE;YACR,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;SACf;KACF;CACF,CAAC","sourcesContent":["import type { FieldGroup } from './types.js';\n\nexport const residence: FieldGroup = {\n key: 'residence',\n label: 'Residence & Address',\n step: 11,\n description: 'Current, permanent, native, and ancestral addresses.',\n fields: [\n {\n order: 1,\n key: 'currentAddress',\n label: 'Current Address',\n type: 'address',\n step: 11,\n isOnboarding: true,\n description: 'State → District → Village / Colony',\n },\n {\n order: 2,\n key: 'permanentAddress',\n label: 'Permanent Address',\n type: 'address',\n step: 11,\n isOnboarding: true,\n optional: true,\n },\n {\n order: 3,\n key: 'homeNativePlace',\n label: 'Home Native Place',\n type: 'address',\n step: 11,\n isOnboarding: true,\n optional: true,\n },\n {\n order: 4,\n key: 'ancestralPlace',\n label: 'Ancestral Place',\n type: 'address',\n step: 11,\n isOnboarding: true,\n optional: true,\n },\n ],\n};\n"]}
@@ -0,0 +1,90 @@
1
+ import type { FieldGroup } from './types.js';
2
+ export declare const familyMemberOptions: readonly [{
3
+ readonly value: "father";
4
+ readonly label: "Father";
5
+ }, {
6
+ readonly value: "mother";
7
+ readonly label: "Mother";
8
+ }, {
9
+ readonly value: "step_father";
10
+ readonly label: "Step-father";
11
+ }, {
12
+ readonly value: "step_mother";
13
+ readonly label: "Step-mother";
14
+ }, {
15
+ readonly value: "wife_husband";
16
+ readonly label: "Wife / Husband";
17
+ }, {
18
+ readonly value: "blood_brother";
19
+ readonly label: "Blood Brother";
20
+ }, {
21
+ readonly value: "blood_sister";
22
+ readonly label: "Blood Sister";
23
+ }, {
24
+ readonly value: "half_brother";
25
+ readonly label: "Half Brother";
26
+ }, {
27
+ readonly value: "half_sister";
28
+ readonly label: "Half Sister";
29
+ }, {
30
+ readonly value: "step_brother";
31
+ readonly label: "Step Brother";
32
+ }, {
33
+ readonly value: "step_sister";
34
+ readonly label: "Step Sister";
35
+ }, {
36
+ readonly value: "son";
37
+ readonly label: "Son";
38
+ }, {
39
+ readonly value: "daughter";
40
+ readonly label: "Daughter";
41
+ }, {
42
+ readonly value: "other";
43
+ readonly label: "Other";
44
+ }];
45
+ export declare const digitalAccessOptions: readonly [{
46
+ readonly value: "smartphone";
47
+ readonly label: "Smartphone";
48
+ }, {
49
+ readonly value: "feature_phone";
50
+ readonly label: "Feature phone";
51
+ }, {
52
+ readonly value: "computer_laptop";
53
+ readonly label: "Computer / Laptop";
54
+ }, {
55
+ readonly value: "internet_at_home";
56
+ readonly label: "Internet at home";
57
+ }, {
58
+ readonly value: "no_internet";
59
+ readonly label: "No internet access";
60
+ }, {
61
+ readonly value: "no_phone";
62
+ readonly label: "No phone";
63
+ }];
64
+ export declare const householdIncomeOptions: readonly [{
65
+ readonly value: "below_5k";
66
+ readonly label: "Below ₹5,000";
67
+ }, {
68
+ readonly value: "5k_10k";
69
+ readonly label: "₹5,000 – ₹10,000";
70
+ }, {
71
+ readonly value: "10k_25k";
72
+ readonly label: "₹10,000 – ₹25,000";
73
+ }, {
74
+ readonly value: "25k_50k";
75
+ readonly label: "₹25,000 – ₹50,000";
76
+ }, {
77
+ readonly value: "50k_1L";
78
+ readonly label: "₹50,000 – ₹1 Lakh";
79
+ }, {
80
+ readonly value: "1L_2.5L";
81
+ readonly label: "₹1 Lakh – ₹2.5 Lakh";
82
+ }, {
83
+ readonly value: "above_2.5L";
84
+ readonly label: "Above ₹2.5 Lakh";
85
+ }, {
86
+ readonly value: "prefer_not_to_say";
87
+ readonly label: "Prefer not to say";
88
+ }];
89
+ export declare const household: FieldGroup;
90
+ //# sourceMappingURL=12-household.d.ts.map
@@ -0,0 +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"}