udp-schema 1.1.0 → 2.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 (57) hide show
  1. package/dist/helpers.d.ts +33 -0
  2. package/dist/helpers.d.ts.map +1 -0
  3. package/dist/helpers.js +60 -0
  4. package/dist/helpers.js.map +1 -0
  5. package/dist/index.d.ts +16 -4
  6. package/dist/index.d.ts.map +1 -1
  7. package/dist/index.js +21 -7
  8. package/dist/index.js.map +1 -1
  9. package/dist/onboarding-form.d.ts +485 -0
  10. package/dist/onboarding-form.d.ts.map +1 -0
  11. package/dist/onboarding-form.js +69 -0
  12. package/dist/onboarding-form.js.map +1 -0
  13. package/dist/profile-fields/01-profile.d.ts.map +1 -1
  14. package/dist/profile-fields/01-profile.js +168 -23
  15. package/dist/profile-fields/01-profile.js.map +1 -1
  16. package/dist/profile-fields/02-political.d.ts.map +1 -1
  17. package/dist/profile-fields/02-political.js +119 -28
  18. package/dist/profile-fields/02-political.js.map +1 -1
  19. package/dist/profile-fields/03-electoral.d.ts.map +1 -1
  20. package/dist/profile-fields/03-electoral.js +83 -13
  21. package/dist/profile-fields/03-electoral.js.map +1 -1
  22. package/dist/profile-fields/04-leadership.d.ts.map +1 -1
  23. package/dist/profile-fields/04-leadership.js +131 -14
  24. package/dist/profile-fields/04-leadership.js.map +1 -1
  25. package/dist/profile-fields/05-psychological.d.ts.map +1 -1
  26. package/dist/profile-fields/05-psychological.js +41 -12
  27. package/dist/profile-fields/05-psychological.js.map +1 -1
  28. package/dist/profile-fields/06-education.d.ts.map +1 -1
  29. package/dist/profile-fields/06-education.js +128 -15
  30. package/dist/profile-fields/06-education.js.map +1 -1
  31. package/dist/profile-fields/07-employment.d.ts.map +1 -1
  32. package/dist/profile-fields/07-employment.js +99 -19
  33. package/dist/profile-fields/07-employment.js.map +1 -1
  34. package/dist/profile-fields/08-neurodiversity.d.ts.map +1 -1
  35. package/dist/profile-fields/08-neurodiversity.js +128 -21
  36. package/dist/profile-fields/08-neurodiversity.js.map +1 -1
  37. package/dist/profile-fields/09-health.d.ts.map +1 -1
  38. package/dist/profile-fields/09-health.js +141 -19
  39. package/dist/profile-fields/09-health.js.map +1 -1
  40. package/dist/profile-fields/10-worldview.d.ts.map +1 -1
  41. package/dist/profile-fields/10-worldview.js +112 -13
  42. package/dist/profile-fields/10-worldview.js.map +1 -1
  43. package/dist/profile-fields/11-residence.d.ts.map +1 -1
  44. package/dist/profile-fields/11-residence.js +39 -5
  45. package/dist/profile-fields/11-residence.js.map +1 -1
  46. package/dist/profile-fields/12-household.d.ts.map +1 -1
  47. package/dist/profile-fields/12-household.js +175 -25
  48. package/dist/profile-fields/12-household.js.map +1 -1
  49. package/dist/profile-fields/index.d.ts +8 -8
  50. package/dist/profile-fields/index.d.ts.map +1 -1
  51. package/dist/profile-fields/index.js +8 -8
  52. package/dist/profile-fields/index.js.map +1 -1
  53. package/dist/validation.d.ts +18 -0
  54. package/dist/validation.d.ts.map +1 -0
  55. package/dist/validation.js +186 -0
  56. package/dist/validation.js.map +1 -0
  57. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"06-education.js","sourceRoot":"","sources":["../../src/profile-fields/06-education.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,sBAAsB,EAAE,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,6BAA6B,EAAE;IACjH,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,eAAe,EAAE,EAAE,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,0BAA0B,EAAE;IACxG,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,6BAA6B,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,iBAAiB,EAAE;IACxG,EAAE,KAAK,EAAE,gBAAgB,EAAE,KAAK,EAAE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,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"]}
