@camstack/addon-admin-ui 1.2.410 → 1.2.411

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 (85) hide show
  1. package/dist/assets/{AddonAssetIcon-DLUEAtxu.js → AddonAssetIcon-D8iI-KCZ.js} +1 -1
  2. package/dist/assets/{Addons-B2QH4ukT.js → Addons-C5JY2AfL.js} +1 -1
  3. package/dist/assets/{AdminPage-CyL8RLIB.js → AdminPage-ag0ooKaL.js} +1 -1
  4. package/dist/assets/{AdminSectionedPage-DRJRcpGW.js → AdminSectionedPage-CAC1tbqj.js} +1 -1
  5. package/dist/assets/{AiProfiles-Cejc4q2d.js → AiProfiles-nF-d_2b-.js} +1 -1
  6. package/dist/assets/{BrokerForm-DdnPCG-9.js → BrokerForm-D-veZ8r_.js} +1 -1
  7. package/dist/assets/{Build-B0aYvZwN.js → Build-BO-c5rW0.js} +1 -1
  8. package/dist/assets/{Calendars-BAV1B3Dw.js → Calendars-BMuzFS5L.js} +1 -1
  9. package/dist/assets/{Cluster-BSjxXDiK.js → Cluster-B5LvOBTI.js} +1 -1
  10. package/dist/assets/{ClusterStepModel-YWfq9tyD.js → ClusterStepModel-DnSR4tlP.js} +1 -1
  11. package/dist/assets/{CompositionEditor-CZ1eVosb.js → CompositionEditor-UGFbz15p.js} +1 -1
  12. package/dist/assets/{CompositionEditorPage-D8DKls1Q.js → CompositionEditorPage-C5_CkU8D.js} +1 -1
  13. package/dist/assets/{Data-BIjoSqco.js → Data-Dm-IMaz-.js} +1 -1
  14. package/dist/assets/{DeviceDetail-wcP5I0uL.js → DeviceDetail-DXYeAub5.js} +1 -1
  15. package/dist/assets/{DeviceDoActionFields-ClEK5qiF.js → DeviceDoActionFields-Bi8ACMvr.js} +1 -1
  16. package/dist/assets/{Devices-BE6UCKDf.js → Devices-yzpwWXqp.js} +1 -1
  17. package/dist/assets/{EmbedPlayerPage-CIgP39SC.js → EmbedPlayerPage-DjeW_rTr.js} +1 -1
  18. package/dist/assets/{Identity-B7pC3MnH.js → Identity-Dx31w2Vy.js} +1 -1
  19. package/dist/assets/{IntegrationDetail-DkCgNYS-.js → IntegrationDetail-BEEj3VrA.js} +1 -1
  20. package/dist/assets/{IntegrationHub-BMTd4JRA.js → IntegrationHub-DjC2oVp0.js} +1 -1
  21. package/dist/assets/{Integrations-hGt1qN87.js → Integrations-CAbitj49.js} +1 -1
  22. package/dist/assets/{Integrations-DpebI4j8.js → Integrations-WyRK4N1k.js} +1 -1
  23. package/dist/assets/{Library-ZgLrxd_I.js → Library-CZpqcnrI.js} +1 -1
  24. package/dist/assets/{Locations-Cbc-tHBq.js → Locations-CxcAxmGc.js} +1 -1
  25. package/dist/assets/{Logs-CLPlxpr0.js → Logs-CknEKxXB.js} +1 -1
  26. package/dist/assets/{MotionZonesSettings-BMKuWk1E.js → MotionZonesSettings-evsXZ-jK.js} +1 -1
  27. package/dist/assets/{MyAccess-nw7JdO8b.js → MyAccess-CQf-w9GX.js} +1 -1
  28. package/dist/assets/{Network-BKjPYwab.js → Network-M1v_DQYy.js} +1 -1
  29. package/dist/assets/{NodeAddonsSettingsPanel-DNZz2nzO.js → NodeAddonsSettingsPanel-BkE4c6Nf.js} +1 -1
  30. package/dist/assets/{Notifications-N9oygOXW.js → Notifications-DtZ4UX1O.js} +1 -1
  31. package/dist/assets/{PrivacyMaskSettings-CuPpD6fG.js → PrivacyMaskSettings-C0Di56NN.js} +1 -1
  32. package/dist/assets/{Recordings-DYDJxiJH.js → Recordings-V-A6EoJs.js} +1 -1
  33. package/dist/assets/{ScanNetworkModal-DihqrtjR.js → ScanNetworkModal-DaHDtE3d.js} +1 -1
  34. package/dist/assets/{SceneMonitorEditor-DhfY9MAs.js → SceneMonitorEditor-BzZ9SeCX.js} +1 -1
  35. package/dist/assets/{SessionsList-ZkuNe9Oq.js → SessionsList-BWWW0tpL.js} +1 -1
  36. package/dist/assets/{Showroom-DCHL5phu.js → Showroom-C6kvHxpc.js} +1 -1
  37. package/dist/assets/{System-D5eX1n87.js → System-fYBzKo6o.js} +1 -1
  38. package/dist/assets/{Terminal-1zHqZjrv.js → Terminal-DGCOOqZt.js} +1 -1
  39. package/dist/assets/{Viewer-B252TItD.js → Viewer-CHTg541S.js} +1 -1
  40. package/dist/assets/{_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-BpyZEjDK.js → _virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-C0V_Ve84.js} +1 -1
  41. package/dist/assets/{archive-B_9vspGC.js → archive-Bzv2DmvH.js} +1 -1
  42. package/dist/assets/{authed-media-BhC9q9nP.js → authed-media-BnZp89Ya.js} +1 -1
  43. package/dist/assets/{boxes-8dlBN5Bc.js → boxes-2dkn6KvM.js} +1 -1
  44. package/dist/assets/circle-slash-BXiLL6q3.js +1 -0
  45. package/dist/assets/client-Bug9W0HP.js +357 -0
  46. package/dist/assets/crop-jpDa83SU.js +1 -0
  47. package/dist/assets/{device-integration-icon-C3_h2jjN.js → device-integration-icon-D59GdgtP.js} +1 -1
  48. package/dist/assets/device-picker-model-NCEu1Koc.js +1 -0
  49. package/dist/assets/{dist-BuELFAL4.js → dist-XfP6nUa1.js} +1 -1
  50. package/dist/assets/dist-m91QqM3B.js +357 -0
  51. package/dist/assets/{format-size-bwnlxWFg.js → format-size-BmGEgtZE.js} +1 -1
  52. package/dist/assets/{history-B35tOgTx.js → history-Bfo51EO_.js} +1 -1
  53. package/dist/assets/{hostInit-CJfMxGl-.js → hostInit-DExLXr0I.js} +1 -1
  54. package/dist/assets/{index-BfYcsgR2.js → index-DgpFlZtW.js} +3 -3
  55. package/dist/assets/{layers-jd2M6CH2.js → layers-JXtgkqKO.js} +1 -1
  56. package/dist/assets/{location-owned-usage-BHextJoz.js → location-owned-usage-BwuAy59Z.js} +1 -1
  57. package/dist/assets/{log-in-CN6CxRtX.js → log-in-CLHMAmC6.js} +1 -1
  58. package/dist/assets/{mf-entry-bootstrap-0-bcf7c858.js → mf-entry-bootstrap-0-92776d52.js} +2 -2
  59. package/dist/assets/{monitor-smartphone-7ysZRZK_.js → monitor-smartphone-vRItleqP.js} +1 -1
  60. package/dist/assets/mount-NCEu1Koc.js +1 -0
  61. package/dist/assets/{notification-schedule-field-YlYWVwQJ.js → notification-schedule-field-HuSVn6TA.js} +1 -1
  62. package/dist/assets/{octagon-alert-BDzYltYQ.js → octagon-alert-BMnKz1If.js} +1 -1
  63. package/dist/assets/{player-overlays-VgfvBWv8.js → player-overlays-DuTESHep.js} +1 -1
  64. package/dist/assets/remoteEntry-BsBo0iQF.js +1 -0
  65. package/dist/assets/{send-DeIMu1a_.js → send-DNGz2E6E.js} +1 -1
  66. package/dist/assets/{settings-2-DePUBKEx.js → settings-2-BWgwUK0a.js} +1 -1
  67. package/dist/assets/{src-nlMjqyEg.js → src-CQqBpUBT.js} +17 -17
  68. package/dist/assets/{use-scenes-feed-DYptCHeS.js → use-scenes-feed-DgIBL35t.js} +1 -1
  69. package/dist/assets/{use-stationary-objects-CjCcYMaX.js → use-stationary-objects-Dhz2_wZf.js} +1 -1
  70. package/dist/assets/useEventInvalidation-NCEu1Koc.js +1 -0
  71. package/dist/assets/{useNodeUrlSelection-CjxkYfDu.js → useNodeUrlSelection-DC4zvSpS.js} +1 -1
  72. package/dist/assets/user-round-CZhaQwMK.js +1 -0
  73. package/dist/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-B-WHL_NS.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-BeJNZsYC.js} +2 -2
  74. package/dist/index.html +7 -7
  75. package/dist/server/addon.js +175 -4
  76. package/package.json +1 -1
  77. package/dist/assets/circle-slash-DDhDWjsL.js +0 -1
  78. package/dist/assets/client-y2AzEhXf.js +0 -357
  79. package/dist/assets/crop-Dw5uQDvi.js +0 -1
  80. package/dist/assets/device-picker-model-CnuTikMJ.js +0 -1
  81. package/dist/assets/dist-CdJvMCWO.js +0 -357
  82. package/dist/assets/mount-CnuTikMJ.js +0 -1
  83. package/dist/assets/remoteEntry-BODE1ZXm.js +0 -1
  84. package/dist/assets/useEventInvalidation-CnuTikMJ.js +0 -1
  85. package/dist/assets/user-round-BnnGNblh.js +0 -1
