@windward/core 0.1.3 → 0.1.4

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 (129) hide show
  1. package/.idea/codeStyles/Project.xml +58 -0
  2. package/.idea/codeStyles/codeStyleConfig.xml +5 -0
  3. package/.idea/inspectionProfiles/Project_Default.xml +6 -0
  4. package/.idea/modules.xml +8 -0
  5. package/.idea/php-docker-settings.xml +24 -0
  6. package/.idea/php.xml +19 -0
  7. package/.idea/vcs.xml +6 -0
  8. package/.idea/watcherTasks.xml +4 -0
  9. package/.idea/windward-ui-plugin-core.iml +8 -0
  10. package/components/Content/Blocks/Email.vue +62 -12
  11. package/components/Content/Blocks/HorizontalRule.vue +52 -0
  12. package/components/Content/Blocks/UserUpload.vue +48 -12
  13. package/components/Settings/HorizontalRuleSettings.vue +42 -0
  14. package/components/utils/assets/tinymce/css/content.scss +2 -2
  15. package/coverage/clover.xml +223 -0
  16. package/coverage/coverage-final.json +16 -0
  17. package/coverage/lcov-report/base.css +224 -0
  18. package/coverage/lcov-report/block-navigation.js +87 -0
  19. package/coverage/lcov-report/components/Content/Blocks/Accordion.vue.html +430 -0
  20. package/coverage/lcov-report/components/Content/Blocks/Image.vue.html +394 -0
  21. package/coverage/lcov-report/components/Content/Blocks/Math.vue.html +262 -0
  22. package/coverage/lcov-report/components/Content/Blocks/RichText.vue.html +295 -0
  23. package/coverage/lcov-report/components/Content/Blocks/Tab.vue.html +415 -0
  24. package/coverage/lcov-report/components/Content/Blocks/Table.vue.html +667 -0
  25. package/coverage/lcov-report/components/Content/Blocks/Video.vue.html +2275 -0
  26. package/coverage/lcov-report/components/Content/Blocks/index.html +206 -0
  27. package/coverage/lcov-report/components/utils/ContentViewer.vue.html +199 -0
  28. package/coverage/lcov-report/components/utils/MathExpressionEditor.vue.html +919 -0
  29. package/coverage/lcov-report/components/utils/MathLiveWrapper.vue.html +343 -0
  30. package/coverage/lcov-report/components/utils/TinyMCEWrapper.vue.html +271 -0
  31. package/coverage/lcov-report/components/utils/index.html +161 -0
  32. package/coverage/lcov-report/config/index.html +116 -0
  33. package/coverage/lcov-report/config/tinymce.config.js.html +493 -0
  34. package/coverage/lcov-report/favicon.png +0 -0
  35. package/coverage/lcov-report/helpers/MathHelper.ts.html +793 -0
  36. package/coverage/lcov-report/helpers/index.html +116 -0
  37. package/coverage/lcov-report/helpers/tinymce/index.html +116 -0
  38. package/coverage/lcov-report/helpers/tinymce/plugin.ts.html +334 -0
  39. package/coverage/lcov-report/index.html +191 -0
  40. package/coverage/lcov-report/prettify.css +1 -0
  41. package/coverage/lcov-report/prettify.js +2 -0
  42. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  43. package/coverage/lcov-report/sorter.js +196 -0
  44. package/coverage/lcov-report/test/index.html +116 -0
  45. package/coverage/lcov-report/test/mocks.js.html +457 -0
  46. package/coverage/lcov.info +403 -0
  47. package/i18n/en-US/components/content/blocks/feedback.ts +2 -2
  48. package/i18n/en-US/components/settings/horizontal_rule.ts +3 -0
  49. package/i18n/en-US/components/settings/index.ts +2 -0
  50. package/i18n/en-US/shared/content_blocks.ts +1 -0
  51. package/i18n/en-US/shared/settings.ts +1 -0
  52. package/i18n/es-ES/components/settings/horizontal_rule.ts +3 -0
  53. package/i18n/es-ES/components/settings/index.ts +2 -0
  54. package/i18n/es-ES/shared/content_blocks.ts +1 -0
  55. package/i18n/es-ES/shared/settings.ts +1 -0
  56. package/i18n/sv-SE/components/settings/horizontal_rule.ts +3 -0
  57. package/i18n/sv-SE/components/settings/index.ts +2 -0
  58. package/i18n/sv-SE/shared/content_blocks.ts +1 -0
  59. package/i18n/sv-SE/shared/settings.ts +1 -0
  60. package/lib/helpers/GlossaryHelper.d.ts +9 -0
  61. package/lib/helpers/GlossaryHelper.js +118 -0
  62. package/lib/helpers/GlossaryTerm.d.ts +10 -0
  63. package/lib/helpers/GlossaryTerm.js +22 -0
  64. package/lib/helpers/MathHelper.d.ts +99 -0
  65. package/lib/helpers/MathHelper.js +194 -0
  66. package/lib/helpers/tinymce/plugin.d.ts +2 -0
  67. package/lib/helpers/tinymce/plugin.js +86 -0
  68. package/lib/i18n/en-US/components/content/blocks/image.d.ts +6 -0
  69. package/lib/i18n/en-US/components/content/blocks/image.js +7 -0
  70. package/lib/i18n/en-US/components/content/blocks/index.d.ts +75 -0
  71. package/lib/i18n/en-US/components/content/blocks/index.js +14 -0
  72. package/lib/i18n/en-US/components/content/blocks/tab.d.ts +5 -0
  73. package/lib/i18n/en-US/components/content/blocks/tab.js +6 -0
  74. package/lib/i18n/en-US/components/content/blocks/table.d.ts +5 -0
  75. package/lib/i18n/en-US/components/content/blocks/table.js +6 -0
  76. package/lib/i18n/en-US/components/content/blocks/user_upload.d.ts +13 -0
  77. package/lib/i18n/en-US/components/content/blocks/user_upload.js +14 -0
  78. package/lib/i18n/en-US/components/content/blocks/video.d.ts +48 -0
  79. package/lib/i18n/en-US/components/content/blocks/video.js +49 -0
  80. package/lib/i18n/en-US/components/content/index.d.ts +77 -0
  81. package/lib/i18n/en-US/components/content/index.js +6 -0
  82. package/lib/i18n/en-US/components/index.d.ts +140 -0
  83. package/lib/i18n/en-US/components/index.js +12 -0
  84. package/lib/i18n/en-US/components/navigation/image.d.ts +5 -0
  85. package/lib/i18n/en-US/components/navigation/image.js +6 -0
  86. package/lib/i18n/en-US/components/navigation/index.d.ts +10 -0
  87. package/lib/i18n/en-US/components/navigation/index.js +8 -0
  88. package/lib/i18n/en-US/components/navigation/user_upload.d.ts +4 -0
  89. package/lib/i18n/en-US/components/navigation/user_upload.js +5 -0
  90. package/lib/i18n/en-US/components/settings/clickable_icon.d.ts +6 -0
  91. package/lib/i18n/en-US/components/settings/clickable_icon.js +7 -0
  92. package/lib/i18n/en-US/components/settings/image.d.ts +2 -0
  93. package/lib/i18n/en-US/components/settings/image.js +3 -0
  94. package/lib/i18n/en-US/components/settings/index.d.ts +39 -0
  95. package/lib/i18n/en-US/components/settings/index.js +14 -0
  96. package/lib/i18n/en-US/components/settings/text_editor.d.ts +8 -0
  97. package/lib/i18n/en-US/components/settings/text_editor.js +9 -0
  98. package/lib/i18n/en-US/components/settings/user_upload.d.ts +12 -0
  99. package/lib/i18n/en-US/components/settings/user_upload.js +13 -0
  100. package/lib/i18n/en-US/components/settings/video.d.ts +13 -0
  101. package/lib/i18n/en-US/components/settings/video.js +14 -0
  102. package/lib/i18n/en-US/components/utils/index.d.ts +15 -0
  103. package/lib/i18n/en-US/components/utils/index.js +6 -0
  104. package/lib/i18n/en-US/components/utils/tiny_mce_wrapper.d.ts +13 -0
  105. package/lib/i18n/en-US/components/utils/tiny_mce_wrapper.js +14 -0
  106. package/lib/i18n/en-US/index.d.ts +197 -0
  107. package/lib/i18n/en-US/index.js +16 -0
  108. package/lib/i18n/en-US/modules/index.d.ts +2 -0
  109. package/lib/i18n/en-US/modules/index.js +6 -0
  110. package/lib/i18n/en-US/pages/glossary.d.ts +8 -0
  111. package/lib/i18n/en-US/pages/glossary.js +9 -0
  112. package/lib/i18n/en-US/pages/index.d.ts +13 -0
  113. package/lib/i18n/en-US/pages/index.js +8 -0
  114. package/lib/i18n/en-US/pages/user_upload.d.ts +4 -0
  115. package/lib/i18n/en-US/pages/user_upload.js +5 -0
  116. package/lib/i18n/en-US/shared/content_blocks.d.ts +20 -0
  117. package/lib/i18n/en-US/shared/content_blocks.js +21 -0
  118. package/lib/i18n/en-US/shared/index.d.ts +39 -0
  119. package/lib/i18n/en-US/shared/index.js +10 -0
  120. package/lib/i18n/en-US/shared/menu.d.ts +4 -0
  121. package/lib/i18n/en-US/shared/menu.js +5 -0
  122. package/lib/i18n/en-US/shared/settings.d.ts +15 -0
  123. package/lib/i18n/en-US/shared/settings.js +16 -0
  124. package/lib/i18n/en-US.d.ts +197 -0
  125. package/lib/i18n/en-US.js +15 -0
  126. package/lib/models/UserFileAsset.d.ts +5 -0
  127. package/lib/models/UserFileAsset.js +37 -0
  128. package/package.json +1 -1
  129. package/plugin.js +21 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@windward/core",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Windward UI Core Plugins",
