@windward/core 0.0.7 → 0.0.9
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/components/Content/Blocks/ClickableIcons.vue +128 -40
- package/components/Content/Blocks/Image.vue +37 -10
- package/components/Content/Blocks/OpenResponse.vue +32 -10
- package/components/Content/Blocks/OpenResponseCollate.vue +69 -42
- package/components/Content/Blocks/ScenarioChoice.vue +262 -0
- package/components/Content/Blocks/Tab.vue +2 -7
- package/components/Settings/AccordionSettings.vue +97 -74
- package/components/Settings/ClickableIconsSettings.vue +101 -86
- package/components/Settings/ImageSettings.vue +10 -0
- package/components/Settings/OpenResponseCollateSettings.vue +9 -8
- package/components/Settings/ScenarioChoiceSettings.vue +329 -0
- package/components/Settings/TabSettings.vue +75 -61
- package/components/Settings/TextEditorSettings.vue +2 -3
- package/components/utils/FillInBlank/FillInBlankInput.vue +4 -1
- package/components/utils/TinyMCEWrapper.vue +11 -4
- package/components/utils/assets/tinymce/css/content.scss +1 -1
- package/helpers/FillInBlankHelper.ts +0 -2
- package/helpers/tinymce/plugin.ts +1 -1
- package/i18n/en-US/components/content/blocks/index.ts +2 -2
- package/i18n/en-US/components/content/blocks/open_response_collate.ts +1 -0
- package/i18n/en-US/components/content/blocks/scenario_choice.ts +5 -0
- package/i18n/en-US/components/settings/accordion.ts +5 -0
- package/i18n/en-US/components/settings/clickable_icon.ts +8 -0
- package/i18n/en-US/components/settings/image.ts +3 -1
- package/i18n/en-US/components/settings/index.ts +6 -0
- package/i18n/en-US/components/settings/scenario_choice.ts +19 -0
- package/i18n/en-US/components/settings/tab.ts +7 -0
- package/i18n/en-US/components/utils/FillInBlank/FillInBlankInput.ts +1 -1
- package/i18n/en-US/shared/content_blocks.ts +1 -0
- package/i18n/en-US/shared/settings.ts +2 -0
- package/i18n/es-ES/components/content/blocks/feedback.ts +2 -0
- package/i18n/es-ES/components/content/blocks/index.ts +2 -2
- package/i18n/es-ES/components/content/blocks/open_response_collate.ts +1 -0
- package/i18n/es-ES/components/content/blocks/scenario_choice.ts +6 -0
- package/i18n/es-ES/components/navigation/index.ts +2 -0
- package/i18n/es-ES/components/settings/accordion.ts +5 -0
- package/i18n/es-ES/components/settings/clickable_icon.ts +8 -0
- package/i18n/es-ES/components/settings/image.ts +3 -1
- package/i18n/es-ES/components/settings/index.ts +6 -0
- package/i18n/es-ES/components/settings/scenario_choice.ts +19 -0
- package/i18n/es-ES/components/{content/blocks → settings}/tab.ts +3 -0
- package/i18n/es-ES/components/utils/FillInBlank/FillInBlankInput.ts +13 -0
- package/i18n/es-ES/components/utils/FillInBlank/FillInTheBlanksManager.ts +11 -0
- package/i18n/es-ES/components/utils/FillInBlank/index.ts +6 -0
- package/i18n/es-ES/components/utils/index.ts +2 -0
- package/i18n/es-ES/components/utils/tiny_mce_wrapper.ts +1 -0
- package/i18n/es-ES/shared/content_blocks.ts +1 -0
- package/i18n/es-ES/shared/menu.ts +1 -0
- package/i18n/es-ES/shared/settings.ts +2 -0
- package/i18n/index.ts +11 -0
- package/i18n/sv-SE/components/content/blocks/feedback.ts +2 -0
- package/i18n/sv-SE/components/content/blocks/index.ts +2 -2
- package/i18n/sv-SE/components/content/blocks/open_response_collate.ts +1 -0
- package/i18n/sv-SE/components/content/blocks/scenario_choice.ts +5 -0
- package/i18n/sv-SE/components/navigation/index.ts +2 -0
- package/i18n/sv-SE/components/settings/accordion.ts +5 -0
- package/i18n/sv-SE/components/settings/clickable_icon.ts +8 -0
- package/i18n/sv-SE/components/settings/image.ts +3 -1
- package/i18n/sv-SE/components/settings/index.ts +6 -0
- package/i18n/sv-SE/components/settings/scenario_choice.ts +19 -0
- package/i18n/sv-SE/components/{content/blocks → settings}/tab.ts +3 -0
- package/i18n/sv-SE/components/utils/FillInBlank/FillInBlankInput.ts +13 -0
- package/i18n/sv-SE/components/utils/FillInBlank/FillInTheBlanksManager.ts +11 -0
- package/i18n/sv-SE/components/utils/FillInBlank/index.ts +6 -0
- package/i18n/sv-SE/components/utils/index.ts +2 -0
- package/i18n/sv-SE/components/utils/tiny_mce_wrapper.ts +1 -0
- package/i18n/sv-SE/shared/content_blocks.ts +1 -0
- package/i18n/sv-SE/shared/menu.ts +1 -0
- package/i18n/sv-SE/shared/settings.ts +2 -0
- package/package.json +2 -1
- package/plugin.js +24 -5
- package/test/Components/Content/Blocks/ScenarioChoice.spec.js +21 -0
- package/test/Components/Settings/ClickableIconsSettings.spec.js +1 -1
- package/test/Components/Settings/ScenarioChoiceSettings.spec.js +20 -0
- package/test/Feature/LocaleKeys.spec.js +9 -0
- package/test/__mocks__/componentsMock.js +24 -0
- package/test/__mocks__/helpersMock.js +3 -0
- package/test/__mocks__/modelMock.js +4 -0
- package/test/locales.js +95 -0
- package/i18n/en-US/components/content/blocks/tab.ts +0 -4
|
@@ -1,60 +1,69 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
|
-
<v-
|
|
4
|
-
<v-
|
|
5
|
-
{{ $t('windward.core.components.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
:key="itemIndex"
|
|
11
|
-
class="elevation-0"
|
|
3
|
+
<v-form ref="form" v-model="valid" v-if="!loading">
|
|
4
|
+
<v-divider class="my-4 primary"></v-divider>
|
|
5
|
+
<p>{{ $t('windward.core.components.settings.tab.tabs') }}</p>
|
|
6
|
+
<SortableExpansionPanel
|
|
7
|
+
v-model="block.metadata.config.items"
|
|
8
|
+
@click:close="onRemoveElement($event)"
|
|
9
|
+
:copy="false"
|
|
12
10
|
>
|
|
13
|
-
<
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
<
|
|
17
|
-
<v-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
11
|
+
<template #header="{ item, index }">
|
|
12
|
+
{{ item.tabHeader !== '' ? item.tabHeader : 'No Header' }}
|
|
13
|
+
</template>
|
|
14
|
+
<template #body="{ item, index }">
|
|
15
|
+
<v-container :key="expansionPanelKey">
|
|
16
|
+
<p class="p-label">
|
|
17
|
+
{{
|
|
18
|
+
$t(
|
|
19
|
+
'windward.core.components.settings.tab.header'
|
|
20
|
+
)
|
|
21
|
+
}}
|
|
22
|
+
</p>
|
|
23
|
+
<v-text-field
|
|
24
|
+
outlined
|
|
25
|
+
:autofocus="true"
|
|
26
|
+
v-model="
|
|
27
|
+
block.metadata.config.items[index].tabHeader
|
|
27
28
|
"
|
|
28
|
-
|
|
29
|
-
>
|
|
30
|
-
<v-
|
|
31
|
-
v-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
</v-
|
|
56
|
-
</v-
|
|
57
|
-
</v-
|
|
29
|
+
:placeholder="'item ' + (index + 1)"
|
|
30
|
+
></v-text-field>
|
|
31
|
+
<v-btn @click="onToggleExpand(index)" class="mb-3">
|
|
32
|
+
<v-icon
|
|
33
|
+
v-if="
|
|
34
|
+
!block.metadata.config.items[index].expand
|
|
35
|
+
"
|
|
36
|
+
>mdi-arrow-expand-all</v-icon
|
|
37
|
+
>
|
|
38
|
+
<v-icon
|
|
39
|
+
v-if="block.metadata.config.items[index].expand"
|
|
40
|
+
>
|
|
41
|
+
mdi-arrow-collapse-all
|
|
42
|
+
</v-icon>
|
|
43
|
+
</v-btn>
|
|
44
|
+
<TextEditor
|
|
45
|
+
:api_key="api_key"
|
|
46
|
+
v-model="block.metadata.config.items[index].content"
|
|
47
|
+
v-if="!item.expand"
|
|
48
|
+
></TextEditor>
|
|
49
|
+
</v-container>
|
|
50
|
+
</template>
|
|
51
|
+
</SortableExpansionPanel>
|
|
52
|
+
<v-row justify="center" class="my-4">
|
|
53
|
+
<v-btn color="primary" @click="onAddElement">
|
|
54
|
+
<v-icon>mdi-plus</v-icon>
|
|
55
|
+
{{ $t('windward.core.components.settings.tab.add_tab') }}
|
|
56
|
+
</v-btn>
|
|
57
|
+
</v-row>
|
|
58
|
+
</v-form>
|
|
59
|
+
<div v-if="loading" class="text-center">
|
|
60
|
+
<v-progress-circular
|
|
61
|
+
:size="70"
|
|
62
|
+
:width="7"
|
|
63
|
+
color="primary"
|
|
64
|
+
indeterminate
|
|
65
|
+
></v-progress-circular>
|
|
66
|
+
</div>
|
|
58
67
|
</div>
|
|
59
68
|
</template>
|
|
60
69
|
|
|
@@ -63,17 +72,20 @@ import _, { get } from 'lodash'
|
|
|
63
72
|
import Crypto from '~/helpers/Crypto'
|
|
64
73
|
import TextEditor from '~/components/Text/TextEditor.vue'
|
|
65
74
|
import BaseContentSettings from '~/components/Content/Tool/BaseContentSettings.js'
|
|
75
|
+
import SortableExpansionPanel from '~/components/SortableExpansionPanel.vue'
|
|
66
76
|
|
|
67
77
|
export default {
|
|
68
78
|
name: 'TabSettings',
|
|
69
|
-
components: { TextEditor },
|
|
79
|
+
components: { TextEditor, SortableExpansionPanel },
|
|
70
80
|
extends: BaseContentSettings,
|
|
71
81
|
beforeMount() {
|
|
72
82
|
if (_.isEmpty(this.block)) {
|
|
73
83
|
this.block = {}
|
|
74
84
|
}
|
|
75
85
|
if (_.isEmpty(this.block.body)) {
|
|
76
|
-
this.block.body =
|
|
86
|
+
this.block.body = this.$t(
|
|
87
|
+
'windward.core.components.settings.tab.tab'
|
|
88
|
+
)
|
|
77
89
|
}
|
|
78
90
|
if (_.isEmpty(this.block.metadata)) {
|
|
79
91
|
this.block.metadata = {}
|
|
@@ -93,12 +105,13 @@ export default {
|
|
|
93
105
|
this.block.metadata.config.items = []
|
|
94
106
|
this.block.metadata.config.items.push(defaultObject)
|
|
95
107
|
}
|
|
96
|
-
this.block.body = 'tab'
|
|
97
108
|
},
|
|
98
109
|
data() {
|
|
99
110
|
return {
|
|
100
111
|
expansionPanelKey: '0',
|
|
101
112
|
api_key: process.env.TINY_MCE_API_KEY,
|
|
113
|
+
valid: true,
|
|
114
|
+
loading: false,
|
|
102
115
|
}
|
|
103
116
|
},
|
|
104
117
|
mounted() {
|
|
@@ -111,7 +124,6 @@ export default {
|
|
|
111
124
|
clearTimeout(this.debouncer)
|
|
112
125
|
}
|
|
113
126
|
},
|
|
114
|
-
|
|
115
127
|
methods: {
|
|
116
128
|
onAddElement() {
|
|
117
129
|
const defaultObject = {
|
|
@@ -125,9 +137,10 @@ export default {
|
|
|
125
137
|
this.block.metadata.config.items.splice(index, 1)
|
|
126
138
|
this.expansionPanelKey = Crypto.id()
|
|
127
139
|
},
|
|
128
|
-
onToggleExpand(
|
|
140
|
+
onToggleExpand(index) {
|
|
129
141
|
this.expansionPanelKey = Crypto.id()
|
|
130
|
-
return (
|
|
142
|
+
return (this.block.metadata.config.items[index].expand =
|
|
143
|
+
!this.block.metadata.config.items[index].expand)
|
|
131
144
|
},
|
|
132
145
|
},
|
|
133
146
|
}
|
|
@@ -136,7 +149,8 @@ export default {
|
|
|
136
149
|
.v-progress-circular {
|
|
137
150
|
margin: 1rem;
|
|
138
151
|
}
|
|
139
|
-
.
|
|
140
|
-
|
|
152
|
+
.p-label {
|
|
153
|
+
font-size: 16px;
|
|
154
|
+
font-weight: 500;
|
|
141
155
|
}
|
|
142
156
|
</style>
|
|
@@ -100,9 +100,8 @@
|
|
|
100
100
|
<br />
|
|
101
101
|
<text-editor
|
|
102
102
|
v-model="block.body"
|
|
103
|
-
v-
|
|
104
|
-
|
|
105
|
-
"
|
|
103
|
+
v-if="settingSelector.includes(1) && !block.metadata.config.expand"
|
|
104
|
+
autofill
|
|
106
105
|
></text-editor>
|
|
107
106
|
<v-skeleton-loader
|
|
108
107
|
v-bind="attrs"
|
|
@@ -133,7 +133,10 @@ export default {
|
|
|
133
133
|
|
|
134
134
|
computed: {
|
|
135
135
|
answerIsCorrect() {
|
|
136
|
-
if (
|
|
136
|
+
if (
|
|
137
|
+
_.trim(_.toLower(this.answer)) ===
|
|
138
|
+
_.trim(_.toLower(this.userInput))
|
|
139
|
+
) {
|
|
137
140
|
return true
|
|
138
141
|
}
|
|
139
142
|
return false
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
:api-key="api_key"
|
|
7
7
|
:init="config"
|
|
8
8
|
tag-name="div"
|
|
9
|
-
model-events="change keydown blur focus paste input submit"
|
|
9
|
+
model-events="change keydown blur focus paste input submit SetContent"
|
|
10
10
|
>
|
|
11
11
|
</editor>
|
|
12
12
|
</template>
|
|
@@ -29,13 +29,13 @@ export default {
|
|
|
29
29
|
menubar: {
|
|
30
30
|
type: String,
|
|
31
31
|
required: false,
|
|
32
|
-
default: '
|
|
32
|
+
default: 'edit insert format view table windward help',
|
|
33
33
|
},
|
|
34
34
|
toolbar: {
|
|
35
35
|
type: String,
|
|
36
36
|
required: false,
|
|
37
37
|
default:
|
|
38
|
-
'undo redo | formatselect | bold italic | alignleft aligncenter alignright | table bullist numlist outdent indent | mathButton ',
|
|
38
|
+
'undo redo | formatselect | fontsizeselect | bold italic underline strikethrough removeformat | alignleft aligncenter alignright | table bullist numlist outdent indent | mathButton ',
|
|
39
39
|
},
|
|
40
40
|
},
|
|
41
41
|
beforeMount() {
|
|
@@ -71,6 +71,10 @@ export default {
|
|
|
71
71
|
title: 'Table',
|
|
72
72
|
items: 'inserttable | tableprops | deletetable',
|
|
73
73
|
},
|
|
74
|
+
format: {
|
|
75
|
+
title: 'Format',
|
|
76
|
+
items: ' bold italic underline strikethrough superscript subscript codeformat | formats align | forecolor backcolor | language | removeformat',
|
|
77
|
+
},
|
|
74
78
|
},
|
|
75
79
|
plugins: [
|
|
76
80
|
'advlist autolink lists link charmap',
|
|
@@ -85,6 +89,8 @@ export default {
|
|
|
85
89
|
table_default_attributes: {
|
|
86
90
|
class: 'default',
|
|
87
91
|
},
|
|
92
|
+
font_size_formats:
|
|
93
|
+
'8pt 10pt 12pt 14pt 16pt 18pt 24pt 36pt 48pt',
|
|
88
94
|
table_class_list: [
|
|
89
95
|
{ title: 'None', value: ' ' },
|
|
90
96
|
{
|
|
@@ -163,6 +169,7 @@ export default {
|
|
|
163
169
|
WindwardPlugins
|
|
164
170
|
)
|
|
165
171
|
},
|
|
172
|
+
|
|
166
173
|
formats: {
|
|
167
174
|
glossary: {
|
|
168
175
|
inline: 'span',
|
|
@@ -183,7 +190,7 @@ export default {
|
|
|
183
190
|
contenteditable: 'true',
|
|
184
191
|
'data-feedback': btoa(
|
|
185
192
|
this.$t(
|
|
186
|
-
'windward.core.components.utils.fill_in_the_blank.fill_in_blank_input.
|
|
193
|
+
'windward.core.components.utils.fill_in_the_blank.fill_in_blank_input.default_description'
|
|
187
194
|
)
|
|
188
195
|
),
|
|
189
196
|
},
|
|
@@ -66,7 +66,7 @@ const WindwardPlugins = function (editor: any) {
|
|
|
66
66
|
setOnClickEquationContent(editor)
|
|
67
67
|
setOnClickFillInBlank(editor)
|
|
68
68
|
})
|
|
69
|
-
editor.on('
|
|
69
|
+
editor.on('SetContent', function () {
|
|
70
70
|
setOnClickEquationContent(editor)
|
|
71
71
|
setOnClickFillInBlank(editor)
|
|
72
72
|
})
|
|
@@ -2,18 +2,18 @@ import user_upload from './user_upload'
|
|
|
2
2
|
import image from './image'
|
|
3
3
|
import video from './video'
|
|
4
4
|
import table from './table'
|
|
5
|
-
import tab from './tab'
|
|
6
5
|
import feedback from './feedback'
|
|
7
6
|
import open_response from './open_response'
|
|
8
7
|
import open_response_collate from './open_response_collate'
|
|
8
|
+
import scenarioChoice from './scenario_choice'
|
|
9
9
|
|
|
10
10
|
export default {
|
|
11
11
|
user_upload,
|
|
12
12
|
image,
|
|
13
13
|
video,
|
|
14
14
|
table,
|
|
15
|
-
tab,
|
|
16
15
|
feedback,
|
|
17
16
|
open_response,
|
|
18
17
|
open_response_collate,
|
|
18
|
+
scenario_choice: scenarioChoice,
|
|
19
19
|
}
|
|
@@ -2,8 +2,16 @@ export default {
|
|
|
2
2
|
title: 'Title',
|
|
3
3
|
description: 'Description',
|
|
4
4
|
information: 'Click on each of the list items below for more information.',
|
|
5
|
+
no_icon: 'No Icon',
|
|
5
6
|
item_icon: 'Item {0} icon',
|
|
6
7
|
item_title: 'Item Title',
|
|
7
8
|
item_color: 'Item Color',
|
|
8
9
|
item_text: 'Item Text',
|
|
10
|
+
autocolor: 'Auto-color Options',
|
|
11
|
+
display: {
|
|
12
|
+
show_title: 'Always Show Title',
|
|
13
|
+
show_background: 'Show Background',
|
|
14
|
+
round_icon: 'Round Icons',
|
|
15
|
+
italic_icon: 'Italic Icons',
|
|
16
|
+
},
|
|
9
17
|
}
|
|
@@ -5,13 +5,19 @@ import video from './video'
|
|
|
5
5
|
import clickable_icon from './clickable_icon'
|
|
6
6
|
import open_response from './open_response'
|
|
7
7
|
import open_response_collate from './open_response_collate'
|
|
8
|
+
import scenarioChoice from './scenario_choice'
|
|
9
|
+
import accordion from './accordion'
|
|
10
|
+
import tab from './tab'
|
|
8
11
|
|
|
9
12
|
export default {
|
|
13
|
+
accordion,
|
|
10
14
|
image,
|
|
11
15
|
user_upload,
|
|
12
16
|
text_editor,
|
|
17
|
+
tab,
|
|
13
18
|
video,
|
|
14
19
|
clickable_icon,
|
|
15
20
|
open_response,
|
|
16
21
|
open_response_collate,
|
|
22
|
+
scenario_choice: scenarioChoice,
|
|
17
23
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
title: 'Title',
|
|
3
|
+
description: 'Description',
|
|
4
|
+
over_item_limit: 'Cannot add more items',
|
|
5
|
+
no_title: 'No Title',
|
|
6
|
+
item_title: 'Item Title',
|
|
7
|
+
item_text: 'Item Text',
|
|
8
|
+
correct_choice: 'Is Correct Choice',
|
|
9
|
+
show_reset: 'Allow Retries',
|
|
10
|
+
display_style: 'Display Style',
|
|
11
|
+
is_linked: 'Block links to a page',
|
|
12
|
+
link_content: 'Link Content',
|
|
13
|
+
link_text: 'Link Text',
|
|
14
|
+
link_required: 'Link text and target page are required',
|
|
15
|
+
style: {
|
|
16
|
+
letter: 'Letters',
|
|
17
|
+
number: 'Numbers',
|
|
18
|
+
},
|
|
19
|
+
}
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
check_answer: 'Click to check answer',
|
|
6
6
|
close: 'Close',
|
|
7
7
|
correct: 'Correct',
|
|
8
|
-
default_description: '
|
|
8
|
+
default_description: 'Your input is correct',
|
|
9
9
|
incorrect: 'Incorrect',
|
|
10
10
|
input_incorrect: "'{0}' is incorrect",
|
|
11
11
|
reset: 'reset',
|
|
@@ -8,10 +8,12 @@ export default {
|
|
|
8
8
|
tab_settings: 'Tab Settings',
|
|
9
9
|
text_editor: 'Text Editor Settings',
|
|
10
10
|
clickable_icons: 'Clickable Icons Settings',
|
|
11
|
+
scenario_choice: 'Scenario Choice',
|
|
11
12
|
accordion: 'Accordion Settings',
|
|
12
13
|
video: 'Video Settings',
|
|
13
14
|
table: 'Table Settings',
|
|
14
15
|
math: 'Math Settings',
|
|
15
16
|
feedback: 'Feedback Settings',
|
|
17
|
+
title: 'Title',
|
|
16
18
|
},
|
|
17
19
|
}
|
|
@@ -4,6 +4,8 @@ export default {
|
|
|
4
4
|
module: 'Módulo',
|
|
5
5
|
preset: 'Preajustes',
|
|
6
6
|
likert: 'Agregar preguntas tipo Likert estándar',
|
|
7
|
+
likert_directions:
|
|
8
|
+
'Haga clic para elegir la primera opción y luego use la pestaña para cambiar los grupos de botones y luego las flechas para navegar entre las opciones.',
|
|
7
9
|
contact_mindedge: 'Póngase en contacto con Mindedge pregunta',
|
|
8
10
|
open_response: 'Respuesta abierta',
|
|
9
11
|
response_prompt: 'Proporcione comentarios sobre el curso a continuación',
|
|
@@ -2,18 +2,18 @@ import user_upload from './user_upload'
|
|
|
2
2
|
import image from './image'
|
|
3
3
|
import video from './video'
|
|
4
4
|
import table from './table'
|
|
5
|
-
import tab from './tab'
|
|
6
5
|
import feedback from './feedback'
|
|
7
6
|
import open_response from './open_response'
|
|
8
7
|
import open_response_collate from './open_response_collate'
|
|
8
|
+
import scenarioChoice from './scenario_choice'
|
|
9
9
|
|
|
10
10
|
export default {
|
|
11
11
|
user_upload,
|
|
12
12
|
image,
|
|
13
13
|
video,
|
|
14
14
|
table,
|
|
15
|
-
tab,
|
|
16
15
|
feedback,
|
|
17
16
|
open_response,
|
|
18
17
|
open_response_collate,
|
|
18
|
+
scenario_choice: scenarioChoice,
|
|
19
19
|
}
|
|
@@ -3,8 +3,16 @@ export default {
|
|
|
3
3
|
description: 'Descripción',
|
|
4
4
|
information:
|
|
5
5
|
'Haga clic en cada uno de los elementos de la lista a continuación para obtener más información.',
|
|
6
|
+
no_icon: 'Sin icono',
|
|
6
7
|
item_icon: 'Ícono de elemento {0}',
|
|
7
8
|
item_title: 'Título del artículo',
|
|
8
9
|
item_color: 'Color del artículo',
|
|
9
10
|
item_text: 'Texto del elemento',
|
|
11
|
+
autocolor: 'Opciones de color automático',
|
|
12
|
+
display: {
|
|
13
|
+
show_title: 'Mostrar siempre el título',
|
|
14
|
+
show_background: 'Mostrar fondo',
|
|
15
|
+
round_icon: 'Iconos redondos',
|
|
16
|
+
italic_icon: 'Iconos en cursiva',
|
|
17
|
+
},
|
|
10
18
|
}
|
|
@@ -5,13 +5,19 @@ import video from './video'
|
|
|
5
5
|
import clickable_icon from './clickable_icon'
|
|
6
6
|
import open_response from './open_response'
|
|
7
7
|
import open_response_collate from './open_response_collate'
|
|
8
|
+
import scenarioChoice from './scenario_choice'
|
|
9
|
+
import accordion from './accordion'
|
|
10
|
+
import tab from './tab'
|
|
8
11
|
|
|
9
12
|
export default {
|
|
13
|
+
accordion,
|
|
10
14
|
image,
|
|
11
15
|
user_upload,
|
|
12
16
|
text_editor,
|
|
17
|
+
tab,
|
|
13
18
|
video,
|
|
14
19
|
clickable_icon,
|
|
15
20
|
open_response,
|
|
16
21
|
open_response_collate,
|
|
22
|
+
scenario_choice: scenarioChoice,
|
|
17
23
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
title: 'Título',
|
|
3
|
+
description: 'Descripción',
|
|
4
|
+
over_item_limit: 'No se pueden agregar más elementos',
|
|
5
|
+
no_title: 'Sin título',
|
|
6
|
+
item_title: 'Título del artículo',
|
|
7
|
+
item_text: 'Texto del elemento',
|
|
8
|
+
correct_choice: 'Es la elección correcta',
|
|
9
|
+
show_reset: 'Permitir reintentos',
|
|
10
|
+
display_style: 'Estilo de visualización',
|
|
11
|
+
is_linked: 'Bloquear enlaces a una página',
|
|
12
|
+
link_content: 'Contenido del enlace',
|
|
13
|
+
link_text: 'Texto del enlace',
|
|
14
|
+
link_required: 'Se requieren el texto del enlace y la página de destino.',
|
|
15
|
+
style: {
|
|
16
|
+
letter: 'Letras',
|
|
17
|
+
number: 'Números',
|
|
18
|
+
},
|
|
19
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
add_answer: 'Agregar respuesta',
|
|
3
|
+
answer: 'Respuesta',
|
|
4
|
+
check: 'Verificar',
|
|
5
|
+
check_answer: 'Haga clic para comprobar respuesta',
|
|
6
|
+
close: 'Cerrar',
|
|
7
|
+
correct: 'Correcto',
|
|
8
|
+
default_description: 'Su entrada es correcta',
|
|
9
|
+
incorrect: 'Incorrecto',
|
|
10
|
+
input_incorrect: "'{0}' es incorrecto",
|
|
11
|
+
reset: 'restablecer',
|
|
12
|
+
try_again: 'Intentar de nuevo',
|
|
13
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
close: 'Cerrar',
|
|
3
|
+
try_again: 'Intentar de nuevo',
|
|
4
|
+
correct: 'Correcto',
|
|
5
|
+
incorrect: 'Incorrecto',
|
|
6
|
+
reset: 'restablecer',
|
|
7
|
+
check: 'Verificar',
|
|
8
|
+
add_answer: 'Agregar respuesta',
|
|
9
|
+
default_description: 'descripción predeterminada',
|
|
10
|
+
answer: 'Respuesta',
|
|
11
|
+
}
|
|
@@ -4,6 +4,7 @@ export default {
|
|
|
4
4
|
alternate_forms: 'Formas alternativas',
|
|
5
5
|
definition: 'definición',
|
|
6
6
|
related_terms: 'términos relacionados',
|
|
7
|
+
fill_blank: 'Completa el espacio en blanco',
|
|
7
8
|
table: {
|
|
8
9
|
default: 'Tabla predeterminada',
|
|
9
10
|
default_white_line: 'Líneas blancas de tabla predeterminadas',
|