udp-schema 0.3.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 (125) hide show
  1. package/dist/field-helpers.d.ts +18 -31
  2. package/dist/field-helpers.d.ts.map +1 -1
  3. package/dist/field-helpers.js +56 -51
  4. package/dist/field-helpers.js.map +1 -1
  5. package/dist/field-meta.d.ts +14 -34
  6. package/dist/field-meta.d.ts.map +1 -1
  7. package/dist/field-meta.js +13 -1991
  8. package/dist/field-meta.js.map +1 -1
  9. package/dist/index.d.ts +19 -18
  10. package/dist/index.d.ts.map +1 -1
  11. package/dist/index.js +30 -35
  12. package/dist/index.js.map +1 -1
  13. package/dist/onboarding-config.d.ts +44 -0
  14. package/dist/onboarding-config.d.ts.map +1 -0
  15. package/dist/onboarding-config.js +705 -0
  16. package/dist/onboarding-config.js.map +1 -0
  17. package/dist/profile-fields/01-profile.d.ts +264 -0
  18. package/dist/profile-fields/01-profile.d.ts.map +1 -0
  19. package/dist/profile-fields/01-profile.js +113 -0
  20. package/dist/profile-fields/01-profile.js.map +1 -0
  21. package/dist/profile-fields/02-political.d.ts +133 -0
  22. package/dist/profile-fields/02-political.d.ts.map +1 -0
  23. package/dist/profile-fields/02-political.js +42 -0
  24. package/dist/profile-fields/02-political.js.map +1 -0
  25. package/dist/profile-fields/03-electoral.d.ts +46 -0
  26. package/dist/profile-fields/03-electoral.d.ts.map +1 -0
  27. package/dist/profile-fields/03-electoral.js +21 -0
  28. package/dist/profile-fields/03-electoral.js.map +1 -0
  29. package/dist/profile-fields/04-leadership.d.ts +34 -0
  30. package/dist/profile-fields/04-leadership.d.ts.map +1 -0
  31. package/dist/profile-fields/04-leadership.js +22 -0
  32. package/dist/profile-fields/04-leadership.js.map +1 -0
  33. package/dist/profile-fields/05-psychological.d.ts +58 -0
  34. package/dist/profile-fields/05-psychological.d.ts.map +1 -0
  35. package/dist/profile-fields/05-psychological.js +20 -0
  36. package/dist/profile-fields/05-psychological.js.map +1 -0
  37. package/dist/profile-fields/06-education.d.ts +28 -0
  38. package/dist/profile-fields/06-education.d.ts.map +1 -0
  39. package/dist/profile-fields/06-education.js +23 -0
  40. package/dist/profile-fields/06-education.js.map +1 -0
  41. package/dist/profile-fields/07-employment.d.ts +75 -0
  42. package/dist/profile-fields/07-employment.d.ts.map +1 -0
  43. package/dist/profile-fields/07-employment.js +32 -0
  44. package/dist/profile-fields/07-employment.js.map +1 -0
  45. package/dist/profile-fields/08-neurodiversity.d.ts +100 -0
  46. package/dist/profile-fields/08-neurodiversity.d.ts.map +1 -0
  47. package/dist/profile-fields/08-neurodiversity.js +39 -0
  48. package/dist/profile-fields/08-neurodiversity.js.map +1 -0
  49. package/dist/profile-fields/09-health.d.ts +89 -0
  50. package/dist/profile-fields/09-health.d.ts.map +1 -0
  51. package/dist/profile-fields/09-health.js +38 -0
  52. package/dist/profile-fields/09-health.js.map +1 -0
  53. package/dist/profile-fields/10-worldview.d.ts +75 -0
  54. package/dist/profile-fields/10-worldview.d.ts.map +1 -0
  55. package/dist/profile-fields/10-worldview.js +41 -0
  56. package/dist/profile-fields/10-worldview.js.map +1 -0
  57. package/dist/profile-fields/11-residence.d.ts +3 -0
  58. package/dist/profile-fields/11-residence.d.ts.map +1 -0
  59. package/dist/profile-fields/11-residence.js +11 -0
  60. package/dist/profile-fields/11-residence.js.map +1 -0
  61. package/dist/profile-fields/12-household.d.ts +90 -0
  62. package/dist/profile-fields/12-household.d.ts.map +1 -0
  63. package/dist/profile-fields/12-household.js +37 -0
  64. package/dist/profile-fields/12-household.js.map +1 -0
  65. package/dist/profile-fields/index.d.ts +22 -0
  66. package/dist/profile-fields/index.d.ts.map +1 -0
  67. package/dist/profile-fields/index.js +47 -0
  68. package/dist/profile-fields/index.js.map +1 -0
  69. package/dist/profile-fields/types.d.ts +66 -0
  70. package/dist/profile-fields/types.d.ts.map +1 -0
  71. package/dist/profile-fields/types.js +8 -0
  72. package/dist/profile-fields/types.js.map +1 -0
  73. package/dist/progress-fields.d.ts +21 -3
  74. package/dist/progress-fields.d.ts.map +1 -1
  75. package/dist/progress-fields.js +97 -94
  76. package/dist/progress-fields.js.map +1 -1
  77. package/dist/step-01.schema.d.ts +84 -111
  78. package/dist/step-01.schema.d.ts.map +1 -1
  79. package/dist/step-01.schema.js +94 -101
  80. package/dist/step-01.schema.js.map +1 -1
  81. package/dist/step-02.schema.d.ts +31 -21
  82. package/dist/step-02.schema.d.ts.map +1 -1
  83. package/dist/step-02.schema.js +34 -27
  84. package/dist/step-02.schema.js.map +1 -1
  85. package/dist/step-03.schema.d.ts +24 -300
  86. package/dist/step-03.schema.d.ts.map +1 -1
  87. package/dist/step-03.schema.js +17 -60
  88. package/dist/step-03.schema.js.map +1 -1
  89. package/dist/step-04.schema.d.ts +56 -50
  90. package/dist/step-04.schema.d.ts.map +1 -1
  91. package/dist/step-04.schema.js +44 -43
  92. package/dist/step-04.schema.js.map +1 -1
  93. package/dist/step-05.schema.d.ts +13 -52
  94. package/dist/step-05.schema.d.ts.map +1 -1
  95. package/dist/step-05.schema.js +19 -40
  96. package/dist/step-05.schema.js.map +1 -1
  97. package/dist/step-06.schema.d.ts +101 -117
  98. package/dist/step-06.schema.d.ts.map +1 -1
  99. package/dist/step-06.schema.js +70 -75
  100. package/dist/step-06.schema.js.map +1 -1
  101. package/dist/step-07.schema.d.ts +44 -95
  102. package/dist/step-07.schema.d.ts.map +1 -1
  103. package/dist/step-07.schema.js +37 -78
  104. package/dist/step-07.schema.js.map +1 -1
  105. package/dist/step-08.schema.d.ts +31 -44
  106. package/dist/step-08.schema.d.ts.map +1 -1
  107. package/dist/step-08.schema.js +29 -48
  108. package/dist/step-08.schema.js.map +1 -1
  109. package/dist/step-09.schema.d.ts +48 -85
  110. package/dist/step-09.schema.d.ts.map +1 -1
  111. package/dist/step-09.schema.js +28 -120
  112. package/dist/step-09.schema.js.map +1 -1
  113. package/dist/step-10.schema.d.ts +32 -86
  114. package/dist/step-10.schema.d.ts.map +1 -1
  115. package/dist/step-10.schema.js +44 -120
  116. package/dist/step-10.schema.js.map +1 -1
  117. package/dist/step-11.schema.d.ts +36 -92
  118. package/dist/step-11.schema.d.ts.map +1 -1
  119. package/dist/step-11.schema.js +32 -111
  120. package/dist/step-11.schema.js.map +1 -1
  121. package/dist/step-12.schema.d.ts +56 -93
  122. package/dist/step-12.schema.d.ts.map +1 -1
  123. package/dist/step-12.schema.js +57 -133
  124. package/dist/step-12.schema.js.map +1 -1
  125. package/package.json +1 -1
