@things-factory/organization 10.1.255 → 10.1.256

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.
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const auth_base_1 = require("@things-factory/auth-base");
4
+ /*
5
+ * The work this module does through its doors that a report of one's week takes in by itself (ADR-0185 decision 6,
6
+ * Q5): The people, departments and shared approval lines kept - not one's own profile or approval lines. Each name is a translation key of this module.
7
+ */
8
+ (0, auth_base_1.registerWorkDoors)([
9
+ { work: 'work.organization.employees', fields: ['createEmployee', 'updateEmployee', 'updateMultipleEmployee', 'deleteEmployee', 'deleteEmployees', 'importEmployees', 'registerEmployeeAsSystemUser', 'updateEmployeePayAccount', 'attachContact', 'detachContact'] },
10
+ { work: 'work.organization.departments', fields: ['createDepartment', 'updateDepartment', 'updateMultipleDepartment', 'deleteDepartment', 'deleteDepartments', 'importDepartments'] },
11
+ { work: 'work.organization.approval-lines', fields: ['createApprovalLine', 'updateApprovalLine', 'updateMultipleApprovalLine', 'deleteApprovalLine', 'deleteApprovalLines', 'importApprovalLines'] }
12
+ ]);
13
+ //# sourceMappingURL=work-doors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"work-doors.js","sourceRoot":"","sources":["../server/work-doors.ts"],"names":[],"mappings":";;AAAA,yDAA6D;AAE7D;;;GAGG;AACH,IAAA,6BAAiB,EAAC;IAChB,EAAE,IAAI,EAAE,6BAA6B,EAAE,MAAM,EAAE,CAAC,gBAAgB,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,8BAA8B,EAAE,0BAA0B,EAAE,eAAe,EAAE,eAAe,CAAC,EAAE;IACrQ,EAAE,IAAI,EAAE,+BAA+B,EAAE,MAAM,EAAE,CAAC,kBAAkB,EAAE,kBAAkB,EAAE,0BAA0B,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,mBAAmB,CAAC,EAAE;IACrL,EAAE,IAAI,EAAE,kCAAkC,EAAE,MAAM,EAAE,CAAC,oBAAoB,EAAE,oBAAoB,EAAE,4BAA4B,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,qBAAqB,CAAC,EAAE;CACrM,CAAC,CAAA","sourcesContent":["import { registerWorkDoors } from '@things-factory/auth-base'\n\n/*\n * The work this module does through its doors that a report of one's week takes in by itself (ADR-0185 decision 6,\n * Q5): The people, departments and shared approval lines kept - not one's own profile or approval lines. Each name is a translation key of this module.\n */\nregisterWorkDoors([\n { work: 'work.organization.employees', fields: ['createEmployee', 'updateEmployee', 'updateMultipleEmployee', 'deleteEmployee', 'deleteEmployees', 'importEmployees', 'registerEmployeeAsSystemUser', 'updateEmployeePayAccount', 'attachContact', 'detachContact'] },\n { work: 'work.organization.departments', fields: ['createDepartment', 'updateDepartment', 'updateMultipleDepartment', 'deleteDepartment', 'deleteDepartments', 'importDepartments'] },\n { work: 'work.organization.approval-lines', fields: ['createApprovalLine', 'updateApprovalLine', 'updateMultipleApprovalLine', 'deleteApprovalLine', 'deleteApprovalLines', 'importApprovalLines'] }\n])\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/organization",
3
- "version": "10.1.255",
3
+ "version": "10.1.256",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -37,12 +37,12 @@
37
37
  "@operato/p13n": "^10.0.0",
38
38
  "@operato/popup": "^10.15.0",
39
39
  "@operato/shell": "^10.0.0",
40
- "@things-factory/auth-base": "^10.1.254",
41
- "@things-factory/code-ui": "^10.1.254",
42
- "@things-factory/contact": "^10.1.255",
43
- "@things-factory/pdf": "^10.1.255",
40
+ "@things-factory/auth-base": "^10.1.256",
41
+ "@things-factory/code-ui": "^10.1.256",
42
+ "@things-factory/contact": "^10.1.256",
43
+ "@things-factory/pdf": "^10.1.256",
44
44
  "@things-factory/shell": "^10.1.254",
45
45
  "exceljs": "4.2.0"
46
46
  },
47
- "gitHead": "634cffb20ea9cf69baeb2f8b49a4bd91b2cf83e3"
47
+ "gitHead": "2fd641697190ce6e87bcf454a60b2321553e8110"
48
48
  }
