@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.
Files changed (80) hide show
  1. package/components/Content/Blocks/ClickableIcons.vue +128 -40
  2. package/components/Content/Blocks/Image.vue +37 -10
  3. package/components/Content/Blocks/OpenResponse.vue +32 -10
  4. package/components/Content/Blocks/OpenResponseCollate.vue +69 -42
  5. package/components/Content/Blocks/ScenarioChoice.vue +262 -0
  6. package/components/Content/Blocks/Tab.vue +2 -7
  7. package/components/Settings/AccordionSettings.vue +97 -74
  8. package/components/Settings/ClickableIconsSettings.vue +101 -86
  9. package/components/Settings/ImageSettings.vue +10 -0
  10. package/components/Settings/OpenResponseCollateSettings.vue +9 -8
  11. package/components/Settings/ScenarioChoiceSettings.vue +329 -0
  12. package/components/Settings/TabSettings.vue +75 -61
  13. package/components/Settings/TextEditorSettings.vue +2 -3
  14. package/components/utils/FillInBlank/FillInBlankInput.vue +4 -1
  15. package/components/utils/TinyMCEWrapper.vue +11 -4
  16. package/components/utils/assets/tinymce/css/content.scss +1 -1
  17. package/helpers/FillInBlankHelper.ts +0 -2
  18. package/helpers/tinymce/plugin.ts +1 -1
  19. package/i18n/en-US/components/content/blocks/index.ts +2 -2
  20. package/i18n/en-US/components/content/blocks/open_response_collate.ts +1 -0
  21. package/i18n/en-US/components/content/blocks/scenario_choice.ts +5 -0
  22. package/i18n/en-US/components/settings/accordion.ts +5 -0
  23. package/i18n/en-US/components/settings/clickable_icon.ts +8 -0
  24. package/i18n/en-US/components/settings/image.ts +3 -1
  25. package/i18n/en-US/components/settings/index.ts +6 -0
  26. package/i18n/en-US/components/settings/scenario_choice.ts +19 -0
  27. package/i18n/en-US/components/settings/tab.ts +7 -0
  28. package/i18n/en-US/components/utils/FillInBlank/FillInBlankInput.ts +1 -1
  29. package/i18n/en-US/shared/content_blocks.ts +1 -0
  30. package/i18n/en-US/shared/settings.ts +2 -0
  31. package/i18n/es-ES/components/content/blocks/feedback.ts +2 -0
  32. package/i18n/es-ES/components/content/blocks/index.ts +2 -2
  33. package/i18n/es-ES/components/content/blocks/open_response_collate.ts +1 -0
  34. package/i18n/es-ES/components/content/blocks/scenario_choice.ts +6 -0
  35. package/i18n/es-ES/components/navigation/index.ts +2 -0
  36. package/i18n/es-ES/components/settings/accordion.ts +5 -0
  37. package/i18n/es-ES/components/settings/clickable_icon.ts +8 -0
  38. package/i18n/es-ES/components/settings/image.ts +3 -1
  39. package/i18n/es-ES/components/settings/index.ts +6 -0
  40. package/i18n/es-ES/components/settings/scenario_choice.ts +19 -0
  41. package/i18n/es-ES/components/{content/blocks → settings}/tab.ts +3 -0
  42. package/i18n/es-ES/components/utils/FillInBlank/FillInBlankInput.ts +13 -0
  43. package/i18n/es-ES/components/utils/FillInBlank/FillInTheBlanksManager.ts +11 -0
  44. package/i18n/es-ES/components/utils/FillInBlank/index.ts +6 -0
  45. package/i18n/es-ES/components/utils/index.ts +2 -0
  46. package/i18n/es-ES/components/utils/tiny_mce_wrapper.ts +1 -0
  47. package/i18n/es-ES/shared/content_blocks.ts +1 -0
  48. package/i18n/es-ES/shared/menu.ts +1 -0
  49. package/i18n/es-ES/shared/settings.ts +2 -0
  50. package/i18n/index.ts +11 -0
  51. package/i18n/sv-SE/components/content/blocks/feedback.ts +2 -0
  52. package/i18n/sv-SE/components/content/blocks/index.ts +2 -2
  53. package/i18n/sv-SE/components/content/blocks/open_response_collate.ts +1 -0
  54. package/i18n/sv-SE/components/content/blocks/scenario_choice.ts +5 -0
  55. package/i18n/sv-SE/components/navigation/index.ts +2 -0
  56. package/i18n/sv-SE/components/settings/accordion.ts +5 -0
  57. package/i18n/sv-SE/components/settings/clickable_icon.ts +8 -0
  58. package/i18n/sv-SE/components/settings/image.ts +3 -1
  59. package/i18n/sv-SE/components/settings/index.ts +6 -0
  60. package/i18n/sv-SE/components/settings/scenario_choice.ts +19 -0
  61. package/i18n/sv-SE/components/{content/blocks → settings}/tab.ts +3 -0
  62. package/i18n/sv-SE/components/utils/FillInBlank/FillInBlankInput.ts +13 -0
  63. package/i18n/sv-SE/components/utils/FillInBlank/FillInTheBlanksManager.ts +11 -0
  64. package/i18n/sv-SE/components/utils/FillInBlank/index.ts +6 -0
  65. package/i18n/sv-SE/components/utils/index.ts +2 -0
  66. package/i18n/sv-SE/components/utils/tiny_mce_wrapper.ts +1 -0
  67. package/i18n/sv-SE/shared/content_blocks.ts +1 -0
  68. package/i18n/sv-SE/shared/menu.ts +1 -0
  69. package/i18n/sv-SE/shared/settings.ts +2 -0
  70. package/package.json +2 -1
  71. package/plugin.js +24 -5
  72. package/test/Components/Content/Blocks/ScenarioChoice.spec.js +21 -0
  73. package/test/Components/Settings/ClickableIconsSettings.spec.js +1 -1
  74. package/test/Components/Settings/ScenarioChoiceSettings.spec.js +20 -0
  75. package/test/Feature/LocaleKeys.spec.js +9 -0
  76. package/test/__mocks__/componentsMock.js +24 -0
  77. package/test/__mocks__/helpersMock.js +3 -0
  78. package/test/__mocks__/modelMock.js +4 -0
  79. package/test/locales.js +95 -0
  80. package/i18n/en-US/components/content/blocks/tab.ts +0 -4
