@ndla/ui 56.0.148-alpha.0 → 56.0.150-alpha.0
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/panda.buildinfo.json +2 -1
- package/dist/styles.css +8 -4
- package/es/Article/Article.mjs +5 -9
- package/es/Article/Article.mjs.map +1 -1
- package/es/Article/BadgesContainer.mjs +14 -0
- package/es/Article/BadgesContainer.mjs.map +1 -0
- package/es/AudioPlayer/AudioPlayer.mjs +5 -6
- package/es/AudioPlayer/AudioPlayer.mjs.map +1 -1
- package/es/AudioPlayer/Controls.mjs +2 -4
- package/es/AudioPlayer/Controls.mjs.map +1 -1
- package/es/AudioPlayer/SpeechControl.mjs +1 -2
- package/es/AudioPlayer/SpeechControl.mjs.map +1 -1
- package/es/Breadcrumb/Breadcrumb.mjs +3 -4
- package/es/Breadcrumb/Breadcrumb.mjs.map +1 -1
- package/es/Breadcrumb/BreadcrumbItem.mjs +1 -2
- package/es/Breadcrumb/BreadcrumbItem.mjs.map +1 -1
- package/es/Breadcrumb/HomeBreadcrumb.mjs +3 -4
- package/es/Breadcrumb/HomeBreadcrumb.mjs.map +1 -1
- package/es/CampaignBlock/CampaignBlock.mjs +1 -2
- package/es/CampaignBlock/CampaignBlock.mjs.map +1 -1
- package/es/CodeBlock/CodeBlock.mjs +2 -3
- package/es/CodeBlock/CodeBlock.mjs.map +1 -1
- package/es/Concept/Concept.mjs +7 -7
- package/es/Concept/Concept.mjs.map +1 -1
- package/es/CopyParagraphButton/CopyParagraphButton.mjs +1 -2
- package/es/CopyParagraphButton/CopyParagraphButton.mjs.map +1 -1
- package/es/Embed/AudioEmbed.mjs +6 -7
- package/es/Embed/AudioEmbed.mjs.map +1 -1
- package/es/Embed/BrightcoveEmbed.mjs +3 -4
- package/es/Embed/BrightcoveEmbed.mjs.map +1 -1
- package/es/Embed/CodeEmbed.mjs +5 -6
- package/es/Embed/CodeEmbed.mjs.map +1 -1
- package/es/Embed/ConceptEmbed.mjs +2 -2
- package/es/Embed/ConceptEmbed.mjs.map +1 -1
- package/es/Embed/ContentLinkEmbed.mjs +1 -2
- package/es/Embed/ContentLinkEmbed.mjs.map +1 -1
- package/es/Embed/CopyrightEmbed.mjs +1 -2
- package/es/Embed/CopyrightEmbed.mjs.map +1 -1
- package/es/Embed/EmbedErrorPlaceholder.mjs +1 -2
- package/es/Embed/EmbedErrorPlaceholder.mjs.map +1 -1
- package/es/Embed/ExternalEmbed.mjs +5 -6
- package/es/Embed/ExternalEmbed.mjs.map +1 -1
- package/es/Embed/FootnoteEmbed.mjs +1 -2
- package/es/Embed/FootnoteEmbed.mjs.map +1 -1
- package/es/Embed/GlossEmbed.mjs +5 -5
- package/es/Embed/GlossEmbed.mjs.map +1 -1
- package/es/Embed/H5pEmbed.mjs +3 -4
- package/es/Embed/H5pEmbed.mjs.map +1 -1
- package/es/Embed/IframeEmbed.mjs +5 -6
- package/es/Embed/IframeEmbed.mjs.map +1 -1
- package/es/Embed/ImageEmbed.mjs +3 -4
- package/es/Embed/ImageEmbed.mjs.map +1 -1
- package/es/Embed/RelatedContentEmbed.mjs +6 -8
- package/es/Embed/RelatedContentEmbed.mjs.map +1 -1
- package/es/Embed/UnknownEmbed.mjs +1 -2
- package/es/Embed/UnknownEmbed.mjs.map +1 -1
- package/es/Embed/UuDisclaimerEmbed.mjs +1 -2
- package/es/Embed/UuDisclaimerEmbed.mjs.map +1 -1
- package/es/FactBox/FactBox.mjs +1 -2
- package/es/FactBox/FactBox.mjs.map +1 -1
- package/es/Gloss/Gloss.mjs +5 -6
- package/es/Gloss/Gloss.mjs.map +1 -1
- package/es/Gloss/GlossExample.mjs +1 -2
- package/es/Gloss/GlossExample.mjs.map +1 -1
- package/es/KeyFigure/KeyFigure.mjs +1 -2
- package/es/KeyFigure/KeyFigure.mjs.map +1 -1
- package/es/LinkBlock/LinkBlock.mjs +1 -2
- package/es/LinkBlock/LinkBlock.mjs.map +1 -1
- package/es/LinkBlock/LinkBlockSection.mjs +1 -2
- package/es/LinkBlock/LinkBlockSection.mjs.map +1 -1
- package/es/RelatedArticleList/RelatedArticleList.mjs +3 -4
- package/es/RelatedArticleList/RelatedArticleList.mjs.map +1 -1
- package/es/ResourceBox/ResourceBox.mjs +1 -2
- package/es/ResourceBox/ResourceBox.mjs.map +1 -1
- package/es/index.mjs +32 -28
- package/es/locale/messages-en.mjs +38 -37
- package/es/locale/messages-en.mjs.map +1 -1
- package/es/locale/messages-nb.mjs +38 -37
- package/es/locale/messages-nb.mjs.map +1 -1
- package/es/locale/messages-nn.mjs +38 -37
- package/es/locale/messages-nn.mjs.map +1 -1
- package/es/locale/messages-se.mjs +38 -37
- package/es/locale/messages-se.mjs.map +1 -1
- package/es/model/SubjectCategories.mjs +9 -2
- package/es/model/SubjectCategories.mjs.map +1 -1
- package/es/model/SubjectTypes.mjs +9 -2
- package/es/model/SubjectTypes.mjs.map +1 -1
- package/es/model/WordClass.mjs +1 -1
- package/es/model/index.mjs +2 -3
- package/es/model/index.mjs.map +1 -1
- package/es/utils/licenseAttributes.mjs +1 -2
- package/es/utils/licenseAttributes.mjs.map +1 -1
- package/lib/Article/Article.d.ts +4 -7
- package/lib/Article/Article.js +5 -9
- package/lib/Article/Article.js.map +1 -1
- package/lib/Article/BadgesContainer.d.ts +8 -0
- package/lib/Article/BadgesContainer.js +16 -0
- package/lib/Article/BadgesContainer.js.map +1 -0
- package/lib/AudioPlayer/AudioPlayer.d.ts +2 -2
- package/lib/AudioPlayer/AudioPlayer.js +3 -4
- package/lib/AudioPlayer/AudioPlayer.js.map +1 -1
- package/lib/AudioPlayer/Controls.d.ts +2 -2
- package/lib/AudioPlayer/Controls.js +2 -4
- package/lib/AudioPlayer/Controls.js.map +1 -1
- package/lib/AudioPlayer/SpeechControl.d.ts +2 -2
- package/lib/AudioPlayer/SpeechControl.js +1 -2
- package/lib/AudioPlayer/SpeechControl.js.map +1 -1
- package/lib/Breadcrumb/Breadcrumb.d.ts +2 -2
- package/lib/Breadcrumb/Breadcrumb.js +2 -3
- package/lib/Breadcrumb/Breadcrumb.js.map +1 -1
- package/lib/Breadcrumb/BreadcrumbItem.d.ts +2 -2
- package/lib/Breadcrumb/BreadcrumbItem.js +1 -2
- package/lib/Breadcrumb/BreadcrumbItem.js.map +1 -1
- package/lib/Breadcrumb/HomeBreadcrumb.d.ts +2 -2
- package/lib/Breadcrumb/HomeBreadcrumb.js +2 -3
- package/lib/Breadcrumb/HomeBreadcrumb.js.map +1 -1
- package/lib/CampaignBlock/CampaignBlock.d.ts +2 -2
- package/lib/CampaignBlock/CampaignBlock.js +1 -2
- package/lib/CampaignBlock/CampaignBlock.js.map +1 -1
- package/lib/CodeBlock/CodeBlock.d.ts +2 -2
- package/lib/CodeBlock/CodeBlock.js +2 -3
- package/lib/CodeBlock/CodeBlock.js.map +1 -1
- package/lib/Concept/Concept.js +2 -2
- package/lib/Concept/Concept.js.map +1 -1
- package/lib/CopyParagraphButton/CopyParagraphButton.d.ts +2 -2
- package/lib/CopyParagraphButton/CopyParagraphButton.js +1 -2
- package/lib/CopyParagraphButton/CopyParagraphButton.js.map +1 -1
- package/lib/Embed/AudioEmbed.d.ts +2 -2
- package/lib/Embed/AudioEmbed.js +4 -5
- package/lib/Embed/AudioEmbed.js.map +1 -1
- package/lib/Embed/BrightcoveEmbed.d.ts +2 -2
- package/lib/Embed/BrightcoveEmbed.js +2 -3
- package/lib/Embed/BrightcoveEmbed.js.map +1 -1
- package/lib/Embed/CodeEmbed.d.ts +2 -2
- package/lib/Embed/CodeEmbed.js +3 -4
- package/lib/Embed/CodeEmbed.js.map +1 -1
- package/lib/Embed/ConceptEmbed.js +1 -1
- package/lib/Embed/ConceptEmbed.js.map +1 -1
- package/lib/Embed/ContentLinkEmbed.d.ts +2 -2
- package/lib/Embed/ContentLinkEmbed.js +1 -2
- package/lib/Embed/ContentLinkEmbed.js.map +1 -1
- package/lib/Embed/CopyrightEmbed.d.ts +2 -2
- package/lib/Embed/CopyrightEmbed.js +1 -2
- package/lib/Embed/CopyrightEmbed.js.map +1 -1
- package/lib/Embed/EmbedErrorPlaceholder.d.ts +2 -2
- package/lib/Embed/EmbedErrorPlaceholder.js +1 -2
- package/lib/Embed/EmbedErrorPlaceholder.js.map +1 -1
- package/lib/Embed/ExternalEmbed.d.ts +2 -2
- package/lib/Embed/ExternalEmbed.js +3 -4
- package/lib/Embed/ExternalEmbed.js.map +1 -1
- package/lib/Embed/FootnoteEmbed.d.ts +2 -2
- package/lib/Embed/FootnoteEmbed.js +1 -2
- package/lib/Embed/FootnoteEmbed.js.map +1 -1
- package/lib/Embed/GlossEmbed.js +3 -3
- package/lib/Embed/GlossEmbed.js.map +1 -1
- package/lib/Embed/H5pEmbed.d.ts +2 -2
- package/lib/Embed/H5pEmbed.js +2 -3
- package/lib/Embed/H5pEmbed.js.map +1 -1
- package/lib/Embed/IframeEmbed.d.ts +2 -2
- package/lib/Embed/IframeEmbed.js +3 -4
- package/lib/Embed/IframeEmbed.js.map +1 -1
- package/lib/Embed/ImageEmbed.d.ts +2 -2
- package/lib/Embed/ImageEmbed.js +2 -3
- package/lib/Embed/ImageEmbed.js.map +1 -1
- package/lib/Embed/RelatedContentEmbed.d.ts +3 -2
- package/lib/Embed/RelatedContentEmbed.js +7 -8
- package/lib/Embed/RelatedContentEmbed.js.map +1 -1
- package/lib/Embed/UnknownEmbed.d.ts +2 -2
- package/lib/Embed/UnknownEmbed.js +1 -2
- package/lib/Embed/UnknownEmbed.js.map +1 -1
- package/lib/Embed/UuDisclaimerEmbed.d.ts +2 -2
- package/lib/Embed/UuDisclaimerEmbed.js +1 -2
- package/lib/Embed/UuDisclaimerEmbed.js.map +1 -1
- package/lib/FactBox/FactBox.d.ts +2 -2
- package/lib/FactBox/FactBox.js +1 -2
- package/lib/FactBox/FactBox.js.map +1 -1
- package/lib/Gloss/Gloss.d.ts +2 -2
- package/lib/Gloss/Gloss.js +3 -4
- package/lib/Gloss/Gloss.js.map +1 -1
- package/lib/Gloss/GlossExample.d.ts +2 -2
- package/lib/Gloss/GlossExample.js +1 -2
- package/lib/Gloss/GlossExample.js.map +1 -1
- package/lib/KeyFigure/KeyFigure.d.ts +1 -2
- package/lib/KeyFigure/KeyFigure.js +1 -2
- package/lib/KeyFigure/KeyFigure.js.map +1 -1
- package/lib/LinkBlock/LinkBlock.d.ts +2 -2
- package/lib/LinkBlock/LinkBlock.js +1 -2
- package/lib/LinkBlock/LinkBlock.js.map +1 -1
- package/lib/LinkBlock/LinkBlockSection.d.ts +2 -2
- package/lib/LinkBlock/LinkBlockSection.js +1 -2
- package/lib/LinkBlock/LinkBlockSection.js.map +1 -1
- package/lib/RelatedArticleList/RelatedArticleList.d.ts +2 -2
- package/lib/RelatedArticleList/RelatedArticleList.js +3 -4
- package/lib/RelatedArticleList/RelatedArticleList.js.map +1 -1
- package/lib/ResourceBox/ResourceBox.d.ts +1 -1
- package/lib/ResourceBox/ResourceBox.js +0 -2
- package/lib/ResourceBox/ResourceBox.js.map +1 -1
- package/lib/index.d.ts +30 -26
- package/lib/index.js +38 -28
- package/lib/locale/messages-en.d.ts +11 -9
- package/lib/locale/messages-en.js +47 -46
- package/lib/locale/messages-en.js.map +1 -1
- package/lib/locale/messages-nb.d.ts +11 -9
- package/lib/locale/messages-nb.js +47 -46
- package/lib/locale/messages-nb.js.map +1 -1
- package/lib/locale/messages-nn.d.ts +11 -9
- package/lib/locale/messages-nn.js +47 -46
- package/lib/locale/messages-nn.js.map +1 -1
- package/lib/locale/messages-se.d.ts +11 -9
- package/lib/locale/messages-se.js +47 -46
- package/lib/locale/messages-se.js.map +1 -1
- package/lib/model/SubjectCategories.d.ts +6 -0
- package/lib/model/SubjectCategories.js +9 -1
- package/lib/model/SubjectCategories.js.map +1 -1
- package/lib/model/SubjectTypes.d.ts +6 -0
- package/lib/model/SubjectTypes.js +9 -1
- package/lib/model/SubjectTypes.js.map +1 -1
- package/lib/model/WordClass.js +1 -0
- package/lib/model/index.d.ts +1 -2
- package/lib/model/index.js +2 -3
- package/lib/model/index.js.map +1 -1
- package/lib/utils/licenseAttributes.js +1 -2
- package/lib/utils/licenseAttributes.js.map +1 -1
- package/package.json +8 -8
- package/src/Article/Article.tsx +8 -13
- package/src/Article/BadgesContainer.tsx +19 -0
- package/src/AudioPlayer/AudiPlayer.stories.tsx +1 -1
- package/src/AudioPlayer/AudioPlayer.tsx +3 -5
- package/src/AudioPlayer/Controls.tsx +1 -3
- package/src/AudioPlayer/SpeechControl.tsx +1 -3
- package/src/Breadcrumb/Breadcrumb.stories.tsx +1 -1
- package/src/Breadcrumb/Breadcrumb.tsx +2 -4
- package/src/Breadcrumb/BreadcrumbItem.tsx +1 -3
- package/src/Breadcrumb/HomeBreadcrumb.stories.tsx +1 -1
- package/src/Breadcrumb/HomeBreadcrumb.tsx +2 -4
- package/src/CampaignBlock/CampaignBlock.stories.tsx +1 -1
- package/src/CampaignBlock/CampaignBlock.tsx +1 -3
- package/src/CodeBlock/CodeBlock.stories.tsx +1 -1
- package/src/CodeBlock/CodeBlock.tsx +1 -3
- package/src/Concept/Concept.tsx +5 -5
- package/src/CopyParagraphButton/CopyParagraphButton.tsx +1 -3
- package/src/Embed/AudioEmbed.stories.tsx +1 -1
- package/src/Embed/AudioEmbed.tsx +3 -5
- package/src/Embed/BrightcoveEmbed.stories.tsx +1 -1
- package/src/Embed/BrightcoveEmbed.tsx +2 -4
- package/src/Embed/CodeEmbed.stories.tsx +1 -1
- package/src/Embed/CodeEmbed.tsx +3 -5
- package/src/Embed/ConceptEmbed.tsx +1 -1
- package/src/Embed/ContentLinkEmbed.tsx +1 -3
- package/src/Embed/CopyrightEmbed.tsx +1 -3
- package/src/Embed/EmbedErrorPlaceholder.tsx +1 -3
- package/src/Embed/ExternalEmbed.stories.tsx +1 -1
- package/src/Embed/ExternalEmbed.tsx +3 -4
- package/src/Embed/FootnoteEmbed.stories.tsx +1 -1
- package/src/Embed/FootnoteEmbed.tsx +1 -3
- package/src/Embed/GlossEmbed.tsx +2 -2
- package/src/Embed/H5pEmbed.stories.tsx +1 -1
- package/src/Embed/H5pEmbed.tsx +2 -4
- package/src/Embed/IframeEmbed.stories.tsx +1 -1
- package/src/Embed/IframeEmbed.tsx +3 -5
- package/src/Embed/ImageEmbed.stories.tsx +1 -1
- package/src/Embed/ImageEmbed.tsx +2 -4
- package/src/Embed/RelatedContentEmbed.stories.tsx +1 -1
- package/src/Embed/RelatedContentEmbed.tsx +8 -8
- package/src/Embed/UnknownEmbed.tsx +1 -3
- package/src/Embed/UuDisclaimerEmbed.stories.tsx +5 -5
- package/src/Embed/UuDisclaimerEmbed.tsx +1 -3
- package/src/FactBox/FactBox.tsx +1 -3
- package/src/FactBox/Factbox.stories.tsx +1 -1
- package/src/Gloss/Gloss.stories.tsx +2 -2
- package/src/Gloss/Gloss.tsx +3 -5
- package/src/Gloss/GlossExample.tsx +1 -3
- package/src/KeyFigure/KeyFigure.stories.tsx +1 -1
- package/src/KeyFigure/KeyFigure.tsx +1 -3
- package/src/LinkBlock/LinkBlock.stories.tsx +2 -2
- package/src/LinkBlock/LinkBlock.tsx +1 -3
- package/src/LinkBlock/LinkBlockSection.tsx +1 -3
- package/src/RelatedArticleList/RelatedArticleList.tsx +4 -5
- package/src/ResourceBox/ResourceBox.tsx +0 -2
- package/src/index.ts +30 -29
- package/src/locale/messages-en.ts +38 -38
- package/src/locale/messages-nb.ts +38 -38
- package/src/locale/messages-nn.ts +38 -38
- package/src/locale/messages-se.ts +38 -38
- package/src/model/SubjectCategories.ts +7 -0
- package/src/model/SubjectTypes.ts +7 -0
- package/src/model/index.ts +1 -3
|
@@ -74,9 +74,7 @@ const ResourceBox = ({ image, title, caption, url, buttonText }) => {
|
|
|
74
74
|
})
|
|
75
75
|
] })] });
|
|
76
76
|
};
|
|
77
|
-
var ResourceBox_default = ResourceBox;
|
|
78
77
|
|
|
79
78
|
//#endregion
|
|
80
79
|
exports.ResourceBox = ResourceBox;
|
|
81
|
-
exports.default = ResourceBox_default;
|
|
82
80
|
//# sourceMappingURL=ResourceBox.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResourceBox.js","names":["Image","Text","breakpoints","Heading","SafeLinkButton","ShareBoxLine"],"sources":["../../src/ResourceBox/ResourceBox.tsx"],"sourcesContent":["/**\n * Copyright (c) 2022-present, NDLA.\n *\n * This source code is licensed under the GPLv3 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport { breakpoints } from \"@ndla/core\";\nimport { ShareBoxLine } from \"@ndla/icons\";\nimport { Heading, Image, Text } from \"@ndla/primitives\";\nimport { SafeLinkButton } from \"@ndla/safelink\";\nimport { styled } from \"@ndla/styled-system/jsx\";\n\nconst Container = styled(\"div\", {\n base: {\n display: \"flex\",\n padding: \"medium\",\n borderRadius: \"xsmall\",\n border: \"1px solid\",\n borderColor: \"stroke.default\",\n boxShadow: \"full\",\n marginBlockEnd: \"medium\",\n gap: \"medium\",\n tabletWideDown: {\n padding: \"xsmall\",\n },\n tabletDown: {\n flexDirection: \"column\",\n gap: \"0\",\n padding: \"0\",\n },\n },\n});\n\nconst ContentWrapper = styled(\"div\", {\n base: {\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"flex-start\",\n gap: \"xsmall\",\n flex: \"1\",\n tabletDown: {\n padding: \"xsmall\",\n },\n },\n});\n\nconst StyledImage = styled(Image, {\n base: {\n objectFit: \"cover\",\n borderRadius: \"xsmall\",\n width: \"fit-content\",\n aspectRatio: \"1/1\",\n tabletDown: {\n width: \"100%\",\n borderRadius: \"0\",\n },\n },\n});\n\nconst StyledText = styled(Text, {\n base: {\n flex: \"1\",\n },\n});\n\ninterface ImageMeta {\n src: string | undefined;\n alt: string;\n}\n\ninterface Props {\n image?: ImageMeta;\n title: string;\n caption: string;\n url: string;\n buttonText: string;\n}\n\nexport const ResourceBox = ({ image, title, caption, url, buttonText }: Props) => {\n return (\n <Container>\n {image ? (\n <StyledImage\n src={image.src}\n alt={image.alt}\n sizes={`(min-width: ${breakpoints.desktop}) 150px, (max-width: ${breakpoints.tablet} ) 400px, 200px`}\n variant=\"rounded\"\n />\n ) : null}\n <ContentWrapper>\n <Heading textStyle=\"label.large\" fontWeight=\"bold\" asChild consumeCss>\n <h3>{title}</h3>\n </Heading>\n <StyledText textStyle=\"body.medium\">{caption}</StyledText>\n <SafeLinkButton to={url} target=\"_blank\" variant=\"secondary\">\n {buttonText}\n <ShareBoxLine />\n </SafeLinkButton>\n </ContentWrapper>\n </Container>\n );\n};\n
|
|
1
|
+
{"version":3,"file":"ResourceBox.js","names":["Image","Text","breakpoints","Heading","SafeLinkButton","ShareBoxLine"],"sources":["../../src/ResourceBox/ResourceBox.tsx"],"sourcesContent":["/**\n * Copyright (c) 2022-present, NDLA.\n *\n * This source code is licensed under the GPLv3 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport { breakpoints } from \"@ndla/core\";\nimport { ShareBoxLine } from \"@ndla/icons\";\nimport { Heading, Image, Text } from \"@ndla/primitives\";\nimport { SafeLinkButton } from \"@ndla/safelink\";\nimport { styled } from \"@ndla/styled-system/jsx\";\n\nconst Container = styled(\"div\", {\n base: {\n display: \"flex\",\n padding: \"medium\",\n borderRadius: \"xsmall\",\n border: \"1px solid\",\n borderColor: \"stroke.default\",\n boxShadow: \"full\",\n marginBlockEnd: \"medium\",\n gap: \"medium\",\n tabletWideDown: {\n padding: \"xsmall\",\n },\n tabletDown: {\n flexDirection: \"column\",\n gap: \"0\",\n padding: \"0\",\n },\n },\n});\n\nconst ContentWrapper = styled(\"div\", {\n base: {\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"flex-start\",\n gap: \"xsmall\",\n flex: \"1\",\n tabletDown: {\n padding: \"xsmall\",\n },\n },\n});\n\nconst StyledImage = styled(Image, {\n base: {\n objectFit: \"cover\",\n borderRadius: \"xsmall\",\n width: \"fit-content\",\n aspectRatio: \"1/1\",\n tabletDown: {\n width: \"100%\",\n borderRadius: \"0\",\n },\n },\n});\n\nconst StyledText = styled(Text, {\n base: {\n flex: \"1\",\n },\n});\n\ninterface ImageMeta {\n src: string | undefined;\n alt: string;\n}\n\ninterface Props {\n image?: ImageMeta;\n title: string;\n caption: string;\n url: string;\n buttonText: string;\n}\n\nexport const ResourceBox = ({ image, title, caption, url, buttonText }: Props) => {\n return (\n <Container>\n {image ? (\n <StyledImage\n src={image.src}\n alt={image.alt}\n sizes={`(min-width: ${breakpoints.desktop}) 150px, (max-width: ${breakpoints.tablet} ) 400px, 200px`}\n variant=\"rounded\"\n />\n ) : null}\n <ContentWrapper>\n <Heading textStyle=\"label.large\" fontWeight=\"bold\" asChild consumeCss>\n <h3>{title}</h3>\n </Heading>\n <StyledText textStyle=\"body.medium\">{caption}</StyledText>\n <SafeLinkButton to={url} target=\"_blank\" variant=\"secondary\">\n {buttonText}\n <ShareBoxLine />\n </SafeLinkButton>\n </ContentWrapper>\n </Container>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;AAcA,MAAM,iDAAmB,OAAO,EAC9B,MAAM;CACJ,SAAS;CACT,SAAS;CACT,cAAc;CACd,QAAQ;CACR,aAAa;CACb,WAAW;CACX,gBAAgB;CAChB,KAAK;CACL,gBAAgB,EACd,SAAS,UACV;CACD,YAAY;EACV,eAAe;EACf,KAAK;EACL,SAAS;EACV;CACF,EACF,CAAC;AAEF,MAAM,sDAAwB,OAAO,EACnC,MAAM;CACJ,SAAS;CACT,eAAe;CACf,YAAY;CACZ,KAAK;CACL,MAAM;CACN,YAAY,EACV,SAAS,UACV;CACF,EACF,CAAC;AAEF,MAAM,mDAAqBA,yBAAO,EAChC,MAAM;CACJ,WAAW;CACX,cAAc;CACd,OAAO;CACP,aAAa;CACb,YAAY;EACV,OAAO;EACP,cAAc;EACf;CACF,EACF,CAAC;AAEF,MAAM,kDAAoBC,wBAAM,EAC9B,MAAM,EACJ,MAAM,KACP,EACF,CAAC;AAeF,MAAa,eAAe,EAAE,OAAO,OAAO,SAAS,KAAK,iBAAwB;AAChF,QACE,4CAAC,wBACE,QACC,2CAAC;EACC,KAAK,MAAM;EACX,KAAK,MAAM;EACX,OAAO,eAAeC,wBAAY,QAAQ,uBAAuBA,wBAAY,OAAO;EACpF,SAAQ;GACR,GACA,MACJ,4CAAC;EACC,2CAACC;GAAQ,WAAU;GAAc,YAAW;GAAO;GAAQ;aACzD,2CAAC,kBAAI,QAAW;IACR;EACV,2CAAC;GAAW,WAAU;aAAe;IAAqB;EAC1D,4CAACC;GAAe,IAAI;GAAK,QAAO;GAAS,SAAQ;cAC9C,YACD,2CAACC,8BAAe;IACD;KACF,IACP"}
|
package/lib/index.d.ts
CHANGED
|
@@ -6,21 +6,21 @@
|
|
|
6
6
|
*
|
|
7
7
|
*/
|
|
8
8
|
export { Concept } from "./Concept/Concept";
|
|
9
|
-
export {
|
|
9
|
+
export { ImageEmbed, getCrop, getFocalPoint } from "./Embed/ImageEmbed";
|
|
10
10
|
export { InlineTriggerButton } from "./Embed/InlineTriggerButton";
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
15
|
-
export {
|
|
16
|
-
export {
|
|
17
|
-
export {
|
|
18
|
-
export {
|
|
11
|
+
export { AudioEmbed } from "./Embed/AudioEmbed";
|
|
12
|
+
export { H5pEmbed } from "./Embed/H5pEmbed";
|
|
13
|
+
export { ExternalEmbed } from "./Embed/ExternalEmbed";
|
|
14
|
+
export { IframeEmbed } from "./Embed/IframeEmbed";
|
|
15
|
+
export { FootnoteEmbed } from "./Embed/FootnoteEmbed";
|
|
16
|
+
export { BrightcoveEmbed } from "./Embed/BrightcoveEmbed";
|
|
17
|
+
export { ContentLinkEmbed } from "./Embed/ContentLinkEmbed";
|
|
18
|
+
export { RelatedContentEmbed } from "./Embed/RelatedContentEmbed";
|
|
19
19
|
export { ConceptEmbed, InlineConcept, BlockConcept } from "./Embed/ConceptEmbed";
|
|
20
|
-
export {
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
23
|
-
export {
|
|
20
|
+
export { UnknownEmbed } from "./Embed/UnknownEmbed";
|
|
21
|
+
export { UuDisclaimerEmbed } from "./Embed/UuDisclaimerEmbed";
|
|
22
|
+
export { CopyrightEmbed } from "./Embed/CopyrightEmbed";
|
|
23
|
+
export { CodeEmbed } from "./Embed/CodeEmbed";
|
|
24
24
|
export { ConceptInlineTriggerButton } from "./Embed/ConceptInlineTriggerButton";
|
|
25
25
|
export { EmbedWrapper } from "./Embed/EmbedWrapper";
|
|
26
26
|
export type { EmbedWrapperVariantProps, EmbedWrapperProps } from "./Embed/EmbedWrapper";
|
|
@@ -35,38 +35,42 @@ export { RelatedArticleList, RelatedArticle } from "./RelatedArticleList/Related
|
|
|
35
35
|
export { FileListEmbed, FileListItem, FileListWrapper } from "./FileList/FileList";
|
|
36
36
|
export { File, FileListElement } from "./FileList/File";
|
|
37
37
|
export { PdfFile } from "./FileList/PdfFile";
|
|
38
|
-
export {
|
|
38
|
+
export { FactBox } from "./FactBox/FactBox";
|
|
39
39
|
export { ResourceBox } from "./ResourceBox/ResourceBox";
|
|
40
|
-
export {
|
|
41
|
-
export {
|
|
40
|
+
export { AudioPlayer } from "./AudioPlayer/AudioPlayer";
|
|
41
|
+
export { constants } from "./model";
|
|
42
|
+
export { contentTypes, contentTypeMapping, resourceEmbedTypeMapping } from "./model/ContentType";
|
|
43
|
+
export { subjectTypes } from "./model/SubjectTypes";
|
|
44
|
+
export { wordClass } from "./model/WordClass";
|
|
45
|
+
export { subjectCategories } from "./model/SubjectCategories";
|
|
42
46
|
export { default as messagesNB } from "./locale/messages-nb";
|
|
43
47
|
export { default as messagesNN } from "./locale/messages-nn";
|
|
44
48
|
export { default as messagesEN } from "./locale/messages-en";
|
|
45
49
|
export { default as messagesSE } from "./locale/messages-se";
|
|
46
|
-
export {
|
|
47
|
-
export {
|
|
50
|
+
export { Breadcrumb } from "./Breadcrumb/Breadcrumb";
|
|
51
|
+
export { HomeBreadcrumb } from "./Breadcrumb/HomeBreadcrumb";
|
|
48
52
|
export type { SimpleBreadcrumbItem, IndexedBreadcrumbItem } from "./Breadcrumb/BreadcrumbItem";
|
|
49
53
|
export { formatNestedMessages } from "./i18n/formatNestedMessages";
|
|
50
54
|
export { useTagsInputTranslations, useTagSelectorTranslations, useComboboxTranslations, usePaginationTranslations, useAudioSearchTranslations, useImageSearchTranslations, useVideoSearchTranslations, useDatePickerTranslations, } from "./i18n/useComponentTranslations";
|
|
51
55
|
export type { ContentTypeBadgeProps, StrictContentType, ContentType } from "./ContentTypeBadge/ContentTypeBadge";
|
|
52
56
|
export { ContentTypeBadge, contentTypeToBadgeVariantMap } from "./ContentTypeBadge/ContentTypeBadge";
|
|
53
|
-
export {
|
|
57
|
+
export { CopyParagraphButton } from "./CopyParagraphButton/CopyParagraphButton";
|
|
54
58
|
export type { TagSelectorControlProps, TagSelectorInputProps, TagSelectorRootProps } from "./TagSelector/TagSelector";
|
|
55
59
|
export { TagSelectorRoot, TagSelectorLabel, TagSelectorItemInput, TagSelectorTrigger, TagSelectorControl, TagSelectorClearTrigger, TagSelectorInputBase, TagSelectorInput, } from "./TagSelector/TagSelector";
|
|
56
60
|
export { Pitch } from "./Pitch/Pitch";
|
|
57
|
-
export {
|
|
61
|
+
export { KeyFigure } from "./KeyFigure/KeyFigure";
|
|
58
62
|
export { ContactBlock, contactBlockBackgrounds } from "./ContactBlock/ContactBlock";
|
|
59
63
|
export type { ContactBlockBackground } from "./ContactBlock/ContactBlock";
|
|
60
|
-
export {
|
|
64
|
+
export { CampaignBlock } from "./CampaignBlock/CampaignBlock";
|
|
61
65
|
export { Grid } from "./Grid/Grid";
|
|
62
66
|
export { GridParallaxItem } from "./Grid/GridParallaxItem";
|
|
63
67
|
export type { GridProps as GridType } from "./Grid/Grid";
|
|
64
|
-
export {
|
|
65
|
-
export {
|
|
66
|
-
export {
|
|
67
|
-
export {
|
|
68
|
+
export { Gloss } from "./Gloss/Gloss";
|
|
69
|
+
export { GlossExample } from "./Gloss/GlossExample";
|
|
70
|
+
export { LinkBlock } from "./LinkBlock/LinkBlock";
|
|
71
|
+
export { LinkBlockSection } from "./LinkBlock/LinkBlockSection";
|
|
68
72
|
export type { Article as ArticleType, HeadingLevel } from "./types";
|
|
69
|
-
export {
|
|
73
|
+
export { CodeBlock } from "./CodeBlock/CodeBlock";
|
|
70
74
|
export { codeLanguageOptions } from "./CodeBlock/codeLanguageOptions";
|
|
71
75
|
export { ZendeskButton } from "./ZendeskButton/ZendeskButton";
|
|
72
76
|
export type { ZendeskButtonProps } from "./ZendeskButton/ZendeskButton";
|
package/lib/index.js
CHANGED
|
@@ -13,7 +13,6 @@ const require_AudioPlayer = require('./AudioPlayer/AudioPlayer.js');
|
|
|
13
13
|
const require_AudioEmbed = require('./Embed/AudioEmbed.js');
|
|
14
14
|
const require_FootnoteEmbed = require('./Embed/FootnoteEmbed.js');
|
|
15
15
|
const require_ContentLinkEmbed = require('./Embed/ContentLinkEmbed.js');
|
|
16
|
-
const require_ContentTypeBadge = require('./ContentTypeBadge/ContentTypeBadge.js');
|
|
17
16
|
const require_RelatedArticleList = require('./RelatedArticleList/RelatedArticleList.js');
|
|
18
17
|
const require_RelatedContentEmbed = require('./Embed/RelatedContentEmbed.js');
|
|
19
18
|
const require_ConceptInlineTriggerButton = require('./Embed/ConceptInlineTriggerButton.js');
|
|
@@ -35,6 +34,10 @@ const require_FileList = require('./FileList/FileList.js');
|
|
|
35
34
|
const require_File = require('./FileList/File.js');
|
|
36
35
|
const require_PdfFile = require('./FileList/PdfFile.js');
|
|
37
36
|
const require_FactBox = require('./FactBox/FactBox.js');
|
|
37
|
+
const require_ContentType = require('./model/ContentType.js');
|
|
38
|
+
const require_SubjectCategories = require('./model/SubjectCategories.js');
|
|
39
|
+
const require_SubjectTypes = require('./model/SubjectTypes.js');
|
|
40
|
+
const require_WordClass = require('./model/WordClass.js');
|
|
38
41
|
const require_index = require('./model/index.js');
|
|
39
42
|
const require_messages_nb = require('./locale/messages-nb.js');
|
|
40
43
|
const require_messages_nn = require('./locale/messages-nn.js');
|
|
@@ -45,6 +48,7 @@ const require_HomeBreadcrumb = require('./Breadcrumb/HomeBreadcrumb.js');
|
|
|
45
48
|
const require_formatNestedMessages = require('./i18n/formatNestedMessages.js');
|
|
46
49
|
const require_TagSelector = require('./TagSelector/TagSelector.js');
|
|
47
50
|
const require_useComponentTranslations = require('./i18n/useComponentTranslations.js');
|
|
51
|
+
const require_ContentTypeBadge = require('./ContentTypeBadge/ContentTypeBadge.js');
|
|
48
52
|
const require_CopyParagraphButton = require('./CopyParagraphButton/CopyParagraphButton.js');
|
|
49
53
|
const require_Pitch = require('./Pitch/Pitch.js');
|
|
50
54
|
const require_KeyFigure = require('./KeyFigure/KeyFigure.js');
|
|
@@ -66,51 +70,51 @@ exports.ArticleHGroup = require_Article.ArticleHGroup;
|
|
|
66
70
|
exports.ArticleHeader = require_Article.ArticleHeader;
|
|
67
71
|
exports.ArticleTitle = require_Article.ArticleTitle;
|
|
68
72
|
exports.ArticleWrapper = require_Article.ArticleWrapper;
|
|
69
|
-
exports.AudioEmbed = require_AudioEmbed.
|
|
70
|
-
exports.AudioPlayer = require_AudioPlayer.
|
|
73
|
+
exports.AudioEmbed = require_AudioEmbed.AudioEmbed;
|
|
74
|
+
exports.AudioPlayer = require_AudioPlayer.AudioPlayer;
|
|
71
75
|
exports.BlockConcept = require_ConceptEmbed.BlockConcept;
|
|
72
|
-
exports.Breadcrumb = require_Breadcrumb.
|
|
73
|
-
exports.BrightcoveEmbed = require_BrightcoveEmbed.
|
|
74
|
-
exports.CampaignBlock = require_CampaignBlock.
|
|
75
|
-
exports.CodeBlock = require_CodeBlock.
|
|
76
|
-
exports.CodeEmbed = require_CodeEmbed.
|
|
76
|
+
exports.Breadcrumb = require_Breadcrumb.Breadcrumb;
|
|
77
|
+
exports.BrightcoveEmbed = require_BrightcoveEmbed.BrightcoveEmbed;
|
|
78
|
+
exports.CampaignBlock = require_CampaignBlock.CampaignBlock;
|
|
79
|
+
exports.CodeBlock = require_CodeBlock.CodeBlock;
|
|
80
|
+
exports.CodeEmbed = require_CodeEmbed.CodeEmbed;
|
|
77
81
|
exports.Concept = require_Concept.Concept;
|
|
78
82
|
exports.ConceptEmbed = require_ConceptEmbed.ConceptEmbed;
|
|
79
83
|
exports.ConceptInlineTriggerButton = require_ConceptInlineTriggerButton.ConceptInlineTriggerButton;
|
|
80
84
|
exports.ContactBlock = require_ContactBlock.ContactBlock;
|
|
81
|
-
exports.ContentLinkEmbed = require_ContentLinkEmbed.
|
|
85
|
+
exports.ContentLinkEmbed = require_ContentLinkEmbed.ContentLinkEmbed;
|
|
82
86
|
exports.ContentTypeBadge = require_ContentTypeBadge.ContentTypeBadge;
|
|
83
|
-
exports.CopyParagraphButton = require_CopyParagraphButton.
|
|
84
|
-
exports.CopyrightEmbed = require_CopyrightEmbed.
|
|
87
|
+
exports.CopyParagraphButton = require_CopyParagraphButton.CopyParagraphButton;
|
|
88
|
+
exports.CopyrightEmbed = require_CopyrightEmbed.CopyrightEmbed;
|
|
85
89
|
exports.EmbedByline = require_EmbedByline.EmbedByline;
|
|
86
90
|
exports.EmbedWrapper = require_EmbedWrapper.EmbedWrapper;
|
|
87
|
-
exports.ExternalEmbed = require_ExternalEmbed.
|
|
88
|
-
exports.FactBox = require_FactBox.
|
|
91
|
+
exports.ExternalEmbed = require_ExternalEmbed.ExternalEmbed;
|
|
92
|
+
exports.FactBox = require_FactBox.FactBox;
|
|
89
93
|
exports.File = require_File.File;
|
|
90
94
|
exports.FileListElement = require_File.FileListElement;
|
|
91
95
|
exports.FileListEmbed = require_FileList.FileListEmbed;
|
|
92
96
|
exports.FileListItem = require_FileList.FileListItem;
|
|
93
97
|
exports.FileListWrapper = require_FileList.FileListWrapper;
|
|
94
|
-
exports.FootnoteEmbed = require_FootnoteEmbed.
|
|
95
|
-
exports.Gloss = require_Gloss.
|
|
96
|
-
exports.GlossExample = require_GlossExample.
|
|
98
|
+
exports.FootnoteEmbed = require_FootnoteEmbed.FootnoteEmbed;
|
|
99
|
+
exports.Gloss = require_Gloss.Gloss;
|
|
100
|
+
exports.GlossExample = require_GlossExample.GlossExample;
|
|
97
101
|
exports.Grid = require_Grid.Grid;
|
|
98
102
|
exports.GridParallaxItem = require_GridParallaxItem.GridParallaxItem;
|
|
99
|
-
exports.H5pEmbed = require_H5pEmbed.
|
|
100
|
-
exports.HomeBreadcrumb = require_HomeBreadcrumb.
|
|
101
|
-
exports.IframeEmbed = require_IframeEmbed.
|
|
102
|
-
exports.ImageEmbed = require_ImageEmbed.
|
|
103
|
+
exports.H5pEmbed = require_H5pEmbed.H5pEmbed;
|
|
104
|
+
exports.HomeBreadcrumb = require_HomeBreadcrumb.HomeBreadcrumb;
|
|
105
|
+
exports.IframeEmbed = require_IframeEmbed.IframeEmbed;
|
|
106
|
+
exports.ImageEmbed = require_ImageEmbed.ImageEmbed;
|
|
103
107
|
exports.InlineConcept = require_ConceptEmbed.InlineConcept;
|
|
104
108
|
exports.InlineTriggerButton = require_InlineTriggerButton.InlineTriggerButton;
|
|
105
|
-
exports.KeyFigure = require_KeyFigure.
|
|
109
|
+
exports.KeyFigure = require_KeyFigure.KeyFigure;
|
|
106
110
|
exports.LicenseLink = require_LicenseLink.LicenseLink;
|
|
107
|
-
exports.LinkBlock = require_LinkBlock.
|
|
108
|
-
exports.LinkBlockSection = require_LinkBlockSection.
|
|
111
|
+
exports.LinkBlock = require_LinkBlock.LinkBlock;
|
|
112
|
+
exports.LinkBlockSection = require_LinkBlockSection.LinkBlockSection;
|
|
109
113
|
exports.PdfFile = require_PdfFile.PdfFile;
|
|
110
114
|
exports.Pitch = require_Pitch.Pitch;
|
|
111
115
|
exports.RelatedArticle = require_RelatedArticleList.RelatedArticle;
|
|
112
116
|
exports.RelatedArticleList = require_RelatedArticleList.RelatedArticleList;
|
|
113
|
-
exports.RelatedContentEmbed = require_RelatedContentEmbed.
|
|
117
|
+
exports.RelatedContentEmbed = require_RelatedContentEmbed.RelatedContentEmbed;
|
|
114
118
|
exports.ResourceBox = require_ResourceBox.ResourceBox;
|
|
115
119
|
exports.TagSelectorClearTrigger = require_TagSelector.TagSelectorClearTrigger;
|
|
116
120
|
exports.TagSelectorControl = require_TagSelector.TagSelectorControl;
|
|
@@ -120,13 +124,15 @@ exports.TagSelectorItemInput = require_TagSelector.TagSelectorItemInput;
|
|
|
120
124
|
exports.TagSelectorLabel = require_TagSelector.TagSelectorLabel;
|
|
121
125
|
exports.TagSelectorRoot = require_TagSelector.TagSelectorRoot;
|
|
122
126
|
exports.TagSelectorTrigger = require_TagSelector.TagSelectorTrigger;
|
|
123
|
-
exports.UnknownEmbed = require_UnknownEmbed.
|
|
124
|
-
exports.UuDisclaimerEmbed = require_UuDisclaimerEmbed.
|
|
127
|
+
exports.UnknownEmbed = require_UnknownEmbed.UnknownEmbed;
|
|
128
|
+
exports.UuDisclaimerEmbed = require_UuDisclaimerEmbed.UuDisclaimerEmbed;
|
|
125
129
|
exports.ZendeskButton = require_ZendeskButton.ZendeskButton;
|
|
126
130
|
exports.codeLanguageOptions = require_codeLanguageOptions.codeLanguageOptions;
|
|
127
|
-
exports.constants = require_index.
|
|
131
|
+
exports.constants = require_index.constants;
|
|
128
132
|
exports.contactBlockBackgrounds = require_ContactBlock.contactBlockBackgrounds;
|
|
133
|
+
exports.contentTypeMapping = require_ContentType.contentTypeMapping;
|
|
129
134
|
exports.contentTypeToBadgeVariantMap = require_ContentTypeBadge.contentTypeToBadgeVariantMap;
|
|
135
|
+
exports.contentTypes = require_ContentType.contentTypes;
|
|
130
136
|
exports.formatNestedMessages = require_formatNestedMessages.formatNestedMessages;
|
|
131
137
|
exports.getCrop = require_ImageEmbed.getCrop;
|
|
132
138
|
exports.getFocalPoint = require_ImageEmbed.getFocalPoint;
|
|
@@ -136,6 +142,9 @@ exports.messagesEN = require_messages_en.default;
|
|
|
136
142
|
exports.messagesNB = require_messages_nb.default;
|
|
137
143
|
exports.messagesNN = require_messages_nn.default;
|
|
138
144
|
exports.messagesSE = require_messages_se.default;
|
|
145
|
+
exports.resourceEmbedTypeMapping = require_ContentType.resourceEmbedTypeMapping;
|
|
146
|
+
exports.subjectCategories = require_SubjectCategories.subjectCategories;
|
|
147
|
+
exports.subjectTypes = require_SubjectTypes.subjectTypes;
|
|
139
148
|
exports.useAudioSearchTranslations = require_useComponentTranslations.useAudioSearchTranslations;
|
|
140
149
|
exports.useComboboxTranslations = require_useComponentTranslations.useComboboxTranslations;
|
|
141
150
|
exports.useDatePickerTranslations = require_useComponentTranslations.useDatePickerTranslations;
|
|
@@ -143,4 +152,5 @@ exports.useImageSearchTranslations = require_useComponentTranslations.useImageSe
|
|
|
143
152
|
exports.usePaginationTranslations = require_useComponentTranslations.usePaginationTranslations;
|
|
144
153
|
exports.useTagSelectorTranslations = require_useComponentTranslations.useTagSelectorTranslations;
|
|
145
154
|
exports.useTagsInputTranslations = require_useComponentTranslations.useTagsInputTranslations;
|
|
146
|
-
exports.useVideoSearchTranslations = require_useComponentTranslations.useVideoSearchTranslations;
|
|
155
|
+
exports.useVideoSearchTranslations = require_useComponentTranslations.useVideoSearchTranslations;
|
|
156
|
+
exports.wordClass = require_WordClass.wordClass;
|
|
@@ -5,20 +5,22 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
7
|
*/
|
|
8
|
+
import { subjectCategories } from "../model/SubjectCategories";
|
|
9
|
+
import { subjectTypes } from "../model/SubjectTypes";
|
|
8
10
|
declare const messages: {
|
|
9
11
|
askNDLA: string;
|
|
10
12
|
subjectCategories: {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
[subjectCategories.ACTIVE_SUBJECTS]: string;
|
|
14
|
+
[subjectCategories.ARCHIVE_SUBJECTS]: string;
|
|
15
|
+
[subjectCategories.BETA_SUBJECTS]: string;
|
|
16
|
+
[subjectCategories.OTHER]: string;
|
|
17
|
+
[subjectTypes.RESOURCE_COLLECTION]: string;
|
|
16
18
|
};
|
|
17
19
|
subjectTypes: {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
[subjectTypes.ARCHIVE_SUBJECT]: string;
|
|
21
|
+
[subjectTypes.BETA_SUBJECT]: string;
|
|
22
|
+
[subjectTypes.RESOURCE_COLLECTION]: string;
|
|
23
|
+
[subjectTypes.SUBJECT]: string;
|
|
22
24
|
};
|
|
23
25
|
meta: {
|
|
24
26
|
description: string;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.js');
|
|
2
|
-
const
|
|
2
|
+
const require_SubjectCategories = require('../model/SubjectCategories.js');
|
|
3
|
+
const require_SubjectTypes = require('../model/SubjectTypes.js');
|
|
4
|
+
const require_WordClass = require('../model/WordClass.js');
|
|
3
5
|
let __ndla_licenses = require("@ndla/licenses");
|
|
4
6
|
__ndla_licenses = require_rolldown_runtime.__toESM(__ndla_licenses);
|
|
5
7
|
|
|
6
8
|
//#region src/locale/messages-en.ts
|
|
7
|
-
const { subjectCategories, subjectTypes, wordClass } = require_index.default;
|
|
8
9
|
const messages = {
|
|
9
10
|
...Object.entries(__ndla_licenses.contributorTypes).reduce((acc, curr) => {
|
|
10
11
|
acc[curr[0]] = curr[1].en;
|
|
@@ -12,17 +13,17 @@ const messages = {
|
|
|
12
13
|
}, {}),
|
|
13
14
|
askNDLA: "Ask NDLA",
|
|
14
15
|
subjectCategories: {
|
|
15
|
-
[subjectCategories.ACTIVE_SUBJECTS]: "Active",
|
|
16
|
-
[subjectCategories.ARCHIVE_SUBJECTS]: "Expired",
|
|
17
|
-
[subjectCategories.BETA_SUBJECTS]: "Revised",
|
|
18
|
-
[subjectCategories.OTHER]: "Other resources",
|
|
19
|
-
[subjectTypes.RESOURCE_COLLECTION]: "Resource collections"
|
|
16
|
+
[require_SubjectCategories.subjectCategories.ACTIVE_SUBJECTS]: "Active",
|
|
17
|
+
[require_SubjectCategories.subjectCategories.ARCHIVE_SUBJECTS]: "Expired",
|
|
18
|
+
[require_SubjectCategories.subjectCategories.BETA_SUBJECTS]: "Revised",
|
|
19
|
+
[require_SubjectCategories.subjectCategories.OTHER]: "Other resources",
|
|
20
|
+
[require_SubjectTypes.subjectTypes.RESOURCE_COLLECTION]: "Resource collections"
|
|
20
21
|
},
|
|
21
22
|
subjectTypes: {
|
|
22
|
-
[subjectTypes.ARCHIVE_SUBJECT]: "Archive subject",
|
|
23
|
-
[subjectTypes.BETA_SUBJECT]: "Beta subject",
|
|
24
|
-
[subjectTypes.RESOURCE_COLLECTION]: "Resource collection",
|
|
25
|
-
[subjectTypes.SUBJECT]: "Subject"
|
|
23
|
+
[require_SubjectTypes.subjectTypes.ARCHIVE_SUBJECT]: "Archive subject",
|
|
24
|
+
[require_SubjectTypes.subjectTypes.BETA_SUBJECT]: "Beta subject",
|
|
25
|
+
[require_SubjectTypes.subjectTypes.RESOURCE_COLLECTION]: "Resource collection",
|
|
26
|
+
[require_SubjectTypes.subjectTypes.SUBJECT]: "Subject"
|
|
26
27
|
},
|
|
27
28
|
meta: {
|
|
28
29
|
description: "Norwegian Digital Learning Arena, Open Educational Resources for upper secondary education.",
|
|
@@ -301,41 +302,41 @@ const messages = {
|
|
|
301
302
|
}
|
|
302
303
|
},
|
|
303
304
|
wordClass: {
|
|
304
|
-
[
|
|
305
|
-
[
|
|
306
|
-
[
|
|
307
|
-
[
|
|
308
|
-
[
|
|
309
|
-
[
|
|
310
|
-
[
|
|
311
|
-
[
|
|
312
|
-
[
|
|
313
|
-
[
|
|
314
|
-
[
|
|
315
|
-
[
|
|
316
|
-
[
|
|
317
|
-
[
|
|
318
|
-
[
|
|
319
|
-
[
|
|
320
|
-
[
|
|
321
|
-
[
|
|
322
|
-
[
|
|
323
|
-
[
|
|
324
|
-
[
|
|
325
|
-
[
|
|
326
|
-
[
|
|
327
|
-
[
|
|
328
|
-
[
|
|
329
|
-
[
|
|
330
|
-
[
|
|
331
|
-
[
|
|
332
|
-
[
|
|
333
|
-
[
|
|
334
|
-
[
|
|
335
|
-
[
|
|
336
|
-
[
|
|
337
|
-
[
|
|
338
|
-
[
|
|
305
|
+
[require_WordClass.wordClass.adjective]: "Adjective",
|
|
306
|
+
[require_WordClass.wordClass.adverb]: "Adverb",
|
|
307
|
+
[require_WordClass.wordClass.properNoun]: "Proper Noun",
|
|
308
|
+
[require_WordClass.wordClass.auxiliary]: "Auxiliary",
|
|
309
|
+
[require_WordClass.wordClass.complement]: "Complement",
|
|
310
|
+
[require_WordClass.wordClass.conjunction]: "Conjunction",
|
|
311
|
+
[require_WordClass.wordClass.coverb]: "Coverb",
|
|
312
|
+
[require_WordClass.wordClass.determiner]: "Determiner",
|
|
313
|
+
[require_WordClass.wordClass.interjection]: "Interjection",
|
|
314
|
+
[require_WordClass.wordClass.quantifier]: "Quantifier",
|
|
315
|
+
[require_WordClass.wordClass.marker]: "Marker",
|
|
316
|
+
[require_WordClass.wordClass.modalVerb]: "Modal Verb",
|
|
317
|
+
[require_WordClass.wordClass.measureWord]: "Measure Word",
|
|
318
|
+
[require_WordClass.wordClass.noun]: "Noun",
|
|
319
|
+
[require_WordClass.wordClass["noun-zh"]]: "Noun",
|
|
320
|
+
[require_WordClass.wordClass.nounPhrase]: "Noun Phrase",
|
|
321
|
+
[require_WordClass.wordClass.onomatopoeia]: "Onomatopoeia",
|
|
322
|
+
[require_WordClass.wordClass.particle]: "Particle",
|
|
323
|
+
[require_WordClass.wordClass.demonstrative]: "Demonstrative",
|
|
324
|
+
[require_WordClass.wordClass.personalPronoun]: "Personal Pronoun",
|
|
325
|
+
[require_WordClass.wordClass.preposition]: "Preposition",
|
|
326
|
+
[require_WordClass.wordClass.pronoun]: "Pronoun",
|
|
327
|
+
[require_WordClass.wordClass.questionWord]: "Question Word",
|
|
328
|
+
[require_WordClass.wordClass.locationWord]: "Location Word",
|
|
329
|
+
[require_WordClass.wordClass.suffix]: "Suffix",
|
|
330
|
+
[require_WordClass.wordClass.numeral]: "Numeral",
|
|
331
|
+
[require_WordClass.wordClass.timeWord]: "Time word",
|
|
332
|
+
[require_WordClass.wordClass.timeExpression]: "Time Expression",
|
|
333
|
+
[require_WordClass.wordClass.stativeVerb]: "Stative Verb",
|
|
334
|
+
[require_WordClass.wordClass.subordinatingConjunction]: "Subordinating Conjunction",
|
|
335
|
+
[require_WordClass.wordClass.exclamationWord]: "Exclamation Word",
|
|
336
|
+
[require_WordClass.wordClass.expression]: "Expression",
|
|
337
|
+
[require_WordClass.wordClass.verb]: "Verb",
|
|
338
|
+
[require_WordClass.wordClass.verbComplement]: "Verb-Complement",
|
|
339
|
+
[require_WordClass.wordClass.verbObject]: "Verb-Object"
|
|
339
340
|
},
|
|
340
341
|
login: "Log in",
|
|
341
342
|
component: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messages-en.js","names":["constants","contributorTypes"],"sources":["../../src/locale/messages-en.ts"],"sourcesContent":["/**\n * Copyright (c) 2018-present, NDLA.\n *\n * This source code is licensed under the GPLv3 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport { contributorTypes } from \"@ndla/licenses\";\nimport constants from \"../model\";\n\nconst { subjectCategories, subjectTypes, wordClass } = constants;\n\nconst messages = {\n ...Object.entries(contributorTypes).reduce<Record<string, string>>((acc, curr) => {\n acc[curr[0]] = curr[1].en;\n return acc;\n }, {}),\n askNDLA: \"Ask NDLA\",\n subjectCategories: {\n [subjectCategories.ACTIVE_SUBJECTS]: \"Active\",\n [subjectCategories.ARCHIVE_SUBJECTS]: \"Expired\",\n [subjectCategories.BETA_SUBJECTS]: \"Revised\",\n [subjectCategories.OTHER]: \"Other resources\",\n [subjectTypes.RESOURCE_COLLECTION]: \"Resource collections\",\n },\n subjectTypes: {\n [subjectTypes.ARCHIVE_SUBJECT]: \"Archive subject\",\n [subjectTypes.BETA_SUBJECT]: \"Beta subject\",\n [subjectTypes.RESOURCE_COLLECTION]: \"Resource collection\",\n [subjectTypes.SUBJECT]: \"Subject\",\n },\n meta: {\n description: \"Norwegian Digital Learning Arena, Open Educational Resources for upper secondary education.\",\n keywords: \"open educational resources,teaching,learning\",\n },\n logo: {\n altText: \"The Norwegian Digital Learning Arena\",\n },\n article: {\n lastUpdated: \"Last revised date\",\n useContent: \"Cite or reuse?\",\n authorsLabel_article: \"Written by\",\n authorsLabel_learningPath: \"Made by\",\n authorsLabel_external: \"This link is added by\",\n copyPageLinkCopied: \"Link copied\",\n copyHeaderLink: \"Copy link to header\",\n conjunction: \"and\",\n supplierLabel_one: \"Rightsholder:\",\n supplierLabel_other: \"Rightsholders:\",\n printPage: \"Print text\",\n access: {\n onlyTeacher: \"This resource is accessible only to teachers who are logged in with Feide.\",\n },\n footnotes: \"Footnotes\",\n },\n external: {\n lastUpdated: \"Last revised date\",\n },\n learningPath: {\n copiedFrom: \"This is a remix of a different learning path\",\n lastUpdated: \"Last revised date\",\n },\n license: {\n tabs: {\n text: \"Text\",\n images: \"Images\",\n audio: \"Audio\",\n video: \"Video\",\n h5p: \"H5P\",\n files: \"Files\",\n embedlink: \"Embedded link\",\n concept: \"Concepts\",\n gloss: \"Glosses\",\n podcast: \"Podcast\",\n other: \"Other content\",\n },\n embedlink: {\n heading: \"How to show the article in other content\",\n description: \"This url shows the article without menu and footer\",\n copyTitle: \"Copy link\",\n hasCopiedTitle: \"Link copied\",\n },\n image: {\n rules: \"Rules for use of image:\",\n },\n images: {\n heading: \"How to reuse images\",\n description: \"Remember to copy the text to be attached to the image where you use it.\",\n rules: \"Rules for use of image\",\n itemImage: {\n ariaLabel: \"Open image in new window\",\n zoomImageButtonLabel: \"Expand image\",\n zoomOutImageButtonLabel: \"Shrink image\",\n expandByline: \"Show byline\",\n minimizeByline: \"Hide byline\",\n },\n licenseText: \"This image has the license\",\n restrictedUseText: \"This image has\",\n },\n text: {\n heading: \"How to reuse the text\",\n description: \"Remember to refer to the source when reusing text.\",\n rules: \"Rules for use of text\",\n published: \"Published\",\n licenseText: \"This text has the license\",\n restrictedUseText: \"This text has\",\n },\n audio: {\n heading: \"How to reuse audio files\",\n description: \"Remember to copy the text to be attached to the audio where you use it.\",\n rules: \"Rules for use of audio file\",\n licenseText: \"This audio file has the license\",\n restrictedUseText: \"This audio file has\",\n },\n podcast: {\n heading: \"How to reuse podcasts\",\n description: \"Remember to copy the text to be attached to the podcast where you use it.\",\n rules: \"Rules for use of podcast\",\n licenseText: \"This podcast has the license\",\n restrictedUseText: \"This podcast has\",\n },\n video: {\n heading: \"How to reuse videos\",\n description: \"Remember to copy the text to be attached to the video where you use it.\",\n rules: \"Rules for use of video files\",\n itemImage: {\n ariaLabel: \"Open video in new window\",\n },\n licenseText: \"This video has the license\",\n restrictedUseText: \"This video has\",\n },\n other: {\n heading: \"How to reuse other content\",\n description: \"You will find guidelines for use of other content in the asset\",\n itemImage: {\n ariaLabel: \"Open in new window\",\n },\n },\n h5p: {\n heading: \"How to reuse H5P content\",\n description: \"You will find guidelines for use of H5P content in the asset\",\n rules: \"Rules for use of H5P\",\n licenseText: \"This interactive task (H5P) is licensed\",\n restrictedUseText: \"This interactive task (H5P) has\",\n },\n concept: {\n heading: \"How to reuse concept content\",\n description: \"Remember that built-in content might have a different license than the explanation text\",\n rules: \"Rules for use of concept\",\n embedlink: {\n heading: \"How to show the concept in other content\",\n description: \"This url shows the concept without menu and footer\",\n copyTitle: \"Copy embed link\",\n hasCopiedTitle: \"Embed link copied\",\n },\n licenseText: \"This concept has the license\",\n restrictedUseText: \"This concept has\",\n },\n gloss: {\n heading: \"How to reuse gloss content\",\n description: \"Remember that built-in content might have a different license than the gloss text\",\n rules: \"Rules for use of gloss\",\n showOrHideExamples: \"Show or hide examples\",\n embedlink: {\n heading: \"How to show the gloss in other content\",\n description: \"This url shows the gloss without menu and footer\",\n copyTitle: \"Copy embed link\",\n hasCopiedTitle: \"Embed link copied\",\n },\n licenseText: \"This gloss has the license\",\n restrictedUseText: \"This gloss has\",\n },\n files: {\n heading: \"How to reuse files\",\n description: \"Remember to copy the text to be attached to the file where you use it.\",\n rules: \"Rules for use of file\",\n itemImage: {\n ariaLabel: \"Open video in new window\",\n },\n },\n copyTitle: \"Copy source reference\",\n embed: \"Embed\",\n embedCopied: \"Copied embed code!\",\n copyText: {\n now: \"now\",\n podcast: \"podcast\",\n by: \"by\",\n internet: \"[Internet]. \",\n noTitle: \"No title\",\n downloadedFrom: \"Downloaded from: \",\n readDate: \"Read: \",\n },\n hasCopiedTitle: \"Copied!\",\n download: \"Download\",\n openLink: \"Open in new tab\",\n processed: \"The content has been processed\",\n },\n errorMessage: {\n title: \"Oops, something went wrong\",\n description: \"Sorry, an error occurred.\",\n back: \"Go back\",\n goToFrontPage: \"Go to frontpage\",\n },\n figure: {\n button: {\n alternative: \"Switch to visually interpreted video\",\n original: \"Switch to original video\",\n },\n },\n contentTypes: {\n all: \"All\",\n article: \"Article\",\n subject: \"Subject\",\n \"topic-article\": \"Topic article\",\n learningpath: \"Learning path\",\n \"learning-path\": \"Learning path\",\n \"subject-material\": \"Subject material\",\n \"tasks-and-activities\": \"Task and activities\",\n \"source-material\": \"Source material\",\n \"assessment-resources\": \"Assessment resource\",\n topic: \"Topic\",\n multidisciplinary: \"Multidisciplinary case\",\n image: \"Image\",\n concept: \"Concept\",\n audio: \"Audio\",\n podcast: \"Podcast\",\n h5p: \"H5P\",\n video: \"Video\",\n missing: \"Unknown\",\n external: \"External\",\n gloss: \"Gloss\",\n programme: \"Programme\",\n \"podcast-series\": \"Podcast series\",\n \"frontpage-article\": \"About NDLA article\",\n },\n languages: {\n nb: \"Norwegian Bokmål\",\n nn: \"Norwegian Nynorsk\",\n en: \"English\",\n fr: \"French\",\n de: \"German\",\n se: \"Northern Sami\",\n sma: \"Southern Sami\",\n es: \"Spanish\",\n zh: \"Chinese\",\n ukr: \"Ukranian\",\n unknown: \"Unknown\",\n prefixChangeLanguage: \"Choose language\",\n },\n breadcrumb: {\n toFrontpage: \"NDLA frontpage\",\n breadcrumb: \"Breadcrumb\",\n },\n codeBlock: {\n copiedCode: \"Copied code\",\n copyCode: \"Copy code\",\n },\n cancel: \"Cancel\",\n close: \"Close\",\n loading: \"Loading\",\n title: \"Title\",\n save: \"Save\",\n email: \"Email\",\n finished: \"Finished\",\n audio: {\n play: \"Play\",\n pause: \"Pause\",\n progressBar: \"Progress bar\",\n valueText: \"{{start}} of {{end}}\",\n controls: {\n forward15sec: \"Forward 15 seconds\",\n rewind15sec: \"Rewind 15 seconds\",\n selectSpeed: \"Choose speed\",\n adjustVolume: \"Adjust volume\",\n },\n textVersion: {\n heading: \"Text version\",\n close: \"Close text version\",\n },\n readMoreDescriptionLabel: \"Show more\",\n readLessDescriptionLabel: \"Show less\",\n },\n source: \"Source\",\n related: {\n title: \"Related content\",\n linkInfo: \"Web page at\",\n showMore: \"Show more related content\",\n showLess: \"Show less\",\n },\n download: \"Download file: \",\n factbox: {\n open: \"Open fact box\",\n close: \"Close fact box\",\n },\n embed: {\n linkError: \"Failed to show link.\",\n unsupported: `Embed {{type}} not supported.`,\n embedError: `An error occurred while loading the {{type}}. Try reloading the page.`,\n type: {\n image: \"Image\",\n video: \"Video\",\n audio: \"Audio\",\n podcast: \"Podcast\",\n concept: \"Concept\",\n h5p: \"H5P\",\n external: \"External resource\",\n gloss: \"Gloss\",\n copyright: \"Text\",\n code: \"Code block\",\n disclaimer: \"Accessibility warning\",\n },\n },\n uuDisclaimer: { title: \"Accessibility\" },\n gloss: {\n examples: \"Examples\",\n showExamples: \"Show examples\",\n wordClass: \"Word class\",\n play: \"Play gloss\",\n transcriptions: {\n traditional: \"Traditional spelling\",\n pinyin: \"Pinyin\",\n },\n },\n wordClass: {\n [wordClass.wordClass.adjective]: \"Adjective\",\n [wordClass.wordClass.adverb]: \"Adverb\",\n [wordClass.wordClass.properNoun]: \"Proper Noun\",\n [wordClass.wordClass.auxiliary]: \"Auxiliary\",\n [wordClass.wordClass.complement]: \"Complement\",\n [wordClass.wordClass.conjunction]: \"Conjunction\",\n [wordClass.wordClass.coverb]: \"Coverb\",\n [wordClass.wordClass.determiner]: \"Determiner\",\n [wordClass.wordClass.interjection]: \"Interjection\",\n [wordClass.wordClass.quantifier]: \"Quantifier\",\n [wordClass.wordClass.marker]: \"Marker\",\n [wordClass.wordClass.modalVerb]: \"Modal Verb\",\n [wordClass.wordClass.measureWord]: \"Measure Word\",\n [wordClass.wordClass.noun]: \"Noun\",\n [wordClass.wordClass[\"noun-zh\"]]: \"Noun\",\n [wordClass.wordClass.nounPhrase]: \"Noun Phrase\",\n [wordClass.wordClass.onomatopoeia]: \"Onomatopoeia\",\n [wordClass.wordClass.particle]: \"Particle\",\n [wordClass.wordClass.demonstrative]: \"Demonstrative\",\n [wordClass.wordClass.personalPronoun]: \"Personal Pronoun\",\n [wordClass.wordClass.preposition]: \"Preposition\",\n [wordClass.wordClass.pronoun]: \"Pronoun\",\n [wordClass.wordClass.questionWord]: \"Question Word\",\n [wordClass.wordClass.locationWord]: \"Location Word\",\n [wordClass.wordClass.suffix]: \"Suffix\",\n [wordClass.wordClass.numeral]: \"Numeral\",\n [wordClass.wordClass.timeWord]: \"Time word\",\n [wordClass.wordClass.timeExpression]: \"Time Expression\",\n [wordClass.wordClass.stativeVerb]: \"Stative Verb\",\n [wordClass.wordClass.subordinatingConjunction]: \"Subordinating Conjunction\",\n [wordClass.wordClass.exclamationWord]: \"Exclamation Word\",\n [wordClass.wordClass.expression]: \"Expression\",\n [wordClass.wordClass.verb]: \"Verb\",\n [wordClass.wordClass.verbComplement]: \"Verb-Complement\",\n [wordClass.wordClass.verbObject]: \"Verb-Object\",\n },\n login: \"Log in\",\n component: {\n tagsInput: {\n clearTriggerLabel: \"Clear all tags\",\n deleteTagTriggerLabel: \"Remove tag {{tag}}\",\n tagAdded: \"Added tag {{tag}}\",\n tagsPasted: \"Pasted {{length}} tags\",\n tagEdited: \"Edited tag {{tag}}. Press enter to save, or escape to cancel.\",\n tagUpdated: \"Tag updated to {{tag}}\",\n tagDeleted: \"Tag {{tag}} deleted\",\n tagSelected: \"Tag {{tag}} selected. Press enter to edit. Press backspace or delete to delete.\",\n },\n combobox: {\n triggerLabel: \"Show suggestions\",\n clearTriggerLabel: \"Clear selection\",\n },\n pagination: {\n rootLabel: \"Pagination\",\n prevTriggerLabel: \"Previous page\",\n nextTriggerLabel: \"Next page\",\n lastPage: \"Last page, page {{page}}\",\n page: \"Page {{page}}\",\n },\n imageSearch: {\n searchPlaceholder: \"Search images\",\n searchButtonTitle: \"Search\",\n imagePreview: {\n creatorsLabel: \"Image\",\n license: \"License\",\n caption: \"Caption\",\n altText: \"Alt-text\",\n modelRelease: \"Model released\",\n tags: \"Tags\",\n checkboxLabel: \"Set as meta image\",\n close: \"Close\",\n useImageTitle: \"Use image\",\n },\n },\n audioSearch: {\n searchPlaceholder: \"Search in audio files\",\n searchButtonTitle: \"Search\",\n useAudio: \"Chose audio\",\n noResults: \"No audio files found\",\n },\n videoSearch: {\n searchPlaceholder: \"Search videos\",\n searchButtonTitle: \"Search\",\n loadMoreVideos: \"Load more videos\",\n noResults: \"No videos found\",\n addVideo: \"Use video\",\n previewVideo: \"Preview\",\n is360Video: \"VR video\",\n close: \"Lukk\",\n },\n datePicker: {\n dayCell: {\n unavailable: \"Unavailable date. {{date}}\",\n selected: \"Selected date. {{date}}\",\n select: \"Select date. {{date}}\",\n },\n nextTrigger: {\n day: \"Go to next month\",\n month: \"Go to next year\",\n year: \"Go to next decade\",\n },\n prevTrigger: {\n day: \"Go to previous month\",\n month: \"Go to previous year\",\n year: \"Go to previous decade\",\n },\n monthSelect: \"Select month\",\n yearSelect: \"Select year\",\n viewTrigger: {\n day: \"Switch to day view\",\n month: \"Switch to month view\",\n year: \"Switch to year view\",\n },\n presetTrigger: {\n single: \"Select {{date}}\",\n range: \"Select from {{start}} to {{end}}\",\n },\n clearTrigger: \"Clear selected dates\",\n trigger: {\n open: \"Open date picker\",\n close: \"Close date picker\",\n },\n content: \"Calendar\",\n },\n },\n richTextEditor: {\n tooltip: {\n bold: \"Bold ({{shortcut}})\",\n code: \"Code ({{shortcut}})\",\n sub: \"Subscript ({{shortcut}})\",\n sup: \"Superscript ({{shortcut}})\",\n underlined: \"Underlined ({{shortcut}})\",\n italic: \"Italic ({{shortcut}})\",\n \"numbered-list\": \"Numbered list ({{shortcut}})\",\n \"letter-list\": \"Alphabetical list ({{shortcut}})\",\n \"bulleted-list\": \"Bulleted list ({{shortcut}})\",\n heading: \"Heading {{level}} ({{shortcut}})\",\n paragraph: \"Paragraph ({{shortcut}})\",\n section: \"Section ({{shortcut}})\",\n link: \"Link ({{shortcut}})\",\n },\n },\n};\n\nexport default messages;\n"],"mappings":";;;;;;AAWA,MAAM,EAAE,mBAAmB,cAAc,cAAcA;AAEvD,MAAM,WAAW;CACf,GAAG,OAAO,QAAQC,iCAAiB,CAAC,QAAgC,KAAK,SAAS;AAChF,MAAI,KAAK,MAAM,KAAK,GAAG;AACvB,SAAO;IACN,EAAE,CAAC;CACN,SAAS;CACT,mBAAmB;GAChB,kBAAkB,kBAAkB;GACpC,kBAAkB,mBAAmB;GACrC,kBAAkB,gBAAgB;GAClC,kBAAkB,QAAQ;GAC1B,aAAa,sBAAsB;EACrC;CACD,cAAc;GACX,aAAa,kBAAkB;GAC/B,aAAa,eAAe;GAC5B,aAAa,sBAAsB;GACnC,aAAa,UAAU;EACzB;CACD,MAAM;EACJ,aAAa;EACb,UAAU;EACX;CACD,MAAM,EACJ,SAAS,wCACV;CACD,SAAS;EACP,aAAa;EACb,YAAY;EACZ,sBAAsB;EACtB,2BAA2B;EAC3B,uBAAuB;EACvB,oBAAoB;EACpB,gBAAgB;EAChB,aAAa;EACb,mBAAmB;EACnB,qBAAqB;EACrB,WAAW;EACX,QAAQ,EACN,aAAa,8EACd;EACD,WAAW;EACZ;CACD,UAAU,EACR,aAAa,qBACd;CACD,cAAc;EACZ,YAAY;EACZ,aAAa;EACd;CACD,SAAS;EACP,MAAM;GACJ,MAAM;GACN,QAAQ;GACR,OAAO;GACP,OAAO;GACP,KAAK;GACL,OAAO;GACP,WAAW;GACX,SAAS;GACT,OAAO;GACP,SAAS;GACT,OAAO;GACR;EACD,WAAW;GACT,SAAS;GACT,aAAa;GACb,WAAW;GACX,gBAAgB;GACjB;EACD,OAAO,EACL,OAAO,2BACR;EACD,QAAQ;GACN,SAAS;GACT,aAAa;GACb,OAAO;GACP,WAAW;IACT,WAAW;IACX,sBAAsB;IACtB,yBAAyB;IACzB,cAAc;IACd,gBAAgB;IACjB;GACD,aAAa;GACb,mBAAmB;GACpB;EACD,MAAM;GACJ,SAAS;GACT,aAAa;GACb,OAAO;GACP,WAAW;GACX,aAAa;GACb,mBAAmB;GACpB;EACD,OAAO;GACL,SAAS;GACT,aAAa;GACb,OAAO;GACP,aAAa;GACb,mBAAmB;GACpB;EACD,SAAS;GACP,SAAS;GACT,aAAa;GACb,OAAO;GACP,aAAa;GACb,mBAAmB;GACpB;EACD,OAAO;GACL,SAAS;GACT,aAAa;GACb,OAAO;GACP,WAAW,EACT,WAAW,4BACZ;GACD,aAAa;GACb,mBAAmB;GACpB;EACD,OAAO;GACL,SAAS;GACT,aAAa;GACb,WAAW,EACT,WAAW,sBACZ;GACF;EACD,KAAK;GACH,SAAS;GACT,aAAa;GACb,OAAO;GACP,aAAa;GACb,mBAAmB;GACpB;EACD,SAAS;GACP,SAAS;GACT,aAAa;GACb,OAAO;GACP,WAAW;IACT,SAAS;IACT,aAAa;IACb,WAAW;IACX,gBAAgB;IACjB;GACD,aAAa;GACb,mBAAmB;GACpB;EACD,OAAO;GACL,SAAS;GACT,aAAa;GACb,OAAO;GACP,oBAAoB;GACpB,WAAW;IACT,SAAS;IACT,aAAa;IACb,WAAW;IACX,gBAAgB;IACjB;GACD,aAAa;GACb,mBAAmB;GACpB;EACD,OAAO;GACL,SAAS;GACT,aAAa;GACb,OAAO;GACP,WAAW,EACT,WAAW,4BACZ;GACF;EACD,WAAW;EACX,OAAO;EACP,aAAa;EACb,UAAU;GACR,KAAK;GACL,SAAS;GACT,IAAI;GACJ,UAAU;GACV,SAAS;GACT,gBAAgB;GAChB,UAAU;GACX;EACD,gBAAgB;EAChB,UAAU;EACV,UAAU;EACV,WAAW;EACZ;CACD,cAAc;EACZ,OAAO;EACP,aAAa;EACb,MAAM;EACN,eAAe;EAChB;CACD,QAAQ,EACN,QAAQ;EACN,aAAa;EACb,UAAU;EACX,EACF;CACD,cAAc;EACZ,KAAK;EACL,SAAS;EACT,SAAS;EACT,iBAAiB;EACjB,cAAc;EACd,iBAAiB;EACjB,oBAAoB;EACpB,wBAAwB;EACxB,mBAAmB;EACnB,wBAAwB;EACxB,OAAO;EACP,mBAAmB;EACnB,OAAO;EACP,SAAS;EACT,OAAO;EACP,SAAS;EACT,KAAK;EACL,OAAO;EACP,SAAS;EACT,UAAU;EACV,OAAO;EACP,WAAW;EACX,kBAAkB;EAClB,qBAAqB;EACtB;CACD,WAAW;EACT,IAAI;EACJ,IAAI;EACJ,IAAI;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"}
|
|
1
|
+
{"version":3,"file":"messages-en.js","names":["contributorTypes","subjectCategories","subjectTypes","wordClass"],"sources":["../../src/locale/messages-en.ts"],"sourcesContent":["/**\n * Copyright (c) 2018-present, NDLA.\n *\n * This source code is licensed under the GPLv3 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport { contributorTypes } from \"@ndla/licenses\";\nimport { subjectCategories } from \"../model/SubjectCategories\";\nimport { subjectTypes } from \"../model/SubjectTypes\";\nimport { wordClass } from \"../model/WordClass\";\n\nconst messages = {\n ...Object.entries(contributorTypes).reduce<Record<string, string>>((acc, curr) => {\n acc[curr[0]] = curr[1].en;\n return acc;\n }, {}),\n askNDLA: \"Ask NDLA\",\n subjectCategories: {\n [subjectCategories.ACTIVE_SUBJECTS]: \"Active\",\n [subjectCategories.ARCHIVE_SUBJECTS]: \"Expired\",\n [subjectCategories.BETA_SUBJECTS]: \"Revised\",\n [subjectCategories.OTHER]: \"Other resources\",\n [subjectTypes.RESOURCE_COLLECTION]: \"Resource collections\",\n },\n subjectTypes: {\n [subjectTypes.ARCHIVE_SUBJECT]: \"Archive subject\",\n [subjectTypes.BETA_SUBJECT]: \"Beta subject\",\n [subjectTypes.RESOURCE_COLLECTION]: \"Resource collection\",\n [subjectTypes.SUBJECT]: \"Subject\",\n },\n meta: {\n description: \"Norwegian Digital Learning Arena, Open Educational Resources for upper secondary education.\",\n keywords: \"open educational resources,teaching,learning\",\n },\n logo: {\n altText: \"The Norwegian Digital Learning Arena\",\n },\n article: {\n lastUpdated: \"Last revised date\",\n useContent: \"Cite or reuse?\",\n authorsLabel_article: \"Written by\",\n authorsLabel_learningPath: \"Made by\",\n authorsLabel_external: \"This link is added by\",\n copyPageLinkCopied: \"Link copied\",\n copyHeaderLink: \"Copy link to header\",\n conjunction: \"and\",\n supplierLabel_one: \"Rightsholder:\",\n supplierLabel_other: \"Rightsholders:\",\n printPage: \"Print text\",\n access: {\n onlyTeacher: \"This resource is accessible only to teachers who are logged in with Feide.\",\n },\n footnotes: \"Footnotes\",\n },\n external: {\n lastUpdated: \"Last revised date\",\n },\n learningPath: {\n copiedFrom: \"This is a remix of a different learning path\",\n lastUpdated: \"Last revised date\",\n },\n license: {\n tabs: {\n text: \"Text\",\n images: \"Images\",\n audio: \"Audio\",\n video: \"Video\",\n h5p: \"H5P\",\n files: \"Files\",\n embedlink: \"Embedded link\",\n concept: \"Concepts\",\n gloss: \"Glosses\",\n podcast: \"Podcast\",\n other: \"Other content\",\n },\n embedlink: {\n heading: \"How to show the article in other content\",\n description: \"This url shows the article without menu and footer\",\n copyTitle: \"Copy link\",\n hasCopiedTitle: \"Link copied\",\n },\n image: {\n rules: \"Rules for use of image:\",\n },\n images: {\n heading: \"How to reuse images\",\n description: \"Remember to copy the text to be attached to the image where you use it.\",\n rules: \"Rules for use of image\",\n itemImage: {\n ariaLabel: \"Open image in new window\",\n zoomImageButtonLabel: \"Expand image\",\n zoomOutImageButtonLabel: \"Shrink image\",\n expandByline: \"Show byline\",\n minimizeByline: \"Hide byline\",\n },\n licenseText: \"This image has the license\",\n restrictedUseText: \"This image has\",\n },\n text: {\n heading: \"How to reuse the text\",\n description: \"Remember to refer to the source when reusing text.\",\n rules: \"Rules for use of text\",\n published: \"Published\",\n licenseText: \"This text has the license\",\n restrictedUseText: \"This text has\",\n },\n audio: {\n heading: \"How to reuse audio files\",\n description: \"Remember to copy the text to be attached to the audio where you use it.\",\n rules: \"Rules for use of audio file\",\n licenseText: \"This audio file has the license\",\n restrictedUseText: \"This audio file has\",\n },\n podcast: {\n heading: \"How to reuse podcasts\",\n description: \"Remember to copy the text to be attached to the podcast where you use it.\",\n rules: \"Rules for use of podcast\",\n licenseText: \"This podcast has the license\",\n restrictedUseText: \"This podcast has\",\n },\n video: {\n heading: \"How to reuse videos\",\n description: \"Remember to copy the text to be attached to the video where you use it.\",\n rules: \"Rules for use of video files\",\n itemImage: {\n ariaLabel: \"Open video in new window\",\n },\n licenseText: \"This video has the license\",\n restrictedUseText: \"This video has\",\n },\n other: {\n heading: \"How to reuse other content\",\n description: \"You will find guidelines for use of other content in the asset\",\n itemImage: {\n ariaLabel: \"Open in new window\",\n },\n },\n h5p: {\n heading: \"How to reuse H5P content\",\n description: \"You will find guidelines for use of H5P content in the asset\",\n rules: \"Rules for use of H5P\",\n licenseText: \"This interactive task (H5P) is licensed\",\n restrictedUseText: \"This interactive task (H5P) has\",\n },\n concept: {\n heading: \"How to reuse concept content\",\n description: \"Remember that built-in content might have a different license than the explanation text\",\n rules: \"Rules for use of concept\",\n embedlink: {\n heading: \"How to show the concept in other content\",\n description: \"This url shows the concept without menu and footer\",\n copyTitle: \"Copy embed link\",\n hasCopiedTitle: \"Embed link copied\",\n },\n licenseText: \"This concept has the license\",\n restrictedUseText: \"This concept has\",\n },\n gloss: {\n heading: \"How to reuse gloss content\",\n description: \"Remember that built-in content might have a different license than the gloss text\",\n rules: \"Rules for use of gloss\",\n showOrHideExamples: \"Show or hide examples\",\n embedlink: {\n heading: \"How to show the gloss in other content\",\n description: \"This url shows the gloss without menu and footer\",\n copyTitle: \"Copy embed link\",\n hasCopiedTitle: \"Embed link copied\",\n },\n licenseText: \"This gloss has the license\",\n restrictedUseText: \"This gloss has\",\n },\n files: {\n heading: \"How to reuse files\",\n description: \"Remember to copy the text to be attached to the file where you use it.\",\n rules: \"Rules for use of file\",\n itemImage: {\n ariaLabel: \"Open video in new window\",\n },\n },\n copyTitle: \"Copy source reference\",\n embed: \"Embed\",\n embedCopied: \"Copied embed code!\",\n copyText: {\n now: \"now\",\n podcast: \"podcast\",\n by: \"by\",\n internet: \"[Internet]. \",\n noTitle: \"No title\",\n downloadedFrom: \"Downloaded from: \",\n readDate: \"Read: \",\n },\n hasCopiedTitle: \"Copied!\",\n download: \"Download\",\n openLink: \"Open in new tab\",\n processed: \"The content has been processed\",\n },\n errorMessage: {\n title: \"Oops, something went wrong\",\n description: \"Sorry, an error occurred.\",\n back: \"Go back\",\n goToFrontPage: \"Go to frontpage\",\n },\n figure: {\n button: {\n alternative: \"Switch to visually interpreted video\",\n original: \"Switch to original video\",\n },\n },\n contentTypes: {\n all: \"All\",\n article: \"Article\",\n subject: \"Subject\",\n \"topic-article\": \"Topic article\",\n learningpath: \"Learning path\",\n \"learning-path\": \"Learning path\",\n \"subject-material\": \"Subject material\",\n \"tasks-and-activities\": \"Task and activities\",\n \"source-material\": \"Source material\",\n \"assessment-resources\": \"Assessment resource\",\n topic: \"Topic\",\n multidisciplinary: \"Multidisciplinary case\",\n image: \"Image\",\n concept: \"Concept\",\n audio: \"Audio\",\n podcast: \"Podcast\",\n h5p: \"H5P\",\n video: \"Video\",\n missing: \"Unknown\",\n external: \"External\",\n gloss: \"Gloss\",\n programme: \"Programme\",\n \"podcast-series\": \"Podcast series\",\n \"frontpage-article\": \"About NDLA article\",\n },\n languages: {\n nb: \"Norwegian Bokmål\",\n nn: \"Norwegian Nynorsk\",\n en: \"English\",\n fr: \"French\",\n de: \"German\",\n se: \"Northern Sami\",\n sma: \"Southern Sami\",\n es: \"Spanish\",\n zh: \"Chinese\",\n ukr: \"Ukranian\",\n unknown: \"Unknown\",\n prefixChangeLanguage: \"Choose language\",\n },\n breadcrumb: {\n toFrontpage: \"NDLA frontpage\",\n breadcrumb: \"Breadcrumb\",\n },\n codeBlock: {\n copiedCode: \"Copied code\",\n copyCode: \"Copy code\",\n },\n cancel: \"Cancel\",\n close: \"Close\",\n loading: \"Loading\",\n title: \"Title\",\n save: \"Save\",\n email: \"Email\",\n finished: \"Finished\",\n audio: {\n play: \"Play\",\n pause: \"Pause\",\n progressBar: \"Progress bar\",\n valueText: \"{{start}} of {{end}}\",\n controls: {\n forward15sec: \"Forward 15 seconds\",\n rewind15sec: \"Rewind 15 seconds\",\n selectSpeed: \"Choose speed\",\n adjustVolume: \"Adjust volume\",\n },\n textVersion: {\n heading: \"Text version\",\n close: \"Close text version\",\n },\n readMoreDescriptionLabel: \"Show more\",\n readLessDescriptionLabel: \"Show less\",\n },\n source: \"Source\",\n related: {\n title: \"Related content\",\n linkInfo: \"Web page at\",\n showMore: \"Show more related content\",\n showLess: \"Show less\",\n },\n download: \"Download file: \",\n factbox: {\n open: \"Open fact box\",\n close: \"Close fact box\",\n },\n embed: {\n linkError: \"Failed to show link.\",\n unsupported: `Embed {{type}} not supported.`,\n embedError: `An error occurred while loading the {{type}}. Try reloading the page.`,\n type: {\n image: \"Image\",\n video: \"Video\",\n audio: \"Audio\",\n podcast: \"Podcast\",\n concept: \"Concept\",\n h5p: \"H5P\",\n external: \"External resource\",\n gloss: \"Gloss\",\n copyright: \"Text\",\n code: \"Code block\",\n disclaimer: \"Accessibility warning\",\n },\n },\n uuDisclaimer: { title: \"Accessibility\" },\n gloss: {\n examples: \"Examples\",\n showExamples: \"Show examples\",\n wordClass: \"Word class\",\n play: \"Play gloss\",\n transcriptions: {\n traditional: \"Traditional spelling\",\n pinyin: \"Pinyin\",\n },\n },\n wordClass: {\n [wordClass.adjective]: \"Adjective\",\n [wordClass.adverb]: \"Adverb\",\n [wordClass.properNoun]: \"Proper Noun\",\n [wordClass.auxiliary]: \"Auxiliary\",\n [wordClass.complement]: \"Complement\",\n [wordClass.conjunction]: \"Conjunction\",\n [wordClass.coverb]: \"Coverb\",\n [wordClass.determiner]: \"Determiner\",\n [wordClass.interjection]: \"Interjection\",\n [wordClass.quantifier]: \"Quantifier\",\n [wordClass.marker]: \"Marker\",\n [wordClass.modalVerb]: \"Modal Verb\",\n [wordClass.measureWord]: \"Measure Word\",\n [wordClass.noun]: \"Noun\",\n [wordClass[\"noun-zh\"]]: \"Noun\",\n [wordClass.nounPhrase]: \"Noun Phrase\",\n [wordClass.onomatopoeia]: \"Onomatopoeia\",\n [wordClass.particle]: \"Particle\",\n [wordClass.demonstrative]: \"Demonstrative\",\n [wordClass.personalPronoun]: \"Personal Pronoun\",\n [wordClass.preposition]: \"Preposition\",\n [wordClass.pronoun]: \"Pronoun\",\n [wordClass.questionWord]: \"Question Word\",\n [wordClass.locationWord]: \"Location Word\",\n [wordClass.suffix]: \"Suffix\",\n [wordClass.numeral]: \"Numeral\",\n [wordClass.timeWord]: \"Time word\",\n [wordClass.timeExpression]: \"Time Expression\",\n [wordClass.stativeVerb]: \"Stative Verb\",\n [wordClass.subordinatingConjunction]: \"Subordinating Conjunction\",\n [wordClass.exclamationWord]: \"Exclamation Word\",\n [wordClass.expression]: \"Expression\",\n [wordClass.verb]: \"Verb\",\n [wordClass.verbComplement]: \"Verb-Complement\",\n [wordClass.verbObject]: \"Verb-Object\",\n },\n login: \"Log in\",\n component: {\n tagsInput: {\n clearTriggerLabel: \"Clear all tags\",\n deleteTagTriggerLabel: \"Remove tag {{tag}}\",\n tagAdded: \"Added tag {{tag}}\",\n tagsPasted: \"Pasted {{length}} tags\",\n tagEdited: \"Edited tag {{tag}}. Press enter to save, or escape to cancel.\",\n tagUpdated: \"Tag updated to {{tag}}\",\n tagDeleted: \"Tag {{tag}} deleted\",\n tagSelected: \"Tag {{tag}} selected. Press enter to edit. Press backspace or delete to delete.\",\n },\n combobox: {\n triggerLabel: \"Show suggestions\",\n clearTriggerLabel: \"Clear selection\",\n },\n pagination: {\n rootLabel: \"Pagination\",\n prevTriggerLabel: \"Previous page\",\n nextTriggerLabel: \"Next page\",\n lastPage: \"Last page, page {{page}}\",\n page: \"Page {{page}}\",\n },\n imageSearch: {\n searchPlaceholder: \"Search images\",\n searchButtonTitle: \"Search\",\n imagePreview: {\n creatorsLabel: \"Image\",\n license: \"License\",\n caption: \"Caption\",\n altText: \"Alt-text\",\n modelRelease: \"Model released\",\n tags: \"Tags\",\n checkboxLabel: \"Set as meta image\",\n close: \"Close\",\n useImageTitle: \"Use image\",\n },\n },\n audioSearch: {\n searchPlaceholder: \"Search in audio files\",\n searchButtonTitle: \"Search\",\n useAudio: \"Chose audio\",\n noResults: \"No audio files found\",\n },\n videoSearch: {\n searchPlaceholder: \"Search videos\",\n searchButtonTitle: \"Search\",\n loadMoreVideos: \"Load more videos\",\n noResults: \"No videos found\",\n addVideo: \"Use video\",\n previewVideo: \"Preview\",\n is360Video: \"VR video\",\n close: \"Lukk\",\n },\n datePicker: {\n dayCell: {\n unavailable: \"Unavailable date. {{date}}\",\n selected: \"Selected date. {{date}}\",\n select: \"Select date. {{date}}\",\n },\n nextTrigger: {\n day: \"Go to next month\",\n month: \"Go to next year\",\n year: \"Go to next decade\",\n },\n prevTrigger: {\n day: \"Go to previous month\",\n month: \"Go to previous year\",\n year: \"Go to previous decade\",\n },\n monthSelect: \"Select month\",\n yearSelect: \"Select year\",\n viewTrigger: {\n day: \"Switch to day view\",\n month: \"Switch to month view\",\n year: \"Switch to year view\",\n },\n presetTrigger: {\n single: \"Select {{date}}\",\n range: \"Select from {{start}} to {{end}}\",\n },\n clearTrigger: \"Clear selected dates\",\n trigger: {\n open: \"Open date picker\",\n close: \"Close date picker\",\n },\n content: \"Calendar\",\n },\n },\n richTextEditor: {\n tooltip: {\n bold: \"Bold ({{shortcut}})\",\n code: \"Code ({{shortcut}})\",\n sub: \"Subscript ({{shortcut}})\",\n sup: \"Superscript ({{shortcut}})\",\n underlined: \"Underlined ({{shortcut}})\",\n italic: \"Italic ({{shortcut}})\",\n \"numbered-list\": \"Numbered list ({{shortcut}})\",\n \"letter-list\": \"Alphabetical list ({{shortcut}})\",\n \"bulleted-list\": \"Bulleted list ({{shortcut}})\",\n heading: \"Heading {{level}} ({{shortcut}})\",\n paragraph: \"Paragraph ({{shortcut}})\",\n section: \"Section ({{shortcut}})\",\n link: \"Link ({{shortcut}})\",\n },\n },\n};\n\nexport default messages;\n"],"mappings":";;;;;;;;AAaA,MAAM,WAAW;CACf,GAAG,OAAO,QAAQA,iCAAiB,CAAC,QAAgC,KAAK,SAAS;AAChF,MAAI,KAAK,MAAM,KAAK,GAAG;AACvB,SAAO;IACN,EAAE,CAAC;CACN,SAAS;CACT,mBAAmB;GAChBC,4CAAkB,kBAAkB;GACpCA,4CAAkB,mBAAmB;GACrCA,4CAAkB,gBAAgB;GAClCA,4CAAkB,QAAQ;GAC1BC,kCAAa,sBAAsB;EACrC;CACD,cAAc;GACXA,kCAAa,kBAAkB;GAC/BA,kCAAa,eAAe;GAC5BA,kCAAa,sBAAsB;GACnCA,kCAAa,UAAU;EACzB;CACD,MAAM;EACJ,aAAa;EACb,UAAU;EACX;CACD,MAAM,EACJ,SAAS,wCACV;CACD,SAAS;EACP,aAAa;EACb,YAAY;EACZ,sBAAsB;EACtB,2BAA2B;EAC3B,uBAAuB;EACvB,oBAAoB;EACpB,gBAAgB;EAChB,aAAa;EACb,mBAAmB;EACnB,qBAAqB;EACrB,WAAW;EACX,QAAQ,EACN,aAAa,8EACd;EACD,WAAW;EACZ;CACD,UAAU,EACR,aAAa,qBACd;CACD,cAAc;EACZ,YAAY;EACZ,aAAa;EACd;CACD,SAAS;EACP,MAAM;GACJ,MAAM;GACN,QAAQ;GACR,OAAO;GACP,OAAO;GACP,KAAK;GACL,OAAO;GACP,WAAW;GACX,SAAS;GACT,OAAO;GACP,SAAS;GACT,OAAO;GACR;EACD,WAAW;GACT,SAAS;GACT,aAAa;GACb,WAAW;GACX,gBAAgB;GACjB;EACD,OAAO,EACL,OAAO,2BACR;EACD,QAAQ;GACN,SAAS;GACT,aAAa;GACb,OAAO;GACP,WAAW;IACT,WAAW;IACX,sBAAsB;IACtB,yBAAyB;IACzB,cAAc;IACd,gBAAgB;IACjB;GACD,aAAa;GACb,mBAAmB;GACpB;EACD,MAAM;GACJ,SAAS;GACT,aAAa;GACb,OAAO;GACP,WAAW;GACX,aAAa;GACb,mBAAmB;GACpB;EACD,OAAO;GACL,SAAS;GACT,aAAa;GACb,OAAO;GACP,aAAa;GACb,mBAAmB;GACpB;EACD,SAAS;GACP,SAAS;GACT,aAAa;GACb,OAAO;GACP,aAAa;GACb,mBAAmB;GACpB;EACD,OAAO;GACL,SAAS;GACT,aAAa;GACb,OAAO;GACP,WAAW,EACT,WAAW,4BACZ;GACD,aAAa;GACb,mBAAmB;GACpB;EACD,OAAO;GACL,SAAS;GACT,aAAa;GACb,WAAW,EACT,WAAW,sBACZ;GACF;EACD,KAAK;GACH,SAAS;GACT,aAAa;GACb,OAAO;GACP,aAAa;GACb,mBAAmB;GACpB;EACD,SAAS;GACP,SAAS;GACT,aAAa;GACb,OAAO;GACP,WAAW;IACT,SAAS;IACT,aAAa;IACb,WAAW;IACX,gBAAgB;IACjB;GACD,aAAa;GACb,mBAAmB;GACpB;EACD,OAAO;GACL,SAAS;GACT,aAAa;GACb,OAAO;GACP,oBAAoB;GACpB,WAAW;IACT,SAAS;IACT,aAAa;IACb,WAAW;IACX,gBAAgB;IACjB;GACD,aAAa;GACb,mBAAmB;GACpB;EACD,OAAO;GACL,SAAS;GACT,aAAa;GACb,OAAO;GACP,WAAW,EACT,WAAW,4BACZ;GACF;EACD,WAAW;EACX,OAAO;EACP,aAAa;EACb,UAAU;GACR,KAAK;GACL,SAAS;GACT,IAAI;GACJ,UAAU;GACV,SAAS;GACT,gBAAgB;GAChB,UAAU;GACX;EACD,gBAAgB;EAChB,UAAU;EACV,UAAU;EACV,WAAW;EACZ;CACD,cAAc;EACZ,OAAO;EACP,aAAa;EACb,MAAM;EACN,eAAe;EAChB;CACD,QAAQ,EACN,QAAQ;EACN,aAAa;EACb,UAAU;EACX,EACF;CACD,cAAc;EACZ,KAAK;EACL,SAAS;EACT,SAAS;EACT,iBAAiB;EACjB,cAAc;EACd,iBAAiB;EACjB,oBAAoB;EACpB,wBAAwB;EACxB,mBAAmB;EACnB,wBAAwB;EACxB,OAAO;EACP,mBAAmB;EACnB,OAAO;EACP,SAAS;EACT,OAAO;EACP,SAAS;EACT,KAAK;EACL,OAAO;EACP,SAAS;EACT,UAAU;EACV,OAAO;EACP,WAAW;EACX,kBAAkB;EAClB,qBAAqB;EACtB;CACD,WAAW;EACT,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAA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"}
|
|
@@ -5,20 +5,22 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
7
|
*/
|
|
8
|
+
import { subjectCategories } from "../model/SubjectCategories";
|
|
9
|
+
import { subjectTypes } from "../model/SubjectTypes";
|
|
8
10
|
declare const messages: {
|
|
9
11
|
askNDLA: string;
|
|
10
12
|
subjectCategories: {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
[subjectCategories.ACTIVE_SUBJECTS]: string;
|
|
14
|
+
[subjectCategories.ARCHIVE_SUBJECTS]: string;
|
|
15
|
+
[subjectCategories.BETA_SUBJECTS]: string;
|
|
16
|
+
[subjectCategories.OTHER]: string;
|
|
17
|
+
[subjectTypes.RESOURCE_COLLECTION]: string;
|
|
16
18
|
};
|
|
17
19
|
subjectTypes: {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
[subjectTypes.ARCHIVE_SUBJECT]: string;
|
|
21
|
+
[subjectTypes.BETA_SUBJECT]: string;
|
|
22
|
+
[subjectTypes.RESOURCE_COLLECTION]: string;
|
|
23
|
+
[subjectTypes.SUBJECT]: string;
|
|
22
24
|
};
|
|
23
25
|
meta: {
|
|
24
26
|
description: string;
|