@pie-players/pie-assessment-toolkit 0.3.57 → 0.3.59
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 +4 -0
- package/dist/components/ItemToolBar.custom-element.js +461 -1082
- package/dist/components/PieAssessmentToolkit.custom-element.js +10 -1
- package/dist/components/SectionToolBar.custom-element.js +459 -1080
- package/dist/context/assessment-toolkit-context.d.ts +7 -0
- package/dist/context/assessment-toolkit-context.js.map +1 -1
- package/dist/runtime/core/engine-resolver.d.ts +16 -0
- package/dist/runtime/core/engine-resolver.js.map +1 -1
- package/package.json +7 -7
- package/dist/components/vendor/nds/README.md +0 -110
- package/dist/components/vendor/nds/nds-icon-button.js +0 -826
|
@@ -28750,7 +28750,7 @@ function PieAssessmentToolkit($$anchor, $$props) {
|
|
|
28750
28750
|
preloaded: "pie-item-player",
|
|
28751
28751
|
custom: ""
|
|
28752
28752
|
};
|
|
28753
|
-
let assessmentId = prop($$props, "assessmentId", 7, ""), section = prop($$props, "section", 7, null), sectionId = prop($$props, "sectionId", 7, ""), attemptId = prop($$props, "attemptId", 7, ""), env = prop($$props, "env", 23, () => ({})), lazyInit = prop($$props, "lazyInit", 7, true), toolConfigStrictness = prop($$props, "toolConfigStrictness", 7, "error"), tools = prop($$props, "tools", 23, () => ({})), toolContextResolvers = prop($$props, "toolContextResolvers", 7, null), enabledTools = prop($$props, "enabledTools", 7, ""), toolRegistry = prop($$props, "toolRegistry", 7, null), accessibility = prop($$props, "accessibility", 23, () => ({})), player = prop($$props, "player", 7, null), playerType = prop($$props, "playerType", 7, ""), coordinator = prop($$props, "coordinator", 7, null), createSectionController = prop($$props, "createSectionController", 7, null), onFrameworkError = prop($$props, "onFrameworkError", 7, null), errorRenderer = prop($$props, "errorRenderer", 7, null), onStageChange = prop($$props, "onStageChange", 7, null), assessment = prop($$props, "assessment", 7, null), currentItemRef = prop($$props, "currentItemRef", 7, null), pnpEnforcement = prop($$props, "pnpEnforcement", 7, null), isolation = prop($$props, "isolation", 7, "inherit");
|
|
28753
|
+
let assessmentId = prop($$props, "assessmentId", 7, ""), section = prop($$props, "section", 7, null), sectionId = prop($$props, "sectionId", 7, ""), attemptId = prop($$props, "attemptId", 7, ""), env = prop($$props, "env", 23, () => ({})), ndsIcons = prop($$props, "ndsIcons", 7, false), lazyInit = prop($$props, "lazyInit", 7, true), toolConfigStrictness = prop($$props, "toolConfigStrictness", 7, "error"), tools = prop($$props, "tools", 23, () => ({})), toolContextResolvers = prop($$props, "toolContextResolvers", 7, null), enabledTools = prop($$props, "enabledTools", 7, ""), toolRegistry = prop($$props, "toolRegistry", 7, null), accessibility = prop($$props, "accessibility", 23, () => ({})), player = prop($$props, "player", 7, null), playerType = prop($$props, "playerType", 7, ""), coordinator = prop($$props, "coordinator", 7, null), createSectionController = prop($$props, "createSectionController", 7, null), onFrameworkError = prop($$props, "onFrameworkError", 7, null), errorRenderer = prop($$props, "errorRenderer", 7, null), onStageChange = prop($$props, "onStageChange", 7, null), assessment = prop($$props, "assessment", 7, null), currentItemRef = prop($$props, "currentItemRef", 7, null), pnpEnforcement = prop($$props, "pnpEnforcement", 7, null), isolation = prop($$props, "isolation", 7, "inherit");
|
|
28754
28754
|
let anchor = state(null);
|
|
28755
28755
|
let ownedCoordinator = state(null);
|
|
28756
28756
|
let inheritedRuntime = state(null);
|
|
@@ -29162,6 +29162,7 @@ function PieAssessmentToolkit($$anchor, $$props) {
|
|
|
29162
29162
|
assessmentId: get2(effectiveAssessmentId),
|
|
29163
29163
|
sectionId: get2(effectiveSectionId),
|
|
29164
29164
|
itemPlayer: get2(effectiveItemPlayer),
|
|
29165
|
+
ndsIcons: ndsIcons() === true,
|
|
29165
29166
|
reportSessionChanged: (itemId, detail) => {
|
|
29166
29167
|
const result = sectionEngine.updateItemSession(itemId, detail);
|
|
29167
29168
|
emitNormalizedSessionChanged({ itemId, result, fallbackSession: detail });
|
|
@@ -29764,6 +29765,13 @@ function PieAssessmentToolkit($$anchor, $$props) {
|
|
|
29764
29765
|
env($$value);
|
|
29765
29766
|
flushSync();
|
|
29766
29767
|
},
|
|
29768
|
+
get ndsIcons() {
|
|
29769
|
+
return ndsIcons();
|
|
29770
|
+
},
|
|
29771
|
+
set ndsIcons($$value) {
|
|
29772
|
+
ndsIcons($$value);
|
|
29773
|
+
flushSync();
|
|
29774
|
+
},
|
|
29767
29775
|
get lazyInit() {
|
|
29768
29776
|
return lazyInit();
|
|
29769
29777
|
},
|
|
@@ -29938,6 +29946,7 @@ __pieDefineSafely("pie-assessment-toolkit", create_custom_element(PieAssessmentT
|
|
|
29938
29946
|
sectionId: { attribute: "section-id", type: "String" },
|
|
29939
29947
|
attemptId: { attribute: "attempt-id", type: "String" },
|
|
29940
29948
|
env: { attribute: "env", type: "Object" },
|
|
29949
|
+
ndsIcons: { attribute: "nds-icons", type: "Boolean" },
|
|
29941
29950
|
lazyInit: { attribute: "lazy-init", type: "Boolean" },
|
|
29942
29951
|
toolConfigStrictness: { attribute: "tool-config-strictness", type: "String" },
|
|
29943
29952
|
tools: { attribute: "tools", type: "Object" },
|