@explorer-1/vue 0.2.7 → 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/NavMobile/NavMobile.vue +3 -1
- 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 +4 -3
- package/src/templates/edu/PageEduEventDetail/PageEduEventDetail.vue +38 -123
- package/src/utils/mixins.ts +2 -2
- package/src/utils/rangeifyGrades.ts +76 -0
- package/src/components/BaseTag/BaseTag.vue +0 -36
|
@@ -0,0 +1,404 @@
|
|
|
1
|
+
import { default as SearchResultsList } from './SearchResultsList.vue';
|
|
2
|
+
declare namespace _default {
|
|
3
|
+
export let title: string;
|
|
4
|
+
export { SearchResultsList as component };
|
|
5
|
+
export let decorators: (() => {
|
|
6
|
+
template: string;
|
|
7
|
+
})[];
|
|
8
|
+
export let tags: string[];
|
|
9
|
+
export namespace parameters {
|
|
10
|
+
namespace html {
|
|
11
|
+
let root: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export let excludeStories: RegExp;
|
|
15
|
+
}
|
|
16
|
+
export default _default;
|
|
17
|
+
export namespace SearchResultsListData {
|
|
18
|
+
let took: number;
|
|
19
|
+
let timed_out: boolean;
|
|
20
|
+
namespace hits {
|
|
21
|
+
export namespace total {
|
|
22
|
+
let value: number;
|
|
23
|
+
let relation: string;
|
|
24
|
+
}
|
|
25
|
+
export let max_score: null;
|
|
26
|
+
let hits_1: ({
|
|
27
|
+
_index: string;
|
|
28
|
+
_type: string;
|
|
29
|
+
_id: string;
|
|
30
|
+
_score: number;
|
|
31
|
+
_source: {
|
|
32
|
+
pk: string;
|
|
33
|
+
content_type: string[];
|
|
34
|
+
title: string;
|
|
35
|
+
title_edgengrams: string;
|
|
36
|
+
title_filter: string;
|
|
37
|
+
id_filter: number;
|
|
38
|
+
live_filter: boolean;
|
|
39
|
+
owner_id_filter: null;
|
|
40
|
+
content_type_id_filter: number;
|
|
41
|
+
path_filter: string;
|
|
42
|
+
depth_filter: number;
|
|
43
|
+
locked_filter: boolean;
|
|
44
|
+
show_in_menus_filter: boolean;
|
|
45
|
+
first_published_at_filter: string;
|
|
46
|
+
last_published_at_filter: string;
|
|
47
|
+
latest_revision_created_at_filter: string;
|
|
48
|
+
locale_id_filter: number;
|
|
49
|
+
translation_key_filter: string;
|
|
50
|
+
missions_mission__thumbnail_image: {
|
|
51
|
+
thumbnail_image: string;
|
|
52
|
+
};
|
|
53
|
+
missions_mission__mission_target_labels_filter: string[];
|
|
54
|
+
missions_mission__mission_type_labels_filter: string[];
|
|
55
|
+
url: string;
|
|
56
|
+
missions_mission__summary: string;
|
|
57
|
+
missions_mission__description: string[];
|
|
58
|
+
missions_mission__subtitle: string;
|
|
59
|
+
missions_mission__feature: string[];
|
|
60
|
+
missions_mission__status_filter: string;
|
|
61
|
+
missions_mission__label: string;
|
|
62
|
+
topic_labels_filter: string[];
|
|
63
|
+
publication_date_filter: string;
|
|
64
|
+
display_date_filter: string;
|
|
65
|
+
_edgengrams: string[];
|
|
66
|
+
video_detail_videodetailpage__thumbnail_image?: undefined;
|
|
67
|
+
video_detail_videodetailpage__summary?: undefined;
|
|
68
|
+
video_detail_videodetailpage__body?: undefined;
|
|
69
|
+
video_detail_videodetailpage__transcript?: undefined;
|
|
70
|
+
video_detail_videodetailpage__topic_id_filter?: undefined;
|
|
71
|
+
video_detail_videodetailpage__label?: undefined;
|
|
72
|
+
news_news__author?: undefined;
|
|
73
|
+
news_news__thumbnail_image?: undefined;
|
|
74
|
+
news_news__topper?: undefined;
|
|
75
|
+
news_news__summary?: undefined;
|
|
76
|
+
news_news__body?: undefined;
|
|
77
|
+
news_news__release_number?: undefined;
|
|
78
|
+
news_news__get_topic_titles_filter?: undefined;
|
|
79
|
+
news_news__label?: undefined;
|
|
80
|
+
release_number_filter?: undefined;
|
|
81
|
+
};
|
|
82
|
+
fields: {
|
|
83
|
+
pk: string[];
|
|
84
|
+
};
|
|
85
|
+
sort: (string | number)[];
|
|
86
|
+
inner_hits: {
|
|
87
|
+
latest: {
|
|
88
|
+
hits: {
|
|
89
|
+
total: {
|
|
90
|
+
value: number;
|
|
91
|
+
relation: string;
|
|
92
|
+
};
|
|
93
|
+
max_score: number;
|
|
94
|
+
hits: {
|
|
95
|
+
_index: string;
|
|
96
|
+
_type: string;
|
|
97
|
+
_id: string;
|
|
98
|
+
_score: number;
|
|
99
|
+
_source: {
|
|
100
|
+
pk: string;
|
|
101
|
+
content_type: string[];
|
|
102
|
+
title: string;
|
|
103
|
+
title_edgengrams: string;
|
|
104
|
+
title_filter: string;
|
|
105
|
+
id_filter: number;
|
|
106
|
+
live_filter: boolean;
|
|
107
|
+
owner_id_filter: null;
|
|
108
|
+
content_type_id_filter: number;
|
|
109
|
+
path_filter: string;
|
|
110
|
+
depth_filter: number;
|
|
111
|
+
locked_filter: boolean;
|
|
112
|
+
show_in_menus_filter: boolean;
|
|
113
|
+
first_published_at_filter: string;
|
|
114
|
+
last_published_at_filter: string;
|
|
115
|
+
latest_revision_created_at_filter: string;
|
|
116
|
+
locale_id_filter: number;
|
|
117
|
+
translation_key_filter: string;
|
|
118
|
+
missions_mission__thumbnail_image: {
|
|
119
|
+
thumbnail_image: string;
|
|
120
|
+
};
|
|
121
|
+
missions_mission__mission_target_labels_filter: string[];
|
|
122
|
+
missions_mission__mission_type_labels_filter: string[];
|
|
123
|
+
url: string;
|
|
124
|
+
missions_mission__summary: string;
|
|
125
|
+
missions_mission__description: string[];
|
|
126
|
+
missions_mission__subtitle: string;
|
|
127
|
+
missions_mission__feature: string[];
|
|
128
|
+
missions_mission__status_filter: string;
|
|
129
|
+
missions_mission__label: string;
|
|
130
|
+
topic_labels_filter: string[];
|
|
131
|
+
publication_date_filter: string;
|
|
132
|
+
display_date_filter: string;
|
|
133
|
+
_edgengrams: string[];
|
|
134
|
+
};
|
|
135
|
+
}[];
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
} | {
|
|
140
|
+
_index: string;
|
|
141
|
+
_type: string;
|
|
142
|
+
_id: string;
|
|
143
|
+
_score: number;
|
|
144
|
+
_source: {
|
|
145
|
+
pk: string;
|
|
146
|
+
content_type: string[];
|
|
147
|
+
title: string;
|
|
148
|
+
title_edgengrams: string;
|
|
149
|
+
title_filter: string;
|
|
150
|
+
id_filter: number;
|
|
151
|
+
live_filter: boolean;
|
|
152
|
+
owner_id_filter: null;
|
|
153
|
+
content_type_id_filter: number;
|
|
154
|
+
path_filter: string;
|
|
155
|
+
depth_filter: number;
|
|
156
|
+
locked_filter: boolean;
|
|
157
|
+
show_in_menus_filter: boolean;
|
|
158
|
+
first_published_at_filter: string;
|
|
159
|
+
last_published_at_filter: string;
|
|
160
|
+
latest_revision_created_at_filter: string;
|
|
161
|
+
locale_id_filter: number;
|
|
162
|
+
translation_key_filter: string;
|
|
163
|
+
video_detail_videodetailpage__thumbnail_image: {
|
|
164
|
+
thumbnail_image: string;
|
|
165
|
+
};
|
|
166
|
+
url: string;
|
|
167
|
+
video_detail_videodetailpage__summary: string;
|
|
168
|
+
video_detail_videodetailpage__body: string[];
|
|
169
|
+
video_detail_videodetailpage__transcript: string[];
|
|
170
|
+
video_detail_videodetailpage__topic_id_filter: number;
|
|
171
|
+
video_detail_videodetailpage__label: string;
|
|
172
|
+
topic_labels_filter: string[];
|
|
173
|
+
publication_date_filter: string;
|
|
174
|
+
_edgengrams: string[];
|
|
175
|
+
missions_mission__thumbnail_image?: undefined;
|
|
176
|
+
missions_mission__mission_target_labels_filter?: undefined;
|
|
177
|
+
missions_mission__mission_type_labels_filter?: undefined;
|
|
178
|
+
missions_mission__summary?: undefined;
|
|
179
|
+
missions_mission__description?: undefined;
|
|
180
|
+
missions_mission__subtitle?: undefined;
|
|
181
|
+
missions_mission__feature?: undefined;
|
|
182
|
+
missions_mission__status_filter?: undefined;
|
|
183
|
+
missions_mission__label?: undefined;
|
|
184
|
+
display_date_filter?: undefined;
|
|
185
|
+
news_news__author?: undefined;
|
|
186
|
+
news_news__thumbnail_image?: undefined;
|
|
187
|
+
news_news__topper?: undefined;
|
|
188
|
+
news_news__summary?: undefined;
|
|
189
|
+
news_news__body?: undefined;
|
|
190
|
+
news_news__release_number?: undefined;
|
|
191
|
+
news_news__get_topic_titles_filter?: undefined;
|
|
192
|
+
news_news__label?: undefined;
|
|
193
|
+
release_number_filter?: undefined;
|
|
194
|
+
};
|
|
195
|
+
fields: {
|
|
196
|
+
pk: string[];
|
|
197
|
+
};
|
|
198
|
+
sort: (string | number)[];
|
|
199
|
+
inner_hits: {
|
|
200
|
+
latest: {
|
|
201
|
+
hits: {
|
|
202
|
+
total: {
|
|
203
|
+
value: number;
|
|
204
|
+
relation: string;
|
|
205
|
+
};
|
|
206
|
+
max_score: number;
|
|
207
|
+
hits: {
|
|
208
|
+
_index: string;
|
|
209
|
+
_type: string;
|
|
210
|
+
_id: string;
|
|
211
|
+
_score: number;
|
|
212
|
+
_source: {
|
|
213
|
+
pk: string;
|
|
214
|
+
content_type: string[];
|
|
215
|
+
title: string;
|
|
216
|
+
title_edgengrams: string;
|
|
217
|
+
title_filter: string;
|
|
218
|
+
id_filter: number;
|
|
219
|
+
live_filter: boolean;
|
|
220
|
+
owner_id_filter: null;
|
|
221
|
+
content_type_id_filter: number;
|
|
222
|
+
path_filter: string;
|
|
223
|
+
depth_filter: number;
|
|
224
|
+
locked_filter: boolean;
|
|
225
|
+
show_in_menus_filter: boolean;
|
|
226
|
+
first_published_at_filter: string;
|
|
227
|
+
last_published_at_filter: string;
|
|
228
|
+
latest_revision_created_at_filter: string;
|
|
229
|
+
locale_id_filter: number;
|
|
230
|
+
translation_key_filter: string;
|
|
231
|
+
video_detail_videodetailpage__thumbnail_image: {
|
|
232
|
+
thumbnail_image: string;
|
|
233
|
+
};
|
|
234
|
+
url: string;
|
|
235
|
+
video_detail_videodetailpage__summary: string;
|
|
236
|
+
video_detail_videodetailpage__body: string[];
|
|
237
|
+
video_detail_videodetailpage__transcript: string[];
|
|
238
|
+
video_detail_videodetailpage__topic_id_filter: number;
|
|
239
|
+
video_detail_videodetailpage__label: string;
|
|
240
|
+
topic_labels_filter: string[];
|
|
241
|
+
publication_date_filter: string;
|
|
242
|
+
_edgengrams: string[];
|
|
243
|
+
};
|
|
244
|
+
}[];
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
};
|
|
248
|
+
} | {
|
|
249
|
+
_index: string;
|
|
250
|
+
_type: string;
|
|
251
|
+
_id: string;
|
|
252
|
+
_score: number;
|
|
253
|
+
_source: {
|
|
254
|
+
pk: string;
|
|
255
|
+
content_type: string[];
|
|
256
|
+
title: string;
|
|
257
|
+
title_edgengrams: string;
|
|
258
|
+
title_filter: string;
|
|
259
|
+
id_filter: number;
|
|
260
|
+
live_filter: boolean;
|
|
261
|
+
owner_id_filter: null;
|
|
262
|
+
content_type_id_filter: number;
|
|
263
|
+
path_filter: string;
|
|
264
|
+
depth_filter: number;
|
|
265
|
+
locked_filter: boolean;
|
|
266
|
+
show_in_menus_filter: boolean;
|
|
267
|
+
first_published_at_filter: string;
|
|
268
|
+
last_published_at_filter: string;
|
|
269
|
+
latest_revision_created_at_filter: string;
|
|
270
|
+
locale_id_filter: number;
|
|
271
|
+
translation_key_filter: string;
|
|
272
|
+
news_news__author: null;
|
|
273
|
+
news_news__thumbnail_image: {
|
|
274
|
+
thumbnail_image: string;
|
|
275
|
+
};
|
|
276
|
+
url: string;
|
|
277
|
+
news_news__topper: string[];
|
|
278
|
+
news_news__summary: string;
|
|
279
|
+
news_news__body: string[];
|
|
280
|
+
news_news__release_number: string;
|
|
281
|
+
news_news__get_topic_titles_filter: string;
|
|
282
|
+
news_news__label: string;
|
|
283
|
+
topic_labels_filter: string[];
|
|
284
|
+
publication_date_filter: string;
|
|
285
|
+
release_number_filter: string;
|
|
286
|
+
_edgengrams: string[];
|
|
287
|
+
missions_mission__thumbnail_image?: undefined;
|
|
288
|
+
missions_mission__mission_target_labels_filter?: undefined;
|
|
289
|
+
missions_mission__mission_type_labels_filter?: undefined;
|
|
290
|
+
missions_mission__summary?: undefined;
|
|
291
|
+
missions_mission__description?: undefined;
|
|
292
|
+
missions_mission__subtitle?: undefined;
|
|
293
|
+
missions_mission__feature?: undefined;
|
|
294
|
+
missions_mission__status_filter?: undefined;
|
|
295
|
+
missions_mission__label?: undefined;
|
|
296
|
+
display_date_filter?: undefined;
|
|
297
|
+
video_detail_videodetailpage__thumbnail_image?: undefined;
|
|
298
|
+
video_detail_videodetailpage__summary?: undefined;
|
|
299
|
+
video_detail_videodetailpage__body?: undefined;
|
|
300
|
+
video_detail_videodetailpage__transcript?: undefined;
|
|
301
|
+
video_detail_videodetailpage__topic_id_filter?: undefined;
|
|
302
|
+
video_detail_videodetailpage__label?: undefined;
|
|
303
|
+
};
|
|
304
|
+
fields: {
|
|
305
|
+
pk: string[];
|
|
306
|
+
};
|
|
307
|
+
sort: (string | number)[];
|
|
308
|
+
inner_hits: {
|
|
309
|
+
latest: {
|
|
310
|
+
hits: {
|
|
311
|
+
total: {
|
|
312
|
+
value: number;
|
|
313
|
+
relation: string;
|
|
314
|
+
};
|
|
315
|
+
max_score: number;
|
|
316
|
+
hits: {
|
|
317
|
+
_index: string;
|
|
318
|
+
_type: string;
|
|
319
|
+
_id: string;
|
|
320
|
+
_score: number;
|
|
321
|
+
_source: {
|
|
322
|
+
pk: string;
|
|
323
|
+
content_type: string[];
|
|
324
|
+
title: string;
|
|
325
|
+
title_edgengrams: string;
|
|
326
|
+
title_filter: string;
|
|
327
|
+
id_filter: number;
|
|
328
|
+
live_filter: boolean;
|
|
329
|
+
owner_id_filter: null;
|
|
330
|
+
content_type_id_filter: number;
|
|
331
|
+
path_filter: string;
|
|
332
|
+
depth_filter: number;
|
|
333
|
+
locked_filter: boolean;
|
|
334
|
+
show_in_menus_filter: boolean;
|
|
335
|
+
first_published_at_filter: string;
|
|
336
|
+
last_published_at_filter: string;
|
|
337
|
+
latest_revision_created_at_filter: string;
|
|
338
|
+
locale_id_filter: number;
|
|
339
|
+
translation_key_filter: string;
|
|
340
|
+
news_news__author: null;
|
|
341
|
+
news_news__thumbnail_image: {
|
|
342
|
+
thumbnail_image: string;
|
|
343
|
+
};
|
|
344
|
+
url: string;
|
|
345
|
+
news_news__topper: string[];
|
|
346
|
+
news_news__summary: string;
|
|
347
|
+
news_news__body: string[];
|
|
348
|
+
news_news__release_number: string;
|
|
349
|
+
news_news__get_topic_titles_filter: string;
|
|
350
|
+
news_news__label: string;
|
|
351
|
+
topic_labels_filter: string[];
|
|
352
|
+
publication_date_filter: string;
|
|
353
|
+
release_number_filter: string;
|
|
354
|
+
_edgengrams: string[];
|
|
355
|
+
};
|
|
356
|
+
}[];
|
|
357
|
+
};
|
|
358
|
+
};
|
|
359
|
+
};
|
|
360
|
+
})[];
|
|
361
|
+
export { hits_1 as hits };
|
|
362
|
+
}
|
|
363
|
+
namespace aggregations {
|
|
364
|
+
namespace topics {
|
|
365
|
+
let doc_count_error_upper_bound: number;
|
|
366
|
+
let sum_other_doc_count: number;
|
|
367
|
+
let buckets: {
|
|
368
|
+
key: string;
|
|
369
|
+
doc_count: number;
|
|
370
|
+
}[];
|
|
371
|
+
}
|
|
372
|
+
namespace content_types {
|
|
373
|
+
let doc_count_error_upper_bound_1: number;
|
|
374
|
+
export { doc_count_error_upper_bound_1 as doc_count_error_upper_bound };
|
|
375
|
+
let sum_other_doc_count_1: number;
|
|
376
|
+
export { sum_other_doc_count_1 as sum_other_doc_count };
|
|
377
|
+
let buckets_1: {
|
|
378
|
+
key: string;
|
|
379
|
+
doc_count: number;
|
|
380
|
+
}[];
|
|
381
|
+
export { buckets_1 as buckets };
|
|
382
|
+
}
|
|
383
|
+
namespace results_by_year {
|
|
384
|
+
let buckets_2: {
|
|
385
|
+
key_as_string: string;
|
|
386
|
+
key: number;
|
|
387
|
+
doc_count: number;
|
|
388
|
+
}[];
|
|
389
|
+
export { buckets_2 as buckets };
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
export namespace BaseStory {
|
|
394
|
+
let name: string;
|
|
395
|
+
namespace args {
|
|
396
|
+
export { SearchResultsListData as searchQueryResult };
|
|
397
|
+
import pages = hits;
|
|
398
|
+
export { pages };
|
|
399
|
+
export let grid: boolean;
|
|
400
|
+
export let condenseGrid: boolean;
|
|
401
|
+
export let featureFirstResult: boolean;
|
|
402
|
+
export let currentPage: number;
|
|
403
|
+
}
|
|
404
|
+
}
|
|
@@ -1,18 +1,22 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { Card } from '../../interfaces';
|
|
2
|
+
import { Card, EventCardObject } from '../../interfaces';
|
|
3
3
|
|
|
4
4
|
declare const _default: import('vue').DefineComponent<{
|
|
5
5
|
data: {
|
|
6
|
-
type: PropType<Card>;
|
|
6
|
+
type: PropType<Card | EventCardObject>;
|
|
7
7
|
required: false;
|
|
8
|
+
default: undefined;
|
|
8
9
|
};
|
|
9
10
|
}, unknown, unknown, {
|
|
10
11
|
theData(): Card | undefined;
|
|
11
12
|
formattedEventDates(): string | undefined;
|
|
12
13
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
14
|
data: {
|
|
14
|
-
type: PropType<Card>;
|
|
15
|
+
type: PropType<Card | EventCardObject>;
|
|
15
16
|
required: false;
|
|
17
|
+
default: undefined;
|
|
16
18
|
};
|
|
17
|
-
}>>, {
|
|
19
|
+
}>>, {
|
|
20
|
+
data: Card | EventCardObject;
|
|
21
|
+
}, {}>;
|
|
18
22
|
export default _default;
|
package/dist/src/interfaces.d.ts
CHANGED
|
@@ -75,13 +75,37 @@ export interface Card {
|
|
|
75
75
|
type?: string;
|
|
76
76
|
url?: string;
|
|
77
77
|
externalLink?: string;
|
|
78
|
-
page?: Card;
|
|
78
|
+
page?: Card | EventCardObject | EduResourceCardObject;
|
|
79
79
|
title?: string;
|
|
80
80
|
date?: string;
|
|
81
|
-
startDate?: string;
|
|
82
|
-
endDate?: string;
|
|
83
81
|
label?: string;
|
|
84
82
|
thumbnailImage?: Partial<ImageObject>;
|
|
83
|
+
summary?: string;
|
|
84
|
+
}
|
|
85
|
+
export interface EventCardObject extends Card {
|
|
86
|
+
startDate?: string;
|
|
87
|
+
endDate?: string;
|
|
88
|
+
startDatetime?: string;
|
|
89
|
+
endDatetime?: string;
|
|
90
|
+
startTime?: string;
|
|
91
|
+
endTime?: string;
|
|
92
|
+
customDate?: string;
|
|
93
|
+
eventType?: string;
|
|
94
|
+
ongoing?: boolean;
|
|
95
|
+
isVirtualEvent?: boolean;
|
|
96
|
+
locationName?: string;
|
|
97
|
+
location?: string;
|
|
98
|
+
locationLink?: string;
|
|
99
|
+
}
|
|
100
|
+
export interface PrimarySubjectObject {
|
|
101
|
+
subject: string;
|
|
102
|
+
}
|
|
103
|
+
export interface GradeLevelsObject {
|
|
104
|
+
gradeLevel: string;
|
|
105
|
+
}
|
|
106
|
+
export interface EduResourceCardObject extends Card {
|
|
107
|
+
primarySubject: PrimarySubjectObject;
|
|
108
|
+
gradeLevels: GradeLevelsObject[];
|
|
85
109
|
}
|
|
86
110
|
export interface LinkObject {
|
|
87
111
|
page: {
|
|
@@ -126,3 +150,14 @@ export interface Topic {
|
|
|
126
150
|
title: string;
|
|
127
151
|
url: string;
|
|
128
152
|
}
|
|
153
|
+
export type MetadataType = 'event' | 'resource';
|
|
154
|
+
export interface LabelObject {
|
|
155
|
+
label?: string;
|
|
156
|
+
variant: string;
|
|
157
|
+
}
|
|
158
|
+
export interface PillDictionaryInterface {
|
|
159
|
+
[EDUExplainerArticlePage: string]: LabelObject;
|
|
160
|
+
}
|
|
161
|
+
export interface DictionaryInterface {
|
|
162
|
+
[key: string]: string;
|
|
163
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { default as PageEventDetail } from './PageEventDetail.vue';
|
|
2
|
+
import { EventsBlockLinkCarouselData } from './../../components/BlockLinkCarousel/BlockLinkCarousel.stories';
|
|
2
3
|
declare namespace _default {
|
|
3
4
|
export let title: string;
|
|
4
5
|
export { PageEventDetail as component };
|
|
@@ -55,19 +56,7 @@ export namespace BaseStory {
|
|
|
55
56
|
blockType: string;
|
|
56
57
|
value: string;
|
|
57
58
|
})[];
|
|
58
|
-
export
|
|
59
|
-
endDate: null;
|
|
60
|
-
startDate: string;
|
|
61
|
-
thumbnailImage: {
|
|
62
|
-
src: {
|
|
63
|
-
height: string;
|
|
64
|
-
url: string;
|
|
65
|
-
width: string;
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
title: string;
|
|
69
|
-
url: string;
|
|
70
|
-
}[];
|
|
59
|
+
export { EventsBlockLinkCarouselData as moreEvents };
|
|
71
60
|
export let speakers: ({
|
|
72
61
|
host: string;
|
|
73
62
|
id: string;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import { EventCardObject } from './../../interfaces';
|
|
2
|
+
import { EventDateObject } from './../../utils/mixins';
|
|
3
|
+
|
|
1
4
|
declare const _default: import('vue').DefineComponent<{
|
|
2
5
|
data: {
|
|
3
6
|
type: ObjectConstructor;
|
|
@@ -6,9 +9,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
6
9
|
}, unknown, {
|
|
7
10
|
PlaceholderPortrait: string;
|
|
8
11
|
}, {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
formattedSplitEventDates():
|
|
12
|
+
moreEvents(): EventCardObject[];
|
|
13
|
+
startDateTimeForFormatting(): string;
|
|
14
|
+
formattedSplitEventDates(): string | EventDateObject | undefined;
|
|
12
15
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
16
|
data: {
|
|
14
17
|
type: ObjectConstructor;
|