@windward/core 0.26.0 → 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 (105) hide show
  1. package/CHANGELOG.md +29 -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/ScenarioChoice.vue +10 -1
  10. package/components/Content/Blocks/Tab.vue +15 -28
  11. package/components/Content/Blocks/UserUpload.vue +65 -37
  12. package/components/Content/Blocks/Video.vue +17 -7
  13. package/components/Settings/AccordionSettings.vue +3 -15
  14. package/components/Settings/BlockQuoteSettings.vue +6 -4
  15. package/components/Settings/ClickableIconsSettings.vue +21 -7
  16. package/components/Settings/EmailSettings.vue +3 -11
  17. package/components/Settings/FileDownloadSettings.vue +8 -2
  18. package/components/Settings/OpenResponseCollateSettings.vue +10 -0
  19. package/components/Settings/OpenResponseSettings.vue +8 -7
  20. package/components/Settings/ScenarioChoiceSettings.vue +11 -5
  21. package/components/Settings/TabSettings.vue +3 -18
  22. package/components/Settings/UserUploadSettings.vue +16 -8
  23. package/components/Settings/VideoSettings/SourcePicker.vue +34 -8
  24. package/components/Settings/VideoSettings.vue +18 -2
  25. package/components/utils/glossary/GlossaryToolTip.vue +4 -23
  26. package/helpers/GlossaryHelper.ts +4 -7
  27. package/i18n/en-US/components/content/blocks/accordion.ts +3 -0
  28. package/i18n/en-US/components/content/blocks/block_quote.ts +3 -1
  29. package/i18n/en-US/components/content/blocks/feedback.ts +2 -0
  30. package/i18n/en-US/components/content/blocks/file_download.ts +2 -1
  31. package/i18n/en-US/components/content/blocks/index.ts +2 -0
  32. package/i18n/en-US/components/content/blocks/open_response.ts +1 -1
  33. package/i18n/en-US/components/content/blocks/open_response_collate.ts +1 -1
  34. package/i18n/en-US/components/content/blocks/scenario_choice.ts +2 -0
  35. package/i18n/en-US/components/content/blocks/user_upload.ts +2 -1
  36. package/i18n/en-US/components/settings/accordion.ts +2 -1
  37. package/i18n/en-US/components/settings/block_quote.ts +1 -1
  38. package/i18n/en-US/components/settings/clickable_icon.ts +5 -0
  39. package/i18n/en-US/components/settings/email.ts +2 -1
  40. package/i18n/en-US/components/settings/file_download.ts +2 -2
  41. package/i18n/en-US/components/settings/image.ts +1 -0
  42. package/i18n/en-US/components/settings/open_response.ts +3 -0
  43. package/i18n/en-US/components/settings/open_response_collate.ts +3 -0
  44. package/i18n/en-US/components/settings/scenario_choice.ts +3 -1
  45. package/i18n/en-US/components/settings/tab.ts +4 -3
  46. package/i18n/en-US/components/settings/user_upload.ts +1 -0
  47. package/i18n/en-US/components/settings/video.ts +3 -1
  48. package/i18n/en-US/shared/content_blocks.ts +1 -1
  49. package/i18n/es-ES/components/content/blocks/accordion.ts +3 -0
  50. package/i18n/es-ES/components/content/blocks/block_quote.ts +3 -1
  51. package/i18n/es-ES/components/content/blocks/feedback.ts +2 -0
  52. package/i18n/es-ES/components/content/blocks/file_download.ts +2 -1
  53. package/i18n/es-ES/components/content/blocks/index.ts +2 -0
  54. package/i18n/es-ES/components/content/blocks/open_response.ts +1 -2
  55. package/i18n/es-ES/components/content/blocks/open_response_collate.ts +1 -1
  56. package/i18n/es-ES/components/content/blocks/scenario_choice.ts +2 -0
  57. package/i18n/es-ES/components/content/blocks/user_upload.ts +2 -1
  58. package/i18n/es-ES/components/settings/accordion.ts +4 -2
  59. package/i18n/es-ES/components/settings/block_quote.ts +1 -1
  60. package/i18n/es-ES/components/settings/clickable_icon.ts +7 -0
  61. package/i18n/es-ES/components/settings/email.ts +2 -1
  62. package/i18n/es-ES/components/settings/image.ts +1 -0
  63. package/i18n/es-ES/components/settings/open_response.ts +3 -0
  64. package/i18n/es-ES/components/settings/open_response_collate.ts +3 -0
  65. package/i18n/es-ES/components/settings/scenario_choice.ts +3 -1
  66. package/i18n/es-ES/components/settings/tab.ts +3 -2
  67. package/i18n/es-ES/components/settings/user_upload.ts +1 -0
  68. package/i18n/es-ES/components/settings/video.ts +3 -1
  69. package/i18n/es-ES/shared/content_blocks.ts +1 -1
  70. package/i18n/sv-SE/components/content/blocks/accordion.ts +3 -0
  71. package/i18n/sv-SE/components/content/blocks/block_quote.ts +3 -1
  72. package/i18n/sv-SE/components/content/blocks/feedback.ts +2 -0
  73. package/i18n/sv-SE/components/content/blocks/file_download.ts +2 -1
  74. package/i18n/sv-SE/components/content/blocks/index.ts +2 -0
  75. package/i18n/sv-SE/components/content/blocks/open_response.ts +1 -2
  76. package/i18n/sv-SE/components/content/blocks/open_response_collate.ts +1 -1
  77. package/i18n/sv-SE/components/content/blocks/scenario_choice.ts +2 -0
  78. package/i18n/sv-SE/components/content/blocks/user_upload.ts +2 -1
  79. package/i18n/sv-SE/components/settings/accordion.ts +2 -1
  80. package/i18n/sv-SE/components/settings/block_quote.ts +1 -1
  81. package/i18n/sv-SE/components/settings/clickable_icon.ts +6 -0
  82. package/i18n/sv-SE/components/settings/email.ts +2 -1
  83. package/i18n/sv-SE/components/settings/image.ts +1 -0
  84. package/i18n/sv-SE/components/settings/open_response.ts +3 -0
  85. package/i18n/sv-SE/components/settings/open_response_collate.ts +3 -0
  86. package/i18n/sv-SE/components/settings/scenario_choice.ts +3 -1
  87. package/i18n/sv-SE/components/settings/tab.ts +5 -3
  88. package/i18n/sv-SE/components/settings/user_upload.ts +1 -0
  89. package/i18n/sv-SE/components/settings/video.ts +3 -1
  90. package/i18n/sv-SE/shared/content_blocks.ts +1 -1
  91. package/models/SurveyResultMetric.ts +8 -0
  92. package/package.json +1 -1
  93. package/plugin.js +8 -0
  94. package/test/Components/Content/Blocks/Feedback/FeedbackTemplates/FeedbackAnalytics.spec.js +23 -0
  95. package/test/Components/Content/Blocks/{FeedbackTemplates → Feedback/FeedbackTemplates}/FeedbackQuestionLikert.spec.js +1 -1
  96. package/test/Components/Content/Blocks/{FeedbackTemplates → Feedback/FeedbackTemplates}/FeedbackQuestionOpenResponse.spec.js +1 -1
  97. package/test/Components/Content/Blocks/{FeedbackTemplates → Feedback/FeedbackTemplates}/FeedbackQuestionTrueFalse.spec.js +1 -1
  98. package/test/Components/Settings/AccordionSettings.spec.js +0 -13
  99. package/test/Components/Settings/ClickableIconsSettings.spec.js +0 -11
  100. package/test/Components/Settings/EmailSettings.spec.js +0 -9
  101. package/test/Components/Settings/TabSettings.spec.js +0 -13
  102. package/test/helpers/GlossaryHelper.spec.js +8 -8
  103. package/components/Content/Blocks/{FeedbackTemplates → Feedback/FeedbackTemplates}/FeedbackQuestionLikert.vue +1 -1
  104. package/components/Content/Blocks/{FeedbackTemplates → Feedback/FeedbackTemplates}/FeedbackQuestionOpenResponse.vue +1 -1
  105. /package/components/Content/Blocks/{FeedbackTemplates → Feedback/FeedbackTemplates}/FeedbackQuestionTrueFalse.vue +0 -0
