mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-02 03:30:04 +00:00
Keep shim of several legacy components (#1796)
This commit is contained in:
@@ -15,14 +15,12 @@ import {
|
||||
getLatentMetadata
|
||||
} from './pnginfo'
|
||||
import { createImageHost, calculateImageGrid } from './ui/imagePreview'
|
||||
import { DraggableList } from './ui/draggableList'
|
||||
import { applyTextReplacements, addStylesheet } from './utils'
|
||||
import type { ComfyExtension, MissingNodeType } from '@/types/comfy'
|
||||
import {
|
||||
type ComfyWorkflowJSON,
|
||||
type NodeId,
|
||||
validateComfyWorkflow
|
||||
} from '../types/comfyWorkflow'
|
||||
} from '@/types/comfyWorkflow'
|
||||
import type { ComfyNodeDef } from '@/types/apiTypes'
|
||||
import { adjustColor, ColorAdjustOptions } from '@/utils/colorUtil'
|
||||
import { ComfyAppMenu } from './ui/menu/index'
|
||||
@@ -114,14 +112,6 @@ export class ComfyApp {
|
||||
static open_maskeditor = null
|
||||
static clipspace_return_node = null
|
||||
|
||||
// Force vite to import utils.ts as part of index.
|
||||
// Force import of DraggableList.
|
||||
static utils = {
|
||||
applyTextReplacements,
|
||||
addStylesheet,
|
||||
DraggableList
|
||||
}
|
||||
|
||||
vueAppReady: boolean
|
||||
ui: ComfyUI
|
||||
extensions: ComfyExtension[]
|
||||
|
||||
@@ -7,6 +7,9 @@ import './menu.css'
|
||||
export { ComfyButton } from '../components/button'
|
||||
export { ComfySplitButton } from '../components/splitButton'
|
||||
export { ComfyPopup } from '../components/popup'
|
||||
export { ComfyAsyncDialog } from '@/scripts/ui/components/asyncDialog'
|
||||
export { DraggableList } from '@/scripts/ui/draggableList'
|
||||
export { applyTextReplacements, addStylesheet } from '@/scripts/utils'
|
||||
|
||||
export class ComfyAppMenu {
|
||||
app: ComfyApp
|
||||
|
||||
Reference in New Issue
Block a user