@windward/core 0.4.2 → 0.5.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 (160) 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/bitbucket-pipelines.yml +14 -0
  11. package/components/Content/Blocks/Accordion.vue +10 -6
  12. package/components/Content/Blocks/ClickableIcons.vue +6 -5
  13. package/components/Content/Blocks/Feedback.vue +1 -1
  14. package/components/Content/Blocks/FileDownload/FileLinks.vue +82 -0
  15. package/components/Content/Blocks/FileDownload/FileTable.vue +106 -0
  16. package/components/Content/Blocks/FileDownload.vue +145 -0
  17. package/components/Content/Blocks/GenerateAIQuestionButton.vue +61 -0
  18. package/components/Content/Blocks/ScenarioChoice.vue +2 -2
  19. package/components/Content/Blocks/UserUpload.vue +15 -36
  20. package/components/Content/Blocks/Video.vue +2 -57
  21. package/components/Settings/AccordionSettings.vue +3 -6
  22. package/components/Settings/BlockQuoteSettings.vue +2 -2
  23. package/components/Settings/EmailSettings.vue +2 -2
  24. package/components/Settings/FileDownloadSettings.vue +168 -0
  25. package/components/Settings/UserUploadSettings.vue +36 -39
  26. package/components/utils/ContentViewer.vue +1 -0
  27. package/components/utils/TinyMCEWrapper.vue +18 -7
  28. package/components/utils/assets/tinymce/content/global.scss +10 -0
  29. package/config/menu.config.json +475 -0
  30. package/coverage/clover.xml +223 -0
  31. package/coverage/coverage-final.json +16 -0
  32. package/coverage/lcov-report/base.css +224 -0
  33. package/coverage/lcov-report/block-navigation.js +87 -0
  34. package/coverage/lcov-report/components/Content/Blocks/Accordion.vue.html +430 -0
  35. package/coverage/lcov-report/components/Content/Blocks/Image.vue.html +394 -0
  36. package/coverage/lcov-report/components/Content/Blocks/Math.vue.html +262 -0
  37. package/coverage/lcov-report/components/Content/Blocks/RichText.vue.html +295 -0
  38. package/coverage/lcov-report/components/Content/Blocks/Tab.vue.html +415 -0
  39. package/coverage/lcov-report/components/Content/Blocks/Table.vue.html +667 -0
  40. package/coverage/lcov-report/components/Content/Blocks/Video.vue.html +2275 -0
  41. package/coverage/lcov-report/components/Content/Blocks/index.html +206 -0
  42. package/coverage/lcov-report/components/utils/ContentViewer.vue.html +199 -0
  43. package/coverage/lcov-report/components/utils/MathExpressionEditor.vue.html +919 -0
  44. package/coverage/lcov-report/components/utils/MathLiveWrapper.vue.html +343 -0
  45. package/coverage/lcov-report/components/utils/TinyMCEWrapper.vue.html +271 -0
  46. package/coverage/lcov-report/components/utils/index.html +161 -0
  47. package/coverage/lcov-report/config/index.html +116 -0
  48. package/coverage/lcov-report/config/tinymce.config.js.html +493 -0
  49. package/coverage/lcov-report/favicon.png +0 -0
  50. package/coverage/lcov-report/helpers/MathHelper.ts.html +793 -0
  51. package/coverage/lcov-report/helpers/index.html +116 -0
  52. package/coverage/lcov-report/helpers/tinymce/index.html +116 -0
  53. package/coverage/lcov-report/helpers/tinymce/plugin.ts.html +334 -0
  54. package/coverage/lcov-report/index.html +191 -0
  55. package/coverage/lcov-report/prettify.css +1 -0
  56. package/coverage/lcov-report/prettify.js +2 -0
  57. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  58. package/coverage/lcov-report/sorter.js +196 -0
  59. package/coverage/lcov-report/test/index.html +116 -0
  60. package/coverage/lcov-report/test/mocks.js.html +457 -0
  61. package/coverage/lcov.info +403 -0
  62. package/i18n/en-US/components/content/blocks/file_download.ts +5 -0
  63. package/i18n/en-US/components/content/blocks/generate_questions.ts +3 -0
  64. package/i18n/en-US/components/content/blocks/index.ts +4 -0
  65. package/i18n/en-US/components/content/blocks/user_upload.ts +0 -2
  66. package/i18n/en-US/components/settings/file_download.ts +8 -0
  67. package/i18n/en-US/components/settings/index.ts +2 -0
  68. package/i18n/en-US/shared/content_blocks.ts +1 -0
  69. package/i18n/en-US/shared/settings.ts +1 -3
  70. package/i18n/es-ES/components/content/blocks/file_download.ts +5 -0
  71. package/i18n/es-ES/components/content/blocks/generate_questions.ts +3 -0
  72. package/i18n/es-ES/components/content/blocks/index.ts +6 -2
  73. package/i18n/es-ES/components/content/blocks/user_upload.ts +0 -2
  74. package/i18n/es-ES/components/settings/file_download.ts +8 -0
  75. package/i18n/es-ES/components/settings/index.ts +4 -2
  76. package/i18n/es-ES/shared/content_blocks.ts +1 -0
  77. package/i18n/es-ES/shared/settings.ts +1 -3
  78. package/i18n/sv-SE/components/content/blocks/file_download.ts +5 -0
  79. package/i18n/sv-SE/components/content/blocks/generate_questions.ts +3 -0
  80. package/i18n/sv-SE/components/content/blocks/index.ts +4 -0
  81. package/i18n/sv-SE/components/content/blocks/user_upload.ts +0 -2
  82. package/i18n/sv-SE/components/settings/file_download.ts +8 -0
  83. package/i18n/sv-SE/components/settings/index.ts +4 -2
  84. package/i18n/sv-SE/shared/content_blocks.ts +1 -0
  85. package/i18n/sv-SE/shared/settings.ts +2 -4
  86. package/lib/helpers/GlossaryHelper.d.ts +9 -0
  87. package/lib/helpers/GlossaryHelper.js +118 -0
  88. package/lib/helpers/GlossaryTerm.d.ts +10 -0
  89. package/lib/helpers/GlossaryTerm.js +22 -0
  90. package/lib/helpers/MathHelper.d.ts +99 -0
  91. package/lib/helpers/MathHelper.js +194 -0
  92. package/lib/helpers/tinymce/plugin.d.ts +2 -0
  93. package/lib/helpers/tinymce/plugin.js +86 -0
  94. package/lib/i18n/en-US/components/content/blocks/image.d.ts +6 -0
  95. package/lib/i18n/en-US/components/content/blocks/image.js +7 -0
  96. package/lib/i18n/en-US/components/content/blocks/index.d.ts +75 -0
  97. package/lib/i18n/en-US/components/content/blocks/index.js +14 -0
  98. package/lib/i18n/en-US/components/content/blocks/tab.d.ts +5 -0
  99. package/lib/i18n/en-US/components/content/blocks/tab.js +6 -0
  100. package/lib/i18n/en-US/components/content/blocks/table.d.ts +5 -0
  101. package/lib/i18n/en-US/components/content/blocks/table.js +6 -0
  102. package/lib/i18n/en-US/components/content/blocks/user_upload.d.ts +13 -0
  103. package/lib/i18n/en-US/components/content/blocks/user_upload.js +14 -0
  104. package/lib/i18n/en-US/components/content/blocks/video.d.ts +48 -0
  105. package/lib/i18n/en-US/components/content/blocks/video.js +49 -0
  106. package/lib/i18n/en-US/components/content/index.d.ts +77 -0
  107. package/lib/i18n/en-US/components/content/index.js +6 -0
  108. package/lib/i18n/en-US/components/index.d.ts +140 -0
  109. package/lib/i18n/en-US/components/index.js +12 -0
  110. package/lib/i18n/en-US/components/navigation/image.d.ts +5 -0
  111. package/lib/i18n/en-US/components/navigation/image.js +6 -0
  112. package/lib/i18n/en-US/components/navigation/index.d.ts +10 -0
  113. package/lib/i18n/en-US/components/navigation/index.js +8 -0
  114. package/lib/i18n/en-US/components/navigation/user_upload.d.ts +4 -0
  115. package/lib/i18n/en-US/components/navigation/user_upload.js +5 -0
  116. package/lib/i18n/en-US/components/settings/clickable_icon.d.ts +6 -0
  117. package/lib/i18n/en-US/components/settings/clickable_icon.js +7 -0
  118. package/lib/i18n/en-US/components/settings/image.d.ts +2 -0
  119. package/lib/i18n/en-US/components/settings/image.js +3 -0
  120. package/lib/i18n/en-US/components/settings/index.d.ts +39 -0
  121. package/lib/i18n/en-US/components/settings/index.js +14 -0
  122. package/lib/i18n/en-US/components/settings/text_editor.d.ts +8 -0
  123. package/lib/i18n/en-US/components/settings/text_editor.js +9 -0
  124. package/lib/i18n/en-US/components/settings/user_upload.d.ts +12 -0
  125. package/lib/i18n/en-US/components/settings/user_upload.js +13 -0
  126. package/lib/i18n/en-US/components/settings/video.d.ts +13 -0
  127. package/lib/i18n/en-US/components/settings/video.js +14 -0
  128. package/lib/i18n/en-US/components/utils/index.d.ts +15 -0
  129. package/lib/i18n/en-US/components/utils/index.js +6 -0
  130. package/lib/i18n/en-US/components/utils/tiny_mce_wrapper.d.ts +13 -0
  131. package/lib/i18n/en-US/components/utils/tiny_mce_wrapper.js +14 -0
  132. package/lib/i18n/en-US/index.d.ts +197 -0
  133. package/lib/i18n/en-US/index.js +16 -0
  134. package/lib/i18n/en-US/modules/index.d.ts +2 -0
  135. package/lib/i18n/en-US/modules/index.js +6 -0
  136. package/lib/i18n/en-US/pages/glossary.d.ts +8 -0
  137. package/lib/i18n/en-US/pages/glossary.js +9 -0
  138. package/lib/i18n/en-US/pages/index.d.ts +13 -0
  139. package/lib/i18n/en-US/pages/index.js +8 -0
  140. package/lib/i18n/en-US/pages/user_upload.d.ts +4 -0
  141. package/lib/i18n/en-US/pages/user_upload.js +5 -0
  142. package/lib/i18n/en-US/shared/content_blocks.d.ts +20 -0
  143. package/lib/i18n/en-US/shared/content_blocks.js +21 -0
  144. package/lib/i18n/en-US/shared/index.d.ts +39 -0
  145. package/lib/i18n/en-US/shared/index.js +10 -0
  146. package/lib/i18n/en-US/shared/menu.d.ts +4 -0
  147. package/lib/i18n/en-US/shared/menu.js +5 -0
  148. package/lib/i18n/en-US/shared/settings.d.ts +15 -0
  149. package/lib/i18n/en-US/shared/settings.js +16 -0
  150. package/lib/i18n/en-US.d.ts +197 -0
  151. package/lib/i18n/en-US.js +15 -0
  152. package/lib/models/UserFileAsset.d.ts +5 -0
  153. package/lib/models/UserFileAsset.js +37 -0
  154. package/package.json +2 -2
  155. package/plugin.js +20 -0
  156. package/test/Components/Content/Blocks/FileDownload.spec.js +25 -0
  157. package/test/Components/Content/Blocks/Video.spec.js +0 -22
  158. package/test/Components/Settings/FileDownloadSettings.spec.js +20 -0
  159. package/test/Components/Settings/UserUploadSettings.spec.js +1 -1
  160. package/utils/index.js +2 -0
