@explorer-1/vue 0.2.22 → 0.2.24
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 +2 -0
- package/dist/explorer-1-vue.js +8119 -7836
- package/dist/explorer-1-vue.umd.cjs +14 -14
- package/dist/src/components/BaseAccordionItem/BaseAccordionItem.vue.d.ts +54 -0
- package/dist/src/components/BaseButton/BaseButton.stories.d.ts +0 -13
- package/dist/src/components/BaseButton/BaseButton.vue.d.ts +0 -14
- package/dist/src/components/BaseImageCaption/BaseImageCaption.vue.d.ts +18 -0
- package/dist/src/components/BaseModal/BaseModal.stories.d.ts +0 -26
- package/dist/src/components/BaseSwimlane/BaseSwimlane.vue.d.ts +2 -2
- package/dist/src/components/BaseTimer/BaseTimer.vue.d.ts +2 -2
- package/dist/src/components/BlockAccordion/BlockAccordion.stories.d.ts +25 -40
- package/dist/src/components/BlockAccordion/BlockAccordion.vue.d.ts +51 -0
- package/dist/src/components/BlockGist/BlockGist.stories.d.ts +19 -0
- package/dist/src/components/BlockGist/BlockGist.vue.d.ts +19 -0
- package/dist/src/components/BlockGist/GitHub404.vue.d.ts +2 -0
- package/dist/src/components/BlockLinkCard/BlockLinkCard.stories.d.ts +71 -15
- package/dist/src/components/BlockLinkCard/BlockLinkCard.vue.d.ts +10 -2
- package/dist/src/components/BlockStreamfield/BlockStreamfield.stories.d.ts +127 -27
- package/dist/src/components/BlockTeaser/BlockTeaser.vue.d.ts +3 -2
- package/dist/src/components/CalendarButton/CalendarButton.vue.d.ts +12 -2
- package/dist/src/components/LayoutHelper/LayoutHelper.vue.d.ts +1 -1
- package/dist/src/components/MetaPanel/MetaPanel.stories.d.ts +6 -2
- package/dist/src/components/MetadataEvent/MetadataEvent.vue.d.ts +8 -0
- package/dist/src/components/MixinFancybox/MixinFancybox.vue.d.ts +1 -1
- package/dist/src/components/NavDesktop/NavDesktop.stories.d.ts +49 -0
- package/dist/src/components/NavDropdownToggle/NavDropdownToggle.vue.d.ts +1 -1
- package/dist/src/docs/foundation/grid_layouthelpers.stories.d.ts +4 -4
- package/dist/src/interfaces.d.ts +4 -0
- package/dist/src/templates/PageContent/PageContent.vue.d.ts +1 -0
- package/dist/src/templates/edu/PageContentEdu.stories.d.ts +179 -2
- package/dist/src/templates/edu/PageEduEventDetail/PageEduEventDetail.stories.d.ts +37 -18
- package/dist/src/templates/edu/PageEduExplainerArticle/PageEduExplainerArticle.stories.d.ts +3 -1
- package/dist/src/templates/edu/PageEduLesson/PageEduLesson.stories.d.ts +28 -46
- package/dist/src/templates/edu/PageEduNewsDetail/PageEduNewsDetail.stories.d.ts +378 -81
- package/dist/src/templates/www/PageAsteroidWatchIndex/PageAsteroidWatchIndex.stories.d.ts +126 -27
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/components/BaseAccordionItem/BaseAccordionItem.vue +8 -11
- package/src/components/BlockAccordion/BlockAccordion.stories.js +64 -19
- package/src/components/BlockAccordion/BlockAccordion.vue +99 -18
- package/src/components/BlockLinkCardList/BlockLinkCardList.stories.js +110 -0
- package/src/components/BlockLinkCardList/BlockLinkCardList.vue +34 -0
- package/src/components/BlockStreamfield/BlockStreamfield.stories.js +2 -0
- package/src/components/BlockStreamfield/BlockStreamfield.vue +36 -3
- package/src/components/MetadataEduResource/MetadataEduResource.stories.js +4 -1
- package/src/components/MetadataEduResource/MetadataEduResource.vue +14 -1
- package/src/components/NavJumpMenu/NavJumpMenu.vue +14 -2
- package/src/components/NavSecondary/NavSecondaryDropdown.vue +4 -5
- package/src/components/NavSecondary/NavSecondaryLink.vue +6 -4
- package/src/components/SearchSelectMenu/SearchSelectMenu.vue +1 -1
- package/src/docs/foundation/typography.stories.js +2 -0
- package/src/interfaces.ts +1 -0
- package/src/templates/edu/PageEduExplainerArticle/PageEduExplainerArticle.vue +1 -0
- package/src/templates/edu/PageEduLesson/PageEduLesson.vue +1 -0
- package/src/templates/edu/PageEduNewsDetail/PageEduNewsDetail.vue +1 -0
- package/src/utils/rangeifyGrades.ts +1 -1
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { AccordionItemObject } from './../../interfaces.ts';
|
|
2
|
+
|
|
3
|
+
export interface BaseAccordionItemProps {
|
|
4
|
+
headingLevel?: string;
|
|
5
|
+
item: AccordionItemObject;
|
|
6
|
+
backgroundClass?: string;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BaseAccordionItemProps>, {
|
|
9
|
+
headingLevel: string;
|
|
10
|
+
backgroundClass: undefined;
|
|
11
|
+
item(): AccordionItemObject;
|
|
12
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
+
accordionItemOpened: (...args: any[]) => void;
|
|
14
|
+
accordionItemClosed: (...args: any[]) => void;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BaseAccordionItemProps>, {
|
|
16
|
+
headingLevel: string;
|
|
17
|
+
backgroundClass: undefined;
|
|
18
|
+
item(): AccordionItemObject;
|
|
19
|
+
}>>> & {
|
|
20
|
+
onAccordionItemOpened?: ((...args: any[]) => any) | undefined;
|
|
21
|
+
onAccordionItemClosed?: ((...args: any[]) => any) | undefined;
|
|
22
|
+
}, {
|
|
23
|
+
item: AccordionItemObject;
|
|
24
|
+
headingLevel: string;
|
|
25
|
+
backgroundClass: string;
|
|
26
|
+
}, {}>, {
|
|
27
|
+
header?(_: {}): any;
|
|
28
|
+
heading?(_: {}): any;
|
|
29
|
+
default?(_: {}): any;
|
|
30
|
+
panelContents?(_: {}): any;
|
|
31
|
+
}>;
|
|
32
|
+
export default _default;
|
|
33
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
34
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
35
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
36
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
37
|
+
} : {
|
|
38
|
+
type: import('vue').PropType<T[K]>;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
type __VLS_WithDefaults<P, D> = {
|
|
43
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
44
|
+
default: D[K];
|
|
45
|
+
}> : P[K];
|
|
46
|
+
};
|
|
47
|
+
type __VLS_Prettify<T> = {
|
|
48
|
+
[K in keyof T]: T[K];
|
|
49
|
+
} & {};
|
|
50
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
51
|
+
new (): {
|
|
52
|
+
$slots: S;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
@@ -7,12 +7,6 @@ declare const _default: {
|
|
|
7
7
|
default: string;
|
|
8
8
|
validator: (prop: string) => boolean;
|
|
9
9
|
};
|
|
10
|
-
color: {
|
|
11
|
-
type: StringConstructor;
|
|
12
|
-
required: false;
|
|
13
|
-
default: string;
|
|
14
|
-
validator: (prop: string) => boolean;
|
|
15
|
-
};
|
|
16
10
|
compact: {
|
|
17
11
|
type: BooleanConstructor;
|
|
18
12
|
default: boolean;
|
|
@@ -54,12 +48,6 @@ declare const _default: {
|
|
|
54
48
|
default: string;
|
|
55
49
|
validator: (prop: string) => boolean;
|
|
56
50
|
};
|
|
57
|
-
color: {
|
|
58
|
-
type: StringConstructor;
|
|
59
|
-
required: false;
|
|
60
|
-
default: string;
|
|
61
|
-
validator: (prop: string) => boolean;
|
|
62
|
-
};
|
|
63
51
|
compact: {
|
|
64
52
|
type: BooleanConstructor;
|
|
65
53
|
default: boolean;
|
|
@@ -95,7 +83,6 @@ declare const _default: {
|
|
|
95
83
|
}, {
|
|
96
84
|
variant: string;
|
|
97
85
|
href: string;
|
|
98
|
-
color: string;
|
|
99
86
|
to: string | Record<string, any>;
|
|
100
87
|
ariaLabel: string;
|
|
101
88
|
compact: boolean;
|
|
@@ -2,7 +2,6 @@ interface Variants {
|
|
|
2
2
|
[key: string]: string;
|
|
3
3
|
}
|
|
4
4
|
export declare const variants: Variants;
|
|
5
|
-
export declare const colors: Variants;
|
|
6
5
|
declare const _default: import('vue').DefineComponent<{
|
|
7
6
|
variant: {
|
|
8
7
|
type: StringConstructor;
|
|
@@ -10,12 +9,6 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
10
9
|
default: string;
|
|
11
10
|
validator: (prop: string) => boolean;
|
|
12
11
|
};
|
|
13
|
-
color: {
|
|
14
|
-
type: StringConstructor;
|
|
15
|
-
required: false;
|
|
16
|
-
default: string;
|
|
17
|
-
validator: (prop: string) => boolean;
|
|
18
|
-
};
|
|
19
12
|
compact: {
|
|
20
13
|
type: BooleanConstructor;
|
|
21
14
|
default: boolean;
|
|
@@ -57,12 +50,6 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
57
50
|
default: string;
|
|
58
51
|
validator: (prop: string) => boolean;
|
|
59
52
|
};
|
|
60
|
-
color: {
|
|
61
|
-
type: StringConstructor;
|
|
62
|
-
required: false;
|
|
63
|
-
default: string;
|
|
64
|
-
validator: (prop: string) => boolean;
|
|
65
|
-
};
|
|
66
53
|
compact: {
|
|
67
54
|
type: BooleanConstructor;
|
|
68
55
|
default: boolean;
|
|
@@ -98,7 +85,6 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
98
85
|
}, {
|
|
99
86
|
variant: string;
|
|
100
87
|
href: string;
|
|
101
|
-
color: string;
|
|
102
88
|
to: string | Record<string, any>;
|
|
103
89
|
ariaLabel: string;
|
|
104
90
|
compact: boolean;
|
|
@@ -7,13 +7,31 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
7
7
|
required: true;
|
|
8
8
|
default: undefined;
|
|
9
9
|
};
|
|
10
|
+
customLink: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: undefined;
|
|
13
|
+
};
|
|
14
|
+
customLinkText: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
10
18
|
}, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
11
19
|
data: {
|
|
12
20
|
type: PropType<Partial<ImageObject>>;
|
|
13
21
|
required: true;
|
|
14
22
|
default: undefined;
|
|
15
23
|
};
|
|
24
|
+
customLink: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: undefined;
|
|
27
|
+
};
|
|
28
|
+
customLinkText: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
16
32
|
}>>, {
|
|
17
33
|
data: Partial<ImageObject>;
|
|
34
|
+
customLink: string;
|
|
35
|
+
customLinkText: string;
|
|
18
36
|
}, {}>;
|
|
19
37
|
export default _default;
|
|
@@ -75,12 +75,6 @@ export function CustomTrigger(args: any): {
|
|
|
75
75
|
default: string;
|
|
76
76
|
validator: (prop: string) => boolean;
|
|
77
77
|
};
|
|
78
|
-
color: {
|
|
79
|
-
type: StringConstructor;
|
|
80
|
-
required: false;
|
|
81
|
-
default: string;
|
|
82
|
-
validator: (prop: string) => boolean;
|
|
83
|
-
};
|
|
84
78
|
compact: {
|
|
85
79
|
type: BooleanConstructor;
|
|
86
80
|
default: boolean;
|
|
@@ -122,12 +116,6 @@ export function CustomTrigger(args: any): {
|
|
|
122
116
|
default: string;
|
|
123
117
|
validator: (prop: string) => boolean;
|
|
124
118
|
};
|
|
125
|
-
color: {
|
|
126
|
-
type: StringConstructor;
|
|
127
|
-
required: false;
|
|
128
|
-
default: string;
|
|
129
|
-
validator: (prop: string) => boolean;
|
|
130
|
-
};
|
|
131
119
|
compact: {
|
|
132
120
|
type: BooleanConstructor;
|
|
133
121
|
default: boolean;
|
|
@@ -163,7 +151,6 @@ export function CustomTrigger(args: any): {
|
|
|
163
151
|
}, {
|
|
164
152
|
variant: string;
|
|
165
153
|
href: string;
|
|
166
|
-
color: string;
|
|
167
154
|
to: string | Record<string, any>;
|
|
168
155
|
ariaLabel: string;
|
|
169
156
|
compact: boolean;
|
|
@@ -205,12 +192,6 @@ export function Nested(args: any): {
|
|
|
205
192
|
default: string;
|
|
206
193
|
validator: (prop: string) => boolean;
|
|
207
194
|
};
|
|
208
|
-
color: {
|
|
209
|
-
type: StringConstructor;
|
|
210
|
-
required: false;
|
|
211
|
-
default: string;
|
|
212
|
-
validator: (prop: string) => boolean;
|
|
213
|
-
};
|
|
214
195
|
compact: {
|
|
215
196
|
type: BooleanConstructor;
|
|
216
197
|
default: boolean;
|
|
@@ -252,12 +233,6 @@ export function Nested(args: any): {
|
|
|
252
233
|
default: string;
|
|
253
234
|
validator: (prop: string) => boolean;
|
|
254
235
|
};
|
|
255
|
-
color: {
|
|
256
|
-
type: StringConstructor;
|
|
257
|
-
required: false;
|
|
258
|
-
default: string;
|
|
259
|
-
validator: (prop: string) => boolean;
|
|
260
|
-
};
|
|
261
236
|
compact: {
|
|
262
237
|
type: BooleanConstructor;
|
|
263
238
|
default: boolean;
|
|
@@ -293,7 +268,6 @@ export function Nested(args: any): {
|
|
|
293
268
|
}, {
|
|
294
269
|
variant: string;
|
|
295
270
|
href: string;
|
|
296
|
-
color: string;
|
|
297
271
|
to: string | Record<string, any>;
|
|
298
272
|
ariaLabel: string;
|
|
299
273
|
compact: boolean;
|
|
@@ -75,9 +75,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
75
75
|
};
|
|
76
76
|
}>>, {
|
|
77
77
|
transition: string;
|
|
78
|
-
scale: number;
|
|
79
|
-
rows: number;
|
|
80
78
|
words: unknown[];
|
|
79
|
+
rows: number;
|
|
80
|
+
scale: number;
|
|
81
81
|
transitionDuration: number;
|
|
82
82
|
transitionDelay: number;
|
|
83
83
|
pauseOnHover: boolean;
|
|
@@ -35,7 +35,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
35
35
|
required: true;
|
|
36
36
|
};
|
|
37
37
|
selectedUnits: {
|
|
38
|
-
type: PropType<("
|
|
38
|
+
type: PropType<("years" | "months" | "days" | "hours" | "minutes" | "seconds")[]>;
|
|
39
39
|
required: false;
|
|
40
40
|
validator: (val: UnitID[]) => boolean;
|
|
41
41
|
};
|
|
@@ -67,7 +67,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
67
67
|
required: true;
|
|
68
68
|
};
|
|
69
69
|
selectedUnits: {
|
|
70
|
-
type: PropType<("
|
|
70
|
+
type: PropType<("years" | "months" | "days" | "hours" | "minutes" | "seconds")[]>;
|
|
71
71
|
required: false;
|
|
72
72
|
validator: (val: UnitID[]) => boolean;
|
|
73
73
|
};
|
|
@@ -2,15 +2,25 @@ import { default as BlockAccordion } from './BlockAccordion.vue';
|
|
|
2
2
|
declare namespace _default {
|
|
3
3
|
export let title: string;
|
|
4
4
|
export { BlockAccordion as component };
|
|
5
|
+
export let tags: string[];
|
|
6
|
+
export let excludeStories: RegExp;
|
|
5
7
|
}
|
|
6
8
|
export default _default;
|
|
7
|
-
export namespace
|
|
8
|
-
let
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
export namespace BlockAccordionData {
|
|
10
|
+
let blockType: string;
|
|
11
|
+
let accordionItemsHeadingLevel: string;
|
|
12
|
+
let accordionItems: {
|
|
13
|
+
blockType: string;
|
|
14
|
+
blocks: ({
|
|
15
|
+
blockType: string;
|
|
16
|
+
value: string;
|
|
17
|
+
blocks?: undefined;
|
|
18
|
+
} | {
|
|
19
|
+
blockType: string;
|
|
20
|
+
blocks: ({
|
|
21
|
+
blockType: string;
|
|
22
|
+
value: string;
|
|
23
|
+
} | {
|
|
14
24
|
blockType: string;
|
|
15
25
|
fullBleed: boolean;
|
|
16
26
|
image: {
|
|
@@ -59,40 +69,15 @@ export namespace BaseStory {
|
|
|
59
69
|
width: number;
|
|
60
70
|
};
|
|
61
71
|
};
|
|
62
|
-
} | {
|
|
63
|
-
blockType: string;
|
|
64
|
-
text: string;
|
|
65
|
-
alignTo: string;
|
|
66
|
-
image: {
|
|
67
|
-
alt: string;
|
|
68
|
-
src: {
|
|
69
|
-
height: number;
|
|
70
|
-
url: string;
|
|
71
|
-
width: number;
|
|
72
|
-
};
|
|
73
|
-
original: string;
|
|
74
|
-
caption: string;
|
|
75
|
-
credit: string;
|
|
76
|
-
detailUrl: string;
|
|
77
|
-
};
|
|
78
|
-
displayCaption: boolean;
|
|
79
|
-
} | {
|
|
80
|
-
blockType: string;
|
|
81
|
-
heading: string;
|
|
82
|
-
listItem: {
|
|
83
|
-
text: string;
|
|
84
|
-
}[];
|
|
85
|
-
} | {
|
|
86
|
-
blockType: string;
|
|
87
|
-
value: string;
|
|
88
|
-
} | {
|
|
89
|
-
blockId: string;
|
|
90
|
-
blockType: string;
|
|
91
|
-
heading: string;
|
|
92
|
-
level: string;
|
|
93
|
-
size: string;
|
|
94
72
|
value?: undefined;
|
|
95
73
|
})[];
|
|
96
|
-
|
|
74
|
+
value?: undefined;
|
|
75
|
+
})[];
|
|
76
|
+
}[];
|
|
77
|
+
}
|
|
78
|
+
export namespace BaseStory {
|
|
79
|
+
let name: string;
|
|
80
|
+
namespace args {
|
|
81
|
+
export { BlockAccordionData as data };
|
|
97
82
|
}
|
|
98
83
|
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { ImageBlock } from '../../interfaces';
|
|
2
|
+
|
|
3
|
+
interface AccordionItemCharBlock {
|
|
4
|
+
blockType: 'CharBlock';
|
|
5
|
+
value: string;
|
|
6
|
+
}
|
|
7
|
+
interface RichTextBlock {
|
|
8
|
+
blockType: 'RichTextBlock';
|
|
9
|
+
text: string;
|
|
10
|
+
variant: string;
|
|
11
|
+
}
|
|
12
|
+
interface AccordionBodyStreamfieldBlock {
|
|
13
|
+
blockType: 'AccordionBodyStreamfieldBlock';
|
|
14
|
+
blocks: (ImageBlock | RichTextBlock)[];
|
|
15
|
+
}
|
|
16
|
+
interface AccordionItemBlock {
|
|
17
|
+
blockType: 'AccordionItemBlock';
|
|
18
|
+
blocks: (AccordionBodyStreamfieldBlock | AccordionItemCharBlock)[];
|
|
19
|
+
}
|
|
20
|
+
export interface AccordionBlockObject {
|
|
21
|
+
accordionItemsHeadingLevel: string;
|
|
22
|
+
accordionItems: AccordionItemBlock[];
|
|
23
|
+
}
|
|
24
|
+
interface BlockAccordionProps {
|
|
25
|
+
data: AccordionBlockObject;
|
|
26
|
+
}
|
|
27
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BlockAccordionProps>, {
|
|
28
|
+
data: undefined;
|
|
29
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BlockAccordionProps>, {
|
|
30
|
+
data: undefined;
|
|
31
|
+
}>>>, {
|
|
32
|
+
data: AccordionBlockObject;
|
|
33
|
+
}, {}>;
|
|
34
|
+
export default _default;
|
|
35
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
36
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
37
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
38
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
39
|
+
} : {
|
|
40
|
+
type: import('vue').PropType<T[K]>;
|
|
41
|
+
required: true;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
type __VLS_WithDefaults<P, D> = {
|
|
45
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
46
|
+
default: D[K];
|
|
47
|
+
}> : P[K];
|
|
48
|
+
};
|
|
49
|
+
type __VLS_Prettify<T> = {
|
|
50
|
+
[K in keyof T]: T[K];
|
|
51
|
+
} & {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { default as BlockGist } from './BlockGist.vue';
|
|
2
|
+
declare namespace _default {
|
|
3
|
+
export let title: string;
|
|
4
|
+
export { BlockGist as component };
|
|
5
|
+
export let excludeStories: RegExp;
|
|
6
|
+
}
|
|
7
|
+
export default _default;
|
|
8
|
+
export namespace BlockGistData {
|
|
9
|
+
let blockType: string;
|
|
10
|
+
let caption: string;
|
|
11
|
+
let id: string;
|
|
12
|
+
let url: string;
|
|
13
|
+
}
|
|
14
|
+
export namespace BaseStory {
|
|
15
|
+
let name: string;
|
|
16
|
+
namespace args {
|
|
17
|
+
export { BlockGistData as data };
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
interface BlockGistProps {
|
|
2
|
+
data: {
|
|
3
|
+
blockType?: string;
|
|
4
|
+
caption?: string;
|
|
5
|
+
id?: string;
|
|
6
|
+
url?: string;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<BlockGistProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<BlockGistProps>>>, {}, {}>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
+
} : {
|
|
16
|
+
type: import('vue').PropType<T[K]>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -140,22 +140,29 @@ export namespace EventItem {
|
|
|
140
140
|
}
|
|
141
141
|
export { args_3 as args };
|
|
142
142
|
}
|
|
143
|
-
export namespace
|
|
143
|
+
export namespace EventItemWithChip {
|
|
144
144
|
let decorators_4: (() => {
|
|
145
145
|
template: string;
|
|
146
146
|
})[];
|
|
147
147
|
export { decorators_4 as decorators };
|
|
148
148
|
export namespace args_4 {
|
|
149
|
+
export let showCalendarChip: boolean;
|
|
149
150
|
export namespace data_2 {
|
|
150
151
|
export namespace page_1 {
|
|
151
|
-
export namespace primarySubject {
|
|
152
|
-
let subject: string;
|
|
153
|
-
}
|
|
154
|
-
export let gradeLevels: {
|
|
155
|
-
gradeLevel: string;
|
|
156
|
-
}[];
|
|
157
152
|
let __typename_1: string;
|
|
158
153
|
export { __typename_1 as __typename };
|
|
154
|
+
let startDate_2: string;
|
|
155
|
+
export { startDate_2 as startDate };
|
|
156
|
+
let startDatetime_1: string;
|
|
157
|
+
export { startDatetime_1 as startDatetime };
|
|
158
|
+
let endDatetime_1: string;
|
|
159
|
+
export { endDatetime_1 as endDatetime };
|
|
160
|
+
let endDate_2: string;
|
|
161
|
+
export { endDate_2 as endDate };
|
|
162
|
+
let ongoing_1: boolean;
|
|
163
|
+
export { ongoing_1 as ongoing };
|
|
164
|
+
let eventType_1: string;
|
|
165
|
+
export { eventType_1 as eventType };
|
|
159
166
|
}
|
|
160
167
|
export { page_1 as page };
|
|
161
168
|
}
|
|
@@ -163,12 +170,37 @@ export namespace EduExplainerArticle {
|
|
|
163
170
|
}
|
|
164
171
|
export { args_4 as args };
|
|
165
172
|
}
|
|
166
|
-
export namespace
|
|
173
|
+
export namespace EduLesson {
|
|
174
|
+
let decorators_5: (() => {
|
|
175
|
+
template: string;
|
|
176
|
+
})[];
|
|
177
|
+
export { decorators_5 as decorators };
|
|
167
178
|
export namespace args_5 {
|
|
168
|
-
let size_3: string;
|
|
169
|
-
export { size_3 as size };
|
|
170
179
|
export namespace data_3 {
|
|
171
180
|
export namespace page_2 {
|
|
181
|
+
export namespace primarySubject {
|
|
182
|
+
let subject: string;
|
|
183
|
+
}
|
|
184
|
+
export let gradeLevels: {
|
|
185
|
+
gradeLevel: string;
|
|
186
|
+
}[];
|
|
187
|
+
let __typename_2: string;
|
|
188
|
+
export { __typename_2 as __typename };
|
|
189
|
+
}
|
|
190
|
+
export { page_2 as page };
|
|
191
|
+
}
|
|
192
|
+
export { data_3 as data };
|
|
193
|
+
}
|
|
194
|
+
export { args_5 as args };
|
|
195
|
+
}
|
|
196
|
+
export namespace EduExplainerArticle {
|
|
197
|
+
let decorators_6: (() => {
|
|
198
|
+
template: string;
|
|
199
|
+
})[];
|
|
200
|
+
export { decorators_6 as decorators };
|
|
201
|
+
export namespace args_6 {
|
|
202
|
+
export namespace data_4 {
|
|
203
|
+
export namespace page_3 {
|
|
172
204
|
export namespace primarySubject_1 {
|
|
173
205
|
let subject_1: string;
|
|
174
206
|
export { subject_1 as subject };
|
|
@@ -178,12 +210,36 @@ export namespace LargeEduExplainerArticle {
|
|
|
178
210
|
gradeLevel: string;
|
|
179
211
|
}[];
|
|
180
212
|
export { gradeLevels_1 as gradeLevels };
|
|
181
|
-
let
|
|
182
|
-
export {
|
|
213
|
+
let __typename_3: string;
|
|
214
|
+
export { __typename_3 as __typename };
|
|
183
215
|
}
|
|
184
|
-
export {
|
|
216
|
+
export { page_3 as page };
|
|
185
217
|
}
|
|
186
|
-
export {
|
|
218
|
+
export { data_4 as data };
|
|
187
219
|
}
|
|
188
|
-
export {
|
|
220
|
+
export { args_6 as args };
|
|
221
|
+
}
|
|
222
|
+
export namespace LargeEduExplainerArticle {
|
|
223
|
+
export namespace args_7 {
|
|
224
|
+
let size_3: string;
|
|
225
|
+
export { size_3 as size };
|
|
226
|
+
export namespace data_5 {
|
|
227
|
+
export namespace page_4 {
|
|
228
|
+
export namespace primarySubject_2 {
|
|
229
|
+
let subject_2: string;
|
|
230
|
+
export { subject_2 as subject };
|
|
231
|
+
}
|
|
232
|
+
export { primarySubject_2 as primarySubject };
|
|
233
|
+
let gradeLevels_2: {
|
|
234
|
+
gradeLevel: string;
|
|
235
|
+
}[];
|
|
236
|
+
export { gradeLevels_2 as gradeLevels };
|
|
237
|
+
let __typename_4: string;
|
|
238
|
+
export { __typename_4 as __typename };
|
|
239
|
+
}
|
|
240
|
+
export { page_4 as page };
|
|
241
|
+
}
|
|
242
|
+
export { data_5 as data };
|
|
243
|
+
}
|
|
244
|
+
export { args_7 as args };
|
|
189
245
|
}
|
|
@@ -77,12 +77,15 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
77
77
|
required: false;
|
|
78
78
|
default: undefined;
|
|
79
79
|
};
|
|
80
|
+
showCalendarChip: {
|
|
81
|
+
type: BooleanConstructor;
|
|
82
|
+
default: boolean;
|
|
83
|
+
};
|
|
80
84
|
}, unknown, unknown, {
|
|
81
85
|
small(): boolean;
|
|
82
86
|
medium(): boolean;
|
|
83
87
|
large(): boolean;
|
|
84
88
|
contentClasses(): string;
|
|
85
|
-
eduMetadataDictionaryComputed(): import('../../interfaces').PillDictionaryInterface;
|
|
86
89
|
theItem(): Card | EventCardObject | EduResourceCardObject | undefined;
|
|
87
90
|
metadataType(): string | undefined;
|
|
88
91
|
metadataAttrs(): import('../../interfaces').LabelObject | undefined;
|
|
@@ -169,6 +172,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
169
172
|
required: false;
|
|
170
173
|
default: undefined;
|
|
171
174
|
};
|
|
175
|
+
showCalendarChip: {
|
|
176
|
+
type: BooleanConstructor;
|
|
177
|
+
default: boolean;
|
|
178
|
+
};
|
|
172
179
|
}>>, {
|
|
173
180
|
data: Card;
|
|
174
181
|
label: string;
|
|
@@ -183,8 +190,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
183
190
|
eventType: string;
|
|
184
191
|
ongoing: boolean;
|
|
185
192
|
location: string;
|
|
186
|
-
externalLink: string;
|
|
187
193
|
headingLevel: HeadingLevel;
|
|
188
194
|
thumbnailImage: Record<string, any>;
|
|
195
|
+
externalLink: string;
|
|
196
|
+
showCalendarChip: boolean;
|
|
189
197
|
}, {}>;
|
|
190
198
|
export default _default;
|