@comfyorg/comfyui-frontend-types 1.43.2 → 1.43.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +117 -110
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -3,8 +3,6 @@ import { ComfyWorkflowJSON } from '../platform/workflow/validation/schemas/workf
|
|
|
3
3
|
import { ComfyWorkflowJSON as ComfyWorkflowJSON_2 } from '../../validation/schemas/workflowSchema';
|
|
4
4
|
import { Component } from 'vue';
|
|
5
5
|
import { CurveData } from '../../../../components/curve/types';
|
|
6
|
-
import { DOMWidget } from '../scripts/domWidget';
|
|
7
|
-
import { DOMWidgetOptions } from '../scripts/domWidget';
|
|
8
6
|
import { IFuseOptions } from 'fuse.js';
|
|
9
7
|
import { NodeId as NodeId_2 } from '../platform/workflow/validation/schemas/workflowSchema';
|
|
10
8
|
import { NodeId as NodeId_3 } from '../workflow/validation/schemas/workflowSchema';
|
|
@@ -17,7 +15,6 @@ import { ZodArray } from 'zod';
|
|
|
17
15
|
import { ZodBoolean } from 'zod';
|
|
18
16
|
import { ZodEnum } from 'zod';
|
|
19
17
|
import { ZodLiteral } from 'zod';
|
|
20
|
-
import { ZodNumber } from 'zod';
|
|
21
18
|
import { ZodObject } from 'zod';
|
|
22
19
|
import { ZodOptional } from 'zod';
|
|
23
20
|
import { ZodString } from 'zod';
|
|
@@ -145,6 +142,21 @@ declare interface BaseBottomPanelExtension {
|
|
|
145
142
|
targetPanel?: 'terminal' | 'shortcuts';
|
|
146
143
|
}
|
|
147
144
|
|
|
145
|
+
declare interface BaseDOMWidget<V extends object | string = object | string> extends IBaseWidget<V, string, DOMWidgetOptions<V>> {
|
|
146
|
+
type: string;
|
|
147
|
+
options: DOMWidgetOptions<V>;
|
|
148
|
+
value: V;
|
|
149
|
+
callback?: (value: V) => void;
|
|
150
|
+
/** The unique ID of the widget. */
|
|
151
|
+
readonly id: string;
|
|
152
|
+
/** The node that the widget belongs to. */
|
|
153
|
+
readonly node: LGraphNode;
|
|
154
|
+
/** Whether the widget is visible. */
|
|
155
|
+
isVisible(): boolean;
|
|
156
|
+
/** The margin of the widget. */
|
|
157
|
+
margin: number;
|
|
158
|
+
}
|
|
159
|
+
|
|
148
160
|
declare interface BaseExportedGraph {
|
|
149
161
|
/** Unique graph ID. Automatically generated if not provided. */
|
|
150
162
|
id: UUID;
|
|
@@ -1765,10 +1777,8 @@ export declare class ComfyApp {
|
|
|
1765
1777
|
CLEAR_BACKGROUND_COLOR: ZodOptional<ZodString>;
|
|
1766
1778
|
NODE_TITLE_COLOR: ZodOptional<ZodString>;
|
|
1767
1779
|
NODE_SELECTED_TITLE_COLOR: ZodOptional<ZodString>;
|
|
1768
|
-
NODE_TEXT_SIZE: ZodOptional<ZodNumber>;
|
|
1769
1780
|
NODE_TEXT_COLOR: ZodOptional<ZodString>;
|
|
1770
1781
|
NODE_TEXT_HIGHLIGHT_COLOR: ZodOptional<ZodString>;
|
|
1771
|
-
NODE_SUBTEXT_SIZE: ZodOptional<ZodNumber>;
|
|
1772
1782
|
NODE_DEFAULT_COLOR: ZodOptional<ZodString>;
|
|
1773
1783
|
NODE_DEFAULT_BGCOLOR: ZodOptional<ZodString>;
|
|
1774
1784
|
NODE_DEFAULT_BOXCOLOR: ZodOptional<ZodString>;
|
|
@@ -1777,7 +1787,6 @@ export declare class ComfyApp {
|
|
|
1777
1787
|
NODE_BYPASS_BGCOLOR: ZodOptional<ZodString>;
|
|
1778
1788
|
NODE_ERROR_COLOUR: ZodOptional<ZodString>;
|
|
1779
1789
|
DEFAULT_SHADOW_COLOR: ZodOptional<ZodString>;
|
|
1780
|
-
DEFAULT_GROUP_FONT: ZodOptional<ZodNumber>;
|
|
1781
1790
|
WIDGET_BGCOLOR: ZodOptional<ZodString>;
|
|
1782
1791
|
WIDGET_OUTLINE_COLOR: ZodOptional<ZodString>;
|
|
1783
1792
|
WIDGET_TEXT_COLOR: ZodOptional<ZodString>;
|
|
@@ -1793,10 +1802,8 @@ export declare class ComfyApp {
|
|
|
1793
1802
|
CLEAR_BACKGROUND_COLOR?: string | undefined;
|
|
1794
1803
|
NODE_TITLE_COLOR?: string | undefined;
|
|
1795
1804
|
NODE_SELECTED_TITLE_COLOR?: string | undefined;
|
|
1796
|
-
NODE_TEXT_SIZE?: number | undefined;
|
|
1797
1805
|
NODE_TEXT_COLOR?: string | undefined;
|
|
1798
1806
|
NODE_TEXT_HIGHLIGHT_COLOR?: string | undefined;
|
|
1799
|
-
NODE_SUBTEXT_SIZE?: number | undefined;
|
|
1800
1807
|
NODE_DEFAULT_COLOR?: string | undefined;
|
|
1801
1808
|
NODE_DEFAULT_BGCOLOR?: string | undefined;
|
|
1802
1809
|
NODE_DEFAULT_BOXCOLOR?: string | undefined;
|
|
@@ -1805,7 +1812,6 @@ export declare class ComfyApp {
|
|
|
1805
1812
|
NODE_BYPASS_BGCOLOR?: string | undefined;
|
|
1806
1813
|
NODE_ERROR_COLOUR?: string | undefined;
|
|
1807
1814
|
DEFAULT_SHADOW_COLOR?: string | undefined;
|
|
1808
|
-
DEFAULT_GROUP_FONT?: number | undefined;
|
|
1809
1815
|
WIDGET_BGCOLOR?: string | undefined;
|
|
1810
1816
|
WIDGET_OUTLINE_COLOR?: string | undefined;
|
|
1811
1817
|
WIDGET_TEXT_COLOR?: string | undefined;
|
|
@@ -1821,10 +1827,8 @@ export declare class ComfyApp {
|
|
|
1821
1827
|
CLEAR_BACKGROUND_COLOR?: string | undefined;
|
|
1822
1828
|
NODE_TITLE_COLOR?: string | undefined;
|
|
1823
1829
|
NODE_SELECTED_TITLE_COLOR?: string | undefined;
|
|
1824
|
-
NODE_TEXT_SIZE?: number | undefined;
|
|
1825
1830
|
NODE_TEXT_COLOR?: string | undefined;
|
|
1826
1831
|
NODE_TEXT_HIGHLIGHT_COLOR?: string | undefined;
|
|
1827
|
-
NODE_SUBTEXT_SIZE?: number | undefined;
|
|
1828
1832
|
NODE_DEFAULT_COLOR?: string | undefined;
|
|
1829
1833
|
NODE_DEFAULT_BGCOLOR?: string | undefined;
|
|
1830
1834
|
NODE_DEFAULT_BOXCOLOR?: string | undefined;
|
|
@@ -1833,7 +1837,6 @@ export declare class ComfyApp {
|
|
|
1833
1837
|
NODE_BYPASS_BGCOLOR?: string | undefined;
|
|
1834
1838
|
NODE_ERROR_COLOUR?: string | undefined;
|
|
1835
1839
|
DEFAULT_SHADOW_COLOR?: string | undefined;
|
|
1836
|
-
DEFAULT_GROUP_FONT?: number | undefined;
|
|
1837
1840
|
WIDGET_BGCOLOR?: string | undefined;
|
|
1838
1841
|
WIDGET_OUTLINE_COLOR?: string | undefined;
|
|
1839
1842
|
WIDGET_TEXT_COLOR?: string | undefined;
|
|
@@ -1951,10 +1954,8 @@ export declare class ComfyApp {
|
|
|
1951
1954
|
CLEAR_BACKGROUND_COLOR?: string | undefined;
|
|
1952
1955
|
NODE_TITLE_COLOR?: string | undefined;
|
|
1953
1956
|
NODE_SELECTED_TITLE_COLOR?: string | undefined;
|
|
1954
|
-
NODE_TEXT_SIZE?: number | undefined;
|
|
1955
1957
|
NODE_TEXT_COLOR?: string | undefined;
|
|
1956
1958
|
NODE_TEXT_HIGHLIGHT_COLOR?: string | undefined;
|
|
1957
|
-
NODE_SUBTEXT_SIZE?: number | undefined;
|
|
1958
1959
|
NODE_DEFAULT_COLOR?: string | undefined;
|
|
1959
1960
|
NODE_DEFAULT_BGCOLOR?: string | undefined;
|
|
1960
1961
|
NODE_DEFAULT_BOXCOLOR?: string | undefined;
|
|
@@ -1963,7 +1964,6 @@ export declare class ComfyApp {
|
|
|
1963
1964
|
NODE_BYPASS_BGCOLOR?: string | undefined;
|
|
1964
1965
|
NODE_ERROR_COLOUR?: string | undefined;
|
|
1965
1966
|
DEFAULT_SHADOW_COLOR?: string | undefined;
|
|
1966
|
-
DEFAULT_GROUP_FONT?: number | undefined;
|
|
1967
1967
|
WIDGET_BGCOLOR?: string | undefined;
|
|
1968
1968
|
WIDGET_OUTLINE_COLOR?: string | undefined;
|
|
1969
1969
|
WIDGET_TEXT_COLOR?: string | undefined;
|
|
@@ -2027,10 +2027,8 @@ export declare class ComfyApp {
|
|
|
2027
2027
|
CLEAR_BACKGROUND_COLOR?: string | undefined;
|
|
2028
2028
|
NODE_TITLE_COLOR?: string | undefined;
|
|
2029
2029
|
NODE_SELECTED_TITLE_COLOR?: string | undefined;
|
|
2030
|
-
NODE_TEXT_SIZE?: number | undefined;
|
|
2031
2030
|
NODE_TEXT_COLOR?: string | undefined;
|
|
2032
2031
|
NODE_TEXT_HIGHLIGHT_COLOR?: string | undefined;
|
|
2033
|
-
NODE_SUBTEXT_SIZE?: number | undefined;
|
|
2034
2032
|
NODE_DEFAULT_COLOR?: string | undefined;
|
|
2035
2033
|
NODE_DEFAULT_BGCOLOR?: string | undefined;
|
|
2036
2034
|
NODE_DEFAULT_BOXCOLOR?: string | undefined;
|
|
@@ -2039,7 +2037,6 @@ export declare class ComfyApp {
|
|
|
2039
2037
|
NODE_BYPASS_BGCOLOR?: string | undefined;
|
|
2040
2038
|
NODE_ERROR_COLOUR?: string | undefined;
|
|
2041
2039
|
DEFAULT_SHADOW_COLOR?: string | undefined;
|
|
2042
|
-
DEFAULT_GROUP_FONT?: number | undefined;
|
|
2043
2040
|
WIDGET_BGCOLOR?: string | undefined;
|
|
2044
2041
|
WIDGET_OUTLINE_COLOR?: string | undefined;
|
|
2045
2042
|
WIDGET_TEXT_COLOR?: string | undefined;
|
|
@@ -2084,6 +2081,7 @@ export declare class ComfyApp {
|
|
|
2084
2081
|
}, ZodTypeAny, "passthrough">> | undefined;
|
|
2085
2082
|
'Comfy.ConfirmClear'?: boolean | undefined;
|
|
2086
2083
|
'Comfy.DevMode'?: boolean | undefined;
|
|
2084
|
+
'Comfy.Appearance.DisableAnimations'?: boolean | undefined;
|
|
2087
2085
|
'Comfy.UI.TabBarLayout'?: "Default" | "Legacy" | undefined;
|
|
2088
2086
|
'Comfy.Workflow.ShowMissingModelsWarning'?: boolean | undefined;
|
|
2089
2087
|
'Comfy.Workflow.WarnBlueprintOverwrite'?: boolean | undefined;
|
|
@@ -2095,6 +2093,7 @@ export declare class ComfyApp {
|
|
|
2095
2093
|
'Comfy.EnableTooltips'?: boolean | undefined;
|
|
2096
2094
|
'Comfy.EnableWorkflowViewRestore'?: boolean | undefined;
|
|
2097
2095
|
'Comfy.FloatRoundingPrecision'?: number | undefined;
|
|
2096
|
+
'Comfy.Graph.AutoPanSpeed'?: number | undefined;
|
|
2098
2097
|
'Comfy.Graph.CanvasInfo'?: boolean | undefined;
|
|
2099
2098
|
'Comfy.Graph.CanvasMenu'?: boolean | undefined;
|
|
2100
2099
|
'Comfy.Graph.CtrlShiftZoom'?: boolean | undefined;
|
|
@@ -2180,6 +2179,7 @@ export declare class ComfyApp {
|
|
|
2180
2179
|
commandId: string;
|
|
2181
2180
|
targetElementId?: string | undefined;
|
|
2182
2181
|
}[] | undefined;
|
|
2182
|
+
'Comfy.Keybinding.CurrentPreset'?: string | undefined;
|
|
2183
2183
|
'Comfy.Extension.Disabled'?: string[] | undefined;
|
|
2184
2184
|
'Comfy.LinkRenderMode'?: number | undefined;
|
|
2185
2185
|
'Comfy.Node.AutoSnapLinkToSlot'?: boolean | undefined;
|
|
@@ -2212,6 +2212,7 @@ export declare class ComfyApp {
|
|
|
2212
2212
|
'Comfy.Canvas.LeftMouseClickBehavior'?: string | undefined;
|
|
2213
2213
|
'Comfy.Canvas.MouseWheelScroll'?: string | undefined;
|
|
2214
2214
|
'Comfy.VueNodes.Enabled'?: boolean | undefined;
|
|
2215
|
+
'Comfy.AppBuilder.VueNodeSwitchDismissed'?: boolean | undefined;
|
|
2215
2216
|
'Comfy.VueNodes.AutoScaleLayout'?: boolean | undefined;
|
|
2216
2217
|
'Comfy.Assets.UseAssetAPI'?: boolean | undefined;
|
|
2217
2218
|
'Comfy.Queue.QPOV2'?: boolean | undefined;
|
|
@@ -2666,9 +2667,43 @@ export declare class ComfyApp {
|
|
|
2666
2667
|
*/
|
|
2667
2668
|
declare function distance(a: Readonly<Point>, b: Readonly<Point>): number;
|
|
2668
2669
|
|
|
2669
|
-
|
|
2670
|
+
/**
|
|
2671
|
+
* A DOM widget that wraps a custom HTML element as a litegraph widget.
|
|
2672
|
+
*/
|
|
2673
|
+
export declare interface DOMWidget<T extends HTMLElement, V extends object | string> extends BaseDOMWidget<V> {
|
|
2674
|
+
element: T;
|
|
2675
|
+
/**
|
|
2676
|
+
* @deprecated Legacy property used by some extensions for customtext
|
|
2677
|
+
* (textarea) widgets. Use {@link element} instead as it provides the same
|
|
2678
|
+
* functionality and works for all DOMWidget types.
|
|
2679
|
+
*/
|
|
2680
|
+
inputEl?: T;
|
|
2681
|
+
}
|
|
2670
2682
|
|
|
2671
|
-
export
|
|
2683
|
+
export declare interface DOMWidgetOptions<V extends object | string> extends IWidgetOptions {
|
|
2684
|
+
/**
|
|
2685
|
+
* Whether to render a placeholder rectangle when zoomed out.
|
|
2686
|
+
*/
|
|
2687
|
+
hideOnZoom?: boolean;
|
|
2688
|
+
selectOn?: string[];
|
|
2689
|
+
onHide?: (widget: BaseDOMWidget<V>) => void;
|
|
2690
|
+
getValue?: () => V;
|
|
2691
|
+
setValue?: (value: V) => void;
|
|
2692
|
+
getMinHeight?: () => number;
|
|
2693
|
+
getMaxHeight?: () => number;
|
|
2694
|
+
getHeight?: () => string | number;
|
|
2695
|
+
onDraw?: (widget: BaseDOMWidget<V>) => void;
|
|
2696
|
+
margin?: number;
|
|
2697
|
+
/**
|
|
2698
|
+
* @deprecated Use `afterResize` instead. This callback is a legacy API
|
|
2699
|
+
* that fires before resize happens, but it is no longer supported. Now it
|
|
2700
|
+
* fires after resize happens.
|
|
2701
|
+
* The resize logic has been upstreamed to litegraph in
|
|
2702
|
+
* https://github.com/Comfy-Org/ComfyUI_frontend/pull/2557
|
|
2703
|
+
*/
|
|
2704
|
+
beforeResize?: (this: BaseDOMWidget<V>, node: LGraphNode) => void;
|
|
2705
|
+
afterResize?: (this: BaseDOMWidget<V>, node: LGraphNode) => void;
|
|
2706
|
+
}
|
|
2672
2707
|
|
|
2673
2708
|
declare class DragAndScale {
|
|
2674
2709
|
/**
|
|
@@ -4104,8 +4139,6 @@ export declare class ComfyApp {
|
|
|
4104
4139
|
static serialisedSchemaVersion: 1;
|
|
4105
4140
|
static STATUS_STOPPED: number;
|
|
4106
4141
|
static STATUS_RUNNING: number;
|
|
4107
|
-
/** Generates a unique string key for a link's connection tuple. */
|
|
4108
|
-
static _linkTupleKey(link: LLink): string;
|
|
4109
4142
|
/** List of LGraph properties that are manually handled by {@link LGraph.configure}. */
|
|
4110
4143
|
static readonly ConfigureProperties: Set<string>;
|
|
4111
4144
|
id: UUID;
|
|
@@ -4434,6 +4467,8 @@ export declare class ComfyApp {
|
|
|
4434
4467
|
* (origin_id, origin_slot, target_id, target_slot). Keeps the link
|
|
4435
4468
|
* referenced by input.link and removes orphaned duplicates from
|
|
4436
4469
|
* output.links and the graph's _links map.
|
|
4470
|
+
*
|
|
4471
|
+
* Three phases: group links by tuple, select the survivor, purge duplicates.
|
|
4437
4472
|
*/
|
|
4438
4473
|
_removeDuplicateLinks(): void;
|
|
4439
4474
|
/**
|
|
@@ -4645,6 +4680,7 @@ export declare class ComfyApp {
|
|
|
4645
4680
|
readonly pointer: CanvasPointer;
|
|
4646
4681
|
zoom_modify_alpha: boolean;
|
|
4647
4682
|
zoom_speed: number;
|
|
4683
|
+
auto_pan_speed: number;
|
|
4648
4684
|
node_title_color: string;
|
|
4649
4685
|
default_link_color: string;
|
|
4650
4686
|
default_connection_color: {
|
|
@@ -4756,6 +4792,8 @@ export declare class ComfyApp {
|
|
|
4756
4792
|
node_capturing_input?: LGraphNode | null;
|
|
4757
4793
|
highlighted_links: Dictionary<boolean>;
|
|
4758
4794
|
private _visibleReroutes;
|
|
4795
|
+
private _autoPan;
|
|
4796
|
+
private _ghostPointerHandler;
|
|
4759
4797
|
dirty_canvas: boolean;
|
|
4760
4798
|
dirty_bgcanvas: boolean;
|
|
4761
4799
|
/** A map of nodes that require selective-redraw */
|
|
@@ -5030,6 +5068,7 @@ export declare class ComfyApp {
|
|
|
5030
5068
|
* @param sticky If `true`, the item is added to the selection - see {@link processSelect}
|
|
5031
5069
|
*/
|
|
5032
5070
|
private _startDraggingItems;
|
|
5071
|
+
private _startNodeAutoPan;
|
|
5033
5072
|
/**
|
|
5034
5073
|
* Handles shared clean up and placement after items have been dragged.
|
|
5035
5074
|
* @param e The event that completed the drag, e.g. pointerup, pointermove
|
|
@@ -5273,7 +5312,9 @@ export declare class ComfyApp {
|
|
|
5273
5312
|
* @todo Update to align snapping with boundingRect
|
|
5274
5313
|
* @todo Shapes
|
|
5275
5314
|
*/
|
|
5276
|
-
drawSnapGuide(ctx: CanvasRenderingContext2D, item: Positionable, shape?: RenderShape
|
|
5315
|
+
drawSnapGuide(ctx: CanvasRenderingContext2D, item: Positionable, shape?: RenderShape, { offsetToSlot }?: {
|
|
5316
|
+
offsetToSlot?: boolean;
|
|
5317
|
+
}): void;
|
|
5277
5318
|
drawConnections(ctx: CanvasRenderingContext2D): void;
|
|
5278
5319
|
private getNodeModeAlpha;
|
|
5279
5320
|
private _renderFloatingLinks;
|
|
@@ -5680,6 +5721,11 @@ export declare class ComfyApp {
|
|
|
5680
5721
|
* @see {@link layoutWidgets}
|
|
5681
5722
|
*/
|
|
5682
5723
|
freeWidgetSpace?: number;
|
|
5724
|
+
/**
|
|
5725
|
+
* Set to true when widget-backed input slot positions need recalculation.
|
|
5726
|
+
* Cleared after arrange() runs. Avoids per-frame O(N) scans in drawConnections.
|
|
5727
|
+
*/
|
|
5728
|
+
_widgetSlotsDirty: boolean;
|
|
5683
5729
|
locked?: boolean;
|
|
5684
5730
|
/** Execution order, automatically computed during run @see {@link LGraph.computeExecutionOrder} */
|
|
5685
5731
|
order: number;
|
|
@@ -5956,6 +6002,14 @@ export declare class ComfyApp {
|
|
|
5956
6002
|
* @returns object or null { link: id, name: string, type: string or 0 }
|
|
5957
6003
|
*/
|
|
5958
6004
|
getInputInfo(slot: number): INodeInputSlot | null;
|
|
6005
|
+
/**
|
|
6006
|
+
* Resolves the output source for cross-graph virtual nodes (e.g. Set/Get),
|
|
6007
|
+
* bypassing {@link getInputLink} when the source lives in a different graph.
|
|
6008
|
+
*/
|
|
6009
|
+
resolveVirtualOutput?(slot: number): {
|
|
6010
|
+
node: LGraphNode;
|
|
6011
|
+
slot: number;
|
|
6012
|
+
} | undefined;
|
|
5959
6013
|
/**
|
|
5960
6014
|
* Returns the link info in the connection of an input slot
|
|
5961
6015
|
* @returns object or null
|
|
@@ -6099,7 +6153,6 @@ export declare class ComfyApp {
|
|
|
6099
6153
|
addCustomWidget<TPlainWidget extends IBaseWidget>(custom_widget: TPlainWidget): TPlainWidget | WidgetTypeMap[TPlainWidget['type']];
|
|
6100
6154
|
addTitleButton(options: LGraphButtonOptions): LGraphButton;
|
|
6101
6155
|
onTitleButtonClick(button: LGraphButton, canvas: LGraphCanvas): void;
|
|
6102
|
-
removeWidgetByName(name: string): void;
|
|
6103
6156
|
removeWidget(widget: IBaseWidget): void;
|
|
6104
6157
|
ensureWidgetRemoved(widget: IBaseWidget): void;
|
|
6105
6158
|
move(deltaX: number, deltaY: number): void;
|
|
@@ -6901,8 +6954,7 @@ export declare class ComfyApp {
|
|
|
6901
6954
|
NODE_OPACITY: number;
|
|
6902
6955
|
DEFAULT_FONT: string;
|
|
6903
6956
|
DEFAULT_SHADOW_COLOR: string;
|
|
6904
|
-
|
|
6905
|
-
DEFAULT_GROUP_FONT_SIZE: number;
|
|
6957
|
+
GROUP_TEXT_SIZE: number;
|
|
6906
6958
|
GROUP_FONT: string;
|
|
6907
6959
|
WIDGET_BGCOLOR: string;
|
|
6908
6960
|
WIDGET_OUTLINE_COLOR: string;
|
|
@@ -8648,6 +8700,16 @@ export declare class ComfyApp {
|
|
|
8648
8700
|
getIoNodeOnPos(x: number, y: number): SubgraphInputNode | SubgraphOutputNode | undefined;
|
|
8649
8701
|
private _configureSubgraph;
|
|
8650
8702
|
configure(data: (ISerialisedGraph & ExportedSubgraph) | (SerialisableGraph & ExportedSubgraph), keep_old?: boolean): boolean | undefined;
|
|
8703
|
+
/**
|
|
8704
|
+
* Repairs SubgraphInput/Output `linkIds` that reference links removed
|
|
8705
|
+
* by `_removeDuplicateLinks` during `super.configure()`.
|
|
8706
|
+
*
|
|
8707
|
+
* For each stale link ID, finds the surviving link that connects to the
|
|
8708
|
+
* same IO node and slot index, and substitutes it.
|
|
8709
|
+
*/
|
|
8710
|
+
private _repairIOSlotLinkIds;
|
|
8711
|
+
private _repairSlotLinkIds;
|
|
8712
|
+
private _findLinkBySlot;
|
|
8651
8713
|
attachCanvas(canvas: LGraphCanvas): void;
|
|
8652
8714
|
addInput(name: string, type: string): SubgraphInput;
|
|
8653
8715
|
addOutput(name: string, type: string): SubgraphOutput;
|
|
@@ -8769,8 +8831,8 @@ export declare class ComfyApp {
|
|
|
8769
8831
|
declare interface SubgraphInputEventMap extends LGraphEventMap {
|
|
8770
8832
|
'input-connected': {
|
|
8771
8833
|
input: INodeInputSlot;
|
|
8772
|
-
widget
|
|
8773
|
-
node
|
|
8834
|
+
widget?: IBaseWidget;
|
|
8835
|
+
node?: LGraphNode;
|
|
8774
8836
|
};
|
|
8775
8837
|
'input-disconnected': {
|
|
8776
8838
|
input: SubgraphInput;
|
|
@@ -8948,6 +9010,7 @@ export declare class ComfyApp {
|
|
|
8948
9010
|
private _buildDisplayNameByViewKey;
|
|
8949
9011
|
private _makePromotionEntryKey;
|
|
8950
9012
|
private _makePromotionViewKey;
|
|
9013
|
+
private _serializeEntries;
|
|
8951
9014
|
private _resolveLegacyEntry;
|
|
8952
9015
|
/** Manages lifecycle of all subgraph event listeners */
|
|
8953
9016
|
private _eventAbortController;
|
|
@@ -8962,6 +9025,13 @@ export declare class ComfyApp {
|
|
|
8962
9025
|
configure(info: ExportedSubgraphInstance): void;
|
|
8963
9026
|
_internalConfigureAfterSlots(): void;
|
|
8964
9027
|
private _resolveInputWidget;
|
|
9028
|
+
/**
|
|
9029
|
+
* Binds a promoted widget view to a subgraph input slot.
|
|
9030
|
+
*
|
|
9031
|
+
* Creates or retrieves a {@link PromotedWidgetView}, registers it in the
|
|
9032
|
+
* promotion store, sets up the prototype chain for multi-level subgraph
|
|
9033
|
+
* nesting, and dispatches the `widget-promoted` event.
|
|
9034
|
+
*/
|
|
8965
9035
|
private _setWidget;
|
|
8966
9036
|
private _flushPendingPromotions;
|
|
8967
9037
|
onAdded(_graph: LGraph): void;
|
|
@@ -8995,7 +9065,6 @@ export declare class ComfyApp {
|
|
|
8995
9065
|
private _clearDomOverrideForView;
|
|
8996
9066
|
private _removePromotedView;
|
|
8997
9067
|
removeWidget(widget: IBaseWidget): void;
|
|
8998
|
-
removeWidgetByName(name: string): void;
|
|
8999
9068
|
ensureWidgetRemoved(widget: IBaseWidget): void;
|
|
9000
9069
|
onRemoved(): void;
|
|
9001
9070
|
drawTitleBox(ctx: CanvasRenderingContext2D, { scale, low_quality, title_height, box_size }: DrawTitleBoxOptions): void;
|
|
@@ -9006,6 +9075,7 @@ export declare class ComfyApp {
|
|
|
9006
9075
|
*/
|
|
9007
9076
|
serialize(): ISerialisedNode;
|
|
9008
9077
|
clone(): LGraphNode | null;
|
|
9078
|
+
getSlotShape(slot: SubgraphInput, extraInput?: INodeInputSlot): RenderShape | undefined;
|
|
9009
9079
|
}
|
|
9010
9080
|
|
|
9011
9081
|
/**
|
|
@@ -15218,6 +15288,9 @@ export declare class ComfyApp {
|
|
|
15218
15288
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
15219
15289
|
};
|
|
15220
15290
|
prompt_id?: string | undefined;
|
|
15291
|
+
exec_info?: {
|
|
15292
|
+
queue_remaining?: number | undefined;
|
|
15293
|
+
} | undefined;
|
|
15221
15294
|
node_errors?: Record<string | number, {
|
|
15222
15295
|
class_type: string;
|
|
15223
15296
|
errors: {
|
|
@@ -15230,9 +15303,6 @@ export declare class ComfyApp {
|
|
|
15230
15303
|
}[];
|
|
15231
15304
|
dependent_outputs: any[];
|
|
15232
15305
|
}> | undefined;
|
|
15233
|
-
exec_info?: {
|
|
15234
|
-
queue_remaining?: number | undefined;
|
|
15235
|
-
} | undefined;
|
|
15236
15306
|
}, {
|
|
15237
15307
|
error: string | {
|
|
15238
15308
|
type: string;
|
|
@@ -15243,6 +15313,9 @@ export declare class ComfyApp {
|
|
|
15243
15313
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
15244
15314
|
};
|
|
15245
15315
|
prompt_id?: string | undefined;
|
|
15316
|
+
exec_info?: {
|
|
15317
|
+
queue_remaining?: number | undefined;
|
|
15318
|
+
} | undefined;
|
|
15246
15319
|
node_errors?: Record<string | number, {
|
|
15247
15320
|
class_type: string;
|
|
15248
15321
|
errors: {
|
|
@@ -15255,9 +15328,6 @@ export declare class ComfyApp {
|
|
|
15255
15328
|
}[];
|
|
15256
15329
|
dependent_outputs: any[];
|
|
15257
15330
|
}> | undefined;
|
|
15258
|
-
exec_info?: {
|
|
15259
|
-
queue_remaining?: number | undefined;
|
|
15260
|
-
} | undefined;
|
|
15261
15331
|
}>;
|
|
15262
15332
|
|
|
15263
15333
|
/**
|
|
@@ -15540,10 +15610,8 @@ export declare class ComfyApp {
|
|
|
15540
15610
|
CLEAR_BACKGROUND_COLOR: z.ZodOptional<z.ZodString>;
|
|
15541
15611
|
NODE_TITLE_COLOR: z.ZodOptional<z.ZodString>;
|
|
15542
15612
|
NODE_SELECTED_TITLE_COLOR: z.ZodOptional<z.ZodString>;
|
|
15543
|
-
NODE_TEXT_SIZE: z.ZodOptional<z.ZodNumber>;
|
|
15544
15613
|
NODE_TEXT_COLOR: z.ZodOptional<z.ZodString>;
|
|
15545
15614
|
NODE_TEXT_HIGHLIGHT_COLOR: z.ZodOptional<z.ZodString>;
|
|
15546
|
-
NODE_SUBTEXT_SIZE: z.ZodOptional<z.ZodNumber>;
|
|
15547
15615
|
NODE_DEFAULT_COLOR: z.ZodOptional<z.ZodString>;
|
|
15548
15616
|
NODE_DEFAULT_BGCOLOR: z.ZodOptional<z.ZodString>;
|
|
15549
15617
|
NODE_DEFAULT_BOXCOLOR: z.ZodOptional<z.ZodString>;
|
|
@@ -15552,7 +15620,6 @@ export declare class ComfyApp {
|
|
|
15552
15620
|
NODE_BYPASS_BGCOLOR: z.ZodOptional<z.ZodString>;
|
|
15553
15621
|
NODE_ERROR_COLOUR: z.ZodOptional<z.ZodString>;
|
|
15554
15622
|
DEFAULT_SHADOW_COLOR: z.ZodOptional<z.ZodString>;
|
|
15555
|
-
DEFAULT_GROUP_FONT: z.ZodOptional<z.ZodNumber>;
|
|
15556
15623
|
WIDGET_BGCOLOR: z.ZodOptional<z.ZodString>;
|
|
15557
15624
|
WIDGET_OUTLINE_COLOR: z.ZodOptional<z.ZodString>;
|
|
15558
15625
|
WIDGET_TEXT_COLOR: z.ZodOptional<z.ZodString>;
|
|
@@ -15568,10 +15635,8 @@ export declare class ComfyApp {
|
|
|
15568
15635
|
CLEAR_BACKGROUND_COLOR?: string | undefined;
|
|
15569
15636
|
NODE_TITLE_COLOR?: string | undefined;
|
|
15570
15637
|
NODE_SELECTED_TITLE_COLOR?: string | undefined;
|
|
15571
|
-
NODE_TEXT_SIZE?: number | undefined;
|
|
15572
15638
|
NODE_TEXT_COLOR?: string | undefined;
|
|
15573
15639
|
NODE_TEXT_HIGHLIGHT_COLOR?: string | undefined;
|
|
15574
|
-
NODE_SUBTEXT_SIZE?: number | undefined;
|
|
15575
15640
|
NODE_DEFAULT_COLOR?: string | undefined;
|
|
15576
15641
|
NODE_DEFAULT_BGCOLOR?: string | undefined;
|
|
15577
15642
|
NODE_DEFAULT_BOXCOLOR?: string | undefined;
|
|
@@ -15580,7 +15645,6 @@ export declare class ComfyApp {
|
|
|
15580
15645
|
NODE_BYPASS_BGCOLOR?: string | undefined;
|
|
15581
15646
|
NODE_ERROR_COLOUR?: string | undefined;
|
|
15582
15647
|
DEFAULT_SHADOW_COLOR?: string | undefined;
|
|
15583
|
-
DEFAULT_GROUP_FONT?: number | undefined;
|
|
15584
15648
|
WIDGET_BGCOLOR?: string | undefined;
|
|
15585
15649
|
WIDGET_OUTLINE_COLOR?: string | undefined;
|
|
15586
15650
|
WIDGET_TEXT_COLOR?: string | undefined;
|
|
@@ -15596,10 +15660,8 @@ export declare class ComfyApp {
|
|
|
15596
15660
|
CLEAR_BACKGROUND_COLOR?: string | undefined;
|
|
15597
15661
|
NODE_TITLE_COLOR?: string | undefined;
|
|
15598
15662
|
NODE_SELECTED_TITLE_COLOR?: string | undefined;
|
|
15599
|
-
NODE_TEXT_SIZE?: number | undefined;
|
|
15600
15663
|
NODE_TEXT_COLOR?: string | undefined;
|
|
15601
15664
|
NODE_TEXT_HIGHLIGHT_COLOR?: string | undefined;
|
|
15602
|
-
NODE_SUBTEXT_SIZE?: number | undefined;
|
|
15603
15665
|
NODE_DEFAULT_COLOR?: string | undefined;
|
|
15604
15666
|
NODE_DEFAULT_BGCOLOR?: string | undefined;
|
|
15605
15667
|
NODE_DEFAULT_BOXCOLOR?: string | undefined;
|
|
@@ -15608,7 +15670,6 @@ export declare class ComfyApp {
|
|
|
15608
15670
|
NODE_BYPASS_BGCOLOR?: string | undefined;
|
|
15609
15671
|
NODE_ERROR_COLOUR?: string | undefined;
|
|
15610
15672
|
DEFAULT_SHADOW_COLOR?: string | undefined;
|
|
15611
|
-
DEFAULT_GROUP_FONT?: number | undefined;
|
|
15612
15673
|
WIDGET_BGCOLOR?: string | undefined;
|
|
15613
15674
|
WIDGET_OUTLINE_COLOR?: string | undefined;
|
|
15614
15675
|
WIDGET_TEXT_COLOR?: string | undefined;
|
|
@@ -15726,10 +15787,8 @@ export declare class ComfyApp {
|
|
|
15726
15787
|
CLEAR_BACKGROUND_COLOR?: string | undefined;
|
|
15727
15788
|
NODE_TITLE_COLOR?: string | undefined;
|
|
15728
15789
|
NODE_SELECTED_TITLE_COLOR?: string | undefined;
|
|
15729
|
-
NODE_TEXT_SIZE?: number | undefined;
|
|
15730
15790
|
NODE_TEXT_COLOR?: string | undefined;
|
|
15731
15791
|
NODE_TEXT_HIGHLIGHT_COLOR?: string | undefined;
|
|
15732
|
-
NODE_SUBTEXT_SIZE?: number | undefined;
|
|
15733
15792
|
NODE_DEFAULT_COLOR?: string | undefined;
|
|
15734
15793
|
NODE_DEFAULT_BGCOLOR?: string | undefined;
|
|
15735
15794
|
NODE_DEFAULT_BOXCOLOR?: string | undefined;
|
|
@@ -15738,7 +15797,6 @@ export declare class ComfyApp {
|
|
|
15738
15797
|
NODE_BYPASS_BGCOLOR?: string | undefined;
|
|
15739
15798
|
NODE_ERROR_COLOUR?: string | undefined;
|
|
15740
15799
|
DEFAULT_SHADOW_COLOR?: string | undefined;
|
|
15741
|
-
DEFAULT_GROUP_FONT?: number | undefined;
|
|
15742
15800
|
WIDGET_BGCOLOR?: string | undefined;
|
|
15743
15801
|
WIDGET_OUTLINE_COLOR?: string | undefined;
|
|
15744
15802
|
WIDGET_TEXT_COLOR?: string | undefined;
|
|
@@ -15802,10 +15860,8 @@ export declare class ComfyApp {
|
|
|
15802
15860
|
CLEAR_BACKGROUND_COLOR?: string | undefined;
|
|
15803
15861
|
NODE_TITLE_COLOR?: string | undefined;
|
|
15804
15862
|
NODE_SELECTED_TITLE_COLOR?: string | undefined;
|
|
15805
|
-
NODE_TEXT_SIZE?: number | undefined;
|
|
15806
15863
|
NODE_TEXT_COLOR?: string | undefined;
|
|
15807
15864
|
NODE_TEXT_HIGHLIGHT_COLOR?: string | undefined;
|
|
15808
|
-
NODE_SUBTEXT_SIZE?: number | undefined;
|
|
15809
15865
|
NODE_DEFAULT_COLOR?: string | undefined;
|
|
15810
15866
|
NODE_DEFAULT_BGCOLOR?: string | undefined;
|
|
15811
15867
|
NODE_DEFAULT_BOXCOLOR?: string | undefined;
|
|
@@ -15814,7 +15870,6 @@ export declare class ComfyApp {
|
|
|
15814
15870
|
NODE_BYPASS_BGCOLOR?: string | undefined;
|
|
15815
15871
|
NODE_ERROR_COLOUR?: string | undefined;
|
|
15816
15872
|
DEFAULT_SHADOW_COLOR?: string | undefined;
|
|
15817
|
-
DEFAULT_GROUP_FONT?: number | undefined;
|
|
15818
15873
|
WIDGET_BGCOLOR?: string | undefined;
|
|
15819
15874
|
WIDGET_OUTLINE_COLOR?: string | undefined;
|
|
15820
15875
|
WIDGET_TEXT_COLOR?: string | undefined;
|
|
@@ -15917,10 +15972,8 @@ export declare class ComfyApp {
|
|
|
15917
15972
|
CLEAR_BACKGROUND_COLOR: z.ZodOptional<z.ZodString>;
|
|
15918
15973
|
NODE_TITLE_COLOR: z.ZodOptional<z.ZodString>;
|
|
15919
15974
|
NODE_SELECTED_TITLE_COLOR: z.ZodOptional<z.ZodString>;
|
|
15920
|
-
NODE_TEXT_SIZE: z.ZodOptional<z.ZodNumber>;
|
|
15921
15975
|
NODE_TEXT_COLOR: z.ZodOptional<z.ZodString>;
|
|
15922
15976
|
NODE_TEXT_HIGHLIGHT_COLOR: z.ZodOptional<z.ZodString>;
|
|
15923
|
-
NODE_SUBTEXT_SIZE: z.ZodOptional<z.ZodNumber>;
|
|
15924
15977
|
NODE_DEFAULT_COLOR: z.ZodOptional<z.ZodString>;
|
|
15925
15978
|
NODE_DEFAULT_BGCOLOR: z.ZodOptional<z.ZodString>;
|
|
15926
15979
|
NODE_DEFAULT_BOXCOLOR: z.ZodOptional<z.ZodString>;
|
|
@@ -15929,7 +15982,6 @@ export declare class ComfyApp {
|
|
|
15929
15982
|
NODE_BYPASS_BGCOLOR: z.ZodOptional<z.ZodString>;
|
|
15930
15983
|
NODE_ERROR_COLOUR: z.ZodOptional<z.ZodString>;
|
|
15931
15984
|
DEFAULT_SHADOW_COLOR: z.ZodOptional<z.ZodString>;
|
|
15932
|
-
DEFAULT_GROUP_FONT: z.ZodOptional<z.ZodNumber>;
|
|
15933
15985
|
WIDGET_BGCOLOR: z.ZodOptional<z.ZodString>;
|
|
15934
15986
|
WIDGET_OUTLINE_COLOR: z.ZodOptional<z.ZodString>;
|
|
15935
15987
|
WIDGET_TEXT_COLOR: z.ZodOptional<z.ZodString>;
|
|
@@ -15945,10 +15997,8 @@ export declare class ComfyApp {
|
|
|
15945
15997
|
CLEAR_BACKGROUND_COLOR?: string | undefined;
|
|
15946
15998
|
NODE_TITLE_COLOR?: string | undefined;
|
|
15947
15999
|
NODE_SELECTED_TITLE_COLOR?: string | undefined;
|
|
15948
|
-
NODE_TEXT_SIZE?: number | undefined;
|
|
15949
16000
|
NODE_TEXT_COLOR?: string | undefined;
|
|
15950
16001
|
NODE_TEXT_HIGHLIGHT_COLOR?: string | undefined;
|
|
15951
|
-
NODE_SUBTEXT_SIZE?: number | undefined;
|
|
15952
16002
|
NODE_DEFAULT_COLOR?: string | undefined;
|
|
15953
16003
|
NODE_DEFAULT_BGCOLOR?: string | undefined;
|
|
15954
16004
|
NODE_DEFAULT_BOXCOLOR?: string | undefined;
|
|
@@ -15957,7 +16007,6 @@ export declare class ComfyApp {
|
|
|
15957
16007
|
NODE_BYPASS_BGCOLOR?: string | undefined;
|
|
15958
16008
|
NODE_ERROR_COLOUR?: string | undefined;
|
|
15959
16009
|
DEFAULT_SHADOW_COLOR?: string | undefined;
|
|
15960
|
-
DEFAULT_GROUP_FONT?: number | undefined;
|
|
15961
16010
|
WIDGET_BGCOLOR?: string | undefined;
|
|
15962
16011
|
WIDGET_OUTLINE_COLOR?: string | undefined;
|
|
15963
16012
|
WIDGET_TEXT_COLOR?: string | undefined;
|
|
@@ -15973,10 +16022,8 @@ export declare class ComfyApp {
|
|
|
15973
16022
|
CLEAR_BACKGROUND_COLOR?: string | undefined;
|
|
15974
16023
|
NODE_TITLE_COLOR?: string | undefined;
|
|
15975
16024
|
NODE_SELECTED_TITLE_COLOR?: string | undefined;
|
|
15976
|
-
NODE_TEXT_SIZE?: number | undefined;
|
|
15977
16025
|
NODE_TEXT_COLOR?: string | undefined;
|
|
15978
16026
|
NODE_TEXT_HIGHLIGHT_COLOR?: string | undefined;
|
|
15979
|
-
NODE_SUBTEXT_SIZE?: number | undefined;
|
|
15980
16027
|
NODE_DEFAULT_COLOR?: string | undefined;
|
|
15981
16028
|
NODE_DEFAULT_BGCOLOR?: string | undefined;
|
|
15982
16029
|
NODE_DEFAULT_BOXCOLOR?: string | undefined;
|
|
@@ -15985,7 +16032,6 @@ export declare class ComfyApp {
|
|
|
15985
16032
|
NODE_BYPASS_BGCOLOR?: string | undefined;
|
|
15986
16033
|
NODE_ERROR_COLOUR?: string | undefined;
|
|
15987
16034
|
DEFAULT_SHADOW_COLOR?: string | undefined;
|
|
15988
|
-
DEFAULT_GROUP_FONT?: number | undefined;
|
|
15989
16035
|
WIDGET_BGCOLOR?: string | undefined;
|
|
15990
16036
|
WIDGET_OUTLINE_COLOR?: string | undefined;
|
|
15991
16037
|
WIDGET_TEXT_COLOR?: string | undefined;
|
|
@@ -16103,10 +16149,8 @@ export declare class ComfyApp {
|
|
|
16103
16149
|
CLEAR_BACKGROUND_COLOR?: string | undefined;
|
|
16104
16150
|
NODE_TITLE_COLOR?: string | undefined;
|
|
16105
16151
|
NODE_SELECTED_TITLE_COLOR?: string | undefined;
|
|
16106
|
-
NODE_TEXT_SIZE?: number | undefined;
|
|
16107
16152
|
NODE_TEXT_COLOR?: string | undefined;
|
|
16108
16153
|
NODE_TEXT_HIGHLIGHT_COLOR?: string | undefined;
|
|
16109
|
-
NODE_SUBTEXT_SIZE?: number | undefined;
|
|
16110
16154
|
NODE_DEFAULT_COLOR?: string | undefined;
|
|
16111
16155
|
NODE_DEFAULT_BGCOLOR?: string | undefined;
|
|
16112
16156
|
NODE_DEFAULT_BOXCOLOR?: string | undefined;
|
|
@@ -16115,7 +16159,6 @@ export declare class ComfyApp {
|
|
|
16115
16159
|
NODE_BYPASS_BGCOLOR?: string | undefined;
|
|
16116
16160
|
NODE_ERROR_COLOUR?: string | undefined;
|
|
16117
16161
|
DEFAULT_SHADOW_COLOR?: string | undefined;
|
|
16118
|
-
DEFAULT_GROUP_FONT?: number | undefined;
|
|
16119
16162
|
WIDGET_BGCOLOR?: string | undefined;
|
|
16120
16163
|
WIDGET_OUTLINE_COLOR?: string | undefined;
|
|
16121
16164
|
WIDGET_TEXT_COLOR?: string | undefined;
|
|
@@ -16179,10 +16222,8 @@ export declare class ComfyApp {
|
|
|
16179
16222
|
CLEAR_BACKGROUND_COLOR?: string | undefined;
|
|
16180
16223
|
NODE_TITLE_COLOR?: string | undefined;
|
|
16181
16224
|
NODE_SELECTED_TITLE_COLOR?: string | undefined;
|
|
16182
|
-
NODE_TEXT_SIZE?: number | undefined;
|
|
16183
16225
|
NODE_TEXT_COLOR?: string | undefined;
|
|
16184
16226
|
NODE_TEXT_HIGHLIGHT_COLOR?: string | undefined;
|
|
16185
|
-
NODE_SUBTEXT_SIZE?: number | undefined;
|
|
16186
16227
|
NODE_DEFAULT_COLOR?: string | undefined;
|
|
16187
16228
|
NODE_DEFAULT_BGCOLOR?: string | undefined;
|
|
16188
16229
|
NODE_DEFAULT_BOXCOLOR?: string | undefined;
|
|
@@ -16191,7 +16232,6 @@ export declare class ComfyApp {
|
|
|
16191
16232
|
NODE_BYPASS_BGCOLOR?: string | undefined;
|
|
16192
16233
|
NODE_ERROR_COLOUR?: string | undefined;
|
|
16193
16234
|
DEFAULT_SHADOW_COLOR?: string | undefined;
|
|
16194
|
-
DEFAULT_GROUP_FONT?: number | undefined;
|
|
16195
16235
|
WIDGET_BGCOLOR?: string | undefined;
|
|
16196
16236
|
WIDGET_OUTLINE_COLOR?: string | undefined;
|
|
16197
16237
|
WIDGET_TEXT_COLOR?: string | undefined;
|
|
@@ -16294,10 +16334,8 @@ export declare class ComfyApp {
|
|
|
16294
16334
|
CLEAR_BACKGROUND_COLOR: z.ZodOptional<z.ZodString>;
|
|
16295
16335
|
NODE_TITLE_COLOR: z.ZodOptional<z.ZodString>;
|
|
16296
16336
|
NODE_SELECTED_TITLE_COLOR: z.ZodOptional<z.ZodString>;
|
|
16297
|
-
NODE_TEXT_SIZE: z.ZodOptional<z.ZodNumber>;
|
|
16298
16337
|
NODE_TEXT_COLOR: z.ZodOptional<z.ZodString>;
|
|
16299
16338
|
NODE_TEXT_HIGHLIGHT_COLOR: z.ZodOptional<z.ZodString>;
|
|
16300
|
-
NODE_SUBTEXT_SIZE: z.ZodOptional<z.ZodNumber>;
|
|
16301
16339
|
NODE_DEFAULT_COLOR: z.ZodOptional<z.ZodString>;
|
|
16302
16340
|
NODE_DEFAULT_BGCOLOR: z.ZodOptional<z.ZodString>;
|
|
16303
16341
|
NODE_DEFAULT_BOXCOLOR: z.ZodOptional<z.ZodString>;
|
|
@@ -16306,7 +16344,6 @@ export declare class ComfyApp {
|
|
|
16306
16344
|
NODE_BYPASS_BGCOLOR: z.ZodOptional<z.ZodString>;
|
|
16307
16345
|
NODE_ERROR_COLOUR: z.ZodOptional<z.ZodString>;
|
|
16308
16346
|
DEFAULT_SHADOW_COLOR: z.ZodOptional<z.ZodString>;
|
|
16309
|
-
DEFAULT_GROUP_FONT: z.ZodOptional<z.ZodNumber>;
|
|
16310
16347
|
WIDGET_BGCOLOR: z.ZodOptional<z.ZodString>;
|
|
16311
16348
|
WIDGET_OUTLINE_COLOR: z.ZodOptional<z.ZodString>;
|
|
16312
16349
|
WIDGET_TEXT_COLOR: z.ZodOptional<z.ZodString>;
|
|
@@ -16322,10 +16359,8 @@ export declare class ComfyApp {
|
|
|
16322
16359
|
CLEAR_BACKGROUND_COLOR?: string | undefined;
|
|
16323
16360
|
NODE_TITLE_COLOR?: string | undefined;
|
|
16324
16361
|
NODE_SELECTED_TITLE_COLOR?: string | undefined;
|
|
16325
|
-
NODE_TEXT_SIZE?: number | undefined;
|
|
16326
16362
|
NODE_TEXT_COLOR?: string | undefined;
|
|
16327
16363
|
NODE_TEXT_HIGHLIGHT_COLOR?: string | undefined;
|
|
16328
|
-
NODE_SUBTEXT_SIZE?: number | undefined;
|
|
16329
16364
|
NODE_DEFAULT_COLOR?: string | undefined;
|
|
16330
16365
|
NODE_DEFAULT_BGCOLOR?: string | undefined;
|
|
16331
16366
|
NODE_DEFAULT_BOXCOLOR?: string | undefined;
|
|
@@ -16334,7 +16369,6 @@ export declare class ComfyApp {
|
|
|
16334
16369
|
NODE_BYPASS_BGCOLOR?: string | undefined;
|
|
16335
16370
|
NODE_ERROR_COLOUR?: string | undefined;
|
|
16336
16371
|
DEFAULT_SHADOW_COLOR?: string | undefined;
|
|
16337
|
-
DEFAULT_GROUP_FONT?: number | undefined;
|
|
16338
16372
|
WIDGET_BGCOLOR?: string | undefined;
|
|
16339
16373
|
WIDGET_OUTLINE_COLOR?: string | undefined;
|
|
16340
16374
|
WIDGET_TEXT_COLOR?: string | undefined;
|
|
@@ -16350,10 +16384,8 @@ export declare class ComfyApp {
|
|
|
16350
16384
|
CLEAR_BACKGROUND_COLOR?: string | undefined;
|
|
16351
16385
|
NODE_TITLE_COLOR?: string | undefined;
|
|
16352
16386
|
NODE_SELECTED_TITLE_COLOR?: string | undefined;
|
|
16353
|
-
NODE_TEXT_SIZE?: number | undefined;
|
|
16354
16387
|
NODE_TEXT_COLOR?: string | undefined;
|
|
16355
16388
|
NODE_TEXT_HIGHLIGHT_COLOR?: string | undefined;
|
|
16356
|
-
NODE_SUBTEXT_SIZE?: number | undefined;
|
|
16357
16389
|
NODE_DEFAULT_COLOR?: string | undefined;
|
|
16358
16390
|
NODE_DEFAULT_BGCOLOR?: string | undefined;
|
|
16359
16391
|
NODE_DEFAULT_BOXCOLOR?: string | undefined;
|
|
@@ -16362,7 +16394,6 @@ export declare class ComfyApp {
|
|
|
16362
16394
|
NODE_BYPASS_BGCOLOR?: string | undefined;
|
|
16363
16395
|
NODE_ERROR_COLOUR?: string | undefined;
|
|
16364
16396
|
DEFAULT_SHADOW_COLOR?: string | undefined;
|
|
16365
|
-
DEFAULT_GROUP_FONT?: number | undefined;
|
|
16366
16397
|
WIDGET_BGCOLOR?: string | undefined;
|
|
16367
16398
|
WIDGET_OUTLINE_COLOR?: string | undefined;
|
|
16368
16399
|
WIDGET_TEXT_COLOR?: string | undefined;
|
|
@@ -16480,10 +16511,8 @@ export declare class ComfyApp {
|
|
|
16480
16511
|
CLEAR_BACKGROUND_COLOR?: string | undefined;
|
|
16481
16512
|
NODE_TITLE_COLOR?: string | undefined;
|
|
16482
16513
|
NODE_SELECTED_TITLE_COLOR?: string | undefined;
|
|
16483
|
-
NODE_TEXT_SIZE?: number | undefined;
|
|
16484
16514
|
NODE_TEXT_COLOR?: string | undefined;
|
|
16485
16515
|
NODE_TEXT_HIGHLIGHT_COLOR?: string | undefined;
|
|
16486
|
-
NODE_SUBTEXT_SIZE?: number | undefined;
|
|
16487
16516
|
NODE_DEFAULT_COLOR?: string | undefined;
|
|
16488
16517
|
NODE_DEFAULT_BGCOLOR?: string | undefined;
|
|
16489
16518
|
NODE_DEFAULT_BOXCOLOR?: string | undefined;
|
|
@@ -16492,7 +16521,6 @@ export declare class ComfyApp {
|
|
|
16492
16521
|
NODE_BYPASS_BGCOLOR?: string | undefined;
|
|
16493
16522
|
NODE_ERROR_COLOUR?: string | undefined;
|
|
16494
16523
|
DEFAULT_SHADOW_COLOR?: string | undefined;
|
|
16495
|
-
DEFAULT_GROUP_FONT?: number | undefined;
|
|
16496
16524
|
WIDGET_BGCOLOR?: string | undefined;
|
|
16497
16525
|
WIDGET_OUTLINE_COLOR?: string | undefined;
|
|
16498
16526
|
WIDGET_TEXT_COLOR?: string | undefined;
|
|
@@ -16556,10 +16584,8 @@ export declare class ComfyApp {
|
|
|
16556
16584
|
CLEAR_BACKGROUND_COLOR?: string | undefined;
|
|
16557
16585
|
NODE_TITLE_COLOR?: string | undefined;
|
|
16558
16586
|
NODE_SELECTED_TITLE_COLOR?: string | undefined;
|
|
16559
|
-
NODE_TEXT_SIZE?: number | undefined;
|
|
16560
16587
|
NODE_TEXT_COLOR?: string | undefined;
|
|
16561
16588
|
NODE_TEXT_HIGHLIGHT_COLOR?: string | undefined;
|
|
16562
|
-
NODE_SUBTEXT_SIZE?: number | undefined;
|
|
16563
16589
|
NODE_DEFAULT_COLOR?: string | undefined;
|
|
16564
16590
|
NODE_DEFAULT_BGCOLOR?: string | undefined;
|
|
16565
16591
|
NODE_DEFAULT_BOXCOLOR?: string | undefined;
|
|
@@ -16568,7 +16594,6 @@ export declare class ComfyApp {
|
|
|
16568
16594
|
NODE_BYPASS_BGCOLOR?: string | undefined;
|
|
16569
16595
|
NODE_ERROR_COLOUR?: string | undefined;
|
|
16570
16596
|
DEFAULT_SHADOW_COLOR?: string | undefined;
|
|
16571
|
-
DEFAULT_GROUP_FONT?: number | undefined;
|
|
16572
16597
|
WIDGET_BGCOLOR?: string | undefined;
|
|
16573
16598
|
WIDGET_OUTLINE_COLOR?: string | undefined;
|
|
16574
16599
|
WIDGET_TEXT_COLOR?: string | undefined;
|
|
@@ -16614,6 +16639,7 @@ export declare class ComfyApp {
|
|
|
16614
16639
|
'Comfy.Canvas.BackgroundImage': z.ZodOptional<z.ZodString>;
|
|
16615
16640
|
'Comfy.ConfirmClear': z.ZodBoolean;
|
|
16616
16641
|
'Comfy.DevMode': z.ZodBoolean;
|
|
16642
|
+
'Comfy.Appearance.DisableAnimations': z.ZodBoolean;
|
|
16617
16643
|
'Comfy.UI.TabBarLayout': z.ZodEnum<["Default", "Legacy"]>;
|
|
16618
16644
|
'Comfy.Workflow.ShowMissingModelsWarning': z.ZodBoolean;
|
|
16619
16645
|
'Comfy.Workflow.WarnBlueprintOverwrite': z.ZodBoolean;
|
|
@@ -16625,6 +16651,7 @@ export declare class ComfyApp {
|
|
|
16625
16651
|
'Comfy.EnableTooltips': z.ZodBoolean;
|
|
16626
16652
|
'Comfy.EnableWorkflowViewRestore': z.ZodBoolean;
|
|
16627
16653
|
'Comfy.FloatRoundingPrecision': z.ZodNumber;
|
|
16654
|
+
'Comfy.Graph.AutoPanSpeed': z.ZodNumber;
|
|
16628
16655
|
'Comfy.Graph.CanvasInfo': z.ZodBoolean;
|
|
16629
16656
|
'Comfy.Graph.CanvasMenu': z.ZodBoolean;
|
|
16630
16657
|
'Comfy.Graph.CtrlShiftZoom': z.ZodBoolean;
|
|
@@ -16780,6 +16807,7 @@ export declare class ComfyApp {
|
|
|
16780
16807
|
commandId: string;
|
|
16781
16808
|
targetElementId?: string | undefined;
|
|
16782
16809
|
}>, "many">;
|
|
16810
|
+
'Comfy.Keybinding.CurrentPreset': z.ZodString;
|
|
16783
16811
|
'Comfy.Extension.Disabled': z.ZodArray<z.ZodString, "many">;
|
|
16784
16812
|
'Comfy.LinkRenderMode': z.ZodNumber;
|
|
16785
16813
|
'Comfy.Node.AutoSnapLinkToSlot': z.ZodBoolean;
|
|
@@ -16812,6 +16840,7 @@ export declare class ComfyApp {
|
|
|
16812
16840
|
'Comfy.Canvas.LeftMouseClickBehavior': z.ZodString;
|
|
16813
16841
|
'Comfy.Canvas.MouseWheelScroll': z.ZodString;
|
|
16814
16842
|
'Comfy.VueNodes.Enabled': z.ZodBoolean;
|
|
16843
|
+
'Comfy.AppBuilder.VueNodeSwitchDismissed': z.ZodBoolean;
|
|
16815
16844
|
'Comfy.VueNodes.AutoScaleLayout': z.ZodBoolean;
|
|
16816
16845
|
'Comfy.Assets.UseAssetAPI': z.ZodBoolean;
|
|
16817
16846
|
'Comfy.Queue.QPOV2': z.ZodBoolean;
|
|
@@ -16920,10 +16949,8 @@ export declare class ComfyApp {
|
|
|
16920
16949
|
CLEAR_BACKGROUND_COLOR: z.ZodOptional<z.ZodString>;
|
|
16921
16950
|
NODE_TITLE_COLOR: z.ZodOptional<z.ZodString>;
|
|
16922
16951
|
NODE_SELECTED_TITLE_COLOR: z.ZodOptional<z.ZodString>;
|
|
16923
|
-
NODE_TEXT_SIZE: z.ZodOptional<z.ZodNumber>;
|
|
16924
16952
|
NODE_TEXT_COLOR: z.ZodOptional<z.ZodString>;
|
|
16925
16953
|
NODE_TEXT_HIGHLIGHT_COLOR: z.ZodOptional<z.ZodString>;
|
|
16926
|
-
NODE_SUBTEXT_SIZE: z.ZodOptional<z.ZodNumber>;
|
|
16927
16954
|
NODE_DEFAULT_COLOR: z.ZodOptional<z.ZodString>;
|
|
16928
16955
|
NODE_DEFAULT_BGCOLOR: z.ZodOptional<z.ZodString>;
|
|
16929
16956
|
NODE_DEFAULT_BOXCOLOR: z.ZodOptional<z.ZodString>;
|
|
@@ -16932,7 +16959,6 @@ export declare class ComfyApp {
|
|
|
16932
16959
|
NODE_BYPASS_BGCOLOR: z.ZodOptional<z.ZodString>;
|
|
16933
16960
|
NODE_ERROR_COLOUR: z.ZodOptional<z.ZodString>;
|
|
16934
16961
|
DEFAULT_SHADOW_COLOR: z.ZodOptional<z.ZodString>;
|
|
16935
|
-
DEFAULT_GROUP_FONT: z.ZodOptional<z.ZodNumber>;
|
|
16936
16962
|
WIDGET_BGCOLOR: z.ZodOptional<z.ZodString>;
|
|
16937
16963
|
WIDGET_OUTLINE_COLOR: z.ZodOptional<z.ZodString>;
|
|
16938
16964
|
WIDGET_TEXT_COLOR: z.ZodOptional<z.ZodString>;
|
|
@@ -16948,10 +16974,8 @@ export declare class ComfyApp {
|
|
|
16948
16974
|
CLEAR_BACKGROUND_COLOR?: string | undefined;
|
|
16949
16975
|
NODE_TITLE_COLOR?: string | undefined;
|
|
16950
16976
|
NODE_SELECTED_TITLE_COLOR?: string | undefined;
|
|
16951
|
-
NODE_TEXT_SIZE?: number | undefined;
|
|
16952
16977
|
NODE_TEXT_COLOR?: string | undefined;
|
|
16953
16978
|
NODE_TEXT_HIGHLIGHT_COLOR?: string | undefined;
|
|
16954
|
-
NODE_SUBTEXT_SIZE?: number | undefined;
|
|
16955
16979
|
NODE_DEFAULT_COLOR?: string | undefined;
|
|
16956
16980
|
NODE_DEFAULT_BGCOLOR?: string | undefined;
|
|
16957
16981
|
NODE_DEFAULT_BOXCOLOR?: string | undefined;
|
|
@@ -16960,7 +16984,6 @@ export declare class ComfyApp {
|
|
|
16960
16984
|
NODE_BYPASS_BGCOLOR?: string | undefined;
|
|
16961
16985
|
NODE_ERROR_COLOUR?: string | undefined;
|
|
16962
16986
|
DEFAULT_SHADOW_COLOR?: string | undefined;
|
|
16963
|
-
DEFAULT_GROUP_FONT?: number | undefined;
|
|
16964
16987
|
WIDGET_BGCOLOR?: string | undefined;
|
|
16965
16988
|
WIDGET_OUTLINE_COLOR?: string | undefined;
|
|
16966
16989
|
WIDGET_TEXT_COLOR?: string | undefined;
|
|
@@ -16976,10 +16999,8 @@ export declare class ComfyApp {
|
|
|
16976
16999
|
CLEAR_BACKGROUND_COLOR?: string | undefined;
|
|
16977
17000
|
NODE_TITLE_COLOR?: string | undefined;
|
|
16978
17001
|
NODE_SELECTED_TITLE_COLOR?: string | undefined;
|
|
16979
|
-
NODE_TEXT_SIZE?: number | undefined;
|
|
16980
17002
|
NODE_TEXT_COLOR?: string | undefined;
|
|
16981
17003
|
NODE_TEXT_HIGHLIGHT_COLOR?: string | undefined;
|
|
16982
|
-
NODE_SUBTEXT_SIZE?: number | undefined;
|
|
16983
17004
|
NODE_DEFAULT_COLOR?: string | undefined;
|
|
16984
17005
|
NODE_DEFAULT_BGCOLOR?: string | undefined;
|
|
16985
17006
|
NODE_DEFAULT_BOXCOLOR?: string | undefined;
|
|
@@ -16988,7 +17009,6 @@ export declare class ComfyApp {
|
|
|
16988
17009
|
NODE_BYPASS_BGCOLOR?: string | undefined;
|
|
16989
17010
|
NODE_ERROR_COLOUR?: string | undefined;
|
|
16990
17011
|
DEFAULT_SHADOW_COLOR?: string | undefined;
|
|
16991
|
-
DEFAULT_GROUP_FONT?: number | undefined;
|
|
16992
17012
|
WIDGET_BGCOLOR?: string | undefined;
|
|
16993
17013
|
WIDGET_OUTLINE_COLOR?: string | undefined;
|
|
16994
17014
|
WIDGET_TEXT_COLOR?: string | undefined;
|
|
@@ -17106,10 +17126,8 @@ export declare class ComfyApp {
|
|
|
17106
17126
|
CLEAR_BACKGROUND_COLOR?: string | undefined;
|
|
17107
17127
|
NODE_TITLE_COLOR?: string | undefined;
|
|
17108
17128
|
NODE_SELECTED_TITLE_COLOR?: string | undefined;
|
|
17109
|
-
NODE_TEXT_SIZE?: number | undefined;
|
|
17110
17129
|
NODE_TEXT_COLOR?: string | undefined;
|
|
17111
17130
|
NODE_TEXT_HIGHLIGHT_COLOR?: string | undefined;
|
|
17112
|
-
NODE_SUBTEXT_SIZE?: number | undefined;
|
|
17113
17131
|
NODE_DEFAULT_COLOR?: string | undefined;
|
|
17114
17132
|
NODE_DEFAULT_BGCOLOR?: string | undefined;
|
|
17115
17133
|
NODE_DEFAULT_BOXCOLOR?: string | undefined;
|
|
@@ -17118,7 +17136,6 @@ export declare class ComfyApp {
|
|
|
17118
17136
|
NODE_BYPASS_BGCOLOR?: string | undefined;
|
|
17119
17137
|
NODE_ERROR_COLOUR?: string | undefined;
|
|
17120
17138
|
DEFAULT_SHADOW_COLOR?: string | undefined;
|
|
17121
|
-
DEFAULT_GROUP_FONT?: number | undefined;
|
|
17122
17139
|
WIDGET_BGCOLOR?: string | undefined;
|
|
17123
17140
|
WIDGET_OUTLINE_COLOR?: string | undefined;
|
|
17124
17141
|
WIDGET_TEXT_COLOR?: string | undefined;
|
|
@@ -17182,10 +17199,8 @@ export declare class ComfyApp {
|
|
|
17182
17199
|
CLEAR_BACKGROUND_COLOR?: string | undefined;
|
|
17183
17200
|
NODE_TITLE_COLOR?: string | undefined;
|
|
17184
17201
|
NODE_SELECTED_TITLE_COLOR?: string | undefined;
|
|
17185
|
-
NODE_TEXT_SIZE?: number | undefined;
|
|
17186
17202
|
NODE_TEXT_COLOR?: string | undefined;
|
|
17187
17203
|
NODE_TEXT_HIGHLIGHT_COLOR?: string | undefined;
|
|
17188
|
-
NODE_SUBTEXT_SIZE?: number | undefined;
|
|
17189
17204
|
NODE_DEFAULT_COLOR?: string | undefined;
|
|
17190
17205
|
NODE_DEFAULT_BGCOLOR?: string | undefined;
|
|
17191
17206
|
NODE_DEFAULT_BOXCOLOR?: string | undefined;
|
|
@@ -17194,7 +17209,6 @@ export declare class ComfyApp {
|
|
|
17194
17209
|
NODE_BYPASS_BGCOLOR?: string | undefined;
|
|
17195
17210
|
NODE_ERROR_COLOUR?: string | undefined;
|
|
17196
17211
|
DEFAULT_SHADOW_COLOR?: string | undefined;
|
|
17197
|
-
DEFAULT_GROUP_FONT?: number | undefined;
|
|
17198
17212
|
WIDGET_BGCOLOR?: string | undefined;
|
|
17199
17213
|
WIDGET_OUTLINE_COLOR?: string | undefined;
|
|
17200
17214
|
WIDGET_TEXT_COLOR?: string | undefined;
|
|
@@ -17239,6 +17253,7 @@ export declare class ComfyApp {
|
|
|
17239
17253
|
}, z.ZodTypeAny, "passthrough">>;
|
|
17240
17254
|
'Comfy.ConfirmClear': boolean;
|
|
17241
17255
|
'Comfy.DevMode': boolean;
|
|
17256
|
+
'Comfy.Appearance.DisableAnimations': boolean;
|
|
17242
17257
|
'Comfy.UI.TabBarLayout': "Default" | "Legacy";
|
|
17243
17258
|
'Comfy.Workflow.ShowMissingModelsWarning': boolean;
|
|
17244
17259
|
'Comfy.Workflow.WarnBlueprintOverwrite': boolean;
|
|
@@ -17250,6 +17265,7 @@ export declare class ComfyApp {
|
|
|
17250
17265
|
'Comfy.EnableTooltips': boolean;
|
|
17251
17266
|
'Comfy.EnableWorkflowViewRestore': boolean;
|
|
17252
17267
|
'Comfy.FloatRoundingPrecision': number;
|
|
17268
|
+
'Comfy.Graph.AutoPanSpeed': number;
|
|
17253
17269
|
'Comfy.Graph.CanvasInfo': boolean;
|
|
17254
17270
|
'Comfy.Graph.CanvasMenu': boolean;
|
|
17255
17271
|
'Comfy.Graph.CtrlShiftZoom': boolean;
|
|
@@ -17335,6 +17351,7 @@ export declare class ComfyApp {
|
|
|
17335
17351
|
commandId: string;
|
|
17336
17352
|
targetElementId?: string | undefined;
|
|
17337
17353
|
}[];
|
|
17354
|
+
'Comfy.Keybinding.CurrentPreset': string;
|
|
17338
17355
|
'Comfy.Extension.Disabled': string[];
|
|
17339
17356
|
'Comfy.LinkRenderMode': number;
|
|
17340
17357
|
'Comfy.Node.AutoSnapLinkToSlot': boolean;
|
|
@@ -17367,6 +17384,7 @@ export declare class ComfyApp {
|
|
|
17367
17384
|
'Comfy.Canvas.LeftMouseClickBehavior': string;
|
|
17368
17385
|
'Comfy.Canvas.MouseWheelScroll': string;
|
|
17369
17386
|
'Comfy.VueNodes.Enabled': boolean;
|
|
17387
|
+
'Comfy.AppBuilder.VueNodeSwitchDismissed': boolean;
|
|
17370
17388
|
'Comfy.VueNodes.AutoScaleLayout': boolean;
|
|
17371
17389
|
'Comfy.Assets.UseAssetAPI': boolean;
|
|
17372
17390
|
'Comfy.Queue.QPOV2': boolean;
|
|
@@ -17472,10 +17490,8 @@ export declare class ComfyApp {
|
|
|
17472
17490
|
CLEAR_BACKGROUND_COLOR: z.ZodOptional<z.ZodString>;
|
|
17473
17491
|
NODE_TITLE_COLOR: z.ZodOptional<z.ZodString>;
|
|
17474
17492
|
NODE_SELECTED_TITLE_COLOR: z.ZodOptional<z.ZodString>;
|
|
17475
|
-
NODE_TEXT_SIZE: z.ZodOptional<z.ZodNumber>;
|
|
17476
17493
|
NODE_TEXT_COLOR: z.ZodOptional<z.ZodString>;
|
|
17477
17494
|
NODE_TEXT_HIGHLIGHT_COLOR: z.ZodOptional<z.ZodString>;
|
|
17478
|
-
NODE_SUBTEXT_SIZE: z.ZodOptional<z.ZodNumber>;
|
|
17479
17495
|
NODE_DEFAULT_COLOR: z.ZodOptional<z.ZodString>;
|
|
17480
17496
|
NODE_DEFAULT_BGCOLOR: z.ZodOptional<z.ZodString>;
|
|
17481
17497
|
NODE_DEFAULT_BOXCOLOR: z.ZodOptional<z.ZodString>;
|
|
@@ -17484,7 +17500,6 @@ export declare class ComfyApp {
|
|
|
17484
17500
|
NODE_BYPASS_BGCOLOR: z.ZodOptional<z.ZodString>;
|
|
17485
17501
|
NODE_ERROR_COLOUR: z.ZodOptional<z.ZodString>;
|
|
17486
17502
|
DEFAULT_SHADOW_COLOR: z.ZodOptional<z.ZodString>;
|
|
17487
|
-
DEFAULT_GROUP_FONT: z.ZodOptional<z.ZodNumber>;
|
|
17488
17503
|
WIDGET_BGCOLOR: z.ZodOptional<z.ZodString>;
|
|
17489
17504
|
WIDGET_OUTLINE_COLOR: z.ZodOptional<z.ZodString>;
|
|
17490
17505
|
WIDGET_TEXT_COLOR: z.ZodOptional<z.ZodString>;
|
|
@@ -17500,10 +17515,8 @@ export declare class ComfyApp {
|
|
|
17500
17515
|
CLEAR_BACKGROUND_COLOR?: string | undefined;
|
|
17501
17516
|
NODE_TITLE_COLOR?: string | undefined;
|
|
17502
17517
|
NODE_SELECTED_TITLE_COLOR?: string | undefined;
|
|
17503
|
-
NODE_TEXT_SIZE?: number | undefined;
|
|
17504
17518
|
NODE_TEXT_COLOR?: string | undefined;
|
|
17505
17519
|
NODE_TEXT_HIGHLIGHT_COLOR?: string | undefined;
|
|
17506
|
-
NODE_SUBTEXT_SIZE?: number | undefined;
|
|
17507
17520
|
NODE_DEFAULT_COLOR?: string | undefined;
|
|
17508
17521
|
NODE_DEFAULT_BGCOLOR?: string | undefined;
|
|
17509
17522
|
NODE_DEFAULT_BOXCOLOR?: string | undefined;
|
|
@@ -17512,7 +17525,6 @@ export declare class ComfyApp {
|
|
|
17512
17525
|
NODE_BYPASS_BGCOLOR?: string | undefined;
|
|
17513
17526
|
NODE_ERROR_COLOUR?: string | undefined;
|
|
17514
17527
|
DEFAULT_SHADOW_COLOR?: string | undefined;
|
|
17515
|
-
DEFAULT_GROUP_FONT?: number | undefined;
|
|
17516
17528
|
WIDGET_BGCOLOR?: string | undefined;
|
|
17517
17529
|
WIDGET_OUTLINE_COLOR?: string | undefined;
|
|
17518
17530
|
WIDGET_TEXT_COLOR?: string | undefined;
|
|
@@ -17528,10 +17540,8 @@ export declare class ComfyApp {
|
|
|
17528
17540
|
CLEAR_BACKGROUND_COLOR?: string | undefined;
|
|
17529
17541
|
NODE_TITLE_COLOR?: string | undefined;
|
|
17530
17542
|
NODE_SELECTED_TITLE_COLOR?: string | undefined;
|
|
17531
|
-
NODE_TEXT_SIZE?: number | undefined;
|
|
17532
17543
|
NODE_TEXT_COLOR?: string | undefined;
|
|
17533
17544
|
NODE_TEXT_HIGHLIGHT_COLOR?: string | undefined;
|
|
17534
|
-
NODE_SUBTEXT_SIZE?: number | undefined;
|
|
17535
17545
|
NODE_DEFAULT_COLOR?: string | undefined;
|
|
17536
17546
|
NODE_DEFAULT_BGCOLOR?: string | undefined;
|
|
17537
17547
|
NODE_DEFAULT_BOXCOLOR?: string | undefined;
|
|
@@ -17540,7 +17550,6 @@ export declare class ComfyApp {
|
|
|
17540
17550
|
NODE_BYPASS_BGCOLOR?: string | undefined;
|
|
17541
17551
|
NODE_ERROR_COLOUR?: string | undefined;
|
|
17542
17552
|
DEFAULT_SHADOW_COLOR?: string | undefined;
|
|
17543
|
-
DEFAULT_GROUP_FONT?: number | undefined;
|
|
17544
17553
|
WIDGET_BGCOLOR?: string | undefined;
|
|
17545
17554
|
WIDGET_OUTLINE_COLOR?: string | undefined;
|
|
17546
17555
|
WIDGET_TEXT_COLOR?: string | undefined;
|
|
@@ -17658,10 +17667,8 @@ export declare class ComfyApp {
|
|
|
17658
17667
|
CLEAR_BACKGROUND_COLOR?: string | undefined;
|
|
17659
17668
|
NODE_TITLE_COLOR?: string | undefined;
|
|
17660
17669
|
NODE_SELECTED_TITLE_COLOR?: string | undefined;
|
|
17661
|
-
NODE_TEXT_SIZE?: number | undefined;
|
|
17662
17670
|
NODE_TEXT_COLOR?: string | undefined;
|
|
17663
17671
|
NODE_TEXT_HIGHLIGHT_COLOR?: string | undefined;
|
|
17664
|
-
NODE_SUBTEXT_SIZE?: number | undefined;
|
|
17665
17672
|
NODE_DEFAULT_COLOR?: string | undefined;
|
|
17666
17673
|
NODE_DEFAULT_BGCOLOR?: string | undefined;
|
|
17667
17674
|
NODE_DEFAULT_BOXCOLOR?: string | undefined;
|
|
@@ -17670,7 +17677,6 @@ export declare class ComfyApp {
|
|
|
17670
17677
|
NODE_BYPASS_BGCOLOR?: string | undefined;
|
|
17671
17678
|
NODE_ERROR_COLOUR?: string | undefined;
|
|
17672
17679
|
DEFAULT_SHADOW_COLOR?: string | undefined;
|
|
17673
|
-
DEFAULT_GROUP_FONT?: number | undefined;
|
|
17674
17680
|
WIDGET_BGCOLOR?: string | undefined;
|
|
17675
17681
|
WIDGET_OUTLINE_COLOR?: string | undefined;
|
|
17676
17682
|
WIDGET_TEXT_COLOR?: string | undefined;
|
|
@@ -17734,10 +17740,8 @@ export declare class ComfyApp {
|
|
|
17734
17740
|
CLEAR_BACKGROUND_COLOR?: string | undefined;
|
|
17735
17741
|
NODE_TITLE_COLOR?: string | undefined;
|
|
17736
17742
|
NODE_SELECTED_TITLE_COLOR?: string | undefined;
|
|
17737
|
-
NODE_TEXT_SIZE?: number | undefined;
|
|
17738
17743
|
NODE_TEXT_COLOR?: string | undefined;
|
|
17739
17744
|
NODE_TEXT_HIGHLIGHT_COLOR?: string | undefined;
|
|
17740
|
-
NODE_SUBTEXT_SIZE?: number | undefined;
|
|
17741
17745
|
NODE_DEFAULT_COLOR?: string | undefined;
|
|
17742
17746
|
NODE_DEFAULT_BGCOLOR?: string | undefined;
|
|
17743
17747
|
NODE_DEFAULT_BOXCOLOR?: string | undefined;
|
|
@@ -17746,7 +17750,6 @@ export declare class ComfyApp {
|
|
|
17746
17750
|
NODE_BYPASS_BGCOLOR?: string | undefined;
|
|
17747
17751
|
NODE_ERROR_COLOUR?: string | undefined;
|
|
17748
17752
|
DEFAULT_SHADOW_COLOR?: string | undefined;
|
|
17749
|
-
DEFAULT_GROUP_FONT?: number | undefined;
|
|
17750
17753
|
WIDGET_BGCOLOR?: string | undefined;
|
|
17751
17754
|
WIDGET_OUTLINE_COLOR?: string | undefined;
|
|
17752
17755
|
WIDGET_TEXT_COLOR?: string | undefined;
|
|
@@ -17791,6 +17794,7 @@ export declare class ComfyApp {
|
|
|
17791
17794
|
}, z.ZodTypeAny, "passthrough">>;
|
|
17792
17795
|
'Comfy.ConfirmClear': boolean;
|
|
17793
17796
|
'Comfy.DevMode': boolean;
|
|
17797
|
+
'Comfy.Appearance.DisableAnimations': boolean;
|
|
17794
17798
|
'Comfy.UI.TabBarLayout': "Default" | "Legacy";
|
|
17795
17799
|
'Comfy.Workflow.ShowMissingModelsWarning': boolean;
|
|
17796
17800
|
'Comfy.Workflow.WarnBlueprintOverwrite': boolean;
|
|
@@ -17802,6 +17806,7 @@ export declare class ComfyApp {
|
|
|
17802
17806
|
'Comfy.EnableTooltips': boolean;
|
|
17803
17807
|
'Comfy.EnableWorkflowViewRestore': boolean;
|
|
17804
17808
|
'Comfy.FloatRoundingPrecision': number;
|
|
17809
|
+
'Comfy.Graph.AutoPanSpeed': number;
|
|
17805
17810
|
'Comfy.Graph.CanvasInfo': boolean;
|
|
17806
17811
|
'Comfy.Graph.CanvasMenu': boolean;
|
|
17807
17812
|
'Comfy.Graph.CtrlShiftZoom': boolean;
|
|
@@ -17887,6 +17892,7 @@ export declare class ComfyApp {
|
|
|
17887
17892
|
commandId: string;
|
|
17888
17893
|
targetElementId?: string | undefined;
|
|
17889
17894
|
}[];
|
|
17895
|
+
'Comfy.Keybinding.CurrentPreset': string;
|
|
17890
17896
|
'Comfy.Extension.Disabled': string[];
|
|
17891
17897
|
'Comfy.LinkRenderMode': number;
|
|
17892
17898
|
'Comfy.Node.AutoSnapLinkToSlot': boolean;
|
|
@@ -17919,6 +17925,7 @@ export declare class ComfyApp {
|
|
|
17919
17925
|
'Comfy.Canvas.LeftMouseClickBehavior': string;
|
|
17920
17926
|
'Comfy.Canvas.MouseWheelScroll': string;
|
|
17921
17927
|
'Comfy.VueNodes.Enabled': boolean;
|
|
17928
|
+
'Comfy.AppBuilder.VueNodeSwitchDismissed': boolean;
|
|
17922
17929
|
'Comfy.VueNodes.AutoScaleLayout': boolean;
|
|
17923
17930
|
'Comfy.Assets.UseAssetAPI': boolean;
|
|
17924
17931
|
'Comfy.Queue.QPOV2': boolean;
|