@windward/core 0.25.1 → 0.27.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/CHANGELOG.md +44 -0
- package/components/Content/Blocks/Accordion.vue +8 -14
- package/components/Content/Blocks/BlockQuote.vue +29 -4
- package/components/Content/Blocks/ClickableIcons.vue +18 -6
- package/components/Content/Blocks/Email.vue +10 -3
- package/components/Content/Blocks/Feedback/FeedbackAnalytics.vue +179 -0
- package/components/Content/Blocks/Feedback.vue +115 -111
- package/components/Content/Blocks/Image.vue +4 -0
- package/components/Content/Blocks/OpenResponse.vue +0 -9
- package/components/Content/Blocks/OpenResponseCollate.vue +27 -0
- package/components/Content/Blocks/ScenarioChoice.vue +10 -1
- package/components/Content/Blocks/Tab.vue +15 -28
- package/components/Content/Blocks/UserUpload.vue +65 -37
- package/components/Content/Blocks/Video.vue +17 -7
- package/components/Settings/AccordionSettings.vue +3 -15
- package/components/Settings/BlockQuoteSettings.vue +6 -4
- package/components/Settings/ClickableIconsSettings.vue +21 -7
- package/components/Settings/EmailSettings.vue +3 -11
- package/components/Settings/FileDownloadSettings.vue +8 -2
- package/components/Settings/OpenResponseCollateSettings.vue +19 -1
- package/components/Settings/OpenResponseSettings.vue +8 -7
- package/components/Settings/ScenarioChoiceSettings.vue +11 -5
- package/components/Settings/TabSettings.vue +3 -18
- package/components/Settings/UserUploadSettings.vue +16 -8
- package/components/Settings/VideoSettings/SourcePicker.vue +34 -8
- package/components/Settings/VideoSettings.vue +18 -2
- package/components/utils/glossary/GlossaryToolTip.vue +4 -23
- package/helpers/GlossaryHelper.ts +4 -7
- package/i18n/en-US/components/content/blocks/accordion.ts +3 -0
- package/i18n/en-US/components/content/blocks/block_quote.ts +3 -1
- package/i18n/en-US/components/content/blocks/feedback.ts +2 -0
- package/i18n/en-US/components/content/blocks/file_download.ts +2 -1
- package/i18n/en-US/components/content/blocks/index.ts +2 -0
- package/i18n/en-US/components/content/blocks/open_response.ts +1 -1
- package/i18n/en-US/components/content/blocks/open_response_collate.ts +1 -1
- package/i18n/en-US/components/content/blocks/scenario_choice.ts +2 -0
- package/i18n/en-US/components/content/blocks/user_upload.ts +2 -1
- package/i18n/en-US/components/settings/accordion.ts +2 -1
- package/i18n/en-US/components/settings/block_quote.ts +1 -1
- package/i18n/en-US/components/settings/clickable_icon.ts +5 -0
- package/i18n/en-US/components/settings/email.ts +2 -1
- package/i18n/en-US/components/settings/file_download.ts +2 -2
- package/i18n/en-US/components/settings/image.ts +1 -0
- package/i18n/en-US/components/settings/open_response.ts +3 -0
- package/i18n/en-US/components/settings/open_response_collate.ts +3 -0
- package/i18n/en-US/components/settings/scenario_choice.ts +3 -1
- package/i18n/en-US/components/settings/tab.ts +4 -3
- package/i18n/en-US/components/settings/user_upload.ts +1 -0
- package/i18n/en-US/components/settings/video.ts +3 -1
- package/i18n/en-US/shared/content_blocks.ts +1 -1
- package/i18n/en-US/shared/settings.ts +1 -18
- package/i18n/es-ES/components/content/blocks/accordion.ts +3 -0
- package/i18n/es-ES/components/content/blocks/block_quote.ts +3 -1
- package/i18n/es-ES/components/content/blocks/feedback.ts +2 -0
- package/i18n/es-ES/components/content/blocks/file_download.ts +2 -1
- package/i18n/es-ES/components/content/blocks/index.ts +2 -0
- package/i18n/es-ES/components/content/blocks/open_response.ts +1 -2
- package/i18n/es-ES/components/content/blocks/open_response_collate.ts +1 -1
- package/i18n/es-ES/components/content/blocks/scenario_choice.ts +2 -0
- package/i18n/es-ES/components/content/blocks/user_upload.ts +2 -1
- package/i18n/es-ES/components/settings/accordion.ts +4 -2
- package/i18n/es-ES/components/settings/block_quote.ts +1 -1
- package/i18n/es-ES/components/settings/clickable_icon.ts +7 -0
- package/i18n/es-ES/components/settings/email.ts +2 -1
- package/i18n/es-ES/components/settings/image.ts +1 -0
- package/i18n/es-ES/components/settings/open_response.ts +3 -0
- package/i18n/es-ES/components/settings/open_response_collate.ts +3 -0
- package/i18n/es-ES/components/settings/scenario_choice.ts +3 -1
- package/i18n/es-ES/components/settings/tab.ts +3 -2
- package/i18n/es-ES/components/settings/user_upload.ts +1 -0
- package/i18n/es-ES/components/settings/video.ts +3 -1
- package/i18n/es-ES/shared/content_blocks.ts +1 -1
- package/i18n/es-ES/shared/settings.ts +1 -19
- package/i18n/sv-SE/components/content/blocks/accordion.ts +3 -0
- package/i18n/sv-SE/components/content/blocks/block_quote.ts +3 -1
- package/i18n/sv-SE/components/content/blocks/feedback.ts +2 -0
- package/i18n/sv-SE/components/content/blocks/file_download.ts +2 -1
- package/i18n/sv-SE/components/content/blocks/index.ts +2 -0
- package/i18n/sv-SE/components/content/blocks/open_response.ts +1 -2
- package/i18n/sv-SE/components/content/blocks/open_response_collate.ts +1 -1
- package/i18n/sv-SE/components/content/blocks/scenario_choice.ts +2 -0
- package/i18n/sv-SE/components/content/blocks/user_upload.ts +2 -1
- package/i18n/sv-SE/components/settings/accordion.ts +2 -1
- package/i18n/sv-SE/components/settings/block_quote.ts +1 -1
- package/i18n/sv-SE/components/settings/clickable_icon.ts +6 -0
- package/i18n/sv-SE/components/settings/email.ts +2 -1
- package/i18n/sv-SE/components/settings/image.ts +1 -0
- package/i18n/sv-SE/components/settings/open_response.ts +3 -0
- package/i18n/sv-SE/components/settings/open_response_collate.ts +3 -0
- package/i18n/sv-SE/components/settings/scenario_choice.ts +3 -1
- package/i18n/sv-SE/components/settings/tab.ts +5 -3
- package/i18n/sv-SE/components/settings/user_upload.ts +1 -0
- package/i18n/sv-SE/components/settings/video.ts +3 -1
- package/i18n/sv-SE/shared/content_blocks.ts +1 -1
- package/i18n/sv-SE/shared/settings.ts +1 -18
- package/models/SurveyResultMetric.ts +8 -0
- package/package.json +1 -1
- package/plugin.js +27 -19
- package/test/Components/Content/Blocks/Feedback/FeedbackTemplates/FeedbackAnalytics.spec.js +23 -0
- package/test/Components/Content/Blocks/{FeedbackTemplates → Feedback/FeedbackTemplates}/FeedbackQuestionLikert.spec.js +1 -1
- package/test/Components/Content/Blocks/{FeedbackTemplates → Feedback/FeedbackTemplates}/FeedbackQuestionOpenResponse.spec.js +1 -1
- package/test/Components/Content/Blocks/{FeedbackTemplates → Feedback/FeedbackTemplates}/FeedbackQuestionTrueFalse.spec.js +1 -1
- package/test/Components/Settings/AccordionSettings.spec.js +0 -13
- package/test/Components/Settings/ClickableIconsSettings.spec.js +0 -11
- package/test/Components/Settings/EmailSettings.spec.js +0 -9
- package/test/Components/Settings/TabSettings.spec.js +0 -13
- package/test/helpers/GlossaryHelper.spec.js +8 -8
- package/components/Content/Blocks/{FeedbackTemplates → Feedback/FeedbackTemplates}/FeedbackQuestionLikert.vue +1 -1
- package/components/Content/Blocks/{FeedbackTemplates → Feedback/FeedbackTemplates}/FeedbackQuestionOpenResponse.vue +1 -1
- /package/components/Content/Blocks/{FeedbackTemplates → Feedback/FeedbackTemplates}/FeedbackQuestionTrueFalse.vue +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
title: 'Título',
|
|
3
|
+
scenario_title: 'Elección de escenario',
|
|
3
4
|
description: 'Descripción',
|
|
4
5
|
over_item_limit: 'No se pueden agregar más elementos',
|
|
5
6
|
no_title: 'Sin título',
|
|
@@ -16,7 +17,8 @@ export default {
|
|
|
16
17
|
letter: 'Letras',
|
|
17
18
|
number: 'Números',
|
|
18
19
|
},
|
|
19
|
-
add_choice: 'Agregar
|
|
20
|
+
add_choice: 'Agregar artículo',
|
|
20
21
|
generated_successfully: 'Escenarios generados con éxito',
|
|
21
22
|
invalid_response: 'Respuesta inválida de la generación de escenarios',
|
|
23
|
+
choices: 'Opciones',
|
|
22
24
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
tab: 'Pestaña',
|
|
3
|
-
tabs: '
|
|
3
|
+
tabs: 'Elementos de pestaña',
|
|
4
4
|
header: 'Encabezado de Pestaña',
|
|
5
|
-
add_tab: '
|
|
5
|
+
add_tab: 'Agregar artículo',
|
|
6
6
|
delete_tab: 'Borrar pestaña',
|
|
7
7
|
instructions:
|
|
8
8
|
'Haga clic en cada uno de los títulos a continuación para obtener más información.',
|
|
9
|
+
no_tabs: 'Añade un elemento de pestaña para comenzar.',
|
|
9
10
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
|
-
title: 'Título
|
|
2
|
+
title: 'Título',
|
|
3
|
+
prebuilt_title: 'Vídeo/Audio',
|
|
3
4
|
sources: 'Fuentes',
|
|
4
5
|
place_source: 'Colocar video o audio',
|
|
5
6
|
playback: 'Reproducción',
|
|
@@ -67,4 +68,5 @@ export default {
|
|
|
67
68
|
configure_blurb:
|
|
68
69
|
'Cargue un archivo de video post-roll (.mp4 o .webm), elija uno del administrador de archivos o agréguelo a través de la URL pública',
|
|
69
70
|
},
|
|
71
|
+
no_video_alert: 'Coloque un archivo de vídeo o audio para comenzar.',
|
|
70
72
|
}
|
|
@@ -10,7 +10,7 @@ export default {
|
|
|
10
10
|
open_response: 'Respuesta abierta',
|
|
11
11
|
open_response_collate: 'Módulo de descarga de respuestas',
|
|
12
12
|
image: 'Imagen',
|
|
13
|
-
user_upload: '
|
|
13
|
+
user_upload: 'Envío de archivos',
|
|
14
14
|
clickable_icons: 'Iconos en los que se puede hacer clic',
|
|
15
15
|
scenario_choice: 'Elección de escenario',
|
|
16
16
|
feedback: 'Comentarios',
|
|
@@ -1,25 +1,7 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
title: {
|
|
3
|
-
|
|
4
|
-
open_response: 'Abrir configuración de respuesta',
|
|
5
|
-
open_response_collate: 'Abrir configuración de descarga de respuesta',
|
|
6
|
-
image: 'Configuración de imagen',
|
|
7
|
-
user_upload: 'Configuración de carga del usuario',
|
|
8
|
-
file_download: 'Configuración de descarga de archivos',
|
|
9
|
-
tab_settings: 'Configuración de pestaña',
|
|
10
|
-
text_editor: 'Configuración del editor de texto',
|
|
11
|
-
clickable_icons:
|
|
12
|
-
'Configuración de iconos en los que se puede hacer clic',
|
|
13
|
-
scenario_choice: 'Elección de escenario',
|
|
14
|
-
accordion: 'Configuración de acordeón',
|
|
15
|
-
video: 'Configuración de video/audio',
|
|
16
|
-
table: 'Configuración de la tabla',
|
|
17
|
-
math: 'Configuración matemática',
|
|
18
|
-
feedback: 'Configuración de comentarios',
|
|
19
|
-
horizontal_line: 'Configuración del divisor',
|
|
20
|
-
email: 'Ajustes del correo electrónico',
|
|
3
|
+
block_builder: 'Constructor de bloques',
|
|
21
4
|
click_to_enter: 'Haga clic para ingresar texto',
|
|
22
|
-
block_quote: 'Configuración de cotización en bloque',
|
|
23
5
|
},
|
|
24
6
|
errors: {
|
|
25
7
|
input_limitations: 'Debe tener menos de {0} caracteres.',
|
|
@@ -10,6 +10,7 @@ import block_quote from './block_quote'
|
|
|
10
10
|
import file_download from './file_download'
|
|
11
11
|
import email from './email'
|
|
12
12
|
import generate_questions from './generate_questions'
|
|
13
|
+
import accordion from './accordion'
|
|
13
14
|
|
|
14
15
|
export default {
|
|
15
16
|
user_upload,
|
|
@@ -24,4 +25,5 @@ export default {
|
|
|
24
25
|
file_download,
|
|
25
26
|
email,
|
|
26
27
|
generate_questions,
|
|
28
|
+
accordion,
|
|
27
29
|
}
|
|
@@ -2,6 +2,6 @@ export default {
|
|
|
2
2
|
download_document: 'Ladda ner Word-dokument',
|
|
3
3
|
no_response: '[inget svar]',
|
|
4
4
|
initial_setup:
|
|
5
|
-
'
|
|
5
|
+
'Välj öppna svarsfrågor under kursens gång att inkludera i den här nedladdningen för att komma igång.',
|
|
6
6
|
generate_error: 'Det gick inte att generera dokumentet',
|
|
7
7
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
export default {
|
|
2
|
+
title: 'Filinlämning',
|
|
2
3
|
user_uploads: 'Användaruppladdningar',
|
|
3
4
|
dialog_view: 'Visa uppladdningar',
|
|
4
5
|
instructions_none: 'Ingen',
|
|
5
6
|
must_save:
|
|
6
|
-
'Du måste spara detta block innan användare kan göra uppladdningar',
|
|
7
|
+
'Du måste spara detta block innan användare kan göra uppladdningar.',
|
|
7
8
|
uploaded: 'Uppladdat',
|
|
8
9
|
name: 'Namn',
|
|
9
10
|
size: 'Storlek',
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
items: 'Dragspelsföremål',
|
|
3
|
-
add: 'Lägg till
|
|
3
|
+
add: 'Lägg till objekt',
|
|
4
4
|
accordion: 'Dragspel',
|
|
5
5
|
label: 'Dragspel brödtext',
|
|
6
6
|
instructions:
|
|
7
7
|
'Klicka på var och en av rubrikerna nedan för mer information.',
|
|
8
|
+
no_accordion_items: 'Lägg till ett dragspelsföremål för att komma igång.',
|
|
8
9
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
title: 'Titel',
|
|
3
|
+
clickable_icon_title: 'Klickbar ikon',
|
|
4
|
+
item_header: 'Klickbara ikonobjekt',
|
|
3
5
|
description: 'Description',
|
|
4
6
|
information:
|
|
5
7
|
'Klicka på vart och ett av listobjekten nedan för mer information.',
|
|
@@ -17,4 +19,8 @@ export default {
|
|
|
17
19
|
italic_icon: 'Kursiva ikoner',
|
|
18
20
|
large_icon: 'Stora ikoner',
|
|
19
21
|
},
|
|
22
|
+
add_item: 'Lägg till objekt',
|
|
23
|
+
no_clickable_items: 'lägg till en klickbar ikon för att komma igång.',
|
|
24
|
+
instructions:
|
|
25
|
+
'Klicka på vart och ett av listobjekten nedan för mer information.',
|
|
20
26
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
items: 'E-postobjekt',
|
|
3
|
-
add: 'Lägg till
|
|
3
|
+
add: 'Lägg till objekt',
|
|
4
4
|
subject: 'Ämne',
|
|
5
5
|
from: 'Från',
|
|
6
6
|
to: 'Till',
|
|
@@ -10,4 +10,5 @@ export default {
|
|
|
10
10
|
from_required: 'Från-fältet är obligatoriskt',
|
|
11
11
|
to_required: 'Till-fältet är obligatoriskt',
|
|
12
12
|
subject_required: 'Ämne-fältet är obligatoriskt',
|
|
13
|
+
no_emails: 'Lägg till e-postobjekt för att komma igång.',
|
|
13
14
|
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
export default {
|
|
2
|
+
title: 'Öppna svarsnedladdning',
|
|
3
|
+
block_instructions:
|
|
4
|
+
'Klicka på knappen nedan för att ladda ner en kopia av ditt svar.',
|
|
2
5
|
instructions:
|
|
3
6
|
'Bocka av öppna svarsobjekt för att sortera till ett dokument.',
|
|
4
7
|
include_prompts: 'Inkludera uppmaningar',
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
title: 'Titel',
|
|
3
|
+
scenario_title: 'Scenarioval',
|
|
3
4
|
description: 'Beskrivning',
|
|
4
5
|
over_item_limit: 'Kan inte lägga till fler objekt',
|
|
5
6
|
no_title: 'Ingen titel',
|
|
@@ -16,7 +17,8 @@ export default {
|
|
|
16
17
|
letter: 'Brev',
|
|
17
18
|
number: 'Nummer',
|
|
18
19
|
},
|
|
19
|
-
add_choice: 'Lägg till
|
|
20
|
+
add_choice: 'Lägg till objekt',
|
|
20
21
|
generated_successfully: 'Scenarier genererades framgångsrikt',
|
|
21
22
|
invalid_response: 'Ogiltigt svar från scenariogenereringen',
|
|
23
|
+
choices: 'Val',
|
|
22
24
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
tab: 'Flik',
|
|
3
|
-
tabs: '
|
|
3
|
+
tabs: 'Flikobjekt',
|
|
4
4
|
header: 'Flikhuvud',
|
|
5
|
-
add_tab: 'Lägg till
|
|
5
|
+
add_tab: 'Lägg till objekt',
|
|
6
6
|
delete_tab: 'Delete Tab',
|
|
7
|
-
instructions:
|
|
7
|
+
instructions:
|
|
8
|
+
'Klicka på var och en av rubrikerna nedan för mer information.',
|
|
9
|
+
no_tabs: 'Lägg till ett flikobjekt för att komma igång.',
|
|
8
10
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
|
-
title: '
|
|
2
|
+
title: 'Titel',
|
|
3
|
+
prebuilt_title: 'Video/ljud',
|
|
3
4
|
sources: 'Källor',
|
|
4
5
|
place_source: 'Placera video eller ljud',
|
|
5
6
|
playback: 'Uppspelning',
|
|
@@ -65,4 +66,5 @@ export default {
|
|
|
65
66
|
configure_blurb:
|
|
66
67
|
'Ladda upp en postroll-videofil (.mp4 eller .webm), välj en från filhanteraren eller lägg till via den offentliga webbadressen',
|
|
67
68
|
},
|
|
69
|
+
no_video_alert: 'Placera en video- eller ljudfil för att komma igång.',
|
|
68
70
|
}
|
|
@@ -10,7 +10,7 @@ export default {
|
|
|
10
10
|
open_response: 'Öppet svar',
|
|
11
11
|
open_response_collate: 'Öppna svar Ladda ner',
|
|
12
12
|
image: 'Bild',
|
|
13
|
-
user_upload: '
|
|
13
|
+
user_upload: 'Filinlämning',
|
|
14
14
|
clickable_icons: 'Klickbara ikoner',
|
|
15
15
|
scenario_choice: 'Scenarioval',
|
|
16
16
|
feedback: 'Feedback',
|
|
@@ -1,24 +1,7 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
title: {
|
|
3
|
-
|
|
4
|
-
open_response: 'Öppna svarsinställningar',
|
|
5
|
-
open_response_collate: 'Öppna inställningar för nedladdning av svar',
|
|
6
|
-
image: 'Bildinställningar',
|
|
7
|
-
user_upload: 'Användaruppladdningsinställningar',
|
|
8
|
-
file_download: 'Filnedladdningsinställningar',
|
|
9
|
-
tab_settings: 'Flikinställningar',
|
|
10
|
-
text_editor: 'Textredigeringsinställningar',
|
|
11
|
-
clickable_icons: 'Inställningar för klickbara ikoner',
|
|
12
|
-
scenario_choice: 'Scenarioval',
|
|
13
|
-
accordion: 'Accordion Settings',
|
|
14
|
-
video: 'Video/ljudinställningar',
|
|
15
|
-
table: 'Tabellinställningar',
|
|
16
|
-
math: 'Matematiska inställningar',
|
|
17
|
-
feedback: 'Feedback-inställningar',
|
|
18
|
-
horizontal_line: 'Inställningar för avdelare',
|
|
19
|
-
email: 'E-postinställningar',
|
|
3
|
+
block_builder: 'Blockbyggare',
|
|
20
4
|
click_to_enter: 'Klicka för att skriva in text',
|
|
21
|
-
block_quote: 'Blockera offertinställningar',
|
|
22
5
|
},
|
|
23
6
|
errors: {
|
|
24
7
|
input_limitations: 'Måste vara mindre än {0} tecken.',
|
package/package.json
CHANGED
package/plugin.js
CHANGED
|
@@ -45,6 +45,7 @@ import FillInTheBlanks from './components/utils/FillInBlank/FillInTheBlanksManag
|
|
|
45
45
|
import FillInBlankInput from './components/utils/FillInBlank/FillInBlankInput.vue'
|
|
46
46
|
|
|
47
47
|
import GlossaryStore from './store/glossary.js'
|
|
48
|
+
import FeedbackAnalytics from './components/Content/Blocks/Feedback/FeedbackAnalytics.vue'
|
|
48
49
|
|
|
49
50
|
export default {
|
|
50
51
|
name: 'windward.core.name',
|
|
@@ -166,7 +167,7 @@ export default {
|
|
|
166
167
|
metadata: {
|
|
167
168
|
icon: 'mdi-text-long',
|
|
168
169
|
name: 'windward.core.shared.content_blocks.title.open_response',
|
|
169
|
-
grouping: 'components.content.blocks.group.
|
|
170
|
+
grouping: 'components.content.blocks.group.activities',
|
|
170
171
|
},
|
|
171
172
|
},
|
|
172
173
|
{
|
|
@@ -175,7 +176,7 @@ export default {
|
|
|
175
176
|
metadata: {
|
|
176
177
|
icon: 'mdi-cloud-download',
|
|
177
178
|
name: 'windward.core.shared.content_blocks.title.open_response_collate',
|
|
178
|
-
grouping: 'components.content.blocks.group.
|
|
179
|
+
grouping: 'components.content.blocks.group.activities',
|
|
179
180
|
},
|
|
180
181
|
},
|
|
181
182
|
{
|
|
@@ -220,7 +221,7 @@ export default {
|
|
|
220
221
|
metadata: {
|
|
221
222
|
icon: 'mdi-message',
|
|
222
223
|
name: 'windward.core.shared.content_blocks.title.feedback',
|
|
223
|
-
grouping: 'components.content.blocks.group.
|
|
224
|
+
grouping: 'components.content.blocks.group.activities',
|
|
224
225
|
},
|
|
225
226
|
},
|
|
226
227
|
{
|
|
@@ -258,7 +259,7 @@ export default {
|
|
|
258
259
|
context: ['block.core-open-response'],
|
|
259
260
|
metadata: {
|
|
260
261
|
icon: 'mdi-cog',
|
|
261
|
-
name: 'windward.core.shared.settings.title.
|
|
262
|
+
name: 'windward.core.shared.settings.title.block_builder',
|
|
262
263
|
},
|
|
263
264
|
},
|
|
264
265
|
{
|
|
@@ -267,7 +268,7 @@ export default {
|
|
|
267
268
|
context: ['block.core-open-response-collate'],
|
|
268
269
|
metadata: {
|
|
269
270
|
icon: 'mdi-cog',
|
|
270
|
-
name: 'windward.core.shared.settings.title.
|
|
271
|
+
name: 'windward.core.shared.settings.title.block_builder',
|
|
271
272
|
},
|
|
272
273
|
},
|
|
273
274
|
{
|
|
@@ -276,7 +277,7 @@ export default {
|
|
|
276
277
|
context: ['block.core-image'],
|
|
277
278
|
metadata: {
|
|
278
279
|
icon: 'mdi-cog',
|
|
279
|
-
name: 'windward.core.shared.settings.title.
|
|
280
|
+
name: 'windward.core.shared.settings.title.block_builder',
|
|
280
281
|
},
|
|
281
282
|
},
|
|
282
283
|
{
|
|
@@ -285,7 +286,7 @@ export default {
|
|
|
285
286
|
context: ['block.core-user-upload'],
|
|
286
287
|
metadata: {
|
|
287
288
|
icon: 'mdi-cog',
|
|
288
|
-
name: 'windward.core.shared.settings.title.
|
|
289
|
+
name: 'windward.core.shared.settings.title.block_builder',
|
|
289
290
|
},
|
|
290
291
|
},
|
|
291
292
|
{
|
|
@@ -294,7 +295,7 @@ export default {
|
|
|
294
295
|
context: ['block.core-file-download'],
|
|
295
296
|
metadata: {
|
|
296
297
|
icon: 'mdi-cog',
|
|
297
|
-
name: 'windward.core.shared.settings.title.
|
|
298
|
+
name: 'windward.core.shared.settings.title.block_builder',
|
|
298
299
|
},
|
|
299
300
|
},
|
|
300
301
|
{
|
|
@@ -303,7 +304,7 @@ export default {
|
|
|
303
304
|
context: ['block.core-tab'],
|
|
304
305
|
metadata: {
|
|
305
306
|
icon: 'mdi-cog',
|
|
306
|
-
name: 'windward.core.shared.settings.title.
|
|
307
|
+
name: 'windward.core.shared.settings.title.block_builder',
|
|
307
308
|
},
|
|
308
309
|
},
|
|
309
310
|
{
|
|
@@ -312,7 +313,7 @@ export default {
|
|
|
312
313
|
context: ['block.core-clickable-icons'],
|
|
313
314
|
metadata: {
|
|
314
315
|
icon: 'mdi-cog',
|
|
315
|
-
name: 'windward.core.shared.settings.title.
|
|
316
|
+
name: 'windward.core.shared.settings.title.block_builder',
|
|
316
317
|
},
|
|
317
318
|
},
|
|
318
319
|
{
|
|
@@ -321,7 +322,7 @@ export default {
|
|
|
321
322
|
context: ['block.core-scenario-choice'],
|
|
322
323
|
metadata: {
|
|
323
324
|
icon: 'mdi-cog',
|
|
324
|
-
name: 'windward.core.shared.settings.title.
|
|
325
|
+
name: 'windward.core.shared.settings.title.block_builder',
|
|
325
326
|
},
|
|
326
327
|
},
|
|
327
328
|
{
|
|
@@ -330,7 +331,7 @@ export default {
|
|
|
330
331
|
context: ['block.core-video'],
|
|
331
332
|
metadata: {
|
|
332
333
|
icon: 'mdi-cog',
|
|
333
|
-
name: 'windward.core.shared.settings.title.
|
|
334
|
+
name: 'windward.core.shared.settings.title.block_builder',
|
|
334
335
|
},
|
|
335
336
|
},
|
|
336
337
|
{
|
|
@@ -339,7 +340,7 @@ export default {
|
|
|
339
340
|
context: ['block.core-accordion'],
|
|
340
341
|
metadata: {
|
|
341
342
|
icon: 'mdi-cog',
|
|
342
|
-
name: 'windward.core.shared.settings.title.
|
|
343
|
+
name: 'windward.core.shared.settings.title.block_builder',
|
|
343
344
|
},
|
|
344
345
|
},
|
|
345
346
|
{
|
|
@@ -348,7 +349,7 @@ export default {
|
|
|
348
349
|
context: ['block.core-table'],
|
|
349
350
|
metadata: {
|
|
350
351
|
icon: 'mdi-cog',
|
|
351
|
-
name: 'windward.core.shared.settings.title.
|
|
352
|
+
name: 'windward.core.shared.settings.title.block_builder',
|
|
352
353
|
},
|
|
353
354
|
},
|
|
354
355
|
{
|
|
@@ -357,7 +358,7 @@ export default {
|
|
|
357
358
|
context: ['block.content-blocks-text'],
|
|
358
359
|
metadata: {
|
|
359
360
|
icon: 'mdi-notebook-outline',
|
|
360
|
-
name: 'windward.core.shared.settings.title.
|
|
361
|
+
name: 'windward.core.shared.settings.title.block_builder',
|
|
361
362
|
},
|
|
362
363
|
},
|
|
363
364
|
{
|
|
@@ -366,7 +367,7 @@ export default {
|
|
|
366
367
|
context: ['block.core-feedback'],
|
|
367
368
|
metadata: {
|
|
368
369
|
icon: 'mdi-notebook-outline',
|
|
369
|
-
name: 'windward.core.shared.settings.title.
|
|
370
|
+
name: 'windward.core.shared.settings.title.block_builder',
|
|
370
371
|
},
|
|
371
372
|
},
|
|
372
373
|
{
|
|
@@ -375,7 +376,7 @@ export default {
|
|
|
375
376
|
context: ['block.core-email'],
|
|
376
377
|
metadata: {
|
|
377
378
|
icon: 'mdi-notebook-outline',
|
|
378
|
-
name: 'windward.core.shared.settings.title.
|
|
379
|
+
name: 'windward.core.shared.settings.title.block_builder',
|
|
379
380
|
},
|
|
380
381
|
},
|
|
381
382
|
{
|
|
@@ -384,7 +385,7 @@ export default {
|
|
|
384
385
|
context: ['block.core-block-quote'],
|
|
385
386
|
metadata: {
|
|
386
387
|
icon: 'mdi-notebook-outline',
|
|
387
|
-
name: 'windward.core.shared.settings.title.
|
|
388
|
+
name: 'windward.core.shared.settings.title.block_builder',
|
|
388
389
|
},
|
|
389
390
|
},
|
|
390
391
|
{
|
|
@@ -393,10 +394,17 @@ export default {
|
|
|
393
394
|
context: ['block.core-horizontal-rule'],
|
|
394
395
|
metadata: {
|
|
395
396
|
icon: 'mdi-cog',
|
|
396
|
-
name: 'windward.core.shared.settings.title.
|
|
397
|
+
name: 'windward.core.shared.settings.title.block_builder',
|
|
397
398
|
},
|
|
398
399
|
},
|
|
399
400
|
],
|
|
401
|
+
contentBlockAnalytics: [
|
|
402
|
+
{
|
|
403
|
+
tag: 'core-feedback-analytics',
|
|
404
|
+
template: FeedbackAnalytics,
|
|
405
|
+
context: ['block.plugin-core-feedback'],
|
|
406
|
+
},
|
|
407
|
+
],
|
|
400
408
|
},
|
|
401
409
|
store: {
|
|
402
410
|
glossary: GlossaryStore,
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { shallowMount } from '@vue/test-utils'
|
|
2
|
+
import Vuetify from 'vuetify'
|
|
3
|
+
import Vue from 'vue'
|
|
4
|
+
import { defaultMocks } from '@/test/mocks'
|
|
5
|
+
import FeedbackAnalytics from '@/components/Content/Blocks/Feedback/FeedbackAnalytics.vue'
|
|
6
|
+
|
|
7
|
+
Vue.use(Vuetify)
|
|
8
|
+
|
|
9
|
+
describe('Accordion', () => {
|
|
10
|
+
test('is a Vue instance', () => {
|
|
11
|
+
const wrapper = shallowMount(FeedbackAnalytics, {
|
|
12
|
+
vuetify: new Vuetify(),
|
|
13
|
+
mocks: defaultMocks,
|
|
14
|
+
propsData: {
|
|
15
|
+
value: {
|
|
16
|
+
body: 'accordion',
|
|
17
|
+
metadata: { config: {} },
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
})
|
|
21
|
+
expect(wrapper.vm).toBeTruthy()
|
|
22
|
+
})
|
|
23
|
+
})
|
|
@@ -2,7 +2,7 @@ import { shallowMount } from '@vue/test-utils'
|
|
|
2
2
|
import Vuetify from 'vuetify'
|
|
3
3
|
import Vue from 'vue'
|
|
4
4
|
import { defaultMocks } from '@/test/mocks'
|
|
5
|
-
import FeedbackQuestionLikert from '@/components/Content/Blocks/FeedbackTemplates/FeedbackQuestionLikert'
|
|
5
|
+
import FeedbackQuestionLikert from '@/components/Content/Blocks/Feedback/FeedbackTemplates/FeedbackQuestionLikert'
|
|
6
6
|
|
|
7
7
|
Vue.use(Vuetify)
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@ import { shallowMount } from '@vue/test-utils'
|
|
|
2
2
|
import Vuetify from 'vuetify'
|
|
3
3
|
import Vue from 'vue'
|
|
4
4
|
import { defaultMocks } from '@/test/mocks'
|
|
5
|
-
import FeedbackQuestionOpenResponse from '@/components/Content/Blocks/FeedbackTemplates/FeedbackQuestionOpenResponse'
|
|
5
|
+
import FeedbackQuestionOpenResponse from '@/components/Content/Blocks/Feedback/FeedbackTemplates/FeedbackQuestionOpenResponse'
|
|
6
6
|
|
|
7
7
|
Vue.use(Vuetify)
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@ import { shallowMount } from '@vue/test-utils'
|
|
|
2
2
|
import Vuetify from 'vuetify'
|
|
3
3
|
import Vue from 'vue'
|
|
4
4
|
import { defaultMocks } from '@/test/mocks'
|
|
5
|
-
import FeedbackQuestionTrueFalse from '@/components/Content/Blocks/FeedbackTemplates/FeedbackQuestionTrueFalse'
|
|
5
|
+
import FeedbackQuestionTrueFalse from '@/components/Content/Blocks/Feedback/FeedbackTemplates/FeedbackQuestionTrueFalse'
|
|
6
6
|
|
|
7
7
|
Vue.use(Vuetify)
|
|
8
8
|
|
|
@@ -40,19 +40,6 @@ describe('AccordionSettings', () => {
|
|
|
40
40
|
hideBackground: true,
|
|
41
41
|
},
|
|
42
42
|
},
|
|
43
|
-
{
|
|
44
|
-
header: '',
|
|
45
|
-
expand: false,
|
|
46
|
-
content: '',
|
|
47
|
-
fileConfig: {
|
|
48
|
-
display: {
|
|
49
|
-
width: 100,
|
|
50
|
-
margin: '',
|
|
51
|
-
padding: '',
|
|
52
|
-
},
|
|
53
|
-
hideBackground: true,
|
|
54
|
-
},
|
|
55
|
-
},
|
|
56
43
|
])
|
|
57
44
|
})
|
|
58
45
|
|