88 <strong >Imported types evidence:</strong ><br />
99 testLetter: {{ testLetter }}<br />
1010 testPos: {{ testPos }}<br />
11- testViewData: {{ testViewData }}
11+ testViewData: {{ testViewData }}<br />
12+ viewable exists: {{ !!viewable }}<br />
13+ questionView exists: {{ !!questionView }}<br />
14+ FallingLettersQuestion class: {{ questionClass?.name }}<br />
15+ FallingLettersQuestion dataShapes: {{ questionClass?.dataShapes?.length }} items
1216 </div >
1317 </div >
1418</template >
1519
1620<script setup lang="ts">
1721// FallingLetters.vue imports to test incrementally:
1822// import { defineComponent, ref, onMounted, onUnmounted, PropType } from 'vue';
19- // import { useViewable, useQuestionView } from '@vue-skuilder/common-ui';
20- // import { FallingLettersQuestion } from './index';
21- // import { ViewData } from '@vue-skuilder/common';
2223
2324// Current working imports:
2425import { ref } from ' vue' ;
2526import { Letter , TreePosition } from ' ./types' ;
2627import { ViewData } from ' @vue-skuilder/common' ;
2728import { useViewable , useQuestionView } from ' @vue-skuilder/common-ui' ;
29+ import { FallingLettersQuestion } from ' ./index' ;
2830
2931const count = ref (0 );
3032const testLetter = { id: 1 , char: ' A' , x: 10 , y: 20 } as Letter ;
@@ -34,4 +36,7 @@ const testViewData = { testField: 'hello' } as ViewData;
3436// Test common-ui composables
3537const viewable = useViewable ();
3638const questionView = useQuestionView ();
39+
40+ // Test FallingLettersQuestion class
41+ const questionClass = FallingLettersQuestion ;
3742 </script >
0 commit comments