@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.
Files changed (110) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/components/Content/Blocks/Accordion.vue +8 -14
  3. package/components/Content/Blocks/BlockQuote.vue +29 -4
  4. package/components/Content/Blocks/ClickableIcons.vue +18 -6
  5. package/components/Content/Blocks/Email.vue +10 -3
  6. package/components/Content/Blocks/Feedback/FeedbackAnalytics.vue +179 -0
  7. package/components/Content/Blocks/Feedback.vue +115 -111
  8. package/components/Content/Blocks/Image.vue +4 -0
  9. package/components/Content/Blocks/OpenResponse.vue +0 -9
  10. package/components/Content/Blocks/OpenResponseCollate.vue +27 -0
  11. package/components/Content/Blocks/ScenarioChoice.vue +10 -1
  12. package/components/Content/Blocks/Tab.vue +15 -28
  13. package/components/Content/Blocks/UserUpload.vue +65 -37
  14. package/components/Content/Blocks/Video.vue +17 -7
  15. package/components/Settings/AccordionSettings.vue +3 -15
  16. package/components/Settings/BlockQuoteSettings.vue +6 -4
  17. package/components/Settings/ClickableIconsSettings.vue +21 -7
  18. package/components/Settings/EmailSettings.vue +3 -11
  19. package/components/Settings/FileDownloadSettings.vue +8 -2
  20. package/components/Settings/OpenResponseCollateSettings.vue +19 -1
  21. package/components/Settings/OpenResponseSettings.vue +8 -7
  22. package/components/Settings/ScenarioChoiceSettings.vue +11 -5
  23. package/components/Settings/TabSettings.vue +3 -18
  24. package/components/Settings/UserUploadSettings.vue +16 -8
  25. package/components/Settings/VideoSettings/SourcePicker.vue +34 -8
  26. package/components/Settings/VideoSettings.vue +18 -2
  27. package/components/utils/glossary/GlossaryToolTip.vue +4 -23
  28. package/helpers/GlossaryHelper.ts +4 -7
  29. package/i18n/en-US/components/content/blocks/accordion.ts +3 -0
  30. package/i18n/en-US/components/content/blocks/block_quote.ts +3 -1
  31. package/i18n/en-US/components/content/blocks/feedback.ts +2 -0
  32. package/i18n/en-US/components/content/blocks/file_download.ts +2 -1
  33. package/i18n/en-US/components/content/blocks/index.ts +2 -0
  34. package/i18n/en-US/components/content/blocks/open_response.ts +1 -1
  35. package/i18n/en-US/components/content/blocks/open_response_collate.ts +1 -1
  36. package/i18n/en-US/components/content/blocks/scenario_choice.ts +2 -0
  37. package/i18n/en-US/components/content/blocks/user_upload.ts +2 -1
  38. package/i18n/en-US/components/settings/accordion.ts +2 -1
  39. package/i18n/en-US/components/settings/block_quote.ts +1 -1
  40. package/i18n/en-US/components/settings/clickable_icon.ts +5 -0
  41. package/i18n/en-US/components/settings/email.ts +2 -1
  42. package/i18n/en-US/components/settings/file_download.ts +2 -2
  43. package/i18n/en-US/components/settings/image.ts +1 -0
  44. package/i18n/en-US/components/settings/open_response.ts +3 -0
  45. package/i18n/en-US/components/settings/open_response_collate.ts +3 -0
  46. package/i18n/en-US/components/settings/scenario_choice.ts +3 -1
  47. package/i18n/en-US/components/settings/tab.ts +4 -3
  48. package/i18n/en-US/components/settings/user_upload.ts +1 -0
  49. package/i18n/en-US/components/settings/video.ts +3 -1
  50. package/i18n/en-US/shared/content_blocks.ts +1 -1
  51. package/i18n/en-US/shared/settings.ts +1 -18
  52. package/i18n/es-ES/components/content/blocks/accordion.ts +3 -0
  53. package/i18n/es-ES/components/content/blocks/block_quote.ts +3 -1
  54. package/i18n/es-ES/components/content/blocks/feedback.ts +2 -0
  55. package/i18n/es-ES/components/content/blocks/file_download.ts +2 -1
  56. package/i18n/es-ES/components/content/blocks/index.ts +2 -0
  57. package/i18n/es-ES/components/content/blocks/open_response.ts +1 -2
  58. package/i18n/es-ES/components/content/blocks/open_response_collate.ts +1 -1
  59. package/i18n/es-ES/components/content/blocks/scenario_choice.ts +2 -0
  60. package/i18n/es-ES/components/content/blocks/user_upload.ts +2 -1
  61. package/i18n/es-ES/components/settings/accordion.ts +4 -2
  62. package/i18n/es-ES/components/settings/block_quote.ts +1 -1
  63. package/i18n/es-ES/components/settings/clickable_icon.ts +7 -0
  64. package/i18n/es-ES/components/settings/email.ts +2 -1
  65. package/i18n/es-ES/components/settings/image.ts +1 -0
  66. package/i18n/es-ES/components/settings/open_response.ts +3 -0
  67. package/i18n/es-ES/components/settings/open_response_collate.ts +3 -0
  68. package/i18n/es-ES/components/settings/scenario_choice.ts +3 -1
  69. package/i18n/es-ES/components/settings/tab.ts +3 -2
  70. package/i18n/es-ES/components/settings/user_upload.ts +1 -0
  71. package/i18n/es-ES/components/settings/video.ts +3 -1
  72. package/i18n/es-ES/shared/content_blocks.ts +1 -1
  73. package/i18n/es-ES/shared/settings.ts +1 -19
  74. package/i18n/sv-SE/components/content/blocks/accordion.ts +3 -0
  75. package/i18n/sv-SE/components/content/blocks/block_quote.ts +3 -1
  76. package/i18n/sv-SE/components/content/blocks/feedback.ts +2 -0
  77. package/i18n/sv-SE/components/content/blocks/file_download.ts +2 -1
  78. package/i18n/sv-SE/components/content/blocks/index.ts +2 -0
  79. package/i18n/sv-SE/components/content/blocks/open_response.ts +1 -2
  80. package/i18n/sv-SE/components/content/blocks/open_response_collate.ts +1 -1
  81. package/i18n/sv-SE/components/content/blocks/scenario_choice.ts +2 -0
  82. package/i18n/sv-SE/components/content/blocks/user_upload.ts +2 -1
  83. package/i18n/sv-SE/components/settings/accordion.ts +2 -1
  84. package/i18n/sv-SE/components/settings/block_quote.ts +1 -1
  85. package/i18n/sv-SE/components/settings/clickable_icon.ts +6 -0
  86. package/i18n/sv-SE/components/settings/email.ts +2 -1
  87. package/i18n/sv-SE/components/settings/image.ts +1 -0
  88. package/i18n/sv-SE/components/settings/open_response.ts +3 -0
  89. package/i18n/sv-SE/components/settings/open_response_collate.ts +3 -0
  90. package/i18n/sv-SE/components/settings/scenario_choice.ts +3 -1
  91. package/i18n/sv-SE/components/settings/tab.ts +5 -3
  92. package/i18n/sv-SE/components/settings/user_upload.ts +1 -0
  93. package/i18n/sv-SE/components/settings/video.ts +3 -1
  94. package/i18n/sv-SE/shared/content_blocks.ts +1 -1
  95. package/i18n/sv-SE/shared/settings.ts +1 -18
  96. package/models/SurveyResultMetric.ts +8 -0
  97. package/package.json +1 -1
  98. package/plugin.js +27 -19
  99. package/test/Components/Content/Blocks/Feedback/FeedbackTemplates/FeedbackAnalytics.spec.js +23 -0
  100. package/test/Components/Content/Blocks/{FeedbackTemplates → Feedback/FeedbackTemplates}/FeedbackQuestionLikert.spec.js +1 -1
  101. package/test/Components/Content/Blocks/{FeedbackTemplates → Feedback/FeedbackTemplates}/FeedbackQuestionOpenResponse.spec.js +1 -1
  102. package/test/Components/Content/Blocks/{FeedbackTemplates → Feedback/FeedbackTemplates}/FeedbackQuestionTrueFalse.spec.js +1 -1
  103. package/test/Components/Settings/AccordionSettings.spec.js +0 -13
  104. package/test/Components/Settings/ClickableIconsSettings.spec.js +0 -11
  105. package/test/Components/Settings/EmailSettings.spec.js +0 -9
  106. package/test/Components/Settings/TabSettings.spec.js +0 -13
  107. package/test/helpers/GlossaryHelper.spec.js +8 -8
  108. package/components/Content/Blocks/{FeedbackTemplates → Feedback/FeedbackTemplates}/FeedbackQuestionLikert.vue +1 -1
  109. package/components/Content/Blocks/{FeedbackTemplates → Feedback/FeedbackTemplates}/FeedbackQuestionOpenResponse.vue +1 -1
  110. /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 opción',
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: 'Pestañas',
3
+ tabs: 'Elementos de pestaña',
4
4
  header: 'Encabezado de Pestaña',
