@camstack/addon-model-studio 1.1.213 → 1.1.215

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 (21) hide show
  1. package/dist/{MaskShapeCanvas-C4g96eMz.mjs → MaskShapeCanvas-DBaZffFb.mjs} +113 -113
  2. package/dist/{MotionZonesSettings-C7HEiRnq.mjs → MotionZonesSettings-DXSyjvNy.mjs} +121 -121
  3. package/dist/{PrivacyMaskSettings-BSosgHnv.mjs → PrivacyMaskSettings-BylU0nae.mjs} +25 -25
  4. package/dist/{SceneMonitorEditor-DRtryprB.mjs → SceneMonitorEditor-DzSlJ6_E.mjs} +299 -299
  5. package/dist/_stub.js +5207 -4674
  6. package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-BR9IJC7m.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-BO3dLQ3f.mjs} +3 -3
  7. package/dist/_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-Ct7N7aeG.mjs +26 -0
  8. package/dist/{_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-DJDHChgO.mjs → _virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-CHL8loOl.mjs} +1 -1
  9. package/dist/addon-model-studio.css +1 -1
  10. package/dist/{hostInit-B8Cs1GFO.mjs → hostInit-Dzfl__ZV.mjs} +2 -2
  11. package/dist/model-studio.addon.js +11 -113
  12. package/dist/model-studio.addon.mjs +11 -113
  13. package/dist/{player-overlays-ClwdY6ON.mjs → player-overlays-B4n780bX.mjs} +11 -11
  14. package/dist/remoteEntry.js +1 -1
  15. package/dist/{responsive-DpIGDl9c.mjs → responsive-D44B_0jH.mjs} +22 -22
  16. package/dist/{scene-monitor-copy-CQT83BYQ.mjs → scene-monitor-copy-jhFEkFsr.mjs} +13 -13
  17. package/dist/{square-D90TdUQE.mjs → square-CsSCYWAC.mjs} +1 -1
  18. package/dist/{trash-2-Cg4yxhps.mjs → trash-2-B7yfTgaq.mjs} +1 -1
  19. package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-DvaBnD53.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-BMJU4Yku.mjs} +1 -1
  20. package/package.json +1 -1
  21. package/dist/_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-BMZsjQzQ.mjs +0 -26
@@ -23894,21 +23894,6 @@ var PipelineDefaultStepSchema = lazy(() => object({
23894
23894
  group: string().optional(),
23895
23895
  settings: record(string(), unknown()).optional()
23896
23896
  }));
23897
- var PipelineTemplateStepSchema = lazy(() => object({
23898
- addonId: string(),
23899
- enabled: boolean(),
23900
- modelId: string(),
23901
- children: array(PipelineTemplateStepSchema).readonly(),
23902
- settings: record(string(), unknown()).optional()
23903
- }));
23904
- var PipelineTemplateSchema$1 = object({
23905
- id: string(),
23906
- name: string(),
23907
- createdAt: string(),
23908
- updatedAt: string(),
23909
- engine: PipelineEngineChoiceSchema,
23910
- steps: array(PipelineTemplateStepSchema).readonly()
23911
- });
23912
23897
  var PipelineModelOptionSchema = object({
23913
23898
  id: string(),
23914
23899
  name: string(),
@@ -24120,15 +24105,7 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
24120
24105
  }), method(_void(), PipelineSchemaSchema), method(_void(), array(PipelineDefaultStepSchema).readonly().nullable()), method(_void(), PipelineConfigBridge), method(_void(), ConfigUISchemaBridge), method(object({
24121
24106
  steps: array(PipelineStepInputSchema),
24122
24107
  deviceKey: string().optional()
24123
- }), PipelineValidationResultSchema), method(_void(), array(PipelineTemplateSchema$1).readonly()), method(object({
24124
- name: string(),
24125
- steps: array(PipelineTemplateStepSchema).readonly(),
24126
- engine: PipelineEngineChoiceSchema
24127
- }), PipelineTemplateSchema$1, { kind: "mutation" }), method(object({
24128
- id: string(),
24129
- name: string().optional(),
24130
- steps: array(PipelineTemplateStepSchema).readonly().optional()
24131
- }), PipelineTemplateSchema$1, { kind: "mutation" }), method(object({ id: string() }), _void(), { kind: "mutation" }), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
24108
+ }), PipelineValidationResultSchema), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
24132
24109
  addonId: string(),
