@explorer-1/vue 0.2.5 → 0.2.7
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/explorer-1-vue.js +2612 -2556
- package/dist/explorer-1-vue.umd.cjs +14 -12
- package/dist/src/components/CalendarButton/CalendarButton.vue.d.ts +3 -2
- package/dist/src/components/EventCard/EventCard.vue.d.ts +9 -4
- package/dist/src/components/EventDetailHero/EventDetailHero.vue.d.ts +11 -0
- package/dist/src/components/NavDesktopEdu/NavDesktopEdu.stories.d.ts +58 -11
- package/dist/src/templates/edu/PageEduEventDetail/PageEduEventDetail.stories.d.ts +57 -29
- package/dist/src/utils/mixins.d.ts +2 -0
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/components/BaseButton/BaseButton.vue +1 -1
- package/src/components/BaseImage/BaseImage.vue +1 -1
- package/src/components/BaseTag/BaseTag.vue +2 -2
- package/src/components/BlockIframeEmbed/BlockIframeEmbed.vue +3 -2
- package/src/components/BlockImage/BlockImageStandard.vue +1 -1
- package/src/components/BlockKeyPoints/BlockKeyPoints.vue +2 -2
- package/src/components/BlockLinkCard/BlockLinkCard.vue +1 -0
- package/src/components/BlockRelatedLinks/BlockRelatedLinks.vue +29 -27
- package/src/components/BlockRelatedLinks/RelatedLink.vue +3 -3
- package/src/components/BlockVideo/BlockVideo.vue +1 -1
- package/src/components/BlockVideoEmbed/BlockVideoEmbed.vue +1 -1
- package/src/components/CalendarButton/CalendarButton.vue +9 -10
- package/src/components/EventCard/EventCard.vue +22 -8
- package/src/components/EventDetailHero/EventDetailHero.vue +45 -21
- package/src/components/HeroMedia/HeroMedia.vue +2 -2
- package/src/components/MixinCarousel/MixinCarousel.vue +2 -2
- package/src/components/NavDesktop/NavDesktopDropdown.vue +1 -1
- package/src/components/NavDesktopEdu/NavDesktopEdu.stories.js +6 -15
- package/src/components/NavDesktopEdu/NavDesktopEdu.vue +35 -9
- package/src/components/NavHeading/NavHeading.stories.js +1 -1
- package/src/components/NavHeading/NavHeading.vue +1 -1
- package/src/components/NavLinkList/NavLinkList.vue +1 -1
- package/src/components/NavMobile/NavMobile.vue +36 -11
- package/src/components/ShareButtons/ShareButtons.vue +1 -1
- package/src/components/ShareButtonsEdu/ShareButtonsEdu.vue +1 -1
- package/src/components/TheFooter/TheFooter.vue +18 -2
- package/src/templates/PageEventDetail/PageEventDetail.vue +2 -1
- package/src/templates/PageNewsDetail/PageNewsDetail.vue +3 -1
- package/src/templates/edu/PageEduEventDetail/PageEduEventDetail.stories.js +146 -104
- package/src/templates/edu/PageEduEventDetail/PageEduEventDetail.vue +101 -50
- package/src/templates/edu/PageEduExplainerArticle/PageEduExplainerArticle.vue +1 -1
- package/src/utils/mixins.ts +18 -14
- package/tsconfig.json +1 -1
|
@@ -33,9 +33,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
33
33
|
}, unknown, {
|
|
34
34
|
icalendar: any;
|
|
35
35
|
options: CalendarOptions | undefined;
|
|
36
|
-
}, {
|
|
36
|
+
}, {
|
|
37
|
+
icsDescription(): string;
|
|
38
|
+
}, {
|
|
37
39
|
init(): void;
|
|
38
|
-
addSlashes(string: string): string;
|
|
39
40
|
handleDownload(): void;
|
|
40
41
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
41
42
|
isAllDay: {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
+
import { EventDateObject } from './../../utils/mixins';
|
|
2
3
|
import { HeadingLevel } from './../BaseHeading/BaseHeading.vue';
|
|
3
4
|
|
|
4
5
|
declare const _default: import('vue').DefineComponent<{
|
|
@@ -45,12 +46,16 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
45
46
|
default: string;
|
|
46
47
|
};
|
|
47
48
|
}, unknown, unknown, {
|
|
48
|
-
splitDate():
|
|
49
|
-
day: string;
|
|
50
|
-
monthAndYear: string;
|
|
51
|
-
} | null;
|
|
49
|
+
splitDate(): EventDateObject | null;
|
|
52
50
|
displayTime(): string | undefined;
|
|
53
51
|
formattedEventDates(): string | undefined;
|
|
52
|
+
themeStore: () => import('pinia').Store<"theme", import('../../store/theme').State, {
|
|
53
|
+
isEdu(state: {
|
|
54
|
+
theme: import('../../interfaces').Explorer1Theme | null;
|
|
55
|
+
} & import('pinia').PiniaCustomStateProperties<import('../../store/theme').State>): boolean;
|
|
56
|
+
}, {
|
|
57
|
+
setTheme(value: import('../../interfaces').Explorer1Theme): void;
|
|
58
|
+
}>;
|
|
54
59
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
55
60
|
url: {
|
|
56
61
|
type: StringConstructor;
|
|
@@ -16,6 +16,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
16
16
|
required: false;
|
|
17
17
|
default: undefined;
|
|
18
18
|
};
|
|
19
|
+
constrain: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
required: false;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
19
24
|
}, unknown, unknown, {
|
|
20
25
|
getSrcSet(): string | undefined;
|
|
21
26
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -33,8 +38,14 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
33
38
|
required: false;
|
|
34
39
|
default: undefined;
|
|
35
40
|
};
|
|
41
|
+
constrain: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
required: false;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
36
46
|
}>>, {
|
|
37
47
|
data: Record<string, any>;
|
|
38
48
|
image: Record<string, any>;
|
|
49
|
+
constrain: boolean;
|
|
39
50
|
}, {}>;
|
|
40
51
|
export default _default;
|
|
@@ -51,12 +51,10 @@ export namespace NavDesktopDropdownContentData {
|
|
|
51
51
|
};
|
|
52
52
|
} | {
|
|
53
53
|
blockType: string;
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
headingPage: null;
|
|
59
|
-
blockType: string;
|
|
54
|
+
heading: string;
|
|
55
|
+
headingPage: {
|
|
56
|
+
url: string;
|
|
57
|
+
};
|
|
60
58
|
links: ({
|
|
61
59
|
linkPage: {
|
|
62
60
|
title: string;
|
|
@@ -69,8 +67,10 @@ export namespace NavDesktopDropdownContentData {
|
|
|
69
67
|
title: string;
|
|
70
68
|
path: string;
|
|
71
69
|
})[];
|
|
72
|
-
|
|
73
|
-
|
|
70
|
+
} | {
|
|
71
|
+
blockType: string;
|
|
72
|
+
description: string;
|
|
73
|
+
title: string;
|
|
74
74
|
})[];
|
|
75
75
|
}
|
|
76
76
|
export namespace NavDesktopDropdownMoreData {
|
|
@@ -130,8 +130,7 @@ export namespace NavDesktopDropdownMoreData {
|
|
|
130
130
|
export { menuColumns_1 as menuColumns };
|
|
131
131
|
}
|
|
132
132
|
export namespace NavDesktopData {
|
|
133
|
-
let primaryNavigation: {
|
|
134
|
-
blockType: string;
|
|
133
|
+
let primaryNavigation: ({
|
|
135
134
|
titleLink: {
|
|
136
135
|
linkPage: {
|
|
137
136
|
title: string;
|
|
@@ -177,7 +176,55 @@ export namespace NavDesktopData {
|
|
|
177
176
|
description?: undefined;
|
|
178
177
|
title?: undefined;
|
|
179
178
|
})[];
|
|
180
|
-
|
|
179
|
+
blockType: string;
|
|
180
|
+
} | {
|
|
181
|
+
titleLink: {
|
|
182
|
+
linkPage: {
|
|
183
|
+
title: string;
|
|
184
|
+
url: string;
|
|
185
|
+
};
|
|
186
|
+
title: null;
|
|
187
|
+
};
|
|
188
|
+
blockType: string;
|
|
189
|
+
menuColumns: ({
|
|
190
|
+
blockType: string;
|
|
191
|
+
label: string;
|
|
192
|
+
highlight: {
|
|
193
|
+
label: string;
|
|
194
|
+
title: string;
|
|
195
|
+
url: string;
|
|
196
|
+
thumbnailImage: {
|
|
197
|
+
src: {
|
|
198
|
+
url: string;
|
|
199
|
+
width: number;
|
|
200
|
+
height: number;
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
} | {
|
|
205
|
+
blockType: string;
|
|
206
|
+
heading: string;
|
|
207
|
+
headingPage: {
|
|
208
|
+
url: string;
|
|
209
|
+
};
|
|
210
|
+
links: ({
|
|
211
|
+
linkPage: {
|
|
212
|
+
title: string;
|
|
213
|
+
url: string;
|
|
214
|
+
};
|
|
215
|
+
title: string;
|
|
216
|
+
path: null;
|
|
217
|
+
} | {
|
|
218
|
+
linkPage: null;
|
|
219
|
+
title: string;
|
|
220
|
+
path: string;
|
|
221
|
+
})[];
|
|
222
|
+
} | {
|
|
223
|
+
blockType: string;
|
|
224
|
+
description: string;
|
|
225
|
+
title: string;
|
|
226
|
+
})[];
|
|
227
|
+
})[];
|
|
181
228
|
let breadcrumb: string;
|
|
182
229
|
}
|
|
183
230
|
export namespace BaseStory {
|
|
@@ -16,30 +16,35 @@ export default _default;
|
|
|
16
16
|
export namespace BaseStory {
|
|
17
17
|
let name: string;
|
|
18
18
|
namespace args {
|
|
19
|
+
export { PageEduEventDetailData as data };
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
export namespace NoStartTime {
|
|
23
|
+
export namespace args_1 {
|
|
19
24
|
namespace data {
|
|
25
|
+
export let startDate: string;
|
|
26
|
+
export let startDatetime: null;
|
|
27
|
+
export let startTime: null;
|
|
28
|
+
export let endDate: string;
|
|
29
|
+
export let endDatetime: string;
|
|
30
|
+
export let endTime: null;
|
|
31
|
+
export let customDate: string;
|
|
32
|
+
export let ongoing: boolean;
|
|
20
33
|
export let id: string;
|
|
21
34
|
let title_1: string;
|
|
22
35
|
export { title_1 as title };
|
|
23
36
|
export let slug: string;
|
|
24
37
|
export let url: string;
|
|
25
|
-
export let startDate: string;
|
|
26
|
-
export let startDatetime: string;
|
|
27
|
-
export let startTime: string;
|
|
28
|
-
export let endDate: string;
|
|
29
|
-
export let endDatetime: string;
|
|
30
|
-
export let endTime: string;
|
|
31
|
-
export let isAllDay: boolean;
|
|
32
38
|
export let timezone: string;
|
|
33
39
|
export let eventType: string;
|
|
40
|
+
export let topper: string;
|
|
34
41
|
export let summary: string;
|
|
35
42
|
export let locationName: string;
|
|
36
43
|
export let registerLink: {
|
|
37
|
-
|
|
38
|
-
document: string;
|
|
39
|
-
page: {
|
|
40
|
-
url: string;
|
|
41
|
-
};
|
|
44
|
+
document: null;
|
|
42
45
|
externalLink: string;
|
|
46
|
+
page: null;
|
|
47
|
+
text: string;
|
|
43
48
|
}[];
|
|
44
49
|
export namespace eventImage {
|
|
45
50
|
export let __typename: string;
|
|
@@ -60,6 +65,8 @@ export namespace BaseStory {
|
|
|
60
65
|
export let credit: string;
|
|
61
66
|
export let detailUrl: null;
|
|
62
67
|
}
|
|
68
|
+
export let heroConstrain: boolean;
|
|
69
|
+
export let heroPosition: string;
|
|
63
70
|
export namespace thumbnailImage {
|
|
64
71
|
let alt_1: string;
|
|
65
72
|
export { alt_1 as alt };
|
|
@@ -91,26 +98,30 @@ export namespace BaseStory {
|
|
|
91
98
|
url: string;
|
|
92
99
|
}[];
|
|
93
100
|
export let speakers: ({
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
101
|
+
speaker: {
|
|
102
|
+
host: string;
|
|
103
|
+
id: string;
|
|
104
|
+
internalLink: null;
|
|
105
|
+
name: string;
|
|
106
|
+
title: string;
|
|
107
|
+
image?: undefined;
|
|
108
|
+
};
|
|
100
109
|
} | {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
110
|
+
speaker: {
|
|
111
|
+
host: string;
|
|
112
|
+
id: string;
|
|
113
|
+
image: {
|
|
114
|
+
alt: string;
|
|
115
|
+
src: {
|
|
116
|
+
height: string;
|
|
117
|
+
url: string;
|
|
118
|
+
width: string;
|
|
119
|
+
};
|
|
109
120
|
};
|
|
121
|
+
internalLink: null;
|
|
122
|
+
name: string;
|
|
123
|
+
title: string;
|
|
110
124
|
};
|
|
111
|
-
internalLink: null;
|
|
112
|
-
name: string;
|
|
113
|
-
title: string;
|
|
114
125
|
})[];
|
|
115
126
|
export let relatedLinks: {
|
|
116
127
|
blockType: string;
|
|
@@ -125,4 +136,21 @@ export namespace BaseStory {
|
|
|
125
136
|
export { BlockLinkCardCarouselData as relatedContent };
|
|
126
137
|
}
|
|
127
138
|
}
|
|
139
|
+
export { args_1 as args };
|
|
140
|
+
}
|
|
141
|
+
declare namespace PageEduEventDetailData {
|
|
142
|
+
let startDate_1: string;
|
|
143
|
+
export { startDate_1 as startDate };
|
|
144
|
+
let startDatetime_1: string;
|
|
145
|
+
export { startDatetime_1 as startDatetime };
|
|
146
|
+
let startTime_1: string;
|
|
147
|
+
export { startTime_1 as startTime };
|
|
148
|
+
let endDate_1: string;
|
|
149
|
+
export { endDate_1 as endDate };
|
|
150
|
+
let endDatetime_1: string;
|
|
151
|
+
export { endDatetime_1 as endDatetime };
|
|
152
|
+
let endTime_1: string;
|
|
153
|
+
export { endTime_1 as endTime };
|
|
154
|
+
let ongoing_1: boolean;
|
|
155
|
+
export { ongoing_1 as ongoing };
|
|
128
156
|
}
|