1
+ {"version":3,"file":"06-education.js","sourceRoot":"","sources":["../../src/profile-fields/06-education.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,sBAAsB,EAAE;IACpD,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,6BAA6B,EAAE;IAC3D,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,eAAe,EAAE;IAC5C,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,yBAAyB,EAAE;IACzD,EAAE,KAAK,EAAE,WAAW,E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EAAE,gBAAgB;YACvB,IAAI,EAAE,cAAc;YACpB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,aAAa,EAAE,EAAE,KAAK,EAAE,sBAAsB,EAAE,MAAM,EAAE,CAAC,gBAAgB,CAAC,EAAE;SAC7E;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,mBAAmB;YACxB,KAAK,EAAE,oBAAoB;YAC3B,IAAI,EAAE,cAAc;YACpB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;SACf;QACD;YACE,KAAK,EAAE,EAAE;YACT,GAAG,EAAE,gBAAgB;YACrB,KAAK,EAAE,iBAAiB;YACxB,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;SACf;KACF;CACF,CAAC","sourcesContent":["import type { FieldGroup } from './types.js';\n\nexport const qualificationOptions = [\n { value: 'CLASS_10', label: 'Class 10 (Secondary)' },\n { value: 'CLASS_12', label: 'Class 12 (Higher Secondary)' },\n { value: 'DIPLOMA', label: 'Diploma / ITI' },\n { value: 'GRADUATION', label: \"Graduation (Bachelor's)\" },\n { value: 'POST_GRAD', label: \"Post Graduation (Master's)\" },\n { value: 'PHD', label: 'Doctorate / PhD' },\n { value: 'POST_DOCTORATE', label: 'Post Doctorate' },\n { value: 'OTHER', label: 'Other' },\n] as const;\n\nexport const education: FieldGroup = {\n key: 'education',\n label: 'Education',\n step: 6,\n description: 'Academic background and qualifications.',\n fields: [\n {\n order: 1,\n key: 'highestQualification',\n label: 'Highest Qualification',\n type: 'single_select',\n step: 6,\n isOnboarding: true,\n options: [...qualificationOptions],\n },\n {\n order: 2,\n key: 'education10th',\n label: 'Class 10 Details',\n type: 'object',\n step: 6,\n isOnboarding: true,\n optional: true,\n conditionalOn: {\n field: 'highestQualification',\n values: [\n 'CLASS_10',\n 'CLASS_12',\n 'DIPLOMA',\n 'GRADUATION',\n 'POST_GRAD',\n 'PHD',\n 'POST_DOCTORATE',\n ],\n },\n },\n {\n order: 3,\n key: 'education12th',\n label: 'Class 12 Details',\n type: 'object',\n step: 6,\n isOnboarding: true,\n optional: true,\n conditionalOn: {\n field: 'highestQualification',\n values: ['CLASS_12', 'DIPLOMA', 'GRADUATION', 'POST_GRAD', 'PHD', 'POST_DOCTORATE'],\n },\n },\n {\n order: 4,\n key: 'diplomas',\n label: 'Diploma',\n type: 'object_array',\n step: 6,\n isOnboarding: true,\n optional: true,\n conditionalOn: { field: 'highestQualification', values: ['DIPLOMA'] },\n },\n {\n order: 5,\n key: 'graduations',\n label: 'Graduation',\n type: 'object_array',\n step: 6,\n isOnboarding: true,\n optional: true,\n conditionalOn: {\n field: 'highestQualification',\n values: ['GRADUATION', 'POST_GRAD', 'PHD', 'POST_DOCTORATE'],\n },\n },\n {\n order: 6,\n key: 'postGraduations',\n label: 'Post Graduation',\n type: 'object_array',\n step: 6,\n isOnboarding: true,\n optional: true,\n conditionalOn: {\n field: 'highestQualification',\n values: ['POST_GRAD', 'PHD', 'POST_DOCTORATE'],\n },\n },\n {\n order: 7,\n key: 'doctorates',\n label: 'Doctorate / PhD',\n type: 'object_array',\n step: 6,\n isOnboarding: true,\n optional: true,\n conditionalOn: { field: 'highestQualification', values: ['PHD', 'POST_DOCTORATE'] },\n },\n {\n order: 8,\n key: 'postDoctorates',\n label: 'Post Doctorate',\n type: 'object_array',\n step: 6,\n isOnboarding: true,\n optional: true,\n conditionalOn: { field: 'highestQualification', values: ['POST_DOCTORATE'] },\n },\n {\n order: 9,\n key: 'otherCertificates',\n label: 'Other Certificates',\n type: 'object_array',\n step: 6,\n isOnboarding: true,\n optional: true,\n },\n {\n order: 10,\n key: 'educationNotes',\n label: 'Education Notes',\n type: 'textarea',\n step: 6,\n isOnboarding: true,\n optional: true,\n },\n ],\n};\n"]}
@@ -1 +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"}
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;;;;;;;;;;;;;;;;;;;;;;;;EAS1B,CAAC;AAEX,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;EAOf,CAAC;AAEX,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUrB,CAAC;AAEX,eAAO,MAAM,UAAU,EAAE,UAiFxB,CAAC"}
@@ -1,32 +1,112 @@
1
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' },
2
+ { value: 'employed', label: 'Employed' },
3
+ { value: 'self_employed', label: 'Self-employed' },
4
+ { value: 'unemployed', label: 'Unemployed' },
5
+ { value: 'student', label: 'Student' },
6
+ { value: 'homemaker', label: 'Homemaker' },
7
+ { value: 'retired', label: 'Retired' },
8
+ { value: 'daily_wage', label: 'Daily wage worker' },
9
+ { value: 'other', label: 'Other' },
6
10
  ];
