@pocketprep/ui-kit 3.8.4 → 3.9.0
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.css +1 -1
- package/dist/@pocketprep/ui-kit.js +14469 -17731
- package/dist/@pocketprep/ui-kit.js.map +1 -1
- package/dist/@pocketprep/ui-kit.umd.cjs +19 -29
- package/dist/@pocketprep/ui-kit.umd.cjs.map +1 -1
- package/eslint.config.ts +38 -11
- package/lib/SVGDefinitions.vue +32 -35
- package/lib/components/Banners/Banner.vue +10 -14
- package/lib/components/Blobs/Blob.vue +6 -14
- package/lib/components/Blobs/BlobEmptyState.vue +9 -8
- package/lib/components/Blobs/blob.d.ts +1 -1
- package/lib/components/BundleIcons/BundleIcon.vue +36 -63
- package/lib/components/BundleIcons/bundleIcon.d.ts +1 -1
- package/lib/components/Bundles/BundleList.vue +71 -59
- package/lib/components/Bundles/BundleSearch.vue +93 -117
- package/lib/components/Bundles/PremiumPill.vue +6 -12
- package/lib/components/Buttons/Button.vue +32 -35
- package/lib/components/Buttons/Link.vue +32 -31
- package/lib/components/Buttons/Tab.vue +14 -17
- package/lib/components/Calendar/Calendar.vue +87 -85
- package/lib/components/Charts/Bar.vue +192 -263
- package/lib/components/Charts/Pie.vue +55 -61
- package/lib/components/Charts/highcharts-wrap.ts +81 -0
- package/lib/components/Controls/SegmentControl.vue +26 -24
- package/lib/components/Controls/Slider.vue +51 -47
- package/lib/components/Controls/ToggleSwitch.vue +33 -31
- package/lib/components/EmptyStates/EmptyState.vue +69 -73
- package/lib/components/Exams/ExamCard.vue +59 -47
- package/lib/components/Exams/ExamMenuCard.vue +30 -28
- package/lib/components/Filters/FilterDropdown.vue +83 -86
- package/lib/components/Filters/FilterOptions.vue +83 -88
- package/lib/components/Forms/Checkbox.vue +27 -27
- package/lib/components/Forms/CheckboxOption.vue +30 -30
- package/lib/components/Forms/Errors.vue +21 -24
- package/lib/components/Forms/Input.vue +71 -59
- package/lib/components/Forms/Radio.vue +2 -2
- package/lib/components/Forms/RadioButton.vue +8 -8
- package/lib/components/Forms/Select.vue +265 -257
- package/lib/components/Forms/Textarea.vue +49 -35
- package/lib/components/Icons/IconAccordionArrow.vue +7 -9
- package/lib/components/Icons/IconActivity.vue +7 -9
- package/lib/components/Icons/IconAdd.vue +7 -11
- package/lib/components/Icons/IconAddCircle.vue +7 -9
- package/lib/components/Icons/IconArrow.vue +7 -9
- package/lib/components/Icons/IconBarChart.vue +7 -9
- package/lib/components/Icons/IconCalendar.vue +7 -9
- package/lib/components/Icons/IconCalendarPicker.vue +7 -9
- package/lib/components/Icons/IconChat.vue +7 -9
- package/lib/components/Icons/IconCheck.vue +7 -9
- package/lib/components/Icons/IconClose.vue +7 -9
- package/lib/components/Icons/IconConcept.vue +1 -1
- package/lib/components/Icons/IconCorrect.vue +7 -9
- package/lib/components/Icons/IconEdit.vue +7 -11
- package/lib/components/Icons/IconExam.vue +7 -9
- package/lib/components/Icons/IconExternalLink.vue +7 -9
- package/lib/components/Icons/IconEyeHide.vue +7 -9
- package/lib/components/Icons/IconEyeShow.vue +7 -9
- package/lib/components/Icons/IconFilter.vue +7 -9
- package/lib/components/Icons/IconFilterActive.vue +7 -9
- package/lib/components/Icons/IconFlag.vue +7 -9
- package/lib/components/Icons/IconFlagContent.vue +8 -9
- package/lib/components/Icons/IconFlagFeedback.vue +8 -10
- package/lib/components/Icons/IconFlagFilled.vue +7 -9
- package/lib/components/Icons/IconFullView.vue +7 -9
- package/lib/components/Icons/IconFullViewActive.vue +7 -9
- package/lib/components/Icons/IconGridDrag.vue +2 -2
- package/lib/components/Icons/IconHandle.vue +7 -9
- package/lib/components/Icons/IconHeart.vue +7 -9
- package/lib/components/Icons/IconHelp.vue +7 -9
- package/lib/components/Icons/IconHighlight.vue +2 -2
- package/lib/components/Icons/IconHourglass.vue +7 -9
- package/lib/components/Icons/IconImage.vue +7 -9
- package/lib/components/Icons/IconIncorrect.vue +7 -9
- package/lib/components/Icons/IconInfo.vue +7 -9
- package/lib/components/Icons/IconKeyboard.vue +7 -9
- package/lib/components/Icons/IconLaunch.vue +7 -9
- package/lib/components/Icons/IconLevelUp.vue +7 -9
- package/lib/components/Icons/IconLightbulb.vue +7 -9
- package/lib/components/Icons/IconLightning.vue +7 -9
- package/lib/components/Icons/IconLink.vue +7 -9
- package/lib/components/Icons/IconList.vue +7 -9
- package/lib/components/Icons/IconLoading.vue +7 -9
- package/lib/components/Icons/IconLoading2.vue +11 -11
- package/lib/components/Icons/IconLock.vue +7 -9
- package/lib/components/Icons/IconMissedQuestions.vue +7 -9
- package/lib/components/Icons/IconMoon.vue +7 -9
- package/lib/components/Icons/IconPaginationArrow.vue +7 -9
- package/lib/components/Icons/IconPaginationArrowDouble.vue +7 -9
- package/lib/components/Icons/IconPassage.vue +7 -9
- package/lib/components/Icons/IconPencil.vue +7 -9
- package/lib/components/Icons/IconPeople.vue +7 -9
- package/lib/components/Icons/IconPercent.vue +7 -9
- package/lib/components/Icons/IconPerson.vue +8 -9
- package/lib/components/Icons/IconPresent.vue +7 -9
- package/lib/components/Icons/IconPreview.vue +7 -9
- package/lib/components/Icons/IconQuestions.vue +7 -9
- package/lib/components/Icons/IconQuick10.vue +7 -9
- package/lib/components/Icons/IconQuickActions.vue +2 -2
- package/lib/components/Icons/IconRecommendedFilter.vue +1 -1
- package/lib/components/Icons/IconRemoveCircle.vue +7 -9
- package/lib/components/Icons/IconReviewFlag.vue +7 -9
- package/lib/components/Icons/IconSearch.vue +7 -9
- package/lib/components/Icons/IconShare.vue +7 -9
- package/lib/components/Icons/IconSideBar.vue +7 -9
- package/lib/components/Icons/IconSideBarActive.vue +7 -9
- package/lib/components/Icons/IconStar.vue +1 -1
- package/lib/components/Icons/IconStopwatch.vue +7 -9
- package/lib/components/Icons/IconStrike.vue +7 -9
- package/lib/components/Icons/IconSubject.vue +7 -9
- package/lib/components/Icons/IconText.vue +7 -9
- package/lib/components/Icons/IconTimer.vue +8 -9
- package/lib/components/Icons/IconWarning.vue +7 -9
- package/lib/components/Icons/icon.d.ts +1 -1
- package/lib/components/Loaders/SkeletonLoader.vue +1 -5
- package/lib/components/Modal/Modal.vue +23 -29
- package/lib/components/Modal/ModalContainer.vue +135 -133
- package/lib/components/Onboarding/EmailAuth.vue +66 -70
- package/lib/components/Onboarding/MagicCodeEntry.vue +88 -83
- package/lib/components/Pagination/QuestionReviewPagination.vue +3 -3
- package/lib/components/Pagination/TablePagination.vue +47 -44
- package/lib/components/PhonePerson/PhonePerson.vue +18 -18
- package/lib/components/PhonePerson/phonePerson.d.ts +1 -1
- package/lib/components/Quiz/FlagToggle.vue +45 -44
- package/lib/components/Quiz/GlobalMetricsToggle.vue +29 -28
- package/lib/components/Quiz/KeyboardShortcutsButton.vue +16 -23
- package/lib/components/Quiz/KeyboardShortcutsModal.vue +36 -37
- package/lib/components/Quiz/Question/BuildListChoicesContainer.vue +65 -65
- package/lib/components/Quiz/Question/ChoicesContainer.vue +5 -5
- package/lib/components/Quiz/Question/DropdownExplanation.vue +5 -5
- package/lib/components/Quiz/Question/Explanation.vue +6 -6
- package/lib/components/Quiz/Question/MPMCChoicesContainer.vue +17 -17
- package/lib/components/Quiz/Question/MPMCRadioGroup.vue +2 -2
- package/lib/components/Quiz/Question/MatrixChoicesContainer.vue +39 -39
- package/lib/components/Quiz/Question/MatrixRadioGroup.vue +6 -6
- package/lib/components/Quiz/Question/MobileMatrixChoicesContainer.vue +27 -28
- package/lib/components/Quiz/Question/MobileMatrixRadioGroup.vue +2 -2
- package/lib/components/Quiz/Question/PassageAndImage.vue +3 -3
- package/lib/components/Quiz/Question/PassageAndImageDropdown.vue +7 -7
- package/lib/components/Quiz/Question/Paywall.vue +2 -2
- package/lib/components/Quiz/Question/QuestionContext.vue +1 -1
- package/lib/components/Quiz/Question/StatsSummary.vue +2 -2
- package/lib/components/Quiz/Question/Summary.vue +11 -11
- package/lib/components/Quiz/Question.vue +90 -82
- package/lib/components/Quiz/QuizContainer.vue +1 -1
- package/lib/components/Quiz/QuizProgressBar.vue +23 -23
- package/lib/components/Quiz/question.d.ts +3 -3
- package/lib/components/Search/Pill.vue +16 -19
- package/lib/components/Search/Search.vue +52 -47
- package/lib/components/SidePanels/SidePanel.vue +168 -174
- package/lib/components/Tables/Table.vue +135 -122
- package/lib/components/Tables/TableActions.vue +81 -76
- package/lib/components/Tables/table.d.ts +1 -1
- package/lib/components/Tags/Tag.vue +49 -39
- package/lib/components/Toasts/Toast.vue +44 -42
- package/lib/components/Tooltips/OverflowTooltip.vue +39 -45
- package/lib/components/Tooltips/Tooltip.vue +69 -70
- package/lib/directives.ts +4 -4
- package/lib/utils.ts +13 -12
- package/package.json +27 -28
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
|
|
3
|
+
const { title } = defineProps<{
|
|
4
|
+
title: string
|
|
5
|
+
}>()
|
|
6
|
+
</script>
|
|
7
|
+
|
|
1
8
|
<template>
|
|
2
9
|
<!-- eslint-disable -->
|
|
3
10
|
<svg width="31px" height="23px" viewBox="0 0 31 23" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
@@ -14,12 +21,3 @@
|
|
|
14
21
|
</svg>
|
|
15
22
|
<!-- eslint-enable -->
|
|
16
23
|
</template>
|
|
17
|
-
|
|
18
|
-
<script lang="ts">
|
|
19
|
-
import { Component, Vue, Prop } from 'vue-facing-decorator'
|
|
20
|
-
|
|
21
|
-
@Component
|
|
22
|
-
export default class IconPeople extends Vue {
|
|
23
|
-
@Prop() title!: string
|
|
24
|
-
}
|
|
25
|
-
</script>
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
|
|
3
|
+
const { title } = defineProps<{
|
|
4
|
+
title: string
|
|
5
|
+
}>()
|
|
6
|
+
</script>
|
|
7
|
+
|
|
1
8
|
<template>
|
|
2
9
|
<!-- eslint-disable -->
|
|
3
10
|
<svg width="18px" height="23px" viewBox="0 0 18 23" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
@@ -13,12 +20,3 @@
|
|
|
13
20
|
</svg>
|
|
14
21
|
<!-- eslint-enable -->
|
|
15
22
|
</template>
|
|
16
|
-
|
|
17
|
-
<script lang="ts">
|
|
18
|
-
import { Component, Vue, Prop } from 'vue-facing-decorator'
|
|
19
|
-
|
|
20
|
-
@Component
|
|
21
|
-
export default class IconPercent extends Vue {
|
|
22
|
-
@Prop() title!: string
|
|
23
|
-
}
|
|
24
|
-
</script>
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
|
|
3
|
+
const { title } = defineProps<{
|
|
4
|
+
title: string
|
|
5
|
+
}>()
|
|
6
|
+
</script>
|
|
7
|
+
|
|
1
8
|
<template>
|
|
2
9
|
<!-- eslint-disable -->
|
|
3
10
|
<svg width="14" height="20" viewBox="0 0 14 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
11
|
+
<title>{{ title }}</title>
|
|
4
12
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.96739 7.05006C4.96739 5.92748 5.87742 5.01745 7 5.01745C8.12258 5.01745 9.03261 5.92748 9.03261 7.05006C9.03261 8.17264 8.12258 9.08267 7 9.08267C5.87742 9.08267 4.96739 8.17264 4.96739 7.05006ZM7 3.58267C5.08501 3.58267 3.53261 5.13508 3.53261 7.05006C3.53261 8.96505 5.08501 10.5175 7 10.5175C8.91499 10.5175 10.4674 8.96505 10.4674 7.05006C10.4674 5.13508 8.91499 3.58267 7 3.58267ZM7.00004 11.6C4.69956 11.6 2.03794 12.267 0.836079 14.5542C0.643404 14.9209 0.784458 15.3743 1.15113 15.567C1.5178 15.7597 1.97125 15.6186 2.16392 15.2519C2.96206 13.733 4.85601 13.1 7.00004 13.1C9.11878 13.1 11.048 13.7366 11.842 15.1882C12.0408 15.5516 12.4965 15.6851 12.8599 15.4863C13.2233 15.2875 13.3568 14.8318 13.158 14.4684C11.952 12.2634 9.26369 11.6 7.00004 11.6Z" fill="currentColor"/>
|
|
5
13
|
</svg>
|
|
6
14
|
|
|
7
15
|
<!-- eslint-enable -->
|
|
8
16
|
</template>
|
|
9
|
-
|
|
10
|
-
<script lang="ts">
|
|
11
|
-
import { Component, Vue, Prop } from 'vue-facing-decorator'
|
|
12
|
-
|
|
13
|
-
@Component
|
|
14
|
-
export default class IconPerson extends Vue {
|
|
15
|
-
@Prop() title!: string
|
|
16
|
-
}
|
|
17
|
-
</script>
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
|
|
3
|
+
const { title } = defineProps<{
|
|
4
|
+
title: string
|
|
5
|
+
}>()
|
|
6
|
+
</script>
|
|
7
|
+
|
|
1
8
|
<template>
|
|
2
9
|
<!-- eslint-disable -->
|
|
3
10
|
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
@@ -10,12 +17,3 @@
|
|
|
10
17
|
</svg>
|
|
11
18
|
<!-- eslint-enable -->
|
|
12
19
|
</template>
|
|
13
|
-
|
|
14
|
-
<script lang="ts">
|
|
15
|
-
import { Component, Vue, Prop } from 'vue-facing-decorator'
|
|
16
|
-
|
|
17
|
-
@Component
|
|
18
|
-
export default class IconPresent extends Vue {
|
|
19
|
-
@Prop() title!: string
|
|
20
|
-
}
|
|
21
|
-
</script>
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
|
|
3
|
+
const { title } = defineProps<{
|
|
4
|
+
title: string
|
|
5
|
+
}>()
|
|
6
|
+
</script>
|
|
7
|
+
|
|
1
8
|
<template>
|
|
2
9
|
<!-- eslint-disable -->
|
|
3
10
|
<svg width="26" height="24" viewBox="0 0 26 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
@@ -8,12 +15,3 @@
|
|
|
8
15
|
</svg>
|
|
9
16
|
<!-- eslint-enable -->
|
|
10
17
|
</template>
|
|
11
|
-
|
|
12
|
-
<script lang="ts">
|
|
13
|
-
import { Vue, Component, Prop } from 'vue-facing-decorator'
|
|
14
|
-
|
|
15
|
-
@Component
|
|
16
|
-
export default class IconPreview extends Vue {
|
|
17
|
-
@Prop() title!: string
|
|
18
|
-
}
|
|
19
|
-
</script>
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
|
|
3
|
+
const { title } = defineProps<{
|
|
4
|
+
title: string
|
|
5
|
+
}>()
|
|
6
|
+
</script>
|
|
7
|
+
|
|
1
8
|
<template>
|
|
2
9
|
<!-- eslint-disable -->
|
|
3
10
|
<svg width="18px" height="23px" viewBox="0 0 18 23" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
@@ -14,12 +21,3 @@
|
|
|
14
21
|
</svg>
|
|
15
22
|
<!-- eslint-enable -->
|
|
16
23
|
</template>
|
|
17
|
-
|
|
18
|
-
<script lang="ts">
|
|
19
|
-
import { Component, Vue, Prop } from 'vue-facing-decorator'
|
|
20
|
-
|
|
21
|
-
@Component
|
|
22
|
-
export default class IconQuestions extends Vue {
|
|
23
|
-
@Prop() title!: string
|
|
24
|
-
}
|
|
25
|
-
</script>
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
|
|
3
|
+
const { title } = defineProps<{
|
|
4
|
+
title: string
|
|
5
|
+
}>()
|
|
6
|
+
</script>
|
|
7
|
+
|
|
1
8
|
<template>
|
|
2
9
|
<!-- eslint-disable -->
|
|
3
10
|
<svg width="25px" height="24px" viewBox="0 0 25 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
@@ -12,12 +19,3 @@
|
|
|
12
19
|
</svg>
|
|
13
20
|
<!-- eslint-enable -->
|
|
14
21
|
</template>
|
|
15
|
-
|
|
16
|
-
<script lang="ts">
|
|
17
|
-
import { Component, Vue, Prop } from 'vue-facing-decorator'
|
|
18
|
-
|
|
19
|
-
@Component
|
|
20
|
-
export default class IconQuick10 extends Vue {
|
|
21
|
-
@Prop() title!: string
|
|
22
|
-
}
|
|
23
|
-
</script>
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
|
|
3
|
+
const { title } = defineProps<{
|
|
4
|
+
title: string
|
|
5
|
+
}>()
|
|
6
|
+
</script>
|
|
7
|
+
|
|
1
8
|
<template>
|
|
2
9
|
<!-- eslint-disable -->
|
|
3
10
|
<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
@@ -11,12 +18,3 @@
|
|
|
11
18
|
</svg>
|
|
12
19
|
<!-- eslint-enable -->
|
|
13
20
|
</template>
|
|
14
|
-
|
|
15
|
-
<script lang="ts">
|
|
16
|
-
import { Component, Vue, Prop } from 'vue-facing-decorator'
|
|
17
|
-
|
|
18
|
-
@Component
|
|
19
|
-
export default class IconRemoveCircle extends Vue {
|
|
20
|
-
@Prop() title!: string
|
|
21
|
-
}
|
|
22
|
-
</script>
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
|
|
3
|
+
const { title } = defineProps<{
|
|
4
|
+
title: string
|
|
5
|
+
}>()
|
|
6
|
+
</script>
|
|
7
|
+
|
|
1
8
|
<template>
|
|
2
9
|
<!-- eslint-disable -->
|
|
3
10
|
<svg version="1.1" width="10px" height="13px" viewBox="0 0 10.0 13.0" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
@@ -21,12 +28,3 @@
|
|
|
21
28
|
</svg>
|
|
22
29
|
<!-- eslint-enable -->
|
|
23
30
|
</template>
|
|
24
|
-
|
|
25
|
-
<script lang="ts">
|
|
26
|
-
import { Component, Vue, Prop } from 'vue-facing-decorator'
|
|
27
|
-
|
|
28
|
-
@Component
|
|
29
|
-
export default class IconReviewFlag extends Vue {
|
|
30
|
-
@Prop() title!: string
|
|
31
|
-
}
|
|
32
|
-
</script>
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
|
|
3
|
+
const { title } = defineProps<{
|
|
4
|
+
title: string
|
|
5
|
+
}>()
|
|
6
|
+
</script>
|
|
7
|
+
|
|
1
8
|
<template>
|
|
2
9
|
<!-- eslint-disable -->
|
|
3
10
|
<svg width="15px" height="16px" viewBox="0 0 15 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
@@ -12,12 +19,3 @@
|
|
|
12
19
|
</svg>
|
|
13
20
|
<!-- eslint-enable -->
|
|
14
21
|
</template>
|
|
15
|
-
|
|
16
|
-
<script lang="ts">
|
|
17
|
-
import { Component, Vue, Prop } from 'vue-facing-decorator'
|
|
18
|
-
|
|
19
|
-
@Component
|
|
20
|
-
export default class IconSearch extends Vue {
|
|
21
|
-
@Prop() title!: string
|
|
22
|
-
}
|
|
23
|
-
</script>
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
|
|
3
|
+
const { title } = defineProps<{
|
|
4
|
+
title: string
|
|
5
|
+
}>()
|
|
6
|
+
</script>
|
|
7
|
+
|
|
1
8
|
<template>
|
|
2
9
|
<!-- eslint-disable -->
|
|
3
10
|
<svg width="18px" height="25px" viewBox="0 0 18 25" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
@@ -20,12 +27,3 @@
|
|
|
20
27
|
</svg>
|
|
21
28
|
<!-- eslint-enable -->
|
|
22
29
|
</template>
|
|
23
|
-
|
|
24
|
-
<script lang="ts">
|
|
25
|
-
import { Component, Prop, Vue } from 'vue-facing-decorator'
|
|
26
|
-
|
|
27
|
-
@Component
|
|
28
|
-
export default class IconShare extends Vue {
|
|
29
|
-
@Prop() title!: string
|
|
30
|
-
}
|
|
31
|
-
</script>
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
|
|
3
|
+
const { title } = defineProps<{
|
|
4
|
+
title: string
|
|
5
|
+
}>()
|
|
6
|
+
</script>
|
|
7
|
+
|
|
1
8
|
<template>
|
|
2
9
|
<!-- eslint-disable -->
|
|
3
10
|
<svg width="28px" height="20px" viewBox="0 0 28 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
@@ -15,12 +22,3 @@
|
|
|
15
22
|
</svg>
|
|
16
23
|
<!-- eslint-enable -->
|
|
17
24
|
</template>
|
|
18
|
-
|
|
19
|
-
<script lang="ts">
|
|
20
|
-
import { Component, Vue, Prop } from 'vue-facing-decorator'
|
|
21
|
-
|
|
22
|
-
@Component
|
|
23
|
-
export default class IconSideBar extends Vue {
|
|
24
|
-
@Prop() title!: string
|
|
25
|
-
}
|
|
26
|
-
</script>
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
|
|
3
|
+
const { title } = defineProps<{
|
|
4
|
+
title: string
|
|
5
|
+
}>()
|
|
6
|
+
</script>
|
|
7
|
+
|
|
1
8
|
<template>
|
|
2
9
|
<!-- eslint-disable -->
|
|
3
10
|
<svg width="28px" height="20px" viewBox="0 0 28 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
@@ -17,12 +24,3 @@
|
|
|
17
24
|
</svg>
|
|
18
25
|
<!-- eslint-enable -->
|
|
19
26
|
</template>
|
|
20
|
-
|
|
21
|
-
<script lang="ts">
|
|
22
|
-
import { Component, Vue, Prop } from 'vue-facing-decorator'
|
|
23
|
-
|
|
24
|
-
@Component
|
|
25
|
-
export default class IconFullViewActive extends Vue {
|
|
26
|
-
@Prop() title!: string
|
|
27
|
-
}
|
|
28
|
-
</script>
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
|
|
3
|
+
const { title } = defineProps<{
|
|
4
|
+
title: string
|
|
5
|
+
}>()
|
|
6
|
+
</script>
|
|
7
|
+
|
|
1
8
|
<template>
|
|
2
9
|
<!-- eslint-disable -->
|
|
3
10
|
<svg width="25px" height="24px" viewBox="0 0 25 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
@@ -11,12 +18,3 @@
|
|
|
11
18
|
</svg>
|
|
12
19
|
<!-- eslint-enable -->
|
|
13
20
|
</template>
|
|
14
|
-
|
|
15
|
-
<script lang="ts">
|
|
16
|
-
import { Component, Prop, Vue } from 'vue-facing-decorator'
|
|
17
|
-
|
|
18
|
-
@Component
|
|
19
|
-
export default class IconStopwatch extends Vue {
|
|
20
|
-
@Prop() title!: string
|
|
21
|
-
}
|
|
22
|
-
</script>
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
|
|
3
|
+
const { title } = defineProps<{
|
|
4
|
+
title: string
|
|
5
|
+
}>()
|
|
6
|
+
</script>
|
|
7
|
+
|
|
1
8
|
<template>
|
|
2
9
|
<!-- eslint-disable -->
|
|
3
10
|
<svg width="10px" height="12px" viewBox="0 0 10 12" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
@@ -12,12 +19,3 @@
|
|
|
12
19
|
</svg>
|
|
13
20
|
<!-- eslint-enable -->
|
|
14
21
|
</template>
|
|
15
|
-
|
|
16
|
-
<script lang="ts">
|
|
17
|
-
import { Component, Vue, Prop } from 'vue-facing-decorator'
|
|
18
|
-
|
|
19
|
-
@Component
|
|
20
|
-
export default class IconStrike extends Vue {
|
|
21
|
-
@Prop() title!: string
|
|
22
|
-
}
|
|
23
|
-
</script>
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
|
|
3
|
+
const { title } = defineProps<{
|
|
4
|
+
title: string
|
|
5
|
+
}>()
|
|
6
|
+
</script>
|
|
7
|
+
|
|
1
8
|
<template>
|
|
2
9
|
<!-- eslint-disable -->
|
|
3
10
|
<svg width="25px" height="24px" viewBox="0 0 25 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
@@ -11,12 +18,3 @@
|
|
|
11
18
|
</svg>
|
|
12
19
|
<!-- eslint-enable -->
|
|
13
20
|
</template>
|
|
14
|
-
|
|
15
|
-
<script lang="ts">
|
|
16
|
-
import { Component, Prop, Vue } from 'vue-facing-decorator'
|
|
17
|
-
|
|
18
|
-
@Component
|
|
19
|
-
export default class IconSubject extends Vue {
|
|
20
|
-
@Prop() title!: string
|
|
21
|
-
}
|
|
22
|
-
</script>
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
|
|
3
|
+
const { title } = defineProps<{
|
|
4
|
+
title: string
|
|
5
|
+
}>()
|
|
6
|
+
</script>
|
|
7
|
+
|
|
1
8
|
<template>
|
|
2
9
|
<!-- eslint-disable -->
|
|
3
10
|
<svg width="30px" height="30px" viewBox="0 0 30 30" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
@@ -11,12 +18,3 @@
|
|
|
11
18
|
</svg>
|
|
12
19
|
<!-- eslint-enable -->
|
|
13
20
|
</template>
|
|
14
|
-
|
|
15
|
-
<script lang="ts">
|
|
16
|
-
import { Component, Vue, Prop } from 'vue-facing-decorator'
|
|
17
|
-
|
|
18
|
-
@Component
|
|
19
|
-
export default class IconText extends Vue {
|
|
20
|
-
@Prop() title!: string
|
|
21
|
-
}
|
|
22
|
-
</script>
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
|
|
3
|
+
const { title } = defineProps<{
|
|
4
|
+
title: string
|
|
5
|
+
}>()
|
|
6
|
+
</script>
|
|
7
|
+
|
|
1
8
|
<template>
|
|
2
9
|
<!-- eslint-disable -->
|
|
3
10
|
<svg width="9" height="14" viewBox="0 0 9 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
11
|
+
<title>{{ title }}</title>
|
|
4
12
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M0 1.75C0 1.26675 0.391751 0.875 0.875 0.875H8.125C8.60825 0.875 9 1.26675 9 1.75C9 2.23325 8.60825 2.625 8.125 2.625H7.979V4.48831C7.979 5.22803 7.66678 6.03 6.7178 6.89211C7.11675 7.28524 7.40564 7.68358 7.60566 8.08961C7.89408 8.67506 7.979 9.23862 7.979 9.75921V11.375H8.125C8.60825 11.375 9 11.7668 9 12.25C9 12.7332 8.60825 13.125 8.125 13.125H0.875C0.391751 13.125 0 12.7332 0 12.25C0 11.7668 0.391751 11.375 0.875 11.375H0.962891V9.75726C0.962891 8.80986 1.29291 7.85054 2.27856 6.8915C1.33075 6.04208 0.962891 5.2413 0.962891 4.48636V2.625H0.875C0.391751 2.625 0 2.23325 0 1.75ZM2.21289 2.625H6.729V4.48831C6.729 4.84853 6.58924 5.47829 5.37852 6.37313C5.2214 6.48925 5.12763 6.67217 5.12505 6.86752C5.12248 7.06288 5.21141 7.2482 5.36542 7.36841C5.96537 7.83674 6.29783 8.2634 6.48435 8.64201C6.66927 9.01738 6.729 9.38242 6.729 9.75921V9.96977C6.43462 9.43897 5.93209 8.875 5.38105 8.875C3.89098 8.875 2.68379 9.73361 2.21289 10.5856V9.75726C2.21289 9.07761 2.45056 8.2919 3.63458 7.36764C3.78859 7.24742 3.87752 7.0621 3.87495 6.86674C3.87237 6.67139 3.7786 6.48848 3.62148 6.37235C2.38796 5.46065 2.21289 4.8262 2.21289 4.48636V2.625Z" fill="currentColor"
|
|
5
13
|
/>
|
|
6
14
|
</svg>
|
|
7
15
|
<!-- eslint-enable -->
|
|
8
16
|
</template>
|
|
9
|
-
|
|
10
|
-
<script lang="ts">
|
|
11
|
-
import { Component, Vue, Prop } from 'vue-facing-decorator'
|
|
12
|
-
|
|
13
|
-
@Component
|
|
14
|
-
export default class IconTimer extends Vue {
|
|
15
|
-
@Prop() title!: string
|
|
16
|
-
}
|
|
17
|
-
</script>
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
|
|
3
|
+
const { title } = defineProps<{
|
|
4
|
+
title: string
|
|
5
|
+
}>()
|
|
6
|
+
</script>
|
|
7
|
+
|
|
1
8
|
<template>
|
|
2
9
|
<!-- eslint-disable -->
|
|
3
10
|
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
@@ -11,12 +18,3 @@
|
|
|
11
18
|
</svg>
|
|
12
19
|
<!-- eslint-enable -->
|
|
13
20
|
</template>
|
|
14
|
-
|
|
15
|
-
<script lang="ts">
|
|
16
|
-
import { Component, Vue, Prop } from 'vue-facing-decorator'
|
|
17
|
-
|
|
18
|
-
@Component
|
|
19
|
-
export default class IconWarning extends Vue {
|
|
20
|
-
@Prop() title!: string
|
|
21
|
-
}
|
|
22
|
-
</script>
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
<IconClose title="close" />
|
|
15
15
|
</div>
|
|
16
16
|
<div
|
|
17
|
-
v-if="
|
|
17
|
+
v-if="$slots.head?.()[0]?.children?.length"
|
|
18
18
|
class="uikit-modal__head"
|
|
19
19
|
:class="{
|
|
20
20
|
'uikit-modal__head--no-border-bottom': removeHeadBorderBottom
|
|
@@ -26,34 +26,28 @@
|
|
|
26
26
|
</div>
|
|
27
27
|
</template>
|
|
28
28
|
|
|
29
|
-
<script lang="ts">
|
|
30
|
-
import { Vue, Component, Prop, Emit } from 'vue-facing-decorator'
|
|
29
|
+
<script setup lang="ts">
|
|
31
30
|
import IconClose from '../Icons/IconClose.vue'
|
|
32
|
-
import { dark } from '../../directives'
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
@Emit('close')
|
|
54
|
-
emitClose () {
|
|
55
|
-
return true
|
|
56
|
-
}
|
|
31
|
+
import { dark as vDark } from '../../directives'
|
|
32
|
+
|
|
33
|
+
const {
|
|
34
|
+
showCloseButton = false,
|
|
35
|
+
customCloseStyles = {},
|
|
36
|
+
isDarkMode = false,
|
|
37
|
+
removeHeadBorderBottom = false,
|
|
38
|
+
} = defineProps<{
|
|
39
|
+
showCloseButton?: boolean
|
|
40
|
+
customCloseStyles?: Record<string, string>
|
|
41
|
+
isDarkMode?: boolean
|
|
42
|
+
removeHeadBorderBottom?: boolean
|
|
43
|
+
}>()
|
|
44
|
+
|
|
45
|
+
const emit = defineEmits<{
|
|
46
|
+
'close': []
|
|
47
|
+
}>()
|
|
48
|
+
|
|
49
|
+
const emitClose = () => {
|
|
50
|
+
emit('close')
|
|
57
51
|
}
|
|
58
52
|
</script>
|
|
59
53
|
|
|
@@ -142,4 +136,4 @@ export default class Modal extends Vue {
|
|
|
142
136
|
}
|
|
143
137
|
}
|
|
144
138
|
}
|
|
145
|
-
</style>
|
|
139
|
+
</style>
|