@@ -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-neurodiversity.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,0CAA0C,EAAE;IACzF,EAAE,KAAK,EAAE,iBAAiB,EAAE,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,gCAAgC,EAAE;IACrG,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,iDAAiD,EAAE;IACxG,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,oCAAoC,EAAE;IAC7F,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,kCAAkC,EAAE;IAC/F,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,qBAAqB,EAAE,WAAW,EAAE,gCAAgC,EAAE;IACnG,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,+BAA+B,EAAE;IAC5E,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,4CAA4C,EAAE;IAC1G,EAAE,KAAK,EAAE,kBAAkB,EAAE,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,4BAA4B,EAAE;IACnG,EAAE,KAAK,EAAE,oBAAoB,EAAE,KAAK,EAAE,6BAA6B,EAAE,W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AAC,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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AAE,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"}
@@ -0,0 +1,41 @@
1
+ export const lgbtqStatementOptions = [
2
+ { value: 'LGBTQ_EQUAL_RIGHTS', label: 'LGBTQ+ people deserve equal rights' },
3
+ { value: 'LGBTQ_SOCIAL_ACCEPTANCE', label: 'Society should accept LGBTQ+ people' },
4
+ { value: 'LGBTQ_PRIVATE_MATTER', label: "It's a private matter" },
5
+ { value: 'LGBTQ_SHOULD_NOT_BE_DISCRIMINATED', label: 'They should not face discrimination' },
6
+ { value: 'LGBTQ_TRADITION_CONFLICT', label: 'It conflicts with our traditions' },
7
+ { value: 'LGBTQ_NOT_COMFORTABLE', label: "I'm not comfortable with it" },
8
+ { value: 'LGBTQ_DONT_KNOW', label: "I don't know enough about it" },
9
+ { value: 'LGBTQ_PREFER_NOT_SAY', label: 'Prefer not to say' },
10
+ ];
11
+ export const transgenderStatementOptions = [
12
+ { value: 'TRANS_CHILD_KEEP_IN_FAMILY', label: 'A transgender child should be kept in the family' },
13
+ { value: 'TRANS_EQUAL_RIGHTS', label: 'Transgender people deserve equal rights' },
14
+ { value: 'TRANS_PART_OF_NORMAL_SOCIETY', label: 'They are part of normal society' },
15
+ { value: 'TRANS_NO_ABANDONMENT', label: 'No one should abandon a transgender family member' },
16
+ { value: 'TRANS_ONLY_SPECIAL_COMMUNITY', label: 'They belong to their own special community' },
17
+ { value: 'TRANS_UNCOMFORTABLE', label: "I'm uncomfortable around transgender people" },
18
+ { value: 'TRANS_DONT_KNOW', label: "I don't know enough" },
19
+ { value: 'TRANS_PREFER_NOT_SAY', label: 'Prefer not to say' },
20
+ ];
21
+ export const casteDiscriminationPlaceOptions = [
22
+ { value: 'SCHOOL_EDUCATION', label: 'School / Education' }, { value: 'WORKPLACE', label: 'Workplace' },
23
+ { value: 'LOCALITY', label: 'Locality / Neighborhood' }, { value: 'GOVT_OFFICES', label: 'Government offices' },
24
+ { value: 'MARKET', label: 'Market / Shops' }, { value: 'RELIGIOUS_SPACE', label: 'Religious spaces' },
25
+ { value: 'OTHER', label: 'Other' },
26
+ ];
27
+ export const worldView = {
28
+ key: 'world_view', label: 'World View & Experience', step: 10,
29
+ description: 'Views on social issues, equality, and discrimination.',
30
+ fields: [
31
+ { order: 1, key: 'viewOnAnimalCruelty', label: 'View on Animal Cruelty', type: 'single_select', step: 10, isOnboarding: true, optional: true, options: [{ value: 'strongly_against', label: 'Strongly against all forms' }, { value: 'against_but_food', label: 'Against, but accept for food' }, { value: 'neutral', label: 'Neutral' }, { value: 'acceptable_in_tradition', label: 'Acceptable in tradition/culture' }, { value: 'prefer_not_to_say', label: 'Prefer not to say' }] },
32
+ { order: 2, key: 'viewOnLgbtqStatements', label: 'Views on LGBTQ+ Rights', type: 'multi_select', step: 10, isOnboarding: true, optional: true, options: [...lgbtqStatementOptions] },
33
+ { order: 3, key: 'viewOnLgbtqOpinion', label: 'LGBTQ+ Opinion', type: 'textarea', step: 10, isOnboarding: true, optional: true, maxLength: 500 },
34
+ { order: 4, key: 'viewOnTransgenderInclusion', label: 'Views on Transgender Inclusion', type: 'multi_select', step: 10, isOnboarding: true, optional: true, options: [...transgenderStatementOptions] },
35
+ { order: 5, key: 'viewOnTransgenderOpinion', label: 'Transgender Opinion', type: 'textarea', step: 10, isOnboarding: true, optional: true, maxLength: 500 },
36
+ { order: 6, key: 'facingCasteDiscrimination', label: 'Caste Discrimination Experience', type: 'single_select', step: 10, isOnboarding: true, optional: true, sensitive: true, options: [{ value: 'YES_OFTEN', label: 'Yes, often' }, { value: 'YES_SOMETIMES', label: 'Yes, sometimes' }, { value: 'NO', label: 'No' }, { value: 'PREFER_NOT_SAY', label: 'Prefer not to say' }] },
37
+ { order: 7, key: 'casteDiscriminationPlaces', label: 'Where Discrimination Faced', type: 'multi_select', step: 10, isOnboarding: true, optional: true, options: [...casteDiscriminationPlaceOptions], conditionalOn: { field: 'facingCasteDiscrimination', values: ['YES_OFTEN', 'YES_SOMETIMES'] } },
38
+ { order: 8, key: 'viewOnGenderEquality', label: 'View on Gender Equality', type: 'single_select', step: 10, isOnboarding: true, optional: true, options: [{ value: 'strong_advocate', label: 'Strong advocate for equality' }, { value: 'supportive', label: 'Supportive' }, { value: 'traditional_values', label: 'I prefer traditional values' }, { value: 'no_opinion', label: 'No opinion' }, { value: 'prefer_not_to_say', label: 'Prefer not to say' }] },
39
+ ],
40
+ };
41
+ //# sourceMappingURL=10-worldview.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"10-worldview.js","sourceRoot":"","sources":["../../src/profile-fields/10-worldview.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,qBAAqB,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,GAAG,EAAE,2BAA2B,EAAE,KAAK,EAAE,4BAA4B,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,GAAG,+BAA+B,CAAC,EAAE,aAAa,EAAE,EAAE,KAAK,EAAE,2BAA2B,EAAE,MAAM,EAAE,CAAC,WAAW,EAAE,eAAe,CAAC,EAAE,EAAE;QACrS,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,sBAAsB,EAAE,KAAK,EAAE,yBAAyB,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,iBAAiB,EAAE,KAAK,EAAE,8BAA8B,EAAE,EAAE,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE,EAAE,EAAE,KAAK,EAAE,oBAAoB,EAAE,KAAK,EAAE,6BAA6B,EAAE,EAAE,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE,EAAE,EAAE,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,mBAAmB,EAAE,CAAC,EAAE;KAChc;CACF,CAAC","sourcesContent":["import type { FieldGroup } from './types.js';\n\nexport const lgbtqStatementOptions = [\n { value: 'LGBTQ_EQUAL_RIGHTS', label: 'LGBTQ+ people deserve equal rights' },\n { value: 'LGBTQ_SOCIAL_ACCEPTANCE', label: 'Society should accept LGBTQ+ people' },\n { value: 'LGBTQ_PRIVATE_MATTER', label: \"It's a private matter\" },\n { value: 'LGBTQ_SHOULD_NOT_BE_DISCRIMINATED', label: 'They should not face discrimination' },\n { value: 'LGBTQ_TRADITION_CONFLICT', label: 'It conflicts with our traditions' },\n { value: 'LGBTQ_NOT_COMFORTABLE', label: \"I'm not comfortable with it\" },\n { value: 'LGBTQ_DONT_KNOW', label: \"I don't know enough about it\" },\n { value: 'LGBTQ_PREFER_NOT_SAY', label: 'Prefer not to say' },\n] as const;\n\nexport const transgenderStatementOptions = [\n { value: 'TRANS_CHILD_KEEP_IN_FAMILY', label: 'A transgender child should be kept in the family' },\n { value: 'TRANS_EQUAL_RIGHTS', label: 'Transgender people deserve equal rights' },\n { value: 'TRANS_PART_OF_NORMAL_SOCIETY', label: 'They are part of normal society' },\n { value: 'TRANS_NO_ABANDONMENT', label: 'No one should abandon a transgender family member' },\n { value: 'TRANS_ONLY_SPECIAL_COMMUNITY', label: 'They belong to their own special community' },\n { value: 'TRANS_UNCOMFORTABLE', label: \"I'm uncomfortable around transgender people\" },\n { value: 'TRANS_DONT_KNOW', label: \"I don't know enough\" },\n { value: 'TRANS_PREFER_NOT_SAY', label: 'Prefer not to say' },\n] as const;\n\nexport const casteDiscriminationPlaceOptions = [\n { value: 'SCHOOL_EDUCATION', label: 'School / Education' }, { value: 'WORKPLACE', label: 'Workplace' },\n { value: 'LOCALITY', label: 'Locality / Neighborhood' }, { value: 'GOVT_OFFICES', label: 'Government offices' },\n { value: 'MARKET', label: 'Market / Shops' }, { value: 'RELIGIOUS_SPACE', label: 'Religious spaces' },\n { value: 'OTHER', label: 'Other' },\n] as const;\n\nexport const worldView: FieldGroup = {\n key: 'world_view', label: 'World View & Experience', step: 10,\n description: 'Views on social issues, equality, and discrimination.',\n fields: [\n { order: 1, key: 'viewOnAnimalCruelty', label: 'View on Animal Cruelty', type: 'single_select', step: 10, isOnboarding: true, optional: true, options: [{ value: 'strongly_against', label: 'Strongly against all forms' }, { value: 'against_but_food', label: 'Against, but accept for food' }, { value: 'neutral', label: 'Neutral' }, { value: 'acceptable_in_tradition', label: 'Acceptable in tradition/culture' }, { value: 'prefer_not_to_say', label: 'Prefer not to say' }] },\n { order: 2, key: 'viewOnLgbtqStatements', label: 'Views on LGBTQ+ Rights', type: 'multi_select', step: 10, isOnboarding: true, optional: true, options: [...lgbtqStatementOptions] },\n { order: 3, key: 'viewOnLgbtqOpinion', label: 'LGBTQ+ Opinion', type: 'textarea', step: 10, isOnboarding: true, optional: true, maxLength: 500 },\n { order: 4, key: 'viewOnTransgenderInclusion', label: 'Views on Transgender Inclusion', type: 'multi_select', step: 10, isOnboarding: true, optional: true, options: [...transgenderStatementOptions] },\n { order: 5, key: 'viewOnTransgenderOpinion', label: 'Transgender Opinion', type: 'textarea', step: 10, isOnboarding: true, optional: true, maxLength: 500 },\n { order: 6, key: 'facingCasteDiscrimination', label: 'Caste Discrimination Experience', type: 'single_select', step: 10, isOnboarding: true, optional: true, sensitive: true, options: [{ value: 'YES_OFTEN', label: 'Yes, often' }, { value: 'YES_SOMETIMES', label: 'Yes, sometimes' }, { value: 'NO', label: 'No' }, { value: 'PREFER_NOT_SAY', label: 'Prefer not to say' }] },\n { order: 7, key: 'casteDiscriminationPlaces', label: 'Where Discrimination Faced', type: 'multi_select', step: 10, isOnboarding: true, optional: true, options: [...casteDiscriminationPlaceOptions], conditionalOn: { field: 'facingCasteDiscrimination', values: ['YES_OFTEN', 'YES_SOMETIMES'] } },\n { order: 8, key: 'viewOnGenderEquality', label: 'View on Gender Equality', type: 'single_select', step: 10, isOnboarding: true, optional: true, options: [{ value: 'strong_advocate', label: 'Strong advocate for equality' }, { value: 'supportive', label: 'Supportive' }, { value: 'traditional_values', label: 'I prefer traditional values' }, { value: 'no_opinion', label: 'No opinion' }, { value: 'prefer_not_to_say', label: 'Prefer not to say' }] },\n ],\n};\n"]}
@@ -0,0 +1,3 @@
1
+ import type { FieldGroup } from './types.js';
2
+ export declare const residence: FieldGroup;
3
+ //# sourceMappingURL=11-residence.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"11-residence.d.ts","sourceRoot":"","sources":["../../src/profile-fields/11-residence.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,SAAS,EAAE,UASvB,CAAC"}
@@ -0,0 +1,11 @@
1
+ export const residence = {
2
+ key: 'residence', label: 'Residence & Address', step: 11,
3
+ description: 'Current, permanent, native, and ancestral addresses.',
4
+ fields: [
5
+ { order: 1, key: 'currentAddress', label: 'Current Address', type: 'address', step: 11, isOnboarding: true, description: 'State → District → Village / Colony' },
6
+ { order: 2, key: 'permanentAddress', label: 'Permanent Address', type: 'address', step: 11, isOnboarding: true, optional: true },
7
+ { order: 3, key: 'homeNativePlace', label: 'Home Native Place', type: 'address', step: 11, isOnboarding: true, optional: true },
8
+ { order: 4, key: 'ancestralPlace', label: 'Ancestral Place', type: 'address', step: 11, isOnboarding: true, optional: true },
9
+ ],
10
+ };
11
+ //# sourceMappingURL=11-residence.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"11-residence.js","sourceRoot":"","sources":["../../src/profile-fields/11-residence.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,SAAS,GAAe;IACnC,GAAG,EAAE,WAAW,EAAE,KAAK,EAAE,qBAAqB,EAAE,IAAI,EAAE,EAAE;IACxD,WAAW,EAAE,sDAAsD;IACnE,MAAM,EAAE;QACN,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,gBAAgB,EAAE,KAAK,EAAE,iBAAiB,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,WAAW,EAAE,qCAAqC,EAAE;QAChK,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,kBAAkB,EAAE,KAAK,EAAE,mBAAmB,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE;QAChI,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,iBAAiB,EAAE,KAAK,EAAE,mBAAmB,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE;QAC/H,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,gBAAgB,EAAE,KAAK,EAAE,iBAAiB,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE;KAC7H;CACF,CAAC","sourcesContent":["import type { FieldGroup } from './types.js';\n\nexport const residence: FieldGroup = {\n key: 'residence', label: 'Residence & Address', step: 11,\n description: 'Current, permanent, native, and ancestral addresses.',\n fields: [\n { order: 1, key: 'currentAddress', label: 'Current Address', type: 'address', step: 11, isOnboarding: true, description: 'State → District → Village / Colony' },\n { order: 2, key: 'permanentAddress', label: 'Permanent Address', type: 'address', step: 11, isOnboarding: true, optional: true },\n { order: 3, key: 'homeNativePlace', label: 'Home Native Place', type: 'address', step: 11, isOnboarding: true, optional: true },\n { order: 4, key: 'ancestralPlace', label: 'Ancestral Place', type: 'address', step: 11, isOnboarding: true, optional: true },\n ],\n};\n"]}
@@ -0,0 +1,90 @@
1
+ import type { FieldGroup } from './types.js';
2
+ export declare const familyMemberOptions: readonly [{
3
+ readonly value: "father";
4
+ readonly label: "Father";
5
+ }, {
6
+ readonly value: "mother";
7
+ readonly label: "Mother";
8
+ }, {
9
+ readonly value: "step_father";
10
+ readonly label: "Step-father";
11
+ }, {
12
+ readonly value: "step_mother";
13
+ readonly label: "Step-mother";
14
+ }, {
15
+ readonly value: "wife_husband";
16
+ readonly label: "Wife / Husband";
17
+ }, {
18
+ readonly value: "blood_brother";
19
+ readonly label: "Blood Brother";
20
+ }, {
21
+ readonly value: "blood_sister";
22
+ readonly label: "Blood Sister";
23
+ }, {
24
+ readonly value: "half_brother";
25
+ readonly label: "Half Brother";
26
+ }, {
27
+ readonly value: "half_sister";
28
+ readonly label: "Half Sister";
29
+ }, {
30
+ readonly value: "step_brother";
31
+ readonly label: "Step Brother";
32
+ }, {
33
+ readonly value: "step_sister";
34
+ readonly label: "Step Sister";
35
+ }, {
36
+ readonly value: "son";
37
+ readonly label: "Son";
38
+ }, {
39
+ readonly value: "daughter";
40
+ readonly label: "Daughter";
41
+ }, {
42
+ readonly value: "other";
43
+ readonly label: "Other";
44
+ }];
45
+ export declare const digitalAccessOptions: readonly [{
46
+ readonly value: "smartphone";
47
+ readonly label: "Smartphone";
48
+ }, {
49
+ readonly value: "feature_phone";
50
+ readonly label: "Feature phone";
51
+ }, {
52
+ readonly value: "computer_laptop";
53
+ readonly label: "Computer / Laptop";
54
+ }, {
55
+ readonly value: "internet_at_home";
56
+ readonly label: "Internet at home";
57
+ }, {
58
+ readonly value: "no_internet";
59
+ readonly label: "No internet access";
60
+ }, {
61
+ readonly value: "no_phone";
62
+ readonly label: "No phone";
63
+ }];
64
+ export declare const householdIncomeOptions: readonly [{
65
+ readonly value: "below_5k";
66
+ readonly label: "Below ₹5,000";
67
+ }, {
68
+ readonly value: "5k_10k";
69
+ readonly label: "₹5,000 – ₹10,000";
70
+ }, {
71
+ readonly value: "10k_25k";
72
+ readonly label: "₹10,000 – ₹25,000";
73
+ }, {
74
+ readonly value: "25k_50k";
75
+ readonly label: "₹25,000 – ₹50,000";
76
+ }, {
77
+ readonly value: "50k_1L";
78
+ readonly label: "₹50,000 – ₹1 Lakh";
79
+ }, {
80
+ readonly value: "1L_2.5L";
81
+ readonly label: "₹1 Lakh – ₹2.5 Lakh";
82
+ }, {
83
+ readonly value: "above_2.5L";
84
+ readonly label: "Above ₹2.5 Lakh";
85
+ }, {
86
+ readonly value: "prefer_not_to_say";
87
+ readonly label: "Prefer not to say";
88
+ }];
89
+ export declare const household: FieldGroup;
90
+ //# sourceMappingURL=12-household.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"12-household.d.ts","sourceRoot":"","sources":["../../src/profile-fields/12-household.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQtB,CAAC;AAEX,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;EAIvB,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;EAKzB,CAAC;AAEX,eAAO,MAAM,SAAS,EAAE,UAevB,CAAC"}