@camstack/addon-training 0.1.73 → 0.1.75

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/{MotionZonesSettings-DIgLjY4z.mjs → MotionZonesSettings-C9bkQa-A.mjs} +2 -2
  2. package/dist/{PrivacyMaskSettings-BY7FP9LG.mjs → PrivacyMaskSettings-Q8Q9kHuZ.mjs} +2 -2
  3. package/dist/{SceneMonitorEditor-CGlbBXoT.mjs → SceneMonitorEditor-DVDBQyRh.mjs} +1 -1
  4. package/dist/_stub.js +5702 -5590
  5. package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_training_page-51yA9etr.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_training_page-CSXSlM0n.mjs} +4 -4
  6. package/dist/_virtual_mf___mfe_internal__addon_training_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CSzn01SK.mjs +26 -0
  7. package/dist/addon-training.css +1 -1
  8. package/dist/{dist-mbttyND-.js → dist-CR1t4ErH.js} +213 -86
  9. package/dist/{dist-BCzxvw2H.mjs → dist-DjapScjn.mjs} +213 -86
  10. package/dist/{hostInit-DIv_FZGg.mjs → hostInit-DisiZ5DY.mjs} +3 -3
  11. package/dist/{icons-DG9GIB-J.mjs → icons-DGnDNIHD.mjs} +615 -602
  12. package/dist/index.js +1 -1
  13. package/dist/orchestrator/training.addon.js +1 -1
  14. package/dist/orchestrator/training.addon.mjs +1 -1
  15. package/dist/{player-overlays-DOzstwdZ.mjs → player-overlays-CGcrSt2j.mjs} +19 -12
  16. package/dist/providers/modal/training-modal.addon.js +1 -1
  17. package/dist/providers/modal/training-modal.addon.mjs +1 -1
  18. package/dist/remoteEntry.js +1 -1
  19. package/dist/{responsive-D5pOKYim.mjs → responsive-Dbc1rEu9.mjs} +1 -1
  20. package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-BZa39O_w.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-B8YAAD-K.mjs} +1 -1
  21. package/dist/{zoom-out-BqtOwgKe.mjs → zoom-out-DzQMgNQw.mjs} +117 -130
  22. package/package.json +1 -1
  23. package/dist/_virtual_mf___mfe_internal__addon_training_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CDZSeqY9.mjs +0 -26
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("./dist-mbttyND-.js");
2
+ require("./dist-CR1t4ErH.js");
3
3
  const require_orchestrator_training_addon = require("./orchestrator/training.addon.js");
4
4
  const require_providers_modal_training_modal_addon = require("./providers/modal/training-modal.addon.js");
5
5
  //#region src/providers/fake/fake-provider.ts
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_dist = require("../dist-mbttyND-.js");
2
+ const require_dist = require("../dist-CR1t4ErH.js");
3
3
  let node_path = require("node:path");
4
4
  node_path = require_dist.__toESM(node_path);
5
5
  let node_crypto = require("node:crypto");
@@ -1,4 +1,4 @@
1
- import { a as addonPagesSourceCapability, i as TrainingResultSchema, l as BaseAddon, m as defineRecordKinds, n as TrainingJobSchema, o as parseTrainingEventLine, r as TrainingJobSpecSchema, s as trainingCapability, t as TRAINING_JOB_SCHEMA, u as RECORD_MAX_DATA_BYTES } from "../dist-BCzxvw2H.mjs";
1
+ import { a as addonPagesSourceCapability, i as TrainingResultSchema, l as BaseAddon, m as defineRecordKinds, n as TrainingJobSchema, o as parseTrainingEventLine, r as TrainingJobSpecSchema, s as trainingCapability, t as TRAINING_JOB_SCHEMA, u as RECORD_MAX_DATA_BYTES } from "../dist-DjapScjn.mjs";
2
2
  import path from "node:path";
3
3
  import { createHash } from "node:crypto";
4
4
  import { createReadStream } from "node:fs";
@@ -1,27 +1,34 @@
1
1
  import { d as e, u as t, w as n, y as r } from "./_virtual_mf___mfe_internal__addon_training_page__loadShare__react__loadShare__.js-CEvdvp1T.mjs";
2
2
  import { n as i, r as a, t as o } from "./_virtual_mf___mfe_internal__addon_training_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-DnrbBvrw.mjs";
3
3
  import { n as s, t as c } from "./chevron-right-cA8Hucbi.mjs";
4
- import { h as l } from "./responsive-D5pOKYim.mjs";
4
+ import { h as l } from "./responsive-Dbc1rEu9.mjs";
5
5
  //#region ../ui-library/src/composites/widget-panel.tsx
6
6
  n();
