udp-schema 2.23.0 → 2.28.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.map +1 -1
- package/dist/helpers.js +11 -1
- package/dist/helpers.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/onboarding-config.d.ts.map +1 -1
- package/dist/onboarding-config.js +110 -21
- package/dist/onboarding-config.js.map +1 -1
- package/dist/onboarding-form.d.ts +522 -17
- package/dist/onboarding-form.d.ts.map +1 -1
- package/dist/profile-fields/06-education.d.ts.map +1 -1
- package/dist/profile-fields/06-education.js +0 -9
- package/dist/profile-fields/06-education.js.map +1 -1
- package/dist/profile-fields/07-employment.d.ts +168 -0
- package/dist/profile-fields/07-employment.d.ts.map +1 -1
- package/dist/profile-fields/07-employment.js +212 -3
- package/dist/profile-fields/07-employment.js.map +1 -1
- package/dist/profile-fields/10-worldview.d.ts.map +1 -1
- package/dist/profile-fields/10-worldview.js +3 -23
- package/dist/profile-fields/10-worldview.js.map +1 -1
- package/dist/profile-fields/12-household.d.ts +15 -2
- package/dist/profile-fields/12-household.d.ts.map +1 -1
- package/dist/profile-fields/12-household.js +166 -17
- package/dist/profile-fields/12-household.js.map +1 -1
- package/dist/profile-fields/index.d.ts +1 -1
- package/dist/profile-fields/index.d.ts.map +1 -1
- package/dist/profile-fields/index.js +1 -1
- package/dist/profile-fields/index.js.map +1 -1
- package/dist/profile-fields/types.d.ts +12 -3
- package/dist/profile-fields/types.d.ts.map +1 -1
- package/dist/profile-fields/types.js.map +1 -1
- package/dist/progress-fields.d.ts.map +1 -1
- package/dist/progress-fields.js +17 -3
- package/dist/progress-fields.js.map +1 -1
- package/dist/step-06.schema.d.ts +0 -1
- package/dist/step-06.schema.d.ts.map +1 -1
- package/dist/step-06.schema.js +0 -2
- package/dist/step-06.schema.js.map +1 -1
- package/dist/step-07.schema.d.ts +84 -2
- package/dist/step-07.schema.d.ts.map +1 -1
- package/dist/step-07.schema.js +114 -4
- package/dist/step-07.schema.js.map +1 -1
- package/dist/step-10.schema.d.ts +3 -5
- package/dist/step-10.schema.d.ts.map +1 -1
- package/dist/step-10.schema.js +3 -7
- package/dist/step-10.schema.js.map +1 -1
- package/dist/step-11.schema.d.ts +75 -15
- package/dist/step-11.schema.d.ts.map +1 -1
- package/dist/step-11.schema.js +30 -2
- package/dist/step-11.schema.js.map +1 -1
- package/dist/step-12.schema.d.ts +434 -3
- package/dist/step-12.schema.d.ts.map +1 -1
- package/dist/step-12.schema.js +72 -3
- package/dist/step-12.schema.js.map +1 -1
- 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;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;;;;;GAKG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE;IAChC,EAAE,KAAK,EAA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AI,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,KAAK,EAAE,gBAAgB,CAAC,EAAE;SACpF;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,gBAAgB;YACrB,KAAK,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\n/**\n * School / 12th board options — central, international, and state boards.\n * Specific state boards are rolled up under `state_board` since there are\n * 30+ of them; users pick the generic option and can supply the specific\n * board name in the school-name / institution text field.\n */\nexport const boardOptions = [\n { value: 'cbse', label: 'CBSE' },\n { value: 'icse', label: 'ICSE (Class 10, CISCE)' },\n { value: 'isc', label: 'ISC (Class 12, CISCE)' },\n { value: 'ib', label: 'IB (International Baccalaureate)' },\n { value: 'igcse', label: 'Cambridge IGCSE (Class 10)' },\n { value: 'a_level', label: 'Cambridge A-Level / AS-Level' },\n { value: 'nios', label: 'NIOS (National Open School)' },\n { value: 'state_board', label: 'State Board' },\n { value: 'other', label: 'Other' },\n] as const;\n\n/**\n * Subjects — common subjects across Indian school boards (10th + 12th).\n * Flat list for multi-select. Grouped in comments by domain for readability.\n */\nexport const subjectOptions = [\n // Languages\n { value: 'english', label: 'English' },\n { value: 'hindi', label: 'Hindi' },\n { value: 'sanskrit', label: 'Sanskrit' },\n { value: 'regional_language', label: 'Regional Language' },\n { value: 'foreign_language', label: 'Foreign Language (French / Spanish / German)' },\n // Math & Sciences\n { value: 'mathematics', label: 'Mathematics' },\n { value: 'physics', label: 'Physics' },\n { value: 'chemistry', label: 'Chemistry' },\n { value: 'biology', label: 'Biology' },\n { value: 'science_combined', label: 'Science (Combined — 10th)' },\n { value: 'computer_science', label: 'Computer Science / IT' },\n { value: 'informatics_practices', label: 'Informatics Practices' },\n // Commerce\n { value: 'accountancy', label: 'Accountancy' },\n { value: 'business_studies', label: 'Business Studies' },\n { value: 'economics', label: 'Economics' },\n { value: 'statistics', label: 'Statistics' },\n // Humanities\n { value: 'history', label: 'History' },\n { value: 'geography', label: 'Geography' },\n { value: 'political_science', label: 'Political Science' },\n { value: 'psychology', label: 'Psychology' },\n { value: 'sociology', label: 'Sociology' },\n { value: 'philosophy', label: 'Philosophy' },\n { value: 'social_studies', label: 'Social Studies (Combined — 10th)' },\n // Others\n { value: 'physical_education', label: 'Physical Education' },\n { value: 'fine_arts', label: 'Fine Arts' },\n { value: 'music', label: 'Music' },\n { value: 'home_science', label: 'Home Science' },\n { value: 'entrepreneurship', label: 'Entrepreneurship' },\n { value: 'legal_studies', label: 'Legal Studies' },\n { value: 'environmental_science', label: 'Environmental Science' },\n { value: 'other', label: 'Other' },\n] as const;\n\n/**\n * Stream / course options for Class 12 (or equivalent).\n */\nexport const streamOptions = [\n { value: 'science_pcm', label: 'Science (PCM — Physics, Chemistry, Math)' },\n { value: 'science_pcb', label: 'Science (PCB — Physics, Chemistry, Biology)' },\n { value: 'science_pcmb', label: 'Science (PCMB)' },\n { value: 'commerce_with_math', label: 'Commerce (with Mathematics)' },\n { value: 'commerce_without_math', label: 'Commerce (without Mathematics)' },\n { value: 'arts_humanities', label: 'Arts / Humanities' },\n { value: 'vocational', label: 'Vocational' },\n { value: 'other', label: 'Other' },\n] as const;\n\n/**\n * Common Indian degree names — used in diploma / graduation /\n * post-graduation / doctorate / post-doctorate repeaters.\n * Grouped by level in comments.\n */\nexport const degreeNameOptions = [\n // Diploma / ITI\n { value: 'diploma_polytechnic', label: 'Diploma (Polytechnic)' },\n { value: 'iti', label: 'ITI' },\n { value: 'pg_diploma', label: 'PG Diploma' },\n { value: 'pgdm', label: 'PGDM' },\n { value: 'advanced_diploma', label: 'Advanced Diploma' },\n // Undergraduate (Bachelor's)\n { value: 'ba', label: 'BA (Bachelor of Arts)' },\n { value: 'bsc', label: 'BSc (Bachelor of Science)' },\n { value: 'bcom', label: 'BCom (Bachelor of Commerce)' },\n { value: 'bba', label: 'BBA (Bachelor of Business Admin.)' },\n { value: 'bca', label: 'BCA (Bachelor of Computer Applications)' },\n { value: 'btech', label: 'BTech / BE (Engineering)' },\n { value: 'barch', label: 'BArch (Architecture)' },\n { value: 'mbbs', label: 'MBBS (Medicine)' },\n { value: 'bds', label: 'BDS (Dental)' },\n { value: 'bams', label: 'BAMS (Ayurveda)' },\n { value: 'bhms', label: 'BHMS (Homeopathy)' },\n { value: 'llb', label: 'LLB (Law)' },\n { value: 'bed', label: 'BEd (Education)' },\n { value: 'bpharm', label: 'BPharm (Pharmacy)' },\n { value: 'bhm', label: 'BHM (Hotel Management)' },\n { value: 'bfa', label: 'BFA (Fine Arts)' },\n { value: 'bvsc', label: 'BVSc (Veterinary)' },\n // Postgraduate (Master's)\n { value: 'ma', label: 'MA (Master of Arts)' },\n { value: 'msc', label: 'MSc (Master of Science)' },\n { value: 'mcom', label: 'MCom (Master of Commerce)' },\n { value: 'mba', label: 'MBA (Master of Business Admin.)' },\n { value: 'mca', label: 'MCA (Master of Computer Applications)' },\n { value: 'mtech', label: 'MTech / ME (Engineering)' },\n { value: 'md', label: 'MD (Medicine — Postgrad)' },\n { value: 'ms', label: 'MS (Surgery — Postgrad)' },\n { value: 'llm', label: 'LLM (Law — Postgrad)' },\n { value: 'med', label: 'MEd (Education — Postgrad)' },\n { value: 'mpharm', label: 'MPharm (Pharmacy — Postgrad)' },\n { value: 'msw', label: 'MSW (Social Work)' },\n { value: 'march', label: 'MArch (Architecture — Postgrad)' },\n // Doctorate / higher\n { value: 'phd', label: 'PhD' },\n { value: 'dlitt', label: 'DLitt' },\n { value: 'dsc', label: 'DSc' },\n { value: 'mds', label: 'MDS (Dental Surgery)' },\n { value: 'dm', label: 'DM (Super-specialty Medicine)' },\n { value: 'mch', label: 'MCh (Super-specialty Surgery)' },\n { value: 'other', label: 'Other' },\n] as const;\n\n/**\n * Degree options filtered by education level — so the repeater shows only\n * relevant degrees (e.g., diplomas don't show PhD, graduations don't show ITI).\n * 'other' is always included.\n */\nexport const DEGREE_VALUES_BY_LEVEL: Record<string, readonly string[]> = {\n diplomas: ['diploma_polytechnic', 'iti', 'pg_diploma', 'pgdm', 'advanced_diploma', 'other'],\n graduations: [\n 'ba',\n 'bsc',\n 'bcom',\n 'bba',\n 'bca',\n 'btech',\n 'barch',\n 'mbbs',\n 'bds',\n 'bams',\n 'bhms',\n 'llb',\n 'bed',\n 'bpharm',\n 'bhm',\n 'bfa',\n 'bvsc',\n 'other',\n ],\n postGraduations: [\n 'ma',\n 'msc',\n 'mcom',\n 'mba',\n 'mca',\n 'mtech',\n 'md',\n 'ms',\n 'llm',\n 'med',\n 'mpharm',\n 'msw',\n 'march',\n 'pg_diploma',\n 'pgdm',\n 'other',\n ],\n doctorates: ['phd', 'dlitt', 'dsc', 'mds', 'dm', 'mch', 'other'],\n postDoctorates: ['phd', 'dlitt', 'dsc', '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
|
+
{"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;;;;;GAKG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE;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AAE,iBAAiB;YACxB,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,KAAK,EAAE,gBAAgB,CAAC,EAAE;SACpF;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,gBAAgB;YACrB,KAAK,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;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\n/**\n * School / 12th board options — central, international, and state boards.\n * Specific state boards are rolled up under `state_board` since there are\n * 30+ of them; users pick the generic option and can supply the specific\n * board name in the school-name / institution text field.\n */\nexport const boardOptions = [\n { value: 'cbse', label: 'CBSE' },\n { value: 'icse', label: 'ICSE (Class 10, CISCE)' },\n { value: 'isc', label: 'ISC (Class 12, CISCE)' },\n { value: 'ib', label: 'IB (International Baccalaureate)' },\n { value: 'igcse', label: 'Cambridge IGCSE (Class 10)' },\n { value: 'a_level', label: 'Cambridge A-Level / AS-Level' },\n { value: 'nios', label: 'NIOS (National Open School)' },\n { value: 'state_board', label: 'State Board' },\n { value: 'other', label: 'Other' },\n] as const;\n\n/**\n * Subjects — common subjects across Indian school boards (10th + 12th).\n * Flat list for multi-select. Grouped in comments by domain for readability.\n */\nexport const subjectOptions = [\n // Languages\n { value: 'english', label: 'English' },\n { value: 'hindi', label: 'Hindi' },\n { value: 'sanskrit', label: 'Sanskrit' },\n { value: 'regional_language', label: 'Regional Language' },\n { value: 'foreign_language', label: 'Foreign Language (French / Spanish / German)' },\n // Math & Sciences\n { value: 'mathematics', label: 'Mathematics' },\n { value: 'physics', label: 'Physics' },\n { value: 'chemistry', label: 'Chemistry' },\n { value: 'biology', label: 'Biology' },\n { value: 'science_combined', label: 'Science (Combined — 10th)' },\n { value: 'computer_science', label: 'Computer Science / IT' },\n { value: 'informatics_practices', label: 'Informatics Practices' },\n // Commerce\n { value: 'accountancy', label: 'Accountancy' },\n { value: 'business_studies', label: 'Business Studies' },\n { value: 'economics', label: 'Economics' },\n { value: 'statistics', label: 'Statistics' },\n // Humanities\n { value: 'history', label: 'History' },\n { value: 'geography', label: 'Geography' },\n { value: 'political_science', label: 'Political Science' },\n { value: 'psychology', label: 'Psychology' },\n { value: 'sociology', label: 'Sociology' },\n { value: 'philosophy', label: 'Philosophy' },\n { value: 'social_studies', label: 'Social Studies (Combined — 10th)' },\n // Others\n { value: 'physical_education', label: 'Physical Education' },\n { value: 'fine_arts', label: 'Fine Arts' },\n { value: 'music', label: 'Music' },\n { value: 'home_science', label: 'Home Science' },\n { value: 'entrepreneurship', label: 'Entrepreneurship' },\n { value: 'legal_studies', label: 'Legal Studies' },\n { value: 'environmental_science', label: 'Environmental Science' },\n { value: 'other', label: 'Other' },\n] as const;\n\n/**\n * Stream / course options for Class 12 (or equivalent).\n */\nexport const streamOptions = [\n { value: 'science_pcm', label: 'Science (PCM — Physics, Chemistry, Math)' },\n { value: 'science_pcb', label: 'Science (PCB — Physics, Chemistry, Biology)' },\n { value: 'science_pcmb', label: 'Science (PCMB)' },\n { value: 'commerce_with_math', label: 'Commerce (with Mathematics)' },\n { value: 'commerce_without_math', label: 'Commerce (without Mathematics)' },\n { value: 'arts_humanities', label: 'Arts / Humanities' },\n { value: 'vocational', label: 'Vocational' },\n { value: 'other', label: 'Other' },\n] as const;\n\n/**\n * Common Indian degree names — used in diploma / graduation /\n * post-graduation / doctorate / post-doctorate repeaters.\n * Grouped by level in comments.\n */\nexport const degreeNameOptions = [\n // Diploma / ITI\n { value: 'diploma_polytechnic', label: 'Diploma (Polytechnic)' },\n { value: 'iti', label: 'ITI' },\n { value: 'pg_diploma', label: 'PG Diploma' },\n { value: 'pgdm', label: 'PGDM' },\n { value: 'advanced_diploma', label: 'Advanced Diploma' },\n // Undergraduate (Bachelor's)\n { value: 'ba', label: 'BA (Bachelor of Arts)' },\n { value: 'bsc', label: 'BSc (Bachelor of Science)' },\n { value: 'bcom', label: 'BCom (Bachelor of Commerce)' },\n { value: 'bba', label: 'BBA (Bachelor of Business Admin.)' },\n { value: 'bca', label: 'BCA (Bachelor of Computer Applications)' },\n { value: 'btech', label: 'BTech / BE (Engineering)' },\n { value: 'barch', label: 'BArch (Architecture)' },\n { value: 'mbbs', label: 'MBBS (Medicine)' },\n { value: 'bds', label: 'BDS (Dental)' },\n { value: 'bams', label: 'BAMS (Ayurveda)' },\n { value: 'bhms', label: 'BHMS (Homeopathy)' },\n { value: 'llb', label: 'LLB (Law)' },\n { value: 'bed', label: 'BEd (Education)' },\n { value: 'bpharm', label: 'BPharm (Pharmacy)' },\n { value: 'bhm', label: 'BHM (Hotel Management)' },\n { value: 'bfa', label: 'BFA (Fine Arts)' },\n { value: 'bvsc', label: 'BVSc (Veterinary)' },\n // Postgraduate (Master's)\n { value: 'ma', label: 'MA (Master of Arts)' },\n { value: 'msc', label: 'MSc (Master of Science)' },\n { value: 'mcom', label: 'MCom (Master of Commerce)' },\n { value: 'mba', label: 'MBA (Master of Business Admin.)' },\n { value: 'mca', label: 'MCA (Master of Computer Applications)' },\n { value: 'mtech', label: 'MTech / ME (Engineering)' },\n { value: 'md', label: 'MD (Medicine — Postgrad)' },\n { value: 'ms', label: 'MS (Surgery — Postgrad)' },\n { value: 'llm', label: 'LLM (Law — Postgrad)' },\n { value: 'med', label: 'MEd (Education — Postgrad)' },\n { value: 'mpharm', label: 'MPharm (Pharmacy — Postgrad)' },\n { value: 'msw', label: 'MSW (Social Work)' },\n { value: 'march', label: 'MArch (Architecture — Postgrad)' },\n // Doctorate / higher\n { value: 'phd', label: 'PhD' },\n { value: 'dlitt', label: 'DLitt' },\n { value: 'dsc', label: 'DSc' },\n { value: 'mds', label: 'MDS (Dental Surgery)' },\n { value: 'dm', label: 'DM (Super-specialty Medicine)' },\n { value: 'mch', label: 'MCh (Super-specialty Surgery)' },\n { value: 'other', label: 'Other' },\n] as const;\n\n/**\n * Degree options filtered by education level — so the repeater shows only\n * relevant degrees (e.g., diplomas don't show PhD, graduations don't show ITI).\n * 'other' is always included.\n */\nexport const DEGREE_VALUES_BY_LEVEL: Record<string, readonly string[]> = {\n diplomas: ['diploma_polytechnic', 'iti', 'pg_diploma', 'pgdm', 'advanced_diploma', 'other'],\n graduations: [\n 'ba',\n 'bsc',\n 'bcom',\n 'bba',\n 'bca',\n 'btech',\n 'barch',\n 'mbbs',\n 'bds',\n 'bams',\n 'bhms',\n 'llb',\n 'bed',\n 'bpharm',\n 'bhm',\n 'bfa',\n 'bvsc',\n 'other',\n ],\n postGraduations: [\n 'ma',\n 'msc',\n 'mcom',\n 'mba',\n 'mca',\n 'mtech',\n 'md',\n 'ms',\n 'llm',\n 'med',\n 'mpharm',\n 'msw',\n 'march',\n 'pg_diploma',\n 'pgdm',\n 'other',\n ],\n doctorates: ['phd', 'dlitt', 'dsc', 'mds', 'dm', 'mch', 'other'],\n postDoctorates: ['phd', 'dlitt', 'dsc', '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};\n"]}
|
|
@@ -24,6 +24,174 @@ export declare const employmentStatusOptions: readonly [{
|
|
|
24
24
|
readonly value: "other";
|
|
25
25
|
readonly label: "Other";
|
|
26
26
|
}];
|
|
27
|
+
/**
|
|
28
|
+
* Occupation / Profession — exhaustive Indian profession list.
|
|
29
|
+
* Mirrored from `dating-schema/src/profile-fields/03-basics.ts` (the
|
|
30
|
+
* `profession` field, order 35) so cross-product profile data agrees on
|
|
31
|
+
* the same canonical occupation values. Keep this list in sync with
|
|
32
|
+
* dating-schema if either side adds a category.
|
|
33
|
+
*/
|
|
34
|
+
export declare const occupationOptions: readonly [{
|
|
35
|
+
readonly value: "it_software";
|
|
36
|
+
readonly label: "IT & Software";
|
|
37
|
+
readonly description: "Developer, data scientist, IT support, DevOps, etc.";
|
|
38
|
+
}, {
|
|
39
|
+
readonly value: "engineering";
|
|
40
|
+
readonly label: "Engineering";
|
|
41
|
+
readonly description: "Civil, mechanical, electrical, chemical, etc.";
|
|
42
|
+
}, {
|
|
43
|
+
readonly value: "healthcare_doctor";
|
|
44
|
+
readonly label: "Doctor / Physician";
|
|
45
|
+
readonly description: "MBBS, MD, surgeon, dentist, etc.";
|
|
46
|
+
}, {
|
|
47
|
+
readonly value: "healthcare_nursing";
|
|
48
|
+
readonly label: "Nursing & Allied Health";
|
|
49
|
+
readonly description: "Nurse, physiotherapist, lab tech, etc.";
|
|
50
|
+
}, {
|
|
51
|
+
readonly value: "healthcare_pharma";
|
|
52
|
+
readonly label: "Pharma & Biotech";
|
|
53
|
+
readonly description: "Pharmaceutical, biotech, clinical research";
|
|
54
|
+
}, {
|
|
55
|
+
readonly value: "psychology_therapy";
|
|
56
|
+
readonly label: "Psychology & Therapy";
|
|
57
|
+
readonly description: "Psychologist, counsellor, therapist";
|
|
58
|
+
}, {
|
|
59
|
+
readonly value: "education_teaching";
|
|
60
|
+
readonly label: "Teaching & Training";
|
|
61
|
+
readonly description: "School teacher, professor, corporate trainer";
|
|
62
|
+
}, {
|
|
63
|
+
readonly value: "science_research";
|
|
64
|
+
readonly label: "Science & Research";
|
|
65
|
+
readonly description: "Scientist, lab researcher, academic scholar";
|
|
66
|
+
}, {
|
|
67
|
+
readonly value: "finance_banking";
|
|
68
|
+
readonly label: "Finance & Banking";
|
|
69
|
+
readonly description: "Banking, investment, stock market, insurance";
|
|
70
|
+
}, {
|
|
71
|
+
readonly value: "chartered_accountant";
|
|
72
|
+
readonly label: "Chartered Accountant (CA)";
|
|
73
|
+
readonly description: "CA, CS, CMA, auditor";
|
|
74
|
+
}, {
|
|
75
|
+
readonly value: "business_management";
|
|
76
|
+
readonly label: "Business & Management";
|
|
77
|
+
readonly description: "Operations, consulting, HR, MBA roles";
|
|
78
|
+
}, {
|
|
79
|
+
readonly value: "arts_entertainment";
|
|
80
|
+
readonly label: "Arts & Entertainment";
|
|
81
|
+
readonly description: "Music, film, dance, fine arts, theatre";
|
|
82
|
+
}, {
|
|
83
|
+
readonly value: "media_communication";
|
|
84
|
+
readonly label: "Media & Communication";
|
|
85
|
+
readonly description: "Journalism, PR, advertising, content";
|
|
86
|
+
}, {
|
|
87
|
+
readonly value: "design_creative";
|
|
88
|
+
readonly label: "Design & Creative";
|
|
89
|
+
readonly description: "Graphic design, UI/UX, fashion design, architecture";
|
|
90
|
+
}, {
|
|
91
|
+
readonly value: "civil_services";
|
|
92
|
+
readonly label: "Civil Services (IAS/IPS/IFS)";
|
|
93
|
+
readonly description: "Government officer cadre — IAS, IPS, IRS, IFS";
|
|
94
|
+
}, {
|
|
95
|
+
readonly value: "government_public";
|
|
96
|
+
readonly label: "Government / Public Sector";
|
|
97
|
+
readonly description: "PSU, state govt, municipal, railway, postal";
|
|
98
|
+
}, {
|
|
99
|
+
readonly value: "defence_military";
|
|
100
|
+
readonly label: "Defence / Military";
|
|
101
|
+
readonly description: "Army, Navy, Air Force, paramilitary, coast guard";
|
|
102
|
+
}, {
|
|
103
|
+
readonly value: "police_law_enforcement";
|
|
104
|
+
readonly label: "Police & Law Enforcement";
|
|
105
|
+
readonly description: "Police, CBI, NIA, customs, excise";
|
|
106
|
+
}, {
|
|
107
|
+
readonly value: "legal";
|
|
108
|
+
readonly label: "Legal & Law";
|
|
109
|
+
readonly description: "Lawyer, advocate, judge, legal advisor, notary";
|
|
110
|
+
}, {
|
|
111
|
+
readonly value: "skilled_trades";
|
|
112
|
+
readonly label: "Skilled Trades";
|
|
113
|
+
readonly description: "Electrician, plumber, carpenter, welder, mechanic";
|
|
114
|
+
}, {
|
|
115
|
+
readonly value: "transport_logistics";
|
|
116
|
+
readonly label: "Transport & Logistics";
|
|
117
|
+
readonly description: "Driver, delivery, warehouse, supply chain";
|
|
118
|
+
}, {
|
|
119
|
+
readonly value: "hospitality_travel";
|
|
120
|
+
readonly label: "Hospitality & Tourism";
|
|
121
|
+
readonly description: "Hotels, restaurants, airlines, travel agency";
|
|
122
|
+
}, {
|
|
123
|
+
readonly value: "beauty_wellness";
|
|
124
|
+
readonly label: "Beauty & Wellness";
|
|
125
|
+
readonly description: "Salon, spa, fitness trainer, yoga instructor";
|
|
126
|
+
}, {
|
|
127
|
+
readonly value: "agriculture_farming";
|
|
128
|
+
readonly label: "Agriculture & Farming";
|
|
129
|
+
readonly description: "Farming, agri-business, dairy, fisheries";
|
|
130
|
+
}, {
|
|
131
|
+
readonly value: "real_estate";
|
|
132
|
+
readonly label: "Real Estate & Construction";
|
|
133
|
+
readonly description: "Property, builder, interior design, architecture";
|
|
134
|
+
}, {
|
|
135
|
+
readonly value: "retail_ecommerce";
|
|
136
|
+
readonly label: "Retail & E-commerce";
|
|
137
|
+
readonly description: "Shops, online stores, wholesale, distribution";
|
|
138
|
+
}, {
|
|
139
|
+
readonly value: "manufacturing";
|
|
140
|
+
readonly label: "Manufacturing & Production";
|
|
141
|
+
readonly description: "Factory, production, quality control, industrial";
|
|
142
|
+
}, {
|
|
143
|
+
readonly value: "merchant_navy";
|
|
144
|
+
readonly label: "Merchant Navy";
|
|
145
|
+
readonly description: "Commercial shipping, maritime, offshore";
|
|
146
|
+
}, {
|
|
147
|
+
readonly value: "ngo_social_work";
|
|
148
|
+
readonly label: "NGO & Social Work";
|
|
149
|
+
readonly description: "Non-profit, social worker, community development";
|
|
150
|
+
}, {
|
|
151
|
+
readonly value: "religious_spiritual";
|
|
152
|
+
readonly label: "Religious / Spiritual Work";
|
|
153
|
+
readonly description: "Priest, pujari, maulvi, pastor, monk, spiritual guide";
|
|
154
|
+
}, {
|
|
155
|
+
readonly value: "freelancer_gig";
|
|
156
|
+
readonly label: "Freelancer / Gig Worker";
|
|
157
|
+
readonly description: "Independent contractor, gig economy, Uber/Ola driver";
|
|
158
|
+
}, {
|
|
159
|
+
readonly value: "content_creator";
|
|
160
|
+
readonly label: "Content Creator / Influencer";
|
|
161
|
+
readonly description: "YouTuber, blogger, podcaster, Instagram creator";
|
|
162
|
+
}, {
|
|
163
|
+
readonly value: "self_employed";
|
|
164
|
+
readonly label: "Self-employed / Entrepreneur";
|
|
165
|
+
readonly description: "Own business, startup founder, shop owner";
|
|
166
|
+
}, {
|
|
167
|
+
readonly value: "student";
|
|
168
|
+
readonly label: "Student";
|
|
169
|
+
readonly description: "Currently pursuing education";
|
|
170
|
+
}, {
|
|
171
|
+
readonly value: "homemaker";
|
|
172
|
+
readonly label: "Homemaker";
|
|
173
|
+
readonly description: "Managing the household full-time";
|
|
174
|
+
}, {
|
|
175
|
+
readonly value: "retired";
|
|
176
|
+
readonly label: "Retired";
|
|
177
|
+
readonly description: "No longer working professionally";
|
|
178
|
+
}, {
|
|
179
|
+
readonly value: "not_working";
|
|
180
|
+
readonly label: "Not Currently Working";
|
|
181
|
+
readonly description: "Between jobs, career break, or job seeking";
|
|
182
|
+
}, {
|
|
183
|
+
readonly value: "differently_abled_pension";
|
|
184
|
+
readonly label: "On Disability / Pension";
|
|
185
|
+
readonly description: "Receiving disability benefits or pension";
|
|
186
|
+
}, {
|
|
187
|
+
readonly value: "other";
|
|
188
|
+
readonly label: "Other";
|
|
189
|
+
readonly description: "Something not listed above";
|
|
190
|
+
}, {
|
|
191
|
+
readonly value: "prefer_not_to_say";
|
|
192
|
+
readonly label: "Prefer not to say";
|
|
193
|
+
readonly description: "Keep this private";
|
|
194
|
+
}];
|
|
27
195
|
export declare const shiftOptions: readonly [{
|
|
28
196
|
readonly value: "day_shift";
|
|
29
197
|
readonly label: "Day shift";
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;EAS1B,CAAC;AAEX,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;EAOf,CAAC;AAEX,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUrB,CAAC;AAEX,eAAO,MAAM,2BAA2B;;;;;;;;;EAI9B,CAAC;AAEX,eAAO,MAAM,UAAU,EAAE,
|
|
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;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoMpB,CAAC;AAEX,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;EAOf,CAAC;AAEX,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUrB,CAAC;AAEX,eAAO,MAAM,2BAA2B;;;;;;;;;EAI9B,CAAC;AAEX,eAAO,MAAM,UAAU,EAAE,UAkFxB,CAAC"}
|
|
@@ -8,6 +8,210 @@ export const employmentStatusOptions = [
|
|
|
8
8
|
{ value: 'daily_wage', label: 'Daily wage worker' },
|
|
9
9
|
{ value: 'other', label: 'Other' },
|
|
10
10
|
];
|
|
11
|
+
/**
|
|
12
|
+
* Occupation / Profession — exhaustive Indian profession list.
|
|
13
|
+
* Mirrored from `dating-schema/src/profile-fields/03-basics.ts` (the
|
|
14
|
+
* `profession` field, order 35) so cross-product profile data agrees on
|
|
15
|
+
* the same canonical occupation values. Keep this list in sync with
|
|
16
|
+
* dating-schema if either side adds a category.
|
|
17
|
+
*/
|
|
18
|
+
export const occupationOptions = [
|
|
19
|
+
// Technology
|
|
20
|
+
{
|
|
21
|
+
value: 'it_software',
|
|
22
|
+
label: 'IT & Software',
|
|
23
|
+
description: 'Developer, data scientist, IT support, DevOps, etc.',
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
value: 'engineering',
|
|
27
|
+
label: 'Engineering',
|
|
28
|
+
description: 'Civil, mechanical, electrical, chemical, etc.',
|
|
29
|
+
},
|
|
30
|
+
// Healthcare & Medicine
|
|
31
|
+
{
|
|
32
|
+
value: 'healthcare_doctor',
|
|
33
|
+
label: 'Doctor / Physician',
|
|
34
|
+
description: 'MBBS, MD, surgeon, dentist, etc.',
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
value: 'healthcare_nursing',
|
|
38
|
+
label: 'Nursing & Allied Health',
|
|
39
|
+
description: 'Nurse, physiotherapist, lab tech, etc.',
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
value: 'healthcare_pharma',
|
|
43
|
+
label: 'Pharma & Biotech',
|
|
44
|
+
description: 'Pharmaceutical, biotech, clinical research',
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
value: 'psychology_therapy',
|
|
48
|
+
label: 'Psychology & Therapy',
|
|
49
|
+
description: 'Psychologist, counsellor, therapist',
|
|
50
|
+
},
|
|
51
|
+
// Education & Research
|
|
52
|
+
{
|
|
53
|
+
value: 'education_teaching',
|
|
54
|
+
label: 'Teaching & Training',
|
|
55
|
+
description: 'School teacher, professor, corporate trainer',
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
value: 'science_research',
|
|
59
|
+
label: 'Science & Research',
|
|
60
|
+
description: 'Scientist, lab researcher, academic scholar',
|
|
61
|
+
},
|
|
62
|
+
// Finance & Business
|
|
63
|
+
{
|
|
64
|
+
value: 'finance_banking',
|
|
65
|
+
label: 'Finance & Banking',
|
|
66
|
+
description: 'Banking, investment, stock market, insurance',
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
value: 'chartered_accountant',
|
|
70
|
+
label: 'Chartered Accountant (CA)',
|
|
71
|
+
description: 'CA, CS, CMA, auditor',
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
value: 'business_management',
|
|
75
|
+
label: 'Business & Management',
|
|
76
|
+
description: 'Operations, consulting, HR, MBA roles',
|
|
77
|
+
},
|
|
78
|
+
// Creative & Media
|
|
79
|
+
{
|
|
80
|
+
value: 'arts_entertainment',
|
|
81
|
+
label: 'Arts & Entertainment',
|
|
82
|
+
description: 'Music, film, dance, fine arts, theatre',
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
value: 'media_communication',
|
|
86
|
+
label: 'Media & Communication',
|
|
87
|
+
description: 'Journalism, PR, advertising, content',
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
value: 'design_creative',
|
|
91
|
+
label: 'Design & Creative',
|
|
92
|
+
description: 'Graphic design, UI/UX, fashion design, architecture',
|
|
93
|
+
},
|
|
94
|
+
// Government & Public Service
|
|
95
|
+
{
|
|
96
|
+
value: 'civil_services',
|
|
97
|
+
label: 'Civil Services (IAS/IPS/IFS)',
|
|
98
|
+
description: 'Government officer cadre — IAS, IPS, IRS, IFS',
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
value: 'government_public',
|
|
102
|
+
label: 'Government / Public Sector',
|
|
103
|
+
description: 'PSU, state govt, municipal, railway, postal',
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
value: 'defence_military',
|
|
107
|
+
label: 'Defence / Military',
|
|
108
|
+
description: 'Army, Navy, Air Force, paramilitary, coast guard',
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
value: 'police_law_enforcement',
|
|
112
|
+
label: 'Police & Law Enforcement',
|
|
113
|
+
description: 'Police, CBI, NIA, customs, excise',
|
|
114
|
+
},
|
|
115
|
+
// Legal
|
|
116
|
+
{
|
|
117
|
+
value: 'legal',
|
|
118
|
+
label: 'Legal & Law',
|
|
119
|
+
description: 'Lawyer, advocate, judge, legal advisor, notary',
|
|
120
|
+
},
|
|
121
|
+
// Trades & Services
|
|
122
|
+
{
|
|
123
|
+
value: 'skilled_trades',
|
|
124
|
+
label: 'Skilled Trades',
|
|
125
|
+
description: 'Electrician, plumber, carpenter, welder, mechanic',
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
value: 'transport_logistics',
|
|
129
|
+
label: 'Transport & Logistics',
|
|
130
|
+
description: 'Driver, delivery, warehouse, supply chain',
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
value: 'hospitality_travel',
|
|
134
|
+
label: 'Hospitality & Tourism',
|
|
135
|
+
description: 'Hotels, restaurants, airlines, travel agency',
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
value: 'beauty_wellness',
|
|
139
|
+
label: 'Beauty & Wellness',
|
|
140
|
+
description: 'Salon, spa, fitness trainer, yoga instructor',
|
|
141
|
+
},
|
|
142
|
+
// Agriculture & Rural
|
|
143
|
+
{
|
|
144
|
+
value: 'agriculture_farming',
|
|
145
|
+
label: 'Agriculture & Farming',
|
|
146
|
+
description: 'Farming, agri-business, dairy, fisheries',
|
|
147
|
+
},
|
|
148
|
+
// Real Estate & Construction
|
|
149
|
+
{
|
|
150
|
+
value: 'real_estate',
|
|
151
|
+
label: 'Real Estate & Construction',
|
|
152
|
+
description: 'Property, builder, interior design, architecture',
|
|
153
|
+
},
|
|
154
|
+
// Retail & Commerce
|
|
155
|
+
{
|
|
156
|
+
value: 'retail_ecommerce',
|
|
157
|
+
label: 'Retail & E-commerce',
|
|
158
|
+
description: 'Shops, online stores, wholesale, distribution',
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
value: 'manufacturing',
|
|
162
|
+
label: 'Manufacturing & Production',
|
|
163
|
+
description: 'Factory, production, quality control, industrial',
|
|
164
|
+
},
|
|
165
|
+
// Maritime
|
|
166
|
+
{
|
|
167
|
+
value: 'merchant_navy',
|
|
168
|
+
label: 'Merchant Navy',
|
|
169
|
+
description: 'Commercial shipping, maritime, offshore',
|
|
170
|
+
},
|
|
171
|
+
// Social & NGO
|
|
172
|
+
{
|
|
173
|
+
value: 'ngo_social_work',
|
|
174
|
+
label: 'NGO & Social Work',
|
|
175
|
+
description: 'Non-profit, social worker, community development',
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
value: 'religious_spiritual',
|
|
179
|
+
label: 'Religious / Spiritual Work',
|
|
180
|
+
description: 'Priest, pujari, maulvi, pastor, monk, spiritual guide',
|
|
181
|
+
},
|
|
182
|
+
// Independent
|
|
183
|
+
{
|
|
184
|
+
value: 'freelancer_gig',
|
|
185
|
+
label: 'Freelancer / Gig Worker',
|
|
186
|
+
description: 'Independent contractor, gig economy, Uber/Ola driver',
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
value: 'content_creator',
|
|
190
|
+
label: 'Content Creator / Influencer',
|
|
191
|
+
description: 'YouTuber, blogger, podcaster, Instagram creator',
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
value: 'self_employed',
|
|
195
|
+
label: 'Self-employed / Entrepreneur',
|
|
196
|
+
description: 'Own business, startup founder, shop owner',
|
|
197
|
+
},
|
|
198
|
+
// Non-working
|
|
199
|
+
{ value: 'student', label: 'Student', description: 'Currently pursuing education' },
|
|
200
|
+
{ value: 'homemaker', label: 'Homemaker', description: 'Managing the household full-time' },
|
|
201
|
+
{ value: 'retired', label: 'Retired', description: 'No longer working professionally' },
|
|
202
|
+
{
|
|
203
|
+
value: 'not_working',
|
|
204
|
+
label: 'Not Currently Working',
|
|
205
|
+
description: 'Between jobs, career break, or job seeking',
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
value: 'differently_abled_pension',
|
|
209
|
+
label: 'On Disability / Pension',
|
|
210
|
+
description: 'Receiving disability benefits or pension',
|
|
211
|
+
},
|
|
212
|
+
{ value: 'other', label: 'Other', description: 'Something not listed above' },
|
|
213
|
+
{ value: 'prefer_not_to_say', label: 'Prefer not to say', description: 'Keep this private' },
|
|
214
|
+
];
|
|
11
215
|
export const shiftOptions = [
|
|
12
216
|
{ value: 'day_shift', label: 'Day shift' },
|
|
13
217
|
{ value: 'night_shift', label: 'Night shift' },
|
|
@@ -52,10 +256,11 @@ export const employment = {
|
|
|
52
256
|
order: 2,
|
|
53
257
|
key: 'occupation',
|
|
54
258
|
label: 'Occupation',
|
|
55
|
-
type: '
|
|
259
|
+
type: 'single_select',
|
|
56
260
|
step: 7,
|
|
57
261
|
isOnboarding: true,
|
|
58
262
|
optional: true,
|
|
263
|
+
options: [...occupationOptions],
|
|
59
264
|
},
|
|
60
265
|
{
|
|
61
266
|
order: 3,
|
|
@@ -102,11 +307,15 @@ export const employment = {
|
|
|
102
307
|
order: 7,
|
|
103
308
|
key: 'dreamOccupation',
|
|
104
309
|
label: 'Dream Occupation',
|
|
105
|
-
type: '
|
|
310
|
+
type: 'single_select',
|
|
106
311
|
step: 7,
|
|
107
312
|
isOnboarding: true,
|
|
108
313
|
optional: true,
|
|
109
|
-
|
|
314
|
+
// Same option set as `occupation` above — answers "If you could
|
|
315
|
+
// start over, what would you do?" using the canonical profession
|
|
316
|
+
// enum (mirrored from dating-schema). The two fields share both
|
|
317
|
+
// values and translations via `optionNs: 'occupation'`.
|
|
318
|
+
options: [...occupationOptions],
|
|
110
319
|
},
|
|
111
320
|
],
|
|
112
321
|
};
|
|
@@ -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;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,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;CAC1B,CAAC;AAEX,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,EAAE;IAC1C,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE;IAC9C,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,iBAAiB,EAAE;IAC/C,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAA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AE,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 comfortableWithShiftOptions = [\n { value: 'yes', label: 'Yes' },\n { value: 'no', label: 'No' },\n { value: 'somewhat', label: 'Somewhat' },\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: [...comfortableWithShiftOptions],\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
|
+
{"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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C3B,KAAK,EAAE,wBAAwB;YAC/B,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,2BAA2B,CAAC;SAC1C;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,cAAc;YACnB,KAAK,EAAE,eAAe;YACtB,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,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,eAAe;YACrB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,gEAAgE;YAChE,iEAAiE;YACjE,gEAAgE;YAChE,wDAAwD;YACxD,OAAO,EAAE,CAAC,GAAG,iBAAiB,CAAC;SAChC;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\n/**\n * Occupation / Profession — exhaustive Indian profession list.\n * Mirrored from `dating-schema/src/profile-fields/03-basics.ts` (the\n * `profession` field, order 35) so cross-product profile data agrees on\n * the same canonical occupation values. Keep this list in sync with\n * dating-schema if either side adds a category.\n */\nexport const occupationOptions = [\n // Technology\n {\n value: 'it_software',\n label: 'IT & Software',\n description: 'Developer, data scientist, IT support, DevOps, etc.',\n },\n {\n value: 'engineering',\n label: 'Engineering',\n description: 'Civil, mechanical, electrical, chemical, etc.',\n },\n // Healthcare & Medicine\n {\n value: 'healthcare_doctor',\n label: 'Doctor / Physician',\n description: 'MBBS, MD, surgeon, dentist, etc.',\n },\n {\n value: 'healthcare_nursing',\n label: 'Nursing & Allied Health',\n description: 'Nurse, physiotherapist, lab tech, etc.',\n },\n {\n value: 'healthcare_pharma',\n label: 'Pharma & Biotech',\n description: 'Pharmaceutical, biotech, clinical research',\n },\n {\n value: 'psychology_therapy',\n label: 'Psychology & Therapy',\n description: 'Psychologist, counsellor, therapist',\n },\n // Education & Research\n {\n value: 'education_teaching',\n label: 'Teaching & Training',\n description: 'School teacher, professor, corporate trainer',\n },\n {\n value: 'science_research',\n label: 'Science & Research',\n description: 'Scientist, lab researcher, academic scholar',\n },\n // Finance & Business\n {\n value: 'finance_banking',\n label: 'Finance & Banking',\n description: 'Banking, investment, stock market, insurance',\n },\n {\n value: 'chartered_accountant',\n label: 'Chartered Accountant (CA)',\n description: 'CA, CS, CMA, auditor',\n },\n {\n value: 'business_management',\n label: 'Business & Management',\n description: 'Operations, consulting, HR, MBA roles',\n },\n // Creative & Media\n {\n value: 'arts_entertainment',\n label: 'Arts & Entertainment',\n description: 'Music, film, dance, fine arts, theatre',\n },\n {\n value: 'media_communication',\n label: 'Media & Communication',\n description: 'Journalism, PR, advertising, content',\n },\n {\n value: 'design_creative',\n label: 'Design & Creative',\n description: 'Graphic design, UI/UX, fashion design, architecture',\n },\n // Government & Public Service\n {\n value: 'civil_services',\n label: 'Civil Services (IAS/IPS/IFS)',\n description: 'Government officer cadre — IAS, IPS, IRS, IFS',\n },\n {\n value: 'government_public',\n label: 'Government / Public Sector',\n description: 'PSU, state govt, municipal, railway, postal',\n },\n {\n value: 'defence_military',\n label: 'Defence / Military',\n description: 'Army, Navy, Air Force, paramilitary, coast guard',\n },\n {\n value: 'police_law_enforcement',\n label: 'Police & Law Enforcement',\n description: 'Police, CBI, NIA, customs, excise',\n },\n // Legal\n {\n value: 'legal',\n label: 'Legal & Law',\n description: 'Lawyer, advocate, judge, legal advisor, notary',\n },\n // Trades & Services\n {\n value: 'skilled_trades',\n label: 'Skilled Trades',\n description: 'Electrician, plumber, carpenter, welder, mechanic',\n },\n {\n value: 'transport_logistics',\n label: 'Transport & Logistics',\n description: 'Driver, delivery, warehouse, supply chain',\n },\n {\n value: 'hospitality_travel',\n label: 'Hospitality & Tourism',\n description: 'Hotels, restaurants, airlines, travel agency',\n },\n {\n value: 'beauty_wellness',\n label: 'Beauty & Wellness',\n description: 'Salon, spa, fitness trainer, yoga instructor',\n },\n // Agriculture & Rural\n {\n value: 'agriculture_farming',\n label: 'Agriculture & Farming',\n description: 'Farming, agri-business, dairy, fisheries',\n },\n // Real Estate & Construction\n {\n value: 'real_estate',\n label: 'Real Estate & Construction',\n description: 'Property, builder, interior design, architecture',\n },\n // Retail & Commerce\n {\n value: 'retail_ecommerce',\n label: 'Retail & E-commerce',\n description: 'Shops, online stores, wholesale, distribution',\n },\n {\n value: 'manufacturing',\n label: 'Manufacturing & Production',\n description: 'Factory, production, quality control, industrial',\n },\n // Maritime\n {\n value: 'merchant_navy',\n label: 'Merchant Navy',\n description: 'Commercial shipping, maritime, offshore',\n },\n // Social & NGO\n {\n value: 'ngo_social_work',\n label: 'NGO & Social Work',\n description: 'Non-profit, social worker, community development',\n },\n {\n value: 'religious_spiritual',\n label: 'Religious / Spiritual Work',\n description: 'Priest, pujari, maulvi, pastor, monk, spiritual guide',\n },\n // Independent\n {\n value: 'freelancer_gig',\n label: 'Freelancer / Gig Worker',\n description: 'Independent contractor, gig economy, Uber/Ola driver',\n },\n {\n value: 'content_creator',\n label: 'Content Creator / Influencer',\n description: 'YouTuber, blogger, podcaster, Instagram creator',\n },\n {\n value: 'self_employed',\n label: 'Self-employed / Entrepreneur',\n description: 'Own business, startup founder, shop owner',\n },\n // Non-working\n { value: 'student', label: 'Student', description: 'Currently pursuing education' },\n { value: 'homemaker', label: 'Homemaker', description: 'Managing the household full-time' },\n { value: 'retired', label: 'Retired', description: 'No longer working professionally' },\n {\n value: 'not_working',\n label: 'Not Currently Working',\n description: 'Between jobs, career break, or job seeking',\n },\n {\n value: 'differently_abled_pension',\n label: 'On Disability / Pension',\n description: 'Receiving disability benefits or pension',\n },\n { value: 'other', label: 'Other', description: 'Something not listed above' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say', description: 'Keep this private' },\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 comfortableWithShiftOptions = [\n { value: 'yes', label: 'Yes' },\n { value: 'no', label: 'No' },\n { value: 'somewhat', label: 'Somewhat' },\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: 'single_select',\n step: 7,\n isOnboarding: true,\n optional: true,\n options: [...occupationOptions],\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: [...comfortableWithShiftOptions],\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: 'single_select',\n step: 7,\n isOnboarding: true,\n optional: true,\n // Same option set as `occupation` above — answers \"If you could\n // start over, what would you do?\" using the canonical profession\n // enum (mirrored from dating-schema). The two fields share both\n // values and translations via `optionNs: 'occupation'`.\n options: [...occupationOptions],\n },\n ],\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"10-worldview.d.ts","sourceRoot":"","sources":["../../src/profile-fields/10-worldview.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;EASxB,CAAC;AAEX,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;EAY9B,CAAC;AAEX,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;EAQlC,CAAC;AAEX,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;EAMvB,CAAC;AAEX,eAAO,MAAM,0BAA0B;;;;;;;;;;;;EAK7B,CAAC;AAEX,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;EAMxB,CAAC;AAEX,eAAO,MAAM,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"10-worldview.d.ts","sourceRoot":"","sources":["../../src/profile-fields/10-worldview.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;EASxB,CAAC;AAEX,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;EAY9B,CAAC;AAEX,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;EAQlC,CAAC;AAEX,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;EAMvB,CAAC;AAEX,eAAO,MAAM,0BAA0B;;;;;;;;;;;;EAK7B,CAAC;AAEX,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;EAMxB,CAAC;AAEX,eAAO,MAAM,SAAS,EAAE,UAqEvB,CAAC"}
|
|
@@ -78,16 +78,6 @@ export const worldView = {
|
|
|
78
78
|
},
|
|
79
79
|
{
|
|
80
80
|
order: 3,
|
|
81
|
-
key: 'viewOnLgbtqOpinion',
|
|
82
|
-
label: 'LGBTQ+ Opinion',
|
|
83
|
-
type: 'textarea',
|
|
84
|
-
step: 10,
|
|
85
|
-
isOnboarding: true,
|
|
86
|
-
optional: true,
|
|
87
|
-
maxLength: 500,
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
order: 4,
|
|
91
81
|
key: 'viewOnTransgenderInclusion',
|
|
92
82
|
label: 'Views on Transgender Inclusion',
|
|
93
83
|
type: 'multi_select',
|
|
@@ -97,17 +87,7 @@ export const worldView = {
|
|
|
97
87
|
options: [...transgenderStatementOptions],
|
|
98
88
|
},
|
|
99
89
|
{
|
|
100
|
-
order:
|
|
101
|
-
key: 'viewOnTransgenderOpinion',
|
|
102
|
-
label: 'Transgender Opinion',
|
|
103
|
-
type: 'textarea',
|
|
104
|
-
step: 10,
|
|
105
|
-
isOnboarding: true,
|
|
106
|
-
optional: true,
|
|
107
|
-
maxLength: 500,
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
order: 6,
|
|
90
|
+
order: 4,
|
|
111
91
|
key: 'facingCasteDiscrimination',
|
|
112
92
|
label: 'Caste Discrimination Experience',
|
|
113
93
|
type: 'single_select',
|
|
@@ -118,7 +98,7 @@ export const worldView = {
|
|
|
118
98
|
options: [...casteDiscriminationOptions],
|
|
119
99
|
},
|
|
120
100
|
{
|
|
121
|
-
order:
|
|
101
|
+
order: 5,
|
|
122
102
|
key: 'casteDiscriminationPlaces',
|
|
123
103
|
label: 'Where Discrimination Faced',
|
|
124
104
|
type: 'multi_select',
|
|
@@ -129,7 +109,7 @@ export const worldView = {
|
|
|
129
109
|
conditionalOn: { field: 'facingCasteDiscrimination', values: ['YES_OFTEN', 'YES_SOMETIMES'] },
|
|
130
110
|
},
|
|
131
111
|
{
|
|
132
|
-
order:
|
|
112
|
+
order: 6,
|
|
133
113
|
key: 'viewOnGenderEquality',
|
|
134
114
|
label: 'View on Gender Equality',
|
|
135
115
|
type: 'single_select',
|