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.
- package/dist/helpers.d.ts +33 -0
- package/dist/helpers.d.ts.map +1 -0
- package/dist/helpers.js +60 -0
- package/dist/helpers.js.map +1 -0
- package/dist/index.d.ts +16 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +21 -7
- package/dist/index.js.map +1 -1
- package/dist/onboarding-form.d.ts +485 -0
- package/dist/onboarding-form.d.ts.map +1 -0
- package/dist/onboarding-form.js +69 -0
- package/dist/onboarding-form.js.map +1 -0
- package/dist/profile-fields/01-profile.d.ts.map +1 -1
- package/dist/profile-fields/01-profile.js +168 -23
- package/dist/profile-fields/01-profile.js.map +1 -1
- package/dist/profile-fields/02-political.d.ts.map +1 -1
- package/dist/profile-fields/02-political.js +119 -28
- package/dist/profile-fields/02-political.js.map +1 -1
- package/dist/profile-fields/03-electoral.d.ts.map +1 -1
- package/dist/profile-fields/03-electoral.js +83 -13
- package/dist/profile-fields/03-electoral.js.map +1 -1
- package/dist/profile-fields/04-leadership.d.ts.map +1 -1
- package/dist/profile-fields/04-leadership.js +131 -14
- package/dist/profile-fields/04-leadership.js.map +1 -1
- package/dist/profile-fields/05-psychological.d.ts.map +1 -1
- package/dist/profile-fields/05-psychological.js +41 -12
- package/dist/profile-fields/05-psychological.js.map +1 -1
- package/dist/profile-fields/06-education.d.ts.map +1 -1
- package/dist/profile-fields/06-education.js +128 -15
- package/dist/profile-fields/06-education.js.map +1 -1
- package/dist/profile-fields/07-employment.d.ts.map +1 -1
- package/dist/profile-fields/07-employment.js +99 -19
- package/dist/profile-fields/07-employment.js.map +1 -1
- package/dist/profile-fields/08-neurodiversity.d.ts.map +1 -1
- package/dist/profile-fields/08-neurodiversity.js +128 -21
- package/dist/profile-fields/08-neurodiversity.js.map +1 -1
- package/dist/profile-fields/09-health.d.ts.map +1 -1
- package/dist/profile-fields/09-health.js +141 -19
- package/dist/profile-fields/09-health.js.map +1 -1
- package/dist/profile-fields/10-worldview.d.ts.map +1 -1
- package/dist/profile-fields/10-worldview.js +112 -13
- package/dist/profile-fields/10-worldview.js.map +1 -1
- package/dist/profile-fields/11-residence.d.ts.map +1 -1
- package/dist/profile-fields/11-residence.js +39 -5
- package/dist/profile-fields/11-residence.js.map +1 -1
- package/dist/profile-fields/12-household.d.ts.map +1 -1
- package/dist/profile-fields/12-household.js +175 -25
- package/dist/profile-fields/12-household.js.map +1 -1
- package/dist/profile-fields/index.d.ts +8 -8
- package/dist/profile-fields/index.d.ts.map +1 -1
- package/dist/profile-fields/index.js +8 -8
- package/dist/profile-fields/index.js.map +1 -1
- package/dist/validation.d.ts +18 -0
- package/dist/validation.d.ts.map +1 -0
- package/dist/validation.js +186 -0
- package/dist/validation.js.map +1 -0
- package/package.json +1 -1
|
@@ -1,21 +1,91 @@
|
|
|
1
1
|
export const votingIssueOptions = [
|
|
2
|
-
{ value: 'economy', label: 'Economy & Jobs' },
|
|
3
|
-
{ value: '
|
|
4
|
-
{ value: '
|
|
5
|
-
{ value: '
|
|
6
|
-
{ value: '
|
|
7
|
-
{ value: '
|
|
8
|
-
{ value: '
|
|
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' },
|
|
9
16
|
];
|
|
10
17
|
export const electoralBehaviour = {
|
|
11
|
-
key: 'electoral_behaviour',
|
|
18
|
+
key: 'electoral_behaviour',
|
|
19
|
+
label: 'Electoral Behaviour',
|
|
20
|
+
step: 3,
|
|
12
21
|
description: 'Your voter ID, voting history, and the issues that matter to you.',
|
|
13
22
|
fields: [
|
|
14
|
-
{
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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
|
+
},
|
|
19
89
|
],
|
|
20
90
|
};
|
|
21
91
|
//# sourceMappingURL=03-electoral.js.map
|
|
@@ -1 +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,EAAE,
|
|
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,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,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"]}
|
|
@@ -1 +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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
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"}
|
|
@@ -1,22 +1,139 @@
|
|
|
1
1
|
export const leadershipSkillsetOptions = [
|
|
2
|
-
{ value: 'public_speaking', label: 'Public Speaking' },
|
|
3
|
-
{ value: '
|
|
4
|
-
{ value: '
|
|
5
|
-
{ value: '
|
|
6
|
-
{ value: '
|
|
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' },
|
|
7
12
|
];
|
|
8
13
|
export const leadershipAmbitions = {
|
|
9
|
-
key: 'leadership_ambitions',
|
|
14
|
+
key: 'leadership_ambitions',
|
|
15
|
+
label: 'Leadership & Ambitions',
|
|
16
|
+
step: 4,
|
|
10
17
|
description: 'Your desire to lead, political aspirations, and skills.',
|
|
11
18
|
fields: [
|
|
12
|
-
{
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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
|
+
},
|
|
20
137
|
],
|
|
21
138
|
};
|
|
22
139
|
//# sourceMappingURL=04-leadership.js.map
|
|
@@ -1 +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,EAAE,
|
|
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,EAAE,KAAK,EAAE,gBAAgB,EAAE,KAAK,EAAE,gBAAgB,EAAE;IACpD,EAAE,KAAK,EAAE,iBAAiB,EAAE,KAAK,EAAE,iBAAiB,EAAE;IACtD,EAAE,KAAK,EAAE,yBAAyB,EAAE,KAAK,EAAE,yBAAyB,EAAE;IACtE,EAAE,KAAK,EAAE,qBAAqB,EAAE,KAAK,EAAE,qBAAqB,EAAE;IAC9D,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE;IAC9C,EAAE,KAAK,EAAE,kBAAkB,EAAE,KAAK,EAAE,kBAAkB,EAAE;CAChD,CAAC;AAEX,MAAM,CAAC,MAAM,mBAAmB,GAAe;IAC7C,GAAG,EAAE,sBAAsB;IAC3B,KAAK,EAAE,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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"]}
|
|
@@ -1 +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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
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"}
|
|
@@ -1,20 +1,49 @@
|
|
|
1
1
|
export const mbtiOptions = [
|
|
2
|
-
{ value: 'INTJ', label: 'INTJ — The Architect' },
|
|
3
|
-
{ value: '
|
|
4
|
-
{ value: '
|
|
5
|
-
{ value: '
|
|
6
|
-
{ value: '
|
|
7
|
-
{ value: '
|
|
8
|
-
{ value: '
|
|
9
|
-
{ value: '
|
|
10
|
-
{ value: '
|
|
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' },
|
|
11
20
|
];
|
|
12
21
|
export const psychologicalAssessment = {
|
|
13
|
-
key: 'psychological_assessment',
|
|
22
|
+
key: 'psychological_assessment',
|
|
23
|
+
label: 'Psychological Assessment',
|
|
24
|
+
step: 5,
|
|
14
25
|
description: 'Personality type and Big Five traits.',
|
|
15
26
|
fields: [
|
|
16
|
-
{
|
|
17
|
-
|
|
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
|
+
},
|
|
18
47
|
],
|
|
19
48
|
};
|
|
20
49
|
//# sourceMappingURL=05-psychological.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"05-psychological.js","sourceRoot":"","sources":["../../src/profile-fields/05-psychological.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,sBAAsB,EAAE,EAAE,
|
|
1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K,EAAE,mBAAmB,EAAE;CAClD,CAAC;AAEX,MAAM,CAAC,MAAM,uBAAuB,GAAe;IACjD,GAAG,EAAE,0BAA0B;IAC/B,KAAK,EAAE,0BAA0B;IACjC,IAAI,EAAE,CAAC;IACP,WAAW,EAAE,uCAAuC;IACpD,MAAM,EAAE;QACN;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,UAAU;YACf,KAAK,EAAE,WAAW;YAClB,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,WAAW,CAAC;SAC1B;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,aAAa;YAClB,KAAK,EAAE,kBAAkB;YACzB,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,WAAW,EACT,oFAAoF;SACvF;KACF;CACF,CAAC","sourcesContent":["import type { FieldGroup } from './types.js';\n\nexport const mbtiOptions = [\n { value: 'INTJ', label: 'INTJ — 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"]}
|
|
@@ -1 +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;;;;;;;;;;;;;;;;;;;;;;;;
|
|
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"}
|
|
@@ -1,23 +1,136 @@
|
|
|
1
1
|
export const qualificationOptions = [
|
|
2
|
-
{ value: 'CLASS_10', label: 'Class 10 (Secondary)' },
|
|
3
|
-
{ value: '
|
|
4
|
-
{ value: '
|
|
5
|
-
{ value: '
|
|
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' },
|
|
6
10
|
];
|
|
7
11
|
export const education = {
|
|
8
|
-
key: 'education',
|
|
12
|
+
key: 'education',
|
|
13
|
+
label: 'Education',
|
|
14
|
+
step: 6,
|
|
9
15
|
description: 'Academic background and qualifications.',
|
|
10
16
|
fields: [
|
|
11
|
-
{
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
{
|
|
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
|
+
},
|
|
21
134
|
],
|
|
22
135
|
};
|
|
23
136
|
//# sourceMappingURL=06-education.js.map
|