Skip to content

Commit 7b00e2a

Browse files
committed
Cleanup
1 parent 3bd8f5c commit 7b00e2a

File tree

8 files changed

+5
-13
lines changed

8 files changed

+5
-13
lines changed

src/atoms/Slicer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup>
2-
import { ref, computed, watch, onMounted, onBeforeUnmount, nextTick, onUpdated, watchEffect } from 'vue';
2+
import { ref, computed, watch, onMounted, onBeforeUnmount, nextTick, onUpdated } from 'vue';
33
import BaseIcon from './BaseIcon.vue';
44
import { useResponsive } from '../useResponsive';
55
import { throttle } from '../canvas-lib';

src/atoms/SlicerPreview.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup>
2-
import { ref, computed, watch, onMounted, onBeforeUnmount, nextTick, onUpdated, watchEffect } from 'vue';
2+
import { ref, computed, watch, onMounted, onBeforeUnmount, nextTick, onUpdated } from 'vue';
33
import BaseIcon from './BaseIcon.vue';
44
import { useResponsive } from '../useResponsive';
55
import { throttle } from '../canvas-lib';

src/atoms/UserOptions.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup>
2-
import { ref, onMounted, onBeforeUnmount, computed, nextTick } from "vue";
2+
import { ref, onMounted, onBeforeUnmount, computed } from "vue";
33
import vClickOutside from '../directives/vClickOutside';
44
import BaseIcon from "./BaseIcon.vue";
55
import img from "../img";

src/chartDetector.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,6 @@ export function detectChart({dataset, barLineSwitch = 6, debug = true}) {
7575

7676
}
7777
}
78-
79-
// IS MATRIX
80-
const isMatrix = !isSimpleArray(dataset) ? false : [...new Set(dataset.flatMap(d => Array.isArray(d)))][0];
8178

8279
return {
8380
dataset,
@@ -87,7 +84,6 @@ export function detectChart({dataset, barLineSwitch = 6, debug = true}) {
8784
}
8885
}
8986

90-
9187
// UTILS
9288

9389
export function isEmptyDataset(d) {

src/components/vue-ui-dashboard.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
<script setup>
22
import { ref, watch, computed, defineAsyncComponent } from 'vue';
3-
import pdf from '../pdf';
43
import { useNestedProp } from "../useNestedProp";
54
import { useConfig } from '../useConfig';
65
import { createUid } from '../lib';
7-
import BaseIcon from '../atoms/BaseIcon.vue';
86
import { usePrinter } from '../usePrinter';
97
import UserOptions from '../atoms/UserOptions.vue';
108
import { useUserOptionState } from '../useUserOptionState';

src/components/vue-ui-digits.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup>
2-
import { computed, ref } from "vue";
2+
import { computed } from "vue";
33
import Digit from '../atoms/Digit.vue';
44
import { useNestedProp } from "../useNestedProp";
55
import { XMLNS } from "../lib";

src/components/vue-ui-gauge.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ import {
1919
XMLNS,
2020
calcMarkerOffsetX,
2121
treeShake,
22-
autoFontSize,
2322
createTSpansFromLineBreaksOnX,
24-
createTSpansFromLineBreaksOnY,
2523
checkNaN,
2624
} from "../lib.js";
2725
import { throttle } from "../canvas-lib";

src/components/vue-ui-sparkstackbar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup>
2-
import { ref, computed, onMounted, watch, useSlots, defineAsyncComponent, toRefs, nextTick } from "vue";
2+
import { ref, computed, onMounted, watch, useSlots, defineAsyncComponent, toRefs } from "vue";
33
import {
44
applyDataLabel,
55
convertColorToHex,

0 commit comments

Comments
 (0)