@ndla/ui 35.0.26 → 35.0.28
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/Animation/DisplayOnPageYOffset.js +4 -2
- package/es/Article/Article.js +5 -3
- package/es/Article/ArticleContent.js +4 -1
- package/es/Article/ArticleHeaderWrapper.js +6 -3
- package/es/Aside/Aside.js +4 -1
- package/es/AudioPlayer/AudioPlayer.js +2 -2
- package/es/AudioPlayer/Controls.js +2 -2
- package/es/Breadcrumb/Breadcrumb.js +6 -3
- package/es/Breadcrumblist/Breadcrumblist.js +2 -2
- package/es/CompetenceGoalTab/CompetenceGoalTab.js +2 -2
- package/es/CompetenceGoals/CompetenceGoalsDialog.js +4 -1
- package/es/ContentCard/ContentCard.js +4 -1
- package/es/ContentLoader/index.js +4 -1
- package/es/ContentTypeBadge/ContentTypeBadge.js +4 -1
- package/es/CopyParagraphButton/CopyParagraphButton.js +2 -2
- package/es/CopyParagraphButton/CopyParagraphButtonV2.js +2 -2
- package/es/Dialog/Dialog.js +4 -1
- package/es/Embed/AudioEmbed.js +2 -2
- package/es/Embed/BrightcoveEmbed.js +6 -3
- package/es/Embed/ConceptEmbed.js +2 -2
- package/es/Embed/ImageEmbed.js +2 -2
- package/es/Embed/conceptComponents.js +4 -1
- package/es/FactBox/FactBox.js +4 -1
- package/es/FactBox/FactBoxV2.js +6 -3
- package/es/Figure/Figure.js +4 -1
- package/es/Figure/FigureLicense.js +4 -1
- package/es/Figure/FigureLicenseDialog.js +4 -1
- package/es/Figure/FigureLicenseDialogContent.js +4 -1
- package/es/Filter/FilterButtons.js +2 -2
- package/es/Filter/FilterCarousel.js +6 -3
- package/es/Filter/FilterList.js +6 -3
- package/es/Filter/FilterListPhone.js +6 -3
- package/es/Filter/ToggleItem.js +4 -1
- package/es/Footer/FooterAuth.js +4 -1
- package/es/Frontpage/FrontpageAllSubjects.js +1 -1
- package/es/Frontpage/FrontpageProgramMenu.js +2 -2
- package/es/Hero/Hero.js +4 -1
- package/es/Image/Image.js +4 -1
- package/es/Image/ImageLink.js +4 -1
- package/es/Image/LazyLoadImage.js +4 -1
- package/es/Layout/PageContainer.js +4 -1
- package/es/LearningPaths/LearningPathMenu.js +2 -2
- package/es/Logo/Logo.js +4 -1
- package/es/Logo/SvgLogo.js +4 -1
- package/es/Masthead/MastheadAuthModal.js +4 -1
- package/es/Masthead/utils.js +2 -2
- package/es/MediaList/MediaList.js +4 -1
- package/es/MultidisciplinarySubject/List.js +4 -1
- package/es/MyNdla/Resource/FolderInput.js +4 -1
- package/es/NDLAFilm/AllMoviesAlphabetically.js +2 -2
- package/es/NDLAFilm/CategorySelect.js +2 -2
- package/es/NDLAFilm/FilmMovieList.js +4 -1
- package/es/NDLAFilm/FilmSlideshow.js +6 -3
- package/es/Notion/ConceptNotion.js +1 -1
- package/es/Notion/FigureNotion.js +1 -1
- package/es/RadioButtonGroup/RadioButtonGroup.js +4 -2
- package/es/RelatedArticleList/RelatedArticleList.js +4 -1
- package/es/RelatedArticleList/RelatedArticleV2.js +6 -3
- package/es/ResourceGroup/ResourceList.js +4 -1
- package/es/ResourcesWrapper/ResourcesWrapper.js +4 -1
- package/es/Search/ContentTypeResult.js +6 -3
- package/es/Search/SearchField.js +4 -1
- package/es/Search/SearchResult.js +3 -1
- package/es/Search/SearchResultSleeve.js +2 -2
- package/es/Search/ToggleSearchButton.js +4 -1
- package/es/SearchTypeResult/PopupFilter.js +2 -2
- package/es/SearchTypeResult/SearchFieldHeader.js +2 -2
- package/es/SearchTypeResult/SearchHeader.js +2 -2
- package/es/SearchTypeResult/SearchTypeResult.js +4 -1
- package/es/SearchTypeResult/components/SubjectFilters.js +6 -3
- package/es/SnackBar/SnackbarProvider.js +6 -3
- package/es/Table/Table.js +6 -3
- package/es/TagSelector/Control.js +4 -1
- package/es/TagSelector/DropdownIndicator.js +4 -1
- package/es/TagSelector/Input.js +4 -1
- package/es/TagSelector/Menu.js +4 -1
- package/es/TagSelector/MenuList.js +4 -1
- package/es/TagSelector/Option.js +4 -1
- package/es/TagSelector/SelectContainer.js +4 -1
- package/es/TagSelector/TagSelector.js +6 -3
- package/es/TagSelector/ValueButton.js +4 -1
- package/es/Translation/Translation.js +4 -1
- package/es/Translation/TranslationLine.js +4 -1
- package/es/TreeStructure/FolderItem.js +53 -22
- package/es/TreeStructure/FolderItems.js +4 -1
- package/es/TreeStructure/TreeStructure.js +2 -2
- package/es/TreeStructure/helperFunctions.js +4 -1
- package/es/User/UserInfo.js +2 -2
- package/es/User/parseUserObject.js +6 -3
- package/es/all.css +1 -1
- package/es/index.js +1 -0
- package/es/locale/messages-en.js +5 -2
- package/es/locale/messages-nb.js +5 -2
- package/es/locale/messages-nn.js +5 -2
- package/es/locale/messages-se.js +81 -78
- package/es/locale/messages-sma.js +5 -2
- package/es/model/ContentType.js +4 -1
- package/lib/Animation/DisplayOnPageYOffset.js +11 -3
- package/lib/Article/Article.js +12 -4
- package/lib/Article/ArticleAccessMessage.js +7 -1
- package/lib/Article/ArticleByline.js +7 -1
- package/lib/Article/ArticleContent.js +10 -1
- package/lib/Article/ArticleHeaderWrapper.js +12 -4
- package/lib/Aside/Aside.js +10 -1
- package/lib/AudioPlayer/AudioPlayer.js +9 -3
- package/lib/AudioPlayer/Controls.js +9 -3
- package/lib/Breadcrumb/Breadcrumb.js +12 -4
- package/lib/Breadcrumb/BreadcrumbItem.js +7 -1
- package/lib/Breadcrumb/HomeBreadcrumb.js +7 -1
- package/lib/Breadcrumblist/Breadcrumblist.js +9 -3
- package/lib/CompetenceGoalTab/CompetenceGoalItem.js +7 -1
- package/lib/CompetenceGoalTab/CompetenceGoalTab.js +9 -3
- package/lib/CompetenceGoalTab/CompetenceItem.js +7 -1
- package/lib/CompetenceGoals/CompetenceGoalsDialog.js +10 -2
- package/lib/ContentCard/ContentCard.js +4 -1
- package/lib/ContentLoader/index.js +11 -1
- package/lib/ContentPlaceholder/ContentPlaceholder.js +7 -1
- package/lib/ContentTypeBadge/ContentTypeBadge.js +4 -2
- package/lib/CopyParagraphButton/CopyParagraphButton.js +9 -3
- package/lib/CopyParagraphButton/CopyParagraphButtonV2.js +9 -3
- package/lib/CreatedBy/CreatedBy.js +7 -1
- package/lib/Dialog/Dialog.js +13 -1
- package/lib/Embed/AudioEmbed.js +9 -3
- package/lib/Embed/BrightcoveEmbed.js +13 -4
- package/lib/Embed/ConceptEmbed.js +9 -3
- package/lib/Embed/ConceptListEmbed.js +7 -1
- package/lib/Embed/ExternalEmbed.js +7 -1
- package/lib/Embed/H5pEmbed.js +7 -1
- package/lib/Embed/ImageEmbed.js +9 -3
- package/lib/Embed/conceptComponents.js +11 -2
- package/lib/FactBox/FactBox.js +10 -1
- package/lib/FactBox/FactBoxV2.js +12 -4
- package/lib/Figure/Figure.js +11 -1
- package/lib/Figure/FigureLicense.js +11 -1
- package/lib/Figure/FigureLicenseDialog.js +11 -1
- package/lib/Figure/FigureLicenseDialogContent.js +10 -1
- package/lib/FileList/FileListV2.js +7 -1
- package/lib/Filter/FilterButtons.js +9 -3
- package/lib/Filter/FilterCarousel.js +12 -4
- package/lib/Filter/FilterList.js +12 -4
- package/lib/Filter/FilterListPhone.js +12 -4
- package/lib/Filter/ToggleItem.js +10 -1
- package/lib/Footer/Footer.js +7 -1
- package/lib/Footer/FooterAuth.js +11 -2
- package/lib/Frontpage/FrontpageAllSubjects.js +1 -1
- package/lib/Frontpage/FrontpageProgramMenu.js +2 -2
- package/lib/Frontpage/illustrations/FrontpageSubjectIllustration.js +7 -1
- package/lib/Hero/Hero.js +10 -2
- package/lib/Image/Image.js +11 -2
- package/lib/Image/ImageLink.js +11 -2
- package/lib/Image/LazyLoadImage.js +11 -1
- package/lib/InfoBlock/InfoBlock.js +7 -1
- package/lib/LanguageSelector/LanguageSelector.js +7 -1
- package/lib/Layout/PageContainer.js +10 -1
- package/lib/LearningPaths/LearningPathLastStepNavigation.js +7 -1
- package/lib/LearningPaths/LearningPathMenu.js +9 -3
- package/lib/LearningPaths/LearningPathMenuIntro.js +7 -1
- package/lib/Logo/Logo.js +10 -1
- package/lib/Logo/SvgLogo.js +10 -1
- package/lib/Masthead/Masthead.js +7 -1
- package/lib/Masthead/MastheadAuthModal.js +11 -1
- package/lib/Masthead/utils.js +9 -3
- package/lib/MediaList/MediaList.js +10 -1
- package/lib/Messages/MessageBanner.js +7 -1
- package/lib/Messages/MessageBox.js +7 -1
- package/lib/Messages/MessageBoxTag.js +7 -1
- package/lib/MultidisciplinarySubject/List.js +4 -1
- package/lib/MyNdla/Resource/Folder.js +7 -1
- package/lib/MyNdla/Resource/FolderInput.js +10 -1
- package/lib/MyNdla/SettingsMenu.js +7 -1
- package/lib/NDLAFilm/AllMoviesAlphabetically.js +9 -3
- package/lib/NDLAFilm/CategorySelect.js +9 -2
- package/lib/NDLAFilm/FilmMovieList.js +9 -1
- package/lib/NDLAFilm/FilmSlideshow.js +12 -4
- package/lib/NDLAFilm/VisualElement.js +7 -1
- package/lib/Notion/ConceptNotion.js +6 -1
- package/lib/Notion/FigureNotion.js +6 -1
- package/lib/Notion/Notion.js +7 -1
- package/lib/Notion/NotionVisualElement.js +6 -1
- package/lib/RadioButtonGroup/RadioButtonGroup.js +10 -2
- package/lib/RelatedArticleList/RelatedArticleList.js +4 -2
- package/lib/RelatedArticleList/RelatedArticleV2.js +12 -3
- package/lib/Resource/BlockResource.js +7 -1
- package/lib/Resource/ListResource.js +7 -1
- package/lib/Resource/resourceComponents.js +7 -1
- package/lib/ResourceGroup/ResourceItem.js +7 -1
- package/lib/ResourceGroup/ResourceList.js +11 -1
- package/lib/ResourcesWrapper/ResourcesWrapper.js +11 -1
- package/lib/Search/ContentTypeResult.js +5 -3
- package/lib/Search/SearchField.js +10 -1
- package/lib/Search/SearchResult.js +3 -1
- package/lib/Search/SearchResultSleeve.js +8 -2
- package/lib/Search/ToggleSearchButton.js +11 -1
- package/lib/SearchTypeResult/ActiveFilterContent.js +7 -1
- package/lib/SearchTypeResult/ActiveFilters.js +7 -1
- package/lib/SearchTypeResult/PopupFilter.js +9 -3
- package/lib/SearchTypeResult/SearchFieldHeader.js +9 -3
- package/lib/SearchTypeResult/SearchFilterContent.js +7 -1
- package/lib/SearchTypeResult/SearchHeader.js +9 -3
- package/lib/SearchTypeResult/SearchItem.js +7 -1
- package/lib/SearchTypeResult/SearchItemList.js +7 -1
- package/lib/SearchTypeResult/SearchItems.js +7 -1
- package/lib/SearchTypeResult/SearchNotionItem.js +7 -1
- package/lib/SearchTypeResult/SearchSubjectItem.js +7 -1
- package/lib/SearchTypeResult/SearchTypeHeader.js +7 -1
- package/lib/SearchTypeResult/SearchTypeResult.js +9 -1
- package/lib/SearchTypeResult/SearchViewType.js +7 -1
- package/lib/SearchTypeResult/components/ItemContexts.js +7 -1
- package/lib/SearchTypeResult/components/ItemResourceHeader.js +7 -1
- package/lib/SearchTypeResult/components/ItemTopicHeader.js +7 -1
- package/lib/SearchTypeResult/components/SubjectFilters.js +12 -4
- package/lib/SnackBar/SnackbarProvider.js +12 -4
- package/lib/Table/Table.js +12 -4
- package/lib/TagSelector/Control.js +10 -1
- package/lib/TagSelector/DropdownIndicator.js +10 -2
- package/lib/TagSelector/Input.js +10 -1
- package/lib/TagSelector/Menu.js +11 -1
- package/lib/TagSelector/MenuList.js +10 -1
- package/lib/TagSelector/Option.js +10 -1
- package/lib/TagSelector/SelectContainer.js +10 -1
- package/lib/TagSelector/TagSelector.js +12 -4
- package/lib/TagSelector/ValueButton.js +10 -1
- package/lib/Topic/Topic.js +7 -1
- package/lib/Translation/Translation.js +10 -1
- package/lib/Translation/TranslationLine.js +10 -1
- package/lib/TreeStructure/AddFolderButton.js +7 -1
- package/lib/TreeStructure/FolderItem.js +60 -23
- package/lib/TreeStructure/FolderItems.js +11 -1
- package/lib/TreeStructure/TreeStructure.js +9 -3
- package/lib/TreeStructure/helperFunctions.js +4 -1
- package/lib/User/AuthModal.js +7 -1
- package/lib/User/UserInfo.js +8 -3
- package/lib/User/parseUserObject.js +12 -4
- package/lib/all.css +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +7 -0
- package/lib/locale/messages-en.js +11 -2
- package/lib/locale/messages-nb.js +11 -2
- package/lib/locale/messages-nn.js +11 -2
- package/lib/locale/messages-se.js +87 -78
- package/lib/locale/messages-sma.js +11 -2
- package/lib/model/ContentType.js +4 -1
- package/package.json +12 -12
- package/src/BlogPost/BlogPost.stories.tsx +4 -3
- package/src/LanguageSelector/LanguageSelector.stories.tsx +4 -3
- package/src/LetterFilter/LetterFilter.stories.tsx +4 -3
- package/src/MyNdla/Resource/Folder.stories.tsx +39 -0
- package/src/Resource/BlockResource.stories.tsx +52 -0
- package/src/Resource/Resource.stories.tsx +52 -0
- package/src/TreeStructure/FolderItem.tsx +39 -20
- package/src/index.ts +1 -0
- package/src/locale/messages-en.ts +1 -1
- package/src/locale/messages-nb.ts +1 -1
- package/src/locale/messages-nn.ts +1 -1
- package/src/locale/messages-se.ts +77 -77
- package/src/locale/messages-sma.ts +1 -1
- package/src/MyNdla/Resource/Folder.stories.mdx +0 -53
- package/src/Resource/BlockResource.stories.mdx +0 -58
- package/src/Resource/Resource.stories.mdx +0 -58
package/es/index.js
CHANGED
|
@@ -60,6 +60,7 @@ export { default as messagesNB } from './locale/messages-nb';
|
|
|
60
60
|
export { default as messagesNN } from './locale/messages-nn';
|
|
61
61
|
export { default as messagesEN } from './locale/messages-en';
|
|
62
62
|
export { default as messagesSE } from './locale/messages-se';
|
|
63
|
+
export { default as messagesSMA } from './locale/messages-sma';
|
|
63
64
|
export { default as RadioButtonGroup } from './RadioButtonGroup';
|
|
64
65
|
export { ToolboxInfo } from './ToolboxPage';
|
|
65
66
|
export { default as Topic } from './Topic';
|
package/es/locale/messages-en.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
var _subjectCategories, _subjectTypes, _contentTypeResultsSh, _contentTypeResultsSh2, _contentTypeResultsNo;
|
|
2
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
3
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3
4
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
7
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
5
8
|
/**
|
|
6
9
|
* Copyright (c) 2018-present, NDLA.
|
|
7
10
|
*
|
|
@@ -1081,7 +1084,7 @@ var messages = _objectSpread(_objectSpread({
|
|
|
1081
1084
|
"private": 'When you share a folder, you create a link which is open to anyone who has the link. You can change the content or stop sharing whenever you want.',
|
|
1082
1085
|
private2: 'When you share a folder you share all content within the folder, including subfolders and resources',
|
|
1083
1086
|
shared: 'Now you can share this link to students or other teachers. If you make changes in the folder, they become visible to everybody you have shared the link with.',
|
|
1084
|
-
unShare: 'When you stop sharing, the link to the shared folder is no longer active. If you have shared the link with someone, they can no longer see the content in the folder.'
|
|
1087
|
+
unShare: 'When you stop sharing, the link to the shared folder and potential subfolders is no longer active. If you have shared the link with someone, they can no longer see the content in the folder. This also applies to potential subfolders.'
|
|
1085
1088
|
},
|
|
1086
1089
|
button: {
|
|
1087
1090
|
share: 'Share folder',
|
package/es/locale/messages-nb.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
var _subjectCategories, _subjectTypes, _contentTypeResultsSh, _contentTypeResultsSh2, _contentTypeResultsNo;
|
|
2
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
3
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3
4
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
7
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
5
8
|
/**
|
|
6
9
|
* Copyright (c) 2018-present, NDLA.
|
|
7
10
|
*
|
|
@@ -1081,7 +1084,7 @@ var messages = _objectSpread(_objectSpread({
|
|
|
1081
1084
|
"private": 'Når du deler ei mappe, lager du ei lenke som er åpen for alle som har lenka. Du kan endre innholdet eller avslutte delinga når du ønsker det. ',
|
|
1082
1085
|
private2: 'Når du deler en mappe deler du alt innholdet i mappen, inkludert undermapper og ressurser',
|
|
1083
1086
|
shared: 'Nå kan du dele denne lenka med elever eller andre lærere. Hvis du gjør endringer i mappa, blir de synlige for alle du har delt lenka med.',
|
|
1084
|
-
unShare: 'Når du avslutter deling,
|
|
1087
|
+
unShare: 'Når du avslutter deling, slutter lenka til den delte mappa og eventuelle undermapper å virke. Hvis du har delt lenka med noen, kan de ikke lenger se innholdet i mappa. Dette gjelder også lenker til eventuelle undermapper.'
|
|
1085
1088
|
},
|
|
1086
1089
|
button: {
|
|
1087
1090
|
share: 'Del mappen',
|
package/es/locale/messages-nn.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
var _subjectCategories, _subjectTypes, _contentTypeResultsSh, _contentTypeResultsSh2, _contentTypeResultsNo;
|
|
2
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
3
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3
4
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
7
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
5
8
|
/**
|
|
6
9
|
* Copyright (c) 2018-present, NDLA.
|
|
7
10
|
*
|
|
@@ -1081,7 +1084,7 @@ var messages = _objectSpread(_objectSpread({
|
|
|
1081
1084
|
"private": 'Når du deler ei mappe, lagar du ei lenke som er open for alle som har lenka. Du kan endre innhaldet eller avslutte delinga når du ønsker det.',
|
|
1082
1085
|
private2: 'Når du deler ei mappe deler du alt innhaldet i mappa, inkludert undermapper og ressursar',
|
|
1083
1086
|
shared: 'No kan du dele denne lenka med elevar eller andre lærarar. Dersom du gjer endringar i mappa, blir dei synlege for alle du har delt lenka med.',
|
|
1084
|
-
unShare: 'Når du avsluttar deling,
|
|
1087
|
+
unShare: 'Når du avsluttar deling, sluttar lenka til den delte mappa og eventuelle undermapper å verke. Dersom du har delt lenka med nokon, kan dei ikkje lenger sjå innhaldet i mappa. Dette gjelder òg lenker til eventuelle undermapper.'
|
|
1085
1088
|
},
|
|
1086
1089
|
button: {
|
|
1087
1090
|
share: 'Del mappa',
|
package/es/locale/messages-se.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
var _subjectCategories, _subjectTypes, _contentTypeResultsSh, _contentTypeResultsSh2, _contentTypeResultsNo;
|
|
2
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
3
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3
4
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
7
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
5
8
|
/**
|
|
6
9
|
* Copyright (c) 2018-present, NDLA.
|
|
7
10
|
*
|
|
@@ -247,23 +250,23 @@ var messages = _objectSpread(_objectSpread({
|
|
|
247
250
|
archived: 'Dát leat heaittihuvvon fága mii ii ođasmahttojuvvo.'
|
|
248
251
|
},
|
|
249
252
|
subjectsPage: {
|
|
250
|
-
filterSubjects: '
|
|
251
|
-
scrollToGroup: '
|
|
252
|
-
goToTop: '
|
|
253
|
-
alphabeticSort: '
|
|
254
|
-
subjectGroup: '
|
|
253
|
+
filterSubjects: 'Filtarastte fágaid',
|
|
254
|
+
scrollToGroup: 'Njuike jovkui',
|
|
255
|
+
goToTop: 'Mana álgui',
|
|
256
|
+
alphabeticSort: 'Fágat alfabehtalaččat',
|
|
257
|
+
subjectGroup: 'Joavku "{{ category }}"',
|
|
255
258
|
allSubjects: 'Buot fágat',
|
|
256
|
-
myFavoriteSubjects: '
|
|
259
|
+
myFavoriteSubjects: 'Mu oiddotfágat',
|
|
257
260
|
errorDescription: 'Šállošat, boasttuvuohta čuožžilii fágaid viežžamis.',
|
|
258
261
|
chooseSubject: 'Vállje fága',
|
|
259
|
-
confirmRemove: '
|
|
260
|
-
addFavorite: '
|
|
261
|
-
removeFavorite: '
|
|
262
|
-
removeConfirmed: '{{subject}}
|
|
263
|
-
addConfirmed: '{{subject}}
|
|
264
|
-
subjectFavoritePitch: '
|
|
265
|
-
subjectFavoriteGuide: '
|
|
266
|
-
shows: '
|
|
262
|
+
confirmRemove: 'Leat go sihkar ahte áiggut sihkkut {{subject}} oiddotfágain?',
|
|
263
|
+
addFavorite: 'Lasit oiddotfága',
|
|
264
|
+
removeFavorite: 'Sihko oiddotfága',
|
|
265
|
+
removeConfirmed: '{{subject}} lea sihkkojuvvon oiddotfágain',
|
|
266
|
+
addConfirmed: '{{subject}} lea lasihuvvon oiddotfágan',
|
|
267
|
+
subjectFavoritePitch: 'Háliidat go dán fága merket oiddotfágan?',
|
|
268
|
+
subjectFavoriteGuide: 'Vai galggat sáhttit merket fága oiddohin, fertet logget sisa Mu NDLAii. Fága gávnnat bajimusas siiddus go leat sisaloggen.',
|
|
269
|
+
shows: 'Čájeha'
|
|
267
270
|
},
|
|
268
271
|
topicPage: {
|
|
269
272
|
articleErrorDescription: 'Šállošat, boasttuvuohta čuožžilii fáddáčilgehusa viežžamis.',
|
|
@@ -324,33 +327,33 @@ var messages = _objectSpread(_objectSpread({
|
|
|
324
327
|
toolboxTeachers: 'Reaidokássa - oahpaheddjiide',
|
|
325
328
|
film: 'NDLA Filbma',
|
|
326
329
|
about: {
|
|
327
|
-
title: '
|
|
328
|
-
numbers: '
|
|
329
|
-
keyPersonnel: '
|
|
330
|
-
vacancies: '
|
|
331
|
-
vision: '
|
|
332
|
-
communityPurpose: '
|
|
333
|
-
history: '
|
|
334
|
-
cooperation: '
|
|
335
|
-
faq: '
|
|
336
|
-
follow: '
|
|
337
|
-
whoAreWe: '
|
|
338
|
-
whatWeDo: '
|
|
339
|
-
careers: '
|
|
340
|
-
contactUs: '
|
|
341
|
-
organizing: '
|
|
342
|
-
articlesOfAssociation: '
|
|
330
|
+
title: 'NDLA birra',
|
|
331
|
+
numbers: 'Logut ja raporttat',
|
|
332
|
+
keyPersonnel: 'Čoavddaolbmot',
|
|
333
|
+
vacancies: 'Almmuhusat',
|
|
334
|
+
vision: 'Niehkodoaivva ja árvvut',
|
|
335
|
+
communityPurpose: 'Min servvodatdoaibma',
|
|
336
|
+
history: 'NDLA historjá',
|
|
337
|
+
cooperation: 'Min ovttasbarggu',
|
|
338
|
+
faq: 'Dávjá jerron jearaladagat',
|
|
339
|
+
follow: 'Čuovo min sosiála medijaid',
|
|
340
|
+
whoAreWe: 'Geat leat mii?',
|
|
341
|
+
whatWeDo: 'Maid mii bargat?',
|
|
342
|
+
careers: 'Barggut min fitnodagas',
|
|
343
|
+
contactUs: 'Váldde oktavuođa minguin',
|
|
344
|
+
organizing: 'Organiseren',
|
|
345
|
+
articlesOfAssociation: 'Njuolggadusat'
|
|
343
346
|
}
|
|
344
347
|
},
|
|
345
348
|
menu: {
|
|
346
|
-
button: '
|
|
347
|
-
goToMainMenu: '
|
|
349
|
+
button: 'Fállu',
|
|
350
|
+
goToMainMenu: 'Mana váldofállui',
|
|
348
351
|
close: 'Govčča',
|
|
349
352
|
goTo: 'Mana deike',
|
|
350
353
|
search: 'Oza',
|
|
351
354
|
toFrontpage: 'Ovdasiidui',
|
|
352
355
|
subjectOverview: 'Buot fágat',
|
|
353
|
-
title: '
|
|
356
|
+
title: 'Raba fálu',
|
|
354
357
|
modalLabel: 'Vállje sisdoalu',
|
|
355
358
|
subjectPage: 'Ovdasiidu fágas',
|
|
356
359
|
backToSubjectFrontpage: 'Ruovttoluotta fága ovdasiidui',
|
|
@@ -457,9 +460,9 @@ var messages = _objectSpread(_objectSpread({
|
|
|
457
460
|
competenceGoalClose: 'Govčča',
|
|
458
461
|
competenceGoalTitle: 'Mihttun lea ahte oahppi galgá máhttit:',
|
|
459
462
|
competenceTabLK20label: 'Gealbomihttomearri',
|
|
460
|
-
competenceTabLK20Tooltip: '
|
|
463
|
+
competenceTabLK20Tooltip: 'Čájet gealbomihtuid',
|
|
461
464
|
competenceTabCorelabel: 'Guovddášelemeanta',
|
|
462
|
-
competenceTabCoreTooltip: '
|
|
465
|
+
competenceTabCoreTooltip: 'Čájet guovddášelemeanttaid',
|
|
463
466
|
competenceGoalItem: {
|
|
464
467
|
title: 'Gealbomihttomearit ja árvvoštallan'
|
|
465
468
|
},
|
|
@@ -598,21 +601,21 @@ var messages = _objectSpread(_objectSpread({
|
|
|
598
601
|
},
|
|
599
602
|
figure: {
|
|
600
603
|
button: {
|
|
601
|
-
alternative: 'Lonut mas dulkojuvvo oaidninváttuid ektui',
|
|
604
|
+
alternative: 'Lonut siidui mas dulkojuvvo oaidninváttuid ektui',
|
|
602
605
|
original: 'Lonut orginála videoi'
|
|
603
606
|
}
|
|
604
607
|
},
|
|
605
608
|
footer: {
|
|
606
609
|
aboutNDLA: 'NDLA birra',
|
|
607
|
-
socialMedia: '
|
|
610
|
+
socialMedia: 'Sosiála mediat',
|
|
608
611
|
selectLanguage: 'Vállje giela (language): ',
|
|
609
612
|
vision: 'Ovttas hábmet boahtteáiggi oahppama',
|
|
610
613
|
linksHeader: 'Eará NDLA neahttabáikkit',
|
|
611
614
|
info: 'Neahttabáiki lea ráhkaduvvon NDLA bokte rabas gáldokodain.',
|
|
612
615
|
editorInChief: 'Vásttolaš doaimmaheaddji:',
|
|
613
|
-
availabilityLink: '
|
|
616
|
+
availabilityLink: 'Beasatlašvuođajulggaštus',
|
|
614
617
|
privacyLink: 'Persovdnasuodjalusjulggaštus ja diehtočoahkku (gáhkožat)',
|
|
615
|
-
cookiesLink: 'Julggaštus
|
|
618
|
+
cookiesLink: 'Julggaštus diehtočoahku ektui (gáhkožat)',
|
|
616
619
|
socialMediaLinks: {
|
|
617
620
|
facebook: 'NDLA Facebookas',
|
|
618
621
|
facebookAria: 'Fina NDLA siiddus Facebookas',
|
|
@@ -630,7 +633,7 @@ var messages = _objectSpread(_objectSpread({
|
|
|
630
633
|
ndlaLinks: {
|
|
631
634
|
ndla: 'ndla.no',
|
|
632
635
|
omNdla: 'NDLA birra',
|
|
633
|
-
aboutNdla: '
|
|
636
|
+
aboutNdla: 'NDLA birra',
|
|
634
637
|
blog: 'Fágablogga',
|
|
635
638
|
tips: 'Cavgileapmi ohppiide',
|
|
636
639
|
fyr: 'FYR-prošeakta',
|
|
@@ -722,7 +725,7 @@ var messages = _objectSpread(_objectSpread({
|
|
|
722
725
|
hits: '{{count}} deaivama'
|
|
723
726
|
},
|
|
724
727
|
notions: {
|
|
725
|
-
tags: '
|
|
728
|
+
tags: 'Listu ja filttar',
|
|
726
729
|
usedIn: 'Adnojuvvo dás',
|
|
727
730
|
closeNotion: 'Govčča'
|
|
728
731
|
},
|
|
@@ -791,7 +794,7 @@ var messages = _objectSpread(_objectSpread({
|
|
|
791
794
|
shortFilm: 'Oanehis filbma',
|
|
792
795
|
all: 'Buot filmmat A-Å'
|
|
793
796
|
},
|
|
794
|
-
allMovieGroupTitleLabel: '
|
|
797
|
+
allMovieGroupTitleLabel: 'Filmmat mat álget {{letter}}',
|
|
795
798
|
moreAboutNdlaFilm: {
|
|
796
799
|
header: 'NDLA Filbma',
|
|
797
800
|
firstParagraph: 'Filmmat filbmabálvalusas leat vižžouvvon norgga ja riikkaidgaskasaš filbmaárbbis ja leat čadnon oahppoplánaide máŋgga fágas. Dat leat válljejuvvon NDLA doaimmahusgottiin ovttasráđiid Norgesfilm AS:ain.',
|
|
@@ -884,7 +887,7 @@ var messages = _objectSpread(_objectSpread({
|
|
|
884
887
|
frontpageMultidisciplinarySubject: {
|
|
885
888
|
heading: 'Fágaidrasttideaddji fáttát',
|
|
886
889
|
text: 'Oahppoplána golbma fágaidrasttideaddji fáttáin leat vuolggasadjin áigeguovdilis hástalusat servvodagas mat gáibidit beroštumi ja rahčamuša ovttaskas olbmuin ja searvevuođas lagasbirrasis, našunálalaččat ja máilmmeviidosaččat.',
|
|
887
|
-
linkText: 'Geahča
|
|
890
|
+
linkText: 'Geahča keisaid fágaidrasttideaddji fáttáin.',
|
|
888
891
|
publicHealthTopic: 'Álbmotdearvvašvuohta ja eallimis birgen',
|
|
889
892
|
democracyTopic: 'Demokratiija ja mielboargárvuohta',
|
|
890
893
|
sustainableTopic: 'Guoddevaš ovdáneapmi',
|
|
@@ -904,7 +907,7 @@ var messages = _objectSpread(_objectSpread({
|
|
|
904
907
|
loadingText: 'Viežžá fáttá'
|
|
905
908
|
},
|
|
906
909
|
multidisciplinarySubject: {
|
|
907
|
-
subjectsLinksDescription: '
|
|
910
|
+
subjectsLinksDescription: 'Keisa mii gullá'
|
|
908
911
|
},
|
|
909
912
|
multibutton: {
|
|
910
913
|
open: 'Raba fálu',
|
|
@@ -1026,7 +1029,7 @@ var messages = _objectSpread(_objectSpread({
|
|
|
1026
1029
|
mail: 'Eboasta',
|
|
1027
1030
|
username: 'Geavahan namma',
|
|
1028
1031
|
mobile: 'Telefonnummar',
|
|
1029
|
-
preferredLanguage: '
|
|
1032
|
+
preferredLanguage: 'Sávvojuvvon giella',
|
|
1030
1033
|
groupTypes: {
|
|
1031
1034
|
basic: 'Vuođđojoavku',
|
|
1032
1035
|
teaching: 'Oahpahusjoavku',
|
|
@@ -1050,8 +1053,8 @@ var messages = _objectSpread(_objectSpread({
|
|
|
1050
1053
|
resources: '{{count}} resursa',
|
|
1051
1054
|
resources_plural: '{{count}} resurssat',
|
|
1052
1055
|
folders: '{{count}} máhpat',
|
|
1053
|
-
folders_plural: '{{count}}
|
|
1054
|
-
settings: '
|
|
1056
|
+
folders_plural: '{{count}} máhpat',
|
|
1057
|
+
settings: 'Válljemat',
|
|
1055
1058
|
folder: {
|
|
1056
1059
|
folder: 'Máhppa',
|
|
1057
1060
|
"delete": 'Sihko máhpa',
|
|
@@ -1067,27 +1070,27 @@ var messages = _objectSpread(_objectSpread({
|
|
|
1067
1070
|
onDragCancel: 'Sirdin botkejuvvui. Máhppa {{name}} lea luitojuvvon.',
|
|
1068
1071
|
dragHandle: 'Ordne máhpa {{name}}',
|
|
1069
1072
|
sharing: {
|
|
1070
|
-
share: '
|
|
1071
|
-
shared: '
|
|
1072
|
-
unShare: '
|
|
1073
|
-
link: '
|
|
1073
|
+
share: 'Juoge máhpa',
|
|
1074
|
+
shared: 'Juogaduvvon',
|
|
1075
|
+
unShare: 'Juohkin lea loahpahuvvon. Máhppa ii leat šat juogaduvvon.',
|
|
1076
|
+
link: 'Liŋka lea máŋgejuvvon.',
|
|
1074
1077
|
header: {
|
|
1075
|
-
"private": '
|
|
1076
|
-
shared: '
|
|
1077
|
-
unShare: '
|
|
1078
|
+
"private": 'Áiggut go juogadit dán máhpa?',
|
|
1079
|
+
shared: 'Dát máhpa lea juogaduvvon.',
|
|
1080
|
+
unShare: 'Háliidat go loahpahit máhpa juogadeami?'
|
|
1078
1081
|
},
|
|
1079
1082
|
description: {
|
|
1080
|
-
copy: '
|
|
1081
|
-
"private": '
|
|
1082
|
-
private2: '
|
|
1083
|
-
shared: '
|
|
1084
|
-
unShare: '
|
|
1083
|
+
copy: 'Máŋge ja juoge dán liŋkka:',
|
|
1084
|
+
"private": 'Go juogát máhpa ráhkadat liŋkka mii lea rabas buohkaide geas lea liŋka. Sáhtát rievdadit sisdoalu dahje loahpahit juogadeami go háliidat.',
|
|
1085
|
+
private2: 'Go juogadat máhpa juogát buot máhpa sisdoalu, oktan vuollemáhpaiguin ja resursaiguin',
|
|
1086
|
+
shared: 'Dál sáhtát juogadit dán liŋkka ohppiiguin dahje eará oahpaheddjiiguin. Jus rievdadat maidege máhpas šaddá rievdan oinnolaš buohkaide geaidda leat juogadan liŋkka',
|
|
1087
|
+
unShare: 'Go loahpahat juogadeami ii doaimma liŋka juogaduvvon máhppii šat. Jus leat juogadan liŋkka ovttainge, de eai sáhte šat oaidnit máhpa sisdoalu'
|
|
1085
1088
|
},
|
|
1086
1089
|
button: {
|
|
1087
|
-
share: '
|
|
1088
|
-
preview: '
|
|
1089
|
-
unShare: '
|
|
1090
|
-
shareLink: '
|
|
1090
|
+
share: 'Juoge máhpa',
|
|
1091
|
+
preview: 'Čájet ovdagihtii juogaduvvon máhpa',
|
|
1092
|
+
unShare: 'Loahpat juogdeami',
|
|
1093
|
+
shareLink: 'Máŋge liŋkka'
|
|
1091
1094
|
}
|
|
1092
1095
|
}
|
|
1093
1096
|
},
|
|
@@ -1117,15 +1120,15 @@ var messages = _objectSpread(_objectSpread({
|
|
|
1117
1120
|
detailView: 'Bienalaš oppalašlistu',
|
|
1118
1121
|
shortView: 'Oanehis listu',
|
|
1119
1122
|
sharedFolder: {
|
|
1120
|
-
info: '
|
|
1121
|
-
firstShared: '
|
|
1122
|
-
drawerButton: '
|
|
1123
|
-
drawerTitle: '
|
|
1124
|
-
learningpathUnsupported: '
|
|
1123
|
+
info: 'Dán máhpas lea NDLA fágasisdoallu ja bargobihtát, čohkkejuvvon oahpaheaddjis.',
|
|
1124
|
+
firstShared: 'Máhppa juogaduvvui vuosttaš geardde {{date}}',
|
|
1125
|
+
drawerButton: 'Čájet máhpaid ja resurssaid',
|
|
1126
|
+
drawerTitle: 'Máhpat ja resurssat',
|
|
1127
|
+
learningpathUnsupported: 'Oahppanbálgát eai sáhte njuolga čájehuvvot juogaduvvon máhpain. Jus deaddilat liŋkka navigerenfálus gurut bealde, rahpasa bálggis ođđa siiddus.',
|
|
1125
1128
|
description: {
|
|
1126
|
-
info1: '
|
|
1127
|
-
info2: '
|
|
1128
|
-
info3: '
|
|
1129
|
+
info1: 'Dán máhpas gávnnat fágaávdnasiid ja bargobihtáid NDLAs. Oahpaheaddji lea čohkken artihkkaliid ja bidjan daid ortnetvurrui.',
|
|
1130
|
+
info2: 'Sáhtát bláđet artihkkaliid fálu vehkiin.',
|
|
1131
|
+
info3: 'Jus háliidat gávdnat máhpa maŋŋel fas, sáhtát geavahit seamma liŋkka maid oahpaheaddjis leat ožžon, dahje sáhtát girjemearka bidjat siidui.'
|
|
1129
1132
|
},
|
|
1130
1133
|
willOpenInNewTab: 'Åpnes i ny fane.'
|
|
1131
1134
|
},
|
|
@@ -1151,7 +1154,7 @@ var messages = _objectSpread(_objectSpread({
|
|
|
1151
1154
|
privacyLink: 'https://om.ndla.no/gdpr',
|
|
1152
1155
|
questions: {
|
|
1153
1156
|
question: 'Smiehtat go maidege?',
|
|
1154
|
-
ask: 'Jeara min
|
|
1157
|
+
ask: 'Jeara min čeattas'
|
|
1155
1158
|
},
|
|
1156
1159
|
wishToDelete: 'It go hálit geavaheaddjiprofiila min geahčen šat?',
|
|
1157
1160
|
terms: {
|
|
@@ -1199,7 +1202,7 @@ var messages = _objectSpread(_objectSpread({
|
|
|
1199
1202
|
tagsUpdated: 'Fáddágilkorat leat ođastuvvon',
|
|
1200
1203
|
show: 'Čájet',
|
|
1201
1204
|
save: 'Vurke resurssa',
|
|
1202
|
-
onDragStart: '
|
|
1205
|
+
onDragStart: 'Rohtte resurssa {{name}}. Resursa lea {{index}} posišuvnnas čuovvovačča {{length}} posišuvnnas',
|
|
1203
1206
|
onDragOver: 'Resursa {{name}} sirdojuvvui {{index}} posišuvdnii {{length}} posišuvnnas',
|
|
1204
1207
|
onDragOverMissingOver: 'Resursa {{name}} ii leat šat luoitinposišuvnnas',
|
|
1205
1208
|
onDragEnd: 'Resursa {{name}} luitojuvvui {{index}} posišuvdnii {{length}} posišuvnnas',
|
|
@@ -1235,12 +1238,12 @@ var messages = _objectSpread(_objectSpread({
|
|
|
1235
1238
|
help: 'Veahket'
|
|
1236
1239
|
},
|
|
1237
1240
|
programme: {
|
|
1238
|
-
grades: '
|
|
1241
|
+
grades: 'Ceahkki'
|
|
1239
1242
|
},
|
|
1240
1243
|
embed: {
|
|
1241
|
-
conceptListError: '
|
|
1242
|
-
linkError: '
|
|
1243
|
-
unsupported: "Embed {{type}}
|
|
1244
|
+
conceptListError: 'Ii sáhttán čájehit čilgehuslisttu',
|
|
1245
|
+
linkError: 'Ii sáhttán čájehit liŋkka.',
|
|
1246
|
+
unsupported: "Embed {{type}} ii dorjojuvvo."
|
|
1244
1247
|
}
|
|
1245
1248
|
});
|
|
1246
1249
|
export default messages;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
var _subjectCategories, _subjectTypes, _contentTypeResultsSh, _contentTypeResultsSh2, _contentTypeResultsNo;
|
|
2
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
3
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3
4
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
7
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
5
8
|
/**
|
|
6
9
|
* Copyright (c) 2018-present, NDLA.
|
|
7
10
|
*
|
|
@@ -1081,7 +1084,7 @@ var messages = _objectSpread(_objectSpread({
|
|
|
1081
1084
|
"private": 'Når du deler en mappe lager du en lenke som er åpen for alle som har lenken. Du kan endre innholdet eller avslutte delingen når du ønsker.',
|
|
1082
1085
|
private2: 'Når du deler en mappe deler du alt innholdet i mappen, inkludert undermapper og ressurser',
|
|
1083
1086
|
shared: 'Nå kan du dele denne lenken med elever eller andre lærere. Hvis du gjør endringer i mappen vil de bli synlige for alle du har delt lenken med.',
|
|
1084
|
-
unShare: 'Når du
|
|
1087
|
+
unShare: 'Når du avsluttar deling, sluttar lenka til den delte mappa og eventuelle undermapper å verke. Dersom du har delt lenka med nokon, kan dei ikkje lenger sjå innhaldet i mappa. Dette gjelder òg lenker til eventuelle undermapper.'
|
|
1085
1088
|
},
|
|
1086
1089
|
button: {
|
|
1087
1090
|
share: 'Del mappen',
|
package/es/model/ContentType.js
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
var _contentTypeMapping;
|
|
2
|
-
function
|
|
2
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
3
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
4
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
5
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
3
6
|
/**
|
|
4
7
|
* Copyright (c) 2017-present, NDLA.
|
|
5
8
|
*
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
@@ -12,8 +11,9 @@ var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
|
12
11
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
12
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
14
13
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
14
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
15
15
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
16
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
16
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
17
17
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
18
18
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
19
19
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
@@ -22,7 +22,15 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) ===
|
|
|
22
22
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
23
23
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
24
24
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
25
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
25
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
26
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
27
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
|
|
28
|
+
* Copyright (c) 2016-present, NDLA.
|
|
29
|
+
*
|
|
30
|
+
* This source code is licensed under the GPLv3 license found in the
|
|
31
|
+
* LICENSE file in the root directory of this source tree.
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
26
34
|
var DisplayOnPageYOffset = /*#__PURE__*/function (_Component) {
|
|
27
35
|
_inherits(DisplayOnPageYOffset, _Component);
|
|
28
36
|
var _super = _createSuper(DisplayOnPageYOffset);
|
package/lib/Article/Article.js
CHANGED
|
@@ -27,14 +27,22 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
|
|
|
27
27
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
28
28
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
29
29
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
30
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
31
|
-
function _iterableToArrayLimit(arr, i) { var _i =
|
|
30
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
31
|
+
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
32
32
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
33
33
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
34
34
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
35
35
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
36
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
37
|
-
function
|
|
36
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
37
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
38
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
39
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; } /**
|
|
40
|
+
* Copyright (c) 2016-present, NDLA.
|
|
41
|
+
*
|
|
42
|
+
* This source code is licensed under the GPLv3 license found in the
|
|
43
|
+
* LICENSE file in the root directory of this source tree.
|
|
44
|
+
*
|
|
45
|
+
*/
|
|
38
46
|
var classes = new _reactBemHelper["default"]({
|
|
39
47
|
name: 'article',
|
|
40
48
|
prefix: 'c-'
|
|
@@ -13,7 +13,13 @@ var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
|
13
13
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
14
14
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
15
15
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
16
|
-
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
16
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; } /**
|
|
17
|
+
* Copyright (c) 2021-present, NDLA.
|
|
18
|
+
*
|
|
19
|
+
* This source code is licensed under the GPLv3 license found in the
|
|
20
|
+
* LICENSE file in the root directory of this source tree.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
17
23
|
var StyledMessage = /*#__PURE__*/(0, _base["default"])("span", {
|
|
18
24
|
target: "ef7syc21",
|
|
19
25
|
label: "StyledMessage"
|
|
@@ -18,7 +18,13 @@ var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
|
18
18
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
19
19
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
20
20
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
21
|
-
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
21
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; } /**
|
|
22
|
+
* Copyright (c) 2020-present, NDLA.
|
|
23
|
+
*
|
|
24
|
+
* This source code is licensed under the GPLv3 license found in the
|
|
25
|
+
* LICENSE file in the root directory of this source tree.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
22
28
|
var Wrapper = /*#__PURE__*/(0, _base["default"])("div", {
|
|
23
29
|
target: "eeu23se3",
|
|
24
30
|
label: "Wrapper"
|
|
@@ -12,11 +12,20 @@ var _AudioPlayer = require("../AudioPlayer");
|
|
|
12
12
|
var _CopyParagraphButton = require("../CopyParagraphButton");
|
|
13
13
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
14
14
|
var _excluded = ["content", "locale"];
|
|
15
|
+
/*
|
|
16
|
+
* Copyright (c) 2016-present, NDLA.
|
|
17
|
+
*
|
|
18
|
+
* This source code is licensed under the GPLv3 license found in the
|
|
19
|
+
* LICENSE file in the root directory of this source tree.
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
15
22
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
16
23
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
17
24
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
18
25
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
19
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
26
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
27
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
28
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
20
29
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
21
30
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
22
31
|
var ArticleContent = function ArticleContent(_ref) {
|