@@ -5388,7 +5388,7 @@ var ZodIssueCode = {
5388
5388
  var ZodFirstPartyTypeKind;
5389
5389
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5390
5390
  //#endregion
5391
- //#region ../types/dist/sleep-B_3F_YwS.mjs
5391
+ //#region ../types/dist/sleep-BBF1iXUi.mjs
5392
5392
  /**
5393
5393
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5394
5394
  * window to float samples (D455).
@@ -10122,6 +10122,15 @@ discriminatedUnion("type", [
10122
10122
  message: string()
10123
10123
  })
10124
10124
  ]);
10125
+ /** Every status, in the order a summary lists them. */
10126
+ var RETRAIN_REVIEW_STATUSES = [
10127
+ "unchanged",
10128
+ "adjusted",
10129
+ "reclassified",
10130
+ "added",
10131
+ "removed",
10132
+ "model-error"
10133
+ ];
10125
10134
  /**
10126
10135
  * What the gate decided about a birth, from the CALLER's point of view.
10127
10136
  *
@@ -15203,6 +15212,38 @@ var BulkRecordSchema = object({
15203
15212
  data: record(string(), unknown())
15204
15213
  });
15205
15214
  /**
15215
+ * One write inside a {@link settingsStoreCapability.methods.transact} call.
15216
+ * Only the three that a "replace this set, bump that revision" write needs.
15217
+ */
15218
+ var TransactOpSchema = discriminatedUnion("op", [
15219
+ object({
15220
+ op: literal("deleteWhere"),
15221
+ collection: string(),
15222
+ filter: MutationFilterSchema
15223
+ }),
15224
+ object({
15225
+ op: literal("insertMany"),
15226
+ collection: string(),
15227
+ records: array(BulkRecordSchema).readonly()
15228
+ }),
15229
+ object({
15230
+ op: literal("update"),
15231
+ collection: string(),
15232
+ id: string(),
15233
+ data: record(string(), unknown())
15234
+ })
15235
+ ]);
15236
+ /**
15237
+ * The precondition of a transaction: the row `key` of `collection` must hold
15238
+ * `equals` in `column`, read INSIDE the transaction.
15239
+ */
15240
+ var TransactGuardSchema = object({
15241
+ collection: string(),
15242
+ key: string(),
15243
+ column: string(),
15244
+ equals: unknown()
15245
+ });
15246
+ /**
15206
15247
  * Column declaration for a structured (SQL-backed) collection.
15207
15248
  *
15208
15249
  * Logical types — the backend translates each to the matching SQLite
@@ -15293,6 +15334,16 @@ id: union([string(), number()]) }), {
15293
15334
  }), object({ inserted: number().int() }), {
15294
15335
  kind: "mutation",
15295
15336
  auth: "admin"
15337
+ }), method(object({
15338
+ namespace: string().optional(),
15339
+ guard: TransactGuardSchema.optional(),
15340
+ ops: array(TransactOpSchema).readonly()
15341
+ }), object({
15342
+ applied: boolean(),
15343
+ current: unknown().optional()
15344
+ }), {
15345
+ kind: "mutation",
15346
+ auth: "admin"
15296
15347
  }), method(object({
15297
15348
  namespace: string().optional(),
15298
15349
  collection: string(),
@@ -15441,6 +15492,16 @@ id: union([string(), number()]) }), {
15441
15492
  }), object({ inserted: number().int() }), {
15442
15493
  kind: "mutation",
15443
15494
  auth: "admin"
15495
+ }), method(object({
15496
+ namespace: string().optional(),
15497
+ guard: TransactGuardSchema.optional(),
15498
+ ops: array(TransactOpSchema).readonly()
15499
+ }), object({
15500
+ applied: boolean(),
15501
+ current: unknown().optional()
15502
+ }), {
15503
+ kind: "mutation",
15504
+ auth: "admin"
15444
15505
  }), method(object({
15445
15506
  namespace: string().optional(),
15446
15507
  collection: string(),
@@ -23853,6 +23914,55 @@ var RetrainBboxSchema = object({
23853
23914
  h: number()
23854
23915
  });
23855
23916
  /**
23917
+ * What a box LOOKED LIKE when it was offered, snapshotted at the moment the
23918
+ * operator accepted it. The saved row keeps only the final rectangle; this is
23919
+ * the other half of the pair, and the pair is what says whether the operator
23920
+ * accepted, nudged, relabelled or replaced a proposal (`retrain-review.ts`).
23921
+ *
23922
+ * `ref` names the proposal inside its frame: `pipeline:<trackId>` for a box the
23923
+ * live pipeline drew, `assist:<n>` for the n-th box of a detector or LLM run,
23924
+ * and anything unique for an operator-drawn box (`operator:<n>`). Re-derived
23925
+ * pipeline boxes carry the same ref every time, which is what lets a dismissal
23926
+ * stay dismissed.
23927
+ */
23928
+ var RetrainOriginSchema = object({
23929
+ source: RetrainAnnotationSourceSchema,
23930
+ ref: string().min(1),
23931
+ bbox: RetrainBboxSchema,
23932
+ macroClass: RetrainMacroClassSchema,
23933
+ label: string().optional(),
23934
+ score: number().optional(),
23935
+ modelId: string().optional()
23936
+ });
23937
+ /**
23938
+ * A proposal the operator deleted. Durable on the frame, so a deleted pipeline
23939
+ * box does not come back as a draft every time the frame is reopened, and so
23940
+ * the deletion itself is a recorded fact rather than an absence.
23941
+ */
23942
+ var RetrainDismissedSchema = object({
23943
+ ref: string().min(1),
23944
+ snapshot: RetrainOriginSchema
23945
+ });
23946
+ /** What the operator did with a proposal (see `retrain-review.ts`). */
23947
+ var RetrainReviewStatusSchema = _enum(RETRAIN_REVIEW_STATUSES);
23948
+ var RetrainFrameReviewSchema = object({
23949
+ boxes: array(object({
23950
+ ref: string(),
23951
+ savedId: string().optional(),
23952
+ status: RetrainReviewStatusSchema,
23953
+ /** The baseline was re-derived, not snapshotted (a pre-origin row). */
23954
+ approximate: boolean(),
23955
+ origin: RetrainOriginSchema.optional(),
23956
+ iou: number().optional()
23957
+ })).readonly(),
23958
+ summary: object({
23959
+ counts: record(RetrainReviewStatusSchema, number().int()),
23960
+ total: number().int(),
23961
+ changed: number().int(),
23962
+ approximate: boolean()
23963
+ })
23964
+ });
23965
+ /**
23856
23966
  * One annotated subject.
23857
23967
  *
23858
23968
  * `bbox` is normalised against the full frame, ALWAYS. The per-model shapes
@@ -23876,6 +23986,9 @@ var RetrainAnnotationSchema = object({
23876
23986
  /** Which model proposed this box — or, on a `model_error`, drew the phantom. */
23877
23987
  assistModelId: string().optional(),
23878
23988
  assistScore: number().optional(),
23989
+ /** The proposal this box started from, snapshotted at accept time. `null` on
23990
+ * a row saved before origins existed; absent on a draft nobody snapshotted. */
23991
+ origin: RetrainOriginSchema.nullable().optional(),
23879
23992
  exportedInBatch: string().optional(),
23880
23993
  createdAt: number()
23881
23994
  });
