@windward/core 0.1.2 → 0.1.3

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 (122) hide show
  1. package/components/Content/Blocks/ClickableIcons.vue +6 -5
  2. package/components/Content/Blocks/Email.vue +4 -2
  3. package/components/Content/Blocks/Image.vue +84 -40
  4. package/components/Settings/ClickableIconsSettings.vue +56 -41
  5. package/components/Settings/ImageSettings.vue +7 -0
  6. package/components/utils/FillInBlank/FillInBlankInput.vue +2 -2
  7. package/i18n/en-US/components/settings/image.ts +1 -0
  8. package/i18n/es-ES/components/settings/image.ts +1 -0
  9. package/i18n/sv-SE/components/settings/image.ts +1 -0
  10. package/package.json +1 -1
  11. package/plugin.js +1 -20
  12. package/test/Components/Settings/EmailSettings.spec.js +2 -2
  13. package/test/helpers/MathHelper.spec.js +1 -1
  14. package/.idea/codeStyles/Project.xml +0 -58
  15. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
  16. package/.idea/inspectionProfiles/Project_Default.xml +0 -6
  17. package/.idea/modules.xml +0 -8
  18. package/.idea/php-docker-settings.xml +0 -24
  19. package/.idea/php.xml +0 -19
  20. package/.idea/vcs.xml +0 -6
  21. package/.idea/watcherTasks.xml +0 -4
  22. package/.idea/windward-ui-plugin-core.iml +0 -8
  23. package/coverage/clover.xml +0 -223
  24. package/coverage/coverage-final.json +0 -16
  25. package/coverage/lcov-report/base.css +0 -224
  26. package/coverage/lcov-report/block-navigation.js +0 -87
  27. package/coverage/lcov-report/components/Content/Blocks/Accordion.vue.html +0 -430
  28. package/coverage/lcov-report/components/Content/Blocks/Image.vue.html +0 -394
  29. package/coverage/lcov-report/components/Content/Blocks/Math.vue.html +0 -262
  30. package/coverage/lcov-report/components/Content/Blocks/RichText.vue.html +0 -295
  31. package/coverage/lcov-report/components/Content/Blocks/Tab.vue.html +0 -415
  32. package/coverage/lcov-report/components/Content/Blocks/Table.vue.html +0 -667
  33. package/coverage/lcov-report/components/Content/Blocks/Video.vue.html +0 -2275
  34. package/coverage/lcov-report/components/Content/Blocks/index.html +0 -206
  35. package/coverage/lcov-report/components/utils/ContentViewer.vue.html +0 -199
  36. package/coverage/lcov-report/components/utils/MathExpressionEditor.vue.html +0 -919
  37. package/coverage/lcov-report/components/utils/MathLiveWrapper.vue.html +0 -343
  38. package/coverage/lcov-report/components/utils/TinyMCEWrapper.vue.html +0 -271
  39. package/coverage/lcov-report/components/utils/index.html +0 -161
  40. package/coverage/lcov-report/config/index.html +0 -116
  41. package/coverage/lcov-report/config/tinymce.config.js.html +0 -493
  42. package/coverage/lcov-report/favicon.png +0 -0
  43. package/coverage/lcov-report/helpers/MathHelper.ts.html +0 -793
  44. package/coverage/lcov-report/helpers/index.html +0 -116
  45. package/coverage/lcov-report/helpers/tinymce/index.html +0 -116
  46. package/coverage/lcov-report/helpers/tinymce/plugin.ts.html +0 -334
  47. package/coverage/lcov-report/index.html +0 -191
  48. package/coverage/lcov-report/prettify.css +0 -1
  49. package/coverage/lcov-report/prettify.js +0 -2
  50. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  51. package/coverage/lcov-report/sorter.js +0 -196
  52. package/coverage/lcov-report/test/index.html +0 -116
  53. package/coverage/lcov-report/test/mocks.js.html +0 -457
  54. package/coverage/lcov.info +0 -403
  55. package/lib/helpers/GlossaryHelper.d.ts +0 -9
  56. package/lib/helpers/GlossaryHelper.js +0 -118
  57. package/lib/helpers/GlossaryTerm.d.ts +0 -10
  58. package/lib/helpers/GlossaryTerm.js +0 -22
  59. package/lib/helpers/MathHelper.d.ts +0 -99
  60. package/lib/helpers/MathHelper.js +0 -194
  61. package/lib/helpers/tinymce/plugin.d.ts +0 -2
  62. package/lib/helpers/tinymce/plugin.js +0 -86
  63. package/lib/i18n/en-US/components/content/blocks/image.d.ts +0 -6
  64. package/lib/i18n/en-US/components/content/blocks/image.js +0 -7
  65. package/lib/i18n/en-US/components/content/blocks/index.d.ts +0 -75
  66. package/lib/i18n/en-US/components/content/blocks/index.js +0 -14
  67. package/lib/i18n/en-US/components/content/blocks/tab.d.ts +0 -5
  68. package/lib/i18n/en-US/components/content/blocks/tab.js +0 -6
  69. package/lib/i18n/en-US/components/content/blocks/table.d.ts +0 -5
  70. package/lib/i18n/en-US/components/content/blocks/table.js +0 -6
  71. package/lib/i18n/en-US/components/content/blocks/user_upload.d.ts +0 -13
  72. package/lib/i18n/en-US/components/content/blocks/user_upload.js +0 -14
  73. package/lib/i18n/en-US/components/content/blocks/video.d.ts +0 -48
  74. package/lib/i18n/en-US/components/content/blocks/video.js +0 -49
  75. package/lib/i18n/en-US/components/content/index.d.ts +0 -77
  76. package/lib/i18n/en-US/components/content/index.js +0 -6
  77. package/lib/i18n/en-US/components/index.d.ts +0 -140
  78. package/lib/i18n/en-US/components/index.js +0 -12
  79. package/lib/i18n/en-US/components/navigation/image.d.ts +0 -5
  80. package/lib/i18n/en-US/components/navigation/image.js +0 -6
  81. package/lib/i18n/en-US/components/navigation/index.d.ts +0 -10
  82. package/lib/i18n/en-US/components/navigation/index.js +0 -8
  83. package/lib/i18n/en-US/components/navigation/user_upload.d.ts +0 -4
  84. package/lib/i18n/en-US/components/navigation/user_upload.js +0 -5
  85. package/lib/i18n/en-US/components/settings/clickable_icon.d.ts +0 -6
  86. package/lib/i18n/en-US/components/settings/clickable_icon.js +0 -7
  87. package/lib/i18n/en-US/components/settings/image.d.ts +0 -2
  88. package/lib/i18n/en-US/components/settings/image.js +0 -3
  89. package/lib/i18n/en-US/components/settings/index.d.ts +0 -39
  90. package/lib/i18n/en-US/components/settings/index.js +0 -14
  91. package/lib/i18n/en-US/components/settings/text_editor.d.ts +0 -8
  92. package/lib/i18n/en-US/components/settings/text_editor.js +0 -9
  93. package/lib/i18n/en-US/components/settings/user_upload.d.ts +0 -12
  94. package/lib/i18n/en-US/components/settings/user_upload.js +0 -13
  95. package/lib/i18n/en-US/components/settings/video.d.ts +0 -13
  96. package/lib/i18n/en-US/components/settings/video.js +0 -14
  97. package/lib/i18n/en-US/components/utils/index.d.ts +0 -15
  98. package/lib/i18n/en-US/components/utils/index.js +0 -6
  99. package/lib/i18n/en-US/components/utils/tiny_mce_wrapper.d.ts +0 -13
  100. package/lib/i18n/en-US/components/utils/tiny_mce_wrapper.js +0 -14
  101. package/lib/i18n/en-US/index.d.ts +0 -197
  102. package/lib/i18n/en-US/index.js +0 -16
  103. package/lib/i18n/en-US/modules/index.d.ts +0 -2
  104. package/lib/i18n/en-US/modules/index.js +0 -6
  105. package/lib/i18n/en-US/pages/glossary.d.ts +0 -8
  106. package/lib/i18n/en-US/pages/glossary.js +0 -9
  107. package/lib/i18n/en-US/pages/index.d.ts +0 -13
  108. package/lib/i18n/en-US/pages/index.js +0 -8
  109. package/lib/i18n/en-US/pages/user_upload.d.ts +0 -4
  110. package/lib/i18n/en-US/pages/user_upload.js +0 -5
  111. package/lib/i18n/en-US/shared/content_blocks.d.ts +0 -20
  112. package/lib/i18n/en-US/shared/content_blocks.js +0 -21
  113. package/lib/i18n/en-US/shared/index.d.ts +0 -39
  114. package/lib/i18n/en-US/shared/index.js +0 -10
  115. package/lib/i18n/en-US/shared/menu.d.ts +0 -4
  116. package/lib/i18n/en-US/shared/menu.js +0 -5
  117. package/lib/i18n/en-US/shared/settings.d.ts +0 -15
  118. package/lib/i18n/en-US/shared/settings.js +0 -16
  119. package/lib/i18n/en-US.d.ts +0 -197
  120. package/lib/i18n/en-US.js +0 -15
  121. package/lib/models/UserFileAsset.d.ts +0 -5
  122. package/lib/models/UserFileAsset.js +0 -37
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var user_upload_1 = require("./user_upload");
4
- var glossary_1 = require("./glossary");
5
- exports.default = {
6
- user_upload: user_upload_1.default,
7
- glossary: glossary_1.default,
8
- };
@@ -1,4 +0,0 @@
1
- declare const _default: {
2
- title: string;
3
- };
4
- export default _default;
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = {
4
- title: 'User Upload Overview',
5
- };
@@ -1,20 +0,0 @@
1
- declare const _default: {
2
- title: {
3
- assessment: string;
4
- video: string;
5
- default_table: string;
6
- tab: string;
7
- rich_text: string;
8
- math: string;
9
- accordion: string;
10
- image: string;
11
- user_upload: string;
12
- clickable_icons: string;
13
- };
14
- grouping: {
15
- basic: string;
16
- multimedia: string;
17
- placeholder: string;
18
- };
19
- };
20
- export default _default;
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = {
4
- title: {
5
- assessment: 'Assessment',
6
- video: 'Video / Audio',
7
- default_table: 'Default Table',
8
- tab: 'Tab',
9
- rich_text: 'Rich Text',
10
- math: 'Math',
11
- accordion: 'Accordion',
12
- image: 'Image',
13
- user_upload: 'User Upload',
14
- clickable_icons: 'Clickable Icons',
15
- },
16
- grouping: {
17
- basic: 'Basic Components',
18
- multimedia: 'Multimedia Files',
19
- placeholder: 'Enter text here',
20
- },
21
- };
@@ -1,39 +0,0 @@
1
- declare const _default: {
2
- content_blocks: {
3
- title: {
4
- assessment: string;
5
- video: string;
6
- default_table: string;
7
- tab: string;
8
- rich_text: string;
9
- math: string;
10
- accordion: string;
11
- image: string;
12
- user_upload: string;
13
- clickable_icons: string;
14
- };
15
- grouping: {
16
- basic: string;
17
- multimedia: string;
18
- placeholder: string;
19
- };
20
- };
21
- settings: {
22
- title: {
23
- assessment: string;
24
- image: string;
25
- user_upload: string;
26
- tab_settings: string;
27
- text_editor: string;
28
- clickable_icons: string;
29
- accordion: string;
30
- video: string;
31
- table: string;
32
- math: string;
33
- };
34
- };
35
- menu: {
36
- course_glossary: string;
37
- };
38
- };
39
- export default _default;
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var content_blocks_1 = require("./content_blocks");
4
- var settings_1 = require("./settings");
5
- var menu_1 = require("./menu");
6
- exports.default = {
7
- content_blocks: content_blocks_1.default,
8
- settings: settings_1.default,
9
- menu: menu_1.default,
10
- };
@@ -1,4 +0,0 @@
1
- declare const _default: {
2
- course_glossary: string;
3
- };
4
- export default _default;
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = {
4
- course_glossary: 'Course Glossary',
5
- };
@@ -1,15 +0,0 @@
1
- declare const _default: {
2
- title: {
3
- assessment: string;
4
- image: string;
5
- user_upload: string;
6
- tab_settings: string;
7
- text_editor: string;
8
- clickable_icons: string;
9
- accordion: string;
10
- video: string;
11
- table: string;
12
- math: string;
13
- };
14
- };
15
- export default _default;
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = {
4
- title: {
5
- assessment: 'Assessment Settings',
6
- image: 'Image Settings',
7
- user_upload: 'User Upload Settings',
8
- tab_settings: 'Tab Settings',
9
- text_editor: 'Text Editor Settings',
10
- clickable_icons: 'Clickable Icons Settings',
11
- accordion: 'Accordion Settings',
12
- video: 'Video Settings',
13
- table: 'Table Settings',
14
- math: 'Math Settings'
15
- },
16
- };
@@ -1,197 +0,0 @@
1
- declare const _default: {
2
- plugin: {
3
- core: {
4
- pages: {
5
- user_upload: {
6
- title: string;
7
- };
8
- glossary: {
9
- title: string;
10
- term: string;
11
- related_term: string;
12
- definition: string;
13
- alternate_forms: string;
14
- };
15
- };
16
- components: {
17
- content: {
18
- blocks: {
19
- user_upload: {
20
- user_uploads: string;
21
- dialog_view: string;
22
- instructions: string;
23
- instructions_none: string;
24
- instructions_title: string;
25
- must_save: string;
26
- uploaded: string;
27
- name: string;
28
- size: string;
29
- download: string;
30
- };
31
- image: {
32
- title: string;
33
- description: string;
34
- no_image_url: string;
35
- };
36
- video: {
37
- tabs: {
38
- video: string;
39
- poster: string;
40
- preroll: string;
41
- postroll: string;
42
- };
43
- forms: {
44
- unsaved: string;
45
- cancel: string;
46
- confirm: string;
47
- };
48
- video: {
49
- title: string;
50
- configure_blurb: string;
51
- not_configured_title: string;
52
- edit_prompt: string;
53
- autoplay: string;
54
- controls: string;
55
- loop: string;
56
- muted: string;
57
- disablepictureinpicture: string;
58
- poster: string;
59
- playback_rates: string;
60
- rewind: string;
61
- playsinline: string;
62
- captionsmenu: string;
63
- playlistmenu: string;
64
- playlistautoadvance: string;
65
- };
66
- caption: {
67
- title: string;
68
- configure_blurb: string;
69
- };
70
- poster: {
71
- title: string;
72
- configure_blurb: string;
73
- };
74
- preroll: {
75
- title: string;
76
- configure_blurb: string;
77
- };
78
- postroll: {
79
- title: string;
80
- configure_blurb: string;
81
- };
82
- };
83
- table: {
84
- column: string;
85
- row: string;
86
- };
87
- tab: {
88
- add_tab: string;
89
- delete_tab: string;
90
- };
91
- };
92
- };
93
- settings: {
94
- image: {};
95
- user_upload: {
96
- accept_multiple: string;
97
- accept_types: string;
98
- types: {
99
- all: string;
100
- all_image: string;
101
- all_word: string;
102
- all_excel: string;
103
- all_zip: string;
104
- };
105
- };
106
- text_editor: {
107
- glossary: string;
108
- Text_editor: string;
109
- verified_terms: string;
110
- unverified_terms: string;
111
- no_glossary: string;
112
- };
113
- video: {
114
- title: string;
115
- sources: string;
116
- playback: string;
117
- no_sources: string;
118
- default_filename: string;
119
- playlist: string;
120
- playlist_name: string;
121
- playlist_name_source_required: string;
122
- playlist_add: string;
123
- playlist_remove: string;
124
- };
125
- clickable_icon: {
126
- title: string;
127
- description: string;
128
- information: string;
129
- };
130
- };
131
- navigation: {
132
- user_upload: {
133
- title: string;
134
- };
135
- image: {
136
- default_alt: string;
137
- default_aria_described: string;
138
- };
139
- };
140
- utils: {
141
- tiny_mce_wrapper: {
142
- glossary: string;
143
- term: string;
144
- alternate_forms: string;
145
- definition: string;
146
- related_terms: string;
147
- table: {
148
- default: string;
149
- excel: string;
150
- ledger: string;
151
- };
152
- };
153
- };
154
- };
155
- shared: {
156
- content_blocks: {
157
- title: {
158
- assessment: string;
159
- video: string;
160
- default_table: string;
161
- tab: string;
162
- rich_text: string;
163
- math: string;
164
- accordion: string;
165
- image: string;
166
- user_upload: string;
167
- clickable_icons: string;
168
- };
169
- grouping: {
170
- basic: string;
171
- multimedia: string;
172
- placeholder: string;
173
- };
174
- };
175
- settings: {
176
- title: {
177
- assessment: string;
178
- image: string;
179
- user_upload: string;
180
- tab_settings: string;
181
- text_editor: string;
182
- clickable_icons: string;
183
- accordion: string;
184
- video: string;
185
- table: string;
186
- math: string;
187
- };
188
- };
189
- menu: {
190
- course_glossary: string;
191
- };
192
- };
193
- modules: {};
194
- };
195
- };
196
- };
197
- export default _default;
package/lib/i18n/en-US.js DELETED
@@ -1,15 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- var index_1 = require("./en-US/index");
15
- exports.default = __assign({}, index_1.default);
@@ -1,5 +0,0 @@
1
- import Model from '~/models/Model';
2
- export default class UserFileAsset extends Model {
3
- get required(): string[];
4
- resource(): string;
5
- }
@@ -1,37 +0,0 @@
1
- "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- var Model_1 = require("~/models/Model");
19
- var UserFileAsset = /** @class */ (function (_super) {
20
- __extends(UserFileAsset, _super);
21
- function UserFileAsset() {
22
- return _super !== null && _super.apply(this, arguments) || this;
23
- }
24
- Object.defineProperty(UserFileAsset.prototype, "required", {
25
- get: function () {
26
- return [];
27
- },
28
- enumerable: false,
29
- configurable: true
30
- });
31
- // Set the resource route of the model
32
- UserFileAsset.prototype.resource = function () {
33
- return 'user-files';
34
- };
35
- return UserFileAsset;
36
- }(Model_1.default));
37
- exports.default = UserFileAsset;