7
11
  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' },
12
+ { value: 'day_shift', label: 'Day shift' },
13
+ { value: 'night_shift', label: 'Night shift' },
14
+ { value: 'rotating', label: 'Rotating shifts' },
15
+ { value: 'flexible', label: 'Flexible hours' },
16
+ { value: 'work_from_home', label: 'Work from home' },
17
+ { value: 'not_applicable', label: 'Not applicable' },
11
18
  ];
12
19
  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' },
20
+ { value: 'below_5k', label: 'Below ₹5,000' },
21
+ { value: '5k_10k', label: '₹5,000 – ₹10,000' },
22
+ { value: '10k_25k', label: '₹10,000 – ₹25,000' },
23
+ { value: '25k_50k', label: '₹25,000 – ₹50,000' },
24
+ { value: '50k_1L', label: '₹50,000 – ₹1 Lakh' },
25
+ { value: '1L_2.5L', label: '₹1 Lakh – ₹2.5 Lakh' },
26
+ { value: '2.5L_5L', label: '₹2.5 Lakh – ₹5 Lakh' },
27
+ { value: 'above_5L', label: 'Above ₹5 Lakh' },
17
28
  { value: 'prefer_not_to_say', label: 'Prefer not to say' },
18
29
  ];
19
30
  export const employment = {
20
- key: 'employment', label: 'Employment & Occupation', step: 7,
31
+ key: 'employment',
32
+ label: 'Employment & Occupation',
33
+ step: 7,
21
34
  description: 'Current job, shift, income, and dream occupation.',
22
35
  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 },
