@rslsp1/fa-app-tools 2.0.15 → 2.0.17

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 CHANGED
@@ -612,6 +612,6 @@ declare function findTips(dag: Dag): number[];
612
612
  declare function findForks(dag: Dag): DagFork[];
613
613
  declare function topoSort(events: HFEvent[]): HFEvent[];
614
614
 
615
- declare const LIB_VERSION = "2.0.15";
615
+ declare const LIB_VERSION = "2.0.17";
616
616
 
617
617
  export { AvatarArchitectApp, type AvatarArchitectAppProps, CollapsibleCard, CompactDropdown, type DagFork, type ExtractedCharacter, FaApp, type FaAppProps, FaToolsBadge, type FlowSdk, GLOBAL_STYLES, type Generation, type HFEvent, type HFEventVersion, type HFFileInfo$1 as HFFileInfo, type HFMetadataEntry, type HFStateMeta, type HFStateResult, type HFStateSnapshot, HistoryPanel, type ImageAddedPayload, InspectPanel, LIB_VERSION, LabBlend, LabCompare, type LabFrame, LabImagePicker, type LabItem, LabLoop, LabRemix, type LabServices, LabsTab, ListView, type MediaItem, MediaLibrary, type MetadataUpdatedPayload, PillButton, type ProjectMeta, type ProjectSettings, ProjectSyncTab, PromptTab, SectionLabel, type SelectedLabImage, type SelectedTag, SetupPanel, type SyncDiff, TagManagerPanel, type TagOption, type TagUpsertedPayload, type WorkspaceTags, applyEvent, applyEvents, autoLabel, buildBlendInstruction, buildCompareInstruction, buildDag, buildFallbackPrompt, buildGenerationPrompt, buildImageGenerationOptions, buildLoopInstruction, buildPromptTabPayload, buildReferenceImageMediaIds, buildRemixInstruction, buildScanInstruction, cleanAiResponse, createFlowServices, exportProjectToZip, findForks, findTips, formatTreeToMarkdown, frameToGeneration, getFormattedTimestamp, getHFToken, getSessionClientId, groupGenerationsToLabItems, hfBatchArchive, hfBootstrapFromLegacy, hfDeleteProject, hfDownloadProject, hfListDir, hfListProjects, hfLoadImageAsBase64, hfUploadImage, hfUploadProjectForm, hfUploadSmallFile, importProjectFromZip, injectXMPMetadata, interpretSdkError, loadHFState, loadPendingEvents, parsePromptFile, parsePromptResponse, setHFToken, topoSort, tsFromEventPath, useHFState, useKeyboardNavigation, useOnClickOutside, writeHFEvent };
package/dist/index.d.ts CHANGED
@@ -612,6 +612,6 @@ declare function findTips(dag: Dag): number[];
612
612
  declare function findForks(dag: Dag): DagFork[];
613
613
  declare function topoSort(events: HFEvent[]): HFEvent[];
614
614
 
615
- declare const LIB_VERSION = "2.0.15";
615
+ declare const LIB_VERSION = "2.0.17";
616
616
 
617
617
  export { AvatarArchitectApp, type AvatarArchitectAppProps, CollapsibleCard, CompactDropdown, type DagFork, type ExtractedCharacter, FaApp, type FaAppProps, FaToolsBadge, type FlowSdk, GLOBAL_STYLES, type Generation, type HFEvent, type HFEventVersion, type HFFileInfo$1 as HFFileInfo, type HFMetadataEntry, type HFStateMeta, type HFStateResult, type HFStateSnapshot, HistoryPanel, type ImageAddedPayload, InspectPanel, LIB_VERSION, LabBlend, LabCompare, type LabFrame, LabImagePicker, type LabItem, LabLoop, LabRemix, type LabServices, LabsTab, ListView, type MediaItem, MediaLibrary, type MetadataUpdatedPayload, PillButton, type ProjectMeta, type ProjectSettings, ProjectSyncTab, PromptTab, SectionLabel, type SelectedLabImage, type SelectedTag, SetupPanel, type SyncDiff, TagManagerPanel, type TagOption, type TagUpsertedPayload, type WorkspaceTags, applyEvent, applyEvents, autoLabel, buildBlendInstruction, buildCompareInstruction, buildDag, buildFallbackPrompt, buildGenerationPrompt, buildImageGenerationOptions, buildLoopInstruction, buildPromptTabPayload, buildReferenceImageMediaIds, buildRemixInstruction, buildScanInstruction, cleanAiResponse, createFlowServices, exportProjectToZip, findForks, findTips, formatTreeToMarkdown, frameToGeneration, getFormattedTimestamp, getHFToken, getSessionClientId, groupGenerationsToLabItems, hfBatchArchive, hfBootstrapFromLegacy, hfDeleteProject, hfDownloadProject, hfListDir, hfListProjects, hfLoadImageAsBase64, hfUploadImage, hfUploadProjectForm, hfUploadSmallFile, importProjectFromZip, injectXMPMetadata, interpretSdkError, loadHFState, loadPendingEvents, parsePromptFile, parsePromptResponse, setHFToken, topoSort, tsFromEventPath, useHFState, useKeyboardNavigation, useOnClickOutside, writeHFEvent };
