@windward/games 0.1.3 → 0.2.1

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.
@@ -144,7 +144,7 @@
144
144
  </v-flex>
145
145
  </v-layout>
146
146
  </v-carousel-item>
147
- <Dialog
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
- </Dialog>
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 Dialog from '~/components/Dialog.vue'
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: { Dialog },
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
- <Dialog
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
- </Dialog>
210
+ </DialogBox>
211
211
  </v-container>
212
212
  </template>
213
213
 
214
214
  <script>
215
- import Dialog from '~/components/Dialog.vue'
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: { Dialog, TextEditor, TextViewer },
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
- <Dialog
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
- </Dialog>
215
+ </DialogBox>
216
216
  </div>
217
217
  </template>
218
218
 
219
219
  <script>
220
- import Dialog from '~/components/Dialog.vue'
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: { Dialog, VueExcelEditor, VueExcelColumn },
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
- <Dialog
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
- </Dialog>
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 Dialog from '~/components/Dialog.vue'
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, Dialog },
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.1.3",
3
+ "version": "0.2.1",
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
@@ -42,8 +42,7 @@ export default {
42
42
  metadata: {
43
43
  icon: 'mdi-cards-variant',
44
44
  name: 'windward.games.shared.content_blocks.title.flashcards',
45
- grouping:
46
- 'windward.games.shared.content_blocks.grouping.game',
45
+ grouping: 'components.content.blocks.group.activities',
47
46
  },
48
47
  },
49
48
  {
@@ -52,8 +51,7 @@ export default {
52
51
  metadata: {
53
52
  icon: 'mdi-sort',
54
53
  name: 'windward.games.shared.content_blocks.title.sort',
55
- grouping:
56
- 'windward.games.shared.content_blocks.grouping.game',
54
+ grouping: 'components.content.blocks.group.activities',
57
55
  },
58
56
  },
59
57
  {
@@ -62,8 +60,7 @@ export default {
62
60
  metadata: {
63
61
  icon: 'mdi-bucket-outline',
64
62
  name: 'windward.games.shared.content_blocks.title.bucket',
65
- grouping:
66
- 'windward.games.shared.content_blocks.grouping.game',
63
+ grouping: 'components.content.blocks.group.activities',
67
64
  },
68
65
  },
69
66
  {
@@ -72,8 +69,7 @@ export default {
72
69
  metadata: {
73
70
  icon: 'mdi-view-gallery',
74
71
  name: 'windward.games.shared.content_blocks.title.slideshow',
75
- grouping:
76
- 'windward.games.shared.content_blocks.grouping.multimedia',
72
+ grouping: 'components.content.blocks.group.multimedia',
77
73
  },
78
74
  },
79
75
  {
@@ -82,8 +78,7 @@ export default {
82
78
  metadata: {
83
79
  icon: 'mdi-image-filter-none',
84
80
  name: 'windward.games.shared.content_blocks.title.matching_game',
85
- grouping:
86
- 'windward.games.shared.content_blocks.grouping.game',
81
+ grouping: 'components.content.blocks.group.activities',
87
82
  },
88
83
  },
89
84
  {
@@ -92,8 +87,7 @@ export default {
92
87
  metadata: {
93
88
  icon: 'mdi-head-question-outline',
94
89
  name: 'windward.games.shared.content_blocks.title.quizshow',
95
- grouping:
96
- 'windward.games.shared.content_blocks.grouping.game',
90
+ grouping: 'components.content.blocks.group.activities',
97
91
  },
98
92
  },
99
93
  {
@@ -102,18 +96,16 @@ export default {
102
96
  metadata: {
103
97
  icon: 'mdi-head-question-outline',
104
98
  name: 'windward.games.shared.content_blocks.title.multiple_choice',
105
- grouping:
106
- 'windward.games.shared.content_blocks.grouping.game',
99
+ grouping: 'components.content.blocks.group.activities',
107
100
  },
108
101
  },
109
102
  {
110
103
  tag: 'games-wordjumble-game',
111
104
  template: WordJumble,
112
105
  metadata: {
113
- icon: 'mdi-ab-testing',
106
+ icon: 'mdi-alphabetical-variant',
114
107
  name: 'windward.games.shared.content_blocks.title.word_jumble',
115
- grouping:
116
- 'windward.games.shared.content_blocks.grouping.game',
108
+ grouping: 'components.content.blocks.group.activities',
117
109
  },
118
110
  },
119
111
  {
@@ -122,8 +114,7 @@ export default {
122
114
  metadata: {
123
115
  icon: 'mdi-ab-testing',
124
116
  name: 'windward.games.shared.content_blocks.title.seven_strikes',
125
- grouping:
126
- 'windward.games.shared.content_blocks.grouping.game',
117
+ grouping: 'components.content.blocks.group.activities',
127
118
  },
128
119
  },
129
120
  {
@@ -132,8 +123,7 @@ export default {
132
123
  metadata: {
133
124
  icon: 'mdi-alpha-c-box-outline',
134
125
  name: 'windward.games.shared.content_blocks.title.crossword_puzzle',
135
- grouping:
136
- 'windward.games.shared.content_blocks.grouping.game',
126
+ grouping: 'components.content.blocks.group.activities',
137
127
  },
138
128
  },
139
129
  ],