@explorer-1/vue 1.0.6 → 1.1.1
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/CHANGELOG.md +19 -0
- package/components.d.ts +10 -2
- package/dist/explorer-1-vue.css +1 -1
- package/dist/explorer-1-vue.js +43157 -41849
- package/dist/explorer-1-vue.umd.cjs +44 -44
- package/dist/src/components/AsteroidWatchWidget/AsteroidWatchWidget.vue.d.ts +44 -0
- package/dist/src/components/AttractionCard/AttractionCard.vue.d.ts +146 -0
- package/dist/src/components/BaseButton/BaseButton.stories.d.ts +2 -2
- package/dist/src/components/BaseImageCaption/BaseImageCaption.vue.d.ts +44 -0
- package/dist/src/components/BaseLink/BaseLink.stories.d.ts +8 -0
- package/dist/src/components/BaseLink/BaseLink.vue.d.ts +50 -2
- package/dist/src/components/BlockCardGrid/BlockCardGrid.vue.d.ts +88 -0
- package/dist/src/components/BlockCardGridItem/BlockCardGridItem.vue.d.ts +44 -0
- package/dist/src/components/BlockCsrTable/BlockCsrTable.stories.d.ts +1 -1
- package/dist/src/components/BlockCsrTable/{CsrTestLimits.vue.d.ts → CsrDetails.vue.d.ts} +2 -2
- package/dist/src/components/BlockIframeEmbed/BlockIframeEmbed.vue.d.ts +44 -0
- package/dist/src/components/BlockImage/BlockImage.stories.d.ts +528 -0
- package/dist/src/components/BlockImage/BlockImage.vue.d.ts +88 -0
- package/dist/src/components/BlockImage/BlockImageFullBleed.vue.d.ts +44 -0
- package/dist/src/components/BlockImage/BlockImageStandard.vue.d.ts +44 -0
- package/dist/src/components/BlockImageCarousel/BlockImageCarousel.vue.d.ts +44 -0
- package/dist/src/components/BlockImageCarouselItem/BlockImageCarouselItem.vue.d.ts +44 -0
- package/dist/src/components/BlockImageComparison/BlockImageComparison.vue.d.ts +44 -0
- package/dist/src/components/BlockImageGallery/BlockImageGallery.vue.d.ts +44 -0
- package/dist/src/components/BlockInlineImage/BlockInlineImage.vue.d.ts +44 -0
- package/dist/src/components/BlockLinkCard/BlockLinkCard.vue.d.ts +44 -0
- package/dist/src/components/BlockLinkCarousel/BlockLinkCarousel.stories.d.ts +132 -0
- package/dist/src/components/BlockLinkCarousel/BlockLinkCarousel.vue.d.ts +132 -0
- package/dist/src/components/BlockLinkTile/BlockLinkTile.vue.d.ts +44 -0
- package/dist/src/components/BlockListCards/BlockListCards.vue.d.ts +44 -0
- package/dist/src/components/BlockQuote/BlockQuote.stories.d.ts +220 -0
- package/dist/src/components/BlockQuote/BlockQuote.vue.d.ts +44 -0
- package/dist/src/components/BlockRelatedLinks/BlockRelatedLinks.vue.d.ts +44 -0
- package/dist/src/components/BlockRelatedLinks/RelatedLink.vue.d.ts +44 -0
- package/dist/src/components/BlockRichTable/BlockRichTable.vue.d.ts +44 -0
- package/dist/src/components/BlockStreamfield/BlockStreamfield.stories.d.ts +2 -2
- package/dist/src/components/BlockStreamfield/BlockStreamfield.vue.d.ts +792 -0
- package/dist/src/components/BlockVideo/BlockVideo.vue.d.ts +44 -0
- package/dist/src/components/BlockVideoEmbed/BlockVideoEmbed.vue.d.ts +44 -0
- package/dist/src/components/DetailHeadline/DetailHeadline.vue.d.ts +44 -0
- package/dist/src/components/DsnWidget/DsnWidget.vue.d.ts +44 -0
- package/dist/src/components/EventCard/EventCard.vue.d.ts +44 -0
- package/dist/src/components/HeroListingIndex/HeroListingIndex.vue.d.ts +44 -0
- package/dist/src/components/HeroMedia/HeroMedia.vue.d.ts +44 -0
- package/dist/src/components/HeroMedium/HeroMedium.vue.d.ts +44 -0
- package/dist/src/components/HomepageCarousel/HomepageCarousel.vue.d.ts +88 -0
- package/dist/src/components/HomepageCarouselItem/HomepageCarouselItem.vue.d.ts +44 -0
- package/dist/src/components/HomepageEmbedBlock/HomepageEmbedBlock.vue.d.ts +44 -0
- package/dist/src/components/HomepageMissionsCarousel/HomepageMissionsCarousel.stories.d.ts +44 -0
- package/dist/src/components/HomepageMissionsCarousel/HomepageMissionsCarousel.vue.d.ts +88 -0
- package/dist/src/components/HomepageMissionsCarousel/HomepageMissionsCarouselItem.vue.d.ts +44 -0
- package/dist/src/components/HomepageStats/HomepageStats.stories.d.ts +528 -0
- package/dist/src/components/HomepageStats/HomepageStats.vue.d.ts +88 -0
- package/dist/src/components/HomepageTeaserBlock/HomepageTeaserBlock.vue.d.ts +44 -0
- package/dist/src/components/Icons/IconBookmark.vue.d.ts +2 -0
- package/dist/src/components/Icons/IconHourglass.vue.d.ts +2 -0
- package/dist/src/components/Icons/IconLocationCrosshairs.vue.d.ts +2 -0
- package/dist/src/components/Icons/IconMap.vue.d.ts +2 -0
- package/dist/src/components/Icons/Icons.stories.d.ts +33 -0
- package/dist/src/components/MetadataStacked/MetadataStacked.stories.d.ts +18 -0
- package/dist/src/components/MetadataStacked/MetadataStacked.vue.d.ts +65 -0
- package/dist/src/components/MissionDetailHighlights/MissionDetailHighlights.vue.d.ts +44 -0
- package/dist/src/components/MissionDetailHighlights/MissionDetailHighlightsCarousel.vue.d.ts +44 -0
- package/dist/src/components/MissionDetailHighlights/MissionDetailHighlightsCarouselItem.vue.d.ts +44 -0
- package/dist/src/components/MissionDetailInlineImage/MissionDetailInlineImage.vue.d.ts +44 -0
- package/dist/src/components/MissionDetailStreamfield/MissionDetailStreamfield.vue.d.ts +132 -0
- package/dist/src/components/MixinAnimationCaret/MixinAnimationCaret.stories.d.ts +22 -0
- package/dist/src/components/MixinAnimationCaret/MixinAnimationCaret.vue.d.ts +26 -0
- package/dist/src/components/MixinCarousel/MixinCarousel.stories.d.ts +88 -0
- package/dist/src/components/MixinCarousel/MixinCarousel.vue.d.ts +44 -0
- package/dist/src/components/NavDesktop/NavDesktop.stories.d.ts +1188 -0
- package/dist/src/components/NavDesktop/NavDesktop.vue.d.ts +352 -0
- package/dist/src/components/NavDesktop/NavDesktopDropdownContent.vue.d.ts +132 -0
- package/dist/src/components/NavDesktop/NavDesktopDropdownMore.vue.d.ts +176 -0
- package/dist/src/components/NavDesktop/NavDesktopTopHat.vue.d.ts +44 -0
- package/dist/src/components/NavDesktopEdu/NavDesktopEdu.stories.d.ts +220 -0
- package/dist/src/components/NavDesktopEdu/NavDesktopEdu.vue.d.ts +220 -0
- package/dist/src/components/NavHeading/NavHeading.vue.d.ts +44 -0
- package/dist/src/components/NavHighlight/NavHighlight.vue.d.ts +44 -0
- package/dist/src/components/NavJumpMenu/NavJumpMenu.vue.d.ts +98 -0
- package/dist/src/components/NavJumpMenu/NavJumpMenuContent.vue.d.ts +44 -0
- package/dist/src/components/NavLinkList/NavLinkList.vue.d.ts +88 -0
- package/dist/src/components/NavLogoLinks/NavLogoLinks.stories.d.ts +44 -0
- package/dist/src/components/NavLogoLinks/NavLogoLinks.vue.d.ts +44 -0
- package/dist/src/components/NavMobile/NavMobile.stories.d.ts +968 -0
- package/dist/src/components/NavMobile/NavMobile.vue.d.ts +220 -0
- package/dist/src/components/NavMobile/NavMobileDropdown.vue.d.ts +88 -0
- package/dist/src/components/NavMobile/NavMobileEdu.stories.d.ts +660 -0
- package/dist/src/components/NavMobile/NavMobileLink.vue.d.ts +44 -0
- package/dist/src/components/NavMobile/NavMobileSecondaryDropdown.vue.d.ts +44 -0
- package/dist/src/components/NavSecondary/NavSecondary.vue.d.ts +105 -0
- package/dist/src/components/NavSecondary/NavSecondaryDropdown.vue.d.ts +44 -0
- package/dist/src/components/NavSecondary/NavSecondaryDropdownContent.vue.d.ts +44 -0
- package/dist/src/components/NavSecondary/NavSecondaryLink.vue.d.ts +44 -0
- package/dist/src/components/PastEventsCarousel/PastEventsCarousel.vue.d.ts +88 -0
- package/dist/src/components/PodcastEpisodeCard/PodcastEpisodeCard.vue.d.ts +44 -0
- package/dist/src/components/PodcastSeriesCarousel/PodcastSeriesCarousel.vue.d.ts +176 -0
- package/dist/src/components/SearchResultCard/SearchResultCard.stories.d.ts +11 -0
- package/dist/src/components/SearchResultCard/SearchResultCard.vue.d.ts +310 -0
- package/dist/src/components/SearchResultGridItem/SearchResultGridItem.vue.d.ts +132 -0
- package/dist/src/components/SearchResultsList/SearchResultsList.stories.d.ts +191 -0
- package/dist/src/components/SearchResultsList/SearchResultsList.vue.d.ts +451 -0
- package/dist/src/components/SwimlaneCTA/SwimlaneCTA.vue.d.ts +44 -0
- package/dist/src/components/TheFooter/TheFooter.vue.d.ts +44 -0
- package/dist/src/components/ThumbnailCarousel/ThumbnailCarousel.vue.d.ts +176 -0
- package/dist/src/components/TimelineDialog/TimelineDialog.stories.d.ts +88 -0
- package/dist/src/components/TimelineDialog/TimelineDialog.vue.d.ts +88 -0
- package/dist/src/components/TopicDetailMissionCarousel/TopicDetailMissionCarousel.vue.d.ts +88 -0
- package/dist/src/components/TopicDetailMissionCarouselItem/TopicDetailMissionCarouselItem.vue.d.ts +44 -0
- package/dist/src/components/TopicDetailMore/TopicDetailMore.stories.d.ts +44 -0
- package/dist/src/components/TopicDetailMore/TopicDetailMore.vue.d.ts +44 -0
- package/dist/src/components/TopicDetailMoreItem/TopicDetailMoreItem.vue.d.ts +44 -0
- package/dist/src/components/TopicDetailStreamfield/TopicDetailStreamfield.vue.d.ts +132 -0
- package/dist/src/interfaces.d.ts +36 -1
- package/dist/src/templates/PageAudioDetail/PageAudioDetail.vue.d.ts +440 -0
- package/dist/src/templates/PageContent/PageContent.vue.d.ts +1199 -0
- package/dist/src/templates/PageEventDetail/PageEventDetail.vue.d.ts +1012 -0
- package/dist/src/templates/PageImageDetail/PageImageDetail.vue.d.ts +1188 -0
- package/dist/src/templates/PageNewsDetail/PageNewsDetail.vue.d.ts +1056 -0
- package/dist/src/templates/PageVideoDetail/PageVideoDetail.vue.d.ts +220 -0
- package/dist/src/templates/edu/PageEduCollectionsDetail/PageEduCollectionsDetail.vue.d.ts +98 -0
- package/dist/src/templates/edu/PageEduEventDetail/PageEduEventDetail.vue.d.ts +1012 -0
- package/dist/src/templates/edu/PageEduExplainerArticle/PageEduExplainerArticle.vue.d.ts +1154 -0
- package/dist/src/templates/edu/PageEduLesson/PageEduLesson.vue.d.ts +98 -0
- package/dist/src/templates/edu/PageEduNewsDetail/PageEduNewsDetail.vue.d.ts +98 -0
- package/dist/src/templates/edu/PageEduStudentProject/PageEduStudentProject.vue.d.ts +98 -0
- package/dist/src/templates/edu/PageEduTeachableMoment/PageEduTeachableMoment.vue.d.ts +98 -0
- package/dist/src/templates/explore-jpl/BaseExploreApp/BaseExploreApp.stories.d.ts +21 -0
- package/dist/src/templates/explore-jpl/BaseExploreApp/BaseExploreApp.vue.d.ts +41 -0
- package/dist/src/templates/explore-jpl/PageContentExploreApp/PageContentExploreApp.stories.d.ts +193 -0
- package/dist/src/templates/explore-jpl/PageContentExploreApp/PageContentExploreApp.vue.d.ts +15 -0
- package/dist/src/templates/explore-jpl/PageSiteExploreApp/PageSiteExploreApp.stories.d.ts +80 -0
- package/dist/src/templates/explore-jpl/PageSiteExploreApp/PageSiteExploreApp.vue.d.ts +15 -0
- package/dist/src/templates/www/PageAsteroidWatchIndex/PageAsteroidWatchIndex.vue.d.ts +1023 -2
- package/dist/src/templates/www/PageCuratedGallery/PageCuratedGallery.vue.d.ts +968 -0
- package/dist/src/templates/www/PageGoDirectory/PageGoDirectory.vue.d.ts +354 -0
- package/dist/src/templates/www/PageHomepage/PageHomepage.vue.d.ts +572 -0
- package/dist/src/templates/www/PageInfographicDetail/PageInfographicDetail.vue.d.ts +44 -0
- package/dist/src/templates/www/PageMissionDetail/PageMissionDetail.vue.d.ts +352 -0
- package/dist/src/templates/www/PagePodcast/PagePodcast.vue.d.ts +706 -0
- package/dist/src/templates/www/PagePodcastSeason/PagePodcastSeason.vue.d.ts +530 -0
- package/dist/src/templates/www/PagePressKitIndex/PagePressKitIndex.vue.d.ts +354 -0
- package/dist/src/templates/www/PageProfileDetail/PageProfileDetail.vue.d.ts +97 -0
- package/dist/src/templates/www/PageRoboticsDetail/PageRoboticsDetail.vue.d.ts +1056 -0
- package/dist/src/templates/www/PageTimeline/PageTimeline.vue.d.ts +185 -0
- package/dist/src/templates/www/PageTopicDetail/PageTopicDetail.vue.d.ts +396 -0
- package/package.json +25 -24
- package/src/components/AttractionCard/AttractionCard.vue +113 -0
- package/src/components/BaseButton/BaseButton.stories.ts +2 -2
- package/src/components/BaseButton/BaseButton.vue +6 -6
- package/src/components/BaseCarousel/BaseCarousel.vue +2 -2
- package/src/components/BaseLink/BaseLink.stories.js +8 -0
- package/src/components/BaseLink/BaseLink.vue +21 -1
- package/src/components/BlockAccordion/BlockAccordion.vue +1 -1
- package/src/components/BlockCsrTable/BlockCsrTable.vue +1 -1
- package/src/components/BlockCsrTable/CsrTestLimitsTable.vue +1 -0
- package/src/components/BlockCta/BlockCta.vue +1 -1
- package/src/components/BlockGist/BlockGist.vue +2 -1
- package/src/components/BlockImageCarousel/BlockImageCarousel.vue +2 -2
- package/src/components/BlockLinkCard/BlockLinkCardCollectionLg.vue +1 -1
- package/src/components/CalendarChip/CalendarChip.vue +1 -1
- package/src/components/HeroInlineMedia/HeroInlineMedia.vue +1 -1
- package/src/components/HomepageMissionsCarousel/HomepageMissionsCarousel.vue +2 -2
- package/src/components/Icons/IconBookmark.vue +25 -0
- package/src/components/Icons/IconHourglass.vue +35 -0
- package/src/components/Icons/IconLocationCrosshairs.vue +26 -0
- package/src/components/Icons/IconMap.vue +26 -0
- package/src/components/Icons/Icons.stories.ts +29 -0
- package/src/components/MetaPanel/MetaPanel.vue +1 -1
- package/src/components/MetadataEduResource/MetadataEduResource.vue +1 -1
- package/src/components/MetadataEvent/MetadataEvent.vue +1 -1
- package/src/components/MetadataStacked/MetadataStacked.stories.js +21 -0
- package/src/components/MetadataStacked/MetadataStacked.vue +71 -0
- package/src/components/MissionDetailHero/MissionDetailHero.vue +1 -1
- package/src/components/MissionDetailHighlights/MissionDetailHighlights.vue +24 -19
- package/src/components/MissionDetailHighlights/MissionDetailHighlightsCarousel.vue +2 -2
- package/src/components/MixinAnimationCaret/MixinAnimationCaret.vue +34 -0
- package/src/components/MixinCarousel/MixinCarousel.vue +2 -2
- package/src/components/MixinFancybox/MixinFancybox.vue +2 -3
- package/src/components/NavDesktop/NavDesktopDropdownMore.vue +1 -1
- package/src/components/NavJumpMenu/NavJumpMenu.vue +2 -2
- package/src/components/NavJumpMenu/NavJumpMenuContent.vue +1 -1
- package/src/components/NavSearchForm/NavSearchForm.vue +1 -1
- package/src/components/NavSecondary/NavSecondary.vue +11 -2
- package/src/components/NavSocial/NavSocial.vue +1 -1
- package/src/components/RoboticsDetailStats/RoboticsDetailStats.vue +3 -3
- package/src/components/SearchFilterGroup/SearchFilterGroup.vue +10 -4
- package/src/components/SearchPagination/SearchPagination.vue +2 -2
- package/src/components/SearchResultCard/SearchResultCard.stories.js +11 -0
- package/src/components/SearchResultCard/SearchResultCard.vue +31 -1
- package/src/components/SearchResultsList/SearchResultsList.stories.js +870 -0
- package/src/components/SearchResultsList/SearchResultsList.vue +19 -2
- package/src/components/ShareButtons/ShareButtons.vue +4 -4
- package/src/components/ShareButtonsEdu/ShareButtonsEdu.vue +1 -1
- package/src/components/TextArea/TextArea.vue +2 -1
- package/src/components/TextInput/TextInput.vue +1 -1
- package/src/components/TopicDetailMore/TopicDetailMore.vue +1 -1
- package/src/interfaces.ts +40 -1
- package/src/main.ts +1 -1
- package/src/templates/PageAudioDetail/PageAudioDetail.vue +9 -8
- package/src/templates/PageContent/PageContent.vue +2 -0
- package/src/templates/edu/PageEduNewsDetail/PageEduNewsDetail.vue +1 -1
- package/src/templates/edu/PageEduStudentProject/PageEduStudentProject.vue +1 -1
- package/src/templates/explore-jpl/BaseExploreApp/BaseExploreApp.stories.js +22 -0
- package/src/templates/explore-jpl/BaseExploreApp/BaseExploreApp.vue +65 -0
- package/src/templates/explore-jpl/PageContentExploreApp/PageContentExploreApp.stories.js +102 -0
- package/src/templates/explore-jpl/PageContentExploreApp/PageContentExploreApp.vue +128 -0
- package/src/templates/explore-jpl/PageSiteExploreApp/PageSiteExploreApp.stories.js +90 -0
- package/src/templates/explore-jpl/PageSiteExploreApp/PageSiteExploreApp.vue +166 -0
- package/vite.config.ts +0 -2
- package/dist/src/components/BlockCsrTable/CsrAttachment.vue.d.ts +0 -19
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@explorer-1/vue",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -13,37 +13,38 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"prettier": "@explorer-1/prettier-config",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@fancyapps/ui": "^
|
|
17
|
-
"@tailwindcss/forms": "^0.5.
|
|
18
|
-
"ag-grid-vue3": "^
|
|
19
|
-
"animejs": "^3.
|
|
16
|
+
"@fancyapps/ui": "^6.1.11",
|
|
17
|
+
"@tailwindcss/forms": "^0.5.11",
|
|
18
|
+
"ag-grid-vue3": "^35.0.1",
|
|
19
|
+
"animejs": "^4.3.5",
|
|
20
20
|
"click-outside-vue3": "^4.0.1",
|
|
21
21
|
"datebook": "^8.0.1",
|
|
22
|
-
"dayjs": "^1.11.
|
|
23
|
-
"fast-qs": "^2.
|
|
24
|
-
"lodash": "^4.17.
|
|
22
|
+
"dayjs": "^1.11.19",
|
|
23
|
+
"fast-qs": "^2.1.2",
|
|
24
|
+
"lodash": "^4.17.23",
|
|
25
25
|
"mitt": "^3.0.1",
|
|
26
|
-
"sass": "^1.
|
|
27
|
-
"swiper": "^
|
|
28
|
-
"tailwindcss": "^3.4.
|
|
26
|
+
"sass": "^1.97.3",
|
|
27
|
+
"swiper": "^12.1.2",
|
|
28
|
+
"tailwindcss": "^3.4.19",
|
|
29
29
|
"twitter-widgets": "^2.0.0",
|
|
30
|
-
"vue": "^3.5.
|
|
30
|
+
"vue": "^3.5.28",
|
|
31
31
|
"vue-bind-once": "^0.2.1",
|
|
32
|
+
"vue-router": "^5.0.2",
|
|
32
33
|
"vue3-compare-image": "^1.2.5",
|
|
33
|
-
"vue3-observe-visibility": "^1.0.
|
|
34
|
-
"@explorer-1/common": "2.
|
|
34
|
+
"vue3-observe-visibility": "^1.0.4",
|
|
35
|
+
"@explorer-1/common": "2.1.1"
|
|
35
36
|
},
|
|
36
37
|
"devDependencies": {
|
|
37
|
-
"@vitejs/plugin-vue": "^
|
|
38
|
-
"a11y-dialog": "^8.1.
|
|
39
|
-
"autoprefixer": "^10.4.
|
|
40
|
-
"postcss": "^8.
|
|
41
|
-
"postcss-import": "^16.1.
|
|
42
|
-
"typescript": "^5.
|
|
43
|
-
"unplugin-vue-components": "^0.
|
|
44
|
-
"vite": "^
|
|
45
|
-
"vite-plugin-dts": "^
|
|
46
|
-
"vue-tsc": "^2.
|
|
38
|
+
"@vitejs/plugin-vue": "^6.0.4",
|
|
39
|
+
"a11y-dialog": "^8.1.5",
|
|
40
|
+
"autoprefixer": "^10.4.24",
|
|
41
|
+
"postcss": "^8.5.6",
|
|
42
|
+
"postcss-import": "^16.1.1",
|
|
43
|
+
"typescript": "^5.9.3",
|
|
44
|
+
"unplugin-vue-components": "^31.0.0",
|
|
45
|
+
"vite": "^7.3.1",
|
|
46
|
+
"vite-plugin-dts": "^4.5.4",
|
|
47
|
+
"vue-tsc": "^3.2.4",
|
|
47
48
|
"@explorer-1/prettier-config": "1.0.0"
|
|
48
49
|
},
|
|
49
50
|
"storybook": {
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { PropType } from 'vue'
|
|
3
|
+
import type { HeadingLevel } from './../BaseHeading/BaseHeading.vue'
|
|
4
|
+
import BaseLink from './../BaseLink/BaseLink.vue'
|
|
5
|
+
import BaseHeading from './../BaseHeading/BaseHeading.vue'
|
|
6
|
+
import BaseImage from './../BaseImage/BaseImage.vue'
|
|
7
|
+
import BaseImagePlaceholder from './../BaseImagePlaceholder/BaseImagePlaceholder.vue'
|
|
8
|
+
import MetadataStacked from '../MetadataStacked/MetadataStacked.vue'
|
|
9
|
+
|
|
10
|
+
const props = defineProps({
|
|
11
|
+
/**
|
|
12
|
+
* The link for the listing card.
|
|
13
|
+
*/
|
|
14
|
+
url: {
|
|
15
|
+
type: String,
|
|
16
|
+
default: undefined
|
|
17
|
+
},
|
|
18
|
+
/**
|
|
19
|
+
* The title text for the listing card. Plain text only.
|
|
20
|
+
*/
|
|
21
|
+
title: {
|
|
22
|
+
type: String,
|
|
23
|
+
default: undefined
|
|
24
|
+
},
|
|
25
|
+
/**
|
|
26
|
+
* The text for location metadata. Plain text only.
|
|
27
|
+
*/
|
|
28
|
+
location: {
|
|
29
|
+
type: String,
|
|
30
|
+
default: undefined
|
|
31
|
+
},
|
|
32
|
+
/**
|
|
33
|
+
* The text name for the location icon. Defaults to Explorer-1 location icon. Plain text only.
|
|
34
|
+
*/
|
|
35
|
+
locationIcon: {
|
|
36
|
+
type: String,
|
|
37
|
+
default: undefined
|
|
38
|
+
},
|
|
39
|
+
/**
|
|
40
|
+
* The text for the wait time metadata. Plain text only.
|
|
41
|
+
*/
|
|
42
|
+
wait: {
|
|
43
|
+
type: String,
|
|
44
|
+
default: undefined
|
|
45
|
+
},
|
|
46
|
+
/**
|
|
47
|
+
* The image for the listing card.
|
|
48
|
+
*/
|
|
49
|
+
image: {
|
|
50
|
+
type: Object
|
|
51
|
+
},
|
|
52
|
+
/**
|
|
53
|
+
* Controls the visibility of the Bookmark icon and its associated metadata.
|
|
54
|
+
*/
|
|
55
|
+
showMyList: {
|
|
56
|
+
type: Boolean,
|
|
57
|
+
default: false
|
|
58
|
+
},
|
|
59
|
+
/**
|
|
60
|
+
* Change the heading level for semantic markup. This does not affect the style of the heading.
|
|
61
|
+
*/
|
|
62
|
+
headingLevel: {
|
|
63
|
+
type: (String as PropType<HeadingLevel>) || null,
|
|
64
|
+
required: false,
|
|
65
|
+
default: 'h5'
|
|
66
|
+
}
|
|
67
|
+
})
|
|
68
|
+
</script>
|
|
69
|
+
|
|
70
|
+
<template>
|
|
71
|
+
<BaseLink
|
|
72
|
+
variant="none"
|
|
73
|
+
:to="props.url"
|
|
74
|
+
class="SearchResultCard AttractionCard"
|
|
75
|
+
link-class="block"
|
|
76
|
+
>
|
|
77
|
+
<div
|
|
78
|
+
class="border-gray-light-mid lg:pb-10 lg:mb-10 relative grid grid-cols-12 gap-5 pb-6 mb-6 border-b"
|
|
79
|
+
>
|
|
80
|
+
<div class="col-span-9">
|
|
81
|
+
<BaseHeading
|
|
82
|
+
v-if="props.title"
|
|
83
|
+
:level="props.headingLevel"
|
|
84
|
+
size="h5"
|
|
85
|
+
class="mb-5"
|
|
86
|
+
>{{ props.title }}
|
|
87
|
+
</BaseHeading>
|
|
88
|
+
<MetadataStacked
|
|
89
|
+
:location="props.location"
|
|
90
|
+
:wait="props.wait"
|
|
91
|
+
:show-my-list="props.showMyList"
|
|
92
|
+
:location-icon="props.locationIcon"
|
|
93
|
+
/>
|
|
94
|
+
</div>
|
|
95
|
+
<div
|
|
96
|
+
v-if="props.image"
|
|
97
|
+
class="SearchResultCard-image col-span-3"
|
|
98
|
+
>
|
|
99
|
+
<BaseImagePlaceholder aspect-ratio="square">
|
|
100
|
+
<BaseImage
|
|
101
|
+
v-if="props.image.src"
|
|
102
|
+
:src="props.image.src.url"
|
|
103
|
+
:width="props.image.src.width"
|
|
104
|
+
:height="props.image.src.height"
|
|
105
|
+
alt=""
|
|
106
|
+
object-fit-class="cover"
|
|
107
|
+
loading="lazy"
|
|
108
|
+
/>
|
|
109
|
+
</BaseImagePlaceholder>
|
|
110
|
+
</div>
|
|
111
|
+
</div>
|
|
112
|
+
</BaseLink>
|
|
113
|
+
</template>
|
|
@@ -8,8 +8,8 @@ export default {
|
|
|
8
8
|
parameters: {
|
|
9
9
|
slots: {
|
|
10
10
|
default: 'The contents of the button, usually text. Override with `<template #default>`',
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
iconLeft: 'Appears to the left of the `default` slot. Override with `<template #iconLeft>`',
|
|
12
|
+
iconRight: 'Appears to the right of the `default` slot. Override with `<template #iconRight>`'
|
|
13
13
|
},
|
|
14
14
|
docs: {
|
|
15
15
|
description: {
|
|
@@ -108,7 +108,7 @@ export default defineComponent({
|
|
|
108
108
|
},
|
|
109
109
|
variantClass(): string {
|
|
110
110
|
let classes = variants[this.variant]
|
|
111
|
-
if (!this.$slots.default && this.$slots.
|
|
111
|
+
if (!this.$slots.default && (this.$slots.iconRight || this.$slots.iconLeft)) {
|
|
112
112
|
classes = classes + ' -icon-only'
|
|
113
113
|
} else if (this.compact) {
|
|
114
114
|
classes = classes + ' -compact'
|
|
@@ -133,11 +133,11 @@ export default defineComponent({
|
|
|
133
133
|
:to="computedTo ? computedTo : undefined"
|
|
134
134
|
@click="$emit('click')"
|
|
135
135
|
>
|
|
136
|
-
<
|
|
137
|
-
<slot name="
|
|
138
|
-
<slot name="
|
|
139
|
-
<slot name="
|
|
140
|
-
</
|
|
136
|
+
<div class="label flex">
|
|
137
|
+
<span><slot name="iconLeft"></slot></span>
|
|
138
|
+
<span><slot name="default"></slot></span>
|
|
139
|
+
<span><slot name="iconRight"></slot></span>
|
|
140
|
+
</div>
|
|
141
141
|
</component>
|
|
142
142
|
</template>
|
|
143
143
|
<style lang="scss">
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
class="swiper-prev xl:text-xl border-collapse"
|
|
14
14
|
aria-label="Previous slide"
|
|
15
15
|
>
|
|
16
|
-
<template #
|
|
16
|
+
<template #iconRight>
|
|
17
17
|
<IconPrev />
|
|
18
18
|
</template>
|
|
19
19
|
</BaseButton>
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
class="swiper-next xl:text-xl border-collapse"
|
|
22
22
|
aria-label="Next slide"
|
|
23
23
|
>
|
|
24
|
-
<template #
|
|
24
|
+
<template #iconRight>
|
|
25
25
|
<IconNext />
|
|
26
26
|
</template>
|
|
27
27
|
</BaseButton>
|
|
@@ -108,12 +108,24 @@ export default defineComponent({
|
|
|
108
108
|
required: false,
|
|
109
109
|
default: ''
|
|
110
110
|
},
|
|
111
|
-
/** Customize the left margin of the caret using Tailwind classes */
|
|
111
|
+
/** Customize the left margin of the caret using Tailwind classes. Only applied when caretLeft is set to false. */
|
|
112
112
|
caretMarginLeft: {
|
|
113
113
|
type: String,
|
|
114
114
|
required: false,
|
|
115
115
|
default: ''
|
|
116
116
|
},
|
|
117
|
+
/** Customize the right margin of the caret using Tailwind classes. Only applied when caretLeft is set to true. */
|
|
118
|
+
caretMarginRight: {
|
|
119
|
+
type: String,
|
|
120
|
+
required: false,
|
|
121
|
+
default: ''
|
|
122
|
+
},
|
|
123
|
+
/** Modifies the icon and animation to appear on the left of the text slot */
|
|
124
|
+
caretLeft: {
|
|
125
|
+
type: Boolean,
|
|
126
|
+
required: false,
|
|
127
|
+
default: false
|
|
128
|
+
},
|
|
117
129
|
/** Overrides the theme's `active` color and uses the `primary` color instead. */
|
|
118
130
|
usePrimaryColor: {
|
|
119
131
|
type: Boolean,
|
|
@@ -270,6 +282,8 @@ export default defineComponent({
|
|
|
270
282
|
:arrow-class="caretClass"
|
|
271
283
|
:color="caretColor"
|
|
272
284
|
:margin-left="caretMarginLeft"
|
|
285
|
+
:margin-right="caretMarginRight"
|
|
286
|
+
:caret-left="caretLeft"
|
|
273
287
|
>
|
|
274
288
|
<slot></slot>
|
|
275
289
|
</MixinAnimationCaret>
|
|
@@ -280,6 +294,8 @@ export default defineComponent({
|
|
|
280
294
|
:arrow-class="caretClass"
|
|
281
295
|
:color="caretColor"
|
|
282
296
|
:margin-left="caretMarginLeft"
|
|
297
|
+
:margin-right="caretMarginRight"
|
|
298
|
+
:caret-left="caretLeft"
|
|
283
299
|
>
|
|
284
300
|
<slot></slot>
|
|
285
301
|
</MixinAnimationCaret>
|
|
@@ -305,6 +321,8 @@ export default defineComponent({
|
|
|
305
321
|
:arrow-class="caretClass"
|
|
306
322
|
:color="caretColor"
|
|
307
323
|
:margin-left="caretMarginLeft"
|
|
324
|
+
:margin-right="caretMarginRight"
|
|
325
|
+
:caret-left="caretLeft"
|
|
308
326
|
>
|
|
309
327
|
<slot></slot>
|
|
310
328
|
</MixinAnimationCaret>
|
|
@@ -315,6 +333,8 @@ export default defineComponent({
|
|
|
315
333
|
:arrow-class="caretClass"
|
|
316
334
|
:color="caretColor"
|
|
317
335
|
:margin-left="caretMarginLeft"
|
|
336
|
+
:margin-right="caretMarginRight"
|
|
337
|
+
:caret-left="caretLeft"
|
|
318
338
|
>
|
|
319
339
|
<slot></slot>
|
|
320
340
|
</MixinAnimationCaret>
|
|
@@ -17,7 +17,7 @@ import { AgGridVue } from 'ag-grid-vue3'
|
|
|
17
17
|
ModuleRegistry.registerModules([AllCommunityModule])
|
|
18
18
|
ModuleRegistry.registerModules([ValidationModule])
|
|
19
19
|
|
|
20
|
-
interface BlockCsrTableProps {
|
|
20
|
+
export interface BlockCsrTableProps {
|
|
21
21
|
rowData?: BlockCsrTableRow[]
|
|
22
22
|
attachmentPrefix?: string
|
|
23
23
|
apiEndpoint?: string
|
|
@@ -23,6 +23,7 @@ withDefaults(defineProps<CsrTestLimitsTableProps>(), {
|
|
|
23
23
|
const headerClass = [
|
|
24
24
|
'bg-jpl-blue-darker edu:bg-jpl-violet-darker font-secondary text-white text-sm border-gray-light-mid px-3 border-b text-left'
|
|
25
25
|
]
|
|
26
|
+
// @ts-ignore
|
|
26
27
|
const CsrTestLimitsTableRef = ref()
|
|
27
28
|
const theme = themeMaterial.withParams({
|
|
28
29
|
accentColor: 'rgb(25 156 227)', // jpl-blue-light
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
class="md:mt-5 md:mb-2 mt-4 mb-1"
|
|
21
21
|
>
|
|
22
22
|
{{ data.text }}
|
|
23
|
-
<template #
|
|
23
|
+
<template #iconRight><IconExternal class="ml-2 text-sm" /></template>
|
|
24
24
|
<!-- TODO: replace with external link icon once icons are available -->
|
|
25
25
|
</BaseButton>
|
|
26
26
|
</div>
|
|
@@ -9,11 +9,12 @@ export interface BlockGistData extends BlockData {
|
|
|
9
9
|
id?: string
|
|
10
10
|
url?: string
|
|
11
11
|
}
|
|
12
|
-
interface BlockGistProps {
|
|
12
|
+
export interface BlockGistProps {
|
|
13
13
|
data: BlockGistData
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
const props = defineProps<BlockGistProps>()
|
|
17
|
+
// @ts-ignore
|
|
17
18
|
const frame = ref()
|
|
18
19
|
const loaded = ref(false)
|
|
19
20
|
const checkGistLoaded = async () => {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
class="swiper-prev !text-lg xl:!text-xl border-collapse"
|
|
28
28
|
aria-label="Previous slide"
|
|
29
29
|
>
|
|
30
|
-
<template #
|
|
30
|
+
<template #iconRight>
|
|
31
31
|
<IconPrev />
|
|
32
32
|
</template>
|
|
33
33
|
</BaseButton>
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
class="swiper-next !text-lg xl:!text-xl border-collapse"
|
|
36
36
|
aria-label="Next slide"
|
|
37
37
|
>
|
|
38
|
-
<template #
|
|
38
|
+
<template #iconRight>
|
|
39
39
|
<IconNext />
|
|
40
40
|
</template>
|
|
41
41
|
</BaseButton>
|
|
@@ -8,7 +8,7 @@ import BaseImagePlaceholder from './../BaseImagePlaceholder/BaseImagePlaceholder
|
|
|
8
8
|
import BasePill from './../BasePill/BasePill.vue'
|
|
9
9
|
import MetadataEduResource from './../MetadataEduResource/MetadataEduResource.vue'
|
|
10
10
|
|
|
11
|
-
interface BlockLinkCardCollectionLgProps {
|
|
11
|
+
export interface BlockLinkCardCollectionLgProps {
|
|
12
12
|
theItem?: EduResourceCardObject
|
|
13
13
|
metadataType?: ContentTypeKey
|
|
14
14
|
metadataAttrs?: any
|
|
@@ -4,7 +4,7 @@ import { useThemeStore } from '../../store/theme'
|
|
|
4
4
|
import { mixinFormatSplitEventDates } from './../../utils/mixins'
|
|
5
5
|
const themeStore = useThemeStore()
|
|
6
6
|
|
|
7
|
-
interface CalendarChipProps {
|
|
7
|
+
export interface CalendarChipProps {
|
|
8
8
|
startDate?: string
|
|
9
9
|
endDate?: string
|
|
10
10
|
ongoing?: boolean
|
|
@@ -12,7 +12,7 @@ import BlockImageStandard from './../BlockImage/BlockImageStandard.vue'
|
|
|
12
12
|
import BlockVideo, { type BlockVideoData } from './../BlockVideo/BlockVideo.vue'
|
|
13
13
|
import type { StreamfieldBlockData } from './../../interfaces'
|
|
14
14
|
|
|
15
|
-
interface HeroInlineMediaProps {
|
|
15
|
+
export interface HeroInlineMediaProps {
|
|
16
16
|
heroBlocks: StreamfieldBlockData[]
|
|
17
17
|
constrain?: boolean
|
|
18
18
|
}
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
class="swiper-prev xl:text-base -ml-16"
|
|
63
63
|
:aria-label="data.heading + ' - Previous slide'"
|
|
64
64
|
>
|
|
65
|
-
<template #
|
|
65
|
+
<template #iconRight>
|
|
66
66
|
<span
|
|
67
67
|
class="arrow-wrapper"
|
|
68
68
|
aria-hidden="true"
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
class="swiper-next xl:text-base -mr-16"
|
|
83
83
|
:aria-label="data.heading + ' - Next slide'"
|
|
84
84
|
>
|
|
85
|
-
<template #
|
|
85
|
+
<template #iconRight>
|
|
86
86
|
<span
|
|
87
87
|
class="arrow-wrapper"
|
|
88
88
|
aria-hidden="true"
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg
|
|
3
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
4
|
+
class="IconBookmark"
|
|
5
|
+
width="16"
|
|
6
|
+
height="21"
|
|
7
|
+
viewBox="0 0 16 21"
|
|
8
|
+
fill="none"
|
|
9
|
+
>
|
|
10
|
+
>
|
|
11
|
+
<path
|
|
12
|
+
d="M0 21L8 16.4062L16 21V0H0V21Z"
|
|
13
|
+
fill="#949494"
|
|
14
|
+
/>
|
|
15
|
+
</svg>
|
|
16
|
+
</template>
|
|
17
|
+
<script lang="ts">
|
|
18
|
+
import { defineComponent } from 'vue'
|
|
19
|
+
export default defineComponent({
|
|
20
|
+
name: 'IconHourglass'
|
|
21
|
+
})
|
|
22
|
+
</script>
|
|
23
|
+
<style lang="scss">
|
|
24
|
+
@import '@explorer-1/common/src/scss/components/IconHourglass';
|
|
25
|
+
</style>
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg
|
|
3
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
4
|
+
class="IconHourglass"
|
|
5
|
+
width="21"
|
|
6
|
+
height="20"
|
|
7
|
+
viewBox="0 0 21 20"
|
|
8
|
+
fill="none"
|
|
9
|
+
>
|
|
10
|
+
<g clip-path="url(#clip0_162_26354)">
|
|
11
|
+
<path
|
|
12
|
+
d="M0.875 0H0V1.875H0.875H1.16667V4.6875V5.07422L1.42188 5.34766L5.76042 9.99609L1.42188 14.6484L1.16667 14.9219V15.3086V18.1211H0.875L0 18.125V20H0.875H12.0604C11.3932 19.4961 10.8172 18.8594 10.3724 18.125H2.91667V15.6992L7 11.3242L9.35156 13.8438C9.40625 13.0898 9.57031 12.3711 9.83281 11.707L8.23594 10L12.5781 5.35156L12.8333 5.07812V4.69141V1.87891H13.125H14V0.00390625L13.125 0H0.875ZM11.0833 1.875V4.30078L7 8.67578L2.91667 4.30078V1.875H11.0833ZM21 14.375C21 12.8832 20.4469 11.4524 19.4623 10.3975C18.4777 9.34263 17.1424 8.75 15.75 8.75C14.3576 8.75 13.0223 9.34263 12.0377 10.3975C11.0531 11.4524 10.5 12.8832 10.5 14.375C10.5 15.8668 11.0531 17.2976 12.0377 18.3525C13.0223 19.4074 14.3576 20 15.75 20C17.1424 20 18.4777 19.4074 19.4623 18.3525C20.4469 17.2976 21 15.8668 21 14.375ZM16.3333 11.25V11.875V13.75H17.5H18.0833V15H17.5H15.75H15.1667V14.375V11.875V11.25H16.3333Z"
|
|
13
|
+
fill="currentColor"
|
|
14
|
+
/>
|
|
15
|
+
</g>
|
|
16
|
+
<defs>
|
|
17
|
+
<clipPath id="clip0_162_26354">
|
|
18
|
+
<rect
|
|
19
|
+
width="21"
|
|
20
|
+
height="20"
|
|
21
|
+
fill="white"
|
|
22
|
+
/>
|
|
23
|
+
</clipPath>
|
|
24
|
+
</defs>
|
|
25
|
+
</svg>
|
|
26
|
+
</template>
|
|
27
|
+
<script lang="ts">
|
|
28
|
+
import { defineComponent } from 'vue'
|
|
29
|
+
export default defineComponent({
|
|
30
|
+
name: 'IconHourglass'
|
|
31
|
+
})
|
|
32
|
+
</script>
|
|
33
|
+
<style lang="scss">
|
|
34
|
+
@import '@explorer-1/common/src/scss/components/IconHourglass';
|
|
35
|
+
</style>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg
|
|
3
|
+
class="IconLocationCrosshairs"
|
|
4
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
5
|
+
width="32"
|
|
6
|
+
height="32"
|
|
7
|
+
viewBox="0 0 32 32"
|
|
8
|
+
fill="none"
|
|
9
|
+
aria-hidden="true"
|
|
10
|
+
focusable="false"
|
|
11
|
+
>
|
|
12
|
+
<path
|
|
13
|
+
d="M18 0V2V4.16875C23.025 5.00625 26.9937 8.975 27.8312 14H30H32V18H30H27.8312C26.9937 23.025 23.025 26.9937 18 27.8312V30V32H14V30V27.8312C8.975 26.9937 5.00625 23.025 4.16875 18H2H0V14H2H4.16875C5.00625 8.975 8.975 5.00625 14 4.16875V2V0H18ZM8 16C8 18.1217 8.84285 20.1566 10.3431 21.6569C11.8434 23.1571 13.8783 24 16 24C18.1217 24 20.1566 23.1571 21.6569 21.6569C23.1571 20.1566 24 18.1217 24 16C24 13.8783 23.1571 11.8434 21.6569 10.3431C20.1566 8.84285 18.1217 8 16 8C13.8783 8 11.8434 8.84285 10.3431 10.3431C8.84285 11.8434 8 13.8783 8 16ZM16 11C17.3261 11 18.5979 11.5268 19.5355 12.4645C20.4732 13.4021 21 14.6739 21 16C21 17.3261 20.4732 18.5979 19.5355 19.5355C18.5979 20.4732 17.3261 21 16 21C14.6739 21 13.4021 20.4732 12.4645 19.5355C11.5268 18.5979 11 17.3261 11 16C11 14.6739 11.5268 13.4021 12.4645 12.4645C13.4021 11.5268 14.6739 11 16 11Z"
|
|
14
|
+
fill="currentColor"
|
|
15
|
+
/>
|
|
16
|
+
</svg>
|
|
17
|
+
</template>
|
|
18
|
+
<script lang="ts">
|
|
19
|
+
import { defineComponent } from 'vue'
|
|
20
|
+
export default defineComponent({
|
|
21
|
+
name: 'IconLocationCrosshairs'
|
|
22
|
+
})
|
|
23
|
+
</script>
|
|
24
|
+
<style lang="scss">
|
|
25
|
+
@import '@explorer-1/common/src/scss/components/IconLocationCrosshairs';
|
|
26
|
+
</style>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg
|
|
3
|
+
class="IconMap"
|
|
4
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
5
|
+
width="25"
|
|
6
|
+
height="25"
|
|
7
|
+
viewBox="0 0 25 25"
|
|
8
|
+
fill="none"
|
|
9
|
+
aria-hidden="true"
|
|
10
|
+
focusable="false"
|
|
11
|
+
>
|
|
12
|
+
<path
|
|
13
|
+
d="M22.5 4.375V2.86719C22.1875 3.02344 20.1094 4.04687 16.2695 5.94141L9.05078 3.48828L8.69141 3.36719L8.34766 3.52734L3.03516 6.02734L2.49609 6.28125V22.1016C2.78125 21.9688 4.88672 20.9766 8.80469 19.1328L15.3398 21.3125C14.9805 20.7422 14.6328 20.1289 14.3398 19.4922C14.2539 19.3086 14.1719 19.1172 14.0938 18.9219L9.99609 17.5547V5.79297L14.9961 7.49219V11.6602C15.5195 11.0508 16.1562 10.543 16.8711 10.1602V7.73828L20.6211 5.88672V9.40625C21.2773 9.46875 21.9062 9.625 22.4961 9.86328L22.5 4.375ZM8.125 5.70703V17.3867L4.375 19.1523V7.47266L8.125 5.70703ZM20 11.25C17.4102 11.25 15.3125 13.3125 15.3125 15.8555C15.3125 19.5391 20 24.1406 20 24.1406C20 24.1406 24.6875 19.5352 24.6875 15.8555C24.6875 13.3125 22.5898 11.25 20 11.25ZM18.4375 15.9375C18.4375 15.5231 18.6021 15.1257 18.8951 14.8326C19.1882 14.5396 19.5856 14.375 20 14.375C20.4144 14.375 20.8118 14.5396 21.1049 14.8326C21.3979 15.1257 21.5625 15.5231 21.5625 15.9375C21.5625 16.3519 21.3979 16.7493 21.1049 17.0424C20.8118 17.3354 20.4144 17.5 20 17.5C19.5856 17.5 19.1882 17.3354 18.8951 17.0424C18.6021 16.7493 18.4375 16.3519 18.4375 15.9375Z"
|
|
14
|
+
fill="currentColor"
|
|
15
|
+
/>
|
|
16
|
+
</svg>
|
|
17
|
+
</template>
|
|
18
|
+
<script lang="ts">
|
|
19
|
+
import { defineComponent } from 'vue'
|
|
20
|
+
export default defineComponent({
|
|
21
|
+
name: 'IconMap'
|
|
22
|
+
})
|
|
23
|
+
</script>
|
|
24
|
+
<style lang="scss">
|
|
25
|
+
@import '@explorer-1/common/src/scss/components/IconMap';
|
|
26
|
+
</style>
|
|
@@ -3,6 +3,7 @@ import Icon360 from './Icon360.vue'
|
|
|
3
3
|
import IconArrows from './IconArrows.vue'
|
|
4
4
|
import IconAudio from './IconAudio.vue'
|
|
5
5
|
import IconBook from './IconBook.vue'
|
|
6
|
+
import IconBookmark from './IconBookmark.vue'
|
|
6
7
|
import IconBookUser from './IconBookUser.vue'
|
|
7
8
|
import IconBriefcase from './IconBriefcase.vue'
|
|
8
9
|
import IconCalendar from './IconCalendar.vue'
|
|
@@ -20,10 +21,13 @@ import IconFilter from './IconFilter.vue'
|
|
|
20
21
|
import IconForwardTen from './IconForwardTen.vue'
|
|
21
22
|
import IconGrid from './IconGrid.vue'
|
|
22
23
|
import IconHand from './IconHand.vue'
|
|
24
|
+
import IconHourglass from './IconHourglass.vue'
|
|
23
25
|
import IconInfo from './IconInfo.vue'
|
|
24
26
|
import IconLink from './IconLink.vue'
|
|
25
27
|
import IconList from './IconList.vue'
|
|
26
28
|
import IconLocation from './IconLocation.vue'
|
|
29
|
+
import IconLocationCrosshairs from './IconLocationCrosshairs.vue'
|
|
30
|
+
import IconMap from './IconMap.vue'
|
|
27
31
|
import IconMagnifyingGlass from './IconMagnifyingGlass.vue'
|
|
28
32
|
import IconMedal from './IconMedal.vue'
|
|
29
33
|
import IconMenu from './IconMenu.vue'
|
|
@@ -89,6 +93,7 @@ export default {
|
|
|
89
93
|
IconLink,
|
|
90
94
|
IconList,
|
|
91
95
|
IconLocation,
|
|
96
|
+
IconMap,
|
|
92
97
|
IconMagnifyingGlass,
|
|
93
98
|
IconMedal,
|
|
94
99
|
IconMenu,
|
|
@@ -160,6 +165,12 @@ export const Book = {
|
|
|
160
165
|
template: '<IconBook />'
|
|
161
166
|
})
|
|
162
167
|
}
|
|
168
|
+
export const Bookmark = {
|
|
169
|
+
render: () => ({
|
|
170
|
+
components: { IconBookmark },
|
|
171
|
+
template: '<IconBookmark />'
|
|
172
|
+
})
|
|
173
|
+
}
|
|
163
174
|
export const BookUser = {
|
|
164
175
|
render: () => ({
|
|
165
176
|
components: { IconBookUser },
|
|
@@ -262,6 +273,12 @@ export const Hand = {
|
|
|
262
273
|
template: '<IconHand />'
|
|
263
274
|
})
|
|
264
275
|
}
|
|
276
|
+
export const Hourglass = {
|
|
277
|
+
render: () => ({
|
|
278
|
+
components: { IconHourglass },
|
|
279
|
+
template: '<IconHourglass />'
|
|
280
|
+
})
|
|
281
|
+
}
|
|
265
282
|
export const Info = {
|
|
266
283
|
render: () => ({
|
|
267
284
|
components: { IconInfo },
|
|
@@ -286,6 +303,18 @@ export const Location = {
|
|
|
286
303
|
template: '<IconLocation />'
|
|
287
304
|
})
|
|
288
305
|
}
|
|
306
|
+
export const LocationCrosshairs = {
|
|
307
|
+
render: () => ({
|
|
308
|
+
components: { IconLocationCrosshairs },
|
|
309
|
+
template: '<IconLocationCrosshairs />'
|
|
310
|
+
})
|
|
311
|
+
}
|
|
312
|
+
export const Map = {
|
|
313
|
+
render: () => ({
|
|
314
|
+
components: { IconMap },
|
|
315
|
+
template: '<IconMap />'
|
|
316
|
+
})
|
|
317
|
+
}
|
|
289
318
|
export const MagnifyingGlass = {
|
|
290
319
|
render: () => ({
|
|
291
320
|
components: { IconMagnifyingGlass },
|
|
@@ -8,7 +8,7 @@ import IconProfile from './../Icons/IconProfile.vue'
|
|
|
8
8
|
import IconTime from './../Icons/IconTime.vue'
|
|
9
9
|
import { rangeifyGrades } from './../../utils/rangeifyGrades'
|
|
10
10
|
|
|
11
|
-
interface MetadataEduResourceProps {
|
|
11
|
+
export interface MetadataEduResourceProps {
|
|
12
12
|
resource: EduResourceCardObject
|
|
13
13
|
/** If compact styling should be used */
|
|
14
14
|
compact?: boolean
|
|
@@ -9,7 +9,7 @@ import IconLocation from './../Icons/IconLocation.vue'
|
|
|
9
9
|
import { mixinFormatEventDates, mixinFormatEventTimeInHoursAndMinutes } from './../../utils/mixins'
|
|
10
10
|
const themeStore = useThemeStore()
|
|
11
11
|
|
|
12
|
-
interface MetadataEventProps {
|
|
12
|
+
export interface MetadataEventProps {
|
|
13
13
|
event: EventCardObject
|
|
14
14
|
compact?: boolean
|
|
15
15
|
allowBreak?: boolean
|