udp-schema 2.18.0 → 2.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/profile-fields/02-political.d.ts +16 -8
  2. package/dist/profile-fields/02-political.d.ts.map +1 -1
  3. package/dist/profile-fields/02-political.js +12 -4
  4. package/dist/profile-fields/02-political.js.map +1 -1
  5. package/dist/profile-fields/03-electoral.d.ts +42 -0
  6. package/dist/profile-fields/03-electoral.d.ts.map +1 -1
  7. package/dist/profile-fields/03-electoral.js +22 -19
  8. package/dist/profile-fields/03-electoral.js.map +1 -1
  9. package/dist/profile-fields/04-leadership.d.ts +74 -0
  10. package/dist/profile-fields/04-leadership.d.ts.map +1 -1
  11. package/dist/profile-fields/04-leadership.js +38 -33
  12. package/dist/profile-fields/04-leadership.js.map +1 -1
  13. package/dist/profile-fields/07-employment.d.ts +10 -0
  14. package/dist/profile-fields/07-employment.d.ts.map +1 -1
  15. package/dist/profile-fields/07-employment.js +6 -5
  16. package/dist/profile-fields/07-employment.js.map +1 -1
  17. package/dist/profile-fields/09-health.d.ts +80 -0
  18. package/dist/profile-fields/09-health.d.ts.map +1 -1
  19. package/dist/profile-fields/09-health.js +40 -35
  20. package/dist/profile-fields/09-health.js.map +1 -1
  21. package/dist/profile-fields/10-worldview.d.ts +45 -0
  22. package/dist/profile-fields/10-worldview.d.ts.map +1 -1
  23. package/dist/profile-fields/10-worldview.js +23 -20
  24. package/dist/profile-fields/10-worldview.js.map +1 -1
  25. package/dist/profile-fields/12-household.d.ts +114 -0
  26. package/dist/profile-fields/12-household.d.ts.map +1 -1
  27. package/dist/profile-fields/12-household.js +54 -48
  28. package/dist/profile-fields/12-household.js.map +1 -1
  29. package/dist/profile-fields/index.d.ts +6 -6
  30. package/dist/profile-fields/index.d.ts.map +1 -1
  31. package/dist/profile-fields/index.js +6 -6
  32. package/dist/profile-fields/index.js.map +1 -1
  33. package/package.json +1 -1
@@ -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
  };
