chore: upgrade frontend tooling and speed up checks

This commit is contained in:
t8y2 committed 2026-06-03 12:20:27 +08:00
1 parent cc74fabad7
commit e67894bea7
78 files changed
+1382 -1177

No files matched your search

+12 -3
View File
@@ -56,7 +56,7 @@ import {
PanelBottom,
PanelRight,
TableProperties,
} from "lucide-vue-next";
} from "@lucide/vue";
import { Button } from "@/components/ui/button";
import CustomContextMenu, { type ContextMenuItem } from "@/components/ui/CustomContextMenu.vue";
import {
@@ -1627,7 +1627,14 @@ interface RenderedGridColumn {
name: string;
}
const horizontalColumnWindow = computed(() => {
interface HorizontalColumnWindow {
start: number;
end: number;
beforeWidth: number;
afterWidth: number;
}
function getHorizontalColumnWindow(): HorizontalColumnWindow {
const widths = renderedColumnWidths.value;
const offsets = renderedColumnOffsets.value;
const totalColumns = visibleColumnIndexes.value.length;
@@ -1666,7 +1673,9 @@ const horizontalColumnWindow = computed(() => {
beforeWidth: offset,
afterWidth: Math.max(0, columnsWidth - visibleWidth),
};
});
}
const horizontalColumnWindow = computed(getHorizontalColumnWindow);
const renderedGridColumns = computed<RenderedGridColumn[]>(() => {
const window = horizontalColumnWindow.value;
@@ -1,7 +1,7 @@
<script setup lang="ts">
import { computed, ref, watch } from "vue";
import { useI18n } from "vue-i18n";
import { ExternalLink, Maximize2, X, ZoomIn, ZoomOut } from "lucide-vue-next";
import { ExternalLink, Maximize2, X, ZoomIn, ZoomOut } from "@lucide/vue";
import { Button } from "@/components/ui/button";
import { Dialog, DialogContent, DialogTitle } from "@/components/ui/dialog";
import { imagePreviewFitScale, imagePreviewTransform, nextImagePreviewScale } from "@/lib/imagePreviewViewer";
@@ -1,7 +1,7 @@
<script setup lang="ts">
import { computed, nextTick, onMounted, ref } from "vue";
import type { FocusOutsideEvent, PointerDownOutsideEvent } from "reka-ui";
import { CalendarClock, ChevronDown, ChevronUp, CircleSlash } from "lucide-vue-next";
import { CalendarClock, ChevronDown, ChevronUp, CircleSlash } from "@lucide/vue";
import { Button } from "@/components/ui/button";
import { Popover, PopoverContent, PopoverTrigger } from "@/components/ui/popover";
import { formatTemporalInputValue, type TemporalCellEditorKind } from "@/lib/dataGridTemporalEditor";