@windward/core 0.0.5 → 0.0.7

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 (116) hide show
  1. package/README.md +2 -1
  2. package/components/Content/Blocks/ClickableIcons.vue +10 -1
  3. package/components/Content/Blocks/Feedback.vue +12 -4
  4. package/components/Content/Blocks/FeedbackTemplates/FeedbackQuestionOpenResponse.vue +10 -9
  5. package/components/Content/Blocks/Image.vue +1 -6
  6. package/components/Content/Blocks/OpenResponse.vue +137 -0
  7. package/components/Content/Blocks/OpenResponseCollate.vue +158 -0
  8. package/components/Navigation/Items/AskTheExpert.vue +173 -0
  9. package/components/Settings/ClickableIconsSettings.vue +10 -5
  10. package/components/Settings/OpenResponseCollateSettings.vue +170 -0
  11. package/components/Settings/OpenResponseSettings.vue +81 -0
  12. package/components/utils/ContentViewer.vue +15 -4
  13. package/components/utils/FillInBlank/FillInBlankInput.vue +208 -0
  14. package/components/utils/FillInBlank/FillInTheBlanksManager.vue +98 -0
  15. package/components/utils/MathExpressionEditor.vue +8 -6
  16. package/components/utils/TinyMCEWrapper.vue +59 -9
  17. package/components/utils/assets/tinymce/css/content.scss +9 -0
  18. package/components/utils/glossary/CourseGlossary.vue +12 -8
  19. package/components/utils/glossary/CourseGlossaryForm.vue +24 -5
  20. package/helpers/FillInBlankHelper.ts +55 -0
  21. package/helpers/GlossaryHelper.ts +4 -4
  22. package/helpers/tinymce/plugin.ts +99 -4
  23. package/i18n/en-US/components/content/blocks/feedback.ts +3 -0
  24. package/i18n/en-US/components/content/blocks/index.ts +4 -0
  25. package/i18n/en-US/components/content/blocks/open_response.ts +5 -0
  26. package/i18n/en-US/components/content/blocks/open_response_collate.ts +6 -0
  27. package/i18n/en-US/components/index.ts +0 -1
  28. package/i18n/en-US/components/navigation/ask_the_expert.ts +11 -0
  29. package/i18n/en-US/components/navigation/index.ts +2 -0
  30. package/i18n/en-US/components/settings/index.ts +5 -1
  31. package/i18n/en-US/components/settings/open_response.ts +5 -0
  32. package/i18n/en-US/components/settings/open_response_collate.ts +6 -0
  33. package/i18n/en-US/components/utils/FillInBlank/FillInBlankInput.ts +13 -0
  34. package/i18n/en-US/components/utils/FillInBlank/FillInTheBlanksManager.ts +11 -0
  35. package/i18n/en-US/components/utils/FillInBlank/index.ts +6 -0
  36. package/i18n/en-US/components/utils/index.ts +2 -1
  37. package/i18n/en-US/components/utils/tiny_mce_wrapper.ts +1 -0
  38. package/i18n/en-US/shared/content_blocks.ts +2 -0
  39. package/i18n/en-US/shared/menu.ts +1 -0
  40. package/i18n/en-US/shared/settings.ts +3 -1
  41. package/i18n/es-ES/components/content/blocks/feedback.ts +29 -0
  42. package/i18n/es-ES/components/content/blocks/image.ts +5 -0
  43. package/i18n/es-ES/components/content/blocks/index.ts +19 -0
  44. package/i18n/es-ES/components/content/blocks/open_response.ts +6 -0
  45. package/i18n/es-ES/components/content/blocks/open_response_collate.ts +6 -0
  46. package/i18n/es-ES/components/content/blocks/tab.ts +4 -0
  47. package/i18n/es-ES/components/content/blocks/table.ts +4 -0
  48. package/i18n/es-ES/components/content/blocks/user_upload.ts +13 -0
  49. package/i18n/es-ES/components/content/blocks/video.ts +55 -0
  50. package/i18n/es-ES/components/content/index.ts +5 -0
  51. package/i18n/es-ES/components/index.ts +12 -0
  52. package/i18n/es-ES/components/navigation/ask_the_expert.ts +11 -0
  53. package/i18n/es-ES/components/navigation/image.ts +4 -0
  54. package/i18n/es-ES/components/navigation/index.ts +7 -0
  55. package/i18n/es-ES/components/navigation/user_upload.ts +3 -0
  56. package/i18n/es-ES/components/settings/clickable_icon.ts +10 -0
  57. package/i18n/es-ES/components/settings/image.ts +1 -0
  58. package/i18n/es-ES/components/settings/index.ts +17 -0
  59. package/i18n/es-ES/components/settings/open_response.ts +5 -0
  60. package/i18n/es-ES/components/settings/open_response_collate.ts +7 -0
  61. package/i18n/es-ES/components/settings/text_editor.ts +7 -0
  62. package/i18n/es-ES/components/settings/user_upload.ts +11 -0
  63. package/i18n/es-ES/components/settings/video.ts +13 -0
  64. package/i18n/es-ES/components/utils/index.ts +5 -0
  65. package/i18n/es-ES/components/utils/tiny_mce_wrapper.ts +18 -0
  66. package/i18n/es-ES/index.ts +16 -0
  67. package/i18n/es-ES/modules/index.ts +5 -0
  68. package/i18n/es-ES/pages/glossary.ts +7 -0
  69. package/i18n/es-ES/pages/index.ts +7 -0
  70. package/i18n/es-ES/pages/user_upload.ts +3 -0
  71. package/i18n/es-ES/shared/content_blocks.ts +22 -0
  72. package/i18n/es-ES/shared/index.ts +11 -0
  73. package/i18n/es-ES/shared/menu.ts +3 -0
  74. package/i18n/es-ES/shared/permission.ts +15 -0
  75. package/i18n/es-ES/shared/settings.ts +19 -0
  76. package/i18n/sv-SE/components/content/blocks/feedback.ts +29 -0
  77. package/i18n/sv-SE/components/content/blocks/image.ts +5 -0
  78. package/i18n/sv-SE/components/content/blocks/index.ts +19 -0
  79. package/i18n/sv-SE/components/content/blocks/open_response.ts +6 -0
  80. package/i18n/sv-SE/components/content/blocks/open_response_collate.ts +6 -0
  81. package/i18n/sv-SE/components/content/blocks/tab.ts +4 -0
  82. package/i18n/sv-SE/components/content/blocks/table.ts +4 -0
  83. package/i18n/sv-SE/components/content/blocks/user_upload.ts +13 -0
  84. package/i18n/sv-SE/components/content/blocks/video.ts +53 -0
  85. package/i18n/sv-SE/components/content/index.ts +5 -0
  86. package/i18n/sv-SE/components/index.ts +12 -0
  87. package/i18n/sv-SE/components/navigation/ask_the_expert.ts +11 -0
  88. package/i18n/sv-SE/components/navigation/image.ts +4 -0
  89. package/i18n/sv-SE/components/navigation/index.ts +7 -0
  90. package/i18n/sv-SE/components/navigation/user_upload.ts +3 -0
  91. package/i18n/sv-SE/components/settings/clickable_icon.ts +10 -0
  92. package/i18n/sv-SE/components/settings/image.ts +1 -0
  93. package/i18n/sv-SE/components/settings/index.ts +17 -0
  94. package/i18n/sv-SE/components/settings/open_response.ts +5 -0
  95. package/i18n/sv-SE/components/settings/open_response_collate.ts +6 -0
  96. package/i18n/sv-SE/components/settings/text_editor.ts +7 -0
  97. package/i18n/sv-SE/components/settings/user_upload.ts +11 -0
  98. package/i18n/sv-SE/components/settings/video.ts +13 -0
  99. package/i18n/sv-SE/components/utils/index.ts +5 -0
  100. package/i18n/sv-SE/components/utils/tiny_mce_wrapper.ts +18 -0
  101. package/i18n/sv-SE/index.ts +16 -0
  102. package/i18n/sv-SE/modules/index.ts +5 -0
  103. package/i18n/sv-SE/pages/glossary.ts +7 -0
  104. package/i18n/sv-SE/pages/index.ts +7 -0
  105. package/i18n/sv-SE/pages/user_upload.ts +3 -0
  106. package/i18n/sv-SE/shared/content_blocks.ts +22 -0
  107. package/i18n/sv-SE/shared/index.ts +11 -0
  108. package/i18n/sv-SE/shared/menu.ts +3 -0
  109. package/i18n/sv-SE/shared/permission.ts +15 -0
  110. package/i18n/sv-SE/shared/settings.ts +17 -0
  111. package/package.json +1 -1
  112. package/plugin.js +68 -0
  113. package/test/Components/Content/Blocks/OpenResponse.spec.js +31 -0
  114. package/test/Components/Content/Blocks/OpenResponseCollate.spec.js +36 -0
  115. package/test/Components/Settings/OpenResponseCollateSettings.spec.js +20 -0
  116. package/test/Components/Settings/OpenResponseSettings.spec.js +20 -0
