@pie-players/pie-default-tool-loaders 1.0.0-beta.5 → 1.0.0-beta.7

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.
@@ -43,6 +43,10 @@ export interface AfaPnpRecord {
43
43
  language?: string;
44
44
  [setting: string]: unknown;
45
45
  };
46
+ "item-translation"?: {
47
+ language?: string;
48
+ [setting: string]: unknown;
49
+ };
46
50
  /** One selection: the amount for all content, or for text and non-text apart. */
47
51
  magnification?: {
48
52
  "all-content"?: AfaZoomAmount;
@@ -118,6 +118,10 @@ export function createPersonalNeedsProfileFromAfa(record) {
118
118
  if (typeof signLang === "string" && signLang.length > 0) {
119
119
  toolParameters.signLanguage = { signLang };
120
120
  }
121
+ const translationLang = record["item-translation"]?.language;
122
+ if (typeof translationLang === "string" && translationLang.length > 0) {
123
+ toolParameters.itemTranslation = { language: translationLang };
124
+ }
121
125
  const zoom = magnifierZoom(record.magnification);
122
126
  if (zoom !== undefined && zoom > 1) {
123
127
  toolParameters.magnification = { zoom };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-players/pie-default-tool-loaders",
3
- "version": "1.0.0-beta.5",
3
+ "version": "1.0.0-beta.7",
4
4
  "type": "module",
5
5
  "description": "Composition layer for the packaged PIE assessment tools: registrations, tag map, placement preset, universal and empty profiles, and lazy module loaders",
6
6
  "repository": {
@@ -33,29 +33,29 @@
33
33
  "test": "bun test"
34
34
  },
35
35
  "dependencies": {
36
- "@pie-players/pie-assessment-toolkit": "1.0.0-beta.5",
37
- "@pie-players/pie-calculator": "1.0.0-beta.5",
38
- "@pie-players/pie-calculator-desmos": "1.0.0-beta.5",
39
- "@pie-players/pie-calculator-geogebra": "1.0.0-beta.5",
40
- "@pie-players/pie-players-shared": "1.0.0-beta.5",
41
- "@pie-players/pie-tool-annotation-toolbar": "1.0.0-beta.5",
42
- "@pie-players/pie-tool-answer-eliminator": "1.0.0-beta.5",
43
- "@pie-players/pie-tool-calculator-shared": "1.0.0-beta.5",
44
- "@pie-players/pie-tool-dictionary": "1.0.0-beta.5",
45
- "@pie-players/pie-tool-graph": "1.0.0-beta.5",
46
- "@pie-players/pie-tool-line-reader": "1.0.0-beta.5",
47
- "@pie-players/pie-tool-magnifier": "1.0.0-beta.5",
48
- "@pie-players/pie-tool-periodic-table": "1.0.0-beta.5",
49
- "@pie-players/pie-tool-picture-dictionary": "1.0.0-beta.5",
50
- "@pie-players/pie-tool-protractor": "1.0.0-beta.5",
51
- "@pie-players/pie-tool-ruler": "1.0.0-beta.5",
52
- "@pie-players/pie-tool-theme": "1.0.0-beta.5",
53
- "@pie-players/pie-tool-tts-inline": "1.0.0-beta.5",
54
- "@pie-players/tts-client-server": "1.0.0-beta.5"
36
+ "@pie-players/pie-assessment-toolkit": "1.0.0-beta.7",
37
+ "@pie-players/pie-calculator": "1.0.0-beta.7",
38
+ "@pie-players/pie-calculator-desmos": "1.0.0-beta.7",
39
+ "@pie-players/pie-calculator-geogebra": "1.0.0-beta.7",
40
+ "@pie-players/pie-players-shared": "1.0.0-beta.7",
41
+ "@pie-players/pie-tool-annotation-toolbar": "1.0.0-beta.7",
42
+ "@pie-players/pie-tool-answer-eliminator": "1.0.0-beta.7",
43
+ "@pie-players/pie-tool-calculator-shared": "1.0.0-beta.7",
44
+ "@pie-players/pie-tool-dictionary": "1.0.0-beta.7",
45
+ "@pie-players/pie-tool-graph": "1.0.0-beta.7",
46
+ "@pie-players/pie-tool-line-reader": "1.0.0-beta.7",
47
+ "@pie-players/pie-tool-magnifier": "1.0.0-beta.7",
48
+ "@pie-players/pie-tool-periodic-table": "1.0.0-beta.7",
49
+ "@pie-players/pie-tool-picture-dictionary": "1.0.0-beta.7",
50
+ "@pie-players/pie-tool-protractor": "1.0.0-beta.7",
51
+ "@pie-players/pie-tool-ruler": "1.0.0-beta.7",
52
+ "@pie-players/pie-tool-theme": "1.0.0-beta.7",
53
+ "@pie-players/pie-tool-tts-inline": "1.0.0-beta.7",
54
+ "@pie-players/tts-client-server": "1.0.0-beta.7"
55
55
  },
56
56
  "devDependencies": {
57
- "@biomejs/biome": "^2.5.15",
58
- "@happy-dom/global-registrator": "^20.14.5",
57
+ "@biomejs/biome": "^2.6.2",
58
+ "@happy-dom/global-registrator": "^21.0.4",
59
59
  "typescript": "^5.9.3"
60
60
  },
61
61
  "homepage": "https://github.com/pie-framework/pie-players/tree/master/packages/default-tool-loaders#readme",