@saooti/octopus-sdk 33.2.6 → 33.2.7
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
package/src/App.vue
CHANGED
package/src/assets/general.scss
CHANGED
|
@@ -12,8 +12,16 @@ body{
|
|
|
12
12
|
background: #ebebeb;
|
|
13
13
|
min-height: 100%;
|
|
14
14
|
overscroll-behavior-y: contain;
|
|
15
|
+
display: flex;
|
|
16
|
+
flex-direction: column;
|
|
17
|
+
}
|
|
18
|
+
#app{
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
flex-grow: 1;
|
|
15
22
|
}
|
|
16
23
|
.octopus-app{
|
|
24
|
+
flex-grow: 1;
|
|
17
25
|
*:focus-visible{
|
|
18
26
|
outline: none;
|
|
19
27
|
box-shadow: 0 0 10px 1px $octopus-primary-color !important;
|
|
@@ -66,6 +74,7 @@ body{
|
|
|
66
74
|
.page-box{
|
|
67
75
|
background-color: $octopus-background;
|
|
68
76
|
padding: 2rem 5rem 5rem 5rem;
|
|
77
|
+
flex-grow: 1;
|
|
69
78
|
@media (max-width: 1400px) {
|
|
70
79
|
padding: 2rem;
|
|
71
80
|
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
v-model="textValue"
|
|
11
11
|
:disabled="isDisabled"
|
|
12
12
|
class="c-hand w-100"
|
|
13
|
+
:class="transparent?'transparent':''"
|
|
13
14
|
:style="getFontFamily"
|
|
14
15
|
>
|
|
15
16
|
<option
|
|
@@ -31,6 +32,7 @@ export default defineComponent({
|
|
|
31
32
|
idSelect: { default: '', type: String },
|
|
32
33
|
label: { default: '', type: String },
|
|
33
34
|
displayLabel:{default: true, type: Boolean},
|
|
35
|
+
transparent:{ default: false, type: Boolean },
|
|
34
36
|
isDisabled: { default: false, type: Boolean },
|
|
35
37
|
options: { default: ()=>[], type: Array as () => Array<{title: string, value: string|undefined, fontFamily?: string}> },
|
|
36
38
|
textInit: { default: undefined, type: String },
|
|
@@ -68,4 +70,15 @@ export default defineComponent({
|
|
|
68
70
|
},
|
|
69
71
|
},
|
|
70
72
|
});
|
|
71
|
-
</script>
|
|
73
|
+
</script>
|
|
74
|
+
<style lang="scss">
|
|
75
|
+
.octopus-app{
|
|
76
|
+
select.transparent {
|
|
77
|
+
background: transparent !important;
|
|
78
|
+
outline-color: transparent !important;
|
|
79
|
+
padding:0;
|
|
80
|
+
border: 0;
|
|
81
|
+
height: unset;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
</style>
|
|
@@ -3,88 +3,55 @@
|
|
|
3
3
|
v-if="displayFooter"
|
|
4
4
|
id="footer"
|
|
5
5
|
ref="footer"
|
|
6
|
-
class="d-flex
|
|
6
|
+
class="d-flex align-items-center justify-content-between border-top"
|
|
7
7
|
>
|
|
8
|
-
<div class="d-flex
|
|
9
|
-
<div class="
|
|
10
|
-
|
|
11
|
-
v-for="link in routerLinkArray"
|
|
12
|
-
:key="link.routeName"
|
|
13
|
-
>
|
|
14
|
-
<router-link
|
|
15
|
-
v-if="link.condition"
|
|
16
|
-
class="link-hover"
|
|
17
|
-
:to="{
|
|
18
|
-
name: link.routeName,
|
|
19
|
-
query: getQueriesRouter(link.routeName),
|
|
20
|
-
}"
|
|
21
|
-
>
|
|
22
|
-
{{ link.title }}
|
|
23
|
-
</router-link>
|
|
24
|
-
</template>
|
|
8
|
+
<div class="d-flex align-items-center px-1" v-if="!isPodcastmaker">
|
|
9
|
+
<div class="text-dark me-2">
|
|
10
|
+
© Saooti 2019
|
|
25
11
|
</div>
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
>
|
|
32
|
-
<div class="d-flex flex-column">
|
|
33
|
-
<div class="text-dark">
|
|
34
|
-
© Saooti 2019
|
|
35
|
-
</div>
|
|
36
|
-
<router-link
|
|
37
|
-
v-for="link in routerLinkSecondArray"
|
|
38
|
-
:key="link.routeName"
|
|
39
|
-
class="link-hover"
|
|
40
|
-
:to="link.routeName"
|
|
41
|
-
>
|
|
42
|
-
{{ link.title }}
|
|
43
|
-
</router-link>
|
|
44
|
-
<ClassicSelect
|
|
45
|
-
v-model:textInit="language"
|
|
46
|
-
:display-label="false"
|
|
47
|
-
id-select="language-chooser-select"
|
|
48
|
-
:label="$t('Change locale')"
|
|
49
|
-
:options="[{title:'Deutsch', value:'de'},
|
|
50
|
-
{title:'English', value:'en'},
|
|
51
|
-
{title:'Español', value:'es'},
|
|
52
|
-
{title:'Français', value:'fr'},
|
|
53
|
-
{title:'Italiano', value:'it'},
|
|
54
|
-
{title:'Slovenščina', value:'sl'}]"
|
|
55
|
-
/>
|
|
56
|
-
</div>
|
|
57
|
-
</div>
|
|
58
|
-
<hr class="show-phone">
|
|
59
|
-
<div class="flex-grow-1">
|
|
60
|
-
<a
|
|
61
|
-
href="https://www.acpm.fr/L-ACPM/Certifications-et-Labels/Les-Podcasts"
|
|
62
|
-
rel="noopener"
|
|
63
|
-
target="_blank"
|
|
64
|
-
:title="$t('Octopus is ACPM Podcast accredited')"
|
|
12
|
+
<router-link
|
|
13
|
+
v-for="link in routerLinkSecondArray"
|
|
14
|
+
:key="link.routeName"
|
|
15
|
+
class="link-hover me-2"
|
|
16
|
+
:to="link.routeName"
|
|
65
17
|
>
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
18
|
+
{{ link.title }}
|
|
19
|
+
</router-link>
|
|
20
|
+
<ClassicSelect
|
|
21
|
+
v-model:textInit="language"
|
|
22
|
+
:display-label="false"
|
|
23
|
+
id-select="language-chooser-select"
|
|
24
|
+
:label="$t('Change locale')"
|
|
25
|
+
:transparent="true"
|
|
26
|
+
:options="[{title:'Deutsch', value:'de'},
|
|
27
|
+
{title:'English', value:'en'},
|
|
28
|
+
{title:'Español', value:'es'},
|
|
29
|
+
{title:'Français', value:'fr'},
|
|
30
|
+
{title:'Italiano', value:'it'},
|
|
31
|
+
{title:'Slovenščina', value:'sl'}]"
|
|
32
|
+
/>
|
|
73
33
|
</div>
|
|
74
|
-
<
|
|
34
|
+
<a
|
|
75
35
|
v-if="isPodcastmaker && isContactLink"
|
|
76
|
-
|
|
36
|
+
id="footer-contact"
|
|
37
|
+
class="link-hover"
|
|
38
|
+
:href="isContactLink"
|
|
39
|
+
rel="noopener"
|
|
40
|
+
target="_blank"
|
|
41
|
+
>{{ $t('Contact') }}</a>
|
|
42
|
+
<a
|
|
43
|
+
href="https://www.acpm.fr/L-ACPM/Certifications-et-Labels/Les-Podcasts"
|
|
44
|
+
rel="noopener"
|
|
45
|
+
target="_blank"
|
|
46
|
+
:title="$t('Octopus is ACPM Podcast accredited')"
|
|
77
47
|
>
|
|
78
|
-
<
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
>{{ $t('Contact') }}</a>
|
|
86
|
-
</div>
|
|
87
|
-
</div>
|
|
48
|
+
<img
|
|
49
|
+
class="acpm_image"
|
|
50
|
+
src="/img/ACPM.webp"
|
|
51
|
+
:title="$t('Octopus is ACPM Podcast accredited')"
|
|
52
|
+
:alt="$t('Octopus is ACPM Podcast accredited')"
|
|
53
|
+
>
|
|
54
|
+
</a>
|
|
88
55
|
</div>
|
|
89
56
|
<Player @hide="showBlackBorder" />
|
|
90
57
|
</template>
|
|
@@ -116,15 +83,6 @@ export default defineComponent({
|
|
|
116
83
|
};
|
|
117
84
|
},
|
|
118
85
|
computed: {
|
|
119
|
-
routerLinkArray(){
|
|
120
|
-
return [
|
|
121
|
-
{title : this.$t('Home'), routeName: 'home', condition : true},
|
|
122
|
-
{title : this.$t('Podcasts'), routeName: 'podcasts', condition : true},
|
|
123
|
-
{title : this.$t('Emissions'), routeName: 'emissions', condition : true},
|
|
124
|
-
{title : this.$t('Productors'), routeName: 'productors', condition : !this.isPodcastmaker && !this.$store.state.filter.organisationId},
|
|
125
|
-
{title : this.$t('Playlists'), routeName: 'playlists', condition : true},
|
|
126
|
-
{title : this.$t('Speakers'), routeName: 'participants', condition : true},]
|
|
127
|
-
},
|
|
128
86
|
routerLinkSecondArray(){
|
|
129
87
|
return [
|
|
130
88
|
{title : this.$t('Contact'), routeName: '/main/pub/contact'},
|
|
@@ -190,9 +148,13 @@ export default defineComponent({
|
|
|
190
148
|
.octopus-app{
|
|
191
149
|
#footer{
|
|
192
150
|
font-size: 0.7rem;
|
|
151
|
+
position: sticky;
|
|
152
|
+
bottom: 0;
|
|
153
|
+
z-index: 10;
|
|
154
|
+
background: white;
|
|
193
155
|
.acpm_image {
|
|
194
|
-
width:
|
|
195
|
-
height:
|
|
156
|
+
width: 44px;
|
|
157
|
+
height: 44px;
|
|
196
158
|
}
|
|
197
159
|
a{
|
|
198
160
|
color: #666;
|
|
@@ -18,13 +18,14 @@
|
|
|
18
18
|
:class="{
|
|
19
19
|
'saooti-play': isPaused,
|
|
20
20
|
'saooti-pause': isPlaying,
|
|
21
|
-
'':!isPaused&&!isPlaying
|
|
21
|
+
'p-0':!isPaused&&!isPlaying
|
|
22
22
|
}"
|
|
23
23
|
class="btn play-button-box text-light bg-primary"
|
|
24
24
|
@click="switchPausePlay"
|
|
25
25
|
>
|
|
26
26
|
<Spinner
|
|
27
27
|
v-if="!isPaused&&!isPlaying"
|
|
28
|
+
:small="true"
|
|
28
29
|
/>
|
|
29
30
|
</button>
|
|
30
31
|
<div class="text-light player-grow-content">
|