@ndla/ui 35.0.27 → 35.1.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/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/ContactBlock/ContactBlock.js +150 -0
- package/es/ContactBlock/index.js +9 -0
- 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/KeyPerformanceIndicator/KeyPerformanceIndicator.js +57 -0
- package/es/KeyPerformanceIndicator/index.js +9 -0
- 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 +4 -1
- package/es/locale/messages-en.js +6 -1
- package/es/locale/messages-nb.js +6 -1
- package/es/locale/messages-nn.js +6 -1
- package/es/locale/messages-se.js +83 -78
- package/es/locale/messages-sma.js +6 -1
- 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/ContactBlock/ContactBlock.d.ts +20 -0
- package/lib/ContactBlock/ContactBlock.js +154 -0
- package/lib/ContactBlock/index.d.ts +9 -0
- package/lib/ContactBlock/index.js +17 -0
- 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/KeyPerformanceIndicator/KeyPerformanceIndicator.d.ts +8 -0
- package/lib/KeyPerformanceIndicator/KeyPerformanceIndicator.js +62 -0
- package/lib/KeyPerformanceIndicator/index.d.ts +1 -0
- package/lib/KeyPerformanceIndicator/index.js +13 -0
- 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 +3 -0
- package/lib/index.js +21 -0
- package/lib/locale/messages-en.d.ts +2 -0
- package/lib/locale/messages-en.js +12 -1
- package/lib/locale/messages-nb.d.ts +2 -0
- package/lib/locale/messages-nb.js +12 -1
- package/lib/locale/messages-nn.d.ts +2 -0
- package/lib/locale/messages-nn.js +12 -1
- package/lib/locale/messages-se.d.ts +2 -0
- package/lib/locale/messages-se.js +89 -78
- package/lib/locale/messages-sma.d.ts +2 -0
- package/lib/locale/messages-sma.js +12 -1
- package/lib/model/ContentType.js +4 -1
- package/package.json +16 -16
- package/src/BlogPost/BlogPost.stories.tsx +4 -3
- package/src/ContactBlock/ContactBlock.tsx +144 -0
- package/src/ContactBlock/Contactblock.stories.tsx +88 -0
- package/src/ContactBlock/index.ts +10 -0
- package/src/KeyPerformanceIndicator/KeyPerformanceIndicator.stories.tsx +79 -0
- package/src/KeyPerformanceIndicator/KeyPerformanceIndicator.tsx +66 -0
- package/src/KeyPerformanceIndicator/index.ts +9 -0
- 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 +3 -0
- package/src/locale/messages-en.ts +2 -0
- package/src/locale/messages-nb.ts +2 -0
- package/src/locale/messages-nn.ts +2 -0
- package/src/locale/messages-se.ts +79 -77
- package/src/locale/messages-sma.ts +2 -0
- 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/lib/index.d.ts
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';
|
|
@@ -96,3 +97,5 @@ export type { TreeStructureProps } from './TreeStructure';
|
|
|
96
97
|
export { SearchField, SearchResultList, SearchResultItem, ActiveFilters, ToggleSearchButton } from './Search';
|
|
97
98
|
export { default as LetterFilter } from './LetterFilter';
|
|
98
99
|
export { BlogPostV2 } from './BlogPost';
|
|
100
|
+
export { KeyPerformanceIndicator } from './KeyPerformanceIndicator';
|
|
101
|
+
export { default as ContactBlock } from './ContactBlock';
|
package/lib/index.js
CHANGED
|
@@ -214,6 +214,12 @@ Object.defineProperty(exports, "ConceptNotionV2", {
|
|
|
214
214
|
return _Embed.ConceptNotionV2;
|
|
215
215
|
}
|
|
216
216
|
});
|
|
217
|
+
Object.defineProperty(exports, "ContactBlock", {
|
|
218
|
+
enumerable: true,
|
|
219
|
+
get: function get() {
|
|
220
|
+
return _ContactBlock["default"];
|
|
221
|
+
}
|
|
222
|
+
});
|
|
217
223
|
Object.defineProperty(exports, "Content", {
|
|
218
224
|
enumerable: true,
|
|
219
225
|
get: function get() {
|
|
@@ -586,6 +592,12 @@ Object.defineProperty(exports, "InfoWidget", {
|
|
|
586
592
|
return _InfoWidget["default"];
|
|
587
593
|
}
|
|
588
594
|
});
|
|
595
|
+
Object.defineProperty(exports, "KeyPerformanceIndicator", {
|
|
596
|
+
enumerable: true,
|
|
597
|
+
get: function get() {
|
|
598
|
+
return _KeyPerformanceIndicator.KeyPerformanceIndicator;
|
|
599
|
+
}
|
|
600
|
+
});
|
|
589
601
|
Object.defineProperty(exports, "LanguageSelector", {
|
|
590
602
|
enumerable: true,
|
|
591
603
|
get: function get() {
|
|
@@ -1240,6 +1252,12 @@ Object.defineProperty(exports, "messagesSE", {
|
|
|
1240
1252
|
return _messagesSe["default"];
|
|
1241
1253
|
}
|
|
1242
1254
|
});
|
|
1255
|
+
Object.defineProperty(exports, "messagesSMA", {
|
|
1256
|
+
enumerable: true,
|
|
1257
|
+
get: function get() {
|
|
1258
|
+
return _messagesSma["default"];
|
|
1259
|
+
}
|
|
1260
|
+
});
|
|
1243
1261
|
Object.defineProperty(exports, "resourceTypeColor", {
|
|
1244
1262
|
enumerable: true,
|
|
1245
1263
|
get: function get() {
|
|
@@ -1308,6 +1326,7 @@ var _messagesNb = _interopRequireDefault(require("./locale/messages-nb"));
|
|
|
1308
1326
|
var _messagesNn = _interopRequireDefault(require("./locale/messages-nn"));
|
|
1309
1327
|
var _messagesEn = _interopRequireDefault(require("./locale/messages-en"));
|
|
1310
1328
|
var _messagesSe = _interopRequireDefault(require("./locale/messages-se"));
|
|
1329
|
+
var _messagesSma = _interopRequireDefault(require("./locale/messages-sma"));
|
|
1311
1330
|
var _RadioButtonGroup = _interopRequireDefault(require("./RadioButtonGroup"));
|
|
1312
1331
|
var _ToolboxPage = require("./ToolboxPage");
|
|
1313
1332
|
var _Topic = _interopRequireDefault(require("./Topic"));
|
|
@@ -1336,6 +1355,8 @@ var _TreeStructure = require("./TreeStructure");
|
|
|
1336
1355
|
var _Search = require("./Search");
|
|
1337
1356
|
var _LetterFilter = _interopRequireDefault(require("./LetterFilter"));
|
|
1338
1357
|
var _BlogPost = require("./BlogPost");
|
|
1358
|
+
var _KeyPerformanceIndicator = require("./KeyPerformanceIndicator");
|
|
1359
|
+
var _ContactBlock = _interopRequireDefault(require("./ContactBlock"));
|
|
1339
1360
|
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); }
|
|
1340
1361
|
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; }
|
|
1341
1362
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -8,9 +8,18 @@ var _licenses = require("@ndla/licenses");
|
|
|
8
8
|
var _model = _interopRequireDefault(require("../model"));
|
|
9
9
|
var _subjectCategories, _subjectTypes, _contentTypeResultsSh, _contentTypeResultsSh2, _contentTypeResultsNo;
|
|
10
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
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); }
|
|
11
12
|
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; }
|
|
12
13
|
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; }
|
|
13
|
-
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; }
|
|
14
|
+
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; }
|
|
15
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
16
|
+
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); } /**
|
|
17
|
+
* Copyright (c) 2018-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
|
+
*/
|
|
14
23
|
var contentTypes = _model["default"].contentTypes,
|
|
15
24
|
subjectCategories = _model["default"].subjectCategories,
|
|
16
25
|
subjectTypes = _model["default"].subjectTypes;
|
|
@@ -916,6 +925,8 @@ var messages = _objectSpread(_objectSpread({
|
|
|
916
925
|
loading: 'Loading',
|
|
917
926
|
title: 'Title',
|
|
918
927
|
save: 'Save',
|
|
928
|
+
photo: 'Photo',
|
|
929
|
+
email: 'Email',
|
|
919
930
|
image: {
|
|
920
931
|
altText: 'Alt-text',
|
|
921
932
|
caption: 'Caption',
|
|
@@ -8,9 +8,18 @@ var _licenses = require("@ndla/licenses");
|
|
|
8
8
|
var _model = _interopRequireDefault(require("../model"));
|
|
9
9
|
var _subjectCategories, _subjectTypes, _contentTypeResultsSh, _contentTypeResultsSh2, _contentTypeResultsNo;
|
|
10
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
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); }
|
|
11
12
|
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; }
|
|
12
13
|
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; }
|
|
13
|
-
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; }
|
|
14
|
+
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; }
|
|
15
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
16
|
+
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); } /**
|
|
17
|
+
* Copyright (c) 2018-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
|
+
*/
|
|
14
23
|
var contentTypes = _model["default"].contentTypes,
|
|
15
24
|
subjectCategories = _model["default"].subjectCategories,
|
|
16
25
|
subjectTypes = _model["default"].subjectTypes;
|
|
@@ -916,6 +925,8 @@ var messages = _objectSpread(_objectSpread({
|
|
|
916
925
|
title: 'Tittel',
|
|
917
926
|
cancel: 'Avbryt',
|
|
918
927
|
save: 'Lagre',
|
|
928
|
+
photo: 'Foto',
|
|
929
|
+
email: 'E-post',
|
|
919
930
|
image: {
|
|
920
931
|
altText: 'Alt-tekst',
|
|
921
932
|
caption: 'Bildetekst',
|
|
@@ -8,9 +8,18 @@ var _licenses = require("@ndla/licenses");
|
|
|
8
8
|
var _model = _interopRequireDefault(require("../model"));
|
|
9
9
|
var _subjectCategories, _subjectTypes, _contentTypeResultsSh, _contentTypeResultsSh2, _contentTypeResultsNo;
|
|
10
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
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); }
|
|
11
12
|
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; }
|
|
12
13
|
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; }
|
|
13
|
-
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; }
|
|
14
|
+
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; }
|
|
15
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
16
|
+
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); } /**
|
|
17
|
+
* Copyright (c) 2018-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
|
+
*/
|
|
14
23
|
var contentTypes = _model["default"].contentTypes,
|
|
15
24
|
subjectCategories = _model["default"].subjectCategories,
|
|
16
25
|
subjectTypes = _model["default"].subjectTypes;
|
|
@@ -916,6 +925,8 @@ var messages = _objectSpread(_objectSpread({
|
|
|
916
925
|
loading: 'Laster',
|
|
917
926
|
title: 'Tittel',
|
|
918
927
|
save: 'Lagre',
|
|
928
|
+
photo: 'Foto',
|
|
929
|
+
email: 'E-post',
|
|
919
930
|
image: {
|
|
920
931
|
altText: 'Alt-tekst',
|
|
921
932
|
caption: 'Bilettekst',
|
|
@@ -8,9 +8,18 @@ var _licenses = require("@ndla/licenses");
|
|
|
8
8
|
var _model = _interopRequireDefault(require("../model"));
|
|
9
9
|
var _subjectCategories, _subjectTypes, _contentTypeResultsSh, _contentTypeResultsSh2, _contentTypeResultsNo;
|
|
10
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
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); }
|
|
11
12
|
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; }
|
|
12
13
|
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; }
|
|
13
|
-
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; }
|
|
14
|
+
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; }
|
|
15
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
16
|
+
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); } /**
|
|
17
|
+
* Copyright (c) 2018-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
|
+
*/
|
|
14
23
|
var contentTypes = _model["default"].contentTypes,
|
|
15
24
|
subjectCategories = _model["default"].subjectCategories,
|
|
16
25
|
subjectTypes = _model["default"].subjectTypes;
|
|
@@ -248,23 +257,23 @@ var messages = _objectSpread(_objectSpread({
|
|
|
248
257
|
archived: 'Dát leat heaittihuvvon fága mii ii ođasmahttojuvvo.'
|
|
249
258
|
},
|
|
250
259
|
subjectsPage: {
|
|
251
|
-
filterSubjects: '
|
|
252
|
-
scrollToGroup: '
|
|
253
|
-
goToTop: '
|
|
254
|
-
alphabeticSort: '
|
|
255
|
-
subjectGroup: '
|
|
260
|
+
filterSubjects: 'Filtarastte fágaid',
|
|
261
|
+
scrollToGroup: 'Njuike jovkui',
|
|
262
|
+
goToTop: 'Mana álgui',
|
|
263
|
+
alphabeticSort: 'Fágat alfabehtalaččat',
|
|
264
|
+
subjectGroup: 'Joavku "{{ category }}"',
|
|
256
265
|
allSubjects: 'Buot fágat',
|
|
257
|
-
myFavoriteSubjects: '
|
|
266
|
+
myFavoriteSubjects: 'Mu oiddotfágat',
|
|
258
267
|
errorDescription: 'Šállošat, boasttuvuohta čuožžilii fágaid viežžamis.',
|
|
259
268
|
chooseSubject: 'Vállje fága',
|
|
260
|
-
confirmRemove: '
|
|
261
|
-
addFavorite: '
|
|
262
|
-
removeFavorite: '
|
|
263
|
-
removeConfirmed: '{{subject}}
|
|
264
|
-
addConfirmed: '{{subject}}
|
|
265
|
-
subjectFavoritePitch: '
|
|
266
|
-
subjectFavoriteGuide: '
|
|
267
|
-
shows: '
|
|
269
|
+
confirmRemove: 'Leat go sihkar ahte áiggut sihkkut {{subject}} oiddotfágain?',
|
|
270
|
+
addFavorite: 'Lasit oiddotfága',
|
|
271
|
+
removeFavorite: 'Sihko oiddotfága',
|
|
272
|
+
removeConfirmed: '{{subject}} lea sihkkojuvvon oiddotfágain',
|
|
273
|
+
addConfirmed: '{{subject}} lea lasihuvvon oiddotfágan',
|
|
274
|
+
subjectFavoritePitch: 'Háliidat go dán fága merket oiddotfágan?',
|
|
275
|
+
subjectFavoriteGuide: 'Vai galggat sáhttit merket fága oiddohin, fertet logget sisa Mu NDLAii. Fága gávnnat bajimusas siiddus go leat sisaloggen.',
|
|
276
|
+
shows: 'Čájeha'
|
|
268
277
|
},
|
|
269
278
|
topicPage: {
|
|
270
279
|
articleErrorDescription: 'Šállošat, boasttuvuohta čuožžilii fáddáčilgehusa viežžamis.',
|
|
@@ -325,33 +334,33 @@ var messages = _objectSpread(_objectSpread({
|
|
|
325
334
|
toolboxTeachers: 'Reaidokássa - oahpaheddjiide',
|
|
326
335
|
film: 'NDLA Filbma',
|
|
327
336
|
about: {
|
|
328
|
-
title: '
|
|
329
|
-
numbers: '
|
|
330
|
-
keyPersonnel: '
|
|
331
|
-
vacancies: '
|
|
332
|
-
vision: '
|
|
333
|
-
communityPurpose: '
|
|
334
|
-
history: '
|
|
335
|
-
cooperation: '
|
|
336
|
-
faq: '
|
|
337
|
-
follow: '
|
|
338
|
-
whoAreWe: '
|
|
339
|
-
whatWeDo: '
|
|
340
|
-
careers: '
|
|
341
|
-
contactUs: '
|
|
342
|
-
organizing: '
|
|
343
|
-
articlesOfAssociation: '
|
|
337
|
+
title: 'NDLA birra',
|
|
338
|
+
numbers: 'Logut ja raporttat',
|
|
339
|
+
keyPersonnel: 'Čoavddaolbmot',
|
|
340
|
+
vacancies: 'Almmuhusat',
|
|
341
|
+
vision: 'Niehkodoaivva ja árvvut',
|
|
342
|
+
communityPurpose: 'Min servvodatdoaibma',
|
|
343
|
+
history: 'NDLA historjá',
|
|
344
|
+
cooperation: 'Min ovttasbarggu',
|
|
345
|
+
faq: 'Dávjá jerron jearaladagat',
|
|
346
|
+
follow: 'Čuovo min sosiála medijaid',
|
|
347
|
+
whoAreWe: 'Geat leat mii?',
|
|
348
|
+
whatWeDo: 'Maid mii bargat?',
|
|
349
|
+
careers: 'Barggut min fitnodagas',
|
|
350
|
+
contactUs: 'Váldde oktavuođa minguin',
|
|
351
|
+
organizing: 'Organiseren',
|
|
352
|
+
articlesOfAssociation: 'Njuolggadusat'
|
|
344
353
|
}
|
|
345
354
|
},
|
|
346
355
|
menu: {
|
|
347
|
-
button: '
|
|
348
|
-
goToMainMenu: '
|
|
356
|
+
button: 'Fállu',
|
|
357
|
+
goToMainMenu: 'Mana váldofállui',
|
|
349
358
|
close: 'Govčča',
|
|
350
359
|
goTo: 'Mana deike',
|
|
351
360
|
search: 'Oza',
|
|
352
361
|
toFrontpage: 'Ovdasiidui',
|
|
353
362
|
subjectOverview: 'Buot fágat',
|
|
354
|
-
title: '
|
|
363
|
+
title: 'Raba fálu',
|
|
355
364
|
modalLabel: 'Vállje sisdoalu',
|
|
356
365
|
subjectPage: 'Ovdasiidu fágas',
|
|
357
366
|
backToSubjectFrontpage: 'Ruovttoluotta fága ovdasiidui',
|
|
@@ -458,9 +467,9 @@ var messages = _objectSpread(_objectSpread({
|
|
|
458
467
|
competenceGoalClose: 'Govčča',
|
|
459
468
|
competenceGoalTitle: 'Mihttun lea ahte oahppi galgá máhttit:',
|
|
460
469
|
competenceTabLK20label: 'Gealbomihttomearri',
|
|
461
|
-
competenceTabLK20Tooltip: '
|
|
470
|
+
competenceTabLK20Tooltip: 'Čájet gealbomihtuid',
|
|
462
471
|
competenceTabCorelabel: 'Guovddášelemeanta',
|
|
463
|
-
competenceTabCoreTooltip: '
|
|
472
|
+
competenceTabCoreTooltip: 'Čájet guovddášelemeanttaid',
|
|
464
473
|
competenceGoalItem: {
|
|
465
474
|
title: 'Gealbomihttomearit ja árvvoštallan'
|
|
466
475
|
},
|
|
@@ -599,21 +608,21 @@ var messages = _objectSpread(_objectSpread({
|
|
|
599
608
|
},
|
|
600
609
|
figure: {
|
|
601
610
|
button: {
|
|
602
|
-
alternative: 'Lonut mas dulkojuvvo oaidninváttuid ektui',
|
|
611
|
+
alternative: 'Lonut siidui mas dulkojuvvo oaidninváttuid ektui',
|
|
603
612
|
original: 'Lonut orginála videoi'
|
|
604
613
|
}
|
|
605
614
|
},
|
|
606
615
|
footer: {
|
|
607
616
|
aboutNDLA: 'NDLA birra',
|
|
608
|
-
socialMedia: '
|
|
617
|
+
socialMedia: 'Sosiála mediat',
|
|
609
618
|
selectLanguage: 'Vállje giela (language): ',
|
|
610
619
|
vision: 'Ovttas hábmet boahtteáiggi oahppama',
|
|
611
620
|
linksHeader: 'Eará NDLA neahttabáikkit',
|
|
612
621
|
info: 'Neahttabáiki lea ráhkaduvvon NDLA bokte rabas gáldokodain.',
|
|
613
622
|
editorInChief: 'Vásttolaš doaimmaheaddji:',
|
|
614
|
-
availabilityLink: '
|
|
623
|
+
availabilityLink: 'Beasatlašvuođajulggaštus',
|
|
615
624
|
privacyLink: 'Persovdnasuodjalusjulggaštus ja diehtočoahkku (gáhkožat)',
|
|
616
|
-
cookiesLink: 'Julggaštus
|
|
625
|
+
cookiesLink: 'Julggaštus diehtočoahku ektui (gáhkožat)',
|
|
617
626
|
socialMediaLinks: {
|
|
618
627
|
facebook: 'NDLA Facebookas',
|
|
619
628
|
facebookAria: 'Fina NDLA siiddus Facebookas',
|
|
@@ -631,7 +640,7 @@ var messages = _objectSpread(_objectSpread({
|
|
|
631
640
|
ndlaLinks: {
|
|
632
641
|
ndla: 'ndla.no',
|
|
633
642
|
omNdla: 'NDLA birra',
|
|
634
|
-
aboutNdla: '
|
|
643
|
+
aboutNdla: 'NDLA birra',
|
|
635
644
|
blog: 'Fágablogga',
|
|
636
645
|
tips: 'Cavgileapmi ohppiide',
|
|
637
646
|
fyr: 'FYR-prošeakta',
|
|
@@ -723,7 +732,7 @@ var messages = _objectSpread(_objectSpread({
|
|
|
723
732
|
hits: '{{count}} deaivama'
|
|
724
733
|
},
|
|
725
734
|
notions: {
|
|
726
|
-
tags: '
|
|
735
|
+
tags: 'Listu ja filttar',
|
|
727
736
|
usedIn: 'Adnojuvvo dás',
|
|
728
737
|
closeNotion: 'Govčča'
|
|
729
738
|
},
|
|
@@ -792,7 +801,7 @@ var messages = _objectSpread(_objectSpread({
|
|
|
792
801
|
shortFilm: 'Oanehis filbma',
|
|
793
802
|
all: 'Buot filmmat A-Å'
|
|
794
803
|
},
|
|
795
|
-
allMovieGroupTitleLabel: '
|
|
804
|
+
allMovieGroupTitleLabel: 'Filmmat mat álget {{letter}}',
|
|
796
805
|
moreAboutNdlaFilm: {
|
|
797
806
|
header: 'NDLA Filbma',
|
|
798
807
|
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.',
|
|
@@ -885,7 +894,7 @@ var messages = _objectSpread(_objectSpread({
|
|
|
885
894
|
frontpageMultidisciplinarySubject: {
|
|
886
895
|
heading: 'Fágaidrasttideaddji fáttát',
|
|
887
896
|
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.',
|
|
888
|
-
linkText: 'Geahča
|
|
897
|
+
linkText: 'Geahča keisaid fágaidrasttideaddji fáttáin.',
|
|
889
898
|
publicHealthTopic: 'Álbmotdearvvašvuohta ja eallimis birgen',
|
|
890
899
|
democracyTopic: 'Demokratiija ja mielboargárvuohta',
|
|
891
900
|
sustainableTopic: 'Guoddevaš ovdáneapmi',
|
|
@@ -905,7 +914,7 @@ var messages = _objectSpread(_objectSpread({
|
|
|
905
914
|
loadingText: 'Viežžá fáttá'
|
|
906
915
|
},
|
|
907
916
|
multidisciplinarySubject: {
|
|
908
|
-
subjectsLinksDescription: '
|
|
917
|
+
subjectsLinksDescription: 'Keisa mii gullá'
|
|
909
918
|
},
|
|
910
919
|
multibutton: {
|
|
911
920
|
open: 'Raba fálu',
|
|
@@ -916,6 +925,8 @@ var messages = _objectSpread(_objectSpread({
|
|
|
916
925
|
title: 'Tihttel',
|
|
917
926
|
cancel: 'Botkke',
|
|
918
927
|
save: 'Vurke',
|
|
928
|
+
photo: 'Foto',
|
|
929
|
+
email: 'E-post',
|
|
919
930
|
image: {
|
|
920
931
|
altText: 'Molssaevttolaš teaksta',
|
|
921
932
|
caption: 'Govvateaksta',
|
|
@@ -1027,7 +1038,7 @@ var messages = _objectSpread(_objectSpread({
|
|
|
1027
1038
|
mail: 'Eboasta',
|
|
1028
1039
|
username: 'Geavahan namma',
|
|
1029
1040
|
mobile: 'Telefonnummar',
|
|
1030
|
-
preferredLanguage: '
|
|
1041
|
+
preferredLanguage: 'Sávvojuvvon giella',
|
|
1031
1042
|
groupTypes: {
|
|
1032
1043
|
basic: 'Vuođđojoavku',
|
|
1033
1044
|
teaching: 'Oahpahusjoavku',
|
|
@@ -1051,8 +1062,8 @@ var messages = _objectSpread(_objectSpread({
|
|
|
1051
1062
|
resources: '{{count}} resursa',
|
|
1052
1063
|
resources_plural: '{{count}} resurssat',
|
|
1053
1064
|
folders: '{{count}} máhpat',
|
|
1054
|
-
folders_plural: '{{count}}
|
|
1055
|
-
settings: '
|
|
1065
|
+
folders_plural: '{{count}} máhpat',
|
|
1066
|
+
settings: 'Válljemat',
|
|
1056
1067
|
folder: {
|
|
1057
1068
|
folder: 'Máhppa',
|
|
1058
1069
|
"delete": 'Sihko máhpa',
|
|
@@ -1068,27 +1079,27 @@ var messages = _objectSpread(_objectSpread({
|
|
|
1068
1079
|
onDragCancel: 'Sirdin botkejuvvui. Máhppa {{name}} lea luitojuvvon.',
|
|
1069
1080
|
dragHandle: 'Ordne máhpa {{name}}',
|
|
1070
1081
|
sharing: {
|
|
1071
|
-
share: '
|
|
1072
|
-
shared: '
|
|
1073
|
-
unShare: '
|
|
1074
|
-
link: '
|
|
1082
|
+
share: 'Juoge máhpa',
|
|
1083
|
+
shared: 'Juogaduvvon',
|
|
1084
|
+
unShare: 'Juohkin lea loahpahuvvon. Máhppa ii leat šat juogaduvvon.',
|
|
1085
|
+
link: 'Liŋka lea máŋgejuvvon.',
|
|
1075
1086
|
header: {
|
|
1076
|
-
"private": '
|
|
1077
|
-
shared: '
|
|
1078
|
-
unShare: '
|
|
1087
|
+
"private": 'Áiggut go juogadit dán máhpa?',
|
|
1088
|
+
shared: 'Dát máhpa lea juogaduvvon.',
|
|
1089
|
+
unShare: 'Háliidat go loahpahit máhpa juogadeami?'
|
|
1079
1090
|
},
|
|
1080
1091
|
description: {
|
|
1081
|
-
copy: '
|
|
1082
|
-
"private": '
|
|
1083
|
-
private2: '
|
|
1084
|
-
shared: '
|
|
1085
|
-
unShare: '
|
|
1092
|
+
copy: 'Máŋge ja juoge dán liŋkka:',
|
|
1093
|
+
"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.',
|
|
1094
|
+
private2: 'Go juogadat máhpa juogát buot máhpa sisdoalu, oktan vuollemáhpaiguin ja resursaiguin',
|
|
1095
|
+
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',
|
|
1096
|
+
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'
|
|
1086
1097
|
},
|
|
1087
1098
|
button: {
|
|
1088
|
-
share: '
|
|
1089
|
-
preview: '
|
|
1090
|
-
unShare: '
|
|
1091
|
-
shareLink: '
|
|
1099
|
+
share: 'Juoge máhpa',
|
|
1100
|
+
preview: 'Čájet ovdagihtii juogaduvvon máhpa',
|
|
1101
|
+
unShare: 'Loahpat juogdeami',
|
|
1102
|
+
shareLink: 'Máŋge liŋkka'
|
|
1092
1103
|
}
|
|
1093
1104
|
}
|
|
1094
1105
|
},
|
|
@@ -1118,15 +1129,15 @@ var messages = _objectSpread(_objectSpread({
|
|
|
1118
1129
|
detailView: 'Bienalaš oppalašlistu',
|
|
1119
1130
|
shortView: 'Oanehis listu',
|
|
1120
1131
|
sharedFolder: {
|
|
1121
|
-
info: '
|
|
1122
|
-
firstShared: '
|
|
1123
|
-
drawerButton: '
|
|
1124
|
-
drawerTitle: '
|
|
1125
|
-
learningpathUnsupported: '
|
|
1132
|
+
info: 'Dán máhpas lea NDLA fágasisdoallu ja bargobihtát, čohkkejuvvon oahpaheaddjis.',
|
|
1133
|
+
firstShared: 'Máhppa juogaduvvui vuosttaš geardde {{date}}',
|
|
1134
|
+
drawerButton: 'Čájet máhpaid ja resurssaid',
|
|
1135
|
+
drawerTitle: 'Máhpat ja resurssat',
|
|
1136
|
+
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.',
|
|
1126
1137
|
description: {
|
|
1127
|
-
info1: '
|
|
1128
|
-
info2: '
|
|
1129
|
-
info3: '
|
|
1138
|
+
info1: 'Dán máhpas gávnnat fágaávdnasiid ja bargobihtáid NDLAs. Oahpaheaddji lea čohkken artihkkaliid ja bidjan daid ortnetvurrui.',
|
|
1139
|
+
info2: 'Sáhtát bláđet artihkkaliid fálu vehkiin.',
|
|
1140
|
+
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.'
|
|
1130
1141
|
},
|
|
1131
1142
|
willOpenInNewTab: 'Åpnes i ny fane.'
|
|
1132
1143
|
},
|
|
@@ -1152,7 +1163,7 @@ var messages = _objectSpread(_objectSpread({
|
|
|
1152
1163
|
privacyLink: 'https://om.ndla.no/gdpr',
|
|
1153
1164
|
questions: {
|
|
1154
1165
|
question: 'Smiehtat go maidege?',
|
|
1155
|
-
ask: 'Jeara min
|
|
1166
|
+
ask: 'Jeara min čeattas'
|
|
1156
1167
|
},
|
|
1157
1168
|
wishToDelete: 'It go hálit geavaheaddjiprofiila min geahčen šat?',
|
|
1158
1169
|
terms: {
|
|
@@ -1200,7 +1211,7 @@ var messages = _objectSpread(_objectSpread({
|
|
|
1200
1211
|
tagsUpdated: 'Fáddágilkorat leat ođastuvvon',
|
|
1201
1212
|
show: 'Čájet',
|
|
1202
1213
|
save: 'Vurke resurssa',
|
|
1203
|
-
onDragStart: '
|
|
1214
|
+
onDragStart: 'Rohtte resurssa {{name}}. Resursa lea {{index}} posišuvnnas čuovvovačča {{length}} posišuvnnas',
|
|
1204
1215
|
onDragOver: 'Resursa {{name}} sirdojuvvui {{index}} posišuvdnii {{length}} posišuvnnas',
|
|
1205
1216
|
onDragOverMissingOver: 'Resursa {{name}} ii leat šat luoitinposišuvnnas',
|
|
1206
1217
|
onDragEnd: 'Resursa {{name}} luitojuvvui {{index}} posišuvdnii {{length}} posišuvnnas',
|
|
@@ -1236,12 +1247,12 @@ var messages = _objectSpread(_objectSpread({
|
|
|
1236
1247
|
help: 'Veahket'
|
|
1237
1248
|
},
|
|
1238
1249
|
programme: {
|
|
1239
|
-
grades: '
|
|
1250
|
+
grades: 'Ceahkki'
|
|
1240
1251
|
},
|
|
1241
1252
|
embed: {
|
|
1242
|
-
conceptListError: '
|
|
1243
|
-
linkError: '
|
|
1244
|
-
unsupported: "Embed {{type}}
|
|
1253
|
+
conceptListError: 'Ii sáhttán čájehit čilgehuslisttu',
|
|
1254
|
+
linkError: 'Ii sáhttán čájehit liŋkka.',
|
|
1255
|
+
unsupported: "Embed {{type}} ii dorjojuvvo."
|
|
1245
1256
|
}
|
|
1246
1257
|
});
|
|
1247
1258
|
var _default = messages;
|
|
@@ -8,9 +8,18 @@ var _licenses = require("@ndla/licenses");
|
|
|
8
8
|
var _model = _interopRequireDefault(require("../model"));
|
|
9
9
|
var _subjectCategories, _subjectTypes, _contentTypeResultsSh, _contentTypeResultsSh2, _contentTypeResultsNo;
|
|
10
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
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); }
|
|
11
12
|
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; }
|
|
12
13
|
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; }
|
|
13
|
-
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; }
|
|
14
|
+
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; }
|
|
15
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
16
|
+
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); } /**
|
|
17
|
+
* Copyright (c) 2018-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
|
+
*/
|
|
14
23
|
var contentTypes = _model["default"].contentTypes,
|
|
15
24
|
subjectCategories = _model["default"].subjectCategories,
|
|
16
25
|
subjectTypes = _model["default"].subjectTypes;
|
|
@@ -916,6 +925,8 @@ var messages = _objectSpread(_objectSpread({
|
|
|
916
925
|
title: 'Tihtele',
|
|
917
926
|
cancel: 'Orrejh',
|
|
918
927
|
save: 'Vöörhkh',
|
|
928
|
+
photo: 'Foto',
|
|
929
|
+
email: 'E-post',
|
|
919
930
|
image: {
|
|
920
931
|
altText: 'Alt-tekst',
|
|
921
932
|
caption: 'Bildetekst',
|
package/lib/model/ContentType.js
CHANGED
|
@@ -5,7 +5,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.contentTypes = exports.contentTypeMapping = exports.TOPIC = exports.TASKS_AND_ACTIVITIES = exports.SUBJECT_MATERIAL = exports.SUBJECT = exports.SOURCE_MATERIAL = exports.RESOURCE_TYPE_TASKS_AND_ACTIVITIES = exports.RESOURCE_TYPE_SUBJECT_MATERIAL = exports.RESOURCE_TYPE_SOURCE_MATERIAL = exports.RESOURCE_TYPE_LEARNING_PATH = exports.RESOURCE_TYPE_EXTERNAL_LEARNING_RESOURCES = exports.RESOURCE_TYPE_ASSESSMENT_RESOURCES = exports.MULTIDISCIPLINARY_TOPIC = exports.ListOfContentTypes = exports.LEARNING_PATH = exports.EXTERNAL_LEARNING_RESOURCES = exports.ASSESSMENT_RESOURCES = void 0;
|
|
7
7
|
var _contentTypeMapping;
|
|
8
|
-
function
|
|
8
|
+
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); }
|
|
9
|
+
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; }
|
|
10
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
11
|
+
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); }
|
|
9
12
|
/**
|
|
10
13
|
* Copyright (c) 2017-present, NDLA.
|
|
11
14
|
*
|