@things-factory/organization 10.1.37 → 10.1.39
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-client/component/approval-line-items-editor-popup.d.ts +1 -0
- package/dist-client/component/approval-line-items-editor-popup.js +6 -8
- package/dist-client/component/approval-line-items-editor-popup.js.map +1 -1
- package/dist-client/component/approval-line-items-editor.d.ts +3 -0
- package/dist-client/component/approval-line-items-editor.js +31 -3
- package/dist-client/component/approval-line-items-editor.js.map +1 -1
- package/dist-client/component/approval-line-selector.d.ts +1 -0
- package/dist-client/component/approval-line-selector.js +6 -8
- package/dist-client/component/approval-line-selector.js.map +1 -1
- package/dist-client/component/assignees-editor-popup.d.ts +1 -0
- package/dist-client/component/assignees-editor-popup.js +6 -8
- package/dist-client/component/assignees-editor-popup.js.map +1 -1
- package/dist-client/component/copy-from.d.ts +13 -0
- package/dist-client/component/copy-from.js +16 -0
- package/dist-client/component/copy-from.js.map +1 -0
- package/dist-client/component/department-selector.d.ts +1 -0
- package/dist-client/component/department-selector.js +6 -8
- package/dist-client/component/department-selector.js.map +1 -1
- package/dist-client/component/popup-actions-row.test.d.ts +1 -0
- package/dist-client/component/popup-actions-row.test.js +42 -0
- package/dist-client/component/popup-actions-row.test.js.map +1 -0
- package/dist-client/component/recipients-editor-popup.d.ts +1 -0
- package/dist-client/component/recipients-editor-popup.js +6 -8
- package/dist-client/component/recipients-editor-popup.js.map +1 -1
- package/dist-client/route.d.ts +1 -1
- package/dist-client/tsconfig.tsbuildinfo +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +6 -6
- package/tests/copy-from.test.ts +17 -0
- package/translations/en.json +0 -1
- package/translations/ja.json +0 -1
- package/translations/ko.json +0 -1
- package/translations/ms.json +0 -1
- package/translations/zh.json +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/organization",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.39",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "dist-client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
"@operato/p13n": "^10.0.0",
|
|
37
37
|
"@operato/popup": "^10.15.0",
|
|
38
38
|
"@operato/shell": "^10.0.0",
|
|
39
|
-
"@things-factory/auth-base": "^10.1.
|
|
40
|
-
"@things-factory/code-ui": "^10.1.
|
|
41
|
-
"@things-factory/contact": "^10.1.
|
|
42
|
-
"@things-factory/shell": "^10.1.
|
|
39
|
+
"@things-factory/auth-base": "^10.1.39",
|
|
40
|
+
"@things-factory/code-ui": "^10.1.39",
|
|
41
|
+
"@things-factory/contact": "^10.1.39",
|
|
42
|
+
"@things-factory/shell": "^10.1.39"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "fe5257ad8995fe7e79275e287f36e95b5fd32d1c"
|
|
45
45
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { offersCopyFrom } from '../client/component/copy-from'
|
|
2
|
+
|
|
3
|
+
describe('the approval line editor offers "copy from" only when there is something to copy', () => {
|
|
4
|
+
it('saved lines: the button stands', () => {
|
|
5
|
+
expect(offersCopyFrom(1)).toBe(true)
|
|
6
|
+
expect(offersCopyFrom(12)).toBe(true)
|
|
7
|
+
})
|
|
8
|
+
|
|
9
|
+
it('none saved: no button, so no empty window', () => {
|
|
10
|
+
expect(offersCopyFrom(0)).toBe(false)
|
|
11
|
+
})
|
|
12
|
+
|
|
13
|
+
it('not counted yet, or the count failed: no button', () => {
|
|
14
|
+
expect(offersCopyFrom(undefined)).toBe(false)
|
|
15
|
+
expect(offersCopyFrom(null)).toBe(false)
|
|
16
|
+
})
|
|
17
|
+
})
|
package/translations/en.json
CHANGED
|
@@ -72,7 +72,6 @@
|
|
|
72
72
|
"text.notify-immediately": "as soon as submitted",
|
|
73
73
|
"text.saved": "saved",
|
|
74
74
|
"title.approval-line": "approval lines",
|
|
75
|
-
"title.approval-line editor": "approval line editor",
|
|
76
75
|
"title.approval-line item list": "approval line item list",
|
|
77
76
|
"title.approval-line template list": "approval line template list",
|
|
78
77
|
"title.assignee list": "assignee list",
|
package/translations/ja.json
CHANGED
|
@@ -72,7 +72,6 @@
|
|
|
72
72
|
"text.notify-immediately": "申請直後",
|
|
73
73
|
"text.saved": "保存しました",
|
|
74
74
|
"title.approval-line": "決裁ライン",
|
|
75
|
-
"title.approval-line editor": "決裁ライン編集",
|
|
76
75
|
"title.approval-line item list": "決裁ライン詳細",
|
|
77
76
|
"title.approval-line template list": "決裁ライン テンプレート リスト",
|
|
78
77
|
"title.assignee list": "譲渡人リスト",
|
package/translations/ko.json
CHANGED
|
@@ -72,7 +72,6 @@
|
|
|
72
72
|
"text.notify-immediately": "상신 즉시",
|
|
73
73
|
"text.saved": "저장했습니다",
|
|
74
74
|
"title.approval-line": "결재선",
|
|
75
|
-
"title.approval-line editor": "결재선 편집",
|
|
76
75
|
"title.approval-line item list": "결재선 상세",
|
|
77
76
|
"title.approval-line template list": "결재선 목록",
|
|
78
77
|
"title.assignee list": "할당자 목록",
|
package/translations/ms.json
CHANGED
|
@@ -72,7 +72,6 @@
|
|
|
72
72
|
"text.notify-immediately": "sebaik dihantar",
|
|
73
73
|
"text.saved": "disimpan",
|
|
74
74
|
"title.approval-line": "talian kelulusan",
|
|
75
|
-
"title.approval-line editor": "editor garis kelulusan",
|
|
76
75
|
"title.approval-line item list": "senarai item garis kelulusan",
|
|
77
76
|
"title.approval-line template list": "senarai templat garis kelulusan",
|
|
78
77
|
"title.assignee list": "senarai penerima tugasan",
|
package/translations/zh.json
CHANGED
|
@@ -72,7 +72,6 @@
|
|
|
72
72
|
"text.notify-immediately": "提交后立即",
|
|
73
73
|
"text.saved": "已保存",
|
|
74
74
|
"title.approval-line": "审批线",
|
|
75
|
-
"title.approval-line editor": "审批线编辑器",
|
|
76
75
|
"title.approval-line item list": "审批线项目列表",
|
|
77
76
|
"title.approval-line template list": "审批线模板列表",
|
|
78
77
|
"title.assignee list": "受托人列表",
|