@@ -23968,7 +24081,19 @@ var RetrainFrameSchema = object({
23968
24081
  * empty when nothing the track store holds can be placed on it. */
23969
24082
  pipelineBoxes: array(RetrainPipelineBoxSchema).readonly().optional(),
23970
24083
  /** The named collections this frame belongs to. Present on list answers. */
23971
- collectionIds: array(string()).readonly().optional()
24084
+ collectionIds: array(string()).readonly().optional(),
24085
+ /** Bumped by every annotation save. A save that names a stale
24086
+ * `expectedRevision` is refused, so two surfaces cannot overwrite each other. */
24087
+ revision: number().int().optional(),
24088
+ /** Proposals the operator deleted — never re-seeded as drafts. */
24089
+ dismissed: array(RetrainDismissedSchema).readonly().optional(),
24090
+ /** What the operator did with the proposals, computed by the server. */
24091
+ review: RetrainFrameReviewSchema.optional(),
24092
+ /** The frame's pixels over the admin data plane (full size). Fetch with the
24093
+ * admin bearer token; relative to the hub root. */
24094
+ imageUrl: string().optional(),
24095
+ /** The same, as a ~480 px thumbnail for grids. */
24096
+ thumbnailUrl: string().optional()
23972
24097
  });
23973
24098
  /** Why a copy-on-select could not be honoured — named, never a silent skip. */
