@pie-players/pie-assessment-toolkit 0.3.66 → 0.3.68
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 +1 -1
- package/dist/attempt/AssessmentSession.d.ts +7 -27
- package/dist/components/ItemToolBar.custom-element.js +1 -1
- package/dist/components/PieAssessmentToolkit.custom-element.js +13 -13
- package/dist/components/SectionToolBar.custom-element.js +1 -1
- package/dist/components/chunks/ItemToolBar-38mhtjsq.js +51 -0
- package/dist/components/chunks/ItemToolBar-9ymm7pd1.js +46 -0
- package/dist/components/item-toolbar-element.js +1 -0
- package/dist/components/pie-assessment-toolkit-element.js +1 -0
- package/dist/components/section-toolbar-element.js +1 -0
- package/dist/context/assessment-toolkit-context.d.ts +28 -0
- package/dist/index.d.ts +8 -3
- package/dist/index.js +5 -2
- package/dist/policy/core/ToolPolicyEngine.d.ts +12 -0
- package/dist/policy/core/ToolPolicyEngine.js +28 -2
- package/dist/policy/core/feature-decision.d.ts +28 -2
- package/dist/policy/core/feature-decision.js +35 -0
- package/dist/policy/engine.d.ts +1 -1
- package/dist/policy/engine.js +1 -0
- package/dist/runtime/SectionRuntimeEngine.d.ts +56 -0
- package/dist/runtime/SectionRuntimeEngine.js +66 -1
- package/dist/runtime/core/engine-resolver.d.ts +25 -1
- package/dist/runtime/registration-events.d.ts +52 -0
- package/dist/runtime/registration-events.js +2 -0
- package/dist/services/AccessibilityCatalogResolver.js +21 -5
- package/dist/services/I18nService.d.ts +28 -100
- package/dist/services/I18nService.js +43 -233
- package/dist/services/TTSService.d.ts +12 -0
- package/dist/services/TTSService.js +18 -17
- package/dist/services/ToolRegistry.d.ts +86 -2
- package/dist/services/ToolRegistry.js +30 -0
- package/dist/services/ToolkitCoordinator.d.ts +39 -37
- package/dist/services/ToolkitCoordinator.js +40 -0
- package/dist/services/audio-handoff.d.ts +39 -0
- package/dist/services/audio-handoff.js +58 -0
- package/dist/services/catalog-media.d.ts +35 -4
- package/dist/services/catalog-media.js +92 -3
- package/dist/services/framework-error.d.ts +15 -1
- package/dist/services/interfaces.d.ts +28 -0
- package/dist/services/pnp-standard-features.d.ts +1 -1
- package/dist/services/section-controller-types.d.ts +218 -7
- package/dist/services/selection-action.d.ts +49 -0
- package/dist/services/selection-action.js +10 -0
- package/dist/services/spoken-audio-cards.js +5 -1
- package/dist/services/tool-context.d.ts +6 -5
- package/dist/services/tool-context.js +197 -152
- package/dist/services/tool-icons.d.ts +18 -0
- package/dist/services/tool-icons.js +31 -0
- package/dist/services/tool-providers/DesmosToolProvider.d.ts +6 -5
- package/dist/services/tool-request.d.ts +106 -0
- package/dist/services/tool-request.js +127 -0
- package/dist/services/toolbar-items.d.ts +6 -0
- package/dist/tools/client.d.ts +0 -1
- package/dist/tools/client.js +0 -2
- package/dist/tools/content-capability-resolution.d.ts +106 -0
- package/dist/tools/content-capability-resolution.js +136 -0
- package/dist/tools/internal.d.ts +8 -0
- package/dist/tools/internal.js +8 -0
- package/dist/tools/tool-surface-host.d.ts +57 -0
- package/dist/tools/tool-surface-host.js +610 -0
- package/package.json +14 -10
- package/dist/components/chunks/ItemToolBar-8jgdz50p.js +0 -51
- package/dist/components/chunks/ItemToolBar-cvs646j3.js +0 -36
- package/dist/tools/calculators/desmos-provider.d.ts +0 -46
- package/dist/tools/calculators/desmos-provider.js +0 -393
package/README.md
CHANGED
|
@@ -1486,7 +1486,7 @@ The toolkit enforces a clear separation between ephemeral tool state and persist
|
|
|
1486
1486
|
"answerEliminator": {
|
|
1487
1487
|
"eliminatedChoices": ["choice-b", "choice-d"]
|
|
1488
1488
|
},
|
|
1489
|
-
"
|
|
1489
|
+
"annotationToolbar": {
|
|
1490
1490
|
"annotations": [...]
|
|
1491
1491
|
}
|
|
1492
1492
|
}
|
|
@@ -1,31 +1,11 @@
|
|
|
1
|
-
import type { SectionControllerSessionState } from "
|
|
1
|
+
import type { AssessmentSession, AssessmentSectionSessionState, AssessmentSessionNavigationState, AssessmentSessionRealization, SectionControllerSessionState } from "@pie-players/pie-players-shared/types";
|
|
2
2
|
import type { StorageLike } from "./TestSession.js";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export
|
|
9
|
-
seed: string;
|
|
10
|
-
sectionIdentifiers: string[];
|
|
11
|
-
}
|
|
12
|
-
export interface AssessmentSectionSessionState {
|
|
13
|
-
sectionIdentifier: string;
|
|
14
|
-
updatedAt: string;
|
|
15
|
-
session: SectionControllerSessionState | null;
|
|
16
|
-
}
|
|
17
|
-
export interface AssessmentSession {
|
|
18
|
-
version: 1;
|
|
19
|
-
assessmentAttemptSessionIdentifier: string;
|
|
20
|
-
assessmentId: string;
|
|
21
|
-
startedAt: string;
|
|
22
|
-
updatedAt: string;
|
|
23
|
-
completedAt?: string;
|
|
24
|
-
navigationState: AssessmentSessionNavigationState;
|
|
25
|
-
realization: AssessmentSessionRealization;
|
|
26
|
-
sectionSessions: Record<string, AssessmentSectionSessionState>;
|
|
27
|
-
contextVariables?: Record<string, unknown>;
|
|
28
|
-
}
|
|
3
|
+
/**
|
|
4
|
+
* Re-exported so every existing import site keeps its specifier. These shapes are
|
|
5
|
+
* canonical in `@pie-players/pie-players-shared/types`; this module owns the
|
|
6
|
+
* storage helpers over them, not the shapes.
|
|
7
|
+
*/
|
|
8
|
+
export type { AssessmentSession, AssessmentSectionSessionState, AssessmentSessionNavigationState, AssessmentSessionRealization, };
|
|
29
9
|
export declare function getAssessmentSessionStorageKey(assessmentAttemptSessionIdentifier: string): string;
|
|
30
10
|
export declare function loadAssessmentSession(storage: StorageLike, assessmentAttemptSessionIdentifier: string): AssessmentSession | null;
|
|
31
11
|
export declare function saveAssessmentSession(storage: StorageLike, session: AssessmentSession): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunks/ItemToolBar-
|
|
1
|
+
import{a}from"./chunks/ItemToolBar-9ymm7pd1.js";import"./chunks/ItemToolBar-38mhtjsq.js";export{a as default};
|