@camstack/addon-training 0.1.88 → 0.1.89

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-0m8NqEDE.mjs";
2
- import { a as e, i as t, o as n, r } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-C7h1o2pO.mjs";
2
+ import { a as e, i as t, o as n, r } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-tkZ3pY5a.mjs";
3
3
  import { C as i, S as a, _ as o, a as s, b as c, d as l, f as u, g as d, h as f, i as p, l as m, m as h, n as g, p as _, r as v, t as y, u as b, v as x, w as S, x as C, y as w } from "./_virtual_mf___mfe_internal__addon_training_page__loadShare__react__loadShare__.js-CEvdvp1T.mjs";
4
4
  import { i as T, n as E, r as D, t as O } from "./_virtual_mf___mfe_internal__addon_training_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-DnrbBvrw.mjs";
5
5
  import { n as k, r as A, t as j } from "./ui-text-CqJgUCKX.mjs";
@@ -4416,7 +4416,9 @@ function nu({ field: e, values: t, disabled: n, onAction: r, onChangeMany: i })
4416
4416
  }
4417
4417
  Object.keys(n).length > 0 && i?.(n);
4418
4418
  let r = $l(t.choices);
4419
- y(r.length > 1 ? r : []), s("idle"), p(""), l(null), d(null);
4419
+ y(r.length > 1 ? r : []);
4420
+ let a = typeof t.gatewayId == "string" && t.gatewayId.length > 0, o = typeof t.summary == "string" ? t.summary : null;
4421
+ o !== null && !a && r.length < 2 && h(o), s("idle"), p(""), l(null), d(null);
4420
4422
  }, M = async () => {
4421
4423
  if (!(!r || g)) {
4422
4424
  _(!0), h(null);
@@ -13155,13 +13157,13 @@ function V_({ field: e }) {
13155
13157
  children: /* @__PURE__ */ D("div", {
13156
13158
  className: `rounded-md border-l-4 px-3 py-2.5 ${t.border} ${t.bg}`,
13157
13159
  children: [e.label && /* @__PURE__ */ E("p", {
13158
- className: `text-xs font-semibold mb-0.5 ${t.text}`,
13160
+ className: e.content.length > 0 ? `text-xs font-semibold mb-0.5 ${t.text}` : "text-xs text-foreground-subtle leading-relaxed whitespace-pre-line break-words",
13159
13161
  children: e.label
13160
13162
  }), n ? /* @__PURE__ */ E("div", {
13161
13163
  className: "text-xs text-foreground-subtle leading-relaxed info-html-content",
13162
13164
  dangerouslySetInnerHTML: { __html: bs(e.content) }
13163
- }) : /* @__PURE__ */ E("p", {
13164
- className: "text-xs text-foreground-subtle leading-relaxed whitespace-pre-line",
13165
+ }) : e.content.length > 0 && /* @__PURE__ */ E("p", {
13166
+ className: "text-xs text-foreground-subtle leading-relaxed whitespace-pre-line break-words",
13165
13167
  children: e.content
13166
13168
  })]
13167
13169
  })
@@ -27121,7 +27123,7 @@ p(function({ tree: e, agents: t, getCellState: n, onCellClick: r, selectedCell:
27121
27123
  label: p
27122
27124
  })]
27123
27125
  });
27124
- }), S(), S(), S(), S(), S(), S();
27126
+ }), S(), S(), S(), S(), S(), S(), S();
27125
27127
  //#endregion
27126
27128
  //#region ../ui-library/src/composites/page-shell.tsx
27127
27129
  function jN({ icon: e, title: t, subtitle: n, actions: r, nav: i, fill: a = !1, className: o, children: s }) {
@@ -1,4 +1,4 @@
1
- import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-C7h1o2pO.mjs";
1
+ import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-tkZ3pY5a.mjs";
2
2
  //#region \0virtual:mf-localSharedImportMap:__mfe_internal__addon_training_page
3
3
  var e = {
4
4
  "@camstack/sdk": {
@@ -33,7 +33,7 @@ var e = {
33
33
  },
34
34
  "@camstack/ui-library": {
35
35
  name: "@camstack/ui-library",
36
- version: "1.2.331",
36
+ version: "1.2.332",
37
37
  scope: ["default"],
38
38
  loaded: !1,
39
39
  from: "addon_training_page",
@@ -81,7 +81,7 @@ async function r() {
81
81
  }
82
82
  },
83
83
  "@camstack/ui-library": {
84
- version: "1.2.331",
84
+ version: "1.2.332",
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_training_page__remoteEntry_js-C7h1o2pO.mjs";
1
+ import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-tkZ3pY5a.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_training_page-CXs_K1We.mjs")).catch((e) => {
2765
+ return ir ||= or(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_training_page-3rzzcUyu.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-training",
3
- "version": "0.1.88",
3
+ "version": "0.1.89",
4
4
  "description": "Cloud training for CamStack: fine-tune the root detector on your own frames, on your own GPU-cloud account",
5
5
  "keywords": [
6
6
  "camstack",