@things-factory/organization 6.0.27 → 6.0.28
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/client/bootstrap.ts +7 -3
- package/client/component/approval-line-items-editor-popup.ts +1 -1
- package/client/component/approval-line-items-editor.ts +1 -1
- package/client/component/approval-line-templates-/bmanager.ts +1 -1
- package/client/component/approval-line-view.ts +1 -1
- package/client/component/assignees-editor-popup.ts +1 -1
- package/client/component/assignees-editor.ts +1 -1
- package/client/component/assignees-view.ts +1 -1
- package/client/component/department-selector.ts +1 -1
- package/client/grist-editor/grist-editor-approval-line.ts +76 -0
- package/client/grist-editor/grist-editor-assignees.ts +73 -0
- package/client/index.ts +1 -0
- package/client/pages/department/department-list-page.ts +1 -1
- package/client/{model → types}/approval-line.ts +1 -3
- package/client/{model → types}/contact.ts +1 -2
- package/client/{model → types}/department.ts +1 -2
- package/client/{model → types}/employee.ts +1 -2
- package/client/types/index.ts +5 -0
- package/dist-client/bootstrap.d.ts +0 -1
- package/dist-client/bootstrap.js +7 -2
- package/dist-client/bootstrap.js.map +1 -1
- package/dist-client/component/approval-line-items-editor-popup.d.ts +1 -1
- package/dist-client/component/approval-line-items-editor-popup.js.map +1 -1
- package/dist-client/component/approval-line-items-editor.d.ts +1 -1
- package/dist-client/component/approval-line-items-editor.js.map +1 -1
- package/dist-client/component/approval-line-templates-/bmanager.d.ts +1 -1
- package/dist-client/component/approval-line-templates-/bmanager.js +1 -1
- package/dist-client/component/approval-line-templates-/bmanager.js.map +1 -1
- package/dist-client/component/approval-line-view.d.ts +1 -1
- package/dist-client/component/approval-line-view.js.map +1 -1
- package/dist-client/component/assignees-editor-popup.d.ts +1 -1
- package/dist-client/component/assignees-editor-popup.js.map +1 -1
- package/dist-client/component/assignees-editor.d.ts +1 -1
- package/dist-client/component/assignees-editor.js.map +1 -1
- package/dist-client/component/assignees-view.d.ts +1 -1
- package/dist-client/component/assignees-view.js.map +1 -1
- package/dist-client/component/department-selector.d.ts +1 -1
- package/dist-client/component/department-selector.js +1 -1
- package/dist-client/component/department-selector.js.map +1 -1
- package/dist-client/grist-editor/grist-editor-approval-line.d.ts +11 -0
- package/dist-client/grist-editor/grist-editor-approval-line.js +64 -0
- package/dist-client/grist-editor/grist-editor-approval-line.js.map +1 -0
- package/dist-client/grist-editor/grist-editor-assignees.d.ts +11 -0
- package/dist-client/grist-editor/grist-editor-assignees.js +61 -0
- package/dist-client/grist-editor/grist-editor-assignees.js.map +1 -0
- package/dist-client/index.d.ts +1 -0
- package/dist-client/index.js +1 -0
- package/dist-client/index.js.map +1 -1
- package/dist-client/pages/department/department-list-page.d.ts +1 -1
- package/dist-client/pages/department/department-list-page.js +1 -1
- package/dist-client/pages/department/department-list-page.js.map +1 -1
- package/dist-client/pages/main.d.ts +1 -0
- package/dist-client/pages/main.js +27 -0
- package/dist-client/pages/main.js.map +1 -0
- package/dist-client/tsconfig.tsbuildinfo +1 -1
- package/dist-client/types/approval-line.d.ts +32 -0
- package/dist-client/types/approval-line.js +10 -0
- package/dist-client/types/approval-line.js.map +1 -0
- package/dist-client/types/contact.d.ts +43 -0
- package/dist-client/types/contact.js +21 -0
- package/dist-client/types/contact.js.map +1 -0
- package/dist-client/types/department.d.ts +25 -0
- package/dist-client/types/department.js +8 -0
- package/dist-client/types/department.js.map +1 -0
- package/dist-client/types/employee.d.ts +38 -0
- package/dist-client/types/employee.js +17 -0
- package/dist-client/types/employee.js.map +1 -0
- package/dist-client/types/index.d.ts +5 -0
- package/dist-client/types/index.js +6 -0
- package/dist-client/types/index.js.map +1 -0
- package/dist-client/types/org-member.d.ts +19 -0
- package/dist-client/types/org-member.js +14 -0
- package/dist-client/types/org-member.js.map +1 -0
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/translations/en.json +2 -0
- package/translations/ko.json +2 -0
- package/translations/ms.json +2 -0
- package/translations/zh.json +2 -0
- package/client/model/domain.ts +0 -22
- package/client/model/privilege.ts +0 -28
- package/client/model/role.ts +0 -33
- package/client/model/user.ts +0 -23
- /package/client/{model → types}/org-member.ts +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/organization",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.28",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "dist-client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"@operato/data-tree": "^1.0.0",
|
|
31
31
|
"@operato/graphql": "^1.0.0",
|
|
32
32
|
"@operato/shell": "^1.0.0",
|
|
33
|
-
"@things-factory/auth-base": "^6.0.
|
|
34
|
-
"@things-factory/contact": "^6.0.
|
|
35
|
-
"@things-factory/shell": "^6.0.
|
|
33
|
+
"@things-factory/auth-base": "^6.0.28",
|
|
34
|
+
"@things-factory/contact": "^6.0.28",
|
|
35
|
+
"@things-factory/shell": "^6.0.28"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "8b4e03229444e38fc3f3487227a96837eef85099"
|
|
38
38
|
}
|
package/translations/en.json
CHANGED
|
@@ -12,9 +12,11 @@
|
|
|
12
12
|
"label.manager": "manager",
|
|
13
13
|
"label.note": "note",
|
|
14
14
|
"label.picture": "picture",
|
|
15
|
+
"title.approval-line editor": "approval line editor",
|
|
15
16
|
"title.approval-line item list": "approval line item list",
|
|
16
17
|
"title.approval-line template list": "approval line template list",
|
|
17
18
|
"title.assignee list": "assignee list",
|
|
19
|
+
"title.assignees editor": "assignee editor",
|
|
18
20
|
"title.common-approval-line template list": "common approval line template list",
|
|
19
21
|
"title.my-approval-line template list": "my approval line template list",
|
|
20
22
|
"title.employee list": "employee list",
|
package/translations/ko.json
CHANGED
|
@@ -12,9 +12,11 @@
|
|
|
12
12
|
"label.manager": "관리자",
|
|
13
13
|
"label.note": "노트",
|
|
14
14
|
"label.picture": "사진",
|
|
15
|
+
"title.approval-line editor": "결재라인 편집",
|
|
15
16
|
"title.approval-line item list": "결재라인 상세",
|
|
16
17
|
"title.approval-line template list": "결재라인 템플릿 목록",
|
|
17
18
|
"title.assignee list": "할당자 목록",
|
|
19
|
+
"title.assignees editor": "할당자 목록 편집",
|
|
18
20
|
"title.common-approval-line template list": "공통 결재라인 템플릿 목록",
|
|
19
21
|
"title.my-approval-line template list": "나의 결재라인 템플릿 목록",
|
|
20
22
|
"title.employee list": "직원 목록",
|
package/translations/ms.json
CHANGED
|
@@ -12,9 +12,11 @@
|
|
|
12
12
|
"label.manager": "manager",
|
|
13
13
|
"label.note": "note",
|
|
14
14
|
"label.picture": "picture",
|
|
15
|
+
"title.approval-line editor": "approval line editor",
|
|
15
16
|
"title.approval-line item list": "approval line item list",
|
|
16
17
|
"title.approval-line template list": "approval line template list",
|
|
17
18
|
"title.assignee list": "assignee list",
|
|
19
|
+
"title.assignees editor": "assignee editor",
|
|
18
20
|
"title.common-approval-line template list": "common approval line template list",
|
|
19
21
|
"title.my-approval-line template list": "my approval line template list",
|
|
20
22
|
"title.employee list": "employee list",
|
package/translations/zh.json
CHANGED
|
@@ -12,9 +12,11 @@
|
|
|
12
12
|
"label.manager": "manager",
|
|
13
13
|
"label.note": "note",
|
|
14
14
|
"label.picture": "picture",
|
|
15
|
+
"title.approval-line editor": "approval line editor",
|
|
15
16
|
"title.approval-line item list": "approval line item list",
|
|
16
17
|
"title.approval-line template list": "approval line template list",
|
|
17
18
|
"title.assignee list": "assignee list",
|
|
19
|
+
"title.assignees editor": "assignee editor",
|
|
18
20
|
"title.common-approval-line template list": "common approval line template list",
|
|
19
21
|
"title.my-approval-line template list": "my approval line template list",
|
|
20
22
|
"title.employee list": "employee list",
|
package/client/model/domain.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export class Domain {
|
|
2
|
-
readonly id?: string
|
|
3
|
-
|
|
4
|
-
name?: string
|
|
5
|
-
description?: string
|
|
6
|
-
|
|
7
|
-
subdomain?: string
|
|
8
|
-
|
|
9
|
-
extType?: string
|
|
10
|
-
timezone?: string
|
|
11
|
-
systemFlag?: boolean
|
|
12
|
-
|
|
13
|
-
brandName?: string
|
|
14
|
-
brandImage?: string
|
|
15
|
-
contentImage?: string
|
|
16
|
-
|
|
17
|
-
owner?: string
|
|
18
|
-
theme?: string
|
|
19
|
-
|
|
20
|
-
createdAt?: Date
|
|
21
|
-
updatedAt?: Date
|
|
22
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Role } from './role'
|
|
2
|
-
import { User } from './user'
|
|
3
|
-
|
|
4
|
-
export class Privilege {
|
|
5
|
-
id?: string
|
|
6
|
-
|
|
7
|
-
name?: string
|
|
8
|
-
|
|
9
|
-
category?: string
|
|
10
|
-
|
|
11
|
-
nullable?: true
|
|
12
|
-
|
|
13
|
-
description?: string
|
|
14
|
-
|
|
15
|
-
roles?: Role[]
|
|
16
|
-
|
|
17
|
-
creator?: User
|
|
18
|
-
|
|
19
|
-
creatorId?: string
|
|
20
|
-
|
|
21
|
-
updater?: User
|
|
22
|
-
|
|
23
|
-
updaterId?: string
|
|
24
|
-
|
|
25
|
-
createdAt?: Date
|
|
26
|
-
|
|
27
|
-
updatedAt?: Date
|
|
28
|
-
}
|
package/client/model/role.ts
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Domain } from './domain'
|
|
2
|
-
import { User } from './user'
|
|
3
|
-
import { Privilege } from './privilege'
|
|
4
|
-
|
|
5
|
-
export class Role {
|
|
6
|
-
readonly id?: string
|
|
7
|
-
|
|
8
|
-
domain?: Domain
|
|
9
|
-
|
|
10
|
-
domainId?: string
|
|
11
|
-
|
|
12
|
-
name?: string
|
|
13
|
-
|
|
14
|
-
users?: User[]
|
|
15
|
-
|
|
16
|
-
privileges?: Privilege[]
|
|
17
|
-
|
|
18
|
-
nullable?: true
|
|
19
|
-
|
|
20
|
-
description?: string
|
|
21
|
-
|
|
22
|
-
creator?: User
|
|
23
|
-
|
|
24
|
-
creatorId?: string
|
|
25
|
-
|
|
26
|
-
updater?: User
|
|
27
|
-
|
|
28
|
-
updaterId?: string
|
|
29
|
-
|
|
30
|
-
createdAt?: Date
|
|
31
|
-
|
|
32
|
-
updatedAt?: Date
|
|
33
|
-
}
|
package/client/model/user.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export enum UserStatus {
|
|
2
|
-
INACTIVE = 'inactive',
|
|
3
|
-
ACTIVATED = 'activated',
|
|
4
|
-
DELETED = 'deleted',
|
|
5
|
-
LOCKED = 'locked',
|
|
6
|
-
BANNED = 'banned',
|
|
7
|
-
PWD_RESET_REQUIRED = 'password_reset_required'
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export class User {
|
|
11
|
-
readonly id?: string
|
|
12
|
-
|
|
13
|
-
name?: string
|
|
14
|
-
description?: string
|
|
15
|
-
|
|
16
|
-
email?: string
|
|
17
|
-
|
|
18
|
-
creator?: User
|
|
19
|
-
updater?: User
|
|
20
|
-
|
|
21
|
-
createdAt?: Date
|
|
22
|
-
updatedAt?: Date
|
|
23
|
-
}
|
|
File without changes
|