@windward/integrations 0.19.1 → 0.21.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 (29) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/components/Content/Blocks/ActionPanel/TransformBlock.vue +776 -0
  3. package/components/LLM/GenerateContent/AssessmentQuestionGenerateButton.vue +180 -9
  4. package/components/LLM/GenerateContent/BlockQuestionGenerateButton.vue +35 -13
  5. package/components/Settings/ExternalIntegration/LtiConsumerSettings.vue +18 -12
  6. package/helpers/ExternalIntegration/ScormHelper.ts +1 -1
  7. package/i18n/en-US/components/content/blocks/action_panel/index.ts +5 -0
  8. package/i18n/en-US/components/content/blocks/action_panel/transform_block.ts +9 -0
  9. package/i18n/en-US/components/content/blocks/external_integration/lti_consumer.ts +2 -2
  10. package/i18n/en-US/components/content/blocks/index.ts +2 -0
  11. package/i18n/en-US/components/llm/generate_content/generate_questions.ts +4 -0
  12. package/i18n/en-US/components/llm/generate_content/index.ts +1 -0
  13. package/i18n/en-US/shared/settings.ts +1 -2
  14. package/i18n/es-ES/components/content/blocks/action_panel/index.ts +5 -0
  15. package/i18n/es-ES/components/content/blocks/action_panel/transform_block.ts +9 -0
  16. package/i18n/es-ES/components/content/blocks/external_integration/lti_consumer.ts +2 -2
  17. package/i18n/es-ES/components/content/blocks/index.ts +2 -0
  18. package/i18n/es-ES/components/llm/generate_content/generate_questions.ts +5 -0
  19. package/i18n/es-ES/components/llm/generate_content/index.ts +1 -0
  20. package/i18n/es-ES/shared/settings.ts +1 -2
  21. package/i18n/sv-SE/components/content/blocks/action_panel/index.ts +5 -0
  22. package/i18n/sv-SE/components/content/blocks/action_panel/transform_block.ts +9 -0
  23. package/i18n/sv-SE/components/content/blocks/external_integration/lti_consumer.ts +2 -2
  24. package/i18n/sv-SE/components/content/blocks/index.ts +2 -0
  25. package/i18n/sv-SE/components/llm/generate_content/generate_questions.ts +5 -0
  26. package/i18n/sv-SE/components/llm/generate_content/index.ts +1 -0
  27. package/i18n/sv-SE/shared/settings.ts +1 -2
  28. package/package.json +1 -1
  29. package/plugin.js +21 -5
package/plugin.js CHANGED
@@ -14,9 +14,11 @@ import ExternalIntegrationScormHelper from './helpers/ExternalIntegration/ScormH
14
14
  import LtiConsumerBlock from './components/Content/Blocks/ExternalIntegration/LtiConsumer'
15
15
  import LtiConsumerBlockSettings from './components/Settings/ExternalIntegration/LtiConsumerSettings'
16
16
 
17
- import ScormConsumerBlock from './components/Content/Blocks/ExternalIntegration/ScormConsumer'
17
+ // import ScormConsumerBlock from './components/Content/Blocks/ExternalIntegration/ScormConsumer'
18
18
  import ScormConsumerBlockSettings from './components/Settings/ExternalIntegration/ScormConsumerSettings'
19
19
 
20
+ import ActionPanelTransformBlock from './components/Content/Blocks/ActionPanel/TransformBlock.vue'
21
+
20
22
  import ManageCourseIntegrationSettings from './components/Settings/ExternalIntegration/ManageCourseIntegrationSettings'
21
23
 
22
24
  import FileImportMenu from './components/FileImport/FileImportMenu.vue'
@@ -279,7 +281,8 @@ export default {
279
281
  'windward.integrations.shared.content_blocks.grouping.integrations',
280
282
  },
281
283
  },
282
- /*{
284
+ /*
285
+ {
283
286
  tag: 'windward-integrations-scorm-consumer',
284
287
  template: ScormConsumerBlock,
285
288
  metadata: {
@@ -288,7 +291,8 @@ export default {
288
291
  grouping:
289
292
  'windward.integrations.shared.content_blocks.grouping.integrations',
290
293
  },
291
- },*/
294
+ },
295
+ */
292
296
  ],
293
297
  contentBlockSetting: [
294
298
  {
@@ -297,7 +301,7 @@ export default {
297
301
  context: ['block.windward-integrations-lti-consumer'],
298
302
  metadata: {
299
303
  icon: 'mdi-cog',
300
- name: 'windward.integrations.shared.settings.title.lti_consumer',
304
+ name: 'windward.integrations.shared.settings.title.block_builder',
301
305
  },
302
306
  },
303
307
  {
@@ -306,10 +310,22 @@ export default {
306
310
  context: ['block.windward-integrations-scorm-consumer'],
307
311
  metadata: {
308
312
  icon: 'mdi-cog',
309
- name: 'windward.integrations.shared.settings.title.scorm_consumer',
313
+ name: 'windward.integrations.shared.settings.title.block_builder',
310
314
  },
311
315
  },
312
316
  ],
317
+ contentBlockActionPanel: [
318
+ {
319
+ tag: 'windward-integrations-action-panel-transform-block',
320
+ template: ActionPanelTransformBlock,
321
+ context: [
322
+ 'block.content-blocks-text',
323
+ 'block.core-accordion',
324
+ 'block.core-tab',
325
+ 'block.core-clickable-icons',
326
+ ],
327
+ },
328
+ ],
313
329
  courseSetting: [
314
330
  {
315
331
  tag: 'windward-integrations-external-integration-settings',