@hintergrund/ui 0.3.1 → 0.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.
Files changed (23) hide show
  1. package/dist/{BuilderAgentPane-B7-K-t7-.js → BuilderAgentPane-CwG29LOX.js} +1987 -1987
  2. package/dist/IntegrationHealth-G_4vzV66.js +209 -0
  3. package/dist/admin.js +2436 -2418
  4. package/dist/{anthropic-messages-B9cFrV8_.js → anthropic-messages-BmLfYiwX.js} +1 -1
  5. package/dist/{azure-openai-responses-DDg04vbg.js → azure-openai-responses-yf2M6GVe.js} +2 -2
  6. package/dist/builder.js +2 -2
  7. package/dist/{global-CGPq4E9I.js → global-CTQcFve1.js} +1889 -1820
  8. package/dist/{google-generative-ai-CLKiyDxm.js → google-generative-ai-DkzwUYzL.js} +2 -2
  9. package/dist/{google-shared-BVSu3Wpo.js → google-shared-DTgKMtfJ.js} +1 -1
  10. package/dist/{google-vertex-Cvrx6WS_.js → google-vertex-D2IzqvQM.js} +2 -2
  11. package/dist/{legacy-Ch3FhyVA.js → legacy-CckexQcJ.js} +1 -1
  12. package/dist/login.js +16 -16
  13. package/dist/mail.js +3 -3
  14. package/dist/{mistral-conversations-C7SJfbbS.js → mistral-conversations-CNfKG0tU.js} +1 -1
  15. package/dist/{openai-codex-responses-BLdLSFPf.js → openai-codex-responses-BLNjExaC.js} +2 -2
  16. package/dist/{openai-completions-CSZqjwmH.js → openai-completions-46IVoF2N.js} +1 -1
  17. package/dist/{openai-responses-BLltsSBW.js → openai-responses-BfHoZFHI.js} +2 -2
  18. package/dist/{openai-responses-shared-C_oYyHxW.js → openai-responses-shared-DOTQAbCj.js} +1 -1
  19. package/dist/{pi-messages-BbItJqhU.js → pi-messages-fnW87Z4Z.js} +1 -1
  20. package/dist/{select-nmcCSHOs.js → select-Cke4DYH1.js} +3 -3
  21. package/dist/setup.js +103 -103
  22. package/package.json +67 -67
  23. package/dist/IntegrationHealth-CGj9Gtg3.js +0 -246
@@ -1,5 +1,5 @@
1
- import { r as v, i as M, a as I, m as T, G as R, c as S, s as G, b as L, d as _ } from "./google-shared-BVSu3Wpo.js";
2
- import { D as P, H as E, G as A } from "./BuilderAgentPane-B7-K-t7-.js";
1
+ import { r as v, i as M, a as I, m as T, G as R, c as S, s as G, b as L, d as _ } from "./google-shared-DTgKMtfJ.js";
2
+ import { D as P, H as E, G as A } from "./BuilderAgentPane-CwG29LOX.js";
3
3
  import { f as O, n as N } from "./error-body-BUPcH4GF.js";
4
4
  import { p as H } from "./headers-D4iLzGaS.js";
5
5
  import { b as W, s as $ } from "./transform-messages-CsKsy6b4.js";
@@ -1,4 +1,4 @@
1
- import { bM as li } from "./global-CGPq4E9I.js";
1
+ import { bO as li } from "./global-CTQcFve1.js";
2
2
  import { r as ai } from "./provider-retry-BsigVlMg.js";
3
3
  import { t as ui, s as se, d as fo, e as di } from "./transform-messages-CsKsy6b4.js";
