@saooti/octopus-sdk 41.10.3 → 41.10.4-beta

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 41.10.4 (En cours)
4
+
5
+ **Fixes**
6
+
7
+ - Imports de stores relatifs dans `EmissionList`
8
+ - Limitation de la largeur des messages de `ClassicHelpButton`
9
+
3
10
  ## 41.10.3 (04/05/2026)
4
11
 
5
12
  **Fixes**
package/index.ts CHANGED
@@ -52,8 +52,7 @@ export {
52
52
  }
53
53
 
54
54
  // Buttons
55
- import ActionButton from "./src/components/buttons/ActionButton.vue";
56
- export { ActionButton };
55
+ export * from "./src/components/buttons/";
57
56
 
58
57
  // Form
59
58
  import ClassicButtonGroup from "./src/components/form/ClassicButtonGroup.vue";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "41.10.3",
3
+ "version": "41.10.4-beta",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -0,0 +1,27 @@
1
+ <template>
2
+ <button
3
+ class="btn"
4
+ :aria-disabled="disabled"
5
+ @click="onClick"
6
+ >
7
+ <slot />
8
+ </button>
9
+ </template>
10
+
11
+ <script setup lang="ts">
12
+ const props = defineProps<{
13
+ /** Disable the button */
14
+ disabled?: boolean;
15
+ }>();
16
+
17
+ const emit = defineEmits<{
18
+ /** Emitted when the user clicks on the button */
19
+ (e: 'click'): void;
20
+ }>();
21
+
22
+ function onClick(): void {
23
+ if (!props.disabled) {
24
+ emit('click');
25
+ }
26
+ }
27
+ </script>
@@ -62,14 +62,14 @@ import classicApi from "../../../api/classicApi";
62
62
  import ClassicLazy from "../../misc/ClassicLazy.vue";
63
63
  import {useErrorHandler} from "../../composable/useErrorHandler";
64
64
  import { state } from "../../../stores/ParamSdkStore";
65
- import { Emission, emptyEmissionData } from "@/stores/class/general/emission";
66
- import { Rubrique } from "@/stores/class/rubrique/rubrique";
65
+ import { Emission, emptyEmissionData } from "../../../stores/class/general/emission";
66
+ import { Rubrique } from "../../../stores/class/rubrique/rubrique";
67
67
  import { defineAsyncComponent, ref, Ref, computed, watch, onMounted } from "vue";
68
- import { FetchParam } from "@/stores/class/general/fetchParam";
68
+ import { FetchParam } from "../../../stores/class/general/fetchParam";
69
69
  import { AxiosError } from "axios";
70
- import { Rubriquage } from "@/stores/class/rubrique/rubriquage";
70
+ import { Rubriquage } from "../../../stores/class/rubrique/rubriquage";
71
71
  import { useFilterStore } from "../../../stores/FilterStore";
72
- import { ListClassicReturn } from "@/stores/class/general/listReturn";
72
+ import { ListClassicReturn } from "../../../stores/class/general/listReturn";
73
73
  import { useI18n } from "vue-i18n";
74
74
  import { EmissionGroup } from "../../../api/groupsApi";
75
75
  const EmissionItem = defineAsyncComponent(() => import("./EmissionItem.vue"));
@@ -73,5 +73,6 @@ const iconSize = computed(() => {
73
73
 
74
74
  .help-popover {
75
75
  background-color: var(--octopus-secondary-lighter);
76
+ max-width: 60%;
76
77
  }
77
78
  </style>
@@ -1,6 +1,5 @@
1
1
  <template>
2
2
  <section v-if="isInit" class="page-box">
3
- <!-- TODO à intégrer dans frontoffice -->
4
3
  <router-link
5
4
  v-if="isRolePlaylists && !isPodcastmaker"
6
5
  to="/main/priv/edit/playlist"