@rslsp1/fa-app-tools 1.3.2 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +27 -37
- package/dist/index.mjs +27 -37
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -448,6 +448,6 @@ declare function buildLoopInstruction(rounds: Array<{
|
|
|
448
448
|
declare function autoLabel(index: number): string;
|
|
449
449
|
declare function buildReferenceImageMediaIds(images: SelectedLabImage[]): string[];
|
|
450
450
|
|
|
451
|
-
declare const LIB_VERSION = "1.3.
|
|
451
|
+
declare const LIB_VERSION = "1.3.3";
|
|
452
452
|
|
|
453
453
|
export { AvatarArchitectApp, type AvatarArchitectAppProps, CollapsibleCard, CompactDropdown, type ExtractedCharacter, FaToolsBadge, type FlowSdk, GLOBAL_STYLES, type Generation, HistoryPanel, InspectPanel, LIB_VERSION, LabBlend, LabCompare, type LabFrame, LabImagePicker, type LabItem, LabLoop, LabRemix, type LabServices, LabsTab, ListView, type MediaItem, MediaLibrary, PillButton, type ProjectMeta, type ProjectSettings, ProjectSyncTab, PromptTab, SectionLabel, type SelectedLabImage, type SelectedTag, SetupPanel, type SyncDiff, TagManagerPanel, type TagOption, type WorkspaceTags, autoLabel, buildBlendInstruction, buildCompareInstruction, buildFallbackPrompt, buildGenerationPrompt, buildImageGenerationOptions, buildLoopInstruction, buildPromptTabPayload, buildReferenceImageMediaIds, buildRemixInstruction, buildScanInstruction, cleanAiResponse, createFlowServices, exportProjectToZip, formatTreeToMarkdown, frameToGeneration, getFormattedTimestamp, groupGenerationsToLabItems, importProjectFromZip, injectXMPMetadata, interpretSdkError, parsePromptFile, parsePromptResponse, useKeyboardNavigation, useOnClickOutside };
|
package/dist/index.d.ts
CHANGED
|
@@ -448,6 +448,6 @@ declare function buildLoopInstruction(rounds: Array<{
|
|
|
448
448
|
declare function autoLabel(index: number): string;
|
|
449
449
|
declare function buildReferenceImageMediaIds(images: SelectedLabImage[]): string[];
|
|
450
450
|
|
|
451
|
-
declare const LIB_VERSION = "1.3.
|
|
451
|
+
declare const LIB_VERSION = "1.3.3";
|
|
452
452
|
|
|
453
453
|
export { AvatarArchitectApp, type AvatarArchitectAppProps, CollapsibleCard, CompactDropdown, type ExtractedCharacter, FaToolsBadge, type FlowSdk, GLOBAL_STYLES, type Generation, HistoryPanel, InspectPanel, LIB_VERSION, LabBlend, LabCompare, type LabFrame, LabImagePicker, type LabItem, LabLoop, LabRemix, type LabServices, LabsTab, ListView, type MediaItem, MediaLibrary, PillButton, type ProjectMeta, type ProjectSettings, ProjectSyncTab, PromptTab, SectionLabel, type SelectedLabImage, type SelectedTag, SetupPanel, type SyncDiff, TagManagerPanel, type TagOption, type WorkspaceTags, autoLabel, buildBlendInstruction, buildCompareInstruction, buildFallbackPrompt, buildGenerationPrompt, buildImageGenerationOptions, buildLoopInstruction, buildPromptTabPayload, buildReferenceImageMediaIds, buildRemixInstruction, buildScanInstruction, cleanAiResponse, createFlowServices, exportProjectToZip, formatTreeToMarkdown, frameToGeneration, getFormattedTimestamp, groupGenerationsToLabItems, importProjectFromZip, injectXMPMetadata, interpretSdkError, parsePromptFile, parsePromptResponse, useKeyboardNavigation, useOnClickOutside };
|
package/dist/index.js
CHANGED
|
@@ -3927,42 +3927,32 @@ function AvatarArchitectApp({ onGenerateImage, onGeneratePrompt, onDownload, onS
|
|
|
3927
3927
|
!projectLoaded && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "text-white/20 text-[10px] text-center", children: "Baum, Bilder und Einstellungen wiederherstellen" })
|
|
3928
3928
|
] }),
|
|
3929
3929
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "flex flex-col items-center gap-2 w-full max-w-[280px]", children: [
|
|
3930
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
{
|
|
3957
|
-
type: "submit",
|
|
3958
|
-
className: "px-3 rounded-xl text-[11px] font-bold text-white",
|
|
3959
|
-
style: { background: "#f59e0b", height: 44 },
|
|
3960
|
-
children: "OK"
|
|
3961
|
-
}
|
|
3962
|
-
)
|
|
3963
|
-
]
|
|
3964
|
-
}
|
|
3965
|
-
),
|
|
3930
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "flex gap-2 w-full", children: [
|
|
3931
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
3932
|
+
"input",
|
|
3933
|
+
{
|
|
3934
|
+
type: "password",
|
|
3935
|
+
value: hfTokenInput,
|
|
3936
|
+
onChange: (e) => setHfTokenInput(e.target.value),
|
|
3937
|
+
onKeyDown: (e) => {
|
|
3938
|
+
if (e.key === "Enter" && hfTokenInput.trim()) setHfToken(hfTokenInput.trim());
|
|
3939
|
+
},
|
|
3940
|
+
placeholder: "HF Token (hf_\u2026)",
|
|
3941
|
+
className: "flex-1 rounded-xl px-3 text-[11px] font-mono outline-none",
|
|
3942
|
+
style: { height: 44, background: "rgba(255,255,255,0.05)", border: "1px solid rgba(255,255,255,0.1)", color: "rgba(255,255,255,0.7)" }
|
|
3943
|
+
}
|
|
3944
|
+
),
|
|
3945
|
+
hfTokenInput.trim() && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
3946
|
+
"button",
|
|
3947
|
+
{
|
|
3948
|
+
type: "button",
|
|
3949
|
+
onClick: () => setHfToken(hfTokenInput.trim()),
|
|
3950
|
+
className: "px-3 rounded-xl text-[11px] font-bold text-white",
|
|
3951
|
+
style: { background: "#f59e0b", height: 44 },
|
|
3952
|
+
children: "OK"
|
|
3953
|
+
}
|
|
3954
|
+
)
|
|
3955
|
+
] }),
|
|
3966
3956
|
hfToken && /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
3967
3957
|
"button",
|
|
3968
3958
|
{
|
|
@@ -4628,7 +4618,7 @@ function AvatarArchitectApp({ onGenerateImage, onGeneratePrompt, onDownload, onS
|
|
|
4628
4618
|
}
|
|
4629
4619
|
|
|
4630
4620
|
// src/index.ts
|
|
4631
|
-
var LIB_VERSION = "1.3.
|
|
4621
|
+
var LIB_VERSION = "1.3.3";
|
|
4632
4622
|
// Annotate the CommonJS export names for ESM import in node:
|
|
4633
4623
|
0 && (module.exports = {
|
|
4634
4624
|
AvatarArchitectApp,
|
package/dist/index.mjs
CHANGED
|
@@ -3464,42 +3464,32 @@ function AvatarArchitectApp({ onGenerateImage, onGeneratePrompt, onDownload, onS
|
|
|
3464
3464
|
!projectLoaded && /* @__PURE__ */ jsx20("span", { className: "text-white/20 text-[10px] text-center", children: "Baum, Bilder und Einstellungen wiederherstellen" })
|
|
3465
3465
|
] }),
|
|
3466
3466
|
/* @__PURE__ */ jsxs18("div", { className: "flex flex-col items-center gap-2 w-full max-w-[280px]", children: [
|
|
3467
|
-
/* @__PURE__ */ jsxs18(
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
{
|
|
3494
|
-
type: "submit",
|
|
3495
|
-
className: "px-3 rounded-xl text-[11px] font-bold text-white",
|
|
3496
|
-
style: { background: "#f59e0b", height: 44 },
|
|
3497
|
-
children: "OK"
|
|
3498
|
-
}
|
|
3499
|
-
)
|
|
3500
|
-
]
|
|
3501
|
-
}
|
|
3502
|
-
),
|
|
3467
|
+
/* @__PURE__ */ jsxs18("div", { className: "flex gap-2 w-full", children: [
|
|
3468
|
+
/* @__PURE__ */ jsx20(
|
|
3469
|
+
"input",
|
|
3470
|
+
{
|
|
3471
|
+
type: "password",
|
|
3472
|
+
value: hfTokenInput,
|
|
3473
|
+
onChange: (e) => setHfTokenInput(e.target.value),
|
|
3474
|
+
onKeyDown: (e) => {
|
|
3475
|
+
if (e.key === "Enter" && hfTokenInput.trim()) setHfToken(hfTokenInput.trim());
|
|
3476
|
+
},
|
|
3477
|
+
placeholder: "HF Token (hf_\u2026)",
|
|
3478
|
+
className: "flex-1 rounded-xl px-3 text-[11px] font-mono outline-none",
|
|
3479
|
+
style: { height: 44, background: "rgba(255,255,255,0.05)", border: "1px solid rgba(255,255,255,0.1)", color: "rgba(255,255,255,0.7)" }
|
|
3480
|
+
}
|
|
3481
|
+
),
|
|
3482
|
+
hfTokenInput.trim() && /* @__PURE__ */ jsx20(
|
|
3483
|
+
"button",
|
|
3484
|
+
{
|
|
3485
|
+
type: "button",
|
|
3486
|
+
onClick: () => setHfToken(hfTokenInput.trim()),
|
|
3487
|
+
className: "px-3 rounded-xl text-[11px] font-bold text-white",
|
|
3488
|
+
style: { background: "#f59e0b", height: 44 },
|
|
3489
|
+
children: "OK"
|
|
3490
|
+
}
|
|
3491
|
+
)
|
|
3492
|
+
] }),
|
|
3503
3493
|
hfToken && /* @__PURE__ */ jsxs18(
|
|
3504
3494
|
"button",
|
|
3505
3495
|
{
|
|
@@ -4165,7 +4155,7 @@ function AvatarArchitectApp({ onGenerateImage, onGeneratePrompt, onDownload, onS
|
|
|
4165
4155
|
}
|
|
4166
4156
|
|
|
4167
4157
|
// src/index.ts
|
|
4168
|
-
var LIB_VERSION = "1.3.
|
|
4158
|
+
var LIB_VERSION = "1.3.3";
|
|
4169
4159
|
export {
|
|
4170
4160
|
AvatarArchitectApp,
|
|
4171
4161
|
CollapsibleCard,
|