@pie-qti/default-components 0.1.10 → 0.1.12
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/dist/chunks/__vite-browser-external-Dz5RCjpq.js +9 -0
- package/dist/chunks/__vite-browser-external-Dz5RCjpq.js.map +1 -0
- package/dist/chunks/{mathlive.min-Bvtiaxg4.js → mathlive.min-ClqhKA_b.js} +4199 -3978
- package/dist/chunks/mathlive.min-ClqhKA_b.js.map +1 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -0
- package/dist/plugins/associate/index.d.ts +0 -1
- package/dist/plugins/associate/index.js +1 -0
- package/dist/plugins/associate/index.js.map +1 -0
- package/dist/plugins/choice/index.d.ts +0 -1
- package/dist/plugins/choice/index.js +1 -0
- package/dist/plugins/choice/index.js.map +1 -0
- package/dist/plugins/custom/index.d.ts +0 -1
- package/dist/plugins/custom/index.js +1 -0
- package/dist/plugins/custom/index.js.map +1 -0
- package/dist/plugins/end-attempt/index.d.ts +0 -1
- package/dist/plugins/end-attempt/index.js +1 -0
- package/dist/plugins/end-attempt/index.js.map +1 -0
- package/dist/plugins/extended-text/index.d.ts +0 -1
- package/dist/plugins/extended-text/index.js +1 -0
- package/dist/plugins/extended-text/index.js.map +1 -0
- package/dist/plugins/gap-match/index.d.ts +0 -1
- package/dist/plugins/gap-match/index.js +1 -0
- package/dist/plugins/gap-match/index.js.map +1 -0
- package/dist/plugins/graphic-associate/index.d.ts +0 -1
- package/dist/plugins/graphic-associate/index.js +1 -0
- package/dist/plugins/graphic-associate/index.js.map +1 -0
- package/dist/plugins/graphic-gap-match/index.d.ts +0 -1
- package/dist/plugins/graphic-gap-match/index.js +1 -0
- package/dist/plugins/graphic-gap-match/index.js.map +1 -0
- package/dist/plugins/graphic-order/index.d.ts +0 -1
- package/dist/plugins/graphic-order/index.js +1 -0
- package/dist/plugins/graphic-order/index.js.map +1 -0
- package/dist/plugins/hotspot/index.d.ts +0 -1
- package/dist/plugins/hotspot/index.js +1 -0
- package/dist/plugins/hotspot/index.js.map +1 -0
- package/dist/plugins/hottext/index.d.ts +0 -1
- package/dist/plugins/hottext/index.js +1 -0
- package/dist/plugins/hottext/index.js.map +1 -0
- package/dist/plugins/match/index.d.ts +0 -1
- package/dist/plugins/match/index.js +1 -0
- package/dist/plugins/match/index.js.map +1 -0
- package/dist/plugins/media/index.d.ts +0 -1
- package/dist/plugins/media/index.js +1 -0
- package/dist/plugins/media/index.js.map +1 -0
- package/dist/plugins/order/index.d.ts +0 -1
- package/dist/plugins/order/index.js +1 -0
- package/dist/plugins/order/index.js.map +1 -0
- package/dist/plugins/position-object/index.d.ts +0 -1
- package/dist/plugins/position-object/index.js +1 -0
- package/dist/plugins/position-object/index.js.map +1 -0
- package/dist/plugins/public-types.d.ts +5 -0
- package/dist/plugins/public-types.js +2 -0
- package/dist/plugins/public-types.js.map +1 -0
- package/dist/plugins/select-point/index.d.ts +0 -1
- package/dist/plugins/select-point/index.js +1 -0
- package/dist/plugins/select-point/index.js.map +1 -0
- package/dist/plugins/slider/index.d.ts +0 -1
- package/dist/plugins/slider/index.js +1 -0
- package/dist/plugins/slider/index.js.map +1 -0
- package/dist/plugins.js +27589 -9160
- package/dist/plugins.js.map +1 -1
- package/dist/shared/actions/typesetAction.d.ts +0 -1
- package/dist/shared/actions/typesetAction.js +1 -0
- package/dist/shared/actions/typesetAction.js.map +1 -0
- package/dist/shared/extensions/MathLiveEditor.d.ts +0 -1
- package/dist/shared/extensions/MathLiveEditor.js +1 -0
- package/dist/shared/extensions/MathLiveEditor.js.map +1 -0
- package/dist/shared/index.d.ts +0 -1
- package/dist/shared/index.js +1 -0
- package/dist/shared/index.js.map +1 -0
- package/dist/shared/utils/eventHelpers.d.ts +0 -1
- package/dist/shared/utils/eventHelpers.js +1 -0
- package/dist/shared/utils/eventHelpers.js.map +1 -0
- package/dist/shared/utils/matchGroupUtils.d.ts +0 -1
- package/dist/shared/utils/matchGroupUtils.js +1 -0
- package/dist/shared/utils/matchGroupUtils.js.map +1 -0
- package/dist/shared/utils/pairHelpers.d.ts +0 -1
- package/dist/shared/utils/pairHelpers.js +1 -0
- package/dist/shared/utils/pairHelpers.js.map +1 -0
- package/dist/shared/utils/webComponentHelpers.d.ts +0 -1
- package/dist/shared/utils/webComponentHelpers.js +1 -0
- package/dist/shared/utils/webComponentHelpers.js.map +1 -0
- package/package.json +15 -33
- package/dist/chunks/mathlive.min-Bvtiaxg4.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/plugins/associate/index.d.ts.map +0 -1
- package/dist/plugins/choice/index.d.ts.map +0 -1
- package/dist/plugins/custom/index.d.ts.map +0 -1
- package/dist/plugins/end-attempt/index.d.ts.map +0 -1
- package/dist/plugins/extended-text/index.d.ts.map +0 -1
- package/dist/plugins/gap-match/index.d.ts.map +0 -1
- package/dist/plugins/graphic-associate/index.d.ts.map +0 -1
- package/dist/plugins/graphic-gap-match/index.d.ts.map +0 -1
- package/dist/plugins/graphic-order/index.d.ts.map +0 -1
- package/dist/plugins/hotspot/index.d.ts.map +0 -1
- package/dist/plugins/hottext/index.d.ts.map +0 -1
- package/dist/plugins/index.d.ts +0 -31
- package/dist/plugins/index.d.ts.map +0 -1
- package/dist/plugins/index.js +0 -31
- package/dist/plugins/match/index.d.ts.map +0 -1
- package/dist/plugins/media/index.d.ts.map +0 -1
- package/dist/plugins/order/index.d.ts.map +0 -1
- package/dist/plugins/position-object/index.d.ts.map +0 -1
- package/dist/plugins/select-point/index.d.ts.map +0 -1
- package/dist/plugins/slider/index.d.ts.map +0 -1
- package/dist/shared/actions/typesetAction.d.ts.map +0 -1
- package/dist/shared/extensions/MathLiveEditor.d.ts.map +0 -1
- package/dist/shared/index.d.ts.map +0 -1
- package/dist/shared/utils/eventHelpers.d.ts.map +0 -1
- package/dist/shared/utils/matchGroupUtils.d.ts.map +0 -1
- package/dist/shared/utils/pairHelpers.d.ts.map +0 -1
- package/dist/shared/utils/touchDragHelper.d.ts +0 -2
- package/dist/shared/utils/touchDragHelper.d.ts.map +0 -1
- package/dist/shared/utils/touchDragHelper.js +0 -1
- package/dist/shared/utils/webComponentHelpers.d.ts.map +0 -1
- package/src/catalog/CatalogPopup.svelte +0 -163
- package/src/index.ts +0 -141
- package/src/plugins/associate/AssociateInteraction.svelte +0 -304
- package/src/plugins/associate/index.ts +0 -9
- package/src/plugins/choice/ChoiceInteraction.svelte +0 -355
- package/src/plugins/choice/index.ts +0 -9
- package/src/plugins/custom/CustomInteraction.svelte +0 -61
- package/src/plugins/custom/index.ts +0 -9
- package/src/plugins/drawing/DrawingInteraction.svelte +0 -99
- package/src/plugins/end-attempt/EndAttemptInteraction.svelte +0 -142
- package/src/plugins/end-attempt/index.ts +0 -9
- package/src/plugins/extended-text/ExtendedTextInteraction.svelte +0 -152
- package/src/plugins/extended-text/index.ts +0 -9
- package/src/plugins/gap-match/GapMatchInteraction.svelte +0 -556
- package/src/plugins/gap-match/index.ts +0 -9
- package/src/plugins/graphic-associate/GraphicAssociateInteraction.svelte +0 -503
- package/src/plugins/graphic-associate/index.ts +0 -9
- package/src/plugins/graphic-gap-match/GraphicGapMatchInteraction.svelte +0 -593
- package/src/plugins/graphic-gap-match/index.ts +0 -9
- package/src/plugins/graphic-order/GraphicOrderInteraction.svelte +0 -241
- package/src/plugins/graphic-order/index.ts +0 -9
- package/src/plugins/hotspot/HotspotInteraction.svelte +0 -287
- package/src/plugins/hotspot/index.ts +0 -9
- package/src/plugins/hottext/HottextInteraction.svelte +0 -325
- package/src/plugins/hottext/index.ts +0 -9
- package/src/plugins/index.ts +0 -32
- package/src/plugins/match/MatchInteraction.svelte +0 -82
- package/src/plugins/match/index.ts +0 -9
- package/src/plugins/media/MediaInteraction.svelte +0 -216
- package/src/plugins/media/index.ts +0 -9
- package/src/plugins/order/OrderInteraction.svelte +0 -280
- package/src/plugins/order/index.ts +0 -9
- package/src/plugins/position-object/PositionObjectInteraction.svelte +0 -903
- package/src/plugins/position-object/README.md +0 -130
- package/src/plugins/position-object/index.ts +0 -9
- package/src/plugins/select-point/SelectPointInteraction.svelte +0 -571
- package/src/plugins/select-point/index.ts +0 -9
- package/src/plugins/slider/SliderInteraction.svelte +0 -141
- package/src/plugins/slider/index.ts +0 -9
- package/src/plugins/upload/UploadInteraction.svelte +0 -59
- package/src/shared/actions/typesetAction.ts +0 -87
- package/src/shared/components/CustomInteractionFallback.svelte +0 -153
- package/src/shared/components/DragHandle.svelte +0 -44
- package/src/shared/components/DrawingCanvas.svelte +0 -259
- package/src/shared/components/FileUpload.svelte +0 -158
- package/src/shared/components/GraphicGapMatch.svelte +0 -318
- package/src/shared/components/GraphicGapMatchAdapter.svelte +0 -45
- package/src/shared/components/InlineInteractionRenderer.svelte +0 -141
- package/src/shared/components/MatchDragDrop.svelte +0 -481
- package/src/shared/components/MathContent.svelte +0 -18
- package/src/shared/components/ModalFeedbackDisplay.svelte +0 -91
- package/src/shared/components/RichTextEditor.svelte +0 -316
- package/src/shared/components/ShadowBaseStyles.svelte +0 -390
- package/src/shared/components/SortableList.svelte +0 -297
- package/src/shared/extensions/MathLiveEditor.ts +0 -299
- package/src/shared/index.ts +0 -15
- package/src/shared/styles/shared.css +0 -16
- package/src/shared/utils/eventHelpers.ts +0 -69
- package/src/shared/utils/matchGroupUtils.ts +0 -14
- package/src/shared/utils/pairHelpers.ts +0 -109
- package/src/shared/utils/webComponentHelpers.ts +0 -69
- package/src/svelte-shims.d.ts +0 -9
- /package/{src → dist}/shared/styles/qti-shared-vocabulary.css +0 -0
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,cAAc,mBAAmB,CAAC;AAElC,UAAU,4BAA4B;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,wBAAwB;IACjC,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,4BAA4B,GAAG,IAAI,CAAC;CACtE;AAoGD,wBAAgB,wBAAwB,IAAI,MAAM,EAAE,CAEnD;AAED;;;;;;GAMG;AACH,wBAAgB,yBAAyB,CAAC,QAAQ,EAAE,wBAAwB,GAAG,IAAI,CAUlF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/associate/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;CAMpB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/choice/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;CAMpB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/custom/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;CAMpB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/end-attempt/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;CAMpB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/extended-text/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;CAMpB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/gap-match/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;CAMpB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/graphic-associate/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;CAMpB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/graphic-gap-match/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;CAMpB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/graphic-order/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;CAMpB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/hotspot/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;CAMpB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/hottext/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;CAMpB,CAAC"}
|
package/dist/plugins/index.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* QTI Interaction Plugins
|
|
3
|
-
*
|
|
4
|
-
* Imports all interaction plugins to trigger web component registration.
|
|
5
|
-
* Each plugin directory contains a Svelte component that compiles to a
|
|
6
|
-
* custom element (web component).
|
|
7
|
-
*
|
|
8
|
-
* These imports have side effects: they register the custom elements
|
|
9
|
-
* with the browser's customElements registry.
|
|
10
|
-
*/
|
|
11
|
-
import './choice/ChoiceInteraction.svelte';
|
|
12
|
-
import './slider/SliderInteraction.svelte';
|
|
13
|
-
import './order/OrderInteraction.svelte';
|
|
14
|
-
import './match/MatchInteraction.svelte';
|
|
15
|
-
import './associate/AssociateInteraction.svelte';
|
|
16
|
-
import './gap-match/GapMatchInteraction.svelte';
|
|
17
|
-
import './hotspot/HotspotInteraction.svelte';
|
|
18
|
-
import './hottext/HottextInteraction.svelte';
|
|
19
|
-
import './media/MediaInteraction.svelte';
|
|
20
|
-
import './custom/CustomInteraction.svelte';
|
|
21
|
-
import './end-attempt/EndAttemptInteraction.svelte';
|
|
22
|
-
import './position-object/PositionObjectInteraction.svelte';
|
|
23
|
-
import './graphic-gap-match/GraphicGapMatchInteraction.svelte';
|
|
24
|
-
import './graphic-order/GraphicOrderInteraction.svelte';
|
|
25
|
-
import './graphic-associate/GraphicAssociateInteraction.svelte';
|
|
26
|
-
import './select-point/SelectPointInteraction.svelte';
|
|
27
|
-
import './extended-text/ExtendedTextInteraction.svelte';
|
|
28
|
-
import './upload/UploadInteraction.svelte';
|
|
29
|
-
import './drawing/DrawingInteraction.svelte';
|
|
30
|
-
import '../catalog/CatalogPopup.svelte';
|
|
31
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/plugins/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,mCAAmC,CAAC;AAC3C,OAAO,mCAAmC,CAAC;AAC3C,OAAO,iCAAiC,CAAC;AACzC,OAAO,iCAAiC,CAAC;AACzC,OAAO,yCAAyC,CAAC;AACjD,OAAO,wCAAwC,CAAC;AAChD,OAAO,qCAAqC,CAAC;AAC7C,OAAO,qCAAqC,CAAC;AAC7C,OAAO,iCAAiC,CAAC;AACzC,OAAO,mCAAmC,CAAC;AAC3C,OAAO,4CAA4C,CAAC;AACpD,OAAO,oDAAoD,CAAC;AAC5D,OAAO,uDAAuD,CAAC;AAC/D,OAAO,gDAAgD,CAAC;AACxD,OAAO,wDAAwD,CAAC;AAChE,OAAO,8CAA8C,CAAC;AACtD,OAAO,gDAAgD,CAAC;AACxD,OAAO,mCAAmC,CAAC;AAC3C,OAAO,qCAAqC,CAAC;AAC7C,OAAO,gCAAgC,CAAC"}
|
package/dist/plugins/index.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* QTI Interaction Plugins
|
|
3
|
-
*
|
|
4
|
-
* Imports all interaction plugins to trigger web component registration.
|
|
5
|
-
* Each plugin directory contains a Svelte component that compiles to a
|
|
6
|
-
* custom element (web component).
|
|
7
|
-
*
|
|
8
|
-
* These imports have side effects: they register the custom elements
|
|
9
|
-
* with the browser's customElements registry.
|
|
10
|
-
*/
|
|
11
|
-
// Import all Svelte custom element components to trigger registration
|
|
12
|
-
import './choice/ChoiceInteraction.svelte';
|
|
13
|
-
import './slider/SliderInteraction.svelte';
|
|
14
|
-
import './order/OrderInteraction.svelte';
|
|
15
|
-
import './match/MatchInteraction.svelte';
|
|
16
|
-
import './associate/AssociateInteraction.svelte';
|
|
17
|
-
import './gap-match/GapMatchInteraction.svelte';
|
|
18
|
-
import './hotspot/HotspotInteraction.svelte';
|
|
19
|
-
import './hottext/HottextInteraction.svelte';
|
|
20
|
-
import './media/MediaInteraction.svelte';
|
|
21
|
-
import './custom/CustomInteraction.svelte';
|
|
22
|
-
import './end-attempt/EndAttemptInteraction.svelte';
|
|
23
|
-
import './position-object/PositionObjectInteraction.svelte';
|
|
24
|
-
import './graphic-gap-match/GraphicGapMatchInteraction.svelte';
|
|
25
|
-
import './graphic-order/GraphicOrderInteraction.svelte';
|
|
26
|
-
import './graphic-associate/GraphicAssociateInteraction.svelte';
|
|
27
|
-
import './select-point/SelectPointInteraction.svelte';
|
|
28
|
-
import './extended-text/ExtendedTextInteraction.svelte';
|
|
29
|
-
import './upload/UploadInteraction.svelte';
|
|
30
|
-
import './drawing/DrawingInteraction.svelte';
|
|
31
|
-
import '../catalog/CatalogPopup.svelte';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/match/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;CAMpB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/media/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;CAMpB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/order/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;CAMpB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/position-object/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;CAMpB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/select-point/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;CAMpB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/slider/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;CAMpB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"typesetAction.d.ts","sourceRoot":"","sources":["../../../src/shared/actions/typesetAction.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,mBAAmB;IACnC;;;;OAIG;IACH,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEtD;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CAClB;AAED;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,WAAW,EAAE,MAAM,CAAC,EAAE,mBAAmB;kBA4C7D,mBAAmB;;EAelC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MathLiveEditor.d.ts","sourceRoot":"","sources":["../../../src/shared/extensions/MathLiveEditor.ts"],"names":[],"mappings":"AAaA,OAAO,qBAAqB,CAAC;AAgB7B,MAAM,WAAW,qBAAqB;IACrC,gDAAgD;IAChD,SAAS,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,+BAA+B;IAC/B,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,0BAA0B;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,2CAA2C;IAC3C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,8CAA8C;IAC9C,IAAI,CAAC,EAAE;QAAE,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,CAAA;KAAE,CAAC;CAClD;AAED;;GAEG;AACH,wBAAsB,kBAAkB,CAAC,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,MAAM,IAAI,CAAC,CA6P5F"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/shared/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,cAAc,4BAA4B,CAAC;AAE3C,cAAc,gCAAgC,CAAC;AAE/C,cAAc,yBAAyB,CAAC;AAExC,cAAc,wBAAwB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"eventHelpers.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/eventHelpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAmBhF,KAAK,yBAAyB,CAAC,MAAM,IAAI,IAAI,CAAC,oBAAoB,EAAE,OAAO,CAAC,GAAG;IAC9E,KAAK,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,MAAM,GAAG,OAAO,EACpD,UAAU,EAAE,MAAM,GAAG,SAAS,EAC9B,KAAK,EAAE,MAAM,GACX,WAAW,CAAC,yBAAyB,CAAC,MAAM,CAAC,CAAC,CAUhD;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAC5B,OAAO,EAAE,WAAW,GAAG,WAAW,EAClC,UAAU,EAAE,MAAM,GAAG,SAAS,EAC9B,KAAK,EAAE,OAAO,GACZ,IAAI,CAGN;AAED,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,EAC7C,MAAM,EACN,UAAU,EACV,KAAK,EACL,QAAQ,GACR,EAAE;IACF,MAAM,EAAE,WAAW,GAAG,WAAW,GAAG,SAAS,CAAC;IAC9C,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC,GAAG,IAAI,CAKP"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"matchGroupUtils.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/matchGroupUtils.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,wBAAgB,sBAAsB,CACrC,YAAY,EAAE,MAAM,EAAE,GAAG,SAAS,EAClC,YAAY,EAAE,MAAM,EAAE,GAAG,SAAS,GAChC,OAAO,CAIT"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pairHelpers.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/pairHelpers.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAGnF;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE,CAK/E;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAGnF;AAED;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE,CAYhG;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE,CAE9E;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE,CAExF;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE,CAE9E;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAEzE;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAEzE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"touchDragHelper.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/touchDragHelper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { touchDrag, touchDragStyles } from '@pie-qti/qti-common';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"webComponentHelpers.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/webComponentHelpers.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;GAGG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,CAAC,GAAG,SAAS,CAkBnF;AAED,MAAM,WAAW,qBAAqB,CAAC,YAAY,EAAE,SAAS,EAAE,gBAAgB,GAAG,SAAS;IAC3F,WAAW,CAAC,EAAE,YAAY,GAAG,MAAM,CAAC;IACpC,QAAQ,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,IAAI,CAAC;IACrC,eAAe,CAAC,EAAE,gBAAgB,GAAG,MAAM,GAAG,IAAI,CAAC;IACnD,IAAI,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,gBAAgB,CAAC,YAAY,EAAE,SAAS,EAAE,gBAAgB,GAAG,SAAS;IACtF,WAAW,EAAE,YAAY,GAAG,SAAS,CAAC;IACtC,QAAQ,EAAE,SAAS,GAAG,SAAS,CAAC;IAChC,eAAe,EAAE,gBAAgB,GAAG,SAAS,CAAC;IAC9C,gBAAgB,EAAE,OAAO,CAAC;IAC1B,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/B;AAED,wBAAgB,sBAAsB,CACrC,YAAY,SAAS;IAAE,UAAU,CAAC,EAAE,MAAM,CAAA;CAAE,EAC5C,SAAS,EACT,gBAAgB,GAAG,SAAS,EAC3B,EACD,WAAW,EACX,QAAQ,EACR,eAAe,EACf,IAAkB,GAClB,EAAE,qBAAqB,CAAC,YAAY,EAAE,SAAS,EAAE,gBAAgB,CAAC,GAAG,gBAAgB,CACrF,YAAY,EACZ,SAAS,EACT,gBAAgB,CAChB,CAYA"}
|
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
<svelte:options customElement="pie-qti-catalog-popup" />
|
|
2
|
-
|
|
3
|
-
<script lang="ts">
|
|
4
|
-
/**
|
|
5
|
-
* CatalogPopup — accessible floating dialog for QTI 3.0 catalog entries.
|
|
6
|
-
*
|
|
7
|
-
* Renders glossary definitions, keyword translations, and illustrated-glossary images.
|
|
8
|
-
* Focus-trapped: Tab/Shift+Tab cycle within; Escape closes.
|
|
9
|
-
* For platform-level usages (TTS, signing, braille) the player fires a qti-catalog-lookup
|
|
10
|
-
* event instead of mounting this component.
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
interface Props {
|
|
14
|
-
/** HTML content from CatalogEntry.html (or URL for illustrated-glossary). */
|
|
15
|
-
content: string;
|
|
16
|
-
/** Accessible label for the dialog (the term text). */
|
|
17
|
-
label: string;
|
|
18
|
-
/** Callback when the popup is closed. */
|
|
19
|
-
onClose: () => void;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
const { content, label, onClose }: Props = $props();
|
|
23
|
-
|
|
24
|
-
// Illustrated-glossary: if content looks like a URL, render as <img>
|
|
25
|
-
const isUrl = $derived(/^(https?:\/\/|\/)/i.test(content.trim()));
|
|
26
|
-
|
|
27
|
-
let dialogEl: HTMLDivElement | undefined = $state();
|
|
28
|
-
let closeBtn: HTMLButtonElement | undefined = $state();
|
|
29
|
-
|
|
30
|
-
// Move focus into the popup on mount
|
|
31
|
-
$effect(() => {
|
|
32
|
-
if (dialogEl) {
|
|
33
|
-
closeBtn?.focus();
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
|
|
37
|
-
function handleKeyDown(event: KeyboardEvent) {
|
|
38
|
-
if (event.key === 'Escape') {
|
|
39
|
-
event.preventDefault();
|
|
40
|
-
onClose();
|
|
41
|
-
return;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
// Focus trap: keep Tab within the popup
|
|
45
|
-
if (event.key === 'Tab' && dialogEl) {
|
|
46
|
-
const focusable = Array.from(
|
|
47
|
-
dialogEl.querySelectorAll<HTMLElement>(
|
|
48
|
-
'a[href], button:not([disabled]), input:not([disabled]), [tabindex]:not([tabindex="-1"])'
|
|
49
|
-
)
|
|
50
|
-
).filter((el) => el.offsetParent !== null);
|
|
51
|
-
|
|
52
|
-
if (focusable.length === 0) {
|
|
53
|
-
event.preventDefault();
|
|
54
|
-
return;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
const first = focusable[0];
|
|
58
|
-
const last = focusable[focusable.length - 1];
|
|
59
|
-
|
|
60
|
-
if (event.shiftKey && document.activeElement === first) {
|
|
61
|
-
event.preventDefault();
|
|
62
|
-
last.focus();
|
|
63
|
-
} else if (!event.shiftKey && document.activeElement === last) {
|
|
64
|
-
event.preventDefault();
|
|
65
|
-
first.focus();
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
</script>
|
|
70
|
-
|
|
71
|
-
<!-- svelte-ignore a11y_no_noninteractive_element_interactions -->
|
|
72
|
-
<div
|
|
73
|
-
bind:this={dialogEl}
|
|
74
|
-
role="dialog"
|
|
75
|
-
aria-label={label}
|
|
76
|
-
aria-modal="true"
|
|
77
|
-
tabindex="-1"
|
|
78
|
-
class="qti-catalog-popup"
|
|
79
|
-
onkeydown={handleKeyDown}
|
|
80
|
-
>
|
|
81
|
-
<div class="qti-catalog-popup__header">
|
|
82
|
-
<span class="qti-catalog-popup__title">{label}</span>
|
|
83
|
-
<button
|
|
84
|
-
bind:this={closeBtn}
|
|
85
|
-
type="button"
|
|
86
|
-
class="qti-catalog-popup__close"
|
|
87
|
-
aria-label="Close"
|
|
88
|
-
onclick={onClose}
|
|
89
|
-
>✕</button>
|
|
90
|
-
</div>
|
|
91
|
-
<div class="qti-catalog-popup__body">
|
|
92
|
-
{#if isUrl}
|
|
93
|
-
<img src={content} alt={label} class="qti-catalog-popup__img" />
|
|
94
|
-
{:else}
|
|
95
|
-
<!-- eslint-disable-next-line svelte/no-at-html-tags -->
|
|
96
|
-
{@html content}
|
|
97
|
-
{/if}
|
|
98
|
-
</div>
|
|
99
|
-
</div>
|
|
100
|
-
|
|
101
|
-
<style>
|
|
102
|
-
.qti-catalog-popup {
|
|
103
|
-
position: absolute;
|
|
104
|
-
z-index: 1000;
|
|
105
|
-
background: var(--color-base-100, #fff);
|
|
106
|
-
border: 1px solid var(--color-base-300, #d1d5db);
|
|
107
|
-
border-radius: 0.5rem;
|
|
108
|
-
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
|
|
109
|
-
min-width: 16rem;
|
|
110
|
-
max-width: 24rem;
|
|
111
|
-
padding: 0;
|
|
112
|
-
font-size: 0.9rem;
|
|
113
|
-
line-height: 1.5;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.qti-catalog-popup__header {
|
|
117
|
-
display: flex;
|
|
118
|
-
align-items: center;
|
|
119
|
-
justify-content: space-between;
|
|
120
|
-
padding: 0.5rem 0.75rem;
|
|
121
|
-
border-bottom: 1px solid var(--color-base-300, #d1d5db);
|
|
122
|
-
background: var(--color-base-200, #f9fafb);
|
|
123
|
-
border-radius: 0.5rem 0.5rem 0 0;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.qti-catalog-popup__title {
|
|
127
|
-
font-weight: 600;
|
|
128
|
-
font-size: 0.85rem;
|
|
129
|
-
color: var(--color-base-content, #111);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.qti-catalog-popup__close {
|
|
133
|
-
background: none;
|
|
134
|
-
border: none;
|
|
135
|
-
cursor: pointer;
|
|
136
|
-
font-size: 1rem;
|
|
137
|
-
line-height: 1;
|
|
138
|
-
padding: 0.2rem 0.4rem;
|
|
139
|
-
border-radius: 0.25rem;
|
|
140
|
-
color: var(--color-base-content, #111);
|
|
141
|
-
opacity: 0.6;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.qti-catalog-popup__close:hover,
|
|
145
|
-
.qti-catalog-popup__close:focus-visible {
|
|
146
|
-
opacity: 1;
|
|
147
|
-
background: var(--color-base-300, #e5e7eb);
|
|
148
|
-
outline: 2px solid var(--color-primary, #4f46e5);
|
|
149
|
-
outline-offset: 1px;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.qti-catalog-popup__body {
|
|
153
|
-
padding: 0.75rem;
|
|
154
|
-
color: var(--color-base-content, #111);
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.qti-catalog-popup__img {
|
|
158
|
-
max-width: 100%;
|
|
159
|
-
height: auto;
|
|
160
|
-
display: block;
|
|
161
|
-
margin: 0 auto;
|
|
162
|
-
}
|
|
163
|
-
</style>
|
package/src/index.ts
DELETED
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @pie-qti/default-components
|
|
3
|
-
*
|
|
4
|
-
* Default Svelte-based component implementations for the QTI player.
|
|
5
|
-
* These components are packaged as web components that work with the
|
|
6
|
-
* framework-agnostic @pie-qti/item-player core.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
// Export shared utilities and helpers
|
|
10
|
-
export * from './shared/index.js';
|
|
11
|
-
|
|
12
|
-
interface DefaultComponentRegistration {
|
|
13
|
-
name: string;
|
|
14
|
-
description: string;
|
|
15
|
-
tagName: string;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
interface DefaultComponentRegistry {
|
|
19
|
-
register(type: string, component: DefaultComponentRegistration): void;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
const DEFAULT_COMPONENTS_BY_TYPE = {
|
|
23
|
-
choiceInteraction: {
|
|
24
|
-
name: 'default-choice',
|
|
25
|
-
description: 'Default Svelte-based choice interaction',
|
|
26
|
-
tagName: 'pie-qti-choice',
|
|
27
|
-
},
|
|
28
|
-
sliderInteraction: {
|
|
29
|
-
name: 'default-slider',
|
|
30
|
-
description: 'Default Svelte-based slider interaction',
|
|
31
|
-
tagName: 'pie-qti-slider',
|
|
32
|
-
},
|
|
33
|
-
orderInteraction: {
|
|
34
|
-
name: 'default-order',
|
|
35
|
-
description: 'Default Svelte-based order interaction',
|
|
36
|
-
tagName: 'pie-qti-order',
|
|
37
|
-
},
|
|
38
|
-
matchInteraction: {
|
|
39
|
-
name: 'default-match',
|
|
40
|
-
description: 'Default Svelte-based match interaction',
|
|
41
|
-
tagName: 'pie-qti-match',
|
|
42
|
-
},
|
|
43
|
-
associateInteraction: {
|
|
44
|
-
name: 'default-associate',
|
|
45
|
-
description: 'Default Svelte-based associate interaction',
|
|
46
|
-
tagName: 'pie-qti-associate',
|
|
47
|
-
},
|
|
48
|
-
gapMatchInteraction: {
|
|
49
|
-
name: 'default-gap-match',
|
|
50
|
-
description: 'Default Svelte-based gap match interaction',
|
|
51
|
-
tagName: 'pie-qti-gap-match',
|
|
52
|
-
},
|
|
53
|
-
hotspotInteraction: {
|
|
54
|
-
name: 'default-hotspot',
|
|
55
|
-
description: 'Default Svelte-based hotspot interaction',
|
|
56
|
-
tagName: 'pie-qti-hotspot',
|
|
57
|
-
},
|
|
58
|
-
hottextInteraction: {
|
|
59
|
-
name: 'default-hottext',
|
|
60
|
-
description: 'Default Svelte-based hottext interaction',
|
|
61
|
-
tagName: 'pie-qti-hottext',
|
|
62
|
-
},
|
|
63
|
-
mediaInteraction: {
|
|
64
|
-
name: 'default-media',
|
|
65
|
-
description: 'Default Svelte-based media interaction',
|
|
66
|
-
tagName: 'pie-qti-media',
|
|
67
|
-
},
|
|
68
|
-
customInteraction: {
|
|
69
|
-
name: 'default-custom',
|
|
70
|
-
description: 'Default Svelte-based custom interaction',
|
|
71
|
-
tagName: 'pie-qti-custom',
|
|
72
|
-
},
|
|
73
|
-
endAttemptInteraction: {
|
|
74
|
-
name: 'default-end-attempt',
|
|
75
|
-
description: 'Default Svelte-based end attempt interaction',
|
|
76
|
-
tagName: 'pie-qti-end-attempt',
|
|
77
|
-
},
|
|
78
|
-
positionObjectInteraction: {
|
|
79
|
-
name: 'default-position-object',
|
|
80
|
-
description: 'Default Svelte-based position object interaction',
|
|
81
|
-
tagName: 'pie-qti-position-object',
|
|
82
|
-
},
|
|
83
|
-
graphicGapMatchInteraction: {
|
|
84
|
-
name: 'default-graphic-gap-match',
|
|
85
|
-
description: 'Default Svelte-based graphic gap match interaction',
|
|
86
|
-
tagName: 'pie-qti-graphic-gap-match',
|
|
87
|
-
},
|
|
88
|
-
graphicOrderInteraction: {
|
|
89
|
-
name: 'default-graphic-order',
|
|
90
|
-
description: 'Default Svelte-based graphic order interaction',
|
|
91
|
-
tagName: 'pie-qti-graphic-order',
|
|
92
|
-
},
|
|
93
|
-
graphicAssociateInteraction: {
|
|
94
|
-
name: 'default-graphic-associate',
|
|
95
|
-
description: 'Default Svelte-based graphic associate interaction',
|
|
96
|
-
tagName: 'pie-qti-graphic-associate',
|
|
97
|
-
},
|
|
98
|
-
selectPointInteraction: {
|
|
99
|
-
name: 'default-select-point',
|
|
100
|
-
description: 'Default Svelte-based select point interaction',
|
|
101
|
-
tagName: 'pie-qti-select-point',
|
|
102
|
-
},
|
|
103
|
-
extendedTextInteraction: {
|
|
104
|
-
name: 'default-extended-text',
|
|
105
|
-
description: 'Default Svelte-based extended text interaction',
|
|
106
|
-
tagName: 'pie-qti-extended-text',
|
|
107
|
-
},
|
|
108
|
-
uploadInteraction: {
|
|
109
|
-
name: 'default-upload',
|
|
110
|
-
description: 'Default Svelte-based upload interaction',
|
|
111
|
-
tagName: 'pie-qti-upload',
|
|
112
|
-
},
|
|
113
|
-
drawingInteraction: {
|
|
114
|
-
name: 'default-drawing',
|
|
115
|
-
description: 'Default Svelte-based drawing interaction',
|
|
116
|
-
tagName: 'pie-qti-drawing',
|
|
117
|
-
},
|
|
118
|
-
} satisfies Record<string, DefaultComponentRegistration>;
|
|
119
|
-
|
|
120
|
-
export function getDefaultComponentTypes(): string[] {
|
|
121
|
-
return Object.keys(DEFAULT_COMPONENTS_BY_TYPE);
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
/**
|
|
125
|
-
* Register all default components with the ComponentRegistry.
|
|
126
|
-
*
|
|
127
|
-
* This function should be called once at application startup to make all default
|
|
128
|
-
* block interaction components available to the player. Inline interactions are
|
|
129
|
-
* rendered in-flow by @pie-qti/item-player.
|
|
130
|
-
*/
|
|
131
|
-
export function registerDefaultComponents(registry: DefaultComponentRegistry): void {
|
|
132
|
-
for (const [type, component] of Object.entries(DEFAULT_COMPONENTS_BY_TYPE)) {
|
|
133
|
-
registry.register(type, component);
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
registry.register('catalogPopup', {
|
|
137
|
-
name: 'default-catalog-popup',
|
|
138
|
-
description: 'Default Svelte-based catalog popup dialog',
|
|
139
|
-
tagName: 'pie-qti-catalog-popup',
|
|
140
|
-
});
|
|
141
|
-
}
|