@@ -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',
@@ -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.26.0",
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',
@@ -397,6 +398,13 @@ export default {
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
 
@@ -36,15 +36,6 @@ describe('EmailSettings', () => {
36
36
  subject: '',
37
37
  tinymce_expand: false,
38
38
  },
39
- {
40
- from: '',
41
- to: '',
42
- cc: '',
43
- body: '',
44
- initials: '',
45
- subject: '',
46
- tinymce_expand: false,
47
- },
48
39
  ])
49
40
  })
50
41
 
@@ -40,19 +40,6 @@ describe('TabSettings', () => {
40
40
  hideBackground: true,
41
41
  },
42
42
  },
43
- {
44
- tabHeader: '',
45
- expand: false,
46
- content: '',
47
- imageAsset: {
48
- display: {
49
- width: 100,
50
- margin: '',
51
- padding: '',
52
- },
53
- hideBackground: true,
54
- },
55
- },
56
43
  ])
57
44
  })
58
45
 
@@ -75,15 +75,15 @@ const glossaryRender =
75
75
  ' Et inventore hic aut.</p>' +
76
76
  '<plugin-core-glossary-tool-tip>' +
77
77
  '<template v-slot:term>Architecto</template>' +
78
+ '<template v-slot:main_term>Architecto</template>' +
78
79
  '<template v-slot:definition>Architecto is a word that means architect of the universe</template>' +
