@pocketprep/ui-kit 3.9.2 → 3.9.4
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/@pocketprep/ui-kit.js +5 -5
- package/dist/@pocketprep/ui-kit.js.map +1 -1
- package/dist/@pocketprep/ui-kit.umd.cjs +3 -3
- package/dist/@pocketprep/ui-kit.umd.cjs.map +1 -1
- package/lib/components/PhonePerson/PhonePerson.vue +2 -5
- package/lib/components/Quiz/Question/QuestionContext.vue +1 -1
- package/lib/components/Quiz/Question/injectionSymbols.ts +2 -2
- package/lib/components/Quiz/Question.vue +4 -2
- package/package.json +1 -1
- package/lib/components/PhonePerson/phonePerson.d.ts +0 -12
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
</template>
|
|
14
14
|
|
|
15
15
|
<script setup lang="ts">
|
|
16
|
-
import type { TBundleIds } from './phonePerson'
|
|
17
16
|
import PhonePersonBehavioralHealth from './phoneperson-behavioralhealth@2x.png'
|
|
18
17
|
import PhonePersonEMT from './phoneperson-emt@2x.png'
|
|
19
18
|
import PhonePersonEssentials from './phoneperson-essentials@2x.png'
|
|
@@ -26,10 +25,8 @@ import PhonePersonNursingSchool from './phoneperson-nursingschool@2x.png'
|
|
|
26
25
|
import PhonePersonProfessional from './phoneperson-professional@2x.png'
|
|
27
26
|
import PhonePersonSkilledTrades from './phoneperson-skilledtrades@2x.png'
|
|
28
27
|
|
|
29
|
-
|
|
30
|
-
bundleId
|
|
31
|
-
} = defineProps<{
|
|
32
|
-
bundleId?: TBundleIds
|
|
28
|
+
defineProps<{
|
|
29
|
+
bundleId: string
|
|
33
30
|
}>()
|
|
34
31
|
|
|
35
32
|
const urls = {
|
|
@@ -28,9 +28,9 @@ export const breakpointsWithElKey = Symbol('breakpointsWithEl') as InjectionKey<
|
|
|
28
28
|
}
|
|
29
29
|
containerEl: HTMLElement | null
|
|
30
30
|
}>>
|
|
31
|
-
export const quizLengthKey = Symbol('quizLength') as InjectionKey<Ref<number>>
|
|
31
|
+
export const quizLengthKey = Symbol('quizLength') as InjectionKey<Ref<number | undefined>>
|
|
32
32
|
export const quizModeKey = Symbol('quizMode') as InjectionKey<Ref<TQuizMode>>
|
|
33
|
-
export const questionNumberKey = Symbol('questionNumber') as InjectionKey<Ref<number>>
|
|
33
|
+
export const questionNumberKey = Symbol('questionNumber') as InjectionKey<Ref<number | undefined>>
|
|
34
34
|
export const isDarkModeKey = Symbol('isDarkMode') as InjectionKey<Ref<boolean>>
|
|
35
35
|
export const isCorrectKey = Symbol('isCorrect') as InjectionKey<ComputedRef<boolean>>
|
|
36
36
|
export const contextIconTypeKey = Symbol('contextIconType') as InjectionKey<ComputedRef<TContextIcon>>
|
|
@@ -486,8 +486,8 @@ import * as InjectionKeys from './Question/injectionSymbols'
|
|
|
486
486
|
|
|
487
487
|
const props = withDefaults(defineProps<{
|
|
488
488
|
question: Study.Class.QuestionJSON
|
|
489
|
-
questionNumber
|
|
490
|
-
quizLength
|
|
489
|
+
questionNumber?: number | undefined
|
|
490
|
+
quizLength?: number | undefined
|
|
491
491
|
imageUrlPrefix?: string
|
|
492
492
|
quizMode?: TQuizMode
|
|
493
493
|
initialShowAnswers?: boolean
|
|
@@ -514,6 +514,8 @@ const props = withDefaults(defineProps<{
|
|
|
514
514
|
isTeachGroupReview?: boolean
|
|
515
515
|
keywordDefinitions?: { keyword: string; definition: string }[]
|
|
516
516
|
}>(), {
|
|
517
|
+
questionNumber: undefined,
|
|
518
|
+
quizLength: undefined,
|
|
517
519
|
imageUrlPrefix: '',
|
|
518
520
|
quizMode: 'quick10',
|
|
519
521
|
initialShowAnswers: false,
|
package/package.json
CHANGED