5
- add_tab: 'Añadir pestaña',
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
  }
@@ -11,4 +11,5 @@ export default {
11
11
  },
12
12
  max_file_size: 'Tamaño máximo de archivo: 100 MB',
13
13
  instructions: 'Arrastre o haga clic aquí para cargar archivos.',
14
+ files_header: 'Opciones de envío de archivos',
14
15
  }
@@ -1,5 +1,6 @@
1
1
  export default {
2
- title: 'Título del medio',
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: 'Carga de usuario',
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
- assessment: 'Configuración de evaluación',
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.',
@@ -0,0 +1,3 @@
1
+ export default {
2
+ no_accordion_items: 'Lägg till ett dragspelsföremål för att komma igång.',
3
+ }
@@ -1,3 +1,5 @@
1
1
  export default {
2
- body: 'Block Citat Body',
2
+ body: 'Citationstecken',
3
+ title: 'Blockera citat',
4
+ no_items: 'Lägg till citattext för att komma igång.',
3
5
  }
@@ -28,4 +28,6 @@ export default {
28
28
  disagree: 'Instämmer inte alls',
29
29
  strongly_disagree: 'Håller inte med starkt',
30
30
  },
31
+ no_feedback:
32
+ 'Välj ett förinställt alternativ för kursfeedback eller modulfeedback för att komma igång.',
31
33
  }
