udp-schema 1.0.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/dist/field-helpers.d.ts +23 -8
  2. package/dist/field-helpers.d.ts.map +1 -1
  3. package/dist/field-helpers.js +43 -12
  4. package/dist/field-helpers.js.map +1 -1
  5. package/dist/field-meta.d.ts +14 -52
  6. package/dist/field-meta.d.ts.map +1 -1
  7. package/dist/field-meta.js +13 -307
  8. package/dist/field-meta.js.map +1 -1
  9. package/dist/index.d.ts +23 -16
  10. package/dist/index.d.ts.map +1 -1
  11. package/dist/index.js +21 -21
  12. package/dist/index.js.map +1 -1
  13. package/dist/profile-fields/01-profile.d.ts +264 -0
  14. package/dist/profile-fields/01-profile.d.ts.map +1 -0
  15. package/dist/profile-fields/01-profile.js +258 -0
  16. package/dist/profile-fields/01-profile.js.map +1 -0
  17. package/dist/profile-fields/02-political.d.ts +133 -0
  18. package/dist/profile-fields/02-political.d.ts.map +1 -0
  19. package/dist/profile-fields/02-political.js +133 -0
  20. package/dist/profile-fields/02-political.js.map +1 -0
  21. package/dist/profile-fields/03-electoral.d.ts +46 -0
  22. package/dist/profile-fields/03-electoral.d.ts.map +1 -0
  23. package/dist/profile-fields/03-electoral.js +91 -0
  24. package/dist/profile-fields/03-electoral.js.map +1 -0
  25. package/dist/profile-fields/04-leadership.d.ts +34 -0
  26. package/dist/profile-fields/04-leadership.d.ts.map +1 -0
  27. package/dist/profile-fields/04-leadership.js +139 -0
  28. package/dist/profile-fields/04-leadership.js.map +1 -0
  29. package/dist/profile-fields/05-psychological.d.ts +58 -0
  30. package/dist/profile-fields/05-psychological.d.ts.map +1 -0
  31. package/dist/profile-fields/05-psychological.js +49 -0
  32. package/dist/profile-fields/05-psychological.js.map +1 -0
  33. package/dist/profile-fields/06-education.d.ts +28 -0
  34. package/dist/profile-fields/06-education.d.ts.map +1 -0
  35. package/dist/profile-fields/06-education.js +136 -0
  36. package/dist/profile-fields/06-education.js.map +1 -0
  37. package/dist/profile-fields/07-employment.d.ts +75 -0
  38. package/dist/profile-fields/07-employment.d.ts.map +1 -0
  39. package/dist/profile-fields/07-employment.js +112 -0
  40. package/dist/profile-fields/07-employment.js.map +1 -0
  41. package/dist/profile-fields/08-neurodiversity.d.ts +100 -0
  42. package/dist/profile-fields/08-neurodiversity.d.ts.map +1 -0
  43. package/dist/profile-fields/08-neurodiversity.js +146 -0
  44. package/dist/profile-fields/08-neurodiversity.js.map +1 -0
  45. package/dist/profile-fields/09-health.d.ts +89 -0
  46. package/dist/profile-fields/09-health.d.ts.map +1 -0
  47. package/dist/profile-fields/09-health.js +160 -0
  48. package/dist/profile-fields/09-health.js.map +1 -0
  49. package/dist/profile-fields/10-worldview.d.ts +75 -0
  50. package/dist/profile-fields/10-worldview.d.ts.map +1 -0
  51. package/dist/profile-fields/10-worldview.js +140 -0
  52. package/dist/profile-fields/10-worldview.js.map +1 -0
  53. package/dist/profile-fields/11-residence.d.ts +3 -0
  54. package/dist/profile-fields/11-residence.d.ts.map +1 -0
  55. package/dist/profile-fields/11-residence.js +45 -0
  56. package/dist/profile-fields/11-residence.js.map +1 -0
  57. package/dist/profile-fields/12-household.d.ts +90 -0
  58. package/dist/profile-fields/12-household.d.ts.map +1 -0
  59. package/dist/profile-fields/12-household.js +187 -0
  60. package/dist/profile-fields/12-household.js.map +1 -0
  61. package/dist/profile-fields/index.d.ts +22 -0
  62. package/dist/profile-fields/index.d.ts.map +1 -0
  63. package/dist/profile-fields/index.js +47 -0
  64. package/dist/profile-fields/index.js.map +1 -0
  65. package/dist/profile-fields/types.d.ts +66 -0
  66. package/dist/profile-fields/types.d.ts.map +1 -0
  67. package/dist/profile-fields/types.js +8 -0
  68. package/dist/profile-fields/types.js.map +1 -0
  69. package/dist/progress-fields.d.ts +18 -0
  70. package/dist/progress-fields.d.ts.map +1 -1
  71. package/dist/progress-fields.js +21 -0
  72. package/dist/progress-fields.js.map +1 -1
  73. package/dist/step-01.schema.d.ts.map +1 -1
  74. package/dist/step-01.schema.js +1 -1
  75. package/dist/step-01.schema.js.map +1 -1
  76. package/dist/step-03.schema.d.ts +1 -1
  77. package/dist/step-03.schema.d.ts.map +1 -1
  78. package/dist/step-03.schema.js +1 -8
  79. package/dist/step-03.schema.js.map +1 -1
  80. package/dist/step-04.schema.d.ts +1 -1
  81. package/dist/step-04.schema.d.ts.map +1 -1
  82. package/dist/step-04.schema.js +2 -6
  83. package/dist/step-04.schema.js.map +1 -1
  84. package/dist/step-07.schema.d.ts.map +1 -1
  85. package/dist/step-07.schema.js +2 -16
  86. package/dist/step-07.schema.js.map +1 -1
  87. package/dist/step-08.schema.d.ts.map +1 -1
  88. package/dist/step-08.schema.js +1 -3
  89. package/dist/step-08.schema.js.map +1 -1
  90. package/dist/step-09.schema.d.ts +1 -1
  91. package/dist/step-09.schema.d.ts.map +1 -1
  92. package/dist/step-09.schema.js +5 -19
  93. package/dist/step-09.schema.js.map +1 -1
  94. package/dist/step-12.schema.d.ts +1 -1
  95. package/dist/step-12.schema.d.ts.map +1 -1
  96. package/dist/step-12.schema.js +3 -23
  97. package/dist/step-12.schema.js.map +1 -1
  98. package/package.json +1 -1
