@explorer-1/vue 0.0.1 → 0.0.2
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/package.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@explorer-1/vue",
|
|
3
|
+
"version": "0.0.2",
|
|
3
4
|
"private": false,
|
|
4
5
|
"publishConfig": {
|
|
5
6
|
"access": "public"
|
|
@@ -9,7 +10,6 @@
|
|
|
9
10
|
"type": "git",
|
|
10
11
|
"url": "https://github.com/nasa-jpl/explorer-1"
|
|
11
12
|
},
|
|
12
|
-
"version": "0.0.1",
|
|
13
13
|
"type": "module",
|
|
14
14
|
"prettier": "@explorer-1/prettier-config",
|
|
15
15
|
"dependencies": {
|
|
@@ -49,7 +49,6 @@
|
|
|
49
49
|
"lint:fix": "eslint ./src --fix",
|
|
50
50
|
"preview": "vite preview",
|
|
51
51
|
"prepare:fonts": "cp -R ./node_modules/@explorer-1/common/src/fonts/ ./src/assets/fonts/",
|
|
52
|
-
"prepare:public": "cp -R ./node_modules/@explorer-1/common/src/public/explorer-1/ ./public/explorer-1"
|
|
53
|
-
"prepare:public:edu": "cp -R ./node_modules/@explorer-1/common/src/public/explorer-1/ ./public/edu/explorer-1"
|
|
52
|
+
"prepare:public": "cp -R ./node_modules/@explorer-1/common/src/public/explorer-1/ ./public/explorer-1"
|
|
54
53
|
}
|
|
55
54
|
}
|
|
@@ -16,7 +16,7 @@ import { defineComponent } from 'vue'
|
|
|
16
16
|
import { ICalendar } from 'datebook'
|
|
17
17
|
import type { CalendarOptions } from 'datebook'
|
|
18
18
|
// @ts-ignore
|
|
19
|
-
import dayjs from '
|
|
19
|
+
import dayjs from 'dayjs'
|
|
20
20
|
import BaseButton from './../BaseButton/BaseButton.vue'
|
|
21
21
|
|
|
22
22
|
export default defineComponent({
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
import { defineComponent } from 'vue'
|
|
58
58
|
import type { ElasticSearchPage } from '../../interfaces'
|
|
59
59
|
// @ts-ignore
|
|
60
|
-
import dayjs from '
|
|
60
|
+
import dayjs from 'dayjs'
|
|
61
61
|
import SearchResultCard from './../SearchResultCard/SearchResultCard.vue'
|
|
62
62
|
import SearchResultGridItem from './../SearchResultGridItem/SearchResultGridItem.vue'
|
|
63
63
|
|
package/src/utils/mixins.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// import Vue from 'vue'
|
|
2
2
|
// @ts-ignore
|
|
3
3
|
import dayjs from './dayjs'
|
|
4
|
-
import { useHeaderStore } from '
|
|
4
|
+
import { useHeaderStore } from '@explorer-1/vue/src/store/header'
|
|
5
5
|
import { useRoute } from 'vue-router'
|
|
6
6
|
import type {
|
|
7
7
|
BreadcrumbPathObject,
|
|
8
8
|
ImageObject,
|
|
9
9
|
ImageSrcObject,
|
|
10
10
|
RelatedLinkObject
|
|
11
|
-
} from '
|
|
11
|
+
} from '@explorer-1/vue/src/interfaces'
|
|
12
12
|
// srcSet data structure
|
|
13
13
|
export interface SrcSetDataValue {
|
|
14
14
|
url: string
|