@@ -206,5 +206,8 @@
206
206
  "error.retired-on-invalid": "The leaving date is a day written as 2026-01-31. Received: {value}",
207
207
  "error.department-parent-not-found": "The parent department chosen is not in this domain. Choose again.",
208
208
  "error.department-parent-loop": "A department cannot be placed under itself or under one of its own sub-departments.",
209
- "error.document-language-not-run": "The application does not run the language {language}."
209
+ "error.document-language-not-run": "The application does not run the language {language}.",
210
+ "work.organization.employees": "Employee records",
211
+ "work.organization.departments": "Departments",
212
+ "work.organization.approval-lines": "Approval lines"
210
213
  }
@@ -206,5 +206,8 @@
206
206
  "error.retired-on-invalid": "La fecha de baja se escribe como 2026-01-31. Recibido: {value}",
207
207
  "error.department-parent-not-found": "El departamento superior elegido no está en este dominio. Elija de nuevo.",
208
208
  "error.department-parent-loop": "Un departamento no puede ir bajo sí mismo ni bajo uno de sus subdepartamentos.",
209
- "error.document-language-not-run": "La aplicación no usa el idioma {language}."
209
+ "error.document-language-not-run": "La aplicación no usa el idioma {language}.",
210
+ "work.organization.employees": "Registros de personal",
211
+ "work.organization.departments": "Departamentos",
212
+ "work.organization.approval-lines": "Líneas de aprobación"
210
213
  }
@@ -206,5 +206,8 @@
206
206
  "error.retired-on-invalid": "退社日は 2026-01-31 のように日付で入力してください。受け取った値: {value}",
207
207
  "error.department-parent-not-found": "上位部署に選んだ部署がこの事業所にありません。選び直してください。",
208
208
  "error.department-parent-loop": "部署を自分自身や自分の下位部署の下に移すことはできません。",
209
- "error.document-language-not-run": "このアプリケーションが使わない言語です: {language}"
209
+ "error.document-language-not-run": "このアプリケーションが使わない言語です: {language}",
210
+ "work.organization.employees": "人事記録の管理",
211
+ "work.organization.departments": "組織の管理",
212
+ "work.organization.approval-lines": "決裁ラインの管理"
210
213
  }
@@ -206,5 +206,8 @@
206
206
  "error.retired-on-invalid": "퇴사일은 2026-01-31 처럼 날짜로 적어 주세요. 받은 값: {value}",
207
207
  "error.department-parent-not-found": "상위 부서로 고른 부서가 이 사업장에 없습니다. 다시 골라 주세요.",
208
208
  "error.department-parent-loop": "부서를 자기 자신이나 자기 하위 부서 아래로 옮길 수 없습니다.",
209
- "error.document-language-not-run": "이 애플리케이션이 쓰지 않는 언어입니다: {language}"
209
+ "error.document-language-not-run": "이 애플리케이션이 쓰지 않는 언어입니다: {language}",
210
+ "work.organization.employees": "인사 기록 관리",
211
+ "work.organization.departments": "조직 관리",
212
+ "work.organization.approval-lines": "결재선 관리"
210
213
  }
@@ -206,5 +206,8 @@
206
206
  "error.retired-on-invalid": "Tarikh berhenti ditulis seperti 2026-01-31. Diterima: {value}",
207
207
  "error.department-parent-not-found": "Jabatan induk yang dipilih tiada dalam domain ini. Pilih semula.",
208
208
  "error.department-parent-loop": "Jabatan tidak boleh diletakkan di bawah dirinya atau sub-jabatannya sendiri.",
209
- "error.document-language-not-run": "Aplikasi ini tidak menggunakan bahasa {language}."
209
+ "error.document-language-not-run": "Aplikasi ini tidak menggunakan bahasa {language}.",
210
+ "work.organization.employees": "Rekod pekerja",
211
+ "work.organization.departments": "Jabatan",
212
+ "work.organization.approval-lines": "Laluan kelulusan"
210
213
  }
@@ -206,5 +206,8 @@
206
206
  "error.retired-on-invalid": "离职日期请按 2026-01-31 的格式填写。收到的值: {value}",
207
207
  "error.department-parent-not-found": "所选上级部门不在此域中。请重新选择。",
208
208
  "error.department-parent-loop": "部门不能放在自身或其下级部门之下。",
209
- "error.document-language-not-run": "此应用不支持该语言: {language}"
209
+ "error.document-language-not-run": "此应用不支持该语言: {language}",
210
+ "work.organization.employees": "人事记录管理",
211
+ "work.organization.departments": "组织管理",
212
+ "work.organization.approval-lines": "审批线管理"
210
213
  }