@@ -0,0 +1,91 @@
1
+ export const votingIssueOptions = [
2
+ { value: 'economy', label: 'Economy & Jobs' },
3
+ { value: 'healthcare', label: 'Healthcare' },
4
+ { value: 'education', label: 'Education' },
5
+ { value: 'unemployment', label: 'Unemployment' },
6
+ { value: 'corruption', label: 'Corruption' },
7
+ { value: 'womens_safety', label: "Women's Safety" },
8
+ { value: 'environment', label: 'Environment' },
9
+ { value: 'caste_issues', label: 'Caste Issues' },
10
+ { value: 'religious_issues', label: 'Religious Issues' },
11
+ { value: 'infrastructure', label: 'Infrastructure' },
12
+ { value: 'national_security', label: 'National Security' },
13
+ { value: 'farmer_issues', label: 'Farmer Issues' },
14
+ { value: 'water_sanitation', label: 'Water & Sanitation' },
15
+ { value: 'other', label: 'Other' },
16
+ ];
17
+ export const electoralBehaviour = {
18
+ key: 'electoral_behaviour',
19
+ label: 'Electoral Behaviour',
20
+ step: 3,
21
+ description: 'Your voter ID, voting history, and the issues that matter to you.',
22
+ fields: [
23
+ {
24
+ order: 1,
25
+ key: 'epicNumber',
26
+ label: 'Voter ID (EPIC)',
27
+ type: 'text',
28
+ step: 3,
29
+ isOnboarding: true,
30
+ optional: true,
31
+ maxLength: 20,
32
+ },
33
+ {
34
+ order: 2,
35
+ key: 'willVoteThisTime',
36
+ label: 'Will Vote This Time',
37
+ type: 'single_select',
38
+ step: 3,
39
+ isOnboarding: true,
40
+ optional: true,
41
+ options: [
42
+ { value: 'yes', label: 'Yes' },
43
+ { value: 'no', label: 'No' },
44
+ { value: 'maybe', label: 'Maybe' },
45
+ { value: 'prefer_not_to_say', label: 'Prefer not to say' },
46
+ ],
47
+ },
48
+ {
49
+ order: 3,
50
+ key: 'didVoteLastTime',
51
+ label: 'Voted Last Time',
52
+ type: 'single_select',
53
+ step: 3,
54
+ isOnboarding: true,
55
+ optional: true,
56
+ options: [
57
+ { value: 'yes', label: 'Yes' },
58
+ { value: 'no', label: 'No' },
59
+ { value: 'prefer_not_to_say', label: 'Prefer not to say' },
60
+ ],
61
+ },
62
+ {
63
+ order: 4,
64
+ key: 'votingFrequency',
65
+ label: 'Voting Frequency',
66
+ type: 'single_select',
67
+ step: 3,
68
+ isOnboarding: true,
69
+ optional: true,
70
+ options: [
71
+ { value: 'every_election', label: 'Every election' },
72
+ { value: 'most_elections', label: 'Most elections' },
73
+ { value: 'sometimes', label: 'Sometimes' },
74
+ { value: 'rarely', label: 'Rarely' },
75
+ { value: 'never', label: 'Never' },
76
+ { value: 'first_time_voter', label: 'First-time voter' },
77
+ ],
78
+ },
79
+ {
80
+ order: 5,
81
+ key: 'primaryVotingIssues',
82
+ label: 'Primary Voting Issues',
83
+ type: 'multi_select',
84
+ step: 3,
85
+ isOnboarding: true,
86
+ optional: true,
87
+ options: [...votingIssueOptions],
88
+ },
89
+ ],
90
+ };
91
+ //# sourceMappingURL=03-electoral.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"03-electoral.js","sourceRoot":"","sources":["../../src/profile-fields/03-electoral.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,gBAAgB,EAAE;IAC7C,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE;IAC5C,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,EAAE;IAC1C,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,cAAc,EAAE;IAChD,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE;IAC5C,EAAE,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,gBAAgB,EAAE;IACnD,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE;IAC9C,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,cAAc,EAAE;IAChD,EAAE,KAAK,EAAE,kBAAkB,EAAE,KAAK,EAAE,kBAAkB,EAAE;IACxD,EAAE,KAAK,EAAE,gBAAgB,EAAE,KAAK,EAAE,gBAAgB,EAAE;IACpD,EAAE,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,mBAAmB,EAAE;IAC1D,EAAE,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,eAAe,EAAE;IAClD,EAAE,KAAK,EAAE,kBAAkB,EAAE,KAAK,EAAE,oBAAoB,EAAE;IAC1D,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;CAC1B,CAAC;AAEX,MAAM,CAAC,MAAM,kBAAkB,GAAe;IAC5C,GAAG,EAAE,qBAAqB;IAC1B,KAAK,EAAE,qBAAqB;IAC5B,IAAI,EAAE,CAAC;IACP,WAAW,EAAE,mEAAmE;IAChF,MAAM,EAAE;QACN;YACE,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AE;gBACP,EAAE,KAAK,EAAE,gBAAgB,EAAE,KAAK,EAAE,gBAAgB,EAAE;gBACpD,EAAE,KAAK,EAAE,gBAAgB,EAAE,KAAK,EAAE,gBAAgB,EAAE;gBACpD,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,EAAE;gBAC1C,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;gBACpC,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;gBAClC,EAAE,KAAK,EAAE,kBAAkB,EAAE,KAAK,EAAE,kBAAkB,EAAE;aACzD;SACF;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,qBAAqB;YAC1B,KAAK,EAAE,uBAAuB;YAC9B,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 votingIssueOptions = [\n { value: 'economy', label: 'Economy & Jobs' },\n { value: 'healthcare', label: 'Healthcare' },\n { value: 'education', label: 'Education' },\n { value: 'unemployment', label: 'Unemployment' },\n { value: 'corruption', label: 'Corruption' },\n { value: 'womens_safety', label: \"Women's Safety\" },\n { value: 'environment', label: 'Environment' },\n { value: 'caste_issues', label: 'Caste Issues' },\n { value: 'religious_issues', label: 'Religious Issues' },\n { value: 'infrastructure', label: 'Infrastructure' },\n { value: 'national_security', label: 'National Security' },\n { value: 'farmer_issues', label: 'Farmer Issues' },\n { value: 'water_sanitation', label: 'Water & Sanitation' },\n { value: 'other', label: 'Other' },\n] as const;\n\nexport const electoralBehaviour: FieldGroup = {\n key: 'electoral_behaviour',\n label: 'Electoral Behaviour',\n step: 3,\n description: 'Your voter ID, voting history, and the issues that matter to you.',\n fields: [\n {\n order: 1,\n key: 'epicNumber',\n label: 'Voter ID (EPIC)',\n type: 'text',\n step: 3,\n isOnboarding: true,\n optional: true,\n maxLength: 20,\n },\n {\n order: 2,\n key: 'willVoteThisTime',\n label: 'Will Vote This Time',\n type: 'single_select',\n step: 3,\n isOnboarding: true,\n optional: true,\n options: [\n { value: 'yes', label: 'Yes' },\n { value: 'no', label: 'No' },\n { value: 'maybe', label: 'Maybe' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n ],\n },\n {\n order: 3,\n key: 'didVoteLastTime',\n label: 'Voted Last Time',\n type: 'single_select',\n step: 3,\n isOnboarding: true,\n optional: true,\n options: [\n { value: 'yes', label: 'Yes' },\n { value: 'no', label: 'No' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n ],\n },\n {\n order: 4,\n key: 'votingFrequency',\n label: 'Voting Frequency',\n type: 'single_select',\n step: 3,\n isOnboarding: true,\n optional: true,\n options: [\n { value: 'every_election', label: 'Every election' },\n { value: 'most_elections', label: 'Most elections' },\n { value: 'sometimes', label: 'Sometimes' },\n { value: 'rarely', label: 'Rarely' },\n { value: 'never', label: 'Never' },\n { value: 'first_time_voter', label: 'First-time voter' },\n ],\n },\n {\n order: 5,\n key: 'primaryVotingIssues',\n label: 'Primary Voting Issues',\n type: 'multi_select',\n step: 3,\n isOnboarding: true,\n optional: true,\n options: [...votingIssueOptions],\n },\n ],\n};\n"]}
@@ -0,0 +1,34 @@
1
+ import type { FieldGroup } from './types.js';
2
+ export declare const leadershipSkillsetOptions: readonly [{
3
+ readonly value: "public_speaking";
4
+ readonly label: "Public Speaking";
5
+ }, {
6
+ readonly value: "community_organizing";
7
+ readonly label: "Community Organizing";
8
+ }, {
9
+ readonly value: "conflict_resolution";
10
+ readonly label: "Conflict Resolution";
11
+ }, {
12
+ readonly value: "fundraising";
13
+ readonly label: "Fundraising";
14
+ }, {
15
+ readonly value: "media_handling";
16
+ readonly label: "Media Handling";
17
+ }, {
18
+ readonly value: "legal_awareness";
19
+ readonly label: "Legal Awareness";
20
+ }, {
21
+ readonly value: "grassroots_mobilization";
22
+ readonly label: "Grassroots Mobilization";
23
+ }, {
24
+ readonly value: "digital_campaigning";
25
+ readonly label: "Digital Campaigning";
26
+ }, {
27
+ readonly value: "negotiation";
28
+ readonly label: "Negotiation";
29
+ }, {
30
+ readonly value: "event_management";
31
+ readonly label: "Event Management";
32
+ }];
33
+ export declare const leadershipAmbitions: FieldGroup;
34
+ //# sourceMappingURL=04-leadership.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"04-leadership.d.ts","sourceRoot":"","sources":["../../src/profile-fields/04-leadership.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW5B,CAAC;AAEX,eAAO,MAAM,mBAAmB,EAAE,UA6HjC,CAAC"}
@@ -0,0 +1,139 @@
1
+ export const leadershipSkillsetOptions = [
2
+ { value: 'public_speaking', label: 'Public Speaking' },
3
+ { value: 'community_organizing', label: 'Community Organizing' },
4
+ { value: 'conflict_resolution', label: 'Conflict Resolution' },
5
+ { value: 'fundraising', label: 'Fundraising' },
6
+ { value: 'media_handling', label: 'Media Handling' },
7
+ { value: 'legal_awareness', label: 'Legal Awareness' },
8
+ { value: 'grassroots_mobilization', label: 'Grassroots Mobilization' },
9
+ { value: 'digital_campaigning', label: 'Digital Campaigning' },
10
+ { value: 'negotiation', label: 'Negotiation' },
11
+ { value: 'event_management', label: 'Event Management' },
12
+ ];
13
+ export const leadershipAmbitions = {
14
+ key: 'leadership_ambitions',
15
+ label: 'Leadership & Ambitions',
16
+ step: 4,
17
+ description: 'Your desire to lead, political aspirations, and skills.',
18
+ fields: [
19
+ {
20
+ order: 1,
21
+ key: 'participateInRevolution',
22
+ label: 'Participate in Revolution',
23
+ type: 'single_select',
24
+ step: 4,
25
+ isOnboarding: true,
26
+ optional: true,
27
+ options: [
28
+ { value: 'yes_definitely', label: 'Yes, definitely!' },
29
+ { value: 'maybe', label: 'Maybe' },
30
+ { value: 'not_sure', label: 'Not sure yet' },
31
+ { value: 'no', label: 'No' },
32
+ ],
33
+ },
34
+ {
35
+ order: 2,
36
+ key: 'desiredPoliticalPosition',
37
+ label: 'Desired Political Position',
38
+ type: 'single_select',
39
+ step: 4,
40
+ isOnboarding: true,
41
+ optional: true,
42
+ options: [
43
+ { value: 'sarpanch', label: 'Sarpanch / Village Head' },
44
+ { value: 'block_pramukh', label: 'Block Pramukh' },
45
+ { value: 'zila_panchayat', label: 'Zila Panchayat Member' },
46
+ { value: 'mla', label: 'MLA (State Assembly)' },
47
+ { value: 'mp', label: 'MP (Parliament)' },
48
+ { value: 'municipal_councillor', label: 'Municipal Councillor' },
49
+ { value: 'mayor', label: 'Mayor' },
50
+ { value: 'none', label: 'None' },
51
+ { value: 'other', label: 'Other' },
52
+ ],
53
+ },
54
+ {
55
+ order: 3,
56
+ key: 'leadershipSkillset',
57
+ label: 'Leadership Skills',
58
+ type: 'multi_select',
59
+ step: 4,
60
+ isOnboarding: true,
61
+ optional: true,
62
+ options: [...leadershipSkillsetOptions],
63
+ },
64
+ {
65
+ order: 4,
66
+ key: 'politicalExposure',
67
+ label: 'Political Exposure',
68
+ type: 'single_select',
69
+ step: 4,
70
+ isOnboarding: true,
71
+ optional: true,
72
+ options: [
73
+ { value: 'none', label: 'None' },
74
+ { value: 'minimal', label: 'Minimal' },
75
+ { value: 'moderate', label: 'Moderate' },
76
+ { value: 'high', label: 'High' },
77
+ { value: 'very_high', label: 'Very High' },
78
+ ],
79
+ },
80
+ {
81
+ order: 5,
82
+ key: 'comfortWithVisibility',
83
+ label: 'Comfort with Visibility',
84
+ type: 'single_select',
85
+ step: 4,
86
+ isOnboarding: true,
87
+ optional: true,
88
+ options: [
89
+ { value: 'very_comfortable', label: 'Very comfortable' },
90
+ { value: 'somewhat', label: 'Somewhat' },
91
+ { value: 'prefer_behind_scenes', label: 'Prefer behind the scenes' },
92
+ { value: 'not_comfortable', label: 'Not comfortable' },
93
+ ],
94
+ },
95
+ {
96
+ order: 6,
97
+ key: 'socialInfluenceLevel',
98
+ label: 'Social Influence Level',
99
+ type: 'single_select',
100
+ step: 4,
101
+ isOnboarding: true,
102
+ optional: true,
103
+ options: [
104
+ { value: 'very_influential', label: 'Very influential' },
105
+ { value: 'somewhat', label: 'Somewhat' },
106
+ { value: 'average', label: 'Average' },
107
+ { value: 'low', label: 'Low' },
108
+ { value: 'not_sure', label: 'Not sure' },
109
+ ],
110
+ },
111
+ {
112
+ order: 7,
113
+ key: 'pastExperience',
114
+ label: 'Past Experience',
115
+ type: 'single_select',
116
+ step: 4,
117
+ isOnboarding: true,
118
+ optional: true,
119
+ options: [
120
+ { value: 'yes_party_work', label: 'Yes — Party work' },
121
+ { value: 'yes_social_work', label: 'Yes — Social work / NGO' },
122
+ { value: 'yes_student_politics', label: 'Yes — Student politics' },
123
+ { value: 'no_experience', label: 'No experience' },
124
+ { value: 'other', label: 'Other' },
125
+ ],
126
+ },
127
+ {
128
+ order: 8,
129
+ key: 'changesYouWantToBring',
130
+ label: 'Changes You Want to Bring',
131
+ type: 'textarea',
132
+ step: 4,
133
+ isOnboarding: true,
134
+ optional: true,
135
+ maxLength: 1000,
136
+ },
137
+ ],
138
+ };
139
+ //# sourceMappingURL=04-leadership.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"04-leadership.js","sourceRoot":"","sources":["../../src/profile-fields/04-leadership.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,EAAE,KAAK,EAAE,iBAAiB,EAAE,KAAK,EAAE,iBAAiB,EAAE;IACtD,EAAE,KAAK,EAAE,sBAAsB,EAAE,KAAK,EAAE,sBAAsB,EAAE;IAChE,EAAE,KAAK,EAAE,qBAAqB,EAAE,KAAK,EAAE,qBAAqB,EAAE;IAC9D,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE;IAC9C,EAA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ACP,EAAE,KAAK,EAAE,gBAAgB,EAAE,KAAK,EAAE,kBAAkB,EAAE;gBACtD,EAAE,KAAK,EAAE,iBAAiB,EAAE,KAAK,EAAE,yBAAyB,EAAE;gBAC9D,EAAE,KAAK,EAAE,sBAAsB,EAAE,KAAK,EAAE,wBAAwB,EAAE;gBAClE,EAAE,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,eAAe,EAAE;gBAClD,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;aACnC;SACF;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,uBAAuB;YAC5B,KAAK,EAAE,2BAA2B;YAClC,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,SAAS,EAAE,IAAI;SAChB;KACF;CACF,CAAC","sourcesContent":["import type { FieldGroup } from './types.js';\n\nexport const leadershipSkillsetOptions = [\n { value: 'public_speaking', label: 'Public Speaking' },\n { value: 'community_organizing', label: 'Community Organizing' },\n { value: 'conflict_resolution', label: 'Conflict Resolution' },\n { value: 'fundraising', label: 'Fundraising' },\n { value: 'media_handling', label: 'Media Handling' },\n { value: 'legal_awareness', label: 'Legal Awareness' },\n { value: 'grassroots_mobilization', label: 'Grassroots Mobilization' },\n { value: 'digital_campaigning', label: 'Digital Campaigning' },\n { value: 'negotiation', label: 'Negotiation' },\n { value: 'event_management', label: 'Event Management' },\n] as const;\n\nexport const leadershipAmbitions: FieldGroup = {\n key: 'leadership_ambitions',\n label: 'Leadership & Ambitions',\n step: 4,\n description: 'Your desire to lead, political aspirations, and skills.',\n fields: [\n {\n order: 1,\n key: 'participateInRevolution',\n label: 'Participate in Revolution',\n type: 'single_select',\n step: 4,\n isOnboarding: true,\n optional: true,\n options: [\n { value: 'yes_definitely', label: 'Yes, definitely!' },\n { value: 'maybe', label: 'Maybe' },\n { value: 'not_sure', label: 'Not sure yet' },\n { value: 'no', label: 'No' },\n ],\n },\n {\n order: 2,\n key: 'desiredPoliticalPosition',\n label: 'Desired Political Position',\n type: 'single_select',\n step: 4,\n isOnboarding: true,\n optional: true,\n options: [\n { value: 'sarpanch', label: 'Sarpanch / Village Head' },\n { value: 'block_pramukh', label: 'Block Pramukh' },\n { value: 'zila_panchayat', label: 'Zila Panchayat Member' },\n { value: 'mla', label: 'MLA (State Assembly)' },\n { value: 'mp', label: 'MP (Parliament)' },\n { value: 'municipal_councillor', label: 'Municipal Councillor' },\n { value: 'mayor', label: 'Mayor' },\n { value: 'none', label: 'None' },\n { value: 'other', label: 'Other' },\n ],\n },\n {\n order: 3,\n key: 'leadershipSkillset',\n label: 'Leadership Skills',\n type: 'multi_select',\n step: 4,\n isOnboarding: true,\n optional: true,\n options: [...leadershipSkillsetOptions],\n },\n {\n order: 4,\n key: 'politicalExposure',\n label: 'Political Exposure',\n type: 'single_select',\n step: 4,\n isOnboarding: true,\n optional: true,\n options: [\n { value: 'none', label: 'None' },\n { value: 'minimal', label: 'Minimal' },\n { value: 'moderate', label: 'Moderate' },\n { value: 'high', label: 'High' },\n { value: 'very_high', label: 'Very High' },\n ],\n },\n {\n order: 5,\n key: 'comfortWithVisibility',\n label: 'Comfort with Visibility',\n type: 'single_select',\n step: 4,\n isOnboarding: true,\n optional: true,\n options: [\n { value: 'very_comfortable', label: 'Very comfortable' },\n { value: 'somewhat', label: 'Somewhat' },\n { value: 'prefer_behind_scenes', label: 'Prefer behind the scenes' },\n { value: 'not_comfortable', label: 'Not comfortable' },\n ],\n },\n {\n order: 6,\n key: 'socialInfluenceLevel',\n label: 'Social Influence Level',\n type: 'single_select',\n step: 4,\n isOnboarding: true,\n optional: true,\n options: [\n { value: 'very_influential', label: 'Very influential' },\n { value: 'somewhat', label: 'Somewhat' },\n { value: 'average', label: 'Average' },\n { value: 'low', label: 'Low' },\n { value: 'not_sure', label: 'Not sure' },\n ],\n },\n {\n order: 7,\n key: 'pastExperience',\n label: 'Past Experience',\n type: 'single_select',\n step: 4,\n isOnboarding: true,\n optional: true,\n options: [\n { value: 'yes_party_work', label: 'Yes — Party work' },\n { value: 'yes_social_work', label: 'Yes — Social work / NGO' },\n { value: 'yes_student_politics', label: 'Yes — Student politics' },\n { value: 'no_experience', label: 'No experience' },\n { value: 'other', label: 'Other' },\n ],\n },\n {\n order: 8,\n key: 'changesYouWantToBring',\n label: 'Changes You Want to Bring',\n type: 'textarea',\n step: 4,\n isOnboarding: true,\n optional: true,\n maxLength: 1000,\n },\n ],\n};\n"]}
@@ -0,0 +1,58 @@
1
+ import type { FieldGroup } from './types.js';
2
+ export declare const mbtiOptions: readonly [{
3
+ readonly value: "INTJ";
4
+ readonly label: "INTJ — The Architect";
5
+ }, {
6
+ readonly value: "INTP";
7
+ readonly label: "INTP — The Logician";
8
+ }, {
9
+ readonly value: "ENTJ";
10
+ readonly label: "ENTJ — The Commander";
11
+ }, {
12
+ readonly value: "ENTP";
13
+ readonly label: "ENTP — The Debater";
14
+ }, {
15
+ readonly value: "INFJ";
16
+ readonly label: "INFJ — The Advocate";
17
+ }, {
18
+ readonly value: "INFP";
19
+ readonly label: "INFP — The Mediator";
20
+ }, {
21
+ readonly value: "ENFJ";
22
+ readonly label: "ENFJ — The Protagonist";
23
+ }, {
24
+ readonly value: "ENFP";
25
+ readonly label: "ENFP — The Campaigner";
26
+ }, {
27
+ readonly value: "ISTJ";
28
+ readonly label: "ISTJ — The Logistician";
29
+ }, {
30
+ readonly value: "ISFJ";
31
+ readonly label: "ISFJ — The Defender";
32
+ }, {
33
+ readonly value: "ESTJ";
34
+ readonly label: "ESTJ — The Executive";
35
+ }, {
36
+ readonly value: "ESFJ";
37
+ readonly label: "ESFJ — The Consul";
38
+ }, {
39
+ readonly value: "ISTP";
40
+ readonly label: "ISTP — The Virtuoso";
41
+ }, {
42
+ readonly value: "ISFP";
43
+ readonly label: "ISFP — The Adventurer";
44
+ }, {
45
+ readonly value: "ESTP";
46
+ readonly label: "ESTP — The Entrepreneur";
47
+ }, {
48
+ readonly value: "ESFP";
49
+ readonly label: "ESFP — The Entertainer";
50
+ }, {
51
+ readonly value: "dont_know";
52
+ readonly label: "Don't know yet";
53
+ }, {
54
+ readonly value: "prefer_not_to_say";
55
+ readonly label: "Prefer not to say";
56
+ }];
57
+ export declare const psychologicalAssessment: FieldGroup;
58
+ //# sourceMappingURL=05-psychological.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"05-psychological.d.ts","sourceRoot":"","sources":["../../src/profile-fields/05-psychological.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmBd,CAAC;AAEX,eAAO,MAAM,uBAAuB,EAAE,UA4BrC,CAAC"}
@@ -0,0 +1,49 @@
1
+ export const mbtiOptions = [
2
+ { value: 'INTJ', label: 'INTJ — The Architect' },
3
+ { value: 'INTP', label: 'INTP — The Logician' },
4
+ { value: 'ENTJ', label: 'ENTJ — The Commander' },
5
+ { value: 'ENTP', label: 'ENTP — The Debater' },
6
+ { value: 'INFJ', label: 'INFJ — The Advocate' },
7
+ { value: 'INFP', label: 'INFP — The Mediator' },
8
+ { value: 'ENFJ', label: 'ENFJ — The Protagonist' },
9
+ { value: 'ENFP', label: 'ENFP — The Campaigner' },
10
+ { value: 'ISTJ', label: 'ISTJ — The Logistician' },
11
+ { value: 'ISFJ', label: 'ISFJ — The Defender' },
12
+ { value: 'ESTJ', label: 'ESTJ — The Executive' },
13
+ { value: 'ESFJ', label: 'ESFJ — The Consul' },
14
+ { value: 'ISTP', label: 'ISTP — The Virtuoso' },
15
+ { value: 'ISFP', label: 'ISFP — The Adventurer' },
16
+ { value: 'ESTP', label: 'ESTP — The Entrepreneur' },
17
+ { value: 'ESFP', label: 'ESFP — The Entertainer' },
18
+ { value: 'dont_know', label: "Don't know yet" },
19
+ { value: 'prefer_not_to_say', label: 'Prefer not to say' },
20
+ ];
21
+ export const psychologicalAssessment = {
22
+ key: 'psychological_assessment',
23
+ label: 'Psychological Assessment',
24
+ step: 5,
25
+ description: 'Personality type and Big Five traits.',
26
+ fields: [
27
+ {
28
+ order: 1,
29
+ key: 'mbtiType',
30
+ label: 'MBTI Type',
31
+ type: 'single_select',
32
+ step: 5,
33
+ isOnboarding: true,
34
+ optional: true,
35
+ options: [...mbtiOptions],
36
+ },
37
+ {
38
+ order: 2,
39
+ key: 'oceanScores',
40
+ label: 'Big Five (OCEAN)',
41
+ type: 'object',
42
+ step: 5,
43
+ isOnboarding: true,
44
+ optional: true,
45
+ description: 'Openness, Conscientiousness, Extraversion, Agreeableness, Neuroticism (1-100 each)',
46
+ },
47
+ ],
48
+ };
49
+ //# sourceMappingURL=05-psychological.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"05-psychological.js","sourceRoot":"","sources":["../../src/profile-fields/05-psychological.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,sBAAsB,EAAE;IAChD,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,qBAAqB,EAAE;IAC/C,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,sBAAsB,EAAE;IAChD,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,oBAAoB,EAAE;IAC9C,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,qBAAqB,EAAE;IAC/C,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,qBAAqB,EAAE;IAC/C,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,wBAAwB,EAAE;IAClD,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,uBAAuB,EAAE;IACjD,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,wBAAwB,EAAE;IAClD,EAAE,KAA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TJ — The Architect' },\n { value: 'INTP', label: 'INTP — The Logician' },\n { value: 'ENTJ', label: 'ENTJ — The Commander' },\n { value: 'ENTP', label: 'ENTP — The Debater' },\n { value: 'INFJ', label: 'INFJ — The Advocate' },\n { value: 'INFP', label: 'INFP — The Mediator' },\n { value: 'ENFJ', label: 'ENFJ — The Protagonist' },\n { value: 'ENFP', label: 'ENFP — The Campaigner' },\n { value: 'ISTJ', label: 'ISTJ — The Logistician' },\n { value: 'ISFJ', label: 'ISFJ — The Defender' },\n { value: 'ESTJ', label: 'ESTJ — The Executive' },\n { value: 'ESFJ', label: 'ESFJ — The Consul' },\n { value: 'ISTP', label: 'ISTP — The Virtuoso' },\n { value: 'ISFP', label: 'ISFP — The Adventurer' },\n { value: 'ESTP', label: 'ESTP — The Entrepreneur' },\n { value: 'ESFP', label: 'ESFP — The Entertainer' },\n { value: 'dont_know', label: \"Don't know yet\" },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const psychologicalAssessment: FieldGroup = {\n key: 'psychological_assessment',\n label: 'Psychological Assessment',\n step: 5,\n description: 'Personality type and Big Five traits.',\n fields: [\n {\n order: 1,\n key: 'mbtiType',\n label: 'MBTI Type',\n type: 'single_select',\n step: 5,\n isOnboarding: true,\n optional: true,\n options: [...mbtiOptions],\n },\n {\n order: 2,\n key: 'oceanScores',\n label: 'Big Five (OCEAN)',\n type: 'object',\n step: 5,\n isOnboarding: true,\n optional: true,\n description:\n 'Openness, Conscientiousness, Extraversion, Agreeableness, Neuroticism (1-100 each)',\n },\n ],\n};\n"]}
@@ -0,0 +1,28 @@
1
+ import type { FieldGroup } from './types.js';
2
+ export declare const qualificationOptions: readonly [{
3
+ readonly value: "CLASS_10";
4
+ readonly label: "Class 10 (Secondary)";
5
+ }, {
6
+ readonly value: "CLASS_12";
7
+ readonly label: "Class 12 (Higher Secondary)";
8
+ }, {
9
+ readonly value: "DIPLOMA";
10
+ readonly label: "Diploma / ITI";
11
+ }, {
12
+ readonly value: "GRADUATION";
13
+ readonly label: "Graduation (Bachelor's)";
14
+ }, {
15
+ readonly value: "POST_GRAD";
16
+ readonly label: "Post Graduation (Master's)";
17
+ }, {
18
+ readonly value: "PHD";
19
+ readonly label: "Doctorate / PhD";
20
+ }, {
21
+ readonly value: "POST_DOCTORATE";
22
+ readonly label: "Post Doctorate";
23
+ }, {
24
+ readonly value: "OTHER";
25
+ readonly label: "Other";
26
+ }];
27
+ export declare const education: FieldGroup;
28
+ //# sourceMappingURL=06-education.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"06-education.d.ts","sourceRoot":"","sources":["../../src/profile-fields/06-education.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;EASvB,CAAC;AAEX,eAAO,MAAM,SAAS,EAAE,UA4HvB,CAAC"}
@@ -0,0 +1,136 @@
1
+ export const qualificationOptions = [
2
+ { value: 'CLASS_10', label: 'Class 10 (Secondary)' },
3
+ { value: 'CLASS_12', label: 'Class 12 (Higher Secondary)' },
4
+ { value: 'DIPLOMA', label: 'Diploma / ITI' },
5
+ { value: 'GRADUATION', label: "Graduation (Bachelor's)" },
6
+ { value: 'POST_GRAD', label: "Post Graduation (Master's)" },
7
+ { value: 'PHD', label: 'Doctorate / PhD' },
8
+ { value: 'POST_DOCTORATE', label: 'Post Doctorate' },
9
+ { value: 'OTHER', label: 'Other' },
10
+ ];
11
+ export const education = {
12
+ key: 'education',
13
+ label: 'Education',
14
+ step: 6,
15
+ description: 'Academic background and qualifications.',
16
+ fields: [
17
+ {
18
+ order: 1,
19
+ key: 'highestQualification',
20
+ label: 'Highest Qualification',
21
+ type: 'single_select',
22
+ step: 6,
23
+ isOnboarding: true,
24
+ options: [...qualificationOptions],
25
+ },
26
+ {
27
+ order: 2,
28
+ key: 'education10th',
29
+ label: 'Class 10 Details',
30
+ type: 'object',
31
+ step: 6,
32
+ isOnboarding: true,
33
+ optional: true,
34
+ conditionalOn: {
35
+ field: 'highestQualification',
36
+ values: [
37
+ 'CLASS_10',
38
+ 'CLASS_12',
39
+ 'DIPLOMA',
40
+ 'GRADUATION',
41
+ 'POST_GRAD',
42
+ 'PHD',
43
+ 'POST_DOCTORATE',
44
+ ],
45
+ },
46
+ },
47
+ {
48
+ order: 3,
49
+ key: 'education12th',
50
+ label: 'Class 12 Details',
51
+ type: 'object',
52
+ step: 6,
53
+ isOnboarding: true,
54
+ optional: true,
55
+ conditionalOn: {
56
+ field: 'highestQualification',
57
+ values: ['CLASS_12', 'DIPLOMA', 'GRADUATION', 'POST_GRAD', 'PHD', 'POST_DOCTORATE'],
58
+ },
59
+ },
60
+ {
61
+ order: 4,
62
+ key: 'diplomas',
63
+ label: 'Diploma',
64
+ type: 'object_array',
65
+ step: 6,
66
+ isOnboarding: true,
67
+ optional: true,
68
+ conditionalOn: { field: 'highestQualification', values: ['DIPLOMA'] },
69
+ },
70
+ {
71
+ order: 5,
72
+ key: 'graduations',
73
+ label: 'Graduation',
74
+ type: 'object_array',
75
+ step: 6,
76
+ isOnboarding: true,
77
+ optional: true,
78
+ conditionalOn: {
79
+ field: 'highestQualification',
80
+ values: ['GRADUATION', 'POST_GRAD', 'PHD', 'POST_DOCTORATE'],
81
+ },
82
+ },
83
+ {
84
+ order: 6,
85
+ key: 'postGraduations',
86
+ label: 'Post Graduation',
87
+ type: 'object_array',
88
+ step: 6,
89
+ isOnboarding: true,
90
+ optional: true,
91
+ conditionalOn: {
92
+ field: 'highestQualification',
93
+ values: ['POST_GRAD', 'PHD', 'POST_DOCTORATE'],
94
+ },
95
+ },
96
+ {
97
+ order: 7,
98
+ key: 'doctorates',
99
+ label: 'Doctorate / PhD',
100
+ type: 'object_array',
101
+ step: 6,
102
+ isOnboarding: true,
103
+ optional: true,
104
+ conditionalOn: { field: 'highestQualification', values: ['PHD', 'POST_DOCTORATE'] },
105
+ },
106
+ {
107
+ order: 8,
108
+ key: 'postDoctorates',
109
+ label: 'Post Doctorate',
110
+ type: 'object_array',
111
+ step: 6,
112
+ isOnboarding: true,
113
+ optional: true,
114
+ conditionalOn: { field: 'highestQualification', values: ['POST_DOCTORATE'] },
115
+ },
116
+ {
117
+ order: 9,
118
+ key: 'otherCertificates',
119
+ label: 'Other Certificates',
120
+ type: 'object_array',
121
+ step: 6,
122
+ isOnboarding: true,
123
+ optional: true,
124
+ },
125
+ {
126
+ order: 10,
127
+ key: 'educationNotes',
128
+ label: 'Education Notes',
129
+ type: 'textarea',
130
+ step: 6,
131
+ isOnboarding: true,
132
+ optional: true,
133
+ },
134
+ ],
135
+ };
136
+ //# sourceMappingURL=06-education.js.map
@@ -0,0 +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;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,EAAE,KAAK,EAAE,4BAA4B,EAAE;IAC3D,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,iBAAiB,EAAE;IAC1C,EAAE,KAAK,EAAE,gBAAgB,EAAE,KAAK,EAAE,gBAAgB,EAAE;IACpD,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;CAC1B,CAAC;AAEX,MAAM,CAAC,MAAM,SAAS,GAAe;IACnC,GAAG,EAAE,WAAW;IAChB,KAAK,EAAE,WAAW;IAClB,IAAI,EAAE,CAAC;IACP,WAAW,EAAE,yCAAyC;IACtD,MAAM,E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;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"]}