@sedoo/unidoo 0.0.78 → 0.0.81
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/dist/unidoo.common.js +188 -182
- package/dist/unidoo.common.js.map +1 -1
- package/dist/unidoo.umd.js +188 -182
- package/dist/unidoo.umd.js.map +1 -1
- package/dist/unidoo.umd.min.js +2 -2
- package/dist/unidoo.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/UnidooAlert.vue +0 -0
- package/src/components/UnidooCaptcha.vue +0 -0
- package/src/components/UnidooConfirmDialog.vue +0 -0
- package/src/components/unidoo-player/UnidooPlayer.vue +35 -33
- package/src/components/unidoo-player/image-viewer/image-viewer.vue +1 -1
- package/src/components/unidoo-player/unidoo-player-layout/UnidooPlayerLayout.vue +3 -3
- package/src/components/unidoo-player/unidoo-simple-player/UnidooSimplePlayer.vue +6 -1
- package/src/plugin.js +0 -0
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,37 +1,39 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
<
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
<slot
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
<div
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
<div
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
2
|
+
<div>
|
|
3
|
+
<v-col container>
|
|
4
|
+
<div level-selector >
|
|
5
|
+
|
|
6
|
+
<level-selector
|
|
7
|
+
v-model="entries"
|
|
8
|
+
:data="data"
|
|
9
|
+
></level-selector>
|
|
10
|
+
|
|
11
|
+
</div>
|
|
12
|
+
|
|
13
|
+
<unidoo-simple-player
|
|
14
|
+
v-if="hasData"
|
|
15
|
+
class="constrained"
|
|
16
|
+
:label="label"
|
|
17
|
+
:entries="entries"
|
|
18
|
+
>
|
|
19
|
+
|
|
20
|
+
<template v-slot:customField>
|
|
21
|
+
<slot name="customField"></slot>
|
|
22
|
+
</template>
|
|
23
|
+
|
|
24
|
+
</unidoo-simple-player>
|
|
25
|
+
|
|
26
|
+
<div v-else-if="noVisibleData" class="constrained placeholder">
|
|
27
|
+
<div style="position: absolute; top: 0; left: 0;"><slot name="customField"></slot></div><b>{{ noVisibleDataMessage }}</b>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
<div v-else class="constrained placeholder">
|
|
31
|
+
<div style="position: absolute; top: 0; left: 0;"><slot name="customField"></slot></div><b>{{ noDataMessage }}</b>
|
|
32
|
+
</div>
|
|
33
|
+
|
|
34
|
+
<div v-if="isLoading" mask></div>
|
|
35
|
+
</v-col>
|
|
36
|
+
</div>
|
|
35
37
|
</template>
|
|
36
38
|
|
|
37
39
|
<script>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
2
|
+
<div>
|
|
3
3
|
|
|
4
4
|
<div player-layout elevation="0" :class="{ zoomed: isZoomed }">
|
|
5
5
|
|
|
@@ -155,8 +155,8 @@ export default {
|
|
|
155
155
|
},
|
|
156
156
|
|
|
157
157
|
subBodyStyle(){
|
|
158
|
-
const vh = (this.isZoomed) ? '
|
|
159
|
-
return { gridTemplateRows: ((this.playerBarTop) ? '10px
|
|
158
|
+
const vh = (this.isZoomed) ? '75vh' : '43vh';
|
|
159
|
+
return { gridTemplateRows: ((this.playerBarTop) ? '10px 120px 10px ' + vh + ' 10px' : '10px ' + vh + ' 10px 120px 10px')};
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
},
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
:graduation="graduation"
|
|
11
11
|
:frequency="300"
|
|
12
12
|
:loadedFrames="loadedFrames"
|
|
13
|
-
@reload-frames="
|
|
13
|
+
@reload-frames="refreshPreload(loadIndex)"
|
|
14
14
|
progressBarTitle="Loading image"
|
|
15
15
|
>
|
|
16
16
|
|
|
@@ -205,6 +205,11 @@ export default {
|
|
|
205
205
|
}
|
|
206
206
|
},
|
|
207
207
|
|
|
208
|
+
refreshPreload(loadIndex){
|
|
209
|
+
this.lastFrameQualifier = this.currentQualifier;
|
|
210
|
+
this.preloadFrames(loadIndex);
|
|
211
|
+
},
|
|
212
|
+
|
|
208
213
|
incrementPreload() {
|
|
209
214
|
this.loadedFrames++;
|
|
210
215
|
if (this.loadedFrames === this.max + 1) {
|
package/src/plugin.js
CHANGED
|
File without changes
|