mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-02 18:39:05 +01:00
move preview into own directory
This commit is contained in:
parent
1a46f17088
commit
4b30c8bc3b
@ -2,6 +2,7 @@
|
|||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
import { useLongClick } from "@/app/hook/useLongClick";
|
import { useLongClick } from "@/app/hook/useLongClick";
|
||||||
|
import { PreviewView, makePreviewModel } from "@/app/view/preview/preview";
|
||||||
import { Button } from "@/element/button";
|
import { Button } from "@/element/button";
|
||||||
import { ErrorBoundary } from "@/element/errorboundary";
|
import { ErrorBoundary } from "@/element/errorboundary";
|
||||||
import { CenteredDiv } from "@/element/quickelems";
|
import { CenteredDiv } from "@/element/quickelems";
|
||||||
@ -13,7 +14,6 @@ import * as util from "@/util/util";
|
|||||||
import { CpuPlotView, makeCpuPlotViewModel } from "@/view/cpuplot";
|
import { CpuPlotView, makeCpuPlotViewModel } from "@/view/cpuplot";
|
||||||
import { HelpView } from "@/view/helpview";
|
import { HelpView } from "@/view/helpview";
|
||||||
import { PlotView } from "@/view/plotview";
|
import { PlotView } from "@/view/plotview";
|
||||||
import { PreviewView, makePreviewModel } from "@/view/preview";
|
|
||||||
import { TerminalView, makeTerminalModel } from "@/view/term/term";
|
import { TerminalView, makeTerminalModel } from "@/view/term/term";
|
||||||
import { WaveAi, makeWaveAiViewModel } from "@/view/waveai";
|
import { WaveAi, makeWaveAiViewModel } from "@/view/waveai";
|
||||||
import { WebView, makeWebViewModel } from "@/view/webview";
|
import { WebView, makeWebViewModel } from "@/view/webview";
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
// Copyright 2024, Command Line Inc.
|
// Copyright 2024, Command Line Inc.
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
@import "../mixins.less";
|
@import "../../mixins.less";
|
||||||
|
|
||||||
.dir-table-container {
|
.dir-table-container {
|
||||||
display: flex;
|
display: flex;
|
@ -4,10 +4,10 @@
|
|||||||
import { useHeight } from "@/app/hook/useHeight";
|
import { useHeight } from "@/app/hook/useHeight";
|
||||||
import { ContextMenuModel } from "@/app/store/contextmenu";
|
import { ContextMenuModel } from "@/app/store/contextmenu";
|
||||||
import { atoms, createBlock, getApi } from "@/app/store/global";
|
import { atoms, createBlock, getApi } from "@/app/store/global";
|
||||||
|
import type { PreviewModel } from "@/app/view/preview/preview";
|
||||||
import * as services from "@/store/services";
|
import * as services from "@/store/services";
|
||||||
import * as keyutil from "@/util/keyutil";
|
import * as keyutil from "@/util/keyutil";
|
||||||
import * as util from "@/util/util";
|
import * as util from "@/util/util";
|
||||||
import type { PreviewModel } from "@/view/preview";
|
|
||||||
import {
|
import {
|
||||||
Column,
|
Column,
|
||||||
Row,
|
Row,
|
@ -12,9 +12,9 @@ import clsx from "clsx";
|
|||||||
import * as jotai from "jotai";
|
import * as jotai from "jotai";
|
||||||
import { loadable } from "jotai/utils";
|
import { loadable } from "jotai/utils";
|
||||||
import { useEffect, useRef } from "react";
|
import { useEffect, useRef } from "react";
|
||||||
import { CenteredDiv } from "../element/quickelems";
|
import { CenteredDiv } from "../../element/quickelems";
|
||||||
import { CodeEditor } from "./codeeditor/codeeditor";
|
import { CodeEditor } from "../codeeditor/codeeditor";
|
||||||
import { CSVView } from "./csvview";
|
import { CSVView } from "../csvview";
|
||||||
import { DirectoryPreview } from "./directorypreview";
|
import { DirectoryPreview } from "./directorypreview";
|
||||||
|
|
||||||
import "./preview.less";
|
import "./preview.less";
|
Loading…
Reference in New Issue
Block a user