@coffer-org/plugin-documents 3.1.1 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/person_identity/index.js +20 -10
- package/dist/personal_document/index.js +59 -30
- package/dist/runtime/index.js +10 -3
- package/dist/schema.js +4785 -1734
- package/locales/en.json +61 -0
- package/locales/ru.json +61 -0
- package/locales/uk.json +61 -0
- package/package.json +7 -5
package/locales/en.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"documents": {
|
|
3
|
+
"plugin": {
|
|
4
|
+
"label": "Documents",
|
|
5
|
+
"description": "Personal documents and identity."
|
|
6
|
+
},
|
|
7
|
+
"library": {
|
|
8
|
+
"label": "Documents"
|
|
9
|
+
},
|
|
10
|
+
"person_identity": {
|
|
11
|
+
"label": "Identity",
|
|
12
|
+
"fields": {
|
|
13
|
+
"nationality": "Nationality",
|
|
14
|
+
"variants": "Variants (languages)"
|
|
15
|
+
},
|
|
16
|
+
"variants": {
|
|
17
|
+
"lang": "Language",
|
|
18
|
+
"name": "First name",
|
|
19
|
+
"surname": "Last name"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"personal_document": {
|
|
23
|
+
"label": "Document",
|
|
24
|
+
"fields": {
|
|
25
|
+
"about": "Description",
|
|
26
|
+
"surname": "Surname",
|
|
27
|
+
"given_names": "Given names",
|
|
28
|
+
"sex": "Sex",
|
|
29
|
+
"birth_date": "Date of birth",
|
|
30
|
+
"nationality": "Nationality",
|
|
31
|
+
"number": "Document number",
|
|
32
|
+
"record_no": "Record No.",
|
|
33
|
+
"issued": "Date of issue",
|
|
34
|
+
"expires": "Expiry date",
|
|
35
|
+
"authority": "Issuing authority",
|
|
36
|
+
"storage": "Storage location",
|
|
37
|
+
"mrz": "MRZ (machine-readable zone)",
|
|
38
|
+
"owner": "Owner",
|
|
39
|
+
"photos": "Other photos",
|
|
40
|
+
"notes": "Notes",
|
|
41
|
+
"tags": "Tags"
|
|
42
|
+
},
|
|
43
|
+
"options": {
|
|
44
|
+
"sex": {
|
|
45
|
+
"M": "Male",
|
|
46
|
+
"F": "Female"
|
|
47
|
+
},
|
|
48
|
+
"type": {
|
|
49
|
+
"P": "Passport",
|
|
50
|
+
"PA": "Passport (biometric)",
|
|
51
|
+
"TP": "Temporary protection",
|
|
52
|
+
"ID": "ID card",
|
|
53
|
+
"DL": "Driver's licence",
|
|
54
|
+
"BR": "Birth certificate",
|
|
55
|
+
"MC": "Medical card / policy",
|
|
56
|
+
"OT": "Other"
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
package/locales/ru.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"documents": {
|
|
3
|
+
"plugin": {
|
|
4
|
+
"label": "Документы",
|
|
5
|
+
"description": "Личные документы и идентичность."
|
|
6
|
+
},
|
|
7
|
+
"library": {
|
|
8
|
+
"label": "Документы"
|
|
9
|
+
},
|
|
10
|
+
"person_identity": {
|
|
11
|
+
"label": "Идентичность",
|
|
12
|
+
"fields": {
|
|
13
|
+
"nationality": "Гражданство",
|
|
14
|
+
"variants": "Варианты (языки)"
|
|
15
|
+
},
|
|
16
|
+
"variants": {
|
|
17
|
+
"lang": "Язык",
|
|
18
|
+
"name": "Имя",
|
|
19
|
+
"surname": "Фамилия"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"personal_document": {
|
|
23
|
+
"label": "Документ",
|
|
24
|
+
"fields": {
|
|
25
|
+
"about": "Описание",
|
|
26
|
+
"surname": "Фамилия",
|
|
27
|
+
"given_names": "Имя и отчество",
|
|
28
|
+
"sex": "Пол",
|
|
29
|
+
"birth_date": "Дата рождения",
|
|
30
|
+
"nationality": "Гражданство",
|
|
31
|
+
"number": "Номер документа",
|
|
32
|
+
"record_no": "Запись №",
|
|
33
|
+
"issued": "Выдан",
|
|
34
|
+
"expires": "Действителен до",
|
|
35
|
+
"authority": "Кем выдан",
|
|
36
|
+
"storage": "Место хранения",
|
|
37
|
+
"mrz": "MRZ (строка)",
|
|
38
|
+
"owner": "Владелец",
|
|
39
|
+
"photos": "Другие фото",
|
|
40
|
+
"notes": "Заметки",
|
|
41
|
+
"tags": "Теги"
|
|
42
|
+
},
|
|
43
|
+
"options": {
|
|
44
|
+
"sex": {
|
|
45
|
+
"M": "Мужской",
|
|
46
|
+
"F": "Женский"
|
|
47
|
+
},
|
|
48
|
+
"type": {
|
|
49
|
+
"P": "Паспорт",
|
|
50
|
+
"PA": "Паспорт (биометрический)",
|
|
51
|
+
"TP": "Временная защита",
|
|
52
|
+
"ID": "ID-карта",
|
|
53
|
+
"DL": "Водительское удостоверение",
|
|
54
|
+
"BR": "Свидетельство о рождении",
|
|
55
|
+
"MC": "Медицинская карта / полис",
|
|
56
|
+
"OT": "Другое"
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
package/locales/uk.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"documents": {
|
|
3
|
+
"plugin": {
|
|
4
|
+
"label": "Документи",
|
|
5
|
+
"description": "Особисті документи та ідентичність."
|
|
6
|
+
},
|
|
7
|
+
"library": {
|
|
8
|
+
"label": "Документи"
|
|
9
|
+
},
|
|
10
|
+
"person_identity": {
|
|
11
|
+
"label": "Ідентичність",
|
|
12
|
+
"fields": {
|
|
13
|
+
"nationality": "Громадянство",
|
|
14
|
+
"variants": "Варіанти (мови)"
|
|
15
|
+
},
|
|
16
|
+
"variants": {
|
|
17
|
+
"lang": "Мова",
|
|
18
|
+
"name": "Ім'я",
|
|
19
|
+
"surname": "Прізвище"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"personal_document": {
|
|
23
|
+
"label": "Документ",
|
|
24
|
+
"fields": {
|
|
25
|
+
"about": "Опис",
|
|
26
|
+
"surname": "Прізвище",
|
|
27
|
+
"given_names": "Ім'я та по батькові",
|
|
28
|
+
"sex": "Стать",
|
|
29
|
+
"birth_date": "Дата народження",
|
|
30
|
+
"nationality": "Громадянство",
|
|
31
|
+
"number": "Номер документа",
|
|
32
|
+
"record_no": "Запис №",
|
|
33
|
+
"issued": "Виданий",
|
|
34
|
+
"expires": "Дійсний до",
|
|
35
|
+
"authority": "Ким виданий",
|
|
36
|
+
"storage": "Де зберігається",
|
|
37
|
+
"mrz": "MRZ (машиночитаємий рядок)",
|
|
38
|
+
"owner": "Власник",
|
|
39
|
+
"photos": "Інші фото",
|
|
40
|
+
"notes": "Нотатки",
|
|
41
|
+
"tags": "Теги"
|
|
42
|
+
},
|
|
43
|
+
"options": {
|
|
44
|
+
"sex": {
|
|
45
|
+
"M": "Чоловіча",
|
|
46
|
+
"F": "Жіноча"
|
|
47
|
+
},
|
|
48
|
+
"type": {
|
|
49
|
+
"P": "Паспорт",
|
|
50
|
+
"PA": "Паспорт (біометричний)",
|
|
51
|
+
"TP": "Тимчасовий захист",
|
|
52
|
+
"ID": "ID-картка",
|
|
53
|
+
"DL": "Посвідчення водія",
|
|
54
|
+
"BR": "Свідоцтво про народження",
|
|
55
|
+
"MC": "Медична картка / полюс",
|
|
56
|
+
"OT": "Інше"
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coffer-org/plugin-documents",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=24"
|
|
7
7
|
},
|
|
8
8
|
"files": [
|
|
9
9
|
"dist",
|
|
10
|
-
"seed"
|
|
10
|
+
"seed",
|
|
11
|
+
"locales"
|
|
11
12
|
],
|
|
12
13
|
"exports": {
|
|
13
14
|
".": {
|
|
@@ -25,11 +26,12 @@
|
|
|
25
26
|
"postpack": "node ../../scripts/swap-exports.mjs src"
|
|
26
27
|
},
|
|
27
28
|
"dependencies": {
|
|
28
|
-
"@coffer-org/plugin-people": "^
|
|
29
|
-
"@coffer-org/sdk": "^
|
|
30
|
-
"@coffer-org/server": "^
|
|
29
|
+
"@coffer-org/plugin-people": "^4.0.0",
|
|
30
|
+
"@coffer-org/sdk": "^4.0.0",
|
|
31
|
+
"@coffer-org/server": "^4.0.0"
|
|
31
32
|
},
|
|
32
33
|
"coffer": {
|
|
34
|
+
"runtime": "node",
|
|
33
35
|
"schema": "dist/schema.js"
|
|
34
36
|
}
|
|
35
37
|
}
|