@pie-players/pie-preloaded-player 0.3.71-d73a3d3.1 → 0.3.72-963a099.1

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @pie-players/pie-preloaded-player
2
2
 
3
- Version: `0.3.71-d73a3d3.1`
3
+ Version: `0.3.72-963a099.1`
4
4
 
5
5
  Pre-bundled PIE item-player package with static element versions for production use.
6
6
 
@@ -10,24 +10,25 @@ Pre-bundled PIE item-player package with static element versions for production
10
10
 
11
11
  | Package | Version |
12
12
  | --- | --- |
13
- | `@pie-element/categorize` | `13.2.2` |
14
- | `@pie-element/drag-in-the-blank` | `10.2.3` |
15
- | `@pie-element/hotspot` | `11.3.2` |
16
- | `@pie-element/image-cloze-association` | `10.3.1` |
17
- | `@pie-element/mc-populated-blank` | `0.3.0-next.8` |
18
- | `@pie-element/multiple-choice` | `13.4.2` |
13
+ | `@pie-element/categorize` | `11.3.2` |
14
+ | `@pie-element/drag-in-the-blank` | `8.3.2` |
15
+ | `@pie-element/ebsr` | `12.3.3` |
16
+ | `@pie-element/hotspot` | `9.3.2` |
17
+ | `@pie-element/image-cloze-association` | `8.3.2` |
18
+ | `@pie-element/multiple-choice` | `11.4.3` |
19
+ | `@pie-element/passage` | `5.3.3` |
19
20
 
20
21
  ## Package metadata
21
22
 
22
- - Version: `0.3.71-d73a3d3.1`
23
- - Bundle hash: `d73a3d3`
24
- - Loader version: `0.3.71`
23
+ - Version: `0.3.72-963a099.1`
24
+ - Bundle hash: `963a099`
25
+ - Loader version: `0.3.72`
25
26
  - Iteration: `1`
26
27
 
27
28
  ## Installation
28
29
 
29
30
  ```bash
30
- npm install @pie-players/pie-preloaded-player@0.3.71-d73a3d3.1
31
+ npm install @pie-players/pie-preloaded-player@0.3.72-963a099.1
31
32
  ```
32
33
 
33
34
  ## Usage
@@ -39,7 +40,7 @@ npm install @pie-players/pie-preloaded-player@0.3.71-d73a3d3.1
39
40
 
40
41
  <pie-item-player
41
42
  strategy="preloaded"
42
- config='{"elements":{"pie-element-categorize":"@pie-element/categorize@13.2.2"},"models":[{"id":"1","element":"pie-element-categorize"}],"markup":"<pie-element-categorize id=\"1\"></pie-element-categorize>"}'
43
+ config='{"elements":{"pie-element-categorize":"@pie-element/categorize@11.3.2"},"models":[{"id":"1","element":"pie-element-categorize"}],"markup":"<pie-element-categorize id=\"1\"></pie-element-categorize>"}'
43
44
  env='{"mode":"gather","role":"student"}'
44
45
  session='{"id":"session-1","data":[]}'
45
46
  ></pie-item-player>
package/dist/index.js CHANGED
@@ -1,12 +1,13 @@
1
1
  // Auto-generated entry point for pie-preloaded-player
2
2
  await (async function initializePieItemPlayerStatic() {
3
3
  const preloadedElements = {
4
- "@pie-element/categorize": "@pie-element/categorize@13.2.2",
5
- "@pie-element/drag-in-the-blank": "@pie-element/drag-in-the-blank@10.2.3",
6
- "@pie-element/hotspot": "@pie-element/hotspot@11.3.2",
7
- "@pie-element/image-cloze-association": "@pie-element/image-cloze-association@10.3.1",
8
- "@pie-element/multiple-choice": "@pie-element/multiple-choice@13.4.2",
9
- "@pie-element/mc-populated-blank": "@pie-element/mc-populated-blank@0.3.0-next.8"
4
+ "@pie-element/categorize": "@pie-element/categorize@11.3.2",
5
+ "@pie-element/drag-in-the-blank": "@pie-element/drag-in-the-blank@8.3.2",
6
+ "@pie-element/hotspot": "@pie-element/hotspot@9.3.2",
7
+ "@pie-element/image-cloze-association": "@pie-element/image-cloze-association@8.3.2",
8
+ "@pie-element/multiple-choice": "@pie-element/multiple-choice@11.4.3",
9
+ "@pie-element/passage": "@pie-element/passage@5.3.3",
10
+ "@pie-element/ebsr": "@pie-element/ebsr@12.3.3"
10
11
  };
11
12
  if (typeof window !== 'undefined') {
12
13
  const existing = window.PIE_PRELOADED_ELEMENTS || {};
@@ -36,7 +37,7 @@ await (async function initializePieItemPlayerStatic() {
36
37
  throw new Error('[pie-preloaded-player] window.pie.default missing after bundle load');
37
38
  }
38
39
  const registry = window.PIE_REGISTRY ?? (window.PIE_REGISTRY = {});
39
- for (const [packageName, tagName] of [["@pie-element/categorize","pie-element-categorize--version-13-2-2"],["@pie-element/drag-in-the-blank","drag-in-the-blank--version-10-2-3"],["@pie-element/hotspot","hotspot--version-11-3-2"],["@pie-element/image-cloze-association","image-cloze-association--version-10-3-1"],["@pie-element/multiple-choice","pie-element-multiple-choice--version-13-4-2"],["@pie-element/mc-populated-blank","mc-populated-blank--version-0-3-0-next-8"]]) {
40
+ for (const [packageName, tagName] of [["@pie-element/categorize","pie-element-categorize--version-11-3-2"],["@pie-element/drag-in-the-blank","drag-in-the-blank--version-8-3-2"],["@pie-element/hotspot","hotspot--version-9-3-2"],["@pie-element/image-cloze-association","image-cloze-association--version-8-3-2"],["@pie-element/multiple-choice","pie-element-multiple-choice--version-11-4-3"],["@pie-element/passage","pie-element-passage--version-5-3-3"],["@pie-element/ebsr","pie-esbr--version-12-3-3"]]) {
40
41
  const elementData = pieModule[packageName];
41
42
  if (!elementData || !elementData.Element) {
42
43
  throw new Error('[pie-preloaded-player] No element class found in bundle for ' + packageName);
@@ -67,7 +68,7 @@ await (async function initializePieItemPlayerStatic() {
67
68
  window['@pie-lib/math-rendering'] = mathRenderingModule._dll_pie_lib__math_rendering;
68
69
  window['_dll_pie_lib__math_rendering'] = mathRenderingModule._dll_pie_lib__math_rendering;
69
70
  }
70
- await importWithRetry('./pie-elements-bundle-d73a3d3.js', 4, 200);
71
+ await importWithRetry('./pie-elements-bundle-963a099.js', 4, 200);
71
72
  registerPreloadedElements();
72
73
  await importWithRetry('./pie-item-player.js', 4, 200);
73
74
  } catch (error) {