36
+ {
37
+ order: 1,
38
+ key: 'employmentStatus',
39
+ label: 'Employment Status',
40
+ type: 'single_select',
41
+ step: 7,
42
+ isOnboarding: true,
43
+ optional: true,
44
+ options: [...employmentStatusOptions],
45
+ },
46
+ {
47
+ order: 2,
48
+ key: 'occupation',
49
+ label: 'Occupation',
50
+ type: 'text',
51
+ step: 7,
52
+ isOnboarding: true,
53
+ optional: true,
54
+ },
55
+ {
56
+ order: 3,
57
+ key: 'workShift',
58
+ label: 'Work Shift',
59
+ type: 'single_select',
60
+ step: 7,
61
+ isOnboarding: true,
62
+ optional: true,
63
+ options: [...shiftOptions],
64
+ },
65
+ {
66
+ order: 4,
67
+ key: 'comfortableWithShift',
68
+ label: 'Comfortable with Shift',
69
+ type: 'single_select',
70
+ step: 7,
71
+ isOnboarding: true,
72
+ optional: true,
73
+ options: [
74
+ { value: 'yes', label: 'Yes' },
75
+ { value: 'no', label: 'No' },
76
+ { value: 'somewhat', label: 'Somewhat' },
77
+ ],
78
+ },
79
+ {
80
+ order: 5,
81
+ key: 'desiredShift',
82
+ label: 'Desired Shift',
83
+ type: 'single_select',
84
+ step: 7,
85
+ isOnboarding: true,
86
+ optional: true,
87
+ options: [...shiftOptions],
88
+ },
89
+ {
90
+ order: 6,
91
+ key: 'incomeRange',
92
+ label: 'Income Range',
93
+ type: 'single_select',
94
+ step: 7,
95
+ isOnboarding: true,
96
+ optional: true,
97
+ options: [...incomeRangeOptions],
98
+ sensitive: true,
99
+ },
100
+ {
101
+ order: 7,
102
+ key: 'dreamOccupation',
103
+ label: 'Dream Occupation',
104
+ type: 'textarea',
105
+ step: 7,
106
+ isOnboarding: true,
107
+ optional: true,
108
+ maxLength: 500,
109
+ },
30
110
  ],
31
111
  };
32
112
  //# sourceMappingURL=07-employment.js.map
