@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 +7 -0
- package/index.ts +1 -2
- package/package.json +1 -1
- package/src/components/buttons/ClassicButton.vue +27 -0
- package/src/components/display/emission/EmissionList.vue +5 -5
- package/src/components/misc/ClassicHelpButton.vue +1 -0
- package/src/components/pages/PlaylistsPage.vue +0 -1
package/CHANGELOG.md
CHANGED
package/index.ts
CHANGED
|
@@ -52,8 +52,7 @@ export {
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
// Buttons
|
|
55
|
-
|
|
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
|
@@ -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 "
|
|
66
|
-
import { Rubrique } from "
|
|
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 "
|
|
68
|
+
import { FetchParam } from "../../../stores/class/general/fetchParam";
|
|
69
69
|
import { AxiosError } from "axios";
|
|
70
|
-
import { Rubriquage } from "
|
|
70
|
+
import { Rubriquage } from "../../../stores/class/rubrique/rubriquage";
|
|
71
71
|
import { useFilterStore } from "../../../stores/FilterStore";
|
|
72
|
-
import { ListClassicReturn } from "
|
|
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"));
|