@things-factory/figure-ui 10.1.6 → 10.1.8
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/graphql/index.ts +25 -0
- package/client/modeller/figure-animations.ts +769 -0
- package/client/modeller/figure-ask.ts +6 -1
- package/client/modeller/figure-history-panel.ts +52 -1
- package/client/modeller/figure-inspector.ts +520 -120
- package/client/modeller/figure-side.ts +65 -17
- package/client/modeller/proposal-session.ts +92 -0
- package/client/pages/figure-list-page.ts +56 -4
- package/client/pages/figure-modeller-page.ts +204 -179
- package/client/types.ts +39 -0
- package/client/viewparts/figure-thumb.ts +78 -0
- package/dist-client/graphql/index.d.ts +3 -1
- package/dist-client/graphql/index.js +22 -0
- package/dist-client/graphql/index.js.map +1 -1
- package/dist-client/modeller/figure-animations.d.ts +96 -0
- package/dist-client/modeller/figure-animations.js +708 -0
- package/dist-client/modeller/figure-animations.js.map +1 -0
- package/dist-client/modeller/figure-ask.d.ts +3 -0
- package/dist-client/modeller/figure-ask.js +9 -0
- package/dist-client/modeller/figure-ask.js.map +1 -1
- package/dist-client/modeller/figure-history-panel.d.ts +7 -0
- package/dist-client/modeller/figure-history-panel.js +50 -0
- package/dist-client/modeller/figure-history-panel.js.map +1 -1
- package/dist-client/modeller/figure-inspector.d.ts +17 -0
- package/dist-client/modeller/figure-inspector.js +506 -107
- package/dist-client/modeller/figure-inspector.js.map +1 -1
- package/dist-client/modeller/figure-side.d.ts +23 -0
- package/dist-client/modeller/figure-side.js +68 -16
- package/dist-client/modeller/figure-side.js.map +1 -1
- package/dist-client/modeller/proposal-session.d.ts +23 -0
- package/dist-client/modeller/proposal-session.js +65 -0
- package/dist-client/modeller/proposal-session.js.map +1 -0
- package/dist-client/pages/figure-list-page.d.ts +10 -0
- package/dist-client/pages/figure-list-page.js +55 -4
- package/dist-client/pages/figure-list-page.js.map +1 -1
- package/dist-client/pages/figure-modeller-page.d.ts +50 -28
- package/dist-client/pages/figure-modeller-page.js +197 -176
- package/dist-client/pages/figure-modeller-page.js.map +1 -1
- package/dist-client/tsconfig.tsbuildinfo +1 -1
- package/dist-client/types.d.ts +44 -0
- package/dist-client/types.js.map +1 -1
- package/dist-client/viewparts/figure-thumb.js +74 -0
- package/dist-client/viewparts/figure-thumb.js.map +1 -1
- package/package.json +4 -5
- package/test/ai-proposal-contract.test.ts +169 -0
- package/test/i18n-prefix-guard.test.ts +42 -0
- package/translations/en.json +82 -6
- package/translations/ja.json +34 -1
- package/translations/ko.json +92 -6
- package/translations/ms.json +34 -1
- package/translations/zh.json +34 -1
package/translations/ms.json
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"figure.button.ask": "ask",
|
|
3
|
+
"figure.label.candidate-review": "candidate review",
|
|
4
|
+
"figure.text.proposal-feedback-note": "Optional note for the next suggestion (this session only)",
|
|
5
|
+
"figure.text.proposal-feedback-placeholder": "e.g. keep the silhouette, but make the port easier to read",
|
|
6
|
+
"figure.text.tools-explained": "Use alignment after setting position, size, and rotation. From left: centre X, centre Z, put on floor, mirror X, mirror Z, and snap to grid. Hover an icon to confirm its action.",
|
|
7
|
+
"figure.text.palette-purpose-explained": "Choose the visual role this part plays, not an implementation color name.",
|
|
3
8
|
"figure.button.attach-a-picture": "image",
|
|
4
9
|
"figure.button.center-x": "centre X",
|
|
5
10
|
"figure.button.center-z": "centre Z",
|
|
@@ -26,6 +31,20 @@
|
|
|
26
31
|
"figure.label.anchor-aspect-y": "membesar hanya sebanyak paksi y (kekalkan nisbah)",
|
|
27
32
|
"figure.label.anchor-aspect-z": "membesar hanya sebanyak paksi z (kekalkan nisbah)",
|
|
28
33
|
"figure.label.anchor-auto": "automatik ({rule})",
|
|
34
|
+
"figure.label.anchor-advanced": "advanced proportional sizing",
|
|
35
|
+
"figure.label.anchor-choice-auto": "automatic",
|
|
36
|
+
"figure.label.anchor-choice-aspect-x": "keep X ratio",
|
|
37
|
+
"figure.label.anchor-choice-aspect-y": "keep Y ratio",
|
|
38
|
+
"figure.label.anchor-choice-aspect-z": "keep Z ratio",
|
|
39
|
+
"figure.label.anchor-choice-center": "stay centred",
|
|
40
|
+
"figure.label.anchor-choice-max-x": "right face",
|
|
41
|
+
"figure.label.anchor-choice-max-y": "upper face",
|
|
42
|
+
"figure.label.anchor-choice-max-z": "front face",
|
|
43
|
+
"figure.label.anchor-choice-min-x": "left face",
|
|
44
|
+
"figure.label.anchor-choice-min-y": "lower face",
|
|
45
|
+
"figure.label.anchor-choice-min-z": "back face",
|
|
46
|
+
"figure.label.anchor-choice-scale": "grow together",
|
|
47
|
+
"figure.label.anchor-choice-span": "fill both faces",
|
|
29
48
|
"figure.label.anchor-center": "kekal di tengah, saiz tidak berubah",
|
|
30
49
|
"figure.label.anchor-max": "melekat pada permukaan atas",
|
|
31
50
|
"figure.label.anchor-max-x": "melekat pada permukaan kanan",
|
|
@@ -107,6 +126,18 @@
|
|
|
107
126
|
"figure.label.now": "current",
|
|
108
127
|
"figure.label.on-by-default": "on by default",
|
|
109
128
|
"figure.label.palette-token": "palette token",
|
|
129
|
+
"figure.label.palette-role": "color role",
|
|
130
|
+
"figure.label.palette-purpose-accent": "accent part · handles and covers that must stand out",
|
|
131
|
+
"figure.label.palette-purpose-danger": "danger signal · an error or stop indicator",
|
|
132
|
+
"figure.label.palette-purpose-dark": "frame and shadow · dark structure and edges",
|
|
133
|
+
"figure.label.palette-purpose-info": "information signal · an operating-information indicator",
|
|
134
|
+
"figure.label.palette-purpose-light": "light face · light housings and label surrounds",
|
|
135
|
+
"figure.label.palette-purpose-neutral": "neutral machine face · supporting structures and machine parts",
|
|
136
|
+
"figure.label.palette-purpose-primary": "main body · the largest equipment housing",
|
|
137
|
+
"figure.label.palette-purpose-registered": "registered palette color",
|
|
138
|
+
"figure.label.palette-purpose-success": "normal signal · a normal-operation indicator",
|
|
139
|
+
"figure.label.palette-purpose-surface": "surface and background · broad background faces",
|
|
140
|
+
"figure.label.palette-purpose-warning": "warning signal · an attention-needed indicator",
|
|
110
141
|
"figure.label.part": "part",
|
|
111
142
|
"figure.label.part-material": "material",
|
|
112
143
|
"figure.label.part-position": "position (centre)",
|
|
@@ -194,6 +225,7 @@
|
|
|
194
225
|
"figure.text.expand-parts-pane": "expand the part list",
|
|
195
226
|
"figure.text.expand-properties-pane": "expand the property pane",
|
|
196
227
|
"figure.text.figure-display-name": "display name",
|
|
228
|
+
"figure.text.find-by-this-tag": "find by this tag",
|
|
197
229
|
"figure.text.fits-n-instances": "up to {n}",
|
|
198
230
|
"figure.text.floor-explained": "overlaps the coordinate ground, so usually off",
|
|
199
231
|
"figure.text.follow-camera-explained": "turn off to fix the shadow direction",
|
|
@@ -235,6 +267,7 @@
|
|
|
235
267
|
"figure.text.nothing-released-yet": "belum ada versi diterbitkan. penerbitan menyimpan figura seperti sekarang sebagai satu versi.",
|
|
236
268
|
"figure.text.on-by-default-explained": "the starting state when placed on a board. an instance switching it wins.",
|
|
237
269
|
"figure.text.other-segment-count": "enter a value",
|
|
270
|
+
"figure.text.more-segment-options": "advanced segment counts",
|
|
238
271
|
"figure.text.part-limit-reached": "the detail level allows no more parts — raise the level or remove a part.",
|
|
239
272
|
"figure.text.part-limit-reached-short": "level {level} allows {limit} parts. Raise the level or remove a part.",
|
|
240
273
|
"figure.text.pick-a-shape-above-to-start": "pick a shape above to add the first part.",
|
|
@@ -253,7 +286,7 @@
|
|
|
253
286
|
"figure.text.revert-to-version-confirm": "kembali ke v{version}? apa yang sedang anda kerjakan akan digantikan dengan versi itu.",
|
|
254
287
|
"figure.text.save-the-figure-before-releasing": "figura ini belum disimpan. simpan dahulu untuk menerbitkannya.",
|
|
255
288
|
"figure.text.saving-figure": "saving",
|
|
256
|
-
"figure.text.search-figure
|
|
289
|
+
"figure.text.search-figure": "search by name, type, description, category or tag",
|
|
257
290
|
"figure.text.select-a-part-to-edit": "select a part to edit it here.",
|
|
258
291
|
"figure.text.show-all-parts": "show all",
|
|
259
292
|
"figure.text.show-this-part": "show this part again",
|
package/translations/zh.json
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"figure.button.ask": "ask",
|
|
3
|
+
"figure.label.candidate-review": "candidate review",
|
|
4
|
+
"figure.text.proposal-feedback-note": "Optional note for the next suggestion (this session only)",
|
|
5
|
+
"figure.text.proposal-feedback-placeholder": "e.g. keep the silhouette, but make the port easier to read",
|
|
6
|
+
"figure.text.tools-explained": "Use alignment after setting position, size, and rotation. From left: centre X, centre Z, put on floor, mirror X, mirror Z, and snap to grid. Hover an icon to confirm its action.",
|
|
7
|
+
"figure.text.palette-purpose-explained": "Choose the visual role this part plays, not an implementation color name.",
|
|
3
8
|
"figure.button.attach-a-picture": "image",
|
|
4
9
|
"figure.button.center-x": "centre X",
|
|
5
10
|
"figure.button.center-z": "centre Z",
|
|
@@ -26,6 +31,20 @@
|
|
|
26
31
|
"figure.label.anchor-aspect-y": "只按 y 轴变大的比例变大 (保持比例)",
|
|
27
32
|
"figure.label.anchor-aspect-z": "只按 z 轴变大的比例变大 (保持比例)",
|
|
28
33
|
"figure.label.anchor-auto": "自动 ({rule})",
|
|
34
|
+
"figure.label.anchor-advanced": "advanced proportional sizing",
|
|
35
|
+
"figure.label.anchor-choice-auto": "automatic",
|
|
36
|
+
"figure.label.anchor-choice-aspect-x": "keep X ratio",
|
|
37
|
+
"figure.label.anchor-choice-aspect-y": "keep Y ratio",
|
|
38
|
+
"figure.label.anchor-choice-aspect-z": "keep Z ratio",
|
|
39
|
+
"figure.label.anchor-choice-center": "stay centred",
|
|
40
|
+
"figure.label.anchor-choice-max-x": "right face",
|
|
41
|
+
"figure.label.anchor-choice-max-y": "upper face",
|
|
42
|
+
"figure.label.anchor-choice-max-z": "front face",
|
|
43
|
+
"figure.label.anchor-choice-min-x": "left face",
|
|
44
|
+
"figure.label.anchor-choice-min-y": "lower face",
|
|
45
|
+
"figure.label.anchor-choice-min-z": "back face",
|
|
46
|
+
"figure.label.anchor-choice-scale": "grow together",
|
|
47
|
+
"figure.label.anchor-choice-span": "fill both faces",
|
|
29
48
|
"figure.label.anchor-center": "留在中间,尺寸不变",
|
|
30
49
|
"figure.label.anchor-max": "贴在较大一侧的面",
|
|
31
50
|
"figure.label.anchor-max-x": "贴在右面",
|
|
@@ -107,6 +126,18 @@
|
|
|
107
126
|
"figure.label.now": "current",
|
|
108
127
|
"figure.label.on-by-default": "on by default",
|
|
109
128
|
"figure.label.palette-token": "palette token",
|
|
129
|
+
"figure.label.palette-role": "color role",
|
|
130
|
+
"figure.label.palette-purpose-accent": "accent part · handles and covers that must stand out",
|
|
131
|
+
"figure.label.palette-purpose-danger": "danger signal · an error or stop indicator",
|
|
132
|
+
"figure.label.palette-purpose-dark": "frame and shadow · dark structure and edges",
|
|
133
|
+
"figure.label.palette-purpose-info": "information signal · an operating-information indicator",
|
|
134
|
+
"figure.label.palette-purpose-light": "light face · light housings and label surrounds",
|
|
135
|
+
"figure.label.palette-purpose-neutral": "neutral machine face · supporting structures and machine parts",
|
|
136
|
+
"figure.label.palette-purpose-primary": "main body · the largest equipment housing",
|
|
137
|
+
"figure.label.palette-purpose-registered": "registered palette color",
|
|
138
|
+
"figure.label.palette-purpose-success": "normal signal · a normal-operation indicator",
|
|
139
|
+
"figure.label.palette-purpose-surface": "surface and background · broad background faces",
|
|
140
|
+
"figure.label.palette-purpose-warning": "warning signal · an attention-needed indicator",
|
|
110
141
|
"figure.label.part": "part",
|
|
111
142
|
"figure.label.part-material": "material",
|
|
112
143
|
"figure.label.part-position": "position (centre)",
|
|
@@ -194,6 +225,7 @@
|
|
|
194
225
|
"figure.text.expand-parts-pane": "expand the part list",
|
|
195
226
|
"figure.text.expand-properties-pane": "expand the property pane",
|
|
196
227
|
"figure.text.figure-display-name": "display name",
|
|
228
|
+
"figure.text.find-by-this-tag": "find by this tag",
|
|
197
229
|
"figure.text.fits-n-instances": "up to {n}",
|
|
198
230
|
"figure.text.floor-explained": "overlaps the coordinate ground, so usually off",
|
|
199
231
|
"figure.text.follow-camera-explained": "turn off to fix the shadow direction",
|
|
@@ -235,6 +267,7 @@
|
|
|
235
267
|
"figure.text.nothing-released-yet": "还没有发布过。发布后会把当前的图形保留为一个版本。",
|
|
236
268
|
"figure.text.on-by-default-explained": "the starting state when placed on a board. an instance switching it wins.",
|
|
237
269
|
"figure.text.other-segment-count": "enter a value",
|
|
270
|
+
"figure.text.more-segment-options": "advanced segment counts",
|
|
238
271
|
"figure.text.part-limit-reached": "the detail level allows no more parts — raise the level or remove a part.",
|
|
239
272
|
"figure.text.part-limit-reached-short": "level {level} allows {limit} parts. Raise the level or remove a part.",
|
|
240
273
|
"figure.text.pick-a-shape-above-to-start": "pick a shape above to add the first part.",
|
|
@@ -253,7 +286,7 @@
|
|
|
253
286
|
"figure.text.revert-to-version-confirm": "回退到第{version}版?当前正在编辑的内容会被该版本替换。",
|
|
254
287
|
"figure.text.save-the-figure-before-releasing": "尚未保存。保存后即可发布。",
|
|
255
288
|
"figure.text.saving-figure": "saving",
|
|
256
|
-
"figure.text.search-figure
|
|
289
|
+
"figure.text.search-figure": "search by name, type, description, category or tag",
|
|
257
290
|
"figure.text.select-a-part-to-edit": "select a part to edit it here.",
|
|
258
291
|
"figure.text.show-all-parts": "show all",
|
|
259
292
|
"figure.text.show-this-part": "show this part again",
|