@sedoo/unidoo 0.0.71 → 0.0.75

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": "@sedoo/unidoo",
3
- "version": "0.0.71",
3
+ "version": "0.0.75",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "build": "vue-cli-service build --target lib --name unidoo src/plugin.js",
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <v-col justify="center" style="display: flex; height : 100%">
2
+ <v-col justify="center" style="display: flex; height: inherit">
3
3
  <v-row justify="center" style="height : 100%" >
4
4
 
5
5
  <img
@@ -88,14 +88,23 @@
88
88
  <v-divider style="order: 3;"></v-divider>
89
89
 
90
90
  <v-row player-part :style="{ order: ((playerBarTop) ? 4 : 2) }">
91
-
91
+
92
92
  <v-list-item player-layout-displayer v-if="clickableFrame" :ripple="false" @click="playOrStopFrame">
93
-
94
- <slot name="displayer"></slot>
93
+ <div viewer-container>
94
+ <div viewer-slot-container>
95
+ <slot name="displayer"></slot>
96
+ </div>
97
+ </div>
95
98
 
96
99
  </v-list-item>
97
100
 
98
- <slot v-else player-layout-displayer name="displayer"></slot>
101
+ <div v-else player-layout-displayer >
102
+ <div viewer-container>
103
+ <div viewer-slot-container>
104
+ <slot name="displayer"></slot>
105
+ </div>
106
+ </div>
107
+ </div>
99
108
 
100
109
  </v-row>
101
110
 
@@ -146,7 +155,7 @@ export default {
146
155
  },
147
156
 
148
157
  subBodyStyle(){
149
- const vh = (this.isZoomed) ? '60vh' : '40vh';
158
+ const vh = (this.isZoomed) ? '65vh' : '40vh';
150
159
  return { gridTemplateRows: ((this.playerBarTop) ? '10px 140px 10px ' + vh + ' 10px' : '10px ' + vh + ' 10px 140px 10px')};
151
160
  }
152
161
 
@@ -502,6 +511,26 @@ export default {
502
511
 
503
512
  [player-part] [player-layout-displayer] {
504
513
  height: 100%;
514
+ width: 100%;
515
+ }
516
+
517
+ [player-layout] [viewer-container] {
518
+ display: flex;
519
+ height: inherit;
520
+ width: 100%;
521
+ overflow: auto;
522
+ }
523
+
524
+ [player-layout] [viewer-container] [viewer-slot-container] {
525
+ display: flex;
526
+ justify-content: center;
527
+ height: 100%;
528
+ width: 100%;
529
+ margin:auto;
530
+ }
531
+
532
+ [player-layout].zoomed [viewer-container] [viewer-slot-container] {
533
+ height: fit-content;
505
534
  }
506
535
 
507
536
  [buttons] {
@@ -551,7 +580,7 @@ export default {
551
580
  min-height: 60vh;
552
581
  }
553
582
  [player-layout].zoomed [player-part] [player-layout-displayer] {
554
- height : inherit;
583
+ padding: 0;
555
584
  }
556
585
 
557
586
  @media screen and (max-width: 890px) {
@@ -578,7 +607,7 @@ export default {
578
607
  </style>
579
608
  <style>
580
609
  [player-layout] .v-slider__tick-label {
581
- font-size: 0.8em;
610
+ font-size: 0.65em;
582
611
  }
583
612
 
584
613
  [player-layout] .v-slider__tick {