@camstack/addon-training 0.1.67 → 0.1.69
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/{MotionZonesSettings-DIpEV5J3.mjs → MotionZonesSettings-B9_DluhF.mjs} +2 -2
- package/dist/{PrivacyMaskSettings-TlViccW9.mjs → PrivacyMaskSettings-CncKu03o.mjs} +2 -2
- package/dist/{SceneMonitorEditor-B2PhYyTc.mjs → SceneMonitorEditor-xUwTVl54.mjs} +1 -1
- package/dist/_stub.js +3593 -3545
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_training_page-CBKsmn4y.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_training_page-S8NEqLNO.mjs} +4 -4
- package/dist/{_virtual_mf___mfe_internal__addon_training_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-06W1nHAc.mjs → _virtual_mf___mfe_internal__addon_training_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-p4t7dbDk.mjs} +1 -1
- package/dist/{dist-C-kehMXS.mjs → dist-5U0pW8tJ.mjs} +26 -32
- package/dist/{dist-DpVVVPlD.js → dist-BzGklukW.js} +26 -32
- package/dist/{hostInit-BnvYif19.mjs → hostInit-Cm_2-C6o.mjs} +3 -3
- package/dist/index.js +1 -1
- package/dist/orchestrator/training.addon.js +1 -1
- package/dist/orchestrator/training.addon.mjs +1 -1
- package/dist/{player-overlays-y8PpBdw1.mjs → player-overlays-BqBg6DO2.mjs} +1 -1
- package/dist/providers/modal/training-modal.addon.js +1 -1
- package/dist/providers/modal/training-modal.addon.mjs +1 -1
- package/dist/remoteEntry.js +1 -1
- package/dist/{responsive-D6K3fIzW.mjs → responsive-vB1EsOnM.mjs} +1 -1
- package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-CgwNhL8v.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-DBp67phz.mjs} +1 -1
- package/package.json +1 -1
|
@@ -5580,7 +5580,7 @@ var ZodIssueCode = {
|
|
|
5580
5580
|
var ZodFirstPartyTypeKind;
|
|
5581
5581
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5582
5582
|
//#endregion
|
|
5583
|
-
//#region ../types/dist/sleep-
|
|
5583
|
+
//#region ../types/dist/sleep-_sV1BE2f.mjs
|
|
5584
5584
|
/**
|
|
5585
5585
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5586
5586
|
* window to float samples (D455).
|
|
@@ -5697,7 +5697,7 @@ function isKeychainStoredField(field) {
|
|
|
5697
5697
|
var SECRET_CLEAR = { $secretClear: true };
|
|
5698
5698
|
/** The `'***'` token D634 redaction writes for non-admins. */
|
|
5699
5699
|
var LEGACY_DEVICE_REDACTION = "***";
|
|
5700
|
-
function isRecord$
|
|
5700
|
+
function isRecord$6(value) {
|
|
5701
5701
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
5702
5702
|
}
|
|
5703
5703
|
function makeSecretMarker(ref) {
|
|
@@ -5708,12 +5708,12 @@ function makeSecretMarker(ref) {
|
|
|
5708
5708
|
}
|
|
5709
5709
|
/** A stored marker: an object whose `$secret` is a non-empty string. */
|
|
5710
5710
|
function isSecretMarker(value) {
|
|
5711
|
-
if (!isRecord$
|
|
5711
|
+
if (!isRecord$6(value)) return false;
|
|
5712
5712
|
const ref = value["$secret"];
|
|
5713
5713
|
return typeof ref === "string" && ref.length > 0;
|
|
5714
5714
|
}
|
|
5715
5715
|
function isSecretClear(value) {
|
|
5716
|
-
return isRecord$
|
|
5716
|
+
return isRecord$6(value) && value["$secretClear"] === true;
|
|
5717
5717
|
}
|
|
5718
5718
|
/**
|
|
5719
5719
|
* The UI view of a stored secret field value: a marker becomes "set", inline
|
|
@@ -6323,7 +6323,7 @@ var KeychainWriteRefusedError = class extends Error {
|
|
|
6323
6323
|
}
|
|
6324
6324
|
};
|
|
6325
6325
|
var KEEP = { kind: "keep" };
|
|
6326
|
-
function isRecord$
|
|
6326
|
+
function isRecord$5(value) {
|
|
6327
6327
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
6328
6328
|
}
|
|
6329
6329
|
function defaultMintId() {
|
|
@@ -6336,7 +6336,7 @@ function collectSecretMarkerRefs(value, out = []) {
|
|
|
6336
6336
|
return out;
|
|
6337
6337
|
}
|
|
6338
6338
|
if (Array.isArray(value)) for (const item of value) collectSecretMarkerRefs(item, out);
|
|
6339
|
-
else if (isRecord$
|
|
6339
|
+
else if (isRecord$5(value)) for (const child of Object.values(value)) collectSecretMarkerRefs(child, out);
|
|
6340
6340
|
return out;
|
|
6341
6341
|
}
|
|
6342
6342
|
async function storedValueEquals(secrets, marker, candidate) {
|
|
@@ -6391,7 +6391,7 @@ function rowId(row, idKey) {
|
|
|
6391
6391
|
return null;
|
|
6392
6392
|
}
|
|
6393
6393
|
async function writeArray(ctx, node, incoming, stored, fieldPath) {
|
|
6394
|
-
const storedRows = Array.isArray(stored) ? stored.filter(isRecord$
|
|
6394
|
+
const storedRows = Array.isArray(stored) ? stored.filter(isRecord$5) : [];
|
|
6395
6395
|
if (!Array.isArray(incoming)) {
|
|
6396
6396
|
ctx.deletes.push(...collectSecretMarkerRefs(storedRows));
|
|
6397
6397
|
return {
|
|
@@ -6407,7 +6407,7 @@ async function writeArray(ctx, node, incoming, stored, fieldPath) {
|
|
|
6407
6407
|
const kept = /* @__PURE__ */ new Set();
|
|
6408
6408
|
const rows = [];
|
|
6409
6409
|
for (const row of incoming) {
|
|
6410
|
-
if (!isRecord$
|
|
6410
|
+
if (!isRecord$5(row)) {
|
|
6411
6411
|
rows.push(row);
|
|
6412
6412
|
continue;
|
|
6413
6413
|
}
|
|
@@ -6432,7 +6432,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
|
|
|
6432
6432
|
case "leaf": return writeLeaf(ctx, incoming, stored, fieldPath);
|
|
6433
6433
|
case "array": return writeArray(ctx, node, incoming, stored, fieldPath);
|
|
6434
6434
|
case "object": {
|
|
6435
|
-
if (!isRecord$
|
|
6435
|
+
if (!isRecord$5(incoming)) {
|
|
6436
6436
|
if (incoming === void 0) return KEEP;
|
|
6437
6437
|
ctx.deletes.push(...collectSecretMarkerRefs(stored));
|
|
6438
6438
|
return {
|
|
@@ -6440,7 +6440,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
|
|
|
6440
6440
|
value: incoming
|
|
6441
6441
|
};
|
|
6442
6442
|
}
|
|
6443
|
-
const storedObj = isRecord$
|
|
6443
|
+
const storedObj = isRecord$5(stored) ? stored : {};
|
|
6444
6444
|
return {
|
|
6445
6445
|
kind: "value",
|
|
6446
6446
|
value: await writeMembers(ctx, node.children, incoming, storedObj, (m) => `${fieldPath}.${m}`)
|
|
@@ -6563,7 +6563,7 @@ async function resolveSecretMarkers(value, secrets, options = {}) {
|
|
|
6563
6563
|
value: items
|
|
6564
6564
|
};
|
|
6565
6565
|
}
|
|
6566
|
-
if (isRecord$
|
|
6566
|
+
if (isRecord$5(v)) {
|
|
6567
6567
|
const out = {};
|
|
6568
6568
|
for (const [k, child] of Object.entries(v)) {
|
|
6569
6569
|
const s = substitute(child);
|
|
@@ -6595,7 +6595,7 @@ var SecretOverwriteRefusedError = class extends Error {
|
|
|
6595
6595
|
this.name = "SecretOverwriteRefusedError";
|
|
6596
6596
|
}
|
|
6597
6597
|
};
|
|
6598
|
-
function isRecord$
|
|
6598
|
+
function isRecord$4(value) {
|
|
6599
6599
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
6600
6600
|
}
|
|
6601
6601
|
function resolvedValue(pass, marker) {
|
|
@@ -6624,7 +6624,7 @@ function inArray(pass, incoming, stored) {
|
|
|
6624
6624
|
return incoming.map((item, index) => {
|
|
6625
6625
|
const twin = stored[index];
|
|
6626
6626
|
if (isSecretMarker(twin)) return typeof item === "string" && item === resolvedValue(pass, twin) ? twin : item;
|
|
6627
|
-
if (isRecord$
|
|
6627
|
+
if (isRecord$4(item) && isRecord$4(twin)) return inArrayRow(pass, item, twin);
|
|
6628
6628
|
if (Array.isArray(item) && Array.isArray(twin)) return inArray(pass, item, twin);
|
|
6629
6629
|
return item;
|
|
6630
6630
|
});
|
|
@@ -6635,7 +6635,7 @@ function inArrayRow(pass, incoming, stored) {
|
|
|
6635
6635
|
const twin = stored[key];
|
|
6636
6636
|
if (isSecretMarker(twin)) {
|
|
6637
6637
|
if (typeof value === "string" && value === resolvedValue(pass, twin)) out[key] = twin;
|
|
6638
|
-
} else if (isRecord$
|
|
6638
|
+
} else if (isRecord$4(value) && isRecord$4(twin)) out[key] = inArrayRow(pass, value, twin);
|
|
6639
6639
|
else if (Array.isArray(value) && Array.isArray(twin)) out[key] = inArray(pass, value, twin);
|
|
6640
6640
|
}
|
|
6641
6641
|
return out;
|
|
@@ -6643,7 +6643,7 @@ function inArrayRow(pass, incoming, stored) {
|
|
|
6643
6643
|
async function walk(pass, incoming, stored) {
|
|
6644
6644
|
if (isSecretMarker(stored)) return atMarker(pass, incoming, stored);
|
|
6645
6645
|
if (Array.isArray(incoming) && Array.isArray(stored)) return inArray(pass, incoming, stored);
|
|
6646
|
-
if (!isRecord$
|
|
6646
|
+
if (!isRecord$4(incoming) || !isRecord$4(stored)) return incoming;
|
|
6647
6647
|
const out = { ...incoming };
|
|
6648
6648
|
for (const [key, value] of Object.entries(incoming)) out[key] = await walk(pass, value, stored[key]);
|
|
6649
6649
|
return out;
|
|
@@ -6674,7 +6674,7 @@ async function restoreUnchangedSecrets(input) {
|
|
|
6674
6674
|
function isJsonEqual(a, b) {
|
|
6675
6675
|
if (Object.is(a, b)) return true;
|
|
6676
6676
|
if (Array.isArray(a)) return Array.isArray(b) && a.length === b.length && a.every((v, i) => isJsonEqual(v, b[i]));
|
|
6677
|
-
if (isRecord$
|
|
6677
|
+
if (isRecord$4(a) && isRecord$4(b)) {
|
|
6678
6678
|
const keys = Object.keys(a);
|
|
6679
6679
|
if (keys.length !== Object.keys(b).length) return false;
|
|
6680
6680
|
return keys.every((k) => Object.prototype.hasOwnProperty.call(b, k) && isJsonEqual(a[k], b[k]));
|
|
@@ -6698,7 +6698,7 @@ function markerKeysOf(blob, owner) {
|
|
|
6698
6698
|
}
|
|
6699
6699
|
function nodeFromStored(value, owner) {
|
|
6700
6700
|
if (isSecretMarker(value)) return isSecretRefOwnedBy(value.$secret, owner) ? { kind: "leaf" } : null;
|
|
6701
|
-
if (!isRecord$
|
|
6701
|
+
if (!isRecord$4(value)) return null;
|
|
6702
6702
|
const children = /* @__PURE__ */ new Map();
|
|
6703
6703
|
for (const [key, child] of Object.entries(value)) {
|
|
6704
6704
|
const node = nodeFromStored(child, owner);
|
|
@@ -17065,15 +17065,6 @@ var StorageKindSchema = object({
|
|
|
17065
17065
|
declaration: RecordKindDeclarationSchema
|
|
17066
17066
|
});
|
|
17067
17067
|
method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: array(StorageTableSchema) }), { auth: "admin" }), method(object({
|
|
17068
|
-
collection: string().min(1),
|
|
17069
|
-
expectRows: number().int().nonnegative()
|
|
17070
|
-
}), object({
|
|
17071
|
-
dropped: literal(true),
|
|
17072
|
-
rows: number().int().nonnegative()
|
|
17073
|
-
}), {
|
|
17074
|
-
kind: "mutation",
|
|
17075
|
-
auth: "admin"
|
|
17076
|
-
}), method(object({
|
|
17077
17068
|
owner: string().min(1).optional(),
|
|
17078
17069
|
/** `false` skips the per-kind row count (a catalog read only). Default true. */
|
|
17079
17070
|
counts: boolean().optional()
|
|
@@ -43195,6 +43186,15 @@ var NcMediaPolicySchema = object({
|
|
|
43195
43186
|
* Replaces `zoneCrop`.
|
|
43196
43187
|
*/
|
|
43197
43188
|
showTriggerZone: boolean().optional(),
|
|
43189
|
+
/**
|
|
43190
|
+
* Draw the SUBJECT'S PATH on the picture — a line in the subject's colour
|
|
43191
|
+
* through the track's positions up to the frame shown, the same path the
|
|
43192
|
+
* debug views draw (`buildSubjectPath`, D903). Every picture mode a subject
|
|
43193
|
+
* is drawn on: a `crop` maps the path into the crop and clips it. Valid only
|
|
43194
|
+
* on a rule whose subject is a tracked object (refused on a sound rule);
|
|
43195
|
+
* dropped on `image: 'none'`. Absent = off.
|
|
43196
|
+
*/
|
|
43197
|
+
showSubjectPath: boolean().optional(),
|
|
43198
43198
|
/** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
|
|
43199
43199
|
attach: _enum([
|
|
43200
43200
|
"best",
|
|
@@ -69585,12 +69585,6 @@ Object.freeze({
|
|
|
69585
69585
|
addonId: null,
|
|
69586
69586
|
access: "create"
|
|
69587
69587
|
},
|
|
69588
|
-
"storageAdmin.dropCollection": {
|
|
69589
|
-
capName: "storage-admin",
|
|
69590
|
-
capScope: "system",
|
|
69591
|
-
addonId: null,
|
|
69592
|
-
access: "delete"
|
|
69593
|
-
},
|
|
69594
69588
|
"storageAdmin.listKinds": {
|
|
69595
69589
|
capName: "storage-admin",
|
|
69596
69590
|
capScope: "system",
|
|
@@ -36,7 +36,7 @@ async function r() {
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"@camstack/types": {
|
|
39
|
-
version: "1.2.
|
|
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.
|
|
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.
|
|
84
|
+
version: "1.2.312",
|
|
85
85
|
scope: "default",
|
|
86
86
|
shareConfig: {
|
|
87
87
|
singleton: !0,
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
require("./dist-
|
|
2
|
+
require("./dist-BzGklukW.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-
|
|
2
|
+
const require_dist = require("../dist-BzGklukW.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-
|
|
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-5U0pW8tJ.mjs";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import { createHash } from "node:crypto";
|
|
4
4
|
import { createReadStream } from "node:fs";
|
|
@@ -1,7 +1,7 @@
|
|
|
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-
|
|
4
|
+
import { h as l } from "./responsive-vB1EsOnM.mjs";
|
|
5
5
|
//#region ../ui-library/src/composites/widget-panel.tsx
|
|
6
6
|
n();
|
|
7
7
|
function u({ title: e, icon: t, headerRight: n, collapsible: l = !1, defaultOpen: u = !0, bodyClassName: d = "p-3", children: f }) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_dist = require("../../dist-
|
|
2
|
+
const require_dist = require("../../dist-BzGklukW.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-
|
|
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-5U0pW8tJ.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";
|
package/dist/remoteEntry.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-
|
|
1
|
+
import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-DBp67phz.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-
|
|
3
|
+
import { y as c } from "./_virtual_mf___mfe_internal__addon_training_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-p4t7dbDk.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-
|
|
2765
|
+
return ir ||= or(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_training_page-S8NEqLNO.mjs")).catch((e) => {
|
|
2766
2766
|
throw ir = void 0, e;
|
|
2767
2767
|
}), ir;
|
|
2768
2768
|
}
|
package/package.json
CHANGED