@hintergrund/ui 0.1.10 → 0.1.12

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.
@@ -26803,25 +26803,6 @@ class I6 {
26803
26803
  async clearConfigChanges() {
26804
26804
  this.repo.discardPaths([Ad]);
26805
26805
  }
26806
- // discardChange(contentId, recordId) → caller should use repo.discardPaths([contentPath(contentId)])
26807
- // The Header.svelte still calls these helper methods directly.
26808
- // ── Compatibility passthrough for Header.svelte ───────────────────────────
26809
- /** @deprecated Use repo.commitDirty() from Plan 4 save flow */
26810
- async saveConfig() {
26811
- try {
26812
- return await this.repo.commitDirty("Edit CMS config"), { success: !0 };
26813
- } catch (e) {
26814
- return { success: !1, error: e?.message ?? "Commit failed" };
26815
- }
26816
- }
26817
- /** @deprecated Use repo.syncFromAPI() */
26818
- async syncFromAPI() {
26819
- return await this.repo.syncFromAPI(), {
26820
- config: this.config,
26821
- collections: this.data,
26822
- commitSha: this.repo.commitSha
26823
- };
26824
- }
26825
26806
  labelForUpdate(e, t) {
26826
26807
  const i = this.config[e];
26827
26808
  return i ? `Edit ${i.title ?? e}` : `Edit ${e}`;
@@ -26872,15 +26853,6 @@ class E6 {
26872
26853
  const t = this.assets.find((i) => i.name === e);
26873
26854
  return t ? `data:${t.mimeType};base64,${t.content}` : null;
26874
26855
  }
26875
- /** Compatibility shim used by AssetsViewer — wraps assets as the Asset shape */
26876
- get assetsAsRefs() {
26877
- return this.assets.map((e) => ({
26878
- name: e.name,
26879
- path: e.path,
26880
- download_url: null,
26881
- module: "cms"
26882
- }));
26883
- }
26884
26856
  /** Upload via the unified upload endpoint, stage into repo working copy. */
26885
26857
  async uploadAndStage(e) {
26886
26858
  await this.repo.uploadAndStage(e, "cms");
@@ -48433,7 +48405,7 @@ function pA(n) {
48433
48405
  };
48434
48406
  }
48435
48407
  function Nf() {
48436
- return vW ||= import("./anthropic-DnGfJCT8.js").then((n) => {
48408
+ return vW ||= import("./anthropic-BsoQ0bpx.js").then((n) => {
48437
48409
  const e = n;
48438
48410
  return {
48439
48411
  stream: e.streamAnthropic,
@@ -48442,7 +48414,7 @@ function Nf() {
48442
48414
  }), vW;
48443
48415
  }
48444
48416
  function Mf() {
48445
- return FW ||= import("./azure-openai-responses-ixZ4DJpC.js").then((n) => {
48417
+ return FW ||= import("./azure-openai-responses-BxjJrt7d.js").then((n) => {
48446
48418
  const e = n;
48447
48419
  return {
48448
48420
  stream: e.streamAzureOpenAIResponses,
@@ -48451,7 +48423,7 @@ function Mf() {
48451
48423
  }), FW;
48452
48424
  }
48453
48425
  function Gf() {
48454
- return OW ||= import("./google-B52djAfz.js").then((n) => {
48426
+ return OW ||= import("./google-Bf7vRqiN.js").then((n) => {
48455
48427
  const e = n;
48456
48428
  return {
48457
48429
  stream: e.streamGoogle,
@@ -48460,7 +48432,7 @@ function Gf() {
48460
48432
  }), OW;
48461
48433
  }
48462
48434
  function wf() {
48463
- return UW ||= import("./google-vertex-0_fwJ0sa.js").then((n) => {
48435
+ return UW ||= import("./google-vertex-DYuHOnPk.js").then((n) => {
48464
48436
  const e = n;
48465
48437
  return {
48466
48438
  stream: e.streamGoogleVertex,
@@ -48469,7 +48441,7 @@ function wf() {
48469
48441
  }), UW;
48470
48442
  }
48471
48443
  function Tf() {
48472
- return JW ||= import("./mistral-DNoNjdHA.js").then((n) => {
48444
+ return JW ||= import("./mistral-D37W4xET.js").then((n) => {
48473
48445
  const e = n;
48474
48446
  return {
48475
48447
  stream: e.streamMistral,
@@ -48478,7 +48450,7 @@ function Tf() {
48478
48450
  }), JW;
48479
48451
  }
48480
48452
  function Wf() {
48481
- return jW ||= import("./openai-codex-responses-7B9htNRA.js").then((n) => {
48453
+ return jW ||= import("./openai-codex-responses-VfVpBcjM.js").then((n) => {
48482
48454
  const e = n;
48483
48455
  return {
48484
48456
  stream: e.streamOpenAICodexResponses,
@@ -48487,7 +48459,7 @@ function Wf() {
48487
48459
  }), jW;
48488
48460
  }
48489
48461
  function Bf() {
48490
- return KW ||= import("./openai-completions-Dk7BLARV.js").then((n) => {
48462
+ return KW ||= import("./openai-completions-CskA3Ikc.js").then((n) => {
48491
48463
  const e = n;
48492
48464
  return {
48493
48465
  stream: e.streamOpenAICompletions,
@@ -48496,7 +48468,7 @@ function Bf() {
48496
48468
  }), KW;
48497
48469
  }
48498
48470
  function Yf() {
48499
- return PW ||= import("./openai-responses-CTZa0siE.js").then((n) => {
48471
+ return PW ||= import("./openai-responses-Be_cc8Kw.js").then((n) => {
48500
48472
  const e = n;
48501
48473
  return {
48502
48474
  stream: e.streamOpenAIResponses,