@camstack/addon-osd-manager 0.1.257 → 0.1.258

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-BgZ5Cn7S.mjs";
2
- import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-BYWSsbt9.mjs";
2
+ import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-Bp_HjvNq.mjs";
3
3
  import { S as e, _ as t, a as n, b as r, d as i, f as a, g as o, h as s, i as c, l, m as u, n as d, p as f, r as p, t as m, u as h, v as g, y as _ } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare__react__loadShare__.js-C-pbjC7c.mjs";
4
4
  import { n as v, r as y, t as b } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-DalfdIDw.mjs";
5
5
  import { n as x, r as S } from "./ui-text-BitwQ50T.mjs";
@@ -21216,7 +21216,7 @@ function fw(e) {
21216
21216
  return e.find((e) => e.valueType === "number") ?? e[0];
21217
21217
  }
21218
21218
  //#endregion
21219
- //#region ../types/dist/sleep-CSuN0thG.mjs
21219
+ //#region ../types/dist/sleep-_sV1BE2f.mjs
21220
21220
  var pw = [
21221
21221
  "f32le",
21222
21222
  "pcmu",
@@ -1,9 +1,9 @@
1
- import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-BYWSsbt9.mjs";
1
+ import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-Bp_HjvNq.mjs";
2
2
  //#region \0virtual:mf-localSharedImportMap:__mfe_internal__addon_osd_manager_page
3
3
  var e = {
4
4
  "@camstack/sdk": {
5
5
  name: "@camstack/sdk",
6
- version: "1.2.144",
6
+ version: "1.2.145",
7
7
  scope: ["default"],
8
8
  loaded: !1,
9
9
  from: "addon_osd_manager_page",
@@ -18,7 +18,7 @@ var e = {
18
18
  },
19
19
  "@camstack/types": {
20
20
  name: "@camstack/types",
21
- version: "1.2.394",
21
+ version: "1.2.395",
22
22
  scope: ["default"],
23
23
  loaded: !1,
24
24
  from: "addon_osd_manager_page",
@@ -33,7 +33,7 @@ var e = {
33
33
  },
34
34
  "@camstack/ui-library": {
35
35
  name: "@camstack/ui-library",
36
- version: "1.2.311",
36
+ version: "1.2.312",
37
37
  scope: ["default"],
38
38
  loaded: !1,
39
39
  from: "addon_osd_manager_page",
@@ -36,7 +36,7 @@ async function r() {
36
36
  }
37
37
  },
38
38
  "@camstack/types": {
39
- version: "1.2.394",
39
+ version: "1.2.395",
40
40
  scope: "default",
41
41
  shareConfig: {
42
42
  singleton: !0,
@@ -45,7 +45,7 @@ async function r() {
45
45
  }
46
46
  },
47
47
  "@camstack/sdk": {
48
- version: "1.2.144",
48
+ version: "1.2.145",
49
49
  scope: "default",
50
50
  shareConfig: {
51
51
  singleton: !0,
@@ -81,7 +81,7 @@ async function r() {
81
81
  }
82
82
  },
83
83
  "@camstack/ui-library": {
84
- version: "1.2.311",
84
+ version: "1.2.312",
85
85
  scope: "default",
86
86
  shareConfig: {
87
87
  singleton: !0,
package/dist/index.js CHANGED
@@ -5417,7 +5417,7 @@ var ZodIssueCode = {
5417
5417
  var ZodFirstPartyTypeKind;
5418
5418
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5419
5419
  //#endregion
5420
- //#region ../types/dist/sleep-CSuN0thG.mjs
5420
+ //#region ../types/dist/sleep-_sV1BE2f.mjs
5421
5421
  /**
5422
5422
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5423
5423
  * window to float samples (D455).
@@ -5534,7 +5534,7 @@ function isKeychainStoredField(field) {
5534
5534
  var SECRET_CLEAR = { $secretClear: true };
5535
5535
  /** The `'***'` token D634 redaction writes for non-admins. */
5536
5536
  var LEGACY_DEVICE_REDACTION = "***";
5537
- function isRecord$5(value) {
5537
+ function isRecord$6(value) {
5538
5538
  return typeof value === "object" && value !== null && !Array.isArray(value);
5539
5539
  }
5540
5540
  function makeSecretMarker(ref) {
@@ -5545,12 +5545,12 @@ function makeSecretMarker(ref) {
5545
5545
  }
5546
5546
  /** A stored marker: an object whose `$secret` is a non-empty string. */
5547
5547
  function isSecretMarker(value) {
5548
- if (!isRecord$5(value)) return false;
5548
+ if (!isRecord$6(value)) return false;
5549
5549
  const ref = value["$secret"];
5550
5550
  return typeof ref === "string" && ref.length > 0;
5551
5551
  }
5552
5552
  function isSecretClear(value) {
5553
- return isRecord$5(value) && value["$secretClear"] === true;
5553
+ return isRecord$6(value) && value["$secretClear"] === true;
5554
5554
  }
5555
5555
  /**
5556
5556
  * The UI view of a stored secret field value: a marker becomes "set", inline
@@ -6160,7 +6160,7 @@ var KeychainWriteRefusedError = class extends Error {
6160
6160
  }
6161
6161
  };
6162
6162
  var KEEP = { kind: "keep" };
6163
- function isRecord$4(value) {
6163
+ function isRecord$5(value) {
6164
6164
  return typeof value === "object" && value !== null && !Array.isArray(value);
6165
6165
  }
6166
6166
  function defaultMintId() {
@@ -6173,7 +6173,7 @@ function collectSecretMarkerRefs(value, out = []) {
6173
6173
  return out;
6174
6174
  }
6175
6175
  if (Array.isArray(value)) for (const item of value) collectSecretMarkerRefs(item, out);
6176
- else if (isRecord$4(value)) for (const child of Object.values(value)) collectSecretMarkerRefs(child, out);
6176
+ else if (isRecord$5(value)) for (const child of Object.values(value)) collectSecretMarkerRefs(child, out);
6177
6177
  return out;
6178
6178
  }
6179
6179
  async function storedValueEquals(secrets, marker, candidate) {
@@ -6228,7 +6228,7 @@ function rowId(row, idKey) {
6228
6228
  return null;
6229
6229
  }
6230
6230
  async function writeArray(ctx, node, incoming, stored, fieldPath) {
6231
- const storedRows = Array.isArray(stored) ? stored.filter(isRecord$4) : [];
6231
+ const storedRows = Array.isArray(stored) ? stored.filter(isRecord$5) : [];
6232
6232
  if (!Array.isArray(incoming)) {
6233
6233
  ctx.deletes.push(...collectSecretMarkerRefs(storedRows));
6234
6234
  return {
@@ -6244,7 +6244,7 @@ async function writeArray(ctx, node, incoming, stored, fieldPath) {
6244
6244
  const kept = /* @__PURE__ */ new Set();
6245
6245
  const rows = [];
6246
6246
  for (const row of incoming) {
6247
- if (!isRecord$4(row)) {
6247
+ if (!isRecord$5(row)) {
6248
6248
  rows.push(row);
6249
6249
  continue;
6250
6250
  }
@@ -6269,7 +6269,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
6269
6269
  case "leaf": return writeLeaf(ctx, incoming, stored, fieldPath);
6270
6270
  case "array": return writeArray(ctx, node, incoming, stored, fieldPath);
6271
6271
  case "object": {
6272
- if (!isRecord$4(incoming)) {
6272
+ if (!isRecord$5(incoming)) {
6273
6273
  if (incoming === void 0) return KEEP;
6274
6274
  ctx.deletes.push(...collectSecretMarkerRefs(stored));
6275
6275
  return {
@@ -6277,7 +6277,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
6277
6277
  value: incoming
6278
6278
  };
6279
6279
  }
6280
- const storedObj = isRecord$4(stored) ? stored : {};
6280
+ const storedObj = isRecord$5(stored) ? stored : {};
6281
6281
  return {
6282
6282
  kind: "value",
6283
6283
  value: await writeMembers(ctx, node.children, incoming, storedObj, (m) => `${fieldPath}.${m}`)
@@ -6400,7 +6400,7 @@ async function resolveSecretMarkers(value, secrets, options = {}) {
6400
6400
  value: items
6401
6401
  };
6402
6402
  }
6403
- if (isRecord$4(v)) {
6403
+ if (isRecord$5(v)) {
6404
6404
  const out = {};
6405
6405
  for (const [k, child] of Object.entries(v)) {
6406
6406
  const s = substitute(child);
@@ -6432,7 +6432,7 @@ var SecretOverwriteRefusedError = class extends Error {
6432
6432
  this.name = "SecretOverwriteRefusedError";
6433
6433
  }
6434
6434
  };
6435
- function isRecord$3(value) {
6435
+ function isRecord$4(value) {
6436
6436
  return typeof value === "object" && value !== null && !Array.isArray(value);
6437
6437
  }
6438
6438
  function resolvedValue(pass, marker) {
@@ -6461,7 +6461,7 @@ function inArray(pass, incoming, stored) {
6461
6461
  return incoming.map((item, index) => {
6462
6462
  const twin = stored[index];
6463
6463
  if (isSecretMarker(twin)) return typeof item === "string" && item === resolvedValue(pass, twin) ? twin : item;
6464
- if (isRecord$3(item) && isRecord$3(twin)) return inArrayRow(pass, item, twin);
6464
+ if (isRecord$4(item) && isRecord$4(twin)) return inArrayRow(pass, item, twin);
6465
6465
  if (Array.isArray(item) && Array.isArray(twin)) return inArray(pass, item, twin);
6466
6466
  return item;
6467
6467
  });
@@ -6472,7 +6472,7 @@ function inArrayRow(pass, incoming, stored) {
6472
6472
  const twin = stored[key];
6473
6473
  if (isSecretMarker(twin)) {
6474
6474
  if (typeof value === "string" && value === resolvedValue(pass, twin)) out[key] = twin;
6475
- } else if (isRecord$3(value) && isRecord$3(twin)) out[key] = inArrayRow(pass, value, twin);
6475
+ } else if (isRecord$4(value) && isRecord$4(twin)) out[key] = inArrayRow(pass, value, twin);
6476
6476
  else if (Array.isArray(value) && Array.isArray(twin)) out[key] = inArray(pass, value, twin);
6477
6477
  }
6478
6478
  return out;
@@ -6480,7 +6480,7 @@ function inArrayRow(pass, incoming, stored) {
6480
6480
  async function walk$1(pass, incoming, stored) {
6481
6481
  if (isSecretMarker(stored)) return atMarker(pass, incoming, stored);
6482
6482
  if (Array.isArray(incoming) && Array.isArray(stored)) return inArray(pass, incoming, stored);
6483
- if (!isRecord$3(incoming) || !isRecord$3(stored)) return incoming;
6483
+ if (!isRecord$4(incoming) || !isRecord$4(stored)) return incoming;
6484
6484
  const out = { ...incoming };
6485
6485
  for (const [key, value] of Object.entries(incoming)) out[key] = await walk$1(pass, value, stored[key]);
6486
6486
  return out;
@@ -6511,7 +6511,7 @@ async function restoreUnchangedSecrets(input) {
6511
6511
  function isJsonEqual(a, b) {
6512
6512
  if (Object.is(a, b)) return true;
6513
6513
  if (Array.isArray(a)) return Array.isArray(b) && a.length === b.length && a.every((v, i) => isJsonEqual(v, b[i]));
6514
- if (isRecord$3(a) && isRecord$3(b)) {
6514
+ if (isRecord$4(a) && isRecord$4(b)) {
6515
6515
  const keys = Object.keys(a);
6516
6516
  if (keys.length !== Object.keys(b).length) return false;
6517
6517
  return keys.every((k) => Object.prototype.hasOwnProperty.call(b, k) && isJsonEqual(a[k], b[k]));
@@ -6535,7 +6535,7 @@ function markerKeysOf(blob, owner) {
6535
6535
  }
6536
6536
  function nodeFromStored(value, owner) {
6537
6537
  if (isSecretMarker(value)) return isSecretRefOwnedBy(value.$secret, owner) ? { kind: "leaf" } : null;
6538
- if (!isRecord$3(value)) return null;
6538
+ if (!isRecord$4(value)) return null;
6539
6539
  const children = /* @__PURE__ */ new Map();
6540
6540
  for (const [key, child] of Object.entries(value)) {
6541
6541
  const node = nodeFromStored(child, owner);
package/dist/index.mjs CHANGED
@@ -5413,7 +5413,7 @@ var ZodIssueCode = {
5413
5413
  var ZodFirstPartyTypeKind;
5414
5414
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5415
5415
  //#endregion
5416
- //#region ../types/dist/sleep-CSuN0thG.mjs
5416
+ //#region ../types/dist/sleep-_sV1BE2f.mjs
5417
5417
  /**
5418
5418
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5419
5419
  * window to float samples (D455).
@@ -5530,7 +5530,7 @@ function isKeychainStoredField(field) {
5530
5530
  var SECRET_CLEAR = { $secretClear: true };
5531
5531
  /** The `'***'` token D634 redaction writes for non-admins. */
5532
5532
  var LEGACY_DEVICE_REDACTION = "***";
5533
- function isRecord$5(value) {
5533
+ function isRecord$6(value) {
5534
5534
  return typeof value === "object" && value !== null && !Array.isArray(value);
5535
5535
  }
5536
5536
  function makeSecretMarker(ref) {
@@ -5541,12 +5541,12 @@ function makeSecretMarker(ref) {
5541
5541
  }
5542
5542
  /** A stored marker: an object whose `$secret` is a non-empty string. */
5543
5543
  function isSecretMarker(value) {
5544
- if (!isRecord$5(value)) return false;
5544
+ if (!isRecord$6(value)) return false;
5545
5545
  const ref = value["$secret"];
5546
5546
  return typeof ref === "string" && ref.length > 0;
5547
5547
  }
5548
5548
  function isSecretClear(value) {
5549
- return isRecord$5(value) && value["$secretClear"] === true;
5549
+ return isRecord$6(value) && value["$secretClear"] === true;
5550
5550
  }
5551
5551
  /**
5552
5552
  * The UI view of a stored secret field value: a marker becomes "set", inline
@@ -6156,7 +6156,7 @@ var KeychainWriteRefusedError = class extends Error {
6156
6156
  }
6157
6157
  };
6158
6158
  var KEEP = { kind: "keep" };
6159
- function isRecord$4(value) {
6159
+ function isRecord$5(value) {
6160
6160
  return typeof value === "object" && value !== null && !Array.isArray(value);
6161
6161
  }
6162
6162
  function defaultMintId() {
@@ -6169,7 +6169,7 @@ function collectSecretMarkerRefs(value, out = []) {
6169
6169
  return out;
6170
6170
  }
6171
6171
  if (Array.isArray(value)) for (const item of value) collectSecretMarkerRefs(item, out);
6172
- else if (isRecord$4(value)) for (const child of Object.values(value)) collectSecretMarkerRefs(child, out);
6172
+ else if (isRecord$5(value)) for (const child of Object.values(value)) collectSecretMarkerRefs(child, out);
6173
6173
  return out;
6174
6174
  }
6175
6175
  async function storedValueEquals(secrets, marker, candidate) {
@@ -6224,7 +6224,7 @@ function rowId(row, idKey) {
6224
6224
  return null;
6225
6225
  }
6226
6226
  async function writeArray(ctx, node, incoming, stored, fieldPath) {
6227
- const storedRows = Array.isArray(stored) ? stored.filter(isRecord$4) : [];
6227
+ const storedRows = Array.isArray(stored) ? stored.filter(isRecord$5) : [];
6228
6228
  if (!Array.isArray(incoming)) {
6229
6229
  ctx.deletes.push(...collectSecretMarkerRefs(storedRows));
6230
6230
  return {
@@ -6240,7 +6240,7 @@ async function writeArray(ctx, node, incoming, stored, fieldPath) {
6240
6240
  const kept = /* @__PURE__ */ new Set();
6241
6241
  const rows = [];
6242
6242
  for (const row of incoming) {
6243
- if (!isRecord$4(row)) {
6243
+ if (!isRecord$5(row)) {
6244
6244
  rows.push(row);
6245
6245
  continue;
6246
6246
  }
@@ -6265,7 +6265,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
6265
6265
  case "leaf": return writeLeaf(ctx, incoming, stored, fieldPath);
6266
6266
  case "array": return writeArray(ctx, node, incoming, stored, fieldPath);
6267
6267
  case "object": {
6268
- if (!isRecord$4(incoming)) {
6268
+ if (!isRecord$5(incoming)) {
6269
6269
  if (incoming === void 0) return KEEP;
6270
6270
  ctx.deletes.push(...collectSecretMarkerRefs(stored));
6271
6271
  return {
@@ -6273,7 +6273,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
6273
6273
  value: incoming
6274
6274
  };
6275
6275
  }
6276
- const storedObj = isRecord$4(stored) ? stored : {};
6276
+ const storedObj = isRecord$5(stored) ? stored : {};
6277
6277
  return {
6278
6278
  kind: "value",
6279
6279
  value: await writeMembers(ctx, node.children, incoming, storedObj, (m) => `${fieldPath}.${m}`)
@@ -6396,7 +6396,7 @@ async function resolveSecretMarkers(value, secrets, options = {}) {
6396
6396
  value: items
6397
6397
  };
6398
6398
  }
6399
- if (isRecord$4(v)) {
6399
+ if (isRecord$5(v)) {
6400
6400
  const out = {};
6401
6401
  for (const [k, child] of Object.entries(v)) {
6402
6402
  const s = substitute(child);
@@ -6428,7 +6428,7 @@ var SecretOverwriteRefusedError = class extends Error {
6428
6428
  this.name = "SecretOverwriteRefusedError";
6429
6429
  }
6430
6430
  };
6431
- function isRecord$3(value) {
6431
+ function isRecord$4(value) {
6432
6432
  return typeof value === "object" && value !== null && !Array.isArray(value);
6433
6433
  }
6434
6434
  function resolvedValue(pass, marker) {
@@ -6457,7 +6457,7 @@ function inArray(pass, incoming, stored) {
6457
6457
  return incoming.map((item, index) => {
6458
6458
  const twin = stored[index];
6459
6459
  if (isSecretMarker(twin)) return typeof item === "string" && item === resolvedValue(pass, twin) ? twin : item;
6460
- if (isRecord$3(item) && isRecord$3(twin)) return inArrayRow(pass, item, twin);
6460
+ if (isRecord$4(item) && isRecord$4(twin)) return inArrayRow(pass, item, twin);
6461
6461
  if (Array.isArray(item) && Array.isArray(twin)) return inArray(pass, item, twin);
6462
6462
  return item;
6463
6463
  });
@@ -6468,7 +6468,7 @@ function inArrayRow(pass, incoming, stored) {
6468
6468
  const twin = stored[key];
6469
6469
  if (isSecretMarker(twin)) {
6470
6470
  if (typeof value === "string" && value === resolvedValue(pass, twin)) out[key] = twin;
6471
- } else if (isRecord$3(value) && isRecord$3(twin)) out[key] = inArrayRow(pass, value, twin);
6471
+ } else if (isRecord$4(value) && isRecord$4(twin)) out[key] = inArrayRow(pass, value, twin);
6472
6472
  else if (Array.isArray(value) && Array.isArray(twin)) out[key] = inArray(pass, value, twin);
6473
6473
  }
6474
6474
  return out;
@@ -6476,7 +6476,7 @@ function inArrayRow(pass, incoming, stored) {
6476
6476
  async function walk$1(pass, incoming, stored) {
6477
6477
  if (isSecretMarker(stored)) return atMarker(pass, incoming, stored);
6478
6478
  if (Array.isArray(incoming) && Array.isArray(stored)) return inArray(pass, incoming, stored);
6479
- if (!isRecord$3(incoming) || !isRecord$3(stored)) return incoming;
6479
+ if (!isRecord$4(incoming) || !isRecord$4(stored)) return incoming;
6480
6480
  const out = { ...incoming };
6481
6481
  for (const [key, value] of Object.entries(incoming)) out[key] = await walk$1(pass, value, stored[key]);
6482
6482
  return out;
@@ -6507,7 +6507,7 @@ async function restoreUnchangedSecrets(input) {
6507
6507
  function isJsonEqual(a, b) {
6508
6508
  if (Object.is(a, b)) return true;
6509
6509
  if (Array.isArray(a)) return Array.isArray(b) && a.length === b.length && a.every((v, i) => isJsonEqual(v, b[i]));
6510
- if (isRecord$3(a) && isRecord$3(b)) {
6510
+ if (isRecord$4(a) && isRecord$4(b)) {
6511
6511
  const keys = Object.keys(a);
6512
6512
  if (keys.length !== Object.keys(b).length) return false;
6513
6513
  return keys.every((k) => Object.prototype.hasOwnProperty.call(b, k) && isJsonEqual(a[k], b[k]));
@@ -6531,7 +6531,7 @@ function markerKeysOf(blob, owner) {
6531
6531
  }
6532
6532
  function nodeFromStored(value, owner) {
6533
6533
  if (isSecretMarker(value)) return isSecretRefOwnedBy(value.$secret, owner) ? { kind: "leaf" } : null;
6534
- if (!isRecord$3(value)) return null;
6534
+ if (!isRecord$4(value)) return null;
6535
6535
  const children = /* @__PURE__ */ new Map();
6536
6536
  for (const [key, child] of Object.entries(value)) {
6537
6537
  const node = nodeFromStored(child, owner);
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-BYWSsbt9.mjs";
1
+ import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-Bp_HjvNq.mjs";
2
2
  export { t as get, e as init };
@@ -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_osd_manager_page-Dopl6x0l.mjs")).catch((e) => {
2756
+ return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-aTIFPfx4.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-osd-manager",
3
- "version": "0.1.257",
3
+ "version": "0.1.258",
4
4
  "description": "Binds camera on-screen-display slots to live state and recognitions",
5
5
  "keywords": [
6
6
  "camstack",