5
5
  "main": "plugin.js",
6
6
  "scripts": {
package/plugin.js CHANGED
@@ -11,6 +11,7 @@ import ClickableIcons from './components/Content/Blocks/ClickableIcons'
11
11
  import ScenarioChoice from './components/Content/Blocks/ScenarioChoice'
12
12
  import Email from './components/Content/Blocks/Email'
13
13
  import BlockQuote from './components/Content/Blocks/BlockQuote.vue'
14
+ import HorizontalRule from './components/Content/Blocks/HorizontalRule.vue'
14
15
 
15
16
  import UserUploadNav from './components/Navigation/Items/UserUploadNav.vue'
16
17
 
@@ -37,6 +38,7 @@ import TabSettings from './components/Settings/TabSettings.vue'
37
38
  import FeedbackSettings from './components/Settings/FeedbackSettings.vue'
38
39
  import EmailSettings from './components/Settings/EmailSettings.vue'
39
40
  import BlockQuoteSettigns from './components/Settings/BlockQuoteSettings.vue'
41
+ import HorizontalRuleSettings from './components/Settings/HorizontalRuleSettings.vue'
40
42
 
41
43
  import UserUploadPage from './pages/userUpload.vue'
42
44
  import GlossaryToolTip from './components/utils/glossary/GlossaryToolTip.vue'
@@ -265,6 +267,16 @@ export default {
265
267
  'windward.core.shared.content_blocks.grouping.basic',
266
268
  },
267
269
  },
270
+ {
271
+ tag: 'core-horizontal-rule',
272
+ template: HorizontalRule,
273
+ metadata: {
274
+ icon: 'mdi-minus',
275
+ name: 'windward.core.shared.content_blocks.title.horizontal_rule',
276
+ grouping:
277
+ 'windward.core.shared.content_blocks.grouping.basic',
278
+ },
279
+ },
268
280
  ],
269
281
  settings: [
270
282
  {
@@ -393,6 +405,15 @@ export default {
393
405
  name: 'windward.core.shared.settings.title.block_quote',
394
406
  },
395
407
  },
408
+ {
409
+ tag: 'core-horizontal-rule-settings',
410
+ template: HorizontalRuleSettings,
411
+ context: ['block.core-horizontal-rule'],
412
+ metadata: {
413
+ icon: 'mdi-cog',
414
+ name: 'windward.core.shared.settings.title.horizontal_line',
415
+ },
416
+ },
396
417
  ],
397
418
  },
398
419
  }