7
- function u({ title: e, icon: t, headerRight: n, collapsible: l = !1, defaultOpen: u = !0, bodyClassName: d = "p-3", children: f }) {
8
- let [p, m] = r(u), h = !l || p, g = /* @__PURE__ */ a(o, { children: [/* @__PURE__ */ a("span", {
7
+ function u({ title: e, icon: t, headerRight: n, collapsible: l = !1, defaultOpen: u = !0, open: d, onOpenChange: f, bodyClassName: p = "p-3", children: m }) {
8
+ let [h, g] = r(u), _ = d ?? h, v = () => {
9
+ let e = !_;
10
+ d === void 0 && g(e), f?.(e);
11
+ }, y = !l || _, b = /* @__PURE__ */ a(o, { children: [/* @__PURE__ */ a("span", {
9
12
  className: "flex items-center gap-2 text-xs font-semibold uppercase tracking-wider text-foreground",
10
13
  children: [t, e]
11
- }), l ? i(p ? s : c, { className: "h-3.5 w-3.5 text-foreground-subtle" }) : n] }), _ = `px-4 py-2 flex items-center justify-between ${h ? "border-b border-border" : ""}`;
14
+ }), l ? /* @__PURE__ */ a("span", {
15
+ className: "flex min-w-0 items-center gap-2",
16
+ children: [n, i(_ ? s : c, { className: "h-3.5 w-3.5 shrink-0 text-foreground-subtle" })]
17
+ }) : n] }), x = `px-4 py-2 flex items-center justify-between ${y ? "border-b border-border" : ""}`;
12
18
  return /* @__PURE__ */ a("div", {
13
19
  className: "rounded-lg border border-border bg-surface overflow-hidden",
14
20
  children: [l ? /* @__PURE__ */ i("button", {
15
21
  type: "button",
16
- onClick: () => m((e) => !e),
17
- className: `w-full text-left ${_}`,
18
- children: g
22
+ "aria-expanded": _,
23
+ onClick: v,
24
+ className: `w-full gap-2 text-left ${x}`,
25
+ children: b
19
26
  }) : /* @__PURE__ */ i("div", {
20
- className: _,
21
- children: g
22
- }), h ? /* @__PURE__ */ i("div", {
23
- className: d,
24
- children: f
27
+ className: x,
28
+ children: b
29
+ }), y ? /* @__PURE__ */ i("div", {
30
+ className: p,
31
+ children: m
25
32
  }) : null]
26
33
  });
27
34
  }
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_dist = require("../../dist-mbttyND-.js");
2
+ const require_dist = require("../../dist-CR1t4ErH.js");
3
3
  let node_path = require("node:path");
4
4
  node_path = require_dist.__toESM(node_path, 1);
5
5
  let node_crypto = require("node:crypto");
@@ -1,4 +1,4 @@
1
- import { C as record, S as object, _ as isSecretClear, b as boolean, c as trainingProviderCapability, d as SECRET_CLEAR, f as arrayItemFieldPath, g as globalSecretScope, h as entryBody, l as BaseAddon, p as defineEntryKind, v as isSecretMarker, w as string, x as number, y as toSecretFieldView } from "../../dist-BCzxvw2H.mjs";
1
+ import { C as record, S as object, _ as isSecretClear, b as boolean, c as trainingProviderCapability, d as SECRET_CLEAR, f as arrayItemFieldPath, g as globalSecretScope, h as entryBody, l as BaseAddon, p as defineEntryKind, v as isSecretMarker, w as string, x as number, y as toSecretFieldView } from "../../dist-DjapScjn.mjs";
2
2
  import { createRequire } from "node:module";
3
3
  import path, { dirname, posix } from "node:path";
4
4
  import { createHash, createPrivateKey, createPublicKey, createSign, randomBytes, randomUUID } from "node:crypto";
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-BZa39O_w.mjs";
1
+ import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-B8YAAD-K.mjs";
2
2
  export { t as get, e as init };
@@ -1,6 +1,6 @@
1
1
  import { b as e, d as t, g as n, l as r, n as i, u as a, w as o, y as s } from "./_virtual_mf___mfe_internal__addon_training_page__loadShare__react__loadShare__.js-CEvdvp1T.mjs";
2
2
  import "./_virtual_mf___mfe_internal__addon_training_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-DnrbBvrw.mjs";
3
- import { y as c } from "./_virtual_mf___mfe_internal__addon_training_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CDZSeqY9.mjs";
3
+ import { x as c } from "./_virtual_mf___mfe_internal__addon_training_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CSzn01SK.mjs";
4
4
  //#region ../ui-library/src/lib/shared-context.ts
5
5
  o();
6
6
  function l(e, t) {
@@ -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-51yA9etr.mjs")).catch((e) => {
2765
+ return ir ||= or(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_training_page-CSXSlM0n.mjs")).catch((e) => {
2766
2766
  throw ir = void 0, e;
2767
2767
  }), ir;
2768
2768
  }