23974
24099
  var RetrainCopyRefusalSchema = _enum([
@@ -25047,10 +25172,33 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
25047
25172
  /** The frame's track, when it has one — checked against the frame. */
25048
25173
  trackId: string().optional(),
25049
25174
  frameId: string(),
25050
- annotations: array(RetrainAnnotationDraftSchema)
25175
+ annotations: array(RetrainAnnotationDraftSchema),
25176
+ /** The frame's `revision` the caller saw. A different current revision
25177
+ * refuses the save with a `retrain-revision-conflict` error
25178
+ * (`parseRetrainRevisionConflict`). Absent ⇒ last write wins. */
25179
+ expectedRevision: number().int().optional(),
25180
+ /** The proposals the operator deleted. Absent ⇒ keep the frame's
25181
+ * current set; present ⇒ replace it (an empty array un-dismisses). */
25182
+ dismissed: array(RetrainDismissedSchema).optional()
25051
25183
  }), array(RetrainAnnotationSchema).readonly(), {
25052
25184
  kind: "mutation",
25053
25185
  auth: "admin"
25186
+ }), method(object({
25187
+ deviceId: number(),
25188
+ trackId: string().optional(),
25189
+ frameId: string(),
25190
+ expectedRevision: number().int().optional(),
25191
+ origins: array(object({
25192
+ annotationId: string(),
25193
+ origin: RetrainOriginSchema
25194
+ })).min(1).max(500)
25195
+ }), object({
25196
+ updated: number().int(),
25197
+ skipped: number().int(),
25198
+ revision: number().int()
25199
+ }), {
25200
+ kind: "mutation",
25201
+ auth: "admin"
25054
25202
  }), method(object({
25055
25203
  deviceId: number(),
25056
25204
  trackId: string()
@@ -41371,6 +41519,12 @@ Object.freeze({
41371
41519
  addonId: null,
41372
41520
  access: "create"
41373
41521
  },
41522
+ "dataStoreProvider.transact": {
41523
+ capName: "data-store-provider",
41524
+ capScope: "system",
41525
+ addonId: null,
41526
+ access: "create"
41527
+ },
41374
41528
  "dataStoreProvider.update": {
41375
41529
  capName: "data-store-provider",
41376
41530
  capScope: "system",
@@ -44215,6 +44369,12 @@ Object.freeze({
44215
44369
  addonId: null,
44216
44370
  access: "create"
44217
44371
  },
44372
+ "pipelineAnalytics.backfillRetrainOrigins": {
44373
+ capName: "pipeline-analytics",
44374
+ capScope: "device",
44375
+ addonId: null,
44376
+ access: "create"
44377
+ },
44218
44378
  "pipelineAnalytics.cancelRelocateMedia": {
44219
44379
  capName: "pipeline-analytics",
44220
44380
  capScope: "device",
@@ -46207,6 +46367,12 @@ Object.freeze({
46207
46367
  addonId: null,
46208
46368
  access: "create"
46209
46369
  },
46370
+ "settingsStore.transact": {
46371
+ capName: "settings-store",
46372
+ capScope: "system",
46373
+ addonId: null,
46374
+ access: "create"
46375
+ },
46210
46376
  "settingsStore.update": {
46211
46377
  capName: "settings-store",
46212
46378
  capScope: "system",
@@ -50533,6 +50699,11 @@ Object.freeze({
50533
50699
  form: "single",
50534
50700
  optional: false
50535
50701
  }],
50702
+ "pipelineAnalytics.backfillRetrainOrigins": [{
50703
+ name: "deviceId",
50704
+ form: "single",
50705
+ optional: false
50706
+ }],
50536
50707
  "pipelineAnalytics.clearTrackRelation": [{
50537
50708
  name: "deviceId",
50538
50709
  form: "single",
@@ -52904,7 +53075,7 @@ var AdminUIAddon = class extends BaseAddon {
52904
53075
  capability: adminUiCapability,
52905
53076
  provider: {
52906
53077
  getStaticDir: async () => ({ staticDir: resolveAdminUiDistDir() }),
52907
- getVersion: async () => ({ version: "1.2.410" })
53078
+ getVersion: async () => ({ version: "1.2.411" })
52908
53079
  }
52909
53080
  }];
52910
53081
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-admin-ui",
3
- "version": "1.2.410",
3
+ "version": "1.2.411",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Admin UI — Vite frontend build and server-side addon",
@@ -1 +0,0 @@
1
- import{yt as e}from"./player-overlays-VgfvBWv8.js";var t=e(`circle-slash`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`9`,x2:`15`,y1:`15`,y2:`9`,key:`1dfufj`}]]);export{t};