@@ -0,0 +1,197 @@
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;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var index_1 = require("./pages/index");
4
+ var index_2 = require("./components/index");
5
+ var index_3 = require("./shared/index");
6
+ var index_4 = require("./modules/index");
7
+ exports.default = {
8
+ plugin: {
9
+ core: {
10
+ pages: index_1.default,
11
+ components: index_2.default,
12
+ shared: index_3.default,
13
+ modules: index_4.default,
14
+ },
15
+ },
16
+ };
@@ -0,0 +1,2 @@
1
+ declare const _default: {};
2
+ export default _default;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ // import example from './example'
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.default = {
5
+ // example,
6
+ };
@@ -0,0 +1,8 @@
1
+ declare const _default: {
2
+ title: string;
3
+ term: string;
4
+ related_term: string;
5
+ definition: string;
6
+ alternate_forms: string;
7
+ };
8
+ export default _default;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = {
4
+ title: 'Course Glossary',
5
+ term: 'Term',
6
+ related_term: 'Related Term',
7
+ definition: 'definition',
8
+ alternate_forms: 'Alternate Forms',
9
+ };
@@ -0,0 +1,13 @@
1
+ declare const _default: {
2
+ user_upload: {
3
+ title: string;
4
+ };
5
+ glossary: {
6
+ title: string;
7
+ term: string;
8
+ related_term: string;
9
+ definition: string;
10
+ alternate_forms: string;
11
+ };
12
+ };
13
+ export default _default;
@@ -0,0 +1,8 @@
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
+ };
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ title: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = {
4
+ title: 'User Upload Overview',
5
+ };
@@ -0,0 +1,20 @@
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;
@@ -0,0 +1,21 @@
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
+ };
@@ -0,0 +1,39 @@
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;
@@ -0,0 +1,10 @@
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
+ };
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ course_glossary: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = {
4
+ course_glossary: 'Course Glossary',
5
+ };
@@ -0,0 +1,15 @@
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;
@@ -0,0 +1,16 @@
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
+ };
@@ -0,0 +1,197 @@
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;
@@ -0,0 +1,15 @@
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);
@@ -0,0 +1,5 @@
1
+ import Model from '~/models/Model';
2
+ export default class UserFileAsset extends Model {
3
+ get required(): string[];
4
+ resource(): string;
5
+ }
@@ -0,0 +1,37 @@
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;