@@ -1 +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,EAAE,KAAK,EAAE,UAAU,EAAE,EAAE,EAAE,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,eAAe,EAAE;IAC5F,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;IACpF,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,EAAE,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;IAClF,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,mBAAmB,EAAE,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;CAC/E,CAAC;AAEX,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,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,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"]}
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,EAAE,KAAK,EAAE,UAAU,EAAE;IACxC,EAAE,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,eAAe,EAAE;IAClD,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE;IAC5C,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;IACtC,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,EAAE;IAC1C,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;IACtC,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,mBAAmB,EAAE;IACnD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,EAAE,CAAC,GAAG,YAAY,CAAC;SAC3B;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,aAAa;YAClB,KAAK,EAAE,cAAc;YACrB,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,kBAAkB,CAAC;YAChC,SAAS,EAAE,IAAI;SAChB;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,iBAAiB;YACtB,KAAK,EAAE,kBAAkB;YACzB,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,SAAS,EAAE,GAAG;SACf;KACF;CACF,CAAC","sourcesContent":["import type { FieldGroup } from './types.js';\n\nexport const employmentStatusOptions = [\n { value: 'employed', label: 'Employed' },\n { value: 'self_employed', label: 'Self-employed' },\n { value: 'unemployed', label: 'Unemployed' },\n { value: 'student', label: 'Student' },\n { value: 'homemaker', label: 'Homemaker' },\n { value: 'retired', label: 'Retired' },\n { value: 'daily_wage', label: 'Daily wage worker' },\n { value: 'other', label: 'Other' },\n] as const;\n\nexport const shiftOptions = [\n { value: 'day_shift', label: 'Day shift' },\n { value: 'night_shift', label: 'Night shift' },\n { value: 'rotating', label: 'Rotating shifts' },\n { value: 'flexible', label: 'Flexible hours' },\n { value: 'work_from_home', label: 'Work from home' },\n { value: 'not_applicable', label: 'Not applicable' },\n] as const;\n\nexport const incomeRangeOptions = [\n { value: 'below_5k', label: 'Below ₹5,000' },\n { value: '5k_10k', label: '₹5,000 – ₹10,000' },\n { value: '10k_25k', label: '₹10,000 – ₹25,000' },\n { value: '25k_50k', label: '₹25,000 – ₹50,000' },\n { value: '50k_1L', label: '₹50,000 – ₹1 Lakh' },\n { value: '1L_2.5L', label: '₹1 Lakh – ₹2.5 Lakh' },\n { value: '2.5L_5L', label: '₹2.5 Lakh – ₹5 Lakh' },\n { 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',\n label: 'Employment & Occupation',\n step: 7,\n description: 'Current job, shift, income, and dream occupation.',\n fields: [\n {\n order: 1,\n key: 'employmentStatus',\n label: 'Employment Status',\n type: 'single_select',\n step: 7,\n isOnboarding: true,\n optional: true,\n options: [...employmentStatusOptions],\n },\n {\n order: 2,\n key: 'occupation',\n label: 'Occupation',\n type: 'text',\n step: 7,\n isOnboarding: true,\n optional: true,\n },\n {\n order: 3,\n key: 'workShift',\n label: 'Work Shift',\n type: 'single_select',\n step: 7,\n isOnboarding: true,\n optional: true,\n options: [...shiftOptions],\n },\n {\n order: 4,\n key: 'comfortableWithShift',\n label: 'Comfortable with Shift',\n type: 'single_select',\n step: 7,\n isOnboarding: true,\n optional: true,\n options: [\n { value: 'yes', label: 'Yes' },\n { value: 'no', label: 'No' },\n { value: 'somewhat', label: 'Somewhat' },\n ],\n },\n {\n order: 5,\n key: 'desiredShift',\n label: 'Desired Shift',\n type: 'single_select',\n step: 7,\n isOnboarding: true,\n optional: true,\n options: [...shiftOptions],\n },\n {\n order: 6,\n key: 'incomeRange',\n label: 'Income Range',\n type: 'single_select',\n step: 7,\n isOnboarding: true,\n optional: true,\n options: [...incomeRangeOptions],\n sensitive: true,\n },\n {\n order: 7,\n key: 'dreamOccupation',\n label: 'Dream Occupation',\n type: 'textarea',\n step: 7,\n isOnboarding: true,\n optional: true,\n maxLength: 500,\n },\n ],\n};\n"]}
@@ -1 +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"}
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqCjC,CAAC;AAEX,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;EAQ3B,CAAC;AAEX,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUrB,CAAC;AAEX,eAAO,MAAM,cAAc,EAAE,UAsF5B,CAAC"}
@@ -1,39 +1,146 @@
1
1
  export const neurodiversityConditionOptions = [
2
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' },
3
+ {
4
+ value: 'autism_spectrum',
5
+ label: 'Autism Spectrum',
6
+ description: 'Autism Spectrum Disorder (ASD)',
7
+ },
8
+ {
9
+ value: 'dyslexia',
10
+ label: 'Dyslexia',
11
+ description: 'Difficulty with reading and language processing',
12
+ },
5
13
  { value: 'dyspraxia', label: 'Dyspraxia', description: 'Difficulty with motor coordination' },
6
14
  { value: 'dyscalculia', label: 'Dyscalculia', description: 'Difficulty with numbers and math' },
7
- { value: 'tourettes', label: "Tourette's Syndrome", description: 'Involuntary tics and movements' },
15
+ {
16
+ value: 'tourettes',
17
+ label: "Tourette's Syndrome",
18
+ description: 'Involuntary tics and movements',
19
+ },
8
20
  { 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' },
21
+ {
22
+ value: 'bipolar',
23
+ label: 'Bipolar Disorder',
24
+ description: 'Mood episodes between mania and depression',
25
+ },
26
+ {
27
+ value: 'anxiety_disorder',
28
+ label: 'Anxiety Disorder',
29
+ description: 'Persistent excessive worry',
30
+ },
31
+ {
32
+ value: 'sensory_processing',
33
+ label: 'Sensory Processing Disorder',
34
+ description: 'Difficulty processing sensory information',
35
+ },
36
+ { value: 'other', label: 'Other' },
37
+ { value: 'prefer_not_to_say', label: 'Prefer not to say' },
13
38
  ];
14
39
  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' },
40
+ { value: 'loud_sounds', label: 'Sensitive to loud sounds' },
41
+ { value: 'bright_lights', label: 'Sensitive to bright lights' },
42
+ { value: 'textures', label: 'Sensitive to textures' },
43
+ { value: 'smells', label: 'Sensitive to smells' },
44
+ { value: 'quiet_environment', label: 'Needs quiet environment' },
45
+ { value: 'seeks_stimulation', label: 'Seeks sensory stimulation' },
18
46
  { value: 'no_specific', label: 'No specific sensory needs' },
19
47
  ];
20
48
  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' },
49
+ { value: 'flexible_deadlines', label: 'Flexible deadlines' },
50
+ { value: 'written_instructions', label: 'Written instructions' },
51
+ { value: 'quiet_workspace', label: 'Quiet workspace' },
52
+ { value: 'regular_breaks', label: 'Regular breaks' },
53
+ { value: 'structured_routines', label: 'Structured routines' },
54
+ { value: 'assistive_technology', label: 'Assistive technology' },
55
+ { value: 'peer_support', label: 'Peer support' },
56
+ { value: 'professional_support', label: 'Professional support' },
25
57
  { value: 'no_specific', label: 'No specific needs' },
26
58
  ];
27
59
  export const neurodiversity = {
28
- key: 'neurodiversity', label: 'Neurodiversity', step: 8,
60
+ key: 'neurodiversity',
61
+ label: 'Neurodiversity',
62
+ step: 8,
29
63
  description: 'Neurodivergent identity, learning style, and support needs.',
30
64
  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] },
