@windward/games 0.1.3 → 0.2.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.
- package/components/content/blocks/multipleChoice/MultipleChoice.vue +4 -4
- package/components/content/blocks/quizshowGame/AnswerPanel.vue +4 -4
- package/components/content/blocks/quizshowGame/Gridview.vue +4 -4
- package/components/settings/MultipleChoiceSettingsManager.vue +4 -4
- package/package.json +7 -2
- package/plugin.js +2 -3
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
</v-flex>
|
|
145
145
|
</v-layout>
|
|
146
146
|
</v-carousel-item>
|
|
147
|
-
<
|
|
147
|
+
<DialogBox
|
|
148
148
|
v-model="dialog"
|
|
149
149
|
:trigger="false"
|
|
150
150
|
@click:outside="close"
|
|
@@ -177,13 +177,13 @@
|
|
|
177
177
|
</div>
|
|
178
178
|
</div>
|
|
179
179
|
</template>
|
|
180
|
-
</
|
|
180
|
+
</DialogBox>
|
|
181
181
|
</v-carousel>
|
|
182
182
|
</v-container>
|
|
183
183
|
</template>
|
|
184
184
|
<script>
|
|
185
185
|
import BaseContentBlock from '~/components/Content/Blocks/BaseContentBlock'
|
|
186
|
-
import
|
|
186
|
+
import DialogBox from '~/components/DialogBox.vue'
|
|
187
187
|
import _ from 'lodash'
|
|
188
188
|
import Crypto from '~/helpers/Crypto'
|
|
189
189
|
import { mapGetters } from 'vuex'
|
|
@@ -194,7 +194,7 @@ import Course from '~/models/Course'
|
|
|
194
194
|
export default {
|
|
195
195
|
name: 'MultipleChoice',
|
|
196
196
|
extends: BaseContentBlock,
|
|
197
|
-
components: {
|
|
197
|
+
components: { DialogBox },
|
|
198
198
|
beforeMount() {
|
|
199
199
|
if (_.isEmpty(this.block)) {
|
|
200
200
|
this.block = {}
|
|
@@ -182,7 +182,7 @@
|
|
|
182
182
|
)
|
|
183
183
|
}}</v-row
|
|
184
184
|
>
|
|
185
|
-
<
|
|
185
|
+
<DialogBox
|
|
186
186
|
v-model="feedbackModal"
|
|
187
187
|
:trigger="false"
|
|
188
188
|
@click:outside="close"
|
|
@@ -207,18 +207,18 @@
|
|
|
207
207
|
}}
|
|
208
208
|
</div>
|
|
209
209
|
</template>
|
|
210
|
-
</
|
|
210
|
+
</DialogBox>
|
|
211
211
|
</v-container>
|
|
212
212
|
</template>
|
|
213
213
|
|
|
214
214
|
<script>
|
|
215
|
-
import
|
|
215
|
+
import DialogBox from '~/components/DialogBox.vue'
|
|
216
216
|
import { MathHelper } from '@windward/core/utils'
|
|
217
217
|
import TextEditor from '~/components/Text/TextEditor.vue'
|
|
218
218
|
import TextViewer from '~/components/Text/TextViewer.vue'
|
|
219
219
|
export default {
|
|
220
220
|
name: 'AnswerPanel',
|
|
221
|
-
components: {
|
|
221
|
+
components: { DialogBox, TextEditor, TextViewer },
|
|
222
222
|
props: {
|
|
223
223
|
editMode: { type: Boolean, required: false, default: false },
|
|
224
224
|
value: { type: Object, required: true, default: () => {} },
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
autoFillWidth
|
|
105
105
|
/>
|
|
106
106
|
</vue-excel-editor>
|
|
107
|
-
<
|
|
107
|
+
<DialogBox
|
|
108
108
|
v-model="dialog"
|
|
109
109
|
:trigger="false"
|
|
110
110
|
fullscreen
|
|
@@ -212,19 +212,19 @@
|
|
|
212
212
|
/>
|
|
213
213
|
</vue-excel-editor>
|
|
214
214
|
</template>
|
|
215
|
-
</
|
|
215
|
+
</DialogBox>
|
|
216
216
|
</div>
|
|
217
217
|
</template>
|
|
218
218
|
|
|
219
219
|
<script>
|
|
220
|
-
import
|
|
220
|
+
import DialogBox from '~/components/DialogBox.vue'
|
|
221
221
|
import VueExcelEditor from 'vue-excel-editor/src/VueExcelEditor'
|
|
222
222
|
import VueExcelColumn from 'vue-excel-editor/src/VueExcelColumn'
|
|
223
223
|
import _ from 'lodash'
|
|
224
224
|
|
|
225
225
|
export default {
|
|
226
226
|
name: 'Gridview',
|
|
227
|
-
components: {
|
|
227
|
+
components: { DialogBox, VueExcelEditor, VueExcelColumn },
|
|
228
228
|
props: {
|
|
229
229
|
value: { type: Array, required: true, default: [] },
|
|
230
230
|
},
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
</v-row>
|
|
98
98
|
</v-container>
|
|
99
99
|
</v-form>
|
|
100
|
-
<
|
|
100
|
+
<DialogBox
|
|
101
101
|
v-model="dialog"
|
|
102
102
|
:trigger="false"
|
|
103
103
|
action-save
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
@saveAndNew="saveAndNewCalled"
|
|
120
120
|
></QuestionDialog>
|
|
121
121
|
</template>
|
|
122
|
-
</
|
|
122
|
+
</DialogBox>
|
|
123
123
|
<div>
|
|
124
124
|
<div v-if="loading" class="text-center">
|
|
125
125
|
<v-progress-circular
|
|
@@ -136,14 +136,14 @@
|
|
|
136
136
|
import BaseContentSettings from '~/components/Content/Tool/BaseContentSettings.js'
|
|
137
137
|
import draggable from 'vuedraggable'
|
|
138
138
|
import _ from 'lodash'
|
|
139
|
-
import
|
|
139
|
+
import DialogBox from '~/components/DialogBox.vue'
|
|
140
140
|
import QuestionDialog from '../content/blocks/multipleChoice/QuestionDialog.vue'
|
|
141
141
|
import Crypto from '~/helpers/Crypto'
|
|
142
142
|
|
|
143
143
|
export default {
|
|
144
144
|
name: 'MultipleChoiceSettingsManager',
|
|
145
145
|
extends: BaseContentSettings,
|
|
146
|
-
components: { draggable, QuestionDialog,
|
|
146
|
+
components: { draggable, QuestionDialog, DialogBox },
|
|
147
147
|
beforeMount() {
|
|
148
148
|
if (_.isEmpty(this.block)) {
|
|
149
149
|
this.block = {}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@windward/games",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Windward UI Plugin Games",
|
|
5
5
|
"main": "plugin.js",
|
|
6
6
|
"scripts": {
|
|
@@ -12,7 +12,12 @@
|
|
|
12
12
|
"type": "git",
|
|
13
13
|
"url": "git+ssh://git@bitbucket.org/mindedge/windward-osmt-ui-plugin.git"
|
|
14
14
|
},
|
|
15
|
-
"author": "Ted Celestin",
|
|
15
|
+
"author": "Ted Celestin <tcelestin@mindedge.com>",
|
|
16
|
+
"contributors": [
|
|
17
|
+
"Jacob Rogaishio <jrogaishio@mindedge.com>",
|
|
18
|
+
"Ted Celestin <tcelestin@mindedge.com>",
|
|
19
|
+
"Christina Passafaro <cpassafaro@mindedge.com>"
|
|
20
|
+
],
|
|
16
21
|
"license": "MIT",
|
|
17
22
|
"homepage": "https://bitbucket.org/mindedge/windward-ui-plugin-games#readme",
|
|
18
23
|
"dependencies": {
|
package/plugin.js
CHANGED
|
@@ -72,8 +72,7 @@ export default {
|
|
|
72
72
|
metadata: {
|
|
73
73
|
icon: 'mdi-view-gallery',
|
|
74
74
|
name: 'windward.games.shared.content_blocks.title.slideshow',
|
|
75
|
-
grouping:
|
|
76
|
-
'windward.games.shared.content_blocks.grouping.multimedia',
|
|
75
|
+
grouping: 'components.content.blocks.group.multimedia',
|
|
77
76
|
},
|
|
78
77
|
},
|
|
79
78
|
{
|
|
@@ -110,7 +109,7 @@ export default {
|
|
|
110
109
|
tag: 'games-wordjumble-game',
|
|
111
110
|
template: WordJumble,
|
|
112
111
|
metadata: {
|
|
113
|
-
icon: 'mdi-
|
|
112
|
+
icon: 'mdi-alphabetical-variant',
|
|
114
113
|
name: 'windward.games.shared.content_blocks.title.word_jumble',
|
|
115
114
|
grouping:
|
|
116
115
|
'windward.games.shared.content_blocks.grouping.game',
|