@explorer-1/vue 0.2.0 → 0.2.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.
Files changed (40) hide show
  1. package/components.d.ts +1 -0
  2. package/dist/explorer-1-vue.js +3759 -3729
  3. package/dist/explorer-1-vue.umd.cjs +12 -12
  4. package/dist/src/components/BlockCard/BlockCard.vue.d.ts +9 -0
  5. package/dist/src/components/BlockLinkCard/BlockLinkCard.vue.d.ts +30 -0
  6. package/dist/src/components/BlockRelatedLinks/BlockRelatedLinks.vue.d.ts +11 -0
  7. package/dist/src/components/BlockStreamfield/BlockStreamfield.stories.d.ts +17 -0
  8. package/dist/src/components/CalendarButton/CalendarButton.stories.d.ts +2 -62
  9. package/dist/src/components/CalendarButton/CalendarButton.vue.d.ts +26 -7
  10. package/dist/src/components/EventDetailHero/EventDetailHero.vue.d.ts +8 -1
  11. package/dist/src/templates/PageEventDetail/PageEventDetail.stories.d.ts +3 -1
  12. package/dist/src/templates/PageImageDetail/PageImageDetail.stories.d.ts +19 -27
  13. package/dist/src/templates/PageNewsDetail/PageNewsDetail.stories.d.ts +136 -0
  14. package/dist/src/templates/edu/PageContentEdu.stories.d.ts +1 -0
  15. package/dist/src/templates/edu/PageEduEventDetail/PageEduEventDetail.stories.d.ts +128 -0
  16. package/dist/src/templates/edu/PageEduNewsDetail/PageEduNewsDetail.stories.d.ts +51 -0
  17. package/dist/src/templates/edu/PageEduResourceArticle/PageEduResourceArticle.stories.d.ts +17 -0
  18. package/dist/src/templates/www/PageCuratedGallery/PageCuratedGallery.stories.d.ts +17 -0
  19. package/dist/src/templates/www/PageRoboticsDetail/PageRoboticsDetail.stories.d.ts +17 -0
  20. package/dist/style.css +1 -1
  21. package/package.json +1 -1
  22. package/src/components/BaseTag/BaseTag.vue +2 -2
  23. package/src/components/BlockCard/BlockCard.vue +8 -5
  24. package/src/components/BlockInlineImage/BlockInlineImage.vue +1 -1
  25. package/src/components/BlockLinkCard/BlockLinkCard.vue +33 -13
  26. package/src/components/BlockLinkCarousel/BlockLinkCarousel.vue +0 -1
  27. package/src/components/BlockRelatedLinks/BlockRelatedLinks.vue +6 -1
  28. package/src/components/BlockStreamfield/BlockStreamfield.stories.js +1 -0
  29. package/src/components/BlockStreamfield/BlockStreamfield.vue +3 -0
  30. package/src/components/CalendarButton/CalendarButton.stories.js +1 -19
  31. package/src/components/CalendarButton/CalendarButton.vue +43 -17
  32. package/src/components/EventDetailHero/EventDetailHero.vue +26 -31
  33. package/src/components/MixinCarousel/MixinCarousel.vue +1 -1
  34. package/src/components/ThumbnailCarousel/ThumbnailCarousel.stories.js +1 -0
  35. package/src/templates/PageEventDetail/PageEventDetail.stories.js +3 -1
  36. package/src/templates/PageEventDetail/PageEventDetail.vue +3 -3
  37. package/src/templates/PageImageDetail/PageImageDetail.stories.js +1 -1
  38. package/src/templates/edu/PageContentEdu.stories.js +1 -0
  39. package/src/templates/edu/PageEduEventDetail/PageEduEventDetail.stories.js +130 -0
  40. package/src/templates/edu/PageEduEventDetail/PageEduEventDetail.vue +419 -0