65
+ {
66
+ order: 1,
67
+ key: 'neurodiverseIdentity',
68
+ label: 'Neurodiverse Identity',
69
+ type: 'single_select',
70
+ step: 8,
71
+ isOnboarding: true,
72
+ optional: true,
73
+ options: [
74
+ { value: 'yes', label: 'Yes' },
75
+ { value: 'no', label: 'No' },
76
+ { value: 'exploring', label: 'Exploring / Not sure' },
77
+ { value: 'prefer_not_to_say', label: 'Prefer not to say' },
78
+ ],
79
+ },
80
+ {
81
+ order: 2,
82
+ key: 'conditions',
83
+ label: 'Conditions',
84
+ type: 'multi_select',
85
+ step: 8,
86
+ isOnboarding: true,
87
+ optional: true,
88
+ options: [...neurodiversityConditionOptions],
89
+ conditionalOn: { field: 'neurodiverseIdentity', values: ['yes', 'exploring'] },
90
+ },
91
+ {
92
+ order: 3,
93
+ key: 'sensoryPreferences',
94
+ label: 'Sensory Preferences',
95
+ type: 'multi_select',
96
+ step: 8,
97
+ isOnboarding: true,
98
+ optional: true,
99
+ options: [...sensoryPreferenceOptions],
100
+ },
101
+ {
102
+ order: 4,
103
+ key: 'learningStyle',
104
+ label: 'Learning Style',
105
+ type: 'single_select',
106
+ step: 8,
107
+ isOnboarding: true,
108
+ optional: true,
109
+ options: [
110
+ { value: 'visual', label: 'Visual learner' },
111
+ { value: 'auditory', label: 'Auditory learner' },
112
+ { value: 'kinesthetic', label: 'Kinesthetic (hands-on)' },
113
+ { value: 'reading_writing', label: 'Reading & Writing' },
114
+ { value: 'mixed', label: 'Mixed / All styles' },
115
+ ],
116
+ },
117
+ {
118
+ order: 5,
119
+ key: 'communicationPreference',
120
+ label: 'Communication Preference',
121
+ type: 'single_select',
122
+ step: 8,
123
+ isOnboarding: true,
124
+ optional: true,
125
+ options: [
126
+ { value: 'face_to_face', label: 'Face-to-face verbal' },
127
+ { value: 'written', label: 'Written (text/email)' },
128
+ { value: 'visual_aids', label: 'Visual aids' },
129
+ { value: 'phone_calls', label: 'Phone calls' },
130
+ { value: 'small_groups_only', label: 'Small groups only' },
131
+ { value: 'prefer_not_to_say', label: 'Prefer not to say' },
132
+ ],
133
+ },
134
+ {
135
+ order: 6,
136
+ key: 'supportNeeds',
137
+ label: 'Support Needs',
138
+ type: 'multi_select',
139
+ step: 8,
140
+ isOnboarding: true,
141
+ optional: true,
142
+ options: [...supportNeedOptions],
143
+ },
37
144
  ],
