@camstack/addon-model-studio 1.1.280 → 1.1.282

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 (17) hide show
  1. package/dist/{MotionZonesSettings-DDZSHUnm.mjs → MotionZonesSettings-BWAI7HWB.mjs} +2 -2
  2. package/dist/{PrivacyMaskSettings-Cv_F8P2x.mjs → PrivacyMaskSettings-CdooyIuO.mjs} +4 -4
  3. package/dist/{SceneMonitorEditor-Cam0e97O.mjs → SceneMonitorEditor-B16rZSlJ.mjs} +3 -3
  4. package/dist/_stub.js +2909 -2867
  5. package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-Z-Bh8ofN.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page--zsCCl2v.mjs} +4 -4
  6. package/dist/{_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-nr1soLM-.mjs → _virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-B_Vs5gXw.mjs} +2 -2
  7. package/dist/{hostInit-CTbpRaj8.mjs → hostInit-CP07u4nQ.mjs} +3 -3
  8. package/dist/model-studio.addon.js +26 -32
  9. package/dist/model-studio.addon.mjs +26 -32
  10. package/dist/{player-overlays-DaGbB48P.mjs → player-overlays-CXrX1-YL.mjs} +1 -1
  11. package/dist/remoteEntry.js +1 -1
  12. package/dist/{responsive-7jkgNPk1.mjs → responsive-DXfPuDT3.mjs} +1 -1
  13. package/dist/{scene-monitor-copy-ALoYSWmJ.mjs → scene-monitor-copy-Dz6o2ZDO.mjs} +1 -1
  14. package/dist/{square-C6IA1bYF.mjs → square-BPjfdvzl.mjs} +1 -1
  15. package/dist/{trash-2-C8SkOcyG.mjs → trash-2-_NoItStt.mjs} +1 -1
  16. package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-Enoo1rWt.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-DpwkzK1-.mjs} +1 -1
  17. package/package.json +1 -1