package/dist/index.js CHANGED
@@ -5105,6 +5105,28 @@ function AvatarArchitectApp({ onGenerateImage, onGeneratePrompt, onDownload, onS
5105
5105
  }
5106
5106
  )
5107
5107
  ] }),
5108
+ !hfNamespace && /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: "flex items-center gap-3 w-full", children: [
5109
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "text-white/25 text-[10px] uppercase tracking-widest font-bold flex-shrink-0", children: "State:" }),
5110
+ ["app.art-by-rolands.de/", "dev-app.art-by-rolands.de/"].map((ns, i) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
5111
+ "button",
5112
+ {
5113
+ onClick: () => {
5114
+ setHfNamespaceLocal(ns);
5115
+ try {
5116
+ localStorage.setItem("aa-hf-namespace", ns);
5117
+ } catch {
5118
+ }
5119
+ },
5120
+ className: "px-3 py-1 rounded-lg text-[11px] font-bold transition-colors",
5121
+ style: {
5122
+ background: hfNamespaceLocal === ns ? "#e7e5e4" : "#44403c",
5123
+ color: hfNamespaceLocal === ns ? "#1c1917" : "#e7e5e4"
5124
+ },
5125
+ children: i === 0 ? "PROD" : "DEV"
5126
+ },
5127
+ ns
5128
+ ))
5129
+ ] }),
5108
5130
  hfToken && /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
5109
5131
  "button",
5110
5132
  {
@@ -5185,28 +5207,6 @@ function AvatarArchitectApp({ onGenerateImage, onGeneratePrompt, onDownload, onS
5185
5207
  )) }),
5186
5208
  layoutChoice === "mobile-desktop" && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "text-white/20 text-[9px] text-center", children: "Mobil-Layout skaliert f\xFCr Desktop-Modus" }),
5187
5209
  layoutChoice === "tablet-landscape" && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "text-white/20 text-[9px] text-center", children: "2-Spalten-Layout f\xFCr Landscape-Tablet im Desktop-Mode" })
5188
- ] }),
5189
- allowDevNamespace && !hfNamespace && /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: "flex items-center gap-3 w-full max-w-[280px]", children: [
5190
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "text-white/25 text-[10px] uppercase tracking-widest font-bold", children: "State:" }),
5191
- ["app.art-by-rolands.de/", "dev-app.art-by-rolands.de/"].map((ns, i) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
5192
- "button",
5193
- {
5194
- onClick: () => {
5195
- setHfNamespaceLocal(ns);
5196
- try {
5197
- localStorage.setItem("aa-hf-namespace", ns);
5198
- } catch {
5199
- }
5200
- },
5201
- className: "px-3 py-1 rounded-lg text-[11px] font-bold transition-colors",
5202
- style: {
5203
- background: hfNamespaceLocal === ns ? "#e7e5e4" : "#44403c",
5204
- color: hfNamespaceLocal === ns ? "#1c1917" : "#e7e5e4"
5205
- },
5206
- children: i === 0 ? "PROD" : "DEV"
5207
- },
5208
- ns
5209
- ))
5210
5210
  ] })
5211
5211
  ] });
5212
5212
  }
