@windward/core 0.0.5 → 0.0.6
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/README.md +2 -1
- package/components/Content/Blocks/ClickableIcons.vue +10 -1
- package/components/Content/Blocks/Feedback.vue +12 -4
- package/components/Content/Blocks/FeedbackTemplates/FeedbackQuestionOpenResponse.vue +10 -9
- package/components/Navigation/Items/AskTheExpert.vue +173 -0
- package/components/Settings/ClickableIconsSettings.vue +10 -5
- package/components/utils/ContentViewer.vue +15 -4
- package/components/utils/FillInBlank/FillInBlankInput.vue +208 -0
- package/components/utils/FillInBlank/FillInTheBlanksManager.vue +98 -0
- package/components/utils/MathExpressionEditor.vue +8 -6
- package/components/utils/TinyMCEWrapper.vue +48 -8
- package/components/utils/assets/tinymce/css/content.scss +9 -0
- package/components/utils/glossary/CourseGlossary.vue +12 -8
- package/components/utils/glossary/CourseGlossaryForm.vue +24 -5
- package/helpers/FillInBlankHelper.ts +55 -0
- package/helpers/GlossaryHelper.ts +4 -4
- package/helpers/tinymce/plugin.ts +99 -4
- package/i18n/en-US/components/content/blocks/feedback.ts +3 -0
- package/i18n/en-US/components/index.ts +0 -1
- package/i18n/en-US/components/navigation/ask_the_expert.ts +11 -0
- package/i18n/en-US/components/navigation/index.ts +2 -0
- package/i18n/en-US/components/utils/FillInBlank/FillInBlankInput.ts +13 -0
- package/i18n/en-US/components/utils/FillInBlank/FillInTheBlanksManager.ts +11 -0
- package/i18n/en-US/components/utils/FillInBlank/index.ts +6 -0
- package/i18n/en-US/components/utils/index.ts +2 -1
- package/i18n/en-US/components/utils/tiny_mce_wrapper.ts +1 -0
- package/i18n/en-US/shared/menu.ts +1 -0
- package/i18n/es-ES/components/content/blocks/feedback.ts +29 -0
- package/i18n/es-ES/components/content/blocks/image.ts +5 -0
- package/i18n/es-ES/components/content/blocks/index.ts +15 -0
- package/i18n/es-ES/components/content/blocks/tab.ts +4 -0
- package/i18n/es-ES/components/content/blocks/table.ts +4 -0
- package/i18n/es-ES/components/content/blocks/user_upload.ts +13 -0
- package/i18n/es-ES/components/content/blocks/video.ts +55 -0
- package/i18n/es-ES/components/content/index.ts +5 -0
- package/i18n/es-ES/components/index.ts +12 -0
- package/i18n/es-ES/components/navigation/ask_the_expert.ts +11 -0
- package/i18n/es-ES/components/navigation/image.ts +4 -0
- package/i18n/es-ES/components/navigation/index.ts +7 -0
- package/i18n/es-ES/components/navigation/user_upload.ts +3 -0
- package/i18n/es-ES/components/settings/clickable_icon.ts +10 -0
- package/i18n/es-ES/components/settings/image.ts +1 -0
- package/i18n/es-ES/components/settings/index.ts +13 -0
- package/i18n/es-ES/components/settings/text_editor.ts +7 -0
- package/i18n/es-ES/components/settings/user_upload.ts +11 -0
- package/i18n/es-ES/components/settings/video.ts +13 -0
- package/i18n/es-ES/components/utils/index.ts +5 -0
- package/i18n/es-ES/components/utils/tiny_mce_wrapper.ts +18 -0
- package/i18n/es-ES/index.ts +16 -0
- package/i18n/es-ES/modules/index.ts +5 -0
- package/i18n/es-ES/pages/glossary.ts +7 -0
- package/i18n/es-ES/pages/index.ts +7 -0
- package/i18n/es-ES/pages/user_upload.ts +3 -0
- package/i18n/es-ES/shared/content_blocks.ts +20 -0
- package/i18n/es-ES/shared/index.ts +11 -0
- package/i18n/es-ES/shared/menu.ts +3 -0
- package/i18n/es-ES/shared/permission.ts +15 -0
- package/i18n/es-ES/shared/settings.ts +16 -0
- package/i18n/sv-SE/components/content/blocks/feedback.ts +29 -0
- package/i18n/sv-SE/components/content/blocks/image.ts +5 -0
- package/i18n/sv-SE/components/content/blocks/index.ts +15 -0
- package/i18n/sv-SE/components/content/blocks/tab.ts +4 -0
- package/i18n/sv-SE/components/content/blocks/table.ts +4 -0
- package/i18n/sv-SE/components/content/blocks/user_upload.ts +13 -0
- package/i18n/sv-SE/components/content/blocks/video.ts +53 -0
- package/i18n/sv-SE/components/content/index.ts +5 -0
- package/i18n/sv-SE/components/index.ts +12 -0
- package/i18n/sv-SE/components/navigation/ask_the_expert.ts +11 -0
- package/i18n/sv-SE/components/navigation/image.ts +4 -0
- package/i18n/sv-SE/components/navigation/index.ts +7 -0
- package/i18n/sv-SE/components/navigation/user_upload.ts +3 -0
- package/i18n/sv-SE/components/settings/clickable_icon.ts +10 -0
- package/i18n/sv-SE/components/settings/image.ts +1 -0
- package/i18n/sv-SE/components/settings/index.ts +13 -0
- package/i18n/sv-SE/components/settings/text_editor.ts +7 -0
- package/i18n/sv-SE/components/settings/user_upload.ts +11 -0
- package/i18n/sv-SE/components/settings/video.ts +13 -0
- package/i18n/sv-SE/components/utils/index.ts +5 -0
- package/i18n/sv-SE/components/utils/tiny_mce_wrapper.ts +18 -0
- package/i18n/sv-SE/index.ts +16 -0
- package/i18n/sv-SE/modules/index.ts +5 -0
- package/i18n/sv-SE/pages/glossary.ts +7 -0
- package/i18n/sv-SE/pages/index.ts +7 -0
- package/i18n/sv-SE/pages/user_upload.ts +3 -0
- package/i18n/sv-SE/shared/content_blocks.ts +20 -0
- package/i18n/sv-SE/shared/index.ts +11 -0
- package/i18n/sv-SE/shared/menu.ts +3 -0
- package/i18n/sv-SE/shared/permission.ts +15 -0
- package/i18n/sv-SE/shared/settings.ts +15 -0
- package/package.json +1 -1
- package/plugin.js +25 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import image from './image'
|
|
2
|
+
import user_upload from './user_upload'
|
|
3
|
+
import text_editor from './text_editor'
|
|
4
|
+
import video from './video'
|
|
5
|
+
import clickable_icon from './clickable_icon'
|
|
6
|
+
|
|
7
|
+
export default {
|
|
8
|
+
image,
|
|
9
|
+
user_upload,
|
|
10
|
+
text_editor,
|
|
11
|
+
video,
|
|
12
|
+
clickable_icon
|
|
13
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
accept_multiple: 'Flera filer',
|
|
3
|
+
accept_types: 'Tillåtna filtyper ',
|
|
4
|
+
types: {
|
|
5
|
+
all: 'Alla filtyper',
|
|
6
|
+
all_image: 'Bilder - .jpg, .png, .gif',
|
|
7
|
+
all_word: 'Dokument - .doc och .docx',
|
|
8
|
+
all_excel: 'Kalkylblad - .xls och .xlsx',
|
|
9
|
+
all_zip: 'Komprimerad - .zip',
|
|
10
|
+
},
|
|
11
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
title: 'Videotitel',
|
|
3
|
+
sources: 'Källor',
|
|
4
|
+
playback: 'Uppspelning',
|
|
5
|
+
no_sources: 'Inga källor konfigurerade',
|
|
6
|
+
default_filename: 'Video',
|
|
7
|
+
playlist: 'Videos in Playlist',
|
|
8
|
+
playlist_name: 'Namn i spellista',
|
|
9
|
+
playlist_name_source_required:
|
|
10
|
+
'Välj en källa innan du namnger detta spellistaobjekt',
|
|
11
|
+
playlist_add: 'Lägg till en spellista Artikel',
|
|
12
|
+
playlist_remove: 'Ta bort detta spellistobjekt',
|
|
13
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
glossary: 'Ordlista',
|
|
3
|
+
term: 'Ordlista Term',
|
|
4
|
+
alternate_forms: 'Alternativa formulär',
|
|
5
|
+
definition: 'definition',
|
|
6
|
+
related_terms: 'relaterade termer',
|
|
7
|
+
table: {
|
|
8
|
+
default: 'Standardtabell',
|
|
9
|
+
default_white_line: 'Standard tabell vita linjer',
|
|
10
|
+
excel: 'Excel-tabell',
|
|
11
|
+
ledger: 'Ledger Table',
|
|
12
|
+
ledger_right: 'Right Aligned Ledger Tabell',
|
|
13
|
+
ledger_left: 'Vänsterjusterad reskontratabell',
|
|
14
|
+
project_management: 'Project Management',
|
|
15
|
+
t_chart: 'T Chart',
|
|
16
|
+
subject_report: 'Ämnesrapport',
|
|
17
|
+
},
|
|
18
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import pages from './pages/index'
|
|
2
|
+
import components from './components/index'
|
|
3
|
+
import shared from './shared/index'
|
|
4
|
+
import modules from './modules/index'
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
windward: {
|
|
8
|
+
core: {
|
|
9
|
+
name: 'Windward Core',
|
|
10
|
+
pages,
|
|
11
|
+
components,
|
|
12
|
+
shared,
|
|
13
|
+
modules,
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
title: {
|
|
3
|
+
assessment: 'Bedömning',
|
|
4
|
+
video: 'Video / Audio',
|
|
5
|
+
default_table: 'Standardtabell',
|
|
6
|
+
tab: 'Tab',
|
|
7
|
+
rich_text: 'Rich Text',
|
|
8
|
+
math: 'Math',
|
|
9
|
+
accordion: 'Accordion',
|
|
10
|
+
image: 'Bild',
|
|
11
|
+
user_upload: 'User Upload',
|
|
12
|
+
clickable_icons: 'Klickbara ikoner',
|
|
13
|
+
feedback: 'Feedback',
|
|
14
|
+
},
|
|
15
|
+
grouping: {
|
|
16
|
+
basic: 'Basic Components',
|
|
17
|
+
multimedia: 'Multimedia Files',
|
|
18
|
+
placeholder: 'Skriv in text här',
|
|
19
|
+
},
|
|
20
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
type_title: {
|
|
3
|
+
'plugin->windward->core->organization->course->user->feedback':
|
|
4
|
+
'Feedback access for the current user',
|
|
5
|
+
'plugin->windward->core->organization->course->user->userUpload':
|
|
6
|
+
'User upload block access for the current user',
|
|
7
|
+
},
|
|
8
|
+
|
|
9
|
+
type_description: {
|
|
10
|
+
'plugin->windward->core->organization->course->user->feedback':
|
|
11
|
+
'The current users access to the feedback block',
|
|
12
|
+
'plugin->windward->core->organization->course->user->userUpload':
|
|
13
|
+
'The current users access to the user upload block',
|
|
14
|
+
},
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
title: {
|
|
3
|
+
assessment: 'Bedömningsinställningar',
|
|
4
|
+
image: 'Bildinställningar',
|
|
5
|
+
user_upload: 'User Upload Settings',
|
|
6
|
+
tab_settings: 'Flikinställningar',
|
|
7
|
+
text_editor: 'Textredigeringsinställningar',
|
|
8
|
+
clickable_icons: 'Inställningar för klickbara ikoner',
|
|
9
|
+
accordion: 'Accordion Settings',
|
|
10
|
+
video: 'Videoinställningar',
|
|
11
|
+
table: 'Tabellinställningar',
|
|
12
|
+
math: 'Matematiska inställningar',
|
|
13
|
+
feedback: 'Feedback-inställningar',
|
|
14
|
+
},
|
|
15
|
+
}
|
package/package.json
CHANGED
package/plugin.js
CHANGED
|
@@ -17,6 +17,7 @@ import UserUpload from './components/Content/Blocks/UserUpload'
|
|
|
17
17
|
import GlossaryPage from './pages/glossary.vue'
|
|
18
18
|
import CourseGlossaryToolNav from './components/Navigation/Items/CourseGlossaryToolNav.vue'
|
|
19
19
|
import GlossaryNav from './components/Navigation/Items/GlossaryNav.vue'
|
|
20
|
+
import AskTheExpert from './components/Navigation/Items/AskTheExpert.vue'
|
|
20
21
|
// Entrypoint for npm
|
|
21
22
|
import ImageSettings from './components/Settings/ImageSettings.vue'
|
|
22
23
|
import UserUploadSettings from './components/Settings/UserUploadSettings.vue'
|
|
@@ -30,6 +31,8 @@ import UserUploadPage from './pages/userUpload.vue'
|
|
|
30
31
|
import GlossaryToolTip from './components/utils/glossary/GlossaryToolTip.vue'
|
|
31
32
|
import TextEditorSettings from './components/Settings/TextEditorSettings.vue'
|
|
32
33
|
import MathSettings from './components/Settings/MathSettings.vue'
|
|
34
|
+
import FillInTheBlanks from './components/utils/FillInBlank/FillInTheBlanksManager.vue'
|
|
35
|
+
import FillInBlankInput from './components/utils/FillInBlank/FillInBlankInput.vue'
|
|
33
36
|
|
|
34
37
|
export default {
|
|
35
38
|
name: 'windward.core.name',
|
|
@@ -75,6 +78,14 @@ export default {
|
|
|
75
78
|
tag: 'core-math-expression-editor',
|
|
76
79
|
template: MathExpressionEditor,
|
|
77
80
|
},
|
|
81
|
+
{
|
|
82
|
+
tag: 'core-fill-blanks-tool',
|
|
83
|
+
template: FillInTheBlanks,
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
tag: 'core-fill-in-blank-input',
|
|
87
|
+
template: FillInBlankInput,
|
|
88
|
+
},
|
|
78
89
|
],
|
|
79
90
|
menu: [
|
|
80
91
|
{
|
|
@@ -99,6 +110,20 @@ export default {
|
|
|
99
110
|
},
|
|
100
111
|
},
|
|
101
112
|
},
|
|
113
|
+
{
|
|
114
|
+
tag: 'core-ask-the-expert',
|
|
115
|
+
i18n: 'windward.core.shared.menu.ask_the_expert',
|
|
116
|
+
template: AskTheExpert,
|
|
117
|
+
icon: 'mdi-head-question-outline',
|
|
118
|
+
path: '/course/{course.id}',
|
|
119
|
+
context: ['course'],
|
|
120
|
+
display: ['course_tools'],
|
|
121
|
+
permissions: {
|
|
122
|
+
'windward.organization.course.content': {
|
|
123
|
+
readable: true,
|
|
124
|
+
},
|
|
125
|
+
},
|
|
126
|
+
},
|
|
102
127
|
{
|
|
103
128
|
tag: 'core-course-glossary-tool-nav',
|
|
104
129
|
page: 'course glossary',
|