@@ -5783,7 +5783,7 @@ var ZodIssueCode = {
5783
5783
  var ZodFirstPartyTypeKind;
5784
5784
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5785
5785
  //#endregion
5786
- //#region ../types/dist/sleep-CSuN0thG.mjs
5786
+ //#region ../types/dist/sleep-_sV1BE2f.mjs
5787
5787
  /**
5788
5788
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5789
5789
  * window to float samples (D455).
@@ -5900,7 +5900,7 @@ function isKeychainStoredField(field) {
5900
5900
  var SECRET_CLEAR = { $secretClear: true };
5901
5901
  /** The `'***'` token D634 redaction writes for non-admins. */
5902
5902
  var LEGACY_DEVICE_REDACTION = "***";
5903
- function isRecord$5(value) {
5903
+ function isRecord$6(value) {
5904
5904
  return typeof value === "object" && value !== null && !Array.isArray(value);
5905
5905
  }
5906
5906
  function makeSecretMarker(ref) {
@@ -5911,12 +5911,12 @@ function makeSecretMarker(ref) {
5911
5911
  }
5912
5912
  /** A stored marker: an object whose `$secret` is a non-empty string. */
5913
5913
  function isSecretMarker(value) {
5914
- if (!isRecord$5(value)) return false;
5914
+ if (!isRecord$6(value)) return false;
5915
5915
  const ref = value["$secret"];
5916
5916
  return typeof ref === "string" && ref.length > 0;
5917
5917
  }
5918
5918
  function isSecretClear(value) {
5919
- return isRecord$5(value) && value["$secretClear"] === true;
5919
+ return isRecord$6(value) && value["$secretClear"] === true;
5920
5920
  }
5921
5921
  /**
5922
5922
  * The UI view of a stored secret field value: a marker becomes "set", inline
@@ -6526,7 +6526,7 @@ var KeychainWriteRefusedError = class extends Error {
6526
6526
  }
6527
6527
  };
6528
6528
  var KEEP = { kind: "keep" };
6529
- function isRecord$4(value) {
6529
+ function isRecord$5(value) {
6530
6530
  return typeof value === "object" && value !== null && !Array.isArray(value);
6531
6531
  }
6532
6532
  function defaultMintId() {
@@ -6539,7 +6539,7 @@ function collectSecretMarkerRefs(value, out = []) {
6539
6539
  return out;
6540
6540
  }
6541
6541
  if (Array.isArray(value)) for (const item of value) collectSecretMarkerRefs(item, out);
6542
- else if (isRecord$4(value)) for (const child of Object.values(value)) collectSecretMarkerRefs(child, out);
6542
+ else if (isRecord$5(value)) for (const child of Object.values(value)) collectSecretMarkerRefs(child, out);
6543
6543
  return out;
6544
6544
  }
6545
6545
  async function storedValueEquals(secrets, marker, candidate) {
@@ -6594,7 +6594,7 @@ function rowId(row, idKey) {
6594
6594
  return null;
6595
6595
  }
6596
6596
  async function writeArray(ctx, node, incoming, stored, fieldPath) {
6597
- const storedRows = Array.isArray(stored) ? stored.filter(isRecord$4) : [];
6597
+ const storedRows = Array.isArray(stored) ? stored.filter(isRecord$5) : [];
6598
6598
  if (!Array.isArray(incoming)) {
6599
6599
  ctx.deletes.push(...collectSecretMarkerRefs(storedRows));
6600
6600
  return {
@@ -6610,7 +6610,7 @@ async function writeArray(ctx, node, incoming, stored, fieldPath) {
6610
6610
  const kept = /* @__PURE__ */ new Set();
6611
6611
  const rows = [];
6612
6612
  for (const row of incoming) {
6613
- if (!isRecord$4(row)) {
6613
+ if (!isRecord$5(row)) {
6614
6614
  rows.push(row);
6615
6615
  continue;
6616
6616
  }
@@ -6635,7 +6635,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
6635
6635
  case "leaf": return writeLeaf(ctx, incoming, stored, fieldPath);
6636
6636
  case "array": return writeArray(ctx, node, incoming, stored, fieldPath);
6637
6637
  case "object": {
6638
- if (!isRecord$4(incoming)) {
6638
+ if (!isRecord$5(incoming)) {
6639
6639
  if (incoming === void 0) return KEEP;
6640
6640
  ctx.deletes.push(...collectSecretMarkerRefs(stored));
6641
6641
  return {
@@ -6643,7 +6643,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
6643
6643
  value: incoming
6644
6644
  };
6645
6645
  }
6646
- const storedObj = isRecord$4(stored) ? stored : {};
6646
+ const storedObj = isRecord$5(stored) ? stored : {};
6647
6647
  return {
6648
6648
  kind: "value",
6649
6649
  value: await writeMembers(ctx, node.children, incoming, storedObj, (m) => `${fieldPath}.${m}`)
@@ -6766,7 +6766,7 @@ async function resolveSecretMarkers(value, secrets, options = {}) {
6766
6766
  value: items
6767
6767
  };
6768
6768
  }
6769
- if (isRecord$4(v)) {
6769
+ if (isRecord$5(v)) {
6770
6770
  const out = {};
6771
6771
  for (const [k, child] of Object.entries(v)) {
6772
6772
  const s = substitute(child);
@@ -6798,7 +6798,7 @@ var SecretOverwriteRefusedError = class extends Error {
6798
6798
  this.name = "SecretOverwriteRefusedError";
6799
6799
  }
6800
6800
  };
6801
- function isRecord$3(value) {
6801
+ function isRecord$4(value) {
6802
6802
  return typeof value === "object" && value !== null && !Array.isArray(value);
6803
6803
  }
6804
6804
  function resolvedValue(pass, marker) {
@@ -6827,7 +6827,7 @@ function inArray(pass, incoming, stored) {
6827
6827
  return incoming.map((item, index) => {
6828
6828
  const twin = stored[index];
6829
6829
  if (isSecretMarker(twin)) return typeof item === "string" && item === resolvedValue(pass, twin) ? twin : item;
6830
- if (isRecord$3(item) && isRecord$3(twin)) return inArrayRow(pass, item, twin);
6830
+ if (isRecord$4(item) && isRecord$4(twin)) return inArrayRow(pass, item, twin);
6831
6831
  if (Array.isArray(item) && Array.isArray(twin)) return inArray(pass, item, twin);
6832
6832
  return item;
6833
6833
  });
@@ -6838,7 +6838,7 @@ function inArrayRow(pass, incoming, stored) {
6838
6838
  const twin = stored[key];
6839
6839
  if (isSecretMarker(twin)) {
6840
6840
  if (typeof value === "string" && value === resolvedValue(pass, twin)) out[key] = twin;
6841
- } else if (isRecord$3(value) && isRecord$3(twin)) out[key] = inArrayRow(pass, value, twin);
6841
+ } else if (isRecord$4(value) && isRecord$4(twin)) out[key] = inArrayRow(pass, value, twin);
6842
6842
  else if (Array.isArray(value) && Array.isArray(twin)) out[key] = inArray(pass, value, twin);
6843
6843
  }
6844
6844
  return out;
@@ -6846,7 +6846,7 @@ function inArrayRow(pass, incoming, stored) {
6846
6846
  async function walk(pass, incoming, stored) {
6847
6847
  if (isSecretMarker(stored)) return atMarker(pass, incoming, stored);
6848
6848
  if (Array.isArray(incoming) && Array.isArray(stored)) return inArray(pass, incoming, stored);
6849
- if (!isRecord$3(incoming) || !isRecord$3(stored)) return incoming;
6849
+ if (!isRecord$4(incoming) || !isRecord$4(stored)) return incoming;
6850
6850
  const out = { ...incoming };
6851
6851
  for (const [key, value] of Object.entries(incoming)) out[key] = await walk(pass, value, stored[key]);
6852
6852
  return out;
@@ -6877,7 +6877,7 @@ async function restoreUnchangedSecrets(input) {
6877
6877
  function isJsonEqual(a, b) {
6878
6878
  if (Object.is(a, b)) return true;
6879
6879
  if (Array.isArray(a)) return Array.isArray(b) && a.length === b.length && a.every((v, i) => isJsonEqual(v, b[i]));
6880
- if (isRecord$3(a) && isRecord$3(b)) {
6880
+ if (isRecord$4(a) && isRecord$4(b)) {
6881
6881
  const keys = Object.keys(a);
6882
6882
  if (keys.length !== Object.keys(b).length) return false;
6883
6883
  return keys.every((k) => Object.prototype.hasOwnProperty.call(b, k) && isJsonEqual(a[k], b[k]));
@@ -6901,7 +6901,7 @@ function markerKeysOf(blob, owner) {
6901
6901
  }
6902
6902
  function nodeFromStored(value, owner) {
6903
6903
  if (isSecretMarker(value)) return isSecretRefOwnedBy(value.$secret, owner) ? { kind: "leaf" } : null;
6904
- if (!isRecord$3(value)) return null;
6904
+ if (!isRecord$4(value)) return null;
6905
6905
  const children = /* @__PURE__ */ new Map();
6906
6906
  for (const [key, child] of Object.entries(value)) {
6907
6907
  const node = nodeFromStored(child, owner);
@@ -17250,15 +17250,6 @@ var StorageKindSchema = object({
17250
17250
  declaration: RecordKindDeclarationSchema
17251
17251
  });
17252
17252
  method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: array(StorageTableSchema) }), { auth: "admin" }), method(object({
17253
- collection: string().min(1),
17254
- expectRows: number().int().nonnegative()
17255
- }), object({
17256
- dropped: literal(true),
17257
- rows: number().int().nonnegative()
17258
- }), {
17259
- kind: "mutation",
17260
- auth: "admin"
17261
- }), method(object({
17262
17253
  owner: string().min(1).optional(),
17263
17254
  /** `false` skips the per-kind row count (a catalog read only). Default true. */
17264
17255
  counts: boolean().optional()
@@ -43386,6 +43377,15 @@ var NcMediaPolicySchema = object({
43386
43377
  * Replaces `zoneCrop`.
43387
43378
  */
43388
43379
  showTriggerZone: boolean().optional(),
43380
+ /**
43381
+ * Draw the SUBJECT'S PATH on the picture — a line in the subject's colour
43382
+ * through the track's positions up to the frame shown, the same path the
43383
+ * debug views draw (`buildSubjectPath`, D903). Every picture mode a subject
43384
+ * is drawn on: a `crop` maps the path into the crop and clips it. Valid only
43385
+ * on a rule whose subject is a tracked object (refused on a sound rule);
43386
+ * dropped on `image: 'none'`. Absent = off.
43387
+ */
43388
+ showSubjectPath: boolean().optional(),
43389
43389
  /** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
43390
43390
  attach: _enum([
43391
43391
  "best",
@@ -69774,12 +69774,6 @@ Object.freeze({
69774
69774
  addonId: null,
69775
69775
  access: "create"
69776
69776
  },
69777
- "storageAdmin.dropCollection": {
69778
- capName: "storage-admin",
69779
- capScope: "system",
69780
- addonId: null,
69781
- access: "delete"
69782
- },
69783
69777
  "storageAdmin.listKinds": {
69784
69778
  capName: "storage-admin",
69785
69779
  capScope: "system",
@@ -1,6 +1,6 @@
1
1
  import { S as e, d as t, u as n, v as r } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-DMBKVIH7.mjs";
2
2
  import { n as i, r as a, t as o } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-ds_Ehzaa.mjs";
3
- import { g as s, h as c } from "./responsive-7jkgNPk1.mjs";
3
+ import { g as s, h as c } from "./responsive-DXfPuDT3.mjs";
4
4
  var l = s("chevron-down", [["path", {
5
5
  d: "m6 9 6 6 6-6",
6
6
  key: "qrunsl"
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-Enoo1rWt.mjs";
1
+ import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-DpwkzK1-.mjs";
2
2
  export { t as get, e as init };
@@ -1,6 +1,6 @@
1
1
  import { S as e, d as t, g as n, i as r, l as i, n as a, r as o, u as s, v as c, y as l } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-DMBKVIH7.mjs";
2
2
  import "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-ds_Ehzaa.mjs";
3
- import { g as u } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-nr1soLM-.mjs";
3
+ import { g as u } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-B_Vs5gXw.mjs";
4
4
  //#region ../../node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.js
5
5
  e();
6
6
  var d = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), f = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), p = (e) => e.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, t, n) => n ? n.toUpperCase() : t.toLowerCase()), m = (e) => {
@@ -1,6 +1,6 @@
1
1
  import { S as e, g as t, l as n, v as r } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-DMBKVIH7.mjs";
2
2
  import { n as i } from "./ui-text-BqZa5BNK.mjs";
3
- import { g as a } from "./responsive-7jkgNPk1.mjs";
3
+ import { g as a } from "./responsive-DXfPuDT3.mjs";
4
4
  var o = a("camera", [["path", {
5
5
  d: "M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",
6
6
  key: "18u6gg"
@@ -1,4 +1,4 @@
1
- import { g as e } from "./responsive-7jkgNPk1.mjs";
1
+ import { g as e } from "./responsive-DXfPuDT3.mjs";
2
2
  var t = e("eye-off", [
3
3
  ["path", {
4
4
  d: "M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",
@@ -1,4 +1,4 @@
1
- import { g as e } from "./responsive-7jkgNPk1.mjs";
1
+ import { g as e } from "./responsive-DXfPuDT3.mjs";
2
2
  var t = e("trash-2", [
3
3
  ["path", {
4
4
  d: "M10 11v6",
@@ -2753,7 +2753,7 @@ async function rr(e) {
2753
2753
  }
2754
2754
  }
2755
2755
  async function ir() {
2756
- return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-Z-Bh8ofN.mjs")).catch((e) => {
2756
+ return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page--zsCCl2v.mjs")).catch((e) => {
2757
2757
  throw tr = void 0, e;
2758
2758
  }), tr;
2759
2759
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-model-studio",
3
- "version": "1.1.280",
3
+ "version": "1.1.282",
4
4
  "description": "Custom detection model registry, conversion & distribution for CamStack",
5
5
  "keywords": [
6
6
  "camstack",