@windward/integrations 0.1.1 → 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/ExternalIntegration/LtiConsumer.vue +4 -4
- package/components/ExternalIntegration/Driver/Lti1p1/ManageConsumers.vue +6 -6
- package/components/ExternalIntegration/Driver/Lti1p1/ManageProviders.vue +11 -6
- package/components/ExternalIntegration/Driver/Lti1p3/ManageConsumers.vue +8 -8
- package/components/ExternalIntegration/Driver/Lti1p3/ManageProviders.vue +11 -6
- package/components/FileImport/FileImportMenu.vue +4 -4
- package/components/Integration/JobTable.vue +2 -2
- package/components/Navigation/Items/CourseJobLog.vue +2 -2
- package/package.json +7 -2
- package/pages/admin/vendors.vue +5 -5
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
:name="frameId"
|
|
81
81
|
class="launch-frame"
|
|
82
82
|
></iframe>
|
|
83
|
-
<
|
|
83
|
+
<DialogBox
|
|
84
84
|
v-if="block.metadata.config.launch_type === 'modal'"
|
|
85
85
|
v-model="openModal"
|
|
86
86
|
:trigger="false"
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
|
|
109
109
|
<div v-else></div>
|
|
110
110
|
</template>
|
|
111
|
-
</
|
|
111
|
+
</DialogBox>
|
|
112
112
|
</div>
|
|
113
113
|
|
|
114
114
|
<v-alert v-if="missing" type="error">
|
|
@@ -154,11 +154,11 @@ import BaseContentBlock from '~/components/Content/Blocks/BaseContentBlock'
|
|
|
154
154
|
import Course from '~/models/Course'
|
|
155
155
|
import Organization from '~/models/Organization'
|
|
156
156
|
import Enrollment from '~/models/Enrollment'
|
|
157
|
-
import
|
|
157
|
+
import DialogBox from '~/components/DialogBox.vue'
|
|
158
158
|
|
|
159
159
|
export default {
|
|
160
160
|
name: 'ContentBlockExternalIntegrationLti1p1Consumer',
|
|
161
|
-
components: { TextViewer,
|
|
161
|
+
components: { TextViewer, DialogBox },
|
|
162
162
|
extends: BaseContentBlock,
|
|
163
163
|
data() {
|
|
164
164
|
return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
|
-
<
|
|
3
|
+
<DialogBox
|
|
4
4
|
color="primary"
|
|
5
5
|
action-save
|
|
6
6
|
action-save-new
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<template #form="{ on, attrs }"
|
|
20
20
|
><ManageConsumer v-bind="attrs" v-on="on"></ManageConsumer
|
|
21
21
|
></template>
|
|
22
|
-
</
|
|
22
|
+
</DialogBox>
|
|
23
23
|
|
|
24
24
|
<v-data-table
|
|
25
25
|
:headers="headers"
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
{{ $d(new Date(item.created_at), 'long') }}
|
|
45
45
|
</template>
|
|
46
46
|
<template #[`item.actions`]="{ index, item }">
|
|
47
|
-
<
|
|
47
|
+
<DialogBox color="primary" action-save @click:save="onSaved">
|
|
48
48
|
<template #title>{{
|
|
49
49
|
$t(
|
|
50
50
|
'windward.integrations.components.external_integration.driver.lti1p1.edit'
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
v-on="on"
|
|
66
66
|
></ManageConsumer
|
|
67
67
|
></template>
|
|
68
|
-
</
|
|
68
|
+
</DialogBox>
|
|
69
69
|
|
|
70
70
|
<v-btn icon>
|
|
71
71
|
<v-icon @click="onConfirmDelete(item)"> mdi-delete </v-icon>
|
|
@@ -83,11 +83,11 @@ import LtiConsumer from '../../../../models/ExternalIntegration/LtiConsumer'
|
|
|
83
83
|
import ManageConsumer from './ManageConsumer.vue'
|
|
84
84
|
import Course from '~/models/Course'
|
|
85
85
|
import Organization from '~/models/Organization'
|
|
86
|
-
import
|
|
86
|
+
import DialogBox from '~/components/DialogBox.vue'
|
|
87
87
|
|
|
88
88
|
export default {
|
|
89
89
|
name: 'ManageLti1p1ConsumersDriver',
|
|
90
|
-
components: {
|
|
90
|
+
components: { DialogBox, ManageConsumer },
|
|
91
91
|
data() {
|
|
92
92
|
return {
|
|
93
93
|
consumers: [],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
|
-
<
|
|
3
|
+
<DialogBox
|
|
4
4
|
color="primary"
|
|
5
5
|
action-save
|
|
6
6
|
action-save-new
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<template #form="{ on, attrs }"
|
|
16
16
|
><ManageProvider v-bind="attrs" v-on="on"></ManageProvider
|
|
17
17
|
></template>
|
|
18
|
-
</
|
|
18
|
+
</DialogBox>
|
|
19
19
|
|
|
20
20
|
<v-data-table
|
|
21
21
|
:headers="headers"
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
{{ $d(new Date(item.created_at), 'short') }}
|
|
64
64
|
</template>
|
|
65
65
|
<template #[`item.actions`]="{ index, item }">
|
|
66
|
-
<
|
|
66
|
+
<DialogBox color="primary" action-save @click:save="onSaved">
|
|
67
67
|
<template #title>{{
|
|
68
68
|
$t(
|
|
69
69
|
'windward.integrations.components.external_integration.driver.lti1p1.edit'
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
v-on="on"
|
|
85
85
|
></ManageProvider
|
|
86
86
|
></template>
|
|
87
|
-
</
|
|
87
|
+
</DialogBox>
|
|
88
88
|
|
|
89
89
|
<v-btn icon>
|
|
90
90
|
<v-icon @click="onConfirmDelete(item)"> mdi-delete </v-icon>
|
|
@@ -102,13 +102,18 @@ import LtiProvider from '../../../../models/ExternalIntegration/LtiProvider'
|
|
|
102
102
|
import SecretField from '../../../SecretField.vue'
|
|
103
103
|
import ProviderTargetViewer from '../../ProviderTargetViewer.vue'
|
|
104
104
|
import ManageProvider from './ManageProvider.vue'
|
|
105
|
-
import
|
|
105
|
+
import DialogBox from '~/components/DialogBox.vue'
|
|
106
106
|
import Organization from '~/models/Organization'
|
|
107
107
|
import Course from '~/models/Course'
|
|
108
108
|
|
|
109
109
|
export default {
|
|
110
110
|
name: 'ManageLti1p1ProvidersDriver',
|
|
111
|
-
components: {
|
|
111
|
+
components: {
|
|
112
|
+
SecretField,
|
|
113
|
+
DialogBox,
|
|
114
|
+
ManageProvider,
|
|
115
|
+
ProviderTargetViewer,
|
|
116
|
+
},
|
|
112
117
|
data() {
|
|
113
118
|
return {
|
|
114
119
|
providers: [],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
|
-
<
|
|
3
|
+
<DialogBox
|
|
4
4
|
color="primary"
|
|
5
5
|
action-save
|
|
6
6
|
action-save-new
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<template #form="{ on, attrs }"
|
|
20
20
|
><ManageConsumer v-bind="attrs" v-on="on"></ManageConsumer
|
|
21
21
|
></template>
|
|
22
|
-
</
|
|
22
|
+
</DialogBox>
|
|
23
23
|
|
|
24
24
|
<v-data-table
|
|
25
25
|
:headers="headers"
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
{{ $d(new Date(item.created_at), 'long') }}
|
|
45
45
|
</template>
|
|
46
46
|
<template #[`item.actions`]="{ index, item }">
|
|
47
|
-
<
|
|
47
|
+
<DialogBox color="primary">
|
|
48
48
|
<template #title>{{
|
|
49
49
|
$t(
|
|
50
50
|
'windward.integrations.components.external_integration.driver.lti1p3.view'
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
v-on="on"
|
|
66
66
|
></ViewConsumer
|
|
67
67
|
></template>
|
|
68
|
-
</
|
|
69
|
-
<
|
|
68
|
+
</DialogBox>
|
|
69
|
+
<DialogBox color="primary" action-save @click:save="onSaved">
|
|
70
70
|
<template #title>{{
|
|
71
71
|
$t(
|
|
72
72
|
'windward.integrations.components.external_integration.driver.lti1p3.edit'
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
v-on="on"
|
|
88
88
|
></ManageConsumer
|
|
89
89
|
></template>
|
|
90
|
-
</
|
|
90
|
+
</DialogBox>
|
|
91
91
|
|
|
92
92
|
<v-btn icon>
|
|
93
93
|
<v-icon @click="onConfirmDelete(item)"> mdi-delete </v-icon>
|
|
@@ -106,11 +106,11 @@ import ManageConsumer from './ManageConsumer.vue'
|
|
|
106
106
|
import ViewConsumer from './ViewConsumer.vue'
|
|
107
107
|
import Course from '~/models/Course'
|
|
108
108
|
import Organization from '~/models/Organization'
|
|
109
|
-
import
|
|
109
|
+
import DialogBox from '~/components/DialogBox.vue'
|
|
110
110
|
|
|
111
111
|
export default {
|
|
112
112
|
name: 'ManageLti1p1ConsumersDriver',
|
|
113
|
-
components: {
|
|
113
|
+
components: { DialogBox, ManageConsumer, ViewConsumer },
|
|
114
114
|
data() {
|
|
115
115
|
return {
|
|
116
116
|
consumers: [],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
|
-
<
|
|
3
|
+
<DialogBox
|
|
4
4
|
color="primary"
|
|
5
5
|
action-save
|
|
6
6
|
action-save-new
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<template #form="{ on, attrs }"
|
|
16
16
|
><ManageProvider v-bind="attrs" v-on="on"></ManageProvider
|
|
17
17
|
></template>
|
|
18
|
-
</
|
|
18
|
+
</DialogBox>
|
|
19
19
|
|
|
20
20
|
<v-data-table
|
|
21
21
|
:headers="headers"
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
{{ $d(new Date(item.created_at), 'short') }}
|
|
70
70
|
</template>
|
|
71
71
|
<template #[`item.actions`]="{ index, item }">
|
|
72
|
-
<
|
|
72
|
+
<DialogBox color="primary" action-save @click:save="onSaved">
|
|
73
73
|
<template #title>{{
|
|
74
74
|
$t(
|
|
75
75
|
'windward.integrations.components.external_integration.driver.lti1p3.edit'
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
v-on="on"
|
|
91
91
|
></ManageProvider
|
|
92
92
|
></template>
|
|
93
|
-
</
|
|
93
|
+
</DialogBox>
|
|
94
94
|
|
|
95
95
|
<v-btn icon>
|
|
96
96
|
<v-icon @click="onConfirmDelete(item)"> mdi-delete </v-icon>
|
|
@@ -108,13 +108,18 @@ import LtiProvider from '../../../../models/ExternalIntegration/LtiProvider'
|
|
|
108
108
|
import SecretField from '../../../SecretField.vue'
|
|
109
109
|
import ProviderTargetViewer from '../../ProviderTargetViewer.vue'
|
|
110
110
|
import ManageProvider from './ManageProvider.vue'
|
|
111
|
-
import
|
|
111
|
+
import DialogBox from '~/components/DialogBox.vue'
|
|
112
112
|
import Organization from '~/models/Organization'
|
|
113
113
|
import Course from '~/models/Course'
|
|
114
114
|
|
|
115
115
|
export default {
|
|
116
116
|
name: 'ManageLti1p1ProvidersDriver',
|
|
117
|
-
components: {
|
|
117
|
+
components: {
|
|
118
|
+
SecretField,
|
|
119
|
+
DialogBox,
|
|
120
|
+
ManageProvider,
|
|
121
|
+
ProviderTargetViewer,
|
|
122
|
+
},
|
|
118
123
|
data() {
|
|
119
124
|
return {
|
|
120
125
|
providers: [],
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
<v-list-item-title>{{ $t(importVendor.i18n) }}</v-list-item-title>
|
|
12
12
|
</v-list-item>
|
|
13
13
|
|
|
14
|
-
<
|
|
14
|
+
<DialogBox
|
|
15
15
|
v-model="showDialog"
|
|
16
16
|
:trigger="false"
|
|
17
17
|
persistent
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
@uploaded="$emit('uploaded', $event)"
|
|
32
32
|
></component>
|
|
33
33
|
</template>
|
|
34
|
-
</
|
|
34
|
+
</DialogBox>
|
|
35
35
|
</div>
|
|
36
36
|
</template>
|
|
37
37
|
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
import _ from 'lodash'
|
|
40
40
|
import { mapGetters } from 'vuex'
|
|
41
41
|
import Organization from '../../models/Organization'
|
|
42
|
-
import
|
|
42
|
+
import DialogBox from '~/components/DialogBox.vue'
|
|
43
43
|
|
|
44
44
|
export default {
|
|
45
45
|
name: 'FileImportMenu',
|
|
46
|
-
components: {
|
|
46
|
+
components: { DialogBox },
|
|
47
47
|
props: {
|
|
48
48
|
metadata: {
|
|
49
49
|
type: Object,
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
</td>
|
|
128
128
|
<td>{{ $d(new Date(item.created_at), 'long') }}</td>
|
|
129
129
|
<td>
|
|
130
|
-
<
|
|
130
|
+
<DialogBox color="primary" outlined>
|
|
131
131
|
<template #trigger>
|
|
132
132
|
<v-icon>mdi-note-search</v-icon>
|
|
133
133
|
</template>
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
v-on="on"
|
|
144
144
|
></JobLog>
|
|
145
145
|
</template>
|
|
146
|
-
</
|
|
146
|
+
</DialogBox>
|
|
147
147
|
</td>
|
|
148
148
|
</tr>
|
|
149
149
|
</tbody>
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
<v-list-item-title>
|
|
8
8
|
{{ $t(config.i18n) }}
|
|
9
9
|
</v-list-item-title>
|
|
10
|
-
<
|
|
10
|
+
<DialogBox v-model="dialog" color="primary" text :trigger="false">
|
|
11
11
|
<template #title>{{ $t(config.i18n) }}</template>
|
|
12
12
|
<template #form="{ on, attrs }">
|
|
13
13
|
<JobLog :id="jobId" v-bind="attrs" v-on="on"></JobLog>
|
|
14
14
|
</template>
|
|
15
|
-
</
|
|
15
|
+
</DialogBox>
|
|
16
16
|
</v-list-item-content>
|
|
17
17
|
</v-list-item>
|
|
18
18
|
</template>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@windward/integrations",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Windward UI Plugin Integrations for 3rd Party Systems",
|
|
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-ui-plugin-integrations.git"
|
|
14
14
|
},
|
|
15
|
-
"author": "Jacob Rogaishio",
|
|
15
|
+
"author": "Jacob Rogaishio <jrogaishio@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-integrations#readme",
|
|
18
23
|
"dependencies": {
|
package/pages/admin/vendors.vue
CHANGED
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
</template>
|
|
126
126
|
</v-simple-table>
|
|
127
127
|
|
|
128
|
-
<
|
|
128
|
+
<DialogBox v-model="manageDialog" :trigger="false" action-save>
|
|
129
129
|
<template #title>{{
|
|
130
130
|
$t(
|
|
131
131
|
'windward.integrations.components.integration.driver.' +
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
@update:integration="onUpdateIntegration"
|
|
143
143
|
></component>
|
|
144
144
|
</template>
|
|
145
|
-
</
|
|
145
|
+
</DialogBox>
|
|
146
146
|
</v-col>
|
|
147
147
|
</v-row>
|
|
148
148
|
</div>
|
|
@@ -151,14 +151,14 @@
|
|
|
151
151
|
<script>
|
|
152
152
|
import _ from 'lodash'
|
|
153
153
|
import { mapGetters } from 'vuex'
|
|
154
|
-
import Breadcrumbs from '~/components/Breadcrumbs.vue'
|
|
155
|
-
import Dialog from '~/components/Dialog.vue'
|
|
156
154
|
import Organization from '../../models/Organization'
|
|
157
155
|
import IntegrationJobTable from '../../components/Integration/JobTable.vue'
|
|
156
|
+
import Breadcrumbs from '~/components/Breadcrumbs.vue'
|
|
157
|
+
import DialogBox from '~/components/DialogBox.vue'
|
|
158
158
|
|
|
159
159
|
export default {
|
|
160
160
|
name: 'PluginIntegrationsAdminVendorsPage',
|
|
161
|
-
components: {
|
|
161
|
+
components: { DialogBox, IntegrationJobTable, Breadcrumbs },
|
|
162
162
|
layout: 'authenticated',
|
|
163
163
|
meta: {
|
|
164
164
|
privilege: {
|