mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-01-10 18:05:16 +00:00
Update web content to release v1.6.15 (#6324)
This commit is contained in:
parent
953693b137
commit
0b9839ef43
4
web/assets/BaseViewTemplate-B0LQc8op.js → web/assets/BaseViewTemplate-BklhdMAh.js
generated
vendored
4
web/assets/BaseViewTemplate-B0LQc8op.js → web/assets/BaseViewTemplate-BklhdMAh.js
generated
vendored
@ -1,4 +1,4 @@
|
||||
import { d as defineComponent, o as openBlock, f as createElementBlock, J as renderSlot, T as normalizeClass } from "./index-CJmKJOqY.js";
|
||||
import { d as defineComponent, o as openBlock, f as createElementBlock, J as renderSlot, T as normalizeClass } from "./index-De3LoLTp.js";
|
||||
const _sfc_main = /* @__PURE__ */ defineComponent({
|
||||
__name: "BaseViewTemplate",
|
||||
props: {
|
||||
@ -20,4 +20,4 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
||||
export {
|
||||
_sfc_main as _
|
||||
};
|
||||
//# sourceMappingURL=BaseViewTemplate-B0LQc8op.js.map
|
||||
//# sourceMappingURL=BaseViewTemplate-BklhdMAh.js.map
|
@ -1 +1 @@
|
||||
{"version":3,"file":"BaseViewTemplate-B0LQc8op.js","sources":["../../src/views/templates/BaseViewTemplate.vue"],"sourcesContent":["<template>\n <div\n class=\"font-sans w-screen h-screen flex items-center justify-center pointer-events-auto overflow-auto\"\n :class=\"[\n props.dark\n ? 'text-neutral-300 bg-neutral-900 dark-theme'\n : 'text-neutral-900 bg-neutral-300'\n ]\"\n >\n <slot></slot>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nconst props = withDefaults(\n defineProps<{\n dark: boolean\n }>(),\n {\n dark: false\n }\n)\n</script>\n"],"names":[],"mappings":";;;;;;;AAcA,UAAM,QAAQ;;;;;;;;;;;;"}
|
||||
{"version":3,"file":"BaseViewTemplate-BklhdMAh.js","sources":["../../src/views/templates/BaseViewTemplate.vue"],"sourcesContent":["<template>\n <div\n class=\"font-sans w-screen h-screen flex items-center justify-center pointer-events-auto overflow-auto\"\n :class=\"[\n props.dark\n ? 'text-neutral-300 bg-neutral-900 dark-theme'\n : 'text-neutral-900 bg-neutral-300'\n ]\"\n >\n <slot></slot>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nconst props = withDefaults(\n defineProps<{\n dark: boolean\n }>(),\n {\n dark: false\n }\n)\n</script>\n"],"names":[],"mappings":";;;;;;;AAcA,UAAM,QAAQ;;;;;;;;;;;;"}
|
6
web/assets/DownloadGitView-DQDB-HO6.js → web/assets/DownloadGitView-DgH7MV_l.js
generated
vendored
6
web/assets/DownloadGitView-DQDB-HO6.js → web/assets/DownloadGitView-DgH7MV_l.js
generated
vendored
@ -1,7 +1,7 @@
|
||||
var __defProp = Object.defineProperty;
|
||||
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
||||
import { d as defineComponent, o as openBlock, k as createBlock, M as withCtx, H as createBaseVNode, X as toDisplayString, N as createVNode, j as unref, l as script, bW as useRouter } from "./index-CJmKJOqY.js";
|
||||
import { _ as _sfc_main$1 } from "./BaseViewTemplate-B0LQc8op.js";
|
||||
import { d as defineComponent, o as openBlock, k as createBlock, M as withCtx, H as createBaseVNode, X as toDisplayString, N as createVNode, j as unref, l as script, bW as useRouter } from "./index-De3LoLTp.js";
|
||||
import { _ as _sfc_main$1 } from "./BaseViewTemplate-BklhdMAh.js";
|
||||
const _hoisted_1 = { class: "max-w-screen-sm flex flex-col gap-8 p-8 bg-[url('/assets/images/Git-Logo-White.svg')] bg-no-repeat bg-right-top bg-origin-padding" };
|
||||
const _hoisted_2 = { class: "mt-24 text-4xl font-bold text-red-500" };
|
||||
const _hoisted_3 = { class: "space-y-4" };
|
||||
@ -55,4 +55,4 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
||||
export {
|
||||
_sfc_main as default
|
||||
};
|
||||
//# sourceMappingURL=DownloadGitView-DQDB-HO6.js.map
|
||||
//# sourceMappingURL=DownloadGitView-DgH7MV_l.js.map
|
@ -1 +1 @@
|
||||
{"version":3,"file":"DownloadGitView-DQDB-HO6.js","sources":["../../src/views/DownloadGitView.vue"],"sourcesContent":["<template>\n <BaseViewTemplate>\n <div\n class=\"max-w-screen-sm flex flex-col gap-8 p-8 bg-[url('/assets/images/Git-Logo-White.svg')] bg-no-repeat bg-right-top bg-origin-padding\"\n >\n <!-- Header -->\n <h1 class=\"mt-24 text-4xl font-bold text-red-500\">\n {{ $t('downloadGit.title') }}\n </h1>\n\n <!-- Message -->\n <div class=\"space-y-4\">\n <p class=\"text-xl\">\n {{ $t('downloadGit.message') }}\n </p>\n <p class=\"text-xl\">\n {{ $t('downloadGit.instructions') }}\n </p>\n <p class=\"text-m\">\n {{ $t('downloadGit.warning') }}\n </p>\n </div>\n\n <!-- Actions -->\n <div class=\"flex gap-4 flex-row-reverse\">\n <Button\n :label=\"$t('downloadGit.gitWebsite')\"\n icon=\"pi pi-external-link\"\n icon-pos=\"right\"\n @click=\"openGitDownloads\"\n severity=\"primary\"\n />\n <Button\n :label=\"$t('downloadGit.skip')\"\n icon=\"pi pi-exclamation-triangle\"\n @click=\"skipGit\"\n severity=\"secondary\"\n />\n </div>\n </div>\n </BaseViewTemplate>\n</template>\n\n<script setup lang=\"ts\">\nimport Button from 'primevue/button'\nimport { useRouter } from 'vue-router'\n\nimport BaseViewTemplate from '@/views/templates/BaseViewTemplate.vue'\n\nconst openGitDownloads = () => {\n window.open('https://git-scm.com/downloads/', '_blank')\n}\n\nconst skipGit = () => {\n console.warn('pushing')\n const router = useRouter()\n router.push('install')\n}\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAiDA,UAAM,mBAAmB,6BAAM;AACtB,aAAA,KAAK,kCAAkC,QAAQ;AAAA,IAAA,GAD/B;AAIzB,UAAM,UAAU,6BAAM;AACpB,cAAQ,KAAK,SAAS;AACtB,YAAM,SAAS;AACf,aAAO,KAAK,SAAS;AAAA,IAAA,GAHP;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
||||
{"version":3,"file":"DownloadGitView-DgH7MV_l.js","sources":["../../src/views/DownloadGitView.vue"],"sourcesContent":["<template>\n <BaseViewTemplate>\n <div\n class=\"max-w-screen-sm flex flex-col gap-8 p-8 bg-[url('/assets/images/Git-Logo-White.svg')] bg-no-repeat bg-right-top bg-origin-padding\"\n >\n <!-- Header -->\n <h1 class=\"mt-24 text-4xl font-bold text-red-500\">\n {{ $t('downloadGit.title') }}\n </h1>\n\n <!-- Message -->\n <div class=\"space-y-4\">\n <p class=\"text-xl\">\n {{ $t('downloadGit.message') }}\n </p>\n <p class=\"text-xl\">\n {{ $t('downloadGit.instructions') }}\n </p>\n <p class=\"text-m\">\n {{ $t('downloadGit.warning') }}\n </p>\n </div>\n\n <!-- Actions -->\n <div class=\"flex gap-4 flex-row-reverse\">\n <Button\n :label=\"$t('downloadGit.gitWebsite')\"\n icon=\"pi pi-external-link\"\n icon-pos=\"right\"\n @click=\"openGitDownloads\"\n severity=\"primary\"\n />\n <Button\n :label=\"$t('downloadGit.skip')\"\n icon=\"pi pi-exclamation-triangle\"\n @click=\"skipGit\"\n severity=\"secondary\"\n />\n </div>\n </div>\n </BaseViewTemplate>\n</template>\n\n<script setup lang=\"ts\">\nimport Button from 'primevue/button'\nimport { useRouter } from 'vue-router'\n\nimport BaseViewTemplate from '@/views/templates/BaseViewTemplate.vue'\n\nconst openGitDownloads = () => {\n window.open('https://git-scm.com/downloads/', '_blank')\n}\n\nconst skipGit = () => {\n console.warn('pushing')\n const router = useRouter()\n router.push('install')\n}\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAiDA,UAAM,mBAAmB,6BAAM;AACtB,aAAA,KAAK,kCAAkC,QAAQ;AAAA,IAAA,GAD/B;AAIzB,UAAM,UAAU,6BAAM;AACpB,cAAQ,KAAK,SAAS;AACtB,YAAM,SAAS;AACf,aAAO,KAAK,SAAS;AAAA,IAAA,GAHP;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
10
web/assets/ExtensionPanel-DD57Voiq.js → web/assets/ExtensionPanel-DI1v0QVi.js
generated
vendored
10
web/assets/ExtensionPanel-DD57Voiq.js → web/assets/ExtensionPanel-DI1v0QVi.js
generated
vendored
@ -1,9 +1,9 @@
|
||||
var __defProp = Object.defineProperty;
|
||||
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
||||
import { d as defineComponent, ab as ref, cn as FilterMatchMode, cs as useExtensionStore, a as useSettingStore, m as onMounted, c as computed, o as openBlock, k as createBlock, M as withCtx, N as createVNode, co as SearchBox, j as unref, bZ as script, H as createBaseVNode, f as createElementBlock, E as renderList, X as toDisplayString, aE as createTextVNode, F as Fragment, l as script$1, I as createCommentVNode, aI as script$3, bO as script$4, c4 as script$5, cp as _sfc_main$1 } from "./index-CJmKJOqY.js";
|
||||
import { s as script$2, a as script$6 } from "./index-CE7gF1Ni.js";
|
||||
import "./index-xXycuGHJ.js";
|
||||
import "./index-DAh4IuBR.js";
|
||||
import { d as defineComponent, ab as ref, cn as FilterMatchMode, cs as useExtensionStore, a as useSettingStore, m as onMounted, c as computed, o as openBlock, k as createBlock, M as withCtx, N as createVNode, co as SearchBox, j as unref, bZ as script, H as createBaseVNode, f as createElementBlock, E as renderList, X as toDisplayString, aE as createTextVNode, F as Fragment, l as script$1, I as createCommentVNode, aI as script$3, bO as script$4, c4 as script$5, cp as _sfc_main$1 } from "./index-De3LoLTp.js";
|
||||
import { s as script$2, a as script$6 } from "./index-BCSm_DIF.js";
|
||||
import "./index-UBW0i6QV.js";
|
||||
import "./index-BwVbIa1-.js";
|
||||
const _hoisted_1 = { class: "flex justify-end" };
|
||||
const _sfc_main = /* @__PURE__ */ defineComponent({
|
||||
__name: "ExtensionPanel",
|
||||
@ -180,4 +180,4 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
||||
export {
|
||||
_sfc_main as default
|
||||
};
|
||||
//# sourceMappingURL=ExtensionPanel-DD57Voiq.js.map
|
||||
//# sourceMappingURL=ExtensionPanel-DI1v0QVi.js.map
|
File diff suppressed because one or more lines are too long
26
web/assets/GraphView-BxwJvm2y.js → web/assets/GraphView-CMQkCEwZ.js
generated
vendored
26
web/assets/GraphView-BxwJvm2y.js → web/assets/GraphView-CMQkCEwZ.js
generated
vendored
@ -1,11 +1,11 @@
|
||||
var __defProp = Object.defineProperty;
|
||||
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
||||
import { d as defineComponent, u as useExecutionStore, c as computed, a as useSettingStore, b as useWorkflowStore, e as useTitle, o as openBlock, f as createElementBlock, g as useWorkspaceStore, w as watchEffect, h as app, r as resolveDirective, i as withDirectives, v as vShow, j as unref, k as createBlock, n as normalizeStyle, s as showNativeMenu, l as script$d, _ as _export_sfc, m as onMounted, p as onBeforeUnmount, B as BaseStyle, q as script$e, t as getWidth, x as getHeight, y as getOuterWidth, z as getOuterHeight, A as getVNodeProp, C as isArray, D as mergeProps, F as Fragment, E as renderList, G as resolveDynamicComponent, H as createBaseVNode, I as createCommentVNode, J as renderSlot, K as useSidebarTabStore, L as useBottomPanelStore, M as withCtx, N as createVNode, O as getAttribute, P as findSingle, Q as focus, R as equals, S as Ripple, T as normalizeClass, U as getOffset, V as script$f, W as script$g, X as toDisplayString, Y as script$h, Z as markRaw, $ as defineStore, a0 as shallowRef, a1 as useI18n, a2 as useCommandStore, a3 as LiteGraph, a4 as useColorPaletteStore, a5 as watch, a6 as useNodeDefStore, a7 as BadgePosition, a8 as LGraphBadge, a9 as _, aa as NodeBadgeMode, ab as ref, ac as useEventListener, ad as nextTick, ae as st, af as normalizeI18nKey, ag as LGraphGroup, ah as LGraphNode, ai as EditableText, aj as isNotEmpty, ak as UniqueComponentId, al as ZIndex, am as resolveFieldData, an as OverlayEventBus, ao as isEmpty, ap as addStyle, aq as relativePosition, ar as absolutePosition, as as ConnectedOverlayScrollHandler, at as isTouchDevice, au as findLastIndex, av as script$i, aw as script$j, ax as script$k, ay as script$l, az as script$m, aA as script$n, aB as resolveComponent, aC as Transition, aD as createSlots, aE as createTextVNode, aF as useNodeFrequencyStore, aG as useNodeBookmarkStore, aH as highlightQuery, aI as script$o, aJ as formatNumberWithSuffix, aK as NodeSourceType, aL as pushScopeId, aM as popScopeId, aN as NodePreview, aO as NodeSearchFilter, aP as script$p, aQ as SearchFilterChip, aR as useLitegraphService, aS as storeToRefs, aT as isRef, aU as toRaw, aV as LinkReleaseTriggerAction, aW as script$q, aX as useUserStore, aY as useDialogStore, aZ as SettingDialogHeader, a_ as SettingDialogContent, a$ as useKeybindingStore, b0 as Teleport, b1 as LinkMarkerShape, b2 as useModelToNodeStore, b3 as CanvasPointer, b4 as IS_CONTROL_WIDGET, b5 as updateControlWidgetLabel, b6 as useColorPaletteService, b7 as setStorageValue, b8 as api, b9 as usePragmaticDroppable, ba as LGraph, bb as LLink, bc as DragAndScale, bd as LGraphCanvas, be as ContextMenu, bf as ChangeTracker, bg as useWorkflowService, bh as ComfyNodeDefImpl, bi as ComfyModelDef, bj as script$r, bk as script$s, bl as script$t, bm as script$u, bn as script$v, bo as normalizeProps, bp as ToastEventBus, bq as setAttribute, br as TransitionGroup, bs as useToast, bt as useToastStore, bu as resolve, bv as nestedPosition, bw as script$w, bx as isPrintableCharacter, by as useQueueSettingsStore, bz as script$x, bA as useQueuePendingTaskCountStore, bB as useLocalStorage, bC as useDraggable, bD as watchDebounced, bE as inject, bF as useElementBounding, bG as lodashExports, bH as useEventBus, bI as script$z, bJ as guardReactiveProps, bK as useMenuItemStore, bL as usePragmaticDraggable, bM as withModifiers, bN as script$B, bO as script$C, bP as provide, bQ as script$D, bR as useDialogService, bS as LGraphEventMode, bT as useQueueStore, bU as i18n, bV as useModelStore } from "./index-CJmKJOqY.js";
|
||||
import { s as script$y } from "./index-COz_BRFJ.js";
|
||||
import { s as script$A } from "./index-xXycuGHJ.js";
|
||||
import { u as useKeybindingService } from "./keybindingService-DyirEpoV.js";
|
||||
import { u as useServerConfigStore } from "./serverConfigStore-CCtRsrpA.js";
|
||||
import "./index-DAh4IuBR.js";
|
||||
import { d as defineComponent, u as useExecutionStore, c as computed, a as useSettingStore, b as useWorkflowStore, e as useTitle, o as openBlock, f as createElementBlock, g as useWorkspaceStore, w as watchEffect, h as app, r as resolveDirective, i as withDirectives, v as vShow, j as unref, k as createBlock, n as normalizeStyle, s as showNativeMenu, l as script$d, _ as _export_sfc, m as onMounted, p as onBeforeUnmount, B as BaseStyle, q as script$e, t as getWidth, x as getHeight, y as getOuterWidth, z as getOuterHeight, A as getVNodeProp, C as isArray, D as mergeProps, F as Fragment, E as renderList, G as resolveDynamicComponent, H as createBaseVNode, I as createCommentVNode, J as renderSlot, K as useSidebarTabStore, L as useBottomPanelStore, M as withCtx, N as createVNode, O as getAttribute, P as findSingle, Q as focus, R as equals, S as Ripple, T as normalizeClass, U as getOffset, V as script$f, W as script$g, X as toDisplayString, Y as script$h, Z as markRaw, $ as defineStore, a0 as shallowRef, a1 as useI18n, a2 as useCommandStore, a3 as LiteGraph, a4 as useColorPaletteStore, a5 as watch, a6 as useNodeDefStore, a7 as BadgePosition, a8 as LGraphBadge, a9 as _, aa as NodeBadgeMode, ab as ref, ac as useEventListener, ad as nextTick, ae as st, af as normalizeI18nKey, ag as LGraphGroup, ah as LGraphNode, ai as EditableText, aj as isNotEmpty, ak as UniqueComponentId, al as ZIndex, am as resolveFieldData, an as OverlayEventBus, ao as isEmpty, ap as addStyle, aq as relativePosition, ar as absolutePosition, as as ConnectedOverlayScrollHandler, at as isTouchDevice, au as findLastIndex, av as script$i, aw as script$j, ax as script$k, ay as script$l, az as script$m, aA as script$n, aB as resolveComponent, aC as Transition, aD as createSlots, aE as createTextVNode, aF as useNodeFrequencyStore, aG as useNodeBookmarkStore, aH as highlightQuery, aI as script$o, aJ as formatNumberWithSuffix, aK as NodeSourceType, aL as pushScopeId, aM as popScopeId, aN as NodePreview, aO as NodeSearchFilter, aP as script$p, aQ as SearchFilterChip, aR as useLitegraphService, aS as storeToRefs, aT as isRef, aU as toRaw, aV as LinkReleaseTriggerAction, aW as script$q, aX as useUserStore, aY as useDialogStore, aZ as SettingDialogHeader, a_ as SettingDialogContent, a$ as useKeybindingStore, b0 as Teleport, b1 as LinkMarkerShape, b2 as useModelToNodeStore, b3 as CanvasPointer, b4 as IS_CONTROL_WIDGET, b5 as updateControlWidgetLabel, b6 as useColorPaletteService, b7 as setStorageValue, b8 as api, b9 as usePragmaticDroppable, ba as LGraph, bb as LLink, bc as DragAndScale, bd as LGraphCanvas, be as ContextMenu, bf as ChangeTracker, bg as useWorkflowService, bh as ComfyNodeDefImpl, bi as ComfyModelDef, bj as script$r, bk as script$s, bl as script$t, bm as script$u, bn as script$v, bo as normalizeProps, bp as ToastEventBus, bq as setAttribute, br as TransitionGroup, bs as useToast, bt as useToastStore, bu as resolve, bv as nestedPosition, bw as script$w, bx as isPrintableCharacter, by as useQueueSettingsStore, bz as script$x, bA as useQueuePendingTaskCountStore, bB as useLocalStorage, bC as useDraggable, bD as watchDebounced, bE as inject, bF as useElementBounding, bG as lodashExports, bH as useEventBus, bI as script$z, bJ as guardReactiveProps, bK as useMenuItemStore, bL as usePragmaticDraggable, bM as withModifiers, bN as script$B, bO as script$C, bP as provide, bQ as script$D, bR as useDialogService, bS as LGraphEventMode, bT as useQueueStore, bU as i18n, bV as useModelStore } from "./index-De3LoLTp.js";
|
||||
import { s as script$y } from "./index-Cga7cgPc.js";
|
||||
import { s as script$A } from "./index-UBW0i6QV.js";
|
||||
import { u as useKeybindingService } from "./keybindingService-BlJ-gQG4.js";
|
||||
import { u as useServerConfigStore } from "./serverConfigStore-BuuMHphX.js";
|
||||
import "./index-BwVbIa1-.js";
|
||||
const DEFAULT_TITLE = "ComfyUI";
|
||||
const TITLE_SUFFIX = " - ComfyUI";
|
||||
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
||||
@ -9239,8 +9239,9 @@ const SERVER_CONFIG_ITEMS = [
|
||||
];
|
||||
function useCoreCommands() {
|
||||
const workflowService = useWorkflowService();
|
||||
const workflowStore = useWorkflowStore();
|
||||
const dialogService = useDialogService();
|
||||
const getTracker = /* @__PURE__ */ __name(() => useWorkflowStore()?.activeWorkflow?.changeTracker, "getTracker");
|
||||
const getTracker = /* @__PURE__ */ __name(() => workflowStore.activeWorkflow?.changeTracker, "getTracker");
|
||||
const getSelectedNodes = /* @__PURE__ */ __name(() => {
|
||||
const selectedNodes = app.canvas.selected_nodes;
|
||||
const result = [];
|
||||
@ -9714,6 +9715,15 @@ function useCoreCommands() {
|
||||
function: /* @__PURE__ */ __name(() => {
|
||||
dialogService.showSettingsDialog("about");
|
||||
}, "function")
|
||||
},
|
||||
{
|
||||
id: "Comfy.DuplicateWorkflow",
|
||||
icon: "pi pi-clone",
|
||||
label: "Duplicate Current Workflow",
|
||||
versionAdded: "1.6.15",
|
||||
function: /* @__PURE__ */ __name(() => {
|
||||
workflowService.duplicateWorkflow(workflowStore.activeWorkflow);
|
||||
}, "function")
|
||||
}
|
||||
];
|
||||
}
|
||||
@ -9881,4 +9891,4 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
||||
export {
|
||||
_sfc_main as default
|
||||
};
|
||||
//# sourceMappingURL=GraphView-BxwJvm2y.js.map
|
||||
//# sourceMappingURL=GraphView-CMQkCEwZ.js.map
|
2
web/assets/GraphView-BxwJvm2y.js.map → web/assets/GraphView-CMQkCEwZ.js.map
generated
vendored
2
web/assets/GraphView-BxwJvm2y.js.map → web/assets/GraphView-CMQkCEwZ.js.map
generated
vendored
File diff suppressed because one or more lines are too long
6
web/assets/InstallView-DqAyB7E0.js → web/assets/InstallView-QxhYK8M7.js
generated
vendored
6
web/assets/InstallView-DqAyB7E0.js → web/assets/InstallView-QxhYK8M7.js
generated
vendored
@ -1,7 +1,7 @@
|
||||
var __defProp = Object.defineProperty;
|
||||
var __name = (target, value2) => __defProp(target, "name", { value: value2, configurable: true });
|
||||
import { B as BaseStyle, q as script$6, o as openBlock, f as createElementBlock, D as mergeProps, c1 as findIndexInList, c2 as find, aB as resolveComponent, k as createBlock, G as resolveDynamicComponent, M as withCtx, H as createBaseVNode, X as toDisplayString, J as renderSlot, I as createCommentVNode, T as normalizeClass, P as findSingle, F as Fragment, aC as Transition, i as withDirectives, v as vShow, ak as UniqueComponentId, d as defineComponent, ab as ref, c3 as useModel, N as createVNode, j as unref, c4 as script$7, bQ as script$8, bM as withModifiers, aP as script$9, a1 as useI18n, c as computed, aI as script$a, aE as createTextVNode, c0 as electronAPI, m as onMounted, r as resolveDirective, av as script$b, c5 as script$c, c6 as script$d, l as script$e, bZ as script$f, c7 as MigrationItems, w as watchEffect, E as renderList, c8 as script$g, bW as useRouter, aL as pushScopeId, aM as popScopeId, aU as toRaw, _ as _export_sfc } from "./index-CJmKJOqY.js";
|
||||
import { _ as _sfc_main$5 } from "./BaseViewTemplate-B0LQc8op.js";
|
||||
import { B as BaseStyle, q as script$6, o as openBlock, f as createElementBlock, D as mergeProps, c1 as findIndexInList, c2 as find, aB as resolveComponent, k as createBlock, G as resolveDynamicComponent, M as withCtx, H as createBaseVNode, X as toDisplayString, J as renderSlot, I as createCommentVNode, T as normalizeClass, P as findSingle, F as Fragment, aC as Transition, i as withDirectives, v as vShow, ak as UniqueComponentId, d as defineComponent, ab as ref, c3 as useModel, N as createVNode, j as unref, c4 as script$7, bQ as script$8, bM as withModifiers, aP as script$9, a1 as useI18n, c as computed, aI as script$a, aE as createTextVNode, c0 as electronAPI, m as onMounted, r as resolveDirective, av as script$b, c5 as script$c, c6 as script$d, l as script$e, bZ as script$f, c7 as MigrationItems, w as watchEffect, E as renderList, c8 as script$g, bW as useRouter, aL as pushScopeId, aM as popScopeId, aU as toRaw, _ as _export_sfc } from "./index-De3LoLTp.js";
|
||||
import { _ as _sfc_main$5 } from "./BaseViewTemplate-BklhdMAh.js";
|
||||
var classes$4 = {
|
||||
root: /* @__PURE__ */ __name(function root(_ref) {
|
||||
var instance = _ref.instance;
|
||||
@ -1285,4 +1285,4 @@ const InstallView = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-
|
||||
export {
|
||||
InstallView as default
|
||||
};
|
||||
//# sourceMappingURL=InstallView-DqAyB7E0.js.map
|
||||
//# sourceMappingURL=InstallView-QxhYK8M7.js.map
|
2
web/assets/InstallView-DqAyB7E0.js.map → web/assets/InstallView-QxhYK8M7.js.map
generated
vendored
2
web/assets/InstallView-DqAyB7E0.js.map → web/assets/InstallView-QxhYK8M7.js.map
generated
vendored
File diff suppressed because one or more lines are too long
12
web/assets/KeybindingPanel-BgTYaG-o.js → web/assets/KeybindingPanel-BAf87LRH.js
generated
vendored
12
web/assets/KeybindingPanel-BgTYaG-o.js → web/assets/KeybindingPanel-BAf87LRH.js
generated
vendored
@ -1,10 +1,10 @@
|
||||
var __defProp = Object.defineProperty;
|
||||
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
||||
import { d as defineComponent, c as computed, o as openBlock, f as createElementBlock, F as Fragment, E as renderList, N as createVNode, M as withCtx, aE as createTextVNode, X as toDisplayString, j as unref, aI as script, I as createCommentVNode, ab as ref, cn as FilterMatchMode, a$ as useKeybindingStore, a2 as useCommandStore, a1 as useI18n, af as normalizeI18nKey, w as watchEffect, bs as useToast, r as resolveDirective, k as createBlock, co as SearchBox, H as createBaseVNode, l as script$2, av as script$4, bM as withModifiers, bZ as script$5, aP as script$6, i as withDirectives, cp as _sfc_main$2, aL as pushScopeId, aM as popScopeId, cq as KeyComboImpl, cr as KeybindingImpl, _ as _export_sfc } from "./index-CJmKJOqY.js";
|
||||
import { s as script$1, a as script$3 } from "./index-CE7gF1Ni.js";
|
||||
import { u as useKeybindingService } from "./keybindingService-DyirEpoV.js";
|
||||
import "./index-xXycuGHJ.js";
|
||||
import "./index-DAh4IuBR.js";
|
||||
import { d as defineComponent, c as computed, o as openBlock, f as createElementBlock, F as Fragment, E as renderList, N as createVNode, M as withCtx, aE as createTextVNode, X as toDisplayString, j as unref, aI as script, I as createCommentVNode, ab as ref, cn as FilterMatchMode, a$ as useKeybindingStore, a2 as useCommandStore, a1 as useI18n, af as normalizeI18nKey, w as watchEffect, bs as useToast, r as resolveDirective, k as createBlock, co as SearchBox, H as createBaseVNode, l as script$2, av as script$4, bM as withModifiers, bZ as script$5, aP as script$6, i as withDirectives, cp as _sfc_main$2, aL as pushScopeId, aM as popScopeId, cq as KeyComboImpl, cr as KeybindingImpl, _ as _export_sfc } from "./index-De3LoLTp.js";
|
||||
import { s as script$1, a as script$3 } from "./index-BCSm_DIF.js";
|
||||
import { u as useKeybindingService } from "./keybindingService-BlJ-gQG4.js";
|
||||
import "./index-UBW0i6QV.js";
|
||||
import "./index-BwVbIa1-.js";
|
||||
const _hoisted_1$1 = {
|
||||
key: 0,
|
||||
class: "px-2"
|
||||
@ -281,4 +281,4 @@ const KeybindingPanel = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "d
|
||||
export {
|
||||
KeybindingPanel as default
|
||||
};
|
||||
//# sourceMappingURL=KeybindingPanel-BgTYaG-o.js.map
|
||||
//# sourceMappingURL=KeybindingPanel-BAf87LRH.js.map
|
File diff suppressed because one or more lines are too long
@ -1,9 +1,9 @@
|
||||
var __defProp = Object.defineProperty;
|
||||
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
||||
import { d as defineComponent, a1 as useI18n, ab as ref, m as onMounted, o as openBlock, k as createBlock, M as withCtx, H as createBaseVNode, X as toDisplayString, N as createVNode, j as unref, aI as script, l as script$2, c0 as electronAPI } from "./index-CJmKJOqY.js";
|
||||
import { s as script$1 } from "./index-COz_BRFJ.js";
|
||||
import { _ as _sfc_main$1 } from "./BaseViewTemplate-B0LQc8op.js";
|
||||
import "./index-DAh4IuBR.js";
|
||||
import { d as defineComponent, a1 as useI18n, ab as ref, m as onMounted, o as openBlock, k as createBlock, M as withCtx, H as createBaseVNode, X as toDisplayString, N as createVNode, j as unref, aI as script, l as script$2, c0 as electronAPI } from "./index-De3LoLTp.js";
|
||||
import { s as script$1 } from "./index-Cga7cgPc.js";
|
||||
import { _ as _sfc_main$1 } from "./BaseViewTemplate-BklhdMAh.js";
|
||||
import "./index-BwVbIa1-.js";
|
||||
const _hoisted_1 = { class: "comfy-installer grow flex flex-col gap-4 text-neutral-300 max-w-110" };
|
||||
const _hoisted_2 = { class: "text-2xl font-semibold text-neutral-100" };
|
||||
const _hoisted_3 = { class: "m-1 text-neutral-300" };
|
||||
@ -72,4 +72,4 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
||||
export {
|
||||
_sfc_main as default
|
||||
};
|
||||
//# sourceMappingURL=ManualConfigurationView-DSS3RMY3.js.map
|
||||
//# sourceMappingURL=ManualConfigurationView-BzOtCClW.js.map
|
@ -1 +1 @@
|
||||
{"version":3,"file":"ManualConfigurationView-DSS3RMY3.js","sources":["../../src/views/ManualConfigurationView.vue"],"sourcesContent":["<template>\n <BaseViewTemplate dark>\n <!-- Installation Path Section -->\n <div\n class=\"comfy-installer grow flex flex-col gap-4 text-neutral-300 max-w-110\"\n >\n <h2 class=\"text-2xl font-semibold text-neutral-100\">\n {{ $t('install.manualConfiguration.title') }}\n </h2>\n\n <p class=\"m-1 text-neutral-300\">\n <Tag\n icon=\"pi pi-exclamation-triangle\"\n severity=\"warn\"\n :value=\"t('icon.exclamation-triangle')\"\n ></Tag>\n <strong class=\"ml-2\">{{\n $t('install.gpuSelection.customComfyNeedsPython')\n }}</strong>\n </p>\n\n <div>\n <p class=\"m-1 mb-4\">\n {{ $t('install.manualConfiguration.requirements') }}:\n </p>\n <ul class=\"m-0\">\n <li>{{ $t('install.gpuSelection.customManualVenv') }}</li>\n <li>{{ $t('install.gpuSelection.customInstallRequirements') }}</li>\n </ul>\n </div>\n\n <p class=\"m-1\">{{ $t('install.manualConfiguration.createVenv') }}:</p>\n\n <Panel :header=\"t('install.manualConfiguration.virtualEnvironmentPath')\">\n <span class=\"font-mono\">{{ `${basePath}${sep}.venv${sep}` }}</span>\n </Panel>\n\n <p class=\"m-1\">\n {{ $t('install.manualConfiguration.restartWhenFinished') }}\n </p>\n\n <Button\n class=\"place-self-end\"\n :label=\"t('menuLabels.Restart')\"\n severity=\"warn\"\n icon=\"pi pi-refresh\"\n @click=\"restartApp('Manual configuration complete')\"\n />\n </div>\n </BaseViewTemplate>\n</template>\n\n<script setup lang=\"ts\">\nimport Button from 'primevue/button'\nimport Panel from 'primevue/panel'\nimport Tag from 'primevue/tag'\nimport { onMounted, ref } from 'vue'\nimport { useI18n } from 'vue-i18n'\n\nimport { electronAPI } from '@/utils/envUtil'\nimport BaseViewTemplate from '@/views/templates/BaseViewTemplate.vue'\n\nconst { t } = useI18n()\n\nconst electron = electronAPI()\n\nconst basePath = ref<string>(null)\nconst sep = ref<'\\\\' | '/'>('/')\n\nconst restartApp = (message?: string) => electron.restartApp(message)\n\nonMounted(async () => {\n basePath.value = await electron.getBasePath()\n if (basePath.value.indexOf('/') === -1) sep.value = '\\\\'\n})\n</script>\n\n<style>\n:root {\n --p-tag-gap: 0.5rem;\n}\n\n.comfy-installer {\n margin-top: max(1rem, max(0px, calc((100vh - 42rem) * 0.5)));\n}\n</style>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AA8DM,UAAA,EAAE,MAAM;AAEd,UAAM,WAAW;AAEX,UAAA,WAAW,IAAY,IAAI;AAC3B,UAAA,MAAM,IAAgB,GAAG;AAE/B,UAAM,aAAa,wBAAC,YAAqB,SAAS,WAAW,OAAO,GAAjD;AAEnB,cAAU,YAAY;AACX,eAAA,QAAQ,MAAM,SAAS,YAAY;AAC5C,UAAI,SAAS,MAAM,QAAQ,GAAG,MAAM,QAAQ,QAAQ;AAAA,IAAA,CACrD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
||||
{"version":3,"file":"ManualConfigurationView-BzOtCClW.js","sources":["../../src/views/ManualConfigurationView.vue"],"sourcesContent":["<template>\n <BaseViewTemplate dark>\n <!-- Installation Path Section -->\n <div\n class=\"comfy-installer grow flex flex-col gap-4 text-neutral-300 max-w-110\"\n >\n <h2 class=\"text-2xl font-semibold text-neutral-100\">\n {{ $t('install.manualConfiguration.title') }}\n </h2>\n\n <p class=\"m-1 text-neutral-300\">\n <Tag\n icon=\"pi pi-exclamation-triangle\"\n severity=\"warn\"\n :value=\"t('icon.exclamation-triangle')\"\n ></Tag>\n <strong class=\"ml-2\">{{\n $t('install.gpuSelection.customComfyNeedsPython')\n }}</strong>\n </p>\n\n <div>\n <p class=\"m-1 mb-4\">\n {{ $t('install.manualConfiguration.requirements') }}:\n </p>\n <ul class=\"m-0\">\n <li>{{ $t('install.gpuSelection.customManualVenv') }}</li>\n <li>{{ $t('install.gpuSelection.customInstallRequirements') }}</li>\n </ul>\n </div>\n\n <p class=\"m-1\">{{ $t('install.manualConfiguration.createVenv') }}:</p>\n\n <Panel :header=\"t('install.manualConfiguration.virtualEnvironmentPath')\">\n <span class=\"font-mono\">{{ `${basePath}${sep}.venv${sep}` }}</span>\n </Panel>\n\n <p class=\"m-1\">\n {{ $t('install.manualConfiguration.restartWhenFinished') }}\n </p>\n\n <Button\n class=\"place-self-end\"\n :label=\"t('menuLabels.Restart')\"\n severity=\"warn\"\n icon=\"pi pi-refresh\"\n @click=\"restartApp('Manual configuration complete')\"\n />\n </div>\n </BaseViewTemplate>\n</template>\n\n<script setup lang=\"ts\">\nimport Button from 'primevue/button'\nimport Panel from 'primevue/panel'\nimport Tag from 'primevue/tag'\nimport { onMounted, ref } from 'vue'\nimport { useI18n } from 'vue-i18n'\n\nimport { electronAPI } from '@/utils/envUtil'\nimport BaseViewTemplate from '@/views/templates/BaseViewTemplate.vue'\n\nconst { t } = useI18n()\n\nconst electron = electronAPI()\n\nconst basePath = ref<string>(null)\nconst sep = ref<'\\\\' | '/'>('/')\n\nconst restartApp = (message?: string) => electron.restartApp(message)\n\nonMounted(async () => {\n basePath.value = await electron.getBasePath()\n if (basePath.value.indexOf('/') === -1) sep.value = '\\\\'\n})\n</script>\n\n<style>\n:root {\n --p-tag-gap: 0.5rem;\n}\n\n.comfy-installer {\n margin-top: max(1rem, max(0px, calc((100vh - 42rem) * 0.5)));\n}\n</style>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AA8DM,UAAA,EAAE,MAAM;AAEd,UAAM,WAAW;AAEX,UAAA,WAAW,IAAY,IAAI;AAC3B,UAAA,MAAM,IAAgB,GAAG;AAE/B,UAAM,aAAa,wBAAC,YAAqB,SAAS,WAAW,OAAO,GAAjD;AAEnB,cAAU,YAAY;AACX,eAAA,QAAQ,MAAM,SAAS,YAAY;AAC5C,UAAI,SAAS,MAAM,QAAQ,GAAG,MAAM,QAAQ,QAAQ;AAAA,IAAA,CACrD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
6
web/assets/NotSupportedView-BIWFOYZV.js → web/assets/NotSupportedView-CB0a8PqQ.js
generated
vendored
6
web/assets/NotSupportedView-BIWFOYZV.js → web/assets/NotSupportedView-CB0a8PqQ.js
generated
vendored
@ -1,7 +1,7 @@
|
||||
var __defProp = Object.defineProperty;
|
||||
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
||||
import { d as defineComponent, bW as useRouter, r as resolveDirective, o as openBlock, k as createBlock, M as withCtx, H as createBaseVNode, X as toDisplayString, N as createVNode, j as unref, l as script, i as withDirectives } from "./index-CJmKJOqY.js";
|
||||
import { _ as _sfc_main$1 } from "./BaseViewTemplate-B0LQc8op.js";
|
||||
import { d as defineComponent, bW as useRouter, r as resolveDirective, o as openBlock, k as createBlock, M as withCtx, H as createBaseVNode, X as toDisplayString, N as createVNode, j as unref, l as script, i as withDirectives } from "./index-De3LoLTp.js";
|
||||
import { _ as _sfc_main$1 } from "./BaseViewTemplate-BklhdMAh.js";
|
||||
const _imports_0 = "" + new URL("images/sad_girl.png", import.meta.url).href;
|
||||
const _hoisted_1 = { class: "sad-container" };
|
||||
const _hoisted_2 = /* @__PURE__ */ createBaseVNode("img", {
|
||||
@ -83,4 +83,4 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
||||
export {
|
||||
_sfc_main as default
|
||||
};
|
||||
//# sourceMappingURL=NotSupportedView-BIWFOYZV.js.map
|
||||
//# sourceMappingURL=NotSupportedView-CB0a8PqQ.js.map
|
@ -1 +1 @@
|
||||
{"version":3,"file":"NotSupportedView-BIWFOYZV.js","sources":["../../../../../../../assets/images/sad_girl.png","../../src/views/NotSupportedView.vue"],"sourcesContent":["export default \"__VITE_PUBLIC_ASSET__b82952e7__\"","<template>\n <BaseViewTemplate>\n <div class=\"sad-container\">\n <!-- Right side image -->\n <img\n class=\"sad-girl\"\n src=\"/assets/images/sad_girl.png\"\n alt=\"Sad girl illustration\"\n />\n\n <div class=\"no-drag sad-text flex items-center\">\n <div class=\"flex flex-col gap-8 p-8 min-w-110\">\n <!-- Header -->\n <h1 class=\"text-4xl font-bold text-red-500\">\n {{ $t('notSupported.title') }}\n </h1>\n\n <!-- Message -->\n <div class=\"space-y-4\">\n <p class=\"text-xl\">\n {{ $t('notSupported.message') }}\n </p>\n <ul class=\"list-disc list-inside space-y-1 text-neutral-800\">\n <li>{{ $t('notSupported.supportedDevices.macos') }}</li>\n <li>{{ $t('notSupported.supportedDevices.windows') }}</li>\n </ul>\n </div>\n\n <!-- Actions -->\n <div class=\"flex gap-4\">\n <Button\n :label=\"$t('notSupported.learnMore')\"\n icon=\"pi pi-github\"\n @click=\"openDocs\"\n severity=\"secondary\"\n />\n <Button\n :label=\"$t('notSupported.reportIssue')\"\n icon=\"pi pi-flag\"\n @click=\"reportIssue\"\n severity=\"secondary\"\n />\n <Button\n :label=\"$t('notSupported.continue')\"\n icon=\"pi pi-arrow-right\"\n iconPos=\"right\"\n @click=\"continueToInstall\"\n severity=\"danger\"\n v-tooltip=\"$t('notSupported.continueTooltip')\"\n />\n </div>\n </div>\n </div>\n </div>\n </BaseViewTemplate>\n</template>\n\n<script setup lang=\"ts\">\nimport Button from 'primevue/button'\nimport { useRouter } from 'vue-router'\n\nimport BaseViewTemplate from '@/views/templates/BaseViewTemplate.vue'\n\nconst openDocs = () => {\n window.open(\n 'https://github.com/Comfy-Org/desktop#currently-supported-platforms',\n '_blank'\n )\n}\n\nconst reportIssue = () => {\n window.open('https://forum.comfy.org/c/v1-feedback/', '_blank')\n}\n\nconst router = useRouter()\nconst continueToInstall = () => {\n router.push('/install')\n}\n</script>\n\n<style>\n.sad-container {\n @apply grid items-center justify-evenly;\n grid-template-columns: 25rem 1fr;\n\n & > * {\n grid-row: 1;\n }\n}\n\n.sad-text {\n grid-column: 1/3;\n}\n\n.sad-girl {\n grid-column: 2/3;\n width: min(75vw, 100vh);\n}\n</style>\n"],"names":[],"mappings":";;;;AAAA,MAAe,aAAA,KAAA,IAAA,IAAA,uBAAA,YAAA,GAAA,EAAA;;;;;;;;;;;;;;;;;AC+Df,UAAM,WAAW,6BAAM;AACd,aAAA;AAAA,QACL;AAAA,QACA;AAAA,MAAA;AAAA,IACF,GAJe;AAOjB,UAAM,cAAc,6BAAM;AACjB,aAAA,KAAK,0CAA0C,QAAQ;AAAA,IAAA,GAD5C;AAIpB,UAAM,SAAS;AACf,UAAM,oBAAoB,6BAAM;AAC9B,aAAO,KAAK,UAAU;AAAA,IAAA,GADE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
||||
{"version":3,"file":"NotSupportedView-CB0a8PqQ.js","sources":["../../../../../../../assets/images/sad_girl.png","../../src/views/NotSupportedView.vue"],"sourcesContent":["export default \"__VITE_PUBLIC_ASSET__b82952e7__\"","<template>\n <BaseViewTemplate>\n <div class=\"sad-container\">\n <!-- Right side image -->\n <img\n class=\"sad-girl\"\n src=\"/assets/images/sad_girl.png\"\n alt=\"Sad girl illustration\"\n />\n\n <div class=\"no-drag sad-text flex items-center\">\n <div class=\"flex flex-col gap-8 p-8 min-w-110\">\n <!-- Header -->\n <h1 class=\"text-4xl font-bold text-red-500\">\n {{ $t('notSupported.title') }}\n </h1>\n\n <!-- Message -->\n <div class=\"space-y-4\">\n <p class=\"text-xl\">\n {{ $t('notSupported.message') }}\n </p>\n <ul class=\"list-disc list-inside space-y-1 text-neutral-800\">\n <li>{{ $t('notSupported.supportedDevices.macos') }}</li>\n <li>{{ $t('notSupported.supportedDevices.windows') }}</li>\n </ul>\n </div>\n\n <!-- Actions -->\n <div class=\"flex gap-4\">\n <Button\n :label=\"$t('notSupported.learnMore')\"\n icon=\"pi pi-github\"\n @click=\"openDocs\"\n severity=\"secondary\"\n />\n <Button\n :label=\"$t('notSupported.reportIssue')\"\n icon=\"pi pi-flag\"\n @click=\"reportIssue\"\n severity=\"secondary\"\n />\n <Button\n :label=\"$t('notSupported.continue')\"\n icon=\"pi pi-arrow-right\"\n iconPos=\"right\"\n @click=\"continueToInstall\"\n severity=\"danger\"\n v-tooltip=\"$t('notSupported.continueTooltip')\"\n />\n </div>\n </div>\n </div>\n </div>\n </BaseViewTemplate>\n</template>\n\n<script setup lang=\"ts\">\nimport Button from 'primevue/button'\nimport { useRouter } from 'vue-router'\n\nimport BaseViewTemplate from '@/views/templates/BaseViewTemplate.vue'\n\nconst openDocs = () => {\n window.open(\n 'https://github.com/Comfy-Org/desktop#currently-supported-platforms',\n '_blank'\n )\n}\n\nconst reportIssue = () => {\n window.open('https://forum.comfy.org/c/v1-feedback/', '_blank')\n}\n\nconst router = useRouter()\nconst continueToInstall = () => {\n router.push('/install')\n}\n</script>\n\n<style>\n.sad-container {\n @apply grid items-center justify-evenly;\n grid-template-columns: 25rem 1fr;\n\n & > * {\n grid-row: 1;\n }\n}\n\n.sad-text {\n grid-column: 1/3;\n}\n\n.sad-girl {\n grid-column: 2/3;\n width: min(75vw, 100vh);\n}\n</style>\n"],"names":[],"mappings":";;;;AAAA,MAAe,aAAA,KAAA,IAAA,IAAA,uBAAA,YAAA,GAAA,EAAA;;;;;;;;;;;;;;;;;AC+Df,UAAM,WAAW,6BAAM;AACd,aAAA;AAAA,QACL;AAAA,QACA;AAAA,MAAA;AAAA,IACF,GAJe;AAOjB,UAAM,cAAc,6BAAM;AACjB,aAAA,KAAK,0CAA0C,QAAQ;AAAA,IAAA,GAD5C;AAIpB,UAAM,SAAS;AACf,UAAM,oBAAoB,6BAAM;AAC9B,aAAO,KAAK,UAAU;AAAA,IAAA,GADE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
6
web/assets/ServerConfigPanel-gimLSzRq.js → web/assets/ServerConfigPanel-CB49rPGd.js
generated
vendored
6
web/assets/ServerConfigPanel-gimLSzRq.js → web/assets/ServerConfigPanel-CB49rPGd.js
generated
vendored
@ -1,7 +1,7 @@
|
||||
var __defProp = Object.defineProperty;
|
||||
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
||||
import { H as createBaseVNode, o as openBlock, f as createElementBlock, Z as markRaw, d as defineComponent, a as useSettingStore, aS as storeToRefs, a5 as watch, cO as useCopyToClipboard, a1 as useI18n, k as createBlock, M as withCtx, j as unref, bZ as script, X as toDisplayString, E as renderList, F as Fragment, N as createVNode, l as script$1, I as createCommentVNode, bQ as script$2, cP as FormItem, cp as _sfc_main$1, c0 as electronAPI } from "./index-CJmKJOqY.js";
|
||||
import { u as useServerConfigStore } from "./serverConfigStore-CCtRsrpA.js";
|
||||
import { H as createBaseVNode, o as openBlock, f as createElementBlock, Z as markRaw, d as defineComponent, a as useSettingStore, aS as storeToRefs, a5 as watch, cO as useCopyToClipboard, a1 as useI18n, k as createBlock, M as withCtx, j as unref, bZ as script, X as toDisplayString, E as renderList, F as Fragment, N as createVNode, l as script$1, I as createCommentVNode, bQ as script$2, cP as FormItem, cp as _sfc_main$1, c0 as electronAPI } from "./index-De3LoLTp.js";
|
||||
import { u as useServerConfigStore } from "./serverConfigStore-BuuMHphX.js";
|
||||
const _hoisted_1$1 = {
|
||||
viewBox: "0 0 24 24",
|
||||
width: "1.2em",
|
||||
@ -155,4 +155,4 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
||||
export {
|
||||
_sfc_main as default
|
||||
};
|
||||
//# sourceMappingURL=ServerConfigPanel-gimLSzRq.js.map
|
||||
//# sourceMappingURL=ServerConfigPanel-CB49rPGd.js.map
|
@ -1 +1 @@
|
||||
{"version":3,"file":"ServerConfigPanel-gimLSzRq.js","sources":["../../src/components/dialog/content/setting/ServerConfigPanel.vue"],"sourcesContent":["<template>\n <PanelTemplate value=\"Server-Config\" class=\"server-config-panel\">\n <template #header>\n <div class=\"flex flex-col gap-2\">\n <Message\n v-if=\"modifiedConfigs.length > 0\"\n severity=\"info\"\n pt:text=\"w-full\"\n >\n <p>\n {{ $t('serverConfig.modifiedConfigs') }}\n </p>\n <ul>\n <li v-for=\"config in modifiedConfigs\" :key=\"config.id\">\n {{ config.name }}: {{ config.initialValue }} → {{ config.value }}\n </li>\n </ul>\n <div class=\"flex justify-end gap-2\">\n <Button\n :label=\"$t('serverConfig.revertChanges')\"\n @click=\"revertChanges\"\n outlined\n />\n <Button\n :label=\"$t('serverConfig.restart')\"\n @click=\"restartApp\"\n outlined\n severity=\"danger\"\n />\n </div>\n </Message>\n <Message v-if=\"commandLineArgs\" severity=\"secondary\" pt:text=\"w-full\">\n <template #icon>\n <i-lucide:terminal class=\"text-xl font-bold\" />\n </template>\n <div class=\"flex items-center justify-between\">\n <p>{{ commandLineArgs }}</p>\n <Button\n icon=\"pi pi-clipboard\"\n @click=\"copyCommandLineArgs\"\n severity=\"secondary\"\n text\n />\n </div>\n </Message>\n </div>\n </template>\n <div\n v-for=\"([label, items], i) in Object.entries(serverConfigsByCategory)\"\n :key=\"label\"\n >\n <Divider v-if=\"i > 0\" />\n <h3>{{ $t(`serverConfigCategories.${label}`, label) }}</h3>\n <div v-for=\"item in items\" :key=\"item.name\" class=\"mb-4\">\n <FormItem\n :item=\"translateItem(item)\"\n v-model:formValue=\"item.value\"\n :id=\"item.id\"\n :labelClass=\"{\n 'text-highlight': item.initialValue !== item.value\n }\"\n />\n </div>\n </div>\n </PanelTemplate>\n</template>\n\n<script setup lang=\"ts\">\nimport { storeToRefs } from 'pinia'\nimport Button from 'primevue/button'\nimport Divider from 'primevue/divider'\nimport Message from 'primevue/message'\nimport { watch } from 'vue'\nimport { useI18n } from 'vue-i18n'\n\nimport FormItem from '@/components/common/FormItem.vue'\nimport type { ServerConfig } from '@/constants/serverConfig'\nimport { useCopyToClipboard } from '@/hooks/clipboardHooks'\nimport { useServerConfigStore } from '@/stores/serverConfigStore'\nimport { useSettingStore } from '@/stores/settingStore'\nimport type { FormItem as FormItemType } from '@/types/settingTypes'\nimport { electronAPI } from '@/utils/envUtil'\n\nimport PanelTemplate from './PanelTemplate.vue'\n\nconst settingStore = useSettingStore()\nconst serverConfigStore = useServerConfigStore()\nconst {\n serverConfigsByCategory,\n serverConfigValues,\n launchArgs,\n commandLineArgs,\n modifiedConfigs\n} = storeToRefs(serverConfigStore)\n\nconst revertChanges = () => {\n serverConfigStore.revertChanges()\n}\n\nconst restartApp = () => {\n electronAPI().restartApp()\n}\n\nwatch(launchArgs, (newVal) => {\n settingStore.set('Comfy.Server.LaunchArgs', newVal)\n})\n\nwatch(serverConfigValues, (newVal) => {\n settingStore.set('Comfy.Server.ServerConfigValues', newVal)\n})\n\nconst { copyToClipboard } = useCopyToClipboard()\nconst copyCommandLineArgs = async () => {\n await copyToClipboard(commandLineArgs.value)\n}\n\nconst { t } = useI18n()\nconst translateItem = (item: ServerConfig<any>): FormItemType => {\n return {\n ...item,\n name: t(`serverConfigItems.${item.id}.name`, item.name),\n tooltip: item.tooltip\n ? t(`serverConfigItems.${item.id}.tooltip`, item.tooltip)\n : undefined\n }\n}\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqFA,UAAM,eAAe;AACrB,UAAM,oBAAoB;AACpB,UAAA;AAAA,MACJ;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IAAA,IACE,YAAY,iBAAiB;AAEjC,UAAM,gBAAgB,6BAAM;AAC1B,wBAAkB,cAAc;AAAA,IAAA,GADZ;AAItB,UAAM,aAAa,6BAAM;AACvB,kBAAA,EAAc;IAAW,GADR;AAIb,UAAA,YAAY,CAAC,WAAW;AACf,mBAAA,IAAI,2BAA2B,MAAM;AAAA,IAAA,CACnD;AAEK,UAAA,oBAAoB,CAAC,WAAW;AACvB,mBAAA,IAAI,mCAAmC,MAAM;AAAA,IAAA,CAC3D;AAEK,UAAA,EAAE,oBAAoB;AAC5B,UAAM,sBAAsB,mCAAY;AAChC,YAAA,gBAAgB,gBAAgB,KAAK;AAAA,IAAA,GADjB;AAItB,UAAA,EAAE,MAAM;AACR,UAAA,gBAAgB,wBAAC,SAA0C;AACxD,aAAA;AAAA,QACL,GAAG;AAAA,QACH,MAAM,EAAE,qBAAqB,KAAK,EAAE,SAAS,KAAK,IAAI;AAAA,QACtD,SAAS,KAAK,UACV,EAAE,qBAAqB,KAAK,EAAE,YAAY,KAAK,OAAO,IACtD;AAAA,MAAA;AAAA,IACN,GAPoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
||||
{"version":3,"file":"ServerConfigPanel-CB49rPGd.js","sources":["../../src/components/dialog/content/setting/ServerConfigPanel.vue"],"sourcesContent":["<template>\n <PanelTemplate value=\"Server-Config\" class=\"server-config-panel\">\n <template #header>\n <div class=\"flex flex-col gap-2\">\n <Message\n v-if=\"modifiedConfigs.length > 0\"\n severity=\"info\"\n pt:text=\"w-full\"\n >\n <p>\n {{ $t('serverConfig.modifiedConfigs') }}\n </p>\n <ul>\n <li v-for=\"config in modifiedConfigs\" :key=\"config.id\">\n {{ config.name }}: {{ config.initialValue }} → {{ config.value }}\n </li>\n </ul>\n <div class=\"flex justify-end gap-2\">\n <Button\n :label=\"$t('serverConfig.revertChanges')\"\n @click=\"revertChanges\"\n outlined\n />\n <Button\n :label=\"$t('serverConfig.restart')\"\n @click=\"restartApp\"\n outlined\n severity=\"danger\"\n />\n </div>\n </Message>\n <Message v-if=\"commandLineArgs\" severity=\"secondary\" pt:text=\"w-full\">\n <template #icon>\n <i-lucide:terminal class=\"text-xl font-bold\" />\n </template>\n <div class=\"flex items-center justify-between\">\n <p>{{ commandLineArgs }}</p>\n <Button\n icon=\"pi pi-clipboard\"\n @click=\"copyCommandLineArgs\"\n severity=\"secondary\"\n text\n />\n </div>\n </Message>\n </div>\n </template>\n <div\n v-for=\"([label, items], i) in Object.entries(serverConfigsByCategory)\"\n :key=\"label\"\n >\n <Divider v-if=\"i > 0\" />\n <h3>{{ $t(`serverConfigCategories.${label}`, label) }}</h3>\n <div v-for=\"item in items\" :key=\"item.name\" class=\"mb-4\">\n <FormItem\n :item=\"translateItem(item)\"\n v-model:formValue=\"item.value\"\n :id=\"item.id\"\n :labelClass=\"{\n 'text-highlight': item.initialValue !== item.value\n }\"\n />\n </div>\n </div>\n </PanelTemplate>\n</template>\n\n<script setup lang=\"ts\">\nimport { storeToRefs } from 'pinia'\nimport Button from 'primevue/button'\nimport Divider from 'primevue/divider'\nimport Message from 'primevue/message'\nimport { watch } from 'vue'\nimport { useI18n } from 'vue-i18n'\n\nimport FormItem from '@/components/common/FormItem.vue'\nimport type { ServerConfig } from '@/constants/serverConfig'\nimport { useCopyToClipboard } from '@/hooks/clipboardHooks'\nimport { useServerConfigStore } from '@/stores/serverConfigStore'\nimport { useSettingStore } from '@/stores/settingStore'\nimport type { FormItem as FormItemType } from '@/types/settingTypes'\nimport { electronAPI } from '@/utils/envUtil'\n\nimport PanelTemplate from './PanelTemplate.vue'\n\nconst settingStore = useSettingStore()\nconst serverConfigStore = useServerConfigStore()\nconst {\n serverConfigsByCategory,\n serverConfigValues,\n launchArgs,\n commandLineArgs,\n modifiedConfigs\n} = storeToRefs(serverConfigStore)\n\nconst revertChanges = () => {\n serverConfigStore.revertChanges()\n}\n\nconst restartApp = () => {\n electronAPI().restartApp()\n}\n\nwatch(launchArgs, (newVal) => {\n settingStore.set('Comfy.Server.LaunchArgs', newVal)\n})\n\nwatch(serverConfigValues, (newVal) => {\n settingStore.set('Comfy.Server.ServerConfigValues', newVal)\n})\n\nconst { copyToClipboard } = useCopyToClipboard()\nconst copyCommandLineArgs = async () => {\n await copyToClipboard(commandLineArgs.value)\n}\n\nconst { t } = useI18n()\nconst translateItem = (item: ServerConfig<any>): FormItemType => {\n return {\n ...item,\n name: t(`serverConfigItems.${item.id}.name`, item.name),\n tooltip: item.tooltip\n ? t(`serverConfigItems.${item.id}.tooltip`, item.tooltip)\n : undefined\n }\n}\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqFA,UAAM,eAAe;AACrB,UAAM,oBAAoB;AACpB,UAAA;AAAA,MACJ;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IAAA,IACE,YAAY,iBAAiB;AAEjC,UAAM,gBAAgB,6BAAM;AAC1B,wBAAkB,cAAc;AAAA,IAAA,GADZ;AAItB,UAAM,aAAa,6BAAM;AACvB,kBAAA,EAAc;IAAW,GADR;AAIb,UAAA,YAAY,CAAC,WAAW;AACf,mBAAA,IAAI,2BAA2B,MAAM;AAAA,IAAA,CACnD;AAEK,UAAA,oBAAoB,CAAC,WAAW;AACvB,mBAAA,IAAI,mCAAmC,MAAM;AAAA,IAAA,CAC3D;AAEK,UAAA,EAAE,oBAAoB;AAC5B,UAAM,sBAAsB,mCAAY;AAChC,YAAA,gBAAgB,gBAAgB,KAAK;AAAA,IAAA,GADjB;AAItB,UAAA,EAAE,MAAM;AACR,UAAA,gBAAgB,wBAAC,SAA0C;AACxD,aAAA;AAAA,QACL,GAAG;AAAA,QACH,MAAM,EAAE,qBAAqB,KAAK,EAAE,SAAS,KAAK,IAAI;AAAA,QACtD,SAAS,KAAK,UACV,EAAE,qBAAqB,KAAK,EAAE,YAAY,KAAK,OAAO,IACtD;AAAA,MAAA;AAAA,IACN,GAPoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
6
web/assets/ServerStartView-wDlGLJV1.js → web/assets/ServerStartView-JzBhx-L8.js
generated
vendored
6
web/assets/ServerStartView-wDlGLJV1.js → web/assets/ServerStartView-JzBhx-L8.js
generated
vendored
@ -1,7 +1,7 @@
|
||||
var __defProp = Object.defineProperty;
|
||||
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
||||
import { d as defineComponent, a1 as useI18n, ab as ref, b_ as ProgressStatus, m as onMounted, o as openBlock, k as createBlock, M as withCtx, H as createBaseVNode, aE as createTextVNode, X as toDisplayString, j as unref, f as createElementBlock, I as createCommentVNode, N as createVNode, l as script, i as withDirectives, v as vShow, b$ as BaseTerminal, aL as pushScopeId, aM as popScopeId, c0 as electronAPI, _ as _export_sfc } from "./index-CJmKJOqY.js";
|
||||
import { _ as _sfc_main$1 } from "./BaseViewTemplate-B0LQc8op.js";
|
||||
import { d as defineComponent, a1 as useI18n, ab as ref, b_ as ProgressStatus, m as onMounted, o as openBlock, k as createBlock, M as withCtx, H as createBaseVNode, aE as createTextVNode, X as toDisplayString, j as unref, f as createElementBlock, I as createCommentVNode, N as createVNode, l as script, i as withDirectives, v as vShow, b$ as BaseTerminal, aL as pushScopeId, aM as popScopeId, c0 as electronAPI, _ as _export_sfc } from "./index-De3LoLTp.js";
|
||||
import { _ as _sfc_main$1 } from "./BaseViewTemplate-BklhdMAh.js";
|
||||
const _withScopeId = /* @__PURE__ */ __name((n) => (pushScopeId("data-v-42c1131d"), n = n(), popScopeId(), n), "_withScopeId");
|
||||
const _hoisted_1 = { class: "text-2xl font-bold" };
|
||||
const _hoisted_2 = { key: 0 };
|
||||
@ -95,4 +95,4 @@ const ServerStartView = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "d
|
||||
export {
|
||||
ServerStartView as default
|
||||
};
|
||||
//# sourceMappingURL=ServerStartView-wDlGLJV1.js.map
|
||||
//# sourceMappingURL=ServerStartView-JzBhx-L8.js.map
|
@ -1 +1 @@
|
||||
{"version":3,"file":"ServerStartView-wDlGLJV1.js","sources":["../../src/views/ServerStartView.vue"],"sourcesContent":["<template>\n <BaseViewTemplate dark class=\"flex-col\">\n <h2 class=\"text-2xl font-bold\">\n {{ t(`serverStart.process.${status}`) }}\n <span v-if=\"status === ProgressStatus.ERROR\">\n v{{ electronVersion }}\n </span>\n </h2>\n <div\n v-if=\"status === ProgressStatus.ERROR\"\n class=\"flex flex-col items-center gap-4\"\n >\n <div class=\"flex items-center my-4 gap-2\">\n <Button\n icon=\"pi pi-flag\"\n severity=\"secondary\"\n :label=\"t('serverStart.reportIssue')\"\n @click=\"reportIssue\"\n />\n <Button\n icon=\"pi pi-file\"\n severity=\"secondary\"\n :label=\"t('serverStart.openLogs')\"\n @click=\"openLogs\"\n />\n <Button\n icon=\"pi pi-refresh\"\n :label=\"t('serverStart.reinstall')\"\n @click=\"reinstall\"\n />\n </div>\n <Button\n v-if=\"!terminalVisible\"\n icon=\"pi pi-search\"\n severity=\"secondary\"\n :label=\"t('serverStart.showTerminal')\"\n @click=\"terminalVisible = true\"\n />\n </div>\n <BaseTerminal v-show=\"terminalVisible\" @created=\"terminalCreated\" />\n </BaseViewTemplate>\n</template>\n\n<script setup lang=\"ts\">\nimport { ProgressStatus } from '@comfyorg/comfyui-electron-types'\nimport { Terminal } from '@xterm/xterm'\nimport Button from 'primevue/button'\nimport { Ref, onMounted, ref } from 'vue'\nimport { useI18n } from 'vue-i18n'\n\nimport BaseTerminal from '@/components/bottomPanel/tabs/terminal/BaseTerminal.vue'\nimport type { useTerminal } from '@/hooks/bottomPanelTabs/useTerminal'\nimport { electronAPI } from '@/utils/envUtil'\nimport BaseViewTemplate from '@/views/templates/BaseViewTemplate.vue'\n\nconst electron = electronAPI()\nconst { t } = useI18n()\n\nconst status = ref<ProgressStatus>(ProgressStatus.INITIAL_STATE)\nconst electronVersion = ref<string>('')\nlet xterm: Terminal | undefined\n\nconst terminalVisible = ref(true)\n\nconst updateProgress = ({ status: newStatus }: { status: ProgressStatus }) => {\n status.value = newStatus\n\n // Make critical error screen more obvious.\n if (newStatus === ProgressStatus.ERROR) terminalVisible.value = false\n else xterm?.clear()\n}\n\nconst terminalCreated = (\n { terminal, useAutoSize }: ReturnType<typeof useTerminal>,\n root: Ref<HTMLElement>\n) => {\n xterm = terminal\n\n useAutoSize(root, true, true)\n electron.onLogMessage((message: string) => {\n terminal.write(message)\n })\n\n terminal.options.cursorBlink = false\n terminal.options.disableStdin = true\n terminal.options.cursorInactiveStyle = 'block'\n}\n\nconst reinstall = () => electron.reinstall()\nconst reportIssue = () => {\n window.open('https://forum.comfy.org/c/v1-feedback/', '_blank')\n}\nconst openLogs = () => electron.openLogsFolder()\n\nonMounted(async () => {\n electron.sendReady()\n electron.onProgressUpdate(updateProgress)\n electronVersion.value = await electron.getElectronVersion()\n})\n</script>\n\n<style scoped>\n:deep(.xterm-helper-textarea) {\n /* Hide this as it moves all over when uv is running */\n display: none;\n}\n</style>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAuDA,UAAM,WAAW;AACX,UAAA,EAAE,MAAM;AAER,UAAA,SAAS,IAAoB,eAAe,aAAa;AACzD,UAAA,kBAAkB,IAAY,EAAE;AAClC,QAAA;AAEE,UAAA,kBAAkB,IAAI,IAAI;AAEhC,UAAM,iBAAiB,wBAAC,EAAE,QAAQ,gBAA4C;AAC5E,aAAO,QAAQ;AAGf,UAAI,cAAc,eAAe,MAAO,iBAAgB,QAAQ;AAAA,kBACpD,MAAM;AAAA,IAAA,GALG;AAQvB,UAAM,kBAAkB,wBACtB,EAAE,UAAU,YAAA,GACZ,SACG;AACK,cAAA;AAEI,kBAAA,MAAM,MAAM,IAAI;AACnB,eAAA,aAAa,CAAC,YAAoB;AACzC,iBAAS,MAAM,OAAO;AAAA,MAAA,CACvB;AAED,eAAS,QAAQ,cAAc;AAC/B,eAAS,QAAQ,eAAe;AAChC,eAAS,QAAQ,sBAAsB;AAAA,IAAA,GAbjB;AAgBlB,UAAA,YAAY,6BAAM,SAAS,aAAf;AAClB,UAAM,cAAc,6BAAM;AACjB,aAAA,KAAK,0CAA0C,QAAQ;AAAA,IAAA,GAD5C;AAGd,UAAA,WAAW,6BAAM,SAAS,kBAAf;AAEjB,cAAU,YAAY;AACpB,eAAS,UAAU;AACnB,eAAS,iBAAiB,cAAc;AACxB,sBAAA,QAAQ,MAAM,SAAS,mBAAmB;AAAA,IAAA,CAC3D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
||||
{"version":3,"file":"ServerStartView-JzBhx-L8.js","sources":["../../src/views/ServerStartView.vue"],"sourcesContent":["<template>\n <BaseViewTemplate dark class=\"flex-col\">\n <h2 class=\"text-2xl font-bold\">\n {{ t(`serverStart.process.${status}`) }}\n <span v-if=\"status === ProgressStatus.ERROR\">\n v{{ electronVersion }}\n </span>\n </h2>\n <div\n v-if=\"status === ProgressStatus.ERROR\"\n class=\"flex flex-col items-center gap-4\"\n >\n <div class=\"flex items-center my-4 gap-2\">\n <Button\n icon=\"pi pi-flag\"\n severity=\"secondary\"\n :label=\"t('serverStart.reportIssue')\"\n @click=\"reportIssue\"\n />\n <Button\n icon=\"pi pi-file\"\n severity=\"secondary\"\n :label=\"t('serverStart.openLogs')\"\n @click=\"openLogs\"\n />\n <Button\n icon=\"pi pi-refresh\"\n :label=\"t('serverStart.reinstall')\"\n @click=\"reinstall\"\n />\n </div>\n <Button\n v-if=\"!terminalVisible\"\n icon=\"pi pi-search\"\n severity=\"secondary\"\n :label=\"t('serverStart.showTerminal')\"\n @click=\"terminalVisible = true\"\n />\n </div>\n <BaseTerminal v-show=\"terminalVisible\" @created=\"terminalCreated\" />\n </BaseViewTemplate>\n</template>\n\n<script setup lang=\"ts\">\nimport { ProgressStatus } from '@comfyorg/comfyui-electron-types'\nimport { Terminal } from '@xterm/xterm'\nimport Button from 'primevue/button'\nimport { Ref, onMounted, ref } from 'vue'\nimport { useI18n } from 'vue-i18n'\n\nimport BaseTerminal from '@/components/bottomPanel/tabs/terminal/BaseTerminal.vue'\nimport type { useTerminal } from '@/hooks/bottomPanelTabs/useTerminal'\nimport { electronAPI } from '@/utils/envUtil'\nimport BaseViewTemplate from '@/views/templates/BaseViewTemplate.vue'\n\nconst electron = electronAPI()\nconst { t } = useI18n()\n\nconst status = ref<ProgressStatus>(ProgressStatus.INITIAL_STATE)\nconst electronVersion = ref<string>('')\nlet xterm: Terminal | undefined\n\nconst terminalVisible = ref(true)\n\nconst updateProgress = ({ status: newStatus }: { status: ProgressStatus }) => {\n status.value = newStatus\n\n // Make critical error screen more obvious.\n if (newStatus === ProgressStatus.ERROR) terminalVisible.value = false\n else xterm?.clear()\n}\n\nconst terminalCreated = (\n { terminal, useAutoSize }: ReturnType<typeof useTerminal>,\n root: Ref<HTMLElement>\n) => {\n xterm = terminal\n\n useAutoSize(root, true, true)\n electron.onLogMessage((message: string) => {\n terminal.write(message)\n })\n\n terminal.options.cursorBlink = false\n terminal.options.disableStdin = true\n terminal.options.cursorInactiveStyle = 'block'\n}\n\nconst reinstall = () => electron.reinstall()\nconst reportIssue = () => {\n window.open('https://forum.comfy.org/c/v1-feedback/', '_blank')\n}\nconst openLogs = () => electron.openLogsFolder()\n\nonMounted(async () => {\n electron.sendReady()\n electron.onProgressUpdate(updateProgress)\n electronVersion.value = await electron.getElectronVersion()\n})\n</script>\n\n<style scoped>\n:deep(.xterm-helper-textarea) {\n /* Hide this as it moves all over when uv is running */\n display: none;\n}\n</style>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAuDA,UAAM,WAAW;AACX,UAAA,EAAE,MAAM;AAER,UAAA,SAAS,IAAoB,eAAe,aAAa;AACzD,UAAA,kBAAkB,IAAY,EAAE;AAClC,QAAA;AAEE,UAAA,kBAAkB,IAAI,IAAI;AAEhC,UAAM,iBAAiB,wBAAC,EAAE,QAAQ,gBAA4C;AAC5E,aAAO,QAAQ;AAGf,UAAI,cAAc,eAAe,MAAO,iBAAgB,QAAQ;AAAA,kBACpD,MAAM;AAAA,IAAA,GALG;AAQvB,UAAM,kBAAkB,wBACtB,EAAE,UAAU,YAAA,GACZ,SACG;AACK,cAAA;AAEI,kBAAA,MAAM,MAAM,IAAI;AACnB,eAAA,aAAa,CAAC,YAAoB;AACzC,iBAAS,MAAM,OAAO;AAAA,MAAA,CACvB;AAED,eAAS,QAAQ,cAAc;AAC/B,eAAS,QAAQ,eAAe;AAChC,eAAS,QAAQ,sBAAsB;AAAA,IAAA,GAbjB;AAgBlB,UAAA,YAAY,6BAAM,SAAS,aAAf;AAClB,UAAM,cAAc,6BAAM;AACjB,aAAA,KAAK,0CAA0C,QAAQ;AAAA,IAAA,GAD5C;AAGd,UAAA,WAAW,6BAAM,SAAS,kBAAf;AAEjB,cAAU,YAAY;AACpB,eAAS,UAAU;AACnB,eAAS,iBAAiB,cAAc;AACxB,sBAAA,QAAQ,MAAM,SAAS,mBAAmB;AAAA,IAAA,CAC3D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
6
web/assets/UserSelectView-Z5q8PIoK.js → web/assets/UserSelectView-BtMsxeSh.js
generated
vendored
6
web/assets/UserSelectView-Z5q8PIoK.js → web/assets/UserSelectView-BtMsxeSh.js
generated
vendored
@ -1,7 +1,7 @@
|
||||
var __defProp = Object.defineProperty;
|
||||
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
||||
import { d as defineComponent, aX as useUserStore, bW as useRouter, ab as ref, c as computed, m as onMounted, o as openBlock, k as createBlock, M as withCtx, H as createBaseVNode, X as toDisplayString, N as createVNode, bX as withKeys, j as unref, av as script, bQ as script$1, bY as script$2, bZ as script$3, aE as createTextVNode, I as createCommentVNode, l as script$4 } from "./index-CJmKJOqY.js";
|
||||
import { _ as _sfc_main$1 } from "./BaseViewTemplate-B0LQc8op.js";
|
||||
import { d as defineComponent, aX as useUserStore, bW as useRouter, ab as ref, c as computed, m as onMounted, o as openBlock, k as createBlock, M as withCtx, H as createBaseVNode, X as toDisplayString, N as createVNode, bX as withKeys, j as unref, av as script, bQ as script$1, bY as script$2, bZ as script$3, aE as createTextVNode, I as createCommentVNode, l as script$4 } from "./index-De3LoLTp.js";
|
||||
import { _ as _sfc_main$1 } from "./BaseViewTemplate-BklhdMAh.js";
|
||||
const _hoisted_1 = {
|
||||
id: "comfy-user-selection",
|
||||
class: "min-w-84 relative rounded-lg bg-[var(--comfy-menu-bg)] p-5 px-10 shadow-lg"
|
||||
@ -99,4 +99,4 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
||||
export {
|
||||
_sfc_main as default
|
||||
};
|
||||
//# sourceMappingURL=UserSelectView-Z5q8PIoK.js.map
|
||||
//# sourceMappingURL=UserSelectView-BtMsxeSh.js.map
|
@ -1 +1 @@
|
||||
{"version":3,"file":"UserSelectView-Z5q8PIoK.js","sources":["../../src/views/UserSelectView.vue"],"sourcesContent":["<template>\n <BaseViewTemplate dark>\n <main\n id=\"comfy-user-selection\"\n class=\"min-w-84 relative rounded-lg bg-[var(--comfy-menu-bg)] p-5 px-10 shadow-lg\"\n >\n <h1 class=\"my-2.5 mb-7 font-normal\">ComfyUI</h1>\n <div class=\"flex w-full flex-col items-center\">\n <div class=\"flex w-full flex-col gap-2\">\n <label for=\"new-user-input\">{{ $t('userSelect.newUser') }}:</label>\n <InputText\n id=\"new-user-input\"\n v-model=\"newUsername\"\n :placeholder=\"$t('userSelect.enterUsername')\"\n @keyup.enter=\"login\"\n />\n </div>\n <Divider />\n <div class=\"flex w-full flex-col gap-2\">\n <label for=\"existing-user-select\"\n >{{ $t('userSelect.existingUser') }}:</label\n >\n <Select\n v-model=\"selectedUser\"\n class=\"w-full\"\n inputId=\"existing-user-select\"\n :options=\"userStore.users\"\n option-label=\"username\"\n :placeholder=\"$t('userSelect.selectUser')\"\n :disabled=\"createNewUser\"\n />\n <Message v-if=\"error\" severity=\"error\">{{ error }}</Message>\n </div>\n <footer class=\"mt-5\">\n <Button :label=\"$t('userSelect.next')\" @click=\"login\" />\n </footer>\n </div>\n </main>\n </BaseViewTemplate>\n</template>\n\n<script setup lang=\"ts\">\nimport Button from 'primevue/button'\nimport Divider from 'primevue/divider'\nimport InputText from 'primevue/inputtext'\nimport Message from 'primevue/message'\nimport Select from 'primevue/select'\nimport { computed, onMounted, ref } from 'vue'\nimport { useRouter } from 'vue-router'\n\nimport { User, useUserStore } from '@/stores/userStore'\nimport BaseViewTemplate from '@/views/templates/BaseViewTemplate.vue'\n\nconst userStore = useUserStore()\nconst router = useRouter()\n\nconst selectedUser = ref<User | null>(null)\nconst newUsername = ref('')\nconst loginError = ref('')\n\nconst createNewUser = computed(() => newUsername.value.trim() !== '')\nconst newUserExistsError = computed(() => {\n return userStore.users.find((user) => user.username === newUsername.value)\n ? `User \"${newUsername.value}\" already exists`\n : ''\n})\nconst error = computed(() => newUserExistsError.value || loginError.value)\n\nconst login = async () => {\n try {\n const user = createNewUser.value\n ? await userStore.createUser(newUsername.value)\n : selectedUser.value\n\n if (!user) {\n throw new Error('No user selected')\n }\n\n userStore.login(user)\n router.push('/')\n } catch (err) {\n loginError.value = err.message ?? JSON.stringify(err)\n }\n}\n\nonMounted(async () => {\n if (!userStore.initialized) {\n await userStore.initialize()\n }\n})\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAqDA,UAAM,YAAY;AAClB,UAAM,SAAS;AAET,UAAA,eAAe,IAAiB,IAAI;AACpC,UAAA,cAAc,IAAI,EAAE;AACpB,UAAA,aAAa,IAAI,EAAE;AAEzB,UAAM,gBAAgB,SAAS,MAAM,YAAY,MAAM,KAAA,MAAW,EAAE;AAC9D,UAAA,qBAAqB,SAAS,MAAM;AACxC,aAAO,UAAU,MAAM,KAAK,CAAC,SAAS,KAAK,aAAa,YAAY,KAAK,IACrE,SAAS,YAAY,KAAK,qBAC1B;AAAA,IAAA,CACL;AACD,UAAM,QAAQ,SAAS,MAAM,mBAAmB,SAAS,WAAW,KAAK;AAEzE,UAAM,QAAQ,mCAAY;AACpB,UAAA;AACI,cAAA,OAAO,cAAc,QACvB,MAAM,UAAU,WAAW,YAAY,KAAK,IAC5C,aAAa;AAEjB,YAAI,CAAC,MAAM;AACH,gBAAA,IAAI,MAAM,kBAAkB;AAAA,QACpC;AAEA,kBAAU,MAAM,IAAI;AACpB,eAAO,KAAK,GAAG;AAAA,eACR,KAAK;AACZ,mBAAW,QAAQ,IAAI,WAAW,KAAK,UAAU,GAAG;AAAA,MACtD;AAAA,IAAA,GAdY;AAiBd,cAAU,YAAY;AAChB,UAAA,CAAC,UAAU,aAAa;AAC1B,cAAM,UAAU;MAClB;AAAA,IAAA,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
||||
{"version":3,"file":"UserSelectView-BtMsxeSh.js","sources":["../../src/views/UserSelectView.vue"],"sourcesContent":["<template>\n <BaseViewTemplate dark>\n <main\n id=\"comfy-user-selection\"\n class=\"min-w-84 relative rounded-lg bg-[var(--comfy-menu-bg)] p-5 px-10 shadow-lg\"\n >\n <h1 class=\"my-2.5 mb-7 font-normal\">ComfyUI</h1>\n <div class=\"flex w-full flex-col items-center\">\n <div class=\"flex w-full flex-col gap-2\">\n <label for=\"new-user-input\">{{ $t('userSelect.newUser') }}:</label>\n <InputText\n id=\"new-user-input\"\n v-model=\"newUsername\"\n :placeholder=\"$t('userSelect.enterUsername')\"\n @keyup.enter=\"login\"\n />\n </div>\n <Divider />\n <div class=\"flex w-full flex-col gap-2\">\n <label for=\"existing-user-select\"\n >{{ $t('userSelect.existingUser') }}:</label\n >\n <Select\n v-model=\"selectedUser\"\n class=\"w-full\"\n inputId=\"existing-user-select\"\n :options=\"userStore.users\"\n option-label=\"username\"\n :placeholder=\"$t('userSelect.selectUser')\"\n :disabled=\"createNewUser\"\n />\n <Message v-if=\"error\" severity=\"error\">{{ error }}</Message>\n </div>\n <footer class=\"mt-5\">\n <Button :label=\"$t('userSelect.next')\" @click=\"login\" />\n </footer>\n </div>\n </main>\n </BaseViewTemplate>\n</template>\n\n<script setup lang=\"ts\">\nimport Button from 'primevue/button'\nimport Divider from 'primevue/divider'\nimport InputText from 'primevue/inputtext'\nimport Message from 'primevue/message'\nimport Select from 'primevue/select'\nimport { computed, onMounted, ref } from 'vue'\nimport { useRouter } from 'vue-router'\n\nimport { User, useUserStore } from '@/stores/userStore'\nimport BaseViewTemplate from '@/views/templates/BaseViewTemplate.vue'\n\nconst userStore = useUserStore()\nconst router = useRouter()\n\nconst selectedUser = ref<User | null>(null)\nconst newUsername = ref('')\nconst loginError = ref('')\n\nconst createNewUser = computed(() => newUsername.value.trim() !== '')\nconst newUserExistsError = computed(() => {\n return userStore.users.find((user) => user.username === newUsername.value)\n ? `User \"${newUsername.value}\" already exists`\n : ''\n})\nconst error = computed(() => newUserExistsError.value || loginError.value)\n\nconst login = async () => {\n try {\n const user = createNewUser.value\n ? await userStore.createUser(newUsername.value)\n : selectedUser.value\n\n if (!user) {\n throw new Error('No user selected')\n }\n\n userStore.login(user)\n router.push('/')\n } catch (err) {\n loginError.value = err.message ?? JSON.stringify(err)\n }\n}\n\nonMounted(async () => {\n if (!userStore.initialized) {\n await userStore.initialize()\n }\n})\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAqDA,UAAM,YAAY;AAClB,UAAM,SAAS;AAET,UAAA,eAAe,IAAiB,IAAI;AACpC,UAAA,cAAc,IAAI,EAAE;AACpB,UAAA,aAAa,IAAI,EAAE;AAEzB,UAAM,gBAAgB,SAAS,MAAM,YAAY,MAAM,KAAA,MAAW,EAAE;AAC9D,UAAA,qBAAqB,SAAS,MAAM;AACxC,aAAO,UAAU,MAAM,KAAK,CAAC,SAAS,KAAK,aAAa,YAAY,KAAK,IACrE,SAAS,YAAY,KAAK,qBAC1B;AAAA,IAAA,CACL;AACD,UAAM,QAAQ,SAAS,MAAM,mBAAmB,SAAS,WAAW,KAAK;AAEzE,UAAM,QAAQ,mCAAY;AACpB,UAAA;AACI,cAAA,OAAO,cAAc,QACvB,MAAM,UAAU,WAAW,YAAY,KAAK,IAC5C,aAAa;AAEjB,YAAI,CAAC,MAAM;AACH,gBAAA,IAAI,MAAM,kBAAkB;AAAA,QACpC;AAEA,kBAAU,MAAM,IAAI;AACpB,eAAO,KAAK,GAAG;AAAA,eACR,KAAK;AACZ,mBAAW,QAAQ,IAAI,WAAW,KAAK,UAAU,GAAG;AAAA,MACtD;AAAA,IAAA,GAdY;AAiBd,cAAU,YAAY;AAChB,UAAA,CAAC,UAAU,aAAa;AAC1B,cAAM,UAAU;MAClB;AAAA,IAAA,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
6
web/assets/WelcomeView-CXo6qGF2.js → web/assets/WelcomeView-D3kWu7Yf.js
generated
vendored
6
web/assets/WelcomeView-CXo6qGF2.js → web/assets/WelcomeView-D3kWu7Yf.js
generated
vendored
@ -1,7 +1,7 @@
|
||||
var __defProp = Object.defineProperty;
|
||||
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
||||
import { d as defineComponent, bW as useRouter, o as openBlock, k as createBlock, M as withCtx, H as createBaseVNode, X as toDisplayString, N as createVNode, j as unref, l as script, aL as pushScopeId, aM as popScopeId, _ as _export_sfc } from "./index-CJmKJOqY.js";
|
||||
import { _ as _sfc_main$1 } from "./BaseViewTemplate-B0LQc8op.js";
|
||||
import { d as defineComponent, bW as useRouter, o as openBlock, k as createBlock, M as withCtx, H as createBaseVNode, X as toDisplayString, N as createVNode, j as unref, l as script, aL as pushScopeId, aM as popScopeId, _ as _export_sfc } from "./index-De3LoLTp.js";
|
||||
import { _ as _sfc_main$1 } from "./BaseViewTemplate-BklhdMAh.js";
|
||||
const _withScopeId = /* @__PURE__ */ __name((n) => (pushScopeId("data-v-7dfaf74c"), n = n(), popScopeId(), n), "_withScopeId");
|
||||
const _hoisted_1 = { class: "flex flex-col items-center justify-center gap-8 p-8" };
|
||||
const _hoisted_2 = { class: "animated-gradient-text text-glow select-none" };
|
||||
@ -37,4 +37,4 @@ const WelcomeView = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-
|
||||
export {
|
||||
WelcomeView as default
|
||||
};
|
||||
//# sourceMappingURL=WelcomeView-CXo6qGF2.js.map
|
||||
//# sourceMappingURL=WelcomeView-D3kWu7Yf.js.map
|
2
web/assets/WelcomeView-CXo6qGF2.js.map → web/assets/WelcomeView-D3kWu7Yf.js.map
generated
vendored
2
web/assets/WelcomeView-CXo6qGF2.js.map → web/assets/WelcomeView-D3kWu7Yf.js.map
generated
vendored
@ -1 +1 @@
|
||||
{"version":3,"file":"WelcomeView-CXo6qGF2.js","sources":["../../src/views/WelcomeView.vue"],"sourcesContent":["<template>\n <BaseViewTemplate dark>\n <div class=\"flex flex-col items-center justify-center gap-8 p-8\">\n <!-- Header -->\n <h1 class=\"animated-gradient-text text-glow select-none\">\n {{ $t('welcome.title') }}\n </h1>\n\n <!-- Get Started Button -->\n <Button\n :label=\"$t('welcome.getStarted')\"\n icon=\"pi pi-arrow-right\"\n iconPos=\"right\"\n size=\"large\"\n rounded\n @click=\"navigateTo('/install')\"\n class=\"p-4 text-lg fade-in-up\"\n />\n </div>\n </BaseViewTemplate>\n</template>\n\n<script setup lang=\"ts\">\nimport Button from 'primevue/button'\nimport { useRouter } from 'vue-router'\n\nimport BaseViewTemplate from '@/views/templates/BaseViewTemplate.vue'\n\nconst router = useRouter()\nconst navigateTo = (path: string) => {\n router.push(path)\n}\n</script>\n\n<style scoped>\n.animated-gradient-text {\n @apply font-bold;\n font-size: clamp(2rem, 8vw, 4rem);\n background: linear-gradient(to right, #12c2e9, #c471ed, #f64f59, #12c2e9);\n background-size: 300% auto;\n background-clip: text;\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n animation: gradient 8s linear infinite;\n}\n\n.text-glow {\n filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));\n}\n\n@keyframes gradient {\n 0% {\n background-position: 0% center;\n }\n\n 100% {\n background-position: 300% center;\n }\n}\n\n.fade-in-up {\n animation: fadeInUp 1.5s ease-out;\n animation-fill-mode: both;\n}\n\n@keyframes fadeInUp {\n 0% {\n opacity: 0;\n transform: translateY(20px);\n }\n\n 100% {\n opacity: 1;\n transform: translateY(0);\n }\n}\n</style>\n"],"names":[],"mappings":";;;;;;;;;;AA4BA,UAAM,SAAS;AACT,UAAA,aAAa,wBAAC,SAAiB;AACnC,aAAO,KAAK,IAAI;AAAA,IAAA,GADC;;;;;;;;;;;;;;;;;;;;;;;"}
|
||||
{"version":3,"file":"WelcomeView-D3kWu7Yf.js","sources":["../../src/views/WelcomeView.vue"],"sourcesContent":["<template>\n <BaseViewTemplate dark>\n <div class=\"flex flex-col items-center justify-center gap-8 p-8\">\n <!-- Header -->\n <h1 class=\"animated-gradient-text text-glow select-none\">\n {{ $t('welcome.title') }}\n </h1>\n\n <!-- Get Started Button -->\n <Button\n :label=\"$t('welcome.getStarted')\"\n icon=\"pi pi-arrow-right\"\n iconPos=\"right\"\n size=\"large\"\n rounded\n @click=\"navigateTo('/install')\"\n class=\"p-4 text-lg fade-in-up\"\n />\n </div>\n </BaseViewTemplate>\n</template>\n\n<script setup lang=\"ts\">\nimport Button from 'primevue/button'\nimport { useRouter } from 'vue-router'\n\nimport BaseViewTemplate from '@/views/templates/BaseViewTemplate.vue'\n\nconst router = useRouter()\nconst navigateTo = (path: string) => {\n router.push(path)\n}\n</script>\n\n<style scoped>\n.animated-gradient-text {\n @apply font-bold;\n font-size: clamp(2rem, 8vw, 4rem);\n background: linear-gradient(to right, #12c2e9, #c471ed, #f64f59, #12c2e9);\n background-size: 300% auto;\n background-clip: text;\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n animation: gradient 8s linear infinite;\n}\n\n.text-glow {\n filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));\n}\n\n@keyframes gradient {\n 0% {\n background-position: 0% center;\n }\n\n 100% {\n background-position: 300% center;\n }\n}\n\n.fade-in-up {\n animation: fadeInUp 1.5s ease-out;\n animation-fill-mode: both;\n}\n\n@keyframes fadeInUp {\n 0% {\n opacity: 0;\n transform: translateY(20px);\n }\n\n 100% {\n opacity: 1;\n transform: translateY(0);\n }\n}\n</style>\n"],"names":[],"mappings":";;;;;;;;;;AA4BA,UAAM,SAAS;AACT,UAAA,aAAa,wBAAC,SAAiB;AACnC,aAAO,KAAK,IAAI;AAAA,IAAA,GADC;;;;;;;;;;;;;;;;;;;;;;;"}
|
8
web/assets/index-CE7gF1Ni.js → web/assets/index-BCSm_DIF.js
generated
vendored
8
web/assets/index-CE7gF1Ni.js → web/assets/index-BCSm_DIF.js
generated
vendored
@ -1,8 +1,8 @@
|
||||
var __defProp = Object.defineProperty;
|
||||
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
||||
import { B as BaseStyle, q as script$s, ct as script$t, H as createBaseVNode, o as openBlock, f as createElementBlock, D as mergeProps, X as toDisplayString, S as Ripple, r as resolveDirective, i as withDirectives, k as createBlock, G as resolveDynamicComponent, bY as script$u, aB as resolveComponent, T as normalizeClass, aD as createSlots, M as withCtx, bz as script$v, bw as script$w, F as Fragment, E as renderList, aE as createTextVNode, bq as setAttribute, ak as UniqueComponentId, bo as normalizeProps, J as renderSlot, I as createCommentVNode, R as equals, bk as script$x, c8 as script$y, cu as getFirstFocusableElement, an as OverlayEventBus, A as getVNodeProp, am as resolveFieldData, cv as invokeElementMethod, O as getAttribute, cw as getNextElementSibling, y as getOuterWidth, cx as getPreviousElementSibling, l as script$z, ay as script$A, W as script$B, bn as script$D, aj as isNotEmpty, bM as withModifiers, z as getOuterHeight, cy as _default, al as ZIndex, Q as focus, ap as addStyle, ar as absolutePosition, as as ConnectedOverlayScrollHandler, at as isTouchDevice, cz as FilterOperator, ax as script$E, cA as FocusTrap, N as createVNode, aC as Transition, bX as withKeys, cB as getIndex, aW as script$G, cC as isClickable, cD as clearSelection, cE as localeComparator, cF as sort, cG as FilterService, cn as FilterMatchMode, P as findSingle, c1 as findIndexInList, c2 as find, cH as exportCSV, U as getOffset, cI as getHiddenElementOuterWidth, cJ as getHiddenElementOuterHeight, cK as reorderArray, cL as getWindowScrollTop, cM as removeClass, cN as addClass, ao as isEmpty, aw as script$H, az as script$I } from "./index-CJmKJOqY.js";
|
||||
import { s as script$C } from "./index-xXycuGHJ.js";
|
||||
import { s as script$F } from "./index-DAh4IuBR.js";
|
||||
import { B as BaseStyle, q as script$s, ct as script$t, H as createBaseVNode, o as openBlock, f as createElementBlock, D as mergeProps, X as toDisplayString, S as Ripple, r as resolveDirective, i as withDirectives, k as createBlock, G as resolveDynamicComponent, bY as script$u, aB as resolveComponent, T as normalizeClass, aD as createSlots, M as withCtx, bz as script$v, bw as script$w, F as Fragment, E as renderList, aE as createTextVNode, bq as setAttribute, ak as UniqueComponentId, bo as normalizeProps, J as renderSlot, I as createCommentVNode, R as equals, bk as script$x, c8 as script$y, cu as getFirstFocusableElement, an as OverlayEventBus, A as getVNodeProp, am as resolveFieldData, cv as invokeElementMethod, O as getAttribute, cw as getNextElementSibling, y as getOuterWidth, cx as getPreviousElementSibling, l as script$z, ay as script$A, W as script$B, bn as script$D, aj as isNotEmpty, bM as withModifiers, z as getOuterHeight, cy as _default, al as ZIndex, Q as focus, ap as addStyle, ar as absolutePosition, as as ConnectedOverlayScrollHandler, at as isTouchDevice, cz as FilterOperator, ax as script$E, cA as FocusTrap, N as createVNode, aC as Transition, bX as withKeys, cB as getIndex, aW as script$G, cC as isClickable, cD as clearSelection, cE as localeComparator, cF as sort, cG as FilterService, cn as FilterMatchMode, P as findSingle, c1 as findIndexInList, c2 as find, cH as exportCSV, U as getOffset, cI as getHiddenElementOuterWidth, cJ as getHiddenElementOuterHeight, cK as reorderArray, cL as getWindowScrollTop, cM as removeClass, cN as addClass, ao as isEmpty, aw as script$H, az as script$I } from "./index-De3LoLTp.js";
|
||||
import { s as script$C } from "./index-UBW0i6QV.js";
|
||||
import { s as script$F } from "./index-BwVbIa1-.js";
|
||||
var ColumnStyle = BaseStyle.extend({
|
||||
name: "column"
|
||||
});
|
||||
@ -8783,4 +8783,4 @@ export {
|
||||
script as a,
|
||||
script$r as s
|
||||
};
|
||||
//# sourceMappingURL=index-CE7gF1Ni.js.map
|
||||
//# sourceMappingURL=index-BCSm_DIF.js.map
|
2
web/assets/index-CE7gF1Ni.js.map → web/assets/index-BCSm_DIF.js.map
generated
vendored
2
web/assets/index-CE7gF1Ni.js.map → web/assets/index-BCSm_DIF.js.map
generated
vendored
File diff suppressed because one or more lines are too long
10
web/assets/index-BFn3NXmB.css → web/assets/index-BaCwTTqK.css
generated
vendored
10
web/assets/index-BFn3NXmB.css → web/assets/index-BaCwTTqK.css
generated
vendored
@ -24,6 +24,16 @@
|
||||
box-shadow: 0 0 10px black !important;
|
||||
background-color: #2e2e2e !important;
|
||||
z-index: 10;
|
||||
max-height: -webkit-fill-available;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
/* Enable scrolling overflow in Firefox */
|
||||
@supports not (max-height: -webkit-fill-available) {
|
||||
.litegraph.litecontextmenu {
|
||||
max-height: 80vh;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
}
|
||||
|
||||
.litegraph.litecontextmenu.dark {
|
4
web/assets/index-DAh4IuBR.js → web/assets/index-BwVbIa1-.js
generated
vendored
4
web/assets/index-DAh4IuBR.js → web/assets/index-BwVbIa1-.js
generated
vendored
@ -1,6 +1,6 @@
|
||||
var __defProp = Object.defineProperty;
|
||||
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
||||
import { ct as script$1, H as createBaseVNode, o as openBlock, f as createElementBlock, D as mergeProps } from "./index-CJmKJOqY.js";
|
||||
import { ct as script$1, H as createBaseVNode, o as openBlock, f as createElementBlock, D as mergeProps } from "./index-De3LoLTp.js";
|
||||
var script = {
|
||||
name: "PlusIcon",
|
||||
"extends": script$1
|
||||
@ -24,4 +24,4 @@ script.render = render;
|
||||
export {
|
||||
script as s
|
||||
};
|
||||
//# sourceMappingURL=index-DAh4IuBR.js.map
|
||||
//# sourceMappingURL=index-BwVbIa1-.js.map
|
2
web/assets/index-DAh4IuBR.js.map → web/assets/index-BwVbIa1-.js.map
generated
vendored
2
web/assets/index-DAh4IuBR.js.map → web/assets/index-BwVbIa1-.js.map
generated
vendored
@ -1 +1 @@
|
||||
{"version":3,"file":"index-DAh4IuBR.js","sources":["../../node_modules/@primevue/icons/plus/index.mjs"],"sourcesContent":["import BaseIcon from '@primevue/icons/baseicon';\nimport { openBlock, createElementBlock, mergeProps, createElementVNode } from 'vue';\n\nvar script = {\n name: 'PlusIcon',\n \"extends\": BaseIcon\n};\n\nvar _hoisted_1 = /*#__PURE__*/createElementVNode(\"path\", {\n d: \"M7.67742 6.32258V0.677419C7.67742 0.497757 7.60605 0.325452 7.47901 0.198411C7.35197 0.0713707 7.17966 0 7 0C6.82034 0 6.64803 0.0713707 6.52099 0.198411C6.39395 0.325452 6.32258 0.497757 6.32258 0.677419V6.32258H0.677419C0.497757 6.32258 0.325452 6.39395 0.198411 6.52099C0.0713707 6.64803 0 6.82034 0 7C0 7.17966 0.0713707 7.35197 0.198411 7.47901C0.325452 7.60605 0.497757 7.67742 0.677419 7.67742H6.32258V13.3226C6.32492 13.5015 6.39704 13.6725 6.52358 13.799C6.65012 13.9255 6.82106 13.9977 7 14C7.17966 14 7.35197 13.9286 7.47901 13.8016C7.60605 13.6745 7.67742 13.5022 7.67742 13.3226V7.67742H13.3226C13.5022 7.67742 13.6745 7.60605 13.8016 7.47901C13.9286 7.35197 14 7.17966 14 7C13.9977 6.82106 13.9255 6.65012 13.799 6.52358C13.6725 6.39704 13.5015 6.32492 13.3226 6.32258H7.67742Z\",\n fill: \"currentColor\"\n}, null, -1);\nvar _hoisted_2 = [_hoisted_1];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return openBlock(), createElementBlock(\"svg\", mergeProps({\n width: \"14\",\n height: \"14\",\n viewBox: \"0 0 14 14\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, _ctx.pti()), _hoisted_2, 16);\n}\n\nscript.render = render;\n\nexport { script as default };\n//# sourceMappingURL=index.mjs.map\n"],"names":["BaseIcon","createElementVNode"],"mappings":";;;AAGG,IAAC,SAAS;AAAA,EACX,MAAM;AAAA,EACN,WAAWA;AACb;AAEA,IAAI,aAA0BC,gCAAmB,QAAQ;AAAA,EACvD,GAAG;AAAA,EACH,MAAM;AACR,GAAG,MAAM,EAAE;AACX,IAAI,aAAa,CAAC,UAAU;AAC5B,SAAS,OAAO,MAAM,QAAQ,QAAQ,QAAQ,OAAO,UAAU;AAC7D,SAAO,UAAW,GAAE,mBAAmB,OAAO,WAAW;AAAA,IACvD,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,MAAM;AAAA,IACN,OAAO;AAAA,EACR,GAAE,KAAK,IAAG,CAAE,GAAG,YAAY,EAAE;AAChC;AARS;AAUT,OAAO,SAAS;","x_google_ignoreList":[0]}
|
||||
{"version":3,"file":"index-BwVbIa1-.js","sources":["../../node_modules/@primevue/icons/plus/index.mjs"],"sourcesContent":["import BaseIcon from '@primevue/icons/baseicon';\nimport { openBlock, createElementBlock, mergeProps, createElementVNode } from 'vue';\n\nvar script = {\n name: 'PlusIcon',\n \"extends\": BaseIcon\n};\n\nvar _hoisted_1 = /*#__PURE__*/createElementVNode(\"path\", {\n d: \"M7.67742 6.32258V0.677419C7.67742 0.497757 7.60605 0.325452 7.47901 0.198411C7.35197 0.0713707 7.17966 0 7 0C6.82034 0 6.64803 0.0713707 6.52099 0.198411C6.39395 0.325452 6.32258 0.497757 6.32258 0.677419V6.32258H0.677419C0.497757 6.32258 0.325452 6.39395 0.198411 6.52099C0.0713707 6.64803 0 6.82034 0 7C0 7.17966 0.0713707 7.35197 0.198411 7.47901C0.325452 7.60605 0.497757 7.67742 0.677419 7.67742H6.32258V13.3226C6.32492 13.5015 6.39704 13.6725 6.52358 13.799C6.65012 13.9255 6.82106 13.9977 7 14C7.17966 14 7.35197 13.9286 7.47901 13.8016C7.60605 13.6745 7.67742 13.5022 7.67742 13.3226V7.67742H13.3226C13.5022 7.67742 13.6745 7.60605 13.8016 7.47901C13.9286 7.35197 14 7.17966 14 7C13.9977 6.82106 13.9255 6.65012 13.799 6.52358C13.6725 6.39704 13.5015 6.32492 13.3226 6.32258H7.67742Z\",\n fill: \"currentColor\"\n}, null, -1);\nvar _hoisted_2 = [_hoisted_1];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return openBlock(), createElementBlock(\"svg\", mergeProps({\n width: \"14\",\n height: \"14\",\n viewBox: \"0 0 14 14\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, _ctx.pti()), _hoisted_2, 16);\n}\n\nscript.render = render;\n\nexport { script as default };\n//# sourceMappingURL=index.mjs.map\n"],"names":["BaseIcon","createElementVNode"],"mappings":";;;AAGG,IAAC,SAAS;AAAA,EACX,MAAM;AAAA,EACN,WAAWA;AACb;AAEA,IAAI,aAA0BC,gCAAmB,QAAQ;AAAA,EACvD,GAAG;AAAA,EACH,MAAM;AACR,GAAG,MAAM,EAAE;AACX,IAAI,aAAa,CAAC,UAAU;AAC5B,SAAS,OAAO,MAAM,QAAQ,QAAQ,QAAQ,OAAO,UAAU;AAC7D,SAAO,UAAW,GAAE,mBAAmB,OAAO,WAAW;AAAA,IACvD,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,MAAM;AAAA,IACN,OAAO;AAAA,EACR,GAAE,KAAK,IAAG,CAAE,GAAG,YAAY,EAAE;AAChC;AARS;AAUT,OAAO,SAAS;","x_google_ignoreList":[0]}
|
6
web/assets/index-COz_BRFJ.js → web/assets/index-Cga7cgPc.js
generated
vendored
6
web/assets/index-COz_BRFJ.js → web/assets/index-Cga7cgPc.js
generated
vendored
@ -1,7 +1,7 @@
|
||||
var __defProp = Object.defineProperty;
|
||||
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
||||
import { B as BaseStyle, q as script$2, ak as UniqueComponentId, c9 as script$4, l as script$5, S as Ripple, aB as resolveComponent, o as openBlock, f as createElementBlock, D as mergeProps, H as createBaseVNode, J as renderSlot, T as normalizeClass, X as toDisplayString, I as createCommentVNode, k as createBlock, M as withCtx, G as resolveDynamicComponent, N as createVNode, aC as Transition, i as withDirectives, v as vShow } from "./index-CJmKJOqY.js";
|
||||
import { s as script$3 } from "./index-DAh4IuBR.js";
|
||||
import { B as BaseStyle, q as script$2, ak as UniqueComponentId, c9 as script$4, l as script$5, S as Ripple, aB as resolveComponent, o as openBlock, f as createElementBlock, D as mergeProps, H as createBaseVNode, J as renderSlot, T as normalizeClass, X as toDisplayString, I as createCommentVNode, k as createBlock, M as withCtx, G as resolveDynamicComponent, N as createVNode, aC as Transition, i as withDirectives, v as vShow } from "./index-De3LoLTp.js";
|
||||
import { s as script$3 } from "./index-BwVbIa1-.js";
|
||||
var theme = /* @__PURE__ */ __name(function theme2(_ref) {
|
||||
var dt = _ref.dt;
|
||||
return "\n.p-panel {\n border: 1px solid ".concat(dt("panel.border.color"), ";\n border-radius: ").concat(dt("panel.border.radius"), ";\n background: ").concat(dt("panel.background"), ";\n color: ").concat(dt("panel.color"), ";\n}\n\n.p-panel-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: ").concat(dt("panel.header.padding"), ";\n background: ").concat(dt("panel.header.background"), ";\n color: ").concat(dt("panel.header.color"), ";\n border-style: solid;\n border-width: ").concat(dt("panel.header.border.width"), ";\n border-color: ").concat(dt("panel.header.border.color"), ";\n border-radius: ").concat(dt("panel.header.border.radius"), ";\n}\n\n.p-panel-toggleable .p-panel-header {\n padding: ").concat(dt("panel.toggleable.header.padding"), ";\n}\n\n.p-panel-title {\n line-height: 1;\n font-weight: ").concat(dt("panel.title.font.weight"), ";\n}\n\n.p-panel-content {\n padding: ").concat(dt("panel.content.padding"), ";\n}\n\n.p-panel-footer {\n padding: ").concat(dt("panel.footer.padding"), ";\n}\n");
|
||||
@ -170,4 +170,4 @@ script.render = render;
|
||||
export {
|
||||
script as s
|
||||
};
|
||||
//# sourceMappingURL=index-COz_BRFJ.js.map
|
||||
//# sourceMappingURL=index-Cga7cgPc.js.map
|
2
web/assets/index-COz_BRFJ.js.map → web/assets/index-Cga7cgPc.js.map
generated
vendored
2
web/assets/index-COz_BRFJ.js.map → web/assets/index-Cga7cgPc.js.map
generated
vendored
File diff suppressed because one or more lines are too long
105
web/assets/index-CJmKJOqY.js → web/assets/index-De3LoLTp.js
generated
vendored
105
web/assets/index-CJmKJOqY.js → web/assets/index-De3LoLTp.js
generated
vendored
@ -1,4 +1,4 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./GraphView-BxwJvm2y.js","./index-COz_BRFJ.js","./index-DAh4IuBR.js","./index-xXycuGHJ.js","./keybindingService-DyirEpoV.js","./serverConfigStore-CCtRsrpA.js","./GraphView-CIRWBKTm.css","./UserSelectView-Z5q8PIoK.js","./BaseViewTemplate-B0LQc8op.js","./ServerStartView-wDlGLJV1.js","./ServerStartView-CnyN4Ib6.css","./InstallView-DqAyB7E0.js","./InstallView-CwQdoH-C.css","./WelcomeView-CXo6qGF2.js","./WelcomeView-Brz3-luE.css","./NotSupportedView-BIWFOYZV.js","./NotSupportedView-bFzHmqNj.css","./DownloadGitView-DQDB-HO6.js","./ManualConfigurationView-DSS3RMY3.js","./ManualConfigurationView-B6ecEClB.css","./KeybindingPanel-BgTYaG-o.js","./index-CE7gF1Ni.js","./KeybindingPanel-DvrUYZ4S.css","./ExtensionPanel-DD57Voiq.js","./ServerConfigPanel-gimLSzRq.js","./index-BeGB0rCz.js","./index-BRhY6FpL.css"])))=>i.map(i=>d[i]);
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./GraphView-CMQkCEwZ.js","./index-Cga7cgPc.js","./index-BwVbIa1-.js","./index-UBW0i6QV.js","./keybindingService-BlJ-gQG4.js","./serverConfigStore-BuuMHphX.js","./GraphView-CIRWBKTm.css","./UserSelectView-BtMsxeSh.js","./BaseViewTemplate-BklhdMAh.js","./ServerStartView-JzBhx-L8.js","./ServerStartView-CnyN4Ib6.css","./InstallView-QxhYK8M7.js","./InstallView-CwQdoH-C.css","./WelcomeView-D3kWu7Yf.js","./WelcomeView-Brz3-luE.css","./NotSupportedView-CB0a8PqQ.js","./NotSupportedView-bFzHmqNj.css","./DownloadGitView-DgH7MV_l.js","./ManualConfigurationView-BzOtCClW.js","./ManualConfigurationView-B6ecEClB.css","./KeybindingPanel-BAf87LRH.js","./index-BCSm_DIF.js","./KeybindingPanel-DvrUYZ4S.css","./ExtensionPanel-DI1v0QVi.js","./ServerConfigPanel-CB49rPGd.js","./index-qpNewm3I.js","./index-BRhY6FpL.css"])))=>i.map(i=>d[i]);
|
||||
var __defProp2 = Object.defineProperty;
|
||||
var __name = (target, value4) => __defProp2(target, "name", { value: value4, configurable: true });
|
||||
(/* @__PURE__ */ __name(function polyfill() {
|
||||
@ -38750,6 +38750,8 @@ class LGraphCanvas {
|
||||
clientX_rel -= b.left;
|
||||
clientY_rel -= b.top;
|
||||
}
|
||||
e2.safeOffsetX = clientX_rel;
|
||||
e2.safeOffsetY = clientY_rel;
|
||||
if (e2.deltaX === void 0)
|
||||
e2.deltaX = clientX_rel - this.last_mouse_position[0];
|
||||
if (e2.deltaY === void 0)
|
||||
@ -38970,9 +38972,9 @@ class LGraphCanvas {
|
||||
const transform2 = ctx.getTransform();
|
||||
const ratio = window.devicePixelRatio;
|
||||
ctx.setTransform(ratio, 0, 0, ratio, 0, 0);
|
||||
const x2 = eDown.offsetX;
|
||||
const y2 = eDown.offsetY;
|
||||
ctx.strokeRect(x2, y2, eMove.offsetX - x2, eMove.offsetY - y2);
|
||||
const x2 = eDown.safeOffsetX;
|
||||
const y2 = eDown.safeOffsetX;
|
||||
ctx.strokeRect(x2, y2, eMove.safeOffsetX - x2, eMove.safeOffsetX - y2);
|
||||
ctx.setTransform(transform2);
|
||||
} else {
|
||||
const [x2, y2, w, h2] = this.dragging_rectangle;
|
||||
@ -43411,17 +43413,6 @@ class ContextMenu {
|
||||
},
|
||||
true
|
||||
);
|
||||
function on_mouse_wheel(e2) {
|
||||
const pos2 = parseInt(root24.style.top);
|
||||
root24.style.top = (pos2 + e2.deltaY * options4.scroll_speed).toFixed() + "px";
|
||||
e2.preventDefault();
|
||||
return true;
|
||||
}
|
||||
__name(on_mouse_wheel, "on_mouse_wheel");
|
||||
if (!options4.scroll_speed) {
|
||||
options4.scroll_speed = 0.1;
|
||||
}
|
||||
root24.addEventListener("wheel", on_mouse_wheel, true);
|
||||
this.root = root24;
|
||||
if (options4.title) {
|
||||
const element = document.createElement("div");
|
||||
@ -46132,7 +46123,7 @@ const router = createRouter({
|
||||
{
|
||||
path: "",
|
||||
name: "GraphView",
|
||||
component: /* @__PURE__ */ __name(() => __vitePreload(() => import("./GraphView-BxwJvm2y.js"), true ? __vite__mapDeps([0,1,2,3,4,5,6]) : void 0, import.meta.url), "component"),
|
||||
component: /* @__PURE__ */ __name(() => __vitePreload(() => import("./GraphView-CMQkCEwZ.js"), true ? __vite__mapDeps([0,1,2,3,4,5,6]) : void 0, import.meta.url), "component"),
|
||||
beforeEnter: /* @__PURE__ */ __name(async (to, from2, next2) => {
|
||||
const userStore = useUserStore();
|
||||
await userStore.initialize();
|
||||
@ -46146,42 +46137,42 @@ const router = createRouter({
|
||||
{
|
||||
path: "user-select",
|
||||
name: "UserSelectView",
|
||||
component: /* @__PURE__ */ __name(() => __vitePreload(() => import("./UserSelectView-Z5q8PIoK.js"), true ? __vite__mapDeps([7,8]) : void 0, import.meta.url), "component")
|
||||
component: /* @__PURE__ */ __name(() => __vitePreload(() => import("./UserSelectView-BtMsxeSh.js"), true ? __vite__mapDeps([7,8]) : void 0, import.meta.url), "component")
|
||||
},
|
||||
{
|
||||
path: "server-start",
|
||||
name: "ServerStartView",
|
||||
component: /* @__PURE__ */ __name(() => __vitePreload(() => import("./ServerStartView-wDlGLJV1.js"), true ? __vite__mapDeps([9,8,10]) : void 0, import.meta.url), "component"),
|
||||
component: /* @__PURE__ */ __name(() => __vitePreload(() => import("./ServerStartView-JzBhx-L8.js"), true ? __vite__mapDeps([9,8,10]) : void 0, import.meta.url), "component"),
|
||||
beforeEnter: guardElectronAccess
|
||||
},
|
||||
{
|
||||
path: "install",
|
||||
name: "InstallView",
|
||||
component: /* @__PURE__ */ __name(() => __vitePreload(() => import("./InstallView-DqAyB7E0.js"), true ? __vite__mapDeps([11,8,12]) : void 0, import.meta.url), "component"),
|
||||
component: /* @__PURE__ */ __name(() => __vitePreload(() => import("./InstallView-QxhYK8M7.js"), true ? __vite__mapDeps([11,8,12]) : void 0, import.meta.url), "component"),
|
||||
beforeEnter: guardElectronAccess
|
||||
},
|
||||
{
|
||||
path: "welcome",
|
||||
name: "WelcomeView",
|
||||
component: /* @__PURE__ */ __name(() => __vitePreload(() => import("./WelcomeView-CXo6qGF2.js"), true ? __vite__mapDeps([13,8,14]) : void 0, import.meta.url), "component"),
|
||||
component: /* @__PURE__ */ __name(() => __vitePreload(() => import("./WelcomeView-D3kWu7Yf.js"), true ? __vite__mapDeps([13,8,14]) : void 0, import.meta.url), "component"),
|
||||
beforeEnter: guardElectronAccess
|
||||
},
|
||||
{
|
||||
path: "not-supported",
|
||||
name: "NotSupportedView",
|
||||
component: /* @__PURE__ */ __name(() => __vitePreload(() => import("./NotSupportedView-BIWFOYZV.js"), true ? __vite__mapDeps([15,8,16]) : void 0, import.meta.url), "component"),
|
||||
component: /* @__PURE__ */ __name(() => __vitePreload(() => import("./NotSupportedView-CB0a8PqQ.js"), true ? __vite__mapDeps([15,8,16]) : void 0, import.meta.url), "component"),
|
||||
beforeEnter: guardElectronAccess
|
||||
},
|
||||
{
|
||||
path: "download-git",
|
||||
name: "DownloadGitView",
|
||||
component: /* @__PURE__ */ __name(() => __vitePreload(() => import("./DownloadGitView-DQDB-HO6.js"), true ? __vite__mapDeps([17,8]) : void 0, import.meta.url), "component"),
|
||||
component: /* @__PURE__ */ __name(() => __vitePreload(() => import("./DownloadGitView-DgH7MV_l.js"), true ? __vite__mapDeps([17,8]) : void 0, import.meta.url), "component"),
|
||||
beforeEnter: guardElectronAccess
|
||||
},
|
||||
{
|
||||
path: "manual-configuration",
|
||||
name: "ManualConfigurationView",
|
||||
component: /* @__PURE__ */ __name(() => __vitePreload(() => import("./ManualConfigurationView-DSS3RMY3.js"), true ? __vite__mapDeps([18,1,2,8,19]) : void 0, import.meta.url), "component"),
|
||||
component: /* @__PURE__ */ __name(() => __vitePreload(() => import("./ManualConfigurationView-BzOtCClW.js"), true ? __vite__mapDeps([18,1,2,8,19]) : void 0, import.meta.url), "component"),
|
||||
beforeEnter: guardElectronAccess
|
||||
}
|
||||
]
|
||||
@ -58036,7 +58027,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
||||
});
|
||||
const config$1 = {
|
||||
app_title: "ComfyUI",
|
||||
app_version: "1.6.14"
|
||||
app_version: "1.6.15"
|
||||
};
|
||||
/*!
|
||||
* shared v9.13.1
|
||||
@ -64107,6 +64098,9 @@ const Comfy_ClearPendingTasks$5 = {
|
||||
const Comfy_ClearWorkflow$5 = {
|
||||
label: "Clear Workflow"
|
||||
};
|
||||
const Comfy_DuplicateWorkflow$5 = {
|
||||
label: "Duplicate Current Workflow"
|
||||
};
|
||||
const Comfy_ExportWorkflow$5 = {
|
||||
label: "Export Workflow"
|
||||
};
|
||||
@ -64253,6 +64247,7 @@ const enCommands = {
|
||||
Comfy_Canvas_ZoomOut: Comfy_Canvas_ZoomOut$5,
|
||||
Comfy_ClearPendingTasks: Comfy_ClearPendingTasks$5,
|
||||
Comfy_ClearWorkflow: Comfy_ClearWorkflow$5,
|
||||
Comfy_DuplicateWorkflow: Comfy_DuplicateWorkflow$5,
|
||||
Comfy_ExportWorkflow: Comfy_ExportWorkflow$5,
|
||||
Comfy_ExportWorkflowAPI: Comfy_ExportWorkflowAPI$5,
|
||||
Comfy_Graph_FitGroupToContents: Comfy_Graph_FitGroupToContents$5,
|
||||
@ -64649,6 +64644,7 @@ const menuLabels$5 = {
|
||||
"Zoom Out": "Zoom Out",
|
||||
"Clear Pending Tasks": "Clear Pending Tasks",
|
||||
"Clear Workflow": "Clear Workflow",
|
||||
"Duplicate Current Workflow": "Duplicate Current Workflow",
|
||||
Export: "Export",
|
||||
"Export (API)": "Export (API)",
|
||||
"Fit Group To Contents": "Fit Group To Contents",
|
||||
@ -71135,6 +71131,9 @@ const Comfy_ClearPendingTasks$4 = {
|
||||
const Comfy_ClearWorkflow$4 = {
|
||||
label: "Effacer le flux de travail"
|
||||
};
|
||||
const Comfy_DuplicateWorkflow$4 = {
|
||||
label: "Dupliquer le flux de travail actuel"
|
||||
};
|
||||
const Comfy_ExportWorkflow$4 = {
|
||||
label: "Exporter le flux de travail"
|
||||
};
|
||||
@ -71281,6 +71280,7 @@ const frCommands = {
|
||||
Comfy_Canvas_ZoomOut: Comfy_Canvas_ZoomOut$4,
|
||||
Comfy_ClearPendingTasks: Comfy_ClearPendingTasks$4,
|
||||
Comfy_ClearWorkflow: Comfy_ClearWorkflow$4,
|
||||
Comfy_DuplicateWorkflow: Comfy_DuplicateWorkflow$4,
|
||||
Comfy_ExportWorkflow: Comfy_ExportWorkflow$4,
|
||||
Comfy_ExportWorkflowAPI: Comfy_ExportWorkflowAPI$4,
|
||||
Comfy_Graph_FitGroupToContents: Comfy_Graph_FitGroupToContents$4,
|
||||
@ -71592,6 +71592,7 @@ const menuLabels$4 = {
|
||||
"ComfyUI Issues": "Problèmes de ComfyUI",
|
||||
"Convert selected nodes to group node": "Convertir les nœuds sélectionnés en nœud de groupe",
|
||||
"Desktop User Guide": "Guide de l'utilisateur de bureau",
|
||||
"Duplicate Current Workflow": "Dupliquer le flux de travail actuel",
|
||||
Edit: "Éditer",
|
||||
Export: "Exporter",
|
||||
"Export (API)": "Exporter (API)",
|
||||
@ -78163,6 +78164,9 @@ const Comfy_ClearPendingTasks$3 = {
|
||||
const Comfy_ClearWorkflow$3 = {
|
||||
label: "ワークフローをクリア"
|
||||
};
|
||||
const Comfy_DuplicateWorkflow$3 = {
|
||||
label: "現在のワークフローを複製"
|
||||
};
|
||||
const Comfy_ExportWorkflow$3 = {
|
||||
label: "ワークフローをエクスポート"
|
||||
};
|
||||
@ -78309,6 +78313,7 @@ const jaCommands = {
|
||||
Comfy_Canvas_ZoomOut: Comfy_Canvas_ZoomOut$3,
|
||||
Comfy_ClearPendingTasks: Comfy_ClearPendingTasks$3,
|
||||
Comfy_ClearWorkflow: Comfy_ClearWorkflow$3,
|
||||
Comfy_DuplicateWorkflow: Comfy_DuplicateWorkflow$3,
|
||||
Comfy_ExportWorkflow: Comfy_ExportWorkflow$3,
|
||||
Comfy_ExportWorkflowAPI: Comfy_ExportWorkflowAPI$3,
|
||||
Comfy_Graph_FitGroupToContents: Comfy_Graph_FitGroupToContents$3,
|
||||
@ -78620,6 +78625,7 @@ const menuLabels$3 = {
|
||||
"ComfyUI Issues": "ComfyUIの問題",
|
||||
"Convert selected nodes to group node": "選択したノードをグループノードに変換",
|
||||
"Desktop User Guide": "デスクトップユーザーガイド",
|
||||
"Duplicate Current Workflow": "現在のワークフローを複製",
|
||||
Edit: "編集",
|
||||
Export: "エクスポート",
|
||||
"Export (API)": "エクスポート (API)",
|
||||
@ -85191,6 +85197,9 @@ const Comfy_ClearPendingTasks$2 = {
|
||||
const Comfy_ClearWorkflow$2 = {
|
||||
label: "워크플로 지우기"
|
||||
};
|
||||
const Comfy_DuplicateWorkflow$2 = {
|
||||
label: "현재 워크플로우 복제"
|
||||
};
|
||||
const Comfy_ExportWorkflow$2 = {
|
||||
label: "워크플로 내보내기"
|
||||
};
|
||||
@ -85337,6 +85346,7 @@ const koCommands = {
|
||||
Comfy_Canvas_ZoomOut: Comfy_Canvas_ZoomOut$2,
|
||||
Comfy_ClearPendingTasks: Comfy_ClearPendingTasks$2,
|
||||
Comfy_ClearWorkflow: Comfy_ClearWorkflow$2,
|
||||
Comfy_DuplicateWorkflow: Comfy_DuplicateWorkflow$2,
|
||||
Comfy_ExportWorkflow: Comfy_ExportWorkflow$2,
|
||||
Comfy_ExportWorkflowAPI: Comfy_ExportWorkflowAPI$2,
|
||||
Comfy_Graph_FitGroupToContents: Comfy_Graph_FitGroupToContents$2,
|
||||
@ -85648,6 +85658,7 @@ const menuLabels$2 = {
|
||||
"ComfyUI Issues": "ComfyUI 이슈 페이지",
|
||||
"Convert selected nodes to group node": "선택한 노드를 그룹 노드로 변환",
|
||||
"Desktop User Guide": "데스크톱 사용자 가이드",
|
||||
"Duplicate Current Workflow": "현재 워크플로우 복제",
|
||||
Edit: "편집",
|
||||
Export: "내보내기",
|
||||
"Export (API)": "내보내기 (API)",
|
||||
@ -92219,6 +92230,9 @@ const Comfy_ClearPendingTasks$1 = {
|
||||
const Comfy_ClearWorkflow$1 = {
|
||||
label: "Очистить рабочий процесс"
|
||||
};
|
||||
const Comfy_DuplicateWorkflow$1 = {
|
||||
label: "Дублировать текущий рабочий процесс"
|
||||
};
|
||||
const Comfy_ExportWorkflow$1 = {
|
||||
label: "Экспорт рабочего процесса"
|
||||
};
|
||||
@ -92365,6 +92379,7 @@ const ruCommands = {
|
||||
Comfy_Canvas_ZoomOut: Comfy_Canvas_ZoomOut$1,
|
||||
Comfy_ClearPendingTasks: Comfy_ClearPendingTasks$1,
|
||||
Comfy_ClearWorkflow: Comfy_ClearWorkflow$1,
|
||||
Comfy_DuplicateWorkflow: Comfy_DuplicateWorkflow$1,
|
||||
Comfy_ExportWorkflow: Comfy_ExportWorkflow$1,
|
||||
Comfy_ExportWorkflowAPI: Comfy_ExportWorkflowAPI$1,
|
||||
Comfy_Graph_FitGroupToContents: Comfy_Graph_FitGroupToContents$1,
|
||||
@ -92676,6 +92691,7 @@ const menuLabels$1 = {
|
||||
"ComfyUI Issues": "Проблемы ComfyUI",
|
||||
"Convert selected nodes to group node": "Преобразовать выбранные узлы в групповой узел",
|
||||
"Desktop User Guide": "Руководство пользователя для настольных ПК",
|
||||
"Duplicate Current Workflow": "Дублировать текущий рабочий процесс",
|
||||
Edit: "Редактировать",
|
||||
Export: "Экспортировать",
|
||||
"Export (API)": "Экспорт (API)",
|
||||
@ -99247,6 +99263,9 @@ const Comfy_ClearPendingTasks = {
|
||||
const Comfy_ClearWorkflow = {
|
||||
label: "清除工作流"
|
||||
};
|
||||
const Comfy_DuplicateWorkflow = {
|
||||
label: "复制当前工作流"
|
||||
};
|
||||
const Comfy_ExportWorkflow = {
|
||||
label: "导出工作流"
|
||||
};
|
||||
@ -99393,6 +99412,7 @@ const zhCommands = {
|
||||
Comfy_Canvas_ZoomOut,
|
||||
Comfy_ClearPendingTasks,
|
||||
Comfy_ClearWorkflow,
|
||||
Comfy_DuplicateWorkflow,
|
||||
Comfy_ExportWorkflow,
|
||||
Comfy_ExportWorkflowAPI,
|
||||
Comfy_Graph_FitGroupToContents,
|
||||
@ -99704,6 +99724,7 @@ const menuLabels = {
|
||||
"ComfyUI Issues": "ComfyUI 问题",
|
||||
"Convert selected nodes to group node": "将选中节点转换为组节点",
|
||||
"Desktop User Guide": "桌面端用户指南",
|
||||
"Duplicate Current Workflow": "复制当前工作流",
|
||||
Edit: "编辑",
|
||||
Export: "导出",
|
||||
"Export (API)": "导出 (API)",
|
||||
@ -117933,7 +117954,7 @@ const useSystemStatsStore = /* @__PURE__ */ defineStore("systemStats", () => {
|
||||
};
|
||||
});
|
||||
const useAboutPanelStore = /* @__PURE__ */ defineStore("aboutPanel", () => {
|
||||
const frontendVersion = "1.6.14";
|
||||
const frontendVersion = "1.6.15";
|
||||
const extensionStore = useExtensionStore();
|
||||
const systemStatsStore = useSystemStatsStore();
|
||||
const coreVersion = computed(
|
||||
@ -123446,13 +123467,13 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
||||
setup(__props) {
|
||||
const props = __props;
|
||||
const KeybindingPanel = /* @__PURE__ */ defineAsyncComponent(
|
||||
() => __vitePreload(() => import("./KeybindingPanel-BgTYaG-o.js"), true ? __vite__mapDeps([20,21,3,2,4,22]) : void 0, import.meta.url)
|
||||
() => __vitePreload(() => import("./KeybindingPanel-BAf87LRH.js"), true ? __vite__mapDeps([20,21,3,2,4,22]) : void 0, import.meta.url)
|
||||
);
|
||||
const ExtensionPanel = /* @__PURE__ */ defineAsyncComponent(
|
||||
() => __vitePreload(() => import("./ExtensionPanel-DD57Voiq.js"), true ? __vite__mapDeps([23,21,3,2]) : void 0, import.meta.url)
|
||||
() => __vitePreload(() => import("./ExtensionPanel-DI1v0QVi.js"), true ? __vite__mapDeps([23,21,3,2]) : void 0, import.meta.url)
|
||||
);
|
||||
const ServerConfigPanel = /* @__PURE__ */ defineAsyncComponent(
|
||||
() => __vitePreload(() => import("./ServerConfigPanel-gimLSzRq.js"), true ? __vite__mapDeps([24,5]) : void 0, import.meta.url)
|
||||
() => __vitePreload(() => import("./ServerConfigPanel-CB49rPGd.js"), true ? __vite__mapDeps([24,5]) : void 0, import.meta.url)
|
||||
);
|
||||
const aboutPanelNode = {
|
||||
key: "about",
|
||||
@ -164021,7 +164042,7 @@ const useExtensionService = /* @__PURE__ */ __name(() => {
|
||||
settingStore.get("Comfy.Extension.Disabled")
|
||||
);
|
||||
const extensions = await api.getExtensions();
|
||||
await __vitePreload(() => import("./index-BeGB0rCz.js"), true ? __vite__mapDeps([25,26]) : void 0, import.meta.url);
|
||||
await __vitePreload(() => import("./index-qpNewm3I.js"), true ? __vite__mapDeps([25,26]) : void 0, import.meta.url);
|
||||
extensionStore.captureCoreExtensions();
|
||||
await Promise.all(
|
||||
extensions.filter((extension) => !extension.includes("extensions/core")).map(async (ext) => {
|
||||
@ -168323,7 +168344,9 @@ const useWorkflowService = /* @__PURE__ */ __name(() => {
|
||||
}, "loadPreviousOpenedWorkflow");
|
||||
const duplicateWorkflow = /* @__PURE__ */ __name(async (workflow) => {
|
||||
const state = JSON.parse(JSON.stringify(workflow.activeState));
|
||||
await app$1.loadGraphData(state, true, true, workflow.filename);
|
||||
const suffix2 = workflow.isPersisted ? " (Copy)" : "";
|
||||
const filename = workflow.filename.replace(/\s*\(\d+\)$/, "") + suffix2;
|
||||
await app$1.loadGraphData(state, true, true, filename);
|
||||
}, "duplicateWorkflow");
|
||||
return {
|
||||
exportWorkflow,
|
||||
@ -183393,18 +183416,19 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
||||
const { t: t2 } = useI18n();
|
||||
const isExpanded = ref(false);
|
||||
const galleryActiveIndex = ref(-1);
|
||||
const allGalleryItems = shallowRef([]);
|
||||
const folderTask = ref(null);
|
||||
const isInFolderView = computed(() => folderTask.value !== null);
|
||||
const imageFit = computed(() => settingStore.get(IMAGE_FIT));
|
||||
const allTasks = computed(
|
||||
() => isInFolderView.value ? folderTask.value ? folderTask.value.flatten() : [] : isExpanded.value ? queueStore.flatTasks : queueStore.tasks
|
||||
);
|
||||
const allGalleryItems = computed(
|
||||
() => allTasks.value.flatMap((task) => {
|
||||
const updateGalleryItems = /* @__PURE__ */ __name(() => {
|
||||
allGalleryItems.value = allTasks.value.flatMap((task) => {
|
||||
const previewOutput = task.previewOutput;
|
||||
return previewOutput ? [previewOutput] : [];
|
||||
})
|
||||
);
|
||||
});
|
||||
}, "updateGalleryItems");
|
||||
const toggleExpanded = /* @__PURE__ */ __name(() => {
|
||||
isExpanded.value = !isExpanded.value;
|
||||
}, "toggleExpanded");
|
||||
@ -183478,6 +183502,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
||||
menu2.value?.show(event);
|
||||
}, "handleContextMenu");
|
||||
const handlePreview = /* @__PURE__ */ __name((task) => {
|
||||
updateGalleryItems();
|
||||
galleryActiveIndex.value = allGalleryItems.value.findIndex(
|
||||
(item3) => item3.url === task.previewOutput?.url
|
||||
);
|
||||
@ -183491,6 +183516,16 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
||||
const toggleImageFit = /* @__PURE__ */ __name(() => {
|
||||
settingStore.set(IMAGE_FIT, imageFit.value === "cover" ? "contain" : "cover");
|
||||
}, "toggleImageFit");
|
||||
watch(allTasks, () => {
|
||||
const isGalleryOpen = galleryActiveIndex.value !== -1;
|
||||
if (!isGalleryOpen) return;
|
||||
const prevLength = allGalleryItems.value.length;
|
||||
updateGalleryItems();
|
||||
const lengthChange = allGalleryItems.value.length - prevLength;
|
||||
if (!lengthChange) return;
|
||||
const newIndex = galleryActiveIndex.value + lengthChange;
|
||||
galleryActiveIndex.value = Math.max(0, newIndex);
|
||||
});
|
||||
onMounted(() => {
|
||||
api.addEventListener("status", onStatus);
|
||||
queueStore.update();
|
||||
@ -184667,4 +184702,4 @@ export {
|
||||
getOuterWidth as y,
|
||||
getOuterHeight as z
|
||||
};
|
||||
//# sourceMappingURL=index-CJmKJOqY.js.map
|
||||
//# sourceMappingURL=index-De3LoLTp.js.map
|
2
web/assets/index-CJmKJOqY.js.map → web/assets/index-De3LoLTp.js.map
generated
vendored
2
web/assets/index-CJmKJOqY.js.map → web/assets/index-De3LoLTp.js.map
generated
vendored
File diff suppressed because one or more lines are too long
4
web/assets/index-xXycuGHJ.js → web/assets/index-UBW0i6QV.js
generated
vendored
4
web/assets/index-xXycuGHJ.js → web/assets/index-UBW0i6QV.js
generated
vendored
@ -1,6 +1,6 @@
|
||||
var __defProp = Object.defineProperty;
|
||||
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
||||
import { ct as script$1, H as createBaseVNode, o as openBlock, f as createElementBlock, D as mergeProps } from "./index-CJmKJOqY.js";
|
||||
import { ct as script$1, H as createBaseVNode, o as openBlock, f as createElementBlock, D as mergeProps } from "./index-De3LoLTp.js";
|
||||
var script = {
|
||||
name: "BarsIcon",
|
||||
"extends": script$1
|
||||
@ -26,4 +26,4 @@ script.render = render;
|
||||
export {
|
||||
script as s
|
||||
};
|
||||
//# sourceMappingURL=index-xXycuGHJ.js.map
|
||||
//# sourceMappingURL=index-UBW0i6QV.js.map
|
2
web/assets/index-xXycuGHJ.js.map → web/assets/index-UBW0i6QV.js.map
generated
vendored
2
web/assets/index-xXycuGHJ.js.map → web/assets/index-UBW0i6QV.js.map
generated
vendored
@ -1 +1 @@
|
||||
{"version":3,"file":"index-xXycuGHJ.js","sources":["../../node_modules/@primevue/icons/bars/index.mjs"],"sourcesContent":["import BaseIcon from '@primevue/icons/baseicon';\nimport { openBlock, createElementBlock, mergeProps, createElementVNode } from 'vue';\n\nvar script = {\n name: 'BarsIcon',\n \"extends\": BaseIcon\n};\n\nvar _hoisted_1 = /*#__PURE__*/createElementVNode(\"path\", {\n \"fill-rule\": \"evenodd\",\n \"clip-rule\": \"evenodd\",\n d: \"M13.3226 3.6129H0.677419C0.497757 3.6129 0.325452 3.54152 0.198411 3.41448C0.0713707 3.28744 0 3.11514 0 2.93548C0 2.75581 0.0713707 2.58351 0.198411 2.45647C0.325452 2.32943 0.497757 2.25806 0.677419 2.25806H13.3226C13.5022 2.25806 13.6745 2.32943 13.8016 2.45647C13.9286 2.58351 14 2.75581 14 2.93548C14 3.11514 13.9286 3.28744 13.8016 3.41448C13.6745 3.54152 13.5022 3.6129 13.3226 3.6129ZM13.3226 7.67741H0.677419C0.497757 7.67741 0.325452 7.60604 0.198411 7.479C0.0713707 7.35196 0 7.17965 0 6.99999C0 6.82033 0.0713707 6.64802 0.198411 6.52098C0.325452 6.39394 0.497757 6.32257 0.677419 6.32257H13.3226C13.5022 6.32257 13.6745 6.39394 13.8016 6.52098C13.9286 6.64802 14 6.82033 14 6.99999C14 7.17965 13.9286 7.35196 13.8016 7.479C13.6745 7.60604 13.5022 7.67741 13.3226 7.67741ZM0.677419 11.7419H13.3226C13.5022 11.7419 13.6745 11.6706 13.8016 11.5435C13.9286 11.4165 14 11.2442 14 11.0645C14 10.8848 13.9286 10.7125 13.8016 10.5855C13.6745 10.4585 13.5022 10.3871 13.3226 10.3871H0.677419C0.497757 10.3871 0.325452 10.4585 0.198411 10.5855C0.0713707 10.7125 0 10.8848 0 11.0645C0 11.2442 0.0713707 11.4165 0.198411 11.5435C0.325452 11.6706 0.497757 11.7419 0.677419 11.7419Z\",\n fill: \"currentColor\"\n}, null, -1);\nvar _hoisted_2 = [_hoisted_1];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return openBlock(), createElementBlock(\"svg\", mergeProps({\n width: \"14\",\n height: \"14\",\n viewBox: \"0 0 14 14\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, _ctx.pti()), _hoisted_2, 16);\n}\n\nscript.render = render;\n\nexport { script as default };\n//# sourceMappingURL=index.mjs.map\n"],"names":["BaseIcon","createElementVNode"],"mappings":";;;AAGG,IAAC,SAAS;AAAA,EACX,MAAM;AAAA,EACN,WAAWA;AACb;AAEA,IAAI,aAA0BC,gCAAmB,QAAQ;AAAA,EACvD,aAAa;AAAA,EACb,aAAa;AAAA,EACb,GAAG;AAAA,EACH,MAAM;AACR,GAAG,MAAM,EAAE;AACX,IAAI,aAAa,CAAC,UAAU;AAC5B,SAAS,OAAO,MAAM,QAAQ,QAAQ,QAAQ,OAAO,UAAU;AAC7D,SAAO,UAAW,GAAE,mBAAmB,OAAO,WAAW;AAAA,IACvD,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,MAAM;AAAA,IACN,OAAO;AAAA,EACR,GAAE,KAAK,IAAG,CAAE,GAAG,YAAY,EAAE;AAChC;AARS;AAUT,OAAO,SAAS;","x_google_ignoreList":[0]}
|
||||
{"version":3,"file":"index-UBW0i6QV.js","sources":["../../node_modules/@primevue/icons/bars/index.mjs"],"sourcesContent":["import BaseIcon from '@primevue/icons/baseicon';\nimport { openBlock, createElementBlock, mergeProps, createElementVNode } from 'vue';\n\nvar script = {\n name: 'BarsIcon',\n \"extends\": BaseIcon\n};\n\nvar _hoisted_1 = /*#__PURE__*/createElementVNode(\"path\", {\n \"fill-rule\": \"evenodd\",\n \"clip-rule\": \"evenodd\",\n d: \"M13.3226 3.6129H0.677419C0.497757 3.6129 0.325452 3.54152 0.198411 3.41448C0.0713707 3.28744 0 3.11514 0 2.93548C0 2.75581 0.0713707 2.58351 0.198411 2.45647C0.325452 2.32943 0.497757 2.25806 0.677419 2.25806H13.3226C13.5022 2.25806 13.6745 2.32943 13.8016 2.45647C13.9286 2.58351 14 2.75581 14 2.93548C14 3.11514 13.9286 3.28744 13.8016 3.41448C13.6745 3.54152 13.5022 3.6129 13.3226 3.6129ZM13.3226 7.67741H0.677419C0.497757 7.67741 0.325452 7.60604 0.198411 7.479C0.0713707 7.35196 0 7.17965 0 6.99999C0 6.82033 0.0713707 6.64802 0.198411 6.52098C0.325452 6.39394 0.497757 6.32257 0.677419 6.32257H13.3226C13.5022 6.32257 13.6745 6.39394 13.8016 6.52098C13.9286 6.64802 14 6.82033 14 6.99999C14 7.17965 13.9286 7.35196 13.8016 7.479C13.6745 7.60604 13.5022 7.67741 13.3226 7.67741ZM0.677419 11.7419H13.3226C13.5022 11.7419 13.6745 11.6706 13.8016 11.5435C13.9286 11.4165 14 11.2442 14 11.0645C14 10.8848 13.9286 10.7125 13.8016 10.5855C13.6745 10.4585 13.5022 10.3871 13.3226 10.3871H0.677419C0.497757 10.3871 0.325452 10.4585 0.198411 10.5855C0.0713707 10.7125 0 10.8848 0 11.0645C0 11.2442 0.0713707 11.4165 0.198411 11.5435C0.325452 11.6706 0.497757 11.7419 0.677419 11.7419Z\",\n fill: \"currentColor\"\n}, null, -1);\nvar _hoisted_2 = [_hoisted_1];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return openBlock(), createElementBlock(\"svg\", mergeProps({\n width: \"14\",\n height: \"14\",\n viewBox: \"0 0 14 14\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, _ctx.pti()), _hoisted_2, 16);\n}\n\nscript.render = render;\n\nexport { script as default };\n//# sourceMappingURL=index.mjs.map\n"],"names":["BaseIcon","createElementVNode"],"mappings":";;;AAGG,IAAC,SAAS;AAAA,EACX,MAAM;AAAA,EACN,WAAWA;AACb;AAEA,IAAI,aAA0BC,gCAAmB,QAAQ;AAAA,EACvD,aAAa;AAAA,EACb,aAAa;AAAA,EACb,GAAG;AAAA,EACH,MAAM;AACR,GAAG,MAAM,EAAE;AACX,IAAI,aAAa,CAAC,UAAU;AAC5B,SAAS,OAAO,MAAM,QAAQ,QAAQ,QAAQ,OAAO,UAAU;AAC7D,SAAO,UAAW,GAAE,mBAAmB,OAAO,WAAW;AAAA,IACvD,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,MAAM;AAAA,IACN,OAAO;AAAA,EACR,GAAE,KAAK,IAAG,CAAE,GAAG,YAAY,EAAE;AAChC;AARS;AAUT,OAAO,SAAS;","x_google_ignoreList":[0]}
|
124
web/assets/index-BeGB0rCz.js → web/assets/index-qpNewm3I.js
generated
vendored
124
web/assets/index-BeGB0rCz.js → web/assets/index-qpNewm3I.js
generated
vendored
@ -1,6 +1,6 @@
|
||||
var __defProp = Object.defineProperty;
|
||||
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
||||
import { ca as ComfyDialog, cb as $el, cc as ComfyApp, h as app, a3 as LiteGraph, bd as LGraphCanvas, cd as useExtensionService, ce as processDynamicPrompt, cf as isElectron, c0 as electronAPI, bR as useDialogService, cg as t, ch as DraggableList, bt as useToastStore, ah as LGraphNode, ci as applyTextReplacements, cj as ComfyWidgets, ck as addValueControlWidgets, a6 as useNodeDefStore, cl as serialise, cm as deserialiseAndCreate, b8 as api, a as useSettingStore, ag as LGraphGroup, ad as nextTick } from "./index-CJmKJOqY.js";
|
||||
import { ca as ComfyDialog, cb as $el, cc as ComfyApp, h as app, a3 as LiteGraph, bd as LGraphCanvas, cd as useExtensionService, ce as processDynamicPrompt, cf as isElectron, c0 as electronAPI, bR as useDialogService, cg as t, ch as DraggableList, bt as useToastStore, ah as LGraphNode, ci as applyTextReplacements, cj as ComfyWidgets, ck as addValueControlWidgets, a6 as useNodeDefStore, cl as serialise, cm as deserialiseAndCreate, b8 as api, a as useSettingStore, ag as LGraphGroup, ad as nextTick } from "./index-De3LoLTp.js";
|
||||
class ClipspaceDialog extends ComfyDialog {
|
||||
static {
|
||||
__name(this, "ClipspaceDialog");
|
||||
@ -45746,6 +45746,26 @@ class STLLoader extends Loader {
|
||||
return isBinary(binData) ? parseBinary(binData) : parseASCII(ensureString(data));
|
||||
}
|
||||
}
|
||||
async function uploadTempImage(imageData, prefix) {
|
||||
const blob = await fetch(imageData).then((r) => r.blob());
|
||||
const name = `${prefix}_${Date.now()}.png`;
|
||||
const file2 = new File([blob], name);
|
||||
const body = new FormData();
|
||||
body.append("image", file2);
|
||||
body.append("subfolder", "threed");
|
||||
body.append("type", "temp");
|
||||
const resp = await api.fetchApi("/upload/image", {
|
||||
method: "POST",
|
||||
body
|
||||
});
|
||||
if (resp.status !== 200) {
|
||||
const err2 = `Error uploading temp image: ${resp.status} - ${resp.statusText}`;
|
||||
useToastStore().addAlert(err2);
|
||||
throw new Error(err2);
|
||||
}
|
||||
return await resp.json();
|
||||
}
|
||||
__name(uploadTempImage, "uploadTempImage");
|
||||
async function uploadFile$1(load3d, file2, fileInput) {
|
||||
let uploadPath;
|
||||
try {
|
||||
@ -45843,7 +45863,7 @@ class Load3d {
|
||||
this.activeCamera = this.perspectiveCamera;
|
||||
this.perspectiveCamera.lookAt(0, 0, 0);
|
||||
this.orthographicCamera.lookAt(0, 0, 0);
|
||||
this.renderer = new WebGLRenderer({ antialias: true });
|
||||
this.renderer = new WebGLRenderer({ alpha: true, antialias: true });
|
||||
this.renderer.setSize(300, 300);
|
||||
this.renderer.setClearColor(2631720);
|
||||
const rendererDomElement = this.renderer.domElement;
|
||||
@ -45885,6 +45905,13 @@ class Load3d {
|
||||
this.handleResize();
|
||||
this.startAnimation();
|
||||
}
|
||||
setFOV(fov2) {
|
||||
if (this.activeCamera === this.perspectiveCamera) {
|
||||
this.perspectiveCamera.fov = fov2;
|
||||
this.perspectiveCamera.updateProjectionMatrix();
|
||||
this.renderer.render(this.scene, this.activeCamera);
|
||||
}
|
||||
}
|
||||
getCameraState() {
|
||||
const currentType = this.getCurrentCameraType();
|
||||
return {
|
||||
@ -46324,10 +46351,14 @@ class Load3d {
|
||||
this.renderer.render(this.scene, this.activeCamera);
|
||||
}, "animate");
|
||||
captureScene(width, height) {
|
||||
return new Promise((resolve, reject) => {
|
||||
return new Promise(async (resolve, reject) => {
|
||||
try {
|
||||
const originalWidth = this.renderer.domElement.width;
|
||||
const originalHeight = this.renderer.domElement.height;
|
||||
const originalClearColor = this.renderer.getClearColor(
|
||||
new Color()
|
||||
);
|
||||
const originalClearAlpha = this.renderer.getClearAlpha();
|
||||
this.renderer.setSize(width, height);
|
||||
if (this.activeCamera === this.perspectiveCamera) {
|
||||
this.perspectiveCamera.aspect = width / height;
|
||||
@ -46342,10 +46373,14 @@ class Load3d {
|
||||
this.orthographicCamera.updateProjectionMatrix();
|
||||
}
|
||||
this.renderer.render(this.scene, this.activeCamera);
|
||||
const imageData = this.renderer.domElement.toDataURL("image/png");
|
||||
const sceneData = this.renderer.domElement.toDataURL("image/png");
|
||||
this.renderer.setClearColor(0, 0);
|
||||
this.renderer.render(this.scene, this.activeCamera);
|
||||
const maskData = this.renderer.domElement.toDataURL("image/png");
|
||||
this.renderer.setClearColor(originalClearColor, originalClearAlpha);
|
||||
this.renderer.setSize(originalWidth, originalHeight);
|
||||
this.handleResize();
|
||||
resolve(imageData);
|
||||
resolve({ scene: sceneData, mask: maskData });
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
}
|
||||
@ -46542,7 +46577,7 @@ const load3dCanvasCSSCLASS = `display: flex;
|
||||
width: 100% !important;
|
||||
height: 100% !important;`;
|
||||
const containerToLoad3D = /* @__PURE__ */ new Map();
|
||||
function configureLoad3D(load3d, loadFolder, modelWidget, showGrid, cameraType, view, material, bgColor, lightIntensity, upDirection, cameraState, postModelUpdateFunc) {
|
||||
function configureLoad3D(load3d, loadFolder, modelWidget, showGrid, cameraType, view, material, bgColor, lightIntensity, upDirection, fov2, cameraState, postModelUpdateFunc) {
|
||||
const createModelUpdateHandler = /* @__PURE__ */ __name(() => {
|
||||
let isFirstLoad = true;
|
||||
return async (value) => {
|
||||
@ -46605,6 +46640,10 @@ function configureLoad3D(load3d, loadFolder, modelWidget, showGrid, cameraType,
|
||||
load3d.setUpDirection(
|
||||
upDirection.value
|
||||
);
|
||||
fov2.callback = (value) => {
|
||||
load3d.setFOV(value);
|
||||
};
|
||||
load3d.setFOV(fov2.value);
|
||||
}
|
||||
__name(configureLoad3D, "configureLoad3D");
|
||||
app.registerExtension({
|
||||
@ -46715,6 +46754,7 @@ app.registerExtension({
|
||||
const upDirection = node.widgets.find(
|
||||
(w2) => w2.name === "up_direction"
|
||||
);
|
||||
const fov2 = node.widgets.find((w2) => w2.name === "fov");
|
||||
let cameraState;
|
||||
try {
|
||||
const cameraInfo = node.properties["Camera Info"];
|
||||
@ -46736,31 +46776,25 @@ app.registerExtension({
|
||||
bgColor,
|
||||
lightIntensity,
|
||||
upDirection,
|
||||
fov2,
|
||||
cameraState
|
||||
);
|
||||
const w = node.widgets.find((w2) => w2.name === "width");
|
||||
const h = node.widgets.find((w2) => w2.name === "height");
|
||||
sceneWidget.serializeValue = async () => {
|
||||
node.properties["Camera Info"] = JSON.stringify(load3d.getCameraState());
|
||||
const imageData = await load3d.captureScene(w.value, h.value);
|
||||
const blob = await fetch(imageData).then((r) => r.blob());
|
||||
const name = `scene_${Date.now()}.png`;
|
||||
const file2 = new File([blob], name);
|
||||
const body = new FormData();
|
||||
body.append("image", file2);
|
||||
body.append("subfolder", "threed");
|
||||
body.append("type", "temp");
|
||||
const resp = await api.fetchApi("/upload/image", {
|
||||
method: "POST",
|
||||
body
|
||||
});
|
||||
if (resp.status !== 200) {
|
||||
const err2 = `Error uploading scene capture: ${resp.status} - ${resp.statusText}`;
|
||||
useToastStore().addAlert(err2);
|
||||
throw new Error(err2);
|
||||
}
|
||||
const data = await resp.json();
|
||||
return `threed/${data.name} [temp]`;
|
||||
const { scene: imageData, mask: maskData } = await load3d.captureScene(
|
||||
w.value,
|
||||
h.value
|
||||
);
|
||||
const [data, dataMask] = await Promise.all([
|
||||
uploadTempImage(imageData, "scene"),
|
||||
uploadTempImage(maskData, "scene_mask")
|
||||
]);
|
||||
return {
|
||||
image: `threed/${data.name} [temp]`,
|
||||
mask: `threed/${dataMask.name} [temp]`
|
||||
};
|
||||
};
|
||||
}
|
||||
});
|
||||
@ -46927,6 +46961,7 @@ app.registerExtension({
|
||||
load3d2.setAnimationSpeed(parseFloat(value));
|
||||
}
|
||||
};
|
||||
const fov2 = node.widgets.find((w2) => w2.name === "fov");
|
||||
let cameraState;
|
||||
try {
|
||||
const cameraInfo = node.properties["Camera Info"];
|
||||
@ -46948,6 +46983,7 @@ app.registerExtension({
|
||||
bgColor,
|
||||
lightIntensity,
|
||||
upDirection,
|
||||
fov2,
|
||||
cameraState,
|
||||
(load3d2) => {
|
||||
const animationLoad3d = load3d2;
|
||||
@ -46965,26 +47001,18 @@ app.registerExtension({
|
||||
const h = node.widgets.find((w2) => w2.name === "height");
|
||||
sceneWidget.serializeValue = async () => {
|
||||
node.properties["Camera Info"] = JSON.stringify(load3d.getCameraState());
|
||||
load3d.toggleAnimation(false);
|
||||
const imageData = await load3d.captureScene(w.value, h.value);
|
||||
const blob = await fetch(imageData).then((r) => r.blob());
|
||||
const name = `scene_${Date.now()}.png`;
|
||||
const file2 = new File([blob], name);
|
||||
const body = new FormData();
|
||||
body.append("image", file2);
|
||||
body.append("subfolder", "threed");
|
||||
body.append("type", "temp");
|
||||
const resp = await api.fetchApi("/upload/image", {
|
||||
method: "POST",
|
||||
body
|
||||
});
|
||||
if (resp.status !== 200) {
|
||||
const err2 = `Error uploading scene capture: ${resp.status} - ${resp.statusText}`;
|
||||
useToastStore().addAlert(err2);
|
||||
throw new Error(err2);
|
||||
}
|
||||
const data = await resp.json();
|
||||
return `threed/${data.name} [temp]`;
|
||||
const { scene: imageData, mask: maskData } = await load3d.captureScene(
|
||||
w.value,
|
||||
h.value
|
||||
);
|
||||
const [data, dataMask] = await Promise.all([
|
||||
uploadTempImage(imageData, "scene"),
|
||||
uploadTempImage(maskData, "scene_mask")
|
||||
]);
|
||||
return {
|
||||
image: `threed/${data.name} [temp]`,
|
||||
mask: `threed/${dataMask.name} [temp]`
|
||||
};
|
||||
};
|
||||
}
|
||||
});
|
||||
@ -47066,6 +47094,7 @@ app.registerExtension({
|
||||
const upDirection = node.widgets.find(
|
||||
(w) => w.name === "up_direction"
|
||||
);
|
||||
const fov2 = node.widgets.find((w) => w.name === "fov");
|
||||
const onExecuted = node.onExecuted;
|
||||
node.onExecuted = function(message) {
|
||||
onExecuted?.apply(this, arguments);
|
||||
@ -47086,7 +47115,8 @@ app.registerExtension({
|
||||
material,
|
||||
bgColor,
|
||||
lightIntensity,
|
||||
upDirection
|
||||
upDirection,
|
||||
fov2
|
||||
);
|
||||
};
|
||||
}
|
||||
@ -53156,4 +53186,4 @@ app.registerExtension({
|
||||
});
|
||||
}
|
||||
});
|
||||
//# sourceMappingURL=index-BeGB0rCz.js.map
|
||||
//# sourceMappingURL=index-qpNewm3I.js.map
|
2
web/assets/index-BeGB0rCz.js.map → web/assets/index-qpNewm3I.js.map
generated
vendored
2
web/assets/index-BeGB0rCz.js.map → web/assets/index-qpNewm3I.js.map
generated
vendored
File diff suppressed because one or more lines are too long
4
web/assets/keybindingService-DyirEpoV.js → web/assets/keybindingService-BlJ-gQG4.js
generated
vendored
4
web/assets/keybindingService-DyirEpoV.js → web/assets/keybindingService-BlJ-gQG4.js
generated
vendored
@ -1,6 +1,6 @@
|
||||
var __defProp = Object.defineProperty;
|
||||
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
||||
import { a$ as useKeybindingStore, a2 as useCommandStore, a as useSettingStore, cq as KeyComboImpl, cr as KeybindingImpl } from "./index-CJmKJOqY.js";
|
||||
import { a$ as useKeybindingStore, a2 as useCommandStore, a as useSettingStore, cq as KeyComboImpl, cr as KeybindingImpl } from "./index-De3LoLTp.js";
|
||||
const CORE_KEYBINDINGS = [
|
||||
{
|
||||
combo: {
|
||||
@ -247,4 +247,4 @@ const useKeybindingService = /* @__PURE__ */ __name(() => {
|
||||
export {
|
||||
useKeybindingService as u
|
||||
};
|
||||
//# sourceMappingURL=keybindingService-DyirEpoV.js.map
|
||||
//# sourceMappingURL=keybindingService-BlJ-gQG4.js.map
|
File diff suppressed because one or more lines are too long
4
web/assets/serverConfigStore-CCtRsrpA.js → web/assets/serverConfigStore-BuuMHphX.js
generated
vendored
4
web/assets/serverConfigStore-CCtRsrpA.js → web/assets/serverConfigStore-BuuMHphX.js
generated
vendored
@ -1,6 +1,6 @@
|
||||
var __defProp = Object.defineProperty;
|
||||
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
||||
import { $ as defineStore, ab as ref, c as computed } from "./index-CJmKJOqY.js";
|
||||
import { $ as defineStore, ab as ref, c as computed } from "./index-De3LoLTp.js";
|
||||
const useServerConfigStore = defineStore("serverConfig", () => {
|
||||
const serverConfigById = ref({});
|
||||
const serverConfigs = computed(() => {
|
||||
@ -87,4 +87,4 @@ const useServerConfigStore = defineStore("serverConfig", () => {
|
||||
export {
|
||||
useServerConfigStore as u
|
||||
};
|
||||
//# sourceMappingURL=serverConfigStore-CCtRsrpA.js.map
|
||||
//# sourceMappingURL=serverConfigStore-BuuMHphX.js.map
|
File diff suppressed because one or more lines are too long
4
web/index.html
vendored
4
web/index.html
vendored
@ -6,8 +6,8 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
|
||||
<link rel="stylesheet" type="text/css" href="user.css" />
|
||||
<link rel="stylesheet" type="text/css" href="materialdesignicons.min.css" />
|
||||
<script type="module" crossorigin src="./assets/index-CJmKJOqY.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="./assets/index-BFn3NXmB.css">
|
||||
<script type="module" crossorigin src="./assets/index-De3LoLTp.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="./assets/index-BaCwTTqK.css">
|
||||
</head>
|
||||
<body class="litegraph grid">
|
||||
<div id="vue-app"></div>
|
||||
|
Loading…
Reference in New Issue
Block a user