Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion components/Audiostream.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<script setup lang="ts">
import { useMediaControls } from "@vueuse/core";
import IconPlay from "~icons/ph/play-circle-thin";
import IconPause from "~icons/ph/pause-circle-thin";
import IconCircle from "~icons/ph/circle-fill";
Expand Down
2 changes: 0 additions & 2 deletions components/Controls.client.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<script setup lang="ts">
import { debouncedWatch } from "@vueuse/core";

type Props = {
controls: any;
channel: string;
Expand Down
1 change: 0 additions & 1 deletion components/Datetime.client.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<script setup lang="ts">
import { useNow } from "@vueuse/core";
import { differenceInSeconds } from "date-fns";

type Props = {
Expand Down
2 changes: 0 additions & 2 deletions components/Dock.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<script setup lang="ts">
import { useIdle } from "@vueuse/core";

type Props = {
draggables: any;
};
Expand Down
8 changes: 1 addition & 7 deletions components/Draggable.client.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,7 @@ export default {
</script>

<script setup lang="ts">
import {
useDraggable,
useIdle,
useTimeoutFn,
useWindowSize,
} from "@vueuse/core";
import { Ref } from "vue";
import type { Ref } from "vue";
import IconDock from "~icons/radix-icons/minus";

type Props = {
Expand Down
5 changes: 0 additions & 5 deletions components/LabVideo.vue
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
<script setup lang="ts">
import { format } from "date-fns";
import { scaleTime, scaleLinear, csvParse } from "d3";
import {
useElementSize,
useMediaControls,
useMouseInElement,
} from "@vueuse/core";

type Props = {
video: any;
Expand Down
2 changes: 0 additions & 2 deletions components/Nav.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<script setup lang="ts">
import { useMagicKeys, whenever } from "@vueuse/core";
import IconMenu from "~icons/radix-icons/drag-handle-horizontal";

const { theme, changeTheme } = useTheme();
const { lang, changeLang } = useLang();
const menu = ref(false);
Expand Down
2 changes: 0 additions & 2 deletions components/RechargingButton.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<script setup lang="ts">
import { useInterval, useStorage } from "@vueuse/core";

type Emits = {
(e: "click"): void;
(e: "remaining", value: number): void;
Expand Down
2 changes: 0 additions & 2 deletions components/Videostream.client.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<script setup lang="ts">
import { useFullscreen, useIdle, useMediaControls } from "@vueuse/core";

import IconMuted from "~icons/radix-icons/speaker-off";
import IconUnmuted from "~icons/radix-icons/speaker-loud";
import IconEnterPip from "~icons/ph/picture-in-picture";
Expand Down
1 change: 0 additions & 1 deletion composables/chat.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { computed, Ref, ref } from "vue";
import { useFocus, useScroll, onKeyStroke, useKeyModifier } from "@vueuse/core";

interface UseChatOptions {
userId?: Ref<string>;
Expand Down
1 change: 0 additions & 1 deletion composables/datetime.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { computed } from "vue";
import { useNow } from "@vueuse/core";
import {
differenceInMinutes,
format,
Expand Down
1 change: 0 additions & 1 deletion composables/messages.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { ref } from "vue";
import { useWebSocket } from "@vueuse/core";

const wsUrl = "wss://data.elektron.art";

Expand Down
2 changes: 0 additions & 2 deletions composables/theme.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { useCssVar } from "@vueuse/core";

const vars = [
[useCssVar("--white"), ["255 255 255", "0 0 0"]],
[useCssVar("--gray-50"), ["250 250 250", "23 23 23"]],
Expand Down
2 changes: 1 addition & 1 deletion composables/videostream.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Ref, ref, watch, onMounted, onUnmounted } from "vue";
import Hls from "hls.js";
import type { MaybeRef } from "@vueuse/core";
import { MaybeRef } from "@vueuse/core";

// Although the video player supports "paused" status
// it is not currently supported, since is not that useful
Expand Down
1 change: 1 addition & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export default defineNuxtConfig({
"@nuxtjs/strapi",
"@nuxtjs/tailwindcss",
["unplugin-icons/nuxt", { autoInstall: true }],
"@vueuse/nuxt",
],
runtimeConfig: {
strapiUrl: "",
Expand Down
Loading