@tmllak-erp/hr 0.0.0-stage → 0.2.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/components/HrStatusBadge.d.ts +9 -0
- package/dist/components/HrStatusBadge.js +9 -0
- package/dist/components/HrStatusBadge.js.map +1 -0
- package/dist/components/attendance/Attendance.d.ts +84 -0
- package/dist/components/attendance/Attendance.js +92 -0
- package/dist/components/attendance/Attendance.js.map +1 -0
- package/dist/components/attendance/attendance.css +95 -0
- package/dist/components/employee/Employee.d.ts +61 -0
- package/dist/components/employee/Employee.js +26 -0
- package/dist/components/employee/Employee.js.map +1 -0
- package/dist/components/employee/employee.css +147 -0
- package/dist/components/filters/Filters.d.ts +37 -0
- package/dist/components/filters/Filters.js +20 -0
- package/dist/components/filters/Filters.js.map +1 -0
- package/dist/components/filters/filters.css +16 -0
- package/dist/components/portal/Portal.d.ts +82 -0
- package/dist/components/portal/Portal.js +50 -0
- package/dist/components/portal/Portal.js.map +1 -0
- package/dist/components/portal/portal.css +292 -0
- package/dist/components/recruitment/Recruitment.d.ts +68 -0
- package/dist/components/recruitment/Recruitment.js +88 -0
- package/dist/components/recruitment/Recruitment.js.map +1 -0
- package/dist/components/recruitment/recruitment.css +131 -0
- package/dist/components/templates/TaskTemplateImport.d.ts +38 -0
- package/dist/components/templates/TaskTemplateImport.js +41 -0
- package/dist/components/templates/TaskTemplateImport.js.map +1 -0
- package/dist/components/templates/templates.css +59 -0
- package/dist/components/tickets/Tickets.d.ts +36 -0
- package/dist/components/tickets/Tickets.js +20 -0
- package/dist/components/tickets/Tickets.js.map +1 -0
- package/dist/components/tickets/tickets.css +79 -0
- package/dist/copy.d.ts +129 -0
- package/dist/copy.en.d.ts +126 -0
- package/dist/copy.en.js +100 -0
- package/dist/copy.en.js.map +1 -0
- package/dist/copy.js +71 -0
- package/dist/copy.js.map +1 -0
- package/dist/feedback.d.ts +2313 -0
- package/dist/feedback.js +7 -0
- package/dist/feedback.js.map +1 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -0
- package/dist/messages.d.ts +1250 -0
- package/dist/messages.js +568 -0
- package/dist/messages.js.map +1 -0
- package/dist/navigation.d.ts +19 -0
- package/dist/navigation.js +124 -0
- package/dist/navigation.js.map +1 -0
- package/dist/statuses.d.ts +35 -0
- package/dist/statuses.js +120 -0
- package/dist/statuses.js.map +1 -0
- package/package.json +47 -6
- package/README.md +0 -3
package/dist/copy.d.ts
ADDED
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { type CopyTree } from '@tmllak-erp/messages';
|
|
2
|
+
/** Fixed wording of the HR components (draft, like the catalog). Placeholders are filled with `fillCopy`. */
|
|
3
|
+
declare const HR_COPY_AR: {
|
|
4
|
+
readonly profile: {
|
|
5
|
+
readonly number: "الرقم الوظيفي";
|
|
6
|
+
readonly department: "القسم";
|
|
7
|
+
readonly branch: "الفرع";
|
|
8
|
+
readonly manager: "المدير المباشر";
|
|
9
|
+
readonly joined: "تاريخ الالتحاق";
|
|
10
|
+
readonly email: "البريد الإلكتروني";
|
|
11
|
+
readonly phone: "الجوال";
|
|
12
|
+
readonly completion: "اكتمال الملف";
|
|
13
|
+
readonly sections: "أقسام الملف";
|
|
14
|
+
};
|
|
15
|
+
readonly team: {
|
|
16
|
+
readonly leader: "قائد الفريق";
|
|
17
|
+
readonly message: "مراسلة {name}";
|
|
18
|
+
readonly call: "الاتصال بـ{name}";
|
|
19
|
+
};
|
|
20
|
+
readonly branch: {
|
|
21
|
+
readonly label: "الفرع";
|
|
22
|
+
readonly all: "كل الفروع";
|
|
23
|
+
};
|
|
24
|
+
readonly cohort: {
|
|
25
|
+
readonly label: "الدفعة";
|
|
26
|
+
readonly all: "كل الدفعات";
|
|
27
|
+
readonly status: "حالة الدفعة";
|
|
28
|
+
readonly search: "ابحث عن متدرب…";
|
|
29
|
+
readonly searchLabel: "بحث في المتدربين";
|
|
30
|
+
readonly allStatuses: "الكل";
|
|
31
|
+
};
|
|
32
|
+
readonly attendance: {
|
|
33
|
+
readonly checkIn: "دخول";
|
|
34
|
+
readonly checkOut: "خروج";
|
|
35
|
+
readonly noRecord: "لا يوجد سجل";
|
|
36
|
+
readonly summary: "ملخص الشهر";
|
|
37
|
+
readonly calendar: "تقويم الحضور";
|
|
38
|
+
readonly today: "حضور اليوم";
|
|
39
|
+
readonly weekly: "الحضور الأسبوعي";
|
|
40
|
+
readonly onLeave: "في إجازة";
|
|
41
|
+
readonly employees: "موظف";
|
|
42
|
+
};
|
|
43
|
+
readonly period: {
|
|
44
|
+
readonly label: "الفترة";
|
|
45
|
+
readonly six: "6 أشهر";
|
|
46
|
+
readonly twelve: "12 شهرًا";
|
|
47
|
+
};
|
|
48
|
+
readonly leave: {
|
|
49
|
+
readonly days: "{count} يوم";
|
|
50
|
+
readonly remaining: "المتبقي";
|
|
51
|
+
readonly used: "المستخدم: {used} من {total}";
|
|
52
|
+
readonly request: "طلب إجازة";
|
|
53
|
+
readonly balance: "رصيد {type}";
|
|
54
|
+
};
|
|
55
|
+
readonly request: {
|
|
56
|
+
readonly submitted: "قُدّم في {date}";
|
|
57
|
+
readonly open: "عرض الطلب {reference}";
|
|
58
|
+
readonly cancel: "إلغاء الطلب";
|
|
59
|
+
};
|
|
60
|
+
readonly salary: {
|
|
61
|
+
readonly basic: "الأساسي";
|
|
62
|
+
readonly allowances: "البدلات";
|
|
63
|
+
readonly deductions: "الاستقطاعات";
|
|
64
|
+
readonly net: "صافي الراتب";
|
|
65
|
+
readonly payslip: "عرض قسيمة الراتب";
|
|
66
|
+
readonly breakdown: "تفاصيل راتب {month}";
|
|
67
|
+
};
|
|
68
|
+
readonly asset: {
|
|
69
|
+
readonly serial: "الرقم التسلسلي";
|
|
70
|
+
readonly assignedAt: "تاريخ التسليم";
|
|
71
|
+
readonly actions: "إجراءات العهدة";
|
|
72
|
+
};
|
|
73
|
+
readonly document: {
|
|
74
|
+
readonly expires: "ينتهي في {date}";
|
|
75
|
+
readonly expired: "انتهى في {date}";
|
|
76
|
+
readonly download: "تنزيل {name}";
|
|
77
|
+
readonly upload: "رفع المستند";
|
|
78
|
+
readonly view: "عرض {name}";
|
|
79
|
+
};
|
|
80
|
+
readonly rating: {
|
|
81
|
+
readonly label: "التقييم";
|
|
82
|
+
readonly value: "{value} من {max}";
|
|
83
|
+
readonly star: "{value} من {max}";
|
|
84
|
+
};
|
|
85
|
+
readonly recommendation: {
|
|
86
|
+
readonly label: "التوصية";
|
|
87
|
+
readonly strongHire: "أوصي بشدة";
|
|
88
|
+
readonly hire: "أوصي بالتعيين";
|
|
89
|
+
readonly neutral: "محايد";
|
|
90
|
+
readonly noHire: "لا أوصي";
|
|
91
|
+
};
|
|
92
|
+
readonly evaluation: {
|
|
93
|
+
readonly title: "تقييم المرشح";
|
|
94
|
+
readonly average: "المتوسط";
|
|
95
|
+
readonly notes: "ملاحظات المقيّم";
|
|
96
|
+
readonly submit: "حفظ التقييم";
|
|
97
|
+
readonly incomplete: "قيّم كل المعايير قبل الحفظ.";
|
|
98
|
+
};
|
|
99
|
+
readonly pipeline: {
|
|
100
|
+
readonly label: "مراحل التوظيف";
|
|
101
|
+
readonly applied: "تقدّم في {date}";
|
|
102
|
+
readonly open: "فتح ملف {name}";
|
|
103
|
+
};
|
|
104
|
+
readonly templates: {
|
|
105
|
+
readonly title: "استيراد مهام من قالب";
|
|
106
|
+
readonly description: "اختر قالبًا أو أكثر؛ تُحسب مواعيد التسليم من تاريخ البدء.";
|
|
107
|
+
readonly templates: "القوالب";
|
|
108
|
+
readonly start: "تاريخ البدء";
|
|
109
|
+
readonly preview: "المهام التي ستُضاف";
|
|
110
|
+
readonly taskCount: "{count} مهام";
|
|
111
|
+
readonly empty: "اختر قالبًا لمعاينة مهامه.";
|
|
112
|
+
readonly submit: "استيراد {count} مهمة";
|
|
113
|
+
readonly due: "التسليم {date}";
|
|
114
|
+
readonly pickOne: "اختر قالبًا واحدًا على الأقل.";
|
|
115
|
+
};
|
|
116
|
+
readonly tickets: {
|
|
117
|
+
readonly list: "التذاكر";
|
|
118
|
+
readonly category: "التصنيف";
|
|
119
|
+
readonly updated: "آخر تحديث";
|
|
120
|
+
readonly unread: "رد جديد";
|
|
121
|
+
readonly escalate: "تصعيد التذكرة";
|
|
122
|
+
readonly status: "حالة التذكرة";
|
|
123
|
+
readonly closed: "هذه التذكرة مغلقة. افتح تذكرة جديدة إن احتجت إلى مساعدة.";
|
|
124
|
+
readonly details: "تفاصيل التذكرة";
|
|
125
|
+
readonly empty: "لا توجد تذاكر";
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
export declare const HR_COPY: CopyTree<typeof HR_COPY_AR>;
|
|
129
|
+
export {};
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
/** English HR component chrome. Placeholders match the Arabic catalog. */
|
|
2
|
+
export declare const HR_COPY_EN: {
|
|
3
|
+
readonly profile: {
|
|
4
|
+
readonly number: "Employee number";
|
|
5
|
+
readonly department: "Department";
|
|
6
|
+
readonly branch: "Branch";
|
|
7
|
+
readonly manager: "Line manager";
|
|
8
|
+
readonly joined: "Start date";
|
|
9
|
+
readonly email: "Email";
|
|
10
|
+
readonly phone: "Mobile";
|
|
11
|
+
readonly completion: "Profile completion";
|
|
12
|
+
readonly sections: "Profile sections";
|
|
13
|
+
};
|
|
14
|
+
readonly team: {
|
|
15
|
+
readonly leader: "Team lead";
|
|
16
|
+
readonly message: "Message {name}";
|
|
17
|
+
readonly call: "Call {name}";
|
|
18
|
+
};
|
|
19
|
+
readonly branch: {
|
|
20
|
+
readonly label: "Branch";
|
|
21
|
+
readonly all: "All branches";
|
|
22
|
+
};
|
|
23
|
+
readonly cohort: {
|
|
24
|
+
readonly label: "Cohort";
|
|
25
|
+
readonly all: "All cohorts";
|
|
26
|
+
readonly status: "Cohort status";
|
|
27
|
+
readonly search: "Search trainees…";
|
|
28
|
+
readonly searchLabel: "Search trainees";
|
|
29
|
+
readonly allStatuses: "All";
|
|
30
|
+
};
|
|
31
|
+
readonly attendance: {
|
|
32
|
+
readonly checkIn: "In";
|
|
33
|
+
readonly checkOut: "Out";
|
|
34
|
+
readonly noRecord: "No record";
|
|
35
|
+
readonly summary: "Month summary";
|
|
36
|
+
readonly calendar: "Attendance calendar";
|
|
37
|
+
readonly today: "Today's attendance";
|
|
38
|
+
readonly weekly: "Weekly attendance";
|
|
39
|
+
readonly onLeave: "On leave";
|
|
40
|
+
readonly employees: "Employees";
|
|
41
|
+
};
|
|
42
|
+
readonly period: {
|
|
43
|
+
readonly label: "Period";
|
|
44
|
+
readonly six: "6 months";
|
|
45
|
+
readonly twelve: "12 months";
|
|
46
|
+
};
|
|
47
|
+
readonly leave: {
|
|
48
|
+
readonly days: "{count} days";
|
|
49
|
+
readonly remaining: "Remaining";
|
|
50
|
+
readonly used: "Used: {used} of {total}";
|
|
51
|
+
readonly request: "Request leave";
|
|
52
|
+
readonly balance: "{type} balance";
|
|
53
|
+
};
|
|
54
|
+
readonly request: {
|
|
55
|
+
readonly submitted: "Submitted on {date}";
|
|
56
|
+
readonly open: "View request {reference}";
|
|
57
|
+
readonly cancel: "Cancel request";
|
|
58
|
+
};
|
|
59
|
+
readonly salary: {
|
|
60
|
+
readonly basic: "Basic";
|
|
61
|
+
readonly allowances: "Allowances";
|
|
62
|
+
readonly deductions: "Deductions";
|
|
63
|
+
readonly net: "Net salary";
|
|
64
|
+
readonly payslip: "View payslip";
|
|
65
|
+
readonly breakdown: "Salary breakdown for {month}";
|
|
66
|
+
};
|
|
67
|
+
readonly asset: {
|
|
68
|
+
readonly serial: "Serial number";
|
|
69
|
+
readonly assignedAt: "Assigned on";
|
|
70
|
+
readonly actions: "Asset actions";
|
|
71
|
+
};
|
|
72
|
+
readonly document: {
|
|
73
|
+
readonly expires: "Expires on {date}";
|
|
74
|
+
readonly expired: "Expired on {date}";
|
|
75
|
+
readonly download: "Download {name}";
|
|
76
|
+
readonly upload: "Upload document";
|
|
77
|
+
readonly view: "View {name}";
|
|
78
|
+
};
|
|
79
|
+
readonly rating: {
|
|
80
|
+
readonly label: "Rating";
|
|
81
|
+
readonly value: "{value} of {max}";
|
|
82
|
+
readonly star: "{value} of {max}";
|
|
83
|
+
};
|
|
84
|
+
readonly recommendation: {
|
|
85
|
+
readonly label: "Recommendation";
|
|
86
|
+
readonly strongHire: "Strong hire";
|
|
87
|
+
readonly hire: "Hire";
|
|
88
|
+
readonly neutral: "Neutral";
|
|
89
|
+
readonly noHire: "Do not hire";
|
|
90
|
+
};
|
|
91
|
+
readonly evaluation: {
|
|
92
|
+
readonly title: "Candidate evaluation";
|
|
93
|
+
readonly average: "Average";
|
|
94
|
+
readonly notes: "Evaluator notes";
|
|
95
|
+
readonly submit: "Save evaluation";
|
|
96
|
+
readonly incomplete: "Rate every criterion before saving.";
|
|
97
|
+
};
|
|
98
|
+
readonly pipeline: {
|
|
99
|
+
readonly label: "Hiring stages";
|
|
100
|
+
readonly applied: "Applied on {date}";
|
|
101
|
+
readonly open: "Open {name}’s file";
|
|
102
|
+
};
|
|
103
|
+
readonly templates: {
|
|
104
|
+
readonly title: "Import tasks from a template";
|
|
105
|
+
readonly description: "Choose one or more templates. Due dates are calculated from the start date.";
|
|
106
|
+
readonly templates: "Templates";
|
|
107
|
+
readonly start: "Start date";
|
|
108
|
+
readonly preview: "Tasks that will be added";
|
|
109
|
+
readonly taskCount: "{count} tasks";
|
|
110
|
+
readonly empty: "Choose a template to preview its tasks.";
|
|
111
|
+
readonly submit: "Import {count} tasks";
|
|
112
|
+
readonly due: "Due {date}";
|
|
113
|
+
readonly pickOne: "Choose at least one template.";
|
|
114
|
+
};
|
|
115
|
+
readonly tickets: {
|
|
116
|
+
readonly list: "Tickets";
|
|
117
|
+
readonly category: "Category";
|
|
118
|
+
readonly updated: "Last updated";
|
|
119
|
+
readonly unread: "New reply";
|
|
120
|
+
readonly escalate: "Escalate ticket";
|
|
121
|
+
readonly status: "Ticket status";
|
|
122
|
+
readonly closed: "This ticket is closed. Open a new one if you still need help.";
|
|
123
|
+
readonly details: "Ticket details";
|
|
124
|
+
readonly empty: "No tickets";
|
|
125
|
+
};
|
|
126
|
+
};
|
package/dist/copy.en.js
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/** English HR component chrome. Placeholders match the Arabic catalog. */
|
|
2
|
+
export const HR_COPY_EN = {
|
|
3
|
+
profile: {
|
|
4
|
+
number: 'Employee number',
|
|
5
|
+
department: 'Department',
|
|
6
|
+
branch: 'Branch',
|
|
7
|
+
manager: 'Line manager',
|
|
8
|
+
joined: 'Start date',
|
|
9
|
+
email: 'Email',
|
|
10
|
+
phone: 'Mobile',
|
|
11
|
+
completion: 'Profile completion',
|
|
12
|
+
sections: 'Profile sections',
|
|
13
|
+
},
|
|
14
|
+
team: { leader: 'Team lead', message: 'Message {name}', call: 'Call {name}' },
|
|
15
|
+
branch: { label: 'Branch', all: 'All branches' },
|
|
16
|
+
cohort: {
|
|
17
|
+
label: 'Cohort',
|
|
18
|
+
all: 'All cohorts',
|
|
19
|
+
status: 'Cohort status',
|
|
20
|
+
search: 'Search trainees…',
|
|
21
|
+
searchLabel: 'Search trainees',
|
|
22
|
+
allStatuses: 'All',
|
|
23
|
+
},
|
|
24
|
+
attendance: {
|
|
25
|
+
checkIn: 'In',
|
|
26
|
+
checkOut: 'Out',
|
|
27
|
+
noRecord: 'No record',
|
|
28
|
+
summary: 'Month summary',
|
|
29
|
+
calendar: 'Attendance calendar',
|
|
30
|
+
today: "Today's attendance",
|
|
31
|
+
weekly: 'Weekly attendance',
|
|
32
|
+
onLeave: 'On leave',
|
|
33
|
+
employees: 'Employees',
|
|
34
|
+
},
|
|
35
|
+
period: { label: 'Period', six: '6 months', twelve: '12 months' },
|
|
36
|
+
leave: {
|
|
37
|
+
days: '{count} days',
|
|
38
|
+
remaining: 'Remaining',
|
|
39
|
+
used: 'Used: {used} of {total}',
|
|
40
|
+
request: 'Request leave',
|
|
41
|
+
balance: '{type} balance',
|
|
42
|
+
},
|
|
43
|
+
request: { submitted: 'Submitted on {date}', open: 'View request {reference}', cancel: 'Cancel request' },
|
|
44
|
+
salary: {
|
|
45
|
+
basic: 'Basic',
|
|
46
|
+
allowances: 'Allowances',
|
|
47
|
+
deductions: 'Deductions',
|
|
48
|
+
net: 'Net salary',
|
|
49
|
+
payslip: 'View payslip',
|
|
50
|
+
breakdown: 'Salary breakdown for {month}',
|
|
51
|
+
},
|
|
52
|
+
asset: { serial: 'Serial number', assignedAt: 'Assigned on', actions: 'Asset actions' },
|
|
53
|
+
document: {
|
|
54
|
+
expires: 'Expires on {date}',
|
|
55
|
+
expired: 'Expired on {date}',
|
|
56
|
+
download: 'Download {name}',
|
|
57
|
+
upload: 'Upload document',
|
|
58
|
+
view: 'View {name}',
|
|
59
|
+
},
|
|
60
|
+
rating: { label: 'Rating', value: '{value} of {max}', star: '{value} of {max}' },
|
|
61
|
+
recommendation: {
|
|
62
|
+
label: 'Recommendation',
|
|
63
|
+
strongHire: 'Strong hire',
|
|
64
|
+
hire: 'Hire',
|
|
65
|
+
neutral: 'Neutral',
|
|
66
|
+
noHire: 'Do not hire',
|
|
67
|
+
},
|
|
68
|
+
evaluation: {
|
|
69
|
+
title: 'Candidate evaluation',
|
|
70
|
+
average: 'Average',
|
|
71
|
+
notes: 'Evaluator notes',
|
|
72
|
+
submit: 'Save evaluation',
|
|
73
|
+
incomplete: 'Rate every criterion before saving.',
|
|
74
|
+
},
|
|
75
|
+
pipeline: { label: 'Hiring stages', applied: 'Applied on {date}', open: 'Open {name}’s file' },
|
|
76
|
+
templates: {
|
|
77
|
+
title: 'Import tasks from a template',
|
|
78
|
+
description: 'Choose one or more templates. Due dates are calculated from the start date.',
|
|
79
|
+
templates: 'Templates',
|
|
80
|
+
start: 'Start date',
|
|
81
|
+
preview: 'Tasks that will be added',
|
|
82
|
+
taskCount: '{count} tasks',
|
|
83
|
+
empty: 'Choose a template to preview its tasks.',
|
|
84
|
+
submit: 'Import {count} tasks',
|
|
85
|
+
due: 'Due {date}',
|
|
86
|
+
pickOne: 'Choose at least one template.',
|
|
87
|
+
},
|
|
88
|
+
tickets: {
|
|
89
|
+
list: 'Tickets',
|
|
90
|
+
category: 'Category',
|
|
91
|
+
updated: 'Last updated',
|
|
92
|
+
unread: 'New reply',
|
|
93
|
+
escalate: 'Escalate ticket',
|
|
94
|
+
status: 'Ticket status',
|
|
95
|
+
closed: 'This ticket is closed. Open a new one if you still need help.',
|
|
96
|
+
details: 'Ticket details',
|
|
97
|
+
empty: 'No tickets',
|
|
98
|
+
},
|
|
99
|
+
};
|
|
100
|
+
//# sourceMappingURL=copy.en.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"copy.en.js","sourceRoot":"","sources":["../src/copy.en.ts"],"names":[],"mappings":"AAAA,0EAA0E;AAC1E,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,OAAO,EAAE;QACP,MAAM,EAAE,iBAAiB;QACzB,UAAU,EAAE,YAAY;QACxB,MAAM,EAAE,QAAQ;QAChB,OAAO,EAAE,cAAc;QACvB,MAAM,EAAE,YAAY;QACpB,KAAK,EAAE,OAAO;QACd,KAAK,EAAE,QAAQ;QACf,UAAU,EAAE,oBAAoB;QAChC,QAAQ,EAAE,kBAAkB;KAC7B;IACD,IAAI,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,gBAAgB,EAAE,IAAI,EAAE,aAAa,EAAE;IAC7E,MAAM,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,EAAE,cAAc,EAAE;IAChD,MAAM,EAAE;QACN,KAAK,EAAE,QAAQ;QACf,GAAG,EAAE,aAAa;QAClB,MAAM,EAAE,eAAe;QACvB,MAAM,EAAE,kBAAkB;QAC1B,WAAW,EAAE,iBAAiB;QAC9B,WAAW,EAAE,KAAK;KACnB;IACD,UAAU,EAAE;QACV,OAAO,EAAE,IAAI;QACb,QAAQ,EAAE,KAAK;QACf,QAAQ,EAAE,WAAW;QACrB,OAAO,EAAE,eAAe;QAC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K,EAAE,iBAAiB;QACxB,MAAM,EAAE,iBAAiB;QACzB,UAAU,EAAE,qCAAqC;KAClD;IACD,QAAQ,EAAE,EAAE,KAAK,EAAE,eAAe,EAAE,OAAO,EAAE,mBAAmB,EAAE,IAAI,EAAE,oBAAoB,EAAE;IAC9F,SAAS,EAAE;QACT,KAAK,EAAE,8BAA8B;QACrC,WAAW,EAAE,6EAA6E;QAC1F,SAAS,EAAE,WAAW;QACtB,KAAK,EAAE,YAAY;QACnB,OAAO,EAAE,0BAA0B;QACnC,SAAS,EAAE,eAAe;QAC1B,KAAK,EAAE,yCAAyC;QAChD,MAAM,EAAE,sBAAsB;QAC9B,GAAG,EAAE,YAAY;QACjB,OAAO,EAAE,+BAA+B;KACzC;IACD,OAAO,EAAE;QACP,IAAI,EAAE,SAAS;QACf,QAAQ,EAAE,UAAU;QACpB,OAAO,EAAE,cAAc;QACvB,MAAM,EAAE,WAAW;QACnB,QAAQ,EAAE,iBAAiB;QAC3B,MAAM,EAAE,eAAe;QACvB,MAAM,EAAE,+DAA+D;QACvE,OAAO,EAAE,gBAAgB;QACzB,KAAK,EAAE,YAAY;KACpB;CACO,CAAC","sourcesContent":["/** English HR component chrome. Placeholders match the Arabic catalog. */\r\nexport const HR_COPY_EN = {\r\n profile: {\r\n number: 'Employee number',\r\n department: 'Department',\r\n branch: 'Branch',\r\n manager: 'Line manager',\r\n joined: 'Start date',\r\n email: 'Email',\r\n phone: 'Mobile',\r\n completion: 'Profile completion',\r\n sections: 'Profile sections',\r\n },\r\n team: { leader: 'Team lead', message: 'Message {name}', call: 'Call {name}' },\r\n branch: { label: 'Branch', all: 'All branches' },\r\n cohort: {\r\n label: 'Cohort',\r\n all: 'All cohorts',\r\n status: 'Cohort status',\r\n search: 'Search trainees…',\r\n searchLabel: 'Search trainees',\r\n allStatuses: 'All',\r\n },\r\n attendance: {\r\n checkIn: 'In',\r\n checkOut: 'Out',\r\n noRecord: 'No record',\r\n summary: 'Month summary',\r\n calendar: 'Attendance calendar',\r\n today: \"Today's attendance\",\r\n weekly: 'Weekly attendance',\r\n onLeave: 'On leave',\r\n employees: 'Employees',\r\n },\r\n period: { label: 'Period', six: '6 months', twelve: '12 months' },\r\n leave: {\r\n days: '{count} days',\r\n remaining: 'Remaining',\r\n used: 'Used: {used} of {total}',\r\n request: 'Request leave',\r\n balance: '{type} balance',\r\n },\r\n request: { submitted: 'Submitted on {date}', open: 'View request {reference}', cancel: 'Cancel request' },\r\n salary: {\r\n basic: 'Basic',\r\n allowances: 'Allowances',\r\n deductions: 'Deductions',\r\n net: 'Net salary',\r\n payslip: 'View payslip',\r\n breakdown: 'Salary breakdown for {month}',\r\n },\r\n asset: { serial: 'Serial number', assignedAt: 'Assigned on', actions: 'Asset actions' },\r\n document: {\r\n expires: 'Expires on {date}',\r\n expired: 'Expired on {date}',\r\n download: 'Download {name}',\r\n upload: 'Upload document',\r\n view: 'View {name}',\r\n },\r\n rating: { label: 'Rating', value: '{value} of {max}', star: '{value} of {max}' },\r\n recommendation: {\r\n label: 'Recommendation',\r\n strongHire: 'Strong hire',\r\n hire: 'Hire',\r\n neutral: 'Neutral',\r\n noHire: 'Do not hire',\r\n },\r\n evaluation: {\r\n title: 'Candidate evaluation',\r\n average: 'Average',\r\n notes: 'Evaluator notes',\r\n submit: 'Save evaluation',\r\n incomplete: 'Rate every criterion before saving.',\r\n },\r\n pipeline: { label: 'Hiring stages', applied: 'Applied on {date}', open: 'Open {name}’s file' },\r\n templates: {\r\n title: 'Import tasks from a template',\r\n description: 'Choose one or more templates. Due dates are calculated from the start date.',\r\n templates: 'Templates',\r\n start: 'Start date',\r\n preview: 'Tasks that will be added',\r\n taskCount: '{count} tasks',\r\n empty: 'Choose a template to preview its tasks.',\r\n submit: 'Import {count} tasks',\r\n due: 'Due {date}',\r\n pickOne: 'Choose at least one template.',\r\n },\r\n tickets: {\r\n list: 'Tickets',\r\n category: 'Category',\r\n updated: 'Last updated',\r\n unread: 'New reply',\r\n escalate: 'Escalate ticket',\r\n status: 'Ticket status',\r\n closed: 'This ticket is closed. Open a new one if you still need help.',\r\n details: 'Ticket details',\r\n empty: 'No tickets',\r\n },\r\n} as const;\r\n"]}
|
package/dist/copy.js
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { localize } from '@tmllak-erp/messages';
|
|
2
|
+
import { HR_COPY_EN } from './copy.en.js';
|
|
3
|
+
/** Fixed wording of the HR components (draft, like the catalog). Placeholders are filled with `fillCopy`. */
|
|
4
|
+
const HR_COPY_AR = {
|
|
5
|
+
profile: {
|
|
6
|
+
number: 'الرقم الوظيفي',
|
|
7
|
+
department: 'القسم',
|
|
8
|
+
branch: 'الفرع',
|
|
9
|
+
manager: 'المدير المباشر',
|
|
10
|
+
joined: 'تاريخ الالتحاق',
|
|
11
|
+
email: 'البريد الإلكتروني',
|
|
12
|
+
phone: 'الجوال',
|
|
13
|
+
completion: 'اكتمال الملف',
|
|
14
|
+
sections: 'أقسام الملف',
|
|
15
|
+
},
|
|
16
|
+
team: { leader: 'قائد الفريق', message: 'مراسلة {name}', call: 'الاتصال بـ{name}' },
|
|
17
|
+
branch: { label: 'الفرع', all: 'كل الفروع' },
|
|
18
|
+
cohort: { label: 'الدفعة', all: 'كل الدفعات', status: 'حالة الدفعة', search: 'ابحث عن متدرب…', searchLabel: 'بحث في المتدربين', allStatuses: 'الكل' },
|
|
19
|
+
attendance: {
|
|
20
|
+
checkIn: 'دخول',
|
|
21
|
+
checkOut: 'خروج',
|
|
22
|
+
noRecord: 'لا يوجد سجل',
|
|
23
|
+
summary: 'ملخص الشهر',
|
|
24
|
+
calendar: 'تقويم الحضور',
|
|
25
|
+
today: 'حضور اليوم',
|
|
26
|
+
weekly: 'الحضور الأسبوعي',
|
|
27
|
+
onLeave: 'في إجازة',
|
|
28
|
+
employees: 'موظف',
|
|
29
|
+
},
|
|
30
|
+
period: { label: 'الفترة', six: '6 أشهر', twelve: '12 شهرًا' },
|
|
31
|
+
leave: { days: '{count} يوم', remaining: 'المتبقي', used: 'المستخدم: {used} من {total}', request: 'طلب إجازة', balance: 'رصيد {type}' },
|
|
32
|
+
request: { submitted: 'قُدّم في {date}', open: 'عرض الطلب {reference}', cancel: 'إلغاء الطلب' },
|
|
33
|
+
salary: { basic: 'الأساسي', allowances: 'البدلات', deductions: 'الاستقطاعات', net: 'صافي الراتب', payslip: 'عرض قسيمة الراتب', breakdown: 'تفاصيل راتب {month}' },
|
|
34
|
+
asset: { serial: 'الرقم التسلسلي', assignedAt: 'تاريخ التسليم', actions: 'إجراءات العهدة' },
|
|
35
|
+
document: { expires: 'ينتهي في {date}', expired: 'انتهى في {date}', download: 'تنزيل {name}', upload: 'رفع المستند', view: 'عرض {name}' },
|
|
36
|
+
rating: { label: 'التقييم', value: '{value} من {max}', star: '{value} من {max}' },
|
|
37
|
+
recommendation: {
|
|
38
|
+
label: 'التوصية',
|
|
39
|
+
strongHire: 'أوصي بشدة',
|
|
40
|
+
hire: 'أوصي بالتعيين',
|
|
41
|
+
neutral: 'محايد',
|
|
42
|
+
noHire: 'لا أوصي',
|
|
43
|
+
},
|
|
44
|
+
evaluation: { title: 'تقييم المرشح', average: 'المتوسط', notes: 'ملاحظات المقيّم', submit: 'حفظ التقييم', incomplete: 'قيّم كل المعايير قبل الحفظ.' },
|
|
45
|
+
pipeline: { label: 'مراحل التوظيف', applied: 'تقدّم في {date}', open: 'فتح ملف {name}' },
|
|
46
|
+
templates: {
|
|
47
|
+
title: 'استيراد مهام من قالب',
|
|
48
|
+
description: 'اختر قالبًا أو أكثر؛ تُحسب مواعيد التسليم من تاريخ البدء.',
|
|
49
|
+
templates: 'القوالب',
|
|
50
|
+
start: 'تاريخ البدء',
|
|
51
|
+
preview: 'المهام التي ستُضاف',
|
|
52
|
+
taskCount: '{count} مهام',
|
|
53
|
+
empty: 'اختر قالبًا لمعاينة مهامه.',
|
|
54
|
+
submit: 'استيراد {count} مهمة',
|
|
55
|
+
due: 'التسليم {date}',
|
|
56
|
+
pickOne: 'اختر قالبًا واحدًا على الأقل.',
|
|
57
|
+
},
|
|
58
|
+
tickets: {
|
|
59
|
+
list: 'التذاكر',
|
|
60
|
+
category: 'التصنيف',
|
|
61
|
+
updated: 'آخر تحديث',
|
|
62
|
+
unread: 'رد جديد',
|
|
63
|
+
escalate: 'تصعيد التذكرة',
|
|
64
|
+
status: 'حالة التذكرة',
|
|
65
|
+
closed: 'هذه التذكرة مغلقة. افتح تذكرة جديدة إن احتجت إلى مساعدة.',
|
|
66
|
+
details: 'تفاصيل التذكرة',
|
|
67
|
+
empty: 'لا توجد تذاكر',
|
|
68
|
+
},
|
|
69
|
+
};
|
|
70
|
+
export const HR_COPY = localize(HR_COPY_AR, HR_COPY_EN);
|
|
71
|
+
//# sourceMappingURL=copy.js.map
|
package/dist/copy.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"copy.js","sourceRoot":"","sources":["../src/copy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAiB,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAEvC,6GAA6G;AAC7G,MAAM,UAAU,GAAG;IACjB,OAAO,EAAE;QACP,MAAM,EAAE,eAAe;QACvB,UAAU,EAAE,OAAO;QACnB,MAAM,EAAE,OAAO;QACf,OAAO,EAAE,gBAAgB;QACzB,MAAM,EAAE,gBAAgB;QACxB,KAAK,EAAE,mBAAmB;QAC1B,KAAK,EAAE,QAAQ;QACf,UAAU,EAAE,cAAc;QAC1B,QAAQ,EAAE,aAAa;KACxB;IACD,IAAI,EAAE,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,kBAAkB,EAAE;IACnF,MAAM,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,EAAE,WAAW,EAAE;IAC5C,MAAM,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,EAAE,YAAY,EAAE,MAAM,EAAE,aAA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AK,EAAE,SAAS;QAChB,UAAU,EAAE,WAAW;QACvB,IAAI,EAAE,eAAe;QACrB,OAAO,EAAE,OAAO;QAChB,MAAM,EAAE,SAAS;KAClB;IACD,UAAU,EAAE,EAAE,KAAK,EAAE,cAAc,EAAE,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,iBAAiB,EAAE,MAAM,EAAE,aAAa,EAAE,UAAU,EAAE,6BAA6B,EAAE;IACrJ,QAAQ,EAAE,EAAE,KAAK,EAAE,eAAe,EAAE,OAAO,EAAE,iBAAiB,EAAE,IAAI,EAAE,gBAAgB,EAAE;IACxF,SAAS,EAAE;QACT,KAAK,EAAE,sBAAsB;QAC7B,WAAW,EAAE,2DAA2D;QACxE,SAAS,EAAE,SAAS;QACpB,KAAK,EAAE,aAAa;QACpB,OAAO,EAAE,oBAAoB;QAC7B,SAAS,EAAE,cAAc;QACzB,KAAK,EAAE,4BAA4B;QACnC,MAAM,EAAE,sBAAsB;QAC9B,GAAG,EAAE,gBAAgB;QACrB,OAAO,EAAE,+BAA+B;KACzC;IACD,OAAO,EAAE;QACP,IAAI,EAAE,SAAS;QACf,QAAQ,EAAE,SAAS;QACnB,OAAO,EAAE,WAAW;QACpB,MAAM,EAAE,SAAS;QACjB,QAAQ,EAAE,eAAe;QACzB,MAAM,EAAE,cAAc;QACtB,MAAM,EAAE,0DAA0D;QAClE,OAAO,EAAE,gBAAgB;QACzB,KAAK,EAAE,eAAe;KACvB;CACO,CAAC;AAEX,MAAM,CAAC,MAAM,OAAO,GAAgC,QAAQ,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC","sourcesContent":["import { localize, type CopyTree } from '@tmllak-erp/messages';\r\nimport { HR_COPY_EN } from './copy.en';\r\n\r\n/** Fixed wording of the HR components (draft, like the catalog). Placeholders are filled with `fillCopy`. */\r\nconst HR_COPY_AR = {\r\n profile: {\r\n number: 'الرقم الوظيفي',\r\n department: 'القسم',\r\n branch: 'الفرع',\r\n manager: 'المدير المباشر',\r\n joined: 'تاريخ الالتحاق',\r\n email: 'البريد الإلكتروني',\r\n phone: 'الجوال',\r\n completion: 'اكتمال الملف',\r\n sections: 'أقسام الملف',\r\n },\r\n team: { leader: 'قائد الفريق', message: 'مراسلة {name}', call: 'الاتصال بـ{name}' },\r\n branch: { label: 'الفرع', all: 'كل الفروع' },\r\n cohort: { label: 'الدفعة', all: 'كل الدفعات', status: 'حالة الدفعة', search: 'ابحث عن متدرب…', searchLabel: 'بحث في المتدربين', allStatuses: 'الكل' },\r\n attendance: {\r\n checkIn: 'دخول',\r\n checkOut: 'خروج',\r\n noRecord: 'لا يوجد سجل',\r\n summary: 'ملخص الشهر',\r\n calendar: 'تقويم الحضور',\r\n today: 'حضور اليوم',\r\n weekly: 'الحضور الأسبوعي',\r\n onLeave: 'في إجازة',\r\n employees: 'موظف',\r\n },\r\n period: { label: 'الفترة', six: '6 أشهر', twelve: '12 شهرًا' },\r\n leave: { days: '{count} يوم', remaining: 'المتبقي', used: 'المستخدم: {used} من {total}', request: 'طلب إجازة', balance: 'رصيد {type}' },\r\n request: { submitted: 'قُدّم في {date}', open: 'عرض الطلب {reference}', cancel: 'إلغاء الطلب' },\r\n salary: { basic: 'الأساسي', allowances: 'البدلات', deductions: 'الاستقطاعات', net: 'صافي الراتب', payslip: 'عرض قسيمة الراتب', breakdown: 'تفاصيل راتب {month}' },\r\n asset: { serial: 'الرقم التسلسلي', assignedAt: 'تاريخ التسليم', actions: 'إجراءات العهدة' },\r\n document: { expires: 'ينتهي في {date}', expired: 'انتهى في {date}', download: 'تنزيل {name}', upload: 'رفع المستند', view: 'عرض {name}' },\r\n rating: { label: 'التقييم', value: '{value} من {max}', star: '{value} من {max}' },\r\n recommendation: {\r\n label: 'التوصية',\r\n strongHire: 'أوصي بشدة',\r\n hire: 'أوصي بالتعيين',\r\n neutral: 'محايد',\r\n noHire: 'لا أوصي',\r\n },\r\n evaluation: { title: 'تقييم المرشح', average: 'المتوسط', notes: 'ملاحظات المقيّم', submit: 'حفظ التقييم', incomplete: 'قيّم كل المعايير قبل الحفظ.' },\r\n pipeline: { label: 'مراحل التوظيف', applied: 'تقدّم في {date}', open: 'فتح ملف {name}' },\r\n templates: {\r\n title: 'استيراد مهام من قالب',\r\n description: 'اختر قالبًا أو أكثر؛ تُحسب مواعيد التسليم من تاريخ البدء.',\r\n templates: 'القوالب',\r\n start: 'تاريخ البدء',\r\n preview: 'المهام التي ستُضاف',\r\n taskCount: '{count} مهام',\r\n empty: 'اختر قالبًا لمعاينة مهامه.',\r\n submit: 'استيراد {count} مهمة',\r\n due: 'التسليم {date}',\r\n pickOne: 'اختر قالبًا واحدًا على الأقل.',\r\n },\r\n tickets: {\r\n list: 'التذاكر',\r\n category: 'التصنيف',\r\n updated: 'آخر تحديث',\r\n unread: 'رد جديد',\r\n escalate: 'تصعيد التذكرة',\r\n status: 'حالة التذكرة',\r\n closed: 'هذه التذكرة مغلقة. افتح تذكرة جديدة إن احتجت إلى مساعدة.',\r\n details: 'تفاصيل التذكرة',\r\n empty: 'لا توجد تذاكر',\r\n },\r\n} as const;\r\n\r\nexport const HR_COPY: CopyTree<typeof HR_COPY_AR> = localize(HR_COPY_AR, HR_COPY_EN);\r\n"]}
|