@m4l/gclick 0.23.0 → 0.24.0

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 (40) hide show
  1. package/components/CameraStream/CameraStream.d.ts.map +1 -1
  2. package/components/CameraStream/CameraStream.js +30 -28
  3. package/components/CameraStream/CameraStream.styles.d.ts.map +1 -1
  4. package/components/CameraStream/CameraStream.styles.js +26 -2
  5. package/components/CameraStream/defaults/DefaultPhaseChannelBusy.d.ts +4 -4
  6. package/components/CameraStream/defaults/DefaultPhaseStreaming.d.ts +1 -1
  7. package/components/CameraStream/defaults/DefaultPhaseStreaming.d.ts.map +1 -1
  8. package/components/CameraStream/defaults/DefaultPhaseStreaming.js +40 -27
  9. package/components/CameraStream/defaults/DefaultSharedBadge.d.ts +10 -0
  10. package/components/CameraStream/defaults/DefaultSharedBadge.d.ts.map +1 -0
  11. package/components/CameraStream/defaults/DefaultSharedBadge.js +28 -0
  12. package/components/CameraStream/helpers/renderPhase.d.ts +3 -0
  13. package/components/CameraStream/helpers/renderPhase.d.ts.map +1 -1
  14. package/components/CameraStream/helpers/renderPhase.js +25 -19
  15. package/components/CameraStream/index.d.ts +2 -1
  16. package/components/CameraStream/index.d.ts.map +1 -1
  17. package/components/CameraStream/slots/CameraStreamEnum.d.ts +1 -0
  18. package/components/CameraStream/slots/CameraStreamEnum.d.ts.map +1 -1
  19. package/components/CameraStream/slots/CameraStreamEnum.js +2 -2
  20. package/components/CameraStream/slots/CameraStreamSlots.d.ts +3 -0
  21. package/components/CameraStream/slots/CameraStreamSlots.d.ts.map +1 -1
  22. package/components/CameraStream/slots/CameraStreamSlots.js +43 -39
  23. package/components/CameraStream/types.d.ts +23 -0
  24. package/components/CameraStream/types.d.ts.map +1 -1
  25. package/components/CameraStreams/dictionary.d.ts.map +1 -1
  26. package/components/CameraStreams/dictionary.js +27 -23
  27. package/components/CameraStreams/hooks/useStreamPolling.d.ts +9 -3
  28. package/components/CameraStreams/hooks/useStreamPolling.d.ts.map +1 -1
  29. package/components/CameraStreams/hooks/useStreamPolling.js +132 -70
  30. package/components/CameraStreams/hooks/useStreamRequest.d.ts.map +1 -1
  31. package/components/CameraStreams/hooks/useStreamRequest.js +51 -43
  32. package/components/CameraStreams/model.d.ts +28 -0
  33. package/components/CameraStreams/model.d.ts.map +1 -1
  34. package/components/CameraStreams/model.js +6 -0
  35. package/components/CameraStreams/store.d.ts.map +1 -1
  36. package/components/CameraStreams/store.js +21 -21
  37. package/components/CameraStreams/types.d.ts +25 -8
  38. package/components/CameraStreams/types.d.ts.map +1 -1
  39. package/index.js +79 -77
  40. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../../../../packages/gclick/src/components/CameraStreams/model.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;GAGG;AACH,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;;;GAKG;AACH,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,yBAAyB,CAAC;IACnC,MAAM,EAAE,sBAAsB,CAAC;CAChC;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EACJ,SAAS,GACT,WAAW,GACX,UAAU,GACV,OAAO,GACP,mBAAmB,GACnB,cAAc,GACd,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,SAAS,GAAG,YAAY,GAAG,UAAU,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;IACpE,+DAA+D;IAC/D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,mDAAmD;IACnD,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE;QACL,MAAM,EAAE,MAAM,CAAC;QACf,OAAO,EAAE,MAAM,CAAC;QAChB,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,iBAAiB;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC,MAAM,EAAE,MAAM,CAAC;CAChB"}