@@ -1,60 +1,69 @@
1
1
  <template>
2
2
  <div>
3
- <v-btn color="primary" @click="onAddElement" class="fullWidth">
4
- <v-icon>mdi-plus</v-icon>
5
- {{ $t('windward.core.components.content.blocks.tab.add_tab') }}
6
- </v-btn>
7
- <v-expansion-panels flat v-model="block.metadata.config.tab">
8
- <v-expansion-panel
9
- v-for="(item, itemIndex) in block.metadata.config.items"
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
- <v-expansion-panel-header>{{
14
- 'Tab ' + (itemIndex + 1)
15
- }}</v-expansion-panel-header>
16
- <v-expansion-panel-content :key="expansionPanelKey">
17
- <v-text-field
18
- v-model="
19
- block.metadata.config.items[itemIndex].tabHeader
20
- "
21
- :placeholder="'item ' + (itemIndex + 1)"
22
- ></v-text-field>
23
- <v-btn @click="onToggleExpand(item)" class="mb-3">
24
- <v-icon
25
- v-if="
26
- !block.metadata.config.items[itemIndex].expand
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
- >mdi-arrow-expand-all</v-icon
29
- >
30
- <v-icon
31
- v-if="block.metadata.config.items[itemIndex].expand"
32
- >
33
- mdi-arrow-collapse-all
34
- </v-icon>
35
- </v-btn>
36
- <br />
37
- <TextEditor
38
- :api_key="api_key"
39
- v-model="block.metadata.config.items[itemIndex].content"
40
- v-show="!block.metadata.config.items[itemIndex].expand"
41
- ></TextEditor>
42
- <br />
43
- <v-btn
44
- color="primary"
45
- @click="onRemoveElement(itemIndex)"
46
- class="fullWidth"
47
- >
48
- <v-icon>mdi-minus</v-icon>
49
- {{
50
- $t(
51
- 'windward.core.components.content.blocks.tab.delete_tab'
52
- )
53
- }}
54
- </v-btn>
55
- </v-expansion-panel-content>
56
- </v-expansion-panel>
57
- </v-expansion-panels>
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(item) {
140
+ onToggleExpand(index) {
129
141
  this.expansionPanelKey = Crypto.id()
130
- return (item.expand = !item.expand)
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
- .fullWidth {
140
- width: 100%;
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-show="
104
- settingSelector.includes(1) && !block.metadata.config.expand
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 (_.toLower(this.answer) === _.toLower(this.userInput)) {
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: 'file edit insert format view table windward help',
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.default.description'
193
+ 'windward.core.components.utils.fill_in_the_blank.fill_in_blank_input.default_description'
187
194
  )
188
195
  ),
189
196
  },
@@ -193,5 +193,5 @@ span.windward-fill-blank{
193
193
  color: #000000;
194
194
  }
195
195
 
196
-
196
+ body { font-family: 'Roboto', sans-serif; }
197
197
 
@@ -1,5 +1,3 @@
1
- import * as _ from "lodash";
2
- import GlossaryTerm from "~/helpers/GlossaryTerm";
3
1
 
4
2
  export default class FillInBlankHelper {
5
3
 
@@ -66,7 +66,7 @@ const WindwardPlugins = function (editor: any) {
66
66
  setOnClickEquationContent(editor)
67
67
  setOnClickFillInBlank(editor)
68
68
  })
69
- editor.on('change', function () {
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
  }
@@ -3,4 +3,5 @@ export default {
3
3
  no_response: '[no response]',
4
4
  initial_setup:
5
5
  'Open the block settings and select Open Response blocks you want to collate for download',
6
+ generate_error: 'Failed to generate the document',
6
7
  }
@@ -0,0 +1,5 @@
1
+ export default {
2
+ information: 'Click one of the items below to make a choice.',
3
+ try_again: 'Try again',
4
+ selected_choice: 'Your choice',
5
+ }
@@ -0,0 +1,5 @@
1
+ export default {
2
+ items: 'Accordion Items',
3
+ add: 'Add Accordion',
4
+ accordion: 'Accordion',
5
+ }
@@ -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
  }
@@ -1 +1,3 @@
1
- export default {}
1
+ export default {
2
+ hide_background: 'Hide Background',
3
+ }
@@ -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
+ }
@@ -0,0 +1,7 @@
1
+ export default {
2
+ tab: 'Tab',
3
+ tabs: 'Tabs',
4
+ header: 'Tab Header',
5
+ add_tab: 'Add Tab',
6
+ delete_tab: 'Delete Tab',
7
+ }
@@ -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: 'default description',
8
+ default_description: 'Your input is correct',
9
9
  incorrect: 'Incorrect',