@@ -0,0 +1,11 @@
1
+ export default {
2
+ ask_expert: 'Fråga experten',
3
+ config: 'Konfiguration',
4
+ recipient_email: 'Mottagarens e-post',
5
+ course_info: 'Kurs och sidnamn',
6
+ student_section: 'Student Section',
7
+ subject: 'Ämne',
8
+ question: 'Fråga',
9
+ description:
10
+ 'Ställ en fråga till en expert som är specifik för kursinnehållet',
11
+ }
@@ -0,0 +1,4 @@
1
+ export default {
2
+ default_alt: 'Alt text',
3
+ default_aria_described: 'Aria beskriven av',
4
+ }
@@ -0,0 +1,7 @@
1
+ import user_upload from './user_upload'
2
+ import image from './image'
3
+
4
+ export default {
5
+ user_upload,
6
+ image,
7
+ }
@@ -0,0 +1,3 @@
1
+ export default {
2
+ title: 'Användaruppladdningar',
3
+ }
@@ -0,0 +1,10 @@
1
+ export default {
2
+ title: 'Titel',
3
+ description: 'Description',
4
+ information:
5
+ 'Klicka på vart och ett av listobjekten nedan för mer information.',
6
+ item_icon: 'Artikel {0} icon',
7
+ item_title: 'Artikeltitel',
8
+ item_color: 'Artikelfärg',
9
+ item_text: 'Artikeltext',
10
+ }
@@ -0,0 +1 @@
1
+ export default {}
@@ -0,0 +1,17 @@
1
+ import image from './image'
2
+ import user_upload from './user_upload'
3
+ import text_editor from './text_editor'
4
+ import video from './video'
5
+ import clickable_icon from './clickable_icon'
6
+ import open_response from './open_response'
7
+ import open_response_collate from './open_response_collate'
8
+
9
+ export default {
10
+ image,
11
+ user_upload,
12
+ text_editor,
13
+ video,
14
+ clickable_icon,
15
+ open_response,
16
+ open_response_collate,
17
+ }
@@ -0,0 +1,5 @@
1
+ export default {
2
+ question: 'Fråga',
3
+ sample_response: 'Föreslagen/provsvar',
4
+ starting_text: 'Starttext',
5
+ }
@@ -0,0 +1,6 @@
1
+ export default {
2
+ instructions:
3
+ 'Bocka av öppna svar för att sortera. Dra uppmaningarna för att ställa in den ordning du vill att svaren ska sorteras',
4
+ include_prompts: 'Inkludera uppmaningar',
5
+ filename: 'Filnamn (tomt för nuvarande sidnamn)',
6
+ }
@@ -0,0 +1,7 @@
1
+ export default {
2
+ glossary: 'Ordlista',
3
+ Text_editor: 'Editor',
4
+ verified_terms: 'verifierade villkor',
5
+ unverified_terms: 'overifierade termer',
6
+ no_glossary: 'Ingen ordlista Termer upptäckt',
7
+ }
@@ -0,0 +1,11 @@
1
+ export default {
2
+ accept_multiple: 'Flera filer',
3
+ accept_types: 'Tillåtna filtyper ',
4
+ types: {
5
+ all: 'Alla filtyper',
6
+ all_image: 'Bilder - .jpg, .png, .gif',
7
+ all_word: 'Dokument - .doc och .docx',
8
+ all_excel: 'Kalkylblad - .xls och .xlsx',
9
+ all_zip: 'Komprimerad - .zip',
10
+ },
11
+ }
@@ -0,0 +1,13 @@
1
+ export default {
2
+ title: 'Videotitel',
3
+ sources: 'Källor',
4
+ playback: 'Uppspelning',
5
+ no_sources: 'Inga källor konfigurerade',
6
+ default_filename: 'Video',
7
+ playlist: 'Videos in Playlist',
8
+ playlist_name: 'Namn i spellista',
9
+ playlist_name_source_required:
10
+ 'Välj en källa innan du namnger detta spellistaobjekt',
11
+ playlist_add: 'Lägg till en spellista Artikel',
12
+ playlist_remove: 'Ta bort detta spellistobjekt',
13
+ }
@@ -0,0 +1,5 @@
1
+ import tiny_mce_wrapper from './tiny_mce_wrapper'
2
+
3
+ export default {
4
+ tiny_mce_wrapper,
5
+ }
@@ -0,0 +1,18 @@
1
+ export default {
2
+ glossary: 'Ordlista',
3
+ term: 'Ordlista Term',
4
+ alternate_forms: 'Alternativa formulär',
5
+ definition: 'definition',
6
+ related_terms: 'relaterade termer',
7
+ table: {
8
+ default: 'Standardtabell',
9
+ default_white_line: 'Standard tabell vita linjer',
10
+ excel: 'Excel-tabell',
11
+ ledger: 'Ledger Table',
12
+ ledger_right: 'Right Aligned Ledger Tabell',
13
+ ledger_left: 'Vänsterjusterad reskontratabell',
14
+ project_management: 'Project Management',
15
+ t_chart: 'T Chart',
16
+ subject_report: 'Ämnesrapport',
17
+ },
18
+ }
@@ -0,0 +1,16 @@
1
+ import pages from './pages/index'
2
+ import components from './components/index'
3
+ import shared from './shared/index'
4
+ import modules from './modules/index'
5
+
6
+ export default {
7
+ windward: {
8
+ core: {
9
+ name: 'Windward Core',
10
+ pages,
11
+ components,
12
+ shared,
13
+ modules,
14
+ },
15
+ },
16
+ }
@@ -0,0 +1,5 @@
1
+ // import example from './example'
2
+
3
+ export default {
4
+ // example,
5
+ }
@@ -0,0 +1,7 @@
1
+ export default {
2
+ title: 'Kursordlista',
3
+ term: 'Term',
4
+ related_term: 'Relaterad term',
5
+ definition: 'definition',
6
+ alternate_forms: 'Alternativa formulär',
7
+ }
@@ -0,0 +1,7 @@
1
+ import user_upload from './user_upload'
2
+ import glossary from './glossary'
3
+
4
+ export default {
5
+ user_upload,
6
+ glossary,
7
+ }
@@ -0,0 +1,3 @@
1
+ export default {
2
+ title: 'User Upload Overview',
3
+ }
@@ -0,0 +1,22 @@
1
+ export default {
2
+ title: {
3
+ assessment: 'Bedömning',
4
+ video: 'Video / Audio',
5
+ default_table: 'Standardtabell',
6
+ tab: 'Tab',
7
+ rich_text: 'Rich Text',
8
+ math: 'Math',
9
+ accordion: 'Accordion',
10
+ open_response: 'Öppet svar',
11
+ open_response_collate: 'Öppna svarssortering',
12
+ image: 'Bild',
13
+ user_upload: 'User Upload',
14
+ clickable_icons: 'Klickbara ikoner',
15
+ feedback: 'Feedback',
16
+ },
17
+ grouping: {
18
+ basic: 'Basic Components',
19
+ multimedia: 'Multimedia Files',
20
+ placeholder: 'Skriv in text här',
21
+ },
22
+ }
@@ -0,0 +1,11 @@
1
+ import content_blocks from './content_blocks'
2
+ import settings from './settings'
3
+ import menu from './menu'
4
+ import permission from './permission'
5
+
6
+ export default {
7
+ content_blocks,
8
+ settings,
9
+ menu,
10
+ permission,
11
+ }
@@ -0,0 +1,3 @@
1
+ export default {
2
+ course_glossary: 'Kursordlista',
3
+ }
@@ -0,0 +1,15 @@
1
+ export default {
2
+ type_title: {
3
+ 'plugin->windward->core->organization->course->user->feedback':
4
+ 'Feedback access for the current user',
5
+ 'plugin->windward->core->organization->course->user->userUpload':
6
+ 'User upload block access for the current user',
7
+ },
8
+
9
+ type_description: {
10
+ 'plugin->windward->core->organization->course->user->feedback':
11
+ 'The current users access to the feedback block',
12
+ 'plugin->windward->core->organization->course->user->userUpload':
13
+ 'The current users access to the user upload block',
14
+ },
15
+ }
@@ -0,0 +1,17 @@
1
+ export default {
2
+ title: {
3
+ assessment: 'Bedömningsinställningar',
4
+ open_response: 'Öppna svarsinställningar',
5
+ open_response_collate: 'Öppna inställningar för svarssortering',
6
+ image: 'Bildinställningar',
7
+ user_upload: 'User Upload Settings',
8
+ tab_settings: 'Flikinställningar',
9
+ text_editor: 'Textredigeringsinställningar',
10
+ clickable_icons: 'Inställningar för klickbara ikoner',
11
+ accordion: 'Accordion Settings',
12
+ video: 'Videoinställningar',
13
+ table: 'Tabellinställningar',
14
+ math: 'Matematiska inställningar',
15
+ feedback: 'Feedback-inställningar',
16
+ },
17
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@windward/core",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "description": "Windward UI Core Plugins",
5
5
  "main": "plugin.js",
6
6
  "scripts": {
package/plugin.js CHANGED
@@ -11,13 +11,19 @@ import ClickableIcons from './components/Content/Blocks/ClickableIcons'
11
11
 
12
12
  import UserUploadNav from './components/Navigation/Items/UserUploadNav.vue'
13
13
 
14
+ import OpenResponse from './components/Content/Blocks/OpenResponse'
15
+ import OpenResponseCollate from './components/Content/Blocks/OpenResponseCollate'
14
16
  import Image from './components/Content/Blocks/Image'
15
17
  import UserUpload from './components/Content/Blocks/UserUpload'
16
18
 
17
19
  import GlossaryPage from './pages/glossary.vue'
18
20
  import CourseGlossaryToolNav from './components/Navigation/Items/CourseGlossaryToolNav.vue'
19
21
  import GlossaryNav from './components/Navigation/Items/GlossaryNav.vue'
22
+ import AskTheExpert from './components/Navigation/Items/AskTheExpert.vue'
23
+
20
24
  // Entrypoint for npm
25
+ import OpenResponseSettings from './components/Settings/OpenResponseSettings.vue'
26
+ import OpenResponseCollateSettings from './components/Settings/OpenResponseCollateSettings.vue'
21
27
  import ImageSettings from './components/Settings/ImageSettings.vue'
22
28
  import UserUploadSettings from './components/Settings/UserUploadSettings.vue'
23
29
  import ClickableIconsSettings from './components/Settings/ClickableIconsSettings.vue'
@@ -30,6 +36,8 @@ import UserUploadPage from './pages/userUpload.vue'
30
36
  import GlossaryToolTip from './components/utils/glossary/GlossaryToolTip.vue'
31
37
  import TextEditorSettings from './components/Settings/TextEditorSettings.vue'
32
38
  import MathSettings from './components/Settings/MathSettings.vue'
39
+ import FillInTheBlanks from './components/utils/FillInBlank/FillInTheBlanksManager.vue'
40
+ import FillInBlankInput from './components/utils/FillInBlank/FillInBlankInput.vue'
33
41
 
34
42
  export default {
35
43
  name: 'windward.core.name',
@@ -75,6 +83,14 @@ export default {
75
83
  tag: 'core-math-expression-editor',
76
84
  template: MathExpressionEditor,
77
85
  },
86
+ {
87
+ tag: 'core-fill-blanks-tool',
88
+ template: FillInTheBlanks,
89
+ },
90
+ {
91
+ tag: 'core-fill-in-blank-input',
92
+ template: FillInBlankInput,
93
+ },
78
94
  ],
79
95
  menu: [
80
96
  {
@@ -99,6 +115,20 @@ export default {
99
115
  },
100
116
  },
101
117
  },
118
+ {
119
+ tag: 'core-ask-the-expert',
120
+ i18n: 'windward.core.shared.menu.ask_the_expert',
121
+ template: AskTheExpert,
122
+ icon: 'mdi-head-question-outline',
123
+ path: '/course/{course.id}',
124
+ context: ['course'],
125
+ display: ['course_tools'],
126
+ permissions: {
127
+ 'windward.organization.course.content': {
128
+ readable: true,
129
+ },
130
+ },
131
+ },
102
132
  {
103
133
  tag: 'core-course-glossary-tool-nav',
104
134
  page: 'course glossary',
@@ -151,6 +181,26 @@ export default {
151
181
  'windward.core.shared.content_blocks.grouping.basic',
152
182
  },
153
183
  },
184
+ {
185
+ tag: 'core-open-response',
186
+ template: OpenResponse,
187
+ metadata: {
188
+ icon: 'mdi-typewriter',
189
+ name: 'windward.core.shared.content_blocks.title.open_response',
190
+ grouping:
191
+ 'windward.core.shared.content_blocks.grouping.basic',
192
+ },
193
+ },
194
+ {
195
+ tag: 'core-open-response-collate',
196
+ template: OpenResponseCollate,
197
+ metadata: {
198
+ icon: 'mdi-typewriter',
199
+ name: 'windward.core.shared.content_blocks.title.open_response_collate',
200
+ grouping:
201
+ 'windward.core.shared.content_blocks.grouping.basic',
202
+ },
203
+ },
154
204
  {
155
205
  tag: 'core-image',
156
206
  template: Image,
@@ -193,6 +243,24 @@ export default {
193
243
  },
194
244
  ],
195
245
  settings: [
246
+ {
247
+ tag: 'core-open-response-settings',
248
+ template: OpenResponseSettings,
249
+ context: ['block.core-open-response'],
250
+ metadata: {
251
+ icon: 'mdi-cog',
252
+ name: 'windward.core.shared.settings.title.open_response',
253
+ },
254
+ },
255
+ {
256
+ tag: 'core-open-response-collate-settings',
257
+ template: OpenResponseCollateSettings,
258
+ context: ['block.core-open-response-collate'],
259
+ metadata: {
260
+ icon: 'mdi-cog',
261
+ name: 'windward.core.shared.settings.title.open_response_collate',
262
+ },
263
+ },
196
264
  {
197
265
  tag: 'core-image-settings',
198
266
  template: ImageSettings,
@@ -0,0 +1,31 @@
1
+ import { shallowMount } from '@vue/test-utils'
2
+ import Vue from 'vue'
3
+ import Vuetify from 'vuetify'
4
+ import { defaultMocks } from '@/test/mocks'
5
+ import OpenResponse from '@/components/Content/Blocks/OpenResponse.vue'
6
+
7
+ Vue.use(Vuetify)
8
+
9
+ describe('OpenResponse content block component', () => {
10
+ test('is a Vue instance', () => {
11
+ const wrapper = shallowMount(OpenResponse, {
12
+ vuetify: new Vuetify(),
13
+ mocks: defaultMocks,
14
+ propsData: {
15
+ value: {
16
+ id: '00000000-0000-0000-0000-000000000000',
17
+ tag: 'plugin-core-open-response',
18
+ body: '<p>Test Block</p>',
19
+ metadata: {
20
+ config: {
21
+ sample_response: 'sample response example',
22
+ starting_text: 'starting text example',
23
+ },
24
+ },
25
+ },
26
+ },
27
+ })
28
+
29
+ expect(wrapper.vm).toBeTruthy()
30
+ })
31
+ })
@@ -0,0 +1,36 @@
1
+ import { shallowMount } from '@vue/test-utils'
2
+ import Vue from 'vue'
3
+ import Vuetify from 'vuetify'
4
+ import { defaultMocks } from '@/test/mocks'
5
+ import Image from '@/components/Content/Blocks/Image.vue'
6
+
7
+ Vue.use(Vuetify)
8
+
9
+ describe('Image content block component', () => {
10
+ test('is a Vue instance', () => {
11
+ const wrapper = shallowMount(Image, {
12
+ vuetify: new Vuetify(),
13
+ mocks: defaultMocks,
14
+ propsData: {
15
+ value: {
16
+ id: '00000000-0000-0000-0000-000000000000',
17
+ tag: 'plugin-core-open-response-collate',
18
+ body: '00000000-0000-0000-0000-000000000001,00000000-0000-0000-0000-000000000002,00000000-0000-0000-0000-000000000003',
19
+ metadata: {
20
+ config: {
21
+ linked: [
22
+ '00000000-0000-0000-0000-000000000001',
23
+ '00000000-0000-0000-0000-000000000002',
24
+ '00000000-0000-0000-0000-000000000003',
25
+ ],
26
+ filename: 'example_filename_override',
27
+ include_prompts: true,
28
+ },
29
+ },
30
+ },
31
+ },
32
+ })
33
+
34
+ expect(wrapper.vm).toBeTruthy()
35
+ })
36
+ })
@@ -0,0 +1,20 @@
1
+ import { shallowMount } from '@vue/test-utils'
2
+ import Vuetify from 'vuetify'
3
+ import Vue from 'vue'
4
+
5
+ import { defaultMocks } from '@/test/mocks'
6
+ import OpenResponseCollateSettings from '@/components/Settings/OpenResponseCollateSettings'
7
+
8
+ Vue.use(Vuetify)
9
+
10
+ describe('OpenResponseCollateSettings', () => {
11
+ test('is a Vue instance', () => {
12
+ const wrapper = shallowMount(OpenResponseCollateSettings, {
13
+ propsData: {
14
+ tag: 'core-open-response-collate-settings',
15
+ },
16
+ mocks: defaultMocks,
17
+ })
18
+ expect(wrapper.vm).toBeTruthy()
19
+ })
20
+ })
@@ -0,0 +1,20 @@
1
+ import { shallowMount } from '@vue/test-utils'
2
+ import Vuetify from 'vuetify'
3
+ import Vue from 'vue'
4
+
5
+ import { defaultMocks } from '@/test/mocks'
6
+ import OpenResponseSettings from '@/components/Settings/OpenResponseSettings'
7
+
8
+ Vue.use(Vuetify)
9
+
10
+ describe('OpenResponseSettings', () => {
11
+ test('is a Vue instance', () => {
12
+ const wrapper = shallowMount(OpenResponseSettings, {
13
+ propsData: {
14
+ tag: 'core-open-response-settings',
15
+ },
16
+ mocks: defaultMocks,
17
+ })
18
+ expect(wrapper.vm).toBeTruthy()
19
+ })
20
+ })