@@ -5859,7 +5859,7 @@ function FaApp({
5859
5859
  // src/index.ts
5860
5860
  init_hfStateService();
5861
5861
  init_hfStateService();
5862
- var LIB_VERSION = "2.0.15";
5862
+ var LIB_VERSION = "2.0.17";
5863
5863
  // Annotate the CommonJS export names for ESM import in node:
5864
5864
  0 && (module.exports = {
5865
5865
  AvatarArchitectApp,
package/dist/index.mjs CHANGED
@@ -4437,6 +4437,28 @@ function AvatarArchitectApp({ onGenerateImage, onGeneratePrompt, onDownload, onS
4437
4437
  }
4438
4438
  )
4439
4439
  ] }),
4440
+ !hfNamespace && /* @__PURE__ */ jsxs19("div", { className: "flex items-center gap-3 w-full", children: [
4441
+ /* @__PURE__ */ jsx21("span", { className: "text-white/25 text-[10px] uppercase tracking-widest font-bold flex-shrink-0", children: "State:" }),
4442
+ ["app.art-by-rolands.de/", "dev-app.art-by-rolands.de/"].map((ns, i) => /* @__PURE__ */ jsx21(
4443
+ "button",
4444
+ {
4445
+ onClick: () => {
4446
+ setHfNamespaceLocal(ns);
4447
+ try {
4448
+ localStorage.setItem("aa-hf-namespace", ns);
4449
+ } catch {
4450
+ }
4451
+ },
4452
+ className: "px-3 py-1 rounded-lg text-[11px] font-bold transition-colors",
4453
+ style: {
4454
+ background: hfNamespaceLocal === ns ? "#e7e5e4" : "#44403c",
4455
+ color: hfNamespaceLocal === ns ? "#1c1917" : "#e7e5e4"
4456
+ },
4457
+ children: i === 0 ? "PROD" : "DEV"
4458
+ },
4459
+ ns
4460
+ ))
4461
+ ] }),
4440
4462
  hfToken && /* @__PURE__ */ jsxs19(
4441
4463
  "button",
4442
4464
  {
@@ -4517,28 +4539,6 @@ function AvatarArchitectApp({ onGenerateImage, onGeneratePrompt, onDownload, onS
4517
4539
  )) }),
4518
4540
  layoutChoice === "mobile-desktop" && /* @__PURE__ */ jsx21("span", { className: "text-white/20 text-[9px] text-center", children: "Mobil-Layout skaliert f\xFCr Desktop-Modus" }),
4519
4541
  layoutChoice === "tablet-landscape" && /* @__PURE__ */ jsx21("span", { className: "text-white/20 text-[9px] text-center", children: "2-Spalten-Layout f\xFCr Landscape-Tablet im Desktop-Mode" })
4520
- ] }),
4521
- allowDevNamespace && !hfNamespace && /* @__PURE__ */ jsxs19("div", { className: "flex items-center gap-3 w-full max-w-[280px]", children: [
4522
- /* @__PURE__ */ jsx21("span", { className: "text-white/25 text-[10px] uppercase tracking-widest font-bold", children: "State:" }),
4523
- ["app.art-by-rolands.de/", "dev-app.art-by-rolands.de/"].map((ns, i) => /* @__PURE__ */ jsx21(
4524
- "button",
4525
- {
4526
- onClick: () => {
4527
- setHfNamespaceLocal(ns);
4528
- try {
4529
- localStorage.setItem("aa-hf-namespace", ns);
4530
- } catch {
4531
- }
4532
- },
4533
- className: "px-3 py-1 rounded-lg text-[11px] font-bold transition-colors",
4534
- style: {
4535
- background: hfNamespaceLocal === ns ? "#e7e5e4" : "#44403c",
4536
- color: hfNamespaceLocal === ns ? "#1c1917" : "#e7e5e4"
4537
- },
4538
- children: i === 0 ? "PROD" : "DEV"
4539
- },
4540
- ns
4541
- ))
4542
4542
  ] })
4543
4543
  ] });
4544
4544
  }
@@ -5189,7 +5189,7 @@ function FaApp({
5189
5189
  }
5190
5190
 
5191
5191
  // src/index.ts
5192
- var LIB_VERSION = "2.0.15";
5192
+ var LIB_VERSION = "2.0.17";
5193
5193
  export {
5194
5194
  AvatarArchitectApp,
5195
5195
  CollapsibleCard,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rslsp1/fa-app-tools",
3
- "version": "2.0.15",
3
+ "version": "2.0.17",
4
4
  "description": "Shared tools and hooks for Fine Art flow apps",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",