@things-factory/shell 10.1.44 → 10.1.46
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/shell",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.46",
|
|
4
4
|
"description": "Core module for framework",
|
|
5
5
|
"bin": {
|
|
6
6
|
"things-factory": "bin/things-factory",
|
|
@@ -126,5 +126,5 @@
|
|
|
126
126
|
"pg": "^8.7.3",
|
|
127
127
|
"sqlite3": "^5.0.8"
|
|
128
128
|
},
|
|
129
|
-
"gitHead": "
|
|
129
|
+
"gitHead": "d3467cde550453f3348fed0ed6c79a12a6ba0db4"
|
|
130
130
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { readFileSync } from 'fs'
|
|
2
|
+
import path from 'path'
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* The generator's list page does not stamp colours nothing uses.
|
|
6
|
+
*
|
|
7
|
+
* The template set `--grid-record-emphasized-background-color: #8B0000` and a `#FF6B6B` text on every
|
|
8
|
+
* generated list page. Emphasis only happens through a grid `classifier`, and the template has none,
|
|
9
|
+
* so 64 of the 66 pages that carry the pair never emphasize a row - and the two that declare a
|
|
10
|
+
* classifier leave it empty [확인함 2026-09-24]. The pair was also a contrast failure waiting to
|
|
11
|
+
* happen (about 3.6:1 against WCAG AA's 4.5) and ignored the dark theme. A page that does emphasize
|
|
12
|
+
* rows chooses its colours from the theme where it needs them.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
const TEMPLATE = path.resolve(
|
|
16
|
+
__dirname,
|
|
17
|
+
'../../generator/templates/service/client/pages/entity/{{name}}-list-page.ts.hbs'
|
|
18
|
+
)
|
|
19
|
+
|
|
20
|
+
describe("the generator's list page template", () => {
|
|
21
|
+
it('★ stamps no emphasized-row colours', () => {
|
|
22
|
+
expect(readFileSync(TEMPLATE, 'utf-8')).not.toMatch(/--grid-record-emphasized-(background-)?color\s*:/)
|
|
23
|
+
})
|
|
24
|
+
})
|
package/translations/en.json
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"button.add": "Add",
|
|
3
|
+
"button.back": "back",
|
|
3
4
|
"button.cancel": "cancel",
|
|
4
5
|
"button.close": "Close",
|
|
6
|
+
"button.collapse": "collapse",
|
|
5
7
|
"button.confirm": "confirm",
|
|
6
8
|
"button.copy": "copy",
|
|
7
9
|
"button.copy to draft": "copy to draft",
|
|
@@ -12,6 +14,7 @@
|
|
|
12
14
|
"button.edit": "edit",
|
|
13
15
|
"button.edit-contact": "edit contact",
|
|
14
16
|
"button.empty": "empty",
|
|
17
|
+
"button.expand": "expand",
|
|
15
18
|
"button.export": "export",
|
|
16
19
|
"button.refresh": "refresh",
|
|
17
20
|
"button.register": "register",
|
|
@@ -109,6 +112,7 @@
|
|
|
109
112
|
"label.platform": "platform",
|
|
110
113
|
"label.please_select_a_country": "please select a country",
|
|
111
114
|
"label.please_select_a_platform": "please select a platform",
|
|
115
|
+
"label.resize": "resize",
|
|
112
116
|
"label.seconds": "seconds",
|
|
113
117
|
"label.state": "state",
|
|
114
118
|
"label.status": "Status",
|
|
@@ -127,6 +131,7 @@
|
|
|
127
131
|
"text.data_updated_successfully": "data updated successfully",
|
|
128
132
|
"text.data_uploaded_successfully": "data uploaded successfully",
|
|
129
133
|
"text.draft": "draft",
|
|
134
|
+
"text.entity360-not-yet": "there is no 360 for this kind yet.",
|
|
130
135
|
"text.error": "error",
|
|
131
136
|
"text.existing_item_found": "existing item found",
|
|
132
137
|
"text.failed": "failed",
|
package/translations/ja.json
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"button.add": "追加",
|
|
3
|
+
"button.back": "戻る",
|
|
3
4
|
"button.cancel": "キャンセル",
|
|
4
5
|
"button.close": "閉じる",
|
|
6
|
+
"button.collapse": "縮める",
|
|
5
7
|
"button.confirm": "確認",
|
|
6
8
|
"button.copy": "コピー",
|
|
7
9
|
"button.copy to draft": "ドラフトにコピー",
|
|
@@ -12,6 +14,7 @@
|
|
|
12
14
|
"button.edit": "修正",
|
|
13
15
|
"button.edit-contact": "連絡先を編集",
|
|
14
16
|
"button.empty": "空にする",
|
|
17
|
+
"button.expand": "広げる",
|
|
15
18
|
"button.export": "エクスポート",
|
|
16
19
|
"button.refresh": "リロード",
|
|
17
20
|
"button.register": "登録",
|
|
@@ -109,6 +112,7 @@
|
|
|
109
112
|
"label.platform": "プラットフォーム",
|
|
110
113
|
"label.please_select_a_country": "国を選択してください",
|
|
111
114
|
"label.please_select_a_platform": "プラットフォームを選択してください",
|
|
115
|
+
"label.resize": "幅の調整",
|
|
112
116
|
"label.seconds": "秒",
|
|
113
117
|
"label.state": "状態",
|
|
114
118
|
"label.status": "状態",
|
|
@@ -127,6 +131,7 @@
|
|
|
127
131
|
"text.data_updated_successfully": "資料の修正に成功しました.",
|
|
128
132
|
"text.data_uploaded_successfully": "資料が正常に作成されました.",
|
|
129
133
|
"text.draft": "ドラフト保存",
|
|
134
|
+
"text.entity360-not-yet": "この種類の 360 はまだありません。",
|
|
130
135
|
"text.error": "エラー",
|
|
131
136
|
"text.existing_item_found": "既にある項目です",
|
|
132
137
|
"text.failed": "失敗",
|
package/translations/ko.json
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"button.add": "추가",
|
|
3
|
+
"button.back": "뒤로",
|
|
3
4
|
"button.cancel": "취소",
|
|
4
5
|
"button.close": "닫기",
|
|
6
|
+
"button.collapse": "줄이기",
|
|
5
7
|
"button.confirm": "확인",
|
|
6
8
|
"button.copy": "복사",
|
|
7
9
|
"button.copy to draft": "드래프트로 복사",
|
|
@@ -12,6 +14,7 @@
|
|
|
12
14
|
"button.edit": "수정",
|
|
13
15
|
"button.edit-contact": "연락처 편집",
|
|
14
16
|
"button.empty": "비우기",
|
|
17
|
+
"button.expand": "넓히기",
|
|
15
18
|
"button.export": "내보내기",
|
|
16
19
|
"button.refresh": "새로고침",
|
|
17
20
|
"button.register": "등록",
|
|
@@ -109,6 +112,7 @@
|
|
|
109
112
|
"label.platform": "플랫폼",
|
|
110
113
|
"label.please_select_a_country": "국가를 선택하세요",
|
|
111
114
|
"label.please_select_a_platform": "플랫폼을 선택하세요",
|
|
115
|
+
"label.resize": "폭 조절",
|
|
112
116
|
"label.seconds": "초",
|
|
113
117
|
"label.state": "상태",
|
|
114
118
|
"label.status": "상태",
|
|
@@ -127,6 +131,7 @@
|
|
|
127
131
|
"text.data_updated_successfully": "성공적으로 자료를 수정하였습니다.",
|
|
128
132
|
"text.data_uploaded_successfully": "성공적으로 자료를 업로드하였습니다.",
|
|
129
133
|
"text.draft": "초안저장",
|
|
134
|
+
"text.entity360-not-yet": "이 종류의 360 은 아직 없습니다.",
|
|
130
135
|
"text.error": "오류",
|
|
131
136
|
"text.existing_item_found": "이미 있는 항목입니다",
|
|
132
137
|
"text.failed": "실패",
|
package/translations/ms.json
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"button.add": "Tambah",
|
|
3
|
+
"button.back": "kembali",
|
|
3
4
|
"button.cancel": "batal",
|
|
4
5
|
"button.close": "tutup",
|
|
6
|
+
"button.collapse": "kecilkan",
|
|
5
7
|
"button.confirm": "sahkan",
|
|
6
8
|
"button.copy": "salin",
|
|
7
9
|
"button.copy to draft": "salin ke draf",
|
|
@@ -12,6 +14,7 @@
|
|
|
12
14
|
"button.edit": "Edit",
|
|
13
15
|
"button.edit-contact": "edit kenalan",
|
|
14
16
|
"button.empty": "kosongkan",
|
|
17
|
+
"button.expand": "besarkan",
|
|
15
18
|
"button.export": "Eksport",
|
|
16
19
|
"button.refresh": "Segar Semula",
|
|
17
20
|
"button.register": "daftar",
|
|
@@ -109,6 +112,7 @@
|
|
|
109
112
|
"label.platform": "platform",
|
|
110
113
|
"label.please_select_a_country": "please select a country",
|
|
111
114
|
"label.please_select_a_platform": "please select a platform",
|
|
115
|
+
"label.resize": "ubah lebar",
|
|
112
116
|
"label.seconds": "saat",
|
|
113
117
|
"label.state": "negeri",
|
|
114
118
|
"label.status": "Status",
|
|
@@ -127,6 +131,7 @@
|
|
|
127
131
|
"text.data_updated_successfully": "data berjaya dikemaskini",
|
|
128
132
|
"text.data_uploaded_successfully": "data uploaded successfully",
|
|
129
133
|
"text.draft": "draf",
|
|
134
|
+
"text.entity360-not-yet": "belum ada 360 untuk jenis ini.",
|
|
130
135
|
"text.error": "Ralat",
|
|
131
136
|
"text.existing_item_found": "item ini sudah ada",
|
|
132
137
|
"text.failed": "gagal",
|
package/translations/zh.json
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"button.add": "添加",
|
|
3
|
+
"button.back": "返回",
|
|
3
4
|
"button.cancel": "取消",
|
|
4
5
|
"button.close": "关闭",
|
|
6
|
+
"button.collapse": "收起",
|
|
5
7
|
"button.confirm": "确认",
|
|
6
8
|
"button.copy": "复制",
|
|
7
9
|
"button.copy to draft": "复制到草稿",
|
|
@@ -12,6 +14,7 @@
|
|
|
12
14
|
"button.edit": "更改",
|
|
13
15
|
"button.edit-contact": "编辑联系人",
|
|
14
16
|
"button.empty": "清空",
|
|
17
|
+
"button.expand": "展开",
|
|
15
18
|
"button.export": "导出",
|
|
16
19
|
"button.refresh": "刷新",
|
|
17
20
|
"button.register": "注册",
|
|
@@ -109,6 +112,7 @@
|
|
|
109
112
|
"label.platform": "platform",
|
|
110
113
|
"label.please_select_a_country": "please select a country",
|
|
111
114
|
"label.please_select_a_platform": "please select a platform",
|
|
115
|
+
"label.resize": "调整宽度",
|
|
112
116
|
"label.seconds": "秒",
|
|
113
117
|
"label.state": "状态",
|
|
114
118
|
"label.status": "状态",
|
|
@@ -127,6 +131,7 @@
|
|
|
127
131
|
"text.data_updated_successfully": "数据更新成功。",
|
|
128
132
|
"text.data_uploaded_successfully": "数据上传成功。",
|
|
129
133
|
"text.draft": "草稿",
|
|
134
|
+
"text.entity360-not-yet": "此类暂无 360 视图。",
|
|
130
135
|
"text.error": "错误",
|
|
131
136
|
"text.existing_item_found": "该项目已存在",
|
|
132
137
|
"text.failed": "失败",
|