@ndla/ui 56.0.123-alpha.0 → 56.0.124-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/es/Article/Article.js +122 -194
- package/es/Article/Article.js.map +1 -0
- package/es/Article/ArticleByline.js +121 -170
- package/es/Article/ArticleByline.js.map +1 -0
- package/es/Article/ArticleFootNotes.js +38 -58
- package/es/Article/ArticleFootNotes.js.map +1 -0
- package/es/AudioPlayer/AudioPlayer.js +151 -212
- package/es/AudioPlayer/AudioPlayer.js.map +1 -0
- package/es/AudioPlayer/Controls.js +246 -324
- package/es/AudioPlayer/Controls.js.map +1 -0
- package/es/AudioPlayer/SpeechControl.js +36 -52
- package/es/AudioPlayer/SpeechControl.js.map +1 -0
- package/es/AudioPlayer/index.js +7 -9
- package/es/AudioPlayer/index.js.map +1 -0
- package/es/Breadcrumb/Breadcrumb.js +42 -58
- package/es/Breadcrumb/Breadcrumb.js.map +1 -0
- package/es/Breadcrumb/BreadcrumbItem.js +33 -59
- package/es/Breadcrumb/BreadcrumbItem.js.map +1 -0
- package/es/Breadcrumb/HomeBreadcrumb.js +41 -74
- package/es/Breadcrumb/HomeBreadcrumb.js.map +1 -0
- package/es/Breadcrumb/index.js +8 -10
- package/es/Breadcrumb/index.js.map +1 -0
- package/es/CampaignBlock/CampaignBlock.js +124 -173
- package/es/CampaignBlock/CampaignBlock.js.map +1 -0
- package/es/CodeBlock/CodeBlock.js +21 -31
- package/es/CodeBlock/CodeBlock.js.map +1 -0
- package/es/CodeBlock/codeLanguageOptions.js +112 -82
- package/es/CodeBlock/codeLanguageOptions.js.map +1 -0
- package/es/Concept/Concept.js +46 -68
- package/es/Concept/Concept.js.map +1 -0
- package/es/ContactBlock/ContactBlock.js +137 -191
- package/es/ContactBlock/ContactBlock.js.map +1 -0
- package/es/ContentTypeBadge/ContentTypeBadge.js +38 -47
- package/es/ContentTypeBadge/ContentTypeBadge.js.map +1 -0
- package/es/ContentTypeBlockQuote/ContentTypeBlockQuote.js +21 -28
- package/es/ContentTypeBlockQuote/ContentTypeBlockQuote.js.map +1 -0
- package/es/ContentTypeFramedContent/ContentTypeFramedContent.js +21 -28
- package/es/ContentTypeFramedContent/ContentTypeFramedContent.js.map +1 -0
- package/es/ContentTypeHero/ContentTypeHero.js +36 -47
- package/es/ContentTypeHero/ContentTypeHero.js.map +1 -0
- package/es/CopyParagraphButton/CopyParagraphButton.js +57 -78
- package/es/CopyParagraphButton/CopyParagraphButton.js.map +1 -0
- package/es/CopyParagraphButton/index.js +7 -10
- package/es/CopyParagraphButton/index.js.map +1 -0
- package/es/Embed/AudioEmbed.js +49 -73
- package/es/Embed/AudioEmbed.js.map +1 -0
- package/es/Embed/BrightcoveEmbed.js +90 -127
- package/es/Embed/BrightcoveEmbed.js.map +1 -0
- package/es/Embed/CodeEmbed.js +55 -73
- package/es/Embed/CodeEmbed.js.map +1 -0
- package/es/Embed/ConceptEmbed.js +72 -117
- package/es/Embed/ConceptEmbed.js.map +1 -0
- package/es/Embed/ConceptInlineTriggerButton.js +39 -44
- package/es/Embed/ConceptInlineTriggerButton.js.map +1 -0
- package/es/Embed/ContentLinkEmbed.js +29 -49
- package/es/Embed/ContentLinkEmbed.js.map +1 -0
- package/es/Embed/CopyrightEmbed.js +21 -31
- package/es/Embed/CopyrightEmbed.js.map +1 -0
- package/es/Embed/EmbedErrorPlaceholder.js +40 -55
- package/es/Embed/EmbedErrorPlaceholder.js.map +1 -0
- package/es/Embed/EmbedWrapper.js +21 -46
- package/es/Embed/EmbedWrapper.js.map +1 -0
- package/es/Embed/ExternalEmbed.js +50 -70
- package/es/Embed/ExternalEmbed.js.map +1 -0
- package/es/Embed/FootnoteEmbed.js +25 -42
- package/es/Embed/FootnoteEmbed.js.map +1 -0
- package/es/Embed/GlossEmbed.js +49 -77
- package/es/Embed/GlossEmbed.js.map +1 -0
- package/es/Embed/H5pEmbed.js +35 -58
- package/es/Embed/H5pEmbed.js.map +1 -0
- package/es/Embed/IframeEmbed.js +65 -89
- package/es/Embed/IframeEmbed.js.map +1 -0
- package/es/Embed/ImageEmbed.js +167 -225
- package/es/Embed/ImageEmbed.js.map +1 -0
- package/es/Embed/InlineTriggerButton.js +20 -32
- package/es/Embed/InlineTriggerButton.js.map +1 -0
- package/es/Embed/RelatedContentEmbed.js +36 -53
- package/es/Embed/RelatedContentEmbed.js.map +1 -0
- package/es/Embed/UnknownEmbed.js +18 -29
- package/es/Embed/UnknownEmbed.js.map +1 -0
- package/es/Embed/UuDisclaimerEmbed.js +51 -85
- package/es/Embed/UuDisclaimerEmbed.js.map +1 -0
- package/es/ErrorMessage/ErrorMessage.js +51 -92
- package/es/ErrorMessage/ErrorMessage.js.map +1 -0
- package/es/ErrorMessage/index.js +7 -9
- package/es/ErrorMessage/index.js.map +1 -0
- package/es/FactBox/FactBox.js +114 -170
- package/es/FactBox/FactBox.js.map +1 -0
- package/es/FactBox/index.js +7 -9
- package/es/FactBox/index.js.map +1 -0
- package/es/FileList/File.js +70 -95
- package/es/FileList/File.js.map +1 -0
- package/es/FileList/FileList.js +31 -46
- package/es/FileList/FileList.js.map +1 -0
- package/es/FileList/PdfFile.js +27 -49
- package/es/FileList/PdfFile.js.map +1 -0
- package/es/Gloss/Gloss.js +133 -166
- package/es/Gloss/Gloss.js.map +1 -0
- package/es/Gloss/GlossExample.js +42 -60
- package/es/Gloss/GlossExample.js.map +1 -0
- package/es/Grid/Grid.js +63 -91
- package/es/Grid/Grid.js.map +1 -0
- package/es/Grid/GridParallaxItem.js +19 -30
- package/es/Grid/GridParallaxItem.js.map +1 -0
- package/es/KeyFigure/KeyFigure.js +44 -61
- package/es/KeyFigure/KeyFigure.js.map +1 -0
- package/es/LicenseByline/EmbedByline.js +126 -206
- package/es/LicenseByline/EmbedByline.js.map +1 -0
- package/es/LicenseByline/LicenseLink.js +28 -53
- package/es/LicenseByline/LicenseLink.js.map +1 -0
- package/es/LinkBlock/LinkBlock.js +70 -99
- package/es/LinkBlock/LinkBlock.js.map +1 -0
- package/es/LinkBlock/LinkBlockSection.js +20 -32
- package/es/LinkBlock/LinkBlockSection.js.map +1 -0
- package/es/Pitch/Pitch.js +59 -80
- package/es/Pitch/Pitch.js.map +1 -0
- package/es/RelatedArticleList/RelatedArticleList.js +91 -129
- package/es/RelatedArticleList/RelatedArticleList.js.map +1 -0
- package/es/RelatedArticleList/index.js +7 -10
- package/es/RelatedArticleList/index.js.map +1 -0
- package/es/ResourceBox/ResourceBox.js +71 -96
- package/es/ResourceBox/ResourceBox.js.map +1 -0
- package/es/TagSelector/TagSelector.js +93 -136
- package/es/TagSelector/TagSelector.js.map +1 -0
- package/es/ZendeskButton/ZendeskButton.js +38 -52
- package/es/ZendeskButton/ZendeskButton.js.map +1 -0
- package/es/_virtual/rolldown_runtime.js +11 -0
- package/es/i18n/formatNestedMessages.js +16 -24
- package/es/i18n/formatNestedMessages.js.map +1 -0
- package/es/i18n/i18n.js +25 -31
- package/es/i18n/i18n.js.map +1 -0
- package/es/i18n/useComponentTranslations.js +147 -203
- package/es/i18n/useComponentTranslations.js.map +1 -0
- package/es/index.js +64 -44
- package/es/locale/messages-en.js +435 -459
- package/es/locale/messages-en.js.map +1 -0
- package/es/locale/messages-nb.js +435 -459
- package/es/locale/messages-nb.js.map +1 -0
- package/es/locale/messages-nn.js +435 -459
- package/es/locale/messages-nn.js.map +1 -0
- package/es/locale/messages-se.js +435 -459
- package/es/locale/messages-se.js.map +1 -0
- package/es/model/ContentType.js +69 -65
- package/es/model/ContentType.js.map +1 -0
- package/es/model/SubjectCategories.js +23 -10
- package/es/model/SubjectCategories.js.map +1 -0
- package/es/model/SubjectTypes.js +21 -9
- package/es/model/SubjectTypes.js.map +1 -0
- package/es/model/WordClass.js +51 -43
- package/es/model/WordClass.js.map +1 -0
- package/es/model/index.js +16 -18
- package/es/model/index.js.map +1 -0
- package/es/utils/licenseAttributes.js +15 -17
- package/es/utils/licenseAttributes.js.map +1 -0
- package/es/utils/relativeUrl.js +21 -32
- package/es/utils/relativeUrl.js.map +1 -0
- package/lib/Article/Article.js +130 -203
- package/lib/Article/Article.js.map +1 -0
- package/lib/Article/ArticleByline.js +125 -179
- package/lib/Article/ArticleByline.js.map +1 -0
- package/lib/Article/ArticleFootNotes.js +39 -65
- package/lib/Article/ArticleFootNotes.js.map +1 -0
- package/lib/AudioPlayer/AudioPlayer.js +155 -221
- package/lib/AudioPlayer/AudioPlayer.js.map +1 -0
- package/lib/AudioPlayer/Controls.js +249 -332
- package/lib/AudioPlayer/Controls.js.map +1 -0
- package/lib/AudioPlayer/SpeechControl.js +39 -60
- package/lib/AudioPlayer/SpeechControl.js.map +1 -0
- package/lib/AudioPlayer/index.js +7 -15
- package/lib/AudioPlayer/index.js.map +1 -0
- package/lib/Breadcrumb/Breadcrumb.js +43 -65
- package/lib/Breadcrumb/Breadcrumb.js.map +1 -0
- package/lib/Breadcrumb/BreadcrumbItem.js +34 -65
- package/lib/Breadcrumb/BreadcrumbItem.js.map +1 -0
- package/lib/Breadcrumb/HomeBreadcrumb.js +43 -82
- package/lib/Breadcrumb/HomeBreadcrumb.js.map +1 -0
- package/lib/Breadcrumb/index.js +8 -22
- package/lib/Breadcrumb/index.js.map +1 -0
- package/lib/CampaignBlock/CampaignBlock.js +128 -183
- package/lib/CampaignBlock/CampaignBlock.js.map +1 -0
- package/lib/CodeBlock/CodeBlock.js +23 -38
- package/lib/CodeBlock/CodeBlock.js.map +1 -0
- package/lib/CodeBlock/codeLanguageOptions.js +112 -87
- package/lib/CodeBlock/codeLanguageOptions.js.map +1 -0
- package/lib/Concept/Concept.js +48 -75
- package/lib/Concept/Concept.js.map +1 -0
- package/lib/ContactBlock/ContactBlock.js +141 -200
- package/lib/ContactBlock/ContactBlock.js.map +1 -0
- package/lib/ContentTypeBadge/ContentTypeBadge.js +40 -54
- package/lib/ContentTypeBadge/ContentTypeBadge.js.map +1 -0
- package/lib/ContentTypeBlockQuote/ContentTypeBlockQuote.js +23 -35
- package/lib/ContentTypeBlockQuote/ContentTypeBlockQuote.js.map +1 -0
- package/lib/ContentTypeFramedContent/ContentTypeFramedContent.js +23 -35
- package/lib/ContentTypeFramedContent/ContentTypeFramedContent.js.map +1 -0
- package/lib/ContentTypeHero/ContentTypeHero.js +37 -54
- package/lib/ContentTypeHero/ContentTypeHero.js.map +1 -0
- package/lib/CopyParagraphButton/CopyParagraphButton.js +61 -87
- package/lib/CopyParagraphButton/CopyParagraphButton.js.map +1 -0
- package/lib/CopyParagraphButton/index.js +7 -21
- package/lib/CopyParagraphButton/index.js.map +1 -0
- package/lib/Embed/AudioEmbed.js +51 -82
- package/lib/Embed/AudioEmbed.js.map +1 -0
- package/lib/Embed/BrightcoveEmbed.js +93 -138
- package/lib/Embed/BrightcoveEmbed.js.map +1 -0
- package/lib/Embed/CodeEmbed.js +59 -83
- package/lib/Embed/CodeEmbed.js.map +1 -0
- package/lib/Embed/ConceptEmbed.js +77 -127
- package/lib/Embed/ConceptEmbed.js.map +1 -0
- package/lib/Embed/ConceptInlineTriggerButton.js +39 -49
- package/lib/Embed/ConceptInlineTriggerButton.js.map +1 -0
- package/lib/Embed/ContentLinkEmbed.js +30 -55
- package/lib/Embed/ContentLinkEmbed.js.map +1 -0
- package/lib/Embed/CopyrightEmbed.js +22 -37
- package/lib/Embed/CopyrightEmbed.js.map +1 -0
- package/lib/Embed/EmbedErrorPlaceholder.js +42 -62
- package/lib/Embed/EmbedErrorPlaceholder.js.map +1 -0
- package/lib/Embed/EmbedWrapper.js +24 -54
- package/lib/Embed/EmbedWrapper.js.map +1 -0
- package/lib/Embed/ExternalEmbed.js +53 -79
- package/lib/Embed/ExternalEmbed.js.map +1 -0
- package/lib/Embed/FootnoteEmbed.js +26 -48
- package/lib/Embed/FootnoteEmbed.js.map +1 -0
- package/lib/Embed/GlossEmbed.js +51 -86
- package/lib/Embed/GlossEmbed.js.map +1 -0
- package/lib/Embed/H5pEmbed.js +37 -66
- package/lib/Embed/H5pEmbed.js.map +1 -0
- package/lib/Embed/IframeEmbed.js +68 -98
- package/lib/Embed/IframeEmbed.js.map +1 -0
- package/lib/Embed/ImageEmbed.js +173 -238
- package/lib/Embed/ImageEmbed.js.map +1 -0
- package/lib/Embed/InlineTriggerButton.js +23 -40
- package/lib/Embed/InlineTriggerButton.js.map +1 -0
- package/lib/Embed/RelatedContentEmbed.js +37 -59
- package/lib/Embed/RelatedContentEmbed.js.map +1 -0
- package/lib/Embed/UnknownEmbed.js +19 -35
- package/lib/Embed/UnknownEmbed.js.map +1 -0
- package/lib/Embed/UuDisclaimerEmbed.js +53 -92
- package/lib/Embed/UuDisclaimerEmbed.js.map +1 -0
- package/lib/ErrorMessage/ErrorMessage.js +53 -99
- package/lib/ErrorMessage/ErrorMessage.js.map +1 -0
- package/lib/ErrorMessage/index.js +7 -15
- package/lib/ErrorMessage/index.js.map +1 -0
- package/lib/FactBox/FactBox.js +118 -180
- package/lib/FactBox/FactBox.js.map +1 -0
- package/lib/FactBox/index.js +7 -15
- package/lib/FactBox/index.js.map +1 -0
- package/lib/FileList/File.js +75 -105
- package/lib/FileList/File.js.map +1 -0
- package/lib/FileList/FileList.js +33 -52
- package/lib/FileList/FileList.js.map +1 -0
- package/lib/FileList/PdfFile.js +27 -55
- package/lib/FileList/PdfFile.js.map +1 -0
- package/lib/Gloss/Gloss.js +138 -176
- package/lib/Gloss/Gloss.js.map +1 -0
- package/lib/Gloss/GlossExample.js +45 -68
- package/lib/Gloss/GlossExample.js.map +1 -0
- package/lib/Grid/Grid.js +64 -98
- package/lib/Grid/Grid.js.map +1 -0
- package/lib/Grid/GridParallaxItem.js +19 -36
- package/lib/Grid/GridParallaxItem.js.map +1 -0
- package/lib/KeyFigure/KeyFigure.js +45 -68
- package/lib/KeyFigure/KeyFigure.js.map +1 -0
- package/lib/LicenseByline/EmbedByline.js +130 -216
- package/lib/LicenseByline/EmbedByline.js.map +1 -0
- package/lib/LicenseByline/LicenseLink.js +29 -59
- package/lib/LicenseByline/LicenseLink.js.map +1 -0
- package/lib/LinkBlock/LinkBlock.js +73 -108
- package/lib/LinkBlock/LinkBlock.js.map +1 -0
- package/lib/LinkBlock/LinkBlockSection.js +22 -39
- package/lib/LinkBlock/LinkBlockSection.js.map +1 -0
- package/lib/Pitch/Pitch.js +61 -89
- package/lib/Pitch/Pitch.js.map +1 -0
- package/lib/RelatedArticleList/RelatedArticleList.js +96 -140
- package/lib/RelatedArticleList/RelatedArticleList.js.map +1 -0
- package/lib/RelatedArticleList/index.js +7 -20
- package/lib/RelatedArticleList/index.js.map +1 -0
- package/lib/ResourceBox/ResourceBox.js +73 -104
- package/lib/ResourceBox/ResourceBox.js.map +1 -0
- package/lib/TagSelector/TagSelector.js +103 -145
- package/lib/TagSelector/TagSelector.js.map +1 -0
- package/lib/ZendeskButton/ZendeskButton.js +39 -58
- package/lib/ZendeskButton/ZendeskButton.js.map +1 -0
- package/lib/_virtual/rolldown_runtime.js +42 -0
- package/lib/i18n/formatNestedMessages.js +16 -30
- package/lib/i18n/formatNestedMessages.js.map +1 -0
- package/lib/i18n/i18n.js +28 -38
- package/lib/i18n/i18n.js.map +1 -0
- package/lib/i18n/useComponentTranslations.js +154 -215
- package/lib/i18n/useComponentTranslations.js.map +1 -0
- package/lib/index.js +156 -598
- package/lib/locale/messages-en.js +436 -466
- package/lib/locale/messages-en.js.map +1 -0
- package/lib/locale/messages-nb.js +436 -466
- package/lib/locale/messages-nb.js.map +1 -0
- package/lib/locale/messages-nn.js +436 -466
- package/lib/locale/messages-nn.js.map +1 -0
- package/lib/locale/messages-se.js +436 -466
- package/lib/locale/messages-se.js.map +1 -0
- package/lib/model/ContentType.js +90 -70
- package/lib/model/ContentType.js.map +1 -0
- package/lib/model/SubjectCategories.js +26 -14
- package/lib/model/SubjectCategories.js.map +1 -0
- package/lib/model/SubjectTypes.js +24 -13
- package/lib/model/SubjectTypes.js.map +1 -0
- package/lib/model/WordClass.js +55 -48
- package/lib/model/WordClass.js.map +1 -0
- package/lib/model/index.js +16 -25
- package/lib/model/index.js.map +1 -0
- package/lib/utils/licenseAttributes.js +14 -22
- package/lib/utils/licenseAttributes.js.map +1 -0
- package/lib/utils/relativeUrl.js +20 -38
- package/lib/utils/relativeUrl.js.map +1 -0
- package/package.json +12 -11
- package/es/Article/index.js +0 -11
- package/es/CampaignBlock/index.js +0 -9
- package/es/CodeBlock/index.js +0 -10
- package/es/ContactBlock/index.js +0 -9
- package/es/ContentTypeHero/index.js +0 -9
- package/es/Embed/index.js +0 -25
- package/es/Embed/types.js +0 -1
- package/es/FileList/index.js +0 -11
- package/es/Gloss/index.js +0 -10
- package/es/Grid/index.js +0 -10
- package/es/KeyFigure/index.js +0 -9
- package/es/LicenseByline/index.js +0 -10
- package/es/LinkBlock/index.js +0 -10
- package/es/Pitch/index.js +0 -9
- package/es/ResourceBox/index.js +0 -10
- package/es/i18n/index.js +0 -11
- package/es/types.js +0 -1
- package/lib/Article/index.js +0 -68
- package/lib/CampaignBlock/index.js +0 -13
- package/lib/CodeBlock/index.js +0 -20
- package/lib/ContactBlock/index.js +0 -18
- package/lib/ContentTypeHero/index.js +0 -12
- package/lib/Embed/index.js +0 -150
- package/lib/Embed/types.js +0 -5
- package/lib/FileList/index.js +0 -44
- package/lib/Gloss/index.js +0 -20
- package/lib/Grid/index.js +0 -19
- package/lib/KeyFigure/index.js +0 -13
- package/lib/LicenseByline/index.js +0 -19
- package/lib/LinkBlock/index.js +0 -20
- package/lib/Pitch/index.js +0 -12
- package/lib/ResourceBox/index.js +0 -13
- package/lib/i18n/index.js +0 -68
- package/lib/types.js +0 -5
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"messages-se.js","names":["constants"],"sources":["../../src/locale/messages-se.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 ...contributorTypes.se,\n askNDLA: \"Jeara NDLA:s\",\n subjectCategories: {\n [subjectCategories.ACTIVE_SUBJECTS]: \"Doaimmas\",\n [subjectCategories.ARCHIVE_SUBJECTS]: \"Ii doaimmas šat\",\n [subjectCategories.BETA_SUBJECTS]: \"Boahttevaš\",\n [subjectCategories.OTHER]: \"Eará resurssat\",\n [subjectTypes.RESOURCE_COLLECTION]: \"Resursačoakkáldat\",\n },\n subjectTypes: {\n [subjectTypes.BETA_SUBJECT]: \"Betafága\",\n [subjectTypes.RESOURCE_COLLECTION]: \"Resursačoakkáldat\",\n [subjectTypes.SUBJECT]: \"Fága\",\n },\n meta: {\n description:\n \"Kvalitehta sihkarasttojuvvon ja nuvttá olamuttos neahttavuđot oahpponeavvut joatkkaskuvlla oahpahussii\",\n keywords: \"oahpponeavvu, fága, skuvla, joatkka, fidnohárjehalli, pensuma, fágaávnnas\",\n },\n logo: {\n altText: \"Našunála digitála oahppanarena\",\n },\n article: {\n lastUpdated: \"Maŋemusat ođastuvvon\",\n useContent: \"Čujuhit vai ođđasit atnit?\",\n authorsLabel: \"Dán lea/leat čállán {{names}}\",\n authorsLabelLearningpath: \"Laget av {{names}}\",\n copyPageLinkCopied: \"Liŋka máŋgejuvvon\",\n copyHeaderLink: \"Máŋge liŋka bajilčállagii\",\n conjunction: \"ja\",\n authorsLabelExternal: \"Denne lenken er lagt til av {{names}}\",\n supplierLabel: \"Vuoigatvuođaguoddi: {{name}}\",\n multipleSuppliersLabel: \"Vuoigatvuođaguoddit: {{names}}\",\n printPage: \"Čálit teavstta\",\n access: {\n onlyTeacher: \"Dát resursa lea dušše olamuttus oahpaheddjiide geat leat Feide bokte sisaloggejuvvon.\",\n },\n footnotes: \"Fotnotar\",\n },\n license: {\n copyTitle: \"Máŋge gáldooainnu\",\n hasCopiedTitle: \"Máŋgejuvvon!\",\n embed: \"Hukse sisa\",\n embedCopied: \"Máŋgejuvvon sisahuksenkoda!\",\n copyText: {\n now: \"dál\",\n podcast: \"podkásta\",\n by: \"geas\",\n internet: \"[Interneahtta]. \",\n noTitle: \"Tihttela haga\",\n downloadedFrom: \"Gos vižžojuvvon: \",\n readDate: \"Lohkan: \",\n },\n download: \"Viečča\",\n openLink: \"Raba ođđa gilkoris\",\n tabs: {\n text: \"Teaksta\",\n images: \"Govat\",\n audio: \"Jietna\",\n video: \"Video\",\n h5p: \"H5P\",\n files: \"Fiillat\",\n embedlink: \"Sisahuksenliŋka\",\n concept: \"Čilgehusat\",\n gloss: \"Gloser\",\n podcast: \"Podkásta\",\n other: \"Eará sisdoallu\",\n },\n embedlink: {\n heading: \"Ná čájehat artihkkala eará sisdoalus\",\n description: \"Dát liŋka čájeha artihkkala konteavstta haga (fállu ja vuolleteaksta)\",\n copyTitle: \"Máŋge liŋkka\",\n hasCopiedTitle: \"Liŋka máŋgejuvvon\",\n },\n image: {\n rules: \"Njuolggadusat gova geavaheapmái:\",\n },\n images: {\n heading: \"Ná geavahat govaid ođđasit\",\n description: \"Muitte máŋget teavstta mii galgá mielddusin govvii go geavahat dan.\",\n rules: \"Njuolggadusat gova geavaheapmái\",\n itemImage: {\n ariaLabel: \"Raba gova ođđa siiddus\",\n zoomImageButtonLabel: \"Stuorit gova\",\n zoomOutImageButtonLabel: \"Unnit gova\",\n expandByline: \"Čájet byline\",\n minimizeByline: \"Čiega byline\",\n },\n licenseText: \"Dán govas lea liseansa\",\n restrictedUseText: \"Dán govas lea\",\n },\n text: {\n heading: \"Ná geavahat teavstta ođđasit\",\n description: \"Muitte čujuhit gáldui go nuppi teavstta anát.\",\n rules: \"Njuolggadusat teavstta geavaheapmái\",\n published: \"Almmuhanbeaivi\",\n licenseText: \"Dán teavsttas lea liseansa\",\n restrictedUseText: \"Dán teavsttas lea\",\n },\n audio: {\n heading: \"Ná geavahat jietnafiilla ođđasit\",\n description: \"Muitte máŋget teavstta mii galgá čuovvut jietnafiilla doppe gos geavahuvvo.\",\n rules: \"Njuolggadusat jietnafiilla geavaheapmái\",\n licenseText: \"Dán jietnafiillas lea liseansa\",\n restrictedUseText: \"Dán jietnafiillas lea\",\n },\n podcast: {\n heading: \"Ná geavahat podkásta ođđasit\",\n description: \"Muitte máŋget teavstta mii galgá čuovvut podkásta doppe gos geavahuvvo.\",\n rules: \"Njuolggadusat podkásta geavaheapmái\",\n licenseText: \"Dán podkasttas lea liseansa\",\n restrictedUseText: \"Dán podkasttas lea\",\n },\n video: {\n heading: \"Ná geavahat video ođđasit\",\n description: \"Muitte máŋget teavstta mii galgá čuovvut video doppe gos dat geavahuvvo.\",\n rules: \"Njuolggadusat video geavaheapmái\",\n itemImage: {\n ariaLabel: \"Raba video ođđa siiddus\",\n },\n licenseText: \"Dán videoi lea liseansa\",\n restrictedUseText: \"Dán videoi lea\",\n },\n other: {\n heading: \"Ná geavahat eará sisdoalu ođđasit\",\n description: \"Njuolggadusaid sisdoalu geavaheapmái gávnnat sisdoalloelemeanttas\",\n itemImage: {\n ariaLabel: \"Raba ođđa siiddus\",\n },\n },\n h5p: {\n heading: \"Ná geavahat H5P-sisdoalu ođđasit\",\n description: \"Njuolggadusaid sisdoalu geavaheapmái gávnnat H5P-elemeanttas\",\n rules: \"Njuolggadusat H5P geavaheapmái\",\n licenseText: \"Dát interaktiiva bargu (H5P) lea ožžon liseanssa\",\n restrictedUseText: \"Dát interaktiiva bargu (H5P) lea ožžon\",\n },\n concept: {\n heading: \"Ná geavahat čilgehusaid ođđasit\",\n description: \"Husk at innebygd innhald i ei forklaring kan ha ein anna lisens enn sjølve forklaringsteksten\",\n rules: \"Njuolggadusat čilgehusa geavaheapmái\",\n embedlink: {\n heading: \"Ná čájehat čilgehusa eará sisdoalus\",\n description: \"Dát liŋka čájeha čilgehusa konteavstta haga (fállu ja vuolleteaksta)\",\n copyTitle: \"Máŋge sisahuksenliŋkka\",\n hasCopiedTitle: \"Sisahuksenliŋka máŋgejuvvon\",\n },\n licenseText: \"Dán čilgehusas lea liseansa\",\n restrictedUseText: \"Dán čilgehusas lea\",\n },\n gloss: {\n heading: \"Movt geavahit ođđasit dajaldagaid\",\n description:\n \"Muitte ahte sisdoalus mii lea vuojuhuvvon ovtta gihppagii sáhttá leat eará liseansa go dušše jietnadat.\",\n rules: \"Glossa geavaheami njuolggadusat\",\n showOrHideExamples: \"Čájet dahje čiega ovdamearkkaid\",\n embedlink: {\n heading: \"Čájet jietnadaga eará sisdoaluin\",\n description: \"Dát liŋka čájeha teavstta konteavstta haga (fállu ja juolgeteaksta)\",\n copyTitle: \"Máŋge sisačálihanliŋkka\",\n hasCopiedTitle: \"Sajáiduhttinliŋka mángejuvvon\",\n },\n licenseText: \"Dán jietnadagas lea liseansa\",\n restrictedUseText: \"Dán jietnadagas lea\",\n },\n files: {\n heading: \"Ná geavahat fiillaid ođđasit\",\n description: \"Muitte máŋget teavsttaid mat galget čuovvut fiillaid doppe gos dat geavahuvvet.\",\n rules: \"Njuolggadusat fiilla geavaheapmái\",\n itemImage: {\n ariaLabel: \"Raba ođđa siiddus\",\n },\n },\n processed: \"Sisdoallu lea rievdaduvvon.\",\n },\n errorMessage: {\n title: \"Ops, juoga manai boastut\",\n description: \"Šállošit, boasttuvuohta čuožžilii.\",\n back: \"Mana ruovttoluotta\",\n goToFrontPage: \"Mana ovdasiidui\",\n },\n figure: {\n button: {\n alternative: \"Lonut siidui mas dulkojuvvo oaidninváttuid ektui\",\n original: \"Lonut orginála videoi\",\n },\n },\n contentTypes: {\n all: \"Buot\",\n article: \"Artikkel\",\n subject: \"Fága\",\n \"topic-article\": \"Fáddá\",\n learningpath: \"Oahppanbálggis\",\n \"learning-path\": \"Oahppanbálggis\",\n \"subject-material\": \"Fágaávdnasat\",\n \"tasks-and-activities\": \"Bihtát ja doaimmat\",\n \"source-material\": \"Gáldomateriála\",\n \"assessment-resources\": \"Árvoštallanresursa\",\n topic: \"Fáddá\",\n multidisciplinary: \"Fágaidrasttideaddji fáddá\",\n image: \"Govva\",\n concept: \"Čilgehus\",\n audio: \"Jietna\",\n podcast: \"Podkásta\",\n h5p: \"H5P\",\n video: \"Video\",\n missing: \"Ukjent\",\n external: \"Ekstern\",\n gloss: \"Glose\",\n programme: \"Programfag\",\n \"podcast-series\": \"Podkast-serie\",\n \"frontpage-article\": \"Om NDLA-artikkel\",\n },\n languages: {\n nb: \"Girjedárogiella\",\n nn: \"Ođđadárogiella\",\n en: \"Eŋgelasgiella\",\n fr: \"Fránskkagiella\",\n de: \"Duiskkagiella\",\n se: \"Davvisámegiella\",\n sma: \"Máttasámegiella\",\n es: \"Espánnjagiella\",\n zh: \"Kiinnágiella\",\n ukr: \"Ukrainsk\",\n unknown: \"Amas\",\n prefixChangeLanguage: \"Vállje giela\",\n },\n breadcrumb: {\n toFrontpage: \"NDLA ovdasiidu\",\n breadcrumb: \"Láibemoallobálggis\",\n },\n codeBlock: {\n copiedCode: \"Koda lea máŋgejuvvon vuorkátávvalii\",\n copyCode: \"Máŋge koda vuorkátávvalii\",\n },\n close: \"Govčča\",\n loading: \"Viežžá\",\n title: \"Tihttel\",\n cancel: \"Botkke\",\n save: \"Vurke\",\n email: \"E-boasta\",\n finished: \"Ferdig\",\n audio: {\n play: \"Čuojat\",\n pause: \"Boatkke\",\n progressBar: \"Fremdriftsindikator\",\n valueText: \"{{start}} av {{end}}\",\n controls: {\n forward15sec: \"Sirdde 15 sekundda ovddas\",\n rewind15sec: \"Sirdde 15 sekundda maŋos\",\n selectSpeed: \"Vállje čuojahanleahtu\",\n adjustVolume: \"Rievdat voluma\",\n },\n textVersion: {\n heading: \"Teakstavearšuvdna\",\n close: \"Govčča teakstavearšuvnna\",\n },\n readMoreDescriptionLabel: \"Čájet eanet\",\n readLessDescriptionLabel: \"Čájet unnit\",\n },\n source: \"Gáldu\",\n related: {\n title: \"Guoskevaš sisdoallu\",\n linkInfo: \"Neahttasiidu čuovvuvaččas\",\n showMore: \"Čájet eanet guoskevaš sisdoalu\",\n showLess: \"Čájet unnit\",\n },\n download: \"Viečča fiilla: \",\n factbox: {\n open: \"Raba fáktádoasa\",\n close: \"Govčča fáktádoasa\",\n },\n embed: {\n linkError: \"Ii sáhttán čájehit liŋkka.\",\n unsupported: `Embed {{type}} ii dorjojuvvo.`,\n embedError: `Šattai meattáhus {{type}} vieččadettiin. Geahččal viežžat siiddu ođđasit.`,\n type: {\n image: \"Govva\",\n video: \"Video\",\n audio: \"Jietna\",\n podcast: \"Podkast\",\n concept: \"Čilgehus\",\n h5p: \"H5P\",\n external: \"Olgguldas resursa\",\n gloss: \"Glose\",\n copyright: \"Tekst\",\n code: \"Kodeblokk\",\n disclaimer: \"UU-advarsel\",\n },\n },\n uuDisclaimer: { title: \"Tilgjengelighet\" },\n gloss: {\n examples: \"Ovdamearkkat\",\n showExamples: \"Vis eksempler\",\n wordClass: \"Sátneluohkká\",\n play: \"Čuojat glose\",\n transcriptions: {\n traditional: \"Árbevirolaš čállinvuohki\",\n pinyin: \"Pinyin\",\n },\n },\n wordClass: {\n [wordClass.wordClass.adjective]: \"Adjektiivvat\",\n [wordClass.wordClass.adverb]: \"Advearba\",\n [wordClass.wordClass.properNoun]: \"Iežas namma\",\n [wordClass.wordClass.auxiliary]: \"Veahkkesánit\",\n [wordClass.wordClass.complement]: \"Dievasmahttin\",\n [wordClass.wordClass.conjunction]: \"Konjunksjon\",\n [wordClass.wordClass.coverb]: \"Koverb\",\n [wordClass.wordClass.determiner]: \"Mearrádussánit\",\n [wordClass.wordClass.interjection]: \"Ovttastuvvon\",\n [wordClass.wordClass.quantifier]: \"Kvantor\",\n [wordClass.wordClass.marker]: \"Sieván\",\n [wordClass.wordClass.modalVerb]: \"Modálavearba\",\n [wordClass.wordClass.measureWord]: \"Olahussátni\",\n [wordClass.wordClass.noun]: \"Substantiivvat\",\n [wordClass.wordClass[\"noun-zh\"]]: \"Nome\",\n [wordClass.wordClass.nounPhrase]: \"Nomengihppu\",\n [wordClass.wordClass.onomatopoeia]: \"Onomatopoetikon\",\n [wordClass.wordClass.particle]: \"Partihkkalat\",\n [wordClass.wordClass.demonstrative]: \"Čujuhusat\",\n [wordClass.wordClass.personalPronoun]: \"Persovnnalaš pronomen\",\n [wordClass.wordClass.preposition]: \"Preposišuvdna\",\n [wordClass.wordClass.pronoun]: \"Pronomen\",\n [wordClass.wordClass.questionWord]: \"Jearaldatsánit\",\n [wordClass.wordClass.locationWord]: \"Báikesánit\",\n [wordClass.wordClass.suffix]: \"Suffivssat\",\n [wordClass.wordClass.numeral]: \"Lohkosánit\",\n [wordClass.wordClass.timeWord]: \"Áigebágo\",\n [wordClass.wordClass.timeExpression]: \"Áigemearka\",\n [wordClass.wordClass.stativeVerb]: \"Dili-vearbba\",\n [wordClass.wordClass.subordinatingConjunction]: \"Subjunkšuvdna\",\n [wordClass.wordClass.exclamationWord]: \"Ii-rohkossátni\",\n [wordClass.wordClass.expression]: \"Ovdanbuktin\",\n [wordClass.wordClass.verb]: \"Vearbbat\",\n [wordClass.wordClass.verbComplement]: \"Vearbasuorggideapmi\",\n [wordClass.wordClass.verbObject]: \"Vearbaobjeakta\",\n },\n login: \"Čálit sisa\",\n component: {\n tagsInput: {\n clearTriggerLabel: \"Fjern alle emneknagger\",\n deleteTagTriggerLabel: \"Fjern emneknagg {{tag}}\",\n tagAdded: \"Emneknagg {{tag}} lagt til\",\n tagsPasted: \"Limte inn {{length}} emneknagger\",\n tagEdited: \"Redigerer emneknagg {{tag}}. Trykk enter for å lagre, eller esc for å avbryte.\",\n tagUpdated: \"Emneknagg oppdatert til {{tag}}\",\n tagDeleted: \"Emneknagg {{tag}} slettet\",\n tagSelected: \"Emneknagg {{tag}} valgt. Trykk enter for å redigere. Trykk backspace eller delete for å slette\",\n },\n combobox: {\n triggerLabel: \"Vis resultater\",\n clearTriggerLabel: \"Fjern valg\",\n },\n pagination: {\n rootLabel: \"Sidenavigering\",\n prevTriggerLabel: \"Forrige side\",\n nextTriggerLabel: \"Neste side\",\n lastPage: \"Siste side, side {{page}}\",\n page: \"Side {{page}}\",\n },\n imageSearch: {\n searchPlaceholder: \"Søk i bilder\",\n searchButtonTitle: \"Søk\",\n imagePreview: {\n creatorsLabel: \"Bilde\",\n license: \"Lisens\",\n caption: \"Bildetekst\",\n altText: \"Alt-tekst\",\n modelRelease: \"Modellklarert\",\n tags: \"Emneknagger\",\n checkboxLabel: \"Sett som metabilde\",\n close: \"Lukk\",\n useImageTitle: \"Bruk bildet\",\n },\n },\n audioSearch: {\n searchPlaceholder: \"Søk i lydfiler\",\n searchButtonTitle: \"Søk\",\n useAudio: \"Velg lyd\",\n noResults: \"Ingen resultater funnet\",\n },\n videoSearch: {\n searchPlaceholder: \"Søk i videoar\",\n searchButtonTitle: \"Søk\",\n loadMoreVideos: \"Last fleire videoar\",\n noResults: \"Ingen videoar funnet\",\n addVideo: \"Bruk video\",\n previewVideo: \"Forhåndsvis\",\n is360Video: \"VR-video\",\n close: \"Lukk\",\n },\n datePicker: {\n dayCell: {\n unavailable: \"Ikke tilgjengelig dato. {{date}}\",\n selected: \"Valgt dato. {{date}}\",\n select: \"Velg dato. {{date}}\",\n },\n nextTrigger: {\n day: \"Gå til neste måned\",\n month: \"Gå til neste år\",\n year: \"Gå til neste tiår\",\n },\n prevTrigger: {\n day: \"Gå til forrige måned\",\n month: \"Gå til forrige år\",\n year: \"Gå til forrige tiår\",\n },\n monthSelect: \"Velg måned\",\n yearSelect: \"Velg år\",\n viewTrigger: {\n day: \"Bytt til dagvisning\",\n month: \"Bytt til månedvisning\",\n year: \"Bytt til årvisning\",\n },\n presetTrigger: {\n single: \"Velg {{date}}\",\n range: \"Velg fra {{start}} til {{end}}\",\n },\n clearTrigger: \"Fjern valgte datoer\",\n trigger: {\n open: \"Åpne datovelger\",\n close: \"Lukk datovelger\",\n },\n content: \"Kalender\",\n },\n },\n richTextEditor: {\n tooltip: {\n bold: \"Fet ({{shortcut}})\",\n code: \"Kode ({{shortcut}})\",\n sub: \"Senket skrift ({{shortcut}})\",\n sup: \"Hevet skrift ({{shortcut}})\",\n underlined: \"Understreket ({{shortcut}})\",\n italic: \"Kursiv ({{shortcut}})\",\n \"numbered-list\": \"Nummerert liste ({{shortcut}})\",\n \"letter-list\": \"Bokstavliste ({{shortcut}})\",\n \"bulleted-list\": \"Punktliste ({{shortcut}})\",\n heading: \"Overskrift {{level}} ({{shortcut}})\",\n paragraph: \"Paragraf ({{shortcut}})\",\n section: \"Seksjon ({{shortcut}})\",\n link: \"Lenke ({{shortcut}})\",\n },\n },\n};\n\nexport default messages;\n"],"mappings":"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"}
|
package/es/model/ContentType.js
CHANGED
|
@@ -1,68 +1,72 @@
|
|
|
1
|
+
//#region src/model/ContentType.ts
|
|
1
2
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
3
|
+
* Copyright (c) 2017-present, NDLA.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the GPLv3 license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
const SUBJECT_MATERIAL = "subject-material";
|
|
10
|
+
const TASKS_AND_ACTIVITIES = "tasks-and-activities";
|
|
11
|
+
const ASSESSMENT_RESOURCES = "assessment-resources";
|
|
12
|
+
const SUBJECT = "subject";
|
|
13
|
+
const SOURCE_MATERIAL = "source-material";
|
|
14
|
+
const LEARNING_PATH = "learning-path";
|
|
15
|
+
const TOPIC = "topic";
|
|
16
|
+
const MULTIDISCIPLINARY = "multidisciplinary";
|
|
17
|
+
const CONCEPT = "concept";
|
|
18
|
+
const EXTERNAL = "external";
|
|
19
|
+
const MISSING = "missing";
|
|
20
|
+
const IMAGE = "image";
|
|
21
|
+
const VIDEO = "video";
|
|
22
|
+
const AUDIO = "audio";
|
|
23
|
+
const PODCAST = "podcast";
|
|
24
|
+
const GLOSS = "gloss";
|
|
25
|
+
const PROGRAMME = "programme";
|
|
26
|
+
const PODCAST_SERIES = "podcast-series";
|
|
27
|
+
const FRONTPAGE_ARTICLE = "frontpage-article";
|
|
28
|
+
const contentTypes = {
|
|
29
|
+
SUBJECT_MATERIAL,
|
|
30
|
+
TASKS_AND_ACTIVITIES,
|
|
31
|
+
ASSESSMENT_RESOURCES,
|
|
32
|
+
SUBJECT,
|
|
33
|
+
SOURCE_MATERIAL,
|
|
34
|
+
LEARNING_PATH,
|
|
35
|
+
TOPIC,
|
|
36
|
+
MULTIDISCIPLINARY,
|
|
37
|
+
CONCEPT,
|
|
38
|
+
EXTERNAL,
|
|
39
|
+
MISSING,
|
|
40
|
+
PROGRAMME,
|
|
41
|
+
PODCAST_SERIES
|
|
42
|
+
};
|
|
43
|
+
const RESOURCE_TYPE_LEARNING_PATH = "urn:resourcetype:learningPath";
|
|
44
|
+
const RESOURCE_TYPE_SUBJECT_MATERIAL = "urn:resourcetype:subjectMaterial";
|
|
45
|
+
const RESOURCE_TYPE_TASKS_AND_ACTIVITIES = "urn:resourcetype:tasksAndActivities";
|
|
46
|
+
const RESOURCE_TYPE_ASSESSMENT_RESOURCES = "urn:resourcetype:reviewResource";
|
|
47
|
+
const RESOURCE_TYPE_SOURCE_MATERIAL = "urn:resourcetype:SourceMaterial";
|
|
48
|
+
const RESOURCE_TYPE_CONCEPT = "urn:resourcetype:concept";
|
|
49
|
+
const contentTypeMapping = {
|
|
50
|
+
[RESOURCE_TYPE_LEARNING_PATH]: LEARNING_PATH,
|
|
51
|
+
[RESOURCE_TYPE_SUBJECT_MATERIAL]: SUBJECT_MATERIAL,
|
|
52
|
+
[RESOURCE_TYPE_TASKS_AND_ACTIVITIES]: TASKS_AND_ACTIVITIES,
|
|
53
|
+
[RESOURCE_TYPE_ASSESSMENT_RESOURCES]: ASSESSMENT_RESOURCES,
|
|
54
|
+
[RESOURCE_TYPE_SOURCE_MATERIAL]: SOURCE_MATERIAL,
|
|
55
|
+
[RESOURCE_TYPE_CONCEPT]: CONCEPT,
|
|
56
|
+
[MULTIDISCIPLINARY]: MULTIDISCIPLINARY,
|
|
57
|
+
[TOPIC]: TOPIC,
|
|
58
|
+
[FRONTPAGE_ARTICLE]: FRONTPAGE_ARTICLE,
|
|
59
|
+
default: SUBJECT_MATERIAL
|
|
42
60
|
};
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
[RESOURCE_TYPE_LEARNING_PATH]: LEARNING_PATH,
|
|
51
|
-
[RESOURCE_TYPE_SUBJECT_MATERIAL]: SUBJECT_MATERIAL,
|
|
52
|
-
[RESOURCE_TYPE_TASKS_AND_ACTIVITIES]: TASKS_AND_ACTIVITIES,
|
|
53
|
-
[RESOURCE_TYPE_ASSESSMENT_RESOURCES]: ASSESSMENT_RESOURCES,
|
|
54
|
-
[RESOURCE_TYPE_SOURCE_MATERIAL]: SOURCE_MATERIAL,
|
|
55
|
-
[RESOURCE_TYPE_CONCEPT]: CONCEPT,
|
|
56
|
-
[MULTIDISCIPLINARY]: MULTIDISCIPLINARY,
|
|
57
|
-
[TOPIC]: TOPIC,
|
|
58
|
-
[FRONTPAGE_ARTICLE]: FRONTPAGE_ARTICLE,
|
|
59
|
-
default: SUBJECT_MATERIAL
|
|
61
|
+
const resourceEmbedTypeMapping = {
|
|
62
|
+
image: "image",
|
|
63
|
+
video: "video",
|
|
64
|
+
concept: "concept",
|
|
65
|
+
audio: "audio",
|
|
66
|
+
podcast: "podcast",
|
|
67
|
+
gloss: "gloss"
|
|
60
68
|
};
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
audio: "audio",
|
|
66
|
-
podcast: "podcast",
|
|
67
|
-
gloss: "gloss"
|
|
68
|
-
};
|
|
69
|
+
|
|
70
|
+
//#endregion
|
|
71
|
+
export { ASSESSMENT_RESOURCES, AUDIO, CONCEPT, EXTERNAL, FRONTPAGE_ARTICLE, GLOSS, IMAGE, LEARNING_PATH, MISSING, MULTIDISCIPLINARY, PODCAST, PODCAST_SERIES, PROGRAMME, SOURCE_MATERIAL, SUBJECT, SUBJECT_MATERIAL, TASKS_AND_ACTIVITIES, TOPIC, VIDEO, contentTypeMapping, contentTypes, resourceEmbedTypeMapping };
|
|
72
|
+
//# sourceMappingURL=ContentType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentType.js","names":["contentTypeMapping: Record<string, string>","resourceEmbedTypeMapping: Record<string, string>"],"sources":["../../src/model/ContentType.ts"],"sourcesContent":["/**\n * Copyright (c) 2017-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\nexport const SUBJECT_MATERIAL = \"subject-material\";\nexport const TASKS_AND_ACTIVITIES = \"tasks-and-activities\";\nexport const ASSESSMENT_RESOURCES = \"assessment-resources\";\nexport const SUBJECT = \"subject\";\nexport const SOURCE_MATERIAL = \"source-material\";\nexport const LEARNING_PATH = \"learning-path\";\nexport const TOPIC = \"topic\";\nexport const MULTIDISCIPLINARY = \"multidisciplinary\";\nexport const CONCEPT = \"concept\";\nexport const EXTERNAL = \"external\";\nexport const MISSING = \"missing\";\nexport const IMAGE = \"image\";\nexport const VIDEO = \"video\";\nexport const AUDIO = \"audio\";\nexport const PODCAST = \"podcast\";\nexport const GLOSS = \"gloss\";\nexport const PROGRAMME = \"programme\";\nexport const PODCAST_SERIES = \"podcast-series\";\nexport const FRONTPAGE_ARTICLE = \"frontpage-article\";\n\nexport const contentTypes = {\n SUBJECT_MATERIAL,\n TASKS_AND_ACTIVITIES,\n ASSESSMENT_RESOURCES,\n SUBJECT,\n SOURCE_MATERIAL,\n LEARNING_PATH,\n TOPIC,\n MULTIDISCIPLINARY,\n CONCEPT,\n EXTERNAL,\n MISSING,\n PROGRAMME,\n PODCAST_SERIES,\n};\n\nexport const RESOURCE_TYPE_LEARNING_PATH = \"urn:resourcetype:learningPath\";\nexport const RESOURCE_TYPE_SUBJECT_MATERIAL = \"urn:resourcetype:subjectMaterial\";\nexport const RESOURCE_TYPE_TASKS_AND_ACTIVITIES = \"urn:resourcetype:tasksAndActivities\";\nexport const RESOURCE_TYPE_ASSESSMENT_RESOURCES = \"urn:resourcetype:reviewResource\";\nexport const RESOURCE_TYPE_SOURCE_MATERIAL = \"urn:resourcetype:SourceMaterial\";\nexport const RESOURCE_TYPE_CONCEPT = \"urn:resourcetype:concept\";\n\nexport const contentTypeMapping: Record<string, string> = {\n [RESOURCE_TYPE_LEARNING_PATH]: LEARNING_PATH,\n [RESOURCE_TYPE_SUBJECT_MATERIAL]: SUBJECT_MATERIAL,\n [RESOURCE_TYPE_TASKS_AND_ACTIVITIES]: TASKS_AND_ACTIVITIES,\n [RESOURCE_TYPE_ASSESSMENT_RESOURCES]: ASSESSMENT_RESOURCES,\n [RESOURCE_TYPE_SOURCE_MATERIAL]: SOURCE_MATERIAL,\n [RESOURCE_TYPE_CONCEPT]: CONCEPT,\n [MULTIDISCIPLINARY]: MULTIDISCIPLINARY,\n [TOPIC]: TOPIC,\n [FRONTPAGE_ARTICLE]: FRONTPAGE_ARTICLE,\n default: SUBJECT_MATERIAL,\n};\n\nexport const resourceEmbedTypeMapping: Record<string, string> = {\n image: \"image\",\n video: \"video\",\n concept: \"concept\",\n audio: \"audio\",\n podcast: \"podcast\",\n gloss: \"gloss\",\n};\n"],"mappings":";;;;;;;;AAQA,MAAa,mBAAmB;AAChC,MAAa,uBAAuB;AACpC,MAAa,uBAAuB;AACpC,MAAa,UAAU;AACvB,MAAa,kBAAkB;AAC/B,MAAa,gBAAgB;AAC7B,MAAa,QAAQ;AACrB,MAAa,oBAAoB;AACjC,MAAa,UAAU;AACvB,MAAa,WAAW;AACxB,MAAa,UAAU;AACvB,MAAa,QAAQ;AACrB,MAAa,QAAQ;AACrB,MAAa,QAAQ;AACrB,MAAa,UAAU;AACvB,MAAa,QAAQ;AACrB,MAAa,YAAY;AACzB,MAAa,iBAAiB;AAC9B,MAAa,oBAAoB;AAEjC,MAAa,eAAe;CAC1B;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD;AAED,MAAa,8BAA8B;AAC3C,MAAa,iCAAiC;AAC9C,MAAa,qCAAqC;AAClD,MAAa,qCAAqC;AAClD,MAAa,gCAAgC;AAC7C,MAAa,wBAAwB;AAErC,MAAaA,qBAA6C;EACvD,8BAA8B;EAC9B,iCAAiC;EACjC,qCAAqC;EACrC,qCAAqC;EACrC,gCAAgC;EAChC,wBAAwB;EACxB,oBAAoB;EACpB,QAAQ;EACR,oBAAoB;CACrB,SAAS;AACV;AAED,MAAaC,2BAAmD;CAC9D,OAAO;CACP,OAAO;CACP,SAAS;CACT,OAAO;CACP,SAAS;CACT,OAAO;AACR"}
|
|
@@ -1,12 +1,25 @@
|
|
|
1
|
+
import { __export } from "../_virtual/rolldown_runtime.js";
|
|
2
|
+
|
|
3
|
+
//#region src/model/SubjectCategories.ts
|
|
4
|
+
var SubjectCategories_exports = {};
|
|
5
|
+
__export(SubjectCategories_exports, {
|
|
6
|
+
ACTIVE_SUBJECTS: () => ACTIVE_SUBJECTS,
|
|
7
|
+
ARCHIVE_SUBJECTS: () => ARCHIVE_SUBJECTS,
|
|
8
|
+
BETA_SUBJECTS: () => BETA_SUBJECTS,
|
|
9
|
+
OTHER: () => OTHER
|
|
10
|
+
});
|
|
1
11
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
12
|
+
* Copyright (c) 2021-present, NDLA.
|
|
13
|
+
*
|
|
14
|
+
* This source code is licensed under the GPLv3 license found in the
|
|
15
|
+
* LICENSE file in the root directory of this source tree.
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
const ACTIVE_SUBJECTS = "active";
|
|
19
|
+
const ARCHIVE_SUBJECTS = "archive";
|
|
20
|
+
const BETA_SUBJECTS = "beta";
|
|
21
|
+
const OTHER = "otherResources";
|
|
8
22
|
|
|
9
|
-
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
export const OTHER = "otherResources";
|
|
23
|
+
//#endregion
|
|
24
|
+
export { SubjectCategories_exports };
|
|
25
|
+
//# sourceMappingURL=SubjectCategories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubjectCategories.js","names":[],"sources":["../../src/model/SubjectCategories.ts"],"sourcesContent":["/**\n * Copyright (c) 2021-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\nexport const ACTIVE_SUBJECTS = \"active\";\nexport const ARCHIVE_SUBJECTS = \"archive\";\nexport const BETA_SUBJECTS = \"beta\";\nexport const OTHER = \"otherResources\";\n"],"mappings":";;;;;;;;;;;;;;;;;AAQA,MAAa,kBAAkB;AAC/B,MAAa,mBAAmB;AAChC,MAAa,gBAAgB;AAC7B,MAAa,QAAQ"}
|
package/es/model/SubjectTypes.js
CHANGED
|
@@ -1,11 +1,23 @@
|
|
|
1
|
+
import { __export } from "../_virtual/rolldown_runtime.js";
|
|
2
|
+
|
|
3
|
+
//#region src/model/SubjectTypes.ts
|
|
4
|
+
var SubjectTypes_exports = {};
|
|
5
|
+
__export(SubjectTypes_exports, {
|
|
6
|
+
BETA_SUBJECT: () => BETA_SUBJECT,
|
|
7
|
+
RESOURCE_COLLECTION: () => RESOURCE_COLLECTION,
|
|
8
|
+
SUBJECT: () => SUBJECT
|
|
9
|
+
});
|
|
1
10
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
11
|
+
* Copyright (c) 2022-present, NDLA.
|
|
12
|
+
*
|
|
13
|
+
* This source code is licensed under the GPLv3 license found in the
|
|
14
|
+
* LICENSE file in the root directory of this source tree.
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
const BETA_SUBJECT = "betaSubject";
|
|
18
|
+
const SUBJECT = "subject";
|
|
19
|
+
const RESOURCE_COLLECTION = "resourceCollection";
|
|
8
20
|
|
|
9
|
-
|
|
10
|
-
export
|
|
11
|
-
|
|
21
|
+
//#endregion
|
|
22
|
+
export { SubjectTypes_exports };
|
|
23
|
+
//# sourceMappingURL=SubjectTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubjectTypes.js","names":[],"sources":["../../src/model/SubjectTypes.ts"],"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\nexport const BETA_SUBJECT = \"betaSubject\";\nexport const SUBJECT = \"subject\";\nexport const RESOURCE_COLLECTION = \"resourceCollection\";\n"],"mappings":";;;;;;;;;;;;;;;;AAQA,MAAa,eAAe;AAC5B,MAAa,UAAU;AACvB,MAAa,sBAAsB"}
|
package/es/model/WordClass.js
CHANGED
|
@@ -1,45 +1,53 @@
|
|
|
1
|
+
import { __export } from "../_virtual/rolldown_runtime.js";
|
|
2
|
+
|
|
3
|
+
//#region src/model/WordClass.ts
|
|
4
|
+
var WordClass_exports = {};
|
|
5
|
+
__export(WordClass_exports, { wordClass: () => wordClass });
|
|
1
6
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
* Copyright (c) 2023-present, NDLA.
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the GPLv3 license found in the
|
|
10
|
+
* LICENSE file in the root directory of this source tree.
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
const wordClass = {
|
|
14
|
+
adjective: "adjective",
|
|
15
|
+
adverb: "adverb",
|
|
16
|
+
properNoun: "proper-noun",
|
|
17
|
+
auxiliary: "auxiliary",
|
|
18
|
+
complement: "complement",
|
|
19
|
+
conjunction: "conjunction",
|
|
20
|
+
coverb: "coverb",
|
|
21
|
+
determiner: "determiner",
|
|
22
|
+
interjection: "interjection",
|
|
23
|
+
quantifier: "quantifier",
|
|
24
|
+
marker: "marker",
|
|
25
|
+
modalVerb: "modal-verb",
|
|
26
|
+
measureWord: "measure-word",
|
|
27
|
+
noun: "noun",
|
|
28
|
+
"noun-zh": "noun-zh",
|
|
29
|
+
nounPhrase: "noun-phrase",
|
|
30
|
+
onomatopoeia: "onomatopoeia",
|
|
31
|
+
particle: "particle",
|
|
32
|
+
demonstrative: "demonstrative",
|
|
33
|
+
personalPronoun: "personal-pronoun",
|
|
34
|
+
preposition: "preposition",
|
|
35
|
+
pronoun: "pronoun",
|
|
36
|
+
questionWord: "question-word",
|
|
37
|
+
locationWord: "location-word",
|
|
38
|
+
suffix: "suffix",
|
|
39
|
+
numeral: "numeral",
|
|
40
|
+
timeWord: "time word",
|
|
41
|
+
timeExpression: "time-expression",
|
|
42
|
+
stativeVerb: "stative-verb",
|
|
43
|
+
subordinatingConjunction: "subordinating-conjunction",
|
|
44
|
+
exclamationWord: "exclamation-word",
|
|
45
|
+
expression: "expression",
|
|
46
|
+
verb: "verb",
|
|
47
|
+
verbComplement: "verb-complement",
|
|
48
|
+
verbObject: "verb-object"
|
|
49
|
+
};
|
|
8
50
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
properNoun: "proper-noun",
|
|
13
|
-
auxiliary: "auxiliary",
|
|
14
|
-
complement: "complement",
|
|
15
|
-
conjunction: "conjunction",
|
|
16
|
-
coverb: "coverb",
|
|
17
|
-
determiner: "determiner",
|
|
18
|
-
interjection: "interjection",
|
|
19
|
-
quantifier: "quantifier",
|
|
20
|
-
marker: "marker",
|
|
21
|
-
modalVerb: "modal-verb",
|
|
22
|
-
measureWord: "measure-word",
|
|
23
|
-
noun: "noun",
|
|
24
|
-
"noun-zh": "noun-zh",
|
|
25
|
-
nounPhrase: "noun-phrase",
|
|
26
|
-
onomatopoeia: "onomatopoeia",
|
|
27
|
-
particle: "particle",
|
|
28
|
-
demonstrative: "demonstrative",
|
|
29
|
-
personalPronoun: "personal-pronoun",
|
|
30
|
-
preposition: "preposition",
|
|
31
|
-
pronoun: "pronoun",
|
|
32
|
-
questionWord: "question-word",
|
|
33
|
-
locationWord: "location-word",
|
|
34
|
-
suffix: "suffix",
|
|
35
|
-
numeral: "numeral",
|
|
36
|
-
timeWord: "time word",
|
|
37
|
-
timeExpression: "time-expression",
|
|
38
|
-
stativeVerb: "stative-verb",
|
|
39
|
-
subordinatingConjunction: "subordinating-conjunction",
|
|
40
|
-
exclamationWord: "exclamation-word",
|
|
41
|
-
expression: "expression",
|
|
42
|
-
verb: "verb",
|
|
43
|
-
verbComplement: "verb-complement",
|
|
44
|
-
verbObject: "verb-object"
|
|
45
|
-
};
|
|
51
|
+
//#endregion
|
|
52
|
+
export { WordClass_exports };
|
|
53
|
+
//# sourceMappingURL=WordClass.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WordClass.js","names":[],"sources":["../../src/model/WordClass.ts"],"sourcesContent":["/**\n * Copyright (c) 2023-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\nexport const wordClass = {\n adjective: \"adjective\",\n adverb: \"adverb\",\n properNoun: \"proper-noun\",\n auxiliary: \"auxiliary\",\n complement: \"complement\",\n conjunction: \"conjunction\",\n coverb: \"coverb\",\n determiner: \"determiner\",\n interjection: \"interjection\",\n quantifier: \"quantifier\",\n marker: \"marker\",\n modalVerb: \"modal-verb\",\n measureWord: \"measure-word\",\n noun: \"noun\",\n \"noun-zh\": \"noun-zh\",\n nounPhrase: \"noun-phrase\",\n onomatopoeia: \"onomatopoeia\",\n particle: \"particle\",\n demonstrative: \"demonstrative\",\n personalPronoun: \"personal-pronoun\",\n preposition: \"preposition\",\n pronoun: \"pronoun\",\n questionWord: \"question-word\",\n locationWord: \"location-word\",\n suffix: \"suffix\",\n numeral: \"numeral\",\n timeWord: \"time word\",\n timeExpression: \"time-expression\",\n stativeVerb: \"stative-verb\",\n subordinatingConjunction: \"subordinating-conjunction\",\n exclamationWord: \"exclamation-word\",\n expression: \"expression\",\n verb: \"verb\",\n verbComplement: \"verb-complement\",\n verbObject: \"verb-object\",\n};\n"],"mappings":";;;;;;;;;;;;AAQA,MAAa,YAAY;CACvB,WAAW;CACX,QAAQ;CACR,YAAY;CACZ,WAAW;CACX,YAAY;CACZ,aAAa;CACb,QAAQ;CACR,YAAY;CACZ,cAAc;CACd,YAAY;CACZ,QAAQ;CACR,WAAW;CACX,aAAa;CACb,MAAM;CACN,WAAW;CACX,YAAY;CACZ,cAAc;CACd,UAAU;CACV,eAAe;CACf,iBAAiB;CACjB,aAAa;CACb,SAAS;CACT,cAAc;CACd,cAAc;CACd,QAAQ;CACR,SAAS;CACT,UAAU;CACV,gBAAgB;CAChB,aAAa;CACb,0BAA0B;CAC1B,iBAAiB;CACjB,YAAY;CACZ,MAAM;CACN,gBAAgB;CAChB,YAAY;AACb"}
|
package/es/model/index.js
CHANGED
|
@@ -1,21 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*
|
|
7
|
-
*/
|
|
1
|
+
import { contentTypeMapping, contentTypes, resourceEmbedTypeMapping } from "./ContentType.js";
|
|
2
|
+
import { SubjectCategories_exports } from "./SubjectCategories.js";
|
|
3
|
+
import { SubjectTypes_exports } from "./SubjectTypes.js";
|
|
4
|
+
import { WordClass_exports } from "./WordClass.js";
|
|
8
5
|
|
|
9
|
-
|
|
10
|
-
import * as subjectCategories from "./SubjectCategories";
|
|
11
|
-
import * as subjectTypes from "./SubjectTypes";
|
|
12
|
-
import * as wordClass from "./WordClass";
|
|
6
|
+
//#region src/model/index.ts
|
|
13
7
|
const model = {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
8
|
+
contentTypes,
|
|
9
|
+
subjectCategories: SubjectCategories_exports,
|
|
10
|
+
subjectTypes: SubjectTypes_exports,
|
|
11
|
+
contentTypeMapping,
|
|
12
|
+
resourceEmbedTypeMapping,
|
|
13
|
+
wordClass: WordClass_exports
|
|
20
14
|
};
|
|
21
|
-
|
|
15
|
+
var model_default = model;
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
export { model_default };
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/model/index.ts"],"sourcesContent":["/**\n * Copyright (c) 2017-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 { contentTypes, contentTypeMapping, resourceEmbedTypeMapping } from \"./ContentType\";\nimport * as subjectCategories from \"./SubjectCategories\";\nimport * as subjectTypes from \"./SubjectTypes\";\nimport * as wordClass from \"./WordClass\";\n\nconst model = {\n contentTypes,\n subjectCategories,\n subjectTypes,\n contentTypeMapping,\n resourceEmbedTypeMapping,\n wordClass,\n};\n\nexport default model;\n"],"mappings":";;;;;;AAaA,MAAM,QAAQ;CACZ;CACA;CACA;CACA;CACA;CACA;AACD;AAED,oBAAe"}
|
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2024-present, NDLA.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the GPLv3 license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
1
|
import { getLicenseByAbbreviation, isCreativeCommonsLicense } from "@ndla/licenses";
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
};
|
|
2
|
+
|
|
3
|
+
//#region src/utils/licenseAttributes.ts
|
|
4
|
+
const licenseAttributes = (license, lang, url) => {
|
|
5
|
+
const licenseAbbr = getLicenseByAbbreviation(license ? license : "", lang);
|
|
6
|
+
const licenseProps = isCreativeCommonsLicense(licenseAbbr.rights) ? {
|
|
7
|
+
"xmlns:cc": "https://creativecommons.org/ns#",
|
|
8
|
+
"xmlns:dct": "http://purl.org/dc/terms/",
|
|
9
|
+
about: url ?? void 0
|
|
10
|
+
} : {};
|
|
11
|
+
return licenseProps;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
//#endregion
|
|
15
|
+
export { licenseAttributes };
|
|
16
|
+
//# sourceMappingURL=licenseAttributes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"licenseAttributes.js","names":["license: string | undefined","lang: string | undefined","url: string | undefined"],"sources":["../../src/utils/licenseAttributes.ts"],"sourcesContent":["/**\n * Copyright (c) 2024-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 { getLicenseByAbbreviation, isCreativeCommonsLicense } from \"@ndla/licenses\";\n\nexport const licenseAttributes = (license: string | undefined, lang: string | undefined, url: string | undefined) => {\n const licenseAbbr = getLicenseByAbbreviation(license ? license : \"\", lang);\n\n const licenseProps = isCreativeCommonsLicense(licenseAbbr.rights)\n ? {\n \"xmlns:cc\": \"https://creativecommons.org/ns#\",\n \"xmlns:dct\": \"http://purl.org/dc/terms/\",\n about: url ?? undefined,\n }\n : {};\n\n return licenseProps;\n};\n"],"mappings":";;;AAUA,MAAa,oBAAoB,CAACA,SAA6BC,MAA0BC,QAA4B;CACnH,MAAM,cAAc,yBAAyB,UAAU,UAAU,IAAI,KAAK;CAE1E,MAAM,eAAe,yBAAyB,YAAY,OAAO,GAC7D;EACE,YAAY;EACZ,aAAa;EACb,OAAO;CACR,IACD,CAAE;AAEN,QAAO;AACR"}
|
package/es/utils/relativeUrl.js
CHANGED
|
@@ -1,37 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
* Copyright (c) 2023-present, NDLA.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the GPLv3 license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*
|
|
7
|
-
*/
|
|
1
|
+
import { supportedTranslationLanguages } from "../i18n/i18n.js";
|
|
8
2
|
|
|
9
|
-
|
|
3
|
+
//#region src/utils/relativeUrl.ts
|
|
10
4
|
const ENV_REGEX = /(staging|test)\.?/;
|
|
11
5
|
const LANGUAGE_REGEX = new RegExp(`^\\/((?:${supportedTranslationLanguages.join("|")})(?:$|\\/))`, "");
|
|
12
6
|
const NDLA_URL = /(.*\.)?ndla.no.*/;
|
|
13
7
|
const REPLACE_WWW = /^www\./;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
return `${urlObj.pathname}${search}`;
|
|
35
|
-
}
|
|
36
|
-
return url;
|
|
37
|
-
};
|
|
8
|
+
const getPossiblyRelativeUrl = (url, path) => {
|
|
9
|
+
if (!path) return url;
|
|
10
|
+
if (url.startsWith("mailto:")) return url;
|
|
11
|
+
if (!NDLA_URL.test(url) || !NDLA_URL.test(path)) return url;
|
|
12
|
+
const urlObj = new URL(url.replace(ENV_REGEX, ""));
|
|
13
|
+
const pathObj = new URL(path.replace(ENV_REGEX, ""));
|
|
14
|
+
if (urlObj.hostname.replace(REPLACE_WWW, "") === pathObj.hostname.replace(REPLACE_WWW, "")) {
|
|
15
|
+
const search = urlObj.search;
|
|
16
|
+
const urlMatch = urlObj.pathname.match(LANGUAGE_REGEX);
|
|
17
|
+
const pathMatch = pathObj.pathname.match(LANGUAGE_REGEX);
|
|
18
|
+
if (urlMatch?.[1] && urlMatch?.[1] !== pathMatch?.[1]) return `${urlObj.pathname.replace(urlMatch[1], pathMatch?.[1] || "")}${search}`;
|
|
19
|
+
return `${urlObj.pathname}${search}`;
|
|
20
|
+
}
|
|
21
|
+
return url;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
//#endregion
|
|
25
|
+
export { getPossiblyRelativeUrl };
|
|
26
|
+
//# sourceMappingURL=relativeUrl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"relativeUrl.js","names":["url: string","path?: string"],"sources":["../../src/utils/relativeUrl.ts"],"sourcesContent":["/**\n * Copyright (c) 2023-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 { supportedTranslationLanguages } from \"../i18n/i18n\";\n\nconst ENV_REGEX = /(staging|test)\\.?/;\nconst LANGUAGE_REGEX = new RegExp(`^\\\\/((?:${supportedTranslationLanguages.join(\"|\")})(?:$|\\\\/))`, \"\");\n\nconst NDLA_URL = /(.*\\.)?ndla.no.*/;\nconst REPLACE_WWW = /^www\\./;\n\nexport const getPossiblyRelativeUrl = (url: string, path?: string) => {\n if (!path) return url;\n // If url is a mailto link, return url as is.\n if (url.startsWith(\"mailto:\")) return url;\n // If not on NDLA, or if url is not a NDLA url, return url as is\n if (!NDLA_URL.test(url) || !NDLA_URL.test(path)) return url;\n //Remove environment info\n const urlObj = new URL(url.replace(ENV_REGEX, \"\"));\n const pathObj = new URL(path.replace(ENV_REGEX, \"\"));\n // If the host is the same, return the relative path\n if (urlObj.hostname.replace(REPLACE_WWW, \"\") === pathObj.hostname.replace(REPLACE_WWW, \"\")) {\n // Replace the language part of the url with the language part of the path\n // Keep the search params if they exist\n const search = urlObj.search;\n // If the path language part does not exist, remove it.\n const urlMatch = urlObj.pathname.match(LANGUAGE_REGEX);\n const pathMatch = pathObj.pathname.match(LANGUAGE_REGEX);\n if (urlMatch?.[1] && urlMatch?.[1] !== pathMatch?.[1]) {\n return `${urlObj.pathname.replace(urlMatch[1], pathMatch?.[1] || \"\")}${search}`;\n }\n\n return `${urlObj.pathname}${search}`;\n }\n return url;\n};\n"],"mappings":";;;AAUA,MAAM,YAAY;AAClB,MAAM,iBAAiB,IAAI,QAAQ,UAAU,8BAA8B,KAAK,IAAI,CAAC,cAAc;AAEnG,MAAM,WAAW;AACjB,MAAM,cAAc;AAEpB,MAAa,yBAAyB,CAACA,KAAaC,SAAkB;AACpE,MAAK,KAAM,QAAO;AAElB,KAAI,IAAI,WAAW,UAAU,CAAE,QAAO;AAEtC,MAAK,SAAS,KAAK,IAAI,KAAK,SAAS,KAAK,KAAK,CAAE,QAAO;CAExD,MAAM,SAAS,IAAI,IAAI,IAAI,QAAQ,WAAW,GAAG;CACjD,MAAM,UAAU,IAAI,IAAI,KAAK,QAAQ,WAAW,GAAG;AAEnD,KAAI,OAAO,SAAS,QAAQ,aAAa,GAAG,KAAK,QAAQ,SAAS,QAAQ,aAAa,GAAG,EAAE;EAG1F,MAAM,SAAS,OAAO;EAEtB,MAAM,WAAW,OAAO,SAAS,MAAM,eAAe;EACtD,MAAM,YAAY,QAAQ,SAAS,MAAM,eAAe;AACxD,MAAI,WAAW,MAAM,WAAW,OAAO,YAAY,GACjD,SAAQ,EAAE,OAAO,SAAS,QAAQ,SAAS,IAAI,YAAY,MAAM,GAAG,CAAC,EAAE,OAAO;AAGhF,UAAQ,EAAE,OAAO,SAAS,EAAE,OAAO;CACpC;AACD,QAAO;AACR"}
|