@@ -7,14 +7,17 @@ declare const _default: import('vue').DefineComponent<{
7
7
  title: {
8
8
  type: StringConstructor;
9
9
  required: false;
10
+ default: undefined;
10
11
  };
11
12
  text: {
12
13
  type: StringConstructor;
13
14
  required: false;
15
+ default: undefined;
14
16
  };
15
17
  image: {
16
18
  type: ObjectConstructor;
17
19
  required: false;
20
+ default: undefined;
18
21
  };
19
22
  }, unknown, unknown, {
20
23
  theSrcSet(): any;
@@ -27,16 +30,22 @@ declare const _default: import('vue').DefineComponent<{
27
30
  title: {
28
31
  type: StringConstructor;
29
32
  required: false;
33
+ default: undefined;
30
34
  };
31
35
  text: {
32
36
  type: StringConstructor;
33
37
  required: false;
38
+ default: undefined;
34
39
  };
35
40
  image: {
36
41
  type: ObjectConstructor;
37
42
  required: false;
43
+ default: undefined;
38
44
  };
39
45
  }>>, {
46
+ title: string;
47
+ image: Record<string, any>;
48
+ text: string;
40
49
  type: string;
41
50
  }, {}>;
42
51
  export default _default;
@@ -6,38 +6,47 @@ declare const _default: import('vue').DefineComponent<{
6
6
  data: {
7
7
  type: PropType<Card>;
8
8
  required: false;
9
+ default: undefined;
9
10
  };
10
11
  url: {
11
12
  type: StringConstructor;
12
13
  required: false;
14
+ default: undefined;
13
15
  };
14
16
  externalLink: {
15
17
  type: StringConstructor;
16
18
  required: false;
19
+ default: undefined;
17
20
  };
18
21
  thumbnailImage: {
19
22
  type: ObjectConstructor;
20
23
  required: false;
24
+ default: undefined;
21
25
  };
22
26
  label: {
23
27
  type: StringConstructor;
24
28
  required: false;
29
+ default: undefined;
25
30
  };
26
31
  title: {
27
32
  type: StringConstructor;
28
33
  required: false;
34
+ default: undefined;
29
35
  };
30
36
  date: {
31
37
  type: StringConstructor;
32
38
  required: false;
39
+ default: undefined;
33
40
  };
34
41
  startDate: {
35
42
  type: StringConstructor;
36
43
  required: false;
44
+ default: undefined;
37
45
  };
38
46
  endDate: {
39
47
  type: StringConstructor;
40
48
  required: false;
49
+ default: undefined;
41
50
  };
42
51
  compact: {
43
52
  type: BooleanConstructor;
@@ -46,6 +55,7 @@ declare const _default: import('vue').DefineComponent<{
46
55
  headingLevel: {
47
56
  type: PropType<HeadingLevel>;
48
57
  required: false;
58
+ default: undefined;
49
59
  };
50
60
  }, unknown, unknown, {
51
61
  theItem(): Card | undefined;
@@ -54,38 +64,47 @@ declare const _default: import('vue').DefineComponent<{
54
64
  data: {
55
65
  type: PropType<Card>;
56
66
  required: false;
67
+ default: undefined;
57
68
  };
58
69
  url: {
59
70
  type: StringConstructor;
60
71
  required: false;
72
+ default: undefined;
61
73
  };
62
74
  externalLink: {
63
75
  type: StringConstructor;
64
76
  required: false;
77
+ default: undefined;
65
78
  };
66
79
  thumbnailImage: {
67
80
  type: ObjectConstructor;
68
81
  required: false;
82
+ default: undefined;
69
83
  };
70
84
  label: {
71
85
  type: StringConstructor;
72
86
  required: false;
87
+ default: undefined;
73
88
  };
74
89
  title: {
75
90
  type: StringConstructor;
76
91
  required: false;
92
+ default: undefined;
77
93
  };
78
94
  date: {
79
95
  type: StringConstructor;
80
96
  required: false;
97
+ default: undefined;
81
98
  };
82
99
  startDate: {
83
100
  type: StringConstructor;
84
101
  required: false;
102
+ default: undefined;
85
103
  };
86
104
  endDate: {
87
105
  type: StringConstructor;
88
106
  required: false;
107
+ default: undefined;
89
108
  };
90
109
  compact: {
91
110
  type: BooleanConstructor;
@@ -94,8 +113,19 @@ declare const _default: import('vue').DefineComponent<{
94
113
  headingLevel: {
95
114
  type: PropType<HeadingLevel>;
96
115
  required: false;
116
+ default: undefined;
97
117
  };
98
118
  }>>, {
119
+ data: Card;
120
+ label: string;
121
+ title: string;
122
+ date: string;
123
+ url: string;
99
124
  compact: boolean;
125
+ thumbnailImage: Record<string, any>;
126
+ externalLink: string;
127
+ startDate: string;
128
+ endDate: string;
129
+ headingLevel: HeadingLevel;
100
130
  }, {}>;
101
131
  export default _default;
@@ -11,6 +11,11 @@ declare const _default: import('vue').DefineComponent<{
11
11
  required: true;
12
12
  default: () => {};
13
13
  };
14
+ headingSize: {
15
+ type: StringConstructor;
16
+ required: false;
17
+ default: undefined;
18
+ };
14
19
  }, unknown, unknown, {
15
20
  hasContent(): boolean;
16
21
  }, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -19,7 +24,13 @@ declare const _default: import('vue').DefineComponent<{
19
24
  required: true;
20
25
  default: () => {};
21
26
  };
27
+ headingSize: {
28
+ type: StringConstructor;
29
+ required: false;
30
+ default: undefined;
31
+ };
22
32
  }>>, {
23
33
  data: BlockRelatedLinksObject;
34
+ headingSize: string;
24
35
  }, {}>;
25
36
  export default _default;
@@ -46,6 +46,23 @@ export namespace BlockStreamfieldTruncatedData {
46
46
  };
47
47
  };
48
48
  caption: string;
49
+ } | {
50
+ blockType: string;
51
+ text: string;
52
+ alignTo: string;
53
+ image: {
54
+ alt: string;
55
+ src: {
56
+ height: number;
57
+ url: string;
58
+ width: number;
59
+ };
60
+ original: string;
61
+ caption: string;
62
+ credit: string;
63
+ detailUrl: string;
64
+ };
65
+ displayCaption: boolean;
49
66
  } | {
50
67
  blockType: string;
51
68
  heading: string;
@@ -13,67 +13,7 @@ export namespace CalendarButtonData {
13
13
  export let startDatetime: string;
14
14
  export let endDatetime: string;
15
15
  }
16
- export function BaseStory(args: any): {
17
- props: string[];
18
- components: {
19
- CalendarButton: import('vue').DefineComponent<{
20
- isAllDay: {
21
- type: BooleanConstructor;
22
- required: true;
23
- };
24
- startDatetime: {
25
- type: StringConstructor;
26
- required: true;
27
- };
28
- endDatetime: {
29
- type: StringConstructor;
30
- required: false;
31
- };
32
- title: {
33
- type: StringConstructor;
34
- required: false;
35
- };
36
- location: {
37
- type: StringConstructor;
38
- required: false;
39
- };
40
- description: {
41
- type: StringConstructor;
42
- required: false;
43
- };
44
- }, unknown, unknown, {
45
- icalendar(): import('datebook').ICalendar;
46
- }, {
47
- addSlashes(string: string): string;
48
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
49
- isAllDay: {
50
- type: BooleanConstructor;
51
- required: true;
52
- };
53
- startDatetime: {
54
- type: StringConstructor;
55
- required: true;
56
- };
57
- endDatetime: {
58
- type: StringConstructor;
59
- required: false;
60
- };
61
- title: {
62
- type: StringConstructor;
63
- required: false;
64
- };
65
- location: {
66
- type: StringConstructor;
67
- required: false;
68
- };
69
- description: {
70
- type: StringConstructor;
71
- required: false;
72
- };
73
- }>>, {}, {}>;
74
- };
75
- template: string;
76
- };
77
16
  export namespace BaseStory {
78
- namespace args { }
17
+ export let name: string;
18
+ export { CalendarButtonData as args };
79
19
  }
@@ -1,9 +1,10 @@
1
- import { ICalendar } from 'datebook';
1
+ import { CalendarOptions } from 'datebook';
2
2
 
3
3
  declare const _default: import('vue').DefineComponent<{
4
4
  isAllDay: {
5
5
  type: BooleanConstructor;
6
- required: true;
6
+ required: false;
7
+ default: boolean;
7
8
  };
8
9
  startDatetime: {
9
10
  type: StringConstructor;
@@ -12,27 +13,35 @@ declare const _default: import('vue').DefineComponent<{
12
13
  endDatetime: {
13
14
  type: StringConstructor;
14
15
  required: false;
16
+ default: undefined;
15
17
  };
16
18
  title: {
17
19
  type: StringConstructor;
18
20
  required: false;
21
+ default: undefined;
19
22
  };
20
23
  location: {
21
24
  type: StringConstructor;
22
25
  required: false;
26
+ default: undefined;
23
27
  };
24
28
  description: {
25
29
  type: StringConstructor;
26
30
  required: false;
31
+ default: undefined;
27
32
  };
28
- }, unknown, unknown, {
29
- icalendar(): ICalendar;
30
- }, {
33
+ }, unknown, {
34
+ icalendar: any;
35
+ options: CalendarOptions | undefined;
36
+ }, {}, {
37
+ init(): void;
31
38
  addSlashes(string: string): string;
39
+ handleDownload(): void;
32
40
  }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
33
41
  isAllDay: {
34
42
  type: BooleanConstructor;
35
- required: true;
43
+ required: false;
44
+ default: boolean;
36
45
  };
37
46
  startDatetime: {
38
47
  type: StringConstructor;
@@ -41,18 +50,28 @@ declare const _default: import('vue').DefineComponent<{
41
50
  endDatetime: {
42
51
  type: StringConstructor;
43
52
  required: false;
53
+ default: undefined;
44
54
  };
45
55
  title: {
46
56
  type: StringConstructor;
47
57
  required: false;
58
+ default: undefined;
48
59
  };
49
60
  location: {
50
61
  type: StringConstructor;
51
62
  required: false;
63
+ default: undefined;
52
64
  };
53
65
  description: {
54
66
  type: StringConstructor;
55
67
  required: false;
68
+ default: undefined;
56
69
  };
57
- }>>, {}, {}>;
70
+ }>>, {
71
+ title: string;
72
+ description: string;
73
+ isAllDay: boolean;
74
+ endDatetime: string;
75
+ location: string;
76
+ }, {}>;
58
77
  export default _default;
@@ -5,6 +5,7 @@ declare const _default: import('vue').DefineComponent<{
5
5
  data: {
6
6
  type: ObjectConstructor;
7
7
  required: false;
8
+ default: undefined;
8
9
  };
9
10
  startDateSplit: {
10
11
  type: PropType<EventDateObject | undefined>;
@@ -13,6 +14,7 @@ declare const _default: import('vue').DefineComponent<{
13
14
  image: {
14
15
  type: ObjectConstructor;
15
16
  required: false;
17
+ default: undefined;
16
18
  };
17
19
  }, unknown, unknown, {
18
20
  getSrcSet(): string | undefined;
@@ -20,6 +22,7 @@ declare const _default: import('vue').DefineComponent<{
20
22
  data: {
21
23
  type: ObjectConstructor;
22
24
  required: false;
25
+ default: undefined;
23
26
  };
24
27
  startDateSplit: {
25
28
  type: PropType<EventDateObject | undefined>;
@@ -28,6 +31,10 @@ declare const _default: import('vue').DefineComponent<{
28
31
  image: {
29
32
  type: ObjectConstructor;
30
33
  required: false;
34
+ default: undefined;
31
35
  };
32
- }>>, {}, {}>;
36
+ }>>, {
37
+ data: Record<string, any>;
38
+ image: Record<string, any>;
39
+ }, {}>;
33
40
  export default _default;
@@ -2,6 +2,7 @@ import { default as PageEventDetail } from './PageEventDetail.vue';
2
2
  declare namespace _default {
3
3
  export let title: string;
4
4
  export { PageEventDetail as component };
5
+ export let tags: string[];
5
6
  export namespace parameters {
6
7
  namespace html {
7
8
  let root: string;
@@ -12,6 +13,7 @@ declare namespace _default {
12
13
  }
13
14
  export default _default;
14
15
  export namespace BaseStory {
16
+ let name: string;
15
17
  namespace args {
16
18
  namespace data {
17
19
  export let id: string;
@@ -30,7 +32,7 @@ export namespace BaseStory {
30
32
  export let label: string;
31
33
  export let location: string;
32
34
  export let registerLink: never[];
33
- export let heroImage: {
35
+ export let eventImage: {
34
36
  srcSet: string;
35
37
  src: {
36
38
  url: string;
@@ -41,6 +41,23 @@ export namespace ImageDetailPageData {
41
41
  };
42
42
  };
43
43
  caption: string;
44
+ } | {
45
+ blockType: string;
46
+ text: string;
47
+ alignTo: string;
48
+ image: {
49
+ alt: string;
50
+ src: {
51
+ height: number;
52
+ url: string;
53
+ width: number;
54
+ };
55
+ original: string;
56
+ caption: string;
57
+ credit: string;
58
+ detailUrl: string;
59
+ };
60
+ displayCaption: boolean;
44
61
  } | {
45
62
  blockType: string;
46
63
  heading: string;
@@ -88,31 +105,7 @@ export namespace ImageDetailPageData {
88
105
  instrument: string;
89
106
  }[];
90
107
  export { BlockLinkTileCarouselData as keepExploringInstrument };
91
- export let keepExploringMission: ({
92
- url: string;
93
- title: string;
94
- label: string;
95
- thumbnailImage: {
96
- src: {
97
- url: string;
98
- width: number;
99
- height: number;
100
- };
101
- alt: string;
102
- };
103
- } | {
104
- url: string;
105
- title: string;
106
- thumbnailImage: {
107
- src: {
108
- url: string;
109
- width: number;
110
- height: number;
111
- };
112
- alt: string;
113
- };
114
- label?: undefined;
115
- })[];
108
+ export { BlockLinkTileCarouselData as keepExploringMission };
116
109
  export { BlockLinkTileCarouselData as keepExploringTarget };
117
110
  export let label: string;
118
111
  export let piaNumber: string;
@@ -148,8 +141,7 @@ export namespace BaseStory {
148
141
  export namespace NoTabbedCarousels {
149
142
  export namespace args_1 {
150
143
  export namespace data_1 {
151
- let keepExploringMission_1: null;
152
- export { keepExploringMission_1 as keepExploringMission };
144
+ export let keepExploringMission: null;
153
145
  export let keepExploringInstrument: never[];
154
146
  export let keepExploringTarget: null;
155
147
  let relatedMission_1: {
@@ -131,6 +131,23 @@ export namespace BaseStory {
131
131
  };
132
132
  };
133
133
  caption: string;
134
+ } | {
135
+ blockType: string;
136
+ text: string;
137
+ alignTo: string;
138
+ image: {
139
+ alt: string;
140
+ src: {
141
+ height: number;
142
+ url: string;
143
+ width: number;
144
+ };
145
+ original: string;
146
+ caption: string;
147
+ credit: string;
148
+ detailUrl: string;
149
+ };
150
+ displayCaption: boolean;
134
151
  } | {
135
152
  blockType: string;
136
153
  heading: string;
@@ -341,6 +358,23 @@ export namespace InlineHero {
341
358
  };
342
359
  };
343
360
  caption: string;
361
+ } | {
362
+ blockType: string;
363
+ text: string;
364
+ alignTo: string;
365
+ image: {
366
+ alt: string;
367
+ src: {
368
+ height: number;
369
+ url: string;
370
+ width: number;
371
+ };
372
+ original: string;
373
+ caption: string;
374
+ credit: string;
375
+ detailUrl: string;
376
+ };
377
+ displayCaption: boolean;
344
378
  } | {
345
379
  blockType: string;
346
380
  heading: string;
@@ -570,6 +604,23 @@ export namespace HeroCarousel {
570
604
  };
571
605
  };
572
606
  caption: string;
607
+ } | {
608
+ blockType: string;
609
+ text: string;
610
+ alignTo: string;
611
+ image: {
612
+ alt: string;
613
+ src: {
614
+ height: number;
615
+ url: string;
616
+ width: number;
617
+ };
618
+ original: string;
619
+ caption: string;
620
+ credit: string;
621
+ detailUrl: string;
622
+ };
623
+ displayCaption: boolean;
573
624
  } | {
574
625
  blockType: string;
575
626
  heading: string;
@@ -745,6 +796,23 @@ export namespace HeroImageComparison {
745
796
  };
746
797
  };
747
798
  caption: string;
799
+ } | {
800
+ blockType: string;
801
+ text: string;
802
+ alignTo: string;
803
+ image: {
804
+ alt: string;
805
+ src: {
806
+ height: number;
807
+ url: string;
808
+ width: number;
809
+ };
810
+ original: string;
811
+ caption: string;
812
+ credit: string;
813
+ detailUrl: string;
814
+ };
815
+ displayCaption: boolean;
748
816
  } | {
749
817
  blockType: string;
750
818
  heading: string;
@@ -916,6 +984,23 @@ export namespace HeroVideo {
916
984
  };
917
985
  };
918
986
  caption: string;
987
+ } | {
988
+ blockType: string;
989
+ text: string;
990
+ alignTo: string;
991
+ image: {
992
+ alt: string;
993
+ src: {
994
+ height: number;
995
+ url: string;
996
+ width: number;
997
+ };
998
+ original: string;
999
+ caption: string;
1000
+ credit: string;
1001
+ detailUrl: string;
1002
+ };
1003
+ displayCaption: boolean;
919
1004
  } | {
920
1005
  blockType: string;
921
1006
  heading: string;
@@ -1079,6 +1164,23 @@ export namespace HeroVideoEmbed {
1079
1164
  };
1080
1165
  };
1081
1166
  caption: string;
1167
+ } | {
1168
+ blockType: string;
1169
+ text: string;
1170
+ alignTo: string;
1171
+ image: {
1172
+ alt: string;
1173
+ src: {
1174
+ height: number;
1175
+ url: string;
1176
+ width: number;
1177
+ };
1178
+ original: string;
1179
+ caption: string;
1180
+ credit: string;
1181
+ detailUrl: string;
1182
+ };
1183
+ displayCaption: boolean;
1082
1184
  } | {
1083
1185
  blockType: string;
1084
1186
  heading: string;
@@ -1233,6 +1335,23 @@ export namespace NoHero {
1233
1335
  };
1234
1336
  };
1235
1337
  caption: string;
1338
+ } | {
1339
+ blockType: string;
1340
+ text: string;
1341
+ alignTo: string;
1342
+ image: {
1343
+ alt: string;
1344
+ src: {
1345
+ height: number;
1346
+ url: string;
1347
+ width: number;
1348
+ };
1349
+ original: string;
1350
+ caption: string;
1351
+ credit: string;
1352
+ detailUrl: string;
1353
+ };
1354
+ displayCaption: boolean;
1236
1355
  } | {
1237
1356
  blockType: string;
1238
1357
  heading: string;
@@ -1388,6 +1507,23 @@ export namespace WithTopper {
1388
1507
  };
1389
1508
  };
1390
1509
  caption: string;
1510
+ } | {
1511
+ blockType: string;
1512
+ text: string;
1513
+ alignTo: string;
1514
+ image: {
1515
+ alt: string;
1516
+ src: {
1517
+ height: number;
1518
+ url: string;
1519
+ width: number;
1520
+ };
1521
+ original: string;
1522
+ caption: string;
1523
+ credit: string;
1524
+ detailUrl: string;
1525
+ };
1526
+ displayCaption: boolean;
1391
1527
  } | {
1392
1528
  blockType: string;
1393
1529
  heading: string;
@@ -21,6 +21,7 @@ declare namespace _default {
21
21
  }
22
22
  export default _default;
23
23
  export namespace BaseStory {
24
+ let name: string;
24
25
  namespace args {
25
26
  export { ContentPageData as data };
26
27
  }