@comfyorg/comfyui-frontend-types 1.22.2 → 1.23.1

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.
Files changed (2) hide show
  1. package/index.d.ts +12 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1130,6 +1130,12 @@ export declare class ComfyApp {
1130
1130
  component: Component;
1131
1131
  props?: Record<string, any>;
1132
1132
  dialogComponentProps?: DialogComponentProps;
1133
+ /**
1134
+ * Optional priority for dialog stacking.
1135
+ * A dialog will never be shown above a dialog with a higher priority.
1136
+ * @default 1
1137
+ */
1138
+ priority?: number;
1133
1139
  }
1134
1140
 
1135
1141
  export declare type SidebarTabExtension = VueSidebarTabExtension | CustomSidebarTabExtension;
@@ -1814,6 +1820,7 @@ export declare class ComfyApp {
1814
1820
  } | undefined;
1815
1821
  } | undefined;
1816
1822
  };
1823
+ priority: number;
1817
1824
  };
1818
1825
  showErrorDialog: (error: unknown, options?: {
1819
1826
  title?: string;
@@ -2423,6 +2430,7 @@ export declare class ComfyApp {
2423
2430
  } | undefined;
2424
2431
  } | undefined;
2425
2432
  };
2433
+ priority: number;
2426
2434
  };
2427
2435
  showUpdatePasswordDialog: () => {
2428
2436
  key: string;
@@ -3024,6 +3032,7 @@ export declare class ComfyApp {
3024
3032
  } | undefined;
3025
3033
  } | undefined;
3026
3034
  };
3035
+ priority: number;
3027
3036
  };
3028
3037
  showExtensionDialog: (options: ShowDialogOptions & {
3029
3038
  key: string;
@@ -3628,6 +3637,7 @@ export declare class ComfyApp {
3628
3637
  } | undefined;
3629
3638
  } | undefined;
3630
3639
  };
3640
+ priority: number;
3631
3641
  } | undefined;
3632
3642
  closeDialog: () => void;
3633
3643
  };
@@ -3647,6 +3657,8 @@ export declare class ComfyApp {
3647
3657
  itemList?: string[];
3648
3658
  hint?: string;
3649
3659
  }) => Promise<boolean | null>;
3660
+ toggleManagerDialog: (props?: InstanceType<typeof default_6>["$props"]) => void;
3661
+ toggleManagerProgressDialog: (props?: InstanceType<typeof default_7>["$props"]) => void;
3650
3662
  };
3651
3663
 
3652
3664
  export { User }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comfyorg/comfyui-frontend-types",
3
- "version": "1.22.2",
3
+ "version": "1.23.1",
4
4
  "types": "./index.d.ts",
5
5
  "files": [
6
6
  "index.d.ts"