Files
hounam-submit-form-frontend/ui/forms/skillsForm/constant/index.ts
2026-06-02 17:08:52 +03:30

40 lines
1.1 KiB
TypeScript

import type { ProficiencyLevel, SkillsFormValues } from "../types";
export const proficiencyOptions: { value: ProficiencyLevel; label: string }[] = [
{ value: "", label: "انتخاب ..." },
{ value: "NONE", label: "ندارد" },
{ value: "VERY_WEAK", label: "خیلی ضعیف" },
{ value: "WEAK", label: "ضعیف" },
{ value: "AVERAGE", label: "متوسط" },
{ value: "GOOD", label: "خوب" },
{ value: "VERY_GOOD", label: "خیلی خوب" },
{ value: "EXCELLENT", label: "عالی" },
];
export const certTypes = ["IELTS", "TOFEL", "TOLIMO", "MCHE"] as const;
export const INITIAL_SKILLS_VALUES: SkillsFormValues = {
computerSkill: {
pcUsage: "",
word: "",
excel: "",
powerPoint: "",
rahkaran: "",
kasra: "",
didgah: "",
his: "",
otherSoftware: "",
},
languageSkill: {
englishLevel: "",
englishDescription: "",
hasEnglishCertificate: false,
englishCertificateType: "",
arabicLevel: "",
arabicDescription: "",
otherLanguagesDescription: "",
dialectsDescription: "",
otherSkills: "",
},
};