@explorer-1/vue 0.2.8 → 0.2.9
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/components.d.ts +6 -1
- package/dist/explorer-1-vue.js +6871 -6420
- package/dist/explorer-1-vue.umd.cjs +13 -13
- package/dist/src/components/{BaseTag/BaseTag.stories.d.ts → BasePill/BasePill.stories.d.ts} +2 -2
- package/dist/src/components/{BaseTag/BaseTag.vue.d.ts → BasePill/BasePill.vue.d.ts} +7 -3
- package/dist/src/components/BlockLinkCard/BlockLinkCard.stories.d.ts +89 -15
- package/dist/src/components/BlockLinkCard/BlockLinkCard.vue.d.ts +66 -7
- package/dist/src/components/BlockLinkCarousel/BlockLinkCarousel.stories.d.ts +70 -2
- package/dist/src/components/BlockLinkTile/BlockLinkTile.vue.d.ts +4 -4
- package/dist/src/components/CalendarButton/CalendarButton.vue.d.ts +2 -2
- package/dist/src/components/CalendarChip/CalendarChip.vue.d.ts +36 -0
- package/dist/src/components/EventCard/EventCard.vue.d.ts +9 -0
- package/dist/src/components/EventDetailHero/EventDetailHero.vue.d.ts +27 -9
- package/dist/src/components/HeroListingIndex/HeroListingIndex.stories.d.ts +1 -0
- package/dist/src/components/HeroListingIndex/HeroListingIndex.vue.d.ts +6 -4
- package/dist/src/components/HeroMedium/HeroMedium.vue.d.ts +28 -2
- package/dist/src/components/Icons/IconProfile.vue.d.ts +2 -0
- package/dist/src/components/Icons/IconSubject.vue.d.ts +2 -0
- package/dist/src/components/Icons/Icons.stories.d.ts +17 -0
- package/dist/src/components/MetadataEduResource/MetadataEduResource.stories.d.ts +55 -0
- package/dist/src/components/MetadataEduResource/MetadataEduResource.vue.d.ts +38 -0
- package/dist/src/components/MetadataEvent/MetadataEvent.stories.d.ts +29 -0
- package/dist/src/components/MetadataEvent/MetadataEvent.vue.d.ts +38 -0
- package/dist/src/components/NavDesktopEdu/NavDesktopEdu.stories.d.ts +1 -0
- package/dist/src/components/SearchResultCard/SearchResultCard.stories.d.ts +23 -4
- package/dist/src/components/SearchResultCard/SearchResultCard.vue.d.ts +66 -1
- package/dist/src/components/SearchResultGridItem/SearchResultGridItem.stories.d.ts +7 -0
- package/dist/src/components/SearchResultGridItem/SearchResultGridItem.vue.d.ts +65 -11
- package/dist/src/components/SearchResultsList/SearchResultsList.stories.d.ts +404 -0
- package/dist/src/components/TopicDetailMoreItem/TopicDetailMoreItem.vue.d.ts +8 -4
- package/dist/src/constants.d.ts +4 -0
- package/dist/src/interfaces.d.ts +38 -3
- package/dist/src/templates/PageContent/PageContent.stories.d.ts +1 -0
- package/dist/src/templates/PageEventDetail/PageEventDetail.stories.d.ts +2 -13
- package/dist/src/templates/PageEventDetail/PageEventDetail.vue.d.ts +6 -3
- package/dist/src/templates/edu/PageEduEventDetail/PageEduEventDetail.stories.d.ts +153 -31
- package/dist/src/utils/mixins.d.ts +1 -1
- package/dist/src/utils/rangeifyGrades.d.ts +3 -0
- package/dist/style.css +1 -1
- package/lib/main.ts +2 -2
- package/package.json +2 -2
- package/src/components/{BaseTag/BaseTag.stories.js → BasePill/BasePill.stories.js} +3 -3
- package/src/components/BasePill/BasePill.vue +54 -0
- package/src/components/BlockLinkCard/BlockLinkCard.stories.js +93 -12
- package/src/components/BlockLinkCard/BlockLinkCard.vue +180 -39
- package/src/components/BlockLinkCarousel/BlockLinkCarousel.stories.js +60 -3
- package/src/components/BlockLinkTile/BlockLinkTile.vue +11 -8
- package/src/components/CalendarChip/CalendarChip.vue +52 -0
- package/src/components/DetailHeadline/DetailHeadline.vue +5 -5
- package/src/components/EventCard/EventCard.vue +28 -88
- package/src/components/EventDetailHero/EventDetailHero.vue +18 -25
- package/src/components/HeroListingIndex/HeroListingIndex.stories.js +1 -0
- package/src/components/HeroListingIndex/HeroListingIndex.vue +8 -3
- package/src/components/HeroMedium/HeroMedium.vue +24 -12
- package/src/components/Icons/IconProfile.vue +30 -0
- package/src/components/Icons/IconSubject.vue +38 -0
- package/src/components/Icons/Icons.stories.ts +15 -0
- package/src/components/MetadataEduResource/MetadataEduResource.stories.js +59 -0
- package/src/components/MetadataEduResource/MetadataEduResource.vue +93 -0
- package/src/components/MetadataEvent/MetadataEvent.stories.js +31 -0
- package/src/components/MetadataEvent/MetadataEvent.vue +164 -0
- package/src/components/SearchResultCard/SearchResultCard.stories.js +22 -5
- package/src/components/SearchResultCard/SearchResultCard.vue +71 -14
- package/src/components/SearchResultGridItem/SearchResultGridItem.stories.js +8 -1
- package/src/components/SearchResultGridItem/SearchResultGridItem.vue +81 -31
- package/src/components/SearchResultsList/SearchResultsList.stories.js +1197 -0
- package/src/components/SearchResultsList/SearchResultsList.vue +1 -0
- package/src/components/TopicDetailMoreItem/TopicDetailMoreItem.vue +12 -8
- package/src/constants.ts +20 -0
- package/src/interfaces.ts +41 -3
- package/src/templates/PageContent/PageContent.stories.js +1 -0
- package/src/templates/PageEventDetail/PageEventDetail.stories.js +1 -1
- package/src/templates/PageEventDetail/PageEventDetail.vue +25 -90
- package/src/templates/edu/PageEduEventDetail/PageEduEventDetail.stories.js +3 -2
- package/src/templates/edu/PageEduEventDetail/PageEduEventDetail.vue +38 -123
- package/src/utils/mixins.ts +1 -1
- package/src/utils/rangeifyGrades.ts +76 -0
- package/src/components/BaseTag/BaseTag.vue +0 -36
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as PageEduEventDetail } from './PageEduEventDetail.vue';
|
|
2
|
-
import {
|
|
2
|
+
import { EventsBlockLinkCarouselData } from './../../../components/BlockLinkCarousel/BlockLinkCarousel.stories';
|
|
3
3
|
declare namespace _default {
|
|
4
4
|
export let title: string;
|
|
5
5
|
export { PageEduEventDetail as component };
|
|
@@ -19,7 +19,7 @@ export namespace BaseStory {
|
|
|
19
19
|
export { PageEduEventDetailData as data };
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
export namespace
|
|
22
|
+
export namespace CustomDate {
|
|
23
23
|
export namespace args_1 {
|
|
24
24
|
namespace data {
|
|
25
25
|
export let startDate: string;
|
|
@@ -40,6 +40,7 @@ export namespace NoStartTime {
|
|
|
40
40
|
export let topper: string;
|
|
41
41
|
export let summary: string;
|
|
42
42
|
export let locationName: string;
|
|
43
|
+
export let locationLink: string;
|
|
43
44
|
export let registerLink: {
|
|
44
45
|
document: null;
|
|
45
46
|
externalLink: string;
|
|
@@ -84,19 +85,7 @@ export namespace NoStartTime {
|
|
|
84
85
|
blockType: string;
|
|
85
86
|
value: string;
|
|
86
87
|
})[];
|
|
87
|
-
export
|
|
88
|
-
endDate: null;
|
|
89
|
-
startDate: string;
|
|
90
|
-
thumbnailImage: {
|
|
91
|
-
src: {
|
|
92
|
-
height: string;
|
|
93
|
-
url: string;
|
|
94
|
-
width: string;
|
|
95
|
-
};
|
|
96
|
-
};
|
|
97
|
-
title: string;
|
|
98
|
-
url: string;
|
|
99
|
-
}[];
|
|
88
|
+
export { EventsBlockLinkCarouselData as relatedEvents };
|
|
100
89
|
export let speakers: ({
|
|
101
90
|
speaker: {
|
|
102
91
|
host: string;
|
|
@@ -133,24 +122,157 @@ export namespace NoStartTime {
|
|
|
133
122
|
text: string;
|
|
134
123
|
}[];
|
|
135
124
|
}[];
|
|
136
|
-
export
|
|
125
|
+
export let relatedContent: ({
|
|
126
|
+
url: string;
|
|
127
|
+
title: string;
|
|
128
|
+
slug: string;
|
|
129
|
+
label: string;
|
|
130
|
+
thumbnailImage: {
|
|
131
|
+
src: {
|
|
132
|
+
url: string;
|
|
133
|
+
width: number;
|
|
134
|
+
height: number;
|
|
135
|
+
};
|
|
136
|
+
alt: string;
|
|
137
|
+
};
|
|
138
|
+
} | {
|
|
139
|
+
url: string;
|
|
140
|
+
title: string;
|
|
141
|
+
slug: string;
|
|
142
|
+
thumbnailImage: {
|
|
143
|
+
src: {
|
|
144
|
+
url: string;
|
|
145
|
+
width: number;
|
|
146
|
+
height: number;
|
|
147
|
+
};
|
|
148
|
+
alt: string;
|
|
149
|
+
};
|
|
150
|
+
label?: undefined;
|
|
151
|
+
} | {
|
|
152
|
+
endDate: null;
|
|
153
|
+
startDate: string;
|
|
154
|
+
thumbnailImage: {
|
|
155
|
+
src: {
|
|
156
|
+
height: string;
|
|
157
|
+
url: string;
|
|
158
|
+
width: string;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
title: string;
|
|
162
|
+
url: string;
|
|
163
|
+
startDatetime: string;
|
|
164
|
+
ongoing: boolean;
|
|
165
|
+
isVirtualEvent: boolean;
|
|
166
|
+
endDatetime: null;
|
|
167
|
+
eventType: string;
|
|
168
|
+
locationName: string;
|
|
169
|
+
locationLink: string;
|
|
170
|
+
customDate: undefined;
|
|
171
|
+
} | {
|
|
172
|
+
endDate: string;
|
|
173
|
+
startDate: string;
|
|
174
|
+
thumbnailImage: {
|
|
175
|
+
src: {
|
|
176
|
+
height: string;
|
|
177
|
+
url: string;
|
|
178
|
+
width: string;
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
title: string;
|
|
182
|
+
eventType: string;
|
|
183
|
+
url: string;
|
|
184
|
+
startDatetime: string;
|
|
185
|
+
ongoing: boolean;
|
|
186
|
+
isVirtualEvent: boolean;
|
|
187
|
+
endDatetime: string;
|
|
188
|
+
locationName: string;
|
|
189
|
+
locationLink: string;
|
|
190
|
+
customDate: undefined;
|
|
191
|
+
} | {
|
|
192
|
+
endDate: string;
|
|
193
|
+
startDate: string;
|
|
194
|
+
thumbnailImage: {
|
|
195
|
+
src: {
|
|
196
|
+
height: string;
|
|
197
|
+
url: string;
|
|
198
|
+
width: string;
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
title: string;
|
|
202
|
+
eventType: string;
|
|
203
|
+
url: string;
|
|
204
|
+
startDatetime: string;
|
|
205
|
+
customDate: string;
|
|
206
|
+
ongoing: boolean;
|
|
207
|
+
isVirtualEvent: boolean;
|
|
208
|
+
endDatetime: string;
|
|
209
|
+
locationName: string;
|
|
210
|
+
locationLink: string;
|
|
211
|
+
} | {
|
|
212
|
+
endDate: string;
|
|
213
|
+
startDate: string;
|
|
214
|
+
thumbnailImage: {
|
|
215
|
+
src: {
|
|
216
|
+
height: string;
|
|
217
|
+
url: string;
|
|
218
|
+
width: string;
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
title: string;
|
|
222
|
+
url: string;
|
|
223
|
+
startDatetime: string;
|
|
224
|
+
customDate: string;
|
|
225
|
+
ongoing: boolean;
|
|
226
|
+
isVirtualEvent: boolean;
|
|
227
|
+
endDatetime: string;
|
|
228
|
+
locationName: string;
|
|
229
|
+
locationLink: string;
|
|
230
|
+
eventType?: undefined;
|
|
231
|
+
})[];
|
|
137
232
|
}
|
|
138
233
|
}
|
|
139
234
|
export { args_1 as args };
|
|
140
235
|
}
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
236
|
+
export namespace MultiDayEvent {
|
|
237
|
+
export namespace args_2 {
|
|
238
|
+
export namespace data_1 {
|
|
239
|
+
let startDate_1: string;
|
|
240
|
+
export { startDate_1 as startDate };
|
|
241
|
+
let endDate_1: string;
|
|
242
|
+
export { endDate_1 as endDate };
|
|
243
|
+
let startDatetime_1: string;
|
|
244
|
+
export { startDatetime_1 as startDatetime };
|
|
245
|
+
let startTime_1: string;
|
|
246
|
+
export { startTime_1 as startTime };
|
|
247
|
+
let endDatetime_1: string;
|
|
248
|
+
export { endDatetime_1 as endDatetime };
|
|
249
|
+
let endTime_1: string;
|
|
250
|
+
export { endTime_1 as endTime };
|
|
251
|
+
let ongoing_1: boolean;
|
|
252
|
+
export { ongoing_1 as ongoing };
|
|
253
|
+
}
|
|
254
|
+
export { data_1 as data };
|
|
255
|
+
}
|
|
256
|
+
export { args_2 as args };
|
|
257
|
+
}
|
|
258
|
+
export namespace Ongoing {
|
|
259
|
+
export namespace args_3 {
|
|
260
|
+
export namespace data_2 {
|
|
261
|
+
let ongoing_2: boolean;
|
|
262
|
+
export { ongoing_2 as ongoing };
|
|
263
|
+
let startDate_2: string;
|
|
264
|
+
export { startDate_2 as startDate };
|
|
265
|
+
let startDatetime_2: string;
|
|
266
|
+
export { startDatetime_2 as startDatetime };
|
|
267
|
+
let startTime_2: string;
|
|
268
|
+
export { startTime_2 as startTime };
|
|
269
|
+
let endDate_2: string;
|
|
270
|
+
export { endDate_2 as endDate };
|
|
271
|
+
let endDatetime_2: string;
|
|
272
|
+
export { endDatetime_2 as endDatetime };
|
|
273
|
+
}
|
|
274
|
+
export { data_2 as data };
|
|
275
|
+
}
|
|
276
|
+
export { args_3 as args };
|
|
156
277
|
}
|
|
278
|
+
declare namespace PageEduEventDetailData { }
|
|
@@ -55,5 +55,5 @@ export declare const mixinCanonicalUrl: (path: string) => string;
|
|
|
55
55
|
export declare const mixinLightboxItems: (image: BaseImageObject, title: string) => lightboxObject[] | false;
|
|
56
56
|
export declare const mixinLightboxGalleryItems: (items: object | any) => object | false;
|
|
57
57
|
export declare const mixinFormatSplitEventDates: (startDatetime: string, endDatetime?: string) => EventDateObject;
|
|
58
|
-
export declare const mixinFormatEventDates: (startDatetime
|
|
58
|
+
export declare const mixinFormatEventDates: (startDatetime?: string, endDatetime?: string) => string;
|
|
59
59
|
export declare const mixinFormatEventTimeInHoursAndMinutes: (startDatetime: string, endDatetime?: string, endTime?: string) => string;
|