24133
24110
  modelId: string(),
24134
24111
  format: ModelFormatSchema$2
@@ -25759,14 +25736,6 @@ var CameraPipelineConfigSchema = object({
25759
25736
  settings: record(string(), unknown()).readonly().optional()
25760
25737
  }).nullable().optional()
25761
25738
  });
25762
- var PipelineTemplateSchema = object({
25763
- id: string(),
25764
- name: string(),
25765
- description: string().optional(),
25766
- config: CameraPipelineConfigSchema,
25767
- createdAt: string(),
25768
- updatedAt: string()
25769
- });
25770
25739
  var DeviceStepConfigSchema = object({
25771
25740
  modelId: string().optional(),
25772
25741
  settings: record(string(), unknown()).optional(),
@@ -25971,20 +25940,15 @@ var CameraBrokerStatusSchema = object({
25971
25940
  webrtcSessions: number(),
25972
25941
  rtspRestream: boolean()
25973
25942
  });
25974
- /** Shared-memory ring statistics within the decoder block. */
25975
- var CameraDecoderShmSchema = object({
25976
- framesWritten: number(),
25977
- getFrameHits: number(),
25978
- getFrameMisses: number(),
25979
- budgetMb: number()
25980
- });
25981
- /** Decoder block — null when the decoder stage is unreachable or inactive. */
25982
- var CameraDecoderStatusSchema = object({
25983
- nodeId: string(),
25984
- formats: array(string()).readonly(),
25985
- sessionCount: number(),
25986
- shm: CameraDecoderShmSchema
25987
- });
25943
+ /**
25944
+ * Decoder block — WHERE decode runs (co-located with the detection node by
25945
+ * construction); null when the camera has no detection node. It carries no
25946
+ * frame counter: the shared-memory plane whose counters it used to serve is
25947
+ * gone, and those fields read 0 forever. Whether frames actually flow is read
25948
+ * from `detection.actualFps` (frames delivered to and processed by the
25949
+ * detector), never from a counter nothing feeds.
25950
+ */
25951
+ var CameraDecoderStatusSchema = object({ nodeId: string() });
25988
25952
  /** Motion block — null when motion detection is not active for this device. */
25989
25953
  var CameraMotionStatusSchema = object({
25990
25954
  enabled: boolean(),
@@ -26437,25 +26401,7 @@ method(object({
26437
26401
  }), method(_void(), DiskReconcileJobSchema, {
26438
26402
  kind: "mutation",
26439
26403
  auth: "admin"
26440
- }), method(_void(), DiskReconcileJobSchema, { auth: "admin" }), method(_void(), array(PipelineTemplateSchema).readonly()), method(object({
26441
- name: string(),
26442
- description: string().optional(),
26443
- config: CameraPipelineConfigSchema
26444
- }), PipelineTemplateSchema, {
26445
- kind: "mutation",
26446
- auth: "admin"
26447
- }), method(object({
26448
- id: string(),
26449
- name: string().optional(),
26450
- description: string().optional(),
26451
- config: CameraPipelineConfigSchema.optional()
26452
- }), PipelineTemplateSchema, {
26453
- kind: "mutation",
26454
- auth: "admin"
26455
- }), method(object({ id: string() }), object({ success: literal(true) }), {
26456
- kind: "mutation",
26457
- auth: "admin"
26458
- });
26404
+ }), method(_void(), DiskReconcileJobSchema, { auth: "admin" });
26459
26405
  /**
26460
26406
  * Cap → event-kind mapping for the SENSOR / CONTROL cap families — the table
26461
26407
  * `pipeline-analytics.listEventKinds` uses to turn a linked device's bound
@@ -42083,12 +42029,6 @@ Object.freeze({
42083
42029
  addonId: null,
42084
42030
  access: "delete"
42085
42031
  },
42086
- "pipelineExecutor.deleteTemplate": {
42087
- capName: "pipeline-executor",
42088
- capScope: "system",
42089
- addonId: null,
42090
- access: "delete"
42091
- },
42092
42032
  "pipelineExecutor.downloadModel": {
42093
42033
  capName: "pipeline-executor",
42094
42034
  capScope: "system",
@@ -42227,12 +42167,6 @@ Object.freeze({
42227
42167
  addonId: null,
42228
42168
  access: "view"
42229
42169
  },
42230
- "pipelineExecutor.listTemplates": {
42231
- capName: "pipeline-executor",
42232
- capScope: "system",
42233
- addonId: null,
42234
- access: "view"
42235
- },
42236
42170
  "pipelineExecutor.rearmInferenceDevice": {
42237
42171
  capName: "pipeline-executor",
42238
42172
  capScope: "system",
@@ -42257,12 +42191,6 @@ Object.freeze({
42257
42191
  addonId: null,
42258
42192
  access: "create"
42259
42193
  },
42260
- "pipelineExecutor.saveTemplate": {
42261
- capName: "pipeline-executor",
42262
- capScope: "system",
42263
- addonId: null,
42264
- access: "create"
42265
- },
42266
42194
  "pipelineExecutor.setVideoPipelineSteps": {
42267
42195
  capName: "pipeline-executor",
42268
42196
  capScope: "system",
@@ -42281,12 +42209,6 @@ Object.freeze({
42281
42209
  addonId: null,
42282
42210
  access: "create"
42283
42211
  },
42284
- "pipelineExecutor.updateTemplate": {
42285
- capName: "pipeline-executor",
42286
- capScope: "system",
42287
- addonId: null,
42288
- access: "create"
42289
- },
42290
42212
  "pipelineExecutor.validatePipeline": {
42291
42213
  capName: "pipeline-executor",
42292
42214
  capScope: "system",
@@ -42317,12 +42239,6 @@ Object.freeze({
42317
42239
  addonId: null,
42318
42240
  access: "create"
42319
42241
  },
42320
- "pipelineOrchestrator.deleteTemplate": {
42321
- capName: "pipeline-orchestrator",
42322
- capScope: "system",
42323
- addonId: null,
42324
- access: "delete"
42325
- },
42326
42242
  "pipelineOrchestrator.getAgentLoad": {
42327
42243
  capName: "pipeline-orchestrator",
42328
42244
  capScope: "system",
@@ -42473,12 +42389,6 @@ Object.freeze({
42473
42389
  addonId: null,
42474
42390
  access: "view"
42475
42391
  },
42476
- "pipelineOrchestrator.listTemplates": {
42477
- capName: "pipeline-orchestrator",
42478
- capScope: "system",
42479
- addonId: null,
42480
- access: "view"
42481
- },
42482
42392
  "pipelineOrchestrator.pauseForStorageMigration": {
42483
42393
  capName: "pipeline-orchestrator",
42484
42394
  capScope: "system",
@@ -42533,12 +42443,6 @@ Object.freeze({
42533
42443
  addonId: null,
42534
42444
  access: "create"
42535
42445
  },
42536
- "pipelineOrchestrator.saveTemplate": {
42537
- capName: "pipeline-orchestrator",
42538
- capScope: "system",
42539
- addonId: null,
42540
- access: "create"
42541
- },
42542
42446
  "pipelineOrchestrator.setAgentCapabilities": {
42543
42447
  capName: "pipeline-orchestrator",
42544
42448
  capScope: "system",
@@ -42647,12 +42551,6 @@ Object.freeze({
42647
42551
  addonId: null,
42648
42552
  access: "create"
42649
42553
  },
42650
- "pipelineOrchestrator.updateTemplate": {
42651
- capName: "pipeline-orchestrator",
42652
- capScope: "system",
42653
- addonId: null,
42654
- access: "create"
42655
- },
42656
42554
  "pipelineRunner.attachCamera": {
42657
42555
  capName: "pipeline-runner",
42658
42556
  capScope: "system",
@@ -23868,21 +23868,6 @@ var PipelineDefaultStepSchema = lazy(() => object({
23868
23868
  group: string().optional(),
23869
23869
  settings: record(string(), unknown()).optional()
23870
23870
  }));
23871
- var PipelineTemplateStepSchema = lazy(() => object({
23872
- addonId: string(),
23873
- enabled: boolean(),
23874
- modelId: string(),
23875
- children: array(PipelineTemplateStepSchema).readonly(),
23876
- settings: record(string(), unknown()).optional()
23877
- }));
23878
- var PipelineTemplateSchema$1 = object({
23879
- id: string(),
23880
- name: string(),
23881
- createdAt: string(),
23882
- updatedAt: string(),
23883
- engine: PipelineEngineChoiceSchema,
23884
- steps: array(PipelineTemplateStepSchema).readonly()
23885
- });
23886
23871
  var PipelineModelOptionSchema = object({
23887
23872
  id: string(),
23888
23873
  name: string(),
@@ -24094,15 +24079,7 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
24094
24079
  }), method(_void(), PipelineSchemaSchema), method(_void(), array(PipelineDefaultStepSchema).readonly().nullable()), method(_void(), PipelineConfigBridge), method(_void(), ConfigUISchemaBridge), method(object({
24095
24080
  steps: array(PipelineStepInputSchema),
24096
24081
  deviceKey: string().optional()
24097
- }), PipelineValidationResultSchema), method(_void(), array(PipelineTemplateSchema$1).readonly()), method(object({
24098
- name: string(),
24099
- steps: array(PipelineTemplateStepSchema).readonly(),
24100
- engine: PipelineEngineChoiceSchema
24101
- }), PipelineTemplateSchema$1, { kind: "mutation" }), method(object({
24102
- id: string(),
24103
- name: string().optional(),
24104
- steps: array(PipelineTemplateStepSchema).readonly().optional()
24105
- }), PipelineTemplateSchema$1, { kind: "mutation" }), method(object({ id: string() }), _void(), { kind: "mutation" }), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
24082
+ }), PipelineValidationResultSchema), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
24106
24083
  addonId: string(),
24107
24084
  modelId: string(),
24108
24085
  format: ModelFormatSchema$2
@@ -25733,14 +25710,6 @@ var CameraPipelineConfigSchema = object({
25733
25710
  settings: record(string(), unknown()).readonly().optional()
25734
25711
  }).nullable().optional()
25735
25712
  });
25736
- var PipelineTemplateSchema = object({
25737
- id: string(),
25738
- name: string(),
25739
- description: string().optional(),
25740
- config: CameraPipelineConfigSchema,
25741
- createdAt: string(),
25742
- updatedAt: string()
25743
- });
25744
25713
  var DeviceStepConfigSchema = object({
25745
25714
  modelId: string().optional(),
25746
25715
  settings: record(string(), unknown()).optional(),
@@ -25945,20 +25914,15 @@ var CameraBrokerStatusSchema = object({
25945
25914
  webrtcSessions: number(),
25946
25915
  rtspRestream: boolean()
25947
25916
  });
25948
- /** Shared-memory ring statistics within the decoder block. */
25949
- var CameraDecoderShmSchema = object({
25950
- framesWritten: number(),
25951
- getFrameHits: number(),
25952
- getFrameMisses: number(),
25953
- budgetMb: number()
25954
- });
25955
- /** Decoder block — null when the decoder stage is unreachable or inactive. */
25956
- var CameraDecoderStatusSchema = object({
25957
- nodeId: string(),
25958
- formats: array(string()).readonly(),
25959
- sessionCount: number(),
25960
- shm: CameraDecoderShmSchema
25961
- });
25917
+ /**
25918
+ * Decoder block — WHERE decode runs (co-located with the detection node by
25919
+ * construction); null when the camera has no detection node. It carries no
25920
+ * frame counter: the shared-memory plane whose counters it used to serve is
25921
+ * gone, and those fields read 0 forever. Whether frames actually flow is read
25922
+ * from `detection.actualFps` (frames delivered to and processed by the
25923
+ * detector), never from a counter nothing feeds.
25924
+ */
25925
+ var CameraDecoderStatusSchema = object({ nodeId: string() });
25962
25926
  /** Motion block — null when motion detection is not active for this device. */
25963
25927
  var CameraMotionStatusSchema = object({
25964
25928
  enabled: boolean(),
@@ -26411,25 +26375,7 @@ method(object({
26411
26375
  }), method(_void(), DiskReconcileJobSchema, {
26412
26376
  kind: "mutation",
26413
26377
  auth: "admin"
26414
- }), method(_void(), DiskReconcileJobSchema, { auth: "admin" }), method(_void(), array(PipelineTemplateSchema).readonly()), method(object({
26415
- name: string(),
26416
- description: string().optional(),
26417
- config: CameraPipelineConfigSchema
26418
- }), PipelineTemplateSchema, {
26419
- kind: "mutation",
26420
- auth: "admin"
26421
- }), method(object({
26422
- id: string(),
26423
- name: string().optional(),
26424
- description: string().optional(),
26425
- config: CameraPipelineConfigSchema.optional()
26426
- }), PipelineTemplateSchema, {
26427
- kind: "mutation",
26428
- auth: "admin"
26429
- }), method(object({ id: string() }), object({ success: literal(true) }), {
26430
- kind: "mutation",
26431
- auth: "admin"
26432
- });
26378
+ }), method(_void(), DiskReconcileJobSchema, { auth: "admin" });
26433
26379
  /**
26434
26380
  * Cap → event-kind mapping for the SENSOR / CONTROL cap families — the table
26435
26381
  * `pipeline-analytics.listEventKinds` uses to turn a linked device's bound
@@ -42057,12 +42003,6 @@ Object.freeze({
42057
42003
  addonId: null,
42058
42004
  access: "delete"
42059
42005
  },
42060
- "pipelineExecutor.deleteTemplate": {
42061
- capName: "pipeline-executor",
42062
- capScope: "system",
42063
- addonId: null,
42064
- access: "delete"
42065
- },
42066
42006
  "pipelineExecutor.downloadModel": {
42067
42007
  capName: "pipeline-executor",
42068
42008
  capScope: "system",
@@ -42201,12 +42141,6 @@ Object.freeze({
42201
42141
  addonId: null,
42202
42142
  access: "view"
42203
42143
  },
42204
- "pipelineExecutor.listTemplates": {
42205
- capName: "pipeline-executor",
42206
- capScope: "system",
42207
- addonId: null,
42208
- access: "view"
42209
- },
42210
42144
  "pipelineExecutor.rearmInferenceDevice": {
42211
42145
  capName: "pipeline-executor",
42212
42146
  capScope: "system",
@@ -42231,12 +42165,6 @@ Object.freeze({
42231
42165
  addonId: null,
42232
42166
  access: "create"
42233
42167
  },
42234
- "pipelineExecutor.saveTemplate": {
42235
- capName: "pipeline-executor",
42236
- capScope: "system",
42237
- addonId: null,
42238
- access: "create"
42239
- },
42240
42168
  "pipelineExecutor.setVideoPipelineSteps": {
42241
42169
  capName: "pipeline-executor",
42242
42170
  capScope: "system",
@@ -42255,12 +42183,6 @@ Object.freeze({
42255
42183
  addonId: null,
42256
42184
  access: "create"
42257
42185
  },
42258
- "pipelineExecutor.updateTemplate": {
42259
- capName: "pipeline-executor",
42260
- capScope: "system",
42261
- addonId: null,
42262
- access: "create"
42263
- },
42264
42186
  "pipelineExecutor.validatePipeline": {
42265
42187
  capName: "pipeline-executor",
42266
42188
  capScope: "system",
@@ -42291,12 +42213,6 @@ Object.freeze({
42291
42213
  addonId: null,
42292
42214
  access: "create"
42293
42215
  },
42294
- "pipelineOrchestrator.deleteTemplate": {
42295
- capName: "pipeline-orchestrator",
42296
- capScope: "system",
42297
- addonId: null,
42298
- access: "delete"
42299
- },
42300
42216
  "pipelineOrchestrator.getAgentLoad": {
42301
42217
  capName: "pipeline-orchestrator",
42302
42218
  capScope: "system",
@@ -42447,12 +42363,6 @@ Object.freeze({
42447
42363
  addonId: null,
42448
42364
  access: "view"
42449
42365
  },
42450
- "pipelineOrchestrator.listTemplates": {
42451
- capName: "pipeline-orchestrator",
42452
- capScope: "system",
42453
- addonId: null,
42454
- access: "view"
42455
- },
42456
42366
  "pipelineOrchestrator.pauseForStorageMigration": {
42457
42367
  capName: "pipeline-orchestrator",
42458
42368
  capScope: "system",
@@ -42507,12 +42417,6 @@ Object.freeze({
42507
42417
  addonId: null,
42508
42418
  access: "create"
42509
42419
  },
42510
- "pipelineOrchestrator.saveTemplate": {
42511
- capName: "pipeline-orchestrator",
42512
- capScope: "system",
42513
- addonId: null,
42514
- access: "create"
42515
- },
42516
42420
  "pipelineOrchestrator.setAgentCapabilities": {
42517
42421
  capName: "pipeline-orchestrator",
42518
42422
  capScope: "system",
@@ -42621,12 +42525,6 @@ Object.freeze({
42621
42525
  addonId: null,
42622
42526
  access: "create"
42623
42527
  },
42624
- "pipelineOrchestrator.updateTemplate": {
42625
- capName: "pipeline-orchestrator",
42626
- capScope: "system",
42627
- addonId: null,
42628
- access: "create"
42629
- },
42630
42528
  "pipelineRunner.attachCamera": {
42631
42529
  capName: "pipeline-runner",
42632
42530
  capScope: "system",
@@ -1,5 +1,5 @@
1
- import { h as e, l as t, u as n, y as r } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-DJDHChgO.mjs";
2
- import { b as i, y as a } from "./responsive-DpIGDl9c.mjs";
1
+ import { b as e, g as t, l as n, u as r } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-CHL8loOl.mjs";
2
+ import { b as i, y as a } from "./responsive-D44B_0jH.mjs";
3
3
  import { n as o, r as s, t as c } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-ds_Ehzaa.mjs";
4
4
  var l = i("chevron-down", [["path", {
5
5
  d: "m6 9 6 6 6-6",
@@ -10,11 +10,11 @@ var l = i("chevron-down", [["path", {
10
10
  }]]);
11
11
  //#endregion
12
12
  //#region ../ui-library/src/composites/widget-panel.tsx
13
- r();
14
- function d({ title: t, icon: n, headerRight: r, collapsible: i = !1, defaultOpen: a = !0, bodyClassName: d = "p-3", children: f }) {
15
- let [p, m] = e(a), h = !i || p, g = /* @__PURE__ */ s(c, { children: [/* @__PURE__ */ s("span", {
13
+ e();
14
+ function d({ title: e, icon: n, headerRight: r, collapsible: i = !1, defaultOpen: a = !0, bodyClassName: d = "p-3", children: f }) {
15
+ let [p, m] = t(a), h = !i || p, g = /* @__PURE__ */ s(c, { children: [/* @__PURE__ */ s("span", {
16
16
  className: "flex items-center gap-2 text-xs font-semibold uppercase tracking-wider text-foreground",
17
- children: [n, t]
17
+ children: [n, e]
18
18
  }), i ? o(p ? l : u, { className: "h-3.5 w-3.5 text-foreground-subtle" }) : r] }), _ = `px-4 py-2 flex items-center justify-between ${h ? "border-b border-border" : ""}`;
19
19
  return /* @__PURE__ */ s("div", {
20
20
  className: "rounded-lg border border-border bg-surface overflow-hidden",
@@ -32,13 +32,13 @@ function d({ title: t, icon: n, headerRight: r, collapsible: i = !1, defaultOpen
32
32
  }) : null]
33
33
  });
34
34
  }
35
- r(), a("camstack:player-overlays-state", null);
35
+ e(), a("camstack:player-overlays-state", null);
36
36
  var f = a("camstack:player-overlays-actions", null);
37
37
  function p(e) {
38
- let r = t(f);
39
- n(() => {
40
- if (!(!r || !e)) return r.setLayer(e), () => r.removeLayer(e.id);
41
- }, [r, e]);
38
+ let t = n(f);
39
+ r(() => {
40
+ if (!(!t || !e)) return t.setLayer(e), () => t.removeLayer(e.id);
41
+ }, [t, e]);
42
42
  }
43
43
  //#endregion
44
44
  export { l as i, d as n, u as r, p as t };
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-DvaBnD53.mjs";
1
+ import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-BMJU4Yku.mjs";
2
2
  export { t as get, e as init };
@@ -1,8 +1,8 @@
1
- import { c as e, g as t, h as n, l as r, n as i, p as a, r as o, t as s, u as c, y as l } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-DJDHChgO.mjs";
1
+ import { _ as e, b as t, c as n, g as r, l as i, m as a, n as o, r as s, t as c, u as l } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-CHL8loOl.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 { d as u } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-BMZsjQzQ.mjs";
3
+ import { f as u } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-Ct7N7aeG.mjs";
4
4
  //#region ../../node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.js
5
- l();
5
+ t();
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) => {
7
7
  let t = p(e);
8
8
  return t.charAt(0).toUpperCase() + t.slice(1);
@@ -19,23 +19,23 @@ var d = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) =
19
19
  }, g = (e) => {
20
20
  for (let t in e) if (t.startsWith("aria-") || t === "role" || t === "title") return !0;
21
21
  return !1;
22
- }, _ = o(({ color: e = "currentColor", size: t = 24, strokeWidth: n = 2, absoluteStrokeWidth: r, className: a = "", children: o, iconNode: s, ...c }, l) => i("svg", {
22
+ }, _ = s(({ color: e = "currentColor", size: t = 24, strokeWidth: n = 2, absoluteStrokeWidth: r, className: i = "", children: a, iconNode: s, ...c }, l) => o("svg", {
23
23
  ref: l,
24
24
  ...h,
25
25
  width: t,
26
26
  height: t,
27
27
  stroke: e,
28
28
  strokeWidth: r ? Number(n) * 24 / Number(t) : n,
29
- className: d("lucide", a),
30
- ...!o && !g(c) && { "aria-hidden": "true" },
29
+ className: d("lucide", i),
30
+ ...!a && !g(c) && { "aria-hidden": "true" },
31
31
  ...c
32
- }, [...s.map(([e, t]) => i(e, t)), ...Array.isArray(o) ? o : [o]]));
32
+ }, [...s.map(([e, t]) => o(e, t)), ...Array.isArray(a) ? a : [a]]));
33
33
  //#endregion
34
34
  //#region ../../node_modules/lucide-react/dist/esm/createLucideIcon.js
35
- l();
35
+ t();
36
36
  var v = (e, t) => {
37
- let n = o(({ className: n, ...r }, a) => i(_, {
38
- ref: a,
37
+ let n = s(({ className: n, ...r }, i) => o(_, {
38
+ ref: i,
39
39
  iconNode: t,
40
40
  className: d(`lucide-${f(m(e))}`, `lucide-${e}`, n),
41
41
  ...r
@@ -44,32 +44,32 @@ var v = (e, t) => {
44
44
  };
45
45
  //#endregion
46
46
  //#region ../ui-library/src/lib/shared-context.ts
47
- l();
47
+ t();
48
48
  function y(e, t) {
49
- if (typeof globalThis > "u") return s(t);
49
+ if (typeof globalThis > "u") return c(t);
50
50
  let n = globalThis.__camstackSharedContexts, r = n ?? /* @__PURE__ */ new Map();
51
51
  n || (globalThis.__camstackSharedContexts = r);
52
52
  let i = r.get(e);
53
53
  if (i) return i;
54
- let a = s(t);
54
+ let a = c(t);
55
55
  return r.set(e, a), a;
56
56
  }
57
57
  //#endregion
58
58
  //#region ../ui-library/src/contexts/system-context.tsx
59
- l();
59
+ t();
60
60
  var b = y("camstack:system", null);
61
61
  function x() {
62
- let e = r(b);
62
+ let e = i(b);
63
63
  if (!e) throw Error("useSystem(): no <SystemProvider> in tree");
64
64
  return e;
65
65
  }
66
66
  //#endregion
67
67
  //#region ../ui-library/src/hooks/use-device-proxy.ts
68
- l();
68
+ t();
69
69
  var S = "capability.binding-changed";
70
70
  function C(e, t) {
71
- let [r, i] = n(null);
72
- return c(() => {
71
+ let [n, i] = r(null);
72
+ return l(() => {
73
73
  if (t === null) {
74
74
  i(null);
75
75
  return;
@@ -94,11 +94,11 @@ function C(e, t) {
94
94
  return () => {
95
95
  n = !0, a?.unsubscribe();
96
96
  };
97
- }, [e, t]), a(() => r ? u(e, r) : null, [e, r]);
97
+ }, [e, t]), a(() => n ? u(e, n) : null, [e, n]);
98
98
  }
99
- function w(n) {
100
- let r = e((e) => n ? n.subscribe(() => e()) : () => void 0, [n]), i = e(() => n?.value, [n]);
101
- return t(r, i, i);
99
+ function w(t) {
100
+ let r = n((e) => t ? t.subscribe(() => e()) : () => void 0, [t]), i = n(() => t?.value, [t]);
101
+ return e(r, i, i);
102
102
  }
103
103
  //#endregion
104
104
  //#region ../ui-library/src/lib/cap-error.ts
@@ -1,5 +1,5 @@
1
- import { c as e, h as t, p as n, y as r } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-DJDHChgO.mjs";
2
- import { b as i } from "./responsive-DpIGDl9c.mjs";
1
+ import { b as e, c as t, g as n, m as r } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-CHL8loOl.mjs";
2
+ import { b as i } from "./responsive-D44B_0jH.mjs";
3
3
  var a = i("camera", [["path", {
4
4
  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",
5
5
  key: "18u6gg"
@@ -51,7 +51,7 @@ var a = i("camera", [["path", {
51
51
  }]]);
52
52
  //#endregion
53
53
  //#region ../ui-library/src/lib/hub-mount.ts
54
- r();
54
+ e();
55
55
  var c = "camstack-mount", l = /^\/(?:[A-Za-z0-9_\-.]+\/)*$/, u = null;
56
56
  function d(e) {
57
57
  if (e == null || e === "") return null;
@@ -88,23 +88,23 @@ function g(e) {
88
88
  //#endregion
89
89
  //#region ../ui-library/src/hooks/use-device-snapshot.ts
90
90
  var _ = "/addon/snapshot/media";
91
- function v(r, i = {}) {
92
- let { width: a, baseUrl: o } = i, [s, c] = t(0);
91
+ function v(e, i = {}) {
92
+ let { width: a, baseUrl: o } = i, [s, c] = n(0);
93
93
  return {
94
- src: n(() => {
95
- if (r === null || r <= 0) return null;
96
- let e = o === void 0 ? m() : o.replace(/\/+$/, ""), t = new URLSearchParams();
97
- a !== void 0 && Number.isInteger(a) && a > 0 && t.set("w", String(a)), s > 0 && (t.set("force", "1"), t.set("r", String(s)));
98
- let n = t.toString();
99
- return `${e}${_}/${String(r)}.jpg${n.length > 0 ? `?${n}` : ""}`;
94
+ src: r(() => {
95
+ if (e === null || e <= 0) return null;
96
+ let t = o === void 0 ? m() : o.replace(/\/+$/, ""), n = new URLSearchParams();
97
+ a !== void 0 && Number.isInteger(a) && a > 0 && n.set("w", String(a)), s > 0 && (n.set("force", "1"), n.set("r", String(s)));
98
+ let r = n.toString();
99
+ return `${t}${_}/${String(e)}.jpg${r.length > 0 ? `?${r}` : ""}`;
100
100
  }, [
101
- r,
101
+ e,
102
102
  a,
103
103
  o,
104
104
  s
105
105
  ]),
106
106
  loading: !1,
107
- refresh: e(() => {
107
+ refresh: t(() => {
108
108
  c((e) => e + 1);
109
109
  }, [])
110
110
  };
@@ -1,4 +1,4 @@
1
- import { b as e } from "./responsive-DpIGDl9c.mjs";
1
+ import { b as e } from "./responsive-D44B_0jH.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 { b as e } from "./responsive-DpIGDl9c.mjs";
1
+ import { b as e } from "./responsive-D44B_0jH.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-BR9IJC7m.mjs")).catch((e) => {
2756
+ return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-BO3dLQ3f.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.213",
3
+ "version": "1.1.215",
4
4
  "description": "Custom detection model registry, conversion & distribution for CamStack",
5
5
  "keywords": [
6
6
  "camstack",