@@ -1,5 +1,6 @@
1
1
  export default {
2
2
  default_title: 'Ladda ner fil(er)',
3
3
  default_instructions: 'Klicka på varje länk för att ladda ner filen.',
4
- no_files: 'Inga filer',
4
+ no_files: 'Lägg till en fil för att komma igång.',
5
+ items_header: 'Filnedladdningsobjekt',
5
6
  }
@@ -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
  }
@@ -1,6 +1,5 @@
1
1
  export default {
2
- initial_setup:
3
- 'Ange en uppmaning för detta öppna svarsblock för att komma igång',
2
+ initial_setup: 'Lägg till frågetext för att komma igång.',
4
3
  your_response: 'Ditt svar',
5
4
  sample_response: 'Föreslagen/provsvar',
6
5
  }
@@ -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
- 'Öppna blockinställningarna och välj Öppna svarsblock som du vill sortera för nedladdning',
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
  }
@@ -2,4 +2,6 @@ export default {
2
2
  information: 'Klicka på ett av objekten nedan för att gör ett val.',
3
3
  try_again: 'Försök igen',
4
4
  selected_choice: 'Ditt val',
5
+ no_scenario:
6
+ 'Add scenario text to get started. Then, add choices in response to the scenario.',
5
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 dragspel',
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,6 +1,6 @@
1
1
  export default {
2
2
  block_quote: 'Blockera citat',
3
- body: 'Blockquote Body',
3
+ body: 'Citationstecken',
4
4
  name: 'Namn',
5
5
  title: 'Titel',
6
6
  org: 'Organisation',
@@ -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 e-post',
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
  }
@@ -16,4 +16,5 @@ export default {
16
16
  inherit: 'Ärva globala inställningar',
17
17
  inherit_no_alt: 'Ingen global alt-text tillgänglig för filen',
18
18
  inherit_no_aria: 'Ingen global skärmläsartext tillgänglig för filen',
19
+ no_image: 'Placera en bildfil för att komma igång.',
19
20
  }
@@ -2,4 +2,7 @@ export default {
2
2
  question: 'Fråga',
3
3
  sample_response: 'Föreslagen/provsvar',
4
4
  starting_text: 'Starttext',
5
+ title: 'Öppet svar',
6
+ instructions:
7
+ 'Skriv ditt svar i textrutan och klicka på "Skicka" för att spara ditt svar.',
5
8
  }
@@ -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 val',
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: 'Flikar',
3
+ tabs: 'Flikobjekt',
4
4
  header: 'Flikhuvud',
5
- add_tab: 'Lägg till flik',
5
+ add_tab: 'Lägg till objekt',
6
6
  delete_tab: 'Delete Tab',
7
- instructions: 'Klicka på var och en av rubrikerna nedan för mer information.'
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
  }
@@ -11,4 +11,5 @@ export default {
11
11
  },
12
12
  max_file_size: 'Maximal filstorlek: 100 MB',
13
13
  instructions: 'Dra eller klicka här för att ladda upp filer.',
14
+ files_header: 'Filinlämningsalternativ',
14
15
  }
@@ -1,5 +1,6 @@
1
1
  export default {
2
- title: 'Media Titel',
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: '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
- assessment: 'Bedömningsinställningar',
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.',
@@ -0,0 +1,8 @@
1
+ // @ts-ignore
2
+ import Model from '~/models/Model'
3
+
4
+ export default class SurveyResultMetric extends Model {
5
+ resource() {
6
+ return 'survey-result-metric'
7
+ }
8
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@windward/core",
3
- "version": "0.25.1",
3
+ "version": "0.27.0",
4
4
  "description": "Windward UI Core Plugins",
5
5
  "main": "plugin.js",
6
6
  "scripts": {
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.basic',
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.basic',
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.basic',
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.open_response',
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.open_response_collate',
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.image',
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.user_upload',
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.file_download',
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.tab_settings',
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.clickable_icons',
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.scenario_choice',
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.video',
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.accordion',
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.table',
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.text_editor',
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.feedback',
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.email',
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.block_quote',
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.horizontal_line',
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
 
@@ -38,17 +38,6 @@ describe('ClickableIconsSettings', () => {
38
38
  },
39
39
  active: false,
40
40
  },
41
- {
42
- icon: '',
43
- fileConfig: {},
44
- iconImage: false,
45
- title: '',
46
- body: '<p></p>',
47
- color: {
48
- class: '',
49
- },
50
- active: false,
51
- },
52
41
  ])
53
42
  })
54
43