udp-schema 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 +16 -15
  10. package/dist/index.d.ts.map +1 -1
  11. package/dist/index.js +15 -20
  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 +113 -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 +42 -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 +21 -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 +22 -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 +20 -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 +23 -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 +32 -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 +39 -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 +38 -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 +41 -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 +11 -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 +37 -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 @@
1
+ {"version":3,"file":"05-psychological.js","sourceRoot":"","sources":["../../src/profile-fields/05-psychological.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,sBAAsB,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,qBAAqB,EAAE;IACjG,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,sBAAsB,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,oBAAoB,EAAE;IAChG,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,qBAAqB,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,KAA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E,KAAK,EAAE,kBAAkB,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE,oFAAoF,EAAE;KAC5N;CACF,CAAC","sourcesContent":["import type { FieldGroup } from './types.js';\n\nexport const mbtiOptions = [\n { value: 'INTJ', label: 'INTJ — The Architect' }, { value: 'INTP', label: 'INTP — The Logician' },\n { value: 'ENTJ', label: 'ENTJ — The Commander' }, { value: 'ENTP', label: 'ENTP — The Debater' },\n { value: 'INFJ', label: 'INFJ — The Advocate' }, { value: 'INFP', label: 'INFP — The Mediator' },\n { value: 'ENFJ', label: 'ENFJ — The Protagonist' }, { value: 'ENFP', label: 'ENFP — The Campaigner' },\n { value: 'ISTJ', label: 'ISTJ — The Logistician' }, { value: 'ISFJ', label: 'ISFJ — The Defender' },\n { value: 'ESTJ', label: 'ESTJ — The Executive' }, { value: 'ESFJ', label: 'ESFJ — The Consul' },\n { value: 'ISTP', label: 'ISTP — The Virtuoso' }, { value: 'ISFP', label: 'ISFP — The Adventurer' },\n { value: 'ESTP', label: 'ESTP — The Entrepreneur' }, { value: 'ESFP', label: 'ESFP — The Entertainer' },\n { value: 'dont_know', label: \"Don't know yet\" }, { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const psychologicalAssessment: FieldGroup = {\n key: 'psychological_assessment', label: 'Psychological Assessment', step: 5,\n description: 'Personality type and Big Five traits.',\n fields: [\n { order: 1, key: 'mbtiType', label: 'MBTI Type', type: 'single_select', step: 5, isOnboarding: true, optional: true, options: [...mbtiOptions] },\n { order: 2, key: 'oceanScores', label: 'Big Five (OCEAN)', type: 'object', step: 5, isOnboarding: true, optional: true, description: 'Openness, Conscientiousness, Extraversion, Agreeableness, Neuroticism (1-100 each)' },\n ],\n};\n"]}
@@ -0,0 +1,28 @@
1
+ import type { FieldGroup } from './types.js';
2
+ export declare const qualificationOptions: readonly [{
3
+ readonly value: "CLASS_10";
4
+ readonly label: "Class 10 (Secondary)";
5
+ }, {
6
+ readonly value: "CLASS_12";
7
+ readonly label: "Class 12 (Higher Secondary)";
8
+ }, {
9
+ readonly value: "DIPLOMA";
10
+ readonly label: "Diploma / ITI";
11
+ }, {
12
+ readonly value: "GRADUATION";
13
+ readonly label: "Graduation (Bachelor's)";
14
+ }, {
15
+ readonly value: "POST_GRAD";
16
+ readonly label: "Post Graduation (Master's)";
17
+ }, {
18
+ readonly value: "PHD";
19
+ readonly label: "Doctorate / PhD";
20
+ }, {
21
+ readonly value: "POST_DOCTORATE";
22
+ readonly label: "Post Doctorate";
23
+ }, {
24
+ readonly value: "OTHER";
25
+ readonly label: "Other";
26
+ }];
27
+ export declare const education: FieldGroup;
28
+ //# sourceMappingURL=06-education.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"06-education.d.ts","sourceRoot":"","sources":["../../src/profile-fields/06-education.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;EAKvB,CAAC;AAEX,eAAO,MAAM,SAAS,EAAE,UAevB,CAAC"}
@@ -0,0 +1,23 @@
1
+ export const qualificationOptions = [
2
+ { value: 'CLASS_10', label: 'Class 10 (Secondary)' }, { value: 'CLASS_12', label: 'Class 12 (Higher Secondary)' },
3
+ { value: 'DIPLOMA', label: 'Diploma / ITI' }, { value: 'GRADUATION', label: 'Graduation (Bachelor\'s)' },
4
+ { value: 'POST_GRAD', label: 'Post Graduation (Master\'s)' }, { value: 'PHD', label: 'Doctorate / PhD' },
5
+ { value: 'POST_DOCTORATE', label: 'Post Doctorate' }, { value: 'OTHER', label: 'Other' },
6
+ ];
7
+ export const education = {
8
+ key: 'education', label: 'Education', step: 6,
9
+ description: 'Academic background and qualifications.',
10
+ fields: [
11
+ { order: 1, key: 'highestQualification', label: 'Highest Qualification', type: 'single_select', step: 6, isOnboarding: true, options: [...qualificationOptions] },
12
+ { order: 2, key: 'education10th', label: 'Class 10 Details', type: 'object', step: 6, isOnboarding: true, optional: true, conditionalOn: { field: 'highestQualification', values: ['CLASS_10', 'CLASS_12', 'DIPLOMA', 'GRADUATION', 'POST_GRAD', 'PHD', 'POST_DOCTORATE'] } },
13
+ { order: 3, key: 'education12th', label: 'Class 12 Details', type: 'object', step: 6, isOnboarding: true, optional: true, conditionalOn: { field: 'highestQualification', values: ['CLASS_12', 'DIPLOMA', 'GRADUATION', 'POST_GRAD', 'PHD', 'POST_DOCTORATE'] } },
14
+ { order: 4, key: 'diplomas', label: 'Diploma', type: 'object_array', step: 6, isOnboarding: true, optional: true, conditionalOn: { field: 'highestQualification', values: ['DIPLOMA'] } },
15
+ { order: 5, key: 'graduations', label: 'Graduation', type: 'object_array', step: 6, isOnboarding: true, optional: true, conditionalOn: { field: 'highestQualification', values: ['GRADUATION', 'POST_GRAD', 'PHD', 'POST_DOCTORATE'] } },
16
+ { order: 6, key: 'postGraduations', label: 'Post Graduation', type: 'object_array', step: 6, isOnboarding: true, optional: true, conditionalOn: { field: 'highestQualification', values: ['POST_GRAD', 'PHD', 'POST_DOCTORATE'] } },
17
+ { order: 7, key: 'doctorates', label: 'Doctorate / PhD', type: 'object_array', step: 6, isOnboarding: true, optional: true, conditionalOn: { field: 'highestQualification', values: ['PHD', 'POST_DOCTORATE'] } },
18
+ { order: 8, key: 'postDoctorates', label: 'Post Doctorate', type: 'object_array', step: 6, isOnboarding: true, optional: true, conditionalOn: { field: 'highestQualification', values: ['POST_DOCTORATE'] } },
19
+ { order: 9, key: 'otherCertificates', label: 'Other Certificates', type: 'object_array', step: 6, isOnboarding: true, optional: true },
20
+ { order: 10, key: 'educationNotes', label: 'Education Notes', type: 'textarea', step: 6, isOnboarding: true, optional: true },
21
+ ],
22
+ };
23
+ //# sourceMappingURL=06-education.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"06-education.js","sourceRoot":"","sources":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KAAK,EAAE,gBAAgB,CAAC,EAAE,EAAE;QACnO,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,YAAY,EAAE,KAAK,EAAE,iBAAiB,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,CAAC,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,aAAa,EAAE,EAAE,KAAK,EAAE,sBAAsB,EAAE,MAAM,EAAE,CAAC,KAAK,EAAE,gBAAgB,CAAC,EAAE,EAAE;QACjN,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,gBAAgB,EAAE,KAAK,EAAE,gBAAgB,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,CAAC,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,aAAa,EAAE,EAAE,KAAK,EAAE,sBAAsB,EAAE,MAAM,EAAE,CAAC,gBAAgB,CAAC,EAAE,EAAE;QAC7M,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,mBAAmB,EAAE,KAAK,EAAE,oBAAoB,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,CAAC,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE;QACtI,EAAE,KAAK,EAAE,EAAE,EAAE,GAAG,EAAE,gBAAgB,EAAE,KAAK,EAAE,iBAAiB,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE;KAC9H;CACF,CAAC","sourcesContent":["import type { FieldGroup } from './types.js';\n\nexport const qualificationOptions = [\n { value: 'CLASS_10', label: 'Class 10 (Secondary)' }, { value: 'CLASS_12', label: 'Class 12 (Higher Secondary)' },\n { value: 'DIPLOMA', label: 'Diploma / ITI' }, { value: 'GRADUATION', label: 'Graduation (Bachelor\\'s)' },\n { value: 'POST_GRAD', label: 'Post Graduation (Master\\'s)' }, { value: 'PHD', label: 'Doctorate / PhD' },\n { value: 'POST_DOCTORATE', label: 'Post Doctorate' }, { value: 'OTHER', label: 'Other' },\n] as const;\n\nexport const education: FieldGroup = {\n key: 'education', label: 'Education', step: 6,\n description: 'Academic background and qualifications.',\n fields: [\n { order: 1, key: 'highestQualification', label: 'Highest Qualification', type: 'single_select', step: 6, isOnboarding: true, options: [...qualificationOptions] },\n { order: 2, key: 'education10th', label: 'Class 10 Details', type: 'object', step: 6, isOnboarding: true, optional: true, conditionalOn: { field: 'highestQualification', values: ['CLASS_10', 'CLASS_12', 'DIPLOMA', 'GRADUATION', 'POST_GRAD', 'PHD', 'POST_DOCTORATE'] } },\n { order: 3, key: 'education12th', label: 'Class 12 Details', type: 'object', step: 6, isOnboarding: true, optional: true, conditionalOn: { field: 'highestQualification', values: ['CLASS_12', 'DIPLOMA', 'GRADUATION', 'POST_GRAD', 'PHD', 'POST_DOCTORATE'] } },\n { order: 4, key: 'diplomas', label: 'Diploma', type: 'object_array', step: 6, isOnboarding: true, optional: true, conditionalOn: { field: 'highestQualification', values: ['DIPLOMA'] } },\n { order: 5, key: 'graduations', label: 'Graduation', type: 'object_array', step: 6, isOnboarding: true, optional: true, conditionalOn: { field: 'highestQualification', values: ['GRADUATION', 'POST_GRAD', 'PHD', 'POST_DOCTORATE'] } },\n { order: 6, key: 'postGraduations', label: 'Post Graduation', type: 'object_array', step: 6, isOnboarding: true, optional: true, conditionalOn: { field: 'highestQualification', values: ['POST_GRAD', 'PHD', 'POST_DOCTORATE'] } },\n { order: 7, key: 'doctorates', label: 'Doctorate / PhD', type: 'object_array', step: 6, isOnboarding: true, optional: true, conditionalOn: { field: 'highestQualification', values: ['PHD', 'POST_DOCTORATE'] } },\n { order: 8, key: 'postDoctorates', label: 'Post Doctorate', type: 'object_array', step: 6, isOnboarding: true, optional: true, conditionalOn: { field: 'highestQualification', values: ['POST_DOCTORATE'] } },\n { order: 9, key: 'otherCertificates', label: 'Other Certificates', type: 'object_array', step: 6, isOnboarding: true, optional: true },\n { order: 10, key: 'educationNotes', label: 'Education Notes', type: 'textarea', step: 6, isOnboarding: true, optional: true },\n ],\n};\n"]}
@@ -0,0 +1,75 @@
1
+ import type { FieldGroup } from './types.js';
2
+ export declare const employmentStatusOptions: readonly [{
3
+ readonly value: "employed";
4
+ readonly label: "Employed";
5
+ }, {
6
+ readonly value: "self_employed";
7
+ readonly label: "Self-employed";
8
+ }, {
9
+ readonly value: "unemployed";
10
+ readonly label: "Unemployed";
11
+ }, {
12
+ readonly value: "student";
13
+ readonly label: "Student";
14
+ }, {
15
+ readonly value: "homemaker";
16
+ readonly label: "Homemaker";
17
+ }, {
18
+ readonly value: "retired";
19
+ readonly label: "Retired";
20
+ }, {
21
+ readonly value: "daily_wage";
22
+ readonly label: "Daily wage worker";
23
+ }, {
24
+ readonly value: "other";
25
+ readonly label: "Other";
26
+ }];
27
+ export declare const shiftOptions: readonly [{
28
+ readonly value: "day_shift";
29
+ readonly label: "Day shift";
30
+ }, {
31
+ readonly value: "night_shift";
32
+ readonly label: "Night shift";
33
+ }, {
34
+ readonly value: "rotating";
35
+ readonly label: "Rotating shifts";
36
+ }, {
37
+ readonly value: "flexible";
38
+ readonly label: "Flexible hours";
39
+ }, {
40
+ readonly value: "work_from_home";
41
+ readonly label: "Work from home";
42
+ }, {
43
+ readonly value: "not_applicable";
44
+ readonly label: "Not applicable";
45
+ }];
46
+ export declare const incomeRangeOptions: readonly [{
47
+ readonly value: "below_5k";
48
+ readonly label: "Below ₹5,000";
49
+ }, {
50
+ readonly value: "5k_10k";
51
+ readonly label: "₹5,000 – ₹10,000";
52
+ }, {
53
+ readonly value: "10k_25k";
54
+ readonly label: "₹10,000 – ₹25,000";
55
+ }, {
56
+ readonly value: "25k_50k";
57
+ readonly label: "₹25,000 – ₹50,000";
58
+ }, {
59
+ readonly value: "50k_1L";
60
+ readonly label: "₹50,000 – ₹1 Lakh";
61
+ }, {
62
+ readonly value: "1L_2.5L";
63
+ readonly label: "₹1 Lakh – ₹2.5 Lakh";
64
+ }, {
65
+ readonly value: "2.5L_5L";
66
+ readonly label: "₹2.5 Lakh – ₹5 Lakh";
67
+ }, {
68
+ readonly value: "above_5L";
69
+ readonly label: "Above ₹5 Lakh";
70
+ }, {
71
+ readonly value: "prefer_not_to_say";
72
+ readonly label: "Prefer not to say";
73
+ }];
74
+ export declare const employment: FieldGroup;
75
+ //# sourceMappingURL=07-employment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"07-employment.d.ts","sourceRoot":"","sources":["../../src/profile-fields/07-employment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;EAK1B,CAAC;AAEX,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;EAIf,CAAC;AAEX,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMrB,CAAC;AAEX,eAAO,MAAM,UAAU,EAAE,UAYxB,CAAC"}
@@ -0,0 +1,32 @@
1
+ export const employmentStatusOptions = [
2
+ { value: 'employed', label: 'Employed' }, { value: 'self_employed', label: 'Self-employed' },
3
+ { value: 'unemployed', label: 'Unemployed' }, { value: 'student', label: 'Student' },
4
+ { value: 'homemaker', label: 'Homemaker' }, { value: 'retired', label: 'Retired' },
5
+ { value: 'daily_wage', label: 'Daily wage worker' }, { value: 'other', label: 'Other' },
6
+ ];
7
+ export const shiftOptions = [
8
+ { value: 'day_shift', label: 'Day shift' }, { value: 'night_shift', label: 'Night shift' },
9
+ { value: 'rotating', label: 'Rotating shifts' }, { value: 'flexible', label: 'Flexible hours' },
10
+ { value: 'work_from_home', label: 'Work from home' }, { value: 'not_applicable', label: 'Not applicable' },
11
+ ];
12
+ export const incomeRangeOptions = [
13
+ { value: 'below_5k', label: 'Below ₹5,000' }, { value: '5k_10k', label: '₹5,000 – ₹10,000' },
14
+ { value: '10k_25k', label: '₹10,000 – ₹25,000' }, { value: '25k_50k', label: '₹25,000 – ₹50,000' },
15
+ { value: '50k_1L', label: '₹50,000 – ₹1 Lakh' }, { value: '1L_2.5L', label: '₹1 Lakh – ₹2.5 Lakh' },
16
+ { value: '2.5L_5L', label: '₹2.5 Lakh – ₹5 Lakh' }, { value: 'above_5L', label: 'Above ₹5 Lakh' },
17
+ { value: 'prefer_not_to_say', label: 'Prefer not to say' },
18
+ ];
19
+ export const employment = {
20
+ key: 'employment', label: 'Employment & Occupation', step: 7,
21
+ description: 'Current job, shift, income, and dream occupation.',
22
+ fields: [
23
+ { order: 1, key: 'employmentStatus', label: 'Employment Status', type: 'single_select', step: 7, isOnboarding: true, optional: true, options: [...employmentStatusOptions] },
24
+ { order: 2, key: 'occupation', label: 'Occupation', type: 'text', step: 7, isOnboarding: true, optional: true },
25
+ { order: 3, key: 'workShift', label: 'Work Shift', type: 'single_select', step: 7, isOnboarding: true, optional: true, options: [...shiftOptions] },
26
+ { order: 4, key: 'comfortableWithShift', label: 'Comfortable with Shift', type: 'single_select', step: 7, isOnboarding: true, optional: true, options: [{ value: 'yes', label: 'Yes' }, { value: 'no', label: 'No' }, { value: 'somewhat', label: 'Somewhat' }] },
27
+ { order: 5, key: 'desiredShift', label: 'Desired Shift', type: 'single_select', step: 7, isOnboarding: true, optional: true, options: [...shiftOptions] },
28
+ { order: 6, key: 'incomeRange', label: 'Income Range', type: 'single_select', step: 7, isOnboarding: true, optional: true, options: [...incomeRangeOptions], sensitive: true },
29
+ { order: 7, key: 'dreamOccupation', label: 'Dream Occupation', type: 'textarea', step: 7, isOnboarding: true, optional: true, maxLength: 500 },
30
+ ],
31
+ };
32
+ //# sourceMappingURL=07-employment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"07-employment.js","sourceRoot":"","sources":["../../src/profile-fields/07-employment.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,EAAE,KAAK,EAAE,UAAU,EA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QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC,EAAE;QACjQ,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,cAAc,EAAE,KAAK,EAAE,eAAe,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,GAAG,YAAY,CAAC,EAAE;QACzJ,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,aAAa,EAAE,KAAK,EAAE,cAAc,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,GAAG,kBAAkB,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE;QAC9K,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,iBAAiB,EAAE,KAAK,EAAE,kBAAkB,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE;KAC/I;CACF,CAAC","sourcesContent":["import type { FieldGroup } from './types.js';\n\nexport const employmentStatusOptions = [\n { value: 'employed', label: 'Employed' }, { value: 'self_employed', label: 'Self-employed' },\n { value: 'unemployed', label: 'Unemployed' }, { value: 'student', label: 'Student' },\n { value: 'homemaker', label: 'Homemaker' }, { value: 'retired', label: 'Retired' },\n { value: 'daily_wage', label: 'Daily wage worker' }, { value: 'other', label: 'Other' },\n] as const;\n\nexport const shiftOptions = [\n { value: 'day_shift', label: 'Day shift' }, { value: 'night_shift', label: 'Night shift' },\n { value: 'rotating', label: 'Rotating shifts' }, { value: 'flexible', label: 'Flexible hours' },\n { value: 'work_from_home', label: 'Work from home' }, { value: 'not_applicable', label: 'Not applicable' },\n] as const;\n\nexport const incomeRangeOptions = [\n { value: 'below_5k', label: 'Below ₹5,000' }, { value: '5k_10k', label: '₹5,000 – ₹10,000' },\n { value: '10k_25k', label: '₹10,000 – ₹25,000' }, { value: '25k_50k', label: '₹25,000 – ₹50,000' },\n { value: '50k_1L', label: '₹50,000 – ₹1 Lakh' }, { value: '1L_2.5L', label: '₹1 Lakh – ₹2.5 Lakh' },\n { value: '2.5L_5L', label: '₹2.5 Lakh – ₹5 Lakh' }, { value: 'above_5L', label: 'Above ₹5 Lakh' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const employment: FieldGroup = {\n key: 'employment', label: 'Employment & Occupation', step: 7,\n description: 'Current job, shift, income, and dream occupation.',\n fields: [\n { order: 1, key: 'employmentStatus', label: 'Employment Status', type: 'single_select', step: 7, isOnboarding: true, optional: true, options: [...employmentStatusOptions] },\n { order: 2, key: 'occupation', label: 'Occupation', type: 'text', step: 7, isOnboarding: true, optional: true },\n { order: 3, key: 'workShift', label: 'Work Shift', type: 'single_select', step: 7, isOnboarding: true, optional: true, options: [...shiftOptions] },\n { order: 4, key: 'comfortableWithShift', label: 'Comfortable with Shift', type: 'single_select', step: 7, isOnboarding: true, optional: true, options: [{ value: 'yes', label: 'Yes' }, { value: 'no', label: 'No' }, { value: 'somewhat', label: 'Somewhat' }] },\n { order: 5, key: 'desiredShift', label: 'Desired Shift', type: 'single_select', step: 7, isOnboarding: true, optional: true, options: [...shiftOptions] },\n { order: 6, key: 'incomeRange', label: 'Income Range', type: 'single_select', step: 7, isOnboarding: true, optional: true, options: [...incomeRangeOptions], sensitive: true },\n { order: 7, key: 'dreamOccupation', label: 'Dream Occupation', type: 'textarea', step: 7, isOnboarding: true, optional: true, maxLength: 500 },\n ],\n};\n"]}
@@ -0,0 +1,100 @@
1
+ import type { FieldGroup } from './types.js';
2
+ export declare const neurodiversityConditionOptions: readonly [{
3
+ readonly value: "adhd";
4
+ readonly label: "ADHD";
5
+ readonly description: "Attention Deficit Hyperactivity Disorder";
6
+ }, {
7
+ readonly value: "autism_spectrum";
8
+ readonly label: "Autism Spectrum";
9
+ readonly description: "Autism Spectrum Disorder (ASD)";
10
+ }, {
11
+ readonly value: "dyslexia";
12
+ readonly label: "Dyslexia";
13
+ readonly description: "Difficulty with reading and language processing";
14
+ }, {
15
+ readonly value: "dyspraxia";
16
+ readonly label: "Dyspraxia";
17
+ readonly description: "Difficulty with motor coordination";
18
+ }, {
19
+ readonly value: "dyscalculia";
20
+ readonly label: "Dyscalculia";
21
+ readonly description: "Difficulty with numbers and math";
22
+ }, {
23
+ readonly value: "tourettes";
24
+ readonly label: "Tourette's Syndrome";
25
+ readonly description: "Involuntary tics and movements";
26
+ }, {
27
+ readonly value: "ocd";
28
+ readonly label: "OCD";
29
+ readonly description: "Obsessive-Compulsive Disorder";
30
+ }, {
31
+ readonly value: "bipolar";
32
+ readonly label: "Bipolar Disorder";
33
+ readonly description: "Mood episodes between mania and depression";
34
+ }, {
35
+ readonly value: "anxiety_disorder";
36
+ readonly label: "Anxiety Disorder";
37
+ readonly description: "Persistent excessive worry";
38
+ }, {
39
+ readonly value: "sensory_processing";
40
+ readonly label: "Sensory Processing Disorder";
41
+ readonly description: "Difficulty processing sensory information";
42
+ }, {
43
+ readonly value: "other";
44
+ readonly label: "Other";
45
+ }, {
46
+ readonly value: "prefer_not_to_say";
47
+ readonly label: "Prefer not to say";
48
+ }];
49
+ export declare const sensoryPreferenceOptions: readonly [{
50
+ readonly value: "loud_sounds";
51
+ readonly label: "Sensitive to loud sounds";
52
+ }, {
53
+ readonly value: "bright_lights";
54
+ readonly label: "Sensitive to bright lights";
55
+ }, {
56
+ readonly value: "textures";
57
+ readonly label: "Sensitive to textures";
58
+ }, {
59
+ readonly value: "smells";
60
+ readonly label: "Sensitive to smells";
61
+ }, {
62
+ readonly value: "quiet_environment";
63
+ readonly label: "Needs quiet environment";
64
+ }, {
65
+ readonly value: "seeks_stimulation";
66
+ readonly label: "Seeks sensory stimulation";
67
+ }, {
68
+ readonly value: "no_specific";
69
+ readonly label: "No specific sensory needs";
70
+ }];
71
+ export declare const supportNeedOptions: readonly [{
72
+ readonly value: "flexible_deadlines";
73
+ readonly label: "Flexible deadlines";
74
+ }, {
75
+ readonly value: "written_instructions";
76
+ readonly label: "Written instructions";
77
+ }, {
78
+ readonly value: "quiet_workspace";
79
+ readonly label: "Quiet workspace";
80
+ }, {
81
+ readonly value: "regular_breaks";
82
+ readonly label: "Regular breaks";
83
+ }, {
84
+ readonly value: "structured_routines";
85
+ readonly label: "Structured routines";
86
+ }, {
87
+ readonly value: "assistive_technology";
88
+ readonly label: "Assistive technology";
89
+ }, {
90
+ readonly value: "peer_support";
91
+ readonly label: "Peer support";
92
+ }, {
93
+ readonly value: "professional_support";
94
+ readonly label: "Professional support";
95
+ }, {
96
+ readonly value: "no_specific";
97
+ readonly label: "No specific needs";
98
+ }];
99
+ export declare const neurodiversity: FieldGroup;
100
+ //# sourceMappingURL=08-neurodiversity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"08-neurodiversity.d.ts","sourceRoot":"","sources":["../../src/profile-fields/08-neurodiversity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYjC,CAAC;AAEX,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;EAK3B,CAAC;AAEX,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMrB,CAAC;AAEX,eAAO,MAAM,cAAc,EAAE,UAW5B,CAAC"}
@@ -0,0 +1,39 @@
1
+ export const neurodiversityConditionOptions = [
2
+ { value: 'adhd', label: 'ADHD', description: 'Attention Deficit Hyperactivity Disorder' },
3
+ { value: 'autism_spectrum', label: 'Autism Spectrum', description: 'Autism Spectrum Disorder (ASD)' },
4
+ { value: 'dyslexia', label: 'Dyslexia', description: 'Difficulty with reading and language processing' },
5
+ { value: 'dyspraxia', label: 'Dyspraxia', description: 'Difficulty with motor coordination' },
6
+ { value: 'dyscalculia', label: 'Dyscalculia', description: 'Difficulty with numbers and math' },
7
+ { value: 'tourettes', label: "Tourette's Syndrome", description: 'Involuntary tics and movements' },
8
+ { value: 'ocd', label: 'OCD', description: 'Obsessive-Compulsive Disorder' },
9
+ { value: 'bipolar', label: 'Bipolar Disorder', description: 'Mood episodes between mania and depression' },
10
+ { value: 'anxiety_disorder', label: 'Anxiety Disorder', description: 'Persistent excessive worry' },
11
+ { value: 'sensory_processing', label: 'Sensory Processing Disorder', description: 'Difficulty processing sensory information' },
12
+ { value: 'other', label: 'Other' }, { value: 'prefer_not_to_say', label: 'Prefer not to say' },
13
+ ];
14
+ export const sensoryPreferenceOptions = [
15
+ { value: 'loud_sounds', label: 'Sensitive to loud sounds' }, { value: 'bright_lights', label: 'Sensitive to bright lights' },
16
+ { value: 'textures', label: 'Sensitive to textures' }, { value: 'smells', label: 'Sensitive to smells' },
17
+ { value: 'quiet_environment', label: 'Needs quiet environment' }, { value: 'seeks_stimulation', label: 'Seeks sensory stimulation' },
18
+ { value: 'no_specific', label: 'No specific sensory needs' },
19
+ ];
20
+ export const supportNeedOptions = [
21
+ { value: 'flexible_deadlines', label: 'Flexible deadlines' }, { value: 'written_instructions', label: 'Written instructions' },
22
+ { value: 'quiet_workspace', label: 'Quiet workspace' }, { value: 'regular_breaks', label: 'Regular breaks' },
23
+ { value: 'structured_routines', label: 'Structured routines' }, { value: 'assistive_technology', label: 'Assistive technology' },
24
+ { value: 'peer_support', label: 'Peer support' }, { value: 'professional_support', label: 'Professional support' },
25
+ { value: 'no_specific', label: 'No specific needs' },
26
+ ];
27
+ export const neurodiversity = {
28
+ key: 'neurodiversity', label: 'Neurodiversity', step: 8,
29
+ description: 'Neurodivergent identity, learning style, and support needs.',
30
+ fields: [
31
+ { order: 1, key: 'neurodiverseIdentity', label: 'Neurodiverse Identity', type: 'single_select', step: 8, isOnboarding: true, optional: true, options: [{ value: 'yes', label: 'Yes' }, { value: 'no', label: 'No' }, { value: 'exploring', label: 'Exploring / Not sure' }, { value: 'prefer_not_to_say', label: 'Prefer not to say' }] },
32
+ { order: 2, key: 'conditions', label: 'Conditions', type: 'multi_select', step: 8, isOnboarding: true, optional: true, options: [...neurodiversityConditionOptions], conditionalOn: { field: 'neurodiverseIdentity', values: ['yes', 'exploring'] } },
33
+ { order: 3, key: 'sensoryPreferences', label: 'Sensory Preferences', type: 'multi_select', step: 8, isOnboarding: true, optional: true, options: [...sensoryPreferenceOptions] },
34
+ { order: 4, key: 'learningStyle', label: 'Learning Style', type: 'single_select', step: 8, isOnboarding: true, optional: true, options: [{ value: 'visual', label: 'Visual learner' }, { value: 'auditory', label: 'Auditory learner' }, { value: 'kinesthetic', label: 'Kinesthetic (hands-on)' }, { value: 'reading_writing', label: 'Reading & Writing' }, { value: 'mixed', label: 'Mixed / All styles' }] },
35
+ { order: 5, key: 'communicationPreference', label: 'Communication Preference', type: 'single_select', step: 8, isOnboarding: true, optional: true, options: [{ value: 'face_to_face', label: 'Face-to-face verbal' }, { value: 'written', label: 'Written (text/email)' }, { value: 'visual_aids', label: 'Visual aids' }, { value: 'phone_calls', label: 'Phone calls' }, { value: 'small_groups_only', label: 'Small groups only' }, { value: 'prefer_not_to_say', label: 'Prefer not to say' }] },
36
+ { order: 6, key: 'supportNeeds', label: 'Support Needs', type: 'multi_select', step: 8, isOnboarding: true, optional: true, options: [...supportNeedOptions] },
37
+ ],
38
+ };
39
+ //# sourceMappingURL=08-neurodiversity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"08-neurodiversity.js","sourceRoot":"","sources":["../../src/profile-fields/08-neur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AE,kBAAkB,EAAE,EAAE,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,wBAAwB,EAAE,EAAE,EAAE,KAAK,EAAE,iBAAiB,EAAE,KAAK,EAAE,mBAAmB,EAAE,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,oBAAoB,EAAE,CAAC,EAAE;QAChZ,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,yBAAyB,EAAE,KAAK,EAAE,0BAA0B,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,qBAAqB,EAAE,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,sBAAsB,EAAE,EAAE,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE,EAAE,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE,EAAE,EAAE,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,mBAAmB,EAAE,EAAE,EAAE,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,mBAAmB,EAAE,CAAC,EAAE;QACpe,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,cAAc,EAAE,KAAK,EAAE,eAAe,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,CAAC,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,GAAG,kBAAkB,CAAC,EAAE;KAC/J;CACF,CAAC","sourcesContent":["import type { FieldGroup } from './types.js';\n\nexport const neurodiversityConditionOptions = [\n { value: 'adhd', label: 'ADHD', description: 'Attention Deficit Hyperactivity Disorder' },\n { value: 'autism_spectrum', label: 'Autism Spectrum', description: 'Autism Spectrum Disorder (ASD)' },\n { value: 'dyslexia', label: 'Dyslexia', description: 'Difficulty with reading and language processing' },\n { value: 'dyspraxia', label: 'Dyspraxia', description: 'Difficulty with motor coordination' },\n { value: 'dyscalculia', label: 'Dyscalculia', description: 'Difficulty with numbers and math' },\n { value: 'tourettes', label: \"Tourette's Syndrome\", description: 'Involuntary tics and movements' },\n { value: 'ocd', label: 'OCD', description: 'Obsessive-Compulsive Disorder' },\n { value: 'bipolar', label: 'Bipolar Disorder', description: 'Mood episodes between mania and depression' },\n { value: 'anxiety_disorder', label: 'Anxiety Disorder', description: 'Persistent excessive worry' },\n { value: 'sensory_processing', label: 'Sensory Processing Disorder', description: 'Difficulty processing sensory information' },\n { value: 'other', label: 'Other' }, { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const sensoryPreferenceOptions = [\n { value: 'loud_sounds', label: 'Sensitive to loud sounds' }, { value: 'bright_lights', label: 'Sensitive to bright lights' },\n { value: 'textures', label: 'Sensitive to textures' }, { value: 'smells', label: 'Sensitive to smells' },\n { value: 'quiet_environment', label: 'Needs quiet environment' }, { value: 'seeks_stimulation', label: 'Seeks sensory stimulation' },\n { value: 'no_specific', label: 'No specific sensory needs' },\n] as const;\n\nexport const supportNeedOptions = [\n { value: 'flexible_deadlines', label: 'Flexible deadlines' }, { value: 'written_instructions', label: 'Written instructions' },\n { value: 'quiet_workspace', label: 'Quiet workspace' }, { value: 'regular_breaks', label: 'Regular breaks' },\n { value: 'structured_routines', label: 'Structured routines' }, { value: 'assistive_technology', label: 'Assistive technology' },\n { value: 'peer_support', label: 'Peer support' }, { value: 'professional_support', label: 'Professional support' },\n { value: 'no_specific', label: 'No specific needs' },\n] as const;\n\nexport const neurodiversity: FieldGroup = {\n key: 'neurodiversity', label: 'Neurodiversity', step: 8,\n description: 'Neurodivergent identity, learning style, and support needs.',\n fields: [\n { order: 1, key: 'neurodiverseIdentity', label: 'Neurodiverse Identity', type: 'single_select', step: 8, isOnboarding: true, optional: true, options: [{ value: 'yes', label: 'Yes' }, { value: 'no', label: 'No' }, { value: 'exploring', label: 'Exploring / Not sure' }, { value: 'prefer_not_to_say', label: 'Prefer not to say' }] },\n { order: 2, key: 'conditions', label: 'Conditions', type: 'multi_select', step: 8, isOnboarding: true, optional: true, options: [...neurodiversityConditionOptions], conditionalOn: { field: 'neurodiverseIdentity', values: ['yes', 'exploring'] } },\n { order: 3, key: 'sensoryPreferences', label: 'Sensory Preferences', type: 'multi_select', step: 8, isOnboarding: true, optional: true, options: [...sensoryPreferenceOptions] },\n { order: 4, key: 'learningStyle', label: 'Learning Style', type: 'single_select', step: 8, isOnboarding: true, optional: true, options: [{ value: 'visual', label: 'Visual learner' }, { value: 'auditory', label: 'Auditory learner' }, { value: 'kinesthetic', label: 'Kinesthetic (hands-on)' }, { value: 'reading_writing', label: 'Reading & Writing' }, { value: 'mixed', label: 'Mixed / All styles' }] },\n { order: 5, key: 'communicationPreference', label: 'Communication Preference', type: 'single_select', step: 8, isOnboarding: true, optional: true, options: [{ value: 'face_to_face', label: 'Face-to-face verbal' }, { value: 'written', label: 'Written (text/email)' }, { value: 'visual_aids', label: 'Visual aids' }, { value: 'phone_calls', label: 'Phone calls' }, { value: 'small_groups_only', label: 'Small groups only' }, { value: 'prefer_not_to_say', label: 'Prefer not to say' }] },\n { order: 6, key: 'supportNeeds', label: 'Support Needs', type: 'multi_select', step: 8, isOnboarding: true, optional: true, options: [...supportNeedOptions] },\n ],\n};\n"]}
@@ -0,0 +1,89 @@
1
+ import type { FieldGroup } from './types.js';
2
+ export declare const disabilityOptions: readonly [{
3
+ readonly value: "none";
4
+ readonly label: "None";
5
+ }, {
6
+ readonly value: "physical";
7
+ readonly label: "Physical disability";
8
+ }, {
9
+ readonly value: "visual";
10
+ readonly label: "Visual impairment";
11
+ }, {
12
+ readonly value: "hearing";
13
+ readonly label: "Hearing impairment";
14
+ }, {
15
+ readonly value: "speech";
16
+ readonly label: "Speech disability";
17
+ }, {
18
+ readonly value: "cognitive";
19
+ readonly label: "Cognitive / Intellectual";
20
+ }, {
21
+ readonly value: "multiple";
22
+ readonly label: "Multiple disabilities";
23
+ }, {
24
+ readonly value: "prefer_not_to_say";
25
+ readonly label: "Prefer not to say";
26
+ }];
27
+ export declare const substanceUseOptions: readonly [{
28
+ readonly value: "none";
29
+ readonly label: "None";
30
+ }, {
31
+ readonly value: "tobacco_smoking";
32
+ readonly label: "Tobacco (smoking)";
33
+ }, {
34
+ readonly value: "tobacco_chewing";
35
+ readonly label: "Tobacco (chewing / gutka)";
36
+ }, {
37
+ readonly value: "alcohol";
38
+ readonly label: "Alcohol";
39
+ }, {
40
+ readonly value: "cannabis";
41
+ readonly label: "Cannabis";
42
+ }, {
43
+ readonly value: "other";
44
+ readonly label: "Other";
45
+ }, {
46
+ readonly value: "prefer_not_to_say";
47
+ readonly label: "Prefer not to say";
48
+ }];
49
+ export declare const dietOptions: readonly [{
50
+ readonly value: "vegetarian";
51
+ readonly label: "Vegetarian";
52
+ readonly description: "No meat, fish, or eggs";
53
+ }, {
54
+ readonly value: "vegan";
55
+ readonly label: "Vegan";
56
+ readonly description: "No animal products";
57
+ }, {
58
+ readonly value: "eggetarian";
59
+ readonly label: "Eggetarian";
60
+ readonly description: "Vegetarian but eat eggs";
61
+ }, {
62
+ readonly value: "non_vegetarian";
63
+ readonly label: "Non-Vegetarian";
64
+ readonly description: "Eat everything including meat";
65
+ }, {
66
+ readonly value: "pescatarian";
67
+ readonly label: "Pescatarian";
68
+ readonly description: "No meat, but eat fish";
69
+ }, {
70
+ readonly value: "occasionally_non_veg";
71
+ readonly label: "Occasionally Non-Veg";
72
+ readonly description: "Mostly veg, meat on occasion";
73
+ }, {
74
+ readonly value: "jain";
75
+ readonly label: "Jain";
76
+ readonly description: "No root vegetables, strict Jain rules";
77
+ }, {
78
+ readonly value: "halal";
79
+ readonly label: "Halal";
80
+ readonly description: "Only halal-certified food";
81
+ }, {
82
+ readonly value: "other";
83
+ readonly label: "Other";
84
+ }, {
85
+ readonly value: "prefer_not_to_say";
86
+ readonly label: "Prefer not to say";
87
+ }];
88
+ export declare const healthLifestyle: FieldGroup;
89
+ //# sourceMappingURL=09-health.d.ts.map
@@ -0,0 +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;;;;;;;;;;;;;;;;;;;;;;;;EAKpB,CAAC;AAEX,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;EAKtB,CAAC;AAEX,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUd,CAAC;AAEX,eAAO,MAAM,eAAe,EAAE,UAa7B,CAAC"}
@@ -0,0 +1,38 @@
1
+ export const disabilityOptions = [
2
+ { value: 'none', label: 'None' }, { value: 'physical', label: 'Physical disability' },
3
+ { value: 'visual', label: 'Visual impairment' }, { value: 'hearing', label: 'Hearing impairment' },
4
+ { value: 'speech', label: 'Speech disability' }, { value: 'cognitive', label: 'Cognitive / Intellectual' },
5
+ { value: 'multiple', label: 'Multiple disabilities' }, { value: 'prefer_not_to_say', label: 'Prefer not to say' },
6
+ ];
7
+ export const substanceUseOptions = [
8
+ { value: 'none', label: 'None' }, { value: 'tobacco_smoking', label: 'Tobacco (smoking)' },
9
+ { value: 'tobacco_chewing', label: 'Tobacco (chewing / gutka)' }, { value: 'alcohol', label: 'Alcohol' },
10
+ { value: 'cannabis', label: 'Cannabis' }, { value: 'other', label: 'Other' },
11
+ { value: 'prefer_not_to_say', label: 'Prefer not to say' },
12
+ ];
13
+ export const dietOptions = [
14
+ { value: 'vegetarian', label: 'Vegetarian', description: 'No meat, fish, or eggs' },
15
+ { value: 'vegan', label: 'Vegan', description: 'No animal products' },
16
+ { value: 'eggetarian', label: 'Eggetarian', description: 'Vegetarian but eat eggs' },
17
+ { value: 'non_vegetarian', label: 'Non-Vegetarian', description: 'Eat everything including meat' },
18
+ { value: 'pescatarian', label: 'Pescatarian', description: 'No meat, but eat fish' },
19
+ { value: 'occasionally_non_veg', label: 'Occasionally Non-Veg', description: 'Mostly veg, meat on occasion' },
20
+ { value: 'jain', label: 'Jain', description: 'No root vegetables, strict Jain rules' },
21
+ { value: 'halal', label: 'Halal', description: 'Only halal-certified food' },
22
+ { value: 'other', label: 'Other' }, { value: 'prefer_not_to_say', label: 'Prefer not to say' },
23
+ ];
24
+ export const healthLifestyle = {
25
+ key: 'health_lifestyle', label: 'Health & Lifestyle', step: 9,
26
+ description: 'Health, diet, activity, and wellbeing.',
27
+ fields: [
28
+ { order: 1, key: 'disabilityStatus', label: 'Disability Status', type: 'multi_select', step: 9, isOnboarding: true, optional: true, options: [...disabilityOptions], sensitive: true },
29
+ { order: 2, key: 'generalHealth', label: 'General Health', type: 'single_select', step: 9, isOnboarding: true, optional: true, options: [{ value: 'excellent', label: 'Excellent' }, { value: 'good', label: 'Good' }, { value: 'fair', label: 'Fair' }, { value: 'poor', label: 'Poor' }, { value: 'prefer_not_to_say', label: 'Prefer not to say' }] },
30
+ { order: 3, key: 'healthInsurance', label: 'Health Insurance', type: 'single_select', step: 9, isOnboarding: true, optional: true, options: [{ value: 'yes_government', label: 'Yes — Government scheme' }, { value: 'yes_private', label: 'Yes — Private insurance' }, { value: 'yes_employer', label: 'Yes — Employer provided' }, { value: 'no', label: 'No insurance' }, { value: 'ayushman_bharat', label: 'Ayushman Bharat card' }] },
31
+ { order: 4, key: 'diet', label: 'Diet', type: 'single_select', step: 9, isOnboarding: true, optional: true, options: [...dietOptions] },
32
+ { order: 5, key: 'physicalActivity', label: 'Physical Activity', type: 'single_select', step: 9, isOnboarding: true, optional: true, options: [{ value: 'daily', label: 'Daily' }, { value: 'few_times_week', label: 'Few times a week' }, { value: 'weekly', label: 'Weekly' }, { value: 'rarely', label: 'Rarely' }, { value: 'never', label: 'Never' }] },
33
+ { order: 6, key: 'sleepQuality', label: 'Sleep Quality', type: 'single_select', step: 9, isOnboarding: true, optional: true, options: [{ value: 'excellent', label: 'Excellent' }, { value: 'good', label: 'Good' }, { value: 'average', label: 'Average' }, { value: 'poor', label: 'Poor' }, { value: 'irregular', label: 'Irregular' }] },
34
+ { order: 7, key: 'substanceUse', label: 'Substance Use', type: 'multi_select', step: 9, isOnboarding: true, optional: true, options: [...substanceUseOptions], sensitive: true },
35
+ { order: 8, key: 'stressLevel', label: 'Stress Level', type: 'single_select', step: 9, isOnboarding: true, optional: true, options: [{ value: 'very_low', label: 'Very low' }, { value: 'low', label: 'Low' }, { value: 'moderate', label: 'Moderate' }, { value: 'high', label: 'High' }, { value: 'very_high', label: 'Very high' }] },
36
+ ],
37
+ };
38
+ //# 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,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,qBAAqB,EAAE;IACrF,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,mBAAmB,EAAE,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,oBAAoB,EAAE;IAClG,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,mBAAmB,EAAE,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,0BAA0B,EAAE;IAC1G,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,uBAAuB,EAAE,EAAE,EAAE,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,mBAAmB,EAAE;CACzG,CAAC;AAEX,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,KAAK,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,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,EAAE,CAAC,EAAE;QAC5U,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,cAAc,EAAE,KAAK,EAAE,eAAe,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,CAAC,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,GAAG,mBAAmB,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE;QAChL,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,aAAa,EAAE,KAAK,EAAE,cAAc,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,EAAE,CAAC,EAAE;KACzU;CACF,CAAC","sourcesContent":["import type { FieldGroup } from './types.js';\n\nexport const disabilityOptions = [\n { value: 'none', label: 'None' }, { value: 'physical', label: 'Physical disability' },\n { value: 'visual', label: 'Visual impairment' }, { value: 'hearing', label: 'Hearing impairment' },\n { value: 'speech', label: 'Speech disability' }, { value: 'cognitive', label: 'Cognitive / Intellectual' },\n { value: 'multiple', label: 'Multiple disabilities' }, { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const substanceUseOptions = [\n { value: 'none', label: 'None' }, { value: 'tobacco_smoking', label: 'Tobacco (smoking)' },\n { value: 'tobacco_chewing', label: 'Tobacco (chewing / gutka)' }, { value: 'alcohol', label: 'Alcohol' },\n { value: 'cannabis', label: 'Cannabis' }, { 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 { value: 'non_vegetarian', label: 'Non-Vegetarian', description: 'Eat everything including meat' },\n { value: 'pescatarian', label: 'Pescatarian', description: 'No meat, but eat fish' },\n { value: 'occasionally_non_veg', label: 'Occasionally Non-Veg', description: 'Mostly veg, meat on occasion' },\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' }, { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const healthLifestyle: FieldGroup = {\n key: 'health_lifestyle', label: 'Health & Lifestyle', step: 9,\n description: 'Health, diet, activity, and wellbeing.',\n fields: [\n { order: 1, key: 'disabilityStatus', label: 'Disability Status', type: 'multi_select', step: 9, isOnboarding: true, optional: true, options: [...disabilityOptions], sensitive: true },\n { order: 2, key: 'generalHealth', label: 'General Health', type: 'single_select', step: 9, isOnboarding: true, optional: true, options: [{ value: 'excellent', label: 'Excellent' }, { value: 'good', label: 'Good' }, { value: 'fair', label: 'Fair' }, { value: 'poor', label: 'Poor' }, { value: 'prefer_not_to_say', label: 'Prefer not to say' }] },\n { order: 3, key: 'healthInsurance', label: 'Health Insurance', type: 'single_select', step: 9, isOnboarding: true, optional: true, options: [{ value: 'yes_government', label: 'Yes — Government scheme' }, { value: 'yes_private', label: 'Yes — Private insurance' }, { value: 'yes_employer', label: 'Yes — Employer provided' }, { value: 'no', label: 'No insurance' }, { value: 'ayushman_bharat', label: 'Ayushman Bharat card' }] },\n { order: 4, key: 'diet', label: 'Diet', type: 'single_select', step: 9, isOnboarding: true, optional: true, options: [...dietOptions] },\n { order: 5, key: 'physicalActivity', label: 'Physical Activity', type: 'single_select', step: 9, isOnboarding: true, optional: true, options: [{ value: 'daily', label: 'Daily' }, { value: 'few_times_week', label: 'Few times a week' }, { value: 'weekly', label: 'Weekly' }, { value: 'rarely', label: 'Rarely' }, { value: 'never', label: 'Never' }] },\n { order: 6, key: 'sleepQuality', label: 'Sleep Quality', type: 'single_select', step: 9, isOnboarding: true, optional: true, options: [{ value: 'excellent', label: 'Excellent' }, { value: 'good', label: 'Good' }, { value: 'average', label: 'Average' }, { value: 'poor', label: 'Poor' }, { value: 'irregular', label: 'Irregular' }] },\n { order: 7, key: 'substanceUse', label: 'Substance Use', type: 'multi_select', step: 9, isOnboarding: true, optional: true, options: [...substanceUseOptions], sensitive: true },\n { order: 8, key: 'stressLevel', label: 'Stress Level', type: 'single_select', step: 9, isOnboarding: true, optional: true, options: [{ value: 'very_low', label: 'Very low' }, { value: 'low', label: 'Low' }, { value: 'moderate', label: 'Moderate' }, { value: 'high', label: 'High' }, { value: 'very_high', label: 'Very high' }] },\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;;;;;;;;;;;;;;;;;;;;;;;;EAS9B,CAAC;AAEX,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;EAKlC,CAAC;AAEX,eAAO,MAAM,SAAS,EAAE,UAavB,CAAC"}