@camstack/addon-benchmark 1.2.132 → 1.2.133

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/_stub.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "./virtualExposes-erbhyesj.mjs";
2
- import { a as e, i as t, o as n, r } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_benchmark_page__remoteEntry_js-CTYIehRs.mjs";
2
+ import { a as e, i as t, o as n, r } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_benchmark_page__remoteEntry_js-1qZHA-qC.mjs";
3
3
  import { _ as i, b as a, c as o, d as s, f as c, g as l, h as u, i as d, l as f, m as p, n as m, p as h, r as g, t as _, u as v, v as y, x as b, y as x } from "./_virtual_mf___mfe_internal__addon_benchmark_page__loadShare__react__loadShare__.js-GeuxDuzQ.mjs";
4
4
  import { a as S, c as C, i as w, n as T, o as E, r as D, s as O } from "./responsive-CT_560tF.mjs";
5
5
  import { c as k, d as ee, f as A, l as te, s as ne, u as j } from "./scene-monitor-copy-BT6N1GH3.mjs";
@@ -10785,7 +10785,7 @@ function Du({ field: e, value: t, values: n, onChange: r, disabled: i, onAction:
10785
10785
  });
10786
10786
  }
10787
10787
  function Ou({ field: e, values: t, disabled: n, onAction: r }) {
10788
- let [i, a] = l(!1), [o, s] = l(null), c = wo(), u = async () => {
10788
+ let [i, a] = l(!1), [o, s] = l(null), c = wo(), u = Eo(), d = async () => {
10789
10789
  if (e.confirmMessage && !await c({
10790
10790
  title: e.label,
10791
10791
  message: e.confirmMessage,
@@ -10793,7 +10793,7 @@ function Ou({ field: e, values: t, disabled: n, onAction: r }) {
10793
10793
  variant: e.variant === "danger" ? "danger" : "default"
10794
10794
  }) || !r) return;
10795
10795
  let n = Eu(e, t);
10796
- a(!0), s(null);
10796
+ e.includeDeviceId === !0 && u != null && (n.deviceId = u), a(!0), s(null);
10797
10797
  try {
10798
10798
  let t = await r(e.action, e.key, n), i = typeof t == "object" && t ? t : null;
10799
10799
  s({
@@ -10811,7 +10811,7 @@ function Ou({ field: e, values: t, disabled: n, onAction: r }) {
10811
10811
  } finally {
10812
10812
  a(!1);
10813
10813
  }
10814
- }, d = {
10814
+ }, f = {
10815
10815
  default: "border border-border text-foreground hover:bg-surface-hover",
10816
10816
  primary: "bg-primary text-primary-foreground hover:bg-primary/90",
10817
10817
  danger: "bg-danger text-white hover:bg-danger/90"
@@ -10824,9 +10824,9 @@ function Ou({ field: e, values: t, disabled: n, onAction: r }) {
10824
10824
  children: /* @__PURE__ */ H("div", {
10825
10825
  className: "flex flex-col gap-1.5",
10826
10826
  children: [/* @__PURE__ */ V("button", {
10827
- onClick: u,
10827
+ onClick: d,
10828
10828
  disabled: n || i,
10829
- className: `inline-flex w-fit items-center gap-1.5 rounded-md px-3 py-1.5 text-xs font-medium transition-colors disabled:opacity-50 ${d[e.variant ?? "default"] ?? d.default}`,
10829
+ className: `inline-flex w-fit items-center gap-1.5 rounded-md px-3 py-1.5 text-xs font-medium transition-colors disabled:opacity-50 ${f[e.variant ?? "default"] ?? f.default}`,
10830
10830
  children: i ? "Working…" : e.buttonLabel
10831
10831
  }), o && /* @__PURE__ */ V("div", {
10832
10832
  className: `text-[11px] ${o.kind === "ok" ? "text-emerald-700 dark:text-emerald-300" : "text-danger"}`,
@@ -1,4 +1,4 @@
1
- import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_benchmark_page__remoteEntry_js-CTYIehRs.mjs";
1
+ import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_benchmark_page__remoteEntry_js-1qZHA-qC.mjs";
2
2
  //#region \0virtual:mf-localSharedImportMap:__mfe_internal__addon_benchmark_page
3
3
  var e = {
4
4
  "@camstack/sdk": {
@@ -18,7 +18,7 @@ var e = {
18
18
  },
19
19
  "@camstack/types": {
20
20
  name: "@camstack/types",
21
- version: "1.2.229",
21
+ version: "1.2.230",
22
22
  scope: ["default"],
23
23
  loaded: !1,
24
24
  from: "addon_benchmark_page",
@@ -33,7 +33,7 @@ var e = {
33
33
  },
34
34
  "@camstack/ui-library": {
35
35
  name: "@camstack/ui-library",
36
- version: "1.2.187",
36
+ version: "1.2.188",
37
37
  scope: ["default"],
38
38
  loaded: !1,
39
39
  from: "addon_benchmark_page",
@@ -36,7 +36,7 @@ async function r() {
36
36
  }
37
37
  },
38
38
  "@camstack/types": {
39
- version: "1.2.229",
39
+ version: "1.2.230",
40
40
  scope: "default",
41
41
  shareConfig: {
42
42
  singleton: !0,
@@ -81,7 +81,7 @@ async function r() {
81
81
  }
82
82
  },
83
83
  "@camstack/ui-library": {
84
- version: "1.2.187",
84
+ version: "1.2.188",
85
85
  scope: "default",
86
86
  shareConfig: {
87
87
  singleton: !0,
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_benchmark_page__remoteEntry_js-CTYIehRs.mjs";
1
+ import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_benchmark_page__remoteEntry_js-1qZHA-qC.mjs";
2
2
  export { t as get, e as init };
@@ -2762,7 +2762,7 @@ async function or(e) {
2762
2762
  }
2763
2763
  }
2764
2764
  async function sr() {
2765
- return ir ||= or(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_benchmark_page-CFD69BMd.mjs")).catch((e) => {
2765
+ return ir ||= or(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_benchmark_page-B3SOOFjf.mjs")).catch((e) => {
2766
2766
  throw ir = void 0, e;
2767
2767
  }), ir;
2768
2768
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-benchmark",
3
- "version": "1.2.132",
3
+ "version": "1.2.133",
4
4
  "description": "Detection addon benchmarking with reference images, accuracy metrics, and distributed execution",
5
5
  "keywords": [
6
6
  "camstack",