@saooti/octopus-sdk 41.12.0-beta → 41.12.0-beta3
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/.claude/scheduled_tasks.lock +1 -0
- package/CHANGELOG.md +3 -0
- package/package.json +3 -3
- package/src/components/composable/form/useOctopusDropdown.ts +13 -5
- package/src/components/display/podcasts/PodcastPlayButton.vue +3 -3
- package/src/components/form/OctopusMultiselect.vue +157 -49
- package/src/components/form/OctopusSelect.vue +116 -48
- package/src/components/misc/modal/ClassicModal.vue +2 -0
- package/src/components/misc/player/elements/PlayerPlayButton.vue +22 -18
- package/src/locale/de.json +1 -0
- package/src/locale/en.json +1 -0
- package/src/locale/es.json +1 -0
- package/src/locale/fr.json +1 -0
- package/src/locale/it.json +1 -0
- package/src/locale/sl.json +1 -0
- package/src/stores/ParamSdkStore.ts +1 -0
- package/src/stores/class/general/organisation.ts +12 -0
- package/src/stores/class/rubrique/rubrique.ts +1 -1
- package/src/style/_variables.scss +13 -0
- package/src/style/bootstrap.scss +5 -4
- package/tests/components/form/OctopusMultiselect.spec.ts +361 -39
- package/tests/components/form/OctopusSelect.spec.ts +128 -32
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
'play-button-box': !isBigButton,
|
|
8
8
|
'play-big-button-box': isBigButton,
|
|
9
9
|
}"
|
|
10
|
-
class="btn text-light
|
|
10
|
+
class="btn text-light"
|
|
11
11
|
@click="switchPausePlay"
|
|
12
12
|
>
|
|
13
13
|
<PlayIcon v-if="displayIsPaused" :size="isBigButton ? 60 : 30" />
|
|
@@ -107,23 +107,27 @@ function switchPausePlay(): void {
|
|
|
107
107
|
}
|
|
108
108
|
</script>
|
|
109
109
|
|
|
110
|
-
<style lang="scss">
|
|
110
|
+
<style scoped lang="scss">
|
|
111
111
|
@use "../../../../style/playButton";
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
112
|
+
|
|
113
|
+
.btn {
|
|
114
|
+
color: var(--octopus-player-btn-fg);
|
|
115
|
+
background-color: var(--octopus-player-btn-bg);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.play-button-box:not(.small-font) {
|
|
119
|
+
font-size: 1rem !important;
|
|
120
|
+
}
|
|
121
|
+
.play-big-button-box {
|
|
122
|
+
height: 5rem;
|
|
123
|
+
width: 5rem;
|
|
124
|
+
display: flex;
|
|
125
|
+
align-items: center;
|
|
126
|
+
justify-content: center;
|
|
127
|
+
margin: 0 0.5rem;
|
|
128
|
+
border-radius: 50% !important;
|
|
129
|
+
font-size: 2.5rem !important;
|
|
130
|
+
flex-shrink: 0;
|
|
131
|
+
cursor: pointer;
|
|
128
132
|
}
|
|
129
133
|
</style>
|
package/src/locale/de.json
CHANGED
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"Emission image": "Bild zur Reihe",
|
|
32
32
|
"Emission name": "Titel der Reihe",
|
|
33
33
|
"No elements found. Consider changing the search query.": "Keine Ergebnisse. Bitte ändern Sie die Suchanfrage.",
|
|
34
|
+
"Press Enter to add this value": "Drücken Sie Enter, um diesen Wert hinzuzufügen",
|
|
34
35
|
"Podcast is not visible for listeners": "Podcast ist für Hörer verborgen",
|
|
35
36
|
"Validate": "Bestätigen",
|
|
36
37
|
"Invalidate": "Invalidate",
|
package/src/locale/en.json
CHANGED
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"Emission image": "Series image",
|
|
32
32
|
"Emission name": "Series title",
|
|
33
33
|
"No elements found. Consider changing the search query.": "No elements found. Consider changing the search query.",
|
|
34
|
+
"Press Enter to add this value": "Press Enter to add this value",
|
|
34
35
|
"Podcast is not visible for listeners": "Podcast is not visible for listeners",
|
|
35
36
|
"Validate": "Validate",
|
|
36
37
|
"Invalidate": "Invalidate",
|
package/src/locale/es.json
CHANGED
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"Emission image": "Imagen del programa",
|
|
32
32
|
"Emission name": "Título del programa",
|
|
33
33
|
"No elements found. Consider changing the search query.": "No hay resultados. Prueba con otros criterios de búsqueda.",
|
|
34
|
+
"Press Enter to add this value": "Pulsa Intro para añadir este valor",
|
|
34
35
|
"Podcast is not visible for listeners": "El público no puede visualizar este pódcast",
|
|
35
36
|
"Validate": "Validar",
|
|
36
37
|
"Invalidate": "Invalidar",
|
package/src/locale/fr.json
CHANGED
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
"Emission subtitle": "Sous-titre de l'émission",
|
|
38
38
|
"No elements found. Consider changing the search query.":
|
|
39
39
|
"Aucun élement ne correspond à votre recherche",
|
|
40
|
+
"Press Enter to add this value": "Appuyez sur Entrée pour ajouter cette valeur",
|
|
40
41
|
"Podcast is not visible for listeners":
|
|
41
42
|
"L'épisode n'est pas disponible pour les auditeurs",
|
|
42
43
|
"Validate": "Valider",
|
package/src/locale/it.json
CHANGED
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
"Emission image": "Immagine della serie",
|
|
31
31
|
"Emission name": "Titolo della serie",
|
|
32
32
|
"No elements found. Consider changing the search query.": "Non è stato trovato alcun elemento. Prova a cambiare i parametri di ricerca",
|
|
33
|
+
"Press Enter to add this value": "Premi Invio per aggiungere questo valore",
|
|
33
34
|
"Podcast is not visible for listeners": "Il podcast non è visibile agli ascoltatori",
|
|
34
35
|
"Validate": "Convalidare",
|
|
35
36
|
"Invalidate": "Invalidate",
|
package/src/locale/sl.json
CHANGED
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"Emission image": "Slika oddaje",
|
|
32
32
|
"Emission name": "Naslov oddaje",
|
|
33
33
|
"No elements found. Consider changing the search query.": "Ni zadetkov. Spremenite poizvedbo",
|
|
34
|
+
"Press Enter to add this value": "Pritisnite Enter, da dodate to vrednost",
|
|
34
35
|
"Podcast is not visible for listeners": "Za poslušalce skrit podkast",
|
|
35
36
|
"Validate": "Potrdi",
|
|
36
37
|
"Invalidate": "Invalidate",
|
|
@@ -48,6 +48,7 @@ export interface ParamStore {
|
|
|
48
48
|
/** Show time with the dates on podcasts */
|
|
49
49
|
showTimeWithDates?: boolean;
|
|
50
50
|
buttonPlus?: boolean;
|
|
51
|
+
/** Show the "Radio & Live" tab in the navigation; driven by additionalConfiguration from the backend */
|
|
51
52
|
isLiveTab?: boolean;
|
|
52
53
|
isCaptchaTest?: boolean;
|
|
53
54
|
podcastItem?: number;
|
|
@@ -24,6 +24,18 @@ export type OrganisationAttributes = {
|
|
|
24
24
|
PRIVATE?: string;
|
|
25
25
|
/** Live recordings enabled */
|
|
26
26
|
'live.active'?: boolean;
|
|
27
|
+
/** Videos enabled */
|
|
28
|
+
'video.active'?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* List of rubriquage **names**.
|
|
31
|
+
* The rubriques from these rubriquage are stored in stats and can be queried
|
|
32
|
+
* upon.
|
|
33
|
+
*/
|
|
34
|
+
rubriquage4MMIdentifier?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Enable individualized stats
|
|
37
|
+
*/
|
|
38
|
+
nominal_analytic?: string;
|
|
27
39
|
};
|
|
28
40
|
|
|
29
41
|
export interface Organisation {
|
|
@@ -43,6 +43,15 @@
|
|
|
43
43
|
// ClassicDataTable
|
|
44
44
|
--table-line-height: 48px;
|
|
45
45
|
|
|
46
|
+
// Buttons
|
|
47
|
+
--octopus-btn-primary-bg: var(--octopus-primary);
|
|
48
|
+
--octopus-btn-primary-fg: var(--octopus-color-on-primary);
|
|
49
|
+
--octopus-btn-play-bg: var(--octopus-primary-less-transparent);
|
|
50
|
+
--octopus-btn-play-fg: white;
|
|
51
|
+
--octopus-btn-play-radius: var(--octopus-border-radius);
|
|
52
|
+
--octopus-btn-social-bg: var(--octopus-secondary);
|
|
53
|
+
--octopus-btn-social-fg: var(--octopus-primary);
|
|
54
|
+
|
|
46
55
|
// Player
|
|
47
56
|
// Color for the transcript background
|
|
48
57
|
--octopus-player-transcript-bg-color: oklch(from var(--octopus-player-color) calc(l + 0.1) c h);
|
|
@@ -52,6 +61,10 @@
|
|
|
52
61
|
--octopus-player-progress-color-current: var(--octopus-primary);
|
|
53
62
|
// Color for the progress bar background
|
|
54
63
|
--octopus-player-progress-background-color: var(--octopus-secondary-lighter);
|
|
64
|
+
// Color of the player's button
|
|
65
|
+
--octopus-player-btn-bg: var(--octopus-btn-primary-bg);
|
|
66
|
+
// Color of the player's button
|
|
67
|
+
--octopus-player-btn-fg: var(--octopus-btn-primary-fg);
|
|
55
68
|
|
|
56
69
|
// Smartlink
|
|
57
70
|
--octopus-smartlink-title-color: var(--octopus-gray-text);
|
package/src/style/bootstrap.scss
CHANGED
|
@@ -153,10 +153,10 @@ input:not([class^="vs__"]), button:not([class^="vs__"]), select:not([class^="vs_
|
|
|
153
153
|
display: flex;
|
|
154
154
|
align-items: center;
|
|
155
155
|
justify-content: center;
|
|
156
|
-
background: var(--octopus-primary);
|
|
157
|
-
border: 1px solid var(--octopus-primary);
|
|
156
|
+
background: var(--octopus-btn-primary-bg);
|
|
157
|
+
border: 1px solid var(--octopus-btn-primary-bg);
|
|
158
158
|
border-radius: var(--octopus-border-radius) !important;
|
|
159
|
-
color: var(--octopus-
|
|
159
|
+
color: var(--octopus-btn-primary-fg) !important;
|
|
160
160
|
font-weight: 500;
|
|
161
161
|
|
|
162
162
|
&:not(.btn-on-dark):is(:focus, :hover, :active, .active){
|
|
@@ -234,7 +234,8 @@ input:not([class^="vs__"]), button:not([class^="vs__"]), select:not([class^="vs_
|
|
|
234
234
|
width: 2.5rem !important;
|
|
235
235
|
height: 2.5rem !important;
|
|
236
236
|
padding: 0.5rem;
|
|
237
|
-
color : var(--octopus-
|
|
237
|
+
color : var(--octopus-btn-social-fg);
|
|
238
|
+
background-color : var(--octopus-btn-social-bg);
|
|
238
239
|
flex-shrink: 0;
|
|
239
240
|
border-radius: 50% !important;
|
|
240
241
|
|