4
4
  typeof globalThis.process > "u" && (globalThis.process = { env: {}, platform: "browser", version: "", versions: {}, browser: !0, nextTick: function(t) {
@@ -1,5 +1,5 @@
1
- import { r as v, i as R, a as O, m as _, G as L, c as M, s as G, b as S, d as P, T as h, R as A } from "./google-shared-BVSu3Wpo.js";
2
- import { D as N, H as D, G as U } from "./BuilderAgentPane-B7-K-t7-.js";
1
+ import { r as v, i as R, a as O, m as _, G as L, c as M, s as G, b as S, d as P, T as h, R as A } from "./google-shared-DTgKMtfJ.js";
2
+ import { D as N, H as D, G as U } from "./BuilderAgentPane-CwG29LOX.js";
3
3
  import { f as H, n as V } from "./error-body-BUPcH4GF.js";
4
4
  import { p as K } from "./headers-D4iLzGaS.js";
5
5
  import { g as m } from "./provider-env-D2VjEV3S.js";
@@ -1,4 +1,4 @@
1
- import { bG as o } from "./global-CGPq4E9I.js";
1
+ import { bH as o } from "./global-CTQcFve1.js";
2
2
  typeof globalThis.process > "u" && (globalThis.process = { env: {}, platform: "browser", version: "", versions: {}, browser: !0, nextTick: function(e) {
3
3
  return Promise.resolve().then(e);
4
4
  } });
package/dist/login.js CHANGED
@@ -1,4 +1,4 @@
1
- import { J as se, K as oe, L as ne, M as le, N as ie, ar as ue, P as o, a1 as n, a0 as l, Y as g, a3 as de, a5 as ve, a7 as p, Z as d, F as e, ap as ce, a9 as fe, _ as pe, U as c, aa as f, $ as me, a2 as i, a4 as we, a8 as h, X as U, aj as $, aq as j, af as K } from "./global-CGPq4E9I.js";
1
+ import { J as se, K as oe, L as ne, M as le, N as ie, at as ue, P as o, a1 as n, a0 as l, Y as g, a3 as de, a5 as ve, a7 as m, Z as d, F as e, ar as ce, a9 as fe, _ as me, U as c, aa as f, $ as pe, a2 as i, a4 as we, a8 as h, X as U, aj as $, as as j, af as K } from "./global-CTQcFve1.js";
2
2
  typeof globalThis.process > "u" && (globalThis.process = { env: {}, platform: "browser", version: "", versions: {}, browser: !0, nextTick: function(q) {
3
3
  return Promise.resolve().then(q);
4
4
  } });
@@ -9,16 +9,16 @@ const Ce = {
9
9
  };
10
10
  function Pe(q, z) {
11
11
  ne(z, !0), le(q, Ce);
12
- let E = ie(z, "config", 7), a = c("login"), C = c(""), m = c(""), _ = c(""), P = c(""), w = c(""), x = c(""), v = c(!1);
12
+ let E = ie(z, "config", 7), a = c("login"), C = c(""), p = c(""), _ = c(""), P = c(""), w = c(""), x = c(""), v = c(!1);
13
13
  ue(() => {
14
14
  const t = new URLSearchParams(window.location.hash.slice(1)).get("reset");
15
15
  t && (o(P, t, !0), o(a, "reset"), window.history.replaceState({}, "", window.location.pathname));
16
16
  });
17
17
  function L(r) {
18
- o(a, r, !0), o(w, ""), o(x, ""), o(m, ""), o(_, "");
18
+ o(a, r, !0), o(w, ""), o(x, ""), o(p, ""), o(_, "");
19
19
  }
20
20
  async function W(r) {
21
- if (r.preventDefault(), o(w, ""), o(x, ""), e(a) === "reset" && e(m) !== e(_)) {
21
+ if (r.preventDefault(), o(w, ""), o(x, ""), e(a) === "reset" && e(p) !== e(_)) {
22
22
  o(w, "Passwords do not match.");
23
23
  return;
24
24
  }
@@ -27,9 +27,9 @@ function Pe(q, z) {
27
27
  const t = e(a) === "login" ? "login" : e(a) === "request" ? "password-reset/request" : "password-reset/complete", s = await fetch(`/api/admin/${t}`, {
28
28
  method: "POST",
29
29
  headers: { "Content-Type": "application/json" },
30
- body: JSON.stringify(e(a) === "reset" ? { token: e(P), password: e(m) } : {
30
+ body: JSON.stringify(e(a) === "reset" ? { token: e(P), password: e(p) } : {
31
31
  email: e(C),
32
- password: e(a) === "login" ? e(m) : void 0
32
+ password: e(a) === "login" ? e(p) : void 0
33
33
  })
34
34
  }), u = await s.json();
35
35
  if (!s.ok) throw new Error(u.error || u.message || "Unable to continue. Try again.");
@@ -49,7 +49,7 @@ function Pe(q, z) {
49
49
  return E();
50
50
  },
51
51
  set config(r) {
52
- E(r), me();
52
+ E(r), pe();
53
53
  }
54
54
  }, S = ke(), M = l(S), T = l(M), B = n(l(T), 2), Y = l(B, !0);
55
55
  i(B);
@@ -71,7 +71,7 @@ function Pe(q, z) {
71
71
  {
72
72
  var H = (r) => {
73
73
  var t = xe(), s = l(t, !0);
74
- i(t), p(() => h(s, e(w))), d(r, t);
74
+ i(t), m(() => h(s, e(w))), d(r, t);
75
75
  };
76
76
  g(N, (r) => {
77
77
  e(w) && r(H);
@@ -81,7 +81,7 @@ function Pe(q, z) {
81
81
  {
82
82
  var I = (r) => {
83
83
  var t = be(), s = l(t, !0);
84
- i(t), p(() => h(s, e(x))), d(r, t);
84
+ i(t), m(() => h(s, e(x))), d(r, t);
85
85
  };
86
86
  g(F, (r) => {
87
87
  e(x) && r(I);
@@ -91,7 +91,7 @@ function Pe(q, z) {
91
91
  {
92
92
  var Q = (r) => {
93
93
  var t = qe(), s = n(U(t));
94
- $(s), p(() => s.disabled = e(v)), j(s, () => e(C), (u) => o(C, u)), d(r, t);
94
+ $(s), m(() => s.disabled = e(v)), j(s, () => e(C), (u) => o(C, u)), d(r, t);
95
95
  };
96
96
  g(J, (r) => {
97
97
  e(a) !== "reset" && r(Q);
@@ -103,9 +103,9 @@ function Pe(q, z) {
103
103
  var t = _e(), s = U(t), u = l(s, !0);
104
104
  i(s);
105
105
  var b = n(s);
106
- $(b), p(() => {
106
+ $(b), m(() => {
107
107
  h(u, e(a) === "reset" ? "New password" : "Password"), K(b, "autocomplete", e(a) === "reset" ? "new-password" : "current-password"), K(b, "minlength", e(a) === "reset" ? 12 : void 0), b.disabled = e(v);
108
- }), j(b, () => e(m), (ae) => o(m, ae)), d(r, t);
108
+ }), j(b, () => e(p), (ae) => o(p, ae)), d(r, t);
109
109
  };
110
110
  g(O, (r) => {
111
111
  e(a) !== "request" && r(V);
@@ -115,7 +115,7 @@ function Pe(q, z) {
115
115
  {
116
116
  var ee = (r) => {
117
117
  var t = ye(), s = n(U(t));
118
- $(s), p(() => s.disabled = e(v)), j(s, () => e(_), (u) => o(_, u)), d(r, t);
118
+ $(s), m(() => s.disabled = e(v)), j(s, () => e(_), (u) => o(_, u)), d(r, t);
119
119
  };
120
120
  g(R, (r) => {
121
121
  e(a) === "reset" && r(ee);
@@ -132,14 +132,14 @@ function Pe(q, z) {
132
132
  children: (r, t) => {
133
133
  we();
134
134
  var s = ve();
135
- p(() => h(s, e(v) ? "Please wait…" : e(a) === "login" ? "Sign in" : e(a) === "request" ? "Send reset link" : "Save password")), d(r, s);
135
+ m(() => h(s, e(v) ? "Please wait…" : e(a) === "login" ? "Sign in" : e(a) === "request" ? "Send reset link" : "Save password")), d(r, s);
136
136
  },
137
137
  $$slots: { default: !0 }
138
138
  }), i(y);
139
139
  var D = n(y, 2), k = l(D), te = l(k, !0);
140
- return i(k), i(D), i(M), i(S), p(() => {
140
+ return i(k), i(D), i(M), i(S), m(() => {
141
141
  h(Y, e(a) === "login" ? "Sign in to hintergrund" : e(a) === "request" ? "Reset your password" : "Choose your password"), k.disabled = e(v), h(te, e(a) === "login" ? "Forgot your password?" : "Back to sign in");
142
- }), ce("submit", y, W), fe("click", k, () => L(e(a) === "login" ? "request" : "login")), d(q, S), pe(X);
142
+ }), ce("submit", y, W), fe("click", k, () => L(e(a) === "login" ? "request" : "login")), d(q, S), me(X);
143
143
  }
144
144
  se(["click"]);
145
145
  customElements.define("hintergrund-login", oe(Pe, { config: {} }, [], []));
package/dist/mail.js CHANGED
@@ -1,6 +1,6 @@
1
- import { J as et, K as Ra, L as at, M as Na, U as z, V as ha, ar as tt, F as e, a1 as r, a0 as s, ae as ze, ag as Ie, a3 as L, a5 as T, Z as d, Y as R, a7 as _, a9 as Te, P as l, ap as ba, aq as Me, _ as rt, ac as ne, aa as h, a2 as a, a8 as c, a4 as $, af as Ue, as as za, aj as De, av as st, X as La, am as lt, b5 as it } from "./global-CGPq4E9I.js";
2
- import "./legacy-Ch3FhyVA.js";
3
- import { i as ot, s as nt } from "./select-nmcCSHOs.js";
1
+ import { J as et, K as Ra, L as at, M as Na, U as z, V as ha, at as tt, F as e, a1 as r, a0 as s, ae as ze, ag as Ie, a3 as L, a5 as T, Z as d, Y as R, a7 as _, a9 as Te, P as l, ar as ba, as as Me, _ as rt, ac as ne, aa as h, a2 as a, a8 as c, a4 as $, af as Ue, au as za, aj as De, ax as st, X as La, am as lt, b7 as it } from "./global-CTQcFve1.js";
2
+ import "./legacy-CckexQcJ.js";
3
+ import { i as ot, s as nt } from "./select-Cke4DYH1.js";
4
4
  typeof globalThis.process > "u" && (globalThis.process = { env: {}, platform: "browser", version: "", versions: {}, browser: !0, nextTick: function(me) {
5
5
  return Promise.resolve().then(me);
6
6
  } });
@@ -1,4 +1,4 @@
1
- import { D as L, G as j, H as D } from "./BuilderAgentPane-B7-K-t7-.js";
1
+ import { D as L, G as j, H as D } from "./BuilderAgentPane-CwG29LOX.js";
2
2
  import { s as N } from "./hash-DFlR084x.js";
3
3
  import { h as U } from "./headers-D4iLzGaS.js";
4
4
  import { p as T } from "./json-parse-LZdWp-Nd.js";
@@ -1,4 +1,4 @@
1
- import { D as he, I as we, J as ge, G as Ee, K as z } from "./BuilderAgentPane-B7-K-t7-.js";
1
+ import { D as he, I as we, J as ge, G as Ee, K as z } from "./BuilderAgentPane-CwG29LOX.js";
2
2
  import { s as Se } from "./deferred-tools-BZWMWBYN.js";
3
3
  import { f as ve, n as xe } from "./error-body-BUPcH4GF.js";
4
4
  import { h as re } from "./headers-D4iLzGaS.js";
@@ -6,7 +6,7 @@ import { g as G } from "./provider-env-D2VjEV3S.js";
6
6
  import { g as _e } from "./pi-user-agent-CUqx-qiX.js";
7
7
  import { c as oe, b as Te } from "./transform-messages-CsKsy6b4.js";
8
8
  import { c as ke } from "./openai-prompt-cache-BJwqbEDx.js";
9
- import { c as se, a as Re, p as ne } from "./openai-responses-shared-C_oYyHxW.js";
9
+ import { c as se, a as Re, p as ne } from "./openai-responses-shared-DOTQAbCj.js";
10
10
  typeof globalThis.process > "u" && (globalThis.process = { env: {}, platform: "browser", version: "", versions: {}, browser: !0, nextTick: function(e) {
11
11
  return Promise.resolve().then(e);
12
12
  } });
@@ -1,5 +1,5 @@
1
1
  import { O as ee } from "./client-Cd7yMX39.js";
2
- import { D as te, G as ne, H as se } from "./BuilderAgentPane-B7-K-t7-.js";
2
+ import { D as te, G as ne, H as se } from "./BuilderAgentPane-CwG29LOX.js";
3
3
  import { f as re, n as oe } from "./error-body-BUPcH4GF.js";
4
4
  import { s as ie } from "./hash-DFlR084x.js";
5
5
  import { h as ae } from "./headers-D4iLzGaS.js";
@@ -1,5 +1,5 @@
1
1
  import { O as P } from "./client-Cd7yMX39.js";
2
- import { D as w, G as E } from "./BuilderAgentPane-B7-K-t7-.js";
2
+ import { D as w, G as E } from "./BuilderAgentPane-CwG29LOX.js";
3
3
  import { s as I } from "./deferred-tools-BZWMWBYN.js";
4
4
  import { f as b, n as S } from "./error-body-BUPcH4GF.js";
5
5
  import { h as M } from "./headers-D4iLzGaS.js";
@@ -8,7 +8,7 @@ import { r as _ } from "./provider-retry-BsigVlMg.js";
8
8
  import { c as g, b as x } from "./transform-messages-CsKsy6b4.js";
9
9
  import { h as k, b as L } from "./github-copilot-headers-B1RBGoZi.js";
10
10
  import { c as G } from "./openai-prompt-cache-BJwqbEDx.js";
11
- import { p as D, c as N, a as K } from "./openai-responses-shared-C_oYyHxW.js";
11
+ import { p as D, c as N, a as K } from "./openai-responses-shared-DOTQAbCj.js";
12
12
  typeof globalThis.process > "u" && (globalThis.process = { env: {}, platform: "browser", version: "", versions: {}, browser: !0, nextTick: function(e) {
13
13
  return Promise.resolve().then(e);
14
14
  } });
@@ -1,4 +1,4 @@
1
- import { H as P } from "./BuilderAgentPane-B7-K-t7-.js";
1
+ import { H as P } from "./BuilderAgentPane-CwG29LOX.js";
2
2
  import { s as R } from "./hash-DFlR084x.js";
3
3
  import { p as C } from "./json-parse-LZdWp-Nd.js";
4
4
  import { t as O, s as k, g as z, r as N, d as j, e as W, a as A } from "./transform-messages-CsKsy6b4.js";
@@ -1,4 +1,4 @@
1
- import { D as x, I as f, J as y } from "./BuilderAgentPane-B7-K-t7-.js";
1
+ import { D as x, I as f, J as y } from "./BuilderAgentPane-CwG29LOX.js";
2
2
  import { p as b, h as w } from "./headers-D4iLzGaS.js";
3
3
  import { p as I } from "./json-parse-LZdWp-Nd.js";
4
4
  import { g as k } from "./provider-env-D2VjEV3S.js";
@@ -1,4 +1,4 @@
1
- import { x as _, bh as d, bI as b, bJ as c, bK as h, bL as s, j as m } from "./global-CGPq4E9I.js";
1
+ import { x as _, bj as d, bK as b, bL as c, bM as m, bN as s, j as h } from "./global-CTQcFve1.js";
2
2
  typeof globalThis.process > "u" && (globalThis.process = { env: {}, platform: "browser", version: "", versions: {}, browser: !0, nextTick: function(e) {
3
3
  return Promise.resolve().then(e);
4
4
  } });
@@ -41,7 +41,7 @@ function p(e) {
41
41
  }
42
42
  function q(e, r, f = r) {
43
43
  var n = /* @__PURE__ */ new WeakSet(), u = !0;
44
- h(e, "change", (a) => {
44
+ m(e, "change", (a) => {
45
45
  var l = a ? "[selected]" : ":checked", i;
46
46
  if (e.multiple)
47
47
  i = [].map.call(e.querySelectorAll(l), t);
@@ -51,7 +51,7 @@ function q(e, r, f = r) {
51
51
  i = o && t(o);
52
52
  }
53
53
  f(i), e.__value = i, s !== null && n.add(s);
54
- }), m(() => {
54
+ }), h(() => {
55
55
  var a = r();
56
56
  if (e === document.activeElement) {
57
57
  var l = (