1
+ {"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../../../../packages/gclick/src/components/CameraStreams/model.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;GAGG;AACH,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;;;GAKG;AACH,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,yBAAyB,CAAC;IACnC,MAAM,EAAE,sBAAsB,CAAC;CAChC;AAED;;;;;;GAMG;AACH,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,IAAI,CAAC;IACf,MAAM,EAAE,kBAAkB,CAAC;CAC5B;AAED,4EAA4E;AAC5E,MAAM,WAAW,kBAAmB,SAAQ,sBAAsB;IAChE,MAAM,EAAE,SAAS,GAAG,SAAS,GAAG,OAA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AAE,MAAM,CAAC;CAChB"}
@@ -0,0 +1,6 @@
1
+ function a(t) {
2
+ return "attached" in t && t.attached;
3
+ }
4
+ export {
5
+ a as isAttachedStreamResponse
6
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../../../../packages/gclick/src/components/CameraStreams/store.ts"],"names":[],"mappings":"AAOA,OAAO,EAKL,KAAK,kBAAkB,EACvB,KAAK,2BAA2B,EAIjC,MAAM,SAAS,CAAC;AAsCjB;;;;;;;;;;GAUG;AACH,eAAO,MAAM,wBAAwB,GAAI,WAAW,2BAA2B;;;;;;;;CAuR9E,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
1
+ {"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../../../../packages/gclick/src/components/CameraStreams/store.ts"],"names":[],"mappings":"AAOA,OAAO,EAKL,KAAK,kBAAkB,EACvB,KAAK,2BAA2B,EAIjC,MAAM,SAAS,CAAC;AAsCjB;;;;;;;;;;GAUG;AACH,eAAO,MAAM,wBAAwB,GAAI,WAAW,2BAA2B;;;;;;;;CA0R9E,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
@@ -23,7 +23,7 @@ const O = (t) => {
23
23
  const b = t.labels, k = t.defaultDurationSeconds ?? D, E = t.defaultMode ?? "live";
24
24
  return I(
25
25
  L(
26
- A((s, d) => ({
26
+ A((s, i) => ({
27
27
  config: t.config,
28
28
  labels: b,
29
29
  defaultDurationSeconds: k,
@@ -48,14 +48,14 @@ const O = (t) => {
48
48
  r.loadStatus = "loading";
49
49
  });
50
50
  try {
51
- const { config: r } = d(), o = d().defaultDurationSeconds, n = d().defaultMode, a = await Promise.all(
52
- e.map((i) => r.resolveCameras(i).then((l) => ({ unitId: i, cameras: l })))
51
+ const { config: r } = i(), o = i().defaultDurationSeconds, n = i().defaultMode, a = await Promise.all(
52
+ e.map((d) => r.resolveCameras(d).then((l) => ({ unitId: d, cameras: l })))
53
53
  );
54
- s((i) => {
54
+ s((d) => {
55
55
  a.forEach(({ unitId: l, cameras: c }) => {
56
56
  c.forEach((u) => {
57
57
  const p = u.id, f = u.id, y = m(l, p, f);
58
- i.players[y] || (i.players[y] = S({
58
+ d.players[y] || (d.players[y] = S({
59
59
  unitId: l,
60
60
  cameraId: p,
61
61
  channelId: f,
@@ -64,7 +64,7 @@ const O = (t) => {
64
64
  durationSeconds: o
65
65
  }));
66
66
  });
67
- }), i.loadStatus = "ready";
67
+ }), d.loadStatus = "ready";
68
68
  });
69
69
  } catch {
70
70
  s((r) => {
@@ -88,12 +88,12 @@ const O = (t) => {
88
88
  * `loadStatus` settles to `ready`, mirroring `load`.
89
89
  */
90
90
  reconcile: (e, r) => {
91
- const o = d().defaultMode, n = d().defaultDurationSeconds;
91
+ const o = i().defaultMode, n = i().defaultDurationSeconds;
92
92
  s((a) => {
93
- const i = /* @__PURE__ */ new Set();
93
+ const d = /* @__PURE__ */ new Set();
94
94
  r.forEach((l) => {
95
95
  const c = l.id, u = l.id, p = m(e, c, u);
96
- i.add(p);
96
+ d.add(p);
97
97
  const f = a.players[p];
98
98
  if (f) {
99
99
  f.cameraLabel !== l.label && (f.cameraLabel = l.label);
@@ -109,7 +109,7 @@ const O = (t) => {
109
109
  });
110
110
  }), Object.keys(a.players).forEach((l) => {
111
111
  const c = a.players[l];
112
- c && c.unitId === e && !i.has(l) && delete a.players[l];
112
+ c && c.unitId === e && !d.has(l) && delete a.players[l];
113
113
  }), a.loadStatus = "ready";
114
114
  });
115
115
  },
@@ -121,7 +121,7 @@ const O = (t) => {
121
121
  * subsequent `replay` calls on the same player.
122
122
  */
123
123
  play: (e, r) => {
124
- const o = d().players[e];
124
+ const o = i().players[e];
125
125
  o && (h.has(o.phase.kind) || s((n) => {
126
126
  const a = n.players[e];
127
127
  a && (r !== void 0 && (a.durationSeconds = r), a.phase = { kind: "requesting" });
@@ -133,7 +133,7 @@ const O = (t) => {
133
133
  * players stream is safe.
134
134
  */
135
135
  playAll: (e) => {
136
- const r = Object.keys(d().players);
136
+ const r = Object.keys(i().players);
137
137
  s((o) => {
138
138
  r.forEach((n) => {
139
139
  const a = o.players[n];
@@ -150,12 +150,12 @@ const O = (t) => {
150
150
  * the player is missing.)
151
151
  */
152
152
  playSegment: (e, r) => {
153
- d().players[e] && s((n) => {
153
+ i().players[e] && s((n) => {
154
154
  const a = n.players[e];
155
155
  if (!a)
156
156
  return;
157
- const { durationSeconds: i, ...l } = r;
158
- a.playbackParams = l, i !== void 0 && (a.durationSeconds = i), a.phase = { kind: "requesting" };
157
+ const { durationSeconds: d, ...l } = r;
158
+ a.playbackParams = l, d !== void 0 && (a.durationSeconds = d), a.phase = { kind: "requesting" };
159
159
  });
160
160
  },
161
161
  /**
@@ -165,7 +165,7 @@ const O = (t) => {
165
165
  * the React Query cache.
166
166
  */
167
167
  replay: (e) => {
168
- d().players[e] && s((o) => {
168
+ i().players[e] && s((o) => {
169
169
  const n = o.players[e];
170
170
  n && (n.phase = { kind: "requesting" });
171
171
  });
@@ -178,13 +178,13 @@ const O = (t) => {
178
178
  * already hit `stop` or `replay`) must not clobber the new phase.
179
179
  */
180
180
  markEnded: (e) => {
181
- const r = d().players[e];
181
+ const r = i().players[e];
182
182
  !r || r.phase.kind !== "streaming" || s((o) => {
183
183
  const n = o.players[e];
184
184
  if (!n || n.phase.kind !== "streaming")
185
185
  return;
186
- const { commandUuid: a, streamUuid: i, hlsUrl: l } = n.phase;
187
- n.phase = { kind: "ended", commandUuid: a, streamUuid: i, hlsUrl: l };
186
+ const { commandUuid: a, streamUuid: d, hlsUrl: l, attached: c, endsAt: u } = n.phase;
187
+ n.phase = { kind: "ended", commandUuid: a, streamUuid: d, hlsUrl: l, attached: c, endsAt: u };
188
188
  });
189
189
  },
190
190
  /**
@@ -193,7 +193,7 @@ const O = (t) => {
193
193
  * state per the user's decision).
194
194
  */
195
195
  stop: (e) => {
196
- d().players[e] && s((o) => {
196
+ i().players[e] && s((o) => {
197
197
  const n = o.players[e];
198
198
  n && (n.phase = { kind: "idle" });
199
199
  });
@@ -224,7 +224,7 @@ const O = (t) => {
224
224
  * needs a single seam to update phases.
225
225
  */
226
226
  setPhase: (e, r) => {
227
- d().players[e] && s((n) => {
227
+ i().players[e] && s((n) => {
228
228
  const a = n.players[e];
229
229
  a && (a.phase = r);
230
230
  });
@@ -77,17 +77,19 @@ export interface WaitingStageStep {
77
77
  *
78
78
  * - `idle` — pristine OR reset after `stop`/`stopAll`. UI shows the play button.
79
79
  * - `requesting` — POST `video/play` is in flight, no token yet.
80
- * - `polling` — Backend accepted the request and returned UUIDs; polling `devices/command`.
80
+ * - `polling` — Backend accepted the request; polling for the HLS URL. Carries a
81
+ * `commandUuid` when we own the stream (poll `devices/command`) and
82
+ * none when we attached to somebody else's (poll `video/streams/:uuid`).
81
83
  * Carries a `stage` naming where the wait most likely is.
82
- * - `streaming` — Backend reported `executed` and emitted an `hlsUrl`; the player renders.
84
+ * - `streaming` — An `hlsUrl` is available; the player renders. `attached` marks a
85
+ * shared session and `endsAt` when the owner's duration runs out.
83
86
  * - `ended` — Playback reached the end of the manifest. Keeps the `streaming`
84
87
  * payload so the player stays mounted on the last frame while the
85
88
  * UI offers a replay affordance; re-armable by `play`/`playAll`.
86
89
  * - `error` — Terminal failure (POST, polling, or `statusId: error|error_retries_max`).
87
90
  * - `timeout` — Polling exhausted `pollBudgetSeconds` without a terminal status.
88
- * - `channelBusy` — Backend rejected the play because another stream owns the channel
89
- * (HTTP 400 from `video/play` or `statusId: channel_busy` from polling).
90
- * No `activeStreamUuid` — Fase B was descartada; UI shows a fixed message.
91
+ * - `channelBusy` — The channel is taken and we could not join it: either the client
92
+ * did not opt into attaching, or the occupant is not playable.
91
93
  */
92
94
  export type StreamPhase = {
93
95
  kind: 'idle';
@@ -95,7 +97,8 @@ export type StreamPhase = {
95
97
  kind: 'requesting';
96
98
  } | {
97
99
  kind: 'polling';
98
- commandUuid: string;
100
+ /** Absent when the tile joined a session somebody else started: there is no command of ours to follow. */
101
+ commandUuid?: string;
99
102
  streamUuid: string;
100
103
  /** Where the wait most likely is right now — drives the waiting copy. */
101
104
  stage: StreamWaitingStage;
@@ -103,14 +106,18 @@ export type StreamPhase = {
103
106
  startedAt: number;
104
107
  } | {
105
108
  kind: 'streaming';
106
- commandUuid: string;
109
+ commandUuid?: string;
107
110
  streamUuid: string;
108
111
  hlsUrl: string;
112
+ attached?: boolean;
113
+ endsAt?: string;
109
114
  } | {
110
115
  kind: 'ended';
111
- commandUuid: string;
116
+ commandUuid?: string;
112
117
  streamUuid: string;
113
118
  hlsUrl: string;
119
+ attached?: boolean;
120
+ endsAt?: string;
114
121
  } | {
115
122
  kind: 'error';
116
123
  code: string;
@@ -158,6 +165,12 @@ export interface CameraStreamsConfig {
158
165
  endpointVideoPlayback: string;
159
166
  endpointDevicesCommand: string;
160
167
  endpointVideoAuthCookie: string;
168
+ /**
169
+ * Stream collection (`video/streams`). Polled as `…/:uuid` for a stream we
170
+ * attached to: that one belongs to somebody else, so there is no command of
171
+ * ours to follow.
172
+ */
173
+ endpointVideoStreams: string;
161
174
  cloudFrontDomain: string;
162
175
  /**
163
176
  * How long to keep polling `devices/command` before giving up, in seconds.
@@ -197,6 +210,10 @@ export interface CameraStreamsLabels {
197
210
  replayChannel: string;
198
211
  channelLabel: string;
199
212
  channelBusy: string;
213
+ /** Badge on a tile showing a session started by somebody else. */
214
+ sharedSession: string;
215
+ /** Countdown next to it; `{{time}}` is replaced with `mm:ss`. */
216
+ sharedSessionRemaining: string;
200
217
  /**
201
218
  * Waiting copy per `StreamWaitingStage`. The chain can hold a request for
202
219
  * minutes, so each stage gets its own line instead of one anonymous
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../packages/gclick/src/components/CameraStreams/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,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AC5E,QAAQ,CAAC,GAAG,EAAE,SAAS,GAAG,MAAM,GAAG,IAAI,CAAC;IACxC,iFAAiF;IACjF,gBAAgB,CAAC,GAAG,EAAE,SAAS,GAAG,yBAAyB,GAAG,IAAI,CAAC;CACpE;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,GAAG,SAAS,CAEnG"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../packages/gclick/src/components/CameraStreams/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAElE;;;;GAIG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC;AAE/B;;;;;GAKG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC;AAE/B,gFAAgF;AAChF,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,UAAU,CAAC;AAEnD;;;;;;GAMG;AACH,MAAM,WAAW,qBAAqB;IACpC,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,sBAAsB,EAAE,MAAM,CAAC;CAChC;AAED;;;GAGG;AACH,MAAM,MAAM,UAAU,GAAG,WAAW,CAAC;AAErC;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,MAAM,kBAAkB,GAC1B,QAAQ,GACR,aAAa,GACb,aAAa,GACb,UAAU,GACV,cAAc,CAAC;AAEnB;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,kBAAkB,CAAC;CAC3B;AAED;;;;;;;;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AI,CAAC,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC;IAChC,4EAA4E;IAC5E,MAAM,CAAC,IAAI,CAAC,EAAE,SAAS,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC1C,oFAAoF;IACpF,QAAQ,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC;IACnD,qEAAqE;IACrE,WAAW,CAAC,IAAI,CAAC,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC;IACtC,oFAAoF;IACpF,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC;IAChD,qFAAqF;IACrF,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC;IACxD,0EAA0E;IAC1E,iBAAiB,CAAC,GAAG,EAAE,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACjD,2EAA2E;IAC3E,uBAAuB,CAAC,GAAG,EAAE,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACvD,4EAA4E;IAC5E,QAAQ,CAAC,GAAG,EAAE,SAAS,GAAG,MAAM,GAAG,IAAI,CAAC;IACxC,iFAAiF;IACjF,gBAAgB,CAAC,GAAG,EAAE,SAAS,GAAG,yBAAyB,GAAG,IAAI,CAAC;CACpE;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,GAAG,SAAS,CAEnG"}
package/index.js CHANGED
@@ -8,14 +8,14 @@ import { Device as u } from "./components/Device/Device.js";
8
8
  import { getDeviceStatusComponentsDictionary as E } from "./components/DeviceStatus/dictionary.js";
9
9
  import { DeviceStatus as _ } from "./components/DeviceStatus/DeviceStatus.js";
10
10
  import { DeviceLabel as R } from "./components/DeviceLabel/DeviceLabel.js";
11
- import { GaugeCircular as I } from "./components/GaugeCircular/GaugeCircular.js";
11
+ import { GaugeCircular as d } from "./components/GaugeCircular/GaugeCircular.js";
12
12
  import { getCourseDirection as y } from "./components/formatters/CourseFormatter/helper.js";
13
13
  import { getCourseFormatterComponentsDictionary as g } from "./components/formatters/CourseFormatter/dictionary.js";
14
14
  import { CourseFormatter as P } from "./components/formatters/CourseFormatter/CourseFormatter.js";
15
15
  import { courseToCssAngle as F } from "./components/maps/utils/courseToCssAngle.js";
16
16
  import { GpsMap as L } from "./components/maps/components/GpsMap/GpsMap.js";
17
17
  import { MapContext as h, MapProvider as G } from "./components/maps/components/GpsMap/contexts/MapContext/MapContext.js";
18
- import { getMapComponentsDictionary as b } from "./components/maps/components/GpsMap/dictionary.js";
18
+ import { getMapComponentsDictionary as B } from "./components/maps/components/GpsMap/dictionary.js";
19
19
  import { LAT_LON_FIXED_DIGITS as U } from "./components/maps/components/GpsMap/constants.js";
20
20
  import { createFeatureIndexKey as K, getFeatureFromLayer as w } from "./components/maps/components/GpsMap/contexts/MapContext/helpers/featureLookup.js";
21
21
  import { INTERACTION_CHANNELS as Q } from "./components/maps/components/GpsMap/contexts/MapContext/types.js";
@@ -34,14 +34,14 @@ import { courseToCartesianAngle as ue } from "./components/maps/utils/courseToCa
34
34
  import { isFeature as Ee } from "./components/maps/utils/isFeature.js";
35
35
  import { isFeatureCollection as _e } from "./components/maps/utils/isFeatureCollection.js";
36
36
  import { isFeatureCollectionDraft as Re } from "./components/maps/utils/isFeatureCollectionDraft.js";
37
- import { isGeometry as Ie } from "./components/maps/utils/isGeometry.js";
37
+ import { isGeometry as de } from "./components/maps/utils/isGeometry.js";
38
38
  import { GeofencesTool as ye } from "./components/maps/components/GpsMapTools/subcomponents/GeofencesTool/GeofencesTool.js";
39
39
  import { GEOFENCES_TOOL as ge } from "./components/maps/components/GpsMapTools/subcomponents/GeofencesTool/constants.js";
40
40
  import { getGpsMapToolsComponentsDictionary as Pe } from "./components/maps/components/GpsMapTools/dictionary.js";
41
41
  import { GpsMapToolsContext as Fe, GpsMapToolsProvider as ve } from "./components/maps/components/GpsMapTools/contexts/GpsMapToolsContext/GpsMapToolsContext.js";
42
42
  import { IndicatorBattery as Ve } from "./components/indicators/IndicatorBattery/IndicatorBattery.js";
43
43
  import { getIndicatorBatteryComponentsDictionary as Ge } from "./components/indicators/IndicatorBattery/dictionary.js";
44
- import { INDICATOR_BATTERY_SEMANTIC_STATUS as be } from "./components/indicators/IndicatorBattery/types.js";
44
+ import { INDICATOR_BATTERY_SEMANTIC_STATUS as Be } from "./components/indicators/IndicatorBattery/types.js";
45
45
  import { IndicatorCSQ as Ue } from "./components/indicators/IndicatorCSQ/IndicatorCSQ.js";
46
46
  import { getIndicatorCSQComponentsDictionary as Ke } from "./components/indicators/IndicatorCSQ/dictionary.js";
47
47
  import { IndicatorValueStatus as Je } from "./components/indicators/IndicatorValueStatus/IndicatorValueStatus.js";
@@ -60,10 +60,10 @@ import { useCameraStreams as Dr } from "./components/CameraStreams/hooks/useCame
60
60
  import { useCameraStreamsStore as Tr } from "./components/CameraStreams/hooks/useCameraStreamsStore.js";
61
61
  import { useCameraStreamPlayers as cr } from "./components/CameraStreams/hooks/useCameraStreamPlayers.js";
62
62
  import { useStreamRequest as Ar } from "./components/CameraStreams/hooks/useStreamRequest.js";
63
- import { isCloudFrontUrl as dr, useCloudFrontCookieManager as yr, useCloudFrontCookieManagerCore as Mr, useIsCloudFrontUrl as gr } from "./components/CameraStreams/hooks/useCloudFrontCookie.js";
63
+ import { isCloudFrontUrl as Ir, useCloudFrontCookieManager as yr, useCloudFrontCookieManagerCore as Mr, useIsCloudFrontUrl as gr } from "./components/CameraStreams/hooks/useCloudFrontCookie.js";
64
64
  import { CAMERA_STREAM_POLL_SCHEDULE as Pr, CAMERA_STREAM_WAITING_STAGES as Nr, COMPONENT_CAMERA_STREAMS_KEY_COMPONENT as Fr, DEFAULT_CAMERA_STREAMS_DURATION_SECONDS as vr, DEFAULT_CAMERA_STREAMS_POLL_BUDGET_SECONDS as Lr } from "./components/CameraStreams/constants.js";
65
65
  import { resolvePollInterval as hr } from "./components/CameraStreams/helpers/pollSchedule.js";
66
- import { pendingStageBoundaries as Yr, resolveWaitingStage as br } from "./components/CameraStreams/helpers/waitingStages.js";
66
+ import { pendingStageBoundaries as Yr, resolveWaitingStage as Br } from "./components/CameraStreams/helpers/waitingStages.js";
67
67
  import { cleanErrorMessage as Ur, extractErrorMessage as Hr, extractHlsUrlFromResponse as Kr, isBusyStreamError as wr, resolveCommandErrorMessage as Jr, safeParseJson as Qr } from "./components/CameraStreams/helpers/commandError.js";
68
68
  import { CAMERA_STREAMS_DICTIONARY_KEYS as kr, getCameraStreamsComponentDictionary as zr, resolveCameraStreamsDictionaryLabels as jr } from "./components/CameraStreams/dictionary.js";
69
69
  import { buildPlayerKey as Xr } from "./components/CameraStreams/types.js";
@@ -83,31 +83,32 @@ import { DefaultPhaseStreaming as yo } from "./components/CameraStream/defaults/
83
83
  import { DefaultPhaseTimeout as go } from "./components/CameraStream/defaults/DefaultPhaseTimeout.js";
84
84
  import { DefaultReplayBadge as Po } from "./components/CameraStream/defaults/DefaultReplayBadge.js";
85
85
  import { DefaultRoot as Fo } from "./components/CameraStream/defaults/DefaultRoot.js";
86
- import { ReportsViewer as Lo } from "./components/ReportsViewer/ReportsViewer.js";
87
- import { resolveReportDateTimeRange as ho } from "./components/ReportsViewer/helpers/resolveReportDateTimeRange/index.js";
88
- import { REPORTS_VIEWER_DICTIONARY as Yo, REPORTS_VIEWER_DICTIONARY_ID as bo, getReportsViewerComponentsDictionary as Bo } from "./components/ReportsViewer/dictionary.js";
89
- import { TimelineCardsViewer as Ho } from "./components/TimelineCardsViewer/TimelineCardsViewer.js";
90
- import { buildTimelineItemKey as wo } from "./components/TimelineCardsViewer/helpers/buildTimelineRows.js";
91
- import { TCV_DICTIONARY as Qo, TCV_DICTIONARY_ID as Wo, getTimelineCardsViewerComponentsDictionary as ko } from "./components/TimelineCardsViewer/dictionary.js";
92
- import { createJourneyRenderers as jo, createJourneyTimelineRenderers as qo, journeyRenderers as Xo } from "./components/TimelineCardsViewer/presets/journey/createJourneyTimelineRenderers.js";
93
- import { createJourneyTimelineAccessors as $o, resolveJourneySegmentVariant as et } from "./components/TimelineCardsViewer/presets/journey/helpers.js";
94
- import { AddressLocation as ot } from "./components/AddressLocation/AddressLocation.js";
95
- import { getAddressLocationComponentsDictionary as at } from "./components/AddressLocation/dictionary.js";
96
- import { RHFAddressLocation as pt } from "./components/RHFs/RHFAddressLocation/RHFAddressLocation.js";
97
- import { fetchReportDynamicFormData as it, hasReportDynamicFormCloneMetadata as nt, hydrateReportDynamicFormStructure as ft, isReportFormMetadataKey as xt, normalizeReportFormValueKey as lt, resolveReportDynamicFormTitle as Ct, resolveReportFormId as St, resolveReportTypeId as ut, unwrapDynamicFormCurrentValue as Dt } from "./reports/reportDynamicForm/reportDynamicForm.js";
98
- import { capitalizeFirstLetter as Tt } from "./utils/capitalizeFirstLetter.js";
99
- import { isValidDate as ct } from "./utils/isValidDate.js";
100
- import { getComponentUtilityClass as At } from "./utils/getComponentUtilityClass.js";
101
- import { getPaletteColor as dt } from "./utils/getPaletteColor.js";
102
- import { getTypographyStyles as Mt } from "./utils/getTypographyStyles.js";
103
- import { getHeightSizeStyles as Ot } from "./utils/getSizeStyles/getSizeStyles.js";
104
- import { ObjectQueue as Nt } from "./utils/ObjectQueue.js";
105
- import { getComponentClasses as vt, getComponentSlotRoot as Lt } from "./utils/getComponentSlotRoot.js";
106
- import { getHdopPresentation as ht } from "./utils/getHdopPresentation/getHdopPresentation.js";
107
- import { HDOP_PRESENTATION_RANGES as Yt, HDOP_QUALITY_COLORS as bt } from "./utils/getHdopPresentation/constants.js";
108
- import { TEST_PROP_ID as Ut, getNameDataTestId as Ht, getPropDataTestId as Kt } from "./utils/testIds.js";
86
+ import { DefaultSharedBadge as Lo } from "./components/CameraStream/defaults/DefaultSharedBadge.js";
87
+ import { ReportsViewer as ho } from "./components/ReportsViewer/ReportsViewer.js";
88
+ import { resolveReportDateTimeRange as Yo } from "./components/ReportsViewer/helpers/resolveReportDateTimeRange/index.js";
89
+ import { REPORTS_VIEWER_DICTIONARY as bo, REPORTS_VIEWER_DICTIONARY_ID as Uo, getReportsViewerComponentsDictionary as Ho } from "./components/ReportsViewer/dictionary.js";
90
+ import { TimelineCardsViewer as wo } from "./components/TimelineCardsViewer/TimelineCardsViewer.js";
91
+ import { buildTimelineItemKey as Qo } from "./components/TimelineCardsViewer/helpers/buildTimelineRows.js";
92
+ import { TCV_DICTIONARY as ko, TCV_DICTIONARY_ID as zo, getTimelineCardsViewerComponentsDictionary as jo } from "./components/TimelineCardsViewer/dictionary.js";
93
+ import { createJourneyRenderers as Xo, createJourneyTimelineRenderers as Zo, journeyRenderers as $o } from "./components/TimelineCardsViewer/presets/journey/createJourneyTimelineRenderers.js";
94
+ import { createJourneyTimelineAccessors as rt, resolveJourneySegmentVariant as ot } from "./components/TimelineCardsViewer/presets/journey/helpers.js";
95
+ import { AddressLocation as at } from "./components/AddressLocation/AddressLocation.js";
96
+ import { getAddressLocationComponentsDictionary as pt } from "./components/AddressLocation/dictionary.js";
97
+ import { RHFAddressLocation as it } from "./components/RHFs/RHFAddressLocation/RHFAddressLocation.js";
98
+ import { fetchReportDynamicFormData as ft, hasReportDynamicFormCloneMetadata as xt, hydrateReportDynamicFormStructure as lt, isReportFormMetadataKey as Ct, normalizeReportFormValueKey as St, resolveReportDynamicFormTitle as ut, resolveReportFormId as Dt, resolveReportTypeId as Et, unwrapDynamicFormCurrentValue as Tt } from "./reports/reportDynamicForm/reportDynamicForm.js";
99
+ import { capitalizeFirstLetter as ct } from "./utils/capitalizeFirstLetter.js";
100
+ import { isValidDate as At } from "./utils/isValidDate.js";
101
+ import { getComponentUtilityClass as It } from "./utils/getComponentUtilityClass.js";
102
+ import { getPaletteColor as Mt } from "./utils/getPaletteColor.js";
103
+ import { getTypographyStyles as Ot } from "./utils/getTypographyStyles.js";
104
+ import { getHeightSizeStyles as Nt } from "./utils/getSizeStyles/getSizeStyles.js";
105
+ import { ObjectQueue as vt } from "./utils/ObjectQueue.js";
106
+ import { getComponentClasses as Vt, getComponentSlotRoot as ht } from "./utils/getComponentSlotRoot.js";
107
+ import { getHdopPresentation as Yt } from "./utils/getHdopPresentation/getHdopPresentation.js";
108
+ import { HDOP_PRESENTATION_RANGES as bt, HDOP_QUALITY_COLORS as Ut } from "./utils/getHdopPresentation/constants.js";
109
+ import { TEST_PROP_ID as Kt, getNameDataTestId as wt, getPropDataTestId as Jt } from "./utils/testIds.js";
109
110
  export {
110
- ot as AddressLocation,
111
+ at as AddressLocation,
111
112
  kr as CAMERA_STREAMS_DICTIONARY_KEYS,
112
113
  ro as CAMERA_STREAM_DRAG_HANDLE_CLASSNAME,
113
114
  Pr as CAMERA_STREAM_POLL_SCHEDULE,
@@ -136,18 +137,19 @@ export {
136
137
  go as DefaultPhaseTimeout,
137
138
  Po as DefaultReplayBadge,
138
139
  Fo as DefaultRoot,
140
+ Lo as DefaultSharedBadge,
139
141
  u as Device,
140
142
  R as DeviceLabel,
141
143
  _ as DeviceStatus,
142
144
  ge as GEOFENCES_TOOL,
143
- I as GaugeCircular,
145
+ d as GaugeCircular,
144
146
  ye as GeofencesTool,
145
147
  L as GpsMap,
146
148
  Fe as GpsMapToolsContext,
147
149
  ve as GpsMapToolsProvider,
148
- Yt as HDOP_PRESENTATION_RANGES,
149
- bt as HDOP_QUALITY_COLORS,
150
- be as INDICATOR_BATTERY_SEMANTIC_STATUS,
150
+ bt as HDOP_PRESENTATION_RANGES,
151
+ Ut as HDOP_QUALITY_COLORS,
152
+ Be as INDICATOR_BATTERY_SEMANTIC_STATUS,
151
153
  Q as INTERACTION_CHANNELS,
152
154
  Ve as IndicatorBattery,
153
155
  Ue as IndicatorCSQ,
@@ -157,42 +159,42 @@ export {
157
159
  h as MapContext,
158
160
  G as MapProvider,
159
161
  k as MarkerFeatureRender,
160
- Nt as ObjectQueue,
162
+ vt as ObjectQueue,
161
163
  j as PolylineWithArrows,
162
- Yo as REPORTS_VIEWER_DICTIONARY,
163
- bo as REPORTS_VIEWER_DICTIONARY_ID,
164
- pt as RHFAddressLocation,
165
- Lo as ReportsViewer,
166
- Qo as TCV_DICTIONARY,
167
- Wo as TCV_DICTIONARY_ID,
168
- Ut as TEST_PROP_ID,
164
+ bo as REPORTS_VIEWER_DICTIONARY,
165
+ Uo as REPORTS_VIEWER_DICTIONARY_ID,
166
+ it as RHFAddressLocation,
167
+ ho as ReportsViewer,
168
+ ko as TCV_DICTIONARY,
169
+ zo as TCV_DICTIONARY_ID,
170
+ Kt as TEST_PROP_ID,
169
171
  Ze as TIME_VISIBLE_OPTIONS_KEYS,
170
- Ho as TimelineCardsViewer,
172
+ wo as TimelineCardsViewer,
171
173
  rr as VIDEO_PLAYER_VARIANTS,
172
174
  pr as VideoPlayer,
173
175
  ze as VideoTimeLineSelector,
174
176
  Xr as buildPlayerKey,
175
- wo as buildTimelineItemKey,
177
+ Qo as buildTimelineItemKey,
176
178
  io as cameraStreamStyles,
177
- Tt as capitalizeFirstLetter,
179
+ ct as capitalizeFirstLetter,
178
180
  Ur as cleanErrorMessage,
179
181
  Ce as coordsToQuadKey,
180
182
  ue as courseToCartesianAngle,
181
183
  F as courseToCssAngle,
182
184
  Sr as createCameraStreamsStore,
183
185
  K as createFeatureIndexKey,
184
- jo as createJourneyRenderers,
185
- $o as createJourneyTimelineAccessors,
186
- qo as createJourneyTimelineRenderers,
186
+ Xo as createJourneyRenderers,
187
+ rt as createJourneyTimelineAccessors,
188
+ Zo as createJourneyTimelineRenderers,
187
189
  $ as createPixelPathDecimationFilter,
188
190
  Hr as extractErrorMessage,
189
191
  Kr as extractHlsUrlFromResponse,
190
- it as fetchReportDynamicFormData,
191
- at as getAddressLocationComponentsDictionary,
192
+ ft as fetchReportDynamicFormData,
193
+ pt as getAddressLocationComponentsDictionary,
192
194
  zr as getCameraStreamsComponentDictionary,
193
- vt as getComponentClasses,
194
- Lt as getComponentSlotRoot,
195
- At as getComponentUtilityClass,
195
+ Vt as getComponentClasses,
196
+ ht as getComponentSlotRoot,
197
+ It as getComponentUtilityClass,
196
198
  y as getCourseDirection,
197
199
  g as getCourseFormatterComponentsDictionary,
198
200
  s as getDeviceByData,
@@ -201,45 +203,45 @@ export {
201
203
  E as getDeviceStatusComponentsDictionary,
202
204
  w as getFeatureFromLayer,
203
205
  Pe as getGpsMapToolsComponentsDictionary,
204
- ht as getHdopPresentation,
205
- Ot as getHeightSizeStyles,
206
+ Yt as getHdopPresentation,
207
+ Nt as getHeightSizeStyles,
206
208
  Ge as getIndicatorBatteryComponentsDictionary,
207
209
  Ke as getIndicatorCSQComponentsDictionary,
208
- b as getMapComponentsDictionary,
209
- Ht as getNameDataTestId,
210
- dt as getPaletteColor,
211
- Kt as getPropDataTestId,
212
- Bo as getReportsViewerComponentsDictionary,
213
- ko as getTimelineCardsViewerComponentsDictionary,
214
- Mt as getTypographyStyles,
210
+ B as getMapComponentsDictionary,
211
+ wt as getNameDataTestId,
212
+ Mt as getPaletteColor,
213
+ Jt as getPropDataTestId,
214
+ Ho as getReportsViewerComponentsDictionary,
215
+ jo as getTimelineCardsViewerComponentsDictionary,
216
+ Ot as getTypographyStyles,
215
217
  qe as getVideoTimeLineSelectorComponentDictionary,
216
- nt as hasReportDynamicFormCloneMetadata,
217
- ft as hydrateReportDynamicFormStructure,
218
+ xt as hasReportDynamicFormCloneMetadata,
219
+ lt as hydrateReportDynamicFormStructure,
218
220
  wr as isBusyStreamError,
219
- dr as isCloudFrontUrl,
221
+ Ir as isCloudFrontUrl,
220
222
  Ee as isFeature,
221
223
  _e as isFeatureCollection,
222
224
  Re as isFeatureCollectionDraft,
223
- Ie as isGeometry,
225
+ de as isGeometry,
224
226
  tr as isHlsLiveDuration,
225
227
  o as isObservableFeatureEventCaptured,
226
- xt as isReportFormMetadataKey,
227
- ct as isValidDate,
228
- Xo as journeyRenderers,
229
- lt as normalizeReportFormValueKey,
228
+ Ct as isReportFormMetadataKey,
229
+ At as isValidDate,
230
+ $o as journeyRenderers,
231
+ St as normalizeReportFormValueKey,
230
232
  Yr as pendingStageBoundaries,
231
233
  jr as resolveCameraStreamsDictionaryLabels,
232
234
  Jr as resolveCommandErrorMessage,
233
235
  ar as resolveIsLive,
234
- et as resolveJourneySegmentVariant,
236
+ ot as resolveJourneySegmentVariant,
235
237
  hr as resolvePollInterval,
236
- ho as resolveReportDateTimeRange,
237
- Ct as resolveReportDynamicFormTitle,
238
- St as resolveReportFormId,
239
- ut as resolveReportTypeId,
240
- br as resolveWaitingStage,
238
+ Yo as resolveReportDateTimeRange,
239
+ ut as resolveReportDynamicFormTitle,
240
+ Dt as resolveReportFormId,
241
+ Et as resolveReportTypeId,
242
+ Br as resolveWaitingStage,
241
243
  Qr as safeParseJson,
242
- Dt as unwrapDynamicFormCurrentValue,
244
+ Tt as unwrapDynamicFormCurrentValue,
243
245
  cr as useCameraStreamPlayers,
244
246
  Dr as useCameraStreams,
245
247
  Tr as useCameraStreamsStore,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/gclick",
3
- "version": "0.23.0",
3
+ "version": "0.24.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -56,8 +56,8 @@
56
56
  "@mui/material": "5.16.7",
57
57
  "immer": "9.0.21",
58
58
  "react-hook-form": "7.71.1",
59
- "@googlemaps/js-api-loader": "1.16.10",
60
59
  "leaflet.markercluster": "1.5.3",
60
+ "@googlemaps/js-api-loader": "1.16.10",
61
61
  "yup": "0.32.11"
62
62
  }
63
63
  }