@saooti/octopus-sdk 39.2.9 → 39.2.10
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 +1 -1
- package/src/components/display/sharing/PlayerParameters.vue +1 -1
- package/src/components/display/sharing/SharePlayer.vue +5 -2
- package/src/components/misc/HomeDropdown.vue +1 -14
- package/src/components/misc/MobileMenu.vue +1 -14
- package/src/components/pages/Error403Page.vue +4 -20
package/package.json
CHANGED
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
:label="$t('Proceed reading')"
|
|
51
51
|
@update:text-init="$emit('update:proceedReading', $event)"
|
|
52
52
|
/>
|
|
53
|
+
</template>
|
|
53
54
|
<ClassicCheckbox
|
|
54
55
|
v-if="displayIsVisible"
|
|
55
56
|
:text-init="isVisible"
|
|
@@ -57,7 +58,6 @@
|
|
|
57
58
|
:label="titleStillAvailable"
|
|
58
59
|
@update:text-init="$emit('update:isVisible', $event)"
|
|
59
60
|
/>
|
|
60
|
-
</template>
|
|
61
61
|
<ClassicCheckbox
|
|
62
62
|
v-if="displayArticleParam"
|
|
63
63
|
:text-init="displayArticle"
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
v-model:proceed-reading="proceedReading"
|
|
48
48
|
v-model:is-visible="isVisible"
|
|
49
49
|
v-model:player-auto-play="playerAutoPlay"
|
|
50
|
-
:display-is-visible="
|
|
50
|
+
:display-is-visible="displayIsVisible"
|
|
51
51
|
:is-podcast-not-visible="isPodcastNotVisible"
|
|
52
52
|
:chose-number-episode="choseNumberEpisodes"
|
|
53
53
|
:display-choice-all-episodes="displayChoiceAllEpisodes"
|
|
@@ -162,11 +162,14 @@ export default defineComponent({
|
|
|
162
162
|
choseNumberEpisodes(): boolean {
|
|
163
163
|
return this.displayChoiceAllEpisodes || this.isTypeSuggestion;
|
|
164
164
|
},
|
|
165
|
+
displayIsVisible():boolean{
|
|
166
|
+
return this.choseNumberEpisodes || this.isPodcastNotVisible;
|
|
167
|
+
},
|
|
165
168
|
isPodcastNotVisible(): boolean {
|
|
166
169
|
return (
|
|
167
170
|
undefined !== this.podcast &&
|
|
168
171
|
!this.podcast.availability.visibility &&
|
|
169
|
-
|
|
172
|
+
!this.isTypeEmission && !this.isTypeSuggestion
|
|
170
173
|
);
|
|
171
174
|
},
|
|
172
175
|
displayArticleParam(): boolean {
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
</template>
|
|
67
67
|
</template>
|
|
68
68
|
<hr />
|
|
69
|
-
<a class="octopus-dropdown-item c-hand"
|
|
69
|
+
<a class="octopus-dropdown-item c-hand" href="/logout">
|
|
70
70
|
{{ $t("Logout") }}
|
|
71
71
|
</a>
|
|
72
72
|
</template>
|
|
@@ -160,19 +160,6 @@ export default defineComponent({
|
|
|
160
160
|
},
|
|
161
161
|
},
|
|
162
162
|
methods: {
|
|
163
|
-
async logoutFunction() {
|
|
164
|
-
try {
|
|
165
|
-
await classicApi.postData({
|
|
166
|
-
api: 4,
|
|
167
|
-
path: "/logout",
|
|
168
|
-
dataToSend: undefined,
|
|
169
|
-
});
|
|
170
|
-
await this.$router.push({ path: "/" });
|
|
171
|
-
location.reload();
|
|
172
|
-
} catch (error) {
|
|
173
|
-
//Do nothing
|
|
174
|
-
}
|
|
175
|
-
},
|
|
176
163
|
goToAdministration() {
|
|
177
164
|
if ("backoffice" !== this.$route.name) {
|
|
178
165
|
this.$router.push("/main/priv/backoffice");
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
>
|
|
41
41
|
{{ $t("Login") }}
|
|
42
42
|
</a>
|
|
43
|
-
<a v-else class="octopus-dropdown-item"
|
|
43
|
+
<a v-else class="octopus-dropdown-item c-hand" href="/logout">
|
|
44
44
|
{{ $t("Logout") }}
|
|
45
45
|
</a>
|
|
46
46
|
<router-link v-if="!isGarRole" class="octopus-dropdown-item" to="/main/pub/contact">
|
|
@@ -156,19 +156,6 @@ export default defineComponent({
|
|
|
156
156
|
},
|
|
157
157
|
|
|
158
158
|
methods: {
|
|
159
|
-
async logoutFunction() {
|
|
160
|
-
try {
|
|
161
|
-
await classicApi.postData({
|
|
162
|
-
api: 4,
|
|
163
|
-
path: "/logout",
|
|
164
|
-
dataToSend: undefined,
|
|
165
|
-
});
|
|
166
|
-
await this.$router.push({ path: "/" });
|
|
167
|
-
location.reload();
|
|
168
|
-
} catch (error) {
|
|
169
|
-
//Do nothing
|
|
170
|
-
}
|
|
171
|
-
},
|
|
172
159
|
handleMenuClick() {
|
|
173
160
|
if (this.firstLoaded) {
|
|
174
161
|
return;
|
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
/>
|
|
21
21
|
</div>
|
|
22
22
|
|
|
23
|
-
<
|
|
24
|
-
v-if="
|
|
23
|
+
<a
|
|
24
|
+
v-if="authOrgaId"
|
|
25
25
|
class="btn btn-primary"
|
|
26
|
-
|
|
26
|
+
href="/logout"
|
|
27
27
|
>
|
|
28
28
|
{{ authText }}
|
|
29
|
-
|
|
29
|
+
</a>
|
|
30
30
|
<a v-else class="btn btn-primary" href="/sso/login">{{ authText }}</a>
|
|
31
31
|
</div>
|
|
32
32
|
</template>
|
|
@@ -36,7 +36,6 @@ import { useGeneralStore } from "../../stores/GeneralStore";
|
|
|
36
36
|
import { useAuthStore } from "../../stores/AuthStore";
|
|
37
37
|
import { mapState } from "pinia";
|
|
38
38
|
import { defineComponent } from "vue";
|
|
39
|
-
import classicApi from "../../api/classicApi";
|
|
40
39
|
export default defineComponent({
|
|
41
40
|
name: "Error403Page",
|
|
42
41
|
computed: {
|
|
@@ -49,21 +48,6 @@ export default defineComponent({
|
|
|
49
48
|
mounted() {
|
|
50
49
|
document.title = this.metaTitle;
|
|
51
50
|
},
|
|
52
|
-
methods: {
|
|
53
|
-
async logoutFunction() {
|
|
54
|
-
try {
|
|
55
|
-
await classicApi.postData({
|
|
56
|
-
api: 4,
|
|
57
|
-
path: "/logout",
|
|
58
|
-
dataToSend: undefined,
|
|
59
|
-
});
|
|
60
|
-
await this.$router.push({ path: "/" });
|
|
61
|
-
location.reload();
|
|
62
|
-
} catch (error) {
|
|
63
|
-
//Do nothing
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
},
|
|
67
51
|
});
|
|
68
52
|
</script>
|
|
69
53
|
<style lang="scss">
|