79
- '<template v-slot:alternate_forms>Architect,universe</template>' +
80
80
  '<template v-slot:related_terms>a,b,c,d</template>' +
81
81
  '</plugin-core-glossary-tool-tip>'
82
82
  const glossaryRenderMultiple =
83
83
  '<plugin-core-glossary-tool-tip>' +
84
84
  '<template v-slot:term>Architecto</template>' +
85
+ '<template v-slot:main_term>Architecto</template>' +
85
86
  '<template v-slot:definition>Architecto is a word that means architect of the universe</template>' +
86
- '<template v-slot:alternate_forms>Architect,universe</template>' +
87
87
  '<template v-slot:related_terms>a,b,c,d</template>' +
88
88
  '</plugin-core-glossary-tool-tip>' +
89
89
  '<p>Voluptas est quis ut <strong>consequatur.</strong> ' +
@@ -92,8 +92,8 @@ const glossaryRenderMultiple =
92
92
  ' Et inventore hic aut.</p>' +
93
93
  '<plugin-core-glossary-tool-tip>' +
94
94
  '<template v-slot:term>Architecto</template>' +
95
+ '<template v-slot:main_term>Architecto</template>' +
95
96
  '<template v-slot:definition>Architecto is a word that means architect of the universe</template>' +
96
- '<template v-slot:alternate_forms>Architect,universe</template>' +
97
97
  '<template v-slot:related_terms>a,b,c,d</template>' +
98
98
  '</plugin-core-glossary-tool-tip>'
99
99
 
@@ -101,8 +101,8 @@ const term = new CourseGlossaryTerm(glossary[1])
101
101
  const expectedToolTip =
102
102
  '<plugin-core-glossary-tool-tip>' +
103
103
  '<template v-slot:term>Architecto</template>' +
104
+ '<template v-slot:main_term>Architecto</template>' +
104
105
  '<template v-slot:definition>Architecto is a word that means architect of the universe</template>' +