38
145
  };
39
146
  //# sourceMappingURL=08-neurodiversity.js.map
@@ -1 +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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AAsB,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"]}
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;QACE,KAAK,EAAE,iBAAiB;QACxB,KAAK,EAAE,iBAAiB;QACxB,WAAW,EAAE,gCAAgC;KAC9C;IACD;QACE,KAAK,EAAE,UAAU;QACjB,KAAK,EAAE,UAAU;QACjB,WAAW,EAAE,iDAAiD;KAC/D;IACD,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;QACE,KAAK,EAAE,WAAW;QAClB,KAAK,EAAE,qBAAqB;QAC5B,WAAW,EAAE,gCAAgC;KAC9C;IACD,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,+BAA+B,EAAE;IAC5E;QACE,KAAK,EAAE,SAAS;QAChB,KAAK,EAAE,kBAAkB;QACzB,WAAW,EAAE,4CAA4C;KAC1D;IACD;QACE,KAAK,EAAE,kBAAkB;QACzB,KAAK,EAAE,kB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CAAC;YACR,GAAG,EAAE,cAAc;YACnB,KAAK,EAAE,eAAe;YACtB,IAAI,EAAE,cAAc;YACpB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,kBAAkB,CAAC;SACjC;KACF;CACF,CAAC","sourcesContent":["import type { FieldGroup } from './types.js';\n\nexport const neurodiversityConditionOptions = [\n { value: 'adhd', label: 'ADHD', description: 'Attention Deficit Hyperactivity Disorder' },\n {\n value: 'autism_spectrum',\n label: 'Autism Spectrum',\n description: 'Autism Spectrum Disorder (ASD)',\n },\n {\n value: 'dyslexia',\n label: 'Dyslexia',\n description: 'Difficulty with reading and language processing',\n },\n { value: 'dyspraxia', label: 'Dyspraxia', description: 'Difficulty with motor coordination' },\n { value: 'dyscalculia', label: 'Dyscalculia', description: 'Difficulty with numbers and math' },\n {\n value: 'tourettes',\n label: \"Tourette's Syndrome\",\n description: 'Involuntary tics and movements',\n },\n { value: 'ocd', label: 'OCD', description: 'Obsessive-Compulsive Disorder' },\n {\n value: 'bipolar',\n label: 'Bipolar Disorder',\n description: 'Mood episodes between mania and depression',\n },\n {\n value: 'anxiety_disorder',\n label: 'Anxiety Disorder',\n description: 'Persistent excessive worry',\n },\n {\n value: 'sensory_processing',\n label: 'Sensory Processing Disorder',\n description: 'Difficulty processing sensory information',\n },\n { value: 'other', label: 'Other' },\n { 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' },\n { value: 'bright_lights', label: 'Sensitive to bright lights' },\n { value: 'textures', label: 'Sensitive to textures' },\n { value: 'smells', label: 'Sensitive to smells' },\n { value: 'quiet_environment', label: 'Needs quiet environment' },\n { 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' },\n { value: 'written_instructions', label: 'Written instructions' },\n { value: 'quiet_workspace', label: 'Quiet workspace' },\n { value: 'regular_breaks', label: 'Regular breaks' },\n { value: 'structured_routines', label: 'Structured routines' },\n { value: 'assistive_technology', label: 'Assistive technology' },\n { value: 'peer_support', label: 'Peer support' },\n { 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',\n label: 'Neurodiversity',\n step: 8,\n description: 'Neurodivergent identity, learning style, and support needs.',\n fields: [\n {\n order: 1,\n key: 'neurodiverseIdentity',\n label: 'Neurodiverse Identity',\n type: 'single_select',\n step: 8,\n isOnboarding: true,\n optional: true,\n options: [\n { value: 'yes', label: 'Yes' },\n { value: 'no', label: 'No' },\n { value: 'exploring', label: 'Exploring / Not sure' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n ],\n },\n {\n order: 2,\n key: 'conditions',\n label: 'Conditions',\n type: 'multi_select',\n step: 8,\n isOnboarding: true,\n optional: true,\n options: [...neurodiversityConditionOptions],\n conditionalOn: { field: 'neurodiverseIdentity', values: ['yes', 'exploring'] },\n },\n {\n order: 3,\n key: 'sensoryPreferences',\n label: 'Sensory Preferences',\n type: 'multi_select',\n step: 8,\n isOnboarding: true,\n optional: true,\n options: [...sensoryPreferenceOptions],\n },\n {\n order: 4,\n key: 'learningStyle',\n label: 'Learning Style',\n type: 'single_select',\n step: 8,\n isOnboarding: true,\n optional: true,\n options: [\n { value: 'visual', label: 'Visual learner' },\n { value: 'auditory', label: 'Auditory learner' },\n { value: 'kinesthetic', label: 'Kinesthetic (hands-on)' },\n { value: 'reading_writing', label: 'Reading & Writing' },\n { value: 'mixed', label: 'Mixed / All styles' },\n ],\n },\n {\n order: 5,\n key: 'communicationPreference',\n label: 'Communication Preference',\n type: 'single_select',\n step: 8,\n isOnboarding: true,\n optional: true,\n options: [\n { value: 'face_to_face', label: 'Face-to-face verbal' },\n { value: 'written', label: 'Written (text/email)' },\n { value: 'visual_aids', label: 'Visual aids' },\n { value: 'phone_calls', label: 'Phone calls' },\n { value: 'small_groups_only', label: 'Small groups only' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n ],\n },\n {\n order: 6,\n key: 'supportNeeds',\n label: 'Support Needs',\n type: 'multi_select',\n step: 8,\n isOnboarding: true,\n optional: true,\n options: [...supportNeedOptions],\n },\n ],\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"09-health.d.ts","sourceRoot":"","sources":["../../src/profile-fields/09-health.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;EAKpB,CAAC;AAEX,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;EAKtB,CAAC;AAEX,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUd,CAAC;AAEX,eAAO,MAAM,eAAe,EAAE,UAa7B,CAAC"}
1
+ {"version":3,"file":"09-health.d.ts","sourceRoot":"","sources":["../../src/profile-fields/09-health.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;EASpB,CAAC;AAEX,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;EAQtB,CAAC;AAEX,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmBd,CAAC;AAEX,eAAO,MAAM,eAAe,EAAE,UAuH7B,CAAC"}