10
10
  input_incorrect: "'{0}' is incorrect",
11
11
  reset: 'reset',
@@ -12,6 +12,7 @@ export default {
12
12
  image: 'Image',
13
13
  user_upload: 'User Upload',
14
14
  clickable_icons: 'Clickable Icons',
15
+ scenario_choice: 'Scenario Choice',
15
16
  feedback: 'Feedback',
16
17
  },
17
18
  grouping: {
@@ -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,4 +3,5 @@ export default {
3
3
  no_response: '[sin respuesta]',
4
4
  initial_setup:
5
5
  'Abra la configuración del bloque y seleccione los bloques de respuesta abierta que desea recopilar para descargar',
6
+ generate_error: 'No se pudo generar el documento',
6
7
  }
@@ -0,0 +1,6 @@
1
+ export default {
2
+ information:
3
+ 'Haga clic en uno de los elementos siguientes para tomar una decisión.',
4
+ try_again: 'Inténtalo de nuevo',
5
+ selected_choice: 'Tu elección',
6
+ }
@@ -1,7 +1,9 @@
1
+ import ask_the_expert from './ask_the_expert'
1
2
  import user_upload from './user_upload'
2
3
  import image from './image'
3
4
 
4
5
  export default {
5
6
  user_upload,
6
7
  image,
8
+ ask_the_expert,
7
9
  }
@@ -0,0 +1,5 @@
1
+ export default {
2
+ items: 'Artículos de acordeón',
3
+ add: 'Agregar Acordeón',
4
+ accordion: 'Acordeón',
5
+ }
@@ -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
  }
@@ -1 +1,3 @@
1
- export default {}
1
+ export default {
2
+ hide_background: 'Ocultar fondo',
3
+ }
@@ -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
+ }
@@ -1,4 +1,7 @@
1
1
  export default {
2
+ tab: 'Pestaña',
3
+ tabs: 'Pestañas',
4
+ header: 'Encabezado de Pestaña',
2
5
  add_tab: 'Añadir pestaña',
3
6
  delete_tab: 'Borrar pestaña',
4
7
  }
@@ -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
+ }
@@ -0,0 +1,6 @@
1
+ import fill_in_blank_input from './FillInBlankInput'
2
+ import fill_in_the_blank_manager from './FillInTheBlanksManager'
3
+ export default {
4
+ fill_in_blank_input,
5
+ fill_in_the_blank_manager,
6
+ }
@@ -1,5 +1,7 @@
1
1
  import tiny_mce_wrapper from './tiny_mce_wrapper'
2
+ import fill_in_the_blank from './FillInBlank/index'
2
3
 
3
4
  export default {
4
5
  tiny_mce_wrapper,
6
+ fill_in_the_blank,
5
7
  }
@@ -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',