@@ -1 +1 @@
1
- {"version":3,"file":"12-household.js","sourceRoot":"","sources":["../../src/profile-fields/12-household.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;IACpC,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;IACpC,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE;IAC9C,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE;IAC9C,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,gBAAgB,EAAE;IAClD,EAAE,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,eAAe,EAAE;IAClD,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,cAAc,EAAE;IAChD,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,cAAc,EAAE;IAChD,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE;IAC9C,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,cAAc,EAAE;IAChD,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE;IAC9C,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE;IAC9B,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE;IACxC,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;CAC1B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AE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE;gBACP,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE;gBAC9C,EAAE,KAAK,EAAE,gBAAgB,EAAE,KAAK,EAAE,gBAAgB,EAAE;gBACpD,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE;gBAC9C,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE;gBACxC,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE;gBAC5C,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;gBACtC,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE;gBAC5C,EAAE,KAAK,EAAE,iBAAiB,EAAE,KAAK,EAAE,iBAAiB,EAAE;gBACtD,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;aACnC;SACF;KACF;CACF,CAAC","sourcesContent":["import type { FieldGroup } from './types.js';\n\nexport const familyMemberOptions = [\n { value: 'father', label: 'Father' },\n { value: 'mother', label: 'Mother' },\n { value: 'step_father', label: 'Step-father' },\n { value: 'step_mother', label: 'Step-mother' },\n { value: 'wife_husband', label: 'Wife / Husband' },\n { value: 'blood_brother', label: 'Blood Brother' },\n { value: 'blood_sister', label: 'Blood Sister' },\n { value: 'half_brother', label: 'Half Brother' },\n { value: 'half_sister', label: 'Half Sister' },\n { value: 'step_brother', label: 'Step Brother' },\n { value: 'step_sister', label: 'Step Sister' },\n { value: 'son', label: 'Son' },\n { value: 'daughter', label: 'Daughter' },\n { value: 'other', label: 'Other' },\n] as const;\n\nexport const digitalAccessOptions = [\n { value: 'smartphone', label: 'Smartphone' },\n { value: 'feature_phone', label: 'Feature phone' },\n { value: 'computer_laptop', label: 'Computer / Laptop' },\n { value: 'internet_at_home', label: 'Internet at home' },\n { value: 'no_internet', label: 'No internet access' },\n { value: 'no_phone', label: 'No phone' },\n] as const;\n\nexport const householdIncomeOptions = [\n { value: 'below_5k', label: 'Below ₹5,000' },\n { value: '5k_10k', label: '₹5,000 – ₹10,000' },\n { value: '10k_25k', label: '₹10,000 – ₹25,000' },\n { value: '25k_50k', label: '₹25,000 – ₹50,000' },\n { value: '50k_1L', label: '₹50,000 – ₹1 Lakh' },\n { value: '1L_2_5L', label: '₹1 Lakh – ₹2.5 Lakh' },\n { value: 'above_2_5L', label: 'Above ₹2.5 Lakh' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const household: FieldGroup = {\n key: 'household',\n label: 'Household & Economic Profile',\n step: 12,\n description: 'Family, housing, income, and economic profile.',\n fields: [\n {\n order: 1,\n key: 'maritalStatus',\n label: 'Marital Status',\n type: 'single_select',\n step: 12,\n isOnboarding: true,\n optional: true,\n options: [\n { value: 'single', label: 'Single' },\n { value: 'married', label: 'Married' },\n { value: 'divorced', label: 'Divorced' },\n { value: 'widowed', label: 'Widowed' },\n { value: 'separated', label: 'Separated' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n ],\n },\n {\n order: 2,\n key: 'familyMembers',\n label: 'Family Members',\n type: 'multi_select',\n step: 12,\n isOnboarding: true,\n optional: true,\n options: [...familyMemberOptions],\n },\n {\n order: 3,\n key: 'numberOfDependents',\n label: 'Number of Dependents',\n type: 'number',\n step: 12,\n isOnboarding: true,\n optional: true,\n min: 0,\n max: 50,\n },\n {\n order: 4,\n key: 'housingType',\n label: 'Housing Type',\n type: 'single_select',\n step: 12,\n isOnboarding: true,\n optional: true,\n options: [\n { value: 'own_house', label: 'Own house' },\n { value: 'rented', label: 'Rented' },\n { value: 'government_quarters', label: 'Government quarters' },\n { value: 'shared', label: 'Shared housing' },\n { value: 'homeless', label: 'Homeless' },\n { value: 'other', label: 'Other' },\n ],\n },\n {\n order: 5,\n key: 'householdIncome',\n label: 'Household Income',\n type: 'single_select',\n step: 12,\n isOnboarding: true,\n optional: true,\n options: [...householdIncomeOptions],\n sensitive: true,\n },\n {\n order: 6,\n key: 'bplCard',\n label: 'BPL Card',\n type: 'single_select',\n step: 12,\n isOnboarding: true,\n optional: true,\n options: [\n { value: 'yes', label: 'Yes' },\n { value: 'no', label: 'No' },\n { value: 'applied', label: 'Applied / Pending' },\n { value: 'dont_know', label: \"Don't know\" },\n ],\n },\n {\n order: 7,\n key: 'digitalAccess',\n label: 'Digital Access',\n type: 'multi_select',\n step: 12,\n isOnboarding: true,\n optional: true,\n options: [...digitalAccessOptions],\n },\n {\n order: 8,\n key: 'migrationStatus',\n label: 'Migration Status',\n type: 'single_select',\n step: 12,\n isOnboarding: true,\n optional: true,\n options: [\n { value: 'native', label: 'Native (always lived here)' },\n { value: 'within_district', label: 'Migrated within district' },\n { value: 'within_state', label: 'Migrated within state' },\n { value: 'inter_state', label: 'Inter-state migrant' },\n { value: 'international', label: 'International migrant' },\n ],\n },\n {\n order: 9,\n key: 'landOwnership',\n label: 'Land Ownership',\n type: 'single_select',\n step: 12,\n isOnboarding: true,\n optional: true,\n options: [\n { value: 'own_agricultural', label: 'Own agricultural land' },\n { value: 'own_residential', label: 'Own residential land' },\n { value: 'government_allotted', label: 'Government allotted' },\n { value: 'no_land', label: 'No land' },\n { value: 'leased', label: 'Leased land' },\n { value: 'other', label: 'Other' },\n ],\n },\n {\n order: 10,\n key: 'primaryIncomeSource',\n label: 'Primary Income Source',\n type: 'single_select',\n step: 12,\n isOnboarding: true,\n optional: true,\n options: [\n { value: 'agriculture', label: 'Agriculture' },\n { value: 'government_job', label: 'Government job' },\n { value: 'private_job', label: 'Private job' },\n { value: 'business', label: 'Business' },\n { value: 'daily_wage', label: 'Daily wage' },\n { value: 'pension', label: 'Pension' },\n { value: 'remittance', label: 'Remittance' },\n { value: 'no_fixed_income', label: 'No fixed income' },\n { value: 'other', label: 'Other' },\n ],\n },\n ],\n};\n"]}
1
+ {"version":3,"file":"12-household.js","sourceRoot":"","sources":["../../src/profile-fields/12-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AE,CAAC,GAAG,oBAAoB,CAAC;SACnC;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,iBAAiB;YACtB,KAAK,EAAE,kBAAkB;YACzB,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,EAAE;YACR,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,sBAAsB,CAAC;SACrC;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,eAAe;YACpB,KAAK,EAAE,gBAAgB;YACvB,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,EAAE;YACR,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,oBAAoB,CAAC;SACnC;QACD;YACE,KAAK,EAAE,EAAE;YACT,GAAG,EAAE,qBAAqB;YAC1B,KAAK,EAAE,uBAAuB;YAC9B,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,EAAE;YACR,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,0BAA0B,CAAC;SACzC;KACF;CACF,CAAC","sourcesContent":["import type { FieldGroup } from './types.js';\n\nexport const familyMemberOptions = [\n { value: 'father', label: 'Father' },\n { value: 'mother', label: 'Mother' },\n { value: 'step_father', label: 'Step-father' },\n { value: 'step_mother', label: 'Step-mother' },\n { value: 'wife_husband', label: 'Wife / Husband' },\n { value: 'blood_brother', label: 'Blood Brother' },\n { value: 'blood_sister', label: 'Blood Sister' },\n { value: 'half_brother', label: 'Half Brother' },\n { value: 'half_sister', label: 'Half Sister' },\n { value: 'step_brother', label: 'Step Brother' },\n { value: 'step_sister', label: 'Step Sister' },\n { value: 'son', label: 'Son' },\n { value: 'daughter', label: 'Daughter' },\n { value: 'other', label: 'Other' },\n] as const;\n\nexport const digitalAccessOptions = [\n { value: 'smartphone', label: 'Smartphone' },\n { value: 'feature_phone', label: 'Feature phone' },\n { value: 'computer_laptop', label: 'Computer / Laptop' },\n { value: 'internet_at_home', label: 'Internet at home' },\n { value: 'no_internet', label: 'No internet access' },\n { value: 'no_phone', label: 'No phone' },\n] as const;\n\nexport const householdIncomeOptions = [\n { value: 'below_5k', label: 'Below ₹5,000' },\n { value: '5k_10k', label: '₹5,000 – ₹10,000' },\n { value: '10k_25k', label: '₹10,000 – ₹25,000' },\n { value: '25k_50k', label: '₹25,000 – ₹50,000' },\n { value: '50k_1L', label: '₹50,000 – ₹1 Lakh' },\n { value: '1L_2_5L', label: '₹1 Lakh – ₹2.5 Lakh' },\n { value: 'above_2_5L', label: 'Above ₹2.5 Lakh' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const maritalStatusOptions = [\n { value: 'single', label: 'Single' },\n { value: 'married', label: 'Married' },\n { value: 'divorced', label: 'Divorced' },\n { value: 'widowed', label: 'Widowed' },\n { value: 'separated', label: 'Separated' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const housingTypeOptions = [\n { value: 'own_house', label: 'Own house' },\n { value: 'rented', label: 'Rented' },\n { value: 'government_quarters', label: 'Government quarters' },\n { value: 'shared', label: 'Shared housing' },\n { value: 'homeless', label: 'Homeless' },\n { value: 'other', label: 'Other' },\n] as const;\n\nexport const bplCardOptions = [\n { value: 'yes', label: 'Yes' },\n { value: 'no', label: 'No' },\n { value: 'applied', label: 'Applied / Pending' },\n { value: 'dont_know', label: \"Don't know\" },\n] as const;\n\nexport const migrationStatusOptions = [\n { value: 'native', label: 'Native (always lived here)' },\n { value: 'within_district', label: 'Migrated within district' },\n { value: 'within_state', label: 'Migrated within state' },\n { value: 'inter_state', label: 'Inter-state migrant' },\n { value: 'international', label: 'International migrant' },\n] as const;\n\nexport const landOwnershipOptions = [\n { value: 'own_agricultural', label: 'Own agricultural land' },\n { value: 'own_residential', label: 'Own residential land' },\n { value: 'government_allotted', label: 'Government allotted' },\n { value: 'no_land', label: 'No land' },\n { value: 'leased', label: 'Leased land' },\n { value: 'other', label: 'Other' },\n] as const;\n\nexport const primaryIncomeSourceOptions = [\n { value: 'agriculture', label: 'Agriculture' },\n { value: 'government_job', label: 'Government job' },\n { value: 'private_job', label: 'Private job' },\n { value: 'business', label: 'Business' },\n { value: 'daily_wage', label: 'Daily wage' },\n { value: 'pension', label: 'Pension' },\n { value: 'remittance', label: 'Remittance' },\n { value: 'no_fixed_income', label: 'No fixed income' },\n { value: 'other', label: 'Other' },\n] as const;\n\nexport const household: FieldGroup = {\n key: 'household',\n label: 'Household & Economic Profile',\n step: 12,\n description: 'Family, housing, income, and economic profile.',\n fields: [\n {\n order: 1,\n key: 'maritalStatus',\n label: 'Marital Status',\n type: 'single_select',\n step: 12,\n isOnboarding: true,\n optional: true,\n options: [...maritalStatusOptions],\n },\n {\n order: 2,\n key: 'familyMembers',\n label: 'Family Members',\n type: 'multi_select',\n step: 12,\n isOnboarding: true,\n optional: true,\n options: [...familyMemberOptions],\n },\n {\n order: 3,\n key: 'numberOfDependents',\n label: 'Number of Dependents',\n type: 'number',\n step: 12,\n isOnboarding: true,\n optional: true,\n min: 0,\n max: 50,\n },\n {\n order: 4,\n key: 'housingType',\n label: 'Housing Type',\n type: 'single_select',\n step: 12,\n isOnboarding: true,\n optional: true,\n options: [...housingTypeOptions],\n },\n {\n order: 5,\n key: 'householdIncome',\n label: 'Household Income',\n type: 'single_select',\n step: 12,\n isOnboarding: true,\n optional: true,\n options: [...householdIncomeOptions],\n sensitive: true,\n },\n {\n order: 6,\n key: 'bplCard',\n label: 'BPL Card',\n type: 'single_select',\n step: 12,\n isOnboarding: true,\n optional: true,\n options: [...bplCardOptions],\n },\n {\n order: 7,\n key: 'digitalAccess',\n label: 'Digital Access',\n type: 'multi_select',\n step: 12,\n isOnboarding: true,\n optional: true,\n options: [...digitalAccessOptions],\n },\n {\n order: 8,\n key: 'migrationStatus',\n label: 'Migration Status',\n type: 'single_select',\n step: 12,\n isOnboarding: true,\n optional: true,\n options: [...migrationStatusOptions],\n },\n {\n order: 9,\n key: 'landOwnership',\n label: 'Land Ownership',\n type: 'single_select',\n step: 12,\n isOnboarding: true,\n optional: true,\n options: [...landOwnershipOptions],\n },\n {\n order: 10,\n key: 'primaryIncomeSource',\n label: 'Primary Income Source',\n type: 'single_select',\n step: 12,\n isOnboarding: true,\n optional: true,\n options: [...primaryIncomeSourceOptions],\n },\n ],\n};\n"]}
@@ -7,16 +7,16 @@
7
7
  export type { BaseField, FieldGroup, FieldOption, MultiSelectField, NumberField, ProfileField, SelectField, TextField, } from './types.js';
8
8
  export { genderOptions, languageOptions, minorityOptions, profile, religionOptions, reservationOptions, } from './01-profile.js';
9
9
  export { civicEngagementOptions, electionResultOptions, officeElectionLevelOptions, partyAssociationRoleOptions, partyOptions, politicalAssociation, politicalSpectrumOptions, relativesInPoliticsOptions, } from './02-political.js';
10
- export { electoralBehaviour, votingIssueOptions } from './03-electoral.js';
11
- export { desiredPoliticalPositionOptions, leadershipAmbitions, leadershipSkillsetOptions, } from './04-leadership.js';
10
+ export { electoralBehaviour, votingFrequencyOptions, votingIssueOptions, willVoteOptions, yesNoPreferOptions, } from './03-electoral.js';
11
+ export { comfortWithVisibilityOptions, desiredPoliticalPositionOptions, leadershipAmbitions, leadershipSkillsetOptions, participateOptions, pastExperienceOptions, politicalExposureOptions, socialInfluenceOptions, } from './04-leadership.js';
12
12
  export { mbtiOptions, psychologicalAssessment } from './05-psychological.js';
13
13
  export { boardOptions, DEGREE_VALUES_BY_LEVEL, degreeNameOptions, education, qualificationOptions, streamOptions, subjectOptions, } from './06-education.js';
14
- export { employment, employmentStatusOptions, incomeRangeOptions, shiftOptions, } from './07-employment.js';
14
+ export { comfortableWithShiftOptions, employment, employmentStatusOptions, incomeRangeOptions, shiftOptions, } from './07-employment.js';
15
15
  export { ageOfRealizationOptions, cognitiveStrengthOptions, communicationPreferenceOptions, executiveFunctionChallengeOptions, impactOnLifeOptions, learningStyleOptions, maskingBurnoutOptions, mentalHealthConditionOptions, neurodevelopmentalConditionOptions, neurodiverseIdentityOptions, neurodiversity, neurologicalChronicConditionOptions, personalityPatternOptions, sensoryProfileOptions, supportAccommodationOptions, } from './08-neurodiversity.js';
16
- export { dietOptions, disabilityOptions, healthLifestyle, substanceUseOptions, } from './09-health.js';
17
- export { casteDiscriminationPlaceOptions, lgbtqStatementOptions, transgenderStatementOptions, worldView, } from './10-worldview.js';
16
+ export { dietOptions, disabilityOptions, generalHealthOptions, healthInsuranceOptions, healthLifestyle, physicalActivityOptions, sleepQualityOptions, stressLevelOptions, substanceUseOptions, } from './09-health.js';
17
+ export { animalCrueltyOptions, casteDiscriminationOptions, casteDiscriminationPlaceOptions, genderEqualityOptions, lgbtqStatementOptions, transgenderStatementOptions, worldView, } from './10-worldview.js';
18
18
  export { residence } from './11-residence.js';
19
- export { digitalAccessOptions, familyMemberOptions, household, householdIncomeOptions, } from './12-household.js';
19
+ export { bplCardOptions, digitalAccessOptions, familyMemberOptions, household, householdIncomeOptions, housingTypeOptions, landOwnershipOptions, maritalStatusOptions, migrationStatusOptions, primaryIncomeSourceOptions, } from './12-household.js';
20
20
  import type { FieldGroup } from './types.js';
21
21
  export declare const allFieldGroups: readonly FieldGroup[];
22
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/profile-fields/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,YAAY,EACV,SAAS,EACT,UAAU,EACV,WAAW,EACX,gBAAgB,EAChB,WAAW,EACX,YAAY,EACZ,WAAW,EACX,SAAS,GACV,MAAM,YAAY,CAAC;AAIpB,OAAO,EACL,aAAa,EACb,eAAe,EACf,eAAe,EACf,OAAO,EACP,eAAe,EACf,kBAAkB,GACnB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,sBAAsB,EACtB,qBAAqB,EACrB,0BAA0B,EAC1B,2BAA2B,EAC3B,YAAY,EACZ,oBAAoB,EACpB,wBAAwB,EACxB,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AChC,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,oBAAoB,EACpB,sBAAsB,EACtB,eAAe,EACf,uBAAuB,EACvB,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,GACpB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,oBAAoB,EACpB,0BAA0B,EAC1B,+BAA+B,EAC/B,qBAAqB,EACrB,qBAAqB,EACrB,2BAA2B,EAC3B,SAAS,GACV,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EACL,cAAc,EACd,oBAAoB,EACpB,mBAAmB,EACnB,SAAS,EACT,sBAAsB,EACtB,kBAAkB,EAClB,oBAAoB,EACpB,oBAAoB,EACpB,sBAAsB,EACtB,0BAA0B,GAC3B,MAAM,mBAAmB,CAAC;AAgB3B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,cAAc,EAAE,SAAS,UAAU,EAa/C,CAAC"}
@@ -7,16 +7,16 @@
7
7
  // ── Field groups ────────────────────────────────────────────────────────────
8
8
  export { genderOptions, languageOptions, minorityOptions, profile, religionOptions, reservationOptions, } from './01-profile.js';
9
9
  export { civicEngagementOptions, electionResultOptions, officeElectionLevelOptions, partyAssociationRoleOptions, partyOptions, politicalAssociation, politicalSpectrumOptions, relativesInPoliticsOptions, } from './02-political.js';
10
- export { electoralBehaviour, votingIssueOptions } from './03-electoral.js';
11
- export { desiredPoliticalPositionOptions, leadershipAmbitions, leadershipSkillsetOptions, } from './04-leadership.js';
10
+ export { electoralBehaviour, votingFrequencyOptions, votingIssueOptions, willVoteOptions, yesNoPreferOptions, } from './03-electoral.js';
11
+ export { comfortWithVisibilityOptions, desiredPoliticalPositionOptions, leadershipAmbitions, leadershipSkillsetOptions, participateOptions, pastExperienceOptions, politicalExposureOptions, socialInfluenceOptions, } from './04-leadership.js';
12
12
  export { mbtiOptions, psychologicalAssessment } from './05-psychological.js';
13
13
  export { boardOptions, DEGREE_VALUES_BY_LEVEL, degreeNameOptions, education, qualificationOptions, streamOptions, subjectOptions, } from './06-education.js';
14
- export { employment, employmentStatusOptions, incomeRangeOptions, shiftOptions, } from './07-employment.js';
14
+ export { comfortableWithShiftOptions, employment, employmentStatusOptions, incomeRangeOptions, shiftOptions, } from './07-employment.js';
15
15
  export { ageOfRealizationOptions, cognitiveStrengthOptions, communicationPreferenceOptions, executiveFunctionChallengeOptions, impactOnLifeOptions, learningStyleOptions, maskingBurnoutOptions, mentalHealthConditionOptions, neurodevelopmentalConditionOptions, neurodiverseIdentityOptions, neurodiversity, neurologicalChronicConditionOptions, personalityPatternOptions, sensoryProfileOptions, supportAccommodationOptions, } from './08-neurodiversity.js';
16
- export { dietOptions, disabilityOptions, healthLifestyle, substanceUseOptions, } from './09-health.js';
17
- export { casteDiscriminationPlaceOptions, lgbtqStatementOptions, transgenderStatementOptions, worldView, } from './10-worldview.js';
16
+ export { dietOptions, disabilityOptions, generalHealthOptions, healthInsuranceOptions, healthLifestyle, physicalActivityOptions, sleepQualityOptions, stressLevelOptions, substanceUseOptions, } from './09-health.js';
17
+ export { animalCrueltyOptions, casteDiscriminationOptions, casteDiscriminationPlaceOptions, genderEqualityOptions, lgbtqStatementOptions, transgenderStatementOptions, worldView, } from './10-worldview.js';
18
18
  export { residence } from './11-residence.js';
19
- export { digitalAccessOptions, familyMemberOptions, household, householdIncomeOptions, } from './12-household.js';
19
+ export { bplCardOptions, digitalAccessOptions, familyMemberOptions, household, householdIncomeOptions, housingTypeOptions, landOwnershipOptions, maritalStatusOptions, migrationStatusOptions, primaryIncomeSourceOptions, } from './12-household.js';
20
20
  // ── All field groups (for building lookup maps) ─────────────────────────────
21
21
  import { profile } from './01-profile.js';
22
22
  import { politicalAssociation } from './02-political.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/profile-fields/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAaH,+EA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ACnB,SAAS,EACT,sBAAsB,GACvB,MAAM,mBAAmB,CAAC;AAE3B,+EAA+E;AAE/E,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAG9C,MAAM,CAAC,MAAM,cAAc,GAA0B;IACnD,OAAO;IACP,oBAAoB;IACpB,kBAAkB;IAClB,mBAAmB;IACnB,uBAAuB;IACvB,SAAS;IACT,UAAU;IACV,cAAc;IACd,eAAe;IACf,SAAS;IACT,SAAS;IACT,SAAS;CACV,CAAC","sourcesContent":["/**\n * UDP Profile Fields — barrel export.\n *\n * Mirrors the dating-schema profile-fields pattern.\n * Each file defines a FieldGroup with rich field metadata and options.\n */\n\nexport type {\n BaseField,\n FieldGroup,\n FieldOption,\n MultiSelectField,\n NumberField,\n ProfileField,\n SelectField,\n TextField,\n} from './types.js';\n\n// ── Field groups ────────────────────────────────────────────────────────────\n\nexport {\n genderOptions,\n languageOptions,\n minorityOptions,\n profile,\n religionOptions,\n reservationOptions,\n} from './01-profile.js';\nexport {\n civicEngagementOptions,\n electionResultOptions,\n officeElectionLevelOptions,\n partyAssociationRoleOptions,\n partyOptions,\n politicalAssociation,\n politicalSpectrumOptions,\n relativesInPoliticsOptions,\n} from './02-political.js';\nexport { electoralBehaviour, votingIssueOptions } from './03-electoral.js';\nexport {\n desiredPoliticalPositionOptions,\n leadershipAmbitions,\n leadershipSkillsetOptions,\n} from './04-leadership.js';\nexport { mbtiOptions, psychologicalAssessment } from './05-psychological.js';\nexport {\n boardOptions,\n DEGREE_VALUES_BY_LEVEL,\n degreeNameOptions,\n education,\n qualificationOptions,\n streamOptions,\n subjectOptions,\n} from './06-education.js';\nexport {\n employment,\n employmentStatusOptions,\n incomeRangeOptions,\n shiftOptions,\n} from './07-employment.js';\nexport {\n ageOfRealizationOptions,\n cognitiveStrengthOptions,\n communicationPreferenceOptions,\n executiveFunctionChallengeOptions,\n impactOnLifeOptions,\n learningStyleOptions,\n maskingBurnoutOptions,\n mentalHealthConditionOptions,\n neurodevelopmentalConditionOptions,\n neurodiverseIdentityOptions,\n neurodiversity,\n neurologicalChronicConditionOptions,\n personalityPatternOptions,\n sensoryProfileOptions,\n supportAccommodationOptions,\n} from './08-neurodiversity.js';\nexport {\n dietOptions,\n disabilityOptions,\n healthLifestyle,\n substanceUseOptions,\n} from './09-health.js';\nexport {\n casteDiscriminationPlaceOptions,\n lgbtqStatementOptions,\n transgenderStatementOptions,\n worldView,\n} from './10-worldview.js';\nexport { residence } from './11-residence.js';\nexport {\n digitalAccessOptions,\n familyMemberOptions,\n household,\n householdIncomeOptions,\n} from './12-household.js';\n\n// ── All field groups (for building lookup maps) ─────────────────────────────\n\nimport { profile } from './01-profile.js';\nimport { politicalAssociation } from './02-political.js';\nimport { electoralBehaviour } from './03-electoral.js';\nimport { leadershipAmbitions } from './04-leadership.js';\nimport { psychologicalAssessment } from './05-psychological.js';\nimport { education } from './06-education.js';\nimport { employment } from './07-employment.js';\nimport { neurodiversity } from './08-neurodiversity.js';\nimport { healthLifestyle } from './09-health.js';\nimport { worldView } from './10-worldview.js';\nimport { residence } from './11-residence.js';\nimport { household } from './12-household.js';\nimport type { FieldGroup } from './types.js';\n\nexport const allFieldGroups: readonly FieldGroup[] = [\n profile,\n politicalAssociation,\n electoralBehaviour,\n leadershipAmbitions,\n psychologicalAssessment,\n education,\n employment,\n neurodiversity,\n healthLifestyle,\n worldView,\n residence,\n household,\n];\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/profile-fields/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAaH,+EAA+E;AAE/E,OAAO,EACL,aAAa,EACb,eAAe,EACf,eAAe,EACf,OAAO,EACP,eAAe,EACf,kBAAkB,GACnB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,sBAAsB,EACtB,qBAAqB,EACrB,0BAA0B,EAC1B,2BAA2B,EAC3B,YAAY,EACZ,oBAAoB,EACpB,wBAAwB,EACxB,0BAA0B,GAC3B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,kBAAkB,EAClB,sBAAsB,EACtB,kBAAkB,EAClB,eAAe,EACf,kBAAkB,GACnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,4BAA4B,EAC5B,+BAA+B,EAC/B,mBAAmB,EACnB,yBAAyB,EACzB,kBAAkB,EAClB,qBAAqB,EACrB,wBAAwB,EACxB,sBAAsB,GACvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,WAAW,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAC7E,OAAO,EACL,YAAY,EACZ,sBAAsB,EACtB,iBAAiB,EACjB,SAAS,EACT,oBAAoB,EACpB,aAAa,EACb,cAAc,GACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,2BAA2B,EAC3B,UAAU,EACV,uBAAuB,EACvB,kBAAkB,EAClB,YAAY,GACb,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,uBAAuB,EACvB,wBAAwB,EACxB,8BAA8B,EAC9B,iCAAiC,EACjC,mBAAmB,EACnB,oBAAoB,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AAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAG9C,MAAM,CAAC,MAAM,cAAc,GAA0B;IACnD,OAAO;IACP,oBAAoB;IACpB,kBAAkB;IAClB,mBAAmB;IACnB,uBAAuB;IACvB,SAAS;IACT,UAAU;IACV,cAAc;IACd,eAAe;IACf,SAAS;IACT,SAAS;IACT,SAAS;CACV,CAAC","sourcesContent":["/**\n * UDP Profile Fields — barrel export.\n *\n * Mirrors the dating-schema profile-fields pattern.\n * Each file defines a FieldGroup with rich field metadata and options.\n */\n\nexport type {\n BaseField,\n FieldGroup,\n FieldOption,\n MultiSelectField,\n NumberField,\n ProfileField,\n SelectField,\n TextField,\n} from './types.js';\n\n// ── Field groups ────────────────────────────────────────────────────────────\n\nexport {\n genderOptions,\n languageOptions,\n minorityOptions,\n profile,\n religionOptions,\n reservationOptions,\n} from './01-profile.js';\nexport {\n civicEngagementOptions,\n electionResultOptions,\n officeElectionLevelOptions,\n partyAssociationRoleOptions,\n partyOptions,\n politicalAssociation,\n politicalSpectrumOptions,\n relativesInPoliticsOptions,\n} from './02-political.js';\nexport {\n electoralBehaviour,\n votingFrequencyOptions,\n votingIssueOptions,\n willVoteOptions,\n yesNoPreferOptions,\n} from './03-electoral.js';\nexport {\n comfortWithVisibilityOptions,\n desiredPoliticalPositionOptions,\n leadershipAmbitions,\n leadershipSkillsetOptions,\n participateOptions,\n pastExperienceOptions,\n politicalExposureOptions,\n socialInfluenceOptions,\n} from './04-leadership.js';\nexport { mbtiOptions, psychologicalAssessment } from './05-psychological.js';\nexport {\n boardOptions,\n DEGREE_VALUES_BY_LEVEL,\n degreeNameOptions,\n education,\n qualificationOptions,\n streamOptions,\n subjectOptions,\n} from './06-education.js';\nexport {\n comfortableWithShiftOptions,\n employment,\n employmentStatusOptions,\n incomeRangeOptions,\n shiftOptions,\n} from './07-employment.js';\nexport {\n ageOfRealizationOptions,\n cognitiveStrengthOptions,\n communicationPreferenceOptions,\n executiveFunctionChallengeOptions,\n impactOnLifeOptions,\n learningStyleOptions,\n maskingBurnoutOptions,\n mentalHealthConditionOptions,\n neurodevelopmentalConditionOptions,\n neurodiverseIdentityOptions,\n neurodiversity,\n neurologicalChronicConditionOptions,\n personalityPatternOptions,\n sensoryProfileOptions,\n supportAccommodationOptions,\n} from './08-neurodiversity.js';\nexport {\n dietOptions,\n disabilityOptions,\n generalHealthOptions,\n healthInsuranceOptions,\n healthLifestyle,\n physicalActivityOptions,\n sleepQualityOptions,\n stressLevelOptions,\n substanceUseOptions,\n} from './09-health.js';\nexport {\n animalCrueltyOptions,\n casteDiscriminationOptions,\n casteDiscriminationPlaceOptions,\n genderEqualityOptions,\n lgbtqStatementOptions,\n transgenderStatementOptions,\n worldView,\n} from './10-worldview.js';\nexport { residence } from './11-residence.js';\nexport {\n bplCardOptions,\n digitalAccessOptions,\n familyMemberOptions,\n household,\n householdIncomeOptions,\n housingTypeOptions,\n landOwnershipOptions,\n maritalStatusOptions,\n migrationStatusOptions,\n primaryIncomeSourceOptions,\n} from './12-household.js';\n\n// ── All field groups (for building lookup maps) ─────────────────────────────\n\nimport { profile } from './01-profile.js';\nimport { politicalAssociation } from './02-political.js';\nimport { electoralBehaviour } from './03-electoral.js';\nimport { leadershipAmbitions } from './04-leadership.js';\nimport { psychologicalAssessment } from './05-psychological.js';\nimport { education } from './06-education.js';\nimport { employment } from './07-employment.js';\nimport { neurodiversity } from './08-neurodiversity.js';\nimport { healthLifestyle } from './09-health.js';\nimport { worldView } from './10-worldview.js';\nimport { residence } from './11-residence.js';\nimport { household } from './12-household.js';\nimport type { FieldGroup } from './types.js';\n\nexport const allFieldGroups: readonly FieldGroup[] = [\n profile,\n politicalAssociation,\n electoralBehaviour,\n leadershipAmbitions,\n psychologicalAssessment,\n education,\n employment,\n neurodiversity,\n healthLifestyle,\n worldView,\n residence,\n household,\n];\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "udp-schema",
3
- "version": "2.18.0",
3
+ "version": "2.20.0",
4
4
  "description": "Shared Zod schemas for User Detailed Profile (frontend + backend).",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",