@enso-ui/how-to 4.0.16 → 5.0.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@enso-ui/how-to",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"description": "Basic how-to package",
|
|
5
5
|
"main": "src/bulma/pages/howTo/Index.vue",
|
|
6
6
|
"scripts": {
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"@enso-ui/card": "^3.0",
|
|
25
25
|
"@enso-ui/confirmation": "^2.0",
|
|
26
26
|
"@enso-ui/directives": "^2.0",
|
|
27
|
+
"@enso-ui/ui": "^6.0",
|
|
27
28
|
"@enso-ui/uploader": "^2.0",
|
|
28
29
|
"@enso-ui/transitions": "^2.0",
|
|
29
30
|
"@fortawesome/fontawesome-svg-core": "^1.2.2",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
<fade>
|
|
28
28
|
<div class="control"
|
|
29
29
|
v-if="video.name">
|
|
30
|
-
<uploader :url="uploadLink"
|
|
30
|
+
<enso-uploader :url="uploadLink"
|
|
31
31
|
:params="video"
|
|
32
32
|
:file-size-limit="20000000"
|
|
33
33
|
file-key="video"
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
</span>
|
|
46
46
|
</a>
|
|
47
47
|
</template>
|
|
48
|
-
</uploader>
|
|
48
|
+
</enso-uploader>
|
|
49
49
|
<a class="button is-outlined is-success"
|
|
50
50
|
@click="video = video; update()"
|
|
51
51
|
v-if="editingVideo">
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
<script>
|
|
180
180
|
import { focus } from '@enso-ui/directives';
|
|
181
181
|
import { Fade } from '@enso-ui/transitions';
|
|
182
|
-
import {
|
|
182
|
+
import { EnsoUploader } from '@enso-ui/uploader/bulma';
|
|
183
183
|
import { library } from '@fortawesome/fontawesome-svg-core';
|
|
184
184
|
import {
|
|
185
185
|
faBan,
|
|
@@ -200,7 +200,7 @@ export default {
|
|
|
200
200
|
directives: { focus },
|
|
201
201
|
|
|
202
202
|
components: {
|
|
203
|
-
Fa, Fade, HowToVideo,
|
|
203
|
+
Fa, Fade, HowToVideo, EnsoUploader,
|
|
204
204
|
},
|
|
205
205
|
|
|
206
206
|
inject: ['canAccess', 'errorHandler', 'http', 'i18n', 'route', 'toastr'],
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
</span>
|
|
15
15
|
</card-control>
|
|
16
16
|
<card-control v-if="!video.poster && canAccess('howTo.posters.store')">
|
|
17
|
-
<uploader class="pt-1"
|
|
17
|
+
<enso-uploader class="pt-1"
|
|
18
18
|
:url="route('howTo.posters.store')"
|
|
19
19
|
:params="{ videoId: video.id }"
|
|
20
20
|
file-key="poster"
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<fa :icon="['far', 'image']"/>
|
|
26
26
|
</span>
|
|
27
27
|
</template>
|
|
28
|
-
</uploader>
|
|
28
|
+
</enso-uploader>
|
|
29
29
|
</card-control>
|
|
30
30
|
<card-control v-if="canAccess('howTo.videos.update')">
|
|
31
31
|
<span class="icon"
|
|
@@ -100,7 +100,7 @@ import {
|
|
|
100
100
|
CardFooter, CardFooterItem,
|
|
101
101
|
} from '@enso-ui/card/bulma';
|
|
102
102
|
import Confirmation from '@enso-ui/confirmation/bulma';
|
|
103
|
-
import {
|
|
103
|
+
import { EnsoUploader } from '@enso-ui/uploader';
|
|
104
104
|
import VideoPlayer from './VideoPlayer.vue';
|
|
105
105
|
import 'video.js/dist/video-js.css';
|
|
106
106
|
|
|
@@ -121,7 +121,7 @@ export default {
|
|
|
121
121
|
CardFooterItem,
|
|
122
122
|
CardContent,
|
|
123
123
|
Fa,
|
|
124
|
-
|
|
124
|
+
EnsoUploader,
|
|
125
125
|
VideoPlayer,
|
|
126
126
|
},
|
|
127
127
|
|