105
- '<template v-slot:alternate_forms>Architect,universe</template>' +
106
106
  '<template v-slot:related_terms>a,b,c,d</template>' +
107
107
  '</plugin-core-glossary-tool-tip>'
108
108
  const glossaryRenderCapitalized =
@@ -112,8 +112,8 @@ const glossaryRenderCapitalized =
112
112
  ' Et inventore hic aut.</p>' +
113
113
  '<plugin-core-glossary-tool-tip>' +
114
114
  '<template v-slot:term>Crisis change</template>' +
115
+ '<template v-slot:main_term>crisis change</template>' +
115
116
  '<template v-slot:definition>n/a</template>' +
116
- '<template v-slot:alternate_forms>crisis,change</template>' +
117
117
  '</plugin-core-glossary-tool-tip>'
118
118
  const glossaryRenderCapitalizedSpaceBefore =
119
119
  '<p>Voluptas est quis ut <strong>consequatur.</strong> ' +
@@ -122,8 +122,8 @@ const glossaryRenderCapitalizedSpaceBefore =
122
122
  ' Et inventore hic aut.</p>' +
123
123
  '<plugin-core-glossary-tool-tip>' +
124
124
  '<template v-slot:term> Crisis change</template>' +
125
+ '<template v-slot:main_term>crisis change</template>' +
125
126
  '<template v-slot:definition>n/a</template>' +
126
- '<template v-slot:alternate_forms>crisis,change</template>' +
127
127
  '</plugin-core-glossary-tool-tip>'
128
128
  const glossaryRenderCapitalizedSpaceAfter =
129
129
  '<p>Voluptas est quis ut <strong>consequatur.</strong> ' +
@@ -132,8 +132,8 @@ const glossaryRenderCapitalizedSpaceAfter =
132
132
  ' Et inventore hic aut.</p>' +
133
133
  '<plugin-core-glossary-tool-tip>' +
134
134
  '<template v-slot:term>Crisis change </template>' +
135
+ '<template v-slot:main_term>crisis change</template>' +
135
136
  '<template v-slot:definition>n/a</template>' +
136
- '<template v-slot:alternate_forms>crisis,change</template>' +
137
137
  '</plugin-core-glossary-tool-tip>'
138
138
  const glossaryRenderCapitalizedSpaceBeforeAfter =
139
139
  '<p>Voluptas est quis ut <strong>consequatur.</strong> ' +
@@ -142,8 +142,8 @@ const glossaryRenderCapitalizedSpaceBeforeAfter =
142
142
  ' Et inventore hic aut.</p>' +
143
143
  '<plugin-core-glossary-tool-tip>' +
144
144
  '<template v-slot:term> Crisis change </template>' +
145
+ '<template v-slot:main_term>crisis change</template>' +
145
146
  '<template v-slot:definition>n/a</template>' +
146
- '<template v-slot:alternate_forms>crisis,change</template>' +
147
147
  '</plugin-core-glossary-tool-tip>'
148
148
  describe('GlossaryHelper ', () => {
149
149
  test('detects text has glossary words', () => {
@@ -5,6 +5,7 @@
5
5
  </p>
6
6
  <div class="d-flex">
7
7
  <v-radio-group
8
+ v-model="value.response"
8
9
  :rules="[
9
10
  (v) =>
10
11
  !!v ||
@@ -15,7 +16,6 @@
15
16
  class="radio-group"
16
17
  :row="row"
17
18
  :column="column"
18
- v-model="value.response"
19
19
  >
20
20
  <v-radio
21
21
  color="green"
@@ -5,8 +5,8 @@
5
5
  </p>
6
6
  <div v-if="!feedbackExist">
7
7
  <v-text-field
8
- outlined
9
8
  v-model="value.response"
9
+ outlined
10
10
  :label="
11
11
  $t('windward.core.components.content.blocks.feedback.enter')
12
12
  "